diff --git a/index.js b/index.js index 139461e..579d3da 100644 --- a/index.js +++ b/index.js @@ -20,14 +20,14 @@ }, o.m = e, o.c = n, o.d = function(e2, t2, n2) { o.o(e2, t2) || Object.defineProperty(e2, t2, {enumerable: true, get: n2}); }, o.r = function(e2) { - "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e2, "__esModule", {value: true}); + typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e2, "__esModule", {value: true}); }, o.t = function(e2, t2) { if (1 & t2 && (e2 = o(e2)), 8 & t2) return e2; - if (4 & t2 && "object" == typeof e2 && e2 && e2.__esModule) + if (4 & t2 && typeof e2 == "object" && e2 && e2.__esModule) return e2; var n2 = Object.create(null); - if (o.r(n2), Object.defineProperty(n2, "default", {enumerable: true, value: e2}), 2 & t2 && "string" != typeof e2) + if (o.r(n2), Object.defineProperty(n2, "default", {enumerable: true, value: e2}), 2 & t2 && typeof e2 != "string") for (var i2 in e2) o.d(n2, i2, function(t3) { return e2[t3]; @@ -56,9 +56,9 @@ function i(e2, t2, ...n2) { return function(e3, t3) { let n3; - return n3 = 0 === t3.length ? e3 : e3.replace(/\{(\d+)\}/g, function(e4, n4) { + return n3 = t3.length === 0 ? e3 : e3.replace(/\{(\d+)\}/g, function(e4, n4) { const i2 = n4[0]; - return void 0 !== t3[i2] ? t3[i2] : e4; + return t3[i2] !== void 0 ? t3[i2] : e4; }), n3; }(t2, n2); } @@ -232,7 +232,7 @@ } let L = function(e2, t2, n2, i2) { let o2 = n2; - return "click" === t2 || "mousedown" === t2 ? o2 = T(n2) : "keydown" !== t2 && "keypress" !== t2 && "keyup" !== t2 || (o2 = function(e3) { + return t2 === "click" || t2 === "mousedown" ? o2 = T(n2) : t2 !== "keydown" && t2 !== "keypress" && t2 !== "keyup" || (o2 = function(e3) { return function(t3) { return e3(new r.a(t3)); }; @@ -395,10 +395,10 @@ } function q(e2) { let t2 = e2.offsetParent, n2 = e2.offsetTop, i2 = e2.offsetLeft; - for (; null !== (e2 = e2.parentNode) && e2 !== document.body && e2 !== document.documentElement; ) { + for (; (e2 = e2.parentNode) !== null && e2 !== document.body && e2 !== document.documentElement; ) { n2 -= e2.scrollTop; const o2 = te(e2) ? null : j(e2); - o2 && (i2 -= "rtl" !== o2.direction ? e2.scrollLeft : -e2.scrollLeft), e2 === t2 && (i2 += U.getBorderLeftWidth(e2), n2 += U.getBorderTopWidth(e2), n2 += e2.offsetTop, i2 += e2.offsetLeft, t2 = e2.offsetParent); + o2 && (i2 -= o2.direction !== "rtl" ? e2.scrollLeft : -e2.scrollLeft), e2 === t2 && (i2 += U.getBorderLeftWidth(e2), n2 += U.getBorderTopWidth(e2), n2 += e2.offsetTop, i2 += e2.offsetLeft, t2 = e2.offsetParent); } return {left: i2, top: n2}; } @@ -408,10 +408,10 @@ } const K = new class { get scrollX() { - return "number" == typeof window.scrollX ? window.scrollX : document.body.scrollLeft + document.documentElement.scrollLeft; + return typeof window.scrollX == "number" ? window.scrollX : document.body.scrollLeft + document.documentElement.scrollLeft; } get scrollY() { - return "number" == typeof window.scrollY ? window.scrollY : document.body.scrollTop + document.documentElement.scrollTop; + return typeof window.scrollY == "number" ? window.scrollY : document.body.scrollTop + document.documentElement.scrollTop; } }(); function G(e2) { @@ -443,7 +443,7 @@ if (v(e2, t2)) return e2; if (n2) { - if ("string" == typeof n2) { + if (typeof n2 == "string") { if (v(e2, n2)) return null; } else if (e2 === n2) @@ -472,7 +472,7 @@ } function oe() { let e2 = document.activeElement; - for (; null == e2 ? void 0 : e2.shadowRoot; ) + for (; e2 == null ? void 0 : e2.shadowRoot; ) e2 = e2.shadowRoot.activeElement; return e2; } @@ -494,13 +494,13 @@ return e3 && e3.sheet && e3.sheet.rules ? e3.sheet.rules : e3 && e3.sheet && e3.sheet.cssRules ? e3.sheet.cssRules : []; }(t2), i2 = []; for (let t3 = 0; t3 < n2.length; t3++) { - -1 !== n2[t3].selectorText.indexOf(e2) && i2.push(t3); + n2[t3].selectorText.indexOf(e2) !== -1 && i2.push(t3); } for (let e3 = i2.length - 1; e3 >= 0; e3--) t2.sheet.deleteRule(i2[e3]); } function de(e2) { - return "object" == typeof HTMLElement ? e2 instanceof HTMLElement : e2 && "object" == typeof e2 && 1 === e2.nodeType && "string" == typeof e2.nodeName; + return typeof HTMLElement == "object" ? e2 instanceof HTMLElement : e2 && typeof e2 == "object" && e2.nodeType === 1 && typeof e2.nodeName == "string"; } const he = {CLICK: "click", AUXCLICK: "auxclick", DBLCLICK: "dblclick", MOUSE_UP: "mouseup", MOUSE_DOWN: "mousedown", MOUSE_OVER: "mouseover", MOUSE_MOVE: "mousemove", MOUSE_OUT: "mouseout", MOUSE_ENTER: "mouseenter", MOUSE_LEAVE: "mouseleave", MOUSE_WHEEL: i.f ? "mousewheel" : "wheel", POINTER_UP: "pointerup", POINTER_DOWN: "pointerdown", POINTER_MOVE: "pointermove", CONTEXT_MENU: "contextmenu", WHEEL: "wheel", KEY_DOWN: "keydown", KEY_PRESS: "keypress", KEY_UP: "keyup", LOAD: "load", BEFORE_UNLOAD: "beforeunload", UNLOAD: "unload", ABORT: "abort", ERROR: "error", RESIZE: "resize", SCROLL: "scroll", FULLSCREEN_CHANGE: "fullscreenchange", WK_FULLSCREEN_CHANGE: "webkitfullscreenchange", SELECT: "select", CHANGE: "change", SUBMIT: "submit", RESET: "reset", FOCUS: "focus", FOCUS_IN: "focusin", FOCUS_OUT: "focusout", BLUR: "blur", INPUT: "input", STORAGE: "storage", DRAG_START: "dragstart", DRAG: "drag", DRAG_ENTER: "dragenter", DRAG_LEAVE: "dragleave", DRAG_OVER: "dragover", DROP: "drop", DRAG_END: "dragend", ANIMATION_START: i.l ? "webkitAnimationStart" : "animationstart", ANIMATION_END: i.l ? "webkitAnimationEnd" : "animationend", ANIMATION_ITERATION: i.l ? "webkitAnimationIteration" : "animationiteration"}, ue = {stop: function(e2, t2) { e2.preventDefault ? e2.preventDefault() : e2.returnValue = false, t2 && (e2.stopPropagation ? e2.stopPropagation() : e2.cancelBubble = true); @@ -552,7 +552,7 @@ let r2, s2 = o2[1] || "div"; return r2 = e2 !== we.HTML ? document.createElementNS(e2, s2) : document.createElement(s2), o2[3] && (r2.id = o2[3]), o2[4] && (r2.className = o2[4].replace(/\./g, " ").trim()), Object.keys(n2).forEach((e3) => { const t3 = n2[e3]; - void 0 !== t3 && (/^on\w+$/.test(e3) ? r2[e3] = t3 : "selected" === e3 ? t3 && r2.setAttribute(e3, "true") : r2.setAttribute(e3, t3)); + t3 !== void 0 && (/^on\w+$/.test(e3) ? r2[e3] = t3 : e3 === "selected" ? t3 && r2.setAttribute(e3, "true") : r2.setAttribute(e3, t3)); }), Object(u.d)(i2).forEach((e3) => { e3 instanceof Node ? r2.appendChild(e3) : r2.appendChild(document.createTextNode(e3)); }), r2; @@ -645,7 +645,7 @@ } } function s(e2) { - return "function" == typeof e2.dispose && 0 === e2.dispose.length; + return typeof e2.dispose == "function" && e2.dispose.length === 0; } function a(e2) { if (i.a.is(e2)) { @@ -657,7 +657,7 @@ } catch (e3) { t2.push(e3); } - if (1 === t2.length) + if (t2.length === 1) throw t2[0]; if (t2.length > 1) throw new r(t2); @@ -825,7 +825,7 @@ return e2 ? new o(e2.startLineNumber, e2.startColumn, e2.endLineNumber, e2.endColumn) : null; } static isIRange(e2) { - return e2 && "number" == typeof e2.startLineNumber && "number" == typeof e2.startColumn && "number" == typeof e2.endLineNumber && "number" == typeof e2.endColumn; + return e2 && typeof e2.startLineNumber == "number" && typeof e2.startColumn == "number" && typeof e2.endLineNumber == "number" && typeof e2.endColumn == "number"; } static areIntersectingOrTouching(e2, t2) { return !(e2.endLineNumber < t2.startLineNumber || e2.endLineNumber === t2.startLineNumber && e2.endColumn < t2.startColumn) && !(t2.endLineNumber < e2.startLineNumber || t2.endLineNumber === e2.startLineNumber && t2.endColumn < e2.startColumn); @@ -1390,7 +1390,7 @@ } toString() { return Object.keys(this.colorsById).sort((e2, t2) => { - let n2 = -1 === e2.indexOf(".") ? 0 : 1, i2 = -1 === t2.indexOf(".") ? 0 : 1; + let n2 = e2.indexOf(".") === -1 ? 0 : 1, i2 = t2.indexOf(".") === -1 ? 0 : 1; return n2 !== i2 ? n2 - i2 : e2.localeCompare(t2); }).map((e2) => `- \`${e2}\`: ${this.colorsById[e2].description}`).join("\n"); } @@ -1440,8 +1440,8 @@ }; } function It(e2, t2) { - if (null !== e2) - return "string" == typeof e2 ? "#" === e2[0] ? o.a.fromHex(e2) : t2.getColor(e2) : e2 instanceof o.a ? e2 : "function" == typeof e2 ? e2(t2) : void 0; + if (e2 !== null) + return typeof e2 == "string" ? e2[0] === "#" ? o.a.fromHex(e2) : t2.getColor(e2) : e2 instanceof o.a ? e2 : typeof e2 == "function" ? e2(t2) : void 0; } let Ot = i.a.as(a.a.JSONContribution); Ot.registerSchema("vscode://schemas/workbench-colors", d.getColorSchema()); @@ -1613,7 +1613,7 @@ for (; this._deliveryQueue.size > 0; ) { const [e3, t2] = this._deliveryQueue.shift(); try { - "function" == typeof e3 ? e3.call(void 0, t2) : e3[0].call(e3[1], t2); + typeof e3 == "function" ? e3.call(void 0, t2) : e3[0].call(e3[1], t2); } catch (e4) { Object(o.e)(e4); } @@ -1634,16 +1634,16 @@ this._isPaused++; } resume() { - if (0 !== this._isPaused && 0 == --this._isPaused) + if (this._isPaused !== 0 && --this._isPaused == 0) if (this._mergeFn) { const e2 = this._eventQueue.toArray(); this._eventQueue.clear(), super.fire(this._mergeFn(e2)); } else - for (; !this._isPaused && 0 !== this._eventQueue.size; ) + for (; !this._isPaused && this._eventQueue.size !== 0; ) super.fire(this._eventQueue.shift()); } fire(e2) { - this._listeners && (0 !== this._isPaused ? this._eventQueue.push(e2) : super.fire(e2)); + this._listeners && (this._isPaused !== 0 ? this._eventQueue.push(e2) : super.fire(e2)); } } class c { @@ -1690,7 +1690,7 @@ }, function(e, t, n) { "use strict"; function i(e2) { - return !e2 || "string" != typeof e2 || 0 === e2.trim().length; + return !e2 || typeof e2 != "string" || e2.trim().length === 0; } function o(e2, t2, n2 = "0") { const i2 = "" + e2, o2 = [i2]; @@ -1799,7 +1799,7 @@ }); const r = /{(\d+)}/g; function s(e2, ...t2) { - return 0 === t2.length ? e2 : e2.replace(r, function(e3, n2) { + return t2.length === 0 ? e2 : e2.replace(r, function(e3, n2) { const i2 = parseInt(n2, 10); return isNaN(i2) || i2 < 0 || i2 >= t2.length ? e3 : t2[i2]; }); @@ -1828,7 +1828,7 @@ if (!e2 || !t2) return e2; const n2 = t2.length; - if (0 === n2 || 0 === e2.length) + if (n2 === 0 || e2.length === 0) return e2; let i2 = 0; for (; e2.indexOf(t2, i2) === i2; ) @@ -1839,11 +1839,11 @@ if (!e2 || !t2) return e2; const n2 = t2.length, i2 = e2.length; - if (0 === n2 || 0 === i2) + if (n2 === 0 || i2 === 0) return e2; let o2 = i2, r2 = -1; - for (; r2 = e2.lastIndexOf(t2, o2 - 1), -1 !== r2 && r2 + n2 === o2; ) { - if (0 === r2) + for (; r2 = e2.lastIndexOf(t2, o2 - 1), r2 !== -1 && r2 + n2 === o2; ) { + if (r2 === 0) return ""; o2 = r2; } @@ -1867,7 +1867,7 @@ } function g(e2, t2) { const n2 = e2.length - t2.length; - return n2 > 0 ? e2.indexOf(t2, n2) === n2 : 0 === n2 && e2 === t2; + return n2 > 0 ? e2.indexOf(t2, n2) === n2 : n2 === 0 && e2 === t2; } function f(e2, t2, n2 = {}) { if (!e2) @@ -1877,9 +1877,9 @@ return n2.global && (i2 += "g"), n2.matchCase || (i2 += "i"), n2.multiline && (i2 += "m"), n2.unicode && (i2 += "u"), new RegExp(e2, i2); } function b(e2) { - if ("^" === e2.source || "^$" === e2.source || "$" === e2.source || "^\\s*$" === e2.source) + if (e2.source === "^" || e2.source === "^$" || e2.source === "$" || e2.source === "^\\s*$") return false; - return !(!e2.exec("") || 0 !== e2.lastIndex); + return !(!e2.exec("") || e2.lastIndex !== 0); } function _(e2) { return (e2.global ? "g" : "") + (e2.ignoreCase ? "i" : "") + (e2.multiline ? "m" : "") + (e2.unicode ? "u" : ""); @@ -1887,7 +1887,7 @@ function v(e2) { for (let t2 = 0, n2 = e2.length; t2 < n2; t2++) { const n3 = e2.charCodeAt(t2); - if (32 !== n3 && 9 !== n3) + if (n3 !== 32 && n3 !== 9) return t2; } return -1; @@ -1895,7 +1895,7 @@ function w(e2, t2 = 0, n2 = e2.length) { for (let i2 = t2; i2 < n2; i2++) { const n3 = e2.charCodeAt(i2); - if (32 !== n3 && 9 !== n3) + if (n3 !== 32 && n3 !== 9) return e2.substring(t2, i2); } return e2.substring(t2, n2); @@ -1903,7 +1903,7 @@ function y(e2, t2 = e2.length - 1) { for (let n2 = t2; n2 >= 0; n2--) { const t3 = e2.charCodeAt(n2); - if (32 !== t3 && 9 !== t3) + if (t3 !== 32 && t3 !== 9) return n2; } return -1; @@ -1931,7 +1931,7 @@ if (s3 === a3) continue; const l2 = s3 - a3; - if ((32 !== l2 || !T(a3)) && (-32 !== l2 || !T(s3))) + if ((l2 !== 32 || !T(a3)) && (l2 !== -32 || !T(s3))) return E(s3) && E(a3) ? l2 : x(e2.toLowerCase(), t2.toLowerCase(), n2, i2, o2, r2); } const s2 = i2 - n2, a2 = r2 - o2; @@ -1955,7 +1955,7 @@ if (n3 !== o2) { if (L(n3) && L(o2)) { const e3 = Math.abs(n3 - o2); - if (0 !== e3 && 32 !== e3) + if (e3 !== 0 && e3 !== 32) return false; } else if (String.fromCharCode(n3).toLowerCase() !== String.fromCharCode(o2).toLowerCase()) return false; @@ -2079,7 +2079,7 @@ } const J = String.fromCharCode(65279); function ee(e2) { - return !!(e2 && e2.length > 0 && 65279 === e2.charCodeAt(0)); + return !!(e2 && e2.length > 0 && e2.charCodeAt(0) === 65279); } function te(e2, t2 = false) { return !!e2 && (t2 && (e2 = e2.replace(/\\./g, "")), e2.toLowerCase() !== e2); @@ -2091,7 +2091,7 @@ return re.getInstance().getGraphemeBreakType(e2); } function oe(e2, t2) { - return 0 === e2 ? 5 !== t2 && 7 !== t2 : (2 !== e2 || 3 !== t2) && (4 === e2 || 2 === e2 || 3 === e2 || (4 === t2 || 2 === t2 || 3 === t2 || (8 !== e2 || 8 !== t2 && 9 !== t2 && 11 !== t2 && 12 !== t2) && ((11 !== e2 && 9 !== e2 || 9 !== t2 && 10 !== t2) && ((12 !== e2 && 10 !== e2 || 10 !== t2) && (5 !== t2 && 13 !== t2 && (7 !== t2 && (1 !== e2 && ((13 !== e2 || 14 !== t2) && (6 !== e2 || 6 !== t2))))))))); + return e2 === 0 ? t2 !== 5 && t2 !== 7 : (e2 !== 2 || t2 !== 3) && (e2 === 4 || e2 === 2 || e2 === 3 || (t2 === 4 || t2 === 2 || t2 === 3 || (e2 !== 8 || t2 !== 8 && t2 !== 9 && t2 !== 11 && t2 !== 12) && ((e2 !== 11 && e2 !== 9 || t2 !== 9 && t2 !== 10) && ((e2 !== 12 && e2 !== 10 || t2 !== 10) && (t2 !== 5 && t2 !== 13 && (t2 !== 7 && (e2 !== 1 && ((e2 !== 13 || t2 !== 14) && (e2 !== 6 || t2 !== 6))))))))); } class re { constructor() { @@ -2102,7 +2102,7 @@ } getGraphemeBreakType(e2) { if (e2 < 32) - return 10 === e2 ? 3 : 13 === e2 ? 2 : 4; + return e2 === 10 ? 3 : e2 === 13 ? 2 : 4; if (e2 < 127) return 0; const t2 = this._data, n2 = t2.length / 3; @@ -2169,7 +2169,7 @@ return new i(e2.lineNumber, e2.column); } static isIPosition(e2) { - return e2 && "number" == typeof e2.lineNumber && "number" == typeof e2.column; + return e2 && typeof e2.lineNumber == "number" && typeof e2.column == "number"; } } }, function(e, t, n) { @@ -2238,9 +2238,9 @@ return /^\!\s*/.test(e2) ? b.create(e2.substr(1).trim()) : u.create(e2); } static _deserializeValue(e2, t2) { - if ("true" === (e2 = e2.trim())) + if ((e2 = e2.trim()) === "true") return true; - if ("false" === e2) + if (e2 === "false") return false; let n2 = /^'([^']*)'$/.exec(e2); return n2 ? n2[1].trim() : e2; @@ -2257,7 +2257,7 @@ throw new Error(`bad regexp-value '${e2}', missing /-enclosure`); return console.warn(`bad regexp-value '${e2}', missing /-enclosure`), null; } - let r2 = e2.slice(n2 + 1, o2), s2 = "i" === e2[o2 + 1] ? "i" : ""; + let r2 = e2.slice(n2 + 1, o2), s2 = e2[o2 + 1] === "i" ? "i" : ""; try { return new RegExp(r2, s2); } catch (n3) { @@ -2324,7 +2324,7 @@ } static create(e2) { const t2 = s.get(e2); - return "boolean" == typeof t2 ? t2 ? h.INSTANCE : d.INSTANCE : new u(e2); + return typeof t2 == "boolean" ? t2 ? h.INSTANCE : d.INSTANCE : new u(e2); } cmp(e2) { return e2.type !== this.type ? this.type - e2.type : this.key < e2.key ? -1 : this.key > e2.key ? 1 : 0; @@ -2350,10 +2350,10 @@ this.key = e2, this.value = t2, this.type = 4; } static create(e2, t2) { - if ("boolean" == typeof t2) + if (typeof t2 == "boolean") return t2 ? u.create(e2) : b.create(e2); const n2 = s.get(e2); - if ("boolean" == typeof n2) { + if (typeof n2 == "boolean") { return t2 === (n2 ? "true" : "false") ? h.INSTANCE : d.INSTANCE; } return new p(e2, t2); @@ -2392,7 +2392,7 @@ } evaluate(e2) { const t2 = e2.getValue(this.valueKey), n2 = e2.getValue(this.key); - return Array.isArray(t2) ? t2.indexOf(n2) >= 0 : "string" == typeof n2 && "object" == typeof t2 && null !== t2 && a.call(t2, n2); + return Array.isArray(t2) ? t2.indexOf(n2) >= 0 : typeof n2 == "string" && typeof t2 == "object" && t2 !== null && a.call(t2, n2); } serialize() { return this.key + " in '" + this.valueKey + "'"; @@ -2435,10 +2435,10 @@ this.key = e2, this.value = t2, this.type = 5; } static create(e2, t2) { - if ("boolean" == typeof t2) + if (typeof t2 == "boolean") return t2 ? b.create(e2) : u.create(e2); const n2 = s.get(e2); - if ("boolean" == typeof n2) { + if (typeof n2 == "boolean") { return t2 === (n2 ? "true" : "false") ? d.INSTANCE : h.INSTANCE; } return new f(e2, t2); @@ -2468,7 +2468,7 @@ } static create(e2) { const t2 = s.get(e2); - return "boolean" == typeof t2 ? t2 ? d.INSTANCE : h.INSTANCE : new b(e2); + return typeof t2 == "boolean" ? t2 ? d.INSTANCE : h.INSTANCE : new b(e2); } cmp(e2) { return e2.type !== this.type ? this.type - e2.type : this.key < e2.key ? -1 : this.key > e2.key ? 1 : 0; @@ -2570,7 +2570,7 @@ return 1; for (let t2 = 0, n2 = this.expr.length; t2 < n2; t2++) { const n3 = c(this.expr[t2], e2.expr[t2]); - if (0 !== n3) + if (n3 !== 0) return n3; } return 0; @@ -2597,20 +2597,20 @@ let n2 = false; for (const i2 of e2) if (i2) - if (1 !== i2.type) { - if (0 === i2.type) + if (i2.type !== 1) { + if (i2.type === 0) return d.INSTANCE; - 6 !== i2.type ? t2.push(i2) : t2.push(...i2.expr); + i2.type !== 6 ? t2.push(i2) : t2.push(...i2.expr); } else n2 = true; - if (0 === t2.length && n2) + if (t2.length === 0 && n2) return h.INSTANCE; - if (0 !== t2.length) { - if (1 === t2.length) + if (t2.length !== 0) { + if (t2.length === 1) return t2[0]; for (t2.sort(c); t2.length > 1; ) { const e3 = t2[t2.length - 1]; - if (9 !== e3.type) + if (e3.type !== 9) break; t2.pop(); const n3 = t2.pop(), i2 = y.create(e3.expr.map((e4) => w.create([e4, n3]))); @@ -2641,8 +2641,8 @@ } static create(e2) { const t2 = y._normalizeArr(e2); - if (0 !== t2.length) - return 1 === t2.length ? t2[0] : new y(t2); + if (t2.length !== 0) + return t2.length === 1 ? t2[0] : new y(t2); } cmp(e2) { if (e2.type !== this.type) @@ -2653,7 +2653,7 @@ return 1; for (let t2 = 0, n2 = this.expr.length; t2 < n2; t2++) { const n3 = c(this.expr[t2], e2.expr[t2]); - if (0 !== n3) + if (n3 !== 0) return n3; } return 0; @@ -2681,14 +2681,14 @@ for (let i2 = 0, o2 = e2.length; i2 < o2; i2++) { const o3 = e2[i2]; if (o3) - if (0 !== o3.type) { - if (1 === o3.type) + if (o3.type !== 0) { + if (o3.type === 1) return [h.INSTANCE]; - 9 !== o3.type ? t2.push(o3) : t2 = t2.concat(o3.expr); + o3.type !== 9 ? t2.push(o3) : t2 = t2.concat(o3.expr); } else n2 = true; } - if (0 === t2.length && n2) + if (t2.length === 0 && n2) return [d.INSTANCE]; t2.sort(c); } @@ -2707,7 +2707,7 @@ let e2 = []; for (let t3 of this.expr) e2.push(t3.negate()); - const t2 = (e3) => 9 === e3.type ? e3.expr : [e3]; + const t2 = (e3) => e3.type === 9 ? e3.expr : [e3]; for (; e2.length > 1; ) { const n2 = e2.shift(), i2 = e2.shift(), o2 = []; for (const e3 of t2(n2)) @@ -2758,10 +2758,10 @@ return T; }); let o = false, r = false, s = false, a = false, l = false, c = false, d = void 0, h = "en", u = void 0, p = void 0; - const m = void 0 !== e2 && void 0 !== e2.versions && void 0 !== e2.versions.electron && "renderer" === e2.type; - if ("object" != typeof navigator || m) { - if ("object" == typeof e2) { - o = "win32" === e2.platform, r = "darwin" === e2.platform, s = "linux" === e2.platform, d = "en", h = "en"; + const m = e2 !== void 0 && e2.versions !== void 0 && e2.versions.electron !== void 0 && e2.type === "renderer"; + if (typeof navigator != "object" || m) { + if (typeof e2 == "object") { + o = e2.platform === "win32", r = e2.platform === "darwin", s = e2.platform === "linux", d = "en", h = "en"; const t2 = e2.env.VSCODE_NLS_CONFIG; if (t2) try { @@ -2775,10 +2775,10 @@ p = navigator.userAgent, o = p.indexOf("Windows") >= 0, r = p.indexOf("Macintosh") >= 0, c = (p.indexOf("Macintosh") >= 0 || p.indexOf("iPad") >= 0 || p.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, s = p.indexOf("Linux") >= 0, l = true, d = navigator.language, h = d; let g = 0; r ? g = 1 : o ? g = 3 : s && (g = 2); - const f = o, b = r, _ = s, v = a, w = l, y = c, C = "object" == typeof self ? self : "object" == typeof i ? i : {}, x = function() { + const f = o, b = r, _ = s, v = a, w = l, y = c, C = typeof self == "object" ? self : typeof i == "object" ? i : {}, x = function() { if (C.setImmediate) return C.setImmediate.bind(C); - if ("function" == typeof C.postMessage && !C.importScripts) { + if (typeof C.postMessage == "function" && !C.importScripts) { let e3 = []; C.addEventListener("message", (t4) => { if (t4.data && t4.data.vscodeSetImmediateId) @@ -2794,7 +2794,7 @@ e3.push({id: i2, callback: n2}), C.postMessage({vscodeSetImmediateId: i2}, "*"); }; } - if (void 0 !== e2 && "function" == typeof e2.nextTick) + if (e2 !== void 0 && typeof e2.nextTick == "function") return e2.nextTick.bind(e2); const t2 = Promise.resolve(); return (e3) => t2.then(e3); @@ -2806,7 +2806,7 @@ const e3 = new Uint8Array(2); e3[0] = 1, e3[1] = 2; const t2 = new Uint16Array(e3.buffer); - k = 513 === t2[0]; + k = t2[0] === 513; } return k; } @@ -2886,14 +2886,14 @@ let o2 = 0; for (const r2 of e2) { const e3 = c(r2, t2, n2, i2); - if (10 === e3) + if (e3 === 10) return e3; e3 > o2 && (o2 = e3); } return o2; } - if ("string" == typeof e2) - return i2 ? "*" === e2 ? 5 : e2 === n2 ? 10 : 0 : 0; + if (typeof e2 == "string") + return i2 ? e2 === "*" ? 5 : e2 === n2 ? 10 : 0 : 0; if (e2) { const {language: o2, pattern: r2, scheme: s2, hasAccessToAllModels: c2} = e2; if (!i2 && !c2) @@ -2903,7 +2903,7 @@ if (s2 === t2.scheme) d2 = 10; else { - if ("*" !== s2) + if (s2 !== "*") return 0; d2 = 5; } @@ -2911,13 +2911,13 @@ if (o2 === n2) d2 = 10; else { - if ("*" !== o2) + if (o2 !== "*") return 0; d2 = Math.max(d2, 5); } if (r2) { let e3; - if (e3 = "string" == typeof r2 ? r2 : Object.assign(Object.assign({}, r2), {base: Object(l.d)(r2.base)}), e3 !== t2.fsPath && !Object(a.a)(e3, t2.fsPath)) + if (e3 = typeof r2 == "string" ? r2 : Object.assign(Object.assign({}, r2), {base: Object(l.d)(r2.base)}), e3 !== t2.fsPath && !Object(a.a)(e3, t2.fsPath)) return 0; d2 = 10; } @@ -2927,7 +2927,7 @@ } var d = n(64); function h(e2) { - return "string" != typeof e2 && (Array.isArray(e2) ? e2.every(h) : !!e2.exclusive); + return typeof e2 != "string" && (Array.isArray(e2) ? e2.every(h) : !!e2.exclusive); } class u { constructor() { @@ -3037,7 +3037,7 @@ let e2 = Object.create(null); return e2.method = 0, e2.function = 1, e2.constructor = 2, e2.field = 3, e2.variable = 4, e2.class = 5, e2.struct = 6, e2.interface = 7, e2.module = 8, e2.property = 9, e2.event = 10, e2.operator = 11, e2.unit = 12, e2.value = 13, e2.constant = 14, e2.enum = 15, e2["enum-member"] = 16, e2.enumMember = 16, e2.keyword = 17, e2.snippet = 27, e2.text = 18, e2.color = 19, e2.file = 20, e2.reference = 21, e2.customcolor = 22, e2.folder = 23, e2["type-parameter"] = 24, e2.typeParameter = 24, e2.account = 25, e2.issue = 26, function(t2, n2) { let i2 = e2[t2]; - return void 0 !== i2 || n2 || (i2 = 9), i2; + return i2 !== void 0 || n2 || (i2 = 9), i2; }; }(); var _, v, w; @@ -3161,7 +3161,7 @@ return e2; } function a(e2) { - return e2 instanceof Error && "Canceled" === e2.name && "Canceled" === e2.message; + return e2 instanceof Error && e2.name === "Canceled" && e2.message === "Canceled"; } function l() { const e2 = new Error("Canceled"); @@ -3179,22 +3179,22 @@ return Array.isArray(e2); } function o(e2) { - return "string" == typeof e2; + return typeof e2 == "string"; } function r(e2) { - return !("object" != typeof e2 || null === e2 || Array.isArray(e2) || e2 instanceof RegExp || e2 instanceof Date); + return !(typeof e2 != "object" || e2 === null || Array.isArray(e2) || e2 instanceof RegExp || e2 instanceof Date); } function s(e2) { - return "number" == typeof e2 && !isNaN(e2); + return typeof e2 == "number" && !isNaN(e2); } function a(e2) { - return true === e2 || false === e2; + return e2 === true || e2 === false; } function l(e2) { - return void 0 === e2; + return e2 === void 0; } function c(e2) { - return l(e2) || null === e2; + return l(e2) || e2 === null; } function d(e2, t2) { if (!e2) @@ -3206,7 +3206,7 @@ return e2; } function u(e2) { - return "function" == typeof e2; + return typeof e2 == "function"; } function p(e2, t2) { const n2 = Math.min(e2.length, t2.length); @@ -3225,7 +3225,7 @@ } if (!c(e2) && e2.constructor === t2) return; - if (1 === t2.length && true === t2.call(void 0, e2)) + if (t2.length === 1 && t2.call(void 0, e2) === true) return; throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true"); } @@ -3238,7 +3238,7 @@ t3 = t3.concat(Object.getOwnPropertyNames(n3)), n3 = Object.getPrototypeOf(n3); return t3; }(e2)) - "function" == typeof e2[n2] && t2.push(n2); + typeof e2[n2] == "function" && t2.push(n2); return t2; } function f(e2, t2) { @@ -3252,7 +3252,7 @@ return i2; } function b(e2) { - return null === e2 ? void 0 : e2; + return e2 === null ? void 0 : e2; } n.d(t, "e", function() { return i; @@ -3289,7 +3289,7 @@ return e2[e2.length - (1 + t2)]; } function o(e2) { - if (0 === e2.length) + if (e2.length === 0) throw new Error("Invalid tail call"); return [e2.slice(0, e2.length - 1), e2[e2.length - 1]]; } @@ -3321,7 +3321,7 @@ } function a(e2, t2) { let n2 = 0, i2 = e2.length; - if (0 === i2) + if (i2 === 0) return 0; for (; n2 < i2; ) { const o2 = Math.floor((n2 + i2) / 2); @@ -3349,14 +3349,14 @@ const n2 = []; let i2 = void 0; for (const o2 of l(e2.slice(0), t2)) - i2 && 0 === t2(i2[0], o2) ? i2.push(o2) : (i2 = [o2], n2.push(i2)); + i2 && t2(i2[0], o2) === 0 ? i2.push(o2) : (i2 = [o2], n2.push(i2)); return n2; } function d(e2) { return e2.filter((e3) => !!e3); } function h(e2) { - return !Array.isArray(e2) || 0 === e2.length; + return !Array.isArray(e2) || e2.length === 0; } function u(e2) { return Array.isArray(e2) && e2.length > 0; @@ -3392,8 +3392,8 @@ return [].concat(...e2); } function v(e2, t2) { - let n2 = "number" == typeof t2 ? e2 : 0; - "number" == typeof t2 ? n2 = e2 : (n2 = 0, t2 = e2); + let n2 = typeof t2 == "number" ? e2 : 0; + typeof t2 == "number" ? n2 = e2 : (n2 = 0, t2 = e2); const i2 = []; if (n2 <= t2) for (let e3 = n2; e3 < t2; e3++) @@ -3514,7 +3514,7 @@ static toRGBA(e2) { const t2 = e2.h / 360, {s: n2, l: i2, a: s2} = e2; let a2, l, c; - if (0 === n2) + if (n2 === 0) a2 = l = c = i2; else { const e3 = i2 < 0.5 ? i2 * (1 + n2) : i2 + n2 - i2 * n2, o2 = 2 * i2 - e3; @@ -3531,9 +3531,9 @@ return e2.h === t2.h && e2.s === t2.s && e2.v === t2.v && e2.a === t2.a; } static fromRGBA(e2) { - const t2 = e2.r / 255, n2 = e2.g / 255, i2 = e2.b / 255, o2 = Math.max(t2, n2, i2), r2 = o2 - Math.min(t2, n2, i2), a2 = 0 === o2 ? 0 : r2 / o2; + const t2 = e2.r / 255, n2 = e2.g / 255, i2 = e2.b / 255, o2 = Math.max(t2, n2, i2), r2 = o2 - Math.min(t2, n2, i2), a2 = o2 === 0 ? 0 : r2 / o2; let l; - return l = 0 === r2 ? 0 : o2 === t2 ? ((n2 - i2) / r2 % 6 + 6) % 6 : o2 === n2 ? (i2 - t2) / r2 + 2 : (t2 - n2) / r2 + 4, new s(Math.round(60 * l), a2, o2, e2.a); + return l = r2 === 0 ? 0 : o2 === t2 ? ((n2 - i2) / r2 % 6 + 6) % 6 : o2 === n2 ? (i2 - t2) / r2 + 2 : (t2 - n2) / r2 + 4, new s(Math.round(60 * l), a2, o2, e2.a); } static toRGBA(e2) { const {h: t2, s: n2, v: i2, a: r2} = e2, s2 = i2 * n2, a2 = s2 * (1 - Math.abs(t2 / 60 % 2 - 1)), l = i2 - s2; @@ -3594,10 +3594,10 @@ return new a(new o(t2, n2, i2, r2 * e2)); } isTransparent() { - return 0 === this.rgba.a; + return this.rgba.a === 0; } isOpaque() { - return 1 === this.rgba.a; + return this.rgba.a === 1; } opposite() { return new a(new o(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a)); @@ -3627,7 +3627,7 @@ !function(t4) { function n3(e3) { const t5 = e3.toString(16); - return 2 !== t5.length ? "0" + t5 : t5; + return t5.length !== 2 ? "0" + t5 : t5; } function i2(e3) { switch (e3) { @@ -3673,38 +3673,38 @@ return 0; } t4.formatRGB = function(t5) { - return 1 === t5.rgba.a ? `rgb(${t5.rgba.r}, ${t5.rgba.g}, ${t5.rgba.b})` : e2.Format.CSS.formatRGBA(t5); + return t5.rgba.a === 1 ? `rgb(${t5.rgba.r}, ${t5.rgba.g}, ${t5.rgba.b})` : e2.Format.CSS.formatRGBA(t5); }, t4.formatRGBA = function(e3) { return `rgba(${e3.rgba.r}, ${e3.rgba.g}, ${e3.rgba.b}, ${+e3.rgba.a.toFixed(2)})`; }, t4.formatHSL = function(t5) { - return 1 === t5.hsla.a ? `hsl(${t5.hsla.h}, ${(100 * t5.hsla.s).toFixed(2)}%, ${(100 * t5.hsla.l).toFixed(2)}%)` : e2.Format.CSS.formatHSLA(t5); + return t5.hsla.a === 1 ? `hsl(${t5.hsla.h}, ${(100 * t5.hsla.s).toFixed(2)}%, ${(100 * t5.hsla.l).toFixed(2)}%)` : e2.Format.CSS.formatHSLA(t5); }, t4.formatHSLA = function(e3) { return `hsla(${e3.hsla.h}, ${(100 * e3.hsla.s).toFixed(2)}%, ${(100 * e3.hsla.l).toFixed(2)}%, ${e3.hsla.a.toFixed(2)})`; }, t4.formatHex = function(e3) { return `#${n3(e3.rgba.r)}${n3(e3.rgba.g)}${n3(e3.rgba.b)}`; }, t4.formatHexA = function(t5, i3 = false) { - return i3 && 1 === t5.rgba.a ? e2.Format.CSS.formatHex(t5) : `#${n3(t5.rgba.r)}${n3(t5.rgba.g)}${n3(t5.rgba.b)}${n3(Math.round(255 * t5.rgba.a))}`; + return i3 && t5.rgba.a === 1 ? e2.Format.CSS.formatHex(t5) : `#${n3(t5.rgba.r)}${n3(t5.rgba.g)}${n3(t5.rgba.b)}${n3(Math.round(255 * t5.rgba.a))}`; }, t4.format = function(t5) { return t5.isOpaque() ? e2.Format.CSS.formatHex(t5) : e2.Format.CSS.formatRGBA(t5); }, t4.parseHex = function(t5) { const n4 = t5.length; - if (0 === n4) + if (n4 === 0) return null; - if (35 !== t5.charCodeAt(0)) + if (t5.charCodeAt(0) !== 35) return null; - if (7 === n4) { + if (n4 === 7) { const n5 = 16 * i2(t5.charCodeAt(1)) + i2(t5.charCodeAt(2)), r2 = 16 * i2(t5.charCodeAt(3)) + i2(t5.charCodeAt(4)), s2 = 16 * i2(t5.charCodeAt(5)) + i2(t5.charCodeAt(6)); return new e2(new o(n5, r2, s2, 1)); } - if (9 === n4) { + if (n4 === 9) { const n5 = 16 * i2(t5.charCodeAt(1)) + i2(t5.charCodeAt(2)), r2 = 16 * i2(t5.charCodeAt(3)) + i2(t5.charCodeAt(4)), s2 = 16 * i2(t5.charCodeAt(5)) + i2(t5.charCodeAt(6)), a2 = 16 * i2(t5.charCodeAt(7)) + i2(t5.charCodeAt(8)); return new e2(new o(n5, r2, s2, a2 / 255)); } - if (4 === n4) { + if (n4 === 4) { const n5 = i2(t5.charCodeAt(1)), r2 = i2(t5.charCodeAt(2)), s2 = i2(t5.charCodeAt(3)); return new e2(new o(16 * n5 + n5, 16 * r2 + r2, 16 * s2 + s2)); } - if (5 === n4) { + if (n4 === 5) { const n5 = i2(t5.charCodeAt(1)), r2 = i2(t5.charCodeAt(2)), s2 = i2(t5.charCodeAt(3)), a2 = i2(t5.charCodeAt(4)); return new e2(new o(16 * n5 + n5, 16 * r2 + r2, 16 * s2 + s2, (16 * a2 + a2) / 255)); } @@ -3781,7 +3781,7 @@ } const g = /(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi; function f(e2) { - return -1 === e2.indexOf(i.a) ? e2 : e2.replace(g, (e3, t2, n2, i2) => n2 ? e3 : t2 || i2 || ""); + return e2.indexOf(i.a) === -1 ? e2 : e2.replace(g, (e3, t2, n2, i2) => n2 ? e3 : t2 || i2 || ""); } }, function(e, t, n) { "use strict"; @@ -3807,7 +3807,7 @@ if (i.serviceIds.has(e2)) return i.serviceIds.get(e2); const t2 = function(e3, n2, i2) { - if (3 !== arguments.length) + if (arguments.length !== 3) throw new Error("@IServiceName-decorator can only be used to decorate a parameter"); r(t2, e3, i2, false); }; @@ -3815,7 +3815,7 @@ } function a(e2) { return function(t2, n2, i2) { - if (3 !== arguments.length) + if (arguments.length !== 3) throw new Error("@optional-decorator can only be used to decorate a parameter"); r(e2, t2, i2, true); }; @@ -3847,7 +3847,7 @@ var c; !function(e2) { e2.isThemeIcon = function(e3) { - return e3 && "object" == typeof e3 && "string" == typeof e3.id; + return e3 && typeof e3 == "object" && typeof e3.id == "string"; }; const t2 = /^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i; e2.fromString = function(e3) { @@ -3935,7 +3935,7 @@ }); var i = n(25), o = n(13), r = n(2); function s(e2) { - return e2 && "function" == typeof e2.then; + return e2 && typeof e2.then == "function"; } function a(e2) { const t2 = new i.b(), n2 = e2(t2.token), r2 = new Promise((e3, i2) => { @@ -3982,13 +3982,13 @@ }, t2), this.completionPromise; } isTriggered() { - return null !== this.timeout; + return this.timeout !== null; } cancel() { this.cancelTimeout(), this.completionPromise && (this.doReject && this.doReject(o.a()), this.completionPromise = null); } cancelTimeout() { - null !== this.timeout && (clearTimeout(this.timeout), this.timeout = null); + this.timeout !== null && (clearTimeout(this.timeout), this.timeout = null); } dispose() { this.cancelTimeout(); @@ -4018,13 +4018,13 @@ } class p { constructor(e2, t2) { - this._token = -1, "function" == typeof e2 && "number" == typeof t2 && this.setIfNotSet(e2, t2); + this._token = -1, typeof e2 == "function" && typeof t2 == "number" && this.setIfNotSet(e2, t2); } dispose() { this.cancel(); } cancel() { - -1 !== this._token && (clearTimeout(this._token), this._token = -1); + this._token !== -1 && (clearTimeout(this._token), this._token = -1); } cancelAndSet(e2, t2) { this.cancel(), this._token = setTimeout(() => { @@ -4032,7 +4032,7 @@ }, t2); } setIfNotSet(e2, t2) { - -1 === this._token && (this._token = setTimeout(() => { + this._token === -1 && (this._token = setTimeout(() => { this._token = -1, e2(); }, t2)); } @@ -4045,7 +4045,7 @@ this.cancel(); } cancel() { - -1 !== this._token && (clearInterval(this._token), this._token = -1); + this._token !== -1 && (clearInterval(this._token), this._token = -1); } cancelAndSet(e2, t2) { this.cancel(), this._token = setInterval(() => { @@ -4067,7 +4067,7 @@ this.cancel(), this.timeoutToken = setTimeout(this.timeoutHandler, e2); } isScheduled() { - return -1 !== this.timeoutToken; + return this.timeoutToken !== -1; } onTimeout() { this.timeoutToken = -1, this.runner && this.doRun(); @@ -4078,7 +4078,7 @@ } let f; !function() { - if ("function" != typeof requestIdleCallback || "function" != typeof cancelIdleCallback) { + if (typeof requestIdleCallback != "function" || typeof cancelIdleCallback != "function") { const e2 = Object.freeze({didTimeout: true, timeRemaining: () => 15}); f = (t2) => { const n2 = setTimeout(() => t2(e2)); @@ -4089,7 +4089,7 @@ }; } else f = (e2, t2) => { - const n2 = requestIdleCallback(e2, "number" == typeof t2 ? {timeout: t2} : void 0); + const n2 = requestIdleCallback(e2, typeof t2 == "number" ? {timeout: t2} : void 0); let i2 = false; return {dispose() { i2 || (i2 = true, cancelIdleCallback(n2)); @@ -4140,13 +4140,13 @@ return this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn ? 0 : 1; } setEndPosition(e2, t2) { - return 0 === this.getDirection() ? new r(this.startLineNumber, this.startColumn, e2, t2) : new r(e2, t2, this.startLineNumber, this.startColumn); + return this.getDirection() === 0 ? new r(this.startLineNumber, this.startColumn, e2, t2) : new r(e2, t2, this.startLineNumber, this.startColumn); } getPosition() { return new i.a(this.positionLineNumber, this.positionColumn); } setStartPosition(e2, t2) { - return 0 === this.getDirection() ? new r(e2, t2, this.endLineNumber, this.endColumn) : new r(this.endLineNumber, this.endColumn, e2, t2); + return this.getDirection() === 0 ? new r(e2, t2, this.endLineNumber, this.endColumn) : new r(this.endLineNumber, this.endColumn, e2, t2); } static fromPositions(e2, t2 = e2) { return new r(e2.lineNumber, e2.column, t2.lineNumber, t2.column); @@ -4167,10 +4167,10 @@ return true; } static isISelection(e2) { - return e2 && "number" == typeof e2.selectionStartLineNumber && "number" == typeof e2.selectionStartColumn && "number" == typeof e2.positionLineNumber && "number" == typeof e2.positionColumn; + return e2 && typeof e2.selectionStartLineNumber == "number" && typeof e2.selectionStartColumn == "number" && typeof e2.positionLineNumber == "number" && typeof e2.positionColumn == "number"; } static createWithDirection(e2, t2, n2, i2, o2) { - return 0 === o2 ? new r(e2, t2, n2, i2) : new r(n2, i2, e2, t2); + return o2 === 0 ? new r(e2, t2, n2, i2) : new r(n2, i2, e2, t2); } } }, function(e, t, n) { @@ -4191,7 +4191,7 @@ return C; }); var i = n(13), o = n(8), r = n(9), s = n(3), a = n(21), l = n(30), c = n(39); - const d = () => true, h = () => false, u = (e2) => " " === e2 || " " === e2; + const d = () => true, h = () => false, u = (e2) => e2 === " " || e2 === " "; function p(e2, t2, n2) { e2.has(t2) ? e2.get(t2).push(n2) : e2.set(t2, [n2]); } @@ -4203,7 +4203,7 @@ let r2 = m._getAutoClosingPairs(e2); if (r2) for (const e3 of r2) - p(this.autoClosingPairsOpen2, e3.open.charAt(e3.open.length - 1), e3), 1 === e3.close.length && p(this.autoClosingPairsClose2, e3.close, e3); + p(this.autoClosingPairsOpen2, e3.open.charAt(e3.open.length - 1), e3), e3.close.length === 1 && p(this.autoClosingPairsClose2, e3.close, e3); let s2 = m._getSurroundingPairs(e2); if (s2) for (const e3 of s2) @@ -4254,7 +4254,7 @@ static _getLanguageDefinedShouldAutoClose(e2) { try { const t2 = c.a.getAutoCloseBeforeSet(e2.id); - return (e3) => -1 !== t2.indexOf(e3); + return (e3) => t2.indexOf(e3) !== -1; } catch (e3) { return Object(i.e)(e3), h; } @@ -4335,7 +4335,7 @@ let s2 = 0, a2 = 0; for (; a2 < r2; ) { const t3 = o.A(e2, r2, a2); - if (a2 += t3 >= 65536 ? 2 : 1, 9 === t3) + if (a2 += t3 >= 65536 ? 2 : 1, t3 === 9) s2 = y.nextRenderTabStop(s2, n2); else { let n3 = o.y(t3); @@ -4361,7 +4361,7 @@ for (; a2 < i2; ) { const l2 = o.A(e2, i2, a2); let c2; - if (a2 += l2 >= 65536 ? 2 : 1, 9 === l2) + if (a2 += l2 >= 65536 ? 2 : 1, l2 === 9) c2 = y.nextRenderTabStop(r2, n2); else { let t3 = o.y(l2); @@ -4402,7 +4402,7 @@ } } function C(e2) { - return "'" === e2 || '"' === e2 || "`" === e2; + return e2 === "'" || e2 === '"' || e2 === "`"; } }, function(e, t, n) { "use strict"; @@ -4416,7 +4416,7 @@ const l = "/", c = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/; class d { constructor(e2, t2, n2, i2, o2, c2 = false) { - "object" == typeof e2 ? (this.scheme = e2.scheme || "", this.authority = e2.authority || "", this.path = e2.path || "", this.query = e2.query || "", this.fragment = e2.fragment || "") : (this.scheme = function(e3, t3) { + typeof e2 == "object" ? (this.scheme = e2.scheme || "", this.authority = e2.authority || "", this.path = e2.path || "", this.query = e2.query || "", this.fragment = e2.fragment || "") : (this.scheme = function(e3, t3) { return e3 || t3 ? e3 : "file"; }(e2, c2), this.authority = t2 || "", this.path = function(e3, t3) { switch (e3) { @@ -4441,7 +4441,7 @@ }(this, c2)); } static isUri(e2) { - return e2 instanceof d || !!e2 && ("string" == typeof e2.authority && "string" == typeof e2.fragment && "string" == typeof e2.path && "string" == typeof e2.query && "string" == typeof e2.scheme && "function" == typeof e2.fsPath && "function" == typeof e2.with && "function" == typeof e2.toString); + return e2 instanceof d || !!e2 && (typeof e2.authority == "string" && typeof e2.fragment == "string" && typeof e2.path == "string" && typeof e2.query == "string" && typeof e2.scheme == "string" && typeof e2.fsPath == "function" && typeof e2.with == "function" && typeof e2.toString == "function"); } get fsPath() { return f(this, false); @@ -4450,7 +4450,7 @@ if (!e2) return this; let {scheme: t2, authority: n2, path: i2, query: o2, fragment: r2} = e2; - return void 0 === t2 ? t2 = this.scheme : null === t2 && (t2 = ""), void 0 === n2 ? n2 = this.authority : null === n2 && (n2 = ""), void 0 === i2 ? i2 = this.path : null === i2 && (i2 = ""), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = ""), void 0 === r2 ? r2 = this.fragment : null === r2 && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new u(t2, n2, i2, o2, r2); + return t2 === void 0 ? t2 = this.scheme : t2 === null && (t2 = ""), n2 === void 0 ? n2 = this.authority : n2 === null && (n2 = ""), i2 === void 0 ? i2 = this.path : i2 === null && (i2 = ""), o2 === void 0 ? o2 = this.query : o2 === null && (o2 = ""), r2 === void 0 ? r2 = this.fragment : r2 === null && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new u(t2, n2, i2, o2, r2); } static parse(e2, t2 = false) { const n2 = c.exec(e2); @@ -4460,7 +4460,7 @@ let t2 = ""; if (i.i && (e2 = e2.replace(/\\/g, l)), e2[0] === l && e2[1] === l) { const n2 = e2.indexOf(l, 2); - -1 === n2 ? (t2 = e2.substring(2), e2 = l) : (t2 = e2.substring(2, n2), e2 = e2.substring(n2) || l); + n2 === -1 ? (t2 = e2.substring(2), e2 = l) : (t2 = e2.substring(2, n2), e2 = e2.substring(n2) || l); } return new u("file", t2, e2, "", ""); } @@ -4471,7 +4471,7 @@ if (!e2.path) throw new Error("[UriError]: cannot call joinPaths on URI without path"); let n2; - return n2 = i.i && "file" === e2.scheme ? d.file(o.i.join(f(e2, true), ...t2)).path : o.e.join(e2.path, ...t2), e2.with({path: n2}); + return n2 = i.i && e2.scheme === "file" ? d.file(o.i.join(f(e2, true), ...t2)).path : o.e.join(e2.path, ...t2), e2.with({path: n2}); } toString(e2 = false) { return b(this, e2); @@ -4512,44 +4512,44 @@ let n2 = void 0, i2 = -1; for (let o2 = 0; o2 < e2.length; o2++) { const r2 = e2.charCodeAt(o2); - if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || 45 === r2 || 46 === r2 || 95 === r2 || 126 === r2 || t2 && 47 === r2) - -1 !== i2 && (n2 += encodeURIComponent(e2.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += e2.charAt(o2)); + if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || r2 === 45 || r2 === 46 || r2 === 95 || r2 === 126 || t2 && r2 === 47) + i2 !== -1 && (n2 += encodeURIComponent(e2.substring(i2, o2)), i2 = -1), n2 !== void 0 && (n2 += e2.charAt(o2)); else { - void 0 === n2 && (n2 = e2.substr(0, o2)); + n2 === void 0 && (n2 = e2.substr(0, o2)); const t3 = p[r2]; - void 0 !== t3 ? (-1 !== i2 && (n2 += encodeURIComponent(e2.substring(i2, o2)), i2 = -1), n2 += t3) : -1 === i2 && (i2 = o2); + t3 !== void 0 ? (i2 !== -1 && (n2 += encodeURIComponent(e2.substring(i2, o2)), i2 = -1), n2 += t3) : i2 === -1 && (i2 = o2); } } - return -1 !== i2 && (n2 += encodeURIComponent(e2.substring(i2))), void 0 !== n2 ? n2 : e2; + return i2 !== -1 && (n2 += encodeURIComponent(e2.substring(i2))), n2 !== void 0 ? n2 : e2; } function g(e2) { let t2 = void 0; for (let n2 = 0; n2 < e2.length; n2++) { const i2 = e2.charCodeAt(n2); - 35 === i2 || 63 === i2 ? (void 0 === t2 && (t2 = e2.substr(0, n2)), t2 += p[i2]) : void 0 !== t2 && (t2 += e2[n2]); + i2 === 35 || i2 === 63 ? (t2 === void 0 && (t2 = e2.substr(0, n2)), t2 += p[i2]) : t2 !== void 0 && (t2 += e2[n2]); } - return void 0 !== t2 ? t2 : e2; + return t2 !== void 0 ? t2 : e2; } function f(e2, t2) { let n2; - return n2 = e2.authority && e2.path.length > 1 && "file" === e2.scheme ? `//${e2.authority}${e2.path}` : 47 === e2.path.charCodeAt(0) && (e2.path.charCodeAt(1) >= 65 && e2.path.charCodeAt(1) <= 90 || e2.path.charCodeAt(1) >= 97 && e2.path.charCodeAt(1) <= 122) && 58 === e2.path.charCodeAt(2) ? t2 ? e2.path.substr(1) : e2.path[1].toLowerCase() + e2.path.substr(2) : e2.path, i.i && (n2 = n2.replace(/\//g, "\\")), n2; + return n2 = e2.authority && e2.path.length > 1 && e2.scheme === "file" ? `//${e2.authority}${e2.path}` : e2.path.charCodeAt(0) === 47 && (e2.path.charCodeAt(1) >= 65 && e2.path.charCodeAt(1) <= 90 || e2.path.charCodeAt(1) >= 97 && e2.path.charCodeAt(1) <= 122) && e2.path.charCodeAt(2) === 58 ? t2 ? e2.path.substr(1) : e2.path[1].toLowerCase() + e2.path.substr(2) : e2.path, i.i && (n2 = n2.replace(/\//g, "\\")), n2; } function b(e2, t2) { const n2 = t2 ? g : m; let i2 = "", {scheme: o2, authority: r2, path: s2, query: a2, fragment: c2} = e2; - if (o2 && (i2 += o2, i2 += ":"), (r2 || "file" === o2) && (i2 += l, i2 += l), r2) { + if (o2 && (i2 += o2, i2 += ":"), (r2 || o2 === "file") && (i2 += l, i2 += l), r2) { let e3 = r2.indexOf("@"); - if (-1 !== e3) { + if (e3 !== -1) { const t3 = r2.substr(0, e3); - r2 = r2.substr(e3 + 1), e3 = t3.indexOf(":"), -1 === e3 ? i2 += n2(t3, false) : (i2 += n2(t3.substr(0, e3), false), i2 += ":", i2 += n2(t3.substr(e3 + 1), false)), i2 += "@"; + r2 = r2.substr(e3 + 1), e3 = t3.indexOf(":"), e3 === -1 ? i2 += n2(t3, false) : (i2 += n2(t3.substr(0, e3), false), i2 += ":", i2 += n2(t3.substr(e3 + 1), false)), i2 += "@"; } - r2 = r2.toLowerCase(), e3 = r2.indexOf(":"), -1 === e3 ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, e3), false), i2 += r2.substr(e3)); + r2 = r2.toLowerCase(), e3 = r2.indexOf(":"), e3 === -1 ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, e3), false), i2 += r2.substr(e3)); } if (s2) { - if (s2.length >= 3 && 47 === s2.charCodeAt(0) && 58 === s2.charCodeAt(2)) { + if (s2.length >= 3 && s2.charCodeAt(0) === 47 && s2.charCodeAt(2) === 58) { const e3 = s2.charCodeAt(1); e3 >= 65 && e3 <= 90 && (s2 = `/${String.fromCharCode(e3 + 32)}:${s2.substr(3)}`); - } else if (s2.length >= 2 && 58 === s2.charCodeAt(1)) { + } else if (s2.length >= 2 && s2.charCodeAt(1) === 58) { const e3 = s2.charCodeAt(0); e3 >= 65 && e3 <= 90 && (s2 = `${String.fromCharCode(e3 + 32)}:${s2.substr(2)}`); } @@ -4583,8 +4583,8 @@ return v; }); var i = n(60), o = n(18), r = n(10), s = n(27), a = n(2), l = n(6), c = n(37), d = n(53), h = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -4596,7 +4596,7 @@ }; }; function p(e2) { - return void 0 !== e2.command; + return e2.command !== void 0; } class m { constructor(e2) { @@ -4669,7 +4669,7 @@ b = h([u(2, s.b)], b); class _ extends i.d { constructor(e2, t2, n2, o2) { - super("submenuitem." + e2.submenu.id, "string" == typeof e2.title ? e2.title : e2.title.value, () => { + super("submenuitem." + e2.submenu.id, typeof e2.title == "string" ? e2.title : e2.title.value, () => { const r2 = [], s2 = t2.createMenu(e2.submenu, n2), a2 = s2.getActions(o2); s2.dispose(); for (let e3 of a2) { @@ -4682,9 +4682,9 @@ } let v = class e2 extends b { constructor(t2, n2, i2, o2, r2) { - if ("string" == typeof t2.title ? super(t2.id, t2.title, r2) : super(t2.id, t2.title.value, r2), this._cssClass = void 0, this._enabled = !t2.precondition || o2.contextMatchesRules(t2.precondition), this._tooltip = t2.tooltip ? "string" == typeof t2.tooltip ? t2.tooltip : t2.tooltip.value : void 0, t2.toggled) { + if (typeof t2.title == "string" ? super(t2.id, t2.title, r2) : super(t2.id, t2.title.value, r2), this._cssClass = void 0, this._enabled = !t2.precondition || o2.contextMatchesRules(t2.precondition), this._tooltip = t2.tooltip ? typeof t2.tooltip == "string" ? t2.tooltip : t2.tooltip.value : void 0, t2.toggled) { const e3 = t2.toggled.condition ? t2.toggled : {condition: t2.toggled}; - this._checked = o2.contextMatchesRules(e3.condition), this._checked && e3.tooltip && (this._tooltip = "string" == typeof e3.tooltip ? e3.tooltip : e3.tooltip.value); + this._checked = o2.contextMatchesRules(e3.condition), this._checked && e3.tooltip && (this._tooltip = typeof e3.tooltip == "string" ? e3.tooltip : e3.tooltip.value); } this._options = i2 || {}, this.item = t2, this.alt = n2 ? new e2(n2, void 0, this._options, o2, r2) : void 0; } @@ -4714,7 +4714,7 @@ var r; !function(e2) { e2.isCancellationToken = function(t2) { - return t2 === e2.None || t2 === e2.Cancelled || (t2 instanceof s || !(!t2 || "object" != typeof t2) && ("boolean" == typeof t2.isCancellationRequested && "function" == typeof t2.onCancellationRequested)); + return t2 === e2.None || t2 === e2.Cancelled || (t2 instanceof s || !(!t2 || typeof t2 != "object") && (typeof t2.isCancellationRequested == "boolean" && typeof t2.onCancellationRequested == "function")); }, e2.None = Object.freeze({isCancellationRequested: false, onCancellationRequested: i.b.None}), e2.Cancelled = Object.freeze({isCancellationRequested: true, onCancellationRequested: o}); }(r || (r = {})); class s { @@ -4825,7 +4825,7 @@ this.id = e2, this.name = t2, this.defaultValue = n2, this.schema = i2; } validate(e2) { - return void 0 === e2 ? this.defaultValue : e2; + return e2 === void 0 ? this.defaultValue : e2; } compute(e2, t2, n2) { return n2; @@ -4833,10 +4833,10 @@ } class p extends u { static boolean(e2, t2) { - return void 0 === e2 ? t2 : "false" !== e2 && Boolean(e2); + return e2 === void 0 ? t2 : e2 !== "false" && Boolean(e2); } constructor(e2, t2, n2, i2) { - void 0 !== i2 && (i2.type = "boolean", i2.default = n2), super(e2, t2, n2, i2); + i2 !== void 0 && (i2.type = "boolean", i2.default = n2), super(e2, t2, n2, i2); } validate(e2) { return p.boolean(e2, this.defaultValue); @@ -4844,10 +4844,10 @@ } class m extends u { constructor(e2, t2, n2, i2, o2, r2) { - void 0 !== r2 && (r2.type = "integer", r2.default = n2, r2.minimum = i2, r2.maximum = o2), super(e2, t2, n2, r2), this.minimum = i2, this.maximum = o2; + r2 !== void 0 && (r2.type = "integer", r2.default = n2, r2.minimum = i2, r2.maximum = o2), super(e2, t2, n2, r2), this.minimum = i2, this.maximum = o2; } static clampedInt(e2, t2, n2, i2) { - if (void 0 === e2) + if (e2 === void 0) return t2; let o2 = parseInt(e2, 10); return isNaN(o2) ? t2 : (o2 = Math.max(n2, o2), o2 = Math.min(i2, o2), 0 | o2); @@ -4858,15 +4858,15 @@ } class g extends u { constructor(e2, t2, n2, i2, o2) { - void 0 !== o2 && (o2.type = "number", o2.default = n2), super(e2, t2, n2, o2), this.validationFn = i2; + o2 !== void 0 && (o2.type = "number", o2.default = n2), super(e2, t2, n2, o2), this.validationFn = i2; } static clamp(e2, t2, n2) { return e2 < t2 ? t2 : e2 > n2 ? n2 : e2; } static float(e2, t2) { - if ("number" == typeof e2) + if (typeof e2 == "number") return e2; - if (void 0 === e2) + if (e2 === void 0) return t2; const n2 = parseFloat(e2); return isNaN(n2) ? t2 : n2; @@ -4877,10 +4877,10 @@ } class f extends u { static string(e2, t2) { - return "string" != typeof e2 ? t2 : e2; + return typeof e2 != "string" ? t2 : e2; } constructor(e2, t2, n2, i2) { - void 0 !== i2 && (i2.type = "string", i2.default = n2), super(e2, t2, n2, i2); + i2 !== void 0 && (i2.type = "string", i2.default = n2), super(e2, t2, n2, i2); } validate(e2) { return f.string(e2, this.defaultValue); @@ -4888,10 +4888,10 @@ } class b extends u { constructor(e2, t2, n2, i2, o2) { - void 0 !== o2 && (o2.type = "string", o2.enum = i2, o2.default = n2), super(e2, t2, n2, o2), this._allowedValues = i2; + o2 !== void 0 && (o2.type = "string", o2.enum = i2, o2.default = n2), super(e2, t2, n2, o2), this._allowedValues = i2; } static stringSet(e2, t2, n2) { - return "string" != typeof e2 || -1 === n2.indexOf(e2) ? t2 : e2; + return typeof e2 != "string" || n2.indexOf(e2) === -1 ? t2 : e2; } validate(e2) { return b.stringSet(e2, this.defaultValue, this._allowedValues); @@ -4899,10 +4899,10 @@ } class _ extends d { constructor(e2, t2, n2, i2, o2, r2, s2) { - void 0 !== s2 && (s2.type = "string", s2.enum = o2, s2.default = i2), super(e2, t2, n2, s2), this._allowedValues = o2, this._convert = r2; + s2 !== void 0 && (s2.type = "string", s2.enum = o2, s2.default = i2), super(e2, t2, n2, s2), this._allowedValues = o2, this._convert = r2; } validate(e2) { - return "string" != typeof e2 || -1 === this._allowedValues.indexOf(e2) ? this.defaultValue : this._convert(e2); + return typeof e2 != "string" || this._allowedValues.indexOf(e2) === -1 ? this.defaultValue : this._convert(e2); } } var v; @@ -4914,7 +4914,7 @@ super(37, "fontLigatures", w.OFF, {anyOf: [{type: "boolean", description: i.a("fontLigatures", "Enables/Disables font ligatures.")}, {type: "string", description: i.a("fontFeatureSettings", "Explicit font-feature-settings.")}], description: i.a("fontLigaturesGeneral", "Configures font ligatures or font features."), default: false}); } validate(e2) { - return void 0 === e2 ? this.defaultValue : "string" == typeof e2 ? "false" === e2 ? w.OFF : "true" === e2 ? w.ON : e2 : Boolean(e2) ? w.ON : w.OFF; + return e2 === void 0 ? this.defaultValue : typeof e2 == "string" ? e2 === "false" ? w.OFF : e2 === "true" ? w.ON : e2 : Boolean(e2) ? w.ON : w.OFF; } } w.OFF = '"liga" off, "calt" off', w.ON = '"liga" on, "calt" on'; @@ -4923,7 +4923,7 @@ super(39, "fontWeight", k.fontWeight, {anyOf: [{type: "number", minimum: y.MINIMUM_VALUE, maximum: y.MAXIMUM_VALUE, errorMessage: i.a("fontWeightErrorMessage", 'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')}, {type: "string", pattern: "^(normal|bold|1000|[1-9][0-9]{0,2})$"}, {enum: y.SUGGESTION_VALUES}], default: k.fontWeight, description: i.a("fontWeight", 'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')}); } validate(e2) { - return "normal" === e2 || "bold" === e2 ? e2 : String(m.clampedInt(e2, k.fontWeight, y.MINIMUM_VALUE, y.MAXIMUM_VALUE)); + return e2 === "normal" || e2 === "bold" ? e2 : String(m.clampedInt(e2, k.fontWeight, y.MINIMUM_VALUE, y.MAXIMUM_VALUE)); } } y.SUGGESTION_VALUES = ["normal", "bold", "100", "200", "300", "400", "500", "600", "700", "800", "900"], y.MINIMUM_VALUE = 1, y.MAXIMUM_VALUE = 1e3; @@ -4948,17 +4948,17 @@ let y2 = Math.floor(o2 * i2); const x2 = y2 / o2; let S2 = false, k2 = false, E2 = w2 * u2, T2 = u2 / o2, L2 = 1; - if ("fill" === m2 || "fit" === m2) { + if (m2 === "fill" || m2 === "fit") { const {typicalViewportLineCount: n3, extraLinesBeyondLastLine: r3, desiredRatio: s2, minimapLineCount: c3} = C.computeContainedMinimapLineCount({viewLineCount: b2, scrollBeyondLastLine: d2, height: i2, lineHeight: l2, pixelRatio: o2}); if (b2 / c3 > 1) S2 = true, k2 = true, u2 = 1, E2 = 1, T2 = u2 / o2; else { let i3 = false, c4 = u2 + 1; - if ("fit" === m2) { + if (m2 === "fit") { const n4 = Math.ceil((b2 + r3) * E2); v2 && a2 && _2 <= t2.stableFitRemainingWidth ? (i3 = true, c4 = t2.stableFitMaxMinimapScale) : (i3 = n4 > y2, v2 && i3 ? (t2.stableMinimapLayoutInput = e2, t2.stableFitRemainingWidth = _2) : (t2.stableMinimapLayoutInput = null, t2.stableFitRemainingWidth = 0)); } - if ("fill" === m2 || i3) { + if (m2 === "fill" || i3) { S2 = true; const e3 = u2; E2 = Math.min(l2 * o2, Math.max(1, Math.floor(1 / s2))), u2 = Math.min(c4, Math.max(1, Math.floor(E2 / w2))), u2 > e3 && (L2 = Math.min(2, u2 / e3)), T2 = u2 / o2 / L2, y2 = Math.ceil(Math.max(n3, b2 + r3) * E2), v2 && i3 && (t2.stableFitMaxMinimapScale = u2); @@ -4969,12 +4969,12 @@ let O = Math.floor(o2 * I); const D = O / o2; O = Math.floor(O * L2); - return {renderMinimap: h2 ? 1 : 2, minimapLeft: "left" === g2 ? 0 : n2 - I - f2, minimapWidth: I, minimapHeightIsEditorHeight: S2, minimapIsSampling: k2, minimapScale: u2, minimapLineHeight: E2, minimapCanvasInnerWidth: O, minimapCanvasInnerHeight: y2, minimapCanvasOuterWidth: D, minimapCanvasOuterHeight: x2}; + return {renderMinimap: h2 ? 1 : 2, minimapLeft: g2 === "left" ? 0 : n2 - I - f2, minimapWidth: I, minimapHeightIsEditorHeight: S2, minimapIsSampling: k2, minimapScale: u2, minimapLineHeight: E2, minimapCanvasInnerWidth: O, minimapCanvasInnerHeight: y2, minimapCanvasOuterWidth: D, minimapCanvasOuterHeight: x2}; } static computeLayout(e2, t2) { - const n2 = 0 | t2.outerWidth, i2 = 0 | t2.outerHeight, o2 = 0 | t2.lineHeight, r2 = 0 | t2.lineNumbersDigitCount, s2 = t2.typicalHalfwidthCharacterWidth, a2 = t2.maxDigitWidth, l2 = t2.pixelRatio, d2 = t2.viewLineCount, h2 = e2.get(106), u2 = e2.get(109), p2 = e2.get(110), g2 = e2.get(2), f2 = t2.isDominatedByLongLines, b2 = e2.get(42), _2 = 0 !== e2.get(52).renderType, v2 = e2.get(53), w2 = e2.get(86), y2 = e2.get(56), x2 = e2.get(84), S2 = x2.verticalScrollbarSize, k2 = x2.verticalHasArrows, E2 = x2.arrowSize, T2 = x2.horizontalScrollbarSize, L2 = e2.get(50), N2 = e2.get(31); + const n2 = 0 | t2.outerWidth, i2 = 0 | t2.outerHeight, o2 = 0 | t2.lineHeight, r2 = 0 | t2.lineNumbersDigitCount, s2 = t2.typicalHalfwidthCharacterWidth, a2 = t2.maxDigitWidth, l2 = t2.pixelRatio, d2 = t2.viewLineCount, h2 = e2.get(106), u2 = e2.get(109), p2 = e2.get(110), g2 = e2.get(2), f2 = t2.isDominatedByLongLines, b2 = e2.get(42), _2 = e2.get(52).renderType !== 0, v2 = e2.get(53), w2 = e2.get(86), y2 = e2.get(56), x2 = e2.get(84), S2 = x2.verticalScrollbarSize, k2 = x2.verticalHasArrows, E2 = x2.arrowSize, T2 = x2.horizontalScrollbarSize, L2 = e2.get(50), N2 = e2.get(31); let I; - if ("string" == typeof L2 && /^\d+(\.\d+)?ch$/.test(L2)) { + if (typeof L2 == "string" && /^\d+(\.\d+)?ch$/.test(L2)) { const e3 = parseFloat(L2.substr(0, L2.length - 2)); I = m.clampedInt(e3 * s2, 0, 0, 1e3); } else @@ -4990,19 +4990,19 @@ let A = 0, R = A + D, M = R + O, P = M + I; const F = n2 - D - O - I; let W = false, z = false, B = -1; - 2 !== g2 && (p2 && f2 ? (W = true, z = true) : "on" === h2 || "bounded" === h2 ? z = true : "wordWrapColumn" === h2 && (B = u2)); + g2 !== 2 && (p2 && f2 ? (W = true, z = true) : h2 === "on" || h2 === "bounded" ? z = true : h2 === "wordWrapColumn" && (B = u2)); const j = C._computeMinimapLayout({outerWidth: n2, outerHeight: i2, lineHeight: o2, typicalHalfwidthCharacterWidth: s2, pixelRatio: l2, scrollBeyondLastLine: w2, minimap: y2, verticalScrollbarWidth: S2, viewLineCount: d2, remainingWidth: F, isViewportWrapping: z}, t2.memory || new c()); - 0 !== j.renderMinimap && 0 === j.minimapLeft && (A += j.minimapWidth, R += j.minimapWidth, M += j.minimapWidth, P += j.minimapWidth); + j.renderMinimap !== 0 && j.minimapLeft === 0 && (A += j.minimapWidth, R += j.minimapWidth, M += j.minimapWidth, P += j.minimapWidth); const V = F - j.minimapWidth, U = Math.max(1, Math.floor((V - S2 - 2) / s2)), H = k2 ? E2 : 0; - return z && (B = Math.max(1, U), "bounded" === h2 && (B = Math.min(B, u2))), {width: n2, height: i2, glyphMarginLeft: A, glyphMarginWidth: D, lineNumbersLeft: R, lineNumbersWidth: O, decorationsLeft: M, decorationsWidth: I, contentLeft: P, contentWidth: V, minimap: j, viewportColumn: U, isWordWrapMinified: W, isViewportWrapping: z, wrappingColumn: B, verticalScrollbarWidth: S2, horizontalScrollbarHeight: T2, overviewRuler: {top: H, width: S2, height: i2 - 2 * H, right: 0}}; + return z && (B = Math.max(1, U), h2 === "bounded" && (B = Math.min(B, u2))), {width: n2, height: i2, glyphMarginLeft: A, glyphMarginWidth: D, lineNumbersLeft: R, lineNumbersWidth: O, decorationsLeft: M, decorationsWidth: I, contentLeft: P, contentWidth: V, minimap: j, viewportColumn: U, isWordWrapMinified: W, isViewportWrapping: z, wrappingColumn: B, verticalScrollbarWidth: S2, horizontalScrollbarHeight: T2, overviewRuler: {top: H, width: S2, height: i2 - 2 * H, right: 0}}; } } function x(e2) { const t2 = e2.get(79); - return "editable" === t2 ? e2.get(72) : "on" !== t2; + return t2 === "editable" ? e2.get(72) : t2 !== "on"; } function S(e2, t2) { - if ("string" != typeof e2) + if (typeof e2 != "string") return t2; switch (e2) { case "hidden": @@ -5033,7 +5033,7 @@ return this.defaultValue; } compute(e2, t2, n2) { - return 0 === n2 ? e2.accessibilitySupport : n2; + return n2 === 0 ? e2.accessibilitySupport : n2; } }()), accessibilityPageSize: L(new m(3, "accessibilityPageSize", 10, 1, 1073741824, {description: i.a("accessibilityPageSize", "Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})), ariaLabel: L(new f(4, "ariaLabel", i.a("editorViewAccessibleLabel", "Editor content"))), autoClosingBrackets: L(new b(5, "autoClosingBrackets", "languageDefined", ["always", "languageDefined", "beforeWhitespace", "never"], {enumDescriptions: ["", i.a("editor.autoClosingBrackets.languageDefined", "Use language configurations to determine when to autoclose brackets."), i.a("editor.autoClosingBrackets.beforeWhitespace", "Autoclose brackets only when the cursor is to the left of whitespace."), ""], description: i.a("autoClosingBrackets", "Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})), autoClosingOvertype: L(new b(6, "autoClosingOvertype", "auto", ["always", "auto", "never"], {enumDescriptions: ["", i.a("editor.autoClosingOvertype.auto", "Type over closing quotes or brackets only if they were automatically inserted."), ""], description: i.a("autoClosingOvertype", "Controls whether the editor should type over closing quotes or brackets.")})), autoClosingQuotes: L(new b(7, "autoClosingQuotes", "languageDefined", ["always", "languageDefined", "beforeWhitespace", "never"], {enumDescriptions: ["", i.a("editor.autoClosingQuotes.languageDefined", "Use language configurations to determine when to autoclose quotes."), i.a("editor.autoClosingQuotes.beforeWhitespace", "Autoclose quotes only when the cursor is to the left of whitespace."), ""], description: i.a("autoClosingQuotes", "Controls whether the editor should automatically close quotes after the user adds an opening quote.")})), autoIndent: L(new _(8, "autoIndent", 4, "full", ["none", "keep", "brackets", "advanced", "full"], function(e2) { switch (e2) { @@ -5054,7 +5054,7 @@ super(14, "comments", e2, {"editor.comments.insertSpace": {type: "boolean", default: e2.insertSpace, description: i.a("comments.insertSpace", "Controls whether a space character is inserted when commenting.")}, "editor.comments.ignoreEmptyLines": {type: "boolean", default: e2.ignoreEmptyLines, description: i.a("comments.ignoreEmptyLines", "Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; return {insertSpace: p.boolean(t2.insertSpace, this.defaultValue.insertSpace), ignoreEmptyLines: p.boolean(t2.ignoreEmptyLines, this.defaultValue.ignoreEmptyLines)}; @@ -5100,10 +5100,10 @@ super(29, "find", e2, {"editor.find.cursorMoveOnType": {type: "boolean", default: e2.cursorMoveOnType, description: i.a("find.cursorMoveOnType", "Controls whether the cursor should jump to find matches while typing.")}, "editor.find.seedSearchStringFromSelection": {type: "boolean", default: e2.seedSearchStringFromSelection, description: i.a("find.seedSearchStringFromSelection", "Controls whether the search string in the Find Widget is seeded from the editor selection.")}, "editor.find.autoFindInSelection": {type: "string", enum: ["never", "always", "multiline"], default: e2.autoFindInSelection, enumDescriptions: [i.a("editor.find.autoFindInSelection.never", "Never turn on Find in selection automatically (default)"), i.a("editor.find.autoFindInSelection.always", "Always turn on Find in selection automatically"), i.a("editor.find.autoFindInSelection.multiline", "Turn on Find in selection automatically when multiple lines of content are selected.")], description: i.a("find.autoFindInSelection", "Controls the condition for turning on find in selection automatically.")}, "editor.find.globalFindClipboard": {type: "boolean", default: e2.globalFindClipboard, description: i.a("find.globalFindClipboard", "Controls whether the Find Widget should read or modify the shared find clipboard on macOS."), included: o.f}, "editor.find.addExtraSpaceOnTop": {type: "boolean", default: e2.addExtraSpaceOnTop, description: i.a("find.addExtraSpaceOnTop", "Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}, "editor.find.loop": {type: "boolean", default: e2.loop, description: i.a("find.loop", "Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; - return {cursorMoveOnType: p.boolean(t2.cursorMoveOnType, this.defaultValue.cursorMoveOnType), seedSearchStringFromSelection: p.boolean(t2.seedSearchStringFromSelection, this.defaultValue.seedSearchStringFromSelection), autoFindInSelection: "boolean" == typeof e2.autoFindInSelection ? e2.autoFindInSelection ? "always" : "never" : b.stringSet(t2.autoFindInSelection, this.defaultValue.autoFindInSelection, ["never", "always", "multiline"]), globalFindClipboard: p.boolean(t2.globalFindClipboard, this.defaultValue.globalFindClipboard), addExtraSpaceOnTop: p.boolean(t2.addExtraSpaceOnTop, this.defaultValue.addExtraSpaceOnTop), loop: p.boolean(t2.loop, this.defaultValue.loop)}; + return {cursorMoveOnType: p.boolean(t2.cursorMoveOnType, this.defaultValue.cursorMoveOnType), seedSearchStringFromSelection: p.boolean(t2.seedSearchStringFromSelection, this.defaultValue.seedSearchStringFromSelection), autoFindInSelection: typeof e2.autoFindInSelection == "boolean" ? e2.autoFindInSelection ? "always" : "never" : b.stringSet(t2.autoFindInSelection, this.defaultValue.autoFindInSelection, ["never", "always", "multiline"]), globalFindClipboard: p.boolean(t2.globalFindClipboard, this.defaultValue.globalFindClipboard), addExtraSpaceOnTop: p.boolean(t2.addExtraSpaceOnTop, this.defaultValue.addExtraSpaceOnTop), loop: p.boolean(t2.loop, this.defaultValue.loop)}; } }()), fixedOverflowWidgets: L(new p(30, "fixedOverflowWidgets", false)), folding: L(new p(31, "folding", true, {description: i.a("folding", "Controls whether the editor has code folding enabled.")})), foldingStrategy: L(new b(32, "foldingStrategy", "auto", ["auto", "indentation"], {enumDescriptions: [i.a("foldingStrategy.auto", "Use a language-specific folding strategy if available, else the indentation-based one."), i.a("foldingStrategy.indentation", "Use the indentation-based folding strategy.")], description: i.a("foldingStrategy", "Controls the strategy for computing folding ranges.")})), foldingHighlight: L(new p(33, "foldingHighlight", true, {description: i.a("foldingHighlight", "Controls whether the editor should highlight folded ranges.")})), unfoldOnClickAfterEndOfLine: L(new p(34, "unfoldOnClickAfterEndOfLine", false, {description: i.a("unfoldOnClickAfterEndOfLine", "Controls whether clicking on the empty content after a folded line will unfold the line.")})), fontFamily: L(new f(35, "fontFamily", k.fontFamily, {description: i.a("fontFamily", "Controls the font family.")})), fontInfo: L(new class extends h { constructor() { @@ -5118,7 +5118,7 @@ } validate(e2) { let t2 = g.float(e2, this.defaultValue); - return 0 === t2 ? k.fontSize : g.clamp(t2, 6, 100); + return t2 === 0 ? k.fontSize : g.clamp(t2, 6, 100); } compute(e2, t2, n2) { return e2.fontInfo.fontSize; @@ -5130,10 +5130,10 @@ } validate(e2) { var t2, n2, i2, o2, r2; - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const s2 = e2; - return {multiple: b.stringSet(s2.multiple, this.defaultValue.multiple, ["peek", "gotoAndPeek", "goto"]), multipleDefinitions: null !== (t2 = s2.multipleDefinitions) && void 0 !== t2 ? t2 : b.stringSet(s2.multipleDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]), multipleTypeDefinitions: null !== (n2 = s2.multipleTypeDefinitions) && void 0 !== n2 ? n2 : b.stringSet(s2.multipleTypeDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]), multipleDeclarations: null !== (i2 = s2.multipleDeclarations) && void 0 !== i2 ? i2 : b.stringSet(s2.multipleDeclarations, "peek", ["peek", "gotoAndPeek", "goto"]), multipleImplementations: null !== (o2 = s2.multipleImplementations) && void 0 !== o2 ? o2 : b.stringSet(s2.multipleImplementations, "peek", ["peek", "gotoAndPeek", "goto"]), multipleReferences: null !== (r2 = s2.multipleReferences) && void 0 !== r2 ? r2 : b.stringSet(s2.multipleReferences, "peek", ["peek", "gotoAndPeek", "goto"]), alternativeDefinitionCommand: f.string(s2.alternativeDefinitionCommand, this.defaultValue.alternativeDefinitionCommand), alternativeTypeDefinitionCommand: f.string(s2.alternativeTypeDefinitionCommand, this.defaultValue.alternativeTypeDefinitionCommand), alternativeDeclarationCommand: f.string(s2.alternativeDeclarationCommand, this.defaultValue.alternativeDeclarationCommand), alternativeImplementationCommand: f.string(s2.alternativeImplementationCommand, this.defaultValue.alternativeImplementationCommand), alternativeReferenceCommand: f.string(s2.alternativeReferenceCommand, this.defaultValue.alternativeReferenceCommand)}; + return {multiple: b.stringSet(s2.multiple, this.defaultValue.multiple, ["peek", "gotoAndPeek", "goto"]), multipleDefinitions: (t2 = s2.multipleDefinitions) !== null && t2 !== void 0 ? t2 : b.stringSet(s2.multipleDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]), multipleTypeDefinitions: (n2 = s2.multipleTypeDefinitions) !== null && n2 !== void 0 ? n2 : b.stringSet(s2.multipleTypeDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]), multipleDeclarations: (i2 = s2.multipleDeclarations) !== null && i2 !== void 0 ? i2 : b.stringSet(s2.multipleDeclarations, "peek", ["peek", "gotoAndPeek", "goto"]), multipleImplementations: (o2 = s2.multipleImplementations) !== null && o2 !== void 0 ? o2 : b.stringSet(s2.multipleImplementations, "peek", ["peek", "gotoAndPeek", "goto"]), multipleReferences: (r2 = s2.multipleReferences) !== null && r2 !== void 0 ? r2 : b.stringSet(s2.multipleReferences, "peek", ["peek", "gotoAndPeek", "goto"]), alternativeDefinitionCommand: f.string(s2.alternativeDefinitionCommand, this.defaultValue.alternativeDefinitionCommand), alternativeTypeDefinitionCommand: f.string(s2.alternativeTypeDefinitionCommand, this.defaultValue.alternativeTypeDefinitionCommand), alternativeDeclarationCommand: f.string(s2.alternativeDeclarationCommand, this.defaultValue.alternativeDeclarationCommand), alternativeImplementationCommand: f.string(s2.alternativeImplementationCommand, this.defaultValue.alternativeImplementationCommand), alternativeReferenceCommand: f.string(s2.alternativeReferenceCommand, this.defaultValue.alternativeReferenceCommand)}; } }()), hideCursorInOverviewRuler: L(new p(44, "hideCursorInOverviewRuler", false, {description: i.a("hideCursorInOverviewRuler", "Controls whether the cursor should be hidden in the overview ruler.")})), highlightActiveIndentGuide: L(new p(45, "highlightActiveIndentGuide", true, {description: i.a("highlightActiveIndentGuide", "Controls whether the editor should highlight the active indent guide.")})), hover: L(new class extends d { constructor() { @@ -5141,7 +5141,7 @@ super(46, "hover", e2, {"editor.hover.enabled": {type: "boolean", default: e2.enabled, description: i.a("hover.enabled", "Controls whether the hover is shown.")}, "editor.hover.delay": {type: "number", default: e2.delay, description: i.a("hover.delay", "Controls the delay in milliseconds after which the hover is shown.")}, "editor.hover.sticky": {type: "boolean", default: e2.sticky, description: i.a("hover.sticky", "Controls whether the hover should remain visible when mouse is moved over it.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; return {enabled: p.boolean(t2.enabled, this.defaultValue.enabled), delay: m.clampedInt(t2.delay, this.defaultValue.delay, 0, 1e4), sticky: p.boolean(t2.sticky, this.defaultValue.sticky)}; @@ -5152,7 +5152,7 @@ super(49, "lightbulb", e2, {"editor.lightbulb.enabled": {type: "boolean", default: e2.enabled, description: i.a("codeActions", "Enables the code action lightbulb in the editor.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; return {enabled: p.boolean(t2.enabled, this.defaultValue.enabled)}; @@ -5170,7 +5170,7 @@ } validate(e2) { let t2 = this.defaultValue.renderType, n2 = this.defaultValue.renderFn; - return void 0 !== e2 && ("function" == typeof e2 ? (t2 = 4, n2 = e2) : t2 = "interval" === e2 ? 3 : "relative" === e2 ? 2 : "on" === e2 ? 1 : 0), {renderType: t2, renderFn: n2}; + return e2 !== void 0 && (typeof e2 == "function" ? (t2 = 4, n2 = e2) : t2 = e2 === "interval" ? 3 : e2 === "relative" ? 2 : e2 === "on" ? 1 : 0), {renderType: t2, renderFn: n2}; } }()), lineNumbersMinChars: L(new m(53, "lineNumbersMinChars", 5, 1, 300)), links: L(new p(54, "links", true, {description: i.a("links", "Controls whether the editor should detect links and make them clickable.")})), matchBrackets: L(new b(55, "matchBrackets", "always", ["always", "near", "never"], {description: i.a("matchBrackets", "Highlight matching brackets.")})), minimap: L(new class extends d { constructor() { @@ -5178,19 +5178,19 @@ super(56, "minimap", e2, {"editor.minimap.enabled": {type: "boolean", default: e2.enabled, description: i.a("minimap.enabled", "Controls whether the minimap is shown.")}, "editor.minimap.size": {type: "string", enum: ["proportional", "fill", "fit"], enumDescriptions: [i.a("minimap.size.proportional", "The minimap has the same size as the editor contents (and might scroll)."), i.a("minimap.size.fill", "The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."), i.a("minimap.size.fit", "The minimap will shrink as necessary to never be larger than the editor (no scrolling).")], default: e2.size, description: i.a("minimap.size", "Controls the size of the minimap.")}, "editor.minimap.side": {type: "string", enum: ["left", "right"], default: e2.side, description: i.a("minimap.side", "Controls the side where to render the minimap.")}, "editor.minimap.showSlider": {type: "string", enum: ["always", "mouseover"], default: e2.showSlider, description: i.a("minimap.showSlider", "Controls when the minimap slider is shown.")}, "editor.minimap.scale": {type: "number", default: e2.scale, minimum: 1, maximum: 3, enum: [1, 2, 3], description: i.a("minimap.scale", "Scale of content drawn in the minimap: 1, 2 or 3.")}, "editor.minimap.renderCharacters": {type: "boolean", default: e2.renderCharacters, description: i.a("minimap.renderCharacters", "Render the actual characters on a line as opposed to color blocks.")}, "editor.minimap.maxColumn": {type: "number", default: e2.maxColumn, description: i.a("minimap.maxColumn", "Limit the width of the minimap to render at most a certain number of columns.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; return {enabled: p.boolean(t2.enabled, this.defaultValue.enabled), size: b.stringSet(t2.size, this.defaultValue.size, ["proportional", "fill", "fit"]), side: b.stringSet(t2.side, this.defaultValue.side, ["right", "left"]), showSlider: b.stringSet(t2.showSlider, this.defaultValue.showSlider, ["always", "mouseover"]), renderCharacters: p.boolean(t2.renderCharacters, this.defaultValue.renderCharacters), scale: m.clampedInt(t2.scale, 1, 1, 3), maxColumn: m.clampedInt(t2.maxColumn, this.defaultValue.maxColumn, 1, 1e4)}; } - }()), mouseStyle: L(new b(57, "mouseStyle", "text", ["text", "default", "copy"])), mouseWheelScrollSensitivity: L(new g(58, "mouseWheelScrollSensitivity", 1, (e2) => 0 === e2 ? 1 : e2, {markdownDescription: i.a("mouseWheelScrollSensitivity", "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})), mouseWheelZoom: L(new p(59, "mouseWheelZoom", false, {markdownDescription: i.a("mouseWheelZoom", "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})), multiCursorMergeOverlapping: L(new p(60, "multiCursorMergeOverlapping", true, {description: i.a("multiCursorMergeOverlapping", "Merge multiple cursors when they are overlapping.")})), multiCursorModifier: L(new _(61, "multiCursorModifier", "altKey", "alt", ["ctrlCmd", "alt"], function(e2) { - return "ctrlCmd" === e2 ? o.f ? "metaKey" : "ctrlKey" : "altKey"; + }()), mouseStyle: L(new b(57, "mouseStyle", "text", ["text", "default", "copy"])), mouseWheelScrollSensitivity: L(new g(58, "mouseWheelScrollSensitivity", 1, (e2) => e2 === 0 ? 1 : e2, {markdownDescription: i.a("mouseWheelScrollSensitivity", "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})), mouseWheelZoom: L(new p(59, "mouseWheelZoom", false, {markdownDescription: i.a("mouseWheelZoom", "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})), multiCursorMergeOverlapping: L(new p(60, "multiCursorMergeOverlapping", true, {description: i.a("multiCursorMergeOverlapping", "Merge multiple cursors when they are overlapping.")})), multiCursorModifier: L(new _(61, "multiCursorModifier", "altKey", "alt", ["ctrlCmd", "alt"], function(e2) { + return e2 === "ctrlCmd" ? o.f ? "metaKey" : "ctrlKey" : "altKey"; }, {markdownEnumDescriptions: [i.a("multiCursorModifier.ctrlCmd", "Maps to `Control` on Windows and Linux and to `Command` on macOS."), i.a("multiCursorModifier.alt", "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")], markdownDescription: i.a({key: "multiCursorModifier", comment: ["- `ctrlCmd` refers to a value the setting can take and should not be localized.", "- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]}, "The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})), multiCursorPaste: L(new b(62, "multiCursorPaste", "spread", ["spread", "full"], {markdownEnumDescriptions: [i.a("multiCursorPaste.spread", "Each cursor pastes a single line of the text."), i.a("multiCursorPaste.full", "Each cursor pastes the full text.")], markdownDescription: i.a("multiCursorPaste", "Controls pasting when the line count of the pasted text matches the cursor count.")})), occurrencesHighlight: L(new p(63, "occurrencesHighlight", true, {description: i.a("occurrencesHighlight", "Controls whether the editor should highlight semantic symbol occurrences.")})), overviewRulerBorder: L(new p(64, "overviewRulerBorder", true, {description: i.a("overviewRulerBorder", "Controls whether a border should be drawn around the overview ruler.")})), overviewRulerLanes: L(new m(65, "overviewRulerLanes", 3, 0, 3)), padding: L(new class extends d { constructor() { super(66, "padding", {top: 0, bottom: 0}, {"editor.padding.top": {type: "number", default: 0, minimum: 0, maximum: 1e3, description: i.a("padding.top", "Controls the amount of space between the top edge of the editor and the first line.")}, "editor.padding.bottom": {type: "number", default: 0, minimum: 0, maximum: 1e3, description: i.a("padding.bottom", "Controls the amount of space between the bottom edge of the editor and the last line.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; return {top: m.clampedInt(t2.top, 0, 0, 1e3), bottom: m.clampedInt(t2.bottom, 0, 0, 1e3)}; @@ -5201,7 +5201,7 @@ super(67, "parameterHints", e2, {"editor.parameterHints.enabled": {type: "boolean", default: e2.enabled, description: i.a("parameterHints.enabled", "Enables a pop-up that shows parameter documentation and type information as you type.")}, "editor.parameterHints.cycle": {type: "boolean", default: e2.cycle, description: i.a("parameterHints.cycle", "Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2; return {enabled: p.boolean(t2.enabled, this.defaultValue.enabled), cycle: p.boolean(t2.cycle, this.defaultValue.cycle)}; @@ -5212,9 +5212,9 @@ super(70, "quickSuggestions", e2, {anyOf: [{type: "boolean"}, {type: "object", properties: {strings: {type: "boolean", default: e2.strings, description: i.a("quickSuggestions.strings", "Enable quick suggestions inside strings.")}, comments: {type: "boolean", default: e2.comments, description: i.a("quickSuggestions.comments", "Enable quick suggestions inside comments.")}, other: {type: "boolean", default: e2.other, description: i.a("quickSuggestions.other", "Enable quick suggestions outside of strings and comments.")}}}], default: e2, description: i.a("quickSuggestions", "Controls whether suggestions should automatically show up while typing.")}), this.defaultValue = e2; } validate(e2) { - if ("boolean" == typeof e2) + if (typeof e2 == "boolean") return e2; - if (e2 && "object" == typeof e2) { + if (e2 && typeof e2 == "object") { const t2 = e2, n2 = {other: p.boolean(t2.other, this.defaultValue.other), comments: p.boolean(t2.comments, this.defaultValue.comments), strings: p.boolean(t2.strings, this.defaultValue.strings)}; return !!(n2.other && n2.comments && n2.strings) || !!(n2.other || n2.comments || n2.strings) && n2; } @@ -5229,9 +5229,9 @@ if (Array.isArray(e2)) { let t2 = []; for (let n2 of e2) - if ("number" == typeof n2) + if (typeof n2 == "number") t2.push({column: m.clampedInt(n2, 0, 0, 1e4), color: null}); - else if (n2 && "object" == typeof n2) { + else if (n2 && typeof n2 == "object") { const e3 = n2; t2.push({column: m.clampedInt(e3.column, 0, 0, 1e4), color: e3.color}); } @@ -5244,7 +5244,7 @@ super(84, "scrollbar", {vertical: 1, horizontal: 1, arrowSize: 11, useShadows: true, verticalHasArrows: false, horizontalHasArrows: false, horizontalScrollbarSize: 12, horizontalSliderSize: 12, verticalScrollbarSize: 14, verticalSliderSize: 14, handleMouseWheel: true, alwaysConsumeMouseWheel: true}); } validate(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const t2 = e2, n2 = m.clampedInt(t2.horizontalScrollbarSize, this.defaultValue.horizontalScrollbarSize, 0, 1e3), i2 = m.clampedInt(t2.verticalScrollbarSize, this.defaultValue.verticalScrollbarSize, 0, 1e3); return {arrowSize: m.clampedInt(t2.arrowSize, this.defaultValue.arrowSize, 0, 1e3), vertical: S(t2.vertical, this.defaultValue.vertical), horizontal: S(t2.horizontal, this.defaultValue.horizontal), useShadows: p.boolean(t2.useShadows, this.defaultValue.useShadows), verticalHasArrows: p.boolean(t2.verticalHasArrows, this.defaultValue.verticalHasArrows), horizontalHasArrows: p.boolean(t2.horizontalHasArrows, this.defaultValue.horizontalHasArrows), handleMouseWheel: p.boolean(t2.handleMouseWheel, this.defaultValue.handleMouseWheel), alwaysConsumeMouseWheel: p.boolean(t2.alwaysConsumeMouseWheel, this.defaultValue.alwaysConsumeMouseWheel), horizontalScrollbarSize: n2, horizontalSliderSize: m.clampedInt(t2.horizontalSliderSize, n2, 0, 1e3), verticalScrollbarSize: i2, verticalSliderSize: m.clampedInt(t2.verticalSliderSize, i2, 0, 1e3)}; @@ -5256,12 +5256,12 @@ } validate(e2) { var t2; - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return this.defaultValue; const n2 = e2; - return {insertMode: b.stringSet(n2.insertMode, this.defaultValue.insertMode, ["insert", "replace"]), filterGraceful: p.boolean(n2.filterGraceful, this.defaultValue.filterGraceful), snippetsPreventQuickSuggestions: p.boolean(n2.snippetsPreventQuickSuggestions, this.defaultValue.filterGraceful), localityBonus: p.boolean(n2.localityBonus, this.defaultValue.localityBonus), shareSuggestSelections: p.boolean(n2.shareSuggestSelections, this.defaultValue.shareSuggestSelections), showIcons: p.boolean(n2.showIcons, this.defaultValue.showIcons), maxVisibleSuggestions: m.clampedInt(n2.maxVisibleSuggestions, this.defaultValue.maxVisibleSuggestions, 1, 15), showMethods: p.boolean(n2.showMethods, this.defaultValue.showMethods), showFunctions: p.boolean(n2.showFunctions, this.defaultValue.showFunctions), showConstructors: p.boolean(n2.showConstructors, this.defaultValue.showConstructors), showFields: p.boolean(n2.showFields, this.defaultValue.showFields), showVariables: p.boolean(n2.showVariables, this.defaultValue.showVariables), showClasses: p.boolean(n2.showClasses, this.defaultValue.showClasses), showStructs: p.boolean(n2.showStructs, this.defaultValue.showStructs), showInterfaces: p.boolean(n2.showInterfaces, this.defaultValue.showInterfaces), showModules: p.boolean(n2.showModules, this.defaultValue.showModules), showProperties: p.boolean(n2.showProperties, this.defaultValue.showProperties), showEvents: p.boolean(n2.showEvents, this.defaultValue.showEvents), showOperators: p.boolean(n2.showOperators, this.defaultValue.showOperators), showUnits: p.boolean(n2.showUnits, this.defaultValue.showUnits), showValues: p.boolean(n2.showValues, this.defaultValue.showValues), showConstants: p.boolean(n2.showConstants, this.defaultValue.showConstants), showEnums: p.boolean(n2.showEnums, this.defaultValue.showEnums), showEnumMembers: p.boolean(n2.showEnumMembers, this.defaultValue.showEnumMembers), showKeywords: p.boolean(n2.showKeywords, this.defaultValue.showKeywords), showWords: p.boolean(n2.showWords, this.defaultValue.showWords), showColors: p.boolean(n2.showColors, this.defaultValue.showColors), showFiles: p.boolean(n2.showFiles, this.defaultValue.showFiles), showReferences: p.boolean(n2.showReferences, this.defaultValue.showReferences), showFolders: p.boolean(n2.showFolders, this.defaultValue.showFolders), showTypeParameters: p.boolean(n2.showTypeParameters, this.defaultValue.showTypeParameters), showSnippets: p.boolean(n2.showSnippets, this.defaultValue.showSnippets), showUsers: p.boolean(n2.showUsers, this.defaultValue.showUsers), showIssues: p.boolean(n2.showIssues, this.defaultValue.showIssues), statusBar: {visible: p.boolean(null === (t2 = n2.statusBar) || void 0 === t2 ? void 0 : t2.visible, !!this.defaultValue.statusBar.visible)}}; + return {insertMode: b.stringSet(n2.insertMode, this.defaultValue.insertMode, ["insert", "replace"]), filterGraceful: p.boolean(n2.filterGraceful, this.defaultValue.filterGraceful), snippetsPreventQuickSuggestions: p.boolean(n2.snippetsPreventQuickSuggestions, this.defaultValue.filterGraceful), localityBonus: p.boolean(n2.localityBonus, this.defaultValue.localityBonus), shareSuggestSelections: p.boolean(n2.shareSuggestSelections, this.defaultValue.shareSuggestSelections), showIcons: p.boolean(n2.showIcons, this.defaultValue.showIcons), maxVisibleSuggestions: m.clampedInt(n2.maxVisibleSuggestions, this.defaultValue.maxVisibleSuggestions, 1, 15), showMethods: p.boolean(n2.showMethods, this.defaultValue.showMethods), showFunctions: p.boolean(n2.showFunctions, this.defaultValue.showFunctions), showConstructors: p.boolean(n2.showConstructors, this.defaultValue.showConstructors), showFields: p.boolean(n2.showFields, this.defaultValue.showFields), showVariables: p.boolean(n2.showVariables, this.defaultValue.showVariables), showClasses: p.boolean(n2.showClasses, this.defaultValue.showClasses), showStructs: p.boolean(n2.showStructs, this.defaultValue.showStructs), showInterfaces: p.boolean(n2.showInterfaces, this.defaultValue.showInterfaces), showModules: p.boolean(n2.showModules, this.defaultValue.showModules), showProperties: p.boolean(n2.showProperties, this.defaultValue.showProperties), showEvents: p.boolean(n2.showEvents, this.defaultValue.showEvents), showOperators: p.boolean(n2.showOperators, this.defaultValue.showOperators), showUnits: p.boolean(n2.showUnits, this.defaultValue.showUnits), showValues: p.boolean(n2.showValues, this.defaultValue.showValues), showConstants: p.boolean(n2.showConstants, this.defaultValue.showConstants), showEnums: p.boolean(n2.showEnums, this.defaultValue.showEnums), showEnumMembers: p.boolean(n2.showEnumMembers, this.defaultValue.showEnumMembers), showKeywords: p.boolean(n2.showKeywords, this.defaultValue.showKeywords), showWords: p.boolean(n2.showWords, this.defaultValue.showWords), showColors: p.boolean(n2.showColors, this.defaultValue.showColors), showFiles: p.boolean(n2.showFiles, this.defaultValue.showFiles), showReferences: p.boolean(n2.showReferences, this.defaultValue.showReferences), showFolders: p.boolean(n2.showFolders, this.defaultValue.showFolders), showTypeParameters: p.boolean(n2.showTypeParameters, this.defaultValue.showTypeParameters), showSnippets: p.boolean(n2.showSnippets, this.defaultValue.showSnippets), showUsers: p.boolean(n2.showUsers, this.defaultValue.showUsers), showIssues: p.boolean(n2.showIssues, this.defaultValue.showIssues), statusBar: {visible: p.boolean((t2 = n2.statusBar) === null || t2 === void 0 ? void 0 : t2.visible, !!this.defaultValue.statusBar.visible)}}; } - }()), suggestFontSize: L(new m(97, "suggestFontSize", 0, 0, 1e3, {markdownDescription: i.a("suggestFontSize", "Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})), suggestLineHeight: L(new m(98, "suggestLineHeight", 0, 0, 1e3, {markdownDescription: i.a("suggestLineHeight", "Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})), suggestOnTriggerCharacters: L(new p(99, "suggestOnTriggerCharacters", true, {description: i.a("suggestOnTriggerCharacters", "Controls whether suggestions should automatically show up when typing trigger characters.")})), suggestSelection: L(new b(100, "suggestSelection", "recentlyUsed", ["first", "recentlyUsed", "recentlyUsedByPrefix"], {markdownEnumDescriptions: [i.a("suggestSelection.first", "Always select the first suggestion."), i.a("suggestSelection.recentlyUsed", "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."), i.a("suggestSelection.recentlyUsedByPrefix", "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")], description: i.a("suggestSelection", "Controls how suggestions are pre-selected when showing the suggest list.")})), tabCompletion: L(new b(101, "tabCompletion", "off", ["on", "off", "onlySnippets"], {enumDescriptions: [i.a("tabCompletion.on", "Tab complete will insert the best matching suggestion when pressing tab."), i.a("tabCompletion.off", "Disable tab completions."), i.a("tabCompletion.onlySnippets", "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")], description: i.a("tabCompletion", "Enables tab completions.")})), tabIndex: L(new m(102, "tabIndex", 0, -1, 1073741824)), unusualLineTerminators: L(new b(103, "unusualLineTerminators", "prompt", ["off", "prompt", "auto"], {enumDescriptions: [i.a("unusualLineTerminators.off", "Unusual line terminators are ignored."), i.a("unusualLineTerminators.prompt", "Unusual line terminators prompt to be removed."), i.a("unusualLineTerminators.auto", "Unusual line terminators are automatically removed.")], description: i.a("unusualLineTerminators", "Remove unusual line terminators that might cause problems.")})), useTabStops: L(new p(104, "useTabStops", true, {description: i.a("useTabStops", "Inserting and deleting whitespace follows tab stops.")})), wordSeparators: L(new f(105, "wordSeparators", r.b, {description: i.a("wordSeparators", "Characters that will be used as word separators when doing word related navigations or operations.")})), wordWrap: L(new b(106, "wordWrap", "off", ["off", "on", "wordWrapColumn", "bounded"], {markdownEnumDescriptions: [i.a("wordWrap.off", "Lines will never wrap."), i.a("wordWrap.on", "Lines will wrap at the viewport width."), i.a({key: "wordWrap.wordWrapColumn", comment: ["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]}, "Lines will wrap at `#editor.wordWrapColumn#`."), i.a({key: "wordWrap.bounded", comment: ["- viewport means the edge of the visible window size.", "- `editor.wordWrapColumn` refers to a different setting and should not be localized."]}, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")], description: i.a({key: "wordWrap", comment: ["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.", "- `editor.wordWrapColumn` refers to a different setting and should not be localized."]}, "Controls how lines should wrap.")})), wordWrapBreakAfterCharacters: L(new f(107, "wordWrapBreakAfterCharacters", " })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")), wordWrapBreakBeforeCharacters: L(new f(108, "wordWrapBreakBeforeCharacters", "([{‘“〈《「『【〔([{「£¥$£¥++")), wordWrapColumn: L(new m(109, "wordWrapColumn", 80, 1, 1073741824, {markdownDescription: i.a({key: "wordWrapColumn", comment: ["- `editor.wordWrap` refers to a different setting and should not be localized.", "- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]}, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})), wordWrapMinified: L(new p(110, "wordWrapMinified", true)), wrappingIndent: L(new _(111, "wrappingIndent", 1, "same", ["none", "same", "indent", "deepIndent"], function(e2) { + }()), suggestFontSize: L(new m(97, "suggestFontSize", 0, 0, 1e3, {markdownDescription: i.a("suggestFontSize", "Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})), suggestLineHeight: L(new m(98, "suggestLineHeight", 0, 0, 1e3, {markdownDescription: i.a("suggestLineHeight", "Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})), suggestOnTriggerCharacters: L(new p(99, "suggestOnTriggerCharacters", true, {description: i.a("suggestOnTriggerCharacters", "Controls whether suggestions should automatically show up when typing trigger characters.")})), suggestSelection: L(new b(100, "suggestSelection", "recentlyUsed", ["first", "recentlyUsed", "recentlyUsedByPrefix"], {markdownEnumDescriptions: [i.a("suggestSelection.first", "Always select the first suggestion."), i.a("suggestSelection.recentlyUsed", "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."), i.a("suggestSelection.recentlyUsedByPrefix", "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")], description: i.a("suggestSelection", "Controls how suggestions are pre-selected when showing the suggest list.")})), tabCompletion: L(new b(101, "tabCompletion", "off", ["on", "off", "onlySnippets"], {enumDescriptions: [i.a("tabCompletion.on", "Tab complete will insert the best matching suggestion when pressing tab."), i.a("tabCompletion.off", "Disable tab completions."), i.a("tabCompletion.onlySnippets", "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")], description: i.a("tabCompletion", "Enables tab completions.")})), tabIndex: L(new m(102, "tabIndex", 0, -1, 1073741824)), unusualLineTerminators: L(new b(103, "unusualLineTerminators", "prompt", ["off", "prompt", "auto"], {enumDescriptions: [i.a("unusualLineTerminators.off", "Unusual line terminators are ignored."), i.a("unusualLineTerminators.prompt", "Unusual line terminators prompt to be removed."), i.a("unusualLineTerminators.auto", "Unusual line terminators are automatically removed.")], description: i.a("unusualLineTerminators", "Remove unusual line terminators that might cause problems.")})), useTabStops: L(new p(104, "useTabStops", true, {description: i.a("useTabStops", "Inserting and deleting whitespace follows tab stops.")})), wordSeparators: L(new f(105, "wordSeparators", r.b, {description: i.a("wordSeparators", "Characters that will be used as word separators when doing word related navigations or operations.")})), wordWrap: L(new b(106, "wordWrap", "off", ["off", "on", "wordWrapColumn", "bounded"], {markdownEnumDescriptions: [i.a("wordWrap.off", "Lines will never wrap."), i.a("wordWrap.on", "Lines will wrap at the viewport width."), i.a({key: "wordWrap.wordWrapColumn", comment: ["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]}, "Lines will wrap at `#editor.wordWrapColumn#`."), i.a({key: "wordWrap.bounded", comment: ["- viewport means the edge of the visible window size.", "- `editor.wordWrapColumn` refers to a different setting and should not be localized."]}, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")], description: i.a({key: "wordWrap", comment: ["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.", "- `editor.wordWrapColumn` refers to a different setting and should not be localized."]}, "Controls how lines should wrap.")})), wordWrapBreakAfterCharacters: L(new f(107, "wordWrapBreakAfterCharacters", " })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")), wordWrapBreakBeforeCharacters: L(new f(108, "wordWrapBreakBeforeCharacters", "([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")), wordWrapColumn: L(new m(109, "wordWrapColumn", 80, 1, 1073741824, {markdownDescription: i.a({key: "wordWrapColumn", comment: ["- `editor.wordWrap` refers to a different setting and should not be localized.", "- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]}, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})), wordWrapMinified: L(new p(110, "wordWrapMinified", true)), wrappingIndent: L(new _(111, "wrappingIndent", 1, "same", ["none", "same", "indent", "deepIndent"], function(e2) { switch (e2) { case "none": return 0; @@ -5278,7 +5278,7 @@ } compute(e2, t2, n2) { const i2 = ["monaco-editor"]; - return t2.get(27) && i2.push(t2.get(27)), e2.extraEditorClassName && i2.push(e2.extraEditorClassName), "default" === t2.get(57) ? i2.push("mouse-default") : "copy" === t2.get(57) && i2.push("mouse-copy"), t2.get(92) && i2.push("showUnused"), t2.get(113) && i2.push("showDeprecated"), i2.join(" "); + return t2.get(27) && i2.push(t2.get(27)), e2.extraEditorClassName && i2.push(e2.extraEditorClassName), t2.get(57) === "default" ? i2.push("mouse-default") : t2.get(57) === "copy" && i2.push("mouse-copy"), t2.get(92) && i2.push("showUnused"), t2.get(113) && i2.push("showDeprecated"), i2.join(" "); } }()), pixelRatio: L(new class extends h { constructor() { @@ -5318,7 +5318,7 @@ registerCommand(e2, t2) { if (!e2) throw new Error("invalid command"); - if ("string" == typeof e2) { + if (typeof e2 == "string") { if (!t2) throw new Error("invalid command"); return this.registerCommand({id: e2, handler: t2}); @@ -5338,7 +5338,7 @@ let s2 = r2.unshift(e2), l2 = Object(i.h)(() => { s2(); const e3 = this._commands.get(n2); - (null == e3 ? void 0 : e3.isEmpty()) && this._commands.delete(n2); + (e3 == null ? void 0 : e3.isEmpty()) && this._commands.delete(n2); }); return this._onDidRegisterCommand.fire(n2), l2; } @@ -5370,7 +5370,7 @@ return a; }); var i = n(11); - const o = void 0 === e2 ? {cwd: () => "/", env: Object.create(null), get platform() { + const o = e2 === void 0 ? {cwd: () => "/", env: Object.create(null), get platform() { return i.i ? "win32" : i.f ? "darwin" : "linux"; }, nextTick: (e3) => Object(i.j)(e3)} : e2, r = o.cwd, s = o.env, a = o.platform; }).call(this, n(86)); @@ -5413,19 +5413,19 @@ } let s2 = 0, a2 = 0; for (let n3 = r2; n3 < t2; n3++) { - 32 === e2.charCodeAt(n3) ? s2++ : a2++; + e2.charCodeAt(n3) === 32 ? s2++ : a2++; } let l2 = 0, c2 = 0; for (let e3 = r2; e3 < i2; e3++) { - 32 === n2.charCodeAt(e3) ? l2++ : c2++; + n2.charCodeAt(e3) === 32 ? l2++ : c2++; } if (s2 > 0 && a2 > 0) return; if (l2 > 0 && c2 > 0) return; let d2 = Math.abs(a2 - c2), h2 = Math.abs(s2 - l2); - if (0 === d2) - return o2.spacesDiff = h2, void (h2 > 0 && 0 <= l2 - 1 && l2 - 1 < e2.length && l2 < n2.length && 32 !== n2.charCodeAt(l2) && 32 === e2.charCodeAt(l2 - 1) && 44 === e2.charCodeAt(e2.length - 1) && (o2.looksLikeAlignment = true)); + if (d2 === 0) + return o2.spacesDiff = h2, void (h2 > 0 && 0 <= l2 - 1 && l2 - 1 < e2.length && l2 < n2.length && n2.charCodeAt(l2) !== 32 && e2.charCodeAt(l2 - 1) === 32 && e2.charCodeAt(e2.length - 1) === 44 && (o2.looksLikeAlignment = true)); h2 % d2 != 0 || (o2.spacesDiff = h2 / d2); } function f(e2, t2, n2) { @@ -5439,10 +5439,10 @@ let p2 = false, m2 = 0, f2 = 0, b2 = 0; for (let t3 = 0, n3 = i3; t3 < n3; t3++) { let n4 = u3 ? h3.charCodeAt(t3) : e2.getLineCharCode(l3, t3); - if (9 === n4) + if (n4 === 9) b2++; else { - if (32 !== n4) { + if (n4 !== 32) { p2 = true, m2 = t3; break; } @@ -5464,7 +5464,7 @@ l2.forEach((t3) => { let n3 = c2[t3]; n3 > e3 && (e3 = n3, u2 = t3); - }), 4 === u2 && c2[4] > 0 && c2[2] > 0 && c2[2] >= c2[4] / 2 && (u2 = 2); + }), u2 === 4 && c2[4] > 0 && c2[2] > 0 && c2[2] >= c2[4] / 2 && (u2 = 2); } return {insertSpaces: h2, tabSize: u2}; } @@ -5508,7 +5508,7 @@ setOptions(e2) { this.options = e2; let t2 = this.options.className; - C(this, "squiggly-error" === t2 || "squiggly-warning" === t2 || "squiggly-info" === t2), k(this, this.options.stickiness), S(this, !(!this.options.overviewRuler || !this.options.overviewRuler.color)), E(this, this.options.collapseOnReplaceEdit); + C(this, t2 === "squiggly-error" || t2 === "squiggly-warning" || t2 === "squiggly-info"), k(this, this.options.stickiness), S(this, !(!this.options.overviewRuler || !this.options.overviewRuler.color)), E(this, this.options.collapseOnReplaceEdit); } setCachedOffsets(e2, t2, n2) { this.cachedVersionId !== n2 && (this.range = null), this.cachedVersionId = n2, this.cachedAbsoluteStart = e2, this.cachedAbsoluteEnd = t2; @@ -5664,12 +5664,12 @@ } } function I(e2, t2, n2, i2) { - return e2 < n2 || !(e2 > n2) && (1 !== i2 && (2 === i2 || t2)); + return e2 < n2 || !(e2 > n2) && (i2 !== 1 && (i2 === 2 || t2)); } function O(e2, t2, n2, i2, o2) { const r2 = function(e3) { return (48 & e3.metadata) >>> 4; - }(e2), s2 = 0 === r2 || 2 === r2, a2 = 1 === r2 || 2 === r2, l2 = n2 - t2, c2 = i2, d2 = Math.min(l2, c2), h2 = e2.start; + }(e2), s2 = r2 === 0 || r2 === 2, a2 = r2 === 1 || r2 === 2, l2 = n2 - t2, c2 = i2, d2 = Math.min(l2, c2), h2 = e2.start; let u2 = false; const p2 = e2.end; let m2 = false; @@ -5715,13 +5715,13 @@ t3.parent = i2, t3.left = L, t3.right = L, _(t3, 1); }(e2, t2), z(t2.parent); let n2 = t2; - for (; n2 !== e2.root && 1 === b(n2.parent); ) + for (; n2 !== e2.root && b(n2.parent) === 1; ) if (n2.parent === n2.parent.parent.left) { const t3 = n2.parent.parent.right; - 1 === b(t3) ? (_(n2.parent, 0), _(t3, 0), _(n2.parent.parent, 1), n2 = n2.parent.parent) : (n2 === n2.parent.right && (n2 = n2.parent, M(e2, n2)), _(n2.parent, 0), _(n2.parent.parent, 1), P(e2, n2.parent.parent)); + b(t3) === 1 ? (_(n2.parent, 0), _(t3, 0), _(n2.parent.parent, 1), n2 = n2.parent.parent) : (n2 === n2.parent.right && (n2 = n2.parent, M(e2, n2)), _(n2.parent, 0), _(n2.parent.parent, 1), P(e2, n2.parent.parent)); } else { const t3 = n2.parent.parent.left; - 1 === b(t3) ? (_(n2.parent, 0), _(t3, 0), _(n2.parent.parent, 1), n2 = n2.parent.parent) : (n2 === n2.parent.left && (n2 = n2.parent, P(e2, n2)), _(n2.parent, 0), _(n2.parent.parent, 1), M(e2, n2.parent.parent)); + b(t3) === 1 ? (_(n2.parent, 0), _(t3, 0), _(n2.parent.parent, 1), n2 = n2.parent.parent) : (n2 === n2.parent.left && (n2 = n2.parent, P(e2, n2)), _(n2.parent, 0), _(n2.parent.parent, 1), M(e2, n2.parent.parent)); } return _(e2.root, 0), t2; } @@ -5733,11 +5733,11 @@ return e3; }(t2.right), n2 = i2.right, n2.start += i2.delta, n2.end += i2.delta, n2.delta += i2.delta, (n2.delta < -1073741824 || n2.delta > 1073741824) && (e2.requestNormalizeDelta = true), i2.start += t2.delta, i2.end += t2.delta, i2.delta = t2.delta, (i2.delta < -1073741824 || i2.delta > 1073741824) && (e2.requestNormalizeDelta = true)), i2 === e2.root) return e2.root = n2, _(n2, 0), t2.detach(), R(), W(n2), void (e2.root.parent = L); - let o2, r2 = 1 === b(i2); + let o2, r2 = b(i2) === 1; if (i2 === i2.parent.left ? i2.parent.left = n2 : i2.parent.right = n2, i2 === t2 ? n2.parent = i2.parent : (i2.parent === t2 ? n2.parent = i2 : n2.parent = i2.parent, i2.left = t2.left, i2.right = t2.right, i2.parent = t2.parent, _(i2, b(t2)), t2 === e2.root ? e2.root = i2 : t2 === t2.parent.left ? t2.parent.left = i2 : t2.parent.right = i2, i2.left !== L && (i2.left.parent = i2), i2.right !== L && (i2.right.parent = i2)), t2.detach(), r2) return z(n2.parent), i2 !== t2 && (z(i2), z(i2.parent)), void R(); - for (z(n2), z(n2.parent), i2 !== t2 && (z(i2), z(i2.parent)); n2 !== e2.root && 0 === b(n2); ) - n2 === n2.parent.left ? (o2 = n2.parent.right, 1 === b(o2) && (_(o2, 0), _(n2.parent, 1), M(e2, n2.parent), o2 = n2.parent.right), 0 === b(o2.left) && 0 === b(o2.right) ? (_(o2, 1), n2 = n2.parent) : (0 === b(o2.right) && (_(o2.left, 0), _(o2, 1), P(e2, o2), o2 = n2.parent.right), _(o2, b(n2.parent)), _(n2.parent, 0), _(o2.right, 0), M(e2, n2.parent), n2 = e2.root)) : (o2 = n2.parent.left, 1 === b(o2) && (_(o2, 0), _(n2.parent, 1), P(e2, n2.parent), o2 = n2.parent.left), 0 === b(o2.left) && 0 === b(o2.right) ? (_(o2, 1), n2 = n2.parent) : (0 === b(o2.left) && (_(o2.right, 0), _(o2, 1), M(e2, o2), o2 = n2.parent.left), _(o2, b(n2.parent)), _(n2.parent, 0), _(o2.left, 0), P(e2, n2.parent), n2 = e2.root)); + for (z(n2), z(n2.parent), i2 !== t2 && (z(i2), z(i2.parent)); n2 !== e2.root && b(n2) === 0; ) + n2 === n2.parent.left ? (o2 = n2.parent.right, b(o2) === 1 && (_(o2, 0), _(n2.parent, 1), M(e2, n2.parent), o2 = n2.parent.right), b(o2.left) === 0 && b(o2.right) === 0 ? (_(o2, 1), n2 = n2.parent) : (b(o2.right) === 0 && (_(o2.left, 0), _(o2, 1), P(e2, o2), o2 = n2.parent.right), _(o2, b(n2.parent)), _(n2.parent, 0), _(o2.right, 0), M(e2, n2.parent), n2 = e2.root)) : (o2 = n2.parent.left, b(o2) === 1 && (_(o2, 0), _(n2.parent, 1), P(e2, n2.parent), o2 = n2.parent.left), b(o2.left) === 0 && b(o2.right) === 0 ? (_(o2, 1), n2 = n2.parent) : (b(o2.left) === 0 && (_(o2.right, 0), _(o2, 1), M(e2, o2), o2 = n2.parent.left), _(o2, b(n2.parent)), _(n2.parent, 0), _(o2.left, 0), P(e2, n2.parent), n2 = e2.root)); _(n2, 0), R(); } function R() { @@ -5833,7 +5833,7 @@ let n2, i2; if (t2.left === V ? (i2 = t2, n2 = i2.right) : t2.right === V ? (i2 = t2, n2 = i2.left) : (i2 = U(t2.right), n2 = i2.right), i2 === e2.root) return e2.root = n2, n2.color = 0, t2.detach(), K(), void (e2.root.parent = V); - let o2, r2 = 1 === i2.color; + let o2, r2 = i2.color === 1; if (i2 === i2.parent.left ? i2.parent.left = n2 : i2.parent.right = n2, i2 === t2 ? (n2.parent = i2.parent, J(e2, n2)) : (i2.parent === t2 ? n2.parent = i2 : n2.parent = i2.parent, J(e2, n2), i2.left = t2.left, i2.right = t2.right, i2.parent = t2.parent, i2.color = t2.color, t2 === e2.root ? e2.root = i2 : t2 === t2.parent.left ? t2.parent.left = i2 : t2.parent.right = i2, i2.left !== V && (i2.left.parent = i2), i2.right !== V && (i2.right.parent = i2), i2.size_left = t2.size_left, i2.lf_left = t2.lf_left, J(e2, i2)), t2.detach(), n2.parent.left === n2) { let t3 = q(n2), i3 = $(n2); if (t3 !== n2.parent.size_left || i3 !== n2.parent.lf_left) { @@ -5844,19 +5844,19 @@ if (J(e2, n2.parent), r2) K(); else { - for (; n2 !== e2.root && 0 === n2.color; ) - n2 === n2.parent.left ? (o2 = n2.parent.right, 1 === o2.color && (o2.color = 0, n2.parent.color = 1, G(e2, n2.parent), o2 = n2.parent.right), 0 === o2.left.color && 0 === o2.right.color ? (o2.color = 1, n2 = n2.parent) : (0 === o2.right.color && (o2.left.color = 0, o2.color = 1, Y(e2, o2), o2 = n2.parent.right), o2.color = n2.parent.color, n2.parent.color = 0, o2.right.color = 0, G(e2, n2.parent), n2 = e2.root)) : (o2 = n2.parent.left, 1 === o2.color && (o2.color = 0, n2.parent.color = 1, Y(e2, n2.parent), o2 = n2.parent.left), 0 === o2.left.color && 0 === o2.right.color ? (o2.color = 1, n2 = n2.parent) : (0 === o2.left.color && (o2.right.color = 0, o2.color = 1, G(e2, o2), o2 = n2.parent.left), o2.color = n2.parent.color, n2.parent.color = 0, o2.left.color = 0, Y(e2, n2.parent), n2 = e2.root)); + for (; n2 !== e2.root && n2.color === 0; ) + n2 === n2.parent.left ? (o2 = n2.parent.right, o2.color === 1 && (o2.color = 0, n2.parent.color = 1, G(e2, n2.parent), o2 = n2.parent.right), o2.left.color === 0 && o2.right.color === 0 ? (o2.color = 1, n2 = n2.parent) : (o2.right.color === 0 && (o2.left.color = 0, o2.color = 1, Y(e2, o2), o2 = n2.parent.right), o2.color = n2.parent.color, n2.parent.color = 0, o2.right.color = 0, G(e2, n2.parent), n2 = e2.root)) : (o2 = n2.parent.left, o2.color === 1 && (o2.color = 0, n2.parent.color = 1, Y(e2, n2.parent), o2 = n2.parent.left), o2.left.color === 0 && o2.right.color === 0 ? (o2.color = 1, n2 = n2.parent) : (o2.left.color === 0 && (o2.right.color = 0, o2.color = 1, G(e2, o2), o2 = n2.parent.left), o2.color = n2.parent.color, n2.parent.color = 0, o2.left.color = 0, Y(e2, n2.parent), n2 = e2.root)); n2.color = 0, K(); } } function X(e2, t2) { - for (J(e2, t2); t2 !== e2.root && 1 === t2.parent.color; ) + for (J(e2, t2); t2 !== e2.root && t2.parent.color === 1; ) if (t2.parent === t2.parent.parent.left) { const n2 = t2.parent.parent.right; - 1 === n2.color ? (t2.parent.color = 0, n2.color = 0, t2.parent.parent.color = 1, t2 = t2.parent.parent) : (t2 === t2.parent.right && G(e2, t2 = t2.parent), t2.parent.color = 0, t2.parent.parent.color = 1, Y(e2, t2.parent.parent)); + n2.color === 1 ? (t2.parent.color = 0, n2.color = 0, t2.parent.parent.color = 1, t2 = t2.parent.parent) : (t2 === t2.parent.right && G(e2, t2 = t2.parent), t2.parent.color = 0, t2.parent.parent.color = 1, Y(e2, t2.parent.parent)); } else { const n2 = t2.parent.parent.left; - 1 === n2.color ? (t2.parent.color = 0, n2.color = 0, t2.parent.parent.color = 1, t2 = t2.parent.parent) : (t2 === t2.parent.left && Y(e2, t2 = t2.parent), t2.parent.color = 0, t2.parent.parent.color = 1, G(e2, t2.parent.parent)); + n2.color === 1 ? (t2.parent.color = 0, n2.color = 0, t2.parent.parent.color = 1, t2 = t2.parent.parent) : (t2 === t2.parent.left && Y(e2, t2 = t2.parent), t2.parent.color = 0, t2.parent.parent.color = 1, G(e2, t2.parent.parent)); } e2.root.color = 0; } @@ -5867,14 +5867,14 @@ function J(e2, t2) { let n2 = 0, i2 = 0; if (t2 !== e2.root) { - if (0 === n2) { + if (n2 === 0) { for (; t2 !== e2.root && t2 === t2.parent.right; ) t2 = t2.parent; if (t2 === e2.root) return; n2 = q((t2 = t2.parent).left) - t2.size_left, i2 = $(t2.left) - t2.lf_left, t2.size_left += n2, t2.lf_left += i2; } - for (; t2 !== e2.root && (0 !== n2 || 0 !== i2); ) + for (; t2 !== e2.root && (n2 !== 0 || i2 !== 0); ) t2.parent.left === t2 && (t2.parent.size_left += n2, t2.parent.lf_left += i2), t2 = t2.parent; } } @@ -5893,7 +5893,7 @@ let n2 = [0], i2 = 1; for (let t3 = 0, o2 = e2.length; t3 < o2; t3++) { const r2 = e2.charCodeAt(t3); - 13 === r2 ? t3 + 1 < o2 && 10 === e2.charCodeAt(t3 + 1) ? (n2[i2++] = t3 + 2, t3++) : n2[i2++] = t3 + 1 : 10 === r2 && (n2[i2++] = t3 + 1); + r2 === 13 ? t3 + 1 < o2 && e2.charCodeAt(t3 + 1) === 10 ? (n2[i2++] = t3 + 2, t3++) : n2[i2++] = t3 + 1 : r2 === 10 && (n2[i2++] = t3 + 1); } return t2 ? te(n2) : n2; } @@ -5912,7 +5912,7 @@ this._pieces = [], this._tree = e2, this._BOM = t2, this._index = 0, e2.root !== V && e2.iterate(e2.root, (e3) => (e3 !== V && this._pieces.push(e3.piece), true)); } read() { - return 0 === this._pieces.length ? 0 === this._index ? (this._index++, this._BOM) : null : this._index > this._pieces.length - 1 ? null : 0 === this._index ? this._BOM + this._tree.getPieceContent(this._pieces[this._index++]) : this._tree.getPieceContent(this._pieces[this._index++]); + return this._pieces.length === 0 ? this._index === 0 ? (this._index++, this._BOM) : null : this._index > this._pieces.length - 1 ? null : this._index === 0 ? this._BOM + this._tree.getPieceContent(this._pieces[this._index++]) : this._tree.getPieceContent(this._pieces[this._index++]); } } class ae { @@ -5942,12 +5942,12 @@ let t2 = false, n2 = this._cache; for (let i2 = 0; i2 < n2.length; i2++) { let o2 = n2[i2]; - (null === o2.node.parent || o2.nodeStartOffset >= e2) && (n2[i2] = null, t2 = true); + (o2.node.parent === null || o2.nodeStartOffset >= e2) && (n2[i2] = null, t2 = true); } if (t2) { let e3 = []; for (const t3 of n2) - null !== t3 && e3.push(t3); + t3 !== null && e3.push(t3); this._cache = e3; } } @@ -6007,12 +6007,12 @@ e2 = Math.floor(e2), e2 = Math.max(0, e2); let t2 = this.root, n2 = 0, i2 = e2; for (; t2 !== V; ) - if (0 !== t2.size_left && t2.size_left >= e2) + if (t2.size_left !== 0 && t2.size_left >= e2) t2 = t2.left; else { if (t2.size_left + t2.piece.length >= e2) { let o2 = this.getIndexOf(t2, e2 - t2.size_left); - if (n2 += t2.lf_left + o2.index, 0 === o2.index) { + if (n2 += t2.lf_left + o2.index, o2.index === 0) { let e3 = i2 - this.getOffsetAt(n2 + 1, 1); return new c.a(n2 + 1, e3 + 1); } @@ -6055,18 +6055,18 @@ return true; const r2 = o2.piece; let s2 = r2.length; - if (0 === s2) + if (s2 === 0) return true; const a2 = this._buffers[r2.bufferIndex].buffer, l2 = this._buffers[r2.bufferIndex].lineStarts, c2 = r2.start.line, d2 = r2.end.line; let h2 = l2[c2] + r2.start.column; - if (i2 && (10 === a2.charCodeAt(h2) && (h2++, s2--), e2[t2++] = n2, n2 = "", i2 = false, 0 === s2)) + if (i2 && (a2.charCodeAt(h2) === 10 && (h2++, s2--), e2[t2++] = n2, n2 = "", i2 = false, s2 === 0)) return true; if (c2 === d2) - return this._EOLNormalized || 13 !== a2.charCodeAt(h2 + s2 - 1) ? n2 += a2.substr(h2, s2) : (i2 = true, n2 += a2.substr(h2, s2 - 1)), true; + return this._EOLNormalized || a2.charCodeAt(h2 + s2 - 1) !== 13 ? n2 += a2.substr(h2, s2) : (i2 = true, n2 += a2.substr(h2, s2 - 1)), true; n2 += this._EOLNormalized ? a2.substring(h2, Math.max(h2, l2[c2 + 1] - this._EOLLength)) : a2.substring(h2, l2[c2 + 1]).replace(/(\r\n|\r|\n)$/, ""), e2[t2++] = n2; for (let i3 = c2 + 1; i3 < d2; i3++) n2 = this._EOLNormalized ? a2.substring(l2[i3], l2[i3 + 1] - this._EOLLength) : a2.substring(l2[i3], l2[i3 + 1]).replace(/(\r\n|\r|\n)$/, ""), e2[t2++] = n2; - return this._EOLNormalized || 13 !== a2.charCodeAt(l2[d2] + r2.end.column - 1) ? n2 = a2.substr(l2[d2], r2.end.column) : (i2 = true, 0 === r2.end.column ? t2-- : n2 = a2.substr(l2[d2], r2.end.column - 1)), true; + return this._EOLNormalized || a2.charCodeAt(l2[d2] + r2.end.column - 1) !== 13 ? n2 = a2.substr(l2[d2], r2.end.column) : (i2 = true, r2.end.column === 0 ? t2-- : n2 = a2.substr(l2[d2], r2.end.column - 1)), true; }), i2 && (e2[t2++] = n2, n2 = ""), e2[t2++] = n2, e2; } getLength() { @@ -6124,10 +6124,10 @@ let r2 = 0; const s2 = new ee.b(t2.wordSeparators, t2.regex); let a2 = this.nodeAt2(e2.startLineNumber, e2.startColumn); - if (null === a2) + if (a2 === null) return []; let l2 = this.nodeAt2(e2.endLineNumber, e2.endColumn); - if (null === l2) + if (l2 === null) return []; let c2 = this.positionInBuffer(a2.node, a2.remainder), d2 = this.positionInBuffer(l2.node, l2.remainder); if (a2.node === l2.node) @@ -6163,7 +6163,7 @@ if (!a2 && e2.simpleSearch) { const t3 = e2.simpleSearch, a3 = t3.length, h3 = n2.length; let p2 = -a3; - for (; -1 !== (p2 = n2.indexOf(t3, p2 + a3)); ) + for (; (p2 = n2.indexOf(t3, p2 + a3)) !== -1; ) if ((!c2 || Object(ee.e)(c2, n2, h3, p2, a3)) && (s2[r2++] = new u.b(new d.a(i2, p2 + 1 + o2, i2, p2 + 1 + a3 + o2), null), r2 >= l2)) return r2; return r2; @@ -6179,22 +6179,22 @@ insert(e2, t2, n2 = false) { if (this._EOLNormalized = this._EOLNormalized && n2, this._lastVisitedLine.lineNumber = 0, this._lastVisitedLine.value = "", this.root !== V) { let {node: n3, remainder: i2, nodeStartOffset: o2} = this.nodeAt(e2), r2 = n3.piece, s2 = r2.bufferIndex, a2 = this.positionInBuffer(n3, i2); - if (0 === n3.piece.bufferIndex && r2.end.line === this._lastChangeBufferPos.line && r2.end.column === this._lastChangeBufferPos.column && o2 + r2.length === e2 && t2.length < 65535) + if (n3.piece.bufferIndex === 0 && r2.end.line === this._lastChangeBufferPos.line && r2.end.column === this._lastChangeBufferPos.column && o2 + r2.length === e2 && t2.length < 65535) return this.appendToNode(n3, t2), void this.computeBufferMetadata(); if (o2 === e2) this.insertContentToNodeLeft(t2, n3), this._searchCache.validate(e2); else if (o2 + n3.piece.length > e2) { let e3 = [], o3 = new oe(r2.bufferIndex, a2, r2.end, this.getLineFeedCnt(r2.bufferIndex, a2, r2.end), this.offsetInBuffer(s2, r2.end) - this.offsetInBuffer(s2, a2)); if (this.shouldCheckCRLF() && this.endWithCR(t2)) { - if (10 === this.nodeCharCodeAt(n3, i2)) { + if (this.nodeCharCodeAt(n3, i2) === 10) { let e4 = {line: o3.start.line + 1, column: 0}; o3 = new oe(o3.bufferIndex, e4, o3.end, this.getLineFeedCnt(o3.bufferIndex, e4, o3.end), o3.length - 1), t2 += "\n"; } } if (this.shouldCheckCRLF() && this.startWithLF(t2)) { - if (13 === this.nodeCharCodeAt(n3, i2 - 1)) { + if (this.nodeCharCodeAt(n3, i2 - 1) === 13) { let o4 = this.positionInBuffer(n3, i2 - 1); - this.deleteNodeTail(n3, o4), t2 = "\r" + t2, 0 === n3.piece.length && e3.push(n3); + this.deleteNodeTail(n3, o4), t2 = "\r" + t2, n3.piece.length === 0 && e3.push(n3); } else this.deleteNodeTail(n3, a2); } else @@ -6230,19 +6230,19 @@ return n2.nodeStartOffset + o2.piece.length === e2 + t2 ? (this.deleteNodeTail(o2, r3), this.validateCRLFWithNextNode(o2), void this.computeBufferMetadata()) : (this.shrinkNode(o2, r3, s3), void this.computeBufferMetadata()); } let s2 = [], a2 = this.positionInBuffer(o2, n2.remainder); - this.deleteNodeTail(o2, a2), this._searchCache.validate(e2), 0 === o2.piece.length && s2.push(o2); + this.deleteNodeTail(o2, a2), this._searchCache.validate(e2), o2.piece.length === 0 && s2.push(o2); let l2 = this.positionInBuffer(r2, i2.remainder); - this.deleteNodeHead(r2, l2), 0 === r2.piece.length && s2.push(r2); + this.deleteNodeHead(r2, l2), r2.piece.length === 0 && s2.push(r2); for (let e3 = o2.next(); e3 !== V && e3 !== r2; e3 = e3.next()) s2.push(e3); - let c2 = 0 === o2.piece.length ? o2.prev() : o2; + let c2 = o2.piece.length === 0 ? o2.prev() : o2; this.deleteNodes(s2), this.validateCRLFWithNextNode(c2), this.computeBufferMetadata(); } insertContentToNodeLeft(e2, t2) { let n2 = []; if (this.shouldCheckCRLF() && this.endWithCR(e2) && this.startWithLF(t2)) { let i3 = t2.piece, o3 = {line: i3.start.line + 1, column: 0}, r2 = new oe(i3.bufferIndex, o3, i3.end, this.getLineFeedCnt(i3.bufferIndex, o3, i3.end), i3.length - 1); - t2.piece = r2, e2 += "\n", Q(this, t2, -1, -1), 0 === t2.piece.length && n2.push(t2); + t2.piece = r2, e2 += "\n", Q(this, t2, -1, -1), t2.piece.length === 0 && n2.push(t2); } let i2 = this.createNewPieces(e2), o2 = this.rbInsertLeft(t2, i2[i2.length - 1]); for (let e3 = i2.length - 2; e3 >= 0; e3--) @@ -6269,7 +6269,7 @@ return n2 ? (n2.line = c2, n2.column = s2 - h2, null) : {line: c2, column: s2 - h2}; } getLineFeedCnt(e2, t2, n2) { - if (0 === n2.column) + if (n2.column === 0) return n2.line - t2.line; let i2 = this._buffers[e2].lineStarts; if (n2.line === i2.length - 1) @@ -6278,7 +6278,7 @@ if (o2 > r2 + 1) return n2.line - t2.line; let s2 = r2 - 1; - return 13 === this._buffers[e2].buffer.charCodeAt(s2) ? n2.line - t2.line + 1 : n2.line - t2.line; + return this._buffers[e2].buffer.charCodeAt(s2) === 13 ? n2.line - t2.line + 1 : n2.line - t2.line; } offsetInBuffer(e2, t2) { return this._buffers[e2].lineStarts[t2.line] + t2.column; @@ -6293,7 +6293,7 @@ for (; e2.length > 65535; ) { const n4 = e2.charCodeAt(65534); let i3; - 13 === n4 || n4 >= 55296 && n4 <= 56319 ? (i3 = e2.substring(0, 65534), e2 = e2.substring(65534)) : (i3 = e2.substring(0, 65535), e2 = e2.substring(65535)); + n4 === 13 || n4 >= 55296 && n4 <= 56319 ? (i3 = e2.substring(0, 65534), e2 = e2.substring(65534)) : (i3 = e2.substring(0, 65535), e2 = e2.substring(65535)); let o3 = ie(i3); t3.push(new oe(this._buffers.length, {line: 0, column: 0}, {line: o3.length - 1, column: i3.length - o3[o3.length - 1]}, o3.length - 1, i3.length)), this._buffers.push(new re(i3, o3)); } @@ -6303,13 +6303,13 @@ let t2 = this._buffers[0].buffer.length; const n2 = ie(e2, false); let i2 = this._lastChangeBufferPos; - if (this._buffers[0].lineStarts[this._buffers[0].lineStarts.length - 1] === t2 && 0 !== t2 && this.startWithLF(e2) && this.endWithCR(this._buffers[0].buffer)) { + if (this._buffers[0].lineStarts[this._buffers[0].lineStarts.length - 1] === t2 && t2 !== 0 && this.startWithLF(e2) && this.endWithCR(this._buffers[0].buffer)) { this._lastChangeBufferPos = {line: this._lastChangeBufferPos.line, column: this._lastChangeBufferPos.column + 1}, i2 = this._lastChangeBufferPos; for (let e3 = 0; e3 < n2.length; e3++) n2[e3] += t2 + 1; this._buffers[0].lineStarts = this._buffers[0].lineStarts.concat(n2.slice(1)), this._buffers[0].buffer += "_" + e2, t2 += 1; } else { - if (0 !== t2) + if (t2 !== 0) for (let e3 = 0; e3 < n2.length; e3++) n2[e3] += t2; this._buffers[0].lineStarts = this._buffers[0].lineStarts.concat(n2.slice(1)), this._buffers[0].buffer += e2; @@ -6475,18 +6475,18 @@ return t2; } shouldCheckCRLF() { - return !(this._EOLNormalized && "\n" === this._EOL); + return !(this._EOLNormalized && this._EOL === "\n"); } startWithLF(e2) { - if ("string" == typeof e2) - return 10 === e2.charCodeAt(0); - if (e2 === V || 0 === e2.piece.lineFeedCnt) + if (typeof e2 == "string") + return e2.charCodeAt(0) === 10; + if (e2 === V || e2.piece.lineFeedCnt === 0) return false; let t2 = e2.piece, n2 = this._buffers[t2.bufferIndex].lineStarts, i2 = t2.start.line, o2 = n2[i2] + t2.start.column; - return i2 !== n2.length - 1 && (!(n2[i2 + 1] > o2 + 1) && 10 === this._buffers[t2.bufferIndex].buffer.charCodeAt(o2)); + return i2 !== n2.length - 1 && (!(n2[i2 + 1] > o2 + 1) && this._buffers[t2.bufferIndex].buffer.charCodeAt(o2) === 10); } endWithCR(e2) { - return "string" == typeof e2 ? 13 === e2.charCodeAt(e2.length - 1) : e2 !== V && 0 !== e2.piece.lineFeedCnt && 13 === this.nodeCharCodeAt(e2, e2.piece.length - 1); + return typeof e2 == "string" ? e2.charCodeAt(e2.length - 1) === 13 : e2 !== V && e2.piece.lineFeedCnt !== 0 && this.nodeCharCodeAt(e2, e2.piece.length - 1) === 13; } validateCRLFWithPrevNode(e2) { if (this.shouldCheckCRLF() && this.startWithLF(e2)) { @@ -6502,12 +6502,12 @@ } fixCRLF(e2, t2) { let n2, i2 = [], o2 = this._buffers[e2.piece.bufferIndex].lineStarts; - n2 = 0 === e2.piece.end.column ? {line: e2.piece.end.line - 1, column: o2[e2.piece.end.line] - o2[e2.piece.end.line - 1] - 1} : {line: e2.piece.end.line, column: e2.piece.end.column - 1}; + n2 = e2.piece.end.column === 0 ? {line: e2.piece.end.line - 1, column: o2[e2.piece.end.line] - o2[e2.piece.end.line - 1] - 1} : {line: e2.piece.end.line, column: e2.piece.end.column - 1}; const r2 = e2.piece.length - 1, s2 = e2.piece.lineFeedCnt - 1; - e2.piece = new oe(e2.piece.bufferIndex, e2.piece.start, n2, s2, r2), Q(this, e2, -1, -1), 0 === e2.piece.length && i2.push(e2); + e2.piece = new oe(e2.piece.bufferIndex, e2.piece.start, n2, s2, r2), Q(this, e2, -1, -1), e2.piece.length === 0 && i2.push(e2); let a2 = {line: t2.piece.start.line + 1, column: 0}; const l2 = t2.piece.length - 1, c2 = this.getLineFeedCnt(t2.piece.bufferIndex, a2, t2.piece.end); - t2.piece = new oe(t2.piece.bufferIndex, a2, t2.piece.end, c2, l2), Q(this, t2, -1, -1), 0 === t2.piece.length && i2.push(t2); + t2.piece = new oe(t2.piece.bufferIndex, a2, t2.piece.end, c2, l2), Q(this, t2, -1, -1), t2.piece.length === 0 && i2.push(t2); let d2 = this.createNewPieces("\r\n"); this.rbInsertRight(e2, d2[0]); for (let e3 = 0; e3 < i2.length; e3++) @@ -6517,7 +6517,7 @@ if (this.shouldCheckCRLF() && this.endWithCR(e2)) { let n2 = t2.next(); if (this.startWithLF(n2)) { - if (e2 += "\n", 1 === n2.piece.length) + if (e2 += "\n", n2.piece.length === 1) Z(this, n2); else { const e3 = n2.piece, t3 = {line: e3.start.line + 1, column: 0}, i2 = e3.length - 1, o2 = this.getLineFeedCnt(e3.bufferIndex, t3, e3.end); @@ -6656,11 +6656,11 @@ } getLineFirstNonWhitespaceColumn(e2) { const t2 = s.w(this.getLineContent(e2)); - return -1 === t2 ? 0 : t2 + 1; + return t2 === -1 ? 0 : t2 + 1; } getLineLastNonWhitespaceColumn(e2) { const t2 = s.J(this.getLineContent(e2)); - return -1 === t2 ? 0 : t2 + 2; + return t2 === -1 ? 0 : t2 + 2; } _getEndOfLine(e2) { switch (e2) { @@ -6691,8 +6691,8 @@ if (n3.text) { let e3; [h3, u2, p3, e3] = Object(ce.f)(n3.text); - const t4 = this.getEOL(), i3 = "\r\n" === t4 ? 2 : 1; - d3 = 0 === e3 || e3 === i3 ? n3.text : n3.text.replace(/\r\n|\r|\n/g, t4); + const t4 = this.getEOL(), i3 = t4 === "\r\n" ? 2 : 1; + d3 = e3 === 0 || e3 === i3 ? n3.text : n3.text.replace(/\r\n|\r|\n/g, t4); } l2[t3] = {sortIndex: t3, identifier: n3.identifier || null, range: c3, rangeOffset: this.getOffsetAt(c3.startLineNumber, c3.startColumn), rangeLength: this.getValueLengthInRange(c3), text: d3, eolCount: h3, firstLineLength: u2, lastLineLength: p3, forceMoveMarkers: Boolean(n3.forceMoveMarkers), isAutoWhitespaceEdit: n3.isAutoWhitespaceEdit || false}; } @@ -6714,7 +6714,7 @@ if (t3.isAutoWhitespaceEdit && t3.range.isEmpty()) for (let e4 = n3.startLineNumber; e4 <= n3.endLineNumber; e4++) { let i3 = ""; - e4 === n3.startLineNumber && (i3 = this.getLineContent(t3.range.startLineNumber), -1 !== s.w(i3)) || h2.push({lineNumber: e4, oldContent: i3}); + e4 === n3.startLineNumber && (i3 = this.getLineContent(t3.range.startLineNumber), s.w(i3) !== -1) || h2.push({lineNumber: e4, oldContent: i3}); } } let p2 = null; @@ -6737,7 +6737,7 @@ if (e3 > 0 && h2[e3 - 1].lineNumber === t4) continue; let n3 = h2[e3].oldContent, i3 = this.getLineContent(t4); - 0 !== i3.length && i3 !== n3 && -1 === s.w(i3) && g2.push(t4); + i3.length !== 0 && i3 !== n3 && s.w(i3) === -1 && g2.push(t4); } } return this._onDidChangeContent.fire(), new u.a(p2, m2, g2); @@ -6763,7 +6763,7 @@ for (let n2 = 0; n2 < e2.length; n2++) { let i2 = e2[n2]; const o2 = i2.range.startLineNumber, r2 = i2.range.startColumn, s2 = i2.range.endLineNumber, a2 = i2.range.endColumn; - if (o2 === s2 && r2 === a2 && 0 === i2.text.length) + if (o2 === s2 && r2 === a2 && i2.text.length === 0) continue; i2.text ? (this._pieceTree.delete(i2.rangeOffset, i2.rangeLength), this._pieceTree.insert(i2.rangeOffset, i2.text, true)) : this._pieceTree.delete(i2.rangeOffset, i2.rangeLength); const l2 = new d.a(o2, r2, s2, a2); @@ -6780,7 +6780,7 @@ let s3, a2, l2, c2 = e2[r2]; if (o2 ? o2.range.endLineNumber === c2.range.startLineNumber ? (s3 = n2, a2 = i2 + (c2.range.startColumn - o2.range.endColumn)) : (s3 = n2 + (c2.range.startLineNumber - o2.range.endLineNumber), a2 = c2.range.startColumn) : (s3 = c2.range.startLineNumber, a2 = c2.range.startColumn), c2.text.length > 0) { const e3 = c2.eolCount + 1; - l2 = 1 === e3 ? new d.a(s3, a2, s3, a2 + c2.firstLineLength) : new d.a(s3, a2, s3 + e3 - 1, c2.lastLineLength + 1); + l2 = e3 === 1 ? new d.a(s3, a2, s3, a2 + c2.firstLineLength) : new d.a(s3, a2, s3 + e3 - 1, c2.lastLineLength + 1); } else l2 = new d.a(s3, a2, s3, a2); n2 = l2.endLineNumber, i2 = l2.endColumn, t2.push(l2), o2 = c2; @@ -6789,11 +6789,11 @@ } static _sortOpsAscending(e2, t2) { let n2 = d.a.compareRangesUsingEnds(e2.range, t2.range); - return 0 === n2 ? e2.sortIndex - t2.sortIndex : n2; + return n2 === 0 ? e2.sortIndex - t2.sortIndex : n2; } static _sortOpsDescending(e2, t2) { let n2 = d.a.compareRangesUsingEnds(e2.range, t2.range); - return 0 === n2 ? t2.sortIndex - e2.sortIndex : -n2; + return n2 === 0 ? t2.sortIndex - e2.sortIndex : -n2; } } class ue { @@ -6802,12 +6802,12 @@ } _getEOL(e2) { const t2 = this._cr + this._lf + this._crlf, n2 = this._cr + this._crlf; - return 0 === t2 ? 1 === e2 ? "\n" : "\r\n" : n2 > t2 / 2 ? "\r\n" : "\n"; + return t2 === 0 ? e2 === 1 ? "\n" : "\r\n" : n2 > t2 / 2 ? "\r\n" : "\n"; } create(e2) { const t2 = this._getEOL(e2); let n2 = this._chunks; - if (this._normalizeEOL && ("\r\n" === t2 && (this._cr > 0 || this._lf > 0) || "\n" === t2 && (this._cr > 0 || this._crlf > 0))) + if (this._normalizeEOL && (t2 === "\r\n" && (this._cr > 0 || this._lf > 0) || t2 === "\n" && (this._cr > 0 || this._crlf > 0))) for (let e3 = 0, i2 = n2.length; e3 < i2; e3++) { let i3 = n2[e3].buffer.replace(/\r\n|\r|\n/g, t2), o2 = ie(i3); n2[e3] = new re(i3, o2); @@ -6820,14 +6820,14 @@ this.chunks = [], this.BOM = "", this._hasPreviousChar = false, this._previousChar = 0, this._tmpLineStarts = [], this.cr = 0, this.lf = 0, this.crlf = 0, this.containsRTL = false, this.containsUnusualLineTerminators = false, this.isBasicASCII = true; } acceptChunk(e2) { - if (0 === e2.length) + if (e2.length === 0) return; - 0 === this.chunks.length && s.U(e2) && (this.BOM = s.b, e2 = e2.substr(1)); + this.chunks.length === 0 && s.U(e2) && (this.BOM = s.b, e2 = e2.substr(1)); const t2 = e2.charCodeAt(e2.length - 1); - 13 === t2 || t2 >= 55296 && t2 <= 56319 ? (this._acceptChunk1(e2.substr(0, e2.length - 1), false), this._hasPreviousChar = true, this._previousChar = t2) : (this._acceptChunk1(e2, false), this._hasPreviousChar = false, this._previousChar = t2); + t2 === 13 || t2 >= 55296 && t2 <= 56319 ? (this._acceptChunk1(e2.substr(0, e2.length - 1), false), this._hasPreviousChar = true, this._previousChar = t2) : (this._acceptChunk1(e2, false), this._hasPreviousChar = false, this._previousChar = t2); } _acceptChunk1(e2, t2) { - (t2 || 0 !== e2.length) && (this._hasPreviousChar ? this._acceptChunk2(String.fromCharCode(this._previousChar) + e2) : this._acceptChunk2(e2)); + (t2 || e2.length !== 0) && (this._hasPreviousChar ? this._acceptChunk2(String.fromCharCode(this._previousChar) + e2) : this._acceptChunk2(e2)); } _acceptChunk2(e2) { const t2 = function(e3, t3) { @@ -6835,7 +6835,7 @@ let n2 = 1, i2 = 0, o2 = 0, r2 = 0, s2 = true; for (let a3 = 0, l2 = t3.length; a3 < l2; a3++) { const c2 = t3.charCodeAt(a3); - 13 === c2 ? a3 + 1 < l2 && 10 === t3.charCodeAt(a3 + 1) ? (r2++, e3[n2++] = a3 + 2, a3++) : (i2++, e3[n2++] = a3 + 1) : 10 === c2 ? (o2++, e3[n2++] = a3 + 1) : s2 && 9 !== c2 && (c2 < 32 || c2 > 126) && (s2 = false); + c2 === 13 ? a3 + 1 < l2 && t3.charCodeAt(a3 + 1) === 10 ? (r2++, e3[n2++] = a3 + 2, a3++) : (i2++, e3[n2++] = a3 + 1) : c2 === 10 ? (o2++, e3[n2++] = a3 + 1) : s2 && c2 !== 9 && (c2 < 32 || c2 > 126) && (s2 = false); } const a2 = new ne(te(e3), i2, o2, r2, s2); return e3.length = 0, a2; @@ -6846,12 +6846,12 @@ return this._finish(), new ue(this.chunks, this.BOM, this.cr, this.lf, this.crlf, this.containsRTL, this.containsUnusualLineTerminators, this.isBasicASCII, e2); } _finish() { - if (0 === this.chunks.length && this._acceptChunk1("", true), this._hasPreviousChar) { + if (this.chunks.length === 0 && this._acceptChunk1("", true), this._hasPreviousChar) { this._hasPreviousChar = false; let e2 = this.chunks[this.chunks.length - 1]; e2.buffer += String.fromCharCode(this._previousChar); let t2 = ie(e2.buffer); - e2.lineStarts = t2, 13 === this._previousChar && this.cr++; + e2.lineStarts = t2, this._previousChar === 13 && this.cr++; } } } @@ -6936,10 +6936,10 @@ this._beginState[this._len] = null, this._valid[this._len] = false, this._len++; } _deleteLines(e2, t2) { - 0 !== t2 && (e2 + t2 > this._len && (t2 = this._len - e2), this._beginState.splice(e2, t2), this._valid.splice(e2, t2), this._len -= t2); + t2 !== 0 && (e2 + t2 > this._len && (t2 = this._len - e2), this._beginState.splice(e2, t2), this._valid.splice(e2, t2), this._len -= t2); } _insertLines(e2, t2) { - if (0 === t2) + if (t2 === 0) return; let n2 = [], i2 = []; for (let e3 = 0; e3 < t2; e3++) @@ -6956,7 +6956,7 @@ if (this._setValid(t2, true), this._invalidLineStartIndex = t2 + 1, t2 === e2 - 1) return; const i2 = this.getBeginState(t2 + 1); - if (null === i2 || !n2.equals(i2)) + if (i2 === null || !n2.equals(i2)) return this._setBeginState(t2 + 1, n2), void this._invalidateLine(t2 + 1); let o2 = t2 + 1; for (; o2 < e2 && this._isValid(o2); ) @@ -6983,7 +6983,7 @@ constructor(e2) { super(), this._isDisposed = false, this._textModel = e2, this._tokenizationStateStore = new Te(), this._tokenizationSupport = null, this._register(xe.C.onDidChange((e3) => { const t2 = this._textModel.getLanguageIdentifier(); - -1 !== e3.changedLanguages.indexOf(t2.language) && (this._resetTokenizationState(), this._textModel.clearTokens()); + e3.changedLanguages.indexOf(t2.language) !== -1 && (this._resetTokenizationState(), this._textModel.clearTokens()); })), this._register(this._textModel.onDidChangeRawContentFast((e3) => { e3.containsEvent(1) && this._resetTokenizationState(); })), this._register(this._textModel.onDidChangeContentFast((e3) => { @@ -7073,7 +7073,7 @@ let i2 = this._textModel.getLineFirstNonWhitespaceColumn(t2), o2 = [], r2 = null; for (let e3 = t2 - 1; i2 > 0 && e3 >= 1; e3--) { let t3 = this._textModel.getLineFirstNonWhitespaceColumn(e3); - if (0 !== t3 && t3 < i2) { + if (t3 !== 0 && t3 < i2) { if (r2 = this._tokenizationStateStore.getBeginState(e3 - 1), r2) break; o2.push(this._textModel.getLineContent(e3)), i2 = t3; @@ -7107,7 +7107,7 @@ return t2.acceptChunk(e2), t2.finish(); } function Pe(e2, t2) { - return ("string" == typeof e2 ? Me(e2) : e2).create(t2); + return (typeof e2 == "string" ? Me(e2) : e2).create(t2); } let Fe = 0; class We { @@ -7120,8 +7120,8 @@ let e2 = [], t2 = 0, n2 = 0; for (; ; ) { let i2 = this._source.read(); - if (null === i2) - return this._eos = true, 0 === t2 ? null : e2.join(""); + if (i2 === null) + return this._eos = true, t2 === 0 ? null : e2.join(""); if (i2.length > 0 && (e2[t2++] = i2, n2 += i2.length), n2 >= 65536) return e2.join(""); } @@ -7141,7 +7141,7 @@ Be.INSTANCE = new Be(); class Ve extends r.a { constructor(e2, t2, n2, i2 = null, r2) { - super(), this._onWillDispose = this._register(new o.a()), this.onWillDispose = this._onWillDispose.event, this._onDidChangeDecorations = this._register(new Xe()), this.onDidChangeDecorations = this._onDidChangeDecorations.event, this._onDidChangeLanguage = this._register(new o.a()), this.onDidChangeLanguage = this._onDidChangeLanguage.event, this._onDidChangeLanguageConfiguration = this._register(new o.a()), this.onDidChangeLanguageConfiguration = this._onDidChangeLanguageConfiguration.event, this._onDidChangeTokens = this._register(new o.a()), this.onDidChangeTokens = this._onDidChangeTokens.event, this._onDidChangeOptions = this._register(new o.a()), this.onDidChangeOptions = this._onDidChangeOptions.event, this._onDidChangeAttached = this._register(new o.a()), this.onDidChangeAttached = this._onDidChangeAttached.event, this._eventEmitter = this._register(new Qe()), Fe++, this.id = "$model" + Fe, this.isForSimpleWidget = t2.isForSimpleWidget, this._associatedResource = null == i2 ? a.a.parse("inmemory://model/" + Fe) : i2, this._undoRedoService = r2, this._attachedEditorCount = 0, this._buffer = Pe(e2, t2.defaultEOL), this._options = Ve.resolveOptions(this._buffer, t2); + super(), this._onWillDispose = this._register(new o.a()), this.onWillDispose = this._onWillDispose.event, this._onDidChangeDecorations = this._register(new Xe()), this.onDidChangeDecorations = this._onDidChangeDecorations.event, this._onDidChangeLanguage = this._register(new o.a()), this.onDidChangeLanguage = this._onDidChangeLanguage.event, this._onDidChangeLanguageConfiguration = this._register(new o.a()), this.onDidChangeLanguageConfiguration = this._onDidChangeLanguageConfiguration.event, this._onDidChangeTokens = this._register(new o.a()), this.onDidChangeTokens = this._onDidChangeTokens.event, this._onDidChangeOptions = this._register(new o.a()), this.onDidChangeOptions = this._onDidChangeOptions.event, this._onDidChangeAttached = this._register(new o.a()), this.onDidChangeAttached = this._onDidChangeAttached.event, this._eventEmitter = this._register(new Qe()), Fe++, this.id = "$model" + Fe, this.isForSimpleWidget = t2.isForSimpleWidget, this._associatedResource = i2 == null ? a.a.parse("inmemory://model/" + Fe) : i2, this._undoRedoService = r2, this._attachedEditorCount = 0, this._buffer = Pe(e2, t2.defaultEOL), this._options = Ve.resolveOptions(this._buffer, t2); const l2 = this._buffer.getLineCount(), c2 = this._buffer.getValueLengthInRange(new d.a(1, 1, l2, this._buffer.getLineLength(l2) + 1), 0); t2.largeFileOptimizations ? this._isTooLargeForTokenization = c2 > Ve.LARGE_FILE_SIZE_THRESHOLD || l2 > Ve.LARGE_FILE_LINE_COUNT_THRESHOLD : this._isTooLargeForTokenization = false, this._isTooLargeForSyncing = c2 > Ve.MODEL_SYNC_LIMIT, this._versionId = 1, this._alternativeVersionId = 1, this._initialUndoRedoSnapshot = null, this._isDisposed = false, this._isDisposing = false, this._languageIdentifier = n2 || Se.a, this._languageRegistryListener = Oe.a.onDidChange((e3) => { e3.languageIdentifier.id === this._languageIdentifier.id && this._onDidChangeLanguageConfiguration.fire({}); @@ -7174,7 +7174,7 @@ this._isDisposing || this._eventEmitter.fire(new we(e2, t2)); } setValue(e2) { - if (this._assertNotDisposed(), null === e2) + if (this._assertNotDisposed(), e2 === null) return; const t2 = Pe(e2, this._options.defaultEOL); this.setValueFromTextBuffer(t2); @@ -7183,14 +7183,14 @@ return {changes: [{range: e2, rangeOffset: t2, rangeLength: n2, text: i2}], eol: this._buffer.getEOL(), versionId: this.getVersionId(), isUndoing: o2, isRedoing: r2, isFlush: s2}; } setValueFromTextBuffer(e2) { - if (this._assertNotDisposed(), null === e2) + if (this._assertNotDisposed(), e2 === null) return; const t2 = this.getFullModelRange(), n2 = this.getValueLengthInRange(t2), i2 = this.getLineCount(), o2 = this.getLineMaxColumn(i2); this._buffer = e2, this._increaseVersionId(), this._tokens.flush(), this._tokens2.flush(), this._decorations = Object.create(null), this._decorationsTree = new Ue(), this._commandManager.clear(), this._trimAutoWhitespaceLines = null, this._emitContentChangedEvent(new ve([new me()], this._versionId, false, false), this._createContentChanged2(new d.a(1, 1, i2, o2), 0, n2, this.getValue(), false, false, true)); } setEOL(e2) { this._assertNotDisposed(); - const t2 = 1 === e2 ? "\r\n" : "\n"; + const t2 = e2 === 1 ? "\r\n" : "\n"; if (this._buffer.getEOL() === t2) return; const n2 = this.getFullModelRange(), i2 = this.getValueLengthInRange(n2), o2 = this.getLineCount(), r2 = this.getLineMaxColumn(o2); @@ -7208,10 +7208,10 @@ } } onBeforeAttached() { - this._attachedEditorCount++, 1 === this._attachedEditorCount && this._onDidChangeAttached.fire(void 0); + this._attachedEditorCount++, this._attachedEditorCount === 1 && this._onDidChangeAttached.fire(void 0); } onBeforeDetached() { - this._attachedEditorCount--, 0 === this._attachedEditorCount && this._onDidChangeAttached.fire(void 0); + this._attachedEditorCount--, this._attachedEditorCount === 0 && this._onDidChangeAttached.fire(void 0); } isAttachedToEditor() { return this._attachedEditorCount > 0; @@ -7250,7 +7250,7 @@ } updateOptions(e2) { this._assertNotDisposed(); - let t2 = void 0 !== e2.tabSize ? e2.tabSize : this._options.tabSize, n2 = void 0 !== e2.indentSize ? e2.indentSize : this._options.indentSize, i2 = void 0 !== e2.insertSpaces ? e2.insertSpaces : this._options.insertSpaces, o2 = void 0 !== e2.trimAutoWhitespace ? e2.trimAutoWhitespace : this._options.trimAutoWhitespace, r2 = new u.e({tabSize: t2, indentSize: n2, insertSpaces: i2, defaultEOL: this._options.defaultEOL, trimAutoWhitespace: o2}); + let t2 = e2.tabSize !== void 0 ? e2.tabSize : this._options.tabSize, n2 = e2.indentSize !== void 0 ? e2.indentSize : this._options.indentSize, i2 = e2.insertSpaces !== void 0 ? e2.insertSpaces : this._options.insertSpaces, o2 = e2.trimAutoWhitespace !== void 0 ? e2.trimAutoWhitespace : this._options.trimAutoWhitespace, r2 = new u.e({tabSize: t2, indentSize: n2, insertSpaces: i2, defaultEOL: this._options.defaultEOL, trimAutoWhitespace: o2}); if (this._options.equals(r2)) return; let s2 = this._options.createChangeEvent(r2); @@ -7264,7 +7264,7 @@ static _normalizeIndentationFromWhitespace(e2, t2, n2) { let i2 = 0; for (let n3 = 0; n3 < e2.length; n3++) - " " === e2.charAt(n3) ? i2 += t2 : i2++; + e2.charAt(n3) === " " ? i2 += t2 : i2++; let o2 = ""; if (!n2) { let e3 = Math.floor(i2 / t2); @@ -7278,7 +7278,7 @@ } static normalizeIndentation(e2, t2, n2) { let i2 = s.w(e2); - return -1 === i2 && (i2 = e2.length), Ve._normalizeIndentationFromWhitespace(e2.substring(0, i2), t2, n2) + e2.substring(i2); + return i2 === -1 && (i2 = e2.length), Ve._normalizeIndentationFromWhitespace(e2.substring(0, i2), t2, n2) + e2.substring(i2); } normalizeIndentation(e2) { return this._assertNotDisposed(), Ve.normalizeIndentation(e2, this._options.indentSize, this._options.insertSpaces); @@ -7411,7 +7411,7 @@ return n2 === o2 && i2 === r2 && s2 === l2 && a2 === c2 && e2 instanceof d.a && !(e2 instanceof h.a) ? e2 : new d.a(o2, r2, l2, c2); } _isValidPosition(e2, t2, n2) { - if ("number" != typeof e2 || "number" != typeof t2) + if (typeof e2 != "number" || typeof t2 != "number") return false; if (isNaN(e2) || isNaN(t2)) return false; @@ -7421,11 +7421,11 @@ return false; if (e2 > this._buffer.getLineCount()) return false; - if (1 === t2) + if (t2 === 1) return true; if (t2 > this.getLineMaxColumn(e2)) return false; - if (1 === n2) { + if (n2 === 1) { const n3 = this._buffer.getLineCharCode(e2, t2 - 2); if (s.F(n3)) return false; @@ -7433,7 +7433,7 @@ return true; } _validatePosition(e2, t2, n2) { - const i2 = Math.floor("number" != typeof e2 || isNaN(e2) ? 1 : e2), o2 = Math.floor("number" != typeof t2 || isNaN(t2) ? 1 : t2), r2 = this._buffer.getLineCount(); + const i2 = Math.floor(typeof e2 != "number" || isNaN(e2) ? 1 : e2), o2 = Math.floor(typeof t2 != "number" || isNaN(t2) ? 1 : t2), r2 = this._buffer.getLineCount(); if (i2 < 1) return new c.a(1, 1); if (i2 > r2) @@ -7443,7 +7443,7 @@ const a2 = this.getLineMaxColumn(i2); if (o2 >= a2) return new c.a(i2, a2); - if (1 === n2) { + if (n2 === 1) { const e3 = this._buffer.getLineCharCode(i2, o2 - 2); if (s.F(e3)) return new c.a(i2, o2 - 1); @@ -7459,7 +7459,7 @@ return false; if (!this._isValidPosition(o2, r2, 0)) return false; - if (1 === t2) { + if (t2 === 1) { const e3 = i2 > 1 ? this._buffer.getLineCharCode(n2, i2 - 2) : 0, t3 = r2 > 1 && r2 <= this._buffer.getLineLength(o2) ? this._buffer.getLineCharCode(o2, r2 - 2) : 0, a2 = s.F(e3), l2 = s.F(t3); return !a2 && !l2; } @@ -7490,7 +7490,7 @@ findMatches(e2, t2, n2, i2, o2, r2, s2 = 999) { this._assertNotDisposed(); let a2 = null; - null !== t2 && (Array.isArray(t2) || (t2 = [t2]), t2.every((e3) => d.a.isIRange(e3)) && (a2 = t2.map((e3) => this.validateRange(e3)))), null === a2 && (a2 = [this.getFullModelRange()]), a2 = a2.sort((e3, t3) => e3.startLineNumber - t3.startLineNumber || e3.startColumn - t3.startColumn); + t2 !== null && (Array.isArray(t2) || (t2 = [t2]), t2.every((e3) => d.a.isIRange(e3)) && (a2 = t2.map((e3) => this.validateRange(e3)))), a2 === null && (a2 = [this.getFullModelRange()]), a2 = a2.sort((e3, t3) => e3.startLineNumber - t3.startLineNumber || e3.startColumn - t3.startColumn); const l2 = []; let c2; if (l2.push(a2.reduce((e3, t3) => d.a.areIntersecting(e3, t3) ? e3.plusRange(t3) : (l2.push(e3), t3))), !n2 && e2.indexOf("\n") < 0) { @@ -7524,9 +7524,9 @@ this._commandManager.pushStackElement(); } pushEOL(e2) { - if (("\n" === this.getEOL() ? 0 : 1) !== e2) + if ((this.getEOL() === "\n" ? 0 : 1) !== e2) try { - this._onDidChangeDecorations.beginDeferredEmit(), this._eventEmitter.beginDeferredEmit(), null === this._initialUndoRedoSnapshot && (this._initialUndoRedoSnapshot = this._undoRedoService.createSnapshot(this.uri)), this._commandManager.pushEOL(e2); + this._onDidChangeDecorations.beginDeferredEmit(), this._eventEmitter.beginDeferredEmit(), this._initialUndoRedoSnapshot === null && (this._initialUndoRedoSnapshot = this._undoRedoService.createSnapshot(this.uri)), this._commandManager.pushEOL(e2); } finally { this._eventEmitter.endDeferredEmit(), this._onDidChangeDecorations.endDeferredEmit(); } @@ -7570,7 +7570,7 @@ let i4 = this._trimAutoWhitespaceLines[e3], o2 = this.getLineMaxColumn(i4), r2 = true; for (let e4 = 0, t3 = n3.length; e4 < t3; e4++) { let t4 = n3[e4].range, s2 = n3[e4].text; - if (!(i4 < t4.startLineNumber || i4 > t4.endLineNumber) && !(i4 === t4.startLineNumber && t4.startColumn === o2 && t4.isEmpty() && s2 && s2.length > 0 && "\n" === s2.charAt(0) || i4 === t4.startLineNumber && 1 === t4.startColumn && t4.isEmpty() && s2 && s2.length > 0 && "\n" === s2.charAt(s2.length - 1))) { + if (!(i4 < t4.startLineNumber || i4 > t4.endLineNumber) && !(i4 === t4.startLineNumber && t4.startColumn === o2 && t4.isEmpty() && s2 && s2.length > 0 && s2.charAt(0) === "\n" || i4 === t4.startLineNumber && t4.startColumn === 1 && t4.isEmpty() && s2 && s2.length > 0 && s2.charAt(s2.length - 1) === "\n")) { r2 = false; break; } @@ -7582,7 +7582,7 @@ } this._trimAutoWhitespaceLines = null; } - return null === this._initialUndoRedoSnapshot && (this._initialUndoRedoSnapshot = this._undoRedoService.createSnapshot(this.uri)), this._commandManager.pushEditOperation(e2, t2, n2); + return this._initialUndoRedoSnapshot === null && (this._initialUndoRedoSnapshot = this._undoRedoService.createSnapshot(this.uri)), this._commandManager.pushEditOperation(e2, t2, n2); } _applyUndo(e2, t2, n2, i2) { const o2 = e2.map((e3) => { @@ -7616,7 +7616,7 @@ } _doApplyEdits(e2, t2) { const n2 = this._buffer.getLineCount(), i2 = this._buffer.applyEdits(e2, this._options.trimAutoWhitespace, t2), o2 = this._buffer.getLineCount(), r2 = i2.changes; - if (this._trimAutoWhitespaceLines = i2.trimAutoWhitespaceLineNumbers, 0 !== r2.length) { + if (this._trimAutoWhitespaceLines = i2.trimAutoWhitespaceLineNumbers, r2.length !== 0) { let e3 = [], t3 = n2; for (let n3 = 0, i3 = r2.length; n3 < i3; n3++) { const i4 = r2[n3], [s2, a2, l2] = Object(ce.f)(i4.text); @@ -7643,7 +7643,7 @@ } this._increaseVersionId(), this._emitContentChangedEvent(new ve(e3, this.getVersionId(), this._isUndoing, this._isRedoing), {changes: r2, eol: this._buffer.getEOL(), versionId: this.getVersionId(), isUndoing: this._isUndoing, isRedoing: this._isRedoing, isFlush: false}); } - return null === i2.reverseEdits ? void 0 : i2.reverseEdits; + return i2.reverseEdits === null ? void 0 : i2.reverseEdits; } undo() { this._undoRedoService.undo(this.uri); @@ -7672,7 +7672,7 @@ this._changeDecorationOptionsImpl(e3, Ze(t3)); }, removeDecoration: (t3) => { this._deltaDecorationsImpl(e2, [t3], []); - }, deltaDecorations: (t3, n3) => 0 === t3.length && 0 === n3.length ? [] : this._deltaDecorationsImpl(e2, t3, n3)}, o2 = null; + }, deltaDecorations: (t3, n3) => t3.length === 0 && n3.length === 0 ? [] : this._deltaDecorationsImpl(e2, t3, n3)}, o2 = null; try { o2 = t2(n2); } catch (e3) { @@ -7681,7 +7681,7 @@ return n2.addDecoration = ze, n2.changeDecoration = ze, n2.changeDecorationOptions = ze, n2.removeDecoration = ze, n2.deltaDecorations = ze, o2; } deltaDecorations(e2, t2, n2 = 0) { - if (this._assertNotDisposed(), e2 || (e2 = []), 0 === e2.length && 0 === t2.length) + if (this._assertNotDisposed(), e2 || (e2 = []), e2.length === 0 && t2.length === 0) return []; try { return this._onDidChangeDecorations.beginDeferredEmit(), this._deltaDecorationsImpl(n2, e2, t2); @@ -7719,7 +7719,7 @@ if (!t2) return null; const n2 = this.getVersionId(); - return t2.cachedVersionId !== n2 && this._decorationsTree.resolveNode(t2, n2), null === t2.range && (t2.range = this._getRangeAt(t2.cachedAbsoluteStart, t2.cachedAbsoluteEnd)), t2.range; + return t2.cachedVersionId !== n2 && this._decorationsTree.resolveNode(t2, n2), t2.range === null && (t2.range = this._getRangeAt(t2.cachedAbsoluteStart, t2.cachedAbsoluteEnd)), t2.range; } getLineDecorations(e2, t2 = 0, n2 = false) { return e2 < 1 || e2 > this.getLineCount() ? [] : this.getLinesDecorations(e2, e2, t2, n2); @@ -7747,7 +7747,7 @@ _ensureNodesHaveRanges(e2) { for (let t2 = 0, n2 = e2.length; t2 < n2; t2++) { const n3 = e2[t2]; - null === n3.range && (n3.range = this._getRangeAt(n3.cachedAbsoluteStart, n3.cachedAbsoluteEnd)); + n3.range === null && (n3.range = this._getRangeAt(n3.cachedAbsoluteStart, n3.cachedAbsoluteEnd)); } return e2; } @@ -7794,7 +7794,7 @@ return l2; } setTokens(e2) { - if (0 === e2.length) + if (e2.length === 0) return; let t2 = []; for (let n2 = 0, i2 = e2.length; n2 < i2; n2++) { @@ -7813,7 +7813,7 @@ t2.length > 0 && this._emitModelTokensChangedEvent({tokenizationSupportChanged: false, semanticTokensApplied: false, ranges: t2}); } setSemanticTokens(e2, t2) { - this._tokens2.set(e2, t2), this._emitModelTokensChangedEvent({tokenizationSupportChanged: false, semanticTokensApplied: null !== e2, ranges: [{fromLineNumber: 1, toLineNumber: this.getLineCount()}]}); + this._tokens2.set(e2, t2), this._emitModelTokensChangedEvent({tokenizationSupportChanged: false, semanticTokensApplied: e2 !== null, ranges: [{fromLineNumber: 1, toLineNumber: this.getLineCount()}]}); } hasSemanticTokens() { return this._tokens2.isComplete(); @@ -7978,7 +7978,7 @@ if (!c2) break; const d2 = i3.substring(c2.startColumn - 1, c2.endColumn - 1).toLowerCase(); - if (e2.isOpen(d2) ? r2++ : e2.isClose(d2) && r2--, 0 === r2) + if (e2.isOpen(d2) ? r2++ : e2.isClose(d2) && r2--, r2 === 0) return c2; l2 = c2.startColumn - 1; } @@ -8019,7 +8019,7 @@ if (!c2) break; const d2 = i3.substring(c2.startColumn - 1, c2.endColumn - 1).toLowerCase(); - if (e2.isOpen(d2) ? r2++ : e2.isClose(d2) && r2--, 0 === r2) + if (e2.isOpen(d2) ? r2++ : e2.isClose(d2) && r2--, r2 === 0) return c2; a3 = c2.endColumn - 1; } @@ -8133,7 +8133,7 @@ } findEnclosingBrackets(e2, t2) { let n2; - if (void 0 === t2) + if (t2 === void 0) n2 = null; else { const e3 = Date.now(); @@ -8159,7 +8159,7 @@ if (!a3) break; const c3 = i3.substring(a3.startColumn - 1, a3.endColumn - 1).toLowerCase(), d3 = e3.textIsBracket[c3]; - if (d3 && (d3.isOpen(c3) ? s2[d3.index]++ : d3.isClose(c3) && s2[d3.index]--, -1 === s2[d3.index])) + if (d3 && (d3.isOpen(c3) ? s2[d3.index]++ : d3.isClose(c3) && s2[d3.index]--, s2[d3.index] === -1)) return this._matchFoundBracket(a3, d3, false, n2); o3 = a3.endColumn - 1; } @@ -8216,10 +8216,10 @@ let n2 = 0, i2 = 0, o2 = e2.length; for (; i2 < o2; ) { let o3 = e2.charCodeAt(i2); - if (32 === o3) + if (o3 === 32) n2++; else { - if (9 !== o3) + if (o3 !== 9) break; n2 = n2 - n2 % t2 + t2; } @@ -8238,7 +8238,7 @@ const o2 = Oe.a.getFoldingRules(this._languageIdentifier.id), r2 = Boolean(o2 && o2.offSide); let s2 = -2, a2 = -1, l2 = -2, c2 = -1; const d2 = (e3) => { - if (-1 !== s2 && (-2 === s2 || s2 > e3 - 1)) { + if (s2 !== -1 && (s2 === -2 || s2 > e3 - 1)) { s2 = -1, a2 = -1; for (let t3 = e3 - 2; t3 >= 0; t3--) { let e4 = this._computeIndentLevel(t3); @@ -8248,7 +8248,7 @@ } } } - if (-2 === l2) { + if (l2 === -2) { l2 = -1, c2 = -1; for (let t3 = e3; t3 < i2; t3++) { let e4 = this._computeIndentLevel(t3); @@ -8261,7 +8261,7 @@ }; let h2 = -2, u2 = -1, p2 = -2, m2 = -1; const g2 = (e3) => { - if (-2 === h2) { + if (h2 === -2) { h2 = -1, u2 = -1; for (let t3 = e3 - 2; t3 >= 0; t3--) { let e4 = this._computeIndentLevel(t3); @@ -8271,7 +8271,7 @@ } } } - if (-1 !== p2 && (-2 === p2 || p2 < e3 - 1)) { + if (p2 !== -1 && (p2 === -2 || p2 < e3 - 1)) { p2 = -1, m2 = -1; for (let t3 = e3; t3 < i2; t3++) { let e4 = this._computeIndentLevel(t3); @@ -8296,8 +8296,8 @@ const e3 = this._computeIndentLevel(p3 - 1); e3 >= 0 ? (h2 = p3 - 1, u2 = e3, x2 = Math.ceil(e3 / this._options.indentSize)) : (g2(p3), x2 = this._getIndentLevelForWhitespaceLine(r2, u2, m2)); } - if (0 !== o3) { - if (1 === o3) { + if (o3 !== 0) { + if (o3 === 1) { if (p3 <= i2 && x2 >= 0 && y2 + 1 === x2) { b2 = false, f2 = p3, _2 = p3, w2 = x2; continue; @@ -8306,7 +8306,7 @@ v2 = false, f2 = s3, _2 = s3, w2 = C2; continue; } - if (f2 = e2, _2 = e2, w2 = y2, 0 === w2) + if (f2 = e2, _2 = e2, w2 = y2, w2 === 0) return {startLineNumber: f2, endLineNumber: _2, indent: w2}; } b2 && (C2 >= w2 ? f2 = s3 : b2 = false), v2 && (x2 >= w2 ? _2 = p3 : v2 = false); @@ -8330,7 +8330,7 @@ if (d2 >= 0) s2 = i3 - 1, a2 = d2, r2[t3] = Math.ceil(d2 / this._options.indentSize); else { - if (-2 === s2) { + if (s2 === -2) { s2 = -1, a2 = -1; for (let e3 = i3 - 2; e3 >= 0; e3--) { let t4 = this._computeIndentLevel(e3); @@ -8340,7 +8340,7 @@ } } } - if (-1 !== l2 && (-2 === l2 || l2 < i3 - 1)) { + if (l2 !== -1 && (l2 === -2 || l2 < i3 - 1)) { l2 = -1, c2 = -1; for (let e3 = i3; e3 < n2; e3++) { let t4 = this._computeIndentLevel(e3); @@ -8356,7 +8356,7 @@ return r2; } _getIndentLevelForWhitespaceLine(e2, t2, n2) { - return -1 === t2 || -1 === n2 ? 0 : t2 < n2 ? 1 + Math.floor(t2 / this._options.indentSize) : t2 === n2 || e2 ? Math.ceil(n2 / this._options.indentSize) : 1 + Math.floor(n2 / this._options.indentSize); + return t2 === -1 || n2 === -1 ? 0 : t2 < n2 ? 1 + Math.floor(t2 / this._options.indentSize) : t2 === n2 || e2 ? Math.ceil(n2 / this._options.indentSize) : 1 + Math.floor(n2 / this._options.indentSize); } } Ve.MODEL_SYNC_LIMIT = 52428800, Ve.LARGE_FILE_SIZE_THRESHOLD = 20971520, Ve.LARGE_FILE_LINE_COUNT_THRESHOLD = 3e5, Ve.DEFAULT_CREATION_OPTIONS = {isForSimpleWidget: false, tabSize: l.d.tabSize, indentSize: l.d.indentSize, insertSpaces: l.d.insertSpaces, detectIndentation: false, defaultEOL: 1, trimAutoWhitespace: l.d.trimAutoWhitespace, largeFileOptimizations: l.d.largeFileOptimizations}; @@ -8407,16 +8407,16 @@ } class $e extends qe { constructor(e2) { - super(e2), this._resolvedColor = null, this.position = "number" == typeof e2.position ? e2.position : u.d.Center; + super(e2), this._resolvedColor = null, this.position = typeof e2.position == "number" ? e2.position : u.d.Center; } getColor(e2) { - return this._resolvedColor || ("light" !== e2.type && this.darkColor ? this._resolvedColor = this._resolveColor(this.darkColor, e2) : this._resolvedColor = this._resolveColor(this.color, e2)), this._resolvedColor; + return this._resolvedColor || (e2.type !== "light" && this.darkColor ? this._resolvedColor = this._resolveColor(this.darkColor, e2) : this._resolvedColor = this._resolveColor(this.color, e2)), this._resolvedColor; } invalidateCachedColor() { this._resolvedColor = null; } _resolveColor(e2, t2) { - if ("string" == typeof e2) + if (typeof e2 == "string") return e2; let n2 = e2 ? t2.getColor(e2.id) : null; return n2 ? n2.toString() : ""; @@ -8427,13 +8427,13 @@ super(e2), this.position = e2.position; } getColor(e2) { - return this._resolvedColor || ("light" !== e2.type && this.darkColor ? this._resolvedColor = this._resolveColor(this.darkColor, e2) : this._resolvedColor = this._resolveColor(this.color, e2)), this._resolvedColor; + return this._resolvedColor || (e2.type !== "light" && this.darkColor ? this._resolvedColor = this._resolveColor(this.darkColor, e2) : this._resolvedColor = this._resolveColor(this.color, e2)), this._resolvedColor; } invalidateCachedColor() { this._resolvedColor = void 0; } _resolveColor(e2, t2) { - return "string" == typeof e2 ? Re.a.fromHex(e2) : t2.getColor(e2.id); + return typeof e2 == "string" ? Re.a.fromHex(e2) : t2.getColor(e2.id); } } class Ge { @@ -8460,7 +8460,7 @@ this._deferredCnt++; } endDeferredEmit() { - if (this._deferredCnt--, 0 === this._deferredCnt && this._shouldFire) { + if (this._deferredCnt--, this._deferredCnt === 0 && this._shouldFire) { const e2 = {affectsMinimap: this._affectsMinimap, affectsOverviewRuler: this._affectsOverviewRuler}; this._shouldFire = false, this._affectsMinimap = false, this._affectsOverviewRuler = false, this._actual.fire(e2); } @@ -8480,7 +8480,7 @@ this._deferredCnt++; } endDeferredEmit(e2 = null) { - if (this._deferredCnt--, 0 === this._deferredCnt && null !== this._deferredEvent) { + if (this._deferredCnt--, this._deferredCnt === 0 && this._deferredEvent !== null) { this._deferredEvent.rawContentChangedEvent.resultingSelection = e2; const t2 = this._deferredEvent; this._deferredEvent = null, this._fastEmitter.fire(t2), this._slowEmitter.fire(t2); @@ -8493,9 +8493,9 @@ }, function(e, t, n) { "use strict"; function i(e2, t2) { - return 0 === t2.length ? e2 : e2.replace(/\{(\d+)\}/g, function(e3, n2) { + return t2.length === 0 ? e2 : e2.replace(/\{(\d+)\}/g, function(e3, n2) { var i2 = n2[0]; - return void 0 !== t2[i2] ? t2[i2] : e3; + return t2[i2] !== void 0 ? t2[i2] : e3; }); } function o(e2, t2) { @@ -8600,7 +8600,7 @@ }(b || (b = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return null != t2 && (ie.number(t2.value) || ie.string(t2.value)) && ie.string(t2.target); + return t2 != null && (ie.number(t2.value) || ie.string(t2.value)) && ie.string(t2.target); }; }(_ || (_ = {})), function(e2) { e2.create = function(e3, t2, n2, i2, o2, r2) { @@ -8641,31 +8641,31 @@ }(C || (C = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {kind: "create", uri: e3}; - return void 0 === t2 || void 0 === t2.overwrite && void 0 === t2.ignoreIfExists || (n2.options = t2), n2; + return t2 === void 0 || t2.overwrite === void 0 && t2.ignoreIfExists === void 0 || (n2.options = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "create" === t2.kind && ie.string(t2.uri) && (void 0 === t2.options || (void 0 === t2.options.overwrite || ie.boolean(t2.options.overwrite)) && (void 0 === t2.options.ignoreIfExists || ie.boolean(t2.options.ignoreIfExists))); + return t2 && t2.kind === "create" && ie.string(t2.uri) && (t2.options === void 0 || (t2.options.overwrite === void 0 || ie.boolean(t2.options.overwrite)) && (t2.options.ignoreIfExists === void 0 || ie.boolean(t2.options.ignoreIfExists))); }; }(x || (x = {})), function(e2) { e2.create = function(e3, t2, n2) { var i2 = {kind: "rename", oldUri: e3, newUri: t2}; - return void 0 === n2 || void 0 === n2.overwrite && void 0 === n2.ignoreIfExists || (i2.options = n2), i2; + return n2 === void 0 || n2.overwrite === void 0 && n2.ignoreIfExists === void 0 || (i2.options = n2), i2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "rename" === t2.kind && ie.string(t2.oldUri) && ie.string(t2.newUri) && (void 0 === t2.options || (void 0 === t2.options.overwrite || ie.boolean(t2.options.overwrite)) && (void 0 === t2.options.ignoreIfExists || ie.boolean(t2.options.ignoreIfExists))); + return t2 && t2.kind === "rename" && ie.string(t2.oldUri) && ie.string(t2.newUri) && (t2.options === void 0 || (t2.options.overwrite === void 0 || ie.boolean(t2.options.overwrite)) && (t2.options.ignoreIfExists === void 0 || ie.boolean(t2.options.ignoreIfExists))); }; }(S || (S = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {kind: "delete", uri: e3}; - return void 0 === t2 || void 0 === t2.recursive && void 0 === t2.ignoreIfNotExists || (n2.options = t2), n2; + return t2 === void 0 || t2.recursive === void 0 && t2.ignoreIfNotExists === void 0 || (n2.options = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "delete" === t2.kind && ie.string(t2.uri) && (void 0 === t2.options || (void 0 === t2.options.recursive || ie.boolean(t2.options.recursive)) && (void 0 === t2.options.ignoreIfNotExists || ie.boolean(t2.options.ignoreIfNotExists))); + return t2 && t2.kind === "delete" && ie.string(t2.uri) && (t2.options === void 0 || (t2.options.recursive === void 0 || ie.boolean(t2.options.recursive)) && (t2.options.ignoreIfNotExists === void 0 || ie.boolean(t2.options.ignoreIfNotExists))); }; }(k || (k = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return t2 && (void 0 !== t2.changes || void 0 !== t2.documentChanges) && (void 0 === t2.documentChanges || t2.documentChanges.every(function(e4) { + return t2 && (t2.changes !== void 0 || t2.documentChanges !== void 0) && (t2.documentChanges === void 0 || t2.documentChanges.every(function(e4) { return ie.string(e4.kind) ? x.is(e4) || S.is(e4) || k.is(e4) : C.is(e4); })); }; @@ -8702,7 +8702,7 @@ })); } Object.defineProperty(e2.prototype, "edit", {get: function() { - return void 0 === this._workspaceEdit ? {documentChanges: []} : this._workspaceEdit; + return this._workspaceEdit === void 0 ? {documentChanges: []} : this._workspaceEdit; }, enumerable: true, configurable: true}), e2.prototype.getTextEditChange = function(e3) { if (L.is(e3)) { if (this._workspaceEdit || (this._workspaceEdit = {documentChanges: []}), !this._workspaceEdit.documentChanges) @@ -8745,7 +8745,7 @@ return {uri: e3, version: t2}; }, e2.is = function(e3) { var t2 = e3; - return ie.defined(t2) && ie.string(t2.uri) && (null === t2.version || ie.number(t2.version)); + return ie.defined(t2) && ie.string(t2.uri) && (t2.version === null || ie.number(t2.version)); }; }(L || (L = {})), function(e2) { e2.create = function(e3, t2, n2, i2) { @@ -8797,7 +8797,7 @@ }(W || (W = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return !!t2 && ie.objectLiteral(t2) && (O.is(t2.contents) || W.is(t2.contents) || ie.typedArray(t2.contents, W.is)) && (void 0 === e3.range || a.is(e3.range)); + return !!t2 && ie.objectLiteral(t2) && (O.is(t2.contents) || W.is(t2.contents) || ie.typedArray(t2.contents, W.is)) && (e3.range === void 0 || a.is(e3.range)); }; }(z || (z = {})), function(e2) { e2.create = function(e3, t2) { @@ -8829,28 +8829,28 @@ }($ || ($ = {})), function(e2) { e2.create = function(e3, t2, n2, i2, o2, r2) { var s2 = {name: e3, detail: t2, kind: n2, range: i2, selectionRange: o2}; - return void 0 !== r2 && (s2.children = r2), s2; + return r2 !== void 0 && (s2.children = r2), s2; }, e2.is = function(e3) { var t2 = e3; - return t2 && ie.string(t2.name) && ie.number(t2.kind) && a.is(t2.range) && a.is(t2.selectionRange) && (void 0 === t2.detail || ie.string(t2.detail)) && (void 0 === t2.deprecated || ie.boolean(t2.deprecated)) && (void 0 === t2.children || Array.isArray(t2.children)) && (void 0 === t2.tags || Array.isArray(t2.tags)); + return t2 && ie.string(t2.name) && ie.number(t2.kind) && a.is(t2.range) && a.is(t2.selectionRange) && (t2.detail === void 0 || ie.string(t2.detail)) && (t2.deprecated === void 0 || ie.boolean(t2.deprecated)) && (t2.children === void 0 || Array.isArray(t2.children)) && (t2.tags === void 0 || Array.isArray(t2.tags)); }; }(K || (K = {})), function(e2) { e2.Empty = "", e2.QuickFix = "quickfix", e2.Refactor = "refactor", e2.RefactorExtract = "refactor.extract", e2.RefactorInline = "refactor.inline", e2.RefactorRewrite = "refactor.rewrite", e2.Source = "source", e2.SourceOrganizeImports = "source.organizeImports", e2.SourceFixAll = "source.fixAll"; }(G || (G = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {diagnostics: e3}; - return null != t2 && (n2.only = t2), n2; + return t2 != null && (n2.only = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return ie.defined(t2) && ie.typedArray(t2.diagnostics, v.is) && (void 0 === t2.only || ie.typedArray(t2.only, ie.string)); + return ie.defined(t2) && ie.typedArray(t2.diagnostics, v.is) && (t2.only === void 0 || ie.typedArray(t2.only, ie.string)); }; }(Y || (Y = {})), function(e2) { e2.create = function(e3, t2, n2) { var i2 = {title: e3}; - return w.is(t2) ? i2.command = t2 : i2.edit = t2, void 0 !== n2 && (i2.kind = n2), i2; + return w.is(t2) ? i2.command = t2 : i2.edit = t2, n2 !== void 0 && (i2.kind = n2), i2; }, e2.is = function(e3) { var t2 = e3; - return t2 && ie.string(t2.title) && (void 0 === t2.diagnostics || ie.typedArray(t2.diagnostics, v.is)) && (void 0 === t2.kind || ie.string(t2.kind)) && (void 0 !== t2.edit || void 0 !== t2.command) && (void 0 === t2.command || w.is(t2.command)) && (void 0 === t2.isPreferred || ie.boolean(t2.isPreferred)) && (void 0 === t2.edit || E.is(t2.edit)); + return t2 && ie.string(t2.title) && (t2.diagnostics === void 0 || ie.typedArray(t2.diagnostics, v.is)) && (t2.kind === void 0 || ie.string(t2.kind)) && (t2.edit !== void 0 || t2.command !== void 0) && (t2.command === void 0 || w.is(t2.command)) && (t2.isPreferred === void 0 || ie.boolean(t2.isPreferred)) && (t2.edit === void 0 || E.is(t2.edit)); }; }(Z || (Z = {})), function(e2) { e2.create = function(e3, t2) { @@ -8879,7 +8879,7 @@ return {range: e3, parent: t2}; }, e2.is = function(t2) { var n2 = t2; - return void 0 !== n2 && a.is(n2.range) && (void 0 === n2.parent || e2.is(n2.parent)); + return n2 !== void 0 && a.is(n2.range) && (n2.parent === void 0 || e2.is(n2.parent)); }; }(ee || (ee = {})); var ne; @@ -8907,7 +8907,7 @@ return t3; }(t2, function(e4, t3) { var n3 = e4.range.start.line - t3.range.start.line; - return 0 === n3 ? e4.range.start.character - t3.range.start.character : n3; + return n3 === 0 ? e4.range.start.character - t3.range.start.character : n3; }), o2 = n2.length, r2 = i2.length - 1; r2 >= 0; r2--) { var s2 = i2[r2], a2 = e3.offsetAt(s2.range.start), l2 = e3.offsetAt(s2.range.end); if (!(l2 <= o2)) @@ -8936,11 +8936,11 @@ }, e2.prototype.update = function(e3, t2) { this._content = e3.text, this._version = t2, this._lineOffsets = void 0; }, e2.prototype.getLineOffsets = function() { - if (void 0 === this._lineOffsets) { + if (this._lineOffsets === void 0) { for (var e3 = [], t2 = this._content, n2 = true, i2 = 0; i2 < t2.length; i2++) { n2 && (e3.push(i2), n2 = false); var o2 = t2.charAt(i2); - n2 = "\r" === o2 || "\n" === o2, "\r" === o2 && i2 + 1 < t2.length && "\n" === t2.charAt(i2 + 1) && i2++; + n2 = o2 === "\r" || o2 === "\n", o2 === "\r" && i2 + 1 < t2.length && t2.charAt(i2 + 1) === "\n" && i2++; } n2 && t2.length > 0 && e3.push(t2.length), this._lineOffsets = e3; } @@ -8948,7 +8948,7 @@ }, e2.prototype.positionAt = function(e3) { e3 = Math.max(Math.min(e3, this._content.length), 0); var t2 = this.getLineOffsets(), n2 = 0, i2 = t2.length; - if (0 === i2) + if (i2 === 0) return s.create(0, e3); for (; n2 < i2; ) { var o2 = Math.floor((n2 + i2) / 2); @@ -8971,19 +8971,19 @@ !function(e2) { var t2 = Object.prototype.toString; e2.defined = function(e3) { - return void 0 !== e3; + return e3 !== void 0; }, e2.undefined = function(e3) { - return void 0 === e3; + return e3 === void 0; }, e2.boolean = function(e3) { - return true === e3 || false === e3; + return e3 === true || e3 === false; }, e2.string = function(e3) { - return "[object String]" === t2.call(e3); + return t2.call(e3) === "[object String]"; }, e2.number = function(e3) { - return "[object Number]" === t2.call(e3); + return t2.call(e3) === "[object Number]"; }, e2.func = function(e3) { - return "[object Function]" === t2.call(e3); + return t2.call(e3) === "[object Function]"; }, e2.objectLiteral = function(e3) { - return null !== e3 && "object" == typeof e3; + return e3 !== null && typeof e3 == "object"; }, e2.typedArray = function(e3, t3) { return Array.isArray(e3) && e3.every(t3); }; @@ -9017,7 +9017,7 @@ else u2.length < 1e4 ? h2.splice.apply(h2, [c2 + 1, d2 - c2].concat(u2)) : this._lineOffsets = h2 = h2.slice(0, c2 + 1).concat(u2, h2.slice(d2 + 1)); var g2 = r2.text.length - (l2 - a2); - if (0 !== g2) + if (g2 !== 0) for (p2 = c2 + 1 + u2.length, m2 = h2.length; p2 < m2; p2++) h2[p2] = h2[p2] + g2; } else { @@ -9028,11 +9028,11 @@ } this._version = n2; }, e2.prototype.getLineOffsets = function() { - return void 0 === this._lineOffsets && (this._lineOffsets = he(this._content, true)), this._lineOffsets; + return this._lineOffsets === void 0 && (this._lineOffsets = he(this._content, true)), this._lineOffsets; }, e2.prototype.positionAt = function(e3) { e3 = Math.max(Math.min(e3, this._content.length), 0); var t2 = this.getLineOffsets(), n2 = 0, i2 = t2.length; - if (0 === i2) + if (i2 === 0) return {line: 0, character: e3}; for (; n2 < i2; ) { var o2 = Math.floor((n2 + i2) / 2); @@ -9052,17 +9052,17 @@ return this.getLineOffsets().length; }, enumerable: true, configurable: true}), e2.isIncremental = function(e3) { var t2 = e3; - return null != t2 && "string" == typeof t2.text && void 0 !== t2.range && (void 0 === t2.rangeLength || "number" == typeof t2.rangeLength); + return t2 != null && typeof t2.text == "string" && t2.range !== void 0 && (t2.rangeLength === void 0 || typeof t2.rangeLength == "number"); }, e2.isFull = function(e3) { var t2 = e3; - return null != t2 && "string" == typeof t2.text && void 0 === t2.range && void 0 === t2.rangeLength; + return t2 != null && typeof t2.text == "string" && t2.range === void 0 && t2.rangeLength === void 0; }, e2; }(); function he(e2, t2, n2) { - void 0 === n2 && (n2 = 0); + n2 === void 0 && (n2 = 0); for (var i2 = t2 ? [n2] : [], o2 = 0; o2 < e2.length; o2++) { var r2 = e2.charCodeAt(o2); - 13 !== r2 && 10 !== r2 || (13 === r2 && o2 + 1 < e2.length && 10 === e2.charCodeAt(o2 + 1) && o2++, i2.push(n2 + o2 + 1)); + r2 !== 13 && r2 !== 10 || (r2 === 13 && o2 + 1 < e2.length && e2.charCodeAt(o2 + 1) === 10 && o2++, i2.push(n2 + o2 + 1)); } return i2; } @@ -9099,7 +9099,7 @@ return t3; }(t2.map(pe), function(e4, t3) { var n3 = e4.range.start.line - t3.range.start.line; - return 0 === n3 ? e4.range.start.character - t3.range.start.character : n3; + return n3 === 0 ? e4.range.start.character - t3.range.start.character : n3; }); r2 < s2.length; r2++) { var a2 = s2[r2], l2 = e3.offsetAt(a2.range.start); if (l2 < i2) @@ -9136,7 +9136,7 @@ }, e2.prototype.nextChar = function() { return this.source.charCodeAt(this.position++) || 0; }, e2.prototype.peekChar = function(e3) { - return void 0 === e3 && (e3 = 0), this.source.charCodeAt(this.position + e3) || 0; + return e3 === void 0 && (e3 = 0), this.source.charCodeAt(this.position + e3) || 0; }, e2.prototype.advanceIfChar = function(e3) { return e3 === this.source.charCodeAt(this.position) && (this.position++, true); }, e2.prototype.advanceIfChars = function(e3) { @@ -9180,7 +9180,7 @@ }, e2; }(), fe = "!".charCodeAt(0), be = "-".charCodeAt(0), _e = "<".charCodeAt(0), ve = ">".charCodeAt(0), we = "/".charCodeAt(0), ye = "=".charCodeAt(0), Ce = '"'.charCodeAt(0), xe = "'".charCodeAt(0), Se = "\n".charCodeAt(0), ke = "\r".charCodeAt(0), Ee = "\f".charCodeAt(0), Te = " ".charCodeAt(0), Le = " ".charCodeAt(0), Ne = {"text/x-handlebars-template": true}; function Ie(e2, t2, n2, i2) { - void 0 === t2 && (t2 = 0), void 0 === n2 && (n2 = ae.WithinContent), void 0 === i2 && (i2 = false); + t2 === void 0 && (t2 = 0), n2 === void 0 && (n2 = ae.WithinContent), i2 === void 0 && (i2 = false); var o2, r2, s2, a2, l2, c2 = new ge(e2, t2), d2 = n2, h2 = 0, u2 = se.Unknown; function p2() { return c2.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase(); @@ -9223,7 +9223,7 @@ case ae.AfterOpeningStartTag: return s2 = p2(), l2 = void 0, a2 = void 0, s2.length > 0 ? (r2 = false, d2 = ae.WithinTag, m2(n4, se.StartTag)) : c2.skipWhitespace() ? m2(n4, se.Whitespace, me("error.unexpectedWhitespace", "Tag name must directly follow the open bracket.")) : (d2 = ae.WithinTag, c2.advanceUntilChar(ve), n4 < c2.pos() ? m2(n4, se.Unknown, me("error.startTagNameExpected", "Start tag name expected.")) : e4()); case ae.WithinTag: - return c2.skipWhitespace() ? (r2 = true, m2(n4, se.Whitespace)) : r2 && (a2 = c2.advanceIfRegExp(/^[^\s"'> 0 ? (d2 = ae.AfterAttributeName, r2 = false, m2(n4, se.AttributeName)) : c2.advanceIfChars([we, ve]) ? (d2 = ae.WithinContent, m2(n4, se.StartTagSelfClose)) : c2.advanceIfChar(ve) ? (d2 = "script" === s2 ? l2 && Ne[l2] ? ae.WithinContent : ae.WithinScriptContent : "style" === s2 ? ae.WithinStyleContent : ae.WithinContent, m2(n4, se.StartTagClose)) : i2 && c2.peekChar() === _e ? (d2 = ae.WithinContent, m2(n4, se.StartTagClose, me("error.closingBracketMissing", "Closing bracket missing."))) : (c2.advance(1), m2(n4, se.Unknown, me("error.unexpectedCharacterInTag", "Unexpected character in tag."))); + return c2.skipWhitespace() ? (r2 = true, m2(n4, se.Whitespace)) : r2 && (a2 = c2.advanceIfRegExp(/^[^\s"'> 0 ? (d2 = ae.AfterAttributeName, r2 = false, m2(n4, se.AttributeName)) : c2.advanceIfChars([we, ve]) ? (d2 = ae.WithinContent, m2(n4, se.StartTagSelfClose)) : c2.advanceIfChar(ve) ? (d2 = s2 === "script" ? l2 && Ne[l2] ? ae.WithinContent : ae.WithinScriptContent : s2 === "style" ? ae.WithinStyleContent : ae.WithinContent, m2(n4, se.StartTagClose)) : i2 && c2.peekChar() === _e ? (d2 = ae.WithinContent, m2(n4, se.StartTagClose, me("error.closingBracketMissing", "Closing bracket missing."))) : (c2.advance(1), m2(n4, se.Unknown, me("error.unexpectedCharacterInTag", "Unexpected character in tag."))); case ae.AfterAttributeName: return c2.skipWhitespace() ? (r2 = true, m2(n4, se.Whitespace)) : c2.advanceIfChar(ye) ? (d2 = ae.BeforeAttributeValue, m2(n4, se.DelimiterAssign)) : (d2 = ae.WithinTag, e4()); case ae.BeforeAttributeValue: @@ -9231,22 +9231,22 @@ return m2(n4, se.Whitespace); var o3 = c2.advanceIfRegExp(/^[^\s"'`=<>]+/); if (o3.length > 0) - return c2.peekChar() === ve && c2.peekChar(-1) === we && (c2.goBack(1), o3 = o3.substr(0, o3.length - 1)), "type" === a2 && (l2 = o3), d2 = ae.WithinTag, r2 = false, m2(n4, se.AttributeValue); + return c2.peekChar() === ve && c2.peekChar(-1) === we && (c2.goBack(1), o3 = o3.substr(0, o3.length - 1)), a2 === "type" && (l2 = o3), d2 = ae.WithinTag, r2 = false, m2(n4, se.AttributeValue); var h3 = c2.peekChar(); - return h3 === xe || h3 === Ce ? (c2.advance(1), c2.advanceUntilChar(h3) && c2.advance(1), "type" === a2 && (l2 = c2.getSource().substring(n4 + 1, c2.pos() - 1)), d2 = ae.WithinTag, r2 = false, m2(n4, se.AttributeValue)) : (d2 = ae.WithinTag, r2 = false, e4()); + return h3 === xe || h3 === Ce ? (c2.advance(1), c2.advanceUntilChar(h3) && c2.advance(1), a2 === "type" && (l2 = c2.getSource().substring(n4 + 1, c2.pos() - 1)), d2 = ae.WithinTag, r2 = false, m2(n4, se.AttributeValue)) : (d2 = ae.WithinTag, r2 = false, e4()); case ae.WithinScriptContent: for (var u3 = 1; !c2.eos(); ) { var g2 = c2.advanceIfRegExp(/|<\/?script\s*\/?>?/i); - if (0 === g2.length) + if (g2.length === 0) return c2.goToEnd(), m2(n4, se.Script); - if ("" === g2) + if (g2 === "") u3 = 1; - else if ("/" !== g2[1]) - 2 === u3 && (u3 = 3); + else if (g2[1] !== "/") + u3 === 2 && (u3 = 3); else { - if (3 !== u3) { + if (u3 !== 3) { c2.goBack(g2.length); break; } @@ -9278,7 +9278,7 @@ } function Oe(e2, t2) { var n2 = 0, i2 = e2.length; - if (0 === i2) + if (i2 === 0) return 0; for (; n2 < i2; ) { var o2 = Math.floor((n2 + i2) / 2); @@ -9311,7 +9311,7 @@ return Object.defineProperty(e2.prototype, "attributeNames", {get: function() { return this.attributes ? Object.keys(this.attributes) : []; }, enumerable: false, configurable: true}), e2.prototype.isSameTag = function(e3) { - return void 0 === this.tag ? void 0 === e3 : void 0 !== e3 && this.tag.length === e3.length && this.tag.toLowerCase() === e3; + return this.tag === void 0 ? e3 === void 0 : e3 !== void 0 && this.tag.length === e3.length && this.tag.toLowerCase() === e3; }, Object.defineProperty(e2.prototype, "firstChild", {get: function() { return this.children[0]; }, enumerable: false, configurable: true}), Object.defineProperty(e2.prototype, "lastChild", {get: function() { @@ -9386,7 +9386,7 @@ i2.end = e2.length, i2.closed = false, i2 = i2.parent; return {roots: n2.children, findNodeBefore: n2.findNodeBefore.bind(n2), findNodeAt: n2.findNodeAt.bind(n2)}; } - var Pe = {"Aacute;": "Á", Aacute: "Á", "aacute;": "á", aacute: "á", "Abreve;": "Ă", "abreve;": "ă", "ac;": "∾", "acd;": "∿", "acE;": "∾̳", "Acirc;": "Â", Acirc: "Â", "acirc;": "â", acirc: "â", "acute;": "´", acute: "´", "Acy;": "А", "acy;": "а", "AElig;": "Æ", AElig: "Æ", "aelig;": "æ", aelig: "æ", "af;": "⁡", "Afr;": "𝔄", "afr;": "𝔞", "Agrave;": "À", Agrave: "À", "agrave;": "à", agrave: "à", "alefsym;": "ℵ", "aleph;": "ℵ", "Alpha;": "Α", "alpha;": "α", "Amacr;": "Ā", "amacr;": "ā", "amalg;": "⨿", "AMP;": "&", AMP: "&", "amp;": "&", amp: "&", "And;": "⩓", "and;": "∧", "andand;": "⩕", "andd;": "⩜", "andslope;": "⩘", "andv;": "⩚", "ang;": "∠", "ange;": "⦤", "angle;": "∠", "angmsd;": "∡", "angmsdaa;": "⦨", "angmsdab;": "⦩", "angmsdac;": "⦪", "angmsdad;": "⦫", "angmsdae;": "⦬", "angmsdaf;": "⦭", "angmsdag;": "⦮", "angmsdah;": "⦯", "angrt;": "∟", "angrtvb;": "⊾", "angrtvbd;": "⦝", "angsph;": "∢", "angst;": "Å", "angzarr;": "⍼", "Aogon;": "Ą", "aogon;": "ą", "Aopf;": "𝔸", "aopf;": "𝕒", "ap;": "≈", "apacir;": "⩯", "apE;": "⩰", "ape;": "≊", "apid;": "≋", "apos;": "'", "ApplyFunction;": "⁡", "approx;": "≈", "approxeq;": "≊", "Aring;": "Å", Aring: "Å", "aring;": "å", aring: "å", "Ascr;": "𝒜", "ascr;": "𝒶", "Assign;": "≔", "ast;": "*", "asymp;": "≈", "asympeq;": "≍", "Atilde;": "Ã", Atilde: "Ã", "atilde;": "ã", atilde: "ã", "Auml;": "Ä", Auml: "Ä", "auml;": "ä", auml: "ä", "awconint;": "∳", "awint;": "⨑", "backcong;": "≌", "backepsilon;": "϶", "backprime;": "‵", "backsim;": "∽", "backsimeq;": "⋍", "Backslash;": "∖", "Barv;": "⫧", "barvee;": "⊽", "Barwed;": "⌆", "barwed;": "⌅", "barwedge;": "⌅", "bbrk;": "⎵", "bbrktbrk;": "⎶", "bcong;": "≌", "Bcy;": "Б", "bcy;": "б", "bdquo;": "„", "becaus;": "∵", "Because;": "∵", "because;": "∵", "bemptyv;": "⦰", "bepsi;": "϶", "bernou;": "ℬ", "Bernoullis;": "ℬ", "Beta;": "Β", "beta;": "β", "beth;": "ℶ", "between;": "≬", "Bfr;": "𝔅", "bfr;": "𝔟", "bigcap;": "⋂", "bigcirc;": "◯", "bigcup;": "⋃", "bigodot;": "⨀", "bigoplus;": "⨁", "bigotimes;": "⨂", "bigsqcup;": "⨆", "bigstar;": "★", "bigtriangledown;": "▽", "bigtriangleup;": "△", "biguplus;": "⨄", "bigvee;": "⋁", "bigwedge;": "⋀", "bkarow;": "⤍", "blacklozenge;": "⧫", "blacksquare;": "▪", "blacktriangle;": "▴", "blacktriangledown;": "▾", "blacktriangleleft;": "◂", "blacktriangleright;": "▸", "blank;": "␣", "blk12;": "▒", "blk14;": "░", "blk34;": "▓", "block;": "█", "bne;": "=⃥", "bnequiv;": "≡⃥", "bNot;": "⫭", "bnot;": "⌐", "Bopf;": "𝔹", "bopf;": "𝕓", "bot;": "⊥", "bottom;": "⊥", "bowtie;": "⋈", "boxbox;": "⧉", "boxDL;": "╗", "boxDl;": "╖", "boxdL;": "╕", "boxdl;": "┐", "boxDR;": "╔", "boxDr;": "╓", "boxdR;": "╒", "boxdr;": "┌", "boxH;": "═", "boxh;": "─", "boxHD;": "╦", "boxHd;": "╤", "boxhD;": "╥", "boxhd;": "┬", "boxHU;": "╩", "boxHu;": "╧", "boxhU;": "╨", "boxhu;": "┴", "boxminus;": "⊟", "boxplus;": "⊞", "boxtimes;": "⊠", "boxUL;": "╝", "boxUl;": "╜", "boxuL;": "╛", "boxul;": "┘", "boxUR;": "╚", "boxUr;": "╙", "boxuR;": "╘", "boxur;": "└", "boxV;": "║", "boxv;": "│", "boxVH;": "╬", "boxVh;": "╫", "boxvH;": "╪", "boxvh;": "┼", "boxVL;": "╣", "boxVl;": "╢", "boxvL;": "╡", "boxvl;": "┤", "boxVR;": "╠", "boxVr;": "╟", "boxvR;": "╞", "boxvr;": "├", "bprime;": "‵", "Breve;": "˘", "breve;": "˘", "brvbar;": "¦", brvbar: "¦", "Bscr;": "ℬ", "bscr;": "𝒷", "bsemi;": "⁏", "bsim;": "∽", "bsime;": "⋍", "bsol;": "\\", "bsolb;": "⧅", "bsolhsub;": "⟈", "bull;": "•", "bullet;": "•", "bump;": "≎", "bumpE;": "⪮", "bumpe;": "≏", "Bumpeq;": "≎", "bumpeq;": "≏", "Cacute;": "Ć", "cacute;": "ć", "Cap;": "⋒", "cap;": "∩", "capand;": "⩄", "capbrcup;": "⩉", "capcap;": "⩋", "capcup;": "⩇", "capdot;": "⩀", "CapitalDifferentialD;": "ⅅ", "caps;": "∩︀", "caret;": "⁁", "caron;": "ˇ", "Cayleys;": "ℭ", "ccaps;": "⩍", "Ccaron;": "Č", "ccaron;": "č", "Ccedil;": "Ç", Ccedil: "Ç", "ccedil;": "ç", ccedil: "ç", "Ccirc;": "Ĉ", "ccirc;": "ĉ", "Cconint;": "∰", "ccups;": "⩌", "ccupssm;": "⩐", "Cdot;": "Ċ", "cdot;": "ċ", "cedil;": "¸", cedil: "¸", "Cedilla;": "¸", "cemptyv;": "⦲", "cent;": "¢", cent: "¢", "CenterDot;": "·", "centerdot;": "·", "Cfr;": "ℭ", "cfr;": "𝔠", "CHcy;": "Ч", "chcy;": "ч", "check;": "✓", "checkmark;": "✓", "Chi;": "Χ", "chi;": "χ", "cir;": "○", "circ;": "ˆ", "circeq;": "≗", "circlearrowleft;": "↺", "circlearrowright;": "↻", "circledast;": "⊛", "circledcirc;": "⊚", "circleddash;": "⊝", "CircleDot;": "⊙", "circledR;": "®", "circledS;": "Ⓢ", "CircleMinus;": "⊖", "CirclePlus;": "⊕", "CircleTimes;": "⊗", "cirE;": "⧃", "cire;": "≗", "cirfnint;": "⨐", "cirmid;": "⫯", "cirscir;": "⧂", "ClockwiseContourIntegral;": "∲", "CloseCurlyDoubleQuote;": "”", "CloseCurlyQuote;": "’", "clubs;": "♣", "clubsuit;": "♣", "Colon;": "∷", "colon;": ":", "Colone;": "⩴", "colone;": "≔", "coloneq;": "≔", "comma;": ",", "commat;": "@", "comp;": "∁", "compfn;": "∘", "complement;": "∁", "complexes;": "ℂ", "cong;": "≅", "congdot;": "⩭", "Congruent;": "≡", "Conint;": "∯", "conint;": "∮", "ContourIntegral;": "∮", "Copf;": "ℂ", "copf;": "𝕔", "coprod;": "∐", "Coproduct;": "∐", "COPY;": "©", COPY: "©", "copy;": "©", copy: "©", "copysr;": "℗", "CounterClockwiseContourIntegral;": "∳", "crarr;": "↵", "Cross;": "⨯", "cross;": "✗", "Cscr;": "𝒞", "cscr;": "𝒸", "csub;": "⫏", "csube;": "⫑", "csup;": "⫐", "csupe;": "⫒", "ctdot;": "⋯", "cudarrl;": "⤸", "cudarrr;": "⤵", "cuepr;": "⋞", "cuesc;": "⋟", "cularr;": "↶", "cularrp;": "⤽", "Cup;": "⋓", "cup;": "∪", "cupbrcap;": "⩈", "CupCap;": "≍", "cupcap;": "⩆", "cupcup;": "⩊", "cupdot;": "⊍", "cupor;": "⩅", "cups;": "∪︀", "curarr;": "↷", "curarrm;": "⤼", "curlyeqprec;": "⋞", "curlyeqsucc;": "⋟", "curlyvee;": "⋎", "curlywedge;": "⋏", "curren;": "¤", curren: "¤", "curvearrowleft;": "↶", "curvearrowright;": "↷", "cuvee;": "⋎", "cuwed;": "⋏", "cwconint;": "∲", "cwint;": "∱", "cylcty;": "⌭", "Dagger;": "‡", "dagger;": "†", "daleth;": "ℸ", "Darr;": "↡", "dArr;": "⇓", "darr;": "↓", "dash;": "‐", "Dashv;": "⫤", "dashv;": "⊣", "dbkarow;": "⤏", "dblac;": "˝", "Dcaron;": "Ď", "dcaron;": "ď", "Dcy;": "Д", "dcy;": "д", "DD;": "ⅅ", "dd;": "ⅆ", "ddagger;": "‡", "ddarr;": "⇊", "DDotrahd;": "⤑", "ddotseq;": "⩷", "deg;": "°", deg: "°", "Del;": "∇", "Delta;": "Δ", "delta;": "δ", "demptyv;": "⦱", "dfisht;": "⥿", "Dfr;": "𝔇", "dfr;": "𝔡", "dHar;": "⥥", "dharl;": "⇃", "dharr;": "⇂", "DiacriticalAcute;": "´", "DiacriticalDot;": "˙", "DiacriticalDoubleAcute;": "˝", "DiacriticalGrave;": "`", "DiacriticalTilde;": "˜", "diam;": "⋄", "Diamond;": "⋄", "diamond;": "⋄", "diamondsuit;": "♦", "diams;": "♦", "die;": "¨", "DifferentialD;": "ⅆ", "digamma;": "ϝ", "disin;": "⋲", "div;": "÷", "divide;": "÷", divide: "÷", "divideontimes;": "⋇", "divonx;": "⋇", "DJcy;": "Ђ", "djcy;": "ђ", "dlcorn;": "⌞", "dlcrop;": "⌍", "dollar;": "$", "Dopf;": "𝔻", "dopf;": "𝕕", "Dot;": "¨", "dot;": "˙", "DotDot;": "⃜", "doteq;": "≐", "doteqdot;": "≑", "DotEqual;": "≐", "dotminus;": "∸", "dotplus;": "∔", "dotsquare;": "⊡", "doublebarwedge;": "⌆", "DoubleContourIntegral;": "∯", "DoubleDot;": "¨", "DoubleDownArrow;": "⇓", "DoubleLeftArrow;": "⇐", "DoubleLeftRightArrow;": "⇔", "DoubleLeftTee;": "⫤", "DoubleLongLeftArrow;": "⟸", "DoubleLongLeftRightArrow;": "⟺", "DoubleLongRightArrow;": "⟹", "DoubleRightArrow;": "⇒", "DoubleRightTee;": "⊨", "DoubleUpArrow;": "⇑", "DoubleUpDownArrow;": "⇕", "DoubleVerticalBar;": "∥", "DownArrow;": "↓", "Downarrow;": "⇓", "downarrow;": "↓", "DownArrowBar;": "⤓", "DownArrowUpArrow;": "⇵", "DownBreve;": "̑", "downdownarrows;": "⇊", "downharpoonleft;": "⇃", "downharpoonright;": "⇂", "DownLeftRightVector;": "⥐", "DownLeftTeeVector;": "⥞", "DownLeftVector;": "↽", "DownLeftVectorBar;": "⥖", "DownRightTeeVector;": "⥟", "DownRightVector;": "⇁", "DownRightVectorBar;": "⥗", "DownTee;": "⊤", "DownTeeArrow;": "↧", "drbkarow;": "⤐", "drcorn;": "⌟", "drcrop;": "⌌", "Dscr;": "𝒟", "dscr;": "𝒹", "DScy;": "Ѕ", "dscy;": "ѕ", "dsol;": "⧶", "Dstrok;": "Đ", "dstrok;": "đ", "dtdot;": "⋱", "dtri;": "▿", "dtrif;": "▾", "duarr;": "⇵", "duhar;": "⥯", "dwangle;": "⦦", "DZcy;": "Џ", "dzcy;": "џ", "dzigrarr;": "⟿", "Eacute;": "É", Eacute: "É", "eacute;": "é", eacute: "é", "easter;": "⩮", "Ecaron;": "Ě", "ecaron;": "ě", "ecir;": "≖", "Ecirc;": "Ê", Ecirc: "Ê", "ecirc;": "ê", ecirc: "ê", "ecolon;": "≕", "Ecy;": "Э", "ecy;": "э", "eDDot;": "⩷", "Edot;": "Ė", "eDot;": "≑", "edot;": "ė", "ee;": "ⅇ", "efDot;": "≒", "Efr;": "𝔈", "efr;": "𝔢", "eg;": "⪚", "Egrave;": "È", Egrave: "È", "egrave;": "è", egrave: "è", "egs;": "⪖", "egsdot;": "⪘", "el;": "⪙", "Element;": "∈", "elinters;": "⏧", "ell;": "ℓ", "els;": "⪕", "elsdot;": "⪗", "Emacr;": "Ē", "emacr;": "ē", "empty;": "∅", "emptyset;": "∅", "EmptySmallSquare;": "◻", "emptyv;": "∅", "EmptyVerySmallSquare;": "▫", "emsp;": " ", "emsp13;": " ", "emsp14;": " ", "ENG;": "Ŋ", "eng;": "ŋ", "ensp;": " ", "Eogon;": "Ę", "eogon;": "ę", "Eopf;": "𝔼", "eopf;": "𝕖", "epar;": "⋕", "eparsl;": "⧣", "eplus;": "⩱", "epsi;": "ε", "Epsilon;": "Ε", "epsilon;": "ε", "epsiv;": "ϵ", "eqcirc;": "≖", "eqcolon;": "≕", "eqsim;": "≂", "eqslantgtr;": "⪖", "eqslantless;": "⪕", "Equal;": "⩵", "equals;": "=", "EqualTilde;": "≂", "equest;": "≟", "Equilibrium;": "⇌", "equiv;": "≡", "equivDD;": "⩸", "eqvparsl;": "⧥", "erarr;": "⥱", "erDot;": "≓", "Escr;": "ℰ", "escr;": "ℯ", "esdot;": "≐", "Esim;": "⩳", "esim;": "≂", "Eta;": "Η", "eta;": "η", "ETH;": "Ð", ETH: "Ð", "eth;": "ð", eth: "ð", "Euml;": "Ë", Euml: "Ë", "euml;": "ë", euml: "ë", "euro;": "€", "excl;": "!", "exist;": "∃", "Exists;": "∃", "expectation;": "ℰ", "ExponentialE;": "ⅇ", "exponentiale;": "ⅇ", "fallingdotseq;": "≒", "Fcy;": "Ф", "fcy;": "ф", "female;": "♀", "ffilig;": "ffi", "fflig;": "ff", "ffllig;": "ffl", "Ffr;": "𝔉", "ffr;": "𝔣", "filig;": "fi", "FilledSmallSquare;": "◼", "FilledVerySmallSquare;": "▪", "fjlig;": "fj", "flat;": "♭", "fllig;": "fl", "fltns;": "▱", "fnof;": "ƒ", "Fopf;": "𝔽", "fopf;": "𝕗", "ForAll;": "∀", "forall;": "∀", "fork;": "⋔", "forkv;": "⫙", "Fouriertrf;": "ℱ", "fpartint;": "⨍", "frac12;": "½", frac12: "½", "frac13;": "⅓", "frac14;": "¼", frac14: "¼", "frac15;": "⅕", "frac16;": "⅙", "frac18;": "⅛", "frac23;": "⅔", "frac25;": "⅖", "frac34;": "¾", frac34: "¾", "frac35;": "⅗", "frac38;": "⅜", "frac45;": "⅘", "frac56;": "⅚", "frac58;": "⅝", "frac78;": "⅞", "frasl;": "⁄", "frown;": "⌢", "Fscr;": "ℱ", "fscr;": "𝒻", "gacute;": "ǵ", "Gamma;": "Γ", "gamma;": "γ", "Gammad;": "Ϝ", "gammad;": "ϝ", "gap;": "⪆", "Gbreve;": "Ğ", "gbreve;": "ğ", "Gcedil;": "Ģ", "Gcirc;": "Ĝ", "gcirc;": "ĝ", "Gcy;": "Г", "gcy;": "г", "Gdot;": "Ġ", "gdot;": "ġ", "gE;": "≧", "ge;": "≥", "gEl;": "⪌", "gel;": "⋛", "geq;": "≥", "geqq;": "≧", "geqslant;": "⩾", "ges;": "⩾", "gescc;": "⪩", "gesdot;": "⪀", "gesdoto;": "⪂", "gesdotol;": "⪄", "gesl;": "⋛︀", "gesles;": "⪔", "Gfr;": "𝔊", "gfr;": "𝔤", "Gg;": "⋙", "gg;": "≫", "ggg;": "⋙", "gimel;": "ℷ", "GJcy;": "Ѓ", "gjcy;": "ѓ", "gl;": "≷", "gla;": "⪥", "glE;": "⪒", "glj;": "⪤", "gnap;": "⪊", "gnapprox;": "⪊", "gnE;": "≩", "gne;": "⪈", "gneq;": "⪈", "gneqq;": "≩", "gnsim;": "⋧", "Gopf;": "𝔾", "gopf;": "𝕘", "grave;": "`", "GreaterEqual;": "≥", "GreaterEqualLess;": "⋛", "GreaterFullEqual;": "≧", "GreaterGreater;": "⪢", "GreaterLess;": "≷", "GreaterSlantEqual;": "⩾", "GreaterTilde;": "≳", "Gscr;": "𝒢", "gscr;": "ℊ", "gsim;": "≳", "gsime;": "⪎", "gsiml;": "⪐", "GT;": ">", GT: ">", "Gt;": "≫", "gt;": ">", gt: ">", "gtcc;": "⪧", "gtcir;": "⩺", "gtdot;": "⋗", "gtlPar;": "⦕", "gtquest;": "⩼", "gtrapprox;": "⪆", "gtrarr;": "⥸", "gtrdot;": "⋗", "gtreqless;": "⋛", "gtreqqless;": "⪌", "gtrless;": "≷", "gtrsim;": "≳", "gvertneqq;": "≩︀", "gvnE;": "≩︀", "Hacek;": "ˇ", "hairsp;": " ", "half;": "½", "hamilt;": "ℋ", "HARDcy;": "Ъ", "hardcy;": "ъ", "hArr;": "⇔", "harr;": "↔", "harrcir;": "⥈", "harrw;": "↭", "Hat;": "^", "hbar;": "ℏ", "Hcirc;": "Ĥ", "hcirc;": "ĥ", "hearts;": "♥", "heartsuit;": "♥", "hellip;": "…", "hercon;": "⊹", "Hfr;": "ℌ", "hfr;": "𝔥", "HilbertSpace;": "ℋ", "hksearow;": "⤥", "hkswarow;": "⤦", "hoarr;": "⇿", "homtht;": "∻", "hookleftarrow;": "↩", "hookrightarrow;": "↪", "Hopf;": "ℍ", "hopf;": "𝕙", "horbar;": "―", "HorizontalLine;": "─", "Hscr;": "ℋ", "hscr;": "𝒽", "hslash;": "ℏ", "Hstrok;": "Ħ", "hstrok;": "ħ", "HumpDownHump;": "≎", "HumpEqual;": "≏", "hybull;": "⁃", "hyphen;": "‐", "Iacute;": "Í", Iacute: "Í", "iacute;": "í", iacute: "í", "ic;": "⁣", "Icirc;": "Î", Icirc: "Î", "icirc;": "î", icirc: "î", "Icy;": "И", "icy;": "и", "Idot;": "İ", "IEcy;": "Е", "iecy;": "е", "iexcl;": "¡", iexcl: "¡", "iff;": "⇔", "Ifr;": "ℑ", "ifr;": "𝔦", "Igrave;": "Ì", Igrave: "Ì", "igrave;": "ì", igrave: "ì", "ii;": "ⅈ", "iiiint;": "⨌", "iiint;": "∭", "iinfin;": "⧜", "iiota;": "℩", "IJlig;": "IJ", "ijlig;": "ij", "Im;": "ℑ", "Imacr;": "Ī", "imacr;": "ī", "image;": "ℑ", "ImaginaryI;": "ⅈ", "imagline;": "ℐ", "imagpart;": "ℑ", "imath;": "ı", "imof;": "⊷", "imped;": "Ƶ", "Implies;": "⇒", "in;": "∈", "incare;": "℅", "infin;": "∞", "infintie;": "⧝", "inodot;": "ı", "Int;": "∬", "int;": "∫", "intcal;": "⊺", "integers;": "ℤ", "Integral;": "∫", "intercal;": "⊺", "Intersection;": "⋂", "intlarhk;": "⨗", "intprod;": "⨼", "InvisibleComma;": "⁣", "InvisibleTimes;": "⁢", "IOcy;": "Ё", "iocy;": "ё", "Iogon;": "Į", "iogon;": "į", "Iopf;": "𝕀", "iopf;": "𝕚", "Iota;": "Ι", "iota;": "ι", "iprod;": "⨼", "iquest;": "¿", iquest: "¿", "Iscr;": "ℐ", "iscr;": "𝒾", "isin;": "∈", "isindot;": "⋵", "isinE;": "⋹", "isins;": "⋴", "isinsv;": "⋳", "isinv;": "∈", "it;": "⁢", "Itilde;": "Ĩ", "itilde;": "ĩ", "Iukcy;": "І", "iukcy;": "і", "Iuml;": "Ï", Iuml: "Ï", "iuml;": "ï", iuml: "ï", "Jcirc;": "Ĵ", "jcirc;": "ĵ", "Jcy;": "Й", "jcy;": "й", "Jfr;": "𝔍", "jfr;": "𝔧", "jmath;": "ȷ", "Jopf;": "𝕁", "jopf;": "𝕛", "Jscr;": "𝒥", "jscr;": "𝒿", "Jsercy;": "Ј", "jsercy;": "ј", "Jukcy;": "Є", "jukcy;": "є", "Kappa;": "Κ", "kappa;": "κ", "kappav;": "ϰ", "Kcedil;": "Ķ", "kcedil;": "ķ", "Kcy;": "К", "kcy;": "к", "Kfr;": "𝔎", "kfr;": "𝔨", "kgreen;": "ĸ", "KHcy;": "Х", "khcy;": "х", "KJcy;": "Ќ", "kjcy;": "ќ", "Kopf;": "𝕂", "kopf;": "𝕜", "Kscr;": "𝒦", "kscr;": "𝓀", "lAarr;": "⇚", "Lacute;": "Ĺ", "lacute;": "ĺ", "laemptyv;": "⦴", "lagran;": "ℒ", "Lambda;": "Λ", "lambda;": "λ", "Lang;": "⟪", "lang;": "⟨", "langd;": "⦑", "langle;": "⟨", "lap;": "⪅", "Laplacetrf;": "ℒ", "laquo;": "«", laquo: "«", "Larr;": "↞", "lArr;": "⇐", "larr;": "←", "larrb;": "⇤", "larrbfs;": "⤟", "larrfs;": "⤝", "larrhk;": "↩", "larrlp;": "↫", "larrpl;": "⤹", "larrsim;": "⥳", "larrtl;": "↢", "lat;": "⪫", "lAtail;": "⤛", "latail;": "⤙", "late;": "⪭", "lates;": "⪭︀", "lBarr;": "⤎", "lbarr;": "⤌", "lbbrk;": "❲", "lbrace;": "{", "lbrack;": "[", "lbrke;": "⦋", "lbrksld;": "⦏", "lbrkslu;": "⦍", "Lcaron;": "Ľ", "lcaron;": "ľ", "Lcedil;": "Ļ", "lcedil;": "ļ", "lceil;": "⌈", "lcub;": "{", "Lcy;": "Л", "lcy;": "л", "ldca;": "⤶", "ldquo;": "“", "ldquor;": "„", "ldrdhar;": "⥧", "ldrushar;": "⥋", "ldsh;": "↲", "lE;": "≦", "le;": "≤", "LeftAngleBracket;": "⟨", "LeftArrow;": "←", "Leftarrow;": "⇐", "leftarrow;": "←", "LeftArrowBar;": "⇤", "LeftArrowRightArrow;": "⇆", "leftarrowtail;": "↢", "LeftCeiling;": "⌈", "LeftDoubleBracket;": "⟦", "LeftDownTeeVector;": "⥡", "LeftDownVector;": "⇃", "LeftDownVectorBar;": "⥙", "LeftFloor;": "⌊", "leftharpoondown;": "↽", "leftharpoonup;": "↼", "leftleftarrows;": "⇇", "LeftRightArrow;": "↔", "Leftrightarrow;": "⇔", "leftrightarrow;": "↔", "leftrightarrows;": "⇆", "leftrightharpoons;": "⇋", "leftrightsquigarrow;": "↭", "LeftRightVector;": "⥎", "LeftTee;": "⊣", "LeftTeeArrow;": "↤", "LeftTeeVector;": "⥚", "leftthreetimes;": "⋋", "LeftTriangle;": "⊲", "LeftTriangleBar;": "⧏", "LeftTriangleEqual;": "⊴", "LeftUpDownVector;": "⥑", "LeftUpTeeVector;": "⥠", "LeftUpVector;": "↿", "LeftUpVectorBar;": "⥘", "LeftVector;": "↼", "LeftVectorBar;": "⥒", "lEg;": "⪋", "leg;": "⋚", "leq;": "≤", "leqq;": "≦", "leqslant;": "⩽", "les;": "⩽", "lescc;": "⪨", "lesdot;": "⩿", "lesdoto;": "⪁", "lesdotor;": "⪃", "lesg;": "⋚︀", "lesges;": "⪓", "lessapprox;": "⪅", "lessdot;": "⋖", "lesseqgtr;": "⋚", "lesseqqgtr;": "⪋", "LessEqualGreater;": "⋚", "LessFullEqual;": "≦", "LessGreater;": "≶", "lessgtr;": "≶", "LessLess;": "⪡", "lesssim;": "≲", "LessSlantEqual;": "⩽", "LessTilde;": "≲", "lfisht;": "⥼", "lfloor;": "⌊", "Lfr;": "𝔏", "lfr;": "𝔩", "lg;": "≶", "lgE;": "⪑", "lHar;": "⥢", "lhard;": "↽", "lharu;": "↼", "lharul;": "⥪", "lhblk;": "▄", "LJcy;": "Љ", "ljcy;": "љ", "Ll;": "⋘", "ll;": "≪", "llarr;": "⇇", "llcorner;": "⌞", "Lleftarrow;": "⇚", "llhard;": "⥫", "lltri;": "◺", "Lmidot;": "Ŀ", "lmidot;": "ŀ", "lmoust;": "⎰", "lmoustache;": "⎰", "lnap;": "⪉", "lnapprox;": "⪉", "lnE;": "≨", "lne;": "⪇", "lneq;": "⪇", "lneqq;": "≨", "lnsim;": "⋦", "loang;": "⟬", "loarr;": "⇽", "lobrk;": "⟦", "LongLeftArrow;": "⟵", "Longleftarrow;": "⟸", "longleftarrow;": "⟵", "LongLeftRightArrow;": "⟷", "Longleftrightarrow;": "⟺", "longleftrightarrow;": "⟷", "longmapsto;": "⟼", "LongRightArrow;": "⟶", "Longrightarrow;": "⟹", "longrightarrow;": "⟶", "looparrowleft;": "↫", "looparrowright;": "↬", "lopar;": "⦅", "Lopf;": "𝕃", "lopf;": "𝕝", "loplus;": "⨭", "lotimes;": "⨴", "lowast;": "∗", "lowbar;": "_", "LowerLeftArrow;": "↙", "LowerRightArrow;": "↘", "loz;": "◊", "lozenge;": "◊", "lozf;": "⧫", "lpar;": "(", "lparlt;": "⦓", "lrarr;": "⇆", "lrcorner;": "⌟", "lrhar;": "⇋", "lrhard;": "⥭", "lrm;": "‎", "lrtri;": "⊿", "lsaquo;": "‹", "Lscr;": "ℒ", "lscr;": "𝓁", "Lsh;": "↰", "lsh;": "↰", "lsim;": "≲", "lsime;": "⪍", "lsimg;": "⪏", "lsqb;": "[", "lsquo;": "‘", "lsquor;": "‚", "Lstrok;": "Ł", "lstrok;": "ł", "LT;": "<", LT: "<", "Lt;": "≪", "lt;": "<", lt: "<", "ltcc;": "⪦", "ltcir;": "⩹", "ltdot;": "⋖", "lthree;": "⋋", "ltimes;": "⋉", "ltlarr;": "⥶", "ltquest;": "⩻", "ltri;": "◃", "ltrie;": "⊴", "ltrif;": "◂", "ltrPar;": "⦖", "lurdshar;": "⥊", "luruhar;": "⥦", "lvertneqq;": "≨︀", "lvnE;": "≨︀", "macr;": "¯", macr: "¯", "male;": "♂", "malt;": "✠", "maltese;": "✠", "Map;": "⤅", "map;": "↦", "mapsto;": "↦", "mapstodown;": "↧", "mapstoleft;": "↤", "mapstoup;": "↥", "marker;": "▮", "mcomma;": "⨩", "Mcy;": "М", "mcy;": "м", "mdash;": "—", "mDDot;": "∺", "measuredangle;": "∡", "MediumSpace;": " ", "Mellintrf;": "ℳ", "Mfr;": "𝔐", "mfr;": "𝔪", "mho;": "℧", "micro;": "µ", micro: "µ", "mid;": "∣", "midast;": "*", "midcir;": "⫰", "middot;": "·", middot: "·", "minus;": "−", "minusb;": "⊟", "minusd;": "∸", "minusdu;": "⨪", "MinusPlus;": "∓", "mlcp;": "⫛", "mldr;": "…", "mnplus;": "∓", "models;": "⊧", "Mopf;": "𝕄", "mopf;": "𝕞", "mp;": "∓", "Mscr;": "ℳ", "mscr;": "𝓂", "mstpos;": "∾", "Mu;": "Μ", "mu;": "μ", "multimap;": "⊸", "mumap;": "⊸", "nabla;": "∇", "Nacute;": "Ń", "nacute;": "ń", "nang;": "∠⃒", "nap;": "≉", "napE;": "⩰̸", "napid;": "≋̸", "napos;": "ʼn", "napprox;": "≉", "natur;": "♮", "natural;": "♮", "naturals;": "ℕ", "nbsp;": " ", nbsp: " ", "nbump;": "≎̸", "nbumpe;": "≏̸", "ncap;": "⩃", "Ncaron;": "Ň", "ncaron;": "ň", "Ncedil;": "Ņ", "ncedil;": "ņ", "ncong;": "≇", "ncongdot;": "⩭̸", "ncup;": "⩂", "Ncy;": "Н", "ncy;": "н", "ndash;": "–", "ne;": "≠", "nearhk;": "⤤", "neArr;": "⇗", "nearr;": "↗", "nearrow;": "↗", "nedot;": "≐̸", "NegativeMediumSpace;": "​", "NegativeThickSpace;": "​", "NegativeThinSpace;": "​", "NegativeVeryThinSpace;": "​", "nequiv;": "≢", "nesear;": "⤨", "nesim;": "≂̸", "NestedGreaterGreater;": "≫", "NestedLessLess;": "≪", "NewLine;": "\n", "nexist;": "∄", "nexists;": "∄", "Nfr;": "𝔑", "nfr;": "𝔫", "ngE;": "≧̸", "nge;": "≱", "ngeq;": "≱", "ngeqq;": "≧̸", "ngeqslant;": "⩾̸", "nges;": "⩾̸", "nGg;": "⋙̸", "ngsim;": "≵", "nGt;": "≫⃒", "ngt;": "≯", "ngtr;": "≯", "nGtv;": "≫̸", "nhArr;": "⇎", "nharr;": "↮", "nhpar;": "⫲", "ni;": "∋", "nis;": "⋼", "nisd;": "⋺", "niv;": "∋", "NJcy;": "Њ", "njcy;": "њ", "nlArr;": "⇍", "nlarr;": "↚", "nldr;": "‥", "nlE;": "≦̸", "nle;": "≰", "nLeftarrow;": "⇍", "nleftarrow;": "↚", "nLeftrightarrow;": "⇎", "nleftrightarrow;": "↮", "nleq;": "≰", "nleqq;": "≦̸", "nleqslant;": "⩽̸", "nles;": "⩽̸", "nless;": "≮", "nLl;": "⋘̸", "nlsim;": "≴", "nLt;": "≪⃒", "nlt;": "≮", "nltri;": "⋪", "nltrie;": "⋬", "nLtv;": "≪̸", "nmid;": "∤", "NoBreak;": "⁠", "NonBreakingSpace;": " ", "Nopf;": "ℕ", "nopf;": "𝕟", "Not;": "⫬", "not;": "¬", not: "¬", "NotCongruent;": "≢", "NotCupCap;": "≭", "NotDoubleVerticalBar;": "∦", "NotElement;": "∉", "NotEqual;": "≠", "NotEqualTilde;": "≂̸", "NotExists;": "∄", "NotGreater;": "≯", "NotGreaterEqual;": "≱", "NotGreaterFullEqual;": "≧̸", "NotGreaterGreater;": "≫̸", "NotGreaterLess;": "≹", "NotGreaterSlantEqual;": "⩾̸", "NotGreaterTilde;": "≵", "NotHumpDownHump;": "≎̸", "NotHumpEqual;": "≏̸", "notin;": "∉", "notindot;": "⋵̸", "notinE;": "⋹̸", "notinva;": "∉", "notinvb;": "⋷", "notinvc;": "⋶", "NotLeftTriangle;": "⋪", "NotLeftTriangleBar;": "⧏̸", "NotLeftTriangleEqual;": "⋬", "NotLess;": "≮", "NotLessEqual;": "≰", "NotLessGreater;": "≸", "NotLessLess;": "≪̸", "NotLessSlantEqual;": "⩽̸", "NotLessTilde;": "≴", "NotNestedGreaterGreater;": "⪢̸", "NotNestedLessLess;": "⪡̸", "notni;": "∌", "notniva;": "∌", "notnivb;": "⋾", "notnivc;": "⋽", "NotPrecedes;": "⊀", "NotPrecedesEqual;": "⪯̸", "NotPrecedesSlantEqual;": "⋠", "NotReverseElement;": "∌", "NotRightTriangle;": "⋫", "NotRightTriangleBar;": "⧐̸", "NotRightTriangleEqual;": "⋭", "NotSquareSubset;": "⊏̸", "NotSquareSubsetEqual;": "⋢", "NotSquareSuperset;": "⊐̸", "NotSquareSupersetEqual;": "⋣", "NotSubset;": "⊂⃒", "NotSubsetEqual;": "⊈", "NotSucceeds;": "⊁", "NotSucceedsEqual;": "⪰̸", "NotSucceedsSlantEqual;": "⋡", "NotSucceedsTilde;": "≿̸", "NotSuperset;": "⊃⃒", "NotSupersetEqual;": "⊉", "NotTilde;": "≁", "NotTildeEqual;": "≄", "NotTildeFullEqual;": "≇", "NotTildeTilde;": "≉", "NotVerticalBar;": "∤", "npar;": "∦", "nparallel;": "∦", "nparsl;": "⫽⃥", "npart;": "∂̸", "npolint;": "⨔", "npr;": "⊀", "nprcue;": "⋠", "npre;": "⪯̸", "nprec;": "⊀", "npreceq;": "⪯̸", "nrArr;": "⇏", "nrarr;": "↛", "nrarrc;": "⤳̸", "nrarrw;": "↝̸", "nRightarrow;": "⇏", "nrightarrow;": "↛", "nrtri;": "⋫", "nrtrie;": "⋭", "nsc;": "⊁", "nsccue;": "⋡", "nsce;": "⪰̸", "Nscr;": "𝒩", "nscr;": "𝓃", "nshortmid;": "∤", "nshortparallel;": "∦", "nsim;": "≁", "nsime;": "≄", "nsimeq;": "≄", "nsmid;": "∤", "nspar;": "∦", "nsqsube;": "⋢", "nsqsupe;": "⋣", "nsub;": "⊄", "nsubE;": "⫅̸", "nsube;": "⊈", "nsubset;": "⊂⃒", "nsubseteq;": "⊈", "nsubseteqq;": "⫅̸", "nsucc;": "⊁", "nsucceq;": "⪰̸", "nsup;": "⊅", "nsupE;": "⫆̸", "nsupe;": "⊉", "nsupset;": "⊃⃒", "nsupseteq;": "⊉", "nsupseteqq;": "⫆̸", "ntgl;": "≹", "Ntilde;": "Ñ", Ntilde: "Ñ", "ntilde;": "ñ", ntilde: "ñ", "ntlg;": "≸", "ntriangleleft;": "⋪", "ntrianglelefteq;": "⋬", "ntriangleright;": "⋫", "ntrianglerighteq;": "⋭", "Nu;": "Ν", "nu;": "ν", "num;": "#", "numero;": "№", "numsp;": " ", "nvap;": "≍⃒", "nVDash;": "⊯", "nVdash;": "⊮", "nvDash;": "⊭", "nvdash;": "⊬", "nvge;": "≥⃒", "nvgt;": ">⃒", "nvHarr;": "⤄", "nvinfin;": "⧞", "nvlArr;": "⤂", "nvle;": "≤⃒", "nvlt;": "<⃒", "nvltrie;": "⊴⃒", "nvrArr;": "⤃", "nvrtrie;": "⊵⃒", "nvsim;": "∼⃒", "nwarhk;": "⤣", "nwArr;": "⇖", "nwarr;": "↖", "nwarrow;": "↖", "nwnear;": "⤧", "Oacute;": "Ó", Oacute: "Ó", "oacute;": "ó", oacute: "ó", "oast;": "⊛", "ocir;": "⊚", "Ocirc;": "Ô", Ocirc: "Ô", "ocirc;": "ô", ocirc: "ô", "Ocy;": "О", "ocy;": "о", "odash;": "⊝", "Odblac;": "Ő", "odblac;": "ő", "odiv;": "⨸", "odot;": "⊙", "odsold;": "⦼", "OElig;": "Œ", "oelig;": "œ", "ofcir;": "⦿", "Ofr;": "𝔒", "ofr;": "𝔬", "ogon;": "˛", "Ograve;": "Ò", Ograve: "Ò", "ograve;": "ò", ograve: "ò", "ogt;": "⧁", "ohbar;": "⦵", "ohm;": "Ω", "oint;": "∮", "olarr;": "↺", "olcir;": "⦾", "olcross;": "⦻", "oline;": "‾", "olt;": "⧀", "Omacr;": "Ō", "omacr;": "ō", "Omega;": "Ω", "omega;": "ω", "Omicron;": "Ο", "omicron;": "ο", "omid;": "⦶", "ominus;": "⊖", "Oopf;": "𝕆", "oopf;": "𝕠", "opar;": "⦷", "OpenCurlyDoubleQuote;": "“", "OpenCurlyQuote;": "‘", "operp;": "⦹", "oplus;": "⊕", "Or;": "⩔", "or;": "∨", "orarr;": "↻", "ord;": "⩝", "order;": "ℴ", "orderof;": "ℴ", "ordf;": "ª", ordf: "ª", "ordm;": "º", ordm: "º", "origof;": "⊶", "oror;": "⩖", "orslope;": "⩗", "orv;": "⩛", "oS;": "Ⓢ", "Oscr;": "𝒪", "oscr;": "ℴ", "Oslash;": "Ø", Oslash: "Ø", "oslash;": "ø", oslash: "ø", "osol;": "⊘", "Otilde;": "Õ", Otilde: "Õ", "otilde;": "õ", otilde: "õ", "Otimes;": "⨷", "otimes;": "⊗", "otimesas;": "⨶", "Ouml;": "Ö", Ouml: "Ö", "ouml;": "ö", ouml: "ö", "ovbar;": "⌽", "OverBar;": "‾", "OverBrace;": "⏞", "OverBracket;": "⎴", "OverParenthesis;": "⏜", "par;": "∥", "para;": "¶", para: "¶", "parallel;": "∥", "parsim;": "⫳", "parsl;": "⫽", "part;": "∂", "PartialD;": "∂", "Pcy;": "П", "pcy;": "п", "percnt;": "%", "period;": ".", "permil;": "‰", "perp;": "⊥", "pertenk;": "‱", "Pfr;": "𝔓", "pfr;": "𝔭", "Phi;": "Φ", "phi;": "φ", "phiv;": "ϕ", "phmmat;": "ℳ", "phone;": "☎", "Pi;": "Π", "pi;": "π", "pitchfork;": "⋔", "piv;": "ϖ", "planck;": "ℏ", "planckh;": "ℎ", "plankv;": "ℏ", "plus;": "+", "plusacir;": "⨣", "plusb;": "⊞", "pluscir;": "⨢", "plusdo;": "∔", "plusdu;": "⨥", "pluse;": "⩲", "PlusMinus;": "±", "plusmn;": "±", plusmn: "±", "plussim;": "⨦", "plustwo;": "⨧", "pm;": "±", "Poincareplane;": "ℌ", "pointint;": "⨕", "Popf;": "ℙ", "popf;": "𝕡", "pound;": "£", pound: "£", "Pr;": "⪻", "pr;": "≺", "prap;": "⪷", "prcue;": "≼", "prE;": "⪳", "pre;": "⪯", "prec;": "≺", "precapprox;": "⪷", "preccurlyeq;": "≼", "Precedes;": "≺", "PrecedesEqual;": "⪯", "PrecedesSlantEqual;": "≼", "PrecedesTilde;": "≾", "preceq;": "⪯", "precnapprox;": "⪹", "precneqq;": "⪵", "precnsim;": "⋨", "precsim;": "≾", "Prime;": "″", "prime;": "′", "primes;": "ℙ", "prnap;": "⪹", "prnE;": "⪵", "prnsim;": "⋨", "prod;": "∏", "Product;": "∏", "profalar;": "⌮", "profline;": "⌒", "profsurf;": "⌓", "prop;": "∝", "Proportion;": "∷", "Proportional;": "∝", "propto;": "∝", "prsim;": "≾", "prurel;": "⊰", "Pscr;": "𝒫", "pscr;": "𝓅", "Psi;": "Ψ", "psi;": "ψ", "puncsp;": " ", "Qfr;": "𝔔", "qfr;": "𝔮", "qint;": "⨌", "Qopf;": "ℚ", "qopf;": "𝕢", "qprime;": "⁗", "Qscr;": "𝒬", "qscr;": "𝓆", "quaternions;": "ℍ", "quatint;": "⨖", "quest;": "?", "questeq;": "≟", "QUOT;": '"', QUOT: '"', "quot;": '"', quot: '"', "rAarr;": "⇛", "race;": "∽̱", "Racute;": "Ŕ", "racute;": "ŕ", "radic;": "√", "raemptyv;": "⦳", "Rang;": "⟫", "rang;": "⟩", "rangd;": "⦒", "range;": "⦥", "rangle;": "⟩", "raquo;": "»", raquo: "»", "Rarr;": "↠", "rArr;": "⇒", "rarr;": "→", "rarrap;": "⥵", "rarrb;": "⇥", "rarrbfs;": "⤠", "rarrc;": "⤳", "rarrfs;": "⤞", "rarrhk;": "↪", "rarrlp;": "↬", "rarrpl;": "⥅", "rarrsim;": "⥴", "Rarrtl;": "⤖", "rarrtl;": "↣", "rarrw;": "↝", "rAtail;": "⤜", "ratail;": "⤚", "ratio;": "∶", "rationals;": "ℚ", "RBarr;": "⤐", "rBarr;": "⤏", "rbarr;": "⤍", "rbbrk;": "❳", "rbrace;": "}", "rbrack;": "]", "rbrke;": "⦌", "rbrksld;": "⦎", "rbrkslu;": "⦐", "Rcaron;": "Ř", "rcaron;": "ř", "Rcedil;": "Ŗ", "rcedil;": "ŗ", "rceil;": "⌉", "rcub;": "}", "Rcy;": "Р", "rcy;": "р", "rdca;": "⤷", "rdldhar;": "⥩", "rdquo;": "”", "rdquor;": "”", "rdsh;": "↳", "Re;": "ℜ", "real;": "ℜ", "realine;": "ℛ", "realpart;": "ℜ", "reals;": "ℝ", "rect;": "▭", "REG;": "®", REG: "®", "reg;": "®", reg: "®", "ReverseElement;": "∋", "ReverseEquilibrium;": "⇋", "ReverseUpEquilibrium;": "⥯", "rfisht;": "⥽", "rfloor;": "⌋", "Rfr;": "ℜ", "rfr;": "𝔯", "rHar;": "⥤", "rhard;": "⇁", "rharu;": "⇀", "rharul;": "⥬", "Rho;": "Ρ", "rho;": "ρ", "rhov;": "ϱ", "RightAngleBracket;": "⟩", "RightArrow;": "→", "Rightarrow;": "⇒", "rightarrow;": "→", "RightArrowBar;": "⇥", "RightArrowLeftArrow;": "⇄", "rightarrowtail;": "↣", "RightCeiling;": "⌉", "RightDoubleBracket;": "⟧", "RightDownTeeVector;": "⥝", "RightDownVector;": "⇂", "RightDownVectorBar;": "⥕", "RightFloor;": "⌋", "rightharpoondown;": "⇁", "rightharpoonup;": "⇀", "rightleftarrows;": "⇄", "rightleftharpoons;": "⇌", "rightrightarrows;": "⇉", "rightsquigarrow;": "↝", "RightTee;": "⊢", "RightTeeArrow;": "↦", "RightTeeVector;": "⥛", "rightthreetimes;": "⋌", "RightTriangle;": "⊳", "RightTriangleBar;": "⧐", "RightTriangleEqual;": "⊵", "RightUpDownVector;": "⥏", "RightUpTeeVector;": "⥜", "RightUpVector;": "↾", "RightUpVectorBar;": "⥔", "RightVector;": "⇀", "RightVectorBar;": "⥓", "ring;": "˚", "risingdotseq;": "≓", "rlarr;": "⇄", "rlhar;": "⇌", "rlm;": "‏", "rmoust;": "⎱", "rmoustache;": "⎱", "rnmid;": "⫮", "roang;": "⟭", "roarr;": "⇾", "robrk;": "⟧", "ropar;": "⦆", "Ropf;": "ℝ", "ropf;": "𝕣", "roplus;": "⨮", "rotimes;": "⨵", "RoundImplies;": "⥰", "rpar;": ")", "rpargt;": "⦔", "rppolint;": "⨒", "rrarr;": "⇉", "Rrightarrow;": "⇛", "rsaquo;": "›", "Rscr;": "ℛ", "rscr;": "𝓇", "Rsh;": "↱", "rsh;": "↱", "rsqb;": "]", "rsquo;": "’", "rsquor;": "’", "rthree;": "⋌", "rtimes;": "⋊", "rtri;": "▹", "rtrie;": "⊵", "rtrif;": "▸", "rtriltri;": "⧎", "RuleDelayed;": "⧴", "ruluhar;": "⥨", "rx;": "℞", "Sacute;": "Ś", "sacute;": "ś", "sbquo;": "‚", "Sc;": "⪼", "sc;": "≻", "scap;": "⪸", "Scaron;": "Š", "scaron;": "š", "sccue;": "≽", "scE;": "⪴", "sce;": "⪰", "Scedil;": "Ş", "scedil;": "ş", "Scirc;": "Ŝ", "scirc;": "ŝ", "scnap;": "⪺", "scnE;": "⪶", "scnsim;": "⋩", "scpolint;": "⨓", "scsim;": "≿", "Scy;": "С", "scy;": "с", "sdot;": "⋅", "sdotb;": "⊡", "sdote;": "⩦", "searhk;": "⤥", "seArr;": "⇘", "searr;": "↘", "searrow;": "↘", "sect;": "§", sect: "§", "semi;": ";", "seswar;": "⤩", "setminus;": "∖", "setmn;": "∖", "sext;": "✶", "Sfr;": "𝔖", "sfr;": "𝔰", "sfrown;": "⌢", "sharp;": "♯", "SHCHcy;": "Щ", "shchcy;": "щ", "SHcy;": "Ш", "shcy;": "ш", "ShortDownArrow;": "↓", "ShortLeftArrow;": "←", "shortmid;": "∣", "shortparallel;": "∥", "ShortRightArrow;": "→", "ShortUpArrow;": "↑", "shy;": "­", shy: "­", "Sigma;": "Σ", "sigma;": "σ", "sigmaf;": "ς", "sigmav;": "ς", "sim;": "∼", "simdot;": "⩪", "sime;": "≃", "simeq;": "≃", "simg;": "⪞", "simgE;": "⪠", "siml;": "⪝", "simlE;": "⪟", "simne;": "≆", "simplus;": "⨤", "simrarr;": "⥲", "slarr;": "←", "SmallCircle;": "∘", "smallsetminus;": "∖", "smashp;": "⨳", "smeparsl;": "⧤", "smid;": "∣", "smile;": "⌣", "smt;": "⪪", "smte;": "⪬", "smtes;": "⪬︀", "SOFTcy;": "Ь", "softcy;": "ь", "sol;": "/", "solb;": "⧄", "solbar;": "⌿", "Sopf;": "𝕊", "sopf;": "𝕤", "spades;": "♠", "spadesuit;": "♠", "spar;": "∥", "sqcap;": "⊓", "sqcaps;": "⊓︀", "sqcup;": "⊔", "sqcups;": "⊔︀", "Sqrt;": "√", "sqsub;": "⊏", "sqsube;": "⊑", "sqsubset;": "⊏", "sqsubseteq;": "⊑", "sqsup;": "⊐", "sqsupe;": "⊒", "sqsupset;": "⊐", "sqsupseteq;": "⊒", "squ;": "□", "Square;": "□", "square;": "□", "SquareIntersection;": "⊓", "SquareSubset;": "⊏", "SquareSubsetEqual;": "⊑", "SquareSuperset;": "⊐", "SquareSupersetEqual;": "⊒", "SquareUnion;": "⊔", "squarf;": "▪", "squf;": "▪", "srarr;": "→", "Sscr;": "𝒮", "sscr;": "𝓈", "ssetmn;": "∖", "ssmile;": "⌣", "sstarf;": "⋆", "Star;": "⋆", "star;": "☆", "starf;": "★", "straightepsilon;": "ϵ", "straightphi;": "ϕ", "strns;": "¯", "Sub;": "⋐", "sub;": "⊂", "subdot;": "⪽", "subE;": "⫅", "sube;": "⊆", "subedot;": "⫃", "submult;": "⫁", "subnE;": "⫋", "subne;": "⊊", "subplus;": "⪿", "subrarr;": "⥹", "Subset;": "⋐", "subset;": "⊂", "subseteq;": "⊆", "subseteqq;": "⫅", "SubsetEqual;": "⊆", "subsetneq;": "⊊", "subsetneqq;": "⫋", "subsim;": "⫇", "subsub;": "⫕", "subsup;": "⫓", "succ;": "≻", "succapprox;": "⪸", "succcurlyeq;": "≽", "Succeeds;": "≻", "SucceedsEqual;": "⪰", "SucceedsSlantEqual;": "≽", "SucceedsTilde;": "≿", "succeq;": "⪰", "succnapprox;": "⪺", "succneqq;": "⪶", "succnsim;": "⋩", "succsim;": "≿", "SuchThat;": "∋", "Sum;": "∑", "sum;": "∑", "sung;": "♪", "Sup;": "⋑", "sup;": "⊃", "sup1;": "¹", sup1: "¹", "sup2;": "²", sup2: "²", "sup3;": "³", sup3: "³", "supdot;": "⪾", "supdsub;": "⫘", "supE;": "⫆", "supe;": "⊇", "supedot;": "⫄", "Superset;": "⊃", "SupersetEqual;": "⊇", "suphsol;": "⟉", "suphsub;": "⫗", "suplarr;": "⥻", "supmult;": "⫂", "supnE;": "⫌", "supne;": "⊋", "supplus;": "⫀", "Supset;": "⋑", "supset;": "⊃", "supseteq;": "⊇", "supseteqq;": "⫆", "supsetneq;": "⊋", "supsetneqq;": "⫌", "supsim;": "⫈", "supsub;": "⫔", "supsup;": "⫖", "swarhk;": "⤦", "swArr;": "⇙", "swarr;": "↙", "swarrow;": "↙", "swnwar;": "⤪", "szlig;": "ß", szlig: "ß", "Tab;": " ", "target;": "⌖", "Tau;": "Τ", "tau;": "τ", "tbrk;": "⎴", "Tcaron;": "Ť", "tcaron;": "ť", "Tcedil;": "Ţ", "tcedil;": "ţ", "Tcy;": "Т", "tcy;": "т", "tdot;": "⃛", "telrec;": "⌕", "Tfr;": "𝔗", "tfr;": "𝔱", "there4;": "∴", "Therefore;": "∴", "therefore;": "∴", "Theta;": "Θ", "theta;": "θ", "thetasym;": "ϑ", "thetav;": "ϑ", "thickapprox;": "≈", "thicksim;": "∼", "ThickSpace;": "  ", "thinsp;": " ", "ThinSpace;": " ", "thkap;": "≈", "thksim;": "∼", "THORN;": "Þ", THORN: "Þ", "thorn;": "þ", thorn: "þ", "Tilde;": "∼", "tilde;": "˜", "TildeEqual;": "≃", "TildeFullEqual;": "≅", "TildeTilde;": "≈", "times;": "×", times: "×", "timesb;": "⊠", "timesbar;": "⨱", "timesd;": "⨰", "tint;": "∭", "toea;": "⤨", "top;": "⊤", "topbot;": "⌶", "topcir;": "⫱", "Topf;": "𝕋", "topf;": "𝕥", "topfork;": "⫚", "tosa;": "⤩", "tprime;": "‴", "TRADE;": "™", "trade;": "™", "triangle;": "▵", "triangledown;": "▿", "triangleleft;": "◃", "trianglelefteq;": "⊴", "triangleq;": "≜", "triangleright;": "▹", "trianglerighteq;": "⊵", "tridot;": "◬", "trie;": "≜", "triminus;": "⨺", "TripleDot;": "⃛", "triplus;": "⨹", "trisb;": "⧍", "tritime;": "⨻", "trpezium;": "⏢", "Tscr;": "𝒯", "tscr;": "𝓉", "TScy;": "Ц", "tscy;": "ц", "TSHcy;": "Ћ", "tshcy;": "ћ", "Tstrok;": "Ŧ", "tstrok;": "ŧ", "twixt;": "≬", "twoheadleftarrow;": "↞", "twoheadrightarrow;": "↠", "Uacute;": "Ú", Uacute: "Ú", "uacute;": "ú", uacute: "ú", "Uarr;": "↟", "uArr;": "⇑", "uarr;": "↑", "Uarrocir;": "⥉", "Ubrcy;": "Ў", "ubrcy;": "ў", "Ubreve;": "Ŭ", "ubreve;": "ŭ", "Ucirc;": "Û", Ucirc: "Û", "ucirc;": "û", ucirc: "û", "Ucy;": "У", "ucy;": "у", "udarr;": "⇅", "Udblac;": "Ű", "udblac;": "ű", "udhar;": "⥮", "ufisht;": "⥾", "Ufr;": "𝔘", "ufr;": "𝔲", "Ugrave;": "Ù", Ugrave: "Ù", "ugrave;": "ù", ugrave: "ù", "uHar;": "⥣", "uharl;": "↿", "uharr;": "↾", "uhblk;": "▀", "ulcorn;": "⌜", "ulcorner;": "⌜", "ulcrop;": "⌏", "ultri;": "◸", "Umacr;": "Ū", "umacr;": "ū", "uml;": "¨", uml: "¨", "UnderBar;": "_", "UnderBrace;": "⏟", "UnderBracket;": "⎵", "UnderParenthesis;": "⏝", "Union;": "⋃", "UnionPlus;": "⊎", "Uogon;": "Ų", "uogon;": "ų", "Uopf;": "𝕌", "uopf;": "𝕦", "UpArrow;": "↑", "Uparrow;": "⇑", "uparrow;": "↑", "UpArrowBar;": "⤒", "UpArrowDownArrow;": "⇅", "UpDownArrow;": "↕", "Updownarrow;": "⇕", "updownarrow;": "↕", "UpEquilibrium;": "⥮", "upharpoonleft;": "↿", "upharpoonright;": "↾", "uplus;": "⊎", "UpperLeftArrow;": "↖", "UpperRightArrow;": "↗", "Upsi;": "ϒ", "upsi;": "υ", "upsih;": "ϒ", "Upsilon;": "Υ", "upsilon;": "υ", "UpTee;": "⊥", "UpTeeArrow;": "↥", "upuparrows;": "⇈", "urcorn;": "⌝", "urcorner;": "⌝", "urcrop;": "⌎", "Uring;": "Ů", "uring;": "ů", "urtri;": "◹", "Uscr;": "𝒰", "uscr;": "𝓊", "utdot;": "⋰", "Utilde;": "Ũ", "utilde;": "ũ", "utri;": "▵", "utrif;": "▴", "uuarr;": "⇈", "Uuml;": "Ü", Uuml: "Ü", "uuml;": "ü", uuml: "ü", "uwangle;": "⦧", "vangrt;": "⦜", "varepsilon;": "ϵ", "varkappa;": "ϰ", "varnothing;": "∅", "varphi;": "ϕ", "varpi;": "ϖ", "varpropto;": "∝", "vArr;": "⇕", "varr;": "↕", "varrho;": "ϱ", "varsigma;": "ς", "varsubsetneq;": "⊊︀", "varsubsetneqq;": "⫋︀", "varsupsetneq;": "⊋︀", "varsupsetneqq;": "⫌︀", "vartheta;": "ϑ", "vartriangleleft;": "⊲", "vartriangleright;": "⊳", "Vbar;": "⫫", "vBar;": "⫨", "vBarv;": "⫩", "Vcy;": "В", "vcy;": "в", "VDash;": "⊫", "Vdash;": "⊩", "vDash;": "⊨", "vdash;": "⊢", "Vdashl;": "⫦", "Vee;": "⋁", "vee;": "∨", "veebar;": "⊻", "veeeq;": "≚", "vellip;": "⋮", "Verbar;": "‖", "verbar;": "|", "Vert;": "‖", "vert;": "|", "VerticalBar;": "∣", "VerticalLine;": "|", "VerticalSeparator;": "❘", "VerticalTilde;": "≀", "VeryThinSpace;": " ", "Vfr;": "𝔙", "vfr;": "𝔳", "vltri;": "⊲", "vnsub;": "⊂⃒", "vnsup;": "⊃⃒", "Vopf;": "𝕍", "vopf;": "𝕧", "vprop;": "∝", "vrtri;": "⊳", "Vscr;": "𝒱", "vscr;": "𝓋", "vsubnE;": "⫋︀", "vsubne;": "⊊︀", "vsupnE;": "⫌︀", "vsupne;": "⊋︀", "Vvdash;": "⊪", "vzigzag;": "⦚", "Wcirc;": "Ŵ", "wcirc;": "ŵ", "wedbar;": "⩟", "Wedge;": "⋀", "wedge;": "∧", "wedgeq;": "≙", "weierp;": "℘", "Wfr;": "𝔚", "wfr;": "𝔴", "Wopf;": "𝕎", "wopf;": "𝕨", "wp;": "℘", "wr;": "≀", "wreath;": "≀", "Wscr;": "𝒲", "wscr;": "𝓌", "xcap;": "⋂", "xcirc;": "◯", "xcup;": "⋃", "xdtri;": "▽", "Xfr;": "𝔛", "xfr;": "𝔵", "xhArr;": "⟺", "xharr;": "⟷", "Xi;": "Ξ", "xi;": "ξ", "xlArr;": "⟸", "xlarr;": "⟵", "xmap;": "⟼", "xnis;": "⋻", "xodot;": "⨀", "Xopf;": "𝕏", "xopf;": "𝕩", "xoplus;": "⨁", "xotime;": "⨂", "xrArr;": "⟹", "xrarr;": "⟶", "Xscr;": "𝒳", "xscr;": "𝓍", "xsqcup;": "⨆", "xuplus;": "⨄", "xutri;": "△", "xvee;": "⋁", "xwedge;": "⋀", "Yacute;": "Ý", Yacute: "Ý", "yacute;": "ý", yacute: "ý", "YAcy;": "Я", "yacy;": "я", "Ycirc;": "Ŷ", "ycirc;": "ŷ", "Ycy;": "Ы", "ycy;": "ы", "yen;": "¥", yen: "¥", "Yfr;": "𝔜", "yfr;": "𝔶", "YIcy;": "Ї", "yicy;": "ї", "Yopf;": "𝕐", "yopf;": "𝕪", "Yscr;": "𝒴", "yscr;": "𝓎", "YUcy;": "Ю", "yucy;": "ю", "Yuml;": "Ÿ", "yuml;": "ÿ", yuml: "ÿ", "Zacute;": "Ź", "zacute;": "ź", "Zcaron;": "Ž", "zcaron;": "ž", "Zcy;": "З", "zcy;": "з", "Zdot;": "Ż", "zdot;": "ż", "zeetrf;": "ℨ", "ZeroWidthSpace;": "​", "Zeta;": "Ζ", "zeta;": "ζ", "Zfr;": "ℨ", "zfr;": "𝔷", "ZHcy;": "Ж", "zhcy;": "ж", "zigrarr;": "⇝", "Zopf;": "ℤ", "zopf;": "𝕫", "Zscr;": "𝒵", "zscr;": "𝓏", "zwj;": "‍", "zwnj;": "‌"}; + var Pe = {"Aacute;": "\xC1", Aacute: "\xC1", "aacute;": "\xE1", aacute: "\xE1", "Abreve;": "\u0102", "abreve;": "\u0103", "ac;": "\u223E", "acd;": "\u223F", "acE;": "\u223E\u0333", "Acirc;": "\xC2", Acirc: "\xC2", "acirc;": "\xE2", acirc: "\xE2", "acute;": "\xB4", acute: "\xB4", "Acy;": "\u0410", "acy;": "\u0430", "AElig;": "\xC6", AElig: "\xC6", "aelig;": "\xE6", aelig: "\xE6", "af;": "\u2061", "Afr;": "\u{1D504}", "afr;": "\u{1D51E}", "Agrave;": "\xC0", Agrave: "\xC0", "agrave;": "\xE0", agrave: "\xE0", "alefsym;": "\u2135", "aleph;": "\u2135", "Alpha;": "\u0391", "alpha;": "\u03B1", "Amacr;": "\u0100", "amacr;": "\u0101", "amalg;": "\u2A3F", "AMP;": "&", AMP: "&", "amp;": "&", amp: "&", "And;": "\u2A53", "and;": "\u2227", "andand;": "\u2A55", "andd;": "\u2A5C", "andslope;": "\u2A58", "andv;": "\u2A5A", "ang;": "\u2220", "ange;": "\u29A4", "angle;": "\u2220", "angmsd;": "\u2221", "angmsdaa;": "\u29A8", "angmsdab;": "\u29A9", "angmsdac;": "\u29AA", "angmsdad;": "\u29AB", "angmsdae;": "\u29AC", "angmsdaf;": "\u29AD", "angmsdag;": "\u29AE", "angmsdah;": "\u29AF", "angrt;": "\u221F", "angrtvb;": "\u22BE", "angrtvbd;": "\u299D", "angsph;": "\u2222", "angst;": "\xC5", "angzarr;": "\u237C", "Aogon;": "\u0104", "aogon;": "\u0105", "Aopf;": "\u{1D538}", "aopf;": "\u{1D552}", "ap;": "\u2248", "apacir;": "\u2A6F", "apE;": "\u2A70", "ape;": "\u224A", "apid;": "\u224B", "apos;": "'", "ApplyFunction;": "\u2061", "approx;": "\u2248", "approxeq;": "\u224A", "Aring;": "\xC5", Aring: "\xC5", "aring;": "\xE5", aring: "\xE5", "Ascr;": "\u{1D49C}", "ascr;": "\u{1D4B6}", "Assign;": "\u2254", "ast;": "*", "asymp;": "\u2248", "asympeq;": "\u224D", "Atilde;": "\xC3", Atilde: "\xC3", "atilde;": "\xE3", atilde: "\xE3", "Auml;": "\xC4", Auml: "\xC4", "auml;": "\xE4", auml: "\xE4", "awconint;": "\u2233", "awint;": "\u2A11", "backcong;": "\u224C", "backepsilon;": "\u03F6", "backprime;": "\u2035", "backsim;": "\u223D", "backsimeq;": "\u22CD", "Backslash;": "\u2216", "Barv;": "\u2AE7", "barvee;": "\u22BD", "Barwed;": "\u2306", "barwed;": "\u2305", "barwedge;": "\u2305", "bbrk;": "\u23B5", "bbrktbrk;": "\u23B6", "bcong;": "\u224C", "Bcy;": "\u0411", "bcy;": "\u0431", "bdquo;": "\u201E", "becaus;": "\u2235", "Because;": "\u2235", "because;": "\u2235", "bemptyv;": "\u29B0", "bepsi;": "\u03F6", "bernou;": "\u212C", "Bernoullis;": "\u212C", "Beta;": "\u0392", "beta;": "\u03B2", "beth;": "\u2136", "between;": "\u226C", "Bfr;": "\u{1D505}", "bfr;": "\u{1D51F}", "bigcap;": "\u22C2", "bigcirc;": "\u25EF", "bigcup;": "\u22C3", "bigodot;": "\u2A00", "bigoplus;": "\u2A01", "bigotimes;": "\u2A02", "bigsqcup;": "\u2A06", "bigstar;": "\u2605", "bigtriangledown;": "\u25BD", "bigtriangleup;": "\u25B3", "biguplus;": "\u2A04", "bigvee;": "\u22C1", "bigwedge;": "\u22C0", "bkarow;": "\u290D", "blacklozenge;": "\u29EB", "blacksquare;": "\u25AA", "blacktriangle;": "\u25B4", "blacktriangledown;": "\u25BE", "blacktriangleleft;": "\u25C2", "blacktriangleright;": "\u25B8", "blank;": "\u2423", "blk12;": "\u2592", "blk14;": "\u2591", "blk34;": "\u2593", "block;": "\u2588", "bne;": "=\u20E5", "bnequiv;": "\u2261\u20E5", "bNot;": "\u2AED", "bnot;": "\u2310", "Bopf;": "\u{1D539}", "bopf;": "\u{1D553}", "bot;": "\u22A5", "bottom;": "\u22A5", "bowtie;": "\u22C8", "boxbox;": "\u29C9", "boxDL;": "\u2557", "boxDl;": "\u2556", "boxdL;": "\u2555", "boxdl;": "\u2510", "boxDR;": "\u2554", "boxDr;": "\u2553", "boxdR;": "\u2552", "boxdr;": "\u250C", "boxH;": "\u2550", "boxh;": "\u2500", "boxHD;": "\u2566", "boxHd;": "\u2564", "boxhD;": "\u2565", "boxhd;": "\u252C", "boxHU;": "\u2569", "boxHu;": "\u2567", "boxhU;": "\u2568", "boxhu;": "\u2534", "boxminus;": "\u229F", "boxplus;": "\u229E", "boxtimes;": "\u22A0", "boxUL;": "\u255D", "boxUl;": "\u255C", "boxuL;": "\u255B", "boxul;": "\u2518", "boxUR;": "\u255A", "boxUr;": "\u2559", "boxuR;": "\u2558", "boxur;": "\u2514", "boxV;": "\u2551", "boxv;": "\u2502", "boxVH;": "\u256C", "boxVh;": "\u256B", "boxvH;": "\u256A", "boxvh;": "\u253C", "boxVL;": "\u2563", "boxVl;": "\u2562", "boxvL;": "\u2561", "boxvl;": "\u2524", "boxVR;": "\u2560", "boxVr;": "\u255F", "boxvR;": "\u255E", "boxvr;": "\u251C", "bprime;": "\u2035", "Breve;": "\u02D8", "breve;": "\u02D8", "brvbar;": "\xA6", brvbar: "\xA6", "Bscr;": "\u212C", "bscr;": "\u{1D4B7}", "bsemi;": "\u204F", "bsim;": "\u223D", "bsime;": "\u22CD", "bsol;": "\\", "bsolb;": "\u29C5", "bsolhsub;": "\u27C8", "bull;": "\u2022", "bullet;": "\u2022", "bump;": "\u224E", "bumpE;": "\u2AAE", "bumpe;": "\u224F", "Bumpeq;": "\u224E", "bumpeq;": "\u224F", "Cacute;": "\u0106", "cacute;": "\u0107", "Cap;": "\u22D2", "cap;": "\u2229", "capand;": "\u2A44", "capbrcup;": "\u2A49", "capcap;": "\u2A4B", "capcup;": "\u2A47", "capdot;": "\u2A40", "CapitalDifferentialD;": "\u2145", "caps;": "\u2229\uFE00", "caret;": "\u2041", "caron;": "\u02C7", "Cayleys;": "\u212D", "ccaps;": "\u2A4D", "Ccaron;": "\u010C", "ccaron;": "\u010D", "Ccedil;": "\xC7", Ccedil: "\xC7", "ccedil;": "\xE7", ccedil: "\xE7", "Ccirc;": "\u0108", "ccirc;": "\u0109", "Cconint;": "\u2230", "ccups;": "\u2A4C", "ccupssm;": "\u2A50", "Cdot;": "\u010A", "cdot;": "\u010B", "cedil;": "\xB8", cedil: "\xB8", "Cedilla;": "\xB8", "cemptyv;": "\u29B2", "cent;": "\xA2", cent: "\xA2", "CenterDot;": "\xB7", "centerdot;": "\xB7", "Cfr;": "\u212D", "cfr;": "\u{1D520}", "CHcy;": "\u0427", "chcy;": "\u0447", "check;": "\u2713", "checkmark;": "\u2713", "Chi;": "\u03A7", "chi;": "\u03C7", "cir;": "\u25CB", "circ;": "\u02C6", "circeq;": "\u2257", "circlearrowleft;": "\u21BA", "circlearrowright;": "\u21BB", "circledast;": "\u229B", "circledcirc;": "\u229A", "circleddash;": "\u229D", "CircleDot;": "\u2299", "circledR;": "\xAE", "circledS;": "\u24C8", "CircleMinus;": "\u2296", "CirclePlus;": "\u2295", "CircleTimes;": "\u2297", "cirE;": "\u29C3", "cire;": "\u2257", "cirfnint;": "\u2A10", "cirmid;": "\u2AEF", "cirscir;": "\u29C2", "ClockwiseContourIntegral;": "\u2232", "CloseCurlyDoubleQuote;": "\u201D", "CloseCurlyQuote;": "\u2019", "clubs;": "\u2663", "clubsuit;": "\u2663", "Colon;": "\u2237", "colon;": ":", "Colone;": "\u2A74", "colone;": "\u2254", "coloneq;": "\u2254", "comma;": ",", "commat;": "@", "comp;": "\u2201", "compfn;": "\u2218", "complement;": "\u2201", "complexes;": "\u2102", "cong;": "\u2245", "congdot;": "\u2A6D", "Congruent;": "\u2261", "Conint;": "\u222F", "conint;": "\u222E", "ContourIntegral;": "\u222E", "Copf;": "\u2102", "copf;": "\u{1D554}", "coprod;": "\u2210", "Coproduct;": "\u2210", "COPY;": "\xA9", COPY: "\xA9", "copy;": "\xA9", copy: "\xA9", "copysr;": "\u2117", "CounterClockwiseContourIntegral;": "\u2233", "crarr;": "\u21B5", "Cross;": "\u2A2F", "cross;": "\u2717", "Cscr;": "\u{1D49E}", "cscr;": "\u{1D4B8}", "csub;": "\u2ACF", "csube;": "\u2AD1", "csup;": "\u2AD0", "csupe;": "\u2AD2", "ctdot;": "\u22EF", "cudarrl;": "\u2938", "cudarrr;": "\u2935", "cuepr;": "\u22DE", "cuesc;": "\u22DF", "cularr;": "\u21B6", "cularrp;": "\u293D", "Cup;": "\u22D3", "cup;": "\u222A", "cupbrcap;": "\u2A48", "CupCap;": "\u224D", "cupcap;": "\u2A46", "cupcup;": "\u2A4A", "cupdot;": "\u228D", "cupor;": "\u2A45", "cups;": "\u222A\uFE00", "curarr;": "\u21B7", "curarrm;": "\u293C", "curlyeqprec;": "\u22DE", "curlyeqsucc;": "\u22DF", "curlyvee;": "\u22CE", "curlywedge;": "\u22CF", "curren;": "\xA4", curren: "\xA4", "curvearrowleft;": "\u21B6", "curvearrowright;": "\u21B7", "cuvee;": "\u22CE", "cuwed;": "\u22CF", "cwconint;": "\u2232", "cwint;": "\u2231", "cylcty;": "\u232D", "Dagger;": "\u2021", "dagger;": "\u2020", "daleth;": "\u2138", "Darr;": "\u21A1", "dArr;": "\u21D3", "darr;": "\u2193", "dash;": "\u2010", "Dashv;": "\u2AE4", "dashv;": "\u22A3", "dbkarow;": "\u290F", "dblac;": "\u02DD", "Dcaron;": "\u010E", "dcaron;": "\u010F", "Dcy;": "\u0414", "dcy;": "\u0434", "DD;": "\u2145", "dd;": "\u2146", "ddagger;": "\u2021", "ddarr;": "\u21CA", "DDotrahd;": "\u2911", "ddotseq;": "\u2A77", "deg;": "\xB0", deg: "\xB0", "Del;": "\u2207", "Delta;": "\u0394", "delta;": "\u03B4", "demptyv;": "\u29B1", "dfisht;": "\u297F", "Dfr;": "\u{1D507}", "dfr;": "\u{1D521}", "dHar;": "\u2965", "dharl;": "\u21C3", "dharr;": "\u21C2", "DiacriticalAcute;": "\xB4", "DiacriticalDot;": "\u02D9", "DiacriticalDoubleAcute;": "\u02DD", "DiacriticalGrave;": "`", "DiacriticalTilde;": "\u02DC", "diam;": "\u22C4", "Diamond;": "\u22C4", "diamond;": "\u22C4", "diamondsuit;": "\u2666", "diams;": "\u2666", "die;": "\xA8", "DifferentialD;": "\u2146", "digamma;": "\u03DD", "disin;": "\u22F2", "div;": "\xF7", "divide;": "\xF7", divide: "\xF7", "divideontimes;": "\u22C7", "divonx;": "\u22C7", "DJcy;": "\u0402", "djcy;": "\u0452", "dlcorn;": "\u231E", "dlcrop;": "\u230D", "dollar;": "$", "Dopf;": "\u{1D53B}", "dopf;": "\u{1D555}", "Dot;": "\xA8", "dot;": "\u02D9", "DotDot;": "\u20DC", "doteq;": "\u2250", "doteqdot;": "\u2251", "DotEqual;": "\u2250", "dotminus;": "\u2238", "dotplus;": "\u2214", "dotsquare;": "\u22A1", "doublebarwedge;": "\u2306", "DoubleContourIntegral;": "\u222F", "DoubleDot;": "\xA8", "DoubleDownArrow;": "\u21D3", "DoubleLeftArrow;": "\u21D0", "DoubleLeftRightArrow;": "\u21D4", "DoubleLeftTee;": "\u2AE4", "DoubleLongLeftArrow;": "\u27F8", "DoubleLongLeftRightArrow;": "\u27FA", "DoubleLongRightArrow;": "\u27F9", "DoubleRightArrow;": "\u21D2", "DoubleRightTee;": "\u22A8", "DoubleUpArrow;": "\u21D1", "DoubleUpDownArrow;": "\u21D5", "DoubleVerticalBar;": "\u2225", "DownArrow;": "\u2193", "Downarrow;": "\u21D3", "downarrow;": "\u2193", "DownArrowBar;": "\u2913", "DownArrowUpArrow;": "\u21F5", "DownBreve;": "\u0311", "downdownarrows;": "\u21CA", "downharpoonleft;": "\u21C3", "downharpoonright;": "\u21C2", "DownLeftRightVector;": "\u2950", "DownLeftTeeVector;": "\u295E", "DownLeftVector;": "\u21BD", "DownLeftVectorBar;": "\u2956", "DownRightTeeVector;": "\u295F", "DownRightVector;": "\u21C1", "DownRightVectorBar;": "\u2957", "DownTee;": "\u22A4", "DownTeeArrow;": "\u21A7", "drbkarow;": "\u2910", "drcorn;": "\u231F", "drcrop;": "\u230C", "Dscr;": "\u{1D49F}", "dscr;": "\u{1D4B9}", "DScy;": "\u0405", "dscy;": "\u0455", "dsol;": "\u29F6", "Dstrok;": "\u0110", "dstrok;": "\u0111", "dtdot;": "\u22F1", "dtri;": "\u25BF", "dtrif;": "\u25BE", "duarr;": "\u21F5", "duhar;": "\u296F", "dwangle;": "\u29A6", "DZcy;": "\u040F", "dzcy;": "\u045F", "dzigrarr;": "\u27FF", "Eacute;": "\xC9", Eacute: "\xC9", "eacute;": "\xE9", eacute: "\xE9", "easter;": "\u2A6E", "Ecaron;": "\u011A", "ecaron;": "\u011B", "ecir;": "\u2256", "Ecirc;": "\xCA", Ecirc: "\xCA", "ecirc;": "\xEA", ecirc: "\xEA", "ecolon;": "\u2255", "Ecy;": "\u042D", "ecy;": "\u044D", "eDDot;": "\u2A77", "Edot;": "\u0116", "eDot;": "\u2251", "edot;": "\u0117", "ee;": "\u2147", "efDot;": "\u2252", "Efr;": "\u{1D508}", "efr;": "\u{1D522}", "eg;": "\u2A9A", "Egrave;": "\xC8", Egrave: "\xC8", "egrave;": "\xE8", egrave: "\xE8", "egs;": "\u2A96", "egsdot;": "\u2A98", "el;": "\u2A99", "Element;": "\u2208", "elinters;": "\u23E7", "ell;": "\u2113", "els;": "\u2A95", "elsdot;": "\u2A97", "Emacr;": "\u0112", "emacr;": "\u0113", "empty;": "\u2205", "emptyset;": "\u2205", "EmptySmallSquare;": "\u25FB", "emptyv;": "\u2205", "EmptyVerySmallSquare;": "\u25AB", "emsp;": "\u2003", "emsp13;": "\u2004", "emsp14;": "\u2005", "ENG;": "\u014A", "eng;": "\u014B", "ensp;": "\u2002", "Eogon;": "\u0118", "eogon;": "\u0119", "Eopf;": "\u{1D53C}", "eopf;": "\u{1D556}", "epar;": "\u22D5", "eparsl;": "\u29E3", "eplus;": "\u2A71", "epsi;": "\u03B5", "Epsilon;": "\u0395", "epsilon;": "\u03B5", "epsiv;": "\u03F5", "eqcirc;": "\u2256", "eqcolon;": "\u2255", "eqsim;": "\u2242", "eqslantgtr;": "\u2A96", "eqslantless;": "\u2A95", "Equal;": "\u2A75", "equals;": "=", "EqualTilde;": "\u2242", "equest;": "\u225F", "Equilibrium;": "\u21CC", "equiv;": "\u2261", "equivDD;": "\u2A78", "eqvparsl;": "\u29E5", "erarr;": "\u2971", "erDot;": "\u2253", "Escr;": "\u2130", "escr;": "\u212F", "esdot;": "\u2250", "Esim;": "\u2A73", "esim;": "\u2242", "Eta;": "\u0397", "eta;": "\u03B7", "ETH;": "\xD0", ETH: "\xD0", "eth;": "\xF0", eth: "\xF0", "Euml;": "\xCB", Euml: "\xCB", "euml;": "\xEB", euml: "\xEB", "euro;": "\u20AC", "excl;": "!", "exist;": "\u2203", "Exists;": "\u2203", "expectation;": "\u2130", "ExponentialE;": "\u2147", "exponentiale;": "\u2147", "fallingdotseq;": "\u2252", "Fcy;": "\u0424", "fcy;": "\u0444", "female;": "\u2640", "ffilig;": "\uFB03", "fflig;": "\uFB00", "ffllig;": "\uFB04", "Ffr;": "\u{1D509}", "ffr;": "\u{1D523}", "filig;": "\uFB01", "FilledSmallSquare;": "\u25FC", "FilledVerySmallSquare;": "\u25AA", "fjlig;": "fj", "flat;": "\u266D", "fllig;": "\uFB02", "fltns;": "\u25B1", "fnof;": "\u0192", "Fopf;": "\u{1D53D}", "fopf;": "\u{1D557}", "ForAll;": "\u2200", "forall;": "\u2200", "fork;": "\u22D4", "forkv;": "\u2AD9", "Fouriertrf;": "\u2131", "fpartint;": "\u2A0D", "frac12;": "\xBD", frac12: "\xBD", "frac13;": "\u2153", "frac14;": "\xBC", frac14: "\xBC", "frac15;": "\u2155", "frac16;": "\u2159", "frac18;": "\u215B", "frac23;": "\u2154", "frac25;": "\u2156", "frac34;": "\xBE", frac34: "\xBE", "frac35;": "\u2157", "frac38;": "\u215C", "frac45;": "\u2158", "frac56;": "\u215A", "frac58;": "\u215D", "frac78;": "\u215E", "frasl;": "\u2044", "frown;": "\u2322", "Fscr;": "\u2131", "fscr;": "\u{1D4BB}", "gacute;": "\u01F5", "Gamma;": "\u0393", "gamma;": "\u03B3", "Gammad;": "\u03DC", "gammad;": "\u03DD", "gap;": "\u2A86", "Gbreve;": "\u011E", "gbreve;": "\u011F", "Gcedil;": "\u0122", "Gcirc;": "\u011C", "gcirc;": "\u011D", "Gcy;": "\u0413", "gcy;": "\u0433", "Gdot;": "\u0120", "gdot;": "\u0121", "gE;": "\u2267", "ge;": "\u2265", "gEl;": "\u2A8C", "gel;": "\u22DB", "geq;": "\u2265", "geqq;": "\u2267", "geqslant;": "\u2A7E", "ges;": "\u2A7E", "gescc;": "\u2AA9", "gesdot;": "\u2A80", "gesdoto;": "\u2A82", "gesdotol;": "\u2A84", "gesl;": "\u22DB\uFE00", "gesles;": "\u2A94", "Gfr;": "\u{1D50A}", "gfr;": "\u{1D524}", "Gg;": "\u22D9", "gg;": "\u226B", "ggg;": "\u22D9", "gimel;": "\u2137", "GJcy;": "\u0403", "gjcy;": "\u0453", "gl;": "\u2277", "gla;": "\u2AA5", "glE;": "\u2A92", "glj;": "\u2AA4", "gnap;": "\u2A8A", "gnapprox;": "\u2A8A", "gnE;": "\u2269", "gne;": "\u2A88", "gneq;": "\u2A88", "gneqq;": "\u2269", "gnsim;": "\u22E7", "Gopf;": "\u{1D53E}", "gopf;": "\u{1D558}", "grave;": "`", "GreaterEqual;": "\u2265", "GreaterEqualLess;": "\u22DB", "GreaterFullEqual;": "\u2267", "GreaterGreater;": "\u2AA2", "GreaterLess;": "\u2277", "GreaterSlantEqual;": "\u2A7E", "GreaterTilde;": "\u2273", "Gscr;": "\u{1D4A2}", "gscr;": "\u210A", "gsim;": "\u2273", "gsime;": "\u2A8E", "gsiml;": "\u2A90", "GT;": ">", GT: ">", "Gt;": "\u226B", "gt;": ">", gt: ">", "gtcc;": "\u2AA7", "gtcir;": "\u2A7A", "gtdot;": "\u22D7", "gtlPar;": "\u2995", "gtquest;": "\u2A7C", "gtrapprox;": "\u2A86", "gtrarr;": "\u2978", "gtrdot;": "\u22D7", "gtreqless;": "\u22DB", "gtreqqless;": "\u2A8C", "gtrless;": "\u2277", "gtrsim;": "\u2273", "gvertneqq;": "\u2269\uFE00", "gvnE;": "\u2269\uFE00", "Hacek;": "\u02C7", "hairsp;": "\u200A", "half;": "\xBD", "hamilt;": "\u210B", "HARDcy;": "\u042A", "hardcy;": "\u044A", "hArr;": "\u21D4", "harr;": "\u2194", "harrcir;": "\u2948", "harrw;": "\u21AD", "Hat;": "^", "hbar;": "\u210F", "Hcirc;": "\u0124", "hcirc;": "\u0125", "hearts;": "\u2665", "heartsuit;": "\u2665", "hellip;": "\u2026", "hercon;": "\u22B9", "Hfr;": "\u210C", "hfr;": "\u{1D525}", "HilbertSpace;": "\u210B", "hksearow;": "\u2925", "hkswarow;": "\u2926", "hoarr;": "\u21FF", "homtht;": "\u223B", "hookleftarrow;": "\u21A9", "hookrightarrow;": "\u21AA", "Hopf;": "\u210D", "hopf;": "\u{1D559}", "horbar;": "\u2015", "HorizontalLine;": "\u2500", "Hscr;": "\u210B", "hscr;": "\u{1D4BD}", "hslash;": "\u210F", "Hstrok;": "\u0126", "hstrok;": "\u0127", "HumpDownHump;": "\u224E", "HumpEqual;": "\u224F", "hybull;": "\u2043", "hyphen;": "\u2010", "Iacute;": "\xCD", Iacute: "\xCD", "iacute;": "\xED", iacute: "\xED", "ic;": "\u2063", "Icirc;": "\xCE", Icirc: "\xCE", "icirc;": "\xEE", icirc: "\xEE", "Icy;": "\u0418", "icy;": "\u0438", "Idot;": "\u0130", "IEcy;": "\u0415", "iecy;": "\u0435", "iexcl;": "\xA1", iexcl: "\xA1", "iff;": "\u21D4", "Ifr;": "\u2111", "ifr;": "\u{1D526}", "Igrave;": "\xCC", Igrave: "\xCC", "igrave;": "\xEC", igrave: "\xEC", "ii;": "\u2148", "iiiint;": "\u2A0C", "iiint;": "\u222D", "iinfin;": "\u29DC", "iiota;": "\u2129", "IJlig;": "\u0132", "ijlig;": "\u0133", "Im;": "\u2111", "Imacr;": "\u012A", "imacr;": "\u012B", "image;": "\u2111", "ImaginaryI;": "\u2148", "imagline;": "\u2110", "imagpart;": "\u2111", "imath;": "\u0131", "imof;": "\u22B7", "imped;": "\u01B5", "Implies;": "\u21D2", "in;": "\u2208", "incare;": "\u2105", "infin;": "\u221E", "infintie;": "\u29DD", "inodot;": "\u0131", "Int;": "\u222C", "int;": "\u222B", "intcal;": "\u22BA", "integers;": "\u2124", "Integral;": "\u222B", "intercal;": "\u22BA", "Intersection;": "\u22C2", "intlarhk;": "\u2A17", "intprod;": "\u2A3C", "InvisibleComma;": "\u2063", "InvisibleTimes;": "\u2062", "IOcy;": "\u0401", "iocy;": "\u0451", "Iogon;": "\u012E", "iogon;": "\u012F", "Iopf;": "\u{1D540}", "iopf;": "\u{1D55A}", "Iota;": "\u0399", "iota;": "\u03B9", "iprod;": "\u2A3C", "iquest;": "\xBF", iquest: "\xBF", "Iscr;": "\u2110", "iscr;": "\u{1D4BE}", "isin;": "\u2208", "isindot;": "\u22F5", "isinE;": "\u22F9", "isins;": "\u22F4", "isinsv;": "\u22F3", "isinv;": "\u2208", "it;": "\u2062", "Itilde;": "\u0128", "itilde;": "\u0129", "Iukcy;": "\u0406", "iukcy;": "\u0456", "Iuml;": "\xCF", Iuml: "\xCF", "iuml;": "\xEF", iuml: "\xEF", "Jcirc;": "\u0134", "jcirc;": "\u0135", "Jcy;": "\u0419", "jcy;": "\u0439", "Jfr;": "\u{1D50D}", "jfr;": "\u{1D527}", "jmath;": "\u0237", "Jopf;": "\u{1D541}", "jopf;": "\u{1D55B}", "Jscr;": "\u{1D4A5}", "jscr;": "\u{1D4BF}", "Jsercy;": "\u0408", "jsercy;": "\u0458", "Jukcy;": "\u0404", "jukcy;": "\u0454", "Kappa;": "\u039A", "kappa;": "\u03BA", "kappav;": "\u03F0", "Kcedil;": "\u0136", "kcedil;": "\u0137", "Kcy;": "\u041A", "kcy;": "\u043A", "Kfr;": "\u{1D50E}", "kfr;": "\u{1D528}", "kgreen;": "\u0138", "KHcy;": "\u0425", "khcy;": "\u0445", "KJcy;": "\u040C", "kjcy;": "\u045C", "Kopf;": "\u{1D542}", "kopf;": "\u{1D55C}", "Kscr;": "\u{1D4A6}", "kscr;": "\u{1D4C0}", "lAarr;": "\u21DA", "Lacute;": "\u0139", "lacute;": "\u013A", "laemptyv;": "\u29B4", "lagran;": "\u2112", "Lambda;": "\u039B", "lambda;": "\u03BB", "Lang;": "\u27EA", "lang;": "\u27E8", "langd;": "\u2991", "langle;": "\u27E8", "lap;": "\u2A85", "Laplacetrf;": "\u2112", "laquo;": "\xAB", laquo: "\xAB", "Larr;": "\u219E", "lArr;": "\u21D0", "larr;": "\u2190", "larrb;": "\u21E4", "larrbfs;": "\u291F", "larrfs;": "\u291D", "larrhk;": "\u21A9", "larrlp;": "\u21AB", "larrpl;": "\u2939", "larrsim;": "\u2973", "larrtl;": "\u21A2", "lat;": "\u2AAB", "lAtail;": "\u291B", "latail;": "\u2919", "late;": "\u2AAD", "lates;": "\u2AAD\uFE00", "lBarr;": "\u290E", "lbarr;": "\u290C", "lbbrk;": "\u2772", "lbrace;": "{", "lbrack;": "[", "lbrke;": "\u298B", "lbrksld;": "\u298F", "lbrkslu;": "\u298D", "Lcaron;": "\u013D", "lcaron;": "\u013E", "Lcedil;": "\u013B", "lcedil;": "\u013C", "lceil;": "\u2308", "lcub;": "{", "Lcy;": "\u041B", "lcy;": "\u043B", "ldca;": "\u2936", "ldquo;": "\u201C", "ldquor;": "\u201E", "ldrdhar;": "\u2967", "ldrushar;": "\u294B", "ldsh;": "\u21B2", "lE;": "\u2266", "le;": "\u2264", "LeftAngleBracket;": "\u27E8", "LeftArrow;": "\u2190", "Leftarrow;": "\u21D0", "leftarrow;": "\u2190", "LeftArrowBar;": "\u21E4", "LeftArrowRightArrow;": "\u21C6", "leftarrowtail;": "\u21A2", "LeftCeiling;": "\u2308", "LeftDoubleBracket;": "\u27E6", "LeftDownTeeVector;": "\u2961", "LeftDownVector;": "\u21C3", "LeftDownVectorBar;": "\u2959", "LeftFloor;": "\u230A", "leftharpoondown;": "\u21BD", "leftharpoonup;": "\u21BC", "leftleftarrows;": "\u21C7", "LeftRightArrow;": "\u2194", "Leftrightarrow;": "\u21D4", "leftrightarrow;": "\u2194", "leftrightarrows;": "\u21C6", "leftrightharpoons;": "\u21CB", "leftrightsquigarrow;": "\u21AD", "LeftRightVector;": "\u294E", "LeftTee;": "\u22A3", "LeftTeeArrow;": "\u21A4", "LeftTeeVector;": "\u295A", "leftthreetimes;": "\u22CB", "LeftTriangle;": "\u22B2", "LeftTriangleBar;": "\u29CF", "LeftTriangleEqual;": "\u22B4", "LeftUpDownVector;": "\u2951", "LeftUpTeeVector;": "\u2960", "LeftUpVector;": "\u21BF", "LeftUpVectorBar;": "\u2958", "LeftVector;": "\u21BC", "LeftVectorBar;": "\u2952", "lEg;": "\u2A8B", "leg;": "\u22DA", "leq;": "\u2264", "leqq;": "\u2266", "leqslant;": "\u2A7D", "les;": "\u2A7D", "lescc;": "\u2AA8", "lesdot;": "\u2A7F", "lesdoto;": "\u2A81", "lesdotor;": "\u2A83", "lesg;": "\u22DA\uFE00", "lesges;": "\u2A93", "lessapprox;": "\u2A85", "lessdot;": "\u22D6", "lesseqgtr;": "\u22DA", "lesseqqgtr;": "\u2A8B", "LessEqualGreater;": "\u22DA", "LessFullEqual;": "\u2266", "LessGreater;": "\u2276", "lessgtr;": "\u2276", "LessLess;": "\u2AA1", "lesssim;": "\u2272", "LessSlantEqual;": "\u2A7D", "LessTilde;": "\u2272", "lfisht;": "\u297C", "lfloor;": "\u230A", "Lfr;": "\u{1D50F}", "lfr;": "\u{1D529}", "lg;": "\u2276", "lgE;": "\u2A91", "lHar;": "\u2962", "lhard;": "\u21BD", "lharu;": "\u21BC", "lharul;": "\u296A", "lhblk;": "\u2584", "LJcy;": "\u0409", "ljcy;": "\u0459", "Ll;": "\u22D8", "ll;": "\u226A", "llarr;": "\u21C7", "llcorner;": "\u231E", "Lleftarrow;": "\u21DA", "llhard;": "\u296B", "lltri;": "\u25FA", "Lmidot;": "\u013F", "lmidot;": "\u0140", "lmoust;": "\u23B0", "lmoustache;": "\u23B0", "lnap;": "\u2A89", "lnapprox;": "\u2A89", "lnE;": "\u2268", "lne;": "\u2A87", "lneq;": "\u2A87", "lneqq;": "\u2268", "lnsim;": "\u22E6", "loang;": "\u27EC", "loarr;": "\u21FD", "lobrk;": "\u27E6", "LongLeftArrow;": "\u27F5", "Longleftarrow;": "\u27F8", "longleftarrow;": "\u27F5", "LongLeftRightArrow;": "\u27F7", "Longleftrightarrow;": "\u27FA", "longleftrightarrow;": "\u27F7", "longmapsto;": "\u27FC", "LongRightArrow;": "\u27F6", "Longrightarrow;": "\u27F9", "longrightarrow;": "\u27F6", "looparrowleft;": "\u21AB", "looparrowright;": "\u21AC", "lopar;": "\u2985", "Lopf;": "\u{1D543}", "lopf;": "\u{1D55D}", "loplus;": "\u2A2D", "lotimes;": "\u2A34", "lowast;": "\u2217", "lowbar;": "_", "LowerLeftArrow;": "\u2199", "LowerRightArrow;": "\u2198", "loz;": "\u25CA", "lozenge;": "\u25CA", "lozf;": "\u29EB", "lpar;": "(", "lparlt;": "\u2993", "lrarr;": "\u21C6", "lrcorner;": "\u231F", "lrhar;": "\u21CB", "lrhard;": "\u296D", "lrm;": "\u200E", "lrtri;": "\u22BF", "lsaquo;": "\u2039", "Lscr;": "\u2112", "lscr;": "\u{1D4C1}", "Lsh;": "\u21B0", "lsh;": "\u21B0", "lsim;": "\u2272", "lsime;": "\u2A8D", "lsimg;": "\u2A8F", "lsqb;": "[", "lsquo;": "\u2018", "lsquor;": "\u201A", "Lstrok;": "\u0141", "lstrok;": "\u0142", "LT;": "<", LT: "<", "Lt;": "\u226A", "lt;": "<", lt: "<", "ltcc;": "\u2AA6", "ltcir;": "\u2A79", "ltdot;": "\u22D6", "lthree;": "\u22CB", "ltimes;": "\u22C9", "ltlarr;": "\u2976", "ltquest;": "\u2A7B", "ltri;": "\u25C3", "ltrie;": "\u22B4", "ltrif;": "\u25C2", "ltrPar;": "\u2996", "lurdshar;": "\u294A", "luruhar;": "\u2966", "lvertneqq;": "\u2268\uFE00", "lvnE;": "\u2268\uFE00", "macr;": "\xAF", macr: "\xAF", "male;": "\u2642", "malt;": "\u2720", "maltese;": "\u2720", "Map;": "\u2905", "map;": "\u21A6", "mapsto;": "\u21A6", "mapstodown;": "\u21A7", "mapstoleft;": "\u21A4", "mapstoup;": "\u21A5", "marker;": "\u25AE", "mcomma;": "\u2A29", "Mcy;": "\u041C", "mcy;": "\u043C", "mdash;": "\u2014", "mDDot;": "\u223A", "measuredangle;": "\u2221", "MediumSpace;": "\u205F", "Mellintrf;": "\u2133", "Mfr;": "\u{1D510}", "mfr;": "\u{1D52A}", "mho;": "\u2127", "micro;": "\xB5", micro: "\xB5", "mid;": "\u2223", "midast;": "*", "midcir;": "\u2AF0", "middot;": "\xB7", middot: "\xB7", "minus;": "\u2212", "minusb;": "\u229F", "minusd;": "\u2238", "minusdu;": "\u2A2A", "MinusPlus;": "\u2213", "mlcp;": "\u2ADB", "mldr;": "\u2026", "mnplus;": "\u2213", "models;": "\u22A7", "Mopf;": "\u{1D544}", "mopf;": "\u{1D55E}", "mp;": "\u2213", "Mscr;": "\u2133", "mscr;": "\u{1D4C2}", "mstpos;": "\u223E", "Mu;": "\u039C", "mu;": "\u03BC", "multimap;": "\u22B8", "mumap;": "\u22B8", "nabla;": "\u2207", "Nacute;": "\u0143", "nacute;": "\u0144", "nang;": "\u2220\u20D2", "nap;": "\u2249", "napE;": "\u2A70\u0338", "napid;": "\u224B\u0338", "napos;": "\u0149", "napprox;": "\u2249", "natur;": "\u266E", "natural;": "\u266E", "naturals;": "\u2115", "nbsp;": "\xA0", nbsp: "\xA0", "nbump;": "\u224E\u0338", "nbumpe;": "\u224F\u0338", "ncap;": "\u2A43", "Ncaron;": "\u0147", "ncaron;": "\u0148", "Ncedil;": "\u0145", "ncedil;": "\u0146", "ncong;": "\u2247", "ncongdot;": "\u2A6D\u0338", "ncup;": "\u2A42", "Ncy;": "\u041D", "ncy;": "\u043D", "ndash;": "\u2013", "ne;": "\u2260", "nearhk;": "\u2924", "neArr;": "\u21D7", "nearr;": "\u2197", "nearrow;": "\u2197", "nedot;": "\u2250\u0338", "NegativeMediumSpace;": "\u200B", "NegativeThickSpace;": "\u200B", "NegativeThinSpace;": "\u200B", "NegativeVeryThinSpace;": "\u200B", "nequiv;": "\u2262", "nesear;": "\u2928", "nesim;": "\u2242\u0338", "NestedGreaterGreater;": "\u226B", "NestedLessLess;": "\u226A", "NewLine;": "\n", "nexist;": "\u2204", "nexists;": "\u2204", "Nfr;": "\u{1D511}", "nfr;": "\u{1D52B}", "ngE;": "\u2267\u0338", "nge;": "\u2271", "ngeq;": "\u2271", "ngeqq;": "\u2267\u0338", "ngeqslant;": "\u2A7E\u0338", "nges;": "\u2A7E\u0338", "nGg;": "\u22D9\u0338", "ngsim;": "\u2275", "nGt;": "\u226B\u20D2", "ngt;": "\u226F", "ngtr;": "\u226F", "nGtv;": "\u226B\u0338", "nhArr;": "\u21CE", "nharr;": "\u21AE", "nhpar;": "\u2AF2", "ni;": "\u220B", "nis;": "\u22FC", "nisd;": "\u22FA", "niv;": "\u220B", "NJcy;": "\u040A", "njcy;": "\u045A", "nlArr;": "\u21CD", "nlarr;": "\u219A", "nldr;": "\u2025", "nlE;": "\u2266\u0338", "nle;": "\u2270", "nLeftarrow;": "\u21CD", "nleftarrow;": "\u219A", "nLeftrightarrow;": "\u21CE", "nleftrightarrow;": "\u21AE", "nleq;": "\u2270", "nleqq;": "\u2266\u0338", "nleqslant;": "\u2A7D\u0338", "nles;": "\u2A7D\u0338", "nless;": "\u226E", "nLl;": "\u22D8\u0338", "nlsim;": "\u2274", "nLt;": "\u226A\u20D2", "nlt;": "\u226E", "nltri;": "\u22EA", "nltrie;": "\u22EC", "nLtv;": "\u226A\u0338", "nmid;": "\u2224", "NoBreak;": "\u2060", "NonBreakingSpace;": "\xA0", "Nopf;": "\u2115", "nopf;": "\u{1D55F}", "Not;": "\u2AEC", "not;": "\xAC", not: "\xAC", "NotCongruent;": "\u2262", "NotCupCap;": "\u226D", "NotDoubleVerticalBar;": "\u2226", "NotElement;": "\u2209", "NotEqual;": "\u2260", "NotEqualTilde;": "\u2242\u0338", "NotExists;": "\u2204", "NotGreater;": "\u226F", "NotGreaterEqual;": "\u2271", "NotGreaterFullEqual;": "\u2267\u0338", "NotGreaterGreater;": "\u226B\u0338", "NotGreaterLess;": "\u2279", "NotGreaterSlantEqual;": "\u2A7E\u0338", "NotGreaterTilde;": "\u2275", "NotHumpDownHump;": "\u224E\u0338", "NotHumpEqual;": "\u224F\u0338", "notin;": "\u2209", "notindot;": "\u22F5\u0338", "notinE;": "\u22F9\u0338", "notinva;": "\u2209", "notinvb;": "\u22F7", "notinvc;": "\u22F6", "NotLeftTriangle;": "\u22EA", "NotLeftTriangleBar;": "\u29CF\u0338", "NotLeftTriangleEqual;": "\u22EC", "NotLess;": "\u226E", "NotLessEqual;": "\u2270", "NotLessGreater;": "\u2278", "NotLessLess;": "\u226A\u0338", "NotLessSlantEqual;": "\u2A7D\u0338", "NotLessTilde;": "\u2274", "NotNestedGreaterGreater;": "\u2AA2\u0338", "NotNestedLessLess;": "\u2AA1\u0338", "notni;": "\u220C", "notniva;": "\u220C", "notnivb;": "\u22FE", "notnivc;": "\u22FD", "NotPrecedes;": "\u2280", "NotPrecedesEqual;": "\u2AAF\u0338", "NotPrecedesSlantEqual;": "\u22E0", "NotReverseElement;": "\u220C", "NotRightTriangle;": "\u22EB", "NotRightTriangleBar;": "\u29D0\u0338", "NotRightTriangleEqual;": "\u22ED", "NotSquareSubset;": "\u228F\u0338", "NotSquareSubsetEqual;": "\u22E2", "NotSquareSuperset;": "\u2290\u0338", "NotSquareSupersetEqual;": "\u22E3", "NotSubset;": "\u2282\u20D2", "NotSubsetEqual;": "\u2288", "NotSucceeds;": "\u2281", "NotSucceedsEqual;": "\u2AB0\u0338", "NotSucceedsSlantEqual;": "\u22E1", "NotSucceedsTilde;": "\u227F\u0338", "NotSuperset;": "\u2283\u20D2", "NotSupersetEqual;": "\u2289", "NotTilde;": "\u2241", "NotTildeEqual;": "\u2244", "NotTildeFullEqual;": "\u2247", "NotTildeTilde;": "\u2249", "NotVerticalBar;": "\u2224", "npar;": "\u2226", "nparallel;": "\u2226", "nparsl;": "\u2AFD\u20E5", "npart;": "\u2202\u0338", "npolint;": "\u2A14", "npr;": "\u2280", "nprcue;": "\u22E0", "npre;": "\u2AAF\u0338", "nprec;": "\u2280", "npreceq;": "\u2AAF\u0338", "nrArr;": "\u21CF", "nrarr;": "\u219B", "nrarrc;": "\u2933\u0338", "nrarrw;": "\u219D\u0338", "nRightarrow;": "\u21CF", "nrightarrow;": "\u219B", "nrtri;": "\u22EB", "nrtrie;": "\u22ED", "nsc;": "\u2281", "nsccue;": "\u22E1", "nsce;": "\u2AB0\u0338", "Nscr;": "\u{1D4A9}", "nscr;": "\u{1D4C3}", "nshortmid;": "\u2224", "nshortparallel;": "\u2226", "nsim;": "\u2241", "nsime;": "\u2244", "nsimeq;": "\u2244", "nsmid;": "\u2224", "nspar;": "\u2226", "nsqsube;": "\u22E2", "nsqsupe;": "\u22E3", "nsub;": "\u2284", "nsubE;": "\u2AC5\u0338", "nsube;": "\u2288", "nsubset;": "\u2282\u20D2", "nsubseteq;": "\u2288", "nsubseteqq;": "\u2AC5\u0338", "nsucc;": "\u2281", "nsucceq;": "\u2AB0\u0338", "nsup;": "\u2285", "nsupE;": "\u2AC6\u0338", "nsupe;": "\u2289", "nsupset;": "\u2283\u20D2", "nsupseteq;": "\u2289", "nsupseteqq;": "\u2AC6\u0338", "ntgl;": "\u2279", "Ntilde;": "\xD1", Ntilde: "\xD1", "ntilde;": "\xF1", ntilde: "\xF1", "ntlg;": "\u2278", "ntriangleleft;": "\u22EA", "ntrianglelefteq;": "\u22EC", "ntriangleright;": "\u22EB", "ntrianglerighteq;": "\u22ED", "Nu;": "\u039D", "nu;": "\u03BD", "num;": "#", "numero;": "\u2116", "numsp;": "\u2007", "nvap;": "\u224D\u20D2", "nVDash;": "\u22AF", "nVdash;": "\u22AE", "nvDash;": "\u22AD", "nvdash;": "\u22AC", "nvge;": "\u2265\u20D2", "nvgt;": ">\u20D2", "nvHarr;": "\u2904", "nvinfin;": "\u29DE", "nvlArr;": "\u2902", "nvle;": "\u2264\u20D2", "nvlt;": "<\u20D2", "nvltrie;": "\u22B4\u20D2", "nvrArr;": "\u2903", "nvrtrie;": "\u22B5\u20D2", "nvsim;": "\u223C\u20D2", "nwarhk;": "\u2923", "nwArr;": "\u21D6", "nwarr;": "\u2196", "nwarrow;": "\u2196", "nwnear;": "\u2927", "Oacute;": "\xD3", Oacute: "\xD3", "oacute;": "\xF3", oacute: "\xF3", "oast;": "\u229B", "ocir;": "\u229A", "Ocirc;": "\xD4", Ocirc: "\xD4", "ocirc;": "\xF4", ocirc: "\xF4", "Ocy;": "\u041E", "ocy;": "\u043E", "odash;": "\u229D", "Odblac;": "\u0150", "odblac;": "\u0151", "odiv;": "\u2A38", "odot;": "\u2299", "odsold;": "\u29BC", "OElig;": "\u0152", "oelig;": "\u0153", "ofcir;": "\u29BF", "Ofr;": "\u{1D512}", "ofr;": "\u{1D52C}", "ogon;": "\u02DB", "Ograve;": "\xD2", Ograve: "\xD2", "ograve;": "\xF2", ograve: "\xF2", "ogt;": "\u29C1", "ohbar;": "\u29B5", "ohm;": "\u03A9", "oint;": "\u222E", "olarr;": "\u21BA", "olcir;": "\u29BE", "olcross;": "\u29BB", "oline;": "\u203E", "olt;": "\u29C0", "Omacr;": "\u014C", "omacr;": "\u014D", "Omega;": "\u03A9", "omega;": "\u03C9", "Omicron;": "\u039F", "omicron;": "\u03BF", "omid;": "\u29B6", "ominus;": "\u2296", "Oopf;": "\u{1D546}", "oopf;": "\u{1D560}", "opar;": "\u29B7", "OpenCurlyDoubleQuote;": "\u201C", "OpenCurlyQuote;": "\u2018", "operp;": "\u29B9", "oplus;": "\u2295", "Or;": "\u2A54", "or;": "\u2228", "orarr;": "\u21BB", "ord;": "\u2A5D", "order;": "\u2134", "orderof;": "\u2134", "ordf;": "\xAA", ordf: "\xAA", "ordm;": "\xBA", ordm: "\xBA", "origof;": "\u22B6", "oror;": "\u2A56", "orslope;": "\u2A57", "orv;": "\u2A5B", "oS;": "\u24C8", "Oscr;": "\u{1D4AA}", "oscr;": "\u2134", "Oslash;": "\xD8", Oslash: "\xD8", "oslash;": "\xF8", oslash: "\xF8", "osol;": "\u2298", "Otilde;": "\xD5", Otilde: "\xD5", "otilde;": "\xF5", otilde: "\xF5", "Otimes;": "\u2A37", "otimes;": "\u2297", "otimesas;": "\u2A36", "Ouml;": "\xD6", Ouml: "\xD6", "ouml;": "\xF6", ouml: "\xF6", "ovbar;": "\u233D", "OverBar;": "\u203E", "OverBrace;": "\u23DE", "OverBracket;": "\u23B4", "OverParenthesis;": "\u23DC", "par;": "\u2225", "para;": "\xB6", para: "\xB6", "parallel;": "\u2225", "parsim;": "\u2AF3", "parsl;": "\u2AFD", "part;": "\u2202", "PartialD;": "\u2202", "Pcy;": "\u041F", "pcy;": "\u043F", "percnt;": "%", "period;": ".", "permil;": "\u2030", "perp;": "\u22A5", "pertenk;": "\u2031", "Pfr;": "\u{1D513}", "pfr;": "\u{1D52D}", "Phi;": "\u03A6", "phi;": "\u03C6", "phiv;": "\u03D5", "phmmat;": "\u2133", "phone;": "\u260E", "Pi;": "\u03A0", "pi;": "\u03C0", "pitchfork;": "\u22D4", "piv;": "\u03D6", "planck;": "\u210F", "planckh;": "\u210E", "plankv;": "\u210F", "plus;": "+", "plusacir;": "\u2A23", "plusb;": "\u229E", "pluscir;": "\u2A22", "plusdo;": "\u2214", "plusdu;": "\u2A25", "pluse;": "\u2A72", "PlusMinus;": "\xB1", "plusmn;": "\xB1", plusmn: "\xB1", "plussim;": "\u2A26", "plustwo;": "\u2A27", "pm;": "\xB1", "Poincareplane;": "\u210C", "pointint;": "\u2A15", "Popf;": "\u2119", "popf;": "\u{1D561}", "pound;": "\xA3", pound: "\xA3", "Pr;": "\u2ABB", "pr;": "\u227A", "prap;": "\u2AB7", "prcue;": "\u227C", "prE;": "\u2AB3", "pre;": "\u2AAF", "prec;": "\u227A", "precapprox;": "\u2AB7", "preccurlyeq;": "\u227C", "Precedes;": "\u227A", "PrecedesEqual;": "\u2AAF", "PrecedesSlantEqual;": "\u227C", "PrecedesTilde;": "\u227E", "preceq;": "\u2AAF", "precnapprox;": "\u2AB9", "precneqq;": "\u2AB5", "precnsim;": "\u22E8", "precsim;": "\u227E", "Prime;": "\u2033", "prime;": "\u2032", "primes;": "\u2119", "prnap;": "\u2AB9", "prnE;": "\u2AB5", "prnsim;": "\u22E8", "prod;": "\u220F", "Product;": "\u220F", "profalar;": "\u232E", "profline;": "\u2312", "profsurf;": "\u2313", "prop;": "\u221D", "Proportion;": "\u2237", "Proportional;": "\u221D", "propto;": "\u221D", "prsim;": "\u227E", "prurel;": "\u22B0", "Pscr;": "\u{1D4AB}", "pscr;": "\u{1D4C5}", "Psi;": "\u03A8", "psi;": "\u03C8", "puncsp;": "\u2008", "Qfr;": "\u{1D514}", "qfr;": "\u{1D52E}", "qint;": "\u2A0C", "Qopf;": "\u211A", "qopf;": "\u{1D562}", "qprime;": "\u2057", "Qscr;": "\u{1D4AC}", "qscr;": "\u{1D4C6}", "quaternions;": "\u210D", "quatint;": "\u2A16", "quest;": "?", "questeq;": "\u225F", "QUOT;": '"', QUOT: '"', "quot;": '"', quot: '"', "rAarr;": "\u21DB", "race;": "\u223D\u0331", "Racute;": "\u0154", "racute;": "\u0155", "radic;": "\u221A", "raemptyv;": "\u29B3", "Rang;": "\u27EB", "rang;": "\u27E9", "rangd;": "\u2992", "range;": "\u29A5", "rangle;": "\u27E9", "raquo;": "\xBB", raquo: "\xBB", "Rarr;": "\u21A0", "rArr;": "\u21D2", "rarr;": "\u2192", "rarrap;": "\u2975", "rarrb;": "\u21E5", "rarrbfs;": "\u2920", "rarrc;": "\u2933", "rarrfs;": "\u291E", "rarrhk;": "\u21AA", "rarrlp;": "\u21AC", "rarrpl;": "\u2945", "rarrsim;": "\u2974", "Rarrtl;": "\u2916", "rarrtl;": "\u21A3", "rarrw;": "\u219D", "rAtail;": "\u291C", "ratail;": "\u291A", "ratio;": "\u2236", "rationals;": "\u211A", "RBarr;": "\u2910", "rBarr;": "\u290F", "rbarr;": "\u290D", "rbbrk;": "\u2773", "rbrace;": "}", "rbrack;": "]", "rbrke;": "\u298C", "rbrksld;": "\u298E", "rbrkslu;": "\u2990", "Rcaron;": "\u0158", "rcaron;": "\u0159", "Rcedil;": "\u0156", "rcedil;": "\u0157", "rceil;": "\u2309", "rcub;": "}", "Rcy;": "\u0420", "rcy;": "\u0440", "rdca;": "\u2937", "rdldhar;": "\u2969", "rdquo;": "\u201D", "rdquor;": "\u201D", "rdsh;": "\u21B3", "Re;": "\u211C", "real;": "\u211C", "realine;": "\u211B", "realpart;": "\u211C", "reals;": "\u211D", "rect;": "\u25AD", "REG;": "\xAE", REG: "\xAE", "reg;": "\xAE", reg: "\xAE", "ReverseElement;": "\u220B", "ReverseEquilibrium;": "\u21CB", "ReverseUpEquilibrium;": "\u296F", "rfisht;": "\u297D", "rfloor;": "\u230B", "Rfr;": "\u211C", "rfr;": "\u{1D52F}", "rHar;": "\u2964", "rhard;": "\u21C1", "rharu;": "\u21C0", "rharul;": "\u296C", "Rho;": "\u03A1", "rho;": "\u03C1", "rhov;": "\u03F1", "RightAngleBracket;": "\u27E9", "RightArrow;": "\u2192", "Rightarrow;": "\u21D2", "rightarrow;": "\u2192", "RightArrowBar;": "\u21E5", "RightArrowLeftArrow;": "\u21C4", "rightarrowtail;": "\u21A3", "RightCeiling;": "\u2309", "RightDoubleBracket;": "\u27E7", "RightDownTeeVector;": "\u295D", "RightDownVector;": "\u21C2", "RightDownVectorBar;": "\u2955", "RightFloor;": "\u230B", "rightharpoondown;": "\u21C1", "rightharpoonup;": "\u21C0", "rightleftarrows;": "\u21C4", "rightleftharpoons;": "\u21CC", "rightrightarrows;": "\u21C9", "rightsquigarrow;": "\u219D", "RightTee;": "\u22A2", "RightTeeArrow;": "\u21A6", "RightTeeVector;": "\u295B", "rightthreetimes;": "\u22CC", "RightTriangle;": "\u22B3", "RightTriangleBar;": "\u29D0", "RightTriangleEqual;": "\u22B5", "RightUpDownVector;": "\u294F", "RightUpTeeVector;": "\u295C", "RightUpVector;": "\u21BE", "RightUpVectorBar;": "\u2954", "RightVector;": "\u21C0", "RightVectorBar;": "\u2953", "ring;": "\u02DA", "risingdotseq;": "\u2253", "rlarr;": "\u21C4", "rlhar;": "\u21CC", "rlm;": "\u200F", "rmoust;": "\u23B1", "rmoustache;": "\u23B1", "rnmid;": "\u2AEE", "roang;": "\u27ED", "roarr;": "\u21FE", "robrk;": "\u27E7", "ropar;": "\u2986", "Ropf;": "\u211D", "ropf;": "\u{1D563}", "roplus;": "\u2A2E", "rotimes;": "\u2A35", "RoundImplies;": "\u2970", "rpar;": ")", "rpargt;": "\u2994", "rppolint;": "\u2A12", "rrarr;": "\u21C9", "Rrightarrow;": "\u21DB", "rsaquo;": "\u203A", "Rscr;": "\u211B", "rscr;": "\u{1D4C7}", "Rsh;": "\u21B1", "rsh;": "\u21B1", "rsqb;": "]", "rsquo;": "\u2019", "rsquor;": "\u2019", "rthree;": "\u22CC", "rtimes;": "\u22CA", "rtri;": "\u25B9", "rtrie;": "\u22B5", "rtrif;": "\u25B8", "rtriltri;": "\u29CE", "RuleDelayed;": "\u29F4", "ruluhar;": "\u2968", "rx;": "\u211E", "Sacute;": "\u015A", "sacute;": "\u015B", "sbquo;": "\u201A", "Sc;": "\u2ABC", "sc;": "\u227B", "scap;": "\u2AB8", "Scaron;": "\u0160", "scaron;": "\u0161", "sccue;": "\u227D", "scE;": "\u2AB4", "sce;": "\u2AB0", "Scedil;": "\u015E", "scedil;": "\u015F", "Scirc;": "\u015C", "scirc;": "\u015D", "scnap;": "\u2ABA", "scnE;": "\u2AB6", "scnsim;": "\u22E9", "scpolint;": "\u2A13", "scsim;": "\u227F", "Scy;": "\u0421", "scy;": "\u0441", "sdot;": "\u22C5", "sdotb;": "\u22A1", "sdote;": "\u2A66", "searhk;": "\u2925", "seArr;": "\u21D8", "searr;": "\u2198", "searrow;": "\u2198", "sect;": "\xA7", sect: "\xA7", "semi;": ";", "seswar;": "\u2929", "setminus;": "\u2216", "setmn;": "\u2216", "sext;": "\u2736", "Sfr;": "\u{1D516}", "sfr;": "\u{1D530}", "sfrown;": "\u2322", "sharp;": "\u266F", "SHCHcy;": "\u0429", "shchcy;": "\u0449", "SHcy;": "\u0428", "shcy;": "\u0448", "ShortDownArrow;": "\u2193", "ShortLeftArrow;": "\u2190", "shortmid;": "\u2223", "shortparallel;": "\u2225", "ShortRightArrow;": "\u2192", "ShortUpArrow;": "\u2191", "shy;": "\xAD", shy: "\xAD", "Sigma;": "\u03A3", "sigma;": "\u03C3", "sigmaf;": "\u03C2", "sigmav;": "\u03C2", "sim;": "\u223C", "simdot;": "\u2A6A", "sime;": "\u2243", "simeq;": "\u2243", "simg;": "\u2A9E", "simgE;": "\u2AA0", "siml;": "\u2A9D", "simlE;": "\u2A9F", "simne;": "\u2246", "simplus;": "\u2A24", "simrarr;": "\u2972", "slarr;": "\u2190", "SmallCircle;": "\u2218", "smallsetminus;": "\u2216", "smashp;": "\u2A33", "smeparsl;": "\u29E4", "smid;": "\u2223", "smile;": "\u2323", "smt;": "\u2AAA", "smte;": "\u2AAC", "smtes;": "\u2AAC\uFE00", "SOFTcy;": "\u042C", "softcy;": "\u044C", "sol;": "/", "solb;": "\u29C4", "solbar;": "\u233F", "Sopf;": "\u{1D54A}", "sopf;": "\u{1D564}", "spades;": "\u2660", "spadesuit;": "\u2660", "spar;": "\u2225", "sqcap;": "\u2293", "sqcaps;": "\u2293\uFE00", "sqcup;": "\u2294", "sqcups;": "\u2294\uFE00", "Sqrt;": "\u221A", "sqsub;": "\u228F", "sqsube;": "\u2291", "sqsubset;": "\u228F", "sqsubseteq;": "\u2291", "sqsup;": "\u2290", "sqsupe;": "\u2292", "sqsupset;": "\u2290", "sqsupseteq;": "\u2292", "squ;": "\u25A1", "Square;": "\u25A1", "square;": "\u25A1", "SquareIntersection;": "\u2293", "SquareSubset;": "\u228F", "SquareSubsetEqual;": "\u2291", "SquareSuperset;": "\u2290", "SquareSupersetEqual;": "\u2292", "SquareUnion;": "\u2294", "squarf;": "\u25AA", "squf;": "\u25AA", "srarr;": "\u2192", "Sscr;": "\u{1D4AE}", "sscr;": "\u{1D4C8}", "ssetmn;": "\u2216", "ssmile;": "\u2323", "sstarf;": "\u22C6", "Star;": "\u22C6", "star;": "\u2606", "starf;": "\u2605", "straightepsilon;": "\u03F5", "straightphi;": "\u03D5", "strns;": "\xAF", "Sub;": "\u22D0", "sub;": "\u2282", "subdot;": "\u2ABD", "subE;": "\u2AC5", "sube;": "\u2286", "subedot;": "\u2AC3", "submult;": "\u2AC1", "subnE;": "\u2ACB", "subne;": "\u228A", "subplus;": "\u2ABF", "subrarr;": "\u2979", "Subset;": "\u22D0", "subset;": "\u2282", "subseteq;": "\u2286", "subseteqq;": "\u2AC5", "SubsetEqual;": "\u2286", "subsetneq;": "\u228A", "subsetneqq;": "\u2ACB", "subsim;": "\u2AC7", "subsub;": "\u2AD5", "subsup;": "\u2AD3", "succ;": "\u227B", "succapprox;": "\u2AB8", "succcurlyeq;": "\u227D", "Succeeds;": "\u227B", "SucceedsEqual;": "\u2AB0", "SucceedsSlantEqual;": "\u227D", "SucceedsTilde;": "\u227F", "succeq;": "\u2AB0", "succnapprox;": "\u2ABA", "succneqq;": "\u2AB6", "succnsim;": "\u22E9", "succsim;": "\u227F", "SuchThat;": "\u220B", "Sum;": "\u2211", "sum;": "\u2211", "sung;": "\u266A", "Sup;": "\u22D1", "sup;": "\u2283", "sup1;": "\xB9", sup1: "\xB9", "sup2;": "\xB2", sup2: "\xB2", "sup3;": "\xB3", sup3: "\xB3", "supdot;": "\u2ABE", "supdsub;": "\u2AD8", "supE;": "\u2AC6", "supe;": "\u2287", "supedot;": "\u2AC4", "Superset;": "\u2283", "SupersetEqual;": "\u2287", "suphsol;": "\u27C9", "suphsub;": "\u2AD7", "suplarr;": "\u297B", "supmult;": "\u2AC2", "supnE;": "\u2ACC", "supne;": "\u228B", "supplus;": "\u2AC0", "Supset;": "\u22D1", "supset;": "\u2283", "supseteq;": "\u2287", "supseteqq;": "\u2AC6", "supsetneq;": "\u228B", "supsetneqq;": "\u2ACC", "supsim;": "\u2AC8", "supsub;": "\u2AD4", "supsup;": "\u2AD6", "swarhk;": "\u2926", "swArr;": "\u21D9", "swarr;": "\u2199", "swarrow;": "\u2199", "swnwar;": "\u292A", "szlig;": "\xDF", szlig: "\xDF", "Tab;": " ", "target;": "\u2316", "Tau;": "\u03A4", "tau;": "\u03C4", "tbrk;": "\u23B4", "Tcaron;": "\u0164", "tcaron;": "\u0165", "Tcedil;": "\u0162", "tcedil;": "\u0163", "Tcy;": "\u0422", "tcy;": "\u0442", "tdot;": "\u20DB", "telrec;": "\u2315", "Tfr;": "\u{1D517}", "tfr;": "\u{1D531}", "there4;": "\u2234", "Therefore;": "\u2234", "therefore;": "\u2234", "Theta;": "\u0398", "theta;": "\u03B8", "thetasym;": "\u03D1", "thetav;": "\u03D1", "thickapprox;": "\u2248", "thicksim;": "\u223C", "ThickSpace;": "\u205F\u200A", "thinsp;": "\u2009", "ThinSpace;": "\u2009", "thkap;": "\u2248", "thksim;": "\u223C", "THORN;": "\xDE", THORN: "\xDE", "thorn;": "\xFE", thorn: "\xFE", "Tilde;": "\u223C", "tilde;": "\u02DC", "TildeEqual;": "\u2243", "TildeFullEqual;": "\u2245", "TildeTilde;": "\u2248", "times;": "\xD7", times: "\xD7", "timesb;": "\u22A0", "timesbar;": "\u2A31", "timesd;": "\u2A30", "tint;": "\u222D", "toea;": "\u2928", "top;": "\u22A4", "topbot;": "\u2336", "topcir;": "\u2AF1", "Topf;": "\u{1D54B}", "topf;": "\u{1D565}", "topfork;": "\u2ADA", "tosa;": "\u2929", "tprime;": "\u2034", "TRADE;": "\u2122", "trade;": "\u2122", "triangle;": "\u25B5", "triangledown;": "\u25BF", "triangleleft;": "\u25C3", "trianglelefteq;": "\u22B4", "triangleq;": "\u225C", "triangleright;": "\u25B9", "trianglerighteq;": "\u22B5", "tridot;": "\u25EC", "trie;": "\u225C", "triminus;": "\u2A3A", "TripleDot;": "\u20DB", "triplus;": "\u2A39", "trisb;": "\u29CD", "tritime;": "\u2A3B", "trpezium;": "\u23E2", "Tscr;": "\u{1D4AF}", "tscr;": "\u{1D4C9}", "TScy;": "\u0426", "tscy;": "\u0446", "TSHcy;": "\u040B", "tshcy;": "\u045B", "Tstrok;": "\u0166", "tstrok;": "\u0167", "twixt;": "\u226C", "twoheadleftarrow;": "\u219E", "twoheadrightarrow;": "\u21A0", "Uacute;": "\xDA", Uacute: "\xDA", "uacute;": "\xFA", uacute: "\xFA", "Uarr;": "\u219F", "uArr;": "\u21D1", "uarr;": "\u2191", "Uarrocir;": "\u2949", "Ubrcy;": "\u040E", "ubrcy;": "\u045E", "Ubreve;": "\u016C", "ubreve;": "\u016D", "Ucirc;": "\xDB", Ucirc: "\xDB", "ucirc;": "\xFB", ucirc: "\xFB", "Ucy;": "\u0423", "ucy;": "\u0443", "udarr;": "\u21C5", "Udblac;": "\u0170", "udblac;": "\u0171", "udhar;": "\u296E", "ufisht;": "\u297E", "Ufr;": "\u{1D518}", "ufr;": "\u{1D532}", "Ugrave;": "\xD9", Ugrave: "\xD9", "ugrave;": "\xF9", ugrave: "\xF9", "uHar;": "\u2963", "uharl;": "\u21BF", "uharr;": "\u21BE", "uhblk;": "\u2580", "ulcorn;": "\u231C", "ulcorner;": "\u231C", "ulcrop;": "\u230F", "ultri;": "\u25F8", "Umacr;": "\u016A", "umacr;": "\u016B", "uml;": "\xA8", uml: "\xA8", "UnderBar;": "_", "UnderBrace;": "\u23DF", "UnderBracket;": "\u23B5", "UnderParenthesis;": "\u23DD", "Union;": "\u22C3", "UnionPlus;": "\u228E", "Uogon;": "\u0172", "uogon;": "\u0173", "Uopf;": "\u{1D54C}", "uopf;": "\u{1D566}", "UpArrow;": "\u2191", "Uparrow;": "\u21D1", "uparrow;": "\u2191", "UpArrowBar;": "\u2912", "UpArrowDownArrow;": "\u21C5", "UpDownArrow;": "\u2195", "Updownarrow;": "\u21D5", "updownarrow;": "\u2195", "UpEquilibrium;": "\u296E", "upharpoonleft;": "\u21BF", "upharpoonright;": "\u21BE", "uplus;": "\u228E", "UpperLeftArrow;": "\u2196", "UpperRightArrow;": "\u2197", "Upsi;": "\u03D2", "upsi;": "\u03C5", "upsih;": "\u03D2", "Upsilon;": "\u03A5", "upsilon;": "\u03C5", "UpTee;": "\u22A5", "UpTeeArrow;": "\u21A5", "upuparrows;": "\u21C8", "urcorn;": "\u231D", "urcorner;": "\u231D", "urcrop;": "\u230E", "Uring;": "\u016E", "uring;": "\u016F", "urtri;": "\u25F9", "Uscr;": "\u{1D4B0}", "uscr;": "\u{1D4CA}", "utdot;": "\u22F0", "Utilde;": "\u0168", "utilde;": "\u0169", "utri;": "\u25B5", "utrif;": "\u25B4", "uuarr;": "\u21C8", "Uuml;": "\xDC", Uuml: "\xDC", "uuml;": "\xFC", uuml: "\xFC", "uwangle;": "\u29A7", "vangrt;": "\u299C", "varepsilon;": "\u03F5", "varkappa;": "\u03F0", "varnothing;": "\u2205", "varphi;": "\u03D5", "varpi;": "\u03D6", "varpropto;": "\u221D", "vArr;": "\u21D5", "varr;": "\u2195", "varrho;": "\u03F1", "varsigma;": "\u03C2", "varsubsetneq;": "\u228A\uFE00", "varsubsetneqq;": "\u2ACB\uFE00", "varsupsetneq;": "\u228B\uFE00", "varsupsetneqq;": "\u2ACC\uFE00", "vartheta;": "\u03D1", "vartriangleleft;": "\u22B2", "vartriangleright;": "\u22B3", "Vbar;": "\u2AEB", "vBar;": "\u2AE8", "vBarv;": "\u2AE9", "Vcy;": "\u0412", "vcy;": "\u0432", "VDash;": "\u22AB", "Vdash;": "\u22A9", "vDash;": "\u22A8", "vdash;": "\u22A2", "Vdashl;": "\u2AE6", "Vee;": "\u22C1", "vee;": "\u2228", "veebar;": "\u22BB", "veeeq;": "\u225A", "vellip;": "\u22EE", "Verbar;": "\u2016", "verbar;": "|", "Vert;": "\u2016", "vert;": "|", "VerticalBar;": "\u2223", "VerticalLine;": "|", "VerticalSeparator;": "\u2758", "VerticalTilde;": "\u2240", "VeryThinSpace;": "\u200A", "Vfr;": "\u{1D519}", "vfr;": "\u{1D533}", "vltri;": "\u22B2", "vnsub;": "\u2282\u20D2", "vnsup;": "\u2283\u20D2", "Vopf;": "\u{1D54D}", "vopf;": "\u{1D567}", "vprop;": "\u221D", "vrtri;": "\u22B3", "Vscr;": "\u{1D4B1}", "vscr;": "\u{1D4CB}", "vsubnE;": "\u2ACB\uFE00", "vsubne;": "\u228A\uFE00", "vsupnE;": "\u2ACC\uFE00", "vsupne;": "\u228B\uFE00", "Vvdash;": "\u22AA", "vzigzag;": "\u299A", "Wcirc;": "\u0174", "wcirc;": "\u0175", "wedbar;": "\u2A5F", "Wedge;": "\u22C0", "wedge;": "\u2227", "wedgeq;": "\u2259", "weierp;": "\u2118", "Wfr;": "\u{1D51A}", "wfr;": "\u{1D534}", "Wopf;": "\u{1D54E}", "wopf;": "\u{1D568}", "wp;": "\u2118", "wr;": "\u2240", "wreath;": "\u2240", "Wscr;": "\u{1D4B2}", "wscr;": "\u{1D4CC}", "xcap;": "\u22C2", "xcirc;": "\u25EF", "xcup;": "\u22C3", "xdtri;": "\u25BD", "Xfr;": "\u{1D51B}", "xfr;": "\u{1D535}", "xhArr;": "\u27FA", "xharr;": "\u27F7", "Xi;": "\u039E", "xi;": "\u03BE", "xlArr;": "\u27F8", "xlarr;": "\u27F5", "xmap;": "\u27FC", "xnis;": "\u22FB", "xodot;": "\u2A00", "Xopf;": "\u{1D54F}", "xopf;": "\u{1D569}", "xoplus;": "\u2A01", "xotime;": "\u2A02", "xrArr;": "\u27F9", "xrarr;": "\u27F6", "Xscr;": "\u{1D4B3}", "xscr;": "\u{1D4CD}", "xsqcup;": "\u2A06", "xuplus;": "\u2A04", "xutri;": "\u25B3", "xvee;": "\u22C1", "xwedge;": "\u22C0", "Yacute;": "\xDD", Yacute: "\xDD", "yacute;": "\xFD", yacute: "\xFD", "YAcy;": "\u042F", "yacy;": "\u044F", "Ycirc;": "\u0176", "ycirc;": "\u0177", "Ycy;": "\u042B", "ycy;": "\u044B", "yen;": "\xA5", yen: "\xA5", "Yfr;": "\u{1D51C}", "yfr;": "\u{1D536}", "YIcy;": "\u0407", "yicy;": "\u0457", "Yopf;": "\u{1D550}", "yopf;": "\u{1D56A}", "Yscr;": "\u{1D4B4}", "yscr;": "\u{1D4CE}", "YUcy;": "\u042E", "yucy;": "\u044E", "Yuml;": "\u0178", "yuml;": "\xFF", yuml: "\xFF", "Zacute;": "\u0179", "zacute;": "\u017A", "Zcaron;": "\u017D", "zcaron;": "\u017E", "Zcy;": "\u0417", "zcy;": "\u0437", "Zdot;": "\u017B", "zdot;": "\u017C", "zeetrf;": "\u2128", "ZeroWidthSpace;": "\u200B", "Zeta;": "\u0396", "zeta;": "\u03B6", "Zfr;": "\u2128", "zfr;": "\u{1D537}", "ZHcy;": "\u0416", "zhcy;": "\u0436", "zigrarr;": "\u21DD", "Zopf;": "\u2124", "zopf;": "\u{1D56B}", "Zscr;": "\u{1D4B5}", "zscr;": "\u{1D4CF}", "zwj;": "\u200D", "zwnj;": "\u200C"}; function Fe(e2, t2) { if (e2.length < t2.length) return false; @@ -9397,7 +9397,7 @@ } function We(e2, t2) { for (var n2 = ""; t2 > 0; ) - 1 == (1 & t2) && (n2 += e2), e2 += e2, t2 >>>= 1; + (1 & t2) == 1 && (n2 += e2), e2 += e2, t2 >>>= 1; return n2; } var ze = "a".charCodeAt(0), Be = "z".charCodeAt(0), je = "A".charCodeAt(0), Ve = "Z".charCodeAt(0), Ue = "0".charCodeAt(0), He = "9".charCodeAt(0); @@ -9406,7 +9406,7 @@ return ze <= n2 && n2 <= Be || je <= n2 && n2 <= Ve || Ue <= n2 && n2 <= He; } function $e(e2) { - return void 0 !== e2; + return e2 !== void 0; } var Ke = function() { function e2(e3, t2) { @@ -9448,7 +9448,7 @@ if (e2.description) { var i2 = function(e3) { if (e3) - return "string" == typeof e3 ? {kind: "markdown", value: e3} : {kind: "markdown", value: e3.value}; + return typeof e3 == "string" ? {kind: "markdown", value: e3} : {kind: "markdown", value: e3.value}; }(e2.description); i2 && (n2.value += i2.value); } @@ -9456,7 +9456,7 @@ return "[" + e3.name + "](" + e3.url + ")"; }).join(" | ") : e2.references.map(function(e3) { return e3.name + ": " + e3.url; - }).join("\n")), "" !== n2.value) + }).join("\n")), n2.value !== "") return n2; } var Ye = function(e2, t2, n2, i2) { @@ -9489,7 +9489,7 @@ throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -9515,15 +9515,15 @@ r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -9554,7 +9554,7 @@ (function(e4, t2) { var n2 = tt[e4]; if (n2) - return "string" == typeof n2 ? n2 === t2 : -1 !== n2.indexOf(t2); + return typeof n2 == "string" ? n2 === t2 : n2.indexOf(t2) !== -1; return false; })(e3.tag, e3.attribute) && this.atributeCompletions.push(e3); }, e2.prototype.computeCompletions = function(e3, t2) { @@ -9571,18 +9571,18 @@ return true; }(s2 = function(e4) { return Fe(e4, "'") || Fe(e4, '"') ? e4.slice(1, -1) : e4; - }(e3.getText(r2.range))) ? "." !== s2 && ".." !== s2 ? [3, 2] : (n2.isIncomplete = true, [3, 4]) : [3, 4]) : [3, 5]; + }(e3.getText(r2.range))) ? s2 !== "." && s2 !== ".." ? [3, 2] : (n2.isIncomplete = true, [3, 4]) : [3, 4]) : [3, 5]; case 2: return l2 = function(e4, t3, n3) { var i3, o3 = e4.lastIndexOf("/"); - if (-1 === o3) + if (o3 === -1) i3 = function(e5, t4, n4) { var i4 = et(e5.start, t4), o4 = et(e5.end, n4); return a.create(i4, o4); }(n3, 1, -1); else { var r3 = t3.slice(o3 + 1), s3 = et(n3.end, -1 - r3.length), l3 = r3.indexOf(" "), c3 = void 0; - c3 = -1 !== l3 ? et(s3, l3) : et(n3.end, -1), i3 = a.create(s3, c3); + c3 = l3 !== -1 ? et(s3, l3) : et(n3.end, -1), i3 = a.create(s3, c3); } return i3; }(r2.value, s2, r2.range), [4, this.providePathSuggestions(r2.value, l2, e3, t2)]; @@ -9657,7 +9657,7 @@ throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -9683,15 +9683,15 @@ r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -9745,13 +9745,13 @@ return this.convertCompletionList(o2); }, e2.prototype._doComplete = function(e3, t2, n2, i2) { var o2 = {isIncomplete: false, items: []}, r2 = this.completionParticipants, l2 = this.dataManager.getDataProviders().filter(function(t3) { - return t3.isApplicable(e3.languageId) && (!i2 || false !== i2[t3.getId()]); + return t3.isApplicable(e3.languageId) && (!i2 || i2[t3.getId()] !== false); }), c2 = this.doesSupportMarkdown(), d2 = e3.getText(), h2 = e3.offsetAt(t2), u2 = n2.findNodeBefore(h2); if (!u2) return o2; var p2, m2 = Ie(d2, u2.start), g2 = ""; function f2(t3, n3) { - return void 0 === n3 && (n3 = h2), t3 > h2 && (t3 = h2), {start: e3.positionAt(t3), end: e3.positionAt(n3)}; + return n3 === void 0 && (n3 = h2), t3 > h2 && (t3 = h2), {start: e3.positionAt(t3), end: e3.positionAt(n3)}; } function b2(e4, t3) { var n3 = f2(e4, t3); @@ -9773,13 +9773,13 @@ return d2.substring(0, e4); } function v2(e4, t3, n3) { - void 0 === n3 && (n3 = h2); + n3 === void 0 && (n3 = h2); var i3 = f2(e4, n3), r3 = at(d2, n3, ae.WithinEndTag, se.EndTagClose) ? "" : ">", s2 = u2; for (t3 && (s2 = s2.parent); s2; ) { var a2 = s2.tag; if (a2 && (!s2.closed || s2.endTagStart && s2.endTagStart > h2)) { var p3 = {label: "/" + a2, kind: D.Property, filterText: "/" + a2, textEdit: y.replace(i3, "/" + a2 + r3), insertTextFormat: A.PlainText}, m3 = _2(s2.start), g3 = _2(e4 - 1); - if (null !== m3 && null !== g3 && m3 !== g3) { + if (m3 !== null && g3 !== null && m3 !== g3) { var b3 = m3 + " n3 && h2 <= i3 && (m3 = d2[n3], /^["']*$/.test(m3))) { + if (i3 === void 0 && (i3 = h2), h2 > n3 && h2 <= i3 && (m3 = d2[n3], /^["']*$/.test(m3))) { var b3 = n3 + 1, _3 = i3; i3 > n3 && d2[i3 - 1] === d2[n3] && _3--; var v3 = function(e4, t3, n4) { @@ -9876,10 +9876,10 @@ function T2() { for (var e4, n3, i3, r3 = h2 - 1, l3 = t2.character; r3 >= 0 && qe(d2, r3); ) r3--, l3--; - if (r3 >= 0 && "&" === d2[r3]) { + if (r3 >= 0 && d2[r3] === "&") { var c3 = a.create(s.create(t2.line, l3 - 1), t2); for (var u3 in Pe) - if (n3 = ";", i3 = void 0, (i3 = (e4 = u3).length - n3.length) > 0 ? e4.lastIndexOf(n3) === i3 : 0 === i3 && e4 === n3) { + if (n3 = ";", i3 = void 0, (i3 = (e4 = u3).length - n3.length) > 0 ? e4.lastIndexOf(n3) === i3 : i3 === 0 && e4 === n3) { var p3 = "&" + u3; o2.items.push({label: p3, kind: D.Keyword, documentation: ot("entity.propose", "Character entity representing '" + Pe[u3] + "'"), textEdit: y.replace(c3, p3), insertTextFormat: A.PlainText}); } @@ -9891,7 +9891,7 @@ case se.StartTagOpen: if (m2.getTokenEnd() === h2) { var I2 = k2(se.StartTag); - return 0 === t2.line && (L2 = void 0, L2 = f2(h2, I2), o2.items.push({label: "!DOCTYPE", kind: D.Property, documentation: "A preamble for an HTML document.", textEdit: y.replace(L2, "!DOCTYPE html>"), insertTextFormat: A.PlainText})), C2(h2, I2); + return t2.line === 0 && (L2 = void 0, L2 = f2(h2, I2), o2.items.push({label: "!DOCTYPE", kind: D.Property, documentation: "A preamble for an HTML document.", textEdit: y.replace(L2, "!DOCTYPE html>"), insertTextFormat: A.PlainText})), C2(h2, I2); } break; case se.StartTag: @@ -9938,7 +9938,7 @@ if (h2 <= m2.getTokenEnd()) for (var O2 = m2.getTokenOffset() - 1; O2 >= 0; ) { var R2 = d2.charAt(O2); - if ("/" === R2) + if (R2 === "/") return v2(O2, false, m2.getTokenEnd()); if (!st(R2)) break; @@ -9965,14 +9965,14 @@ if (i2 <= 0) return null; var o2 = e3.getText().charAt(i2 - 1); - if (">" === o2) { + if (o2 === ">") { if ((s2 = n2.findNodeBefore(i2)) && s2.tag && !Ae(s2.tag) && s2.start < i2 && (!s2.endTagStart || s2.endTagStart > i2)) for (var r2 = (a2 = Ie(e3.getText(), s2.start)).scan(); r2 !== se.EOS && a2.getTokenEnd() <= i2; ) { if (r2 === se.StartTagClose && a2.getTokenEnd() === i2) return "$0"; r2 = a2.scan(); } - } else if ("/" === o2) { + } else if (o2 === "/") { for (var s2 = n2.findNodeBefore(i2); s2 && s2.closed; ) s2 = s2.parent; if (s2 && s2.tag) { @@ -9987,15 +9987,15 @@ return null; }, e2.prototype.convertCompletionList = function(e3) { return this.doesSupportMarkdown() || e3.items.forEach(function(e4) { - e4.documentation && "string" != typeof e4.documentation && (e4.documentation = {kind: "plaintext", value: e4.documentation.value}); + e4.documentation && typeof e4.documentation != "string" && (e4.documentation = {kind: "plaintext", value: e4.documentation.value}); }), e3; }, e2.prototype.doesSupportMarkdown = function() { var e3, t2, n2; if (!$e(this.supportsMarkdown)) { if (!$e(this.lsOptions.clientCapabilities)) return this.supportsMarkdown = true, this.supportsMarkdown; - var i2 = null === (n2 = null === (t2 = null === (e3 = this.lsOptions.clientCapabilities.textDocument) || void 0 === e3 ? void 0 : e3.completion) || void 0 === t2 ? void 0 : t2.completionItem) || void 0 === n2 ? void 0 : n2.documentationFormat; - this.supportsMarkdown = Array.isArray(i2) && -1 !== i2.indexOf(I.Markdown); + var i2 = (n2 = (t2 = (e3 = this.lsOptions.clientCapabilities.textDocument) === null || e3 === void 0 ? void 0 : e3.completion) === null || t2 === void 0 ? void 0 : t2.completionItem) === null || n2 === void 0 ? void 0 : n2.documentationFormat; + this.supportsMarkdown = Array.isArray(i2) && i2.indexOf(I.Markdown) !== -1; } return this.supportsMarkdown; }, e2; @@ -10031,7 +10031,7 @@ return r4.contents = i2(r4.contents), {value: r4}; }, s3 = 0, l3 = a2; s3 < l3.length; s3++) { var c3 = r3(l3[s3]); - if ("object" == typeof c3) + if (typeof c3 == "object") return c3.value; } return null; @@ -10062,7 +10062,7 @@ return s4.contents = i2(s4.contents), {value: s4}; }, s3 = 0, l3 = a2; s3 < l3.length; s3++) { var c3 = r3(l3[s3]); - if ("object" == typeof c3) + if (typeof c3 == "object") return c3.value; } return null; @@ -10072,8 +10072,8 @@ var m2 = s2.tag, g2 = function(e4) { if (e4.length <= 1) return e4.replace(/['"]/, ""); - "'" !== e4[0] && '"' !== e4[0] || (e4 = e4.slice(1)); - "'" !== e4[e4.length - 1] && '"' !== e4[e4.length - 1] || (e4 = e4.slice(0, -1)); + e4[0] !== "'" && e4[0] !== '"' || (e4 = e4.slice(1)); + e4[e4.length - 1] !== "'" && e4[e4.length - 1] !== '"' || (e4 = e4.slice(0, -1)); return e4; }(e3.getText(p2)), f2 = function(t3, n3) { for (var i3 = Ie(e3.getText(), t3), o3 = i3.scan(), r3 = void 0; o3 !== se.EOS && i3.getTokenEnd() <= n3; ) @@ -10093,7 +10093,7 @@ return a3.contents = i2(a3.contents), {value: a3}; }, l3 = 0, c3 = a2; l3 < c3.length; l3++) { var d3 = s3(c3[l3]); - if ("object" == typeof d3) + if (typeof d3 == "object") return d3.value; } return null; @@ -10102,14 +10102,14 @@ return null; }, e2.prototype.convertContents = function(e3) { if (!this.doesSupportMarkdown()) { - if ("string" == typeof e3) + if (typeof e3 == "string") return e3; if ("kind" in e3) return {kind: "plaintext", value: e3.value}; if (!Array.isArray(e3)) return e3.value; e3.map(function(e4) { - return "string" == typeof e4 ? e4 : e4.value; + return typeof e4 == "string" ? e4 : e4.value; }); } return e3; @@ -10118,8 +10118,8 @@ if (!$e(this.supportsMarkdown)) { if (!$e(this.lsOptions.clientCapabilities)) return this.supportsMarkdown = true, this.supportsMarkdown; - var i2 = null === (n2 = null === (t2 = null === (e3 = this.lsOptions.clientCapabilities) || void 0 === e3 ? void 0 : e3.textDocument) || void 0 === t2 ? void 0 : t2.hover) || void 0 === n2 ? void 0 : n2.contentFormat; - this.supportsMarkdown = Array.isArray(i2) && -1 !== i2.indexOf(I.Markdown); + var i2 = (n2 = (t2 = (e3 = this.lsOptions.clientCapabilities) === null || e3 === void 0 ? void 0 : e3.textDocument) === null || t2 === void 0 ? void 0 : t2.hover) === null || n2 === void 0 ? void 0 : n2.contentFormat; + this.supportsMarkdown = Array.isArray(i2) && i2.indexOf(I.Markdown) !== -1; } return this.supportsMarkdown; }, e2; @@ -10138,14 +10138,14 @@ return n2.m = e2, n2.c = t2, n2.d = function(e3, t3, i2) { n2.o(e3, t3) || Object.defineProperty(e3, t3, {enumerable: true, get: i2}); }, n2.r = function(e3) { - "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e3, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e3, "__esModule", {value: true}); + typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(e3, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e3, "__esModule", {value: true}); }, n2.t = function(e3, t3) { if (1 & t3 && (e3 = n2(e3)), 8 & t3) return e3; - if (4 & t3 && "object" == typeof e3 && e3 && e3.__esModule) + if (4 & t3 && typeof e3 == "object" && e3 && e3.__esModule) return e3; var i2 = Object.create(null); - if (n2.r(i2), Object.defineProperty(i2, "default", {enumerable: true, value: e3}), 2 & t3 && "string" != typeof e3) + if (n2.r(i2), Object.defineProperty(i2, "default", {enumerable: true, value: e3}), 2 & t3 && typeof e3 != "string") for (var o2 in e3) n2.d(i2, o2, function(t4) { return e3[t4]; @@ -10191,17 +10191,17 @@ if (this._should_wrap()) { this.__parent.add_new_line(); var e3 = this.__parent.current_line; - return e3.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count), e3.__items = this.__items.slice(this.__wrap_point_index), this.__items = this.__items.slice(0, this.__wrap_point_index), e3.__character_count += this.__character_count - this.__wrap_point_character_count, this.__character_count = this.__wrap_point_character_count, " " === e3.__items[0] && (e3.__items.splice(0, 1), e3.__character_count -= 1), true; + return e3.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count), e3.__items = this.__items.slice(this.__wrap_point_index), this.__items = this.__items.slice(0, this.__wrap_point_index), e3.__character_count += this.__character_count - this.__wrap_point_character_count, this.__character_count = this.__wrap_point_character_count, e3.__items[0] === " " && (e3.__items.splice(0, 1), e3.__character_count -= 1), true; } return false; }, i2.prototype.is_empty = function() { - return 0 === this.__items.length; + return this.__items.length === 0; }, i2.prototype.last = function() { return this.is_empty() ? null : this.__items[this.__items.length - 1]; }, i2.prototype.push = function(e3) { this.__items.push(e3); var t3 = e3.lastIndexOf("\n"); - -1 !== t3 ? this.__character_count = e3.length - t3 : this.__character_count += e3.length; + t3 !== -1 ? this.__character_count = e3.length - t3 : this.__character_count += e3.length; }, i2.prototype.pop = function() { var e3 = null; return this.is_empty() || (e3 = this.__items.pop(), this.__character_count -= e3.length), e3; @@ -10210,7 +10210,7 @@ }, i2.prototype._remove_wrap_indent = function() { this.__wrap_point_indent_count > 0 && (this.__wrap_point_indent_count -= 1); }, i2.prototype.trim = function() { - for (; " " === this.last(); ) + for (; this.last() === " "; ) this.__items.pop(), this.__character_count -= 1; }, i2.prototype.toString = function() { var e3 = ""; @@ -10242,9 +10242,9 @@ }, r2.prototype.get_code = function(e3) { this.trim(true); var t3 = this.current_line.pop(); - t3 && ("\n" === t3[t3.length - 1] && (t3 = t3.replace(/\n+$/g, "")), this.current_line.push(t3)), this._end_with_newline && this.__add_outputline(); + t3 && (t3[t3.length - 1] === "\n" && (t3 = t3.replace(/\n+$/g, "")), this.current_line.push(t3)), this._end_with_newline && this.__add_outputline(); var n3 = this.__lines.join("\n"); - return "\n" !== e3 && (n3 = n3.replace(/[\n]/g, e3)), n3; + return e3 !== "\n" && (n3 = n3.replace(/[\n]/g, e3)), n3; }, r2.prototype.set_wrap_point = function() { this.current_line._set_wrap_point(); }, r2.prototype.set_indent = function(e3, t3) { @@ -10262,7 +10262,7 @@ this.__lines[e3]._remove_indent(), e3++; this.current_line._remove_wrap_indent(); }, r2.prototype.trim = function(e3) { - for (e3 = void 0 !== e3 && e3, this.current_line.trim(); e3 && this.__lines.length > 1 && this.current_line.is_empty(); ) + for (e3 = e3 !== void 0 && e3, this.current_line.trim(); e3 && this.__lines.length > 1 && this.current_line.is_empty(); ) this.__lines.pop(), this.current_line = this.__lines[this.__lines.length - 1], this.current_line.trim(); this.previous_line = this.__lines.length > 1 ? this.__lines[this.__lines.length - 2] : null; }, r2.prototype.just_added_newline = function() { @@ -10274,7 +10274,7 @@ var o3 = this.__lines[n3]; if (o3.is_empty()) break; - if (0 !== o3.item(0).indexOf(e3) && o3.item(-1) !== t3) { + if (o3.item(0).indexOf(e3) !== 0 && o3.item(-1) !== t3) { this.__lines.splice(n3 + 1, 0, new i2(this)), this.previous_line = this.__lines[this.__lines.length - 2]; break; } @@ -10283,7 +10283,7 @@ }, e2.exports.Output = r2; }, , , , function(e2, t2, n2) { function i2(e3, t3) { - this.raw_options = o2(e3, t3), this.disabled = this._get_boolean("disabled"), this.eol = this._get_characters("eol", "auto"), this.end_with_newline = this._get_boolean("end_with_newline"), this.indent_size = this._get_number("indent_size", 4), this.indent_char = this._get_characters("indent_char", " "), this.indent_level = this._get_number("indent_level"), this.preserve_newlines = this._get_boolean("preserve_newlines", true), this.max_preserve_newlines = this._get_number("max_preserve_newlines", 32786), this.preserve_newlines || (this.max_preserve_newlines = 0), this.indent_with_tabs = this._get_boolean("indent_with_tabs", " " === this.indent_char), this.indent_with_tabs && (this.indent_char = " ", 1 === this.indent_size && (this.indent_size = 4)), this.wrap_line_length = this._get_number("wrap_line_length", this._get_number("max_char")), this.indent_empty_lines = this._get_boolean("indent_empty_lines"), this.templating = this._get_selection_list("templating", ["auto", "none", "django", "erb", "handlebars", "php"], ["auto"]); + this.raw_options = o2(e3, t3), this.disabled = this._get_boolean("disabled"), this.eol = this._get_characters("eol", "auto"), this.end_with_newline = this._get_boolean("end_with_newline"), this.indent_size = this._get_number("indent_size", 4), this.indent_char = this._get_characters("indent_char", " "), this.indent_level = this._get_number("indent_level"), this.preserve_newlines = this._get_boolean("preserve_newlines", true), this.max_preserve_newlines = this._get_number("max_preserve_newlines", 32786), this.preserve_newlines || (this.max_preserve_newlines = 0), this.indent_with_tabs = this._get_boolean("indent_with_tabs", this.indent_char === " "), this.indent_with_tabs && (this.indent_char = " ", this.indent_size === 1 && (this.indent_size = 4)), this.wrap_line_length = this._get_number("wrap_line_length", this._get_number("max_char")), this.indent_empty_lines = this._get_boolean("indent_empty_lines"), this.templating = this._get_selection_list("templating", ["auto", "none", "django", "erb", "handlebars", "php"], ["auto"]); } function o2(e3, t3) { var n3, i3 = {}; @@ -10303,13 +10303,13 @@ } i2.prototype._get_array = function(e3, t3) { var n3 = this.raw_options[e3], i3 = t3 || []; - return "object" == typeof n3 ? null !== n3 && "function" == typeof n3.concat && (i3 = n3.concat()) : "string" == typeof n3 && (i3 = n3.split(/[^a-zA-Z0-9_\/\-]+/)), i3; + return typeof n3 == "object" ? n3 !== null && typeof n3.concat == "function" && (i3 = n3.concat()) : typeof n3 == "string" && (i3 = n3.split(/[^a-zA-Z0-9_\/\-]+/)), i3; }, i2.prototype._get_boolean = function(e3, t3) { var n3 = this.raw_options[e3]; - return void 0 === n3 ? !!t3 : !!n3; + return n3 === void 0 ? !!t3 : !!n3; }, i2.prototype._get_characters = function(e3, t3) { var n3 = this.raw_options[e3], i3 = t3 || ""; - return "string" == typeof n3 && (i3 = n3.replace(/\\r/, "\r").replace(/\\n/, "\n").replace(/\\t/, " ")), i3; + return typeof n3 == "string" && (i3 = n3.replace(/\\r/, "\r").replace(/\\n/, "\n").replace(/\\t/, " ")), i3; }, i2.prototype._get_number = function(e3, t3) { var n3 = this.raw_options[e3]; t3 = parseInt(t3, 10), isNaN(t3) && (t3 = 0); @@ -10317,11 +10317,11 @@ return isNaN(i3) && (i3 = t3), i3; }, i2.prototype._get_selection = function(e3, t3, n3) { var i3 = this._get_selection_list(e3, t3, n3); - if (1 !== i3.length) + if (i3.length !== 1) throw new Error("Invalid Option Value: The option '" + e3 + "' can only be one of the following values:\n" + t3 + "\nYou passed in: '" + this.raw_options[e3] + "'"); return i3[0]; }, i2.prototype._get_selection_list = function(e3, t3, n3) { - if (!t3 || 0 === t3.length) + if (!t3 || t3.length === 0) throw new Error("Selection list cannot be empty."); if (n3 = n3 || [t3[0]], !this._is_valid_selection(n3, t3)) throw new Error("Invalid Default Value!"); @@ -10331,7 +10331,7 @@ return i3; }, i2.prototype._is_valid_selection = function(e3, t3) { return e3.length && t3.length && !e3.some(function(e4) { - return -1 === t3.indexOf(e4); + return t3.indexOf(e4) === -1; }); }, e2.exports.Options = i2, e2.exports.normalizeOpts = r2, e2.exports.mergeOpts = o2; }, , function(e2, t2, n2) { @@ -10359,7 +10359,7 @@ return t3 = t3 || 0, (t3 += this.__position) >= 0 && t3 < this.__input_length && !!this.__match(e3, t3); }, o2.prototype.testChar = function(e3, t3) { var n3 = this.peek(t3); - return e3.lastIndex = 0, null !== n3 && e3.test(n3); + return e3.lastIndex = 0, n3 !== null && e3.test(n3); }, o2.prototype.match = function(e3) { var t3 = this.__match(e3, this.__position); return t3 ? this.__position += t3[0].length : t3 = null, t3; @@ -10375,7 +10375,7 @@ return this.readUntil(e3, true); }, o2.prototype.get_regexp = function(e3, t3) { var n3 = null, o3 = "g"; - return t3 && i2 && (o3 = "y"), "string" == typeof e3 && "" !== e3 ? n3 = new RegExp(e3, o3) : e3 && (n3 = new RegExp(e3.source, o3)), n3; + return t3 && i2 && (o3 = "y"), typeof e3 == "string" && e3 !== "" ? n3 = new RegExp(e3, o3) : e3 && (n3 = new RegExp(e3.source, o3)), n3; }, o2.prototype.get_literal_regexp = function(e3) { return RegExp(e3.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")); }, o2.prototype.peekUntilAfter = function(e3) { @@ -10387,7 +10387,7 @@ }, e2.exports.InputScanner = o2; }, , , , , function(e2, t2, n2) { function i2(e3, t3) { - e3 = "string" == typeof e3 ? e3 : e3.source, t3 = "string" == typeof t3 ? t3 : t3.source, this.__directives_block_pattern = new RegExp(e3 + / beautify( \w+[:]\w+)+ /.source + t3, "g"), this.__directive_pattern = / (\w+)[:](\w+)/g, this.__directives_end_ignore_pattern = new RegExp(e3 + /\sbeautify\signore:end\s/.source + t3, "g"); + e3 = typeof e3 == "string" ? e3 : e3.source, t3 = typeof t3 == "string" ? t3 : t3.source, this.__directives_block_pattern = new RegExp(e3 + / beautify( \w+[:]\w+)+ /.source + t3, "g"), this.__directive_pattern = / (\w+)[:](\w+)/g, this.__directives_end_ignore_pattern = new RegExp(e3 + /\sbeautify\signore:end\s/.source + t3, "g"); } i2.prototype.get_directives = function(e3) { if (!e3.match(this.__directives_block_pattern)) @@ -10415,28 +10415,28 @@ p2.prototype.eatString = function(e3) { var t3 = ""; for (this._ch = this._input.next(); this._ch; ) { - if (t3 += this._ch, "\\" === this._ch) + if (t3 += this._ch, this._ch === "\\") t3 += this._input.next(); - else if (-1 !== e3.indexOf(this._ch) || "\n" === this._ch) + else if (e3.indexOf(this._ch) !== -1 || this._ch === "\n") break; this._ch = this._input.next(); } return t3; }, p2.prototype.eatWhitespace = function(e3) { for (var t3 = c2.test(this._input.peek()), n3 = true; c2.test(this._input.peek()); ) - this._ch = this._input.next(), e3 && "\n" === this._ch && (this._options.preserve_newlines || n3) && (n3 = false, this._output.add_new_line(true)); + this._ch = this._input.next(), e3 && this._ch === "\n" && (this._options.preserve_newlines || n3) && (n3 = false, this._output.add_new_line(true)); return t3; }, p2.prototype.foundNestedPseudoClass = function() { for (var e3 = 0, t3 = 1, n3 = this._input.peek(t3); n3; ) { - if ("{" === n3) + if (n3 === "{") return true; - if ("(" === n3) + if (n3 === "(") e3 += 1; - else if (")" === n3) { - if (0 === e3) + else if (n3 === ")") { + if (e3 === 0) return false; e3 -= 1; - } else if (";" === n3 || "}" === n3) + } else if (n3 === ";" || n3 === "}") return false; t3++, n3 = this._input.peek(t3); } @@ -10453,26 +10453,26 @@ if (this._options.disabled) return this._source_text; var e3 = this._source_text, t3 = this._options.eol; - "auto" === t3 && (t3 = "\n", e3 && a2.test(e3 || "") && (t3 = e3.match(a2)[0])); + t3 === "auto" && (t3 = "\n", e3 && a2.test(e3 || "") && (t3 = e3.match(a2)[0])); var n3 = (e3 = e3.replace(l2, "\n")).match(/^[\t ]*/)[0]; this._output = new o2(this._options, n3), this._input = new r2(e3), this._indentLevel = 0, this._nestedLevel = 0, this._ch = null; - for (var i3, p3, m2 = 0, g2 = false, f2 = false, b2 = false, _2 = false, v2 = false, w2 = this._ch; i3 = "" !== this._input.read(d2), p3 = w2, this._ch = this._input.next(), "\\" === this._ch && this._input.hasNext() && (this._ch += this._input.next()), w2 = this._ch, this._ch; ) - if ("/" === this._ch && "*" === this._input.peek()) { + for (var i3, p3, m2 = 0, g2 = false, f2 = false, b2 = false, _2 = false, v2 = false, w2 = this._ch; i3 = this._input.read(d2) !== "", p3 = w2, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), w2 = this._ch, this._ch; ) + if (this._ch === "/" && this._input.peek() === "*") { this._output.add_new_line(), this._input.back(); var y2 = this._input.read(h2), C2 = s2.get_directives(y2); - C2 && "start" === C2.ignore && (y2 += s2.readIgnored(this._input)), this.print_string(y2), this.eatWhitespace(true), this._output.add_new_line(); - } else if ("/" === this._ch && "/" === this._input.peek()) + C2 && C2.ignore === "start" && (y2 += s2.readIgnored(this._input)), this.print_string(y2), this.eatWhitespace(true), this._output.add_new_line(); + } else if (this._ch === "/" && this._input.peek() === "/") this._output.space_before_token = true, this._input.back(), this.print_string(this._input.read(u2)), this.eatWhitespace(true); - else if ("@" === this._ch) - if (this.preserveSingleSpace(i3), "{" === this._input.peek()) + else if (this._ch === "@") + if (this.preserveSingleSpace(i3), this._input.peek() === "{") this.print_string(this._ch + this.eatString("}")); else { this.print_string(this._ch); var x2 = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g); - x2.match(/[ :]$/) && (x2 = this.eatString(": ").replace(/\s$/, ""), this.print_string(x2), this._output.space_before_token = true), "extend" === (x2 = x2.replace(/\s$/, "")) ? _2 = true : "import" === x2 && (v2 = true), x2 in this.NESTED_AT_RULE ? (this._nestedLevel += 1, x2 in this.CONDITIONAL_GROUP_RULE && (b2 = true)) : g2 || 0 !== m2 || -1 === x2.indexOf(":") || (f2 = true, this.indent()); + x2.match(/[ :]$/) && (x2 = this.eatString(": ").replace(/\s$/, ""), this.print_string(x2), this._output.space_before_token = true), (x2 = x2.replace(/\s$/, "")) === "extend" ? _2 = true : x2 === "import" && (v2 = true), x2 in this.NESTED_AT_RULE ? (this._nestedLevel += 1, x2 in this.CONDITIONAL_GROUP_RULE && (b2 = true)) : g2 || m2 !== 0 || x2.indexOf(":") === -1 || (f2 = true, this.indent()); } else - "#" === this._ch && "{" === this._input.peek() ? (this.preserveSingleSpace(i3), this.print_string(this._ch + this.eatString("}"))) : "{" === this._ch ? (f2 && (f2 = false, this.outdent()), this.indent(), this._output.space_before_token = true, this.print_string(this._ch), b2 ? (b2 = false, g2 = this._indentLevel > this._nestedLevel) : g2 = this._indentLevel >= this._nestedLevel, this._options.newline_between_rules && g2 && this._output.previous_line && "{" !== this._output.previous_line.item(-1) && this._output.ensure_empty_line_above("/", ","), this.eatWhitespace(true), this._output.add_new_line()) : "}" === this._ch ? (this.outdent(), this._output.add_new_line(), "{" === p3 && this._output.trim(true), v2 = false, _2 = false, f2 && (this.outdent(), f2 = false), this.print_string(this._ch), g2 = false, this._nestedLevel && this._nestedLevel--, this.eatWhitespace(true), this._output.add_new_line(), this._options.newline_between_rules && !this._output.just_added_blankline() && "}" !== this._input.peek() && this._output.add_new_line(true)) : ":" === this._ch ? !g2 && !b2 || this._input.lookBack("&") || this.foundNestedPseudoClass() || this._input.lookBack("(") || _2 || 0 !== m2 ? (this._input.lookBack(" ") && (this._output.space_before_token = true), ":" === this._input.peek() ? (this._ch = this._input.next(), this.print_string("::")) : this.print_string(":")) : (this.print_string(":"), f2 || (f2 = true, this._output.space_before_token = true, this.eatWhitespace(true), this.indent())) : '"' === this._ch || "'" === this._ch ? (this.preserveSingleSpace(i3), this.print_string(this._ch + this.eatString(this._ch)), this.eatWhitespace(true)) : ";" === this._ch ? 0 === m2 ? (f2 && (this.outdent(), f2 = false), _2 = false, v2 = false, this.print_string(this._ch), this.eatWhitespace(true), "/" !== this._input.peek() && this._output.add_new_line()) : (this.print_string(this._ch), this.eatWhitespace(true), this._output.space_before_token = true) : "(" === this._ch ? this._input.lookBack("url") ? (this.print_string(this._ch), this.eatWhitespace(), m2++, this.indent(), this._ch = this._input.next(), ")" === this._ch || '"' === this._ch || "'" === this._ch ? this._input.back() : this._ch && (this.print_string(this._ch + this.eatString(")")), m2 && (m2--, this.outdent()))) : (this.preserveSingleSpace(i3), this.print_string(this._ch), this.eatWhitespace(), m2++, this.indent()) : ")" === this._ch ? (m2 && (m2--, this.outdent()), this.print_string(this._ch)) : "," === this._ch ? (this.print_string(this._ch), this.eatWhitespace(true), !this._options.selector_separator_newline || f2 || 0 !== m2 || v2 ? this._output.space_before_token = true : this._output.add_new_line()) : ">" !== this._ch && "+" !== this._ch && "~" !== this._ch || f2 || 0 !== m2 ? "]" === this._ch ? this.print_string(this._ch) : "[" === this._ch ? (this.preserveSingleSpace(i3), this.print_string(this._ch)) : "=" === this._ch ? (this.eatWhitespace(), this.print_string("="), c2.test(this._ch) && (this._ch = "")) : "!" !== this._ch || this._input.lookBack("\\") ? (this.preserveSingleSpace(i3), this.print_string(this._ch)) : (this.print_string(" "), this.print_string(this._ch)) : this._options.space_around_combinator ? (this._output.space_before_token = true, this.print_string(this._ch), this._output.space_before_token = true) : (this.print_string(this._ch), this.eatWhitespace(), this._ch && c2.test(this._ch) && (this._ch = "")); + this._ch === "#" && this._input.peek() === "{" ? (this.preserveSingleSpace(i3), this.print_string(this._ch + this.eatString("}"))) : this._ch === "{" ? (f2 && (f2 = false, this.outdent()), this.indent(), this._output.space_before_token = true, this.print_string(this._ch), b2 ? (b2 = false, g2 = this._indentLevel > this._nestedLevel) : g2 = this._indentLevel >= this._nestedLevel, this._options.newline_between_rules && g2 && this._output.previous_line && this._output.previous_line.item(-1) !== "{" && this._output.ensure_empty_line_above("/", ","), this.eatWhitespace(true), this._output.add_new_line()) : this._ch === "}" ? (this.outdent(), this._output.add_new_line(), p3 === "{" && this._output.trim(true), v2 = false, _2 = false, f2 && (this.outdent(), f2 = false), this.print_string(this._ch), g2 = false, this._nestedLevel && this._nestedLevel--, this.eatWhitespace(true), this._output.add_new_line(), this._options.newline_between_rules && !this._output.just_added_blankline() && this._input.peek() !== "}" && this._output.add_new_line(true)) : this._ch === ":" ? !g2 && !b2 || this._input.lookBack("&") || this.foundNestedPseudoClass() || this._input.lookBack("(") || _2 || m2 !== 0 ? (this._input.lookBack(" ") && (this._output.space_before_token = true), this._input.peek() === ":" ? (this._ch = this._input.next(), this.print_string("::")) : this.print_string(":")) : (this.print_string(":"), f2 || (f2 = true, this._output.space_before_token = true, this.eatWhitespace(true), this.indent())) : this._ch === '"' || this._ch === "'" ? (this.preserveSingleSpace(i3), this.print_string(this._ch + this.eatString(this._ch)), this.eatWhitespace(true)) : this._ch === ";" ? m2 === 0 ? (f2 && (this.outdent(), f2 = false), _2 = false, v2 = false, this.print_string(this._ch), this.eatWhitespace(true), this._input.peek() !== "/" && this._output.add_new_line()) : (this.print_string(this._ch), this.eatWhitespace(true), this._output.space_before_token = true) : this._ch === "(" ? this._input.lookBack("url") ? (this.print_string(this._ch), this.eatWhitespace(), m2++, this.indent(), this._ch = this._input.next(), this._ch === ")" || this._ch === '"' || this._ch === "'" ? this._input.back() : this._ch && (this.print_string(this._ch + this.eatString(")")), m2 && (m2--, this.outdent()))) : (this.preserveSingleSpace(i3), this.print_string(this._ch), this.eatWhitespace(), m2++, this.indent()) : this._ch === ")" ? (m2 && (m2--, this.outdent()), this.print_string(this._ch)) : this._ch === "," ? (this.print_string(this._ch), this.eatWhitespace(true), !this._options.selector_separator_newline || f2 || m2 !== 0 || v2 ? this._output.space_before_token = true : this._output.add_new_line()) : this._ch !== ">" && this._ch !== "+" && this._ch !== "~" || f2 || m2 !== 0 ? this._ch === "]" ? this.print_string(this._ch) : this._ch === "[" ? (this.preserveSingleSpace(i3), this.print_string(this._ch)) : this._ch === "=" ? (this.eatWhitespace(), this.print_string("="), c2.test(this._ch) && (this._ch = "")) : this._ch !== "!" || this._input.lookBack("\\") ? (this.preserveSingleSpace(i3), this.print_string(this._ch)) : (this.print_string(" "), this.print_string(this._ch)) : this._options.space_around_combinator ? (this._output.space_before_token = true, this.print_string(this._ch), this._output.space_before_token = true) : (this.print_string(this._ch), this.eatWhitespace(), this._ch && c2.test(this._ch) && (this._ch = "")); return this._output.get_code(t3); }, e2.exports.Beautifier = p2; }, function(e2, t2, n2) { @@ -10494,14 +10494,14 @@ return n2.m = e2, n2.c = t2, n2.d = function(e3, t3, i2) { n2.o(e3, t3) || Object.defineProperty(e3, t3, {enumerable: true, get: i2}); }, n2.r = function(e3) { - "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e3, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e3, "__esModule", {value: true}); + typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(e3, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e3, "__esModule", {value: true}); }, n2.t = function(e3, t3) { if (1 & t3 && (e3 = n2(e3)), 8 & t3) return e3; - if (4 & t3 && "object" == typeof e3 && e3 && e3.__esModule) + if (4 & t3 && typeof e3 == "object" && e3 && e3.__esModule) return e3; var i2 = Object.create(null); - if (n2.r(i2), Object.defineProperty(i2, "default", {enumerable: true, value: e3}), 2 & t3 && "string" != typeof e3) + if (n2.r(i2), Object.defineProperty(i2, "default", {enumerable: true, value: e3}), 2 & t3 && typeof e3 != "string") for (var o2 in e3) n2.d(i2, o2, function(t4) { return e3[t4]; @@ -10547,17 +10547,17 @@ if (this._should_wrap()) { this.__parent.add_new_line(); var e3 = this.__parent.current_line; - return e3.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count), e3.__items = this.__items.slice(this.__wrap_point_index), this.__items = this.__items.slice(0, this.__wrap_point_index), e3.__character_count += this.__character_count - this.__wrap_point_character_count, this.__character_count = this.__wrap_point_character_count, " " === e3.__items[0] && (e3.__items.splice(0, 1), e3.__character_count -= 1), true; + return e3.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count), e3.__items = this.__items.slice(this.__wrap_point_index), this.__items = this.__items.slice(0, this.__wrap_point_index), e3.__character_count += this.__character_count - this.__wrap_point_character_count, this.__character_count = this.__wrap_point_character_count, e3.__items[0] === " " && (e3.__items.splice(0, 1), e3.__character_count -= 1), true; } return false; }, i2.prototype.is_empty = function() { - return 0 === this.__items.length; + return this.__items.length === 0; }, i2.prototype.last = function() { return this.is_empty() ? null : this.__items[this.__items.length - 1]; }, i2.prototype.push = function(e3) { this.__items.push(e3); var t3 = e3.lastIndexOf("\n"); - -1 !== t3 ? this.__character_count = e3.length - t3 : this.__character_count += e3.length; + t3 !== -1 ? this.__character_count = e3.length - t3 : this.__character_count += e3.length; }, i2.prototype.pop = function() { var e3 = null; return this.is_empty() || (e3 = this.__items.pop(), this.__character_count -= e3.length), e3; @@ -10566,7 +10566,7 @@ }, i2.prototype._remove_wrap_indent = function() { this.__wrap_point_indent_count > 0 && (this.__wrap_point_indent_count -= 1); }, i2.prototype.trim = function() { - for (; " " === this.last(); ) + for (; this.last() === " "; ) this.__items.pop(), this.__character_count -= 1; }, i2.prototype.toString = function() { var e3 = ""; @@ -10598,9 +10598,9 @@ }, r2.prototype.get_code = function(e3) { this.trim(true); var t3 = this.current_line.pop(); - t3 && ("\n" === t3[t3.length - 1] && (t3 = t3.replace(/\n+$/g, "")), this.current_line.push(t3)), this._end_with_newline && this.__add_outputline(); + t3 && (t3[t3.length - 1] === "\n" && (t3 = t3.replace(/\n+$/g, "")), this.current_line.push(t3)), this._end_with_newline && this.__add_outputline(); var n3 = this.__lines.join("\n"); - return "\n" !== e3 && (n3 = n3.replace(/[\n]/g, e3)), n3; + return e3 !== "\n" && (n3 = n3.replace(/[\n]/g, e3)), n3; }, r2.prototype.set_wrap_point = function() { this.current_line._set_wrap_point(); }, r2.prototype.set_indent = function(e3, t3) { @@ -10618,7 +10618,7 @@ this.__lines[e3]._remove_indent(), e3++; this.current_line._remove_wrap_indent(); }, r2.prototype.trim = function(e3) { - for (e3 = void 0 !== e3 && e3, this.current_line.trim(); e3 && this.__lines.length > 1 && this.current_line.is_empty(); ) + for (e3 = e3 !== void 0 && e3, this.current_line.trim(); e3 && this.__lines.length > 1 && this.current_line.is_empty(); ) this.__lines.pop(), this.current_line = this.__lines[this.__lines.length - 1], this.current_line.trim(); this.previous_line = this.__lines.length > 1 ? this.__lines[this.__lines.length - 2] : null; }, r2.prototype.just_added_newline = function() { @@ -10630,7 +10630,7 @@ var o3 = this.__lines[n3]; if (o3.is_empty()) break; - if (0 !== o3.item(0).indexOf(e3) && o3.item(-1) !== t3) { + if (o3.item(0).indexOf(e3) !== 0 && o3.item(-1) !== t3) { this.__lines.splice(n3 + 1, 0, new i2(this)), this.previous_line = this.__lines[this.__lines.length - 2]; break; } @@ -10643,7 +10643,7 @@ }; }, , , function(e2, t2, n2) { function i2(e3, t3) { - this.raw_options = o2(e3, t3), this.disabled = this._get_boolean("disabled"), this.eol = this._get_characters("eol", "auto"), this.end_with_newline = this._get_boolean("end_with_newline"), this.indent_size = this._get_number("indent_size", 4), this.indent_char = this._get_characters("indent_char", " "), this.indent_level = this._get_number("indent_level"), this.preserve_newlines = this._get_boolean("preserve_newlines", true), this.max_preserve_newlines = this._get_number("max_preserve_newlines", 32786), this.preserve_newlines || (this.max_preserve_newlines = 0), this.indent_with_tabs = this._get_boolean("indent_with_tabs", " " === this.indent_char), this.indent_with_tabs && (this.indent_char = " ", 1 === this.indent_size && (this.indent_size = 4)), this.wrap_line_length = this._get_number("wrap_line_length", this._get_number("max_char")), this.indent_empty_lines = this._get_boolean("indent_empty_lines"), this.templating = this._get_selection_list("templating", ["auto", "none", "django", "erb", "handlebars", "php"], ["auto"]); + this.raw_options = o2(e3, t3), this.disabled = this._get_boolean("disabled"), this.eol = this._get_characters("eol", "auto"), this.end_with_newline = this._get_boolean("end_with_newline"), this.indent_size = this._get_number("indent_size", 4), this.indent_char = this._get_characters("indent_char", " "), this.indent_level = this._get_number("indent_level"), this.preserve_newlines = this._get_boolean("preserve_newlines", true), this.max_preserve_newlines = this._get_number("max_preserve_newlines", 32786), this.preserve_newlines || (this.max_preserve_newlines = 0), this.indent_with_tabs = this._get_boolean("indent_with_tabs", this.indent_char === " "), this.indent_with_tabs && (this.indent_char = " ", this.indent_size === 1 && (this.indent_size = 4)), this.wrap_line_length = this._get_number("wrap_line_length", this._get_number("max_char")), this.indent_empty_lines = this._get_boolean("indent_empty_lines"), this.templating = this._get_selection_list("templating", ["auto", "none", "django", "erb", "handlebars", "php"], ["auto"]); } function o2(e3, t3) { var n3, i3 = {}; @@ -10663,13 +10663,13 @@ } i2.prototype._get_array = function(e3, t3) { var n3 = this.raw_options[e3], i3 = t3 || []; - return "object" == typeof n3 ? null !== n3 && "function" == typeof n3.concat && (i3 = n3.concat()) : "string" == typeof n3 && (i3 = n3.split(/[^a-zA-Z0-9_\/\-]+/)), i3; + return typeof n3 == "object" ? n3 !== null && typeof n3.concat == "function" && (i3 = n3.concat()) : typeof n3 == "string" && (i3 = n3.split(/[^a-zA-Z0-9_\/\-]+/)), i3; }, i2.prototype._get_boolean = function(e3, t3) { var n3 = this.raw_options[e3]; - return void 0 === n3 ? !!t3 : !!n3; + return n3 === void 0 ? !!t3 : !!n3; }, i2.prototype._get_characters = function(e3, t3) { var n3 = this.raw_options[e3], i3 = t3 || ""; - return "string" == typeof n3 && (i3 = n3.replace(/\\r/, "\r").replace(/\\n/, "\n").replace(/\\t/, " ")), i3; + return typeof n3 == "string" && (i3 = n3.replace(/\\r/, "\r").replace(/\\n/, "\n").replace(/\\t/, " ")), i3; }, i2.prototype._get_number = function(e3, t3) { var n3 = this.raw_options[e3]; t3 = parseInt(t3, 10), isNaN(t3) && (t3 = 0); @@ -10677,11 +10677,11 @@ return isNaN(i3) && (i3 = t3), i3; }, i2.prototype._get_selection = function(e3, t3, n3) { var i3 = this._get_selection_list(e3, t3, n3); - if (1 !== i3.length) + if (i3.length !== 1) throw new Error("Invalid Option Value: The option '" + e3 + "' can only be one of the following values:\n" + t3 + "\nYou passed in: '" + this.raw_options[e3] + "'"); return i3[0]; }, i2.prototype._get_selection_list = function(e3, t3, n3) { - if (!t3 || 0 === t3.length) + if (!t3 || t3.length === 0) throw new Error("Selection list cannot be empty."); if (n3 = n3 || [t3[0]], !this._is_valid_selection(n3, t3)) throw new Error("Invalid Default Value!"); @@ -10691,7 +10691,7 @@ return i3; }, i2.prototype._is_valid_selection = function(e3, t3) { return e3.length && t3.length && !e3.some(function(e4) { - return -1 === t3.indexOf(e4); + return t3.indexOf(e4) === -1; }); }, e2.exports.Options = i2, e2.exports.normalizeOpts = r2, e2.exports.mergeOpts = o2; }, , function(e2, t2, n2) { @@ -10719,7 +10719,7 @@ return t3 = t3 || 0, (t3 += this.__position) >= 0 && t3 < this.__input_length && !!this.__match(e3, t3); }, o2.prototype.testChar = function(e3, t3) { var n3 = this.peek(t3); - return e3.lastIndex = 0, null !== n3 && e3.test(n3); + return e3.lastIndex = 0, n3 !== null && e3.test(n3); }, o2.prototype.match = function(e3) { var t3 = this.__match(e3, this.__position); return t3 ? this.__position += t3[0].length : t3 = null, t3; @@ -10735,7 +10735,7 @@ return this.readUntil(e3, true); }, o2.prototype.get_regexp = function(e3, t3) { var n3 = null, o3 = "g"; - return t3 && i2 && (o3 = "y"), "string" == typeof e3 && "" !== e3 ? n3 = new RegExp(e3, o3) : e3 && (n3 = new RegExp(e3.source, o3)), n3; + return t3 && i2 && (o3 = "y"), typeof e3 == "string" && e3 !== "" ? n3 = new RegExp(e3, o3) : e3 && (n3 = new RegExp(e3.source, o3)), n3; }, o2.prototype.get_literal_regexp = function(e3) { return RegExp(e3.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")); }, o2.prototype.peekUntilAfter = function(e3) { @@ -10783,7 +10783,7 @@ i2.prototype.restart = function() { this.__position = 0; }, i2.prototype.isEmpty = function() { - return 0 === this.__tokens_length; + return this.__tokens_length === 0; }, i2.prototype.hasNext = function() { return this.__position < this.__tokens_length; }, i2.prototype.next = function() { @@ -10805,7 +10805,7 @@ }, o2.prototype.read = function() { this.newline_count = 0, this.whitespace_before_token = ""; var e3 = this._input.read(this._match_pattern); - if (" " === e3) + if (e3 === " ") this.whitespace_before_token = " "; else if (e3) { var t3 = this.__split(this._newline_regexp, e3); @@ -10850,7 +10850,7 @@ }, e2.exports.Pattern = i2; }, function(e2, t2, n2) { function i2(e3, t3) { - e3 = "string" == typeof e3 ? e3 : e3.source, t3 = "string" == typeof t3 ? t3 : t3.source, this.__directives_block_pattern = new RegExp(e3 + / beautify( \w+[:]\w+)+ /.source + t3, "g"), this.__directive_pattern = / (\w+)[:](\w+)/g, this.__directives_end_ignore_pattern = new RegExp(e3 + /\sbeautify\signore:end\s/.source + t3, "g"); + e3 = typeof e3 == "string" ? e3 : e3.source, t3 = typeof t3 == "string" ? t3 : t3.source, this.__directives_block_pattern = new RegExp(e3 + / beautify( \w+[:]\w+)+ /.source + t3, "g"), this.__directive_pattern = / (\w+)[:](\w+)/g, this.__directives_end_ignore_pattern = new RegExp(e3 + /\sbeautify\signore:end\s/.source + t3, "g"); } i2.prototype.get_directives = function(e3) { if (!e3.match(this.__directives_block_pattern)) @@ -10880,7 +10880,7 @@ }, r2.prototype.read_options = function(e3) { var t3 = this._create(); for (var n3 in o2) - t3._disabled[n3] = -1 === e3.templating.indexOf(n3); + t3._disabled[n3] = e3.templating.indexOf(n3) === -1; return t3._update(), t3; }, r2.prototype.exclude = function(e3) { var t3 = this._create(); @@ -10896,11 +10896,11 @@ this._disabled.php || e3.push(this.__patterns.php._starting_pattern.source), this._disabled.handlebars || e3.push(this.__patterns.handlebars._starting_pattern.source), this._disabled.erb || e3.push(this.__patterns.erb._starting_pattern.source), this._disabled.django || (e3.push(this.__patterns.django._starting_pattern.source), e3.push(this.__patterns.django_value._starting_pattern.source), e3.push(this.__patterns.django_comment._starting_pattern.source)), this._until_pattern && e3.push(this._until_pattern.source), this.__template_pattern = this._input.get_regexp("(?:" + e3.join("|") + ")"); }, r2.prototype._read_template = function() { var e3 = "", t3 = this._input.peek(); - if ("<" === t3) { + if (t3 === "<") { var n3 = this._input.peek(1); - this._disabled.php || this._excluded.php || "?" !== n3 || (e3 = e3 || this.__patterns.php.read()), this._disabled.erb || this._excluded.erb || "%" !== n3 || (e3 = e3 || this.__patterns.erb.read()); + this._disabled.php || this._excluded.php || n3 !== "?" || (e3 = e3 || this.__patterns.php.read()), this._disabled.erb || this._excluded.erb || n3 !== "%" || (e3 = e3 || this.__patterns.erb.read()); } else - "{" === t3 && (this._disabled.handlebars || this._excluded.handlebars || (e3 = (e3 = (e3 = e3 || this.__patterns.handlebars_comment.read()) || this.__patterns.handlebars_unescaped.read()) || this.__patterns.handlebars.read()), this._disabled.django || (this._excluded.django || this._excluded.handlebars || (e3 = e3 || this.__patterns.django_value.read()), this._excluded.django || (e3 = (e3 = e3 || this.__patterns.django_comment.read()) || this.__patterns.django.read()))); + t3 === "{" && (this._disabled.handlebars || this._excluded.handlebars || (e3 = (e3 = (e3 = e3 || this.__patterns.handlebars_comment.read()) || this.__patterns.handlebars_unescaped.read()) || this.__patterns.handlebars.read()), this._disabled.django || (this._excluded.django || this._excluded.handlebars || (e3 = e3 || this.__patterns.django_value.read()), this._excluded.django || (e3 = (e3 = e3 || this.__patterns.django_comment.read()) || this.__patterns.django.read()))); return e3; }, e2.exports.TemplatablePattern = r2; }, , , , function(e2, t2, n2) { @@ -10927,7 +10927,7 @@ e3.type !== s2.TEXT && e3.previous.type !== s2.TEXT && (t3 = e3.newlines ? 1 : 0), this.preserve_newlines && (t3 = e3.newlines < this.max_preserve_newlines + 1 ? e3.newlines : this.max_preserve_newlines + 1); for (var n3 = 0; n3 < t3; n3++) this.print_newline(n3 > 0); - return 0 !== t3; + return t3 !== 0; }, c2.prototype.traverse_whitespace = function(e3) { return !(!e3.whitespace_before && !e3.newlines) && (this.print_preserved_newlines(e3) || (this._output.space_before_token = true), true); }, c2.prototype.previous_token_wrapped = function() { @@ -10943,9 +10943,9 @@ }; var d2 = function(e3, t3) { var n3 = null, i3 = null; - return t3.closed ? ("script" === e3 ? n3 = "text/javascript" : "style" === e3 && (n3 = "text/css"), (n3 = function(e4) { + return t3.closed ? (e3 === "script" ? n3 = "text/javascript" : e3 === "style" && (n3 = "text/css"), (n3 = function(e4) { for (var t4 = null, n4 = e4.next; n4.type !== s2.EOF && e4.closed !== n4; ) { - if (n4.type === s2.ATTRIBUTE && "type" === n4.text) { + if (n4.type === s2.ATTRIBUTE && n4.text === "type") { n4.next && n4.next.type === s2.EQUALS && n4.next.next && n4.next.next.type === s2.VALUE && (t4 = n4.next.next.text); break; } @@ -10955,7 +10955,7 @@ }(t3) || n3).search("text/css") > -1 ? i3 = "css" : n3.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1 ? i3 = "javascript" : n3.search(/(text|application|dojo)\/(x-)?(html)/) > -1 ? i3 = "html" : n3.search(/test\/null/) > -1 && (i3 = "null"), i3) : null; }; function h2(e3, t3) { - return -1 !== t3.indexOf(e3); + return t3.indexOf(e3) !== -1; } function u2(e3, t3, n3) { this.parent = e3 || null, this.tag = t3 ? t3.tag_name : "", this.indent_level = n3 || 0, this.parser_token = t3 || null; @@ -10966,7 +10966,7 @@ function m2(e3, t3, n3, o3) { this._source_text = e3 || "", t3 = t3 || {}, this._js_beautify = n3, this._css_beautify = o3, this._tag_stack = null; var r3 = new i2(t3, "html"); - this._options = r3, this._is_wrap_attributes_force = "force" === this._options.wrap_attributes.substr(0, "force".length), this._is_wrap_attributes_force_expand_multiline = "force-expand-multiline" === this._options.wrap_attributes, this._is_wrap_attributes_force_aligned = "force-aligned" === this._options.wrap_attributes, this._is_wrap_attributes_aligned_multiple = "aligned-multiple" === this._options.wrap_attributes, this._is_wrap_attributes_preserve = "preserve" === this._options.wrap_attributes.substr(0, "preserve".length), this._is_wrap_attributes_preserve_aligned = "preserve-aligned" === this._options.wrap_attributes; + this._options = r3, this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, "force".length) === "force", this._is_wrap_attributes_force_expand_multiline = this._options.wrap_attributes === "force-expand-multiline", this._is_wrap_attributes_force_aligned = this._options.wrap_attributes === "force-aligned", this._is_wrap_attributes_aligned_multiple = this._options.wrap_attributes === "aligned-multiple", this._is_wrap_attributes_preserve = this._options.wrap_attributes.substr(0, "preserve".length) === "preserve", this._is_wrap_attributes_preserve_aligned = this._options.wrap_attributes === "preserve-aligned"; } p2.prototype.get_parser_token = function() { return this._current_frame ? this._current_frame.parser_token : null; @@ -10977,8 +10977,8 @@ var t3 = null; return e3 && (t3 = e3.parser_token, this._printer.indent_level = e3.indent_level, this._current_frame = e3.parent), t3; }, p2.prototype._get_frame = function(e3, t3) { - for (var n3 = this._current_frame; n3 && -1 === e3.indexOf(n3.tag); ) { - if (t3 && -1 !== t3.indexOf(n3.tag)) { + for (var n3 = this._current_frame; n3 && e3.indexOf(n3.tag) === -1; ) { + if (t3 && t3.indexOf(n3.tag) !== -1) { n3 = null; break; } @@ -10995,7 +10995,7 @@ if (this._options.disabled) return this._source_text; var e3 = this._source_text, t3 = this._options.eol; - "auto" === this._options.eol && (t3 = "\n", e3 && a2.test(e3) && (t3 = e3.match(a2)[0])); + this._options.eol === "auto" && (t3 = "\n", e3 && a2.test(e3) && (t3 = e3.match(a2)[0])); var n3 = (e3 = e3.replace(l2, "\n")).match(/^[\t ]*/)[0], i3 = {text: "", type: ""}, o3 = new g2(), d3 = new c2(this._options, n3), h3 = new r2(e3, this._options).tokenize(); this._tag_stack = new p2(d3); for (var u3 = null, m3 = h3.next(); m3.type !== s2.EOF; ) @@ -11003,17 +11003,17 @@ return d3._output.get_code(t3); }, m2.prototype._handle_tag_close = function(e3, t3, n3) { var i3 = {text: t3.text, type: t3.type}; - return e3.alignment_size = 0, n3.tag_complete = true, e3.set_space_before_token(t3.newlines || "" !== t3.whitespace_before, true), n3.is_unformatted ? e3.add_raw_token(t3) : ("<" === n3.tag_start_char && (e3.set_space_before_token("/" === t3.text[0], true), this._is_wrap_attributes_force_expand_multiline && n3.has_wrapped_attrs && e3.print_newline(false)), e3.print_token(t3)), !n3.indent_content || n3.is_unformatted || n3.is_content_unformatted || (e3.indent(), n3.indent_content = false), n3.is_inline_element || n3.is_unformatted || n3.is_content_unformatted || e3.set_wrap_point(), i3; + return e3.alignment_size = 0, n3.tag_complete = true, e3.set_space_before_token(t3.newlines || t3.whitespace_before !== "", true), n3.is_unformatted ? e3.add_raw_token(t3) : (n3.tag_start_char === "<" && (e3.set_space_before_token(t3.text[0] === "/", true), this._is_wrap_attributes_force_expand_multiline && n3.has_wrapped_attrs && e3.print_newline(false)), e3.print_token(t3)), !n3.indent_content || n3.is_unformatted || n3.is_content_unformatted || (e3.indent(), n3.indent_content = false), n3.is_inline_element || n3.is_unformatted || n3.is_content_unformatted || e3.set_wrap_point(), i3; }, m2.prototype._handle_inside_tag = function(e3, t3, n3, i3) { var o3 = n3.has_wrapped_attrs, r3 = {text: t3.text, type: t3.type}; - if (e3.set_space_before_token(t3.newlines || "" !== t3.whitespace_before, true), n3.is_unformatted) + if (e3.set_space_before_token(t3.newlines || t3.whitespace_before !== "", true), n3.is_unformatted) e3.add_raw_token(t3); - else if ("{" === n3.tag_start_char && t3.type === s2.TEXT) + else if (n3.tag_start_char === "{" && t3.type === s2.TEXT) e3.print_preserved_newlines(t3) ? (t3.newlines = 0, e3.add_raw_token(t3)) : e3.print_token(t3); else { - if (t3.type === s2.ATTRIBUTE ? (e3.set_space_before_token(true), n3.attr_count += 1) : (t3.type === s2.EQUALS || t3.type === s2.VALUE && t3.previous.type === s2.EQUALS) && e3.set_space_before_token(false), t3.type === s2.ATTRIBUTE && "<" === n3.tag_start_char && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (e3.traverse_whitespace(t3), o3 = o3 || 0 !== t3.newlines), this._is_wrap_attributes_force)) { + if (t3.type === s2.ATTRIBUTE ? (e3.set_space_before_token(true), n3.attr_count += 1) : (t3.type === s2.EQUALS || t3.type === s2.VALUE && t3.previous.type === s2.EQUALS) && e3.set_space_before_token(false), t3.type === s2.ATTRIBUTE && n3.tag_start_char === "<" && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (e3.traverse_whitespace(t3), o3 = o3 || t3.newlines !== 0), this._is_wrap_attributes_force)) { var a3 = n3.attr_count > 1; - if (this._is_wrap_attributes_force_expand_multiline && 1 === n3.attr_count) { + if (this._is_wrap_attributes_force_expand_multiline && n3.attr_count === 1) { var l3, c3 = true, d3 = 0; do { if ((l3 = i3.peek(d3)).type === s2.ATTRIBUTE) { @@ -11034,17 +11034,17 @@ return n3.custom_beautifier_name ? this._print_custom_beatifier_text(e3, t3, n3) : n3.is_unformatted || n3.is_content_unformatted ? e3.add_raw_token(t3) : (e3.traverse_whitespace(t3), e3.print_token(t3)), i3; }, m2.prototype._print_custom_beatifier_text = function(e3, t3, n3) { var i3 = this; - if ("" !== t3.text) { + if (t3.text !== "") { var o3, r3 = t3.text, s3 = 1, a3 = "", l3 = ""; - "javascript" === n3.custom_beautifier_name && "function" == typeof this._js_beautify ? o3 = this._js_beautify : "css" === n3.custom_beautifier_name && "function" == typeof this._css_beautify ? o3 = this._css_beautify : "html" === n3.custom_beautifier_name && (o3 = function(e4, t4) { + n3.custom_beautifier_name === "javascript" && typeof this._js_beautify == "function" ? o3 = this._js_beautify : n3.custom_beautifier_name === "css" && typeof this._css_beautify == "function" ? o3 = this._css_beautify : n3.custom_beautifier_name === "html" && (o3 = function(e4, t4) { return new m2(e4, t4, i3._js_beautify, i3._css_beautify).beautify(); - }), "keep" === this._options.indent_scripts ? s3 = 0 : "separate" === this._options.indent_scripts && (s3 = -e3.indent_level); + }), this._options.indent_scripts === "keep" ? s3 = 0 : this._options.indent_scripts === "separate" && (s3 = -e3.indent_level); var c3 = e3.get_full_indent(s3); - if (r3 = r3.replace(/\n[ \t]*$/, ""), "html" !== n3.custom_beautifier_name && "<" === r3[0] && r3.match(/^(|]]>)$/.exec(r3); if (!d3) return void e3.add_raw_token(t3); - a3 = c3 + d3[1] + "\n", r3 = d3[4], d3[5] && (l3 = c3 + d3[5]), r3 = r3.replace(/\n[ \t]*$/, ""), (d3[2] || -1 !== d3[3].indexOf("\n")) && (d3 = d3[3].match(/[ \t]+$/)) && (t3.whitespace_before = d3[0]); + a3 = c3 + d3[1] + "\n", r3 = d3[4], d3[5] && (l3 = c3 + d3[5]), r3 = r3.replace(/\n[ \t]*$/, ""), (d3[2] || d3[3].indexOf("\n") !== -1) && (d3 = d3[3].match(/[ \t]+$/)) && (t3.whitespace_before = d3[0]); } if (r3) if (o3) { @@ -11060,45 +11060,45 @@ } }, m2.prototype._handle_tag_open = function(e3, t3, n3, i3) { var o3 = this._get_tag_open_token(t3); - return (n3.is_unformatted || n3.is_content_unformatted) && t3.type === s2.TAG_OPEN && 0 === t3.text.indexOf("]*)/), this.tag_check = n3 ? n3[1] : "") : (n3 = t3.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/), this.tag_check = n3 ? n3[1] : "", "{{#>" === t3.text && ">" === this.tag_check && null !== t3.next && (this.tag_check = t3.next.text)), this.tag_check = this.tag_check.toLowerCase(), t3.type === s2.COMMENT && (this.tag_complete = true), this.is_start_tag = "/" !== this.tag_check.charAt(0), this.tag_name = this.is_start_tag ? this.tag_check : this.tag_check.substr(1), this.is_end_tag = !this.is_start_tag || t3.closed && "/>" === t3.closed.text, this.is_end_tag = this.is_end_tag || "{" === this.tag_start_char && (this.text.length < 3 || /[^#\^]/.test(this.text.charAt(2)))) : this.tag_complete = true; + (this.parent = e3 || null, this.text = "", this.type = "TK_TAG_OPEN", this.tag_name = "", this.is_inline_element = false, this.is_unformatted = false, this.is_content_unformatted = false, this.is_empty_element = false, this.is_start_tag = false, this.is_end_tag = false, this.indent_content = false, this.multiline_content = false, this.custom_beautifier_name = null, this.start_tag_token = null, this.attr_count = 0, this.has_wrapped_attrs = false, this.alignment_size = 0, this.tag_complete = false, this.tag_start_char = "", this.tag_check = "", t3) ? (this.tag_start_char = t3.text[0], this.text = t3.text, this.tag_start_char === "<" ? (n3 = t3.text.match(/^<([^\s>]*)/), this.tag_check = n3 ? n3[1] : "") : (n3 = t3.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/), this.tag_check = n3 ? n3[1] : "", t3.text === "{{#>" && this.tag_check === ">" && t3.next !== null && (this.tag_check = t3.next.text)), this.tag_check = this.tag_check.toLowerCase(), t3.type === s2.COMMENT && (this.tag_complete = true), this.is_start_tag = this.tag_check.charAt(0) !== "/", this.tag_name = this.is_start_tag ? this.tag_check : this.tag_check.substr(1), this.is_end_tag = !this.is_start_tag || t3.closed && t3.closed.text === "/>", this.is_end_tag = this.is_end_tag || this.tag_start_char === "{" && (this.text.length < 3 || /[^#\^]/.test(this.text.charAt(2)))) : this.tag_complete = true; }; m2.prototype._get_tag_open_token = function(e3) { var t3 = new g2(this._tag_stack.get_parser_token(), e3); - return t3.alignment_size = this._options.wrap_attributes_indent_size, t3.is_end_tag = t3.is_end_tag || h2(t3.tag_check, this._options.void_elements), t3.is_empty_element = t3.tag_complete || t3.is_start_tag && t3.is_end_tag, t3.is_unformatted = !t3.tag_complete && h2(t3.tag_check, this._options.unformatted), t3.is_content_unformatted = !t3.is_empty_element && h2(t3.tag_check, this._options.content_unformatted), t3.is_inline_element = h2(t3.tag_name, this._options.inline) || "{" === t3.tag_start_char, t3; + return t3.alignment_size = this._options.wrap_attributes_indent_size, t3.is_end_tag = t3.is_end_tag || h2(t3.tag_check, this._options.void_elements), t3.is_empty_element = t3.tag_complete || t3.is_start_tag && t3.is_end_tag, t3.is_unformatted = !t3.tag_complete && h2(t3.tag_check, this._options.unformatted), t3.is_content_unformatted = !t3.is_empty_element && h2(t3.tag_check, this._options.content_unformatted), t3.is_inline_element = h2(t3.tag_name, this._options.inline) || t3.tag_start_char === "{", t3; }, m2.prototype._set_tag_position = function(e3, t3, n3, i3, o3) { - if (n3.is_empty_element || (n3.is_end_tag ? n3.start_tag_token = this._tag_stack.try_pop(n3.tag_name) : (this._do_optional_end_element(n3) && (n3.is_inline_element || (n3.parent && (n3.parent.multiline_content = true), e3.print_newline(false))), this._tag_stack.record_tag(n3), "script" !== n3.tag_name && "style" !== n3.tag_name || n3.is_unformatted || n3.is_content_unformatted || (n3.custom_beautifier_name = d2(n3.tag_check, t3)))), h2(n3.tag_check, this._options.extra_liners) && (e3.print_newline(false), e3._output.just_added_blankline() || e3.print_newline(true)), n3.is_empty_element) { - if ("{" === n3.tag_start_char && "else" === n3.tag_check) + if (n3.is_empty_element || (n3.is_end_tag ? n3.start_tag_token = this._tag_stack.try_pop(n3.tag_name) : (this._do_optional_end_element(n3) && (n3.is_inline_element || (n3.parent && (n3.parent.multiline_content = true), e3.print_newline(false))), this._tag_stack.record_tag(n3), n3.tag_name !== "script" && n3.tag_name !== "style" || n3.is_unformatted || n3.is_content_unformatted || (n3.custom_beautifier_name = d2(n3.tag_check, t3)))), h2(n3.tag_check, this._options.extra_liners) && (e3.print_newline(false), e3._output.just_added_blankline() || e3.print_newline(true)), n3.is_empty_element) { + if (n3.tag_start_char === "{" && n3.tag_check === "else") this._tag_stack.indent_to_tag(["if", "unless", "each"]), n3.indent_content = true, e3.current_line_has_match(/{{#if/) || e3.print_newline(false); - "!--" === n3.tag_name && o3.type === s2.TAG_CLOSE && i3.is_end_tag && -1 === n3.text.indexOf("\n") || n3.is_inline_element || n3.is_unformatted || e3.print_newline(false); + n3.tag_name === "!--" && o3.type === s2.TAG_CLOSE && i3.is_end_tag && n3.text.indexOf("\n") === -1 || n3.is_inline_element || n3.is_unformatted || e3.print_newline(false); } else - n3.is_unformatted || n3.is_content_unformatted ? n3.is_inline_element || n3.is_unformatted || e3.print_newline(false) : n3.is_end_tag ? (n3.start_tag_token && n3.start_tag_token.multiline_content || !(n3.is_inline_element || i3.is_inline_element || o3.type === s2.TAG_CLOSE && n3.start_tag_token === i3 || "TK_CONTENT" === o3.type)) && e3.print_newline(false) : (n3.indent_content = !n3.custom_beautifier_name, "<" === n3.tag_start_char && ("html" === n3.tag_name ? n3.indent_content = this._options.indent_inner_html : "head" === n3.tag_name ? n3.indent_content = this._options.indent_head_inner_html : "body" === n3.tag_name && (n3.indent_content = this._options.indent_body_inner_html)), n3.is_inline_element || "TK_CONTENT" === o3.type || (n3.parent && (n3.parent.multiline_content = true), e3.print_newline(false))); + n3.is_unformatted || n3.is_content_unformatted ? n3.is_inline_element || n3.is_unformatted || e3.print_newline(false) : n3.is_end_tag ? (n3.start_tag_token && n3.start_tag_token.multiline_content || !(n3.is_inline_element || i3.is_inline_element || o3.type === s2.TAG_CLOSE && n3.start_tag_token === i3 || o3.type === "TK_CONTENT")) && e3.print_newline(false) : (n3.indent_content = !n3.custom_beautifier_name, n3.tag_start_char === "<" && (n3.tag_name === "html" ? n3.indent_content = this._options.indent_inner_html : n3.tag_name === "head" ? n3.indent_content = this._options.indent_head_inner_html : n3.tag_name === "body" && (n3.indent_content = this._options.indent_body_inner_html)), n3.is_inline_element || o3.type === "TK_CONTENT" || (n3.parent && (n3.parent.multiline_content = true), e3.print_newline(false))); }; var f2 = ["address", "article", "aside", "blockquote", "details", "div", "dl", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], b2 = ["a", "audio", "del", "ins", "map", "noscript", "video"]; m2.prototype._do_optional_end_element = function(e3) { var t3 = null; if (!e3.is_empty_element && e3.is_start_tag && e3.parent) { - if ("body" === e3.tag_name) + if (e3.tag_name === "body") t3 = t3 || this._tag_stack.try_pop("head"); - else if ("li" === e3.tag_name) + else if (e3.tag_name === "li") t3 = t3 || this._tag_stack.try_pop("li", ["ol", "ul"]); - else if ("dd" === e3.tag_name || "dt" === e3.tag_name) + else if (e3.tag_name === "dd" || e3.tag_name === "dt") t3 = (t3 = t3 || this._tag_stack.try_pop("dt", ["dl"])) || this._tag_stack.try_pop("dd", ["dl"]); - else if ("p" === e3.parent.tag_name && -1 !== f2.indexOf(e3.tag_name)) { + else if (e3.parent.tag_name === "p" && f2.indexOf(e3.tag_name) !== -1) { var n3 = e3.parent.parent; - n3 && -1 !== b2.indexOf(n3.tag_name) || (t3 = t3 || this._tag_stack.try_pop("p")); + n3 && b2.indexOf(n3.tag_name) !== -1 || (t3 = t3 || this._tag_stack.try_pop("p")); } else - "rp" === e3.tag_name || "rt" === e3.tag_name ? t3 = (t3 = t3 || this._tag_stack.try_pop("rt", ["ruby", "rtc"])) || this._tag_stack.try_pop("rp", ["ruby", "rtc"]) : "optgroup" === e3.tag_name ? t3 = t3 || this._tag_stack.try_pop("optgroup", ["select"]) : "option" === e3.tag_name ? t3 = t3 || this._tag_stack.try_pop("option", ["select", "datalist", "optgroup"]) : "colgroup" === e3.tag_name ? t3 = t3 || this._tag_stack.try_pop("caption", ["table"]) : "thead" === e3.tag_name ? t3 = (t3 = t3 || this._tag_stack.try_pop("caption", ["table"])) || this._tag_stack.try_pop("colgroup", ["table"]) : "tbody" === e3.tag_name || "tfoot" === e3.tag_name ? t3 = (t3 = (t3 = (t3 = t3 || this._tag_stack.try_pop("caption", ["table"])) || this._tag_stack.try_pop("colgroup", ["table"])) || this._tag_stack.try_pop("thead", ["table"])) || this._tag_stack.try_pop("tbody", ["table"]) : "tr" === e3.tag_name ? t3 = (t3 = (t3 = t3 || this._tag_stack.try_pop("caption", ["table"])) || this._tag_stack.try_pop("colgroup", ["table"])) || this._tag_stack.try_pop("tr", ["table", "thead", "tbody", "tfoot"]) : "th" !== e3.tag_name && "td" !== e3.tag_name || (t3 = (t3 = t3 || this._tag_stack.try_pop("td", ["table", "thead", "tbody", "tfoot", "tr"])) || this._tag_stack.try_pop("th", ["table", "thead", "tbody", "tfoot", "tr"])); + e3.tag_name === "rp" || e3.tag_name === "rt" ? t3 = (t3 = t3 || this._tag_stack.try_pop("rt", ["ruby", "rtc"])) || this._tag_stack.try_pop("rp", ["ruby", "rtc"]) : e3.tag_name === "optgroup" ? t3 = t3 || this._tag_stack.try_pop("optgroup", ["select"]) : e3.tag_name === "option" ? t3 = t3 || this._tag_stack.try_pop("option", ["select", "datalist", "optgroup"]) : e3.tag_name === "colgroup" ? t3 = t3 || this._tag_stack.try_pop("caption", ["table"]) : e3.tag_name === "thead" ? t3 = (t3 = t3 || this._tag_stack.try_pop("caption", ["table"])) || this._tag_stack.try_pop("colgroup", ["table"]) : e3.tag_name === "tbody" || e3.tag_name === "tfoot" ? t3 = (t3 = (t3 = (t3 = t3 || this._tag_stack.try_pop("caption", ["table"])) || this._tag_stack.try_pop("colgroup", ["table"])) || this._tag_stack.try_pop("thead", ["table"])) || this._tag_stack.try_pop("tbody", ["table"]) : e3.tag_name === "tr" ? t3 = (t3 = (t3 = t3 || this._tag_stack.try_pop("caption", ["table"])) || this._tag_stack.try_pop("colgroup", ["table"])) || this._tag_stack.try_pop("tr", ["table", "thead", "tbody", "tfoot"]) : e3.tag_name !== "th" && e3.tag_name !== "td" || (t3 = (t3 = t3 || this._tag_stack.try_pop("td", ["table", "thead", "tbody", "tfoot", "tr"])) || this._tag_stack.try_pop("th", ["table", "thead", "tbody", "tfoot", "tr"])); return e3.parent = this._tag_stack.get_parser_token(), t3; } }, e2.exports.Beautifier = m2; }, function(e2, t2, n2) { var i2 = n2(6).Options; function o2(e3) { - i2.call(this, e3, "html"), 1 === this.templating.length && "auto" === this.templating[0] && (this.templating = ["django", "erb", "handlebars", "php"]), this.indent_inner_html = this._get_boolean("indent_inner_html"), this.indent_body_inner_html = this._get_boolean("indent_body_inner_html", true), this.indent_head_inner_html = this._get_boolean("indent_head_inner_html", true), this.indent_handlebars = this._get_boolean("indent_handlebars", true), this.wrap_attributes = this._get_selection("wrap_attributes", ["auto", "force", "force-aligned", "force-expand-multiline", "aligned-multiple", "preserve", "preserve-aligned"]), this.wrap_attributes_indent_size = this._get_number("wrap_attributes_indent_size", this.indent_size), this.extra_liners = this._get_array("extra_liners", ["head", "body", "/html"]), this.inline = this._get_array("inline", ["a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "map", "mark", "math", "meter", "noscript", "object", "output", "progress", "q", "ruby", "s", "samp", "select", "small", "span", "strong", "sub", "sup", "svg", "template", "textarea", "time", "u", "var", "video", "wbr", "text", "acronym", "big", "strike", "tt"]), this.void_elements = this._get_array("void_elements", ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "menuitem", "meta", "param", "source", "track", "wbr", "!doctype", "?xml", "basefont", "isindex"]), this.unformatted = this._get_array("unformatted", []), this.content_unformatted = this._get_array("content_unformatted", ["pre", "textarea"]), this.unformatted_content_delimiter = this._get_characters("unformatted_content_delimiter"), this.indent_scripts = this._get_selection("indent_scripts", ["normal", "keep", "separate"]); + i2.call(this, e3, "html"), this.templating.length === 1 && this.templating[0] === "auto" && (this.templating = ["django", "erb", "handlebars", "php"]), this.indent_inner_html = this._get_boolean("indent_inner_html"), this.indent_body_inner_html = this._get_boolean("indent_body_inner_html", true), this.indent_head_inner_html = this._get_boolean("indent_head_inner_html", true), this.indent_handlebars = this._get_boolean("indent_handlebars", true), this.wrap_attributes = this._get_selection("wrap_attributes", ["auto", "force", "force-aligned", "force-expand-multiline", "aligned-multiple", "preserve", "preserve-aligned"]), this.wrap_attributes_indent_size = this._get_number("wrap_attributes_indent_size", this.indent_size), this.extra_liners = this._get_array("extra_liners", ["head", "body", "/html"]), this.inline = this._get_array("inline", ["a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "map", "mark", "math", "meter", "noscript", "object", "output", "progress", "q", "ruby", "s", "samp", "select", "small", "span", "strong", "sub", "sup", "svg", "template", "textarea", "time", "u", "var", "video", "wbr", "text", "acronym", "big", "strike", "tt"]), this.void_elements = this._get_array("void_elements", ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "menuitem", "meta", "param", "source", "track", "wbr", "!doctype", "?xml", "basefont", "isindex"]), this.unformatted = this._get_array("unformatted", []), this.content_unformatted = this._get_array("content_unformatted", ["pre", "textarea"]), this.unformatted_content_delimiter = this._get_characters("unformatted_content_delimiter"), this.indent_scripts = this._get_selection("indent_scripts", ["normal", "keep", "separate"]); } o2.prototype = new i2(), e2.exports.Options = o2; }, function(e2, t2, n2) { @@ -11115,54 +11115,54 @@ }, d2.prototype._is_opening = function(e3) { return e3.type === l2.TAG_OPEN; }, d2.prototype._is_closing = function(e3, t3) { - return e3.type === l2.TAG_CLOSE && t3 && ((">" === e3.text || "/>" === e3.text) && "<" === t3.text[0] || "}}" === e3.text && "{" === t3.text[0] && "{" === t3.text[1]); + return e3.type === l2.TAG_CLOSE && t3 && ((e3.text === ">" || e3.text === "/>") && t3.text[0] === "<" || e3.text === "}}" && t3.text[0] === "{" && t3.text[1] === "{"); }, d2.prototype._reset = function() { this._current_tag_name = ""; }, d2.prototype._get_next_token = function(e3, t3) { var n3 = null; this._readWhitespace(); var i3 = this._input.peek(); - return null === i3 ? this._create_token(l2.EOF, "") : n3 = (n3 = (n3 = (n3 = (n3 = (n3 = (n3 = (n3 = (n3 = n3 || this._read_open_handlebars(i3, t3)) || this._read_attribute(i3, e3, t3)) || this._read_raw_content(i3, e3, t3)) || this._read_close(i3, t3)) || this._read_content_word(i3)) || this._read_comment_or_cdata(i3)) || this._read_processing(i3)) || this._read_open(i3, t3)) || this._create_token(l2.UNKNOWN, this._input.next()); + return i3 === null ? this._create_token(l2.EOF, "") : n3 = (n3 = (n3 = (n3 = (n3 = (n3 = (n3 = (n3 = (n3 = n3 || this._read_open_handlebars(i3, t3)) || this._read_attribute(i3, e3, t3)) || this._read_raw_content(i3, e3, t3)) || this._read_close(i3, t3)) || this._read_content_word(i3)) || this._read_comment_or_cdata(i3)) || this._read_processing(i3)) || this._read_open(i3, t3)) || this._create_token(l2.UNKNOWN, this._input.next()); }, d2.prototype._read_comment_or_cdata = function(e3) { var t3 = null, n3 = null, i3 = null; - "<" === e3 && ("!" === this._input.peek(1) && ((n3 = this.__patterns.comment.read()) ? (i3 = c2.get_directives(n3)) && "start" === i3.ignore && (n3 += c2.readIgnored(this._input)) : n3 = this.__patterns.cdata.read()), n3 && ((t3 = this._create_token(l2.COMMENT, n3)).directives = i3)); + e3 === "<" && (this._input.peek(1) === "!" && ((n3 = this.__patterns.comment.read()) ? (i3 = c2.get_directives(n3)) && i3.ignore === "start" && (n3 += c2.readIgnored(this._input)) : n3 = this.__patterns.cdata.read()), n3 && ((t3 = this._create_token(l2.COMMENT, n3)).directives = i3)); return t3; }, d2.prototype._read_processing = function(e3) { var t3 = null, n3 = null; - if ("<" === e3) { + if (e3 === "<") { var i3 = this._input.peek(1); - "!" !== i3 && "?" !== i3 || (n3 = (n3 = this.__patterns.conditional_comment.read()) || this.__patterns.processing.read()), n3 && ((t3 = this._create_token(l2.COMMENT, n3)).directives = null); + i3 !== "!" && i3 !== "?" || (n3 = (n3 = this.__patterns.conditional_comment.read()) || this.__patterns.processing.read()), n3 && ((t3 = this._create_token(l2.COMMENT, n3)).directives = null); } return t3; }, d2.prototype._read_open = function(e3, t3) { var n3 = null, i3 = null; - return t3 || "<" === e3 && (n3 = this._input.next(), "/" === this._input.peek() && (n3 += this._input.next()), n3 += this.__patterns.element_name.read(), i3 = this._create_token(l2.TAG_OPEN, n3)), i3; + return t3 || e3 === "<" && (n3 = this._input.next(), this._input.peek() === "/" && (n3 += this._input.next()), n3 += this.__patterns.element_name.read(), i3 = this._create_token(l2.TAG_OPEN, n3)), i3; }, d2.prototype._read_open_handlebars = function(e3, t3) { var n3 = null, i3 = null; - return t3 || this._options.indent_handlebars && "{" === e3 && "{" === this._input.peek(1) && ("!" === this._input.peek(2) ? (n3 = (n3 = this.__patterns.handlebars_comment.read()) || this.__patterns.handlebars.read(), i3 = this._create_token(l2.COMMENT, n3)) : (n3 = this.__patterns.handlebars_open.read(), i3 = this._create_token(l2.TAG_OPEN, n3))), i3; + return t3 || this._options.indent_handlebars && e3 === "{" && this._input.peek(1) === "{" && (this._input.peek(2) === "!" ? (n3 = (n3 = this.__patterns.handlebars_comment.read()) || this.__patterns.handlebars.read(), i3 = this._create_token(l2.COMMENT, n3)) : (n3 = this.__patterns.handlebars_open.read(), i3 = this._create_token(l2.TAG_OPEN, n3))), i3; }, d2.prototype._read_close = function(e3, t3) { var n3 = null, i3 = null; - return t3 && ("<" === t3.text[0] && (">" === e3 || "/" === e3 && ">" === this._input.peek(1)) ? (n3 = this._input.next(), "/" === e3 && (n3 += this._input.next()), i3 = this._create_token(l2.TAG_CLOSE, n3)) : "{" === t3.text[0] && "}" === e3 && "}" === this._input.peek(1) && (this._input.next(), this._input.next(), i3 = this._create_token(l2.TAG_CLOSE, "}}"))), i3; + return t3 && (t3.text[0] === "<" && (e3 === ">" || e3 === "/" && this._input.peek(1) === ">") ? (n3 = this._input.next(), e3 === "/" && (n3 += this._input.next()), i3 = this._create_token(l2.TAG_CLOSE, n3)) : t3.text[0] === "{" && e3 === "}" && this._input.peek(1) === "}" && (this._input.next(), this._input.next(), i3 = this._create_token(l2.TAG_CLOSE, "}}"))), i3; }, d2.prototype._read_attribute = function(e3, t3, n3) { var i3 = null, o3 = ""; - if (n3 && "<" === n3.text[0]) - if ("=" === e3) + if (n3 && n3.text[0] === "<") + if (e3 === "=") i3 = this._create_token(l2.EQUALS, this._input.next()); - else if ('"' === e3 || "'" === e3) { + else if (e3 === '"' || e3 === "'") { var r3 = this._input.next(); - r3 += '"' === e3 ? this.__patterns.double_quote.read() : this.__patterns.single_quote.read(), i3 = this._create_token(l2.VALUE, r3); + r3 += e3 === '"' ? this.__patterns.double_quote.read() : this.__patterns.single_quote.read(), i3 = this._create_token(l2.VALUE, r3); } else (o3 = this.__patterns.attribute.read()) && (i3 = t3.type === l2.EQUALS ? this._create_token(l2.VALUE, o3) : this._create_token(l2.ATTRIBUTE, o3)); return i3; }, d2.prototype._is_content_unformatted = function(e3) { - return -1 === this._options.void_elements.indexOf(e3) && (-1 !== this._options.content_unformatted.indexOf(e3) || -1 !== this._options.unformatted.indexOf(e3)); + return this._options.void_elements.indexOf(e3) === -1 && (this._options.content_unformatted.indexOf(e3) !== -1 || this._options.unformatted.indexOf(e3) !== -1); }, d2.prototype._read_raw_content = function(e3, t3, n3) { var i3 = ""; - if (n3 && "{" === n3.text[0]) + if (n3 && n3.text[0] === "{") i3 = this.__patterns.handlebars_raw_close.read(); - else if (t3.type === l2.TAG_CLOSE && "<" === t3.opened.text[0]) { + else if (t3.type === l2.TAG_CLOSE && t3.opened.text[0] === "<") { var o3 = t3.opened.text.substr(1).toLowerCase(); - if ("script" === o3 || "style" === o3) { + if (o3 === "script" || o3 === "style") { var r3 = this._read_comment_or_cdata(e3); if (r3) return r3.type = l2.TEXT, r3; @@ -11182,23 +11182,23 @@ if (t2) { for (var c2 = e2.offsetAt(t2.start), d2 = c2; d2 > 0 && ft(i2, d2 - 1); ) d2--; - 0 === d2 || gt(i2, d2 - 1) ? c2 = d2 : d2 < c2 && (c2 = d2 + 1); + d2 === 0 || gt(i2, d2 - 1) ? c2 = d2 : d2 < c2 && (c2 = d2 + 1); for (var h2 = e2.offsetAt(t2.end), u2 = h2; u2 < i2.length && ft(i2, u2); ) u2++; (u2 === i2.length || gt(i2, u2)) && (h2 = u2), t2 = a.create(e2.positionAt(c2), e2.positionAt(h2)); var p2 = i2.substring(0, c2); if (new RegExp(/.*[<][^>]*$/).test(p2)) return [{range: t2, newText: i2 = i2.substring(c2, h2)}]; - if (o2 = h2 === i2.length, i2 = i2.substring(c2, h2), 0 !== c2) { + if (o2 = h2 === i2.length, i2 = i2.substring(c2, h2), c2 !== 0) { var m2 = e2.offsetAt(s.create(t2.start.line, 0)); r2 = function(e3, t3, n3) { var i3 = t3, o3 = 0, r3 = n3.tabSize || 4; for (; i3 < e3.length; ) { var s2 = e3.charAt(i3); - if (" " === s2) + if (s2 === " ") o3++; else { - if (" " !== s2) + if (s2 !== " ") break; o3 += r3; } @@ -11214,38 +11214,38 @@ }(i2.replace(/^\s+/, ""), g2); if (r2 > 0) { var b2 = n2.insertSpaces ? We(" ", l2 * r2) : We(" ", r2); - f2 = f2.split("\n").join("\n" + b2), 0 === t2.start.character && (f2 = b2 + f2); + f2 = f2.split("\n").join("\n" + b2), t2.start.character === 0 && (f2 = b2 + f2); } return [{range: t2, newText: f2}]; } function pt(e2, t2, n2) { if (e2 && e2.hasOwnProperty(t2)) { var i2 = e2[t2]; - if (null !== i2) + if (i2 !== null) return i2; } return n2; } function mt(e2, t2, n2) { var i2 = pt(e2, t2, null); - return "string" == typeof i2 ? i2.length > 0 ? i2.split(",").map(function(e3) { + return typeof i2 == "string" ? i2.length > 0 ? i2.split(",").map(function(e3) { return e3.trim().toLowerCase(); }) : [] : n2; } function gt(e2, t2) { - return -1 !== "\r\n".indexOf(e2.charAt(t2)); + return "\r\n".indexOf(e2.charAt(t2)) !== -1; } function ft(e2, t2) { - return -1 !== " ".indexOf(e2.charAt(t2)); + return " ".indexOf(e2.charAt(t2)) !== -1; } var bt = n(176); function _t(e2) { var t2 = e2[0]; - return t2 !== e2[e2.length - 1] || "'" !== t2 && '"' !== t2 || (e2 = e2.substr(1, e2.length - 2)), e2; + return t2 !== e2[e2.length - 1] || t2 !== "'" && t2 !== '"' || (e2 = e2.substr(1, e2.length - 2)), e2; } function vt(e2, t2, n2, i2, o2, r2) { var s2 = _t(n2); - if (l2 = s2, c2 = e2.languageId, l2.length && ("handlebars" !== c2 || !/{{.*}}/.test(l2)) && /\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(l2)) { + if (l2 = s2, c2 = e2.languageId, l2.length && (c2 !== "handlebars" || !/{{.*}}/.test(l2)) && /\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(l2)) { var l2, c2; s2.length < n2.length && (i2++, o2--); var d2 = function(e3, t3, n3, i3) { @@ -11267,18 +11267,18 @@ switch (o2) { case se.StartTag: if (!a2) - s2 = "base" === i2.getTokenText().toLowerCase(); + s2 = i2.getTokenText().toLowerCase() === "base"; break; case se.AttributeName: r2 = i2.getTokenText().toLowerCase(); break; case se.AttributeValue: - if ("src" === r2 || "href" === r2) { + if (r2 === "src" || r2 === "href") { var c2 = i2.getTokenText(); if (!s2) (u2 = vt(e2, t2, c2, i2.getTokenOffset(), i2.getTokenEnd(), a2)) && n2.push(u2); - s2 && void 0 === a2 && (a2 = _t(c2)) && t2 && (a2 = t2.resolveReference(a2, e2.uri)), s2 = false, r2 = void 0; - } else if ("id" === r2) { + s2 && a2 === void 0 && (a2 = _t(c2)) && t2 && (a2 = t2.resolveReference(a2, e2.uri)), s2 = false, r2 = void 0; + } else if (r2 === "id") { l2[_t(i2.getTokenText())] = i2.getTokenOffset(); } } @@ -11288,7 +11288,7 @@ var u2 = h2[d2], p2 = e2.uri + "#"; if (u2.target && Fe(u2.target, p2)) { var m2 = l2[u2.target.substr(p2.length)]; - if (void 0 !== m2) { + if (m2 !== void 0) { var g2 = e2.positionAt(m2); u2.target = "" + p2 + (g2.line + 1) + "," + (g2.character + 1); } @@ -11300,7 +11300,7 @@ var i2 = e2.offsetAt(t2), o2 = n2.findNodeAt(i2); if (!o2.tag) return []; - var r2 = [], s2 = St(se.StartTag, e2, o2.start), a2 = "number" == typeof o2.endTagStart && St(se.EndTag, e2, o2.endTagStart); + var r2 = [], s2 = St(se.StartTag, e2, o2.start), a2 = typeof o2.endTagStart == "number" && St(se.EndTag, e2, o2.endTagStart); return (s2 && xt(s2, t2) || a2 && xt(a2, t2)) && (s2 && r2.push({kind: V.Read, range: s2}), a2 && r2.push({kind: V.Read, range: a2})), r2; } function Ct(e2, t2) { @@ -11421,7 +11421,7 @@ return o2.length > f2 ? function(e3, t3) { e3 = e3.sort(function(e4, t4) { var n4 = e4.startLine - t4.startLine; - return 0 === n4 && (n4 = e4.endLine - t4.endLine), n4; + return n4 === 0 && (n4 = e4.endLine - t4.endLine), n4; }); for (var n3 = void 0, i3 = [], o3 = [], r3 = [], s3 = function(e4, t4) { o3[e4] = t4, t4 < 30 && (r3[t4] = (r3[t4] || 0) + 1); @@ -11455,7 +11455,7 @@ var u3 = []; for (a3 = 0; a3 < e3.length; a3++) { var p2 = o3[a3]; - "number" == typeof p2 && (p2 < d3 || p2 === d3 && c3++ < t3) && u3.push(e3[a3]); + typeof p2 == "number" && (p2 < d3 || p2 === d3 && c3++ < t3) && u3.push(e3[a3]); } return u3; }(o2, f2) : o2; @@ -11476,7 +11476,7 @@ if (o3.startTagEnd !== o3.end) return [[o3.start, o3.end]]; var s3 = a.create(e3.positionAt(o3.startTagEnd - 2), e3.positionAt(o3.startTagEnd)); - "/>" === e3.getText(s3) ? r3.unshift([o3.start + 1, o3.startTagEnd - 2]) : r3.unshift([o3.start + 1, o3.startTagEnd - 1]); + e3.getText(s3) === "/>" ? r3.unshift([o3.start + 1, o3.startTagEnd - 2]) : r3.unshift([o3.start + 1, o3.startTagEnd - 1]); var l2 = Ot(e3, o3, i3); return r3 = l2.concat(r3); } @@ -11513,7 +11513,7 @@ d2.push([u2, s2.getTokenEnd()]); break; } - r2 >= s2.getTokenOffset() && r2 <= s2.getTokenEnd() && (d2.unshift([s2.getTokenOffset(), s2.getTokenEnd()]), ('"' === p2[0] && '"' === p2[p2.length - 1] || "'" === p2[0] && "'" === p2[p2.length - 1]) && r2 >= s2.getTokenOffset() + 1 && r2 <= s2.getTokenEnd() - 1 && d2.unshift([s2.getTokenOffset() + 1, s2.getTokenEnd() - 1]), d2.push([u2, s2.getTokenEnd()])); + r2 >= s2.getTokenOffset() && r2 <= s2.getTokenEnd() && (d2.unshift([s2.getTokenOffset(), s2.getTokenEnd()]), (p2[0] === '"' && p2[p2.length - 1] === '"' || p2[0] === "'" && p2[p2.length - 1] === "'") && r2 >= s2.getTokenOffset() + 1 && r2 <= s2.getTokenEnd() - 1 && d2.unshift([s2.getTokenOffset() + 1, s2.getTokenEnd() - 1]), d2.push([u2, s2.getTokenEnd()])); } l2 = s2.scan(); } @@ -11521,9 +11521,9 @@ return [e3[0] + c2, e3[1] + c2]; }); } - var Dt = {version: 1.1, tags: [{name: "html", description: {kind: "markdown", value: "The html element represents the root of an HTML document."}, attributes: [{name: "manifest", description: {kind: "markdown", value: "Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}}, {name: "version", description: 'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'}, {name: "xmlns", description: 'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/html"}]}, {name: "head", description: {kind: "markdown", value: "The head element represents a collection of metadata for the Document."}, attributes: [{name: "profile", description: "The URIs of one or more metadata profiles, separated by white space."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/head"}]}, {name: "title", description: {kind: "markdown", value: "The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/title"}]}, {name: "base", description: {kind: "markdown", value: "The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."}, attributes: [{name: "href", description: {kind: "markdown", value: "The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}}, {name: "target", description: {kind: "markdown", value: "A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/base"}]}, {name: "link", description: {kind: "markdown", value: "The link element allows authors to link their document to other resources."}, attributes: [{name: "href", description: {kind: "markdown", value: 'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}}, {name: "rel", description: {kind: "markdown", value: "This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}}, {name: "media", description: {kind: "markdown", value: "This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}}, {name: "hreflang", description: {kind: "markdown", value: "This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}}, {name: "type", description: {kind: "markdown", value: 'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}}, {name: "sizes", description: {kind: "markdown", value: "This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `__x__` or `__X__`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}}, {name: "as", description: 'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `` element. It specifies the type of content being loaded by the ``, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'}, {name: "importance", description: "Indicates the relative importance of the resource. Priority hints are delegated using the values:"}, {name: "importance", description: '**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `` element if `rel="preload"` or `rel="prefetch"` is present.'}, {name: "integrity", description: "Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."}, {name: "referrerpolicy", description: 'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'}, {name: "title", description: 'The `title` attribute has special semantics on the `` element. When used on a `` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/link"}]}, {name: "meta", description: {kind: "markdown", value: "The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."}, attributes: [{name: "name", description: {kind: "markdown", value: 'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}}, {name: "http-equiv", description: {kind: "markdown", value: 'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}}, {name: "content", description: {kind: "markdown", value: "This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}}, {name: "charset", description: {kind: "markdown", value: 'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}}, {name: "scheme", description: "This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]}, {name: "style", description: {kind: "markdown", value: "The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."}, attributes: [{name: "media", description: {kind: "markdown", value: "This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}}, {name: "nonce", description: {kind: "markdown", value: "A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}}, {name: "type", description: {kind: "markdown", value: "This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}}, {name: "scoped", valueSet: "v"}, {name: "title", description: "This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/style"}]}, {name: "body", description: {kind: "markdown", value: "The body element represents the content of the document."}, attributes: [{name: "onafterprint", description: {kind: "markdown", value: "Function to call after the user has printed the document."}}, {name: "onbeforeprint", description: {kind: "markdown", value: "Function to call when the user requests printing of the document."}}, {name: "onbeforeunload", description: {kind: "markdown", value: "Function to call when the document is about to be unloaded."}}, {name: "onhashchange", description: {kind: "markdown", value: "Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}}, {name: "onlanguagechange", description: {kind: "markdown", value: "Function to call when the preferred languages changed."}}, {name: "onmessage", description: {kind: "markdown", value: "Function to call when the document has received a message."}}, {name: "onoffline", description: {kind: "markdown", value: "Function to call when network communication has failed."}}, {name: "ononline", description: {kind: "markdown", value: "Function to call when network communication has been restored."}}, {name: "onpagehide"}, {name: "onpageshow"}, {name: "onpopstate", description: {kind: "markdown", value: "Function to call when the user has navigated session history."}}, {name: "onstorage", description: {kind: "markdown", value: "Function to call when the storage area has changed."}}, {name: "onunload", description: {kind: "markdown", value: "Function to call when the document is going away."}}, {name: "alink", description: 'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'}, {name: "background", description: 'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'}, {name: "bgcolor", description: 'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'}, {name: "bottommargin", description: 'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "leftmargin", description: 'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "link", description: 'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'}, {name: "onblur", description: "Function to call when the document loses focus."}, {name: "onerror", description: "Function to call when the document fails to load properly."}, {name: "onfocus", description: "Function to call when the document receives focus."}, {name: "onload", description: "Function to call when the document has finished loading."}, {name: "onredo", description: "Function to call when the user has moved forward in undo transaction history."}, {name: "onresize", description: "Function to call when the document has been resized."}, {name: "onundo", description: "Function to call when the user has moved backward in undo transaction history."}, {name: "rightmargin", description: 'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "text", description: 'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'}, {name: "topmargin", description: 'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "vlink", description: 'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/body"}]}, {name: "article", description: {kind: "markdown", value: "The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/article"}]}, {name: "section", description: {kind: "markdown", value: "The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/section"}]}, {name: "nav", description: {kind: "markdown", value: "The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]}, {name: "aside", description: {kind: "markdown", value: "The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]}, {name: "h1", description: {kind: "markdown", value: "The h1 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h2", description: {kind: "markdown", value: "The h2 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h3", description: {kind: "markdown", value: "The h3 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h4", description: {kind: "markdown", value: "The h4 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h5", description: {kind: "markdown", value: "The h5 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h6", description: {kind: "markdown", value: "The h6 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "header", description: {kind: "markdown", value: "The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/header"}]}, {name: "footer", description: {kind: "markdown", value: "The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]}, {name: "address", description: {kind: "markdown", value: "The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/address"}]}, {name: "p", description: {kind: "markdown", value: "The p element represents a paragraph."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/p"}]}, {name: "hr", description: {kind: "markdown", value: "The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."}, attributes: [{name: "align", description: "Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."}, {name: "color", description: "Sets the color of the rule through color name or hexadecimal value."}, {name: "noshade", description: "Sets the rule to have no shading."}, {name: "size", description: "Sets the height, in pixels, of the rule."}, {name: "width", description: "Sets the length of the rule on the page through a pixel or percentage value."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]}, {name: "pre", description: {kind: "markdown", value: "The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."}, attributes: [{name: "cols", description: 'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'}, {name: "width", description: 'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'}, {name: "wrap", description: 'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]}, {name: "blockquote", description: {kind: "markdown", value: "The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."}, attributes: [{name: "cite", description: {kind: "markdown", value: "A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]}, {name: "ol", description: {kind: "markdown", value: "The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."}, attributes: [{name: "reversed", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute specifies that the items of the list are specified in reversed order."}}, {name: "start", description: {kind: "markdown", value: 'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}}, {name: "type", valueSet: "lt", description: {kind: "markdown", value: "Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}}, {name: "compact", description: 'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]}, {name: "ul", description: {kind: "markdown", value: "The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."}, attributes: [{name: "compact", description: 'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]}, {name: "li", description: {kind: "markdown", value: "The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."}, attributes: [{name: "value", description: {kind: "markdown", value: 'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}}, {name: "type", description: 'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/li"}]}, {name: "dl", description: {kind: "markdown", value: "The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]}, {name: "dt", description: {kind: "markdown", value: "The dt element represents the term, or name, part of a term-description group in a description list (dl element)."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]}, {name: "dd", description: {kind: "markdown", value: "The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."}, attributes: [{name: "nowrap", description: "If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]}, {name: "figure", description: {kind: "markdown", value: "The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]}, {name: "figcaption", description: {kind: "markdown", value: "The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]}, {name: "main", description: {kind: "markdown", value: "The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/main"}]}, {name: "div", description: {kind: "markdown", value: "The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/div"}]}, {name: "a", description: {kind: "markdown", value: "If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."}, attributes: [{name: "href", description: {kind: "markdown", value: "Contains a URL or a URL fragment that the hyperlink points to."}}, {name: "target", description: {kind: "markdown", value: 'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}}, {name: "download", description: {kind: "markdown", value: "This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}}, {name: "ping", description: {kind: "markdown", value: 'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}}, {name: "rel", description: {kind: "markdown", value: "Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}}, {name: "hreflang", description: {kind: "markdown", value: 'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}}, {name: "type", description: {kind: "markdown", value: 'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}}, {name: "referrerpolicy", description: "Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/a"}]}, {name: "em", description: {kind: "markdown", value: "The em element represents stress emphasis of its contents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/em"}]}, {name: "strong", description: {kind: "markdown", value: "The strong element represents strong importance, seriousness, or urgency for its contents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]}, {name: "small", description: {kind: "markdown", value: "The small element represents side comments such as small print."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/small"}]}, {name: "s", description: {kind: "markdown", value: "The s element represents contents that are no longer accurate or no longer relevant."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/s"}]}, {name: "cite", description: {kind: "markdown", value: "The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]}, {name: "q", description: {kind: "markdown", value: "The q element represents some phrasing content quoted from another source."}, attributes: [{name: "cite", description: {kind: "markdown", value: "The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/q"}]}, {name: "dfn", description: {kind: "markdown", value: "The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]}, {name: "abbr", description: {kind: "markdown", value: "The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]}, {name: "ruby", description: {kind: "markdown", value: "The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]}, {name: "rb", description: {kind: "markdown", value: "The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]}, {name: "rt", description: {kind: "markdown", value: "The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]}, {name: "rp", description: {kind: "markdown", value: "The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]}, {name: "time", description: {kind: "markdown", value: "The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."}, attributes: [{name: "datetime", description: {kind: "markdown", value: "This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/time"}]}, {name: "code", description: {kind: "markdown", value: "The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/code"}]}, {name: "var", description: {kind: "markdown", value: "The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/var"}]}, {name: "samp", description: {kind: "markdown", value: "The samp element represents sample or quoted output from another program or computing system."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]}, {name: "kbd", description: {kind: "markdown", value: "The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]}, {name: "sub", description: {kind: "markdown", value: "The sub element represents a subscript."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]}, {name: "sup", description: {kind: "markdown", value: "The sup element represents a superscript."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]}, {name: "i", description: {kind: "markdown", value: "The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/i"}]}, {name: "b", description: {kind: "markdown", value: "The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/b"}]}, {name: "u", description: {kind: "markdown", value: "The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/u"}]}, {name: "mark", description: {kind: "markdown", value: "The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]}, {name: "bdi", description: {kind: "markdown", value: "The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]}, {name: "bdo", description: {kind: "markdown", value: "The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"}, attributes: [{name: "dir", description: "The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]}, {name: "span", description: {kind: "markdown", value: "The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/span"}]}, {name: "br", description: {kind: "markdown", value: "The br element represents a line break."}, attributes: [{name: "clear", description: "Indicates where to begin the next line after the break."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/br"}]}, {name: "wbr", description: {kind: "markdown", value: "The wbr element represents a line break opportunity."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]}, {name: "ins", description: {kind: "markdown", value: "The ins element represents an addition to the document."}, attributes: [{name: "cite", description: "This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."}, {name: "datetime", description: 'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]}, {name: "del", description: {kind: "markdown", value: "The del element represents a removal from the document."}, attributes: [{name: "cite", description: {kind: "markdown", value: "A URI for a resource that explains the change (for example, meeting minutes)."}}, {name: "datetime", description: {kind: "markdown", value: 'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/del"}]}, {name: "picture", description: {kind: "markdown", value: "The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]}, {name: "img", description: {kind: "markdown", value: "An img element represents an image."}, attributes: [{name: "alt", description: {kind: "markdown", value: 'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}}, {name: "src", description: {kind: "markdown", value: "The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}}, {name: "srcset", description: {kind: "markdown", value: "A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}}, {name: "usemap", description: {kind: "markdown", value: 'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}}, {name: "ismap", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}}, {name: "width", description: {kind: "markdown", value: "The intrinsic width of the image in pixels."}}, {name: "height", description: {kind: "markdown", value: "The intrinsic height of the image in pixels."}}, {name: "decoding", description: "Provides an image decoding hint to the browser. The allowed values are:"}, {name: "decoding", description: "`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."}, {name: "importance", description: "Indicates the relative importance of the resource. Priority hints are delegated using the values:"}, {name: "importance", description: "`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."}, {name: "intrinsicsize", description: "This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"}, {name: "referrerpolicy", description: "A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."}, {name: "sizes", description: "A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/img"}]}, {name: "iframe", description: {kind: "markdown", value: "The iframe element represents a nested browsing context."}, attributes: [{name: "src", description: {kind: "markdown", value: 'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}}, {name: "srcdoc", description: {kind: "markdown", value: "Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}}, {name: "name", description: {kind: "markdown", value: 'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}}, {name: "sandbox", valueSet: "sb", description: {kind: "markdown", value: 'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}}, {name: "seamless", valueSet: "v"}, {name: "allowfullscreen", valueSet: "v", description: {kind: "markdown", value: 'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}}, {name: "width", description: {kind: "markdown", value: "The width of the frame in CSS pixels. Default is `300`."}}, {name: "height", description: {kind: "markdown", value: "The height of the frame in CSS pixels. Default is `150`."}}, {name: "allow", description: "Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."}, {name: "allowpaymentrequest", description: "Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."}, {name: "allowpaymentrequest", description: 'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'}, {name: "csp", description: 'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'}, {name: "importance", description: "The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."}, {name: "referrerpolicy", description: 'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]}, {name: "embed", description: {kind: "markdown", value: "The embed element provides an integration point for an external (typically non-HTML) application or interactive content."}, attributes: [{name: "src", description: {kind: "markdown", value: "The URL of the resource being embedded."}}, {name: "type", description: {kind: "markdown", value: "The MIME type to use to select the plug-in to instantiate."}}, {name: "width", description: {kind: "markdown", value: "The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}, {name: "height", description: {kind: "markdown", value: "The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]}, {name: "object", description: {kind: "markdown", value: "The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."}, attributes: [{name: "data", description: {kind: "markdown", value: "The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}}, {name: "type", description: {kind: "markdown", value: "The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}}, {name: "typemustmatch", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}}, {name: "name", description: {kind: "markdown", value: "The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}}, {name: "usemap", description: {kind: "markdown", value: "A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}}, {name: "form", description: {kind: "markdown", value: 'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}}, {name: "width", description: {kind: "markdown", value: "The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}}, {name: "height", description: {kind: "markdown", value: "The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}}, {name: "archive", description: "A space-separated list of URIs for archives of resources for the object."}, {name: "border", description: "The width of a border around the control, in pixels."}, {name: "classid", description: "The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."}, {name: "codebase", description: "The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."}, {name: "codetype", description: "The content type of the data specified by **classid**."}, {name: "declare", description: "The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."}, {name: "standby", description: "A message that the browser can show while loading the object's implementation and data."}, {name: "tabindex", description: "The position of the element in the tabbing navigation order for the current document."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/object"}]}, {name: "param", description: {kind: "markdown", value: "The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."}, attributes: [{name: "name", description: {kind: "markdown", value: "Name of the parameter."}}, {name: "value", description: {kind: "markdown", value: "Specifies the value of the parameter."}}, {name: "type", description: 'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'}, {name: "valuetype", description: 'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/param"}]}, {name: "video", description: {kind: "markdown", value: "A video element is used for playing videos or movies, and audio files with captions."}, attributes: [{name: "src"}, {name: "crossorigin", valueSet: "xo"}, {name: "poster"}, {name: "preload", valueSet: "pl"}, {name: "autoplay", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}}, {name: "mediagroup"}, {name: "loop", valueSet: "v"}, {name: "muted", valueSet: "v"}, {name: "controls", valueSet: "v"}, {name: "width"}, {name: "height"}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/video"}]}, {name: "audio", description: {kind: "markdown", value: "An audio element represents a sound or audio stream."}, attributes: [{name: "src", description: {kind: "markdown", value: 'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}}, {name: "preload", valueSet: "pl", description: {kind: "markdown", value: "This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}}, {name: "autoplay", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}}, {name: "mediagroup"}, {name: "loop", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}}, {name: "muted", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}}, {name: "controls", valueSet: "v", description: {kind: "markdown", value: "If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]}, {name: "source", description: {kind: "markdown", value: "The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."}, attributes: [{name: "src", description: {kind: "markdown", value: 'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}}, {name: "type", description: {kind: "markdown", value: "The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}}, {name: "sizes", description: 'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}, {name: "srcset", description: "A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."}, {name: "media", description: '[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/source"}]}, {name: "track", description: {kind: "markdown", value: "The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."}, attributes: [{name: "default", valueSet: "v", description: {kind: "markdown", value: "This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}}, {name: "kind", valueSet: "tk", description: {kind: "markdown", value: "How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}}, {name: "label", description: {kind: "markdown", value: "A user-readable title of the text track which is used by the browser when listing available text tracks."}}, {name: "src", description: {kind: "markdown", value: 'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}}, {name: "srclang", description: {kind: "markdown", value: "Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/track"}]}, {name: "map", description: {kind: "markdown", value: "The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."}, attributes: [{name: "name", description: {kind: "markdown", value: "The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/map"}]}, {name: "area", description: {kind: "markdown", value: "The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."}, attributes: [{name: "alt"}, {name: "coords"}, {name: "shape", valueSet: "sh"}, {name: "href"}, {name: "target"}, {name: "download"}, {name: "ping"}, {name: "rel"}, {name: "hreflang"}, {name: "type"}, {name: "accesskey", description: "Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/area"}]}, {name: "table", description: {kind: "markdown", value: "The table element represents data with more than one dimension, in the form of a table."}, attributes: [{name: "border"}, {name: "align", description: 'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/table"}]}, {name: "caption", description: {kind: "markdown", value: "The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."}, attributes: [{name: "align", description: 'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]}, {name: "colgroup", description: {kind: "markdown", value: "The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."}, attributes: [{name: "span"}, {name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]}, {name: "col", description: {kind: "markdown", value: "If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."}, attributes: [{name: "span"}, {name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/col"}]}, {name: "tbody", description: {kind: "markdown", value: "The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."}, attributes: [{name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]}, {name: "thead", description: {kind: "markdown", value: "The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."}, attributes: [{name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]}, {name: "tfoot", description: {kind: "markdown", value: "The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."}, attributes: [{name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]}, {name: "tr", description: {kind: "markdown", value: "The tr element represents a row of cells in a table."}, attributes: [{name: "align", description: 'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]}, {name: "td", description: {kind: "markdown", value: "The td element represents a data cell in a table."}, attributes: [{name: "colspan"}, {name: "rowspan"}, {name: "headers"}, {name: "abbr", description: "This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."}, {name: "align", description: 'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'}, {name: "axis", description: "This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."}, {name: "bgcolor", description: 'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/td"}]}, {name: "th", description: {kind: "markdown", value: "The th element represents a header cell in a table."}, attributes: [{name: "colspan"}, {name: "rowspan"}, {name: "headers"}, {name: "scope", valueSet: "s"}, {name: "sorted"}, {name: "abbr", description: {kind: "markdown", value: "This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}}, {name: "align", description: 'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'}, {name: "axis", description: "This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."}, {name: "bgcolor", description: 'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/th"}]}, {name: "form", description: {kind: "markdown", value: "The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."}, attributes: [{name: "accept-charset", description: {kind: "markdown", value: 'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}}, {name: "action", description: {kind: "markdown", value: 'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "autocomplete", valueSet: "o", description: {kind: "markdown", value: "Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}}, {name: "enctype", valueSet: "et", description: {kind: "markdown", value: 'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "method", valueSet: "m", description: {kind: "markdown", value: 'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "name", description: {kind: "markdown", value: "The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}}, {name: "novalidate", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}}, {name: "target", description: {kind: "markdown", value: 'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "accept", description: 'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}, {name: "autocapitalize", description: "This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/form"}]}, {name: "label", description: {kind: "markdown", value: "The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."}, attributes: [{name: "form", description: {kind: "markdown", value: 'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}}, {name: "for", description: {kind: "markdown", value: "The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/label"}]}, {name: "input", description: {kind: "markdown", value: "The input element represents a typed data field, usually with a form control to allow the user to edit the data."}, attributes: [{name: "accept"}, {name: "alt"}, {name: "autocomplete", valueSet: "inputautocomplete"}, {name: "autofocus", valueSet: "v"}, {name: "checked", valueSet: "v"}, {name: "dirname"}, {name: "disabled", valueSet: "v"}, {name: "form"}, {name: "formaction"}, {name: "formenctype", valueSet: "et"}, {name: "formmethod", valueSet: "fm"}, {name: "formnovalidate", valueSet: "v"}, {name: "formtarget"}, {name: "height"}, {name: "inputmode", valueSet: "im"}, {name: "list"}, {name: "max"}, {name: "maxlength"}, {name: "min"}, {name: "minlength"}, {name: "multiple", valueSet: "v"}, {name: "name"}, {name: "pattern"}, {name: "placeholder"}, {name: "readonly", valueSet: "v"}, {name: "required", valueSet: "v"}, {name: "size"}, {name: "src"}, {name: "step"}, {name: "type", valueSet: "t"}, {name: "value"}, {name: "width"}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/input"}]}, {name: "button", description: {kind: "markdown", value: "The button element represents a button labeled by its contents."}, attributes: [{name: "autofocus", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}}, {name: "disabled", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}}, {name: "form", description: {kind: "markdown", value: 'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}}, {name: "formaction", description: {kind: "markdown", value: "The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}}, {name: "formenctype", valueSet: "et", description: {kind: "markdown", value: 'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}}, {name: "formmethod", valueSet: "fm", description: {kind: "markdown", value: "If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}}, {name: "formnovalidate", valueSet: "v", description: {kind: "markdown", value: "If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}}, {name: "formtarget", description: {kind: "markdown", value: "If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}}, {name: "name", description: {kind: "markdown", value: "The name of the button, which is submitted with the form data."}}, {name: "type", valueSet: "bt", description: {kind: "markdown", value: "The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}}, {name: "value", description: {kind: "markdown", value: "The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}}, {name: "autocomplete", description: 'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/button"}]}, {name: "select", description: {kind: "markdown", value: "The select element represents a control for selecting amongst a set of options."}, attributes: [{name: "autocomplete", valueSet: "inputautocomplete", description: {kind: "markdown", value: 'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}}, {name: "autofocus", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}}, {name: "disabled", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}}, {name: "form", description: {kind: "markdown", value: 'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}}, {name: "multiple", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}}, {name: "name", description: {kind: "markdown", value: "This attribute is used to specify the name of the control."}}, {name: "required", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute indicating that an option with a non-empty string value must be selected."}}, {name: "size", description: {kind: "markdown", value: "If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/select"}]}, {name: "datalist", description: {kind: "markdown", value: "The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]}, {name: "optgroup", description: {kind: "markdown", value: "The optgroup element represents a group of option elements with a common label."}, attributes: [{name: "disabled", valueSet: "v", description: {kind: "markdown", value: "If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}}, {name: "label", description: {kind: "markdown", value: "The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]}, {name: "option", description: {kind: "markdown", value: "The option element represents an option in a select element or as part of a list of suggestions in a datalist element."}, attributes: [{name: "disabled", valueSet: "v", description: {kind: "markdown", value: 'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}}, {name: "label", description: {kind: "markdown", value: "This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}}, {name: "selected", valueSet: "v", description: {kind: "markdown", value: 'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}}, {name: "value", description: {kind: "markdown", value: "The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/option"}]}, {name: "textarea", description: {kind: "markdown", value: "The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."}, attributes: [{name: "autocomplete", valueSet: "inputautocomplete", description: {kind: "markdown", value: 'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}}, {name: "autofocus", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}}, {name: "cols", description: {kind: "markdown", value: "The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}}, {name: "dirname"}, {name: "disabled", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}}, {name: "form", description: {kind: "markdown", value: 'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}}, {name: "inputmode", valueSet: "im"}, {name: "maxlength", description: {kind: "markdown", value: "The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}}, {name: "minlength", description: {kind: "markdown", value: "The minimum number of characters (unicode code points) required that the user should enter."}}, {name: "name", description: {kind: "markdown", value: "The name of the control."}}, {name: "placeholder", description: {kind: "markdown", value: 'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}}, {name: "readonly", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}}, {name: "required", valueSet: "v", description: {kind: "markdown", value: "This attribute specifies that the user must fill in a value before submitting a form."}}, {name: "rows", description: {kind: "markdown", value: "The number of visible text lines for the control."}}, {name: "wrap", valueSet: "w", description: {kind: "markdown", value: "Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}}, {name: "autocapitalize", description: "This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}, {name: "spellcheck", description: "Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]}, {name: "output", description: {kind: "markdown", value: "The output element represents the result of a calculation performed by the application, or the result of a user action."}, attributes: [{name: "for", description: {kind: "markdown", value: "A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}}, {name: "form", description: {kind: "markdown", value: 'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}}, {name: "name", description: {kind: "markdown", value: 'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/output"}]}, {name: "progress", description: {kind: "markdown", value: "The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."}, attributes: [{name: "value", description: {kind: "markdown", value: "This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}}, {name: "max", description: {kind: "markdown", value: "This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]}, {name: "meter", description: {kind: "markdown", value: "The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."}, attributes: [{name: "value", description: {kind: "markdown", value: "The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}}, {name: "min", description: {kind: "markdown", value: "The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}}, {name: "max", description: {kind: "markdown", value: "The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}}, {name: "low", description: {kind: "markdown", value: "The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}}, {name: "high", description: {kind: "markdown", value: "The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}}, {name: "optimum", description: {kind: "markdown", value: "This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}}, {name: "form", description: "This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]}, {name: "fieldset", description: {kind: "markdown", value: "The fieldset element represents a set of form controls optionally grouped under a common name."}, attributes: [{name: "disabled", valueSet: "v", description: {kind: "markdown", value: "If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}}, {name: "form", description: {kind: "markdown", value: 'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}}, {name: "name", description: {kind: "markdown", value: 'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]}, {name: "legend", description: {kind: "markdown", value: "The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]}, {name: "details", description: {kind: "markdown", value: "The details element represents a disclosure widget from which the user can obtain additional information or controls."}, attributes: [{name: "open", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/details"}]}, {name: "summary", description: {kind: "markdown", value: "The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]}, {name: "dialog", description: {kind: "markdown", value: "The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."}, attributes: [{name: "open", description: "Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]}, {name: "script", description: {kind: "markdown", value: "The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."}, attributes: [{name: "src", description: {kind: "markdown", value: "This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}}, {name: "type", description: {kind: "markdown", value: 'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}}, {name: "charset"}, {name: "async", valueSet: "v", description: {kind: "markdown", value: 'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}}, {name: "defer", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}}, {name: "nonce", description: {kind: "markdown", value: "A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}}, {name: "integrity", description: "This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."}, {name: "nomodule", description: "This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."}, {name: "referrerpolicy", description: 'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'}, {name: "text", description: "Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/script"}]}, {name: "noscript", description: {kind: "markdown", value: "The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]}, {name: "template", description: {kind: "markdown", value: "The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/template"}]}, {name: "canvas", description: {kind: "markdown", value: "The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."}, attributes: [{name: "width", description: {kind: "markdown", value: "The width of the coordinate space in CSS pixels. Defaults to 300."}}, {name: "height", description: {kind: "markdown", value: "The height of the coordinate space in CSS pixels. Defaults to 150."}}, {name: "moz-opaque", description: "Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}], globalAttributes: [{name: "accesskey", description: {kind: "markdown", value: "Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]}, {name: "autocapitalize", description: {kind: "markdown", value: "Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]}, {name: "class", description: {kind: "markdown", value: 'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]}, {name: "contenteditable", description: {kind: "markdown", value: "An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]}, {name: "contextmenu", description: {kind: "markdown", value: 'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]}, {name: "dir", description: {kind: "markdown", value: "An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."}, valueSet: "d", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]}, {name: "draggable", description: {kind: "markdown", value: "An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."}, valueSet: "b", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]}, {name: "dropzone", description: {kind: "markdown", value: "An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]}, {name: "exportparts", description: {kind: "markdown", value: "Used to transitively export shadow parts from a nested shadow tree into a containing light tree."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]}, {name: "hidden", description: {kind: "markdown", value: "A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."}, valueSet: "v", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]}, {name: "id", description: {kind: "markdown", value: "Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]}, {name: "inputmode", description: {kind: "markdown", value: 'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]}, {name: "is", description: {kind: "markdown", value: "Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]}, {name: "itemid", description: {kind: "markdown", value: "The unique, global identifier of an item."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]}, {name: "itemprop", description: {kind: "markdown", value: "Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]}, {name: "itemref", description: {kind: "markdown", value: "Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]}, {name: "itemscope", description: {kind: "markdown", value: "`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."}, valueSet: "v", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]}, {name: "itemtype", description: {kind: "markdown", value: "Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]}, {name: "lang", description: {kind: "markdown", value: "Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]}, {name: "part", description: {kind: "markdown", value: 'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]}, {name: "role", valueSet: "roles"}, {name: "slot", description: {kind: "markdown", value: "Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]}, {name: "spellcheck", description: {kind: "markdown", value: "An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."}, valueSet: "b", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]}, {name: "style", description: {kind: "markdown", value: 'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]}, {name: "tabindex", description: {kind: "markdown", value: "An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]}, {name: "title", description: {kind: "markdown", value: "Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]}, {name: "translate", description: {kind: "markdown", value: "An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."}, valueSet: "y", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]}, {name: "onabort", description: {kind: "markdown", value: "The loading of a resource has been aborted."}}, {name: "onblur", description: {kind: "markdown", value: "An element has lost focus (does not bubble)."}}, {name: "oncanplay", description: {kind: "markdown", value: "The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}}, {name: "oncanplaythrough", description: {kind: "markdown", value: "The user agent can play the media up to its end without having to stop for further buffering of content."}}, {name: "onchange", description: {kind: "markdown", value: "The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}}, {name: "onclick", description: {kind: "markdown", value: "A pointing device button has been pressed and released on an element."}}, {name: "oncontextmenu", description: {kind: "markdown", value: "The right button of the mouse is clicked (before the context menu is displayed)."}}, {name: "ondblclick", description: {kind: "markdown", value: "A pointing device button is clicked twice on an element."}}, {name: "ondrag", description: {kind: "markdown", value: "An element or text selection is being dragged (every 350ms)."}}, {name: "ondragend", description: {kind: "markdown", value: "A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}}, {name: "ondragenter", description: {kind: "markdown", value: "A dragged element or text selection enters a valid drop target."}}, {name: "ondragleave", description: {kind: "markdown", value: "A dragged element or text selection leaves a valid drop target."}}, {name: "ondragover", description: {kind: "markdown", value: "An element or text selection is being dragged over a valid drop target (every 350ms)."}}, {name: "ondragstart", description: {kind: "markdown", value: "The user starts dragging an element or text selection."}}, {name: "ondrop", description: {kind: "markdown", value: "An element is dropped on a valid drop target."}}, {name: "ondurationchange", description: {kind: "markdown", value: "The duration attribute has been updated."}}, {name: "onemptied", description: {kind: "markdown", value: "The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}}, {name: "onended", description: {kind: "markdown", value: "Playback has stopped because the end of the media was reached."}}, {name: "onerror", description: {kind: "markdown", value: "A resource failed to load."}}, {name: "onfocus", description: {kind: "markdown", value: "An element has received focus (does not bubble)."}}, {name: "onformchange"}, {name: "onforminput"}, {name: "oninput", description: {kind: "markdown", value: "The value of an element changes or the content of an element with the attribute contenteditable is modified."}}, {name: "oninvalid", description: {kind: "markdown", value: "A submittable element has been checked and doesn't satisfy its constraints."}}, {name: "onkeydown", description: {kind: "markdown", value: "A key is pressed down."}}, {name: "onkeypress", description: {kind: "markdown", value: "A key is pressed down and that key normally produces a character value (use input instead)."}}, {name: "onkeyup", description: {kind: "markdown", value: "A key is released."}}, {name: "onload", description: {kind: "markdown", value: "A resource and its dependent resources have finished loading."}}, {name: "onloadeddata", description: {kind: "markdown", value: "The first frame of the media has finished loading."}}, {name: "onloadedmetadata", description: {kind: "markdown", value: "The metadata has been loaded."}}, {name: "onloadstart", description: {kind: "markdown", value: "Progress has begun."}}, {name: "onmousedown", description: {kind: "markdown", value: "A pointing device button (usually a mouse) is pressed on an element."}}, {name: "onmousemove", description: {kind: "markdown", value: "A pointing device is moved over an element."}}, {name: "onmouseout", description: {kind: "markdown", value: "A pointing device is moved off the element that has the listener attached or off one of its children."}}, {name: "onmouseover", description: {kind: "markdown", value: "A pointing device is moved onto the element that has the listener attached or onto one of its children."}}, {name: "onmouseup", description: {kind: "markdown", value: "A pointing device button is released over an element."}}, {name: "onmousewheel"}, {name: "onpause", description: {kind: "markdown", value: "Playback has been paused."}}, {name: "onplay", description: {kind: "markdown", value: "Playback has begun."}}, {name: "onplaying", description: {kind: "markdown", value: "Playback is ready to start after having been paused or delayed due to lack of data."}}, {name: "onprogress", description: {kind: "markdown", value: "In progress."}}, {name: "onratechange", description: {kind: "markdown", value: "The playback rate has changed."}}, {name: "onreset", description: {kind: "markdown", value: "A form is reset."}}, {name: "onresize", description: {kind: "markdown", value: "The document view has been resized."}}, {name: "onreadystatechange", description: {kind: "markdown", value: "The readyState attribute of a document has changed."}}, {name: "onscroll", description: {kind: "markdown", value: "The document view or an element has been scrolled."}}, {name: "onseeked", description: {kind: "markdown", value: "A seek operation completed."}}, {name: "onseeking", description: {kind: "markdown", value: "A seek operation began."}}, {name: "onselect", description: {kind: "markdown", value: "Some text is being selected."}}, {name: "onshow", description: {kind: "markdown", value: "A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}}, {name: "onstalled", description: {kind: "markdown", value: "The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}}, {name: "onsubmit", description: {kind: "markdown", value: "A form is submitted."}}, {name: "onsuspend", description: {kind: "markdown", value: "Media data loading has been suspended."}}, {name: "ontimeupdate", description: {kind: "markdown", value: "The time indicated by the currentTime attribute has been updated."}}, {name: "onvolumechange", description: {kind: "markdown", value: "The volume has changed."}}, {name: "onwaiting", description: {kind: "markdown", value: "Playback has stopped because of a temporary lack of data."}}, {name: "aria-activedescendant", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}], description: {kind: "markdown", value: "Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}}, {name: "aria-atomic", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}], description: {kind: "markdown", value: "Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}}, {name: "aria-autocomplete", valueSet: "autocomplete", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}], description: {kind: "markdown", value: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}}, {name: "aria-busy", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}], description: {kind: "markdown", value: "Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}}, {name: "aria-checked", valueSet: "tristate", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}], description: {kind: "markdown", value: 'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}}, {name: "aria-colcount", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}], description: {kind: "markdown", value: "Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}}, {name: "aria-colindex", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}], description: {kind: "markdown", value: "Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}}, {name: "aria-colspan", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}], description: {kind: "markdown", value: "Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}}, {name: "aria-controls", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}}, {name: "aria-current", valueSet: "current", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-current"}], description: {kind: "markdown", value: "Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}}, {name: "aria-describedat", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]}, {name: "aria-describedby", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}}, {name: "aria-disabled", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}], description: {kind: "markdown", value: "Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}}, {name: "aria-dropeffect", valueSet: "dropeffect", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}], description: {kind: "markdown", value: "\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}}, {name: "aria-errormessage", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}}, {name: "aria-expanded", valueSet: "u", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}], description: {kind: "markdown", value: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}}, {name: "aria-flowto", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}], description: {kind: "markdown", value: "Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}}, {name: "aria-grabbed", valueSet: "u", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}], description: {kind: "markdown", value: `\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}}, {name: "aria-haspopup", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}], description: {kind: "markdown", value: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}}, {name: "aria-hidden", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}], description: {kind: "markdown", value: "Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}}, {name: "aria-invalid", valueSet: "invalid", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}], description: {kind: "markdown", value: "Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}}, {name: "aria-kbdshortcuts", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]}, {name: "aria-label", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-label"}], description: {kind: "markdown", value: "Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}}, {name: "aria-labelledby", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}}, {name: "aria-level", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-level"}], description: {kind: "markdown", value: "Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}}, {name: "aria-live", valueSet: "live", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-live"}], description: {kind: "markdown", value: "Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}}, {name: "aria-modal", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}], description: {kind: "markdown", value: "Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}}, {name: "aria-multiline", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}], description: {kind: "markdown", value: "Indicates whether a text box accepts multiple lines of input or only a single line."}}, {name: "aria-multiselectable", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}], description: {kind: "markdown", value: "Indicates that the user may select more than one item from the current selectable descendants."}}, {name: "aria-orientation", valueSet: "orientation", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}], description: {kind: "markdown", value: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}}, {name: "aria-owns", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}], description: {kind: "markdown", value: "Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}}, {name: "aria-placeholder", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}], description: {kind: "markdown", value: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}}, {name: "aria-posinset", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}], description: {kind: "markdown", value: "Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}}, {name: "aria-pressed", valueSet: "tristate", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}], description: {kind: "markdown", value: 'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}}, {name: "aria-readonly", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}], description: {kind: "markdown", value: "Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}}, {name: "aria-relevant", valueSet: "relevant", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}], description: {kind: "markdown", value: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}}, {name: "aria-required", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-required"}], description: {kind: "markdown", value: "Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}}, {name: "aria-roledescription", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}], description: {kind: "markdown", value: "Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}}, {name: "aria-rowcount", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}], description: {kind: "markdown", value: "Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}}, {name: "aria-rowindex", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}], description: {kind: "markdown", value: "Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}}, {name: "aria-rowspan", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}], description: {kind: "markdown", value: "Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}}, {name: "aria-selected", valueSet: "u", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}], description: {kind: "markdown", value: 'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}}, {name: "aria-setsize", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}], description: {kind: "markdown", value: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}}, {name: "aria-sort", valueSet: "sort", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}], description: {kind: "markdown", value: "Indicates if items in a table or grid are sorted in ascending or descending order."}}, {name: "aria-valuemax", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}], description: {kind: "markdown", value: "Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}}, {name: "aria-valuemin", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}], description: {kind: "markdown", value: "Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}}, {name: "aria-valuenow", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}], description: {kind: "markdown", value: "Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}}, {name: "aria-valuetext", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}], description: {kind: "markdown", value: "Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}}, {name: "aria-details", description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}}, {name: "aria-keyshortcuts", description: {kind: "markdown", value: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}], valueSets: [{name: "b", values: [{name: "true"}, {name: "false"}]}, {name: "u", values: [{name: "true"}, {name: "false"}, {name: "undefined"}]}, {name: "o", values: [{name: "on"}, {name: "off"}]}, {name: "y", values: [{name: "yes"}, {name: "no"}]}, {name: "w", values: [{name: "soft"}, {name: "hard"}]}, {name: "d", values: [{name: "ltr"}, {name: "rtl"}, {name: "auto"}]}, {name: "m", values: [{name: "GET", description: {kind: "markdown", value: "Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}}, {name: "POST", description: {kind: "markdown", value: "Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}}, {name: "dialog", description: {kind: "markdown", value: "Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]}, {name: "fm", values: [{name: "GET"}, {name: "POST"}]}, {name: "s", values: [{name: "row"}, {name: "col"}, {name: "rowgroup"}, {name: "colgroup"}]}, {name: "t", values: [{name: "hidden"}, {name: "text"}, {name: "search"}, {name: "tel"}, {name: "url"}, {name: "email"}, {name: "password"}, {name: "datetime"}, {name: "date"}, {name: "month"}, {name: "week"}, {name: "time"}, {name: "datetime-local"}, {name: "number"}, {name: "range"}, {name: "color"}, {name: "checkbox"}, {name: "radio"}, {name: "file"}, {name: "submit"}, {name: "image"}, {name: "reset"}, {name: "button"}]}, {name: "im", values: [{name: "verbatim"}, {name: "latin"}, {name: "latin-name"}, {name: "latin-prose"}, {name: "full-width-latin"}, {name: "kana"}, {name: "kana-name"}, {name: "katakana"}, {name: "numeric"}, {name: "tel"}, {name: "email"}, {name: "url"}]}, {name: "bt", values: [{name: "button"}, {name: "submit"}, {name: "reset"}, {name: "menu"}]}, {name: "lt", values: [{name: "1"}, {name: "a"}, {name: "A"}, {name: "i"}, {name: "I"}]}, {name: "mt", values: [{name: "context"}, {name: "toolbar"}]}, {name: "mit", values: [{name: "command"}, {name: "checkbox"}, {name: "radio"}]}, {name: "et", values: [{name: "application/x-www-form-urlencoded"}, {name: "multipart/form-data"}, {name: "text/plain"}]}, {name: "tk", values: [{name: "subtitles"}, {name: "captions"}, {name: "descriptions"}, {name: "chapters"}, {name: "metadata"}]}, {name: "pl", values: [{name: "none"}, {name: "metadata"}, {name: "auto"}]}, {name: "sh", values: [{name: "circle"}, {name: "default"}, {name: "poly"}, {name: "rect"}]}, {name: "xo", values: [{name: "anonymous"}, {name: "use-credentials"}]}, {name: "sb", values: [{name: "allow-forms"}, {name: "allow-modals"}, {name: "allow-pointer-lock"}, {name: "allow-popups"}, {name: "allow-popups-to-escape-sandbox"}, {name: "allow-same-origin"}, {name: "allow-scripts"}, {name: "allow-top-navigation"}]}, {name: "tristate", values: [{name: "true"}, {name: "false"}, {name: "mixed"}, {name: "undefined"}]}, {name: "inputautocomplete", values: [{name: "additional-name"}, {name: "address-level1"}, {name: "address-level2"}, {name: "address-level3"}, {name: "address-level4"}, {name: "address-line1"}, {name: "address-line2"}, {name: "address-line3"}, {name: "bday"}, {name: "bday-year"}, {name: "bday-day"}, {name: "bday-month"}, {name: "billing"}, {name: "cc-additional-name"}, {name: "cc-csc"}, {name: "cc-exp"}, {name: "cc-exp-month"}, {name: "cc-exp-year"}, {name: "cc-family-name"}, {name: "cc-given-name"}, {name: "cc-name"}, {name: "cc-number"}, {name: "cc-type"}, {name: "country"}, {name: "country-name"}, {name: "current-password"}, {name: "email"}, {name: "family-name"}, {name: "fax"}, {name: "given-name"}, {name: "home"}, {name: "honorific-prefix"}, {name: "honorific-suffix"}, {name: "impp"}, {name: "language"}, {name: "mobile"}, {name: "name"}, {name: "new-password"}, {name: "nickname"}, {name: "organization"}, {name: "organization-title"}, {name: "pager"}, {name: "photo"}, {name: "postal-code"}, {name: "sex"}, {name: "shipping"}, {name: "street-address"}, {name: "tel-area-code"}, {name: "tel"}, {name: "tel-country-code"}, {name: "tel-extension"}, {name: "tel-local"}, {name: "tel-local-prefix"}, {name: "tel-local-suffix"}, {name: "tel-national"}, {name: "transaction-amount"}, {name: "transaction-currency"}, {name: "url"}, {name: "username"}, {name: "work"}]}, {name: "autocomplete", values: [{name: "inline"}, {name: "list"}, {name: "both"}, {name: "none"}]}, {name: "current", values: [{name: "page"}, {name: "step"}, {name: "location"}, {name: "date"}, {name: "time"}, {name: "true"}, {name: "false"}]}, {name: "dropeffect", values: [{name: "copy"}, {name: "move"}, {name: "link"}, {name: "execute"}, {name: "popup"}, {name: "none"}]}, {name: "invalid", values: [{name: "grammar"}, {name: "false"}, {name: "spelling"}, {name: "true"}]}, {name: "live", values: [{name: "off"}, {name: "polite"}, {name: "assertive"}]}, {name: "orientation", values: [{name: "vertical"}, {name: "horizontal"}, {name: "undefined"}]}, {name: "relevant", values: [{name: "additions"}, {name: "removals"}, {name: "text"}, {name: "all"}, {name: "additions text"}]}, {name: "sort", values: [{name: "ascending"}, {name: "descending"}, {name: "none"}, {name: "other"}]}, {name: "roles", values: [{name: "alert"}, {name: "alertdialog"}, {name: "button"}, {name: "checkbox"}, {name: "dialog"}, {name: "gridcell"}, {name: "link"}, {name: "log"}, {name: "marquee"}, {name: "menuitem"}, {name: "menuitemcheckbox"}, {name: "menuitemradio"}, {name: "option"}, {name: "progressbar"}, {name: "radio"}, {name: "scrollbar"}, {name: "searchbox"}, {name: "slider"}, {name: "spinbutton"}, {name: "status"}, {name: "switch"}, {name: "tab"}, {name: "tabpanel"}, {name: "textbox"}, {name: "timer"}, {name: "tooltip"}, {name: "treeitem"}, {name: "combobox"}, {name: "grid"}, {name: "listbox"}, {name: "menu"}, {name: "menubar"}, {name: "radiogroup"}, {name: "tablist"}, {name: "tree"}, {name: "treegrid"}, {name: "application"}, {name: "article"}, {name: "cell"}, {name: "columnheader"}, {name: "definition"}, {name: "directory"}, {name: "document"}, {name: "feed"}, {name: "figure"}, {name: "group"}, {name: "heading"}, {name: "img"}, {name: "list"}, {name: "listitem"}, {name: "math"}, {name: "none"}, {name: "note"}, {name: "presentation"}, {name: "region"}, {name: "row"}, {name: "rowgroup"}, {name: "rowheader"}, {name: "separator"}, {name: "table"}, {name: "term"}, {name: "text"}, {name: "toolbar"}, {name: "banner"}, {name: "complementary"}, {name: "contentinfo"}, {name: "form"}, {name: "main"}, {name: "navigation"}, {name: "region"}, {name: "search"}, {name: "doc-abstract"}, {name: "doc-acknowledgments"}, {name: "doc-afterword"}, {name: "doc-appendix"}, {name: "doc-backlink"}, {name: "doc-biblioentry"}, {name: "doc-bibliography"}, {name: "doc-biblioref"}, {name: "doc-chapter"}, {name: "doc-colophon"}, {name: "doc-conclusion"}, {name: "doc-cover"}, {name: "doc-credit"}, {name: "doc-credits"}, {name: "doc-dedication"}, {name: "doc-endnote"}, {name: "doc-endnotes"}, {name: "doc-epigraph"}, {name: "doc-epilogue"}, {name: "doc-errata"}, {name: "doc-example"}, {name: "doc-footnote"}, {name: "doc-foreword"}, {name: "doc-glossary"}, {name: "doc-glossref"}, {name: "doc-index"}, {name: "doc-introduction"}, {name: "doc-noteref"}, {name: "doc-notice"}, {name: "doc-pagebreak"}, {name: "doc-pagelist"}, {name: "doc-part"}, {name: "doc-preface"}, {name: "doc-prologue"}, {name: "doc-pullquote"}, {name: "doc-qna"}, {name: "doc-subtitle"}, {name: "doc-tip"}, {name: "doc-toc"}]}, {name: "metanames", values: [{name: "application-name"}, {name: "author"}, {name: "description"}, {name: "format-detection"}, {name: "generator"}, {name: "keywords"}, {name: "publisher"}, {name: "referrer"}, {name: "robots"}, {name: "theme-color"}, {name: "viewport"}]}]}, At = function() { + var Dt = {version: 1.1, tags: [{name: "html", description: {kind: "markdown", value: "The html element represents the root of an HTML document."}, attributes: [{name: "manifest", description: {kind: "markdown", value: "Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}}, {name: "version", description: 'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'}, {name: "xmlns", description: 'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/html"}]}, {name: "head", description: {kind: "markdown", value: "The head element represents a collection of metadata for the Document."}, attributes: [{name: "profile", description: "The URIs of one or more metadata profiles, separated by white space."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/head"}]}, {name: "title", description: {kind: "markdown", value: "The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/title"}]}, {name: "base", description: {kind: "markdown", value: "The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."}, attributes: [{name: "href", description: {kind: "markdown", value: "The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}}, {name: "target", description: {kind: "markdown", value: "A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/base"}]}, {name: "link", description: {kind: "markdown", value: "The link element allows authors to link their document to other resources."}, attributes: [{name: "href", description: {kind: "markdown", value: 'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}}, {name: "rel", description: {kind: "markdown", value: "This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}}, {name: "media", description: {kind: "markdown", value: "This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}}, {name: "hreflang", description: {kind: "markdown", value: "This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}}, {name: "type", description: {kind: "markdown", value: 'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}}, {name: "sizes", description: {kind: "markdown", value: "This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}}, {name: "as", description: 'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'}, {name: "importance", description: "Indicates the relative importance of the resource. Priority hints are delegated using the values:"}, {name: "importance", description: '**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'}, {name: "integrity", description: "Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."}, {name: "referrerpolicy", description: 'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'}, {name: "title", description: 'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/link"}]}, {name: "meta", description: {kind: "markdown", value: "The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."}, attributes: [{name: "name", description: {kind: "markdown", value: 'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https\u2192https), but does not send a referrer to less secure URLs (https\u2192http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether\xA0crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}}, {name: "http-equiv", description: {kind: "markdown", value: 'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}}, {name: "content", description: {kind: "markdown", value: "This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}}, {name: "charset", description: {kind: "markdown", value: 'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its\xA0scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}}, {name: "scheme", description: "This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]}, {name: "style", description: {kind: "markdown", value: "The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."}, attributes: [{name: "media", description: {kind: "markdown", value: "This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}}, {name: "nonce", description: {kind: "markdown", value: "A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource\u2019s policy is otherwise trivial."}}, {name: "type", description: {kind: "markdown", value: "This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified \u2014 there is very little reason to include this in modern web documents."}}, {name: "scoped", valueSet: "v"}, {name: "title", description: "This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/style"}]}, {name: "body", description: {kind: "markdown", value: "The body element represents the content of the document."}, attributes: [{name: "onafterprint", description: {kind: "markdown", value: "Function to call after the user has printed the document."}}, {name: "onbeforeprint", description: {kind: "markdown", value: "Function to call when the user requests printing of the document."}}, {name: "onbeforeunload", description: {kind: "markdown", value: "Function to call when the document is about to be unloaded."}}, {name: "onhashchange", description: {kind: "markdown", value: "Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}}, {name: "onlanguagechange", description: {kind: "markdown", value: "Function to call when the preferred languages changed."}}, {name: "onmessage", description: {kind: "markdown", value: "Function to call when the document has received a message."}}, {name: "onoffline", description: {kind: "markdown", value: "Function to call when network communication has failed."}}, {name: "ononline", description: {kind: "markdown", value: "Function to call when network communication has been restored."}}, {name: "onpagehide"}, {name: "onpageshow"}, {name: "onpopstate", description: {kind: "markdown", value: "Function to call when the user has navigated session history."}}, {name: "onstorage", description: {kind: "markdown", value: "Function to call when the storage area has changed."}}, {name: "onunload", description: {kind: "markdown", value: "Function to call when the document is going away."}}, {name: "alink", description: 'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'}, {name: "background", description: 'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'}, {name: "bgcolor", description: 'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'}, {name: "bottommargin", description: 'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "leftmargin", description: 'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "link", description: 'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'}, {name: "onblur", description: "Function to call when the document loses focus."}, {name: "onerror", description: "Function to call when the document fails to load properly."}, {name: "onfocus", description: "Function to call when the document receives focus."}, {name: "onload", description: "Function to call when the document has finished loading."}, {name: "onredo", description: "Function to call when the user has moved forward in undo transaction history."}, {name: "onresize", description: "Function to call when the document has been resized."}, {name: "onundo", description: "Function to call when the user has moved backward in undo transaction history."}, {name: "rightmargin", description: 'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "text", description: 'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'}, {name: "topmargin", description: 'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'}, {name: "vlink", description: 'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/body"}]}, {name: "article", description: {kind: "markdown", value: "The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1\u2013h6 element) as a child of the article element."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/article"}]}, {name: "section", description: {kind: "markdown", value: "The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/section"}]}, {name: "nav", description: {kind: "markdown", value: "The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]}, {name: "aside", description: {kind: "markdown", value: "The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]}, {name: "h1", description: {kind: "markdown", value: "The h1 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h2", description: {kind: "markdown", value: "The h2 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h3", description: {kind: "markdown", value: "The h3 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h4", description: {kind: "markdown", value: "The h4 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h5", description: {kind: "markdown", value: "The h5 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "h6", description: {kind: "markdown", value: "The h6 element represents a section heading."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]}, {name: "header", description: {kind: "markdown", value: "The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/header"}]}, {name: "footer", description: {kind: "markdown", value: "The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]}, {name: "address", description: {kind: "markdown", value: "The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/address"}]}, {name: "p", description: {kind: "markdown", value: "The p element represents a paragraph."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/p"}]}, {name: "hr", description: {kind: "markdown", value: "The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."}, attributes: [{name: "align", description: "Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."}, {name: "color", description: "Sets the color of the rule through color name or hexadecimal value."}, {name: "noshade", description: "Sets the rule to have no shading."}, {name: "size", description: "Sets the height, in pixels, of the rule."}, {name: "width", description: "Sets the length of the rule on the page through a pixel or percentage value."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]}, {name: "pre", description: {kind: "markdown", value: "The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."}, attributes: [{name: "cols", description: 'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'}, {name: "width", description: 'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'}, {name: "wrap", description: 'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]}, {name: "blockquote", description: {kind: "markdown", value: "The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."}, attributes: [{name: "cite", description: {kind: "markdown", value: "A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]}, {name: "ol", description: {kind: "markdown", value: "The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."}, attributes: [{name: "reversed", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute specifies that the items of the list are specified in reversed order."}}, {name: "start", description: {kind: "markdown", value: 'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}}, {name: "type", valueSet: "lt", description: {kind: "markdown", value: "Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}}, {name: "compact", description: 'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]}, {name: "ul", description: {kind: "markdown", value: "The ul element represents a list of items, where the order of the items is not important \u2014 that is, where changing the order would not materially change the meaning of the document."}, attributes: [{name: "compact", description: 'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note:\xA0**Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]}, {name: "li", description: {kind: "markdown", value: "The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."}, attributes: [{name: "value", description: {kind: "markdown", value: 'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko\xA09.0, negative values were incorrectly converted to 0. Starting in Gecko\xA09.0 all integer values are correctly parsed.'}}, {name: "type", description: 'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/li"}]}, {name: "dl", description: {kind: "markdown", value: "The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]}, {name: "dt", description: {kind: "markdown", value: "The dt element represents the term, or name, part of a term-description group in a description list (dl element)."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]}, {name: "dd", description: {kind: "markdown", value: "The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."}, attributes: [{name: "nowrap", description: "If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]}, {name: "figure", description: {kind: "markdown", value: "The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]}, {name: "figcaption", description: {kind: "markdown", value: "The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]}, {name: "main", description: {kind: "markdown", value: "The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/main"}]}, {name: "div", description: {kind: "markdown", value: "The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/div"}]}, {name: "a", description: {kind: "markdown", value: "If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."}, attributes: [{name: "href", description: {kind: "markdown", value: "Contains a URL or a URL fragment that the hyperlink points to."}}, {name: "target", description: {kind: "markdown", value: 'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}}, {name: "download", description: {kind: "markdown", value: "This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}}, {name: "ping", description: {kind: "markdown", value: 'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}}, {name: "rel", description: {kind: "markdown", value: "Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}}, {name: "hreflang", description: {kind: "markdown", value: 'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}}, {name: "type", description: {kind: "markdown", value: 'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A\xA0MIME type\xA0(now properly called "media type", but\xA0also sometimes "content type") is a string sent along\xA0with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled\xA0audio/ogg, or an image file\xA0image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}}, {name: "referrerpolicy", description: "Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/a"}]}, {name: "em", description: {kind: "markdown", value: "The em element represents stress emphasis of its contents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/em"}]}, {name: "strong", description: {kind: "markdown", value: "The strong element represents strong importance, seriousness, or urgency for its contents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]}, {name: "small", description: {kind: "markdown", value: "The small element represents side comments such as small print."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/small"}]}, {name: "s", description: {kind: "markdown", value: "The s element represents contents that are no longer accurate or no longer relevant."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/s"}]}, {name: "cite", description: {kind: "markdown", value: "The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]}, {name: "q", description: {kind: "markdown", value: "The q element represents some phrasing content quoted from another source."}, attributes: [{name: "cite", description: {kind: "markdown", value: "The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/q"}]}, {name: "dfn", description: {kind: "markdown", value: "The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]}, {name: "abbr", description: {kind: "markdown", value: "The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]}, {name: "ruby", description: {kind: "markdown", value: "The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]}, {name: "rb", description: {kind: "markdown", value: "The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]}, {name: "rt", description: {kind: "markdown", value: "The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]}, {name: "rp", description: {kind: "markdown", value: "The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]}, {name: "time", description: {kind: "markdown", value: "The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."}, attributes: [{name: "datetime", description: {kind: "markdown", value: "This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/time"}]}, {name: "code", description: {kind: "markdown", value: "The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/code"}]}, {name: "var", description: {kind: "markdown", value: "The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/var"}]}, {name: "samp", description: {kind: "markdown", value: "The samp element represents sample or quoted output from another program or computing system."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]}, {name: "kbd", description: {kind: "markdown", value: "The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]}, {name: "sub", description: {kind: "markdown", value: "The sub element represents a subscript."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]}, {name: "sup", description: {kind: "markdown", value: "The sup element represents a superscript."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]}, {name: "i", description: {kind: "markdown", value: "The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/i"}]}, {name: "b", description: {kind: "markdown", value: "The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/b"}]}, {name: "u", description: {kind: "markdown", value: "The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/u"}]}, {name: "mark", description: {kind: "markdown", value: "The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]}, {name: "bdi", description: {kind: "markdown", value: "The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]}, {name: "bdo", description: {kind: "markdown", value: "The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"}, attributes: [{name: "dir", description: "The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]}, {name: "span", description: {kind: "markdown", value: "The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/span"}]}, {name: "br", description: {kind: "markdown", value: "The br element represents a line break."}, attributes: [{name: "clear", description: "Indicates where to begin the next line after the break."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/br"}]}, {name: "wbr", description: {kind: "markdown", value: "The wbr element represents a line break opportunity."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]}, {name: "ins", description: {kind: "markdown", value: "The ins element represents an addition to the document."}, attributes: [{name: "cite", description: "This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."}, {name: "datetime", description: 'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]}, {name: "del", description: {kind: "markdown", value: "The del element represents a removal from the document."}, attributes: [{name: "cite", description: {kind: "markdown", value: "A URI for a resource that explains the change (for example, meeting minutes)."}}, {name: "datetime", description: {kind: "markdown", value: 'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/del"}]}, {name: "picture", description: {kind: "markdown", value: "The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]}, {name: "img", description: {kind: "markdown", value: "An img element represents an image."}, attributes: [{name: "alt", description: {kind: "markdown", value: 'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}}, {name: "src", description: {kind: "markdown", value: "The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}}, {name: "srcset", description: {kind: "markdown", value: "A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}}, {name: "usemap", description: {kind: "markdown", value: 'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}}, {name: "ismap", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}}, {name: "width", description: {kind: "markdown", value: "The intrinsic width of the image in pixels."}}, {name: "height", description: {kind: "markdown", value: "The intrinsic height of the image in pixels."}}, {name: "decoding", description: "Provides an image decoding hint to the browser. The allowed values are:"}, {name: "decoding", description: "`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."}, {name: "importance", description: "Indicates the relative importance of the resource. Priority hints are delegated using the values:"}, {name: "importance", description: "`auto`: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the\xA0browser\xA0that the image is of\xA0**high** priority.\n\n`low`:\xA0Indicates to the\xA0browser\xA0that the image is of\xA0**low** priority."}, {name: "intrinsicsize", description: "This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it\u2019s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"}, {name: "referrerpolicy", description: "A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."}, {name: "sizes", description: "A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image\u2019s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/img"}]}, {name: "iframe", description: {kind: "markdown", value: "The iframe element represents a nested browsing context."}, attributes: [{name: "src", description: {kind: "markdown", value: 'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}}, {name: "srcdoc", description: {kind: "markdown", value: "Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}}, {name: "name", description: {kind: "markdown", value: 'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The\xA0Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}}, {name: "sandbox", valueSet: "sb", description: {kind: "markdown", value: 'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute \u2014 making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` \u2014 such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}}, {name: "seamless", valueSet: "v"}, {name: "allowfullscreen", valueSet: "v", description: {kind: "markdown", value: 'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}}, {name: "width", description: {kind: "markdown", value: "The width of the frame in CSS pixels. Default is `300`."}}, {name: "height", description: {kind: "markdown", value: "The height of the frame in CSS pixels. Default is `150`."}}, {name: "allow", description: "Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."}, {name: "allowpaymentrequest", description: "Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."}, {name: "allowpaymentrequest", description: 'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'}, {name: "csp", description: 'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'}, {name: "importance", description: "The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."}, {name: "referrerpolicy", description: 'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS\u2192HTTPS), but don\'t send it to a less secure destination (HTTPS\u2192HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS\u2192HTTPS), and send no header to a less secure destination (HTTPS\u2192HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]}, {name: "embed", description: {kind: "markdown", value: "The embed element provides an integration point for an external (typically non-HTML) application or interactive content."}, attributes: [{name: "src", description: {kind: "markdown", value: "The URL\xA0of the resource being embedded."}}, {name: "type", description: {kind: "markdown", value: "The MIME\xA0type to use to select the plug-in to instantiate."}}, {name: "width", description: {kind: "markdown", value: "The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}, {name: "height", description: {kind: "markdown", value: "The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]}, {name: "object", description: {kind: "markdown", value: "The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."}, attributes: [{name: "data", description: {kind: "markdown", value: "The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}}, {name: "type", description: {kind: "markdown", value: "The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}}, {name: "typemustmatch", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}}, {name: "name", description: {kind: "markdown", value: "The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}}, {name: "usemap", description: {kind: "markdown", value: "A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}}, {name: "form", description: {kind: "markdown", value: 'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}}, {name: "width", description: {kind: "markdown", value: "The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}}, {name: "height", description: {kind: "markdown", value: "The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}}, {name: "archive", description: "A space-separated list of URIs for archives of resources for the object."}, {name: "border", description: "The width of a border around the control, in pixels."}, {name: "classid", description: "The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."}, {name: "codebase", description: "The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."}, {name: "codetype", description: "The content type of the data specified by **classid**."}, {name: "declare", description: "The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."}, {name: "standby", description: "A message that the browser can show while loading the object's implementation and data."}, {name: "tabindex", description: "The position of the element in the tabbing navigation order for the current document."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/object"}]}, {name: "param", description: {kind: "markdown", value: "The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."}, attributes: [{name: "name", description: {kind: "markdown", value: "Name of the parameter."}}, {name: "value", description: {kind: "markdown", value: "Specifies the value of the parameter."}}, {name: "type", description: 'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'}, {name: "valuetype", description: 'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/param"}]}, {name: "video", description: {kind: "markdown", value: "A video element is used for playing videos or movies, and audio files with captions."}, attributes: [{name: "src"}, {name: "crossorigin", valueSet: "xo"}, {name: "poster"}, {name: "preload", valueSet: "pl"}, {name: "autoplay", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}}, {name: "mediagroup"}, {name: "loop", valueSet: "v"}, {name: "muted", valueSet: "v"}, {name: "controls", valueSet: "v"}, {name: "width"}, {name: "height"}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/video"}]}, {name: "audio", description: {kind: "markdown", value: "An audio element represents a sound or audio stream."}, attributes: [{name: "src", description: {kind: "markdown", value: 'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}}, {name: "preload", valueSet: "pl", description: {kind: "markdown", value: "This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over\xA0`preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}}, {name: "autoplay", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute:\xA0if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}}, {name: "mediagroup"}, {name: "loop", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute:\xA0if specified, the audio player will\xA0automatically seek back to the start\xA0upon reaching the end of the audio."}}, {name: "muted", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}}, {name: "controls", valueSet: "v", description: {kind: "markdown", value: "If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]}, {name: "source", description: {kind: "markdown", value: "The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."}, attributes: [{name: "src", description: {kind: "markdown", value: 'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\xA0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}}, {name: "type", description: {kind: "markdown", value: "The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}}, {name: "sizes", description: 'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}, {name: "srcset", description: "A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."}, {name: "media", description: '[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/source"}]}, {name: "track", description: {kind: "markdown", value: "The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."}, attributes: [{name: "default", valueSet: "v", description: {kind: "markdown", value: "This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}}, {name: "kind", valueSet: "tk", description: {kind: "markdown", value: "How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.)\xA0The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}}, {name: "label", description: {kind: "markdown", value: "A user-readable title of the text track which is used by the browser when listing available text tracks."}}, {name: "src", description: {kind: "markdown", value: 'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document \u2014 unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\xA0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}}, {name: "srclang", description: {kind: "markdown", value: "Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to\xA0`subtitles,` then `srclang` must be defined."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/track"}]}, {name: "map", description: {kind: "markdown", value: "The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."}, attributes: [{name: "name", description: {kind: "markdown", value: "The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/map"}]}, {name: "area", description: {kind: "markdown", value: "The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."}, attributes: [{name: "alt"}, {name: "coords"}, {name: "shape", valueSet: "sh"}, {name: "href"}, {name: "target"}, {name: "download"}, {name: "ping"}, {name: "rel"}, {name: "hreflang"}, {name: "type"}, {name: "accesskey", description: "Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/area"}]}, {name: "table", description: {kind: "markdown", value: "The table element represents data with more than one dimension, in the form of a table."}, attributes: [{name: "border"}, {name: "align", description: 'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data \u2014 that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/table"}]}, {name: "caption", description: {kind: "markdown", value: "The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."}, attributes: [{name: "align", description: 'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]}, {name: "colgroup", description: {kind: "markdown", value: "The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."}, attributes: [{name: "span"}, {name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]}, {name: "col", description: {kind: "markdown", value: "If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."}, attributes: [{name: "span"}, {name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/col"}]}, {name: "tbody", description: {kind: "markdown", value: "The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."}, attributes: [{name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]}, {name: "thead", description: {kind: "markdown", value: "The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."}, attributes: [{name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]}, {name: "tfoot", description: {kind: "markdown", value: "The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."}, attributes: [{name: "align", description: 'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]}, {name: "tr", description: {kind: "markdown", value: "The tr element represents a row of cells in a table."}, attributes: [{name: "align", description: 'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]}, {name: "td", description: {kind: "markdown", value: "The td element represents a data cell in a table."}, attributes: [{name: "colspan"}, {name: "rowspan"}, {name: "headers"}, {name: "abbr", description: "This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."}, {name: "align", description: 'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'}, {name: "axis", description: "This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."}, {name: "bgcolor", description: 'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n\xA0\n\n`black` = "#000000"\n\n\xA0\n\n`green` = "#008000"\n\n\xA0\n\n`silver` = "#C0C0C0"\n\n\xA0\n\n`lime` = "#00FF00"\n\n\xA0\n\n`gray` = "#808080"\n\n\xA0\n\n`olive` = "#808000"\n\n\xA0\n\n`white` = "#FFFFFF"\n\n\xA0\n\n`yellow` = "#FFFF00"\n\n\xA0\n\n`maroon` = "#800000"\n\n\xA0\n\n`navy` = "#000080"\n\n\xA0\n\n`red` = "#FF0000"\n\n\xA0\n\n`blue` = "#0000FF"\n\n\xA0\n\n`purple` = "#800080"\n\n\xA0\n\n`teal` = "#008080"\n\n\xA0\n\n`fuchsia` = "#FF00FF"\n\n\xA0\n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/td"}]}, {name: "th", description: {kind: "markdown", value: "The th element represents a header cell in a table."}, attributes: [{name: "colspan"}, {name: "rowspan"}, {name: "headers"}, {name: "scope", valueSet: "s"}, {name: "sorted"}, {name: "abbr", description: {kind: "markdown", value: "This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}}, {name: "align", description: 'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'}, {name: "axis", description: "This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."}, {name: "bgcolor", description: 'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n\xA0\n\n`black` = "#000000"\n\n\xA0\n\n`green` = "#008000"\n\n\xA0\n\n`silver` = "#C0C0C0"\n\n\xA0\n\n`lime` = "#00FF00"\n\n\xA0\n\n`gray` = "#808080"\n\n\xA0\n\n`olive` = "#808000"\n\n\xA0\n\n`white` = "#FFFFFF"\n\n\xA0\n\n`yellow` = "#FFFF00"\n\n\xA0\n\n`maroon` = "#800000"\n\n\xA0\n\n`navy` = "#000080"\n\n\xA0\n\n`red` = "#FF0000"\n\n\xA0\n\n`blue` = "#0000FF"\n\n\xA0\n\n`purple` = "#800080"\n\n\xA0\n\n`teal` = "#008080"\n\n\xA0\n\n`fuchsia` = "#FF00FF"\n\n\xA0\n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/th"}]}, {name: "form", description: {kind: "markdown", value: "The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."}, attributes: [{name: "accept-charset", description: {kind: "markdown", value: 'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}}, {name: "action", description: {kind: "markdown", value: 'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "autocomplete", valueSet: "o", description: {kind: "markdown", value: "Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}}, {name: "enctype", valueSet: "et", description: {kind: "markdown", value: 'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "method", valueSet: "m", description: {kind: "markdown", value: 'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a\xA0[`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "name", description: {kind: "markdown", value: "The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}}, {name: "novalidate", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}}, {name: "target", description: {kind: "markdown", value: 'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}}, {name: "accept", description: 'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}, {name: "autocapitalize", description: "This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/form"}]}, {name: "label", description: {kind: "markdown", value: "The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."}, attributes: [{name: "form", description: {kind: "markdown", value: 'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}}, {name: "for", description: {kind: "markdown", value: "The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is\xA0not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/label"}]}, {name: "input", description: {kind: "markdown", value: "The input element represents a typed data field, usually with a form control to allow the user to edit the data."}, attributes: [{name: "accept"}, {name: "alt"}, {name: "autocomplete", valueSet: "inputautocomplete"}, {name: "autofocus", valueSet: "v"}, {name: "checked", valueSet: "v"}, {name: "dirname"}, {name: "disabled", valueSet: "v"}, {name: "form"}, {name: "formaction"}, {name: "formenctype", valueSet: "et"}, {name: "formmethod", valueSet: "fm"}, {name: "formnovalidate", valueSet: "v"}, {name: "formtarget"}, {name: "height"}, {name: "inputmode", valueSet: "im"}, {name: "list"}, {name: "max"}, {name: "maxlength"}, {name: "min"}, {name: "minlength"}, {name: "multiple", valueSet: "v"}, {name: "name"}, {name: "pattern"}, {name: "placeholder"}, {name: "readonly", valueSet: "v"}, {name: "required", valueSet: "v"}, {name: "size"}, {name: "src"}, {name: "step"}, {name: "type", valueSet: "t"}, {name: "value"}, {name: "width"}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/input"}]}, {name: "button", description: {kind: "markdown", value: "The button element represents a button labeled by its contents."}, attributes: [{name: "autofocus", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}}, {name: "disabled", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}}, {name: "form", description: {kind: "markdown", value: 'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}}, {name: "formaction", description: {kind: "markdown", value: "The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}}, {name: "formenctype", valueSet: "et", description: {kind: "markdown", value: 'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}}, {name: "formmethod", valueSet: "fm", description: {kind: "markdown", value: "If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}}, {name: "formnovalidate", valueSet: "v", description: {kind: "markdown", value: "If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}}, {name: "formtarget", description: {kind: "markdown", value: "If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}}, {name: "name", description: {kind: "markdown", value: "The name of the button, which is submitted with the form data."}}, {name: "type", valueSet: "bt", description: {kind: "markdown", value: "The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}}, {name: "value", description: {kind: "markdown", value: "The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}}, {name: "autocomplete", description: 'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug\xA0654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/button"}]}, {name: "select", description: {kind: "markdown", value: "The select element represents a control for selecting amongst a set of options."}, attributes: [{name: "autocomplete", valueSet: "inputautocomplete", description: {kind: "markdown", value: 'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}}, {name: "autofocus", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}}, {name: "disabled", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}}, {name: "form", description: {kind: "markdown", value: 'This attribute lets you specify the form element to\xA0which\xA0the select element is associated\xA0(that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}}, {name: "multiple", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}}, {name: "name", description: {kind: "markdown", value: "This attribute is used to specify the name of the control."}}, {name: "required", valueSet: "v", description: {kind: "markdown", value: "A Boolean attribute indicating that an option with a non-empty string value must be selected."}}, {name: "size", description: {kind: "markdown", value: "If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/select"}]}, {name: "datalist", description: {kind: "markdown", value: "The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]}, {name: "optgroup", description: {kind: "markdown", value: "The optgroup element represents a group of option elements with a common label."}, attributes: [{name: "disabled", valueSet: "v", description: {kind: "markdown", value: "If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}}, {name: "label", description: {kind: "markdown", value: "The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]}, {name: "option", description: {kind: "markdown", value: "The option element represents an option in a select element or as part of a list of suggestions in a datalist element."}, attributes: [{name: "disabled", valueSet: "v", description: {kind: "markdown", value: 'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}}, {name: "label", description: {kind: "markdown", value: "This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}}, {name: "selected", valueSet: "v", description: {kind: "markdown", value: 'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}}, {name: "value", description: {kind: "markdown", value: "The content of this attribute represents the value to be submitted with the form, should this option be selected.\xA0If this attribute is omitted, the value is taken from the text content of the option element."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/option"}]}, {name: "textarea", description: {kind: "markdown", value: "The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."}, attributes: [{name: "autocomplete", valueSet: "inputautocomplete", description: {kind: "markdown", value: 'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}}, {name: "autofocus", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}}, {name: "cols", description: {kind: "markdown", value: "The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}}, {name: "dirname"}, {name: "disabled", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}}, {name: "form", description: {kind: "markdown", value: 'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}}, {name: "inputmode", valueSet: "im"}, {name: "maxlength", description: {kind: "markdown", value: "The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}}, {name: "minlength", description: {kind: "markdown", value: "The minimum number of characters (unicode code points) required that the user should enter."}}, {name: "name", description: {kind: "markdown", value: "The name of the control."}}, {name: "placeholder", description: {kind: "markdown", value: 'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}}, {name: "readonly", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}}, {name: "required", valueSet: "v", description: {kind: "markdown", value: "This attribute specifies that the user must fill in a value before submitting a form."}}, {name: "rows", description: {kind: "markdown", value: "The number of visible text lines for the control."}}, {name: "wrap", valueSet: "w", description: {kind: "markdown", value: "Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}}, {name: "autocapitalize", description: "This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}, {name: "spellcheck", description: "Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]}, {name: "output", description: {kind: "markdown", value: "The output element represents the result of a calculation performed by the application, or the result of a user action."}, attributes: [{name: "for", description: {kind: "markdown", value: "A space-separated list of other elements\u2019 [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}}, {name: "form", description: {kind: "markdown", value: 'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}}, {name: "name", description: {kind: "markdown", value: 'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/output"}]}, {name: "progress", description: {kind: "markdown", value: "The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."}, attributes: [{name: "value", description: {kind: "markdown", value: "This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}}, {name: "max", description: {kind: "markdown", value: "This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]}, {name: "meter", description: {kind: "markdown", value: "The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."}, attributes: [{name: "value", description: {kind: "markdown", value: "The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}}, {name: "min", description: {kind: "markdown", value: "The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}}, {name: "max", description: {kind: "markdown", value: "The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}}, {name: "low", description: {kind: "markdown", value: "The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}}, {name: "high", description: {kind: "markdown", value: "The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}}, {name: "optimum", description: {kind: "markdown", value: "This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}}, {name: "form", description: "This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]}, {name: "fieldset", description: {kind: "markdown", value: "The fieldset element represents a set of form controls optionally grouped under a common name."}, attributes: [{name: "disabled", valueSet: "v", description: {kind: "markdown", value: "If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}}, {name: "form", description: {kind: "markdown", value: 'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}}, {name: "name", description: {kind: "markdown", value: 'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]}, {name: "legend", description: {kind: "markdown", value: "The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]}, {name: "details", description: {kind: "markdown", value: "The details element represents a disclosure widget from which the user can obtain additional information or controls."}, attributes: [{name: "open", valueSet: "v", description: {kind: "markdown", value: "This Boolean attribute indicates whether or not the details \u2014 that is, the contents of the `<details>` element \u2014 are currently visible. The default, `false`, means the details are not visible."}}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/details"}]}, {name: "summary", description: {kind: "markdown", value: "The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]}, {name: "dialog", description: {kind: "markdown", value: "The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."}, attributes: [{name: "open", description: "Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]}, {name: "script", description: {kind: "markdown", value: "The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."}, attributes: [{name: "src", description: {kind: "markdown", value: "This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}}, {name: "type", description: {kind: "markdown", value: 'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute \u2014 for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug\xA01428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}}, {name: "charset"}, {name: "async", valueSet: "v", description: {kind: "markdown", value: 'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}}, {name: "defer", valueSet: "v", description: {kind: "markdown", value: 'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}}, {name: "crossorigin", valueSet: "xo", description: {kind: "markdown", value: 'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}}, {name: "nonce", description: {kind: "markdown", value: "A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}}, {name: "integrity", description: "This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."}, {name: "nomodule", description: "This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) \u2014 in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."}, {name: "referrerpolicy", description: 'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS\u2192HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS\u2192HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS\u2192HTTPS), and send no header to a less secure destination (e.g. HTTPS\u2192HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available,\xA0the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'}, {name: "text", description: "Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/script"}]}, {name: "noscript", description: {kind: "markdown", value: "The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]}, {name: "template", description: {kind: "markdown", value: "The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."}, attributes: [], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/template"}]}, {name: "canvas", description: {kind: "markdown", value: "The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."}, attributes: [{name: "width", description: {kind: "markdown", value: "The width of the coordinate space in CSS pixels. Defaults to 300."}}, {name: "height", description: {kind: "markdown", value: "The height of the coordinate space in CSS pixels. Defaults to 150."}}, {name: "moz-opaque", description: "Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}], globalAttributes: [{name: "accesskey", description: {kind: "markdown", value: "Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]}, {name: "autocapitalize", description: {kind: "markdown", value: "Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]}, {name: "class", description: {kind: "markdown", value: 'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]}, {name: "contenteditable", description: {kind: "markdown", value: "An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]}, {name: "contextmenu", description: {kind: "markdown", value: 'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]}, {name: "dir", description: {kind: "markdown", value: "An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."}, valueSet: "d", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]}, {name: "draggable", description: {kind: "markdown", value: "An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."}, valueSet: "b", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]}, {name: "dropzone", description: {kind: "markdown", value: "An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]}, {name: "exportparts", description: {kind: "markdown", value: "Used to transitively export shadow parts from a nested shadow tree into a containing light tree."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]}, {name: "hidden", description: {kind: "markdown", value: "A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."}, valueSet: "v", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]}, {name: "id", description: {kind: "markdown", value: "Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]}, {name: "inputmode", description: {kind: "markdown", value: 'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]}, {name: "is", description: {kind: "markdown", value: "Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]}, {name: "itemid", description: {kind: "markdown", value: "The unique, global identifier of an item."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]}, {name: "itemprop", description: {kind: "markdown", value: "Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]}, {name: "itemref", description: {kind: "markdown", value: "Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]}, {name: "itemscope", description: {kind: "markdown", value: "`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."}, valueSet: "v", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]}, {name: "itemtype", description: {kind: "markdown", value: "Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]}, {name: "lang", description: {kind: "markdown", value: "Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one \u201Clanguage tag\u201D (made of hyphen-separated \u201Clanguage subtags\u201D) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]}, {name: "part", description: {kind: "markdown", value: 'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]}, {name: "role", valueSet: "roles"}, {name: "slot", description: {kind: "markdown", value: "Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element\u2014part of the Web Components technology suite\u2014is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]}, {name: "spellcheck", description: {kind: "markdown", value: "An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."}, valueSet: "b", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]}, {name: "style", description: {kind: "markdown", value: 'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]}, {name: "tabindex", description: {kind: "markdown", value: "An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]}, {name: "title", description: {kind: "markdown", value: "Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."}, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]}, {name: "translate", description: {kind: "markdown", value: "An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."}, valueSet: "y", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]}, {name: "onabort", description: {kind: "markdown", value: "The loading of a resource has been aborted."}}, {name: "onblur", description: {kind: "markdown", value: "An element has lost focus (does not bubble)."}}, {name: "oncanplay", description: {kind: "markdown", value: "The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}}, {name: "oncanplaythrough", description: {kind: "markdown", value: "The user agent can play the media up to its end without having to stop for further buffering of content."}}, {name: "onchange", description: {kind: "markdown", value: "The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}}, {name: "onclick", description: {kind: "markdown", value: "A pointing device button has been pressed and released on an element."}}, {name: "oncontextmenu", description: {kind: "markdown", value: "The right button of the mouse is clicked (before the context menu is displayed)."}}, {name: "ondblclick", description: {kind: "markdown", value: "A pointing device button is clicked twice on an element."}}, {name: "ondrag", description: {kind: "markdown", value: "An element or text selection is being dragged (every 350ms)."}}, {name: "ondragend", description: {kind: "markdown", value: "A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}}, {name: "ondragenter", description: {kind: "markdown", value: "A dragged element or text selection enters a valid drop target."}}, {name: "ondragleave", description: {kind: "markdown", value: "A dragged element or text selection leaves a valid drop target."}}, {name: "ondragover", description: {kind: "markdown", value: "An element or text selection is being dragged over a valid drop target (every 350ms)."}}, {name: "ondragstart", description: {kind: "markdown", value: "The user starts dragging an element or text selection."}}, {name: "ondrop", description: {kind: "markdown", value: "An element is dropped on a valid drop target."}}, {name: "ondurationchange", description: {kind: "markdown", value: "The duration attribute has been updated."}}, {name: "onemptied", description: {kind: "markdown", value: "The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}}, {name: "onended", description: {kind: "markdown", value: "Playback has stopped because the end of the media was reached."}}, {name: "onerror", description: {kind: "markdown", value: "A resource failed to load."}}, {name: "onfocus", description: {kind: "markdown", value: "An element has received focus (does not bubble)."}}, {name: "onformchange"}, {name: "onforminput"}, {name: "oninput", description: {kind: "markdown", value: "The value of an element changes or the content of an element with the attribute contenteditable is modified."}}, {name: "oninvalid", description: {kind: "markdown", value: "A submittable element has been checked and doesn't satisfy its constraints."}}, {name: "onkeydown", description: {kind: "markdown", value: "A key is pressed down."}}, {name: "onkeypress", description: {kind: "markdown", value: "A key is pressed down and that key normally produces a character value (use input instead)."}}, {name: "onkeyup", description: {kind: "markdown", value: "A key is released."}}, {name: "onload", description: {kind: "markdown", value: "A resource and its dependent resources have finished loading."}}, {name: "onloadeddata", description: {kind: "markdown", value: "The first frame of the media has finished loading."}}, {name: "onloadedmetadata", description: {kind: "markdown", value: "The metadata has been loaded."}}, {name: "onloadstart", description: {kind: "markdown", value: "Progress has begun."}}, {name: "onmousedown", description: {kind: "markdown", value: "A pointing device button (usually a mouse) is pressed on an element."}}, {name: "onmousemove", description: {kind: "markdown", value: "A pointing device is moved over an element."}}, {name: "onmouseout", description: {kind: "markdown", value: "A pointing device is moved off the element that has the listener attached or off one of its children."}}, {name: "onmouseover", description: {kind: "markdown", value: "A pointing device is moved onto the element that has the listener attached or onto one of its children."}}, {name: "onmouseup", description: {kind: "markdown", value: "A pointing device button is released over an element."}}, {name: "onmousewheel"}, {name: "onpause", description: {kind: "markdown", value: "Playback has been paused."}}, {name: "onplay", description: {kind: "markdown", value: "Playback has begun."}}, {name: "onplaying", description: {kind: "markdown", value: "Playback is ready to start after having been paused or delayed due to lack of data."}}, {name: "onprogress", description: {kind: "markdown", value: "In progress."}}, {name: "onratechange", description: {kind: "markdown", value: "The playback rate has changed."}}, {name: "onreset", description: {kind: "markdown", value: "A form is reset."}}, {name: "onresize", description: {kind: "markdown", value: "The document view has been resized."}}, {name: "onreadystatechange", description: {kind: "markdown", value: "The readyState attribute of a document has changed."}}, {name: "onscroll", description: {kind: "markdown", value: "The document view or an element has been scrolled."}}, {name: "onseeked", description: {kind: "markdown", value: "A seek operation completed."}}, {name: "onseeking", description: {kind: "markdown", value: "A seek operation began."}}, {name: "onselect", description: {kind: "markdown", value: "Some text is being selected."}}, {name: "onshow", description: {kind: "markdown", value: "A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}}, {name: "onstalled", description: {kind: "markdown", value: "The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}}, {name: "onsubmit", description: {kind: "markdown", value: "A form is submitted."}}, {name: "onsuspend", description: {kind: "markdown", value: "Media data loading has been suspended."}}, {name: "ontimeupdate", description: {kind: "markdown", value: "The time indicated by the currentTime attribute has been updated."}}, {name: "onvolumechange", description: {kind: "markdown", value: "The volume has changed."}}, {name: "onwaiting", description: {kind: "markdown", value: "Playback has stopped because of a temporary lack of data."}}, {name: "aria-activedescendant", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}], description: {kind: "markdown", value: "Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}}, {name: "aria-atomic", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}], description: {kind: "markdown", value: "Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}}, {name: "aria-autocomplete", valueSet: "autocomplete", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}], description: {kind: "markdown", value: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}}, {name: "aria-busy", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}], description: {kind: "markdown", value: "Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}}, {name: "aria-checked", valueSet: "tristate", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}], description: {kind: "markdown", value: 'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}}, {name: "aria-colcount", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}], description: {kind: "markdown", value: "Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}}, {name: "aria-colindex", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}], description: {kind: "markdown", value: "Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}}, {name: "aria-colspan", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}], description: {kind: "markdown", value: "Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}}, {name: "aria-controls", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}}, {name: "aria-current", valueSet: "current", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-current"}], description: {kind: "markdown", value: "Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}}, {name: "aria-describedat", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]}, {name: "aria-describedby", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}}, {name: "aria-disabled", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}], description: {kind: "markdown", value: "Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}}, {name: "aria-dropeffect", valueSet: "dropeffect", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}], description: {kind: "markdown", value: "\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}}, {name: "aria-errormessage", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}}, {name: "aria-expanded", valueSet: "u", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}], description: {kind: "markdown", value: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}}, {name: "aria-flowto", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}], description: {kind: "markdown", value: "Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}}, {name: "aria-grabbed", valueSet: "u", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}], description: {kind: "markdown", value: `\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}}, {name: "aria-haspopup", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}], description: {kind: "markdown", value: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}}, {name: "aria-hidden", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}], description: {kind: "markdown", value: "Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}}, {name: "aria-invalid", valueSet: "invalid", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}], description: {kind: "markdown", value: "Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}}, {name: "aria-kbdshortcuts", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]}, {name: "aria-label", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-label"}], description: {kind: "markdown", value: "Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}}, {name: "aria-labelledby", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}], description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}}, {name: "aria-level", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-level"}], description: {kind: "markdown", value: "Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}}, {name: "aria-live", valueSet: "live", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-live"}], description: {kind: "markdown", value: "Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}}, {name: "aria-modal", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}], description: {kind: "markdown", value: "Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}}, {name: "aria-multiline", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}], description: {kind: "markdown", value: "Indicates whether a text box accepts multiple lines of input or only a single line."}}, {name: "aria-multiselectable", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}], description: {kind: "markdown", value: "Indicates that the user may select more than one item from the current selectable descendants."}}, {name: "aria-orientation", valueSet: "orientation", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}], description: {kind: "markdown", value: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}}, {name: "aria-owns", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}], description: {kind: "markdown", value: "Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}}, {name: "aria-placeholder", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}], description: {kind: "markdown", value: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}}, {name: "aria-posinset", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}], description: {kind: "markdown", value: "Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}}, {name: "aria-pressed", valueSet: "tristate", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}], description: {kind: "markdown", value: 'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}}, {name: "aria-readonly", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}], description: {kind: "markdown", value: "Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}}, {name: "aria-relevant", valueSet: "relevant", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}], description: {kind: "markdown", value: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}}, {name: "aria-required", valueSet: "b", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-required"}], description: {kind: "markdown", value: "Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}}, {name: "aria-roledescription", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}], description: {kind: "markdown", value: "Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}}, {name: "aria-rowcount", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}], description: {kind: "markdown", value: "Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}}, {name: "aria-rowindex", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}], description: {kind: "markdown", value: "Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}}, {name: "aria-rowspan", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}], description: {kind: "markdown", value: "Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}}, {name: "aria-selected", valueSet: "u", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}], description: {kind: "markdown", value: 'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}}, {name: "aria-setsize", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}], description: {kind: "markdown", value: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}}, {name: "aria-sort", valueSet: "sort", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}], description: {kind: "markdown", value: "Indicates if items in a table or grid are sorted in ascending or descending order."}}, {name: "aria-valuemax", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}], description: {kind: "markdown", value: "Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}}, {name: "aria-valuemin", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}], description: {kind: "markdown", value: "Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}}, {name: "aria-valuenow", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}], description: {kind: "markdown", value: "Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}}, {name: "aria-valuetext", references: [{name: "WAI-ARIA Reference", url: "https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}], description: {kind: "markdown", value: "Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}}, {name: "aria-details", description: {kind: "markdown", value: "Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}}, {name: "aria-keyshortcuts", description: {kind: "markdown", value: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}], valueSets: [{name: "b", values: [{name: "true"}, {name: "false"}]}, {name: "u", values: [{name: "true"}, {name: "false"}, {name: "undefined"}]}, {name: "o", values: [{name: "on"}, {name: "off"}]}, {name: "y", values: [{name: "yes"}, {name: "no"}]}, {name: "w", values: [{name: "soft"}, {name: "hard"}]}, {name: "d", values: [{name: "ltr"}, {name: "rtl"}, {name: "auto"}]}, {name: "m", values: [{name: "GET", description: {kind: "markdown", value: "Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}}, {name: "POST", description: {kind: "markdown", value: "Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}}, {name: "dialog", description: {kind: "markdown", value: "Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]}, {name: "fm", values: [{name: "GET"}, {name: "POST"}]}, {name: "s", values: [{name: "row"}, {name: "col"}, {name: "rowgroup"}, {name: "colgroup"}]}, {name: "t", values: [{name: "hidden"}, {name: "text"}, {name: "search"}, {name: "tel"}, {name: "url"}, {name: "email"}, {name: "password"}, {name: "datetime"}, {name: "date"}, {name: "month"}, {name: "week"}, {name: "time"}, {name: "datetime-local"}, {name: "number"}, {name: "range"}, {name: "color"}, {name: "checkbox"}, {name: "radio"}, {name: "file"}, {name: "submit"}, {name: "image"}, {name: "reset"}, {name: "button"}]}, {name: "im", values: [{name: "verbatim"}, {name: "latin"}, {name: "latin-name"}, {name: "latin-prose"}, {name: "full-width-latin"}, {name: "kana"}, {name: "kana-name"}, {name: "katakana"}, {name: "numeric"}, {name: "tel"}, {name: "email"}, {name: "url"}]}, {name: "bt", values: [{name: "button"}, {name: "submit"}, {name: "reset"}, {name: "menu"}]}, {name: "lt", values: [{name: "1"}, {name: "a"}, {name: "A"}, {name: "i"}, {name: "I"}]}, {name: "mt", values: [{name: "context"}, {name: "toolbar"}]}, {name: "mit", values: [{name: "command"}, {name: "checkbox"}, {name: "radio"}]}, {name: "et", values: [{name: "application/x-www-form-urlencoded"}, {name: "multipart/form-data"}, {name: "text/plain"}]}, {name: "tk", values: [{name: "subtitles"}, {name: "captions"}, {name: "descriptions"}, {name: "chapters"}, {name: "metadata"}]}, {name: "pl", values: [{name: "none"}, {name: "metadata"}, {name: "auto"}]}, {name: "sh", values: [{name: "circle"}, {name: "default"}, {name: "poly"}, {name: "rect"}]}, {name: "xo", values: [{name: "anonymous"}, {name: "use-credentials"}]}, {name: "sb", values: [{name: "allow-forms"}, {name: "allow-modals"}, {name: "allow-pointer-lock"}, {name: "allow-popups"}, {name: "allow-popups-to-escape-sandbox"}, {name: "allow-same-origin"}, {name: "allow-scripts"}, {name: "allow-top-navigation"}]}, {name: "tristate", values: [{name: "true"}, {name: "false"}, {name: "mixed"}, {name: "undefined"}]}, {name: "inputautocomplete", values: [{name: "additional-name"}, {name: "address-level1"}, {name: "address-level2"}, {name: "address-level3"}, {name: "address-level4"}, {name: "address-line1"}, {name: "address-line2"}, {name: "address-line3"}, {name: "bday"}, {name: "bday-year"}, {name: "bday-day"}, {name: "bday-month"}, {name: "billing"}, {name: "cc-additional-name"}, {name: "cc-csc"}, {name: "cc-exp"}, {name: "cc-exp-month"}, {name: "cc-exp-year"}, {name: "cc-family-name"}, {name: "cc-given-name"}, {name: "cc-name"}, {name: "cc-number"}, {name: "cc-type"}, {name: "country"}, {name: "country-name"}, {name: "current-password"}, {name: "email"}, {name: "family-name"}, {name: "fax"}, {name: "given-name"}, {name: "home"}, {name: "honorific-prefix"}, {name: "honorific-suffix"}, {name: "impp"}, {name: "language"}, {name: "mobile"}, {name: "name"}, {name: "new-password"}, {name: "nickname"}, {name: "organization"}, {name: "organization-title"}, {name: "pager"}, {name: "photo"}, {name: "postal-code"}, {name: "sex"}, {name: "shipping"}, {name: "street-address"}, {name: "tel-area-code"}, {name: "tel"}, {name: "tel-country-code"}, {name: "tel-extension"}, {name: "tel-local"}, {name: "tel-local-prefix"}, {name: "tel-local-suffix"}, {name: "tel-national"}, {name: "transaction-amount"}, {name: "transaction-currency"}, {name: "url"}, {name: "username"}, {name: "work"}]}, {name: "autocomplete", values: [{name: "inline"}, {name: "list"}, {name: "both"}, {name: "none"}]}, {name: "current", values: [{name: "page"}, {name: "step"}, {name: "location"}, {name: "date"}, {name: "time"}, {name: "true"}, {name: "false"}]}, {name: "dropeffect", values: [{name: "copy"}, {name: "move"}, {name: "link"}, {name: "execute"}, {name: "popup"}, {name: "none"}]}, {name: "invalid", values: [{name: "grammar"}, {name: "false"}, {name: "spelling"}, {name: "true"}]}, {name: "live", values: [{name: "off"}, {name: "polite"}, {name: "assertive"}]}, {name: "orientation", values: [{name: "vertical"}, {name: "horizontal"}, {name: "undefined"}]}, {name: "relevant", values: [{name: "additions"}, {name: "removals"}, {name: "text"}, {name: "all"}, {name: "additions text"}]}, {name: "sort", values: [{name: "ascending"}, {name: "descending"}, {name: "none"}, {name: "other"}]}, {name: "roles", values: [{name: "alert"}, {name: "alertdialog"}, {name: "button"}, {name: "checkbox"}, {name: "dialog"}, {name: "gridcell"}, {name: "link"}, {name: "log"}, {name: "marquee"}, {name: "menuitem"}, {name: "menuitemcheckbox"}, {name: "menuitemradio"}, {name: "option"}, {name: "progressbar"}, {name: "radio"}, {name: "scrollbar"}, {name: "searchbox"}, {name: "slider"}, {name: "spinbutton"}, {name: "status"}, {name: "switch"}, {name: "tab"}, {name: "tabpanel"}, {name: "textbox"}, {name: "timer"}, {name: "tooltip"}, {name: "treeitem"}, {name: "combobox"}, {name: "grid"}, {name: "listbox"}, {name: "menu"}, {name: "menubar"}, {name: "radiogroup"}, {name: "tablist"}, {name: "tree"}, {name: "treegrid"}, {name: "application"}, {name: "article"}, {name: "cell"}, {name: "columnheader"}, {name: "definition"}, {name: "directory"}, {name: "document"}, {name: "feed"}, {name: "figure"}, {name: "group"}, {name: "heading"}, {name: "img"}, {name: "list"}, {name: "listitem"}, {name: "math"}, {name: "none"}, {name: "note"}, {name: "presentation"}, {name: "region"}, {name: "row"}, {name: "rowgroup"}, {name: "rowheader"}, {name: "separator"}, {name: "table"}, {name: "term"}, {name: "text"}, {name: "toolbar"}, {name: "banner"}, {name: "complementary"}, {name: "contentinfo"}, {name: "form"}, {name: "main"}, {name: "navigation"}, {name: "region"}, {name: "search"}, {name: "doc-abstract"}, {name: "doc-acknowledgments"}, {name: "doc-afterword"}, {name: "doc-appendix"}, {name: "doc-backlink"}, {name: "doc-biblioentry"}, {name: "doc-bibliography"}, {name: "doc-biblioref"}, {name: "doc-chapter"}, {name: "doc-colophon"}, {name: "doc-conclusion"}, {name: "doc-cover"}, {name: "doc-credit"}, {name: "doc-credits"}, {name: "doc-dedication"}, {name: "doc-endnote"}, {name: "doc-endnotes"}, {name: "doc-epigraph"}, {name: "doc-epilogue"}, {name: "doc-errata"}, {name: "doc-example"}, {name: "doc-footnote"}, {name: "doc-foreword"}, {name: "doc-glossary"}, {name: "doc-glossref"}, {name: "doc-index"}, {name: "doc-introduction"}, {name: "doc-noteref"}, {name: "doc-notice"}, {name: "doc-pagebreak"}, {name: "doc-pagelist"}, {name: "doc-part"}, {name: "doc-preface"}, {name: "doc-prologue"}, {name: "doc-pullquote"}, {name: "doc-qna"}, {name: "doc-subtitle"}, {name: "doc-tip"}, {name: "doc-toc"}]}, {name: "metanames", values: [{name: "application-name"}, {name: "author"}, {name: "description"}, {name: "format-detection"}, {name: "generator"}, {name: "keywords"}, {name: "publisher"}, {name: "referrer"}, {name: "robots"}, {name: "theme-color"}, {name: "viewport"}]}]}, At = function() { function e2(e3) { - this.dataProviders = [], this.setDataProviders(false !== e3.useDefaultDataProvider, e3.customDataProviders || []); + this.dataProviders = [], this.setDataProviders(e3.useDefaultDataProvider !== false, e3.customDataProviders || []); } return e2.prototype.setDataProviders = function(e3, t2) { var n2; @@ -11533,7 +11533,7 @@ }, e2; }(), Rt = {}; function Mt(e2) { - void 0 === e2 && (e2 = Rt); + e2 === void 0 && (e2 = Rt); var t2 = new At(e2), n2 = new lt(e2, t2), i2 = new rt(e2, t2); return {setDataProviders: t2.setDataProviders.bind(t2), createScanner: Ie, parseHTMLDocument: function(e3) { return Me(e3.getText()); @@ -11542,11 +11542,11 @@ }, function(e, t, n) { "use strict"; var i, o = function() { - return void 0 === i && (i = Boolean(window && document && document.all && !window.atob)), i; + return i === void 0 && (i = Boolean(window && document && document.all && !window.atob)), i; }, r = function() { var e2 = {}; return function(t2) { - if (void 0 === e2[t2]) { + if (e2[t2] === void 0) { var n2 = document.querySelector(t2); if (window.HTMLIFrameElement && n2 instanceof window.HTMLIFrameElement) try { @@ -11572,19 +11572,19 @@ var r2 = e2[o2], l2 = t2.base ? r2[0] + t2.base : r2[0], c2 = n2[l2] || 0, d2 = "".concat(l2, " ").concat(c2); n2[l2] = c2 + 1; var h2 = a(d2), u2 = {css: r2[1], media: r2[2], sourceMap: r2[3]}; - -1 !== h2 ? (s[h2].references++, s[h2].updater(u2)) : s.push({identifier: d2, updater: f(u2, t2), references: 1}), i2.push(d2); + h2 !== -1 ? (s[h2].references++, s[h2].updater(u2)) : s.push({identifier: d2, updater: f(u2, t2), references: 1}), i2.push(d2); } return i2; } function c(e2) { var t2 = document.createElement("style"), i2 = e2.attributes || {}; - if (void 0 === i2.nonce) { + if (i2.nonce === void 0) { var o2 = n.nc; o2 && (i2.nonce = o2); } if (Object.keys(i2).forEach(function(e3) { t2.setAttribute(e3, i2[e3]); - }), "function" == typeof e2.insert) + }), typeof e2.insert == "function") e2.insert(t2); else { var s2 = r(e2.insert || "head"); @@ -11625,7 +11625,7 @@ } else n2 = c(t2), i2 = p.bind(null, n2, t2), o2 = function() { !function(e3) { - if (null === e3.parentNode) + if (e3.parentNode === null) return false; e3.parentNode.removeChild(e3); }(n2); @@ -11640,17 +11640,17 @@ }; } e.exports = function(e2, t2) { - (t2 = t2 || {}).singleton || "boolean" == typeof t2.singleton || (t2.singleton = o()); + (t2 = t2 || {}).singleton || typeof t2.singleton == "boolean" || (t2.singleton = o()); var n2 = l(e2 = e2 || [], t2); return function(e3) { - if (e3 = e3 || [], "[object Array]" === Object.prototype.toString.call(e3)) { + if (e3 = e3 || [], Object.prototype.toString.call(e3) === "[object Array]") { for (var i2 = 0; i2 < n2.length; i2++) { var o2 = a(n2[i2]); s[o2].references--; } for (var r2 = l(e3, t2), c2 = 0; c2 < n2.length; c2++) { var d2 = a(n2[c2]); - 0 === s[d2].references && (s[d2].updater(), s.splice(d2, 1)); + s[d2].references === 0 && (s[d2].updater(), s.splice(d2, 1)); } n2 = r2; } @@ -11666,7 +11666,7 @@ var n3 = e3[1] || "", i = e3[3]; if (!i) return n3; - if (t4 && "function" == typeof btoa) { + if (t4 && typeof btoa == "function") { var o = (s = i, a = btoa(unescape(encodeURIComponent(JSON.stringify(s)))), l = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a), "/*# ".concat(l, " */")), r = i.sources.map(function(e4) { return "/*# sourceURL=".concat(i.sourceRoot || "").concat(e4, " */"); }); @@ -11678,12 +11678,12 @@ return t3[2] ? "@media ".concat(t3[2], " {").concat(n2, "}") : n2; }).join(""); }, t2.i = function(e3, n2, i) { - "string" == typeof e3 && (e3 = [[null, e3, ""]]); + typeof e3 == "string" && (e3 = [[null, e3, ""]]); var o = {}; if (i) for (var r = 0; r < this.length; r++) { var s = this[r][0]; - null != s && (o[s] = true); + s != null && (o[s] = true); } for (var a = 0; a < e3.length; a++) { var l = [].concat(e3[a]); @@ -11783,7 +11783,7 @@ this._top !== e2 && (this._top = e2, this.domNode.style.top = this._top + "px"); } unsetTop() { - -1 !== this._top && (this._top = -1, this.domNode.style.top = ""); + this._top !== -1 && (this._top = -1, this.domNode.style.top = ""); } setLeft(e2) { this._left !== e2 && (this._left = e2, this.domNode.style.left = this._left + "px"); @@ -11875,7 +11875,7 @@ return i; }), function(e2) { e2.is = function(e3) { - return e3 && "object" == typeof e3 && "function" == typeof e3[Symbol.iterator]; + return e3 && typeof e3 == "object" && typeof e3[Symbol.iterator] == "function"; }; const t2 = Object.freeze([]); e2.empty = function() { @@ -11903,7 +11903,7 @@ yield e4; }, e2.consume = function(t3, n2 = Number.POSITIVE_INFINITY) { const i2 = []; - if (0 === n2) + if (n2 === 0) return [i2, t3]; const o = t3[Symbol.iterator](); for (let t4 = 0; t4 < n2; t4++) { @@ -11936,11 +11936,11 @@ function S(e2, t2) { if (e2 === t2) return true; - if (null == e2 || null == t2) + if (e2 == null || t2 == null) return false; if (typeof e2 != typeof t2) return false; - if ("object" != typeof e2) + if (typeof e2 != "object") return false; if (Array.isArray(e2) !== Array.isArray(t2)) return false; @@ -11968,13 +11968,13 @@ return true; } function k(e2) { - return "number" == typeof e2; + return typeof e2 == "number"; } function E(e2) { - return void 0 !== e2; + return e2 !== void 0; } function T(e2) { - return "boolean" == typeof e2; + return typeof e2 == "boolean"; } !function(e2) { e2.create = function(e3, t2) { @@ -12089,31 +12089,31 @@ }(_ || (_ = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {kind: "create", uri: e3}; - return void 0 === t2 || void 0 === t2.overwrite && void 0 === t2.ignoreIfExists || (n2.options = t2), n2; + return t2 === void 0 || t2.overwrite === void 0 && t2.ignoreIfExists === void 0 || (n2.options = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "create" === t2.kind && ie.string(t2.uri) && (void 0 === t2.options || (void 0 === t2.options.overwrite || ie.boolean(t2.options.overwrite)) && (void 0 === t2.options.ignoreIfExists || ie.boolean(t2.options.ignoreIfExists))); + return t2 && t2.kind === "create" && ie.string(t2.uri) && (t2.options === void 0 || (t2.options.overwrite === void 0 || ie.boolean(t2.options.overwrite)) && (t2.options.ignoreIfExists === void 0 || ie.boolean(t2.options.ignoreIfExists))); }; }(v || (v = {})), function(e2) { e2.create = function(e3, t2, n2) { var i2 = {kind: "rename", oldUri: e3, newUri: t2}; - return void 0 === n2 || void 0 === n2.overwrite && void 0 === n2.ignoreIfExists || (i2.options = n2), i2; + return n2 === void 0 || n2.overwrite === void 0 && n2.ignoreIfExists === void 0 || (i2.options = n2), i2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "rename" === t2.kind && ie.string(t2.oldUri) && ie.string(t2.newUri) && (void 0 === t2.options || (void 0 === t2.options.overwrite || ie.boolean(t2.options.overwrite)) && (void 0 === t2.options.ignoreIfExists || ie.boolean(t2.options.ignoreIfExists))); + return t2 && t2.kind === "rename" && ie.string(t2.oldUri) && ie.string(t2.newUri) && (t2.options === void 0 || (t2.options.overwrite === void 0 || ie.boolean(t2.options.overwrite)) && (t2.options.ignoreIfExists === void 0 || ie.boolean(t2.options.ignoreIfExists))); }; }(w || (w = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {kind: "delete", uri: e3}; - return void 0 === t2 || void 0 === t2.recursive && void 0 === t2.ignoreIfNotExists || (n2.options = t2), n2; + return t2 === void 0 || t2.recursive === void 0 && t2.ignoreIfNotExists === void 0 || (n2.options = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "delete" === t2.kind && ie.string(t2.uri) && (void 0 === t2.options || (void 0 === t2.options.recursive || ie.boolean(t2.options.recursive)) && (void 0 === t2.options.ignoreIfNotExists || ie.boolean(t2.options.ignoreIfNotExists))); + return t2 && t2.kind === "delete" && ie.string(t2.uri) && (t2.options === void 0 || (t2.options.recursive === void 0 || ie.boolean(t2.options.recursive)) && (t2.options.ignoreIfNotExists === void 0 || ie.boolean(t2.options.ignoreIfNotExists))); }; }(y || (y = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return t2 && (void 0 !== t2.changes || void 0 !== t2.documentChanges) && (void 0 === t2.documentChanges || t2.documentChanges.every(function(e4) { + return t2 && (t2.changes !== void 0 || t2.documentChanges !== void 0) && (t2.documentChanges === void 0 || t2.documentChanges.every(function(e4) { return ie.string(e4.kind) ? v.is(e4) || w.is(e4) || y.is(e4) : _.is(e4); })); }; @@ -12193,7 +12193,7 @@ return {uri: e3, version: t2}; }, e2.is = function(e3) { var t2 = e3; - return ie.defined(t2) && ie.string(t2.uri) && (null === t2.version || ie.number(t2.version)); + return ie.defined(t2) && ie.string(t2.uri) && (t2.version === null || ie.number(t2.version)); }; }(N || (N = {})), function(e2) { e2.create = function(e3, t2, n2, i2) { @@ -12238,7 +12238,7 @@ }(W || (W = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return !!t2 && ie.objectLiteral(t2) && (D.is(t2.contents) || W.is(t2.contents) || ie.typedArray(t2.contents, W.is)) && (void 0 === e3.range || o.is(e3.range)); + return !!t2 && ie.objectLiteral(t2) && (D.is(t2.contents) || W.is(t2.contents) || ie.typedArray(t2.contents, W.is)) && (e3.range === void 0 || o.is(e3.range)); }; }(z || (z = {})), function(e2) { e2.create = function(e3, t2) { @@ -12270,28 +12270,28 @@ }($ || ($ = {})), function(e2) { e2.create = function(e3, t2, n2, i2, o2, r2) { var s2 = {name: e3, detail: t2, kind: n2, range: i2, selectionRange: o2}; - return void 0 !== r2 && (s2.children = r2), s2; + return r2 !== void 0 && (s2.children = r2), s2; }, e2.is = function(e3) { var t2 = e3; - return t2 && ie.string(t2.name) && ie.number(t2.kind) && o.is(t2.range) && o.is(t2.selectionRange) && (void 0 === t2.detail || ie.string(t2.detail)) && (void 0 === t2.deprecated || ie.boolean(t2.deprecated)) && (void 0 === t2.children || Array.isArray(t2.children)); + return t2 && ie.string(t2.name) && ie.number(t2.kind) && o.is(t2.range) && o.is(t2.selectionRange) && (t2.detail === void 0 || ie.string(t2.detail)) && (t2.deprecated === void 0 || ie.boolean(t2.deprecated)) && (t2.children === void 0 || Array.isArray(t2.children)); }; }(K || (K = {})), function(e2) { e2.Empty = "", e2.QuickFix = "quickfix", e2.Refactor = "refactor", e2.RefactorExtract = "refactor.extract", e2.RefactorInline = "refactor.inline", e2.RefactorRewrite = "refactor.rewrite", e2.Source = "source", e2.SourceOrganizeImports = "source.organizeImports", e2.SourceFixAll = "source.fixAll"; }(G || (G = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {diagnostics: e3}; - return null != t2 && (n2.only = t2), n2; + return t2 != null && (n2.only = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return ie.defined(t2) && ie.typedArray(t2.diagnostics, g.is) && (void 0 === t2.only || ie.typedArray(t2.only, ie.string)); + return ie.defined(t2) && ie.typedArray(t2.diagnostics, g.is) && (t2.only === void 0 || ie.typedArray(t2.only, ie.string)); }; }(Y || (Y = {})), function(e2) { e2.create = function(e3, t2, n2) { var i2 = {title: e3}; - return f.is(t2) ? i2.command = t2 : i2.edit = t2, void 0 !== n2 && (i2.kind = n2), i2; + return f.is(t2) ? i2.command = t2 : i2.edit = t2, n2 !== void 0 && (i2.kind = n2), i2; }, e2.is = function(e3) { var t2 = e3; - return t2 && ie.string(t2.title) && (void 0 === t2.diagnostics || ie.typedArray(t2.diagnostics, g.is)) && (void 0 === t2.kind || ie.string(t2.kind)) && (void 0 !== t2.edit || void 0 !== t2.command) && (void 0 === t2.command || f.is(t2.command)) && (void 0 === t2.isPreferred || ie.boolean(t2.isPreferred)) && (void 0 === t2.edit || C.is(t2.edit)); + return t2 && ie.string(t2.title) && (t2.diagnostics === void 0 || ie.typedArray(t2.diagnostics, g.is)) && (t2.kind === void 0 || ie.string(t2.kind)) && (t2.edit !== void 0 || t2.command !== void 0) && (t2.command === void 0 || f.is(t2.command)) && (t2.isPreferred === void 0 || ie.boolean(t2.isPreferred)) && (t2.edit === void 0 || C.is(t2.edit)); }; }(Z || (Z = {})), function(e2) { e2.create = function(e3, t2) { @@ -12320,7 +12320,7 @@ return {range: e3, parent: t2}; }, e2.is = function(t2) { var n2 = t2; - return void 0 !== n2 && o.is(n2.range) && (void 0 === n2.parent || e2.is(n2.parent)); + return n2 !== void 0 && o.is(n2.range) && (n2.parent === void 0 || e2.is(n2.parent)); }; }(ee || (ee = {})); var ne; @@ -12348,7 +12348,7 @@ return t3; }(t2, function(e4, t3) { var n3 = e4.range.start.line - t3.range.start.line; - return 0 === n3 ? e4.range.start.character - t3.range.start.character : n3; + return n3 === 0 ? e4.range.start.character - t3.range.start.character : n3; }), o2 = n2.length, r2 = i2.length - 1; r2 >= 0; r2--) { var s2 = i2[r2], a2 = e3.offsetAt(s2.range.start), l2 = e3.offsetAt(s2.range.end); if (!(l2 <= o2)) @@ -12377,11 +12377,11 @@ }, e2.prototype.update = function(e3, t2) { this._content = e3.text, this._version = t2, this._lineOffsets = void 0; }, e2.prototype.getLineOffsets = function() { - if (void 0 === this._lineOffsets) { + if (this._lineOffsets === void 0) { for (var e3 = [], t2 = this._content, n2 = true, i2 = 0; i2 < t2.length; i2++) { n2 && (e3.push(i2), n2 = false); var o2 = t2.charAt(i2); - n2 = "\r" === o2 || "\n" === o2, "\r" === o2 && i2 + 1 < t2.length && "\n" === t2.charAt(i2 + 1) && i2++; + n2 = o2 === "\r" || o2 === "\n", o2 === "\r" && i2 + 1 < t2.length && t2.charAt(i2 + 1) === "\n" && i2++; } n2 && t2.length > 0 && e3.push(t2.length), this._lineOffsets = e3; } @@ -12389,7 +12389,7 @@ }, e2.prototype.positionAt = function(e3) { e3 = Math.max(Math.min(e3, this._content.length), 0); var t2 = this.getLineOffsets(), n2 = 0, o2 = t2.length; - if (0 === o2) + if (o2 === 0) return i.create(0, e3); for (; n2 < o2; ) { var r2 = Math.floor((n2 + o2) / 2); @@ -12412,19 +12412,19 @@ !function(e2) { var t2 = Object.prototype.toString; e2.defined = function(e3) { - return void 0 !== e3; + return e3 !== void 0; }, e2.undefined = function(e3) { - return void 0 === e3; + return e3 === void 0; }, e2.boolean = function(e3) { - return true === e3 || false === e3; + return e3 === true || e3 === false; }, e2.string = function(e3) { - return "[object String]" === t2.call(e3); + return t2.call(e3) === "[object String]"; }, e2.number = function(e3) { - return "[object Number]" === t2.call(e3); + return t2.call(e3) === "[object Number]"; }, e2.func = function(e3) { - return "[object Function]" === t2.call(e3); + return t2.call(e3) === "[object Function]"; }, e2.objectLiteral = function(e3) { - return null !== e3 && "object" == typeof e3; + return e3 !== null && typeof e3 == "object"; }, e2.typedArray = function(e3, t3) { return Array.isArray(e3) && e3.every(t3); }; @@ -12458,7 +12458,7 @@ else u2.length < 1e4 ? h2.splice.apply(h2, [c2 + 1, d2 - c2].concat(u2)) : this._lineOffsets = h2 = h2.slice(0, c2 + 1).concat(u2, h2.slice(d2 + 1)); var g2 = r2.text.length - (l2 - a2); - if (0 !== g2) + if (g2 !== 0) for (p2 = c2 + 1 + u2.length, m2 = h2.length; p2 < m2; p2++) h2[p2] = h2[p2] + g2; } else { @@ -12469,11 +12469,11 @@ } this._version = n2; }, e2.prototype.getLineOffsets = function() { - return void 0 === this._lineOffsets && (this._lineOffsets = ce(this._content, true)), this._lineOffsets; + return this._lineOffsets === void 0 && (this._lineOffsets = ce(this._content, true)), this._lineOffsets; }, e2.prototype.positionAt = function(e3) { e3 = Math.max(Math.min(e3, this._content.length), 0); var t2 = this.getLineOffsets(), n2 = 0, i2 = t2.length; - if (0 === i2) + if (i2 === 0) return {line: 0, character: e3}; for (; n2 < i2; ) { var o2 = Math.floor((n2 + i2) / 2); @@ -12493,17 +12493,17 @@ return this.getLineOffsets().length; }, enumerable: true, configurable: true}), e2.isIncremental = function(e3) { var t2 = e3; - return null != t2 && "string" == typeof t2.text && void 0 !== t2.range && (void 0 === t2.rangeLength || "number" == typeof t2.rangeLength); + return t2 != null && typeof t2.text == "string" && t2.range !== void 0 && (t2.rangeLength === void 0 || typeof t2.rangeLength == "number"); }, e2.isFull = function(e3) { var t2 = e3; - return null != t2 && "string" == typeof t2.text && void 0 === t2.range && void 0 === t2.rangeLength; + return t2 != null && typeof t2.text == "string" && t2.range === void 0 && t2.rangeLength === void 0; }, e2; }(); function ce(e2, t2, n2) { - void 0 === n2 && (n2 = 0); + n2 === void 0 && (n2 = 0); for (var i2 = t2 ? [n2] : [], o2 = 0; o2 < e2.length; o2++) { var r2 = e2.charCodeAt(o2); - 13 !== r2 && 10 !== r2 || (13 === r2 && o2 + 1 < e2.length && 10 === e2.charCodeAt(o2 + 1) && o2++, i2.push(n2 + o2 + 1)); + r2 !== 13 && r2 !== 10 || (r2 === 13 && o2 + 1 < e2.length && e2.charCodeAt(o2 + 1) === 10 && o2++, i2.push(n2 + o2 + 1)); } return i2; } @@ -12516,9 +12516,9 @@ return t2 !== e2.range ? {newText: e2.newText, range: t2} : e2; } function ue(e2, t2) { - return 0 === t2.length ? e2 : e2.replace(/\{(\d+)\}/g, function(e3, n2) { + return t2.length === 0 ? e2 : e2.replace(/\{(\d+)\}/g, function(e3, n2) { var i2 = n2[0]; - return void 0 !== t2[i2] ? t2[i2] : e3; + return t2[i2] !== void 0 ? t2[i2] : e3; }); } function pe(e2, t2) { @@ -12554,7 +12554,7 @@ return t3; }(t2.map(he), function(e4, t3) { var n3 = e4.range.start.line - t3.range.start.line; - return 0 === n3 ? e4.range.start.character - t3.range.start.character : n3; + return n3 === 0 ? e4.range.start.character - t3.range.start.character : n3; }); r2 < s2.length; r2++) { var a2 = s2[r2], l2 = e3.offsetAt(a2.range.start); if (l2 < i2) @@ -12577,10 +12577,10 @@ function n2() { this.constructor = e2; } - ge(e2, t2), e2.prototype = null === t2 ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); + ge(e2, t2), e2.prototype = t2 === null ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); }), _e = me(), ve = {"color-hex": {errorMessage: _e("colorHexFormatWarning", "Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."), pattern: /^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/}, "date-time": {errorMessage: _e("dateTimeFormatWarning", "String is not a RFC3339 date-time."), pattern: /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i}, date: {errorMessage: _e("dateFormatWarning", "String is not a RFC3339 date."), pattern: /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i}, time: {errorMessage: _e("timeFormatWarning", "String is not a RFC3339 time."), pattern: /^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i}, email: {errorMessage: _e("emailFormatWarning", "String is not an e-mail address."), pattern: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}}, we = function() { function e2(e3, t2, n2) { - void 0 === n2 && (n2 = 0), this.offset = t2, this.length = n2, this.parent = e3; + n2 === void 0 && (n2 = 0), this.offset = t2, this.length = n2, this.parent = e3; } return Object.defineProperty(e2.prototype, "children", {get: function() { return []; @@ -12644,14 +12644,14 @@ }(fe || (fe = {})); var Ne = function() { function e2(e3, t2) { - void 0 === e3 && (e3 = -1), this.focusOffset = e3, this.exclude = t2, this.schemas = []; + e3 === void 0 && (e3 = -1), this.focusOffset = e3, this.exclude = t2, this.schemas = []; } return e2.prototype.add = function(e3) { this.schemas.push(e3); }, e2.prototype.merge = function(e3) { Array.prototype.push.apply(this.schemas, e3.schemas); }, e2.prototype.include = function(e3) { - return (-1 === this.focusOffset || Re(e3, this.focusOffset)) && e3 !== this.exclude; + return (this.focusOffset === -1 || Re(e3, this.focusOffset)) && e3 !== this.exclude; }, e2.prototype.newSub = function() { return new e2(-1, this.exclude); }, e2; @@ -12691,7 +12691,7 @@ } } }, e2.prototype.mergePropertyMatch = function(e3) { - this.merge(e3), this.propertiesMatches++, (e3.enumValueMatch || !e3.hasProblems() && e3.propertiesMatches) && this.propertiesValueMatches++, e3.enumValueMatch && e3.enumValues && 1 === e3.enumValues.length && this.primaryValueMatches++; + this.merge(e3), this.propertiesMatches++, (e3.enumValueMatch || !e3.hasProblems() && e3.propertiesMatches) && this.propertiesValueMatches++, e3.enumValueMatch && e3.enumValues && e3.enumValues.length === 1 && this.primaryValueMatches++; }, e2.prototype.compare = function(e3) { var t2 = this.hasProblems(); return t2 !== e3.hasProblems() ? t2 ? -1 : 1 : this.enumValueMatch !== e3.enumValueMatch ? e3.enumValueMatch ? -1 : 1 : this.primaryValueMatches !== e3.primaryValueMatches ? this.primaryValueMatches - e3.primaryValueMatches : this.propertiesValueMatches !== e3.propertiesValueMatches ? this.propertiesValueMatches - e3.propertiesValueMatches : this.propertiesMatches - e3.propertiesMatches; @@ -12704,14 +12704,14 @@ return x.d(e2); } function Re(e2, t2, n2) { - return void 0 === n2 && (n2 = false), t2 >= e2.offset && t2 < e2.offset + e2.length || n2 && t2 === e2.offset + e2.length; + return n2 === void 0 && (n2 = false), t2 >= e2.offset && t2 < e2.offset + e2.length || n2 && t2 === e2.offset + e2.length; } var Me = function() { function e2(e3, t2, n2) { - void 0 === t2 && (t2 = []), void 0 === n2 && (n2 = []), this.root = e3, this.syntaxErrors = t2, this.comments = n2; + t2 === void 0 && (t2 = []), n2 === void 0 && (n2 = []), this.root = e3, this.syntaxErrors = t2, this.comments = n2; } return e2.prototype.getNodeFromOffset = function(e3, t2) { - if (void 0 === t2 && (t2 = false), this.root) + if (t2 === void 0 && (t2 = false), this.root) return x.b(this.root, e3, t2); }, e2.prototype.visit = function(e3) { if (this.root) { @@ -12733,7 +12733,7 @@ }); } }, e2.prototype.getMatchingSchemas = function(e3, t2, n2) { - void 0 === t2 && (t2 = -1); + t2 === void 0 && (t2 = -1); var i2 = new Ne(t2, n2); return this.root && e3 && Pe(this.root, e3, new Oe(), i2), i2.schemas; }, e2; @@ -12752,7 +12752,7 @@ for (var c2 = 0, d2 = t3.required; c2 < d2.length; c2++) { var h2 = d2[c2]; if (!o3[h2]) { - var u2 = e3.parent && "property" === e3.parent.type && e3.parent.keyNode, m2 = u2 ? {offset: u2.offset, length: u2.length} : {offset: e3.offset, length: 1}; + var u2 = e3.parent && e3.parent.type === "property" && e3.parent.keyNode, m2 = u2 ? {offset: u2.offset, length: u2.length} : {offset: e3.offset, length: 1}; n3.problems.push({location: m2, severity: p.Warning, message: _e("MissingRequiredPropWarning", 'Missing property "{0}".', h2)}); } } @@ -12797,7 +12797,7 @@ } } } - if ("object" == typeof t3.additionalProperties) + if (typeof t3.additionalProperties == "object") for (var N2 = 0, I2 = r2; N2 < I2.length; N2++) { h2 = I2[N2]; if (A2 = o3[h2]) { @@ -12805,7 +12805,7 @@ Pe(A2, t3.additionalProperties, w2, i3), n3.mergePropertyMatch(w2); } } - else if (false === t3.additionalProperties && r2.length > 0) + else if (t3.additionalProperties === false && r2.length > 0) for (var O2 = 0, D2 = r2; O2 < D2.length; O2++) { var A2; h2 = D2[O2]; @@ -12848,13 +12848,13 @@ (u2 = e3.items[r2]) ? (Pe(u2, s2, a2, i3), n3.mergePropertyMatch(a2)) : e3.items.length >= o3.length && n3.propertiesValueMatches++; } if (e3.items.length > o3.length) - if ("object" == typeof t3.additionalItems) + if (typeof t3.additionalItems == "object") for (var l2 = o3.length; l2 < e3.items.length; l2++) { a2 = new Oe(); Pe(e3.items[l2], t3.additionalItems, a2, i3), n3.mergePropertyMatch(a2); } else - false === t3.additionalItems && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("additionalItemsWarning", "Array has too many items according to schema. Expected {0} or fewer.", o3.length)}); + t3.additionalItems === false && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("additionalItemsWarning", "Array has too many items according to schema. Expected {0} or fewer.", o3.length)}); } else { var c2 = Le(t3.items); if (c2) @@ -12873,7 +12873,7 @@ } k(t3.minItems) && e3.items.length < t3.minItems && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("minItemsWarning", "Array has too few items. Expected {0} or more.", t3.minItems)}); k(t3.maxItems) && e3.items.length > t3.maxItems && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("maxItemsWarning", "Array has too many items. Expected {0} or fewer.", t3.maxItems)}); - if (true === t3.uniqueItems) { + if (t3.uniqueItems === true) { var g2 = De(e3); g2.some(function(e4, t4) { return t4 !== g2.lastIndexOf(e4); @@ -12885,7 +12885,7 @@ !function(e3, t3, n3, i3) { k(t3.minLength) && e3.value.length < t3.minLength && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("minLengthWarning", "String is shorter than the minimum length of {0}.", t3.minLength)}); k(t3.maxLength) && e3.value.length > t3.maxLength && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("maxLengthWarning", "String is longer than the maximum length of {0}.", t3.maxLength)}); - if (o3 = t3.pattern, "string" == typeof o3) { + if (o3 = t3.pattern, typeof o3 == "string") { new RegExp(t3.pattern).test(e3.value) || n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: t3.patternErrorMessage || t3.errorMessage || _e("patternWarning", 'String does not match the pattern of "{0}".', t3.pattern)}); } var o3; @@ -12896,7 +12896,7 @@ var r2 = void 0; if (e3.value) { var s2 = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e3.value); - s2 ? s2[2] || "uri" !== t3.format || (r2 = _e("uriSchemeMissing", "URI with a scheme is expected.")) : r2 = _e("uriMissing", "URI is expected."); + s2 ? s2[2] || t3.format !== "uri" || (r2 = _e("uriSchemeMissing", "URI with a scheme is expected.")) : r2 = _e("uriMissing", "URI is expected."); } else r2 = _e("uriEmpty", "URI expected."); r2 && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: t3.patternErrorMessage || t3.errorMessage || _e("uriFormatWarning", "String is not a URI: {0}", r2)}); @@ -12916,7 +12916,7 @@ var o3 = e3.value; function r2(e4) { var t4, n4 = /^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e4.toString()); - return n4 && {value: Number(n4[1] + (n4[2] || "")), multiplier: ((null === (t4 = n4[2]) || void 0 === t4 ? void 0 : t4.length) || 0) - (parseInt(n4[3]) || 0)}; + return n4 && {value: Number(n4[1] + (n4[2] || "")), multiplier: (((t4 = n4[2]) === null || t4 === void 0 ? void 0 : t4.length) || 0) - (parseInt(n4[3]) || 0)}; } if (k(t3.multipleOf)) { var s2 = -1; @@ -12929,7 +12929,7 @@ l2.multiplier < a2.multiplier ? l2.value *= c2 : a2.value *= c2, s2 = l2.value % a2.value; } } - 0 !== s2 && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("multipleOfWarning", "Value is not divisible by {0}.", t3.multipleOf)}); + s2 !== 0 && n3.problems.push({location: {offset: e3.offset, length: e3.length}, severity: p.Warning, message: _e("multipleOfWarning", "Value is not divisible by {0}.", t3.multipleOf)}); } function d2(e4, t4) { return k(t4) ? t4 : T(t4) && t4 ? e4 : void 0; @@ -12953,7 +12953,7 @@ } !function() { function e3(e4) { - return o2.type === e4 || "integer" === e4 && "number" === o2.type && o2.isInteger; + return o2.type === e4 || e4 === "integer" && o2.type === "number" && o2.isInteger; } Array.isArray(t2.type) ? t2.type.some(e3) || n2.problems.push({location: {offset: o2.offset, length: o2.length}, severity: p.Warning, message: t2.errorMessage || _e("typeArrayMismatchWarning", "Incorrect type. Expected one of {0}.", t2.type.join(", "))}) : t2.type && (e3(t2.type) || n2.problems.push({location: {offset: o2.offset, length: o2.length}, severity: p.Warning, message: t2.errorMessage || _e("typeMismatchWarning", 'Incorrect type. Expected "{0}".', t2.type)})); if (Array.isArray(t2.allOf)) @@ -12976,7 +12976,7 @@ if (Pe(o2, c3, d3, h3), d3.hasProblems() || r3.push(c3), s3) if (t3 || d3.hasProblems() || s3.validationResult.hasProblems()) { var u3 = d3.compare(s3.validationResult); - u3 > 0 ? s3 = {schema: c3, validationResult: d3, matchingSchemas: h3} : 0 === u3 && (s3.matchingSchemas.merge(h3), s3.validationResult.mergeEnumValues(d3)); + u3 > 0 ? s3 = {schema: c3, validationResult: d3, matchingSchemas: h3} : u3 === 0 && (s3.matchingSchemas.merge(h3), s3.validationResult.mergeEnumValues(d3)); } else s3.matchingSchemas.merge(h3), s3.validationResult.propertiesMatches += d3.propertiesMatches, s3.validationResult.propertiesValueMatches += d3.propertiesValueMatches; else @@ -13032,13 +13032,13 @@ } } function c2(t3, r3, s3, a3, l3) { - if (void 0 === l3 && (l3 = p.Error), 0 === n2.length || s3 !== i2) { + if (l3 === void 0 && (l3 = p.Error), n2.length === 0 || s3 !== i2) { var c3 = o.create(e2.positionAt(s3), e2.positionAt(a3)); n2.push(g.create(c3, t3, l3, r3, e2.languageId)), i2 = s3; } } function d2(e3, t3, n3, i3, o2) { - void 0 === n3 && (n3 = void 0), void 0 === i3 && (i3 = []), void 0 === o2 && (o2 = []); + n3 === void 0 && (n3 = void 0), i3 === void 0 && (i3 = []), o2 === void 0 && (o2 = []); var a3 = s2.getTokenOffset(), d3 = s2.getTokenOffset() + s2.getTokenLength(); if (a3 === d3 && a3 > 0) { for (a3--; a3 > 0 && /\s/.test(r2.charAt(a3)); ) @@ -13046,12 +13046,12 @@ d3 = a3 + 1; } if (c2(e3, t3, a3, d3), n3 && u2(n3, false), i3.length + o2.length > 0) - for (var h3 = s2.getToken(); 17 !== h3; ) { - if (-1 !== i3.indexOf(h3)) { + for (var h3 = s2.getToken(); h3 !== 17; ) { + if (i3.indexOf(h3) !== -1) { l2(); break; } - if (-1 !== o2.indexOf(h3)) + if (o2.indexOf(h3) !== -1) break; h3 = l2(); } @@ -13081,7 +13081,7 @@ function f2(t3, n3) { var i3 = new Ee(t3, s2.getTokenOffset(), m2), o2 = b2(i3); if (!o2) { - if (16 !== s2.getToken()) + if (s2.getToken() !== 16) return; d2(_e("DoubleQuotesExpected", "Property keys must be doublequoted"), se.Undefined); var r3 = new ke(i3, s2.getTokenOffset(), s2.getTokenLength()); @@ -13089,29 +13089,29 @@ } i3.keyNode = o2; var a3 = n3[o2.value]; - if (a3 ? (c2(_e("DuplicateKeyWarning", "Duplicate object key"), se.DuplicateKey, i3.keyNode.offset, i3.keyNode.offset + i3.keyNode.length, p.Warning), "object" == typeof a3 && c2(_e("DuplicateKeyWarning", "Duplicate object key"), se.DuplicateKey, a3.keyNode.offset, a3.keyNode.offset + a3.keyNode.length, p.Warning), n3[o2.value] = true) : n3[o2.value] = i3, 6 === s2.getToken()) + if (a3 ? (c2(_e("DuplicateKeyWarning", "Duplicate object key"), se.DuplicateKey, i3.keyNode.offset, i3.keyNode.offset + i3.keyNode.length, p.Warning), typeof a3 == "object" && c2(_e("DuplicateKeyWarning", "Duplicate object key"), se.DuplicateKey, a3.keyNode.offset, a3.keyNode.offset + a3.keyNode.length, p.Warning), n3[o2.value] = true) : n3[o2.value] = i3, s2.getToken() === 6) i3.colonOffset = s2.getTokenOffset(), l2(); - else if (d2(_e("ColonExpected", "Colon expected"), se.ColonExpected), 10 === s2.getToken() && e2.positionAt(o2.offset + o2.length).line < e2.positionAt(s2.getTokenOffset()).line) + else if (d2(_e("ColonExpected", "Colon expected"), se.ColonExpected), s2.getToken() === 10 && e2.positionAt(o2.offset + o2.length).line < e2.positionAt(s2.getTokenOffset()).line) return i3.length = o2.length, i3; var h3 = _2(i3); return h3 ? (i3.valueNode = h3, i3.length = h3.offset + h3.length - i3.offset, i3) : d2(_e("ValueExpected", "Value expected"), se.ValueExpected, i3, [], [2, 5]); } function b2(e3) { - if (10 === s2.getToken()) { + if (s2.getToken() === 10) { var t3 = new ke(e3, s2.getTokenOffset()); return t3.value = s2.getTokenValue(), u2(t3, true); } } function _2(e3) { return function(e4) { - if (3 === s2.getToken()) { + if (s2.getToken() === 3) { var t3 = new xe(e4, s2.getTokenOffset()); l2(); - for (var n3 = false; 4 !== s2.getToken() && 17 !== s2.getToken(); ) { - if (5 === s2.getToken()) { + for (var n3 = false; s2.getToken() !== 4 && s2.getToken() !== 17; ) { + if (s2.getToken() === 5) { n3 || d2(_e("ValueExpected", "Value expected"), se.ValueExpected); var i3 = s2.getTokenOffset(); - if (l2(), 4 === s2.getToken()) { + if (l2(), s2.getToken() === 4) { n3 && c2(_e("TrailingComma", "Trailing comma"), se.TrailingComma, i3, i3 + 1); continue; } @@ -13120,17 +13120,17 @@ var o2 = _2(t3); o2 ? t3.items.push(o2) : d2(_e("PropertyExpected", "Value expected"), se.ValueExpected, void 0, [], [4, 5]), n3 = true; } - return 4 !== s2.getToken() ? d2(_e("ExpectedCloseBracket", "Expected comma or closing bracket"), se.CommaOrCloseBacketExpected, t3) : u2(t3, true); + return s2.getToken() !== 4 ? d2(_e("ExpectedCloseBracket", "Expected comma or closing bracket"), se.CommaOrCloseBacketExpected, t3) : u2(t3, true); } }(e3) || function(e4) { - if (1 === s2.getToken()) { + if (s2.getToken() === 1) { var t3 = new Te(e4, s2.getTokenOffset()), n3 = Object.create(null); l2(); - for (var i3 = false; 2 !== s2.getToken() && 17 !== s2.getToken(); ) { - if (5 === s2.getToken()) { + for (var i3 = false; s2.getToken() !== 2 && s2.getToken() !== 17; ) { + if (s2.getToken() === 5) { i3 || d2(_e("PropertyExpected", "Property expected"), se.PropertyExpected); var o2 = s2.getTokenOffset(); - if (l2(), 2 === s2.getToken()) { + if (l2(), s2.getToken() === 2) { i3 && c2(_e("TrailingComma", "Trailing comma"), se.TrailingComma, o2, o2 + 1); continue; } @@ -13139,12 +13139,12 @@ var r3 = f2(t3, n3); r3 ? t3.properties.push(r3) : d2(_e("PropertyExpected", "Property expected"), se.PropertyExpected, void 0, [], [2, 5]), i3 = true; } - return 2 !== s2.getToken() ? d2(_e("ExpectedCloseBrace", "Expected comma or closing brace"), se.CommaOrCloseBraceExpected, t3) : u2(t3, true); + return s2.getToken() !== 2 ? d2(_e("ExpectedCloseBrace", "Expected comma or closing brace"), se.CommaOrCloseBraceExpected, t3) : u2(t3, true); } }(e3) || b2(e3) || function(e4) { - if (11 === s2.getToken()) { + if (s2.getToken() === 11) { var t3 = new Se(e4, s2.getTokenOffset()); - if (0 === s2.getTokenError()) { + if (s2.getTokenError() === 0) { var n3 = s2.getTokenValue(); try { var i3 = JSON.parse(n3); @@ -13154,7 +13154,7 @@ } catch (e5) { return d2(_e("InvalidNumberFormat", "Invalid number format."), se.Undefined, t3); } - t3.isInteger = -1 === n3.indexOf("."); + t3.isInteger = n3.indexOf(".") === -1; } return u2(t3, true); } @@ -13172,18 +13172,18 @@ }(e3); } var v2 = void 0; - return 17 !== l2() && ((v2 = _2(v2)) ? 17 !== s2.getToken() && d2(_e("End of file expected", "End of file expected."), se.Undefined) : d2(_e("Invalid symbol", "Expected a JSON object, array or literal."), se.Undefined)), new Me(v2, n2, a2); + return l2() !== 17 && ((v2 = _2(v2)) ? s2.getToken() !== 17 && d2(_e("End of file expected", "End of file expected."), se.Undefined) : d2(_e("Invalid symbol", "Expected a JSON object, array or literal."), se.Undefined)), new Me(v2, n2, a2); } function We(e2, t2) { var n2 = e2.length - t2.length; - return n2 > 0 ? e2.lastIndexOf(t2) === n2 : 0 === n2 && e2 === t2; + return n2 > 0 ? e2.lastIndexOf(t2) === n2 : n2 === 0 && e2 === t2; } function ze(e2) { return e2.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&").replace(/[\*]/g, ".*"); } var Be = me(), je = function() { function e2(e3, t2, n2, i2) { - void 0 === t2 && (t2 = []), void 0 === n2 && (n2 = Promise), void 0 === i2 && (i2 = {}), this.schemaService = e3, this.contributions = t2, this.promiseConstructor = n2, this.clientCapabilities = i2; + t2 === void 0 && (t2 = []), n2 === void 0 && (n2 = Promise), i2 === void 0 && (i2 = {}), this.schemaService = e3, this.contributions = t2, this.promiseConstructor = n2, this.clientCapabilities = i2; } return e2.prototype.doResolve = function(e3) { for (var t2 = this.contributions.length - 1; t2 >= 0; t2--) { @@ -13201,12 +13201,12 @@ return Promise.resolve(r2); if (l2 && a2 === l2.offset + l2.length && a2 > 0) { var c2 = s2[a2 - 1]; - ("object" === l2.type && "}" === c2 || "array" === l2.type && "]" === c2) && (l2 = l2.parent); + (l2.type === "object" && c2 === "}" || l2.type === "array" && c2 === "]") && (l2 = l2.parent); } var d2, h2 = this.getCurrentWord(e3, a2); - if (!l2 || "string" !== l2.type && "number" !== l2.type && "boolean" !== l2.type && "null" !== l2.type) { + if (!l2 || l2.type !== "string" && l2.type !== "number" && l2.type !== "boolean" && l2.type !== "null") { var u2 = a2 - h2.length; - u2 > 0 && '"' === s2[u2 - 1] && u2--, d2 = o.create(e3.positionAt(u2), t2); + u2 > 0 && s2[u2 - 1] === '"' && u2--, d2 = o.create(e3.positionAt(u2), t2); } else d2 = o.create(e3.positionAt(l2.offset), e3.positionAt(l2.offset + l2.length)); var p2 = {}, m2 = {add: function(e4) { @@ -13214,11 +13214,11 @@ if (n3) n3.documentation || (n3.documentation = e4.documentation); else { - if ((t3 = t3.replace(/[\n]/g, "↵")).length > 60) { + if ((t3 = t3.replace(/[\n]/g, "\u21B5")).length > 60) { var i3 = t3.substr(0, 57).trim() + "..."; p2[i3] || (t3 = i3); } - d2 && void 0 !== e4.insertText && (e4.textEdit = b.replace(d2, e4.insertText)), e4.label = t3, p2[t3] = e4, r2.items.push(e4); + d2 && e4.insertText !== void 0 && (e4.textEdit = b.replace(d2, e4.insertText)), e4.label = t3, p2[t3] = e4, r2.items.push(e4); } }, setAsIncomplete: function() { r2.isIncomplete = true; @@ -13231,11 +13231,11 @@ }}; return this.schemaService.getSchemaForResource(e3.uri, n2).then(function(t3) { var o2 = [], c3 = true, u3 = "", g2 = void 0; - if (l2 && "string" === l2.type) { + if (l2 && l2.type === "string") { var f2 = l2.parent; - f2 && "property" === f2.type && f2.keyNode === l2 && (c3 = !f2.valueNode, g2 = f2, u3 = s2.substr(l2.offset + 1, l2.length - 2), f2 && (l2 = f2.parent)); + f2 && f2.type === "property" && f2.keyNode === l2 && (c3 = !f2.valueNode, g2 = f2, u3 = s2.substr(l2.offset + 1, l2.length - 2), f2 && (l2 = f2.parent)); } - if (l2 && "object" === l2.type) { + if (l2 && l2.type === "object") { if (l2.offset === a2) return r2; l2.properties.forEach(function(e4) { @@ -13245,15 +13245,15 @@ c3 && (b2 = i2.evaluateSeparatorAfter(e3, e3.offsetAt(d2.end))), t3 ? i2.getPropertyCompletions(t3, n2, l2, c3, b2, m2) : i2.getSchemaLessPropertyCompletions(n2, l2, u3, m2); var _2 = Ae(l2); i2.contributions.forEach(function(t4) { - var n3 = t4.collectPropertyCompletions(e3.uri, _2, h2, c3, "" === b2, m2); + var n3 = t4.collectPropertyCompletions(e3.uri, _2, h2, c3, b2 === "", m2); n3 && o2.push(n3); - }), !t3 && h2.length > 0 && '"' !== s2.charAt(a2 - h2.length - 1) && (m2.add({kind: A.Property, label: i2.getLabelForValue(h2), insertText: i2.getInsertTextForProperty(h2, void 0, false, b2), insertTextFormat: R.Snippet, documentation: ""}), m2.setAsIncomplete()); + }), !t3 && h2.length > 0 && s2.charAt(a2 - h2.length - 1) !== '"' && (m2.add({kind: A.Property, label: i2.getLabelForValue(h2), insertText: i2.getInsertTextForProperty(h2, void 0, false, b2), insertTextFormat: R.Snippet, documentation: ""}), m2.setAsIncomplete()); } var v2 = {}; return t3 ? i2.getValueCompletions(t3, n2, l2, a2, e3, m2, v2) : i2.getSchemaLessValueCompletions(n2, l2, a2, e3, m2), i2.contributions.length > 0 && i2.getContributedValueCompletions(n2, l2, a2, e3, m2, o2), i2.promiseConstructor.all(o2).then(function() { - if (0 === m2.getNumberOfProposals()) { + if (m2.getNumberOfProposals() === 0) { var t4 = a2; - !l2 || "string" !== l2.type && "number" !== l2.type && "boolean" !== l2.type && "null" !== l2.type || (t4 = l2.offset + l2.length); + !l2 || l2.type !== "string" && l2.type !== "number" && l2.type !== "boolean" && l2.type !== "null" || (t4 = l2.offset + l2.length); var n3 = i2.evaluateSeparatorAfter(e3, t4); i2.addFillerValueCompletions(v2, n3, m2); } @@ -13267,17 +13267,17 @@ var t3 = e4.schema.properties; t3 && Object.keys(t3).forEach(function(e5) { var n3 = t3[e5]; - if ("object" == typeof n3 && !n3.deprecationMessage && !n3.doNotSuggest) { + if (typeof n3 == "object" && !n3.deprecationMessage && !n3.doNotSuggest) { var a3 = {kind: A.Property, label: e5, insertText: s2.getInsertTextForProperty(e5, n3, i2, o2), insertTextFormat: R.Snippet, filterText: s2.getFilterTextForValue(e5), documentation: s2.fromMarkup(n3.markdownDescription) || n3.description || ""}; - void 0 !== n3.suggestSortText && (a3.sortText = n3.suggestSortText), a3.insertText && We(a3.insertText, "$1" + o2) && (a3.command = {title: "Suggest", command: "editor.action.triggerSuggest"}), r2.add(a3); + n3.suggestSortText !== void 0 && (a3.sortText = n3.suggestSortText), a3.insertText && We(a3.insertText, "$1" + o2) && (a3.command = {title: "Suggest", command: "editor.action.triggerSuggest"}), r2.add(a3); } }); var a2 = e4.schema.propertyNames; - if ("object" == typeof a2 && !a2.deprecationMessage && !a2.doNotSuggest) { + if (typeof a2 == "object" && !a2.deprecationMessage && !a2.doNotSuggest) { var l2 = function(e5, t4) { - void 0 === t4 && (t4 = void 0); + t4 === void 0 && (t4 = void 0); var n3 = {kind: A.Property, label: e5, insertText: s2.getInsertTextForProperty(e5, void 0, i2, o2), insertTextFormat: R.Snippet, filterText: s2.getFilterTextForValue(e5), documentation: t4 || s2.fromMarkup(a2.markdownDescription) || a2.description || ""}; - void 0 !== a2.suggestSortText && (n3.sortText = a2.suggestSortText), n3.insertText && We(n3.insertText, "$1" + o2) && (n3.command = {title: "Suggest", command: "editor.action.triggerSuggest"}), r2.add(n3); + a2.suggestSortText !== void 0 && (n3.sortText = a2.suggestSortText), n3.insertText && We(n3.insertText, "$1" + o2) && (n3.command = {title: "Suggest", command: "editor.action.triggerSuggest"}), r2.add(n3); }; if (a2.enum) for (var c2 = 0; c2 < a2.enum.length; c2++) { @@ -13296,61 +13296,61 @@ }); }; if (t2.parent) - if ("property" === t2.parent.type) { + if (t2.parent.type === "property") { var s2 = t2.parent.keyNode.value; e3.visit(function(e4) { - return "property" === e4.type && e4 !== t2.parent && e4.keyNode.value === s2 && e4.valueNode && "object" === e4.valueNode.type && r2(e4.valueNode), true; + return e4.type === "property" && e4 !== t2.parent && e4.keyNode.value === s2 && e4.valueNode && e4.valueNode.type === "object" && r2(e4.valueNode), true; }); } else - "array" === t2.parent.type && t2.parent.items.forEach(function(e4) { - "object" === e4.type && e4 !== t2 && r2(e4); + t2.parent.type === "array" && t2.parent.items.forEach(function(e4) { + e4.type === "object" && e4 !== t2 && r2(e4); }); else - "object" === t2.type && i2.add({kind: A.Property, label: "$schema", insertText: this.getInsertTextForProperty("$schema", void 0, true, ""), insertTextFormat: R.Snippet, documentation: "", filterText: this.getFilterTextForValue("$schema")}); + t2.type === "object" && i2.add({kind: A.Property, label: "$schema", insertText: this.getInsertTextForProperty("$schema", void 0, true, ""), insertTextFormat: R.Snippet, documentation: "", filterText: this.getFilterTextForValue("$schema")}); }, e2.prototype.getSchemaLessValueCompletions = function(e3, t2, n2, i2, o2) { var r2 = this, s2 = n2; - if (!t2 || "string" !== t2.type && "number" !== t2.type && "boolean" !== t2.type && "null" !== t2.type || (s2 = t2.offset + t2.length, t2 = t2.parent), !t2) + if (!t2 || t2.type !== "string" && t2.type !== "number" && t2.type !== "boolean" && t2.type !== "null" || (s2 = t2.offset + t2.length, t2 = t2.parent), !t2) return o2.add({kind: this.getSuggestionKind("object"), label: "Empty object", insertText: this.getInsertTextForValue({}, ""), insertTextFormat: R.Snippet, documentation: ""}), void o2.add({kind: this.getSuggestionKind("array"), label: "Empty array", insertText: this.getInsertTextForValue([], ""), insertTextFormat: R.Snippet, documentation: ""}); var a2 = this.evaluateSeparatorAfter(i2, s2), l2 = function(e4) { - e4.parent && !Re(e4.parent, n2, true) && o2.add({kind: r2.getSuggestionKind(e4.type), label: r2.getLabelTextForMatchingNode(e4, i2), insertText: r2.getInsertTextForMatchingNode(e4, i2, a2), insertTextFormat: R.Snippet, documentation: ""}), "boolean" === e4.type && r2.addBooleanValueCompletion(!e4.value, a2, o2); + e4.parent && !Re(e4.parent, n2, true) && o2.add({kind: r2.getSuggestionKind(e4.type), label: r2.getLabelTextForMatchingNode(e4, i2), insertText: r2.getInsertTextForMatchingNode(e4, i2, a2), insertTextFormat: R.Snippet, documentation: ""}), e4.type === "boolean" && r2.addBooleanValueCompletion(!e4.value, a2, o2); }; - if ("property" === t2.type && n2 > (t2.colonOffset || 0)) { + if (t2.type === "property" && n2 > (t2.colonOffset || 0)) { var c2 = t2.valueNode; - if (c2 && (n2 > c2.offset + c2.length || "object" === c2.type || "array" === c2.type)) + if (c2 && (n2 > c2.offset + c2.length || c2.type === "object" || c2.type === "array")) return; var d2 = t2.keyNode.value; e3.visit(function(e4) { - return "property" === e4.type && e4.keyNode.value === d2 && e4.valueNode && l2(e4.valueNode), true; - }), "$schema" === d2 && t2.parent && !t2.parent.parent && this.addDollarSchemaCompletions(a2, o2); + return e4.type === "property" && e4.keyNode.value === d2 && e4.valueNode && l2(e4.valueNode), true; + }), d2 === "$schema" && t2.parent && !t2.parent.parent && this.addDollarSchemaCompletions(a2, o2); } - if ("array" === t2.type) - if (t2.parent && "property" === t2.parent.type) { + if (t2.type === "array") + if (t2.parent && t2.parent.type === "property") { var h2 = t2.parent.keyNode.value; e3.visit(function(e4) { - return "property" === e4.type && e4.keyNode.value === h2 && e4.valueNode && "array" === e4.valueNode.type && e4.valueNode.items.forEach(l2), true; + return e4.type === "property" && e4.keyNode.value === h2 && e4.valueNode && e4.valueNode.type === "array" && e4.valueNode.items.forEach(l2), true; }); } else t2.items.forEach(l2); }, e2.prototype.getValueCompletions = function(e3, t2, n2, i2, o2, r2, s2) { var a2 = i2, l2 = void 0, c2 = void 0; - if (!n2 || "string" !== n2.type && "number" !== n2.type && "boolean" !== n2.type && "null" !== n2.type || (a2 = n2.offset + n2.length, c2 = n2, n2 = n2.parent), n2) { - if ("property" === n2.type && i2 > (n2.colonOffset || 0)) { + if (!n2 || n2.type !== "string" && n2.type !== "number" && n2.type !== "boolean" && n2.type !== "null" || (a2 = n2.offset + n2.length, c2 = n2, n2 = n2.parent), n2) { + if (n2.type === "property" && i2 > (n2.colonOffset || 0)) { var d2 = n2.valueNode; if (d2 && i2 > d2.offset + d2.length) return; l2 = n2.keyNode.value, n2 = n2.parent; } - if (n2 && (void 0 !== l2 || "array" === n2.type)) { + if (n2 && (l2 !== void 0 || n2.type === "array")) { for (var h2 = this.evaluateSeparatorAfter(o2, a2), u2 = 0, p2 = t2.getMatchingSchemas(e3.schema, n2.offset, c2); u2 < p2.length; u2++) { var m2 = p2[u2]; if (m2.node === n2 && !m2.inverted && m2.schema) { - if ("array" === n2.type && m2.schema.items) + if (n2.type === "array" && m2.schema.items) if (Array.isArray(m2.schema.items)) { var g2 = this.findItemAtOffset(n2, o2, i2); g2 < m2.schema.items.length && this.addSchemaValueCompletions(m2.schema.items[g2], h2, r2, s2); } else this.addSchemaValueCompletions(m2.schema.items, h2, r2, s2); - if (void 0 !== l2) { + if (l2 !== void 0) { var f2 = false; if (m2.schema.properties) (w2 = m2.schema.properties[l2]) && (f2 = true, this.addSchemaValueCompletions(w2, h2, r2, s2)); @@ -13370,13 +13370,13 @@ } } } - "$schema" !== l2 || n2.parent || this.addDollarSchemaCompletions(h2, r2), s2.boolean && (this.addBooleanValueCompletion(true, h2, r2), this.addBooleanValueCompletion(false, h2, r2)), s2.null && this.addNullValueCompletion(h2, r2); + l2 !== "$schema" || n2.parent || this.addDollarSchemaCompletions(h2, r2), s2.boolean && (this.addBooleanValueCompletion(true, h2, r2), this.addBooleanValueCompletion(false, h2, r2)), s2.null && this.addNullValueCompletion(h2, r2); } } else this.addSchemaValueCompletions(e3.schema, "", r2, s2); }, e2.prototype.getContributedValueCompletions = function(e3, t2, n2, i2, o2, r2) { if (t2) { - if ("string" !== t2.type && "number" !== t2.type && "boolean" !== t2.type && "null" !== t2.type || (t2 = t2.parent), t2 && "property" === t2.type && n2 > (t2.colonOffset || 0)) { + if (t2.type !== "string" && t2.type !== "number" && t2.type !== "boolean" && t2.type !== "null" || (t2 = t2.parent), t2 && t2.type === "property" && n2 > (t2.colonOffset || 0)) { var s2 = t2.keyNode.value, a2 = t2.valueNode; if ((!a2 || n2 <= a2.offset + a2.length) && t2.parent) { var l2 = Ae(t2.parent); @@ -13393,7 +13393,7 @@ }); }, e2.prototype.addSchemaValueCompletions = function(e3, t2, n2, i2) { var o2 = this; - "object" == typeof e3 && (this.addEnumValueCompletions(e3, t2, n2), this.addDefaultValueCompletions(e3, t2, n2), this.collectTypes(e3, i2), Array.isArray(e3.allOf) && e3.allOf.forEach(function(e4) { + typeof e3 == "object" && (this.addEnumValueCompletions(e3, t2, n2), this.addDefaultValueCompletions(e3, t2, n2), this.collectTypes(e3, i2), Array.isArray(e3.allOf) && e3.allOf.forEach(function(e4) { return o2.addSchemaValueCompletions(e4, t2, n2, i2); }), Array.isArray(e3.anyOf) && e3.anyOf.forEach(function(e4) { return o2.addSchemaValueCompletions(e4, t2, n2, i2); @@ -13402,7 +13402,7 @@ })); }, e2.prototype.addDefaultValueCompletions = function(e3, t2, n2, i2) { var o2 = this; - void 0 === i2 && (i2 = 0); + i2 === void 0 && (i2 = 0); var r2 = false; if (E(e3.default)) { for (var s2 = e3.type, a2 = e3.default, l2 = i2; l2 > 0; l2--) @@ -13421,7 +13421,7 @@ d2 = [d2], "array"; a3 = o2.getInsertTextForSnippetValue(d2, t2), l3 = o2.getFilterTextForSnippetValue(d2), h2 = h2 || o2.getLabelForSnippetValue(d2); } else { - if ("string" != typeof s3.bodyText) + if (typeof s3.bodyText != "string") return; var p2 = "", m2 = "", g2 = ""; for (u2 = i2; u2 > 0; u2--) @@ -13429,7 +13429,7 @@ a3 = p2 + g2 + s3.bodyText.split("\n").join("\n" + g2) + m2 + t2, h2 = h2 || a3, l3 = a3.replace(/[\n]/g, ""); } n2.add({kind: o2.getSuggestionKind(c2), label: h2, documentation: o2.fromMarkup(s3.markdownDescription) || s3.description, insertText: a3, insertTextFormat: R.Snippet, filterText: l3}), r2 = true; - }), !r2 && "object" == typeof e3.items && !Array.isArray(e3.items) && i2 < 5 && this.addDefaultValueCompletions(e3.items, t2, n2, i2 + 1); + }), !r2 && typeof e3.items == "object" && !Array.isArray(e3.items) && i2 < 5 && this.addDefaultValueCompletions(e3.items, t2, n2, i2 + 1); }, e2.prototype.addEnumValueCompletions = function(e3, t2, n2) { if (E(e3.const) && n2.add({kind: this.getSuggestionKind(e3.type), label: this.getLabelForValue(e3.const), insertText: this.getInsertTextForValue(e3.const, t2), insertTextFormat: R.Snippet, documentation: this.fromMarkup(e3.markdownDescription) || e3.description}), Array.isArray(e3.enum)) for (var i2 = 0, o2 = e3.enum.length; i2 < o2; i2++) { @@ -13452,7 +13452,7 @@ }, e2.prototype.addDollarSchemaCompletions = function(e3, t2) { var n2 = this; this.schemaService.getRegisteredSchemaIds(function(e4) { - return "http" === e4 || "https" === e4; + return e4 === "http" || e4 === "https"; }).forEach(function(i2) { return t2.add({kind: A.Module, label: n2.getLabelForValue(i2), filterText: n2.getFilterTextForValue(i2), insertText: n2.getInsertTextForValue(i2, e3), insertTextFormat: R.Snippet, documentation: ""}); }); @@ -13468,20 +13468,20 @@ return e3.replace(/[\\\$\}]/g, "\\$&"); }, e2.prototype.getInsertTextForValue = function(e3, t2) { var n2 = JSON.stringify(e3, null, " "); - return "{}" === n2 ? "{$1}" + t2 : "[]" === n2 ? "[$1]" + t2 : this.getInsertTextForPlainText(n2 + t2); + return n2 === "{}" ? "{$1}" + t2 : n2 === "[]" ? "[$1]" + t2 : this.getInsertTextForPlainText(n2 + t2); }, e2.prototype.getInsertTextForSnippetValue = function(e3, t2) { return function e4(t3, n2, i2) { - if (null !== t3 && "object" == typeof t3) { + if (t3 !== null && typeof t3 == "object") { var o2 = n2 + " "; if (Array.isArray(t3)) { - if (0 === t3.length) + if (t3.length === 0) return "[]"; for (var r2 = "[\n", s2 = 0; s2 < t3.length; s2++) r2 += o2 + e4(t3[s2], o2, i2), s2 < t3.length - 1 && (r2 += ","), r2 += "\n"; return r2 += n2 + "]"; } var a2 = Object.keys(t3); - if (0 === a2.length) + if (a2.length === 0) return "{}"; for (r2 = "{\n", s2 = 0; s2 < a2.length; s2++) { var l2 = a2[s2]; @@ -13491,12 +13491,12 @@ } return i2(t3); }(e3, "", function(e4) { - return "string" == typeof e4 && "^" === e4[0] ? e4.substr(1) : JSON.stringify(e4); + return typeof e4 == "string" && e4[0] === "^" ? e4.substr(1) : JSON.stringify(e4); }) + t2; }, e2.prototype.getInsertTextForGuessedValue = function(e3, t2) { switch (typeof e3) { case "object": - return null === e3 ? "${1:null}" + t2 : this.getInsertTextForValue(e3, t2); + return e3 === null ? "${1:null}" + t2 : this.getInsertTextForValue(e3, t2); case "string": var n2 = JSON.stringify(e3); return n2 = n2.substr(1, n2.length - 2), '"${1:' + (n2 = this.getInsertTextForPlainText(n2)) + '}"' + t2; @@ -13548,13 +13548,13 @@ var r2, s2 = o2 + ": ", a2 = 0; if (t2) { if (Array.isArray(t2.defaultSnippets)) { - if (1 === t2.defaultSnippets.length) { + if (t2.defaultSnippets.length === 1) { var l2 = t2.defaultSnippets[0].body; E(l2) && (r2 = this.getInsertTextForSnippetValue(l2, "")); } a2 += t2.defaultSnippets.length; } - if (t2.enum && (r2 || 1 !== t2.enum.length || (r2 = this.getInsertTextForGuessedValue(t2.enum[0], "")), a2 += t2.enum.length), E(t2.default) && (r2 || (r2 = this.getInsertTextForGuessedValue(t2.default, "")), a2++), Array.isArray(t2.examples) && t2.examples.length && (r2 || (r2 = this.getInsertTextForGuessedValue(t2.examples[0], "")), a2 += t2.examples.length), 0 === a2) { + if (t2.enum && (r2 || t2.enum.length !== 1 || (r2 = this.getInsertTextForGuessedValue(t2.enum[0], "")), a2 += t2.enum.length), E(t2.default) && (r2 || (r2 = this.getInsertTextForGuessedValue(t2.default, "")), a2++), Array.isArray(t2.examples) && t2.examples.length && (r2 || (r2 = this.getInsertTextForGuessedValue(t2.examples[0], "")), a2 += t2.examples.length), a2 === 0) { var c2 = Array.isArray(t2.type) ? t2.type[0] : t2.type; switch (c2 || (t2.properties ? c2 = "object" : t2.items && (c2 = "array")), c2) { case "boolean": @@ -13583,7 +13583,7 @@ } return (!r2 || a2 > 1) && (r2 = "$1"), s2 + r2 + i2; }, e2.prototype.getCurrentWord = function(e3, t2) { - for (var n2 = t2 - 1, i2 = e3.getText(); n2 >= 0 && -1 === ' \n\r\v":{[,]}'.indexOf(i2.charAt(n2)); ) + for (var n2 = t2 - 1, i2 = e3.getText(); n2 >= 0 && ' \n\r\v":{[,]}'.indexOf(i2.charAt(n2)) === -1; ) n2--; return i2.substring(n2 + 1, t2); }, e2.prototype.evaluateSeparatorAfter = function(e3, t2) { @@ -13601,7 +13601,7 @@ for (var i2 = x.a(t2.getText(), true), o2 = e3.items, r2 = o2.length - 1; r2 >= 0; r2--) { var s2 = o2[r2]; if (n2 > s2.offset + s2.length) - return i2.setPosition(s2.offset + s2.length), 5 === i2.scan() && n2 >= i2.getTokenOffset() + i2.getTokenLength() ? r2 + 1 : r2; + return i2.setPosition(s2.offset + s2.length), i2.scan() === 5 && n2 >= i2.getTokenOffset() + i2.getTokenLength() ? r2 + 1 : r2; if (n2 >= s2.offset) return r2; } @@ -13609,16 +13609,16 @@ }, e2.prototype.isInComment = function(e3, t2, n2) { var i2 = x.a(e3.getText(), false); i2.setPosition(t2); - for (var o2 = i2.scan(); 17 !== o2 && i2.getTokenOffset() + i2.getTokenLength() < n2; ) + for (var o2 = i2.scan(); o2 !== 17 && i2.getTokenOffset() + i2.getTokenLength() < n2; ) o2 = i2.scan(); - return (12 === o2 || 13 === o2) && i2.getTokenOffset() <= n2; + return (o2 === 12 || o2 === 13) && i2.getTokenOffset() <= n2; }, e2.prototype.fromMarkup = function(e3) { if (e3 && this.doesSupportMarkdown()) return {kind: O.Markdown, value: e3}; }, e2.prototype.doesSupportMarkdown = function() { if (!E(this.supportsMarkdown)) { var e3 = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.completion; - this.supportsMarkdown = e3 && e3.completionItem && Array.isArray(e3.completionItem.documentationFormat) && -1 !== e3.completionItem.documentationFormat.indexOf(O.Markdown); + this.supportsMarkdown = e3 && e3.completionItem && Array.isArray(e3.completionItem.documentationFormat) && e3.completionItem.documentationFormat.indexOf(O.Markdown) !== -1; } return this.supportsMarkdown; }, e2.prototype.doesSupportsCommitCharacters = function() { @@ -13630,16 +13630,16 @@ }, e2; }(), Ve = function() { function e2(e3, t2, n2) { - void 0 === t2 && (t2 = []), this.schemaService = e3, this.contributions = t2, this.promise = n2 || Promise; + t2 === void 0 && (t2 = []), this.schemaService = e3, this.contributions = t2, this.promise = n2 || Promise; } return e2.prototype.doHover = function(e3, t2, n2) { var i2 = e3.offsetAt(t2), r2 = n2.getNodeFromOffset(i2); - if (!r2 || ("object" === r2.type || "array" === r2.type) && i2 > r2.offset + 1 && i2 < r2.offset + r2.length - 1) + if (!r2 || (r2.type === "object" || r2.type === "array") && i2 > r2.offset + 1 && i2 < r2.offset + r2.length - 1) return this.promise.resolve(null); var s2 = r2; - if ("string" === r2.type) { + if (r2.type === "string") { var a2 = r2.parent; - if (a2 && "property" === a2.type && a2.keyNode === r2 && !(r2 = a2.valueNode)) + if (a2 && a2.type === "property" && a2.keyNode === r2 && !(r2 = a2.valueNode)) return this.promise.resolve(null); } for (var l2 = o.create(e3.positionAt(s2.offset), e3.positionAt(s2.offset + s2.length)), c2 = function(e4) { @@ -13657,13 +13657,13 @@ t3.every(function(e5) { if (e5.node === r2 && !e5.inverted && e5.schema && (i3 = i3 || e5.schema.title, o2 = o2 || e5.schema.markdownDescription || Ue(e5.schema.description), e5.schema.enum)) { var t4 = e5.schema.enum.indexOf(De(r2)); - e5.schema.markdownEnumDescriptions ? s3 = e5.schema.markdownEnumDescriptions[t4] : e5.schema.enumDescriptions && (s3 = Ue(e5.schema.enumDescriptions[t4])), s3 && "string" != typeof (a3 = e5.schema.enum[t4]) && (a3 = JSON.stringify(a3)); + e5.schema.markdownEnumDescriptions ? s3 = e5.schema.markdownEnumDescriptions[t4] : e5.schema.enumDescriptions && (s3 = Ue(e5.schema.enumDescriptions[t4])), s3 && typeof (a3 = e5.schema.enum[t4]) != "string" && (a3 = JSON.stringify(a3)); } return true; }); var l3 = ""; return i3 && (l3 = Ue(i3)), o2 && (l3.length > 0 && (l3 += "\n\n"), l3 += o2), s3 && (l3.length > 0 && (l3 += "\n\n"), l3 += "`" + function(e5) { - if (-1 !== e5.indexOf("`")) + if (e5.indexOf("`") !== -1) return "`` " + e5 + " ``"; return e5; }(a3) + "`: " + s3), c2([l3]); @@ -13681,7 +13681,7 @@ this.patternRegExps = [], this.isInclude = []; try { for (var n2 = 0, i2 = e3; n2 < i2.length; n2++) { - var o2 = i2[n2], r2 = "!" !== o2[0]; + var o2 = i2[n2], r2 = o2[0] !== "!"; r2 || (o2 = o2.substring(1)), this.patternRegExps.push(new RegExp(ze(o2) + "$")), this.isInclude.push(r2); } this.uris = t2; @@ -13712,17 +13712,17 @@ this.resolvedSchema = void 0, this.unresolvedSchema = void 0, this.dependencies = {}; }, e2; }(), Ge = function(e2, t2) { - void 0 === t2 && (t2 = []), this.schema = e2, this.errors = t2; + t2 === void 0 && (t2 = []), this.schema = e2, this.errors = t2; }, Ye = function() { function e2(e3, t2) { - void 0 === t2 && (t2 = []), this.schema = e3, this.errors = t2; + t2 === void 0 && (t2 = []), this.schema = e3, this.errors = t2; } return e2.prototype.getSection = function(e3) { var t2 = this.getSectionRecursive(e3, this.schema); if (t2) return Le(t2); }, e2.prototype.getSectionRecursive = function(e3, t2) { - if (!t2 || "boolean" == typeof t2 || 0 === e3.length) + if (!t2 || typeof t2 == "boolean" || e3.length === 0) return t2; var n2 = e3.shift(); if (t2.properties && (t2.properties[n2], 1)) @@ -13734,7 +13734,7 @@ return this.getSectionRecursive(e3, t2.patternProperties[r2]); } else { - if ("object" == typeof t2.additionalProperties) + if (typeof t2.additionalProperties == "object") return this.getSectionRecursive(e3, t2.additionalProperties); if (n2.match("[0-9]+")) { if (Array.isArray(t2.items)) { @@ -13753,7 +13753,7 @@ return e2.prototype.getRegisteredSchemaIds = function(e3) { return Object.keys(this.registeredSchemasIds).filter(function(t2) { var n2 = He.a.parse(t2).scheme; - return "schemaservice" !== n2 && (!e3 || e3(n2)); + return n2 !== "schemaservice" && (!e3 || e3(n2)); }); }, Object.defineProperty(e2.prototype, "promise", {get: function() { return this.promiseConstructor; @@ -13794,7 +13794,7 @@ var i2 = Qe(e3); return this.registeredSchemasIds[i2] = true, this.cachedSchemaForResource = void 0, t2 && this.addFilePatternAssociation(t2, [e3]), n2 ? this.addSchemaHandle(i2, n2) : this.getOrAddSchemaHandle(i2); }, e2.prototype.clearExternalSchemas = function() { - for (var e3 in (this.schemasById = {}, this.filePatternAssociations = [], this.registeredSchemasIds = {}, this.cachedSchemaForResource = void 0, this.contributionSchemas)) + for (var e3 in this.schemasById = {}, this.filePatternAssociations = [], this.registeredSchemasIds = {}, this.cachedSchemaForResource = void 0, this.contributionSchemas) this.schemasById[e3] = this.contributionSchemas[e3], this.registeredSchemasIds[e3] = true; for (var t2 = 0, n2 = this.contributionAssociations; t2 < n2.length; t2++) { var i2 = n2[t2]; @@ -13825,16 +13825,16 @@ var i2 = this, o2 = e3.errors.slice(0), r2 = e3.schema; if (r2.$schema) { var s2 = Qe(r2.$schema); - if ("http://json-schema.org/draft-03/schema" === s2) + if (s2 === "http://json-schema.org/draft-03/schema") return this.promise.resolve(new Ye({}, [qe("json.schema.draft03.notsupported", "Draft-03 schemas are not supported.")])); - "https://json-schema.org/draft/2019-09/schema" === s2 && o2.push(qe("json.schema.draft201909.notsupported", "Draft 2019-09 schemas are not yet fully supported.")); + s2 === "https://json-schema.org/draft/2019-09/schema" && o2.push(qe("json.schema.draft201909.notsupported", "Draft 2019-09 schemas are not yet fully supported.")); } var a2 = this.contextService, l2 = function(e4, t3, n3, i3) { var r3 = i3 ? decodeURIComponent(i3) : void 0, s3 = function(e5, t4) { if (!t4) return e5; var n4 = e5; - return "/" === t4[0] && (t4 = t4.substr(1)), t4.split("/").some(function(e6) { + return t4[0] === "/" && (t4 = t4.substr(1)), t4.split("/").some(function(e6) { return !(n4 = n4[e6]); }), n4; }(t3, r3); @@ -13854,31 +13854,31 @@ return l2(e4, i3.schema, t3, n3), d2(e4, i3.schema, t3, c3.dependencies); }); }, d2 = function(e4, t3, n3, o3) { - if (!e4 || "object" != typeof e4) + if (!e4 || typeof e4 != "object") return Promise.resolve(null); for (var r3 = [e4], s3 = [], a3 = [], d3 = function(e5) { for (var i3 = []; e5.$ref; ) { var s4 = e5.$ref, d4 = s4.split("#", 2); if (delete e5.$ref, d4[0].length > 0) return void a3.push(c2(e5, d4[0], d4[1], n3, o3)); - -1 === i3.indexOf(s4) && (l2(e5, t3, n3, d4[1]), i3.push(s4)); + i3.indexOf(s4) === -1 && (l2(e5, t3, n3, d4[1]), i3.push(s4)); } !function() { for (var e6 = [], t4 = 0; t4 < arguments.length; t4++) e6[t4] = arguments[t4]; for (var n4 = 0, i4 = e6; n4 < i4.length; n4++) { var o4 = i4[n4]; - "object" == typeof o4 && r3.push(o4); + typeof o4 == "object" && r3.push(o4); } }(e5.items, e5.additionalItems, e5.additionalProperties, e5.not, e5.contains, e5.propertyNames, e5.if, e5.then, e5.else), function() { for (var e6 = [], t4 = 0; t4 < arguments.length; t4++) e6[t4] = arguments[t4]; for (var n4 = 0, i4 = e6; n4 < i4.length; n4++) { var o4 = i4[n4]; - if ("object" == typeof o4) + if (typeof o4 == "object") for (var s5 in o4) { var a4 = s5, l3 = o4[a4]; - "object" == typeof l3 && r3.push(l3); + typeof l3 == "object" && r3.push(l3); } } }(e5.definitions, e5.properties, e5.patternProperties, e5.dependencies), function() { @@ -13889,7 +13889,7 @@ if (Array.isArray(o4)) for (var s5 = 0, a4 = o4; s5 < a4.length; s5++) { var l3 = a4[s5]; - "object" == typeof l3 && r3.push(l3); + typeof l3 == "object" && r3.push(l3); } } }(e5.anyOf, e5.allOf, e5.oneOf, e5.items); @@ -13903,13 +13903,13 @@ return new Ye(r2, o2); }); }, e2.prototype.getSchemaForResource = function(e3, t2) { - if (t2 && t2.root && "object" === t2.root.type) { + if (t2 && t2.root && t2.root.type === "object") { var n2 = t2.root.properties.filter(function(e4) { - return "$schema" === e4.keyNode.value && e4.valueNode && "string" === e4.valueNode.type; + return e4.keyNode.value === "$schema" && e4.valueNode && e4.valueNode.type === "string"; }); if (n2.length > 0) { var i2 = n2[0].valueNode; - if (i2 && "string" === i2.type) { + if (i2 && i2.type === "string") { var o2 = De(i2); if (o2 && function(e4, t3) { if (e4.length < t3.length) @@ -13938,7 +13938,7 @@ var m2 = a2.length > 0 ? this.createCombinedSchema(e3, a2).getResolvedSchema() : this.promise.resolve(void 0); return this.cachedSchemaForResource = {resource: e3, resolvedSchema: m2}, m2; }, e2.prototype.createCombinedSchema = function(e3, t2) { - if (1 === t2.length) + if (t2.length === 1) return this.getOrAddSchemaHandle(t2[0]); var n2 = "schemaservice://combinedSchema/" + encodeURIComponent(e3), i2 = {allOf: t2.map(function(e4) { return {$ref: e4}; @@ -13970,7 +13970,7 @@ function Je(e2) { try { var t2 = He.a.parse(e2); - if ("file" === t2.scheme) + if (t2.scheme === "file") return t2.fsPath; } catch (e3) { } @@ -13993,8 +13993,8 @@ var a3 = n2 ? it(n2.trailingCommas) : p.Error, c3 = n2 ? it(n2.comments) : r2.commentSeverity; if (i3) { if (i3.errors.length && t2.root) { - var d3 = t2.root, h2 = "object" === d3.type ? d3.properties[0] : void 0; - if (h2 && "$schema" === h2.keyNode.value) { + var d3 = t2.root, h2 = d3.type === "object" ? d3.properties[0] : void 0; + if (h2 && h2.keyNode.value === "$schema") { var u2 = h2.valueNode || h2, m2 = o.create(e3.positionAt(u2.offset), e3.positionAt(u2.offset + u2.length)); l2(g.create(m2, i3.errors[0], p.Warning, se.SchemaResolveError)); } else { @@ -14006,7 +14006,7 @@ f2 && f2.forEach(l2); } (function e4(t3) { - if (t3 && "object" == typeof t3) { + if (t3 && typeof t3 == "object") { if (T(t3.allowComments)) return t3.allowComments; if (t3.allOf) @@ -14018,7 +14018,7 @@ } return; })(i3.schema) && (c3 = void 0), function e4(t3) { - if (t3 && "object" == typeof t3) { + if (t3 && typeof t3 == "object") { if (T(t3.allowTrailingCommas)) return t3.allowTrailingCommas; var n3 = t3; @@ -14037,13 +14037,13 @@ for (var b2 = 0, _2 = t2.syntaxErrors; b2 < _2.length; b2++) { var v2 = _2[b2]; if (v2.code === se.TrailingComma) { - if ("number" != typeof a3) + if (typeof a3 != "number") continue; v2.severity = a3; } l2(v2); } - if ("number" == typeof c3) { + if (typeof c3 == "number") { var w2 = et("InvalidCommentToken", "Comments are not permitted in JSON."); t2.comments.forEach(function(e4) { l2(g.create(e4, w2, c3, se.CommentNotPermitted)); @@ -14076,7 +14076,7 @@ return e2 < 48 ? 0 : e2 <= 57 ? e2 - 48 : (e2 < 97 && (e2 += 32), e2 >= 97 && e2 <= 102 ? e2 - 97 + 10 : 0); } function rt(e2) { - if ("#" === e2[0]) + if (e2[0] === "#") switch (e2.length) { case 4: return {red: 17 * ot(e2.charCodeAt(1)) / 255, green: 17 * ot(e2.charCodeAt(2)) / 255, blue: 17 * ot(e2.charCodeAt(3)) / 255, alpha: 1}; @@ -14094,18 +14094,18 @@ } return e2.prototype.findDocumentSymbols = function(e3, t2, n2) { var i2 = this; - void 0 === n2 && (n2 = {resultLimit: Number.MAX_VALUE}); + n2 === void 0 && (n2 = {resultLimit: Number.MAX_VALUE}); var o2 = t2.root; if (!o2) return []; var s2 = n2.resultLimit || Number.MAX_VALUE, a2 = e3.uri; - if (("vscode://defaultsettings/keybindings.json" === a2 || We(a2.toLowerCase(), "/user/keybindings.json")) && "array" === o2.type) { + if ((a2 === "vscode://defaultsettings/keybindings.json" || We(a2.toLowerCase(), "/user/keybindings.json")) && o2.type === "array") { for (var l2 = [], c2 = 0, d2 = o2.items; c2 < d2.length; c2++) { var h2 = d2[c2]; - if ("object" === h2.type) + if (h2.type === "object") for (var u2 = 0, p2 = h2.properties; u2 < p2.length; u2++) { var m2 = p2[u2]; - if ("key" === m2.keyNode.value && m2.valueNode) { + if (m2.keyNode.value === "key" && m2.valueNode) { var g2 = r.create(e3.uri, at(e3, h2)); if (l2.push({name: De(m2.valueNode), kind: H.Function, location: g2}), --s2 <= 0) return n2 && n2.onResultLimitExceeded && n2.onResultLimitExceeded(a2), l2; @@ -14115,9 +14115,9 @@ return l2; } for (var f2 = [{node: o2, containerName: ""}], b2 = 0, _2 = false, v2 = [], w2 = function(t3, n3) { - "array" === t3.type ? t3.items.forEach(function(e4) { + t3.type === "array" ? t3.items.forEach(function(e4) { e4 && f2.push({node: e4, containerName: n3}); - }) : "object" === t3.type && t3.properties.forEach(function(t4) { + }) : t3.type === "object" && t3.properties.forEach(function(t4) { var o3 = t4.valueNode; if (o3) if (s2 > 0) { @@ -14134,18 +14134,18 @@ return _2 && n2 && n2.onResultLimitExceeded && n2.onResultLimitExceeded(a2), v2; }, e2.prototype.findDocumentSymbols2 = function(e3, t2, n2) { var i2 = this; - void 0 === n2 && (n2 = {resultLimit: Number.MAX_VALUE}); + n2 === void 0 && (n2 = {resultLimit: Number.MAX_VALUE}); var o2 = t2.root; if (!o2) return []; var r2 = n2.resultLimit || Number.MAX_VALUE, s2 = e3.uri; - if (("vscode://defaultsettings/keybindings.json" === s2 || We(s2.toLowerCase(), "/user/keybindings.json")) && "array" === o2.type) { + if ((s2 === "vscode://defaultsettings/keybindings.json" || We(s2.toLowerCase(), "/user/keybindings.json")) && o2.type === "array") { for (var a2 = [], l2 = 0, c2 = o2.items; l2 < c2.length; l2++) { var d2 = c2[l2]; - if ("object" === d2.type) + if (d2.type === "object") for (var h2 = 0, u2 = d2.properties; h2 < u2.length; h2++) { var p2 = u2[h2]; - if ("key" === p2.keyNode.value && p2.valueNode) { + if (p2.keyNode.value === "key" && p2.valueNode) { var m2 = at(e3, d2), g2 = at(e3, p2.keyNode); if (a2.push({name: De(p2.valueNode), kind: H.Function, range: m2, selectionRange: g2}), --r2 <= 0) return n2 && n2.onResultLimitExceeded && n2.onResultLimitExceeded(s2), a2; @@ -14155,7 +14155,7 @@ return a2; } for (var f2 = [], b2 = [{node: o2, result: f2}], _2 = 0, v2 = false, w2 = function(t3, n3) { - "array" === t3.type ? t3.items.forEach(function(t4, o3) { + t3.type === "array" ? t3.items.forEach(function(t4, o3) { if (t4) if (r2 > 0) { r2--; @@ -14163,7 +14163,7 @@ n3.push(l3), b2.push({result: l3.children, node: t4}); } else v2 = true; - }) : "object" === t3.type && t3.properties.forEach(function(t4) { + }) : t3.type === "object" && t3.properties.forEach(function(t4) { var o3 = t4.valueNode; if (o3) if (r2 > 0) { @@ -14195,14 +14195,14 @@ } }, e2.prototype.getKeyLabel = function(e3) { var t2 = e3.keyNode.value; - return t2 && (t2 = t2.replace(/[\n]/g, "↵")), t2 && t2.trim() ? t2 : '"' + t2 + '"'; + return t2 && (t2 = t2.replace(/[\n]/g, "\u21B5")), t2 && t2.trim() ? t2 : '"' + t2 + '"'; }, e2.prototype.findDocumentColors = function(e3, t2, n2) { return this.schemaService.getSchemaForResource(e3.uri, t2).then(function(i2) { var o2 = []; if (i2) - for (var r2 = n2 && "number" == typeof n2.resultLimit ? n2.resultLimit : Number.MAX_VALUE, s2 = {}, a2 = 0, l2 = t2.getMatchingSchemas(i2.schema); a2 < l2.length; a2++) { + for (var r2 = n2 && typeof n2.resultLimit == "number" ? n2.resultLimit : Number.MAX_VALUE, s2 = {}, a2 = 0, l2 = t2.getMatchingSchemas(i2.schema); a2 < l2.length; a2++) { var c2 = l2[a2]; - if (!c2.inverted && c2.schema && ("color" === c2.schema.format || "color-hex" === c2.schema.format) && c2.node && "string" === c2.node.type) { + if (!c2.inverted && c2.schema && (c2.schema.format === "color" || c2.schema.format === "color-hex") && c2.node && c2.node.type === "string") { var d2 = String(c2.node.offset); if (!s2[d2]) { var h2 = rt(De(c2.node)); @@ -14221,9 +14221,9 @@ var o2, r2 = [], s2 = Math.round(255 * n2.red), a2 = Math.round(255 * n2.green), l2 = Math.round(255 * n2.blue); function c2(e4) { var t3 = e4.toString(16); - return 2 !== t3.length ? "0" + t3 : t3; + return t3.length !== 2 ? "0" + t3 : t3; } - return o2 = 1 === n2.alpha ? "#" + c2(s2) + c2(a2) + c2(l2) : "#" + c2(s2) + c2(a2) + c2(l2) + c2(Math.round(255 * n2.alpha)), r2.push({label: o2, textEdit: b.replace(i2, JSON.stringify(o2))}), r2; + return o2 = n2.alpha === 1 ? "#" + c2(s2) + c2(a2) + c2(l2) : "#" + c2(s2) + c2(a2) + c2(l2) + c2(Math.round(255 * n2.alpha)), r2.push({label: o2, textEdit: b.replace(i2, JSON.stringify(o2))}), r2; }, e2; }(); function at(e2, t2) { @@ -14234,7 +14234,7 @@ var ut = ct.schemas[ht]; for (var pt in ut.properties) { var mt = ut.properties[pt]; - "boolean" == typeof mt && (mt = ut.properties[pt] = {}); + typeof mt == "boolean" && (mt = ut.properties[pt] = {}); var gt = dt[pt]; gt ? mt.description = gt : console.log(pt + ": localize('schema.json." + pt + `', "")`); } @@ -14244,16 +14244,16 @@ function c2(e3) { n2.push(e3), o2.push(r2.length); } - for (; 17 !== l2; ) { + for (; l2 !== 17; ) { switch (l2) { case 1: case 3: - var h2 = {startLine: m2 = e2.positionAt(a2.getTokenOffset()).line, endLine: m2, kind: 1 === l2 ? "object" : "array"}; + var h2 = {startLine: m2 = e2.positionAt(a2.getTokenOffset()).line, endLine: m2, kind: l2 === 1 ? "object" : "array"}; r2.push(h2); break; case 2: case 4: - var u2 = 2 === l2 ? "object" : "array"; + var u2 = l2 === 2 ? "object" : "array"; if (r2.length > 0 && r2[r2.length - 1].kind === u2) { h2 = r2.pop(); var p2 = e2.positionAt(a2.getTokenOffset()).line; @@ -14262,7 +14262,7 @@ break; case 13: var m2 = e2.positionAt(a2.getTokenOffset()).line, g2 = e2.positionAt(a2.getTokenOffset() + a2.getTokenLength()).line; - 1 === a2.getTokenError() && m2 + 1 < e2.lineCount ? a2.setPosition(e2.offsetAt(i.create(m2 + 1, 0))) : m2 < g2 && (c2({startLine: m2, endLine: g2, kind: d.Comment}), s2 = m2); + a2.getTokenError() === 1 && m2 + 1 < e2.lineCount ? a2.setPosition(e2.offsetAt(i.create(m2 + 1, 0))) : m2 < g2 && (c2({startLine: m2, endLine: g2, kind: d.Comment}), s2 = m2); break; case 12: var f2 = e2.getText().substr(a2.getTokenOffset(), a2.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/); @@ -14284,7 +14284,7 @@ l2 = a2.scan(); } var _2 = t2 && t2.rangeLimit; - if ("number" != typeof _2 || n2.length <= _2) + if (typeof _2 != "number" || n2.length <= _2) return n2; t2 && t2.onRangeLimitExceeded && t2.onRangeLimitExceeded(e2.uri); for (var v2 = [], w2 = 0, y2 = o2; w2 < y2.length; w2++) { @@ -14304,7 +14304,7 @@ var E2 = []; for (b2 = 0; b2 < n2.length; b2++) { var T2; - "number" == typeof (T2 = o2[b2]) && (T2 < S2 || T2 === S2 && C2++ < _2) && E2.push(n2[b2]); + typeof (T2 = o2[b2]) == "number" && (T2 < S2 || T2 === S2 && C2++ < _2) && E2.push(n2[b2]); } return E2; } @@ -14331,9 +14331,9 @@ case "property": l2.push(i2(a2.offset, a2.offset + a2.length)); } - if ("property" === a2.type || a2.parent && "array" === a2.parent.type) { + if (a2.type === "property" || a2.parent && a2.parent.type === "array") { var h2 = s2(a2.offset + a2.length, 5); - -1 !== h2 && l2.push(i2(a2.offset, h2)); + h2 !== -1 && l2.push(i2(a2.offset, h2)); } a2 = a2.parent; } @@ -14345,14 +14345,14 @@ function _t(e2, t2, n2) { var i2 = e2.offsetAt(t2), o2 = n2.getNodeFromOffset(i2, true); if (!o2 || !function(e3) { - return "string" === e3.type && e3.parent && "property" === e3.parent.type && e3.parent.valueNode === e3 && "$ref" === e3.parent.keyNode.value || false; + return e3.type === "string" && e3.parent && e3.parent.type === "property" && e3.parent.valueNode === e3 && e3.parent.keyNode.value === "$ref" || false; }(o2)) return Promise.resolve([]); var r2 = o2.parent.valueNode, s2 = function(e3, t3) { var n3 = function(e4) { - if ("#" === e4) + if (e4 === "#") return []; - if ("#" !== e4[0] || "/" !== e4[1]) + if (e4[0] !== "#" || e4[1] !== "/") return null; return e4.substring(2).split(/\//).map(wt); }(t3); @@ -14361,16 +14361,16 @@ return function e4(t4, n4) { if (!n4) return null; - if (0 === t4.length) + if (t4.length === 0) return n4; var i3 = t4.shift(); - if (n4 && "object" === n4.type) { + if (n4 && n4.type === "object") { var o3 = n4.properties.find(function(e5) { return e5.keyNode.value === i3; }); return o3 ? e4(t4, o3.valueNode) : null; } - if (n4 && "array" === n4.type && i3.match(/^(0|[1-9][0-9]*)$/)) { + if (n4 && n4.type === "array" && i3.match(/^(0|[1-9][0-9]*)$/)) { var r3 = Number.parseInt(i3), s3 = n4.items[r3]; return s3 ? e4(t4, s3) : null; } @@ -14402,7 +14402,7 @@ return Fe(e3, {collectComments: true}); }, newJSONDocument: function(e3, t3) { return function(e4, t4) { - return void 0 === t4 && (t4 = []), new Me(e4, t4, []); + return t4 === void 0 && (t4 = []), new Me(e4, t4, []); }(e3, t3); }, getMatchingSchemas: n2.getMatchingSchemas.bind(n2), doResolve: i2.doResolve.bind(i2), doComplete: i2.doComplete.bind(i2), findDocumentSymbols: s2.findDocumentSymbols.bind(s2), findDocumentSymbols2: s2.findDocumentSymbols2.bind(s2), findColorSymbols: function(e3, t3) { return s2.findDocumentColors(e3, t3).then(function(e4) { @@ -14434,7 +14434,7 @@ const t2 = e2.__electricCharacterSupport.docComment; this._autoClosingPairs.push(new a.b({open: t2.open, close: t2.close || ""})); } - this._autoCloseBefore = "string" == typeof e2.autoCloseBefore ? e2.autoCloseBefore : c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED, this._surroundingPairs = e2.surroundingPairs || this._autoClosingPairs; + this._autoCloseBefore = typeof e2.autoCloseBefore == "string" ? e2.autoCloseBefore : c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED, this._surroundingPairs = e2.surroundingPairs || this._autoClosingPairs; } getAutoClosingPairs() { return this._autoClosingPairs; @@ -14443,7 +14443,7 @@ return this._autoCloseBefore; } static shouldAutoClosePair(e2, t2, n2) { - if (0 === t2.getTokenCount()) + if (t2.getTokenCount() === 0) return true; const i2 = t2.findTokenIndexAtOffset(n2 - 2), o2 = t2.getStandardTokenType(i2); return e2.isOK(o2); @@ -14469,7 +14469,7 @@ return e2 = e2.filter((e3, t2, n2) => n2.indexOf(e3) === t2), e2; } onElectricCharacter(e2, t2, n2) { - if (!this._richEditBrackets || 0 === this._richEditBrackets.brackets.length) + if (!this._richEditBrackets || this._richEditBrackets.brackets.length === 0) return null; const i2 = t2.findTokenIndexAtOffset(n2 - 1); if (Object(l.b)(t2.getStandardTokenType(i2))) @@ -14657,7 +14657,7 @@ if (e2.getLanguageIdAtPosition(o2, 0) !== i2) return r2; let t3 = e2.getLineContent(o2); - if (!n2.shouldIgnore(t3) && !/^\s+$/.test(t3) && "" !== t3) + if (!n2.shouldIgnore(t3) && !/^\s+$/.test(t3) && t3 !== "") return o2; r2 = o2; } @@ -14683,7 +14683,7 @@ if (o2.shouldDecrease(l2)) return {indentation: r.z(l2), action: null, line: s2}; { - if (1 === s2) + if (s2 === 1) return {indentation: r.z(t2.getLineContent(s2)), action: null, line: s2}; const e3 = s2 - 1, n3 = o2.getIndentMetadata(t2.getLineContent(e3)); if (!(3 & n3) && 4 & n3) { @@ -14728,7 +14728,7 @@ const c2 = this.getInheritIndentForLine(e2, t2, i2), d2 = t2.getLineContent(i2); if (c2) { const n3 = c2.line; - if (void 0 !== n3) { + if (n3 !== void 0) { const i3 = s2.onEnter(e2, "", t2.getLineContent(n3), ""); if (i3) { let e3 = r.z(t2.getLineContent(n3)); @@ -14799,7 +14799,7 @@ l2 = this.getScopedLineTokens(t2, n2.endLineNumber, n2.endColumn).getLineContent().substr(n2.endColumn - 1 - i2.firstCharOffset); } let c2 = ""; - if (n2.startLineNumber > 1 && 0 === i2.firstCharOffset) { + if (n2.startLineNumber > 1 && i2.firstCharOffset === 0) { const e3 = this.getScopedLineTokens(t2, n2.startLineNumber - 1); e3.languageId === i2.languageId && (c2 = e3.getLineContent()); } @@ -14820,7 +14820,7 @@ } getScopedLineTokens(e2, t2, n2) { e2.forceTokenization(t2); - const i2 = e2.getLineTokens(t2), o2 = void 0 === n2 ? e2.getLineMaxColumn(t2) - 1 : n2 - 1; + const i2 = e2.getLineTokens(t2), o2 = n2 === void 0 ? e2.getLineMaxColumn(t2) - 1 : n2 - 1; return Object(l.a)(i2, o2); } getBracketsSupport(e2) { @@ -14996,21 +14996,21 @@ class o extends Error { constructor(e2, t2, n2) { let i2; - "string" == typeof t2 && 0 === t2.indexOf("not ") ? (i2 = "must not be", t2 = t2.replace(/^not /, "")) : i2 = "must be"; - const o2 = -1 !== e2.indexOf(".") ? "property" : "argument"; + typeof t2 == "string" && t2.indexOf("not ") === 0 ? (i2 = "must not be", t2 = t2.replace(/^not /, "")) : i2 = "must be"; + const o2 = e2.indexOf(".") !== -1 ? "property" : "argument"; let r2 = `The "${e2}" ${o2} ${i2} of type ${t2}`; r2 += ". Received type " + typeof n2, super(r2), this.code = "ERR_INVALID_ARG_TYPE"; } } function r(e2, t2) { - if ("string" != typeof e2) + if (typeof e2 != "string") throw new o(t2, "string", e2); } function s(e2) { - return 47 === e2 || 92 === e2; + return e2 === 47 || e2 === 92; } function a(e2) { - return 47 === e2; + return e2 === 47; } function l(e2) { return e2 >= 65 && e2 <= 90 || e2 >= 97 && e2 <= 122; @@ -15026,16 +15026,16 @@ l2 = 47; } if (i2(l2)) { - if (s2 === c2 - 1 || 1 === a2) + if (s2 === c2 - 1 || a2 === 1) ; - else if (2 === a2) { - if (o2.length < 2 || 2 !== r2 || 46 !== o2.charCodeAt(o2.length - 1) || 46 !== o2.charCodeAt(o2.length - 2)) { + else if (a2 === 2) { + if (o2.length < 2 || r2 !== 2 || o2.charCodeAt(o2.length - 1) !== 46 || o2.charCodeAt(o2.length - 2) !== 46) { if (o2.length > 2) { const e3 = o2.lastIndexOf(n2); - -1 === e3 ? (o2 = "", r2 = 0) : (o2 = o2.slice(0, e3), r2 = o2.length - 1 - o2.lastIndexOf(n2)), s2 = c2, a2 = 0; + e3 === -1 ? (o2 = "", r2 = 0) : (o2 = o2.slice(0, e3), r2 = o2.length - 1 - o2.lastIndexOf(n2)), s2 = c2, a2 = 0; continue; } - if (0 !== o2.length) { + if (o2.length !== 0) { o2 = "", r2 = 0, s2 = c2, a2 = 0; continue; } @@ -15045,12 +15045,12 @@ o2.length > 0 ? o2 += `${n2}${e2.slice(s2 + 1, c2)}` : o2 = e2.slice(s2 + 1, c2), r2 = c2 - s2 - 1; s2 = c2, a2 = 0; } else - 46 === l2 && -1 !== a2 ? ++a2 : a2 = -1; + l2 === 46 && a2 !== -1 ? ++a2 : a2 = -1; } return o2; } function d(e2, t2) { - if (null === t2 || "object" != typeof t2) + if (t2 === null || typeof t2 != "object") throw new o("pathObject", "Object", t2); const n2 = t2.dir || t2.root, i2 = t2.base || `${t2.name || ""}${t2.ext || ""}`; return n2 ? n2 === t2.root ? `${n2}${i2}` : `${n2}${e2}${i2}` : i2; @@ -15060,14 +15060,14 @@ for (let a2 = e2.length - 1; a2 >= -1; a2--) { let c2; if (a2 >= 0) { - if (c2 = e2[a2], r(c2, "path"), 0 === c2.length) + if (c2 = e2[a2], r(c2, "path"), c2.length === 0) continue; } else - 0 === t2.length ? c2 = i.a() : (c2 = i.b["=" + t2] || i.a(), (void 0 === c2 || c2.slice(0, 2).toLowerCase() !== t2.toLowerCase() && 92 === c2.charCodeAt(2)) && (c2 = t2 + "\\")); + t2.length === 0 ? c2 = i.a() : (c2 = i.b["=" + t2] || i.a(), (c2 === void 0 || c2.slice(0, 2).toLowerCase() !== t2.toLowerCase() && c2.charCodeAt(2) === 92) && (c2 = t2 + "\\")); const d2 = c2.length; let h2 = 0, u2 = "", p2 = false; const m2 = c2.charCodeAt(0); - if (1 === d2) + if (d2 === 1) s(m2) && (h2 = 1, p2 = true); else if (s(m2)) if (p2 = true, s(c2.charCodeAt(1))) { @@ -15087,7 +15087,7 @@ } else h2 = 1; else - l(m2) && 58 === c2.charCodeAt(1) && (u2 = c2.slice(0, 2), h2 = 2, d2 > 2 && s(c2.charCodeAt(2)) && (p2 = true, h2 = 3)); + l(m2) && c2.charCodeAt(1) === 58 && (u2 = c2.slice(0, 2), h2 = 2, d2 > 2 && s(c2.charCodeAt(2)) && (p2 = true, h2 = 3)); if (u2.length > 0) if (t2.length > 0) { if (u2.toLowerCase() !== t2.toLowerCase()) @@ -15104,11 +15104,11 @@ }, normalize(e2) { r(e2, "path"); const t2 = e2.length; - if (0 === t2) + if (t2 === 0) return "."; let n2, i2 = 0, o2 = false; const d2 = e2.charCodeAt(0); - if (1 === t2) + if (t2 === 1) return a(d2) ? "\\" : e2; if (s(d2)) if (o2 = true, s(e2.charCodeAt(1))) { @@ -15130,28 +15130,28 @@ } else i2 = 1; else - l(d2) && 58 === e2.charCodeAt(1) && (n2 = e2.slice(0, 2), i2 = 2, t2 > 2 && s(e2.charCodeAt(2)) && (o2 = true, i2 = 3)); + l(d2) && e2.charCodeAt(1) === 58 && (n2 = e2.slice(0, 2), i2 = 2, t2 > 2 && s(e2.charCodeAt(2)) && (o2 = true, i2 = 3)); let h2 = i2 < t2 ? c(e2.slice(i2), !o2, "\\", s) : ""; - return 0 !== h2.length || o2 || (h2 = "."), h2.length > 0 && s(e2.charCodeAt(t2 - 1)) && (h2 += "\\"), void 0 === n2 ? o2 ? "\\" + h2 : h2 : o2 ? `${n2}\\${h2}` : `${n2}${h2}`; + return h2.length !== 0 || o2 || (h2 = "."), h2.length > 0 && s(e2.charCodeAt(t2 - 1)) && (h2 += "\\"), n2 === void 0 ? o2 ? "\\" + h2 : h2 : o2 ? `${n2}\\${h2}` : `${n2}${h2}`; }, isAbsolute(e2) { r(e2, "path"); const t2 = e2.length; - if (0 === t2) + if (t2 === 0) return false; const n2 = e2.charCodeAt(0); - return s(n2) || t2 > 2 && l(n2) && 58 === e2.charCodeAt(1) && s(e2.charCodeAt(2)); + return s(n2) || t2 > 2 && l(n2) && e2.charCodeAt(1) === 58 && s(e2.charCodeAt(2)); }, join(...e2) { - if (0 === e2.length) + if (e2.length === 0) return "."; let t2, n2; for (let i3 = 0; i3 < e2.length; ++i3) { const o3 = e2[i3]; - r(o3, "path"), o3.length > 0 && (void 0 === t2 ? t2 = n2 = o3 : t2 += "\\" + o3); + r(o3, "path"), o3.length > 0 && (t2 === void 0 ? t2 = n2 = o3 : t2 += "\\" + o3); } - if (void 0 === t2) + if (t2 === void 0) return "."; let i2 = true, o2 = 0; - if ("string" == typeof n2 && s(n2.charCodeAt(0))) { + if (typeof n2 == "string" && s(n2.charCodeAt(0))) { ++o2; const e3 = n2.length; e3 > 1 && s(n2.charCodeAt(1)) && (++o2, e3 > 2 && (s(n2.charCodeAt(2)) ? ++o2 : i2 = false)); @@ -15171,17 +15171,17 @@ if ((e2 = n2.toLowerCase()) === (t2 = i2.toLowerCase())) return ""; let o2 = 0; - for (; o2 < e2.length && 92 === e2.charCodeAt(o2); ) + for (; o2 < e2.length && e2.charCodeAt(o2) === 92; ) o2++; let s2 = e2.length; - for (; s2 - 1 > o2 && 92 === e2.charCodeAt(s2 - 1); ) + for (; s2 - 1 > o2 && e2.charCodeAt(s2 - 1) === 92; ) s2--; const a2 = s2 - o2; let l2 = 0; - for (; l2 < t2.length && 92 === t2.charCodeAt(l2); ) + for (; l2 < t2.length && t2.charCodeAt(l2) === 92; ) l2++; let c2 = t2.length; - for (; c2 - 1 > l2 && 92 === t2.charCodeAt(c2 - 1); ) + for (; c2 - 1 > l2 && t2.charCodeAt(c2 - 1) === 92; ) c2--; const d2 = c2 - l2, u2 = a2 < d2 ? a2 : d2; let p2 = -1, m2 = 0; @@ -15189,49 +15189,49 @@ const n3 = e2.charCodeAt(o2 + m2); if (n3 !== t2.charCodeAt(l2 + m2)) break; - 92 === n3 && (p2 = m2); + n3 === 92 && (p2 = m2); } if (m2 !== u2) { - if (-1 === p2) + if (p2 === -1) return i2; } else { if (d2 > u2) { - if (92 === t2.charCodeAt(l2 + m2)) + if (t2.charCodeAt(l2 + m2) === 92) return i2.slice(l2 + m2 + 1); - if (2 === m2) + if (m2 === 2) return i2.slice(l2 + m2); } - a2 > u2 && (92 === e2.charCodeAt(o2 + m2) ? p2 = m2 : 2 === m2 && (p2 = 3)), -1 === p2 && (p2 = 0); + a2 > u2 && (e2.charCodeAt(o2 + m2) === 92 ? p2 = m2 : m2 === 2 && (p2 = 3)), p2 === -1 && (p2 = 0); } let g2 = ""; for (m2 = o2 + p2 + 1; m2 <= s2; ++m2) - m2 !== s2 && 92 !== e2.charCodeAt(m2) || (g2 += 0 === g2.length ? ".." : "\\.."); - return l2 += p2, g2.length > 0 ? `${g2}${i2.slice(l2, c2)}` : (92 === i2.charCodeAt(l2) && ++l2, i2.slice(l2, c2)); + m2 !== s2 && e2.charCodeAt(m2) !== 92 || (g2 += g2.length === 0 ? ".." : "\\.."); + return l2 += p2, g2.length > 0 ? `${g2}${i2.slice(l2, c2)}` : (i2.charCodeAt(l2) === 92 && ++l2, i2.slice(l2, c2)); }, toNamespacedPath(e2) { - if ("string" != typeof e2) + if (typeof e2 != "string") return e2; - if (0 === e2.length) + if (e2.length === 0) return ""; const t2 = h.resolve(e2); if (t2.length <= 2) return e2; - if (92 === t2.charCodeAt(0)) { - if (92 === t2.charCodeAt(1)) { + if (t2.charCodeAt(0) === 92) { + if (t2.charCodeAt(1) === 92) { const e3 = t2.charCodeAt(2); - if (63 !== e3 && 46 !== e3) + if (e3 !== 63 && e3 !== 46) return "\\\\?\\UNC\\" + t2.slice(2); } - } else if (l(t2.charCodeAt(0)) && 58 === t2.charCodeAt(1) && 92 === t2.charCodeAt(2)) + } else if (l(t2.charCodeAt(0)) && t2.charCodeAt(1) === 58 && t2.charCodeAt(2) === 92) return "\\\\?\\" + t2; return e2; }, dirname(e2) { r(e2, "path"); const t2 = e2.length; - if (0 === t2) + if (t2 === 0) return "."; let n2 = -1, i2 = 0; const o2 = e2.charCodeAt(0); - if (1 === t2) + if (t2 === 1) return s(o2) ? e2 : "."; if (s(o2)) { if (n2 = i2 = 1, s(e2.charCodeAt(1))) { @@ -15251,7 +15251,7 @@ } } } else - l(o2) && 58 === e2.charCodeAt(1) && (n2 = t2 > 2 && s(e2.charCodeAt(2)) ? 3 : 2, i2 = n2); + l(o2) && e2.charCodeAt(1) === 58 && (n2 = t2 > 2 && s(e2.charCodeAt(2)) ? 3 : 2, i2 = n2); let a2 = -1, c2 = true; for (let n3 = t2 - 1; n3 >= i2; --n3) if (s(e2.charCodeAt(n3))) { @@ -15261,16 +15261,16 @@ } } else c2 = false; - if (-1 === a2) { - if (-1 === n2) + if (a2 === -1) { + if (n2 === -1) return "."; a2 = n2; } return e2.slice(0, a2); }, basename(e2, t2) { - void 0 !== t2 && r(t2, "ext"), r(e2, "path"); + t2 !== void 0 && r(t2, "ext"), r(e2, "path"); let n2, i2 = 0, o2 = -1, a2 = true; - if (e2.length >= 2 && l(e2.charCodeAt(0)) && 58 === e2.charCodeAt(1) && (i2 = 2), void 0 !== t2 && t2.length > 0 && t2.length <= e2.length) { + if (e2.length >= 2 && l(e2.charCodeAt(0)) && e2.charCodeAt(1) === 58 && (i2 = 2), t2 !== void 0 && t2.length > 0 && t2.length <= e2.length) { if (t2 === e2) return ""; let r2 = t2.length - 1, l2 = -1; @@ -15282,9 +15282,9 @@ break; } } else - -1 === l2 && (a2 = false, l2 = n2 + 1), r2 >= 0 && (c2 === t2.charCodeAt(r2) ? -1 == --r2 && (o2 = n2) : (r2 = -1, o2 = l2)); + l2 === -1 && (a2 = false, l2 = n2 + 1), r2 >= 0 && (c2 === t2.charCodeAt(r2) ? --r2 == -1 && (o2 = n2) : (r2 = -1, o2 = l2)); } - return i2 === o2 ? o2 = l2 : -1 === o2 && (o2 = e2.length), e2.slice(i2, o2); + return i2 === o2 ? o2 = l2 : o2 === -1 && (o2 = e2.length), e2.slice(i2, o2); } for (n2 = e2.length - 1; n2 >= i2; --n2) if (s(e2.charCodeAt(n2))) { @@ -15293,12 +15293,12 @@ break; } } else - -1 === o2 && (a2 = false, o2 = n2 + 1); - return -1 === o2 ? "" : e2.slice(i2, o2); + o2 === -1 && (a2 = false, o2 = n2 + 1); + return o2 === -1 ? "" : e2.slice(i2, o2); }, extname(e2) { r(e2, "path"); let t2 = 0, n2 = -1, i2 = 0, o2 = -1, a2 = true, c2 = 0; - e2.length >= 2 && 58 === e2.charCodeAt(1) && l(e2.charCodeAt(0)) && (t2 = i2 = 2); + e2.length >= 2 && e2.charCodeAt(1) === 58 && l(e2.charCodeAt(0)) && (t2 = i2 = 2); for (let r2 = e2.length - 1; r2 >= t2; --r2) { const t3 = e2.charCodeAt(r2); if (s(t3)) { @@ -15307,17 +15307,17 @@ break; } } else - -1 === o2 && (a2 = false, o2 = r2 + 1), 46 === t3 ? -1 === n2 ? n2 = r2 : 1 !== c2 && (c2 = 1) : -1 !== n2 && (c2 = -1); + o2 === -1 && (a2 = false, o2 = r2 + 1), t3 === 46 ? n2 === -1 ? n2 = r2 : c2 !== 1 && (c2 = 1) : n2 !== -1 && (c2 = -1); } - return -1 === n2 || -1 === o2 || 0 === c2 || 1 === c2 && n2 === o2 - 1 && n2 === i2 + 1 ? "" : e2.slice(n2, o2); + return n2 === -1 || o2 === -1 || c2 === 0 || c2 === 1 && n2 === o2 - 1 && n2 === i2 + 1 ? "" : e2.slice(n2, o2); }, format: d.bind(null, "\\"), parse(e2) { r(e2, "path"); const t2 = {root: "", dir: "", base: "", ext: "", name: ""}; - if (0 === e2.length) + if (e2.length === 0) return t2; const n2 = e2.length; let i2 = 0, o2 = e2.charCodeAt(0); - if (1 === n2) + if (n2 === 1) return s(o2) ? (t2.root = t2.dir = e2, t2) : (t2.base = t2.name = e2, t2); if (s(o2)) { if (i2 = 1, s(e2.charCodeAt(1))) { @@ -15334,11 +15334,11 @@ } } } - } else if (l(o2) && 58 === e2.charCodeAt(1)) { + } else if (l(o2) && e2.charCodeAt(1) === 58) { if (n2 <= 2) return t2.root = t2.dir = e2, t2; if (i2 = 2, s(e2.charCodeAt(2))) { - if (3 === n2) + if (n2 === 3) return t2.root = t2.dir = e2, t2; i2 = 3; } @@ -15352,29 +15352,29 @@ break; } } else - -1 === d2 && (h2 = false, d2 = u2 + 1), 46 === o2 ? -1 === a2 ? a2 = u2 : 1 !== p2 && (p2 = 1) : -1 !== a2 && (p2 = -1); - return -1 !== d2 && (-1 === a2 || 0 === p2 || 1 === p2 && a2 === d2 - 1 && a2 === c2 + 1 ? t2.base = t2.name = e2.slice(c2, d2) : (t2.name = e2.slice(c2, a2), t2.base = e2.slice(c2, d2), t2.ext = e2.slice(a2, d2))), t2.dir = c2 > 0 && c2 !== i2 ? e2.slice(0, c2 - 1) : t2.root, t2; + d2 === -1 && (h2 = false, d2 = u2 + 1), o2 === 46 ? a2 === -1 ? a2 = u2 : p2 !== 1 && (p2 = 1) : a2 !== -1 && (p2 = -1); + return d2 !== -1 && (a2 === -1 || p2 === 0 || p2 === 1 && a2 === d2 - 1 && a2 === c2 + 1 ? t2.base = t2.name = e2.slice(c2, d2) : (t2.name = e2.slice(c2, a2), t2.base = e2.slice(c2, d2), t2.ext = e2.slice(a2, d2))), t2.dir = c2 > 0 && c2 !== i2 ? e2.slice(0, c2 - 1) : t2.root, t2; }, sep: "\\", delimiter: ";", win32: null, posix: null}, u = {resolve(...e2) { let t2 = "", n2 = false; for (let o2 = e2.length - 1; o2 >= -1 && !n2; o2--) { const s2 = o2 >= 0 ? e2[o2] : i.a(); - r(s2, "path"), 0 !== s2.length && (t2 = `${s2}/${t2}`, n2 = 47 === s2.charCodeAt(0)); + r(s2, "path"), s2.length !== 0 && (t2 = `${s2}/${t2}`, n2 = s2.charCodeAt(0) === 47); } return t2 = c(t2, !n2, "/", a), n2 ? "/" + t2 : t2.length > 0 ? t2 : "."; }, normalize(e2) { - if (r(e2, "path"), 0 === e2.length) + if (r(e2, "path"), e2.length === 0) return "."; - const t2 = 47 === e2.charCodeAt(0), n2 = 47 === e2.charCodeAt(e2.length - 1); - return 0 === (e2 = c(e2, !t2, "/", a)).length ? t2 ? "/" : n2 ? "./" : "." : (n2 && (e2 += "/"), t2 ? "/" + e2 : e2); - }, isAbsolute: (e2) => (r(e2, "path"), e2.length > 0 && 47 === e2.charCodeAt(0)), join(...e2) { - if (0 === e2.length) + const t2 = e2.charCodeAt(0) === 47, n2 = e2.charCodeAt(e2.length - 1) === 47; + return (e2 = c(e2, !t2, "/", a)).length === 0 ? t2 ? "/" : n2 ? "./" : "." : (n2 && (e2 += "/"), t2 ? "/" + e2 : e2); + }, isAbsolute: (e2) => (r(e2, "path"), e2.length > 0 && e2.charCodeAt(0) === 47), join(...e2) { + if (e2.length === 0) return "."; let t2; for (let n2 = 0; n2 < e2.length; ++n2) { const i2 = e2[n2]; - r(i2, "path"), i2.length > 0 && (void 0 === t2 ? t2 = i2 : t2 += "/" + i2); + r(i2, "path"), i2.length > 0 && (t2 === void 0 ? t2 = i2 : t2 += "/" + i2); } - return void 0 === t2 ? "." : u.normalize(t2); + return t2 === void 0 ? "." : u.normalize(t2); }, relative(e2, t2) { if (r(e2, "from"), r(t2, "to"), e2 === t2) return ""; @@ -15386,101 +15386,101 @@ const n3 = e2.charCodeAt(1 + l2); if (n3 !== t2.charCodeAt(1 + l2)) break; - 47 === n3 && (a2 = l2); + n3 === 47 && (a2 = l2); } if (l2 === s2) if (o2 > s2) { - if (47 === t2.charCodeAt(1 + l2)) + if (t2.charCodeAt(1 + l2) === 47) return t2.slice(1 + l2 + 1); - if (0 === l2) + if (l2 === 0) return t2.slice(1 + l2); } else - i2 > s2 && (47 === e2.charCodeAt(1 + l2) ? a2 = l2 : 0 === l2 && (a2 = 0)); + i2 > s2 && (e2.charCodeAt(1 + l2) === 47 ? a2 = l2 : l2 === 0 && (a2 = 0)); let c2 = ""; for (l2 = 1 + a2 + 1; l2 <= n2; ++l2) - l2 !== n2 && 47 !== e2.charCodeAt(l2) || (c2 += 0 === c2.length ? ".." : "/.."); + l2 !== n2 && e2.charCodeAt(l2) !== 47 || (c2 += c2.length === 0 ? ".." : "/.."); return `${c2}${t2.slice(1 + a2)}`; }, toNamespacedPath: (e2) => e2, dirname(e2) { - if (r(e2, "path"), 0 === e2.length) + if (r(e2, "path"), e2.length === 0) return "."; - const t2 = 47 === e2.charCodeAt(0); + const t2 = e2.charCodeAt(0) === 47; let n2 = -1, i2 = true; for (let t3 = e2.length - 1; t3 >= 1; --t3) - if (47 === e2.charCodeAt(t3)) { + if (e2.charCodeAt(t3) === 47) { if (!i2) { n2 = t3; break; } } else i2 = false; - return -1 === n2 ? t2 ? "/" : "." : t2 && 1 === n2 ? "//" : e2.slice(0, n2); + return n2 === -1 ? t2 ? "/" : "." : t2 && n2 === 1 ? "//" : e2.slice(0, n2); }, basename(e2, t2) { - void 0 !== t2 && r(t2, "ext"), r(e2, "path"); + t2 !== void 0 && r(t2, "ext"), r(e2, "path"); let n2, i2 = 0, o2 = -1, s2 = true; - if (void 0 !== t2 && t2.length > 0 && t2.length <= e2.length) { + if (t2 !== void 0 && t2.length > 0 && t2.length <= e2.length) { if (t2 === e2) return ""; let r2 = t2.length - 1, a2 = -1; for (n2 = e2.length - 1; n2 >= 0; --n2) { const l2 = e2.charCodeAt(n2); - if (47 === l2) { + if (l2 === 47) { if (!s2) { i2 = n2 + 1; break; } } else - -1 === a2 && (s2 = false, a2 = n2 + 1), r2 >= 0 && (l2 === t2.charCodeAt(r2) ? -1 == --r2 && (o2 = n2) : (r2 = -1, o2 = a2)); + a2 === -1 && (s2 = false, a2 = n2 + 1), r2 >= 0 && (l2 === t2.charCodeAt(r2) ? --r2 == -1 && (o2 = n2) : (r2 = -1, o2 = a2)); } - return i2 === o2 ? o2 = a2 : -1 === o2 && (o2 = e2.length), e2.slice(i2, o2); + return i2 === o2 ? o2 = a2 : o2 === -1 && (o2 = e2.length), e2.slice(i2, o2); } for (n2 = e2.length - 1; n2 >= 0; --n2) - if (47 === e2.charCodeAt(n2)) { + if (e2.charCodeAt(n2) === 47) { if (!s2) { i2 = n2 + 1; break; } } else - -1 === o2 && (s2 = false, o2 = n2 + 1); - return -1 === o2 ? "" : e2.slice(i2, o2); + o2 === -1 && (s2 = false, o2 = n2 + 1); + return o2 === -1 ? "" : e2.slice(i2, o2); }, extname(e2) { r(e2, "path"); let t2 = -1, n2 = 0, i2 = -1, o2 = true, s2 = 0; for (let r2 = e2.length - 1; r2 >= 0; --r2) { const a2 = e2.charCodeAt(r2); - if (47 !== a2) - -1 === i2 && (o2 = false, i2 = r2 + 1), 46 === a2 ? -1 === t2 ? t2 = r2 : 1 !== s2 && (s2 = 1) : -1 !== t2 && (s2 = -1); + if (a2 !== 47) + i2 === -1 && (o2 = false, i2 = r2 + 1), a2 === 46 ? t2 === -1 ? t2 = r2 : s2 !== 1 && (s2 = 1) : t2 !== -1 && (s2 = -1); else if (!o2) { n2 = r2 + 1; break; } } - return -1 === t2 || -1 === i2 || 0 === s2 || 1 === s2 && t2 === i2 - 1 && t2 === n2 + 1 ? "" : e2.slice(t2, i2); + return t2 === -1 || i2 === -1 || s2 === 0 || s2 === 1 && t2 === i2 - 1 && t2 === n2 + 1 ? "" : e2.slice(t2, i2); }, format: d.bind(null, "/"), parse(e2) { r(e2, "path"); const t2 = {root: "", dir: "", base: "", ext: "", name: ""}; - if (0 === e2.length) + if (e2.length === 0) return t2; - const n2 = 47 === e2.charCodeAt(0); + const n2 = e2.charCodeAt(0) === 47; let i2; n2 ? (t2.root = "/", i2 = 1) : i2 = 0; let o2 = -1, s2 = 0, a2 = -1, l2 = true, c2 = e2.length - 1, d2 = 0; for (; c2 >= i2; --c2) { const t3 = e2.charCodeAt(c2); - if (47 !== t3) - -1 === a2 && (l2 = false, a2 = c2 + 1), 46 === t3 ? -1 === o2 ? o2 = c2 : 1 !== d2 && (d2 = 1) : -1 !== o2 && (d2 = -1); + if (t3 !== 47) + a2 === -1 && (l2 = false, a2 = c2 + 1), t3 === 46 ? o2 === -1 ? o2 = c2 : d2 !== 1 && (d2 = 1) : o2 !== -1 && (d2 = -1); else if (!l2) { s2 = c2 + 1; break; } } - if (-1 !== a2) { - const i3 = 0 === s2 && n2 ? 1 : s2; - -1 === o2 || 0 === d2 || 1 === d2 && o2 === a2 - 1 && o2 === s2 + 1 ? t2.base = t2.name = e2.slice(i3, a2) : (t2.name = e2.slice(i3, o2), t2.base = e2.slice(i3, a2), t2.ext = e2.slice(o2, a2)); + if (a2 !== -1) { + const i3 = s2 === 0 && n2 ? 1 : s2; + o2 === -1 || d2 === 0 || d2 === 1 && o2 === a2 - 1 && o2 === s2 + 1 ? t2.base = t2.name = e2.slice(i3, a2) : (t2.name = e2.slice(i3, o2), t2.base = e2.slice(i3, a2), t2.ext = e2.slice(o2, a2)); } return s2 > 0 ? t2.dir = e2.slice(0, s2 - 1) : n2 && (t2.dir = "/"), t2; }, sep: "/", delimiter: ":", win32: null, posix: null}; u.win32 = h.win32 = h, u.posix = h.posix = u; - const p = "win32" === i.c ? h.normalize : u.normalize, m = "win32" === i.c ? h.resolve : u.resolve, g = "win32" === i.c ? h.relative : u.relative, f = "win32" === i.c ? h.dirname : u.dirname, b = "win32" === i.c ? h.basename : u.basename, _ = "win32" === i.c ? h.extname : u.extname, v = "win32" === i.c ? h.sep : u.sep; + const p = i.c === "win32" ? h.normalize : u.normalize, m = i.c === "win32" ? h.resolve : u.resolve, g = i.c === "win32" ? h.relative : u.relative, f = i.c === "win32" ? h.dirname : u.dirname, b = i.c === "win32" ? h.basename : u.basename, _ = i.c === "win32" ? h.extname : u.extname, v = i.c === "win32" ? h.sep : u.sep; }, function(e, t, n) { "use strict"; n.d(t, "b", function() { @@ -15517,14 +15517,14 @@ return (e2 | (65535 & t2) << 16 >>> 0) >>> 0; } function d(e2, t2) { - if (0 === e2) + if (e2 === 0) return null; const n2 = (65535 & e2) >>> 0, i2 = (4294901760 & e2) >>> 16; - return new p(0 !== i2 ? [h(n2, t2), h(i2, t2)] : [h(n2, t2)]); + return new p(i2 !== 0 ? [h(n2, t2), h(i2, t2)] : [h(n2, t2)]); } function h(e2, t2) { const n2 = !!(2048 & e2), i2 = !!(256 & e2); - return new u(2 === t2 ? i2 : n2, !!(1024 & e2), !!(512 & e2), 2 === t2 ? n2 : i2, 255 & e2); + return new u(t2 === 2 ? i2 : n2, !!(1024 & e2), !!(512 & e2), t2 === 2 ? n2 : i2, 255 & e2); } !function() { function e2(e3, t2, n2 = t2, i2 = n2) { @@ -15552,18 +15552,18 @@ return this.ctrlKey === e2.ctrlKey && this.shiftKey === e2.shiftKey && this.altKey === e2.altKey && this.metaKey === e2.metaKey && this.keyCode === e2.keyCode; } isModifierKey() { - return 0 === this.keyCode || 5 === this.keyCode || 57 === this.keyCode || 6 === this.keyCode || 4 === this.keyCode; + return this.keyCode === 0 || this.keyCode === 5 || this.keyCode === 57 || this.keyCode === 6 || this.keyCode === 4; } toChord() { return new p([this]); } isDuplicateModifierCase() { - return this.ctrlKey && 5 === this.keyCode || this.shiftKey && 4 === this.keyCode || this.altKey && 6 === this.keyCode || this.metaKey && 57 === this.keyCode; + return this.ctrlKey && this.keyCode === 5 || this.shiftKey && this.keyCode === 4 || this.altKey && this.keyCode === 6 || this.metaKey && this.keyCode === 57; } } class p { constructor(e2) { - if (0 === e2.length) + if (e2.length === 0) throw Object(i.b)("parts"); this.parts = e2; } @@ -15617,10 +15617,10 @@ return this._delegate(e2); const t2 = e2.authority; let n2 = this._hosts[t2]; - n2 && -1 !== n2.indexOf(":") && (n2 = `[${n2}]`); + n2 && n2.indexOf(":") !== -1 && (n2 = `[${n2}]`); const s2 = this._ports[t2], a = this._connectionTokens[t2]; let l = "path=" + encodeURIComponent(e2.path); - return "string" == typeof a && (l += "&tkn=" + encodeURIComponent(a)), o.a.from({scheme: r.h ? this._preferredWebSchema : i.vscodeRemoteResource, authority: `${n2}:${s2}`, path: "/vscode-remote-resource", query: l}); + return typeof a == "string" && (l += "&tkn=" + encodeURIComponent(a)), o.a.from({scheme: r.h ? this._preferredWebSchema : i.vscodeRemoteResource, authority: `${n2}:${s2}`, path: "/vscode-remote-resource", query: l}); } }(); }, function(e, t, n) { @@ -15642,17 +15642,17 @@ }); var i = n(14); function o(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return e2; if (e2 instanceof RegExp) return e2; const t2 = Array.isArray(e2) ? [] : {}; return Object.keys(e2).forEach((n2) => { - e2[n2] && "object" == typeof e2[n2] ? t2[n2] = o(e2[n2]) : t2[n2] = e2[n2]; + e2[n2] && typeof e2[n2] == "object" ? t2[n2] = o(e2[n2]) : t2[n2] = e2[n2]; }), t2; } function r(e2) { - if (!e2 || "object" != typeof e2) + if (!e2 || typeof e2 != "object") return e2; const t2 = [e2]; for (; t2.length > 0; ) { @@ -15661,7 +15661,7 @@ for (const n2 in e3) if (s.call(e3, n2)) { const i2 = e3[n2]; - "object" != typeof i2 || Object.isFrozen(i2) || t2.push(i2); + typeof i2 != "object" || Object.isFrozen(i2) || t2.push(i2); } } return e2; @@ -15672,7 +15672,7 @@ if (Object(i.l)(t3)) return t3; const r2 = n2(t3); - if (void 0 !== r2) + if (r2 !== void 0) return r2; if (Object(i.e)(t3)) { const i2 = []; @@ -15703,11 +15703,11 @@ function d(e2, t2) { if (e2 === t2) return true; - if (null == e2 || null == t2) + if (e2 == null || t2 == null) return false; if (typeof e2 != typeof t2) return false; - if ("object" != typeof e2) + if (typeof e2 != "object") return false; if (Array.isArray(e2) !== Array.isArray(t2)) return false; @@ -15736,7 +15736,7 @@ } function h(e2, t2, n2) { const i2 = t2(e2); - return void 0 === i2 ? n2 : i2; + return i2 === void 0 ? n2 : i2; } }, function(e, t, n) { "use strict"; @@ -15785,7 +15785,7 @@ this.source = e3, this.len = e3.length, this.position = 0; } return e2.prototype.substring = function(e3, t2) { - return void 0 === t2 && (t2 = this.position), this.source.substring(e3, t2); + return t2 === void 0 && (t2 = this.position), this.source.substring(e3, t2); }, e2.prototype.eos = function() { return this.len <= this.position; }, e2.prototype.pos = function() { @@ -15799,9 +15799,9 @@ }, e2.prototype.nextChar = function() { return this.source.charCodeAt(this.position++) || 0; }, e2.prototype.peekChar = function(e3) { - return void 0 === e3 && (e3 = 0), this.source.charCodeAt(this.position + e3) || 0; + return e3 === void 0 && (e3 = 0), this.source.charCodeAt(this.position + e3) || 0; }, e2.prototype.lookbackChar = function(e3) { - return void 0 === e3 && (e3 = 0), this.source.charCodeAt(this.position - e3) || 0; + return e3 === void 0 && (e3 = 0), this.source.charCodeAt(this.position - e3) || 0; }, e2.prototype.advanceIfChar = function(e3) { return e3 === this.source.charCodeAt(this.position) && (this.position++, true); }, e2.prototype.advanceIfChars = function(e3) { @@ -15839,7 +15839,7 @@ return this._unquotedString(t2) ? this.finishToken(e3, i.UnquotedString, t2.join("")) : null; }, e2.prototype.scan = function() { var e3 = this.trivia(); - if (null !== e3) + if (e3 !== null) return e3; var t2 = this.stream.pos(); return this.stream.eos() ? this.finishToken(t2, i.EOF) : this.scanNext(t2); @@ -15854,7 +15854,7 @@ if (this.stream.advanceIfChar(k)) { if (t2 = ["@"], this._name(t2)) { var n2 = t2.join(""); - return "@charset" === n2 ? this.finishToken(e3, i.Charset, n2) : this.finishToken(e3, i.AtKeyword, n2); + return n2 === "@charset" ? this.finishToken(e3, i.Charset, n2) : this.finishToken(e3, i.AtKeyword, n2); } return this.finishToken(e3, i.Delim); } @@ -15868,13 +15868,13 @@ return this.finishToken(e3, i.Percentage); if (this.ident(t2)) { var r2 = this.stream.substring(o2).toLowerCase(), s2 = K[r2]; - return void 0 !== s2 ? this.finishToken(e3, s2, t2.join("")) : this.finishToken(e3, i.Dimension, t2.join("")); + return s2 !== void 0 ? this.finishToken(e3, s2, t2.join("")) : this.finishToken(e3, i.Dimension, t2.join("")); } return this.finishToken(e3, i.Num); } t2 = []; var a2 = this._string(t2); - return null !== a2 ? this.finishToken(e3, a2, t2.join("")) : void 0 !== (a2 = $[this.stream.peekChar()]) ? (this.stream.advance(1), this.finishToken(e3, a2)) : this.stream.peekChar(0) === p && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.Includes)) : this.stream.peekChar(0) === f && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.Dashmatch)) : this.stream.peekChar(0) === w && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.SubstringOperator)) : this.stream.peekChar(0) === m && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.PrefixOperator)) : this.stream.peekChar(0) === T && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.SuffixOperator)) : (this.stream.nextChar(), this.finishToken(e3, i.Delim)); + return a2 !== null ? this.finishToken(e3, a2, t2.join("")) : (a2 = $[this.stream.peekChar()]) !== void 0 ? (this.stream.advance(1), this.finishToken(e3, a2)) : this.stream.peekChar(0) === p && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.Includes)) : this.stream.peekChar(0) === f && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.Dashmatch)) : this.stream.peekChar(0) === w && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.SubstringOperator)) : this.stream.peekChar(0) === m && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.PrefixOperator)) : this.stream.peekChar(0) === T && this.stream.peekChar(1) === g ? (this.stream.advance(2), this.finishToken(e3, i.SuffixOperator)) : (this.stream.nextChar(), this.finishToken(e3, i.Delim)); }, e2.prototype.trivia = function() { for (; ; ) { var e3 = this.stream.pos(); @@ -15899,7 +15899,7 @@ }, e2.prototype._number = function() { var e3, t2 = 0; return this.stream.peekChar() === H && (t2 = 1), (e3 = this.stream.peekChar(t2)) >= h && e3 <= u && (this.stream.advance(t2 + 1), this.stream.advanceWhileChar(function(e4) { - return e4 >= h && e4 <= u || 0 === t2 && e4 === H; + return e4 >= h && e4 <= u || t2 === 0 && e4 === H; }), true); }, e2.prototype._newline = function(e3) { var t2 = this.stream.peekChar(); @@ -15932,7 +15932,7 @@ return false; }, e2.prototype._stringChar = function(e3, t2) { var n2 = this.stream.peekChar(); - return 0 !== n2 && n2 !== e3 && n2 !== L && n2 !== O && n2 !== D && n2 !== I && (this.stream.advance(1), t2.push(String.fromCharCode(n2)), true); + return n2 !== 0 && n2 !== e3 && n2 !== L && n2 !== O && n2 !== D && n2 !== I && (this.stream.advance(1), t2.push(String.fromCharCode(n2)), true); }, e2.prototype._string = function(e3) { if (this.stream.peekChar() === R || this.stream.peekChar() === A) { var t2 = this.stream.nextChar(); @@ -15943,7 +15943,7 @@ return null; }, e2.prototype._unquotedChar = function(e3) { var t2 = this.stream.peekChar(); - return 0 !== t2 && t2 !== L && t2 !== R && t2 !== A && t2 !== y && t2 !== C && t2 !== M && t2 !== P && t2 !== I && t2 !== D && t2 !== O && (this.stream.advance(1), e3.push(String.fromCharCode(t2)), true); + return t2 !== 0 && t2 !== L && t2 !== R && t2 !== A && t2 !== y && t2 !== C && t2 !== M && t2 !== P && t2 !== I && t2 !== D && t2 !== O && (this.stream.advance(1), e3.push(String.fromCharCode(t2)), true); }, e2.prototype._unquotedString = function(e3) { for (var t2 = false; this._unquotedChar(e3) || this._escape(e3); ) t2 = true; @@ -15991,10 +15991,10 @@ } function Z(e2, t2) { var n2 = e2.length - t2.length; - return n2 > 0 ? e2.lastIndexOf(t2) === n2 : 0 === n2 && e2 === t2; + return n2 > 0 ? e2.lastIndexOf(t2) === n2 : n2 === 0 && e2 === t2; } function X(e2, t2) { - return void 0 === t2 && (t2 = true), e2 ? e2.length < 140 ? e2 : e2.slice(0, 140) + (t2 ? "…" : "") : ""; + return t2 === void 0 && (t2 = true), e2 ? e2.length < 140 ? e2 : e2.slice(0, 140) + (t2 ? "\u2026" : "") : ""; } var Q, J, ee, te = (Q = function(e2, t2) { return (Q = Object.setPrototypeOf || {__proto__: []} instanceof Array && function(e3, t3) { @@ -16007,12 +16007,12 @@ function n2() { this.constructor = e2; } - Q(e2, t2), e2.prototype = null === t2 ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); + Q(e2, t2), e2.prototype = t2 === null ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); }); function ne(e2, t2) { var n2 = null; return !e2 || t2 < e2.offset || t2 > e2.end ? null : (e2.accept(function(e3) { - return -1 === e3.offset && -1 === e3.length || e3.offset <= t2 && e3.end >= t2 && (n2 ? e3.length <= n2.length && (n2 = e3) : n2 = e3, true); + return e3.offset === -1 && e3.length === -1 || e3.offset <= t2 && e3.end >= t2 && (n2 ? e3.length <= n2.length && (n2 = e3) : n2 = e3, true); }), n2); } function ie(e2, t2) { @@ -16027,7 +16027,7 @@ }(ee || (ee = {})); var oe, re = function() { function e2(e3, t2, n2) { - void 0 === e3 && (e3 = -1), void 0 === t2 && (t2 = -1), this.parent = null, this.offset = e3, this.length = t2, n2 && (this.nodeType = n2); + e3 === void 0 && (e3 = -1), t2 === void 0 && (t2 = -1), this.parent = null, this.offset = e3, this.length = t2, n2 && (this.nodeType = n2); } return Object.defineProperty(e2.prototype, "end", {get: function() { return this.offset + this.length; @@ -16057,15 +16057,15 @@ }, e2.prototype.acceptVisitor = function(e3) { this.accept(e3.visitNode.bind(e3)); }, e2.prototype.adoptChild = function(e3, t2) { - if (void 0 === t2 && (t2 = -1), e3.parent && e3.parent.children) { + if (t2 === void 0 && (t2 = -1), e3.parent && e3.parent.children) { var n2 = e3.parent.children.indexOf(e3); n2 >= 0 && e3.parent.children.splice(n2, 1); } e3.parent = this; var i2 = this.children; - return i2 || (i2 = this.children = []), -1 !== t2 ? i2.splice(t2, 0, e3) : i2.push(e3), e3; + return i2 || (i2 = this.children = []), t2 !== -1 ? i2.splice(t2, 0, e3) : i2.push(e3), e3; }, e2.prototype.attachTo = function(e3, t2) { - return void 0 === t2 && (t2 = -1), e3 && e3.adoptChild(this, t2), this; + return t2 === void 0 && (t2 = -1), e3 && e3.adoptChild(this, t2), this; }, e2.prototype.collectIssues = function(e3) { this.issues && e3.push.apply(e3, this.issues); }, e2.prototype.addIssue = function(e3) { @@ -16075,17 +16075,17 @@ return t2.getRule() === e3; }); }, e2.prototype.isErroneous = function(e3) { - return void 0 === e3 && (e3 = false), !!(this.issues && this.issues.length > 0) || e3 && Array.isArray(this.children) && this.children.some(function(e4) { + return e3 === void 0 && (e3 = false), !!(this.issues && this.issues.length > 0) || e3 && Array.isArray(this.children) && this.children.some(function(e4) { return e4.isErroneous(true); }); }, e2.prototype.setNode = function(e3, t2, n2) { - return void 0 === n2 && (n2 = -1), !!t2 && (t2.attachTo(this, n2), this[e3] = t2, true); + return n2 === void 0 && (n2 = -1), !!t2 && (t2.attachTo(this, n2), this[e3] = t2, true); }, e2.prototype.addChild = function(e3) { return !!e3 && (this.children || (this.children = []), e3.attachTo(this), this.updateOffsetAndLength(e3), true); }, e2.prototype.updateOffsetAndLength = function(e3) { - (e3.offset < this.offset || -1 === this.offset) && (this.offset = e3.offset); + (e3.offset < this.offset || this.offset === -1) && (this.offset = e3.offset); var t2 = e3.end; - (t2 > this.end || -1 === this.length) && (this.length = t2 - this.offset); + (t2 > this.end || this.length === -1) && (this.length = t2 - this.offset); }, e2.prototype.hasChildren = function() { return !!this.children && this.children.length > 0; }, e2.prototype.getChildren = function() { @@ -16132,7 +16132,7 @@ }, e2; }(), se = function(e2) { function t2(t3, n2) { - void 0 === n2 && (n2 = -1); + n2 === void 0 && (n2 = -1); var i2 = e2.call(this, -1, -1) || this; return i2.attachTo(t3, n2), i2.offset = -1, i2.length = -1, i2; } @@ -16179,7 +16179,7 @@ }, enumerable: true, configurable: true}), t2.prototype.getSelectors = function() { return this.selectors || (this.selectors = new se(this)), this.selectors; }, t2.prototype.isNested = function() { - return !!this.parent && null !== this.parent.findParent(J.Declarations); + return !!this.parent && this.parent.findParent(J.Declarations) !== null; }, t2; }(de), ue = function(e2) { function t2(t3, n2) { @@ -16260,9 +16260,9 @@ return e3; }, t2.prototype.getNonPrefixedPropertyName = function() { var e3 = this.getFullPropertyName(); - if (e3 && "-" === e3.charAt(0)) { + if (e3 && e3.charAt(0) === "-") { var t3 = e3.indexOf("-", 1); - if (-1 !== t3) + if (t3 !== -1) return e3.substring(t3 + 1); } return e3; @@ -16461,7 +16461,7 @@ }, t2; }(re), Me = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), Object.defineProperty(t2.prototype, "type", {get: function() { return J.Use; @@ -16474,7 +16474,7 @@ }, t2; }(re), Pe = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), Object.defineProperty(t2.prototype, "type", {get: function() { return J.ModuleConfiguration; @@ -16491,7 +16491,7 @@ }, t2; }(re), Fe = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), Object.defineProperty(t2.prototype, "type", {get: function() { return J.Forward; @@ -16502,7 +16502,7 @@ }, t2; }(re), We = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), Object.defineProperty(t2.prototype, "type", {get: function() { return J.ForwardVisibility; @@ -16775,7 +16775,7 @@ }, t2; }(de), ut = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), Object.defineProperty(t2.prototype, "type", {get: function() { return J.ListEntry; @@ -16786,21 +16786,21 @@ }, t2; }(re), pt = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), t2.prototype.getConditions = function() { return this.conditions || (this.conditions = new se(this)), this.conditions; }, t2; }(re), mt = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), t2.prototype.setVariable = function(e3) { return this.setNode("variable", e3); }, t2; }(re), gt = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return te(t2, e2), Object.defineProperty(t2.prototype, "type", {get: function() { return J.Module; @@ -16815,7 +16815,7 @@ }(oe || (oe = {})); var ft = function() { function e2(e3, t2, n2, i2, o2, r2) { - void 0 === o2 && (o2 = e3.offset), void 0 === r2 && (r2 = e3.length), this.node = e3, this.rule = t2, this.level = n2, this.message = i2 || t2.message, this.offset = o2, this.length = r2; + o2 === void 0 && (o2 = e3.offset), r2 === void 0 && (r2 = e3.length), this.node = e3, this.rule = t2, this.level = n2, this.message = i2 || t2.message, this.offset = o2, this.length = r2; } return e2.prototype.getRule = function() { return this.rule; @@ -16842,9 +16842,9 @@ }, e2; }(); function _t(e2, t2) { - return 0 === t2.length ? e2 : e2.replace(/\{(\d+)\}/g, function(e3, n2) { + return t2.length === 0 ? e2 : e2.replace(/\{(\d+)\}/g, function(e3, n2) { var i2 = n2[0]; - return void 0 !== t2[i2] ? t2[i2] : e3; + return t2[i2] !== void 0 ? t2[i2] : e3; }); } function vt(e2, t2) { @@ -16861,27 +16861,27 @@ function kt(e2) { switch (e2) { case "experimental": - return "⚠️ Property is experimental. Be cautious when using it.️\n\n"; + return "\u26A0\uFE0F Property is experimental. Be cautious when using it.\uFE0F\n\n"; case "nonstandard": - return "🚨️ Property is nonstandard. Avoid using it.\n\n"; + return "\u{1F6A8}\uFE0F Property is nonstandard. Avoid using it.\n\n"; case "obsolete": - return "🚨️️️ Property is obsolete. Avoid using it.\n\n"; + return "\u{1F6A8}\uFE0F\uFE0F\uFE0F Property is obsolete. Avoid using it.\n\n"; default: return ""; } } function Et(e2, t2) { var n2; - if ("" !== (n2 = t2 ? {kind: "markdown", value: Nt(e2)} : {kind: "plaintext", value: Lt(e2)}).value) + if ((n2 = t2 ? {kind: "markdown", value: Nt(e2)} : {kind: "plaintext", value: Lt(e2)}).value !== "") return n2; } function Tt(e2) { return (e2 = e2.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")).replace(/</g, "<").replace(/>/g, ">"); } function Lt(e2) { - if (!e2.description || "" === e2.description) + if (!e2.description || e2.description === "") return ""; - if ("string" != typeof e2.description) + if (typeof e2.description != "string") return e2.description.value; var t2 = ""; e2.status && (t2 += kt(e2.status)), t2 += e2.description; @@ -16891,17 +16891,17 @@ }).join(" | ")), t2; } function Nt(e2) { - if (!e2.description || "" === e2.description) + if (!e2.description || e2.description === "") return ""; var t2 = ""; - e2.status && (t2 += kt(e2.status)), t2 += Tt("string" == typeof e2.description ? e2.description : e2.description.value); + e2.status && (t2 += kt(e2.status)), t2 += Tt(typeof e2.description == "string" ? e2.description : e2.description.value); var n2 = It(e2.browsers); return n2 && (t2 += "\n\n(" + Tt(n2) + ")"), "syntax" in e2 && e2.syntax && (t2 += "\n\nSyntax: " + Tt(e2.syntax)), e2.references && e2.references.length > 0 && (t2 += "\n\n", t2 += e2.references.map(function(e3) { return "[" + e3.name + "](" + e3.url + ")"; }).join(" | ")), t2; } function It(e2) { - return void 0 === e2 && (e2 = []), 0 === e2.length ? null : e2.map(function(e3) { + return e2 === void 0 && (e2 = []), e2.length === 0 ? null : e2.map(function(e3) { var t2 = "", n2 = e3.match(/([A-Z]+)(\d+)?/), i2 = n2[1], o2 = n2[2]; return i2 in St && (t2 += St[i2]), o2 && (t2 += " " + o2), t2; }).join(", "); @@ -16925,7 +16925,7 @@ return e2 < 48 ? 0 : e2 <= 57 ? e2 - 48 : (e2 < 97 && (e2 += 32), e2 >= 97 && e2 <= 102 ? e2 - 97 + 10 : 0); } function Wt(e2) { - if ("#" !== e2[0]) + if (e2[0] !== "#") return null; switch (e2.length) { case 4: @@ -16947,12 +16947,12 @@ if (!n2 || i2.length < 3 || i2.length > 4) return null; try { - var o2 = 4 === i2.length ? Mt(i2[3], 1) : 1; - if ("rgb" === n2 || "rgba" === n2) + var o2 = i2.length === 4 ? Mt(i2[3], 1) : 1; + if (n2 === "rgb" || n2 === "rgba") return {red: Mt(i2[0], 255), green: Mt(i2[1], 255), blue: Mt(i2[2], 255), alpha: o2}; - if ("hsl" === n2 || "hsla" === n2) + if (n2 === "hsl" || n2 === "hsla") return function(e3, t3, n3, i3) { - if (void 0 === i3 && (i3 = 1), 0 === t3) + if (i3 === void 0 && (i3 = 1), t3 === 0) return {red: n3, green: n3, blue: n3, alpha: i3}; var o3 = function(e4, t4, n4) { for (; n4 < 0; ) @@ -16981,7 +16981,7 @@ return null; } var a2 = e2.getText().toLowerCase(); - if ("none" === a2) + if (a2 === "none") return null; var l2 = At[a2]; if (l2) @@ -16989,14 +16989,14 @@ } return null; } - var Bt = {bottom: "Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.", center: "Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.", left: "Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.", right: "Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.", top: "Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}, jt = {"no-repeat": "Placed once and not repeated in this direction.", repeat: "Repeated in this direction as often as needed to cover the background painting area.", "repeat-x": "Computes to ‘repeat no-repeat’.", "repeat-y": "Computes to ‘no-repeat repeat’.", round: "Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.", space: "Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."}, Vt = {dashed: "A series of square-ended dashes.", dotted: "A series of round dots.", double: "Two parallel solid lines with some space between them.", groove: "Looks as if it were carved in the canvas.", hidden: "Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.", inset: "Looks as if the content on the inside of the border is sunken into the canvas.", none: "No border. Color and width are ignored.", outset: "Looks as if the content on the inside of the border is coming out of the canvas.", ridge: "Looks as if it were coming out of the canvas.", solid: "A single line segment."}, Ut = ["medium", "thick", "thin"], Ht = {"border-box": "The background is painted within (clipped to) the border box.", "content-box": "The background is painted within (clipped to) the content box.", "padding-box": "The background is painted within (clipped to) the padding box."}, qt = {"margin-box": "Uses the margin box as reference box.", "fill-box": "Uses the object bounding box as reference box.", "stroke-box": "Uses the stroke bounding box as reference box.", "view-box": "Uses the nearest SVG viewport as reference box."}, $t = {initial: "Represents the value specified as the property’s initial value.", inherit: "Represents the computed value of the property on the element’s parent.", unset: "Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."}, Kt = {"url()": "Reference an image file by URL", "image()": "Provide image fallbacks and annotations.", "-webkit-image-set()": "Provide multiple resolutions. Remember to use unprefixed image-set() in addition.", "image-set()": "Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.", "-moz-element()": "Use an element in the document as an image. Remember to use unprefixed element() in addition.", "element()": "Use an element in the document as an image.", "cross-fade()": "Indicates the two images to be combined and how far along in the transition the combination is.", "-webkit-gradient()": "Deprecated. Use modern linear-gradient() or radial-gradient() instead.", "-webkit-linear-gradient()": "Linear gradient. Remember to use unprefixed version in addition.", "-moz-linear-gradient()": "Linear gradient. Remember to use unprefixed version in addition.", "-o-linear-gradient()": "Linear gradient. Remember to use unprefixed version in addition.", "linear-gradient()": "A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.", "-webkit-repeating-linear-gradient()": "Repeating Linear gradient. Remember to use unprefixed version in addition.", "-moz-repeating-linear-gradient()": "Repeating Linear gradient. Remember to use unprefixed version in addition.", "-o-repeating-linear-gradient()": "Repeating Linear gradient. Remember to use unprefixed version in addition.", "repeating-linear-gradient()": "Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.", "-webkit-radial-gradient()": "Radial gradient. Remember to use unprefixed version in addition.", "-moz-radial-gradient()": "Radial gradient. Remember to use unprefixed version in addition.", "radial-gradient()": "Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.", "-webkit-repeating-radial-gradient()": "Repeating radial gradient. Remember to use unprefixed version in addition.", "-moz-repeating-radial-gradient()": "Repeating radial gradient. Remember to use unprefixed version in addition.", "repeating-radial-gradient()": "Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."}, Gt = {ease: "Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).", "ease-in": "Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).", "ease-in-out": "Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).", "ease-out": "Equivalent to cubic-bezier(0, 0, 0.58, 1.0).", linear: "Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).", "step-end": "Equivalent to steps(1, end).", "step-start": "Equivalent to steps(1, start).", "steps()": "The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.", "cubic-bezier()": "Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).", "cubic-bezier(0.6, -0.28, 0.735, 0.045)": "Ease-in Back. Overshoots.", "cubic-bezier(0.68, -0.55, 0.265, 1.55)": "Ease-in-out Back. Overshoots.", "cubic-bezier(0.175, 0.885, 0.32, 1.275)": "Ease-out Back. Overshoots.", "cubic-bezier(0.6, 0.04, 0.98, 0.335)": "Ease-in Circular. Based on half circle.", "cubic-bezier(0.785, 0.135, 0.15, 0.86)": "Ease-in-out Circular. Based on half circle.", "cubic-bezier(0.075, 0.82, 0.165, 1)": "Ease-out Circular. Based on half circle.", "cubic-bezier(0.55, 0.055, 0.675, 0.19)": "Ease-in Cubic. Based on power of three.", "cubic-bezier(0.645, 0.045, 0.355, 1)": "Ease-in-out Cubic. Based on power of three.", "cubic-bezier(0.215, 0.610, 0.355, 1)": "Ease-out Cubic. Based on power of three.", "cubic-bezier(0.95, 0.05, 0.795, 0.035)": "Ease-in Exponential. Based on two to the power ten.", "cubic-bezier(1, 0, 0, 1)": "Ease-in-out Exponential. Based on two to the power ten.", "cubic-bezier(0.19, 1, 0.22, 1)": "Ease-out Exponential. Based on two to the power ten.", "cubic-bezier(0.47, 0, 0.745, 0.715)": "Ease-in Sine.", "cubic-bezier(0.445, 0.05, 0.55, 0.95)": "Ease-in-out Sine.", "cubic-bezier(0.39, 0.575, 0.565, 1)": "Ease-out Sine.", "cubic-bezier(0.55, 0.085, 0.68, 0.53)": "Ease-in Quadratic. Based on power of two.", "cubic-bezier(0.455, 0.03, 0.515, 0.955)": "Ease-in-out Quadratic. Based on power of two.", "cubic-bezier(0.25, 0.46, 0.45, 0.94)": "Ease-out Quadratic. Based on power of two.", "cubic-bezier(0.895, 0.03, 0.685, 0.22)": "Ease-in Quartic. Based on power of four.", "cubic-bezier(0.77, 0, 0.175, 1)": "Ease-in-out Quartic. Based on power of four.", "cubic-bezier(0.165, 0.84, 0.44, 1)": "Ease-out Quartic. Based on power of four.", "cubic-bezier(0.755, 0.05, 0.855, 0.06)": "Ease-in Quintic. Based on power of five.", "cubic-bezier(0.86, 0, 0.07, 1)": "Ease-in-out Quintic. Based on power of five.", "cubic-bezier(0.23, 1, 0.320, 1)": "Ease-out Quintic. Based on power of five."}, Yt = {"circle()": "Defines a circle.", "ellipse()": "Defines an ellipse.", "inset()": "Defines an inset rectangle.", "polygon()": "Defines a polygon."}, Zt = {length: ["em", "rem", "ex", "px", "cm", "mm", "in", "pt", "pc", "ch", "vw", "vh", "vmin", "vmax"], angle: ["deg", "rad", "grad", "turn"], time: ["ms", "s"], frequency: ["Hz", "kHz"], resolution: ["dpi", "dpcm", "dppx"], percentage: ["%", "fr"]}, Xt = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "const", "video", "wbr"], Qt = ["circle", "clipPath", "cursor", "defs", "desc", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "hatch", "hatchpath", "image", "line", "linearGradient", "marker", "mask", "mesh", "meshpatch", "meshrow", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "set", "solidcolor", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "use", "view"], Jt = ["@bottom-center", "@bottom-left", "@bottom-left-corner", "@bottom-right", "@bottom-right-corner", "@left-bottom", "@left-middle", "@left-top", "@right-bottom", "@right-middle", "@right-top", "@top-center", "@top-left", "@top-left-corner", "@top-right", "@top-right-corner"]; + var Bt = {bottom: "Computes to \u2018100%\u2019 for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.", center: "Computes to \u201850%\u2019 (\u2018left 50%\u2019) for the horizontal position if the horizontal position is not otherwise specified, or \u201850%\u2019 (\u2018top 50%\u2019) for the vertical position if it is.", left: "Computes to \u20180%\u2019 for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.", right: "Computes to \u2018100%\u2019 for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.", top: "Computes to \u20180%\u2019 for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}, jt = {"no-repeat": "Placed once and not repeated in this direction.", repeat: "Repeated in this direction as often as needed to cover the background painting area.", "repeat-x": "Computes to \u2018repeat no-repeat\u2019.", "repeat-y": "Computes to \u2018no-repeat repeat\u2019.", round: "Repeated as often as will fit within the background positioning area. If it doesn\u2019t fit a whole number of times, it is rescaled so that it does.", space: "Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."}, Vt = {dashed: "A series of square-ended dashes.", dotted: "A series of round dots.", double: "Two parallel solid lines with some space between them.", groove: "Looks as if it were carved in the canvas.", hidden: "Same as \u2018none\u2019, but has different behavior in the border conflict resolution rules for border-collapsed tables.", inset: "Looks as if the content on the inside of the border is sunken into the canvas.", none: "No border. Color and width are ignored.", outset: "Looks as if the content on the inside of the border is coming out of the canvas.", ridge: "Looks as if it were coming out of the canvas.", solid: "A single line segment."}, Ut = ["medium", "thick", "thin"], Ht = {"border-box": "The background is painted within (clipped to) the border box.", "content-box": "The background is painted within (clipped to) the content box.", "padding-box": "The background is painted within (clipped to) the padding box."}, qt = {"margin-box": "Uses the margin box as reference box.", "fill-box": "Uses the object bounding box as reference box.", "stroke-box": "Uses the stroke bounding box as reference box.", "view-box": "Uses the nearest SVG viewport as reference box."}, $t = {initial: "Represents the value specified as the property\u2019s initial value.", inherit: "Represents the computed value of the property on the element\u2019s parent.", unset: "Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."}, Kt = {"url()": "Reference an image file by URL", "image()": "Provide image fallbacks and annotations.", "-webkit-image-set()": "Provide multiple resolutions. Remember to use unprefixed image-set() in addition.", "image-set()": "Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.", "-moz-element()": "Use an element in the document as an image. Remember to use unprefixed element() in addition.", "element()": "Use an element in the document as an image.", "cross-fade()": "Indicates the two images to be combined and how far along in the transition the combination is.", "-webkit-gradient()": "Deprecated. Use modern linear-gradient() or radial-gradient() instead.", "-webkit-linear-gradient()": "Linear gradient. Remember to use unprefixed version in addition.", "-moz-linear-gradient()": "Linear gradient. Remember to use unprefixed version in addition.", "-o-linear-gradient()": "Linear gradient. Remember to use unprefixed version in addition.", "linear-gradient()": "A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.", "-webkit-repeating-linear-gradient()": "Repeating Linear gradient. Remember to use unprefixed version in addition.", "-moz-repeating-linear-gradient()": "Repeating Linear gradient. Remember to use unprefixed version in addition.", "-o-repeating-linear-gradient()": "Repeating Linear gradient. Remember to use unprefixed version in addition.", "repeating-linear-gradient()": "Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\u2019s position and the first specified color-stop\u2019s position.", "-webkit-radial-gradient()": "Radial gradient. Remember to use unprefixed version in addition.", "-moz-radial-gradient()": "Radial gradient. Remember to use unprefixed version in addition.", "radial-gradient()": "Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.", "-webkit-repeating-radial-gradient()": "Repeating radial gradient. Remember to use unprefixed version in addition.", "-moz-repeating-radial-gradient()": "Repeating radial gradient. Remember to use unprefixed version in addition.", "repeating-radial-gradient()": "Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\u2019s position and the first specified color-stop\u2019s position."}, Gt = {ease: "Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).", "ease-in": "Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).", "ease-in-out": "Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).", "ease-out": "Equivalent to cubic-bezier(0, 0, 0.58, 1.0).", linear: "Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).", "step-end": "Equivalent to steps(1, end).", "step-start": "Equivalent to steps(1, start).", "steps()": "The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value \u201Cstart\u201D or \u201Cend\u201D.", "cubic-bezier()": "Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).", "cubic-bezier(0.6, -0.28, 0.735, 0.045)": "Ease-in Back. Overshoots.", "cubic-bezier(0.68, -0.55, 0.265, 1.55)": "Ease-in-out Back. Overshoots.", "cubic-bezier(0.175, 0.885, 0.32, 1.275)": "Ease-out Back. Overshoots.", "cubic-bezier(0.6, 0.04, 0.98, 0.335)": "Ease-in Circular. Based on half circle.", "cubic-bezier(0.785, 0.135, 0.15, 0.86)": "Ease-in-out Circular. Based on half circle.", "cubic-bezier(0.075, 0.82, 0.165, 1)": "Ease-out Circular. Based on half circle.", "cubic-bezier(0.55, 0.055, 0.675, 0.19)": "Ease-in Cubic. Based on power of three.", "cubic-bezier(0.645, 0.045, 0.355, 1)": "Ease-in-out Cubic. Based on power of three.", "cubic-bezier(0.215, 0.610, 0.355, 1)": "Ease-out Cubic. Based on power of three.", "cubic-bezier(0.95, 0.05, 0.795, 0.035)": "Ease-in Exponential. Based on two to the power ten.", "cubic-bezier(1, 0, 0, 1)": "Ease-in-out Exponential. Based on two to the power ten.", "cubic-bezier(0.19, 1, 0.22, 1)": "Ease-out Exponential. Based on two to the power ten.", "cubic-bezier(0.47, 0, 0.745, 0.715)": "Ease-in Sine.", "cubic-bezier(0.445, 0.05, 0.55, 0.95)": "Ease-in-out Sine.", "cubic-bezier(0.39, 0.575, 0.565, 1)": "Ease-out Sine.", "cubic-bezier(0.55, 0.085, 0.68, 0.53)": "Ease-in Quadratic. Based on power of two.", "cubic-bezier(0.455, 0.03, 0.515, 0.955)": "Ease-in-out Quadratic. Based on power of two.", "cubic-bezier(0.25, 0.46, 0.45, 0.94)": "Ease-out Quadratic. Based on power of two.", "cubic-bezier(0.895, 0.03, 0.685, 0.22)": "Ease-in Quartic. Based on power of four.", "cubic-bezier(0.77, 0, 0.175, 1)": "Ease-in-out Quartic. Based on power of four.", "cubic-bezier(0.165, 0.84, 0.44, 1)": "Ease-out Quartic. Based on power of four.", "cubic-bezier(0.755, 0.05, 0.855, 0.06)": "Ease-in Quintic. Based on power of five.", "cubic-bezier(0.86, 0, 0.07, 1)": "Ease-in-out Quintic. Based on power of five.", "cubic-bezier(0.23, 1, 0.320, 1)": "Ease-out Quintic. Based on power of five."}, Yt = {"circle()": "Defines a circle.", "ellipse()": "Defines an ellipse.", "inset()": "Defines an inset rectangle.", "polygon()": "Defines a polygon."}, Zt = {length: ["em", "rem", "ex", "px", "cm", "mm", "in", "pt", "pc", "ch", "vw", "vh", "vmin", "vmax"], angle: ["deg", "rad", "grad", "turn"], time: ["ms", "s"], frequency: ["Hz", "kHz"], resolution: ["dpi", "dpcm", "dppx"], percentage: ["%", "fr"]}, Xt = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "const", "video", "wbr"], Qt = ["circle", "clipPath", "cursor", "defs", "desc", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "hatch", "hatchpath", "image", "line", "linearGradient", "marker", "mask", "mesh", "meshpatch", "meshrow", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "set", "solidcolor", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "use", "view"], Jt = ["@bottom-center", "@bottom-left", "@bottom-left-corner", "@bottom-right", "@bottom-right-corner", "@left-bottom", "@left-middle", "@left-top", "@right-bottom", "@right-middle", "@right-top", "@top-center", "@top-left", "@top-left-corner", "@top-right", "@top-right-corner"]; function en(e2) { return Object.keys(e2).map(function(t2) { return e2[t2]; }); } function tn(e2) { - return void 0 !== e2; + return e2 !== void 0; } var nn = function() { for (var e2 = 0, t2 = 0, n2 = arguments.length; t2 < n2; t2++) @@ -17008,7 +17008,7 @@ return i2; }, on = function() { function e2(e3) { - void 0 === e3 && (e3 = new G()), this.keyframeRegex = /^@(\-(webkit|ms|moz|o)\-)?keyframes$/i, this.scanner = e3, this.token = {type: i.EOF, offset: -1, len: 0, text: ""}, this.prevToken = void 0; + e3 === void 0 && (e3 = new G()), this.keyframeRegex = /^@(\-(webkit|ms|moz|o)\-)?keyframes$/i, this.scanner = e3, this.token = {type: i.EOF, offset: -1, len: 0, text: ""}, this.prevToken = void 0; } return e2.prototype.peekIdent = function(e3) { return i.Ident === this.token.type && e3.length === this.token.text.length && e3 === this.token.text.toLowerCase(); @@ -17061,9 +17061,9 @@ return t2 ? (this.token = t2, this.consumeToken(), true) : (this.scanner.goBackTo(e3), false); }, e2.prototype.resync = function(e3, t2) { for (; ; ) { - if (e3 && -1 !== e3.indexOf(this.token.type)) + if (e3 && e3.indexOf(this.token.type) !== -1) return this.consumeToken(), true; - if (t2 && -1 !== t2.indexOf(this.token.type)) + if (t2 && t2.indexOf(this.token.type) !== -1) return true; if (this.token.type === i.EOF) return false; @@ -17114,9 +17114,9 @@ }, e2.prototype._parseStylesheetStart = function() { return this._parseCharset(); }, e2.prototype._parseStylesheetStatement = function(e3) { - return void 0 === e3 && (e3 = false), this.peek(i.AtKeyword) ? this._parseStylesheetAtStatement(e3) : this._parseRuleset(e3); + return e3 === void 0 && (e3 = false), this.peek(i.AtKeyword) ? this._parseStylesheetAtStatement(e3) : this._parseRuleset(e3); }, e2.prototype._parseStylesheetAtStatement = function(e3) { - return void 0 === e3 && (e3 = false), this._parseImport() || this._parseMedia(e3) || this._parsePage() || this._parseFontFace() || this._parseKeyframe() || this._parseSupports(e3) || this._parseViewPort() || this._parseNamespace() || this._parseDocument() || this._parseUnknownAtRule(); + return e3 === void 0 && (e3 = false), this._parseImport() || this._parseMedia(e3) || this._parsePage() || this._parseFontFace() || this._parseKeyframe() || this._parseSupports(e3) || this._parseViewPort() || this._parseNamespace() || this._parseDocument() || this._parseUnknownAtRule(); }, e2.prototype._tryParseRuleset = function(e3) { var t2 = this.mark(); if (this._parseSelector(e3)) { @@ -17127,7 +17127,7 @@ } return this.restoreAtMark(t2), null; }, e2.prototype._parseRuleset = function(e3) { - void 0 === e3 && (e3 = false); + e3 === void 0 && (e3 = false); var t2 = this.create(he), n2 = t2.getSelectors(); if (!n2.addChild(this._parseSelector(e3))) return null; @@ -17224,7 +17224,7 @@ return r2 && !r2.isErroneous(true) && (this._parsePrio(), this.peek(i.SemiColon)) ? (e3.setValue(r2), e3.semicolonPosition = this.token.offset, this.finish(e3)) : (this.restoreAtMark(t2), e3.addChild(this._parseCustomPropertyValue()), e3.addChild(this._parsePrio()), tn(e3.colonPosition) && this.token.offset === e3.colonPosition + 1 ? this.finish(e3, xt.PropertyValueExpected) : this.finish(e3)); }, e2.prototype._parseCustomPropertyValue = function() { var e3 = this.create(re), t2 = function() { - return 0 === n2 && 0 === o2 && 0 === r2; + return n2 === 0 && o2 === 0 && r2 === 0; }, n2 = 0, o2 = 0, r2 = 0; e: for (; ; ) { @@ -17239,7 +17239,7 @@ break; case i.CurlyR: if (--n2 < 0) { - if (0 === o2 && 0 === r2) + if (o2 === 0 && r2 === 0) break e; return this.finish(e3, xt.LeftCurlyExpected); } @@ -17324,12 +17324,12 @@ return this.restoreAtMark(t2), null; return this.peek(i.CurlyL) ? this._parseBody(e3, this._parseRuleSetDeclaration.bind(this)) : (this.restoreAtMark(t2), null); }, e2.prototype._parseSupports = function(e3) { - if (void 0 === e3 && (e3 = false), !this.peekKeyword("@supports")) + if (e3 === void 0 && (e3 = false), !this.peekKeyword("@supports")) return null; var t2 = this.create(je); return this.consumeToken(), t2.addChild(this._parseSupportsCondition()), this._parseBody(t2, this._parseSupportsDeclaration.bind(this, e3)); }, e2.prototype._parseSupportsDeclaration = function(e3) { - return void 0 === e3 && (e3 = false), e3 ? this._tryParseRuleset(true) || this._tryToParseDeclaration() || this._parseStylesheetStatement(true) : this._parseStylesheetStatement(false); + return e3 === void 0 && (e3 = false), e3 ? this._tryParseRuleset(true) || this._tryToParseDeclaration() || this._parseStylesheetStatement(true) : this._parseStylesheetStatement(false); }, e2.prototype._parseSupportsCondition = function() { var e3 = this.create(qe); if (this.acceptIdent("not")) @@ -17345,7 +17345,7 @@ if (this.peek(i.Ident)) { var t2 = this.mark(); if (this.consumeToken(), !this.hasWhitespace() && this.accept(i.ParenthesisL)) { - for (var n2 = 1; this.token.type !== i.EOF && 0 !== n2; ) + for (var n2 = 1; this.token.type !== i.EOF && n2 !== 0; ) this.token.type === i.ParenthesisL ? n2++ : this.token.type === i.ParenthesisR && n2--, this.consumeToken(); return this.finish(e3); } @@ -17353,9 +17353,9 @@ } return this.finish(e3, xt.LeftParenthesisExpected, [], [i.ParenthesisL]); }, e2.prototype._parseMediaDeclaration = function(e3) { - return void 0 === e3 && (e3 = false), e3 ? this._tryParseRuleset(true) || this._tryToParseDeclaration() || this._parseStylesheetStatement(true) : this._parseStylesheetStatement(false); + return e3 === void 0 && (e3 = false), e3 ? this._tryParseRuleset(true) || this._tryToParseDeclaration() || this._parseStylesheetStatement(true) : this._parseStylesheetStatement(false); }, e2.prototype._parseMedia = function(e3) { - if (void 0 === e3 && (e3 = false), !this.peekKeyword("@media")) + if (e3 === void 0 && (e3 = false), !this.peekKeyword("@media")) return null; var t2 = this.create(Be); return this.consumeToken(), t2.addChild(this._parseMediaQueryList()) ? this._parseBody(t2, this._parseMediaDeclaration.bind(this, e3)) : this.finish(t2, xt.MediaQueryExpected); @@ -17433,7 +17433,7 @@ for (; ; ) { switch (this.token.type) { case i.SemiColon: - if (0 === n2 && 0 === o2 && 0 === r2) + if (n2 === 0 && o2 === 0 && r2 === 0) break e; break; case i.EOF: @@ -17442,7 +17442,7 @@ t2++, n2++; break; case i.CurlyR: - if (n2--, t2 > 0 && 0 === n2) { + if (n2--, t2 > 0 && n2 === 0) { if (this.consumeToken(), r2 > 0) return this.finish(e3, xt.RightSquareBracketExpected); if (o2 > 0) @@ -17450,7 +17450,7 @@ break e; } if (n2 < 0) { - if (0 === o2 && 0 === r2) + if (o2 === 0 && r2 === 0) break e; return this.finish(e3, xt.LeftCurlyExpected); } @@ -17517,7 +17517,7 @@ return null; }, e2.prototype._parseSimpleSelector = function() { var e3 = this.create(pe), t2 = 0; - for (e3.addChild(this._parseElementName()) && t2++; (0 === t2 || !this.hasWhitespace()) && e3.addChild(this._parseSimpleSelectorBody()); ) + for (e3.addChild(this._parseElementName()) && t2++; (t2 === 0 || !this.hasWhitespace()) && e3.addChild(this._parseSimpleSelectorBody()); ) t2++; return t2 > 0 ? this.finish(e3) : null; }, e2.prototype._parseSimpleSelectorBody = function() { @@ -17581,7 +17581,7 @@ var e3 = this.createNode(J.Prio); return this.accept(i.Exclamation) && this.acceptIdent("important") ? this.finish(e3) : null; }, e2.prototype._parseExpr = function(e3) { - void 0 === e3 && (e3 = false); + e3 === void 0 && (e3 = false); var t2 = this.create(Ge); if (!t2.addChild(this._parseBinaryExpr())) return null; @@ -17680,7 +17680,7 @@ }, e2; }(); function rn(e2, t2) { - return -1 !== e2.indexOf(t2); + return e2.indexOf(t2) !== -1; } function sn() { for (var e2 = [], t2 = 0; t2 < arguments.length; t2++) @@ -17705,7 +17705,7 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), Nn = function() { function e2(e3, t2) { @@ -17716,12 +17716,12 @@ }, e2.prototype.setParent = function(e3) { this.parent = e3; }, e2.prototype.findScope = function(e3, t2) { - return void 0 === t2 && (t2 = 0), this.offset <= e3 && this.offset + this.length > e3 + t2 || this.offset === e3 && this.length === t2 ? this.findInScope(e3, t2) : null; + return t2 === void 0 && (t2 = 0), this.offset <= e3 && this.offset + this.length > e3 + t2 || this.offset === e3 && this.length === t2 ? this.findInScope(e3, t2) : null; }, e2.prototype.findInScope = function(e3, t2) { - void 0 === t2 && (t2 = 0); + t2 === void 0 && (t2 = 0); var n2 = e3 + t2, i2 = function(e4, t3) { var n3 = 0, i3 = e4.length; - if (0 === i3) + if (i3 === 0) return 0; for (; n3 < i3; ) { var o3 = Math.floor((n3 + i3) / 2); @@ -17731,7 +17731,7 @@ }(this.children, function(e4) { return e4.offset > n2; }); - if (0 === i2) + if (i2 === 0) return this; var o2 = this.children[i2 - 1]; return o2.offset <= e3 && o2.offset + o2.length >= e3 + t2 ? o2.findInScope(e3, t2) : this; @@ -17759,12 +17759,12 @@ this.scope = e3; } return e2.prototype.addSymbol = function(e3, t2, n2, i2) { - if (-1 !== e3.offset) { + if (e3.offset !== -1) { var o2 = this.scope.findScope(e3.offset, e3.length); o2 && o2.addSymbol(new On(t2, n2, e3, i2)); } }, e2.prototype.addScope = function(e3) { - if (-1 !== e3.offset) { + if (e3.offset !== -1) { var t2 = this.scope.findScope(e3.offset, e3.length); if (t2 && (t2.offset !== e3.offset || t2.length !== e3.length)) { var n2 = new Nn(e3.offset, e3.length); @@ -17774,7 +17774,7 @@ } return null; }, e2.prototype.addSymbolToChildScope = function(e3, t2, n2, i2, o2) { - if (e3 && -1 !== e3.offset) { + if (e3 && e3.offset !== -1) { var r2 = this.addScope(e3); r2 && r2.addSymbol(new On(n2, i2, t2, o2)); } @@ -17814,7 +17814,7 @@ if (t2) for (var n2 = 0, i2 = e3.getSelectors().getChildren(); n2 < i2.length; n2++) { var o2 = i2[n2]; - o2 instanceof ue && 1 === o2.getChildren().length && t2.addSymbol(new On(o2.getChild(0).getText(), void 0, o2, ee.Rule)); + o2 instanceof ue && o2.getChildren().length === 1 && t2.addSymbol(new On(o2.getChild(0).getText(), void 0, o2, ee.Rule)); } return true; }, e2.prototype.visitVariableDeclarationNode = function(e3) { @@ -17831,7 +17831,7 @@ var t2 = e3.getValue() ? e3.getValue().getText() : ""; return this.addCSSVariable(e3.getProperty(), e3.getProperty().getName(), t2, ee.Variable), true; }, e2.prototype.addCSSVariable = function(e3, t2, n2, i2) { - -1 !== e3.offset && this.scope.addSymbol(new On(t2, n2, e3, i2)); + e3.offset !== -1 && this.scope.addSymbol(new On(t2, n2, e3, i2)); }, e2; }(), An = function() { function e2(e3) { @@ -17879,7 +17879,7 @@ }(e3); if (n2) { var i2 = n2.getNonPrefixedPropertyName(); - if (("animation" === i2 || "animation-name" === i2) && n2.getValue() && n2.getValue().offset === e3.offset) + if ((i2 === "animation" || i2 === "animation-name") && n2.getValue() && n2.getValue().offset === e3.offset) return [ee.Keyframe]; } } else if (e3 instanceof rt) @@ -17900,7 +17900,7 @@ if (!e3.matches(t2.name)) return false; var n2 = this.evaluateReferenceTypes(e3); - return !(!n2 || -1 === n2.indexOf(t2.type)) && this.internalFindSymbol(e3, n2) === t2; + return !(!n2 || n2.indexOf(t2.type) === -1) && this.internalFindSymbol(e3, n2) === t2; }, e2.prototype.findSymbol = function(e3, t2, n2) { for (var i2 = this.global.findScope(n2); i2; ) { var o2 = i2.getSymbol(e3, t2); @@ -17988,7 +17988,7 @@ }(_n || (_n = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return null != t2 && (di.number(t2.value) || di.string(t2.value)) && di.string(t2.target); + return t2 != null && (di.number(t2.value) || di.string(t2.value)) && di.string(t2.target); }; }(vn || (vn = {})), function(e2) { e2.create = function(e3, t2, n2, i2, o2, r2) { @@ -18029,31 +18029,31 @@ }(xn || (xn = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {kind: "create", uri: e3}; - return void 0 === t2 || void 0 === t2.overwrite && void 0 === t2.ignoreIfExists || (n2.options = t2), n2; + return t2 === void 0 || t2.overwrite === void 0 && t2.ignoreIfExists === void 0 || (n2.options = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "create" === t2.kind && di.string(t2.uri) && (void 0 === t2.options || (void 0 === t2.options.overwrite || di.boolean(t2.options.overwrite)) && (void 0 === t2.options.ignoreIfExists || di.boolean(t2.options.ignoreIfExists))); + return t2 && t2.kind === "create" && di.string(t2.uri) && (t2.options === void 0 || (t2.options.overwrite === void 0 || di.boolean(t2.options.overwrite)) && (t2.options.ignoreIfExists === void 0 || di.boolean(t2.options.ignoreIfExists))); }; }(Sn || (Sn = {})), function(e2) { e2.create = function(e3, t2, n2) { var i2 = {kind: "rename", oldUri: e3, newUri: t2}; - return void 0 === n2 || void 0 === n2.overwrite && void 0 === n2.ignoreIfExists || (i2.options = n2), i2; + return n2 === void 0 || n2.overwrite === void 0 && n2.ignoreIfExists === void 0 || (i2.options = n2), i2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "rename" === t2.kind && di.string(t2.oldUri) && di.string(t2.newUri) && (void 0 === t2.options || (void 0 === t2.options.overwrite || di.boolean(t2.options.overwrite)) && (void 0 === t2.options.ignoreIfExists || di.boolean(t2.options.ignoreIfExists))); + return t2 && t2.kind === "rename" && di.string(t2.oldUri) && di.string(t2.newUri) && (t2.options === void 0 || (t2.options.overwrite === void 0 || di.boolean(t2.options.overwrite)) && (t2.options.ignoreIfExists === void 0 || di.boolean(t2.options.ignoreIfExists))); }; }(kn || (kn = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {kind: "delete", uri: e3}; - return void 0 === t2 || void 0 === t2.recursive && void 0 === t2.ignoreIfNotExists || (n2.options = t2), n2; + return t2 === void 0 || t2.recursive === void 0 && t2.ignoreIfNotExists === void 0 || (n2.options = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return t2 && "delete" === t2.kind && di.string(t2.uri) && (void 0 === t2.options || (void 0 === t2.options.recursive || di.boolean(t2.options.recursive)) && (void 0 === t2.options.ignoreIfNotExists || di.boolean(t2.options.ignoreIfNotExists))); + return t2 && t2.kind === "delete" && di.string(t2.uri) && (t2.options === void 0 || (t2.options.recursive === void 0 || di.boolean(t2.options.recursive)) && (t2.options.ignoreIfNotExists === void 0 || di.boolean(t2.options.ignoreIfNotExists))); }; }(En || (En = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return t2 && (void 0 !== t2.changes || void 0 !== t2.documentChanges) && (void 0 === t2.documentChanges || t2.documentChanges.every(function(e4) { + return t2 && (t2.changes !== void 0 || t2.documentChanges !== void 0) && (t2.documentChanges === void 0 || t2.documentChanges.every(function(e4) { return di.string(e4.kind) ? Sn.is(e4) || kn.is(e4) || En.is(e4) : xn.is(e4); })); }; @@ -18090,7 +18090,7 @@ })); } Object.defineProperty(e2.prototype, "edit", {get: function() { - return void 0 === this._workspaceEdit ? {documentChanges: []} : this._workspaceEdit; + return this._workspaceEdit === void 0 ? {documentChanges: []} : this._workspaceEdit; }, enumerable: true, configurable: true}), e2.prototype.getTextEditChange = function(e3) { if (Mn.is(e3)) { if (this._workspaceEdit || (this._workspaceEdit = {documentChanges: []}), !this._workspaceEdit.documentChanges) @@ -18133,7 +18133,7 @@ return {uri: e3, version: t2}; }, e2.is = function(e3) { var t2 = e3; - return di.defined(t2) && di.string(t2.uri) && (null === t2.version || di.number(t2.version)); + return di.defined(t2) && di.string(t2.uri) && (t2.version === null || di.number(t2.version)); }; }(Mn || (Mn = {})), function(e2) { e2.create = function(e3, t2, n2, i2) { @@ -18185,7 +18185,7 @@ }(qn || (qn = {})), function(e2) { e2.is = function(e3) { var t2 = e3; - return !!t2 && di.objectLiteral(t2) && (Wn.is(t2.contents) || qn.is(t2.contents) || di.typedArray(t2.contents, qn.is)) && (void 0 === e3.range || ln.is(e3.range)); + return !!t2 && di.objectLiteral(t2) && (Wn.is(t2.contents) || qn.is(t2.contents) || di.typedArray(t2.contents, qn.is)) && (e3.range === void 0 || ln.is(e3.range)); }; }($n || ($n = {})), function(e2) { e2.create = function(e3, t2) { @@ -18217,28 +18217,28 @@ }(Jn || (Jn = {})), function(e2) { e2.create = function(e3, t2, n2, i2, o2, r2) { var s2 = {name: e3, detail: t2, kind: n2, range: i2, selectionRange: o2}; - return void 0 !== r2 && (s2.children = r2), s2; + return r2 !== void 0 && (s2.children = r2), s2; }, e2.is = function(e3) { var t2 = e3; - return t2 && di.string(t2.name) && di.number(t2.kind) && ln.is(t2.range) && ln.is(t2.selectionRange) && (void 0 === t2.detail || di.string(t2.detail)) && (void 0 === t2.deprecated || di.boolean(t2.deprecated)) && (void 0 === t2.children || Array.isArray(t2.children)) && (void 0 === t2.tags || Array.isArray(t2.tags)); + return t2 && di.string(t2.name) && di.number(t2.kind) && ln.is(t2.range) && ln.is(t2.selectionRange) && (t2.detail === void 0 || di.string(t2.detail)) && (t2.deprecated === void 0 || di.boolean(t2.deprecated)) && (t2.children === void 0 || Array.isArray(t2.children)) && (t2.tags === void 0 || Array.isArray(t2.tags)); }; }(ei || (ei = {})), function(e2) { e2.Empty = "", e2.QuickFix = "quickfix", e2.Refactor = "refactor", e2.RefactorExtract = "refactor.extract", e2.RefactorInline = "refactor.inline", e2.RefactorRewrite = "refactor.rewrite", e2.Source = "source", e2.SourceOrganizeImports = "source.organizeImports", e2.SourceFixAll = "source.fixAll"; }(ti || (ti = {})), function(e2) { e2.create = function(e3, t2) { var n2 = {diagnostics: e3}; - return null != t2 && (n2.only = t2), n2; + return t2 != null && (n2.only = t2), n2; }, e2.is = function(e3) { var t2 = e3; - return di.defined(t2) && di.typedArray(t2.diagnostics, wn.is) && (void 0 === t2.only || di.typedArray(t2.only, di.string)); + return di.defined(t2) && di.typedArray(t2.diagnostics, wn.is) && (t2.only === void 0 || di.typedArray(t2.only, di.string)); }; }(ni || (ni = {})), function(e2) { e2.create = function(e3, t2, n2) { var i2 = {title: e3}; - return yn.is(t2) ? i2.command = t2 : i2.edit = t2, void 0 !== n2 && (i2.kind = n2), i2; + return yn.is(t2) ? i2.command = t2 : i2.edit = t2, n2 !== void 0 && (i2.kind = n2), i2; }, e2.is = function(e3) { var t2 = e3; - return t2 && di.string(t2.title) && (void 0 === t2.diagnostics || di.typedArray(t2.diagnostics, wn.is)) && (void 0 === t2.kind || di.string(t2.kind)) && (void 0 !== t2.edit || void 0 !== t2.command) && (void 0 === t2.command || yn.is(t2.command)) && (void 0 === t2.isPreferred || di.boolean(t2.isPreferred)) && (void 0 === t2.edit || Tn.is(t2.edit)); + return t2 && di.string(t2.title) && (t2.diagnostics === void 0 || di.typedArray(t2.diagnostics, wn.is)) && (t2.kind === void 0 || di.string(t2.kind)) && (t2.edit !== void 0 || t2.command !== void 0) && (t2.command === void 0 || yn.is(t2.command)) && (t2.isPreferred === void 0 || di.boolean(t2.isPreferred)) && (t2.edit === void 0 || Tn.is(t2.edit)); }; }(ii || (ii = {})), function(e2) { e2.create = function(e3, t2) { @@ -18267,7 +18267,7 @@ return {range: e3, parent: t2}; }, e2.is = function(t2) { var n2 = t2; - return void 0 !== n2 && ln.is(n2.range) && (void 0 === n2.parent || e2.is(n2.parent)); + return n2 !== void 0 && ln.is(n2.range) && (n2.parent === void 0 || e2.is(n2.parent)); }; }(ai || (ai = {})); var ci; @@ -18295,7 +18295,7 @@ return t3; }(t2, function(e4, t3) { var n3 = e4.range.start.line - t3.range.start.line; - return 0 === n3 ? e4.range.start.character - t3.range.start.character : n3; + return n3 === 0 ? e4.range.start.character - t3.range.start.character : n3; }), o2 = n2.length, r2 = i2.length - 1; r2 >= 0; r2--) { var s2 = i2[r2], a2 = e3.offsetAt(s2.range.start), l2 = e3.offsetAt(s2.range.end); if (!(l2 <= o2)) @@ -18324,11 +18324,11 @@ }, e2.prototype.update = function(e3, t2) { this._content = e3.text, this._version = t2, this._lineOffsets = void 0; }, e2.prototype.getLineOffsets = function() { - if (void 0 === this._lineOffsets) { + if (this._lineOffsets === void 0) { for (var e3 = [], t2 = this._content, n2 = true, i2 = 0; i2 < t2.length; i2++) { n2 && (e3.push(i2), n2 = false); var o2 = t2.charAt(i2); - n2 = "\r" === o2 || "\n" === o2, "\r" === o2 && i2 + 1 < t2.length && "\n" === t2.charAt(i2 + 1) && i2++; + n2 = o2 === "\r" || o2 === "\n", o2 === "\r" && i2 + 1 < t2.length && t2.charAt(i2 + 1) === "\n" && i2++; } n2 && t2.length > 0 && e3.push(t2.length), this._lineOffsets = e3; } @@ -18336,7 +18336,7 @@ }, e2.prototype.positionAt = function(e3) { e3 = Math.max(Math.min(e3, this._content.length), 0); var t2 = this.getLineOffsets(), n2 = 0, i2 = t2.length; - if (0 === i2) + if (i2 === 0) return an.create(0, e3); for (; n2 < i2; ) { var o2 = Math.floor((n2 + i2) / 2); @@ -18359,19 +18359,19 @@ !function(e2) { var t2 = Object.prototype.toString; e2.defined = function(e3) { - return void 0 !== e3; + return e3 !== void 0; }, e2.undefined = function(e3) { - return void 0 === e3; + return e3 === void 0; }, e2.boolean = function(e3) { - return true === e3 || false === e3; + return e3 === true || e3 === false; }, e2.string = function(e3) { - return "[object String]" === t2.call(e3); + return t2.call(e3) === "[object String]"; }, e2.number = function(e3) { - return "[object Number]" === t2.call(e3); + return t2.call(e3) === "[object Number]"; }, e2.func = function(e3) { - return "[object Function]" === t2.call(e3); + return t2.call(e3) === "[object Function]"; }, e2.objectLiteral = function(e3) { - return null !== e3 && "object" == typeof e3; + return e3 !== null && typeof e3 == "object"; }, e2.typedArray = function(e3, t3) { return Array.isArray(e3) && e3.every(t3); }; @@ -18405,7 +18405,7 @@ else u2.length < 1e4 ? h2.splice.apply(h2, [c2 + 1, d2 - c2].concat(u2)) : this._lineOffsets = h2 = h2.slice(0, c2 + 1).concat(u2, h2.slice(d2 + 1)); var g2 = r2.text.length - (l2 - a2); - if (0 !== g2) + if (g2 !== 0) for (p2 = c2 + 1 + u2.length, m2 = h2.length; p2 < m2; p2++) h2[p2] = h2[p2] + g2; } else { @@ -18416,11 +18416,11 @@ } this._version = n2; }, e2.prototype.getLineOffsets = function() { - return void 0 === this._lineOffsets && (this._lineOffsets = fi(this._content, true)), this._lineOffsets; + return this._lineOffsets === void 0 && (this._lineOffsets = fi(this._content, true)), this._lineOffsets; }, e2.prototype.positionAt = function(e3) { e3 = Math.max(Math.min(e3, this._content.length), 0); var t2 = this.getLineOffsets(), n2 = 0, i2 = t2.length; - if (0 === i2) + if (i2 === 0) return {line: 0, character: e3}; for (; n2 < i2; ) { var o2 = Math.floor((n2 + i2) / 2); @@ -18440,17 +18440,17 @@ return this.getLineOffsets().length; }, enumerable: true, configurable: true}), e2.isIncremental = function(e3) { var t2 = e3; - return null != t2 && "string" == typeof t2.text && void 0 !== t2.range && (void 0 === t2.rangeLength || "number" == typeof t2.rangeLength); + return t2 != null && typeof t2.text == "string" && t2.range !== void 0 && (t2.rangeLength === void 0 || typeof t2.rangeLength == "number"); }, e2.isFull = function(e3) { var t2 = e3; - return null != t2 && "string" == typeof t2.text && void 0 === t2.range && void 0 === t2.rangeLength; + return t2 != null && typeof t2.text == "string" && t2.range === void 0 && t2.rangeLength === void 0; }, e2; }(); function fi(e2, t2, n2) { - void 0 === n2 && (n2 = 0); + n2 === void 0 && (n2 = 0); for (var i2 = t2 ? [n2] : [], o2 = 0; o2 < e2.length; o2++) { var r2 = e2.charCodeAt(o2); - 13 !== r2 && 10 !== r2 || (13 === r2 && o2 + 1 < e2.length && 10 === e2.charCodeAt(o2 + 1) && o2++, i2.push(n2 + o2 + 1)); + r2 !== 13 && r2 !== 10 || (r2 === 13 && o2 + 1 < e2.length && e2.charCodeAt(o2 + 1) === 10 && o2++, i2.push(n2 + o2 + 1)); } return i2; } @@ -18487,7 +18487,7 @@ return t3; }(t2.map(_i), function(e4, t3) { var n3 = e4.range.start.line - t3.range.start.line; - return 0 === n3 ? e4.range.start.character - t3.range.start.character : n3; + return n3 === 0 ? e4.range.start.character - t3.range.start.character : n3; }); r2 < s2.length; r2++) { var a2 = s2[r2], l2 = e3.offsetAt(a2.range.start); if (l2 < i2) @@ -18502,16 +18502,16 @@ var vi = n(144), wi = "/".charCodeAt(0), yi = ".".charCodeAt(0); function Ci(e2) { var t2 = e2.lastIndexOf("/"); - return -1 !== t2 ? e2.substr(0, t2) : ""; + return t2 !== -1 ? e2.substr(0, t2) : ""; } function xi(e2) { for (var t2 = [], n2 = 0, i2 = e2; n2 < i2.length; n2++) { var o2 = i2[n2]; - 0 === o2.length || 1 === o2.length && o2.charCodeAt(0) === yi || (2 === o2.length && o2.charCodeAt(0) === yi && o2.charCodeAt(1) === yi ? t2.pop() : t2.push(o2)); + o2.length === 0 || o2.length === 1 && o2.charCodeAt(0) === yi || (o2.length === 2 && o2.charCodeAt(0) === yi && o2.charCodeAt(1) === yi ? t2.pop() : t2.push(o2)); } - e2.length > 1 && 0 === e2[e2.length - 1].length && t2.push(""); + e2.length > 1 && e2[e2.length - 1].length === 0 && t2.push(""); var r2 = t2.join("/"); - return 0 === e2[0].length && (r2 = "/" + r2), r2; + return e2[0].length === 0 && (r2 = "/" + r2), r2; } function Si(e2) { for (var t2 = [], n2 = 1; n2 < arguments.length; n2++) @@ -18552,7 +18552,7 @@ throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -18578,15 +18578,15 @@ r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -18625,7 +18625,7 @@ case 0: n2 = {items: [], isIncomplete: false}, i2 = 0, o2 = this.literalCompletions, v2.label = 1; case 1: - return i2 < o2.length ? (r2 = o2[i2], s2 = r2.uriValue, "." !== (m2 = Ni(s2)) && ".." !== m2 ? [3, 2] : (n2.isIncomplete = true, [3, 4])) : [3, 5]; + return i2 < o2.length ? (r2 = o2[i2], s2 = r2.uriValue, (m2 = Ni(s2)) !== "." && m2 !== ".." ? [3, 2] : (n2.isIncomplete = true, [3, 4])) : [3, 5]; case 2: return [4, this.providePathSuggestions(s2, r2.position, r2.range, e3, t2)]; case 3: @@ -18637,11 +18637,11 @@ case 5: d2 = 0, h2 = this.importCompletions, v2.label = 6; case 6: - return d2 < h2.length ? (u2 = h2[d2], p2 = u2.pathValue, "." !== (m2 = Ni(p2)) && ".." !== m2 ? [3, 7] : (n2.isIncomplete = true, [3, 9])) : [3, 10]; + return d2 < h2.length ? (u2 = h2[d2], p2 = u2.pathValue, (m2 = Ni(p2)) !== "." && m2 !== ".." ? [3, 7] : (n2.isIncomplete = true, [3, 9])) : [3, 10]; case 7: return [4, this.providePathSuggestions(p2, u2.position, u2.range, e3, t2)]; case 8: - for (g2 = v2.sent(), "scss" === e3.languageId && g2.forEach(function(e4) { + for (g2 = v2.sent(), e3.languageId === "scss" && g2.forEach(function(e4) { Y(e4.label, "_") && Z(e4.label, ".scss") && (e4.textEdit ? e4.textEdit.newText = e4.label.slice(1, -5) : e4.label = e4.label.slice(1, -5)); }), f2 = 0, b2 = g2; f2 < b2.length; f2++) _2 = b2[f2], n2.items.push(_2); @@ -18664,11 +18664,11 @@ return ln.create(i3, o3); }(n2, 1, -1) : n2, d2 = function(e4, t3, n3) { var i3, o3 = e4.lastIndexOf("/"); - if (-1 === o3) + if (o3 === -1) i3 = n3; else { var r3 = t3.slice(o3 + 1), s3 = Di(n3.end, -r3.length), a3 = r3.indexOf(" "), l3 = void 0; - l3 = -1 !== a3 ? Di(s3, a3) : n3.end, i3 = ln.create(s3, l3); + l3 = a3 !== -1 ? Di(s3, a3) : n3.end, i3 = ln.create(s3, l3); } return i3; }(a2, r2, c2), h2 = a2.substring(0, a2.lastIndexOf("/") + 1), !(u2 = o2.resolveReference(h2 || ".", l2))) @@ -18731,7 +18731,7 @@ throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -18757,15 +18757,15 @@ r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -18794,7 +18794,7 @@ }(Ai || (Ai = {})); var Wi = function() { function e2(e3, t2, n2) { - void 0 === e3 && (e3 = null), this.variablePrefix = e3, this.lsOptions = t2, this.cssDataManager = n2, this.completionParticipants = []; + e3 === void 0 && (e3 = null), this.variablePrefix = e3, this.lsOptions = t2, this.cssDataManager = n2, this.completionParticipants = []; } return e2.prototype.configure = function(e3) { this.settings = e3; @@ -18825,7 +18825,7 @@ }, e2.prototype.doComplete = function(e3, t2, n2) { this.offset = e3.offsetAt(t2), this.position = t2, this.currentWord = function(e4, t3) { var n3 = t3 - 1, i3 = e4.getText(); - for (; n3 >= 0 && -1 === ' \n\r":{[()]},*>+'.indexOf(i3.charAt(n3)); ) + for (; n3 >= 0 && ' \n\r":{[()]},*>+'.indexOf(i3.charAt(n3)) === -1; ) n3--; return i3.substring(n3 + 1, t3); }(e3, this.offset), this.defaultReplaceRange = ln.create(an.create(this.position.line, this.position.character - this.currentWord.length), this.position), this.textDocument = e3, this.styleSheet = n2; @@ -18871,7 +18871,7 @@ this.getCompletionsForExtendsReference(r2, null, i2); else if (r2.type === J.URILiteral) this.getCompletionForUriLiteralValue(r2, i2); - else if (null === r2.parent) + else if (r2.parent === null) this.getCompletionForTopLevel(i2); else { if (r2.type !== J.StringLiteral || !this.isImportPathParent(r2.parent.type)) @@ -18881,7 +18881,7 @@ if (i2.items.length > 0 || this.offset > r2.offset) return this.finalize(i2); } - return this.getCompletionsForStylesheet(i2), 0 === i2.items.length && this.variablePrefix && 0 === this.currentWord.indexOf(this.variablePrefix) && this.getVariableProposals(null, i2), this.finalize(i2); + return this.getCompletionsForStylesheet(i2), i2.items.length === 0 && this.variablePrefix && this.currentWord.indexOf(this.variablePrefix) === 0 && this.getVariableProposals(null, i2), this.finalize(i2); } finally { this.position = null, this.currentWord = null, this.textDocument = null, this.styleSheet = null, this.symbolContext = null, this.defaultReplaceRange = null, this.nodePath = null; } @@ -18894,7 +18894,7 @@ e3[t2] = arguments[t2]; for (var n2 = this.nodePath.length - 1; n2 >= 0; n2--) { var i2 = this.nodePath[n2]; - if (-1 !== e3.indexOf(i2.type)) + if (e3.indexOf(i2.type) !== -1) return i2; } return null; @@ -18907,15 +18907,15 @@ e3 ? (s2 = n2.getCompletionRange(e3.getProperty()), a2 = r2.name, tn(e3.colonPosition) || (a2 += ": ", l2 = true)) : (s2 = n2.getCompletionRange(null), a2 = r2.name + ": ", l2 = true), !e3 && o2 && (a2 += "$0;"), e3 && !e3.semicolonPosition && o2 && n2.offset >= n2.textDocument.offsetAt(s2.end) && (a2 += "$0;"); var c2 = {label: r2.name, documentation: Et(r2, n2.doesSupportMarkdown()), tags: zi(r2) ? [jn.Deprecated] : [], textEdit: Cn.replace(s2, a2), insertTextFormat: Bn.Snippet, kind: zn.Property}; r2.restrictions || (l2 = false), i2 && l2 && (c2.command = {title: "Suggest", command: "editor.action.triggerSuggest"}); - var d2 = (255 - ("number" == typeof r2.relevance ? Math.min(Math.max(r2.relevance, 0), 99) : 50)).toString(16), h2 = Y(r2.name, "-") ? Ai.VendorPrefixed : Ai.Normal; + var d2 = (255 - (typeof r2.relevance == "number" ? Math.min(Math.max(r2.relevance, 0), 99) : 50)).toString(16), h2 = Y(r2.name, "-") ? Ai.VendorPrefixed : Ai.Normal; c2.sortText = h2 + "_" + d2, t2.items.push(c2); }), this.completionParticipants.forEach(function(e4) { e4.onCssProperty && e4.onCssProperty({propertyName: n2.currentWord, range: n2.defaultReplaceRange}); }), t2; }, Object.defineProperty(e2.prototype, "isTriggerPropertyValueCompletionEnabled", {get: function() { - return !this.settings || !this.settings.completion || void 0 === this.settings.completion.triggerPropertyValueCompletion || this.settings.completion.triggerPropertyValueCompletion; + return !this.settings || !this.settings.completion || this.settings.completion.triggerPropertyValueCompletion === void 0 || this.settings.completion.triggerPropertyValueCompletion; }, enumerable: true, configurable: true}), Object.defineProperty(e2.prototype, "isCompletePropertyWithSemicolonEnabled", {get: function() { - return !this.settings || !this.settings.completion || void 0 === this.settings.completion.completePropertyWithSemicolon || this.settings.completion.completePropertyWithSemicolon; + return !this.settings || !this.settings.completion || this.settings.completion.completePropertyWithSemicolon === void 0 || this.settings.completion.completePropertyWithSemicolon; }, enumerable: true, configurable: true}), e2.prototype.getCompletionsForDeclarationValue = function(e3, t2) { for (var n2 = this, i2 = e3.getFullPropertyName(), o2 = this.cssDataManager.getProperty(i2), r2 = e3.getValue() || null; r2 && r2.hasChildren(); ) r2 = r2.findChildAtOffset(this.offset, false); @@ -18984,7 +18984,7 @@ var r2 = o2[i2], s2 = r2.name, a2 = void 0; if (Z(s2, ")")) { var l2 = s2.lastIndexOf("("); - -1 !== l2 && (s2 = s2.substr(0, l2) + "($1)", a2 = Fi); + l2 !== -1 && (s2 = s2.substr(0, l2) + "($1)", a2 = Fi); } var c2 = Ai.Enums; Y(r2.name, "-") && (c2 += Ai.VendorPrefixed); @@ -19001,7 +19001,7 @@ }, e2.prototype.getVariableProposals = function(e3, t2) { for (var n2 = 0, i2 = this.getSymbolContext().findSymbolsAtOffset(this.offset, ee.Variable); n2 < i2.length; n2++) { var o2 = i2[n2], r2 = Y(o2.name, "--") ? "var(" + o2.name + ")" : o2.name, s2 = {label: o2.name, documentation: o2.value ? X(o2.value) : o2.value, textEdit: Cn.replace(this.getCompletionRange(e3), r2), kind: zn.Variable, sortText: Ai.Variable}; - if ("string" == typeof s2.documentation && Ui(s2.documentation) && (s2.kind = zn.Color), o2.node.type === J.FunctionParameter) { + if (typeof s2.documentation == "string" && Ui(s2.documentation) && (s2.kind = zn.Color), o2.node.type === J.FunctionParameter) { var a2 = o2.node.getParent(); a2.type === J.MixinDeclaration && (s2.detail = Pi("completion.argument", "argument from '{0}'", a2.getName())); } @@ -19013,7 +19013,7 @@ return Y(e4.name, "--"); }); n2 < i2.length; n2++) { var o2 = i2[n2], r2 = {label: o2.name, documentation: o2.value ? X(o2.value) : o2.value, textEdit: Cn.replace(this.getCompletionRange(null), o2.name), kind: zn.Variable}; - "string" == typeof r2.documentation && Ui(r2.documentation) && (r2.kind = zn.Color), e3.items.push(r2); + typeof r2.documentation == "string" && Ui(r2.documentation) && (r2.kind = zn.Color), e3.items.push(r2); } return e3; }, e2.prototype.getUnitProposals = function(e3, t2, n2) { @@ -19022,7 +19022,7 @@ var o2 = this.currentWord.match(/^-?\d[\.\d+]*/); o2 && (i2 = o2[0], n2.isIncomplete = i2.length === this.currentWord.length); } else - 0 === this.currentWord.length && (n2.isIncomplete = true); + this.currentWord.length === 0 && (n2.isIncomplete = true); if (t2 && t2.parent && t2.parent.type === J.Term && (t2 = t2.getParent()), e3.restrictions) for (var r2 = 0, s2 = e3.restrictions; r2 < s2.length; r2++) { var a2 = s2[r2], l2 = Zt[a2]; @@ -19035,7 +19035,7 @@ return n2; }, e2.prototype.getCompletionRange = function(e3) { if (e3 && e3.offset <= this.offset && this.offset <= e3.end) { - var t2 = -1 !== e3.end ? this.textDocument.positionAt(e3.end) : this.position, n2 = this.textDocument.positionAt(e3.offset); + var t2 = e3.end !== -1 ? this.textDocument.positionAt(e3.end) : this.position, n2 = this.textDocument.positionAt(e3.offset); if (n2.line === t2.line) return ln.create(n2, t2); } @@ -19117,7 +19117,7 @@ return n2 && n2.endsWith("}") && this.offset >= n2.end ? this.getCompletionForTopLevel(t2) : !n2 || this.offset <= n2.offset ? this.getCompletionsForSelector(e3, e3.isNested(), t2) : this.getCompletionsForDeclarations(e3.getDeclarations(), t2); }, e2.prototype.getCompletionsForSelector = function(e3, t2, n2) { var i2 = this, o2 = this.findInNodePath(J.PseudoSelector, J.IdentifierSelector, J.ClassSelector, J.ElementNameSelector); - if (!o2 && this.offset - this.currentWord.length > 0 && ":" === this.textDocument.getText()[this.offset - this.currentWord.length - 1] && (this.currentWord = ":" + this.currentWord, this.defaultReplaceRange = ln.create(an.create(this.position.line, this.position.character - this.currentWord.length), this.position)), this.cssDataManager.getPseudoClasses().forEach(function(e4) { + if (!o2 && this.offset - this.currentWord.length > 0 && this.textDocument.getText()[this.offset - this.currentWord.length - 1] === ":" && (this.currentWord = ":" + this.currentWord, this.defaultReplaceRange = ln.create(an.create(this.position.line, this.position.character - this.currentWord.length), this.position)), this.cssDataManager.getPseudoClasses().forEach(function(e4) { var t3 = ji(e4.name), r3 = {label: e4.name, textEdit: Cn.replace(i2.getCompletionRange(o2), t3), documentation: Et(e4, i2.doesSupportMarkdown()), tags: zi(e4) ? [jn.Deprecated] : [], kind: zn.Function, insertTextFormat: e4.name !== t3 ? Fi : void 0}; Y(e4.name, ":-") && (r3.sortText = Ai.VendorPrefixed), n2.items.push(r3); }), this.cssDataManager.getPseudoElements().forEach(function(e4) { @@ -19139,12 +19139,12 @@ if (this.styleSheet.accept(function(e4) { if (e4.type === J.SimpleSelector && e4.length > 0) { var t3 = h2.substr(e4.offset, e4.length); - return "." !== t3.charAt(0) || d2[t3] || (d2[t3] = true, n2.items.push({label: t3, textEdit: Cn.replace(i2.getCompletionRange(o2), t3), kind: zn.Keyword})), false; + return t3.charAt(0) !== "." || d2[t3] || (d2[t3] = true, n2.items.push({label: t3, textEdit: Cn.replace(i2.getCompletionRange(o2), t3), kind: zn.Keyword})), false; } return true; }), e3 && e3.isNested()) { var u2 = e3.getSelectors().findFirstChildBeforeOffset(this.offset); - u2 && 0 === e3.getSelectors().getChildren().indexOf(u2) && this.getPropertyProposals(null, n2); + u2 && e3.getSelectors().getChildren().indexOf(u2) === 0 && this.getPropertyProposals(null, n2); } return n2; }, e2.prototype.getCompletionsForDeclarations = function(e3, t2) { @@ -19162,7 +19162,7 @@ if (i2 instanceof _e) return this.getCompletionsForDeclarationValue(i2, t2); } else - n2 instanceof st ? this.getCompletionsForExtendsReference(n2, null, t2) : (this.currentWord && "@" === this.currentWord[0] || n2 instanceof he) && this.getCompletionsForDeclarationProperty(null, t2); + n2 instanceof st ? this.getCompletionsForExtendsReference(n2, null, t2) : (this.currentWord && this.currentWord[0] === "@" || n2 instanceof he) && this.getCompletionsForDeclarationProperty(null, t2); return t2; }, e2.prototype.getCompletionsForVariableDeclaration = function(e3, t2) { return this.offset && tn(e3.colonPosition) && this.offset > e3.colonPosition && this.getVariableProposals(e3.getValue(), t2), t2; @@ -19245,14 +19245,14 @@ if (!tn(this.supportsMarkdown)) { if (!tn(this.lsOptions.clientCapabilities)) return this.supportsMarkdown = true, this.supportsMarkdown; - var i2 = null === (n2 = null === (t2 = null === (e3 = this.lsOptions.clientCapabilities.textDocument) || void 0 === e3 ? void 0 : e3.completion) || void 0 === t2 ? void 0 : t2.completionItem) || void 0 === n2 ? void 0 : n2.documentationFormat; - this.supportsMarkdown = Array.isArray(i2) && -1 !== i2.indexOf(Fn.Markdown); + var i2 = (n2 = (t2 = (e3 = this.lsOptions.clientCapabilities.textDocument) === null || e3 === void 0 ? void 0 : e3.completion) === null || t2 === void 0 ? void 0 : t2.completionItem) === null || n2 === void 0 ? void 0 : n2.documentationFormat; + this.supportsMarkdown = Array.isArray(i2) && i2.indexOf(Fn.Markdown) !== -1; } return this.supportsMarkdown; }, e2; }(); function zi(e2) { - return !(!e2.status || "nonstandard" !== e2.status && "obsolete" !== e2.status); + return !(!e2.status || e2.status !== "nonstandard" && e2.status !== "obsolete"); } var Bi = function() { function e2() { @@ -19291,7 +19291,7 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), $i = wt(), Ki = function() { function e2() { @@ -19324,7 +19324,7 @@ }, e2.prototype.removeChild = function(e3) { if (this.children) { var t2 = this.children.indexOf(e3); - if (-1 !== t2) + if (t2 !== -1) return this.children.splice(t2, 1), true; } return false; @@ -19337,7 +19337,7 @@ } this.attributes.push({name: e3, value: t2}); }, e2.prototype.clone = function(t2) { - void 0 === t2 && (t2 = true); + t2 === void 0 && (t2 = true); var n2 = new e2(); if (this.attributes) { n2.attributes = []; @@ -19359,7 +19359,7 @@ }, e2; }(), Gi = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return qi(t2, e2), t2; }(Ki), Yi = function(e2) { @@ -19384,14 +19384,14 @@ this.result.push(n2 + t2); }, e2.prototype.doPrintElement = function(e3, t2) { var n2 = e3.findAttribute("name"); - if (e3 instanceof Yi || "…" === n2) + if (e3 instanceof Yi || n2 === "\u2026") this.writeLine(t2, n2); else { var i2 = ["<"]; if (n2 ? i2.push(n2) : i2.push("element"), e3.attributes) for (var o2 = 0, r2 = e3.attributes; o2 < r2.length; o2++) { var s2 = r2[o2]; - if ("name" !== s2.name) { + if (s2.name !== "name") { i2.push(" "), i2.push(s2.name); var a2 = s2.value; a2 && (i2.push("="), i2.push(Hi.ensure(a2, this.quote))); @@ -19420,7 +19420,7 @@ case J.SelectorCombinator: if (t2) { var s2 = r2.getText().split("&"); - if (1 === s2.length) { + if (s2.length === 1) { n2.addAttr("name", s2[0]); break; } @@ -19440,7 +19440,7 @@ return n2; case J.ElementNameSelector: var c2 = r2.getText(); - n2.addAttr("name", "*" === c2 ? "element" : Ji(c2)); + n2.addAttr("name", c2 === "*" ? "element" : Ji(c2)); break; case J.ClassSelector: n2.addAttr("class", Ji(r2.getText().substring(1))); @@ -19461,19 +19461,19 @@ if (u2 && p2) switch (Ji(p2.getText())) { case "|=": - m2 = Hi.remove(Ji(u2.getText())) + "-…"; + m2 = Hi.remove(Ji(u2.getText())) + "-\u2026"; break; case "^=": - m2 = Hi.remove(Ji(u2.getText())) + "…"; + m2 = Hi.remove(Ji(u2.getText())) + "\u2026"; break; case "$=": - m2 = "…" + Hi.remove(Ji(u2.getText())); + m2 = "\u2026" + Hi.remove(Ji(u2.getText())); break; case "~=": - m2 = " … " + Hi.remove(Ji(u2.getText())) + " … "; + m2 = " \u2026 " + Hi.remove(Ji(u2.getText())) + " \u2026 "; break; case "*=": - m2 = "…" + Hi.remove(Ji(u2.getText())) + "…"; + m2 = "\u2026" + Hi.remove(Ji(u2.getText())) + "\u2026"; break; default: m2 = Hi.remove(Ji(u2.getText())); @@ -19573,11 +19573,11 @@ var r2 = o2[i2]; if (r2 instanceof pe) { if (this.prev instanceof pe) { - var s2 = new Yi("…"); + var s2 = new Yi("\u2026"); this.element.addChild(s2), this.element = s2; } else this.prev && (this.prev.matches("+") || this.prev.matches("~")) && this.element.parent && (this.element = this.element.parent); - this.prev && this.prev.matches("~") && (this.element.addChild(Qi(r2)), this.element.addChild(new Yi("⋮"))); + this.prev && this.prev.matches("~") && (this.element.addChild(Qi(r2)), this.element.addChild(new Yi("\u22EE"))); var a2 = Qi(r2, t2), l2 = a2.findRoot(); this.element.addChild(l2), this.element = a2; } @@ -19619,21 +19619,21 @@ (d2 = this.cssDataManager.getAtDirective(c2)) && (r2 = (h2 = Et(d2, this.doesSupportMarkdown())) ? {contents: h2, range: i2(a2)} : null); } else if (a2 instanceof re && a2.type === J.PseudoSelector) { var d2, h2, u2 = a2.getText(); - (d2 = "::" === u2.slice(0, 2) ? this.cssDataManager.getPseudoElement(u2) : this.cssDataManager.getPseudoClass(u2)) && (r2 = (h2 = Et(d2, this.doesSupportMarkdown())) ? {contents: h2, range: i2(a2)} : null); + (d2 = u2.slice(0, 2) === "::" ? this.cssDataManager.getPseudoElement(u2) : this.cssDataManager.getPseudoClass(u2)) && (r2 = (h2 = Et(d2, this.doesSupportMarkdown())) ? {contents: h2, range: i2(a2)} : null); } else ; } return r2 && (r2.contents = this.convertContents(r2.contents)), r2; }, e2.prototype.convertContents = function(e3) { - return this.doesSupportMarkdown() || "string" == typeof e3 ? e3 : "kind" in e3 ? {kind: "plaintext", value: e3.value} : Array.isArray(e3) ? e3.map(function(e4) { - return "string" == typeof e4 ? e4 : e4.value; + return this.doesSupportMarkdown() || typeof e3 == "string" ? e3 : "kind" in e3 ? {kind: "plaintext", value: e3.value} : Array.isArray(e3) ? e3.map(function(e4) { + return typeof e4 == "string" ? e4 : e4.value; }) : e3.value; }, e2.prototype.doesSupportMarkdown = function() { if (!tn(this.supportsMarkdown)) { if (!tn(this.clientCapabilities)) return this.supportsMarkdown = true, this.supportsMarkdown; var e3 = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.hover; - this.supportsMarkdown = e3 && e3.contentFormat && Array.isArray(e3.contentFormat) && -1 !== e3.contentFormat.indexOf(Fn.Markdown); + this.supportsMarkdown = e3 && e3.contentFormat && Array.isArray(e3.contentFormat) && e3.contentFormat.indexOf(Fn.Markdown) !== -1; } return this.supportsMarkdown; }, e2; @@ -19667,7 +19667,7 @@ throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -19693,15 +19693,15 @@ r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -19773,7 +19773,7 @@ case 1: return r2 < s2.length ? (a2 = s2[r2], !(l2 = a2.target) || /^\w+:\/\//g.test(l2) ? [3, 3] : [4, this.resolveRelativeReference(l2, e3.uri, n2)]) : [3, 5]; case 2: - return void 0 !== (c2 = d2.sent()) && (a2.target = c2, o2.push(a2)), [3, 4]; + return (c2 = d2.sent()) !== void 0 && (a2.target = c2, o2.push(a2)), [3, 4]; case 3: o2.push(a2), d2.label = 4; case 4: @@ -19836,7 +19836,7 @@ }), n2; }, e2.prototype.getColorPresentations = function(e3, t2, n2, i2) { var o2, r2 = [], s2 = Math.round(255 * n2.red), a2 = Math.round(255 * n2.green), l2 = Math.round(255 * n2.blue); - o2 = 1 === n2.alpha ? "rgb(" + s2 + ", " + a2 + ", " + l2 + ")" : "rgba(" + s2 + ", " + a2 + ", " + l2 + ", " + n2.alpha + ")", r2.push({label: o2, textEdit: Cn.replace(i2, o2)}), o2 = 1 === n2.alpha ? "#" + ho(s2) + ho(a2) + ho(l2) : "#" + ho(s2) + ho(a2) + ho(l2) + ho(Math.round(255 * n2.alpha)), r2.push({label: o2, textEdit: Cn.replace(i2, o2)}); + o2 = n2.alpha === 1 ? "rgb(" + s2 + ", " + a2 + ", " + l2 + ")" : "rgba(" + s2 + ", " + a2 + ", " + l2 + ", " + n2.alpha + ")", r2.push({label: o2, textEdit: Cn.replace(i2, o2)}), o2 = n2.alpha === 1 ? "#" + ho(s2) + ho(a2) + ho(l2) : "#" + ho(s2) + ho(a2) + ho(l2) + ho(Math.round(255 * n2.alpha)), r2.push({label: o2, textEdit: Cn.replace(i2, o2)}); var c2 = function(e4) { var t3 = e4.red, n3 = e4.green, i3 = e4.blue, o3 = e4.alpha, r3 = Math.max(t3, n3, i3), s3 = Math.min(t3, n3, i3), a3 = 0, l3 = 0, c3 = (s3 + r3) / 2, d2 = r3 - s3; if (d2 > 0) { @@ -19854,7 +19854,7 @@ } return {h: a3, s: l3, l: c3, a: o3}; }(n2); - return o2 = 1 === c2.a ? "hsl(" + c2.h + ", " + Math.round(100 * c2.s) + "%, " + Math.round(100 * c2.l) + "%)" : "hsla(" + c2.h + ", " + Math.round(100 * c2.s) + "%, " + Math.round(100 * c2.l) + "%, " + c2.a + ")", r2.push({label: o2, textEdit: Cn.replace(i2, o2)}), r2; + return o2 = c2.a === 1 ? "hsl(" + c2.h + ", " + Math.round(100 * c2.s) + "%, " + Math.round(100 * c2.l) + "%)" : "hsla(" + c2.h + ", " + Math.round(100 * c2.s) + "%, " + Math.round(100 * c2.l) + "%, " + c2.a + ")", r2.push({label: o2, textEdit: Cn.replace(i2, o2)}), r2; }, e2.prototype.doRename = function(e3, t2, n2, i2) { var o2, r2 = this.findDocumentHighlights(e3, t2, i2).map(function(e4) { return Cn.replace(e4.range, n2); @@ -19866,8 +19866,8 @@ return ro(this, function(l2) { switch (l2.label) { case 0: - return "~" === e3[0] && "/" !== e3[1] && this.fileSystemProvider ? (e3 = e3.substring(1), Y(t2, "file://") ? (i2 = function(e4) { - if ("@" === e4[0]) + return e3[0] === "~" && e3[1] !== "/" && this.fileSystemProvider ? (e3 = e3.substring(1), Y(t2, "file://") ? (i2 = function(e4) { + if (e4[0] === "@") return e4.substring(0, e4.indexOf("/", e4.indexOf("/") + 1)); return e4.substring(0, e4.indexOf("/")); }(e3), o2 = n2.resolveReference("/", t2), r2 = Ci(t2), [4, this.resolvePathToModule(i2, r2, o2)]) : [3, 2]) : [3, 3]; @@ -19905,7 +19905,7 @@ case 1: return n2.trys.push([1, 3, , 4]), [4, this.fileSystemProvider.stat(e3)]; case 2: - return (t2 = n2.sent()).type === mi.Unknown && -1 === t2.size ? [2, false] : [2, true]; + return (t2 = n2.sent()).type === mi.Unknown && t2.size === -1 ? [2, false] : [2, true]; case 3: return n2.sent(), [2, false]; case 4: @@ -19936,7 +19936,7 @@ } function ho(e2) { var t2 = e2.toString(16); - return 2 !== t2.length ? "0" + t2 : t2; + return t2.length !== 2 ? "0" + t2 : t2; } var uo = wt(), po = oe.Warning, mo = oe.Error, go = oe.Ignore, fo = function(e2, t2, n2) { this.id = e2, this.message = t2, this.defaultValue = n2; @@ -19944,7 +19944,7 @@ this.id = e2, this.message = t2, this.defaultValue = n2; }, _o = {AllVendorPrefixes: new fo("compatibleVendorPrefixes", uo("rule.vendorprefixes.all", "When using a vendor-specific prefix make sure to also include all other vendor-specific properties"), go), IncludeStandardPropertyWhenUsingVendorPrefix: new fo("vendorPrefix", uo("rule.standardvendorprefix.all", "When using a vendor-specific prefix also include the standard property"), po), DuplicateDeclarations: new fo("duplicateProperties", uo("rule.duplicateDeclarations", "Do not use duplicate style definitions"), go), EmptyRuleSet: new fo("emptyRules", uo("rule.emptyRuleSets", "Do not use empty rulesets"), po), ImportStatemement: new fo("importStatement", uo("rule.importDirective", "Import statements do not load in parallel"), go), BewareOfBoxModelSize: new fo("boxModel", uo("rule.bewareOfBoxModelSize", "Do not use width or height when using padding or border"), go), UniversalSelector: new fo("universalSelector", uo("rule.universalSelector", "The universal selector (*) is known to be slow"), go), ZeroWithUnit: new fo("zeroUnits", uo("rule.zeroWidthUnit", "No unit for zero needed"), go), RequiredPropertiesForFontFace: new fo("fontFaceProperties", uo("rule.fontFaceProperties", "@font-face rule must define 'src' and 'font-family' properties"), po), HexColorLength: new fo("hexColorLength", uo("rule.hexColor", "Hex colors must consist of three, four, six or eight hex numbers"), mo), ArgsInColorFunction: new fo("argumentsInColorFunction", uo("rule.colorFunction", "Invalid number of parameters"), mo), UnknownProperty: new fo("unknownProperties", uo("rule.unknownProperty", "Unknown property."), po), UnknownAtRules: new fo("unknownAtRules", uo("rule.unknownAtRules", "Unknown at-rule."), po), IEStarHack: new fo("ieHack", uo("rule.ieHack", "IE hacks are only necessary when supporting IE7 and older"), go), UnknownVendorSpecificProperty: new fo("unknownVendorSpecificProperties", uo("rule.unknownVendorSpecificProperty", "Unknown vendor specific property."), go), PropertyIgnoredDueToDisplay: new fo("propertyIgnoredDueToDisplay", uo("rule.propertyIgnoredDueToDisplay", "Property is ignored due to the display."), po), AvoidImportant: new fo("important", uo("rule.avoidImportant", "Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."), go), AvoidFloat: new fo("float", uo("rule.avoidFloat", "Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."), go), AvoidIdSelector: new fo("idSelector", uo("rule.avoidIdSelector", "Selectors should not contain IDs because these rules are too tightly coupled with the HTML."), go)}, vo = {ValidProperties: new bo("validProperties", uo("rule.validProperties", "A list of properties that are not validated against the `unknownProperties` rule."), [])}, wo = function() { function e2(e3) { - void 0 === e3 && (e3 = {}), this.conf = e3; + e3 === void 0 && (e3 = {}), this.conf = e3; } return e2.prototype.getRule = function(e3) { if (this.conf.hasOwnProperty(e3.id)) { @@ -19988,7 +19988,7 @@ var o2 = t2.getName(), r2 = []; this.cssDataManager.getProperties().forEach(function(e4) { var t3 = function(e5, t4, n3) { - void 0 === n3 && (n3 = 4); + n3 === void 0 && (n3 = 4); var i3 = Math.abs(e5.length - t4.length); if (i3 > n3) return 0; @@ -20030,7 +20030,7 @@ o2.value = n2, n2 && (rn(o2.properties, i2) || o2.properties.push(i2)); } function ko(e2, t2, n2, i2) { - "top" === t2 || "right" === t2 || "bottom" === t2 || "left" === t2 ? So(e2, t2, n2, i2) : function(e3, t3, n3) { + t2 === "top" || t2 === "right" || t2 === "bottom" || t2 === "left" ? So(e2, t2, n2, i2) : function(e3, t3, n3) { So(e3, "top", t3, n3), So(e3, "right", t3, n3), So(e3, "bottom", t3, n3), So(e3, "left", t3, n3); }(e2, n2, i2); } @@ -20058,24 +20058,24 @@ return false; } function Lo(e2, t2) { - return void 0 === t2 && (t2 = true), (!t2 || !To(e2, ["initial", "unset"])) && 0 !== parseFloat(e2.getText()); + return t2 === void 0 && (t2 = true), (!t2 || !To(e2, ["initial", "unset"])) && parseFloat(e2.getText()) !== 0; } function No(e2, t2) { - return void 0 === t2 && (t2 = true), e2.map(function(e3) { + return t2 === void 0 && (t2 = true), e2.map(function(e3) { return Lo(e3, t2); }); } function Io(e2, t2) { - return void 0 === t2 && (t2 = true), !To(e2, ["none", "hidden"]) && (!t2 || !To(e2, ["initial", "unset"])); + return t2 === void 0 && (t2 = true), !To(e2, ["none", "hidden"]) && (!t2 || !To(e2, ["initial", "unset"])); } function Oo(e2, t2) { - return void 0 === t2 && (t2 = true), e2.map(function(e3) { + return t2 === void 0 && (t2 = true), e2.map(function(e3) { return Io(e3, t2); }); } function Do(e2) { var t2 = e2.getChildren(); - if (1 === t2.length) + if (t2.length === 1) return Lo(o2 = t2[0]) && Io(o2); for (var n2 = 0, i2 = t2; n2 < i2.length; n2++) { var o2; @@ -20098,7 +20098,7 @@ this.cssDataManager = n2, this.warnings = [], this.settings = t2, this.documentText = e3.getText(), this.keyframes = new Ro(), this.validProperties = {}; var o2 = t2.getSetting(vo.ValidProperties); Array.isArray(o2) && o2.forEach(function(e4) { - if ("string" == typeof e4) { + if (typeof e4 == "string") { var t3 = e4.trim().toLowerCase(); t3.length && (i2.validProperties[t3] = true); } @@ -20131,8 +20131,8 @@ return e4.type === J.Identifier && e4.matches(t2) && (n2 = true), !n2; }), n2; }, e2.prototype.getEntries = function(e3) { - return void 0 === e3 && (e3 = oe.Warning | oe.Error), this.warnings.filter(function(t2) { - return 0 != (t2.getLevel() & e3); + return e3 === void 0 && (e3 = oe.Warning | oe.Error), this.warnings.filter(function(t2) { + return (t2.getLevel() & e3) != 0; }); }, e2.prototype.addEntry = function(e3, t2, n2) { var i2 = new ft(e3, t2, this.settings.getRule(t2), n2); @@ -20140,12 +20140,12 @@ }, e2.prototype.getMissingNames = function(e3, t2) { for (var n2 = e3.slice(0), i2 = 0; i2 < t2.length; i2++) { var o2 = n2.indexOf(t2[i2]); - -1 !== o2 && (n2[o2] = null); + o2 !== -1 && (n2[o2] = null); } var r2 = null; for (i2 = 0; i2 < n2.length; i2++) { var s2 = n2[i2]; - s2 && (r2 = null === r2 ? Ao("namelist.single", "'{0}'", s2) : Ao("namelist.concatenated", "{0}, '{1}'", r2, s2)); + s2 && (r2 = r2 === null ? Ao("namelist.single", "'{0}'", s2) : Ao("namelist.concatenated", "{0}, '{1}'", r2, s2)); } return r2; }, e2.prototype.visitNode = function(e3) { @@ -20182,12 +20182,12 @@ if (!t2) return false; var n2 = t2.getText(); - return this.keyframes.add(e3.getName(), n2, "@keyframes" !== n2 ? t2 : null), true; + return this.keyframes.add(e3.getName(), n2, n2 !== "@keyframes" ? t2 : null), true; }, e2.prototype.validateKeyframes = function() { var e3 = ["@-webkit-keyframes", "@-moz-keyframes", "@-o-keyframes"]; for (var t2 in this.keyframes.data) { - var n2 = this.keyframes.data[t2].names, i2 = -1 === n2.indexOf("@keyframes"); - if (i2 || 1 !== n2.length) { + var n2 = this.keyframes.data[t2].names, i2 = n2.indexOf("@keyframes") === -1; + if (i2 || n2.length !== 1) { var o2 = this.getMissingNames(e3, n2); if (o2 || i2) for (var r2 = 0, s2 = this.keyframes.data[t2].nodes; r2 < s2.length; r2++) { @@ -20206,7 +20206,7 @@ return true; }, e2.prototype.visitSimpleSelector = function(e3) { var t2 = this.documentText.charAt(e3.offset); - return 1 === e3.length && "*" === t2 && this.addEntry(e3, _o.UniversalSelector), "#" === t2 && this.addEntry(e3, _o.AvoidIdSelector), true; + return e3.length === 1 && t2 === "*" && this.addEntry(e3, _o.UniversalSelector), t2 === "#" && this.addEntry(e3, _o.AvoidIdSelector), true; }, e2.prototype.visitImport = function(e3) { return this.addEntry(e3, _o.ImportStatemement), true; }, e2.prototype.visitRuleSet = function(t2) { @@ -20220,7 +20220,7 @@ var s2 = function(e3) { for (var t3 = {top: {value: false, properties: []}, right: {value: false, properties: []}, bottom: {value: false, properties: []}, left: {value: false, properties: []}}, n3 = 0, i3 = e3; n3 < i3.length; n3++) { var o3 = i3[n3], r3 = o3.node.value; - if (void 0 !== r3) + if (r3 !== void 0) switch (o3.fullPropertyName) { case "box-sizing": return {top: {value: false, properties: []}, right: {value: false, properties: []}, bottom: {value: false, properties: []}, left: {value: false, properties: []}}; @@ -20259,7 +20259,7 @@ } break; case "padding": - 1 === s3.length ? Eo(t3, No(r3.getChildren(), true), o3) : ko(t3, s3[1], Lo(r3, true), o3); + s3.length === 1 ? Eo(t3, No(r3.getChildren(), true), o3) : ko(t3, s3[1], Lo(r3, true), o3); } } } @@ -20267,7 +20267,7 @@ }(i2); if (s2.width) { var a2 = []; - if (s2.right.value && (a2 = sn(a2, s2.right.properties)), s2.left.value && (a2 = sn(a2, s2.left.properties)), 0 !== a2.length) { + if (s2.right.value && (a2 = sn(a2, s2.right.properties)), s2.left.value && (a2 = sn(a2, s2.left.properties)), a2.length !== 0) { for (var l2 = 0, c2 = a2; l2 < c2.length; l2++) { var d2 = c2[l2]; this.addEntry(d2.node, _o.BewareOfBoxModelSize); @@ -20277,7 +20277,7 @@ } if (s2.height) { a2 = []; - if (s2.top.value && (a2 = sn(a2, s2.top.properties)), s2.bottom.value && (a2 = sn(a2, s2.bottom.properties)), 0 !== a2.length) { + if (s2.top.value && (a2 = sn(a2, s2.top.properties)), s2.bottom.value && (a2 = sn(a2, s2.bottom.properties)), a2.length !== 0) { for (var h2 = 0, u2 = a2; h2 < u2.length; h2++) { d2 = u2[h2]; this.addEntry(d2.node, _o.BewareOfBoxModelSize); @@ -20290,7 +20290,7 @@ for (var m2 = 0, g2 = ["width", "height", "margin-top", "margin-bottom", "float"]; m2 < g2.length; m2++) for (var f2 = g2[m2], b2 = this.fetch(i2, f2), _2 = 0; _2 < b2.length; _2++) { var v2 = b2[_2].node, w2 = v2.getValue(); - ("float" !== f2 || w2 && !w2.matches("none")) && this.addEntry(v2, _o.PropertyIgnoredDueToDisplay, Ao("rule.propertyIgnoredDueToDisplayInline", "Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect.")); + (f2 !== "float" || w2 && !w2.matches("none")) && this.addEntry(v2, _o.PropertyIgnoredDueToDisplay, Ao("rule.propertyIgnoredDueToDisplayInline", "Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect.")); } if ((p2 = this.fetchWithValue(i2, "display", "inline-block")).length > 0) for (b2 = this.fetch(i2, "float"), _2 = 0; _2 < b2.length; _2++) { @@ -20306,13 +20306,13 @@ this.isValidPropertyDeclaration(x2) || this.addEntry(x2.node, _o.AvoidFloat); } for (var S2 = 0; S2 < i2.length; S2++) { - if ("background" !== (x2 = i2[S2]).fullPropertyName && !this.validProperties[x2.fullPropertyName]) { - if ((w2 = x2.node.getValue()) && "-" !== this.documentText.charAt(w2.offset)) { + if ((x2 = i2[S2]).fullPropertyName !== "background" && !this.validProperties[x2.fullPropertyName]) { + if ((w2 = x2.node.getValue()) && this.documentText.charAt(w2.offset) !== "-") { var k2 = this.fetch(i2, x2.fullPropertyName); if (k2.length > 1) for (var E2 = 0; E2 < k2.length; E2++) { var T2 = k2[E2].node.getValue(); - T2 && "-" !== this.documentText.charAt(T2.offset) && k2[E2] !== x2 && this.addEntry(x2.node, _o.DuplicateDeclarations); + T2 && this.documentText.charAt(T2.offset) !== "-" && k2[E2] !== x2 && this.addEntry(x2.node, _o.DuplicateDeclarations); } } } @@ -20322,23 +20322,23 @@ var D2 = (x2 = O2[I2]).node; if (this.isCSSDeclaration(D2)) { var A2 = x2.fullPropertyName, R2 = A2.charAt(0); - if ("-" === R2) { - if ("-" !== A2.charAt(1)) { + if (R2 === "-") { + if (A2.charAt(1) !== "-") { this.cssDataManager.isKnownProperty(A2) || this.validProperties[A2] || this.addEntry(D2.getProperty(), _o.UnknownVendorSpecificProperty); var M2 = D2.getNonPrefixedPropertyName(); L2.add(M2, A2, D2.getProperty()); } } else { var P2 = A2; - "*" !== R2 && "_" !== R2 || (this.addEntry(D2.getProperty(), _o.IEStarHack), A2 = A2.substr(1)), this.cssDataManager.isKnownProperty(P2) || this.cssDataManager.isKnownProperty(A2) || this.validProperties[A2] || this.addEntry(D2.getProperty(), _o.UnknownProperty, Ao("property.unknownproperty.detailed", "Unknown property: '{0}'", D2.getFullPropertyName())), L2.add(A2, A2, null); + R2 !== "*" && R2 !== "_" || (this.addEntry(D2.getProperty(), _o.IEStarHack), A2 = A2.substr(1)), this.cssDataManager.isKnownProperty(P2) || this.cssDataManager.isKnownProperty(A2) || this.validProperties[A2] || this.addEntry(D2.getProperty(), _o.UnknownProperty, Ao("property.unknownproperty.detailed", "Unknown property: '{0}'", D2.getFullPropertyName())), L2.add(A2, A2, null); } } else N2 = true; } if (!N2) for (var F2 in L2.data) { - var W2 = L2.data[F2], z2 = W2.names, B2 = this.cssDataManager.isStandardProperty(F2) && -1 === z2.indexOf(F2); - if (B2 || 1 !== z2.length) { + var W2 = L2.data[F2], z2 = W2.names, B2 = this.cssDataManager.isStandardProperty(F2) && z2.indexOf(F2) === -1; + if (B2 || z2.length !== 1) { for (var j2 = [], V2 = (S2 = 0, e2.prefixes.length); S2 < V2; S2++) { var U2 = e2.prefixes[S2]; this.cssDataManager.isStandardProperty(U2 + F2) && j2.push(U2 + F2); @@ -20364,14 +20364,14 @@ return this.addEntry(e3, _o.AvoidImportant), true; }, e2.prototype.visitNumericValue = function(e3) { var t2 = e3.findParent(J.Function); - if (t2 && "calc" === t2.getName()) + if (t2 && t2.getName() === "calc") return true; var n2 = e3.findParent(J.Declaration); if (n2 && n2.getValue()) { var i2 = e3.getValue(); - if (!i2.unit || -1 === Zt.length.indexOf(i2.unit.toLowerCase())) + if (!i2.unit || Zt.length.indexOf(i2.unit.toLowerCase()) === -1) return true; - 0 === parseFloat(i2.value) && i2.unit && !this.validProperties[n2.getFullPropertyName()] && this.addEntry(e3, _o.ZeroWithUnit); + parseFloat(i2.value) === 0 && i2.unit && !this.validProperties[n2.getFullPropertyName()] && this.addEntry(e3, _o.ZeroWithUnit); } return true; }, e2.prototype.visitFontFace = function(e3) { @@ -20382,7 +20382,7 @@ var a2 = s2[r2]; if (this.isCSSDeclaration(a2)) { var l2 = a2.getProperty().getName().toLowerCase(); - "src" === l2 && (n2 = true), "font-family" === l2 && (i2 = true); + l2 === "src" && (n2 = true), l2 === "font-family" && (i2 = true); } else o2 = true; } @@ -20400,7 +20400,7 @@ return false; }, e2.prototype.visitHexColorValue = function(e3) { var t2 = e3.length; - return 9 !== t2 && 7 !== t2 && 5 !== t2 && 4 !== t2 && this.addEntry(e3, _o.HexColorLength), false; + return t2 !== 9 && t2 !== 7 && t2 !== 5 && t2 !== 4 && this.addEntry(e3, _o.HexColorLength), false; }, e2.prototype.visitFunction = function(e3) { var t2 = e3.getName().toLowerCase(), n2 = -1, i2 = 0; switch (t2) { @@ -20412,7 +20412,7 @@ case "hsla(": n2 = 4; } - return -1 !== n2 && (e3.getArguments().accept(function(e4) { + return n2 !== -1 && (e3.getArguments().accept(function(e4) { return !(e4 instanceof Ye) || (i2 += 1, false); }), i2 !== n2 && this.addEntry(e3, _o.ArgsInColorFunction)), true; }, e2.prefixes = ["-ms-", "-moz-", "-o-", "-webkit-"], e2; @@ -20423,7 +20423,7 @@ return e2.prototype.configure = function(e3) { this.settings = e3; }, e2.prototype.doValidation = function(e3, t2, n2) { - if (void 0 === n2 && (n2 = this.settings), n2 && false === n2.validate) + if (n2 === void 0 && (n2 = this.settings), n2 && n2.validate === false) return []; var i2 = []; i2.push.apply(i2, bt.entries(t2)), i2.push.apply(i2, Mo.entries(t2, e3, new wo(n2 && n2.lint), this.cssDataManager)); @@ -20450,11 +20450,11 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), Wo = "/".charCodeAt(0), zo = "\n".charCodeAt(0), Bo = "\r".charCodeAt(0), jo = "\f".charCodeAt(0), Vo = "$".charCodeAt(0), Uo = "#".charCodeAt(0), Ho = "{".charCodeAt(0), qo = "=".charCodeAt(0), $o = "!".charCodeAt(0), Ko = "<".charCodeAt(0), Go = ">".charCodeAt(0), Yo = ".".charCodeAt(0), Zo = ("@".charCodeAt(0), i.CustomToken), Xo = Zo++, Qo = Zo++, Jo = (Zo++, Zo++), er = Zo++, tr = Zo++, nr = Zo++, ir = Zo++, or = (Zo++, function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return Fo(t2, e2), t2.prototype.scanNext = function(t3) { if (this.stream.advanceIfChar(Vo)) { @@ -20491,14 +20491,14 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), cr = function(e2) { function t2() { return e2.call(this, new or()) || this; } return lr(t2, e2), t2.prototype._parseStylesheetStatement = function(t3) { - return void 0 === t3 && (t3 = false), this.peek(i.AtKeyword) ? this._parseWarnAndDebug() || this._parseControlStatement() || this._parseMixinDeclaration() || this._parseMixinContent() || this._parseMixinReference() || this._parseFunctionDeclaration() || this._parseForward() || this._parseUse() || this._parseRuleset(t3) || e2.prototype._parseStylesheetAtStatement.call(this, t3) : this._parseRuleset(true) || this._parseVariableDeclaration(); + return t3 === void 0 && (t3 = false), this.peek(i.AtKeyword) ? this._parseWarnAndDebug() || this._parseControlStatement() || this._parseMixinDeclaration() || this._parseMixinContent() || this._parseMixinReference() || this._parseFunctionDeclaration() || this._parseForward() || this._parseUse() || this._parseRuleset(t3) || e2.prototype._parseStylesheetAtStatement.call(this, t3) : this._parseRuleset(true) || this._parseVariableDeclaration(); }, t2.prototype._parseImport = function() { if (!this.peekKeyword("@import")) return null; @@ -20510,7 +20510,7 @@ return this.finish(e3, xt.URIOrStringExpected); return this.peek(i.SemiColon) || this.peek(i.EOF) || e3.setMedialist(this._parseMediaQueryList()), this.finish(e3); }, t2.prototype._parseVariableDeclaration = function(e3) { - if (void 0 === e3 && (e3 = []), !this.peek(Xo)) + if (e3 === void 0 && (e3 = []), !this.peek(Xo)) return null; var t3 = this.create(it); if (!t3.setVariable(this._parseVariable())) @@ -20630,7 +20630,7 @@ var e3 = this.createNode(J.Debug); return this.consumeToken(), e3.addChild(this._parseExpr()), this.finish(e3); }, t2.prototype._parseControlStatement = function(e3) { - return void 0 === e3 && (e3 = this._parseRuleSetDeclaration.bind(this)), this.peek(i.AtKeyword) ? this._parseIfStatement(e3) || this._parseForStatement(e3) || this._parseEachStatement(e3) || this._parseWhileStatement(e3) : null; + return e3 === void 0 && (e3 = this._parseRuleSetDeclaration.bind(this)), this.peek(i.AtKeyword) ? this._parseIfStatement(e3) || this._parseForStatement(e3) || this._parseEachStatement(e3) || this._parseWhileStatement(e3) : null; }, t2.prototype._parseIfStatement = function(e3) { return this.peekKeyword("@if") ? this._internalParseIfStatement(e3) : null; }, t2.prototype._internalParseIfStatement = function(e3) { @@ -20867,7 +20867,7 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), hr = wt(), ur = function(e2) { function t2(n2, i2) { @@ -20900,7 +20900,7 @@ }, t2.prototype.getTermProposals = function(n2, i2, o2) { var r2 = t2.builtInFuncs; return n2 && (r2 = r2.filter(function(e3) { - return !e3.type || !n2.restrictions || -1 !== n2.restrictions.indexOf(e3.type); + return !e3.type || !n2.restrictions || n2.restrictions.indexOf(e3.type) !== -1; })), this.createFunctionProposals(r2, i2, true, o2), e2.prototype.getTermProposals.call(this, n2, i2, o2); }, t2.prototype.getColorProposals = function(n2, i2, o2) { return this.createFunctionProposals(t2.colorProposals, i2, false, o2), e2.prototype.getColorProposals.call(this, n2, i2, o2); @@ -20920,12 +20920,12 @@ }, t2.prototype.getCompletionForModuleLoaders = function(e3) { var n2; return (n2 = e3.items).push.apply(n2, t2.scssModuleLoaders), e3; - }, t2.variableDefaults = {$red: "1", $green: "2", $blue: "3", $alpha: "1.0", $color: "#000000", $weight: "0.5", $hue: "0", $saturation: "0%", $lightness: "0%", $degrees: "0", $amount: "0", $string: '""', $substring: '"s"', $number: "0", $limit: "1"}, t2.colorProposals = [{func: "red($color)", desc: hr("scss.builtin.red", "Gets the red component of a color.")}, {func: "green($color)", desc: hr("scss.builtin.green", "Gets the green component of a color.")}, {func: "blue($color)", desc: hr("scss.builtin.blue", "Gets the blue component of a color.")}, {func: "mix($color, $color, [$weight])", desc: hr("scss.builtin.mix", "Mixes two colors together.")}, {func: "hue($color)", desc: hr("scss.builtin.hue", "Gets the hue component of a color.")}, {func: "saturation($color)", desc: hr("scss.builtin.saturation", "Gets the saturation component of a color.")}, {func: "lightness($color)", desc: hr("scss.builtin.lightness", "Gets the lightness component of a color.")}, {func: "adjust-hue($color, $degrees)", desc: hr("scss.builtin.adjust-hue", "Changes the hue of a color.")}, {func: "lighten($color, $amount)", desc: hr("scss.builtin.lighten", "Makes a color lighter.")}, {func: "darken($color, $amount)", desc: hr("scss.builtin.darken", "Makes a color darker.")}, {func: "saturate($color, $amount)", desc: hr("scss.builtin.saturate", "Makes a color more saturated.")}, {func: "desaturate($color, $amount)", desc: hr("scss.builtin.desaturate", "Makes a color less saturated.")}, {func: "grayscale($color)", desc: hr("scss.builtin.grayscale", "Converts a color to grayscale.")}, {func: "complement($color)", desc: hr("scss.builtin.complement", "Returns the complement of a color.")}, {func: "invert($color)", desc: hr("scss.builtin.invert", "Returns the inverse of a color.")}, {func: "alpha($color)", desc: hr("scss.builtin.alpha", "Gets the opacity component of a color.")}, {func: "opacity($color)", desc: "Gets the alpha component (opacity) of a color."}, {func: "rgba($color, $alpha)", desc: hr("scss.builtin.rgba", "Changes the alpha component for a color.")}, {func: "opacify($color, $amount)", desc: hr("scss.builtin.opacify", "Makes a color more opaque.")}, {func: "fade-in($color, $amount)", desc: hr("scss.builtin.fade-in", "Makes a color more opaque.")}, {func: "transparentize($color, $amount)", desc: hr("scss.builtin.transparentize", "Makes a color more transparent.")}, {func: "fade-out($color, $amount)", desc: hr("scss.builtin.fade-out", "Makes a color more transparent.")}, {func: "adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])", desc: hr("scss.builtin.adjust-color", "Increases or decreases one or more components of a color.")}, {func: "scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])", desc: hr("scss.builtin.scale-color", "Fluidly scales one or more properties of a color.")}, {func: "change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])", desc: hr("scss.builtin.change-color", "Changes one or more properties of a color.")}, {func: "ie-hex-str($color)", desc: hr("scss.builtin.ie-hex-str", "Converts a color into the format understood by IE filters.")}], t2.selectorFuncs = [{func: "selector-nest($selectors…)", desc: hr("scss.builtin.selector-nest", "Nests selector beneath one another like they would be nested in the stylesheet.")}, {func: "selector-append($selectors…)", desc: hr("scss.builtin.selector-append", "Appends selectors to one another without spaces in between.")}, {func: "selector-extend($selector, $extendee, $extender)", desc: hr("scss.builtin.selector-extend", "Extends $extendee with $extender within $selector.")}, {func: "selector-replace($selector, $original, $replacement)", desc: hr("scss.builtin.selector-replace", "Replaces $original with $replacement within $selector.")}, {func: "selector-unify($selector1, $selector2)", desc: hr("scss.builtin.selector-unify", "Unifies two selectors to produce a selector that matches elements matched by both.")}, {func: "is-superselector($super, $sub)", desc: hr("scss.builtin.is-superselector", "Returns whether $super matches all the elements $sub does, and possibly more.")}, {func: "simple-selectors($selector)", desc: hr("scss.builtin.simple-selectors", "Returns the simple selectors that comprise a compound selector.")}, {func: "selector-parse($selector)", desc: hr("scss.builtin.selector-parse", "Parses a selector into the format returned by &.")}], t2.builtInFuncs = [{func: "unquote($string)", desc: hr("scss.builtin.unquote", "Removes quotes from a string.")}, {func: "quote($string)", desc: hr("scss.builtin.quote", "Adds quotes to a string.")}, {func: "str-length($string)", desc: hr("scss.builtin.str-length", "Returns the number of characters in a string.")}, {func: "str-insert($string, $insert, $index)", desc: hr("scss.builtin.str-insert", "Inserts $insert into $string at $index.")}, {func: "str-index($string, $substring)", desc: hr("scss.builtin.str-index", "Returns the index of the first occurance of $substring in $string.")}, {func: "str-slice($string, $start-at, [$end-at])", desc: hr("scss.builtin.str-slice", "Extracts a substring from $string.")}, {func: "to-upper-case($string)", desc: hr("scss.builtin.to-upper-case", "Converts a string to upper case.")}, {func: "to-lower-case($string)", desc: hr("scss.builtin.to-lower-case", "Converts a string to lower case.")}, {func: "percentage($number)", desc: hr("scss.builtin.percentage", "Converts a unitless number to a percentage."), type: "percentage"}, {func: "round($number)", desc: hr("scss.builtin.round", "Rounds a number to the nearest whole number.")}, {func: "ceil($number)", desc: hr("scss.builtin.ceil", "Rounds a number up to the next whole number.")}, {func: "floor($number)", desc: hr("scss.builtin.floor", "Rounds a number down to the previous whole number.")}, {func: "abs($number)", desc: hr("scss.builtin.abs", "Returns the absolute value of a number.")}, {func: "min($numbers)", desc: hr("scss.builtin.min", "Finds the minimum of several numbers.")}, {func: "max($numbers)", desc: hr("scss.builtin.max", "Finds the maximum of several numbers.")}, {func: "random([$limit])", desc: hr("scss.builtin.random", "Returns a random number.")}, {func: "length($list)", desc: hr("scss.builtin.length", "Returns the length of a list.")}, {func: "nth($list, $n)", desc: hr("scss.builtin.nth", "Returns a specific item in a list.")}, {func: "set-nth($list, $n, $value)", desc: hr("scss.builtin.set-nth", "Replaces the nth item in a list.")}, {func: "join($list1, $list2, [$separator])", desc: hr("scss.builtin.join", "Joins together two lists into one.")}, {func: "append($list1, $val, [$separator])", desc: hr("scss.builtin.append", "Appends a single value onto the end of a list.")}, {func: "zip($lists)", desc: hr("scss.builtin.zip", "Combines several lists into a single multidimensional list.")}, {func: "index($list, $value)", desc: hr("scss.builtin.index", "Returns the position of a value within a list.")}, {func: "list-separator(#list)", desc: hr("scss.builtin.list-separator", "Returns the separator of a list.")}, {func: "map-get($map, $key)", desc: hr("scss.builtin.map-get", "Returns the value in a map associated with a given key.")}, {func: "map-merge($map1, $map2)", desc: hr("scss.builtin.map-merge", "Merges two maps together into a new map.")}, {func: "map-remove($map, $keys)", desc: hr("scss.builtin.map-remove", "Returns a new map with keys removed.")}, {func: "map-keys($map)", desc: hr("scss.builtin.map-keys", "Returns a list of all keys in a map.")}, {func: "map-values($map)", desc: hr("scss.builtin.map-values", "Returns a list of all values in a map.")}, {func: "map-has-key($map, $key)", desc: hr("scss.builtin.map-has-key", "Returns whether a map has a value associated with a given key.")}, {func: "keywords($args)", desc: hr("scss.builtin.keywords", "Returns the keywords passed to a function that takes variable arguments.")}, {func: "feature-exists($feature)", desc: hr("scss.builtin.feature-exists", "Returns whether a feature exists in the current Sass runtime.")}, {func: "variable-exists($name)", desc: hr("scss.builtin.variable-exists", "Returns whether a variable with the given name exists in the current scope.")}, {func: "global-variable-exists($name)", desc: hr("scss.builtin.global-variable-exists", "Returns whether a variable with the given name exists in the global scope.")}, {func: "function-exists($name)", desc: hr("scss.builtin.function-exists", "Returns whether a function with the given name exists.")}, {func: "mixin-exists($name)", desc: hr("scss.builtin.mixin-exists", "Returns whether a mixin with the given name exists.")}, {func: "inspect($value)", desc: hr("scss.builtin.inspect", "Returns the string representation of a value as it would be represented in Sass.")}, {func: "type-of($value)", desc: hr("scss.builtin.type-of", "Returns the type of a value.")}, {func: "unit($number)", desc: hr("scss.builtin.unit", "Returns the unit(s) associated with a number.")}, {func: "unitless($number)", desc: hr("scss.builtin.unitless", "Returns whether a number has units.")}, {func: "comparable($number1, $number2)", desc: hr("scss.builtin.comparable", "Returns whether two numbers can be added, subtracted, or compared.")}, {func: "call($name, $args…)", desc: hr("scss.builtin.call", "Dynamically calls a Sass function.")}], t2.scssAtDirectives = [{label: "@extend", documentation: hr("scss.builtin.@extend", "Inherits the styles of another selector."), kind: zn.Keyword}, {label: "@at-root", documentation: hr("scss.builtin.@at-root", "Causes one or more rules to be emitted at the root of the document."), kind: zn.Keyword}, {label: "@debug", documentation: hr("scss.builtin.@debug", "Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."), kind: zn.Keyword}, {label: "@warn", documentation: hr("scss.builtin.@warn", "Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."), kind: zn.Keyword}, {label: "@error", documentation: hr("scss.builtin.@error", "Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."), kind: zn.Keyword}, {label: "@if", documentation: hr("scss.builtin.@if", "Includes the body if the expression does not evaluate to `false` or `null`."), insertText: "@if ${1:expr} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@for", documentation: hr("scss.builtin.@for", "For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."), insertText: "@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@each", documentation: hr("scss.builtin.@each", "Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."), insertText: "@each \\$${1:var} in ${2:list} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@while", documentation: hr("scss.builtin.@while", "While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."), insertText: "@while ${1:condition} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@mixin", documentation: hr("scss.builtin.@mixin", "Defines styles that can be re-used throughout the stylesheet with `@include`."), insertText: "@mixin ${1:name} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@include", documentation: hr("scss.builtin.@include", "Includes the styles defined by another mixin into the current rule."), kind: zn.Keyword}, {label: "@function", documentation: hr("scss.builtin.@function", "Defines complex operations that can be re-used throughout stylesheets."), kind: zn.Keyword}], t2.scssModuleLoaders = [{label: "@use", documentation: hr("scss.builtin.@use", "Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/at-rules/use"}], insertText: "@use '$0';", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@forward", documentation: hr("scss.builtin.@forward", "Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/at-rules/forward"}], insertText: "@forward '$0';", insertTextFormat: Bn.Snippet, kind: zn.Keyword}], t2.scssModuleBuiltIns = [{label: "sass:math", documentation: hr("scss.builtin.sass:math", "Provides functions that operate on numbers."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/math"}]}, {label: "sass:string", documentation: hr("scss.builtin.sass:string", "Makes it easy to combine, search, or split apart strings."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/string"}]}, {label: "sass:color", documentation: hr("scss.builtin.sass:color", "Generates new colors based on existing ones, making it easy to build color themes."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/color"}]}, {label: "sass:list", documentation: hr("scss.builtin.sass:list", "Lets you access and modify values in lists."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/list"}]}, {label: "sass:map", documentation: hr("scss.builtin.sass:map", "Makes it possible to look up the value associated with a key in a map, and much more."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/map"}]}, {label: "sass:selector", documentation: hr("scss.builtin.sass:selector", "Provides access to Sass’s powerful selector engine."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/selector"}]}, {label: "sass:meta", documentation: hr("scss.builtin.sass:meta", "Exposes the details of Sass’s inner workings."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/meta"}]}], t2; + }, t2.variableDefaults = {$red: "1", $green: "2", $blue: "3", $alpha: "1.0", $color: "#000000", $weight: "0.5", $hue: "0", $saturation: "0%", $lightness: "0%", $degrees: "0", $amount: "0", $string: '""', $substring: '"s"', $number: "0", $limit: "1"}, t2.colorProposals = [{func: "red($color)", desc: hr("scss.builtin.red", "Gets the red component of a color.")}, {func: "green($color)", desc: hr("scss.builtin.green", "Gets the green component of a color.")}, {func: "blue($color)", desc: hr("scss.builtin.blue", "Gets the blue component of a color.")}, {func: "mix($color, $color, [$weight])", desc: hr("scss.builtin.mix", "Mixes two colors together.")}, {func: "hue($color)", desc: hr("scss.builtin.hue", "Gets the hue component of a color.")}, {func: "saturation($color)", desc: hr("scss.builtin.saturation", "Gets the saturation component of a color.")}, {func: "lightness($color)", desc: hr("scss.builtin.lightness", "Gets the lightness component of a color.")}, {func: "adjust-hue($color, $degrees)", desc: hr("scss.builtin.adjust-hue", "Changes the hue of a color.")}, {func: "lighten($color, $amount)", desc: hr("scss.builtin.lighten", "Makes a color lighter.")}, {func: "darken($color, $amount)", desc: hr("scss.builtin.darken", "Makes a color darker.")}, {func: "saturate($color, $amount)", desc: hr("scss.builtin.saturate", "Makes a color more saturated.")}, {func: "desaturate($color, $amount)", desc: hr("scss.builtin.desaturate", "Makes a color less saturated.")}, {func: "grayscale($color)", desc: hr("scss.builtin.grayscale", "Converts a color to grayscale.")}, {func: "complement($color)", desc: hr("scss.builtin.complement", "Returns the complement of a color.")}, {func: "invert($color)", desc: hr("scss.builtin.invert", "Returns the inverse of a color.")}, {func: "alpha($color)", desc: hr("scss.builtin.alpha", "Gets the opacity component of a color.")}, {func: "opacity($color)", desc: "Gets the alpha component (opacity) of a color."}, {func: "rgba($color, $alpha)", desc: hr("scss.builtin.rgba", "Changes the alpha component for a color.")}, {func: "opacify($color, $amount)", desc: hr("scss.builtin.opacify", "Makes a color more opaque.")}, {func: "fade-in($color, $amount)", desc: hr("scss.builtin.fade-in", "Makes a color more opaque.")}, {func: "transparentize($color, $amount)", desc: hr("scss.builtin.transparentize", "Makes a color more transparent.")}, {func: "fade-out($color, $amount)", desc: hr("scss.builtin.fade-out", "Makes a color more transparent.")}, {func: "adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])", desc: hr("scss.builtin.adjust-color", "Increases or decreases one or more components of a color.")}, {func: "scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])", desc: hr("scss.builtin.scale-color", "Fluidly scales one or more properties of a color.")}, {func: "change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])", desc: hr("scss.builtin.change-color", "Changes one or more properties of a color.")}, {func: "ie-hex-str($color)", desc: hr("scss.builtin.ie-hex-str", "Converts a color into the format understood by IE filters.")}], t2.selectorFuncs = [{func: "selector-nest($selectors\u2026)", desc: hr("scss.builtin.selector-nest", "Nests selector beneath one another like they would be nested in the stylesheet.")}, {func: "selector-append($selectors\u2026)", desc: hr("scss.builtin.selector-append", "Appends selectors to one another without spaces in between.")}, {func: "selector-extend($selector, $extendee, $extender)", desc: hr("scss.builtin.selector-extend", "Extends $extendee with $extender within $selector.")}, {func: "selector-replace($selector, $original, $replacement)", desc: hr("scss.builtin.selector-replace", "Replaces $original with $replacement within $selector.")}, {func: "selector-unify($selector1, $selector2)", desc: hr("scss.builtin.selector-unify", "Unifies two selectors to produce a selector that matches elements matched by both.")}, {func: "is-superselector($super, $sub)", desc: hr("scss.builtin.is-superselector", "Returns whether $super matches all the elements $sub does, and possibly more.")}, {func: "simple-selectors($selector)", desc: hr("scss.builtin.simple-selectors", "Returns the simple selectors that comprise a compound selector.")}, {func: "selector-parse($selector)", desc: hr("scss.builtin.selector-parse", "Parses a selector into the format returned by &.")}], t2.builtInFuncs = [{func: "unquote($string)", desc: hr("scss.builtin.unquote", "Removes quotes from a string.")}, {func: "quote($string)", desc: hr("scss.builtin.quote", "Adds quotes to a string.")}, {func: "str-length($string)", desc: hr("scss.builtin.str-length", "Returns the number of characters in a string.")}, {func: "str-insert($string, $insert, $index)", desc: hr("scss.builtin.str-insert", "Inserts $insert into $string at $index.")}, {func: "str-index($string, $substring)", desc: hr("scss.builtin.str-index", "Returns the index of the first occurance of $substring in $string.")}, {func: "str-slice($string, $start-at, [$end-at])", desc: hr("scss.builtin.str-slice", "Extracts a substring from $string.")}, {func: "to-upper-case($string)", desc: hr("scss.builtin.to-upper-case", "Converts a string to upper case.")}, {func: "to-lower-case($string)", desc: hr("scss.builtin.to-lower-case", "Converts a string to lower case.")}, {func: "percentage($number)", desc: hr("scss.builtin.percentage", "Converts a unitless number to a percentage."), type: "percentage"}, {func: "round($number)", desc: hr("scss.builtin.round", "Rounds a number to the nearest whole number.")}, {func: "ceil($number)", desc: hr("scss.builtin.ceil", "Rounds a number up to the next whole number.")}, {func: "floor($number)", desc: hr("scss.builtin.floor", "Rounds a number down to the previous whole number.")}, {func: "abs($number)", desc: hr("scss.builtin.abs", "Returns the absolute value of a number.")}, {func: "min($numbers)", desc: hr("scss.builtin.min", "Finds the minimum of several numbers.")}, {func: "max($numbers)", desc: hr("scss.builtin.max", "Finds the maximum of several numbers.")}, {func: "random([$limit])", desc: hr("scss.builtin.random", "Returns a random number.")}, {func: "length($list)", desc: hr("scss.builtin.length", "Returns the length of a list.")}, {func: "nth($list, $n)", desc: hr("scss.builtin.nth", "Returns a specific item in a list.")}, {func: "set-nth($list, $n, $value)", desc: hr("scss.builtin.set-nth", "Replaces the nth item in a list.")}, {func: "join($list1, $list2, [$separator])", desc: hr("scss.builtin.join", "Joins together two lists into one.")}, {func: "append($list1, $val, [$separator])", desc: hr("scss.builtin.append", "Appends a single value onto the end of a list.")}, {func: "zip($lists)", desc: hr("scss.builtin.zip", "Combines several lists into a single multidimensional list.")}, {func: "index($list, $value)", desc: hr("scss.builtin.index", "Returns the position of a value within a list.")}, {func: "list-separator(#list)", desc: hr("scss.builtin.list-separator", "Returns the separator of a list.")}, {func: "map-get($map, $key)", desc: hr("scss.builtin.map-get", "Returns the value in a map associated with a given key.")}, {func: "map-merge($map1, $map2)", desc: hr("scss.builtin.map-merge", "Merges two maps together into a new map.")}, {func: "map-remove($map, $keys)", desc: hr("scss.builtin.map-remove", "Returns a new map with keys removed.")}, {func: "map-keys($map)", desc: hr("scss.builtin.map-keys", "Returns a list of all keys in a map.")}, {func: "map-values($map)", desc: hr("scss.builtin.map-values", "Returns a list of all values in a map.")}, {func: "map-has-key($map, $key)", desc: hr("scss.builtin.map-has-key", "Returns whether a map has a value associated with a given key.")}, {func: "keywords($args)", desc: hr("scss.builtin.keywords", "Returns the keywords passed to a function that takes variable arguments.")}, {func: "feature-exists($feature)", desc: hr("scss.builtin.feature-exists", "Returns whether a feature exists in the current Sass runtime.")}, {func: "variable-exists($name)", desc: hr("scss.builtin.variable-exists", "Returns whether a variable with the given name exists in the current scope.")}, {func: "global-variable-exists($name)", desc: hr("scss.builtin.global-variable-exists", "Returns whether a variable with the given name exists in the global scope.")}, {func: "function-exists($name)", desc: hr("scss.builtin.function-exists", "Returns whether a function with the given name exists.")}, {func: "mixin-exists($name)", desc: hr("scss.builtin.mixin-exists", "Returns whether a mixin with the given name exists.")}, {func: "inspect($value)", desc: hr("scss.builtin.inspect", "Returns the string representation of a value as it would be represented in Sass.")}, {func: "type-of($value)", desc: hr("scss.builtin.type-of", "Returns the type of a value.")}, {func: "unit($number)", desc: hr("scss.builtin.unit", "Returns the unit(s) associated with a number.")}, {func: "unitless($number)", desc: hr("scss.builtin.unitless", "Returns whether a number has units.")}, {func: "comparable($number1, $number2)", desc: hr("scss.builtin.comparable", "Returns whether two numbers can be added, subtracted, or compared.")}, {func: "call($name, $args\u2026)", desc: hr("scss.builtin.call", "Dynamically calls a Sass function.")}], t2.scssAtDirectives = [{label: "@extend", documentation: hr("scss.builtin.@extend", "Inherits the styles of another selector."), kind: zn.Keyword}, {label: "@at-root", documentation: hr("scss.builtin.@at-root", "Causes one or more rules to be emitted at the root of the document."), kind: zn.Keyword}, {label: "@debug", documentation: hr("scss.builtin.@debug", "Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."), kind: zn.Keyword}, {label: "@warn", documentation: hr("scss.builtin.@warn", "Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."), kind: zn.Keyword}, {label: "@error", documentation: hr("scss.builtin.@error", "Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."), kind: zn.Keyword}, {label: "@if", documentation: hr("scss.builtin.@if", "Includes the body if the expression does not evaluate to `false` or `null`."), insertText: "@if ${1:expr} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@for", documentation: hr("scss.builtin.@for", "For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."), insertText: "@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@each", documentation: hr("scss.builtin.@each", "Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."), insertText: "@each \\$${1:var} in ${2:list} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@while", documentation: hr("scss.builtin.@while", "While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."), insertText: "@while ${1:condition} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@mixin", documentation: hr("scss.builtin.@mixin", "Defines styles that can be re-used throughout the stylesheet with `@include`."), insertText: "@mixin ${1:name} {\n $0\n}", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@include", documentation: hr("scss.builtin.@include", "Includes the styles defined by another mixin into the current rule."), kind: zn.Keyword}, {label: "@function", documentation: hr("scss.builtin.@function", "Defines complex operations that can be re-used throughout stylesheets."), kind: zn.Keyword}], t2.scssModuleLoaders = [{label: "@use", documentation: hr("scss.builtin.@use", "Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/at-rules/use"}], insertText: "@use '$0';", insertTextFormat: Bn.Snippet, kind: zn.Keyword}, {label: "@forward", documentation: hr("scss.builtin.@forward", "Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/at-rules/forward"}], insertText: "@forward '$0';", insertTextFormat: Bn.Snippet, kind: zn.Keyword}], t2.scssModuleBuiltIns = [{label: "sass:math", documentation: hr("scss.builtin.sass:math", "Provides functions that operate on numbers."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/math"}]}, {label: "sass:string", documentation: hr("scss.builtin.sass:string", "Makes it easy to combine, search, or split apart strings."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/string"}]}, {label: "sass:color", documentation: hr("scss.builtin.sass:color", "Generates new colors based on existing ones, making it easy to build color themes."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/color"}]}, {label: "sass:list", documentation: hr("scss.builtin.sass:list", "Lets you access and modify values in lists."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/list"}]}, {label: "sass:map", documentation: hr("scss.builtin.sass:map", "Makes it possible to look up the value associated with a key in a map, and much more."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/map"}]}, {label: "sass:selector", documentation: hr("scss.builtin.sass:selector", "Provides access to Sass\u2019s powerful selector engine."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/selector"}]}, {label: "sass:meta", documentation: hr("scss.builtin.sass:meta", "Exposes the details of Sass\u2019s inner workings."), references: [{name: "Sass documentation", url: "https://sass-lang.com/documentation/modules/meta"}]}], t2; }(Wi); function pr(e2) { e2.forEach(function(e3) { if (e3.documentation && e3.references && e3.references.length > 0) { - var t2 = "string" == typeof e3.documentation ? {kind: "markdown", value: e3.documentation} : {kind: "markdown", value: e3.documentation.value}; + var t2 = typeof e3.documentation == "string" ? {kind: "markdown", value: e3.documentation} : {kind: "markdown", value: e3.documentation.value}; t2.value += "\n\n", t2.value += e3.references.map(function(e4) { return "[" + e4.name + "](" + e4.url + ")"; }).join(" | "), e3.documentation = t2; @@ -20945,15 +20945,15 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), gr = "/".charCodeAt(0), fr = "\n".charCodeAt(0), br = "\r".charCodeAt(0), _r = "\f".charCodeAt(0), vr = "`".charCodeAt(0), wr = ".".charCodeAt(0), yr = i.CustomToken, Cr = yr++, xr = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return mr(t2, e2), t2.prototype.scanNext = function(t3) { var n2 = this.escapedJavaScript(); - return null !== n2 ? this.finishToken(t3, n2) : this.stream.advanceIfChars([wr, wr, wr]) ? this.finishToken(t3, Cr) : e2.prototype.scanNext.call(this, t3); + return n2 !== null ? this.finishToken(t3, n2) : this.stream.advanceIfChars([wr, wr, wr]) ? this.finishToken(t3, Cr) : e2.prototype.scanNext.call(this, t3); }, t2.prototype.comment = function() { return !!e2.prototype.comment.call(this) || !(this.inURL || !this.stream.advanceIfChars([gr, gr])) && (this.stream.advanceWhileChar(function(e3) { switch (e3) { @@ -20983,14 +20983,14 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), kr = function(e2) { function t2() { return e2.call(this, new xr()) || this; } return Sr(t2, e2), t2.prototype._parseStylesheetStatement = function(t3) { - return void 0 === t3 && (t3 = false), this.peek(i.AtKeyword) ? this._parseVariableDeclaration() || this._parsePlugin() || e2.prototype._parseStylesheetAtStatement.call(this, t3) : this._tryParseMixinDeclaration() || this._tryParseMixinReference() || this._parseFunction() || this._parseRuleset(true); + return t3 === void 0 && (t3 = false), this.peek(i.AtKeyword) ? this._parseVariableDeclaration() || this._parsePlugin() || e2.prototype._parseStylesheetAtStatement.call(this, t3) : this._tryParseMixinDeclaration() || this._tryParseMixinReference() || this._parseFunction() || this._parseRuleset(true); }, t2.prototype._parseImport = function() { if (!this.peekKeyword("@import") && !this.peekKeyword("@import-once")) return null; @@ -21019,11 +21019,11 @@ } return n2; }, t2.prototype._parseMediaDeclaration = function(e3) { - return void 0 === e3 && (e3 = false), this._tryParseRuleset(e3) || this._tryToParseDeclaration() || this._tryParseMixinDeclaration() || this._tryParseMixinReference() || this._parseDetachedRuleSetMixin() || this._parseStylesheetStatement(e3); + return e3 === void 0 && (e3 = false), this._tryParseRuleset(e3) || this._tryToParseDeclaration() || this._tryParseMixinDeclaration() || this._tryParseMixinReference() || this._parseDetachedRuleSetMixin() || this._parseStylesheetStatement(e3); }, t2.prototype._parseMediaFeatureName = function() { return this._parseIdent() || this._parseVariable(); }, t2.prototype._parseVariableDeclaration = function(e3) { - void 0 === e3 && (e3 = []); + e3 === void 0 && (e3 = []); var t3 = this.create(it), n2 = this.mark(); if (!t3.setVariable(this._parseVariable(true))) return null; @@ -21062,7 +21062,7 @@ var e3 = this.create(re), t3 = this.mark(); return this.accept(i.BracketL) && ((e3.addChild(this._parseVariable(false, true)) || e3.addChild(this._parsePropertyIdentifier())) && this.accept(i.BracketR) || this.accept(i.BracketR)) ? e3 : (this.restoreAtMark(t3), null); }, t2.prototype._parseVariable = function(e3, t3) { - void 0 === e3 && (e3 = false), void 0 === t3 && (t3 = false); + e3 === void 0 && (e3 = false), t3 === void 0 && (t3 = false); var n2 = !e3 && this.peekDelim("$"); if (!this.peekDelim("@") && !n2 && !this.peek(i.AtKeyword)) return null; @@ -21131,7 +21131,7 @@ var e3 = this.createNode(J.SelectorInterpolation); return this._acceptInterpolatedIdent(e3) ? this.finish(e3) : null; }, t2.prototype._parsePropertyIdentifier = function(e3) { - void 0 === e3 && (e3 = false); + e3 === void 0 && (e3 = false); var t3 = /^[\w-]+/; if (!this.peekInterpolatedIdent() && !this.peekRegExp(this.token.type, t3)) return null; @@ -21205,7 +21205,7 @@ var e3 = this.mark(), t3 = this.create(ct); return !t3.addChild(this._parseVariable(true)) || !this.hasWhitespace() && this.accept(i.ParenthesisL) ? this.accept(i.ParenthesisR) ? this.finish(t3) : this.finish(t3, xt.RightParenthesisExpected) : (this.restoreAtMark(e3), null); }, t2.prototype._tryParseMixinReference = function(e3) { - void 0 === e3 && (e3 = true); + e3 === void 0 && (e3 = true); for (var t3 = this.mark(), n2 = this.create(ct), o2 = this._parseMixinDeclarationIdentifier(); o2; ) { this.acceptDelim(">"); var r2 = this._parseMixinDeclarationIdentifier(); @@ -21298,7 +21298,7 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), Tr = wt(), Lr = function(e2) { function t2(t3, n2) { @@ -21313,7 +21313,7 @@ }, t2.prototype.getTermProposals = function(n2, i2, o2) { var r2 = t2.builtInProposals; return n2 && (r2 = r2.filter(function(e3) { - return !e3.type || !n2.restrictions || -1 !== n2.restrictions.indexOf(e3.type); + return !e3.type || !n2.restrictions || n2.restrictions.indexOf(e3.type) !== -1; })), this.createFunctionProposals(r2, i2, true, o2), e2.prototype.getTermProposals.call(this, n2, i2, o2); }, t2.prototype.getColorProposals = function(n2, i2, o2) { return this.createFunctionProposals(t2.colorProposals, i2, false, o2), e2.prototype.getColorProposals.call(this, n2, i2, o2); @@ -21325,7 +21325,7 @@ return function(e3, t3) { var n2 = t3 && t3.rangeLimit || Number.MAX_VALUE, i2 = e3.sort(function(e4, t4) { var n3 = e4.startLine - t4.startLine; - return 0 === n3 && (n3 = e4.endLine - t4.endLine), n3; + return n3 === 0 && (n3 = e4.endLine - t4.endLine), n3; }), o2 = [], r2 = -1; return i2.forEach(function(e4) { e4.startLine < r2 && r2 < e4.endLine || (o2.push(e4), r2 = e4.endLine); @@ -21355,21 +21355,21 @@ r2.push({line: t3(a2), type: "brace", isStart: true}); break; case i.CurlyR: - if (0 !== r2.length) { + if (r2.length !== 0) { if (!(u2 = Ir(r2, "brace"))) break; var c3 = n2(a2); - "brace" === u2.type && (l2 && n2(l2) !== c3 && c3--, u2.line !== c3 && o2.push({startLine: u2.line, endLine: c3, kind: void 0})); + u2.type === "brace" && (l2 && n2(l2) !== c3 && c3--, u2.line !== c3 && o2.push({startLine: u2.line, endLine: c3, kind: void 0})); } break; case i.Comment: var d2 = function(e4) { - return "#region" === e4 ? {line: t3(a2), type: "comment", isStart: true} : {line: n2(a2), type: "comment", isStart: false}; + return e4 === "#region" ? {line: t3(a2), type: "comment", isStart: true} : {line: n2(a2), type: "comment", isStart: false}; }, h2 = function(t4) { var n3 = t4.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//); if (n3) return d2(n3[1]); - if ("scss" === e3.languageId || "less" === e3.languageId) { + if (e3.languageId === "scss" || e3.languageId === "less") { var i2 = t4.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/); if (i2) return d2(i2[1]); @@ -21383,7 +21383,7 @@ var u2; if (!(u2 = Ir(r2, "comment"))) break; - "comment" === u2.type && u2.line !== h2.line && o2.push({startLine: u2.line, endLine: h2.line, kind: "region"}); + u2.type === "comment" && u2.line !== h2.line && o2.push({startLine: u2.line, endLine: h2.line, kind: "region"}); } else { var p2 = function(e4, i2) { @@ -21401,14 +21401,14 @@ }(e2), t2); } function Ir(e2, t2) { - if (0 === e2.length) + if (e2.length === 0) return null; for (var n2 = e2.length - 1; n2 >= 0; n2--) if (e2[n2].type === t2 && e2[n2].isStart) return e2.splice(n2, 1)[0]; return null; } - var Or = {version: 1.1, properties: [{name: "additive-symbols", browsers: ["FF33"], syntax: "[ <integer> && <symbol> ]#", relevance: 50, description: "@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.", restrictions: ["integer", "string", "image", "identifier"]}, {name: "align-content", values: [{name: "center", description: "Lines are packed toward the center of the flex container."}, {name: "flex-end", description: "Lines are packed toward the end of the flex container."}, {name: "flex-start", description: "Lines are packed toward the start of the flex container."}, {name: "space-around", description: "Lines are evenly distributed in the flex container, with half-size spaces on either end."}, {name: "space-between", description: "Lines are evenly distributed in the flex container."}, {name: "stretch", description: "Lines stretch to take up the remaining space."}], syntax: "normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>", relevance: 59, description: "Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.", restrictions: ["enum"]}, {name: "align-items", values: [{name: "baseline", description: "If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item’s margin box is centered in the cross axis within the line."}, {name: "flex-end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "flex-start", description: "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}], syntax: "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]", relevance: 81, description: "Aligns flex items along the cross axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "justify-items", values: [{name: "auto"}, {name: "normal"}, {name: "end"}, {name: "start"}, {name: "flex-end", description: '"Flex items are packed toward the end of the line."'}, {name: "flex-start", description: '"Flex items are packed toward the start of the line."'}, {name: "self-end", description: "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."}, {name: "self-start", description: "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."}, {name: "center", description: "The items are packed flush to each other toward the center of the of the alignment container."}, {name: "left"}, {name: "right"}, {name: "baseline"}, {name: "first baseline"}, {name: "last baseline"}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}, {name: "save"}, {name: "unsave"}, {name: "legacy"}], syntax: "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]", relevance: 50, description: "Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis", restrictions: ["enum"]}, {name: "justify-self", browsers: ["E16", "FF45", "S10.1", "C57", "O44"], values: [{name: "auto"}, {name: "normal"}, {name: "end"}, {name: "start"}, {name: "flex-end", description: '"Flex items are packed toward the end of the line."'}, {name: "flex-start", description: '"Flex items are packed toward the start of the line."'}, {name: "self-end", description: "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."}, {name: "self-start", description: "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."}, {name: "center", description: "The items are packed flush to each other toward the center of the of the alignment container."}, {name: "left"}, {name: "right"}, {name: "baseline"}, {name: "first baseline"}, {name: "last baseline"}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}, {name: "save"}, {name: "unsave"}], syntax: "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]", relevance: 52, description: "Defines the way of justifying a box inside its container along the appropriate axis.", restrictions: ["enum"]}, {name: "align-self", values: [{name: "auto", description: "Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."}, {name: "baseline", description: "If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item’s margin box is centered in the cross axis within the line."}, {name: "flex-end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "flex-start", description: "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}], syntax: "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>", relevance: 69, description: "Allows the default alignment along the cross axis to be overridden for individual flex items.", restrictions: ["enum"]}, {name: "all", browsers: ["E79", "FF27", "S9.1", "C37", "O24"], values: [], syntax: "initial | inherit | unset | revert", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/all"}], description: "Shorthand that resets all properties except 'direction' and 'unicode-bidi'.", restrictions: ["enum"]}, {name: "alt", browsers: ["S9"], values: [], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/alt"}], description: "Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.", restrictions: ["string", "enum"]}, {name: "animation", values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], syntax: "<single-animation>#", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation"}], description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "timing-function", "enum", "identifier", "number"]}, {name: "animation-delay", syntax: "<time>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-delay"}], description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "animation-direction", values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], syntax: "<single-animation-direction>#", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-direction"}], description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "animation-duration", syntax: "<time>#", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-duration"}], description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "animation-fill-mode", values: [{name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "none", description: "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}], syntax: "<single-animation-fill-mode>#", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}], description: "Defines what values are applied by the animation outside the time it is executing.", restrictions: ["enum"]}, {name: "animation-iteration-count", values: [{name: "infinite", description: "Causes the animation to repeat forever."}], syntax: "<single-animation-iteration-count>#", relevance: 59, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}], description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "animation-name", values: [{name: "none", description: "No animation is performed"}], syntax: "[ none | <keyframes-name> ]#", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-name"}], description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "animation-play-state", values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], syntax: "<single-animation-play-state>#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}], description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "animation-timing-function", syntax: "<timing-function>#", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}], description: "Describes how the animation will progress over one cycle of its duration.", restrictions: ["timing-function"]}, {name: "backface-visibility", values: [{name: "hidden", description: "Back side is hidden."}, {name: "visible", description: "Back side is visible."}], syntax: "visible | hidden", relevance: 59, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}], description: "Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.", restrictions: ["enum"]}, {name: "background", values: [{name: "fixed", description: "The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."}, {name: "local", description: "The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."}, {name: "none", description: "A value of 'none' counts as an image layer but draws nothing."}, {name: "scroll", description: "The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}], syntax: "[ <bg-layer> , ]* <final-bg-layer>", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background"}], description: "Shorthand property for setting most background properties at the same place in the style sheet.", restrictions: ["enum", "image", "color", "position", "length", "repeat", "percentage", "box"]}, {name: "background-attachment", values: [{name: "fixed", description: "The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."}, {name: "local", description: "The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."}, {name: "scroll", description: "The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}], syntax: "<attachment>#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-attachment"}], description: "Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').", restrictions: ["enum"]}, {name: "background-blend-mode", browsers: ["E79", "FF30", "S8", "C35", "O22"], values: [{name: "normal", description: "Default attribute which specifies no blending"}, {name: "multiply", description: "The source color is multiplied by the destination color and replaces the destination."}, {name: "screen", description: "Multiplies the complements of the backdrop and source color values, then complements the result."}, {name: "overlay", description: "Multiplies or screens the colors, depending on the backdrop color value."}, {name: "darken", description: "Selects the darker of the backdrop and source colors."}, {name: "lighten", description: "Selects the lighter of the backdrop and source colors."}, {name: "color-dodge", description: "Brightens the backdrop color to reflect the source color."}, {name: "color-burn", description: "Darkens the backdrop color to reflect the source color."}, {name: "hard-light", description: "Multiplies or screens the colors, depending on the source color value."}, {name: "soft-light", description: "Darkens or lightens the colors, depending on the source color value."}, {name: "difference", description: "Subtracts the darker of the two constituent colors from the lighter color.."}, {name: "exclusion", description: "Produces an effect similar to that of the Difference mode but lower in contrast."}, {name: "hue", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."}, {name: "saturation", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."}, {name: "color", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."}, {name: "luminosity", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}], syntax: "<blend-mode>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}], description: "Defines the blending mode of each background layer.", restrictions: ["enum"]}, {name: "background-clip", syntax: "<box>#", relevance: 67, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-clip"}], description: "Determines the background painting area.", restrictions: ["box"]}, {name: "background-color", syntax: "<color>", relevance: 94, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-color"}], description: "Sets the background color of an element.", restrictions: ["color"]}, {name: "background-image", values: [{name: "none", description: "Counts as an image layer but draws nothing."}], syntax: "<bg-image>#", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-image"}], description: "Sets the background image(s) of an element.", restrictions: ["image", "enum"]}, {name: "background-origin", syntax: "<box>#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-origin"}], description: "For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).", restrictions: ["box"]}, {name: "background-position", syntax: "<bg-position>#", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-position"}], description: "Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.", restrictions: ["position", "length", "percentage"]}, {name: "background-position-x", values: [{name: "center", description: "Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."}, {name: "left", description: "Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."}, {name: "right", description: "Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}], status: "experimental", syntax: "[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-position-x"}], description: "If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.", restrictions: ["length", "percentage"]}, {name: "background-position-y", values: [{name: "bottom", description: "Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."}, {name: "center", description: "Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."}, {name: "top", description: "Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}], status: "experimental", syntax: "[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-position-y"}], description: "If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.", restrictions: ["length", "percentage"]}, {name: "background-repeat", values: [], syntax: "<repeat-style>#", relevance: 85, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-repeat"}], description: "Specifies how background images are tiled after they have been sized and positioned.", restrictions: ["repeat"]}, {name: "background-size", values: [{name: "auto", description: "Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."}, {name: "contain", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."}, {name: "cover", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}], syntax: "<bg-size>#", relevance: 85, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-size"}], description: "Specifies the size of the background images.", restrictions: ["length", "percentage"]}, {name: "behavior", browsers: ["IE6"], relevance: 50, description: "IE only. Used to extend behaviors of the browser.", restrictions: ["url"]}, {name: "block-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], values: [{name: "auto", description: "Depends on the values of other properties."}], syntax: "<'width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/block-size"}], description: "Logical 'width'. Mapping depends on the element’s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "border", syntax: "<line-width> || <line-style> || <color>", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border"}], description: "Shorthand property for setting border width, style, and color.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-block-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end"}], description: "Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-block-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start"}], description: "Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-block-end-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}], description: "Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-block-start-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}], description: "Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-block-end-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}], description: "Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-block-start-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}], description: "Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-block-end-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}], description: "Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-block-start-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}], description: "Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-bottom", syntax: "<line-width> || <line-style> || <color>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom"}], description: "Shorthand property for setting border width, style and color.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-bottom-color", syntax: "<'border-top-color'>", relevance: 71, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}], description: "Sets the color of the bottom border.", restrictions: ["color"]}, {name: "border-bottom-left-radius", syntax: "<length-percentage>{1,2}", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}], description: "Defines the radii of the bottom left outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-bottom-right-radius", syntax: "<length-percentage>{1,2}", relevance: 73, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}], description: "Defines the radii of the bottom right outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-bottom-style", syntax: "<line-style>", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}], description: "Sets the style of the bottom border.", restrictions: ["line-style"]}, {name: "border-bottom-width", syntax: "<line-width>", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}], description: "Sets the thickness of the bottom border.", restrictions: ["length", "line-width"]}, {name: "border-collapse", values: [{name: "collapse", description: "Selects the collapsing borders model."}, {name: "separate", description: "Selects the separated borders border model."}], syntax: "collapse | separate", relevance: 75, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-collapse"}], description: "Selects a table's border model.", restrictions: ["enum"]}, {name: "border-color", values: [], syntax: "<color>{1,4}", relevance: 86, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-color"}], description: "The color of the border around all four edges of an element.", restrictions: ["color"]}, {name: "border-image", values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none", description: "Use the border styles."}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}, {name: "url()"}], syntax: "<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image"}], description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "url", "enum"]}, {name: "border-image-outset", syntax: "[ <length> | <number> ]{1,4}", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}], description: "The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.", restrictions: ["length", "number"]}, {name: "border-image-repeat", values: [{name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}], syntax: "[ stretch | repeat | round | space ]{1,2}", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}], description: "Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.", restrictions: ["enum"]}, {name: "border-image-slice", values: [{name: "fill", description: "Causes the middle part of the border-image to be preserved."}], syntax: "<number-percentage>{1,4} && fill?", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}], description: "Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.", restrictions: ["number", "percentage"]}, {name: "border-image-source", values: [{name: "none", description: "Use the border styles."}], syntax: "none | <image>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-source"}], description: "Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.", restrictions: ["image"]}, {name: "border-image-width", values: [{name: "auto", description: "The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}], syntax: "[ <length-percentage> | <number> | auto ]{1,4}", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-width"}], description: "The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.", restrictions: ["length", "percentage", "number"]}, {name: "border-inline-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}], description: "Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-inline-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}], description: "Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-inline-end-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}], description: "Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-inline-start-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}], description: "Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-inline-end-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}], description: "Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-inline-start-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}], description: "Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-inline-end-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}], description: "Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-inline-start-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}], description: "Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-left", syntax: "<line-width> || <line-style> || <color>", relevance: 82, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left"}], description: "Shorthand property for setting border width, style and color", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-left-color", syntax: "<color>", relevance: 65, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left-color"}], description: "Sets the color of the left border.", restrictions: ["color"]}, {name: "border-left-style", syntax: "<line-style>", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left-style"}], description: "Sets the style of the left border.", restrictions: ["line-style"]}, {name: "border-left-width", syntax: "<line-width>", relevance: 58, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left-width"}], description: "Sets the thickness of the left border.", restrictions: ["length", "line-width"]}, {name: "border-radius", syntax: "<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-radius"}], description: "Defines the radii of the outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-right", syntax: "<line-width> || <line-style> || <color>", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right"}], description: "Shorthand property for setting border width, style and color", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-right-color", syntax: "<color>", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right-color"}], description: "Sets the color of the right border.", restrictions: ["color"]}, {name: "border-right-style", syntax: "<line-style>", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right-style"}], description: "Sets the style of the right border.", restrictions: ["line-style"]}, {name: "border-right-width", syntax: "<line-width>", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right-width"}], description: "Sets the thickness of the right border.", restrictions: ["length", "line-width"]}, {name: "border-spacing", syntax: "<length> <length>?", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-spacing"}], description: "The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.", restrictions: ["length"]}, {name: "border-style", values: [], syntax: "<line-style>{1,4}", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-style"}], description: "The style of the border around edges of an element.", restrictions: ["line-style"]}, {name: "border-top", syntax: "<line-width> || <line-style> || <color>", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top"}], description: "Shorthand property for setting border width, style and color", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-top-color", syntax: "<color>", relevance: 71, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-color"}], description: "Sets the color of the top border.", restrictions: ["color"]}, {name: "border-top-left-radius", syntax: "<length-percentage>{1,2}", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}], description: "Defines the radii of the top left outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-top-right-radius", syntax: "<length-percentage>{1,2}", relevance: 72, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}], description: "Defines the radii of the top right outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-top-style", syntax: "<line-style>", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-style"}], description: "Sets the style of the top border.", restrictions: ["line-style"]}, {name: "border-top-width", syntax: "<line-width>", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-width"}], description: "Sets the thickness of the top border.", restrictions: ["length", "line-width"]}, {name: "border-width", values: [], syntax: "<line-width>{1,4}", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-width"}], description: "Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.", restrictions: ["length", "line-width"]}, {name: "bottom", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/bottom"}], description: "Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "box-decoration-break", browsers: ["E79", "FF32", "S6.1", "C22", "O15"], values: [{name: "clone", description: "Each box is independently wrapped with the border and padding."}, {name: "slice", description: "The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}], syntax: "slice | clone", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}], description: "Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.", restrictions: ["enum"]}, {name: "box-shadow", values: [{name: "inset", description: "Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."}, {name: "none", description: "No shadow."}], syntax: "none | <shadow>#", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-shadow"}], description: "Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.", restrictions: ["length", "color", "enum"]}, {name: "box-sizing", values: [{name: "border-box", description: "The specified width and height (and respective min/max properties) on this element determine the border box of the element."}, {name: "content-box", description: "Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}], syntax: "content-box | border-box", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-sizing"}], description: "Specifies the behavior of the 'width' and 'height' properties.", restrictions: ["enum"]}, {name: "break-after", values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the principal box."}, {name: "avoid", description: "Avoid a break before/after the principal box."}, {name: "avoid-column", description: "Avoid a column break before/after the principal box."}, {name: "avoid-page", description: "Avoid a page break before/after the principal box."}, {name: "column", description: "Always force a column break before/after the principal box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the principal box."}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], syntax: "auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region", relevance: 50, description: "Describes the page/column/region break behavior after the generated box.", restrictions: ["enum"]}, {name: "break-before", values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the principal box."}, {name: "avoid", description: "Avoid a break before/after the principal box."}, {name: "avoid-column", description: "Avoid a column break before/after the principal box."}, {name: "avoid-page", description: "Avoid a page break before/after the principal box."}, {name: "column", description: "Always force a column break before/after the principal box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the principal box."}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], syntax: "auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region", relevance: 50, description: "Describes the page/column/region break behavior before the generated box.", restrictions: ["enum"]}, {name: "break-inside", values: [{name: "auto", description: "Impose no additional breaking constraints within the box."}, {name: "avoid", description: "Avoid breaks within the box."}, {name: "avoid-column", description: "Avoid a column break within the box."}, {name: "avoid-page", description: "Avoid a page break within the box."}], syntax: "auto | avoid | avoid-page | avoid-column | avoid-region", relevance: 50, description: "Describes the page/column/region break behavior inside the principal box.", restrictions: ["enum"]}, {name: "caption-side", values: [{name: "bottom", description: "Positions the caption box below the table box."}, {name: "top", description: "Positions the caption box above the table box."}], syntax: "top | bottom | block-start | block-end | inline-start | inline-end", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/caption-side"}], description: "Specifies the position of the caption box with respect to the table box.", restrictions: ["enum"]}, {name: "caret-color", browsers: ["E79", "FF53", "S11.1", "C57", "O44"], values: [{name: "auto", description: "The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}], syntax: "auto | <color>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/caret-color"}], description: "Controls the color of the text insertion indicator.", restrictions: ["color", "enum"]}, {name: "clear", values: [{name: "both", description: "The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."}, {name: "left", description: "The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."}, {name: "none", description: "No constraint on the box's position with respect to floats."}, {name: "right", description: "The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}], syntax: "none | left | right | both | inline-start | inline-end", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/clear"}], description: "Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.", restrictions: ["enum"]}, {name: "clip", values: [{name: "auto", description: "The element does not clip."}, {name: "rect()", description: "Specifies offsets from the edges of the border box."}], syntax: "<shape> | auto", relevance: 73, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/clip"}], description: "Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.", restrictions: ["enum"]}, {name: "clip-path", values: [{name: "none", description: "No clipping path gets created."}, {name: "url()", description: "References a <clipPath> element to create a clipping path."}], syntax: "<clip-source> | [ <basic-shape> || <geometry-box> ] | none", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/clip-path"}], description: "Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.", restrictions: ["url", "shape", "geometry-box", "enum"]}, {name: "clip-rule", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], values: [{name: "evenodd", description: "Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."}, {name: "nonzero", description: "Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}], relevance: 50, description: "Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.", restrictions: ["enum"]}, {name: "color", syntax: "<color>", relevance: 94, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/color"}], description: "Sets the color of an element's text", restrictions: ["color"]}, {name: "color-interpolation-filters", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], values: [{name: "auto", description: "Color operations are not required to occur in a particular color space."}, {name: "linearRGB", description: "Color operations should occur in the linearized RGB color space."}, {name: "sRGB", description: "Color operations should occur in the sRGB color space."}], relevance: 50, description: "Specifies the color space for imaging operations performed via filter effects.", restrictions: ["enum"]}, {name: "column-count", values: [{name: "auto", description: "Determines the number of columns by the 'column-width' property and the element width."}], syntax: "<integer> | auto", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-count"}], description: "Describes the optimal number of columns into which the content of the element will be flowed.", restrictions: ["integer", "enum"]}, {name: "column-fill", values: [{name: "auto", description: "Fills columns sequentially."}, {name: "balance", description: "Balance content equally between columns, if possible."}], syntax: "auto | balance | balance-all", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-fill"}], description: "In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.", restrictions: ["enum"]}, {name: "column-gap", values: [{name: "normal", description: "User agent specific and typically equivalent to 1em."}], syntax: "normal | <length-percentage>", relevance: 52, description: "Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.", restrictions: ["length", "enum"]}, {name: "column-rule", syntax: "<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule"}], description: "Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "column-rule-color", syntax: "<color>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}], description: "Sets the color of the column rule", restrictions: ["color"]}, {name: "column-rule-style", syntax: "<'border-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}], description: "Sets the style of the rule between columns of an element.", restrictions: ["line-style"]}, {name: "column-rule-width", syntax: "<'border-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}], description: "Sets the width of the rule between columns. Negative values are not allowed.", restrictions: ["length", "line-width"]}, {name: "columns", values: [{name: "auto", description: "The width depends on the values of other properties."}], syntax: "<'column-width'> || <'column-count'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/columns"}], description: "A shorthand property which sets both 'column-width' and 'column-count'.", restrictions: ["length", "integer", "enum"]}, {name: "column-span", values: [{name: "all", description: "The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."}, {name: "none", description: "The element does not span multiple columns."}], syntax: "none | all", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-span"}], description: "Describes the page/column break behavior after the generated box.", restrictions: ["enum"]}, {name: "column-width", values: [{name: "auto", description: "The width depends on the values of other properties."}], syntax: "<length> | auto", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-width"}], description: "Describes the width of columns in multicol elements.", restrictions: ["length", "enum"]}, {name: "contain", browsers: ["E79", "FF69", "C52", "O40"], values: [{name: "none", description: "Indicates that the property has no effect."}, {name: "strict", description: "Turns on all forms of containment for the element."}, {name: "content", description: "All containment rules except size are applied to the element."}, {name: "size", description: "For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."}, {name: "layout", description: "Turns on layout containment for the element."}, {name: "style", description: "Turns on style containment for the element."}, {name: "paint", description: "Turns on paint containment for the element."}], syntax: "none | strict | content | [ size || layout || style || paint ]", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/contain"}], description: "Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.", restrictions: ["enum"]}, {name: "content", values: [{name: "attr()", description: "The attr(n) function returns as a string the value of attribute n for the subject of the selector."}, {name: "counter(name)", description: "Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."}, {name: "icon", description: "The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."}, {name: "none", description: "On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."}, {name: "normal", description: "See http://www.w3.org/TR/css3-content/#content for computation rules."}, {name: "url()"}], syntax: "normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/content"}], description: "Determines which page-based occurrence of a given element is applied to a counter or string value.", restrictions: ["string", "url"]}, {name: "counter-increment", values: [{name: "none", description: "This element does not alter the value of any counters."}], syntax: "[ <custom-ident> <integer>? ]+ | none", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/counter-increment"}], description: "Manipulate the value of existing counters.", restrictions: ["identifier", "integer"]}, {name: "counter-reset", values: [{name: "none", description: "The counter is not modified."}], syntax: "[ <custom-ident> <integer>? ]+ | none", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/counter-reset"}], description: "Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.", restrictions: ["identifier", "integer"]}, {name: "cursor", values: [{name: "alias", description: "Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."}, {name: "all-scroll", description: "Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."}, {name: "auto", description: "The UA determines the cursor to display based on the current context."}, {name: "cell", description: "Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."}, {name: "col-resize", description: "Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."}, {name: "context-menu", description: "A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."}, {name: "copy", description: "Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."}, {name: "crosshair", description: "A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."}, {name: "default", description: "The platform-dependent default cursor. Often rendered as an arrow."}, {name: "e-resize", description: "Indicates that east edge is to be moved."}, {name: "ew-resize", description: "Indicates a bidirectional east-west resize cursor."}, {name: "grab", description: "Indicates that something can be grabbed."}, {name: "grabbing", description: "Indicates that something is being grabbed."}, {name: "help", description: "Help is available for the object under the cursor. Often rendered as a question mark or a balloon."}, {name: "move", description: "Indicates something is to be moved."}, {name: "-moz-grab", description: "Indicates that something can be grabbed."}, {name: "-moz-grabbing", description: "Indicates that something is being grabbed."}, {name: "-moz-zoom-in", description: "Indicates that something can be zoomed (magnified) in."}, {name: "-moz-zoom-out", description: "Indicates that something can be zoomed (magnified) out."}, {name: "ne-resize", description: "Indicates that movement starts from north-east corner."}, {name: "nesw-resize", description: "Indicates a bidirectional north-east/south-west cursor."}, {name: "no-drop", description: "Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."}, {name: "none", description: "No cursor is rendered for the element."}, {name: "not-allowed", description: "Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."}, {name: "n-resize", description: "Indicates that north edge is to be moved."}, {name: "ns-resize", description: "Indicates a bidirectional north-south cursor."}, {name: "nw-resize", description: "Indicates that movement starts from north-west corner."}, {name: "nwse-resize", description: "Indicates a bidirectional north-west/south-east cursor."}, {name: "pointer", description: "The cursor is a pointer that indicates a link."}, {name: "progress", description: "A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."}, {name: "row-resize", description: "Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."}, {name: "se-resize", description: "Indicates that movement starts from south-east corner."}, {name: "s-resize", description: "Indicates that south edge is to be moved."}, {name: "sw-resize", description: "Indicates that movement starts from south-west corner."}, {name: "text", description: "Indicates text that may be selected. Often rendered as a vertical I-beam."}, {name: "vertical-text", description: "Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."}, {name: "wait", description: "Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."}, {name: "-webkit-grab", description: "Indicates that something can be grabbed."}, {name: "-webkit-grabbing", description: "Indicates that something is being grabbed."}, {name: "-webkit-zoom-in", description: "Indicates that something can be zoomed (magnified) in."}, {name: "-webkit-zoom-out", description: "Indicates that something can be zoomed (magnified) out."}, {name: "w-resize", description: "Indicates that west edge is to be moved."}, {name: "zoom-in", description: "Indicates that something can be zoomed (magnified) in."}, {name: "zoom-out", description: "Indicates that something can be zoomed (magnified) out."}], syntax: "[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/cursor"}], description: "Allows control over cursor appearance in an element", restrictions: ["url", "number", "enum"]}, {name: "direction", values: [{name: "ltr", description: "Left-to-right direction."}, {name: "rtl", description: "Right-to-left direction."}], syntax: "ltr | rtl", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/direction"}], description: "Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.", restrictions: ["enum"]}, {name: "display", values: [{name: "block", description: "The element generates a block-level box"}, {name: "contents", description: "The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."}, {name: "flex", description: "The element generates a principal flex container box and establishes a flex formatting context."}, {name: "flexbox", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "flow-root", description: "The element generates a block container box, and lays out its contents using flow layout."}, {name: "grid", description: "The element generates a principal grid container box, and establishes a grid formatting context."}, {name: "inline", description: "The element generates an inline-level box."}, {name: "inline-block", description: "A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."}, {name: "inline-flex", description: "Inline-level flex container."}, {name: "inline-flexbox", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "inline-table", description: "Inline-level table wrapper box containing table box."}, {name: "list-item", description: "One or more block boxes and one marker box."}, {name: "-moz-box", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "-moz-deck"}, {name: "-moz-grid"}, {name: "-moz-grid-group"}, {name: "-moz-grid-line"}, {name: "-moz-groupbox"}, {name: "-moz-inline-box", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "-moz-inline-grid"}, {name: "-moz-inline-stack"}, {name: "-moz-marker"}, {name: "-moz-popup"}, {name: "-moz-stack"}, {name: "-ms-flexbox", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "-ms-grid", description: "The element generates a principal grid container box, and establishes a grid formatting context."}, {name: "-ms-inline-flexbox", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "-ms-inline-grid", description: "Inline-level grid container."}, {name: "none", description: "The element and its descendants generates no boxes."}, {name: "ruby", description: "The element generates a principal ruby container box, and establishes a ruby formatting context."}, {name: "ruby-base"}, {name: "ruby-base-container"}, {name: "ruby-text"}, {name: "ruby-text-container"}, {name: "run-in", description: "The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."}, {name: "table", description: "The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."}, {name: "table-caption"}, {name: "table-cell"}, {name: "table-column"}, {name: "table-column-group"}, {name: "table-footer-group"}, {name: "table-header-group"}, {name: "table-row"}, {name: "table-row-group"}, {name: "-webkit-box", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "-webkit-flex", description: "The element lays out its contents using flow layout (block-and-inline layout)."}, {name: "-webkit-inline-box", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "-webkit-inline-flex", description: "Inline-level flex container."}], syntax: "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/display"}], description: "In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.", restrictions: ["enum"]}, {name: "empty-cells", values: [{name: "hide", description: "No borders or backgrounds are drawn around/behind empty cells."}, {name: "-moz-show-background"}, {name: "show", description: "Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}], syntax: "show | hide", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/empty-cells"}], description: "In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.", restrictions: ["enum"]}, {name: "enable-background", values: [{name: "accumulate", description: "If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."}, {name: "new", description: "Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}], relevance: 50, description: "Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.", restrictions: ["integer", "length", "percentage", "enum"]}, {name: "fallback", browsers: ["FF33"], syntax: "<counter-style-name>", relevance: 50, description: "@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.", restrictions: ["identifier"]}, {name: "fill", values: [{name: "url()", description: "A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."}, {name: "none", description: "No paint is applied in this layer."}], relevance: 74, description: "Paints the interior of the given graphical element.", restrictions: ["color", "enum", "url"]}, {name: "fill-opacity", relevance: 52, description: "Specifies the opacity of the painting operation used to paint the interior the current object.", restrictions: ["number(0-1)"]}, {name: "fill-rule", values: [{name: "evenodd", description: "Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."}, {name: "nonzero", description: "Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}], relevance: 50, description: "Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.", restrictions: ["enum"]}, {name: "filter", browsers: ["E12", "FF35", "S9.1", "C53", "O40"], values: [{name: "none", description: "No filter effects are applied."}, {name: "blur()", description: "Applies a Gaussian blur to the input image."}, {name: "brightness()", description: "Applies a linear multiplier to input image, making it appear more or less bright."}, {name: "contrast()", description: "Adjusts the contrast of the input."}, {name: "drop-shadow()", description: "Applies a drop shadow effect to the input image."}, {name: "grayscale()", description: "Converts the input image to grayscale."}, {name: "hue-rotate()", description: "Applies a hue rotation on the input image. "}, {name: "invert()", description: "Inverts the samples in the input image."}, {name: "opacity()", description: "Applies transparency to the samples in the input image."}, {name: "saturate()", description: "Saturates the input image."}, {name: "sepia()", description: "Converts the input image to sepia."}, {name: "url()", browsers: ["E12", "FF35", "S9.1", "C53", "O40"], description: "A filter reference to a <filter> element."}], syntax: "none | <filter-function-list>", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/filter"}], description: "Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.", restrictions: ["enum", "url"]}, {name: "flex", values: [{name: "auto", description: "Retrieves the value of the main size property as the used 'flex-basis'."}, {name: "content", description: "Indicates automatic sizing, based on the flex item’s content."}, {name: "none", description: "Expands to '0 0 auto'."}], syntax: "none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]", relevance: 77, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex"}], description: "Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.", restrictions: ["length", "number", "percentage"]}, {name: "flex-basis", values: [{name: "auto", description: "Retrieves the value of the main size property as the used 'flex-basis'."}, {name: "content", description: "Indicates automatic sizing, based on the flex item’s content."}], syntax: "content | <'width'>", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-basis"}], description: "Sets the flex basis.", restrictions: ["length", "number", "percentage"]}, {name: "flex-direction", values: [{name: "column", description: "The flex container’s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "row", description: "The flex container’s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "row-reverse", description: "Same as 'row', except the main-start and main-end directions are swapped."}], syntax: "row | row-reverse | column | column-reverse", relevance: 78, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-direction"}], description: "Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.", restrictions: ["enum"]}, {name: "flex-flow", values: [{name: "column", description: "The flex container’s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "nowrap", description: "The flex container is single-line."}, {name: "row", description: "The flex container’s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "row-reverse", description: "Same as 'row', except the main-start and main-end directions are swapped."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], syntax: "<'flex-direction'> || <'flex-wrap'>", relevance: 58, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-flow"}], description: "Specifies how flexbox items are placed in the flexbox.", restrictions: ["enum"]}, {name: "flex-grow", syntax: "<number>", relevance: 71, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-grow"}], description: "Sets the flex grow factor. Negative numbers are invalid.", restrictions: ["number"]}, {name: "flex-shrink", syntax: "<number>", relevance: 69, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}], description: "Sets the flex shrink factor. Negative numbers are invalid.", restrictions: ["number"]}, {name: "flex-wrap", values: [{name: "nowrap", description: "The flex container is single-line."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], syntax: "nowrap | wrap | wrap-reverse", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}], description: "Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.", restrictions: ["enum"]}, {name: "float", values: [{name: "inline-end", description: "A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."}, {name: "inline-start", description: "A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."}, {name: "left", description: "The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."}, {name: "none", description: "The box is not floated."}, {name: "right", description: "Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}], syntax: "left | right | none | inline-start | inline-end", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/float"}], description: "Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.", restrictions: ["enum"]}, {name: "flood-color", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], relevance: 50, description: "Indicates what color to use to flood the current filter primitive subregion.", restrictions: ["color"]}, {name: "flood-opacity", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], relevance: 50, description: "Indicates what opacity to use to flood the current filter primitive subregion.", restrictions: ["number(0-1)", "percentage"]}, {name: "font", values: [{name: "100", description: "Thin"}, {name: "200", description: "Extra Light (Ultra Light)"}, {name: "300", description: "Light"}, {name: "400", description: "Normal"}, {name: "500", description: "Medium"}, {name: "600", description: "Semi Bold (Demi Bold)"}, {name: "700", description: "Bold"}, {name: "800", description: "Extra Bold (Ultra Bold)"}, {name: "900", description: "Black (Heavy)"}, {name: "bold", description: "Same as 700"}, {name: "bolder", description: "Specifies the weight of the face bolder than the inherited value."}, {name: "caption", description: "The font used for captioned controls (e.g., buttons, drop-downs, etc.)."}, {name: "icon", description: "The font used to label icons."}, {name: "italic", description: "Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."}, {name: "large"}, {name: "larger"}, {name: "lighter", description: "Specifies the weight of the face lighter than the inherited value."}, {name: "medium"}, {name: "menu", description: "The font used in menus (e.g., dropdown menus and menu lists)."}, {name: "message-box", description: "The font used in dialog boxes."}, {name: "normal", description: "Specifies a face that is not labeled as a small-caps font."}, {name: "oblique", description: "Selects a font that is labeled 'oblique'."}, {name: "small"}, {name: "small-caps", description: "Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}, {name: "small-caption", description: "The font used for labeling small controls."}, {name: "smaller"}, {name: "status-bar", description: "The font used in window status bars."}, {name: "x-large"}, {name: "x-small"}, {name: "xx-large"}, {name: "xx-small"}], syntax: "[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar", relevance: 82, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font"}], description: "Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.", restrictions: ["font"]}, {name: "font-family", values: [{name: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"}, {name: "Arial, Helvetica, sans-serif"}, {name: "Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"}, {name: "'Courier New', Courier, monospace"}, {name: "cursive"}, {name: "fantasy"}, {name: "'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"}, {name: "Georgia, 'Times New Roman', Times, serif"}, {name: "'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"}, {name: "Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"}, {name: "'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"}, {name: "monospace"}, {name: "sans-serif"}, {name: "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"}, {name: "serif"}, {name: "'Times New Roman', Times, serif"}, {name: "'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"}, {name: "Verdana, Geneva, Tahoma, sans-serif"}], syntax: "<family-name>", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-family"}], description: "Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.", restrictions: ["font"]}, {name: "font-feature-settings", values: [{name: '"aalt"', description: "Access All Alternates."}, {name: '"abvf"', description: "Above-base Forms. Required in Khmer script."}, {name: '"abvm"', description: "Above-base Mark Positioning. Required in Indic scripts."}, {name: '"abvs"', description: "Above-base Substitutions. Required in Indic scripts."}, {name: '"afrc"', description: "Alternative Fractions."}, {name: '"akhn"', description: "Akhand. Required in most Indic scripts."}, {name: '"blwf"', description: "Below-base Form. Required in a number of Indic scripts."}, {name: '"blwm"', description: "Below-base Mark Positioning. Required in Indic scripts."}, {name: '"blws"', description: "Below-base Substitutions. Required in Indic scripts."}, {name: '"calt"', description: "Contextual Alternates."}, {name: '"case"', description: "Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."}, {name: '"ccmp"', description: "Glyph Composition/Decomposition."}, {name: '"cfar"', description: "Conjunct Form After Ro. Required in Khmer scripts."}, {name: '"cjct"', description: "Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."}, {name: '"clig"', description: "Contextual Ligatures."}, {name: '"cpct"', description: "Centered CJK Punctuation. Used primarily in Chinese fonts."}, {name: '"cpsp"', description: "Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."}, {name: '"cswh"', description: "Contextual Swash."}, {name: '"curs"', description: "Cursive Positioning. Can be used in any cursive script."}, {name: '"c2pc"', description: "Petite Capitals From Capitals. Applies only to bicameral scripts."}, {name: '"c2sc"', description: "Small Capitals From Capitals. Applies only to bicameral scripts."}, {name: '"dist"', description: "Distances. Required in Indic scripts."}, {name: '"dlig"', description: "Discretionary ligatures."}, {name: '"dnom"', description: "Denominators."}, {name: '"dtls"', description: "Dotless Forms. Applied to math formula layout."}, {name: '"expt"', description: "Expert Forms. Applies only to Japanese."}, {name: '"falt"', description: "Final Glyph on Line Alternates. Can be used in any cursive script."}, {name: '"fin2"', description: "Terminal Form #2. Used only with the Syriac script."}, {name: '"fin3"', description: "Terminal Form #3. Used only with the Syriac script."}, {name: '"fina"', description: "Terminal Forms. Can be used in any alphabetic script."}, {name: '"flac"', description: "Flattened ascent forms. Applied to math formula layout."}, {name: '"frac"', description: "Fractions."}, {name: '"fwid"', description: "Full Widths. Applies to any script which can use monospaced forms."}, {name: '"half"', description: "Half Forms. Required in Indic scripts that show similarity to Devanagari."}, {name: '"haln"', description: "Halant Forms. Required in Indic scripts."}, {name: '"halt"', description: "Alternate Half Widths. Used only in CJKV fonts."}, {name: '"hist"', description: "Historical Forms."}, {name: '"hkna"', description: "Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."}, {name: '"hlig"', description: "Historical Ligatures."}, {name: '"hngl"', description: "Hangul. Korean only."}, {name: '"hojo"', description: "Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."}, {name: '"hwid"', description: "Half Widths. Generally used only in CJKV fonts."}, {name: '"init"', description: "Initial Forms. Can be used in any alphabetic script."}, {name: '"isol"', description: "Isolated Forms. Can be used in any cursive script."}, {name: '"ital"', description: "Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."}, {name: '"jalt"', description: "Justification Alternates. Can be used in any cursive script."}, {name: '"jp78"', description: "JIS78 Forms. Applies only to Japanese."}, {name: '"jp83"', description: "JIS83 Forms. Applies only to Japanese."}, {name: '"jp90"', description: "JIS90 Forms. Applies only to Japanese."}, {name: '"jp04"', description: "JIS2004 Forms. Applies only to Japanese."}, {name: '"kern"', description: "Kerning."}, {name: '"lfbd"', description: "Left Bounds."}, {name: '"liga"', description: "Standard Ligatures."}, {name: '"ljmo"', description: "Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."}, {name: '"lnum"', description: "Lining Figures."}, {name: '"locl"', description: "Localized Forms."}, {name: '"ltra"', description: "Left-to-right glyph alternates."}, {name: '"ltrm"', description: "Left-to-right mirrored forms."}, {name: '"mark"', description: "Mark Positioning."}, {name: '"med2"', description: "Medial Form #2. Used only with the Syriac script."}, {name: '"medi"', description: "Medial Forms."}, {name: '"mgrk"', description: "Mathematical Greek."}, {name: '"mkmk"', description: "Mark to Mark Positioning."}, {name: '"nalt"', description: "Alternate Annotation Forms."}, {name: '"nlck"', description: "NLC Kanji Forms. Used only with Kanji script."}, {name: '"nukt"', description: "Nukta Forms. Required in Indic scripts.."}, {name: '"numr"', description: "Numerators."}, {name: '"onum"', description: "Oldstyle Figures."}, {name: '"opbd"', description: "Optical Bounds."}, {name: '"ordn"', description: "Ordinals. Applies mostly to Latin script."}, {name: '"ornm"', description: "Ornaments."}, {name: '"palt"', description: "Proportional Alternate Widths. Used mostly in CJKV fonts."}, {name: '"pcap"', description: "Petite Capitals."}, {name: '"pkna"', description: "Proportional Kana. Generally used only in Japanese fonts."}, {name: '"pnum"', description: "Proportional Figures."}, {name: '"pref"', description: "Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."}, {name: '"pres"', description: "Pre-base Substitutions. Required in Indic scripts."}, {name: '"pstf"', description: "Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."}, {name: '"psts"', description: "Post-base Substitutions."}, {name: '"pwid"', description: "Proportional Widths."}, {name: '"qwid"', description: "Quarter Widths. Generally used only in CJKV fonts."}, {name: '"rand"', description: "Randomize."}, {name: '"rclt"', description: "Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."}, {name: '"rlig"', description: "Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."}, {name: '"rkrf"', description: "Rakar Forms. Required in Devanagari and Gujarati scripts."}, {name: '"rphf"', description: "Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."}, {name: '"rtbd"', description: "Right Bounds."}, {name: '"rtla"', description: "Right-to-left alternates."}, {name: '"rtlm"', description: "Right-to-left mirrored forms."}, {name: '"ruby"', description: "Ruby Notation Forms. Applies only to Japanese."}, {name: '"salt"', description: "Stylistic Alternates."}, {name: '"sinf"', description: "Scientific Inferiors."}, {name: '"size"', description: "Optical size."}, {name: '"smcp"', description: "Small Capitals. Applies only to bicameral scripts."}, {name: '"smpl"', description: "Simplified Forms. Applies only to Chinese and Japanese."}, {name: '"ssty"', description: "Math script style alternates."}, {name: '"stch"', description: "Stretching Glyph Decomposition."}, {name: '"subs"', description: "Subscript."}, {name: '"sups"', description: "Superscript."}, {name: '"swsh"', description: "Swash. Does not apply to ideographic scripts."}, {name: '"titl"', description: "Titling."}, {name: '"tjmo"', description: "Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."}, {name: '"tnam"', description: "Traditional Name Forms. Applies only to Japanese."}, {name: '"tnum"', description: "Tabular Figures."}, {name: '"trad"', description: "Traditional Forms. Applies only to Chinese and Japanese."}, {name: '"twid"', description: "Third Widths. Generally used only in CJKV fonts."}, {name: '"unic"', description: "Unicase."}, {name: '"valt"', description: "Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."}, {name: '"vatu"', description: "Vattu Variants. Used for Indic scripts. E.g. Devanagari."}, {name: '"vert"', description: "Vertical Alternates. Applies only to scripts with vertical writing modes."}, {name: '"vhal"', description: "Alternate Vertical Half Metrics. Used only in CJKV fonts."}, {name: '"vjmo"', description: "Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."}, {name: '"vkna"', description: "Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."}, {name: '"vkrn"', description: "Vertical Kerning."}, {name: '"vpal"', description: "Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."}, {name: '"vrt2"', description: "Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."}, {name: '"zero"', description: "Slashed Zero."}, {name: "normal", description: "No change in glyph substitution or positioning occurs."}, {name: "off", description: "Disable feature."}, {name: "on", description: "Enable feature."}], syntax: "normal | <feature-tag-value>#", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}], description: "Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.", restrictions: ["string", "integer"]}, {name: "font-kerning", browsers: ["E79", "FF32", "S9", "C33", "O20"], values: [{name: "auto", description: "Specifies that kerning is applied at the discretion of the user agent."}, {name: "none", description: "Specifies that kerning is not applied."}, {name: "normal", description: "Specifies that kerning is applied."}], syntax: "auto | normal | none", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-kerning"}], description: "Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.", restrictions: ["enum"]}, {name: "font-language-override", browsers: ["FF34"], values: [{name: "normal", description: "Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}], syntax: "normal | <string>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-language-override"}], description: "The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.", restrictions: ["string"]}, {name: "font-size", values: [{name: "large"}, {name: "larger"}, {name: "medium"}, {name: "small"}, {name: "smaller"}, {name: "x-large"}, {name: "x-small"}, {name: "xx-large"}, {name: "xx-small"}], syntax: "<absolute-size> | <relative-size> | <length-percentage>", relevance: 94, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-size"}], description: "Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.", restrictions: ["length", "percentage"]}, {name: "font-size-adjust", browsers: ["E79", "FF40", "C43", "O30"], values: [{name: "none", description: "Do not preserve the font’s x-height."}], syntax: "none | <number>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}], description: "Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.", restrictions: ["number"]}, {name: "font-stretch", values: [{name: "condensed"}, {name: "expanded"}, {name: "extra-condensed"}, {name: "extra-expanded"}, {name: "narrower", description: "Indicates a narrower value relative to the width of the parent element."}, {name: "normal"}, {name: "semi-condensed"}, {name: "semi-expanded"}, {name: "ultra-condensed"}, {name: "ultra-expanded"}, {name: "wider", description: "Indicates a wider value relative to the width of the parent element."}], syntax: "<font-stretch-absolute>{1,2}", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-stretch"}], description: "Selects a normal, condensed, or expanded face from a font family.", restrictions: ["enum"]}, {name: "font-style", values: [{name: "italic", description: "Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"}, {name: "normal", description: "Selects a face that is classified as 'normal'."}, {name: "oblique", description: "Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}], syntax: "normal | italic | oblique <angle>{0,2}", relevance: 83, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-style"}], description: "Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.", restrictions: ["enum"]}, {name: "font-synthesis", browsers: ["FF34", "S9"], values: [{name: "none", description: "Disallow all synthetic faces."}, {name: "style", description: "Allow synthetic italic faces."}, {name: "weight", description: "Allow synthetic bold faces."}], syntax: "none | [ weight || style ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}], description: "Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.", restrictions: ["enum"]}, {name: "font-variant", values: [{name: "normal", description: "Specifies a face that is not labeled as a small-caps font."}, {name: "small-caps", description: "Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}], syntax: "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]", relevance: 63, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant"}], description: "Specifies variant representations of the font", restrictions: ["enum"]}, {name: "font-variant-alternates", browsers: ["FF34"], values: [{name: "annotation()", description: "Enables display of alternate annotation forms."}, {name: "character-variant()", description: "Enables display of specific character variants."}, {name: "historical-forms", description: "Enables display of historical forms."}, {name: "normal", description: "None of the features are enabled."}, {name: "ornaments()", description: "Enables replacement of default glyphs with ornaments, if provided in the font."}, {name: "styleset()", description: "Enables display with stylistic sets."}, {name: "stylistic()", description: "Enables display of stylistic alternates."}, {name: "swash()", description: "Enables display of swash glyphs."}], syntax: "normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}], description: "For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.", restrictions: ["enum"]}, {name: "font-variant-caps", browsers: ["E79", "FF34", "C52", "O39"], values: [{name: "all-petite-caps", description: "Enables display of petite capitals for both upper and lowercase letters."}, {name: "all-small-caps", description: "Enables display of small capitals for both upper and lowercase letters."}, {name: "normal", description: "None of the features are enabled."}, {name: "petite-caps", description: "Enables display of petite capitals."}, {name: "small-caps", description: "Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."}, {name: "titling-caps", description: "Enables display of titling capitals."}, {name: "unicase", description: "Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}], syntax: "normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}], description: "Specifies control over capitalized forms.", restrictions: ["enum"]}, {name: "font-variant-east-asian", browsers: ["E79", "FF34", "C63", "O50"], values: [{name: "full-width", description: "Enables rendering of full-width variants."}, {name: "jis04", description: "Enables rendering of JIS04 forms."}, {name: "jis78", description: "Enables rendering of JIS78 forms."}, {name: "jis83", description: "Enables rendering of JIS83 forms."}, {name: "jis90", description: "Enables rendering of JIS90 forms."}, {name: "normal", description: "None of the features are enabled."}, {name: "proportional-width", description: "Enables rendering of proportionally-spaced variants."}, {name: "ruby", description: "Enables display of ruby variant glyphs."}, {name: "simplified", description: "Enables rendering of simplified forms."}, {name: "traditional", description: "Enables rendering of traditional forms."}], syntax: "normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}], description: "Allows control of glyph substitute and positioning in East Asian text.", restrictions: ["enum"]}, {name: "font-variant-ligatures", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], values: [{name: "additional-ligatures", description: "Enables display of additional ligatures."}, {name: "common-ligatures", description: "Enables display of common ligatures."}, {name: "contextual", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], description: "Enables display of contextual alternates."}, {name: "discretionary-ligatures", description: "Enables display of discretionary ligatures."}, {name: "historical-ligatures", description: "Enables display of historical ligatures."}, {name: "no-additional-ligatures", description: "Disables display of additional ligatures."}, {name: "no-common-ligatures", description: "Disables display of common ligatures."}, {name: "no-contextual", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], description: "Disables display of contextual alternates."}, {name: "no-discretionary-ligatures", description: "Disables display of discretionary ligatures."}, {name: "no-historical-ligatures", description: "Disables display of historical ligatures."}, {name: "none", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], description: "Disables all ligatures."}, {name: "normal", description: "Implies that the defaults set by the font are used."}], syntax: "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}], description: "Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.", restrictions: ["enum"]}, {name: "font-variant-numeric", browsers: ["E79", "FF34", "S9.1", "C52", "O39"], values: [{name: "diagonal-fractions", description: "Enables display of lining diagonal fractions."}, {name: "lining-nums", description: "Enables display of lining numerals."}, {name: "normal", description: "None of the features are enabled."}, {name: "oldstyle-nums", description: "Enables display of old-style numerals."}, {name: "ordinal", description: "Enables display of letter forms used with ordinal numbers."}, {name: "proportional-nums", description: "Enables display of proportional numerals."}, {name: "slashed-zero", description: "Enables display of slashed zeros."}, {name: "stacked-fractions", description: "Enables display of lining stacked fractions."}, {name: "tabular-nums", description: "Enables display of tabular numerals."}], syntax: "normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}], description: "Specifies control over numerical forms.", restrictions: ["enum"]}, {name: "font-variant-position", browsers: ["FF34"], values: [{name: "normal", description: "None of the features are enabled."}, {name: "sub", description: "Enables display of subscript variants (OpenType feature: subs)."}, {name: "super", description: "Enables display of superscript variants (OpenType feature: sups)."}], syntax: "normal | sub | super", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}], description: "Specifies the vertical position", restrictions: ["enum"]}, {name: "font-weight", values: [{name: "100", description: "Thin"}, {name: "200", description: "Extra Light (Ultra Light)"}, {name: "300", description: "Light"}, {name: "400", description: "Normal"}, {name: "500", description: "Medium"}, {name: "600", description: "Semi Bold (Demi Bold)"}, {name: "700", description: "Bold"}, {name: "800", description: "Extra Bold (Ultra Bold)"}, {name: "900", description: "Black (Heavy)"}, {name: "bold", description: "Same as 700"}, {name: "bolder", description: "Specifies the weight of the face bolder than the inherited value."}, {name: "lighter", description: "Specifies the weight of the face lighter than the inherited value."}, {name: "normal", description: "Same as 400"}], syntax: "<font-weight-absolute>{1,2}", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-weight"}], description: "Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.", restrictions: ["enum"]}, {name: "glyph-orientation-horizontal", relevance: 50, description: "Controls glyph orientation when the inline-progression-direction is horizontal.", restrictions: ["angle", "number"]}, {name: "glyph-orientation-vertical", values: [{name: "auto", description: "Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}], relevance: 50, description: "Controls glyph orientation when the inline-progression-direction is vertical.", restrictions: ["angle", "number", "enum"]}, {name: "grid-area", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line> [ / <grid-line> ]{0,3}", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-area"}], description: "Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.", restrictions: ["identifier", "integer"]}, {name: "grid", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], syntax: "<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid"}], description: "The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.", restrictions: ["identifier", "length", "percentage", "string", "enum"]}, {name: "grid-auto-columns", values: [{name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}], syntax: "<track-size>+", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}], description: "Specifies the size of implicitly created columns.", restrictions: ["length", "percentage"]}, {name: "grid-auto-flow", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "row", description: "The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."}, {name: "column", description: "The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."}, {name: "dense", description: "If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}], syntax: "[ row | column ] || dense", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}], description: "Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.", restrictions: ["enum"]}, {name: "grid-auto-rows", values: [{name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}], syntax: "<track-size>+", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}], description: "Specifies the size of implicitly created rows.", restrictions: ["length", "percentage"]}, {name: "grid-column", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line> [ / <grid-line> ]?", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-column"}], description: "Shorthand for 'grid-column-start' and 'grid-column-end'.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-column-end", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}], description: "Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-column-gap", browsers: ["FF52", "C57", "S10.1", "O44"], status: "obsolete", syntax: "<length-percentage>", relevance: 1, description: "Specifies the gutters between grid columns. Replaced by 'column-gap' property.", restrictions: ["length"]}, {name: "grid-column-start", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}], description: "Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-gap", browsers: ["FF52", "C57", "S10.1", "O44"], status: "obsolete", syntax: "<'grid-row-gap'> <'grid-column-gap'>?", relevance: 1, description: "Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.", restrictions: ["length"]}, {name: "grid-row", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line> [ / <grid-line> ]?", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-row"}], description: "Shorthand for 'grid-row-start' and 'grid-row-end'.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-row-end", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}], description: "Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-row-gap", browsers: ["FF52", "C57", "S10.1", "O44"], status: "obsolete", syntax: "<length-percentage>", relevance: 1, description: "Specifies the gutters between grid rows. Replaced by 'row-gap' property.", restrictions: ["length"]}, {name: "grid-row-start", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}], description: "Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-template", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "Sets all three properties to their initial values."}, {name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "subgrid", description: "Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}, {name: "repeat()", description: "Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}], syntax: "none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template"}], description: "Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.", restrictions: ["identifier", "length", "percentage", "string", "enum"]}, {name: "grid-template-areas", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "The grid container doesn’t define any named grid areas."}], syntax: "none | <string>+", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}], description: "Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.", restrictions: ["string"]}, {name: "grid-template-columns", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "There is no explicit grid; any rows/columns will be implicitly generated."}, {name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "subgrid", description: "Indicates that the grid will align to its parent grid in that axis."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}, {name: "repeat()", description: "Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}], syntax: "none | <track-list> | <auto-track-list> | subgrid <line-name-list>?", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}], description: "specifies, as a space-separated track list, the line names and track sizing functions of the grid.", restrictions: ["identifier", "length", "percentage", "enum"]}, {name: "grid-template-rows", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "There is no explicit grid; any rows/columns will be implicitly generated."}, {name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "subgrid", description: "Indicates that the grid will align to its parent grid in that axis."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}, {name: "repeat()", description: "Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}], syntax: "none | <track-list> | <auto-track-list> | subgrid <line-name-list>?", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}], description: "specifies, as a space-separated track list, the line names and track sizing functions of the grid.", restrictions: ["identifier", "length", "percentage", "string", "enum"]}, {name: "height", values: [{name: "auto", description: "The height depends on the values of other properties."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>{1,2}", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/height"}], description: "Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.", restrictions: ["length", "percentage"]}, {name: "hyphens", values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], syntax: "none | manual | auto", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/hyphens"}], description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "image-orientation", browsers: ["E81", "FF26", "S13.1", "C81", "O67"], values: [{name: "flip", description: "After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."}, {name: "from-image", description: "If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}], syntax: "from-image | <angle> | [ <angle>? flip ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/image-orientation"}], description: "Specifies an orthogonal rotation to be applied to an image before it is laid out.", restrictions: ["angle"]}, {name: "image-rendering", browsers: ["E79", "FF3.6", "S6", "C13", "O15"], values: [{name: "auto", description: "The image should be scaled with an algorithm that maximizes the appearance of the image."}, {name: "crisp-edges", description: "The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."}, {name: "-moz-crisp-edges", browsers: ["E79", "FF3.6", "S6", "C13", "O15"]}, {name: "optimizeQuality", description: "Deprecated."}, {name: "optimizeSpeed", description: "Deprecated."}, {name: "pixelated", description: "When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}], syntax: "auto | crisp-edges | pixelated", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/image-rendering"}], description: "Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.", restrictions: ["enum"]}, {name: "ime-mode", browsers: ["E12", "FF3", "IE5"], values: [{name: "active", description: "The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."}, {name: "auto", description: "No change is made to the current input method editor state. This is the default."}, {name: "disabled", description: "The input method editor is disabled and may not be activated by the user."}, {name: "inactive", description: "The input method editor is initially inactive, but the user may activate it if they wish."}, {name: "normal", description: "The IME state should be normal; this value can be used in a user style sheet to override the page setting."}], status: "obsolete", syntax: "auto | normal | active | inactive | disabled", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/ime-mode"}], description: "Controls the state of the input method editor for text fields.", restrictions: ["enum"]}, {name: "inline-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], values: [{name: "auto", description: "Depends on the values of other properties."}], syntax: "<'width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inline-size"}], description: "Logical 'height'. Mapping depends on the element’s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "isolation", browsers: ["E79", "FF36", "S8", "C41", "O30"], values: [{name: "auto", description: "Elements are not isolated unless an operation is applied that causes the creation of a stacking context."}, {name: "isolate", description: "In CSS will turn the element into a stacking context."}], syntax: "auto | isolate", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/isolation"}], description: "In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.", restrictions: ["enum"]}, {name: "justify-content", values: [{name: "center", description: "Flex items are packed toward the center of the line."}, {name: "start", description: "The items are packed flush to each other toward the start edge of the alignment container in the main axis."}, {name: "end", description: "The items are packed flush to each other toward the end edge of the alignment container in the main axis."}, {name: "left", description: "The items are packed flush to each other toward the left edge of the alignment container in the main axis."}, {name: "right", description: "The items are packed flush to each other toward the right edge of the alignment container in the main axis."}, {name: "safe", description: "If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."}, {name: "unsafe", description: "Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."}, {name: "stretch", description: "If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."}, {name: "space-evenly", description: "The items are evenly distributed within the alignment container along the main axis."}, {name: "flex-end", description: "Flex items are packed toward the end of the line."}, {name: "flex-start", description: "Flex items are packed toward the start of the line."}, {name: "space-around", description: "Flex items are evenly distributed in the line, with half-size spaces on either end."}, {name: "space-between", description: "Flex items are evenly distributed in the line."}, {name: "baseline", description: "Specifies participation in first-baseline alignment."}, {name: "first baseline", description: "Specifies participation in first-baseline alignment."}, {name: "last baseline", description: "Specifies participation in last-baseline alignment."}], syntax: "normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]", relevance: 82, description: "Aligns flex items along the main axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "kerning", values: [{name: "auto", description: "Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}], relevance: 50, description: "Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.", restrictions: ["length", "enum"]}, {name: "left", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/left"}], description: "Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "letter-spacing", values: [{name: "normal", description: "The spacing is the normal spacing for the current font. It is typically zero-length."}], syntax: "normal | <length>", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}], description: "Specifies the minimum, maximum, and optimal spacing between grapheme clusters.", restrictions: ["length"]}, {name: "lighting-color", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], relevance: 50, description: "Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.", restrictions: ["color"]}, {name: "line-break", values: [{name: "auto", description: "The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."}, {name: "loose", description: "Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."}, {name: "normal", description: "Breaks text using the most common set of line-breaking rules."}, {name: "strict", description: "Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}], syntax: "auto | loose | normal | strict | anywhere", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/line-break"}], description: "Specifies what set of line breaking restrictions are in effect within the element.", restrictions: ["enum"]}, {name: "line-height", values: [{name: "normal", description: "Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}], syntax: "normal | <number> | <length> | <percentage>", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/line-height"}], description: "Determines the block-progression dimension of the text content area of an inline box.", restrictions: ["number", "length", "percentage"]}, {name: "list-style", values: [{name: "armenian"}, {name: "circle", description: "A hollow circle."}, {name: "decimal"}, {name: "decimal-leading-zero"}, {name: "disc", description: "A filled circle."}, {name: "georgian"}, {name: "inside", description: "The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."}, {name: "lower-alpha"}, {name: "lower-greek"}, {name: "lower-latin"}, {name: "lower-roman"}, {name: "none"}, {name: "outside", description: "The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}, {name: "square", description: "A filled square."}, {name: "symbols()", description: "Allows a counter style to be defined inline."}, {name: "upper-alpha"}, {name: "upper-latin"}, {name: "upper-roman"}, {name: "url()"}], syntax: "<'list-style-type'> || <'list-style-position'> || <'list-style-image'>", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style"}], description: "Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'", restrictions: ["image", "enum", "url"]}, {name: "list-style-image", values: [{name: "none", description: "The default contents of the of the list item’s marker are given by 'list-style-type' instead."}], syntax: "<url> | none", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style-image"}], description: "Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.", restrictions: ["image"]}, {name: "list-style-position", values: [{name: "inside", description: "The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."}, {name: "outside", description: "The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}], syntax: "inside | outside", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style-position"}], description: "Specifies the position of the '::marker' pseudo-element's box in the list item.", restrictions: ["enum"]}, {name: "list-style-type", values: [{name: "armenian", description: "Traditional uppercase Armenian numbering."}, {name: "circle", description: "A hollow circle."}, {name: "decimal", description: "Western decimal numbers."}, {name: "decimal-leading-zero", description: "Decimal numbers padded by initial zeros."}, {name: "disc", description: "A filled circle."}, {name: "georgian", description: "Traditional Georgian numbering."}, {name: "lower-alpha", description: "Lowercase ASCII letters."}, {name: "lower-greek", description: "Lowercase classical Greek."}, {name: "lower-latin", description: "Lowercase ASCII letters."}, {name: "lower-roman", description: "Lowercase ASCII Roman numerals."}, {name: "none", description: "No marker"}, {name: "square", description: "A filled square."}, {name: "symbols()", description: "Allows a counter style to be defined inline."}, {name: "upper-alpha", description: "Uppercase ASCII letters."}, {name: "upper-latin", description: "Uppercase ASCII letters."}, {name: "upper-roman", description: "Uppercase ASCII Roman numerals."}], syntax: "<counter-style> | <string> | none", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style-type"}], description: "Used to construct the default contents of a list item’s marker", restrictions: ["enum", "string"]}, {name: "margin", values: [{name: "auto"}], syntax: "[ <length> | <percentage> | auto ]{1,4}", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.", restrictions: ["length", "percentage"]}, {name: "margin-block-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}], description: "Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-block-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}], description: "Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-bottom", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "margin-inline-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}], description: "Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-inline-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}], description: "Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-left", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-left"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "margin-right", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-right"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "margin-top", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-top"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "marker", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.", restrictions: ["url"]}, {name: "marker-end", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker that will be drawn at the last vertices of the given markable element.", restrictions: ["url"]}, {name: "marker-mid", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker that will be drawn at all vertices except the first and last.", restrictions: ["url"]}, {name: "marker-start", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker that will be drawn at the first vertices of the given markable element.", restrictions: ["url"]}, {name: "mask-image", browsers: ["E16", "FF53", "S4", "C1", "O15"], values: [{name: "none", description: "Counts as a transparent black image layer."}, {name: "url()", description: "Reference to a <mask element or to a CSS image."}], syntax: "<mask-reference>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-image"}], description: "Sets the mask layer image of an element.", restrictions: ["url", "image", "enum"]}, {name: "mask-mode", browsers: ["FF53"], values: [{name: "alpha", description: "Alpha values of the mask layer image should be used as the mask values."}, {name: "auto", description: "Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."}, {name: "luminance", description: "Luminance values of the mask layer image should be used as the mask values."}], syntax: "<masking-mode>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-mode"}], description: "Indicates whether the mask layer image is treated as luminance mask or alpha mask.", restrictions: ["url", "image", "enum"]}, {name: "mask-origin", browsers: ["E79", "FF53", "S4", "C1", "O15"], syntax: "<geometry-box>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-origin"}], description: "Specifies the mask positioning area.", restrictions: ["geometry-box", "enum"]}, {name: "mask-position", browsers: ["E18", "FF53", "S3.2", "C1", "O15"], syntax: "<position>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-position"}], description: "Specifies how mask layer images are positioned.", restrictions: ["position", "length", "percentage"]}, {name: "mask-repeat", browsers: ["E18", "FF53", "S3.2", "C1", "O15"], syntax: "<repeat-style>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}], description: "Specifies how mask layer images are tiled after they have been sized and positioned.", restrictions: ["repeat"]}, {name: "mask-size", browsers: ["E18", "FF53", "S4", "C4", "O15"], values: [{name: "auto", description: "Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."}, {name: "contain", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."}, {name: "cover", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}], syntax: "<bg-size>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-size"}], description: "Specifies the size of the mask layer images.", restrictions: ["length", "percentage", "enum"]}, {name: "mask-type", browsers: ["E79", "FF35", "S6.1", "C24", "O15"], values: [{name: "alpha", description: "Indicates that the alpha values of the mask should be used."}, {name: "luminance", description: "Indicates that the luminance values of the mask should be used."}], syntax: "luminance | alpha", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-type"}], description: "Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.", restrictions: ["enum"]}, {name: "max-block-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], values: [{name: "none", description: "No limit on the width of the box."}], syntax: "<'max-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-block-size"}], description: "Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "max-height", values: [{name: "none", description: "No limit on the height of the box."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-height"}], description: "Allows authors to constrain content height to a certain range.", restrictions: ["length", "percentage"]}, {name: "max-inline-size", browsers: ["E79", "FF41", "S10.1", "C57", "O44"], values: [{name: "none", description: "No limit on the height of the box."}], syntax: "<'max-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}], description: "Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "max-width", values: [{name: "none", description: "No limit on the width of the box."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-width"}], description: "Allows authors to constrain content width to a certain range.", restrictions: ["length", "percentage"]}, {name: "min-block-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], syntax: "<'min-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-block-size"}], description: "Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "min-height", values: [{name: "auto"}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-height"}], description: "Allows authors to constrain content height to a certain range.", restrictions: ["length", "percentage"]}, {name: "min-inline-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], syntax: "<'min-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}], description: "Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "min-width", values: [{name: "auto"}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-width"}], description: "Allows authors to constrain content width to a certain range.", restrictions: ["length", "percentage"]}, {name: "mix-blend-mode", browsers: ["E79", "FF32", "S8", "C41", "O28"], values: [{name: "normal", description: "Default attribute which specifies no blending"}, {name: "multiply", description: "The source color is multiplied by the destination color and replaces the destination."}, {name: "screen", description: "Multiplies the complements of the backdrop and source color values, then complements the result."}, {name: "overlay", description: "Multiplies or screens the colors, depending on the backdrop color value."}, {name: "darken", description: "Selects the darker of the backdrop and source colors."}, {name: "lighten", description: "Selects the lighter of the backdrop and source colors."}, {name: "color-dodge", description: "Brightens the backdrop color to reflect the source color."}, {name: "color-burn", description: "Darkens the backdrop color to reflect the source color."}, {name: "hard-light", description: "Multiplies or screens the colors, depending on the source color value."}, {name: "soft-light", description: "Darkens or lightens the colors, depending on the source color value."}, {name: "difference", description: "Subtracts the darker of the two constituent colors from the lighter color.."}, {name: "exclusion", description: "Produces an effect similar to that of the Difference mode but lower in contrast."}, {name: "hue", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."}, {name: "saturation", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."}, {name: "color", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."}, {name: "luminosity", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}], syntax: "<blend-mode>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}], description: "Defines the formula that must be used to mix the colors with the backdrop.", restrictions: ["enum"]}, {name: "motion", browsers: ["C46", "O33"], values: [{name: "none", description: "No motion path gets created."}, {name: "path()", description: "Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}, {name: "auto", description: "Indicates that the object is rotated by the angle of the direction of the motion path."}, {name: "reverse", description: "Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}], relevance: 50, description: "Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.", restrictions: ["url", "length", "percentage", "angle", "shape", "geometry-box", "enum"]}, {name: "motion-offset", browsers: ["C46", "O33"], relevance: 50, description: "A distance that describes the position along the specified motion path.", restrictions: ["length", "percentage"]}, {name: "motion-path", browsers: ["C46", "O33"], values: [{name: "none", description: "No motion path gets created."}, {name: "path()", description: "Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}], relevance: 50, description: "Specifies the motion path the element gets positioned at.", restrictions: ["url", "shape", "geometry-box", "enum"]}, {name: "motion-rotation", browsers: ["C46", "O33"], values: [{name: "auto", description: "Indicates that the object is rotated by the angle of the direction of the motion path."}, {name: "reverse", description: "Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}], relevance: 50, description: "Defines the direction of the element while positioning along the motion path.", restrictions: ["angle"]}, {name: "-moz-animation", browsers: ["FF9"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "enum", "timing-function", "identifier", "number"]}, {name: "-moz-animation-delay", browsers: ["FF9"], relevance: 50, description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "-moz-animation-direction", browsers: ["FF9"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "-moz-animation-duration", browsers: ["FF9"], relevance: 50, description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "-moz-animation-iteration-count", browsers: ["FF9"], values: [{name: "infinite", description: "Causes the animation to repeat forever."}], relevance: 50, description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "-moz-animation-name", browsers: ["FF9"], values: [{name: "none", description: "No animation is performed"}], relevance: 50, description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "-moz-animation-play-state", browsers: ["FF9"], values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], relevance: 50, description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "-moz-animation-timing-function", browsers: ["FF9"], relevance: 50, description: "Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.", restrictions: ["timing-function"]}, {name: "-moz-appearance", browsers: ["FF1"], values: [{name: "button"}, {name: "button-arrow-down"}, {name: "button-arrow-next"}, {name: "button-arrow-previous"}, {name: "button-arrow-up"}, {name: "button-bevel"}, {name: "checkbox"}, {name: "checkbox-container"}, {name: "checkbox-label"}, {name: "dialog"}, {name: "groupbox"}, {name: "listbox"}, {name: "menuarrow"}, {name: "menuimage"}, {name: "menuitem"}, {name: "menuitemtext"}, {name: "menulist"}, {name: "menulist-button"}, {name: "menulist-text"}, {name: "menulist-textfield"}, {name: "menupopup"}, {name: "menuradio"}, {name: "menuseparator"}, {name: "-moz-mac-unified-toolbar"}, {name: "-moz-win-borderless-glass"}, {name: "-moz-win-browsertabbar-toolbox"}, {name: "-moz-win-communications-toolbox"}, {name: "-moz-win-glass"}, {name: "-moz-win-media-toolbox"}, {name: "none"}, {name: "progressbar"}, {name: "progresschunk"}, {name: "radio"}, {name: "radio-container"}, {name: "radio-label"}, {name: "radiomenuitem"}, {name: "resizer"}, {name: "resizerpanel"}, {name: "scrollbarbutton-down"}, {name: "scrollbarbutton-left"}, {name: "scrollbarbutton-right"}, {name: "scrollbarbutton-up"}, {name: "scrollbar-small"}, {name: "scrollbartrack-horizontal"}, {name: "scrollbartrack-vertical"}, {name: "separator"}, {name: "spinner"}, {name: "spinner-downbutton"}, {name: "spinner-textfield"}, {name: "spinner-upbutton"}, {name: "statusbar"}, {name: "statusbarpanel"}, {name: "tab"}, {name: "tabpanels"}, {name: "tab-scroll-arrow-back"}, {name: "tab-scroll-arrow-forward"}, {name: "textfield"}, {name: "textfield-multiline"}, {name: "toolbar"}, {name: "toolbox"}, {name: "tooltip"}, {name: "treeheadercell"}, {name: "treeheadersortarrow"}, {name: "treeitem"}, {name: "treetwistyopen"}, {name: "treeview"}, {name: "treewisty"}, {name: "window"}], status: "nonstandard", syntax: "none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized", relevance: 0, description: "Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.", restrictions: ["enum"]}, {name: "-moz-backface-visibility", browsers: ["FF10"], values: [{name: "hidden"}, {name: "visible"}], relevance: 50, description: "Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.", restrictions: ["enum"]}, {name: "-moz-background-clip", browsers: ["FF1-3.6"], values: [{name: "padding"}], relevance: 50, description: "Determines the background painting area.", restrictions: ["box", "enum"]}, {name: "-moz-background-inline-policy", browsers: ["FF1"], values: [{name: "bounding-box"}, {name: "continuous"}, {name: "each-box"}], relevance: 50, description: "In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.", restrictions: ["enum"]}, {name: "-moz-background-origin", browsers: ["FF1"], relevance: 50, description: "For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).", restrictions: ["box"]}, {name: "-moz-border-bottom-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-border-image", browsers: ["FF3.6"], values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none"}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}, {name: "url()"}], relevance: 50, description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "url", "enum"]}, {name: "-moz-border-left-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-border-right-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-border-top-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-box-align", browsers: ["FF1"], values: [{name: "baseline", description: "If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."}, {name: "center", description: "Any extra space is divided evenly, with half placed above the child and the other half placed after the child."}, {name: "end", description: "For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."}, {name: "start", description: "For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."}, {name: "stretch", description: "The height of each child is adjusted to that of the containing block."}], relevance: 50, description: "Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.", restrictions: ["enum"]}, {name: "-moz-box-direction", browsers: ["FF1"], values: [{name: "normal", description: "A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."}, {name: "reverse", description: "A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}], relevance: 50, description: "Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).", restrictions: ["enum"]}, {name: "-moz-box-flex", browsers: ["FF1"], relevance: 50, description: "Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.", restrictions: ["number"]}, {name: "-moz-box-flexgroup", browsers: ["FF1"], relevance: 50, description: "Flexible elements can be assigned to flex groups using the 'box-flex-group' property.", restrictions: ["integer"]}, {name: "-moz-box-ordinal-group", browsers: ["FF1"], relevance: 50, description: "Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.", restrictions: ["integer"]}, {name: "-moz-box-orient", browsers: ["FF1"], values: [{name: "block-axis", description: "Elements are oriented along the box's axis."}, {name: "horizontal", description: "The box displays its children from left to right in a horizontal line."}, {name: "inline-axis", description: "Elements are oriented vertically."}, {name: "vertical", description: "The box displays its children from stacked from top to bottom vertically."}], relevance: 50, description: "In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.", restrictions: ["enum"]}, {name: "-moz-box-pack", browsers: ["FF1"], values: [{name: "center", description: "The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."}, {name: "end", description: "For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."}, {name: "justify", description: "The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."}, {name: "start", description: "For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}], relevance: 50, description: "Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.", restrictions: ["enum"]}, {name: "-moz-box-sizing", browsers: ["FF1"], values: [{name: "border-box", description: "The specified width and height (and respective min/max properties) on this element determine the border box of the element."}, {name: "content-box", description: "Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}, {name: "padding-box", description: "The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}], relevance: 50, description: "Box Model addition in CSS3.", restrictions: ["enum"]}, {name: "-moz-column-count", browsers: ["FF3.5"], values: [{name: "auto", description: "Determines the number of columns by the 'column-width' property and the element width."}], relevance: 50, description: "Describes the optimal number of columns into which the content of the element will be flowed.", restrictions: ["integer"]}, {name: "-moz-column-gap", browsers: ["FF3.5"], values: [{name: "normal", description: "User agent specific and typically equivalent to 1em."}], relevance: 50, description: "Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.", restrictions: ["length"]}, {name: "-moz-column-rule", browsers: ["FF3.5"], relevance: 50, description: "Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "-moz-column-rule-color", browsers: ["FF3.5"], relevance: 50, description: "Sets the color of the column rule", restrictions: ["color"]}, {name: "-moz-column-rule-style", browsers: ["FF3.5"], relevance: 50, description: "Sets the style of the rule between columns of an element.", restrictions: ["line-style"]}, {name: "-moz-column-rule-width", browsers: ["FF3.5"], relevance: 50, description: "Sets the width of the rule between columns. Negative values are not allowed.", restrictions: ["length", "line-width"]}, {name: "-moz-columns", browsers: ["FF9"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "A shorthand property which sets both 'column-width' and 'column-count'.", restrictions: ["length", "integer"]}, {name: "-moz-column-width", browsers: ["FF3.5"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "This property describes the width of columns in multicol elements.", restrictions: ["length"]}, {name: "-moz-font-feature-settings", browsers: ["FF4"], values: [{name: '"c2cs"'}, {name: '"dlig"'}, {name: '"kern"'}, {name: '"liga"'}, {name: '"lnum"'}, {name: '"onum"'}, {name: '"smcp"'}, {name: '"swsh"'}, {name: '"tnum"'}, {name: "normal", description: "No change in glyph substitution or positioning occurs."}, {name: "off", browsers: ["FF4"]}, {name: "on", browsers: ["FF4"]}], relevance: 50, description: "Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.", restrictions: ["string", "integer"]}, {name: "-moz-hyphens", browsers: ["FF9"], values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], relevance: 50, description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "-moz-perspective", browsers: ["FF10"], values: [{name: "none", description: "No perspective transform is applied."}], relevance: 50, description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length"]}, {name: "-moz-perspective-origin", browsers: ["FF10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-moz-text-align-last", browsers: ["FF12"], values: [{name: "auto"}, {name: "center", description: "The inline contents are centered within the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}], relevance: 50, description: "Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.", restrictions: ["enum"]}, {name: "-moz-text-decoration-color", browsers: ["FF6"], relevance: 50, description: "Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.", restrictions: ["color"]}, {name: "-moz-text-decoration-line", browsers: ["FF6"], values: [{name: "line-through", description: "Each line of text has a line through the middle."}, {name: "none", description: "Neither produces nor inhibits text decoration."}, {name: "overline", description: "Each line of text has a line above it."}, {name: "underline", description: "Each line of text is underlined."}], relevance: 50, description: "Specifies what line decorations, if any, are added to the element.", restrictions: ["enum"]}, {name: "-moz-text-decoration-style", browsers: ["FF6"], values: [{name: "dashed", description: "Produces a dashed line style."}, {name: "dotted", description: "Produces a dotted line."}, {name: "double", description: "Produces a double line."}, {name: "none", description: "Produces no line."}, {name: "solid", description: "Produces a solid line."}, {name: "wavy", description: "Produces a wavy line."}], relevance: 50, description: "Specifies the line style for underline, line-through and overline text decoration.", restrictions: ["enum"]}, {name: "-moz-text-size-adjust", browsers: ["FF"], values: [{name: "auto", description: "Renderers must use the default size adjustment when displaying on a small device."}, {name: "none", description: "Renderers must not do size adjustment when displaying on a small device."}], relevance: 50, description: "Specifies a size adjustment for displaying text content in mobile browsers.", restrictions: ["enum", "percentage"]}, {name: "-moz-transform", browsers: ["FF3.5"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "perspective", description: "Specifies a perspective projection matrix."}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-moz-transform-origin", browsers: ["FF3.5"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "-moz-transition", browsers: ["FF4"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "-moz-transition-delay", browsers: ["FF4"], relevance: 50, description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "-moz-transition-duration", browsers: ["FF4"], relevance: 50, description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "-moz-transition-property", browsers: ["FF4"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "-moz-transition-timing-function", browsers: ["FF4"], relevance: 50, description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "-moz-user-focus", browsers: ["FF1"], values: [{name: "ignore"}, {name: "normal"}], status: "nonstandard", syntax: "ignore | normal | select-after | select-before | select-menu | select-same | select-all | none", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}], description: "Used to indicate whether the element can have focus."}, {name: "-moz-user-select", browsers: ["FF1.5"], values: [{name: "all"}, {name: "element"}, {name: "elements"}, {name: "-moz-all"}, {name: "-moz-none"}, {name: "none"}, {name: "text"}, {name: "toggle"}], relevance: 50, description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "-ms-accelerator", browsers: ["E", "IE10"], values: [{name: "false", description: "The element does not contain an accelerator key sequence."}, {name: "true", description: "The element contains an accelerator key sequence."}], status: "nonstandard", syntax: "false | true", relevance: 0, description: "IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed", restrictions: ["enum"]}, {name: "-ms-behavior", browsers: ["IE8"], relevance: 50, description: "IE only. Used to extend behaviors of the browser", restrictions: ["url"]}, {name: "-ms-block-progression", browsers: ["IE8"], values: [{name: "bt", description: "Bottom-to-top block flow. Layout is horizontal."}, {name: "lr", description: "Left-to-right direction. The flow orientation is vertical."}, {name: "rl", description: "Right-to-left direction. The flow orientation is vertical."}, {name: "tb", description: "Top-to-bottom direction. The flow orientation is horizontal."}], status: "nonstandard", syntax: "tb | rl | bt | lr", relevance: 0, description: "Sets the block-progression value and the flow orientation", restrictions: ["enum"]}, {name: "-ms-content-zoom-chaining", browsers: ["E", "IE10"], values: [{name: "chained", description: "The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."}, {name: "none", description: "A bounce effect is shown when the user hits a zoom limit during a manipulation."}], status: "nonstandard", syntax: "none | chained", relevance: 0, description: "Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."}, {name: "-ms-content-zooming", browsers: ["E", "IE10"], values: [{name: "none", description: "The element is not zoomable."}, {name: "zoom", description: "The element is zoomable."}], status: "nonstandard", syntax: "none | zoom", relevance: 0, description: "Specifies whether zooming is enabled.", restrictions: ["enum"]}, {name: "-ms-content-zoom-limit", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>", relevance: 0, description: "Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.", restrictions: ["percentage"]}, {name: "-ms-content-zoom-limit-max", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<percentage>", relevance: 0, description: "Specifies the maximum zoom factor.", restrictions: ["percentage"]}, {name: "-ms-content-zoom-limit-min", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<percentage>", relevance: 0, description: "Specifies the minimum zoom factor.", restrictions: ["percentage"]}, {name: "-ms-content-zoom-snap", browsers: ["E", "IE10"], values: [{name: "mandatory", description: "Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."}, {name: "none", description: "Indicates that zooming is unaffected by any defined snap-points."}, {name: "proximity", description: 'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}, {name: "snapInterval(100%, 100%)", description: "Specifies where the snap-points will be placed."}, {name: "snapList()", description: "Specifies the position of individual snap-points as a comma-separated list of zoom factors."}], status: "nonstandard", syntax: "<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>", relevance: 0, description: "Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."}, {name: "-ms-content-zoom-snap-points", browsers: ["E", "IE10"], values: [{name: "snapInterval(100%, 100%)", description: "Specifies where the snap-points will be placed."}, {name: "snapList()", description: "Specifies the position of individual snap-points as a comma-separated list of zoom factors."}], status: "nonstandard", syntax: "snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )", relevance: 0, description: "Defines where zoom snap-points are located."}, {name: "-ms-content-zoom-snap-type", browsers: ["E", "IE10"], values: [{name: "mandatory", description: "Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."}, {name: "none", description: "Indicates that zooming is unaffected by any defined snap-points."}, {name: "proximity", description: 'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}], status: "nonstandard", syntax: "none | proximity | mandatory", relevance: 0, description: "Specifies how zooming is affected by defined snap-points.", restrictions: ["enum"]}, {name: "-ms-filter", browsers: ["IE8-9"], status: "nonstandard", syntax: "<string>", relevance: 0, description: "IE only. Used to produce visual effects.", restrictions: ["string"]}, {name: "-ms-flex", browsers: ["IE10"], values: [{name: "auto", description: "Retrieves the value of the main size property as the used 'flex-basis'."}, {name: "none", description: "Expands to '0 0 auto'."}], relevance: 50, description: "specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.", restrictions: ["length", "number", "percentage"]}, {name: "-ms-flex-align", browsers: ["IE10"], values: [{name: "baseline", description: "If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item’s margin box is centered in the cross axis within the line."}, {name: "end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "start", description: "The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}], relevance: 50, description: "Aligns flex items along the cross axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "-ms-flex-direction", browsers: ["IE10"], values: [{name: "column", description: "The flex container’s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "row", description: "The flex container’s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "row-reverse", description: "Same as 'row', except the main-start and main-end directions are swapped."}], relevance: 50, description: "Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.", restrictions: ["enum"]}, {name: "-ms-flex-flow", browsers: ["IE10"], values: [{name: "column", description: "The flex container’s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "nowrap", description: "The flex container is single-line."}, {name: "row", description: "The flex container’s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], relevance: 50, description: "Specifies how flexbox items are placed in the flexbox.", restrictions: ["enum"]}, {name: "-ms-flex-item-align", browsers: ["IE10"], values: [{name: "auto", description: "Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."}, {name: "baseline", description: "If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item’s margin box is centered in the cross axis within the line."}, {name: "end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "start", description: "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}], relevance: 50, description: "Allows the default alignment along the cross axis to be overridden for individual flex items.", restrictions: ["enum"]}, {name: "-ms-flex-line-pack", browsers: ["IE10"], values: [{name: "center", description: "Lines are packed toward the center of the flex container."}, {name: "distribute", description: "Lines are evenly distributed in the flex container, with half-size spaces on either end."}, {name: "end", description: "Lines are packed toward the end of the flex container."}, {name: "justify", description: "Lines are evenly distributed in the flex container."}, {name: "start", description: "Lines are packed toward the start of the flex container."}, {name: "stretch", description: "Lines stretch to take up the remaining space."}], relevance: 50, description: "Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.", restrictions: ["enum"]}, {name: "-ms-flex-order", browsers: ["IE10"], relevance: 50, description: "Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.", restrictions: ["integer"]}, {name: "-ms-flex-pack", browsers: ["IE10"], values: [{name: "center", description: "Flex items are packed toward the center of the line."}, {name: "distribute", description: "Flex items are evenly distributed in the line, with half-size spaces on either end."}, {name: "end", description: "Flex items are packed toward the end of the line."}, {name: "justify", description: "Flex items are evenly distributed in the line."}, {name: "start", description: "Flex items are packed toward the start of the line."}], relevance: 50, description: "Aligns flex items along the main axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "-ms-flex-wrap", browsers: ["IE10"], values: [{name: "nowrap", description: "The flex container is single-line."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], relevance: 50, description: "Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.", restrictions: ["enum"]}, {name: "-ms-flow-from", browsers: ["E", "IE10"], values: [{name: "none", description: "The block container is not a CSS Region."}], status: "nonstandard", syntax: "[ none | <custom-ident> ]#", relevance: 0, description: "Makes a block container a region and associates it with a named flow.", restrictions: ["identifier"]}, {name: "-ms-flow-into", browsers: ["E", "IE10"], values: [{name: "none", description: "The element is not moved to a named flow and normal CSS processing takes place."}], status: "nonstandard", syntax: "[ none | <custom-ident> ]#", relevance: 0, description: "Places an element or its contents into a named flow.", restrictions: ["identifier"]}, {name: "-ms-grid-column", browsers: ["E12", "IE10"], values: [{name: "auto"}, {name: "end"}, {name: "start"}], relevance: 50, description: "Used to place grid items and explicitly defined grid cells in the Grid.", restrictions: ["integer", "string", "enum"]}, {name: "-ms-grid-column-align", browsers: ["E12", "IE10"], values: [{name: "center", description: "Places the center of the Grid Item's margin box at the center of the Grid Item's column."}, {name: "end", description: "Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."}, {name: "start", description: "Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."}, {name: "stretch", description: "Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}], relevance: 50, description: "Aligns the columns in a grid.", restrictions: ["enum"]}, {name: "-ms-grid-columns", browsers: ["E12", "IE10"], relevance: 50, description: "Lays out the columns of the grid."}, {name: "-ms-grid-column-span", browsers: ["E12", "IE10"], relevance: 50, description: "Specifies the number of columns to span.", restrictions: ["integer"]}, {name: "-ms-grid-layer", browsers: ["E", "IE10"], relevance: 50, description: "Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.", restrictions: ["integer"]}, {name: "-ms-grid-row", browsers: ["E12", "IE10"], values: [{name: "auto"}, {name: "end"}, {name: "start"}], relevance: 50, description: "grid-row is used to place grid items and explicitly defined grid cells in the Grid.", restrictions: ["integer", "string", "enum"]}, {name: "-ms-grid-row-align", browsers: ["E12", "IE10"], values: [{name: "center", description: "Places the center of the Grid Item's margin box at the center of the Grid Item's row."}, {name: "end", description: "Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."}, {name: "start", description: "Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."}, {name: "stretch", description: "Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}], relevance: 50, description: "Aligns the rows in a grid.", restrictions: ["enum"]}, {name: "-ms-grid-rows", browsers: ["E12", "IE10"], relevance: 50, description: "Lays out the columns of the grid."}, {name: "-ms-grid-row-span", browsers: ["E12", "IE10"], relevance: 50, description: "Specifies the number of rows to span.", restrictions: ["integer"]}, {name: "-ms-high-contrast-adjust", browsers: ["E", "IE10"], values: [{name: "auto", description: "Properties will be adjusted as applicable."}, {name: "none", description: "No adjustments will be applied."}], status: "nonstandard", syntax: "auto | none", relevance: 0, description: "Specifies if properties should be adjusted in high contrast mode.", restrictions: ["enum"]}, {name: "-ms-hyphenate-limit-chars", browsers: ["E", "IE10"], values: [{name: "auto", description: "The user agent chooses a value that adapts to the current layout."}], status: "nonstandard", syntax: "auto | <integer>{1,3}", relevance: 0, description: "Specifies the minimum number of characters in a hyphenated word.", restrictions: ["integer"]}, {name: "-ms-hyphenate-limit-lines", browsers: ["E", "IE10"], values: [{name: "no-limit", description: "There is no limit."}], status: "nonstandard", syntax: "no-limit | <integer>", relevance: 0, description: "Indicates the maximum number of successive hyphenated lines in an element.", restrictions: ["integer"]}, {name: "-ms-hyphenate-limit-zone", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<percentage> | <length>", relevance: 0, description: "Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.", restrictions: ["percentage", "length"]}, {name: "-ms-hyphens", browsers: ["E", "IE10"], values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], relevance: 50, description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "-ms-ime-mode", browsers: ["IE10"], values: [{name: "active", description: "The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."}, {name: "auto", description: "No change is made to the current input method editor state. This is the default."}, {name: "disabled", description: "The input method editor is disabled and may not be activated by the user."}, {name: "inactive", description: "The input method editor is initially inactive, but the user may activate it if they wish."}, {name: "normal", description: "The IME state should be normal; this value can be used in a user style sheet to override the page setting."}], relevance: 50, description: "Controls the state of the input method editor for text fields.", restrictions: ["enum"]}, {name: "-ms-interpolation-mode", browsers: ["IE7"], values: [{name: "bicubic"}, {name: "nearest-neighbor"}], relevance: 50, description: "Gets or sets the interpolation (resampling) method used to stretch images.", restrictions: ["enum"]}, {name: "-ms-layout-grid", browsers: ["E", "IE10"], values: [{name: "char", description: "Any of the range of character values available to the -ms-layout-grid-char property."}, {name: "line", description: "Any of the range of line values available to the -ms-layout-grid-line property."}, {name: "mode", description: "Any of the range of mode values available to the -ms-layout-grid-mode property."}, {name: "type", description: "Any of the range of type values available to the -ms-layout-grid-type property."}], relevance: 50, description: "Sets or retrieves the composite document grid properties that specify the layout of text characters."}, {name: "-ms-layout-grid-char", browsers: ["E", "IE10"], values: [{name: "auto", description: "Largest character in the font of the element is used to set the character grid."}, {name: "none", description: "Default. No character grid is set."}], relevance: 50, description: "Sets or retrieves the size of the character grid used for rendering the text content of an element.", restrictions: ["enum", "length", "percentage"]}, {name: "-ms-layout-grid-line", browsers: ["E", "IE10"], values: [{name: "auto", description: "Largest character in the font of the element is used to set the character grid."}, {name: "none", description: "Default. No grid line is set."}], relevance: 50, description: "Sets or retrieves the gridline value used for rendering the text content of an element.", restrictions: ["length"]}, {name: "-ms-layout-grid-mode", browsers: ["E", "IE10"], values: [{name: "both", description: "Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."}, {name: "char", description: "Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."}, {name: "line", description: "Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."}, {name: "none", description: "No grid is used."}], relevance: 50, description: "Gets or sets whether the text layout grid uses two dimensions.", restrictions: ["enum"]}, {name: "-ms-layout-grid-type", browsers: ["E", "IE10"], values: [{name: "fixed", description: "Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."}, {name: "loose", description: "Default. Grid used for Japanese and Korean characters."}, {name: "strict", description: "Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}], relevance: 50, description: "Sets or retrieves the type of grid used for rendering the text content of an element.", restrictions: ["enum"]}, {name: "-ms-line-break", browsers: ["E", "IE10"], values: [{name: "auto", description: "The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."}, {name: "keep-all", description: "Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."}, {name: "newspaper", description: "Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."}, {name: "normal", description: "Breaks CJK scripts using a normal set of line-breaking rules."}, {name: "strict", description: "Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}], relevance: 50, description: "Specifies what set of line breaking restrictions are in effect within the element.", restrictions: ["enum"]}, {name: "-ms-overflow-style", browsers: ["E", "IE10"], values: [{name: "auto", description: "No preference, UA should use the first scrolling method in the list that it supports."}, {name: "-ms-autohiding-scrollbar", description: "Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."}, {name: "none", description: "Indicates the element does not display scrollbars or panning indicators, even when its content overflows."}, {name: "scrollbar", description: 'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}], status: "nonstandard", syntax: "auto | none | scrollbar | -ms-autohiding-scrollbar", relevance: 0, description: "Specify whether content is clipped when it overflows the element's content area.", restrictions: ["enum"]}, {name: "-ms-perspective", browsers: ["IE10"], values: [{name: "none", description: "No perspective transform is applied."}], relevance: 50, description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length"]}, {name: "-ms-perspective-origin", browsers: ["IE10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-ms-perspective-origin-x", browsers: ["IE10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-ms-perspective-origin-y", browsers: ["IE10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-ms-progress-appearance", browsers: ["IE10"], values: [{name: "bar"}, {name: "ring"}], relevance: 50, description: "Gets or sets a value that specifies whether a progress control displays as a bar or a ring.", restrictions: ["enum"]}, {name: "-ms-scrollbar-3dlight-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-arrow-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the arrow elements of a scroll arrow.", restrictions: ["color"]}, {name: "-ms-scrollbar-base-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.", restrictions: ["color"]}, {name: "-ms-scrollbar-darkshadow-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the gutter of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-face-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-highlight-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-shadow-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-track-color", browsers: ["IE5"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}], description: "Determines the color of the track element of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scroll-chaining", browsers: ["E", "IE10"], values: [{name: "chained"}, {name: "none"}], status: "nonstandard", syntax: "chained | none", relevance: 0, description: "Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.", restrictions: ["enum", "length"]}, {name: "-ms-scroll-limit", browsers: ["E", "IE10"], values: [{name: "auto"}], status: "nonstandard", syntax: "<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>", relevance: 0, description: "Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.", restrictions: ["length"]}, {name: "-ms-scroll-limit-x-max", browsers: ["E", "IE10"], values: [{name: "auto"}], status: "nonstandard", syntax: "auto | <length>", relevance: 0, description: "Gets or sets a value that specifies the maximum value for the scrollLeft property.", restrictions: ["length"]}, {name: "-ms-scroll-limit-x-min", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<length>", relevance: 0, description: "Gets or sets a value that specifies the minimum value for the scrollLeft property.", restrictions: ["length"]}, {name: "-ms-scroll-limit-y-max", browsers: ["E", "IE10"], values: [{name: "auto"}], status: "nonstandard", syntax: "auto | <length>", relevance: 0, description: "Gets or sets a value that specifies the maximum value for the scrollTop property.", restrictions: ["length"]}, {name: "-ms-scroll-limit-y-min", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<length>", relevance: 0, description: "Gets or sets a value that specifies the minimum value for the scrollTop property.", restrictions: ["length"]}, {name: "-ms-scroll-rails", browsers: ["E", "IE10"], values: [{name: "none"}, {name: "railed"}], status: "nonstandard", syntax: "none | railed", relevance: 0, description: "Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).", restrictions: ["enum", "length"]}, {name: "-ms-scroll-snap-points-x", browsers: ["E", "IE10"], values: [{name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )", relevance: 0, description: "Gets or sets a value that defines where snap-points will be located along the x-axis.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-points-y", browsers: ["E", "IE10"], values: [{name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )", relevance: 0, description: "Gets or sets a value that defines where snap-points will be located along the y-axis.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-type", browsers: ["E", "IE10"], values: [{name: "none", description: "The visual viewport of this scroll container must ignore snap points, if any, when scrolled."}, {name: "mandatory", description: "The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."}, {name: "proximity", description: "The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}], status: "nonstandard", syntax: "none | proximity | mandatory", relevance: 0, description: "Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-x", browsers: ["E", "IE10"], values: [{name: "mandatory"}, {name: "none"}, {name: "proximity"}, {name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>", relevance: 0, description: "Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-y", browsers: ["E", "IE10"], values: [{name: "mandatory"}, {name: "none"}, {name: "proximity"}, {name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>", relevance: 0, description: "Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.", restrictions: ["enum"]}, {name: "-ms-scroll-translation", browsers: ["E", "IE10"], values: [{name: "none"}, {name: "vertical-to-horizontal"}], status: "nonstandard", syntax: "none | vertical-to-horizontal", relevance: 0, description: "Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.", restrictions: ["enum"]}, {name: "-ms-text-align-last", browsers: ["E", "IE8"], values: [{name: "auto"}, {name: "center", description: "The inline contents are centered within the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}], relevance: 50, description: "Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.", restrictions: ["enum"]}, {name: "-ms-text-autospace", browsers: ["E", "IE8"], values: [{name: "ideograph-alpha", description: "Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."}, {name: "ideograph-numeric", description: "Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."}, {name: "ideograph-parenthesis", description: "Creates extra spacing between normal (non wide) parenthesis and ideographs."}, {name: "ideograph-space", description: "Extends the width of the space character while surrounded by ideographs."}, {name: "none", description: "No extra space is created."}, {name: "punctuation", description: "Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}], status: "nonstandard", syntax: "none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space", relevance: 0, description: "Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.", restrictions: ["enum"]}, {name: "-ms-text-combine-horizontal", browsers: ["E", "IE11"], values: [{name: "all", description: "Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."}, {name: "digits", description: "Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."}, {name: "none", description: "No special processing."}], relevance: 50, description: "This property specifies the combination of multiple characters into the space of a single character.", restrictions: ["enum", "integer"]}, {name: "-ms-text-justify", browsers: ["E", "IE8"], values: [{name: "auto", description: "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."}, {name: "distribute", description: "Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."}, {name: "inter-cluster", description: "Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."}, {name: "inter-ideograph", description: "Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."}, {name: "inter-word", description: "Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."}, {name: "kashida", description: "Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}], relevance: 50, description: "Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.", restrictions: ["enum"]}, {name: "-ms-text-kashida-space", browsers: ["E", "IE10"], relevance: 50, description: "Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.", restrictions: ["percentage"]}, {name: "-ms-text-overflow", browsers: ["IE10"], values: [{name: "clip", description: "Clip inline content that overflows. Characters may be only partially rendered."}, {name: "ellipsis", description: "Render an ellipsis character (U+2026) to represent clipped inline content."}], relevance: 50, description: "Text can overflow for example when it is prevented from wrapping", restrictions: ["enum"]}, {name: "-ms-text-size-adjust", browsers: ["E", "IE10"], values: [{name: "auto", description: "Renderers must use the default size adjustment when displaying on a small device."}, {name: "none", description: "Renderers must not do size adjustment when displaying on a small device."}], relevance: 50, description: "Specifies a size adjustment for displaying text content in mobile browsers.", restrictions: ["enum", "percentage"]}, {name: "-ms-text-underline-position", browsers: ["E", "IE10"], values: [{name: "alphabetic", description: "The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."}, {name: "auto", description: "The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."}, {name: "over", description: "The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."}, {name: "under", description: "The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}], relevance: 50, description: "Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text", restrictions: ["enum"]}, {name: "-ms-touch-action", browsers: ["IE10"], values: [{name: "auto", description: "The element is a passive element, with several exceptions."}, {name: "double-tap-zoom", description: "The element will zoom on double-tap."}, {name: "manipulation", description: "The element is a manipulation-causing element."}, {name: "none", description: "The element is a manipulation-blocking element."}, {name: "pan-x", description: "The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."}, {name: "pan-y", description: "The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."}, {name: "pinch-zoom", description: "The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}], relevance: 50, description: "Gets or sets a value that indicates whether and how a given region can be manipulated by the user.", restrictions: ["enum"]}, {name: "-ms-touch-select", browsers: ["E", "IE10"], values: [{name: "grippers", description: "Grippers are always on."}, {name: "none", description: "Grippers are always off."}], status: "nonstandard", syntax: "grippers | none", relevance: 0, description: "Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.", restrictions: ["enum"]}, {name: "-ms-transform", browsers: ["IE9-9"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-ms-transform-origin", browsers: ["IE9-9"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "-ms-transform-origin-x", browsers: ["IE10"], relevance: 50, description: "The x coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-ms-transform-origin-y", browsers: ["IE10"], relevance: 50, description: "The y coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-ms-transform-origin-z", browsers: ["IE10"], relevance: 50, description: "The z coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-ms-user-select", browsers: ["E", "IE10"], values: [{name: "element"}, {name: "none"}, {name: "text"}], status: "nonstandard", syntax: "none | element | text", relevance: 0, description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "-ms-word-break", browsers: ["IE8"], values: [{name: "break-all", description: "Lines may break between any two grapheme clusters for non-CJK scripts."}, {name: "keep-all", description: "Block characters can no longer create implied break points."}, {name: "normal", description: "Breaks non-CJK scripts according to their own rules."}], relevance: 50, description: "Specifies line break opportunities for non-CJK scripts.", restrictions: ["enum"]}, {name: "-ms-word-wrap", browsers: ["IE8"], values: [{name: "break-word", description: "An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."}, {name: "normal", description: "Lines may break only at allowed break points."}], relevance: 50, description: "Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.", restrictions: ["enum"]}, {name: "-ms-wrap-flow", browsers: ["E", "IE10"], values: [{name: "auto", description: "For floats an exclusion is created, for all other elements an exclusion is not created."}, {name: "both", description: "Inline flow content can flow on all sides of the exclusion."}, {name: "clear", description: "Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."}, {name: "end", description: "Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."}, {name: "maximum", description: "Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."}, {name: "minimum", description: "Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."}, {name: "start", description: "Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}], status: "nonstandard", syntax: "auto | both | start | end | maximum | clear", relevance: 0, description: "An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.", restrictions: ["enum"]}, {name: "-ms-wrap-margin", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<length>", relevance: 0, description: "Gets or sets a value that is used to offset the inner wrap shape from other shapes.", restrictions: ["length", "percentage"]}, {name: "-ms-wrap-through", browsers: ["E", "IE10"], values: [{name: "none", description: "The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."}, {name: "wrap", description: "The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}], status: "nonstandard", syntax: "wrap | none", relevance: 0, description: "Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.", restrictions: ["enum"]}, {name: "-ms-writing-mode", browsers: ["IE8"], values: [{name: "bt-lr"}, {name: "bt-rl"}, {name: "lr-bt"}, {name: "lr-tb"}, {name: "rl-bt"}, {name: "rl-tb"}, {name: "tb-lr"}, {name: "tb-rl"}], relevance: 50, description: "Shorthand property for both 'direction' and 'block-progression'.", restrictions: ["enum"]}, {name: "-ms-zoom", browsers: ["IE8"], values: [{name: "normal"}], relevance: 50, description: "Sets or retrieves the magnification scale of the object.", restrictions: ["enum", "integer", "number", "percentage"]}, {name: "-ms-zoom-animation", browsers: ["IE10"], values: [{name: "default"}, {name: "none"}], relevance: 50, description: "Gets or sets a value that indicates whether an animation is used when zooming.", restrictions: ["enum"]}, {name: "nav-down", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "nav-index", browsers: ["O9.5"], values: [{name: "auto", description: "The element's sequential navigation order is assigned automatically by the user agent."}], relevance: 50, description: "Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').", restrictions: ["number"]}, {name: "nav-left", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "nav-right", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "nav-up", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "negative", browsers: ["FF33"], syntax: "<symbol> <symbol>?", relevance: 50, description: "@counter-style descriptor. Defines how to alter the representation when the counter value is negative.", restrictions: ["image", "identifier", "string"]}, {name: "-o-animation", browsers: ["O12"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "enum", "timing-function", "identifier", "number"]}, {name: "-o-animation-delay", browsers: ["O12"], relevance: 50, description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "-o-animation-direction", browsers: ["O12"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "-o-animation-duration", browsers: ["O12"], relevance: 50, description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "-o-animation-fill-mode", browsers: ["O12"], values: [{name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "none", description: "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}], relevance: 50, description: "Defines what values are applied by the animation outside the time it is executing.", restrictions: ["enum"]}, {name: "-o-animation-iteration-count", browsers: ["O12"], values: [{name: "infinite", description: "Causes the animation to repeat forever."}], relevance: 50, description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "-o-animation-name", browsers: ["O12"], values: [{name: "none", description: "No animation is performed"}], relevance: 50, description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "-o-animation-play-state", browsers: ["O12"], values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], relevance: 50, description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "-o-animation-timing-function", browsers: ["O12"], relevance: 50, description: "Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.", restrictions: ["timing-function"]}, {name: "object-fit", browsers: ["E16", "FF36", "S10", "C31", "O19"], values: [{name: "contain", description: "The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."}, {name: "cover", description: "The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."}, {name: "fill", description: "The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."}, {name: "none", description: "The replaced content is not resized to fit inside the element's content box"}, {name: "scale-down", description: "Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}], syntax: "fill | contain | cover | none | scale-down", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/object-fit"}], description: "Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.", restrictions: ["enum"]}, {name: "object-position", browsers: ["E16", "FF36", "S10", "C31", "O19"], syntax: "<position>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/object-position"}], description: "Determines the alignment of the replaced element inside its box.", restrictions: ["position", "length", "percentage"]}, {name: "-o-border-image", browsers: ["O11.6"], values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none"}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}], relevance: 50, description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "image", "enum"]}, {name: "-o-object-fit", browsers: ["O10.6"], values: [{name: "contain", description: "The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."}, {name: "cover", description: "The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."}, {name: "fill", description: "The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."}, {name: "none", description: "The replaced content is not resized to fit inside the element's content box"}, {name: "scale-down", description: "Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}], relevance: 50, description: "Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.", restrictions: ["enum"]}, {name: "-o-object-position", browsers: ["O10.6"], relevance: 50, description: "Determines the alignment of the replaced element inside its box.", restrictions: ["position", "length", "percentage"]}, {name: "opacity", syntax: "<alpha-value>", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/opacity"}], description: "Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.", restrictions: ["number(0-1)"]}, {name: "order", syntax: "<integer>", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/order"}], description: "Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.", restrictions: ["integer"]}, {name: "orphans", browsers: ["E12", "S1.3", "C25", "IE8", "O9.2"], syntax: "<integer>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/orphans"}], description: "Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.", restrictions: ["integer"]}, {name: "-o-table-baseline", browsers: ["O9.6"], relevance: 50, description: "Determines which row of a inline-table should be used as baseline of inline-table.", restrictions: ["integer"]}, {name: "-o-tab-size", browsers: ["O10.6"], relevance: 50, description: "This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.", restrictions: ["integer", "length"]}, {name: "-o-text-overflow", browsers: ["O10"], values: [{name: "clip", description: "Clip inline content that overflows. Characters may be only partially rendered."}, {name: "ellipsis", description: "Render an ellipsis character (U+2026) to represent clipped inline content."}], relevance: 50, description: "Text can overflow for example when it is prevented from wrapping", restrictions: ["enum"]}, {name: "-o-transform", browsers: ["O10.5"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-o-transform-origin", browsers: ["O10.5"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["positon", "length", "percentage"]}, {name: "-o-transition", browsers: ["O11.5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "-o-transition-delay", browsers: ["O11.5"], relevance: 50, description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "-o-transition-duration", browsers: ["O11.5"], relevance: 50, description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "-o-transition-property", browsers: ["O11.5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "-o-transition-timing-function", browsers: ["O11.5"], relevance: 50, description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "offset-block-end", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "offset-block-start", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "offset-inline-end", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "offset-inline-start", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "outline", values: [{name: "auto", description: "Permits the user agent to render a custom outline style, typically the default platform style."}, {name: "invert", description: "Performs a color inversion on the pixels on the screen."}], syntax: "[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline"}], description: "Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.", restrictions: ["length", "line-width", "line-style", "color", "enum"]}, {name: "outline-color", values: [{name: "invert", description: "Performs a color inversion on the pixels on the screen."}], syntax: "<color> | invert", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-color"}], description: "The color of the outline.", restrictions: ["enum", "color"]}, {name: "outline-offset", browsers: ["E15", "FF1.5", "S1.2", "C1", "O9.5"], syntax: "<length>", relevance: 59, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-offset"}], description: "Offset the outline and draw it beyond the border edge.", restrictions: ["length"]}, {name: "outline-style", values: [{name: "auto", description: "Permits the user agent to render a custom outline style, typically the default platform style."}], syntax: "auto | <'border-style'>", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-style"}], description: "Style of the outline.", restrictions: ["line-style", "enum"]}, {name: "outline-width", syntax: "<line-width>", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-width"}], description: "Width of the outline.", restrictions: ["length", "line-width"]}, {name: "overflow", values: [{name: "auto", description: "The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."}, {name: "hidden", description: "Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."}, {name: "-moz-hidden-unscrollable", description: "Same as the standardized 'clip', except doesn’t establish a block formatting context."}, {name: "scroll", description: "Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."}, {name: "visible", description: "Content is not clipped, i.e., it may be rendered outside the content box."}], syntax: "[ visible | hidden | clip | scroll | auto ]{1,2}", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow"}], description: "Shorthand for setting 'overflow-x' and 'overflow-y'.", restrictions: ["enum"]}, {name: "overflow-wrap", values: [{name: "break-word", description: "An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."}, {name: "normal", description: "Lines may break only at allowed break points."}], syntax: "normal | break-word | anywhere", relevance: 63, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}], description: "Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.", restrictions: ["enum"]}, {name: "overflow-x", values: [{name: "auto", description: "The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."}, {name: "hidden", description: "Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."}, {name: "scroll", description: "Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."}, {name: "visible", description: "Content is not clipped, i.e., it may be rendered outside the content box."}], syntax: "visible | hidden | clip | scroll | auto", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-x"}], description: "Specifies the handling of overflow in the horizontal direction.", restrictions: ["enum"]}, {name: "overflow-y", values: [{name: "auto", description: "The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."}, {name: "hidden", description: "Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."}, {name: "scroll", description: "Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."}, {name: "visible", description: "Content is not clipped, i.e., it may be rendered outside the content box."}], syntax: "visible | hidden | clip | scroll | auto", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-y"}], description: "Specifies the handling of overflow in the vertical direction.", restrictions: ["enum"]}, {name: "pad", browsers: ["FF33"], syntax: "<integer> && <symbol>", relevance: 50, description: "@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>", restrictions: ["integer", "image", "string", "identifier"]}, {name: "padding", values: [], syntax: "[ <length> | <percentage> ]{1,4}", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-bottom", syntax: "<length> | <percentage>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-block-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}], description: "Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-block-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}], description: "Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-inline-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}], description: "Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-inline-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}], description: "Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-left", syntax: "<length> | <percentage>", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-left"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-right", syntax: "<length> | <percentage>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-right"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-top", syntax: "<length> | <percentage>", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-top"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "page-break-after", values: [{name: "always", description: "Always force a page break after the generated box."}, {name: "auto", description: "Neither force nor forbid a page break after generated box."}, {name: "avoid", description: "Avoid a page break after the generated box."}, {name: "left", description: "Force one or two page breaks after the generated box so that the next page is formatted as a left page."}, {name: "right", description: "Force one or two page breaks after the generated box so that the next page is formatted as a right page."}], syntax: "auto | always | avoid | left | right | recto | verso", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/page-break-after"}], description: "Defines rules for page breaks after an element.", restrictions: ["enum"]}, {name: "page-break-before", values: [{name: "always", description: "Always force a page break before the generated box."}, {name: "auto", description: "Neither force nor forbid a page break before the generated box."}, {name: "avoid", description: "Avoid a page break before the generated box."}, {name: "left", description: "Force one or two page breaks before the generated box so that the next page is formatted as a left page."}, {name: "right", description: "Force one or two page breaks before the generated box so that the next page is formatted as a right page."}], syntax: "auto | always | avoid | left | right | recto | verso", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/page-break-before"}], description: "Defines rules for page breaks before an element.", restrictions: ["enum"]}, {name: "page-break-inside", values: [{name: "auto", description: "Neither force nor forbid a page break inside the generated box."}, {name: "avoid", description: "Avoid a page break inside the generated box."}], syntax: "auto | avoid", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}], description: "Defines rules for page breaks inside an element.", restrictions: ["enum"]}, {name: "paint-order", browsers: ["E17", "FF60", "S8", "C35", "O22"], values: [{name: "fill"}, {name: "markers"}, {name: "normal", description: "The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."}, {name: "stroke"}], syntax: "normal | [ fill || stroke || markers ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/paint-order"}], description: "Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.", restrictions: ["enum"]}, {name: "perspective", values: [{name: "none", description: "No perspective transform is applied."}], syntax: "none | <length>", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/perspective"}], description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length", "enum"]}, {name: "perspective-origin", syntax: "<position>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}], description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "pointer-events", values: [{name: "all", description: "The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."}, {name: "fill", description: "The given element can be the target element for pointer events whenever the pointer is over the interior of the element."}, {name: "none", description: "The given element does not receive pointer events."}, {name: "painted", description: 'The given element can be the target element for pointer events when the pointer is over a "painted" area. '}, {name: "stroke", description: "The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."}, {name: "visible", description: "The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."}, {name: "visibleFill", description: "The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."}, {name: "visiblePainted", description: "The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."}, {name: "visibleStroke", description: "The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}], syntax: "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit", relevance: 80, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/pointer-events"}], description: "Specifies under what circumstances a given element can be the target element for a pointer event.", restrictions: ["enum"]}, {name: "position", values: [{name: "absolute", description: "The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."}, {name: "fixed", description: "The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."}, {name: "-ms-page", description: "The box's position is calculated according to the 'absolute' model."}, {name: "relative", description: "The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."}, {name: "static", description: "The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."}, {name: "sticky", description: "The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}, {name: "-webkit-sticky", description: "The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}], syntax: "static | relative | absolute | sticky | fixed", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/position"}], description: "The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.", restrictions: ["enum"]}, {name: "prefix", browsers: ["FF33"], syntax: "<symbol>", relevance: 50, description: "@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.", restrictions: ["image", "string", "identifier"]}, {name: "quotes", values: [{name: "none", description: "The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}], syntax: "none | auto | [ <string> <string> ]+", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/quotes"}], description: "Specifies quotation marks for any number of embedded quotations.", restrictions: ["string"]}, {name: "range", browsers: ["FF33"], values: [{name: "auto", description: "The range depends on the counter system."}, {name: "infinite", description: "If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}], syntax: "[ [ <integer> | infinite ]{2} ]# | auto", relevance: 50, description: "@counter-style descriptor. Defines the ranges over which the counter style is defined.", restrictions: ["integer", "enum"]}, {name: "resize", browsers: ["E79", "FF4", "S3", "C1", "O12.1"], values: [{name: "both", description: "The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."}, {name: "horizontal", description: "The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."}, {name: "none", description: "The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."}, {name: "vertical", description: "The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}], syntax: "none | both | horizontal | vertical | block | inline", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/resize"}], description: "Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.", restrictions: ["enum"]}, {name: "right", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/right"}], description: "Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "ruby-align", browsers: ["FF38"], values: [{name: "auto", browsers: ["FF38"], description: "The user agent determines how the ruby contents are aligned. This is the initial value."}, {name: "center", description: "The ruby content is centered within its box."}, {name: "distribute-letter", browsers: ["FF38"], description: "If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."}, {name: "distribute-space", browsers: ["FF38"], description: "If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."}, {name: "left", description: "The ruby text content is aligned with the start edge of the base."}, {name: "line-edge", browsers: ["FF38"], description: "If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."}, {name: "right", browsers: ["FF38"], description: "The ruby text content is aligned with the end edge of the base."}, {name: "start", browsers: ["FF38"], description: "The ruby text content is aligned with the start edge of the base."}, {name: "space-between", browsers: ["FF38"], description: "The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"}, {name: "space-around", browsers: ["FF38"], description: "As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}], status: "experimental", syntax: "start | center | space-between | space-around", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/ruby-align"}], description: "Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.", restrictions: ["enum"]}, {name: "ruby-overhang", browsers: ["FF10", "IE5"], values: [{name: "auto", description: "The ruby text can overhang text adjacent to the base on either side. This is the initial value."}, {name: "end", description: "The ruby text can overhang the text that follows it."}, {name: "none", description: "The ruby text cannot overhang any text adjacent to its base, only its own base."}, {name: "start", description: "The ruby text can overhang the text that precedes it."}], relevance: 50, description: "Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.", restrictions: ["enum"]}, {name: "ruby-position", browsers: ["E12", "FF38"], values: [{name: "after", description: "The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."}, {name: "before", description: "The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."}, {name: "inline"}, {name: "right", description: "The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}], status: "experimental", syntax: "over | under | inter-character", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/ruby-position"}], description: "Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.", restrictions: ["enum"]}, {name: "ruby-span", browsers: ["FF10"], values: [{name: "attr(x)", description: "The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."}, {name: "none", description: "No spanning. The computed value is '1'."}], relevance: 50, description: "Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.", restrictions: ["enum"]}, {name: "scrollbar-3dlight-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}], description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-arrow-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}], description: "Determines the color of the arrow elements of a scroll arrow.", restrictions: ["color"]}, {name: "scrollbar-base-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}], description: "Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.", restrictions: ["color"]}, {name: "scrollbar-darkshadow-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}], description: "Determines the color of the gutter of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-face-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}], description: "Determines the color of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-highlight-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}], description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-shadow-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}], description: "Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-track-color", browsers: ["IE6"], relevance: 50, description: "Determines the color of the track element of a scroll bar.", restrictions: ["color"]}, {name: "scroll-behavior", browsers: ["E79", "FF36", "C61", "O48"], values: [{name: "auto", description: "Scrolls in an instant fashion."}, {name: "smooth", description: "Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}], syntax: "auto | smooth", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}], description: "Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.", restrictions: ["enum"]}, {name: "scroll-snap-coordinate", browsers: ["FF39"], values: [{name: "none", description: "Specifies that this element does not contribute a snap point."}], status: "obsolete", syntax: "none | <position>#", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}], description: "Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.", restrictions: ["position", "length", "percentage", "enum"]}, {name: "scroll-snap-destination", browsers: ["FF39"], status: "obsolete", syntax: "<position>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}], description: "Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.", restrictions: ["position", "length", "percentage"]}, {name: "scroll-snap-points-x", browsers: ["FF39", "S9"], values: [{name: "none", description: "No snap points are defined by this scroll container."}, {name: "repeat()", description: "Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}], status: "obsolete", syntax: "none | repeat( <length-percentage> )", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}], description: "Defines the positioning of snap points along the x axis of the scroll container it is applied to.", restrictions: ["enum"]}, {name: "scroll-snap-points-y", browsers: ["FF39", "S9"], values: [{name: "none", description: "No snap points are defined by this scroll container."}, {name: "repeat()", description: "Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}], status: "obsolete", syntax: "none | repeat( <length-percentage> )", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}], description: "Defines the positioning of snap points along the y axis of the scroll container it is applied to.", restrictions: ["enum"]}, {name: "scroll-snap-type", values: [{name: "none", description: "The visual viewport of this scroll container must ignore snap points, if any, when scrolled."}, {name: "mandatory", description: "The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."}, {name: "proximity", description: "The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}], syntax: "none | [ x | y | block | inline | both ] [ mandatory | proximity ]?", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}], description: "Defines how strictly snap points are enforced on the scroll container.", restrictions: ["enum"]}, {name: "shape-image-threshold", browsers: ["E79", "FF62", "S10.1", "C37", "O24"], syntax: "<alpha-value>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}], description: "Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.", restrictions: ["number"]}, {name: "shape-margin", browsers: ["E79", "FF62", "S10.1", "C37", "O24"], syntax: "<length-percentage>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/shape-margin"}], description: "Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.", restrictions: ["url", "length", "percentage"]}, {name: "shape-outside", browsers: ["E79", "FF62", "S10.1", "C37", "O24"], values: [{name: "margin-box", description: "The background is painted within (clipped to) the margin box."}, {name: "none", description: "The float area is unaffected."}], syntax: "none | <shape-box> || <basic-shape> | <image>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/shape-outside"}], description: "Specifies an orthogonal rotation to be applied to an image before it is laid out.", restrictions: ["image", "box", "shape", "enum"]}, {name: "shape-rendering", values: [{name: "auto", description: "Suppresses aural rendering."}, {name: "crispEdges", description: "Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."}, {name: "geometricPrecision", description: "Emphasize geometric precision over speed and crisp edges."}, {name: "optimizeSpeed", description: "Emphasize rendering speed over geometric precision and crisp edges."}], relevance: 50, description: "Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.", restrictions: ["enum"]}, {name: "size", browsers: ["C", "O8"], syntax: "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]", relevance: 52, description: "The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.", restrictions: ["length"]}, {name: "src", values: [{name: "url()", description: "Reference font by URL"}, {name: "format()", description: "Optional hint describing the format of the font resource."}, {name: "local()", description: "Format-specific string that identifies a locally available copy of a given font."}], syntax: "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#", relevance: 67, description: "@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.", restrictions: ["enum", "url", "identifier"]}, {name: "stop-color", relevance: 51, description: "Indicates what color to use at that gradient stop.", restrictions: ["color"]}, {name: "stop-opacity", relevance: 50, description: "Defines the opacity of a given gradient stop.", restrictions: ["number(0-1)"]}, {name: "stroke", values: [{name: "url()", description: "A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."}, {name: "none", description: "No paint is applied in this layer."}], relevance: 63, description: "Paints along the outline of the given graphical element.", restrictions: ["color", "enum", "url"]}, {name: "stroke-dasharray", values: [{name: "none", description: "Indicates that no dashing is used."}], relevance: 58, description: "Controls the pattern of dashes and gaps used to stroke paths.", restrictions: ["length", "percentage", "number", "enum"]}, {name: "stroke-dashoffset", relevance: 58, description: "Specifies the distance into the dash pattern to start the dash.", restrictions: ["percentage", "length"]}, {name: "stroke-linecap", values: [{name: "butt", description: "Indicates that the stroke for each subpath does not extend beyond its two endpoints."}, {name: "round", description: "Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."}, {name: "square", description: "Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}], relevance: 53, description: "Specifies the shape to be used at the end of open subpaths when they are stroked.", restrictions: ["enum"]}, {name: "stroke-linejoin", values: [{name: "bevel", description: "Indicates that a bevelled corner is to be used to join path segments."}, {name: "miter", description: "Indicates that a sharp corner is to be used to join path segments."}, {name: "round", description: "Indicates that a round corner is to be used to join path segments."}], relevance: 50, description: "Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.", restrictions: ["enum"]}, {name: "stroke-miterlimit", relevance: 50, description: "When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.", restrictions: ["number"]}, {name: "stroke-opacity", relevance: 51, description: "Specifies the opacity of the painting operation used to stroke the current object.", restrictions: ["number(0-1)"]}, {name: "stroke-width", relevance: 60, description: "Specifies the width of the stroke on the current object.", restrictions: ["percentage", "length"]}, {name: "suffix", browsers: ["FF33"], syntax: "<symbol>", relevance: 50, description: "@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.", restrictions: ["image", "string", "identifier"]}, {name: "system", browsers: ["FF33"], values: [{name: "additive", description: "Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."}, {name: "alphabetic", description: 'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'}, {name: "cyclic", description: "Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."}, {name: "extends", description: "Use the algorithm of another counter style, but alter other aspects."}, {name: "fixed", description: "Runs through its list of counter symbols once, then falls back."}, {name: "numeric", description: `interprets the list of counter symbols as digits to a "place-value" numbering system, similar to the default 'decimal' counter style.`}, {name: "symbolic", description: "Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}], syntax: "cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]", relevance: 50, description: "@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.", restrictions: ["enum", "integer"]}, {name: "symbols", browsers: ["FF33"], syntax: "<symbol>+", relevance: 50, description: "@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.", restrictions: ["image", "string", "identifier"]}, {name: "table-layout", values: [{name: "auto", description: "Use any automatic table layout algorithm."}, {name: "fixed", description: "Use the fixed table layout algorithm."}], syntax: "auto | fixed", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/table-layout"}], description: "Controls the algorithm used to lay out the table cells, rows, and columns.", restrictions: ["enum"]}, {name: "tab-size", browsers: ["E79", "FF4", "S6.1", "C21", "O15"], syntax: "<integer> | <length>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/tab-size"}], description: "Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.", restrictions: ["integer", "length"]}, {name: "text-align", values: [{name: "center", description: "The inline contents are centered within the line box."}, {name: "end", description: "The inline contents are aligned to the end edge of the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}, {name: "start", description: "The inline contents are aligned to the start edge of the line box."}], syntax: "start | end | left | right | center | justify | match-parent", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-align"}], description: "Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.", restrictions: ["string"]}, {name: "text-align-last", browsers: ["E12", "FF49", "C47", "IE5.5", "O34"], values: [{name: "auto", description: "Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."}, {name: "center", description: "The inline contents are centered within the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}], syntax: "auto | start | end | left | right | center | justify", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-align-last"}], description: "Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.", restrictions: ["enum"]}, {name: "text-anchor", values: [{name: "end", description: "The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."}, {name: "middle", description: "The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."}, {name: "start", description: "The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}], relevance: 50, description: "Used to align (start-, middle- or end-alignment) a string of text relative to a given point.", restrictions: ["enum"]}, {name: "text-decoration", values: [{name: "dashed", description: "Produces a dashed line style."}, {name: "dotted", description: "Produces a dotted line."}, {name: "double", description: "Produces a double line."}, {name: "line-through", description: "Each line of text has a line through the middle."}, {name: "none", description: "Produces no line."}, {name: "overline", description: "Each line of text has a line above it."}, {name: "solid", description: "Produces a solid line."}, {name: "underline", description: "Each line of text is underlined."}, {name: "wavy", description: "Produces a wavy line."}], syntax: "<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration"}], description: "Decorations applied to font used for an element's text.", restrictions: ["enum", "color"]}, {name: "text-decoration-color", browsers: ["E79", "FF36", "S12.1", "C57", "O44"], syntax: "<color>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}], description: "Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.", restrictions: ["color"]}, {name: "text-decoration-line", browsers: ["E79", "FF36", "S12.1", "C57", "O44"], values: [{name: "line-through", description: "Each line of text has a line through the middle."}, {name: "none", description: "Neither produces nor inhibits text decoration."}, {name: "overline", description: "Each line of text has a line above it."}, {name: "underline", description: "Each line of text is underlined."}], syntax: "none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}], description: "Specifies what line decorations, if any, are added to the element.", restrictions: ["enum"]}, {name: "text-decoration-style", browsers: ["E79", "FF36", "S12.1", "C57", "O44"], values: [{name: "dashed", description: "Produces a dashed line style."}, {name: "dotted", description: "Produces a dotted line."}, {name: "double", description: "Produces a double line."}, {name: "none", description: "Produces no line."}, {name: "solid", description: "Produces a solid line."}, {name: "wavy", description: "Produces a wavy line."}], syntax: "solid | double | dotted | dashed | wavy", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}], description: "Specifies the line style for underline, line-through and overline text decoration.", restrictions: ["enum"]}, {name: "text-indent", values: [], syntax: "<length-percentage> && hanging? && each-line?", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-indent"}], description: "Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.", restrictions: ["percentage", "length"]}, {name: "text-justify", browsers: ["E12", "FF55", "C32", "IE11", "O19"], values: [{name: "auto", description: "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."}, {name: "distribute", description: "Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."}, {name: "distribute-all-lines"}, {name: "inter-cluster", description: "Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."}, {name: "inter-ideograph", description: "Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."}, {name: "inter-word", description: "Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."}, {name: "kashida", description: "Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}, {name: "newspaper"}], syntax: "auto | inter-character | inter-word | none", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-justify"}], description: "Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.", restrictions: ["enum"]}, {name: "text-orientation", browsers: ["E79", "FF41", "S5.1", "C48", "O15"], values: [{name: "sideways", browsers: ["E79", "FF41", "S5.1", "C48", "O15"], description: "This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."}, {name: "sideways-right", browsers: ["E79", "FF41", "S5.1", "C48", "O15"], description: "In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."}, {name: "upright", description: "In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}], syntax: "mixed | upright | sideways", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-orientation"}], description: "Specifies the orientation of text within a line.", restrictions: ["enum"]}, {name: "text-overflow", values: [{name: "clip", description: "Clip inline content that overflows. Characters may be only partially rendered."}, {name: "ellipsis", description: "Render an ellipsis character (U+2026) to represent clipped inline content."}], syntax: "[ clip | ellipsis | <string> ]{1,2}", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-overflow"}], description: "Text can overflow for example when it is prevented from wrapping.", restrictions: ["enum", "string"]}, {name: "text-rendering", browsers: ["E79", "FF1", "S5", "C4", "O15"], values: [{name: "auto"}, {name: "geometricPrecision", description: "Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."}, {name: "optimizeLegibility", description: "Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."}, {name: "optimizeSpeed", description: "Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}], syntax: "auto | optimizeSpeed | optimizeLegibility | geometricPrecision", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-rendering"}], description: "The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.", restrictions: ["enum"]}, {name: "text-shadow", values: [{name: "none", description: "No shadow."}], syntax: "none | <shadow-t>#", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-shadow"}], description: "Enables shadow effects to be applied to the text of the element.", restrictions: ["length", "color"]}, {name: "text-transform", values: [{name: "capitalize", description: "Puts the first typographic letter unit of each word in titlecase."}, {name: "lowercase", description: "Puts all letters in lowercase."}, {name: "none", description: "No effects."}, {name: "uppercase", description: "Puts all letters in uppercase."}], syntax: "none | capitalize | uppercase | lowercase | full-width | full-size-kana", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-transform"}], description: "Controls capitalization effects of an element’s text.", restrictions: ["enum"]}, {name: "text-underline-position", values: [{name: "above"}, {name: "auto", description: "The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."}, {name: "below", description: "The underline is aligned with the under edge of the element’s content box."}], syntax: "auto | from-font | [ under || [ left | right ] ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}], description: "Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text", restrictions: ["enum"]}, {name: "top", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/top"}], description: "Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "touch-action", values: [{name: "auto", description: "The user agent may determine any permitted touch behaviors for touches that begin on the element."}, {name: "cross-slide-x"}, {name: "cross-slide-y"}, {name: "double-tap-zoom"}, {name: "manipulation", description: "The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."}, {name: "none", description: "Touches that begin on the element must not trigger default touch behaviors."}, {name: "pan-x", description: "The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."}, {name: "pan-y", description: "The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."}, {name: "pinch-zoom"}], syntax: "auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation", relevance: 65, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/touch-action"}], description: "Determines whether touch input may trigger default behavior supplied by user agent.", restrictions: ["enum"]}, {name: "transform", values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "perspective()", description: "Specifies a perspective projection matrix."}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], syntax: "none | <transform-list>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform"}], description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "transform-origin", syntax: "[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform-origin"}], description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "transform-style", browsers: ["E12", "FF16", "S9", "C36", "O23"], values: [{name: "flat", description: "All children of this element are rendered flattened into the 2D plane of the element."}, {name: "preserve-3d", browsers: ["E12", "FF16", "S9", "C36", "O23"], description: "Flattening is not performed, so children maintain their position in 3D space."}], syntax: "flat | preserve-3d", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform-style"}], description: "Defines how nested elements are rendered in 3D space.", restrictions: ["enum"]}, {name: "transition", values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], syntax: "<single-transition>#", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition"}], description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "transition-delay", syntax: "<time>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-delay"}], description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "transition-duration", syntax: "<time>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-duration"}], description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "transition-property", values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], syntax: "none | <single-transition-property>#", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-property"}], description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "transition-timing-function", syntax: "<timing-function>#", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}], description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "unicode-bidi", values: [{name: "bidi-override", description: "Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."}, {name: "embed", description: "If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."}, {name: "isolate", description: "The contents of the element are considered to be inside a separate, independent paragraph."}, {name: "isolate-override", description: "This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"}, {name: "normal", description: "The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."}, {name: "plaintext", description: "For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}], syntax: "normal | embed | isolate | bidi-override | isolate-override | plaintext", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}], description: "The level of embedding with respect to the bidirectional algorithm.", restrictions: ["enum"]}, {name: "unicode-range", values: [{name: "U+26", description: "Ampersand."}, {name: "U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F", description: "WGL4 character set (Pan-European)."}, {name: "U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF", description: "The Multilingual European Subset No. 1. Latin. Covers ~44 languages."}, {name: "U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD", description: "The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."}, {name: "U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD", description: "The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."}, {name: "U+00-7F", description: "Basic Latin (ASCII)."}, {name: "U+80-FF", description: "Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."}, {name: "U+100-17F", description: "Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."}, {name: "U+180-24F", description: "Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."}, {name: "U+1E00-1EFF", description: "Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."}, {name: "U+250-2AF", description: "International Phonetic Alphabet Extensions."}, {name: "U+370-3FF", description: "Greek and Coptic."}, {name: "U+1F00-1FFF", description: "Greek Extended. Accented characters for polytonic Greek."}, {name: "U+400-4FF", description: "Cyrillic."}, {name: "U+500-52F", description: "Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."}, {name: "U+00-52F, U+1E00-1FFF, U+2200–22FF", description: "Latin, Greek, Cyrillic, some punctuation and symbols."}, {name: "U+530–58F", description: "Armenian."}, {name: "U+590–5FF", description: "Hebrew."}, {name: "U+600–6FF", description: "Arabic."}, {name: "U+750–77F", description: "Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."}, {name: "U+8A0–8FF", description: "Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."}, {name: "U+700–74F", description: "Syriac."}, {name: "U+900–97F", description: "Devanagari."}, {name: "U+980–9FF", description: "Bengali."}, {name: "U+A00–A7F", description: "Gurmukhi."}, {name: "U+A80–AFF", description: "Gujarati."}, {name: "U+B00–B7F", description: "Oriya."}, {name: "U+B80–BFF", description: "Tamil."}, {name: "U+C00–C7F", description: "Telugu."}, {name: "U+C80–CFF", description: "Kannada."}, {name: "U+D00–D7F", description: "Malayalam."}, {name: "U+D80–DFF", description: "Sinhala."}, {name: "U+118A0–118FF", description: "Warang Citi."}, {name: "U+E00–E7F", description: "Thai."}, {name: "U+1A20–1AAF", description: "Tai Tham."}, {name: "U+AA80–AADF", description: "Tai Viet."}, {name: "U+E80–EFF", description: "Lao."}, {name: "U+F00–FFF", description: "Tibetan."}, {name: "U+1000–109F", description: "Myanmar (Burmese)."}, {name: "U+10A0–10FF", description: "Georgian."}, {name: "U+1200–137F", description: "Ethiopic."}, {name: "U+1380–139F", description: "Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"}, {name: "U+2D80–2DDF", description: "Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."}, {name: "U+AB00–AB2F", description: "Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."}, {name: "U+1780–17FF", description: "Khmer."}, {name: "U+1800–18AF", description: "Mongolian."}, {name: "U+1B80–1BBF", description: "Sundanese."}, {name: "U+1CC0–1CCF", description: "Sundanese Supplement. Punctuation."}, {name: "U+4E00–9FD5", description: "CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."}, {name: "U+3400–4DB5", description: "CJK Unified Ideographs Extension A. Rare ideographs."}, {name: "U+2F00–2FDF", description: "Kangxi Radicals."}, {name: "U+2E80–2EFF", description: "CJK Radicals Supplement. Alternative forms of Kangxi Radicals."}, {name: "U+1100–11FF", description: "Hangul Jamo."}, {name: "U+AC00–D7AF", description: "Hangul Syllables."}, {name: "U+3040–309F", description: "Hiragana."}, {name: "U+30A0–30FF", description: "Katakana."}, {name: "U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F", description: "Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."}, {name: "U+A4D0–A4FF", description: "Lisu."}, {name: "U+A000–A48F", description: "Yi Syllables."}, {name: "U+A490–A4CF", description: "Yi Radicals."}, {name: "U+2000-206F", description: "General Punctuation."}, {name: "U+3000–303F", description: "CJK Symbols and Punctuation."}, {name: "U+2070–209F", description: "Superscripts and Subscripts."}, {name: "U+20A0–20CF", description: "Currency Symbols."}, {name: "U+2100–214F", description: "Letterlike Symbols."}, {name: "U+2150–218F", description: "Number Forms."}, {name: "U+2190–21FF", description: "Arrows."}, {name: "U+2200–22FF", description: "Mathematical Operators."}, {name: "U+2300–23FF", description: "Miscellaneous Technical."}, {name: "U+E000-F8FF", description: "Private Use Area."}, {name: "U+FB00–FB4F", description: "Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."}, {name: "U+FB50–FDFF", description: "Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."}, {name: "U+1F600–1F64F", description: "Emoji: Emoticons."}, {name: "U+2600–26FF", description: "Emoji: Miscellaneous Symbols."}, {name: "U+1F300–1F5FF", description: "Emoji: Miscellaneous Symbols and Pictographs."}, {name: "U+1F900–1F9FF", description: "Emoji: Supplemental Symbols and Pictographs."}, {name: "U+1F680–1F6FF", description: "Emoji: Transport and Map Symbols."}], syntax: "<unicode-range>#", relevance: 58, description: "@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.", restrictions: ["unicode-range"]}, {name: "user-select", values: [{name: "all", description: "The content of the element must be selected atomically"}, {name: "auto"}, {name: "contain", description: "UAs must not allow a selection which is started in this element to be extended outside of this element."}, {name: "none", description: "The UA must not allow selections to be started in this element."}, {name: "text", description: "The element imposes no constraint on the selection."}], status: "nonstandard", syntax: "auto | text | none | contain | all", relevance: 24, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/user-select"}], description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "vertical-align", values: [{name: "auto", description: "Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."}, {name: "baseline", description: "Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."}, {name: "bottom", description: "Align the after edge of the extended inline box with the after-edge of the line box."}, {name: "middle", description: "Align the 'middle' baseline of the inline element with the middle baseline of the parent."}, {name: "sub", description: "Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"}, {name: "super", description: "Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"}, {name: "text-bottom", description: "Align the bottom of the box with the after-edge of the parent element's font."}, {name: "text-top", description: "Align the top of the box with the before-edge of the parent element's font."}, {name: "top", description: "Align the before edge of the extended inline box with the before-edge of the line box."}, {name: "-webkit-baseline-middle"}], syntax: "baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/vertical-align"}], description: "Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.", restrictions: ["percentage", "length"]}, {name: "visibility", values: [{name: "collapse", description: "Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."}, {name: "hidden", description: "The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."}, {name: "visible", description: "The generated box is visible."}], syntax: "visible | hidden | collapse", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/visibility"}], description: "Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).", restrictions: ["enum"]}, {name: "-webkit-animation", browsers: ["C", "S5"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "enum", "timing-function", "identifier", "number"]}, {name: "-webkit-animation-delay", browsers: ["C", "S5"], relevance: 50, description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "-webkit-animation-direction", browsers: ["C", "S5"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "-webkit-animation-duration", browsers: ["C", "S5"], relevance: 50, description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "-webkit-animation-fill-mode", browsers: ["C", "S5"], values: [{name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "none", description: "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}], relevance: 50, description: "Defines what values are applied by the animation outside the time it is executing.", restrictions: ["enum"]}, {name: "-webkit-animation-iteration-count", browsers: ["C", "S5"], values: [{name: "infinite", description: "Causes the animation to repeat forever."}], relevance: 50, description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "-webkit-animation-name", browsers: ["C", "S5"], values: [{name: "none", description: "No animation is performed"}], relevance: 50, description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "-webkit-animation-play-state", browsers: ["C", "S5"], values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], relevance: 50, description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "-webkit-animation-timing-function", browsers: ["C", "S5"], relevance: 50, description: "Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.", restrictions: ["timing-function"]}, {name: "-webkit-appearance", browsers: ["C", "S3"], values: [{name: "button"}, {name: "button-bevel"}, {name: "caps-lock-indicator"}, {name: "caret"}, {name: "checkbox"}, {name: "default-button"}, {name: "listbox"}, {name: "listitem"}, {name: "media-fullscreen-button"}, {name: "media-mute-button"}, {name: "media-play-button"}, {name: "media-seek-back-button"}, {name: "media-seek-forward-button"}, {name: "media-slider"}, {name: "media-sliderthumb"}, {name: "menulist"}, {name: "menulist-button"}, {name: "menulist-text"}, {name: "menulist-textfield"}, {name: "none"}, {name: "push-button"}, {name: "radio"}, {name: "scrollbarbutton-down"}, {name: "scrollbarbutton-left"}, {name: "scrollbarbutton-right"}, {name: "scrollbarbutton-up"}, {name: "scrollbargripper-horizontal"}, {name: "scrollbargripper-vertical"}, {name: "scrollbarthumb-horizontal"}, {name: "scrollbarthumb-vertical"}, {name: "scrollbartrack-horizontal"}, {name: "scrollbartrack-vertical"}, {name: "searchfield"}, {name: "searchfield-cancel-button"}, {name: "searchfield-decoration"}, {name: "searchfield-results-button"}, {name: "searchfield-results-decoration"}, {name: "slider-horizontal"}, {name: "sliderthumb-horizontal"}, {name: "sliderthumb-vertical"}, {name: "slider-vertical"}, {name: "square-button"}, {name: "textarea"}, {name: "textfield"}], status: "nonstandard", syntax: "none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield", relevance: 0, description: "Changes the appearance of buttons and other controls to resemble native controls.", restrictions: ["enum"]}, {name: "-webkit-backdrop-filter", browsers: ["S9"], values: [{name: "none", description: "No filter effects are applied."}, {name: "blur()", description: "Applies a Gaussian blur to the input image."}, {name: "brightness()", description: "Applies a linear multiplier to input image, making it appear more or less bright."}, {name: "contrast()", description: "Adjusts the contrast of the input."}, {name: "drop-shadow()", description: "Applies a drop shadow effect to the input image."}, {name: "grayscale()", description: "Converts the input image to grayscale."}, {name: "hue-rotate()", description: "Applies a hue rotation on the input image. "}, {name: "invert()", description: "Inverts the samples in the input image."}, {name: "opacity()", description: "Applies transparency to the samples in the input image."}, {name: "saturate()", description: "Saturates the input image."}, {name: "sepia()", description: "Converts the input image to sepia."}, {name: "url()", description: "A filter reference to a <filter> element."}], relevance: 50, description: "Applies a filter effect where the first filter in the list takes the element's background image as the input image.", restrictions: ["enum", "url"]}, {name: "-webkit-backface-visibility", browsers: ["C", "S5"], values: [{name: "hidden"}, {name: "visible"}], relevance: 50, description: "Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.", restrictions: ["enum"]}, {name: "-webkit-background-clip", browsers: ["C", "S3"], relevance: 50, description: "Determines the background painting area.", restrictions: ["box"]}, {name: "-webkit-background-composite", browsers: ["C", "S3"], values: [{name: "border"}, {name: "padding"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-background-origin", browsers: ["C", "S3"], relevance: 50, description: "For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).", restrictions: ["box"]}, {name: "-webkit-border-image", browsers: ["C", "S5"], values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none"}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}, {name: "url()"}], relevance: 50, description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "url", "enum"]}, {name: "-webkit-box-align", browsers: ["C", "S3"], values: [{name: "baseline", description: "If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."}, {name: "center", description: "Any extra space is divided evenly, with half placed above the child and the other half placed after the child."}, {name: "end", description: "For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."}, {name: "start", description: "For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."}, {name: "stretch", description: "The height of each child is adjusted to that of the containing block."}], relevance: 50, description: "Specifies the alignment of nested elements within an outer flexible box element.", restrictions: ["enum"]}, {name: "-webkit-box-direction", browsers: ["C", "S3"], values: [{name: "normal", description: "A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."}, {name: "reverse", description: "A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}], relevance: 50, description: "In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).", restrictions: ["enum"]}, {name: "-webkit-box-flex", browsers: ["C", "S3"], relevance: 50, description: "Specifies an element's flexibility.", restrictions: ["number"]}, {name: "-webkit-box-flex-group", browsers: ["C", "S3"], relevance: 50, description: "Flexible elements can be assigned to flex groups using the 'box-flex-group' property.", restrictions: ["integer"]}, {name: "-webkit-box-ordinal-group", browsers: ["C", "S3"], relevance: 50, description: "Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.", restrictions: ["integer"]}, {name: "-webkit-box-orient", browsers: ["C", "S3"], values: [{name: "block-axis", description: "Elements are oriented along the box's axis."}, {name: "horizontal", description: "The box displays its children from left to right in a horizontal line."}, {name: "inline-axis", description: "Elements are oriented vertically."}, {name: "vertical", description: "The box displays its children from stacked from top to bottom vertically."}], relevance: 50, description: "In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.", restrictions: ["enum"]}, {name: "-webkit-box-pack", browsers: ["C", "S3"], values: [{name: "center", description: "The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."}, {name: "end", description: "For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."}, {name: "justify", description: "The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."}, {name: "start", description: "For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}], relevance: 50, description: "Specifies alignment of child elements within the current element in the direction of orientation.", restrictions: ["enum"]}, {name: "-webkit-box-reflect", browsers: ["E79", "S4", "C4", "O15"], values: [{name: "above", description: "The reflection appears above the border box."}, {name: "below", description: "The reflection appears below the border box."}, {name: "left", description: "The reflection appears to the left of the border box."}, {name: "right", description: "The reflection appears to the right of the border box."}], status: "nonstandard", syntax: "[ above | below | right | left ]? <length>? <image>?", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}], description: "Defines a reflection of a border box."}, {name: "-webkit-box-sizing", browsers: ["C", "S3"], values: [{name: "border-box", description: "The specified width and height (and respective min/max properties) on this element determine the border box of the element."}, {name: "content-box", description: "Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}], relevance: 50, description: "Box Model addition in CSS3.", restrictions: ["enum"]}, {name: "-webkit-break-after", browsers: ["S7"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-break-before", browsers: ["S7"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-break-inside", browsers: ["S7"], values: [{name: "auto", description: "Neither force nor forbid a page/column break inside the generated box."}, {name: "avoid", description: "Avoid a page/column break inside the generated box."}, {name: "avoid-column", description: "Avoid a column break inside the generated box."}, {name: "avoid-page", description: "Avoid a page break inside the generated box."}, {name: "avoid-region"}], relevance: 50, description: "Describes the page/column break behavior inside the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-break-after", browsers: ["C", "S3"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-break-before", browsers: ["C", "S3"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-break-inside", browsers: ["C", "S3"], values: [{name: "auto", description: "Neither force nor forbid a page/column break inside the generated box."}, {name: "avoid", description: "Avoid a page/column break inside the generated box."}, {name: "avoid-column", description: "Avoid a column break inside the generated box."}, {name: "avoid-page", description: "Avoid a page break inside the generated box."}, {name: "avoid-region"}], relevance: 50, description: "Describes the page/column break behavior inside the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-count", browsers: ["C", "S3"], values: [{name: "auto", description: "Determines the number of columns by the 'column-width' property and the element width."}], relevance: 50, description: "Describes the optimal number of columns into which the content of the element will be flowed.", restrictions: ["integer"]}, {name: "-webkit-column-gap", browsers: ["C", "S3"], values: [{name: "normal", description: "User agent specific and typically equivalent to 1em."}], relevance: 50, description: "Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.", restrictions: ["length"]}, {name: "-webkit-column-rule", browsers: ["C", "S3"], relevance: 50, description: "This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "-webkit-column-rule-color", browsers: ["C", "S3"], relevance: 50, description: "Sets the color of the column rule", restrictions: ["color"]}, {name: "-webkit-column-rule-style", browsers: ["C", "S3"], relevance: 50, description: "Sets the style of the rule between columns of an element.", restrictions: ["line-style"]}, {name: "-webkit-column-rule-width", browsers: ["C", "S3"], relevance: 50, description: "Sets the width of the rule between columns. Negative values are not allowed.", restrictions: ["length", "line-width"]}, {name: "-webkit-columns", browsers: ["C", "S3"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "A shorthand property which sets both 'column-width' and 'column-count'.", restrictions: ["length", "integer"]}, {name: "-webkit-column-span", browsers: ["C", "S3"], values: [{name: "all", description: "The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."}, {name: "none", description: "The element does not span multiple columns."}], relevance: 50, description: "Describes the page/column break behavior after the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-width", browsers: ["C", "S3"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "This property describes the width of columns in multicol elements.", restrictions: ["length"]}, {name: "-webkit-filter", browsers: ["C18", "O15", "S6"], values: [{name: "none", description: "No filter effects are applied."}, {name: "blur()", description: "Applies a Gaussian blur to the input image."}, {name: "brightness()", description: "Applies a linear multiplier to input image, making it appear more or less bright."}, {name: "contrast()", description: "Adjusts the contrast of the input."}, {name: "drop-shadow()", description: "Applies a drop shadow effect to the input image."}, {name: "grayscale()", description: "Converts the input image to grayscale."}, {name: "hue-rotate()", description: "Applies a hue rotation on the input image. "}, {name: "invert()", description: "Inverts the samples in the input image."}, {name: "opacity()", description: "Applies transparency to the samples in the input image."}, {name: "saturate()", description: "Saturates the input image."}, {name: "sepia()", description: "Converts the input image to sepia."}, {name: "url()", description: "A filter reference to a <filter> element."}], relevance: 50, description: "Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.", restrictions: ["enum", "url"]}, {name: "-webkit-flow-from", browsers: ["S6.1"], values: [{name: "none", description: "The block container is not a CSS Region."}], relevance: 50, description: "Makes a block container a region and associates it with a named flow.", restrictions: ["identifier"]}, {name: "-webkit-flow-into", browsers: ["S6.1"], values: [{name: "none", description: "The element is not moved to a named flow and normal CSS processing takes place."}], relevance: 50, description: "Places an element or its contents into a named flow.", restrictions: ["identifier"]}, {name: "-webkit-font-feature-settings", browsers: ["C16"], values: [{name: '"c2cs"'}, {name: '"dlig"'}, {name: '"kern"'}, {name: '"liga"'}, {name: '"lnum"'}, {name: '"onum"'}, {name: '"smcp"'}, {name: '"swsh"'}, {name: '"tnum"'}, {name: "normal", description: "No change in glyph substitution or positioning occurs."}, {name: "off"}, {name: "on"}], relevance: 50, description: "This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.", restrictions: ["string", "integer"]}, {name: "-webkit-hyphens", browsers: ["S5.1"], values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], relevance: 50, description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "-webkit-line-break", browsers: ["C", "S3"], values: [{name: "after-white-space"}, {name: "normal"}], relevance: 50, description: "Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."}, {name: "-webkit-margin-bottom-collapse", browsers: ["C", "S3"], values: [{name: "collapse"}, {name: "discard"}, {name: "separate"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-margin-collapse", browsers: ["C", "S3"], values: [{name: "collapse"}, {name: "discard"}, {name: "separate"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-margin-start", browsers: ["C", "S3"], values: [{name: "auto"}], relevance: 50, restrictions: ["percentage", "length"]}, {name: "-webkit-margin-top-collapse", browsers: ["C", "S3"], values: [{name: "collapse"}, {name: "discard"}, {name: "separate"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-mask-clip", browsers: ["C", "O15", "S4"], status: "nonstandard", syntax: "[ <box> | border | padding | content | text ]#", relevance: 0, description: "Determines the mask painting area, which determines the area that is affected by the mask.", restrictions: ["box"]}, {name: "-webkit-mask-image", browsers: ["C", "O15", "S4"], values: [{name: "none", description: "Counts as a transparent black image layer."}, {name: "url()", description: "Reference to a <mask element or to a CSS image."}], status: "nonstandard", syntax: "<mask-reference>#", relevance: 0, description: "Sets the mask layer image of an element.", restrictions: ["url", "image", "enum"]}, {name: "-webkit-mask-origin", browsers: ["C", "O15", "S4"], status: "nonstandard", syntax: "[ <box> | border | padding | content ]#", relevance: 0, description: "Specifies the mask positioning area.", restrictions: ["box"]}, {name: "-webkit-mask-repeat", browsers: ["C", "O15", "S4"], status: "nonstandard", syntax: "<repeat-style>#", relevance: 0, description: "Specifies how mask layer images are tiled after they have been sized and positioned.", restrictions: ["repeat"]}, {name: "-webkit-mask-size", browsers: ["C", "O15", "S4"], values: [{name: "auto", description: "Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."}, {name: "contain", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."}, {name: "cover", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}], status: "nonstandard", syntax: "<bg-size>#", relevance: 0, description: "Specifies the size of the mask layer images.", restrictions: ["length", "percentage", "enum"]}, {name: "-webkit-nbsp-mode", browsers: ["C", "S3"], values: [{name: "normal"}, {name: "space"}], relevance: 50, description: "Defines the behavior of nonbreaking spaces within text."}, {name: "-webkit-overflow-scrolling", browsers: ["C", "S5"], values: [{name: "auto"}, {name: "touch"}], status: "nonstandard", syntax: "auto | touch", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}], description: "Specifies whether to use native-style scrolling in an overflow:scroll element."}, {name: "-webkit-padding-start", browsers: ["C", "S3"], relevance: 50, restrictions: ["percentage", "length"]}, {name: "-webkit-perspective", browsers: ["C", "S4"], values: [{name: "none", description: "No perspective transform is applied."}], relevance: 50, description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length"]}, {name: "-webkit-perspective-origin", browsers: ["C", "S4"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-webkit-region-fragment", browsers: ["S7"], values: [{name: "auto", description: "Content flows as it would in a regular content box."}, {name: "break", description: "If the content fits within the CSS Region, then this property has no effect."}], relevance: 50, description: "The 'region-fragment' property controls the behavior of the last region associated with a named flow.", restrictions: ["enum"]}, {name: "-webkit-tap-highlight-color", browsers: ["E12", "C16", "O≤15"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}], restrictions: ["color"]}, {name: "-webkit-text-fill-color", browsers: ["E12", "FF49", "S3", "C1", "O15"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}], restrictions: ["color"]}, {name: "-webkit-text-size-adjust", browsers: ["E", "C", "S3"], values: [{name: "auto", description: "Renderers must use the default size adjustment when displaying on a small device."}, {name: "none", description: "Renderers must not do size adjustment when displaying on a small device."}], relevance: 50, description: "Specifies a size adjustment for displaying text content in mobile browsers.", restrictions: ["percentage"]}, {name: "-webkit-text-stroke", browsers: ["E15", "FF49", "S3", "C4", "O15"], status: "nonstandard", syntax: "<length> || <color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}], restrictions: ["length", "line-width", "color", "percentage"]}, {name: "-webkit-text-stroke-color", browsers: ["E15", "FF49", "S3", "C1", "O15"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}], restrictions: ["color"]}, {name: "-webkit-text-stroke-width", browsers: ["E15", "FF49", "S3", "C1", "O15"], status: "nonstandard", syntax: "<length>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}], restrictions: ["length", "line-width", "percentage"]}, {name: "-webkit-touch-callout", browsers: ["S3"], values: [{name: "none"}], status: "nonstandard", syntax: "default | none", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}], restrictions: ["enum"]}, {name: "-webkit-transform", browsers: ["C", "O12", "S3.1"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "perspective()", description: "Specifies a perspective projection matrix."}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-webkit-transform-origin", browsers: ["C", "O15", "S3.1"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "-webkit-transform-origin-x", browsers: ["C", "S3.1"], relevance: 50, description: "The x coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-webkit-transform-origin-y", browsers: ["C", "S3.1"], relevance: 50, description: "The y coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-webkit-transform-origin-z", browsers: ["C", "S4"], relevance: 50, description: "The z coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-webkit-transform-style", browsers: ["C", "S4"], values: [{name: "flat", description: "All children of this element are rendered flattened into the 2D plane of the element."}], relevance: 50, description: "Defines how nested elements are rendered in 3D space.", restrictions: ["enum"]}, {name: "-webkit-transition", browsers: ["C", "O12", "S5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "-webkit-transition-delay", browsers: ["C", "O12", "S5"], relevance: 50, description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "-webkit-transition-duration", browsers: ["C", "O12", "S5"], relevance: 50, description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "-webkit-transition-property", browsers: ["C", "O12", "S5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "-webkit-transition-timing-function", browsers: ["C", "O12", "S5"], relevance: 50, description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "-webkit-user-drag", browsers: ["S3"], values: [{name: "auto"}, {name: "element"}, {name: "none"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-user-modify", browsers: ["C", "S3"], values: [{name: "read-only"}, {name: "read-write"}, {name: "read-write-plaintext-only"}], status: "nonstandard", syntax: "read-only | read-write | read-write-plaintext-only", relevance: 0, description: "Determines whether a user can edit the content of an element.", restrictions: ["enum"]}, {name: "-webkit-user-select", browsers: ["C", "S3"], values: [{name: "auto"}, {name: "none"}, {name: "text"}], relevance: 50, description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "white-space", values: [{name: "normal", description: "Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."}, {name: "nowrap", description: "Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."}, {name: "pre", description: "Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."}, {name: "pre-line", description: "Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."}, {name: "pre-wrap", description: "Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}], syntax: "normal | pre | nowrap | pre-wrap | pre-line | break-spaces", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/white-space"}], description: "Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.", restrictions: ["enum"]}, {name: "widows", browsers: ["E12", "S1.3", "C25", "IE8", "O9.2"], syntax: "<integer>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/widows"}], description: "Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.", restrictions: ["integer"]}, {name: "width", values: [{name: "auto", description: "The width depends on the values of other properties."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>{1,2}", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/width"}], description: "Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.", restrictions: ["length", "percentage"]}, {name: "will-change", browsers: ["E79", "FF36", "S9.1", "C36", "O24"], values: [{name: "auto", description: "Expresses no particular intent."}, {name: "contents", description: "Indicates that the author expects to animate or change something about the element’s contents in the near future."}, {name: "scroll-position", description: "Indicates that the author expects to animate or change the scroll position of the element in the near future."}], syntax: "auto | <animateable-feature>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/will-change"}], description: "Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.", restrictions: ["enum", "identifier"]}, {name: "word-break", values: [{name: "break-all", description: "Lines may break between any two grapheme clusters for non-CJK scripts."}, {name: "keep-all", description: "Block characters can no longer create implied break points."}, {name: "normal", description: "Breaks non-CJK scripts according to their own rules."}], syntax: "normal | break-all | keep-all | break-word", relevance: 72, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/word-break"}], description: "Specifies line break opportunities for non-CJK scripts.", restrictions: ["enum"]}, {name: "word-spacing", values: [{name: "normal", description: "No additional spacing is applied. Computes to zero."}], syntax: "normal | <length-percentage>", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/word-spacing"}], description: "Specifies additional spacing between “words”.", restrictions: ["length", "percentage"]}, {name: "word-wrap", values: [{name: "break-word", description: "An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."}, {name: "normal", description: "Lines may break only at allowed break points."}], syntax: "normal | break-word", relevance: 77, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}], description: "Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.", restrictions: ["enum"]}, {name: "writing-mode", values: [{name: "horizontal-tb", description: "Top-to-bottom block flow direction. The writing mode is horizontal."}, {name: "sideways-lr", description: "Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."}, {name: "sideways-rl", description: "Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."}, {name: "vertical-lr", description: "Left-to-right block flow direction. The writing mode is vertical."}, {name: "vertical-rl", description: "Right-to-left block flow direction. The writing mode is vertical."}], syntax: "horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/writing-mode"}], description: "This is a shorthand property for both 'direction' and 'block-progression'.", restrictions: ["enum"]}, {name: "z-index", values: [{name: "auto", description: "The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}], syntax: "auto | <integer>", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/z-index"}], description: "For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.", restrictions: ["integer"]}, {name: "zoom", browsers: ["E12", "S3.1", "C1", "IE5.5", "O15"], values: [{name: "normal"}], syntax: "auto | <number> | <percentage>", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/zoom"}], description: "Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.", restrictions: ["enum", "integer", "number", "percentage"]}, {name: "-ms-ime-align", status: "nonstandard", syntax: "auto | after", relevance: 0, description: "Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."}, {name: "-moz-binding", status: "nonstandard", syntax: "<url> | none", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}], description: "The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."}, {name: "-moz-context-properties", status: "nonstandard", syntax: "none | [ fill | fill-opacity | stroke | stroke-opacity ]#", relevance: 0, browsers: ["FF55"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}], description: "If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."}, {name: "-moz-float-edge", status: "nonstandard", syntax: "border-box | content-box | margin-box | padding-box", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}], description: "The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."}, {name: "-moz-force-broken-image-icon", status: "nonstandard", syntax: "<integer>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}], description: "The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."}, {name: "-moz-image-region", status: "nonstandard", syntax: "<shape> | auto", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}], description: "For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."}, {name: "-moz-orient", status: "nonstandard", syntax: "inline | block | horizontal | vertical", relevance: 0, browsers: ["FF6"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}], description: "The -moz-orient CSS property specifies the orientation of the element to which it's applied."}, {name: "-moz-outline-radius", status: "nonstandard", syntax: "<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}], description: "In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."}, {name: "-moz-outline-radius-bottomleft", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}], description: "In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."}, {name: "-moz-outline-radius-bottomright", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}], description: "In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."}, {name: "-moz-outline-radius-topleft", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}], description: "In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."}, {name: "-moz-outline-radius-topright", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}], description: "In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."}, {name: "-moz-stack-sizing", status: "nonstandard", syntax: "ignore | stretch-to-fit", relevance: 0, description: "-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."}, {name: "-moz-text-blink", status: "nonstandard", syntax: "none | blink", relevance: 0, description: "The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."}, {name: "-moz-user-input", status: "nonstandard", syntax: "auto | none | enabled | disabled", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}], description: "In Mozilla applications, -moz-user-input determines if an element will accept user input."}, {name: "-moz-user-modify", status: "nonstandard", syntax: "read-only | read-write | write-only", relevance: 0, description: "The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."}, {name: "-moz-window-dragging", status: "nonstandard", syntax: "drag | no-drag", relevance: 0, description: "The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."}, {name: "-moz-window-shadow", status: "nonstandard", syntax: "default | menu | tooltip | sheet | none", relevance: 0, description: "The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."}, {name: "-webkit-border-before", status: "nonstandard", syntax: "<'border-width'> || <'border-style'> || <'color'>", relevance: 0, browsers: ["E79", "S5.1", "C8", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}], description: "The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."}, {name: "-webkit-border-before-color", status: "nonstandard", syntax: "<'color'>", relevance: 0, description: "The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."}, {name: "-webkit-border-before-style", status: "nonstandard", syntax: "<'border-style'>", relevance: 0, description: "The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."}, {name: "-webkit-border-before-width", status: "nonstandard", syntax: "<'border-width'>", relevance: 0, description: "The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."}, {name: "-webkit-line-clamp", syntax: "none | <integer>", relevance: 50, browsers: ["E17", "FF68", "S5", "C6", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}], description: "The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."}, {name: "-webkit-mask", status: "nonstandard", syntax: "[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#", relevance: 0, description: "The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."}, {name: "-webkit-mask-attachment", status: "nonstandard", syntax: "<attachment>#", relevance: 0, browsers: ["S4", "C1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}], description: "If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."}, {name: "-webkit-mask-composite", status: "nonstandard", syntax: "<composite-style>#", relevance: 0, browsers: ["E18", "FF53", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}], description: "The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."}, {name: "-webkit-mask-position", status: "nonstandard", syntax: "<position>#", relevance: 0, description: "The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."}, {name: "-webkit-mask-position-x", status: "nonstandard", syntax: "[ <length-percentage> | left | center | right ]#", relevance: 0, browsers: ["E18", "FF49", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}], description: "The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."}, {name: "-webkit-mask-position-y", status: "nonstandard", syntax: "[ <length-percentage> | top | center | bottom ]#", relevance: 0, browsers: ["E18", "FF49", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}], description: "The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."}, {name: "-webkit-mask-repeat-x", status: "nonstandard", syntax: "repeat | no-repeat | space | round", relevance: 0, browsers: ["E18", "S5", "C3", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}], description: "The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."}, {name: "-webkit-mask-repeat-y", status: "nonstandard", syntax: "repeat | no-repeat | space | round", relevance: 0, browsers: ["E18", "S5", "C3", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}], description: "The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."}, {name: "appearance", status: "experimental", syntax: "none | auto | button | textfield | menulist-button | <compat-auto>", relevance: 60, browsers: ["E84", "FF1", "S3", "C84", "O70"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/appearance"}], description: "Changes the appearance of buttons and other controls to resemble native controls."}, {name: "aspect-ratio", status: "experimental", syntax: "auto | <ratio>", relevance: 50, browsers: ["E79", "FF71", "C79"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}], description: "The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."}, {name: "azimuth", status: "obsolete", syntax: "<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/azimuth"}], description: "In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."}, {name: "backdrop-filter", syntax: "none | <filter-function-list>", relevance: 51, browsers: ["E17", "FF70", "S9", "C76", "O34"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}], description: "The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."}, {name: "border-block", syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block"}], description: "The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."}, {name: "border-block-color", syntax: "<'border-top-color'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-color"}], description: "The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-block-style", syntax: "<'border-top-style'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-style"}], description: "The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-block-width", syntax: "<'border-top-width'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-width"}], description: "The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-end-end-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}], description: "The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."}, {name: "border-end-start-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}], description: "The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."}, {name: "border-inline", syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline"}], description: "The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."}, {name: "border-inline-color", syntax: "<'border-top-color'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}], description: "The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-inline-style", syntax: "<'border-top-style'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}], description: "The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-inline-width", syntax: "<'border-top-width'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}], description: "The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-start-end-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}], description: "The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."}, {name: "border-start-start-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}], description: "The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."}, {name: "box-align", status: "nonstandard", syntax: "start | center | end | baseline | stretch", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-align"}], description: "The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."}, {name: "box-direction", status: "nonstandard", syntax: "normal | reverse | inherit", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-direction"}], description: "The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."}, {name: "box-flex", status: "nonstandard", syntax: "<number>", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-flex"}], description: "The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."}, {name: "box-flex-group", status: "nonstandard", syntax: "<integer>", relevance: 0, browsers: ["S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}], description: "The box-flex-group CSS property assigns the flexbox's child elements to a flex group."}, {name: "box-lines", status: "nonstandard", syntax: "single | multiple", relevance: 0, browsers: ["S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-lines"}], description: "The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."}, {name: "box-ordinal-group", status: "nonstandard", syntax: "<integer>", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}], description: "The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."}, {name: "box-orient", status: "nonstandard", syntax: "horizontal | vertical | inline-axis | block-axis | inherit", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-orient"}], description: "The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."}, {name: "box-pack", status: "nonstandard", syntax: "start | center | end | justify", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-pack"}], description: "The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."}, {name: "color-adjust", syntax: "economy | exact", relevance: 50, browsers: ["E79", "FF48", "S6", "C49", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/color-adjust"}], description: "The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."}, {name: "counter-set", syntax: "[ <custom-ident> <integer>? ]+ | none", relevance: 50, browsers: ["FF68"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/counter-set"}], description: "The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."}, {name: "font-optical-sizing", syntax: "auto | none", relevance: 50, browsers: ["E17", "FF62", "S11", "C79", "O66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}], description: "The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."}, {name: "font-variation-settings", syntax: "normal | [ <string> <number> ]#", relevance: 50, browsers: ["E17", "FF62", "S11", "C62", "O49"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}], description: "The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."}, {name: "font-smooth", status: "nonstandard", syntax: "auto | never | always | <absolute-size> | <length>", relevance: 0, browsers: ["E79", "FF25", "S4", "C5", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-smooth"}], description: ""}, {name: "gap", syntax: "<'row-gap'> <'column-gap'>?", relevance: 50, browsers: ["E84", "FF63", "S10.1", "C84", "O70"], description: "The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."}, {name: "hanging-punctuation", syntax: "none | [ first || [ force-end | allow-end ] || last ]", relevance: 50, browsers: ["S10"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}], description: "The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."}, {name: "image-resolution", status: "experimental", syntax: "[ from-image || <resolution> ] && snap?", relevance: 50, description: "The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."}, {name: "initial-letter", status: "experimental", syntax: "normal | [ <number> <integer>? ]", relevance: 50, browsers: ["S9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/initial-letter"}], description: "The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."}, {name: "initial-letter-align", status: "experimental", syntax: "[ auto | alphabetic | hanging | ideographic ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}], description: "The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."}, {name: "inset", syntax: "<'top'>{1,4}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset"}], description: "The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-block", syntax: "<'top'>{1,2}", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-block"}], description: "The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-block-end", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}], description: "The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-block-start", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}], description: "The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-inline", syntax: "<'top'>{1,2}", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-inline"}], description: "The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-inline-end", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}], description: "The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-inline-start", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}], description: "The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "line-clamp", status: "experimental", syntax: "none | <integer>", relevance: 50, description: "The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."}, {name: "line-height-step", status: "experimental", syntax: "<length>", relevance: 50, browsers: ["E79", "C60", "O47"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/line-height-step"}], description: "The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."}, {name: "margin-block", syntax: "<'margin-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-block"}], description: "The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."}, {name: "margin-inline", syntax: "<'margin-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-inline"}], description: "The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."}, {name: "margin-trim", status: "experimental", syntax: "none | in-flow | all", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-trim"}], description: "The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges."}, {name: "mask", syntax: "<mask-layer>#", relevance: 50, browsers: ["E12", "FF2", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask"}], description: "The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."}, {name: "mask-border", syntax: "<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>", relevance: 50, description: "The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."}, {name: "mask-border-mode", syntax: "luminance | alpha", relevance: 50, description: "The mask-border-mode CSS property specifies the blending mode used in a mask border."}, {name: "mask-border-outset", syntax: "[ <length> | <number> ]{1,4}", relevance: 50, description: "The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."}, {name: "mask-border-repeat", syntax: "[ stretch | repeat | round | space ]{1,2}", relevance: 50, description: "The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."}, {name: "mask-border-slice", syntax: "<number-percentage>{1,4} fill?", relevance: 50, description: "The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."}, {name: "mask-border-source", syntax: "none | <image>", relevance: 50, description: "The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."}, {name: "mask-border-width", syntax: "[ <length-percentage> | <number> | auto ]{1,4}", relevance: 50, description: "The mask-border-width CSS property specifies the width of an element's mask border."}, {name: "mask-clip", syntax: "[ <geometry-box> | no-clip ]#", relevance: 50, browsers: ["E79", "FF53", "S4", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-clip"}], description: "The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."}, {name: "mask-composite", syntax: "<compositing-operator>#", relevance: 50, browsers: ["E18", "FF53"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-composite"}], description: "The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."}, {name: "max-lines", status: "experimental", syntax: "none | <integer>", relevance: 50, description: "The max-liens property forces a break after a set number of lines"}, {name: "offset", syntax: "[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?", relevance: 50, browsers: ["E79", "FF72", "C55", "O42"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset"}], description: "The offset CSS property is a shorthand property for animating an element along a defined path."}, {name: "offset-anchor", syntax: "auto | <position>", relevance: 50, browsers: ["E79", "FF72", "C79"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}], description: "Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."}, {name: "offset-distance", syntax: "<length-percentage>", relevance: 50, browsers: ["E79", "FF72", "C55", "O42"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-distance"}], description: "The offset-distance CSS property specifies a position along an offset-path."}, {name: "offset-path", syntax: "none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]", relevance: 50, browsers: ["E79", "FF72", "C55", "O45"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-path"}], description: 'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'}, {name: "offset-position", status: "experimental", syntax: "auto | <position>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-position"}], description: "Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."}, {name: "offset-rotate", syntax: "[ auto | reverse ] || <angle>", relevance: 50, browsers: ["E79", "FF72", "C56", "O43"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}], description: "The offset-rotate CSS property defines the direction of the element while positioning along the offset path."}, {name: "overflow-anchor", syntax: "auto | none", relevance: 51, browsers: ["E79", "FF66", "C56", "O43"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}], description: "The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."}, {name: "overflow-block", syntax: "visible | hidden | clip | scroll | auto", relevance: 50, browsers: ["FF69"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-block"}], description: "The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."}, {name: "overflow-clip-box", status: "nonstandard", syntax: "padding-box | content-box", relevance: 0, browsers: ["FF29"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}], description: "The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."}, {name: "overflow-inline", syntax: "visible | hidden | clip | scroll | auto", relevance: 50, browsers: ["FF69"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}], description: "The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."}, {name: "overscroll-behavior", syntax: "[ contain | none | auto ]{1,2}", relevance: 50, browsers: ["E18", "FF59", "C63", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}], description: "The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."}, {name: "overscroll-behavior-block", syntax: "contain | none | auto", relevance: 50, browsers: ["E79", "FF73", "C77", "O64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}], description: "The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."}, {name: "overscroll-behavior-inline", syntax: "contain | none | auto", relevance: 50, browsers: ["E79", "FF73", "C77", "O64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}], description: "The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."}, {name: "overscroll-behavior-x", syntax: "contain | none | auto", relevance: 50, browsers: ["E18", "FF59", "C63", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}], description: "The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."}, {name: "overscroll-behavior-y", syntax: "contain | none | auto", relevance: 50, browsers: ["E18", "FF59", "C63", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}], description: "The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."}, {name: "padding-block", syntax: "<'padding-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-block"}], description: "The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."}, {name: "padding-inline", syntax: "<'padding-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-inline"}], description: "The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."}, {name: "place-content", syntax: "<'align-content'> <'justify-content'>?", relevance: 50, browsers: ["E79", "FF53", "S9", "C59", "O46"], description: "The place-content CSS shorthand property sets both the align-content and justify-content properties."}, {name: "place-items", syntax: "<'align-items'> <'justify-items'>?", relevance: 50, browsers: ["E79", "FF45", "S11", "C59", "O46"], description: "The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."}, {name: "place-self", syntax: "<'align-self'> <'justify-self'>?", relevance: 50, browsers: ["E79", "FF45", "C59", "O46"], description: "The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."}, {name: "rotate", syntax: "none | <angle> | [ x | y | z | <number>{3} ] && <angle>", relevance: 50, browsers: ["FF72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/rotate"}], description: "The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."}, {name: "row-gap", syntax: "normal | <length-percentage>", relevance: 50, browsers: ["E84", "FF63", "S10.1", "C84", "O70"], description: "The row-gap CSS property specifies the gutter between grid rows."}, {name: "ruby-merge", status: "experimental", syntax: "separate | collapse | auto", relevance: 50, description: "This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."}, {name: "scale", syntax: "none | <number>{1,3}", relevance: 50, browsers: ["FF72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scale"}], description: "The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."}, {name: "scrollbar-color", syntax: "auto | dark | light | <color>{2}", relevance: 50, browsers: ["FF64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}], description: "The scrollbar-color CSS property sets the color of the scrollbar track and thumb."}, {name: "scrollbar-width", syntax: "auto | thin | none", relevance: 50, browsers: ["FF64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}], description: "The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "}, {name: "scroll-margin", syntax: "<length>{1,4}", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}], description: "The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."}, {name: "scroll-margin-block", syntax: "<length>{1,2}", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}], description: "The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."}, {name: "scroll-margin-block-start", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}], description: "The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-block-end", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}], description: "The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-bottom", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}], description: "The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-inline", syntax: "<length>{1,2}", relevance: 50, browsers: ["FF68"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}], description: "The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."}, {name: "scroll-margin-inline-start", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}], description: "The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-inline-end", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}], description: "The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-left", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}], description: "The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-right", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}], description: "The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-top", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}], description: "The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."}, {name: "scroll-padding", syntax: "[ auto | <length-percentage> ]{1,4}", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}], description: "The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."}, {name: "scroll-padding-block", syntax: "[ auto | <length-percentage> ]{1,2}", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}], description: "The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."}, {name: "scroll-padding-block-start", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}], description: "The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-block-end", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}], description: "The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-bottom", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}], description: "The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-inline", syntax: "[ auto | <length-percentage> ]{1,2}", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}], description: "The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."}, {name: "scroll-padding-inline-start", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}], description: "The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-inline-end", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}], description: "The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-left", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}], description: "The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-right", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}], description: "The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-top", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}], description: "The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-snap-align", syntax: "[ none | start | end | center ]{1,2}", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}], description: "The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."}, {name: "scroll-snap-stop", syntax: "normal | always", relevance: 50, browsers: ["E79", "C75", "O62"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}], description: 'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'}, {name: "scroll-snap-type-x", status: "obsolete", syntax: "none | mandatory | proximity", relevance: 0, browsers: ["FF39", "S9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}], description: "The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."}, {name: "scroll-snap-type-y", status: "obsolete", syntax: "none | mandatory | proximity", relevance: 0, browsers: ["FF39"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}], description: "The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."}, {name: "text-combine-upright", syntax: "none | all | [ digits <integer>? ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}], description: "The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."}, {name: "text-decoration-skip", status: "experimental", syntax: "none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]", relevance: 52, browsers: ["S12.1", "C57", "O44"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}], description: "The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."}, {name: "text-decoration-skip-ink", syntax: "auto | all | none", relevance: 50, browsers: ["E79", "FF70", "C64", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}], description: "The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."}, {name: "text-decoration-thickness", syntax: "auto | from-font | <length> | <percentage> ", relevance: 50, browsers: ["FF70", "S12.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}], description: "The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."}, {name: "text-emphasis", syntax: "<'text-emphasis-style'> || <'text-emphasis-color'>", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}], description: "The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."}, {name: "text-emphasis-color", syntax: "<color>", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}], description: "The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."}, {name: "text-emphasis-position", syntax: "[ over | under ] && [ right | left ]", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}], description: "The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."}, {name: "text-emphasis-style", syntax: "none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}], description: "The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."}, {name: "text-size-adjust", status: "experimental", syntax: "none | auto | <percentage>", relevance: 56, browsers: ["E79", "C54", "O41"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}], description: "The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."}, {name: "text-underline-offset", syntax: "auto | <length> | <percentage> ", relevance: 50, browsers: ["FF70", "S12.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}], description: "The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."}, {name: "transform-box", syntax: "content-box | border-box | fill-box | stroke-box | view-box", relevance: 50, browsers: ["E79", "FF55", "S11", "C64", "O51"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform-box"}], description: "The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."}, {name: "translate", syntax: "none | <length-percentage> [ <length-percentage> <length>? ]?", relevance: 50, browsers: ["FF72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/translate"}], description: "The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."}, {name: "speak-as", syntax: "auto | bullets | numbers | words | spell-out | <counter-style-name>", relevance: 50, description: "The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."}, {name: "font-display", status: "experimental", syntax: "[ auto | block | swap | fallback | optional ]", relevance: 54, description: "The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."}, {name: "bleed", syntax: "auto | <length>", relevance: 50, description: "The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."}, {name: "marks", syntax: "none | [ crop || cross ]", relevance: 50, description: "The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."}, {name: "max-zoom", syntax: "auto | <number> | <percentage>", relevance: 50, description: "The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."}, {name: "min-zoom", syntax: "auto | <number> | <percentage>", relevance: 50, description: "The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."}, {name: "orientation", syntax: "auto | portrait | landscape", relevance: 50, description: "The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."}, {name: "user-zoom", syntax: "zoom | fixed", relevance: 50, description: "The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."}, {name: "viewport-fit", syntax: "auto | contain | cover", relevance: 50, description: "The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}], atDirectives: [{name: "@charset", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@charset"}], description: "Defines character set of the document."}, {name: "@counter-style", browsers: ["FF33"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@counter-style"}], description: "Defines a custom counter style."}, {name: "@font-face", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@font-face"}], description: "Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."}, {name: "@font-feature-values", browsers: ["FF34", "S9.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}], description: "Defines named values for the indices used to select alternate glyphs for a given font family."}, {name: "@import", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@import"}], description: "Includes content of another file."}, {name: "@keyframes", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@keyframes"}], description: "Defines set of animation key frames."}, {name: "@media", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@media"}], description: "Defines a stylesheet for a particular media type."}, {name: "@-moz-document", browsers: ["FF1.8"], description: "Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."}, {name: "@-moz-keyframes", browsers: ["FF5"], description: "Defines set of animation key frames."}, {name: "@-ms-viewport", browsers: ["E", "IE10"], description: "Specifies the size, zoom factor, and orientation of the viewport."}, {name: "@namespace", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@namespace"}], description: "Declares a prefix and associates it with a namespace name."}, {name: "@-o-keyframes", browsers: ["O12"], description: "Defines set of animation key frames."}, {name: "@-o-viewport", browsers: ["O11"], description: "Specifies the size, zoom factor, and orientation of the viewport."}, {name: "@page", browsers: ["E12", "FF19", "C2", "IE8", "O6"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@page"}], description: "Directive defines various page parameters."}, {name: "@supports", browsers: ["E12", "FF22", "S9", "C28", "O12.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@supports"}], description: "A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."}, {name: "@-webkit-keyframes", browsers: ["C", "S4"], description: "Defines set of animation key frames."}], pseudoClasses: [{name: ":active", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:active"}], description: "Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."}, {name: ":any-link", browsers: ["E79", "FF50", "S9", "C65", "O52"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:any-link"}], description: "Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."}, {name: ":checked", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:checked"}], description: "Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."}, {name: ":corner-present", browsers: ["C", "S5"], description: "Non-standard. Indicates whether or not a scrollbar corner is present."}, {name: ":decrement", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."}, {name: ":default", browsers: ["E79", "FF4", "S5", "C10", "O10"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:default"}], description: "Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."}, {name: ":disabled", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:disabled"}], description: "Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."}, {name: ":double-button", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."}, {name: ":empty", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:empty"}], description: "Represents an element that has no children at all."}, {name: ":enabled", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:enabled"}], description: "Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."}, {name: ":end", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."}, {name: ":first", browsers: ["E12", "S6", "C18", "IE8", "O9.2"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:first"}], description: "When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."}, {name: ":first-child", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:first-child"}], description: "Same as :nth-child(1). Represents an element that is the first child of some other element."}, {name: ":first-of-type", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}], description: "Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."}, {name: ":focus", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:focus"}], description: "Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."}, {name: ":fullscreen", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}], description: "Matches any element that has its fullscreen flag set."}, {name: ":future", browsers: ["C", "O16", "S6"], description: "Represents any element that is defined to occur entirely after a :current element."}, {name: ":horizontal", browsers: ["C", "S5"], description: "Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."}, {name: ":host", browsers: ["E79", "FF63", "S10", "C54", "O41"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:host"}], description: "When evaluated in the context of a shadow tree, matches the shadow tree’s host element."}, {name: ":host()", browsers: ["C35", "O22"], description: "When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."}, {name: ":host-context()", browsers: ["C35", "O22"], description: "Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."}, {name: ":hover", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:hover"}], description: "Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."}, {name: ":increment", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."}, {name: ":indeterminate", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}], description: "Applies to UI elements whose value is in an indeterminate state."}, {name: ":in-range", browsers: ["E13", "FF29", "S5.1", "C10", "O11"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:in-range"}], description: "Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."}, {name: ":invalid", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:invalid"}], description: "An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."}, {name: ":lang()", browsers: ["E", "C", "FF1", "IE8", "O8", "S3"], description: "Represents an element that is in language specified."}, {name: ":last-child", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:last-child"}], description: "Same as :nth-last-child(1). Represents an element that is the last child of some other element."}, {name: ":last-of-type", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}], description: "Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."}, {name: ":left", browsers: ["E12", "S5.1", "C6", "IE8", "O9.2"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:left"}], description: "When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."}, {name: ":link", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:link"}], description: "Applies to links that have not yet been visited."}, {name: ":matches()", browsers: ["S9"], description: "Takes a selector list as its argument. It represents an element that is represented by its argument."}, {name: ":-moz-any()", browsers: ["FF4"], description: "Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."}, {name: ":-moz-any-link", browsers: ["FF1"], description: "Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."}, {name: ":-moz-broken", browsers: ["FF3"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}], description: "Non-standard. Matches elements representing broken images."}, {name: ":-moz-drag-over", browsers: ["FF1"], description: "Non-standard. Matches elements when a drag-over event applies to it."}, {name: ":-moz-first-node", browsers: ["FF1"], description: "Non-standard. Represents an element that is the first child node of some other element."}, {name: ":-moz-focusring", browsers: ["FF4"], description: "Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."}, {name: ":-moz-full-screen", browsers: ["FF9"], description: "Matches any element that has its fullscreen flag set. Standardized as :fullscreen."}, {name: ":-moz-last-node", browsers: ["FF1"], description: "Non-standard. Represents an element that is the last child node of some other element."}, {name: ":-moz-loading", browsers: ["FF3"], description: "Non-standard. Matches elements, such as images, that haven’t started loading yet."}, {name: ":-moz-only-whitespace", browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}], description: "The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."}, {name: ":-moz-placeholder", browsers: ["FF4"], description: "Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."}, {name: ":-moz-submit-invalid", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}], description: "Non-standard. Represents any submit button when the contents of the associated form are not valid."}, {name: ":-moz-suppressed", browsers: ["FF3"], description: "Non-standard. Matches elements representing images that have been blocked from loading."}, {name: ":-moz-ui-invalid", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}], description: "Non-standard. Represents any validated form element whose value isn't valid "}, {name: ":-moz-ui-valid", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}], description: "Non-standard. Represents any validated form element whose value is valid "}, {name: ":-moz-user-disabled", browsers: ["FF3"], description: "Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."}, {name: ":-moz-window-inactive", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}], description: "Non-standard. Matches elements in an inactive window."}, {name: ":-ms-fullscreen", browsers: ["IE11"], description: "Matches any element that has its fullscreen flag set."}, {name: ":-ms-input-placeholder", browsers: ["IE10"], description: "Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."}, {name: ":-ms-keyboard-active", browsers: ["IE10"], description: "Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."}, {name: ":-ms-lang()", browsers: ["E", "IE10"], description: "Represents an element that is in the language specified. Accepts a comma separated list of language tokens."}, {name: ":no-button", browsers: ["C", "S5"], description: "Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."}, {name: ":not()", browsers: ["E", "C", "FF1", "IE9", "O9.5", "S2"], description: "The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."}, {name: ":nth-child()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."}, {name: ":nth-last-child()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."}, {name: ":nth-last-of-type()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."}, {name: ":nth-of-type()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."}, {name: ":only-child", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:only-child"}], description: "Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."}, {name: ":only-of-type", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}], description: "Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."}, {name: ":optional", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:optional"}], description: "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."}, {name: ":out-of-range", browsers: ["E13", "FF29", "S5.1", "C10", "O11"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}], description: "Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."}, {name: ":past", browsers: ["C", "O16", "S6"], description: "Represents any element that is defined to occur entirely prior to a :current element."}, {name: ":read-only", browsers: ["E13", "FF78", "S4", "C1", "O9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:read-only"}], description: "An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."}, {name: ":read-write", browsers: ["E13", "FF78", "S4", "C1", "O9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:read-write"}], description: "An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."}, {name: ":required", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:required"}], description: "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."}, {name: ":right", browsers: ["E12", "S5.1", "C6", "IE8", "O9.2"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:right"}], description: "When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."}, {name: ":root", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:root"}], description: "Represents an element that is the root of the document. In HTML 4, this is always the HTML element."}, {name: ":scope", browsers: ["E79", "FF32", "S7", "C27", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:scope"}], description: "Represents any element that is in the contextual reference element set."}, {name: ":single-button", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."}, {name: ":start", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."}, {name: ":target", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:target"}], description: "Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."}, {name: ":valid", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:valid"}], description: "An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."}, {name: ":vertical", browsers: ["C", "S5"], description: "Non-standard. Applies to any scrollbar pieces that have a vertical orientation."}, {name: ":visited", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:visited"}], description: "Applies once the link has been visited by the user."}, {name: ":-webkit-any()", browsers: ["C", "S5"], description: "Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."}, {name: ":-webkit-full-screen", browsers: ["C", "S6"], description: "Matches any element that has its fullscreen flag set. Standardized as :fullscreen."}, {name: ":window-inactive", browsers: ["C", "S3"], description: "Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."}, {name: ":blank", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:blank"}], description: "The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."}, {name: ":defined", status: "experimental", browsers: ["E79", "FF63", "S10", "C54", "O41"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:defined"}], description: "The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."}, {name: ":dir", browsers: ["FF49"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:dir"}], description: "The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."}, {name: ":focus-visible", status: "experimental", browsers: ["E79", "FF4", "C67", "O54"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}], description: "The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."}, {name: ":focus-within", status: "experimental", browsers: ["E79", "FF52", "S10.1", "C60", "O47"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:focus-within"}], description: "The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."}, {name: ":has", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:has"}], description: ":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."}, {name: ":is", status: "experimental", browsers: ["E79", "FF78", "S9", "C68", "O55"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:is"}], description: "The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."}, {name: ":placeholder-shown", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}], description: "The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."}, {name: ":where", status: "experimental", browsers: ["FF78", "C72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:where"}], description: "The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}], pseudoElements: [{name: "::after", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::after"}], description: "Represents a styleable child pseudo-element immediately after the originating element’s actual content."}, {name: "::backdrop", browsers: ["E12", "FF47", "C37", "IE11", "O24"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::backdrop"}], description: "Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."}, {name: "::before", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::before"}], description: "Represents a styleable child pseudo-element immediately before the originating element’s actual content."}, {name: "::content", browsers: ["C35", "O22"], description: "Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."}, {name: "::cue", browsers: ["E79", "FF55", "S6.1", "C26", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::cue"}]}, {name: "::cue()", browsers: ["C", "O16", "S6"]}, {name: "::cue-region", browsers: ["C", "O16", "S6"]}, {name: "::cue-region()", browsers: ["C", "O16", "S6"]}, {name: "::first-letter", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::first-letter"}], description: "Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."}, {name: "::first-line", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::first-line"}], description: "Describes the contents of the first formatted line of its originating element."}, {name: "::-moz-focus-inner", browsers: ["FF4"]}, {name: "::-moz-focus-outer", browsers: ["FF4"]}, {name: "::-moz-list-bullet", browsers: ["FF1"], description: "Used to style the bullet of a list element. Similar to the standardized ::marker."}, {name: "::-moz-list-number", browsers: ["FF1"], description: "Used to style the numbers of a list element. Similar to the standardized ::marker."}, {name: "::-moz-placeholder", browsers: ["FF19"], description: "Represents placeholder text in an input field"}, {name: "::-moz-progress-bar", browsers: ["FF9"], description: "Represents the bar portion of a progress bar."}, {name: "::-moz-selection", browsers: ["FF1"], description: "Represents the portion of a document that has been highlighted by the user."}, {name: "::-ms-backdrop", browsers: ["IE11"], description: "Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."}, {name: "::-ms-browse", browsers: ["E", "IE10"], description: "Represents the browse button of an input type=file control."}, {name: "::-ms-check", browsers: ["E", "IE10"], description: "Represents the check of a checkbox or radio button input control."}, {name: "::-ms-clear", browsers: ["E", "IE10"], description: "Represents the clear button of a text input control"}, {name: "::-ms-expand", browsers: ["E", "IE10"], description: "Represents the drop-down button of a select control."}, {name: "::-ms-fill", browsers: ["E", "IE10"], description: "Represents the bar portion of a progress bar."}, {name: "::-ms-fill-lower", browsers: ["E", "IE10"], description: "Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."}, {name: "::-ms-fill-upper", browsers: ["E", "IE10"], description: "Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."}, {name: "::-ms-reveal", browsers: ["E", "IE10"], description: "Represents the password reveal button of an input type=password control."}, {name: "::-ms-thumb", browsers: ["E", "IE10"], description: "Represents the portion of range input control (also known as a slider control) that the user drags."}, {name: "::-ms-ticks-after", browsers: ["E", "IE10"], description: "Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."}, {name: "::-ms-ticks-before", browsers: ["E", "IE10"], description: "Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."}, {name: "::-ms-tooltip", browsers: ["E", "IE10"], description: "Represents the tooltip of a slider (input type=range)."}, {name: "::-ms-track", browsers: ["E", "IE10"], description: "Represents the track of a slider."}, {name: "::-ms-value", browsers: ["E", "IE10"], description: "Represents the content of a text or password input control, or a select control."}, {name: "::selection", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::selection"}], description: "Represents the portion of a document that has been highlighted by the user."}, {name: "::shadow", browsers: ["C35", "O22"], description: "Matches the shadow root if an element has a shadow tree."}, {name: "::-webkit-file-upload-button", browsers: ["E79", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]}, {name: "::-webkit-inner-spin-button", browsers: ["E79", "S5", "C6", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]}, {name: "::-webkit-input-placeholder", browsers: ["C", "S4"]}, {name: "::-webkit-keygen-select", browsers: ["C", "O", "S6"]}, {name: "::-webkit-meter-bar", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]}, {name: "::-webkit-meter-even-less-good-value", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]}, {name: "::-webkit-meter-optimum-value", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]}, {name: "::-webkit-meter-suboptimum-value", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]}, {name: "::-webkit-outer-spin-button", browsers: ["S5", "C6"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]}, {name: "::-webkit-progress-bar", browsers: ["E79", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]}, {name: "::-webkit-progress-inner-element", browsers: ["E79", "S6.1", "C23", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]}, {name: "::-webkit-progress-value", browsers: ["E79", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]}, {name: "::-webkit-resizer", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-button", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-corner", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-thumb", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-track", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-track-piece", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-search-cancel-button", browsers: ["E79", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]}, {name: "::-webkit-search-decoration", browsers: ["C", "S4"]}, {name: "::-webkit-search-results-button", browsers: ["E79", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]}, {name: "::-webkit-search-results-decoration", browsers: ["C", "S4"]}, {name: "::-webkit-slider-runnable-track", browsers: ["C", "O", "S6"]}, {name: "::-webkit-slider-thumb", browsers: ["C", "O", "S6"]}, {name: "::-webkit-textfield-decoration-container", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-arrow", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-arrow-clipper", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-heading", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-message", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-text-block", browsers: ["C", "O", "S6"]}, {name: "::-moz-range-progress", status: "nonstandard", browsers: ["FF22"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}], description: 'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'}, {name: "::-moz-range-thumb", status: "nonstandard", browsers: ["FF21"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}], description: `The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input's track to alter its numerical value.`}, {name: "::-moz-range-track", status: "nonstandard", browsers: ["FF21"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}], description: 'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'}, {name: "::-webkit-progress-inner-value", status: "nonstandard", description: "The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."}, {name: "::grammar-error", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}], description: "The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."}, {name: "::marker", browsers: ["E80", "FF68", "S11.1", "C80"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::marker"}], description: "The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."}, {name: "::part", status: "experimental", browsers: ["E79", "FF72", "S13.1", "C73", "O60"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::part"}], description: "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."}, {name: "::placeholder", browsers: ["E12", "FF51", "S10.1", "C57", "O44"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::placeholder"}], description: "The ::placeholder CSS pseudo-element represents the placeholder text of a form element."}, {name: "::slotted", browsers: ["E79", "FF63", "S10", "C50", "O37"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::slotted"}], description: "The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."}, {name: "::spelling-error", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}], description: "The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]}, Dr = function() { + var Or = {version: 1.1, properties: [{name: "additive-symbols", browsers: ["FF33"], syntax: "[ <integer> && <symbol> ]#", relevance: 50, description: "@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.", restrictions: ["integer", "string", "image", "identifier"]}, {name: "align-content", values: [{name: "center", description: "Lines are packed toward the center of the flex container."}, {name: "flex-end", description: "Lines are packed toward the end of the flex container."}, {name: "flex-start", description: "Lines are packed toward the start of the flex container."}, {name: "space-around", description: "Lines are evenly distributed in the flex container, with half-size spaces on either end."}, {name: "space-between", description: "Lines are evenly distributed in the flex container."}, {name: "stretch", description: "Lines stretch to take up the remaining space."}], syntax: "normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>", relevance: 59, description: "Aligns a flex container\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.", restrictions: ["enum"]}, {name: "align-items", values: [{name: "baseline", description: "If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item\u2019s margin box is centered in the cross axis within the line."}, {name: "flex-end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "flex-start", description: "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}], syntax: "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]", relevance: 81, description: "Aligns flex items along the cross axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "justify-items", values: [{name: "auto"}, {name: "normal"}, {name: "end"}, {name: "start"}, {name: "flex-end", description: '"Flex items are packed toward the end of the line."'}, {name: "flex-start", description: '"Flex items are packed toward the start of the line."'}, {name: "self-end", description: "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."}, {name: "self-start", description: "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."}, {name: "center", description: "The items are packed flush to each other toward the center of the of the alignment container."}, {name: "left"}, {name: "right"}, {name: "baseline"}, {name: "first baseline"}, {name: "last baseline"}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}, {name: "save"}, {name: "unsave"}, {name: "legacy"}], syntax: "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]", relevance: 50, description: "Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis", restrictions: ["enum"]}, {name: "justify-self", browsers: ["E16", "FF45", "S10.1", "C57", "O44"], values: [{name: "auto"}, {name: "normal"}, {name: "end"}, {name: "start"}, {name: "flex-end", description: '"Flex items are packed toward the end of the line."'}, {name: "flex-start", description: '"Flex items are packed toward the start of the line."'}, {name: "self-end", description: "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."}, {name: "self-start", description: "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."}, {name: "center", description: "The items are packed flush to each other toward the center of the of the alignment container."}, {name: "left"}, {name: "right"}, {name: "baseline"}, {name: "first baseline"}, {name: "last baseline"}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}, {name: "save"}, {name: "unsave"}], syntax: "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]", relevance: 52, description: "Defines the way of justifying a box inside its container along the appropriate axis.", restrictions: ["enum"]}, {name: "align-self", values: [{name: "auto", description: "Computes to the value of 'align-items' on the element\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."}, {name: "baseline", description: "If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item\u2019s margin box is centered in the cross axis within the line."}, {name: "flex-end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "flex-start", description: "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}], syntax: "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>", relevance: 69, description: "Allows the default alignment along the cross axis to be overridden for individual flex items.", restrictions: ["enum"]}, {name: "all", browsers: ["E79", "FF27", "S9.1", "C37", "O24"], values: [], syntax: "initial | inherit | unset | revert", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/all"}], description: "Shorthand that resets all properties except 'direction' and 'unicode-bidi'.", restrictions: ["enum"]}, {name: "alt", browsers: ["S9"], values: [], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/alt"}], description: "Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.", restrictions: ["string", "enum"]}, {name: "animation", values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], syntax: "<single-animation>#", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation"}], description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "timing-function", "enum", "identifier", "number"]}, {name: "animation-delay", syntax: "<time>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-delay"}], description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "animation-direction", values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], syntax: "<single-animation-direction>#", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-direction"}], description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "animation-duration", syntax: "<time>#", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-duration"}], description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "animation-fill-mode", values: [{name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "none", description: "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}], syntax: "<single-animation-fill-mode>#", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}], description: "Defines what values are applied by the animation outside the time it is executing.", restrictions: ["enum"]}, {name: "animation-iteration-count", values: [{name: "infinite", description: "Causes the animation to repeat forever."}], syntax: "<single-animation-iteration-count>#", relevance: 59, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}], description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "animation-name", values: [{name: "none", description: "No animation is performed"}], syntax: "[ none | <keyframes-name> ]#", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-name"}], description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "animation-play-state", values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], syntax: "<single-animation-play-state>#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}], description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "animation-timing-function", syntax: "<timing-function>#", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}], description: "Describes how the animation will progress over one cycle of its duration.", restrictions: ["timing-function"]}, {name: "backface-visibility", values: [{name: "hidden", description: "Back side is hidden."}, {name: "visible", description: "Back side is visible."}], syntax: "visible | hidden", relevance: 59, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}], description: "Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.", restrictions: ["enum"]}, {name: "background", values: [{name: "fixed", description: "The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."}, {name: "local", description: "The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."}, {name: "none", description: "A value of 'none' counts as an image layer but draws nothing."}, {name: "scroll", description: "The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}], syntax: "[ <bg-layer> , ]* <final-bg-layer>", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background"}], description: "Shorthand property for setting most background properties at the same place in the style sheet.", restrictions: ["enum", "image", "color", "position", "length", "repeat", "percentage", "box"]}, {name: "background-attachment", values: [{name: "fixed", description: "The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."}, {name: "local", description: "The background is fixed with regard to the element\u2019s contents: if the element has a scrolling mechanism, the background scrolls with the element\u2019s contents."}, {name: "scroll", description: "The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element\u2019s border.)"}], syntax: "<attachment>#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-attachment"}], description: "Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').", restrictions: ["enum"]}, {name: "background-blend-mode", browsers: ["E79", "FF30", "S8", "C35", "O22"], values: [{name: "normal", description: "Default attribute which specifies no blending"}, {name: "multiply", description: "The source color is multiplied by the destination color and replaces the destination."}, {name: "screen", description: "Multiplies the complements of the backdrop and source color values, then complements the result."}, {name: "overlay", description: "Multiplies or screens the colors, depending on the backdrop color value."}, {name: "darken", description: "Selects the darker of the backdrop and source colors."}, {name: "lighten", description: "Selects the lighter of the backdrop and source colors."}, {name: "color-dodge", description: "Brightens the backdrop color to reflect the source color."}, {name: "color-burn", description: "Darkens the backdrop color to reflect the source color."}, {name: "hard-light", description: "Multiplies or screens the colors, depending on the source color value."}, {name: "soft-light", description: "Darkens or lightens the colors, depending on the source color value."}, {name: "difference", description: "Subtracts the darker of the two constituent colors from the lighter color.."}, {name: "exclusion", description: "Produces an effect similar to that of the Difference mode but lower in contrast."}, {name: "hue", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."}, {name: "saturation", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."}, {name: "color", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."}, {name: "luminosity", browsers: ["E79", "FF30", "S8", "C35", "O22"], description: "Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}], syntax: "<blend-mode>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}], description: "Defines the blending mode of each background layer.", restrictions: ["enum"]}, {name: "background-clip", syntax: "<box>#", relevance: 67, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-clip"}], description: "Determines the background painting area.", restrictions: ["box"]}, {name: "background-color", syntax: "<color>", relevance: 94, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-color"}], description: "Sets the background color of an element.", restrictions: ["color"]}, {name: "background-image", values: [{name: "none", description: "Counts as an image layer but draws nothing."}], syntax: "<bg-image>#", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-image"}], description: "Sets the background image(s) of an element.", restrictions: ["image", "enum"]}, {name: "background-origin", syntax: "<box>#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-origin"}], description: "For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).", restrictions: ["box"]}, {name: "background-position", syntax: "<bg-position>#", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-position"}], description: "Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.", restrictions: ["position", "length", "percentage"]}, {name: "background-position-x", values: [{name: "center", description: "Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."}, {name: "left", description: "Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."}, {name: "right", description: "Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}], status: "experimental", syntax: "[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-position-x"}], description: "If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.", restrictions: ["length", "percentage"]}, {name: "background-position-y", values: [{name: "bottom", description: "Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."}, {name: "center", description: "Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."}, {name: "top", description: "Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}], status: "experimental", syntax: "[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-position-y"}], description: "If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.", restrictions: ["length", "percentage"]}, {name: "background-repeat", values: [], syntax: "<repeat-style>#", relevance: 85, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-repeat"}], description: "Specifies how background images are tiled after they have been sized and positioned.", restrictions: ["repeat"]}, {name: "background-size", values: [{name: "auto", description: "Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."}, {name: "contain", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."}, {name: "cover", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}], syntax: "<bg-size>#", relevance: 85, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/background-size"}], description: "Specifies the size of the background images.", restrictions: ["length", "percentage"]}, {name: "behavior", browsers: ["IE6"], relevance: 50, description: "IE only. Used to extend behaviors of the browser.", restrictions: ["url"]}, {name: "block-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], values: [{name: "auto", description: "Depends on the values of other properties."}], syntax: "<'width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/block-size"}], description: "Logical 'width'. Mapping depends on the element\u2019s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "border", syntax: "<line-width> || <line-style> || <color>", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border"}], description: "Shorthand property for setting border width, style, and color.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-block-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end"}], description: "Logical 'border-bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-block-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start"}], description: "Logical 'border-top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-block-end-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}], description: "Logical 'border-bottom-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-block-start-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}], description: "Logical 'border-top-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-block-end-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}], description: "Logical 'border-bottom-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-block-start-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}], description: "Logical 'border-top-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-block-end-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}], description: "Logical 'border-bottom-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-block-start-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}], description: "Logical 'border-top-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-bottom", syntax: "<line-width> || <line-style> || <color>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom"}], description: "Shorthand property for setting border width, style and color.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-bottom-color", syntax: "<'border-top-color'>", relevance: 71, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}], description: "Sets the color of the bottom border.", restrictions: ["color"]}, {name: "border-bottom-left-radius", syntax: "<length-percentage>{1,2}", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}], description: "Defines the radii of the bottom left outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-bottom-right-radius", syntax: "<length-percentage>{1,2}", relevance: 73, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}], description: "Defines the radii of the bottom right outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-bottom-style", syntax: "<line-style>", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}], description: "Sets the style of the bottom border.", restrictions: ["line-style"]}, {name: "border-bottom-width", syntax: "<line-width>", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}], description: "Sets the thickness of the bottom border.", restrictions: ["length", "line-width"]}, {name: "border-collapse", values: [{name: "collapse", description: "Selects the collapsing borders model."}, {name: "separate", description: "Selects the separated borders border model."}], syntax: "collapse | separate", relevance: 75, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-collapse"}], description: "Selects a table's border model.", restrictions: ["enum"]}, {name: "border-color", values: [], syntax: "<color>{1,4}", relevance: 86, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-color"}], description: "The color of the border around all four edges of an element.", restrictions: ["color"]}, {name: "border-image", values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none", description: "Use the border styles."}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}, {name: "url()"}], syntax: "<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image"}], description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "url", "enum"]}, {name: "border-image-outset", syntax: "[ <length> | <number> ]{1,4}", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}], description: "The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.", restrictions: ["length", "number"]}, {name: "border-image-repeat", values: [{name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}], syntax: "[ stretch | repeat | round | space ]{1,2}", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}], description: "Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.", restrictions: ["enum"]}, {name: "border-image-slice", values: [{name: "fill", description: "Causes the middle part of the border-image to be preserved."}], syntax: "<number-percentage>{1,4} && fill?", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}], description: "Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.", restrictions: ["number", "percentage"]}, {name: "border-image-source", values: [{name: "none", description: "Use the border styles."}], syntax: "none | <image>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-source"}], description: "Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.", restrictions: ["image"]}, {name: "border-image-width", values: [{name: "auto", description: "The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}], syntax: "[ <length-percentage> | <number> | auto ]{1,4}", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-image-width"}], description: "The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.", restrictions: ["length", "percentage", "number"]}, {name: "border-inline-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}], description: "Logical 'border-right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-inline-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}], description: "Logical 'border-left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-inline-end-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}], description: "Logical 'border-right-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-inline-start-color", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-color'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}], description: "Logical 'border-left-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["color"]}, {name: "border-inline-end-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}], description: "Logical 'border-right-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-inline-start-style", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}], description: "Logical 'border-left-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["line-style"]}, {name: "border-inline-end-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}], description: "Logical 'border-right-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-inline-start-width", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'border-top-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}], description: "Logical 'border-left-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "line-width"]}, {name: "border-left", syntax: "<line-width> || <line-style> || <color>", relevance: 82, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left"}], description: "Shorthand property for setting border width, style and color", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-left-color", syntax: "<color>", relevance: 65, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left-color"}], description: "Sets the color of the left border.", restrictions: ["color"]}, {name: "border-left-style", syntax: "<line-style>", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left-style"}], description: "Sets the style of the left border.", restrictions: ["line-style"]}, {name: "border-left-width", syntax: "<line-width>", relevance: 58, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-left-width"}], description: "Sets the thickness of the left border.", restrictions: ["length", "line-width"]}, {name: "border-radius", syntax: "<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-radius"}], description: "Defines the radii of the outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-right", syntax: "<line-width> || <line-style> || <color>", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right"}], description: "Shorthand property for setting border width, style and color", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-right-color", syntax: "<color>", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right-color"}], description: "Sets the color of the right border.", restrictions: ["color"]}, {name: "border-right-style", syntax: "<line-style>", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right-style"}], description: "Sets the style of the right border.", restrictions: ["line-style"]}, {name: "border-right-width", syntax: "<line-width>", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-right-width"}], description: "Sets the thickness of the right border.", restrictions: ["length", "line-width"]}, {name: "border-spacing", syntax: "<length> <length>?", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-spacing"}], description: "The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.", restrictions: ["length"]}, {name: "border-style", values: [], syntax: "<line-style>{1,4}", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-style"}], description: "The style of the border around edges of an element.", restrictions: ["line-style"]}, {name: "border-top", syntax: "<line-width> || <line-style> || <color>", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top"}], description: "Shorthand property for setting border width, style and color", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "border-top-color", syntax: "<color>", relevance: 71, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-color"}], description: "Sets the color of the top border.", restrictions: ["color"]}, {name: "border-top-left-radius", syntax: "<length-percentage>{1,2}", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}], description: "Defines the radii of the top left outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-top-right-radius", syntax: "<length-percentage>{1,2}", relevance: 72, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}], description: "Defines the radii of the top right outer border edge.", restrictions: ["length", "percentage"]}, {name: "border-top-style", syntax: "<line-style>", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-style"}], description: "Sets the style of the top border.", restrictions: ["line-style"]}, {name: "border-top-width", syntax: "<line-width>", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-top-width"}], description: "Sets the thickness of the top border.", restrictions: ["length", "line-width"]}, {name: "border-width", values: [], syntax: "<line-width>{1,4}", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-width"}], description: "Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.", restrictions: ["length", "line-width"]}, {name: "bottom", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/bottom"}], description: "Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "box-decoration-break", browsers: ["E79", "FF32", "S6.1", "C22", "O15"], values: [{name: "clone", description: "Each box is independently wrapped with the border and padding."}, {name: "slice", description: "The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}], syntax: "slice | clone", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}], description: "Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.", restrictions: ["enum"]}, {name: "box-shadow", values: [{name: "inset", description: "Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."}, {name: "none", description: "No shadow."}], syntax: "none | <shadow>#", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-shadow"}], description: "Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.", restrictions: ["length", "color", "enum"]}, {name: "box-sizing", values: [{name: "border-box", description: "The specified width and height (and respective min/max properties) on this element determine the border box of the element."}, {name: "content-box", description: "Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}], syntax: "content-box | border-box", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-sizing"}], description: "Specifies the behavior of the 'width' and 'height' properties.", restrictions: ["enum"]}, {name: "break-after", values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the principal box."}, {name: "avoid", description: "Avoid a break before/after the principal box."}, {name: "avoid-column", description: "Avoid a column break before/after the principal box."}, {name: "avoid-page", description: "Avoid a page break before/after the principal box."}, {name: "column", description: "Always force a column break before/after the principal box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the principal box."}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], syntax: "auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region", relevance: 50, description: "Describes the page/column/region break behavior after the generated box.", restrictions: ["enum"]}, {name: "break-before", values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the principal box."}, {name: "avoid", description: "Avoid a break before/after the principal box."}, {name: "avoid-column", description: "Avoid a column break before/after the principal box."}, {name: "avoid-page", description: "Avoid a page break before/after the principal box."}, {name: "column", description: "Always force a column break before/after the principal box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the principal box."}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], syntax: "auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region", relevance: 50, description: "Describes the page/column/region break behavior before the generated box.", restrictions: ["enum"]}, {name: "break-inside", values: [{name: "auto", description: "Impose no additional breaking constraints within the box."}, {name: "avoid", description: "Avoid breaks within the box."}, {name: "avoid-column", description: "Avoid a column break within the box."}, {name: "avoid-page", description: "Avoid a page break within the box."}], syntax: "auto | avoid | avoid-page | avoid-column | avoid-region", relevance: 50, description: "Describes the page/column/region break behavior inside the principal box.", restrictions: ["enum"]}, {name: "caption-side", values: [{name: "bottom", description: "Positions the caption box below the table box."}, {name: "top", description: "Positions the caption box above the table box."}], syntax: "top | bottom | block-start | block-end | inline-start | inline-end", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/caption-side"}], description: "Specifies the position of the caption box with respect to the table box.", restrictions: ["enum"]}, {name: "caret-color", browsers: ["E79", "FF53", "S11.1", "C57", "O44"], values: [{name: "auto", description: "The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}], syntax: "auto | <color>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/caret-color"}], description: "Controls the color of the text insertion indicator.", restrictions: ["color", "enum"]}, {name: "clear", values: [{name: "both", description: "The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."}, {name: "left", description: "The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."}, {name: "none", description: "No constraint on the box's position with respect to floats."}, {name: "right", description: "The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}], syntax: "none | left | right | both | inline-start | inline-end", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/clear"}], description: "Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.", restrictions: ["enum"]}, {name: "clip", values: [{name: "auto", description: "The element does not clip."}, {name: "rect()", description: "Specifies offsets from the edges of the border box."}], syntax: "<shape> | auto", relevance: 73, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/clip"}], description: "Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element\u2019s box.", restrictions: ["enum"]}, {name: "clip-path", values: [{name: "none", description: "No clipping path gets created."}, {name: "url()", description: "References a <clipPath> element to create a clipping path."}], syntax: "<clip-source> | [ <basic-shape> || <geometry-box> ] | none", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/clip-path"}], description: "Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.", restrictions: ["url", "shape", "geometry-box", "enum"]}, {name: "clip-rule", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], values: [{name: "evenodd", description: "Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."}, {name: "nonzero", description: "Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}], relevance: 50, description: "Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.", restrictions: ["enum"]}, {name: "color", syntax: "<color>", relevance: 94, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/color"}], description: "Sets the color of an element's text", restrictions: ["color"]}, {name: "color-interpolation-filters", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], values: [{name: "auto", description: "Color operations are not required to occur in a particular color space."}, {name: "linearRGB", description: "Color operations should occur in the linearized RGB color space."}, {name: "sRGB", description: "Color operations should occur in the sRGB color space."}], relevance: 50, description: "Specifies the color space for imaging operations performed via filter effects.", restrictions: ["enum"]}, {name: "column-count", values: [{name: "auto", description: "Determines the number of columns by the 'column-width' property and the element width."}], syntax: "<integer> | auto", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-count"}], description: "Describes the optimal number of columns into which the content of the element will be flowed.", restrictions: ["integer", "enum"]}, {name: "column-fill", values: [{name: "auto", description: "Fills columns sequentially."}, {name: "balance", description: "Balance content equally between columns, if possible."}], syntax: "auto | balance | balance-all", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-fill"}], description: "In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.", restrictions: ["enum"]}, {name: "column-gap", values: [{name: "normal", description: "User agent specific and typically equivalent to 1em."}], syntax: "normal | <length-percentage>", relevance: 52, description: "Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.", restrictions: ["length", "enum"]}, {name: "column-rule", syntax: "<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule"}], description: "Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "column-rule-color", syntax: "<color>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}], description: "Sets the color of the column rule", restrictions: ["color"]}, {name: "column-rule-style", syntax: "<'border-style'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}], description: "Sets the style of the rule between columns of an element.", restrictions: ["line-style"]}, {name: "column-rule-width", syntax: "<'border-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}], description: "Sets the width of the rule between columns. Negative values are not allowed.", restrictions: ["length", "line-width"]}, {name: "columns", values: [{name: "auto", description: "The width depends on the values of other properties."}], syntax: "<'column-width'> || <'column-count'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/columns"}], description: "A shorthand property which sets both 'column-width' and 'column-count'.", restrictions: ["length", "integer", "enum"]}, {name: "column-span", values: [{name: "all", description: "The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."}, {name: "none", description: "The element does not span multiple columns."}], syntax: "none | all", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-span"}], description: "Describes the page/column break behavior after the generated box.", restrictions: ["enum"]}, {name: "column-width", values: [{name: "auto", description: "The width depends on the values of other properties."}], syntax: "<length> | auto", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/column-width"}], description: "Describes the width of columns in multicol elements.", restrictions: ["length", "enum"]}, {name: "contain", browsers: ["E79", "FF69", "C52", "O40"], values: [{name: "none", description: "Indicates that the property has no effect."}, {name: "strict", description: "Turns on all forms of containment for the element."}, {name: "content", description: "All containment rules except size are applied to the element."}, {name: "size", description: "For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."}, {name: "layout", description: "Turns on layout containment for the element."}, {name: "style", description: "Turns on style containment for the element."}, {name: "paint", description: "Turns on paint containment for the element."}], syntax: "none | strict | content | [ size || layout || style || paint ]", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/contain"}], description: "Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.", restrictions: ["enum"]}, {name: "content", values: [{name: "attr()", description: "The attr(n) function returns as a string the value of attribute n for the subject of the selector."}, {name: "counter(name)", description: "Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."}, {name: "icon", description: "The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."}, {name: "none", description: "On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."}, {name: "normal", description: "See http://www.w3.org/TR/css3-content/#content for computation rules."}, {name: "url()"}], syntax: "normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/content"}], description: "Determines which page-based occurrence of a given element is applied to a counter or string value.", restrictions: ["string", "url"]}, {name: "counter-increment", values: [{name: "none", description: "This element does not alter the value of any counters."}], syntax: "[ <custom-ident> <integer>? ]+ | none", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/counter-increment"}], description: "Manipulate the value of existing counters.", restrictions: ["identifier", "integer"]}, {name: "counter-reset", values: [{name: "none", description: "The counter is not modified."}], syntax: "[ <custom-ident> <integer>? ]+ | none", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/counter-reset"}], description: "Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.", restrictions: ["identifier", "integer"]}, {name: "cursor", values: [{name: "alias", description: "Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."}, {name: "all-scroll", description: "Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."}, {name: "auto", description: "The UA determines the cursor to display based on the current context."}, {name: "cell", description: "Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."}, {name: "col-resize", description: "Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."}, {name: "context-menu", description: "A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."}, {name: "copy", description: "Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."}, {name: "crosshair", description: "A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."}, {name: "default", description: "The platform-dependent default cursor. Often rendered as an arrow."}, {name: "e-resize", description: "Indicates that east edge is to be moved."}, {name: "ew-resize", description: "Indicates a bidirectional east-west resize cursor."}, {name: "grab", description: "Indicates that something can be grabbed."}, {name: "grabbing", description: "Indicates that something is being grabbed."}, {name: "help", description: "Help is available for the object under the cursor. Often rendered as a question mark or a balloon."}, {name: "move", description: "Indicates something is to be moved."}, {name: "-moz-grab", description: "Indicates that something can be grabbed."}, {name: "-moz-grabbing", description: "Indicates that something is being grabbed."}, {name: "-moz-zoom-in", description: "Indicates that something can be zoomed (magnified) in."}, {name: "-moz-zoom-out", description: "Indicates that something can be zoomed (magnified) out."}, {name: "ne-resize", description: "Indicates that movement starts from north-east corner."}, {name: "nesw-resize", description: "Indicates a bidirectional north-east/south-west cursor."}, {name: "no-drop", description: "Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."}, {name: "none", description: "No cursor is rendered for the element."}, {name: "not-allowed", description: "Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."}, {name: "n-resize", description: "Indicates that north edge is to be moved."}, {name: "ns-resize", description: "Indicates a bidirectional north-south cursor."}, {name: "nw-resize", description: "Indicates that movement starts from north-west corner."}, {name: "nwse-resize", description: "Indicates a bidirectional north-west/south-east cursor."}, {name: "pointer", description: "The cursor is a pointer that indicates a link."}, {name: "progress", description: "A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."}, {name: "row-resize", description: "Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."}, {name: "se-resize", description: "Indicates that movement starts from south-east corner."}, {name: "s-resize", description: "Indicates that south edge is to be moved."}, {name: "sw-resize", description: "Indicates that movement starts from south-west corner."}, {name: "text", description: "Indicates text that may be selected. Often rendered as a vertical I-beam."}, {name: "vertical-text", description: "Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."}, {name: "wait", description: "Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."}, {name: "-webkit-grab", description: "Indicates that something can be grabbed."}, {name: "-webkit-grabbing", description: "Indicates that something is being grabbed."}, {name: "-webkit-zoom-in", description: "Indicates that something can be zoomed (magnified) in."}, {name: "-webkit-zoom-out", description: "Indicates that something can be zoomed (magnified) out."}, {name: "w-resize", description: "Indicates that west edge is to be moved."}, {name: "zoom-in", description: "Indicates that something can be zoomed (magnified) in."}, {name: "zoom-out", description: "Indicates that something can be zoomed (magnified) out."}], syntax: "[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/cursor"}], description: "Allows control over cursor appearance in an element", restrictions: ["url", "number", "enum"]}, {name: "direction", values: [{name: "ltr", description: "Left-to-right direction."}, {name: "rtl", description: "Right-to-left direction."}], syntax: "ltr | rtl", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/direction"}], description: "Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.", restrictions: ["enum"]}, {name: "display", values: [{name: "block", description: "The element generates a block-level box"}, {name: "contents", description: "The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."}, {name: "flex", description: "The element generates a principal flex container box and establishes a flex formatting context."}, {name: "flexbox", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "flow-root", description: "The element generates a block container box, and lays out its contents using flow layout."}, {name: "grid", description: "The element generates a principal grid container box, and establishes a grid formatting context."}, {name: "inline", description: "The element generates an inline-level box."}, {name: "inline-block", description: "A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."}, {name: "inline-flex", description: "Inline-level flex container."}, {name: "inline-flexbox", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "inline-table", description: "Inline-level table wrapper box containing table box."}, {name: "list-item", description: "One or more block boxes and one marker box."}, {name: "-moz-box", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "-moz-deck"}, {name: "-moz-grid"}, {name: "-moz-grid-group"}, {name: "-moz-grid-line"}, {name: "-moz-groupbox"}, {name: "-moz-inline-box", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "-moz-inline-grid"}, {name: "-moz-inline-stack"}, {name: "-moz-marker"}, {name: "-moz-popup"}, {name: "-moz-stack"}, {name: "-ms-flexbox", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "-ms-grid", description: "The element generates a principal grid container box, and establishes a grid formatting context."}, {name: "-ms-inline-flexbox", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "-ms-inline-grid", description: "Inline-level grid container."}, {name: "none", description: "The element and its descendants generates no boxes."}, {name: "ruby", description: "The element generates a principal ruby container box, and establishes a ruby formatting context."}, {name: "ruby-base"}, {name: "ruby-base-container"}, {name: "ruby-text"}, {name: "ruby-text-container"}, {name: "run-in", description: "The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."}, {name: "table", description: "The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."}, {name: "table-caption"}, {name: "table-cell"}, {name: "table-column"}, {name: "table-column-group"}, {name: "table-footer-group"}, {name: "table-header-group"}, {name: "table-row"}, {name: "table-row-group"}, {name: "-webkit-box", description: "The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."}, {name: "-webkit-flex", description: "The element lays out its contents using flow layout (block-and-inline layout)."}, {name: "-webkit-inline-box", description: "Inline-level flex container. Standardized as 'inline-flex'"}, {name: "-webkit-inline-flex", description: "Inline-level flex container."}], syntax: "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/display"}], description: "In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.", restrictions: ["enum"]}, {name: "empty-cells", values: [{name: "hide", description: "No borders or backgrounds are drawn around/behind empty cells."}, {name: "-moz-show-background"}, {name: "show", description: "Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}], syntax: "show | hide", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/empty-cells"}], description: "In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.", restrictions: ["enum"]}, {name: "enable-background", values: [{name: "accumulate", description: "If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."}, {name: "new", description: "Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}], relevance: 50, description: "Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.", restrictions: ["integer", "length", "percentage", "enum"]}, {name: "fallback", browsers: ["FF33"], syntax: "<counter-style-name>", relevance: 50, description: "@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can\u2019t create a representation for a given counter value.", restrictions: ["identifier"]}, {name: "fill", values: [{name: "url()", description: "A URL reference to a paint server element, which is an element that defines a paint server: \u2018hatch\u2019, \u2018linearGradient\u2019, \u2018mesh\u2019, \u2018pattern\u2019, \u2018radialGradient\u2019 and \u2018solidcolor\u2019."}, {name: "none", description: "No paint is applied in this layer."}], relevance: 74, description: "Paints the interior of the given graphical element.", restrictions: ["color", "enum", "url"]}, {name: "fill-opacity", relevance: 52, description: "Specifies the opacity of the painting operation used to paint the interior the current object.", restrictions: ["number(0-1)"]}, {name: "fill-rule", values: [{name: "evenodd", description: "Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."}, {name: "nonzero", description: "Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}], relevance: 50, description: "Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.", restrictions: ["enum"]}, {name: "filter", browsers: ["E12", "FF35", "S9.1", "C53", "O40"], values: [{name: "none", description: "No filter effects are applied."}, {name: "blur()", description: "Applies a Gaussian blur to the input image."}, {name: "brightness()", description: "Applies a linear multiplier to input image, making it appear more or less bright."}, {name: "contrast()", description: "Adjusts the contrast of the input."}, {name: "drop-shadow()", description: "Applies a drop shadow effect to the input image."}, {name: "grayscale()", description: "Converts the input image to grayscale."}, {name: "hue-rotate()", description: "Applies a hue rotation on the input image. "}, {name: "invert()", description: "Inverts the samples in the input image."}, {name: "opacity()", description: "Applies transparency to the samples in the input image."}, {name: "saturate()", description: "Saturates the input image."}, {name: "sepia()", description: "Converts the input image to sepia."}, {name: "url()", browsers: ["E12", "FF35", "S9.1", "C53", "O40"], description: "A filter reference to a <filter> element."}], syntax: "none | <filter-function-list>", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/filter"}], description: "Processes an element\u2019s rendering before it is displayed in the document, by applying one or more filter effects.", restrictions: ["enum", "url"]}, {name: "flex", values: [{name: "auto", description: "Retrieves the value of the main size property as the used 'flex-basis'."}, {name: "content", description: "Indicates automatic sizing, based on the flex item\u2019s content."}, {name: "none", description: "Expands to '0 0 auto'."}], syntax: "none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]", relevance: 77, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex"}], description: "Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.", restrictions: ["length", "number", "percentage"]}, {name: "flex-basis", values: [{name: "auto", description: "Retrieves the value of the main size property as the used 'flex-basis'."}, {name: "content", description: "Indicates automatic sizing, based on the flex item\u2019s content."}], syntax: "content | <'width'>", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-basis"}], description: "Sets the flex basis.", restrictions: ["length", "number", "percentage"]}, {name: "flex-direction", values: [{name: "column", description: "The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "row", description: "The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "row-reverse", description: "Same as 'row', except the main-start and main-end directions are swapped."}], syntax: "row | row-reverse | column | column-reverse", relevance: 78, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-direction"}], description: "Specifies how flex items are placed in the flex container, by setting the direction of the flex container\u2019s main axis.", restrictions: ["enum"]}, {name: "flex-flow", values: [{name: "column", description: "The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "nowrap", description: "The flex container is single-line."}, {name: "row", description: "The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "row-reverse", description: "Same as 'row', except the main-start and main-end directions are swapped."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], syntax: "<'flex-direction'> || <'flex-wrap'>", relevance: 58, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-flow"}], description: "Specifies how flexbox items are placed in the flexbox.", restrictions: ["enum"]}, {name: "flex-grow", syntax: "<number>", relevance: 71, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-grow"}], description: "Sets the flex grow factor. Negative numbers are invalid.", restrictions: ["number"]}, {name: "flex-shrink", syntax: "<number>", relevance: 69, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}], description: "Sets the flex shrink factor. Negative numbers are invalid.", restrictions: ["number"]}, {name: "flex-wrap", values: [{name: "nowrap", description: "The flex container is single-line."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], syntax: "nowrap | wrap | wrap-reverse", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}], description: "Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.", restrictions: ["enum"]}, {name: "float", values: [{name: "inline-end", description: "A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."}, {name: "inline-start", description: "A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."}, {name: "left", description: "The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."}, {name: "none", description: "The box is not floated."}, {name: "right", description: "Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}], syntax: "left | right | none | inline-start | inline-end", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/float"}], description: "Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.", restrictions: ["enum"]}, {name: "flood-color", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], relevance: 50, description: "Indicates what color to use to flood the current filter primitive subregion.", restrictions: ["color"]}, {name: "flood-opacity", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], relevance: 50, description: "Indicates what opacity to use to flood the current filter primitive subregion.", restrictions: ["number(0-1)", "percentage"]}, {name: "font", values: [{name: "100", description: "Thin"}, {name: "200", description: "Extra Light (Ultra Light)"}, {name: "300", description: "Light"}, {name: "400", description: "Normal"}, {name: "500", description: "Medium"}, {name: "600", description: "Semi Bold (Demi Bold)"}, {name: "700", description: "Bold"}, {name: "800", description: "Extra Bold (Ultra Bold)"}, {name: "900", description: "Black (Heavy)"}, {name: "bold", description: "Same as 700"}, {name: "bolder", description: "Specifies the weight of the face bolder than the inherited value."}, {name: "caption", description: "The font used for captioned controls (e.g., buttons, drop-downs, etc.)."}, {name: "icon", description: "The font used to label icons."}, {name: "italic", description: "Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."}, {name: "large"}, {name: "larger"}, {name: "lighter", description: "Specifies the weight of the face lighter than the inherited value."}, {name: "medium"}, {name: "menu", description: "The font used in menus (e.g., dropdown menus and menu lists)."}, {name: "message-box", description: "The font used in dialog boxes."}, {name: "normal", description: "Specifies a face that is not labeled as a small-caps font."}, {name: "oblique", description: "Selects a font that is labeled 'oblique'."}, {name: "small"}, {name: "small-caps", description: "Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}, {name: "small-caption", description: "The font used for labeling small controls."}, {name: "smaller"}, {name: "status-bar", description: "The font used in window status bars."}, {name: "x-large"}, {name: "x-small"}, {name: "xx-large"}, {name: "xx-small"}], syntax: "[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar", relevance: 82, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font"}], description: "Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.", restrictions: ["font"]}, {name: "font-family", values: [{name: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"}, {name: "Arial, Helvetica, sans-serif"}, {name: "Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"}, {name: "'Courier New', Courier, monospace"}, {name: "cursive"}, {name: "fantasy"}, {name: "'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"}, {name: "Georgia, 'Times New Roman', Times, serif"}, {name: "'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"}, {name: "Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"}, {name: "'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"}, {name: "monospace"}, {name: "sans-serif"}, {name: "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"}, {name: "serif"}, {name: "'Times New Roman', Times, serif"}, {name: "'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"}, {name: "Verdana, Geneva, Tahoma, sans-serif"}], syntax: "<family-name>", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-family"}], description: "Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.", restrictions: ["font"]}, {name: "font-feature-settings", values: [{name: '"aalt"', description: "Access All Alternates."}, {name: '"abvf"', description: "Above-base Forms. Required in Khmer script."}, {name: '"abvm"', description: "Above-base Mark Positioning. Required in Indic scripts."}, {name: '"abvs"', description: "Above-base Substitutions. Required in Indic scripts."}, {name: '"afrc"', description: "Alternative Fractions."}, {name: '"akhn"', description: "Akhand. Required in most Indic scripts."}, {name: '"blwf"', description: "Below-base Form. Required in a number of Indic scripts."}, {name: '"blwm"', description: "Below-base Mark Positioning. Required in Indic scripts."}, {name: '"blws"', description: "Below-base Substitutions. Required in Indic scripts."}, {name: '"calt"', description: "Contextual Alternates."}, {name: '"case"', description: "Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."}, {name: '"ccmp"', description: "Glyph Composition/Decomposition."}, {name: '"cfar"', description: "Conjunct Form After Ro. Required in Khmer scripts."}, {name: '"cjct"', description: "Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."}, {name: '"clig"', description: "Contextual Ligatures."}, {name: '"cpct"', description: "Centered CJK Punctuation. Used primarily in Chinese fonts."}, {name: '"cpsp"', description: "Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."}, {name: '"cswh"', description: "Contextual Swash."}, {name: '"curs"', description: "Cursive Positioning. Can be used in any cursive script."}, {name: '"c2pc"', description: "Petite Capitals From Capitals. Applies only to bicameral scripts."}, {name: '"c2sc"', description: "Small Capitals From Capitals. Applies only to bicameral scripts."}, {name: '"dist"', description: "Distances. Required in Indic scripts."}, {name: '"dlig"', description: "Discretionary ligatures."}, {name: '"dnom"', description: "Denominators."}, {name: '"dtls"', description: "Dotless Forms. Applied to math formula layout."}, {name: '"expt"', description: "Expert Forms. Applies only to Japanese."}, {name: '"falt"', description: "Final Glyph on Line Alternates. Can be used in any cursive script."}, {name: '"fin2"', description: "Terminal Form #2. Used only with the Syriac script."}, {name: '"fin3"', description: "Terminal Form #3. Used only with the Syriac script."}, {name: '"fina"', description: "Terminal Forms. Can be used in any alphabetic script."}, {name: '"flac"', description: "Flattened ascent forms. Applied to math formula layout."}, {name: '"frac"', description: "Fractions."}, {name: '"fwid"', description: "Full Widths. Applies to any script which can use monospaced forms."}, {name: '"half"', description: "Half Forms. Required in Indic scripts that show similarity to Devanagari."}, {name: '"haln"', description: "Halant Forms. Required in Indic scripts."}, {name: '"halt"', description: "Alternate Half Widths. Used only in CJKV fonts."}, {name: '"hist"', description: "Historical Forms."}, {name: '"hkna"', description: "Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."}, {name: '"hlig"', description: "Historical Ligatures."}, {name: '"hngl"', description: "Hangul. Korean only."}, {name: '"hojo"', description: "Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."}, {name: '"hwid"', description: "Half Widths. Generally used only in CJKV fonts."}, {name: '"init"', description: "Initial Forms. Can be used in any alphabetic script."}, {name: '"isol"', description: "Isolated Forms. Can be used in any cursive script."}, {name: '"ital"', description: "Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."}, {name: '"jalt"', description: "Justification Alternates. Can be used in any cursive script."}, {name: '"jp78"', description: "JIS78 Forms. Applies only to Japanese."}, {name: '"jp83"', description: "JIS83 Forms. Applies only to Japanese."}, {name: '"jp90"', description: "JIS90 Forms. Applies only to Japanese."}, {name: '"jp04"', description: "JIS2004 Forms. Applies only to Japanese."}, {name: '"kern"', description: "Kerning."}, {name: '"lfbd"', description: "Left Bounds."}, {name: '"liga"', description: "Standard Ligatures."}, {name: '"ljmo"', description: "Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."}, {name: '"lnum"', description: "Lining Figures."}, {name: '"locl"', description: "Localized Forms."}, {name: '"ltra"', description: "Left-to-right glyph alternates."}, {name: '"ltrm"', description: "Left-to-right mirrored forms."}, {name: '"mark"', description: "Mark Positioning."}, {name: '"med2"', description: "Medial Form #2. Used only with the Syriac script."}, {name: '"medi"', description: "Medial Forms."}, {name: '"mgrk"', description: "Mathematical Greek."}, {name: '"mkmk"', description: "Mark to Mark Positioning."}, {name: '"nalt"', description: "Alternate Annotation Forms."}, {name: '"nlck"', description: "NLC Kanji Forms. Used only with Kanji script."}, {name: '"nukt"', description: "Nukta Forms. Required in Indic scripts.."}, {name: '"numr"', description: "Numerators."}, {name: '"onum"', description: "Oldstyle Figures."}, {name: '"opbd"', description: "Optical Bounds."}, {name: '"ordn"', description: "Ordinals. Applies mostly to Latin script."}, {name: '"ornm"', description: "Ornaments."}, {name: '"palt"', description: "Proportional Alternate Widths. Used mostly in CJKV fonts."}, {name: '"pcap"', description: "Petite Capitals."}, {name: '"pkna"', description: "Proportional Kana. Generally used only in Japanese fonts."}, {name: '"pnum"', description: "Proportional Figures."}, {name: '"pref"', description: "Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."}, {name: '"pres"', description: "Pre-base Substitutions. Required in Indic scripts."}, {name: '"pstf"', description: "Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."}, {name: '"psts"', description: "Post-base Substitutions."}, {name: '"pwid"', description: "Proportional Widths."}, {name: '"qwid"', description: "Quarter Widths. Generally used only in CJKV fonts."}, {name: '"rand"', description: "Randomize."}, {name: '"rclt"', description: "Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."}, {name: '"rlig"', description: "Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."}, {name: '"rkrf"', description: "Rakar Forms. Required in Devanagari and Gujarati scripts."}, {name: '"rphf"', description: "Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."}, {name: '"rtbd"', description: "Right Bounds."}, {name: '"rtla"', description: "Right-to-left alternates."}, {name: '"rtlm"', description: "Right-to-left mirrored forms."}, {name: '"ruby"', description: "Ruby Notation Forms. Applies only to Japanese."}, {name: '"salt"', description: "Stylistic Alternates."}, {name: '"sinf"', description: "Scientific Inferiors."}, {name: '"size"', description: "Optical size."}, {name: '"smcp"', description: "Small Capitals. Applies only to bicameral scripts."}, {name: '"smpl"', description: "Simplified Forms. Applies only to Chinese and Japanese."}, {name: '"ssty"', description: "Math script style alternates."}, {name: '"stch"', description: "Stretching Glyph Decomposition."}, {name: '"subs"', description: "Subscript."}, {name: '"sups"', description: "Superscript."}, {name: '"swsh"', description: "Swash. Does not apply to ideographic scripts."}, {name: '"titl"', description: "Titling."}, {name: '"tjmo"', description: "Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."}, {name: '"tnam"', description: "Traditional Name Forms. Applies only to Japanese."}, {name: '"tnum"', description: "Tabular Figures."}, {name: '"trad"', description: "Traditional Forms. Applies only to Chinese and Japanese."}, {name: '"twid"', description: "Third Widths. Generally used only in CJKV fonts."}, {name: '"unic"', description: "Unicase."}, {name: '"valt"', description: "Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."}, {name: '"vatu"', description: "Vattu Variants. Used for Indic scripts. E.g. Devanagari."}, {name: '"vert"', description: "Vertical Alternates. Applies only to scripts with vertical writing modes."}, {name: '"vhal"', description: "Alternate Vertical Half Metrics. Used only in CJKV fonts."}, {name: '"vjmo"', description: "Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."}, {name: '"vkna"', description: "Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."}, {name: '"vkrn"', description: "Vertical Kerning."}, {name: '"vpal"', description: "Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."}, {name: '"vrt2"', description: "Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."}, {name: '"zero"', description: "Slashed Zero."}, {name: "normal", description: "No change in glyph substitution or positioning occurs."}, {name: "off", description: "Disable feature."}, {name: "on", description: "Enable feature."}], syntax: "normal | <feature-tag-value>#", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}], description: "Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.", restrictions: ["string", "integer"]}, {name: "font-kerning", browsers: ["E79", "FF32", "S9", "C33", "O20"], values: [{name: "auto", description: "Specifies that kerning is applied at the discretion of the user agent."}, {name: "none", description: "Specifies that kerning is not applied."}, {name: "normal", description: "Specifies that kerning is applied."}], syntax: "auto | normal | none", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-kerning"}], description: "Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.", restrictions: ["enum"]}, {name: "font-language-override", browsers: ["FF34"], values: [{name: "normal", description: "Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}], syntax: "normal | <string>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-language-override"}], description: "The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.", restrictions: ["string"]}, {name: "font-size", values: [{name: "large"}, {name: "larger"}, {name: "medium"}, {name: "small"}, {name: "smaller"}, {name: "x-large"}, {name: "x-small"}, {name: "xx-large"}, {name: "xx-small"}], syntax: "<absolute-size> | <relative-size> | <length-percentage>", relevance: 94, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-size"}], description: "Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.", restrictions: ["length", "percentage"]}, {name: "font-size-adjust", browsers: ["E79", "FF40", "C43", "O30"], values: [{name: "none", description: "Do not preserve the font\u2019s x-height."}], syntax: "none | <number>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}], description: "Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.", restrictions: ["number"]}, {name: "font-stretch", values: [{name: "condensed"}, {name: "expanded"}, {name: "extra-condensed"}, {name: "extra-expanded"}, {name: "narrower", description: "Indicates a narrower value relative to the width of the parent element."}, {name: "normal"}, {name: "semi-condensed"}, {name: "semi-expanded"}, {name: "ultra-condensed"}, {name: "ultra-expanded"}, {name: "wider", description: "Indicates a wider value relative to the width of the parent element."}], syntax: "<font-stretch-absolute>{1,2}", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-stretch"}], description: "Selects a normal, condensed, or expanded face from a font family.", restrictions: ["enum"]}, {name: "font-style", values: [{name: "italic", description: "Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"}, {name: "normal", description: "Selects a face that is classified as 'normal'."}, {name: "oblique", description: "Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}], syntax: "normal | italic | oblique <angle>{0,2}", relevance: 83, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-style"}], description: "Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.", restrictions: ["enum"]}, {name: "font-synthesis", browsers: ["FF34", "S9"], values: [{name: "none", description: "Disallow all synthetic faces."}, {name: "style", description: "Allow synthetic italic faces."}, {name: "weight", description: "Allow synthetic bold faces."}], syntax: "none | [ weight || style ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}], description: "Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.", restrictions: ["enum"]}, {name: "font-variant", values: [{name: "normal", description: "Specifies a face that is not labeled as a small-caps font."}, {name: "small-caps", description: "Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}], syntax: "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]", relevance: 63, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant"}], description: "Specifies variant representations of the font", restrictions: ["enum"]}, {name: "font-variant-alternates", browsers: ["FF34"], values: [{name: "annotation()", description: "Enables display of alternate annotation forms."}, {name: "character-variant()", description: "Enables display of specific character variants."}, {name: "historical-forms", description: "Enables display of historical forms."}, {name: "normal", description: "None of the features are enabled."}, {name: "ornaments()", description: "Enables replacement of default glyphs with ornaments, if provided in the font."}, {name: "styleset()", description: "Enables display with stylistic sets."}, {name: "stylistic()", description: "Enables display of stylistic alternates."}, {name: "swash()", description: "Enables display of swash glyphs."}], syntax: "normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}], description: "For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.", restrictions: ["enum"]}, {name: "font-variant-caps", browsers: ["E79", "FF34", "C52", "O39"], values: [{name: "all-petite-caps", description: "Enables display of petite capitals for both upper and lowercase letters."}, {name: "all-small-caps", description: "Enables display of small capitals for both upper and lowercase letters."}, {name: "normal", description: "None of the features are enabled."}, {name: "petite-caps", description: "Enables display of petite capitals."}, {name: "small-caps", description: "Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."}, {name: "titling-caps", description: "Enables display of titling capitals."}, {name: "unicase", description: "Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}], syntax: "normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}], description: "Specifies control over capitalized forms.", restrictions: ["enum"]}, {name: "font-variant-east-asian", browsers: ["E79", "FF34", "C63", "O50"], values: [{name: "full-width", description: "Enables rendering of full-width variants."}, {name: "jis04", description: "Enables rendering of JIS04 forms."}, {name: "jis78", description: "Enables rendering of JIS78 forms."}, {name: "jis83", description: "Enables rendering of JIS83 forms."}, {name: "jis90", description: "Enables rendering of JIS90 forms."}, {name: "normal", description: "None of the features are enabled."}, {name: "proportional-width", description: "Enables rendering of proportionally-spaced variants."}, {name: "ruby", description: "Enables display of ruby variant glyphs."}, {name: "simplified", description: "Enables rendering of simplified forms."}, {name: "traditional", description: "Enables rendering of traditional forms."}], syntax: "normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}], description: "Allows control of glyph substitute and positioning in East Asian text.", restrictions: ["enum"]}, {name: "font-variant-ligatures", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], values: [{name: "additional-ligatures", description: "Enables display of additional ligatures."}, {name: "common-ligatures", description: "Enables display of common ligatures."}, {name: "contextual", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], description: "Enables display of contextual alternates."}, {name: "discretionary-ligatures", description: "Enables display of discretionary ligatures."}, {name: "historical-ligatures", description: "Enables display of historical ligatures."}, {name: "no-additional-ligatures", description: "Disables display of additional ligatures."}, {name: "no-common-ligatures", description: "Disables display of common ligatures."}, {name: "no-contextual", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], description: "Disables display of contextual alternates."}, {name: "no-discretionary-ligatures", description: "Disables display of discretionary ligatures."}, {name: "no-historical-ligatures", description: "Disables display of historical ligatures."}, {name: "none", browsers: ["E79", "FF34", "S9.1", "C34", "O21"], description: "Disables all ligatures."}, {name: "normal", description: "Implies that the defaults set by the font are used."}], syntax: "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}], description: "Specifies control over which ligatures are enabled or disabled. A value of \u2018normal\u2019 implies that the defaults set by the font are used.", restrictions: ["enum"]}, {name: "font-variant-numeric", browsers: ["E79", "FF34", "S9.1", "C52", "O39"], values: [{name: "diagonal-fractions", description: "Enables display of lining diagonal fractions."}, {name: "lining-nums", description: "Enables display of lining numerals."}, {name: "normal", description: "None of the features are enabled."}, {name: "oldstyle-nums", description: "Enables display of old-style numerals."}, {name: "ordinal", description: "Enables display of letter forms used with ordinal numbers."}, {name: "proportional-nums", description: "Enables display of proportional numerals."}, {name: "slashed-zero", description: "Enables display of slashed zeros."}, {name: "stacked-fractions", description: "Enables display of lining stacked fractions."}, {name: "tabular-nums", description: "Enables display of tabular numerals."}], syntax: "normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}], description: "Specifies control over numerical forms.", restrictions: ["enum"]}, {name: "font-variant-position", browsers: ["FF34"], values: [{name: "normal", description: "None of the features are enabled."}, {name: "sub", description: "Enables display of subscript variants (OpenType feature: subs)."}, {name: "super", description: "Enables display of superscript variants (OpenType feature: sups)."}], syntax: "normal | sub | super", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}], description: "Specifies the vertical position", restrictions: ["enum"]}, {name: "font-weight", values: [{name: "100", description: "Thin"}, {name: "200", description: "Extra Light (Ultra Light)"}, {name: "300", description: "Light"}, {name: "400", description: "Normal"}, {name: "500", description: "Medium"}, {name: "600", description: "Semi Bold (Demi Bold)"}, {name: "700", description: "Bold"}, {name: "800", description: "Extra Bold (Ultra Bold)"}, {name: "900", description: "Black (Heavy)"}, {name: "bold", description: "Same as 700"}, {name: "bolder", description: "Specifies the weight of the face bolder than the inherited value."}, {name: "lighter", description: "Specifies the weight of the face lighter than the inherited value."}, {name: "normal", description: "Same as 400"}], syntax: "<font-weight-absolute>{1,2}", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-weight"}], description: "Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.", restrictions: ["enum"]}, {name: "glyph-orientation-horizontal", relevance: 50, description: "Controls glyph orientation when the inline-progression-direction is horizontal.", restrictions: ["angle", "number"]}, {name: "glyph-orientation-vertical", values: [{name: "auto", description: "Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}], relevance: 50, description: "Controls glyph orientation when the inline-progression-direction is vertical.", restrictions: ["angle", "number", "enum"]}, {name: "grid-area", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line> [ / <grid-line> ]{0,3}", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-area"}], description: "Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.", restrictions: ["identifier", "integer"]}, {name: "grid", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], syntax: "<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid"}], description: "The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.", restrictions: ["identifier", "length", "percentage", "string", "enum"]}, {name: "grid-auto-columns", values: [{name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}], syntax: "<track-size>+", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}], description: "Specifies the size of implicitly created columns.", restrictions: ["length", "percentage"]}, {name: "grid-auto-flow", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "row", description: "The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."}, {name: "column", description: "The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."}, {name: "dense", description: "If specified, the auto-placement algorithm uses a \u201Cdense\u201D packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}], syntax: "[ row | column ] || dense", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}], description: "Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.", restrictions: ["enum"]}, {name: "grid-auto-rows", values: [{name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}], syntax: "<track-size>+", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}], description: "Specifies the size of implicitly created rows.", restrictions: ["length", "percentage"]}, {name: "grid-column", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line> [ / <grid-line> ]?", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-column"}], description: "Shorthand for 'grid-column-start' and 'grid-column-end'.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-column-end", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}], description: "Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-column-gap", browsers: ["FF52", "C57", "S10.1", "O44"], status: "obsolete", syntax: "<length-percentage>", relevance: 1, description: "Specifies the gutters between grid columns. Replaced by 'column-gap' property.", restrictions: ["length"]}, {name: "grid-column-start", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}], description: "Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-gap", browsers: ["FF52", "C57", "S10.1", "O44"], status: "obsolete", syntax: "<'grid-row-gap'> <'grid-column-gap'>?", relevance: 1, description: "Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.", restrictions: ["length"]}, {name: "grid-row", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line> [ / <grid-line> ]?", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-row"}], description: "Shorthand for 'grid-row-start' and 'grid-row-end'.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-row-end", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}], description: "Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-row-gap", browsers: ["FF52", "C57", "S10.1", "O44"], status: "obsolete", syntax: "<length-percentage>", relevance: 1, description: "Specifies the gutters between grid rows. Replaced by 'row-gap' property.", restrictions: ["length"]}, {name: "grid-row-start", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "auto", description: "The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."}, {name: "span", description: "Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}], syntax: "<grid-line>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}], description: "Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.", restrictions: ["identifier", "integer", "enum"]}, {name: "grid-template", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "Sets all three properties to their initial values."}, {name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "subgrid", description: "Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}, {name: "repeat()", description: "Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}], syntax: "none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template"}], description: "Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.", restrictions: ["identifier", "length", "percentage", "string", "enum"]}, {name: "grid-template-areas", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "The grid container doesn\u2019t define any named grid areas."}], syntax: "none | <string>+", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}], description: "Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.", restrictions: ["string"]}, {name: "grid-template-columns", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "There is no explicit grid; any rows/columns will be implicitly generated."}, {name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "subgrid", description: "Indicates that the grid will align to its parent grid in that axis."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}, {name: "repeat()", description: "Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}], syntax: "none | <track-list> | <auto-track-list> | subgrid <line-name-list>?", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}], description: "specifies, as a space-separated track list, the line names and track sizing functions of the grid.", restrictions: ["identifier", "length", "percentage", "enum"]}, {name: "grid-template-rows", browsers: ["E16", "FF52", "S10.1", "C57", "O44"], values: [{name: "none", description: "There is no explicit grid; any rows/columns will be implicitly generated."}, {name: "min-content", description: "Represents the largest min-content contribution of the grid items occupying the grid track."}, {name: "max-content", description: "Represents the largest max-content contribution of the grid items occupying the grid track."}, {name: "auto", description: "As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."}, {name: "subgrid", description: "Indicates that the grid will align to its parent grid in that axis."}, {name: "minmax()", description: "Defines a size range greater than or equal to min and less than or equal to max."}, {name: "repeat()", description: "Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}], syntax: "none | <track-list> | <auto-track-list> | subgrid <line-name-list>?", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}], description: "specifies, as a space-separated track list, the line names and track sizing functions of the grid.", restrictions: ["identifier", "length", "percentage", "string", "enum"]}, {name: "height", values: [{name: "auto", description: "The height depends on the values of other properties."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>{1,2}", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/height"}], description: "Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.", restrictions: ["length", "percentage"]}, {name: "hyphens", values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], syntax: "none | manual | auto", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/hyphens"}], description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "image-orientation", browsers: ["E81", "FF26", "S13.1", "C81", "O67"], values: [{name: "flip", description: "After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."}, {name: "from-image", description: "If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}], syntax: "from-image | <angle> | [ <angle>? flip ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/image-orientation"}], description: "Specifies an orthogonal rotation to be applied to an image before it is laid out.", restrictions: ["angle"]}, {name: "image-rendering", browsers: ["E79", "FF3.6", "S6", "C13", "O15"], values: [{name: "auto", description: "The image should be scaled with an algorithm that maximizes the appearance of the image."}, {name: "crisp-edges", description: "The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."}, {name: "-moz-crisp-edges", browsers: ["E79", "FF3.6", "S6", "C13", "O15"]}, {name: "optimizeQuality", description: "Deprecated."}, {name: "optimizeSpeed", description: "Deprecated."}, {name: "pixelated", description: "When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}], syntax: "auto | crisp-edges | pixelated", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/image-rendering"}], description: "Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.", restrictions: ["enum"]}, {name: "ime-mode", browsers: ["E12", "FF3", "IE5"], values: [{name: "active", description: "The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."}, {name: "auto", description: "No change is made to the current input method editor state. This is the default."}, {name: "disabled", description: "The input method editor is disabled and may not be activated by the user."}, {name: "inactive", description: "The input method editor is initially inactive, but the user may activate it if they wish."}, {name: "normal", description: "The IME state should be normal; this value can be used in a user style sheet to override the page setting."}], status: "obsolete", syntax: "auto | normal | active | inactive | disabled", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/ime-mode"}], description: "Controls the state of the input method editor for text fields.", restrictions: ["enum"]}, {name: "inline-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], values: [{name: "auto", description: "Depends on the values of other properties."}], syntax: "<'width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inline-size"}], description: "Logical 'height'. Mapping depends on the element\u2019s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "isolation", browsers: ["E79", "FF36", "S8", "C41", "O30"], values: [{name: "auto", description: "Elements are not isolated unless an operation is applied that causes the creation of a stacking context."}, {name: "isolate", description: "In CSS will turn the element into a stacking context."}], syntax: "auto | isolate", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/isolation"}], description: "In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.", restrictions: ["enum"]}, {name: "justify-content", values: [{name: "center", description: "Flex items are packed toward the center of the line."}, {name: "start", description: "The items are packed flush to each other toward the start edge of the alignment container in the main axis."}, {name: "end", description: "The items are packed flush to each other toward the end edge of the alignment container in the main axis."}, {name: "left", description: "The items are packed flush to each other toward the left edge of the alignment container in the main axis."}, {name: "right", description: "The items are packed flush to each other toward the right edge of the alignment container in the main axis."}, {name: "safe", description: "If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."}, {name: "unsafe", description: "Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."}, {name: "stretch", description: "If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."}, {name: "space-evenly", description: "The items are evenly distributed within the alignment container along the main axis."}, {name: "flex-end", description: "Flex items are packed toward the end of the line."}, {name: "flex-start", description: "Flex items are packed toward the start of the line."}, {name: "space-around", description: "Flex items are evenly distributed in the line, with half-size spaces on either end."}, {name: "space-between", description: "Flex items are evenly distributed in the line."}, {name: "baseline", description: "Specifies participation in first-baseline alignment."}, {name: "first baseline", description: "Specifies participation in first-baseline alignment."}, {name: "last baseline", description: "Specifies participation in last-baseline alignment."}], syntax: "normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]", relevance: 82, description: "Aligns flex items along the main axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "kerning", values: [{name: "auto", description: "Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}], relevance: 50, description: "Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.", restrictions: ["length", "enum"]}, {name: "left", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/left"}], description: "Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "letter-spacing", values: [{name: "normal", description: "The spacing is the normal spacing for the current font. It is typically zero-length."}], syntax: "normal | <length>", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}], description: "Specifies the minimum, maximum, and optimal spacing between grapheme clusters.", restrictions: ["length"]}, {name: "lighting-color", browsers: ["E", "C5", "FF3", "IE10", "O9", "S6"], relevance: 50, description: "Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.", restrictions: ["color"]}, {name: "line-break", values: [{name: "auto", description: "The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."}, {name: "loose", description: "Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."}, {name: "normal", description: "Breaks text using the most common set of line-breaking rules."}, {name: "strict", description: "Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}], syntax: "auto | loose | normal | strict | anywhere", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/line-break"}], description: "Specifies what set of line breaking restrictions are in effect within the element.", restrictions: ["enum"]}, {name: "line-height", values: [{name: "normal", description: "Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}], syntax: "normal | <number> | <length> | <percentage>", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/line-height"}], description: "Determines the block-progression dimension of the text content area of an inline box.", restrictions: ["number", "length", "percentage"]}, {name: "list-style", values: [{name: "armenian"}, {name: "circle", description: "A hollow circle."}, {name: "decimal"}, {name: "decimal-leading-zero"}, {name: "disc", description: "A filled circle."}, {name: "georgian"}, {name: "inside", description: "The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."}, {name: "lower-alpha"}, {name: "lower-greek"}, {name: "lower-latin"}, {name: "lower-roman"}, {name: "none"}, {name: "outside", description: "The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}, {name: "square", description: "A filled square."}, {name: "symbols()", description: "Allows a counter style to be defined inline."}, {name: "upper-alpha"}, {name: "upper-latin"}, {name: "upper-roman"}, {name: "url()"}], syntax: "<'list-style-type'> || <'list-style-position'> || <'list-style-image'>", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style"}], description: "Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'", restrictions: ["image", "enum", "url"]}, {name: "list-style-image", values: [{name: "none", description: "The default contents of the of the list item\u2019s marker are given by 'list-style-type' instead."}], syntax: "<url> | none", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style-image"}], description: "Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.", restrictions: ["image"]}, {name: "list-style-position", values: [{name: "inside", description: "The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."}, {name: "outside", description: "The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}], syntax: "inside | outside", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style-position"}], description: "Specifies the position of the '::marker' pseudo-element's box in the list item.", restrictions: ["enum"]}, {name: "list-style-type", values: [{name: "armenian", description: "Traditional uppercase Armenian numbering."}, {name: "circle", description: "A hollow circle."}, {name: "decimal", description: "Western decimal numbers."}, {name: "decimal-leading-zero", description: "Decimal numbers padded by initial zeros."}, {name: "disc", description: "A filled circle."}, {name: "georgian", description: "Traditional Georgian numbering."}, {name: "lower-alpha", description: "Lowercase ASCII letters."}, {name: "lower-greek", description: "Lowercase classical Greek."}, {name: "lower-latin", description: "Lowercase ASCII letters."}, {name: "lower-roman", description: "Lowercase ASCII Roman numerals."}, {name: "none", description: "No marker"}, {name: "square", description: "A filled square."}, {name: "symbols()", description: "Allows a counter style to be defined inline."}, {name: "upper-alpha", description: "Uppercase ASCII letters."}, {name: "upper-latin", description: "Uppercase ASCII letters."}, {name: "upper-roman", description: "Uppercase ASCII Roman numerals."}], syntax: "<counter-style> | <string> | none", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/list-style-type"}], description: "Used to construct the default contents of a list item\u2019s marker", restrictions: ["enum", "string"]}, {name: "margin", values: [{name: "auto"}], syntax: "[ <length> | <percentage> | auto ]{1,4}", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.", restrictions: ["length", "percentage"]}, {name: "margin-block-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}], description: "Logical 'margin-bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-block-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}], description: "Logical 'margin-top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-bottom", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "margin-inline-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}], description: "Logical 'margin-right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-inline-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], values: [{name: "auto"}], syntax: "<'margin-left'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}], description: "Logical 'margin-left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "margin-left", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-left"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "margin-right", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-right"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "margin-top", values: [{name: "auto"}], syntax: "<length> | <percentage> | auto", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-top"}], description: "Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..", restrictions: ["length", "percentage"]}, {name: "marker", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given \u2018path\u2019 element or basic shape.", restrictions: ["url"]}, {name: "marker-end", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker that will be drawn at the last vertices of the given markable element.", restrictions: ["url"]}, {name: "marker-mid", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker that will be drawn at all vertices except the first and last.", restrictions: ["url"]}, {name: "marker-start", values: [{name: "none", description: "Indicates that no marker symbol will be drawn at the given vertex or vertices."}, {name: "url()", description: "Indicates that the <marker> element referenced will be used."}], relevance: 50, description: "Specifies the marker that will be drawn at the first vertices of the given markable element.", restrictions: ["url"]}, {name: "mask-image", browsers: ["E16", "FF53", "S4", "C1", "O15"], values: [{name: "none", description: "Counts as a transparent black image layer."}, {name: "url()", description: "Reference to a <mask element or to a CSS image."}], syntax: "<mask-reference>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-image"}], description: "Sets the mask layer image of an element.", restrictions: ["url", "image", "enum"]}, {name: "mask-mode", browsers: ["FF53"], values: [{name: "alpha", description: "Alpha values of the mask layer image should be used as the mask values."}, {name: "auto", description: "Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."}, {name: "luminance", description: "Luminance values of the mask layer image should be used as the mask values."}], syntax: "<masking-mode>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-mode"}], description: "Indicates whether the mask layer image is treated as luminance mask or alpha mask.", restrictions: ["url", "image", "enum"]}, {name: "mask-origin", browsers: ["E79", "FF53", "S4", "C1", "O15"], syntax: "<geometry-box>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-origin"}], description: "Specifies the mask positioning area.", restrictions: ["geometry-box", "enum"]}, {name: "mask-position", browsers: ["E18", "FF53", "S3.2", "C1", "O15"], syntax: "<position>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-position"}], description: "Specifies how mask layer images are positioned.", restrictions: ["position", "length", "percentage"]}, {name: "mask-repeat", browsers: ["E18", "FF53", "S3.2", "C1", "O15"], syntax: "<repeat-style>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}], description: "Specifies how mask layer images are tiled after they have been sized and positioned.", restrictions: ["repeat"]}, {name: "mask-size", browsers: ["E18", "FF53", "S4", "C4", "O15"], values: [{name: "auto", description: "Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."}, {name: "contain", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."}, {name: "cover", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}], syntax: "<bg-size>#", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-size"}], description: "Specifies the size of the mask layer images.", restrictions: ["length", "percentage", "enum"]}, {name: "mask-type", browsers: ["E79", "FF35", "S6.1", "C24", "O15"], values: [{name: "alpha", description: "Indicates that the alpha values of the mask should be used."}, {name: "luminance", description: "Indicates that the luminance values of the mask should be used."}], syntax: "luminance | alpha", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-type"}], description: "Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.", restrictions: ["enum"]}, {name: "max-block-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], values: [{name: "none", description: "No limit on the width of the box."}], syntax: "<'max-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-block-size"}], description: "Logical 'max-width'. Mapping depends on the element\u2019s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "max-height", values: [{name: "none", description: "No limit on the height of the box."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-height"}], description: "Allows authors to constrain content height to a certain range.", restrictions: ["length", "percentage"]}, {name: "max-inline-size", browsers: ["E79", "FF41", "S10.1", "C57", "O44"], values: [{name: "none", description: "No limit on the height of the box."}], syntax: "<'max-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}], description: "Logical 'max-height'. Mapping depends on the element\u2019s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "max-width", values: [{name: "none", description: "No limit on the width of the box."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 89, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/max-width"}], description: "Allows authors to constrain content width to a certain range.", restrictions: ["length", "percentage"]}, {name: "min-block-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], syntax: "<'min-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-block-size"}], description: "Logical 'min-width'. Mapping depends on the element\u2019s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "min-height", values: [{name: "auto"}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-height"}], description: "Allows authors to constrain content height to a certain range.", restrictions: ["length", "percentage"]}, {name: "min-inline-size", browsers: ["E79", "FF41", "S12.1", "C57", "O44"], syntax: "<'min-width'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}], description: "Logical 'min-height'. Mapping depends on the element\u2019s 'writing-mode'.", restrictions: ["length", "percentage"]}, {name: "min-width", values: [{name: "auto"}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/min-width"}], description: "Allows authors to constrain content width to a certain range.", restrictions: ["length", "percentage"]}, {name: "mix-blend-mode", browsers: ["E79", "FF32", "S8", "C41", "O28"], values: [{name: "normal", description: "Default attribute which specifies no blending"}, {name: "multiply", description: "The source color is multiplied by the destination color and replaces the destination."}, {name: "screen", description: "Multiplies the complements of the backdrop and source color values, then complements the result."}, {name: "overlay", description: "Multiplies or screens the colors, depending on the backdrop color value."}, {name: "darken", description: "Selects the darker of the backdrop and source colors."}, {name: "lighten", description: "Selects the lighter of the backdrop and source colors."}, {name: "color-dodge", description: "Brightens the backdrop color to reflect the source color."}, {name: "color-burn", description: "Darkens the backdrop color to reflect the source color."}, {name: "hard-light", description: "Multiplies or screens the colors, depending on the source color value."}, {name: "soft-light", description: "Darkens or lightens the colors, depending on the source color value."}, {name: "difference", description: "Subtracts the darker of the two constituent colors from the lighter color.."}, {name: "exclusion", description: "Produces an effect similar to that of the Difference mode but lower in contrast."}, {name: "hue", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."}, {name: "saturation", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."}, {name: "color", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."}, {name: "luminosity", browsers: ["E79", "FF32", "S8", "C41", "O28"], description: "Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}], syntax: "<blend-mode>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}], description: "Defines the formula that must be used to mix the colors with the backdrop.", restrictions: ["enum"]}, {name: "motion", browsers: ["C46", "O33"], values: [{name: "none", description: "No motion path gets created."}, {name: "path()", description: "Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}, {name: "auto", description: "Indicates that the object is rotated by the angle of the direction of the motion path."}, {name: "reverse", description: "Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}], relevance: 50, description: "Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.", restrictions: ["url", "length", "percentage", "angle", "shape", "geometry-box", "enum"]}, {name: "motion-offset", browsers: ["C46", "O33"], relevance: 50, description: "A distance that describes the position along the specified motion path.", restrictions: ["length", "percentage"]}, {name: "motion-path", browsers: ["C46", "O33"], values: [{name: "none", description: "No motion path gets created."}, {name: "path()", description: "Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}], relevance: 50, description: "Specifies the motion path the element gets positioned at.", restrictions: ["url", "shape", "geometry-box", "enum"]}, {name: "motion-rotation", browsers: ["C46", "O33"], values: [{name: "auto", description: "Indicates that the object is rotated by the angle of the direction of the motion path."}, {name: "reverse", description: "Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}], relevance: 50, description: "Defines the direction of the element while positioning along the motion path.", restrictions: ["angle"]}, {name: "-moz-animation", browsers: ["FF9"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "enum", "timing-function", "identifier", "number"]}, {name: "-moz-animation-delay", browsers: ["FF9"], relevance: 50, description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "-moz-animation-direction", browsers: ["FF9"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "-moz-animation-duration", browsers: ["FF9"], relevance: 50, description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "-moz-animation-iteration-count", browsers: ["FF9"], values: [{name: "infinite", description: "Causes the animation to repeat forever."}], relevance: 50, description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "-moz-animation-name", browsers: ["FF9"], values: [{name: "none", description: "No animation is performed"}], relevance: 50, description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "-moz-animation-play-state", browsers: ["FF9"], values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], relevance: 50, description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "-moz-animation-timing-function", browsers: ["FF9"], relevance: 50, description: "Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.", restrictions: ["timing-function"]}, {name: "-moz-appearance", browsers: ["FF1"], values: [{name: "button"}, {name: "button-arrow-down"}, {name: "button-arrow-next"}, {name: "button-arrow-previous"}, {name: "button-arrow-up"}, {name: "button-bevel"}, {name: "checkbox"}, {name: "checkbox-container"}, {name: "checkbox-label"}, {name: "dialog"}, {name: "groupbox"}, {name: "listbox"}, {name: "menuarrow"}, {name: "menuimage"}, {name: "menuitem"}, {name: "menuitemtext"}, {name: "menulist"}, {name: "menulist-button"}, {name: "menulist-text"}, {name: "menulist-textfield"}, {name: "menupopup"}, {name: "menuradio"}, {name: "menuseparator"}, {name: "-moz-mac-unified-toolbar"}, {name: "-moz-win-borderless-glass"}, {name: "-moz-win-browsertabbar-toolbox"}, {name: "-moz-win-communications-toolbox"}, {name: "-moz-win-glass"}, {name: "-moz-win-media-toolbox"}, {name: "none"}, {name: "progressbar"}, {name: "progresschunk"}, {name: "radio"}, {name: "radio-container"}, {name: "radio-label"}, {name: "radiomenuitem"}, {name: "resizer"}, {name: "resizerpanel"}, {name: "scrollbarbutton-down"}, {name: "scrollbarbutton-left"}, {name: "scrollbarbutton-right"}, {name: "scrollbarbutton-up"}, {name: "scrollbar-small"}, {name: "scrollbartrack-horizontal"}, {name: "scrollbartrack-vertical"}, {name: "separator"}, {name: "spinner"}, {name: "spinner-downbutton"}, {name: "spinner-textfield"}, {name: "spinner-upbutton"}, {name: "statusbar"}, {name: "statusbarpanel"}, {name: "tab"}, {name: "tabpanels"}, {name: "tab-scroll-arrow-back"}, {name: "tab-scroll-arrow-forward"}, {name: "textfield"}, {name: "textfield-multiline"}, {name: "toolbar"}, {name: "toolbox"}, {name: "tooltip"}, {name: "treeheadercell"}, {name: "treeheadersortarrow"}, {name: "treeitem"}, {name: "treetwistyopen"}, {name: "treeview"}, {name: "treewisty"}, {name: "window"}], status: "nonstandard", syntax: "none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized", relevance: 0, description: "Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.", restrictions: ["enum"]}, {name: "-moz-backface-visibility", browsers: ["FF10"], values: [{name: "hidden"}, {name: "visible"}], relevance: 50, description: "Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.", restrictions: ["enum"]}, {name: "-moz-background-clip", browsers: ["FF1-3.6"], values: [{name: "padding"}], relevance: 50, description: "Determines the background painting area.", restrictions: ["box", "enum"]}, {name: "-moz-background-inline-policy", browsers: ["FF1"], values: [{name: "bounding-box"}, {name: "continuous"}, {name: "each-box"}], relevance: 50, description: "In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.", restrictions: ["enum"]}, {name: "-moz-background-origin", browsers: ["FF1"], relevance: 50, description: "For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).", restrictions: ["box"]}, {name: "-moz-border-bottom-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-border-image", browsers: ["FF3.6"], values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none"}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}, {name: "url()"}], relevance: 50, description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "url", "enum"]}, {name: "-moz-border-left-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-border-right-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-border-top-colors", browsers: ["FF1"], status: "nonstandard", syntax: "<color>+ | none", relevance: 0, description: "Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.", restrictions: ["color"]}, {name: "-moz-box-align", browsers: ["FF1"], values: [{name: "baseline", description: "If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."}, {name: "center", description: "Any extra space is divided evenly, with half placed above the child and the other half placed after the child."}, {name: "end", description: "For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."}, {name: "start", description: "For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."}, {name: "stretch", description: "The height of each child is adjusted to that of the containing block."}], relevance: 50, description: "Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.", restrictions: ["enum"]}, {name: "-moz-box-direction", browsers: ["FF1"], values: [{name: "normal", description: "A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."}, {name: "reverse", description: "A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}], relevance: 50, description: "Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).", restrictions: ["enum"]}, {name: "-moz-box-flex", browsers: ["FF1"], relevance: 50, description: "Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.", restrictions: ["number"]}, {name: "-moz-box-flexgroup", browsers: ["FF1"], relevance: 50, description: "Flexible elements can be assigned to flex groups using the 'box-flex-group' property.", restrictions: ["integer"]}, {name: "-moz-box-ordinal-group", browsers: ["FF1"], relevance: 50, description: "Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.", restrictions: ["integer"]}, {name: "-moz-box-orient", browsers: ["FF1"], values: [{name: "block-axis", description: "Elements are oriented along the box's axis."}, {name: "horizontal", description: "The box displays its children from left to right in a horizontal line."}, {name: "inline-axis", description: "Elements are oriented vertically."}, {name: "vertical", description: "The box displays its children from stacked from top to bottom vertically."}], relevance: 50, description: "In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.", restrictions: ["enum"]}, {name: "-moz-box-pack", browsers: ["FF1"], values: [{name: "center", description: "The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."}, {name: "end", description: "For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."}, {name: "justify", description: "The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."}, {name: "start", description: "For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}], relevance: 50, description: "Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.", restrictions: ["enum"]}, {name: "-moz-box-sizing", browsers: ["FF1"], values: [{name: "border-box", description: "The specified width and height (and respective min/max properties) on this element determine the border box of the element."}, {name: "content-box", description: "Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}, {name: "padding-box", description: "The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}], relevance: 50, description: "Box Model addition in CSS3.", restrictions: ["enum"]}, {name: "-moz-column-count", browsers: ["FF3.5"], values: [{name: "auto", description: "Determines the number of columns by the 'column-width' property and the element width."}], relevance: 50, description: "Describes the optimal number of columns into which the content of the element will be flowed.", restrictions: ["integer"]}, {name: "-moz-column-gap", browsers: ["FF3.5"], values: [{name: "normal", description: "User agent specific and typically equivalent to 1em."}], relevance: 50, description: "Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.", restrictions: ["length"]}, {name: "-moz-column-rule", browsers: ["FF3.5"], relevance: 50, description: "Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "-moz-column-rule-color", browsers: ["FF3.5"], relevance: 50, description: "Sets the color of the column rule", restrictions: ["color"]}, {name: "-moz-column-rule-style", browsers: ["FF3.5"], relevance: 50, description: "Sets the style of the rule between columns of an element.", restrictions: ["line-style"]}, {name: "-moz-column-rule-width", browsers: ["FF3.5"], relevance: 50, description: "Sets the width of the rule between columns. Negative values are not allowed.", restrictions: ["length", "line-width"]}, {name: "-moz-columns", browsers: ["FF9"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "A shorthand property which sets both 'column-width' and 'column-count'.", restrictions: ["length", "integer"]}, {name: "-moz-column-width", browsers: ["FF3.5"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "This property describes the width of columns in multicol elements.", restrictions: ["length"]}, {name: "-moz-font-feature-settings", browsers: ["FF4"], values: [{name: '"c2cs"'}, {name: '"dlig"'}, {name: '"kern"'}, {name: '"liga"'}, {name: '"lnum"'}, {name: '"onum"'}, {name: '"smcp"'}, {name: '"swsh"'}, {name: '"tnum"'}, {name: "normal", description: "No change in glyph substitution or positioning occurs."}, {name: "off", browsers: ["FF4"]}, {name: "on", browsers: ["FF4"]}], relevance: 50, description: "Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.", restrictions: ["string", "integer"]}, {name: "-moz-hyphens", browsers: ["FF9"], values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], relevance: 50, description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "-moz-perspective", browsers: ["FF10"], values: [{name: "none", description: "No perspective transform is applied."}], relevance: 50, description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length"]}, {name: "-moz-perspective-origin", browsers: ["FF10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-moz-text-align-last", browsers: ["FF12"], values: [{name: "auto"}, {name: "center", description: "The inline contents are centered within the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}], relevance: 50, description: "Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.", restrictions: ["enum"]}, {name: "-moz-text-decoration-color", browsers: ["FF6"], relevance: 50, description: "Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.", restrictions: ["color"]}, {name: "-moz-text-decoration-line", browsers: ["FF6"], values: [{name: "line-through", description: "Each line of text has a line through the middle."}, {name: "none", description: "Neither produces nor inhibits text decoration."}, {name: "overline", description: "Each line of text has a line above it."}, {name: "underline", description: "Each line of text is underlined."}], relevance: 50, description: "Specifies what line decorations, if any, are added to the element.", restrictions: ["enum"]}, {name: "-moz-text-decoration-style", browsers: ["FF6"], values: [{name: "dashed", description: "Produces a dashed line style."}, {name: "dotted", description: "Produces a dotted line."}, {name: "double", description: "Produces a double line."}, {name: "none", description: "Produces no line."}, {name: "solid", description: "Produces a solid line."}, {name: "wavy", description: "Produces a wavy line."}], relevance: 50, description: "Specifies the line style for underline, line-through and overline text decoration.", restrictions: ["enum"]}, {name: "-moz-text-size-adjust", browsers: ["FF"], values: [{name: "auto", description: "Renderers must use the default size adjustment when displaying on a small device."}, {name: "none", description: "Renderers must not do size adjustment when displaying on a small device."}], relevance: 50, description: "Specifies a size adjustment for displaying text content in mobile browsers.", restrictions: ["enum", "percentage"]}, {name: "-moz-transform", browsers: ["FF3.5"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "perspective", description: "Specifies a perspective projection matrix."}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-moz-transform-origin", browsers: ["FF3.5"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "-moz-transition", browsers: ["FF4"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "-moz-transition-delay", browsers: ["FF4"], relevance: 50, description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "-moz-transition-duration", browsers: ["FF4"], relevance: 50, description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "-moz-transition-property", browsers: ["FF4"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "-moz-transition-timing-function", browsers: ["FF4"], relevance: 50, description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "-moz-user-focus", browsers: ["FF1"], values: [{name: "ignore"}, {name: "normal"}], status: "nonstandard", syntax: "ignore | normal | select-after | select-before | select-menu | select-same | select-all | none", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}], description: "Used to indicate whether the element can have focus."}, {name: "-moz-user-select", browsers: ["FF1.5"], values: [{name: "all"}, {name: "element"}, {name: "elements"}, {name: "-moz-all"}, {name: "-moz-none"}, {name: "none"}, {name: "text"}, {name: "toggle"}], relevance: 50, description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "-ms-accelerator", browsers: ["E", "IE10"], values: [{name: "false", description: "The element does not contain an accelerator key sequence."}, {name: "true", description: "The element contains an accelerator key sequence."}], status: "nonstandard", syntax: "false | true", relevance: 0, description: "IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed", restrictions: ["enum"]}, {name: "-ms-behavior", browsers: ["IE8"], relevance: 50, description: "IE only. Used to extend behaviors of the browser", restrictions: ["url"]}, {name: "-ms-block-progression", browsers: ["IE8"], values: [{name: "bt", description: "Bottom-to-top block flow. Layout is horizontal."}, {name: "lr", description: "Left-to-right direction. The flow orientation is vertical."}, {name: "rl", description: "Right-to-left direction. The flow orientation is vertical."}, {name: "tb", description: "Top-to-bottom direction. The flow orientation is horizontal."}], status: "nonstandard", syntax: "tb | rl | bt | lr", relevance: 0, description: "Sets the block-progression value and the flow orientation", restrictions: ["enum"]}, {name: "-ms-content-zoom-chaining", browsers: ["E", "IE10"], values: [{name: "chained", description: "The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."}, {name: "none", description: "A bounce effect is shown when the user hits a zoom limit during a manipulation."}], status: "nonstandard", syntax: "none | chained", relevance: 0, description: "Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."}, {name: "-ms-content-zooming", browsers: ["E", "IE10"], values: [{name: "none", description: "The element is not zoomable."}, {name: "zoom", description: "The element is zoomable."}], status: "nonstandard", syntax: "none | zoom", relevance: 0, description: "Specifies whether zooming is enabled.", restrictions: ["enum"]}, {name: "-ms-content-zoom-limit", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>", relevance: 0, description: "Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.", restrictions: ["percentage"]}, {name: "-ms-content-zoom-limit-max", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<percentage>", relevance: 0, description: "Specifies the maximum zoom factor.", restrictions: ["percentage"]}, {name: "-ms-content-zoom-limit-min", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<percentage>", relevance: 0, description: "Specifies the minimum zoom factor.", restrictions: ["percentage"]}, {name: "-ms-content-zoom-snap", browsers: ["E", "IE10"], values: [{name: "mandatory", description: "Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."}, {name: "none", description: "Indicates that zooming is unaffected by any defined snap-points."}, {name: "proximity", description: 'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}, {name: "snapInterval(100%, 100%)", description: "Specifies where the snap-points will be placed."}, {name: "snapList()", description: "Specifies the position of individual snap-points as a comma-separated list of zoom factors."}], status: "nonstandard", syntax: "<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>", relevance: 0, description: "Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."}, {name: "-ms-content-zoom-snap-points", browsers: ["E", "IE10"], values: [{name: "snapInterval(100%, 100%)", description: "Specifies where the snap-points will be placed."}, {name: "snapList()", description: "Specifies the position of individual snap-points as a comma-separated list of zoom factors."}], status: "nonstandard", syntax: "snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )", relevance: 0, description: "Defines where zoom snap-points are located."}, {name: "-ms-content-zoom-snap-type", browsers: ["E", "IE10"], values: [{name: "mandatory", description: "Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."}, {name: "none", description: "Indicates that zooming is unaffected by any defined snap-points."}, {name: "proximity", description: 'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}], status: "nonstandard", syntax: "none | proximity | mandatory", relevance: 0, description: "Specifies how zooming is affected by defined snap-points.", restrictions: ["enum"]}, {name: "-ms-filter", browsers: ["IE8-9"], status: "nonstandard", syntax: "<string>", relevance: 0, description: "IE only. Used to produce visual effects.", restrictions: ["string"]}, {name: "-ms-flex", browsers: ["IE10"], values: [{name: "auto", description: "Retrieves the value of the main size property as the used 'flex-basis'."}, {name: "none", description: "Expands to '0 0 auto'."}], relevance: 50, description: "specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.", restrictions: ["length", "number", "percentage"]}, {name: "-ms-flex-align", browsers: ["IE10"], values: [{name: "baseline", description: "If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item\u2019s margin box is centered in the cross axis within the line."}, {name: "end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "start", description: "The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}], relevance: 50, description: "Aligns flex items along the cross axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "-ms-flex-direction", browsers: ["IE10"], values: [{name: "column", description: "The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "row", description: "The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "row-reverse", description: "Same as 'row', except the main-start and main-end directions are swapped."}], relevance: 50, description: "Specifies how flex items are placed in the flex container, by setting the direction of the flex container\u2019s main axis.", restrictions: ["enum"]}, {name: "-ms-flex-flow", browsers: ["IE10"], values: [{name: "column", description: "The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."}, {name: "column-reverse", description: "Same as 'column', except the main-start and main-end directions are swapped."}, {name: "nowrap", description: "The flex container is single-line."}, {name: "row", description: "The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], relevance: 50, description: "Specifies how flexbox items are placed in the flexbox.", restrictions: ["enum"]}, {name: "-ms-flex-item-align", browsers: ["IE10"], values: [{name: "auto", description: "Computes to the value of 'align-items' on the element\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."}, {name: "baseline", description: "If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."}, {name: "center", description: "The flex item\u2019s margin box is centered in the cross axis within the line."}, {name: "end", description: "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."}, {name: "start", description: "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."}, {name: "stretch", description: "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}], relevance: 50, description: "Allows the default alignment along the cross axis to be overridden for individual flex items.", restrictions: ["enum"]}, {name: "-ms-flex-line-pack", browsers: ["IE10"], values: [{name: "center", description: "Lines are packed toward the center of the flex container."}, {name: "distribute", description: "Lines are evenly distributed in the flex container, with half-size spaces on either end."}, {name: "end", description: "Lines are packed toward the end of the flex container."}, {name: "justify", description: "Lines are evenly distributed in the flex container."}, {name: "start", description: "Lines are packed toward the start of the flex container."}, {name: "stretch", description: "Lines stretch to take up the remaining space."}], relevance: 50, description: "Aligns a flex container\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.", restrictions: ["enum"]}, {name: "-ms-flex-order", browsers: ["IE10"], relevance: 50, description: "Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.", restrictions: ["integer"]}, {name: "-ms-flex-pack", browsers: ["IE10"], values: [{name: "center", description: "Flex items are packed toward the center of the line."}, {name: "distribute", description: "Flex items are evenly distributed in the line, with half-size spaces on either end."}, {name: "end", description: "Flex items are packed toward the end of the line."}, {name: "justify", description: "Flex items are evenly distributed in the line."}, {name: "start", description: "Flex items are packed toward the start of the line."}], relevance: 50, description: "Aligns flex items along the main axis of the current line of the flex container.", restrictions: ["enum"]}, {name: "-ms-flex-wrap", browsers: ["IE10"], values: [{name: "nowrap", description: "The flex container is single-line."}, {name: "wrap", description: "The flexbox is multi-line."}, {name: "wrap-reverse", description: "Same as 'wrap', except the cross-start and cross-end directions are swapped."}], relevance: 50, description: "Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.", restrictions: ["enum"]}, {name: "-ms-flow-from", browsers: ["E", "IE10"], values: [{name: "none", description: "The block container is not a CSS Region."}], status: "nonstandard", syntax: "[ none | <custom-ident> ]#", relevance: 0, description: "Makes a block container a region and associates it with a named flow.", restrictions: ["identifier"]}, {name: "-ms-flow-into", browsers: ["E", "IE10"], values: [{name: "none", description: "The element is not moved to a named flow and normal CSS processing takes place."}], status: "nonstandard", syntax: "[ none | <custom-ident> ]#", relevance: 0, description: "Places an element or its contents into a named flow.", restrictions: ["identifier"]}, {name: "-ms-grid-column", browsers: ["E12", "IE10"], values: [{name: "auto"}, {name: "end"}, {name: "start"}], relevance: 50, description: "Used to place grid items and explicitly defined grid cells in the Grid.", restrictions: ["integer", "string", "enum"]}, {name: "-ms-grid-column-align", browsers: ["E12", "IE10"], values: [{name: "center", description: "Places the center of the Grid Item's margin box at the center of the Grid Item's column."}, {name: "end", description: "Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."}, {name: "start", description: "Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."}, {name: "stretch", description: "Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}], relevance: 50, description: "Aligns the columns in a grid.", restrictions: ["enum"]}, {name: "-ms-grid-columns", browsers: ["E12", "IE10"], relevance: 50, description: "Lays out the columns of the grid."}, {name: "-ms-grid-column-span", browsers: ["E12", "IE10"], relevance: 50, description: "Specifies the number of columns to span.", restrictions: ["integer"]}, {name: "-ms-grid-layer", browsers: ["E", "IE10"], relevance: 50, description: "Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.", restrictions: ["integer"]}, {name: "-ms-grid-row", browsers: ["E12", "IE10"], values: [{name: "auto"}, {name: "end"}, {name: "start"}], relevance: 50, description: "grid-row is used to place grid items and explicitly defined grid cells in the Grid.", restrictions: ["integer", "string", "enum"]}, {name: "-ms-grid-row-align", browsers: ["E12", "IE10"], values: [{name: "center", description: "Places the center of the Grid Item's margin box at the center of the Grid Item's row."}, {name: "end", description: "Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."}, {name: "start", description: "Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."}, {name: "stretch", description: "Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}], relevance: 50, description: "Aligns the rows in a grid.", restrictions: ["enum"]}, {name: "-ms-grid-rows", browsers: ["E12", "IE10"], relevance: 50, description: "Lays out the columns of the grid."}, {name: "-ms-grid-row-span", browsers: ["E12", "IE10"], relevance: 50, description: "Specifies the number of rows to span.", restrictions: ["integer"]}, {name: "-ms-high-contrast-adjust", browsers: ["E", "IE10"], values: [{name: "auto", description: "Properties will be adjusted as applicable."}, {name: "none", description: "No adjustments will be applied."}], status: "nonstandard", syntax: "auto | none", relevance: 0, description: "Specifies if properties should be adjusted in high contrast mode.", restrictions: ["enum"]}, {name: "-ms-hyphenate-limit-chars", browsers: ["E", "IE10"], values: [{name: "auto", description: "The user agent chooses a value that adapts to the current layout."}], status: "nonstandard", syntax: "auto | <integer>{1,3}", relevance: 0, description: "Specifies the minimum number of characters in a hyphenated word.", restrictions: ["integer"]}, {name: "-ms-hyphenate-limit-lines", browsers: ["E", "IE10"], values: [{name: "no-limit", description: "There is no limit."}], status: "nonstandard", syntax: "no-limit | <integer>", relevance: 0, description: "Indicates the maximum number of successive hyphenated lines in an element.", restrictions: ["integer"]}, {name: "-ms-hyphenate-limit-zone", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<percentage> | <length>", relevance: 0, description: "Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.", restrictions: ["percentage", "length"]}, {name: "-ms-hyphens", browsers: ["E", "IE10"], values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], relevance: 50, description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "-ms-ime-mode", browsers: ["IE10"], values: [{name: "active", description: "The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."}, {name: "auto", description: "No change is made to the current input method editor state. This is the default."}, {name: "disabled", description: "The input method editor is disabled and may not be activated by the user."}, {name: "inactive", description: "The input method editor is initially inactive, but the user may activate it if they wish."}, {name: "normal", description: "The IME state should be normal; this value can be used in a user style sheet to override the page setting."}], relevance: 50, description: "Controls the state of the input method editor for text fields.", restrictions: ["enum"]}, {name: "-ms-interpolation-mode", browsers: ["IE7"], values: [{name: "bicubic"}, {name: "nearest-neighbor"}], relevance: 50, description: "Gets or sets the interpolation (resampling) method used to stretch images.", restrictions: ["enum"]}, {name: "-ms-layout-grid", browsers: ["E", "IE10"], values: [{name: "char", description: "Any of the range of character values available to the -ms-layout-grid-char property."}, {name: "line", description: "Any of the range of line values available to the -ms-layout-grid-line property."}, {name: "mode", description: "Any of the range of mode values available to the -ms-layout-grid-mode property."}, {name: "type", description: "Any of the range of type values available to the -ms-layout-grid-type property."}], relevance: 50, description: "Sets or retrieves the composite document grid properties that specify the layout of text characters."}, {name: "-ms-layout-grid-char", browsers: ["E", "IE10"], values: [{name: "auto", description: "Largest character in the font of the element is used to set the character grid."}, {name: "none", description: "Default. No character grid is set."}], relevance: 50, description: "Sets or retrieves the size of the character grid used for rendering the text content of an element.", restrictions: ["enum", "length", "percentage"]}, {name: "-ms-layout-grid-line", browsers: ["E", "IE10"], values: [{name: "auto", description: "Largest character in the font of the element is used to set the character grid."}, {name: "none", description: "Default. No grid line is set."}], relevance: 50, description: "Sets or retrieves the gridline value used for rendering the text content of an element.", restrictions: ["length"]}, {name: "-ms-layout-grid-mode", browsers: ["E", "IE10"], values: [{name: "both", description: "Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."}, {name: "char", description: "Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."}, {name: "line", description: "Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."}, {name: "none", description: "No grid is used."}], relevance: 50, description: "Gets or sets whether the text layout grid uses two dimensions.", restrictions: ["enum"]}, {name: "-ms-layout-grid-type", browsers: ["E", "IE10"], values: [{name: "fixed", description: "Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."}, {name: "loose", description: "Default. Grid used for Japanese and Korean characters."}, {name: "strict", description: "Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}], relevance: 50, description: "Sets or retrieves the type of grid used for rendering the text content of an element.", restrictions: ["enum"]}, {name: "-ms-line-break", browsers: ["E", "IE10"], values: [{name: "auto", description: "The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."}, {name: "keep-all", description: "Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."}, {name: "newspaper", description: "Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."}, {name: "normal", description: "Breaks CJK scripts using a normal set of line-breaking rules."}, {name: "strict", description: "Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}], relevance: 50, description: "Specifies what set of line breaking restrictions are in effect within the element.", restrictions: ["enum"]}, {name: "-ms-overflow-style", browsers: ["E", "IE10"], values: [{name: "auto", description: "No preference, UA should use the first scrolling method in the list that it supports."}, {name: "-ms-autohiding-scrollbar", description: "Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."}, {name: "none", description: "Indicates the element does not display scrollbars or panning indicators, even when its content overflows."}, {name: "scrollbar", description: 'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}], status: "nonstandard", syntax: "auto | none | scrollbar | -ms-autohiding-scrollbar", relevance: 0, description: "Specify whether content is clipped when it overflows the element's content area.", restrictions: ["enum"]}, {name: "-ms-perspective", browsers: ["IE10"], values: [{name: "none", description: "No perspective transform is applied."}], relevance: 50, description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length"]}, {name: "-ms-perspective-origin", browsers: ["IE10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-ms-perspective-origin-x", browsers: ["IE10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-ms-perspective-origin-y", browsers: ["IE10"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-ms-progress-appearance", browsers: ["IE10"], values: [{name: "bar"}, {name: "ring"}], relevance: 50, description: "Gets or sets a value that specifies whether a progress control displays as a bar or a ring.", restrictions: ["enum"]}, {name: "-ms-scrollbar-3dlight-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-arrow-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the arrow elements of a scroll arrow.", restrictions: ["color"]}, {name: "-ms-scrollbar-base-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.", restrictions: ["color"]}, {name: "-ms-scrollbar-darkshadow-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the gutter of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-face-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-highlight-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-shadow-color", browsers: ["IE8"], status: "nonstandard", syntax: "<color>", relevance: 0, description: "Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scrollbar-track-color", browsers: ["IE5"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}], description: "Determines the color of the track element of a scroll bar.", restrictions: ["color"]}, {name: "-ms-scroll-chaining", browsers: ["E", "IE10"], values: [{name: "chained"}, {name: "none"}], status: "nonstandard", syntax: "chained | none", relevance: 0, description: "Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.", restrictions: ["enum", "length"]}, {name: "-ms-scroll-limit", browsers: ["E", "IE10"], values: [{name: "auto"}], status: "nonstandard", syntax: "<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>", relevance: 0, description: "Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.", restrictions: ["length"]}, {name: "-ms-scroll-limit-x-max", browsers: ["E", "IE10"], values: [{name: "auto"}], status: "nonstandard", syntax: "auto | <length>", relevance: 0, description: "Gets or sets a value that specifies the maximum value for the scrollLeft property.", restrictions: ["length"]}, {name: "-ms-scroll-limit-x-min", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<length>", relevance: 0, description: "Gets or sets a value that specifies the minimum value for the scrollLeft property.", restrictions: ["length"]}, {name: "-ms-scroll-limit-y-max", browsers: ["E", "IE10"], values: [{name: "auto"}], status: "nonstandard", syntax: "auto | <length>", relevance: 0, description: "Gets or sets a value that specifies the maximum value for the scrollTop property.", restrictions: ["length"]}, {name: "-ms-scroll-limit-y-min", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<length>", relevance: 0, description: "Gets or sets a value that specifies the minimum value for the scrollTop property.", restrictions: ["length"]}, {name: "-ms-scroll-rails", browsers: ["E", "IE10"], values: [{name: "none"}, {name: "railed"}], status: "nonstandard", syntax: "none | railed", relevance: 0, description: "Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).", restrictions: ["enum", "length"]}, {name: "-ms-scroll-snap-points-x", browsers: ["E", "IE10"], values: [{name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )", relevance: 0, description: "Gets or sets a value that defines where snap-points will be located along the x-axis.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-points-y", browsers: ["E", "IE10"], values: [{name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )", relevance: 0, description: "Gets or sets a value that defines where snap-points will be located along the y-axis.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-type", browsers: ["E", "IE10"], values: [{name: "none", description: "The visual viewport of this scroll container must ignore snap points, if any, when scrolled."}, {name: "mandatory", description: "The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."}, {name: "proximity", description: "The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}], status: "nonstandard", syntax: "none | proximity | mandatory", relevance: 0, description: "Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-x", browsers: ["E", "IE10"], values: [{name: "mandatory"}, {name: "none"}, {name: "proximity"}, {name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>", relevance: 0, description: "Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.", restrictions: ["enum"]}, {name: "-ms-scroll-snap-y", browsers: ["E", "IE10"], values: [{name: "mandatory"}, {name: "none"}, {name: "proximity"}, {name: "snapInterval(100%, 100%)"}, {name: "snapList()"}], status: "nonstandard", syntax: "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>", relevance: 0, description: "Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.", restrictions: ["enum"]}, {name: "-ms-scroll-translation", browsers: ["E", "IE10"], values: [{name: "none"}, {name: "vertical-to-horizontal"}], status: "nonstandard", syntax: "none | vertical-to-horizontal", relevance: 0, description: "Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.", restrictions: ["enum"]}, {name: "-ms-text-align-last", browsers: ["E", "IE8"], values: [{name: "auto"}, {name: "center", description: "The inline contents are centered within the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}], relevance: 50, description: "Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.", restrictions: ["enum"]}, {name: "-ms-text-autospace", browsers: ["E", "IE8"], values: [{name: "ideograph-alpha", description: "Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."}, {name: "ideograph-numeric", description: "Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."}, {name: "ideograph-parenthesis", description: "Creates extra spacing between normal (non wide) parenthesis and ideographs."}, {name: "ideograph-space", description: "Extends the width of the space character while surrounded by ideographs."}, {name: "none", description: "No extra space is created."}, {name: "punctuation", description: "Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}], status: "nonstandard", syntax: "none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space", relevance: 0, description: "Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.", restrictions: ["enum"]}, {name: "-ms-text-combine-horizontal", browsers: ["E", "IE11"], values: [{name: "all", description: "Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."}, {name: "digits", description: "Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030\u2013U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."}, {name: "none", description: "No special processing."}], relevance: 50, description: "This property specifies the combination of multiple characters into the space of a single character.", restrictions: ["enum", "integer"]}, {name: "-ms-text-justify", browsers: ["E", "IE8"], values: [{name: "auto", description: "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."}, {name: "distribute", description: "Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."}, {name: "inter-cluster", description: "Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."}, {name: "inter-ideograph", description: "Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."}, {name: "inter-word", description: "Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."}, {name: "kashida", description: "Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}], relevance: 50, description: "Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.", restrictions: ["enum"]}, {name: "-ms-text-kashida-space", browsers: ["E", "IE10"], relevance: 50, description: "Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.", restrictions: ["percentage"]}, {name: "-ms-text-overflow", browsers: ["IE10"], values: [{name: "clip", description: "Clip inline content that overflows. Characters may be only partially rendered."}, {name: "ellipsis", description: "Render an ellipsis character (U+2026) to represent clipped inline content."}], relevance: 50, description: "Text can overflow for example when it is prevented from wrapping", restrictions: ["enum"]}, {name: "-ms-text-size-adjust", browsers: ["E", "IE10"], values: [{name: "auto", description: "Renderers must use the default size adjustment when displaying on a small device."}, {name: "none", description: "Renderers must not do size adjustment when displaying on a small device."}], relevance: 50, description: "Specifies a size adjustment for displaying text content in mobile browsers.", restrictions: ["enum", "percentage"]}, {name: "-ms-text-underline-position", browsers: ["E", "IE10"], values: [{name: "alphabetic", description: "The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."}, {name: "auto", description: "The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."}, {name: "over", description: "The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."}, {name: "under", description: "The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}], relevance: 50, description: "Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text", restrictions: ["enum"]}, {name: "-ms-touch-action", browsers: ["IE10"], values: [{name: "auto", description: "The element is a passive element, with several exceptions."}, {name: "double-tap-zoom", description: "The element will zoom on double-tap."}, {name: "manipulation", description: "The element is a manipulation-causing element."}, {name: "none", description: "The element is a manipulation-blocking element."}, {name: "pan-x", description: "The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."}, {name: "pan-y", description: "The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."}, {name: "pinch-zoom", description: "The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}], relevance: 50, description: "Gets or sets a value that indicates whether and how a given region can be manipulated by the user.", restrictions: ["enum"]}, {name: "-ms-touch-select", browsers: ["E", "IE10"], values: [{name: "grippers", description: "Grippers are always on."}, {name: "none", description: "Grippers are always off."}], status: "nonstandard", syntax: "grippers | none", relevance: 0, description: "Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.", restrictions: ["enum"]}, {name: "-ms-transform", browsers: ["IE9-9"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-ms-transform-origin", browsers: ["IE9-9"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "-ms-transform-origin-x", browsers: ["IE10"], relevance: 50, description: "The x coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-ms-transform-origin-y", browsers: ["IE10"], relevance: 50, description: "The y coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-ms-transform-origin-z", browsers: ["IE10"], relevance: 50, description: "The z coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-ms-user-select", browsers: ["E", "IE10"], values: [{name: "element"}, {name: "none"}, {name: "text"}], status: "nonstandard", syntax: "none | element | text", relevance: 0, description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "-ms-word-break", browsers: ["IE8"], values: [{name: "break-all", description: "Lines may break between any two grapheme clusters for non-CJK scripts."}, {name: "keep-all", description: "Block characters can no longer create implied break points."}, {name: "normal", description: "Breaks non-CJK scripts according to their own rules."}], relevance: 50, description: "Specifies line break opportunities for non-CJK scripts.", restrictions: ["enum"]}, {name: "-ms-word-wrap", browsers: ["IE8"], values: [{name: "break-word", description: "An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."}, {name: "normal", description: "Lines may break only at allowed break points."}], relevance: 50, description: "Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.", restrictions: ["enum"]}, {name: "-ms-wrap-flow", browsers: ["E", "IE10"], values: [{name: "auto", description: "For floats an exclusion is created, for all other elements an exclusion is not created."}, {name: "both", description: "Inline flow content can flow on all sides of the exclusion."}, {name: "clear", description: "Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."}, {name: "end", description: "Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."}, {name: "maximum", description: "Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."}, {name: "minimum", description: "Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content\u2019s containing block, and must leave the other edge of the exclusion empty."}, {name: "start", description: "Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}], status: "nonstandard", syntax: "auto | both | start | end | maximum | clear", relevance: 0, description: "An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.", restrictions: ["enum"]}, {name: "-ms-wrap-margin", browsers: ["E", "IE10"], status: "nonstandard", syntax: "<length>", relevance: 0, description: "Gets or sets a value that is used to offset the inner wrap shape from other shapes.", restrictions: ["length", "percentage"]}, {name: "-ms-wrap-through", browsers: ["E", "IE10"], values: [{name: "none", description: "The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."}, {name: "wrap", description: "The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}], status: "nonstandard", syntax: "wrap | none", relevance: 0, description: "Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.", restrictions: ["enum"]}, {name: "-ms-writing-mode", browsers: ["IE8"], values: [{name: "bt-lr"}, {name: "bt-rl"}, {name: "lr-bt"}, {name: "lr-tb"}, {name: "rl-bt"}, {name: "rl-tb"}, {name: "tb-lr"}, {name: "tb-rl"}], relevance: 50, description: "Shorthand property for both 'direction' and 'block-progression'.", restrictions: ["enum"]}, {name: "-ms-zoom", browsers: ["IE8"], values: [{name: "normal"}], relevance: 50, description: "Sets or retrieves the magnification scale of the object.", restrictions: ["enum", "integer", "number", "percentage"]}, {name: "-ms-zoom-animation", browsers: ["IE10"], values: [{name: "default"}, {name: "none"}], relevance: 50, description: "Gets or sets a value that indicates whether an animation is used when zooming.", restrictions: ["enum"]}, {name: "nav-down", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "nav-index", browsers: ["O9.5"], values: [{name: "auto", description: "The element's sequential navigation order is assigned automatically by the user agent."}], relevance: 50, description: "Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').", restrictions: ["number"]}, {name: "nav-left", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "nav-right", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "nav-up", browsers: ["O9.5"], values: [{name: "auto", description: "The user agent automatically determines which element to navigate the focus to in response to directional navigational input."}, {name: "current", description: "Indicates that the user agent should target the frame that the element is in."}, {name: "root", description: "Indicates that the user agent should target the full window."}], relevance: 50, description: "Provides an way to control directional focus navigation.", restrictions: ["enum", "identifier", "string"]}, {name: "negative", browsers: ["FF33"], syntax: "<symbol> <symbol>?", relevance: 50, description: "@counter-style descriptor. Defines how to alter the representation when the counter value is negative.", restrictions: ["image", "identifier", "string"]}, {name: "-o-animation", browsers: ["O12"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "enum", "timing-function", "identifier", "number"]}, {name: "-o-animation-delay", browsers: ["O12"], relevance: 50, description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "-o-animation-direction", browsers: ["O12"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "-o-animation-duration", browsers: ["O12"], relevance: 50, description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "-o-animation-fill-mode", browsers: ["O12"], values: [{name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "none", description: "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}], relevance: 50, description: "Defines what values are applied by the animation outside the time it is executing.", restrictions: ["enum"]}, {name: "-o-animation-iteration-count", browsers: ["O12"], values: [{name: "infinite", description: "Causes the animation to repeat forever."}], relevance: 50, description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "-o-animation-name", browsers: ["O12"], values: [{name: "none", description: "No animation is performed"}], relevance: 50, description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "-o-animation-play-state", browsers: ["O12"], values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], relevance: 50, description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "-o-animation-timing-function", browsers: ["O12"], relevance: 50, description: "Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.", restrictions: ["timing-function"]}, {name: "object-fit", browsers: ["E16", "FF36", "S10", "C31", "O19"], values: [{name: "contain", description: "The replaced content is sized to maintain its aspect ratio while fitting within the element\u2019s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."}, {name: "cover", description: "The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element\u2019s used width and height."}, {name: "fill", description: "The replaced content is sized to fill the element\u2019s content box: the object's concrete object size is the element's used width and height."}, {name: "none", description: "The replaced content is not resized to fit inside the element's content box"}, {name: "scale-down", description: "Size the content as if \u2018none\u2019 or \u2018contain\u2019 were specified, whichever would result in a smaller concrete object size."}], syntax: "fill | contain | cover | none | scale-down", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/object-fit"}], description: "Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.", restrictions: ["enum"]}, {name: "object-position", browsers: ["E16", "FF36", "S10", "C31", "O19"], syntax: "<position>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/object-position"}], description: "Determines the alignment of the replaced element inside its box.", restrictions: ["position", "length", "percentage"]}, {name: "-o-border-image", browsers: ["O11.6"], values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none"}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}], relevance: 50, description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "image", "enum"]}, {name: "-o-object-fit", browsers: ["O10.6"], values: [{name: "contain", description: "The replaced content is sized to maintain its aspect ratio while fitting within the element\u2019s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."}, {name: "cover", description: "The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element\u2019s used width and height."}, {name: "fill", description: "The replaced content is sized to fill the element\u2019s content box: the object's concrete object size is the element's used width and height."}, {name: "none", description: "The replaced content is not resized to fit inside the element's content box"}, {name: "scale-down", description: "Size the content as if \u2018none\u2019 or \u2018contain\u2019 were specified, whichever would result in a smaller concrete object size."}], relevance: 50, description: "Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.", restrictions: ["enum"]}, {name: "-o-object-position", browsers: ["O10.6"], relevance: 50, description: "Determines the alignment of the replaced element inside its box.", restrictions: ["position", "length", "percentage"]}, {name: "opacity", syntax: "<alpha-value>", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/opacity"}], description: "Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.", restrictions: ["number(0-1)"]}, {name: "order", syntax: "<integer>", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/order"}], description: "Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.", restrictions: ["integer"]}, {name: "orphans", browsers: ["E12", "S1.3", "C25", "IE8", "O9.2"], syntax: "<integer>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/orphans"}], description: "Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.", restrictions: ["integer"]}, {name: "-o-table-baseline", browsers: ["O9.6"], relevance: 50, description: "Determines which row of a inline-table should be used as baseline of inline-table.", restrictions: ["integer"]}, {name: "-o-tab-size", browsers: ["O10.6"], relevance: 50, description: "This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.", restrictions: ["integer", "length"]}, {name: "-o-text-overflow", browsers: ["O10"], values: [{name: "clip", description: "Clip inline content that overflows. Characters may be only partially rendered."}, {name: "ellipsis", description: "Render an ellipsis character (U+2026) to represent clipped inline content."}], relevance: 50, description: "Text can overflow for example when it is prevented from wrapping", restrictions: ["enum"]}, {name: "-o-transform", browsers: ["O10.5"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-o-transform-origin", browsers: ["O10.5"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["positon", "length", "percentage"]}, {name: "-o-transition", browsers: ["O11.5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "-o-transition-delay", browsers: ["O11.5"], relevance: 50, description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "-o-transition-duration", browsers: ["O11.5"], relevance: 50, description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "-o-transition-property", browsers: ["O11.5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "-o-transition-timing-function", browsers: ["O11.5"], relevance: 50, description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "offset-block-end", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "offset-block-start", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "offset-inline-end", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "offset-inline-start", browsers: ["FF41"], values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}], relevance: 50, description: "Logical 'left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "outline", values: [{name: "auto", description: "Permits the user agent to render a custom outline style, typically the default platform style."}, {name: "invert", description: "Performs a color inversion on the pixels on the screen."}], syntax: "[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline"}], description: "Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.", restrictions: ["length", "line-width", "line-style", "color", "enum"]}, {name: "outline-color", values: [{name: "invert", description: "Performs a color inversion on the pixels on the screen."}], syntax: "<color> | invert", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-color"}], description: "The color of the outline.", restrictions: ["enum", "color"]}, {name: "outline-offset", browsers: ["E15", "FF1.5", "S1.2", "C1", "O9.5"], syntax: "<length>", relevance: 59, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-offset"}], description: "Offset the outline and draw it beyond the border edge.", restrictions: ["length"]}, {name: "outline-style", values: [{name: "auto", description: "Permits the user agent to render a custom outline style, typically the default platform style."}], syntax: "auto | <'border-style'>", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-style"}], description: "Style of the outline.", restrictions: ["line-style", "enum"]}, {name: "outline-width", syntax: "<line-width>", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/outline-width"}], description: "Width of the outline.", restrictions: ["length", "line-width"]}, {name: "overflow", values: [{name: "auto", description: "The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."}, {name: "hidden", description: "Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."}, {name: "-moz-hidden-unscrollable", description: "Same as the standardized 'clip', except doesn\u2019t establish a block formatting context."}, {name: "scroll", description: "Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."}, {name: "visible", description: "Content is not clipped, i.e., it may be rendered outside the content box."}], syntax: "[ visible | hidden | clip | scroll | auto ]{1,2}", relevance: 92, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow"}], description: "Shorthand for setting 'overflow-x' and 'overflow-y'.", restrictions: ["enum"]}, {name: "overflow-wrap", values: [{name: "break-word", description: "An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."}, {name: "normal", description: "Lines may break only at allowed break points."}], syntax: "normal | break-word | anywhere", relevance: 63, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}], description: "Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.", restrictions: ["enum"]}, {name: "overflow-x", values: [{name: "auto", description: "The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."}, {name: "hidden", description: "Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."}, {name: "scroll", description: "Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."}, {name: "visible", description: "Content is not clipped, i.e., it may be rendered outside the content box."}], syntax: "visible | hidden | clip | scroll | auto", relevance: 79, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-x"}], description: "Specifies the handling of overflow in the horizontal direction.", restrictions: ["enum"]}, {name: "overflow-y", values: [{name: "auto", description: "The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."}, {name: "hidden", description: "Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."}, {name: "scroll", description: "Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."}, {name: "visible", description: "Content is not clipped, i.e., it may be rendered outside the content box."}], syntax: "visible | hidden | clip | scroll | auto", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-y"}], description: "Specifies the handling of overflow in the vertical direction.", restrictions: ["enum"]}, {name: "pad", browsers: ["FF33"], syntax: "<integer> && <symbol>", relevance: 50, description: "@counter-style descriptor. Specifies a \u201Cfixed-width\u201D counter style, where representations shorter than the pad value are padded with a particular <symbol>", restrictions: ["integer", "image", "string", "identifier"]}, {name: "padding", values: [], syntax: "[ <length> | <percentage> ]{1,4}", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-bottom", syntax: "<length> | <percentage>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-block-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}], description: "Logical 'padding-bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-block-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}], description: "Logical 'padding-top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-inline-end", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}], description: "Logical 'padding-right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-inline-start", browsers: ["E79", "FF41", "S12.1", "C69", "O56"], syntax: "<'padding-left'>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}], description: "Logical 'padding-left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.", restrictions: ["length", "percentage"]}, {name: "padding-left", syntax: "<length> | <percentage>", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-left"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-right", syntax: "<length> | <percentage>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-right"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "padding-top", syntax: "<length> | <percentage>", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-top"}], description: "Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.", restrictions: ["length", "percentage"]}, {name: "page-break-after", values: [{name: "always", description: "Always force a page break after the generated box."}, {name: "auto", description: "Neither force nor forbid a page break after generated box."}, {name: "avoid", description: "Avoid a page break after the generated box."}, {name: "left", description: "Force one or two page breaks after the generated box so that the next page is formatted as a left page."}, {name: "right", description: "Force one or two page breaks after the generated box so that the next page is formatted as a right page."}], syntax: "auto | always | avoid | left | right | recto | verso", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/page-break-after"}], description: "Defines rules for page breaks after an element.", restrictions: ["enum"]}, {name: "page-break-before", values: [{name: "always", description: "Always force a page break before the generated box."}, {name: "auto", description: "Neither force nor forbid a page break before the generated box."}, {name: "avoid", description: "Avoid a page break before the generated box."}, {name: "left", description: "Force one or two page breaks before the generated box so that the next page is formatted as a left page."}, {name: "right", description: "Force one or two page breaks before the generated box so that the next page is formatted as a right page."}], syntax: "auto | always | avoid | left | right | recto | verso", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/page-break-before"}], description: "Defines rules for page breaks before an element.", restrictions: ["enum"]}, {name: "page-break-inside", values: [{name: "auto", description: "Neither force nor forbid a page break inside the generated box."}, {name: "avoid", description: "Avoid a page break inside the generated box."}], syntax: "auto | avoid", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}], description: "Defines rules for page breaks inside an element.", restrictions: ["enum"]}, {name: "paint-order", browsers: ["E17", "FF60", "S8", "C35", "O22"], values: [{name: "fill"}, {name: "markers"}, {name: "normal", description: "The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."}, {name: "stroke"}], syntax: "normal | [ fill || stroke || markers ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/paint-order"}], description: "Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.", restrictions: ["enum"]}, {name: "perspective", values: [{name: "none", description: "No perspective transform is applied."}], syntax: "none | <length>", relevance: 55, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/perspective"}], description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length", "enum"]}, {name: "perspective-origin", syntax: "<position>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}], description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "pointer-events", values: [{name: "all", description: "The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."}, {name: "fill", description: "The given element can be the target element for pointer events whenever the pointer is over the interior of the element."}, {name: "none", description: "The given element does not receive pointer events."}, {name: "painted", description: 'The given element can be the target element for pointer events when the pointer is over a "painted" area. '}, {name: "stroke", description: "The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."}, {name: "visible", description: "The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and the pointer is over either the interior or the perimete of the element."}, {name: "visibleFill", description: "The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over the interior of the element."}, {name: "visiblePainted", description: "The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over a \u2018painted\u2019 area."}, {name: "visibleStroke", description: "The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over the perimeter of the element."}], syntax: "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit", relevance: 80, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/pointer-events"}], description: "Specifies under what circumstances a given element can be the target element for a pointer event.", restrictions: ["enum"]}, {name: "position", values: [{name: "absolute", description: "The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."}, {name: "fixed", description: "The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."}, {name: "-ms-page", description: "The box's position is calculated according to the 'absolute' model."}, {name: "relative", description: "The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."}, {name: "static", description: "The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."}, {name: "sticky", description: "The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}, {name: "-webkit-sticky", description: "The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}], syntax: "static | relative | absolute | sticky | fixed", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/position"}], description: "The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.", restrictions: ["enum"]}, {name: "prefix", browsers: ["FF33"], syntax: "<symbol>", relevance: 50, description: "@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.", restrictions: ["image", "string", "identifier"]}, {name: "quotes", values: [{name: "none", description: "The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}], syntax: "none | auto | [ <string> <string> ]+", relevance: 53, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/quotes"}], description: "Specifies quotation marks for any number of embedded quotations.", restrictions: ["string"]}, {name: "range", browsers: ["FF33"], values: [{name: "auto", description: "The range depends on the counter system."}, {name: "infinite", description: "If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}], syntax: "[ [ <integer> | infinite ]{2} ]# | auto", relevance: 50, description: "@counter-style descriptor. Defines the ranges over which the counter style is defined.", restrictions: ["integer", "enum"]}, {name: "resize", browsers: ["E79", "FF4", "S3", "C1", "O12.1"], values: [{name: "both", description: "The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."}, {name: "horizontal", description: "The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."}, {name: "none", description: "The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."}, {name: "vertical", description: "The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}], syntax: "none | both | horizontal | vertical | block | inline", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/resize"}], description: "Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.", restrictions: ["enum"]}, {name: "right", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 90, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/right"}], description: "Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "ruby-align", browsers: ["FF38"], values: [{name: "auto", browsers: ["FF38"], description: "The user agent determines how the ruby contents are aligned. This is the initial value."}, {name: "center", description: "The ruby content is centered within its box."}, {name: "distribute-letter", browsers: ["FF38"], description: "If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."}, {name: "distribute-space", browsers: ["FF38"], description: "If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."}, {name: "left", description: "The ruby text content is aligned with the start edge of the base."}, {name: "line-edge", browsers: ["FF38"], description: "If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."}, {name: "right", browsers: ["FF38"], description: "The ruby text content is aligned with the end edge of the base."}, {name: "start", browsers: ["FF38"], description: "The ruby text content is aligned with the start edge of the base."}, {name: "space-between", browsers: ["FF38"], description: "The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"}, {name: "space-around", browsers: ["FF38"], description: "As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}], status: "experimental", syntax: "start | center | space-between | space-around", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/ruby-align"}], description: "Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.", restrictions: ["enum"]}, {name: "ruby-overhang", browsers: ["FF10", "IE5"], values: [{name: "auto", description: "The ruby text can overhang text adjacent to the base on either side. This is the initial value."}, {name: "end", description: "The ruby text can overhang the text that follows it."}, {name: "none", description: "The ruby text cannot overhang any text adjacent to its base, only its own base."}, {name: "start", description: "The ruby text can overhang the text that precedes it."}], relevance: 50, description: "Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.", restrictions: ["enum"]}, {name: "ruby-position", browsers: ["E12", "FF38"], values: [{name: "after", description: "The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."}, {name: "before", description: "The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."}, {name: "inline"}, {name: "right", description: "The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}], status: "experimental", syntax: "over | under | inter-character", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/ruby-position"}], description: "Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.", restrictions: ["enum"]}, {name: "ruby-span", browsers: ["FF10"], values: [{name: "attr(x)", description: "The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."}, {name: "none", description: "No spanning. The computed value is '1'."}], relevance: 50, description: "Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.", restrictions: ["enum"]}, {name: "scrollbar-3dlight-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}], description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-arrow-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}], description: "Determines the color of the arrow elements of a scroll arrow.", restrictions: ["color"]}, {name: "scrollbar-base-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}], description: "Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.", restrictions: ["color"]}, {name: "scrollbar-darkshadow-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}], description: "Determines the color of the gutter of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-face-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}], description: "Determines the color of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-highlight-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}], description: "Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-shadow-color", browsers: ["IE5"], relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}], description: "Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.", restrictions: ["color"]}, {name: "scrollbar-track-color", browsers: ["IE6"], relevance: 50, description: "Determines the color of the track element of a scroll bar.", restrictions: ["color"]}, {name: "scroll-behavior", browsers: ["E79", "FF36", "C61", "O48"], values: [{name: "auto", description: "Scrolls in an instant fashion."}, {name: "smooth", description: "Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}], syntax: "auto | smooth", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}], description: "Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.", restrictions: ["enum"]}, {name: "scroll-snap-coordinate", browsers: ["FF39"], values: [{name: "none", description: "Specifies that this element does not contribute a snap point."}], status: "obsolete", syntax: "none | <position>#", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}], description: "Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container\u2019s snap-destination for the respective axis.", restrictions: ["position", "length", "percentage", "enum"]}, {name: "scroll-snap-destination", browsers: ["FF39"], status: "obsolete", syntax: "<position>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}], description: "Define the x and y coordinate within the scroll container\u2019s visual viewport which element snap points will align with.", restrictions: ["position", "length", "percentage"]}, {name: "scroll-snap-points-x", browsers: ["FF39", "S9"], values: [{name: "none", description: "No snap points are defined by this scroll container."}, {name: "repeat()", description: "Defines an interval at which snap points are defined, starting from the container\u2019s relevant start edge."}], status: "obsolete", syntax: "none | repeat( <length-percentage> )", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}], description: "Defines the positioning of snap points along the x axis of the scroll container it is applied to.", restrictions: ["enum"]}, {name: "scroll-snap-points-y", browsers: ["FF39", "S9"], values: [{name: "none", description: "No snap points are defined by this scroll container."}, {name: "repeat()", description: "Defines an interval at which snap points are defined, starting from the container\u2019s relevant start edge."}], status: "obsolete", syntax: "none | repeat( <length-percentage> )", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}], description: "Defines the positioning of snap points along the y axis of the scroll container it is applied to.", restrictions: ["enum"]}, {name: "scroll-snap-type", values: [{name: "none", description: "The visual viewport of this scroll container must ignore snap points, if any, when scrolled."}, {name: "mandatory", description: "The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."}, {name: "proximity", description: "The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}], syntax: "none | [ x | y | block | inline | both ] [ mandatory | proximity ]?", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}], description: "Defines how strictly snap points are enforced on the scroll container.", restrictions: ["enum"]}, {name: "shape-image-threshold", browsers: ["E79", "FF62", "S10.1", "C37", "O24"], syntax: "<alpha-value>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}], description: "Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.", restrictions: ["number"]}, {name: "shape-margin", browsers: ["E79", "FF62", "S10.1", "C37", "O24"], syntax: "<length-percentage>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/shape-margin"}], description: "Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.", restrictions: ["url", "length", "percentage"]}, {name: "shape-outside", browsers: ["E79", "FF62", "S10.1", "C37", "O24"], values: [{name: "margin-box", description: "The background is painted within (clipped to) the margin box."}, {name: "none", description: "The float area is unaffected."}], syntax: "none | <shape-box> || <basic-shape> | <image>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/shape-outside"}], description: "Specifies an orthogonal rotation to be applied to an image before it is laid out.", restrictions: ["image", "box", "shape", "enum"]}, {name: "shape-rendering", values: [{name: "auto", description: "Suppresses aural rendering."}, {name: "crispEdges", description: "Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."}, {name: "geometricPrecision", description: "Emphasize geometric precision over speed and crisp edges."}, {name: "optimizeSpeed", description: "Emphasize rendering speed over geometric precision and crisp edges."}], relevance: 50, description: "Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.", restrictions: ["enum"]}, {name: "size", browsers: ["C", "O8"], syntax: "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]", relevance: 52, description: "The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.", restrictions: ["length"]}, {name: "src", values: [{name: "url()", description: "Reference font by URL"}, {name: "format()", description: "Optional hint describing the format of the font resource."}, {name: "local()", description: "Format-specific string that identifies a locally available copy of a given font."}], syntax: "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#", relevance: 67, description: "@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.", restrictions: ["enum", "url", "identifier"]}, {name: "stop-color", relevance: 51, description: "Indicates what color to use at that gradient stop.", restrictions: ["color"]}, {name: "stop-opacity", relevance: 50, description: "Defines the opacity of a given gradient stop.", restrictions: ["number(0-1)"]}, {name: "stroke", values: [{name: "url()", description: "A URL reference to a paint server element, which is an element that defines a paint server: \u2018hatch\u2019, \u2018linearGradient\u2019, \u2018mesh\u2019, \u2018pattern\u2019, \u2018radialGradient\u2019 and \u2018solidcolor\u2019."}, {name: "none", description: "No paint is applied in this layer."}], relevance: 63, description: "Paints along the outline of the given graphical element.", restrictions: ["color", "enum", "url"]}, {name: "stroke-dasharray", values: [{name: "none", description: "Indicates that no dashing is used."}], relevance: 58, description: "Controls the pattern of dashes and gaps used to stroke paths.", restrictions: ["length", "percentage", "number", "enum"]}, {name: "stroke-dashoffset", relevance: 58, description: "Specifies the distance into the dash pattern to start the dash.", restrictions: ["percentage", "length"]}, {name: "stroke-linecap", values: [{name: "butt", description: "Indicates that the stroke for each subpath does not extend beyond its two endpoints."}, {name: "round", description: "Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."}, {name: "square", description: "Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}], relevance: 53, description: "Specifies the shape to be used at the end of open subpaths when they are stroked.", restrictions: ["enum"]}, {name: "stroke-linejoin", values: [{name: "bevel", description: "Indicates that a bevelled corner is to be used to join path segments."}, {name: "miter", description: "Indicates that a sharp corner is to be used to join path segments."}, {name: "round", description: "Indicates that a round corner is to be used to join path segments."}], relevance: 50, description: "Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.", restrictions: ["enum"]}, {name: "stroke-miterlimit", relevance: 50, description: "When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.", restrictions: ["number"]}, {name: "stroke-opacity", relevance: 51, description: "Specifies the opacity of the painting operation used to stroke the current object.", restrictions: ["number(0-1)"]}, {name: "stroke-width", relevance: 60, description: "Specifies the width of the stroke on the current object.", restrictions: ["percentage", "length"]}, {name: "suffix", browsers: ["FF33"], syntax: "<symbol>", relevance: 50, description: "@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.", restrictions: ["image", "string", "identifier"]}, {name: "system", browsers: ["FF33"], values: [{name: "additive", description: "Represents \u201Csign-value\u201D numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."}, {name: "alphabetic", description: 'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'}, {name: "cyclic", description: "Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."}, {name: "extends", description: "Use the algorithm of another counter style, but alter other aspects."}, {name: "fixed", description: "Runs through its list of counter symbols once, then falls back."}, {name: "numeric", description: `interprets the list of counter symbols as digits to a "place-value" numbering system, similar to the default 'decimal' counter style.`}, {name: "symbolic", description: "Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}], syntax: "cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]", relevance: 50, description: "@counter-style descriptor. Specifies which algorithm will be used to construct the counter\u2019s representation based on the counter value.", restrictions: ["enum", "integer"]}, {name: "symbols", browsers: ["FF33"], syntax: "<symbol>+", relevance: 50, description: "@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.", restrictions: ["image", "string", "identifier"]}, {name: "table-layout", values: [{name: "auto", description: "Use any automatic table layout algorithm."}, {name: "fixed", description: "Use the fixed table layout algorithm."}], syntax: "auto | fixed", relevance: 61, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/table-layout"}], description: "Controls the algorithm used to lay out the table cells, rows, and columns.", restrictions: ["enum"]}, {name: "tab-size", browsers: ["E79", "FF4", "S6.1", "C21", "O15"], syntax: "<integer> | <length>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/tab-size"}], description: "Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.", restrictions: ["integer", "length"]}, {name: "text-align", values: [{name: "center", description: "The inline contents are centered within the line box."}, {name: "end", description: "The inline contents are aligned to the end edge of the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}, {name: "start", description: "The inline contents are aligned to the start edge of the line box."}], syntax: "start | end | left | right | center | justify | match-parent", relevance: 93, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-align"}], description: "Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.", restrictions: ["string"]}, {name: "text-align-last", browsers: ["E12", "FF49", "C47", "IE5.5", "O34"], values: [{name: "auto", description: "Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."}, {name: "center", description: "The inline contents are centered within the line box."}, {name: "justify", description: "The text is justified according to the method specified by the 'text-justify' property."}, {name: "left", description: "The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."}, {name: "right", description: "The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}], syntax: "auto | start | end | left | right | center | justify", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-align-last"}], description: "Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.", restrictions: ["enum"]}, {name: "text-anchor", values: [{name: "end", description: "The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."}, {name: "middle", description: "The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."}, {name: "start", description: "The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}], relevance: 50, description: "Used to align (start-, middle- or end-alignment) a string of text relative to a given point.", restrictions: ["enum"]}, {name: "text-decoration", values: [{name: "dashed", description: "Produces a dashed line style."}, {name: "dotted", description: "Produces a dotted line."}, {name: "double", description: "Produces a double line."}, {name: "line-through", description: "Each line of text has a line through the middle."}, {name: "none", description: "Produces no line."}, {name: "overline", description: "Each line of text has a line above it."}, {name: "solid", description: "Produces a solid line."}, {name: "underline", description: "Each line of text is underlined."}, {name: "wavy", description: "Produces a wavy line."}], syntax: "<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration"}], description: "Decorations applied to font used for an element's text.", restrictions: ["enum", "color"]}, {name: "text-decoration-color", browsers: ["E79", "FF36", "S12.1", "C57", "O44"], syntax: "<color>", relevance: 52, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}], description: "Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.", restrictions: ["color"]}, {name: "text-decoration-line", browsers: ["E79", "FF36", "S12.1", "C57", "O44"], values: [{name: "line-through", description: "Each line of text has a line through the middle."}, {name: "none", description: "Neither produces nor inhibits text decoration."}, {name: "overline", description: "Each line of text has a line above it."}, {name: "underline", description: "Each line of text is underlined."}], syntax: "none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}], description: "Specifies what line decorations, if any, are added to the element.", restrictions: ["enum"]}, {name: "text-decoration-style", browsers: ["E79", "FF36", "S12.1", "C57", "O44"], values: [{name: "dashed", description: "Produces a dashed line style."}, {name: "dotted", description: "Produces a dotted line."}, {name: "double", description: "Produces a double line."}, {name: "none", description: "Produces no line."}, {name: "solid", description: "Produces a solid line."}, {name: "wavy", description: "Produces a wavy line."}], syntax: "solid | double | dotted | dashed | wavy", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}], description: "Specifies the line style for underline, line-through and overline text decoration.", restrictions: ["enum"]}, {name: "text-indent", values: [], syntax: "<length-percentage> && hanging? && each-line?", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-indent"}], description: "Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.", restrictions: ["percentage", "length"]}, {name: "text-justify", browsers: ["E12", "FF55", "C32", "IE11", "O19"], values: [{name: "auto", description: "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."}, {name: "distribute", description: "Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."}, {name: "distribute-all-lines"}, {name: "inter-cluster", description: "Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."}, {name: "inter-ideograph", description: "Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."}, {name: "inter-word", description: "Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."}, {name: "kashida", description: "Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}, {name: "newspaper"}], syntax: "auto | inter-character | inter-word | none", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-justify"}], description: "Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.", restrictions: ["enum"]}, {name: "text-orientation", browsers: ["E79", "FF41", "S5.1", "C48", "O15"], values: [{name: "sideways", browsers: ["E79", "FF41", "S5.1", "C48", "O15"], description: "This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."}, {name: "sideways-right", browsers: ["E79", "FF41", "S5.1", "C48", "O15"], description: "In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90\xB0 clockwise."}, {name: "upright", description: "In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}], syntax: "mixed | upright | sideways", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-orientation"}], description: "Specifies the orientation of text within a line.", restrictions: ["enum"]}, {name: "text-overflow", values: [{name: "clip", description: "Clip inline content that overflows. Characters may be only partially rendered."}, {name: "ellipsis", description: "Render an ellipsis character (U+2026) to represent clipped inline content."}], syntax: "[ clip | ellipsis | <string> ]{1,2}", relevance: 81, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-overflow"}], description: "Text can overflow for example when it is prevented from wrapping.", restrictions: ["enum", "string"]}, {name: "text-rendering", browsers: ["E79", "FF1", "S5", "C4", "O15"], values: [{name: "auto"}, {name: "geometricPrecision", description: "Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."}, {name: "optimizeLegibility", description: "Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."}, {name: "optimizeSpeed", description: "Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}], syntax: "auto | optimizeSpeed | optimizeLegibility | geometricPrecision", relevance: 68, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-rendering"}], description: "The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The \u2018text-rendering\u2019 property provides these hints.", restrictions: ["enum"]}, {name: "text-shadow", values: [{name: "none", description: "No shadow."}], syntax: "none | <shadow-t>#", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-shadow"}], description: "Enables shadow effects to be applied to the text of the element.", restrictions: ["length", "color"]}, {name: "text-transform", values: [{name: "capitalize", description: "Puts the first typographic letter unit of each word in titlecase."}, {name: "lowercase", description: "Puts all letters in lowercase."}, {name: "none", description: "No effects."}, {name: "uppercase", description: "Puts all letters in uppercase."}], syntax: "none | capitalize | uppercase | lowercase | full-width | full-size-kana", relevance: 84, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-transform"}], description: "Controls capitalization effects of an element\u2019s text.", restrictions: ["enum"]}, {name: "text-underline-position", values: [{name: "above"}, {name: "auto", description: "The user agent may use any algorithm to determine the underline\u2019s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."}, {name: "below", description: "The underline is aligned with the under edge of the element\u2019s content box."}], syntax: "auto | from-font | [ under || [ left | right ] ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}], description: "Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text", restrictions: ["enum"]}, {name: "top", values: [{name: "auto", description: "For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}], syntax: "<length> | <percentage> | auto", relevance: 95, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/top"}], description: "Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.", restrictions: ["length", "percentage"]}, {name: "touch-action", values: [{name: "auto", description: "The user agent may determine any permitted touch behaviors for touches that begin on the element."}, {name: "cross-slide-x"}, {name: "cross-slide-y"}, {name: "double-tap-zoom"}, {name: "manipulation", description: "The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."}, {name: "none", description: "Touches that begin on the element must not trigger default touch behaviors."}, {name: "pan-x", description: "The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element\u2019s nearest ancestor with horizontally scrollable content."}, {name: "pan-y", description: "The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element\u2019s nearest ancestor with vertically scrollable content."}, {name: "pinch-zoom"}], syntax: "auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation", relevance: 65, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/touch-action"}], description: "Determines whether touch input may trigger default behavior supplied by user agent.", restrictions: ["enum"]}, {name: "transform", values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "perspective()", description: "Specifies a perspective projection matrix."}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], syntax: "none | <transform-list>", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform"}], description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "transform-origin", syntax: "[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform-origin"}], description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "transform-style", browsers: ["E12", "FF16", "S9", "C36", "O23"], values: [{name: "flat", description: "All children of this element are rendered flattened into the 2D plane of the element."}, {name: "preserve-3d", browsers: ["E12", "FF16", "S9", "C36", "O23"], description: "Flattening is not performed, so children maintain their position in 3D space."}], syntax: "flat | preserve-3d", relevance: 54, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform-style"}], description: "Defines how nested elements are rendered in 3D space.", restrictions: ["enum"]}, {name: "transition", values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], syntax: "<single-transition>#", relevance: 87, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition"}], description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "transition-delay", syntax: "<time>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-delay"}], description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "transition-duration", syntax: "<time>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-duration"}], description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "transition-property", values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], syntax: "none | <single-transition-property>#", relevance: 64, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-property"}], description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "transition-timing-function", syntax: "<timing-function>#", relevance: 60, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}], description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "unicode-bidi", values: [{name: "bidi-override", description: "Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."}, {name: "embed", description: "If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."}, {name: "isolate", description: "The contents of the element are considered to be inside a separate, independent paragraph."}, {name: "isolate-override", description: "This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"}, {name: "normal", description: "The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."}, {name: "plaintext", description: "For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}], syntax: "normal | embed | isolate | bidi-override | isolate-override | plaintext", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}], description: "The level of embedding with respect to the bidirectional algorithm.", restrictions: ["enum"]}, {name: "unicode-range", values: [{name: "U+26", description: "Ampersand."}, {name: "U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00\u2013FB4F", description: "WGL4 character set (Pan-European)."}, {name: "U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF", description: "The Multilingual European Subset No. 1. Latin. Covers ~44 languages."}, {name: "U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD", description: "The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."}, {name: "U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD", description: "The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."}, {name: "U+00-7F", description: "Basic Latin (ASCII)."}, {name: "U+80-FF", description: "Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."}, {name: "U+100-17F", description: "Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."}, {name: "U+180-24F", description: "Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."}, {name: "U+1E00-1EFF", description: "Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."}, {name: "U+250-2AF", description: "International Phonetic Alphabet Extensions."}, {name: "U+370-3FF", description: "Greek and Coptic."}, {name: "U+1F00-1FFF", description: "Greek Extended. Accented characters for polytonic Greek."}, {name: "U+400-4FF", description: "Cyrillic."}, {name: "U+500-52F", description: "Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."}, {name: "U+00-52F, U+1E00-1FFF, U+2200\u201322FF", description: "Latin, Greek, Cyrillic, some punctuation and symbols."}, {name: "U+530\u201358F", description: "Armenian."}, {name: "U+590\u20135FF", description: "Hebrew."}, {name: "U+600\u20136FF", description: "Arabic."}, {name: "U+750\u201377F", description: "Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."}, {name: "U+8A0\u20138FF", description: "Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."}, {name: "U+700\u201374F", description: "Syriac."}, {name: "U+900\u201397F", description: "Devanagari."}, {name: "U+980\u20139FF", description: "Bengali."}, {name: "U+A00\u2013A7F", description: "Gurmukhi."}, {name: "U+A80\u2013AFF", description: "Gujarati."}, {name: "U+B00\u2013B7F", description: "Oriya."}, {name: "U+B80\u2013BFF", description: "Tamil."}, {name: "U+C00\u2013C7F", description: "Telugu."}, {name: "U+C80\u2013CFF", description: "Kannada."}, {name: "U+D00\u2013D7F", description: "Malayalam."}, {name: "U+D80\u2013DFF", description: "Sinhala."}, {name: "U+118A0\u2013118FF", description: "Warang Citi."}, {name: "U+E00\u2013E7F", description: "Thai."}, {name: "U+1A20\u20131AAF", description: "Tai Tham."}, {name: "U+AA80\u2013AADF", description: "Tai Viet."}, {name: "U+E80\u2013EFF", description: "Lao."}, {name: "U+F00\u2013FFF", description: "Tibetan."}, {name: "U+1000\u2013109F", description: "Myanmar (Burmese)."}, {name: "U+10A0\u201310FF", description: "Georgian."}, {name: "U+1200\u2013137F", description: "Ethiopic."}, {name: "U+1380\u2013139F", description: "Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"}, {name: "U+2D80\u20132DDF", description: "Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."}, {name: "U+AB00\u2013AB2F", description: "Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."}, {name: "U+1780\u201317FF", description: "Khmer."}, {name: "U+1800\u201318AF", description: "Mongolian."}, {name: "U+1B80\u20131BBF", description: "Sundanese."}, {name: "U+1CC0\u20131CCF", description: "Sundanese Supplement. Punctuation."}, {name: "U+4E00\u20139FD5", description: "CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."}, {name: "U+3400\u20134DB5", description: "CJK Unified Ideographs Extension A. Rare ideographs."}, {name: "U+2F00\u20132FDF", description: "Kangxi Radicals."}, {name: "U+2E80\u20132EFF", description: "CJK Radicals Supplement. Alternative forms of Kangxi Radicals."}, {name: "U+1100\u201311FF", description: "Hangul Jamo."}, {name: "U+AC00\u2013D7AF", description: "Hangul Syllables."}, {name: "U+3040\u2013309F", description: "Hiragana."}, {name: "U+30A0\u201330FF", description: "Katakana."}, {name: "U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F", description: "Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."}, {name: "U+A4D0\u2013A4FF", description: "Lisu."}, {name: "U+A000\u2013A48F", description: "Yi Syllables."}, {name: "U+A490\u2013A4CF", description: "Yi Radicals."}, {name: "U+2000-206F", description: "General Punctuation."}, {name: "U+3000\u2013303F", description: "CJK Symbols and Punctuation."}, {name: "U+2070\u2013209F", description: "Superscripts and Subscripts."}, {name: "U+20A0\u201320CF", description: "Currency Symbols."}, {name: "U+2100\u2013214F", description: "Letterlike Symbols."}, {name: "U+2150\u2013218F", description: "Number Forms."}, {name: "U+2190\u201321FF", description: "Arrows."}, {name: "U+2200\u201322FF", description: "Mathematical Operators."}, {name: "U+2300\u201323FF", description: "Miscellaneous Technical."}, {name: "U+E000-F8FF", description: "Private Use Area."}, {name: "U+FB00\u2013FB4F", description: "Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."}, {name: "U+FB50\u2013FDFF", description: "Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."}, {name: "U+1F600\u20131F64F", description: "Emoji: Emoticons."}, {name: "U+2600\u201326FF", description: "Emoji: Miscellaneous Symbols."}, {name: "U+1F300\u20131F5FF", description: "Emoji: Miscellaneous Symbols and Pictographs."}, {name: "U+1F900\u20131F9FF", description: "Emoji: Supplemental Symbols and Pictographs."}, {name: "U+1F680\u20131F6FF", description: "Emoji: Transport and Map Symbols."}], syntax: "<unicode-range>#", relevance: 58, description: "@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.", restrictions: ["unicode-range"]}, {name: "user-select", values: [{name: "all", description: "The content of the element must be selected atomically"}, {name: "auto"}, {name: "contain", description: "UAs must not allow a selection which is started in this element to be extended outside of this element."}, {name: "none", description: "The UA must not allow selections to be started in this element."}, {name: "text", description: "The element imposes no constraint on the selection."}], status: "nonstandard", syntax: "auto | text | none | contain | all", relevance: 24, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/user-select"}], description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "vertical-align", values: [{name: "auto", description: "Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."}, {name: "baseline", description: "Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."}, {name: "bottom", description: "Align the after edge of the extended inline box with the after-edge of the line box."}, {name: "middle", description: "Align the 'middle' baseline of the inline element with the middle baseline of the parent."}, {name: "sub", description: "Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"}, {name: "super", description: "Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"}, {name: "text-bottom", description: "Align the bottom of the box with the after-edge of the parent element's font."}, {name: "text-top", description: "Align the top of the box with the before-edge of the parent element's font."}, {name: "top", description: "Align the before edge of the extended inline box with the before-edge of the line box."}, {name: "-webkit-baseline-middle"}], syntax: "baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/vertical-align"}], description: "Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.", restrictions: ["percentage", "length"]}, {name: "visibility", values: [{name: "collapse", description: "Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."}, {name: "hidden", description: "The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."}, {name: "visible", description: "The generated box is visible."}], syntax: "visible | hidden | collapse", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/visibility"}], description: "Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the \u2018display\u2019 property to \u2018none\u2019 to suppress box generation altogether).", restrictions: ["enum"]}, {name: "-webkit-animation", browsers: ["C", "S5"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "infinite", description: "Causes the animation to repeat forever."}, {name: "none", description: "No animation is performed"}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Shorthand property combines six of the animation properties into a single property.", restrictions: ["time", "enum", "timing-function", "identifier", "number"]}, {name: "-webkit-animation-delay", browsers: ["C", "S5"], relevance: 50, description: "Defines when the animation will start.", restrictions: ["time"]}, {name: "-webkit-animation-direction", browsers: ["C", "S5"], values: [{name: "alternate", description: "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."}, {name: "alternate-reverse", description: "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."}, {name: "normal", description: "Normal playback."}, {name: "reverse", description: "All iterations of the animation are played in the reverse direction from the way they were specified."}], relevance: 50, description: "Defines whether or not the animation should play in reverse on alternate cycles.", restrictions: ["enum"]}, {name: "-webkit-animation-duration", browsers: ["C", "S5"], relevance: 50, description: "Defines the length of time that an animation takes to complete one cycle.", restrictions: ["time"]}, {name: "-webkit-animation-fill-mode", browsers: ["C", "S5"], values: [{name: "backwards", description: "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."}, {name: "both", description: "Both forwards and backwards fill modes are applied."}, {name: "forwards", description: "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."}, {name: "none", description: "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}], relevance: 50, description: "Defines what values are applied by the animation outside the time it is executing.", restrictions: ["enum"]}, {name: "-webkit-animation-iteration-count", browsers: ["C", "S5"], values: [{name: "infinite", description: "Causes the animation to repeat forever."}], relevance: 50, description: "Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.", restrictions: ["number", "enum"]}, {name: "-webkit-animation-name", browsers: ["C", "S5"], values: [{name: "none", description: "No animation is performed"}], relevance: 50, description: "Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.", restrictions: ["identifier", "enum"]}, {name: "-webkit-animation-play-state", browsers: ["C", "S5"], values: [{name: "paused", description: "A running animation will be paused."}, {name: "running", description: "Resume playback of a paused animation."}], relevance: 50, description: "Defines whether the animation is running or paused.", restrictions: ["enum"]}, {name: "-webkit-animation-timing-function", browsers: ["C", "S5"], relevance: 50, description: "Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.", restrictions: ["timing-function"]}, {name: "-webkit-appearance", browsers: ["C", "S3"], values: [{name: "button"}, {name: "button-bevel"}, {name: "caps-lock-indicator"}, {name: "caret"}, {name: "checkbox"}, {name: "default-button"}, {name: "listbox"}, {name: "listitem"}, {name: "media-fullscreen-button"}, {name: "media-mute-button"}, {name: "media-play-button"}, {name: "media-seek-back-button"}, {name: "media-seek-forward-button"}, {name: "media-slider"}, {name: "media-sliderthumb"}, {name: "menulist"}, {name: "menulist-button"}, {name: "menulist-text"}, {name: "menulist-textfield"}, {name: "none"}, {name: "push-button"}, {name: "radio"}, {name: "scrollbarbutton-down"}, {name: "scrollbarbutton-left"}, {name: "scrollbarbutton-right"}, {name: "scrollbarbutton-up"}, {name: "scrollbargripper-horizontal"}, {name: "scrollbargripper-vertical"}, {name: "scrollbarthumb-horizontal"}, {name: "scrollbarthumb-vertical"}, {name: "scrollbartrack-horizontal"}, {name: "scrollbartrack-vertical"}, {name: "searchfield"}, {name: "searchfield-cancel-button"}, {name: "searchfield-decoration"}, {name: "searchfield-results-button"}, {name: "searchfield-results-decoration"}, {name: "slider-horizontal"}, {name: "sliderthumb-horizontal"}, {name: "sliderthumb-vertical"}, {name: "slider-vertical"}, {name: "square-button"}, {name: "textarea"}, {name: "textfield"}], status: "nonstandard", syntax: "none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield", relevance: 0, description: "Changes the appearance of buttons and other controls to resemble native controls.", restrictions: ["enum"]}, {name: "-webkit-backdrop-filter", browsers: ["S9"], values: [{name: "none", description: "No filter effects are applied."}, {name: "blur()", description: "Applies a Gaussian blur to the input image."}, {name: "brightness()", description: "Applies a linear multiplier to input image, making it appear more or less bright."}, {name: "contrast()", description: "Adjusts the contrast of the input."}, {name: "drop-shadow()", description: "Applies a drop shadow effect to the input image."}, {name: "grayscale()", description: "Converts the input image to grayscale."}, {name: "hue-rotate()", description: "Applies a hue rotation on the input image. "}, {name: "invert()", description: "Inverts the samples in the input image."}, {name: "opacity()", description: "Applies transparency to the samples in the input image."}, {name: "saturate()", description: "Saturates the input image."}, {name: "sepia()", description: "Converts the input image to sepia."}, {name: "url()", description: "A filter reference to a <filter> element."}], relevance: 50, description: "Applies a filter effect where the first filter in the list takes the element's background image as the input image.", restrictions: ["enum", "url"]}, {name: "-webkit-backface-visibility", browsers: ["C", "S5"], values: [{name: "hidden"}, {name: "visible"}], relevance: 50, description: "Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.", restrictions: ["enum"]}, {name: "-webkit-background-clip", browsers: ["C", "S3"], relevance: 50, description: "Determines the background painting area.", restrictions: ["box"]}, {name: "-webkit-background-composite", browsers: ["C", "S3"], values: [{name: "border"}, {name: "padding"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-background-origin", browsers: ["C", "S3"], relevance: 50, description: "For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).", restrictions: ["box"]}, {name: "-webkit-border-image", browsers: ["C", "S5"], values: [{name: "auto", description: "If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}, {name: "fill", description: "Causes the middle part of the border-image to be preserved."}, {name: "none"}, {name: "repeat", description: "The image is tiled (repeated) to fill the area."}, {name: "round", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."}, {name: "space", description: "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."}, {name: "stretch", description: "The image is stretched to fill the area."}, {name: "url()"}], relevance: 50, description: "Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.", restrictions: ["length", "percentage", "number", "url", "enum"]}, {name: "-webkit-box-align", browsers: ["C", "S3"], values: [{name: "baseline", description: "If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."}, {name: "center", description: "Any extra space is divided evenly, with half placed above the child and the other half placed after the child."}, {name: "end", description: "For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."}, {name: "start", description: "For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."}, {name: "stretch", description: "The height of each child is adjusted to that of the containing block."}], relevance: 50, description: "Specifies the alignment of nested elements within an outer flexible box element.", restrictions: ["enum"]}, {name: "-webkit-box-direction", browsers: ["C", "S3"], values: [{name: "normal", description: "A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."}, {name: "reverse", description: "A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}], relevance: 50, description: "In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).", restrictions: ["enum"]}, {name: "-webkit-box-flex", browsers: ["C", "S3"], relevance: 50, description: "Specifies an element's flexibility.", restrictions: ["number"]}, {name: "-webkit-box-flex-group", browsers: ["C", "S3"], relevance: 50, description: "Flexible elements can be assigned to flex groups using the 'box-flex-group' property.", restrictions: ["integer"]}, {name: "-webkit-box-ordinal-group", browsers: ["C", "S3"], relevance: 50, description: "Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.", restrictions: ["integer"]}, {name: "-webkit-box-orient", browsers: ["C", "S3"], values: [{name: "block-axis", description: "Elements are oriented along the box's axis."}, {name: "horizontal", description: "The box displays its children from left to right in a horizontal line."}, {name: "inline-axis", description: "Elements are oriented vertically."}, {name: "vertical", description: "The box displays its children from stacked from top to bottom vertically."}], relevance: 50, description: "In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.", restrictions: ["enum"]}, {name: "-webkit-box-pack", browsers: ["C", "S3"], values: [{name: "center", description: "The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."}, {name: "end", description: "For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."}, {name: "justify", description: "The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."}, {name: "start", description: "For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}], relevance: 50, description: "Specifies alignment of child elements within the current element in the direction of orientation.", restrictions: ["enum"]}, {name: "-webkit-box-reflect", browsers: ["E79", "S4", "C4", "O15"], values: [{name: "above", description: "The reflection appears above the border box."}, {name: "below", description: "The reflection appears below the border box."}, {name: "left", description: "The reflection appears to the left of the border box."}, {name: "right", description: "The reflection appears to the right of the border box."}], status: "nonstandard", syntax: "[ above | below | right | left ]? <length>? <image>?", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}], description: "Defines a reflection of a border box."}, {name: "-webkit-box-sizing", browsers: ["C", "S3"], values: [{name: "border-box", description: "The specified width and height (and respective min/max properties) on this element determine the border box of the element."}, {name: "content-box", description: "Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}], relevance: 50, description: "Box Model addition in CSS3.", restrictions: ["enum"]}, {name: "-webkit-break-after", browsers: ["S7"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-break-before", browsers: ["S7"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-break-inside", browsers: ["S7"], values: [{name: "auto", description: "Neither force nor forbid a page/column break inside the generated box."}, {name: "avoid", description: "Avoid a page/column break inside the generated box."}, {name: "avoid-column", description: "Avoid a column break inside the generated box."}, {name: "avoid-page", description: "Avoid a page break inside the generated box."}, {name: "avoid-region"}], relevance: 50, description: "Describes the page/column break behavior inside the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-break-after", browsers: ["C", "S3"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-break-before", browsers: ["C", "S3"], values: [{name: "always", description: "Always force a page break before/after the generated box."}, {name: "auto", description: "Neither force nor forbid a page/column break before/after the generated box."}, {name: "avoid", description: "Avoid a page/column break before/after the generated box."}, {name: "avoid-column", description: "Avoid a column break before/after the generated box."}, {name: "avoid-page", description: "Avoid a page break before/after the generated box."}, {name: "avoid-region"}, {name: "column", description: "Always force a column break before/after the generated box."}, {name: "left", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."}, {name: "page", description: "Always force a page break before/after the generated box."}, {name: "region"}, {name: "right", description: "Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}], relevance: 50, description: "Describes the page/column break behavior before the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-break-inside", browsers: ["C", "S3"], values: [{name: "auto", description: "Neither force nor forbid a page/column break inside the generated box."}, {name: "avoid", description: "Avoid a page/column break inside the generated box."}, {name: "avoid-column", description: "Avoid a column break inside the generated box."}, {name: "avoid-page", description: "Avoid a page break inside the generated box."}, {name: "avoid-region"}], relevance: 50, description: "Describes the page/column break behavior inside the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-count", browsers: ["C", "S3"], values: [{name: "auto", description: "Determines the number of columns by the 'column-width' property and the element width."}], relevance: 50, description: "Describes the optimal number of columns into which the content of the element will be flowed.", restrictions: ["integer"]}, {name: "-webkit-column-gap", browsers: ["C", "S3"], values: [{name: "normal", description: "User agent specific and typically equivalent to 1em."}], relevance: 50, description: "Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.", restrictions: ["length"]}, {name: "-webkit-column-rule", browsers: ["C", "S3"], relevance: 50, description: "This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.", restrictions: ["length", "line-width", "line-style", "color"]}, {name: "-webkit-column-rule-color", browsers: ["C", "S3"], relevance: 50, description: "Sets the color of the column rule", restrictions: ["color"]}, {name: "-webkit-column-rule-style", browsers: ["C", "S3"], relevance: 50, description: "Sets the style of the rule between columns of an element.", restrictions: ["line-style"]}, {name: "-webkit-column-rule-width", browsers: ["C", "S3"], relevance: 50, description: "Sets the width of the rule between columns. Negative values are not allowed.", restrictions: ["length", "line-width"]}, {name: "-webkit-columns", browsers: ["C", "S3"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "A shorthand property which sets both 'column-width' and 'column-count'.", restrictions: ["length", "integer"]}, {name: "-webkit-column-span", browsers: ["C", "S3"], values: [{name: "all", description: "The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."}, {name: "none", description: "The element does not span multiple columns."}], relevance: 50, description: "Describes the page/column break behavior after the generated box.", restrictions: ["enum"]}, {name: "-webkit-column-width", browsers: ["C", "S3"], values: [{name: "auto", description: "The width depends on the values of other properties."}], relevance: 50, description: "This property describes the width of columns in multicol elements.", restrictions: ["length"]}, {name: "-webkit-filter", browsers: ["C18", "O15", "S6"], values: [{name: "none", description: "No filter effects are applied."}, {name: "blur()", description: "Applies a Gaussian blur to the input image."}, {name: "brightness()", description: "Applies a linear multiplier to input image, making it appear more or less bright."}, {name: "contrast()", description: "Adjusts the contrast of the input."}, {name: "drop-shadow()", description: "Applies a drop shadow effect to the input image."}, {name: "grayscale()", description: "Converts the input image to grayscale."}, {name: "hue-rotate()", description: "Applies a hue rotation on the input image. "}, {name: "invert()", description: "Inverts the samples in the input image."}, {name: "opacity()", description: "Applies transparency to the samples in the input image."}, {name: "saturate()", description: "Saturates the input image."}, {name: "sepia()", description: "Converts the input image to sepia."}, {name: "url()", description: "A filter reference to a <filter> element."}], relevance: 50, description: "Processes an element\u2019s rendering before it is displayed in the document, by applying one or more filter effects.", restrictions: ["enum", "url"]}, {name: "-webkit-flow-from", browsers: ["S6.1"], values: [{name: "none", description: "The block container is not a CSS Region."}], relevance: 50, description: "Makes a block container a region and associates it with a named flow.", restrictions: ["identifier"]}, {name: "-webkit-flow-into", browsers: ["S6.1"], values: [{name: "none", description: "The element is not moved to a named flow and normal CSS processing takes place."}], relevance: 50, description: "Places an element or its contents into a named flow.", restrictions: ["identifier"]}, {name: "-webkit-font-feature-settings", browsers: ["C16"], values: [{name: '"c2cs"'}, {name: '"dlig"'}, {name: '"kern"'}, {name: '"liga"'}, {name: '"lnum"'}, {name: '"onum"'}, {name: '"smcp"'}, {name: '"swsh"'}, {name: '"tnum"'}, {name: "normal", description: "No change in glyph substitution or positioning occurs."}, {name: "off"}, {name: "on"}], relevance: 50, description: "This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.", restrictions: ["string", "integer"]}, {name: "-webkit-hyphens", browsers: ["S5.1"], values: [{name: "auto", description: "Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."}, {name: "manual", description: "Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"}, {name: "none", description: "Words are not broken at line breaks, even if characters inside the word suggest line break points."}], relevance: 50, description: "Controls whether hyphenation is allowed to create more break opportunities within a line of text.", restrictions: ["enum"]}, {name: "-webkit-line-break", browsers: ["C", "S3"], values: [{name: "after-white-space"}, {name: "normal"}], relevance: 50, description: "Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."}, {name: "-webkit-margin-bottom-collapse", browsers: ["C", "S3"], values: [{name: "collapse"}, {name: "discard"}, {name: "separate"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-margin-collapse", browsers: ["C", "S3"], values: [{name: "collapse"}, {name: "discard"}, {name: "separate"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-margin-start", browsers: ["C", "S3"], values: [{name: "auto"}], relevance: 50, restrictions: ["percentage", "length"]}, {name: "-webkit-margin-top-collapse", browsers: ["C", "S3"], values: [{name: "collapse"}, {name: "discard"}, {name: "separate"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-mask-clip", browsers: ["C", "O15", "S4"], status: "nonstandard", syntax: "[ <box> | border | padding | content | text ]#", relevance: 0, description: "Determines the mask painting area, which determines the area that is affected by the mask.", restrictions: ["box"]}, {name: "-webkit-mask-image", browsers: ["C", "O15", "S4"], values: [{name: "none", description: "Counts as a transparent black image layer."}, {name: "url()", description: "Reference to a <mask element or to a CSS image."}], status: "nonstandard", syntax: "<mask-reference>#", relevance: 0, description: "Sets the mask layer image of an element.", restrictions: ["url", "image", "enum"]}, {name: "-webkit-mask-origin", browsers: ["C", "O15", "S4"], status: "nonstandard", syntax: "[ <box> | border | padding | content ]#", relevance: 0, description: "Specifies the mask positioning area.", restrictions: ["box"]}, {name: "-webkit-mask-repeat", browsers: ["C", "O15", "S4"], status: "nonstandard", syntax: "<repeat-style>#", relevance: 0, description: "Specifies how mask layer images are tiled after they have been sized and positioned.", restrictions: ["repeat"]}, {name: "-webkit-mask-size", browsers: ["C", "O15", "S4"], values: [{name: "auto", description: "Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."}, {name: "contain", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."}, {name: "cover", description: "Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}], status: "nonstandard", syntax: "<bg-size>#", relevance: 0, description: "Specifies the size of the mask layer images.", restrictions: ["length", "percentage", "enum"]}, {name: "-webkit-nbsp-mode", browsers: ["C", "S3"], values: [{name: "normal"}, {name: "space"}], relevance: 50, description: "Defines the behavior of nonbreaking spaces within text."}, {name: "-webkit-overflow-scrolling", browsers: ["C", "S5"], values: [{name: "auto"}, {name: "touch"}], status: "nonstandard", syntax: "auto | touch", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}], description: "Specifies whether to use native-style scrolling in an overflow:scroll element."}, {name: "-webkit-padding-start", browsers: ["C", "S3"], relevance: 50, restrictions: ["percentage", "length"]}, {name: "-webkit-perspective", browsers: ["C", "S4"], values: [{name: "none", description: "No perspective transform is applied."}], relevance: 50, description: "Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.", restrictions: ["length"]}, {name: "-webkit-perspective-origin", browsers: ["C", "S4"], relevance: 50, description: "Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.", restrictions: ["position", "percentage", "length"]}, {name: "-webkit-region-fragment", browsers: ["S7"], values: [{name: "auto", description: "Content flows as it would in a regular content box."}, {name: "break", description: "If the content fits within the CSS Region, then this property has no effect."}], relevance: 50, description: "The 'region-fragment' property controls the behavior of the last region associated with a named flow.", restrictions: ["enum"]}, {name: "-webkit-tap-highlight-color", browsers: ["E12", "C16", "O\u226415"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}], restrictions: ["color"]}, {name: "-webkit-text-fill-color", browsers: ["E12", "FF49", "S3", "C1", "O15"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}], restrictions: ["color"]}, {name: "-webkit-text-size-adjust", browsers: ["E", "C", "S3"], values: [{name: "auto", description: "Renderers must use the default size adjustment when displaying on a small device."}, {name: "none", description: "Renderers must not do size adjustment when displaying on a small device."}], relevance: 50, description: "Specifies a size adjustment for displaying text content in mobile browsers.", restrictions: ["percentage"]}, {name: "-webkit-text-stroke", browsers: ["E15", "FF49", "S3", "C4", "O15"], status: "nonstandard", syntax: "<length> || <color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}], restrictions: ["length", "line-width", "color", "percentage"]}, {name: "-webkit-text-stroke-color", browsers: ["E15", "FF49", "S3", "C1", "O15"], status: "nonstandard", syntax: "<color>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}], restrictions: ["color"]}, {name: "-webkit-text-stroke-width", browsers: ["E15", "FF49", "S3", "C1", "O15"], status: "nonstandard", syntax: "<length>", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}], restrictions: ["length", "line-width", "percentage"]}, {name: "-webkit-touch-callout", browsers: ["S3"], values: [{name: "none"}], status: "nonstandard", syntax: "default | none", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}], restrictions: ["enum"]}, {name: "-webkit-transform", browsers: ["C", "O12", "S3.1"], values: [{name: "matrix()", description: "Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"}, {name: "matrix3d()", description: "Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."}, {name: "none"}, {name: "perspective()", description: "Specifies a perspective projection matrix."}, {name: "rotate()", description: "Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."}, {name: "rotate3d()", description: "Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."}, {name: "rotateX('angle')", description: "Specifies a clockwise rotation by the given angle about the X axis."}, {name: "rotateY('angle')", description: "Specifies a clockwise rotation by the given angle about the Y axis."}, {name: "rotateZ('angle')", description: "Specifies a clockwise rotation by the given angle about the Z axis."}, {name: "scale()", description: "Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."}, {name: "scale3d()", description: "Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."}, {name: "scaleX()", description: "Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."}, {name: "scaleY()", description: "Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."}, {name: "scaleZ()", description: "Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."}, {name: "skew()", description: "Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."}, {name: "skewX()", description: "Specifies a skew transformation along the X axis by the given angle."}, {name: "skewY()", description: "Specifies a skew transformation along the Y axis by the given angle."}, {name: "translate()", description: "Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."}, {name: "translate3d()", description: "Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."}, {name: "translateX()", description: "Specifies a translation by the given amount in the X direction."}, {name: "translateY()", description: "Specifies a translation by the given amount in the Y direction."}, {name: "translateZ()", description: "Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}], relevance: 50, description: "A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.", restrictions: ["enum"]}, {name: "-webkit-transform-origin", browsers: ["C", "O15", "S3.1"], relevance: 50, description: "Establishes the origin of transformation for an element.", restrictions: ["position", "length", "percentage"]}, {name: "-webkit-transform-origin-x", browsers: ["C", "S3.1"], relevance: 50, description: "The x coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-webkit-transform-origin-y", browsers: ["C", "S3.1"], relevance: 50, description: "The y coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-webkit-transform-origin-z", browsers: ["C", "S4"], relevance: 50, description: "The z coordinate of the origin for transforms applied to an element with respect to its border box.", restrictions: ["length", "percentage"]}, {name: "-webkit-transform-style", browsers: ["C", "S4"], values: [{name: "flat", description: "All children of this element are rendered flattened into the 2D plane of the element."}], relevance: 50, description: "Defines how nested elements are rendered in 3D space.", restrictions: ["enum"]}, {name: "-webkit-transition", browsers: ["C", "O12", "S5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Shorthand property combines four of the transition properties into a single property.", restrictions: ["time", "property", "timing-function", "enum"]}, {name: "-webkit-transition-delay", browsers: ["C", "O12", "S5"], relevance: 50, description: "Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.", restrictions: ["time"]}, {name: "-webkit-transition-duration", browsers: ["C", "O12", "S5"], relevance: 50, description: "Specifies how long the transition from the old value to the new value should take.", restrictions: ["time"]}, {name: "-webkit-transition-property", browsers: ["C", "O12", "S5"], values: [{name: "all", description: "Every property that is able to undergo a transition will do so."}, {name: "none", description: "No property will transition."}], relevance: 50, description: "Specifies the name of the CSS property to which the transition is applied.", restrictions: ["property"]}, {name: "-webkit-transition-timing-function", browsers: ["C", "O12", "S5"], relevance: 50, description: "Describes how the intermediate values used during a transition will be calculated.", restrictions: ["timing-function"]}, {name: "-webkit-user-drag", browsers: ["S3"], values: [{name: "auto"}, {name: "element"}, {name: "none"}], relevance: 50, restrictions: ["enum"]}, {name: "-webkit-user-modify", browsers: ["C", "S3"], values: [{name: "read-only"}, {name: "read-write"}, {name: "read-write-plaintext-only"}], status: "nonstandard", syntax: "read-only | read-write | read-write-plaintext-only", relevance: 0, description: "Determines whether a user can edit the content of an element.", restrictions: ["enum"]}, {name: "-webkit-user-select", browsers: ["C", "S3"], values: [{name: "auto"}, {name: "none"}, {name: "text"}], relevance: 50, description: "Controls the appearance of selection.", restrictions: ["enum"]}, {name: "white-space", values: [{name: "normal", description: "Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."}, {name: "nowrap", description: "Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."}, {name: "pre", description: "Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."}, {name: "pre-line", description: "Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."}, {name: "pre-wrap", description: "Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}], syntax: "normal | pre | nowrap | pre-wrap | pre-line | break-spaces", relevance: 88, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/white-space"}], description: "Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.", restrictions: ["enum"]}, {name: "widows", browsers: ["E12", "S1.3", "C25", "IE8", "O9.2"], syntax: "<integer>", relevance: 51, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/widows"}], description: "Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.", restrictions: ["integer"]}, {name: "width", values: [{name: "auto", description: "The width depends on the values of other properties."}, {name: "fit-content", description: "Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."}, {name: "max-content", description: "Use the max-content inline size or max-content block size, as appropriate to the writing mode."}, {name: "min-content", description: "Use the min-content inline size or min-content block size, as appropriate to the writing mode."}], syntax: "<viewport-length>{1,2}", relevance: 96, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/width"}], description: "Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.", restrictions: ["length", "percentage"]}, {name: "will-change", browsers: ["E79", "FF36", "S9.1", "C36", "O24"], values: [{name: "auto", description: "Expresses no particular intent."}, {name: "contents", description: "Indicates that the author expects to animate or change something about the element\u2019s contents in the near future."}, {name: "scroll-position", description: "Indicates that the author expects to animate or change the scroll position of the element in the near future."}], syntax: "auto | <animateable-feature>#", relevance: 62, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/will-change"}], description: "Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.", restrictions: ["enum", "identifier"]}, {name: "word-break", values: [{name: "break-all", description: "Lines may break between any two grapheme clusters for non-CJK scripts."}, {name: "keep-all", description: "Block characters can no longer create implied break points."}, {name: "normal", description: "Breaks non-CJK scripts according to their own rules."}], syntax: "normal | break-all | keep-all | break-word", relevance: 72, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/word-break"}], description: "Specifies line break opportunities for non-CJK scripts.", restrictions: ["enum"]}, {name: "word-spacing", values: [{name: "normal", description: "No additional spacing is applied. Computes to zero."}], syntax: "normal | <length-percentage>", relevance: 57, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/word-spacing"}], description: "Specifies additional spacing between \u201Cwords\u201D.", restrictions: ["length", "percentage"]}, {name: "word-wrap", values: [{name: "break-word", description: "An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."}, {name: "normal", description: "Lines may break only at allowed break points."}], syntax: "normal | break-word", relevance: 77, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}], description: "Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.", restrictions: ["enum"]}, {name: "writing-mode", values: [{name: "horizontal-tb", description: "Top-to-bottom block flow direction. The writing mode is horizontal."}, {name: "sideways-lr", description: "Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."}, {name: "sideways-rl", description: "Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."}, {name: "vertical-lr", description: "Left-to-right block flow direction. The writing mode is vertical."}, {name: "vertical-rl", description: "Right-to-left block flow direction. The writing mode is vertical."}], syntax: "horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/writing-mode"}], description: "This is a shorthand property for both 'direction' and 'block-progression'.", restrictions: ["enum"]}, {name: "z-index", values: [{name: "auto", description: "The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}], syntax: "auto | <integer>", relevance: 91, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/z-index"}], description: "For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.", restrictions: ["integer"]}, {name: "zoom", browsers: ["E12", "S3.1", "C1", "IE5.5", "O15"], values: [{name: "normal"}], syntax: "auto | <number> | <percentage>", relevance: 74, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/zoom"}], description: "Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.", restrictions: ["enum", "integer", "number", "percentage"]}, {name: "-ms-ime-align", status: "nonstandard", syntax: "auto | after", relevance: 0, description: "Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."}, {name: "-moz-binding", status: "nonstandard", syntax: "<url> | none", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}], description: "The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."}, {name: "-moz-context-properties", status: "nonstandard", syntax: "none | [ fill | fill-opacity | stroke | stroke-opacity ]#", relevance: 0, browsers: ["FF55"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}], description: "If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."}, {name: "-moz-float-edge", status: "nonstandard", syntax: "border-box | content-box | margin-box | padding-box", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}], description: "The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."}, {name: "-moz-force-broken-image-icon", status: "nonstandard", syntax: "<integer>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}], description: "The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."}, {name: "-moz-image-region", status: "nonstandard", syntax: "<shape> | auto", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}], description: "For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."}, {name: "-moz-orient", status: "nonstandard", syntax: "inline | block | horizontal | vertical", relevance: 0, browsers: ["FF6"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}], description: "The -moz-orient CSS property specifies the orientation of the element to which it's applied."}, {name: "-moz-outline-radius", status: "nonstandard", syntax: "<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}], description: "In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."}, {name: "-moz-outline-radius-bottomleft", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}], description: "In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."}, {name: "-moz-outline-radius-bottomright", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}], description: "In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."}, {name: "-moz-outline-radius-topleft", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}], description: "In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."}, {name: "-moz-outline-radius-topright", status: "nonstandard", syntax: "<outline-radius>", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}], description: "In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."}, {name: "-moz-stack-sizing", status: "nonstandard", syntax: "ignore | stretch-to-fit", relevance: 0, description: "-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."}, {name: "-moz-text-blink", status: "nonstandard", syntax: "none | blink", relevance: 0, description: "The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."}, {name: "-moz-user-input", status: "nonstandard", syntax: "auto | none | enabled | disabled", relevance: 0, browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}], description: "In Mozilla applications, -moz-user-input determines if an element will accept user input."}, {name: "-moz-user-modify", status: "nonstandard", syntax: "read-only | read-write | write-only", relevance: 0, description: "The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."}, {name: "-moz-window-dragging", status: "nonstandard", syntax: "drag | no-drag", relevance: 0, description: "The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."}, {name: "-moz-window-shadow", status: "nonstandard", syntax: "default | menu | tooltip | sheet | none", relevance: 0, description: "The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."}, {name: "-webkit-border-before", status: "nonstandard", syntax: "<'border-width'> || <'border-style'> || <'color'>", relevance: 0, browsers: ["E79", "S5.1", "C8", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}], description: "The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."}, {name: "-webkit-border-before-color", status: "nonstandard", syntax: "<'color'>", relevance: 0, description: "The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."}, {name: "-webkit-border-before-style", status: "nonstandard", syntax: "<'border-style'>", relevance: 0, description: "The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."}, {name: "-webkit-border-before-width", status: "nonstandard", syntax: "<'border-width'>", relevance: 0, description: "The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."}, {name: "-webkit-line-clamp", syntax: "none | <integer>", relevance: 50, browsers: ["E17", "FF68", "S5", "C6", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}], description: "The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."}, {name: "-webkit-mask", status: "nonstandard", syntax: "[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#", relevance: 0, description: "The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."}, {name: "-webkit-mask-attachment", status: "nonstandard", syntax: "<attachment>#", relevance: 0, browsers: ["S4", "C1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}], description: "If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."}, {name: "-webkit-mask-composite", status: "nonstandard", syntax: "<composite-style>#", relevance: 0, browsers: ["E18", "FF53", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}], description: "The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."}, {name: "-webkit-mask-position", status: "nonstandard", syntax: "<position>#", relevance: 0, description: "The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."}, {name: "-webkit-mask-position-x", status: "nonstandard", syntax: "[ <length-percentage> | left | center | right ]#", relevance: 0, browsers: ["E18", "FF49", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}], description: "The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."}, {name: "-webkit-mask-position-y", status: "nonstandard", syntax: "[ <length-percentage> | top | center | bottom ]#", relevance: 0, browsers: ["E18", "FF49", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}], description: "The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."}, {name: "-webkit-mask-repeat-x", status: "nonstandard", syntax: "repeat | no-repeat | space | round", relevance: 0, browsers: ["E18", "S5", "C3", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}], description: "The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."}, {name: "-webkit-mask-repeat-y", status: "nonstandard", syntax: "repeat | no-repeat | space | round", relevance: 0, browsers: ["E18", "S5", "C3", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}], description: "The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."}, {name: "appearance", status: "experimental", syntax: "none | auto | button | textfield | menulist-button | <compat-auto>", relevance: 60, browsers: ["E84", "FF1", "S3", "C84", "O70"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/appearance"}], description: "Changes the appearance of buttons and other controls to resemble native controls."}, {name: "aspect-ratio", status: "experimental", syntax: "auto | <ratio>", relevance: 50, browsers: ["E79", "FF71", "C79"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}], description: "The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."}, {name: "azimuth", status: "obsolete", syntax: "<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards", relevance: 0, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/azimuth"}], description: "In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."}, {name: "backdrop-filter", syntax: "none | <filter-function-list>", relevance: 51, browsers: ["E17", "FF70", "S9", "C76", "O34"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}], description: "The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."}, {name: "border-block", syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block"}], description: "The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."}, {name: "border-block-color", syntax: "<'border-top-color'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-color"}], description: "The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-block-style", syntax: "<'border-top-style'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-style"}], description: "The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-block-width", syntax: "<'border-top-width'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-block-width"}], description: "The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-end-end-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}], description: "The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."}, {name: "border-end-start-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}], description: "The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."}, {name: "border-inline", syntax: "<'border-top-width'> || <'border-top-style'> || <'color'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline"}], description: "The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."}, {name: "border-inline-color", syntax: "<'border-top-color'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}], description: "The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-inline-style", syntax: "<'border-top-style'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}], description: "The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-inline-width", syntax: "<'border-top-width'>", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}], description: "The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "border-start-end-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}], description: "The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."}, {name: "border-start-start-radius", syntax: "<length-percentage>{1,2}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}], description: "The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."}, {name: "box-align", status: "nonstandard", syntax: "start | center | end | baseline | stretch", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-align"}], description: "The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."}, {name: "box-direction", status: "nonstandard", syntax: "normal | reverse | inherit", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-direction"}], description: "The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."}, {name: "box-flex", status: "nonstandard", syntax: "<number>", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-flex"}], description: "The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."}, {name: "box-flex-group", status: "nonstandard", syntax: "<integer>", relevance: 0, browsers: ["S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}], description: "The box-flex-group CSS property assigns the flexbox's child elements to a flex group."}, {name: "box-lines", status: "nonstandard", syntax: "single | multiple", relevance: 0, browsers: ["S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-lines"}], description: "The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."}, {name: "box-ordinal-group", status: "nonstandard", syntax: "<integer>", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}], description: "The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."}, {name: "box-orient", status: "nonstandard", syntax: "horizontal | vertical | inline-axis | block-axis | inherit", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-orient"}], description: "The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."}, {name: "box-pack", status: "nonstandard", syntax: "start | center | end | justify", relevance: 0, browsers: ["E12", "FF1", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/box-pack"}], description: "The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."}, {name: "color-adjust", syntax: "economy | exact", relevance: 50, browsers: ["E79", "FF48", "S6", "C49", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/color-adjust"}], description: "The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."}, {name: "counter-set", syntax: "[ <custom-ident> <integer>? ]+ | none", relevance: 50, browsers: ["FF68"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/counter-set"}], description: "The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."}, {name: "font-optical-sizing", syntax: "auto | none", relevance: 50, browsers: ["E17", "FF62", "S11", "C79", "O66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}], description: "The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."}, {name: "font-variation-settings", syntax: "normal | [ <string> <number> ]#", relevance: 50, browsers: ["E17", "FF62", "S11", "C62", "O49"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}], description: "The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."}, {name: "font-smooth", status: "nonstandard", syntax: "auto | never | always | <absolute-size> | <length>", relevance: 0, browsers: ["E79", "FF25", "S4", "C5", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/font-smooth"}], description: ""}, {name: "gap", syntax: "<'row-gap'> <'column-gap'>?", relevance: 50, browsers: ["E84", "FF63", "S10.1", "C84", "O70"], description: "The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."}, {name: "hanging-punctuation", syntax: "none | [ first || [ force-end | allow-end ] || last ]", relevance: 50, browsers: ["S10"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}], description: "The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."}, {name: "image-resolution", status: "experimental", syntax: "[ from-image || <resolution> ] && snap?", relevance: 50, description: "The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image\u2019s intrinsic dimensions."}, {name: "initial-letter", status: "experimental", syntax: "normal | [ <number> <integer>? ]", relevance: 50, browsers: ["S9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/initial-letter"}], description: "The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."}, {name: "initial-letter-align", status: "experimental", syntax: "[ auto | alphabetic | hanging | ideographic ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}], description: "The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."}, {name: "inset", syntax: "<'top'>{1,4}", relevance: 50, browsers: ["FF66"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset"}], description: "The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-block", syntax: "<'top'>{1,2}", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-block"}], description: "The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-block-end", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}], description: "The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-block-start", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}], description: "The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-inline", syntax: "<'top'>{1,2}", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-inline"}], description: "The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-inline-end", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}], description: "The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "inset-inline-start", syntax: "<'top'>", relevance: 50, browsers: ["E79", "FF63", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}], description: "The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."}, {name: "line-clamp", status: "experimental", syntax: "none | <integer>", relevance: 50, description: "The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."}, {name: "line-height-step", status: "experimental", syntax: "<length>", relevance: 50, browsers: ["E79", "C60", "O47"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/line-height-step"}], description: "The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."}, {name: "margin-block", syntax: "<'margin-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-block"}], description: "The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."}, {name: "margin-inline", syntax: "<'margin-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-inline"}], description: "The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."}, {name: "margin-trim", status: "experimental", syntax: "none | in-flow | all", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/margin-trim"}], description: "The margin-trim property allows the container to trim the margins of its children where they adjoin the container\u2019s edges."}, {name: "mask", syntax: "<mask-layer>#", relevance: 50, browsers: ["E12", "FF2", "S3.2", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask"}], description: "The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."}, {name: "mask-border", syntax: "<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>", relevance: 50, description: "The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."}, {name: "mask-border-mode", syntax: "luminance | alpha", relevance: 50, description: "The mask-border-mode CSS property specifies the blending mode used in a mask border."}, {name: "mask-border-outset", syntax: "[ <length> | <number> ]{1,4}", relevance: 50, description: "The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."}, {name: "mask-border-repeat", syntax: "[ stretch | repeat | round | space ]{1,2}", relevance: 50, description: "The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."}, {name: "mask-border-slice", syntax: "<number-percentage>{1,4} fill?", relevance: 50, description: "The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."}, {name: "mask-border-source", syntax: "none | <image>", relevance: 50, description: "The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."}, {name: "mask-border-width", syntax: "[ <length-percentage> | <number> | auto ]{1,4}", relevance: 50, description: "The mask-border-width CSS property specifies the width of an element's mask border."}, {name: "mask-clip", syntax: "[ <geometry-box> | no-clip ]#", relevance: 50, browsers: ["E79", "FF53", "S4", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-clip"}], description: "The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."}, {name: "mask-composite", syntax: "<compositing-operator>#", relevance: 50, browsers: ["E18", "FF53"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/mask-composite"}], description: "The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."}, {name: "max-lines", status: "experimental", syntax: "none | <integer>", relevance: 50, description: "The max-liens property forces a break after a set number of lines"}, {name: "offset", syntax: "[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?", relevance: 50, browsers: ["E79", "FF72", "C55", "O42"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset"}], description: "The offset CSS property is a shorthand property for animating an element along a defined path."}, {name: "offset-anchor", syntax: "auto | <position>", relevance: 50, browsers: ["E79", "FF72", "C79"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}], description: "Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."}, {name: "offset-distance", syntax: "<length-percentage>", relevance: 50, browsers: ["E79", "FF72", "C55", "O42"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-distance"}], description: "The offset-distance CSS property specifies a position along an offset-path."}, {name: "offset-path", syntax: "none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]", relevance: 50, browsers: ["E79", "FF72", "C55", "O45"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-path"}], description: 'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element\u2019s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object\u2019s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'}, {name: "offset-position", status: "experimental", syntax: "auto | <position>", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-position"}], description: "Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."}, {name: "offset-rotate", syntax: "[ auto | reverse ] || <angle>", relevance: 50, browsers: ["E79", "FF72", "C56", "O43"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}], description: "The offset-rotate CSS property defines the direction of the element while positioning along the offset path."}, {name: "overflow-anchor", syntax: "auto | none", relevance: 51, browsers: ["E79", "FF66", "C56", "O43"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}], description: "The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."}, {name: "overflow-block", syntax: "visible | hidden | clip | scroll | auto", relevance: 50, browsers: ["FF69"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-block"}], description: "The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."}, {name: "overflow-clip-box", status: "nonstandard", syntax: "padding-box | content-box", relevance: 0, browsers: ["FF29"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}], description: "The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."}, {name: "overflow-inline", syntax: "visible | hidden | clip | scroll | auto", relevance: 50, browsers: ["FF69"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}], description: "The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."}, {name: "overscroll-behavior", syntax: "[ contain | none | auto ]{1,2}", relevance: 50, browsers: ["E18", "FF59", "C63", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}], description: "The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior \u2014 what happens when the boundary of a scrolling area is reached."}, {name: "overscroll-behavior-block", syntax: "contain | none | auto", relevance: 50, browsers: ["E79", "FF73", "C77", "O64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}], description: "The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."}, {name: "overscroll-behavior-inline", syntax: "contain | none | auto", relevance: 50, browsers: ["E79", "FF73", "C77", "O64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}], description: "The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."}, {name: "overscroll-behavior-x", syntax: "contain | none | auto", relevance: 50, browsers: ["E18", "FF59", "C63", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}], description: "The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior \u2014 what happens when the boundary of a scrolling area is reached \u2014 in the x axis direction."}, {name: "overscroll-behavior-y", syntax: "contain | none | auto", relevance: 50, browsers: ["E18", "FF59", "C63", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}], description: "The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior \u2014 what happens when the boundary of a scrolling area is reached \u2014 in the y axis direction."}, {name: "padding-block", syntax: "<'padding-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-block"}], description: "The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."}, {name: "padding-inline", syntax: "<'padding-left'>{1,2}", relevance: 50, browsers: ["E79", "FF66", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/padding-inline"}], description: "The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."}, {name: "place-content", syntax: "<'align-content'> <'justify-content'>?", relevance: 50, browsers: ["E79", "FF53", "S9", "C59", "O46"], description: "The place-content CSS shorthand property sets both the align-content and justify-content properties."}, {name: "place-items", syntax: "<'align-items'> <'justify-items'>?", relevance: 50, browsers: ["E79", "FF45", "S11", "C59", "O46"], description: "The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."}, {name: "place-self", syntax: "<'align-self'> <'justify-self'>?", relevance: 50, browsers: ["E79", "FF45", "C59", "O46"], description: "The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."}, {name: "rotate", syntax: "none | <angle> | [ x | y | z | <number>{3} ] && <angle>", relevance: 50, browsers: ["FF72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/rotate"}], description: "The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."}, {name: "row-gap", syntax: "normal | <length-percentage>", relevance: 50, browsers: ["E84", "FF63", "S10.1", "C84", "O70"], description: "The row-gap CSS property specifies the gutter between grid rows."}, {name: "ruby-merge", status: "experimental", syntax: "separate | collapse | auto", relevance: 50, description: "This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."}, {name: "scale", syntax: "none | <number>{1,3}", relevance: 50, browsers: ["FF72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scale"}], description: "The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."}, {name: "scrollbar-color", syntax: "auto | dark | light | <color>{2}", relevance: 50, browsers: ["FF64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}], description: "The scrollbar-color CSS property sets the color of the scrollbar track and thumb."}, {name: "scrollbar-width", syntax: "auto | thin | none", relevance: 50, browsers: ["FF64"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}], description: "The scrollbar-width property allows the author to set the maximum thickness of an element\u2019s scrollbars when they are shown. "}, {name: "scroll-margin", syntax: "<length>{1,4}", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}], description: "The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."}, {name: "scroll-margin-block", syntax: "<length>{1,2}", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}], description: "The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."}, {name: "scroll-margin-block-start", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}], description: "The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-block-end", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}], description: "The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-bottom", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}], description: "The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-inline", syntax: "<length>{1,2}", relevance: 50, browsers: ["FF68"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}], description: "The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."}, {name: "scroll-margin-inline-start", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}], description: "The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-inline-end", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}], description: "The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-left", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}], description: "The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-right", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}], description: "The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-margin-top", syntax: "<length>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}], description: "The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."}, {name: "scroll-padding", syntax: "[ auto | <length-percentage> ]{1,4}", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}], description: "The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."}, {name: "scroll-padding-block", syntax: "[ auto | <length-percentage> ]{1,2}", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}], description: "The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."}, {name: "scroll-padding-block-start", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}], description: "The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-block-end", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}], description: "The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-bottom", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}], description: "The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-inline", syntax: "[ auto | <length-percentage> ]{1,2}", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}], description: "The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."}, {name: "scroll-padding-inline-start", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}], description: "The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-inline-end", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}], description: "The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-left", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}], description: "The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-right", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}], description: "The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-padding-top", syntax: "auto | <length-percentage>", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}], description: "The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."}, {name: "scroll-snap-align", syntax: "[ none | start | end | center ]{1,2}", relevance: 50, browsers: ["E79", "FF68", "S11", "C69", "O56"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}], description: "The scroll-snap-align property specifies the box\u2019s snap position as an alignment of its snap area (as the alignment subject) within its snap container\u2019s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."}, {name: "scroll-snap-stop", syntax: "normal | always", relevance: 50, browsers: ["E79", "C75", "O62"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}], description: 'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'}, {name: "scroll-snap-type-x", status: "obsolete", syntax: "none | mandatory | proximity", relevance: 0, browsers: ["FF39", "S9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}], description: "The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."}, {name: "scroll-snap-type-y", status: "obsolete", syntax: "none | mandatory | proximity", relevance: 0, browsers: ["FF39"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}], description: "The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."}, {name: "text-combine-upright", syntax: "none | all | [ digits <integer>? ]", relevance: 50, references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}], description: "The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-ch\u016B-yoko (\u7E26\u4E2D\u6A2A) in Japanese, or as \u76F4\u66F8\u6A6B\u5411 in Chinese."}, {name: "text-decoration-skip", status: "experimental", syntax: "none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]", relevance: 52, browsers: ["S12.1", "C57", "O44"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}], description: "The text-decoration-skip CSS property specifies what parts of the element\u2019s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."}, {name: "text-decoration-skip-ink", syntax: "auto | all | none", relevance: 50, browsers: ["E79", "FF70", "C64", "O50"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}], description: "The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."}, {name: "text-decoration-thickness", syntax: "auto | from-font | <length> | <percentage> ", relevance: 50, browsers: ["FF70", "S12.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}], description: "The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."}, {name: "text-emphasis", syntax: "<'text-emphasis-style'> || <'text-emphasis-color'>", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}], description: "The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."}, {name: "text-emphasis-color", syntax: "<color>", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}], description: "The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."}, {name: "text-emphasis-position", syntax: "[ over | under ] && [ right | left ]", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}], description: "The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."}, {name: "text-emphasis-style", syntax: "none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>", relevance: 50, browsers: ["E79", "FF46", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}], description: "The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."}, {name: "text-size-adjust", status: "experimental", syntax: "none | auto | <percentage>", relevance: 56, browsers: ["E79", "C54", "O41"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}], description: "The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."}, {name: "text-underline-offset", syntax: "auto | <length> | <percentage> ", relevance: 50, browsers: ["FF70", "S12.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}], description: "The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."}, {name: "transform-box", syntax: "content-box | border-box | fill-box | stroke-box | view-box", relevance: 50, browsers: ["E79", "FF55", "S11", "C64", "O51"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/transform-box"}], description: "The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."}, {name: "translate", syntax: "none | <length-percentage> [ <length-percentage> <length>? ]?", relevance: 50, browsers: ["FF72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/translate"}], description: "The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."}, {name: "speak-as", syntax: "auto | bullets | numbers | words | spell-out | <counter-style-name>", relevance: 50, description: "The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."}, {name: "font-display", status: "experimental", syntax: "[ auto | block | swap | fallback | optional ]", relevance: 54, description: "The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."}, {name: "bleed", syntax: "auto | <length>", relevance: 50, description: "The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."}, {name: "marks", syntax: "none | [ crop || cross ]", relevance: 50, description: "The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."}, {name: "max-zoom", syntax: "auto | <number> | <percentage>", relevance: 50, description: "The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."}, {name: "min-zoom", syntax: "auto | <number> | <percentage>", relevance: 50, description: "The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."}, {name: "orientation", syntax: "auto | portrait | landscape", relevance: 50, description: "The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."}, {name: "user-zoom", syntax: "zoom | fixed", relevance: 50, description: "The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."}, {name: "viewport-fit", syntax: "auto | contain | cover", relevance: 50, description: "The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}], atDirectives: [{name: "@charset", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@charset"}], description: "Defines character set of the document."}, {name: "@counter-style", browsers: ["FF33"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@counter-style"}], description: "Defines a custom counter style."}, {name: "@font-face", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@font-face"}], description: "Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."}, {name: "@font-feature-values", browsers: ["FF34", "S9.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}], description: "Defines named values for the indices used to select alternate glyphs for a given font family."}, {name: "@import", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@import"}], description: "Includes content of another file."}, {name: "@keyframes", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@keyframes"}], description: "Defines set of animation key frames."}, {name: "@media", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@media"}], description: "Defines a stylesheet for a particular media type."}, {name: "@-moz-document", browsers: ["FF1.8"], description: "Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."}, {name: "@-moz-keyframes", browsers: ["FF5"], description: "Defines set of animation key frames."}, {name: "@-ms-viewport", browsers: ["E", "IE10"], description: "Specifies the size, zoom factor, and orientation of the viewport."}, {name: "@namespace", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@namespace"}], description: "Declares a prefix and associates it with a namespace name."}, {name: "@-o-keyframes", browsers: ["O12"], description: "Defines set of animation key frames."}, {name: "@-o-viewport", browsers: ["O11"], description: "Specifies the size, zoom factor, and orientation of the viewport."}, {name: "@page", browsers: ["E12", "FF19", "C2", "IE8", "O6"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@page"}], description: "Directive defines various page parameters."}, {name: "@supports", browsers: ["E12", "FF22", "S9", "C28", "O12.1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/@supports"}], description: "A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."}, {name: "@-webkit-keyframes", browsers: ["C", "S4"], description: "Defines set of animation key frames."}], pseudoClasses: [{name: ":active", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:active"}], description: "Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."}, {name: ":any-link", browsers: ["E79", "FF50", "S9", "C65", "O52"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:any-link"}], description: "Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."}, {name: ":checked", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:checked"}], description: "Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."}, {name: ":corner-present", browsers: ["C", "S5"], description: "Non-standard. Indicates whether or not a scrollbar corner is present."}, {name: ":decrement", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view\u2019s position when used."}, {name: ":default", browsers: ["E79", "FF4", "S5", "C10", "O10"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:default"}], description: "Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."}, {name: ":disabled", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:disabled"}], description: "Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."}, {name: ":double-button", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."}, {name: ":empty", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:empty"}], description: "Represents an element that has no children at all."}, {name: ":enabled", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:enabled"}], description: "Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."}, {name: ":end", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."}, {name: ":first", browsers: ["E12", "S6", "C18", "IE8", "O9.2"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:first"}], description: "When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."}, {name: ":first-child", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:first-child"}], description: "Same as :nth-child(1). Represents an element that is the first child of some other element."}, {name: ":first-of-type", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}], description: "Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."}, {name: ":focus", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:focus"}], description: "Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."}, {name: ":fullscreen", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}], description: "Matches any element that has its fullscreen flag set."}, {name: ":future", browsers: ["C", "O16", "S6"], description: "Represents any element that is defined to occur entirely after a :current element."}, {name: ":horizontal", browsers: ["C", "S5"], description: "Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."}, {name: ":host", browsers: ["E79", "FF63", "S10", "C54", "O41"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:host"}], description: "When evaluated in the context of a shadow tree, matches the shadow tree\u2019s host element."}, {name: ":host()", browsers: ["C35", "O22"], description: "When evaluated in the context of a shadow tree, it matches the shadow tree\u2019s host element if the host element, in its normal context, matches the selector argument."}, {name: ":host-context()", browsers: ["C35", "O22"], description: "Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."}, {name: ":hover", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:hover"}], description: "Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."}, {name: ":increment", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view\u2019s position when used."}, {name: ":indeterminate", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}], description: "Applies to UI elements whose value is in an indeterminate state."}, {name: ":in-range", browsers: ["E13", "FF29", "S5.1", "C10", "O11"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:in-range"}], description: "Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."}, {name: ":invalid", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:invalid"}], description: "An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."}, {name: ":lang()", browsers: ["E", "C", "FF1", "IE8", "O8", "S3"], description: "Represents an element that is in language specified."}, {name: ":last-child", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:last-child"}], description: "Same as :nth-last-child(1). Represents an element that is the last child of some other element."}, {name: ":last-of-type", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}], description: "Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."}, {name: ":left", browsers: ["E12", "S5.1", "C6", "IE8", "O9.2"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:left"}], description: "When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."}, {name: ":link", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:link"}], description: "Applies to links that have not yet been visited."}, {name: ":matches()", browsers: ["S9"], description: "Takes a selector list as its argument. It represents an element that is represented by its argument."}, {name: ":-moz-any()", browsers: ["FF4"], description: "Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."}, {name: ":-moz-any-link", browsers: ["FF1"], description: "Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."}, {name: ":-moz-broken", browsers: ["FF3"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}], description: "Non-standard. Matches elements representing broken images."}, {name: ":-moz-drag-over", browsers: ["FF1"], description: "Non-standard. Matches elements when a drag-over event applies to it."}, {name: ":-moz-first-node", browsers: ["FF1"], description: "Non-standard. Represents an element that is the first child node of some other element."}, {name: ":-moz-focusring", browsers: ["FF4"], description: "Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."}, {name: ":-moz-full-screen", browsers: ["FF9"], description: "Matches any element that has its fullscreen flag set. Standardized as :fullscreen."}, {name: ":-moz-last-node", browsers: ["FF1"], description: "Non-standard. Represents an element that is the last child node of some other element."}, {name: ":-moz-loading", browsers: ["FF3"], description: "Non-standard. Matches elements, such as images, that haven\u2019t started loading yet."}, {name: ":-moz-only-whitespace", browsers: ["FF1"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}], description: "The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."}, {name: ":-moz-placeholder", browsers: ["FF4"], description: "Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."}, {name: ":-moz-submit-invalid", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}], description: "Non-standard. Represents any submit button when the contents of the associated form are not valid."}, {name: ":-moz-suppressed", browsers: ["FF3"], description: "Non-standard. Matches elements representing images that have been blocked from loading."}, {name: ":-moz-ui-invalid", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}], description: "Non-standard. Represents any validated form element whose value isn't valid "}, {name: ":-moz-ui-valid", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}], description: "Non-standard. Represents any validated form element whose value is valid "}, {name: ":-moz-user-disabled", browsers: ["FF3"], description: "Non-standard. Matches elements representing images that have been disabled due to the user\u2019s preferences."}, {name: ":-moz-window-inactive", browsers: ["FF4"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}], description: "Non-standard. Matches elements in an inactive window."}, {name: ":-ms-fullscreen", browsers: ["IE11"], description: "Matches any element that has its fullscreen flag set."}, {name: ":-ms-input-placeholder", browsers: ["IE10"], description: "Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."}, {name: ":-ms-keyboard-active", browsers: ["IE10"], description: "Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."}, {name: ":-ms-lang()", browsers: ["E", "IE10"], description: "Represents an element that is in the language specified. Accepts a comma separated list of language tokens."}, {name: ":no-button", browsers: ["C", "S5"], description: "Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."}, {name: ":not()", browsers: ["E", "C", "FF1", "IE9", "O9.5", "S2"], description: "The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."}, {name: ":nth-child()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."}, {name: ":nth-last-child()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."}, {name: ":nth-last-of-type()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."}, {name: ":nth-of-type()", browsers: ["E", "C", "FF3.5", "IE9", "O9.5", "S3.1"], description: "Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."}, {name: ":only-child", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:only-child"}], description: "Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."}, {name: ":only-of-type", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}], description: "Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."}, {name: ":optional", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:optional"}], description: "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."}, {name: ":out-of-range", browsers: ["E13", "FF29", "S5.1", "C10", "O11"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}], description: "Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."}, {name: ":past", browsers: ["C", "O16", "S6"], description: "Represents any element that is defined to occur entirely prior to a :current element."}, {name: ":read-only", browsers: ["E13", "FF78", "S4", "C1", "O9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:read-only"}], description: "An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."}, {name: ":read-write", browsers: ["E13", "FF78", "S4", "C1", "O9"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:read-write"}], description: "An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."}, {name: ":required", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:required"}], description: "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."}, {name: ":right", browsers: ["E12", "S5.1", "C6", "IE8", "O9.2"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:right"}], description: "When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."}, {name: ":root", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:root"}], description: "Represents an element that is the root of the document. In HTML 4, this is always the HTML element."}, {name: ":scope", browsers: ["E79", "FF32", "S7", "C27", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:scope"}], description: "Represents any element that is in the contextual reference element set."}, {name: ":single-button", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."}, {name: ":start", browsers: ["C", "S5"], description: "Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."}, {name: ":target", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:target"}], description: "Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."}, {name: ":valid", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:valid"}], description: "An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."}, {name: ":vertical", browsers: ["C", "S5"], description: "Non-standard. Applies to any scrollbar pieces that have a vertical orientation."}, {name: ":visited", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:visited"}], description: "Applies once the link has been visited by the user."}, {name: ":-webkit-any()", browsers: ["C", "S5"], description: "Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."}, {name: ":-webkit-full-screen", browsers: ["C", "S6"], description: "Matches any element that has its fullscreen flag set. Standardized as :fullscreen."}, {name: ":window-inactive", browsers: ["C", "S3"], description: "Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."}, {name: ":blank", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:blank"}], description: "The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."}, {name: ":defined", status: "experimental", browsers: ["E79", "FF63", "S10", "C54", "O41"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:defined"}], description: "The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."}, {name: ":dir", browsers: ["FF49"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:dir"}], description: "The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."}, {name: ":focus-visible", status: "experimental", browsers: ["E79", "FF4", "C67", "O54"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}], description: "The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."}, {name: ":focus-within", status: "experimental", browsers: ["E79", "FF52", "S10.1", "C60", "O47"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:focus-within"}], description: "The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."}, {name: ":has", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:has"}], description: ":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."}, {name: ":is", status: "experimental", browsers: ["E79", "FF78", "S9", "C68", "O55"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:is"}], description: "The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."}, {name: ":placeholder-shown", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}], description: "The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."}, {name: ":where", status: "experimental", browsers: ["FF78", "C72"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/:where"}], description: "The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}], pseudoElements: [{name: "::after", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::after"}], description: "Represents a styleable child pseudo-element immediately after the originating element\u2019s actual content."}, {name: "::backdrop", browsers: ["E12", "FF47", "C37", "IE11", "O24"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::backdrop"}], description: "Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."}, {name: "::before", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::before"}], description: "Represents a styleable child pseudo-element immediately before the originating element\u2019s actual content."}, {name: "::content", browsers: ["C35", "O22"], description: "Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."}, {name: "::cue", browsers: ["E79", "FF55", "S6.1", "C26", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::cue"}]}, {name: "::cue()", browsers: ["C", "O16", "S6"]}, {name: "::cue-region", browsers: ["C", "O16", "S6"]}, {name: "::cue-region()", browsers: ["C", "O16", "S6"]}, {name: "::first-letter", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::first-letter"}], description: "Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."}, {name: "::first-line", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::first-line"}], description: "Describes the contents of the first formatted line of its originating element."}, {name: "::-moz-focus-inner", browsers: ["FF4"]}, {name: "::-moz-focus-outer", browsers: ["FF4"]}, {name: "::-moz-list-bullet", browsers: ["FF1"], description: "Used to style the bullet of a list element. Similar to the standardized ::marker."}, {name: "::-moz-list-number", browsers: ["FF1"], description: "Used to style the numbers of a list element. Similar to the standardized ::marker."}, {name: "::-moz-placeholder", browsers: ["FF19"], description: "Represents placeholder text in an input field"}, {name: "::-moz-progress-bar", browsers: ["FF9"], description: "Represents the bar portion of a progress bar."}, {name: "::-moz-selection", browsers: ["FF1"], description: "Represents the portion of a document that has been highlighted by the user."}, {name: "::-ms-backdrop", browsers: ["IE11"], description: "Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."}, {name: "::-ms-browse", browsers: ["E", "IE10"], description: "Represents the browse button of an input type=file control."}, {name: "::-ms-check", browsers: ["E", "IE10"], description: "Represents the check of a checkbox or radio button input control."}, {name: "::-ms-clear", browsers: ["E", "IE10"], description: "Represents the clear button of a text input control"}, {name: "::-ms-expand", browsers: ["E", "IE10"], description: "Represents the drop-down button of a select control."}, {name: "::-ms-fill", browsers: ["E", "IE10"], description: "Represents the bar portion of a progress bar."}, {name: "::-ms-fill-lower", browsers: ["E", "IE10"], description: "Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."}, {name: "::-ms-fill-upper", browsers: ["E", "IE10"], description: "Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."}, {name: "::-ms-reveal", browsers: ["E", "IE10"], description: "Represents the password reveal button of an input type=password control."}, {name: "::-ms-thumb", browsers: ["E", "IE10"], description: "Represents the portion of range input control (also known as a slider control) that the user drags."}, {name: "::-ms-ticks-after", browsers: ["E", "IE10"], description: "Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."}, {name: "::-ms-ticks-before", browsers: ["E", "IE10"], description: "Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."}, {name: "::-ms-tooltip", browsers: ["E", "IE10"], description: "Represents the tooltip of a slider (input type=range)."}, {name: "::-ms-track", browsers: ["E", "IE10"], description: "Represents the track of a slider."}, {name: "::-ms-value", browsers: ["E", "IE10"], description: "Represents the content of a text or password input control, or a select control."}, {name: "::selection", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::selection"}], description: "Represents the portion of a document that has been highlighted by the user."}, {name: "::shadow", browsers: ["C35", "O22"], description: "Matches the shadow root if an element has a shadow tree."}, {name: "::-webkit-file-upload-button", browsers: ["E79", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]}, {name: "::-webkit-inner-spin-button", browsers: ["E79", "S5", "C6", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]}, {name: "::-webkit-input-placeholder", browsers: ["C", "S4"]}, {name: "::-webkit-keygen-select", browsers: ["C", "O", "S6"]}, {name: "::-webkit-meter-bar", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]}, {name: "::-webkit-meter-even-less-good-value", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]}, {name: "::-webkit-meter-optimum-value", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]}, {name: "::-webkit-meter-suboptimum-value", browsers: ["E79", "S5.1", "C12", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]}, {name: "::-webkit-outer-spin-button", browsers: ["S5", "C6"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]}, {name: "::-webkit-progress-bar", browsers: ["E79", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]}, {name: "::-webkit-progress-inner-element", browsers: ["E79", "S6.1", "C23", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]}, {name: "::-webkit-progress-value", browsers: ["E79", "S6.1", "C25", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]}, {name: "::-webkit-resizer", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-button", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-corner", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-thumb", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-track", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-scrollbar-track-piece", browsers: ["E79", "S4", "C2", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]}, {name: "::-webkit-search-cancel-button", browsers: ["E79", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]}, {name: "::-webkit-search-decoration", browsers: ["C", "S4"]}, {name: "::-webkit-search-results-button", browsers: ["E79", "S3", "C1", "O15"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]}, {name: "::-webkit-search-results-decoration", browsers: ["C", "S4"]}, {name: "::-webkit-slider-runnable-track", browsers: ["C", "O", "S6"]}, {name: "::-webkit-slider-thumb", browsers: ["C", "O", "S6"]}, {name: "::-webkit-textfield-decoration-container", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-arrow", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-arrow-clipper", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-heading", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-message", browsers: ["C", "O", "S6"]}, {name: "::-webkit-validation-bubble-text-block", browsers: ["C", "O", "S6"]}, {name: "::-moz-range-progress", status: "nonstandard", browsers: ["FF22"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}], description: 'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'}, {name: "::-moz-range-thumb", status: "nonstandard", browsers: ["FF21"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}], description: `The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input's track to alter its numerical value.`}, {name: "::-moz-range-track", status: "nonstandard", browsers: ["FF21"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}], description: 'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'}, {name: "::-webkit-progress-inner-value", status: "nonstandard", description: "The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."}, {name: "::grammar-error", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}], description: "The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."}, {name: "::marker", browsers: ["E80", "FF68", "S11.1", "C80"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::marker"}], description: "The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."}, {name: "::part", status: "experimental", browsers: ["E79", "FF72", "S13.1", "C73", "O60"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::part"}], description: "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."}, {name: "::placeholder", browsers: ["E12", "FF51", "S10.1", "C57", "O44"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::placeholder"}], description: "The ::placeholder CSS pseudo-element represents the placeholder text of a form element."}, {name: "::slotted", browsers: ["E79", "FF63", "S10", "C50", "O37"], references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::slotted"}], description: "The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."}, {name: "::spelling-error", status: "experimental", references: [{name: "MDN Reference", url: "https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}], description: "The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]}, Dr = function() { function e2(e3) { this._properties = [], this._atDirectives = [], this._pseudoClasses = [], this._pseudoElements = [], this.addData(e3); } @@ -21424,7 +21424,7 @@ if (Array.isArray(e3.properties)) for (var t2 = 0, n2 = e3.properties; t2 < n2.length; t2++) { var i2 = n2[t2]; - "string" == typeof i2.name && this._properties.push(i2); + typeof i2.name == "string" && this._properties.push(i2); } if (Array.isArray(e3.atDirectives)) for (var o2 = 0, r2 = e3.atDirectives; o2 < r2.length; o2++) { @@ -21441,17 +21441,17 @@ }, e2; }(); function Ar(e2) { - return "string" == typeof e2.name; + return typeof e2.name == "string"; } function Rr(e2) { - return "string" == typeof e2.name; + return typeof e2.name == "string"; } function Mr(e2) { - return "string" == typeof e2.name; + return typeof e2.name == "string"; } var Pr = function() { function e2(e3) { - this.dataProviders = [], this._propertySet = {}, this._atDirectiveSet = {}, this._pseudoClassSet = {}, this._pseudoElementSet = {}, this._properties = [], this._atDirectives = [], this._pseudoClasses = [], this._pseudoElements = [], this.setDataProviders(false !== (null == e3 ? void 0 : e3.useDefaultDataProvider), (null == e3 ? void 0 : e3.customDataProviders) || []); + this.dataProviders = [], this._propertySet = {}, this._atDirectiveSet = {}, this._pseudoClassSet = {}, this._pseudoElementSet = {}, this._properties = [], this._atDirectives = [], this._pseudoClasses = [], this._pseudoElements = [], this.setDataProviders((e3 == null ? void 0 : e3.useDefaultDataProvider) !== false, (e3 == null ? void 0 : e3.customDataProviders) || []); } return e2.prototype.setDataProviders = function(e3, t2) { var n2; @@ -21488,7 +21488,7 @@ }, e2.prototype.isKnownProperty = function(e3) { return e3.toLowerCase() in this._propertySet; }, e2.prototype.isStandardProperty = function(e3) { - return this.isKnownProperty(e3) && (!this._propertySet[e3.toLowerCase()].status || "standard" === this._propertySet[e3.toLowerCase()].status); + return this.isKnownProperty(e3) && (!this._propertySet[e3.toLowerCase()].status || this._propertySet[e3.toLowerCase()].status === "standard"); }, e2; }(); function Fr(e2, t2, n2) { @@ -21519,7 +21519,7 @@ function i2() { this.constructor = t2; } - e2(t2, n2), t2.prototype = null === n2 ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); + e2(t2, n2), t2.prototype = n2 === null ? Object.create(n2) : (i2.prototype = n2.prototype, new i2()); }; }(), zr = function(e2, t2, n2, i2) { return new (n2 || (n2 = Promise))(function(o2, r2) { @@ -21551,7 +21551,7 @@ throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -21577,15 +21577,15 @@ r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -21622,7 +21622,7 @@ case 0: return Y(t3, "sass:") ? [2, void 0] : [4, e2.prototype.resolveRelativeReference.call(this, t3, n2, i2)]; case 1: - if (o2 = l2.sent(), !this.fileSystemProvider || !o2 || 0 !== function(e3) { + if (o2 = l2.sent(), !this.fileSystemProvider || !o2 || function(e3) { for (var t4 = e3.length - 1; t4 >= 0; t4--) { var n3 = e3.charCodeAt(t4); if (n3 === yi) { @@ -21634,12 +21634,12 @@ break; } return ""; - }(o2).length) + }(o2).length !== 0) return [3, 8]; l2.label = 2; case 2: if (l2.trys.push([2, 7, , 8]), r2 = vi.a.parse(o2), !(s2 = function(e3) { - if ("" !== e3.path && !e3.path.endsWith(".scss") && !e3.path.endsWith(".css")) { + if (e3.path !== "" && !e3.path.endsWith(".scss") && !e3.path.endsWith(".css")) { if (e3.path.endsWith("/")) return [e3.with({path: e3.path + "index.scss"}).toString(), e3.with({path: e3.path + "_index.scss"}).toString()]; var t4 = e3.path.split("/"), n3 = t4[t4.length - 1], i3 = e3.path.slice(0, -n3.length); @@ -21683,17 +21683,17 @@ } var Ur = {}; function Hr(e2) { - void 0 === e2 && (e2 = Ur); + e2 === void 0 && (e2 = Ur); var t2 = new Pr(e2); return Vr(new on(), new Wi(null, e2, t2), new io(e2 && e2.clientCapabilities, t2), new ao(e2 && e2.fileSystemProvider), new Co(t2), new Po(t2), t2); } function qr(e2) { - void 0 === e2 && (e2 = Ur); + e2 === void 0 && (e2 = Ur); var t2 = new Pr(e2); return Vr(new cr(), new ur(e2, t2), new io(e2 && e2.clientCapabilities, t2), new jr(e2 && e2.fileSystemProvider), new Co(t2), new Po(t2), t2); } function $r(e2) { - void 0 === e2 && (e2 = Ur); + e2 === void 0 && (e2 = Ur); var t2 = new Pr(e2); return Vr(new kr(), new Lr(e2, t2), new io(e2 && e2.clientCapabilities, t2), new ao(e2 && e2.fileSystemProvider), new Co(t2), new Po(t2), t2); } @@ -21768,10 +21768,10 @@ return o.e.basename(e2.path); } dirname(e2) { - if (0 === e2.path.length) + if (e2.path.length === 0) return e2; let t2; - return e2.scheme === a.b.file ? t2 = r.a.file(o.b(c(e2))).path : (t2 = o.e.dirname(e2.path), e2.authority && t2.length && 47 !== t2.charCodeAt(0) && (console.error(`dirname("${e2.toString})) resulted in a relative path`), t2 = "/")), e2.with({path: t2}); + return e2.scheme === a.b.file ? t2 = r.a.file(o.b(c(e2))).path : (t2 = o.e.dirname(e2.path), e2.authority && t2.length && t2.charCodeAt(0) !== 47 && (console.error(`dirname("${e2.toString})) resulted in a relative path`), t2 = "/")), e2.with({path: t2}); } normalizePath(e2) { if (!e2.path.length) @@ -21800,7 +21800,7 @@ const n2 = r.a.file(o.g(c(e2), t2)); return e2.with({authority: n2.authority, path: n2.path}); } - return -1 === t2.indexOf("/") && (t2 = i.b(t2), /^[a-zA-Z]:(\/|$)/.test(t2) && (t2 = "/" + t2)), e2.with({path: o.e.resolve(e2.path, t2)}); + return t2.indexOf("/") === -1 && (t2 = i.b(t2), /^[a-zA-Z]:(\/|$)/.test(t2) && (t2 = "/" + t2)), e2.with({path: o.e.resolve(e2.path, t2)}); } isEqualAuthority(e2, t2) { return e2 === t2 || Object(s.t)(e2, t2); @@ -21954,7 +21954,7 @@ } s2 = r3; } - if ("object" == typeof s2 && null !== s2) + if (typeof s2 == "object" && s2 !== null) try { s2[r2] = n2; } catch (e3) { @@ -21966,11 +21966,11 @@ function c(e2, t2) { !function e3(t3, n2) { const i2 = n2.shift(); - if (0 === n2.length) + if (n2.length === 0) return void delete t3[i2]; - if (-1 !== Object.keys(t3).indexOf(i2)) { + if (Object.keys(t3).indexOf(i2) !== -1) { const o2 = t3[i2]; - "object" != typeof o2 || Array.isArray(o2) || (e3(o2, n2), 0 === Object.keys(o2).length && delete t3[i2]); + typeof o2 != "object" || Array.isArray(o2) || (e3(o2, n2), Object.keys(o2).length === 0 && delete t3[i2]); } }(e2, t2.split(".")); } @@ -21978,13 +21978,13 @@ const i2 = function(e3, t3) { let n3 = e3; for (const e4 of t3) { - if ("object" != typeof n3 || null === n3) + if (typeof n3 != "object" || n3 === null) return; n3 = n3[e4]; } return n3; }(e2, t2.split(".")); - return void 0 === i2 ? n2 : i2; + return i2 === void 0 ? n2 : i2; } function h() { const e2 = i.a.as(r.a.Configuration).getConfigurationProperties(); @@ -22110,11 +22110,11 @@ const s2 = e2.getColor(c); s2 && t2.addRule(`.monaco-editor .rangeHighlight { background-color: ${s2}; }`); const a2 = e2.getColor(d); - a2 && t2.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc" === e2.type ? "dotted" : "solid"} ${a2}; }`); + a2 && t2.addRule(`.monaco-editor .rangeHighlight { border: 1px ${e2.type === "hc" ? "dotted" : "solid"} ${a2}; }`); const l2 = e2.getColor(h); l2 && t2.addRule(`.monaco-editor .symbolHighlight { background-color: ${l2}; }`); const p2 = e2.getColor(u); - p2 && t2.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc" === e2.type ? "dotted" : "solid"} ${p2}; }`); + p2 && t2.addRule(`.monaco-editor .symbolHighlight { border: 1px ${e2.type === "hc" ? "dotted" : "solid"} ${p2}; }`); const m2 = e2.getColor(g); m2 && (t2.addRule(`.monaco-editor .mtkw { color: ${m2} !important; }`), t2.addRule(`.monaco-editor .mtkz { color: ${m2} !important; }`)); }); @@ -22316,8 +22316,8 @@ return c; }); var i, o = n(15), r = n(2), s = n(1), a = n(98), l = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -22373,7 +22373,7 @@ } else if (l2 >= c.HOLD_DELAY && Math.abs(a2.initialPageX - o.t(a2.rollingPageX)) < 30 && Math.abs(a2.initialPageY - o.t(a2.rollingPageY)) < 30) { let e3 = this.newGestureEvent(i.Contextmenu, a2.initialTarget); e3.pageX = o.t(a2.rollingPageX), e3.pageY = o.t(a2.rollingPageY), this.dispatchEvent(e3); - } else if (1 === n2) { + } else if (n2 === 1) { let e3 = o.t(a2.rollingPageX), n3 = o.t(a2.rollingPageY), i2 = o.t(a2.rollingTimestamps) - a2.rollingTimestamps[0], r3 = e3 - a2.rollingPageX[0], s4 = n3 - a2.rollingPageY[0]; const l3 = this.targets.filter((e4) => a2.initialTarget instanceof Node && e4.contains(a2.initialTarget)); this.inertia(l3, t2, Math.abs(r3) / i2, r3 > 0 ? 1 : -1, e3, Math.abs(s4) / i2, s4 > 0 ? 1 : -1, n3); @@ -22541,7 +22541,7 @@ }(i || (i = {})), function(e2) { function t2(e3, t3) { let n2 = [""]; - return e3.source ? n2.push(e3.source.replace("¦", "\\¦")) : n2.push(""), e3.code ? "string" == typeof e3.code ? n2.push(e3.code.replace("¦", "\\¦")) : n2.push(e3.code.value.replace("¦", "\\¦")) : n2.push(""), void 0 !== e3.severity && null !== e3.severity ? n2.push(i.toString(e3.severity)) : n2.push(""), e3.message && t3 ? n2.push(e3.message.replace("¦", "\\¦")) : n2.push(""), void 0 !== e3.startLineNumber && null !== e3.startLineNumber ? n2.push(e3.startLineNumber.toString()) : n2.push(""), void 0 !== e3.startColumn && null !== e3.startColumn ? n2.push(e3.startColumn.toString()) : n2.push(""), void 0 !== e3.endLineNumber && null !== e3.endLineNumber ? n2.push(e3.endLineNumber.toString()) : n2.push(""), void 0 !== e3.endColumn && null !== e3.endColumn ? n2.push(e3.endColumn.toString()) : n2.push(""), n2.push(""), n2.join("¦"); + return e3.source ? n2.push(e3.source.replace("\xA6", "\\\xA6")) : n2.push(""), e3.code ? typeof e3.code == "string" ? n2.push(e3.code.replace("\xA6", "\\\xA6")) : n2.push(e3.code.value.replace("\xA6", "\\\xA6")) : n2.push(""), e3.severity !== void 0 && e3.severity !== null ? n2.push(i.toString(e3.severity)) : n2.push(""), e3.message && t3 ? n2.push(e3.message.replace("\xA6", "\\\xA6")) : n2.push(""), e3.startLineNumber !== void 0 && e3.startLineNumber !== null ? n2.push(e3.startLineNumber.toString()) : n2.push(""), e3.startColumn !== void 0 && e3.startColumn !== null ? n2.push(e3.startColumn.toString()) : n2.push(""), e3.endLineNumber !== void 0 && e3.endLineNumber !== null ? n2.push(e3.endLineNumber.toString()) : n2.push(""), e3.endColumn !== void 0 && e3.endColumn !== null ? n2.push(e3.endColumn.toString()) : n2.push(""), n2.push(""), n2.join("\xA6"); } e2.makeKey = function(e3) { return t2(e3, true); @@ -22563,7 +22563,7 @@ }, function(e, t, n) { "use strict"; function i(e2, t2) { - void 0 === t2 && (t2 = false); + t2 === void 0 && (t2 = false); var n2 = e2.length, i2 = 0, a2 = "", l2 = 0, c2 = 16, d2 = 0, h2 = 0, u2 = 0, p2 = 0, m2 = 0; function g2(t3, n3) { for (var o2 = 0, r2 = 0; o2 < t3 || !n3; ) { @@ -22592,7 +22592,7 @@ return c2 = 15; } if (r(t3)) - return i2++, a2 += String.fromCharCode(t3), 13 === t3 && 10 === e2.charCodeAt(i2) && (i2++, a2 += "\n"), d2++, u2 = i2, c2 = 14; + return i2++, a2 += String.fromCharCode(t3), t3 === 13 && e2.charCodeAt(i2) === 10 && (i2++, a2 += "\n"), d2++, u2 = i2, c2 = 14; switch (t3) { case 123: return i2++, c2 = 1; @@ -22614,11 +22614,11 @@ break; } var s2 = e2.charCodeAt(i2); - if (34 === s2) { + if (s2 === 34) { t4 += e2.substring(o2, i2), i2++; break; } - if (92 !== s2) { + if (s2 !== 92) { if (s2 >= 0 && s2 <= 31) { if (r(s2)) { t4 += e2.substring(o2, i2), m2 = 2; @@ -22671,20 +22671,20 @@ }(), c2 = 10; case 47: var f3 = i2 - 1; - if (47 === e2.charCodeAt(i2 + 1)) { + if (e2.charCodeAt(i2 + 1) === 47) { for (i2 += 2; i2 < n2 && !r(e2.charCodeAt(i2)); ) i2++; return a2 = e2.substring(f3, i2), c2 = 12; } - if (42 === e2.charCodeAt(i2 + 1)) { + if (e2.charCodeAt(i2 + 1) === 42) { i2 += 2; for (var _ = n2 - 1, v = false; i2 < _; ) { var w = e2.charCodeAt(i2); - if (42 === w && 47 === e2.charCodeAt(i2 + 1)) { + if (w === 42 && e2.charCodeAt(i2 + 1) === 47) { i2 += 2, v = true; break; } - i2++, r(w) && (13 === w && 10 === e2.charCodeAt(i2) && i2++, d2++, u2 = i2); + i2++, r(w) && (w === 13 && e2.charCodeAt(i2) === 10 && i2++, d2++, u2 = i2); } return v || (i2++, m2 = 1), a2 = e2.substring(f3, i2), c2 = 13; } @@ -22704,20 +22704,20 @@ case 57: return a2 += function() { var t4 = i2; - if (48 === e2.charCodeAt(i2)) + if (e2.charCodeAt(i2) === 48) i2++; else for (i2++; i2 < e2.length && s(e2.charCodeAt(i2)); ) i2++; - if (i2 < e2.length && 46 === e2.charCodeAt(i2)) { + if (i2 < e2.length && e2.charCodeAt(i2) === 46) { if (!(++i2 < e2.length && s(e2.charCodeAt(i2)))) return m2 = 3, e2.substring(t4, i2); for (i2++; i2 < e2.length && s(e2.charCodeAt(i2)); ) i2++; } var n3 = i2; - if (i2 < e2.length && (69 === e2.charCodeAt(i2) || 101 === e2.charCodeAt(i2))) - if ((++i2 < e2.length && 43 === e2.charCodeAt(i2) || 45 === e2.charCodeAt(i2)) && i2++, i2 < e2.length && s(e2.charCodeAt(i2))) { + if (i2 < e2.length && (e2.charCodeAt(i2) === 69 || e2.charCodeAt(i2) === 101)) + if ((++i2 < e2.length && e2.charCodeAt(i2) === 43 || e2.charCodeAt(i2) === 45) && i2++, i2 < e2.length && s(e2.charCodeAt(i2))) { for (i2++; i2 < e2.length && s(e2.charCodeAt(i2)); ) i2++; n3 = i2; @@ -22785,10 +22785,10 @@ }}; } function o(e2) { - return 32 === e2 || 9 === e2 || 11 === e2 || 12 === e2 || 160 === e2 || 5760 === e2 || e2 >= 8192 && e2 <= 8203 || 8239 === e2 || 8287 === e2 || 12288 === e2 || 65279 === e2; + return e2 === 32 || e2 === 9 || e2 === 11 || e2 === 12 || e2 === 160 || e2 === 5760 || e2 >= 8192 && e2 <= 8203 || e2 === 8239 || e2 === 8287 || e2 === 12288 || e2 === 65279; } function r(e2) { - return 10 === e2 || 13 === e2 || 8232 === e2 || 8233 === e2; + return e2 === 10 || e2 === 13 || e2 === 8232 || e2 === 8233; } function s(e2) { return e2 >= 48 && e2 <= 57; @@ -22804,10 +22804,10 @@ var n3 = 0, i2 = 0, o3 = t3.tabSize || 4; for (; n3 < e3.length; ) { var r3 = e3.charAt(n3); - if (" " === r3) + if (r3 === " ") i2++; else { - if (" " !== r3) + if (r3 !== " ") break; i2 += o3; } @@ -22820,9 +22820,9 @@ var u2, p2 = function(e3, t3) { for (var n3 = 0; n3 < t3.length; n3++) { var i2 = t3.charAt(n3); - if ("\r" === i2) - return n3 + 1 < t3.length && "\n" === t3.charAt(n3 + 1) ? "\r\n" : "\r"; - if ("\n" === i2) + if (i2 === "\r") + return n3 + 1 < t3.length && t3.charAt(n3 + 1) === "\n" ? "\r\n" : "\r"; + if (i2 === "\n") return "\n"; } return e3 && e3.eol || "\n"; @@ -22834,27 +22834,27 @@ } function v() { var e3 = f2.scan(); - for (m2 = false; 15 === e3 || 14 === e3; ) - m2 = m2 || 14 === e3, e3 = f2.scan(); - return b2 = 16 === e3 || 0 !== f2.getTokenError(), e3; + for (m2 = false; e3 === 15 || e3 === 14; ) + m2 = m2 || e3 === 14, e3 = f2.scan(); + return b2 = e3 === 16 || f2.getTokenError() !== 0, e3; } var w = []; function y(t3, n3, i2) { !b2 && n3 < d2 && i2 > a2 && e2.substring(n3, i2) !== t3 && w.push({offset: n3, length: i2 - n3, content: t3}); } var C = v(); - if (17 !== C) { + if (C !== 17) { var x = f2.getTokenOffset() + s2; y(l(u2, o2), s2, x); } - for (; 17 !== C; ) { - for (var S = f2.getTokenOffset() + f2.getTokenLength() + s2, k = v(), E = ""; !m2 && (12 === k || 13 === k); ) { - y(" ", S, f2.getTokenOffset() + s2), S = f2.getTokenOffset() + f2.getTokenLength() + s2, E = 12 === k ? _() : "", k = v(); + for (; C !== 17; ) { + for (var S = f2.getTokenOffset() + f2.getTokenLength() + s2, k = v(), E = ""; !m2 && (k === 12 || k === 13); ) { + y(" ", S, f2.getTokenOffset() + s2), S = f2.getTokenOffset() + f2.getTokenLength() + s2, E = k === 12 ? _() : "", k = v(); } - if (2 === k) - 1 !== C && (g2--, E = _()); - else if (4 === k) - 3 !== C && (g2--, E = _()); + if (k === 2) + C !== 1 && (g2--, E = _()); + else if (k === 4) + C !== 3 && (g2--, E = _()); else { switch (C) { case 3: @@ -22872,7 +22872,7 @@ E = " "; break; case 10: - if (6 === k) { + if (k === 6) { E = ""; break; } @@ -22882,12 +22882,12 @@ case 11: case 2: case 4: - 12 === k || 13 === k ? E = " " : 5 !== k && 17 !== k && (b2 = true); + k === 12 || k === 13 ? E = " " : k !== 5 && k !== 17 && (b2 = true); break; case 16: b2 = true; } - !m2 || 12 !== k && 13 !== k || (E = _()); + !m2 || k !== 12 && k !== 13 || (E = _()); } y(E, S, f2.getTokenOffset() + s2), C = k; } @@ -22899,11 +22899,11 @@ return n2; } function c(e2, t2) { - return -1 !== "\r\n".indexOf(e2.charAt(t2)); + return "\r\n".indexOf(e2.charAt(t2)) !== -1; } var d; function h(e2, t2, n2) { - void 0 === n2 && (n2 = d.DEFAULT); + n2 === void 0 && (n2 = d.DEFAULT); var o2 = i(e2, false); function r2(e3) { return e3 ? function() { @@ -22959,13 +22959,13 @@ } } function w(e3, t3, n3) { - if (void 0 === t3 && (t3 = []), void 0 === n3 && (n3 = []), f2(e3), t3.length + n3.length > 0) - for (var i2 = o2.getToken(); 17 !== i2; ) { - if (-1 !== t3.indexOf(i2)) { + if (t3 === void 0 && (t3 = []), n3 === void 0 && (n3 = []), f2(e3), t3.length + n3.length > 0) + for (var i2 = o2.getToken(); i2 !== 17; ) { + if (t3.indexOf(i2) !== -1) { v(); break; } - if (-1 !== n3.indexOf(i2)) + if (n3.indexOf(i2) !== -1) break; i2 = v(); } @@ -22979,28 +22979,28 @@ case 3: return function() { h2(), v(); - for (var e3 = false; 4 !== o2.getToken() && 17 !== o2.getToken(); ) { - if (5 === o2.getToken()) { - if (e3 || w(4, [], []), m2(","), v(), 4 === o2.getToken() && _) + for (var e3 = false; o2.getToken() !== 4 && o2.getToken() !== 17; ) { + if (o2.getToken() === 5) { + if (e3 || w(4, [], []), m2(","), v(), o2.getToken() === 4 && _) break; } else e3 && w(6, [], []); C() || w(4, [], [4, 5]), e3 = true; } - return u2(), 4 !== o2.getToken() ? w(8, [4], []) : v(), true; + return u2(), o2.getToken() !== 4 ? w(8, [4], []) : v(), true; }(); case 1: return function() { a2(), v(); - for (var e3 = false; 2 !== o2.getToken() && 17 !== o2.getToken(); ) { - if (5 === o2.getToken()) { - if (e3 || w(4, [], []), m2(","), v(), 2 === o2.getToken() && _) + for (var e3 = false; o2.getToken() !== 2 && o2.getToken() !== 17; ) { + if (o2.getToken() === 5) { + if (e3 || w(4, [], []), m2(","), v(), o2.getToken() === 2 && _) break; } else e3 && w(6, [], []); - (10 !== o2.getToken() ? (w(3, [], [2, 5]), 0) : (y(false), 6 === o2.getToken() ? (m2(":"), v(), C() || w(4, [], [2, 5])) : w(5, [], [2, 5]), 1)) || w(4, [], [2, 5]), e3 = true; + (o2.getToken() !== 10 ? (w(3, [], [2, 5]), 0) : (y(false), o2.getToken() === 6 ? (m2(":"), v(), C() || w(4, [], [2, 5])) : w(5, [], [2, 5]), 1)) || w(4, [], [2, 5]), e3 = true; } - return c2(), 2 !== o2.getToken() ? w(7, [2], []) : v(), true; + return c2(), o2.getToken() !== 2 ? w(7, [2], []) : v(), true; }(); case 10: return y(true); @@ -23010,7 +23010,7 @@ case 11: var e3 = 0; try { - "number" != typeof (e3 = JSON.parse(o2.getTokenValue())) && (w(2), e3 = 0); + typeof (e3 = JSON.parse(o2.getTokenValue())) != "number" && (w(2), e3 = 0); } catch (e4) { w(2); } @@ -23032,7 +23032,7 @@ }(); } } - return v(), 17 === o2.getToken() ? !!n2.allowEmptyContent || (w(4, [], []), false) : C() ? (17 !== o2.getToken() && w(9, [], []), true) : (w(4, [], []), false); + return v(), o2.getToken() === 17 ? !!n2.allowEmptyContent || (w(4, [], []), false) : C() ? (o2.getToken() !== 17 && w(9, [], []), true) : (w(4, [], []), false); } n.d(t, "a", function() { return u; @@ -23050,10 +23050,10 @@ e2.DEFAULT = {allowTrailingComma: false}; }(d || (d = {})); var u = i, p = function(e2, t2, n2) { - void 0 === t2 && (t2 = []), void 0 === n2 && (n2 = d.DEFAULT); + t2 === void 0 && (t2 = []), n2 === void 0 && (n2 = d.DEFAULT); var i2 = null, o2 = [], r2 = []; function s2(e3) { - Array.isArray(o2) ? o2.push(e3) : null !== i2 && (o2[i2] = e3); + Array.isArray(o2) ? o2.push(e3) : i2 !== null && (o2[i2] = e3); } return h(e2, {onObjectBegin: function() { var e3 = {}; @@ -23071,8 +23071,8 @@ t2.push({error: e3, offset: n3, length: i3}); }}, n2), o2[0]; }, m = function e2(t2, n2, i2) { - if (void 0 === i2 && (i2 = false), function(e3, t3, n3) { - return void 0 === n3 && (n3 = false), t3 >= e3.offset && t3 < e3.offset + e3.length || n3 && t3 === e3.offset + e3.length; + if (i2 === void 0 && (i2 = false), function(e3, t3, n3) { + return n3 === void 0 && (n3 = false), t3 >= e3.offset && t3 < e3.offset + e3.length || n3 && t3 === e3.offset + e3.length; }(t2, n2, i2)) { var o2 = t2.children; if (Array.isArray(o2)) @@ -23087,12 +23087,12 @@ if (!t2.parent || !t2.parent.children) return []; var n2 = e2(t2.parent); - if ("property" === t2.parent.type) { + if (t2.parent.type === "property") { var i2 = t2.parent.children[0].value; n2.push(i2); - } else if ("array" === t2.parent.type) { + } else if (t2.parent.type === "array") { var o2 = t2.parent.children.indexOf(t2); - -1 !== o2 && n2.push(o2); + o2 !== -1 && n2.push(o2); } return n2; }, f = function e2(t2) { @@ -23177,7 +23177,7 @@ return o.b.fromString(t3); } return s[e3.keyCode] || 0; - }(t2), this.code = t2.code, this.ctrlKey = this.ctrlKey || 5 === this.keyCode, this.altKey = this.altKey || 6 === this.keyCode, this.shiftKey = this.shiftKey || 4 === this.keyCode, this.metaKey = this.metaKey || 57 === this.keyCode, this._asKeybinding = this._computeKeybinding(), this._asRuntimeKeybinding = this._computeRuntimeKeybinding(); + }(t2), this.code = t2.code, this.ctrlKey = this.ctrlKey || this.keyCode === 5, this.altKey = this.altKey || this.keyCode === 6, this.shiftKey = this.shiftKey || this.keyCode === 4, this.metaKey = this.metaKey || this.keyCode === 57, this._asKeybinding = this._computeKeybinding(), this._asRuntimeKeybinding = this._computeRuntimeKeybinding(); } preventDefault() { this.browserEvent && this.browserEvent.preventDefault && this.browserEvent.preventDefault(); @@ -23193,13 +23193,13 @@ } _computeKeybinding() { let e2 = 0; - 5 !== this.keyCode && 4 !== this.keyCode && 6 !== this.keyCode && 57 !== this.keyCode && (e2 = this.keyCode); + this.keyCode !== 5 && this.keyCode !== 4 && this.keyCode !== 6 && this.keyCode !== 57 && (e2 = this.keyCode); let t2 = 0; return this.ctrlKey && (t2 |= l), this.altKey && (t2 |= 512), this.shiftKey && (t2 |= 1024), this.metaKey && (t2 |= c), t2 |= e2, t2; } _computeRuntimeKeybinding() { let e2 = 0; - return 5 !== this.keyCode && 4 !== this.keyCode && 6 !== this.keyCode && 57 !== this.keyCode && (e2 = this.keyCode), new o.e(this.ctrlKey, this.shiftKey, this.altKey, this.metaKey, e2); + return this.keyCode !== 5 && this.keyCode !== 4 && this.keyCode !== 6 && this.keyCode !== 57 && (e2 = this.keyCode), new o.e(this.ctrlKey, this.shiftKey, this.altKey, this.metaKey, e2); } } }, function(e, t, n) { @@ -23222,7 +23222,7 @@ var i = n(34), o = n(177), r = n(11); class s { constructor(e2) { - this.timestamp = Date.now(), this.browserEvent = e2, this.leftButton = 0 === e2.button, this.middleButton = 1 === e2.button, this.rightButton = 2 === e2.button, this.buttons = e2.buttons, this.target = e2.target, this.detail = e2.detail || 1, "dblclick" === e2.type && (this.detail = 2), this.ctrlKey = e2.ctrlKey, this.shiftKey = e2.shiftKey, this.altKey = e2.altKey, this.metaKey = e2.metaKey, "number" == typeof e2.pageX ? (this.posx = e2.pageX, this.posy = e2.pageY) : (this.posx = e2.clientX + document.body.scrollLeft + document.documentElement.scrollLeft, this.posy = e2.clientY + document.body.scrollTop + document.documentElement.scrollTop); + this.timestamp = Date.now(), this.browserEvent = e2, this.leftButton = e2.button === 0, this.middleButton = e2.button === 1, this.rightButton = e2.button === 2, this.buttons = e2.buttons, this.target = e2.target, this.detail = e2.detail || 1, e2.type === "dblclick" && (this.detail = 2), this.ctrlKey = e2.ctrlKey, this.shiftKey = e2.shiftKey, this.altKey = e2.altKey, this.metaKey = e2.metaKey, typeof e2.pageX == "number" ? (this.posx = e2.pageX, this.posy = e2.pageY) : (this.posx = e2.clientX + document.body.scrollLeft + document.documentElement.scrollLeft, this.posy = e2.clientY + document.body.scrollTop + document.documentElement.scrollTop); let t2 = o.a.getPositionOfChildWindowRelativeToAncestorWindow(self, e2.view); this.posx -= t2.left, this.posy -= t2.top; } @@ -23237,23 +23237,23 @@ constructor(e2, t2 = 0, n2 = 0) { if (this.browserEvent = e2 || null, this.target = e2 ? e2.target || e2.targetNode || e2.srcElement : null, this.deltaY = n2, this.deltaX = t2, e2) { let t3 = e2, n3 = e2; - if (void 0 !== t3.wheelDeltaY) + if (t3.wheelDeltaY !== void 0) this.deltaY = t3.wheelDeltaY / 120; - else if (void 0 !== n3.VERTICAL_AXIS && n3.axis === n3.VERTICAL_AXIS) + else if (n3.VERTICAL_AXIS !== void 0 && n3.axis === n3.VERTICAL_AXIS) this.deltaY = -n3.detail / 3; - else if ("wheel" === e2.type) { + else if (e2.type === "wheel") { const t4 = e2; t4.deltaMode === t4.DOM_DELTA_LINE ? i.h && !r.f ? this.deltaY = -e2.deltaY / 3 : this.deltaY = -e2.deltaY : this.deltaY = -e2.deltaY / 40; } - if (void 0 !== t3.wheelDeltaX) + if (t3.wheelDeltaX !== void 0) i.j && r.i ? this.deltaX = -t3.wheelDeltaX / 120 : this.deltaX = t3.wheelDeltaX / 120; - else if (void 0 !== n3.HORIZONTAL_AXIS && n3.axis === n3.HORIZONTAL_AXIS) + else if (n3.HORIZONTAL_AXIS !== void 0 && n3.axis === n3.HORIZONTAL_AXIS) this.deltaX = -e2.detail / 3; - else if ("wheel" === e2.type) { + else if (e2.type === "wheel") { const t4 = e2; t4.deltaMode === t4.DOM_DELTA_LINE ? i.h && !r.f ? this.deltaX = -e2.deltaX / 3 : this.deltaX = -e2.deltaX : this.deltaX = -e2.deltaX / 40; } - 0 === this.deltaY && 0 === this.deltaX && e2.wheelDelta && (this.deltaY = e2.wheelDelta / 120); + this.deltaY === 0 && this.deltaX === 0 && e2.wheelDelta && (this.deltaY = e2.wheelDelta / 120); } } preventDefault() { @@ -23321,14 +23321,14 @@ if (!n2 || n2.length < t2.length) return null; let i2; - i2 = e2 ? o.T(n2, t2) : 0 === n2.indexOf(t2); + i2 = e2 ? o.T(n2, t2) : n2.indexOf(t2) === 0; if (!i2) return null; return t2.length > 0 ? [{start: 0, end: t2.length}] : []; }.bind(void 0, true); function a(e2, t2) { const n2 = t2.toLowerCase().indexOf(e2.toLowerCase()); - return -1 === n2 ? null : [{start: n2, end: n2 + e2.length}]; + return n2 === -1 ? null : [{start: n2, end: n2 + e2.length}]; } function l(e2) { return 97 <= e2 && e2 <= 122; @@ -23340,7 +23340,7 @@ return 48 <= e2 && e2 <= 57; } function h(e2) { - return 32 === e2 || 9 === e2 || 10 === e2 || 13 === e2; + return e2 === 32 || e2 === 9 || e2 === 10 || e2 === 13; } const u = new Set(); function p(e2) { @@ -23350,7 +23350,7 @@ return l(e2) || c(e2) || d(e2); } function g(e2, t2) { - return 0 === t2.length ? t2 = [e2] : e2.end === t2[0].start ? t2[0].start = e2.start : t2.unshift(e2), t2; + return t2.length === 0 ? t2 = [e2] : e2.end === t2[0].start ? t2[0].start = e2.start : t2.unshift(e2), t2; } function f(e2, t2) { for (let n2 = t2; n2 < e2.length; n2++) { @@ -23371,19 +23371,19 @@ let o2 = null, r2 = i2 + 1; for (o2 = b(e2, t2, n2 + 1, i2 + 1); !o2 && (r2 = f(t2, r2)) < t2.length; ) o2 = b(e2, t2, n2 + 1, r2), r2++; - return null === o2 ? null : g({start: i2, end: i2 + 1}, o2); + return o2 === null ? null : g({start: i2, end: i2 + 1}, o2); } } function _(e2, t2) { if (!t2) return null; - if (0 === (t2 = t2.trim()).length) + if ((t2 = t2.trim()).length === 0) return null; if (!function(e3) { let t3 = 0, n3 = 0, i3 = 0, o3 = 0; for (let r2 = 0; r2 < e3.length; r2++) i3 = e3.charCodeAt(r2), c(i3) && t3++, l(i3) && n3++, h(i3) && o3++; - return 0 !== t3 && 0 !== n3 || 0 !== o3 ? t3 <= 5 : e3.length <= 30; + return t3 !== 0 && n3 !== 0 || o3 !== 0 ? t3 <= 5 : e3.length <= 30; }(e2)) return null; if (t2.length > 60) @@ -23400,21 +23400,21 @@ }(n2)) { if (!function(e3) { const {upperPercent: t3, lowerPercent: n3} = e3; - return 0 === n3 && t3 > 0.6; + return n3 === 0 && t3 > 0.6; }(n2)) return null; t2 = t2.toLowerCase(); } let i2 = null, o2 = 0; - for (e2 = e2.toLowerCase(); o2 < t2.length && null === (i2 = b(e2, t2, 0, o2)); ) + for (e2 = e2.toLowerCase(); o2 < t2.length && (i2 = b(e2, t2, 0, o2)) === null; ) o2 = f(t2, o2 + 1); return i2; } function v(e2, t2, n2 = false) { - if (!t2 || 0 === t2.length) + if (!t2 || t2.length === 0) return null; let i2 = null, o2 = 0; - for (e2 = e2.toLowerCase(), t2 = t2.toLowerCase(); o2 < t2.length && null === (i2 = w(e2, t2, 0, o2, n2)); ) + for (e2 = e2.toLowerCase(), t2 = t2.toLowerCase(); o2 < t2.length && (i2 = w(e2, t2, 0, o2, n2)) === null; ) o2 = y(t2, o2 + 1); return i2; } @@ -23428,7 +23428,7 @@ if (r3 = w(e2, t2, n2 + 1, i2 + 1, o2), !o2) for (; !r3 && (s3 = y(t2, s3)) < t2.length; ) r3 = w(e2, t2, n2 + 1, s3, o2), s3++; - return null === r3 ? null : g({start: i2, end: i2 + 1}, r3); + return r3 === null ? null : g({start: i2, end: i2 + 1}, r3); } return null; var r2, s2; @@ -23454,7 +23454,7 @@ }(e2.toLowerCase(), t2.toLowerCase(), 0, 0); }), S = new i.a(1e4); function k(e2, t2, n2 = false) { - if ("string" != typeof e2 || "string" != typeof t2) + if (typeof e2 != "string" || typeof t2 != "string") return null; let i2 = S.get(e2); i2 || (i2 = new RegExp(o.p(e2), "i"), S.set(e2, i2)); @@ -23470,17 +23470,17 @@ const n3 = o2.indexOf(t2.charAt(e3), c2); if (n3 >= 0) l2 += 1, a2 += Math.pow(2, n3), c2 = n3 + 1; - else if (0 !== a2) + else if (a2 !== 0) break; } return [l2, a2, r2]; } function T(e2) { - if (void 0 === e2) + if (e2 === void 0) return []; const t2 = e2[1].toString(2), n2 = []; for (let i2 = e2[2]; i2 < L; i2++) - if ("1" === t2[t2.length - (i2 + 1)]) { + if (t2[t2.length - (i2 + 1)] === "1") { const e3 = n2[n2.length - 1]; e3 && e3.end === i2 ? e3.end = i2 + 1 : n2.push({start: i2, end: i2 + 1}); } @@ -23545,23 +23545,23 @@ let s3 = 0; for (; t3 > 0 && n3 > 0; ) { const a3 = O[t3][n3], l3 = D[t3][n3]; - if (4 === l3) - n3 -= 1, r3 ? i3 -= 5 : 0 !== o3 && (i3 -= 1), r3 = false, s3 = 0; + if (l3 === 4) + n3 -= 1, r3 ? i3 -= 5 : o3 !== 0 && (i3 -= 1), r3 = false, s3 = 0; else { if (!(2 & l3)) return; - if (4 & l3 && e3(t3, n3 - 1, 0 !== o3 ? i3 - 1 : i3, o3, r3), i3 += a3, t3 -= 1, n3 -= 1, r3 = true, o3 += Math.pow(2, n3 + j), 1 === a3) { - if (s3 += 1, 0 === t3 && !V) + if (4 & l3 && e3(t3, n3 - 1, o3 !== 0 ? i3 - 1 : i3, o3, r3), i3 += a3, t3 -= 1, n3 -= 1, r3 = true, o3 += Math.pow(2, n3 + j), a3 === 1) { + if (s3 += 1, t3 === 0 && !V) return; } else i3 += 1 + s3 * (a3 - 1), s3 = 0; } } W += 1, (i3 -= n3 >= 3 ? 9 : 3 * n3) > B && (B = i3, z = o3); - }(c2 - 1, d2 - 1, a2 === l2 ? 1 : 0, 0, false), 0 !== W) ? [B, z, r2] : void 0; + }(c2 - 1, d2 - 1, a2 === l2 ? 1 : 0, 0, false), W !== 0) ? [B, z, r2] : void 0; } function F(e2, t2, n2, i2, o2, r2, s2) { - return t2[n2] !== r2[s2] ? -1 : s2 === n2 - i2 ? e2[n2] === o2[s2] ? 7 : 5 : !R(s2, o2, r2) || 0 !== s2 && R(s2 - 1, o2, r2) ? !A(r2, s2) || 0 !== s2 && A(r2, s2 - 1) ? A(r2, s2 - 1) || function(e3, t3) { + return t2[n2] !== r2[s2] ? -1 : s2 === n2 - i2 ? e2[n2] === o2[s2] ? 7 : 5 : !R(s2, o2, r2) || s2 !== 0 && R(s2 - 1, o2, r2) ? !A(r2, s2) || s2 !== 0 && A(r2, s2 - 1) ? A(r2, s2 - 1) || function(e3, t3) { if (t3 < 0 || t3 >= e3.length) return false; switch (e3.charCodeAt(t3)) { @@ -23575,7 +23575,7 @@ } !function(e2) { e2.Default = Object.freeze([-100, 0, 0]), e2.isDefault = function(e3) { - return !e3 || -100 === e3[0] && 0 === e3[1] && 0 === e3[2]; + return !e3 || e3[0] === -100 && e3[1] === 0 && e3[2] === 0; }; }(M || (M = {})); let W = 0, z = 0, B = 0, j = 0, V = false; @@ -23622,7 +23622,7 @@ return p; }); var i = n(8); - const o = void 0 !== e2, r = "undefined" != typeof TextDecoder; + const o = e2 !== void 0, r = typeof TextDecoder != "undefined"; let s; class a { constructor(e3) { @@ -23796,7 +23796,7 @@ } } isOK(e2) { - return 0 == (this._standardTokenMask & e2); + return (this._standardTokenMask & e2) == 0; } } }, function(e, t, n) { @@ -23834,7 +23834,7 @@ this._actual.set(e2, 1); } has(e2) { - return 1 === this._actual.get(e2); + return this._actual.get(e2) === 1; } } }, function(e, t, n) { @@ -23909,7 +23909,7 @@ let e2 = true; for (; this._to < this._value.length; this._to++) { const t2 = this._value.charCodeAt(this._to); - if (47 === t2 || this._splitOnBackslash && 92 === t2) { + if (t2 === 47 || this._splitOnBackslash && t2 === 92) { if (!e2) break; this._from++; @@ -23937,34 +23937,34 @@ return this._value.query && this._states.push(4), this._value.fragment && this._states.push(5), this._stateIdx = 0, this; } next() { - return 3 === this._states[this._stateIdx] && this._pathIterator.hasNext() ? this._pathIterator.next() : this._stateIdx += 1, this; + return this._states[this._stateIdx] === 3 && this._pathIterator.hasNext() ? this._pathIterator.next() : this._stateIdx += 1, this; } hasNext() { - return 3 === this._states[this._stateIdx] && this._pathIterator.hasNext() || this._stateIdx < this._states.length - 1; + return this._states[this._stateIdx] === 3 && this._pathIterator.hasNext() || this._stateIdx < this._states.length - 1; } cmp(e2) { - if (1 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 1) return Object(o.f)(e2, this._value.scheme); - if (2 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 2) return Object(o.i)(e2, this._value.authority); - if (3 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 3) return this._pathIterator.cmp(e2); - if (4 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 4) return Object(o.f)(e2, this._value.query); - if (5 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 5) return Object(o.f)(e2, this._value.fragment); throw new Error(); } value() { - if (1 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 1) return this._value.scheme; - if (2 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 2) return this._value.authority; - if (3 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 3) return this._pathIterator.value(); - if (4 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 4) return this._value.query; - if (5 === this._states[this._stateIdx]) + if (this._states[this._stateIdx] === 5) return this._value.fragment; throw new Error(); } @@ -24045,7 +24045,7 @@ } class u { constructor(e2, t2) { - this[Symbol.toStringTag] = "ResourceMap", e2 instanceof u ? (this.map = new Map(e2.map), this.toKey = null != t2 ? t2 : u.defaultToKey) : (this.map = new Map(), this.toKey = null != e2 ? e2 : u.defaultToKey); + this[Symbol.toStringTag] = "ResourceMap", e2 instanceof u ? (this.map = new Map(e2.map), this.toKey = t2 != null ? t2 : u.defaultToKey) : (this.map = new Map(), this.toKey = e2 != null ? e2 : u.defaultToKey); } set(e2, t2) { return this.map.set(this.toKey(e2), t2), this; @@ -24066,7 +24066,7 @@ return this.map.delete(this.toKey(e2)); } forEach(e2, t2) { - void 0 !== t2 && (e2 = e2.bind(t2)); + t2 !== void 0 && (e2 = e2.bind(t2)); for (let [t3, n2] of this.map) e2(n2, i.a.parse(t3), this); } @@ -24102,11 +24102,11 @@ } get first() { var e2; - return null === (e2 = this._head) || void 0 === e2 ? void 0 : e2.value; + return (e2 = this._head) === null || e2 === void 0 ? void 0 : e2.value; } get last() { var e2; - return null === (e2 = this._tail) || void 0 === e2 ? void 0 : e2.value; + return (e2 = this._tail) === null || e2 === void 0 ? void 0 : e2.value; } has(e2) { return this._map.has(e2); @@ -24114,12 +24114,12 @@ get(e2, t2 = 0) { const n2 = this._map.get(e2); if (n2) - return 0 !== t2 && this.touch(n2, t2), n2.value; + return t2 !== 0 && this.touch(n2, t2), n2.value; } set(e2, t2, n2 = 0) { let i2 = this._map.get(e2); if (i2) - i2.value = t2, 0 !== n2 && this.touch(i2, n2); + i2.value = t2, n2 !== 0 && this.touch(i2, n2); else { switch (i2 = {key: e2, value: t2, next: void 0, previous: void 0}, n2) { case 0: @@ -24209,7 +24209,7 @@ trimOld(e2) { if (e2 >= this.size) return; - if (0 === e2) + if (e2 === 0) return void this.clear(); let t2 = this._head, n2 = this.size; for (; t2 && n2 > e2; ) @@ -24256,13 +24256,13 @@ touch(e2, t2) { if (!this._head || !this._tail) throw new Error("Invalid list"); - if (1 === t2 || 2 === t2) { - if (1 === t2) { + if (t2 === 1 || t2 === 2) { + if (t2 === 1) { if (e2 === this._head) return; const t3 = e2.next, n2 = e2.previous; e2 === this._tail ? (n2.next = void 0, this._tail = n2) : (t3.previous = n2, n2.next = t3), e2.previous = void 0, e2.next = this._head, this._head.previous = e2, this._head = e2, this._state++; - } else if (2 === t2) { + } else if (t2 === 2) { if (e2 === this._tail) return; const t3 = e2.next, n2 = e2.previous; @@ -24423,7 +24423,7 @@ return new i.f(new r.a(a2.lineNumber, a2.column, a2.lineNumber, a2.column), a2.leftoverVisibleColumns, new o.a(c.lineNumber, c.column), c.leftoverVisibleColumns); } static up(e2, t2, n2, o2, r2, s2, l2) { - const c = i.a.visibleColumnFromColumn(t2.getLineContent(n2), o2, e2.tabSize) + r2, d = 1 === n2 && 1 === o2; + const c = i.a.visibleColumnFromColumn(t2.getLineContent(n2), o2, e2.tabSize) + r2, d = n2 === 1 && o2 === 1; return (n2 -= s2) < 1 ? (n2 = 1, o2 = l2 ? t2.getLineMinColumn(n2) : Math.min(t2.getLineMaxColumn(n2), o2)) : o2 = i.a.columnFromVisibleColumn2(e2, t2, n2, c), r2 = d ? 0 : c - i.a.visibleColumnFromColumn(t2.getLineContent(n2), o2, e2.tabSize), new a(n2, o2, r2); } static moveUp(e2, t2, n2, i2, o2) { @@ -24645,13 +24645,13 @@ static simpleMove(e2, t2, n2, i2, o2, r2) { switch (n2) { case 0: - return 4 === r2 ? this._moveHalfLineLeft(e2, t2, i2) : this._moveLeft(e2, t2, i2, o2); + return r2 === 4 ? this._moveHalfLineLeft(e2, t2, i2) : this._moveLeft(e2, t2, i2, o2); case 1: - return 4 === r2 ? this._moveHalfLineRight(e2, t2, i2) : this._moveRight(e2, t2, i2, o2); + return r2 === 4 ? this._moveHalfLineRight(e2, t2, i2) : this._moveRight(e2, t2, i2, o2); case 2: - return 2 === r2 ? this._moveUpByViewLines(e2, t2, i2, o2) : this._moveUpByModelLines(e2, t2, i2, o2); + return r2 === 2 ? this._moveUpByViewLines(e2, t2, i2, o2) : this._moveUpByModelLines(e2, t2, i2, o2); case 3: - return 2 === r2 ? this._moveDownByViewLines(e2, t2, i2, o2) : this._moveDownByModelLines(e2, t2, i2, o2); + return r2 === 2 ? this._moveDownByViewLines(e2, t2, i2, o2) : this._moveDownByModelLines(e2, t2, i2, o2); case 4: return this._moveToViewMinColumn(e2, t2, i2); case 5: @@ -24717,7 +24717,7 @@ for (let l2 = 0, c2 = t2.length; l2 < c2; l2++) { const c3 = t2[l2], d2 = o2 || !c3.viewState.hasSelection(); let h = s.a.moveLeft(e2.cursorConfig, e2, c3.viewState, n2, i2); - if (d2 && 1 === i2 && h.position.lineNumber !== c3.viewState.position.lineNumber) { + if (d2 && i2 === 1 && h.position.lineNumber !== c3.viewState.position.lineNumber) { e2.coordinatesConverter.convertViewPositionToModelPosition(h.position).lineNumber === c3.modelState.position.lineNumber && (h = s.a.moveLeft(e2.cursorConfig, e2, h, n2, 1)); } a2[l2] = r.d.fromViewState(h); @@ -24738,7 +24738,7 @@ for (let l2 = 0, c2 = t2.length; l2 < c2; l2++) { const c3 = t2[l2], d2 = o2 || !c3.viewState.hasSelection(); let h = s.a.moveRight(e2.cursorConfig, e2, c3.viewState, n2, i2); - if (d2 && 1 === i2 && h.position.lineNumber !== c3.viewState.position.lineNumber) { + if (d2 && i2 === 1 && h.position.lineNumber !== c3.viewState.position.lineNumber) { e2.coordinatesConverter.convertViewPositionToModelPosition(h.position).lineNumber === c3.modelState.position.lineNumber && (h = s.a.moveRight(e2.cursorConfig, e2, h, n2, 1)); } a2[l2] = r.d.fromViewState(h); @@ -24927,12 +24927,12 @@ } !function() { try { - n = "function" == typeof setTimeout ? setTimeout : r; + n = typeof setTimeout == "function" ? setTimeout : r; } catch (e2) { n = r; } try { - i = "function" == typeof clearTimeout ? clearTimeout : s; + i = typeof clearTimeout == "function" ? clearTimeout : s; } catch (e2) { i = s; } @@ -24977,7 +24977,7 @@ if (arguments.length > 1) for (var n2 = 1; n2 < arguments.length; n2++) t2[n2 - 1] = arguments[n2]; - c.push(new m(e2, t2)), 1 !== c.length || d || a(p); + c.push(new m(e2, t2)), c.length !== 1 || d || a(p); }, m.prototype.run = function() { this.fun.apply(null, this.array); }, o.title = "browser", o.browser = true, o.env = {}, o.argv = [], o.version = "", o.versions = {}, o.on = g, o.addListener = g, o.once = g, o.off = g, o.removeListener = g, o.removeAllListeners = g, o.emit = g, o.prependListener = g, o.prependOnceListener = g, o.listeners = function(e2) { @@ -25026,15 +25026,15 @@ const o2 = []; for (const e3 of this._requests) { let r2; - 0 === e3.type && (r2 = t2), 2 === e3.type && (r2 = n2), 1 === e3.type && (r2 = i2), r2.appendChild(document.createElement("br")); + e3.type === 0 && (r2 = t2), e3.type === 2 && (r2 = n2), e3.type === 1 && (r2 = i2), r2.appendChild(document.createElement("br")); const s2 = document.createElement("span"); l._render(s2, e3), r2.appendChild(s2), o2.push(s2); } this._container = e2, this._testElements = o2; } static _render(e2, t2) { - if (" " === t2.chr) { - let t3 = " "; + if (t2.chr === " ") { + let t3 = "\xA0"; for (let e3 = 0; e3 < 8; e3++) t3 += t3; e2.innerText = t3; @@ -25085,13 +25085,13 @@ super(), this._onDidChange = this._register(new o.a()), this.onDidChange = this._onDidChange.event, this._cache = new p(), this._evictUntrustedReadingsTimeout = -1; } dispose() { - -1 !== this._evictUntrustedReadingsTimeout && (clearTimeout(this._evictUntrustedReadingsTimeout), this._evictUntrustedReadingsTimeout = -1), super.dispose(); + this._evictUntrustedReadingsTimeout !== -1 && (clearTimeout(this._evictUntrustedReadingsTimeout), this._evictUntrustedReadingsTimeout = -1), super.dispose(); } clearCache() { this._cache = new p(), this._onDidChange.fire(); } _writeToCache(e2, t2) { - this._cache.put(e2, t2), t2.isTrusted || -1 !== this._evictUntrustedReadingsTimeout || (this._evictUntrustedReadingsTimeout = setTimeout(() => { + this._cache.put(e2, t2), t2.isTrusted || this._evictUntrustedReadingsTimeout !== -1 || (this._evictUntrustedReadingsTimeout = setTimeout(() => { this._evictUntrustedReadingsTimeout = -1, this._evictUntrustedReadings(); }, 5e3)); } @@ -25116,7 +25116,7 @@ return n2.push(o2), i2 && i2.push(o2), o2; } static _actualReadConfiguration(e2) { - const t2 = [], n2 = [], o2 = this.createRequest("n", 0, t2, n2), r2 = this.createRequest("m", 0, t2, null), s2 = this.createRequest(" ", 0, t2, n2), a2 = this.createRequest("0", 0, t2, n2), c2 = this.createRequest("1", 0, t2, n2), d2 = this.createRequest("2", 0, t2, n2), p2 = this.createRequest("3", 0, t2, n2), m2 = this.createRequest("4", 0, t2, n2), g2 = this.createRequest("5", 0, t2, n2), f2 = this.createRequest("6", 0, t2, n2), b = this.createRequest("7", 0, t2, n2), _ = this.createRequest("8", 0, t2, n2), v = this.createRequest("9", 0, t2, n2), w = this.createRequest("→", 0, t2, n2), y = this.createRequest("→", 0, t2, null), C = this.createRequest("·", 0, t2, n2), x = this.createRequest(String.fromCharCode(11825), 0, t2, null); + const t2 = [], n2 = [], o2 = this.createRequest("n", 0, t2, n2), r2 = this.createRequest("\uFF4D", 0, t2, null), s2 = this.createRequest(" ", 0, t2, n2), a2 = this.createRequest("0", 0, t2, n2), c2 = this.createRequest("1", 0, t2, n2), d2 = this.createRequest("2", 0, t2, n2), p2 = this.createRequest("3", 0, t2, n2), m2 = this.createRequest("4", 0, t2, n2), g2 = this.createRequest("5", 0, t2, n2), f2 = this.createRequest("6", 0, t2, n2), b = this.createRequest("7", 0, t2, n2), _ = this.createRequest("8", 0, t2, n2), v = this.createRequest("9", 0, t2, n2), w = this.createRequest("\u2192", 0, t2, n2), y = this.createRequest("\uFFEB", 0, t2, null), C = this.createRequest("\xB7", 0, t2, n2), x = this.createRequest(String.fromCharCode(11825), 0, t2, null); this.createRequest("|", 0, t2, n2), this.createRequest("/", 0, t2, n2), this.createRequest("-", 0, t2, n2), this.createRequest("_", 0, t2, n2), this.createRequest("i", 0, t2, n2), this.createRequest("l", 0, t2, n2), this.createRequest("m", 0, t2, n2), this.createRequest("|", 1, t2, n2), this.createRequest("_", 1, t2, n2), this.createRequest("i", 1, t2, n2), this.createRequest("l", 1, t2, n2), this.createRequest("m", 1, t2, n2), this.createRequest("n", 1, t2, n2), this.createRequest("|", 2, t2, n2), this.createRequest("_", 2, t2, n2), this.createRequest("i", 2, t2, n2), this.createRequest("l", 2, t2, n2), this.createRequest("m", 2, t2, n2), this.createRequest("n", 2, t2, n2), function(e3, t3) { new l(e3, t3).read(); }(e2, t2); @@ -25219,12 +25219,12 @@ }()); class g { constructor(e2, t2) { - if (this.flags = t2, 0 != (1 & this.flags)) { + if (this.flags = t2, (1 & this.flags) != 0) { const t3 = e2.getModel(); this.modelVersionId = t3 ? i.x("{0}#{1}", t3.uri.toString(), t3.getVersionId()) : null; } else this.modelVersionId = null; - 0 != (4 & this.flags) ? this.position = e2.getPosition() : this.position = null, 0 != (2 & this.flags) ? this.selection = e2.getSelection() : this.selection = null, 0 != (8 & this.flags) ? (this.scrollLeft = e2.getScrollLeft(), this.scrollTop = e2.getScrollTop()) : (this.scrollLeft = -1, this.scrollTop = -1); + (4 & this.flags) != 0 ? this.position = e2.getPosition() : this.position = null, (2 & this.flags) != 0 ? this.selection = e2.getSelection() : this.selection = null, (8 & this.flags) != 0 ? (this.scrollLeft = e2.getScrollLeft(), this.scrollTop = e2.getScrollTop()) : (this.scrollLeft = -1, this.scrollTop = -1); } _equals(e2) { if (!(e2 instanceof g)) @@ -25262,7 +25262,7 @@ } static capture(e2) { let t2 = null, n2 = 0; - if (0 !== e2.getScrollTop()) { + if (e2.getScrollTop() !== 0) { const i2 = e2.getVisibleRanges(); if (i2.length > 0) { t2 = i2[0].getStartPosition(); @@ -25302,7 +25302,7 @@ function r(e2, t2) { switch (typeof e2) { case "object": - return null === e2 ? s(349, t2) : Array.isArray(e2) ? (n2 = e2, i2 = s(104579, i2 = t2), n2.reduce((e3, t3) => r(t3, e3), i2)) : function(e3, t3) { + return e2 === null ? s(349, t2) : Array.isArray(e2) ? (n2 = e2, i2 = s(104579, i2 = t2), n2.reduce((e3, t3) => r(t3, e3), i2)) : function(e3, t3) { return t3 = s(181387, t3), Object.keys(e3).sort().reduce((t4, n3) => (t4 = a(n3, t4), r(e3[n3], t4)), t3); }(e2, t2); case "string": @@ -25350,11 +25350,11 @@ } update(e2) { const t2 = e2.length; - if (0 === t2) + if (t2 === 0) return; const n2 = this._buff; let o2, r2, s2 = this._buffLen, a2 = this._leftoverHighSurrogate; - for (0 !== a2 ? (o2 = a2, r2 = -1, a2 = 0) : (o2 = e2.charCodeAt(0), r2 = 0); ; ) { + for (a2 !== 0 ? (o2 = a2, r2 = -1, a2 = 0) : (o2 = e2.charCodeAt(0), r2 = 0); ; ) { let l2 = o2; if (i.F(o2)) { if (!(r2 + 1 < t2)) { @@ -25424,7 +25424,7 @@ } function c(e2, t2, n2, o2) { let s2 = new Uint32Array(2); - return s2[0] = o2, s2[1] = (16384 | e2 << 0 | 2 << 23) >>> 0, new i.c(s2, null === n2 ? r : n2); + return s2[0] = o2, s2[1] = (16384 | e2 << 0 | 2 << 23) >>> 0, new i.c(s2, n2 === null ? r : n2); } }, function(e, t, n) { "use strict"; @@ -25458,13 +25458,13 @@ } class l { constructor(e2, t2, n2, i2, o2, r2, s2, a2, l2, c2, d2, h2, u2, p2, m2, g, f, b, _) { - this.useMonospaceOptimizations = e2, this.canUseHalfwidthRightwardsArrow = t2, this.lineContent = n2, this.continuesWithWrappedLine = i2, this.isBasicASCII = o2, this.containsRTL = r2, this.fauxIndentLength = s2, this.lineTokens = a2, this.lineDecorations = l2, this.tabSize = c2, this.startVisibleColumn = d2, this.spaceWidth = h2, this.stopRenderingLineAfter = m2, this.renderWhitespace = "all" === g ? 4 : "boundary" === g ? 1 : "selection" === g ? 2 : "trailing" === g ? 3 : 0, this.renderControlCharacters = f, this.fontLigatures = b, this.selectionsOnLine = _ && _.sort((e3, t3) => e3.startOffset < t3.startOffset ? -1 : 1); + this.useMonospaceOptimizations = e2, this.canUseHalfwidthRightwardsArrow = t2, this.lineContent = n2, this.continuesWithWrappedLine = i2, this.isBasicASCII = o2, this.containsRTL = r2, this.fauxIndentLength = s2, this.lineTokens = a2, this.lineDecorations = l2, this.tabSize = c2, this.startVisibleColumn = d2, this.spaceWidth = h2, this.stopRenderingLineAfter = m2, this.renderWhitespace = g === "all" ? 4 : g === "boundary" ? 1 : g === "selection" ? 2 : g === "trailing" ? 3 : 0, this.renderControlCharacters = f, this.fontLigatures = b, this.selectionsOnLine = _ && _.sort((e3, t3) => e3.startOffset < t3.startOffset ? -1 : 1); Math.abs(p2 - h2) < Math.abs(u2 - h2) ? (this.renderSpaceWidth = p2, this.renderSpaceCharCode = 11825) : (this.renderSpaceWidth = u2, this.renderSpaceCharCode = 183); } sameSelection(e2) { - if (null === this.selectionsOnLine) - return null === e2; - if (null === e2) + if (this.selectionsOnLine === null) + return e2 === null; + if (e2 === null) return false; if (e2.length !== this.selectionsOnLine.length) return false; @@ -25495,10 +25495,10 @@ return this._absoluteOffsets; } charOffsetToPartData(e2) { - return 0 === this.length ? 0 : e2 < 0 ? this._data[0] : e2 >= this.length ? this._data[this.length - 1] : this._data[e2]; + return this.length === 0 ? 0 : e2 < 0 ? this._data[0] : e2 >= this.length ? this._data[this.length - 1] : this._data[e2]; } partDataToCharOffset(e2, t2, n2) { - if (0 === this.length) + if (this.length === 0) return 0; let i2 = (e2 << 16 | n2 << 0) >>> 0, o2 = 0, r2 = this.length - 1; for (; o2 + 1 < r2; ) { @@ -25524,15 +25524,15 @@ } } function h(e2, t2) { - if (0 === e2.lineContent.length) { + if (e2.lineContent.length === 0) { let n2 = 0, i2 = "<span><span></span></span>"; if (e2.lineDecorations.length > 0) { const t3 = [], o2 = []; for (let i3 = 0, r2 = e2.lineDecorations.length; i3 < r2; i3++) { const r3 = e2.lineDecorations[i3]; - 1 === r3.type && (t3.push(e2.lineDecorations[i3].className), n2 |= 1), 2 === r3.type && (o2.push(e2.lineDecorations[i3].className), n2 |= 2); + r3.type === 1 && (t3.push(e2.lineDecorations[i3].className), n2 |= 1), r3.type === 2 && (o2.push(e2.lineDecorations[i3].className), n2 |= 2); } - if (0 !== n2) { + if (n2 !== 0) { i2 = `<span>${t3.length > 0 ? `<span class="${t3.join(" ")}"></span>` : ""}${o2.length > 0 ? `<span class="${o2.join(" ")}"></span>` : ""}</span>`; } } @@ -25544,20 +25544,20 @@ g ? t3.appendASCIIString('<span dir="ltr">') : t3.appendASCIIString("<span>"); for (let e4 = 0, a3 = h2.length; e4 < a3; e4++) { E += k; - const a4 = h2[e4], l3 = a4.endIndex, c2 = a4.type, d2 = 0 !== _ && a4.isWhitespace(), m3 = d2 && !n2 && ("mtkw" === c2 || !r2), g2 = y === l3 && 4 === a4.metadata; + const a4 = h2[e4], l3 = a4.endIndex, c2 = a4.type, d2 = _ !== 0 && a4.isWhitespace(), m3 = d2 && !n2 && (c2 === "mtkw" || !r2), g2 = y === l3 && a4.metadata === 4; if (x = 0, t3.appendASCIIString('<span class="'), t3.appendASCIIString(m3 ? "mtkz" : c2), t3.appendASCII(34), d2) { let n3 = 0; { let e5 = y, t4 = C; for (; e5 < l3; e5++) { - const i2 = 0 | (9 === s2.charCodeAt(e5) ? p2 - t4 % p2 : 1); + const i2 = 0 | (s2.charCodeAt(e5) === 9 ? p2 - t4 % p2 : 1); n3 += i2, e5 >= u2 && (t4 += i2); } } for (m3 && (t3.appendASCIIString(' style="width:'), t3.appendASCIIString(String(f * n3)), t3.appendASCIIString('px"')), t3.appendASCII(62); y < l3; y++) { w.setPartData(y, e4 - S, x, E), S = 0; let n4; - if (9 === s2.charCodeAt(y)) { + if (s2.charCodeAt(y) === 9) { n4 = p2 - C % p2 | 0, !o2 || n4 > 1 ? t3.write1(8594) : t3.write1(65515); for (let e5 = 2; e5 <= n4; e5++) t3.write1(160); @@ -25613,7 +25613,7 @@ }(function(e3) { const t3 = e3.lineContent; let n2, o2; - -1 !== e3.stopRenderingLineAfter && e3.stopRenderingLineAfter < t3.length ? (n2 = true, o2 = e3.stopRenderingLineAfter) : (n2 = false, o2 = t3.length); + e3.stopRenderingLineAfter !== -1 && e3.stopRenderingLineAfter < t3.length ? (n2 = true, o2 = e3.stopRenderingLineAfter) : (n2 = false, o2 = t3.length); let a2 = function(e4, t4, n3) { let i2 = [], o3 = 0; t4 > 0 && (i2[o3++] = new s(t4, "", 0)); @@ -25630,27 +25630,27 @@ } return i2; }(e3.lineTokens, e3.fauxIndentLength, o2); - (4 === e3.renderWhitespace || 1 === e3.renderWhitespace || 2 === e3.renderWhitespace && e3.selectionsOnLine || 3 === e3.renderWhitespace) && (a2 = function(e4, t4, n3, o3) { - const r2 = e4.continuesWithWrappedLine, a3 = e4.fauxIndentLength, l3 = e4.tabSize, c2 = e4.startVisibleColumn, d2 = e4.useMonospaceOptimizations, h2 = e4.selectionsOnLine, u2 = 1 === e4.renderWhitespace, p2 = 3 === e4.renderWhitespace, m2 = e4.renderSpaceWidth !== e4.spaceWidth; + (e3.renderWhitespace === 4 || e3.renderWhitespace === 1 || e3.renderWhitespace === 2 && e3.selectionsOnLine || e3.renderWhitespace === 3) && (a2 = function(e4, t4, n3, o3) { + const r2 = e4.continuesWithWrappedLine, a3 = e4.fauxIndentLength, l3 = e4.tabSize, c2 = e4.startVisibleColumn, d2 = e4.useMonospaceOptimizations, h2 = e4.selectionsOnLine, u2 = e4.renderWhitespace === 1, p2 = e4.renderWhitespace === 3, m2 = e4.renderSpaceWidth !== e4.spaceWidth; let g = [], f = 0, b = 0, _ = o3[b].type, v = o3[b].endIndex; const w = o3.length; let y, C = false, x = i.w(t4); - -1 === x ? (C = true, x = n3, y = n3) : y = i.J(t4); + x === -1 ? (C = true, x = n3, y = n3) : y = i.J(t4); let S = false, k = 0, E = h2 && h2[k], T = c2 % l3; for (let e5 = a3; e5 < n3; e5++) { const r3 = t4.charCodeAt(e5); let c3; if (E && e5 >= E.endOffset && (k++, E = h2 && h2[k]), e5 < x || e5 > y) c3 = true; - else if (9 === r3) + else if (r3 === 9) c3 = true; - else if (32 === r3) + else if (r3 === 32) if (u2) if (S) c3 = true; else { const i2 = e5 + 1 < n3 ? t4.charCodeAt(e5 + 1) : 0; - c3 = 32 === i2 || 9 === i2; + c3 = i2 === 32 || i2 === 9; } else c3 = true; @@ -25667,14 +25667,14 @@ } } else (e5 === v || c3 && e5 > a3) && (g[f++] = new s(e5, _, 0), T %= l3); - for (9 === r3 ? T = l3 : i.E(r3) ? T += 2 : T++, S = c3; e5 === v; ) + for (r3 === 9 ? T = l3 : i.E(r3) ? T += 2 : T++, S = c3; e5 === v; ) b++, b < w && (_ = o3[b].type, v = o3[b].endIndex); } let L = false; if (S) if (r2 && u2) { let e5 = n3 > 0 ? t4.charCodeAt(n3 - 1) : 0, i2 = n3 > 1 ? t4.charCodeAt(n3 - 2) : 0; - 32 === e5 && 32 !== i2 && 9 !== i2 || (L = true); + e5 === 32 && i2 !== 32 && i2 !== 9 || (L = true); } else L = true; if (L) @@ -25691,7 +25691,7 @@ if (e3.lineDecorations.length > 0) { for (let t4 = 0, n3 = e3.lineDecorations.length; t4 < n3; t4++) { const n4 = e3.lineDecorations[t4]; - 3 === n4.type || 1 === n4.type ? l2 |= 1 : 2 === n4.type && (l2 |= 2); + n4.type === 3 || n4.type === 1 ? l2 |= 1 : n4.type === 2 && (l2 |= 2); } a2 = function(e4, t4, n3, i2) { i2.sort(r.a.compare); @@ -25728,7 +25728,7 @@ const t5 = a4.type, n5 = a4.metadata; let c2 = -1, d2 = i2; for (let a5 = i2; a5 < l3; a5++) - 32 === e4.charCodeAt(a5) && (c2 = a5), -1 !== c2 && a5 - d2 >= 50 && (o3[r2++] = new s(c2 + 1, t5, n5), d2 = c2 + 1, c2 = -1); + e4.charCodeAt(a5) === 32 && (c2 = a5), c2 !== -1 && a5 - d2 >= 50 && (o3[r2++] = new s(c2 + 1, t5, n5), d2 = c2 + 1, c2 = -1); d2 !== l3 && (o3[r2++] = new s(l3, t5, n5)); } else o3[r2++] = a4; @@ -25779,10 +25779,10 @@ this._coreKeybindings = [], this._extensionKeybindings = [], this._cachedMergedKeybindings = null; } static bindToCurrentPlatform(e2) { - if (1 === o.a) { + if (o.a === 1) { if (e2 && e2.win) return e2.win; - } else if (2 === o.a) { + } else if (o.a === 2) { if (e2 && e2.mac) return e2.mac; } else if (e2 && e2.linux) @@ -25805,13 +25805,13 @@ this.registerKeybindingRule(e2), r.a.registerCommand(e2); } static _mightProduceChar(e2) { - return e2 >= 21 && e2 <= 30 || (e2 >= 31 && e2 <= 56 || (80 === e2 || 81 === e2 || 82 === e2 || 83 === e2 || 84 === e2 || 85 === e2 || 86 === e2 || 110 === e2 || 111 === e2 || 87 === e2 || 88 === e2 || 89 === e2 || 90 === e2 || 91 === e2 || 92 === e2)); + return e2 >= 21 && e2 <= 30 || (e2 >= 31 && e2 <= 56 || (e2 === 80 || e2 === 81 || e2 === 82 || e2 === 83 || e2 === 84 || e2 === 85 || e2 === 86 || e2 === 110 || e2 === 111 || e2 === 87 || e2 === 88 || e2 === 89 || e2 === 90 || e2 === 91 || e2 === 92)); } _assertNoCtrlAlt(e2, t2) { e2.ctrlKey && e2.altKey && !e2.metaKey && a._mightProduceChar(e2.keyCode) && console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ", e2, " for ", t2); } _registerDefaultKeybinding(e2, t2, n2, i2, r2, s2) { - 1 === o.a && this._assertNoCtrlAlt(e2.parts[0], t2), this._coreKeybindings.push({keybinding: e2, command: t2, commandArgs: n2, when: s2, weight1: i2, weight2: r2, extensionId: null}), this._cachedMergedKeybindings = null; + o.a === 1 && this._assertNoCtrlAlt(e2.parts[0], t2), this._coreKeybindings.push({keybinding: e2, command: t2, commandArgs: n2, when: s2, weight1: i2, weight2: r2, extensionId: null}), this._cachedMergedKeybindings = null; } getDefaultKeybindings() { return this._cachedMergedKeybindings || (this._cachedMergedKeybindings = [].concat(this._coreKeybindings).concat(this._extensionKeybindings), this._cachedMergedKeybindings.sort(c)), this._cachedMergedKeybindings.slice(0); @@ -25847,7 +25847,7 @@ function r(e2, t2, n2) { function i2(i3) { const r2 = o(e2.getColorTheme(), t2); - "function" == typeof n2 ? n2(r2) : n2.style(r2); + typeof n2 == "function" ? n2(r2) : n2.style(r2); } return i2(e2.getColorTheme()), e2.onDidColorThemeChange(i2); } @@ -25889,7 +25889,7 @@ }); } handleMessage(e2) { - e2 && e2.vsWorker && (-1 !== this._workerId && e2.vsWorker !== this._workerId || this._handleMessage(e2)); + e2 && e2.vsWorker && (this._workerId !== -1 && e2.vsWorker !== this._workerId || this._handleMessage(e2)); } _handleMessage(e2) { if (e2.seq) { @@ -25934,7 +25934,7 @@ })), this._protocol = new c({sendMessage: (e3, t3) => { this._worker.postMessage(e3, t3); }, handleMessage: (e3, t3) => { - if ("function" != typeof n2[e3]) + if (typeof n2[e3] != "function") return Promise.reject(new Error("Missing method " + e3 + " on main thread host.")); try { return Promise.resolve(n2[e3].apply(n2, t3)); @@ -25943,7 +25943,7 @@ } }}), this._protocol.setWorkerId(this._worker.getId()); let o2 = null; - void 0 !== self.require && "function" == typeof self.require.getConfig ? o2 = self.require.getConfig() : void 0 !== self.requirejs && (o2 = self.requirejs.s.contexts._.config); + self.require !== void 0 && typeof self.require.getConfig == "function" ? o2 = self.require.getConfig() : self.requirejs !== void 0 && (o2 = self.requirejs.s.contexts._.config); const r2 = s.d(n2); this._onModuleLoaded = this._protocol.sendMessage("$initialize", [this._worker.getId(), JSON.parse(JSON.stringify(o2)), t2, r2]); const a2 = (e3, t3) => this._request(e3, t3); @@ -25979,9 +25979,9 @@ this._protocol.handleMessage(e2); } _handleMessage(e2, t2) { - if ("$initialize" === e2) + if (e2 === "$initialize") return this.initialize(t2[0], t2[1], t2[2], t2[3]); - if (!this._requestHandler || "function" != typeof this._requestHandler[e2]) + if (!this._requestHandler || typeof this._requestHandler[e2] != "function") return Promise.reject(new Error("Missing requestHandler or method: " + e2)); try { return Promise.resolve(this._requestHandler[e2].apply(this._requestHandler, t2)); @@ -25992,7 +25992,7 @@ initialize(e2, t2, n2, i2) { this._protocol.setWorkerId(e2); const o2 = s.c(i2, (e3, t3) => this._protocol.sendMessage(e3, t3)); - return this._requestHandlerFactory ? (this._requestHandler = this._requestHandlerFactory(o2), Promise.resolve(s.d(this._requestHandler))) : (t2 && (void 0 !== t2.baseUrl && delete t2.baseUrl, void 0 !== t2.paths && void 0 !== t2.paths.vs && delete t2.paths.vs, t2.catchError = true, self.require.config(t2)), new Promise((e3, t3) => { + return this._requestHandlerFactory ? (this._requestHandler = this._requestHandlerFactory(o2), Promise.resolve(s.d(this._requestHandler))) : (t2 && (t2.baseUrl !== void 0 && delete t2.baseUrl, t2.paths !== void 0 && t2.paths.vs !== void 0 && delete t2.paths.vs, t2.catchError = true, self.require.config(t2)), new Promise((e3, t3) => { self.require([n2], (n3) => { this._requestHandler = n3.create(o2), this._requestHandler ? e3(s.d(this._requestHandler)) : t3(new Error("No RequestHandler!")); }, t3); @@ -26032,7 +26032,7 @@ super(...arguments), this._onDidChangeStorage = this._register(new o.a()), this._onWillSaveState = this._register(new o.a()), this.onWillSaveState = this._onWillSaveState.event, this.globalCache = new Map(), this.workspaceCache = new Map(); } getCache(e2) { - return 0 === e2 ? this.globalCache : this.workspaceCache; + return e2 === 0 ? this.globalCache : this.workspaceCache; } get(e2, t2, n2) { const i2 = this.getCache(t2).get(e2); @@ -26040,7 +26040,7 @@ } getBoolean(e2, t2, n2) { const i2 = this.getCache(t2).get(e2); - return Object(s.l)(i2) ? n2 : "true" === i2; + return Object(s.l)(i2) ? n2 : i2 === "true"; } getNumber(e2, t2, n2) { const i2 = this.getCache(t2).get(e2); @@ -26068,7 +26068,7 @@ let t3 = void 0; const n3 = function(n4, i2, o2) { let r = null, s = null; - if ("function" == typeof o2.value ? (r = "value", s = o2.value, 0 !== s.length && console.warn("Memoize should only be used in functions with zero parameters")) : "function" == typeof o2.get && (r = "get", s = o2.get), !s) + if (typeof o2.value == "function" ? (r = "value", s = o2.value, s.length !== 0 && console.warn("Memoize should only be used in functions with zero parameters")) : typeof o2.get == "function" && (r = "get", s = o2.get), !s) throw new Error("not supported"); const a = `${e3}:${i2}`; o2[r] = function(...e4) { @@ -26076,8 +26076,8 @@ }; }; return n3.clear = () => { - void 0 !== t3 && Object.getOwnPropertyNames(t3).forEach((n4) => { - 0 === n4.indexOf(e3) && delete t3[n4]; + t3 !== void 0 && Object.getOwnPropertyNames(t3).forEach((n4) => { + n4.indexOf(e3) === 0 && delete t3[n4]; }); }, n3; }()(e2, t2, n2); @@ -26139,7 +26139,7 @@ insertValues(e2, t2) { e2 = Object(i.a)(e2); const n2 = this.values, o2 = this.prefixSum, r2 = t2.length; - return 0 !== r2 && (this.values = new Uint32Array(n2.length + r2), this.values.set(n2.subarray(0, e2), 0), this.values.set(n2.subarray(e2), e2 + r2), this.values.set(t2, e2), e2 - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e2 - 1), this.prefixSum = new Uint32Array(this.values.length), this.prefixSumValidIndex[0] >= 0 && this.prefixSum.set(o2.subarray(0, this.prefixSumValidIndex[0] + 1)), true); + return r2 !== 0 && (this.values = new Uint32Array(n2.length + r2), this.values.set(n2.subarray(0, e2), 0), this.values.set(n2.subarray(e2), e2 + r2), this.values.set(t2, e2), e2 - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e2 - 1), this.prefixSum = new Uint32Array(this.values.length), this.prefixSumValidIndex[0] >= 0 && this.prefixSum.set(o2.subarray(0, this.prefixSumValidIndex[0] + 1)), true); } changeValue(e2, t2) { return e2 = Object(i.a)(e2), t2 = Object(i.a)(t2), this.values[e2] !== t2 && (this.values[e2] = t2, e2 - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e2 - 1), true); @@ -26150,10 +26150,10 @@ if (e2 >= n2.length) return false; let r2 = n2.length - e2; - return t2 >= r2 && (t2 = r2), 0 !== t2 && (this.values = new Uint32Array(n2.length - t2), this.values.set(n2.subarray(0, e2), 0), this.values.set(n2.subarray(e2 + t2), e2), this.prefixSum = new Uint32Array(this.values.length), e2 - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e2 - 1), this.prefixSumValidIndex[0] >= 0 && this.prefixSum.set(o2.subarray(0, this.prefixSumValidIndex[0] + 1)), true); + return t2 >= r2 && (t2 = r2), t2 !== 0 && (this.values = new Uint32Array(n2.length - t2), this.values.set(n2.subarray(0, e2), 0), this.values.set(n2.subarray(e2 + t2), e2), this.prefixSum = new Uint32Array(this.values.length), e2 - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e2 - 1), this.prefixSumValidIndex[0] >= 0 && this.prefixSum.set(o2.subarray(0, this.prefixSumValidIndex[0] + 1)), true); } getTotalValue() { - return 0 === this.values.length ? 0 : this._getAccumulatedValue(this.values.length - 1); + return this.values.length === 0 ? 0 : this._getAccumulatedValue(this.values.length - 1); } getAccumulatedValue(e2) { return e2 < 0 ? 0 : (e2 = Object(i.a)(e2), this._getAccumulatedValue(e2)); @@ -26162,7 +26162,7 @@ if (e2 <= this.prefixSumValidIndex[0]) return this.prefixSum[e2]; let t2 = this.prefixSumValidIndex[0] + 1; - 0 === t2 && (this.prefixSum[0] = this.values[0], t2++), e2 >= this.values.length && (e2 = this.values.length - 1); + t2 === 0 && (this.prefixSum[0] = this.values[0], t2++), e2 >= this.values.length && (e2 = this.values.length - 1); for (let n2 = t2; n2 <= e2; n2++) this.prefixSum[n2] = this.prefixSum[n2 - 1] + this.values[n2]; return this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], e2), this.prefixSum[e2]; @@ -26266,9 +26266,9 @@ if (r.a.hasDifferentOriginAncestor()) { let e3 = d2[d2.length - 1]; this._hooks.add(i.i(e3.window.document, "mouseout", (e4) => { - "html" === new s.a(e4).target.tagName.toLowerCase() && this.stopMonitoring(true); + new s.a(e4).target.tagName.toLowerCase() === "html" && this.stopMonitoring(true); })), this._hooks.add(i.i(e3.window.document, "mouseover", (e4) => { - "html" === new s.a(e4).target.tagName.toLowerCase() && this.stopMonitoring(true); + new s.a(e4).target.tagName.toLowerCase() === "html" && this.stopMonitoring(true); })), this._hooks.add(i.i(e3.window.document.body, "mouseleave", (e4) => { this.stopMonitoring(true); })); @@ -26350,7 +26350,7 @@ this._hasStrings = r2 && l2, this._originalStringElements = i2, this._originalElementsOrHash = o2, this._modifiedStringElements = s2, this._modifiedElementsOrHash = a2, this.m_forwardHistory = [], this.m_reverseHistory = []; } static _isStringArray(e2) { - return e2.length > 0 && "string" == typeof e2[0]; + return e2.length > 0 && typeof e2[0] == "string"; } static _getElements(e2) { const t2 = e2.getElements(); @@ -26389,7 +26389,7 @@ return n2 <= i2 ? (l.Assert(e2 === t2 + 1, "originalStart should only be one more than originalEnd"), r3 = [new o(e2, 0, n2, i2 - n2 + 1)]) : e2 <= t2 ? (l.Assert(n2 === i2 + 1, "modifiedStart should only be one more than modifiedEnd"), r3 = [new o(e2, t2 - e2 + 1, n2, 0)]) : (l.Assert(e2 === t2 + 1, "originalStart should only be one more than originalEnd"), l.Assert(n2 === i2 + 1, "modifiedStart should only be one more than modifiedEnd"), r3 = []), r3; } const s2 = [0], a2 = [0], c2 = this.ComputeRecursionPoint(e2, t2, n2, i2, s2, a2, r2), d2 = s2[0], h2 = a2[0]; - if (null !== c2) + if (c2 !== null) return c2; if (!r2[0]) { const s3 = this.ComputeDiffRecursive(e2, d2, n2, h2, r2); @@ -26406,7 +26406,7 @@ } while (--T2 >= -1); if (w2 = C2.getReverseChanges(), v2[0]) { let e3 = m2[0] + 1, t3 = b2[0] + 1; - if (null !== w2 && w2.length > 0) { + if (w2 !== null && w2.length > 0) { const n3 = w2[w2.length - 1]; e3 = Math.max(e3, n3.getOriginalEnd()), t3 = Math.max(t3, n3.getModifiedEnd()); } @@ -26438,7 +26438,7 @@ return r2[0] = l2, s2[0] = d2, n3 <= _2[e3] && S2 <= 1448 ? this.WALKTRACE(v2, h2, u2, y2, w2, p2, m2, C2, b2, _2, l2, t2, r2, d2, i2, s2, x2, a2) : null; } const E2 = (g3 - e2 + (k2 - n2) - S2) / 2; - if (null !== this.ContinueProcessingPredicate && !this.ContinueProcessingPredicate(g3, E2)) + if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(g3, E2)) return a2[0] = true, r2[0] = g3, s2[0] = k2, E2 > 0 && S2 <= 1448 ? this.WALKTRACE(v2, h2, u2, y2, w2, p2, m2, C2, b2, _2, l2, t2, r2, d2, i2, s2, x2, a2) : (e2++, n2++, [new o(e2, t2 - e2 + 1, n2, i2 - n2 + 1)]); p2 = this.ClipDiagonalBound(w2 - S2, S2, w2, f2), m2 = this.ClipDiagonalBound(w2 + S2, S2, w2, f2); for (let o2 = p2; o2 <= m2; o2 += 2) { @@ -26519,7 +26519,7 @@ } ConcatenateChanges(e2, t2) { let n2 = []; - if (0 === e2.length || 0 === t2.length) + if (e2.length === 0 || t2.length === 0) return t2.length > 0 ? t2 : e2; if (this.ChangesOverlap(e2[e2.length - 1], t2[0], n2)) { const i2 = new Array(e2.length + t2.length - 1); @@ -26610,7 +26610,7 @@ } static createFromDiffChange(e2, t2, n2) { let i2, o2, r2, s2, a2, l2, c2, d2; - return 0 === e2.originalLength ? (i2 = 0, o2 = 0, r2 = 0, s2 = 0) : (i2 = t2.getStartLineNumber(e2.originalStart), o2 = t2.getStartColumn(e2.originalStart), r2 = t2.getEndLineNumber(e2.originalStart + e2.originalLength - 1), s2 = t2.getEndColumn(e2.originalStart + e2.originalLength - 1)), 0 === e2.modifiedLength ? (a2 = 0, l2 = 0, c2 = 0, d2 = 0) : (a2 = n2.getStartLineNumber(e2.modifiedStart), l2 = n2.getStartColumn(e2.modifiedStart), c2 = n2.getEndLineNumber(e2.modifiedStart + e2.modifiedLength - 1), d2 = n2.getEndColumn(e2.modifiedStart + e2.modifiedLength - 1)), new w(i2, o2, r2, s2, a2, l2, c2, d2); + return e2.originalLength === 0 ? (i2 = 0, o2 = 0, r2 = 0, s2 = 0) : (i2 = t2.getStartLineNumber(e2.originalStart), o2 = t2.getStartColumn(e2.originalStart), r2 = t2.getEndLineNumber(e2.originalStart + e2.originalLength - 1), s2 = t2.getEndColumn(e2.originalStart + e2.originalLength - 1)), e2.modifiedLength === 0 ? (a2 = 0, l2 = 0, c2 = 0, d2 = 0) : (a2 = n2.getStartLineNumber(e2.modifiedStart), l2 = n2.getStartColumn(e2.modifiedStart), c2 = n2.getEndLineNumber(e2.modifiedStart + e2.modifiedLength - 1), d2 = n2.getEndColumn(e2.modifiedStart + e2.modifiedLength - 1)), new w(i2, o2, r2, s2, a2, l2, c2, d2); } } class y { @@ -26619,7 +26619,7 @@ } static createFromDiffResult(e2, t2, n2, i2, o2, r2, s2) { let a2, l2, c2, d2, h2 = void 0; - if (0 === t2.originalLength ? (a2 = n2.getStartLineNumber(t2.originalStart) - 1, l2 = 0) : (a2 = n2.getStartLineNumber(t2.originalStart), l2 = n2.getEndLineNumber(t2.originalStart + t2.originalLength - 1)), 0 === t2.modifiedLength ? (c2 = i2.getStartLineNumber(t2.modifiedStart) - 1, d2 = 0) : (c2 = i2.getStartLineNumber(t2.modifiedStart), d2 = i2.getEndLineNumber(t2.modifiedStart + t2.modifiedLength - 1)), r2 && t2.originalLength > 0 && t2.originalLength < 20 && t2.modifiedLength > 0 && t2.modifiedLength < 20 && o2()) { + if (t2.originalLength === 0 ? (a2 = n2.getStartLineNumber(t2.originalStart) - 1, l2 = 0) : (a2 = n2.getStartLineNumber(t2.originalStart), l2 = n2.getEndLineNumber(t2.originalStart + t2.originalLength - 1)), t2.modifiedLength === 0 ? (c2 = i2.getStartLineNumber(t2.modifiedStart) - 1, d2 = 0) : (c2 = i2.getStartLineNumber(t2.modifiedStart), d2 = i2.getEndLineNumber(t2.modifiedStart + t2.modifiedLength - 1)), r2 && t2.originalLength > 0 && t2.originalLength < 20 && t2.modifiedLength > 0 && t2.modifiedLength < 20 && o2()) { const r3 = n2.createCharSequence(e2, t2.originalStart, t2.originalStart + t2.originalLength - 1), a3 = i2.createCharSequence(e2, t2.modifiedStart, t2.modifiedStart + t2.modifiedLength - 1); let l3 = b(r3, a3, o2, true).changes; s2 && (l3 = function(e3) { @@ -26641,12 +26641,12 @@ } class C { constructor(e2, t2, n2) { - this.shouldComputeCharChanges = n2.shouldComputeCharChanges, this.shouldPostProcessCharChanges = n2.shouldPostProcessCharChanges, this.shouldIgnoreTrimWhitespace = n2.shouldIgnoreTrimWhitespace, this.shouldMakePrettyDiff = n2.shouldMakePrettyDiff, this.originalLines = e2, this.modifiedLines = t2, this.original = new _(e2), this.modified = new _(t2), this.continueLineDiff = k(n2.maxComputationTime), this.continueCharDiff = k(0 === n2.maxComputationTime ? 0 : Math.min(n2.maxComputationTime, 5e3)); + this.shouldComputeCharChanges = n2.shouldComputeCharChanges, this.shouldPostProcessCharChanges = n2.shouldPostProcessCharChanges, this.shouldIgnoreTrimWhitespace = n2.shouldIgnoreTrimWhitespace, this.shouldMakePrettyDiff = n2.shouldMakePrettyDiff, this.originalLines = e2, this.modifiedLines = t2, this.original = new _(e2), this.modified = new _(t2), this.continueLineDiff = k(n2.maxComputationTime), this.continueCharDiff = k(n2.maxComputationTime === 0 ? 0 : Math.min(n2.maxComputationTime, 5e3)); } computeDiff() { - if (1 === this.original.lines.length && 0 === this.original.lines[0].length) + if (this.original.lines.length === 1 && this.original.lines[0].length === 0) return {quitEarly: false, changes: [{originalStartLineNumber: 1, originalEndLineNumber: 1, modifiedStartLineNumber: 1, modifiedEndLineNumber: this.modified.lines.length, charChanges: [{modifiedEndColumn: 0, modifiedEndLineNumber: 0, modifiedStartColumn: 0, modifiedStartLineNumber: 0, originalEndColumn: 0, originalEndLineNumber: 0, originalStartColumn: 0, originalStartLineNumber: 0}]}]}; - if (1 === this.modified.lines.length && 0 === this.modified.lines[0].length) + if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) return {quitEarly: false, changes: [{originalStartLineNumber: 1, originalEndLineNumber: this.original.lines.length, modifiedStartLineNumber: 1, modifiedEndLineNumber: 1, charChanges: [{modifiedEndColumn: 0, modifiedEndLineNumber: 0, modifiedStartColumn: 0, modifiedStartLineNumber: 0, originalEndColumn: 0, originalEndLineNumber: 0, originalStartColumn: 0, originalStartLineNumber: 0}]}]}; const e2 = b(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff), t2 = e2.changes, n2 = e2.quitEarly; if (this.shouldIgnoreTrimWhitespace) { @@ -26696,22 +26696,22 @@ } _mergeTrimWhitespaceCharChange(e2, t2, n2, i2, o2, r2, s2) { const a2 = e2.length; - if (0 === a2) + if (a2 === 0) return false; const l2 = e2[a2 - 1]; - return 0 !== l2.originalEndLineNumber && 0 !== l2.modifiedEndLineNumber && (l2.originalEndLineNumber + 1 === t2 && l2.modifiedEndLineNumber + 1 === o2 && (l2.originalEndLineNumber = t2, l2.modifiedEndLineNumber = o2, this.shouldComputeCharChanges && l2.charChanges && l2.charChanges.push(new w(t2, n2, t2, i2, o2, r2, o2, s2)), true)); + return l2.originalEndLineNumber !== 0 && l2.modifiedEndLineNumber !== 0 && (l2.originalEndLineNumber + 1 === t2 && l2.modifiedEndLineNumber + 1 === o2 && (l2.originalEndLineNumber = t2, l2.modifiedEndLineNumber = o2, this.shouldComputeCharChanges && l2.charChanges && l2.charChanges.push(new w(t2, n2, t2, i2, o2, r2, o2, s2)), true)); } } function x(e2, t2) { const n2 = f.w(e2); - return -1 === n2 ? t2 : n2 + 1; + return n2 === -1 ? t2 : n2 + 1; } function S(e2, t2) { const n2 = f.J(e2); - return -1 === n2 ? t2 : n2 + 2; + return n2 === -1 ? t2 : n2 + 2; } function k(e2) { - if (0 === e2) + if (e2 === 0) return () => true; const t2 = Date.now(); return () => Date.now() - t2 < e2; @@ -26758,23 +26758,23 @@ let r2 = o2 - 1; do { const n3 = t2.charCodeAt(r2); - if (2 !== e2.get(n3)) + if (e2.get(n3) !== 2) break; r2--; } while (r2 > i2); if (i2 > 0) { const e3 = t2.charCodeAt(i2 - 1), n3 = t2.charCodeAt(r2); - (40 === e3 && 41 === n3 || 91 === e3 && 93 === n3 || 123 === e3 && 125 === n3) && r2--; + (e3 === 40 && n3 === 41 || e3 === 91 && n3 === 93 || e3 === 123 && n3 === 125) && r2--; } return {range: {startLineNumber: n2, startColumn: i2 + 1, endLineNumber: n2, endColumn: r2 + 2}, url: t2.substring(i2, r2 + 1)}; } static computeLinks(e2, t2 = function() { - return null === O && (O = new I([[1, 104, 2], [1, 72, 2], [1, 102, 6], [1, 70, 6], [2, 116, 3], [2, 84, 3], [3, 116, 4], [3, 84, 4], [4, 112, 5], [4, 80, 5], [5, 115, 9], [5, 83, 9], [5, 58, 10], [6, 105, 7], [6, 73, 7], [7, 108, 8], [7, 76, 8], [8, 101, 9], [8, 69, 9], [9, 58, 10], [10, 47, 11], [11, 47, 12]])), O; + return O === null && (O = new I([[1, 104, 2], [1, 72, 2], [1, 102, 6], [1, 70, 6], [2, 116, 3], [2, 84, 3], [3, 116, 4], [3, 84, 4], [4, 112, 5], [4, 80, 5], [5, 115, 9], [5, 83, 9], [5, 58, 10], [6, 105, 7], [6, 73, 7], [7, 108, 8], [7, 76, 8], [8, 101, 9], [8, 69, 9], [9, 58, 10], [10, 47, 11], [11, 47, 12]])), O; }()) { const n2 = function() { - if (null === D) { + if (D === null) { D = new L.a(0); - const e3 = ` <>'"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…`; + const e3 = ` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`; for (let t4 = 0; t4 < e3.length; t4++) D.set(e3.charCodeAt(t4), 1); const t3 = ".,;"; @@ -26790,7 +26790,7 @@ for (; a2 < s2; ) { let e3 = false; const s3 = r3.charCodeAt(a2); - if (13 === d2) { + if (d2 === 13) { let t3; switch (s3) { case 40: @@ -26812,19 +26812,19 @@ t3 = m2 ? 0 : 1; break; case 39: - t3 = 34 === c2 || 96 === c2 ? 0 : 1; + t3 = c2 === 34 || c2 === 96 ? 0 : 1; break; case 34: - t3 = 39 === c2 || 96 === c2 ? 0 : 1; + t3 = c2 === 39 || c2 === 96 ? 0 : 1; break; case 96: - t3 = 39 === c2 || 34 === c2 ? 0 : 1; + t3 = c2 === 39 || c2 === 34 ? 0 : 1; break; case 42: - t3 = 42 === c2 ? 1 : 0; + t3 = c2 === 42 ? 1 : 0; break; case 124: - t3 = 124 === c2 ? 1 : 0; + t3 = c2 === 124 ? 1 : 0; break; case 32: t3 = p2 ? 0 : 1; @@ -26832,15 +26832,15 @@ default: t3 = n2.get(s3); } - 1 === t3 && (i2.push(A._createLink(n2, r3, o2, l2, a2)), e3 = true); - } else if (12 === d2) { + t3 === 1 && (i2.push(A._createLink(n2, r3, o2, l2, a2)), e3 = true); + } else if (d2 === 12) { let t3; - 91 === s3 ? (u2 = true, t3 = 0) : t3 = n2.get(s3), 1 === t3 ? e3 = true : d2 = 13; + s3 === 91 ? (u2 = true, t3 = 0) : t3 = n2.get(s3), t3 === 1 ? e3 = true : d2 = 13; } else - d2 = t2.nextState(d2, s3), 0 === d2 && (e3 = true); + d2 = t2.nextState(d2, s3), d2 === 0 && (e3 = true); e3 && (d2 = 1, h2 = false, u2 = false, m2 = false, l2 = a2 + 1, c2 = s3), a2++; } - 13 === d2 && i2.push(A._createLink(n2, r3, o2, l2, s2)); + d2 === 13 && i2.push(A._createLink(n2, r3, o2, l2, s2)); } return i2; } @@ -26864,18 +26864,18 @@ } doNavigateValueSet(e2, t2) { let n2 = this.numberReplace(e2, t2); - return null !== n2 ? n2 : this.textReplace(e2, t2); + return n2 !== null ? n2 : this.textReplace(e2, t2); } numberReplace(e2, t2) { let n2 = Math.pow(10, e2.length - (e2.lastIndexOf(".") + 1)), i2 = Number(e2), o2 = parseFloat(e2); - return isNaN(i2) || isNaN(o2) || i2 !== o2 ? null : 0 !== i2 || t2 ? (i2 = Math.floor(i2 * n2), i2 += t2 ? n2 : -n2, String(i2 / n2)) : null; + return isNaN(i2) || isNaN(o2) || i2 !== o2 ? null : i2 !== 0 || t2 ? (i2 = Math.floor(i2 * n2), i2 += t2 ? n2 : -n2, String(i2 / n2)) : null; } textReplace(e2, t2) { return this.valueSetsReplace(this._defaultValueSet, e2, t2); } valueSetsReplace(e2, t2, n2) { let i2 = null; - for (let o2 = 0, r2 = e2.length; null === i2 && o2 < r2; o2++) + for (let o2 = 0, r2 = e2.length; i2 === null && o2 < r2; o2++) i2 = this.valueSetReplace(e2[o2], t2, n2); return i2; } @@ -26918,7 +26918,7 @@ this._lines.length = 0; } getText() { - return null === this._cachedTextValue && (this._cachedTextValue = this._lines.join(this._eol)), this._cachedTextValue; + return this._cachedTextValue === null && (this._cachedTextValue = this._lines.join(this._eol)), this._cachedTextValue; } onEvents(e2) { e2.eol && e2.eol !== this._eol && (this._eol = e2.eol, this._lineStarts = null); @@ -26948,10 +26948,10 @@ } } _acceptInsertText(e2, t2) { - if (0 === t2.length) + if (t2.length === 0) return; let n2 = t2.split(/\r\n|\r|\n/); - if (1 === n2.length) + if (n2.length === 1) return void this._setLineText(e2.lineNumber - 1, this._lines[e2.lineNumber - 1].substring(0, e2.column - 1) + n2[0] + this._lines[e2.lineNumber - 1].substring(e2.column - 1)); n2[n2.length - 1] += this._lines[e2.lineNumber - 1].substring(e2.column - 1), this._setLineText(e2.lineNumber - 1, this._lines[e2.lineNumber - 1].substring(0, e2.column - 1) + n2[0]); let i2 = new Uint32Array(n2.length - 1); @@ -27009,7 +27009,7 @@ _wordenize(e2, t2) { const n2 = []; let i2; - for (t2.lastIndex = 0; (i2 = t2.exec(e2)) && 0 !== i2[0].length; ) + for (t2.lastIndex = 0; (i2 = t2.exec(e2)) && i2[0].length !== 0; ) n2.push({start: i2.index, end: i2.index + i2[0].length}); return n2; } @@ -27106,7 +27106,7 @@ return (e3.range ? 0 : 1) - (t3.range ? 0 : 1); }); for (let {range: e3, text: i2, eol: s2} of t2) { - if ("number" == typeof s2 && (r2 = s2), g.a.isEmpty(e3) && !i2) + if (typeof s2 == "number" && (r2 = s2), g.a.isEmpty(e3) && !i2) continue; const t3 = n2.getValueInRange(e3); if (i2 = i2.replace(/\r\n|\n|\r/g, n2.eol), t3 === i2) @@ -27121,14 +27121,14 @@ n2.getValueInRange(s3.range) !== s3.text && o2.push(s3); } } - return "number" == typeof r2 && o2.push({eol: r2, text: "", range: {startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0}}), o2; + return typeof r2 == "number" && o2.push({eol: r2, text: "", range: {startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0}}), o2; }); } computeLinks(e2) { return F(this, void 0, void 0, function* () { let t2 = this._getModel(e2); return t2 ? function(e3) { - return e3 && "function" == typeof e3.getLineCount && "function" == typeof e3.getLineContent ? A.computeLinks(e3) : []; + return e3 && typeof e3.getLineCount == "function" && typeof e3.getLineContent == "function" ? A.computeLinks(e3) : []; }(t2) : null; }); } @@ -27182,7 +27182,7 @@ return this._foreignModuleFactory ? (this._foreignModule = this._foreignModuleFactory(i2, t2), Promise.resolve(P.d(this._foreignModule))) : Promise.reject(new Error("Unexpected usage")); } fmr(e2, t2) { - if (!this._foreignModule || "function" != typeof this._foreignModule[e2]) + if (!this._foreignModule || typeof this._foreignModule[e2] != "function") return Promise.reject(new Error("Missing requestHandler or method: " + e2)); try { return Promise.resolve(this._foreignModule[e2].apply(this._foreignModule, t2)); @@ -27191,7 +27191,7 @@ } } } - z._diffLimit = 1e5, z._suggestionsLimit = 1e4, "function" == typeof importScripts && (u.b.monaco = Object(M.a)()); + z._diffLimit = 1e5, z._suggestionsLimit = 1e4, typeof importScripts == "function" && (u.b.monaco = Object(M.a)()); }, function(e, t, n) { "use strict"; n.d(t, "b", function() { @@ -27205,7 +27205,7 @@ var i = n(1), o = n(35), r = n(69), s = n(103), a = n(82), l = n(20); class c extends a.a { constructor(e2) { - super(), this._onActivate = e2.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e2.bgWidth + "px", this.bgDomNode.style.height = e2.bgHeight + "px", void 0 !== e2.top && (this.bgDomNode.style.top = "0px"), void 0 !== e2.left && (this.bgDomNode.style.left = "0px"), void 0 !== e2.bottom && (this.bgDomNode.style.bottom = "0px"), void 0 !== e2.right && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e2.className, Object(i.f)(this.domNode, e2.icon.classNames), this.domNode.style.position = "absolute", this.domNode.style.width = "11px", this.domNode.style.height = "11px", void 0 !== e2.top && (this.domNode.style.top = e2.top + "px"), void 0 !== e2.left && (this.domNode.style.left = e2.left + "px"), void 0 !== e2.bottom && (this.domNode.style.bottom = e2.bottom + "px"), void 0 !== e2.right && (this.domNode.style.right = e2.right + "px"), this._mouseMoveMonitor = this._register(new s.a()), this.onmousedown(this.bgDomNode, (e3) => this._arrowMouseDown(e3)), this.onmousedown(this.domNode, (e3) => this._arrowMouseDown(e3)), this._mousedownRepeatTimer = this._register(new l.c()), this._mousedownScheduleRepeatTimer = this._register(new l.e()); + super(), this._onActivate = e2.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e2.bgWidth + "px", this.bgDomNode.style.height = e2.bgHeight + "px", e2.top !== void 0 && (this.bgDomNode.style.top = "0px"), e2.left !== void 0 && (this.bgDomNode.style.left = "0px"), e2.bottom !== void 0 && (this.bgDomNode.style.bottom = "0px"), e2.right !== void 0 && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e2.className, Object(i.f)(this.domNode, e2.icon.classNames), this.domNode.style.position = "absolute", this.domNode.style.width = "11px", this.domNode.style.height = "11px", e2.top !== void 0 && (this.domNode.style.top = e2.top + "px"), e2.left !== void 0 && (this.domNode.style.left = e2.left + "px"), e2.bottom !== void 0 && (this.domNode.style.bottom = e2.bottom + "px"), e2.right !== void 0 && (this.domNode.style.right = e2.right + "px"), this._mouseMoveMonitor = this._register(new s.a()), this.onmousedown(this.bgDomNode, (e3) => this._arrowMouseDown(e3)), this.onmousedown(this.domNode, (e3) => this._arrowMouseDown(e3)), this._mousedownRepeatTimer = this._register(new l.c()), this._mousedownScheduleRepeatTimer = this._register(new l.e()); } _arrowMouseDown(e2) { this._onActivate(), this._mousedownRepeatTimer.cancel(), this._mousedownScheduleRepeatTimer.cancelAndSet(() => { @@ -27222,7 +27222,7 @@ super(), this._visibility = e2, this._visibleClassName = t2, this._invisibleClassName = n2, this._domNode = null, this._isVisible = false, this._isNeeded = false, this._shouldBeVisible = false, this._revealTimer = this._register(new l.e()); } applyVisibilitySetting(e2) { - return 2 !== this._visibility && (3 === this._visibility || e2); + return this._visibility !== 2 && (this._visibility === 3 || e2); } setShouldBeVisible(e2) { let t2 = this.applyVisibilitySetting(e2); @@ -27256,7 +27256,7 @@ this.domNode.domNode.appendChild(t2.bgDomNode), this.domNode.domNode.appendChild(t2.domNode); } _createSlider(e2, t2, n2, i2) { - this.slider = Object(o.b)(document.createElement("div")), this.slider.setClassName("slider"), this.slider.setPosition("absolute"), this.slider.setTop(e2), this.slider.setLeft(t2), "number" == typeof n2 && this.slider.setWidth(n2), "number" == typeof i2 && this.slider.setHeight(i2), this.slider.setLayerHinting(true), this.slider.setContain("strict"), this.domNode.domNode.appendChild(this.slider.domNode), this.onmousedown(this.slider.domNode, (e3) => { + this.slider = Object(o.b)(document.createElement("div")), this.slider.setClassName("slider"), this.slider.setPosition("absolute"), this.slider.setTop(e2), this.slider.setLeft(t2), typeof n2 == "number" && this.slider.setWidth(n2), typeof i2 == "number" && this.slider.setHeight(i2), this.slider.setLayerHinting(true), this.slider.setContain("strict"), this.domNode.domNode.appendChild(this.slider.domNode), this.onmousedown(this.slider.domNode, (e3) => { e3.leftButton && (e3.preventDefault(), this._sliderMouseDown(e3, () => { })); }), this.onclick(this.slider.domNode, (e3) => { @@ -27291,7 +27291,7 @@ } _onMouseDown(e2) { let t2, n2; - if (e2.target === this.domNode.domNode && "number" == typeof e2.browserEvent.offsetX && "number" == typeof e2.browserEvent.offsetY) + if (e2.target === this.domNode.domNode && typeof e2.browserEvent.offsetX == "number" && typeof e2.browserEvent.offsetY == "number") t2 = e2.browserEvent.offsetX, n2 = e2.browserEvent.offsetY; else { const o2 = i.C(this.domNode.domNode); @@ -27392,7 +27392,7 @@ class _ extends p { constructor(e2, t2, n2) { const i2 = e2.getScrollDimensions(), o2 = e2.getCurrentScrollPosition(); - if (super({lazyRender: t2.lazyRender, host: n2, scrollbarState: new m(t2.horizontalHasArrows ? t2.arrowSize : 0, 2 === t2.horizontal ? 0 : t2.horizontalScrollbarSize, 2 === t2.vertical ? 0 : t2.verticalScrollbarSize, i2.width, i2.scrollWidth, o2.scrollLeft), visibility: t2.horizontal, extraScrollbarClassName: "horizontal", scrollable: e2}), t2.horizontalHasArrows) { + if (super({lazyRender: t2.lazyRender, host: n2, scrollbarState: new m(t2.horizontalHasArrows ? t2.arrowSize : 0, t2.horizontal === 2 ? 0 : t2.horizontalScrollbarSize, t2.vertical === 2 ? 0 : t2.verticalScrollbarSize, i2.width, i2.scrollWidth, o2.scrollLeft), visibility: t2.horizontal, extraScrollbarClassName: "horizontal", scrollable: e2}), t2.horizontalHasArrows) { let e3 = (t2.arrowSize - 11) / 2, n3 = (t2.horizontalScrollbarSize - 11) / 2; this._createArrow({className: "scra", icon: f, top: n3, left: e3, bottom: void 0, right: void 0, bgWidth: t2.arrowSize, bgHeight: t2.horizontalScrollbarSize, onActivate: () => this._host.onMouseWheel(new r.b(null, 1, 0))}), this._createArrow({className: "scra", icon: b, top: n3, left: void 0, bottom: void 0, right: e3, bgWidth: t2.arrowSize, bgHeight: t2.horizontalScrollbarSize, onActivate: () => this._host.onMouseWheel(new r.b(null, -1, 0))}); } @@ -27427,7 +27427,7 @@ class y extends p { constructor(e2, t2, n2) { const i2 = e2.getScrollDimensions(), o2 = e2.getCurrentScrollPosition(); - if (super({lazyRender: t2.lazyRender, host: n2, scrollbarState: new m(t2.verticalHasArrows ? t2.arrowSize : 0, 2 === t2.vertical ? 0 : t2.verticalScrollbarSize, 0, i2.height, i2.scrollHeight, o2.scrollTop), visibility: t2.vertical, extraScrollbarClassName: "vertical", scrollable: e2}), t2.verticalHasArrows) { + if (super({lazyRender: t2.lazyRender, host: n2, scrollbarState: new m(t2.verticalHasArrows ? t2.arrowSize : 0, t2.vertical === 2 ? 0 : t2.verticalScrollbarSize, 0, i2.height, i2.scrollHeight, o2.scrollTop), visibility: t2.vertical, extraScrollbarClassName: "vertical", scrollable: e2}), t2.verticalHasArrows) { let e3 = (t2.arrowSize - 11) / 2, n3 = (t2.verticalScrollbarSize - 11) / 2; this._createArrow({className: "scra", icon: v, top: e3, left: n3, bottom: void 0, right: void 0, bgWidth: t2.verticalScrollbarSize, bgHeight: t2.arrowSize, onActivate: () => this._host.onMouseWheel(new r.b(null, 0, 1))}), this._createArrow({className: "scra", icon: w, top: void 0, left: n3, bottom: e3, right: void 0, bgWidth: t2.verticalScrollbarSize, bgHeight: t2.arrowSize, onActivate: () => this._host.onMouseWheel(new r.b(null, 0, -1))}); } @@ -27469,7 +27469,7 @@ this._capacity = 5, this._memory = [], this._front = -1, this._rear = -1; } isPhysicalMouseWheel() { - if (-1 === this._front && -1 === this._rear) + if (this._front === -1 && this._rear === -1) return false; let e2 = 1, t2 = 0, n2 = 1, i2 = this._rear; for (; ; ) { @@ -27482,13 +27482,13 @@ } accept(e2, t2, n2) { const i2 = new k(e2, t2, n2); - i2.score = this._computeScore(i2), -1 === this._front && -1 === this._rear ? (this._memory[0] = i2, this._front = 0, this._rear = 0) : (this._rear = (this._rear + 1) % this._capacity, this._rear === this._front && (this._front = (this._front + 1) % this._capacity), this._memory[this._rear] = i2); + i2.score = this._computeScore(i2), this._front === -1 && this._rear === -1 ? (this._memory[0] = i2, this._front = 0, this._rear = 0) : (this._rear = (this._rear + 1) % this._capacity, this._rear === this._front && (this._front = (this._front + 1) % this._capacity), this._memory[this._rear] = i2); } _computeScore(e2) { if (Math.abs(e2.deltaX) > 0 && Math.abs(e2.deltaY) > 0) return 1; let t2 = 0.5; - -1 === this._front && -1 === this._rear || this._memory[this._rear]; + this._front === -1 && this._rear === -1 || this._memory[this._rear]; return this._isAlmostInt(e2.deltaX) && this._isAlmostInt(e2.deltaY) || (t2 += 0.25), Math.min(Math.max(t2, 0), 1); } _isAlmostInt(e2) { @@ -27499,8 +27499,8 @@ class T extends a.a { constructor(e2, t2, n2) { super(), this._onScroll = this._register(new C.a()), this.onScroll = this._onScroll.event, this._onWillScroll = this._register(new C.a()), e2.style.overflow = "hidden", this._options = function(e3) { - let t3 = {lazyRender: void 0 !== e3.lazyRender && e3.lazyRender, className: void 0 !== e3.className ? e3.className : "", useShadows: void 0 === e3.useShadows || e3.useShadows, handleMouseWheel: void 0 === e3.handleMouseWheel || e3.handleMouseWheel, flipAxes: void 0 !== e3.flipAxes && e3.flipAxes, alwaysConsumeMouseWheel: void 0 !== e3.alwaysConsumeMouseWheel && e3.alwaysConsumeMouseWheel, scrollYToX: void 0 !== e3.scrollYToX && e3.scrollYToX, mouseWheelScrollSensitivity: void 0 !== e3.mouseWheelScrollSensitivity ? e3.mouseWheelScrollSensitivity : 1, fastScrollSensitivity: void 0 !== e3.fastScrollSensitivity ? e3.fastScrollSensitivity : 5, scrollPredominantAxis: void 0 === e3.scrollPredominantAxis || e3.scrollPredominantAxis, mouseWheelSmoothScroll: void 0 === e3.mouseWheelSmoothScroll || e3.mouseWheelSmoothScroll, arrowSize: void 0 !== e3.arrowSize ? e3.arrowSize : 11, listenOnDomNode: void 0 !== e3.listenOnDomNode ? e3.listenOnDomNode : null, horizontal: void 0 !== e3.horizontal ? e3.horizontal : 1, horizontalScrollbarSize: void 0 !== e3.horizontalScrollbarSize ? e3.horizontalScrollbarSize : 10, horizontalSliderSize: void 0 !== e3.horizontalSliderSize ? e3.horizontalSliderSize : 0, horizontalHasArrows: void 0 !== e3.horizontalHasArrows && e3.horizontalHasArrows, vertical: void 0 !== e3.vertical ? e3.vertical : 1, verticalScrollbarSize: void 0 !== e3.verticalScrollbarSize ? e3.verticalScrollbarSize : 10, verticalHasArrows: void 0 !== e3.verticalHasArrows && e3.verticalHasArrows, verticalSliderSize: void 0 !== e3.verticalSliderSize ? e3.verticalSliderSize : 0}; - t3.horizontalSliderSize = void 0 !== e3.horizontalSliderSize ? e3.horizontalSliderSize : t3.horizontalScrollbarSize, t3.verticalSliderSize = void 0 !== e3.verticalSliderSize ? e3.verticalSliderSize : t3.verticalScrollbarSize, u.f && (t3.className += " mac"); + let t3 = {lazyRender: e3.lazyRender !== void 0 && e3.lazyRender, className: e3.className !== void 0 ? e3.className : "", useShadows: e3.useShadows === void 0 || e3.useShadows, handleMouseWheel: e3.handleMouseWheel === void 0 || e3.handleMouseWheel, flipAxes: e3.flipAxes !== void 0 && e3.flipAxes, alwaysConsumeMouseWheel: e3.alwaysConsumeMouseWheel !== void 0 && e3.alwaysConsumeMouseWheel, scrollYToX: e3.scrollYToX !== void 0 && e3.scrollYToX, mouseWheelScrollSensitivity: e3.mouseWheelScrollSensitivity !== void 0 ? e3.mouseWheelScrollSensitivity : 1, fastScrollSensitivity: e3.fastScrollSensitivity !== void 0 ? e3.fastScrollSensitivity : 5, scrollPredominantAxis: e3.scrollPredominantAxis === void 0 || e3.scrollPredominantAxis, mouseWheelSmoothScroll: e3.mouseWheelSmoothScroll === void 0 || e3.mouseWheelSmoothScroll, arrowSize: e3.arrowSize !== void 0 ? e3.arrowSize : 11, listenOnDomNode: e3.listenOnDomNode !== void 0 ? e3.listenOnDomNode : null, horizontal: e3.horizontal !== void 0 ? e3.horizontal : 1, horizontalScrollbarSize: e3.horizontalScrollbarSize !== void 0 ? e3.horizontalScrollbarSize : 10, horizontalSliderSize: e3.horizontalSliderSize !== void 0 ? e3.horizontalSliderSize : 0, horizontalHasArrows: e3.horizontalHasArrows !== void 0 && e3.horizontalHasArrows, vertical: e3.vertical !== void 0 ? e3.vertical : 1, verticalScrollbarSize: e3.verticalScrollbarSize !== void 0 ? e3.verticalScrollbarSize : 10, verticalHasArrows: e3.verticalHasArrows !== void 0 && e3.verticalHasArrows, verticalSliderSize: e3.verticalSliderSize !== void 0 ? e3.verticalSliderSize : 0}; + t3.horizontalSliderSize = e3.horizontalSliderSize !== void 0 ? e3.horizontalSliderSize : t3.horizontalScrollbarSize, t3.verticalSliderSize = e3.verticalSliderSize !== void 0 ? e3.verticalSliderSize : t3.verticalScrollbarSize, u.f && (t3.className += " mac"); return t3; }(t2), this._scrollable = n2, this._register(this._scrollable.onScroll((e3) => { this._onWillScroll.fire(e3), this._onDidScroll(e3), this._onScroll.fire(e3); @@ -27530,7 +27530,7 @@ this._options.className = e2, u.f && (this._options.className += " mac"), this._domNode.className = "monaco-scrollable-element " + this._options.className; } updateOptions(e2) { - void 0 !== e2.handleMouseWheel && (this._options.handleMouseWheel = e2.handleMouseWheel, this._setListeningToMouseWheel(this._options.handleMouseWheel)), void 0 !== e2.mouseWheelScrollSensitivity && (this._options.mouseWheelScrollSensitivity = e2.mouseWheelScrollSensitivity), void 0 !== e2.fastScrollSensitivity && (this._options.fastScrollSensitivity = e2.fastScrollSensitivity), void 0 !== e2.scrollPredominantAxis && (this._options.scrollPredominantAxis = e2.scrollPredominantAxis), void 0 !== e2.horizontalScrollbarSize && this._horizontalScrollbar.updateScrollbarSize(e2.horizontalScrollbarSize), this._options.lazyRender || this._render(); + e2.handleMouseWheel !== void 0 && (this._options.handleMouseWheel = e2.handleMouseWheel, this._setListeningToMouseWheel(this._options.handleMouseWheel)), e2.mouseWheelScrollSensitivity !== void 0 && (this._options.mouseWheelScrollSensitivity = e2.mouseWheelScrollSensitivity), e2.fastScrollSensitivity !== void 0 && (this._options.fastScrollSensitivity = e2.fastScrollSensitivity), e2.scrollPredominantAxis !== void 0 && (this._options.scrollPredominantAxis = e2.scrollPredominantAxis), e2.horizontalScrollbarSize !== void 0 && this._horizontalScrollbar.updateScrollbarSize(e2.horizontalScrollbarSize), this._options.lazyRender || this._render(); } _setListeningToMouseWheel(e2) { if (this._mouseWheelToDispose.length > 0 !== e2 && (this._mouseWheelToDispose = Object(d.f)(this._mouseWheelToDispose), e2)) { @@ -27654,18 +27654,18 @@ this.searchString = e2, this.isRegex = t2, this.matchCase = n2, this.wordSeparators = i2; } parseSearchRequest() { - if ("" === this.searchString) + if (this.searchString === "") return null; let e2; e2 = this.isRegex ? function(e3) { - if (!e3 || 0 === e3.length) + if (!e3 || e3.length === 0) return false; for (let t3 = 0, n3 = e3.length; t3 < n3; t3++) { - if (92 === e3.charCodeAt(t3)) { + if (e3.charCodeAt(t3) === 92) { if (t3++, t3 >= n3) break; const i2 = e3.charCodeAt(t3); - if (110 === i2 || 114 === i2 || 87 === i2 || 119 === i2) + if (i2 === 110 || i2 === 114 || i2 === 87 || i2 === 119) return true; } } @@ -27700,13 +27700,13 @@ constructor(e2) { let t2 = [], n2 = 0; for (let i2 = 0, o2 = e2.length; i2 < o2; i2++) - 10 === e2.charCodeAt(i2) && (t2[n2++] = i2); + e2.charCodeAt(i2) === 10 && (t2[n2++] = i2); this._lineFeedsOffsets = t2; } findLineFeedCountBeforeOffset(e2) { const t2 = this._lineFeedsOffsets; let n2 = 0, i2 = t2.length - 1; - if (-1 === i2) + if (i2 === -1) return 0; if (e2 <= t2[0]) return 0; @@ -27733,7 +27733,7 @@ return new s.a(d2.lineNumber, d2.column, h2.lineNumber, h2.column); } static _doFindMatchesMultiline(e2, t2, n2, i2, o2) { - const r2 = e2.getOffsetAt(t2.getStartPosition()), s2 = e2.getValueInRange(t2, 1), a2 = "\r\n" === e2.getEOL() ? new h(s2) : null, l2 = []; + const r2 = e2.getOffsetAt(t2.getStartPosition()), s2 = e2.getValueInRange(t2, 1), a2 = e2.getEOL() === "\r\n" ? new h(s2) : null, l2 = []; let c2, u2 = 0; for (n2.reset(0); c2 = n2.next(s2); ) if (l2[u2++] = d(this._getMultilineMatchRange(e2, r2, s2, a2, c2.index, c2[0]), c2, i2), u2 >= o2) @@ -27762,7 +27762,7 @@ if (!l2 && e2.simpleSearch) { const l3 = e2.simpleSearch, d2 = l3.length, u3 = t2.length; let m2 = -d2; - for (; -1 !== (m2 = t2.indexOf(l3, m2 + d2)); ) + for (; (m2 = t2.indexOf(l3, m2 + d2)) !== -1; ) if ((!h2 || p(h2, t2, u3, m2, d2)) && (r2[o2++] = new a.b(new s.a(n2, m2 + 1 + i2, n2, m2 + 1 + d2 + i2), null), o2 >= c2)) return o2; return o2; @@ -27784,10 +27784,10 @@ return o2.regex.multiline ? this._doFindNextMatchMultiline(e2, n2, r2, i2) : this._doFindNextMatchLineByLine(e2, n2, r2, i2); } static _doFindNextMatchMultiline(e2, t2, n2, i2) { - const o2 = new r.a(t2.lineNumber, 1), a2 = e2.getOffsetAt(o2), l2 = e2.getLineCount(), c2 = e2.getValueInRange(new s.a(o2.lineNumber, o2.column, l2, e2.getLineMaxColumn(l2)), 1), u2 = "\r\n" === e2.getEOL() ? new h(c2) : null; + const o2 = new r.a(t2.lineNumber, 1), a2 = e2.getOffsetAt(o2), l2 = e2.getLineCount(), c2 = e2.getValueInRange(new s.a(o2.lineNumber, o2.column, l2, e2.getLineMaxColumn(l2)), 1), u2 = e2.getEOL() === "\r\n" ? new h(c2) : null; n2.reset(t2.column - 1); let p2 = n2.next(c2); - return p2 ? d(this._getMultilineMatchRange(e2, a2, c2, u2, p2.index, p2[0]), p2, i2) : 1 !== t2.lineNumber || 1 !== t2.column ? this._doFindNextMatchMultiline(e2, new r.a(1, 1), n2, i2) : null; + return p2 ? d(this._getMultilineMatchRange(e2, a2, c2, u2, p2.index, p2[0]), p2, i2) : t2.lineNumber !== 1 || t2.column !== 1 ? this._doFindNextMatchMultiline(e2, new r.a(1, 1), n2, i2) : null; } static _doFindNextMatchLineByLine(e2, t2, n2, i2) { const o2 = e2.getLineCount(), r2 = t2.lineNumber, s2 = e2.getLineContent(r2), a2 = this._findFirstMatchInLine(n2, s2, r2, t2.column, i2); @@ -27839,16 +27839,16 @@ } function p(e2, t2, n2, i2, o2) { return function(e3, t3, n3, i3, o3) { - if (0 === i3) + if (i3 === 0) return true; const r2 = t3.charCodeAt(i3 - 1); - if (0 !== e3.get(r2)) + if (e3.get(r2) !== 0) return true; - if (13 === r2 || 10 === r2) + if (r2 === 13 || r2 === 10) return true; if (o3 > 0) { const n4 = t3.charCodeAt(i3); - if (0 !== e3.get(n4)) + if (e3.get(n4) !== 0) return true; } return false; @@ -27856,13 +27856,13 @@ if (i3 + o3 === n3) return true; const r2 = t3.charCodeAt(i3 + o3); - if (0 !== e3.get(r2)) + if (e3.get(r2) !== 0) return true; - if (13 === r2 || 10 === r2) + if (r2 === 13 || r2 === 10) return true; if (o3 > 0) { const n4 = t3.charCodeAt(i3 + o3 - 1); - if (0 !== e3.get(n4)) + if (e3.get(n4) !== 0) return true; } return false; @@ -27885,7 +27885,7 @@ return null; const o2 = n2.index, r2 = n2[0].length; if (o2 === this._prevMatchStartIndex && r2 === this._prevMatchLength) { - if (0 === r2) { + if (r2 === 0) { i.A(e2, t2, this._searchRegex.lastIndex) > 65535 ? this._searchRegex.lastIndex += 2 : this._searchRegex.lastIndex += 1; continue; } @@ -27924,7 +27924,7 @@ } p2.push(new a.f(new c.a(s3, m2, s3, m2), 0, new l.a(s3, g2), 0)); } - if (0 === p2.length) + if (p2.length === 0) for (let e3 = 0; e3 < s2; e3++) { const i3 = n2 + (d2 ? -e3 : e3), o3 = t2.getLineMaxColumn(i3); p2.push(new a.f(new c.a(i3, o3, i3, o3), 0, new l.a(i3, o3), 0)); @@ -28116,7 +28116,7 @@ } runCoreEditorCommand(e3, t3) { let n3 = this._staticArgs; - -1 === this._staticArgs.value && (n3 = {direction: this._staticArgs.direction, unit: this._staticArgs.unit, select: this._staticArgs.select, value: e3.cursorConfig.pageSize}), e3.model.pushStackElement(), e3.setCursorStates(t3.source, 3, u.b.simpleMove(e3, e3.getCursorStates(), n3.direction, n3.select, n3.value, n3.unit)), e3.revealPrimaryCursor(t3.source, true); + this._staticArgs.value === -1 && (n3 = {direction: this._staticArgs.direction, unit: this._staticArgs.unit, select: this._staticArgs.select, value: e3.cursorConfig.pageSize}), e3.model.pushStackElement(), e3.setCursorStates(t3.source, 3, u.b.simpleMove(e3, e3.getCursorStates(), n3.direction, n3.select, n3.value, n3.unit)), e3.revealPrimaryCursor(t3.source, true); } } e2.CursorLeft = Object(r.l)(new p2({args: {direction: 0, unit: 0, select: false, value: 1}, id: "cursorLeft", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 15, mac: {primary: 15, secondary: [288]}}})), e2.CursorLeftSelect = Object(r.l)(new p2({args: {direction: 0, unit: 0, select: true, value: 1}, id: "cursorLeftSelect", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 1039}})), e2.CursorRight = Object(r.l)(new p2({args: {direction: 1, unit: 0, select: false, value: 1}, id: "cursorRight", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 17, mac: {primary: 17, secondary: [292]}}})), e2.CursorRightSelect = Object(r.l)(new p2({args: {direction: 1, unit: 0, select: true, value: 1}, id: "cursorRightSelect", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 1041}})), e2.CursorUp = Object(r.l)(new p2({args: {direction: 2, unit: 2, select: false, value: 1}, id: "cursorUp", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 16, mac: {primary: 16, secondary: [302]}}})), e2.CursorUpSelect = Object(r.l)(new p2({args: {direction: 2, unit: 2, select: true, value: 1}, id: "cursorUpSelect", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 1040, secondary: [3088], mac: {primary: 1040}, linux: {primary: 1040}}})), e2.CursorPageUp = Object(r.l)(new p2({args: {direction: 2, unit: 2, select: false, value: -1}, id: "cursorPageUp", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 11}})), e2.CursorPageUpSelect = Object(r.l)(new p2({args: {direction: 2, unit: 2, select: true, value: -1}, id: "cursorPageUpSelect", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 1035}})), e2.CursorDown = Object(r.l)(new p2({args: {direction: 3, unit: 2, select: false, value: 1}, id: "cursorDown", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 18, mac: {primary: 18, secondary: [300]}}})), e2.CursorDownSelect = Object(r.l)(new p2({args: {direction: 3, unit: 2, select: true, value: 1}, id: "cursorDownSelect", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 1042, secondary: [3090], mac: {primary: 1042}, linux: {primary: 1042}}})), e2.CursorPageDown = Object(r.l)(new p2({args: {direction: 3, unit: 2, select: false, value: -1}, id: "cursorPageDown", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 12}})), e2.CursorPageDownSelect = Object(r.l)(new p2({args: {direction: 3, unit: 2, select: true, value: -1}, id: "cursorPageDownSelect", precondition: void 0, kbOpts: {weight: 0, kbExpr: m.a.textInputFocus, primary: 1036}})), e2.CreateCursor = Object(r.l)(new class extends b { @@ -28233,16 +28233,16 @@ e3.setScrollTop(i2, 0); } _computeDesiredScrollTop(e3, t3) { - if (1 === t3.unit) { + if (t3.unit === 1) { const n4 = e3.getCompletelyVisibleViewRange(), i3 = e3.coordinatesConverter.convertViewRangeToModelRange(n4); let o3; - o3 = 1 === t3.direction ? Math.max(1, i3.startLineNumber - t3.value) : Math.min(e3.model.getLineCount(), i3.startLineNumber + t3.value); + o3 = t3.direction === 1 ? Math.max(1, i3.startLineNumber - t3.value) : Math.min(e3.model.getLineCount(), i3.startLineNumber + t3.value); const r2 = e3.coordinatesConverter.convertModelPositionToViewPosition(new l.a(o3, 1)); return e3.getVerticalOffsetForLineNumber(r2.lineNumber); } let n3; - n3 = 3 === t3.unit ? e3.cursorConfig.pageSize * t3.value : 4 === t3.unit ? Math.round(e3.cursorConfig.pageSize / 2) * t3.value : t3.value; - const i2 = (1 === t3.direction ? -1 : 1) * n3; + n3 = t3.unit === 3 ? e3.cursorConfig.pageSize * t3.value : t3.unit === 4 ? Math.round(e3.cursorConfig.pageSize / 2) * t3.value : t3.value; + const i2 = (t3.direction === 1 ? -1 : 1) * n3; return e3.getScrollTop() + i2 * e3.cursorConfig.lineHeight; } } @@ -28440,7 +28440,7 @@ document.execCommand("undo"); } runEditorCommand(e3, t3, n2) { - t3.hasModel() && true !== t3.getOption(72) && t3.getModel().undo(); + t3.hasModel() && t3.getOption(72) !== true && t3.getModel().undo(); } }(), e2.Redo = new class extends x { constructor() { @@ -28450,7 +28450,7 @@ document.execCommand("redo"); } runEditorCommand(e3, t3, n2) { - t3.hasModel() && true !== t3.getOption(72) && t3.getModel().redo(); + t3.hasModel() && t3.getOption(72) !== true && t3.getModel().redo(); } }(); }(T || (T = {})); @@ -28503,8 +28503,8 @@ e2[e2.API = 0] = "API", e2[e2.USER = 1] = "USER"; }(i || (i = {})); var g = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -28547,7 +28547,7 @@ return b(this, void 0, void 0, function* () { if (!Object(m.c)(e2, d.b.command)) return false; - "string" == typeof e2 && (e2 = u.a.parse(e2)); + typeof e2 == "string" && (e2 = u.a.parse(e2)); let t2 = []; try { t2 = Object(c.a)(decodeURIComponent(e2.query)); @@ -28568,10 +28568,10 @@ } open(e2, t2) { return b(this, void 0, void 0, function* () { - "string" == typeof e2 && (e2 = u.a.parse(e2)); + typeof e2 == "string" && (e2 = u.a.parse(e2)); let n2 = void 0; const o2 = /^L?(\d+)(?:,(\d+))?/.exec(e2.fragment); - return o2 && (n2 = {startLineNumber: parseInt(o2[1]), startColumn: o2[2] ? parseInt(o2[2]) : 1}, e2 = e2.with({fragment: ""})), e2.scheme === d.b.file && (e2 = Object(h.h)(e2)), yield this._editorService.openCodeEditor({resource: e2, options: {selection: n2, context: (null == t2 ? void 0 : t2.fromUserGesture) ? i.USER : i.API}}, this._editorService.getFocusedCodeEditor(), null == t2 ? void 0 : t2.openToSide), true; + return o2 && (n2 = {startLineNumber: parseInt(o2[1]), startColumn: o2[2] ? parseInt(o2[2]) : 1}, e2 = e2.with({fragment: ""})), e2.scheme === d.b.file && (e2 = Object(h.h)(e2)), yield this._editorService.openCodeEditor({resource: e2, options: {selection: n2, context: (t2 == null ? void 0 : t2.fromUserGesture) ? i.USER : i.API}}, this._editorService.getFocusedCodeEditor(), t2 == null ? void 0 : t2.openToSide), true; }); } }; @@ -28579,7 +28579,7 @@ let w = class { constructor(e2, t2) { this._openers = new l.a(), this._validators = new l.a(), this._resolvers = new l.a(), this._externalOpener = {openExternal: (e3) => (Object(m.c)(e3, d.b.http) || Object(m.c)(e3, d.b.https) ? a.cb(e3) : window.location.href = e3, Promise.resolve(true))}, this._openers.push({open: (e3, t3) => b(this, void 0, void 0, function* () { - return !!((null == t3 ? void 0 : t3.openExternal) || Object(m.c)(e3, d.b.mailto) || Object(m.c)(e3, d.b.http) || Object(m.c)(e3, d.b.https)) && (yield this._doOpenExternal(e3, t3), true); + return !!((t3 == null ? void 0 : t3.openExternal) || Object(m.c)(e3, d.b.mailto) || Object(m.c)(e3, d.b.http) || Object(m.c)(e3, d.b.https)) && (yield this._doOpenExternal(e3, t3), true); })}), this._openers.push(new _(t2)), this._openers.push(new v(e2)); } open(e2, t2) { @@ -28607,8 +28607,8 @@ } _doOpenExternal(e2, t2) { return b(this, void 0, void 0, function* () { - const n2 = "string" == typeof e2 ? u.a.parse(e2) : e2, {resolved: i2} = yield this.resolveExternalUri(n2, t2); - return "string" == typeof e2 && n2.toString() === i2.toString() ? this._externalOpener.openExternal(e2) : this._externalOpener.openExternal(encodeURI(i2.toString(true))); + const n2 = typeof e2 == "string" ? u.a.parse(e2) : e2, {resolved: i2} = yield this.resolveExternalUri(n2, t2); + return typeof e2 == "string" && n2.toString() === i2.toString() ? this._externalOpener.openExternal(e2) : this._externalOpener.openExternal(encodeURI(i2.toString(true))); }); } dispose() { @@ -28622,17 +28622,17 @@ this.id = t2; const r2 = function(e3, t3) { if (D.b.MonacoEnvironment) { - if ("function" == typeof D.b.MonacoEnvironment.getWorker) + if (typeof D.b.MonacoEnvironment.getWorker == "function") return D.b.MonacoEnvironment.getWorker(e3, t3); - if ("function" == typeof D.b.MonacoEnvironment.getWorkerUrl) + if (typeof D.b.MonacoEnvironment.getWorkerUrl == "function") return new Worker(D.b.MonacoEnvironment.getWorkerUrl(e3, t3)); } throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker"); }("workerMain.js", n2); - "function" == typeof r2.then ? this.worker = r2 : this.worker = Promise.resolve(r2), this.postMessage(e2, []), this.worker.then((e3) => { + typeof r2.then == "function" ? this.worker = r2 : this.worker = Promise.resolve(r2), this.postMessage(e2, []), this.worker.then((e3) => { e3.onmessage = function(e4) { i2(e4.data); - }, e3.onmessageerror = o2, "function" == typeof e3.addEventListener && e3.addEventListener("error", o2); + }, e3.onmessageerror = o2, typeof e3.addEventListener == "function" && e3.addEventListener("error", o2); }); } getId() { @@ -28660,8 +28660,8 @@ } R.LAST_WORKER_ID = 0; var M = n(3), P = n(39), F = n(104), W = n(64), z = n(152), B = n(8), j = n(15), V = n(102), U = n(158), H = n(13), q = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -28762,7 +28762,7 @@ _checkStopEmptyWorker() { if (!this._editorWorkerClient) return; - 0 === this._modelService.getModels().length && (this._editorWorkerClient.dispose(), this._editorWorkerClient = null); + this._modelService.getModels().length === 0 && (this._editorWorkerClient.dispose(), this._editorWorkerClient = null); } _checkStopIdleWorker() { if (!this._editorWorkerClient) @@ -28911,7 +28911,7 @@ super(e2, t2.keepIdleModels || false, t2.label), this._foreignModuleId = t2.moduleId, this._foreignModuleCreateData = t2.createData || null, this._foreignModuleHost = t2.host || null, this._foreignProxy = null; } fhr(e2, t2) { - if (!this._foreignModuleHost || "function" != typeof this._foreignModuleHost[e2]) + if (!this._foreignModuleHost || typeof this._foreignModuleHost[e2] != "function") return Promise.reject(new Error("Missing method " + e2 + " or missing main thread foreign host.")); try { return Promise.resolve(this._foreignModuleHost[e2].apply(this._foreignModuleHost, t2)); @@ -28949,7 +28949,7 @@ }(e2); } function de(e2) { - return "string" == typeof e2; + return typeof e2 == "string"; } function he(e2) { return !de(e2); @@ -28969,7 +28969,7 @@ function fe(e2, t2, n2, i2, o2) { let r2 = null; return t2.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g, function(t3, s2, a2, l2, c2, d2, h2, u2, p2) { - return ue(a2) ? ue(l2) ? !ue(c2) && c2 < i2.length ? pe(e2, i2[c2]) : !ue(h2) && e2 && "string" == typeof e2[h2] ? e2[h2] : (null === r2 && (r2 = o2.split("."), r2.unshift(o2)), !ue(d2) && d2 < r2.length ? pe(e2, r2[d2]) : "") : pe(e2, n2) : "$"; + return ue(a2) ? ue(l2) ? !ue(c2) && c2 < i2.length ? pe(e2, i2[c2]) : !ue(h2) && e2 && typeof e2[h2] == "string" ? e2[h2] : (r2 === null && (r2 = o2.split("."), r2.unshift(o2)), !ue(d2) && d2 < r2.length ? pe(e2, r2[d2]) : "") : pe(e2, n2) : "$"; }); } function be(e2, t2) { @@ -28991,7 +28991,7 @@ return this._INSTANCE.create(e2, t2); } create(e2, t2) { - if (null !== e2 && e2.depth >= this._maxCacheDepth) + if (e2 !== null && e2.depth >= this._maxCacheDepth) return new ve(e2, t2); let n2 = ve.getStackElementId(e2); n2.length > 0 && (n2 += "|"), n2 += t2; @@ -29006,19 +29006,19 @@ } static getStackElementId(e2) { let t2 = ""; - for (; null !== e2; ) + for (; e2 !== null; ) t2.length > 0 && (t2 += "|"), t2 += e2.state, e2 = e2.parent; return t2; } static _equals(e2, t2) { - for (; null !== e2 && null !== t2; ) { + for (; e2 !== null && t2 !== null; ) { if (e2 === t2) return true; if (e2.state !== t2.state) return false; e2 = e2.parent, t2 = t2.parent; } - return null === e2 && null === t2; + return e2 === null && t2 === null; } equals(e2) { return ve._equals(this, e2); @@ -29058,9 +29058,9 @@ return this._INSTANCE.create(e2, t2); } create(e2, t2) { - if (null !== t2) + if (t2 !== null) return new Ce(e2, t2); - if (null !== e2 && e2.depth >= this._maxCacheDepth) + if (e2 !== null && e2.depth >= this._maxCacheDepth) return new Ce(e2, t2); let n2 = ve.getStackElementId(e2), i2 = this._entries[n2]; return i2 || (i2 = new Ce(e2, null), this._entries[n2] = i2, i2); @@ -29075,7 +29075,7 @@ return (this.embeddedModeData ? this.embeddedModeData.clone() : null) === this.embeddedModeData ? this : ye.create(this.stack, this.embeddedModeData); } equals(e2) { - return e2 instanceof Ce && (!!this.stack.equals(e2.stack) && (null === this.embeddedModeData && null === e2.embeddedModeData || null !== this.embeddedModeData && null !== e2.embeddedModeData && this.embeddedModeData.equals(e2.embeddedModeData))); + return e2 instanceof Ce && (!!this.stack.equals(e2.stack) && (this.embeddedModeData === null && e2.embeddedModeData === null || this.embeddedModeData !== null && e2.embeddedModeData !== null && this.embeddedModeData.equals(e2.embeddedModeData))); } } class xe { @@ -29111,18 +29111,18 @@ this._lastTokenMetadata !== n2 && (this._lastTokenMetadata = n2, this._tokens.push(e2), this._tokens.push(n2)); } static _merge(e2, t2, n2) { - let i2 = null !== e2 ? e2.length : 0, o2 = t2.length, r2 = null !== n2 ? n2.length : 0; - if (0 === i2 && 0 === o2 && 0 === r2) + let i2 = e2 !== null ? e2.length : 0, o2 = t2.length, r2 = n2 !== null ? n2.length : 0; + if (i2 === 0 && o2 === 0 && r2 === 0) return new Uint32Array(0); - if (0 === i2 && 0 === o2) + if (i2 === 0 && o2 === 0) return n2; - if (0 === o2 && 0 === r2) + if (o2 === 0 && r2 === 0) return e2; let s2 = new Uint32Array(i2 + o2 + r2); - null !== e2 && s2.set(e2); + e2 !== null && s2.set(e2); for (let e3 = 0; e3 < o2; e3++) s2[i2 + e3] = t2[e3]; - return null !== n2 && s2.set(n2, i2 + o2), s2; + return n2 !== null && s2.set(n2, i2 + o2), s2; } nestedModeTokenize(e2, t2, n2) { const i2 = t2.modeId, o2 = t2.state, r2 = k.C.get(i2); @@ -29163,14 +29163,14 @@ if (n2) { if (n2 instanceof ke) { const t3 = n2.getLoadStatus(); - false === t3.loaded && e2.push(t3.promise); + t3.loaded === false && e2.push(t3.promise); } continue; } const i2 = k.C.getPromise(t2); i2 && e2.push(i2); } - return 0 === e2.length ? {loaded: true} : {loaded: false, promise: Promise.all(e2).then((e3) => { + return e2.length === 0 ? {loaded: true} : {loaded: false, promise: Promise.all(e2).then((e3) => { })}; } getInitialState() { @@ -29194,16 +29194,16 @@ throw ge(this._lexer, "tokenizer state is not defined: " + t2.stack.state); let i2 = -1, o2 = false; for (const t3 of n2) { - if (!he(t3.action) || "@pop" !== t3.action.nextEmbedded) + if (!he(t3.action) || t3.action.nextEmbedded !== "@pop") continue; o2 = true; let n3 = t3.regex, r2 = t3.regex.source; - if ("^(?:" === r2.substr(0, 4) && ")" === r2.substr(r2.length - 1, 1)) { + if (r2.substr(0, 4) === "^(?:" && r2.substr(r2.length - 1, 1) === ")") { let e3 = (n3.ignoreCase ? "i" : "") + (n3.unicode ? "u" : ""); n3 = new RegExp(r2.substr(4, r2.length - 5), e3); } let s2 = e2.search(n3); - -1 === s2 || 0 !== s2 && t3.matchOnlyAtLineStart || (-1 === i2 || s2 < i2) && (i2 = s2); + s2 === -1 || s2 !== 0 && t3.matchOnlyAtLineStart || (i2 === -1 || s2 < i2) && (i2 = s2); } if (!o2) throw ge(this._lexer, 'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: ' + t2.stack.state); @@ -29211,7 +29211,7 @@ } _nestedTokenize(e2, t2, n2, i2) { let o2 = this._findLeavingNestedModeOffset(e2, t2); - if (-1 === o2) { + if (o2 === -1) { let o3 = i2.nestedModeTokenize(e2, t2.embeddedModeData, n2); return ye.create(t2.stack, new we(t2.embeddedModeData.modeId, o3)); } @@ -29233,7 +29233,7 @@ if (l2) { g2 = l2.matches; const e3 = l2.groups.shift(); - f2 = e3.matched, b2 = e3.action, _2 = l2.rule, 0 === l2.groups.length && (l2 = null); + f2 = e3.matched, b2 = e3.action, _2 = l2.rule, l2.groups.length === 0 && (l2 = null); } else { if (!c2 && a2 >= o2) break; @@ -29243,23 +29243,23 @@ throw ge(this._lexer, "tokenizer state is not defined: " + m2); let n3 = e2.substr(a2); for (const e3 of t4) - if ((0 === a2 || !e3.matchOnlyAtLineStart) && (g2 = n3.match(e3.regex), g2)) { + if ((a2 === 0 || !e3.matchOnlyAtLineStart) && (g2 = n3.match(e3.regex), g2)) { f2 = g2[0], b2 = e3.action; break; } } - if (g2 || (g2 = [""], f2 = ""), b2 || (a2 < o2 && (g2 = [e2.charAt(a2)], f2 = g2[0]), b2 = this._lexer.defaultToken), null === f2) + if (g2 || (g2 = [""], f2 = ""), b2 || (a2 < o2 && (g2 = [e2.charAt(a2)], f2 = g2[0]), b2 = this._lexer.defaultToken), f2 === null) break; for (a2 += f2.length; ce(b2) && he(b2) && b2.test; ) b2 = b2.test(f2, g2, m2, a2 === o2); let w2 = null; - if ("string" == typeof b2 || Array.isArray(b2)) + if (typeof b2 == "string" || Array.isArray(b2)) w2 = b2; else if (b2.group) w2 = b2.group; - else if (null !== b2.token && void 0 !== b2.token) { + else if (b2.token !== null && b2.token !== void 0) { if (w2 = b2.tokenSubst ? fe(this._lexer, b2.token, f2, g2, m2) : b2.token, b2.nextEmbedded) - if ("@pop" === b2.nextEmbedded) { + if (b2.nextEmbedded === "@pop") { if (!r2) throw ge(this._lexer, "cannot pop embedded mode if not inside one"); r2 = null; @@ -29268,35 +29268,35 @@ throw ge(this._lexer, "cannot enter embedded mode from within an embedded mode"); v2 = fe(this._lexer, b2.nextEmbedded, f2, g2, m2); } - if (b2.goBack && (a2 = Math.max(0, a2 - b2.goBack)), b2.switchTo && "string" == typeof b2.switchTo) { + if (b2.goBack && (a2 = Math.max(0, a2 - b2.goBack)), b2.switchTo && typeof b2.switchTo == "string") { let e3 = fe(this._lexer, b2.switchTo, f2, g2, m2); - if ("@" === e3[0] && (e3 = e3.substr(1)), !be(this._lexer, e3)) + if (e3[0] === "@" && (e3 = e3.substr(1)), !be(this._lexer, e3)) throw ge(this._lexer, "trying to switch to a state '" + e3 + "' that is undefined in rule: " + this._safeRuleName(_2)); s2 = s2.switchTo(e3); } else { - if (b2.transform && "function" == typeof b2.transform) + if (b2.transform && typeof b2.transform == "function") throw ge(this._lexer, "action.transform not supported"); if (b2.next) - if ("@push" === b2.next) { + if (b2.next === "@push") { if (s2.depth >= this._lexer.maxStack) throw ge(this._lexer, "maximum tokenizer stack size reached: [" + s2.state + "," + s2.parent.state + ",...]"); s2 = s2.push(m2); - } else if ("@pop" === b2.next) { + } else if (b2.next === "@pop") { if (s2.depth <= 1) throw ge(this._lexer, "trying to pop an empty stack in rule: " + this._safeRuleName(_2)); s2 = s2.pop(); - } else if ("@popall" === b2.next) + } else if (b2.next === "@popall") s2 = s2.popall(); else { let e3 = fe(this._lexer, b2.next, f2, g2, m2); - if ("@" === e3[0] && (e3 = e3.substr(1)), !be(this._lexer, e3)) + if (e3[0] === "@" && (e3 = e3.substr(1)), !be(this._lexer, e3)) throw ge(this._lexer, "trying to set a next state '" + e3 + "' that is undefined in rule: " + this._safeRuleName(_2)); s2 = s2.push(e3); } } - b2.log && "string" == typeof b2.log && (d2 = this._lexer, h2 = this._lexer.languageId + ": " + fe(this._lexer, b2.log, f2, g2, m2), console.log(`${d2.languageId}: ${h2}`)); + b2.log && typeof b2.log == "string" && (d2 = this._lexer, h2 = this._lexer.languageId + ": " + fe(this._lexer, b2.log, f2, g2, m2), console.log(`${d2.languageId}: ${h2}`)); } - if (null === w2) + if (w2 === null) throw ge(this._lexer, "lexer rule has no well-defined action in rule: " + this._safeRuleName(_2)); const y2 = (t4) => { let r3 = this._modeService.getModeIdForLanguageName(t4); @@ -29324,25 +29324,25 @@ a2 -= f2.length; } else { { - if ("@rematch" === w2 && (a2 -= f2.length, f2 = "", g2 = null, w2 = "", null !== v2)) + if (w2 === "@rematch" && (a2 -= f2.length, f2 = "", g2 = null, w2 = "", v2 !== null)) return y2(v2); - if (0 === f2.length) { - if (0 === o2 || u2 !== s2.depth || m2 !== s2.state || (l2 ? l2.groups.length : 0) !== p2) + if (f2.length === 0) { + if (o2 === 0 || u2 !== s2.depth || m2 !== s2.state || (l2 ? l2.groups.length : 0) !== p2) continue; throw ge(this._lexer, "no progress in tokenizer in rule: " + this._safeRuleName(_2)); } let e3 = null; - if (de(w2) && 0 === w2.indexOf("@brackets")) { + if (de(w2) && w2.indexOf("@brackets") === 0) { let t4 = w2.substr("@brackets".length), n3 = Ee(this._lexer, f2); if (!n3) throw ge(this._lexer, "@brackets token returned but no bracket defined as: " + f2); e3 = me(n3.token + t4); } else { - e3 = me("" === w2 ? "" : w2 + this._lexer.tokenPostfix); + e3 = me(w2 === "" ? "" : w2 + this._lexer.tokenPostfix); } i2.emit(t3 + n2, e3); } - if (null !== v2) + if (v2 !== null) return y2(v2); } } @@ -29394,7 +29394,7 @@ } static colorize(e2, t2, n2, i2) { let o2 = 4; - i2 && "number" == typeof i2.tabSize && (o2 = i2.tabSize), B.U(t2) && (t2 = t2.substr(1)); + i2 && typeof i2.tabSize == "number" && (o2 = i2.tabSize), B.U(t2) && (t2 = t2.substr(1)); let r2 = t2.split(/\r\n|\r|\n/), s2 = e2.getModeId(n2); if (!s2) return Promise.resolve(Ne(r2, o2)); @@ -29447,7 +29447,7 @@ }(e2, t2, n2); if (n2 instanceof ke) { const e3 = n2.getLoadStatus(); - if (false === e3.loaded) + if (e3.loaded === false) return void e3.promise.then(r2, o2); } i2(s2); @@ -29483,19 +29483,19 @@ return this.checkAndFreeze(this._keys); } isEmpty() { - return 0 === this._keys.length && 0 === Object.keys(this._contents).length && 0 === this._overrides.length; + return this._keys.length === 0 && Object.keys(this._contents).length === 0 && this._overrides.length === 0; } getValue(e2) { return e2 ? Object(ze.d)(this.contents, e2) : this.contents; } override(e2) { const t2 = this.getContentsForOverrideIdentifer(e2); - if (!t2 || "object" != typeof t2 || !Object.keys(t2).length) + if (!t2 || typeof t2 != "object" || !Object.keys(t2).length) return this; let n2 = {}; for (const e3 of j.e([...Object.keys(this.contents), ...Object.keys(t2)])) { let i2 = this.contents[e3], o2 = t2[e3]; - o2 && ("object" == typeof i2 && "object" == typeof o2 ? (i2 = je.c(i2), this.mergeContents(i2, o2)) : i2 = o2), n2[e3] = i2; + o2 && (typeof i2 == "object" && typeof o2 == "object" ? (i2 = je.c(i2), this.mergeContents(i2, o2)) : i2 = o2), n2[e3] = i2; } return new Ue(n2, this.keys, this.overrides); } @@ -29508,7 +29508,7 @@ t3 ? this.mergeContents(t3.contents, e3.contents) : n2.push(je.c(e3)); } for (const e3 of o2.keys) - -1 === i2.indexOf(e3) && i2.push(e3); + i2.indexOf(e3) === -1 && i2.push(e3); } return new Ue(t2, i2, n2); } @@ -29524,7 +29524,7 @@ } getContentsForOverrideIdentifer(e2) { for (const t2 of this.overrides) - if (-1 !== t2.identifiers.indexOf(e2)) + if (t2.identifiers.indexOf(e2) !== -1) return t2.contents; return null; } @@ -29542,12 +29542,12 @@ addKey(e2) { let t2 = this.keys.length; for (let n2 = 0; n2 < t2; n2++) - 0 === e2.indexOf(this.keys[n2]) && (t2 = n2); + e2.indexOf(this.keys[n2]) === 0 && (t2 = n2); this.keys.splice(t2, 1, e2); } removeKey(e2) { let t2 = this.keys.indexOf(e2); - return -1 !== t2 && (this.keys.splice(t2, 1), true); + return t2 !== -1 && (this.keys.splice(t2, 1), true); } } class He extends Ue { @@ -29567,7 +29567,7 @@ } updateValue(e2, t2, n2 = {}) { let i2; - n2.resource ? (i2 = this._memoryConfigurationByResource.get(n2.resource), i2 || (i2 = new Ue(), this._memoryConfigurationByResource.set(n2.resource, i2))) : i2 = this._memoryConfiguration, void 0 === t2 ? i2.removeValue(e2) : i2.setValue(e2, t2), n2.resource || (this._workspaceConsolidatedConfiguration = null); + n2.resource ? (i2 = this._memoryConfigurationByResource.get(n2.resource), i2 || (i2 = new Ue(), this._memoryConfigurationByResource.set(n2.resource, i2))) : i2 = this._memoryConfiguration, t2 === void 0 ? i2.removeValue(e2) : i2.setValue(e2, t2), n2.resource || (this._workspaceConsolidatedConfiguration = null); } get userConfiguration() { return this._userConfiguration || (this._userConfiguration = this._remoteUserConfiguration.isEmpty() ? this._localUserConfiguration : this._localUserConfiguration.merge(this._remoteUserConfiguration), this._freeze && this._userConfiguration.freeze()), this._userConfiguration; @@ -29626,7 +29626,7 @@ var n2; if (this.doesAffectedKeysTreeContains(this.affectedKeysTree, e2)) { if (t2) { - const i2 = this.previousConfiguration ? this.previousConfiguration.getValue(e2, t2, null === (n2 = this.previous) || void 0 === n2 ? void 0 : n2.workspace) : void 0, o2 = this.currentConfiguraiton.getValue(e2, t2, this.currentWorkspace); + const i2 = this.previousConfiguration ? this.previousConfiguration.getValue(e2, t2, (n2 = this.previous) === null || n2 === void 0 ? void 0 : n2.workspace) : void 0, o2 = this.currentConfiguraiton.getValue(e2, t2, this.currentWorkspace); return !je.e(i2, o2); } return true; @@ -29636,7 +29636,7 @@ doesAffectedKeysTreeContains(e2, t2) { let n2, i2 = Object(ze.g)({[t2]: true}, () => { }); - for (; "object" == typeof i2 && (n2 = Object.keys(i2)[0]); ) { + for (; typeof i2 == "object" && (n2 = Object.keys(i2)[0]); ) { if (!(e2 = e2[n2])) return false; i2 = i2[n2]; @@ -29677,7 +29677,7 @@ if (n2.isChord()) return console.warn("Unexpected keyboard event mapped to a chord"), null; const [i2] = n2.getDispatchParts(); - if (null === i2) + if (i2 === null) return null; const o2 = this._contextKeyService.getContext(t2), r2 = this._currentChord ? this._currentChord.keypress : null; return this._getResolver().resolve(o2, r2, i2); @@ -29700,10 +29700,10 @@ if (e2.isChord()) return console.warn("Unexpected keyboard event mapped to a chord"), false; const [i2] = e2.getDispatchParts(); - if (null === i2) + if (i2 === null) return this._log("\\ Keyboard event cannot be dispatched."), n2; const o2 = this._contextKeyService.getContext(t2), r2 = this._currentChord ? this._currentChord.keypress : null, s2 = e2.getLabel(), a2 = this._getResolver().resolve(o2, r2, i2); - return this._logService.trace("KeybindingService#dispatch", s2, null == a2 ? void 0 : a2.commandId), a2 && a2.enterChord ? (n2 = true, this._enterChordMode(i2, s2), n2) : (this._currentChord && (a2 && a2.commandId || (this._notificationService.status(Ke.a("missing.chord", "The key combination ({0}, {1}) is not a command.", this._currentChord.label, s2), {hideAfter: 1e4}), n2 = true)), this._leaveChordMode(), a2 && a2.commandId && (a2.bubble || (n2 = true), void 0 === a2.commandArgs ? this._commandService.executeCommand(a2.commandId).then(void 0, (e3) => this._notificationService.warn(e3)) : this._commandService.executeCommand(a2.commandId, a2.commandArgs).then(void 0, (e3) => this._notificationService.warn(e3)), this._telemetryService.publicLog2("workbenchActionExecuted", {id: a2.commandId, from: "keybinding"})), n2); + return this._logService.trace("KeybindingService#dispatch", s2, a2 == null ? void 0 : a2.commandId), a2 && a2.enterChord ? (n2 = true, this._enterChordMode(i2, s2), n2) : (this._currentChord && (a2 && a2.commandId || (this._notificationService.status(Ke.a("missing.chord", "The key combination ({0}, {1}) is not a command.", this._currentChord.label, s2), {hideAfter: 1e4}), n2 = true)), this._leaveChordMode(), a2 && a2.commandId && (a2.bubble || (n2 = true), a2.commandArgs === void 0 ? this._commandService.executeCommand(a2.commandId).then(void 0, (e3) => this._notificationService.warn(e3)) : this._commandService.executeCommand(a2.commandId, a2.commandArgs).then(void 0, (e3) => this._notificationService.warn(e3)), this._telemetryService.publicLog2("workbenchActionExecuted", {id: a2.commandId, from: "keybinding"})), n2); } mightProducePrintableCharacter(e2) { return !e2.ctrlKey && !e2.metaKey && (e2.keyCode >= 31 && e2.keyCode <= 56 || e2.keyCode >= 21 && e2.keyCode <= 30); @@ -29719,7 +29719,7 @@ this._map = new Map(), this._lookupMap = new Map(), this._keybindings = Ye.combine(e2, t2); for (let e3 = 0, t3 = this._keybindings.length; e3 < t3; e3++) { let t4 = this._keybindings[e3]; - 0 !== t4.keypressParts.length && (t4.when && 0 === t4.when.type || this._addKeyPress(t4.keypressParts[0], t4)); + t4.keypressParts.length !== 0 && (t4.when && t4.when.type === 0 || this._addKeyPress(t4.keypressParts[0], t4)); } } static _isTargetedForRemoval(e2, t2, n2, i2, o2) { @@ -29741,7 +29741,7 @@ e2 = e2.slice(0); let n2 = []; for (const i2 of t2) { - if (!i2.command || 0 === i2.command.length || "-" !== i2.command.charAt(0)) { + if (!i2.command || i2.command.length === 0 || i2.command.charAt(0) !== "-") { n2.push(i2); continue; } @@ -29753,7 +29753,7 @@ } _addKeyPress(e2, t2) { const n2 = this._map.get(e2); - if (void 0 === n2) + if (n2 === void 0) return this._map.set(e2, [t2]), void this._addToLookupMap(t2); for (let e3 = n2.length - 1; e3 >= 0; e3--) { let i2 = n2[e3]; @@ -29768,13 +29768,13 @@ if (!e2.command) return; let t2 = this._lookupMap.get(e2.command); - void 0 === t2 ? (t2 = [e2], this._lookupMap.set(e2.command, t2)) : t2.push(e2); + t2 === void 0 ? (t2 = [e2], this._lookupMap.set(e2.command, t2)) : t2.push(e2); } _removeFromLookupMap(e2) { if (!e2.command) return; let t2 = this._lookupMap.get(e2.command); - if (void 0 !== t2) { + if (t2 !== void 0) { for (let n2 = 0, i2 = t2.length; n2 < i2; n2++) if (t2[n2] === e2) return void t2.splice(n2, 1); @@ -29784,7 +29784,7 @@ return !t2 || !!e2 && this._implies(e2, t2); } static _implies(e2, t2) { - const n2 = (e3) => 9 === e3.type ? e3.expr : [e3]; + const n2 = (e3) => e3.type === 9 ? e3.expr : [e3]; let i2 = n2(e2.negate()).concat(n2(t2)); for (let e3 = 0; e3 < i2.length; e3++) { const t3 = i2[e3].negate(); @@ -29801,7 +29801,7 @@ } lookupKeybindings(e2) { let t2 = this._lookupMap.get(e2); - if (void 0 === t2 || 0 === t2.length) + if (t2 === void 0 || t2.length === 0) return []; let n2 = [], i2 = 0; for (let e3 = t2.length - 1; e3 >= 0; e3--) @@ -29810,14 +29810,14 @@ } lookupPrimaryKeybinding(e2) { let t2 = this._lookupMap.get(e2); - return void 0 === t2 || 0 === t2.length ? null : t2[t2.length - 1]; + return t2 === void 0 || t2.length === 0 ? null : t2[t2.length - 1]; } resolve(e2, t2, n2) { this._log(`| Resolving ${n2}${t2 ? " chorded from " + t2 : ""}`); let i2 = null; - if (null !== t2) { + if (t2 !== null) { const e3 = this._map.get(t2); - if (void 0 === e3) + if (e3 === void 0) return this._log("\\ No keybinding entries."), null; i2 = []; for (let t3 = 0, o3 = e3.length; t3 < o3; t3++) { @@ -29826,12 +29826,12 @@ } } else { const e3 = this._map.get(n2); - if (void 0 === e3) + if (e3 === void 0) return this._log("\\ No keybinding entries."), null; i2 = e3; } let o2 = this._findCommand(e2, i2); - return o2 ? null === t2 && o2.keypressParts.length > 1 && null !== o2.keypressParts[1] ? (this._log(`\\ From ${i2.length} keybinding entries, matched chord, when: ${Ze(o2.when)}, source: ${Xe(o2)}.`), {enterChord: true, leaveChord: false, commandId: null, commandArgs: null, bubble: false}) : (this._log(`\\ From ${i2.length} keybinding entries, matched ${o2.command}, when: ${Ze(o2.when)}, source: ${Xe(o2)}.`), {enterChord: false, leaveChord: o2.keypressParts.length > 1, commandId: o2.command, commandArgs: o2.commandArgs, bubble: o2.bubble}) : (this._log(`\\ From ${i2.length} keybinding entries, no when clauses matched the context.`), null); + return o2 ? t2 === null && o2.keypressParts.length > 1 && o2.keypressParts[1] !== null ? (this._log(`\\ From ${i2.length} keybinding entries, matched chord, when: ${Ze(o2.when)}, source: ${Xe(o2)}.`), {enterChord: true, leaveChord: false, commandId: null, commandArgs: null, bubble: false}) : (this._log(`\\ From ${i2.length} keybinding entries, matched ${o2.command}, when: ${Ze(o2.when)}, source: ${Xe(o2)}.`), {enterChord: false, leaveChord: o2.keypressParts.length > 1, commandId: o2.command, commandArgs: o2.commandArgs, bubble: o2.bubble}) : (this._log(`\\ From ${i2.length} keybinding entries, no when clauses matched the context.`), null); } _findCommand(e2, t2) { for (let n2 = t2.length - 1; n2 >= 0; n2--) { @@ -29863,7 +29863,7 @@ t3.push(i4); } return t3; - }(e2.getDispatchParts()) : [], this.bubble = !!t2 && 94 === t2.charCodeAt(0), this.command = this.bubble ? t2.substr(1) : t2, this.commandArgs = n2, this.when = i2, this.isDefault = o2, this.extensionId = r2; + }(e2.getDispatchParts()) : [], this.bubble = !!t2 && t2.charCodeAt(0) === 94, this.command = this.bubble ? t2.substr(1) : t2, this.commandArgs = n2, this.when = i2, this.isDefault = o2, this.extensionId = r2; } } class et { @@ -29871,28 +29871,28 @@ this.modifierLabels = [null], this.modifierLabels[2] = e2, this.modifierLabels[1] = t2, this.modifierLabels[3] = n2; } toLabel(e2, t2, n2) { - if (0 === t2.length) + if (t2.length === 0) return null; const i2 = []; for (let o2 = 0, r2 = t2.length; o2 < r2; o2++) { const r3 = t2[o2], s2 = n2(r3); - if (null === s2) + if (s2 === null) return null; i2[o2] = it(r3, s2, this.modifierLabels[e2]); } return i2.join(" "); } } - const tt = new et({ctrlKey: "⌃", shiftKey: "⇧", altKey: "⌥", metaKey: "⌘", separator: ""}, {ctrlKey: Ke.a({key: "ctrlKey", comment: ["This is the short form for the Control key on the keyboard"]}, "Ctrl"), shiftKey: Ke.a({key: "shiftKey", comment: ["This is the short form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey", comment: ["This is the short form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "windowsKey", comment: ["This is the short form for the Windows key on the keyboard"]}, "Windows"), separator: "+"}, {ctrlKey: Ke.a({key: "ctrlKey", comment: ["This is the short form for the Control key on the keyboard"]}, "Ctrl"), shiftKey: Ke.a({key: "shiftKey", comment: ["This is the short form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey", comment: ["This is the short form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "superKey", comment: ["This is the short form for the Super key on the keyboard"]}, "Super"), separator: "+"}), nt = new et({ctrlKey: Ke.a({key: "ctrlKey.long", comment: ["This is the long form for the Control key on the keyboard"]}, "Control"), shiftKey: Ke.a({key: "shiftKey.long", comment: ["This is the long form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey.long", comment: ["This is the long form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "cmdKey.long", comment: ["This is the long form for the Command key on the keyboard"]}, "Command"), separator: "+"}, {ctrlKey: Ke.a({key: "ctrlKey.long", comment: ["This is the long form for the Control key on the keyboard"]}, "Control"), shiftKey: Ke.a({key: "shiftKey.long", comment: ["This is the long form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey.long", comment: ["This is the long form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "windowsKey.long", comment: ["This is the long form for the Windows key on the keyboard"]}, "Windows"), separator: "+"}, {ctrlKey: Ke.a({key: "ctrlKey.long", comment: ["This is the long form for the Control key on the keyboard"]}, "Control"), shiftKey: Ke.a({key: "shiftKey.long", comment: ["This is the long form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey.long", comment: ["This is the long form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "superKey.long", comment: ["This is the long form for the Super key on the keyboard"]}, "Super"), separator: "+"}); + const tt = new et({ctrlKey: "\u2303", shiftKey: "\u21E7", altKey: "\u2325", metaKey: "\u2318", separator: ""}, {ctrlKey: Ke.a({key: "ctrlKey", comment: ["This is the short form for the Control key on the keyboard"]}, "Ctrl"), shiftKey: Ke.a({key: "shiftKey", comment: ["This is the short form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey", comment: ["This is the short form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "windowsKey", comment: ["This is the short form for the Windows key on the keyboard"]}, "Windows"), separator: "+"}, {ctrlKey: Ke.a({key: "ctrlKey", comment: ["This is the short form for the Control key on the keyboard"]}, "Ctrl"), shiftKey: Ke.a({key: "shiftKey", comment: ["This is the short form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey", comment: ["This is the short form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "superKey", comment: ["This is the short form for the Super key on the keyboard"]}, "Super"), separator: "+"}), nt = new et({ctrlKey: Ke.a({key: "ctrlKey.long", comment: ["This is the long form for the Control key on the keyboard"]}, "Control"), shiftKey: Ke.a({key: "shiftKey.long", comment: ["This is the long form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey.long", comment: ["This is the long form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "cmdKey.long", comment: ["This is the long form for the Command key on the keyboard"]}, "Command"), separator: "+"}, {ctrlKey: Ke.a({key: "ctrlKey.long", comment: ["This is the long form for the Control key on the keyboard"]}, "Control"), shiftKey: Ke.a({key: "shiftKey.long", comment: ["This is the long form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey.long", comment: ["This is the long form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "windowsKey.long", comment: ["This is the long form for the Windows key on the keyboard"]}, "Windows"), separator: "+"}, {ctrlKey: Ke.a({key: "ctrlKey.long", comment: ["This is the long form for the Control key on the keyboard"]}, "Control"), shiftKey: Ke.a({key: "shiftKey.long", comment: ["This is the long form for the Shift key on the keyboard"]}, "Shift"), altKey: Ke.a({key: "altKey.long", comment: ["This is the long form for the Alt key on the keyboard"]}, "Alt"), metaKey: Ke.a({key: "superKey.long", comment: ["This is the long form for the Super key on the keyboard"]}, "Super"), separator: "+"}); function it(e2, t2, n2) { - if (null === t2) + if (t2 === null) return ""; const i2 = []; - return e2.ctrlKey && i2.push(n2.ctrlKey), e2.shiftKey && i2.push(n2.shiftKey), e2.altKey && i2.push(n2.altKey), e2.metaKey && i2.push(n2.metaKey), "" !== t2 && i2.push(t2), i2.join(n2.separator); + return e2.ctrlKey && i2.push(n2.ctrlKey), e2.shiftKey && i2.push(n2.shiftKey), e2.altKey && i2.push(n2.altKey), e2.metaKey && i2.push(n2.metaKey), t2 !== "" && i2.push(t2), i2.join(n2.separator); } class ot extends De.c { constructor(e2, t2) { - if (super(), 0 === t2.length) + if (super(), t2.length === 0) throw Object(H.b)("parts"); this._os = e2, this._parts = t2; } @@ -29920,16 +29920,16 @@ super(t2, e2.parts); } _keyCodeToUILabel(e2) { - if (2 === this._os) + if (this._os === 2) switch (e2) { case 15: - return "←"; + return "\u2190"; case 16: - return "↑"; + return "\u2191"; case 17: - return "→"; + return "\u2192"; case 18: - return "↓"; + return "\u2193"; } return De.b.toString(e2); } @@ -29950,8 +29950,8 @@ } } var st = n(49), at = n(169), lt = n(55), ct = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -30135,14 +30135,14 @@ } } function vt(e2) { - return e2 && "object" == typeof e2 && (!e2.overrideIdentifier || "string" == typeof e2.overrideIdentifier) && (!e2.resource || e2.resource instanceof u.a); + return e2 && typeof e2 == "object" && (!e2.overrideIdentifier || typeof e2.overrideIdentifier == "string") && (!e2.resource || e2.resource instanceof u.a); } class wt { constructor() { this._onDidChangeConfiguration = new Oe.a(), this.onDidChangeConfiguration = this._onDidChangeConfiguration.event, this._configuration = new qe(new He(), new Ue()); } getValue(e2, t2) { - const n2 = "string" == typeof e2 ? e2 : void 0, i2 = vt(e2) ? e2 : vt(t2) ? t2 : {}; + const n2 = typeof e2 == "string" ? e2 : void 0, i2 = vt(e2) ? e2 : vt(t2) ? t2 : {}; return this._configuration.getValue(n2, i2, void 0); } updateValues(e2) { @@ -30166,8 +30166,8 @@ }); } getValue(e2, t2, n2) { - const i2 = (We.a.isIPosition(t2) ? t2 : null) ? "string" == typeof n2 ? n2 : void 0 : "string" == typeof t2 ? t2 : void 0; - return void 0 === i2 ? this.configurationService.getValue() : this.configurationService.getValue(i2); + const i2 = (We.a.isIPosition(t2) ? t2 : null) ? typeof n2 == "string" ? n2 : void 0 : typeof t2 == "string" ? t2 : void 0; + return i2 === void 0 ? this.configurationService.getValue() : this.configurationService.getValue(i2); } } let Ct = class { @@ -30176,7 +30176,7 @@ } getEOL(e2, t2) { const n2 = this.configurationService.getValue("files.eol", {overrideIdentifier: t2, resource: e2}); - return n2 && "auto" !== n2 ? n2 : D.d || D.f ? "\n" : "\r\n"; + return n2 && n2 !== "auto" ? n2 : D.d || D.f ? "\n" : "\r\n"; } }; Ct = ct([dt(0, ze.a)], Ct); @@ -30227,7 +30227,7 @@ const e3 = this._modelService.getModel(n3.resource); if (!e3) throw new Error("bad edit - model not found"); - if ("number" == typeof n3.versionId && e3.getVersionId() !== n3.versionId) + if (typeof n3.versionId == "number" && e3.getVersionId() !== n3.versionId) throw new Error("bad state - model changed in the meantime"); let i3 = t3.get(e3); i3 || (i3 = [], t3.set(e3, i3)), i3.push(Fe.a.replaceMove(M.a.lift(n3.textEdit.range), n3.textEdit.text)); @@ -30241,7 +30241,7 @@ } class Tt { getUriLabel(e2, t2) { - return "file" === e2.scheme ? e2.fsPath : e2.path; + return e2.scheme === "file" ? e2.fsPath : e2.path; } } class Lt { @@ -30256,12 +30256,12 @@ } focus() { var e2; - null === (e2 = this._codeEditorService.getFocusedCodeEditor()) || void 0 === e2 || e2.focus(); + (e2 = this._codeEditorService.getFocusedCodeEditor()) === null || e2 === void 0 || e2.focus(); } } var Nt = n(66), It = n(164), Ot = n(194), Dt = n(191), At = n(139), Rt = n(24), Mt = n(10), Pt = n(84), Ft = n(18), Wt = n(50), zt = n(19), Bt = n(80), jt = n(121), Vt = n(83), Ut = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -30287,7 +30287,7 @@ return this._contextKeyService.createKey(e2, t2); } addAction(e2) { - if ("string" != typeof e2.id || "string" != typeof e2.label || "function" != typeof e2.run) + if (typeof e2.id != "string" || typeof e2.label != "string" || typeof e2.run != "function") throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!"); if (!this._standaloneKeybindingService) return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"), I.a.None; @@ -30310,9 +30310,9 @@ constructor(e2, t2, n2, i2, o2, r2, s2, a2, l2, c2, d2, h2, u2) { kt(h2, t2, false); const p2 = c2.registerEditorContainer(e2); - "string" == typeof (t2 = t2 || {}).theme && c2.setTheme(t2.theme); + typeof (t2 = t2 || {}).theme == "string" && c2.setTheme(t2.theme); let m2, g2 = t2.model; - if (delete t2.model, super(e2, t2, i2, o2, r2, s2, a2, c2, d2, u2), this._contextViewService = l2, this._configurationService = h2, this._standaloneThemeService = c2, this._register(n2), this._register(p2), void 0 === g2 ? (m2 = self.monaco.editor.createModel(t2.value || "", t2.language || "text/plain"), this._ownsModel = true) : (m2 = g2, this._ownsModel = false), this._attachModel(m2), m2) { + if (delete t2.model, super(e2, t2, i2, o2, r2, s2, a2, c2, d2, u2), this._contextViewService = l2, this._configurationService = h2, this._standaloneThemeService = c2, this._register(n2), this._register(p2), g2 === void 0 ? (m2 = self.monaco.editor.createModel(t2.value || "", t2.language || "text/plain"), this._ownsModel = true) : (m2 = g2, this._ownsModel = false), this._attachModel(m2), m2) { let e3 = {oldModelUrl: null, newModelUrl: m2.uri}; this._onDidChangeModel.fire(e3); } @@ -30321,7 +30321,7 @@ super.dispose(); } updateOptions(e2) { - kt(this._configurationService, e2, false), "string" == typeof e2.theme && this._standaloneThemeService.setTheme(e2.theme), super.updateOptions(e2); + kt(this._configurationService, e2, false), typeof e2.theme == "string" && this._standaloneThemeService.setTheme(e2.theme), super.updateOptions(e2); } _attachModel(e2) { super._attachModel(e2), this._modelData && this._contextViewService.setContainer(this._modelData.view.domNode.domNode); @@ -30335,13 +30335,13 @@ constructor(e2, t2, n2, i2, o2, r2, s2, a2, l2, c2, d2, h2, u2, p2, m2) { kt(h2, t2, true); const g2 = c2.registerEditorContainer(e2); - "string" == typeof (t2 = t2 || {}).theme && (t2.theme = c2.setTheme(t2.theme)), super(e2, t2, m2, a2, o2, i2, l2, c2, d2, u2, p2), this._contextViewService = s2, this._configurationService = h2, this._standaloneThemeService = c2, this._register(n2), this._register(g2), this._contextViewService.setContainer(this._containerDomElement); + typeof (t2 = t2 || {}).theme == "string" && (t2.theme = c2.setTheme(t2.theme)), super(e2, t2, m2, a2, o2, i2, l2, c2, d2, u2, p2), this._contextViewService = s2, this._configurationService = h2, this._standaloneThemeService = c2, this._register(n2), this._register(g2), this._contextViewService.setContainer(this._containerDomElement); } dispose() { super.dispose(); } updateOptions(e2) { - kt(this._configurationService, e2, true), "string" == typeof e2.theme && this._standaloneThemeService.setTheme(e2.theme), super.updateOptions(e2); + kt(this._configurationService, e2, true), typeof e2.theme == "string" && this._standaloneThemeService.setTheme(e2.theme), super.updateOptions(e2); } _createInnerEditor(e2, t2, n2) { return e2.createInstance(Kt, t2, n2); @@ -30493,9 +30493,9 @@ if (Array.isArray(t2.filenamePatterns)) for (let e3 of t2.filenamePatterns) on({id: n2, mime: i2, filepattern: e3}, this._warnOnOverwrite); - if ("string" == typeof t2.firstLine && t2.firstLine.length > 0) { + if (typeof t2.firstLine == "string" && t2.firstLine.length > 0) { let e3 = t2.firstLine; - "^" !== e3.charAt(0) && (e3 = "^" + e3); + e3.charAt(0) !== "^" && (e3 = "^" + e3); try { let t3 = new RegExp(e3); B.P(t3) || on({id: n2, mime: i2, firstline: t3}, this._warnOnOverwrite); @@ -30505,11 +30505,11 @@ } e2.aliases.push(n2); let o2 = null; - if (void 0 !== t2.aliases && Array.isArray(t2.aliases) && (o2 = 0 === t2.aliases.length ? [null] : t2.aliases), null !== o2) + if (t2.aliases !== void 0 && Array.isArray(t2.aliases) && (o2 = t2.aliases.length === 0 ? [null] : t2.aliases), o2 !== null) for (const t3 of o2) - t3 && 0 !== t3.length && e2.aliases.push(t3); - let r2 = null !== o2 && o2.length > 0; - if (r2 && null === o2[0]) + t3 && t3.length !== 0 && e2.aliases.push(t3); + let r2 = o2 !== null && o2.length > 0; + if (r2 && o2[0] === null) ; else { let t3 = (r2 ? o2[0] : null) || n2; @@ -30527,10 +30527,10 @@ return e2 ? e2.split(",").map((e3) => e3.trim()).map((e3) => cn.call(this._mimeTypesMap, e3) ? this._mimeTypesMap[e3].language : e3).filter((e3) => cn.call(this._languages, e3)) : []; } getLanguageIdentifier(e2) { - if (e2 === E.b || 0 === e2) + if (e2 === E.b || e2 === 0) return E.a; let t2; - if ("string" == typeof e2) + if (typeof e2 == "string") t2 = e2; else if (t2 = this._languageIdToLanguage[e2], !t2) return null; @@ -30647,8 +30647,8 @@ } } var gn = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -30668,7 +30668,7 @@ } unref() { var e2; - this._refCount--, 0 === this._refCount && (null === (e2 = this._styleSheet.parentNode) || void 0 === e2 || e2.removeChild(this._styleSheet), this._parent._removeEditorStyleSheets(this._editorId)); + this._refCount--, this._refCount === 0 && ((e2 = this._styleSheet.parentNode) === null || e2 === void 0 || e2.removeChild(this._styleSheet), this._parent._removeEditorStyleSheets(this._editorId)); } insertRule(e2, t2) { this._styleSheet.sheet.insertRule(e2, t2); @@ -30764,7 +30764,7 @@ const r2 = n2.options; this.isWholeLine = Boolean(r2.isWholeLine), this.stickiness = r2.rangeBehavior; const s2 = r2.light && r2.light.overviewRulerColor || r2.overviewRulerColor, a2 = r2.dark && r2.dark.overviewRulerColor || r2.overviewRulerColor; - void 0 === s2 && void 0 === a2 || (this.overviewRuler = {color: s2 || a2, darkColor: a2 || s2, position: r2.overviewRulerLane || S.d.Center}); + s2 === void 0 && a2 === void 0 || (this.overviewRuler = {color: s2 || a2, darkColor: a2 || s2, position: r2.overviewRulerLane || S.d.Center}); } getOptions(e2, t2) { return t2 ? {inlineClassName: this.inlineClassName, beforeContentClassName: this.beforeContentClassName, afterContentClassName: this.afterContentClassName, className: this.className, glyphMarginClassName: this.glyphMarginClassName, isWholeLine: this.isWholeLine, overviewRuler: this.overviewRuler, stickiness: this.stickiness} : this; @@ -30839,8 +30839,8 @@ if (!e2) return ""; const t2 = []; - if (void 0 !== e2) { - if (this.collectBorderSettingsCSSText(e2, t2), void 0 !== e2.contentIconPath && t2.push(B.x(Cn.contentIconPath, a.q(u.a.revive(e2.contentIconPath)))), "string" == typeof e2.contentText) { + if (e2 !== void 0) { + if (this.collectBorderSettingsCSSText(e2, t2), e2.contentIconPath !== void 0 && t2.push(B.x(Cn.contentIconPath, a.q(u.a.revive(e2.contentIconPath)))), typeof e2.contentText == "string") { const n2 = e2.contentText.match(/^.*$/m)[0].replace(/['\\]/g, "\\$&"); t2.push(B.x(Cn.contentText, n2)); } @@ -30852,7 +30852,7 @@ if (!e2) return ""; const t2 = []; - return void 0 !== e2.gutterIconPath && (t2.push(B.x(Cn.gutterIconPath, a.q(u.a.revive(e2.gutterIconPath)))), void 0 !== e2.gutterIconSize && t2.push(B.x(Cn.gutterIconSize, e2.gutterIconSize))), t2.join(""); + return e2.gutterIconPath !== void 0 && (t2.push(B.x(Cn.gutterIconPath, a.q(u.a.revive(e2.gutterIconPath)))), e2.gutterIconSize !== void 0 && t2.push(B.x(Cn.gutterIconSize, e2.gutterIconSize))), t2.join(""); } collectBorderSettingsCSSText(e2, t2) { return !!this.collectCSSText(e2, ["border", "borderColor", "borderRadius", "borderSpacing", "borderStyle", "borderWidth"], t2) && (t2.push(B.x("box-sizing: border-box;")), true); @@ -30861,7 +30861,7 @@ const i2 = n2.length; for (let i3 of t2) { const t3 = this.resolveValue(e2[i3]); - "string" == typeof t3 && n2.push(B.x(Cn[i3], t3)); + typeof t3 == "string" && n2.push(B.x(Cn[i3], t3)); } return n2.length !== i2; } @@ -30880,7 +30880,7 @@ } static getSelector(e2, t2, n2) { let i2 = ".monaco-editor ." + this.getClassName(e2, n2); - return t2 && (i2 = i2 + "." + this.getClassName(t2, n2)), 3 === n2 ? i2 += "::before" : 4 === n2 && (i2 += "::after"), i2; + return t2 && (i2 = i2 + "." + this.getClassName(t2, n2)), n2 === 3 ? i2 += "::before" : n2 === 4 && (i2 += "::after"), i2; } } class kn extends vn { @@ -30901,7 +30901,7 @@ } const n2 = t2.options ? t2.options.selection : null; if (n2) - if ("number" == typeof n2.endLineNumber && "number" == typeof n2.endColumn) + if (typeof n2.endLineNumber == "number" && typeof n2.endColumn == "number") e2.setSelection(n2), e2.revealRangeInCenter(n2, 1); else { const t3 = {lineNumber: n2.startLineNumber, column: n2.startColumn}; @@ -30926,7 +30926,7 @@ this._lastColorId = 0, this._id2color = [], this._color2id = new Map(); } getId(e2) { - if (null === e2) + if (e2 === null) return 0; const t2 = e2.match(Ln); if (!t2) @@ -30950,7 +30950,7 @@ let t3 = [], n2 = 0; for (let i2 = 0, o2 = e3.length; i2 < o2; i2++) { let o3 = e3[i2], r2 = -1; - if ("string" == typeof o3.fontStyle) { + if (typeof o3.fontStyle == "string") { r2 = 0; let e4 = o3.fontStyle.split(" "); for (let t4 = 0, n3 = e4.length; t4 < n3; t4++) { @@ -30967,9 +30967,9 @@ } } let s2 = null; - "string" == typeof o3.foreground && (s2 = o3.foreground); + typeof o3.foreground == "string" && (s2 = o3.foreground); let a2 = null; - "string" == typeof o3.background && (a2 = o3.background), t3[n2++] = new Tn(o3.token || "", i2, r2, s2, a2); + typeof o3.background == "string" && (a2 = o3.background), t3[n2++] = new Tn(o3.token || "", i2, r2, s2, a2); } return t3; }(e2), t2); @@ -30984,12 +30984,12 @@ return 1; return 0; }(e4.token, t4.token); - return 0 !== n3 ? n3 : e4.index - t4.index; + return n3 !== 0 ? n3 : e4.index - t4.index; }); let n2 = 0, i2 = "000000", o2 = "ffffff"; - for (; e3.length >= 1 && "" === e3[0].token; ) { + for (; e3.length >= 1 && e3[0].token === ""; ) { let t4 = e3.shift(); - -1 !== t4.fontStyle && (n2 = t4.fontStyle), null !== t4.foreground && (i2 = t4.foreground), null !== t4.background && (o2 = t4.background); + t4.fontStyle !== -1 && (n2 = t4.fontStyle), t4.foreground !== null && (i2 = t4.foreground), t4.background !== null && (o2 = t4.background); } let r2 = new Nn(); for (let e4 of t3) @@ -31010,7 +31010,7 @@ } match(e2, t2) { let n2 = this._cache.get(t2); - if (void 0 === n2) { + if (n2 === void 0) { let e3 = this._match(t2), i2 = function(e4) { let t3 = e4.match(On); if (!t3) @@ -31040,7 +31040,7 @@ return new Dn(this._fontStyle, this._foreground, this._background); } acceptOverwrite(e2, t2, n2) { - -1 !== e2 && (this._fontStyle = e2), 0 !== t2 && (this._foreground = t2), 0 !== n2 && (this._background = n2), this.metadata = (this._fontStyle << 11 | this._foreground << 14 | this._background << 23) >>> 0; + e2 !== -1 && (this._fontStyle = e2), t2 !== 0 && (this._foreground = t2), n2 !== 0 && (this._background = n2), this.metadata = (this._fontStyle << 11 | this._foreground << 14 | this._background << 23) >>> 0; } } class An { @@ -31048,20 +31048,20 @@ this._mainRule = e2, this._children = new Map(); } match(e2) { - if ("" === e2) + if (e2 === "") return this._mainRule; let t2, n2, i2 = e2.indexOf("."); - -1 === i2 ? (t2 = e2, n2 = "") : (t2 = e2.substring(0, i2), n2 = e2.substring(i2 + 1)); + i2 === -1 ? (t2 = e2, n2 = "") : (t2 = e2.substring(0, i2), n2 = e2.substring(i2 + 1)); let o2 = this._children.get(t2); - return void 0 !== o2 ? o2.match(n2) : this._mainRule; + return o2 !== void 0 ? o2.match(n2) : this._mainRule; } insert(e2, t2, n2, i2) { - if ("" === e2) + if (e2 === "") return void this._mainRule.acceptOverwrite(t2, n2, i2); let o2, r2, s2 = e2.indexOf("."); - -1 === s2 ? (o2 = e2, r2 = "") : (o2 = e2.substring(0, s2), r2 = e2.substring(s2 + 1)); + s2 === -1 ? (o2 = e2, r2 = "") : (o2 = e2.substring(0, s2), r2 = e2.substring(s2 + 1)); let a2 = this._children.get(o2); - void 0 === a2 && (a2 = new An(this._mainRule.clone()), this._children.set(o2, a2)), a2.insert(r2, t2, n2, i2); + a2 === void 0 && (a2 = new An(this._mainRule.clone()), this._children.set(o2, a2)), a2.insert(r2, t2, n2, i2); } } var Rn = n(57), Mn = n(5); @@ -31096,7 +31096,7 @@ } getColor(e2, t2) { const n2 = this.getColors().get(e2); - return n2 || (false !== t2 ? this.getDefault(e2) : void 0); + return n2 || (t2 !== false ? this.getDefault(e2) : void 0); } getDefault(e2) { let t2 = this.defaultColors[e2]; @@ -31132,7 +31132,7 @@ } } function Un(e2) { - return "vs" === e2 || "vs-dark" === e2 || "hc-black" === e2; + return e2 === "vs" || e2 === "vs-dark" || e2 === "hc-black"; } function Hn(e2) { switch (e2) { @@ -31209,8 +31209,8 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } } var Kn = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -31233,7 +31233,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } getValue(e2) { const t2 = this._value[e2]; - return void 0 === t2 && this._parent ? this._parent.getValue(e2) : t2; + return t2 === void 0 && this._parent ? this._parent.getValue(e2) : t2; } } class Zn extends Yn { @@ -31253,7 +31253,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all class Xn extends Yn { constructor(e2, t2, n2) { super(e2, null), this._configurationService = t2, this._values = new Map(), this._listener = this._configurationService.onDidChangeConfiguration((e3) => { - if (6 === e3.source) { + if (e3.source === 6) { const e4 = Array.from(this._values.keys()); this._values.clear(), n2.fire(new ei(e4)); } else { @@ -31270,7 +31270,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all this._listener.dispose(); } getValue(e2) { - if (0 !== e2.indexOf(Xn._keyPrefix)) + if (e2.indexOf(Xn._keyPrefix) !== 0) return super.getValue(e2); if (this._values.has(e2)) return this._values.get(e2); @@ -31303,7 +31303,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all this._service.setContext(this._key, e2); } reset() { - void 0 === this._defaultValue ? this._service.removeContext(this._key) : this._service.setContext(this._key, this._defaultValue); + this._defaultValue === void 0 ? this._service.removeContext(this._key) : this._service.setContext(this._key, this._defaultValue); } get() { return this._service.getContextKeyValue(this._key); @@ -31448,7 +31448,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all var ri = n(60), si = n(116), ai = n(105), li = (n(261), n(99)), ci = n(138); function di(e2, t2, n2) { const i2 = n2.offset + n2.size; - return 0 === n2.position ? t2 <= e2 - i2 ? i2 : t2 <= n2.offset ? n2.offset - t2 : Math.max(e2 - t2, 0) : t2 <= n2.offset ? n2.offset - t2 : t2 <= e2 - i2 ? i2 : 0; + return n2.position === 0 ? t2 <= e2 - i2 ? i2 : t2 <= n2.offset ? n2.offset - t2 : Math.max(e2 - t2, 0) : t2 <= n2.offset ? n2.offset - t2 : t2 <= e2 - i2 ? i2 : 0; } class hi extends I.a { constructor(e2, t2) { @@ -31456,7 +31456,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } setContainer(e2, t2) { if (this.container && (this.toDisposeOnSetContainer.dispose(), this.shadowRoot ? (this.shadowRoot.removeChild(this.view), this.shadowRoot = null, a.S(this.shadowRootHostElement), this.shadowRootHostElement = null) : this.container.removeChild(this.view), this.container = null), e2) { - this.container = e2, this.useFixedPosition = 1 !== t2, this.useShadowDOM = 3 === t2, this.useShadowDOM ? (this.shadowRootHostElement = a.a(".shadow-root-host"), this.container.appendChild(this.shadowRootHostElement), this.shadowRoot = this.shadowRootHostElement.attachShadow({mode: "open"}), this.shadowRoot.innerHTML = ` + this.container = e2, this.useFixedPosition = t2 !== 1, this.useShadowDOM = t2 === 3, this.useShadowDOM ? (this.shadowRootHostElement = a.a(".shadow-root-host"), this.container.appendChild(this.shadowRootHostElement), this.shadowRoot = this.shadowRootHostElement.attachShadow({mode: "open"}), this.shadowRoot.innerHTML = ` <style> ${ui} </style> @@ -31480,7 +31480,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all return this.view; } layout() { - this.isVisible() && (false !== this.delegate.canRelayout || D.c && ci.a.pointerEvents ? (this.delegate.layout && this.delegate.layout(), this.doLayout()) : this.hide()); + this.isVisible() && (this.delegate.canRelayout !== false || D.c && ci.a.pointerEvents ? (this.delegate.layout && this.delegate.layout(), this.doLayout()) : this.hide()); } doLayout() { if (!this.isVisible()) @@ -31491,19 +31491,19 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all e2 = {top: n3.top, left: n3.left, width: n3.width, height: n3.height}; } else e2 = {top: t2.y, left: t2.x, width: t2.width || 1, height: t2.height || 2}; - const n2 = a.H(this.view), i2 = a.G(this.view), o2 = this.delegate.anchorPosition || 0, r2 = this.delegate.anchorAlignment || 0, s2 = {offset: e2.top - window.pageYOffset, size: e2.height, position: 0 === o2 ? 0 : 1}; + const n2 = a.H(this.view), i2 = a.G(this.view), o2 = this.delegate.anchorPosition || 0, r2 = this.delegate.anchorAlignment || 0, s2 = {offset: e2.top - window.pageYOffset, size: e2.height, position: o2 === 0 ? 0 : 1}; let l2; - l2 = 0 === r2 ? {offset: e2.left, size: 0, position: 0} : {offset: e2.left + e2.width, size: 0, position: 1}; + l2 = r2 === 0 ? {offset: e2.left, size: 0, position: 0} : {offset: e2.left + e2.width, size: 0, position: 1}; const c2 = di(window.innerHeight, i2, s2) + window.pageYOffset; - li.a.intersects({start: c2, end: c2 + i2}, {start: s2.offset, end: s2.offset + s2.size}) && (l2.size = e2.width, 1 === r2 && (l2.offset = e2.left)); + li.a.intersects({start: c2, end: c2 + i2}, {start: s2.offset, end: s2.offset + s2.size}) && (l2.size = e2.width, r2 === 1 && (l2.offset = e2.left)); const d2 = di(window.innerWidth, n2, l2); - a.R(this.view, "top", "bottom", "left", "right"), a.e(this.view, 0 === o2 ? "bottom" : "top"), a.e(this.view, 0 === r2 ? "left" : "right"), a.ab(this.view, "fixed", this.useFixedPosition); + a.R(this.view, "top", "bottom", "left", "right"), a.e(this.view, o2 === 0 ? "bottom" : "top"), a.e(this.view, r2 === 0 ? "left" : "right"), a.ab(this.view, "fixed", this.useFixedPosition); const h2 = a.C(this.container); this.view.style.top = c2 - (this.useFixedPosition ? a.C(this.view).top : h2.top) + "px", this.view.style.left = d2 - (this.useFixedPosition ? a.C(this.view).left : h2.left) + "px", this.view.style.width = "initial"; } hide(e2) { const t2 = this.delegate; - this.delegate = null, (null == t2 ? void 0 : t2.onHide) && t2.onHide(e2), this.toDisposeOnClean.dispose(), a.K(this.view); + this.delegate = null, (t2 == null ? void 0 : t2.onHide) && t2.onHide(e2), this.toDisposeOnClean.dispose(), a.K(this.view); } isVisible() { return !!this.delegate; @@ -31578,7 +31578,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all if (this.mnemonics.has(t3)) { a.b.stop(e3, true); const n3 = this.mnemonics.get(t3); - if (1 === n3.length && (n3[0] instanceof Si && n3[0].container && this.focusItemByElement(n3[0].container), n3[0].onClick(e3)), n3.length > 1) { + if (n3.length === 1 && (n3[0] instanceof Si && n3[0].container && this.focusItemByElement(n3[0].container), n3[0].onClick(e3)), n3.length > 1) { const e4 = n3.shift(); e4 && e4.container && (this.focusItemByElement(e4.container), n3.push(e4)), this.mnemonics.set(t3, n3); } @@ -31592,7 +31592,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all })), this._register(Object(a.i)(this.actionsList, a.c.MOUSE_OVER, (e3) => { let t3 = e3.target; if (t3 && Object(a.L)(t3, this.actionsList) && t3 !== this.actionsList) { - for (; t3.parentElement !== this.actionsList && null !== t3.parentElement; ) + for (; t3.parentElement !== this.actionsList && t3.parentElement !== null; ) t3 = t3.parentElement; if (Object(a.I)(t3, "action-item")) { const e4 = this.focusedItem; @@ -31607,7 +31607,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all e3.preventDefault(); })), i2.style.maxHeight = Math.max(10, window.innerHeight - e2.getBoundingClientRect().top - 35) + "px", t2 = t2.filter((e3) => { var t3; - return !(null === (t3 = n2.submenuIds) || void 0 === t3 ? void 0 : t3.has(e3.id)) || (console.warn("Found submenu cycle: " + e3.id), false); + return !((t3 = n2.submenuIds) === null || t3 === void 0 ? void 0 : t3.has(e3.id)) || (console.warn("Found submenu cycle: " + e3.id), false); }), this.push(t2, {icon: true, label: true, isMenu: true}), e2.appendChild(this.scrollableElement.getDomNode()), this.scrollableElement.scanDomNode(), this.viewItems.filter((e3) => !(e3 instanceof ki)).forEach((e3, t3, n3) => { e3.updatePositionInSet(t3 + 1, n3.length); }); @@ -31640,7 +31640,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } } updateFocus(e2) { - super.updateFocus(e2, true), void 0 !== this.focusedItem && this.scrollableElement.setScrollPosition({scrollTop: Math.round(this.menuElement.scrollTop)}); + super.updateFocus(e2, true), this.focusedItem !== void 0 && this.scrollableElement.setScrollPosition({scrollTop: Math.round(this.menuElement.scrollTop)}); } doGetActionViewItem(e2, t2, n2) { if (e2 instanceof ri.c) @@ -31679,7 +31679,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } class xi extends mi.b { constructor(e2, t2, n2 = {}) { - if (n2.isMenu = true, super(t2, t2, n2), this.options = n2, this.options.icon = void 0 !== n2.icon && n2.icon, this.options.label = void 0 === n2.label || n2.label, this.cssClass = "", this.options.label && n2.enableMnemonics) { + if (n2.isMenu = true, super(t2, t2, n2), this.options = n2, this.options.icon = n2.icon !== void 0 && n2.icon, this.options.label = n2.label === void 0 || n2.label, this.cssClass = "", this.options.label && n2.enableMnemonics) { let e3 = this.getAction().label; if (e3) { let t3 = bi.exec(e3); @@ -31767,7 +31767,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } class Si extends xi { constructor(e2, t2, n2, i2) { - super(e2, e2, i2), this.submenuActions = t2, this.parentData = n2, this.submenuOptions = i2, this.mysubmenu = null, this.submenuDisposables = this._register(new I.b()), this.mouseOver = false, this.expandDirection = i2 && void 0 !== i2.expandDirection ? i2.expandDirection : yi.Right, this.showScheduler = new N.d(() => { + super(e2, e2, i2), this.submenuActions = t2, this.parentData = n2, this.submenuOptions = i2, this.mysubmenu = null, this.submenuDisposables = this._register(new I.b()), this.mouseOver = false, this.expandDirection = i2 && i2.expandDirection !== void 0 ? i2.expandDirection : yi.Right, this.showScheduler = new N.d(() => { this.mouseOver && (this.cleanupExistingSubmenu(false), this.createSubmenu(false)); }, 250), this.hideScheduler = new N.d(() => { this.element && !Object(a.L)(Object(a.x)(), this.element) && this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(false), this.cleanupExistingSubmenu(true)); @@ -31826,7 +31826,7 @@ ${this._themeCSS}`, this._styleElements.forEach((e2) => e2.innerHTML = this._all } updateAriaExpanded(e2) { var t2; - this.item && (null === (t2 = this.item) || void 0 === t2 || t2.setAttribute("aria-expanded", e2)); + this.item && ((t2 = this.item) === null || t2 === void 0 || t2.setAttribute("aria-expanded", e2)); } applyStyle() { if (super.applyStyle(), !this.menuStyle) @@ -31886,7 +31886,7 @@ ${Object(zn.b)(wi)} } .monaco-menu .monaco-action-bar.animated .action-item.active { - transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */ + transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ } .monaco-menu .monaco-action-bar .action-item .icon, @@ -32287,8 +32287,8 @@ ${Object(zn.b)(wi)} } } var Ii = n(120), Oi = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -32313,8 +32313,8 @@ ${Object(zn.b)(wi)} Ai = Oi([Di(0, Ii.a), Di(1, st.a), Di(2, Pt.b), Di(3, Wt.a), Di(4, zt.c)], Ai); const Ri = Object(Ft.c)("layoutService"); var Mi = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -32363,7 +32363,7 @@ ${Object(zn.b)(wi)} roots() { const e2 = []; for (let t2 of this._nodes.values()) - 0 === t2.outgoing.size && e2.push(t2); + t2.outgoing.size === 0 && e2.push(t2); return e2; } insertEdge(e2, t2) { @@ -32382,7 +32382,7 @@ ${Object(zn.b)(wi)} return n2 || (n2 = new zi(e2), this._nodes.set(t2, n2)), n2; } isEmpty() { - return 0 === this._nodes.size; + return this._nodes.size === 0; } toString() { let e2 = []; @@ -32474,7 +32474,7 @@ ${Object(zn.b)(wi)} } for (; ; ) { const e3 = i2.roots(); - if (0 === e3.length) { + if (e3.length === 0) { if (!i2.isEmpty()) throw new Ui(i2); break; @@ -32500,7 +32500,7 @@ ${Object(zn.b)(wi)} if (t3 in e3) return e3[t3]; let i3 = n3.value, o2 = i3[t3]; - return "function" != typeof o2 || (o2 = o2.bind(i3), e3[t3] = o2), o2; + return typeof o2 != "function" || (o2 = o2.bind(i3), e3[t3] = o2), o2; }, set: (e3, t3, i3) => (n3.value[t3] = i3, true)}); } return this._createInstance(e2, t2, i2); @@ -32524,7 +32524,7 @@ ${Object(zn.b)(wi)} let e2 = Date.now() - this._start; qi._totals += e2; let t2 = false; - let n2 = [`${0 === this.type ? "CREATE" : "CALL"} ${this.name}`, "" + function e3(n3, i2) { + let n2 = [`${this.type === 0 ? "CREATE" : "CALL"} ${this.name}`, "" + function e3(n3, i2) { let o2 = [], r2 = new Array(n3 + 1).join(" "); for (const [s2, a2, l2] of i2._dep) if (a2 && l2) { @@ -32561,7 +32561,7 @@ ${Object(zn.b)(wi)} } get(e2, t2) { let n2 = this._byResource.get(e2); - return null == n2 ? void 0 : n2.get(t2); + return n2 == null ? void 0 : n2.get(t2); } delete(e2, t2) { let n2 = false, i2 = false, o2 = this._byResource.get(e2); @@ -32573,7 +32573,7 @@ ${Object(zn.b)(wi)} } values(e2) { var t2, n2, i2, o2; - return "string" == typeof e2 ? null !== (n2 = null === (t2 = this._byOwner.get(e2)) || void 0 === t2 ? void 0 : t2.values()) && void 0 !== n2 ? n2 : Yi.a.empty() : u.a.isUri(e2) ? null !== (o2 = null === (i2 = this._byResource.get(e2)) || void 0 === i2 ? void 0 : i2.values()) && void 0 !== o2 ? o2 : Yi.a.empty() : Yi.a.map(Yi.a.concat(...this._byOwner.values()), (e3) => e3[1]); + return typeof e2 == "string" ? (n2 = (t2 = this._byOwner.get(e2)) === null || t2 === void 0 ? void 0 : t2.values()) !== null && n2 !== void 0 ? n2 : Yi.a.empty() : u.a.isUri(e2) ? (o2 = (i2 = this._byResource.get(e2)) === null || i2 === void 0 ? void 0 : i2.values()) !== null && o2 !== void 0 ? o2 : Yi.a.empty() : Yi.a.map(Yi.a.concat(...this._byOwner.values()), (e3) => e3[1]); } } class Xi { @@ -32651,7 +32651,7 @@ ${Object(zn.b)(wi)} return []; } if (t2 || n2) { - const e3 = this._data.values(null != n2 ? n2 : t2), r2 = []; + const e3 = this._data.values(n2 != null ? n2 : t2), r2 = []; for (const t3 of e3) for (const e4 of t3) if (Qi._accept(e4, i2)) { @@ -32674,7 +32674,7 @@ ${Object(zn.b)(wi)} } } static _accept(e2, t2) { - return void 0 === t2 || (t2 & e2.severity) === e2.severity; + return t2 === void 0 || (t2 & e2.severity) === e2.severity; } static _debouncer(e2, t2) { e2 || (Qi._dedupeMap = new Be.b(), e2 = []); @@ -32684,8 +32684,8 @@ ${Object(zn.b)(wi)} } } var Ji = n(97), eo = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -32755,26 +32755,26 @@ ${Object(zn.b)(wi)} return 1; if (!o2) return -1; - if ("navigation" === i2) + if (i2 === "navigation") return -1; - if ("navigation" === o2) + if (o2 === "navigation") return 1; let e3 = i2.localeCompare(o2); - if (0 !== e3) + if (e3 !== 0) return e3; } let r2 = t2.order || 0, s2 = n2.order || 0; return r2 < s2 ? -1 : r2 > s2 ? 1 : e2._compareTitles(Object(Rt.f)(t2) ? t2.command.title : t2.title, Object(Rt.f)(n2) ? n2.command.title : n2.title); } static _compareTitles(e3, t2) { - const n2 = "string" == typeof e3 ? e3 : e3.value, i2 = "string" == typeof t2 ? t2 : t2.value; + const n2 = typeof e3 == "string" ? e3 : e3.value, i2 = typeof t2 == "string" ? t2 : t2.value; return n2.localeCompare(i2); } }; io = eo([to(1, p.b), to(2, Mt.b), to(3, Rt.a)], io); var oo = n(192), ro = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -32800,7 +32800,7 @@ ${Object(zn.b)(wi)} const i2 = this.model.deltaDecorations(n2, t2); for (let t3 = 0; t3 < i2.length; t3++) this._markersData.set(i2[t3], e2[t3]); - return 0 !== n2.length || 0 !== i2.length; + return n2.length !== 0 || i2.length !== 0; } getMarker(e2) { return this._markersData.get(e2.id); @@ -32844,9 +32844,9 @@ ${Object(zn.b)(wi)} n2 = new M.a(n2.startLineNumber, t3.startColumn, n2.endLineNumber, t3.endColumn); else { let t4 = e2.getLineLastNonWhitespaceColumn(n2.startLineNumber) || e2.getLineMaxColumn(n2.startLineNumber); - 1 === t4 || (n2 = n2.endColumn >= t4 ? new M.a(n2.startLineNumber, t4 - 1, n2.endLineNumber, t4) : new M.a(n2.startLineNumber, n2.startColumn, n2.endLineNumber, n2.endColumn + 1)); + t4 === 1 || (n2 = n2.endColumn >= t4 ? new M.a(n2.startLineNumber, t4 - 1, n2.endLineNumber, t4) : new M.a(n2.startLineNumber, n2.startColumn, n2.endLineNumber, n2.endColumn + 1)); } - } else if (t2.endColumn === Number.MAX_VALUE && 1 === t2.startColumn && n2.startLineNumber === n2.endLineNumber) { + } else if (t2.endColumn === Number.MAX_VALUE && t2.startColumn === 1 && n2.startLineNumber === n2.endLineNumber) { let i2 = e2.getLineFirstNonWhitespaceColumn(t2.startLineNumber); i2 < n2.endColumn && (n2 = new M.a(n2.startLineNumber, i2, n2.endLineNumber, n2.endColumn), t2.startColumn = i2); } @@ -32868,7 +32868,7 @@ ${Object(zn.b)(wi)} default: t2 = "squiggly-error", o2 = Object(zt.h)(Rn.q), n2 = 30, i2 = {color: Object(zt.h)(Mn.Nb), position: S.c.Inline}; } - return e2.tags && (-1 !== e2.tags.indexOf(1) && (r2 = "squiggly-inline-unnecessary"), -1 !== e2.tags.indexOf(2) && (r2 = "squiggly-inline-deprecated")), {stickiness: 1, className: t2, showIfCollapsed: true, overviewRuler: {color: o2, position: S.d.Right}, minimap: i2, zIndex: n2, inlineClassName: r2}; + return e2.tags && (e2.tags.indexOf(1) !== -1 && (r2 = "squiggly-inline-unnecessary"), e2.tags.indexOf(2) !== -1 && (r2 = "squiggly-inline-deprecated")), {stickiness: 1, className: t2, showIfCollapsed: true, overviewRuler: {color: o2, position: S.d.Right}, minimap: i2, zIndex: n2, inlineClassName: r2}; } _hasMarkerTag(e2, t2) { return !!e2.tags && e2.tags.indexOf(t2) >= 0; @@ -32876,8 +32876,8 @@ ${Object(zn.b)(wi)} }; co = ro([so(0, W.a), so(1, Gi.b)], co); var ho = n(115), uo = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -32901,7 +32901,7 @@ ${Object(zn.b)(wi)} } isScreenReaderOptimized() { const e2 = this._configurationService.getValue("editor.accessibilitySupport"); - return "on" === e2 || "auto" === e2 && 2 === this._accessibilitySupport; + return e2 === "on" || e2 === "auto" && this._accessibilitySupport === 2; } getAccessibilitySupport() { return this._accessibilitySupport; @@ -32973,8 +32973,8 @@ ${Object(zn.b)(wi)} } } var bo = n(150), _o = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -33036,7 +33036,7 @@ ${Object(zn.b)(wi)} createMessage() { const e2 = [], t2 = []; for (const [, n3] of this.elements) { - (0 === n3.reason ? e2 : t2).push(n3.resourceLabel); + (n3.reason === 0 ? e2 : t2).push(n3.resourceLabel); } let n2 = []; return e2.length > 0 && n2.push(Ke.a({key: "externalRemoval", comment: ["{0} is a list of filenames"]}, "The following files have been closed and modified on disk: {0}.", e2.join(", "))), t2.length > 0 && n2.push(Ke.a({key: "noParallelUniverses", comment: ["{0} is a list of filenames"]}, "The following files have been modified in an incompatible way: {0}.", t2.join(", "))), n2.join("\n"); @@ -33059,13 +33059,13 @@ ${Object(zn.b)(wi)} this.id = ++Co, this.type = 1, this.actual = e2, this.label = e2.label, this.resourceLabels = t2, this.strResources = n2, this.removedResources = null, this.invalidatedResources = null; } canSplit() { - return "function" == typeof this.actual.split; + return typeof this.actual.split == "function"; } removeResource(e2, t2, n2) { this.removedResources || (this.removedResources = new ko()), this.removedResources.has(t2) || this.removedResources.set(t2, new So(e2, n2)); } setValid(e2, t2, n2) { - n2 ? this.invalidatedResources && (this.invalidatedResources.delete(t2), 0 === this.invalidatedResources.size && (this.invalidatedResources = null)) : (this.invalidatedResources || (this.invalidatedResources = new ko()), this.invalidatedResources.has(t2) || this.invalidatedResources.set(t2, new So(e2, 0))); + n2 ? this.invalidatedResources && (this.invalidatedResources.delete(t2), this.invalidatedResources.size === 0 && (this.invalidatedResources = null)) : (this.invalidatedResources || (this.invalidatedResources = new ko()), this.invalidatedResources.has(t2) || this.invalidatedResources.set(t2, new So(e2, 0))); } toString() { return `[${this.id}] [${this.invalidatedResources ? "INVALID" : "VALID"}] ${this.actual}`; @@ -33077,9 +33077,9 @@ ${Object(zn.b)(wi)} } dispose() { for (const e2 of this._past) - 1 === e2.type && e2.removeResource(this.resourceLabel, this.strResource, 0); + e2.type === 1 && e2.removeResource(this.resourceLabel, this.strResource, 0); for (const e2 of this._future) - 1 === e2.type && e2.removeResource(this.resourceLabel, this.strResource, 0); + e2.type === 1 && e2.removeResource(this.resourceLabel, this.strResource, 0); this.versionId++; } toString() { @@ -33095,7 +33095,7 @@ ${Object(zn.b)(wi)} this._past = [], this._future = [], this.versionId++; } _setElementValidFlag(e2, t2) { - 1 === e2.type ? e2.setValid(this.resourceLabel, this.strResource, t2) : e2.setValid(t2); + e2.type === 1 ? e2.setValid(this.resourceLabel, this.strResource, t2) : e2.setValid(t2); } setElementsValidFlag(e2, t2) { for (const n2 of this._past) @@ -33105,10 +33105,10 @@ ${Object(zn.b)(wi)} } pushElement(e2) { for (const e3 of this._future) - 1 === e3.type && e3.removeResource(this.resourceLabel, this.strResource, 1); + e3.type === 1 && e3.removeResource(this.resourceLabel, this.strResource, 1); if (this._future = [], this._past.length > 0) { const e3 = this._past[this._past.length - 1]; - 0 !== e3.type || e3.isValid || (this._past = []); + e3.type !== 0 || e3.isValid || (this._past = []); } this._past.push(e2), this.versionId++; } @@ -33125,14 +33125,14 @@ ${Object(zn.b)(wi)} let n2 = true, i2 = 0, o2 = -1; for (let r3 = 0, s2 = this._past.length; r3 < s2; r3++, i2++) { const s3 = this._past[r3]; - n2 && (i2 >= t2 || s3.id !== e2.elements[i2]) && (n2 = false, o2 = 0), n2 || 1 !== s3.type || s3.removeResource(this.resourceLabel, this.strResource, 0); + n2 && (i2 >= t2 || s3.id !== e2.elements[i2]) && (n2 = false, o2 = 0), n2 || s3.type !== 1 || s3.removeResource(this.resourceLabel, this.strResource, 0); } let r2 = -1; for (let o3 = this._future.length - 1; o3 >= 0; o3--, i2++) { const s2 = this._future[o3]; - n2 && (i2 >= t2 || s2.id !== e2.elements[i2]) && (n2 = false, r2 = o3), n2 || 1 !== s2.type || s2.removeResource(this.resourceLabel, this.strResource, 0); + n2 && (i2 >= t2 || s2.id !== e2.elements[i2]) && (n2 = false, r2 = o3), n2 || s2.type !== 1 || s2.removeResource(this.resourceLabel, this.strResource, 0); } - -1 !== o2 && (this._past = this._past.slice(0, o2)), -1 !== r2 && (this._future = this._future.slice(r2 + 1)), this.versionId++; + o2 !== -1 && (this._past = this._past.slice(0, o2)), r2 !== -1 && (this._future = this._future.slice(r2 + 1)), this.versionId++; } getElements() { const e2 = [], t2 = []; @@ -33143,10 +33143,10 @@ ${Object(zn.b)(wi)} return {past: e2, future: t2}; } getClosestPastElement() { - return 0 === this._past.length ? null : this._past[this._past.length - 1]; + return this._past.length === 0 ? null : this._past[this._past.length - 1]; } getClosestFutureElement() { - return 0 === this._future.length ? null : this._future[this._future.length - 1]; + return this._future.length === 0 ? null : this._future[this._future.length - 1]; } hasPastElements() { return this._past.length > 0; @@ -33210,7 +33210,7 @@ ${Object(zn.b)(wi)} console.log(t2.join("\n")); } pushElement(e2) { - if (0 === e2.type) { + if (e2.type === 0) { const t2 = yo(e2.resource), n2 = this.getUriComparisonKey(e2.resource); this._pushElement(new xo(e2, t2, n2)); } else { @@ -33219,7 +33219,7 @@ ${Object(zn.b)(wi)} const e3 = yo(o2), r2 = this.getUriComparisonKey(o2); t2.has(r2) || (t2.add(r2), n2.push(e3), i2.push(r2)); } - 1 === n2.length ? this._pushElement(new xo(e2, n2[0], i2[0])) : this._pushElement(new Eo(e2, n2, i2)); + n2.length === 1 ? this._pushElement(new xo(e2, n2[0], i2[0])) : this._pushElement(new Eo(e2, n2, i2)); } } _pushElement(e2) { @@ -33265,7 +33265,7 @@ ${Object(zn.b)(wi)} } } removeElements(e2) { - const t2 = "string" == typeof e2 ? e2 : this.getUriComparisonKey(e2); + const t2 = typeof e2 == "string" ? e2 : this.getUriComparisonKey(e2); if (this._editStacks.has(t2)) { this._editStacks.get(t2).dispose(), this._editStacks.delete(t2); } @@ -33337,14 +33337,14 @@ ${Object(zn.b)(wi)} } _invokeWorkspacePrepare(e2) { return wo(this, void 0, void 0, function* () { - if (void 0 === e2.actual.prepareUndoRedo) + if (e2.actual.prepareUndoRedo === void 0) return I.a.None; const t2 = e2.actual.prepareUndoRedo(); - return void 0 === t2 ? I.a.None : t2; + return t2 === void 0 ? I.a.None : t2; }); } _invokeResourcePrepare(e2, t2) { - if (1 !== e2.actual.type || void 0 === e2.actual.prepareUndoRedo) + if (e2.actual.type !== 1 || e2.actual.prepareUndoRedo === void 0) return void t2(I.a.None); const n2 = e2.actual.prepareUndoRedo(); if (n2) { @@ -33392,9 +33392,9 @@ ${Object(zn.b)(wi)} return wo(this, void 0, void 0, function* () { if (t2.canSplit()) { const i3 = yield this._dialogService.show(Ae.a.Info, Ke.a("confirmWorkspace", "Would you like to undo '{0}' across all files?", t2.label), [Ke.a({key: "ok", comment: ["{0} denotes a number that is > 1"]}, "Undo in {0} Files", n2.editStacks.length), Ke.a("nok", "Undo this File"), Ke.a("cancel", "Cancel")], {cancelId: 2}); - if (2 === i3.choice) + if (i3.choice === 2) return; - if (1 === i3.choice) + if (i3.choice === 1) return this._splitPastWorkspaceElement(t2, null), this.undo(e2); const o3 = this._checkWorkspaceUndo(e2, t2, n2, false); if (o3) @@ -33426,13 +33426,13 @@ ${Object(zn.b)(wi)} e2.flushAllElements(); } undo(e2) { - const t2 = "string" == typeof e2 ? e2 : this.getUriComparisonKey(e2); + const t2 = typeof e2 == "string" ? e2 : this.getUriComparisonKey(e2); if (!this._editStacks.has(t2)) return; const n2 = this._editStacks.get(t2), i2 = n2.getClosestPastElement(); if (i2) try { - return 1 === i2.type ? this._workspaceUndo(t2, i2) : this._resourceUndo(n2, i2); + return i2.type === 1 ? this._workspaceUndo(t2, i2) : this._resourceUndo(n2, i2); } finally { 0; } @@ -33498,13 +33498,13 @@ ${Object(zn.b)(wi)} e2.flushAllElements(); } redo(e2) { - const t2 = "string" == typeof e2 ? e2 : this.getUriComparisonKey(e2); + const t2 = typeof e2 == "string" ? e2 : this.getUriComparisonKey(e2); if (!this._editStacks.has(t2)) return; const n2 = this._editStacks.get(t2), i2 = n2.getClosestFutureElement(); if (i2) try { - return 1 === i2.type ? this._workspaceRedo(t2, i2) : this._resourceRedo(n2, i2); + return i2.type === 1 ? this._workspaceRedo(t2, i2) : this._resourceRedo(n2, i2); } finally { 0; } @@ -33543,9 +33543,9 @@ ${Object(zn.b)(wi)} return s2 ? -1 : 1; const a2 = function(e3, t3, n3 = false) { const i3 = e3 || "", o3 = t3 || "", r3 = Po.value.collator.compare(i3, o3); - return Po.value.collatorIsNumeric && 0 === r3 && i3 !== o3 ? i3 < o3 ? -1 : 1 : r3; + return Po.value.collatorIsNumeric && r3 === 0 && i3 !== o3 ? i3 < o3 ? -1 : 1 : r3; }(i2, o2); - return 0 !== a2 ? a2 : i2.localeCompare(o2); + return a2 !== 0 ? a2 : i2.localeCompare(o2); } var Wo = n(172), zo = n(156), Bo = n(98), jo = n(147); const Vo = {}, Uo = new jo.a("quick-input-button-icon-"); @@ -33575,9 +33575,9 @@ ${Object(zn.b)(wi)} } renderPart(e2, t2, n2) { const i2 = tt.modifierLabels[this.os]; - t2.ctrlKey && this.renderKey(e2, i2.ctrlKey, Boolean(null == n2 ? void 0 : n2.ctrlKey), i2.separator), t2.shiftKey && this.renderKey(e2, i2.shiftKey, Boolean(null == n2 ? void 0 : n2.shiftKey), i2.separator), t2.altKey && this.renderKey(e2, i2.altKey, Boolean(null == n2 ? void 0 : n2.altKey), i2.separator), t2.metaKey && this.renderKey(e2, i2.metaKey, Boolean(null == n2 ? void 0 : n2.metaKey), i2.separator); + t2.ctrlKey && this.renderKey(e2, i2.ctrlKey, Boolean(n2 == null ? void 0 : n2.ctrlKey), i2.separator), t2.shiftKey && this.renderKey(e2, i2.shiftKey, Boolean(n2 == null ? void 0 : n2.shiftKey), i2.separator), t2.altKey && this.renderKey(e2, i2.altKey, Boolean(n2 == null ? void 0 : n2.altKey), i2.separator), t2.metaKey && this.renderKey(e2, i2.metaKey, Boolean(n2 == null ? void 0 : n2.metaKey), i2.separator); const o2 = t2.keyLabel; - o2 && this.renderKey(e2, o2, Boolean(null == n2 ? void 0 : n2.keyCode), ""); + o2 && this.renderKey(e2, o2, Boolean(n2 == null ? void 0 : n2.keyCode), ""); } renderKey(e2, t2, n2, i2) { a.p(e2, qo("span.monaco-keybinding-key" + (n2 ? ".highlight" : ""), void 0, t2)), i2 && a.p(e2, qo("span.monaco-keybinding-key-separator", void 0, i2)); @@ -33590,8 +33590,8 @@ ${Object(zn.b)(wi)} } } var Ko = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -33680,21 +33680,21 @@ ${Object(zn.b)(wi)} break; case 16: const t4 = this.list.getFocus(); - 1 === t4.length && 0 === t4[0] && this._onLeave.fire(); + t4.length === 1 && t4[0] === 0 && this._onLeave.fire(); break; case 18: const n3 = this.list.getFocus(); - 1 === n3.length && n3[0] === this.list.length - 1 && this._onLeave.fire(); + n3.length === 1 && n3[0] === this.list.length - 1 && this._onLeave.fire(); } this._onKeyDown.fire(t3); })), this.disposables.push(this.list.onMouseDown((e3) => { - 2 !== e3.browserEvent.button && e3.browserEvent.preventDefault(); + e3.browserEvent.button !== 2 && e3.browserEvent.preventDefault(); })), this.disposables.push(a.i(this.container, a.c.CLICK, (e3) => { (e3.x || e3.y) && this._onLeave.fire(); })), this.disposables.push(this.list.onMouseMiddleClick((e3) => { this._onLeave.fire(); })), this.disposables.push(this.list.onContextMenu((e3) => { - "number" == typeof e3.index && (e3.browserEvent.preventDefault(), this.list.setSelection([e3.index])); + typeof e3.index == "number" && (e3.browserEvent.preventDefault(), this.list.setSelection([e3.index])); })), this.disposables.push(this._onChangedAllVisibleChecked, this._onChangedCheckedCount, this._onChangedVisibleCount, this._onChangedCheckedElements, this._onButtonTriggered, this._onLeave, this._onKeyDown); } get onDidChangeFocus() { @@ -33745,9 +33745,9 @@ ${Object(zn.b)(wi)} const t2 = (e3) => this.fireButtonTriggered(e3); this.inputElements = e2, this.elements = e2.reduce((n2, i2, o2) => { var r2, s2, a2; - if ("separator" !== i2.type) { + if (i2.type !== "separator") { const l2 = o2 && e2[o2 - 1], c2 = i2.label && i2.label.replace(/\r?\n/g, " "), d2 = i2.description && i2.description.replace(/\r?\n/g, " "), h2 = i2.detail && i2.detail.replace(/\r?\n/g, " "), u2 = i2.ariaLabel || [c2, d2, h2].map((e3) => e3 && Object(Mo.c)(e3).text).filter((e3) => !!e3).join(", "); - n2.push(new Yo({index: o2, item: i2, saneLabel: c2, saneAriaLabel: u2, saneDescription: d2, saneDetail: h2, labelHighlights: null === (r2 = i2.highlights) || void 0 === r2 ? void 0 : r2.label, descriptionHighlights: null === (s2 = i2.highlights) || void 0 === s2 ? void 0 : s2.description, detailHighlights: null === (a2 = i2.highlights) || void 0 === a2 ? void 0 : a2.detail, checked: false, separator: l2 && "separator" === l2.type ? l2 : void 0, fireButtonTriggered: t2})); + n2.push(new Yo({index: o2, item: i2, saneLabel: c2, saneAriaLabel: u2, saneDescription: d2, saneDetail: h2, labelHighlights: (r2 = i2.highlights) === null || r2 === void 0 ? void 0 : r2.label, descriptionHighlights: (s2 = i2.highlights) === null || s2 === void 0 ? void 0 : s2.description, detailHighlights: (a2 = i2.highlights) === null || a2 === void 0 ? void 0 : a2.detail, checked: false, separator: l2 && l2.type === "separator" ? l2 : void 0, fireButtonTriggered: t2})); } return n2; }, []), this.elementDisposables.push(...this.elements), this.elementDisposables.push(...this.elements.map((e3) => e3.onChecked(() => this.fireCheckedEvents()))), this.elementsToIndexes = this.elements.reduce((e3, t3, n2) => (e3.set(t3.item, n2), e3), new Map()), this.list.splice(0, this.list.length), this.list.splice(0, this.list.length, this.elements), this._onChangedVisibleCount.fire(this.elements.length); @@ -33758,7 +33758,7 @@ ${Object(zn.b)(wi)} setFocusedElements(e2) { if (this.list.setFocus(e2.filter((e3) => this.elementsToIndexes.has(e3)).map((e3) => this.elementsToIndexes.get(e3))), e2.length > 0) { const e3 = this.list.getFocus()[0]; - "number" == typeof e3 && this.list.reveal(e3); + typeof e3 == "number" && this.list.reveal(e3); } } getActiveDescendant() { @@ -33788,7 +33788,7 @@ ${Object(zn.b)(wi)} focus(e2) { if (!this.list.length) return; - switch (e2 === Qo.Next && this.list.getFocus()[0] === this.list.length - 1 && (e2 = Qo.First), e2 === Qo.Previous && 0 === this.list.getFocus()[0] && (e2 = Qo.Last), e2 === Qo.Second && this.list.length < 2 && (e2 = Qo.First), e2) { + switch (e2 === Qo.Next && this.list.getFocus()[0] === this.list.length - 1 && (e2 = Qo.First), e2 === Qo.Previous && this.list.getFocus()[0] === 0 && (e2 = Qo.Last), e2 === Qo.Second && this.list.length < 2 && (e2 = Qo.First), e2) { case Qo.First: this.list.focusFirst(); break; @@ -33811,7 +33811,7 @@ ${Object(zn.b)(wi)} this.list.focusPreviousPage(); } const t2 = this.list.getFocus()[0]; - "number" == typeof t2 && this.list.reveal(t2); + typeof t2 == "number" && this.list.reveal(t2); } clearFocus() { this.list.setFocus([]); @@ -33831,7 +33831,7 @@ ${Object(zn.b)(wi)} }) : this.elements.forEach((e3) => { e3.labelHighlights = void 0, e3.descriptionHighlights = void 0, e3.detailHighlights = void 0, e3.hidden = false; const t3 = e3.index && this.inputElements[e3.index - 1]; - e3.separator = t3 && "separator" === t3.type ? t3 : void 0; + e3.separator = t3 && t3.type === "separator" ? t3 : void 0; }); const t2 = this.elements.filter((e3) => !e3.hidden); if (this.sortByLabel && e2) { @@ -33842,7 +33842,7 @@ ${Object(zn.b)(wi)} return -1; if (!i2.length && o2.length) return 1; - if (0 === i2.length && 0 === o2.length) + if (i2.length === 0 && o2.length === 0) return 0; return Fo(e4.saneLabel, t4.saneLabel, n3); }(e3, t3, n2)); @@ -33863,7 +33863,7 @@ ${Object(zn.b)(wi)} this.container.style.display = e2 ? "" : "none"; } isDisplayed() { - return "none" !== this.container.style.display; + return this.container.style.display !== "none"; } dispose() { this.elementDisposables = Object(I.f)(this.elementDisposables), this.disposables = Object(I.f)(this.disposables); @@ -33928,7 +33928,7 @@ ${Object(zn.b)(wi)} this.inputBox.setAriaLabel(e2); } get password() { - return "password" === this.inputBox.inputElement.type; + return this.inputBox.inputElement.type === "password"; } set password(e2) { this.inputBox.inputElement.type = e2 ? "password" : "text"; @@ -34034,13 +34034,13 @@ ${Object(zn.b)(wi)} a.I(this._element, "monaco-text-button") || a.e(this._element, "monaco-text-button"), this.options.supportCodicons ? a.U(this._element, ...function(e3) { const t2 = new Array(); let n2, i2 = 0, o2 = 0; - for (; null !== (n2 = pi.g.exec(e3)); ) { + for (; (n2 = pi.g.exec(e3)) !== null; ) { o2 = n2.index || 0, t2.push(e3.substring(i2, o2)), i2 = (n2.index || 0) + n2[0].length; const [, r2, s2, l2, c2] = n2; t2.push(r2 ? `$(${s2})` : a.a(`span.codicon.codicon-${l2}${c2 ? ".codicon-animation-" + c2 : ""}`)); } return i2 < e3.length && t2.push(e3.substring(i2)), t2; - }(e2)) : this._element.textContent = e2, "string" == typeof this.options.title ? this._element.title = this.options.title : this.options.title && (this._element.title = e2); + }(e2)) : this._element.textContent = e2, typeof this.options.title == "string" ? this._element.title = this.options.title : this.options.title && (this._element.title = e2); } set enabled(e2) { e2 ? (a.Q(this._element, "disabled"), this._element.setAttribute("aria-disabled", String(false)), this._element.tabIndex = 0) : (a.e(this._element, "disabled"), this._element.setAttribute("aria-disabled", String(true)), a.T(this._element)); @@ -34135,7 +34135,7 @@ ${Object(zn.b)(wi)} } show() { this.visible || (this.visibleDisposables.add(this.ui.onDidTriggerButton((e2) => { - -1 !== this.buttons.indexOf(e2) && this.onDidTriggerButtonEmitter.fire(e2); + this.buttons.indexOf(e2) !== -1 && this.onDidTriggerButtonEmitter.fire(e2); })), this.ui.show(this), this.visible = true, this.update()); } hide() { @@ -34148,7 +34148,7 @@ ${Object(zn.b)(wi)} if (!this.visible) return; const e2 = this.getTitle(); - e2 && this.ui.title.textContent !== e2 ? this.ui.title.textContent = e2 : e2 || " " === this.ui.title.innerHTML || (this.ui.title.innerText = " ;"); + e2 && this.ui.title.textContent !== e2 ? this.ui.title.textContent = e2 : e2 || this.ui.title.innerHTML === " " || (this.ui.title.innerText = "\xA0;"); const t2 = this.getDescription(); if (this.ui.description.textContent !== t2 && (this.ui.description.textContent = t2), this.busy && !this.busyDelay && (this.busyDelay = new N.e(), this.busyDelay.setIfNotSet(() => { this.visible && this.ui.progressBar.infinite(); @@ -34372,7 +34372,7 @@ ${Object(zn.b)(wi)} })), this.visibleDisposables.add(this.ui.list.onDidChangeFocus((e2) => { this.activeItemsUpdated || this.activeItemsToConfirm !== this._activeItems && Object(j.g)(e2, this._activeItems, (e3, t2) => e3 === t2) || (this._activeItems = e2, this.onDidChangeActiveEmitter.fire(e2)); })), this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items: e2, event: t2}) => { - this.canSelectMany ? e2.length && this.ui.list.setSelectedElements([]) : this.selectedItemsToConfirm !== this._selectedItems && Object(j.g)(e2, this._selectedItems, (e3, t3) => e3 === t3) || (this._selectedItems = e2, this.onDidChangeSelectionEmitter.fire(e2), e2.length && this.onDidAcceptEmitter.fire({inBackground: t2 instanceof MouseEvent && 1 === t2.button})); + this.canSelectMany ? e2.length && this.ui.list.setSelectedElements([]) : this.selectedItemsToConfirm !== this._selectedItems && Object(j.g)(e2, this._selectedItems, (e3, t3) => e3 === t3) || (this._selectedItems = e2, this.onDidChangeSelectionEmitter.fire(e2), e2.length && this.onDidAcceptEmitter.fire({inBackground: t2 instanceof MouseEvent && t2.button === 1})); })), this.visibleDisposables.add(this.ui.list.onChangedCheckedElements((e2) => { this.canSelectMany && (this.selectedItemsToConfirm !== this._selectedItems && Object(j.g)(e2, this._selectedItems, (e3, t2) => e3 === t2) || (this._selectedItems = e2, this.onDidChangeSelectionEmitter.fire(e2))); })), this.visibleDisposables.add(this.ui.list.onButtonTriggered((e2) => this.onDidTriggerItemButtonEmitter.fire(e2))), this.visibleDisposables.add(this.registerQuickNavigation()), this.valueSelectionUpdated = true), super.show(); @@ -34384,7 +34384,7 @@ ${Object(zn.b)(wi)} const t2 = new Ie.a(e2), n2 = t2.keyCode; this._quickNavigate.keybindings.some((e3) => { const [i2, o2] = e3.getParts(); - return !o2 && (i2.shiftKey && 4 === n2 ? !(t2.ctrlKey || t2.altKey || t2.metaKey) : !(!i2.altKey || 6 !== n2) || (!(!i2.ctrlKey || 5 !== n2) || !(!i2.metaKey || 57 !== n2))); + return !o2 && (i2.shiftKey && n2 === 4 ? !(t2.ctrlKey || t2.altKey || t2.metaKey) : !(!i2.altKey || n2 !== 6) || (!(!i2.ctrlKey || n2 !== 5) || !(!i2.metaKey || n2 !== 57))); }) && (this.activeItems[0] && (this._selectedItems = [this.activeItems[0]], this.onDidChangeSelectionEmitter.fire(this.selectedItems), this.onDidAcceptEmitter.fire({inBackground: false})), this._quickNavigate = void 0); }); } @@ -34393,7 +34393,7 @@ ${Object(zn.b)(wi)} return; let e2 = false, t2 = false; this._hideInput && this._items.length > 0 && (this.ui.isScreenReaderOptimized() ? t2 = true : e2 = true), a.ab(this.ui.container, "hidden-input", e2); - const n2 = {title: !!this.title || !!this.step || !!this.buttons.length, description: !!this.description, checkAll: this.canSelectMany, inputBox: !e2, progressBar: !e2, visibleCount: true, count: this.canSelectMany, ok: "default" === this.ok ? this.canSelectMany : this.ok, list: true, message: !!this.validationMessage, customButton: this.customButton}; + const n2 = {title: !!this.title || !!this.step || !!this.buttons.length, description: !!this.description, checkAll: this.canSelectMany, inputBox: !e2, progressBar: !e2, visibleCount: true, count: this.canSelectMany, ok: this.ok === "default" ? this.canSelectMany : this.ok, list: true, message: !!this.validationMessage, customButton: this.customButton}; if (this.ui.setVisibilities(n2), super.update(), this.ui.inputBox.value !== this.value && (this.ui.inputBox.value = this.value), this.valueSelectionUpdated && (this.valueSelectionUpdated = false, this.ui.inputBox.select(this._valueSelection && {start: this._valueSelection[0], end: this._valueSelection[1]})), this.ui.inputBox.placeholder !== (this.placeholder || "") && (this.ui.inputBox.placeholder = this.placeholder || ""), t2) this.ui.inputBox.ariaLabel = ""; else { @@ -34526,19 +34526,19 @@ ${Object(zn.b)(wi)} } }), s2.onDidTriggerItemButton((e3) => t2.onDidTriggerItemButton && t2.onDidTriggerItemButton(Object.assign(Object.assign({}, e3), {removeItem: () => { const t3 = s2.items.indexOf(e3.item); - if (-1 !== t3) { + if (t3 !== -1) { const e4 = s2.items.slice(); e4.splice(t3, 1), s2.items = e4; } }}))), s2.onDidChangeValue((e3) => { - !a2 || e3 || 1 === s2.activeItems.length && s2.activeItems[0] === a2 || (s2.activeItems = [a2]); + !a2 || e3 || s2.activeItems.length === 1 && s2.activeItems[0] === a2 || (s2.activeItems = [a2]); }), n2.onCancellationRequested(() => { s2.hide(); }), s2.onDidHide(() => { Object(I.f)(l2), r2(void 0); })]; - s2.canSelectMany = !!t2.canPickMany, s2.placeholder = t2.placeHolder, s2.ignoreFocusOut = !!t2.ignoreFocusLost, s2.matchOnDescription = !!t2.matchOnDescription, s2.matchOnDetail = !!t2.matchOnDetail, s2.matchOnLabel = void 0 === t2.matchOnLabel || t2.matchOnLabel, s2.autoFocusOnList = void 0 === t2.autoFocusOnList || t2.autoFocusOnList, s2.quickNavigate = t2.quickNavigate, s2.contextKey = t2.contextKey, s2.busy = true, Promise.all([e2, t2.activeItem]).then(([e3, t3]) => { - a2 = t3, s2.busy = false, s2.items = e3, s2.canSelectMany && (s2.selectedItems = e3.filter((e4) => "separator" !== e4.type && e4.picked)), a2 && (s2.activeItems = [a2]); + s2.canSelectMany = !!t2.canPickMany, s2.placeholder = t2.placeHolder, s2.ignoreFocusOut = !!t2.ignoreFocusLost, s2.matchOnDescription = !!t2.matchOnDescription, s2.matchOnDetail = !!t2.matchOnDetail, s2.matchOnLabel = t2.matchOnLabel === void 0 || t2.matchOnLabel, s2.autoFocusOnList = t2.autoFocusOnList === void 0 || t2.autoFocusOnList, s2.quickNavigate = t2.quickNavigate, s2.contextKey = t2.contextKey, s2.busy = true, Promise.all([e2, t2.activeItem]).then(([e3, t3]) => { + a2 = t3, s2.busy = false, s2.items = e3, s2.canSelectMany && (s2.selectedItems = e3.filter((e4) => e4.type !== "separator" && e4.picked)), a2 && (s2.activeItems = [a2]); }), s2.show(), Promise.resolve(e2).then(void 0, (e3) => { o2(e3), s2.hide(); }); @@ -34580,7 +34580,7 @@ ${Object(zn.b)(wi)} var e2; const t2 = this.controller; if (t2) { - const n2 = !(null === (e2 = this.ui) || void 0 === e2 ? void 0 : e2.container.contains(document.activeElement)); + const n2 = !((e2 = this.ui) === null || e2 === void 0 ? void 0 : e2.container.contains(document.activeElement)); this.controller = null, this.onHideEmitter.fire(), this.getUI().container.style.display = "none", n2 || (this.previousFocusElement && this.previousFocusElement.offsetParent ? (this.previousFocusElement.focus(), this.previousFocusElement = void 0) : this.options.returnFocus()), t2.didHide(); } } @@ -34610,8 +34610,8 @@ ${Object(zn.b)(wi)} } gr.MAX_WIDTH = 600; var fr = n(110), br = n(134), _r = n(133), vr = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -34628,30 +34628,30 @@ ${Object(zn.b)(wi)} } show(e2 = "", t2) { var n2; - const [i2, o2] = this.getOrInstantiateProvider(e2), r2 = this.visibleQuickAccess, s2 = null == r2 ? void 0 : r2.descriptor; + const [i2, o2] = this.getOrInstantiateProvider(e2), r2 = this.visibleQuickAccess, s2 = r2 == null ? void 0 : r2.descriptor; if (r2 && o2 && s2 === o2) - return e2 === o2.prefix || (null == t2 ? void 0 : t2.preserveValue) || (r2.picker.value = e2), void this.adjustValueSelection(r2.picker, o2, t2); - if (o2 && !(null == t2 ? void 0 : t2.preserveValue)) { + return e2 === o2.prefix || (t2 == null ? void 0 : t2.preserveValue) || (r2.picker.value = e2), void this.adjustValueSelection(r2.picker, o2, t2); + if (o2 && !(t2 == null ? void 0 : t2.preserveValue)) { let t3 = void 0; if (r2 && s2 && s2 !== o2) { const e3 = r2.value.substr(s2.prefix.length); e3 && (t3 = `${o2.prefix}${e3}`); } if (!t3) { - const e3 = null == i2 ? void 0 : i2.defaultFilterValue; - e3 === br.a.LAST ? t3 = this.lastAcceptedPickerValues.get(o2) : "string" == typeof e3 && (t3 = `${o2.prefix}${e3}`); + const e3 = i2 == null ? void 0 : i2.defaultFilterValue; + e3 === br.a.LAST ? t3 = this.lastAcceptedPickerValues.get(o2) : typeof e3 == "string" && (t3 = `${o2.prefix}${e3}`); } - "string" == typeof t3 && (e2 = t3); + typeof t3 == "string" && (e2 = t3); } const a2 = new I.b(), l2 = a2.add(this.quickInputService.createQuickPick()); - l2.value = e2, this.adjustValueSelection(l2, o2, t2), l2.placeholder = null == o2 ? void 0 : o2.placeholder, l2.quickNavigate = null == t2 ? void 0 : t2.quickNavigateConfiguration, l2.hideInput = !!l2.quickNavigate && !r2, ("number" == typeof (null == t2 ? void 0 : t2.itemActivation) || (null == t2 ? void 0 : t2.quickNavigateConfiguration)) && (l2.itemActivation = null !== (n2 = null == t2 ? void 0 : t2.itemActivation) && void 0 !== n2 ? n2 : fr.b.SECOND), l2.contextKey = null == o2 ? void 0 : o2.contextKey, l2.filterValue = (e3) => e3.substring(o2 ? o2.prefix.length : 0), (null == o2 ? void 0 : o2.placeholder) && (l2.ariaLabel = null == o2 ? void 0 : o2.placeholder); + l2.value = e2, this.adjustValueSelection(l2, o2, t2), l2.placeholder = o2 == null ? void 0 : o2.placeholder, l2.quickNavigate = t2 == null ? void 0 : t2.quickNavigateConfiguration, l2.hideInput = !!l2.quickNavigate && !r2, (typeof (t2 == null ? void 0 : t2.itemActivation) == "number" || (t2 == null ? void 0 : t2.quickNavigateConfiguration)) && (l2.itemActivation = (n2 = t2 == null ? void 0 : t2.itemActivation) !== null && n2 !== void 0 ? n2 : fr.b.SECOND), l2.contextKey = o2 == null ? void 0 : o2.contextKey, l2.filterValue = (e3) => e3.substring(o2 ? o2.prefix.length : 0), (o2 == null ? void 0 : o2.placeholder) && (l2.ariaLabel = o2 == null ? void 0 : o2.placeholder); const c2 = this.registerPickerListeners(l2, i2, o2, e2, a2); i2 && a2.add(i2.provide(l2, c2)), l2.show(); } adjustValueSelection(e2, t2, n2) { var i2; let o2; - o2 = (null == n2 ? void 0 : n2.preserveValue) ? [e2.value.length, e2.value.length] : [null !== (i2 = null == t2 ? void 0 : t2.prefix.length) && void 0 !== i2 ? i2 : 0, e2.value.length], e2.valueSelection = o2; + o2 = (n2 == null ? void 0 : n2.preserveValue) ? [e2.value.length, e2.value.length] : [(i2 = t2 == null ? void 0 : t2.prefix.length) !== null && i2 !== void 0 ? i2 : 0, e2.value.length], e2.valueSelection = o2; } registerPickerListeners(e2, t2, n2, i2, o2) { const r2 = this.visibleQuickAccess = {picker: e2, descriptor: n2, value: i2}; @@ -34665,7 +34665,7 @@ ${Object(zn.b)(wi)} })); const s2 = o2.add(new Ao.b()); return Object(_r.a)(e2.onDidHide)(() => { - 0 === e2.selectedItems.length && s2.cancel(), o2.dispose(); + e2.selectedItems.length === 0 && s2.cancel(), o2.dispose(); }), s2.token; } getOrInstantiateProvider(e2) { @@ -34678,8 +34678,8 @@ ${Object(zn.b)(wi)} }; yr = vr([wr(0, fr.a), wr(1, Ft.a)], yr); var Cr = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -34704,9 +34704,9 @@ ${Object(zn.b)(wi)} var n2, i2; const o2 = {idPrefix: "quickInput_", container: e2.container, ignoreFocusOut: () => false, isScreenReaderOptimized: () => this.accessibilityService.isScreenReaderOptimized(), backKeybindingLabel: () => { }, setContextKey: (e3) => this.setContextKey(e3), returnFocus: () => e2.focus(), createList: (e3, t3, n3, i3, o3) => this.instantiationService.createInstance(Ki.d, e3, t3, n3, i3, o3), styles: this.computeStyles()}, r2 = this._register(new gr(Object.assign(Object.assign({}, o2), t2))); - return r2.layout(e2.dimension, null !== (i2 = null === (n2 = e2.offset) || void 0 === n2 ? void 0 : n2.top) && void 0 !== i2 ? i2 : 0), this._register(e2.onLayout((t3) => { + return r2.layout(e2.dimension, (i2 = (n2 = e2.offset) === null || n2 === void 0 ? void 0 : n2.top) !== null && i2 !== void 0 ? i2 : 0), this._register(e2.onLayout((t3) => { var n3, i3; - return r2.layout(t3, null !== (i3 = null === (n3 = e2.offset) || void 0 === n3 ? void 0 : n3.top) && void 0 !== i3 ? i3 : 0); + return r2.layout(t3, (i3 = (n3 = e2.offset) === null || n3 === void 0 ? void 0 : n3.top) !== null && i3 !== void 0 ? i3 : 0); })), this._register(r2.onShow(() => this.resetContextKeys())), this._register(r2.onHide(() => this.resetContextKeys())), r2; } setContextKey(e2) { @@ -34733,8 +34733,8 @@ ${Object(zn.b)(wi)} }; Sr = Cr([xr(0, Ft.a), xr(1, Mt.b), xr(2, zt.c), xr(3, Bt.b), xr(4, Ri)], Sr); var kr = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -34917,7 +34917,7 @@ ${Object(zn.b)(wi)} function jr(e2, t2, n2) { if (e2 = e2 || "", !t2) { let t3 = e2.indexOf("\n"), i2 = e2; - return -1 !== t3 && (i2 = e2.substring(0, t3)), Br(e2, Or.modeService.get().createByFilepathOrFirstLine(n2 || null, i2), n2); + return t3 !== -1 && (i2 = e2.substring(0, t3)), Br(e2, Or.modeService.get().createByFilepathOrFirstLine(n2 || null, i2), n2); } return Br(e2, Or.modeService.get().create(t2), n2); } @@ -34984,10 +34984,10 @@ ${Object(zn.b)(wi)} Object(Rr.b)(); } function os(e2, t2) { - return "boolean" == typeof e2 ? e2 : t2; + return typeof e2 == "boolean" ? e2 : t2; } function rs(e2, t2) { - return "string" == typeof e2 ? e2 : t2; + return typeof e2 == "string" ? e2 : t2; } function ss(e2, t2 = false) { t2 && (e2 = e2.map(function(e3) { @@ -35000,9 +35000,9 @@ ${Object(zn.b)(wi)} return t3; }(e2); return t2 ? function(e3) { - return void 0 !== n2[e3.toLowerCase()] && n2.hasOwnProperty(e3.toLowerCase()); + return n2[e3.toLowerCase()] !== void 0 && n2.hasOwnProperty(e3.toLowerCase()); } : function(e3) { - return void 0 !== n2[e3] && n2.hasOwnProperty(e3); + return n2[e3] !== void 0 && n2.hasOwnProperty(e3); }; } function as(e2, t2) { @@ -35010,11 +35010,11 @@ ${Object(zn.b)(wi)} for (; t2.indexOf("@") >= 0 && n2 < 5; ) n2++, t2 = t2.replace(/@(\w+)/g, function(n3, i3) { let o2 = ""; - if ("string" == typeof e2[i3]) + if (typeof e2[i3] == "string") o2 = e2[i3]; else { if (!(e2[i3] && e2[i3] instanceof RegExp)) - throw void 0 === e2[i3] ? ge(e2, "language definition does not contain attribute '" + i3 + "', used at: " + t2) : ge(e2, "attribute reference '" + i3 + "' must be a string, used at: " + t2); + throw e2[i3] === void 0 ? ge(e2, "language definition does not contain attribute '" + i3 + "', used at: " + t2) : ge(e2, "attribute reference '" + i3 + "' must be a string, used at: " + t2); o2 = e2[i3].source; } return ue(o2) ? "" : "(?:" + o2 + ")"; @@ -35026,8 +35026,8 @@ ${Object(zn.b)(wi)} let o2 = -1, r2 = n2, s2 = n2.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/); s2 && (s2[3] && (o2 = parseInt(s2[3]), s2[2] && (o2 += 100)), r2 = s2[4]); let a2, l2 = "~", c2 = r2; - if (r2 && 0 !== r2.length ? /^\w*$/.test(c2) ? l2 = "==" : (s2 = r2.match(/^(@|!@|~|!~|==|!=)(.*)$/), s2 && (l2 = s2[1], c2 = s2[2])) : (l2 = "!=", c2 = ""), "~" !== l2 && "!~" !== l2 || !/^(\w|\|)*$/.test(c2)) - if ("@" === l2 || "!@" === l2) { + if (r2 && r2.length !== 0 ? /^\w*$/.test(c2) ? l2 = "==" : (s2 = r2.match(/^(@|!@|~|!~|==|!=)(.*)$/), s2 && (l2 = s2[1], c2 = s2[2])) : (l2 = "!=", c2 = ""), l2 !== "~" && l2 !== "!~" || !/^(\w|\|)*$/.test(c2)) + if (l2 === "@" || l2 === "!@") { let n3 = e2[c2]; if (!n3) throw ge(e2, "the @ match target '" + c2 + "' is not defined, in rule: " + t2); @@ -35041,18 +35041,18 @@ ${Object(zn.b)(wi)} return false; return true; }(function(e3) { - return "string" == typeof e3; + return typeof e3 == "string"; }, n3)) throw ge(e2, "the @ match target '" + c2 + "' must be an array of strings, in rule: " + t2); let i3 = ss(n3, e2.ignoreCase); a2 = function(e3) { - return "@" === l2 ? i3(e3) : !i3(e3); + return l2 === "@" ? i3(e3) : !i3(e3); }; - } else if ("~" === l2 || "!~" === l2) + } else if (l2 === "~" || l2 === "!~") if (c2.indexOf("$") < 0) { let t3 = as(e2, "^" + c2 + "$"); a2 = function(e3) { - return "~" === l2 ? t3.test(e3) : !t3.test(e3); + return l2 === "~" ? t3.test(e3) : !t3.test(e3); }; } else a2 = function(t3, n3, i3, o3) { @@ -35061,22 +35061,22 @@ ${Object(zn.b)(wi)} else if (c2.indexOf("$") < 0) { let t3 = pe(e2, c2); a2 = function(e3) { - return "==" === l2 ? e3 === t3 : e3 !== t3; + return l2 === "==" ? e3 === t3 : e3 !== t3; }; } else { let t3 = pe(e2, c2); a2 = function(n3, i3, o3, r3, s3) { let a3 = fe(e2, t3, i3, o3, r3); - return "==" === l2 ? n3 === a3 : n3 !== a3; + return l2 === "==" ? n3 === a3 : n3 !== a3; }; } else { let t3 = ss(c2.split("|"), e2.ignoreCase); a2 = function(e3) { - return "~" === l2 ? t3(e3) : !t3(e3); + return l2 === "~" ? t3(e3) : !t3(e3); }; } - return -1 === o2 ? {name: n2, value: i2, test: function(e3, t3, n3, i3) { + return o2 === -1 ? {name: n2, value: i2, test: function(e3, t3, n3, i3) { return a2(e3, e3, t3, n3, i3); }} : {name: n2, value: i2, test: function(e3, t3, n3, i3) { let r3 = function(e4, t4, n4, i4) { @@ -35101,39 +35101,39 @@ ${Object(zn.b)(wi)} } setRegex(e2, t2) { let n2; - if ("string" == typeof t2) + if (typeof t2 == "string") n2 = t2; else { if (!(t2 instanceof RegExp)) throw ge(e2, "rules must start with a match string or regular expression: " + this.name); n2 = t2.source; } - this.matchOnlyAtLineStart = n2.length > 0 && "^" === n2[0], this.name = this.name + ": " + n2, this.regex = as(e2, "^(?:" + (this.matchOnlyAtLineStart ? n2.substr(1) : n2) + ")"); + this.matchOnlyAtLineStart = n2.length > 0 && n2[0] === "^", this.name = this.name + ": " + n2, this.regex = as(e2, "^(?:" + (this.matchOnlyAtLineStart ? n2.substr(1) : n2) + ")"); } setAction(e2, t2) { this.action = function e3(t3, n2, i2) { if (i2) { - if ("string" == typeof i2) + if (typeof i2 == "string") return i2; - if (i2.token || "" === i2.token) { - if ("string" != typeof i2.token) + if (i2.token || i2.token === "") { + if (typeof i2.token != "string") throw ge(t3, "a 'token' attribute must be of type string, in rule: " + n2); { let e4 = {token: i2.token}; - if (i2.token.indexOf("$") >= 0 && (e4.tokenSubst = true), "string" == typeof i2.bracket) - if ("@open" === i2.bracket) + if (i2.token.indexOf("$") >= 0 && (e4.tokenSubst = true), typeof i2.bracket == "string") + if (i2.bracket === "@open") e4.bracket = 1; else { - if ("@close" !== i2.bracket) + if (i2.bracket !== "@close") throw ge(t3, "a 'bracket' attribute must be either '@open' or '@close', in rule: " + n2); e4.bracket = -1; } if (i2.next) { - if ("string" != typeof i2.next) + if (typeof i2.next != "string") throw ge(t3, "the next state must be a string value in rule: " + n2); { let o2 = i2.next; - if (!/^(@pop|@push|@popall)$/.test(o2) && ("@" === o2[0] && (o2 = o2.substr(1)), o2.indexOf("$") < 0 && !function(e5, t4) { + if (!/^(@pop|@push|@popall)$/.test(o2) && (o2[0] === "@" && (o2 = o2.substr(1)), o2.indexOf("$") < 0 && !function(e5, t4) { let n3 = t4; for (; n3 && n3.length > 0; ) { if (e5.stateNames[n3]) @@ -35147,7 +35147,7 @@ ${Object(zn.b)(wi)} e4.next = o2; } } - return "number" == typeof i2.goBack && (e4.goBack = i2.goBack), "string" == typeof i2.switchTo && (e4.switchTo = i2.switchTo), "string" == typeof i2.log && (e4.log = i2.log), "string" == typeof i2.nextEmbedded && (e4.nextEmbedded = i2.nextEmbedded, t3.usesEmbedded = true), e4; + return typeof i2.goBack == "number" && (e4.goBack = i2.goBack), typeof i2.switchTo == "string" && (e4.switchTo = i2.switchTo), typeof i2.log == "string" && (e4.log = i2.log), typeof i2.nextEmbedded == "string" && (e4.nextEmbedded = i2.nextEmbedded, t3.usesEmbedded = true), e4; } } if (Array.isArray(i2)) { @@ -35161,7 +35161,7 @@ ${Object(zn.b)(wi)} for (let r3 in i2.cases) if (i2.cases.hasOwnProperty(r3)) { const s2 = e3(t3, n2, i2.cases[r3]); - "@default" === r3 || "@" === r3 || "" === r3 ? o2.push({test: void 0, value: s2, name: r3}) : "@eos" === r3 ? o2.push({test: function(e4, t4, n3, i3) { + r3 === "@default" || r3 === "@" || r3 === "" ? o2.push({test: void 0, value: s2, name: r3}) : r3 === "@eos" ? o2.push({test: function(e4, t4, n3, i3) { return i3; }, value: s2, name: r3}) : o2.push(ls(t3, n2, r3, s2)); } @@ -35230,7 +35230,7 @@ ${Object(zn.b)(wi)} for (let r2 = 0, s2 = e2.length; r2 < s2; r2++) { const s3 = e2[r2]; let a2 = s3.startIndex; - 0 === r2 ? a2 = 0 : a2 < o2 && (a2 = o2), i2[r2] = new le.a(a2 + n2, s3.scopes, t2), o2 = a2; + r2 === 0 ? a2 = 0 : a2 < o2 && (a2 = o2), i2[r2] = new le.a(a2 + n2, s3.scopes, t2), o2 = a2; } return i2; } @@ -35246,7 +35246,7 @@ ${Object(zn.b)(wi)} if (r2 > 0 && o2[r2 - 1] === c2) continue; let d2 = l3.startIndex; - 0 === a3 ? d2 = 0 : d2 < s2 && (d2 = s2), o2[r2++] = d2 + t2, o2[r2++] = c2, s2 = d2; + a3 === 0 ? d2 = 0 : d2 < s2 && (d2 = s2), o2[r2++] = d2 + t2, o2[r2++] = c2, s2 = d2; } let a2 = new Uint32Array(r2); for (let e3 = 0; e3 < r2; e3++) @@ -35259,7 +35259,7 @@ ${Object(zn.b)(wi)} } } function bs(e2) { - return e2 && "function" == typeof e2.then; + return e2 && typeof e2.then == "function"; } function _s(e2, t2) { let n2 = Or.modeService.get().getLanguageIdentifier(e2); @@ -35274,28 +35274,28 @@ ${Object(zn.b)(wi)} const n2 = (t3) => function(e3, t4, n3, i2) { return new ke(e3, t4, n3, i2); }(Or.modeService.get(), Or.standaloneThemeService.get(), e2, function(e3, t4) { - if (!t4 || "object" != typeof t4) + if (!t4 || typeof t4 != "object") throw new Error("Monarch: expecting a language definition object"); let n3 = {}; - n3.languageId = e3, n3.noThrow = false, n3.maxStack = 100, n3.start = "string" == typeof t4.start ? t4.start : null, n3.ignoreCase = os(t4.ignoreCase, false), n3.unicode = os(t4.unicode, false), n3.tokenPostfix = rs(t4.tokenPostfix, "." + n3.languageId), n3.defaultToken = rs(t4.defaultToken, "source"), n3.usesEmbedded = false; + n3.languageId = e3, n3.noThrow = false, n3.maxStack = 100, n3.start = typeof t4.start == "string" ? t4.start : null, n3.ignoreCase = os(t4.ignoreCase, false), n3.unicode = os(t4.unicode, false), n3.tokenPostfix = rs(t4.tokenPostfix, "." + n3.languageId), n3.defaultToken = rs(t4.defaultToken, "source"), n3.usesEmbedded = false; let i2 = t4; function o2(e4, r3, s2) { for (const a2 of s2) { let s3 = a2.include; if (s3) { - if ("string" != typeof s3) + if (typeof s3 != "string") throw ge(n3, "an 'include' attribute must be a string at: " + e4); - if ("@" === s3[0] && (s3 = s3.substr(1)), !t4.tokenizer[s3]) + if (s3[0] === "@" && (s3 = s3.substr(1)), !t4.tokenizer[s3]) throw ge(n3, "include target '" + s3 + "' is not defined at: " + e4); o2(e4 + "." + s3, r3, t4.tokenizer[s3]); } else { const t5 = new cs(e4); if (Array.isArray(a2) && a2.length >= 1 && a2.length <= 3) if (t5.setRegex(i2, a2[0]), a2.length >= 3) - if ("string" == typeof a2[1]) + if (typeof a2[1] == "string") t5.setAction(i2, {token: a2[1], next: a2[2]}); else { - if ("object" != typeof a2[1]) + if (typeof a2[1] != "object") throw ge(n3, "a next state as the last element of a rule can only be given if the action is either an object or a string, at: " + e4); { const e5 = a2[1]; @@ -35307,13 +35307,13 @@ ${Object(zn.b)(wi)} else { if (!a2.regex) throw ge(n3, "a rule must either be an array, or an object with a 'regex' or 'include' field at: " + e4); - a2.name && "string" == typeof a2.name && (t5.name = a2.name), a2.matchOnlyAtStart && (t5.matchOnlyAtLineStart = os(a2.matchOnlyAtLineStart, false)), t5.setRegex(i2, a2.regex), t5.setAction(i2, a2.action); + a2.name && typeof a2.name == "string" && (t5.name = a2.name), a2.matchOnlyAtStart && (t5.matchOnlyAtLineStart = os(a2.matchOnlyAtLineStart, false)), t5.setRegex(i2, a2.regex), t5.setAction(i2, a2.action); } r3.push(t5); } } } - if (i2.languageId = e3, i2.ignoreCase = n3.ignoreCase, i2.unicode = n3.unicode, i2.noThrow = n3.noThrow, i2.usesEmbedded = n3.usesEmbedded, i2.stateNames = t4.tokenizer, i2.defaultToken = n3.defaultToken, !t4.tokenizer || "object" != typeof t4.tokenizer) + if (i2.languageId = e3, i2.ignoreCase = n3.ignoreCase, i2.unicode = n3.unicode, i2.noThrow = n3.noThrow, i2.usesEmbedded = n3.usesEmbedded, i2.stateNames = t4.tokenizer, i2.defaultToken = n3.defaultToken, !t4.tokenizer || typeof t4.tokenizer != "object") throw ge(n3, "a language definition must define the 'tokenizer' attribute as an object"); n3.tokenizer = []; for (let e4 in t4.tokenizer) @@ -35330,9 +35330,9 @@ ${Object(zn.b)(wi)} let r2 = []; for (let e4 of t4.brackets) { let t5 = e4; - if (t5 && Array.isArray(t5) && 3 === t5.length && (t5 = {token: t5[2], open: t5[0], close: t5[1]}), t5.open === t5.close) + if (t5 && Array.isArray(t5) && t5.length === 3 && (t5 = {token: t5[2], open: t5[0], close: t5[1]}), t5.open === t5.close) throw ge(n3, "open and close brackets in a 'brackets' attribute must be different: " + t5.open + "\n hint: use the 'bracket' attribute if matching on equal brackets is required."); - if ("string" != typeof t5.open || "string" != typeof t5.token || "string" != typeof t5.close) + if (typeof t5.open != "string" || typeof t5.token != "string" || typeof t5.close != "string") throw ge(n3, "every element in the 'brackets' array must be a '{open,close,token}' object or array"); r2.push({token: t5.token + n3.tokenPostfix, open: pe(n3, t5.open), close: pe(n3, t5.close)}); } @@ -35423,7 +35423,7 @@ ${Object(zn.b)(wi)} const Hs = Object(r.a)(); Hs.editor = {create: Pr, onDidCreateEditor: Fr, createDiffEditor: Wr, createDiffNavigator: zr, createModel: jr, setModelLanguage: Vr, setModelMarkers: Ur, getModelMarkers: Hr, getModels: $r, getModel: qr, onDidCreateModel: Kr, onWillDisposeModel: Gr, onDidChangeModelLanguage: Yr, createWebWorker: Zr, colorizeElement: Xr, colorize: Qr, colorizeModelLine: Jr, tokenize: es, defineTheme: ts, setTheme: ns, remeasureFonts: is, AccessibilitySupport: oe.a, ContentWidgetPositionPreference: oe.f, CursorChangeReason: oe.g, DefaultEndOfLine: oe.h, EditorAutoIndentStrategy: oe.j, EditorOption: oe.k, EndOfLinePreference: oe.l, EndOfLineSequence: oe.m, MinimapPosition: oe.r, MouseTargetType: oe.s, OverlayWidgetPositionPreference: oe.t, OverviewRulerLane: oe.u, RenderLineNumbersType: oe.v, RenderMinimap: oe.w, ScrollbarVisibility: oe.y, ScrollType: oe.x, TextEditorCursorBlinkingStyle: oe.D, TextEditorCursorStyle: oe.E, TrackedRangeStickiness: oe.F, WrappingIndent: oe.G, ConfigurationChangedEvent: o.b, BareFontInfo: C.a, FontInfo: C.b, TextModelResolvedOptions: S.e, FindMatch: S.b, EditorType: x.a, EditorOptions: o.g}, Hs.languages = {register: ds, getLanguages: hs, onLanguage: ps, getEncodedLanguageId: us, setLanguageConfiguration: ms, setTokensProvider: _s, setMonarchTokensProvider: vs, registerReferenceProvider: ws, registerRenameProvider: ys, registerCompletionItemProvider: Ps, registerSignatureHelpProvider: Cs, registerHoverProvider: xs, registerDocumentSymbolProvider: Ss, registerDocumentHighlightProvider: ks, registerOnTypeRenameProvider: Es, registerDefinitionProvider: Ts, registerImplementationProvider: Ls, registerTypeDefinitionProvider: Ns, registerCodeLensProvider: Is, registerCodeActionProvider: Os, registerDocumentFormattingEditProvider: Ds, registerDocumentRangeFormattingEditProvider: As, registerOnTypeFormattingEditProvider: Rs, registerLinkProvider: Ms, registerColorProvider: Fs, registerFoldingRangeProvider: Ws, registerDeclarationProvider: zs, registerSelectionRangeProvider: Bs, registerDocumentSemanticTokensProvider: js, registerDocumentRangeSemanticTokensProvider: Vs, DocumentHighlightKind: oe.i, CompletionItemKind: oe.c, CompletionItemTag: oe.d, CompletionItemInsertTextRule: oe.b, SymbolKind: oe.B, SymbolTag: oe.C, IndentAction: oe.n, CompletionTriggerKind: oe.e, SignatureHelpTriggerKind: oe.A, FoldingRangeKind: k.n}; const qs = Hs.CancellationTokenSource, $s = Hs.Emitter, Ks = Hs.KeyCode, Gs = Hs.KeyMod, Ys = Hs.Position, Zs = Hs.Range, Xs = Hs.Selection, Qs = Hs.SelectionDirection, Js = Hs.MarkerSeverity, ea = Hs.MarkerTag, ta = Hs.Uri, na = Hs.Token, ia = Hs.editor, oa = Hs.languages; - Us.monaco = Hs, void 0 !== Us.require && "function" == typeof Us.require.config && Us.require.config({ignoreDuplicateModules: ["vscode-languageserver-types", "vscode-languageserver-types/main", "vscode-languageserver-textdocument", "vscode-languageserver-textdocument/main", "vscode-nls", "vscode-nls/vscode-nls", "jsonc-parser", "jsonc-parser/main", "vscode-uri", "vscode-uri/index", "vs/basic-languages/typescript/typescript"]}); + Us.monaco = Hs, Us.require !== void 0 && typeof Us.require.config == "function" && Us.require.config({ignoreDuplicateModules: ["vscode-languageserver-types", "vscode-languageserver-types/main", "vscode-languageserver-textdocument", "vscode-languageserver-textdocument/main", "vscode-nls", "vscode-nls/vscode-nls", "jsonc-parser", "jsonc-parser/main", "vscode-uri", "vscode-uri/index", "vs/basic-languages/typescript/typescript"]}); }, function(e, t, n) { "use strict"; n.d(t, "a", function() { @@ -35571,10 +35571,10 @@ ${Object(zn.b)(wi)} }); var i = n(143); function o(e2) { - return !(!e2 || "function" != typeof e2.getEditorType) && e2.getEditorType() === i.a.ICodeEditor; + return !(!e2 || typeof e2.getEditorType != "function") && e2.getEditorType() === i.a.ICodeEditor; } function r(e2) { - return !(!e2 || "function" != typeof e2.getEditorType) && e2.getEditorType() === i.a.IDiffEditor; + return !(!e2 || typeof e2.getEditorType != "function") && e2.getEditorType() === i.a.IDiffEditor; } function s(e2) { return o(e2) ? e2 : r(e2) ? e2.getModifiedEditor() : null; @@ -35615,8 +35615,8 @@ ${Object(zn.b)(wi)} } } var _, v = n(118), w = n(71), y = n(66), C = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -35670,7 +35670,7 @@ ${Object(zn.b)(wi)} return new x(this); } splice(e2, t2, n2) { - const i2 = n2.length - t2, o2 = e2 + t2, r2 = [...this.sortedIndexes.filter((t3) => t3 < e2), ...n2.map((t3, n3) => t3 ? n3 + e2 : -1).filter((e3) => -1 !== e3), ...this.sortedIndexes.filter((e3) => e3 >= o2).map((e3) => e3 + i2)]; + const i2 = n2.length - t2, o2 = e2 + t2, r2 = [...this.sortedIndexes.filter((t3) => t3 < e2), ...n2.map((t3, n3) => t3 ? n3 + e2 : -1).filter((e3) => e3 !== -1), ...this.sortedIndexes.filter((e3) => e3 >= o2).map((e3) => e3 + i2)]; this.renderer.splice(e2, t2, n2.length), this._set(r2, r2); } renderIndex(e2, t2) { @@ -35719,7 +35719,7 @@ ${Object(zn.b)(wi)} } } function T(e2) { - return "INPUT" === e2.tagName || "TEXTAREA" === e2.tagName; + return e2.tagName === "INPUT" || e2.tagName === "TEXTAREA"; } function L(e2) { return !!a.I(e2, "monaco-editor") || !a.I(e2, "monaco-list") && (!!e2.parentElement && L(e2.parentElement)); @@ -35727,8 +35727,8 @@ ${Object(zn.b)(wi)} class N { constructor(e2, t2, n2) { this.list = e2, this.view = t2, this.disposables = new i.b(); - const o2 = false !== n2.multipleSelectionSupport, r2 = h.b.chain(Object(u.a)(t2.domNode, "keydown")).filter((e3) => !T(e3.target)).map((e3) => new d.a(e3)); - r2.filter((e3) => 3 === e3.keyCode).on(this.onEnter, this, this.disposables), r2.filter((e3) => 16 === e3.keyCode).on(this.onUpArrow, this, this.disposables), r2.filter((e3) => 18 === e3.keyCode).on(this.onDownArrow, this, this.disposables), r2.filter((e3) => 11 === e3.keyCode).on(this.onPageUpArrow, this, this.disposables), r2.filter((e3) => 12 === e3.keyCode).on(this.onPageDownArrow, this, this.disposables), r2.filter((e3) => 9 === e3.keyCode).on(this.onEscape, this, this.disposables), o2 && r2.filter((e3) => (l.f ? e3.metaKey : e3.ctrlKey) && 31 === e3.keyCode).on(this.onCtrlA, this, this.disposables); + const o2 = n2.multipleSelectionSupport !== false, r2 = h.b.chain(Object(u.a)(t2.domNode, "keydown")).filter((e3) => !T(e3.target)).map((e3) => new d.a(e3)); + r2.filter((e3) => e3.keyCode === 3).on(this.onEnter, this, this.disposables), r2.filter((e3) => e3.keyCode === 16).on(this.onUpArrow, this, this.disposables), r2.filter((e3) => e3.keyCode === 18).on(this.onDownArrow, this, this.disposables), r2.filter((e3) => e3.keyCode === 11).on(this.onPageUpArrow, this, this.disposables), r2.filter((e3) => e3.keyCode === 12).on(this.onPageDownArrow, this, this.disposables), r2.filter((e3) => e3.keyCode === 9).on(this.onEscape, this, this.disposables), o2 && r2.filter((e3) => (l.f ? e3.metaKey : e3.ctrlKey) && e3.keyCode === 31).on(this.onCtrlA, this, this.disposables); } onEnter(e2) { e2.preventDefault(), e2.stopPropagation(), this.list.setSelection(this.list.getFocus(), e2.browserEvent); @@ -35768,7 +35768,7 @@ ${Object(zn.b)(wi)} this.list = e2, this.view = t2, this.keyboardNavigationLabelProvider = n2, this.delegate = o2, this.enabled = false, this.state = _.Idle, this.automaticKeyboardNavigation = true, this.triggered = false, this.previouslyFocused = -1, this.enabledDisposables = new i.b(), this.disposables = new i.b(), this.updateOptions(e2.options); } updateOptions(e2) { - void 0 === e2.enableKeyboardNavigation || !!e2.enableKeyboardNavigation ? this.enable() : this.disable(), void 0 !== e2.automaticKeyboardNavigation && (this.automaticKeyboardNavigation = e2.automaticKeyboardNavigation); + e2.enableKeyboardNavigation === void 0 || !!e2.enableKeyboardNavigation ? this.enable() : this.disable(), e2.automaticKeyboardNavigation !== void 0 && (this.automaticKeyboardNavigation = e2.automaticKeyboardNavigation); } enable() { if (this.enabled) @@ -35776,7 +35776,7 @@ ${Object(zn.b)(wi)} const e2 = h.b.chain(Object(u.a)(this.view.domNode, "keydown")).filter((e3) => !T(e3.target)).filter(() => this.automaticKeyboardNavigation || this.triggered).map((e3) => new d.a(e3)).filter((e3) => this.delegate.mightProducePrintableCharacter(e3)).forEach((e3) => { e3.stopPropagation(), e3.preventDefault(); }).map((e3) => e3.browserEvent.key).event, t2 = h.b.debounce(e2, () => null, 800); - h.b.reduce(h.b.any(e2, t2), (e3, t3) => null === t3 ? null : (e3 || "") + t3)(this.onInput, this, this.enabledDisposables), t2(this.onClear, this, this.enabledDisposables), this.enabled = true, this.triggered = false; + h.b.reduce(h.b.any(e2, t2), (e3, t3) => t3 === null ? null : (e3 || "") + t3)(this.onInput, this, this.enabledDisposables), t2(this.onClear, this, this.enabledDisposables), this.enabled = true, this.triggered = false; } disable() { this.enabled && (this.enabledDisposables.clear(), this.enabled = false, this.triggered = false); @@ -35785,7 +35785,7 @@ ${Object(zn.b)(wi)} var e2; const t2 = this.list.getFocus(); if (t2.length > 0 && t2[0] === this.previouslyFocused) { - const n2 = null === (e2 = this.list.options.accessibilityProvider) || void 0 === e2 ? void 0 : e2.getAriaLabel(this.list.element(t2[0])); + const n2 = (e2 = this.list.options.accessibilityProvider) === null || e2 === void 0 ? void 0 : e2.getAriaLabel(this.list.element(t2[0])); n2 && Object(y.a)(n2); } this.previouslyFocused = -1; @@ -35797,7 +35797,7 @@ ${Object(zn.b)(wi)} this.state = _.Typing; for (let t3 = 0; t3 < this.list.length; t3++) { const o2 = (n2 + t3 + i2) % this.list.length, r2 = this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(o2)), s2 = r2 && r2.toString(); - if (void 0 === s2 || Object(w.h)(e2, s2)) + if (s2 === void 0 || Object(w.h)(e2, s2)) return this.previouslyFocused = n2, this.list.setFocus([o2]), void this.list.reveal(o2); } } @@ -35808,22 +35808,22 @@ ${Object(zn.b)(wi)} class D { constructor(e2, t2) { this.list = e2, this.view = t2, this.disposables = new i.b(); - h.b.chain(Object(u.a)(t2.domNode, "keydown")).filter((e3) => !T(e3.target)).map((e3) => new d.a(e3)).filter((e3) => !(2 !== e3.keyCode || e3.ctrlKey || e3.metaKey || e3.shiftKey || e3.altKey)).on(this.onTab, this, this.disposables); + h.b.chain(Object(u.a)(t2.domNode, "keydown")).filter((e3) => !T(e3.target)).map((e3) => new d.a(e3)).filter((e3) => !(e3.keyCode !== 2 || e3.ctrlKey || e3.metaKey || e3.shiftKey || e3.altKey)).on(this.onTab, this, this.disposables); } onTab(e2) { if (e2.target !== this.view.domNode) return; const t2 = this.list.getFocus(); - if (0 === t2.length) + if (t2.length === 0) return; const n2 = this.view.domElement(t2[0]); if (!n2) return; const i2 = n2.querySelector("[tabIndex]"); - if (!(i2 && i2 instanceof HTMLElement && -1 !== i2.tabIndex)) + if (!(i2 && i2 instanceof HTMLElement && i2.tabIndex !== -1)) return; const o2 = window.getComputedStyle(i2); - "hidden" !== o2.visibility && "none" !== o2.display && (e2.preventDefault(), e2.stopPropagation(), i2.focus()); + o2.visibility !== "hidden" && o2.display !== "none" && (e2.preventDefault(), e2.stopPropagation(), i2.focus()); } dispose() { this.disposables.dispose(); @@ -35838,7 +35838,7 @@ ${Object(zn.b)(wi)} const M = {isSelectionSingleChangeEvent: A, isSelectionRangeChangeEvent: R}; class P { constructor(e2) { - this.list = e2, this.disposables = new i.b(), this._onPointer = new h.a(), this.onPointer = this._onPointer.event, this.multipleSelectionSupport = !(false === e2.options.multipleSelectionSupport), this.multipleSelectionSupport && (this.multipleSelectionController = e2.options.multipleSelectionController || M), this.mouseSupport = void 0 === e2.options.mouseSupport || !!e2.options.mouseSupport, this.mouseSupport && (e2.onMouseDown(this.onMouseDown, this, this.disposables), e2.onContextMenu(this.onContextMenu, this, this.disposables), e2.onMouseDblClick(this.onDoubleClick, this, this.disposables), e2.onTouchStart(this.onMouseDown, this, this.disposables), this.disposables.add(c.b.addTarget(e2.getHTMLElement()))), h.b.any(e2.onMouseClick, e2.onMouseMiddleClick, e2.onTap)(this.onViewPointer, this, this.disposables); + this.list = e2, this.disposables = new i.b(), this._onPointer = new h.a(), this.onPointer = this._onPointer.event, this.multipleSelectionSupport = !(e2.options.multipleSelectionSupport === false), this.multipleSelectionSupport && (this.multipleSelectionController = e2.options.multipleSelectionController || M), this.mouseSupport = e2.options.mouseSupport === void 0 || !!e2.options.mouseSupport, this.mouseSupport && (e2.onMouseDown(this.onMouseDown, this, this.disposables), e2.onContextMenu(this.onContextMenu, this, this.disposables), e2.onMouseDblClick(this.onDoubleClick, this, this.disposables), e2.onTouchStart(this.onMouseDown, this, this.disposables), this.disposables.add(c.b.addTarget(e2.getHTMLElement()))), h.b.any(e2.onMouseClick, e2.onMouseMiddleClick, e2.onTap)(this.onViewPointer, this, this.disposables); } isSelectionSingleChangeEvent(e2) { return this.multipleSelectionController ? this.multipleSelectionController.isSelectionSingleChangeEvent(e2) : l.f ? e2.browserEvent.metaKey : e2.browserEvent.ctrlKey; @@ -35855,7 +35855,7 @@ ${Object(zn.b)(wi)} onContextMenu(e2) { if (L(e2.browserEvent.target)) return; - const t2 = void 0 === e2.index ? [] : [e2.index]; + const t2 = e2.index === void 0 ? [] : [e2.index]; this.list.setFocus(t2, e2.browserEvent); } onViewPointer(e2) { @@ -35865,9 +35865,9 @@ ${Object(zn.b)(wi)} return; let t2 = this.list.getFocus()[0]; const n2 = this.list.getSelection(); - t2 = void 0 === t2 ? n2[0] : t2; + t2 = t2 === void 0 ? n2[0] : t2; const i2 = e2.index; - return void 0 === i2 ? (this.list.setFocus([], e2.browserEvent), void this.list.setSelection([], e2.browserEvent)) : this.multipleSelectionSupport && this.isSelectionRangeChangeEvent(e2) || this.multipleSelectionSupport && this.isSelectionChangeEvent(e2) ? this.changeSelection(e2, t2) : (this.list.setFocus([i2], e2.browserEvent), (o2 = e2.browserEvent) instanceof MouseEvent && 2 === o2.button || this.list.setSelection([i2], e2.browserEvent), void this._onPointer.fire(e2)); + return i2 === void 0 ? (this.list.setFocus([], e2.browserEvent), void this.list.setSelection([], e2.browserEvent)) : this.multipleSelectionSupport && this.isSelectionRangeChangeEvent(e2) || this.multipleSelectionSupport && this.isSelectionChangeEvent(e2) ? this.changeSelection(e2, t2) : (this.list.setFocus([i2], e2.browserEvent), (o2 = e2.browserEvent) instanceof MouseEvent && o2.button === 2 || this.list.setSelection([i2], e2.browserEvent), void this._onPointer.fire(e2)); var o2; } onDoubleClick(e2) { @@ -35880,10 +35880,10 @@ ${Object(zn.b)(wi)} } changeSelection(e2, t2) { const n2 = e2.index; - if (this.isSelectionRangeChangeEvent(e2) && void 0 !== t2) { + if (this.isSelectionRangeChangeEvent(e2) && t2 !== void 0) { const i2 = Math.min(t2, n2), o2 = Math.max(t2, n2), s2 = Object(r.s)(i2, o2 + 1), a2 = this.list.getSelection(), l2 = function(e3, t3) { const n3 = e3.indexOf(t3); - if (-1 === n3) + if (n3 === -1) return []; const i3 = []; let o3 = n3 - 1; @@ -35894,7 +35894,7 @@ ${Object(zn.b)(wi)} i3.push(e3[o3++]); return i3; }(B(a2, [t2]), t2); - if (0 === l2.length) + if (l2.length === 0) return; const c2 = B(s2, function(e3, t3) { const n3 = []; @@ -36005,7 +36005,7 @@ ${Object(zn.b)(wi)} const i2 = this.accessibilityProvider.getAriaLabel(e2); i2 ? n2.setAttribute("aria-label", i2) : n2.removeAttribute("aria-label"); const o2 = this.accessibilityProvider.getAriaLevel && this.accessibilityProvider.getAriaLevel(e2); - "number" == typeof o2 ? n2.setAttribute("aria-level", "" + o2) : n2.removeAttribute("aria-level"); + typeof o2 == "number" ? n2.setAttribute("aria-level", "" + o2) : n2.removeAttribute("aria-level"); } disposeTemplate(e2) { } @@ -36042,8 +36042,8 @@ ${Object(zn.b)(wi)} constructor(e2, t2, n2, o2, r2 = z) { var s2; this.user = e2, this._options = r2, this.eventBufferer = new h.c(), this._ariaLabel = "", this.disposables = new i.b(), this.didJustPressContextMenuKey = false, this._onDidDispose = new h.a(), this.onDidDispose = this._onDidDispose.event; - const l2 = this._options.accessibilityProvider && this._options.accessibilityProvider.getWidgetRole ? null === (s2 = this._options.accessibilityProvider) || void 0 === s2 ? void 0 : s2.getWidgetRole() : "list"; - this.selection = new k("listbox" !== l2), this.focus = new S("focused"), Object(f.g)(r2, W, false); + const l2 = this._options.accessibilityProvider && this._options.accessibilityProvider.getWidgetRole ? (s2 = this._options.accessibilityProvider) === null || s2 === void 0 ? void 0 : s2.getWidgetRole() : "list"; + this.selection = new k(l2 !== "listbox"), this.focus = new S("focused"), Object(f.g)(r2, W, false); const c2 = [this.focus.renderer, this.selection.renderer]; this.accessibilityProvider = r2.accessibilityProvider, this.accessibilityProvider && (c2.push(new U(this.accessibilityProvider)), this.accessibilityProvider.onDidChangeActiveDescendant && this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant, this, this.disposables)), o2 = o2.map((e3) => new V(e3.templateId, [...c2, e3])); const d2 = Object.assign(Object.assign({}, r2), {dnd: r2.dnd && new H(this, r2.dnd)}); @@ -36053,7 +36053,7 @@ ${Object(zn.b)(wi)} const e3 = a.v(this.view.domNode); this.styleController = new F(e3, this.view.domId); } - if (this.spliceable = new b([new E(this.focus, this.view, r2.identityProvider), new E(this.selection, this.view, r2.identityProvider), this.view]), this.disposables.add(this.focus), this.disposables.add(this.selection), this.disposables.add(this.view), this.disposables.add(this._onDidDispose), this.onDidFocus = h.b.map(Object(u.a)(this.view.domNode, "focus", true), () => null), this.onDidBlur = h.b.map(Object(u.a)(this.view.domNode, "blur", true), () => null), this.disposables.add(new D(this, this.view)), "boolean" != typeof r2.keyboardSupport || r2.keyboardSupport) { + if (this.spliceable = new b([new E(this.focus, this.view, r2.identityProvider), new E(this.selection, this.view, r2.identityProvider), this.view]), this.disposables.add(this.focus), this.disposables.add(this.selection), this.disposables.add(this.view), this.disposables.add(this._onDidDispose), this.onDidFocus = h.b.map(Object(u.a)(this.view.domNode, "focus", true), () => null), this.onDidBlur = h.b.map(Object(u.a)(this.view.domNode, "blur", true), () => null), this.disposables.add(new D(this, this.view)), typeof r2.keyboardSupport != "boolean" || r2.keyboardSupport) { const e3 = new N(this, this.view, r2); this.disposables.add(e3); } @@ -36094,7 +36094,7 @@ ${Object(zn.b)(wi)} return this.view.onTap; } get onContextMenu() { - const e2 = h.b.chain(Object(u.a)(this.view.domNode, "keydown")).map((e3) => new d.a(e3)).filter((e3) => this.didJustPressContextMenuKey = 58 === e3.keyCode || e3.shiftKey && 68 === e3.keyCode).filter((e3) => (e3.preventDefault(), e3.stopPropagation(), false)).event, t2 = h.b.chain(Object(u.a)(this.view.domNode, "keyup")).filter(() => { + const e2 = h.b.chain(Object(u.a)(this.view.domNode, "keydown")).map((e3) => new d.a(e3)).filter((e3) => this.didJustPressContextMenuKey = e3.keyCode === 58 || e3.shiftKey && e3.keyCode === 68).filter((e3) => (e3.preventDefault(), e3.stopPropagation(), false)).event, t2 = h.b.chain(Object(u.a)(this.view.domNode, "keyup")).filter(() => { const e3 = this.didJustPressContextMenuKey; return this.didJustPressContextMenuKey = false, e3; }).filter(() => this.getFocus().length > 0 && !!this.view.domElement(this.getFocus()[0])).map((e3) => { @@ -36120,7 +36120,7 @@ ${Object(zn.b)(wi)} throw new p(this.user, "Invalid start index: " + e2); if (t2 < 0) throw new p(this.user, "Invalid delete count: " + t2); - 0 === t2 && 0 === n2.length || this.eventBufferer.bufferEvents(() => this.spliceable.splice(e2, t2, n2)); + t2 === 0 && n2.length === 0 || this.eventBufferer.bufferEvents(() => this.spliceable.splice(e2, t2, n2)); } rerender() { this.view.rerender(); @@ -36171,20 +36171,20 @@ ${Object(zn.b)(wi)} this.focus.set(e2, t2); } focusNext(e2 = 1, t2 = false, n2, i2) { - if (0 === this.length) + if (this.length === 0) return; const o2 = this.focus.get(), r2 = this.findNextIndex(o2.length > 0 ? o2[0] + e2 : 0, t2, i2); r2 > -1 && this.setFocus([r2], n2); } focusPrevious(e2 = 1, t2 = false, n2, i2) { - if (0 === this.length) + if (this.length === 0) return; const o2 = this.focus.get(), r2 = this.findPreviousIndex(o2.length > 0 ? o2[0] - e2 : 0, t2, i2); r2 > -1 && this.setFocus([r2], n2); } focusNextPage(e2, t2) { let n2 = this.view.indexAt(this.view.getScrollTop() + this.view.renderHeight); - n2 = 0 === n2 ? 0 : n2 - 1; + n2 = n2 === 0 ? 0 : n2 - 1; const i2 = this.view.element(n2), o2 = this.getFocusedElements()[0]; if (o2 !== i2) { const i3 = this.findPreviousIndex(n2, false, t2); @@ -36197,7 +36197,7 @@ ${Object(zn.b)(wi)} focusPreviousPage(e2, t2) { let n2; const i2 = this.view.getScrollTop(); - n2 = 0 === i2 ? this.view.indexAt(i2) : this.view.indexAfter(i2 - 1); + n2 = i2 === 0 ? this.view.indexAt(i2) : this.view.indexAfter(i2 - 1); const o2 = this.view.element(n2), r2 = this.getFocusedElements()[0]; if (r2 !== o2) { const i3 = this.findNextIndex(n2, false, t2); @@ -36208,7 +36208,7 @@ ${Object(zn.b)(wi)} } } focusLast(e2, t2) { - if (0 === this.length) + if (this.length === 0) return; const n2 = this.findPreviousIndex(this.length - 1, false, t2); n2 > -1 && this.setFocus([n2], e2); @@ -36217,7 +36217,7 @@ ${Object(zn.b)(wi)} this.focusNth(0, e2, t2); } focusNth(e2, t2, n2) { - if (0 === this.length) + if (this.length === 0) return; const i2 = this.findNextIndex(e2, false, n2); i2 > -1 && this.setFocus([i2], t2); @@ -36287,13 +36287,13 @@ ${Object(zn.b)(wi)} const t2 = this.focus.get(); if (t2.length > 0) { let n2; - (null === (e2 = this.accessibilityProvider) || void 0 === e2 ? void 0 : e2.getActiveDescendantId) && (n2 = this.accessibilityProvider.getActiveDescendantId(this.view.element(t2[0]))), this.view.domNode.setAttribute("aria-activedescendant", n2 || this.view.getElementDomId(t2[0])); + ((e2 = this.accessibilityProvider) === null || e2 === void 0 ? void 0 : e2.getActiveDescendantId) && (n2 = this.accessibilityProvider.getActiveDescendantId(this.view.element(t2[0]))), this.view.domNode.setAttribute("aria-activedescendant", n2 || this.view.getElementDomId(t2[0])); } else this.view.domNode.removeAttribute("aria-activedescendant"); } _onSelectionChange() { const e2 = this.selection.get(); - a.ab(this.view.domNode, "selection-none", 0 === e2.length), a.ab(this.view.domNode, "selection-single", 1 === e2.length), a.ab(this.view.domNode, "selection-multiple", e2.length > 1); + a.ab(this.view.domNode, "selection-none", e2.length === 0), a.ab(this.view.domNode, "selection-single", e2.length === 1), a.ab(this.view.domNode, "selection-multiple", e2.length > 1); } dispose() { this._onDidDispose.fire(), this.disposables.dispose(), this._onDidDispose.dispose(); @@ -36337,7 +36337,7 @@ ${Object(zn.b)(wi)} } } function r(e2) { - return 0 != (7 & e2); + return (7 & e2) != 0; } }, function(e, t, n) { "use strict"; @@ -36365,7 +36365,7 @@ ${Object(zn.b)(wi)} constructor(e2, t2 = {}) { var n2, i2, s2; let c2, d2; - switch (super(), this._onDidBlur = this._register(new l.a()), this.onDidBlur = this._onDidBlur.event, this._onDidCancel = this._register(new l.a()), this.onDidCancel = this._onDidCancel.event, this._onDidRun = this._register(new l.a()), this.onDidRun = this._onDidRun.event, this._onDidBeforeRun = this._register(new l.a()), this.onDidBeforeRun = this._onDidBeforeRun.event, this.options = t2, this._context = null !== (n2 = t2.context) && void 0 !== n2 ? n2 : null, this._orientation = null !== (i2 = this.options.orientation) && void 0 !== i2 ? i2 : 0, this._triggerKeys = null !== (s2 = this.options.triggerKeys) && void 0 !== s2 ? s2 : {keys: [3, 10], keyDown: false}, this.options.actionRunner ? this._actionRunner = this.options.actionRunner : (this._actionRunner = new o.b(), this._register(this._actionRunner)), this._register(this._actionRunner.onDidRun((e3) => this._onDidRun.fire(e3))), this._register(this._actionRunner.onDidBeforeRun((e3) => this._onDidBeforeRun.fire(e3))), this.viewItems = [], this.focusedItem = void 0, this.domNode = document.createElement("div"), this.domNode.className = "monaco-action-bar", false !== t2.animated && r.e(this.domNode, "animated"), this._orientation) { + switch (super(), this._onDidBlur = this._register(new l.a()), this.onDidBlur = this._onDidBlur.event, this._onDidCancel = this._register(new l.a()), this.onDidCancel = this._onDidCancel.event, this._onDidRun = this._register(new l.a()), this.onDidRun = this._onDidRun.event, this._onDidBeforeRun = this._register(new l.a()), this.onDidBeforeRun = this._onDidBeforeRun.event, this.options = t2, this._context = (n2 = t2.context) !== null && n2 !== void 0 ? n2 : null, this._orientation = (i2 = this.options.orientation) !== null && i2 !== void 0 ? i2 : 0, this._triggerKeys = (s2 = this.options.triggerKeys) !== null && s2 !== void 0 ? s2 : {keys: [3, 10], keyDown: false}, this.options.actionRunner ? this._actionRunner = this.options.actionRunner : (this._actionRunner = new o.b(), this._register(this._actionRunner)), this._register(this._actionRunner.onDidRun((e3) => this._onDidRun.fire(e3))), this._register(this._actionRunner.onDidBeforeRun((e3) => this._onDidBeforeRun.fire(e3))), this.viewItems = [], this.focusedItem = void 0, this.domNode = document.createElement("div"), this.domNode.className = "monaco-action-bar", t2.animated !== false && r.e(this.domNode, "animated"), this._orientation) { case 0: c2 = 15, d2 = 17; break; @@ -36427,7 +36427,7 @@ ${Object(zn.b)(wi)} let o2; n3.className = "action-item", n3.setAttribute("role", "presentation"), this.options.allowContextMenu || this._register(r.i(n3, r.c.CONTEXT_MENU, (e4) => { r.b.stop(e4, true); - })), this.options.actionViewItemProvider && (o2 = this.options.actionViewItemProvider(e3)), o2 || (o2 = new c.a(this.context, e3, t2)), o2.actionRunner = this._actionRunner, o2.setActionContext(this.context), o2.render(n3), null === i2 || i2 < 0 || i2 >= this.actionsList.children.length ? (this.actionsList.appendChild(n3), this.viewItems.push(o2)) : (this.actionsList.insertBefore(n3, this.actionsList.children[i2]), this.viewItems.splice(i2, 0, o2), i2++); + })), this.options.actionViewItemProvider && (o2 = this.options.actionViewItemProvider(e3)), o2 || (o2 = new c.a(this.context, e3, t2)), o2.actionRunner = this._actionRunner, o2.setActionContext(this.context), o2.render(n3), i2 === null || i2 < 0 || i2 >= this.actionsList.children.length ? (this.actionsList.appendChild(n3), this.viewItems.push(o2)) : (this.actionsList.insertBefore(n3, this.actionsList.children[i2]), this.viewItems.splice(i2, 0, o2), i2++); }), this.focusedItem && this.focus(this.focusedItem); } clear() { @@ -36435,10 +36435,10 @@ ${Object(zn.b)(wi)} } focus(e2) { let t2 = false, n2 = void 0; - void 0 === e2 ? t2 = true : "number" == typeof e2 ? n2 = e2 : "boolean" == typeof e2 && (t2 = e2), t2 && void 0 === this.focusedItem ? (this.focusedItem = -1, this.focusNext()) : (void 0 !== n2 && (this.focusedItem = n2), this.updateFocus()); + e2 === void 0 ? t2 = true : typeof e2 == "number" ? n2 = e2 : typeof e2 == "boolean" && (t2 = e2), t2 && this.focusedItem === void 0 ? (this.focusedItem = -1, this.focusNext()) : (n2 !== void 0 && (this.focusedItem = n2), this.updateFocus()); } focusNext() { - void 0 === this.focusedItem && (this.focusedItem = this.viewItems.length - 1); + this.focusedItem === void 0 && (this.focusedItem = this.viewItems.length - 1); const e2 = this.focusedItem; let t2; do { @@ -36449,7 +36449,7 @@ ${Object(zn.b)(wi)} return this.focusedItem !== e2 || t2.isEnabled() || (this.focusedItem = void 0), this.updateFocus(), true; } focusPrevious() { - void 0 === this.focusedItem && (this.focusedItem = 0); + this.focusedItem === void 0 && (this.focusedItem = 0); const e2 = this.focusedItem; let t2; do { @@ -36463,18 +36463,18 @@ ${Object(zn.b)(wi)} return this.focusedItem !== e2 || t2.isEnabled() || (this.focusedItem = void 0), this.updateFocus(true), true; } updateFocus(e2, t2) { - void 0 === this.focusedItem && this.actionsList.focus({preventScroll: t2}); + this.focusedItem === void 0 && this.actionsList.focus({preventScroll: t2}); for (let n2 = 0; n2 < this.viewItems.length; n2++) { const i2 = this.viewItems[n2]; n2 === this.focusedItem ? s.g(i2.isEnabled) && (i2.isEnabled() && s.g(i2.focus) ? i2.focus(e2) : this.actionsList.focus({preventScroll: t2})) : s.g(i2.blur) && i2.blur(); } } doTrigger(e2) { - if (void 0 === this.focusedItem) + if (this.focusedItem === void 0) return; const t2 = this.viewItems[this.focusedItem]; if (t2 instanceof c.b) { - const n2 = null === t2._context || void 0 === t2._context ? e2 : t2._context; + const n2 = t2._context === null || t2._context === void 0 ? e2 : t2._context; this.run(t2._action, n2); } } @@ -36686,7 +36686,7 @@ ${Object(zn.b)(wi)} if (!o2) return null; let s2 = o2.index || 0, a2 = o2[0].length; - if (0 === a2) + if (a2 === 0) return null; let l2 = i2 + s2; return new r.a(t2, l2 + 1, t2, l2 + 1 + a2); @@ -36733,7 +36733,7 @@ ${Object(zn.b)(wi)} })); } handleActionChangeEvent(e2) { - void 0 !== e2.enabled && this.updateEnabled(), void 0 !== e2.checked && this.updateChecked(), void 0 !== e2.class && this.updateClass(), void 0 !== e2.label && (this.updateLabel(), this.updateTooltip()), void 0 !== e2.tooltip && this.updateTooltip(); + e2.enabled !== void 0 && this.updateEnabled(), e2.checked !== void 0 && this.updateChecked(), e2.class !== void 0 && this.updateClass(), e2.label !== void 0 && (this.updateLabel(), this.updateTooltip()), e2.tooltip !== void 0 && this.updateTooltip(); } get actionRunner() { return this._actionRunner || (this._actionRunner = this._register(new s.b())), this._actionRunner; @@ -36756,11 +36756,11 @@ ${Object(zn.b)(wi)} const n2 = this.options && this.options.draggable; n2 && (e2.draggable = true, h.h && this._register(a.i(e2, a.c.DRAG_START, (e3) => { var t3; - return null === (t3 = e3.dataTransfer) || void 0 === t3 ? void 0 : t3.setData(d.a.TEXT, this._action.label); + return (t3 = e3.dataTransfer) === null || t3 === void 0 ? void 0 : t3.setData(d.a.TEXT, this._action.label); }))), this._register(a.i(t2, c.a.Tap, (e3) => this.onClick(e3))), this._register(a.i(t2, a.c.MOUSE_DOWN, (e3) => { - n2 || a.b.stop(e3, true), this._action.enabled && 0 === e3.button && a.e(t2, "active"); + n2 || a.b.stop(e3, true), this._action.enabled && e3.button === 0 && a.e(t2, "active"); })), i.f && this._register(a.i(t2, a.c.CONTEXT_MENU, (e3) => { - 0 === e3.button && true === e3.ctrlKey && this.onClick(e3); + e3.button === 0 && e3.ctrlKey === true && this.onClick(e3); })), this._register(a.i(t2, a.c.CLICK, (e3) => { a.b.stop(e3, true), this.options && this.options.isMenu || i.j(() => this.onClick(e3)); })), this._register(a.i(t2, a.c.DBLCLICK, (e3) => { @@ -36774,7 +36774,7 @@ ${Object(zn.b)(wi)} onClick(e2) { var t2; a.b.stop(e2, true); - const n2 = l.l(this._context) ? (null === (t2 = this.options) || void 0 === t2 ? void 0 : t2.useEventAsContext) ? e2 : void 0 : this._context; + const n2 = l.l(this._context) ? ((t2 = this.options) === null || t2 === void 0 ? void 0 : t2.useEventAsContext) ? e2 : void 0 : this._context; this.actionRunner.run(this._action, n2); } focus() { @@ -36799,7 +36799,7 @@ ${Object(zn.b)(wi)} } class p extends u { constructor(e2, t2, n2 = {}) { - super(e2, t2, n2), this.options = n2, this.options.icon = void 0 !== n2.icon && n2.icon, this.options.label = void 0 === n2.label || n2.label, this.cssClass = ""; + super(e2, t2, n2), this.options = n2, this.options.icon = n2.icon !== void 0 && n2.icon, this.options.label = n2.label === void 0 || n2.label, this.cssClass = ""; } render(e2) { super.render(e2), this.element && (this.label = a.p(this.element, a.a("a.action-label"))), this.label && (this._action.id === s.c.ID ? this.label.setAttribute("role", "presentation") : this.options.isMenu ? this.label.setAttribute("role", "menuitem") : this.label.setAttribute("role", "button")), this.options.label && this.options.keybinding && this.element && (a.p(this.element, a.a("span.keybinding")).textContent = this.options.keybinding), this.updateClass(), this.updateLabel(), this.updateTooltip(), this.updateEnabled(), this.updateChecked(); @@ -36844,9 +36844,9 @@ ${Object(zn.b)(wi)} let t2 = 0, n2 = 0, i2 = 0, o2 = 0; for (let r2 = 0, s2 = e2.length; r2 < s2; r2++) { const a2 = e2.charCodeAt(r2); - 13 === a2 ? (0 === t2 && (n2 = r2), t2++, r2 + 1 < s2 && 10 === e2.charCodeAt(r2 + 1) ? (o2 |= 2, r2++) : o2 |= 3, i2 = r2 + 1) : 10 === a2 && (o2 |= 1, 0 === t2 && (n2 = r2), t2++, i2 = r2 + 1); + a2 === 13 ? (t2 === 0 && (n2 = r2), t2++, r2 + 1 < s2 && e2.charCodeAt(r2 + 1) === 10 ? (o2 |= 2, r2++) : o2 |= 3, i2 = r2 + 1) : a2 === 10 && (o2 |= 1, t2 === 0 && (n2 = r2), t2++, i2 = r2 + 1); } - return 0 === t2 && (n2 = e2.length), [t2, n2, e2.length - i2, o2]; + return t2 === 0 && (n2 = e2.length), [t2, n2, e2.length - i2, o2]; } function c(e2) { return (16384 | e2 << 0 | 2 << 23) >>> 0; @@ -36877,11 +36877,11 @@ ${Object(zn.b)(wi)} } getMaxDeltaLine() { const e2 = this._getTokenCount(); - return 0 === e2 ? -1 : this._getDeltaLine(e2 - 1); + return e2 === 0 ? -1 : this._getDeltaLine(e2 - 1); } getRange() { const e2 = this._getTokenCount(); - if (0 === e2) + if (e2 === 0) return null; const t2 = this._getStartCharacter(0), n2 = this._getDeltaLine(e2 - 1), i2 = this._getEndCharacter(e2 - 1); return new s.a(0, t2 + 1, n2, i2 + 1); @@ -36899,7 +36899,7 @@ ${Object(zn.b)(wi)} return this._tokens[4 * e2 + 2]; } isEmpty() { - return 0 === this._getTokenCount(); + return this._getTokenCount() === 0; } getLineTokens(e2) { let t2 = 0, n2 = this._getTokenCount() - 1; @@ -36933,7 +36933,7 @@ ${Object(zn.b)(wi)} if ((d2 > e2 || d2 === e2 && u2 >= t2) && (d2 < n2 || d2 === n2 && h2 <= i2)) a2 = true; else { - if (0 === s2 && (l2 = d2), a2) { + if (s2 === 0 && (l2 = d2), a2) { const e3 = 4 * s2; o2[e3] = d2 - l2, o2[e3 + 1] = h2, o2[e3 + 2] = u2, o2[e3 + 3] = p2; } @@ -36982,7 +36982,7 @@ ${Object(zn.b)(wi)} } u2 === t2 ? (p2 = n2, m2 = p2 + (m2 - o2)) : (p2 = 0, m2 = p2 + (m2 - o2)); } else if (u2 > i2) { - if (0 === a2 && !c2) { + if (a2 === 0 && !c2) { l2 = s2; break; } @@ -36990,7 +36990,7 @@ ${Object(zn.b)(wi)} } else { if (!(u2 === i2 && p2 >= o2)) throw new Error("Not possible!"); - e2 && 0 === u2 && (p2 += e2, m2 += e2), u2 -= a2, p2 -= o2 - n2, m2 -= o2 - n2; + e2 && u2 === 0 && (p2 += e2, m2 += e2), u2 -= a2, p2 -= o2 - n2, m2 -= o2 - n2; } const f2 = 4 * l2; r2[f2] = u2, r2[f2 + 1] = p2, r2[f2 + 2] = m2, r2[f2 + 3] = g2, l2++; @@ -36998,7 +36998,7 @@ ${Object(zn.b)(wi)} this._tokenCount = l2; } acceptInsertText(e2, t2, n2, i2, o2, r2) { - const s2 = 0 === n2 && 1 === i2 && (r2 >= 48 && r2 <= 57 || r2 >= 65 && r2 <= 90 || r2 >= 97 && r2 <= 122), a2 = this._tokens, l2 = this._tokenCount; + const s2 = n2 === 0 && i2 === 1 && (r2 >= 48 && r2 <= 57 || r2 >= 65 && r2 <= 90 || r2 >= 97 && r2 <= 122), a2 = this._tokens, l2 = this._tokenCount; for (let r3 = 0; r3 < l2; r3++) { const l3 = 4 * r3; let c2 = a2[l3], d2 = a2[l3 + 1], h2 = a2[l3 + 2]; @@ -37008,12 +37008,12 @@ ${Object(zn.b)(wi)} continue; h2 += 1; } else if (c2 === e2 && d2 < t2 && t2 < h2) - 0 === n2 ? h2 += i2 : h2 = t2; + n2 === 0 ? h2 += i2 : h2 = t2; else { if (c2 === e2 && d2 === t2 && s2) continue; if (c2 === e2) - if (c2 += n2, 0 === n2) + if (c2 += n2, n2 === 0) d2 += i2, h2 += i2; else { const e3 = h2 - d2; @@ -37099,7 +37099,7 @@ ${Object(zn.b)(wi)} } } _acceptInsertText(e2, t2, n2, i2, o2) { - if (0 === t2 && 0 === n2) + if (t2 === 0 && n2 === 0) return; const r2 = e2.lineNumber - this.startLineNumber; if (r2 < 0) @@ -37162,7 +37162,7 @@ ${Object(zn.b)(wi)} } addSemanticTokens(e2, t2) { const n2 = this._pieces; - if (0 === n2.length) + if (n2.length === 0) return t2; const i2 = n2[b._findFirstPieceWithLine(n2, e2)].getLineTokens(e2); if (!i2) @@ -37220,33 +37220,33 @@ ${Object(zn.b)(wi)} } getTokens(e2, t2, n2) { let i2 = null; - if (t2 < this._len && (i2 = this._lineTokens[t2]), null !== i2 && i2 !== d) + if (t2 < this._len && (i2 = this._lineTokens[t2]), i2 !== null && i2 !== d) return new o.a(f(i2), n2); let r2 = new Uint32Array(2); return r2[0] = n2.length, r2[1] = c(e2), new o.a(r2, n2); } static _massageTokens(e2, t2, n2) { const i2 = n2 ? f(n2) : null; - if (0 === t2) { + if (t2 === 0) { let t3 = false; if (i2 && i2.length > 1 && (t3 = a.B.getLanguageId(i2[1]) !== e2), !t3) return d; } - if (!i2 || 0 === i2.length) { + if (!i2 || i2.length === 0) { const n3 = new Uint32Array(2); return n3[0] = t2, n3[1] = c(e2), n3.buffer; } - return i2[i2.length - 2] = t2, 0 === i2.byteOffset && i2.byteLength === i2.buffer.byteLength ? i2.buffer : i2; + return i2[i2.length - 2] = t2, i2.byteOffset === 0 && i2.byteLength === i2.buffer.byteLength ? i2.buffer : i2; } _ensureLine(e2) { for (; e2 >= this._len; ) this._lineTokens[this._len] = null, this._len++; } _deleteLines(e2, t2) { - 0 !== t2 && (e2 + t2 > this._len && (t2 = this._len - e2), this._lineTokens.splice(e2, t2), this._len -= t2); + t2 !== 0 && (e2 + t2 > this._len && (t2 = this._len - e2), this._lineTokens.splice(e2, t2), this._len -= t2); } _insertLines(e2, t2) { - if (0 === t2) + if (t2 === 0) return; let n2 = []; for (let e3 = 0; e3 < t2; e3++) @@ -37288,25 +37288,25 @@ ${Object(zn.b)(wi)} n2 < this._len && (i2 = _._deleteBeginning(this._lineTokens[n2], e2.endColumn - 1)), this._lineTokens[t2] = _._append(this._lineTokens[t2], i2), this._deleteLines(e2.startLineNumber, e2.endLineNumber - e2.startLineNumber); } _acceptInsertText(e2, t2, n2) { - if (0 === t2 && 0 === n2) + if (t2 === 0 && n2 === 0) return; const i2 = e2.lineNumber - 1; - i2 >= this._len || (0 !== t2 ? (this._lineTokens[i2] = _._deleteEnding(this._lineTokens[i2], e2.column - 1), this._lineTokens[i2] = _._insert(this._lineTokens[i2], e2.column - 1, n2), this._insertLines(e2.lineNumber, t2)) : this._lineTokens[i2] = _._insert(this._lineTokens[i2], e2.column - 1, n2)); + i2 >= this._len || (t2 !== 0 ? (this._lineTokens[i2] = _._deleteEnding(this._lineTokens[i2], e2.column - 1), this._lineTokens[i2] = _._insert(this._lineTokens[i2], e2.column - 1, n2), this._insertLines(e2.lineNumber, t2)) : this._lineTokens[i2] = _._insert(this._lineTokens[i2], e2.column - 1, n2)); } static _deleteBeginning(e2, t2) { - return null === e2 || e2 === d ? e2 : _._delete(e2, 0, t2); + return e2 === null || e2 === d ? e2 : _._delete(e2, 0, t2); } static _deleteEnding(e2, t2) { - if (null === e2 || e2 === d) + if (e2 === null || e2 === d) return e2; const n2 = f(e2), i2 = n2[n2.length - 2]; return _._delete(e2, t2, i2); } static _delete(e2, t2, n2) { - if (null === e2 || e2 === d || t2 === n2) + if (e2 === null || e2 === d || t2 === n2) return e2; const i2 = f(e2), r2 = i2.length >>> 1; - if (0 === t2 && i2[i2.length - 2] === n2) + if (t2 === 0 && i2[i2.length - 2] === n2) return d; const s2 = o.a.findIndexInTokensArray(i2, t2), a2 = s2 > 0 ? i2[s2 - 1 << 1] : 0; if (n2 < i2[s2 << 1]) { @@ -37332,9 +37332,9 @@ ${Object(zn.b)(wi)} return e2; if (e2 === d) return t2; - if (null === e2) + if (e2 === null) return e2; - if (null === t2) + if (t2 === null) return null; const n2 = f(e2), i2 = f(t2), o2 = i2.length >>> 1; let r2 = new Uint32Array(n2.length + i2.length); @@ -37346,7 +37346,7 @@ ${Object(zn.b)(wi)} return r2.buffer; } static _insert(e2, t2, n2) { - if (null === e2 || e2 === d) + if (e2 === null || e2 === d) return e2; const i2 = f(e2), r2 = i2.length >>> 1; let s2 = o.a.findIndexInTokensArray(i2, t2); @@ -37402,7 +37402,7 @@ ${Object(zn.b)(wi)} var d = n(22), h = n(117), u = n(75), p = n(39); class m { static indent(e2, t2, n2) { - if (null === t2 || null === n2) + if (t2 === null || n2 === null) return []; let i2 = []; for (let t3 = 0, o2 = n2.length; t3 < o2; t3++) @@ -37443,12 +37443,12 @@ ${Object(zn.b)(wi)} static _distributePasteToCursors(e2, t2, n2, i2, o2) { if (i2) return null; - if (1 === t2.length) + if (t2.length === 1) return null; if (o2 && o2.length === t2.length) return o2; - if ("spread" === e2.multiCursorPaste) { - 10 === n2.charCodeAt(n2.length - 1) && (n2 = n2.substr(0, n2.length - 1)), 13 === n2.charCodeAt(n2.length - 1) && (n2 = n2.substr(0, n2.length - 1)); + if (e2.multiCursorPaste === "spread") { + n2.charCodeAt(n2.length - 1) === 10 && (n2 = n2.substr(0, n2.length - 1)), n2.charCodeAt(n2.length - 1) === 13 && (n2 = n2.substr(0, n2.length - 1)); let e3 = n2.split(/\r\n|\r|\n/); if (e3.length === t2.length) return e3; @@ -37507,7 +37507,7 @@ ${Object(zn.b)(wi)} } else { if (c3.startLineNumber === c3.endLineNumber) { let n3 = t2.getLineMaxColumn(c3.startLineNumber); - if (1 !== c3.startColumn || c3.endColumn !== n3) { + if (c3.startColumn !== 1 || c3.endColumn !== n3) { i2[l2] = this._replaceJumpToNextIndent(e2, t2, c3, false); continue; } @@ -37528,15 +37528,15 @@ ${Object(zn.b)(wi)} const c2 = t4.getPosition(), d2 = Math.max(1, c2.column - s2), h2 = new a.a(c2.lineNumber, d2, c2.lineNumber, c2.column); n2.getValueInRange(h2) !== o2 ? l2[e3] = new r.a(h2, o2) : l2[e3] = null; } - return new d.e(1, l2, {shouldPushStackElementBefore: 1 !== e2, shouldPushStackElementAfter: false}); + return new d.e(1, l2, {shouldPushStackElementBefore: e2 !== 1, shouldPushStackElementAfter: false}); } static _typeCommand(e2, t2, n2) { return n2 ? new r.e(e2, t2, true) : new r.a(e2, t2, true); } static _enter(e2, t2, n2, i2) { - if (0 === e2.autoIndent) + if (e2.autoIndent === 0) return m._typeCommand(i2, "\n", n2); - if (!t2.isCheapToTokenize(i2.getStartPosition().lineNumber) || 1 === e2.autoIndent) { + if (!t2.isCheapToTokenize(i2.getStartPosition().lineNumber) || e2.autoIndent === 1) { let r2 = t2.getLineContent(i2.startLineNumber), s3 = o.z(r2).substring(0, i2.startColumn - 1); return m._typeCommand(i2, "\n" + e2.normalizeIndentation(s3), n2); } @@ -37584,16 +37584,16 @@ ${Object(zn.b)(wi)} } static _runAutoIndentType(e2, t2, n2, i2) { const o2 = p.a.getIndentationAtPosition(t2, n2.startLineNumber, n2.startColumn), r2 = p.a.getIndentActionForType(e2.autoIndent, t2, n2, i2, {shiftIndent: (t3) => m.shiftIndent(e2, t3), unshiftIndent: (t3) => m.unshiftIndent(e2, t3)}); - if (null === r2) + if (r2 === null) return null; if (r2 !== e2.normalizeIndentation(o2)) { const o3 = t2.getLineFirstNonWhitespaceColumn(n2.startLineNumber); - return 0 === o3 ? m._typeCommand(new a.a(n2.startLineNumber, 0, n2.endLineNumber, n2.endColumn), e2.normalizeIndentation(r2) + i2, false) : m._typeCommand(new a.a(n2.startLineNumber, 0, n2.endLineNumber, n2.endColumn), e2.normalizeIndentation(r2) + t2.getLineContent(n2.startLineNumber).substring(o3 - 1, n2.startColumn - 1) + i2, false); + return o3 === 0 ? m._typeCommand(new a.a(n2.startLineNumber, 0, n2.endLineNumber, n2.endColumn), e2.normalizeIndentation(r2) + i2, false) : m._typeCommand(new a.a(n2.startLineNumber, 0, n2.endLineNumber, n2.endColumn), e2.normalizeIndentation(r2) + t2.getLineContent(n2.startLineNumber).substring(o3 - 1, n2.startColumn - 1) + i2, false); } return null; } static _isAutoClosingOvertype(e2, t2, n2, i2, o2) { - if ("never" === e2.autoClosingOvertype) + if (e2.autoClosingOvertype === "never") return false; if (!e2.autoClosingPairsClose2.has(o2)) return false; @@ -37605,9 +37605,9 @@ ${Object(zn.b)(wi)} if (l2.charAt(a2.column - 1) !== o2) return false; const c2 = Object(d.g)(o2); - if (92 === (a2.column > 2 ? l2.charCodeAt(a2.column - 2) : 0) && c2) + if ((a2.column > 2 ? l2.charCodeAt(a2.column - 2) : 0) === 92 && c2) return false; - if ("auto" === e2.autoClosingOvertype) { + if (e2.autoClosingOvertype === "auto") { let e3 = false; for (let t3 = 0, n3 = i2.length; t3 < n3; t3++) { const n4 = i2[t3]; @@ -37628,7 +37628,7 @@ ${Object(zn.b)(wi)} const t4 = i2[e3].getPosition(), n3 = new a.a(t4.lineNumber, t4.column, t4.lineNumber, t4.column + 1); s2[e3] = new r.a(n3, o2); } - return new d.e(1, s2, {shouldPushStackElementBefore: 1 !== e2, shouldPushStackElementAfter: false}); + return new d.e(1, s2, {shouldPushStackElementBefore: e2 !== 1, shouldPushStackElementAfter: false}); } static _autoClosingPairIsSymmetric(e2) { const {open: t2, close: n2} = e2; @@ -37652,7 +37652,7 @@ ${Object(zn.b)(wi)} return null; let r2 = null; for (const e3 of o2) - if (null === r2 || e3.open.length > r2.open.length) { + if (r2 === null || e3.open.length > r2.open.length) { let o3 = true; for (const r3 of n2) { if (t2.getValueInRange(new a.a(r3.lineNumber, r3.column - e3.open.length + 1, r3.lineNumber, r3.column)) + i2 !== e3.open) { @@ -37666,7 +37666,7 @@ ${Object(zn.b)(wi)} } static _isAutoClosingOpenCharType(e2, t2, n2, o2, r2) { const s2 = Object(d.g)(o2), a2 = s2 ? e2.autoClosingQuotes : e2.autoClosingBrackets; - if ("never" === a2) + if (a2 === "never") return null; const l2 = this._findAutoClosingPairOpen(e2, t2, n2.map((e3) => e3.getPosition()), o2); if (!l2) @@ -37684,11 +37684,11 @@ ${Object(zn.b)(wi)} } if (!t2.isCheapToTokenize(u2.lineNumber)) return null; - if (1 === l2.open.length && s2 && "always" !== a2) { + if (l2.open.length === 1 && s2 && a2 !== "always") { const t3 = Object(h.a)(e2.wordSeparators); - if (r2 && u2.column > 1 && 0 === t3.get(g2.charCodeAt(u2.column - 2))) + if (r2 && u2.column > 1 && t3.get(g2.charCodeAt(u2.column - 2)) === 0) return null; - if (!r2 && u2.column > 2 && 0 === t3.get(g2.charCodeAt(u2.column - 3))) + if (!r2 && u2.column > 2 && t3.get(g2.charCodeAt(u2.column - 3)) === 0) return null; } t2.forceTokenization(u2.lineNumber); @@ -37713,7 +37713,7 @@ ${Object(zn.b)(wi)} return new d.e(1, a2, {shouldPushStackElementBefore: true, shouldPushStackElementAfter: false}); } static _shouldSurroundChar(e2, t2) { - return Object(d.g)(t2) ? "quotes" === e2.autoSurround || "languageDefined" === e2.autoSurround : "brackets" === e2.autoSurround || "languageDefined" === e2.autoSurround; + return Object(d.g)(t2) ? e2.autoSurround === "quotes" || e2.autoSurround === "languageDefined" : e2.autoSurround === "brackets" || e2.autoSurround === "languageDefined"; } static _isSurroundSelectionType(e2, t2, n2, i2) { if (!m._shouldSurroundChar(e2, i2) || !e2.surroundingPairs.hasOwnProperty(i2)) @@ -37750,7 +37750,7 @@ ${Object(zn.b)(wi)} return new d.e(0, r2, {shouldPushStackElementBefore: true, shouldPushStackElementAfter: true}); } static _isTypeInterceptorElectricChar(e2, t2, n2) { - return !(1 !== n2.length || !t2.isCheapToTokenize(n2[0].getEndPosition().lineNumber)); + return !(n2.length !== 1 || !t2.isCheapToTokenize(n2[0].getEndPosition().lineNumber)); } static _typeInterceptorElectricChar(e2, t2, n2, s2, l2) { if (!t2.electricChars.hasOwnProperty(l2) || !s2.isEmpty()) @@ -37785,7 +37785,7 @@ ${Object(zn.b)(wi)} if (!e3.isEmpty()) return null; const t3 = e3.getPosition(), i3 = n2.getValueInRange(new a.a(t3.lineNumber, t3.column - 1, t3.lineNumber, t3.column)); - if (null === c2) + if (c2 === null) c2 = i3; else if (c2 !== i3) return null; @@ -37800,7 +37800,7 @@ ${Object(zn.b)(wi)} return h2 ? this._runAutoClosingOpenCharType(e2, t2, n2, o2, c2, false, h2) : null; } static typeWithInterceptors(e2, t2, n2, i2, o2, s2, a2) { - if (!e2 && "\n" === a2) { + if (!e2 && a2 === "\n") { let e3 = []; for (let t3 = 0, r2 = o2.length; t3 < r2; t3++) e3[t3] = m._enter(n2, i2, false, o2[t3]); @@ -37833,22 +37833,22 @@ ${Object(zn.b)(wi)} let l2 = []; for (let e3 = 0, t3 = o2.length; e3 < t3; e3++) l2[e3] = new r.a(o2[e3], a2); - let c2 = 1 !== t2; - return " " === a2 && (c2 = true), new d.e(1, l2, {shouldPushStackElementBefore: c2, shouldPushStackElementAfter: false}); + let c2 = t2 !== 1; + return a2 === " " && (c2 = true), new d.e(1, l2, {shouldPushStackElementBefore: c2, shouldPushStackElementAfter: false}); } static typeWithoutInterceptors(e2, t2, n2, i2, o2) { let s2 = []; for (let e3 = 0, t3 = i2.length; e3 < t3; e3++) s2[e3] = new r.a(i2[e3], o2); - return new d.e(1, s2, {shouldPushStackElementBefore: 1 !== e2, shouldPushStackElementAfter: false}); + return new d.e(1, s2, {shouldPushStackElementBefore: e2 !== 1, shouldPushStackElementAfter: false}); } static lineInsertBefore(e2, t2, n2) { - if (null === t2 || null === n2) + if (t2 === null || n2 === null) return []; let i2 = []; for (let o2 = 0, s2 = n2.length; o2 < s2; o2++) { let s3 = n2[o2].positionLineNumber; - if (1 === s3) + if (s3 === 1) i2[o2] = new r.e(new a.a(1, 1, 1, 1), "\n"); else { s3--; @@ -37859,7 +37859,7 @@ ${Object(zn.b)(wi)} return i2; } static lineInsertAfter(e2, t2, n2) { - if (null === t2 || null === n2) + if (t2 === null || n2 === null) return []; let i2 = []; for (let o2 = 0, r2 = n2.length; o2 < r2; o2++) { @@ -37919,14 +37919,14 @@ ${Object(zn.b)(wi)} return this._finishDeduceEditorPosition(this.selectionEndPosition, t3, 1); } const t2 = this.value.substring(this.selectionStart, e2); - if (-1 === t2.indexOf(String.fromCharCode(8230))) + if (t2.indexOf(String.fromCharCode(8230)) === -1) return this._finishDeduceEditorPosition(this.selectionStartPosition, t2, 1); const n2 = this.value.substring(e2, this.selectionEnd); return this._finishDeduceEditorPosition(this.selectionEndPosition, n2, -1); } _finishDeduceEditorPosition(e2, t2, n2) { let i2 = 0, o2 = -1; - for (; -1 !== (o2 = t2.indexOf("\n", o2 + 1)); ) + for (; (o2 = t2.indexOf("\n", o2 + 1)) !== -1; ) i2++; return [e2, n2 * t2.length, i2]; } @@ -37942,11 +37942,11 @@ ${Object(zn.b)(wi)} const p = o2.substring(0, r2), m = a2.substring(0, l), g = i.d(p, m); if (a2 = a2.substring(g), o2 = o2.substring(g), l -= g, r2 -= g, c -= g, s2 -= g, n2 && l === c && o2.length > 0) { let e3 = null; - if (l === a2.length ? i.S(a2, o2) && (e3 = a2.substring(o2.length)) : i.s(a2, o2) && (e3 = a2.substring(0, a2.length - o2.length)), null !== e3 && e3.length > 0 && (/\uFE0F/.test(e3) || i.k(e3))) + if (l === a2.length ? i.S(a2, o2) && (e3 = a2.substring(o2.length)) : i.s(a2, o2) && (e3 = a2.substring(0, a2.length - o2.length)), e3 !== null && e3.length > 0 && (/\uFE0F/.test(e3) || i.k(e3))) return {text: e3, replaceCharCnt: 0}; } if (l === c) { - if (o2 === a2 && 0 === r2 && s2 === o2.length && l === a2.length && -1 === a2.indexOf("\n") && i.l(a2)) + if (o2 === a2 && r2 === 0 && s2 === o2.length && l === a2.length && a2.indexOf("\n") === -1 && i.l(a2)) return {text: "", replaceCharCnt: 0}; return {text: a2, replaceCharCnt: p.length - g}; } @@ -38095,7 +38095,7 @@ ${Object(zn.b)(wi)} } }(); function v(e2) { - return f.test(e2) ? i.a("config.property.languageDefault", "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", e2) : void 0 !== _.getConfigurationProperties()[e2] ? i.a("config.property.duplicate", "Cannot register '{0}'. This property is already registered.", e2) : null; + return f.test(e2) ? i.a("config.property.languageDefault", "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", e2) : _.getConfigurationProperties()[e2] !== void 0 ? i.a("config.property.duplicate", "Cannot register '{0}'. This property is already registered.", e2) : null; } r.a.add(l.Configuration, _); }, function(e, t, n) { @@ -38118,28 +38118,28 @@ ${Object(zn.b)(wi)} let i2 = 0; for (let o2 = n2.column - 2; o2 >= 0; o2--) { let n3 = e2.charCodeAt(o2), r2 = t2.get(n3); - if (0 === r2) { - if (2 === i2) + if (r2 === 0) { + if (i2 === 2) return this._createWord(e2, i2, r2, o2 + 1, this._findEndOfWord(e2, t2, i2, o2 + 1)); i2 = 1; - } else if (2 === r2) { - if (1 === i2) + } else if (r2 === 2) { + if (i2 === 1) return this._createWord(e2, i2, r2, o2 + 1, this._findEndOfWord(e2, t2, i2, o2 + 1)); i2 = 2; - } else if (1 === r2 && 0 !== i2) + } else if (r2 === 1 && i2 !== 0) return this._createWord(e2, i2, r2, o2 + 1, this._findEndOfWord(e2, t2, i2, o2 + 1)); } - return 0 !== i2 ? this._createWord(e2, i2, 1, 0, this._findEndOfWord(e2, t2, i2, 0)) : null; + return i2 !== 0 ? this._createWord(e2, i2, 1, 0, this._findEndOfWord(e2, t2, i2, 0)) : null; } static _findEndOfWord(e2, t2, n2, i2) { let o2 = e2.length; for (let r2 = i2; r2 < o2; r2++) { let i3 = e2.charCodeAt(r2), o3 = t2.get(i3); - if (1 === o3) + if (o3 === 1) return r2; - if (1 === n2 && 2 === o3) + if (n2 === 1 && o3 === 2) return r2; - if (2 === n2 && 0 === o3) + if (n2 === 2 && o3 === 0) return r2; } return o2; @@ -38152,41 +38152,41 @@ ${Object(zn.b)(wi)} let i2 = 0, o2 = e2.length; for (let r2 = n2.column - 1; r2 < o2; r2++) { let n3 = e2.charCodeAt(r2), o3 = t2.get(n3); - if (0 === o3) { - if (2 === i2) + if (o3 === 0) { + if (i2 === 2) return this._createWord(e2, i2, o3, this._findStartOfWord(e2, t2, i2, r2 - 1), r2); i2 = 1; - } else if (2 === o3) { - if (1 === i2) + } else if (o3 === 2) { + if (i2 === 1) return this._createWord(e2, i2, o3, this._findStartOfWord(e2, t2, i2, r2 - 1), r2); i2 = 2; - } else if (1 === o3 && 0 !== i2) + } else if (o3 === 1 && i2 !== 0) return this._createWord(e2, i2, o3, this._findStartOfWord(e2, t2, i2, r2 - 1), r2); } - return 0 !== i2 ? this._createWord(e2, i2, 1, this._findStartOfWord(e2, t2, i2, o2 - 1), o2) : null; + return i2 !== 0 ? this._createWord(e2, i2, 1, this._findStartOfWord(e2, t2, i2, o2 - 1), o2) : null; } static _findStartOfWord(e2, t2, n2, i2) { for (let o2 = i2; o2 >= 0; o2--) { let i3 = e2.charCodeAt(o2), r2 = t2.get(i3); - if (1 === r2) + if (r2 === 1) return o2 + 1; - if (1 === n2 && 2 === r2) + if (n2 === 1 && r2 === 2) return o2 + 1; - if (2 === n2 && 0 === r2) + if (n2 === 2 && r2 === 0) return o2 + 1; } return 0; } static moveWordLeft(e2, t2, n2, i2) { let o2 = n2.lineNumber, r2 = n2.column; - 1 === r2 && o2 > 1 && (o2 -= 1, r2 = t2.getLineMaxColumn(o2)); + r2 === 1 && o2 > 1 && (o2 -= 1, r2 = t2.getLineMaxColumn(o2)); let a2 = l._findPreviousWordOnLine(e2, t2, new s.a(o2, r2)); - if (0 === i2) + if (i2 === 0) return new s.a(o2, a2 ? a2.start + 1 : 1); - if (1 === i2) - return a2 && 2 === a2.wordType && a2.end - a2.start == 1 && 0 === a2.nextCharClass && (a2 = l._findPreviousWordOnLine(e2, t2, new s.a(o2, a2.start + 1))), new s.a(o2, a2 ? a2.start + 1 : 1); - if (3 === i2) { - for (; a2 && 2 === a2.wordType; ) + if (i2 === 1) + return a2 && a2.wordType === 2 && a2.end - a2.start == 1 && a2.nextCharClass === 0 && (a2 = l._findPreviousWordOnLine(e2, t2, new s.a(o2, a2.start + 1))), new s.a(o2, a2 ? a2.start + 1 : 1); + if (i2 === 3) { + for (; a2 && a2.wordType === 2; ) a2 = l._findPreviousWordOnLine(e2, t2, new s.a(o2, a2.start + 1)); return new s.a(o2, a2 ? a2.start + 1 : 1); } @@ -38194,12 +38194,12 @@ ${Object(zn.b)(wi)} } static _moveWordPartLeft(e2, t2) { const n2 = t2.lineNumber, o2 = e2.getLineMaxColumn(n2); - if (1 === t2.column) + if (t2.column === 1) return n2 > 1 ? new s.a(n2 - 1, e2.getLineMaxColumn(n2 - 1)) : t2; const r2 = e2.getLineContent(n2); for (let e3 = t2.column - 1; e3 > 1; e3--) { const t3 = r2.charCodeAt(e3 - 2), a2 = r2.charCodeAt(e3 - 1); - if (95 === t3 && 95 !== a2) + if (t3 === 95 && a2 !== 95) return new s.a(n2, e3); if (i.H(t3) && i.I(a2)) return new s.a(n2, e3); @@ -38215,10 +38215,10 @@ ${Object(zn.b)(wi)} let o2 = n2.lineNumber, r2 = n2.column, a2 = false; r2 === t2.getLineMaxColumn(o2) && o2 < t2.getLineCount() && (a2 = true, o2 += 1, r2 = 1); let c2 = l._findNextWordOnLine(e2, t2, new s.a(o2, r2)); - if (2 === i2) - c2 && 2 === c2.wordType && c2.end - c2.start == 1 && 0 === c2.nextCharClass && (c2 = l._findNextWordOnLine(e2, t2, new s.a(o2, c2.end + 1))), r2 = c2 ? c2.end + 1 : t2.getLineMaxColumn(o2); - else if (3 === i2) { - for (a2 && (r2 = 0); c2 && (2 === c2.wordType || c2.start + 1 <= r2); ) + if (i2 === 2) + c2 && c2.wordType === 2 && c2.end - c2.start == 1 && c2.nextCharClass === 0 && (c2 = l._findNextWordOnLine(e2, t2, new s.a(o2, c2.end + 1))), r2 = c2 ? c2.end + 1 : t2.getLineMaxColumn(o2); + else if (i2 === 3) { + for (a2 && (r2 = 0); c2 && (c2.wordType === 2 || c2.start + 1 <= r2); ) c2 = l._findNextWordOnLine(e2, t2, new s.a(o2, c2.end + 1)); r2 = c2 ? c2.start + 1 : t2.getLineMaxColumn(o2); } else @@ -38232,7 +38232,7 @@ ${Object(zn.b)(wi)} const r2 = e2.getLineContent(n2); for (let e3 = t2.column + 1; e3 < o2; e3++) { const t3 = r2.charCodeAt(e3 - 2), a2 = r2.charCodeAt(e3 - 1); - if (95 !== t3 && 95 === a2) + if (t3 !== 95 && a2 === 95) return new s.a(n2, e3); if (i.H(t3) && i.I(a2)) return new s.a(n2, e3); @@ -38253,7 +38253,7 @@ ${Object(zn.b)(wi)} return n2; const r2 = new s.a(n2.positionLineNumber, n2.positionColumn); let c2 = r2.lineNumber, d2 = r2.column; - if (1 === c2 && 1 === d2) + if (c2 === 1 && d2 === 1) return null; if (i2) { let e3 = this._deleteWordLeftWhitespace(t2, r2); @@ -38261,7 +38261,7 @@ ${Object(zn.b)(wi)} return e3; } let h = l._findPreviousWordOnLine(e2, t2, r2); - return 0 === o2 ? h ? d2 = h.start + 1 : d2 > 1 ? d2 = 1 : (c2--, d2 = t2.getLineMaxColumn(c2)) : (h && d2 <= h.end + 1 && (h = l._findPreviousWordOnLine(e2, t2, new s.a(c2, h.start + 1))), h ? d2 = h.end + 1 : d2 > 1 ? d2 = 1 : (c2--, d2 = t2.getLineMaxColumn(c2))), new a.a(c2, d2, r2.lineNumber, r2.column); + return o2 === 0 ? h ? d2 = h.start + 1 : d2 > 1 ? d2 = 1 : (c2--, d2 = t2.getLineMaxColumn(c2)) : (h && d2 <= h.end + 1 && (h = l._findPreviousWordOnLine(e2, t2, new s.a(c2, h.start + 1))), h ? d2 = h.end + 1 : d2 > 1 ? d2 = 1 : (c2--, d2 = t2.getLineMaxColumn(c2))), new a.a(c2, d2, r2.lineNumber, r2.column); } static _deleteWordPartLeft(e2, t2) { if (!t2.isEmpty()) @@ -38273,7 +38273,7 @@ ${Object(zn.b)(wi)} let n2 = e2.length; for (let i2 = t2; i2 < n2; i2++) { let t3 = e2.charAt(i2); - if (" " !== t3 && " " !== t3) + if (t3 !== " " && t3 !== " ") return i2; } return n2; @@ -38296,7 +38296,7 @@ ${Object(zn.b)(wi)} return e3; } let p = l._findNextWordOnLine(e2, t2, r2); - return 2 === o2 ? p ? d2 = p.end + 1 : d2 < u || c2 === h ? d2 = u : (c2++, p = l._findNextWordOnLine(e2, t2, new s.a(c2, 1)), d2 = p ? p.start + 1 : t2.getLineMaxColumn(c2)) : (p && d2 >= p.start + 1 && (p = l._findNextWordOnLine(e2, t2, new s.a(c2, p.end + 1))), p ? d2 = p.start + 1 : d2 < u || c2 === h ? d2 = u : (c2++, p = l._findNextWordOnLine(e2, t2, new s.a(c2, 1)), d2 = p ? p.start + 1 : t2.getLineMaxColumn(c2))), new a.a(c2, d2, r2.lineNumber, r2.column); + return o2 === 2 ? p ? d2 = p.end + 1 : d2 < u || c2 === h ? d2 = u : (c2++, p = l._findNextWordOnLine(e2, t2, new s.a(c2, 1)), d2 = p ? p.start + 1 : t2.getLineMaxColumn(c2)) : (p && d2 >= p.start + 1 && (p = l._findNextWordOnLine(e2, t2, new s.a(c2, p.end + 1))), p ? d2 = p.start + 1 : d2 < u || c2 === h ? d2 = u : (c2++, p = l._findNextWordOnLine(e2, t2, new s.a(c2, 1)), d2 = p ? p.start + 1 : t2.getLineMaxColumn(c2))), new a.a(c2, d2, r2.lineNumber, r2.column); } static _deleteWordPartRight(e2, t2) { if (!t2.isEmpty()) @@ -38310,19 +38310,19 @@ ${Object(zn.b)(wi)} } static getWordAtPosition(e2, t2, n2) { const i2 = Object(r.a)(t2), o2 = l._findPreviousWordOnLine(i2, e2, n2); - if (o2 && 1 === o2.wordType && o2.start <= n2.column - 1 && n2.column - 1 <= o2.end) + if (o2 && o2.wordType === 1 && o2.start <= n2.column - 1 && n2.column - 1 <= o2.end) return l._createWordAtPosition(e2, n2.lineNumber, o2); const s2 = l._findNextWordOnLine(i2, e2, n2); - return s2 && 1 === s2.wordType && s2.start <= n2.column - 1 && n2.column - 1 <= s2.end ? l._createWordAtPosition(e2, n2.lineNumber, s2) : null; + return s2 && s2.wordType === 1 && s2.start <= n2.column - 1 && n2.column - 1 <= s2.end ? l._createWordAtPosition(e2, n2.lineNumber, s2) : null; } static word(e2, t2, n2, i2, c2) { const d2 = Object(r.a)(e2.wordSeparators); let h, u, p = l._findPreviousWordOnLine(d2, t2, c2), m = l._findNextWordOnLine(d2, t2, c2); if (!i2) { let e3, n3; - return p && 1 === p.wordType && p.start <= c2.column - 1 && c2.column - 1 <= p.end ? (e3 = p.start + 1, n3 = p.end + 1) : m && 1 === m.wordType && m.start <= c2.column - 1 && c2.column - 1 <= m.end ? (e3 = m.start + 1, n3 = m.end + 1) : (e3 = p ? p.end + 1 : 1, n3 = m ? m.start + 1 : t2.getLineMaxColumn(c2.lineNumber)), new o.f(new a.a(c2.lineNumber, e3, c2.lineNumber, n3), 0, new s.a(c2.lineNumber, n3), 0); + return p && p.wordType === 1 && p.start <= c2.column - 1 && c2.column - 1 <= p.end ? (e3 = p.start + 1, n3 = p.end + 1) : m && m.wordType === 1 && m.start <= c2.column - 1 && c2.column - 1 <= m.end ? (e3 = m.start + 1, n3 = m.end + 1) : (e3 = p ? p.end + 1 : 1, n3 = m ? m.start + 1 : t2.getLineMaxColumn(c2.lineNumber)), new o.f(new a.a(c2.lineNumber, e3, c2.lineNumber, n3), 0, new s.a(c2.lineNumber, n3), 0); } - p && 1 === p.wordType && p.start < c2.column - 1 && c2.column - 1 < p.end ? (h = p.start + 1, u = p.end + 1) : m && 1 === m.wordType && m.start < c2.column - 1 && c2.column - 1 < m.end ? (h = m.start + 1, u = m.end + 1) : (h = c2.column, u = c2.column); + p && p.wordType === 1 && p.start < c2.column - 1 && c2.column - 1 < p.end ? (h = p.start + 1, u = p.end + 1) : m && m.wordType === 1 && m.start < c2.column - 1 && c2.column - 1 < m.end ? (h = m.start + 1, u = m.end + 1) : (h = c2.column, u = c2.column); let g, f = c2.lineNumber; if (n2.selectionStart.containsPosition(c2)) g = n2.selectionStart.endColumn; @@ -38399,7 +38399,7 @@ ${Object(zn.b)(wi)} getEditOperations(e2, t2) { const n2 = this._selection.startLineNumber; let s2 = this._selection.endLineNumber; - 1 === this._selection.endColumn && n2 !== s2 && (s2 -= 1); + this._selection.endColumn === 1 && n2 !== s2 && (s2 -= 1); const {tabSize: l2, indentSize: h, insertSpaces: u} = this._opts, p = n2 === s2; if (this._opts.useTabStops) { this._selection.isEmpty() && /^\s*$/.test(e2.getLineContent(n2)) && (this._useLastEditRangeForCursorEndPosition = true); @@ -38407,41 +38407,41 @@ ${Object(zn.b)(wi)} for (let g = n2; g <= s2; g++, c2 = m) { m = 0; let s3, f = e2.getLineContent(g), b = i.w(f); - if ((!this._opts.isUnshift || 0 !== f.length && 0 !== b) && (p || this._opts.isUnshift || 0 !== f.length)) { - if (-1 === b && (b = f.length), g > 1) { + if ((!this._opts.isUnshift || f.length !== 0 && b !== 0) && (p || this._opts.isUnshift || f.length !== 0)) { + if (b === -1 && (b = f.length), g > 1) { if (o.a.visibleColumnFromColumn(f, b + 1, l2) % h != 0 && e2.isCheapToTokenize(g - 1)) { let t3 = a.a.getEnterAction(this._opts.autoIndent, e2, new r.a(g - 1, e2.getLineMaxColumn(g - 1), g - 1, e2.getLineMaxColumn(g - 1))); if (t3) { if (m = c2, t3.appendText) - for (let e3 = 0, n3 = t3.appendText.length; e3 < n3 && m < h && 32 === t3.appendText.charCodeAt(e3); e3++) + for (let e3 = 0, n3 = t3.appendText.length; e3 < n3 && m < h && t3.appendText.charCodeAt(e3) === 32; e3++) m++; t3.removeText && (m = Math.max(0, m - t3.removeText)); - for (let e3 = 0; e3 < m && (0 !== b && 32 === f.charCodeAt(b - 1)); e3++) + for (let e3 = 0; e3 < m && (b !== 0 && f.charCodeAt(b - 1) === 32); e3++) b--; } } } - this._opts.isUnshift && 0 === b || (s3 = this._opts.isUnshift ? d.unshiftIndent(f, b + 1, l2, h, u) : d.shiftIndent(f, b + 1, l2, h, u), this._addEditOperation(t2, new r.a(g, 1, g, b + 1), s3), g !== n2 || this._selection.isEmpty() || (this._selectionStartColumnStaysPut = this._selection.startColumn <= b + 1)); + this._opts.isUnshift && b === 0 || (s3 = this._opts.isUnshift ? d.unshiftIndent(f, b + 1, l2, h, u) : d.shiftIndent(f, b + 1, l2, h, u), this._addEditOperation(t2, new r.a(g, 1, g, b + 1), s3), g !== n2 || this._selection.isEmpty() || (this._selectionStartColumnStaysPut = this._selection.startColumn <= b + 1)); } } } else { - !this._opts.isUnshift && this._selection.isEmpty() && 0 === e2.getLineLength(n2) && (this._useLastEditRangeForCursorEndPosition = true); + !this._opts.isUnshift && this._selection.isEmpty() && e2.getLineLength(n2) === 0 && (this._useLastEditRangeForCursorEndPosition = true); const o2 = u ? c(" ", h) : " "; for (let a2 = n2; a2 <= s2; a2++) { const s3 = e2.getLineContent(a2); let l3 = i.w(s3); - if ((!this._opts.isUnshift || 0 !== s3.length && 0 !== l3) && ((p || this._opts.isUnshift || 0 !== s3.length) && (-1 === l3 && (l3 = s3.length), !this._opts.isUnshift || 0 !== l3))) + if ((!this._opts.isUnshift || s3.length !== 0 && l3 !== 0) && ((p || this._opts.isUnshift || s3.length !== 0) && (l3 === -1 && (l3 = s3.length), !this._opts.isUnshift || l3 !== 0))) if (this._opts.isUnshift) { l3 = Math.min(l3, h); for (let e3 = 0; e3 < l3; e3++) { - if (9 === s3.charCodeAt(e3)) { + if (s3.charCodeAt(e3) === 9) { l3 = e3 + 1; break; } } this._addEditOperation(t2, new r.a(a2, 1, a2, l3 + 1), ""); } else - this._addEditOperation(t2, new r.a(a2, 1, a2, 1), o2), a2 !== n2 || this._selection.isEmpty() || (this._selectionStartColumnStaysPut = 1 === this._selection.startColumn); + this._addEditOperation(t2, new r.a(a2, 1, a2, 1), o2), a2 !== n2 || this._selection.isEmpty() || (this._selectionStartColumnStaysPut = this._selection.startColumn === 1); } } this._selectionId = t2.trackSelection(this._selection); @@ -38454,7 +38454,7 @@ ${Object(zn.b)(wi)} const n2 = t2.getTrackedSelection(this._selectionId); if (this._selectionStartColumnStaysPut) { let e3 = this._selection.startColumn; - return n2.startColumn <= e3 ? n2 : 0 === n2.getDirection() ? new s.a(n2.startLineNumber, e3, n2.endLineNumber, n2.endColumn) : new s.a(n2.endLineNumber, n2.endColumn, n2.startLineNumber, e3); + return n2.startColumn <= e3 ? n2 : n2.getDirection() === 0 ? new s.a(n2.startLineNumber, e3, n2.endLineNumber, n2.endColumn) : new s.a(n2.endLineNumber, n2.endColumn, n2.startLineNumber, e3); } return n2; } @@ -38475,7 +38475,7 @@ ${Object(zn.b)(wi)} function a() { return s || (s = new TextDecoder(o.e() ? "UTF-16LE" : "UTF-16BE")), s; } - const l = "undefined" != typeof TextDecoder; + const l = typeof TextDecoder != "undefined"; let c, d; l ? (c = (e2) => new h(e2), d = function(e2, t2, n2) { const i2 = new Uint16Array(e2.buffer, t2, n2); @@ -38496,21 +38496,21 @@ ${Object(zn.b)(wi)} this._completedStrings = null, this._bufferLength = 0; } build() { - return null !== this._completedStrings ? (this._flushBuffer(), this._completedStrings.join("")) : this._buildBuffer(); + return this._completedStrings !== null ? (this._flushBuffer(), this._completedStrings.join("")) : this._buildBuffer(); } _buildBuffer() { - if (0 === this._bufferLength) + if (this._bufferLength === 0) return ""; const e2 = new Uint16Array(this._buffer.buffer, 0, this._bufferLength); return a().decode(e2); } _flushBuffer() { const e2 = this._buildBuffer(); - this._bufferLength = 0, null === this._completedStrings ? this._completedStrings = [e2] : this._completedStrings[this._completedStrings.length] = e2; + this._bufferLength = 0, this._completedStrings === null ? this._completedStrings = [e2] : this._completedStrings[this._completedStrings.length] = e2; } write1(e2) { const t2 = this._capacity - this._bufferLength; - t2 <= 1 && (0 === t2 || i.F(e2)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e2; + t2 <= 1 && (t2 === 0 || i.F(e2)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e2; } appendASCII(e2) { this._bufferLength === this._capacity && this._flushBuffer(), this._buffer[this._bufferLength++] = e2; @@ -38572,7 +38572,7 @@ ${Object(zn.b)(wi)} this.providers = [], this.defaultProvider = void 0; } registerQuickAccessProvider(e2) { - return 0 === e2.prefix.length ? this.defaultProvider = e2 : this.providers.push(e2), this.providers.sort((e3, t2) => t2.prefix.length - e3.prefix.length), Object(s.h)(() => { + return e2.prefix.length === 0 ? this.defaultProvider = e2 : this.providers.push(e2), this.providers.sort((e3, t2) => t2.prefix.length - e3.prefix.length), Object(s.h)(() => { this.providers.splice(this.providers.indexOf(e2), 1), this.defaultProvider === e2 && (this.defaultProvider = void 0); }); } @@ -38670,7 +38670,7 @@ ${Object(zn.b)(wi)} } var k = n(125), E = n(162), T = n(44), L = n(71); function N(e2) { - return "object" == typeof e2 && "visibility" in e2 && "data" in e2; + return typeof e2 == "object" && "visibility" in e2 && "data" in e2; } function I(e2) { switch (e2) { @@ -38683,14 +38683,14 @@ ${Object(zn.b)(wi)} } } function O(e2) { - return "boolean" == typeof e2.collapsible; + return typeof e2.collapsible == "boolean"; } class D { constructor(e2, t2, n2, i2 = {}) { - this.user = e2, this.list = t2, this.rootRef = [], this.eventBufferer = new a.c(), this._onDidChangeCollapseState = new a.a(), this.onDidChangeCollapseState = this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event), this._onDidChangeRenderNodeCount = new a.a(), this.onDidChangeRenderNodeCount = this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event), this._onDidSplice = new a.a(), this.onDidSplice = this._onDidSplice.event, this.collapseByDefault = void 0 !== i2.collapseByDefault && i2.collapseByDefault, this.filter = i2.filter, this.autoExpandSingleChildren = void 0 !== i2.autoExpandSingleChildren && i2.autoExpandSingleChildren, this.root = {parent: void 0, element: n2, children: [], depth: 0, visibleChildrenCount: 0, visibleChildIndex: -1, collapsible: false, collapsed: false, renderNodeCount: 0, visibility: 1, visible: true, filterData: void 0}; + this.user = e2, this.list = t2, this.rootRef = [], this.eventBufferer = new a.c(), this._onDidChangeCollapseState = new a.a(), this.onDidChangeCollapseState = this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event), this._onDidChangeRenderNodeCount = new a.a(), this.onDidChangeRenderNodeCount = this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event), this._onDidSplice = new a.a(), this.onDidSplice = this._onDidSplice.event, this.collapseByDefault = i2.collapseByDefault !== void 0 && i2.collapseByDefault, this.filter = i2.filter, this.autoExpandSingleChildren = i2.autoExpandSingleChildren !== void 0 && i2.autoExpandSingleChildren, this.root = {parent: void 0, element: n2, children: [], depth: 0, visibleChildrenCount: 0, visibleChildIndex: -1, collapsible: false, collapsed: false, renderNodeCount: 0, visibility: 1, visible: true, filterData: void 0}; } splice(e2, t2, n2 = y.a.empty(), i2, o2) { - if (0 === e2.length) + if (e2.length === 0) throw new x(this.user, "Invalid tree location"); const {parentNode: r2, listIndex: s2, revealed: a2, visible: l2} = this.getParentNodeWithListIndex(e2), c2 = [], d2 = y.a.map(n2, (e3) => this.createTreeNode(e3, r2, r2.visible ? 1 : 0, a2, c2, i2)), h2 = e2[e2.length - 1]; let u2 = 0; @@ -38709,7 +38709,7 @@ ${Object(zn.b)(wi)} let b2 = 0; for (const e3 of f2) e3.visible && b2++; - if (0 !== b2) + if (b2 !== 0) for (let e3 = h2 + p2.length; e3 < r2.children.length; e3++) { const t3 = r2.children[e3]; t3.visible && (t3.visibleChildIndex -= b2); @@ -38727,7 +38727,7 @@ ${Object(zn.b)(wi)} this._onDidSplice.fire({insertedNodes: p2, deletedNodes: f2}); let _2 = r2; for (; _2; ) { - if (2 === _2.visibility) { + if (_2.visibility === 2) { this.refilter(); break; } @@ -38735,7 +38735,7 @@ ${Object(zn.b)(wi)} } } rerender(e2) { - if (0 === e2.length) + if (e2.length === 0) throw new x(this.user, "Invalid tree location"); const {node: t2, listIndex: n2, revealed: i2} = this.getTreeNodeWithListIndex(e2); t2.visible && i2 && this.list.splice(n2, 1, [t2]); @@ -38755,7 +38755,7 @@ ${Object(zn.b)(wi)} } setCollapsible(e2, t2) { const n2 = this.getTreeNode(e2); - void 0 === t2 && (t2 = !n2.collapsible); + t2 === void 0 && (t2 = !n2.collapsible); const i2 = {collapsible: t2}; return this.eventBufferer.bufferEvents(() => this._setCollapseState(e2, i2)); } @@ -38764,7 +38764,7 @@ ${Object(zn.b)(wi)} } setCollapsed(e2, t2, n2) { const i2 = this.getTreeNode(e2); - void 0 === t2 && (t2 = !i2.collapsed); + t2 === void 0 && (t2 = !i2.collapsed); const o2 = {collapsed: t2, recursive: n2 || false}; return this.eventBufferer.bufferEvents(() => this._setCollapseState(e2, o2)); } @@ -38789,7 +38789,7 @@ ${Object(zn.b)(wi)} const o2 = this._setNodeCollapseState(e2, i2, false); if (!n2 || !e2.visible || !o2) return o2; - const r2 = e2.renderNodeCount, s2 = this.updateNodeAfterCollapseChange(e2), a2 = r2 - (-1 === t2 ? 0 : 1); + const r2 = e2.renderNodeCount, s2 = this.updateNodeAfterCollapseChange(e2), a2 = r2 - (t2 === -1 ? 0 : 1); return this.list.splice(t2 + 1, a2, s2.slice(1)), o2; } _setNodeCollapseState(e2, t2, n2) { @@ -38811,20 +38811,20 @@ ${Object(zn.b)(wi)} this.list.splice(0, e2, t2); } createTreeNode(e2, t2, n2, i2, o2, r2) { - const s2 = {parent: t2, element: e2.element, children: [], depth: t2.depth + 1, visibleChildrenCount: 0, visibleChildIndex: -1, collapsible: "boolean" == typeof e2.collapsible ? e2.collapsible : void 0 !== e2.collapsed, collapsed: void 0 === e2.collapsed ? this.collapseByDefault : e2.collapsed, renderNodeCount: 1, visibility: 1, visible: true, filterData: void 0}, a2 = this._filterNode(s2, n2); + const s2 = {parent: t2, element: e2.element, children: [], depth: t2.depth + 1, visibleChildrenCount: 0, visibleChildIndex: -1, collapsible: typeof e2.collapsible == "boolean" ? e2.collapsible : e2.collapsed !== void 0, collapsed: e2.collapsed === void 0 ? this.collapseByDefault : e2.collapsed, renderNodeCount: 1, visibility: 1, visible: true, filterData: void 0}, a2 = this._filterNode(s2, n2); s2.visibility = a2, i2 && o2.push(s2); - const l2 = e2.children || y.a.empty(), c2 = i2 && 0 !== a2 && !s2.collapsed, d2 = y.a.map(l2, (e3) => this.createTreeNode(e3, s2, a2, c2, o2, r2)); + const l2 = e2.children || y.a.empty(), c2 = i2 && a2 !== 0 && !s2.collapsed, d2 = y.a.map(l2, (e3) => this.createTreeNode(e3, s2, a2, c2, o2, r2)); let h2 = 0, u2 = 1; for (const e3 of d2) s2.children.push(e3), u2 += e3.renderNodeCount, e3.visible && (e3.visibleChildIndex = h2++); - return s2.collapsible = s2.collapsible || s2.children.length > 0, s2.visibleChildrenCount = h2, s2.visible = 2 === a2 ? h2 > 0 : 1 === a2, s2.visible ? s2.collapsed || (s2.renderNodeCount = u2) : (s2.renderNodeCount = 0, i2 && o2.pop()), r2 && r2(s2), s2; + return s2.collapsible = s2.collapsible || s2.children.length > 0, s2.visibleChildrenCount = h2, s2.visible = a2 === 2 ? h2 > 0 : a2 === 1, s2.visible ? s2.collapsed || (s2.renderNodeCount = u2) : (s2.renderNodeCount = 0, i2 && o2.pop()), r2 && r2(s2), s2; } updateNodeAfterCollapseChange(e2) { const t2 = e2.renderNodeCount, n2 = []; return this._updateNodeAfterCollapseChange(e2, n2), this._updateAncestorsRenderNodeCount(e2.parent, n2.length - t2), n2; } _updateNodeAfterCollapseChange(e2, t2) { - if (false === e2.visible) + if (e2.visible === false) return 0; if (t2.push(e2), e2.renderNodeCount = 1, !e2.collapsed) for (const n2 of e2.children) @@ -38838,14 +38838,14 @@ ${Object(zn.b)(wi)} _updateNodeAfterFilterChange(e2, t2, n2, i2 = true) { let o2; if (e2 !== this.root) { - if (o2 = this._filterNode(e2, t2), 0 === o2) + if (o2 = this._filterNode(e2, t2), o2 === 0) return e2.visible = false, e2.renderNodeCount = 0, false; i2 && n2.push(e2); } const r2 = n2.length; e2.renderNodeCount = e2 === this.root ? 0 : 1; let s2 = false; - if (e2.collapsed && 0 === o2) + if (e2.collapsed && o2 === 0) e2.visibleChildrenCount = 0; else { let t3 = 0; @@ -38853,25 +38853,25 @@ ${Object(zn.b)(wi)} s2 = this._updateNodeAfterFilterChange(r3, o2, n2, i2 && !e2.collapsed) || s2, r3.visible && (r3.visibleChildIndex = t3++); e2.visibleChildrenCount = t3; } - return e2 !== this.root && (e2.visible = 2 === o2 ? s2 : 1 === o2), e2.visible ? e2.collapsed || (e2.renderNodeCount += n2.length - r2) : (e2.renderNodeCount = 0, i2 && n2.pop()), this._onDidChangeRenderNodeCount.fire(e2), e2.visible; + return e2 !== this.root && (e2.visible = o2 === 2 ? s2 : o2 === 1), e2.visible ? e2.collapsed || (e2.renderNodeCount += n2.length - r2) : (e2.renderNodeCount = 0, i2 && n2.pop()), this._onDidChangeRenderNodeCount.fire(e2), e2.visible; } _updateAncestorsRenderNodeCount(e2, t2) { - if (0 !== t2) + if (t2 !== 0) for (; e2; ) e2.renderNodeCount += t2, this._onDidChangeRenderNodeCount.fire(e2), e2 = e2.parent; } _filterNode(e2, t2) { const n2 = this.filter ? this.filter.filter(e2.element, t2) : 1; - return "boolean" == typeof n2 ? (e2.filterData = void 0, n2 ? 1 : 0) : N(n2) ? (e2.filterData = n2.data, I(n2.visibility)) : (e2.filterData = void 0, I(n2)); + return typeof n2 == "boolean" ? (e2.filterData = void 0, n2 ? 1 : 0) : N(n2) ? (e2.filterData = n2.data, I(n2.visibility)) : (e2.filterData = void 0, I(n2)); } hasTreeNode(e2, t2 = this.root) { - if (!e2 || 0 === e2.length) + if (!e2 || e2.length === 0) return true; const [n2, ...i2] = e2; return !(n2 < 0 || n2 > t2.children.length) && this.hasTreeNode(i2, t2.children[n2]); } getTreeNode(e2, t2 = this.root) { - if (!e2 || 0 === e2.length) + if (!e2 || e2.length === 0) return t2; const [n2, ...i2] = e2; if (n2 < 0 || n2 > t2.children.length) @@ -38879,7 +38879,7 @@ ${Object(zn.b)(wi)} return this.getTreeNode(i2, t2.children[n2]); } getTreeNodeWithListIndex(e2) { - if (0 === e2.length) + if (e2.length === 0) return {node: this.root, listIndex: -1, revealed: true, visible: false}; const {parentNode: t2, listIndex: n2, revealed: i2, visible: o2} = this.getParentNodeWithListIndex(e2), r2 = e2[e2.length - 1]; if (r2 < 0 || r2 > t2.children.length) @@ -38893,7 +38893,7 @@ ${Object(zn.b)(wi)} throw new x(this.user, "Invalid tree location"); for (let e3 = 0; e3 < r2; e3++) n2 += t2.children[e3].renderNodeCount; - return i2 = i2 && !t2.collapsed, o2 = o2 && t2.visible, 0 === s2.length ? {parentNode: t2, listIndex: n2, revealed: i2, visible: o2} : this.getParentNodeWithListIndex(s2, t2.children[r2], n2 + 1, i2, o2); + return i2 = i2 && !t2.collapsed, o2 = o2 && t2.visible, s2.length === 0 ? {parentNode: t2, listIndex: n2, revealed: i2, visible: o2} : this.getParentNodeWithListIndex(s2, t2.children[r2], n2 + 1, i2, o2); } getNode(e2 = []) { return this.getTreeNode(e2); @@ -38906,7 +38906,7 @@ ${Object(zn.b)(wi)} return t2.reverse(); } getParentNodeLocation(e2) { - return 0 === e2.length ? void 0 : 1 === e2.length ? [] : Object(r.u)(e2)[0]; + return e2.length === 0 ? void 0 : e2.length === 1 ? [] : Object(r.u)(e2)[0]; } } var A = n(20), R = n(11), M = n(118), P = n(189), F = n(17); @@ -38935,18 +38935,18 @@ ${Object(zn.b)(wi)} } onDragOver(e2, t2, n2, i2, o2 = true) { const s2 = this.dnd.onDragOver(H(e2), t2 && t2.element, n2, i2), a2 = this.autoExpandNode !== t2; - if (a2 && (this.autoExpandDisposable.dispose(), this.autoExpandNode = t2), void 0 === t2) + if (a2 && (this.autoExpandDisposable.dispose(), this.autoExpandNode = t2), t2 === void 0) return s2; - if (a2 && "boolean" != typeof s2 && s2.autoExpand && (this.autoExpandDisposable = Object(A.g)(() => { + if (a2 && typeof s2 != "boolean" && s2.autoExpand && (this.autoExpandDisposable = Object(A.g)(() => { const e3 = this.modelProvider(), n3 = e3.getNodeLocation(t2); e3.isCollapsed(n3) && e3.setCollapsed(n3, false), this.autoExpandNode = void 0; - }, 500)), "boolean" == typeof s2 || !s2.accept || void 0 === s2.bubble || s2.feedback) { + }, 500)), typeof s2 == "boolean" || !s2.accept || s2.bubble === void 0 || s2.feedback) { if (!o2) { - return {accept: "boolean" == typeof s2 ? s2 : s2.accept, effect: "boolean" == typeof s2 ? void 0 : s2.effect, feedback: [n2]}; + return {accept: typeof s2 == "boolean" ? s2 : s2.accept, effect: typeof s2 == "boolean" ? void 0 : s2.effect, feedback: [n2]}; } return s2; } - if (1 === s2.bubble) { + if (s2.bubble === 1) { const n3 = this.modelProvider(), o3 = n3.getNodeLocation(t2), r2 = n3.getParentNodeLocation(o3), s3 = n3.getNode(r2), a3 = r2 && n3.getListIndex(r2); return this.onDragOver(e2, s3, a3, i2, false); } @@ -38994,26 +38994,26 @@ ${Object(zn.b)(wi)} this.renderer = e2, this.modelProvider = t2, this.activeNodes = i2, this.renderedElements = new Map(), this.renderedNodes = new Map(), this.indent = Y.DefaultIndent, this.hideTwistiesOfChildlessElements = false, this.shouldRenderIndentGuides = false, this.renderedIndentGuides = new P.a(), this.activeIndentNodes = new Set(), this.indentGuidesDisposable = o.a.None, this.disposables = new o.b(), this.templateId = e2.templateId, this.updateOptions(r2), a.b.map(n2, (e3) => e3.node)(this.onDidChangeNodeTwistieState, this, this.disposables), e2.onDidChangeTwistieState && e2.onDidChangeTwistieState(this.onDidChangeTwistieState, this, this.disposables); } updateOptions(e2 = {}) { - if (void 0 !== e2.indent && (this.indent = Object(M.b)(e2.indent, 0, 40)), void 0 !== e2.renderIndentGuides) { + if (e2.indent !== void 0 && (this.indent = Object(M.b)(e2.indent, 0, 40)), e2.renderIndentGuides !== void 0) { const t2 = e2.renderIndentGuides !== K.None; if (t2 !== this.shouldRenderIndentGuides && (this.shouldRenderIndentGuides = t2, this.indentGuidesDisposable.dispose(), t2)) { const e3 = new o.b(); this.activeNodes.onDidChange(this._onDidChangeActiveNodes, this, e3), this.indentGuidesDisposable = e3, this._onDidChangeActiveNodes(this.activeNodes.elements); } } - void 0 !== e2.hideTwistiesOfChildlessElements && (this.hideTwistiesOfChildlessElements = e2.hideTwistiesOfChildlessElements); + e2.hideTwistiesOfChildlessElements !== void 0 && (this.hideTwistiesOfChildlessElements = e2.hideTwistiesOfChildlessElements); } renderTemplate(e2) { const t2 = Object(i.p)(e2, Object(i.a)(".monaco-tl-row")), n2 = Object(i.p)(t2, Object(i.a)(".monaco-tl-indent")), r2 = Object(i.p)(t2, Object(i.a)(".monaco-tl-twistie")), s2 = Object(i.p)(t2, Object(i.a)(".monaco-tl-contents")), a2 = this.renderer.renderTemplate(s2); return {container: e2, indent: n2, twistie: r2, indentGuidesDisposable: o.a.None, templateData: a2}; } renderElement(e2, t2, n2, i2) { - "number" == typeof i2 && (this.renderedNodes.set(e2, {templateData: n2, height: i2}), this.renderedElements.set(e2.element, e2)); + typeof i2 == "number" && (this.renderedNodes.set(e2, {templateData: n2, height: i2}), this.renderedElements.set(e2.element, e2)); const o2 = Y.DefaultIndent + (e2.depth - 1) * this.indent; - n2.twistie.style.paddingLeft = o2 + "px", n2.indent.style.width = o2 + this.indent - 16 + "px", this.renderTwistie(e2, n2), "number" == typeof i2 && this.renderIndentGuides(e2, n2), this.renderer.renderElement(e2, t2, n2.templateData, i2); + n2.twistie.style.paddingLeft = o2 + "px", n2.indent.style.width = o2 + this.indent - 16 + "px", this.renderTwistie(e2, n2), typeof i2 == "number" && this.renderIndentGuides(e2, n2), this.renderer.renderElement(e2, t2, n2.templateData, i2); } disposeElement(e2, t2, n2, i2) { - n2.indentGuidesDisposable.dispose(), this.renderer.disposeElement && this.renderer.disposeElement(e2, t2, n2.templateData, i2), "number" == typeof i2 && (this.renderedNodes.delete(e2), this.renderedElements.delete(e2.element)); + n2.indentGuidesDisposable.dispose(), this.renderer.disposeElement && this.renderer.disposeElement(e2, t2, n2.templateData, i2), typeof i2 == "number" && (this.renderedNodes.delete(e2), this.renderedElements.delete(e2.element)); } disposeTemplate(e2) { this.renderer.disposeTemplate(e2.templateData); @@ -39039,7 +39039,7 @@ ${Object(zn.b)(wi)} if (!a2) break; const l2 = r2.getNode(a2), c2 = Object(i.a)(".indent-guide", {style: `width: ${this.indent}px`}); - this.activeIndentNodes.has(l2) && Object(i.e)(c2, "active"), 0 === t2.indent.childElementCount ? t2.indent.appendChild(c2) : t2.indent.insertBefore(c2, t2.indent.firstElementChild), this.renderedIndentGuides.add(l2, c2), n2.add(Object(o.h)(() => this.renderedIndentGuides.delete(l2, c2))), s2 = l2; + this.activeIndentNodes.has(l2) && Object(i.e)(c2, "active"), t2.indent.childElementCount === 0 ? t2.indent.appendChild(c2) : t2.indent.insertBefore(c2, t2.indent.firstElementChild), this.renderedIndentGuides.add(l2, c2), n2.add(Object(o.h)(() => this.renderedIndentGuides.delete(l2, c2))), s2 = l2; } t2.indentGuidesDisposable = n2; } @@ -39084,13 +39084,13 @@ ${Object(zn.b)(wi)} if (this.tree.options.simpleKeyboardNavigation) return n3; let i3; - if (i3 = "boolean" == typeof n3 ? n3 ? 1 : 0 : N(n3) ? I(n3.visibility) : n3, 0 === i3) + if (i3 = typeof n3 == "boolean" ? n3 ? 1 : 0 : N(n3) ? I(n3.visibility) : n3, i3 === 0) return false; } if (this._totalCount++, this.tree.options.simpleKeyboardNavigation || !this._pattern) return this._matchCount++, {data: L.a.Default, visibility: true}; const n2 = this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e2), i2 = n2 && n2.toString(); - if (void 0 === i2) + if (i2 === void 0) return {data: L.a.Default, visibility: true}; const o2 = Object(L.d)(this._pattern, this._lowercasePattern, 0, i2, i2.toLowerCase(), 0, true); return o2 ? (this._matchCount++, {data: o2, visibility: true}) : this.tree.options.filterOnType ? 2 : {data: L.a.Default, visibility: true}; @@ -39118,12 +39118,12 @@ ${Object(zn.b)(wi)} return this._filterOnType; } updateOptions(e2) { - e2.simpleKeyboardNavigation ? this.disable() : this.enable(), void 0 !== e2.filterOnType && (this._filterOnType = !!e2.filterOnType, this.filterOnTypeDomNode.checked = this._filterOnType), void 0 !== e2.automaticKeyboardNavigation && (this.automaticKeyboardNavigation = e2.automaticKeyboardNavigation), this.tree.refilter(), this.render(), this.automaticKeyboardNavigation || this.onEventOrInput(""); + e2.simpleKeyboardNavigation ? this.disable() : this.enable(), e2.filterOnType !== void 0 && (this._filterOnType = !!e2.filterOnType, this.filterOnTypeDomNode.checked = this._filterOnType), e2.automaticKeyboardNavigation !== void 0 && (this.automaticKeyboardNavigation = e2.automaticKeyboardNavigation), this.tree.refilter(), this.render(), this.automaticKeyboardNavigation || this.onEventOrInput(""); } enable() { if (this._enabled) return; - const e2 = a.b.chain(Object(T.a)(this.view.getHTMLElement(), "keydown")).filter((e3) => !Object(s.e)(e3.target) || e3.target === this.filterOnTypeDomNode).filter((e3) => "Dead" !== e3.key && !/^Media/.test(e3.key)).map((e3) => new C.a(e3)).filter(this.keyboardNavigationEventFilter || (() => true)).filter(() => this.automaticKeyboardNavigation || this.triggered).filter((e3) => this.keyboardNavigationDelegate.mightProducePrintableCharacter(e3) && !(18 === e3.keyCode || 16 === e3.keyCode || 15 === e3.keyCode || 17 === e3.keyCode) || (this.pattern.length > 0 || this.triggered) && (9 === e3.keyCode || 1 === e3.keyCode) && !e3.altKey && !e3.ctrlKey && !e3.metaKey || 1 === e3.keyCode && (R.f ? e3.altKey && !e3.metaKey : e3.ctrlKey) && !e3.shiftKey).forEach((e3) => { + const e2 = a.b.chain(Object(T.a)(this.view.getHTMLElement(), "keydown")).filter((e3) => !Object(s.e)(e3.target) || e3.target === this.filterOnTypeDomNode).filter((e3) => e3.key !== "Dead" && !/^Media/.test(e3.key)).map((e3) => new C.a(e3)).filter(this.keyboardNavigationEventFilter || (() => true)).filter(() => this.automaticKeyboardNavigation || this.triggered).filter((e3) => this.keyboardNavigationDelegate.mightProducePrintableCharacter(e3) && !(e3.keyCode === 18 || e3.keyCode === 16 || e3.keyCode === 15 || e3.keyCode === 17) || (this.pattern.length > 0 || this.triggered) && (e3.keyCode === 9 || e3.keyCode === 1) && !e3.altKey && !e3.ctrlKey && !e3.metaKey || e3.keyCode === 1 && (R.f ? e3.altKey && !e3.metaKey : e3.ctrlKey) && !e3.shiftKey).forEach((e3) => { e3.stopPropagation(), e3.preventDefault(); }).event, t2 = Object(T.a)(this.clearDomNode, "click"); a.b.chain(a.b.any(e2, t2)).event(this.onEventOrInput, this, this.enabledDisposables), this.filter.pattern = "", this.tree.refilter(), this.render(), this._enabled = true, this.triggered = false; @@ -39132,7 +39132,7 @@ ${Object(zn.b)(wi)} this._enabled && (this.domNode.remove(), this.enabledDisposables.clear(), this.tree.refilter(), this.render(), this._enabled = false, this.triggered = false); } onEventOrInput(e2) { - "string" == typeof e2 ? this.onInput(e2) : e2 instanceof MouseEvent || 9 === e2.keyCode || 1 === e2.keyCode && (R.f ? e2.altKey : e2.ctrlKey) ? this.onInput("") : 1 === e2.keyCode ? this.onInput(0 === this.pattern.length ? "" : this.pattern.substr(0, this.pattern.length - 1)) : this.onInput(this.pattern + e2.browserEvent.key); + typeof e2 == "string" ? this.onInput(e2) : e2 instanceof MouseEvent || e2.keyCode === 9 || e2.keyCode === 1 && (R.f ? e2.altKey : e2.ctrlKey) ? this.onInput("") : e2.keyCode === 1 ? this.onInput(this.pattern.length === 0 ? "" : this.pattern.substr(0, this.pattern.length - 1)) : this.onInput(this.pattern + e2.browserEvent.key); } onInput(e2) { const t2 = this.view.getHTMLElement(); @@ -39140,7 +39140,7 @@ ${Object(zn.b)(wi)} const n2 = this.tree.getFocus(); if (n2.length > 0) { const e3 = n2[0]; - null === this.tree.getRelativeTop(e3) && this.tree.reveal(e3, 0.5); + this.tree.getRelativeTop(e3) === null && this.tree.reveal(e3, 0.5); } this.render(), e2 || (this.triggered = false); } @@ -39165,7 +39165,7 @@ ${Object(zn.b)(wi)} }, null, a2), k.c.CurrentDragAndDropData = new k.b("vscode-ui"), a2.add(Object(o.h)(() => k.c.CurrentDragAndDropData = void 0)); } onDidSpliceModel() { - this._enabled && 0 !== this.pattern.length && (this.tree.refilter(), this.render()); + this._enabled && this.pattern.length !== 0 && (this.tree.refilter(), this.render()); } onDidChangeFilterOnType() { this.tree.updateOptions({filterOnType: this.filterOnTypeDomNode.checked}), this.tree.refilter(), this.tree.domFocus(), this.render(), this.updateFilterOnTypeTitleAndIcon(); @@ -39174,8 +39174,8 @@ ${Object(zn.b)(wi)} this.filterOnType ? (Object(i.R)(this.filterOnTypeDomNode, B.classNames), Object(i.f)(this.filterOnTypeDomNode, z.classNames), this.filterOnTypeDomNode.title = Object(h.a)("disable filter on type", "Disable Filter on Type")) : (Object(i.R)(this.filterOnTypeDomNode, z.classNames), Object(i.f)(this.filterOnTypeDomNode, B.classNames), this.filterOnTypeDomNode.title = Object(h.a)("enable filter on type", "Enable Filter on Type")); } render() { - const e2 = this.filter.totalCount > 0 && 0 === this.filter.matchCount; - this.pattern && this.tree.options.filterOnType && e2 ? (this.messageDomNode.textContent = Object(h.a)("empty", "No elements found"), this._empty = true) : (this.messageDomNode.innerText = "", this._empty = false), Object(i.ab)(this.domNode, "no-matches", e2), this.domNode.title = Object(h.a)("found", "Matched {0} out of {1} elements", this.filter.matchCount, this.filter.totalCount), this.labelDomNode.textContent = this.pattern.length > 16 ? "…" + this.pattern.substr(this.pattern.length - 16) : this.pattern, this._onDidChangeEmptyState.fire(this._empty); + const e2 = this.filter.totalCount > 0 && this.filter.matchCount === 0; + this.pattern && this.tree.options.filterOnType && e2 ? (this.messageDomNode.textContent = Object(h.a)("empty", "No elements found"), this._empty = true) : (this.messageDomNode.innerText = "", this._empty = false), Object(i.ab)(this.domNode, "no-matches", e2), this.domNode.title = Object(h.a)("found", "Matched {0} out of {1} elements", this.filter.matchCount, this.filter.totalCount), this.labelDomNode.textContent = this.pattern.length > 16 ? "\u2026" + this.pattern.substr(this.pattern.length - 16) : this.pattern, this._onDidChangeEmptyState.fire(this._empty); } shouldAllowFocus(e2) { return !(this.enabled && this.pattern && !this.filterOnType) || (this.filter.totalCount > 0 && this.filter.matchCount <= 1 || !L.a.isDefault(e2.filterData)); @@ -39259,9 +39259,9 @@ ${Object(zn.b)(wi)} return super.onViewPointer(e2); const n2 = e2.browserEvent.target, o2 = Object(i.I)(n2, "monaco-tl-twistie") || Object(i.I)(n2, "monaco-icon-label") && Object(i.I)(n2, "folder-icon") && e2.browserEvent.offsetX < 16; let r2 = false; - if (r2 = "function" == typeof this.tree.expandOnlyOnTwistieClick ? this.tree.expandOnlyOnTwistieClick(t2.element) : !!this.tree.expandOnlyOnTwistieClick, r2 && !o2) + if (r2 = typeof this.tree.expandOnlyOnTwistieClick == "function" ? this.tree.expandOnlyOnTwistieClick(t2.element) : !!this.tree.expandOnlyOnTwistieClick, r2 && !o2) return super.onViewPointer(e2); - if (this.tree.expandOnlyOnDoubleClick && 2 !== e2.browserEvent.detail && !o2) + if (this.tree.expandOnlyOnDoubleClick && e2.browserEvent.detail !== 2 && !o2) return super.onViewPointer(e2); if (t2.collapsible) { const n3 = this.tree.model, i2 = n3.getNodeLocation(t2), s2 = e2.browserEvent.altKey; @@ -39282,7 +39282,7 @@ ${Object(zn.b)(wi)} return new te(this, e2.tree); } splice(e2, t2, n2 = []) { - if (super.splice(e2, t2, n2), 0 === n2.length) + if (super.splice(e2, t2, n2), n2.length === 0) return; const i2 = [], o2 = []; n2.forEach((t3, n3) => { @@ -39321,9 +39321,9 @@ ${Object(zn.b)(wi)} for (const t3 of this.selection.getNodes()) e3.add(t3); return [...e3.values()]; - }).event, false !== l2.keyboardSupport) { + }).event, l2.keyboardSupport !== false) { const e3 = a.b.chain(this.view.onKeyDown).filter((e4) => !Object(s.e)(e4.target)).map((e4) => new C.a(e4)); - e3.filter((e4) => 15 === e4.keyCode).on(this.onLeftArrow, this, this.disposables), e3.filter((e4) => 17 === e4.keyCode).on(this.onRightArrow, this, this.disposables), e3.filter((e4) => 10 === e4.keyCode).on(this.onSpace, this, this.disposables); + e3.filter((e4) => e4.keyCode === 15).on(this.onLeftArrow, this, this.disposables), e3.filter((e4) => e4.keyCode === 17).on(this.onRightArrow, this, this.disposables), e3.filter((e4) => e4.keyCode === 10).on(this.onSpace, this, this.disposables); } if (l2.keyboardNavigationLabelProvider) { const e3 = l2.keyboardNavigationDelegate || s.a; @@ -39351,10 +39351,10 @@ ${Object(zn.b)(wi)} } get expandOnlyOnDoubleClick() { var e2; - return null !== (e2 = this._options.expandOnlyOnDoubleClick) && void 0 !== e2 && e2; + return (e2 = this._options.expandOnlyOnDoubleClick) !== null && e2 !== void 0 && e2; } get expandOnlyOnTwistieClick() { - return void 0 !== this._options.expandOnlyOnTwistieClick && this._options.expandOnlyOnTwistieClick; + return this._options.expandOnlyOnTwistieClick !== void 0 && this._options.expandOnlyOnTwistieClick; } get onDidDispose() { return this.view.onDidDispose; @@ -39431,16 +39431,16 @@ ${Object(zn.b)(wi)} reveal(e2, t2) { this.model.expandTo(e2); const n2 = this.model.getListIndex(e2); - -1 !== n2 && this.view.reveal(n2, t2); + n2 !== -1 && this.view.reveal(n2, t2); } getRelativeTop(e2) { const t2 = this.model.getListIndex(e2); - return -1 === t2 ? null : this.view.getRelativeTop(t2); + return t2 === -1 ? null : this.view.getRelativeTop(t2); } onLeftArrow(e2) { e2.preventDefault(), e2.stopPropagation(); const t2 = this.view.getFocusedElements(); - if (0 === t2.length) + if (t2.length === 0) return; const n2 = t2[0], i2 = this.model.getNodeLocation(n2); if (!this.model.setCollapsed(i2, true)) { @@ -39454,7 +39454,7 @@ ${Object(zn.b)(wi)} onRightArrow(e2) { e2.preventDefault(), e2.stopPropagation(); const t2 = this.view.getFocusedElements(); - if (0 === t2.length) + if (t2.length === 0) return; const n2 = t2[0], i2 = this.model.getNodeLocation(n2); if (!this.model.setCollapsed(i2, false)) { @@ -39467,7 +39467,7 @@ ${Object(zn.b)(wi)} onSpace(e2) { e2.preventDefault(), e2.stopPropagation(); const t2 = this.view.getFocusedElements(); - if (0 === t2.length) + if (t2.length === 0) return; const n2 = t2[0], i2 = this.model.getNodeLocation(n2), o2 = e2.browserEvent.altKey; this.model.setCollapsed(i2, void 0, o2); @@ -39487,7 +39487,7 @@ ${Object(zn.b)(wi)} _setChildren(e2, t2 = y.a.empty(), n2, i2) { const o2 = new Set(), r2 = new Set(); this.model.splice([...e2, 0], Number.MAX_VALUE, t2, (e3) => { - if (null === e3.element) + if (e3.element === null) return; const t3 = e3; if (o2.add(t3.element), this.nodes.set(t3.element, t3), this.identityProvider) { @@ -39496,7 +39496,7 @@ ${Object(zn.b)(wi)} } n2 && n2(t3); }, (e3) => { - if (null === e3.element) + if (e3.element === null) return; const t3 = e3; if (o2.has(t3.element) || this.nodes.delete(t3.element), this.identityProvider) { @@ -39515,7 +39515,7 @@ ${Object(zn.b)(wi)} } if (!t2) return Object.assign(Object.assign({}, e3), {children: this.preserveCollapseState(e3.children)}); - const n2 = "boolean" == typeof e3.collapsible ? e3.collapsible : t2.collapsible, i2 = void 0 !== e3.collapsed ? e3.collapsed : t2.collapsed; + const n2 = typeof e3.collapsible == "boolean" ? e3.collapsible : t2.collapsible, i2 = e3.collapsed !== void 0 ? e3.collapsed : t2.collapsed; return Object.assign(Object.assign({}, e3), {collapsible: n2, collapsed: i2, children: this.preserveCollapseState(e3.children)}); }); } @@ -39558,7 +39558,7 @@ ${Object(zn.b)(wi)} this.model.refilter(); } getNode(e2 = null) { - if (null === e2) + if (e2 === null) return this.model.getNode(this.model.rootRef); const t2 = this.nodes.get(e2); if (!t2) @@ -39569,7 +39569,7 @@ ${Object(zn.b)(wi)} return e2.element; } getParentNodeLocation(e2) { - if (null === e2) + if (e2 === null) throw new x(this.user, "Invalid getParentNodeLocation call"); const t2 = this.nodes.get(e2); if (!t2) @@ -39578,7 +39578,7 @@ ${Object(zn.b)(wi)} return this.model.getNode(i2).element; } getElementLocation(e2) { - if (null === e2) + if (e2 === null) return []; const t2 = this.nodes.get(e2); if (!t2) @@ -39592,19 +39592,19 @@ ${Object(zn.b)(wi)} function se(e2) { const t2 = [e2.element], n2 = e2.incompressible || false; let i2, o2; - for (; [o2, i2] = y.a.consume(y.a.from(e2.children), 2), 1 === o2.length && !(e2 = o2[0]).incompressible; ) + for (; [o2, i2] = y.a.consume(y.a.from(e2.children), 2), o2.length === 1 && !(e2 = o2[0]).incompressible; ) t2.push(e2.element); return {element: {elements: t2, incompressible: n2}, children: y.a.map(y.a.concat(o2, i2), se), collapsible: e2.collapsible, collapsed: e2.collapsed}; } function ae(e2) { return function e3(t2, n2 = 0) { let i2; - return i2 = n2 < t2.element.elements.length - 1 ? [e3(t2, n2 + 1)] : y.a.map(y.a.from(t2.children), (t3) => e3(t3, 0)), 0 === n2 && t2.element.incompressible ? {element: t2.element.elements[n2], children: i2, incompressible: true, collapsible: t2.collapsible, collapsed: t2.collapsed} : {element: t2.element.elements[n2], children: i2, collapsible: t2.collapsible, collapsed: t2.collapsed}; + return i2 = n2 < t2.element.elements.length - 1 ? [e3(t2, n2 + 1)] : y.a.map(y.a.from(t2.children), (t3) => e3(t3, 0)), n2 === 0 && t2.element.incompressible ? {element: t2.element.elements[n2], children: i2, incompressible: true, collapsible: t2.collapsible, collapsed: t2.collapsed} : {element: t2.element.elements[n2], children: i2, collapsible: t2.collapsible, collapsed: t2.collapsed}; }(e2, 0); } class le { constructor(e2, t2, n2 = {}) { - this.user = e2, this.rootRef = null, this.nodes = new Map(), this.model = new oe(e2, t2, n2), this.enabled = void 0 === n2.compressionEnabled || n2.compressionEnabled; + this.user = e2, this.rootRef = null, this.nodes = new Map(), this.model = new oe(e2, t2, n2), this.enabled = n2.compressionEnabled === void 0 || n2.compressionEnabled; } get onDidSplice() { return this.model.onDidSplice; @@ -39616,7 +39616,7 @@ ${Object(zn.b)(wi)} return this.model.onDidChangeRenderNodeCount; } setChildren(e2, t2 = y.a.empty()) { - if (null === e2) { + if (e2 === null) { const e3 = y.a.map(t2, this.enabled ? se : re); return void this._setChildren(null, e3); } @@ -39657,18 +39657,18 @@ ${Object(zn.b)(wi)} return this.model.getListRenderCount(t2); } getNode(e2) { - if (void 0 === e2) + if (e2 === void 0) return this.model.getNode(); const t2 = this.getCompressedNode(e2); return this.model.getNode(t2); } getNodeLocation(e2) { const t2 = this.model.getNodeLocation(e2); - return null === t2 ? null : t2.elements[t2.elements.length - 1]; + return t2 === null ? null : t2.elements[t2.elements.length - 1]; } getParentNodeLocation(e2) { const t2 = this.getCompressedNode(e2), n2 = this.model.getParentNodeLocation(t2); - return null === n2 ? null : n2.elements[n2.elements.length - 1]; + return n2 === null ? null : n2.elements[n2.elements.length - 1]; } isCollapsible(e2) { const t2 = this.getCompressedNode(e2); @@ -39698,7 +39698,7 @@ ${Object(zn.b)(wi)} this.model.refilter(); } getCompressedNode(e2) { - if (null === e2) + if (e2 === null) return null; const t2 = this.nodes.get(e2); if (!t2) @@ -39712,7 +39712,7 @@ ${Object(zn.b)(wi)} this.unwrapper = e2, this.node = t2; } get element() { - return null === this.node.element ? null : this.unwrapper(this.node.element); + return this.node.element === null ? null : this.unwrapper(this.node.element); } get children() { return this.node.children.map((e2) => new de(this.unwrapper, e2)); @@ -39812,8 +39812,8 @@ ${Object(zn.b)(wi)} } } var ue = n(98), pe = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -39831,7 +39831,7 @@ ${Object(zn.b)(wi)} this.model.setChildren(e2, t2); } rerender(e2) { - void 0 !== e2 ? this.model.rerender(e2) : this.view.rerender(); + e2 !== void 0 ? this.model.rerender(e2) : this.view.rerender(); } hasElement(e2) { return this.model.has(e2); @@ -39852,7 +39852,7 @@ ${Object(zn.b)(wi)} } renderElement(e2, t2, n2, i2) { const o2 = this.compressedTreeNodeProvider.getCompressedTreeNode(e2.element); - 1 === o2.element.elements.length ? (n2.compressedTreeNode = void 0, this.renderer.renderElement(e2, t2, n2.data, i2)) : (n2.compressedTreeNode = o2, this.renderer.renderCompressedElements(o2, t2, n2.data, i2)); + o2.element.elements.length === 1 ? (n2.compressedTreeNode = void 0, this.renderer.renderElement(e2, t2, n2.data, i2)) : (n2.compressedTreeNode = o2, this.renderer.renderCompressedElements(o2, t2, n2.data, i2)); } disposeElement(e2, t2, n2, i2) { n2.compressedTreeNode ? this.renderer.disposeCompressedElements && this.renderer.disposeCompressedElements(n2.compressedTreeNode, t2, n2.data, i2) : this.renderer.disposeElement && this.renderer.disposeElement(e2, t2, n2.data, i2); @@ -39876,7 +39876,7 @@ ${Object(zn.b)(wi)} } catch (e4) { return t3.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n3); } - return 1 === i3.element.elements.length ? t3.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n3) : t3.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i3.element.elements); + return i3.element.elements.length === 1 ? t3.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n3) : t3.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i3.element.elements); }}}); }(r2, o2)); } @@ -39887,7 +39887,7 @@ ${Object(zn.b)(wi)} return new he(e2, t2, n2); } updateOptions(e2 = {}) { - super.updateOptions(e2), void 0 !== e2.compressionEnabled && this.model.setCompressionEnabled(e2.compressionEnabled); + super.updateOptions(e2), e2.compressionEnabled !== void 0 && this.model.setCompressionEnabled(e2.compressionEnabled); } getCompressedTreeNode(e2 = null) { return this.model.getCompressedTreeNode(e2); @@ -40020,15 +40020,15 @@ ${Object(zn.b)(wi)} function Le(e2) { return e2 && Object.assign(Object.assign({}, e2), {collapseByDefault: true, identityProvider: e2.identityProvider && {getId: (t2) => e2.identityProvider.getId(t2.element)}, dnd: e2.dnd && new Te(e2.dnd), multipleSelectionController: e2.multipleSelectionController && {isSelectionSingleChangeEvent: (t2) => e2.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({}, t2), {element: t2.element})), isSelectionRangeChangeEvent: (t2) => e2.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({}, t2), {element: t2.element}))}, accessibilityProvider: e2.accessibilityProvider && Object.assign(Object.assign({}, e2.accessibilityProvider), {getPosInSet: void 0, getSetSize: void 0, getRole: e2.accessibilityProvider.getRole ? (t2) => e2.accessibilityProvider.getRole(t2.element) : () => "treeitem", isChecked: e2.accessibilityProvider.isChecked ? (t2) => { var n2; - return !!(null === (n2 = e2.accessibilityProvider) || void 0 === n2 ? void 0 : n2.isChecked(t2.element)); - } : void 0, getAriaLabel: (t2) => e2.accessibilityProvider.getAriaLabel(t2.element), getWidgetAriaLabel: () => e2.accessibilityProvider.getWidgetAriaLabel(), getWidgetRole: e2.accessibilityProvider.getWidgetRole ? () => e2.accessibilityProvider.getWidgetRole() : () => "tree", getAriaLevel: e2.accessibilityProvider.getAriaLevel && ((t2) => e2.accessibilityProvider.getAriaLevel(t2.element)), getActiveDescendantId: e2.accessibilityProvider.getActiveDescendantId && ((t2) => e2.accessibilityProvider.getActiveDescendantId(t2.element))}), filter: e2.filter && {filter: (t2, n2) => e2.filter.filter(t2.element, n2)}, keyboardNavigationLabelProvider: e2.keyboardNavigationLabelProvider && Object.assign(Object.assign({}, e2.keyboardNavigationLabelProvider), {getKeyboardNavigationLabel: (t2) => e2.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t2.element)}), sorter: void 0, expandOnlyOnTwistieClick: void 0 === e2.expandOnlyOnTwistieClick ? void 0 : "function" != typeof e2.expandOnlyOnTwistieClick ? e2.expandOnlyOnTwistieClick : (t2) => e2.expandOnlyOnTwistieClick(t2.element), additionalScrollHeight: e2.additionalScrollHeight}); + return !!((n2 = e2.accessibilityProvider) === null || n2 === void 0 ? void 0 : n2.isChecked(t2.element)); + } : void 0, getAriaLabel: (t2) => e2.accessibilityProvider.getAriaLabel(t2.element), getWidgetAriaLabel: () => e2.accessibilityProvider.getWidgetAriaLabel(), getWidgetRole: e2.accessibilityProvider.getWidgetRole ? () => e2.accessibilityProvider.getWidgetRole() : () => "tree", getAriaLevel: e2.accessibilityProvider.getAriaLevel && ((t2) => e2.accessibilityProvider.getAriaLevel(t2.element)), getActiveDescendantId: e2.accessibilityProvider.getActiveDescendantId && ((t2) => e2.accessibilityProvider.getActiveDescendantId(t2.element))}), filter: e2.filter && {filter: (t2, n2) => e2.filter.filter(t2.element, n2)}, keyboardNavigationLabelProvider: e2.keyboardNavigationLabelProvider && Object.assign(Object.assign({}, e2.keyboardNavigationLabelProvider), {getKeyboardNavigationLabel: (t2) => e2.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t2.element)}), sorter: void 0, expandOnlyOnTwistieClick: e2.expandOnlyOnTwistieClick === void 0 ? void 0 : typeof e2.expandOnlyOnTwistieClick != "function" ? e2.expandOnlyOnTwistieClick : (t2) => e2.expandOnlyOnTwistieClick(t2.element), additionalScrollHeight: e2.additionalScrollHeight}); } function Ne(e2, t2) { t2(e2), e2.children.forEach((e3) => Ne(e3, t2)); } class Ie { constructor(e2, t2, n2, i2, r2, s2 = {}) { - this.user = e2, this.dataSource = r2, this.nodes = new Map(), this.subTreeRefreshPromises = new Map(), this.refreshPromises = new Map(), this._onDidRender = new a.a(), this._onDidChangeNodeSlowState = new a.a(), this.nodeMapper = new S((e3) => new ye(e3)), this.disposables = new o.b(), this.identityProvider = s2.identityProvider, this.autoExpandSingleChildren = void 0 !== s2.autoExpandSingleChildren && s2.autoExpandSingleChildren, this.sorter = s2.sorter, this.collapseByDefault = s2.collapseByDefault, this.tree = this.createTree(e2, t2, n2, i2, s2), this.root = ve({element: void 0, parent: null, hasChildren: true}), this.identityProvider && (this.root = Object.assign(Object.assign({}, this.root), {id: null})), this.nodes.set(null, this.root), this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState, this, this.disposables); + this.user = e2, this.dataSource = r2, this.nodes = new Map(), this.subTreeRefreshPromises = new Map(), this.refreshPromises = new Map(), this._onDidRender = new a.a(), this._onDidChangeNodeSlowState = new a.a(), this.nodeMapper = new S((e3) => new ye(e3)), this.disposables = new o.b(), this.identityProvider = s2.identityProvider, this.autoExpandSingleChildren = s2.autoExpandSingleChildren !== void 0 && s2.autoExpandSingleChildren, this.sorter = s2.sorter, this.collapseByDefault = s2.collapseByDefault, this.tree = this.createTree(e2, t2, n2, i2, s2), this.root = ve({element: void 0, parent: null, hasChildren: true}), this.identityProvider && (this.root = Object.assign(Object.assign({}, this.root), {id: null})), this.nodes.set(null, this.root), this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState, this, this.disposables); } get onDidChangeFocus() { return a.b.map(this.tree.onDidChangeFocus, xe); @@ -40080,12 +40080,12 @@ ${Object(zn.b)(wi)} return _e(this, void 0, void 0, function* () { this.refreshPromises.forEach((e3) => e3.cancel()), this.refreshPromises.clear(), this.root.element = e2; const n2 = t2 && {viewState: t2, focus: [], selection: []}; - yield this._updateChildren(e2, true, false, n2), n2 && (this.tree.setFocus(n2.focus), this.tree.setSelection(n2.selection)), t2 && "number" == typeof t2.scrollTop && (this.scrollTop = t2.scrollTop); + yield this._updateChildren(e2, true, false, n2), n2 && (this.tree.setFocus(n2.focus), this.tree.setSelection(n2.selection)), t2 && typeof t2.scrollTop == "number" && (this.scrollTop = t2.scrollTop); }); } _updateChildren(e2 = this.root.element, t2 = true, n2 = false, i2) { return _e(this, void 0, void 0, function* () { - if (void 0 === this.root.element) + if (this.root.element === void 0) throw new x(this.user, "Tree input not set"); this.root.refreshPromise && (yield this.root.refreshPromise, yield a.b.toPromise(this._onDidRender.event)); const o2 = this.getDataNode(e2); @@ -40097,7 +40097,7 @@ ${Object(zn.b)(wi)} }); } rerender(e2) { - if (void 0 === e2 || e2 === this.root.element) + if (e2 === void 0 || e2 === this.root.element) return void this.tree.rerender(); const t2 = this.getDataNode(e2); this.tree.rerender(t2); @@ -40108,7 +40108,7 @@ ${Object(zn.b)(wi)} } expand(e2, t2 = false) { return _e(this, void 0, void 0, function* () { - if (void 0 === this.root.element) + if (this.root.element === void 0) throw new x(this.user, "Tree input not set"); this.root.refreshPromise && (yield this.root.refreshPromise, yield a.b.toPromise(this._onDidRender.event)); const n2 = this.getDataNode(e2); @@ -40204,11 +40204,11 @@ ${Object(zn.b)(wi)} })); } _onDidChangeCollapseState({node: e2, deep: t2}) { - null !== e2.element && !e2.collapsed && e2.element.stale && (t2 ? this.collapse(e2.element.element) : this.refreshAndRenderNode(e2.element, false).catch(be.e)); + e2.element !== null && !e2.collapsed && e2.element.stale && (t2 ? this.collapse(e2.element.element) : this.refreshAndRenderNode(e2.element, false).catch(be.e)); } setChildren(e2, t2, n2, i2) { const o2 = [...t2]; - if (0 === e2.children.length && 0 === o2.length) + if (e2.children.length === 0 && o2.length === 0) return []; const r2 = new Map(), s2 = new Map(); for (const t3 of e2.children) @@ -40234,7 +40234,7 @@ ${Object(zn.b)(wi)} Ne(e3, (e4) => this.nodes.delete(e4.element)); for (const e3 of l2) this.nodes.set(e3.element, e3); - return e2.children.splice(0, e2.children.length, ...l2), e2 !== this.root && this.autoExpandSingleChildren && 1 === l2.length && 0 === a2.length && (l2[0].collapsedByDefault = false, a2.push(l2[0])), a2; + return e2.children.splice(0, e2.children.length, ...l2), e2 !== this.root && this.autoExpandSingleChildren && l2.length === 1 && a2.length === 0 && (l2[0].collapsedByDefault = false, a2.push(l2[0])), a2; } render(e2, t2) { const n2 = e2.children.map((e3) => this.asTreeElement(e3, t2)); @@ -40354,7 +40354,7 @@ ${Object(zn.b)(wi)} if (t3) for (let e4 = 0; e4 < t3.elements.length; e4++) { const i3 = n2(t3.elements[e4].element), d3 = t3.elements[t3.elements.length - 1].element; - o2.has(i3) && -1 === s2.indexOf(d3) && (s2.push(d3), a2 = true), r2.has(i3) && -1 === l2.indexOf(d3) && (l2.push(d3), c2 = true); + o2.has(i3) && s2.indexOf(d3) === -1 && (s2.push(d3), a2 = true), r2.has(i3) && l2.indexOf(d3) === -1 && (l2.push(d3), c2 = true); } e3.children.forEach(d2); }; @@ -40362,11 +40362,11 @@ ${Object(zn.b)(wi)} } processChildren(e2) { return this.filter && (e2 = y.a.filter(e2, (e3) => { - const t2 = this.filter.filter(e3, 1), n2 = "boolean" == typeof (i2 = t2) ? i2 ? 1 : 0 : N(i2) ? I(i2.visibility) : I(i2); + const t2 = this.filter.filter(e3, 1), n2 = typeof (i2 = t2) == "boolean" ? i2 ? 1 : 0 : N(i2) ? I(i2.visibility) : I(i2); var i2; - if (2 === n2) + if (n2 === 2) throw new Error("Recursive tree visibility not supported in async data compressed trees"); - return 1 === n2; + return n2 === 1; })), super.processChildren(e2); } } @@ -40379,8 +40379,8 @@ ${Object(zn.b)(wi)} } } var Me = n(80), Pe = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -40425,7 +40425,7 @@ ${Object(zn.b)(wi)} } const Ze = "workbench.list.horizontalScrolling", Xe = "workbench.tree.indent", Qe = "workbench.list.smoothScrolling"; function Je(e2) { - return "alt" === e2.getValue("workbench.list.multiSelectModifier"); + return e2.getValue("workbench.list.multiSelectModifier") === "alt"; } class et extends o.a { constructor(e2) { @@ -40445,7 +40445,7 @@ ${Object(zn.b)(wi)} } function tt(e2, t2, n2) { const i2 = new o.b(), r2 = Object.assign({}, e2); - if (false !== e2.multipleSelectionSupport && !e2.multipleSelectionController) { + if (e2.multipleSelectionSupport !== false && !e2.multipleSelectionController) { const e3 = new et(t2); r2.multipleSelectionController = e3, i2.add(e3); } @@ -40453,12 +40453,12 @@ ${Object(zn.b)(wi)} } let nt = class extends s.c { constructor(e2, t2, n2, i2, o2, r2, s2, a2, l2, c2) { - const d2 = void 0 !== o2.horizontalScrolling ? o2.horizontalScrolling : l2.getValue(Ze), [h2, u2] = tt(o2, l2, c2); + const d2 = o2.horizontalScrolling !== void 0 ? o2.horizontalScrolling : l2.getValue(Ze), [h2, u2] = tt(o2, l2, c2); super(e2, t2, n2, i2, Object.assign(Object.assign(Object.assign({keyboardSupport: false}, Object(_.d)(a2.getColorTheme(), _.e)), h2), {horizontalScrolling: d2})), this.disposables.add(u2), this.contextKeyService = Ye(r2, this), this.themeService = a2; - je.bindTo(this.contextKeyService).set(!(false === o2.multipleSelectionSupport)), this.listHasSelectionOrFocus = Ue.bindTo(this.contextKeyService), this.listDoubleSelection = He.bindTo(this.contextKeyService), this.listMultiSelection = qe.bindTo(this.contextKeyService), this.horizontalScrolling = o2.horizontalScrolling, this._useAltAsMultipleSelectionModifier = Je(l2), this.disposables.add(this.contextKeyService), this.disposables.add(s2.register(this)), o2.overrideStyles && this.updateStyles(o2.overrideStyles), this.disposables.add(this.onDidChangeSelection(() => { + je.bindTo(this.contextKeyService).set(!(o2.multipleSelectionSupport === false)), this.listHasSelectionOrFocus = Ue.bindTo(this.contextKeyService), this.listDoubleSelection = He.bindTo(this.contextKeyService), this.listMultiSelection = qe.bindTo(this.contextKeyService), this.horizontalScrolling = o2.horizontalScrolling, this._useAltAsMultipleSelectionModifier = Je(l2), this.disposables.add(this.contextKeyService), this.disposables.add(s2.register(this)), o2.overrideStyles && this.updateStyles(o2.overrideStyles), this.disposables.add(this.onDidChangeSelection(() => { const e3 = this.getSelection(), t3 = this.getFocus(); this.contextKeyService.bufferChangeEvents(() => { - this.listHasSelectionOrFocus.set(e3.length > 0 || t3.length > 0), this.listMultiSelection.set(e3.length > 1), this.listDoubleSelection.set(2 === e3.length); + this.listHasSelectionOrFocus.set(e3.length > 0 || t3.length > 0), this.listMultiSelection.set(e3.length > 1), this.listDoubleSelection.set(e3.length === 2); }); })), this.disposables.add(this.onDidChangeFocus(() => { const e3 = this.getSelection(), t3 = this.getFocus(); @@ -40466,7 +40466,7 @@ ${Object(zn.b)(wi)} })), this.disposables.add(l2.onDidChangeConfiguration((e3) => { e3.affectsConfiguration("workbench.list.multiSelectModifier") && (this._useAltAsMultipleSelectionModifier = Je(l2)); let t3 = {}; - if (e3.affectsConfiguration(Ze) && void 0 === this.horizontalScrolling) { + if (e3.affectsConfiguration(Ze) && this.horizontalScrolling === void 0) { const e4 = l2.getValue(Ze); t3 = Object.assign(Object.assign({}, t3), {horizontalScrolling: e4}); } @@ -40508,10 +40508,10 @@ ${Object(zn.b)(wi)} return this.list.onDidDispose; } get onMouseDblClick() { - return a.b.map(this.list.onMouseDblClick, ({element: e2, index: t2, browserEvent: n2}) => ({element: void 0 === e2 ? void 0 : this._model.get(e2), index: t2, browserEvent: n2})); + return a.b.map(this.list.onMouseDblClick, ({element: e2, index: t2, browserEvent: n2}) => ({element: e2 === void 0 ? void 0 : this._model.get(e2), index: t2, browserEvent: n2})); } get onPointer() { - return a.b.map(this.list.onPointer, ({element: e2, index: t2, browserEvent: n2}) => ({element: void 0 === e2 ? void 0 : this._model.get(e2), index: t2, browserEvent: n2})); + return a.b.map(this.list.onPointer, ({element: e2, index: t2, browserEvent: n2}) => ({element: e2 === void 0 ? void 0 : this._model.get(e2), index: t2, browserEvent: n2})); } get onDidChangeFocus() { return a.b.map(this.list.onDidChangeFocus, ({elements: e2, indexes: t2, browserEvent: n2}) => ({elements: e2.map((e3) => this._model.get(e3)), indexes: t2, browserEvent: n2})); @@ -40542,12 +40542,12 @@ ${Object(zn.b)(wi)} } } { constructor(e2, t2, n2, i2, r2, s2, a2, l2, c2, d2) { - const h2 = void 0 !== r2.horizontalScrolling ? r2.horizontalScrolling : c2.getValue(Ze), [u2, p2] = tt(r2, c2, d2); + const h2 = r2.horizontalScrolling !== void 0 ? r2.horizontalScrolling : c2.getValue(Ze), [u2, p2] = tt(r2, c2, d2); super(e2, t2, n2, i2, Object.assign(Object.assign(Object.assign({keyboardSupport: false}, Object(_.d)(l2.getColorTheme(), _.e)), u2), {horizontalScrolling: h2})), this.disposables = new o.b(), this.disposables.add(p2), this.contextKeyService = Ye(s2, this), this.horizontalScrolling = r2.horizontalScrolling; - je.bindTo(this.contextKeyService).set(!(false === r2.multipleSelectionSupport)), this._useAltAsMultipleSelectionModifier = Je(c2), this.disposables.add(this.contextKeyService), this.disposables.add(a2.register(this)), r2.overrideStyles && this.disposables.add(Object(_.b)(this, l2, r2.overrideStyles)), this.disposables.add(c2.onDidChangeConfiguration((e3) => { + je.bindTo(this.contextKeyService).set(!(r2.multipleSelectionSupport === false)), this._useAltAsMultipleSelectionModifier = Je(c2), this.disposables.add(this.contextKeyService), this.disposables.add(a2.register(this)), r2.overrideStyles && this.disposables.add(Object(_.b)(this, l2, r2.overrideStyles)), this.disposables.add(c2.onDidChangeConfiguration((e3) => { e3.affectsConfiguration("workbench.list.multiSelectModifier") && (this._useAltAsMultipleSelectionModifier = Je(c2)); let t3 = {}; - if (e3.affectsConfiguration(Ze) && void 0 === this.horizontalScrolling) { + if (e3.affectsConfiguration(Ze) && this.horizontalScrolling === void 0) { const e4 = c2.getValue(Ze); t3 = Object.assign(Object.assign({}, t3), {horizontalScrolling: e4}); } @@ -40566,28 +40566,28 @@ ${Object(zn.b)(wi)} class ot extends o.a { constructor(e2, t2) { var n2, i2; - super(), this.widget = e2, this._onDidOpen = new a.a(), this.onDidOpen = this._onDidOpen.event, this.openOnFocus = null !== (n2 = null == t2 ? void 0 : t2.openOnFocus) && void 0 !== n2 && n2, this._register(a.b.filter(this.widget.onDidChangeSelection, (e3) => e3.browserEvent instanceof KeyboardEvent)((e3) => this.onSelectionFromKeyboard(e3))), this._register(this.widget.onPointer((e3) => this.onPointer(e3.browserEvent))), this._register(this.widget.onMouseDblClick((e3) => this.onMouseDblClick(e3.browserEvent))), this.openOnFocus && this._register(a.b.filter(this.widget.onDidChangeFocus, (e3) => e3.browserEvent instanceof KeyboardEvent)((e3) => this.onFocusFromKeyboard(e3))), "boolean" != typeof (null == t2 ? void 0 : t2.openOnSingleClick) && (null == t2 ? void 0 : t2.configurationService) ? (this.openOnSingleClick = "doubleClick" !== (null == t2 ? void 0 : t2.configurationService.getValue("workbench.list.openMode")), this._register(null == t2 ? void 0 : t2.configurationService.onDidChangeConfiguration(() => { - this.openOnSingleClick = "doubleClick" !== (null == t2 ? void 0 : t2.configurationService.getValue("workbench.list.openMode")); - }))) : this.openOnSingleClick = null === (i2 = null == t2 ? void 0 : t2.openOnSingleClick) || void 0 === i2 || i2; + super(), this.widget = e2, this._onDidOpen = new a.a(), this.onDidOpen = this._onDidOpen.event, this.openOnFocus = (n2 = t2 == null ? void 0 : t2.openOnFocus) !== null && n2 !== void 0 && n2, this._register(a.b.filter(this.widget.onDidChangeSelection, (e3) => e3.browserEvent instanceof KeyboardEvent)((e3) => this.onSelectionFromKeyboard(e3))), this._register(this.widget.onPointer((e3) => this.onPointer(e3.browserEvent))), this._register(this.widget.onMouseDblClick((e3) => this.onMouseDblClick(e3.browserEvent))), this.openOnFocus && this._register(a.b.filter(this.widget.onDidChangeFocus, (e3) => e3.browserEvent instanceof KeyboardEvent)((e3) => this.onFocusFromKeyboard(e3))), typeof (t2 == null ? void 0 : t2.openOnSingleClick) != "boolean" && (t2 == null ? void 0 : t2.configurationService) ? (this.openOnSingleClick = (t2 == null ? void 0 : t2.configurationService.getValue("workbench.list.openMode")) !== "doubleClick", this._register(t2 == null ? void 0 : t2.configurationService.onDidChangeConfiguration(() => { + this.openOnSingleClick = (t2 == null ? void 0 : t2.configurationService.getValue("workbench.list.openMode")) !== "doubleClick"; + }))) : this.openOnSingleClick = (i2 = t2 == null ? void 0 : t2.openOnSingleClick) === null || i2 === void 0 || i2; } onFocusFromKeyboard(e2) { const t2 = this.widget.getFocus(); this.widget.setSelection(t2, e2.browserEvent); - const n2 = "boolean" != typeof e2.browserEvent.preserveFocus || e2.browserEvent.preserveFocus; + const n2 = typeof e2.browserEvent.preserveFocus != "boolean" || e2.browserEvent.preserveFocus; this._open(n2, false, false, e2.browserEvent); } onSelectionFromKeyboard(e2) { - if (1 !== e2.elements.length) + if (e2.elements.length !== 1) return; - const t2 = "boolean" != typeof e2.browserEvent.preserveFocus || e2.browserEvent.preserveFocus; + const t2 = typeof e2.browserEvent.preserveFocus != "boolean" || e2.browserEvent.preserveFocus; this._open(t2, false, false, e2.browserEvent); } onPointer(e2) { if (!this.openOnSingleClick) return; - if (2 === e2.detail) + if (e2.detail === 2) return; - const t2 = 1 === e2.button, n2 = e2.ctrlKey || e2.metaKey || e2.altKey; + const t2 = e2.button === 1, n2 = e2.ctrlKey || e2.metaKey || e2.altKey; this._open(true, t2, n2, e2); } onMouseDblClick(e2) { @@ -40665,24 +40665,24 @@ ${Object(zn.b)(wi)} const s2 = () => { let e3 = n2.getContextKeyValue("listAutomaticKeyboardNavigation"); return e3 && (e3 = i2.getValue("workbench.list.automaticKeyboardNavigation")), e3; - }, a2 = r2.isScreenReaderOptimized() ? "simple" : i2.getValue("workbench.list.keyboardNavigation"), l2 = void 0 !== t2.horizontalScrolling ? t2.horizontalScrolling : i2.getValue(Ze), [c2, d2] = tt(t2, i2, o2), h2 = t2.additionalScrollHeight; - return {getAutomaticKeyboardNavigation: s2, disposable: d2, options: Object.assign(Object.assign({keyboardSupport: false}, c2), {indent: i2.getValue(Xe), renderIndentGuides: i2.getValue("workbench.tree.renderIndentGuides"), smoothScrolling: i2.getValue(Qe), automaticKeyboardNavigation: s2(), simpleKeyboardNavigation: "simple" === a2, filterOnType: "filter" === a2, horizontalScrolling: l2, keyboardNavigationEventFilter: st(e2, o2), additionalScrollHeight: h2, hideTwistiesOfChildlessElements: t2.hideTwistiesOfChildlessElements, expandOnlyOnDoubleClick: "doubleClick" === i2.getValue("workbench.list.openMode")})}; + }, a2 = r2.isScreenReaderOptimized() ? "simple" : i2.getValue("workbench.list.keyboardNavigation"), l2 = t2.horizontalScrolling !== void 0 ? t2.horizontalScrolling : i2.getValue(Ze), [c2, d2] = tt(t2, i2, o2), h2 = t2.additionalScrollHeight; + return {getAutomaticKeyboardNavigation: s2, disposable: d2, options: Object.assign(Object.assign({keyboardSupport: false}, c2), {indent: i2.getValue(Xe), renderIndentGuides: i2.getValue("workbench.tree.renderIndentGuides"), smoothScrolling: i2.getValue(Qe), automaticKeyboardNavigation: s2(), simpleKeyboardNavigation: a2 === "simple", filterOnType: a2 === "filter", horizontalScrolling: l2, keyboardNavigationEventFilter: st(e2, o2), additionalScrollHeight: h2, hideTwistiesOfChildlessElements: t2.hideTwistiesOfChildlessElements, expandOnlyOnDoubleClick: i2.getValue("workbench.list.openMode") === "doubleClick"})}; } ht = Pe([Fe(7, m.b), Fe(8, We), Fe(9, v.c), Fe(10, u.a), Fe(11, f.a), Fe(12, Me.b)], ht); let pt = class { constructor(e2, t2, n2, i2, o2, r2, s2, a2, l2) { this.tree = e2, this.themeService = s2, this.disposables = [], this.contextKeyService = Ye(o2, e2); - je.bindTo(this.contextKeyService).set(!(false === t2.multipleSelectionSupport)), this.hasSelectionOrFocus = Ue.bindTo(this.contextKeyService), this.hasDoubleSelection = He.bindTo(this.contextKeyService), this.hasMultiSelection = qe.bindTo(this.contextKeyService), this._useAltAsMultipleSelectionModifier = Je(a2); + je.bindTo(this.contextKeyService).set(!(t2.multipleSelectionSupport === false)), this.hasSelectionOrFocus = Ue.bindTo(this.contextKeyService), this.hasDoubleSelection = He.bindTo(this.contextKeyService), this.hasMultiSelection = qe.bindTo(this.contextKeyService), this._useAltAsMultipleSelectionModifier = Je(a2); const c2 = new Set(); c2.add("listAutomaticKeyboardNavigation"); const d2 = () => { const t3 = l2.isScreenReaderOptimized() ? "simple" : a2.getValue("workbench.list.keyboardNavigation"); - e2.updateOptions({simpleKeyboardNavigation: "simple" === t3, filterOnType: "filter" === t3}); + e2.updateOptions({simpleKeyboardNavigation: t3 === "simple", filterOnType: t3 === "filter"}); }; this.updateStyleOverrides(i2), this.disposables.push(this.contextKeyService, r2.register(e2), e2.onDidChangeSelection(() => { const t3 = e2.getSelection(), n3 = e2.getFocus(); this.contextKeyService.bufferChangeEvents(() => { - this.hasSelectionOrFocus.set(t3.length > 0 || n3.length > 0), this.hasMultiSelection.set(t3.length > 1), this.hasDoubleSelection.set(2 === t3.length); + this.hasSelectionOrFocus.set(t3.length > 0 || n3.length > 0), this.hasMultiSelection.set(t3.length > 1), this.hasDoubleSelection.set(t3.length === 2); }); }), e2.onDidChangeFocus(() => { const t3 = e2.getSelection(), n3 = e2.getFocus(); @@ -40701,11 +40701,11 @@ ${Object(zn.b)(wi)} const e3 = a2.getValue(Qe); o3 = Object.assign(Object.assign({}, o3), {smoothScrolling: e3}); } - if (i3.affectsConfiguration("workbench.list.keyboardNavigation") && d2(), i3.affectsConfiguration("workbench.list.automaticKeyboardNavigation") && (o3 = Object.assign(Object.assign({}, o3), {automaticKeyboardNavigation: n2()})), i3.affectsConfiguration(Ze) && void 0 === t2.horizontalScrolling) { + if (i3.affectsConfiguration("workbench.list.keyboardNavigation") && d2(), i3.affectsConfiguration("workbench.list.automaticKeyboardNavigation") && (o3 = Object.assign(Object.assign({}, o3), {automaticKeyboardNavigation: n2()})), i3.affectsConfiguration(Ze) && t2.horizontalScrolling === void 0) { const e3 = a2.getValue(Ze); o3 = Object.assign(Object.assign({}, o3), {horizontalScrolling: e3}); } - i3.affectsConfiguration("workbench.list.openMode") && (o3 = Object.assign(Object.assign({}, o3), {expandOnlyOnDoubleClick: "doubleClick" === a2.getValue("workbench.list.openMode")})), Object.keys(o3).length > 0 && e2.updateOptions(o3); + i3.affectsConfiguration("workbench.list.openMode") && (o3 = Object.assign(Object.assign({}, o3), {expandOnlyOnDoubleClick: a2.getValue("workbench.list.openMode") === "doubleClick"})), Object.keys(o3).length > 0 && e2.updateOptions(o3); }), this.contextKeyService.onDidChangeContext((t3) => { t3.affectsSome(c2) && e2.updateOptions({automaticKeyboardNavigation: n2()}); }), l2.onDidChangeScreenReaderOptimized(() => d2())), this.navigator = new rt(e2, Object.assign({configurationService: a2}, t2)), this.disposables.push(this.navigator); @@ -40730,7 +40730,7 @@ ${Object(zn.b)(wi)} try { n = n || new Function("return this")(); } catch (e2) { - "object" == typeof window && (n = window); + typeof window == "object" && (n = window); } e.exports = n; }, function(e, t, n) { @@ -40771,18 +40771,18 @@ ${Object(zn.b)(wi)} function n2() { this.constructor = e3; } - i(e3, t2), e3.prototype = null === t2 ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); + i(e3, t2), e3.prototype = t2 === null ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); }); - if ("object" == typeof e2) - r = "win32" === e2.platform; - else if ("object" == typeof navigator) { + if (typeof e2 == "object") + r = e2.platform === "win32"; + else if (typeof navigator == "object") { var a = navigator.userAgent; r = a.indexOf("Windows") >= 0; } var l = /^\w[\w\d+.-]*$/, c = /^\//, d = /^\/\//; var h = "/", u = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/, p = function() { function e3(e4, t2, n2, i2, o2, r2) { - void 0 === r2 && (r2 = false), "object" == typeof e4 ? (this.scheme = e4.scheme || "", this.authority = e4.authority || "", this.path = e4.path || "", this.query = e4.query || "", this.fragment = e4.fragment || "") : (this.scheme = function(e5, t3) { + r2 === void 0 && (r2 = false), typeof e4 == "object" ? (this.scheme = e4.scheme || "", this.authority = e4.authority || "", this.path = e4.path || "", this.query = e4.query || "", this.fragment = e4.fragment || "") : (this.scheme = function(e5, t3) { return e5 || t3 ? e5 : "file"; }(e4, r2), this.authority = t2 || "", this.path = function(e5, t3) { switch (e5) { @@ -40807,29 +40807,29 @@ ${Object(zn.b)(wi)} }(this, r2)); } return e3.isUri = function(t2) { - return t2 instanceof e3 || !!t2 && ("string" == typeof t2.authority && "string" == typeof t2.fragment && "string" == typeof t2.path && "string" == typeof t2.query && "string" == typeof t2.scheme && "function" == typeof t2.fsPath && "function" == typeof t2.with && "function" == typeof t2.toString); + return t2 instanceof e3 || !!t2 && (typeof t2.authority == "string" && typeof t2.fragment == "string" && typeof t2.path == "string" && typeof t2.query == "string" && typeof t2.scheme == "string" && typeof t2.fsPath == "function" && typeof t2.with == "function" && typeof t2.toString == "function"); }, Object.defineProperty(e3.prototype, "fsPath", {get: function() { return v(this, false); }, enumerable: true, configurable: true}), e3.prototype.with = function(e4) { if (!e4) return this; var t2 = e4.scheme, n2 = e4.authority, i2 = e4.path, o2 = e4.query, r2 = e4.fragment; - return void 0 === t2 ? t2 = this.scheme : null === t2 && (t2 = ""), void 0 === n2 ? n2 = this.authority : null === n2 && (n2 = ""), void 0 === i2 ? i2 = this.path : null === i2 && (i2 = ""), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = ""), void 0 === r2 ? r2 = this.fragment : null === r2 && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new g(t2, n2, i2, o2, r2); + return t2 === void 0 ? t2 = this.scheme : t2 === null && (t2 = ""), n2 === void 0 ? n2 = this.authority : n2 === null && (n2 = ""), i2 === void 0 ? i2 = this.path : i2 === null && (i2 = ""), o2 === void 0 ? o2 = this.query : o2 === null && (o2 = ""), r2 === void 0 ? r2 = this.fragment : r2 === null && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new g(t2, n2, i2, o2, r2); }, e3.parse = function(e4, t2) { - void 0 === t2 && (t2 = false); + t2 === void 0 && (t2 = false); var n2 = u.exec(e4); return n2 ? new g(n2[2] || "", C(n2[4] || ""), C(n2[5] || ""), C(n2[7] || ""), C(n2[9] || ""), t2) : new g("", "", "", "", ""); }, e3.file = function(e4) { var t2 = ""; if (r && (e4 = e4.replace(/\\/g, h)), e4[0] === h && e4[1] === h) { var n2 = e4.indexOf(h, 2); - -1 === n2 ? (t2 = e4.substring(2), e4 = h) : (t2 = e4.substring(2, n2), e4 = e4.substring(n2) || h); + n2 === -1 ? (t2 = e4.substring(2), e4 = h) : (t2 = e4.substring(2, n2), e4 = e4.substring(n2) || h); } return new g("file", t2, e4, "", ""); }, e3.from = function(e4) { return new g(e4.scheme, e4.authority, e4.path, e4.query, e4.fragment); }, e3.prototype.toString = function(e4) { - return void 0 === e4 && (e4 = false), w(this, e4); + return e4 === void 0 && (e4 = false), w(this, e4); }, e3.prototype.toJSON = function() { return this; }, e3.revive = function(t2) { @@ -40843,13 +40843,13 @@ ${Object(zn.b)(wi)} }, e3; }(), m = r ? 1 : void 0, g = function(e3) { function t2() { - var t3 = null !== e3 && e3.apply(this, arguments) || this; + var t3 = e3 !== null && e3.apply(this, arguments) || this; return t3._formatted = null, t3._fsPath = null, t3; } return s(t2, e3), Object.defineProperty(t2.prototype, "fsPath", {get: function() { return this._fsPath || (this._fsPath = v(this, false)), this._fsPath; }, enumerable: true, configurable: true}), t2.prototype.toString = function(e4) { - return void 0 === e4 && (e4 = false), e4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted); + return e4 === void 0 && (e4 = false), e4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted); }, t2.prototype.toJSON = function() { var e4 = {$mid: 1}; return this._fsPath && (e4.fsPath = this._fsPath, e4._sep = m), this._formatted && (e4.external = this._formatted), this.path && (e4.path = this.path), this.scheme && (e4.scheme = this.scheme), this.authority && (e4.authority = this.authority), this.query && (e4.query = this.query), this.fragment && (e4.fragment = this.fragment), e4; @@ -40858,41 +40858,41 @@ ${Object(zn.b)(wi)} function b(e3, t2) { for (var n2 = void 0, i2 = -1, o2 = 0; o2 < e3.length; o2++) { var r2 = e3.charCodeAt(o2); - if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || 45 === r2 || 46 === r2 || 95 === r2 || 126 === r2 || t2 && 47 === r2) - -1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += e3.charAt(o2)); + if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || r2 === 45 || r2 === 46 || r2 === 95 || r2 === 126 || t2 && r2 === 47) + i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 !== void 0 && (n2 += e3.charAt(o2)); else { - void 0 === n2 && (n2 = e3.substr(0, o2)); + n2 === void 0 && (n2 = e3.substr(0, o2)); var s2 = f[r2]; - void 0 !== s2 ? (-1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 += s2) : -1 === i2 && (i2 = o2); + s2 !== void 0 ? (i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 += s2) : i2 === -1 && (i2 = o2); } } - return -1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2))), void 0 !== n2 ? n2 : e3; + return i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2))), n2 !== void 0 ? n2 : e3; } function _(e3) { for (var t2 = void 0, n2 = 0; n2 < e3.length; n2++) { var i2 = e3.charCodeAt(n2); - 35 === i2 || 63 === i2 ? (void 0 === t2 && (t2 = e3.substr(0, n2)), t2 += f[i2]) : void 0 !== t2 && (t2 += e3[n2]); + i2 === 35 || i2 === 63 ? (t2 === void 0 && (t2 = e3.substr(0, n2)), t2 += f[i2]) : t2 !== void 0 && (t2 += e3[n2]); } - return void 0 !== t2 ? t2 : e3; + return t2 !== void 0 ? t2 : e3; } function v(e3, t2) { var n2; - return n2 = e3.authority && e3.path.length > 1 && "file" === e3.scheme ? "//" + e3.authority + e3.path : 47 === e3.path.charCodeAt(0) && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && 58 === e3.path.charCodeAt(2) ? t2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, r && (n2 = n2.replace(/\//g, "\\")), n2; + return n2 = e3.authority && e3.path.length > 1 && e3.scheme === "file" ? "//" + e3.authority + e3.path : e3.path.charCodeAt(0) === 47 && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && e3.path.charCodeAt(2) === 58 ? t2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, r && (n2 = n2.replace(/\//g, "\\")), n2; } function w(e3, t2) { var n2 = t2 ? _ : b, i2 = "", o2 = e3.scheme, r2 = e3.authority, s2 = e3.path, a2 = e3.query, l2 = e3.fragment; - if (o2 && (i2 += o2, i2 += ":"), (r2 || "file" === o2) && (i2 += h, i2 += h), r2) { + if (o2 && (i2 += o2, i2 += ":"), (r2 || o2 === "file") && (i2 += h, i2 += h), r2) { var c2 = r2.indexOf("@"); - if (-1 !== c2) { + if (c2 !== -1) { var d2 = r2.substr(0, c2); - r2 = r2.substr(c2 + 1), -1 === (c2 = d2.indexOf(":")) ? i2 += n2(d2, false) : (i2 += n2(d2.substr(0, c2), false), i2 += ":", i2 += n2(d2.substr(c2 + 1), false)), i2 += "@"; + r2 = r2.substr(c2 + 1), (c2 = d2.indexOf(":")) === -1 ? i2 += n2(d2, false) : (i2 += n2(d2.substr(0, c2), false), i2 += ":", i2 += n2(d2.substr(c2 + 1), false)), i2 += "@"; } - -1 === (c2 = (r2 = r2.toLowerCase()).indexOf(":")) ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, c2), false), i2 += r2.substr(c2)); + (c2 = (r2 = r2.toLowerCase()).indexOf(":")) === -1 ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, c2), false), i2 += r2.substr(c2)); } if (s2) { - if (s2.length >= 3 && 47 === s2.charCodeAt(0) && 58 === s2.charCodeAt(2)) + if (s2.length >= 3 && s2.charCodeAt(0) === 47 && s2.charCodeAt(2) === 58) (u2 = s2.charCodeAt(1)) >= 65 && u2 <= 90 && (s2 = "/" + String.fromCharCode(u2 + 32) + ":" + s2.substr(3)); - else if (s2.length >= 2 && 58 === s2.charCodeAt(1)) { + else if (s2.length >= 2 && s2.charCodeAt(1) === 58) { var u2; (u2 = s2.charCodeAt(0)) >= 65 && u2 <= 90 && (s2 = String.fromCharCode(u2 + 32) + ":" + s2.substr(2)); } @@ -40936,7 +40936,7 @@ ${Object(zn.b)(wi)} }, function(e, t, n) { "use strict"; function i(e2) { - return e2 && "string" == typeof e2.id; + return e2 && typeof e2.id == "string"; } n.d(t, "b", function() { return i; @@ -40961,18 +40961,18 @@ ${Object(zn.b)(wi)} function n2() { this.constructor = e3; } - i(e3, t2), e3.prototype = null === t2 ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); + i(e3, t2), e3.prototype = t2 === null ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); }); - if ("object" == typeof e2) - r = "win32" === e2.platform; - else if ("object" == typeof navigator) { + if (typeof e2 == "object") + r = e2.platform === "win32"; + else if (typeof navigator == "object") { var a = navigator.userAgent; r = a.indexOf("Windows") >= 0; } var l = /^\w[\w\d+.-]*$/, c = /^\//, d = /^\/\//; var h = "/", u = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/, p = function() { function e3(e4, t2, n2, i2, o2, r2) { - void 0 === r2 && (r2 = false), "object" == typeof e4 ? (this.scheme = e4.scheme || "", this.authority = e4.authority || "", this.path = e4.path || "", this.query = e4.query || "", this.fragment = e4.fragment || "") : (this.scheme = function(e5, t3) { + r2 === void 0 && (r2 = false), typeof e4 == "object" ? (this.scheme = e4.scheme || "", this.authority = e4.authority || "", this.path = e4.path || "", this.query = e4.query || "", this.fragment = e4.fragment || "") : (this.scheme = function(e5, t3) { return e5 || t3 ? e5 : "file"; }(e4, r2), this.authority = t2 || "", this.path = function(e5, t3) { switch (e5) { @@ -40997,29 +40997,29 @@ ${Object(zn.b)(wi)} }(this, r2)); } return e3.isUri = function(t2) { - return t2 instanceof e3 || !!t2 && ("string" == typeof t2.authority && "string" == typeof t2.fragment && "string" == typeof t2.path && "string" == typeof t2.query && "string" == typeof t2.scheme && "function" == typeof t2.fsPath && "function" == typeof t2.with && "function" == typeof t2.toString); + return t2 instanceof e3 || !!t2 && (typeof t2.authority == "string" && typeof t2.fragment == "string" && typeof t2.path == "string" && typeof t2.query == "string" && typeof t2.scheme == "string" && typeof t2.fsPath == "function" && typeof t2.with == "function" && typeof t2.toString == "function"); }, Object.defineProperty(e3.prototype, "fsPath", {get: function() { return v(this, false); }, enumerable: true, configurable: true}), e3.prototype.with = function(e4) { if (!e4) return this; var t2 = e4.scheme, n2 = e4.authority, i2 = e4.path, o2 = e4.query, r2 = e4.fragment; - return void 0 === t2 ? t2 = this.scheme : null === t2 && (t2 = ""), void 0 === n2 ? n2 = this.authority : null === n2 && (n2 = ""), void 0 === i2 ? i2 = this.path : null === i2 && (i2 = ""), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = ""), void 0 === r2 ? r2 = this.fragment : null === r2 && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new g(t2, n2, i2, o2, r2); + return t2 === void 0 ? t2 = this.scheme : t2 === null && (t2 = ""), n2 === void 0 ? n2 = this.authority : n2 === null && (n2 = ""), i2 === void 0 ? i2 = this.path : i2 === null && (i2 = ""), o2 === void 0 ? o2 = this.query : o2 === null && (o2 = ""), r2 === void 0 ? r2 = this.fragment : r2 === null && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new g(t2, n2, i2, o2, r2); }, e3.parse = function(e4, t2) { - void 0 === t2 && (t2 = false); + t2 === void 0 && (t2 = false); var n2 = u.exec(e4); return n2 ? new g(n2[2] || "", C(n2[4] || ""), C(n2[5] || ""), C(n2[7] || ""), C(n2[9] || ""), t2) : new g("", "", "", "", ""); }, e3.file = function(e4) { var t2 = ""; if (r && (e4 = e4.replace(/\\/g, h)), e4[0] === h && e4[1] === h) { var n2 = e4.indexOf(h, 2); - -1 === n2 ? (t2 = e4.substring(2), e4 = h) : (t2 = e4.substring(2, n2), e4 = e4.substring(n2) || h); + n2 === -1 ? (t2 = e4.substring(2), e4 = h) : (t2 = e4.substring(2, n2), e4 = e4.substring(n2) || h); } return new g("file", t2, e4, "", ""); }, e3.from = function(e4) { return new g(e4.scheme, e4.authority, e4.path, e4.query, e4.fragment); }, e3.prototype.toString = function(e4) { - return void 0 === e4 && (e4 = false), w(this, e4); + return e4 === void 0 && (e4 = false), w(this, e4); }, e3.prototype.toJSON = function() { return this; }, e3.revive = function(t2) { @@ -41033,13 +41033,13 @@ ${Object(zn.b)(wi)} }, e3; }(), m = r ? 1 : void 0, g = function(e3) { function t2() { - var t3 = null !== e3 && e3.apply(this, arguments) || this; + var t3 = e3 !== null && e3.apply(this, arguments) || this; return t3._formatted = null, t3._fsPath = null, t3; } return s(t2, e3), Object.defineProperty(t2.prototype, "fsPath", {get: function() { return this._fsPath || (this._fsPath = v(this, false)), this._fsPath; }, enumerable: true, configurable: true}), t2.prototype.toString = function(e4) { - return void 0 === e4 && (e4 = false), e4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted); + return e4 === void 0 && (e4 = false), e4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted); }, t2.prototype.toJSON = function() { var e4 = {$mid: 1}; return this._fsPath && (e4.fsPath = this._fsPath, e4._sep = m), this._formatted && (e4.external = this._formatted), this.path && (e4.path = this.path), this.scheme && (e4.scheme = this.scheme), this.authority && (e4.authority = this.authority), this.query && (e4.query = this.query), this.fragment && (e4.fragment = this.fragment), e4; @@ -41048,41 +41048,41 @@ ${Object(zn.b)(wi)} function b(e3, t2) { for (var n2 = void 0, i2 = -1, o2 = 0; o2 < e3.length; o2++) { var r2 = e3.charCodeAt(o2); - if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || 45 === r2 || 46 === r2 || 95 === r2 || 126 === r2 || t2 && 47 === r2) - -1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += e3.charAt(o2)); + if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || r2 === 45 || r2 === 46 || r2 === 95 || r2 === 126 || t2 && r2 === 47) + i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 !== void 0 && (n2 += e3.charAt(o2)); else { - void 0 === n2 && (n2 = e3.substr(0, o2)); + n2 === void 0 && (n2 = e3.substr(0, o2)); var s2 = f[r2]; - void 0 !== s2 ? (-1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 += s2) : -1 === i2 && (i2 = o2); + s2 !== void 0 ? (i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 += s2) : i2 === -1 && (i2 = o2); } } - return -1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2))), void 0 !== n2 ? n2 : e3; + return i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2))), n2 !== void 0 ? n2 : e3; } function _(e3) { for (var t2 = void 0, n2 = 0; n2 < e3.length; n2++) { var i2 = e3.charCodeAt(n2); - 35 === i2 || 63 === i2 ? (void 0 === t2 && (t2 = e3.substr(0, n2)), t2 += f[i2]) : void 0 !== t2 && (t2 += e3[n2]); + i2 === 35 || i2 === 63 ? (t2 === void 0 && (t2 = e3.substr(0, n2)), t2 += f[i2]) : t2 !== void 0 && (t2 += e3[n2]); } - return void 0 !== t2 ? t2 : e3; + return t2 !== void 0 ? t2 : e3; } function v(e3, t2) { var n2; - return n2 = e3.authority && e3.path.length > 1 && "file" === e3.scheme ? "//" + e3.authority + e3.path : 47 === e3.path.charCodeAt(0) && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && 58 === e3.path.charCodeAt(2) ? t2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, r && (n2 = n2.replace(/\//g, "\\")), n2; + return n2 = e3.authority && e3.path.length > 1 && e3.scheme === "file" ? "//" + e3.authority + e3.path : e3.path.charCodeAt(0) === 47 && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && e3.path.charCodeAt(2) === 58 ? t2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, r && (n2 = n2.replace(/\//g, "\\")), n2; } function w(e3, t2) { var n2 = t2 ? _ : b, i2 = "", o2 = e3.scheme, r2 = e3.authority, s2 = e3.path, a2 = e3.query, l2 = e3.fragment; - if (o2 && (i2 += o2, i2 += ":"), (r2 || "file" === o2) && (i2 += h, i2 += h), r2) { + if (o2 && (i2 += o2, i2 += ":"), (r2 || o2 === "file") && (i2 += h, i2 += h), r2) { var c2 = r2.indexOf("@"); - if (-1 !== c2) { + if (c2 !== -1) { var d2 = r2.substr(0, c2); - r2 = r2.substr(c2 + 1), -1 === (c2 = d2.indexOf(":")) ? i2 += n2(d2, false) : (i2 += n2(d2.substr(0, c2), false), i2 += ":", i2 += n2(d2.substr(c2 + 1), false)), i2 += "@"; + r2 = r2.substr(c2 + 1), (c2 = d2.indexOf(":")) === -1 ? i2 += n2(d2, false) : (i2 += n2(d2.substr(0, c2), false), i2 += ":", i2 += n2(d2.substr(c2 + 1), false)), i2 += "@"; } - -1 === (c2 = (r2 = r2.toLowerCase()).indexOf(":")) ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, c2), false), i2 += r2.substr(c2)); + (c2 = (r2 = r2.toLowerCase()).indexOf(":")) === -1 ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, c2), false), i2 += r2.substr(c2)); } if (s2) { - if (s2.length >= 3 && 47 === s2.charCodeAt(0) && 58 === s2.charCodeAt(2)) + if (s2.length >= 3 && s2.charCodeAt(0) === 47 && s2.charCodeAt(2) === 58) (u2 = s2.charCodeAt(1)) >= 65 && u2 <= 90 && (s2 = "/" + String.fromCharCode(u2 + 32) + ":" + s2.substr(3)); - else if (s2.length >= 2 && 58 === s2.charCodeAt(1)) { + else if (s2.length >= 2 && s2.charCodeAt(1) === 58) { var u2; (u2 = s2.charCodeAt(0)) >= 65 && u2 <= 90 && (s2 = String.fromCharCode(u2 + 32) + ":" + s2.substr(2)); } @@ -41241,7 +41241,7 @@ ${Object(zn.b)(wi)} const r = "$("; function s(e2) { const t2 = e2.indexOf(r); - return -1 === t2 ? {text: e2} : function(e3, t3) { + return t2 === -1 ? {text: e2} : function(e3, t3) { const n2 = []; let i2 = ""; function o2(e4) { @@ -41257,10 +41257,10 @@ ${Object(zn.b)(wi)} for (; h < u; ) { if (s2 = e3[h], a2 = e3[h + 1], s2 === r[0] && a2 === r[1]) l = h, o2(c), c = r, h++; - else if (")" === s2 && -1 !== l) { + else if (s2 === ")" && l !== -1) { d += h - l + 1, l = -1, c = ""; } else - -1 !== l ? /^[a-z0-9\-]$/i.test(s2) ? c += s2 : (o2(c), l = -1, c = "") : o2(s2); + l !== -1 ? /^[a-z0-9\-]$/i.test(s2) ? c += s2 : (o2(c), l = -1, c = "") : o2(s2); h++; } return o2(c), {text: i2, codiconOffsets: n2}; @@ -41268,7 +41268,7 @@ ${Object(zn.b)(wi)} } function a(e2, t2, n2 = false) { const {text: r2, codiconOffsets: s2} = t2; - if (!s2 || 0 === s2.length) + if (!s2 || s2.length === 0) return Object(i.g)(e2, r2, n2); const a2 = Object(o.K)(r2, " "), l = r2.length - a2.length, c = Object(i.g)(e2, a2, n2); if (c) @@ -41297,15 +41297,15 @@ ${Object(zn.b)(wi)} const h = new l.a(); class u extends i.a { constructor(e2, t2, n2) { - super(), this._state = 3, this._onDidEnablementChange = this._register(new l.a()), this.onDidEnablementChange = this._onDidEnablementChange.event, this._onDidStart = this._register(new l.a()), this.onDidStart = this._onDidStart.event, this._onDidChange = this._register(new l.a()), this.onDidChange = this._onDidChange.event, this._onDidReset = this._register(new l.a()), this.onDidReset = this._onDidReset.event, this._onDidEnd = this._register(new l.a()), this.onDidEnd = this._onDidEnd.event, this.linkedSash = void 0, this.orthogonalStartSashDisposables = this._register(new i.b()), this.orthogonalEndSashDisposables = this._register(new i.b()), this.el = Object(c.p)(e2, Object(c.a)(".monaco-sash")), o.f && Object(c.e)(this.el, "mac"), this._register(Object(d.a)(this.el, "mousedown")(this.onMouseDown, this)), this._register(Object(d.a)(this.el, "dblclick")(this.onMouseDoubleClick, this)), this._register(s.b.addTarget(this.el)), this._register(Object(d.a)(this.el, s.a.Start)(this.onTouchStart, this)), "number" == typeof n2.size ? (this.size = n2.size, 0 === n2.orientation ? this.el.style.width = this.size + "px" : this.el.style.height = this.size + "px") : (this.size = 4, this._register(h.event((e3) => { + super(), this._state = 3, this._onDidEnablementChange = this._register(new l.a()), this.onDidEnablementChange = this._onDidEnablementChange.event, this._onDidStart = this._register(new l.a()), this.onDidStart = this._onDidStart.event, this._onDidChange = this._register(new l.a()), this.onDidChange = this._onDidChange.event, this._onDidReset = this._register(new l.a()), this.onDidReset = this._onDidReset.event, this._onDidEnd = this._register(new l.a()), this.onDidEnd = this._onDidEnd.event, this.linkedSash = void 0, this.orthogonalStartSashDisposables = this._register(new i.b()), this.orthogonalEndSashDisposables = this._register(new i.b()), this.el = Object(c.p)(e2, Object(c.a)(".monaco-sash")), o.f && Object(c.e)(this.el, "mac"), this._register(Object(d.a)(this.el, "mousedown")(this.onMouseDown, this)), this._register(Object(d.a)(this.el, "dblclick")(this.onMouseDoubleClick, this)), this._register(s.b.addTarget(this.el)), this._register(Object(d.a)(this.el, s.a.Start)(this.onTouchStart, this)), typeof n2.size == "number" ? (this.size = n2.size, n2.orientation === 0 ? this.el.style.width = this.size + "px" : this.el.style.height = this.size + "px") : (this.size = 4, this._register(h.event((e3) => { this.size = e3, this.layout(); - }))), this.hidden = false, this.layoutProvider = t2, this.orthogonalStartSash = n2.orthogonalStartSash, this.orthogonalEndSash = n2.orthogonalEndSash, this.orientation = n2.orientation || 0, 1 === this.orientation ? (Object(c.e)(this.el, "horizontal"), Object(c.Q)(this.el, "vertical")) : (Object(c.Q)(this.el, "horizontal"), Object(c.e)(this.el, "vertical")), Object(c.ab)(this.el, "debug", false), this.layout(); + }))), this.hidden = false, this.layoutProvider = t2, this.orthogonalStartSash = n2.orthogonalStartSash, this.orthogonalEndSash = n2.orthogonalEndSash, this.orientation = n2.orientation || 0, this.orientation === 1 ? (Object(c.e)(this.el, "horizontal"), Object(c.Q)(this.el, "vertical")) : (Object(c.Q)(this.el, "horizontal"), Object(c.e)(this.el, "vertical")), Object(c.ab)(this.el, "debug", false), this.layout(); } get state() { return this._state; } set state(e2) { - this._state !== e2 && (Object(c.ab)(this.el, "disabled", 0 === e2), Object(c.ab)(this.el, "minimum", 1 === e2), Object(c.ab)(this.el, "maximum", 2 === e2), this._state = e2, this._onDidEnablementChange.fire(e2)); + this._state !== e2 && (Object(c.ab)(this.el, "disabled", e2 === 0), Object(c.ab)(this.el, "minimum", e2 === 1), Object(c.ab)(this.el, "maximum", e2 === 2), this._state = e2, this._onDidEnablementChange.fire(e2)); } get orthogonalStartSash() { return this._orthogonalStartSash; @@ -41335,7 +41335,7 @@ ${Object(zn.b)(wi)} Object(c.e)(this.el, "active"), this._onDidStart.fire(u2); const p = Object(c.v)(this.el), m = () => { let e3 = ""; - e3 = t2 ? "all-scroll" : 1 === this.orientation ? 1 === this.state ? "s-resize" : 2 === this.state ? "n-resize" : o.f ? "row-resize" : "ns-resize" : 1 === this.state ? "e-resize" : 2 === this.state ? "w-resize" : o.f ? "col-resize" : "ew-resize", p.innerHTML = `* { cursor: ${e3} !important; }`; + e3 = t2 ? "all-scroll" : this.orientation === 1 ? this.state === 1 ? "s-resize" : this.state === 2 ? "n-resize" : o.f ? "row-resize" : "ns-resize" : this.state === 1 ? "e-resize" : this.state === 2 ? "w-resize" : o.f ? "col-resize" : "ew-resize", p.innerHTML = `* { cursor: ${e3} !important; }`; }, g = new i.b(); m(), t2 || this.onDidEnablementChange(m, null, g); Object(d.a)(window, "mousemove")((e3) => { @@ -41362,7 +41362,7 @@ ${Object(zn.b)(wi)} })); } layout() { - if (0 === this.orientation) { + if (this.orientation === 0) { const e2 = this.layoutProvider; this.el.style.left = e2.getVerticalSashLeft(this) - this.size / 2 + "px", e2.getVerticalSashTop && (this.el.style.top = e2.getVerticalSashTop(this) + "px"), e2.getVerticalSashHeight && (this.el.style.height = e2.getVerticalSashHeight(this) + "px"); } else { @@ -41374,13 +41374,13 @@ ${Object(zn.b)(wi)} this.hidden = true, this.el.style.display = "none", this.el.setAttribute("aria-hidden", "true"); } onOrthogonalStartSashEnablementChange(e2) { - Object(c.ab)(this.el, "orthogonal-start", 0 !== e2); + Object(c.ab)(this.el, "orthogonal-start", e2 !== 0); } onOrthogonalEndSashEnablementChange(e2) { - Object(c.ab)(this.el, "orthogonal-end", 0 !== e2); + Object(c.ab)(this.el, "orthogonal-end", e2 !== 0); } getOrthogonalSash(e2) { - if (0 === this.orientation) { + if (this.orientation === 0) { if (e2.offsetY <= this.size) return this.orthogonalStartSash; if (e2.offsetY >= this.el.clientHeight - this.size) @@ -41447,14 +41447,14 @@ ${Object(zn.b)(wi)} return true; } static filter(e2, t2, n2, i2) { - if (0 === e2.length) + if (e2.length === 0) return []; let r2 = [], s2 = 0; for (let a2 = 0, l = e2.length; a2 < l; a2++) { const l2 = e2[a2], c = l2.range; if (c.endLineNumber < t2 || c.startLineNumber > t2) continue; - if (c.isEmpty() && (0 === l2.type || 3 === l2.type)) + if (c.isEmpty() && (l2.type === 0 || l2.type === 3)) continue; const d = c.startLineNumber === t2 ? c.startColumn : n2, h = c.endLineNumber === t2 ? c.endColumn : i2; r2[s2++] = new o(d, h, l2.inlineClassName, l2.type); @@ -41469,7 +41469,7 @@ ${Object(zn.b)(wi)} if (e2.startColumn === t2.startColumn) { if (e2.endColumn === t2.endColumn) { const n2 = o._typeCompare(e2.type, t2.type); - return 0 === n2 ? e2.className < t2.className ? -1 : e2.className > t2.className ? 1 : 0 : n2; + return n2 === 0 ? e2.className < t2.className ? -1 : e2.className > t2.className ? 1 : 0 : n2; } return e2.endColumn - t2.endColumn; } @@ -41501,7 +41501,7 @@ ${Object(zn.b)(wi)} return this.count > 0 && t2 < e2 && (n2.push(new r(t2, e2 - 1, this.classNames.join(" "), s._metadata(this.metadata))), t2 = e2), t2; } insert(e2, t2, n2) { - if (0 === this.count || this.stopOffsets[this.count - 1] <= e2) + if (this.count === 0 || this.stopOffsets[this.count - 1] <= e2) this.stopOffsets.push(e2), this.classNames.push(t2), this.metadata.push(n2); else for (let i2 = 0; i2 < this.count; i2++) @@ -41514,7 +41514,7 @@ ${Object(zn.b)(wi)} } class a { static normalize(e2, t2) { - if (0 === t2.length) + if (t2.length === 0) return []; let n2 = []; const o2 = new s(); @@ -41522,7 +41522,7 @@ ${Object(zn.b)(wi)} for (let s2 = 0, a2 = t2.length; s2 < a2; s2++) { const a3 = t2[s2]; let l = a3.startColumn, c = a3.endColumn; - const d = a3.className, h = 1 === a3.type ? 2 : 2 === a3.type ? 4 : 0; + const d = a3.className, h = a3.type === 1 ? 2 : a3.type === 2 ? 4 : 0; if (l > 1) { const t3 = e2.charCodeAt(l - 2); i.F(t3) && l--; @@ -41532,7 +41532,7 @@ ${Object(zn.b)(wi)} i.F(t3) && c--; } const u = l - 1, p = c - 2; - r2 = o2.consumeLowerThan(u, r2, n2), 0 === o2.count && (r2 = u), o2.insert(p, d, h); + r2 = o2.consumeLowerThan(u, r2, n2), o2.count === 0 && (r2 = u), o2.insert(p, d, h); } return o2.consumeLowerThan(1073741824, r2, n2), n2; } @@ -41577,10 +41577,10 @@ ${Object(zn.b)(wi)} static escapeNewLines(e2, t2) { let n2 = 0, i2 = 0; return e2.replace(/\r\n|\r|\n/g, (e3, o2) => { - i2 = "\r\n" === e3 ? -1 : 0, o2 += n2; + i2 = e3 === "\r\n" ? -1 : 0, o2 += n2; for (const e4 of t2) e4.end <= o2 || (e4.start >= o2 && (e4.start += i2), e4.end >= o2 && (e4.end += i2)); - return n2 += i2, "⏎"; + return n2 += i2, "\u23CE"; }); } } @@ -41590,7 +41590,7 @@ ${Object(zn.b)(wi)} return r; }); var i = n(11); - const o = i.b.performance && "function" == typeof i.b.performance.now; + const o = i.b.performance && typeof i.b.performance.now == "function"; class r { constructor(e2) { this._highResolution = o && e2, this._startTime = this._now(), this._stopTime = -1; @@ -41602,7 +41602,7 @@ ${Object(zn.b)(wi)} this._stopTime = this._now(); } elapsed() { - return -1 !== this._stopTime ? this._stopTime - this._startTime : this._now() - this._startTime; + return this._stopTime !== -1 ? this._stopTime - this._startTime : this._now() - this._startTime; } _now() { return this._highResolution ? i.b.performance.now() : new Date().getTime(); @@ -41633,7 +41633,7 @@ ${Object(zn.b)(wi)} return s._create(i2, o2, r2, a2, l, c, t2, n2); } static _create(e2, t2, n2, i2, a2, l, c, d) { - 0 === a2 ? a2 = Math.round(r * n2) : a2 < 8 && (a2 = 8); + a2 === 0 ? a2 = Math.round(r * n2) : a2 < 8 && (a2 = 8); const h = 1 + (d ? 0 : 0.1 * o.a.getZoomLevel()); return new s({zoomLevel: c, fontFamily: e2, fontWeight: t2, fontSize: n2 *= h, fontFeatureSettings: i2, lineHeight: a2 *= h, letterSpacing: l}); } @@ -41704,7 +41704,7 @@ ${Object(zn.b)(wi)} static readOptions(e2) { const t2 = e2, n2 = new b(); for (const e3 of l.k) { - const i2 = "_never_" === e3.name ? void 0 : t2[e3.name]; + const i2 = e3.name === "_never_" ? void 0 : t2[e3.name]; n2._write(e3.id, i2); } return n2; @@ -41722,7 +41722,7 @@ ${Object(zn.b)(wi)} return n2; } static _deepEquals(e2, t2) { - if ("object" != typeof e2 || "object" != typeof t2) + if (typeof e2 != "object" || typeof t2 != "object") return e2 === t2; if (Array.isArray(e2) || Array.isArray(t2)) return !(!Array.isArray(e2) || !Array.isArray(t2)) && a.g(e2, t2); @@ -41745,33 +41745,33 @@ ${Object(zn.b)(wi)} const t2 = s.c(e2); return function(e3) { const t3 = e3.wordWrap; - true === t3 ? e3.wordWrap = "on" : false === t3 && (e3.wordWrap = "off"); + t3 === true ? e3.wordWrap = "on" : t3 === false && (e3.wordWrap = "off"); const n2 = e3.lineNumbers; - true === n2 ? e3.lineNumbers = "on" : false === n2 && (e3.lineNumbers = "off"), false === e3.autoClosingBrackets && (e3.autoClosingBrackets = "never", e3.autoClosingQuotes = "never", e3.autoSurround = "never"), "visible" === e3.cursorBlinking && (e3.cursorBlinking = "solid"); + n2 === true ? e3.lineNumbers = "on" : n2 === false && (e3.lineNumbers = "off"), e3.autoClosingBrackets === false && (e3.autoClosingBrackets = "never", e3.autoClosingQuotes = "never", e3.autoSurround = "never"), e3.cursorBlinking === "visible" && (e3.cursorBlinking = "solid"); const i2 = e3.renderWhitespace; - true === i2 ? e3.renderWhitespace = "boundary" : false === i2 && (e3.renderWhitespace = "none"); + i2 === true ? e3.renderWhitespace = "boundary" : i2 === false && (e3.renderWhitespace = "none"); const o2 = e3.renderLineHighlight; - true === o2 ? e3.renderLineHighlight = "line" : false === o2 && (e3.renderLineHighlight = "none"); + o2 === true ? e3.renderLineHighlight = "line" : o2 === false && (e3.renderLineHighlight = "none"); const r2 = e3.acceptSuggestionOnEnter; - true === r2 ? e3.acceptSuggestionOnEnter = "on" : false === r2 && (e3.acceptSuggestionOnEnter = "off"); + r2 === true ? e3.acceptSuggestionOnEnter = "on" : r2 === false && (e3.acceptSuggestionOnEnter = "off"); const s2 = e3.tabCompletion; - false === s2 ? e3.tabCompletion = "off" : true === s2 && (e3.tabCompletion = "onlySnippets"); + s2 === false ? e3.tabCompletion = "off" : s2 === true && (e3.tabCompletion = "onlySnippets"); const a2 = e3.suggest; - if (a2 && "object" == typeof a2.filteredTypes && a2.filteredTypes) { + if (a2 && typeof a2.filteredTypes == "object" && a2.filteredTypes) { const e4 = {method: "showMethods", function: "showFunctions", constructor: "showConstructors", field: "showFields", variable: "showVariables", class: "showClasses", struct: "showStructs", interface: "showInterfaces", module: "showModules", property: "showProperties", event: "showEvents", operator: "showOperators", unit: "showUnits", value: "showValues", constant: "showConstants", enum: "showEnums", enumMember: "showEnumMembers", keyword: "showKeywords", text: "showWords", color: "showColors", file: "showFiles", reference: "showReferences", folder: "showFolders", typeParameter: "showTypeParameters", snippet: "showSnippets"}; Object(p.b)(e4, (e5) => { const t4 = a2.filteredTypes[e5.key]; - false === t4 && (a2[e5.value] = t4); + t4 === false && (a2[e5.value] = t4); }); } const l2 = e3.hover; - true === l2 ? e3.hover = {enabled: true} : false === l2 && (e3.hover = {enabled: false}); + l2 === true ? e3.hover = {enabled: true} : l2 === false && (e3.hover = {enabled: false}); const c2 = e3.parameterHints; - true === c2 ? e3.parameterHints = {enabled: true} : false === c2 && (e3.parameterHints = {enabled: false}); + c2 === true ? e3.parameterHints = {enabled: true} : c2 === false && (e3.parameterHints = {enabled: false}); const d2 = e3.autoIndent; - true === d2 ? e3.autoIndent = "full" : false === d2 && (e3.autoIndent = "advanced"); + d2 === true ? e3.autoIndent = "full" : d2 === false && (e3.autoIndent = "advanced"); const h2 = e3.matchBrackets; - true === h2 ? e3.matchBrackets = "always" : false === h2 && (e3.matchBrackets = "never"); + h2 === true ? e3.matchBrackets = "always" : h2 === false && (e3.matchBrackets = "never"); }(t2), t2; } class w extends r.a { @@ -41787,7 +41787,7 @@ ${Object(zn.b)(wi)} const e2 = this.options, t2 = this._computeInternalOptions(); if (e2) { const n2 = _.checkEquals(e2, t2); - if (null === n2) + if (n2 === null) return; this.options = t2, this._onDidChangeFast.fire(n2), this._onDidChange.fire(n2); } else @@ -41811,7 +41811,7 @@ ${Object(zn.b)(wi)} return false; continue; } - if (o2 && "object" == typeof o2 && i2 && "object" == typeof i2) { + if (o2 && typeof o2 == "object" && i2 && typeof i2 == "object") { if (!this._subsetEquals(o2, i2)) return false; continue; @@ -41821,7 +41821,7 @@ ${Object(zn.b)(wi)} return true; } updateOptions(e2) { - if (void 0 === e2) + if (e2 === void 0) return; const t2 = v(e2); w._subsetEquals(this._rawOptions, t2) || (this._rawOptions = s.g(this._rawOptions, t2 || {}), this._readOptions = _.readOptions(this._rawOptions), this._validatedOptions = _.validateOptions(this._readOptions), this._recomputeOptions()); @@ -41846,8 +41846,8 @@ ${Object(zn.b)(wi)} const y = Object.freeze({id: "editor", order: 5, type: "object", title: i.a("editorConfigurationTitle", "Editor"), scope: 5}), C = u.a.as(h.a.Configuration), x = Object.assign(Object.assign({}, y), {properties: {"editor.tabSize": {type: "number", default: l.d.tabSize, minimum: 1, markdownDescription: i.a("tabSize", "The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")}, "editor.insertSpaces": {type: "boolean", default: l.d.insertSpaces, markdownDescription: i.a("insertSpaces", "Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")}, "editor.detectIndentation": {type: "boolean", default: l.d.detectIndentation, markdownDescription: i.a("detectIndentation", "Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")}, "editor.trimAutoWhitespace": {type: "boolean", default: l.d.trimAutoWhitespace, description: i.a("trimAutoWhitespace", "Remove trailing auto inserted whitespace.")}, "editor.largeFileOptimizations": {type: "boolean", default: l.d.largeFileOptimizations, description: i.a("largeFileOptimizations", "Special handling for large files to disable certain memory intensive features.")}, "editor.wordBasedSuggestions": {type: "boolean", default: true, description: i.a("wordBasedSuggestions", "Controls whether completions should be computed based on words in the document.")}, "editor.semanticHighlighting.enabled": {enum: [true, false, "configuredByTheme"], enumDescriptions: [i.a("semanticHighlighting.true", "Semantic highlighting enabled for all color themes."), i.a("semanticHighlighting.false", "Semantic highlighting disabled for all color themes."), i.a("semanticHighlighting.configuredByTheme", "Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")], default: "configuredByTheme", description: i.a("semanticHighlighting.enabled", "Controls whether the semanticHighlighting is shown for the languages that support it.")}, "editor.stablePeek": {type: "boolean", default: false, markdownDescription: i.a("stablePeek", "Keep peek editors open even when double clicking their content or when hitting `Escape`.")}, "editor.maxTokenizationLineLength": {type: "integer", default: 2e4, description: i.a("maxTokenizationLineLength", "Lines above this length will not be tokenized for performance reasons")}, "diffEditor.maxComputationTime": {type: "number", default: 5e3, description: i.a("maxComputationTime", "Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")}, "diffEditor.renderSideBySide": {type: "boolean", default: true, description: i.a("sideBySide", "Controls whether the diff editor shows the diff side by side or inline.")}, "diffEditor.ignoreTrimWhitespace": {type: "boolean", default: true, description: i.a("ignoreTrimWhitespace", "When enabled, the diff editor ignores changes in leading or trailing whitespace.")}, "diffEditor.renderIndicators": {type: "boolean", default: true, description: i.a("renderIndicators", "Controls whether the diff editor shows +/- indicators for added/removed changes.")}, "diffEditor.codeLens": {type: "boolean", default: false, description: i.a("codeLens", "Controls whether the editor shows CodeLens.")}}}); for (const e2 of l.k) { const t2 = e2.schema; - if (void 0 !== t2) - if (void 0 !== (S = t2).type || void 0 !== S.anyOf) + if (t2 !== void 0) + if ((S = t2).type !== void 0 || S.anyOf !== void 0) x.properties["editor." + e2.name] = t2; else for (let e3 in t2) @@ -41856,7 +41856,7 @@ ${Object(zn.b)(wi)} var S; let k = null; function E() { - return null === k && (k = Object.create(null), Object.keys(x.properties).forEach((e2) => { + return k === null && (k = Object.create(null), Object.keys(x.properties).forEach((e2) => { k[e2] = true; })), k; } @@ -41987,8 +41987,8 @@ ${Object(zn.b)(wi)} } } var f = n(98), b = n(15), _ = n(125), v = n(20), w = n(34), y = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -42037,7 +42037,7 @@ ${Object(zn.b)(wi)} } class E { constructor(e2) { - (null == e2 ? void 0 : e2.getSetSize) ? this.getSetSize = e2.getSetSize.bind(e2) : this.getSetSize = (e3, t2, n2) => n2, (null == e2 ? void 0 : e2.getPosInSet) ? this.getPosInSet = e2.getPosInSet.bind(e2) : this.getPosInSet = (e3, t2) => t2 + 1, (null == e2 ? void 0 : e2.getRole) ? this.getRole = e2.getRole.bind(e2) : this.getRole = (e3) => "listitem", (null == e2 ? void 0 : e2.isChecked) ? this.isChecked = e2.isChecked.bind(e2) : this.isChecked = (e3) => { + (e2 == null ? void 0 : e2.getSetSize) ? this.getSetSize = e2.getSetSize.bind(e2) : this.getSetSize = (e3, t2, n2) => n2, (e2 == null ? void 0 : e2.getPosInSet) ? this.getPosInSet = e2.getPosInSet.bind(e2) : this.getPosInSet = (e3, t2) => t2 + 1, (e2 == null ? void 0 : e2.getRole) ? this.getRole = e2.getRole.bind(e2) : this.getRole = (e3) => "listitem", (e2 == null ? void 0 : e2.isChecked) ? this.isChecked = e2.isChecked.bind(e2) : this.isChecked = (e3) => { }; } } @@ -42048,7 +42048,7 @@ ${Object(zn.b)(wi)} this.items = [], this.itemId = 0, this.rangeMap = new m(); for (const e3 of n2) this.renderers.set(e3.templateId, e3); - this.cache = this.disposables.add(new g(this.renderers)), this.lastRenderTop = 0, this.lastRenderHeight = 0, this.domNode = document.createElement("div"), this.domNode.className = "monaco-list", s.e(this.domNode, this.domId), this.domNode.tabIndex = 0, s.ab(this.domNode, "mouse-support", "boolean" != typeof h2.mouseSupport || h2.mouseSupport), this._horizontalScrolling = Object(i.f)(h2, (e3) => e3.horizontalScrolling, C.horizontalScrolling), s.ab(this.domNode, "horizontal-scrolling", this._horizontalScrolling), this.additionalScrollHeight = void 0 === h2.additionalScrollHeight ? 0 : h2.additionalScrollHeight, this.accessibilityProvider = new E(h2.accessibilityProvider), this.rowsContainer = document.createElement("div"), this.rowsContainer.className = "monaco-list-rows"; + this.cache = this.disposables.add(new g(this.renderers)), this.lastRenderTop = 0, this.lastRenderHeight = 0, this.domNode = document.createElement("div"), this.domNode.className = "monaco-list", s.e(this.domNode, this.domId), this.domNode.tabIndex = 0, s.ab(this.domNode, "mouse-support", typeof h2.mouseSupport != "boolean" || h2.mouseSupport), this._horizontalScrolling = Object(i.f)(h2, (e3) => e3.horizontalScrolling, C.horizontalScrolling), s.ab(this.domNode, "horizontal-scrolling", this._horizontalScrolling), this.additionalScrollHeight = h2.additionalScrollHeight === void 0 ? 0 : h2.additionalScrollHeight, this.accessibilityProvider = new E(h2.accessibilityProvider), this.rowsContainer = document.createElement("div"), this.rowsContainer.className = "monaco-list-rows"; Object(i.f)(h2, (e3) => e3.transformOptimization, C.transformOptimization) && (this.rowsContainer.style.transform = "translate3d(0px, 0px, 0px)"), this.disposables.add(r.b.addTarget(this.rowsContainer)), this.scrollable = new d.a(Object(i.f)(h2, (e3) => e3.smoothScrolling, false) ? 125 : 0, (e3) => s.Y(e3)), this.scrollableElement = this.disposables.add(new c.c(this.rowsContainer, {alwaysConsumeMouseWheel: true, horizontal: 1, vertical: Object(i.f)(h2, (e3) => e3.verticalScrollMode, C.verticalScrollMode), useShadows: Object(i.f)(h2, (e3) => e3.useShadows, C.useShadows)}, this.scrollable)), this.domNode.appendChild(this.scrollableElement.getDomNode()), e2.appendChild(this.domNode), this.scrollableElement.onScroll(this.onScroll, this, this.disposables), Object(l.a)(this.rowsContainer, r.a.Change)(this.onTouchChange, this, this.disposables), Object(l.a)(this.scrollableElement.getDomNode(), "scroll")((e3) => e3.target.scrollTop = 0, null, this.disposables), a.b.map(Object(l.a)(this.domNode, "dragover"), (e3) => this.toDragEvent(e3))(this.onDragOver, this, this.disposables), a.b.map(Object(l.a)(this.domNode, "drop"), (e3) => this.toDragEvent(e3))(this.onDrop, this, this.disposables), Object(l.a)(this.domNode, "dragleave")(this.onDragLeave, this, this.disposables), Object(l.a)(window, "dragend")(this.onDragEnd, this, this.disposables), this.setRowLineHeight = Object(i.f)(h2, (e3) => e3.setRowLineHeight, C.setRowLineHeight), this.setRowHeight = Object(i.f)(h2, (e3) => e3.setRowHeight, C.setRowHeight), this.supportDynamicHeights = Object(i.f)(h2, (e3) => e3.supportDynamicHeights, C.supportDynamicHeights), this.dnd = Object(i.f)(h2, (e3) => e3.dnd, C.dnd), this.layout(); } get contentHeight() { @@ -42070,7 +42070,7 @@ ${Object(zn.b)(wi)} } } updateOptions(e2) { - void 0 !== e2.additionalScrollHeight && (this.additionalScrollHeight = e2.additionalScrollHeight), void 0 !== e2.smoothScrolling && this.scrollable.setSmoothScrollDuration(e2.smoothScrolling ? 125 : 0), void 0 !== e2.horizontalScrolling && (this.horizontalScrolling = e2.horizontalScrolling); + e2.additionalScrollHeight !== void 0 && (this.additionalScrollHeight = e2.additionalScrollHeight), e2.smoothScrolling !== void 0 && this.scrollable.setSmoothScrollDuration(e2.smoothScrolling ? 125 : 0), e2.horizontalScrolling !== void 0 && (this.horizontalScrolling = e2.horizontalScrolling); } splice(e2, t2, n2 = []) { if (this.splicing) @@ -42088,7 +42088,7 @@ ${Object(zn.b)(wi)} this.removeItemFromDOM(e3); const a2 = {start: e2 + t2, end: this.items.length}, l2 = h.a.intersect(a2, i2), c2 = h.a.relativeComplement(a2, i2), d2 = n2.map((e3) => ({id: String(this.itemId++), element: e3, templateId: this.virtualDelegate.getTemplateId(e3), size: this.virtualDelegate.getHeight(e3), width: void 0, hasDynamicHeight: !!this.virtualDelegate.hasDynamicHeight && this.virtualDelegate.hasDynamicHeight(e3), lastDynamicHeightWidth: void 0, row: null, uri: void 0, dropTarget: false, dragStartDisposable: o.a.None})); let u2; - 0 === e2 && t2 >= this.items.length ? (this.rangeMap = new m(), this.rangeMap.splice(0, 0, d2), this.items = d2, u2 = []) : (this.rangeMap.splice(e2, t2, d2), u2 = this.items.splice(e2, t2, ...d2)); + e2 === 0 && t2 >= this.items.length ? (this.rangeMap = new m(), this.rangeMap.splice(0, 0, d2), this.items = d2, u2 = []) : (this.rangeMap.splice(e2, t2, d2), u2 = this.items.splice(e2, t2, ...d2)); const g2 = n2.length - t2, f2 = this.getRenderRange(this.lastRenderTop, this.lastRenderHeight), b2 = p(l2, g2), _2 = h.a.intersect(f2, b2); for (let e3 = _2.start; e3 < _2.end; e3++) this.updateItemInDOM(this.items[e3], e3); @@ -42115,8 +42115,8 @@ ${Object(zn.b)(wi)} return; let e2 = 0; for (const t2 of this.items) - void 0 !== t2.width && (e2 = Math.max(e2, t2.width)); - this.scrollWidth = e2, this.scrollableElement.setScrollDimensions({scrollWidth: 0 === e2 ? 0 : e2 + 10}); + t2.width !== void 0 && (e2 = Math.max(e2, t2.width)); + this.scrollWidth = e2, this.scrollableElement.setScrollDimensions({scrollWidth: e2 === 0 ? 0 : e2 + 10}); } rerender() { if (this.supportDynamicHeights) { @@ -42151,8 +42151,8 @@ ${Object(zn.b)(wi)} return this.rangeMap.indexAfter(e2); } layout(e2, t2) { - let n2 = {height: "number" == typeof e2 ? e2 : s.A(this.domNode)}; - this.scrollableElementUpdateDisposable && (this.scrollableElementUpdateDisposable.dispose(), this.scrollableElementUpdateDisposable = null, n2.scrollHeight = this.scrollHeight), this.scrollableElement.setScrollDimensions(n2), void 0 !== t2 && (this.renderWidth = t2, this.supportDynamicHeights && this._rerender(this.scrollTop, this.renderHeight), this.horizontalScrolling && this.scrollableElement.setScrollDimensions({width: "number" == typeof t2 ? t2 : s.B(this.domNode)})); + let n2 = {height: typeof e2 == "number" ? e2 : s.A(this.domNode)}; + this.scrollableElementUpdateDisposable && (this.scrollableElementUpdateDisposable.dispose(), this.scrollableElementUpdateDisposable = null, n2.scrollHeight = this.scrollHeight), this.scrollableElement.setScrollDimensions(n2), t2 !== void 0 && (this.renderWidth = t2, this.supportDynamicHeights && this._rerender(this.scrollTop, this.renderHeight), this.horizontalScrolling && this.scrollableElement.setScrollDimensions({width: typeof t2 == "number" ? t2 : s.B(this.domNode)})); } render(e2, t2, n2, i2, o2, r2 = false) { const s2 = this.getRenderRange(t2, n2), a2 = h.a.relativeComplement(s2, e2), l2 = h.a.relativeComplement(e2, s2), c2 = this.getNextToLastElement(a2); @@ -42167,7 +42167,7 @@ ${Object(zn.b)(wi)} for (const e3 of l2) for (let t3 = e3.start; t3 < e3.end; t3++) this.removeItemFromDOM(t3); - void 0 !== i2 && (this.rowsContainer.style.left = `-${i2}px`), this.rowsContainer.style.top = `-${t2}px`, this.horizontalScrolling && void 0 !== o2 && (this.rowsContainer.style.width = Math.max(o2, this.renderWidth) + "px"), this.lastRenderTop = t2, this.lastRenderHeight = n2; + i2 !== void 0 && (this.rowsContainer.style.left = `-${i2}px`), this.rowsContainer.style.top = `-${t2}px`, this.horizontalScrolling && o2 !== void 0 && (this.rowsContainer.style.width = Math.max(o2, this.renderWidth) + "px"), this.lastRenderTop = t2, this.lastRenderHeight = n2; } insertItemInDOM(e2, t2) { const n2 = this.items[e2]; @@ -42176,7 +42176,7 @@ ${Object(zn.b)(wi)} const e3 = this.accessibilityProvider.getRole(n2.element) || "listitem"; n2.row.domNode.setAttribute("role", e3); const t3 = this.accessibilityProvider.isChecked(n2.element); - void 0 !== t3 && n2.row.domNode.setAttribute("aria-checked", String(!!t3)); + t3 !== void 0 && n2.row.domNode.setAttribute("aria-checked", String(!!t3)); } n2.row.domNode.parentElement || (t2 ? this.rowsContainer.insertBefore(n2.row.domNode, t2) : this.rowsContainer.appendChild(n2.row.domNode)), this.updateItemInDOM(n2, e2); const i2 = this.renderers.get(n2.templateId); @@ -42228,7 +42228,7 @@ ${Object(zn.b)(wi)} return a.b.map(Object(l.a)(this.domNode, "dblclick"), (e2) => this.toMouseEvent(e2)); } get onMouseMiddleClick() { - return a.b.filter(a.b.map(Object(l.a)(this.domNode, "auxclick"), (e2) => this.toMouseEvent(e2)), (e2) => 1 === e2.browserEvent.button); + return a.b.filter(a.b.map(Object(l.a)(this.domNode, "auxclick"), (e2) => this.toMouseEvent(e2)), (e2) => e2.browserEvent.button === 1); } get onMouseDown() { return a.b.map(Object(l.a)(this.domNode, "mousedown"), (e2) => this.toMouseEvent(e2)); @@ -42243,19 +42243,19 @@ ${Object(zn.b)(wi)} return a.b.map(Object(l.a)(this.rowsContainer, r.a.Tap), (e2) => this.toGestureEvent(e2)); } toMouseEvent(e2) { - const t2 = this.getItemIndexFromEventTarget(e2.target || null), n2 = void 0 === t2 ? void 0 : this.items[t2]; + const t2 = this.getItemIndexFromEventTarget(e2.target || null), n2 = t2 === void 0 ? void 0 : this.items[t2]; return {browserEvent: e2, index: t2, element: n2 && n2.element}; } toTouchEvent(e2) { - const t2 = this.getItemIndexFromEventTarget(e2.target || null), n2 = void 0 === t2 ? void 0 : this.items[t2]; + const t2 = this.getItemIndexFromEventTarget(e2.target || null), n2 = t2 === void 0 ? void 0 : this.items[t2]; return {browserEvent: e2, index: t2, element: n2 && n2.element}; } toGestureEvent(e2) { - const t2 = this.getItemIndexFromEventTarget(e2.initialTarget || null), n2 = void 0 === t2 ? void 0 : this.items[t2]; + const t2 = this.getItemIndexFromEventTarget(e2.initialTarget || null), n2 = t2 === void 0 ? void 0 : this.items[t2]; return {browserEvent: e2, index: t2, element: n2 && n2.element}; } toDragEvent(e2) { - const t2 = this.getItemIndexFromEventTarget(e2.target || null), n2 = void 0 === t2 ? void 0 : this.items[t2]; + const t2 = this.getItemIndexFromEventTarget(e2.target || null), n2 = t2 === void 0 ? void 0 : this.items[t2]; return {browserEvent: e2, index: t2, element: n2 && n2.element}; } onScroll(e2) { @@ -42275,14 +42275,14 @@ ${Object(zn.b)(wi)} const i2 = this.dnd.getDragElements(e2); if (n2.dataTransfer.effectAllowed = "copyMove", n2.dataTransfer.setData(_.a.RESOURCES, JSON.stringify([t2])), n2.dataTransfer.setDragImage) { let e3; - this.dnd.getDragLabel && (e3 = this.dnd.getDragLabel(i2, n2)), void 0 === e3 && (e3 = String(i2.length)); + this.dnd.getDragLabel && (e3 = this.dnd.getDragLabel(i2, n2)), e3 === void 0 && (e3 = String(i2.length)); const t3 = s.a(".monaco-drag-image"); t3.textContent = e3, document.body.appendChild(t3), n2.dataTransfer.setDragImage(t3, -10, -10), setTimeout(() => document.body.removeChild(t3), 0); } this.currentDragData = new x(i2), _.c.CurrentDragAndDropData = new S(i2), this.dnd.onDragStart && this.dnd.onDragStart(this.currentDragData, n2); } onDragOver(e2) { - if (e2.browserEvent.preventDefault(), this.onDragLeaveTimeout.dispose(), _.c.CurrentDragAndDropData && "vscode-ui" === _.c.CurrentDragAndDropData.getData()) + if (e2.browserEvent.preventDefault(), this.onDragLeaveTimeout.dispose(), _.c.CurrentDragAndDropData && _.c.CurrentDragAndDropData.getData() === "vscode-ui") return false; if (this.setupDragAndDropScrollTopAnimation(e2.browserEvent), !e2.browserEvent.dataTransfer) return false; @@ -42295,13 +42295,13 @@ ${Object(zn.b)(wi)} this.currentDragData = new k(); } const t2 = this.dnd.onDragOver(this.currentDragData, e2.element, e2.index, e2.browserEvent); - if (this.canDrop = "boolean" == typeof t2 ? t2 : t2.accept, !this.canDrop) + if (this.canDrop = typeof t2 == "boolean" ? t2 : t2.accept, !this.canDrop) return this.currentDragFeedback = void 0, this.currentDragFeedbackDisposable.dispose(), false; let n2; - if (e2.browserEvent.dataTransfer.dropEffect = "boolean" != typeof t2 && 0 === t2.effect ? "copy" : "move", n2 = "boolean" != typeof t2 && t2.feedback ? t2.feedback : void 0 === e2.index ? [-1] : [e2.index], n2 = Object(b.e)(n2).filter((e3) => e3 >= -1 && e3 < this.length).sort((e3, t3) => e3 - t3), n2 = -1 === n2[0] ? [-1] : n2, i2 = this.currentDragFeedback, r2 = n2, Array.isArray(i2) && Array.isArray(r2) ? Object(b.g)(i2, r2) : i2 === r2) + if (e2.browserEvent.dataTransfer.dropEffect = typeof t2 != "boolean" && t2.effect === 0 ? "copy" : "move", n2 = typeof t2 != "boolean" && t2.feedback ? t2.feedback : e2.index === void 0 ? [-1] : [e2.index], n2 = Object(b.e)(n2).filter((e3) => e3 >= -1 && e3 < this.length).sort((e3, t3) => e3 - t3), n2 = n2[0] === -1 ? [-1] : n2, i2 = this.currentDragFeedback, r2 = n2, Array.isArray(i2) && Array.isArray(r2) ? Object(b.g)(i2, r2) : i2 === r2) return true; var i2, r2; - if (this.currentDragFeedback = n2, this.currentDragFeedbackDisposable.dispose(), -1 === n2[0]) + if (this.currentDragFeedback = n2, this.currentDragFeedbackDisposable.dispose(), n2[0] === -1) s.e(this.domNode, "drop-target"), s.e(this.rowsContainer, "drop-target"), this.currentDragFeedbackDisposable = Object(o.h)(() => { s.Q(this.domNode, "drop-target"), s.Q(this.rowsContainer, "drop-target"); }); @@ -42344,7 +42344,7 @@ ${Object(zn.b)(wi)} }, 1e3), this.dragOverMouseY = e2.pageY; } animateDragAndDropScrollTop(e2) { - if (void 0 === this.dragOverMouseY) + if (this.dragOverMouseY === void 0) return; const t2 = this.dragOverMouseY - e2, n2 = this.renderHeight - 35; t2 < 35 ? this.scrollTop += Math.max(-14, Math.floor(0.3 * (t2 - 35))) : t2 > n2 && (this.scrollTop += Math.min(14, Math.floor(0.3 * (t2 - n2)))); @@ -42378,10 +42378,10 @@ ${Object(zn.b)(wi)} let a2 = false; for (let e3 = s2.start; e3 < s2.end; e3++) { const t3 = this.probeDynamicHeight(e3); - 0 !== t3 && this.rangeMap.splice(e3, 1, [this.items[e3]]), r2 += t3, a2 = a2 || 0 !== t3; + t3 !== 0 && this.rangeMap.splice(e3, 1, [this.items[e3]]), r2 += t3, a2 = a2 || t3 !== 0; } if (!a2) { - 0 !== r2 && this.eventuallyUpdateScrollDimensions(); + r2 !== 0 && this.eventuallyUpdateScrollDimensions(); const e3 = h.a.relativeComplement(n2, s2); for (const t4 of e3) for (let e4 = t4.start; e4 < t4.end; e4++) @@ -42394,7 +42394,7 @@ ${Object(zn.b)(wi)} } for (let e4 = s2.start; e4 < s2.end; e4++) this.items[e4].row && this.updateItemInDOM(this.items[e4], e4); - return "number" == typeof i2 && (this.scrollTop = this.elementTop(i2) - o2), void this._onDidChangeContentHeight.fire(this.contentHeight); + return typeof i2 == "number" && (this.scrollTop = this.elementTop(i2) - o2), void this._onDidChangeContentHeight.fire(this.contentHeight); } } } @@ -42692,7 +42692,7 @@ ${Object(zn.b)(wi)} } static read(e2) { const t2 = e2.getAttribute("data-mprt"); - return null === t2 ? 0 : parseInt(t2, 10); + return t2 === null ? 0 : parseInt(t2, 10); } static collect(e2, t2) { let n2 = [], i2 = 0; @@ -42782,7 +42782,7 @@ ${Object(zn.b)(wi)} } } static _mergeAdjacentRanges(e2) { - if (1 === e2.length) + if (e2.length === 1) return [new A(e2[0].left, e2[0].width)]; e2.sort(P.compare); let t2 = [], n2 = 0, i2 = e2[0].left, o2 = e2[0].width; @@ -42793,7 +42793,7 @@ ${Object(zn.b)(wi)} return t2[n2++] = new A(i2, o2), t2; } static _createHorizontalRangesFromClientRects(e2, t2) { - if (!e2 || 0 === e2.length) + if (!e2 || e2.length === 0) return null; const n2 = []; for (let i2 = 0, o2 = e2.length; i2 < o2; i2++) { @@ -42806,13 +42806,13 @@ ${Object(zn.b)(wi)} const a2 = e2.children.length - 1; if (0 > a2) return null; - if ((t2 = Math.min(a2, Math.max(0, t2))) === (i2 = Math.min(a2, Math.max(0, i2))) && n2 === o2 && 0 === n2) { + if ((t2 = Math.min(a2, Math.max(0, t2))) === (i2 = Math.min(a2, Math.max(0, i2))) && n2 === o2 && n2 === 0) { const n3 = e2.children[t2].getClientRects(); return this._createHorizontalRangesFromClientRects(n3, r2); } - t2 !== i2 && i2 > 0 && 0 === o2 && (i2--, o2 = 1073741824); + t2 !== i2 && i2 > 0 && o2 === 0 && (i2--, o2 = 1073741824); let l2 = e2.children[t2].firstChild, c2 = e2.children[i2].firstChild; - if (l2 && c2 || (!l2 && 0 === n2 && t2 > 0 && (l2 = e2.children[t2 - 1].firstChild, n2 = 1073741824), !c2 && 0 === o2 && i2 > 0 && (c2 = e2.children[i2 - 1].firstChild, o2 = 1073741824)), !l2 || !c2) + if (l2 && c2 || (!l2 && n2 === 0 && t2 > 0 && (l2 = e2.children[t2 - 1].firstChild, n2 = 1073741824), !c2 && o2 === 0 && i2 > 0 && (c2 = e2.children[i2 - 1].firstChild, o2 = 1073741824)), !l2 || !c2) return null; n2 = Math.min(l2.textContent.length, Math.max(0, n2)), o2 = Math.min(c2.textContent.length, Math.max(0, o2)); const d2 = this._readClientRects(l2, n2, c2, o2, s2); @@ -42866,21 +42866,21 @@ ${Object(zn.b)(wi)} this._isMaybeInvalid = true, this._options = e2; } onSelectionChanged() { - return !(!H && this._options.themeType !== B.b && "selection" !== this._options.renderWhitespace) && (this._isMaybeInvalid = true, true); + return !(!H && this._options.themeType !== B.b && this._options.renderWhitespace !== "selection") && (this._isMaybeInvalid = true, true); } renderLine(e2, t2, n2, i2) { - if (false === this._isMaybeInvalid) + if (this._isMaybeInvalid === false) return false; this._isMaybeInvalid = false; const o2 = n2.getViewLineRenderingData(e2), r2 = this._options, s2 = W.a.filter(o2.inlineDecorations, e2, o2.minColumn, o2.maxColumn); let a2 = null; - if (H || r2.themeType === B.b || "selection" === this._options.renderWhitespace) { + if (H || r2.themeType === B.b || this._options.renderWhitespace === "selection") { const t3 = n2.selections; for (const n3 of t3) { if (n3.endLineNumber < e2 || n3.startLineNumber > e2) continue; const t4 = n3.startLineNumber === e2 ? n3.startColumn : o2.minColumn, i3 = n3.endLineNumber === e2 ? n3.endColumn : o2.maxColumn; - t4 < i3 && (r2.themeType === B.b || "selection" !== this._options.renderWhitespace ? s2.push(new W.a(t4, i3, "inline-selected-text", 0)) : (a2 || (a2 = []), a2.push(new z.b(t4 - 1, i3 - 1)))); + t4 < i3 && (r2.themeType === B.b || this._options.renderWhitespace !== "selection" ? s2.push(new W.a(t4, i3, "inline-selected-text", 0)) : (a2 || (a2 = []), a2.push(new z.b(t4 - 1, i3 - 1)))); } } const l2 = new z.c(r2.useMonospaceOptimizations, r2.canUseHalfwidthRightwardsArrow, o2.content, o2.continuesWithWrappedLine, o2.isBasicASCII, o2.containsRTL, o2.minColumn - 1, o2.tokens, s2, o2.tabSize, o2.startVisibleColumn, r2.spaceWidth, r2.middotWidth, r2.wsmiddotWidth, r2.stopRenderingLineAfter, r2.renderWhitespace, r2.renderControlCharacters, r2.fontLigatures !== j.e.OFF, a2); @@ -42890,7 +42890,7 @@ ${Object(zn.b)(wi)} const c2 = Object(z.d)(l2, i2); i2.appendASCIIString("</div>"); let d2 = null; - return U && V && o2.isBasicASCII && r2.useMonospaceOptimizations && 0 === c2.containsForeignElements && o2.content.length < 300 && l2.lineTokens.getCount() < 100 && (d2 = new G(this._renderedViewLine ? this._renderedViewLine.domNode : null, l2, c2.characterMapping)), d2 || (d2 = X(this._renderedViewLine ? this._renderedViewLine.domNode : null, l2, c2.characterMapping, c2.containsRTL, c2.containsForeignElements)), this._renderedViewLine = d2, true; + return U && V && o2.isBasicASCII && r2.useMonospaceOptimizations && c2.containsForeignElements === 0 && o2.content.length < 300 && l2.lineTokens.getCount() < 100 && (d2 = new G(this._renderedViewLine ? this._renderedViewLine.domNode : null, l2, c2.characterMapping)), d2 || (d2 = X(this._renderedViewLine ? this._renderedViewLine.domNode : null, l2, c2.characterMapping, c2.containsRTL, c2.containsForeignElements)), this._renderedViewLine = d2, true; } layoutLine(e2, t2) { this._renderedViewLine && this._renderedViewLine.domNode && (this._renderedViewLine.domNode.setTop(t2), this._renderedViewLine.domNode.setHeight(this._options.lineHeight)); @@ -42916,7 +42916,7 @@ ${Object(zn.b)(wi)} e2 |= 0, t2 |= 0, e2 = Math.min(this._renderedViewLine.input.lineContent.length + 1, Math.max(1, e2)), t2 = Math.min(this._renderedViewLine.input.lineContent.length + 1, Math.max(1, t2)); const i2 = 0 | this._renderedViewLine.input.stopRenderingLineAfter; let o2 = false; - -1 !== i2 && e2 > i2 + 1 && t2 > i2 + 1 && (o2 = true), -1 !== i2 && e2 > i2 + 1 && (e2 = i2 + 1), -1 !== i2 && t2 > i2 + 1 && (t2 = i2 + 1); + i2 !== -1 && e2 > i2 + 1 && t2 > i2 + 1 && (o2 = true), i2 !== -1 && e2 > i2 + 1 && (e2 = i2 + 1), i2 !== -1 && t2 > i2 + 1 && (t2 = i2 + 1); const r2 = this._renderedViewLine.getVisibleRangesForRange(e2, t2, n2); return r2 && r2.length > 0 ? new M(o2, r2) : null; } @@ -42950,7 +42950,7 @@ ${Object(zn.b)(wi)} } _getCharPosition(e2) { const t2 = this._characterMapping.getAbsoluteOffsets(); - return 0 === t2.length ? 0 : Math.round(this._charWidth * t2[e2 - 1]); + return t2.length === 0 ? 0 : Math.round(this._charWidth * t2[e2 - 1]); } getColumnOfNodeOffset(e2, t2, n2) { const i2 = t2.textContent.length; @@ -42962,7 +42962,7 @@ ${Object(zn.b)(wi)} } class Y { constructor(e2, t2, n2, i2, o2) { - if (this.domNode = e2, this.input = t2, this._characterMapping = n2, this._isWhitespaceOnly = /^\s*$/.test(t2.lineContent), this._containsForeignElements = o2, this._cachedWidth = -1, this._pixelOffsetCache = null, !i2 || 0 === this._characterMapping.length) { + if (this.domNode = e2, this.input = t2, this._characterMapping = n2, this._isWhitespaceOnly = /^\s*$/.test(t2.lineContent), this._containsForeignElements = o2, this._cachedWidth = -1, this._pixelOffsetCache = null, !i2 || this._characterMapping.length === 0) { this._pixelOffsetCache = new Int32Array(Math.max(2, this._characterMapping.length + 1)); for (let e3 = 0, t3 = this._characterMapping.length; e3 <= t3; e3++) this._pixelOffsetCache[e3] = -1; @@ -42972,44 +42972,44 @@ ${Object(zn.b)(wi)} return e2.domNode.firstChild; } getWidth() { - return this.domNode ? (-1 === this._cachedWidth && (this._cachedWidth = this._getReadingTarget(this.domNode).offsetWidth), this._cachedWidth) : 0; + return this.domNode ? (this._cachedWidth === -1 && (this._cachedWidth = this._getReadingTarget(this.domNode).offsetWidth), this._cachedWidth) : 0; } getWidthIsFast() { - return -1 !== this._cachedWidth; + return this._cachedWidth !== -1; } getVisibleRangesForRange(e2, t2, n2) { if (!this.domNode) return null; - if (null !== this._pixelOffsetCache) { + if (this._pixelOffsetCache !== null) { const i2 = this._readPixelOffset(this.domNode, e2, n2); - if (-1 === i2) + if (i2 === -1) return null; const o2 = this._readPixelOffset(this.domNode, t2, n2); - return -1 === o2 ? null : [new A(i2, o2 - i2)]; + return o2 === -1 ? null : [new A(i2, o2 - i2)]; } return this._readVisibleRangesForRange(this.domNode, e2, t2, n2); } _readVisibleRangesForRange(e2, t2, n2, i2) { if (t2 === n2) { const n3 = this._readPixelOffset(e2, t2, i2); - return -1 === n3 ? null : [new A(n3, 0)]; + return n3 === -1 ? null : [new A(n3, 0)]; } return this._readRawVisibleRangesForRange(e2, t2, n2, i2); } _readPixelOffset(e2, t2, n2) { - if (0 === this._characterMapping.length) { - if (0 === this._containsForeignElements) + if (this._characterMapping.length === 0) { + if (this._containsForeignElements === 0) return 0; - if (2 === this._containsForeignElements) + if (this._containsForeignElements === 2) return 0; - if (1 === this._containsForeignElements) + if (this._containsForeignElements === 1) return this.getWidth(); const t3 = this._getReadingTarget(e2); return t3.firstChild ? t3.firstChild.offsetWidth : 0; } - if (null !== this._pixelOffsetCache) { + if (this._pixelOffsetCache !== null) { const i2 = this._pixelOffsetCache[t2]; - if (-1 !== i2) + if (i2 !== -1) return i2; const o2 = this._actualReadPixelOffset(e2, t2, n2); return this._pixelOffsetCache[t2] = o2, o2; @@ -43017,14 +43017,14 @@ ${Object(zn.b)(wi)} return this._actualReadPixelOffset(e2, t2, n2); } _actualReadPixelOffset(e2, t2, n2) { - if (0 === this._characterMapping.length) { + if (this._characterMapping.length === 0) { const t3 = F.readHorizontalRanges(this._getReadingTarget(e2), 0, 0, 0, 0, n2.clientRectDeltaLeft, n2.endNode); - return t3 && 0 !== t3.length ? t3[0].left : -1; + return t3 && t3.length !== 0 ? t3[0].left : -1; } - if (t2 === this._characterMapping.length && this._isWhitespaceOnly && 0 === this._containsForeignElements) + if (t2 === this._characterMapping.length && this._isWhitespaceOnly && this._containsForeignElements === 0) return this.getWidth(); const i2 = this._characterMapping.charOffsetToPartData(t2 - 1), o2 = z.a.getPartIndex(i2), r2 = z.a.getCharIndex(i2), s2 = F.readHorizontalRanges(this._getReadingTarget(e2), o2, r2, o2, r2, n2.clientRectDeltaLeft, n2.endNode); - if (!s2 || 0 === s2.length) + if (!s2 || s2.length === 0) return -1; const a2 = s2[0].left; if (this.input.isBasicASCII) { @@ -43035,7 +43035,7 @@ ${Object(zn.b)(wi)} return a2; } _readRawVisibleRangesForRange(e2, t2, n2, i2) { - if (1 === t2 && n2 === this._characterMapping.length) + if (t2 === 1 && n2 === this._characterMapping.length) return [new A(0, this.getWidth())]; const o2 = this._characterMapping.charOffsetToPartData(t2 - 1), r2 = z.a.getPartIndex(o2), s2 = z.a.getCharIndex(o2), a2 = this._characterMapping.charOffsetToPartData(n2 - 1), l2 = z.a.getPartIndex(a2), c2 = z.a.getCharIndex(a2); return F.readHorizontalRanges(this._getReadingTarget(e2), r2, s2, l2, c2, i2.clientRectDeltaLeft, i2.endNode); @@ -43051,11 +43051,11 @@ ${Object(zn.b)(wi)} class Z extends Y { _readVisibleRangesForRange(e2, t2, n2, i2) { const o2 = super._readVisibleRangesForRange(e2, t2, n2, i2); - if (!o2 || 0 === o2.length || t2 === n2 || 1 === t2 && n2 === this._characterMapping.length) + if (!o2 || o2.length === 0 || t2 === n2 || t2 === 1 && n2 === this._characterMapping.length) return o2; if (!this.input.containsRTL) { const t3 = this._readPixelOffset(e2, n2, i2); - if (-1 !== t3) { + if (t3 !== -1) { const e3 = o2[o2.length - 1]; e3.left < t3 && (e3.width = t3 - e3.left); } @@ -43081,7 +43081,7 @@ ${Object(zn.b)(wi)} this.element = e2, this.type = t2, this.mouseColumn = n2, this.position = i2, !o2 && i2 && (o2 = new te.a(i2.lineNumber, i2.column, i2.lineNumber, i2.column)), this.range = o2, this.detail = r2; } static _typeToString(e2) { - return 1 === e2 ? "TEXTAREA" : 2 === e2 ? "GUTTER_GLYPH_MARGIN" : 3 === e2 ? "GUTTER_LINE_NUMBERS" : 4 === e2 ? "GUTTER_LINE_DECORATIONS" : 5 === e2 ? "GUTTER_VIEW_ZONE" : 6 === e2 ? "CONTENT_TEXT" : 7 === e2 ? "CONTENT_EMPTY" : 8 === e2 ? "CONTENT_VIEW_ZONE" : 9 === e2 ? "CONTENT_WIDGET" : 10 === e2 ? "OVERVIEW_RULER" : 11 === e2 ? "SCROLLBAR" : 12 === e2 ? "OVERLAY_WIDGET" : "UNKNOWN"; + return e2 === 1 ? "TEXTAREA" : e2 === 2 ? "GUTTER_GLYPH_MARGIN" : e2 === 3 ? "GUTTER_LINE_NUMBERS" : e2 === 4 ? "GUTTER_LINE_DECORATIONS" : e2 === 5 ? "GUTTER_VIEW_ZONE" : e2 === 6 ? "CONTENT_TEXT" : e2 === 7 ? "CONTENT_EMPTY" : e2 === 8 ? "CONTENT_VIEW_ZONE" : e2 === 9 ? "CONTENT_WIDGET" : e2 === 10 ? "OVERVIEW_RULER" : e2 === 11 ? "SCROLLBAR" : e2 === 12 ? "OVERLAY_WIDGET" : "UNKNOWN"; } static toString(e2) { return this._typeToString(e2.type) + ": " + e2.position + " - " + e2.range + " - " + e2.detail; @@ -43092,28 +43092,28 @@ ${Object(zn.b)(wi)} } class re { static isTextArea(e2) { - return 2 === e2.length && 3 === e2[0] && 6 === e2[1]; + return e2.length === 2 && e2[0] === 3 && e2[1] === 6; } static isChildOfViewLines(e2) { - return e2.length >= 4 && 3 === e2[0] && 7 === e2[3]; + return e2.length >= 4 && e2[0] === 3 && e2[3] === 7; } static isStrictChildOfViewLines(e2) { - return e2.length > 4 && 3 === e2[0] && 7 === e2[3]; + return e2.length > 4 && e2[0] === 3 && e2[3] === 7; } static isChildOfScrollableElement(e2) { - return e2.length >= 2 && 3 === e2[0] && 5 === e2[1]; + return e2.length >= 2 && e2[0] === 3 && e2[1] === 5; } static isChildOfMinimap(e2) { - return e2.length >= 2 && 3 === e2[0] && 8 === e2[1]; + return e2.length >= 2 && e2[0] === 3 && e2[1] === 8; } static isChildOfContentWidgets(e2) { - return e2.length >= 4 && 3 === e2[0] && 1 === e2[3]; + return e2.length >= 4 && e2[0] === 3 && e2[3] === 1; } static isChildOfOverflowingContentWidgets(e2) { - return e2.length >= 1 && 2 === e2[0]; + return e2.length >= 1 && e2[0] === 2; } static isChildOfOverlayWidgets(e2) { - return e2.length >= 2 && 3 === e2[0] && 4 === e2[1]; + return e2.length >= 2 && e2[0] === 3 && e2[1] === 4; } } class se { @@ -43129,7 +43129,7 @@ ${Object(zn.b)(wi)} const n2 = e2.viewLayout.getWhitespaceAtVerticalOffset(t2); if (n2) { let i2, o2 = n2.verticalOffset + n2.height / 2, r2 = e2.model.getLineCount(), s2 = null, a2 = null; - return n2.afterLineNumber !== r2 && (a2 = new ee.a(n2.afterLineNumber + 1, 1)), n2.afterLineNumber > 0 && (s2 = new ee.a(n2.afterLineNumber, e2.model.getLineMaxColumn(n2.afterLineNumber))), i2 = null === a2 ? s2 : null === s2 ? a2 : t2 < o2 ? s2 : a2, {viewZoneId: n2.id, afterLineNumber: n2.afterLineNumber, positionBefore: s2, positionAfter: a2, position: i2}; + return n2.afterLineNumber !== r2 && (a2 = new ee.a(n2.afterLineNumber + 1, 1)), n2.afterLineNumber > 0 && (s2 = new ee.a(n2.afterLineNumber, e2.model.getLineMaxColumn(n2.afterLineNumber))), i2 = a2 === null ? s2 : s2 === null ? a2 : t2 < o2 ? s2 : a2, {viewZoneId: n2.id, afterLineNumber: n2.afterLineNumber, positionBefore: s2, positionAfter: a2, position: i2}; } return null; } @@ -43220,7 +43220,7 @@ ${Object(zn.b)(wi)} } } static _createMouseTarget(e2, t2, n2) { - if (null === t2.target) { + if (t2.target === null) { if (n2) return t2.fulfill(0); const i3 = de._doHitTest(e2, t2); @@ -43295,7 +43295,7 @@ ${Object(zn.b)(wi)} if (n2) { if (re.isStrictChildOfViewLines(t2.targetPath)) { const n3 = e2.getLineNumberAtVerticalOffset(t2.mouseVerticalOffset); - if (0 === e2.model.getLineLength(n3)) { + if (e2.model.getLineLength(n3) === 0) { const i4 = e2.getLineWidth(n3), o2 = ce(t2.mouseContentHorizontalOffset - i4); return t2.fulfill(7, new ee.a(n3, 1), void 0, o2); } @@ -43318,7 +43318,7 @@ ${Object(zn.b)(wi)} return null; } static _hitTestScrollbarSlider(e2, t2) { - if (re.isChildOfScrollableElement(t2.targetPath) && t2.target && 1 === t2.target.nodeType) { + if (re.isChildOfScrollableElement(t2.targetPath) && t2.target && t2.target.nodeType === 1) { const n2 = t2.target.className; if (n2 && /\b(slider|scrollbar)\b/.test(n2)) { const n3 = e2.getLineNumberAtVerticalOffset(t2.mouseVerticalOffset), i2 = e2.model.getLineMaxColumn(n3); @@ -43346,7 +43346,7 @@ ${Object(zn.b)(wi)} static createMouseTargetFromHitTestPosition(e2, t2, n2, i2) { const o2 = new ee.a(n2, i2), r2 = e2.getLineWidth(n2); if (t2.mouseContentHorizontalOffset > r2) { - if (_.f && 1 === o2.column) { + if (_.f && o2.column === 1) { const i4 = ce(t2.mouseContentHorizontalOffset - r2); return t2.fulfill(7, new ee.a(n2, e2.model.getLineMaxColumn(n2)), void 0, i4); } @@ -43388,10 +43388,10 @@ ${Object(zn.b)(wi)} static _actualDoHitTestWithCaretRangeFromPoint(e2, t2) { const n2 = o.E(e2.viewDomNode); let i2; - if (i2 = n2 ? void 0 === n2.caretRangeFromPoint ? function(e3, t3, n3) { + if (i2 = n2 ? n2.caretRangeFromPoint === void 0 ? function(e3, t3, n3) { const i3 = document.createRange(); let o2 = e3.elementFromPoint(t3, n3); - if (null !== o2) { + if (o2 !== null) { for (; o2 && o2.firstChild && o2.firstChild.nodeType !== o2.firstChild.TEXT_NODE; ) o2 = o2.lastChild; const e4 = o2.getBoundingClientRect(), n4 = window.getComputedStyle(o2, null).getPropertyValue("font"), r3 = o2.innerText; @@ -43468,7 +43468,7 @@ ${Object(zn.b)(wi)} return o2.moveToElementText(e2.viewDomNode), {position: n2, hitTarget: i2}; } static _doHitTest(e2, t2) { - return "function" == typeof document.caretRangeFromPoint ? this._doHitTestWithCaretRangeFromPoint(e2, t2) : document.caretPositionFromPoint ? this._doHitTestWithCaretPositionFromPoint(e2, t2.pos.toClientCoordinates()) : document.body.createTextRange ? this._doHitTestWithMoveToPoint(e2, t2.pos.toClientCoordinates()) : {position: null, hitTarget: null}; + return typeof document.caretRangeFromPoint == "function" ? this._doHitTestWithCaretRangeFromPoint(e2, t2) : document.caretPositionFromPoint ? this._doHitTestWithCaretPositionFromPoint(e2, t2.pos.toClientCoordinates()) : document.body.createTextRange ? this._doHitTestWithMoveToPoint(e2, t2.pos.toClientCoordinates()) : {position: null, hitTarget: null}; } } class he { @@ -43548,7 +43548,7 @@ ${Object(zn.b)(wi)} this.viewController.emitMouseUp({event: e2, target: this._createMouseTarget(e2, true)}); } _onMouseDown(e2) { - const t2 = this._createMouseTarget(e2, true), n2 = 6 === t2.type || 7 === t2.type, i2 = 2 === t2.type || 3 === t2.type || 4 === t2.type, o2 = 3 === t2.type, r2 = this._context.configuration.options.get(90), s2 = 8 === t2.type || 5 === t2.type, a2 = 9 === t2.type; + const t2 = this._createMouseTarget(e2, true), n2 = t2.type === 6 || t2.type === 7, i2 = t2.type === 2 || t2.type === 3 || t2.type === 4, o2 = t2.type === 3, r2 = this._context.configuration.options.get(90), s2 = t2.type === 8 || t2.type === 5, a2 = t2.type === 9; let l2 = e2.leftButton || e2.middleButton; m.f && e2.leftButton && e2.ctrlKey && (l2 = false); const c2 = () => { @@ -43583,13 +43583,13 @@ ${Object(zn.b)(wi)} t2 && (this._mouseState.isDragAndDrop ? this._viewController.emitMouseDrag({event: e2, target: t2}) : this._dispatchMouse(t2, true)); } start(e2, t2) { - this._lastMouseEvent = t2, this._mouseState.setStartedOnLineNumbers(3 === e2), this._mouseState.setStartButtons(t2), this._mouseState.setModifiers(t2); + this._lastMouseEvent = t2, this._mouseState.setStartedOnLineNumbers(e2 === 3), this._mouseState.setStartButtons(t2), this._mouseState.setModifiers(t2); const n2 = this._findMousePosition(t2, true); if (!n2 || !n2.position) return; this._mouseState.trySetCount(t2.detail, n2.position), t2.detail = this._mouseState.count; const i2 = this._context.configuration.options; - if (!i2.get(72) && i2.get(25) && !i2.get(13) && !this._mouseState.altKey && t2.detail < 2 && !this._isActive && !this._currentSelection.isEmpty() && 6 === n2.type && n2.position && this._currentSelection.containsPosition(n2.position)) + if (!i2.get(72) && i2.get(25) && !i2.get(13) && !this._mouseState.altKey && t2.detail < 2 && !this._isActive && !this._currentSelection.isEmpty() && n2.type === 6 && n2.position && this._currentSelection.containsPosition(n2.position)) return this._mouseState.isDragAndDrop = true, this._isActive = true, void this._mouseMoveMonitor.startMonitoring(t2.target, t2.buttons, pe(null), (e3) => this._onMouseDownThenMove(e3), () => { const e3 = this._findMousePosition(this._lastMouseEvent, true); this._viewController.emitMouseDrop({event: this._lastMouseEvent, target: e3 ? this._createMouseTarget(this._lastMouseEvent, true) : null}), this._stop(); @@ -43642,7 +43642,7 @@ ${Object(zn.b)(wi)} const i2 = this._createMouseTarget(e2, t2); if (!i2.position) return null; - if (8 === i2.type || 5 === i2.type) { + if (i2.type === 8 || i2.type === 5) { const e3 = this._helpPositionJumpOverViewZone(i2.detail); if (e3) return new oe(i2.element, i2.type, i2.mouseColumn, e3, null, i2.detail); @@ -43712,13 +43712,13 @@ ${Object(zn.b)(wi)} const e3 = new MSGesture(), t3 = new MSGesture(); e3.target = this.viewHelper.linesContentDomNode, t3.target = this.viewHelper.linesContentDomNode, this.viewHelper.linesContentDomNode.addEventListener("pointerdown", (n3) => { const i2 = n3.pointerType; - "mouse" !== i2 ? "touch" === i2 ? (this._lastPointerType = "touch", e3.addPointer(n3.pointerId)) : (this._lastPointerType = "pen", t3.addPointer(n3.pointerId)) : this._lastPointerType = "mouse"; + i2 !== "mouse" ? i2 === "touch" ? (this._lastPointerType = "touch", e3.addPointer(n3.pointerId)) : (this._lastPointerType = "pen", t3.addPointer(n3.pointerId)) : this._lastPointerType = "mouse"; }), this._register(o.l(this.viewHelper.linesContentDomNode, "MSGestureChange", (e4) => this._onGestureChange(e4), _e)), this._register(o.i(this.viewHelper.linesContentDomNode, "MSGestureTap", (e4) => this._onCaptureGestureTap(e4), true)); } }, 100), this._lastPointerType = "mouse"; } _onMouseDown(e2) { - "mouse" === this._lastPointerType && super._onMouseDown(e2); + this._lastPointerType === "mouse" && super._onMouseDown(e2); } _onCaptureGestureTap(e2) { const t2 = new S(e2, this.viewHelper.viewDomNode), n2 = this._createMouseTarget(t2, false); @@ -43737,7 +43737,7 @@ ${Object(zn.b)(wi)} constructor(e2, t2, n2) { super(e2, t2, n2), this._register(g.b.addTarget(this.viewHelper.linesContentDomNode)), this._register(o.i(this.viewHelper.linesContentDomNode, g.a.Tap, (e3) => this.onTap(e3))), this._register(o.i(this.viewHelper.linesContentDomNode, g.a.Change, (e3) => this.onChange(e3))), this._register(o.i(this.viewHelper.linesContentDomNode, g.a.Contextmenu, (e3) => this._onContextMenu(new S(e3, this.viewHelper.viewDomNode), false))), this._lastPointerType = "mouse", this._register(o.i(this.viewHelper.linesContentDomNode, "pointerdown", (e3) => { const t3 = e3.pointerType; - this._lastPointerType = "mouse" !== t3 ? "touch" === t3 ? "touch" : "pen" : "mouse"; + this._lastPointerType = t3 !== "mouse" ? t3 === "touch" ? "touch" : "pen" : "mouse"; })); const i2 = new E(this.viewHelper.viewDomNode); this._register(i2.onPointerMoveThrottled(this.viewHelper.viewDomNode, (e3) => this._onMouseMove(e3), pe(this.mouseTargetFactory), me.MOUSE_MOVE_MINIMUM_TIME)), this._register(i2.onPointerUp(this.viewHelper.viewDomNode, (e3) => this._onMouseUp(e3))), this._register(i2.onPointerLeave(this.viewHelper.viewDomNode, (e3) => this._onMouseLeave(e3))), this._register(i2.onPointerDown(this.viewHelper.viewDomNode, (e3) => this._onMouseDown(e3))); @@ -43750,10 +43750,10 @@ ${Object(zn.b)(wi)} t2.position && this.viewController.dispatchMouse({position: t2.position, mouseColumn: t2.position.column, startedOnLineNumbers: false, mouseDownCount: e2.tapCount, inSelectionMode: false, altKey: false, ctrlKey: false, metaKey: false, shiftKey: false, leftButton: false, middleButton: false}); } onChange(e2) { - "touch" === this._lastPointerType && this._context.model.deltaScrollNow(-e2.translationX, -e2.translationY); + this._lastPointerType === "touch" && this._context.model.deltaScrollNow(-e2.translationX, -e2.translationY); } _onMouseDown(e2) { - e2.target && this.viewHelper.linesContentDomNode.contains(e2.target) && "touch" === this._lastPointerType || super._onMouseDown(e2); + e2.target && this.viewHelper.linesContentDomNode.contains(e2.target) && this._lastPointerType === "touch" || super._onMouseDown(e2); } } class ye extends me { @@ -43803,7 +43803,7 @@ ${Object(zn.b)(wi)} } onCursorStateChanged(e2) { const t2 = e2.selections[0].getPosition(); - return this._lastCursorModelPosition = this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t2), 2 === this._renderLineNumbers || 3 === this._renderLineNumbers; + return this._lastCursorModelPosition = this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t2), this._renderLineNumbers === 2 || this._renderLineNumbers === 3; } onFlushed(e2) { return true; @@ -43825,24 +43825,24 @@ ${Object(zn.b)(wi)} } _getLineRenderLineNumber(e2) { const t2 = this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e2, 1)); - if (1 !== t2.column) + if (t2.column !== 1) return ""; const n2 = t2.lineNumber; if (this._renderCustomLineNumbers) return this._renderCustomLineNumbers(n2); - if (2 === this._renderLineNumbers) { + if (this._renderLineNumbers === 2) { const e3 = Math.abs(this._lastCursorModelPosition.lineNumber - n2); - return 0 === e3 ? '<span class="relative-current-line-number">' + n2 + "</span>" : String(e3); + return e3 === 0 ? '<span class="relative-current-line-number">' + n2 + "</span>" : String(e3); } - return 3 === this._renderLineNumbers ? this._lastCursorModelPosition.lineNumber === n2 || n2 % 10 == 0 ? String(n2) : "" : String(n2); + return this._renderLineNumbers === 3 ? this._lastCursorModelPosition.lineNumber === n2 || n2 % 10 == 0 ? String(n2) : "" : String(n2); } prepareRender(e2) { - if (0 === this._renderLineNumbers) + if (this._renderLineNumbers === 0) return void (this._renderResult = null); const t2 = m.d ? this._lineHeight % 2 == 0 ? " lh-even" : " lh-odd" : "", n2 = e2.visibleRange.startLineNumber, i2 = e2.visibleRange.endLineNumber, o2 = '<div class="' + Le.CLASS_NAME + t2 + '" style="left:' + this._lineNumbersLeft.toString() + "px;width:" + this._lineNumbersWidth.toString() + 'px;">', r2 = this._context.model.getLineCount(), s2 = []; for (let e3 = n2; e3 <= i2; e3++) { const t3 = e3 - n2; - if (!this._renderFinalNewline && e3 === r2 && 0 === this._context.model.getLineLength(e3)) { + if (!this._renderFinalNewline && e3 === r2 && this._context.model.getLineLength(e3) === 0) { s2[t3] = ""; continue; } @@ -43910,7 +43910,7 @@ ${Object(zn.b)(wi)} const o2 = this._context.configuration.options, r2 = o2.get(117); this._setAccessibilityOptions(o2), this._contentLeft = r2.contentLeft, this._contentWidth = r2.contentWidth, this._contentHeight = r2.height, this._fontInfo = o2.get(36), this._lineHeight = o2.get(51), this._emptySelectionClipboard = o2.get(26), this._copyWithSyntaxHighlighting = o2.get(16), this._visibleTextArea = null, this._selections = [new u.a(1, 1, 1, 1)], this._modelSelections = [new u.a(1, 1, 1, 1)], this._lastRenderPosition = null, this.textArea = Object(p.b)(document.createElement("textarea")), I.write(this.textArea, 6), this.textArea.setClassName("inputarea " + Oe.a), this.textArea.setAttribute("wrap", "off"), this.textArea.setAttribute("autocorrect", "off"), this.textArea.setAttribute("autocapitalize", "off"), this.textArea.setAttribute("autocomplete", "off"), this.textArea.setAttribute("spellcheck", "false"), this.textArea.setAttribute("aria-label", this._getAriaLabel(o2)), this.textArea.setAttribute("tabindex", String(o2.get(102))), this.textArea.setAttribute("role", "textbox"), this.textArea.setAttribute("aria-roledescription", i.a("editor", "editor")), this.textArea.setAttribute("aria-multiline", "true"), this.textArea.setAttribute("aria-haspopup", "false"), this.textArea.setAttribute("aria-autocomplete", "both"), m.h && o2.get(72) && this.textArea.setAttribute("readonly", "true"), this.textAreaCover = Object(p.b)(document.createElement("div")), this.textAreaCover.setPosition("absolute"); const s2 = {getLineCount: () => this._context.model.getLineCount(), getLineMaxColumn: (e3) => this._context.model.getLineMaxColumn(e3), getValueInRange: (e3, t3) => this._context.model.getValueInRange(e3, t3)}, a2 = {getDataToCopy: (e3) => { - const t3 = this._context.model.getPlainTextToCopy(this._modelSelections, this._emptySelectionClipboard, m.i), n3 = this._context.model.getEOL(), i2 = this._emptySelectionClipboard && 1 === this._modelSelections.length && this._modelSelections[0].isEmpty(), o3 = Array.isArray(t3) ? t3 : null, r3 = Array.isArray(t3) ? t3.join(n3) : t3; + const t3 = this._context.model.getPlainTextToCopy(this._modelSelections, this._emptySelectionClipboard, m.i), n3 = this._context.model.getEOL(), i2 = this._emptySelectionClipboard && this._modelSelections.length === 1 && this._modelSelections[0].isEmpty(), o3 = Array.isArray(t3) ? t3 : null, r3 = Array.isArray(t3) ? t3.join(n3) : t3; let s3 = void 0, a3 = null; if (e3 && (Se.a.forceCopyWithSyntaxHighlighting || this._copyWithSyntaxHighlighting && r3.length < 65536)) { const e4 = this._context.model.getRichTextToCopy(this._modelSelections, this._emptySelectionClipboard); @@ -43918,19 +43918,19 @@ ${Object(zn.b)(wi)} } return {isFromEmptySelection: i2, multicursorText: o3, text: r3, html: s3, mode: a3}; }, getScreenReaderContent: (e3) => { - if (1 === this._accessibilitySupport) { + if (this._accessibilitySupport === 1) { if (m.f) { const e4 = this._selections[0]; if (e4.isEmpty()) { const t3 = e4.getStartPosition(); let n3 = this._getWordBeforePosition(t3); - if (0 === n3.length && (n3 = this._getCharacterBeforePosition(t3)), n3.length > 0) + if (n3.length === 0 && (n3 = this._getCharacterBeforePosition(t3)), n3.length > 0) return new ke.b(n3, n3.length, n3.length, t3, t3); } } return ke.b.EMPTY; } - return ke.a.fromEditorSelection(e3, s2, this._selections[0], this._accessibilityPageSize, 0 === this._accessibilitySupport); + return ke.a.fromEditorSelection(e3, s2, this._selections[0], this._accessibilityPageSize, this._accessibilitySupport === 0); }, deduceModelPosition: (e3, t3, n3) => this._context.model.deduceModelPositionRelativeToViewPosition(e3, t3, n3)}; this._textAreaInput = this._register(new Se.c(a2, this.textArea)), this._register(this._textAreaInput.onKeyDown((e3) => { this._viewController.emitKeyDown(e3); @@ -43938,7 +43938,7 @@ ${Object(zn.b)(wi)} this._viewController.emitKeyUp(e3); })), this._register(this._textAreaInput.onPaste((e3) => { let t3 = false, n3 = null, i2 = null; - e3.metadata && (t3 = this._emptySelectionClipboard && !!e3.metadata.isFromEmptySelection, n3 = void 0 !== e3.metadata.multicursorText ? e3.metadata.multicursorText : null, i2 = e3.metadata.mode), this._viewController.paste(e3.text, t3, n3, i2); + e3.metadata && (t3 = this._emptySelectionClipboard && !!e3.metadata.isFromEmptySelection, n3 = e3.metadata.multicursorText !== void 0 ? e3.metadata.multicursorText : null, i2 = e3.metadata.mode), this._viewController.paste(e3.text, t3, n3, i2); })), this._register(this._textAreaInput.onCut(() => { this._viewController.cut(); })), this._register(this._textAreaInput.onType((e3) => { @@ -43974,7 +43974,7 @@ ${Object(zn.b)(wi)} let i2 = e2.column, o2 = 0; for (; i2 > 1; ) { const r2 = t2.charCodeAt(i2 - 2); - if (0 !== n2.get(r2) || o2 > 50) + if (n2.get(r2) !== 0 || o2 > 50) return t2.substring(i2 - 1, e2.column - 1); o2++, i2--; } @@ -43989,12 +43989,12 @@ ${Object(zn.b)(wi)} return ""; } _getAriaLabel(e2) { - return 1 === e2.get(2) ? i.a("accessibilityOffAriaLabel", "The editor is not accessible at this time. Press {0} for options.", m.d ? "Shift+Alt+F1" : "Alt+F1") : e2.get(4); + return e2.get(2) === 1 ? i.a("accessibilityOffAriaLabel", "The editor is not accessible at this time. Press {0} for options.", m.d ? "Shift+Alt+F1" : "Alt+F1") : e2.get(4); } _setAccessibilityOptions(e2) { this._accessibilitySupport = e2.get(2); const t2 = e2.get(3); - 2 === this._accessibilitySupport && t2 === j.g.accessibilityPageSize.defaultValue ? this._accessibilityPageSize = 100 : this._accessibilityPageSize = t2; + this._accessibilitySupport === 2 && t2 === j.g.accessibilityPageSize.defaultValue ? this._accessibilityPageSize = 100 : this._accessibilityPageSize = t2; } onConfigurationChanged(e2) { const t2 = this._context.configuration.options, n2 = t2.get(117); @@ -44065,7 +44065,7 @@ ${Object(zn.b)(wi)} return e2.setWidth(0), e2.setHeight(0), t2.setWidth(0), void t2.setHeight(0); e2.setWidth(1), e2.setHeight(1), t2.setWidth(1), t2.setHeight(1); const n2 = this._context.configuration.options; - n2.get(42) ? t2.setClassName("monaco-editor-background textAreaCover " + Ne.OUTER_CLASS_NAME) : 0 !== n2.get(52).renderType ? t2.setClassName("monaco-editor-background textAreaCover " + Le.CLASS_NAME) : t2.setClassName("monaco-editor-background textAreaCover"); + n2.get(42) ? t2.setClassName("monaco-editor-background textAreaCover " + Ne.OUTER_CLASS_NAME) : n2.get(52).renderType !== 0 ? t2.setClassName("monaco-editor-background textAreaCover " + Le.CLASS_NAME) : t2.setClassName("monaco-editor-background textAreaCover"); } } var Me = n(107); @@ -44124,7 +44124,7 @@ ${Object(zn.b)(wi)} } dispatchMouse(e2) { const t2 = this.configuration.options, n2 = m.d && t2.get(88), i2 = t2.get(13); - e2.middleButton && !n2 ? this._columnSelect(e2.position, e2.mouseColumn, e2.inSelectionMode) : e2.startedOnLineNumbers ? this._hasMulticursorModifier(e2) ? e2.inSelectionMode ? this._lastCursorLineSelect(e2.position) : this._createCursor(e2.position, true) : e2.inSelectionMode ? this._lineSelectDrag(e2.position) : this._lineSelect(e2.position) : e2.mouseDownCount >= 4 ? this._selectAll() : 3 === e2.mouseDownCount ? this._hasMulticursorModifier(e2) ? e2.inSelectionMode ? this._lastCursorLineSelectDrag(e2.position) : this._lastCursorLineSelect(e2.position) : e2.inSelectionMode ? this._lineSelectDrag(e2.position) : this._lineSelect(e2.position) : 2 === e2.mouseDownCount ? this._hasMulticursorModifier(e2) ? this._lastCursorWordSelect(e2.position) : e2.inSelectionMode ? this._wordSelectDrag(e2.position) : this._wordSelect(e2.position) : this._hasMulticursorModifier(e2) ? this._hasNonMulticursorModifier(e2) || (e2.shiftKey ? this._columnSelect(e2.position, e2.mouseColumn, true) : e2.inSelectionMode ? this._lastCursorMoveToSelect(e2.position) : this._createCursor(e2.position, false)) : e2.inSelectionMode ? e2.altKey || i2 ? this._columnSelect(e2.position, e2.mouseColumn, true) : this._moveToSelect(e2.position) : this.moveTo(e2.position); + e2.middleButton && !n2 ? this._columnSelect(e2.position, e2.mouseColumn, e2.inSelectionMode) : e2.startedOnLineNumbers ? this._hasMulticursorModifier(e2) ? e2.inSelectionMode ? this._lastCursorLineSelect(e2.position) : this._createCursor(e2.position, true) : e2.inSelectionMode ? this._lineSelectDrag(e2.position) : this._lineSelect(e2.position) : e2.mouseDownCount >= 4 ? this._selectAll() : e2.mouseDownCount === 3 ? this._hasMulticursorModifier(e2) ? e2.inSelectionMode ? this._lastCursorLineSelectDrag(e2.position) : this._lastCursorLineSelect(e2.position) : e2.inSelectionMode ? this._lineSelectDrag(e2.position) : this._lineSelect(e2.position) : e2.mouseDownCount === 2 ? this._hasMulticursorModifier(e2) ? this._lastCursorWordSelect(e2.position) : e2.inSelectionMode ? this._wordSelectDrag(e2.position) : this._wordSelect(e2.position) : this._hasMulticursorModifier(e2) ? this._hasNonMulticursorModifier(e2) || (e2.shiftKey ? this._columnSelect(e2.position, e2.mouseColumn, true) : e2.inSelectionMode ? this._lastCursorMoveToSelect(e2.position) : this._createCursor(e2.position, false)) : e2.inSelectionMode ? e2.altKey || i2 ? this._columnSelect(e2.position, e2.mouseColumn, true) : this._moveToSelect(e2.position) : this.moveTo(e2.position); } _usualArgs(e2) { return e2 = this._validateViewColumn(e2), {source: "mouse", position: this._convertViewToModelPosition(e2), viewPosition: e2}; @@ -44284,7 +44284,7 @@ ${Object(zn.b)(wi)} return this._lines[t2]; } onLinesDeleted(e2, t2) { - if (0 === this.getCount()) + if (this.getCount() === 0) return null; const n2 = this.getStartLineNumber(), i2 = this.getEndLineNumber(); if (t2 < n2) { @@ -44296,7 +44296,7 @@ ${Object(zn.b)(wi)} let o2 = 0, r2 = 0; for (let s2 = n2; s2 <= i2; s2++) { const n3 = s2 - this._rendLineNumberStart; - e2 <= s2 && s2 <= t2 && (0 === r2 ? (o2 = n3, r2 = 1) : r2++); + e2 <= s2 && s2 <= t2 && (r2 === 0 ? (o2 = n3, r2 = 1) : r2++); } if (e2 < n2) { let i3 = 0; @@ -44305,7 +44305,7 @@ ${Object(zn.b)(wi)} return this._lines.splice(o2, r2); } onLinesChanged(e2, t2) { - if (0 === this.getCount()) + if (this.getCount() === 0) return false; const n2 = this.getStartLineNumber(), i2 = this.getEndLineNumber(); let o2 = false; @@ -44314,7 +44314,7 @@ ${Object(zn.b)(wi)} return o2; } onLinesInserted(e2, t2) { - if (0 === this.getCount()) + if (this.getCount() === 0) return null; const n2 = t2 - e2 + 1, i2 = this.getStartLineNumber(), o2 = this.getEndLineNumber(); if (e2 <= i2) @@ -44331,7 +44331,7 @@ ${Object(zn.b)(wi)} return this._lines = a2.concat(r2).concat(l2), c2; } onTokensChanged(e2) { - if (0 === this.getCount()) + if (this.getCount() === 0) return false; const t2 = this.getStartLineNumber(), n2 = this.getEndLineNumber(); let i2 = false; @@ -44797,7 +44797,7 @@ ${Object(zn.b)(wi)} if (!this._viewRange) return [null, null]; const t2 = e2.linesVisibleRangesForRange(this._viewRange, false); - if (!t2 || 0 === t2.length) + if (!t2 || t2.length === 0) return [null, null]; let n2 = t2[0], i2 = t2[0]; for (const e3 of t2) @@ -44815,7 +44815,7 @@ ${Object(zn.b)(wi)} const [t2, n2] = this._getTopAndBottomLeft(e2); if (!t2 || !n2) return null; - if (-1 === this._cachedDomNodeClientWidth || -1 === this._cachedDomNodeClientHeight) { + if (this._cachedDomNodeClientWidth === -1 || this._cachedDomNodeClientHeight === -1) { const e3 = this.domNode.domNode; this._cachedDomNodeClientWidth = e3.clientWidth, this._cachedDomNodeClientHeight = e3.clientHeight; } @@ -44823,17 +44823,17 @@ ${Object(zn.b)(wi)} if (i2 = this.allowEditorOverflow ? this._layoutBoxInPage(t2, n2, this._cachedDomNodeClientWidth, this._cachedDomNodeClientHeight, e2) : this._layoutBoxInViewport(t2, n2, this._cachedDomNodeClientWidth, this._cachedDomNodeClientHeight, e2), this._preference) for (let e3 = 1; e3 <= 2; e3++) for (const n3 of this._preference) - if (1 === n3) { + if (n3 === 1) { if (!i2) return null; - if (2 === e3 || i2.fitsAbove) + if (e3 === 2 || i2.fitsAbove) return new Ke(i2.aboveTop, i2.aboveLeft); } else { - if (2 !== n3) + if (n3 !== 2) return this.allowEditorOverflow ? this._prepareRenderWidgetAtExactPositionOverflowing(t2) : t2; if (!i2) return null; - if (2 === e3 || i2.fitsBelow) + if (e3 === 2 || i2.fitsBelow) return new Ke(i2.belowTop, i2.belowLeft); } return null; @@ -44921,10 +44921,10 @@ ${Object(zn.b)(wi)} return `<div class="${"current-line" + (this._shouldRenderOther() ? " current-line-both" : "")}" style="width:${Math.max(e2.scrollWidth, this._contentWidth)}px; height:${this._lineHeight}px;"></div>`; } _shouldRenderThis() { - return ("line" === this._renderLineHighlight || "all" === this._renderLineHighlight) && this._selectionIsEmpty && (!this._renderLineHightlightOnlyWhenFocus || this._focused); + return (this._renderLineHighlight === "line" || this._renderLineHighlight === "all") && this._selectionIsEmpty && (!this._renderLineHightlightOnlyWhenFocus || this._focused); } _shouldRenderOther() { - return ("gutter" === this._renderLineHighlight || "all" === this._renderLineHighlight) && (!this._renderLineHightlightOnlyWhenFocus || this._focused); + return (this._renderLineHighlight === "gutter" || this._renderLineHighlight === "all") && (!this._renderLineHightlightOnlyWhenFocus || this._focused); } } class et extends Qe { @@ -44932,10 +44932,10 @@ ${Object(zn.b)(wi)} return `<div class="${"current-line current-line-margin" + (this._shouldRenderOther() ? " current-line-margin-both" : "")}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`; } _shouldRenderThis() { - return ("gutter" === this._renderLineHighlight || "all" === this._renderLineHighlight) && (!this._renderLineHightlightOnlyWhenFocus || this._focused); + return (this._renderLineHighlight === "gutter" || this._renderLineHighlight === "all") && (!this._renderLineHightlightOnlyWhenFocus || this._focused); } _shouldRenderOther() { - return ("line" === this._renderLineHighlight || "all" === this._renderLineHighlight) && this._selectionIsEmpty && (!this._renderLineHightlightOnlyWhenFocus || this._focused); + return (this._renderLineHighlight === "line" || this._renderLineHighlight === "all") && this._selectionIsEmpty && (!this._renderLineHightlightOnlyWhenFocus || this._focused); } } Object(B.g)((e2, t2) => { @@ -44943,7 +44943,7 @@ ${Object(zn.b)(wi)} const n2 = e2.getColor(Te.i); if (n2 && (t2.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n2}; }`), t2.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n2}; border: none; }`)), !n2 || n2.isTransparent() || e2.defines(Te.j)) { const n3 = e2.getColor(Te.j); - n3 && (Xe = true, t2.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n3}; }`), t2.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n3}; }`), "hc" === e2.type && (t2.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"), t2.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }"))); + n3 && (Xe = true, t2.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n3}; }`), t2.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n3}; }`), e2.type === "hc" && (t2.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"), t2.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }"))); } }); n(218); @@ -45023,21 +45023,21 @@ ${Object(zn.b)(wi)} continue; const d2 = c3.options.className, h2 = Boolean(c3.options.showIfCollapsed); let u2 = c3.range; - h2 && 1 === u2.endColumn && u2.endLineNumber !== u2.startLineNumber && (u2 = new te.a(u2.startLineNumber, u2.startColumn, u2.endLineNumber - 1, this._context.model.getLineMaxColumn(u2.endLineNumber - 1))), r2 === d2 && s2 === h2 && te.a.areIntersectingOrTouching(a2, u2) ? a2 = te.a.plusRange(a2, u2) : (null !== r2 && this._renderNormalDecoration(e2, a2, r2, s2, i2, o2, n2), r2 = d2, s2 = h2, a2 = u2); + h2 && u2.endColumn === 1 && u2.endLineNumber !== u2.startLineNumber && (u2 = new te.a(u2.startLineNumber, u2.startColumn, u2.endLineNumber - 1, this._context.model.getLineMaxColumn(u2.endLineNumber - 1))), r2 === d2 && s2 === h2 && te.a.areIntersectingOrTouching(a2, u2) ? a2 = te.a.plusRange(a2, u2) : (r2 !== null && this._renderNormalDecoration(e2, a2, r2, s2, i2, o2, n2), r2 = d2, s2 = h2, a2 = u2); } - null !== r2 && this._renderNormalDecoration(e2, a2, r2, s2, i2, o2, n2); + r2 !== null && this._renderNormalDecoration(e2, a2, r2, s2, i2, o2, n2); } _renderNormalDecoration(e2, t2, n2, i2, o2, r2, s2) { - const a2 = e2.linesVisibleRangesForRange(t2, "findMatch" === n2); + const a2 = e2.linesVisibleRangesForRange(t2, n2 === "findMatch"); if (a2) for (let e3 = 0, t3 = a2.length; e3 < t3; e3++) { const t4 = a2[e3]; if (t4.outsideRenderedLine) continue; const l2 = t4.lineNumber - r2; - if (i2 && 1 === t4.ranges.length) { + if (i2 && t4.ranges.length === 1) { const e4 = t4.ranges[0]; - 0 === e4.width && (t4.ranges[0] = new A(e4.left, this._typicalHalfwidthCharacterWidth)); + e4.width === 0 && (t4.ranges[0] = new A(e4.left, this._typicalHalfwidthCharacterWidth)); } for (let e4 = 0, i3 = t4.ranges.length; e4 < i3; e4++) { const i4 = t4.ranges[e4], r3 = '<div class="cdr ' + n2 + '" style="left:' + String(i4.left) + "px;width:" + String(i4.width) + "px;height:" + o2 + 'px;"></div>'; @@ -45078,7 +45078,7 @@ ${Object(zn.b)(wi)} _setLayout() { const e2 = this._context.configuration.options, t2 = e2.get(117); this.scrollbarDomNode.setLeft(t2.contentLeft); - "right" === e2.get(56).side ? this.scrollbarDomNode.setWidth(t2.contentWidth + t2.minimap.minimapWidth) : this.scrollbarDomNode.setWidth(t2.contentWidth), this.scrollbarDomNode.setHeight(t2.height); + e2.get(56).side === "right" ? this.scrollbarDomNode.setWidth(t2.contentWidth + t2.minimap.minimapWidth) : this.scrollbarDomNode.setWidth(t2.contentWidth), this.scrollbarDomNode.setHeight(t2.height); } getOverviewRulerLayoutInfo() { return this.scrollbar.getOverviewRulerLayoutInfo(); @@ -45120,7 +45120,7 @@ ${Object(zn.b)(wi)} for (let n3 = e2; n3 <= t2; n3++) { i2[n3 - e2] = []; } - if (0 === n2.length) + if (n2.length === 0) return i2; n2.sort((e3, t3) => e3.className === t3.className ? e3.startLineNumber === t3.startLineNumber ? e3.endLineNumber - t3.endLineNumber : e3.startLineNumber - t3.startLineNumber : e3.className < t3.className ? -1 : 1); let o2 = null, r2 = 0; @@ -45184,7 +45184,7 @@ ${Object(zn.b)(wi)} const t2 = e2.visibleRange.startLineNumber, n2 = e2.visibleRange.endLineNumber, i2 = this._render(t2, n2, this._getDecorations(e2)), o2 = this._lineHeight.toString(), r2 = '" style="left:' + this._glyphMarginLeft.toString() + "px;width:" + this._glyphMarginWidth.toString() + "px;height:" + o2 + 'px;"></div>', s2 = []; for (let e3 = t2; e3 <= n2; e3++) { const n3 = e3 - t2, o3 = i2[n3]; - 0 === o3.length ? s2[n3] = "" : s2[n3] = '<div class="cgmr codicon ' + o3.join(" ") + r2; + o3.length === 0 ? s2[n3] = "" : s2[n3] = '<div class="cgmr codicon ' + o3.join(" ") + r2; } this._renderResult = s2; } @@ -45200,14 +45200,14 @@ ${Object(zn.b)(wi)} constructor(e2) { super(), this._context = e2, this._primaryLineNumber = 0; const t2 = this._context.configuration.options, n2 = t2.get(118), i2 = t2.get(36); - this._lineHeight = t2.get(51), this._spaceWidth = i2.spaceWidth, this._enabled = t2.get(75), this._activeIndentEnabled = t2.get(45), this._maxIndentLeft = -1 === n2.wrappingColumn ? -1 : n2.wrappingColumn * i2.typicalHalfwidthCharacterWidth, this._renderResult = null, this._context.addEventHandler(this); + this._lineHeight = t2.get(51), this._spaceWidth = i2.spaceWidth, this._enabled = t2.get(75), this._activeIndentEnabled = t2.get(45), this._maxIndentLeft = n2.wrappingColumn === -1 ? -1 : n2.wrappingColumn * i2.typicalHalfwidthCharacterWidth, this._renderResult = null, this._context.addEventHandler(this); } dispose() { this._context.removeEventHandler(this), this._renderResult = null, super.dispose(); } onConfigurationChanged(e2) { const t2 = this._context.configuration.options, n2 = t2.get(118), i2 = t2.get(36); - return this._lineHeight = t2.get(51), this._spaceWidth = i2.spaceWidth, this._enabled = t2.get(75), this._activeIndentEnabled = t2.get(45), this._maxIndentLeft = -1 === n2.wrappingColumn ? -1 : n2.wrappingColumn * i2.typicalHalfwidthCharacterWidth, true; + return this._lineHeight = t2.get(51), this._spaceWidth = i2.spaceWidth, this._enabled = t2.get(75), this._activeIndentEnabled = t2.get(45), this._maxIndentLeft = n2.wrappingColumn === -1 ? -1 : n2.wrappingColumn * i2.typicalHalfwidthCharacterWidth, true; } onCursorStateChanged(e2) { const t2 = e2.selections[0], n2 = t2.isEmpty() ? t2.positionLineNumber : 0; @@ -45369,7 +45369,7 @@ ${Object(zn.b)(wi)} } onRevealRangeRequest(e2) { const t2 = this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(), e2.source, e2.range, e2.selections, e2.verticalType); - if (-1 === t2) + if (t2 === -1) return false; let n2 = this._context.viewLayout.validateScrollPosition({scrollTop: t2}); e2.revealHorizontal ? e2.range && e2.range.startLineNumber !== e2.range.endLineNumber ? n2 = {scrollTop: n2.scrollTop, scrollLeft: 0} : e2.range ? this._horizontalRevealRequest = new ct(e2.range.startLineNumber, e2.range.startColumn, e2.range.endColumn, this._context.viewLayout.getCurrentScrollTop(), n2.scrollTop, e2.scrollType) : e2.selections && e2.selections.length > 0 && (this._horizontalRevealRequest = new dt(e2.selections, this._context.viewLayout.getCurrentScrollTop(), n2.scrollTop, e2.scrollType)) : this._horizontalRevealRequest = null; @@ -45394,14 +45394,14 @@ ${Object(zn.b)(wi)} } getPositionFromDOMInfo(e2, t2) { const n2 = this._getViewLineDomNode(e2); - if (null === n2) + if (n2 === null) return null; const i2 = this._getLineNumberFor(n2); - if (-1 === i2) + if (i2 === -1) return null; if (i2 < 1 || i2 > this._context.model.getLineCount()) return null; - if (1 === this._context.model.getLineMaxColumn(i2)) + if (this._context.model.getLineMaxColumn(i2) === 1) return new ee.a(i2, 1); const o2 = this._visibleLines.getStartLineNumber(), r2 = this._visibleLines.getEndLineNumber(); if (i2 < o2 || i2 > r2) @@ -45411,7 +45411,7 @@ ${Object(zn.b)(wi)} return s2 < a2 && (s2 = a2), new ee.a(i2, s2); } _getViewLineDomNode(e2) { - for (; e2 && 1 === e2.nodeType; ) { + for (; e2 && e2.nodeType === 1; ) { if (e2.className === K.CLASS_NAME) return e2; e2 = e2.parentElement; @@ -45453,7 +45453,7 @@ ${Object(zn.b)(wi)} o2[r2++] = new D(u2.outsideRenderedLine, e3, u2.ranges); } } - return 0 === r2 ? null : o2; + return r2 === 0 ? null : o2; } _visibleRangesForLineRange(e2, t2, n2) { return this.shouldRender() || e2 < this._visibleLines.getStartLineNumber() || e2 > this._visibleLines.getEndLineNumber() ? null : this._visibleLines.getVisibleLine(e2).getVisibleRangesForRange(t2, n2, new q(this.domNode.domNode, this._textRangeRestingSpot)); @@ -45478,7 +45478,7 @@ ${Object(zn.b)(wi)} const t3 = this._visibleLines.getVisibleLine(r2); !e2 || t3.getWidthIsFast() ? i2 = Math.max(i2, t3.getWidth()) : o2 = false; } - return o2 && 1 === t2 && n2 === this._context.model.getLineCount() && (this._maxLineWidth = 0), this._ensureMaxLineWidth(i2), o2; + return o2 && t2 === 1 && n2 === this._context.model.getLineCount() && (this._maxLineWidth = 0), this._ensureMaxLineWidth(i2), o2; } _checkMonospaceFontAssumptions() { let e2 = -1, t2 = -1; @@ -45490,7 +45490,7 @@ ${Object(zn.b)(wi)} i3 > t2 && (t2 = i3, e2 = o2); } } - if (-1 !== e2 && !this._visibleLines.getVisibleLine(e2).monospaceAssumptionsAreValid()) + if (e2 !== -1 && !this._visibleLines.getVisibleLine(e2).monospaceAssumptionsAreValid()) for (let e3 = n2; e3 <= i2; e3++) { this._visibleLines.getVisibleLine(e3).onMonospaceAssumptionsInvalidated(); } @@ -45542,37 +45542,37 @@ ${Object(zn.b)(wi)} return -1; l2 = true, c2 = this._context.viewLayout.getVerticalOffsetForLineNumber(n2.startLineNumber), d2 = this._context.viewLayout.getVerticalOffsetForLineNumber(n2.endLineNumber) + this._lineHeight; } - if (!("mouse" === t2 && "default" === this._cursorSurroundingLinesStyle)) { + if (!(t2 === "mouse" && this._cursorSurroundingLinesStyle === "default")) { const e3 = Math.min(s2 / this._lineHeight / 2, this._cursorSurroundingLines); c2 -= e3 * this._lineHeight, d2 += Math.max(0, e3 - 1) * this._lineHeight; } let h2; - if (0 !== o2 && 4 !== o2 || (d2 += this._lineHeight), d2 - c2 > s2) { + if (o2 !== 0 && o2 !== 4 || (d2 += this._lineHeight), d2 - c2 > s2) { if (!l2) return -1; h2 = c2; - } else if (5 === o2 || 6 === o2) - if (6 === o2 && r2 <= c2 && d2 <= a2) + } else if (o2 === 5 || o2 === 6) + if (o2 === 6 && r2 <= c2 && d2 <= a2) h2 = r2; else { const e3 = c2 - Math.max(5 * this._lineHeight, 0.2 * s2), t3 = d2 - s2; h2 = Math.max(t3, e3); } - else if (1 === o2 || 2 === o2) - if (2 === o2 && r2 <= c2 && d2 <= a2) + else if (o2 === 1 || o2 === 2) + if (o2 === 2 && r2 <= c2 && d2 <= a2) h2 = r2; else { const e3 = (c2 + d2) / 2; h2 = Math.max(0, e3 - s2 / 2); } else - h2 = this._computeMinimumScrolling(r2, a2, c2, d2, 3 === o2, 4 === o2); + h2 = this._computeMinimumScrolling(r2, a2, c2, d2, o2 === 3, o2 === 4); return h2; } _computeScrollLeftToReveal(e2) { const t2 = this._context.viewLayout.getCurrentViewport(), n2 = t2.left, i2 = n2 + t2.width; let o2 = 1073741824, r2 = 0; - if ("range" === e2.type) { + if (e2.type === "range") { const t3 = this._visibleRangesForLineRange(e2.lineNumber, e2.startColumn, e2.endColumn); if (!t3) return null; @@ -45588,7 +45588,7 @@ ${Object(zn.b)(wi)} for (const t4 of e3.ranges) o2 = Math.min(o2, t4.left), r2 = Math.max(r2, t4.left + t4.width); } - if (o2 = Math.max(0, o2 - ht.HORIZONTAL_EXTRA_PX), r2 += this._revealHorizontalRightPadding, "selections" === e2.type && r2 - o2 > t2.width) + if (o2 = Math.max(0, o2 - ht.HORIZONTAL_EXTRA_PX), r2 += this._revealHorizontalRightPadding, e2.type === "selections" && r2 - o2 > t2.width) return null; return {scrollLeft: this._computeMinimumScrolling(n2, i2, o2, r2), maxHorizontalOffset: r2}; } @@ -45829,7 +45829,7 @@ ${Object(zn.b)(wi)} return n2.getImageData(0, 0, 960, 16); } static createFromSampleData(e2, t2) { - if (61440 !== e2.length) + if (e2.length !== 61440) throw new Error("Unexpected source in MinimapCharRenderer"); let n2 = Et._downsample(e2, t2); return new yt(n2, t2); @@ -45945,7 +45945,7 @@ ${Object(zn.b)(wi)} return false; const t2 = this._renderedLines._get().lines; for (let e3 = 0, n2 = t2.length; e3 < n2; e3++) - if (-1 === t2[e3].dy) + if (t2[e3].dy === -1) return false; return true; } @@ -45992,10 +45992,10 @@ ${Object(zn.b)(wi)} this.samplingRatio = e2, this.minimapLines = t2; } static compute(e2, t2, n2) { - if (0 === e2.renderMinimap || !e2.isSampling) + if (e2.renderMinimap === 0 || !e2.isSampling) return [null, []]; const i2 = e2.pixelRatio, o2 = e2.lineHeight, r2 = e2.scrollBeyondLastLine, {minimapLineCount: s2} = j.f.computeContainedMinimapLineCount({viewLineCount: t2, scrollBeyondLastLine: r2, height: e2.editorHeight, lineHeight: o2, pixelRatio: i2}), a2 = t2 / s2, l2 = a2 / 2; - if (!n2 || 0 === n2.minimapLines.length) { + if (!n2 || n2.minimapLines.length === 0) { let e3 = []; if (e3[0] = 1, s2 > 1) { for (let t3 = 0, n3 = s2 - 1; t3 < n3; t3++) @@ -46012,23 +46012,23 @@ ${Object(zn.b)(wi)} for (; u2 < d2 && c2[u2] < n3; ) { if (g2.length < 10) { const e4 = u2 + 1 + p2; - f2 && "deleted" === f2.type && f2._oldIndex === u2 - 1 ? f2.deleteToLineNumber++ : (f2 = {type: "deleted", _oldIndex: u2, deleteFromLineNumber: e4, deleteToLineNumber: e4}, g2.push(f2)), p2--; + f2 && f2.type === "deleted" && f2._oldIndex === u2 - 1 ? f2.deleteToLineNumber++ : (f2 = {type: "deleted", _oldIndex: u2, deleteFromLineNumber: e4, deleteToLineNumber: e4}, g2.push(f2)), p2--; } u2++; } let o3; if (u2 < d2 && c2[u2] <= i3) o3 = c2[u2], u2++; - else if (o3 = 0 === e3 ? 1 : e3 + 1 === s2 ? t2 : Math.round(e3 * a2 + l2), g2.length < 10) { + else if (o3 = e3 === 0 ? 1 : e3 + 1 === s2 ? t2 : Math.round(e3 * a2 + l2), g2.length < 10) { const t3 = u2 + 1 + p2; - f2 && "inserted" === f2.type && f2._i === e3 - 1 ? f2.insertToLineNumber++ : (f2 = {type: "inserted", _i: e3, insertFromLineNumber: t3, insertToLineNumber: t3}, g2.push(f2)), p2++; + f2 && f2.type === "inserted" && f2._i === e3 - 1 ? f2.insertToLineNumber++ : (f2 = {type: "inserted", _i: e3, insertFromLineNumber: t3, insertToLineNumber: t3}, g2.push(f2)), p2++; } h2[e3] = o3, m2 = o3; } if (g2.length < 10) for (; u2 < d2; ) { const e3 = u2 + 1 + p2; - f2 && "deleted" === f2.type && f2._oldIndex === u2 - 1 ? f2.deleteToLineNumber++ : (f2 = {type: "deleted", _oldIndex: u2, deleteFromLineNumber: e3, deleteToLineNumber: e3}, g2.push(f2)), p2--, u2++; + f2 && f2.type === "deleted" && f2._oldIndex === u2 - 1 ? f2.deleteToLineNumber++ : (f2 = {type: "deleted", _oldIndex: u2, deleteFromLineNumber: e3, deleteToLineNumber: e3}, g2.push(f2)), p2--, u2++; } else g2 = [{type: "flush"}]; @@ -46180,7 +46180,7 @@ ${Object(zn.b)(wi)} return this._context.model.getMinimapLinesRenderingData(e2, t2, n2).data; } getSelections() { - if (null === this._minimapSelections) + if (this._minimapSelections === null) if (this._samplingState) { this._minimapSelections = []; for (const e2 of this._selections) { @@ -46225,11 +46225,11 @@ ${Object(zn.b)(wi)} constructor(e2, t2) { super(), this._renderDecorations = false, this._gestureInProgress = false, this._theme = e2, this._model = t2, this._lastRenderData = null, this._buffers = null, this._selectionColor = this._theme.getColor(_t.Pb), this._domNode = Object(p.b)(document.createElement("div")), I.write(this._domNode, 8), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = Object(p.b)(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = Object(p.b)(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = Object(p.b)(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = Object(p.b)(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(true), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = Object(p.b)(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._mouseDownListener = o.n(this._domNode.domNode, "mousedown", (e3) => { e3.preventDefault(); - if (0 === this._model.options.renderMinimap) + if (this._model.options.renderMinimap === 0) return; if (!this._lastRenderData) return; - if ("proportional" !== this._model.options.size) { + if (this._model.options.size !== "proportional") { if (e3.leftButton && this._lastRenderData) { const t4 = o.C(this._slider.domNode), n3 = t4.top + t4.height / 2; this._startSliderDragging(e3.buttons, e3.posx, n3, e3.posy, this._lastRenderData.renderedLayout); @@ -46270,7 +46270,7 @@ ${Object(zn.b)(wi)} this._mouseDownListener.dispose(), this._sliderMouseMoveMonitor.dispose(), this._sliderMouseDownListener.dispose(), this._gestureDisposable.dispose(), this._sliderTouchStartListener.dispose(), this._sliderTouchMoveListener.dispose(), this._sliderTouchEndListener.dispose(), super.dispose(); } _getMinimapDomNodeClassName() { - return "always" === this._model.options.showSlider ? "minimap slider-always" : "minimap slider-mouseover"; + return this._model.options.showSlider === "always" ? "minimap slider-always" : "minimap slider-mouseover"; } getDomNode() { return this._domNode; @@ -46318,7 +46318,7 @@ ${Object(zn.b)(wi)} return this._lastRenderData = null, true; } render(e2) { - if (0 === this._model.options.renderMinimap) + if (this._model.options.renderMinimap === 0) return this._shadow.setClassName("minimap-shadow-hidden"), this._sliderHorizontal.setWidth(0), void this._sliderHorizontal.setHeight(0); e2.scrollLeft + e2.viewportWidth >= e2.scrollWidth ? this._shadow.setClassName("minimap-shadow-hidden") : this._shadow.setClassName("minimap-shadow-visible"); const t2 = Nt.create(this._model.options, e2.viewportStartLineNumber, e2.viewportEndLineNumber, e2.viewportHeight, e2.viewportContainsWhitespaceGaps, this._model.getLineCount(), this._model.getRealLineCount(), e2.scrollTop, e2.scrollHeight, this._lastRenderData ? this._lastRenderData.renderedLayout : null); @@ -46365,7 +46365,7 @@ ${Object(zn.b)(wi)} const e3 = this._model.getLineContent(r2); h2 = [j.h]; for (let t3 = 1; t3 < e3.length + 1; t3++) { - const n3 = e3.charCodeAt(t3 - 1), i3 = 9 === n3 ? l2 * c2 : xe.E(n3) ? 2 * c2 : c2; + const n3 = e3.charCodeAt(t3 - 1), i3 = n3 === 9 ? l2 * c2 : xe.E(n3) ? 2 * c2 : c2; h2[t3] = h2[t3 - 1] + i3; } t2.set(r2, h2); @@ -46393,12 +46393,12 @@ ${Object(zn.b)(wi)} if (!o2) return null; let [r2, s2, a2] = Mt._renderUntouchedLines(o2, t2, n2, i2, this._lastRenderData); - const l2 = this._model.getMinimapLinesRenderingData(t2, n2, a2), c2 = this._model.getOptions().tabSize, d2 = this._model.options.backgroundColor, h2 = this._model.tokensColorTracker, u2 = h2.backgroundIsLight(), p2 = this._model.options.renderMinimap, m2 = this._model.options.charRenderer(), g2 = this._model.options.fontScale, f2 = this._model.options.minimapCharWidth, b2 = (1 === p2 ? 2 : 3) * g2, _2 = i2 > b2 ? Math.floor((i2 - b2) / 2) : 0; + const l2 = this._model.getMinimapLinesRenderingData(t2, n2, a2), c2 = this._model.getOptions().tabSize, d2 = this._model.options.backgroundColor, h2 = this._model.tokensColorTracker, u2 = h2.backgroundIsLight(), p2 = this._model.options.renderMinimap, m2 = this._model.options.charRenderer(), g2 = this._model.options.fontScale, f2 = this._model.options.minimapCharWidth, b2 = (p2 === 1 ? 2 : 3) * g2, _2 = i2 > b2 ? Math.floor((i2 - b2) / 2) : 0; let v2 = 0; const w2 = []; for (let e3 = 0, r3 = n2 - t2 + 1; e3 < r3; e3++) a2[e3] && Mt._renderLine(o2, d2, u2, p2, f2, h2, m2, v2, _2, c2, l2[e3], g2, i2), w2[e3] = new It(v2), v2 += i2; - const y2 = -1 === r2 ? 0 : r2, C2 = (-1 === s2 ? o2.height : s2) - y2; + const y2 = r2 === -1 ? 0 : r2, C2 = (s2 === -1 ? o2.height : s2) - y2; return this._canvas.domNode.getContext("2d").putImageData(o2, 0, 0, 0, y2, o2.width, C2), new Ot(e2, o2, w2); } static _renderUntouchedLines(e2, t2, n2, i2, o2) { @@ -46412,18 +46412,18 @@ ${Object(zn.b)(wi)} let m2 = -1, g2 = -1, f2 = -1, b2 = -1, _2 = -1, v2 = -1, w2 = 0; for (let e3 = t2; e3 <= n2; e3++) { const n3 = e3 - t2, o3 = e3 - l2, s3 = o3 >= 0 && o3 < d2 ? c2[o3].dy : -1; - if (-1 === s3) { + if (s3 === -1) { r2[n3] = true, w2 += i2; continue; } const y2 = s3 * h2 * 4, C2 = (s3 + i2) * h2 * 4, x2 = w2 * h2 * 4, S2 = (w2 + i2) * h2 * 4; - b2 === y2 && v2 === x2 ? (b2 = C2, v2 = S2) : (-1 !== f2 && (u2.set(a2.subarray(f2, b2), _2), -1 === m2 && 0 === f2 && f2 === _2 && (m2 = b2), -1 === g2 && b2 === p2 && f2 === _2 && (g2 = f2)), f2 = y2, b2 = C2, _2 = x2, v2 = S2), r2[n3] = false, w2 += i2; + b2 === y2 && v2 === x2 ? (b2 = C2, v2 = S2) : (f2 !== -1 && (u2.set(a2.subarray(f2, b2), _2), m2 === -1 && f2 === 0 && f2 === _2 && (m2 = b2), g2 === -1 && b2 === p2 && f2 === _2 && (g2 = f2)), f2 = y2, b2 = C2, _2 = x2, v2 = S2), r2[n3] = false, w2 += i2; } - -1 !== f2 && (u2.set(a2.subarray(f2, b2), _2), -1 === m2 && 0 === f2 && f2 === _2 && (m2 = b2), -1 === g2 && b2 === p2 && f2 === _2 && (g2 = f2)); - return [-1 === m2 ? -1 : m2 / (4 * h2), -1 === g2 ? -1 : g2 / (4 * h2), r2]; + f2 !== -1 && (u2.set(a2.subarray(f2, b2), _2), m2 === -1 && f2 === 0 && f2 === _2 && (m2 = b2), g2 === -1 && b2 === p2 && f2 === _2 && (g2 = f2)); + return [m2 === -1 ? -1 : m2 / (4 * h2), g2 === -1 ? -1 : g2 / (4 * h2), r2]; } static _renderLine(e2, t2, n2, i2, o2, r2, s2, a2, l2, c2, d2, h2, u2) { - const p2 = d2.content, m2 = d2.tokens, g2 = e2.width - o2, f2 = 1 === u2; + const p2 = d2.content, m2 = d2.tokens, g2 = e2.width - o2, f2 = u2 === 1; let b2 = j.h, _2 = 0, v2 = 0; for (let d3 = 0, u3 = m2.getCount(); d3 < u3; d3++) { const u4 = m2.getEndOffset(d3), w2 = m2.getForeground(d3), y2 = r2.getColor(w2); @@ -46431,15 +46431,15 @@ ${Object(zn.b)(wi)} if (b2 > g2) return; const r3 = p2.charCodeAt(_2); - if (9 === r3) { + if (r3 === 9) { const e3 = c2 - (_2 + v2) % c2; v2 += e3 - 1, b2 += e3 * o2; - } else if (32 === r3) + } else if (r3 === 32) b2 += o2; else { const c3 = xe.E(r3) ? 2 : 1; for (let d4 = 0; d4 < c3; d4++) - if (2 === i2 ? s2.blockRenderChar(e2, b2, a2 + l2, y2, t2, n2, f2) : s2.renderChar(e2, b2, a2 + l2, r3, y2, t2, h2, n2, f2), b2 += o2, b2 > g2) + if (i2 === 2 ? s2.blockRenderChar(e2, b2, a2 + l2, y2, t2, n2, f2) : s2.renderChar(e2, b2, a2 + l2, r3, y2, t2, h2, n2, f2), b2 += o2, b2 > g2) return; } } @@ -46492,14 +46492,14 @@ ${Object(zn.b)(wi)} } _renderWidget(e2) { const t2 = e2.domNode; - if (null !== e2.preference) - if (0 === e2.preference) + if (e2.preference !== null) + if (e2.preference === 0) t2.setTop(0), t2.setRight(2 * this._verticalScrollbarWidth + this._minimapWidth); - else if (1 === e2.preference) { + else if (e2.preference === 1) { const e3 = t2.domNode.clientHeight; t2.setTop(this._editorHeight - e3 - 2 * this._horizontalScrollbarHeight), t2.setRight(2 * this._verticalScrollbarWidth + this._minimapWidth); } else - 2 === e2.preference && (t2.setTop(0), t2.domNode.style.right = "50%"); + e2.preference === 2 && (t2.setTop(0), t2.domNode.style.right = "50%"); else t2.unsetTop(); } @@ -46524,9 +46524,9 @@ ${Object(zn.b)(wi)} const o2 = t2.getColor(Te.g); this.cursorColor = o2 ? o2.transparent(0.7).toString() : null, this.themeType = t2.type; const r2 = n2.get(56), s2 = r2.enabled, a2 = r2.side, l2 = s2 ? t2.getColor(Te.l) || gt.C.getDefaultBackground() : null; - this.backgroundColor = null === l2 || "left" === a2 ? null : Ft.a.Format.CSS.formatHex(l2); + this.backgroundColor = l2 === null || a2 === "left" ? null : Ft.a.Format.CSS.formatHex(l2); const c2 = n2.get(117).overviewRuler; - this.top = c2.top, this.right = c2.right, this.domWidth = c2.width, this.domHeight = c2.height, 0 === this.overviewRulerLanes ? (this.canvasWidth = 0, this.canvasHeight = 0) : (this.canvasWidth = this.domWidth * this.pixelRatio | 0, this.canvasHeight = this.domHeight * this.pixelRatio | 0); + this.top = c2.top, this.right = c2.right, this.domWidth = c2.width, this.domHeight = c2.height, this.overviewRulerLanes === 0 ? (this.canvasWidth = 0, this.canvasHeight = 0) : (this.canvasWidth = this.domWidth * this.pixelRatio | 0, this.canvasHeight = this.domHeight * this.pixelRatio | 0); const [d2, h2] = this._initLanes(1, this.canvasWidth, this.overviewRulerLanes); this.x = d2, this.w = h2; } @@ -46536,7 +46536,7 @@ ${Object(zn.b)(wi)} const t3 = Math.floor(i2 / 3), n3 = Math.floor(i2 / 3), o2 = i2 - t3 - n3, r2 = e2 + t3; return [[0, e2, r2, e2, e2 + t3 + o2, e2, r2, e2], [0, t3, o2, t3 + o2, n3, t3 + o2 + n3, o2 + n3, t3 + o2 + n3]]; } - if (2 === n2) { + if (n2 === 2) { const t3 = Math.floor(i2 / 2), n3 = i2 - t3; return [[0, e2, e2, e2, e2 + t3, e2, e2, e2], [0, t3, t3, t3, n3, t3 + n3, t3 + n3, t3 + n3]]; } @@ -46592,10 +46592,10 @@ ${Object(zn.b)(wi)} this._render(); } _render() { - if (0 === this._settings.overviewRulerLanes) + if (this._settings.overviewRulerLanes === 0) return void this._domNode.setBackgroundColor(this._settings.backgroundColor ? this._settings.backgroundColor : ""); const e2 = this._settings.canvasWidth, t2 = this._settings.canvasHeight, n2 = this._settings.lineHeight, i2 = this._context.viewLayout, o2 = t2 / this._context.viewLayout.getScrollHeight(), r2 = this._context.model.getAllOverviewRulerDecorations(this._context.theme), s2 = 6 * this._settings.pixelRatio | 0, a2 = s2 / 2 | 0, l2 = this._domNode.domNode.getContext("2d"); - null === this._settings.backgroundColor ? l2.clearRect(0, 0, e2, t2) : (l2.fillStyle = this._settings.backgroundColor, l2.fillRect(0, 0, e2, t2)); + this._settings.backgroundColor === null ? l2.clearRect(0, 0, e2, t2) : (l2.fillStyle = this._settings.backgroundColor, l2.fillRect(0, 0, e2, t2)); const c2 = this._settings.x, d2 = this._settings.w, h2 = Object.keys(r2); h2.sort(); for (let e3 = 0, u2 = h2.length; e3 < u2; e3++) { @@ -46609,7 +46609,7 @@ ${Object(zn.b)(wi)} let e5 = (b2 + _2) / 2 | 0; e5 < a2 ? e5 = a2 : e5 + a2 > t2 && (e5 = t2 - a2), b2 = e5 - a2, _2 = e5 + a2; } - b2 > f2 + 1 || r4 !== m2 ? (0 !== e4 && l2.fillRect(c2[m2], g2, d2[m2], f2 - g2), m2 = r4, g2 = b2, f2 = _2) : _2 > f2 && (f2 = _2); + b2 > f2 + 1 || r4 !== m2 ? (e4 !== 0 && l2.fillRect(c2[m2], g2, d2[m2], f2 - g2), m2 = r4, g2 = b2, f2 = _2) : _2 > f2 && (f2 = _2); } l2.fillRect(c2[m2], g2, d2[m2], f2 - g2); } @@ -46622,7 +46622,7 @@ ${Object(zn.b)(wi)} let u2 = i2.getVerticalOffsetForLineNumber(h4.lineNumber) * o2 | 0; u2 < n3 ? u2 = n3 : u2 + n3 > t2 && (u2 = t2 - n3); const p2 = u2 - n3, m2 = p2 + e3; - p2 > c3 + 1 ? (0 !== d3 && l2.fillRect(r3, a3, s3, c3 - a3), a3 = p2, c3 = m2) : m2 > c3 && (c3 = m2); + p2 > c3 + 1 ? (d3 !== 0 && l2.fillRect(r3, a3, s3, c3 - a3), a3 = p2, c3 = m2) : m2 > c3 && (c3 = m2); } l2.fillRect(r3, a3, s3, c3 - a3); } @@ -46664,7 +46664,7 @@ ${Object(zn.b)(wi)} this._zoneManager.setZones(e2), this._render(); } _render() { - if (0 === this._zoneManager.getOuterHeight()) + if (this._zoneManager.getOuterHeight() === 0) return false; const e2 = this._zoneManager.getCanvasWidth(), t2 = this._zoneManager.getCanvasHeight(), n2 = this._zoneManager.resolveColorZones(), i2 = this._zoneManager.getId2Color(), o2 = this._domNode.domNode.getContext("2d"); return o2.clearRect(0, 0, e2, t2), n2.length > 0 && this._renderOneLane(o2, n2, i2, e2), true; @@ -46747,7 +46747,7 @@ ${Object(zn.b)(wi)} } _updateWidth() { const e2 = this._context.configuration.options.get(117); - 0 === e2.minimap.renderMinimap || e2.minimap.minimapWidth > 0 && 0 === e2.minimap.minimapLeft ? this._width = e2.width : this._width = e2.width - e2.minimap.minimapWidth - e2.verticalScrollbarWidth; + e2.minimap.renderMinimap === 0 || e2.minimap.minimapWidth > 0 && e2.minimap.minimapLeft === 0 ? this._width = e2.width : this._width = e2.width - e2.minimap.minimapWidth - e2.verticalScrollbarWidth; } onConfigurationChanged(e2) { const t2 = this._context.configuration.options.get(84); @@ -46865,7 +46865,7 @@ ${Object(zn.b)(wi)} return '<div class="cslr ' + n2 + '" style="top:' + e2.toString() + "px;left:" + i2.toString() + "px;width:" + o2.toString() + "px;height:" + t2 + 'px;"></div>'; } _actualRenderOneSelection(e2, t2, n2, i2) { - if (0 === i2.length) + if (i2.length === 0) return; const o2 = !!i2[0].ranges[0].startStyle, r2 = this._lineHeight.toString(), s2 = (this._lineHeight - 1).toString(), a2 = i2[0].lineNumber, l2 = i2[i2.length - 1].lineNumber; for (let c2 = 0, d2 = i2.length; c2 < d2; c2++) { @@ -46875,21 +46875,21 @@ ${Object(zn.b)(wi)} const t4 = d3.ranges[e3]; if (o2) { const e4 = t4.startStyle, n4 = t4.endStyle; - if (1 === e4.top || 1 === e4.bottom) { + if (e4.top === 1 || e4.bottom === 1) { g2 += this._createSelectionPiece(m2, p2, Yt.SELECTION_CLASS_NAME, t4.left - Yt.ROUNDED_PIECE_WIDTH, Yt.ROUNDED_PIECE_WIDTH); let n5 = Yt.EDITOR_BACKGROUND_CLASS_NAME; - 1 === e4.top && (n5 += " " + Yt.SELECTION_TOP_RIGHT), 1 === e4.bottom && (n5 += " " + Yt.SELECTION_BOTTOM_RIGHT), g2 += this._createSelectionPiece(m2, p2, n5, t4.left - Yt.ROUNDED_PIECE_WIDTH, Yt.ROUNDED_PIECE_WIDTH); + e4.top === 1 && (n5 += " " + Yt.SELECTION_TOP_RIGHT), e4.bottom === 1 && (n5 += " " + Yt.SELECTION_BOTTOM_RIGHT), g2 += this._createSelectionPiece(m2, p2, n5, t4.left - Yt.ROUNDED_PIECE_WIDTH, Yt.ROUNDED_PIECE_WIDTH); } - if (1 === n4.top || 1 === n4.bottom) { + if (n4.top === 1 || n4.bottom === 1) { g2 += this._createSelectionPiece(m2, p2, Yt.SELECTION_CLASS_NAME, t4.left + t4.width, Yt.ROUNDED_PIECE_WIDTH); let e5 = Yt.EDITOR_BACKGROUND_CLASS_NAME; - 1 === n4.top && (e5 += " " + Yt.SELECTION_TOP_LEFT), 1 === n4.bottom && (e5 += " " + Yt.SELECTION_BOTTOM_LEFT), g2 += this._createSelectionPiece(m2, p2, e5, t4.left + t4.width, Yt.ROUNDED_PIECE_WIDTH); + n4.top === 1 && (e5 += " " + Yt.SELECTION_TOP_LEFT), n4.bottom === 1 && (e5 += " " + Yt.SELECTION_BOTTOM_LEFT), g2 += this._createSelectionPiece(m2, p2, e5, t4.left + t4.width, Yt.ROUNDED_PIECE_WIDTH); } } let n3 = Yt.SELECTION_CLASS_NAME; if (o2) { const e4 = t4.startStyle, i3 = t4.endStyle; - 0 === e4.top && (n3 += " " + Yt.SELECTION_TOP_LEFT), 0 === e4.bottom && (n3 += " " + Yt.SELECTION_BOTTOM_LEFT), 0 === i3.top && (n3 += " " + Yt.SELECTION_TOP_RIGHT), 0 === i3.bottom && (n3 += " " + Yt.SELECTION_BOTTOM_RIGHT); + e4.top === 0 && (n3 += " " + Yt.SELECTION_TOP_LEFT), e4.bottom === 0 && (n3 += " " + Yt.SELECTION_BOTTOM_LEFT), i3.top === 0 && (n3 += " " + Yt.SELECTION_TOP_RIGHT), i3.bottom === 0 && (n3 += " " + Yt.SELECTION_BOTTOM_RIGHT); } f2 += this._createSelectionPiece(m2, p2, n3, t4.left, t4.width); } @@ -46982,10 +46982,10 @@ ${Object(zn.b)(wi)} return new Xt(s3, r3, i3, this._lineHeight, t2, ""); } const n2 = this._context.model.getLineContent(this._position.lineNumber), i2 = xe.L(n2, this._position.column - 1), r2 = e2.linesVisibleRangesForRange(new te.a(this._position.lineNumber, this._position.column, this._position.lineNumber, this._position.column + i2), false); - if (!r2 || 0 === r2.length) + if (!r2 || r2.length === 0) return null; const s2 = r2[0]; - if (s2.outsideRenderedLine || 0 === s2.ranges.length) + if (s2.outsideRenderedLine || s2.ranges.length === 0) return null; const a2 = s2.ranges[0], l2 = a2.width < 1 ? this._typicalHalfwidthCharacterWidth : a2.width; let c2 = ""; @@ -47090,8 +47090,8 @@ ${Object(zn.b)(wi)} } _updateBlinking() { this._startCursorBlinkAnimation.cancel(), this._cursorFlatBlinkInterval.cancel(); - const e2 = this._getCursorBlinking(), t2 = 0 === e2, n2 = 5 === e2; - t2 ? this._hide() : this._show(), this._blinkingEnabled = false, this._updateDomClassName(), t2 || n2 || (1 === e2 ? this._cursorFlatBlinkInterval.cancelAndSet(() => { + const e2 = this._getCursorBlinking(), t2 = e2 === 0, n2 = e2 === 5; + t2 ? this._hide() : this._show(), this._blinkingEnabled = false, this._updateDomClassName(), t2 || n2 || (e2 === 1 ? this._cursorFlatBlinkInterval.cancelAndSet(() => { this._isVisible ? this._hide() : this._show(); }, Jt.BLINK_INTERVAL) : this._startCursorBlinkAnimation.setIfNotSet(() => { this._blinkingEnabled = true, this._updateDomClassName(); @@ -47183,7 +47183,7 @@ ${Object(zn.b)(wi)} const n2 = e2.getColor(Te.g); if (n2) { let i2 = e2.getColor(Te.f); - i2 || (i2 = n2.opposite()), t2.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n2}; border-color: ${n2}; color: ${i2}; }`), "hc" === e2.type && t2.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i2}; border-right: 1px solid ${i2}; }`); + i2 || (i2 = n2.opposite()), t2.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n2}; border-color: ${n2}; color: ${i2}; }`), e2.type === "hc" && t2.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i2}; border-right: 1px solid ${i2}; }`); } }); const en = () => { @@ -47231,13 +47231,13 @@ ${Object(zn.b)(wi)} return true; } _getZoneOrdinal(e2) { - return void 0 !== e2.afterColumn ? e2.afterColumn : 1e4; + return e2.afterColumn !== void 0 ? e2.afterColumn : 1e4; } _computeWhitespaceProps(e2) { - if (0 === e2.afterLineNumber) + if (e2.afterLineNumber === 0) return {afterViewLineNumber: 0, heightInPx: this._heightInPixels(e2), minWidthInPx: this._minWidthInPixels(e2)}; let t2, n2; - if (void 0 !== e2.afterColumn) + if (e2.afterColumn !== void 0) t2 = this._context.model.validateModelPosition({lineNumber: e2.afterLineNumber, column: e2.afterColumn}); else { const n3 = this._context.model.validateModelPosition({lineNumber: e2.afterLineNumber, column: 1}).lineNumber; @@ -47290,13 +47290,13 @@ ${Object(zn.b)(wi)} return false; } _heightInPixels(e2) { - return "number" == typeof e2.heightInPx ? e2.heightInPx : "number" == typeof e2.heightInLines ? this._lineHeight * e2.heightInLines : this._lineHeight; + return typeof e2.heightInPx == "number" ? e2.heightInPx : typeof e2.heightInLines == "number" ? this._lineHeight * e2.heightInLines : this._lineHeight; } _minWidthInPixels(e2) { - return "number" == typeof e2.minWidthInPx ? e2.minWidthInPx : 0; + return typeof e2.minWidthInPx == "number" ? e2.minWidthInPx : 0; } _safeCallOnComputedHeight(e2, t2) { - if ("function" == typeof e2.onComputedHeight) + if (typeof e2.onComputedHeight == "function") try { e2.onComputedHeight(t2); } catch (e3) { @@ -47304,7 +47304,7 @@ ${Object(zn.b)(wi)} } } _safeCallOnDomNodeTop(e2, t2) { - if ("function" == typeof e2.onDomNodeTop) + if (typeof e2.onDomNodeTop == "function") try { e2.onDomNodeTop(t2); } catch (e3) { @@ -47427,13 +47427,13 @@ ${Object(zn.b)(wi)} return this.domNode.setClassName(this._getEditorClassName()), false; } dispose() { - null !== this._renderAnimationFrame && (this._renderAnimationFrame.dispose(), this._renderAnimationFrame = null), this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(), this._context.removeEventHandler(this), this._viewLines.dispose(); + this._renderAnimationFrame !== null && (this._renderAnimationFrame.dispose(), this._renderAnimationFrame = null), this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(), this._context.removeEventHandler(this), this._viewLines.dispose(); for (let e2 = 0, t2 = this._viewParts.length; e2 < t2; e2++) this._viewParts[e2].dispose(); super.dispose(); } _scheduleRender() { - null === this._renderAnimationFrame && (this._renderAnimationFrame = o.W(this._onRenderScheduled.bind(this), 100)); + this._renderAnimationFrame === null && (this._renderAnimationFrame = o.W(this._onRenderScheduled.bind(this), 100)); } _onRenderScheduled() { this._renderAnimationFrame = null, this._flushAccumulatedAndRenderNow(); @@ -47459,7 +47459,7 @@ ${Object(zn.b)(wi)} if (!o.N(this.domNode.domNode)) return; let e2 = this._getViewPartsToRender(); - if (!this._viewLines.shouldRender() && 0 === e2.length) + if (!this._viewLines.shouldRender() && e2.length === 0) return; const t2 = this._context.viewLayout.getLinesViewportData(); this._context.model.setViewport(t2.startLineNumber, t2.endLineNumber, t2.centeredLineNumber); @@ -47519,9 +47519,9 @@ ${Object(zn.b)(wi)} } layoutContentWidget(e2) { let t2 = e2.position && e2.position.range || null; - if (null === t2) { + if (t2 === null) { const n3 = e2.position ? e2.position.position : null; - null !== n3 && (t2 = new te.a(n3.lineNumber, n3.column, n3.lineNumber, n3.column)); + n3 !== null && (t2 = new te.a(n3.lineNumber, n3.column, n3.lineNumber, n3.column)); } const n2 = e2.position ? e2.position.preference : null; this._contentWidgets.setWidgetPosition(e2.widget, t2, n2), this._scheduleRender(); @@ -47564,7 +47564,7 @@ ${Object(zn.b)(wi)} } readSelectionFromMarkers(e2) { const t2 = e2.model._getTrackedRange(this._selTrackedRange); - return 0 === this.modelState.selection.getDirection() ? new u.a(t2.startLineNumber, t2.startColumn, t2.endLineNumber, t2.endColumn) : new u.a(t2.endLineNumber, t2.endColumn, t2.startLineNumber, t2.startColumn); + return this.modelState.selection.getDirection() === 0 ? new u.a(t2.startLineNumber, t2.startColumn, t2.endLineNumber, t2.endColumn) : new u.a(t2.endLineNumber, t2.endColumn, t2.startLineNumber, t2.startColumn); } ensureValidState(e2) { this._setState(e2, this.modelState, this.viewState); @@ -47675,7 +47675,7 @@ ${Object(zn.b)(wi)} return this.primaryCursor.asCursorState(); } setStates(e2) { - null !== e2 && (this.primaryCursor.setState(this.context, e2[0].modelState, e2[0].viewState), this._setSecondaryStates(e2.slice(1))); + e2 !== null && (this.primaryCursor.setState(this.context, e2[0].modelState, e2[0].viewState), this._setSecondaryStates(e2.slice(1))); } _setSecondaryStates(e2) { const t2 = this.secondaryCursors.length, n2 = e2.length; @@ -47698,7 +47698,7 @@ ${Object(zn.b)(wi)} this.secondaryCursors.push(new an(this.context)), this.lastAddedCursorIndex = this.secondaryCursors.length; } getLastAddedCursorIndex() { - return 0 === this.secondaryCursors.length || 0 === this.lastAddedCursorIndex ? 0 : this.lastAddedCursorIndex; + return this.secondaryCursors.length === 0 || this.lastAddedCursorIndex === 0 ? 0 : this.lastAddedCursorIndex; } _removeSecondaryCursor(e2) { this.lastAddedCursorIndex >= e2 + 1 && this.lastAddedCursorIndex--, this.secondaryCursors[e2].dispose(this.context), this.secondaryCursors.splice(e2, 1); @@ -47711,7 +47711,7 @@ ${Object(zn.b)(wi)} return e2; } normalize() { - if (0 === this.secondaryCursors.length) + if (this.secondaryCursors.length === 0) return; let e2 = this._getAll(), t2 = []; for (let n2 = 0, i2 = e2.length; n2 < i2; n2++) @@ -47856,10 +47856,10 @@ ${Object(zn.b)(wi)} } } beginEmitViewEvents() { - return this._collectorCnt++, 1 === this._collectorCnt && (this._collector = new Ln()), this._collector; + return this._collectorCnt++, this._collectorCnt === 1 && (this._collector = new Ln()), this._collector; } endEmitViewEvents() { - if (this._collectorCnt--, 0 === this._collectorCnt) { + if (this._collectorCnt--, this._collectorCnt === 0) { const e2 = this._collector.outgoingEvents, t2 = this._collector.viewEvents; this._collector = null; for (const t3 of e2) @@ -47914,7 +47914,7 @@ ${Object(zn.b)(wi)} return !this.contentWidthChanged && !this.contentHeightChanged; } merge(e2) { - return 0 !== e2.kind ? this : new Nn(this._oldContentWidth, this._oldContentHeight, e2.contentWidth, e2.contentHeight); + return e2.kind !== 0 ? this : new Nn(this._oldContentWidth, this._oldContentHeight, e2.contentWidth, e2.contentHeight); } } class In { @@ -47925,7 +47925,7 @@ ${Object(zn.b)(wi)} return this.oldHasFocus === this.hasFocus; } merge(e2) { - return 1 !== e2.kind ? this : new In(this.oldHasFocus, e2.hasFocus); + return e2.kind !== 1 ? this : new In(this.oldHasFocus, e2.hasFocus); } } class On { @@ -47936,7 +47936,7 @@ ${Object(zn.b)(wi)} return !(this.scrollWidthChanged || this.scrollLeftChanged || this.scrollHeightChanged || this.scrollTopChanged); } merge(e2) { - return 2 !== e2.kind ? this : new On(this._oldScrollWidth, this._oldScrollLeft, this._oldScrollHeight, this._oldScrollTop, e2.scrollWidth, e2.scrollLeft, e2.scrollHeight, e2.scrollTop); + return e2.kind !== 2 ? this : new On(this._oldScrollWidth, this._oldScrollLeft, this._oldScrollHeight, this._oldScrollTop, e2.scrollWidth, e2.scrollLeft, e2.scrollHeight, e2.scrollTop); } } class Dn { @@ -47971,7 +47971,7 @@ ${Object(zn.b)(wi)} return An._selectionsAreEqual(this.oldSelections, this.selections) && this.oldModelVersionId === this.modelVersionId; } merge(e2) { - return 5 !== e2.kind ? this : new An(this.oldSelections, e2.selections, this.oldModelVersionId, e2.modelVersionId, e2.source, e2.reason, this.reachedMaxCursorCount || e2.reachedMaxCursorCount); + return e2.kind !== 5 ? this : new An(this.oldSelections, e2.selections, this.oldModelVersionId, e2.modelVersionId, e2.source, e2.reason, this.reachedMaxCursorCount || e2.reachedMaxCursorCount); } } class Rn { @@ -48076,7 +48076,7 @@ ${Object(zn.b)(wi)} } setStates(e2, t2, n2, i2) { let o2 = false; - null !== i2 && i2.length > Fn.MAX_CURSOR_COUNT && (i2 = i2.slice(0, Fn.MAX_CURSOR_COUNT), o2 = true); + i2 !== null && i2.length > Fn.MAX_CURSOR_COUNT && (i2 = i2.slice(0, Fn.MAX_CURSOR_COUNT), o2 = true); const r2 = new Mn(this._model, this); return this._cursors.setStates(i2), this._cursors.normalize(), this._columnSelectData = null, this._validateAutoClosedActions(), this._emitStateChangedIfNecessary(e2, t2, n2, r2, o2); } @@ -48187,7 +48187,7 @@ ${Object(zn.b)(wi)} if (this._arrayIsEmpty(t3)) return null; const n2 = this._getEditOperations(e3, t3); - if (0 === n2.operations.length) + if (n2.operations.length === 0) return null; const i2 = n2.operations, o2 = this._getLoserCursorMap(i2); if (o2.hasOwnProperty("0")) @@ -48207,7 +48207,7 @@ ${Object(zn.b)(wi)} for (let n4 = 0; n4 < e3.selectionsBefore.length; n4++) i3[n4].length > 0 ? (i3[n4].sort(o3), r3[n4] = t3[n4].computeCursorState(e3.model, {getInverseEditOperations: () => i3[n4], getTrackedSelection: (t4) => { const n5 = parseInt(t4, 10), i4 = e3.model._getTrackedRange(e3.trackedRanges[n5]); - return 0 === e3.trackedRangesDirection[n5] ? new u.a(i4.startLineNumber, i4.startColumn, i4.endLineNumber, i4.endColumn) : new u.a(i4.endLineNumber, i4.endColumn, i4.startLineNumber, i4.startColumn); + return e3.trackedRangesDirection[n5] === 0 ? new u.a(i4.startLineNumber, i4.startColumn, i4.endLineNumber, i4.endColumn) : new u.a(i4.endLineNumber, i4.endColumn, i4.startLineNumber, i4.startColumn); }})) : r3[n4] = e3.selectionsBefore[n4]; return r3; }); @@ -48240,7 +48240,7 @@ ${Object(zn.b)(wi)} static _getEditOperationsFromCommand(e3, t3, n2) { let i2 = [], o2 = 0; const s2 = (e4, r2, s3 = false) => { - te.a.isEmpty(e4) && "" === r2 || i2.push({identifier: {major: t3, minor: o2++}, range: e4, text: r2, forceMoveMarkers: s3, isAutoWhitespaceEdit: n2.insertsAutoWhitespace}); + te.a.isEmpty(e4) && r2 === "" || i2.push({identifier: {major: t3, minor: o2++}, range: e4, text: r2, forceMoveMarkers: s3, isAutoWhitespaceEdit: n2.insertsAutoWhitespace}); }; let a2 = false; const l2 = {addEditOperation: s2, addTrackedEditOperation: (e4, t4, n3) => { @@ -48249,7 +48249,7 @@ ${Object(zn.b)(wi)} const i3 = u.a.liftSelection(t4); let o3; if (i3.isEmpty()) - if ("boolean" == typeof n3) + if (typeof n3 == "boolean") o3 = n3 ? 2 : 3; else { const t5 = e3.model.getLineMaxColumn(i3.startLineNumber); @@ -48295,7 +48295,7 @@ ${Object(zn.b)(wi)} e2.shouldPushStackElementAfter && this._model.pushStackElement(); } _interpretCommandResult(e2) { - e2 && 0 !== e2.length || (e2 = this._cursors.readSelectionFromMarkers()), this._columnSelectData = null, this._cursors.setSelections(e2), this._cursors.normalize(); + e2 && e2.length !== 0 || (e2 = this._cursors.readSelectionFromMarkers()), this._columnSelectData = null, this._cursors.setSelections(e2), this._cursors.normalize(); } _emitStateChangedIfNecessary(e2, t2, n2, i2, o2) { const r2 = new Mn(this._model, this); @@ -48320,10 +48320,10 @@ ${Object(zn.b)(wi)} if (!o2) return null; const r2 = o2[1], s2 = this.context.cursorConfig.autoClosingPairsClose2.get(r2); - if (!s2 || 1 !== s2.length) + if (!s2 || s2.length !== 1) return null; const a2 = s2[0].open, l2 = i3.text.length - o2[2].length - 1, c2 = i3.text.lastIndexOf(a2, l2 - 1); - if (-1 === c2) + if (c2 === -1) return null; t2.push([c2, l2]); } @@ -48331,7 +48331,7 @@ ${Object(zn.b)(wi)} } executeEdits(e2, t2, n2, i2) { let o2 = null; - "snippet" === t2 && (o2 = this._findAutoClosingPairs(n2)), o2 && (n2[0]._isTracked = true); + t2 === "snippet" && (o2 = this._findAutoClosingPairs(n2)), o2 && (n2[0]._isTracked = true); let r2 = [], s2 = []; const a2 = this._model.pushEditOperations(this.getSelections(), n2, (e3) => { if (o2) @@ -48364,7 +48364,7 @@ ${Object(zn.b)(wi)} } endComposition(e2, t2) { this._executeEdit(() => { - if ("keyboard" === t2) { + if (t2 === "keyboard") { const e3 = Pn.getAllAutoClosedCharacters(this._autoClosedActions); this._executeEditOperation(dn.a.compositionEndWithInterceptors(this._prevEditOperationType, this.context.cursorConfig, this._model, this._selectionsWhenCompositionStarted, this.getSelections(), e3)), this._selectionsWhenCompositionStarted = null; } @@ -48372,7 +48372,7 @@ ${Object(zn.b)(wi)} } type(e2, t2, n2) { this._executeEdit(() => { - if ("keyboard" === n2) { + if (n2 === "keyboard") { const e3 = t2.length; let n3 = 0; for (; n3 < e3; ) { @@ -48485,7 +48485,7 @@ ${Object(zn.b)(wi)} this._changeOneWhitespace(e3.id, e3.newAfterLineNumber, e3.newHeight); for (const e3 of n2) { const t3 = this._findWhitespaceIndex(e3.id); - -1 !== t3 && this._removeWhitespace(t3); + t3 !== -1 && this._removeWhitespace(t3); } return; } @@ -48525,7 +48525,7 @@ ${Object(zn.b)(wi)} } _changeOneWhitespace(e2, t2, n2) { const i2 = this._findWhitespaceIndex(e2); - if (-1 !== i2 && (this._arr[i2].height !== n2 && (this._arr[i2].height = n2, this._prefixSumValidIndex = Math.min(this._prefixSumValidIndex, i2 - 1)), this._arr[i2].afterLineNumber !== t2)) { + if (i2 !== -1 && (this._arr[i2].height !== n2 && (this._arr[i2].height = n2, this._prefixSumValidIndex = Math.min(this._prefixSumValidIndex, i2 - 1)), this._arr[i2].afterLineNumber !== t2)) { const e3 = this._arr[i2]; this._removeWhitespace(i2), e3.afterLineNumber = t2, this._insertWhitespace(e3); } @@ -48547,12 +48547,12 @@ ${Object(zn.b)(wi)} } } getWhitespacesTotalHeight() { - return this._checkPendingChanges(), 0 === this._arr.length ? 0 : this.getWhitespacesAccumulatedHeight(this._arr.length - 1); + return this._checkPendingChanges(), this._arr.length === 0 ? 0 : this.getWhitespacesAccumulatedHeight(this._arr.length - 1); } getWhitespacesAccumulatedHeight(e2) { this._checkPendingChanges(), e2 |= 0; let t2 = Math.max(0, this._prefixSumValidIndex + 1); - 0 === t2 && (this._arr[0].prefixSum = this._arr[0].height, t2++); + t2 === 0 && (this._arr[0].prefixSum = this._arr[0].height, t2++); for (let n2 = t2; n2 <= e2; n2++) this._arr[n2].prefixSum = this._arr[n2 - 1].prefixSum + this._arr[n2].height; return this._prefixSumValidIndex = Math.max(this._prefixSumValidIndex, e2), this._arr[e2].prefixSum; @@ -48564,7 +48564,7 @@ ${Object(zn.b)(wi)} getWhitespaceAccumulatedHeightBeforeLineNumber(e2) { this._checkPendingChanges(), e2 |= 0; const t2 = this._findLastWhitespaceBeforeLineNumber(e2); - return -1 === t2 ? 0 : this.getWhitespacesAccumulatedHeight(t2); + return t2 === -1 ? 0 : this.getWhitespacesAccumulatedHeight(t2); } _findLastWhitespaceBeforeLineNumber(e2) { e2 |= 0; @@ -48595,7 +48595,7 @@ ${Object(zn.b)(wi)} return t2 + this.getWhitespaceAccumulatedHeightBeforeLineNumber(e2) + this._paddingTop; } getWhitespaceMinWidth() { - if (this._checkPendingChanges(), -1 === this._minWidth) { + if (this._checkPendingChanges(), this._minWidth === -1) { let e2 = 0; for (let t2 = 0, n2 = this._arr.length; t2 < n2; t2++) e2 = Math.max(e2, this._arr[t2].minWidth); @@ -48630,14 +48630,14 @@ ${Object(zn.b)(wi)} let r2 = 0 | this._lineCount, s2 = 0 | this.getFirstWhitespaceIndexAfterLineNumber(i2); const a2 = 0 | this.getWhitespacesCount(); let l2, c2; - -1 === s2 ? (s2 = a2, c2 = r2 + 1, l2 = 0) : (c2 = 0 | this.getAfterLineNumberForWhitespaceIndex(s2), l2 = 0 | this.getHeightForWhitespaceIndex(s2)); + s2 === -1 ? (s2 = a2, c2 = r2 + 1, l2 = 0) : (c2 = 0 | this.getAfterLineNumberForWhitespaceIndex(s2), l2 = 0 | this.getHeightForWhitespaceIndex(s2)); let d2 = o2, h2 = d2; let u2 = 0; o2 >= 5e5 && (u2 = 5e5 * Math.floor(o2 / 5e5), u2 = Math.floor(u2 / n2) * n2, h2 -= u2); const p2 = [], m2 = e2 + (t2 - e2) / 2; let g2 = -1; for (let e3 = i2; e3 <= r2; e3++) { - if (-1 === g2) { + if (g2 === -1) { const t3 = d2, i3 = d2 + n2; (t3 <= m2 && m2 < i3 || t3 > m2) && (g2 = e3); } @@ -48648,7 +48648,7 @@ ${Object(zn.b)(wi)} break; } } - -1 === g2 && (g2 = r2); + g2 === -1 && (g2 = r2); const f2 = 0 | this.getVerticalOffsetForLineNumber(r2); let b2 = i2, _2 = r2; return b2 < _2 && o2 < e2 && b2++, b2 < _2 && f2 + n2 > t2 && _2--, {bigNumbersDelta: u2, startLineNumber: i2, endLineNumber: r2, relativeVerticalOffset: p2, centeredLineNumber: g2, completelyVisibleStartLineNumber: b2, completelyVisibleEndLineNumber: _2}; @@ -48809,7 +48809,7 @@ ${Object(zn.b)(wi)} } _getHorizontalScrollbarHeight(e2, t2) { const n2 = this._configuration.options.get(84); - return 2 === n2.horizontal || e2 >= t2 ? 0 : n2.horizontalScrollbarSize; + return n2.horizontal === 2 || e2 >= t2 ? 0 : n2.horizontalScrollbarSize; } _getContentHeight(e2, t2, n2) { const i2 = this._configuration.options; @@ -48832,7 +48832,7 @@ ${Object(zn.b)(wi)} const t2 = this._configuration.options, n2 = t2.get(118), i2 = t2.get(36); if (n2.isViewportWrapping) { const n3 = t2.get(117), o2 = t2.get(56); - return e2 > n3.contentWidth + i2.typicalHalfwidthCharacterWidth && o2.enabled && "right" === o2.side ? e2 + n3.verticalScrollbarWidth : e2; + return e2 > n3.contentWidth + i2.typicalHalfwidthCharacterWidth && o2.enabled && o2.side === "right" ? e2 + n3.verticalScrollbarWidth : e2; } { const n3 = t2.get(85) * i2.typicalHalfwidthCharacterWidth, o2 = this._linesLayout.getWhitespaceMinWidth(); @@ -48901,7 +48901,7 @@ ${Object(zn.b)(wi)} return this._scrollable.validateScrollPosition(e2); } setScrollPosition(e2, t2) { - 1 === t2 ? this._scrollable.setScrollPositionNow(e2) : this._scrollable.setScrollPositionSmooth(e2); + t2 === 1 ? this._scrollable.setScrollPositionNow(e2) : this._scrollable.setScrollPositionSmooth(e2); } deltaScrollNow(e2, t2) { const n2 = this._scrollable.getCurrentScrollPosition(); @@ -48919,7 +48919,7 @@ ${Object(zn.b)(wi)} this.breakOffsets = e2, this.breakOffsetsVisibleColumn = t2, this.wrappedTextIndentLength = n2; } static getInputOffsetOfOutputPosition(e2, t2, n2) { - return 0 === t2 ? n2 : e2[t2 - 1] + n2; + return t2 === 0 ? n2 : e2[t2 - 1] + n2; } static getOutputPositionOfInputOffset(e2, t2) { let n2 = 0, i2 = e2.length - 1, o2 = 0, r2 = 0; @@ -49032,7 +49032,7 @@ ${Object(zn.b)(wi)} return this.hiddenAreasIds.map((e2) => this.model.getDecorationRange(e2)); } _reduceRanges(e2) { - if (0 === e2.length) + if (e2.length === 0) return []; let t2 = e2.map((e3) => this.model.validateRange(e3)).sort(te.a.compareRangesUsingStarts), n2 = [], i2 = t2[0].startLineNumber, o2 = t2[0].endLineNumber; for (let e3 = 1, r2 = t2.length; e3 < r2; e3++) { @@ -49090,7 +49090,7 @@ ${Object(zn.b)(wi)} return this._constructLines(false, c2), true; } createLineBreaksComputer() { - return ("advanced" === this.wrappingStrategy ? this._domLineBreaksComputerFactory : this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo, this.tabSize, this.wrappingColumn, this.wrappingIndent); + return (this.wrappingStrategy === "advanced" ? this._domLineBreaksComputerFactory : this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo, this.tabSize, this.wrappingColumn, this.wrappingIndent); } onModelFlushed() { this._constructLines(true, null); @@ -49098,7 +49098,7 @@ ${Object(zn.b)(wi)} onModelLinesDeleted(e2, t2, n2) { if (e2 <= this._validModelVersionId) return null; - let i2 = 1 === t2 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, o2 = this.prefixSumComputer.getAccumulatedValue(n2 - 1); + let i2 = t2 === 1 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, o2 = this.prefixSumComputer.getAccumulatedValue(n2 - 1); return this.lines.splice(t2 - 1, n2 - t2 + 1), this.prefixSumComputer.removeValues(t2 - 1, n2 - t2 + 1), new vn(i2, o2); } onModelLinesInserted(e2, t2, n2, i2) { @@ -49110,7 +49110,7 @@ ${Object(zn.b)(wi)} r2 = true; break; } - let a2 = 1 === t2 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, l2 = 0, c2 = [], d2 = []; + let a2 = t2 === 1 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, l2 = 0, c2 = [], d2 = []; for (let e3 = 0, t3 = i2.length; e3 < t3; e3++) { let t4 = li(i2[e3], !r2); c2.push(t4); @@ -49125,11 +49125,11 @@ ${Object(zn.b)(wi)} let i2 = t2 - 1, o2 = this.lines[i2].getViewLineCount(), r2 = li(n2, this.lines[i2].isVisible()); this.lines[i2] = r2; let s2 = this.lines[i2].getViewLineCount(), a2 = false, l2 = 0, c2 = -1, d2 = 0, h2 = -1, u2 = 0, p2 = -1; - o2 > s2 ? (l2 = 1 === t2 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, c2 = l2 + s2 - 1, u2 = c2 + 1, p2 = u2 + (o2 - s2) - 1, a2 = true) : o2 < s2 ? (l2 = 1 === t2 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, c2 = l2 + o2 - 1, d2 = c2 + 1, h2 = d2 + (s2 - o2) - 1, a2 = true) : (l2 = 1 === t2 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, c2 = l2 + s2 - 1), this.prefixSumComputer.changeValue(i2, s2); + o2 > s2 ? (l2 = t2 === 1 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, c2 = l2 + s2 - 1, u2 = c2 + 1, p2 = u2 + (o2 - s2) - 1, a2 = true) : o2 < s2 ? (l2 = t2 === 1 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, c2 = l2 + o2 - 1, d2 = c2 + 1, h2 = d2 + (s2 - o2) - 1, a2 = true) : (l2 = t2 === 1 ? 1 : this.prefixSumComputer.getAccumulatedValue(t2 - 2) + 1, c2 = l2 + s2 - 1), this.prefixSumComputer.changeValue(i2, s2); return [a2, l2 <= c2 ? new _n(l2, c2) : null, d2 <= h2 ? new wn(d2, h2) : null, u2 <= p2 ? new vn(u2, p2) : null]; } acceptVersionId(e2) { - this._validModelVersionId = e2, 1 !== this.lines.length || this.lines[0].isVisible() || this.setHiddenAreas([]); + this._validModelVersionId = e2, this.lines.length !== 1 || this.lines[0].isVisible() || this.setHiddenAreas([]); } getViewLineCount() { return this.prefixSumComputer.getTotalValue(); @@ -49155,16 +49155,16 @@ ${Object(zn.b)(wi)} const t3 = this.lines[e3]; if (t3.isVisible()) { let i3 = t3.getViewLineNumberOfModelPosition(0, e3 === a2 ? n2.column : 1), o3 = t3.getViewLineNumberOfModelPosition(0, this.model.getLineMaxColumn(e3 + 1)), l3 = o3 - i3 + 1, d3 = 0; - l3 > 1 && 1 === t3.getViewLineMinColumn(this.model, e3 + 1, o3) && (d3 = 0 === i3 ? 1 : 2), r2.push(l3), s2.push(d3), null === c2 && (c2 = new ee.a(e3 + 1, 0)); + l3 > 1 && t3.getViewLineMinColumn(this.model, e3 + 1, o3) === 1 && (d3 = i3 === 0 ? 1 : 2), r2.push(l3), s2.push(d3), c2 === null && (c2 = new ee.a(e3 + 1, 0)); } else - null !== c2 && (o2 = o2.concat(this.model.getLinesIndentGuides(c2.lineNumber, e3)), c2 = null); + c2 !== null && (o2 = o2.concat(this.model.getLinesIndentGuides(c2.lineNumber, e3)), c2 = null); } - null !== c2 && (o2 = o2.concat(this.model.getLinesIndentGuides(c2.lineNumber, i2.lineNumber)), c2 = null); + c2 !== null && (o2 = o2.concat(this.model.getLinesIndentGuides(c2.lineNumber, i2.lineNumber)), c2 = null); const d2 = t2 - e2 + 1; let h2 = new Array(d2), u2 = 0; for (let e3 = 0, t3 = o2.length; e3 < t3; e3++) { let t4, n3 = o2[e3], i3 = Math.min(d2 - u2, r2[e3]), a3 = s2[e3]; - t4 = 2 === a3 ? 0 : 1 === a3 ? 1 : i3; + t4 = a3 === 2 ? 0 : a3 === 1 ? 1 : i3; for (let e4 = 0; e4 < i3; e4++) e4 === t4 && (n3 = 0), h2[u2++] = n3; } @@ -49235,9 +49235,9 @@ ${Object(zn.b)(wi)} let r2 = i2 - 1, s2 = false; for (; r2 > 0 && !this.lines[r2].isVisible(); ) r2--, s2 = true; - if (0 === r2 && !this.lines[r2].isVisible()) + if (r2 === 0 && !this.lines[r2].isVisible()) return new ee.a(1, 1); - const a2 = 1 + (0 === r2 ? 0 : this.prefixSumComputer.getAccumulatedValue(r2 - 1)); + const a2 = 1 + (r2 === 0 ? 0 : this.prefixSumComputer.getAccumulatedValue(r2 - 1)); let l2; return l2 = s2 ? this.lines[r2].getViewPositionOfModelPosition(a2, this.model.getLineMaxColumn(r2 + 1)) : this.lines[i2 - 1].getViewPositionOfModelPosition(a2, o2), l2; } @@ -49248,21 +49248,21 @@ ${Object(zn.b)(wi)} _getViewLineNumberForModelPosition(e2, t2) { let n2 = e2 - 1; if (this.lines[n2].isVisible()) { - const e3 = 1 + (0 === n2 ? 0 : this.prefixSumComputer.getAccumulatedValue(n2 - 1)); + const e3 = 1 + (n2 === 0 ? 0 : this.prefixSumComputer.getAccumulatedValue(n2 - 1)); return this.lines[n2].getViewLineNumberOfModelPosition(e3, t2); } for (; n2 > 0 && !this.lines[n2].isVisible(); ) n2--; - if (0 === n2 && !this.lines[n2].isVisible()) + if (n2 === 0 && !this.lines[n2].isVisible()) return 1; - const i2 = 1 + (0 === n2 ? 0 : this.prefixSumComputer.getAccumulatedValue(n2 - 1)); + const i2 = 1 + (n2 === 0 ? 0 : this.prefixSumComputer.getAccumulatedValue(n2 - 1)); return this.lines[n2].getViewLineNumberOfModelPosition(i2, this.model.getLineMaxColumn(n2 + 1)); } getAllOverviewRulerDecorations(e2, t2, n2) { const i2 = this.model.getOverviewRulerDecorations(e2, t2), o2 = new hi(); for (const e3 of i2) { const t3 = e3.options.overviewRuler, i3 = t3 ? t3.position : 0; - if (0 === i3) + if (i3 === 0) continue; const r2 = t3.getColor(n2), s2 = this._getViewLineNumberForModelPosition(e3.range.startLineNumber, e3.range.startColumn), a2 = this._getViewLineNumberForModelPosition(e3.range.endLineNumber, e3.range.endColumn); o2.accept(r2, s2, a2, i3); @@ -49278,15 +49278,15 @@ ${Object(zn.b)(wi)} let l2 = null; for (let e3 = s2; e3 <= a2; e3++) { if (this.lines[e3].isVisible()) - null === l2 && (l2 = new ee.a(e3 + 1, e3 === s2 ? i2.column : 1)); - else if (null !== l2) { + l2 === null && (l2 = new ee.a(e3 + 1, e3 === s2 ? i2.column : 1)); + else if (l2 !== null) { const i3 = this.model.getLineMaxColumn(e3); r2 = r2.concat(this.model.getDecorationsInRange(new te.a(l2.lineNumber, l2.column, e3, i3), t2, n2)), l2 = null; } } - null !== l2 && (r2 = r2.concat(this.model.getDecorationsInRange(new te.a(l2.lineNumber, l2.column, o2.lineNumber, o2.column), t2, n2)), l2 = null), r2.sort((e3, t3) => { + l2 !== null && (r2 = r2.concat(this.model.getDecorationsInRange(new te.a(l2.lineNumber, l2.column, o2.lineNumber, o2.column), t2, n2)), l2 = null), r2.sort((e3, t3) => { const n3 = te.a.compareRangesUsingStarts(e3.range, t3.range); - return 0 === n3 ? e3.id < t3.id ? -1 : e3.id > t3.id ? 1 : 0 : n3; + return n3 === 0 ? e3.id < t3.id ? -1 : e3.id > t3.id ? 1 : 0 : n3; }); let c2 = [], d2 = 0, h2 = null; for (const e3 of r2) { @@ -49437,7 +49437,7 @@ ${Object(zn.b)(wi)} let s2 = n2 > 0 ? this._lineBreakData.wrappedTextIndentLength + 1 : 1, a2 = r2.length + 1, l2 = n2 + 1 < this.getViewLineCount(), c2 = 0; n2 > 0 && (c2 = this._lineBreakData.wrappedTextIndentLength); let d2 = e2.getLineTokens(t2); - const h2 = 0 === n2 ? 0 : this._lineBreakData.breakOffsetsVisibleColumn[n2 - 1]; + const h2 = n2 === 0 ? 0 : this._lineBreakData.breakOffsetsVisibleColumn[n2 - 1]; return new bt.c(r2, l2, s2, a2, h2, d2.sliceAndInflate(i2, o2, c2)); } getViewLinesData(e2, t2, n2, i2, o2, r2, s2) { @@ -49477,7 +49477,7 @@ ${Object(zn.b)(wi)} return new Array(e2 + 1).join(" "); } function li(e2, t2) { - return null === e2 ? t2 ? ni.INSTANCE : ii.INSTANCE : new oi(e2, t2); + return e2 === null ? t2 ? ni.INSTANCE : ii.INSTANCE : new oi(e2, t2); } class ci { constructor(e2) { @@ -49595,7 +49595,7 @@ ${Object(zn.b)(wi)} const i2 = this.model.getOverviewRulerDecorations(e2, t2), o2 = new hi(); for (const e3 of i2) { const t3 = e3.options.overviewRuler, i3 = t3 ? t3.position : 0; - if (0 === i3) + if (i3 === 0) continue; const r2 = t3.getColor(n2), s2 = e3.range.startLineNumber, a2 = e3.range.endLineNumber; o2.accept(r2, s2, a2, i3); @@ -49656,7 +49656,7 @@ ${Object(zn.b)(wi)} return n2; } getDecorationsViewportData(e2) { - let t2 = null !== this._cachedModelDecorationsResolver; + let t2 = this._cachedModelDecorationsResolver !== null; return t2 = t2 && e2.equalsRange(this._cachedModelDecorationsResolverViewRange), t2 || (this._cachedModelDecorationsResolver = this._getDecorationsViewportData(e2), this._cachedModelDecorationsResolverViewRange = e2), this._cachedModelDecorationsResolver; } _getDecorationsViewportData(e2) { @@ -49730,13 +49730,13 @@ ${Object(zn.b)(wi)} } _onConfigurationChanged(e2, t2) { let n2 = null; - if (-1 !== this._viewportStartLine) { + if (this._viewportStartLine !== -1) { let e3 = new ee.a(this._viewportStartLine, this.getLineMinColumn(this._viewportStartLine)); n2 = this.coordinatesConverter.convertViewPositionToModelPosition(e3); } let i2 = false; const o2 = this._configuration.options, r2 = o2.get(36), s2 = o2.get(112), a2 = o2.get(118), l2 = o2.get(111); - if (this._lines.setWrappingSettings(r2, s2, a2.wrappingColumn, l2) && (e2.emitViewEvent(new mn()), e2.emitViewEvent(new bn()), e2.emitViewEvent(new pn(null)), this._cursor.onLineMappingChanged(e2), this._decorations.onLineMappingChanged(), this.viewLayout.onFlushed(this.getLineCount()), 0 !== this.viewLayout.getCurrentScrollTop() && (i2 = true), this._updateConfigurationViewLineCount.schedule()), t2.hasChanged(72) && (this._decorations.reset(), e2.emitViewEvent(new pn(null))), e2.emitViewEvent(new hn(t2)), this.viewLayout.onConfigurationChanged(t2), i2 && n2) { + if (this._lines.setWrappingSettings(r2, s2, a2.wrappingColumn, l2) && (e2.emitViewEvent(new mn()), e2.emitViewEvent(new bn()), e2.emitViewEvent(new pn(null)), this._cursor.onLineMappingChanged(e2), this._decorations.onLineMappingChanged(), this.viewLayout.onFlushed(this.getLineCount()), this.viewLayout.getCurrentScrollTop() !== 0 && (i2 = true), this._updateConfigurationViewLineCount.schedule()), t2.hasChanged(72) && (this._decorations.reset(), e2.emitViewEvent(new pn(null))), e2.emitViewEvent(new hn(t2)), this.viewLayout.onConfigurationChanged(t2), i2 && n2) { const e3 = this.coordinatesConverter.convertModelPositionToViewPosition(n2), t3 = this.viewLayout.getVerticalOffsetForLineNumber(e3.lineNumber); this.viewLayout.setScrollPosition({scrollTop: t3 + this._viewportStartLineDelta}, 1); } @@ -49766,14 +49766,14 @@ ${Object(zn.b)(wi)} break; case 3: { const i3 = this._lines.onModelLinesDeleted(r2, e3.fromLineNumber, e3.toLineNumber); - null !== i3 && (t2.emitViewEvent(i3), this.viewLayout.onLinesDeleted(i3.fromLineNumber, i3.toLineNumber)), n2 = true; + i3 !== null && (t2.emitViewEvent(i3), this.viewLayout.onLinesDeleted(i3.fromLineNumber, i3.toLineNumber)), n2 = true; break; } case 4: { const i3 = a2.slice(l2, l2 + e3.detail.length); l2 += e3.detail.length; const o3 = this._lines.onModelLinesInserted(r2, e3.fromLineNumber, e3.toLineNumber, i3); - null !== o3 && (t2.emitViewEvent(o3), this.viewLayout.onLinesInserted(o3.fromLineNumber, o3.toLineNumber)), n2 = true; + o3 !== null && (t2.emitViewEvent(o3), this.viewLayout.onLinesInserted(o3.fromLineNumber, o3.toLineNumber)), n2 = true; break; } case 2: { @@ -49846,7 +49846,7 @@ ${Object(zn.b)(wi)} } _toModelVisibleRanges(e2) { const t2 = this.coordinatesConverter.convertViewRangeToModelRange(e2), n2 = this._lines.getHiddenAreas(); - if (0 === n2.length) + if (n2.length === 0) return [t2]; let i2 = [], o2 = 0, r2 = t2.startLineNumber, s2 = t2.startColumn, a2 = t2.endLineNumber, l2 = t2.endColumn; for (let e3 = 0, t3 = n2.length; e3 < t3; e3++) { @@ -49868,7 +49868,7 @@ ${Object(zn.b)(wi)} return {scrollLeft: e2.scrollLeft, firstPosition: i2, firstPositionDeltaTop: o2}; } reduceRestoreState(e2) { - if (void 0 === e2.firstPosition) + if (e2.firstPosition === void 0) return this._reduceRestoreStateCompatibility(e2); const t2 = this.model.validatePosition(e2.firstPosition), n2 = this.coordinatesConverter.convertModelPositionToViewPosition(t2), i2 = this.viewLayout.getVerticalOffsetForLineNumber(n2.lineNumber) - e2.firstPositionDeltaTop; return {scrollLeft: e2.scrollLeft, scrollTop: i2}; @@ -49912,11 +49912,11 @@ ${Object(zn.b)(wi)} } getLineFirstNonWhitespaceColumn(e2) { const t2 = xe.w(this.getLineContent(e2)); - return -1 === t2 ? 0 : t2 + 1; + return t2 === -1 ? 0 : t2 + 1; } getLineLastNonWhitespaceColumn(e2) { const t2 = xe.J(this.getLineContent(e2)); - return -1 === t2 ? 0 : t2 + 2; + return t2 === -1 ? 0 : t2 + 2; } getDecorationsInViewport(e2) { return this._decorations.getDecorationsViewportData(e2).decorations; @@ -49964,7 +49964,7 @@ ${Object(zn.b)(wi)} } deduceModelPositionRelativeToViewPosition(e2, t2, n2) { const i2 = this.coordinatesConverter.convertViewPositionToModelPosition(e2); - 2 === this.model.getEOL().length && (t2 < 0 ? t2 -= n2 : t2 += n2); + this.model.getEOL().length === 2 && (t2 < 0 ? t2 -= n2 : t2 += n2); const o2 = this.model.getOffsetAt(i2) + t2; return this.model.getPositionAt(o2); } @@ -49992,18 +49992,18 @@ ${Object(zn.b)(wi)} const e3 = o3.startLineNumber; o3.isEmpty() ? e3 !== i3 && t3.push(this.model.getLineContent(e3)) : t3.push(this.model.getValueInRange(o3, n2 ? 2 : 0)), i3 = e3; } - return 1 === t3.length ? t3[0] : t3; + return t3.length === 1 ? t3[0] : t3; } let s2 = []; for (const t3 of e2) t3.isEmpty() || s2.push(this.model.getValueInRange(t3, n2 ? 2 : 0)); - return 1 === s2.length ? s2[0] : s2; + return s2.length === 1 ? s2[0] : s2; } getRichTextToCopy(e2, t2) { const n2 = this.model.getLanguageIdentifier(); - if (1 === n2.id) + if (n2.id === 1) return null; - if (1 !== e2.length) + if (e2.length !== 1) return null; let i2 = e2[0]; if (i2.isEmpty()) { @@ -50020,7 +50020,7 @@ ${Object(zn.b)(wi)} let a2 = ""; for (let e3 = n2; e3 <= o2; e3++) { const l2 = this.model.getLineTokens(e3), c2 = l2.getLineContent(), d2 = e3 === n2 ? i2 - 1 : 0, h2 = e3 === o2 ? r2 - 1 : c2.length; - a2 += "" === c2 ? "<br>" : Object(jn.a)(c2, l2.inflate(), t2, d2, h2, s2, m.i); + a2 += c2 === "" ? "<br>" : Object(jn.a)(c2, l2.inflate(), t2, d2, h2, s2, m.i); } return a2; } @@ -50187,7 +50187,7 @@ ${Object(zn.b)(wi)} } } function Ei(e2, t2, n2, i2, o2, r2, s2) { - if (-1 === o2) + if (o2 === -1) return null; const a2 = n2.length; if (a2 <= 1) @@ -50210,7 +50210,7 @@ ${Object(zn.b)(wi)} g2 > t3 && (t3 = g2, o3 = f2); let s3 = 0, d3 = 0, w2 = 0, y2 = 0; if (o3 <= b2) { - let f3 = o3, _3 = 0 === t3 ? 0 : n2.charCodeAt(t3 - 1), v3 = 0 === t3 ? 0 : e2.get(_3), C3 = true; + let f3 = o3, _3 = t3 === 0 ? 0 : n2.charCodeAt(t3 - 1), v3 = t3 === 0 ? 0 : e2.get(_3), C3 = true; for (let o4 = t3; o4 < a2; o4++) { const t4 = o4, a3 = n2.charCodeAt(o4); let l3, c3; @@ -50225,17 +50225,17 @@ ${Object(zn.b)(wi)} break; } } - if (0 === s3) { + if (s3 === 0) { let a3 = o3, l3 = n2.charCodeAt(t3), c3 = e2.get(l3), u3 = false; for (let i3 = t3 - 1; i3 >= g2; i3--) { const t4 = i3 + 1, o4 = n2.charCodeAt(i3); - if (9 === o4) { + if (o4 === 9) { u3 = true; break; } let p3, m3; if (xe.G(o4) ? (i3--, p3 = 0, m3 = 2) : (p3 = e2.get(o4), m3 = xe.E(o4) ? r2 : 1), a3 <= b2) { - if (0 === w2 && (w2 = t4, y2 = a3), a3 <= b2 - h2) + if (w2 === 0 && (w2 = t4, y2 = a3), a3 <= b2 - h2) break; if (Ii(o4, p3, l3, c3)) { s3 = t4, d3 = a3; @@ -50244,7 +50244,7 @@ ${Object(zn.b)(wi)} } a3 -= m3, l3 = o4, c3 = p3; } - if (0 !== s3) { + if (s3 !== 0) { const e3 = h2 - (y2 - d3); if (e3 <= i2) { const t4 = n2.charCodeAt(w2); @@ -50257,7 +50257,7 @@ ${Object(zn.b)(wi)} continue; } } - for (0 === s3 && (s3 = w2, d3 = y2), g2 = s3, u2[m2] = s3, f2 = d3, p2[m2] = d3, m2++, b2 = d3 + h2; v2 < 0 || v2 < _2 && c2[v2] < d3; ) + for (s3 === 0 && (s3 = w2, d3 = y2), g2 = s3, u2[m2] = s3, f2 = d3, p2[m2] = d3, m2++, b2 = d3 + h2; v2 < 0 || v2 < _2 && c2[v2] < d3; ) v2++; let C2 = Math.abs(c2[v2] - b2); for (; v2 + 1 < _2; ) { @@ -50267,10 +50267,10 @@ ${Object(zn.b)(wi)} C2 = e3, v2++; } } - return 0 === m2 ? null : (u2.length = m2, p2.length = m2, xi = t2.breakOffsets, Si = t2.breakOffsetsVisibleColumn, t2.breakOffsets = u2, t2.breakOffsetsVisibleColumn = p2, t2.wrappedTextIndentLength = d2, t2); + return m2 === 0 ? null : (u2.length = m2, p2.length = m2, xi = t2.breakOffsets, Si = t2.breakOffsetsVisibleColumn, t2.breakOffsets = u2, t2.breakOffsetsVisibleColumn = p2, t2.wrappedTextIndentLength = d2, t2); } function Ti(e2, t2, n2, i2, o2, r2) { - if (-1 === i2) + if (i2 === -1) return null; const s2 = t2.length; if (s2 <= 1) @@ -50281,28 +50281,28 @@ ${Object(zn.b)(wi)} for (let i3 = _2; i3 < s2; i3++) { const r3 = i3, s3 = t2.charCodeAt(i3); let a3, _3; - xe.F(s3) ? (i3++, a3 = 0, _3 = 2) : (a3 = e2.get(s3), _3 = Li(s3, b2, n2, o2)), Ii(g2, f2, s3, a3) && (u2 = r3, p2 = b2), b2 += _3, b2 > m2 && ((0 === u2 || b2 - p2 > l2) && (u2 = r3, p2 = b2 - _3), c2[h2] = u2, d2[h2] = p2, h2++, m2 = p2 + l2, u2 = 0), g2 = s3, f2 = a3; + xe.F(s3) ? (i3++, a3 = 0, _3 = 2) : (a3 = e2.get(s3), _3 = Li(s3, b2, n2, o2)), Ii(g2, f2, s3, a3) && (u2 = r3, p2 = b2), b2 += _3, b2 > m2 && ((u2 === 0 || b2 - p2 > l2) && (u2 = r3, p2 = b2 - _3), c2[h2] = u2, d2[h2] = p2, h2++, m2 = p2 + l2, u2 = 0), g2 = s3, f2 = a3; } - return 0 === h2 ? null : (c2[h2] = s2, d2[h2] = b2, new Qn(c2, d2, a2)); + return h2 === 0 ? null : (c2[h2] = s2, d2[h2] = b2, new Qn(c2, d2, a2)); } function Li(e2, t2, n2, i2) { - return 9 === e2 ? n2 - t2 % n2 : xe.E(e2) ? i2 : 1; + return e2 === 9 ? n2 - t2 % n2 : xe.E(e2) ? i2 : 1; } function Ni(e2, t2) { return t2 - e2 % t2; } function Ii(e2, t2, n2, i2) { - return 32 !== n2 && (2 === t2 || 3 === t2 && 2 !== i2 || 1 === i2 || 3 === i2 && 1 !== t2); + return n2 !== 32 && (t2 === 2 || t2 === 3 && i2 !== 2 || i2 === 1 || i2 === 3 && t2 !== 1); } function Oi(e2, t2, n2, i2, o2) { let r2 = 0; - if (0 !== o2) { + if (o2 !== 0) { const s2 = xe.w(e2); - if (-1 !== s2) { + if (s2 !== -1) { for (let n3 = 0; n3 < s2; n3++) { - r2 += 9 === e2.charCodeAt(n3) ? Ni(r2, t2) : 1; + r2 += e2.charCodeAt(n3) === 9 ? Ni(r2, t2) : 1; } - const a2 = 3 === o2 ? 2 : 2 === o2 ? 1 : 0; + const a2 = o2 === 3 ? 2 : o2 === 2 ? 1 : 0; for (let e3 = 0; e3 < a2; e3++) { r2 += Ni(r2, t2); } @@ -50323,26 +50323,26 @@ ${Object(zn.b)(wi)} return {addRequest: (e3, t3) => { o2.push(e3); }, finalize: () => function(e3, t3, n3, i3, o3) { - if (-1 === i3) { + if (i3 === -1) { const t4 = []; for (let n4 = 0, i4 = e3.length; n4 < i4; n4++) t4[n4] = null; return t4; } const r2 = Math.round(i3 * t3.typicalHalfwidthCharacterWidth); - 2 !== o3 && 3 !== o3 || (o3 = 1); + o3 !== 2 && o3 !== 3 || (o3 = 1); const s2 = document.createElement("div"); c.a.applyFontInfoSlow(s2, t3); const a2 = Object(ze.a)(1e4), l2 = [], d2 = [], h2 = [], u2 = [], p2 = []; for (let i4 = 0; i4 < e3.length; i4++) { const s3 = e3[i4]; let c2 = 0, m3 = 0, g3 = r2; - if (0 !== o3) - if (c2 = xe.w(s3), -1 === c2) + if (o3 !== 0) + if (c2 = xe.w(s3), c2 === -1) c2 = 0; else { for (let e5 = 0; e5 < c2; e5++) { - const t4 = 9 === s3.charCodeAt(e5) ? n3 - m3 % n3 : 1; + const t4 = s3.charCodeAt(e5) === 9 ? n3 - m3 % n3 : 1; m3 += t4; } const e4 = Math.ceil(t3.spaceWidth * m3); @@ -50357,14 +50357,14 @@ ${Object(zn.b)(wi)} let f2 = []; for (let t4 = 0; t4 < e3.length; t4++) { const e4 = g2[t4], n4 = Ri(m2, e4, h2[t4], u2[t4]); - if (null === n4) { + if (n4 === null) { f2[t4] = null; continue; } const i4 = l2[t4], o4 = d2[t4], r3 = p2[t4], s3 = []; for (let e5 = 0, t5 = n4.length; e5 < t5; e5++) s3[e5] = r3[n4[e5]]; - if (0 !== i4) + if (i4 !== 0) for (let e5 = 0, t5 = n4.length; e5 < t5; e5++) n4[e5] += i4; f2[t4] = new Qn(n4, s3, o4); @@ -50379,7 +50379,7 @@ ${Object(zn.b)(wi)} let s2 = t2, a2 = 0, l2 = [], c2 = [], d2 = 0 < r2 ? e2.charCodeAt(0) : 0; o2.appendASCIIString("<span>"); for (let t3 = 0; t3 < r2; t3++) { - 0 !== t3 && t3 % 16384 == 0 && o2.appendASCIIString("</span><span>"), l2[t3] = a2, c2[t3] = s2; + t3 !== 0 && t3 % 16384 == 0 && o2.appendASCIIString("</span><span>"), l2[t3] = a2, c2[t3] = s2; const i3 = d2; d2 = t3 + 1 < r2 ? e2.charCodeAt(t3 + 1) : 0; let h2 = 1, u2 = 1; @@ -50390,7 +50390,7 @@ ${Object(zn.b)(wi)} e3 < h2 ? o2.write1(160) : o2.appendASCII(32); break; case 32: - 32 === d2 ? o2.write1(160) : o2.appendASCII(32); + d2 === 32 ? o2.write1(160) : o2.appendASCII(32); break; case 60: o2.appendASCIIString("<"); @@ -50435,14 +50435,14 @@ ${Object(zn.b)(wi)} } catch (e3) { return console.log(e3), null; } - return 0 === r2.length ? null : (r2.push(n2.length), r2); + return r2.length === 0 ? null : (r2.push(n2.length), r2); } function Mi(e2, t2, n2, i2) { return e2.setStart(t2[n2 / 16384 | 0].firstChild, n2 % 16384), e2.setEnd(t2[i2 / 16384 | 0].firstChild, i2 % 16384), e2.getClientRects(); } var Pi = n(129), Fi = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -50531,7 +50531,7 @@ ${Object(zn.b)(wi)} return ""; const t2 = !(!e3 || !e3.preserveBOM); let n2 = 0; - return e3 && e3.lineEnding && "\n" === e3.lineEnding ? n2 = 1 : e3 && e3.lineEnding && "\r\n" === e3.lineEnding && (n2 = 2), this._modelData.model.getValue(n2, t2); + return e3 && e3.lineEnding && e3.lineEnding === "\n" ? n2 = 1 : e3 && e3.lineEnding && e3.lineEnding === "\r\n" && (n2 = 2), this._modelData.model.getValue(n2, t2); } setValue(e3) { this._modelData && this._modelData.model.setValue(e3); @@ -50541,7 +50541,7 @@ ${Object(zn.b)(wi)} } setModel(e3 = null) { const t2 = e3; - if (null === this._modelData && null === t2) + if (this._modelData === null && t2 === null) return; if (this._modelData && this._modelData.model === t2) return; @@ -50619,7 +50619,7 @@ ${Object(zn.b)(wi)} this._revealLine(e3, 5, t2); } _revealLine(e3, t2, n2) { - if ("number" != typeof e3) + if (typeof e3 != "number") throw new Error("Invalid arguments"); this._sendRevealRange(new te.a(e3, 1, e3, 1), t2, false, n2); } @@ -50676,7 +50676,7 @@ ${Object(zn.b)(wi)} this._revealLines(e3, t2, 5, n2); } _revealLines(e3, t2, n2, i2) { - if ("number" != typeof e3 || "number" != typeof t2) + if (typeof e3 != "number" || typeof t2 != "number") throw new Error("Invalid arguments"); this._sendRevealRange(new te.a(e3, 1, t2, 1), n2, false, i2); } @@ -50705,7 +50705,7 @@ ${Object(zn.b)(wi)} } setSelections(e3, t2 = "api") { if (this._modelData) { - if (!e3 || 0 === e3.length) + if (!e3 || e3.length === 0) throw new Error("Invalid arguments"); for (let t3 = 0, n2 = e3.length; t3 < n2; t3++) if (!u.a.isISelection(e3[t3])) @@ -50733,14 +50733,14 @@ ${Object(zn.b)(wi)} } setScrollLeft(e3, t2 = 1) { if (this._modelData) { - if ("number" != typeof e3) + if (typeof e3 != "number") throw new Error("Invalid arguments"); this._modelData.viewModel.setScrollPosition({scrollLeft: e3}, t2); } } setScrollTop(e3, t2 = 1) { if (this._modelData) { - if ("number" != typeof e3) + if (typeof e3 != "number") throw new Error("Invalid arguments"); this._modelData.viewModel.setScrollPosition({scrollTop: e3}, t2); } @@ -50754,7 +50754,7 @@ ${Object(zn.b)(wi)} const e3 = {}, t2 = Object.keys(this._contributions); for (const n2 of t2) { const t3 = this._contributions[n2]; - "function" == typeof t3.saveViewState && (e3[n2] = t3.saveViewState()); + typeof t3.saveViewState == "function" && (e3[n2] = t3.saveViewState()); } return {cursorState: this._modelData.viewModel.saveCursorState(), viewState: this._modelData.viewModel.saveState(), contributionsState: e3}; } @@ -50768,7 +50768,7 @@ ${Object(zn.b)(wi)} const n2 = t2.contributionsState || {}, i2 = Object.keys(this._contributions); for (let e5 = 0, t3 = i2.length; e5 < t3; e5++) { const t4 = i2[e5], o3 = this._contributions[t4]; - "function" == typeof o3.restoreViewState && o3.restoreViewState(n2[t4]); + typeof o3.restoreViewState == "function" && o3.restoreViewState(n2[t4]); } const o2 = this._modelData.viewModel.reduceRestoreState(t2.viewState); this._modelData.view.restoreState(o2); @@ -50823,18 +50823,18 @@ ${Object(zn.b)(wi)} this._modelData && (this._modelData.viewModel.endComposition(e3), this._onDidCompositionEnd.fire()); } _type(e3, t2) { - this._modelData && 0 !== t2.length && ("keyboard" === e3 && this._onWillType.fire(t2), this._modelData.viewModel.type(t2, e3), "keyboard" === e3 && this._onDidType.fire(t2)); + this._modelData && t2.length !== 0 && (e3 === "keyboard" && this._onWillType.fire(t2), this._modelData.viewModel.type(t2, e3), e3 === "keyboard" && this._onDidType.fire(t2)); } _replacePreviousChar(e3, t2, n2) { this._modelData && this._modelData.viewModel.replacePreviousChar(t2, n2, e3); } _paste(e3, t2, n2, i2, o2) { - if (!this._modelData || 0 === t2.length) + if (!this._modelData || t2.length === 0) return; const r2 = this._modelData.viewModel.getSelection().getStartPosition(); this._modelData.viewModel.paste(t2, n2, i2, e3); const s2 = this._modelData.viewModel.getSelection().getStartPosition(); - "keyboard" === e3 && this._onDidPaste.fire({range: new te.a(r2.lineNumber, r2.column, s2.lineNumber, s2.column), mode: o2}); + e3 === "keyboard" && this._onDidPaste.fire({range: new te.a(r2.lineNumber, r2.column, s2.lineNumber, s2.column), mode: o2}); } _cut(e3) { this._modelData && this._modelData.viewModel.cut(e3); @@ -50872,7 +50872,7 @@ ${Object(zn.b)(wi)} return this._modelData ? this._modelData.model.getLineDecorations(e3, this._id, Object(j.l)(this._configuration.options)) : null; } deltaDecorations(e3, t2) { - return this._modelData ? 0 === e3.length && 0 === t2.length ? e3 : this._modelData.model.deltaDecorations(e3, t2, this._id) : []; + return this._modelData ? e3.length === 0 && t2.length === 0 ? e3 : this._modelData.model.deltaDecorations(e3, t2, this._id) : []; } removeDecorations(e3) { const t2 = this._decorationTypeKeysToIds[e3]; @@ -51067,7 +51067,7 @@ ${Object(zn.b)(wi)} this._codeEditorService.removeDecorationType(e3); } hasModel() { - return null !== this._modelData; + return this._modelData !== null; } }; ji = Fi([Wi(3, fi.a), Wi(4, h.a), Wi(5, mi.b), Wi(6, gi.b), Wi(7, B.c), Wi(8, _i.a), Wi(9, vi.b)], ji); @@ -51077,7 +51077,7 @@ ${Object(zn.b)(wi)} } setValue(e2) { const t2 = e2 ? 2 : 1; - this._value !== t2 && (this._value = t2, 2 === this._value ? this._onDidChangeToTrue.fire() : 1 === this._value && this._onDidChangeToFalse.fire()); + this._value !== t2 && (this._value = t2, this._value === 2 ? this._onDidChangeToTrue.fire() : this._value === 1 && this._onDidChangeToFalse.fire()); } } class Ui extends a.a { @@ -51181,19 +51181,19 @@ ${Object(zn.b)(wi)} const n2 = s(t2); return function e3(t3, n3, o2) { let r2; - if (2 === n3.type) + if (n3.type === 2) r2 = document.createTextNode(n3.content || ""); - else if (3 === n3.type) + else if (n3.type === 3) r2 = document.createElement("b"); - else if (4 === n3.type) + else if (n3.type === 4) r2 = document.createElement("i"); - else if (5 === n3.type && o2) { + else if (n3.type === 5 && o2) { const e4 = document.createElement("a"); e4.href = "#", o2.disposeables.add(i.n(e4, "click", (e5) => { o2.callback(String(n3.index), e5); })), r2 = e4; } else - 7 === n3.type ? r2 = document.createElement("br") : 1 === n3.type && (r2 = t3); + n3.type === 7 ? r2 = document.createElement("br") : n3.type === 1 && (r2 = t3); r2 && t3 !== r2 && t3.appendChild(r2); r2 && Array.isArray(n3.children) && n3.children.forEach((t4) => { e3(r2, t4, o2); @@ -51204,27 +51204,27 @@ ${Object(zn.b)(wi)} const o2 = [], r2 = new a(e3); for (; !r2.eos(); ) { let e4 = r2.next(); - const t4 = "\\" === e4 && 0 !== l(r2.peek()); - if (t4 && (e4 = r2.next()), t4 || 0 === l(e4) || e4 !== r2.peek()) - if ("\n" === e4) - 2 === i2.type && (i2 = o2.pop()), i2.children.push({type: 7}); - else if (2 !== i2.type) { + const t4 = e4 === "\\" && l(r2.peek()) !== 0; + if (t4 && (e4 = r2.next()), t4 || l(e4) === 0 || e4 !== r2.peek()) + if (e4 === "\n") + i2.type === 2 && (i2 = o2.pop()), i2.children.push({type: 7}); + else if (i2.type !== 2) { const t5 = {type: 2, content: e4}; i2.children.push(t5), o2.push(i2), i2 = t5; } else i2.content += e4; else { - r2.advance(), 2 === i2.type && (i2 = o2.pop()); + r2.advance(), i2.type === 2 && (i2 = o2.pop()); const t5 = l(e4); - if (i2.type === t5 || 5 === i2.type && 6 === t5) + if (i2.type === t5 || i2.type === 5 && t5 === 6) i2 = o2.pop(); else { const e5 = {type: t5, children: []}; - 5 === t5 && (e5.index = n3, n3++), i2.children.push(e5), o2.push(i2), i2 = e5; + t5 === 5 && (e5.index = n3, n3++), i2.children.push(e5), o2.push(i2), i2 = e5; } } } - 2 === i2.type && (i2 = o2.pop()); + i2.type === 2 && (i2 = o2.pop()); o2.length; return t3; }(e2), t2.actionHandler), n2; @@ -51313,7 +51313,7 @@ ${Object(zn.b)(wi)} super(), this.textArea = t2, this._onFocus = this._register(new s.a()), this.onFocus = this._onFocus.event, this._onBlur = this._register(new s.a()), this.onBlur = this._onBlur.event, this._onKeyDown = this._register(new s.a()), this.onKeyDown = this._onKeyDown.event, this._onKeyUp = this._register(new s.a()), this.onKeyUp = this._onKeyUp.event, this._onCut = this._register(new s.a()), this.onCut = this._onCut.event, this._onPaste = this._register(new s.a()), this.onPaste = this._onPaste.event, this._onType = this._register(new s.a()), this.onType = this._onType.event, this._onCompositionStart = this._register(new s.a()), this.onCompositionStart = this._onCompositionStart.event, this._onCompositionUpdate = this._register(new s.a()), this.onCompositionUpdate = this._onCompositionUpdate.event, this._onCompositionEnd = this._register(new s.a()), this.onCompositionEnd = this._onCompositionEnd.event, this._onSelectionChangeRequest = this._register(new s.a()), this.onSelectionChangeRequest = this._onSelectionChangeRequest.event, this._host = e2, this._textArea = this._register(new _(t2)), this._asyncTriggerCut = this._register(new r.d(() => this._onCut.fire(), 0)), this._textAreaState = d.b.EMPTY, this._selectionChangeListener = null, this.writeScreenReaderContent("ctor"), this._hasFocus = false, this._isDoingComposition = false, this._nextCommand = 0; let n2 = null; this._register(o.n(t2.domNode, "keydown", (e3) => { - (109 === e3.keyCode || this._isDoingComposition && 1 === e3.keyCode) && e3.stopPropagation(), e3.equals(9) && e3.preventDefault(), n2 = e3, this._onKeyDown.fire(e3); + (e3.keyCode === 109 || this._isDoingComposition && e3.keyCode === 1) && e3.stopPropagation(), e3.equals(9) && e3.preventDefault(), n2 = e3, this._onKeyDown.fire(e3); })), this._register(o.n(t2.domNode, "keyup", (e3) => { this._onKeyUp.fire(e3); })), this._register(o.i(t2.domNode, "compositionstart", (e3) => { @@ -51321,7 +51321,7 @@ ${Object(zn.b)(wi)} return; this._isDoingComposition = true; let t3 = false; - l.f && n2 && n2.equals(109) && this._textAreaState.selectionStart === this._textAreaState.selectionEnd && this._textAreaState.selectionStart > 0 && this._textAreaState.value.substr(this._textAreaState.selectionStart - 1, 1) === e3.data && ("ArrowRight" !== n2.code && "ArrowLeft" !== n2.code || (t3 = true)), t3 ? this._textAreaState = new d.b(this._textAreaState.value, this._textAreaState.selectionStart - 1, this._textAreaState.selectionEnd, this._textAreaState.selectionStartPosition ? new h.a(this._textAreaState.selectionStartPosition.lineNumber, this._textAreaState.selectionStartPosition.column - 1) : null, this._textAreaState.selectionEndPosition) : i.f || this._setAndWriteTextAreaState("compositionstart", d.b.EMPTY), this._onCompositionStart.fire({moveOneCharacterLeft: t3}); + l.f && n2 && n2.equals(109) && this._textAreaState.selectionStart === this._textAreaState.selectionEnd && this._textAreaState.selectionStart > 0 && this._textAreaState.value.substr(this._textAreaState.selectionStart - 1, 1) === e3.data && (n2.code !== "ArrowRight" && n2.code !== "ArrowLeft" || (t3 = true)), t3 ? this._textAreaState = new d.b(this._textAreaState.value, this._textAreaState.selectionStart - 1, this._textAreaState.selectionEnd, this._textAreaState.selectionStartPosition ? new h.a(this._textAreaState.selectionStartPosition.lineNumber, this._textAreaState.selectionStartPosition.column - 1) : null, this._textAreaState.selectionEndPosition) : i.f || this._setAndWriteTextAreaState("compositionstart", d.b.EMPTY), this._onCompositionStart.fire({moveOneCharacterLeft: t3}); })); const a2 = (e3) => { const t3 = this._textAreaState, n3 = d.b.readFromTextArea(this._textArea); @@ -51329,7 +51329,7 @@ ${Object(zn.b)(wi)} }, u2 = (e3) => { const t3 = this._textAreaState, n3 = d.b.selectedText(e3); return [n3, {text: n3.value, replaceCharCnt: t3.selectionEnd - t3.selectionStart}]; - }, p2 = (e3) => !(!i.f || "ja" !== e3); + }, p2 = (e3) => !(!i.f || e3 !== "ja"); this._register(o.i(t2.domNode, "compositionupdate", (e3) => { if (p2(e3.locale)) { const [t4, n4] = a2(false); @@ -51352,7 +51352,7 @@ ${Object(zn.b)(wi)} if (this._textArea.setIgnoreSelectionChangeTime("received input event"), this._isDoingComposition) return; const [e3, t3] = a2(l.f); - 0 === t3.replaceCharCnt && 1 === t3.text.length && c.F(t3.text.charCodeAt(0)) || (this._textAreaState = e3, 0 === this._nextCommand ? "" !== t3.text && this._onType.fire(t3) : ("" === t3.text && 0 === t3.replaceCharCnt || this._firePaste(t3.text, null), this._nextCommand = 0)); + t3.replaceCharCnt === 0 && t3.text.length === 1 && c.F(t3.text.charCodeAt(0)) || (this._textAreaState = e3, this._nextCommand === 0 ? t3.text !== "" && this._onType.fire(t3) : (t3.text === "" && t3.replaceCharCnt === 0 || this._firePaste(t3.text, null), this._nextCommand = 0)); })), this._register(o.i(t2.domNode, "cut", (e3) => { this._textArea.setIgnoreSelectionChangeTime("received cut event"), this._ensureClipboardGetsEditorSelection(e3), this._asyncTriggerCut.schedule(); })), this._register(o.i(t2.domNode, "copy", (e3) => { @@ -51360,7 +51360,7 @@ ${Object(zn.b)(wi)} })), this._register(o.i(t2.domNode, "paste", (e3) => { if (this._textArea.setIgnoreSelectionChangeTime("received paste event"), b.canUseTextData(e3)) { const [t3, n3] = b.getTextData(e3); - "" !== t3 && this._firePaste(t3, n3); + t3 !== "" && this._firePaste(t3, n3); } else this._textArea.getSelectionStart() !== this._textArea.getSelectionEnd() && this._setAndWriteTextAreaState("paste", d.b.EMPTY), this._nextCommand = 1; })), this._register(o.i(t2.domNode, "focus", () => { @@ -51436,9 +51436,9 @@ ${Object(zn.b)(wi)} const t2 = e2.clipboardData.getData("text/plain"); let n2 = null; const i2 = e2.clipboardData.getData("vscode-editor-data"); - if ("string" == typeof i2) + if (typeof i2 == "string") try { - n2 = JSON.parse(i2), 1 !== n2.version && (n2 = null); + n2 = JSON.parse(i2), n2.version !== 1 && (n2 = null); } catch (e3) { } return [t2, n2]; @@ -51451,7 +51451,7 @@ ${Object(zn.b)(wi)} } static setTextData(e2, t2, n2, i2) { if (e2.clipboardData) - return e2.clipboardData.setData("text/plain", t2), "string" == typeof n2 && e2.clipboardData.setData("text/html", n2), e2.clipboardData.setData("vscode-editor-data", JSON.stringify(i2)), void e2.preventDefault(); + return e2.clipboardData.setData("text/plain", t2), typeof n2 == "string" && e2.clipboardData.setData("text/html", n2), e2.clipboardData.setData("vscode-editor-data", JSON.stringify(i2)), void e2.preventDefault(); if (window.clipboardData) return window.clipboardData.setData("Text", t2), void e2.preventDefault(); throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!"); @@ -51608,11 +51608,11 @@ ${Object(zn.b)(wi)} var a, l; !function(e2) { e2.isIWorkspace = function(e3) { - return !(!e3 || "object" != typeof e3 || "string" != typeof e3.id || !Array.isArray(e3.folders)); + return !(!e3 || typeof e3 != "object" || typeof e3.id != "string" || !Array.isArray(e3.folders)); }; }(a || (a = {})), function(e2) { e2.isIWorkspaceFolder = function(e3) { - return !(!e3 || "object" != typeof e3 || !i.a.isUri(e3.uri) || "string" != typeof e3.name || "function" != typeof e3.toResource); + return !(!e3 || typeof e3 != "object" || !i.a.isUri(e3.uri) || typeof e3.name != "string" || typeof e3.toResource != "function"); }; }(l || (l = {})); class c { @@ -51640,10 +51640,10 @@ ${Object(zn.b)(wi)} return this.rawScrollLeft === e2.rawScrollLeft && this.rawScrollTop === e2.rawScrollTop && this.width === e2.width && this.scrollWidth === e2.scrollWidth && this.scrollLeft === e2.scrollLeft && this.height === e2.height && this.scrollHeight === e2.scrollHeight && this.scrollTop === e2.scrollTop; } withScrollDimensions(e2, t2) { - return new r(void 0 !== e2.width ? e2.width : this.width, void 0 !== e2.scrollWidth ? e2.scrollWidth : this.scrollWidth, t2 ? this.rawScrollLeft : this.scrollLeft, void 0 !== e2.height ? e2.height : this.height, void 0 !== e2.scrollHeight ? e2.scrollHeight : this.scrollHeight, t2 ? this.rawScrollTop : this.scrollTop); + return new r(e2.width !== void 0 ? e2.width : this.width, e2.scrollWidth !== void 0 ? e2.scrollWidth : this.scrollWidth, t2 ? this.rawScrollLeft : this.scrollLeft, e2.height !== void 0 ? e2.height : this.height, e2.scrollHeight !== void 0 ? e2.scrollHeight : this.scrollHeight, t2 ? this.rawScrollTop : this.scrollTop); } withScrollPosition(e2) { - return new r(this.width, this.scrollWidth, void 0 !== e2.scrollLeft ? e2.scrollLeft : this.rawScrollLeft, this.height, this.scrollHeight, void 0 !== e2.scrollTop ? e2.scrollTop : this.rawScrollTop); + return new r(this.width, this.scrollWidth, e2.scrollLeft !== void 0 ? e2.scrollLeft : this.rawScrollLeft, this.height, this.scrollHeight, e2.scrollTop !== void 0 ? e2.scrollTop : this.rawScrollTop); } createScrollEvent(e2) { const t2 = this.width !== e2.width, n2 = this.scrollWidth !== e2.scrollWidth, i2 = this.scrollLeft !== e2.scrollLeft, o2 = this.height !== e2.height, r2 = this.scrollHeight !== e2.scrollHeight, s2 = this.scrollTop !== e2.scrollTop; @@ -51681,10 +51681,10 @@ ${Object(zn.b)(wi)} this._smoothScrolling && (this._smoothScrolling.dispose(), this._smoothScrolling = null), this._setState(t2); } setScrollPositionSmooth(e2) { - if (0 === this._smoothScrollDuration) + if (this._smoothScrollDuration === 0) return this.setScrollPositionNow(e2); if (this._smoothScrolling) { - e2 = {scrollLeft: void 0 === e2.scrollLeft ? this._smoothScrolling.to.scrollLeft : e2.scrollLeft, scrollTop: void 0 === e2.scrollTop ? this._smoothScrolling.to.scrollTop : e2.scrollTop}; + e2 = {scrollLeft: e2.scrollLeft === void 0 ? this._smoothScrolling.to.scrollLeft : e2.scrollLeft, scrollTop: e2.scrollTop === void 0 ? this._smoothScrolling.to.scrollTop : e2.scrollTop}; const t2 = this._state.withScrollPosition(e2); if (this._smoothScrolling.to.scrollLeft === t2.scrollLeft && this._smoothScrolling.to.scrollTop === t2.scrollTop) return; @@ -51742,7 +51742,7 @@ ${Object(zn.b)(wi)} return l(e2, t2); } dispose() { - null !== this.animationFrameDisposable && (this.animationFrameDisposable.dispose(), this.animationFrameDisposable = null); + this.animationFrameDisposable !== null && (this.animationFrameDisposable.dispose(), this.animationFrameDisposable = null); } acceptScrollDimensions(e2) { this.to = e2.withScrollPosition(this.to), this._initAnimations(); @@ -51808,11 +51808,11 @@ ${Object(zn.b)(wi)} constructor(e2, t2) { super(), this.domNode = this._register(new l(i.p(e2, i.a(".monaco-icon-label")))); const n2 = i.p(this.domNode.element, i.a(".monaco-icon-label-container")), r2 = i.p(n2, i.a("span.monaco-icon-name-container")); - this.descriptionContainer = this._register(new l(i.p(n2, i.a("span.monaco-icon-description-container")))), (null == t2 ? void 0 : t2.supportHighlights) ? this.nameNode = new h(r2, !!t2.supportCodicons) : this.nameNode = new d(r2), (null == t2 ? void 0 : t2.supportDescriptionHighlights) ? this.descriptionNodeFactory = () => new o.a(i.p(this.descriptionContainer.element, i.a("span.label-description")), !!t2.supportCodicons) : this.descriptionNodeFactory = () => this._register(new l(i.p(this.descriptionContainer.element, i.a("span.label-description")))); + this.descriptionContainer = this._register(new l(i.p(n2, i.a("span.monaco-icon-description-container")))), (t2 == null ? void 0 : t2.supportHighlights) ? this.nameNode = new h(r2, !!t2.supportCodicons) : this.nameNode = new d(r2), (t2 == null ? void 0 : t2.supportDescriptionHighlights) ? this.descriptionNodeFactory = () => new o.a(i.p(this.descriptionContainer.element, i.a("span.label-description")), !!t2.supportCodicons) : this.descriptionNodeFactory = () => this._register(new l(i.p(this.descriptionContainer.element, i.a("span.label-description")))); } setLabel(e2, t2, n2) { const i2 = ["monaco-icon-label"]; - n2 && (n2.extraClasses && i2.push(...n2.extraClasses), n2.italic && i2.push("italic"), n2.strikethrough && i2.push("strikethrough")), this.domNode.className = i2.join(" "), this.domNode.title = (null == n2 ? void 0 : n2.title) || "", this.nameNode.setLabel(e2, n2), (t2 || this.descriptionNode) && (this.descriptionNode || (this.descriptionNode = this.descriptionNodeFactory()), this.descriptionNode instanceof o.a ? (this.descriptionNode.set(t2 || "", n2 ? n2.descriptionMatches : void 0), (null == n2 ? void 0 : n2.descriptionTitle) ? this.descriptionNode.element.title = n2.descriptionTitle : this.descriptionNode.element.removeAttribute("title")) : (this.descriptionNode.textContent = t2 || "", this.descriptionNode.title = (null == n2 ? void 0 : n2.descriptionTitle) || "", this.descriptionNode.empty = !t2)); + n2 && (n2.extraClasses && i2.push(...n2.extraClasses), n2.italic && i2.push("italic"), n2.strikethrough && i2.push("strikethrough")), this.domNode.className = i2.join(" "), this.domNode.title = (n2 == null ? void 0 : n2.title) || "", this.nameNode.setLabel(e2, n2), (t2 || this.descriptionNode) && (this.descriptionNode || (this.descriptionNode = this.descriptionNodeFactory()), this.descriptionNode instanceof o.a ? (this.descriptionNode.set(t2 || "", n2 ? n2.descriptionMatches : void 0), (n2 == null ? void 0 : n2.descriptionTitle) ? this.descriptionNode.element.title = n2.descriptionTitle : this.descriptionNode.element.removeAttribute("title")) : (this.descriptionNode.textContent = t2 || "", this.descriptionNode.title = (n2 == null ? void 0 : n2.descriptionTitle) || "", this.descriptionNode.empty = !t2)); } } class d { @@ -51821,13 +51821,13 @@ ${Object(zn.b)(wi)} } setLabel(e2, t2) { if (this.label !== e2 || !Object(a.e)(this.options, t2)) - if (this.label = e2, this.options = t2, "string" == typeof e2) - this.singleLabel || (this.container.innerText = "", i.Q(this.container, "multiple"), this.singleLabel = i.p(this.container, i.a("a.label-name", {id: null == t2 ? void 0 : t2.domId}))), this.singleLabel.textContent = e2; + if (this.label = e2, this.options = t2, typeof e2 == "string") + this.singleLabel || (this.container.innerText = "", i.Q(this.container, "multiple"), this.singleLabel = i.p(this.container, i.a("a.label-name", {id: t2 == null ? void 0 : t2.domId}))), this.singleLabel.textContent = e2; else { this.container.innerText = "", i.e(this.container, "multiple"), this.singleLabel = void 0; for (let n2 = 0; n2 < e2.length; n2++) { - const o2 = e2[n2], r2 = (null == t2 ? void 0 : t2.domId) && `${null == t2 ? void 0 : t2.domId}_${n2}`; - i.p(this.container, i.a("a.label-name", {id: r2, "data-icon-label-count": e2.length, "data-icon-label-index": n2, role: "treeitem"}, o2)), n2 < e2.length - 1 && i.p(this.container, i.a("span.label-separator", void 0, (null == t2 ? void 0 : t2.separator) || "/")); + const o2 = e2[n2], r2 = (t2 == null ? void 0 : t2.domId) && `${t2 == null ? void 0 : t2.domId}_${n2}`; + i.p(this.container, i.a("a.label-name", {id: r2, "data-icon-label-count": e2.length, "data-icon-label-index": n2, role: "treeitem"}, o2)), n2 < e2.length - 1 && i.p(this.container, i.a("span.label-separator", void 0, (t2 == null ? void 0 : t2.separator) || "/")); } } } @@ -51838,11 +51838,11 @@ ${Object(zn.b)(wi)} } setLabel(e2, t2) { if (this.label !== e2 || !Object(a.e)(this.options, t2)) - if (this.label = e2, this.options = t2, "string" == typeof e2) - this.singleLabel || (this.container.innerText = "", i.Q(this.container, "multiple"), this.singleLabel = new o.a(i.p(this.container, i.a("a.label-name", {id: null == t2 ? void 0 : t2.domId})), this.supportCodicons)), this.singleLabel.set(e2, null == t2 ? void 0 : t2.matches, null == t2 ? void 0 : t2.title, null == t2 ? void 0 : t2.labelEscapeNewLines); + if (this.label = e2, this.options = t2, typeof e2 == "string") + this.singleLabel || (this.container.innerText = "", i.Q(this.container, "multiple"), this.singleLabel = new o.a(i.p(this.container, i.a("a.label-name", {id: t2 == null ? void 0 : t2.domId})), this.supportCodicons)), this.singleLabel.set(e2, t2 == null ? void 0 : t2.matches, t2 == null ? void 0 : t2.title, t2 == null ? void 0 : t2.labelEscapeNewLines); else { this.container.innerText = "", i.e(this.container, "multiple"), this.singleLabel = void 0; - const n2 = (null == t2 ? void 0 : t2.separator) || "/", r2 = function(e3, t3, n3) { + const n2 = (t2 == null ? void 0 : t2.separator) || "/", r2 = function(e3, t3, n3) { if (!n3) return; let i2 = 0; @@ -51850,10 +51850,10 @@ ${Object(zn.b)(wi)} const o2 = {start: i2, end: i2 + e4.length}, r3 = n3.map((e5) => s.a.intersect(o2, e5)).filter((e5) => !s.a.isEmpty(e5)).map(({start: e5, end: t4}) => ({start: e5 - i2, end: t4 - i2})); return i2 = o2.end + t3.length, r3; }); - }(e2, n2, null == t2 ? void 0 : t2.matches); + }(e2, n2, t2 == null ? void 0 : t2.matches); for (let s2 = 0; s2 < e2.length; s2++) { - const a2 = e2[s2], l2 = r2 ? r2[s2] : void 0, c2 = (null == t2 ? void 0 : t2.domId) && `${null == t2 ? void 0 : t2.domId}_${s2}`, d2 = i.a("a.label-name", {id: c2, "data-icon-label-count": e2.length, "data-icon-label-index": s2, role: "treeitem"}); - new o.a(i.p(this.container, d2), this.supportCodicons).set(a2, l2, null == t2 ? void 0 : t2.title, null == t2 ? void 0 : t2.labelEscapeNewLines), s2 < e2.length - 1 && i.p(d2, i.a("span.label-separator", void 0, n2)); + const a2 = e2[s2], l2 = r2 ? r2[s2] : void 0, c2 = (t2 == null ? void 0 : t2.domId) && `${t2 == null ? void 0 : t2.domId}_${s2}`, d2 = i.a("a.label-name", {id: c2, "data-icon-label-count": e2.length, "data-icon-label-index": s2, role: "treeitem"}); + new o.a(i.p(this.container, d2), this.supportCodicons).set(a2, l2, t2 == null ? void 0 : t2.title, t2 == null ? void 0 : t2.labelEscapeNewLines), s2 < e2.length - 1 && i.p(d2, i.a("span.label-separator", void 0, n2)); } } } @@ -51898,7 +51898,7 @@ ${Object(zn.b)(wi)} return this._currentPosition() !== this._elements.length - 1 ? this._navigator.next() : null; } previous() { - return 0 !== this._currentPosition() ? this._navigator.previous() : null; + return this._currentPosition() !== 0 ? this._navigator.previous() : null; } current() { return this._navigator.current(); @@ -51942,10 +51942,10 @@ ${Object(zn.b)(wi)} super(), this.state = "idle", this.maxHeight = Number.POSITIVE_INFINITY, this._onDidChange = this._register(new l.a()), this.onDidChange = this._onDidChange.event, this._onDidHeightChange = this._register(new l.a()), this.onDidHeightChange = this._onDidHeightChange.event, this.contextViewProvider = t2, this.options = n2 || Object.create(null), Object(h.g)(this.options, b, false), this.message = null, this.placeholder = this.options.placeholder || "", this.ariaLabel = this.options.ariaLabel || "", this.inputBackground = this.options.inputBackground, this.inputForeground = this.options.inputForeground, this.inputBorder = this.options.inputBorder, this.inputValidationInfoBorder = this.options.inputValidationInfoBorder, this.inputValidationInfoBackground = this.options.inputValidationInfoBackground, this.inputValidationInfoForeground = this.options.inputValidationInfoForeground, this.inputValidationWarningBorder = this.options.inputValidationWarningBorder, this.inputValidationWarningBackground = this.options.inputValidationWarningBackground, this.inputValidationWarningForeground = this.options.inputValidationWarningForeground, this.inputValidationErrorBorder = this.options.inputValidationErrorBorder, this.inputValidationErrorBackground = this.options.inputValidationErrorBackground, this.inputValidationErrorForeground = this.options.inputValidationErrorForeground, this.options.validationOptions && (this.validation = this.options.validationOptions.validation), this.element = o.p(e2, f(".monaco-inputbox.idle")); let i2 = this.options.flexibleHeight ? "textarea" : "input", r2 = o.p(this.element, f(".wrapper")); if (this.input = o.p(r2, f(i2 + ".input.empty")), this.input.setAttribute("autocorrect", "off"), this.input.setAttribute("autocapitalize", "off"), this.input.setAttribute("spellcheck", "false"), this.onfocus(this.input, () => this.element.classList.add("synthetic-focus")), this.onblur(this.input, () => this.element.classList.remove("synthetic-focus")), this.options.flexibleHeight) { - this.maxHeight = "number" == typeof this.options.flexibleMaxHeight ? this.options.flexibleMaxHeight : Number.POSITIVE_INFINITY, this.mirror = o.p(r2, f("div.mirror")), this.mirror.innerText = " ", this.scrollableElement = new m.b(this.element, {vertical: 1}), this.options.flexibleWidth && (this.input.setAttribute("wrap", "off"), this.mirror.style.whiteSpace = "pre", this.mirror.style.wordWrap = "initial"), o.p(e2, this.scrollableElement.getDomNode()), this._register(this.scrollableElement), this._register(this.scrollableElement.onScroll((e3) => this.input.scrollTop = e3.scrollTop)); + this.maxHeight = typeof this.options.flexibleMaxHeight == "number" ? this.options.flexibleMaxHeight : Number.POSITIVE_INFINITY, this.mirror = o.p(r2, f("div.mirror")), this.mirror.innerText = "\xA0", this.scrollableElement = new m.b(this.element, {vertical: 1}), this.options.flexibleWidth && (this.input.setAttribute("wrap", "off"), this.mirror.style.whiteSpace = "pre", this.mirror.style.wordWrap = "initial"), o.p(e2, this.scrollableElement.getDomNode()), this._register(this.scrollableElement), this._register(this.scrollableElement.onScroll((e3) => this.input.scrollTop = e3.scrollTop)); const t3 = l.b.filter(Object(g.a)(document, "selectionchange"), () => { const e3 = document.getSelection(); - return (null == e3 ? void 0 : e3.anchorNode) === r2; + return (e3 == null ? void 0 : e3.anchorNode) === r2; }); this._register(t3(this.updateScrollDimensions, this)), this._register(this.onDidHeightChange(this.updateScrollDimensions, this)); } else @@ -51977,7 +51977,7 @@ ${Object(zn.b)(wi)} this.input.value !== e2 && (this.input.value = e2, this.onValueChange()); } get height() { - return "number" == typeof this.cachedHeight ? this.cachedHeight : o.G(this.element); + return typeof this.cachedHeight == "number" ? this.cachedHeight : o.G(this.element); } focus() { this.input.focus(); @@ -52018,7 +52018,7 @@ ${Object(zn.b)(wi)} this.options.flexibleHeight && this.options.flexibleWidth ? this.input.style.width = `calc(100% - ${e2}px)` : this.input.style.paddingRight = e2 + "px", this.mirror && (this.mirror.style.paddingRight = e2 + "px"); } updateScrollDimensions() { - if ("number" != typeof this.cachedContentHeight || "number" != typeof this.cachedHeight || !this.scrollableElement) + if (typeof this.cachedContentHeight != "number" || typeof this.cachedHeight != "number" || !this.scrollableElement) return; const e2 = this.cachedContentHeight, t2 = this.cachedHeight, n2 = this.input.scrollTop; this.scrollableElement.setScrollDimensions({scrollHeight: e2, height: t2}), this.scrollableElement.setScrollPosition({scrollTop: n2}); @@ -52069,19 +52069,19 @@ ${Object(zn.b)(wi)} return s2.style.backgroundColor = a2.background ? a2.background.toString() : "", s2.style.color = a2.foreground ? a2.foreground.toString() : "", s2.style.border = a2.border ? "1px solid " + a2.border : "", o.p(e2, s2), null; }, onHide: () => { this.state = "closed"; - }, layout: n2}), t2 = 3 === this.message.type ? i.a("alertErrorMessage", "Error: {0}", this.message.content) : 2 === this.message.type ? i.a("alertWarningMessage", "Warning: {0}", this.message.content) : i.a("alertInfoMessage", "Info: {0}", this.message.content), s.a(t2), this.state = "open"; + }, layout: n2}), t2 = this.message.type === 3 ? i.a("alertErrorMessage", "Error: {0}", this.message.content) : this.message.type === 2 ? i.a("alertWarningMessage", "Warning: {0}", this.message.content) : i.a("alertInfoMessage", "Info: {0}", this.message.content), s.a(t2), this.state = "open"; } _hideMessage() { - this.contextViewProvider && ("open" === this.state && this.contextViewProvider.hideContextView(), this.state = "idle"); + this.contextViewProvider && (this.state === "open" && this.contextViewProvider.hideContextView(), this.state = "idle"); } onValueChange() { - this._onDidChange.fire(this.value), this.validate(), this.updateMirror(), this.input.classList.toggle("empty", !this.value), "open" === this.state && this.contextViewProvider && this.contextViewProvider.layout(); + this._onDidChange.fire(this.value), this.validate(), this.updateMirror(), this.input.classList.toggle("empty", !this.value), this.state === "open" && this.contextViewProvider && this.contextViewProvider.layout(); } updateMirror() { if (!this.mirror) return; - const e2 = this.value, t2 = 10 === e2.charCodeAt(e2.length - 1) ? " " : ""; - e2 + t2 ? this.mirror.textContent = e2 + t2 : this.mirror.innerText = " ", this.layout(); + const e2 = this.value, t2 = e2.charCodeAt(e2.length - 1) === 10 ? " " : ""; + e2 + t2 ? this.mirror.textContent = e2 + t2 : this.mirror.innerText = "\xA0", this.layout(); } style(e2) { this.inputBackground = e2.inputBackground, this.inputForeground = e2.inputForeground, this.inputBorder = e2.inputBorder, this.inputValidationInfoBackground = e2.inputValidationInfoBackground, this.inputValidationInfoForeground = e2.inputValidationInfoForeground, this.inputValidationInfoBorder = e2.inputValidationInfoBorder, this.inputValidationWarningBackground = e2.inputValidationWarningBackground, this.inputValidationWarningForeground = e2.inputValidationWarningForeground, this.inputValidationWarningBorder = e2.inputValidationWarningBorder, this.inputValidationErrorBackground = e2.inputValidationErrorBackground, this.inputValidationErrorForeground = e2.inputValidationErrorForeground, this.inputValidationErrorBorder = e2.inputValidationErrorBorder, this.applyStyles(); @@ -52098,7 +52098,7 @@ ${Object(zn.b)(wi)} } insertAtCursor(e2) { const t2 = this.inputElement, n2 = t2.selectionStart, i2 = t2.selectionEnd, o2 = t2.value; - null !== n2 && null !== i2 && (this.value = o2.substr(0, n2) + e2 + o2.substr(i2), t2.setSelectionRange(n2 + 1, n2 + 1), this.layout()); + n2 !== null && i2 !== null && (this.value = o2.substr(0, n2) + e2 + o2.substr(i2), t2.setSelectionRange(n2 + 1, n2 + 1), this.layout()); } dispose() { this._hideMessage(), this.message = null, this.actionbar && this.actionbar.dispose(), super.dispose(); @@ -52268,7 +52268,7 @@ ${Object(zn.b)(wi)} } } function u(e2) { - return "\n" === e2.getEOL() ? 0 : 1; + return e2.getEOL() === "\n" ? 0 : 1; } function p(e2) { return !!e2 && (e2 instanceof h || e2 instanceof class { @@ -52376,18 +52376,18 @@ ${Object(zn.b)(wi)} function n2() { this.constructor = e3; } - i(e3, t2), e3.prototype = null === t2 ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); + i(e3, t2), e3.prototype = t2 === null ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); }); - if ("object" == typeof e2) - r = "win32" === e2.platform; - else if ("object" == typeof navigator) { + if (typeof e2 == "object") + r = e2.platform === "win32"; + else if (typeof navigator == "object") { var a = navigator.userAgent; r = a.indexOf("Windows") >= 0; } var l = /^\w[\w\d+.-]*$/, c = /^\//, d = /^\/\//; var h = "/", u = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/, p = function() { function e3(e4, t2, n2, i2, o2, r2) { - void 0 === r2 && (r2 = false), "object" == typeof e4 ? (this.scheme = e4.scheme || "", this.authority = e4.authority || "", this.path = e4.path || "", this.query = e4.query || "", this.fragment = e4.fragment || "") : (this.scheme = function(e5, t3) { + r2 === void 0 && (r2 = false), typeof e4 == "object" ? (this.scheme = e4.scheme || "", this.authority = e4.authority || "", this.path = e4.path || "", this.query = e4.query || "", this.fragment = e4.fragment || "") : (this.scheme = function(e5, t3) { return e5 || t3 ? e5 : "file"; }(e4, r2), this.authority = t2 || "", this.path = function(e5, t3) { switch (e5) { @@ -52412,29 +52412,29 @@ ${Object(zn.b)(wi)} }(this, r2)); } return e3.isUri = function(t2) { - return t2 instanceof e3 || !!t2 && ("string" == typeof t2.authority && "string" == typeof t2.fragment && "string" == typeof t2.path && "string" == typeof t2.query && "string" == typeof t2.scheme && "function" == typeof t2.fsPath && "function" == typeof t2.with && "function" == typeof t2.toString); + return t2 instanceof e3 || !!t2 && (typeof t2.authority == "string" && typeof t2.fragment == "string" && typeof t2.path == "string" && typeof t2.query == "string" && typeof t2.scheme == "string" && typeof t2.fsPath == "function" && typeof t2.with == "function" && typeof t2.toString == "function"); }, Object.defineProperty(e3.prototype, "fsPath", {get: function() { return v(this, false); }, enumerable: true, configurable: true}), e3.prototype.with = function(e4) { if (!e4) return this; var t2 = e4.scheme, n2 = e4.authority, i2 = e4.path, o2 = e4.query, r2 = e4.fragment; - return void 0 === t2 ? t2 = this.scheme : null === t2 && (t2 = ""), void 0 === n2 ? n2 = this.authority : null === n2 && (n2 = ""), void 0 === i2 ? i2 = this.path : null === i2 && (i2 = ""), void 0 === o2 ? o2 = this.query : null === o2 && (o2 = ""), void 0 === r2 ? r2 = this.fragment : null === r2 && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new g(t2, n2, i2, o2, r2); + return t2 === void 0 ? t2 = this.scheme : t2 === null && (t2 = ""), n2 === void 0 ? n2 = this.authority : n2 === null && (n2 = ""), i2 === void 0 ? i2 = this.path : i2 === null && (i2 = ""), o2 === void 0 ? o2 = this.query : o2 === null && (o2 = ""), r2 === void 0 ? r2 = this.fragment : r2 === null && (r2 = ""), t2 === this.scheme && n2 === this.authority && i2 === this.path && o2 === this.query && r2 === this.fragment ? this : new g(t2, n2, i2, o2, r2); }, e3.parse = function(e4, t2) { - void 0 === t2 && (t2 = false); + t2 === void 0 && (t2 = false); var n2 = u.exec(e4); return n2 ? new g(n2[2] || "", C(n2[4] || ""), C(n2[5] || ""), C(n2[7] || ""), C(n2[9] || ""), t2) : new g("", "", "", "", ""); }, e3.file = function(e4) { var t2 = ""; if (r && (e4 = e4.replace(/\\/g, h)), e4[0] === h && e4[1] === h) { var n2 = e4.indexOf(h, 2); - -1 === n2 ? (t2 = e4.substring(2), e4 = h) : (t2 = e4.substring(2, n2), e4 = e4.substring(n2) || h); + n2 === -1 ? (t2 = e4.substring(2), e4 = h) : (t2 = e4.substring(2, n2), e4 = e4.substring(n2) || h); } return new g("file", t2, e4, "", ""); }, e3.from = function(e4) { return new g(e4.scheme, e4.authority, e4.path, e4.query, e4.fragment); }, e3.prototype.toString = function(e4) { - return void 0 === e4 && (e4 = false), w(this, e4); + return e4 === void 0 && (e4 = false), w(this, e4); }, e3.prototype.toJSON = function() { return this; }, e3.revive = function(t2) { @@ -52448,13 +52448,13 @@ ${Object(zn.b)(wi)} }, e3; }(), m = r ? 1 : void 0, g = function(e3) { function t2() { - var t3 = null !== e3 && e3.apply(this, arguments) || this; + var t3 = e3 !== null && e3.apply(this, arguments) || this; return t3._formatted = null, t3._fsPath = null, t3; } return s(t2, e3), Object.defineProperty(t2.prototype, "fsPath", {get: function() { return this._fsPath || (this._fsPath = v(this, false)), this._fsPath; }, enumerable: true, configurable: true}), t2.prototype.toString = function(e4) { - return void 0 === e4 && (e4 = false), e4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted); + return e4 === void 0 && (e4 = false), e4 ? w(this, true) : (this._formatted || (this._formatted = w(this, false)), this._formatted); }, t2.prototype.toJSON = function() { var e4 = {$mid: 1}; return this._fsPath && (e4.fsPath = this._fsPath, e4._sep = m), this._formatted && (e4.external = this._formatted), this.path && (e4.path = this.path), this.scheme && (e4.scheme = this.scheme), this.authority && (e4.authority = this.authority), this.query && (e4.query = this.query), this.fragment && (e4.fragment = this.fragment), e4; @@ -52463,41 +52463,41 @@ ${Object(zn.b)(wi)} function b(e3, t2) { for (var n2 = void 0, i2 = -1, o2 = 0; o2 < e3.length; o2++) { var r2 = e3.charCodeAt(o2); - if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || 45 === r2 || 46 === r2 || 95 === r2 || 126 === r2 || t2 && 47 === r2) - -1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += e3.charAt(o2)); + if (r2 >= 97 && r2 <= 122 || r2 >= 65 && r2 <= 90 || r2 >= 48 && r2 <= 57 || r2 === 45 || r2 === 46 || r2 === 95 || r2 === 126 || t2 && r2 === 47) + i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 !== void 0 && (n2 += e3.charAt(o2)); else { - void 0 === n2 && (n2 = e3.substr(0, o2)); + n2 === void 0 && (n2 = e3.substr(0, o2)); var s2 = f[r2]; - void 0 !== s2 ? (-1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 += s2) : -1 === i2 && (i2 = o2); + s2 !== void 0 ? (i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2, o2)), i2 = -1), n2 += s2) : i2 === -1 && (i2 = o2); } } - return -1 !== i2 && (n2 += encodeURIComponent(e3.substring(i2))), void 0 !== n2 ? n2 : e3; + return i2 !== -1 && (n2 += encodeURIComponent(e3.substring(i2))), n2 !== void 0 ? n2 : e3; } function _(e3) { for (var t2 = void 0, n2 = 0; n2 < e3.length; n2++) { var i2 = e3.charCodeAt(n2); - 35 === i2 || 63 === i2 ? (void 0 === t2 && (t2 = e3.substr(0, n2)), t2 += f[i2]) : void 0 !== t2 && (t2 += e3[n2]); + i2 === 35 || i2 === 63 ? (t2 === void 0 && (t2 = e3.substr(0, n2)), t2 += f[i2]) : t2 !== void 0 && (t2 += e3[n2]); } - return void 0 !== t2 ? t2 : e3; + return t2 !== void 0 ? t2 : e3; } function v(e3, t2) { var n2; - return n2 = e3.authority && e3.path.length > 1 && "file" === e3.scheme ? "//" + e3.authority + e3.path : 47 === e3.path.charCodeAt(0) && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && 58 === e3.path.charCodeAt(2) ? t2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, r && (n2 = n2.replace(/\//g, "\\")), n2; + return n2 = e3.authority && e3.path.length > 1 && e3.scheme === "file" ? "//" + e3.authority + e3.path : e3.path.charCodeAt(0) === 47 && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && e3.path.charCodeAt(2) === 58 ? t2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, r && (n2 = n2.replace(/\//g, "\\")), n2; } function w(e3, t2) { var n2 = t2 ? _ : b, i2 = "", o2 = e3.scheme, r2 = e3.authority, s2 = e3.path, a2 = e3.query, l2 = e3.fragment; - if (o2 && (i2 += o2, i2 += ":"), (r2 || "file" === o2) && (i2 += h, i2 += h), r2) { + if (o2 && (i2 += o2, i2 += ":"), (r2 || o2 === "file") && (i2 += h, i2 += h), r2) { var c2 = r2.indexOf("@"); - if (-1 !== c2) { + if (c2 !== -1) { var d2 = r2.substr(0, c2); - r2 = r2.substr(c2 + 1), -1 === (c2 = d2.indexOf(":")) ? i2 += n2(d2, false) : (i2 += n2(d2.substr(0, c2), false), i2 += ":", i2 += n2(d2.substr(c2 + 1), false)), i2 += "@"; + r2 = r2.substr(c2 + 1), (c2 = d2.indexOf(":")) === -1 ? i2 += n2(d2, false) : (i2 += n2(d2.substr(0, c2), false), i2 += ":", i2 += n2(d2.substr(c2 + 1), false)), i2 += "@"; } - -1 === (c2 = (r2 = r2.toLowerCase()).indexOf(":")) ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, c2), false), i2 += r2.substr(c2)); + (c2 = (r2 = r2.toLowerCase()).indexOf(":")) === -1 ? i2 += n2(r2, false) : (i2 += n2(r2.substr(0, c2), false), i2 += r2.substr(c2)); } if (s2) { - if (s2.length >= 3 && 47 === s2.charCodeAt(0) && 58 === s2.charCodeAt(2)) + if (s2.length >= 3 && s2.charCodeAt(0) === 47 && s2.charCodeAt(2) === 58) (u2 = s2.charCodeAt(1)) >= 65 && u2 <= 90 && (s2 = "/" + String.fromCharCode(u2 + 32) + ":" + s2.substr(3)); - else if (s2.length >= 2 && 58 === s2.charCodeAt(1)) { + else if (s2.length >= 2 && s2.charCodeAt(1) === 58) { var u2; (u2 = s2.charCodeAt(0)) >= 65 && u2 <= 90 && (s2 = String.fromCharCode(u2 + 32) + ":" + s2.substr(2)); } @@ -52529,7 +52529,7 @@ ${Object(zn.b)(wi)} return null; try { let t2 = e2.location, n2 = e2.parent.location; - if ("null" !== t2.origin && "null" !== n2.origin && (t2.protocol !== n2.protocol || t2.hostname !== n2.hostname || t2.port !== n2.port)) + if (t2.origin !== "null" && n2.origin !== "null" && (t2.protocol !== n2.protocol || t2.hostname !== n2.hostname || t2.port !== n2.port)) return i = true, null; } catch (e3) { return i = true, null; @@ -52576,7 +52576,7 @@ ${Object(zn.b)(wi)} return t2 = function e3(t3, n2 = 0) { if (!t3 || n2 > 200) return t3; - if ("object" == typeof t3) { + if (typeof t3 == "object") { switch (t3.$mid) { case 1: return o.a.revive(t3); @@ -52621,7 +52621,7 @@ ${Object(zn.b)(wi)} let n3 = t2.length; return t2.charAt(t2.length - 1) === r2 && n3--, e2.charAt(n3) === r2; } - return t2.charAt(t2.length - 1) !== r2 && (t2 += r2), 0 === e2.indexOf(t2); + return t2.charAt(t2.length - 1) !== r2 && (t2 += r2), e2.indexOf(t2) === 0; } }, function(e, t, n) { "use strict"; @@ -52648,7 +52648,7 @@ ${Object(zn.b)(wi)} return this.newPosition + this.newText.length; } toString() { - return 0 === this.oldText.length ? `(insert@${this.oldPosition} "${this.newText}")` : 0 === this.newText.length ? `(delete@${this.oldPosition} "${this.oldText}")` : `(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`; + return this.oldText.length === 0 ? `(insert@${this.oldPosition} "${this.newText}")` : this.newText.length === 0 ? `(delete@${this.oldPosition} "${this.oldText}")` : `(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`; } static _writeStringSize(e2) { return 4 + 2 * e2.length; @@ -52682,7 +52682,7 @@ ${Object(zn.b)(wi)} } } function s(e2, t2) { - if (null === e2 || 0 === e2.length) + if (e2 === null || e2.length === 0) return t2; return new a(e2, t2).compress(); } @@ -52693,11 +52693,11 @@ ${Object(zn.b)(wi)} compress() { let e2 = 0, t2 = 0, n2 = this._getPrev(e2), i2 = this._getCurr(t2); for (; e2 < this._prevLen || t2 < this._currLen; ) { - if (null === n2) { + if (n2 === null) { this._acceptCurr(i2), i2 = this._getCurr(++t2); continue; } - if (null === i2) { + if (i2 === null) { this._acceptPrev(n2), n2 = this._getPrev(++e2); continue; } @@ -52761,7 +52761,7 @@ ${Object(zn.b)(wi)} return [new r(e2.oldPosition, n2, e2.newPosition, e2.newText), new r(e2.oldPosition + t2, i2, e2.newEnd, "")]; } static _merge(e2) { - if (0 === e2.length) + if (e2.length === 0) return e2; let t2 = [], n2 = 0, i2 = e2[0]; for (let o2 = 1; o2 < e2.length; o2++) { @@ -52771,7 +52771,7 @@ ${Object(zn.b)(wi)} return t2[n2++] = i2, t2; } static _removeNoOps(e2) { - if (0 === e2.length) + if (e2.length === 0) return e2; let t2 = [], n2 = 0; for (let i2 = 0; i2 < e2.length; i2++) { @@ -52789,7 +52789,7 @@ ${Object(zn.b)(wi)} var i = n(8), o = n(62), r = n(22), s = n(81), a = n(3); class l { static deleteRight(e2, t2, n2, i2) { - let r2 = [], l2 = 3 !== e2; + let r2 = [], l2 = e2 !== 3; for (let e3 = 0, c = i2.length; e3 < c; e3++) { const c2 = i2[e3]; let d = c2; @@ -52802,7 +52802,7 @@ ${Object(zn.b)(wi)} return [l2, r2]; } static _isAutoClosingPairDelete(e2, t2, n2) { - if ("never" === e2.autoClosingBrackets && "never" === e2.autoClosingQuotes) + if (e2.autoClosingBrackets === "never" && e2.autoClosingQuotes === "never") return false; for (let i2 = 0, o2 = n2.length; i2 < o2; i2++) { const o3 = n2[i2], s2 = o3.getPosition(); @@ -52812,9 +52812,9 @@ ${Object(zn.b)(wi)} if (!c) return false; if (Object(r.g)(l2)) { - if ("never" === e2.autoClosingQuotes) + if (e2.autoClosingQuotes === "never") return false; - } else if ("never" === e2.autoClosingBrackets) + } else if (e2.autoClosingBrackets === "never") return false; const d = a2[s2.column - 1]; let h = false; @@ -52836,14 +52836,14 @@ ${Object(zn.b)(wi)} static deleteLeft(e2, t2, n2, l2) { if (this._isAutoClosingPairDelete(t2, n2, l2)) return this._runAutoClosingPairDelete(t2, n2, l2); - let c = [], d = 2 !== e2; + let c = [], d = e2 !== 2; for (let e3 = 0, h = l2.length; e3 < h; e3++) { const h2 = l2[e3]; let u = h2; if (u.isEmpty()) { let e4 = h2.getPosition(); if (t2.useTabStops && e4.column > 1) { - let o2 = n2.getLineContent(e4.lineNumber), s2 = i.w(o2), l3 = -1 === s2 ? o2.length + 1 : s2 + 1; + let o2 = n2.getLineContent(e4.lineNumber), s2 = i.w(o2), l3 = s2 === -1 ? o2.length + 1 : s2 + 1; if (e4.column <= l3) { let i2 = r.a.visibleColumnFromColumn2(t2, n2, e4), o3 = r.a.prevIndentTabStop(i2, t2.indentSize), s3 = r.a.columnFromVisibleColumn2(t2, n2, e4.lineNumber, o3); u = new a.a(e4.lineNumber, s3, e4.lineNumber, e4.column); @@ -52934,7 +52934,7 @@ ${Object(zn.b)(wi)} case 8232: case 8233: case 133: - u += "�"; + u += "\uFFFD"; break; case 13: u += "​"; @@ -52961,8 +52961,8 @@ ${Object(zn.b)(wi)} return L; }); var i = n(6), o = n(2), r = n(11), s = n(13), a = n(26), l = n(30), c = n(12), d = n(146), h = n(152), u = n(54), p = n(20), m = n(25), g = n(19), f = n(102), b = n(150), _ = n(89), v = n(175), w = n(184), y = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -52997,32 +52997,32 @@ ${Object(zn.b)(wi)} } static _readModelOptions(e3, t2) { let n2 = a.d.tabSize; - if (e3.editor && void 0 !== e3.editor.tabSize) { + if (e3.editor && e3.editor.tabSize !== void 0) { const t3 = parseInt(e3.editor.tabSize, 10); isNaN(t3) || (n2 = t3), n2 < 1 && (n2 = 1); } let i2 = n2; - if (e3.editor && void 0 !== e3.editor.indentSize && "tabSize" !== e3.editor.indentSize) { + if (e3.editor && e3.editor.indentSize !== void 0 && e3.editor.indentSize !== "tabSize") { const t3 = parseInt(e3.editor.indentSize, 10); isNaN(t3) || (i2 = t3), i2 < 1 && (i2 = 1); } let o2 = a.d.insertSpaces; - e3.editor && void 0 !== e3.editor.insertSpaces && (o2 = "false" !== e3.editor.insertSpaces && Boolean(e3.editor.insertSpaces)); + e3.editor && e3.editor.insertSpaces !== void 0 && (o2 = e3.editor.insertSpaces !== "false" && Boolean(e3.editor.insertSpaces)); let r2 = k; const s2 = e3.eol; - "\r\n" === s2 ? r2 = 2 : "\n" === s2 && (r2 = 1); + s2 === "\r\n" ? r2 = 2 : s2 === "\n" && (r2 = 1); let l2 = a.d.trimAutoWhitespace; - e3.editor && void 0 !== e3.editor.trimAutoWhitespace && (l2 = "false" !== e3.editor.trimAutoWhitespace && Boolean(e3.editor.trimAutoWhitespace)); + e3.editor && e3.editor.trimAutoWhitespace !== void 0 && (l2 = e3.editor.trimAutoWhitespace !== "false" && Boolean(e3.editor.trimAutoWhitespace)); let c2 = a.d.detectIndentation; - e3.editor && void 0 !== e3.editor.detectIndentation && (c2 = "false" !== e3.editor.detectIndentation && Boolean(e3.editor.detectIndentation)); + e3.editor && e3.editor.detectIndentation !== void 0 && (c2 = e3.editor.detectIndentation !== "false" && Boolean(e3.editor.detectIndentation)); let d2 = a.d.largeFileOptimizations; - return e3.editor && void 0 !== e3.editor.largeFileOptimizations && (d2 = "false" !== e3.editor.largeFileOptimizations && Boolean(e3.editor.largeFileOptimizations)), {isForSimpleWidget: t2, tabSize: n2, indentSize: i2, insertSpaces: o2, detectIndentation: c2, defaultEOL: r2, trimAutoWhitespace: l2, largeFileOptimizations: d2}; + return e3.editor && e3.editor.largeFileOptimizations !== void 0 && (d2 = e3.editor.largeFileOptimizations !== "false" && Boolean(e3.editor.largeFileOptimizations)), {isForSimpleWidget: t2, tabSize: n2, indentSize: i2, insertSpaces: o2, detectIndentation: c2, defaultEOL: r2, trimAutoWhitespace: l2, largeFileOptimizations: d2}; } _getEOL(e3, t2) { if (e3) return this._resourcePropertiesService.getEOL(e3, t2); const n2 = this._configurationService.getValue("files.eol", {overrideIdentifier: t2}); - return n2 && "auto" !== n2 ? n2 : 3 === r.a || 2 === r.a ? "\n" : "\r\n"; + return n2 && n2 !== "auto" ? n2 : r.a === 3 || r.a === 2 ? "\n" : "\r\n"; } getCreationOptions(t2, n2, i2) { let o2 = this._modelCreationOptionsByLanguageAndResource[t2 + n2]; @@ -53042,7 +53042,7 @@ ${Object(zn.b)(wi)} } } static _setModelOptionsForModel(e3, t2, n2) { - n2 && n2.defaultEOL !== t2.defaultEOL && 1 === e3.getLineCount() && e3.setEOL(1 === t2.defaultEOL ? 0 : 1), n2 && n2.detectIndentation === t2.detectIndentation && n2.insertSpaces === t2.insertSpaces && n2.tabSize === t2.tabSize && n2.indentSize === t2.indentSize && n2.trimAutoWhitespace === t2.trimAutoWhitespace || (t2.detectIndentation ? (e3.detectIndentation(t2.insertSpaces, t2.tabSize), e3.updateOptions({trimAutoWhitespace: t2.trimAutoWhitespace})) : e3.updateOptions({insertSpaces: t2.insertSpaces, tabSize: t2.tabSize, indentSize: t2.indentSize, trimAutoWhitespace: t2.trimAutoWhitespace})); + n2 && n2.defaultEOL !== t2.defaultEOL && e3.getLineCount() === 1 && e3.setEOL(t2.defaultEOL === 1 ? 0 : 1), n2 && n2.detectIndentation === t2.detectIndentation && n2.insertSpaces === t2.insertSpaces && n2.tabSize === t2.tabSize && n2.indentSize === t2.indentSize && n2.trimAutoWhitespace === t2.trimAutoWhitespace || (t2.detectIndentation ? (e3.detectIndentation(t2.insertSpaces, t2.tabSize), e3.updateOptions({trimAutoWhitespace: t2.trimAutoWhitespace})) : e3.updateOptions({insertSpaces: t2.insertSpaces, tabSize: t2.tabSize, indentSize: t2.indentSize, trimAutoWhitespace: t2.trimAutoWhitespace})); } _removeDisposedModel(e3) { const t2 = this._disposedModels.get(x(e3)); @@ -53065,7 +53065,7 @@ ${Object(zn.b)(wi)} Object(v.b)(e5) && e5.matchesResource(n2) && e5.setModel(r2); this._undoRedoService.setElementsValidFlag(n2, true, (e5) => Object(v.b)(e5) && e5.matchesResource(n2)), i3 && (r2._overwriteVersionId(e4.versionId), r2._overwriteAlternativeVersionId(e4.alternativeVersionId), r2._overwriteInitialUndoRedoSnapshot(e4.initialUndoRedoSnapshot)); } else - null !== e4.initialUndoRedoSnapshot && this._undoRedoService.restoreSnapshot(e4.initialUndoRedoSnapshot); + e4.initialUndoRedoSnapshot !== null && this._undoRedoService.restoreSnapshot(e4.initialUndoRedoSnapshot); } const s2 = x(r2.uri); if (this._models[s2]) @@ -53111,8 +53111,8 @@ ${Object(zn.b)(wi)} const T = "editor.semanticHighlighting"; function L(e2, t2, n2) { var i2; - const o2 = null === (i2 = n2.getValue(T, {overrideIdentifier: e2.getLanguageIdentifier().language, resource: e2.uri})) || void 0 === i2 ? void 0 : i2.enabled; - return "boolean" == typeof o2 ? o2 : t2.getColorTheme().semanticHighlighting; + const o2 = (i2 = n2.getValue(T, {overrideIdentifier: e2.getLanguageIdentifier().language, resource: e2.uri})) === null || i2 === void 0 ? void 0 : i2.enabled; + return typeof o2 == "boolean" ? o2 : t2.getColorTheme().semanticHighlighting; } class N extends o.a { constructor(e2, t2, n2, i2) { @@ -53163,7 +53163,7 @@ ${Object(zn.b)(wi)} const i2 = () => { Object(o.f)(this._documentProvidersChangeListeners), this._documentProvidersChangeListeners = []; for (const t3 of c.l.all(e2)) - "function" == typeof t3.onDidChange && this._documentProvidersChangeListeners.push(t3.onDidChange(() => this._fetchDocumentSemanticTokens.schedule(0))); + typeof t3.onDidChange == "function" && this._documentProvidersChangeListeners.push(t3.onDidChange(() => this._fetchDocumentSemanticTokens.schedule(0))); }; i2(), this._register(c.l.onDidChange(() => { i2(), this._fetchDocumentSemanticTokens.schedule(); @@ -53187,7 +53187,7 @@ ${Object(zn.b)(wi)} Promise.resolve(e2.provideDocumentSemanticTokens(this._model, o2, this._currentDocumentRequestCancellationTokenSource.token)).then((o3) => { this._currentDocumentRequestCancellationTokenSource = null, n2.dispose(), this._setDocumentSemanticTokens(e2, o3 || null, i2, t2); }, (e3) => { - e3 && "string" == typeof e3.message && -1 !== e3.message.indexOf("busy") || s.e(e3), this._currentDocumentRequestCancellationTokenSource = null, n2.dispose(), t2.length > 0 && (this._fetchDocumentSemanticTokens.isScheduled() || this._fetchDocumentSemanticTokens.schedule()); + e3 && typeof e3.message == "string" && e3.message.indexOf("busy") !== -1 || s.e(e3), this._currentDocumentRequestCancellationTokenSource = null, n2.dispose(), t2.length > 0 && (this._fetchDocumentSemanticTokens.isScheduled() || this._fetchDocumentSemanticTokens.schedule()); }); } static _isSemanticTokens(e2) { @@ -53209,7 +53209,7 @@ ${Object(zn.b)(wi)} if (D._isSemanticTokensEdits(t2)) { if (!o2) return void this._model.setSemanticTokens(null, true); - if (0 === t2.edits.length) + if (t2.edits.length === 0) t2 = {resultId: t2.resultId, data: o2.data}; else { let e3 = 0; @@ -53273,22 +53273,22 @@ ${Object(zn.b)(wi)} 1 & e3 && a2.push(this._legend.tokenModifiers[t3]), e3 >>= 1; e3 > 0 && this._logService.getLevel() === o.c.Trace && (this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t2.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`), a2.push("not-in-legend")); const i2 = this._themeService.getColorTheme().getTokenStyleMetadata(r3, a2, n2.language); - if (void 0 === i2) + if (i2 === void 0) s2 = 2147483647; else { - if (s2 = 0, void 0 !== i2.italic) { + if (s2 = 0, i2.italic !== void 0) { s2 |= 1 | (i2.italic ? 1 : 0) << 11; } - if (void 0 !== i2.bold) { + if (i2.bold !== void 0) { s2 |= 2 | (i2.bold ? 2 : 0) << 11; } - if (void 0 !== i2.underline) { + if (i2.underline !== void 0) { s2 |= 4 | (i2.underline ? 4 : 0) << 11; } if (i2.foreground) { s2 |= 8 | i2.foreground << 14; } - 0 === s2 && (s2 = 2147483647); + s2 === 0 && (s2 = 2147483647); } } else this._logService.getLevel() === o.c.Trace && this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e2} for legend: ${JSON.stringify(this._legend.tokenTypes)}`), s2 = 2147483647, r3 = "not-in-legend"; @@ -53305,11 +53305,11 @@ ${Object(zn.b)(wi)} let h = Math.min(e3 + s2, o2); if (h < o2) { let t3 = h; - for (; t3 - 1 > e3 && 0 === i2[5 * t3]; ) + for (; t3 - 1 > e3 && i2[5 * t3] === 0; ) t3--; if (t3 - 1 === e3) { let e4 = h; - for (; e4 + 1 < o2 && 0 === i2[5 * e4]; ) + for (; e4 + 1 < o2 && i2[5 * e4] === 0; ) e4++; h = e4; } else @@ -53317,8 +53317,8 @@ ${Object(zn.b)(wi)} } let u = new Uint32Array(4 * (h - e3)), p = 0, m = 0; for (; l2 < h; ) { - const e4 = 5 * l2, o3 = i2[e4], r2 = i2[e4 + 1], s3 = c2 + o3, a3 = 0 === o3 ? d + r2 : r2, h2 = i2[e4 + 2], g2 = i2[e4 + 3], f = i2[e4 + 4], b = t2.getMetadata(g2, f, n2); - 2147483647 !== b && (0 === m && (m = s3), u[p] = s3 - m, u[p + 1] = a3, u[p + 2] = a3 + h2, u[p + 3] = b, p += 4), c2 = s3, d = a3, l2++; + const e4 = 5 * l2, o3 = i2[e4], r2 = i2[e4 + 1], s3 = c2 + o3, a3 = o3 === 0 ? d + r2 : r2, h2 = i2[e4 + 2], g2 = i2[e4 + 3], f = i2[e4 + 4], b = t2.getMetadata(g2, f, n2); + b !== 2147483647 && (m === 0 && (m = s3), u[p] = s3 - m, u[p + 1] = a3, u[p + 2] = a3 + h2, u[p + 3] = b, p += 4), c2 = s3, d = a3, l2++; } p !== u.length && (u = u.subarray(0, p)); const g = new r.a(m, new r.c(u)); @@ -53356,7 +53356,7 @@ ${Object(zn.b)(wi)} return null; } add(e2, t2, n2, i2) { - if (this._elementsCount++, 0 !== this._growCount && this._elementsCount >= this._growCount) { + if (this._elementsCount++, this._growCount !== 0 && this._elementsCount >= this._growCount) { const e3 = this._elements; this._currentLengthIndex++, this._currentLength = c._SIZES[this._currentLengthIndex], this._growCount = Math.round(this._currentLengthIndex + 1 < c._SIZES.length ? 2 / 3 * this._currentLength : 0), this._elements = [], c._nullOutEntries(this._elements, this._currentLength); for (const t3 of e3) { @@ -53408,7 +53408,7 @@ ${Object(zn.b)(wi)} } }, function(e, t, n) { var i = n(32), o = n(268); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -53467,7 +53467,7 @@ ${Object(zn.b)(wi)} if (!e2) return w; let n2; - n2 = "string" != typeof e2 ? e2.pattern : e2, n2 = n2.trim(); + n2 = typeof e2 != "string" ? e2.pattern : e2, n2 = n2.trim(); const r2 = `${n2}_${!!t2.trimForExclusions}`; let s2, a2 = _.get(r2); if (a2) @@ -53475,19 +53475,19 @@ ${Object(zn.b)(wi)} if (u.test(n2)) { const e3 = n2.substr(4); a2 = function(t3, i2) { - return "string" == typeof t3 && t3.endsWith(e3) ? n2 : null; + return typeof t3 == "string" && t3.endsWith(e3) ? n2 : null; }; } else a2 = (s2 = p.exec(x(n2, t2))) ? function(e3, t3) { const n3 = "/" + e3, i2 = "\\" + e3, o2 = function(o3, r4) { - return "string" != typeof o3 ? null : r4 ? r4 === e3 ? t3 : null : o3 === e3 || o3.endsWith(n3) || o3.endsWith(i2) ? t3 : null; + return typeof o3 != "string" ? null : r4 ? r4 === e3 ? t3 : null : o3 === e3 || o3.endsWith(n3) || o3.endsWith(i2) ? t3 : null; }, r3 = [e3]; return o2.basenames = r3, o2.patterns = [t3], o2.allBasenames = r3, o2; }(s2[1], n2) : (t2.trimForExclusions ? g : m).test(n2) ? function(e3, t3) { const n3 = E(e3.slice(1, -1).split(",").map((e4) => y(e4, t3)).filter((e4) => e4 !== w), e3), o2 = n3.length; if (!o2) return w; - if (1 === o2) + if (o2 === 1) return n3[0]; const r3 = function(t4, i2) { for (let o3 = 0, r4 = n3.length; o3 < r4; o3++) @@ -53506,18 +53506,18 @@ ${Object(zn.b)(wi)} return ""; let n3 = ""; const i2 = h(t4, "/"); - if (i2.every((e5) => "**" === e5)) + if (i2.every((e5) => e5 === "**")) n3 = ".*"; else { let t5 = false; i2.forEach((r3, s3) => { - if ("**" === r3) + if (r3 === "**") return void (t5 || (n3 += d(2), t5 = true)); let a3 = false, l2 = "", c2 = false, u2 = ""; for (const t6 of r3) - if ("}" !== t6 && a3) + if (t6 !== "}" && a3) l2 += t6; - else if (!c2 || "]" === t6 && u2) + else if (!c2 || t6 === "]" && u2) switch (t6) { case "{": a3 = true; @@ -53543,15 +53543,15 @@ ${Object(zn.b)(wi)} } else { let e5; - e5 = "-" === t6 ? t6 : "^" !== t6 && "!" !== t6 || u2 ? "/" === t6 ? "" : o.v(t6) : "^", u2 += e5; + e5 = t6 === "-" ? t6 : t6 !== "^" && t6 !== "!" || u2 ? t6 === "/" ? "" : o.v(t6) : "^", u2 += e5; } - s3 < i2.length - 1 && ("**" !== i2[s3 + 1] || s3 + 2 < i2.length) && (n3 += "[/\\\\]"), t5 = false; + s3 < i2.length - 1 && (i2[s3 + 1] !== "**" || s3 + 2 < i2.length) && (n3 += "[/\\\\]"), t5 = false; }); } return n3; }(e3)}$`); return function(n3) { - return t3.lastIndex = 0, "string" == typeof n3 && t3.test(n3) ? e3 : null; + return t3.lastIndex = 0, typeof n3 == "string" && t3.test(n3) ? e3 : null; }; } catch (e4) { return w; @@ -53560,7 +53560,7 @@ ${Object(zn.b)(wi)} return _.set(r2, a2), C(a2, e2); } function C(e2, t2) { - return "string" == typeof t2 ? e2 : function(n2, i2) { + return typeof t2 == "string" ? e2 : function(n2, i2) { return r.a(n2, t2.base) ? e2(s.f(t2.base, n2), i2) : null; }; } @@ -53569,19 +53569,19 @@ ${Object(zn.b)(wi)} } function S(e2, t2, n2) { const i2 = s.h !== s.e.sep ? e2.replace(c, s.h) : e2, o2 = s.h + i2, r2 = n2 ? function(e3, n3) { - return "string" != typeof e3 || e3 !== i2 && !e3.endsWith(o2) ? null : t2; + return typeof e3 != "string" || e3 !== i2 && !e3.endsWith(o2) ? null : t2; } : function(e3, n3) { - return "string" == typeof e3 && e3 === i2 ? t2 : null; + return typeof e3 == "string" && e3 === i2 ? t2 : null; }; return r2.allPaths = [(n2 ? "*/" : "./") + e2], r2; } function k(e2, t2, n2) { - return !(!e2 || "string" != typeof t2) && function(e3, t3 = {}) { + return !(!e2 || typeof t2 != "string") && function(e3, t3 = {}) { if (!e3) return v; - if ("string" == typeof e3 || function(e4) { + if (typeof e3 == "string" || function(e4) { const t4 = e4; - return t4 && "string" == typeof t4.base && "string" == typeof t4.pattern; + return t4 && typeof t4.base == "string" && typeof t4.pattern == "string"; }(e3)) { const n3 = y(e3, t3); if (n3 === w) @@ -53593,16 +53593,16 @@ ${Object(zn.b)(wi)} } return function(e4, t4) { const n3 = E(Object.getOwnPropertyNames(e4).map((n4) => function(e5, t5, n5) { - if (false === t5) + if (t5 === false) return w; const i2 = y(e5, n5); if (i2 === w) return w; - if ("boolean" == typeof t5) + if (typeof t5 == "boolean") return i2; if (t5) { const n6 = t5.when; - if ("string" == typeof n6) { + if (typeof n6 == "string") { const t6 = (t7, o3, r3, s2) => { if (!s2 || !i2(t7, o3)) return null; @@ -53617,7 +53617,7 @@ ${Object(zn.b)(wi)} if (!o2) return w; if (!n3.some((e5) => !!e5.requiresSiblings)) { - if (1 === o2) + if (o2 === 1) return n3[0]; const e5 = function(e6, t6) { for (let i2 = 0, o3 = n3.length; i2 < o3; i2++) { @@ -53668,19 +53668,19 @@ ${Object(zn.b)(wi)} return n3 ? e3.concat(n3) : e3; }, []); const r2 = function(e3, t3) { - if ("string" != typeof e3) + if (typeof e3 != "string") return null; if (!t3) { let n4; for (n4 = e3.length; n4 > 0; n4--) { const t4 = e3.charCodeAt(n4 - 1); - if (47 === t4 || 92 === t4) + if (t4 === 47 || t4 === 92) break; } t3 = e3.substr(n4); } const n3 = i2.indexOf(t3); - return -1 !== n3 ? o2[n3] : null; + return n3 !== -1 ? o2[n3] : null; }; r2.basenames = i2, r2.patterns = o2, r2.allBasenames = i2; const s2 = e2.filter((e3) => !e3.basenames); @@ -53699,7 +53699,7 @@ ${Object(zn.b)(wi)} } registerSchema(e2, t2) { var n2; - this.schemasById[n2 = e2, n2.length > 0 && "#" === n2.charAt(n2.length - 1) ? n2.substring(0, n2.length - 1) : n2] = t2, this._onDidChangeSchema.fire(e2); + this.schemasById[n2 = e2, n2.length > 0 && n2.charAt(n2.length - 1) === "#" ? n2.substring(0, n2.length - 1) : n2] = t2, this._onDidChangeSchema.fire(e2); } notifySchemaChanged(e2) { this._onDidChangeSchema.fire(e2); @@ -53717,9 +53717,9 @@ ${Object(zn.b)(wi)} function o(e2, t2) { for (let n2 in e2) if (i.call(e2, n2)) { - if (false === t2({key: n2, value: e2[n2]}, function() { + if (t2({key: n2, value: e2[n2]}, function() { delete e2[n2]; - })) + }) === false) return; } } @@ -53733,7 +53733,7 @@ ${Object(zn.b)(wi)} } delete(e2, t2) { const n2 = this.map.get(e2); - n2 && (n2.delete(t2), 0 === n2.size && this.map.delete(e2)); + n2 && (n2.delete(t2), n2.size === 0 && this.map.delete(e2)); } forEach(e2, t2) { const n2 = this.map.get(e2); @@ -53760,12 +53760,12 @@ ${Object(zn.b)(wi)} return this.height; } startObserving() { - "undefined" != typeof ResizeObserver ? !this.resizeObserver && this.referenceDomElement && (this.resizeObserver = new ResizeObserver((e2) => { + typeof ResizeObserver != "undefined" ? !this.resizeObserver && this.referenceDomElement && (this.resizeObserver = new ResizeObserver((e2) => { e2 && e2[0] && e2[0].contentRect ? this.observe({width: e2[0].contentRect.width, height: e2[0].contentRect.height}) : this.observe(); - }), this.resizeObserver.observe(this.referenceDomElement)) : -1 === this.measureReferenceDomElementToken && (this.measureReferenceDomElementToken = setInterval(() => this.observe(), 100)); + }), this.resizeObserver.observe(this.referenceDomElement)) : this.measureReferenceDomElementToken === -1 && (this.measureReferenceDomElementToken = setInterval(() => this.observe(), 100)); } stopObserving() { - this.resizeObserver && (this.resizeObserver.disconnect(), this.resizeObserver = null), -1 !== this.measureReferenceDomElementToken && (clearInterval(this.measureReferenceDomElementToken), this.measureReferenceDomElementToken = -1); + this.resizeObserver && (this.resizeObserver.disconnect(), this.resizeObserver = null), this.measureReferenceDomElementToken !== -1 && (clearInterval(this.measureReferenceDomElementToken), this.measureReferenceDomElementToken = -1); } observe(e2) { this.measureReferenceDomElement(true, e2); @@ -53817,7 +53817,7 @@ ${Object(zn.b)(wi)} this._editor.getLineChanges(); } _onDiffUpdated() { - this._init(), this._compute(this._editor.getLineChanges()), this.revealFirst && null !== this._editor.getLineChanges() && (this.revealFirst = false, this.nextIdx = -1, this.next(1)); + this._init(), this._compute(this._editor.getLineChanges()), this.revealFirst && this._editor.getLineChanges() !== null && (this.revealFirst = false, this.nextIdx = -1, this.next(1)); } _compute(e2) { this.ranges = [], e2 && e2.forEach((e3) => { @@ -53840,7 +53840,7 @@ ${Object(zn.b)(wi)} _move(e2, t2) { if (i.a(!this.disposed, "Illegal State - diff navigator has been disposed"), !this.canNavigate()) return; - -1 === this.nextIdx ? this._initIdx(e2) : e2 ? (this.nextIdx += 1, this.nextIdx >= this.ranges.length && (this.nextIdx = 0)) : (this.nextIdx -= 1, this.nextIdx < 0 && (this.nextIdx = this.ranges.length - 1)); + this.nextIdx === -1 ? this._initIdx(e2) : e2 ? (this.nextIdx += 1, this.nextIdx >= this.ranges.length && (this.nextIdx = 0)) : (this.nextIdx -= 1, this.nextIdx < 0 && (this.nextIdx = this.ranges.length - 1)); let n2 = this.ranges[this.nextIdx]; this.ignoreSelectionChange = true; try { @@ -53875,7 +53875,7 @@ ${Object(zn.b)(wi)} this.originalLineStart = e2, this.originalLineEnd = t2, this.modifiedLineStart = n2, this.modifiedLineEnd = i2; } getType() { - return 0 === this.originalLineStart ? 1 : 0 === this.modifiedLineStart ? 2 : 0; + return this.originalLineStart === 0 ? 1 : this.modifiedLineStart === 0 ? 2 : 0; } } class I { @@ -53910,7 +53910,7 @@ ${Object(zn.b)(wi)} e2 = this._diffs.length + t3 - 1; } else e2 = this._findDiffIndex(this._diffEditor.getPosition()); - if (0 === this._diffs.length) + if (this._diffs.length === 0) return; e2 %= this._diffs.length; const t2 = this._diffs[e2].entries; @@ -53928,7 +53928,7 @@ ${Object(zn.b)(wi)} e2 = t3 + 1; } else e2 = this._findDiffIndex(this._diffEditor.getPosition()); - if (0 === this._diffs.length) + if (this._diffs.length === 0) return; e2 %= this._diffs.length; const t2 = this._diffs[e2].entries; @@ -53940,7 +53940,7 @@ ${Object(zn.b)(wi)} let n2 = parseInt(t2.getAttribute("data-line"), 10); isNaN(n2) || (e2 = n2); } - this.hide(), -1 !== e2 && (this._diffEditor.setPosition(new y.a(e2, 1)), this._diffEditor.revealPosition(new y.a(e2, 1), 1)); + this.hide(), e2 !== -1 && (this._diffEditor.setPosition(new y.a(e2, 1)), this._diffEditor.revealPosition(new y.a(e2, 1), 1)); } hide() { this._isVisible = false, this._diffEditor.updateOptions({readOnly: false}), this._diffEditor.focus(), this._diffEditor.doLayout(), this._render(); @@ -53972,24 +53972,24 @@ ${Object(zn.b)(wi)} } _compute() { const e2 = this._diffEditor.getLineChanges(); - if (!e2 || 0 === e2.length) + if (!e2 || e2.length === 0) return []; const t2 = this._diffEditor.getOriginalEditor().getModel(), n2 = this._diffEditor.getModifiedEditor().getModel(); return t2 && n2 ? R._mergeAdjacent(e2, t2.getLineCount(), n2.getLineCount()) : []; } static _mergeAdjacent(e2, t2, n2) { - if (!e2 || 0 === e2.length) + if (!e2 || e2.length === 0) return []; let i2 = [], o2 = 0; for (let r3 = 0, s3 = e2.length; r3 < s3; r3++) { const a3 = e2[r3], l2 = a3.originalStartLineNumber, c2 = a3.originalEndLineNumber, d2 = a3.modifiedStartLineNumber, h2 = a3.modifiedEndLineNumber; let u2 = [], p2 = 0; { - const t3 = 0 === c2 ? l2 : l2 - 1, n3 = 0 === h2 ? d2 : d2 - 1; + const t3 = c2 === 0 ? l2 : l2 - 1, n3 = h2 === 0 ? d2 : d2 - 1; let i3 = 1, o3 = 1; if (r3 > 0) { const t4 = e2[r3 - 1]; - i3 = 0 === t4.originalEndLineNumber ? t4.originalStartLineNumber + 1 : t4.originalEndLineNumber + 1, o3 = 0 === t4.modifiedEndLineNumber ? t4.modifiedStartLineNumber + 1 : t4.modifiedEndLineNumber + 1; + i3 = t4.originalEndLineNumber === 0 ? t4.originalStartLineNumber + 1 : t4.originalEndLineNumber + 1, o3 = t4.modifiedEndLineNumber === 0 ? t4.modifiedStartLineNumber + 1 : t4.modifiedEndLineNumber + 1; } let s4 = t3 - 3 + 1, a4 = n3 - 3 + 1; if (s4 < i3) { @@ -54002,13 +54002,13 @@ ${Object(zn.b)(wi)} } u2[p2++] = new N(s4, t3, a4, n3); } - 0 !== c2 && (u2[p2++] = new N(l2, c2, 0, 0)), 0 !== h2 && (u2[p2++] = new N(0, 0, d2, h2)); + c2 !== 0 && (u2[p2++] = new N(l2, c2, 0, 0)), h2 !== 0 && (u2[p2++] = new N(0, 0, d2, h2)); { - const i3 = 0 === c2 ? l2 + 1 : c2 + 1, o3 = 0 === h2 ? d2 + 1 : h2 + 1; + const i3 = c2 === 0 ? l2 + 1 : c2 + 1, o3 = h2 === 0 ? d2 + 1 : h2 + 1; let a4 = t2, m2 = n2; if (r3 + 1 < s3) { const t3 = e2[r3 + 1]; - a4 = 0 === t3.originalEndLineNumber ? t3.originalStartLineNumber : t3.originalStartLineNumber - 1, m2 = 0 === t3.modifiedEndLineNumber ? t3.modifiedStartLineNumber : t3.modifiedStartLineNumber - 1; + a4 = t3.originalEndLineNumber === 0 ? t3.originalStartLineNumber : t3.originalStartLineNumber - 1, m2 = t3.modifiedEndLineNumber === 0 ? t3.modifiedStartLineNumber : t3.modifiedStartLineNumber - 1; } let g2 = i3 + 3 - 1, f2 = o3 + 3 - 1; if (g2 > a4) { @@ -54026,7 +54026,7 @@ ${Object(zn.b)(wi)} let r2 = i2[0].entries, s2 = [], a2 = 0; for (let e3 = 1, t3 = i2.length; e3 < t3; e3++) { const t4 = i2[e3].entries, n3 = r2[r2.length - 1], o3 = t4[0]; - 0 === n3.getType() && 0 === o3.getType() && o3.originalLineStart <= n3.originalLineEnd ? (r2[r2.length - 1] = new N(n3.originalLineStart, o3.originalLineEnd, n3.modifiedLineStart, o3.modifiedLineEnd), r2 = r2.concat(t4.slice(1))) : (s2[a2++] = new I(r2), r2 = t4); + n3.getType() === 0 && o3.getType() === 0 && o3.originalLineStart <= n3.originalLineEnd ? (r2[r2.length - 1] = new N(n3.originalLineStart, o3.originalLineEnd, n3.modifiedLineStart, o3.modifiedLineEnd), r2 = r2.concat(t4.slice(1))) : (s2[a2++] = new I(r2), r2 = t4); } return s2[a2++] = new I(r2), s2; } @@ -54054,7 +54054,7 @@ ${Object(zn.b)(wi)} let u2 = 0, p2 = 0, m2 = 0, g2 = 0; for (let e3 = 0, t3 = c2.length; e3 < t3; e3++) { const t4 = c2[e3], n3 = t4.originalLineStart, i2 = t4.originalLineEnd, o2 = t4.modifiedLineStart, r3 = t4.modifiedLineEnd; - 0 !== n3 && (0 === u2 || n3 < u2) && (u2 = n3), 0 !== i2 && (0 === p2 || i2 > p2) && (p2 = i2), 0 !== o2 && (0 === m2 || o2 < m2) && (m2 = o2), 0 !== r3 && (0 === g2 || r3 > g2) && (g2 = r3); + n3 !== 0 && (u2 === 0 || n3 < u2) && (u2 = n3), i2 !== 0 && (p2 === 0 || i2 > p2) && (p2 = i2), o2 !== 0 && (m2 === 0 || o2 < m2) && (m2 = o2), r3 !== 0 && (g2 === 0 || r3 > g2) && (g2 = r3); } let f2 = document.createElement("div"); f2.className = "diff-review-row"; @@ -54062,13 +54062,13 @@ ${Object(zn.b)(wi)} b2.className = "diff-review-cell diff-review-summary"; const _2 = p2 - u2 + 1, v2 = g2 - m2 + 1; b2.appendChild(document.createTextNode(`${l2 + 1}/${this._diffs.length}: @@ -${u2},${_2} +${m2},${v2} @@`)), f2.setAttribute("data-line", String(m2)); - const w2 = (e3) => 0 === e3 ? i.a("no_lines_changed", "no lines changed") : 1 === e3 ? i.a("one_line_changed", "1 line changed") : i.a("more_lines_changed", "{0} lines changed", e3), y2 = w2(_2), C2 = w2(v2); + const w2 = (e3) => e3 === 0 ? i.a("no_lines_changed", "no lines changed") : e3 === 1 ? i.a("one_line_changed", "1 line changed") : i.a("more_lines_changed", "{0} lines changed", e3), y2 = w2(_2), C2 = w2(v2); f2.setAttribute("aria-label", i.a({key: "header", comment: ["This is the ARIA label for a git diff header.", "A git diff header looks like this: @@ -154,12 +159,39 @@.", "That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.", "Variables 0 and 1 refer to the diff index out of total number of diffs.", "Variables 2 and 4 will be numbers (a line number).", 'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']}, "Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}", l2 + 1, this._diffs.length, u2, y2, m2, C2)), f2.appendChild(b2), f2.setAttribute("role", "listitem"), d2.appendChild(f2); const x2 = t2.get(51); let S2 = m2; for (let i2 = 0, o2 = c2.length; i2 < o2; i2++) { const o3 = c2[i2]; - R._renderSection(d2, o3, S2, x2, this._width, e2, n2, s2, t2, r2, a2), 0 !== o3.modifiedLineStart && (S2 = o3.modifiedLineEnd); + R._renderSection(d2, o3, S2, x2, this._width, e2, n2, s2, t2, r2, a2), o3.modifiedLineStart !== 0 && (S2 = o3.modifiedLineEnd); } o.s(this._content.domNode), this._content.domNode.appendChild(d2), this.scrollbar.scanDomNode(); } @@ -54085,22 +54085,22 @@ ${Object(zn.b)(wi)} } const f2 = t2.originalLineStart, b2 = t2.originalLineEnd, _2 = t2.modifiedLineStart, v2 = t2.modifiedLineEnd, w2 = Math.max(v2 - _2, b2 - f2), y2 = s2.get(117), C2 = y2.glyphMarginWidth + y2.lineNumbersWidth, x2 = c2.get(117), S2 = 10 + x2.glyphMarginWidth + x2.lineNumbersWidth; for (let t3 = 0; t3 <= w2; t3++) { - const b3 = 0 === f2 ? 0 : f2 + t3, v3 = 0 === _2 ? 0 : _2 + t3, w3 = document.createElement("div"); - w3.style.minWidth = r2 + "px", w3.className = p2, w3.setAttribute("role", "listitem"), 0 !== v3 && (n2 = v3), w3.setAttribute("data-line", String(n2)); + const b3 = f2 === 0 ? 0 : f2 + t3, v3 = _2 === 0 ? 0 : _2 + t3, w3 = document.createElement("div"); + w3.style.minWidth = r2 + "px", w3.className = p2, w3.setAttribute("role", "listitem"), v3 !== 0 && (n2 = v3), w3.setAttribute("data-line", String(n2)); let y3 = document.createElement("div"); y3.className = "diff-review-cell", y3.style.height = o2 + "px", w3.appendChild(y3); const x3 = document.createElement("span"); - x3.style.width = C2 + "px", x3.style.minWidth = C2 + "px", x3.className = "diff-review-line-number" + m2, 0 !== b3 ? x3.appendChild(document.createTextNode(String(b3))) : x3.innerText = " ", y3.appendChild(x3); + x3.style.width = C2 + "px", x3.style.minWidth = C2 + "px", x3.className = "diff-review-line-number" + m2, b3 !== 0 ? x3.appendChild(document.createTextNode(String(b3))) : x3.innerText = "\xA0", y3.appendChild(x3); const k2 = document.createElement("span"); - k2.style.width = S2 + "px", k2.style.minWidth = S2 + "px", k2.style.paddingRight = "10px", k2.className = "diff-review-line-number" + m2, 0 !== v3 ? k2.appendChild(document.createTextNode(String(v3))) : k2.innerText = " ", y3.appendChild(k2); + k2.style.width = S2 + "px", k2.style.minWidth = S2 + "px", k2.style.paddingRight = "10px", k2.className = "diff-review-line-number" + m2, v3 !== 0 ? k2.appendChild(document.createTextNode(String(v3))) : k2.innerText = "\xA0", y3.appendChild(k2); const E2 = document.createElement("span"); if (E2.className = "diff-review-spacer", g2) { const e3 = document.createElement("span"); - e3.className = g2.classNames, e3.innerText = "  ", E2.appendChild(e3); + e3.className = g2.classNames, e3.innerText = "\xA0\xA0", E2.appendChild(e3); } else - E2.innerText = "  "; + E2.innerText = "\xA0\xA0"; let T2; - y3.appendChild(E2), 0 !== v3 ? (y3.insertAdjacentHTML("beforeend", this._renderLine(d2, c2, h2.tabSize, v3)), T2 = d2.getLineContent(v3)) : (y3.insertAdjacentHTML("beforeend", this._renderLine(a2, s2, l2.tabSize, b3)), T2 = a2.getLineContent(b3)), 0 === T2.length && (T2 = i.a("blankLine", "blank")); + y3.appendChild(E2), v3 !== 0 ? (y3.insertAdjacentHTML("beforeend", this._renderLine(d2, c2, h2.tabSize, v3)), T2 = d2.getLineContent(v3)) : (y3.insertAdjacentHTML("beforeend", this._renderLine(a2, s2, l2.tabSize, b3)), T2 = a2.getLineContent(b3)), T2.length === 0 && (T2 = i.a("blankLine", "blank")); let L2 = ""; switch (u2) { case 0: @@ -54197,7 +54197,7 @@ ${Object(zn.b)(wi)} yield this._clipboardService.writeText(r2.originalContent[h2]); })), d2.push(u2)); n2.getOption(72) || d2.push(new b.a("diff.inline.revertChange", i.a("diff.inline.revertChange.label", "Revert this change"), void 0, true, () => Y(this, void 0, void 0, function* () { - if (0 === r2.modifiedEndLineNumber) { + if (r2.modifiedEndLineNumber === 0) { const e3 = n2.getModel().getLineMaxColumn(r2.modifiedStartLineNumber); n2.executeEdits("diffEditor", [{range: new W.a(r2.modifiedStartLineNumber, e3, r2.modifiedStartLineNumber, e3), text: c2 + r2.originalContent.join(c2)}]); } else { @@ -54213,12 +54213,12 @@ ${Object(zn.b)(wi)} let i2 = Math.floor(l2 / 3); e3.preventDefault(), p2(e3.posx, t3 + n3 + i2); })), this._register(n2.onMouseMove((e3) => { - if (8 === e3.target.type || 5 === e3.target.type) { + if (e3.target.type === 8 || e3.target.type === 5) { e3.target.detail.viewZoneId === this._viewZoneId ? (this.visibility = true, h2 = this._updateLightBulbPosition(this._marginDomNode, e3.event.browserEvent.y, l2)) : this.visibility = false; } else this.visibility = false; })), this._register(n2.onMouseDown((e3) => { - if (e3.event.rightButton && (8 === e3.target.type || 5 === e3.target.type)) { + if (e3.event.rightButton && (e3.target.type === 8 || e3.target.type === 5)) { e3.target.detail.viewZoneId === this._viewZoneId && (e3.event.preventDefault(), h2 = this._updateLightBulbPosition(this._marginDomNode, e3.event.browserEvent.y, l2), p2(e3.event.posx, e3.event.posy + l2)); } })); @@ -54235,8 +54235,8 @@ ${Object(zn.b)(wi)} } } var X = n(121), Q = n(13), J = n(83), ee = n(190), te = n(145), ne = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -54281,7 +54281,7 @@ ${Object(zn.b)(wi)} const se = Object(L.e)("diff-insert", L.a.add), ae = Object(L.e)("diff-remove", L.a.remove); let le = class e2 extends c.a { constructor(t2, n2, i2, s2, c2, d2, h2, u2, p2, m2, g2) { - super(), this._editorProgressService = g2, this._onDidDispose = this._register(new l.a()), this.onDidDispose = this._onDidDispose.event, this._onDidUpdateDiff = this._register(new l.a()), this.onDidUpdateDiff = this._onDidUpdateDiff.event, this._onDidContentSizeChange = this._register(new l.a()), this._lastOriginalWarning = null, this._lastModifiedWarning = null, this._editorWorkerService = s2, this._codeEditorService = h2, this._contextKeyService = this._register(c2.createScoped(t2)), this._contextKeyService.createKey("isInDiffEditor", true), this._themeService = u2, this._notificationService = p2, this.id = ++re, this._state = 0, this._updatingDiffProgress = null, this._domElement = t2, n2 = n2 || {}, this._renderSideBySide = true, void 0 !== n2.renderSideBySide && (this._renderSideBySide = n2.renderSideBySide), this._maxComputationTime = 5e3, void 0 !== n2.maxComputationTime && (this._maxComputationTime = n2.maxComputationTime), this._ignoreTrimWhitespace = true, void 0 !== n2.ignoreTrimWhitespace && (this._ignoreTrimWhitespace = n2.ignoreTrimWhitespace), this._renderIndicators = true, void 0 !== n2.renderIndicators && (this._renderIndicators = n2.renderIndicators), this._originalIsEditable = false, void 0 !== n2.originalEditable && (this._originalIsEditable = Boolean(n2.originalEditable)), this._originalCodeLens = false, void 0 !== n2.originalCodeLens && (this._originalCodeLens = Boolean(n2.originalCodeLens)), this._modifiedCodeLens = false, void 0 !== n2.modifiedCodeLens && (this._modifiedCodeLens = Boolean(n2.modifiedCodeLens)), this._updateDecorationsRunner = this._register(new a.d(() => this._updateDecorations(), 0)), this._containerDomElement = document.createElement("div"), this._containerDomElement.className = e2._getClassName(this._themeService.getColorTheme(), this._renderSideBySide), this._containerDomElement.style.position = "relative", this._containerDomElement.style.height = "100%", this._domElement.appendChild(this._containerDomElement), this._overviewViewportDomElement = Object(r.b)(document.createElement("div")), this._overviewViewportDomElement.setClassName("diffViewport"), this._overviewViewportDomElement.setPosition("absolute"), this._overviewDomElement = document.createElement("div"), this._overviewDomElement.className = "diffOverview", this._overviewDomElement.style.position = "absolute", this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode), this._register(o.n(this._overviewDomElement, "mousedown", (e3) => { + super(), this._editorProgressService = g2, this._onDidDispose = this._register(new l.a()), this.onDidDispose = this._onDidDispose.event, this._onDidUpdateDiff = this._register(new l.a()), this.onDidUpdateDiff = this._onDidUpdateDiff.event, this._onDidContentSizeChange = this._register(new l.a()), this._lastOriginalWarning = null, this._lastModifiedWarning = null, this._editorWorkerService = s2, this._codeEditorService = h2, this._contextKeyService = this._register(c2.createScoped(t2)), this._contextKeyService.createKey("isInDiffEditor", true), this._themeService = u2, this._notificationService = p2, this.id = ++re, this._state = 0, this._updatingDiffProgress = null, this._domElement = t2, n2 = n2 || {}, this._renderSideBySide = true, n2.renderSideBySide !== void 0 && (this._renderSideBySide = n2.renderSideBySide), this._maxComputationTime = 5e3, n2.maxComputationTime !== void 0 && (this._maxComputationTime = n2.maxComputationTime), this._ignoreTrimWhitespace = true, n2.ignoreTrimWhitespace !== void 0 && (this._ignoreTrimWhitespace = n2.ignoreTrimWhitespace), this._renderIndicators = true, n2.renderIndicators !== void 0 && (this._renderIndicators = n2.renderIndicators), this._originalIsEditable = false, n2.originalEditable !== void 0 && (this._originalIsEditable = Boolean(n2.originalEditable)), this._originalCodeLens = false, n2.originalCodeLens !== void 0 && (this._originalCodeLens = Boolean(n2.originalCodeLens)), this._modifiedCodeLens = false, n2.modifiedCodeLens !== void 0 && (this._modifiedCodeLens = Boolean(n2.modifiedCodeLens)), this._updateDecorationsRunner = this._register(new a.d(() => this._updateDecorations(), 0)), this._containerDomElement = document.createElement("div"), this._containerDomElement.className = e2._getClassName(this._themeService.getColorTheme(), this._renderSideBySide), this._containerDomElement.style.position = "relative", this._containerDomElement.style.height = "100%", this._domElement.appendChild(this._containerDomElement), this._overviewViewportDomElement = Object(r.b)(document.createElement("div")), this._overviewViewportDomElement.setClassName("diffViewport"), this._overviewViewportDomElement.setPosition("absolute"), this._overviewDomElement = document.createElement("div"), this._overviewDomElement.className = "diffOverview", this._overviewDomElement.style.position = "absolute", this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode), this._register(o.n(this._overviewDomElement, "mousedown", (e3) => { this.modifiedEditor.delegateVerticalScrollbarMouseDown(e3); })), this._containerDomElement.appendChild(this._overviewDomElement), this._originalDomNode = document.createElement("div"), this._originalDomNode.className = "editor original", this._originalDomNode.style.position = "absolute", this._originalDomNode.style.height = "100%", this._containerDomElement.appendChild(this._originalDomNode), this._modifiedDomNode = document.createElement("div"), this._modifiedDomNode.className = "editor modified", this._modifiedDomNode.style.position = "absolute", this._modifiedDomNode.style.height = "100%", this._containerDomElement.appendChild(this._modifiedDomNode), this._beginUpdateDecorationsTimeout = -1, this._currentlyChangingViewZones = false, this._diffComputationToken = 0, this._originalEditorState = new oe(m2, i2), this._modifiedEditorState = new oe(m2, i2), this._isVisible = true, this._isHandlingScrollEvent = false, this._elementSizeObserver = this._register(new ee.a(this._containerDomElement, void 0, () => this._onDidContainerSizeChanged())), n2.automaticLayout && this._elementSizeObserver.startObserving(), this._diffComputationResult = null; const f2 = this._contextKeyService.createScoped(), b2 = new $.a(); @@ -54289,7 +54289,7 @@ ${Object(zn.b)(wi)} const v2 = d2.createChild(b2), w2 = this._contextKeyService.createScoped(), y2 = new $.a(); y2.set(k.b, w2); const C2 = d2.createChild(y2); - this.originalEditor = this._createLeftHandSideEditor(n2, v2, f2), this.modifiedEditor = this._createRightHandSideEditor(n2, C2, w2), this._originalOverviewRuler = null, this._modifiedOverviewRuler = null, this._reviewPane = new R(this), this._containerDomElement.appendChild(this._reviewPane.domNode.domNode), this._containerDomElement.appendChild(this._reviewPane.shadow.domNode), this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode), this._enableSplitViewResizing = true, void 0 !== n2.enableSplitViewResizing && (this._enableSplitViewResizing = n2.enableSplitViewResizing), this._renderSideBySide ? this._setStrategy(new me(this._createDataSource(), this._enableSplitViewResizing)) : this._setStrategy(new fe(this._createDataSource(), this._enableSplitViewResizing)), this._register(u2.onDidColorThemeChange((t3) => { + this.originalEditor = this._createLeftHandSideEditor(n2, v2, f2), this.modifiedEditor = this._createRightHandSideEditor(n2, C2, w2), this._originalOverviewRuler = null, this._modifiedOverviewRuler = null, this._reviewPane = new R(this), this._containerDomElement.appendChild(this._reviewPane.domNode.domNode), this._containerDomElement.appendChild(this._reviewPane.shadow.domNode), this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode), this._enableSplitViewResizing = true, n2.enableSplitViewResizing !== void 0 && (this._enableSplitViewResizing = n2.enableSplitViewResizing), this._renderSideBySide ? this._setStrategy(new me(this._createDataSource(), this._enableSplitViewResizing)) : this._setStrategy(new fe(this._createDataSource(), this._enableSplitViewResizing)), this._register(u2.onDidColorThemeChange((t3) => { this._strategy && this._strategy.applyColors(t3) && this._updateDecorationsRunner.schedule(), this._containerDomElement.className = e2._getClassName(this._themeService.getColorTheme(), this._renderSideBySide); })); const x2 = _.d.getDiffEditorContributions(); @@ -54302,7 +54302,7 @@ ${Object(zn.b)(wi)} this._codeEditorService.addDiffEditor(this); } _setState(e3) { - this._state !== e3 && (this._state = e3, this._updatingDiffProgress && (this._updatingDiffProgress.done(), this._updatingDiffProgress = null), 1 === this._state && (this._updatingDiffProgress = this._editorProgressService.show(true, 1e3))); + this._state !== e3 && (this._state = e3, this._updatingDiffProgress && (this._updatingDiffProgress.done(), this._updatingDiffProgress = null), this._state === 1 && (this._updatingDiffProgress = this._editorProgressService.show(true, 1e3))); } diffReviewNext() { this._reviewPane.next(); @@ -54355,7 +54355,7 @@ ${Object(zn.b)(wi)} return e3.createInstance(m.a, t2, n2, {}); } dispose() { - this._codeEditorService.removeDiffEditor(this), -1 !== this._beginUpdateDecorationsTimeout && (window.clearTimeout(this._beginUpdateDecorationsTimeout), this._beginUpdateDecorationsTimeout = -1), this._cleanViewZonesAndDecorations(), this._originalOverviewRuler && (this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()), this._originalOverviewRuler.dispose()), this._modifiedOverviewRuler && (this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()), this._modifiedOverviewRuler.dispose()), this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode), this._containerDomElement.removeChild(this._overviewDomElement), this._containerDomElement.removeChild(this._originalDomNode), this.originalEditor.dispose(), this._containerDomElement.removeChild(this._modifiedDomNode), this.modifiedEditor.dispose(), this._strategy.dispose(), this._containerDomElement.removeChild(this._reviewPane.domNode.domNode), this._containerDomElement.removeChild(this._reviewPane.shadow.domNode), this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode), this._reviewPane.dispose(), this._domElement.removeChild(this._containerDomElement), this._onDidDispose.fire(), super.dispose(); + this._codeEditorService.removeDiffEditor(this), this._beginUpdateDecorationsTimeout !== -1 && (window.clearTimeout(this._beginUpdateDecorationsTimeout), this._beginUpdateDecorationsTimeout = -1), this._cleanViewZonesAndDecorations(), this._originalOverviewRuler && (this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()), this._originalOverviewRuler.dispose()), this._modifiedOverviewRuler && (this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()), this._modifiedOverviewRuler.dispose()), this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode), this._containerDomElement.removeChild(this._overviewDomElement), this._containerDomElement.removeChild(this._originalDomNode), this.originalEditor.dispose(), this._containerDomElement.removeChild(this._modifiedDomNode), this.modifiedEditor.dispose(), this._strategy.dispose(), this._containerDomElement.removeChild(this._reviewPane.domNode.domNode), this._containerDomElement.removeChild(this._reviewPane.shadow.domNode), this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode), this._reviewPane.dispose(), this._domElement.removeChild(this._containerDomElement), this._onDidDispose.fire(), super.dispose(); } getId() { return this.getEditorType() + ":" + this.id; @@ -54374,9 +54374,9 @@ ${Object(zn.b)(wi)} } updateOptions(t2) { let n2 = false; - void 0 !== t2.renderSideBySide && this._renderSideBySide !== t2.renderSideBySide && (this._renderSideBySide = t2.renderSideBySide, n2 = true), void 0 !== t2.maxComputationTime && (this._maxComputationTime = t2.maxComputationTime, this._isVisible && this._beginUpdateDecorationsSoon()); + t2.renderSideBySide !== void 0 && this._renderSideBySide !== t2.renderSideBySide && (this._renderSideBySide = t2.renderSideBySide, n2 = true), t2.maxComputationTime !== void 0 && (this._maxComputationTime = t2.maxComputationTime, this._isVisible && this._beginUpdateDecorationsSoon()); let i2 = false; - void 0 !== t2.ignoreTrimWhitespace && this._ignoreTrimWhitespace !== t2.ignoreTrimWhitespace && (this._ignoreTrimWhitespace = t2.ignoreTrimWhitespace, i2 = true), void 0 !== t2.renderIndicators && this._renderIndicators !== t2.renderIndicators && (this._renderIndicators = t2.renderIndicators, i2 = true), i2 && this._beginUpdateDecorations(), void 0 !== t2.originalEditable && (this._originalIsEditable = Boolean(t2.originalEditable)), void 0 !== t2.originalCodeLens && (this._originalCodeLens = Boolean(t2.originalCodeLens)), void 0 !== t2.modifiedCodeLens && (this._modifiedCodeLens = Boolean(t2.modifiedCodeLens)), this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t2, this._modifiedCodeLens)), this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t2, this._originalIsEditable, this._originalCodeLens)), void 0 !== t2.enableSplitViewResizing && (this._enableSplitViewResizing = t2.enableSplitViewResizing), this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing), n2 && (this._renderSideBySide ? this._setStrategy(new me(this._createDataSource(), this._enableSplitViewResizing)) : this._setStrategy(new fe(this._createDataSource(), this._enableSplitViewResizing)), this._containerDomElement.className = e2._getClassName(this._themeService.getColorTheme(), this._renderSideBySide)); + t2.ignoreTrimWhitespace !== void 0 && this._ignoreTrimWhitespace !== t2.ignoreTrimWhitespace && (this._ignoreTrimWhitespace = t2.ignoreTrimWhitespace, i2 = true), t2.renderIndicators !== void 0 && this._renderIndicators !== t2.renderIndicators && (this._renderIndicators = t2.renderIndicators, i2 = true), i2 && this._beginUpdateDecorations(), t2.originalEditable !== void 0 && (this._originalIsEditable = Boolean(t2.originalEditable)), t2.originalCodeLens !== void 0 && (this._originalCodeLens = Boolean(t2.originalCodeLens)), t2.modifiedCodeLens !== void 0 && (this._modifiedCodeLens = Boolean(t2.modifiedCodeLens)), this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t2, this._modifiedCodeLens)), this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t2, this._originalIsEditable, this._originalCodeLens)), t2.enableSplitViewResizing !== void 0 && (this._enableSplitViewResizing = t2.enableSplitViewResizing), this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing), n2 && (this._renderSideBySide ? this._setStrategy(new me(this._createDataSource(), this._enableSplitViewResizing)) : this._setStrategy(new fe(this._createDataSource(), this._enableSplitViewResizing)), this._containerDomElement.className = e2._getClassName(this._themeService.getColorTheme(), this._renderSideBySide)); } getModel() { return {original: this.originalEditor.getModel(), modified: this.modifiedEditor.getModel()}; @@ -54508,7 +54508,7 @@ ${Object(zn.b)(wi)} this._currentlyChangingViewZones || this._updateDecorationsRunner.schedule(); } _beginUpdateDecorationsSoon() { - -1 !== this._beginUpdateDecorationsTimeout && (window.clearTimeout(this._beginUpdateDecorationsTimeout), this._beginUpdateDecorationsTimeout = -1), this._beginUpdateDecorationsTimeout = window.setTimeout(() => this._beginUpdateDecorations(), e2.UPDATE_DIFF_DECORATIONS_DELAY); + this._beginUpdateDecorationsTimeout !== -1 && (window.clearTimeout(this._beginUpdateDecorationsTimeout), this._beginUpdateDecorationsTimeout = -1), this._beginUpdateDecorationsTimeout = window.setTimeout(() => this._beginUpdateDecorations(), e2.UPDATE_DIFF_DECORATIONS_DELAY); } static _equals(e3, t2) { return !e3 && !t2 || !(!e3 || !t2) && e3.toString() === t2.toString(); @@ -54581,7 +54581,7 @@ ${Object(zn.b)(wi)} } _getLineChangeAtOrBeforeLineNumber(e3, t2) { const n2 = this._diffComputationResult ? this._diffComputationResult.changes : []; - if (0 === n2.length || e3 < t2(n2[0])) + if (n2.length === 0 || e3 < t2(n2[0])) return null; let i2 = 0, o2 = n2.length - 1; for (; i2 < o2; ) { @@ -54640,16 +54640,16 @@ ${Object(zn.b)(wi)} } getViewZones() { let e2 = [], t2 = [], n2 = 0, i2 = 0, o2 = 0, r2 = 0, s2 = 0, a2 = 0, l2 = (e3, t3) => e3.afterLineNumber - t3.afterLineNumber, c2 = (e3, t3) => { - if (null === t3.domNode && e3.length > 0) { + if (t3.domNode === null && e3.length > 0) { let n3 = e3[e3.length - 1]; - if (n3.afterLineNumber === t3.afterLineNumber && null === n3.domNode) + if (n3.afterLineNumber === t3.afterLineNumber && n3.domNode === null) return void (n3.heightInLines += t3.heightInLines); } e3.push(t3); }, d2 = new de(this.modifiedForeignVZ), h2 = new de(this.originalForeignVZ); for (let u2 = 0, p2 = this.lineChanges.length; u2 <= p2; u2++) { let m2 = u2 < p2 ? this.lineChanges[u2] : null; - null !== m2 ? (o2 = m2.originalStartLineNumber + (m2.originalEndLineNumber > 0 ? -1 : 0), r2 = m2.modifiedStartLineNumber + (m2.modifiedEndLineNumber > 0 ? -1 : 0), i2 = m2.originalEndLineNumber > 0 ? m2.originalEndLineNumber - m2.originalStartLineNumber + 1 : 0, n2 = m2.modifiedEndLineNumber > 0 ? m2.modifiedEndLineNumber - m2.modifiedStartLineNumber + 1 : 0, s2 = Math.max(m2.originalStartLineNumber, m2.originalEndLineNumber), a2 = Math.max(m2.modifiedStartLineNumber, m2.modifiedEndLineNumber)) : (o2 += 1e7 + i2, r2 += 1e7 + n2, s2 = o2, a2 = r2); + m2 !== null ? (o2 = m2.originalStartLineNumber + (m2.originalEndLineNumber > 0 ? -1 : 0), r2 = m2.modifiedStartLineNumber + (m2.modifiedEndLineNumber > 0 ? -1 : 0), i2 = m2.originalEndLineNumber > 0 ? m2.originalEndLineNumber - m2.originalStartLineNumber + 1 : 0, n2 = m2.modifiedEndLineNumber > 0 ? m2.modifiedEndLineNumber - m2.modifiedStartLineNumber + 1 : 0, s2 = Math.max(m2.originalStartLineNumber, m2.originalEndLineNumber), a2 = Math.max(m2.modifiedStartLineNumber, m2.modifiedEndLineNumber)) : (o2 += 1e7 + i2, r2 += 1e7 + n2, s2 = o2, a2 = r2); let g2 = [], f2 = []; for (; d2.current && d2.current.afterLineNumber <= a2; ) { let e3; @@ -54661,11 +54661,11 @@ ${Object(zn.b)(wi)} let e3; e3 = h2.current.afterLineNumber <= o2 ? r2 - o2 + h2.current.afterLineNumber : a2, f2.push({afterLineNumber: e3, heightInLines: h2.current.height / this.originalLineHeight, domNode: null}), h2.advance(); } - if (null !== m2 && _e(m2)) { + if (m2 !== null && _e(m2)) { let e3 = this._produceOriginalFromDiff(m2, i2, n2); e3 && g2.push(e3); } - if (null !== m2 && ve(m2)) { + if (m2 !== null && ve(m2)) { let e3 = this._produceModifiedFromDiff(m2, i2, n2); e3 && f2.push(e3); } @@ -54694,10 +54694,10 @@ ${Object(zn.b)(wi)} const pe = {charDelete: j.a.register({className: "char-delete"}), charDeleteWholeLine: j.a.register({className: "char-delete", isWholeLine: true}), charInsert: j.a.register({className: "char-insert"}), charInsertWholeLine: j.a.register({className: "char-insert", isWholeLine: true}), lineInsert: j.a.register({className: "line-insert", marginClassName: "line-insert", isWholeLine: true}), lineInsertWithSign: j.a.register({className: "line-insert", linesDecorationsClassName: "insert-sign " + se.classNames, marginClassName: "line-insert", isWholeLine: true}), lineDelete: j.a.register({className: "line-delete", marginClassName: "line-delete", isWholeLine: true}), lineDeleteWithSign: j.a.register({className: "line-delete", linesDecorationsClassName: "delete-sign " + ae.classNames, marginClassName: "line-delete", isWholeLine: true}), lineDeleteMargin: j.a.register({marginClassName: "line-delete"})}; class me extends ce { constructor(e2, t2) { - super(e2), this._disableSash = false === t2, this._sashRatio = null, this._sashPosition = null, this._startSashPosition = null, this._sash = this._register(new s.a(this._dataSource.getContainerDomNode(), this, {orientation: 0})), this._disableSash && (this._sash.state = 0), this._sash.onDidStart(() => this.onSashDragStart()), this._sash.onDidChange((e3) => this.onSashDrag(e3)), this._sash.onDidEnd(() => this.onSashDragEnd()), this._sash.onDidReset(() => this.onSashReset()); + super(e2), this._disableSash = t2 === false, this._sashRatio = null, this._sashPosition = null, this._startSashPosition = null, this._sash = this._register(new s.a(this._dataSource.getContainerDomNode(), this, {orientation: 0})), this._disableSash && (this._sash.state = 0), this._sash.onDidStart(() => this.onSashDragStart()), this._sash.onDidChange((e3) => this.onSashDrag(e3)), this._sash.onDidEnd(() => this.onSashDragEnd()), this._sash.onDidReset(() => this.onSashReset()); } setEnableSplitViewResizing(e2) { - let t2 = false === e2; + let t2 = e2 === false; this._disableSash !== t2 && (this._disableSash = t2, this._sash.state = this._disableSash ? 0 : 3); } layout(e2 = this._sashRatio) { @@ -54866,11 +54866,11 @@ ${Object(zn.b)(wi)} let m2 = document.createElement("div"); m2.className = "view-lines line-delete " + te.a, m2.innerHTML = o2.build(), h.a.applyFontInfoSlow(m2, a2); let g2 = document.createElement("div"); - return g2.className = "inline-deleted-margin-view-zone", g2.innerHTML = r2.join(""), h.a.applyFontInfoSlow(g2, a2), {shouldNotShrink: true, afterLineNumber: 0 === e2.modifiedEndLineNumber ? e2.modifiedStartLineNumber : e2.modifiedStartLineNumber - 1, heightInLines: t2, minWidthInPx: u2 * d2, domNode: m2, marginDomNode: g2, diff: {originalStartLineNumber: e2.originalStartLineNumber, originalEndLineNumber: e2.originalEndLineNumber, modifiedStartLineNumber: e2.modifiedStartLineNumber, modifiedEndLineNumber: e2.modifiedEndLineNumber, originalContent: p2}}; + return g2.className = "inline-deleted-margin-view-zone", g2.innerHTML = r2.join(""), h.a.applyFontInfoSlow(g2, a2), {shouldNotShrink: true, afterLineNumber: e2.modifiedEndLineNumber === 0 ? e2.modifiedStartLineNumber : e2.modifiedStartLineNumber - 1, heightInLines: t2, minWidthInPx: u2 * d2, domNode: m2, marginDomNode: g2, diff: {originalStartLineNumber: e2.originalStartLineNumber, originalEndLineNumber: e2.originalEndLineNumber, modifiedStartLineNumber: e2.modifiedStartLineNumber, modifiedEndLineNumber: e2.modifiedEndLineNumber, originalContent: p2}}; } _renderOriginalLine(e2, t2, n2, i2, o2, r2, s2) { const a2 = t2.getLineTokens(o2), l2 = a2.getLineContent(), c2 = n2.get(36), d2 = H.a.filter(r2, o2, 1, l2.length + 1); - s2.appendASCIIString('<div class="view-line'), 0 === r2.length && s2.appendASCIIString(" char-delete"), s2.appendASCIIString('" style="top:'), s2.appendASCIIString(String(e2 * n2.get(51))), s2.appendASCIIString('px;width:1000000px;">'); + s2.appendASCIIString('<div class="view-line'), r2.length === 0 && s2.appendASCIIString(" char-delete"), s2.appendASCIIString('" style="top:'), s2.appendASCIIString(String(e2 * n2.get(51))), s2.appendASCIIString('px;width:1000000px;">'); const h2 = S.d.isBasicASCII(l2, t2.mightContainNonBasicASCII()), u2 = S.d.containsRTL(l2, h2, t2.mightContainRTL()), p2 = Object(x.d)(new x.c(c2.isMonospace && !n2.get(24), c2.canUseHalfwidthRightwardsArrow, l2, false, h2, u2, 0, a2, d2, i2, 0, c2.spaceWidth, c2.middotWidth, c2.wsmiddotWidth, n2.get(95), n2.get(80), n2.get(74), n2.get(37) !== v.e.OFF, null), s2); s2.appendASCIIString("</div>"); const m2 = p2.characterMapping.getAbsoluteOffsets(); @@ -54889,9 +54889,9 @@ ${Object(zn.b)(wi)} const i2 = e2.getColor(E.p); i2 && (t2.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${i2}; }`), t2.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${i2}; }`), t2.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${i2}; }`)); const o2 = e2.getColor(E.o); - o2 && t2.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc" === e2.type ? "dashed" : "solid"} ${o2}; }`); + o2 && t2.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${e2.type === "hc" ? "dashed" : "solid"} ${o2}; }`); const r2 = e2.getColor(E.q); - r2 && t2.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc" === e2.type ? "dashed" : "solid"} ${r2}; }`); + r2 && t2.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${e2.type === "hc" ? "dashed" : "solid"} ${r2}; }`); const s2 = e2.getColor(E.ic); s2 && t2.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${s2}; }`); const a2 = e2.getColor(E.l); @@ -54938,22 +54938,22 @@ ${Object(zn.b)(wi)} } } function t2(e3, t3) { - (null == t3 || t3 > e3.length) && (t3 = e3.length); + (t3 == null || t3 > e3.length) && (t3 = e3.length); for (var n3 = 0, i2 = new Array(t3); n3 < t3; n3++) i2[n3] = e3[n3]; return i2; } function n2(e3, n3) { var i2; - if ("undefined" == typeof Symbol || null == e3[Symbol.iterator]) { + if (typeof Symbol == "undefined" || e3[Symbol.iterator] == null) { if (Array.isArray(e3) || (i2 = function(e4, n4) { if (e4) { - if ("string" == typeof e4) + if (typeof e4 == "string") return t2(e4, n4); var i3 = Object.prototype.toString.call(e4).slice(8, -1); - return "Object" === i3 && e4.constructor && (i3 = e4.constructor.name), "Map" === i3 || "Set" === i3 ? Array.from(e4) : "Arguments" === i3 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i3) ? t2(e4, n4) : void 0; + return i3 === "Object" && e4.constructor && (i3 = e4.constructor.name), i3 === "Map" || i3 === "Set" ? Array.from(e4) : i3 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i3) ? t2(e4, n4) : void 0; } - }(e3)) || n3 && e3 && "number" == typeof e3.length) { + }(e3)) || n3 && e3 && typeof e3.length == "number") { i2 && (e3 = i2); var o2 = 0; return function() { @@ -54978,18 +54978,18 @@ ${Object(zn.b)(wi)} }, d = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi; function h(e3) { return e3.replace(d, function(e4, t3) { - return "colon" === (t3 = t3.toLowerCase()) ? ":" : "#" === t3.charAt(0) ? "x" === t3.charAt(1) ? String.fromCharCode(parseInt(t3.substring(2), 16)) : String.fromCharCode(+t3.substring(1)) : ""; + return (t3 = t3.toLowerCase()) === "colon" ? ":" : t3.charAt(0) === "#" ? t3.charAt(1) === "x" ? String.fromCharCode(parseInt(t3.substring(2), 16)) : String.fromCharCode(+t3.substring(1)) : ""; }); } var u = /(^|[^\[])\^/g, p = /[^\w:]/g, m = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i, g = {}, f = /^[^:]+:\/*[^/]*$/, b = /^([^:]+:)[\s\S]*$/, _ = /^([^:]+:\/*[^/]*)[\s\S]*$/; function v(e3, t3) { g[" " + e3] || (f.test(e3) ? g[" " + e3] = e3 + "/" : g[" " + e3] = w(e3, "/", true)); - var n3 = -1 === (e3 = g[" " + e3]).indexOf(":"); - return "//" === t3.substring(0, 2) ? n3 ? t3 : e3.replace(b, "$1") + t3 : "/" === t3.charAt(0) ? n3 ? t3 : e3.replace(_, "$1") + t3 : e3 + t3; + var n3 = (e3 = g[" " + e3]).indexOf(":") === -1; + return t3.substring(0, 2) === "//" ? n3 ? t3 : e3.replace(b, "$1") + t3 : t3.charAt(0) === "/" ? n3 ? t3 : e3.replace(_, "$1") + t3 : e3 + t3; } function w(e3, t3, n3) { var i2 = e3.length; - if (0 === i2) + if (i2 === 0) return ""; for (var o2 = 0; o2 < i2; ) { var r2 = e3.charAt(i2 - o2 - 1); @@ -55025,7 +55025,7 @@ ${Object(zn.b)(wi)} } catch (e4) { return null; } - if (0 === i2.indexOf("javascript:") || 0 === i2.indexOf("vbscript:") || 0 === i2.indexOf("data:")) + if (i2.indexOf("javascript:") === 0 || i2.indexOf("vbscript:") === 0 || i2.indexOf("data:") === 0) return null; } t3 && !m.test(n3) && (n3 = v(t3, n3)); @@ -55043,7 +55043,7 @@ ${Object(zn.b)(wi)} return e3; }, T = function(e3, t3) { var n3 = e3.replace(/\|/g, function(e4, t4, n4) { - for (var i3 = false, o2 = t4; --o2 >= 0 && "\\" === n4[o2]; ) + for (var i3 = false, o2 = t4; --o2 >= 0 && n4[o2] === "\\"; ) i3 = !i3; return i3 ? "|" : " |"; }).split(/ \|/), i2 = 0; @@ -55056,10 +55056,10 @@ ${Object(zn.b)(wi)} n3[i2] = n3[i2].trim().replace(/\\\|/g, "|"); return n3; }, L = w, N = function(e3, t3) { - if (-1 === e3.indexOf(t3[1])) + if (e3.indexOf(t3[1]) === -1) return -1; for (var n3 = e3.length, i2 = 0, o2 = 0; o2 < n3; o2++) - if ("\\" === e3[o2]) + if (e3[o2] === "\\") o2++; else if (e3[o2] === t3[0]) i2++; @@ -55071,7 +55071,7 @@ ${Object(zn.b)(wi)} }, O = i.defaults, D = L, A = T, R = y, M = N; function P(e3, t3, n3) { var i2 = t3.href, o2 = t3.title ? R(t3.title) : null, r2 = e3[1].replace(/\\([\[\]])/g, "$1"); - return "!" !== e3[0].charAt(0) ? {type: "link", raw: n3, href: i2, title: o2, text: r2} : {type: "image", raw: n3, href: i2, title: o2, text: R(r2)}; + return e3[0].charAt(0) !== "!" ? {type: "link", raw: n3, href: i2, title: o2, text: r2} : {type: "image", raw: n3, href: i2, title: o2, text: R(r2)}; } var F = function() { function e3(e4) { @@ -55086,7 +55086,7 @@ ${Object(zn.b)(wi)} var n3 = this.rules.block.code.exec(e4); if (n3) { var i2 = t4[t4.length - 1]; - if (i2 && "paragraph" === i2.type) + if (i2 && i2.type === "paragraph") return {raw: n3[0], text: n3[0].trimRight()}; var o2 = n3[0].replace(/^ {4}/gm, ""); return {type: "code", raw: n3[0], codeBlockStyle: "indented", text: this.options.pedantic ? o2 : D(o2, "\n")}; @@ -55096,12 +55096,12 @@ ${Object(zn.b)(wi)} if (t4) { var n3 = t4[0], i2 = function(e5, t5) { var n4 = e5.match(/^(\s+)(?:```)/); - if (null === n4) + if (n4 === null) return t5; var i3 = n4[1]; return t5.split("\n").map(function(e6) { var t6 = e6.match(/^\s+/); - return null === t6 ? e6 : t6[0].length >= i3.length ? e6.slice(i3.length) : e6; + return t6 === null ? e6 : t6[0].length >= i3.length ? e6.slice(i3.length) : e6; }).join("\n"); }(n3, t4[3] || ""); return {type: "code", raw: n3, lang: t4[2] ? t4[2].trim() : t4[2], text: i2}; @@ -55136,14 +55136,14 @@ ${Object(zn.b)(wi)} }, t3.list = function(e4) { var t4 = this.rules.block.list.exec(e4); if (t4) { - for (var n3, i2, o2, r2, s2, a2, l2, c2 = t4[0], d2 = t4[2], h2 = d2.length > 1, u2 = ")" === d2[d2.length - 1], p2 = {type: "list", raw: c2, ordered: h2, start: h2 ? +d2.slice(0, -1) : "", loose: false, items: []}, m2 = t4[0].match(this.rules.block.item), g2 = false, f2 = m2.length, b2 = 0; b2 < f2; b2++) - c2 = n3 = m2[b2], i2 = n3.length, ~(n3 = n3.replace(/^ *([*+-]|\d+[.)]) */, "")).indexOf("\n ") && (i2 -= n3.length, n3 = this.options.pedantic ? n3.replace(/^ {1,4}/gm, "") : n3.replace(new RegExp("^ {1," + i2 + "}", "gm"), "")), b2 !== f2 - 1 && (o2 = this.rules.block.bullet.exec(m2[b2 + 1])[0], (h2 ? 1 === o2.length || !u2 && ")" === o2[o2.length - 1] : o2.length > 1 || this.options.smartLists && o2 !== d2) && (r2 = m2.slice(b2 + 1).join("\n"), p2.raw = p2.raw.substring(0, p2.raw.length - r2.length), b2 = f2 - 1)), s2 = g2 || /\n\n(?!\s*$)/.test(n3), b2 !== f2 - 1 && (g2 = "\n" === n3.charAt(n3.length - 1), s2 || (s2 = g2)), s2 && (p2.loose = true), l2 = void 0, (a2 = /^\[[ xX]\] /.test(n3)) && (l2 = " " !== n3[1], n3 = n3.replace(/^\[[ xX]\] +/, "")), p2.items.push({type: "list_item", raw: c2, task: a2, checked: l2, loose: s2, text: n3}); + for (var n3, i2, o2, r2, s2, a2, l2, c2 = t4[0], d2 = t4[2], h2 = d2.length > 1, u2 = d2[d2.length - 1] === ")", p2 = {type: "list", raw: c2, ordered: h2, start: h2 ? +d2.slice(0, -1) : "", loose: false, items: []}, m2 = t4[0].match(this.rules.block.item), g2 = false, f2 = m2.length, b2 = 0; b2 < f2; b2++) + c2 = n3 = m2[b2], i2 = n3.length, ~(n3 = n3.replace(/^ *([*+-]|\d+[.)]) */, "")).indexOf("\n ") && (i2 -= n3.length, n3 = this.options.pedantic ? n3.replace(/^ {1,4}/gm, "") : n3.replace(new RegExp("^ {1," + i2 + "}", "gm"), "")), b2 !== f2 - 1 && (o2 = this.rules.block.bullet.exec(m2[b2 + 1])[0], (h2 ? o2.length === 1 || !u2 && o2[o2.length - 1] === ")" : o2.length > 1 || this.options.smartLists && o2 !== d2) && (r2 = m2.slice(b2 + 1).join("\n"), p2.raw = p2.raw.substring(0, p2.raw.length - r2.length), b2 = f2 - 1)), s2 = g2 || /\n\n(?!\s*$)/.test(n3), b2 !== f2 - 1 && (g2 = n3.charAt(n3.length - 1) === "\n", s2 || (s2 = g2)), s2 && (p2.loose = true), l2 = void 0, (a2 = /^\[[ xX]\] /.test(n3)) && (l2 = n3[1] !== " ", n3 = n3.replace(/^\[[ xX]\] +/, "")), p2.items.push({type: "list_item", raw: c2, task: a2, checked: l2, loose: s2, text: n3}); return p2; } }, t3.html = function(e4) { var t4 = this.rules.block.html.exec(e4); if (t4) - return {type: this.options.sanitize ? "paragraph" : "html", raw: t4[0], pre: !this.options.sanitizer && ("pre" === t4[1] || "script" === t4[1] || "style" === t4[1]), text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(t4[0]) : R(t4[0]) : t4[0]}; + return {type: this.options.sanitize ? "paragraph" : "html", raw: t4[0], pre: !this.options.sanitizer && (t4[1] === "pre" || t4[1] === "script" || t4[1] === "style"), text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(t4[0]) : R(t4[0]) : t4[0]}; }, t3.def = function(e4) { var t4 = this.rules.block.def.exec(e4); if (t4) @@ -55165,16 +55165,16 @@ ${Object(zn.b)(wi)} }, t3.lheading = function(e4) { var t4 = this.rules.block.lheading.exec(e4); if (t4) - return {type: "heading", raw: t4[0], depth: "=" === t4[2].charAt(0) ? 1 : 2, text: t4[1]}; + return {type: "heading", raw: t4[0], depth: t4[2].charAt(0) === "=" ? 1 : 2, text: t4[1]}; }, t3.paragraph = function(e4) { var t4 = this.rules.block.paragraph.exec(e4); if (t4) - return {type: "paragraph", raw: t4[0], text: "\n" === t4[1].charAt(t4[1].length - 1) ? t4[1].slice(0, -1) : t4[1]}; + return {type: "paragraph", raw: t4[0], text: t4[1].charAt(t4[1].length - 1) === "\n" ? t4[1].slice(0, -1) : t4[1]}; }, t3.text = function(e4, t4) { var n3 = this.rules.block.text.exec(e4); if (n3) { var i2 = t4[t4.length - 1]; - return i2 && "text" === i2.type ? {raw: n3[0], text: n3[0]} : {type: "text", raw: n3[0], text: n3[0]}; + return i2 && i2.type === "text" ? {raw: n3[0], text: n3[0]} : {type: "text", raw: n3[0], text: n3[0]}; } }, t3.escape = function(e4) { var t4 = this.rules.inline.escape.exec(e4); @@ -55189,7 +55189,7 @@ ${Object(zn.b)(wi)} if (t4) { var n3 = M(t4[2], "()"); if (n3 > -1) { - var i2 = (0 === t4[0].indexOf("!") ? 5 : 4) + t4[1].length + n3; + var i2 = (t4[0].indexOf("!") === 0 ? 5 : 4) + t4[1].length + n3; t4[2] = t4[2].substring(0, n3), t4[0] = t4[0].substring(0, i2).trim(), t4[3] = ""; } var o2 = t4[2], r2 = ""; @@ -55211,22 +55211,22 @@ ${Object(zn.b)(wi)} return P(n3, i2, n3[0]); } }, t3.strong = function(e4, t4, n3) { - void 0 === n3 && (n3 = ""); + n3 === void 0 && (n3 = ""); var i2 = this.rules.inline.strong.start.exec(e4); - if (i2 && (!i2[1] || i2[1] && ("" === n3 || this.rules.inline.punctuation.exec(n3)))) { + if (i2 && (!i2[1] || i2[1] && (n3 === "" || this.rules.inline.punctuation.exec(n3)))) { t4 = t4.slice(-1 * e4.length); - var o2, r2 = "**" === i2[0] ? this.rules.inline.strong.endAst : this.rules.inline.strong.endUnd; - for (r2.lastIndex = 0; null != (i2 = r2.exec(t4)); ) + var o2, r2 = i2[0] === "**" ? this.rules.inline.strong.endAst : this.rules.inline.strong.endUnd; + for (r2.lastIndex = 0; (i2 = r2.exec(t4)) != null; ) if (o2 = this.rules.inline.strong.middle.exec(t4.slice(0, i2.index + 3))) return {type: "strong", raw: e4.slice(0, o2[0].length), text: e4.slice(2, o2[0].length - 2)}; } }, t3.em = function(e4, t4, n3) { - void 0 === n3 && (n3 = ""); + n3 === void 0 && (n3 = ""); var i2 = this.rules.inline.em.start.exec(e4); - if (i2 && (!i2[1] || i2[1] && ("" === n3 || this.rules.inline.punctuation.exec(n3)))) { + if (i2 && (!i2[1] || i2[1] && (n3 === "" || this.rules.inline.punctuation.exec(n3)))) { t4 = t4.slice(-1 * e4.length); - var o2, r2 = "*" === i2[0] ? this.rules.inline.em.endAst : this.rules.inline.em.endUnd; - for (r2.lastIndex = 0; null != (i2 = r2.exec(t4)); ) + var o2, r2 = i2[0] === "*" ? this.rules.inline.em.endAst : this.rules.inline.em.endUnd; + for (r2.lastIndex = 0; (i2 = r2.exec(t4)) != null; ) if (o2 = this.rules.inline.em.middle.exec(t4.slice(0, i2.index + 2))) return {type: "em", raw: e4.slice(0, o2[0].length), text: e4.slice(1, o2[0].length - 1)}; } @@ -55247,19 +55247,19 @@ ${Object(zn.b)(wi)} }, t3.autolink = function(e4, t4) { var n3, i2, o2 = this.rules.inline.autolink.exec(e4); if (o2) - return i2 = "@" === o2[2] ? "mailto:" + (n3 = R(this.options.mangle ? t4(o2[1]) : o2[1])) : n3 = R(o2[1]), {type: "link", raw: o2[0], text: n3, href: i2, tokens: [{type: "text", raw: n3, text: n3}]}; + return i2 = o2[2] === "@" ? "mailto:" + (n3 = R(this.options.mangle ? t4(o2[1]) : o2[1])) : n3 = R(o2[1]), {type: "link", raw: o2[0], text: n3, href: i2, tokens: [{type: "text", raw: n3, text: n3}]}; }, t3.url = function(e4, t4) { var n3; if (n3 = this.rules.inline.url.exec(e4)) { var i2, o2; - if ("@" === n3[2]) + if (n3[2] === "@") o2 = "mailto:" + (i2 = R(this.options.mangle ? t4(n3[0]) : n3[0])); else { var r2; do { r2 = n3[0], n3[0] = this.rules.inline._backpedal.exec(n3[0])[0]; } while (r2 !== n3[0]); - i2 = R(n3[0]), o2 = "www." === n3[1] ? "http://" + i2 : i2; + i2 = R(n3[0]), o2 = n3[1] === "www." ? "http://" + i2 : i2; } return {type: "link", raw: n3[0], text: i2, href: o2, tokens: [{type: "text", raw: i2, text: i2}]}; } @@ -55274,7 +55274,7 @@ ${Object(zn.b)(wi)} V.punctuation = z(V.punctuation).replace(/punctuation/g, V._punctuation).getRegex(), V._blockSkip = "\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>", V._overlapSkip = "__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*", V._comment = z(j._comment).replace("(?:-->|$)", "-->").getRegex(), V.em.start = z(V.em.start).replace(/punctuation/g, V._punctuation).getRegex(), V.em.middle = z(V.em.middle).replace(/punctuation/g, V._punctuation).replace(/overlapSkip/g, V._overlapSkip).getRegex(), V.em.endAst = z(V.em.endAst, "g").replace(/punctuation/g, V._punctuation).getRegex(), V.em.endUnd = z(V.em.endUnd, "g").replace(/punctuation/g, V._punctuation).getRegex(), V.strong.start = z(V.strong.start).replace(/punctuation/g, V._punctuation).getRegex(), V.strong.middle = z(V.strong.middle).replace(/punctuation/g, V._punctuation).replace(/blockSkip/g, V._blockSkip).getRegex(), V.strong.endAst = z(V.strong.endAst, "g").replace(/punctuation/g, V._punctuation).getRegex(), V.strong.endUnd = z(V.strong.endUnd, "g").replace(/punctuation/g, V._punctuation).getRegex(), V.blockSkip = z(V._blockSkip, "g").getRegex(), V.overlapSkip = z(V._overlapSkip, "g").getRegex(), V._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g, V._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/, V._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/, V.autolink = z(V.autolink).replace("scheme", V._scheme).replace("email", V._email).getRegex(), V._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/, V.tag = z(V.tag).replace("comment", V._comment).replace("attribute", V._attribute).getRegex(), V._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, V._href = /<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/, V._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/, V.link = z(V.link).replace("label", V._label).replace("href", V._href).replace("title", V._title).getRegex(), V.reflink = z(V.reflink).replace("label", V._label).getRegex(), V.reflinkSearch = z(V.reflinkSearch, "g").replace("reflink", V.reflink).replace("nolink", V.nolink).getRegex(), V.normal = B({}, V), V.pedantic = B({}, V.normal, {strong: {start: /^__|\*\*/, middle: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/, endAst: /\*\*(?!\*)/g, endUnd: /__(?!_)/g}, em: {start: /^_|\*/, middle: /^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/, endAst: /\*(?!\*)/g, endUnd: /_(?!_)/g}, link: z(/^!?\[(label)\]\((.*?)\)/).replace("label", V._label).getRegex(), reflink: z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", V._label).getRegex()}), V.gfm = B({}, V.normal, {escape: z(V.escape).replace("])", "~|])").getRegex(), _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/, url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/, del: /^~+(?=\S)([\s\S]*?\S)~+/, text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}), V.gfm.url = z(V.gfm.url, "i").replace("email", V.gfm._extended_email).getRegex(), V.breaks = B({}, V.gfm, {br: z(V.br).replace("{2,}", "*").getRegex(), text: z(V.gfm.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()}); var U = {block: j, inline: V}, H = i.defaults, q = U.block, $ = U.inline; function K(e3) { - return e3.replace(/---/g, "—").replace(/--/g, "–").replace(/(^|[-\u2014/(\[{"\s])'/g, "$1‘").replace(/'/g, "’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g, "$1“").replace(/"/g, "”").replace(/\.{3}/g, "…"); + return e3.replace(/---/g, "\u2014").replace(/--/g, "\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g, "$1\u2018").replace(/'/g, "\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g, "$1\u201C").replace(/"/g, "\u201D").replace(/\.{3}/g, "\u2026"); } function G(e3) { var t3, n3, i2 = "", o2 = e3.length; @@ -55296,7 +55296,7 @@ ${Object(zn.b)(wi)} return e3 = e3.replace(/\r\n|\r/g, "\n").replace(/\t/g, " "), this.blockTokens(e3, this.tokens, true), this.inline(this.tokens), this.tokens; }, r2.blockTokens = function(e3, t4, n4) { var i3, o3, r3, s2; - for (void 0 === t4 && (t4 = []), void 0 === n4 && (n4 = true), e3 = e3.replace(/^ +$/gm, ""); e3; ) + for (t4 === void 0 && (t4 = []), n4 === void 0 && (n4 = true), e3 = e3.replace(/^ +$/gm, ""); e3; ) if (i3 = this.tokenizer.space(e3)) e3 = e3.substring(i3.raw.length), i3.type && t4.push(i3); else if (i3 = this.tokenizer.code(e3, t4)) @@ -55362,15 +55362,15 @@ ${Object(zn.b)(wi)} return e3; }, r2.inlineTokens = function(e3, t4, n4, i3, o3) { var r3; - void 0 === t4 && (t4 = []), void 0 === n4 && (n4 = false), void 0 === i3 && (i3 = false), void 0 === o3 && (o3 = ""); + t4 === void 0 && (t4 = []), n4 === void 0 && (n4 = false), i3 === void 0 && (i3 = false), o3 === void 0 && (o3 = ""); var s2, a2 = e3; if (this.tokens.links) { var l2 = Object.keys(this.tokens.links); if (l2.length > 0) - for (; null != (s2 = this.tokenizer.rules.inline.reflinkSearch.exec(a2)); ) + for (; (s2 = this.tokenizer.rules.inline.reflinkSearch.exec(a2)) != null; ) l2.includes(s2[0].slice(s2[0].lastIndexOf("[") + 1, -1)) && (a2 = a2.slice(0, s2.index) + "[" + "a".repeat(s2[0].length - 2) + "]" + a2.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)); } - for (; null != (s2 = this.tokenizer.rules.inline.blockSkip.exec(a2)); ) + for (; (s2 = this.tokenizer.rules.inline.blockSkip.exec(a2)) != null; ) a2 = a2.slice(0, s2.index) + "[" + "a".repeat(s2[0].length - 2) + "]" + a2.slice(this.tokenizer.rules.inline.blockSkip.lastIndex); for (; e3; ) if (r3 = this.tokenizer.escape(e3)) @@ -55378,9 +55378,9 @@ ${Object(zn.b)(wi)} else if (r3 = this.tokenizer.tag(e3, n4, i3)) e3 = e3.substring(r3.raw.length), n4 = r3.inLink, i3 = r3.inRawBlock, t4.push(r3); else if (r3 = this.tokenizer.link(e3)) - e3 = e3.substring(r3.raw.length), "link" === r3.type && (r3.tokens = this.inlineTokens(r3.text, [], true, i3)), t4.push(r3); + e3 = e3.substring(r3.raw.length), r3.type === "link" && (r3.tokens = this.inlineTokens(r3.text, [], true, i3)), t4.push(r3); else if (r3 = this.tokenizer.reflink(e3, this.tokens.links)) - e3 = e3.substring(r3.raw.length), "link" === r3.type && (r3.tokens = this.inlineTokens(r3.text, [], true, i3)), t4.push(r3); + e3 = e3.substring(r3.raw.length), r3.type === "link" && (r3.tokens = this.inlineTokens(r3.text, [], true, i3)), t4.push(r3); else if (r3 = this.tokenizer.strong(e3, a2, o3)) e3 = e3.substring(r3.raw.length), r3.tokens = this.inlineTokens(r3.text, [], n4, i3), t4.push(r3); else if (r3 = this.tokenizer.em(e3, a2, o3)) @@ -55419,7 +55419,7 @@ ${Object(zn.b)(wi)} var i2 = (t4 || "").match(/\S*/)[0]; if (this.options.highlight) { var o2 = this.options.highlight(e4, i2); - null != o2 && o2 !== e4 && (n3 = true, e4 = o2); + o2 != null && o2 !== e4 && (n3 = true, e4 = o2); } return i2 ? '<pre><code class="' + this.options.langPrefix + Q(i2, true) + '">' + (n3 ? e4 : Q(e4, true)) + "</code></pre>\n" : "<pre><code>" + (n3 ? e4 : Q(e4, true)) + "</code></pre>\n"; }, t3.blockquote = function(e4) { @@ -55432,7 +55432,7 @@ ${Object(zn.b)(wi)} return this.options.xhtml ? "<hr/>\n" : "<hr>\n"; }, t3.list = function(e4, t4, n3) { var i2 = t4 ? "ol" : "ul"; - return "<" + i2 + (t4 && 1 !== n3 ? ' start="' + n3 + '"' : "") + ">\n" + e4 + "</" + i2 + ">\n"; + return "<" + i2 + (t4 && n3 !== 1 ? ' start="' + n3 + '"' : "") + ">\n" + e4 + "</" + i2 + ">\n"; }, t3.listitem = function(e4) { return "<li>" + e4 + "</li>\n"; }, t3.checkbox = function(e4) { @@ -55457,12 +55457,12 @@ ${Object(zn.b)(wi)} }, t3.del = function(e4) { return "<del>" + e4 + "</del>"; }, t3.link = function(e4, t4, n3) { - if (null === (e4 = X(this.options.sanitize, this.options.baseUrl, e4))) + if ((e4 = X(this.options.sanitize, this.options.baseUrl, e4)) === null) return n3; var i2 = '<a href="' + Q(e4) + '"'; return t4 && (i2 += ' title="' + t4 + '"'), i2 += ">" + n3 + "</a>"; }, t3.image = function(e4, t4, n3) { - if (null === (e4 = X(this.options.sanitize, this.options.baseUrl, e4))) + if ((e4 = X(this.options.sanitize, this.options.baseUrl, e4)) === null) return n3; var i2 = '<img src="' + e4 + '" alt="' + n3 + '"'; return t4 && (i2 += ' title="' + t4 + '"'), i2 += this.options.xhtml ? "/>" : ">"; @@ -55509,7 +55509,7 @@ ${Object(zn.b)(wi)} } return t4 || (this.seen[e4] = i2, this.seen[n3] = 0), n3; }, t3.slug = function(e4, t4) { - void 0 === t4 && (t4 = {}); + t4 === void 0 && (t4 = {}); var n3 = this.serialize(e4); return this.getNextSafeSlug(n3, t4.dryrun); }, e3; @@ -55522,7 +55522,7 @@ ${Object(zn.b)(wi)} }; var t3 = e3.prototype; return t3.parse = function(e4, t4) { - void 0 === t4 && (t4 = true); + t4 === void 0 && (t4 = true); var n3, i2, o2, r2, s2, a2, l2, c2, d2, h2, u2, p2, m2, g2, f2, b2, _2, v2, w2 = "", y2 = e4.length; for (n3 = 0; n3 < y2; n3++) switch ((h2 = e4[n3]).type) { @@ -55552,7 +55552,7 @@ ${Object(zn.b)(wi)} continue; case "list": for (u2 = h2.ordered, p2 = h2.start, m2 = h2.loose, r2 = h2.items.length, d2 = "", i2 = 0; i2 < r2; i2++) - b2 = (f2 = h2.items[i2]).checked, _2 = f2.task, g2 = "", f2.task && (v2 = this.renderer.checkbox(b2), m2 ? f2.tokens.length > 0 && "text" === f2.tokens[0].type ? (f2.tokens[0].text = v2 + " " + f2.tokens[0].text, f2.tokens[0].tokens && f2.tokens[0].tokens.length > 0 && "text" === f2.tokens[0].tokens[0].type && (f2.tokens[0].tokens[0].text = v2 + " " + f2.tokens[0].tokens[0].text)) : f2.tokens.unshift({type: "text", text: v2}) : g2 += v2), g2 += this.parse(f2.tokens, m2), d2 += this.renderer.listitem(g2, _2, b2); + b2 = (f2 = h2.items[i2]).checked, _2 = f2.task, g2 = "", f2.task && (v2 = this.renderer.checkbox(b2), m2 ? f2.tokens.length > 0 && f2.tokens[0].type === "text" ? (f2.tokens[0].text = v2 + " " + f2.tokens[0].text, f2.tokens[0].tokens && f2.tokens[0].tokens.length > 0 && f2.tokens[0].tokens[0].type === "text" && (f2.tokens[0].tokens[0].text = v2 + " " + f2.tokens[0].tokens[0].text)) : f2.tokens.unshift({type: "text", text: v2}) : g2 += v2), g2 += this.parse(f2.tokens, m2), d2 += this.renderer.listitem(g2, _2, b2); w2 += this.renderer.list(d2, u2, p2); continue; case "html": @@ -55562,7 +55562,7 @@ ${Object(zn.b)(wi)} w2 += this.renderer.paragraph(this.parseInline(h2.tokens)); continue; case "text": - for (d2 = h2.tokens ? this.parseInline(h2.tokens) : h2.text; n3 + 1 < y2 && "text" === e4[n3 + 1].type; ) + for (d2 = h2.tokens ? this.parseInline(h2.tokens) : h2.text; n3 + 1 < y2 && e4[n3 + 1].type === "text"; ) d2 += "\n" + ((h2 = e4[++n3]).tokens ? this.parseInline(h2.tokens) : h2.text); w2 += t4 ? this.renderer.paragraph(d2) : d2; continue; @@ -55618,11 +55618,11 @@ ${Object(zn.b)(wi)} }, e3; }(), re = E, se = I, ae = y, le = i.getDefaults, ce = i.changeDefaults, de = i.defaults; function he(e3, t3, n3) { - if (null == e3) + if (e3 == null) throw new Error("marked(): input parameter is undefined or null"); - if ("string" != typeof e3) + if (typeof e3 != "string") throw new Error("marked(): input parameter is of type " + Object.prototype.toString.call(e3) + ", string expected"); - if ("function" == typeof t3 && (n3 = t3, t3 = null), t3 = re({}, he.defaults, t3 || {}), se(t3), n3) { + if (typeof t3 == "function" && (n3 = t3, t3 = null), t3 = re({}, he.defaults, t3 || {}), se(t3), n3) { var i2, o2 = t3.highlight; try { i2 = Y.lex(e3, t3); @@ -55645,14 +55645,14 @@ ${Object(zn.b)(wi)} return r2(); var s2 = 0; return he.walkTokens(i2, function(e4) { - "code" === e4.type && (s2++, setTimeout(function() { + e4.type === "code" && (s2++, setTimeout(function() { o2(e4.text, e4.lang, function(t4, n4) { if (t4) return r2(t4); - null != n4 && n4 !== e4.text && (e4.text = n4, e4.escaped = true), 0 == --s2 && r2(); + n4 != null && n4 !== e4.text && (e4.text = n4, e4.escaped = true), --s2 == 0 && r2(); }); }, 0)); - }), void (0 === s2 && r2()); + }), void (s2 === 0 && r2()); } try { var a2 = Y.lex(e3, t3); @@ -55674,7 +55674,7 @@ ${Object(zn.b)(wi)} for (var o3 = arguments.length, r2 = new Array(o3), s2 = 0; s2 < o3; s2++) r2[s2] = arguments[s2]; var a2 = e3.renderer[t4].apply(n4, r2); - return false === a2 && (a2 = i3.apply(n4, r2)), a2; + return a2 === false && (a2 = i3.apply(n4, r2)), a2; }; }; for (var o2 in e3.renderer) @@ -55687,7 +55687,7 @@ ${Object(zn.b)(wi)} for (var o3 = arguments.length, r2 = new Array(o3), s2 = 0; s2 < o3; s2++) r2[s2] = arguments[s2]; var a2 = e3.tokenizer[t4].apply(n4, r2); - return false === a2 && (a2 = i3.apply(n4, r2)), a2; + return a2 === false && (a2 = i3.apply(n4, r2)), a2; }; }; for (var o2 in e3.tokenizer) @@ -55726,31 +55726,31 @@ ${Object(zn.b)(wi)} }(); }, function(e, t, n) { var i = n(32), o = n(250); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; }, function(e, t, n) { var i = n(32), o = n(263); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; }, function(e, t, n) { var i = n(32), o = n(297); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; }, function(e, t, n) { var i = n(32), o = n(304); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; }, function(e, t, n) { var i = n(32), o = n(201); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -55766,31 +55766,31 @@ ${Object(zn.b)(wi)} function a(e3, t2) { if (s() < t2) throw new RangeError("Invalid typed array length"); - return l.TYPED_ARRAY_SUPPORT ? (e3 = new Uint8Array(t2)).__proto__ = l.prototype : (null === e3 && (e3 = new l(t2)), e3.length = t2), e3; + return l.TYPED_ARRAY_SUPPORT ? (e3 = new Uint8Array(t2)).__proto__ = l.prototype : (e3 === null && (e3 = new l(t2)), e3.length = t2), e3; } function l(e3, t2, n2) { if (!(l.TYPED_ARRAY_SUPPORT || this instanceof l)) return new l(e3, t2, n2); - if ("number" == typeof e3) { - if ("string" == typeof t2) + if (typeof e3 == "number") { + if (typeof t2 == "string") throw new Error("If encoding is specified then the first argument must be a string"); return h(this, e3); } return c(this, e3, t2, n2); } function c(e3, t2, n2, i2) { - if ("number" == typeof t2) + if (typeof t2 == "number") throw new TypeError('"value" argument must not be a number'); - return "undefined" != typeof ArrayBuffer && t2 instanceof ArrayBuffer ? function(e4, t3, n3, i3) { + return typeof ArrayBuffer != "undefined" && t2 instanceof ArrayBuffer ? function(e4, t3, n3, i3) { if (t3.byteLength, n3 < 0 || t3.byteLength < n3) throw new RangeError("'offset' is out of bounds"); if (t3.byteLength < n3 + (i3 || 0)) throw new RangeError("'length' is out of bounds"); - t3 = void 0 === n3 && void 0 === i3 ? new Uint8Array(t3) : void 0 === i3 ? new Uint8Array(t3, n3) : new Uint8Array(t3, n3, i3); + t3 = n3 === void 0 && i3 === void 0 ? new Uint8Array(t3) : i3 === void 0 ? new Uint8Array(t3, n3) : new Uint8Array(t3, n3, i3); l.TYPED_ARRAY_SUPPORT ? (e4 = t3).__proto__ = l.prototype : e4 = u(e4, t3); return e4; - }(e3, t2, n2, i2) : "string" == typeof t2 ? function(e4, t3, n3) { - "string" == typeof n3 && "" !== n3 || (n3 = "utf8"); + }(e3, t2, n2, i2) : typeof t2 == "string" ? function(e4, t3, n3) { + typeof n3 == "string" && n3 !== "" || (n3 = "utf8"); if (!l.isEncoding(n3)) throw new TypeError('"encoding" must be a valid string encoding'); var i3 = 0 | m(t3, n3), o2 = (e4 = a(e4, i3)).write(t3, n3); @@ -55799,12 +55799,12 @@ ${Object(zn.b)(wi)} }(e3, t2, n2) : function(e4, t3) { if (l.isBuffer(t3)) { var n3 = 0 | p(t3.length); - return 0 === (e4 = a(e4, n3)).length || t3.copy(e4, 0, 0, n3), e4; + return (e4 = a(e4, n3)).length === 0 || t3.copy(e4, 0, 0, n3), e4; } if (t3) { - if ("undefined" != typeof ArrayBuffer && t3.buffer instanceof ArrayBuffer || "length" in t3) - return "number" != typeof t3.length || (i3 = t3.length) != i3 ? a(e4, 0) : u(e4, t3); - if ("Buffer" === t3.type && r(t3.data)) + if (typeof ArrayBuffer != "undefined" && t3.buffer instanceof ArrayBuffer || "length" in t3) + return typeof t3.length != "number" || (i3 = t3.length) != i3 ? a(e4, 0) : u(e4, t3); + if (t3.type === "Buffer" && r(t3.data)) return u(e4, t3.data); } var i3; @@ -55812,7 +55812,7 @@ ${Object(zn.b)(wi)} }(e3, t2); } function d(e3) { - if ("number" != typeof e3) + if (typeof e3 != "number") throw new TypeError('"size" argument must be a number'); if (e3 < 0) throw new RangeError('"size" argument must not be negative'); @@ -55838,11 +55838,11 @@ ${Object(zn.b)(wi)} function m(e3, t2) { if (l.isBuffer(e3)) return e3.length; - if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e3) || e3 instanceof ArrayBuffer)) + if (typeof ArrayBuffer != "undefined" && typeof ArrayBuffer.isView == "function" && (ArrayBuffer.isView(e3) || e3 instanceof ArrayBuffer)) return e3.byteLength; - "string" != typeof e3 && (e3 = "" + e3); + typeof e3 != "string" && (e3 = "" + e3); var n2 = e3.length; - if (0 === n2) + if (n2 === 0) return 0; for (var i2 = false; ; ) switch (t2) { @@ -55871,9 +55871,9 @@ ${Object(zn.b)(wi)} } function g(e3, t2, n2) { var i2 = false; - if ((void 0 === t2 || t2 < 0) && (t2 = 0), t2 > this.length) + if ((t2 === void 0 || t2 < 0) && (t2 = 0), t2 > this.length) return ""; - if ((void 0 === n2 || n2 > this.length) && (n2 = this.length), n2 <= 0) + if ((n2 === void 0 || n2 > this.length) && (n2 = this.length), n2 <= 0) return ""; if ((n2 >>>= 0) <= (t2 >>>= 0)) return ""; @@ -55907,9 +55907,9 @@ ${Object(zn.b)(wi)} e3[t2] = e3[n2], e3[n2] = i2; } function b(e3, t2, n2, i2, o2) { - if (0 === e3.length) + if (e3.length === 0) return -1; - if ("string" == typeof n2 ? (i2 = n2, n2 = 0) : n2 > 2147483647 ? n2 = 2147483647 : n2 < -2147483648 && (n2 = -2147483648), n2 = +n2, isNaN(n2) && (n2 = o2 ? 0 : e3.length - 1), n2 < 0 && (n2 = e3.length + n2), n2 >= e3.length) { + if (typeof n2 == "string" ? (i2 = n2, n2 = 0) : n2 > 2147483647 ? n2 = 2147483647 : n2 < -2147483648 && (n2 = -2147483648), n2 = +n2, isNaN(n2) && (n2 = o2 ? 0 : e3.length - 1), n2 < 0 && (n2 = e3.length + n2), n2 >= e3.length) { if (o2) return -1; n2 = e3.length - 1; @@ -55918,30 +55918,30 @@ ${Object(zn.b)(wi)} return -1; n2 = 0; } - if ("string" == typeof t2 && (t2 = l.from(t2, i2)), l.isBuffer(t2)) - return 0 === t2.length ? -1 : _(e3, t2, n2, i2, o2); - if ("number" == typeof t2) - return t2 &= 255, l.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? o2 ? Uint8Array.prototype.indexOf.call(e3, t2, n2) : Uint8Array.prototype.lastIndexOf.call(e3, t2, n2) : _(e3, [t2], n2, i2, o2); + if (typeof t2 == "string" && (t2 = l.from(t2, i2)), l.isBuffer(t2)) + return t2.length === 0 ? -1 : _(e3, t2, n2, i2, o2); + if (typeof t2 == "number") + return t2 &= 255, l.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? o2 ? Uint8Array.prototype.indexOf.call(e3, t2, n2) : Uint8Array.prototype.lastIndexOf.call(e3, t2, n2) : _(e3, [t2], n2, i2, o2); throw new TypeError("val must be string, number or Buffer"); } function _(e3, t2, n2, i2, o2) { var r2, s2 = 1, a2 = e3.length, l2 = t2.length; - if (void 0 !== i2 && ("ucs2" === (i2 = String(i2).toLowerCase()) || "ucs-2" === i2 || "utf16le" === i2 || "utf-16le" === i2)) { + if (i2 !== void 0 && ((i2 = String(i2).toLowerCase()) === "ucs2" || i2 === "ucs-2" || i2 === "utf16le" || i2 === "utf-16le")) { if (e3.length < 2 || t2.length < 2) return -1; s2 = 2, a2 /= 2, l2 /= 2, n2 /= 2; } function c2(e4, t3) { - return 1 === s2 ? e4[t3] : e4.readUInt16BE(t3 * s2); + return s2 === 1 ? e4[t3] : e4.readUInt16BE(t3 * s2); } if (o2) { var d2 = -1; for (r2 = n2; r2 < a2; r2++) - if (c2(e3, r2) === c2(t2, -1 === d2 ? 0 : r2 - d2)) { - if (-1 === d2 && (d2 = r2), r2 - d2 + 1 === l2) + if (c2(e3, r2) === c2(t2, d2 === -1 ? 0 : r2 - d2)) { + if (d2 === -1 && (d2 = r2), r2 - d2 + 1 === l2) return d2 * s2; } else - -1 !== d2 && (r2 -= r2 - d2), d2 = -1; + d2 !== -1 && (r2 -= r2 - d2), d2 = -1; } else for (n2 + l2 > a2 && (n2 = a2 - l2), r2 = n2; r2 >= 0; r2--) { for (var h2 = true, u2 = 0; u2 < l2; u2++) @@ -55994,7 +55994,7 @@ ${Object(zn.b)(wi)} }(t2, e3.length - n2), e3, n2, i2); } function k(e3, t2, n2) { - return 0 === t2 && n2 === e3.length ? i.fromByteArray(e3) : i.fromByteArray(e3.slice(t2, n2)); + return t2 === 0 && n2 === e3.length ? i.fromByteArray(e3) : i.fromByteArray(e3.slice(t2, n2)); } function E(e3, t2, n2) { n2 = Math.min(e3.length, n2); @@ -56006,15 +56006,15 @@ ${Object(zn.b)(wi)} c2 < 128 && (d2 = c2); break; case 2: - 128 == (192 & (r2 = e3[o2 + 1])) && (l2 = (31 & c2) << 6 | 63 & r2) > 127 && (d2 = l2); + (192 & (r2 = e3[o2 + 1])) == 128 && (l2 = (31 & c2) << 6 | 63 & r2) > 127 && (d2 = l2); break; case 3: - r2 = e3[o2 + 1], s2 = e3[o2 + 2], 128 == (192 & r2) && 128 == (192 & s2) && (l2 = (15 & c2) << 12 | (63 & r2) << 6 | 63 & s2) > 2047 && (l2 < 55296 || l2 > 57343) && (d2 = l2); + r2 = e3[o2 + 1], s2 = e3[o2 + 2], (192 & r2) == 128 && (192 & s2) == 128 && (l2 = (15 & c2) << 12 | (63 & r2) << 6 | 63 & s2) > 2047 && (l2 < 55296 || l2 > 57343) && (d2 = l2); break; case 4: - r2 = e3[o2 + 1], s2 = e3[o2 + 2], a2 = e3[o2 + 3], 128 == (192 & r2) && 128 == (192 & s2) && 128 == (192 & a2) && (l2 = (15 & c2) << 18 | (63 & r2) << 12 | (63 & s2) << 6 | 63 & a2) > 65535 && l2 < 1114112 && (d2 = l2); + r2 = e3[o2 + 1], s2 = e3[o2 + 2], a2 = e3[o2 + 3], (192 & r2) == 128 && (192 & s2) == 128 && (192 & a2) == 128 && (l2 = (15 & c2) << 18 | (63 & r2) << 12 | (63 & s2) << 6 | 63 & a2) > 65535 && l2 < 1114112 && (d2 = l2); } - null === d2 ? (d2 = 65533, h2 = 1) : d2 > 65535 && (d2 -= 65536, i2.push(d2 >>> 10 & 1023 | 55296), d2 = 56320 | 1023 & d2), i2.push(d2), o2 += h2; + d2 === null ? (d2 = 65533, h2 = 1) : d2 > 65535 && (d2 -= 65536, i2.push(d2 >>> 10 & 1023 | 55296), d2 = 56320 | 1023 & d2), i2.push(d2), o2 += h2; } return function(e4) { var t3 = e4.length; @@ -56029,12 +56029,12 @@ ${Object(zn.b)(wi)} t.Buffer = l, t.SlowBuffer = function(e3) { +e3 != e3 && (e3 = 0); return l.alloc(+e3); - }, t.INSPECT_MAX_BYTES = 50, l.TYPED_ARRAY_SUPPORT = void 0 !== e2.TYPED_ARRAY_SUPPORT ? e2.TYPED_ARRAY_SUPPORT : function() { + }, t.INSPECT_MAX_BYTES = 50, l.TYPED_ARRAY_SUPPORT = e2.TYPED_ARRAY_SUPPORT !== void 0 ? e2.TYPED_ARRAY_SUPPORT : function() { try { var e3 = new Uint8Array(1); return e3.__proto__ = {__proto__: Uint8Array.prototype, foo: function() { return 42; - }}, 42 === e3.foo() && "function" == typeof e3.subarray && 0 === e3.subarray(1, 1).byteLength; + }}, e3.foo() === 42 && typeof e3.subarray == "function" && e3.subarray(1, 1).byteLength === 0; } catch (e4) { return false; } @@ -56042,16 +56042,16 @@ ${Object(zn.b)(wi)} return e3.__proto__ = l.prototype, e3; }, l.from = function(e3, t2, n2) { return c(null, e3, t2, n2); - }, l.TYPED_ARRAY_SUPPORT && (l.prototype.__proto__ = Uint8Array.prototype, l.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && l[Symbol.species] === l && Object.defineProperty(l, Symbol.species, {value: null, configurable: true})), l.alloc = function(e3, t2, n2) { + }, l.TYPED_ARRAY_SUPPORT && (l.prototype.__proto__ = Uint8Array.prototype, l.__proto__ = Uint8Array, typeof Symbol != "undefined" && Symbol.species && l[Symbol.species] === l && Object.defineProperty(l, Symbol.species, {value: null, configurable: true})), l.alloc = function(e3, t2, n2) { return function(e4, t3, n3, i2) { - return d(t3), t3 <= 0 ? a(e4, t3) : void 0 !== n3 ? "string" == typeof i2 ? a(e4, t3).fill(n3, i2) : a(e4, t3).fill(n3) : a(e4, t3); + return d(t3), t3 <= 0 ? a(e4, t3) : n3 !== void 0 ? typeof i2 == "string" ? a(e4, t3).fill(n3, i2) : a(e4, t3).fill(n3) : a(e4, t3); }(null, e3, t2, n2); }, l.allocUnsafe = function(e3) { return h(null, e3); }, l.allocUnsafeSlow = function(e3) { return h(null, e3); }, l.isBuffer = function(e3) { - return !(null == e3 || !e3._isBuffer); + return !(e3 == null || !e3._isBuffer); }, l.compare = function(e3, t2) { if (!l.isBuffer(e3) || !l.isBuffer(t2)) throw new TypeError("Arguments must be Buffers"); @@ -56083,10 +56083,10 @@ ${Object(zn.b)(wi)} }, l.concat = function(e3, t2) { if (!r(e3)) throw new TypeError('"list" argument must be an Array of Buffers'); - if (0 === e3.length) + if (e3.length === 0) return l.alloc(0); var n2; - if (void 0 === t2) + if (t2 === void 0) for (t2 = 0, n2 = 0; n2 < e3.length; ++n2) t2 += e3[n2].length; var i2 = l.allocUnsafe(t2), o2 = 0; @@ -56120,18 +56120,18 @@ ${Object(zn.b)(wi)} return this; }, l.prototype.toString = function() { var e3 = 0 | this.length; - return 0 === e3 ? "" : 0 === arguments.length ? E(this, 0, e3) : g.apply(this, arguments); + return e3 === 0 ? "" : arguments.length === 0 ? E(this, 0, e3) : g.apply(this, arguments); }, l.prototype.equals = function(e3) { if (!l.isBuffer(e3)) throw new TypeError("Argument must be a Buffer"); - return this === e3 || 0 === l.compare(this, e3); + return this === e3 || l.compare(this, e3) === 0; }, l.prototype.inspect = function() { var e3 = "", n2 = t.INSPECT_MAX_BYTES; return this.length > 0 && (e3 = this.toString("hex", 0, n2).match(/.{2}/g).join(" "), this.length > n2 && (e3 += " ... ")), "<Buffer " + e3 + ">"; }, l.prototype.compare = function(e3, t2, n2, i2, o2) { if (!l.isBuffer(e3)) throw new TypeError("Argument must be a Buffer"); - if (void 0 === t2 && (t2 = 0), void 0 === n2 && (n2 = e3 ? e3.length : 0), void 0 === i2 && (i2 = 0), void 0 === o2 && (o2 = this.length), t2 < 0 || n2 > e3.length || i2 < 0 || o2 > this.length) + if (t2 === void 0 && (t2 = 0), n2 === void 0 && (n2 = e3 ? e3.length : 0), i2 === void 0 && (i2 = 0), o2 === void 0 && (o2 = this.length), t2 < 0 || n2 > e3.length || i2 < 0 || o2 > this.length) throw new RangeError("out of range index"); if (i2 >= o2 && t2 >= n2) return 0; @@ -56148,23 +56148,23 @@ ${Object(zn.b)(wi)} } return r2 < s2 ? -1 : s2 < r2 ? 1 : 0; }, l.prototype.includes = function(e3, t2, n2) { - return -1 !== this.indexOf(e3, t2, n2); + return this.indexOf(e3, t2, n2) !== -1; }, l.prototype.indexOf = function(e3, t2, n2) { return b(this, e3, t2, n2, true); }, l.prototype.lastIndexOf = function(e3, t2, n2) { return b(this, e3, t2, n2, false); }, l.prototype.write = function(e3, t2, n2, i2) { - if (void 0 === t2) + if (t2 === void 0) i2 = "utf8", n2 = this.length, t2 = 0; - else if (void 0 === n2 && "string" == typeof t2) + else if (n2 === void 0 && typeof t2 == "string") i2 = t2, n2 = this.length, t2 = 0; else { if (!isFinite(t2)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); - t2 |= 0, isFinite(n2) ? (n2 |= 0, void 0 === i2 && (i2 = "utf8")) : (i2 = n2, n2 = void 0); + t2 |= 0, isFinite(n2) ? (n2 |= 0, i2 === void 0 && (i2 = "utf8")) : (i2 = n2, n2 = void 0); } var o2 = this.length - t2; - if ((void 0 === n2 || n2 > o2) && (n2 = o2), e3.length > 0 && (n2 < 0 || t2 < 0) || t2 > this.length) + if ((n2 === void 0 || n2 > o2) && (n2 = o2), e3.length > 0 && (n2 < 0 || t2 < 0) || t2 > this.length) throw new RangeError("Attempt to write outside buffer bounds"); i2 || (i2 = "utf8"); for (var r2 = false; ; ) @@ -56258,7 +56258,7 @@ ${Object(zn.b)(wi)} } l.prototype.slice = function(e3, t2) { var n2, i2 = this.length; - if ((e3 = ~~e3) < 0 ? (e3 += i2) < 0 && (e3 = 0) : e3 > i2 && (e3 = i2), (t2 = void 0 === t2 ? i2 : ~~t2) < 0 ? (t2 += i2) < 0 && (t2 = 0) : t2 > i2 && (t2 = i2), t2 < e3 && (t2 = e3), l.TYPED_ARRAY_SUPPORT) + if ((e3 = ~~e3) < 0 ? (e3 += i2) < 0 && (e3 = 0) : e3 > i2 && (e3 = i2), (t2 = t2 === void 0 ? i2 : ~~t2) < 0 ? (t2 += i2) < 0 && (t2 = 0) : t2 > i2 && (t2 = i2), t2 < e3 && (t2 = e3), l.TYPED_ARRAY_SUPPORT) (n2 = this.subarray(e3, t2)).__proto__ = l.prototype; else { var o2 = t2 - e3; @@ -56348,7 +56348,7 @@ ${Object(zn.b)(wi)} } var r2 = 0, s2 = 1, a2 = 0; for (this[t2] = 255 & e3; ++r2 < n2 && (s2 *= 256); ) - e3 < 0 && 0 === a2 && 0 !== this[t2 + r2 - 1] && (a2 = 1), this[t2 + r2] = (e3 / s2 >> 0) - a2 & 255; + e3 < 0 && a2 === 0 && this[t2 + r2 - 1] !== 0 && (a2 = 1), this[t2 + r2] = (e3 / s2 >> 0) - a2 & 255; return t2 + n2; }, l.prototype.writeIntBE = function(e3, t2, n2, i2) { if (e3 = +e3, t2 |= 0, !i2) { @@ -56357,7 +56357,7 @@ ${Object(zn.b)(wi)} } var r2 = n2 - 1, s2 = 1, a2 = 0; for (this[t2 + r2] = 255 & e3; --r2 >= 0 && (s2 *= 256); ) - e3 < 0 && 0 === a2 && 0 !== this[t2 + r2 + 1] && (a2 = 1), this[t2 + r2] = (e3 / s2 >> 0) - a2 & 255; + e3 < 0 && a2 === 0 && this[t2 + r2 + 1] !== 0 && (a2 = 1), this[t2 + r2] = (e3 / s2 >> 0) - a2 & 255; return t2 + n2; }, l.prototype.writeInt8 = function(e3, t2, n2) { return e3 = +e3, t2 |= 0, n2 || D(this, e3, t2, 1, 127, -128), l.TYPED_ARRAY_SUPPORT || (e3 = Math.floor(e3)), e3 < 0 && (e3 = 255 + e3 + 1), this[t2] = 255 & e3, t2 + 1; @@ -56378,9 +56378,9 @@ ${Object(zn.b)(wi)} }, l.prototype.writeDoubleBE = function(e3, t2, n2) { return F(this, e3, t2, false, n2); }, l.prototype.copy = function(e3, t2, n2, i2) { - if (n2 || (n2 = 0), i2 || 0 === i2 || (i2 = this.length), t2 >= e3.length && (t2 = e3.length), t2 || (t2 = 0), i2 > 0 && i2 < n2 && (i2 = n2), i2 === n2) + if (n2 || (n2 = 0), i2 || i2 === 0 || (i2 = this.length), t2 >= e3.length && (t2 = e3.length), t2 || (t2 = 0), i2 > 0 && i2 < n2 && (i2 = n2), i2 === n2) return 0; - if (0 === e3.length || 0 === this.length) + if (e3.length === 0 || this.length === 0) return 0; if (t2 < 0) throw new RangeError("targetStart out of bounds"); @@ -56400,23 +56400,23 @@ ${Object(zn.b)(wi)} Uint8Array.prototype.set.call(e3, this.subarray(n2, n2 + r2), t2); return r2; }, l.prototype.fill = function(e3, t2, n2, i2) { - if ("string" == typeof e3) { - if ("string" == typeof t2 ? (i2 = t2, t2 = 0, n2 = this.length) : "string" == typeof n2 && (i2 = n2, n2 = this.length), 1 === e3.length) { + if (typeof e3 == "string") { + if (typeof t2 == "string" ? (i2 = t2, t2 = 0, n2 = this.length) : typeof n2 == "string" && (i2 = n2, n2 = this.length), e3.length === 1) { var o2 = e3.charCodeAt(0); o2 < 256 && (e3 = o2); } - if (void 0 !== i2 && "string" != typeof i2) + if (i2 !== void 0 && typeof i2 != "string") throw new TypeError("encoding must be a string"); - if ("string" == typeof i2 && !l.isEncoding(i2)) + if (typeof i2 == "string" && !l.isEncoding(i2)) throw new TypeError("Unknown encoding: " + i2); } else - "number" == typeof e3 && (e3 &= 255); + typeof e3 == "number" && (e3 &= 255); if (t2 < 0 || this.length < t2 || this.length < n2) throw new RangeError("Out of range index"); if (n2 <= t2) return this; var r2; - if (t2 >>>= 0, n2 = void 0 === n2 ? this.length : n2 >>> 0, e3 || (e3 = 0), "number" == typeof e3) + if (t2 >>>= 0, n2 = n2 === void 0 ? this.length : n2 >>> 0, e3 || (e3 = 0), typeof e3 == "number") for (r2 = t2; r2 < n2; ++r2) this[r2] = e3; else { @@ -56504,23 +56504,23 @@ ${Object(zn.b)(wi)} }(0, s2, a2)), d2 = 0, h = a2 > 0 ? s2 - 4 : s2; for (n2 = 0; n2 < h; n2 += 4) t2 = o[e2.charCodeAt(n2)] << 18 | o[e2.charCodeAt(n2 + 1)] << 12 | o[e2.charCodeAt(n2 + 2)] << 6 | o[e2.charCodeAt(n2 + 3)], l2[d2++] = t2 >> 16 & 255, l2[d2++] = t2 >> 8 & 255, l2[d2++] = 255 & t2; - 2 === a2 && (t2 = o[e2.charCodeAt(n2)] << 2 | o[e2.charCodeAt(n2 + 1)] >> 4, l2[d2++] = 255 & t2); - 1 === a2 && (t2 = o[e2.charCodeAt(n2)] << 10 | o[e2.charCodeAt(n2 + 1)] << 4 | o[e2.charCodeAt(n2 + 2)] >> 2, l2[d2++] = t2 >> 8 & 255, l2[d2++] = 255 & t2); + a2 === 2 && (t2 = o[e2.charCodeAt(n2)] << 2 | o[e2.charCodeAt(n2 + 1)] >> 4, l2[d2++] = 255 & t2); + a2 === 1 && (t2 = o[e2.charCodeAt(n2)] << 10 | o[e2.charCodeAt(n2 + 1)] << 4 | o[e2.charCodeAt(n2 + 2)] >> 2, l2[d2++] = t2 >> 8 & 255, l2[d2++] = 255 & t2); return l2; }, t.fromByteArray = function(e2) { for (var t2, n2 = e2.length, o2 = n2 % 3, r2 = [], s2 = 0, a2 = n2 - o2; s2 < a2; s2 += 16383) r2.push(d(e2, s2, s2 + 16383 > a2 ? a2 : s2 + 16383)); - 1 === o2 ? (t2 = e2[n2 - 1], r2.push(i[t2 >> 2] + i[t2 << 4 & 63] + "==")) : 2 === o2 && (t2 = (e2[n2 - 2] << 8) + e2[n2 - 1], r2.push(i[t2 >> 10] + i[t2 >> 4 & 63] + i[t2 << 2 & 63] + "=")); + o2 === 1 ? (t2 = e2[n2 - 1], r2.push(i[t2 >> 2] + i[t2 << 4 & 63] + "==")) : o2 === 2 && (t2 = (e2[n2 - 2] << 8) + e2[n2 - 1], r2.push(i[t2 >> 10] + i[t2 >> 4 & 63] + i[t2 << 2 & 63] + "=")); return r2.join(""); }; - for (var i = [], o = [], r = "undefined" != typeof Uint8Array ? Uint8Array : Array, s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", a = 0, l = s.length; a < l; ++a) + for (var i = [], o = [], r = typeof Uint8Array != "undefined" ? Uint8Array : Array, s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", a = 0, l = s.length; a < l; ++a) i[a] = s[a], o[s.charCodeAt(a)] = a; function c(e2) { var t2 = e2.length; if (t2 % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); var n2 = e2.indexOf("="); - return -1 === n2 && (n2 = t2), [n2, n2 === t2 ? 0 : 4 - n2 % 4]; + return n2 === -1 && (n2 = t2), [n2, n2 === t2 ? 0 : 4 - n2 % 4]; } function d(e2, t2, n2) { for (var o2, r2, s2 = [], a2 = t2; a2 < n2; a2 += 3) @@ -56535,7 +56535,7 @@ ${Object(zn.b)(wi)} ; for (s = r & (1 << -d) - 1, r >>= -d, d += i; d > 0; s = 256 * s + e2[t2 + h], h += u, d -= 8) ; - if (0 === r) + if (r === 0) r = 1 - c; else { if (r === l) @@ -56544,7 +56544,7 @@ ${Object(zn.b)(wi)} } return (p ? -1 : 1) * s * Math.pow(2, r - i); }, t.write = function(e2, t2, n, i, o, r) { - var s, a, l, c = 8 * r - o - 1, d = (1 << c) - 1, h = d >> 1, u = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = i ? 0 : r - 1, m = i ? 1 : -1, g = t2 < 0 || 0 === t2 && 1 / t2 < 0 ? 1 : 0; + var s, a, l, c = 8 * r - o - 1, d = (1 << c) - 1, h = d >> 1, u = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = i ? 0 : r - 1, m = i ? 1 : -1, g = t2 < 0 || t2 === 0 && 1 / t2 < 0 ? 1 : 0; for (t2 = Math.abs(t2), isNaN(t2) || t2 === 1 / 0 ? (a = isNaN(t2) ? 1 : 0, s = d) : (s = Math.floor(Math.log(t2) / Math.LN2), t2 * (l = Math.pow(2, -s)) < 1 && (s--, l *= 2), (t2 += s + h >= 1 ? u / l : u * Math.pow(2, 1 - h)) * l >= 2 && (s++, l /= 2), s + h >= d ? (a = 0, s = d) : s + h >= 1 ? (a = (t2 * l - 1) * Math.pow(2, o), s += h) : (a = t2 * Math.pow(2, h - 1) * Math.pow(2, o), s = 0)); o >= 8; e2[n + p] = 255 & a, p += m, a /= 256, o -= 8) ; for (s = s << o | a, c += o; c > 0; e2[n + p] = 255 & s, p += m, s /= 256, c -= 8) @@ -56554,11 +56554,11 @@ ${Object(zn.b)(wi)} }, function(e, t) { var n = {}.toString; e.exports = Array.isArray || function(e2) { - return "[object Array]" == n.call(e2); + return n.call(e2) == "[object Array]"; }; }, function(e, t, n) { var i = n(32), o = n(207); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56566,7 +56566,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-aria-container {\n position: absolute; /* try to hide from window but not from screen readers */\n left:-999em;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(209); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56574,7 +56574,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -------------------- IE10 remove auto clear button -------------------- */\n\n::-ms-clear {\n display: none;\n}\n\n/* All widgets */\n/* I am not a big fan of this rule */\n.monaco-editor .editor-widget input {\n color: inherit;\n}\n\n/* -------------------- Editor -------------------- */\n\n.monaco-editor {\n position: relative;\n overflow: visible;\n -webkit-text-size-adjust: 100%;\n}\n\n/* -------------------- Misc -------------------- */\n\n.monaco-editor .overflow-guard {\n position: relative;\n overflow: hidden;\n}\n\n.monaco-editor .view-overlays {\n position: absolute;\n top: 0;\n}\n\n/*\n.monaco-editor .auto-closed-character {\n opacity: 0.3;\n}\n*/\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(211); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56582,7 +56582,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inputarea {\n min-width: 0;\n min-height: 0;\n margin: 0;\n padding: 0;\n position: absolute;\n outline: none !important;\n resize: none;\n border: none;\n overflow: hidden;\n color: transparent;\n background-color: transparent;\n}\n/*.monaco-editor .inputarea {\n position: fixed !important;\n width: 800px !important;\n height: 500px !important;\n top: initial !important;\n left: initial !important;\n bottom: 0 !important;\n right: 0 !important;\n color: black !important;\n background: white !important;\n line-height: 15px !important;\n font-size: 14px !important;\n}*/\n.monaco-editor .inputarea.ime-input {\n z-index: 10;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(213); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56590,7 +56590,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .line-numbers {\n font-variant-numeric: tabular-nums;\n position: absolute;\n text-align: right;\n display: inline-block;\n vertical-align: middle;\n box-sizing: border-box;\n cursor: default;\n height: 100%;\n}\n\n.monaco-editor .relative-current-line-number {\n text-align: left;\n display: inline-block;\n width: 100%;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\n margin-top: 1px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(215); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56598,7 +56598,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-mouse-cursor-text {\n cursor: text;\n}\n\n/* The following selector looks a bit funny, but that is needed to cover all the workbench and the editor!! */\n.vs-dark .mac .monaco-mouse-cursor-text, .hc-black .mac .monaco-mouse-cursor-text,\n.vs-dark.mac .monaco-mouse-cursor-text, .hc-black.mac .monaco-mouse-cursor-text {\n cursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(217); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56606,7 +56606,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-overlays .current-line {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\n border-right: 0;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(219); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56614,7 +56614,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cdr = core decorations rendering (div)\n*/\n.monaco-editor .lines-content .cdr {\n position: absolute;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(221); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56622,7 +56622,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n cursor: pointer;\n font-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n opacity: 1;\n\n /* Background rule added for IE9 - to allow clicks on dom node */\n background:rgba(0,0,0,0);\n\n transition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n opacity: 0;\n pointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n transition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n position: absolute;\n display: none;\n}\n.monaco-scrollable-element > .shadow.top {\n display: block;\n top: 0;\n left: 3px;\n height: 3px;\n width: 100%;\n box-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n display: block;\n top: 3px;\n left: 0;\n height: 100%;\n width: 3px;\n box-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n display: block;\n top: 0;\n left: 0;\n height: 3px;\n width: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n box-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n.vs .monaco-scrollable-element > .scrollbar > .slider {\n background: rgba(100, 100, 100, .4);\n}\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\n background: rgba(121, 121, 121, .4);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider {\n background: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n background: rgba(100, 100, 100, .7);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider:hover {\n background: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n background: rgba(0, 0, 0, .6);\n}\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\n background: rgba(191, 191, 191, .4);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider.active {\n background: rgba(111, 195, 223, 1);\n}\n\n.vs-dark .monaco-scrollable-element .shadow.top {\n box-shadow: none;\n}\n\n.vs-dark .monaco-scrollable-element .shadow.left {\n box-shadow: #000 6px 0 6px -6px inset;\n}\n\n.vs-dark .monaco-scrollable-element .shadow.top.left {\n box-shadow: #000 6px 6px 6px -6px inset;\n}\n\n.hc-black .monaco-scrollable-element .shadow.top {\n box-shadow: none;\n}\n\n.hc-black .monaco-scrollable-element .shadow.left {\n box-shadow: none;\n}\n\n.hc-black .monaco-scrollable-element .shadow.top.left {\n box-shadow: none;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(223); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56630,7 +56630,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .glyph-margin {\n position: absolute;\n top: 0;\n}\n\n/*\n Keeping name short for faster parsing.\n cgmr = core glyph margin rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cgmr {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(225); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56638,7 +56638,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cigr = core ident guides rendering (div)\n*/\n.monaco-editor .lines-content .cigr {\n position: absolute;\n}\n.monaco-editor .lines-content .cigra {\n position: absolute;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(227); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56646,7 +56646,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Uncomment to see lines flashing when they're painted */\n/*.monaco-editor .view-lines > .view-line {\n background-color: none;\n animation-name: flash-background;\n animation-duration: 800ms;\n}\n@keyframes flash-background {\n 0% { background-color: lightgreen; }\n 100% { background-color: none }\n}*/\n\n.monaco-editor.no-user-select .lines-content,\n.monaco-editor.no-user-select .view-line,\n.monaco-editor.no-user-select .view-lines {\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.monaco-editor .view-lines {\n white-space: nowrap;\n}\n\n.monaco-editor .view-line {\n position: absolute;\n width: 100%;\n}\n\n.monaco-editor .mtkz {\n display: inline-block;\n}\n\n/* TODO@tokenization bootstrap fix */\n/*.monaco-editor .view-line > span > span {\n float: none;\n min-height: inherit;\n margin-left: inherit;\n}*/\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(229); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56654,7 +56654,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .lines-decorations {\n position: absolute;\n top: 0;\n background: white;\n}\n\n/*\n Keeping name short for faster parsing.\n cldr = core lines decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cldr {\n position: absolute;\n height: 100%;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(231); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56662,7 +56662,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cmdr = core margin decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cmdr {\n position: absolute;\n left: 0;\n width: 100%;\n height: 100%;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(233); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56670,7 +56670,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* START cover the case that slider is visible on mouseover */\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\n opacity: 0;\n transition: opacity 100ms linear;\n}\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\n opacity: 1;\n}\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\n opacity: 1;\n}\n/* END cover the case that slider is visible on mouseover */\n\n.monaco-editor .minimap-shadow-hidden {\n position: absolute;\n width: 0;\n}\n.monaco-editor .minimap-shadow-visible {\n position: absolute;\n left: -6px;\n width: 6px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(235); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56678,7 +56678,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .overlayWidgets {\n position: absolute;\n top: 0;\n left:0;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(237); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56686,7 +56686,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-ruler {\n position: absolute;\n top: 0;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(239); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56694,7 +56694,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .scroll-decoration {\n position: absolute;\n top: 0;\n left: 0;\n height: 6px;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(241); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56702,7 +56702,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cslr = core selections layer rendering (div)\n*/\n.monaco-editor .lines-content .cslr {\n position: absolute;\n}\n\n.monaco-editor .top-left-radius { border-top-left-radius: 3px; }\n.monaco-editor .bottom-left-radius { border-bottom-left-radius: 3px; }\n.monaco-editor .top-right-radius { border-top-right-radius: 3px; }\n.monaco-editor .bottom-right-radius { border-bottom-right-radius: 3px; }\n\n.monaco-editor.hc-black .top-left-radius { border-top-left-radius: 0; }\n.monaco-editor.hc-black .bottom-left-radius { border-bottom-left-radius: 0; }\n.monaco-editor.hc-black .top-right-radius { border-top-right-radius: 0; }\n.monaco-editor.hc-black .bottom-right-radius { border-bottom-right-radius: 0; }\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(243); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56710,7 +56710,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .cursors-layer {\n position: absolute;\n top: 0;\n}\n\n.monaco-editor .cursors-layer > .cursor {\n position: absolute;\n overflow: hidden;\n}\n\n/* -- smooth-caret-animation -- */\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\n transition: all 80ms;\n}\n\n/* -- block-outline-style -- */\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\n box-sizing: border-box;\n background: transparent !important;\n border-style: solid;\n border-width: 1px;\n}\n\n/* -- underline-style -- */\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n background: transparent !important;\n box-sizing: border-box;\n}\n\n/* -- underline-thin-style -- */\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\n border-bottom-width: 1px;\n border-bottom-style: solid;\n background: transparent !important;\n box-sizing: border-box;\n}\n\n@keyframes monaco-cursor-smooth {\n 0%,\n 20% {\n opacity: 1;\n }\n 60%,\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes monaco-cursor-phase {\n 0%,\n 20% {\n opacity: 1;\n }\n 90%,\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes monaco-cursor-expand {\n 0%,\n 20% {\n transform: scaleY(1);\n }\n 80%,\n 100% {\n transform: scaleY(0);\n }\n}\n\n.cursor-smooth {\n animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-expand > .cursor {\n animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(245); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56718,7 +56718,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- DiffEditor ---------- */\n\n.monaco-diff-editor .diffOverview {\n z-index: 9;\n}\n\n.monaco-diff-editor .diffOverview .diffViewport {\n z-index: 10;\n}\n\n/* colors not externalized: using transparancy on background */\n.monaco-diff-editor.vs .diffOverview { background: rgba(0, 0, 0, 0.03); }\n.monaco-diff-editor.vs-dark .diffOverview { background: rgba(255, 255, 255, 0.01); }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar { background: none; }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\n z-index: 10;\n}\n.modified-in-monaco-diff-editor .slider.active { background: rgba(171, 171, 171, .4); }\n.modified-in-monaco-diff-editor.hc-black .slider.active { background: none; }\n\n/* ---------- Diff ---------- */\n\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign,\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n font-size: 11px !important;\n opacity: 0.7 !important;\n display: flex !important;\n align-items: center;\n}\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign {\n opacity: 1;\n}\n\n.monaco-editor .inline-deleted-margin-view-zone {\n text-align: right;\n}\n.monaco-editor .inline-added-margin-view-zone {\n text-align: right;\n}\n\n/* ---------- Inline Diff ---------- */\n\n.monaco-editor .view-zones .view-lines .view-line span {\n display: inline-block;\n}\n\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\n cursor: pointer;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(247); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56726,17 +56726,17 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-sash {\n position: absolute;\n z-index: 35;\n touch-action: none;\n}\n\n.monaco-sash.disabled {\n pointer-events: none;\n}\n\n.monaco-sash.mac.vertical {\n cursor: col-resize;\n}\n\n.monaco-sash.vertical.minimum {\n cursor: e-resize;\n}\n\n.monaco-sash.vertical.maximum {\n cursor: w-resize;\n}\n\n.monaco-sash.mac.horizontal {\n cursor: row-resize;\n}\n\n.monaco-sash.horizontal.minimum {\n cursor: s-resize;\n}\n\n.monaco-sash.horizontal.maximum {\n cursor: n-resize;\n}\n\n.monaco-sash.disabled {\n cursor: default !important;\n pointer-events: none !important;\n}\n\n/** Debug **/\n\n.monaco-sash.debug {\n background: cyan;\n}\n\n.monaco-sash.debug.disabled {\n background: rgba(0, 255, 255, 0.2);\n}\n\n.monaco-sash.debug:not(.disabled).orthogonal-start::before,\n.monaco-sash.debug:not(.disabled).orthogonal-end::after {\n background: red;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(249); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; }, function(e, t, n) { (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-diff-editor .diff-review-line-number {\n text-align: right;\n display: inline-block;\n}\n\n.monaco-diff-editor .diff-review {\n position: absolute;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.monaco-diff-editor .diff-review-summary {\n padding-left: 10px;\n}\n\n.monaco-diff-editor .diff-review-shadow {\n position: absolute;\n}\n\n.monaco-diff-editor .diff-review-row {\n white-space: pre;\n}\n\n.monaco-diff-editor .diff-review-table {\n display: table;\n min-width: 100%;\n}\n\n.monaco-diff-editor .diff-review-row {\n display: table-row;\n width: 100%;\n}\n\n.monaco-diff-editor .diff-review-spacer {\n display: inline-block;\n width: 10px;\n vertical-align: middle;\n}\n\n.monaco-diff-editor .diff-review-spacer > .codicon {\n font-size: 9px !important;\n}\n\n.monaco-diff-editor .diff-review-actions {\n display: inline-block;\n position: absolute;\n right: 10px;\n top: 2px;\n}\n\n.monaco-diff-editor .diff-review-actions .action-label {\n width: 16px;\n height: 16px;\n margin: 2px 0;\n}\n", ""]), e.exports = t; }, function(e, t, n) { - (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n text-align: right;\n white-space: nowrap;\n}\n\n.monaco-action-bar .actions-container {\n display: flex;\n margin: 0 auto;\n padding: 0;\n width: 100%;\n justify-content: flex-end;\n}\n\n.monaco-action-bar.vertical .actions-container {\n display: inline-block;\n}\n\n.monaco-action-bar.reverse .actions-container {\n flex-direction: row-reverse;\n}\n\n.monaco-action-bar .action-item {\n cursor: pointer;\n display: inline-block;\n transition: transform 50ms ease;\n position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n cursor: default;\n}\n\n.monaco-action-bar.animated .action-item.active {\n transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-action-bar .action-item .icon,\n.monaco-action-bar .action-item .codicon {\n display: inline-block;\n}\n\n.monaco-action-bar .action-item .codicon {\n display: flex;\n align-items: center;\n}\n\n.monaco-action-bar .action-label {\n font-size: 11px;\n margin-right: 4px;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n opacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n text-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n display: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n display: block;\n border-bottom: 1px solid #bbb;\n padding-top: 1px;\n margin-left: .8em;\n margin-right: .8em;\n}\n\n.monaco-action-bar.animated.vertical .action-item.active {\n transform: translate(5px, 0);\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n margin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n flex: 1;\n max-width: 170px;\n min-width: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n}\n", ""]), e.exports = t; + (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n text-align: right;\n white-space: nowrap;\n}\n\n.monaco-action-bar .actions-container {\n display: flex;\n margin: 0 auto;\n padding: 0;\n width: 100%;\n justify-content: flex-end;\n}\n\n.monaco-action-bar.vertical .actions-container {\n display: inline-block;\n}\n\n.monaco-action-bar.reverse .actions-container {\n flex-direction: row-reverse;\n}\n\n.monaco-action-bar .action-item {\n cursor: pointer;\n display: inline-block;\n transition: transform 50ms ease;\n position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n cursor: default;\n}\n\n.monaco-action-bar.animated .action-item.active {\n transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */\n}\n\n.monaco-action-bar .action-item .icon,\n.monaco-action-bar .action-item .codicon {\n display: inline-block;\n}\n\n.monaco-action-bar .action-item .codicon {\n display: flex;\n align-items: center;\n}\n\n.monaco-action-bar .action-label {\n font-size: 11px;\n margin-right: 4px;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n opacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n text-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n display: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n display: block;\n border-bottom: 1px solid #bbb;\n padding-top: 1px;\n margin-left: .8em;\n margin-right: .8em;\n}\n\n.monaco-action-bar.animated.vertical .action-item.active {\n transform: translate(5px, 0);\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n margin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n flex: 1;\n max-width: 170px;\n min-width: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(252); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56765,14 +56765,14 @@ ${Object(zn.b)(wi)} }, function(e, t, n) { "use strict"; e.exports = function(e2, t2) { - return t2 || (t2 = {}), "string" != typeof (e2 = e2 && e2.__esModule ? e2.default : e2) ? e2 : (/^['"].*['"]$/.test(e2) && (e2 = e2.slice(1, -1)), t2.hash && (e2 += t2.hash), /["'() \t\n]/.test(e2) || t2.needQuotes ? '"'.concat(e2.replace(/"/g, '\\"').replace(/\n/g, "\\n"), '"') : e2); + return t2 || (t2 = {}), typeof (e2 = e2 && e2.__esModule ? e2.default : e2) != "string" ? e2 : (/^['"].*['"]$/.test(e2) && (e2 = e2.slice(1, -1)), t2.hash && (e2 += t2.hash), /["'() \t\n]/.test(e2) || t2.needQuotes ? '"'.concat(e2.replace(/"/g, '\\"').replace(/\n/g, "\\n"), '"') : e2); }; }, function(e, t, n) { "use strict"; n.r(t), t.default = n.p + "b3726f0165bf67ac68494ee7a1b9f6ce.ttf"; }, function(e, t, n) { var i = n(32), o = n(256); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56780,7 +56780,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.codicon-wrench-subaction {\n opacity: 0.5;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(258); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56788,7 +56788,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@keyframes codicon-spin {\n 100% {\n transform:rotate(360deg);\n }\n}\n\n.codicon-animation-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(260); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56796,7 +56796,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view .monaco-menu {\n min-width: 130px;\n}\n\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(262); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56806,7 +56806,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list {\n position: relative;\n height: 100%;\n width: 100%;\n white-space: nowrap;\n}\n\n.monaco-list.mouse-support {\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.monaco-list > .monaco-scrollable-element {\n height: 100%;\n}\n\n.monaco-list-rows {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-list.horizontal-scrolling .monaco-list-rows {\n width: auto;\n min-width: 100%;\n}\n\n.monaco-list-row {\n position: absolute;\n box-sizing: border-box;\n overflow: hidden;\n width: 100%;\n}\n\n.monaco-list.mouse-support .monaco-list-row {\n cursor: pointer;\n touch-action: none;\n}\n\n/* for OS X ballistic scrolling */\n.monaco-list-row.scrolling {\n display: none !important;\n}\n\n/* Focus */\n.monaco-list.element-focused, .monaco-list.selection-single, .monaco-list.selection-multiple {\n outline: 0 !important;\n}\n\n.monaco-list:focus .monaco-list-row.selected .codicon {\n color: inherit;\n}\n\n/* Dnd */\n.monaco-drag-image {\n display: inline-block;\n padding: 1px 7px;\n border-radius: 10px;\n font-size: 12px;\n position: absolute;\n}\n\n/* Type filter */\n\n.monaco-list-type-filter {\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 2px;\n padding: 0px 3px;\n max-width: calc(100% - 10px);\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: right;\n box-sizing: border-box;\n cursor: all-scroll;\n font-size: 13px;\n line-height: 18px;\n height: 20px;\n z-index: 1;\n top: 4px;\n}\n\n.monaco-list-type-filter.dragging {\n transition: top 0.2s, left 0.2s;\n}\n\n.monaco-list-type-filter.ne {\n right: 4px;\n}\n\n.monaco-list-type-filter.nw {\n left: 4px;\n}\n\n.monaco-list-type-filter > .controls {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n transition: width 0.2s;\n width: 0;\n}\n\n.monaco-list-type-filter.dragging > .controls,\n.monaco-list-type-filter:hover > .controls {\n width: 36px;\n}\n\n.monaco-list-type-filter > .controls > * {\n border: none;\n box-sizing: border-box;\n -webkit-appearance: none;\n -moz-appearance: none;\n background: none;\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n margin: 0;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n\n.monaco-list-type-filter > .controls > .filter {\n margin-left: 4px;\n}\n\n.monaco-list-type-filter-message {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 40px 1em 1em 1em;\n text-align: center;\n white-space: normal;\n opacity: 0.7;\n pointer-events: none;\n}\n\n.monaco-list-type-filter-message:empty {\n display: none;\n}\n\n/* Electron */\n\n.monaco-list-type-filter {\n cursor: grab;\n}\n\n.monaco-list-type-filter.dragging {\n cursor: grabbing;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(265); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56814,7 +56814,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-tl-row {\n display: flex;\n height: 100%;\n align-items: center;\n position: relative;\n}\n\n.monaco-tl-indent {\n height: 100%;\n position: absolute;\n top: 0;\n left: 16px;\n pointer-events: none;\n}\n\n.hide-arrows .monaco-tl-indent {\n left: 12px;\n}\n\n.monaco-tl-indent > .indent-guide {\n display: inline-block;\n box-sizing: border-box;\n height: 100%;\n border-left: 1px solid transparent;\n}\n\n.monaco-tl-indent > .indent-guide {\n transition: border-color 0.1s linear;\n}\n\n.monaco-tl-twistie,\n.monaco-tl-contents {\n height: 100%;\n}\n\n.monaco-tl-twistie {\n font-size: 10px;\n text-align: right;\n padding-right: 6px;\n flex-shrink: 0;\n width: 16px;\n display: flex !important;\n align-items: center;\n justify-content: center;\n color: inherit !important;\n transform: translateX(3px);\n}\n\n.monaco-tl-contents {\n flex: 1;\n overflow: hidden;\n}\n\n.monaco-tl-twistie.collapsed::before {\n transform: rotate(-90deg);\n}\n\n.monaco-tl-twistie.codicon-tree-item-loading::before {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.25s steps(30) infinite;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(267); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56824,7 +56824,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n position: absolute;\n width: 600px;\n z-index: 2000;\n padding-bottom: 6px;\n left: 50%;\n margin-left: -300px;\n}\n\n.quick-input-titlebar {\n display: flex;\n}\n\n.quick-input-left-action-bar {\n display: flex;\n margin-left: 4px;\n flex: 1;\n}\n\n.quick-input-left-action-bar.monaco-action-bar .actions-container {\n justify-content: flex-start;\n}\n\n.quick-input-title {\n padding: 3px 0px;\n text-align: center;\n}\n\n.quick-input-right-action-bar {\n display: flex;\n margin-right: 4px;\n flex: 1;\n}\n\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\n margin: 0;\n width: 19px;\n height: 100%;\n background-position: center;\n background-repeat: no-repeat;\n}\n\n.quick-input-description {\n margin: 6px;\n}\n\n.quick-input-header {\n display: flex;\n padding: 6px 6px 0px 6px;\n margin-bottom: -2px;\n}\n\n.quick-input-widget.hidden-input .quick-input-header {\n /* reduce margins and paddings when input box hidden */\n padding: 0;\n margin-bottom: 0;\n}\n\n.quick-input-and-message {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n position: relative;\n}\n\n.quick-input-check-all {\n align-self: center;\n margin: 0;\n}\n\n.quick-input-filter {\n flex-grow: 1;\n display: flex;\n position: relative;\n}\n\n.quick-input-box {\n flex-grow: 1;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-box,\n.quick-input-widget.show-checkboxes .quick-input-message {\n margin-left: 5px;\n}\n\n.quick-input-visible-count {\n position: absolute;\n left: -10000px;\n}\n\n.quick-input-count {\n align-self: center;\n position: absolute;\n right: 4px;\n display: flex;\n align-items: center;\n}\n\n.quick-input-count .monaco-count-badge {\n vertical-align: middle;\n padding: 2px 4px;\n border-radius: 2px;\n min-height: auto;\n line-height: normal;\n}\n\n.quick-input-action {\n margin-left: 6px;\n}\n\n.quick-input-action .monaco-text-button {\n font-size: 11px;\n padding: 0 6px;\n display: flex;\n height: 100%;\n align-items: center;\n}\n\n.quick-input-message {\n margin-top: -1px;\n padding: 5px 5px 2px 5px;\n}\n\n.quick-input-progress.monaco-progress-container {\n position: relative;\n}\n\n.quick-input-progress.monaco-progress-container,\n.quick-input-progress.monaco-progress-container .progress-bit {\n height: 2px;\n}\n\n.quick-input-list {\n line-height: 22px;\n margin-top: 6px;\n}\n\n.quick-input-widget.hidden-input .quick-input-list {\n margin-top: 0; /* reduce margins when input box hidden */\n}\n\n.quick-input-list .monaco-list {\n overflow: hidden;\n max-height: calc(20 * 22px);\n}\n\n.quick-input-list .quick-input-list-entry {\n box-sizing: border-box;\n overflow: hidden;\n display: flex;\n height: 100%;\n padding: 0 6px;\n}\n\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\n border-top-width: 1px;\n border-top-style: solid;\n}\n\n.quick-input-list .monaco-list-row:first-child .quick-input-list-entry.quick-input-list-separator-border {\n border-top-style: none;\n}\n\n.quick-input-list .quick-input-list-label {\n overflow: hidden;\n display: flex;\n height: 100%;\n flex: 1;\n}\n\n.quick-input-list .quick-input-list-checkbox {\n align-self: center;\n margin: 0;\n}\n\n.quick-input-list .quick-input-list-rows {\n overflow: hidden;\n text-overflow: ellipsis;\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n margin-left: 5px;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\n margin-left: 10px;\n}\n\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\n display: none;\n}\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\n display: inline;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\n display: flex;\n align-items: center;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\n flex: 1; /* make sure the icon label grows within the row */\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\n vertical-align: sub;\n}\n\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label span {\n opacity: 1;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\n margin-right: 8px; /* separate from the separator label or scrollbar if any */\n}\n\n.quick-input-list .quick-input-list-label-meta {\n opacity: 0.7;\n line-height: normal;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.quick-input-list .monaco-highlighted-label .highlight {\n font-weight: bold;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\n margin-right: 8px; /* separate from keybindings or actions */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n display: flex;\n flex: 0;\n overflow: visible;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\n /*\n * By default, actions in the quick input action bar are hidden\n * until hovered over them or selected.\n */\n display: none;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n margin: 0;\n height: 100%;\n padding: 0 2px;\n vertical-align: middle;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n margin-top: 1px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n margin-right: 4px; /* separate from scrollbar */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n margin-right: 4px; /* separate actions */\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\n display: flex;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(270); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56832,7 +56832,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* ---------- Icon label ---------- */\n\n.monaco-icon-label {\n display: flex; /* required for icons support :before rule */\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-icon-label::before {\n\n /* svg icons rendered as background image */\n background-size: 16px;\n background-position: left center;\n background-repeat: no-repeat;\n padding-right: 6px;\n width: 16px;\n height: 22px;\n line-height: inherit !important;\n display: inline-block;\n\n /* fonts icons */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n vertical-align: top;\n\n flex-shrink: 0; /* fix for https://github.com/Microsoft/vscode/issues/13787 */\n}\n\n.monaco-icon-label > .monaco-icon-label-container {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 1;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\n color: inherit;\n white-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\n margin: 0 2px;\n opacity: 0.5;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n opacity: .7;\n margin-left: 0.5em;\n font-size: 0.9em;\n white-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n opacity: .95;\n}\n\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.italic > .monaco-icon-description-container > .label-description {\n font-style: italic;\n}\n\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.strikethrough > .monaco-icon-description-container > .label-description {\n text-decoration: line-through;\n}\n\n.monaco-icon-label::after {\n opacity: 0.75;\n font-size: 90%;\n font-weight: 600;\n padding: 0 16px 0 5px;\n text-align: center;\n}\n\n/* make sure selection color wins when a label is being selected */\n.monaco-list:focus .selected .monaco-icon-label, /* list */\n.monaco-list:focus .selected .monaco-icon-label::after\n{\n color: inherit !important;\n}\n\n.monaco-list-row.focused.selected .label-description,\n.monaco-list-row.selected .label-description {\n opacity: .8;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(272); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56840,7 +56840,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-keybinding {\n display: flex;\n align-items: center;\n line-height: 10px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n display: inline-block;\n border: solid 1px rgba(204, 204, 204, 0.4);\n border-bottom-color: rgba(187, 187, 187, 0.4);\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\n background-color: rgba(221, 221, 221, 0.4);\n vertical-align: middle;\n color: #555;\n font-size: 11px;\n padding: 3px 5px;\n margin: 0 2px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:first-child {\n margin-left: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:last-child {\n margin-right: 0;\n}\n\n.hc-black .monaco-keybinding > .monaco-keybinding-key,\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\n background-color: rgba(128, 128, 128, 0.17);\n color: #ccc;\n border: solid 1px rgba(51, 51, 51, 0.6);\n border-bottom-color: rgba(68, 68, 68, 0.6);\n box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\n}\n\n.monaco-keybinding > .monaco-keybinding-key-separator {\n display: inline-block;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\n width: 6px;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(274); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56848,7 +56848,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-inputbox {\n position: relative;\n display: block;\n padding: 0;\n box-sizing: border-box;\n\n /* Customizable */\n font-size: inherit;\n}\n\n.monaco-inputbox.idle {\n border: 1px solid transparent;\n}\n\n.monaco-inputbox > .wrapper > .input,\n.monaco-inputbox > .wrapper > .mirror {\n\n /* Customizable */\n padding: 4px;\n}\n\n.monaco-inputbox > .wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-inputbox > .wrapper > .input {\n display: inline-block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n line-height: inherit;\n border: none;\n font-family: inherit;\n font-size: inherit;\n resize: none;\n color: inherit;\n}\n\n.monaco-inputbox > .wrapper > input {\n text-overflow: ellipsis;\n}\n\n.monaco-inputbox > .wrapper > textarea.input {\n display: block;\n -ms-overflow-style: none; /* IE 10+: hide scrollbars */\n scrollbar-width: none; /* Firefox: hide scrollbars */\n outline: none;\n}\n\n.monaco-inputbox > .wrapper > textarea.input::-webkit-scrollbar {\n display: none; /* Chrome + Safari: hide scrollbar */\n}\n\n.monaco-inputbox > .wrapper > textarea.input.empty {\n white-space: nowrap;\n}\n\n.monaco-inputbox > .wrapper > .mirror {\n position: absolute;\n display: inline-block;\n width: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n white-space: pre-wrap;\n visibility: hidden;\n word-wrap: break-word;\n}\n\n/* Context view */\n\n.monaco-inputbox-container {\n text-align: right;\n}\n\n.monaco-inputbox-container .monaco-inputbox-message {\n display: inline-block;\n overflow: hidden;\n text-align: left;\n width: 100%;\n box-sizing: border-box;\n padding: 0.4em;\n font-size: 12px;\n line-height: 17px;\n min-height: 34px;\n margin-top: -1px;\n word-wrap: break-word;\n}\n\n/* Action bar support */\n.monaco-inputbox .monaco-action-bar {\n position: absolute;\n right: 2px;\n top: 4px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item {\n margin-left: 2px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(276); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56856,7 +56856,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-count-badge {\n padding: 3px 6px;\n border-radius: 11px;\n font-size: 11px;\n min-width: 18px;\n min-height: 18px;\n line-height: 11px;\n font-weight: normal;\n text-align: center;\n display: inline-block;\n box-sizing: border-box;\n}\n\n.monaco-count-badge.long {\n padding: 2px 3px;\n border-radius: 2px;\n min-height: auto;\n line-height: normal;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(278); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56864,7 +56864,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-progress-container {\n width: 100%;\n height: 5px;\n overflow: hidden; /* keep progress bit in bounds */\n}\n\n.monaco-progress-container .progress-bit {\n width: 2%;\n height: 5px;\n position: absolute;\n left: 0;\n display: none;\n}\n\n.monaco-progress-container.active .progress-bit {\n display: inherit;\n}\n\n.monaco-progress-container.discrete .progress-bit {\n left: 0;\n transition: width 100ms linear;\n}\n\n.monaco-progress-container.discrete.done .progress-bit {\n width: 100%;\n}\n\n.monaco-progress-container.infinite .progress-bit {\n animation-name: progress;\n animation-duration: 4s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n transform: translate3d(0px, 0px, 0px);\n}\n\n/**\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\n * its relative size to the parent container:\n * 50%: 50 * 50 = 2500%\n * 100%: 50 * 100 - 50 (do not overflow): 4950%\n */\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4950%) scaleX(1) } }\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(280); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56872,7 +56872,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-text-button {\n box-sizing: border-box;\n display: flex;\n width: 100%;\n padding: 4px;\n text-align: center;\n cursor: pointer;\n outline-offset: 2px !important;\n justify-content: center;\n align-items: center;\n}\n\n.monaco-text-button:hover {\n text-decoration: none !important;\n}\n\n.monaco-button.disabled {\n opacity: 0.4;\n cursor: default;\n}\n\n.monaco-button > .codicon {\n margin: 0 0.2em;\n color: inherit !important;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(282); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56880,7 +56880,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .selection-anchor {\n background-color: #007ACC;\n width: 2px !important;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(284); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56888,7 +56888,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .bracket-match {\n box-sizing: border-box;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(286); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56896,7 +56896,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .monaco-editor-overlaymessage {\n padding-bottom: 8px;\n z-index: 10000;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeIn {\n animation: fadeIn 150ms ease-out;\n}\n\n@keyframes fadeOut {\n from { opacity: 1; }\n to { opacity: 0; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeOut {\n animation: fadeOut 100ms ease-out;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .message {\n padding: 1px 4px;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor {\n width: 0 !important;\n height: 0 !important;\n border-color: transparent;\n border-style: solid;\n z-index: 1000;\n border-width: 8px;\n position: absolute;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(288); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56904,7 +56904,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lightbulb-glyph,\n.monaco-editor .codicon-lightbulb {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 16px;\n width: 20px;\n padding-left: 2px;\n}\n\n.monaco-editor .lightbulb-glyph:hover,\n.monaco-editor .codicon-lightbulb:hover {\n cursor: pointer;\n /* transform: scale(1.3, 1.3); */\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(290); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56912,7 +56912,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .codelens-decoration {\n overflow: hidden;\n display: inline-block;\n text-overflow: ellipsis;\n}\n\n.monaco-editor .codelens-decoration > span,\n.monaco-editor .codelens-decoration > a {\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n white-space: nowrap;\n vertical-align: sub;\n}\n\n.monaco-editor .codelens-decoration > a {\n text-decoration: none;\n}\n\n.monaco-editor .codelens-decoration > a:hover {\n cursor: pointer;\n}\n\n.monaco-editor .codelens-decoration .codicon {\n vertical-align: middle;\n color: currentColor !important;\n}\n\n.monaco-editor .codelens-decoration > a:hover .codicon::before {\n cursor: pointer;\n}\n\n@keyframes fadein {\n 0% { opacity: 0; visibility: visible;}\n 100% { opacity: 1; }\n}\n\n.monaco-editor .codelens-decoration.fadein {\n animation: fadein 0.1s linear;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(292); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56920,7 +56920,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor.vs .dnd-target {\n border-right: 2px dotted black;\n color: white; /* opposite of black */\n}\n.monaco-editor.vs-dark .dnd-target {\n border-right: 2px dotted #AEAFAD;\n color: #51504f; /* opposite of #AEAFAD */\n}\n.monaco-editor.hc-black .dnd-target {\n border-right: 2px dotted #fff;\n color: #000; /* opposite of #fff */\n}\n\n.monaco-editor.mouse-default .view-lines,\n.monaco-editor.vs-dark.mac.mouse-default .view-lines,\n.monaco-editor.hc-black.mac.mouse-default .view-lines {\n cursor: default;\n}\n.monaco-editor.mouse-copy .view-lines,\n.monaco-editor.vs-dark.mac.mouse-copy .view-lines,\n.monaco-editor.hc-black.mac.mouse-copy .view-lines {\n cursor: copy;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(294); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56928,7 +56928,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-custom-checkbox {\n margin-left: 2px;\n float: left;\n cursor: pointer;\n overflow: hidden;\n opacity: 0.7;\n width: 20px;\n height: 20px;\n border: 1px solid transparent;\n padding: 1px;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.monaco-custom-checkbox:hover,\n.monaco-custom-checkbox.checked {\n opacity: 1;\n}\n\n.hc-black .monaco-custom-checkbox {\n background: none;\n}\n\n.hc-black .monaco-custom-checkbox:hover {\n background: none;\n}\n\n.monaco-custom-checkbox.monaco-simple-checkbox {\n height: 18px;\n width: 18px;\n border: 1px solid transparent;\n border-radius: 3px;\n margin-right: 9px;\n margin-left: 0px;\n padding: 0px;\n opacity: 1;\n background-size: 16px !important;\n}\n\n/* hide check when unchecked */\n.monaco-custom-checkbox.monaco-simple-checkbox.unchecked:not(.checked)::before {\n visibility: hidden;;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(296); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56938,15 +56938,15 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- Find input ---------- */\n\n.monaco-findInput {\n position: relative;\n}\n\n.monaco-findInput .monaco-inputbox {\n font-size: 13px;\n width: 100%;\n}\n\n.monaco-findInput > .controls {\n position: absolute;\n top: 3px;\n right: 2px;\n}\n\n.vs .monaco-findInput.disabled {\n background-color: #E1E1E1;\n}\n\n/* Theming */\n.vs-dark .monaco-findInput.disabled {\n background-color: #333;\n}\n\n/* Highlighting */\n.monaco-findInput.highlight-0 .controls {\n animation: monaco-findInput-highlight-0 100ms linear 0s;\n}\n.monaco-findInput.highlight-1 .controls {\n animation: monaco-findInput-highlight-1 100ms linear 0s;\n}\n.hc-black .monaco-findInput.highlight-0 .controls,\n.vs-dark .monaco-findInput.highlight-0 .controls {\n animation: monaco-findInput-highlight-dark-0 100ms linear 0s;\n}\n.hc-black .monaco-findInput.highlight-1 .controls,\n.vs-dark .monaco-findInput.highlight-1 .controls {\n animation: monaco-findInput-highlight-dark-1 100ms linear 0s;\n}\n\n@keyframes monaco-findInput-highlight-0 {\n 0% { background: rgba(253, 255, 0, 0.8); }\n 100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-1 {\n 0% { background: rgba(253, 255, 0, 0.8); }\n /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n 99% { background: transparent; }\n}\n\n@keyframes monaco-findInput-highlight-dark-0 {\n 0% { background: rgba(255, 255, 255, 0.44); }\n 100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-dark-1 {\n 0% { background: rgba(255, 255, 255, 0.44); }\n /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n 99% { background: transparent; }\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(299); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; }, function(e, t, n) { - (t = n(33)(false)).push([e.i, '/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.5s;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 140%;\n margin-left: 2px;\n}\n\n.monaco-editor .margin-view-overlays:hover .codicon,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\n opacity: 1;\n}\n\n.monaco-editor .inline-folded:after {\n color: grey;\n margin: 0.1em 0.2em 0 0.2em;\n content: "⋯";\n display: inline;\n line-height: 1em;\n cursor: pointer;\n}\n', ""]), e.exports = t; + (t = n(33)(false)).push([e.i, '/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.5s;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 140%;\n margin-left: 2px;\n}\n\n.monaco-editor .margin-view-overlays:hover .codicon,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\n opacity: 1;\n}\n\n.monaco-editor .inline-folded:after {\n color: grey;\n margin: 0.1em 0.2em 0 0.2em;\n content: "\u22EF";\n display: inline;\n line-height: 1em;\n cursor: pointer;\n}\n', ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(301); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56954,7 +56954,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .peekview-widget .head {\n box-sizing: border-box;\n display: flex;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title {\n display: flex;\n align-items: center;\n font-size: 13px;\n margin-left: 20px;\n cursor: pointer;\n min-width: 0;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {\n font-size: 0.9em;\n margin-left: 0.5em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta {\n white-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname {\n white-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .filename {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {\n content: '-';\n padding: 0 0.3em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions {\n flex: 1;\n text-align: right;\n padding-right: 2px;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {\n display: inline-block;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {\n height: 100%;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-item {\n margin-left: 4px;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label {\n width: 16px;\n height: 100%;\n margin: 0;\n line-height: inherit;\n background-repeat: no-repeat;\n background-position: center center;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label.codicon {\n margin: 0;\n}\n\n.monaco-editor .peekview-widget > .body {\n border-top: 1px solid;\n position: relative;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .codicon {\n margin-right: 4px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(303); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56964,7 +56964,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-dropdown {\n height: 100%;\n padding: 0;\n}\n\n.monaco-dropdown > .dropdown-label {\n cursor: pointer;\n height: 100%;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(306); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56972,7 +56972,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -- zone widget */\n.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {\n border-top-width: 1px;\n border-bottom-width: 1px;\n}\n\n.monaco-editor .reference-zone-widget .inline {\n display: inline-block;\n vertical-align: top;\n}\n\n.monaco-editor .reference-zone-widget .messages {\n height: 100%;\n width: 100%;\n text-align: center;\n padding: 3em 0;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree {\n line-height: 23px;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file {\n display: inline-flex;\n width: 100%;\n height: 100%;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {\n color: inherit !important;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {\n margin-right: 12px;\n margin-left: auto;\n}\n\n/* High Contrast Theming */\n\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file {\n font-weight: bold;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(308); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56980,7 +56980,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-split-view2 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-split-view2 > .sash-container {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.monaco-split-view2 > .sash-container > .monaco-sash {\n pointer-events: initial;\n}\n\n.monaco-split-view2 > .split-view-container {\n width: 100%;\n height: 100%;\n white-space: nowrap;\n position: relative;\n}\n\n.monaco-split-view2 > .split-view-container > .split-view-view {\n white-space: initial;\n position: absolute;\n}\n\n.monaco-split-view2 > .split-view-container > .split-view-view:not(.visible) {\n display: none;\n}\n\n.monaco-split-view2.vertical > .split-view-container > .split-view-view {\n width: 100%;\n}\n\n.monaco-split-view2.horizontal > .split-view-container > .split-view-view {\n height: 100%;\n}\n\n.monaco-split-view2.separator-border > .split-view-container > .split-view-view:not(:first-child)::before {\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 5;\n pointer-events: none;\n background-color: var(--separator-border);\n}\n\n.monaco-split-view2.separator-border.horizontal > .split-view-container > .split-view-view:not(:first-child)::before {\n height: 100%;\n width: 1px;\n}\n\n.monaco-split-view2.separator-border.vertical > .split-view-container > .split-view-view:not(:first-child)::before {\n height: 1px;\n width: 100%;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(310); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56988,7 +56988,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .goto-definition-link {\n text-decoration: underline;\n cursor: pointer;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(312); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -56996,7 +56996,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* marker zone */\n\n.monaco-editor .peekview-widget .head .peekview-title .severity-icon {\n display: inline-block;\n vertical-align: text-top;\n margin-right: 4px;\n}\n\n.monaco-editor .marker-widget {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .marker-widget > .stale {\n opacity: 0.6;\n font-style: italic;\n}\n\n.monaco-editor .marker-widget .title {\n display: inline-block;\n padding-right: 5px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer {\n position: absolute;\n white-space: pre;\n user-select: text;\n -webkit-user-select: text;\n -ms-user-select: text;\n padding: 8px 12px 0 20px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message {\n display: flex;\n flex-direction: column;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .details {\n padding-left: 6px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .source,\n.monaco-editor .marker-widget .descriptioncontainer .message span.code {\n opacity: 0.6;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {\n opacity: 0.6;\n color: inherit;\n}\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {\n content: '(';\n}\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {\n content: ')';\n}\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\n text-decoration: underline;\n /** Hack to force underline to show **/\n border-bottom: 1px solid transparent;\n text-underline-position: under;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .filename {\n cursor: pointer;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(314); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57004,7 +57004,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, '/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.colorpicker-widget {\n height: 190px;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.monaco-editor .colorpicker-hover:focus {\n outline: none;\n}\n\n\n/* Header */\n\n.colorpicker-header {\n display: flex;\n height: 24px;\n position: relative;\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\n background-size: 9px 9px;\n image-rendering: pixelated;\n}\n\n.colorpicker-header .picked-color {\n width: 216px;\n text-align: center;\n line-height: 24px;\n cursor: pointer;\n color: white;\n flex: 1;\n text-align: center;\n}\n\n.colorpicker-header .picked-color.light {\n color: black;\n}\n\n.colorpicker-header .original-color {\n width: 74px;\n z-index: inherit;\n cursor: pointer;\n}\n\n\n/* Body */\n\n.colorpicker-body {\n display: flex;\n padding: 8px;\n position: relative;\n}\n\n.colorpicker-body .saturation-wrap {\n overflow: hidden;\n height: 150px;\n position: relative;\n min-width: 220px;\n flex: 1;\n}\n\n.colorpicker-body .saturation-box {\n height: 150px;\n position: absolute;\n}\n\n.colorpicker-body .saturation-selection {\n width: 9px;\n height: 9px;\n margin: -5px 0 0 -5px;\n border: 1px solid rgb(255, 255, 255);\n border-radius: 100%;\n box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);\n position: absolute;\n}\n\n.colorpicker-body .strip {\n width: 25px;\n height: 150px;\n}\n\n.colorpicker-body .hue-strip {\n position: relative;\n margin-left: 8px;\n cursor: grab;\n background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);\n}\n\n.colorpicker-body .opacity-strip {\n position: relative;\n margin-left: 8px;\n cursor: grab;\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\n background-size: 9px 9px;\n image-rendering: pixelated;\n}\n\n.colorpicker-body .strip.grabbing {\n cursor: grabbing;\n}\n\n.colorpicker-body .slider {\n position: absolute;\n top: 0;\n left: -2px;\n width: calc(100% + 4px);\n height: 4px;\n box-sizing: border-box;\n border: 1px solid rgba(255, 255, 255, 0.71);\n box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);\n}\n\n.colorpicker-body .strip .overlay {\n height: 150px;\n pointer-events: none;\n}\n', ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(316); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57012,7 +57012,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-hover {\n cursor: default;\n position: absolute;\n overflow: hidden;\n z-index: 50;\n user-select: text;\n -webkit-user-select: text;\n -ms-user-select: text;\n box-sizing: initial;\n animation: fadein 100ms linear;\n line-height: 1.5em;\n}\n\n.monaco-hover.hidden {\n display: none;\n}\n\n.monaco-hover .hover-contents {\n padding: 4px 8px;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {\n max-width: 500px;\n word-wrap: break-word;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {\n /* This is a strange rule but it avoids https://github.com/microsoft/vscode/issues/96795, just 100vw on its own caused the actual hover width to increase */\n min-width: calc(100% + 100vw);\n}\n\n.monaco-hover p,\n.monaco-hover .code,\n.monaco-hover ul {\n margin: 8px 0;\n}\n\n.monaco-hover code {\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-hover hr {\n margin-top: 4px;\n margin-bottom: -4px;\n margin-left: -10px;\n margin-right: -10px;\n height: 1px;\n}\n\n.monaco-hover p:first-child,\n.monaco-hover .code:first-child,\n.monaco-hover ul:first-child {\n margin-top: 0;\n}\n\n.monaco-hover p:last-child,\n.monaco-hover .code:last-child,\n.monaco-hover ul:last-child {\n margin-bottom: 0;\n}\n\n/* MarkupContent Layout */\n.monaco-hover ul {\n padding-left: 20px;\n}\n.monaco-hover ol {\n padding-left: 20px;\n}\n\n.monaco-hover li > p {\n margin-bottom: 0;\n}\n\n.monaco-hover li > ul {\n margin-top: 0;\n}\n\n.monaco-hover code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n.monaco-hover .monaco-tokenized-source {\n white-space: pre-wrap;\n word-break: break-all;\n}\n\n.monaco-hover .hover-row.status-bar {\n font-size: 12px;\n line-height: 22px;\n}\n\n.monaco-hover .hover-row.status-bar .actions {\n display: flex;\n padding: 0px 8px;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container {\n margin-right: 16px;\n cursor: pointer;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {\n padding-right: 4px;\n}\n\n.monaco-hover .markdown-hover .hover-contents .codicon {\n color: inherit;\n font-size: inherit;\n vertical-align: middle;\n}\n\n.monaco-hover .hover-contents a.code-link:before {\n content: '(';\n}\n.monaco-hover .hover-contents a.code-link:after {\n content: ')';\n}\n\n.monaco-hover .hover-contents a.code-link {\n color: inherit;\n}\n.monaco-hover .hover-contents a.code-link > span {\n text-decoration: underline;\n /** Hack to force underline to show **/\n border-bottom: 1px solid transparent;\n text-underline-position: under;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(318); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57020,7 +57020,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .detected-link,\n.monaco-editor .detected-link-active {\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .detected-link-active {\n cursor: pointer;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(320); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57028,7 +57028,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .parameter-hints-widget {\n z-index: 10;\n display: flex;\n flex-direction: column;\n line-height: 1.5em;\n}\n\n.monaco-editor .parameter-hints-widget > .wrapper {\n max-width: 440px;\n display: flex;\n flex-direction: row;\n}\n\n.monaco-editor .parameter-hints-widget.multiple {\n min-height: 3.3em;\n padding: 0;\n}\n\n.monaco-editor .parameter-hints-widget.visible {\n transition: left .05s ease-in-out;\n}\n\n.monaco-editor .parameter-hints-widget p,\n.monaco-editor .parameter-hints-widget ul {\n margin: 8px 0;\n}\n\n.monaco-editor .parameter-hints-widget .monaco-scrollable-element,\n.monaco-editor .parameter-hints-widget .body {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 100%;\n}\n\n.monaco-editor .parameter-hints-widget .signature {\n padding: 4px 5px;\n}\n\n.monaco-editor .parameter-hints-widget .docs {\n padding: 0 10px 0 5px;\n white-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .docs.empty {\n display: none;\n}\n\n.monaco-editor .parameter-hints-widget .docs .markdown-docs {\n white-space: initial;\n}\n\n.monaco-editor .parameter-hints-widget .docs .markdown-docs code {\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .parameter-hints-widget .docs .code {\n white-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .docs code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n.monaco-editor .parameter-hints-widget .controls {\n display: none;\n flex-direction: column;\n align-items: center;\n min-width: 22px;\n justify-content: flex-end;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .controls {\n display: flex;\n padding: 0 2px;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .button {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n cursor: pointer;\n}\n\n.monaco-editor .parameter-hints-widget .button.previous {\n bottom: 24px;\n}\n\n.monaco-editor .parameter-hints-widget .overloads {\n text-align: center;\n height: 12px;\n line-height: 12px;\n opacity: 0.5;\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .parameter-hints-widget .signature .parameter.active {\n font-weight: bold;\n text-decoration: underline;\n}\n\n.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {\n font-weight: bold;\n margin-right: 0.5em;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(322); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57036,7 +57036,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .on-type-rename-decoration {\n border-left: 1px solid transparent;\n /* So border can be transparent */\n background-clip: padding-box;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(324); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57044,7 +57044,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .rename-box {\n z-index: 100;\n color: inherit;\n}\n\n.monaco-editor .rename-box.preview {\n padding: 3px 3px 0 3px;\n}\n\n.monaco-editor .rename-box .rename-input {\n padding: 3px;\n width: calc(100% - 6px);\n}\n\n.monaco-editor .rename-box .rename-label {\n display: none;\n opacity: .8;\n}\n\n.monaco-editor .rename-box.preview .rename-label {\n display: inherit;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(326); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57052,7 +57052,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .snippet-placeholder {\n min-width: 2px;\n outline-style: solid;\n outline-width: 1px;\n}\n\n.monaco-editor .finish-snippet-placeholder {\n outline-style: solid;\n outline-width: 1px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(328); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57060,7 +57060,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Suggest widget*/\n.monaco-editor .suggest-widget {\n z-index: 40;\n}\n\n/** Initial widths **/\n\n.monaco-editor .suggest-widget {\n width: 430px;\n}\n\n.monaco-editor .suggest-widget > .message,\n.monaco-editor .suggest-widget > .tree,\n.monaco-editor .suggest-widget > .details {\n width: 100%;\n border-style: solid;\n border-width: 1px;\n box-sizing: border-box;\n}\n\n.monaco-editor.hc-black .suggest-widget > .message,\n.monaco-editor.hc-black .suggest-widget > .tree,\n.monaco-editor.hc-black .suggest-widget > .details {\n border-width: 2px;\n}\n\n/** Adjust width when docs are expanded to the side **/\n.monaco-editor .suggest-widget.docs-side {\n width: 660px;\n}\n\n.monaco-editor .suggest-widget.docs-side > .tree,\n.monaco-editor .suggest-widget.docs-side > .details {\n width: 50%;\n float: left;\n}\n\n.monaco-editor .suggest-widget.docs-side.list-right > .tree,\n.monaco-editor .suggest-widget.docs-side.list-right > .details {\n float: right;\n}\n\n/* MarkupContent Layout */\n.monaco-editor .suggest-widget > .details ul {\n padding-left: 20px;\n}\n.monaco-editor .suggest-widget > .details ol {\n padding-left: 20px;\n}\n\n.monaco-editor .suggest-widget > .details p code {\n font-family: var(--monaco-monospace-font);\n}\n\n/* Styles for Message element for when widget is loading or is empty */\n.monaco-editor .suggest-widget > .message {\n padding-left: 22px;\n}\n\n/** Styles for the list element **/\n.monaco-editor .suggest-widget > .tree {\n height: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list {\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n/** Styles for each row in the list element **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\n display: flex;\n -mox-box-sizing: border-box;\n box-sizing: border-box;\n padding-right: 10px;\n background-repeat: no-repeat;\n background-position: 2px 2px;\n white-space: nowrap;\n cursor: pointer;\n touch-action: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents {\n flex: 1;\n height: 100%;\n overflow: hidden;\n padding-left: 2px;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main {\n display: flex;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n justify-content: space-between;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {\n display: flex;\n}\n\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\n font-weight: bold;\n}\n\n/** Status Bar **/\n\n.monaco-editor .suggest-widget > .suggest-status-bar {\n visibility: hidden;\n\n position: absolute;\n left: 0;\n\n box-sizing: border-box;\n\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n\n width: 100%;\n\n font-size: 80%;\n\n border-left-width: 1px;\n border-left-style: solid;\n border-right-width: 1px;\n border-right-style: solid;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n\n padding: 0 8px 0 4px;\n}\n\n.monaco-editor .suggest-widget.list-right.docs-side > .suggest-status-bar {\n left: auto;\n right: 0;\n}\n.monaco-editor .suggest-widget.docs-side > .suggest-status-bar {\n width: 50%;\n}\n\n/** ReadMore Icon styles **/\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore::before {\n color: inherit;\n opacity: 1;\n font-size: 14px;\n cursor: pointer;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close {\n position: absolute;\n top: 2px;\n right: 2px;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close:hover,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore:hover {\n opacity: 1;\n}\n\n/** signature, qualifier, type/details opacity **/\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {\n opacity: 0.7;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label {\n margin-left: 4px;\n opacity: 0.4;\n font-size: 90%;\n text-overflow: ellipsis;\n overflow: hidden;\n line-height: 17px;\n align-self: center;\n}\n\n/** Type Info and icon next to the label in the focused completion item **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {\n margin-left: 0.8em;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label > .monaco-tokenized-source {\n display: inline;\n}\n\n/** Details: if using CompletionItem#details, show on focus **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {\n display: inline;\n}\n\n/** Details: if using CompletionItemLabel#details, always show **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .right > .details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label) > .contents > .main > .right > .details-label {\n display: inline;\n}\n\n/** Ellipsis on hover **/\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {\n width: calc(100% - 26px);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left {\n flex-shrink: 1;\n flex-grow: 1;\n overflow: hidden;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .monaco-icon-label {\n flex-shrink: 0;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .left > .monaco-icon-label {\n max-width: 100%;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .left > .monaco-icon-label {\n flex-shrink: 1;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {\n overflow: hidden;\n margin-left: 16px;\n flex-shrink: 0;\n max-width: 45%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\n display: inline-block;\n position: absolute;\n right: 10px;\n width: 18px;\n height: 18px;\n visibility: hidden;\n}\n\n/** Do NOT display ReadMore when docs is side/below **/\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\n display: none !important;\n}\n\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .right > .readMore {\n display: none;\n}\n/** Focused item can show ReadMore, but can't when docs is side/below **/\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {\n display: inline-block;\n}\n\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover > .contents > .main > .right > .readMore {\n visibility: visible;\n}\n\n/** Styles for each row in the list **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\n opacity: 0.66;\n text-decoration: unset;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated > .monaco-icon-label-container > .monaco-icon-name-container {\n text-decoration: line-through;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\n height: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\n display: block;\n height: 16px;\n width: 16px;\n margin-left: 2px;\n background-repeat: no-repeat;\n background-size: 80%;\n background-position: center;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\n margin: 0 0 0 0.3em;\n border: 0.1em solid #000;\n width: 0.7em;\n height: 0.7em;\n display: inline-block;\n}\n\n/** Styles for the docs of the completion item in focus **/\n.monaco-editor .suggest-widget .details {\n display: flex;\n flex-direction: column;\n cursor: default;\n}\n\n.monaco-editor .suggest-widget .details.no-docs {\n display: none;\n}\n\n.monaco-editor .suggest-widget.docs-below .details {\n border-top-width: 0;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element {\n flex: 1;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body {\n position: absolute;\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .type {\n flex: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.7;\n word-break: break-all;\n margin: 0 24px 0 0;\n padding: 4px 0 12px 5px;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs {\n margin: 0;\n padding: 4px 5px;\n white-space: pre-wrap;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs {\n padding: 0;\n white-space: initial;\n min-height: calc(1rem + 8px);\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div,\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > span:not(:empty) {\n padding: 4px 5px;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:first-child {\n margin-top: 0;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:last-child {\n margin-bottom: 0;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs .code {\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs .codicon {\n vertical-align: sub;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > p:empty {\n display: none;\n}\n\n.monaco-editor .suggest-widget .details code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n\n/* replace/insert decorations */\n\n.monaco-editor .suggest-insert-unexpected {\n font-style: italic;\n}\n\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(330); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57068,7 +57068,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\n visibility: visible;\n}\n.monaco-editor .suggest-widget.with-status-bar > .tree {\n margin-bottom: 18px;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\n min-height: 18px;\n opacity: 0.5;\n color: inherit;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\n margin-right: 0;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\n content: ', ';\n margin-right: 0.3em;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {\n display: none;\n}\n\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {\n width: 100%;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(332); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57076,7 +57076,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list .monaco-list-row.focused.selected .outline-element .monaco-highlighted-label,\n.monaco-list .monaco-list-row.focused.selected .outline-element-decoration {\n /* make sure selection color wins when a label is being selected */\n color: inherit !important;\n}\n\n.monaco-list .outline-element {\n display: flex;\n flex: 1;\n flex-flow: row nowrap;\n align-items: center;\n}\n\n.monaco-list .outline-element .monaco-highlighted-label {\n color: var(--outline-element-color);\n}\n\n.monaco-list .outline-element .outline-element-decoration {\n opacity: 0.75;\n font-size: 90%;\n font-weight: 600;\n padding: 0 12px 0 5px;\n margin-left: auto;\n text-align: center;\n color: var(--outline-element-color);\n}\n\n.monaco-list .outline-element .outline-element-decoration.bubble {\n font-family: codicon;\n font-size: 14px;\n opacity: 0.4;\n}\n\n.monaco-list .outline-element .outline-element-icon {\n margin-right: 4px;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(334); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57084,7 +57084,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-icon-label.deprecated {\n text-decoration: line-through;\n opacity: 0.66;\n}\n", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(336); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57092,7 +57092,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .accessibilityHelpWidget {\n padding: 10px;\n vertical-align: middle;\n overflow: scroll;\n}", ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(338); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57100,7 +57100,7 @@ ${Object(zn.b)(wi)} (t = n(33)(false)).push([e.i, '/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .iPadShowKeyboard {\n width: 58px;\n min-width: 0;\n height: 36px;\n min-height: 0;\n margin: 0;\n padding: 0;\n position: absolute;\n resize: none;\n overflow: hidden;\n background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") center center no-repeat;\n border: 4px solid #F6F6F6;\n border-radius: 4px;\n}\n\n.monaco-editor.vs-dark .iPadShowKeyboard {\n background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") center center no-repeat;\n border: 4px solid #252526;\n}', ""]), e.exports = t; }, function(e, t, n) { var i = n(32), o = n(340); - "string" == typeof (o = o.__esModule ? o.default : o) && (o = [[e.i, o, ""]]); + typeof (o = o.__esModule ? o.default : o) == "string" && (o = [[e.i, o, ""]]); var r = {insert: "head", singleton: false}; i(o, r); e.exports = o.locals || {}; @@ -57163,7 +57163,7 @@ ${Object(zn.b)(wi)} return this._extraLibs; }, e2.prototype.addExtraLib = function(e3, t2) { var n2, i2 = this; - if (n2 = void 0 === t2 ? "ts:extralib-" + Math.random().toString(36).substring(2, 15) : t2, this._extraLibs[n2] && this._extraLibs[n2].content === e3) + if (n2 = t2 === void 0 ? "ts:extralib-" + Math.random().toString(36).substring(2, 15) : t2, this._extraLibs[n2] && this._extraLibs[n2].content === e3) return {dispose: function() { }}; var o2 = 1; @@ -57182,7 +57182,7 @@ ${Object(zn.b)(wi)} this._fireOnDidExtraLibsChangeSoon(); }, e2.prototype._fireOnDidExtraLibsChangeSoon = function() { var e3 = this; - -1 === this._onDidExtraLibsChangeTimeout && (this._onDidExtraLibsChangeTimeout = setTimeout(function() { + this._onDidExtraLibsChangeTimeout === -1 && (this._onDidExtraLibsChangeTimeout = setTimeout(function() { e3._onDidExtraLibsChangeTimeout = -1, e3._onDidExtraLibsChange.fire(void 0); }, 0)); }, e2.prototype.getCompilerOptions = function() { @@ -57490,9 +57490,9 @@ ${Object(zn.b)(wi)} class X { constructor(e2 = "", t2 = false) { var n2, i2; - if (this._value = e2, "string" != typeof this._value) + if (this._value = e2, typeof this._value != "string") throw Object(Z.b)("value"); - "boolean" == typeof t2 ? (this._isTrusted = t2, this._supportThemeIcons = false) : (this._isTrusted = null !== (n2 = t2.isTrusted) && void 0 !== n2 && n2, this._supportThemeIcons = null !== (i2 = t2.supportThemeIcons) && void 0 !== i2 && i2); + typeof t2 == "boolean" ? (this._isTrusted = t2, this._supportThemeIcons = false) : (this._isTrusted = (n2 = t2.isTrusted) !== null && n2 !== void 0 && n2, this._supportThemeIcons = (i2 = t2.supportThemeIcons) !== null && i2 !== void 0 && i2); } get value() { return this._value; @@ -57517,7 +57517,7 @@ ${Object(zn.b)(wi)} return J(e2) ? !e2.value : !Array.isArray(e2) || e2.every(Q); } function J(e2) { - return e2 instanceof X || !(!e2 || "object" != typeof e2) && !("string" != typeof e2.value || "boolean" != typeof e2.isTrusted && void 0 !== e2.isTrusted || "boolean" != typeof e2.supportThemeIcons && void 0 !== e2.supportThemeIcons); + return e2 instanceof X || !(!e2 || typeof e2 != "object") && !(typeof e2.value != "string" || typeof e2.isTrusted != "boolean" && e2.isTrusted !== void 0 || typeof e2.supportThemeIcons != "boolean" && e2.supportThemeIcons !== void 0); } function ee(e2, t2) { return e2 === t2 || !(!e2 || !t2) && (e2.value === t2.value && e2.isTrusted === t2.isTrusted && e2.supportThemeIcons === t2.supportThemeIcons); @@ -57526,8 +57526,8 @@ ${Object(zn.b)(wi)} return e2 ? e2.replace(/\\([\\`*_{}[\]()#+\-.!])/g, "$1") : e2; } var ne = n(66), ie = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -57661,7 +57661,7 @@ ${Object(zn.b)(wi)} if (!i2) return; let o2 = true; - n2 && false === n2.selectBrackets && (o2 = false), i2.selectToBracket(o2); + n2 && n2.selectBrackets === false && (o2 = false), i2.selectToBracket(o2); } } class ke { @@ -57672,7 +57672,7 @@ ${Object(zn.b)(wi)} class Ee extends pe.a { constructor(e2) { super(), this._editor = e2, this._lastBracketsData = [], this._lastVersionId = 0, this._decorations = [], this._updateBracketsSoon = this._register(new ue.d(() => this._updateBrackets(), 50)), this._matchBrackets = this._editor.getOption(55), this._updateBracketsSoon.schedule(), this._register(e2.onDidChangeCursorPosition((e3) => { - "never" !== this._matchBrackets && this._updateBracketsSoon.schedule(); + this._matchBrackets !== "never" && this._updateBracketsSoon.schedule(); })), this._register(e2.onDidChangeModelContent((e3) => { this._updateBracketsSoon.schedule(); })), this._register(e2.onDidChangeModel((e3) => { @@ -57728,7 +57728,7 @@ ${Object(zn.b)(wi)} }), n2.length > 0 && (this._editor.setSelections(n2), this._editor.revealRange(n2[0])); } _updateBrackets() { - if ("never" === this._matchBrackets) + if (this._matchBrackets === "never") return; this._recomputeBrackets(); let e2 = [], t2 = 0; @@ -57762,7 +57762,7 @@ ${Object(zn.b)(wi)} s2[a2++] = i2[l2]; else { let e4 = t2.matchBracket(n4), i3 = Ee._DECORATION_OPTIONS_WITH_OVERVIEW_RULER; - e4 || "always" !== this._matchBrackets || (e4 = t2.findEnclosingBrackets(n4, 20), i3 = Ee._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER), s2[a2++] = new ke(n4, e4, i3); + e4 || this._matchBrackets !== "always" || (e4 = t2.findEnclosingBrackets(n4, 20), i3 = Ee._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER), s2[a2++] = new ke(n4, e4, i3); } } this._lastBracketsData = s2, this._lastVersionId = n2; @@ -57782,7 +57782,7 @@ ${Object(zn.b)(wi)} if (this._selection.startLineNumber !== this._selection.endLineNumber || this._selection.isEmpty()) return; const n2 = this._selection.startLineNumber, i2 = this._selection.startColumn, o2 = this._selection.endColumn; - if ((!this._isMovingLeft || 1 !== i2) && (this._isMovingLeft || o2 !== e2.getLineMaxColumn(n2))) + if ((!this._isMovingLeft || i2 !== 1) && (this._isMovingLeft || o2 !== e2.getLineMaxColumn(n2))) if (this._isMovingLeft) { const r2 = new ge.a(n2, i2 - 1, n2, i2), s2 = e2.getValueInRange(r2); t2.addEditOperation(r2, null), t2.addEditOperation(new ge.a(n2, o2, n2, o2), s2); @@ -57830,7 +57830,7 @@ ${Object(zn.b)(wi)} if (!e3.isEmpty()) continue; let t3 = e3.startLineNumber, o3 = e3.startColumn, r2 = n2.getLineMaxColumn(t3); - if (1 === t3 && (1 === o3 || 2 === o3 && 2 === r2)) + if (t3 === 1 && (o3 === 1 || o3 === 2 && r2 === 2)) continue; let s2 = o3 === r2 ? e3.getPosition() : Ie.a.rightPosition(n2, e3.getPosition().lineNumber, e3.getPosition().column), a2 = Ie.a.leftPosition(n2, s2.lineNumber, s2.column), l2 = Ie.a.leftPosition(n2, a2.lineNumber, a2.column), c2 = n2.getValueInRange(ge.a.fromPositions(l2, a2)), d2 = n2.getValueInRange(ge.a.fromPositions(a2, s2)), h2 = ge.a.fromPositions(l2, s2); i2.push(new Ne.a(h2, d2 + c2)); @@ -57894,10 +57894,10 @@ ${Object(zn.b)(wi)} if (o2 && o2.hasTextFocus()) { return !(!document.execCommand("paste") && Ae.h) || (Fe(void 0, void 0, void 0, function* () { const e3 = yield i2.readText(); - if ("" !== e3) { + if (e3 !== "") { const t3 = Re.b.INSTANCE.get(e3); let n3 = false, i3 = null, r2 = null; - t3 && (n3 = o2.getOption(26) && !!t3.isFromEmptySelection, i3 = void 0 !== t3.multicursorText ? t3.multicursorText : null, r2 = t3.mode), o2.trigger("keyboard", "paste", {text: e3, pasteOnNewLine: n3, multicursorText: i3, mode: r2}); + t3 && (n3 = o2.getOption(26) && !!t3.isFromEmptySelection, i3 = t3.multicursorText !== void 0 ? t3.multicursorText : null, r2 = t3.mode), o2.trigger("keyboard", "paste", {text: e3, pasteOnNewLine: n3, multicursorText: i3, mode: r2}); } }), true); } @@ -57933,7 +57933,7 @@ ${Object(zn.b)(wi)} return this.value === e2.value; } contains(e2) { - return this.equals(e2) || "" === this.value || Object(Ye.S)(e2.value, this.value + nt.sep); + return this.equals(e2) || this.value === "" || Object(Ye.S)(e2.value, this.value + nt.sep); } intersects(e2) { return this.contains(e2) || e2.contains(this); @@ -57951,10 +57951,10 @@ ${Object(zn.b)(wi)} this.kind = e2, this.apply = t2, this.preferred = n2; } static fromUser(e2, t2) { - return e2 && "object" == typeof e2 ? new ot(ot.getKindFromUser(e2, t2.kind), ot.getApplyFromUser(e2, t2.apply), ot.getPreferredUser(e2)) : new ot(t2.kind, t2.apply, false); + return e2 && typeof e2 == "object" ? new ot(ot.getKindFromUser(e2, t2.kind), ot.getApplyFromUser(e2, t2.apply), ot.getPreferredUser(e2)) : new ot(t2.kind, t2.apply, false); } static getApplyFromUser(e2, t2) { - switch ("string" == typeof e2.apply ? e2.apply.toLowerCase() : "") { + switch (typeof e2.apply == "string" ? e2.apply.toLowerCase() : "") { case "first": return "first"; case "never": @@ -57966,10 +57966,10 @@ ${Object(zn.b)(wi)} } } static getKindFromUser(e2, t2) { - return "string" == typeof e2.kind ? new nt(e2.kind) : t2; + return typeof e2.kind == "string" ? new nt(e2.kind) : t2; } static getPreferredUser(e2) { - return "boolean" == typeof e2.preferred && e2.preferred; + return typeof e2.preferred == "boolean" && e2.preferred; } } var rt = n(83), st = function(e2, t2, n2, i2) { @@ -58011,7 +58011,7 @@ ${Object(zn.b)(wi)} const lt = {actions: [], documentation: void 0}; function ct(e2, t2, n2, i2, o2) { var r2; - const s2 = n2.filter || {}, a2 = {only: null === (r2 = s2.include) || void 0 === r2 ? void 0 : r2.value, trigger: n2.type}, l2 = new Je.d(e2, o2), c2 = function(e3, t3) { + const s2 = n2.filter || {}, a2 = {only: (r2 = s2.include) === null || r2 === void 0 ? void 0 : r2.value, trigger: n2.type}, l2 = new Je.d(e2, o2), c2 = function(e3, t3) { return et.a.all(e3).filter((e4) => !e4.providedCodeActionKinds || e4.providedCodeActionKinds.some((e5) => function(e6, t4) { return !(e6.include && !e6.include.intersects(t4)) && ((!e6.excludes || !e6.excludes.some((n3) => it(t4, n3, e6.include))) && !(!e6.includeSourceActions && nt.Source.contains(t4))); }(t3, new nt(e5)))); @@ -58021,7 +58021,7 @@ ${Object(zn.b)(wi)} const o3 = yield n3.provideCodeActions(e2, t2, a2, l2.token); if (o3 && d2.add(o3), l2.token.isCancellationRequested) return lt; - const r3 = ((null == o3 ? void 0 : o3.actions) || []).filter((e3) => e3 && function(e4, t3) { + const r3 = ((o3 == null ? void 0 : o3.actions) || []).filter((e3) => e3 && function(e4, t3) { const n4 = t3.kind ? new nt(t3.kind) : void 0; return !!(!e4.include || n4 && e4.include.contains(n4)) && (!(e4.excludes && n4 && e4.excludes.some((t4) => it(n4, t4, e4.include))) && (!(!e4.includeSourceActions && n4 && nt.Source.contains(n4)) && !(e4.onlyIncludePreferredActions && !t3.isPreferred))); }(s2, e3)); @@ -58034,7 +58034,7 @@ ${Object(zn.b)(wi)} for (const t4 of i3) t4.kind.contains(n4) && (e4 ? e4.kind.contains(t4.kind) && (e4 = t4) : e4 = t4); if (e4) - return null == e4 ? void 0 : e4.command; + return e4 == null ? void 0 : e4.command; } for (const e4 of t3) if (e4.kind) { @@ -58077,8 +58077,8 @@ ${Object(zn.b)(wi)} }); n(285); var dt = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -58155,8 +58155,8 @@ ${Object(zn.b)(wi)} o2 && t2.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${o2}; }`); }); var gt = n(18), ft = n(1), bt = n(60), _t = n(84), vt = n(50), wt = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -58222,7 +58222,7 @@ ${Object(zn.b)(wi)} const r2 = (e3) => new xt(e3, () => this._delegate.onSelectCodeAction(e3)), s2 = t2.map(r2), a2 = [...n2], l2 = this._editor.getModel(); if (l2 && s2.length) for (const n3 of et.a.all(l2)) - n3._getAdditionalMenuItems && a2.push(...n3._getAdditionalMenuItems({trigger: e2.type, only: null === (o2 = null === (i2 = e2.filter) || void 0 === i2 ? void 0 : i2.include) || void 0 === o2 ? void 0 : o2.value}, t2)); + n3._getAdditionalMenuItems && a2.push(...n3._getAdditionalMenuItems({trigger: e2.type, only: (o2 = (i2 = e2.filter) === null || i2 === void 0 ? void 0 : i2.include) === null || o2 === void 0 ? void 0 : o2.value}, t2)); return a2.length && s2.push(new bt.c(), ...a2.map((e3) => r2({title: e3.title, command: e3}))), s2; } _toCoords(e2) { @@ -58241,12 +58241,12 @@ ${Object(zn.b)(wi)} getResolver() { const e2 = new Ge(() => this._keybindingProvider.getKeybindings().filter((e3) => kt.codeActionCommands.indexOf(e3.command) >= 0).filter((e3) => e3.resolvedKeybinding).map((e3) => { let t2 = e3.commandArgs; - return "editor.action.organizeImports" === e3.command ? t2 = {kind: nt.SourceOrganizeImports.value} : "editor.action.fixAll" === e3.command && (t2 = {kind: nt.SourceFixAll.value}), Object.assign({resolvedKeybinding: e3.resolvedKeybinding}, ot.fromUser(t2, {kind: nt.None, apply: "never"})); + return e3.command === "editor.action.organizeImports" ? t2 = {kind: nt.SourceOrganizeImports.value} : e3.command === "editor.action.fixAll" && (t2 = {kind: nt.SourceFixAll.value}), Object.assign({resolvedKeybinding: e3.resolvedKeybinding}, ot.fromUser(t2, {kind: nt.None, apply: "never"})); })); return (t2) => { if (t2.kind) { const n2 = this.bestKeybindingForCodeAction(t2, e2.getValue()); - return null == n2 ? void 0 : n2.resolvedKeybinding; + return n2 == null ? void 0 : n2.resolvedKeybinding; } }; } @@ -58259,8 +58259,8 @@ ${Object(zn.b)(wi)} } kt.codeActionCommands = ["editor.action.refactor", "editor.action.codeAction", "editor.action.sourceAction", "editor.action.organizeImports", "editor.action.fixAll"]; var Et, Tt = n(103), Lt = n(6), Nt = (n(287), n(61)), It = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -58283,16 +58283,16 @@ ${Object(zn.b)(wi)} constructor(e3, t2, n2, i2) { super(), this._editor = e3, this._quickFixActionId = t2, this._preferredFixActionId = n2, this._keybindingService = i2, this._onClick = this._register(new Lt.a()), this.onClick = this._onClick.event, this._state = Et.Hidden, this._domNode = document.createElement("div"), this._domNode.className = Y.a.lightBulb.classNames, this._editor.addContentWidget(this), this._register(this._editor.onDidChangeModelContent((e4) => { const t3 = this._editor.getModel(); - (1 !== this.state.type || !t3 || this.state.editorPosition.lineNumber >= t3.getLineCount()) && this.hide(); + (this.state.type !== 1 || !t3 || this.state.editorPosition.lineNumber >= t3.getLineCount()) && this.hide(); })), Nt.b.ignoreTarget(this._domNode), this._register(ft.m(this._domNode, (e4) => { - if (1 !== this.state.type) + if (this.state.type !== 1) return; this._editor.focus(), e4.preventDefault(); const {top: t3, height: n3} = ft.C(this._domNode), i3 = this._editor.getOption(51); let o2 = Math.floor(i3 / 3); - null !== this.state.widgetPosition.position && this.state.widgetPosition.position.lineNumber < this.state.editorPosition.lineNumber && (o2 += i3), this._onClick.fire({x: e4.posx, y: t3 + n3 + o2, actions: this.state.actions, trigger: this.state.trigger}); + this.state.widgetPosition.position !== null && this.state.widgetPosition.position.lineNumber < this.state.editorPosition.lineNumber && (o2 += i3), this._onClick.fire({x: e4.posx, y: t3 + n3 + o2, actions: this.state.actions, trigger: this.state.trigger}); })), this._register(ft.i(this._domNode, "mouseenter", (e4) => { - if (1 != (1 & e4.buttons)) + if ((1 & e4.buttons) != 1) return; this.hide(); const t3 = new Tt.a(); @@ -58314,7 +58314,7 @@ ${Object(zn.b)(wi)} return this._domNode; } getPosition() { - return 1 === this._state.type ? this._state.widgetPosition : null; + return this._state.type === 1 ? this._state.widgetPosition : null; } update(t2, n2, i2) { if (t2.validActions.length <= 0) @@ -58347,7 +58347,7 @@ ${Object(zn.b)(wi)} this._state = e3, this._updateLightBulbTitleAndIcon(); } _updateLightBulbTitleAndIcon() { - if (1 === this.state.type && this.state.actions.hasAutoFix) { + if (this.state.type === 1 && this.state.actions.hasAutoFix) { ft.R(this._domNode, Y.a.lightBulb.classNames), ft.f(this._domNode, Y.a.lightbulbAutofix.classNames); const e4 = this._keybindingService.lookupKeybinding(this._preferredFixActionId); if (e4) @@ -58374,8 +58374,8 @@ ${Object(zn.b)(wi)} }`); }); var At = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -58422,16 +58422,16 @@ ${Object(zn.b)(wi)} update(e2) { var t2, n2, i2; return Mt(this, void 0, void 0, function* () { - if (1 !== e2.type) - return void (null === (t2 = this._lightBulbWidget.rawValue) || void 0 === t2 || t2.hide()); + if (e2.type !== 1) + return void ((t2 = this._lightBulbWidget.rawValue) === null || t2 === void 0 || t2.hide()); let o2; try { o2 = yield e2.actions; } catch (e3) { return void Object(Z.e)(e3); } - if (this._lightBulbWidget.getValue().update(o2, e2.trigger, e2.position), 2 === e2.trigger.type) { - if (null === (n2 = e2.trigger.filter) || void 0 === n2 ? void 0 : n2.include) { + if (this._lightBulbWidget.getValue().update(o2, e2.trigger, e2.position), e2.trigger.type === 2) { + if ((n2 = e2.trigger.filter) === null || n2 === void 0 ? void 0 : n2.include) { const t4 = this.tryGetValidActionToApply(e2.trigger, o2); if (t4) { try { @@ -58447,7 +58447,7 @@ ${Object(zn.b)(wi)} return ut.get(this._editor).showMessage(t5.disabled, e2.trigger.context.position), void o2.dispose(); } } - const t3 = !!(null === (i2 = e2.trigger.filter) || void 0 === i2 ? void 0 : i2.include); + const t3 = !!((i2 = e2.trigger.filter) === null || i2 === void 0 ? void 0 : i2.include); if (e2.trigger.context && (!o2.allActions.length || !t3 && !o2.validActions.length)) return ut.get(this._editor).showMessage(e2.trigger.context.notAvailableMessage, e2.trigger.context.position), this._activeCodeActions.value = o2, void o2.dispose(); this._activeCodeActions.value = o2, this._codeActionWidget.getValue().show(e2.trigger, o2, e2.position, {includeDisabledActions: t3}); @@ -58457,11 +58457,11 @@ ${Object(zn.b)(wi)} } getInvalidActionThatWouldHaveBeenApplied(e2, t2) { if (t2.allActions.length) - return "first" === e2.autoApply && 0 === t2.validActions.length || "ifSingle" === e2.autoApply && 1 === t2.allActions.length ? t2.allActions.find((e3) => e3.disabled) : void 0; + return e2.autoApply === "first" && t2.validActions.length === 0 || e2.autoApply === "ifSingle" && t2.allActions.length === 1 ? t2.allActions.find((e3) => e3.disabled) : void 0; } tryGetValidActionToApply(e2, t2) { if (t2.validActions.length) - return "first" === e2.autoApply && t2.validActions.length > 0 || "ifSingle" === e2.autoApply && 1 === t2.validActions.length ? t2.validActions[0] : void 0; + return e2.autoApply === "first" && t2.validActions.length > 0 || e2.autoApply === "ifSingle" && t2.validActions.length === 1 ? t2.validActions[0] : void 0; } showCodeActionList(e2, t2, n2, i2) { return Mt(this, void 0, void 0, function* () { @@ -58504,11 +58504,11 @@ ${Object(zn.b)(wi)} if (!this._editor.hasModel()) return; const t2 = this._editor.getModel(), n2 = this._editor.getSelection(); - if (n2.isEmpty() && 1 === e2.type) { + if (n2.isEmpty() && e2.type === 1) { const {lineNumber: e3, column: i2} = n2.getPosition(), o2 = t2.getLineContent(e3); - if (0 === o2.length) + if (o2.length === 0) return; - if (1 === i2) { + if (i2 === 1) { if (/\s/.test(o2[0])) return; } else if (i2 === t2.getLineMaxColumn(e3)) { @@ -58555,7 +58555,7 @@ ${Object(zn.b)(wi)} if (!t3) return void this.setState(Ht.Empty); const i2 = Object(ue.f)((n3) => ct(e2, t3.selection, t3.trigger, rt.b.None, n3)); - 2 === t3.trigger.type && (null === (n2 = this._progressService) || void 0 === n2 || n2.showWhile(i2, 250)), this.setState(new Ht.Triggered(t3.trigger, t3.selection, t3.position, i2)); + t3.trigger.type === 2 && ((n2 = this._progressService) === null || n2 === void 0 || n2.showWhile(i2, 250)), this.setState(new Ht.Triggered(t3.trigger, t3.selection, t3.position, i2)); }, void 0), this._codeActionOracle.value.trigger({type: 1}); } else this._supportedCodeActions.reset(); @@ -58564,12 +58564,12 @@ ${Object(zn.b)(wi)} this._codeActionOracle.value && this._codeActionOracle.value.trigger(e2); } setState(e2, t2) { - e2 !== this._state && (1 === this._state.type && this._state.actions.cancel(), this._state = e2, t2 || this._onDidChangeState.fire(e2)); + e2 !== this._state && (this._state.type === 1 && this._state.actions.cancel(), this._state = e2, t2 || this._onDidChangeState.fire(e2)); } } var $t = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -58649,9 +58649,9 @@ ${Object(zn.b)(wi)} yield o2.executeCommand(t2.command.id, ...t2.command.arguments || []); } catch (e3) { const t3 = function(e4) { - return "string" == typeof e4 ? e4 : e4 instanceof Error && "string" == typeof e4.message ? e4.message : void 0; + return typeof e4 == "string" ? e4 : e4 instanceof Error && typeof e4.message == "string" ? e4.message : void 0; }(e3); - s2.error("string" == typeof t3 ? t3 : U.a("applyCodeActionFailed", "An unknown error occurred while applying the code action")); + s2.error(typeof t3 == "string" ? t3 : U.a("applyCodeActionFailed", "An unknown error occurred while applying the code action")); } }); } @@ -58677,7 +58677,7 @@ ${Object(zn.b)(wi)} } runEditorCommand(e2, t2, n2) { const i2 = ot.fromUser(n2, {kind: nt.Empty, apply: "ifSingle"}); - return Jt(t2, "string" == typeof (null == n2 ? void 0 : n2.kind) ? i2.preferred ? U.a("editor.action.codeAction.noneMessage.preferred.kind", "No preferred code actions for '{0}' available", n2.kind) : U.a("editor.action.codeAction.noneMessage.kind", "No code actions for '{0}' available", n2.kind) : i2.preferred ? U.a("editor.action.codeAction.noneMessage.preferred", "No preferred code actions available") : U.a("editor.action.codeAction.noneMessage", "No code actions available"), {include: i2.kind, includeSourceActions: true, onlyIncludePreferredActions: i2.preferred}, i2.apply); + return Jt(t2, typeof (n2 == null ? void 0 : n2.kind) == "string" ? i2.preferred ? U.a("editor.action.codeAction.noneMessage.preferred.kind", "No preferred code actions for '{0}' available", n2.kind) : U.a("editor.action.codeAction.noneMessage.kind", "No code actions for '{0}' available", n2.kind) : i2.preferred ? U.a("editor.action.codeAction.noneMessage.preferred", "No preferred code actions available") : U.a("editor.action.codeAction.noneMessage", "No code actions available"), {include: i2.kind, includeSourceActions: true, onlyIncludePreferredActions: i2.preferred}, i2.apply); } } class nn extends V.b { @@ -58686,7 +58686,7 @@ ${Object(zn.b)(wi)} } run(e2, t2, n2) { const i2 = ot.fromUser(n2, {kind: nt.Refactor, apply: "never"}); - return Jt(t2, "string" == typeof (null == n2 ? void 0 : n2.kind) ? i2.preferred ? U.a("editor.action.refactor.noneMessage.preferred.kind", "No preferred refactorings for '{0}' available", n2.kind) : U.a("editor.action.refactor.noneMessage.kind", "No refactorings for '{0}' available", n2.kind) : i2.preferred ? U.a("editor.action.refactor.noneMessage.preferred", "No preferred refactorings available") : U.a("editor.action.refactor.noneMessage", "No refactorings available"), {include: nt.Refactor.contains(i2.kind) ? i2.kind : nt.None, onlyIncludePreferredActions: i2.preferred}, i2.apply); + return Jt(t2, typeof (n2 == null ? void 0 : n2.kind) == "string" ? i2.preferred ? U.a("editor.action.refactor.noneMessage.preferred.kind", "No preferred refactorings for '{0}' available", n2.kind) : U.a("editor.action.refactor.noneMessage.kind", "No refactorings for '{0}' available", n2.kind) : i2.preferred ? U.a("editor.action.refactor.noneMessage.preferred", "No preferred refactorings available") : U.a("editor.action.refactor.noneMessage", "No refactorings available"), {include: nt.Refactor.contains(i2.kind) ? i2.kind : nt.None, onlyIncludePreferredActions: i2.preferred}, i2.apply); } } class on extends V.b { @@ -58695,7 +58695,7 @@ ${Object(zn.b)(wi)} } run(e2, t2, n2) { const i2 = ot.fromUser(n2, {kind: nt.Source, apply: "never"}); - return Jt(t2, "string" == typeof (null == n2 ? void 0 : n2.kind) ? i2.preferred ? U.a("editor.action.source.noneMessage.preferred.kind", "No preferred source actions for '{0}' available", n2.kind) : U.a("editor.action.source.noneMessage.kind", "No source actions for '{0}' available", n2.kind) : i2.preferred ? U.a("editor.action.source.noneMessage.preferred", "No preferred source actions available") : U.a("editor.action.source.noneMessage", "No source actions available"), {include: nt.Source.contains(i2.kind) ? i2.kind : nt.None, includeSourceActions: true, onlyIncludePreferredActions: i2.preferred}, i2.apply); + return Jt(t2, typeof (n2 == null ? void 0 : n2.kind) == "string" ? i2.preferred ? U.a("editor.action.source.noneMessage.preferred.kind", "No preferred source actions for '{0}' available", n2.kind) : U.a("editor.action.source.noneMessage.kind", "No source actions for '{0}' available", n2.kind) : i2.preferred ? U.a("editor.action.source.noneMessage.preferred", "No preferred source actions available") : U.a("editor.action.source.noneMessage", "No source actions available"), {include: nt.Source.contains(i2.kind) ? i2.kind : nt.None, includeSourceActions: true, onlyIncludePreferredActions: i2.preferred}, i2.apply); } } class rn extends V.b { @@ -58752,7 +58752,7 @@ ${Object(zn.b)(wi)} s2.add(e3); let t3 = []; for (const n3 of e3.lenses) - void 0 === i2 || Boolean(n3.symbol.command) ? r2.push(n3.symbol) : i2-- > 0 && n3.provider.resolveCodeLens && t3.push(Promise.resolve(n3.provider.resolveCodeLens(o2, n3.symbol, Xe.a.None)).then((e4) => r2.push(e4 || n3.symbol))); + i2 === void 0 || Boolean(n3.symbol.command) ? r2.push(n3.symbol) : i2-- > 0 && n3.provider.resolveCodeLens && t3.push(Promise.resolve(n3.provider.resolveCodeLens(o2, n3.symbol, Xe.a.None)).then((e4) => r2.push(e4 || n3.symbol))); return Promise.all(t3); }).then(() => r2).finally(() => { setTimeout(() => s2.dispose(), 100); @@ -58764,7 +58764,7 @@ ${Object(zn.b)(wi)} this.afterLineNumber = e2, this._onHeight = t2, this.heightInLines = 1, this.suppressMouseDown = true, this.domNode = document.createElement("div"); } onComputedHeight(e2) { - void 0 === this._lastHeight ? this._lastHeight = e2 : this._lastHeight !== e2 && (this._lastHeight = e2, this._onHeight()); + this._lastHeight === void 0 ? this._lastHeight = e2 : this._lastHeight !== e2 && (this._lastHeight = e2, this._onHeight()); } } class hn { @@ -58781,7 +58781,7 @@ ${Object(zn.b)(wi)} o2.command.id ? (n2 += `<a id=${t3}>${i3}</a>`, this._commands.set(String(t3), o2.command)) : n2 += `<span>${i3}</span>`, t3 + 1 < e2.length && (n2 += "<span> | </span>"); } } - i2 ? (n2 || (n2 = " "), this._domNode.innerHTML = n2, this._isEmpty && t2 && this._domNode.classList.add("fadein"), this._isEmpty = false) : this._domNode.innerHTML = "<span>no commands</span>"; + i2 ? (n2 || (n2 = "\xA0"), this._domNode.innerHTML = n2, this._isEmpty && t2 && this._domNode.classList.add("fadein"), this._isEmpty = false) : this._domNode.innerHTML = "<span>no commands</span>"; } getCommand(e2) { return e2.parentElement === this._domNode ? this._commands.get(e2.id) : void 0; @@ -58867,7 +58867,7 @@ ${Object(zn.b)(wi)} } getCommand(e2) { var t2; - return null === (t2 = this._contentWidget) || void 0 === t2 ? void 0 : t2.getCommand(e2); + return (t2 = this._contentWidget) === null || t2 === void 0 ? void 0 : t2.getCommand(e2); } getLineNumber() { const e2 = this._editor.getModel().getDecorationRange(this._decorationIds[0]); @@ -58890,8 +58890,8 @@ ${Object(zn.b)(wi)} i2 && (t2.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${i2} !important; }`), t2.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${i2} !important; }`)); }); var mn = n(115), gn = n(78), fn = n(97), bn = n(133), _n = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -58924,7 +58924,7 @@ ${Object(zn.b)(wi)} put(e2, t2) { const n2 = t2.lenses.map((e3) => { var t3; - return {range: e3.symbol.range, command: e3.symbol.command && {id: "", title: null === (t3 = e3.symbol.command) || void 0 === t3 ? void 0 : t3.title}}; + return {range: e3.symbol.range, command: e3.symbol.command && {id: "", title: (t3 = e3.symbol.command) === null || t3 === void 0 ? void 0 : t3.title}}; }), i2 = new ln(); i2.add({lenses: n2, dispose: () => { }}, this._fakeProvider); @@ -58965,8 +58965,8 @@ ${Object(zn.b)(wi)} }; Cn = _n([vn(0, fn.a)], Cn), Object(mn.b)(wn, Cn); var xn = n(89), Sn = n(110), kn = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -59037,7 +59037,7 @@ ${Object(zn.b)(wi)} t2 === n3 && (this._codeLensCache.delete(e2), this._onModelChange()); }, 3e4))); for (const t3 of et.b.all(e2)) - if ("function" == typeof t3.onDidChange) { + if (typeof t3.onDidChange == "function") { let e3 = t3.onDidChange(() => i2.schedule()); this._localToDispose.add(e3); } @@ -59075,10 +59075,10 @@ ${Object(zn.b)(wi)} } else this._disposeAllLenses(void 0, void 0); })), this._localToDispose.add(this._editor.onMouseUp((e3) => { - if (9 !== e3.target.type) + if (e3.target.type !== 9) return; let t3 = e3.target.element; - if ("SPAN" === (null == t3 ? void 0 : t3.tagName) && (t3 = t3.parentElement), "A" === (null == t3 ? void 0 : t3.tagName)) + if ((t3 == null ? void 0 : t3.tagName) === "SPAN" && (t3 = t3.parentElement), (t3 == null ? void 0 : t3.tagName) === "A") for (const e4 of this._lenses) { let n3 = e4.getCommand(t3); if (n3) { @@ -59128,11 +59128,11 @@ ${Object(zn.b)(wi)} if (this._lenses.forEach((i3) => { const o2 = i3.computeIfNecessary(e2); o2 && (t2.push(o2), n2.push(i3)); - }), 0 === t2.length) + }), t2.length === 0) return; const i2 = Object(ue.f)((i3) => { const o2 = t2.map((t3, o3) => { - const r2 = new Array(t3.length), s2 = t3.map((t4, n3) => t4.symbol.command || "function" != typeof t4.provider.resolveCodeLens ? (r2[n3] = t4.symbol, Promise.resolve(void 0)) : Promise.resolve(t4.provider.resolveCodeLens(e2, t4.symbol, i3)).then((e3) => { + const r2 = new Array(t3.length), s2 = t3.map((t4, n3) => t4.symbol.command || typeof t4.provider.resolveCodeLens != "function" ? (r2[n3] = t4.symbol, Promise.resolve(void 0)) : Promise.resolve(t4.provider.resolveCodeLens(e2, t4.symbol, i3)).then((e3) => { r2[n3] = e3; }, Z.f)); return Promise.all(s2).then(() => { @@ -59166,7 +59166,7 @@ ${Object(zn.b)(wi)} const {command: e4} = t3.symbol; e4 && a2.push({label: e4.title, command: e4}); } - if (0 === a2.length) + if (a2.length === 0) return; const l2 = yield n2.pick(a2, {canPickMany: false}); if (l2) @@ -59197,7 +59197,7 @@ ${Object(zn.b)(wi)} return Promise.all(r2).then(() => o2); }), Object(V.o)("_executeColorPresentationProvider", function(e2, t2) { const {resource: n2, color: i2, range: o2} = t2; - if (!(n2 instanceof Qe.a && Array.isArray(i2) && 4 === i2.length && ge.a.isIRange(o2))) + if (!(n2 instanceof Qe.a && Array.isArray(i2) && i2.length === 4 && ge.a.isIRange(o2))) throw Object(Z.b)(); const [r2, s2, a2, l2] = i2, c2 = e2.get(tt.a).getModel(n2); if (!c2) @@ -59208,8 +59208,8 @@ ${Object(zn.b)(wi)} return Promise.all(u2).then(() => h2); }); var On = n(54), Dn = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -59236,7 +59236,7 @@ ${Object(zn.b)(wi)} const t2 = e3.getLanguageIdentifier(), n2 = this._configurationService.getValue(t2.language); if (n2) { const e4 = n2.colorDecorators; - if (e4 && void 0 !== e4.enable && !e4.enable) + if (e4 && e4.enable !== void 0 && !e4.enable) return e4.enable; } return this._editor.getOption(12); @@ -59300,7 +59300,7 @@ ${Object(zn.b)(wi)} if (!t2) return null; const n2 = t2.getDecorationsInRange(ge.a.fromPositions(e3, e3)).filter((e4) => this._colorDatas.has(e4.id)); - return 0 === n2.length ? null : this._colorDatas.get(n2[0].id); + return n2.length === 0 ? null : this._colorDatas.get(n2[0].id); } }; Rn.ID = "editor.contrib.colorDetector", Rn.RECOMPUTE_TIME = 1e3, Rn = Dn([An(1, Me.a), An(2, On.a)], Rn), Object(V.m)(Rn.ID, Rn); @@ -59325,14 +59325,14 @@ ${Object(zn.b)(wi)} _createOperationsForBlockComment(e2, t2, n2, i2, o2, r2) { const s2 = e2.startLineNumber, a2 = e2.startColumn, l2 = e2.endLineNumber, c2 = e2.endColumn, d2 = o2.getLineContent(s2), h2 = o2.getLineContent(l2); let u2, p2 = d2.lastIndexOf(t2, a2 - 1 + t2.length), m2 = h2.indexOf(n2, c2 - 1 - n2.length); - if (-1 !== p2 && -1 !== m2) + if (p2 !== -1 && m2 !== -1) if (s2 === l2) { d2.substring(p2 + t2.length, m2).indexOf(n2) >= 0 && (p2 = -1, m2 = -1); } else { const e3 = d2.substring(p2 + t2.length), i3 = h2.substring(0, m2); (e3.indexOf(n2) >= 0 || i3.indexOf(n2) >= 0) && (p2 = -1, m2 = -1); } - -1 !== p2 && -1 !== m2 ? (i2 && p2 + t2.length < d2.length && 32 === d2.charCodeAt(p2 + t2.length) && (t2 += " "), i2 && m2 > 0 && 32 === h2.charCodeAt(m2 - 1) && (n2 = " " + n2, m2 -= 1), u2 = Fn._createRemoveBlockCommentOperations(new ge.a(s2, p2 + t2.length + 1, l2, m2 + 1), t2, n2)) : (u2 = Fn._createAddBlockCommentOperations(e2, t2, n2, this._insertSpace), this._usedEndToken = 1 === u2.length ? n2 : null); + p2 !== -1 && m2 !== -1 ? (i2 && p2 + t2.length < d2.length && d2.charCodeAt(p2 + t2.length) === 32 && (t2 += " "), i2 && m2 > 0 && h2.charCodeAt(m2 - 1) === 32 && (n2 = " " + n2, m2 -= 1), u2 = Fn._createRemoveBlockCommentOperations(new ge.a(s2, p2 + t2.length + 1, l2, m2 + 1), t2, n2)) : (u2 = Fn._createAddBlockCommentOperations(e2, t2, n2, this._insertSpace), this._usedEndToken = u2.length === 1 ? n2 : null); for (const e3 of u2) r2.addTrackedEditOperation(e3.range, e3.text); } @@ -59352,7 +59352,7 @@ ${Object(zn.b)(wi)} } computeCursorState(e2, t2) { const n2 = t2.getInverseEditOperations(); - if (2 === n2.length) { + if (n2.length === 2) { const e3 = n2[0], t3 = n2[1]; return new q.a(e3.range.endLineNumber, e3.range.endColumn, t3.range.startLineNumber, t3.range.startColumn); } @@ -59378,18 +59378,18 @@ ${Object(zn.b)(wi)} } static _analyzeLines(e2, t2, n2, i2, o2, r2) { let s2, a2 = true; - s2 = 0 === e2 || 1 !== e2; + s2 = e2 === 0 || e2 !== 1; for (let l2 = 0, c2 = i2.length; l2 < c2; l2++) { const c3 = i2[l2], d2 = o2 + l2, h2 = n2.getLineContent(d2), u2 = Ye.w(h2); - if (-1 !== u2) { - if (a2 = false, c3.ignore = false, c3.commentStrOffset = u2, s2 && !Fn._haystackHasNeedleAtOffset(h2, c3.commentStr, u2) && (0 === e2 ? s2 = false : 1 === e2 || (c3.ignore = true)), s2 && t2) { + if (u2 !== -1) { + if (a2 = false, c3.ignore = false, c3.commentStrOffset = u2, s2 && !Fn._haystackHasNeedleAtOffset(h2, c3.commentStr, u2) && (e2 === 0 ? s2 = false : e2 === 1 || (c3.ignore = true)), s2 && t2) { const e3 = u2 + c3.commentStrLength; - e3 < h2.length && 32 === h2.charCodeAt(e3) && (c3.commentStrLength += 1); + e3 < h2.length && h2.charCodeAt(e3) === 32 && (c3.commentStrLength += 1); } } else c3.ignore = r2, c3.commentStrOffset = h2.length; } - if (0 === e2 && a2) { + if (e2 === 0 && a2) { s2 = false; for (let e3 = 0, t3 = i2.length; e3 < t3; e3++) i2[e3].ignore = false; @@ -59398,7 +59398,7 @@ ${Object(zn.b)(wi)} } static _gatherPreflightData(e2, t2, n2, i2, o2, r2) { const s2 = Wn._gatherPreflightCommentStrings(n2, i2, o2); - return null === s2 ? {supported: false} : Wn._analyzeLines(e2, t2, n2, s2, i2, r2); + return s2 === null ? {supported: false} : Wn._analyzeLines(e2, t2, n2, s2, i2, r2); } _executeLineComments(e2, t2, n2, i2) { let o2; @@ -59412,7 +59412,7 @@ ${Object(zn.b)(wi)} } _attemptRemoveBlockComment(e2, t2, n2, i2) { let o2 = t2.startLineNumber, r2 = t2.endLineNumber, s2 = i2.length + Math.max(e2.getLineFirstNonWhitespaceColumn(t2.startLineNumber), t2.startColumn), a2 = e2.getLineContent(o2).lastIndexOf(n2, s2 - 1), l2 = e2.getLineContent(r2).indexOf(i2, t2.endColumn - 1 - n2.length); - return -1 !== a2 && -1 === l2 && (l2 = e2.getLineContent(o2).indexOf(i2, a2 + n2.length), r2 = o2), -1 === a2 && -1 !== l2 && (a2 = e2.getLineContent(r2).lastIndexOf(n2, l2), o2 = r2), !t2.isEmpty() || -1 !== a2 && -1 !== l2 || (a2 = e2.getLineContent(o2).indexOf(n2), -1 !== a2 && (l2 = e2.getLineContent(o2).indexOf(i2, a2 + n2.length))), -1 !== a2 && 32 === e2.getLineContent(o2).charCodeAt(a2 + n2.length) && (n2 += " "), -1 !== l2 && 32 === e2.getLineContent(r2).charCodeAt(l2 - 1) && (i2 = " " + i2, l2 -= 1), -1 !== a2 && -1 !== l2 ? Fn._createRemoveBlockCommentOperations(new ge.a(o2, a2 + n2.length + 1, r2, l2 + 1), n2, i2) : null; + return a2 !== -1 && l2 === -1 && (l2 = e2.getLineContent(o2).indexOf(i2, a2 + n2.length), r2 = o2), a2 === -1 && l2 !== -1 && (a2 = e2.getLineContent(r2).lastIndexOf(n2, l2), o2 = r2), !t2.isEmpty() || a2 !== -1 && l2 !== -1 || (a2 = e2.getLineContent(o2).indexOf(n2), a2 !== -1 && (l2 = e2.getLineContent(o2).indexOf(i2, a2 + n2.length))), a2 !== -1 && e2.getLineContent(o2).charCodeAt(a2 + n2.length) === 32 && (n2 += " "), l2 !== -1 && e2.getLineContent(r2).charCodeAt(l2 - 1) === 32 && (i2 = " " + i2, l2 -= 1), a2 !== -1 && l2 !== -1 ? Fn._createRemoveBlockCommentOperations(new ge.a(o2, a2 + n2.length + 1, r2, l2 + 1), n2, i2) : null; } _executeBlockComment(e2, t2, n2) { e2.tokenizeIfCheap(n2.startLineNumber); @@ -59425,10 +59425,10 @@ ${Object(zn.b)(wi)} if (n2.isEmpty()) { const t3 = e2.getLineContent(n2.startLineNumber); let i3 = Ye.w(t3); - -1 === i3 && (i3 = t3.length), a2 = Fn._createAddBlockCommentOperations(new ge.a(n2.startLineNumber, i3 + 1, n2.startLineNumber, t3.length + 1), r2, s2, this._insertSpace); + i3 === -1 && (i3 = t3.length), a2 = Fn._createAddBlockCommentOperations(new ge.a(n2.startLineNumber, i3 + 1, n2.startLineNumber, t3.length + 1), r2, s2, this._insertSpace); } else a2 = Fn._createAddBlockCommentOperations(new ge.a(n2.startLineNumber, e2.getLineFirstNonWhitespaceColumn(n2.startLineNumber), n2.endLineNumber, e2.getLineMaxColumn(n2.endLineNumber)), r2, s2, this._insertSpace); - 1 === a2.length && (this._deltaColumn = r2.length + 1); + a2.length === 1 && (this._deltaColumn = r2.length + 1); } this._selectionId = t2.trackSelection(n2); for (const e3 of a2) @@ -59436,7 +59436,7 @@ ${Object(zn.b)(wi)} } getEditOperations(e2, t2) { let n2 = this._selection; - this._moveEndPositionDown = false, n2.startLineNumber < n2.endLineNumber && 1 === n2.endColumn && (this._moveEndPositionDown = true, n2 = n2.setEndPosition(n2.endLineNumber - 1, e2.getLineMaxColumn(n2.endLineNumber - 1))); + this._moveEndPositionDown = false, n2.startLineNumber < n2.endLineNumber && n2.endColumn === 1 && (this._moveEndPositionDown = true, n2 = n2.setEndPosition(n2.endLineNumber - 1, e2.getLineMaxColumn(n2.endLineNumber - 1))); const i2 = Wn._gatherPreflightData(this._type, this._insertSpace, e2, n2.startLineNumber, n2.endLineNumber, this._ignoreEmptyLines); return i2.supported ? this._executeLineComments(e2, t2, i2, n2) : this._executeBlockComment(e2, t2, n2); } @@ -59472,7 +59472,7 @@ ${Object(zn.b)(wi)} const r4 = e2.getLineContent(n2 + o3); let a2 = 0; for (let e3 = 0, n3 = t2[o3].commentStrOffset; a2 < s2 && e3 < n3; e3++) - a2 = Wn.nextVisibleColumn(a2, i2, 9 === r4.charCodeAt(e3), 1); + a2 = Wn.nextVisibleColumn(a2, i2, r4.charCodeAt(e3) === 9, 1); a2 < s2 && (s2 = a2); } s2 = Math.floor(s2 / i2) * i2; @@ -59482,7 +59482,7 @@ ${Object(zn.b)(wi)} const l3 = e2.getLineContent(n2 + a2); let c2 = 0; for (o2 = 0, r2 = t2[a2].commentStrOffset; c2 < s2 && o2 < r2; o2++) - c2 = Wn.nextVisibleColumn(c2, i2, 9 === l3.charCodeAt(o2), 1); + c2 = Wn.nextVisibleColumn(c2, i2, l3.charCodeAt(o2) === 9, 1); t2[a2].commentStrOffset = c2 > s2 ? o2 - 1 : o2; } } @@ -59527,8 +59527,8 @@ ${Object(zn.b)(wi)} } }), Object(V.k)(Bn); var jn = n(123), Vn = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -59547,7 +59547,7 @@ ${Object(zn.b)(wi)} n3.shadowRoot && ft.E(t3) === n3.shadowRoot || this._contextViewService.hideContextView(); } })), this._toDispose.add(this._editor.onKeyDown((e4) => { - 58 === e4.keyCode && (e4.preventDefault(), e4.stopPropagation(), this.showContextMenu()); + e4.keyCode === 58 && (e4.preventDefault(), e4.stopPropagation(), this.showContextMenu()); })); } static get(t2) { @@ -59558,9 +59558,9 @@ ${Object(zn.b)(wi)} return; if (!this._editor.getOption(15)) return this._editor.focus(), void (e3.target.position && !this._editor.getSelection().containsPosition(e3.target.position) && this._editor.setPosition(e3.target.position)); - if (12 === e3.target.type) + if (e3.target.type === 12) return; - if (e3.event.preventDefault(), 6 !== e3.target.type && 7 !== e3.target.type && 1 !== e3.target.type) + if (e3.event.preventDefault(), e3.target.type !== 6 && e3.target.type !== 7 && e3.target.type !== 1) return; if (this._editor.focus(), e3.target.position) { let t3 = false; @@ -59572,7 +59572,7 @@ ${Object(zn.b)(wi)} t3 || this._editor.setPosition(e3.target.position); } let t2 = null; - 1 !== e3.target.type && (t2 = {x: e3.event.posx - 1, width: 2, y: e3.event.posy - 1, height: 2}), this.showContextMenu(t2); + e3.target.type !== 1 && (t2 = {x: e3.event.posx - 1, width: 2, y: e3.event.posy - 1, height: 2}), this.showContextMenu(t2); } showContextMenu(e3) { if (!this._editor.getOption(15)) @@ -59614,7 +59614,7 @@ ${Object(zn.b)(wi)} if (t3) return new jn.a(e4, e4, {label: true, keybinding: t3.getLabel(), isMenu: true}); const n3 = e4; - return "function" == typeof n3.getActionViewItem ? n3.getActionViewItem() : new jn.a(e4, e4, {icon: true, label: true, isMenu: true}); + return typeof n3.getActionViewItem == "function" ? n3.getActionViewItem() : new jn.a(e4, e4, {icon: true, label: true, isMenu: true}); }, getKeyBinding: (e4) => this._keybindingFor(e4), onHide: (e4) => { this._contextMenuIsBeingShownCount--, this._editor.focus(), this._editor.updateOptions({hover: n2}); }}); @@ -59676,10 +59676,10 @@ ${Object(zn.b)(wi)} return e2.getContribution(Gn.ID); } cursorUndo() { - this._editor.hasModel() && 0 !== this._undoStack.length && (this._redoStack.push(new Kn(new $n(this._editor.getSelections()), this._editor.getScrollTop(), this._editor.getScrollLeft())), this._applyState(this._undoStack.pop())); + this._editor.hasModel() && this._undoStack.length !== 0 && (this._redoStack.push(new Kn(new $n(this._editor.getSelections()), this._editor.getScrollTop(), this._editor.getScrollLeft())), this._applyState(this._undoStack.pop())); } cursorRedo() { - this._editor.hasModel() && 0 !== this._redoStack.length && (this._undoStack.push(new Kn(new $n(this._editor.getSelections()), this._editor.getScrollTop(), this._editor.getScrollLeft())), this._applyState(this._redoStack.pop())); + this._editor.hasModel() && this._redoStack.length !== 0 && (this._undoStack.push(new Kn(new $n(this._editor.getSelections()), this._editor.getScrollTop(), this._editor.getScrollLeft())), this._applyState(this._redoStack.pop())); } _applyState(e2) { this._isCursorUndoRedo = true, this._editor.setSelections(e2.cursorState.selections), this._editor.setScrollPosition({scrollTop: e2.scrollTop, scrollLeft: e2.scrollLeft}), this._isCursorUndoRedo = false; @@ -59740,9 +59740,9 @@ ${Object(zn.b)(wi)} } _onEditorMouseDrag(e2) { let t2 = e2.target; - if (null === this._dragSelection) { + if (this._dragSelection === null) { let e3 = (this._editor.getSelections() || []).filter((e4) => t2.position && e4.containsPosition(t2.position)); - if (1 !== e3.length) + if (e3.length !== 1) return; this._dragSelection = e3[0]; } @@ -59751,7 +59751,7 @@ ${Object(zn.b)(wi)} _onEditorMouseDrop(e2) { if (e2.target && (this._hitContent(e2.target) || this._hitMargin(e2.target)) && e2.target.position) { let t2 = new me.a(e2.target.position.lineNumber, e2.target.position.column); - if (null === this._dragSelection) { + if (this._dragSelection === null) { let n2 = null; if (e2.event.shiftKey) { let e3 = this._editor.getSelection(); @@ -59775,10 +59775,10 @@ ${Object(zn.b)(wi)} this._dndDecorationIds = this._editor.deltaDecorations(this._dndDecorationIds, []); } _hitContent(e2) { - return 6 === e2.type || 7 === e2.type; + return e2.type === 6 || e2.type === 7; } _hitMargin(e2) { - return 2 === e2.type || 3 === e2.type || 4 === e2.type; + return e2.type === 2 || e2.type === 3 || e2.type === 4; } dispose() { this._removeDecoration(), this._dragSelection = null, this._mouseDown = false, this._modifierPressed = false, super.dispose(); @@ -59839,10 +59839,10 @@ ${Object(zn.b)(wi)} break; } } - return null === this._highlightedDecorationId && null === t2 || this._editor.changeDecorations((e3) => { - if (null !== this._highlightedDecorationId && (e3.changeDecorationOptions(this._highlightedDecorationId, ti._FIND_MATCH_DECORATION), this._highlightedDecorationId = null), null !== t2 && (this._highlightedDecorationId = t2, e3.changeDecorationOptions(this._highlightedDecorationId, ti._CURRENT_FIND_MATCH_DECORATION)), null !== this._rangeHighlightDecorationId && (e3.removeDecoration(this._rangeHighlightDecorationId), this._rangeHighlightDecorationId = null), null !== t2) { + return this._highlightedDecorationId === null && t2 === null || this._editor.changeDecorations((e3) => { + if (this._highlightedDecorationId !== null && (e3.changeDecorationOptions(this._highlightedDecorationId, ti._FIND_MATCH_DECORATION), this._highlightedDecorationId = null), t2 !== null && (this._highlightedDecorationId = t2, e3.changeDecorationOptions(this._highlightedDecorationId, ti._CURRENT_FIND_MATCH_DECORATION)), this._rangeHighlightDecorationId !== null && (e3.removeDecoration(this._rangeHighlightDecorationId), this._rangeHighlightDecorationId = null), t2 !== null) { let n3 = this._editor.getModel().getDecorationRange(t2); - if (n3.startLineNumber !== n3.endLineNumber && 1 === n3.endColumn) { + if (n3.startLineNumber !== n3.endLineNumber && n3.endColumn === 1) { let e4 = n3.endLineNumber - 1, t3 = this._editor.getModel().getLineMaxColumn(e4); n3 = new ge.a(n3.startLineNumber, n3.startColumn, e4, t3); } @@ -59866,11 +59866,11 @@ ${Object(zn.b)(wi)} let r2 = new Array(e2.length); for (let t3 = 0, n3 = e2.length; t3 < n3; t3++) r2[t3] = {range: e2[t3].range, options: i2}; - this._decorations = n2.deltaDecorations(this._decorations, r2), this._overviewRulerApproximateDecorations = n2.deltaDecorations(this._overviewRulerApproximateDecorations, o2), this._rangeHighlightDecorationId && (n2.removeDecoration(this._rangeHighlightDecorationId), this._rangeHighlightDecorationId = null), this._findScopeDecorationIds.length && (this._findScopeDecorationIds.forEach((e3) => n2.removeDecoration(e3)), this._findScopeDecorationIds = []), (null == t2 ? void 0 : t2.length) && (this._findScopeDecorationIds = t2.map((e3) => n2.addDecoration(e3, ti._FIND_SCOPE_DECORATION))); + this._decorations = n2.deltaDecorations(this._decorations, r2), this._overviewRulerApproximateDecorations = n2.deltaDecorations(this._overviewRulerApproximateDecorations, o2), this._rangeHighlightDecorationId && (n2.removeDecoration(this._rangeHighlightDecorationId), this._rangeHighlightDecorationId = null), this._findScopeDecorationIds.length && (this._findScopeDecorationIds.forEach((e3) => n2.removeDecoration(e3)), this._findScopeDecorationIds = []), (t2 == null ? void 0 : t2.length) && (this._findScopeDecorationIds = t2.map((e3) => n2.addDecoration(e3, ti._FIND_SCOPE_DECORATION))); }); } matchBeforePosition(e2) { - if (0 === this._decorations.length) + if (this._decorations.length === 0) return null; for (let t2 = this._decorations.length - 1; t2 >= 0; t2--) { let n2 = this._decorations[t2], i2 = this._editor.getModel().getDecorationRange(n2); @@ -59884,7 +59884,7 @@ ${Object(zn.b)(wi)} return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length - 1]); } matchAfterPosition(e2) { - if (0 === this._decorations.length) + if (this._decorations.length === 0) return null; for (let t2 = 0, n2 = this._decorations.length; t2 < n2; t2++) { let n3 = this._decorations[t2], i2 = this._editor.getModel().getDecorationRange(n3); @@ -59927,14 +59927,14 @@ ${Object(zn.b)(wi)} } } function ii(e2, t2) { - if (e2 && "" !== e2[0]) { + if (e2 && e2[0] !== "") { const n2 = oi(e2, t2, "-"), i2 = oi(e2, t2, "_"); return n2 && !i2 ? ri(e2, t2, "-") : !n2 && i2 ? ri(e2, t2, "_") : e2[0].toUpperCase() === e2[0] ? t2.toUpperCase() : e2[0].toLowerCase() === e2[0] ? t2.toLowerCase() : Ye.o(e2[0][0]) && t2.length > 0 ? t2[0].toUpperCase() + t2.substr(1) : t2; } return t2; } function oi(e2, t2, n2) { - return -1 !== e2[0].indexOf(n2) && -1 !== t2.indexOf(n2) && e2[0].split(n2).length === t2.split(n2).length; + return e2[0].indexOf(n2) !== -1 && t2.indexOf(n2) !== -1 && e2[0].split(n2).length === t2.split(n2).length; } function ri(e2, t2, n2) { const i2 = t2.split(n2), o2 = e2[0].split(n2); @@ -59955,26 +59955,26 @@ ${Object(zn.b)(wi)} } class li { constructor(e2) { - e2 && 0 !== e2.length ? 1 === e2.length && null !== e2[0].staticValue ? this._state = new si(e2[0].staticValue) : this._state = new ai(e2) : this._state = new si(""); + e2 && e2.length !== 0 ? e2.length === 1 && e2[0].staticValue !== null ? this._state = new si(e2[0].staticValue) : this._state = new ai(e2) : this._state = new si(""); } static fromStaticValue(e2) { return new li([ci.staticValue(e2)]); } get hasReplacementPatterns() { - return 1 === this._state.kind; + return this._state.kind === 1; } buildReplaceString(e2, t2) { - if (0 === this._state.kind) + if (this._state.kind === 0) return t2 ? ii(e2, this._state.staticValue) : this._state.staticValue; let n2 = ""; for (let t3 = 0, i2 = this._state.pieces.length; t3 < i2; t3++) { let i3 = this._state.pieces[t3]; - if (null !== i3.staticValue) { + if (i3.staticValue !== null) { n2 += i3.staticValue; continue; } let o2 = li._substitute(i3.matchIndex, e2); - if (null !== i3.caseOps && i3.caseOps.length > 0) { + if (i3.caseOps !== null && i3.caseOps.length > 0) { let e3 = [], t4 = i3.caseOps.length, n3 = 0; for (let r2 = 0, s2 = o2.length; r2 < s2; r2++) { if (n3 >= t4) { @@ -60005,9 +60005,9 @@ ${Object(zn.b)(wi)} return n2; } static _substitute(e2, t2) { - if (null === t2) + if (t2 === null) return ""; - if (0 === e2) + if (e2 === 0) return t2[0]; let n2 = ""; for (; e2 > 0; ) { @@ -60021,7 +60021,7 @@ ${Object(zn.b)(wi)} } class ci { constructor(e2, t2, n2) { - this.staticValue = e2, this.matchIndex = t2, n2 && 0 !== n2.length ? this.caseOps = n2.slice(0) : this.caseOps = null; + this.staticValue = e2, this.matchIndex = t2, n2 && n2.length !== 0 ? this.caseOps = n2.slice(0) : this.caseOps = null; } static staticValue(e2) { return new ci(e2, -1, null); @@ -60041,20 +60041,20 @@ ${Object(zn.b)(wi)} this._emitStatic(e2), this._lastCharIndex = t2; } _emitStatic(e2) { - 0 !== e2.length && (this._currentStaticPiece += e2); + e2.length !== 0 && (this._currentStaticPiece += e2); } emitMatchIndex(e2, t2, n2) { - 0 !== this._currentStaticPiece.length && (this._result[this._resultLen++] = ci.staticValue(this._currentStaticPiece), this._currentStaticPiece = ""), this._result[this._resultLen++] = ci.caseOps(e2, n2), this._lastCharIndex = t2; + this._currentStaticPiece.length !== 0 && (this._result[this._resultLen++] = ci.staticValue(this._currentStaticPiece), this._currentStaticPiece = ""), this._result[this._resultLen++] = ci.caseOps(e2, n2), this._lastCharIndex = t2; } finalize() { - return this.emitUnchanged(this._source.length), 0 !== this._currentStaticPiece.length && (this._result[this._resultLen++] = ci.staticValue(this._currentStaticPiece), this._currentStaticPiece = ""), new li(this._result); + return this.emitUnchanged(this._source.length), this._currentStaticPiece.length !== 0 && (this._result[this._resultLen++] = ci.staticValue(this._currentStaticPiece), this._currentStaticPiece = ""), new li(this._result); } } const hi = new K.c("findWidgetVisible", false), ui = new K.c("findInputFocussed", false), pi = new K.c("replaceInputFocussed", false), mi = {primary: 545, mac: {primary: 2593}}, gi = {primary: 565, mac: {primary: 2613}}, fi = {primary: 560, mac: {primary: 2608}}, bi = {primary: 554, mac: {primary: 2602}}, _i = "actions.find", vi = "actions.findWithSelection", wi = "editor.action.nextMatchFindAction", yi = "editor.action.previousMatchFindAction", Ci = "editor.action.nextSelectionMatchFindAction", xi = "editor.action.previousSelectionMatchFindAction", Si = "editor.action.startFindReplaceAction", ki = "closeFindWidget", Ei = "toggleFindCaseSensitive", Ti = "toggleFindWholeWord", Li = "toggleFindRegex", Ni = "toggleFindInSelection", Ii = "editor.action.replaceOne", Oi = "editor.action.replaceAll", Di = "editor.action.selectAllMatches"; class Ai { constructor(e2, t2) { this._toDispose = new pe.b(), this._editor = e2, this._state = t2, this._isDisposed = false, this._startSearchingTimer = new ue.e(), this._decorations = new ti(e2), this._toDispose.add(this._decorations), this._updateDecorationsScheduler = new ue.d(() => this.research(false), 100), this._toDispose.add(this._updateDecorationsScheduler), this._toDispose.add(this._editor.onDidChangeCursorPosition((e3) => { - 3 !== e3.reason && 5 !== e3.reason && 6 !== e3.reason || this._decorations.setStartPosition(this._editor.getPosition()); + e3.reason !== 3 && e3.reason !== 5 && e3.reason !== 6 || this._decorations.setStartPosition(this._editor.getPosition()); })), this._ignoreModelContentChanged = false, this._toDispose.add(this._editor.onDidChangeModelContent((e3) => { this._ignoreModelContentChanged || (e3.isFlush && this._decorations.reset(), this._decorations.setStartPosition(this._editor.getPosition()), this._updateDecorationsScheduler.schedule()); })), this._toDispose.add(this._state.onFindReplaceStateChange((e3) => this._onStateChanged(e3))), this.research(false, this._state.searchScope); @@ -60074,10 +60074,10 @@ ${Object(zn.b)(wi)} } research(e2, t2) { let n2 = null; - void 0 !== t2 ? null !== t2 && (n2 = Array.isArray(t2) ? t2 : [t2]) : n2 = this._decorations.getFindScopes(), null !== n2 && (n2 = n2.map((e3) => { + t2 !== void 0 ? t2 !== null && (n2 = Array.isArray(t2) ? t2 : [t2]) : n2 = this._decorations.getFindScopes(), n2 !== null && (n2 = n2.map((e3) => { if (e3.startLineNumber !== e3.endLineNumber) { let t3 = e3.endLineNumber; - return 1 === e3.endColumn && (t3 -= 1), new ge.a(e3.startLineNumber, 1, t3, this._editor.getModel().getLineMaxColumn(t3)); + return e3.endColumn === 1 && (t3 -= 1), new ge.a(e3.startLineNumber, 1, t3, this._editor.getModel().getLineMaxColumn(t3)); } return e3; })); @@ -60085,7 +60085,7 @@ ${Object(zn.b)(wi)} this._decorations.set(i2, n2); const o2 = this._editor.getSelection(); let r2 = this._decorations.getCurrentMatchesPosition(o2); - if (0 === r2 && i2.length > 0) { + if (r2 === 0 && i2.length > 0) { const e3 = Object(G.h)(i2.map((e4) => e4.range), (e4) => ge.a.compareRangesUsingStarts(e4, o2) >= 0); r2 = e3 > 0 ? e3 - 1 + 1 : r2; } @@ -60107,7 +60107,7 @@ ${Object(zn.b)(wi)} } _prevSearchPosition(e2) { let t2 = this._state.isRegex && (this._state.searchString.indexOf("^") >= 0 || this._state.searchString.indexOf("$") >= 0), {lineNumber: n2, column: i2} = e2, o2 = this._editor.getModel(); - return t2 || 1 === i2 ? (1 === n2 ? n2 = o2.getLineCount() : n2--, i2 = o2.getLineMaxColumn(n2)) : i2--, new me.a(n2, i2); + return t2 || i2 === 1 ? (n2 === 1 ? n2 = o2.getLineCount() : n2--, i2 = o2.getLineMaxColumn(n2)) : i2--, new me.a(n2, i2); } _moveToPrevMatch(e2, t2 = false) { if (!this._state.canNavigateBack()) { @@ -60157,21 +60157,21 @@ ${Object(zn.b)(wi)} } _getReplacePattern() { return this._state.isRegex ? function(e2) { - if (!e2 || 0 === e2.length) + if (!e2 || e2.length === 0) return new li(null); let t2 = [], n2 = new di(e2); for (let i2 = 0, o2 = e2.length; i2 < o2; i2++) { let r2 = e2.charCodeAt(i2); - if (92 !== r2) { - if (36 === r2) { + if (r2 !== 92) { + if (r2 === 36) { if (i2++, i2 >= o2) break; let r3 = e2.charCodeAt(i2); - if (36 === r3) { + if (r3 === 36) { n2.emitUnchanged(i2 - 1), n2.emitStatic("$", i2 + 1); continue; } - if (48 === r3 || 38 === r3) { + if (r3 === 48 || r3 === 38) { n2.emitUnchanged(i2 - 1), n2.emitMatchIndex(0, i2 + 1, t2), t2.length = 0; continue; } @@ -60232,7 +60232,7 @@ ${Object(zn.b)(wi)} if (!this._hasMatches()) return; const e2 = this._decorations.getFindScopes(); - null === e2 && this._state.matchesCount >= 19999 ? this._largeReplaceAll() : this._regularReplaceAll(e2), this.research(false); + e2 === null && this._state.matchesCount >= 19999 ? this._largeReplaceAll() : this._regularReplaceAll(e2), this.research(false); } _largeReplaceAll() { const e2 = new ei.a(this._state.searchString, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(105) : null).parseSearchRequest(); @@ -60290,13 +60290,13 @@ ${Object(zn.b)(wi)} this._opts.icon ? t2.push(this._opts.icon.classNames) : t2.push("codicon"), this._opts.actionClassName && t2.push(this._opts.actionClassName), t2.push(this._checked ? "checked" : "unchecked"), this.domNode = document.createElement("div"), this.domNode.title = this._opts.title, this.domNode.className = t2.join(" "), this.domNode.tabIndex = 0, this.domNode.setAttribute("role", "checkbox"), this.domNode.setAttribute("aria-checked", String(this._checked)), this.domNode.setAttribute("aria-label", this._opts.title), this.applyStyles(), this.onclick(this.domNode, (e3) => { this.checked = !this._checked, this._onChange.fire(false), e3.preventDefault(); }), this.ignoreGesture(this.domNode), this.onkeydown(this.domNode, (e3) => { - if (10 === e3.keyCode || 3 === e3.keyCode) + if (e3.keyCode === 10 || e3.keyCode === 3) return this.checked = !this._checked, this._onChange.fire(true), void e3.preventDefault(); this._onKeyDown.fire(e3); }); } get enabled() { - return "true" !== this.domNode.getAttribute("aria-disabled"); + return this.domNode.getAttribute("aria-disabled") !== "true"; } focus() { this.domNode.focus(); @@ -60394,7 +60394,7 @@ ${Object(zn.b)(wi)} } } function Hi(e2, t2) { - return 1 === e2 || 2 !== e2 && t2; + return e2 === 1 || e2 !== 2 && t2; } Ui.ID = "editor.contrib.findOptionsWidget", Object(we.g)((e2, t2) => { const n2 = e2.getColor(ve.U); @@ -60460,19 +60460,19 @@ ${Object(zn.b)(wi)} } changeMatchInfo(e2, t2, n2) { let i2 = {moveCursor: false, updateHistory: false, searchString: false, replaceString: false, isRevealed: false, isReplaceRevealed: false, isRegex: false, wholeWord: false, matchCase: false, preserveCase: false, searchScope: false, matchesPosition: false, matchesCount: false, currentMatch: false, loop: false}, o2 = false; - 0 === t2 && (e2 = 0), e2 > t2 && (e2 = t2), this._matchesPosition !== e2 && (this._matchesPosition = e2, i2.matchesPosition = true, o2 = true), this._matchesCount !== t2 && (this._matchesCount = t2, i2.matchesCount = true, o2 = true), void 0 !== n2 && (ge.a.equalsRange(this._currentMatch, n2) || (this._currentMatch = n2, i2.currentMatch = true, o2 = true)), o2 && this._onFindReplaceStateChange.fire(i2); + t2 === 0 && (e2 = 0), e2 > t2 && (e2 = t2), this._matchesPosition !== e2 && (this._matchesPosition = e2, i2.matchesPosition = true, o2 = true), this._matchesCount !== t2 && (this._matchesCount = t2, i2.matchesCount = true, o2 = true), n2 !== void 0 && (ge.a.equalsRange(this._currentMatch, n2) || (this._currentMatch = n2, i2.currentMatch = true, o2 = true)), o2 && this._onFindReplaceStateChange.fire(i2); } change(e2, t2, n2 = true) { var i2; let o2 = {moveCursor: t2, updateHistory: n2, searchString: false, replaceString: false, isRevealed: false, isReplaceRevealed: false, isRegex: false, wholeWord: false, matchCase: false, preserveCase: false, searchScope: false, matchesPosition: false, matchesCount: false, currentMatch: false, loop: false}, r2 = false; const s2 = this.isRegex, a2 = this.wholeWord, l2 = this.matchCase, c2 = this.preserveCase; - void 0 !== e2.searchString && this._searchString !== e2.searchString && (this._searchString = e2.searchString, o2.searchString = true, r2 = true), void 0 !== e2.replaceString && this._replaceString !== e2.replaceString && (this._replaceString = e2.replaceString, o2.replaceString = true, r2 = true), void 0 !== e2.isRevealed && this._isRevealed !== e2.isRevealed && (this._isRevealed = e2.isRevealed, o2.isRevealed = true, r2 = true), void 0 !== e2.isReplaceRevealed && this._isReplaceRevealed !== e2.isReplaceRevealed && (this._isReplaceRevealed = e2.isReplaceRevealed, o2.isReplaceRevealed = true, r2 = true), void 0 !== e2.isRegex && (this._isRegex = e2.isRegex), void 0 !== e2.wholeWord && (this._wholeWord = e2.wholeWord), void 0 !== e2.matchCase && (this._matchCase = e2.matchCase), void 0 !== e2.preserveCase && (this._preserveCase = e2.preserveCase), void 0 !== e2.searchScope && ((null === (i2 = e2.searchScope) || void 0 === i2 ? void 0 : i2.every((e3) => { + e2.searchString !== void 0 && this._searchString !== e2.searchString && (this._searchString = e2.searchString, o2.searchString = true, r2 = true), e2.replaceString !== void 0 && this._replaceString !== e2.replaceString && (this._replaceString = e2.replaceString, o2.replaceString = true, r2 = true), e2.isRevealed !== void 0 && this._isRevealed !== e2.isRevealed && (this._isRevealed = e2.isRevealed, o2.isRevealed = true, r2 = true), e2.isReplaceRevealed !== void 0 && this._isReplaceRevealed !== e2.isReplaceRevealed && (this._isReplaceRevealed = e2.isReplaceRevealed, o2.isReplaceRevealed = true, r2 = true), e2.isRegex !== void 0 && (this._isRegex = e2.isRegex), e2.wholeWord !== void 0 && (this._wholeWord = e2.wholeWord), e2.matchCase !== void 0 && (this._matchCase = e2.matchCase), e2.preserveCase !== void 0 && (this._preserveCase = e2.preserveCase), e2.searchScope !== void 0 && (((i2 = e2.searchScope) === null || i2 === void 0 ? void 0 : i2.every((e3) => { var t3; - return null === (t3 = this._searchScope) || void 0 === t3 ? void 0 : t3.some((t4) => !ge.a.equalsRange(t4, e3)); - })) || (this._searchScope = e2.searchScope, o2.searchScope = true, r2 = true)), void 0 !== e2.loop && this._loop !== e2.loop && (this._loop = e2.loop, o2.loop = true, r2 = true), this._isRegexOverride = void 0 !== e2.isRegexOverride ? e2.isRegexOverride : 0, this._wholeWordOverride = void 0 !== e2.wholeWordOverride ? e2.wholeWordOverride : 0, this._matchCaseOverride = void 0 !== e2.matchCaseOverride ? e2.matchCaseOverride : 0, this._preserveCaseOverride = void 0 !== e2.preserveCaseOverride ? e2.preserveCaseOverride : 0, s2 !== this.isRegex && (r2 = true, o2.isRegex = true), a2 !== this.wholeWord && (r2 = true, o2.wholeWord = true), l2 !== this.matchCase && (r2 = true, o2.matchCase = true), c2 !== this.preserveCase && (r2 = true, o2.preserveCase = true), r2 && this._onFindReplaceStateChange.fire(o2); + return (t3 = this._searchScope) === null || t3 === void 0 ? void 0 : t3.some((t4) => !ge.a.equalsRange(t4, e3)); + })) || (this._searchScope = e2.searchScope, o2.searchScope = true, r2 = true)), e2.loop !== void 0 && this._loop !== e2.loop && (this._loop = e2.loop, o2.loop = true, r2 = true), this._isRegexOverride = e2.isRegexOverride !== void 0 ? e2.isRegexOverride : 0, this._wholeWordOverride = e2.wholeWordOverride !== void 0 ? e2.wholeWordOverride : 0, this._matchCaseOverride = e2.matchCaseOverride !== void 0 ? e2.matchCaseOverride : 0, this._preserveCaseOverride = e2.preserveCaseOverride !== void 0 ? e2.preserveCaseOverride : 0, s2 !== this.isRegex && (r2 = true, o2.isRegex = true), a2 !== this.wholeWord && (r2 = true, o2.wholeWord = true), l2 !== this.matchCase && (r2 = true, o2.matchCase = true), c2 !== this.preserveCase && (r2 = true, o2.preserveCase = true), r2 && this._onFindReplaceStateChange.fire(o2); } canNavigateBack() { - return this.canNavigateInLoop() || 1 !== this.matchesPosition; + return this.canNavigateInLoop() || this.matchesPosition !== 1; } canNavigateForward() { return this.canNavigateInLoop() || this.matchesPosition < this.matchesCount; @@ -60505,7 +60505,7 @@ ${Object(zn.b)(wi)} let t3 = h2.indexOf(document.activeElement); if (t3 >= 0) { let n3 = -1; - e3.equals(17) ? n3 = (t3 + 1) % h2.length : e3.equals(15) && (n3 = 0 === t3 ? h2.length - 1 : t3 - 1), e3.equals(9) ? h2[t3].blur() : n3 >= 0 && h2[n3].focus(), ft.b.stop(e3, true); + e3.equals(17) ? n3 = (t3 + 1) % h2.length : e3.equals(15) && (n3 = t3 === 0 ? h2.length - 1 : t3 - 1), e3.equals(9) ? h2[t3].blur() : n3 >= 0 && h2[n3].focus(), ft.b.stop(e3, true); } } }); @@ -60600,7 +60600,7 @@ ${Object(zn.b)(wi)} let t3 = l2.indexOf(document.activeElement); if (t3 >= 0) { let n3 = -1; - e3.equals(17) ? n3 = (t3 + 1) % l2.length : e3.equals(15) && (n3 = 0 === t3 ? l2.length - 1 : t3 - 1), e3.equals(9) ? l2[t3].blur() : n3 >= 0 && l2[n3].focus(), ft.b.stop(e3, true); + e3.equals(17) ? n3 = (t3 + 1) % l2.length : e3.equals(15) && (n3 = t3 === 0 ? l2.length - 1 : t3 - 1), e3.equals(9) ? l2[t3].blur() : n3 >= 0 && l2[n3].focus(), ft.b.stop(e3, true); } } }); @@ -60653,8 +60653,8 @@ ${Object(zn.b)(wi)} } } var to = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -60789,7 +60789,7 @@ ${Object(zn.b)(wi)} this._updateButtons(); } if (e2.replaceString && (this._replaceInput.inputBox.value = this._state.replaceString), e2.isRevealed && (this._state.isRevealed ? this._reveal() : this._hide(true)), e2.isReplaceRevealed && (this._state.isReplaceRevealed ? this._codeEditor.getOption(72) || this._isReplaceVisible || (this._isReplaceVisible = true, this._replaceInput.width = ft.H(this._findInput.domNode), this._updateButtons(), this._replaceInput.inputBox.layout()) : this._isReplaceVisible && (this._isReplaceVisible = false, this._updateButtons())), (e2.isRevealed || e2.isReplaceRevealed) && (this._state.isRevealed || this._state.isReplaceRevealed) && this._tryUpdateHeight() && this._showViewZone(), e2.isRegex && this._findInput.setRegex(this._state.isRegex), e2.wholeWord && this._findInput.setWholeWords(this._state.wholeWord), e2.matchCase && this._findInput.setCaseSensitive(this._state.matchCase), e2.searchScope && (this._state.searchScope ? this._toggleSelectionFind.checked = true : this._toggleSelectionFind.checked = false, this._updateToggleSelectionFindButton()), e2.searchString || e2.matchesCount || e2.matchesPosition) { - let e3 = this._state.searchString.length > 0 && 0 === this._state.matchesCount; + let e3 = this._state.searchString.length > 0 && this._state.matchesCount === 0; ft.ab(this._domNode, "no-results", e3), this._updateMatchesCount(), this._updateButtons(); } (e2.searchString || e2.currentMatch) && this._layoutViewZone(), e2.updateHistory && this._delayedUpdateHistory(), e2.loop && this._updateButtons(); @@ -60806,14 +60806,14 @@ ${Object(zn.b)(wi)} let t2 = String(this._state.matchesCount); this._state.matchesCount >= 19999 && (t2 += "+"); let n2 = String(this._state.matchesPosition); - "0" === n2 && (n2 = "?"), e2 = Ye.x(No, n2, t2); + n2 === "0" && (n2 = "?"), e2 = Ye.x(No, n2, t2); } else e2 = Io; this._matchesCount.appendChild(document.createTextNode(e2)), Object(ne.a)(this._getAriaLabel(e2, this._state.currentMatch, this._state.searchString)), Oo = Math.max(Oo, this._matchesCount.clientWidth); } _getAriaLabel(e2, t2, n2) { if (e2 === Io) - return "" === n2 ? U.a("ariaSearchNoResultEmpty", "{0} found", e2) : U.a("ariaSearchNoResult", "{0} found for '{1}'", e2, n2); + return n2 === "" ? U.a("ariaSearchNoResultEmpty", "{0} found", e2) : U.a("ariaSearchNoResult", "{0} found for '{1}'", e2, n2); if (t2) { const i2 = U.a("ariaSearchNoResultWithLineNum", "{0} found for '{1}', at {2}", e2, n2, t2.startLineNumber + ":" + t2.startColumn), o2 = this._codeEditor.getModel(); if (o2 && t2.startLineNumber <= o2.getLineCount() && t2.startLineNumber >= 1) { @@ -60880,7 +60880,7 @@ ${Object(zn.b)(wi)} if (!this._isVisible) return; const e2 = this._viewZone; - void 0 === this._viewZoneId && e2 && this._codeEditor.changeViewZones((t2) => { + this._viewZoneId === void 0 && e2 && this._codeEditor.changeViewZones((t2) => { e2.heightInPx = this._getHeight(), this._viewZoneId = t2.addZone(e2), this._codeEditor.setScrollTop(this._codeEditor.getScrollTop() + e2.heightInPx); }); } @@ -60889,10 +60889,10 @@ ${Object(zn.b)(wi)} return; if (!this._codeEditor.getOption(29).addExtraSpaceOnTop) return; - void 0 === this._viewZone && (this._viewZone = new Ao(0)); + this._viewZone === void 0 && (this._viewZone = new Ao(0)); const t2 = this._viewZone; this._codeEditor.changeViewZones((n2) => { - if (void 0 !== this._viewZoneId) { + if (this._viewZoneId !== void 0) { const i2 = this._getHeight(); if (i2 === t2.heightInPx) return; @@ -60909,7 +60909,7 @@ ${Object(zn.b)(wi)} } _removeViewZone() { this._codeEditor.changeViewZones((e2) => { - void 0 !== this._viewZoneId && (e2.removeZone(this._viewZoneId), this._viewZoneId = void 0, this._viewZone && (this._codeEditor.setScrollTop(this._codeEditor.getScrollTop() - this._viewZone.heightInPx), this._viewZone = void 0)); + this._viewZoneId !== void 0 && (e2.removeZone(this._viewZoneId), this._viewZoneId = void 0, this._viewZone && (this._codeEditor.setScrollTop(this._codeEditor.getScrollTop() - this._viewZone.heightInPx), this._viewZone = void 0)); }); } _applyTheme(e2) { @@ -60944,7 +60944,7 @@ ${Object(zn.b)(wi)} } _tryUpdateHeight() { const e2 = this._getHeight(); - return (null === this._cachedHeight || this._cachedHeight !== e2) && (this._cachedHeight = e2, this._domNode.style.height = e2 + "px", true); + return (this._cachedHeight === null || this._cachedHeight !== e2) && (this._cachedHeight = e2, this._domNode.style.height = e2 + "px", true); } focusFindInput() { this._findInput.select(), this._findInput.focus(); @@ -60959,7 +60959,7 @@ ${Object(zn.b)(wi)} if (this._codeEditor.hasModel() && this._toggleSelectionFind.checked) { let e2 = this._codeEditor.getSelections(); e2.map((e3) => { - 1 === e3.endColumn && e3.endLineNumber > e3.startLineNumber && (e3 = e3.setEndPosition(e3.endLineNumber - 1, this._codeEditor.getModel().getLineMaxColumn(e3.endLineNumber - 1))); + e3.endColumn === 1 && e3.endLineNumber > e3.startLineNumber && (e3 = e3.setEndPosition(e3.endLineNumber - 1, this._codeEditor.getModel().getLineMaxColumn(e3.endLineNumber - 1))); const t2 = this._state.currentMatch; return e3.startLineNumber === e3.endLineNumber || ge.a.equalsRange(e3, t2) ? null : e3; }).filter((e3) => !!e3), e2.length && this._state.change({searchScope: e2}, true); @@ -60983,7 +60983,7 @@ ${Object(zn.b)(wi)} } _buildDomNode() { this._findInput = this._register(new ro(null, this._contextViewProvider, {width: 221, label: bo, placeholder: _o, appendCaseSensitiveLabel: this._keybindingLabelFor(Ei), appendWholeWordsLabel: this._keybindingLabelFor(Ti), appendRegexLabel: this._keybindingLabelFor(Li), validation: (e3) => { - if (0 === e3.length || !this._findInput.getRegex()) + if (e3.length === 0 || !this._findInput.getRegex()) return null; try { return new RegExp(e3, "gu"), null; @@ -61012,7 +61012,7 @@ ${Object(zn.b)(wi)} if (this._toggleSelectionFind.checked) { if (this._codeEditor.hasModel()) { let e3 = this._codeEditor.getSelections(); - e3.map((e4) => (1 === e4.endColumn && e4.endLineNumber > e4.startLineNumber && (e4 = e4.setEndPosition(e4.endLineNumber - 1, this._codeEditor.getModel().getLineMaxColumn(e4.endLineNumber - 1))), e4.isEmpty() ? null : e4)).filter((e4) => !!e4), e3.length && this._state.change({searchScope: e3}, true); + e3.map((e4) => (e4.endColumn === 1 && e4.endLineNumber > e4.startLineNumber && (e4 = e4.setEndPosition(e4.endLineNumber - 1, this._codeEditor.getModel().getLineMaxColumn(e4.endLineNumber - 1))), e4.isEmpty() ? null : e4)).filter((e4) => !!e4), e3.length && this._state.change({searchScope: e3}, true); } } else this._state.change({searchScope: null}, true); @@ -61055,7 +61055,7 @@ ${Object(zn.b)(wi)} if (e3 < 419) return; let t3 = 419; - if (!this._resized || 419 === e3) { + if (!this._resized || e3 === 419) { const e4 = this._codeEditor.getLayoutInfo(); t3 = e4.width - 28 - e4.minimap.minimapWidth - 15, this._resized = true; } @@ -61064,7 +61064,7 @@ ${Object(zn.b)(wi)} } updateAccessibilitySupport() { const e2 = this._codeEditor.getOption(2); - this._findInput.setFocusInputOnOptionClick(2 !== e2); + this._findInput.setFocusInputOnOptionClick(e2 !== 2); } } Po.ID = "editor.contrib.findWidget"; @@ -61103,11 +61103,11 @@ ${Object(zn.b)(wi)} const i2 = e2.getColor(ve.uc); i2 && t2.addRule(`.monaco-editor .find-widget { box-shadow: 0 2px 8px ${i2}; }`); const o2 = e2.getColor(ve.y); - o2 && t2.addRule(`.monaco-editor .findMatch { border: 1px ${"hc" === e2.type ? "dotted" : "solid"} ${o2}; box-sizing: border-box; }`); + o2 && t2.addRule(`.monaco-editor .findMatch { border: 1px ${e2.type === "hc" ? "dotted" : "solid"} ${o2}; box-sizing: border-box; }`); const r2 = e2.getColor(ve.w); r2 && t2.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${r2}; padding: 1px; box-sizing: border-box; }`); const s2 = e2.getColor(ve.A); - s2 && t2.addRule(`.monaco-editor .findScope { border: 1px ${"hc" === e2.type ? "dashed" : "solid"} ${s2}; }`); + s2 && t2.addRule(`.monaco-editor .findScope { border: 1px ${e2.type === "hc" ? "dashed" : "solid"} ${s2}; }`); const a2 = e2.getColor(ve.h); a2 && t2.addRule(`.monaco-editor .find-widget { border: 1px solid ${a2}; }`); const l2 = e2.getColor(ve.W); @@ -61125,8 +61125,8 @@ ${Object(zn.b)(wi)} h2 && t2.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${h2}; }`); }); var Wo = n(166), zo = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -61223,7 +61223,7 @@ ${Object(zn.b)(wi)} this._state.change({searchScope: null}, true); else if (this._editor.hasModel()) { let e3 = this._editor.getSelections(); - e3.map((e4) => (1 === e4.endColumn && e4.endLineNumber > e4.startLineNumber && (e4 = e4.setEndPosition(e4.endLineNumber - 1, this._editor.getModel().getLineMaxColumn(e4.endLineNumber - 1))), e4.isEmpty() ? null : e4)).filter((e4) => !!e4), e3.length && this._state.change({searchScope: e3}, true); + e3.map((e4) => (e4.endColumn === 1 && e4.endLineNumber > e4.startLineNumber && (e4 = e4.setEndPosition(e4.endLineNumber - 1, this._editor.getModel().getLineMaxColumn(e4.endLineNumber - 1))), e4.isEmpty() ? null : e4)).filter((e4) => !!e4), e3.length && this._state.change({searchScope: e3}, true); } } setSearchString(e3) { @@ -61301,7 +61301,7 @@ ${Object(zn.b)(wi)} case "multiline": i2 = !!n2 && n2.startLineNumber !== n2.endLineNumber; } - e2.updateSearchScope = i2, yield t2._start.call(this, e2), this._widget && (2 === e2.shouldFocus ? this._widget.focusReplaceInput() : 1 === e2.shouldFocus && this._widget.focusFindInput()); + e2.updateSearchScope = i2, yield t2._start.call(this, e2), this._widget && (e2.shouldFocus === 2 ? this._widget.focusReplaceInput() : e2.shouldFocus === 1 && this._widget.focusFindInput()); }); } highlightFindOptions() { @@ -61338,7 +61338,7 @@ ${Object(zn.b)(wi)} run(e2, t2) { return jo(this, void 0, void 0, function* () { let e3 = Uo.get(t2); - e3 && !this._run(e3) && (yield e3.start({forceRevealReplace: false, seedSearchStringFromSelection: 0 === e3.getState().searchString.length && t2.getOption(29).seedSearchStringFromSelection, seedSearchStringFromGlobalClipboard: true, shouldFocus: 0, shouldAnimate: true, updateSearchScope: false, loop: t2.getOption(29).loop}), this._run(e3)); + e3 && !this._run(e3) && (yield e3.start({forceRevealReplace: false, seedSearchStringFromSelection: e3.getState().searchString.length === 0 && t2.getOption(29).seedSearchStringFromSelection, seedSearchStringFromGlobalClipboard: true, shouldFocus: 0, shouldAnimate: true, updateSearchScope: false, loop: t2.getOption(29).loop}), this._run(e3)); }); } } @@ -61458,7 +61458,7 @@ ${Object(zn.b)(wi)} } isCollapsed(e2) { let t2 = e2 / 32 | 0, n2 = e2 % 32; - return 0 != (this._collapseStates[t2] & 1 << n2); + return (this._collapseStates[t2] & 1 << n2) != 0; } setCollapsed(e2, t2) { let n2 = e2 / 32 | 0, i2 = e2 % 32, o2 = this._collapseStates[n2]; @@ -61470,14 +61470,14 @@ ${Object(zn.b)(wi)} getParentIndex(e2) { this.ensureParentIndices(); let t2 = ((4278190080 & this._startIndexes[e2]) >>> 24) + ((4278190080 & this._endIndexes[e2]) >>> 16); - return 65535 === t2 ? -1 : t2; + return t2 === 65535 ? -1 : t2; } contains(e2, t2) { return this.getStartLineNumber(e2) <= t2 && this.getEndLineNumber(e2) >= t2; } findIndex(e2) { let t2 = 0, n2 = this._startIndexes.length; - if (0 === n2) + if (n2 === 0) return -1; for (; t2 < n2; ) { let i2 = Math.floor((t2 + n2) / 2); @@ -61490,7 +61490,7 @@ ${Object(zn.b)(wi)} if (t2 >= 0) { if (this.getEndLineNumber(t2) >= e2) return t2; - for (t2 = this.getParentIndex(t2); -1 !== t2; ) { + for (t2 = this.getParentIndex(t2); t2 !== -1; ) { if (this.contains(t2, e2)) return t2; t2 = this.getParentIndex(t2); @@ -61587,7 +61587,7 @@ ${Object(zn.b)(wi)} } return -1; }, a2 = 0, l2 = s2(); - for (; -1 !== l2 && a2 < e2.length; ) { + for (; l2 !== -1 && a2 < e2.length; ) { let t3 = this._textModel.getDecorationRange(this._editorDecorationIds[l2]); if (t3) { let n3 = t3.startLineNumber; @@ -61652,7 +61652,7 @@ ${Object(zn.b)(wi)} } getRegionsInside(e2, t2) { let n2 = [], i2 = e2 ? e2.regionIndex + 1 : 0, o2 = e2 ? e2.endLineNumber : Number.MAX_VALUE; - if (t2 && 2 === t2.length) { + if (t2 && t2.length === 2) { const e3 = []; for (let r2 = i2, s2 = this._regions.length; r2 < s2; r2++) { let i3 = this._regions.toRegion(r2); @@ -61748,7 +61748,7 @@ ${Object(zn.b)(wi)} (e2 || i2 < this._hiddenRanges.length) && this.applyHiddenRanges(t2); } applyMemento(e2) { - if (!Array.isArray(e2) || 0 === e2.length) + if (!Array.isArray(e2) || e2.length === 0) return false; let t2 = []; for (let n2 of e2) { @@ -61768,7 +61768,7 @@ ${Object(zn.b)(wi)} return this._hiddenRanges.length > 0; } isHidden(e2) { - return null !== hr(this._hiddenRanges, e2); + return hr(this._hiddenRanges, e2) !== null; } adjustSelections(e2) { let t2 = false, n2 = this._foldingModel.textModel, i2 = null, o2 = (e3) => (i2 && function(e4, t3) { @@ -61806,7 +61806,7 @@ ${Object(zn.b)(wi)} a2.push({indent: -1, endAbove: l2, line: l2}); for (let n4 = e3.getLineCount(); n4 > 0; n4--) { let i4, l3 = e3.getLineContent(n4), c2 = be.b.computeIndentLevel(l3, o2), d2 = a2[a2.length - 1]; - if (-1 !== c2) { + if (c2 !== -1) { if (s2 && (i4 = l3.match(s2))) { if (!i4[1]) { a2.push({indent: -2, endAbove: n4, line: n4}); @@ -61814,7 +61814,7 @@ ${Object(zn.b)(wi)} } { let e4 = a2.length - 1; - for (; e4 > 0 && -2 !== a2[e4].indent; ) + for (; e4 > 0 && a2[e4].indent !== -2; ) e4--; if (e4 > 0) { a2.length = e4 + 1, d2 = a2[e4], r2.insertFirst(n4, d2.line, c2), d2.line = n4, d2.indent = c2, d2.endAbove = n4; @@ -61943,7 +61943,7 @@ ${Object(zn.b)(wi)} function br(e2, t2) { let n2 = e2.sort((e3, t3) => { let n3 = e3.start - t3.start; - return 0 === n3 && (n3 = e3.rank - t3.rank), n3; + return n3 === 0 && (n3 = e3.rank - t3.rank), n3; }), i2 = new fr(t2), o2 = void 0, r2 = []; for (let e3 of n2) if (o2) { @@ -61971,7 +61971,7 @@ ${Object(zn.b)(wi)} } } dispose() { - this.decorationIds && (this.editorModel.deltaDecorations(this.decorationIds, []), this.decorationIds = void 0), "number" == typeof this.timeout && (clearTimeout(this.timeout), this.timeout = void 0); + this.decorationIds && (this.editorModel.deltaDecorations(this.decorationIds, []), this.decorationIds = void 0), typeof this.timeout == "number" && (clearTimeout(this.timeout), this.timeout = void 0); } compute(e2) { let t2 = []; @@ -61984,8 +61984,8 @@ ${Object(zn.b)(wi)} } } var vr = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -62001,12 +62001,12 @@ ${Object(zn.b)(wi)} constructor(e3, t2) { super(), this.contextKeyService = t2, this.localToDispose = this._register(new pe.b()), this.editor = e3; const n2 = this.editor.getOptions(); - this._isEnabled = n2.get(31), this._useFoldingProviders = "indentation" !== n2.get(32), this._unfoldOnClickAfterEndOfLine = n2.get(34), this.foldingModel = null, this.hiddenRangeModel = null, this.rangeProvider = null, this.foldingRegionPromise = null, this.foldingStateMemento = null, this.foldingModelPromise = null, this.updateScheduler = null, this.cursorChangedScheduler = null, this.mouseDownInfo = null, this.foldingDecorationProvider = new cr(e3), this.foldingDecorationProvider.autoHideFoldingControls = "mouseover" === n2.get(91), this.foldingDecorationProvider.showFoldingHighlights = n2.get(33), this.foldingEnabled = yr.bindTo(this.contextKeyService), this.foldingEnabled.set(this._isEnabled), this._register(this.editor.onDidChangeModel(() => this.onModelChanged())), this._register(this.editor.onDidChangeConfiguration((e4) => { + this._isEnabled = n2.get(31), this._useFoldingProviders = n2.get(32) !== "indentation", this._unfoldOnClickAfterEndOfLine = n2.get(34), this.foldingModel = null, this.hiddenRangeModel = null, this.rangeProvider = null, this.foldingRegionPromise = null, this.foldingStateMemento = null, this.foldingModelPromise = null, this.updateScheduler = null, this.cursorChangedScheduler = null, this.mouseDownInfo = null, this.foldingDecorationProvider = new cr(e3), this.foldingDecorationProvider.autoHideFoldingControls = n2.get(91) === "mouseover", this.foldingDecorationProvider.showFoldingHighlights = n2.get(33), this.foldingEnabled = yr.bindTo(this.contextKeyService), this.foldingEnabled.set(this._isEnabled), this._register(this.editor.onDidChangeModel(() => this.onModelChanged())), this._register(this.editor.onDidChangeConfiguration((e4) => { if (e4.hasChanged(31) && (this._isEnabled = this.editor.getOptions().get(31), this.foldingEnabled.set(this._isEnabled), this.onModelChanged()), e4.hasChanged(91) || e4.hasChanged(33)) { const e5 = this.editor.getOptions(); - this.foldingDecorationProvider.autoHideFoldingControls = "mouseover" === e5.get(91), this.foldingDecorationProvider.showFoldingHighlights = e5.get(33), this.onModelContentChanged(); + this.foldingDecorationProvider.autoHideFoldingControls = e5.get(91) === "mouseover", this.foldingDecorationProvider.showFoldingHighlights = e5.get(33), this.onModelContentChanged(); } - e4.hasChanged(32) && (this._useFoldingProviders = "indentation" !== this.editor.getOptions().get(32), this.onFoldingStrategyChanged()), e4.hasChanged(34) && (this._unfoldOnClickAfterEndOfLine = this.editor.getOptions().get(34)); + e4.hasChanged(32) && (this._useFoldingProviders = this.editor.getOptions().get(32) !== "indentation", this.onFoldingStrategyChanged()), e4.hasChanged(34) && (this._unfoldOnClickAfterEndOfLine = this.editor.getOptions().get(34)); })), this.onModelChanged(); } static get(t2) { @@ -62027,7 +62027,7 @@ ${Object(zn.b)(wi)} return; if (!e3 || !e3.collapsedRegions || e3.lineCount !== t2.getLineCount()) return; - "syntax" !== e3.provider && "init" !== e3.provider || (this.foldingStateMemento = e3); + e3.provider !== "syntax" && e3.provider !== "init" || (this.foldingStateMemento = e3); const n2 = e3.collapsedRegions; if (this.hiddenRangeModel.applyMemento(n2)) { const e4 = this.getFoldingModel(); @@ -62051,7 +62051,7 @@ ${Object(zn.b)(wi)} return this.rangeProvider; if (this.rangeProvider = new ur(e3), this._useFoldingProviders && this.foldingModel) { let t2 = et.o.ordered(this.foldingModel.textModel); - if (0 === t2.length && this.foldingStateMemento && this.foldingStateMemento.collapsedRegions) { + if (t2.length === 0 && this.foldingStateMemento && this.foldingStateMemento.collapsedRegions) { return this.rangeProvider = new _r(e3, this.foldingStateMemento.collapsedRegions, () => { this.foldingStateMemento = null, this.onFoldingStrategyChanged(); }, 3e4); @@ -62143,7 +62143,7 @@ ${Object(zn.b)(wi)} let n2 = this.mouseDownInfo.lineNumber, i2 = this.mouseDownInfo.iconClicked, o2 = e3.target.range; if (o2 && o2.startLineNumber === n2) { if (i2) { - if (4 !== e3.target.type) + if (e3.target.type !== 4) return; } else { let e4 = this.editor.getModel(); @@ -62160,7 +62160,7 @@ ${Object(zn.b)(wi)} if (s2) for (const e4 of t3.getRegionsInside(o3)) e4.isCollapsed === r2 && i3.push(e4); - !r2 && s2 && 0 !== i3.length || i3.push(o3), t3.toggleCollapseState(i3), this.reveal({lineNumber: n2, column: 1}); + !r2 && s2 && i3.length !== 0 || i3.push(o3), t3.toggleCollapseState(i3), this.reveal({lineNumber: n2, column: 1}); } } } @@ -62227,7 +62227,7 @@ ${Object(zn.b)(wi)} } invoke(e2, t2, n2, i2) { let o2 = i2 && i2.levels || 1, r2 = this.getLineNumbers(i2, n2); - i2 && "up" === i2.direction ? or(t2, false, o2, r2) : ir(t2, false, o2, r2); + i2 && i2.direction === "up" ? or(t2, false, o2, r2) : ir(t2, false, o2, r2); } }), Object(V.k)(class extends xr { constructor() { @@ -62243,14 +62243,14 @@ ${Object(zn.b)(wi)} invoke(e2, t2, n2, i2) { let o2 = this.getLineNumbers(i2, n2); const r2 = i2 && i2.levels, s2 = i2 && i2.direction; - "number" != typeof r2 && "string" != typeof s2 ? function(e3, t3, n3) { + typeof r2 != "number" && typeof s2 != "string" ? function(e3, t3, n3) { let i3 = []; for (let o3 of n3) { let n4 = e3.getAllRegionsAtLine(o3, (e4) => e4.isCollapsed !== t3); n4.length > 0 && i3.push(n4[0]); } e3.toggleCollapseState(i3); - }(t2, true, o2) : "up" === s2 ? or(t2, true, r2 || 1, o2) : ir(t2, true, r2 || 1, o2); + }(t2, true, o2) : s2 === "up" ? or(t2, true, r2 || 1, o2) : ir(t2, true, r2 || 1, o2); } }), Object(V.k)(class extends xr { constructor() { @@ -62391,8 +62391,8 @@ ${Object(zn.b)(wi)} static _handleEolEdits(e2, t2) { let n2 = void 0, i2 = []; for (let e3 of t2) - "number" == typeof e3.eol && (n2 = e3.eol), e3.range && "string" == typeof e3.text && i2.push(e3); - return "number" == typeof n2 && e2.hasModel() && e2.getModel().pushEOL(n2), i2; + typeof e3.eol == "number" && (n2 = e3.eol), e3.range && typeof e3.text == "string" && i2.push(e3); + return typeof n2 == "number" && e2.hasModel() && e2.getModel().pushEOL(n2), i2; } static _isFullModelReplaceEdit(e2, t2) { if (!e2.hasModel()) @@ -62403,7 +62403,7 @@ ${Object(zn.b)(wi)} static execute(e2, t2, n2) { n2 && e2.pushUndoStop(); const i2 = Mr._handleEolEdits(e2, t2); - 1 === i2.length && Mr._isFullModelReplaceEdit(e2, i2[0]) ? e2.executeEdits("formatEditsCommand", i2.map((e3) => Mn.a.replace(ge.a.lift(e3.range), e3.text))) : e2.executeEdits("formatEditsCommand", i2.map((e3) => Mn.a.replaceMove(ge.a.lift(e3.range), e3.text))), n2 && e2.pushUndoStop(); + i2.length === 1 && Mr._isFullModelReplaceEdit(e2, i2[0]) ? e2.executeEdits("formatEditsCommand", i2.map((e3) => Mn.a.replace(ge.a.lift(e3.range), e3.text))) : e2.executeEdits("formatEditsCommand", i2.map((e3) => Mn.a.replaceMove(ge.a.lift(e3.range), e3.text))), n2 && e2.pushUndoStop(); } } class Pr { @@ -62411,7 +62411,7 @@ ${Object(zn.b)(wi)} this.value = e2, this._lower = e2.toLowerCase(); } static toKey(e2) { - return "string" == typeof e2 ? e2.toLowerCase() : e2._lower; + return typeof e2 == "string" ? e2.toLowerCase() : e2._lower; } } var Fr = n(53), Wr = n(37), zr = function(e2, t2, n2, i2) { @@ -62446,7 +62446,7 @@ ${Object(zn.b)(wi)} for (let n3 = 1; n3 < e2.length; n3++) t2 = ge.a.plusRange(t2, e2[n3].range); const {startLineNumber: n2, endLineNumber: i2} = t2; - n2 === i2 ? 1 === e2.length ? Object(ne.a)(U.a("hint11", "Made 1 formatting edit on line {0}", n2)) : Object(ne.a)(U.a("hintn1", "Made {0} formatting edits on line {1}", e2.length, n2)) : 1 === e2.length ? Object(ne.a)(U.a("hint1n", "Made 1 formatting edit between lines {0} and {1}", n2, i2)) : Object(ne.a)(U.a("hintnn", "Made {0} formatting edits between lines {1} and {2}", e2.length, n2, i2)); + n2 === i2 ? e2.length === 1 ? Object(ne.a)(U.a("hint11", "Made 1 formatting edit on line {0}", n2)) : Object(ne.a)(U.a("hintn1", "Made {0} formatting edits on line {1}", e2.length, n2)) : e2.length === 1 ? Object(ne.a)(U.a("hint1n", "Made 1 formatting edit between lines {0} and {1}", n2, i2)) : Object(ne.a)(U.a("hintnn", "Made {0} formatting edits between lines {1} and {2}", e2.length, n2, i2)); } function jr(e2) { const t2 = [], n2 = new Set(), i2 = et.g.ordered(e2); @@ -62466,7 +62466,7 @@ ${Object(zn.b)(wi)} class Vr { static select(e2, t2, n2) { return zr(this, void 0, void 0, function* () { - if (0 === e2.length) + if (e2.length === 0) return; const i2 = Wr.a.first(Vr._selectors); return i2 ? yield i2(e2, t2, n2) : e2[0]; @@ -62496,7 +62496,7 @@ ${Object(zn.b)(wi)} } finally { a2.dispose(); } - if (0 === d2.length) + if (d2.length === 0) return false; if (Object(Rr.b)(n2)) Mr.execute(n2, d2, true), Br(d2), n2.revealPositionInCenterIfOutsideViewport(n2.getPosition(), 1); @@ -62530,10 +62530,10 @@ ${Object(zn.b)(wi)} } finally { a2.dispose(); } - if (!l2 || 0 === l2.length) + if (!l2 || l2.length === 0) return false; if (Object(Rr.b)(n2)) - Mr.execute(n2, l2, 2 !== i2), 2 !== i2 && (Br(l2), n2.revealPositionInCenterIfOutsideViewport(n2.getPosition(), 1)); + Mr.execute(n2, l2, i2 !== 2), i2 !== 2 && (Br(l2), n2.revealPositionInCenterIfOutsideViewport(n2.getPosition(), 1)); else { const [{range: e3}] = l2, t3 = new q.a(e3.startLineNumber, e3.startColumn, e3.endLineNumber, e3.endColumn); s2.pushEditOperations([t3], l2.map((e4) => ({text: e4.text, range: ge.a.lift(e4.range), forceMoveMarkers: true})), (e4) => { @@ -62548,7 +62548,7 @@ ${Object(zn.b)(wi)} } function Kr(e2, t2, n2, i2, o2) { const r2 = et.t.ordered(t2); - return 0 === r2.length || r2[0].autoFormatTriggerCharacters.indexOf(i2) < 0 ? Promise.resolve(void 0) : Promise.resolve(r2[0].provideOnTypeFormattingEdits(t2, n2, i2, o2, Xe.a.None)).catch(Z.f).then((n3) => e2.computeMoreMinimalEdits(t2.uri, n3)); + return r2.length === 0 || r2[0].autoFormatTriggerCharacters.indexOf(i2) < 0 ? Promise.resolve(void 0) : Promise.resolve(r2[0].provideOnTypeFormattingEdits(t2, n2, i2, o2, Xe.a.None)).catch(Z.f).then((n3) => e2.computeMoreMinimalEdits(t2.uri, n3)); } Vr._selectors = new Fr.a(), Ft.a.registerCommand("_executeFormatRangeProvider", function(e2, ...t2) { const [n2, i2, o2] = t2; @@ -62584,15 +62584,15 @@ ${Object(zn.b)(wi)} }(e2.get(Ar.a), o2, i2, Xe.a.None); }), Ft.a.registerCommand("_executeFormatOnTypeProvider", function(e2, ...t2) { const [n2, i2, o2, r2] = t2; - Object(Jo.b)(Qe.a.isUri(n2)), Object(Jo.b)(me.a.isIPosition(i2)), Object(Jo.b)("string" == typeof o2); + Object(Jo.b)(Qe.a.isUri(n2)), Object(Jo.b)(me.a.isIPosition(i2)), Object(Jo.b)(typeof o2 == "string"); const s2 = e2.get(tt.a).getModel(n2); if (!s2) throw Object(Z.b)("resource"); return Kr(e2.get(Ar.a), s2, me.a.lift(i2), o2, r2); }); var Gr = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -62728,14 +62728,14 @@ ${Object(zn.b)(wi)} } static findId(e2, t2) { let n2; - "string" == typeof e2 ? n2 = `${t2.id}/${e2}` : (n2 = `${t2.id}/${e2.name}`, void 0 !== t2.children.get(n2) && (n2 = `${t2.id}/${e2.name}_${e2.range.startLineNumber}_${e2.range.startColumn}`)); + typeof e2 == "string" ? n2 = `${t2.id}/${e2}` : (n2 = `${t2.id}/${e2.name}`, t2.children.get(n2) !== void 0 && (n2 = `${t2.id}/${e2.name}_${e2.range.startLineNumber}_${e2.range.startColumn}`)); let i2 = n2; - for (let e3 = 0; void 0 !== t2.children.get(i2); e3++) + for (let e3 = 0; t2.children.get(i2) !== void 0; e3++) i2 = `${n2}_${e3}`; return i2; } static empty(e2) { - return 0 === e2.children.size; + return e2.children.size === 0; } } class os extends is { @@ -62764,7 +62764,7 @@ ${Object(zn.b)(wi)} }); } return i2.model ? Promise.resolve(i2.model) : (i2.promiseCnt += 1, t2.onCancellationRequested(() => { - 0 == --i2.promiseCnt && (i2.source.cancel(), ss._requests.delete(n2)); + --i2.promiseCnt == 0 && (i2.source.cancel(), ss._requests.delete(n2)); }), new Promise((e3, t3) => { i2.promise.then((t4) => { i2.model = t4, e3(t4); @@ -62776,7 +62776,7 @@ ${Object(zn.b)(wi)} static _create(e2, t2) { const n2 = new Xe.b(t2), i2 = new ss(e2.uri), o2 = et.m.ordered(e2), r2 = o2.map((t3, o3) => { var r3; - let s3 = is.findId("provider_" + o3, i2), a2 = new rs(s3, i2, null !== (r3 = t3.displayName) && void 0 !== r3 ? r3 : "Unknown Outline Provider", o3); + let s3 = is.findId("provider_" + o3, i2), a2 = new rs(s3, i2, (r3 = t3.displayName) !== null && r3 !== void 0 ? r3 : "Unknown Outline Provider", o3); return Promise.resolve(t3.provideDocumentSymbols(e2, n2.token)).then((e3) => { for (const t4 of e3 || []) ss._makeOutlineElement(t4, a2); @@ -62802,8 +62802,8 @@ ${Object(zn.b)(wi)} _compact() { let e2 = 0; for (const [t2, n2] of this._groups) - 0 === n2.children.size ? this._groups.delete(t2) : e2 += 1; - if (1 !== e2) + n2.children.size === 0 ? this._groups.delete(t2) : e2 += 1; + if (e2 !== 1) this.children = this._groups; else { let e3 = Wr.a.first(this._groups.values()); @@ -62824,7 +62824,7 @@ ${Object(zn.b)(wi)} let t2 = ""; for (const n2 of e2) { let e3 = this._data.get(n2); - void 0 === e3 && (e3 = this._counter++, this._data.set(n2, e3)), t2 += e3; + e3 === void 0 && (e3 = this._counter++, this._data.set(n2, e3)), t2 += e3; } return t2; } @@ -62886,8 +62886,8 @@ ${Object(zn.b)(wi)} }); n(300); var ds = n(116), hs = n(46), us = n(80), ps = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -63031,11 +63031,11 @@ ${Object(zn.b)(wi)} const t2 = {contextMenuProvider: this.contextMenuProvider, labelRenderer: (e3) => { this.element = Object(ft.p)(e3, Object(ft.a)("a.action-label")); const t3 = this.options.classNames ? Object(G.b)(this.options.classNames) : []; - return t3.find((e4) => "icon" === e4) || t3.push("codicon"), Object(ft.f)(this.element, ...t3), this.element.tabIndex = 0, this.element.setAttribute("role", "button"), this.element.setAttribute("aria-haspopup", "true"), this.element.setAttribute("aria-expanded", "false"), this.element.title = this._action.label || "", null; + return t3.find((e4) => e4 === "icon") || t3.push("codicon"), Object(ft.f)(this.element, ...t3), this.element.tabIndex = 0, this.element.setAttribute("role", "button"), this.element.setAttribute("aria-haspopup", "true"), this.element.setAttribute("aria-expanded", "false"), this.element.title = this._action.label || "", null; }, menuAsChild: this.options.menuAsChild}; if (Array.isArray(this.menuActionsOrProvider) ? t2.actions = this.menuActionsOrProvider : t2.actionProvider = this.menuActionsOrProvider, this.dropdownMenu = this._register(new ks(e2, t2)), this._register(this.dropdownMenu.onDidChangeVisibility((e3) => { var t3; - null === (t3 = this.element) || void 0 === t3 || t3.setAttribute("aria-expanded", "" + e3), this._onDidChangeVisibility.fire(e3); + (t3 = this.element) === null || t3 === void 0 || t3.setAttribute("aria-expanded", "" + e3), this._onDidChangeVisibility.fire(e3); })), this.dropdownMenu.menuOptions = {actionViewItemProvider: this.options.actionViewItemProvider, actionRunner: this.actionRunner, getKeyBinding: this.options.keybindingProvider, context: this._context}, this.options.anchorAlignmentProvider) { const e3 = this; this.dropdownMenu.menuOptions = Object.assign(Object.assign({}, this.dropdownMenu.menuOptions), {get anchorAlignment() { @@ -63048,8 +63048,8 @@ ${Object(zn.b)(wi)} } } var Ts = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -63086,7 +63086,7 @@ ${Object(zn.b)(wi)} } function Is(e2, t2, n2, i2) { const o2 = e2.getActions(t2); - return function(e3, t3, n3, i3 = (e4) => "navigation" === e4) { + return function(e3, t3, n3, i3 = (e4) => e4 === "navigation") { for (let o3 of e3) { let [e4, r2] = o3; if (n3 && (r2 = r2.map((e5) => e5 instanceof ye.c && e5.alt ? e5.alt : e5)), i3(e4)) { @@ -63145,7 +63145,7 @@ ${Object(zn.b)(wi)} _updateItemClass(e2) { var t2, n2; this._itemClassDispose.value = void 0; - const i2 = this._commandAction.checked && (null === (t2 = e2.toggled) || void 0 === t2 ? void 0 : t2.icon) ? e2.toggled.icon : e2.icon; + const i2 = this._commandAction.checked && ((t2 = e2.toggled) === null || t2 === void 0 ? void 0 : t2.icon) ? e2.toggled.icon : e2.icon; if (we.e.isThemeIcon(i2)) { const e3 = we.e.asClassName(i2); this.label && e3 && (Object(ft.f)(this.label, e3), this._itemClassDispose.value = Object(pe.h)(() => { @@ -63153,7 +63153,7 @@ ${Object(zn.b)(wi)} })); } else if (i2) { let e3; - if (null === (n2 = i2.dark) || void 0 === n2 ? void 0 : n2.scheme) { + if ((n2 = i2.dark) === null || n2 === void 0 ? void 0 : n2.scheme) { const t3 = i2.dark.toString(); Ds.has(t3) ? e3 = Ds.get(t3) : (e3 = Os.nextId(), Object(ft.u)(".icon." + e3, "background-image: " + Object(ft.q)(i2.light || i2.dark)), Object(ft.u)(`.vs-dark .icon.${e3}, .hc-black .icon.${e3}`, "background-image: " + Object(ft.q)(i2.dark)), Ds.set(t3, e3)), this.label && (Object(ft.f)(this.label, "icon", e3), this._itemClassDispose.value = Object(pe.h)(() => { this.label && Object(ft.R)(this.label, "icon", e3); @@ -63170,7 +63170,7 @@ ${Object(zn.b)(wi)} if (e2.item.icon) { if (we.e.isThemeIcon(e2.item.icon)) o2.push(we.e.asClassName(e2.item.icon)); - else if (null === (i2 = e2.item.icon.dark) || void 0 === i2 ? void 0 : i2.scheme) { + else if ((i2 = e2.item.icon.dark) === null || i2 === void 0 ? void 0 : i2.scheme) { const t3 = e2.item.icon.dark.toString(); if (Ds.has(t3)) o2.push("icon", Ds.get(t3)); @@ -63185,8 +63185,8 @@ ${Object(zn.b)(wi)} }; Rs = Ts([Ls(1, zt.a), Ls(2, _t.a)], Rs); var Ms = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -63253,7 +63253,7 @@ ${Object(zn.b)(wi)} return e2.width - e2.minimap.minimapWidth - e2.verticalScrollbarWidth; } _getLeft(e2) { - return e2.minimap.minimapWidth > 0 && 0 === e2.minimap.minimapLeft ? e2.minimap.minimapWidth : 0; + return e2.minimap.minimapWidth > 0 && e2.minimap.minimapLeft === 0 ? e2.minimap.minimapWidth : 0; } _onViewZoneTop(e2) { this.domNode.style.top = e2 + "px"; @@ -63352,7 +63352,7 @@ ${Object(zn.b)(wi)} return 0; } getHorizontalSashTop() { - return (null === this.domNode.style.height ? 0 : parseInt(this.domNode.style.height)) - this._decoratingElementsHeight() / 2; + return (this.domNode.style.height === null ? 0 : parseInt(this.domNode.style.height)) - this._decoratingElementsHeight() / 2; } getHorizontalSashWidth() { const e2 = this.editor.getLayoutInfo(); @@ -63479,11 +63479,11 @@ ${Object(zn.b)(wi)} } get ariaMessage() { const e2 = this.children.length; - return 1 === e2 ? Object(U.a)("aria.fileReferences.1", "1 symbol in {0}, full path {1}", Object(jt.b)(this.uri), this.uri.fsPath) : Object(U.a)("aria.fileReferences.N", "{0} symbols in {1}, full path {2}", e2, Object(jt.b)(this.uri), this.uri.fsPath); + return e2 === 1 ? Object(U.a)("aria.fileReferences.1", "1 symbol in {0}, full path {1}", Object(jt.b)(this.uri), this.uri.fsPath) : Object(U.a)("aria.fileReferences.N", "{0} symbols in {1}, full path {2}", e2, Object(jt.b)(this.uri), this.uri.fsPath); } resolve(e2) { return ia(this, void 0, void 0, function* () { - if (0 !== this._previews.size) + if (this._previews.size !== 0) return this; for (let t2 of this.children) if (!this._previews.has(t2.uri)) @@ -63504,7 +63504,7 @@ ${Object(zn.b)(wi)} let i2; e2.sort(aa._compareReferences); for (let t3 of e2) - if (i2 && jt.e.isEqual(i2.uri, t3.uri, true) || (i2 = new sa(this, t3.uri), this.groups.push(i2)), 0 === i2.children.length || 0 !== aa._compareReferences(t3, i2.children[i2.children.length - 1])) { + if (i2 && jt.e.isEqual(i2.uri, t3.uri, true) || (i2 = new sa(this, t3.uri), this.groups.push(i2)), i2.children.length === 0 || aa._compareReferences(t3, i2.children[i2.children.length - 1]) !== 0) { const e3 = new oa(n2 === t3, i2, t3.uri, t3.targetSelectionRange || t3.range, (e4) => this._onDidChangeReferenceRange.fire(e4)); this.references.push(e3), i2.children.push(e3); } @@ -63519,14 +63519,14 @@ ${Object(zn.b)(wi)} return this._title; } get isEmpty() { - return 0 === this.groups.length; + return this.groups.length === 0; } get ariaMessage() { - return this.isEmpty ? Object(U.a)("aria.result.0", "No results found") : 1 === this.references.length ? Object(U.a)("aria.result.1", "Found 1 symbol in {0}", this.references[0].uri.fsPath) : 1 === this.groups.length ? Object(U.a)("aria.result.n1", "Found {0} symbols in {1}", this.references.length, this.groups[0].uri.fsPath) : Object(U.a)("aria.result.nm", "Found {0} symbols in {1} files", this.references.length, this.groups.length); + return this.isEmpty ? Object(U.a)("aria.result.0", "No results found") : this.references.length === 1 ? Object(U.a)("aria.result.1", "Found 1 symbol in {0}", this.references[0].uri.fsPath) : this.groups.length === 1 ? Object(U.a)("aria.result.n1", "Found {0} symbols in {1}", this.references.length, this.groups[0].uri.fsPath) : Object(U.a)("aria.result.nm", "Found {0} symbols in {1} files", this.references.length, this.groups.length); } nextOrPreviousReference(e2, t2) { let {parent: n2} = e2, i2 = n2.children.indexOf(e2), o2 = n2.children.length, r2 = n2.parent.groups.length; - return 1 === r2 || t2 && i2 + 1 < o2 || !t2 && i2 > 0 ? (i2 = t2 ? (i2 + 1) % o2 : (i2 + o2 - 1) % o2, n2.children[i2]) : (i2 = n2.parent.groups.indexOf(n2), t2 ? (i2 = (i2 + 1) % r2, n2.parent.groups[i2].children[0]) : (i2 = (i2 + r2 - 1) % r2, n2.parent.groups[i2].children[n2.parent.groups[i2].children.length - 1])); + return r2 === 1 || t2 && i2 + 1 < o2 || !t2 && i2 > 0 ? (i2 = t2 ? (i2 + 1) % o2 : (i2 + o2 - 1) % o2, n2.children[i2]) : (i2 = n2.parent.groups.indexOf(n2), t2 ? (i2 = (i2 + 1) % r2, n2.parent.groups[i2].children[0]) : (i2 = (i2 + r2 - 1) % r2, n2.parent.groups[i2].children[n2.parent.groups[i2].children.length - 1])); } nearestReference(e2, t2) { const n2 = this.references.map((n3, i2) => ({idx: i2, prefixLen: Ye.d(n3.uri.toString(), e2.toString()), offsetDist: 100 * Math.abs(n3.range.startLineNumber - t2.lineNumber) + Math.abs(n3.range.startColumn - t2.column)})).sort((e3, t3) => e3.prefixLen > t3.prefixLen ? -1 : e3.prefixLen < t3.prefixLen ? 1 : e3.offsetDist < t3.offsetDist ? -1 : e3.offsetDist > t3.offsetDist ? 1 : 0)[0]; @@ -63551,14 +63551,14 @@ ${Object(zn.b)(wi)} n(305); var la = n(45), ca = n(172), da = n(185), ha = n(159), ua = n(93), pa = n(42); function ma(e2, t2, n2) { - if ("string" == typeof e2 && (e2 = Qe.a.file(e2)), n2) { + if (typeof e2 == "string" && (e2 = Qe.a.file(e2)), n2) { const t3 = n2.getWorkspaceFolder(e2); if (t3) { const i3 = n2.getWorkspace().folders.length > 1; let o2; if (o2 = Object(jt.f)(t3.uri, e2) ? "" : Object(jt.j)(t3.uri, e2), i3) { const e3 = t3.name ? t3.name : Object(jt.b)(t3.uri); - o2 = o2 ? e3 + " • " + o2 : e3; + o2 = o2 ? e3 + " \u2022 " + o2 : e3; } return o2; } @@ -63568,7 +63568,7 @@ ${Object(zn.b)(wi)} if (fa(e2.fsPath)) return Object(pa.d)(ba(e2.fsPath)); let i2 = Object(pa.d)(e2.fsPath); - return !Ae.i && (null == t2 ? void 0 : t2.userHome) && (i2 = function(e3, t3) { + return !Ae.i && (t2 == null ? void 0 : t2.userHome) && (i2 = function(e3, t3) { if (Ae.i || !e3 || !t3) return e3; let n3 = _a.original === t3 ? _a.normalized : void 0; @@ -63580,20 +63580,20 @@ ${Object(zn.b)(wi)} function ga(e2) { if (!e2) return; - "string" == typeof e2 && (e2 = Qe.a.file(e2)); + typeof e2 == "string" && (e2 = Qe.a.file(e2)); const t2 = Object(jt.b)(e2) || (e2.scheme === la.b.file ? e2.fsPath : e2.path); return fa(t2) ? ba(t2) : t2; } function fa(e2) { - return !(!Ae.i || !e2 || ":" !== e2[1]); + return !(!Ae.i || !e2 || e2[1] !== ":"); } function ba(e2) { return fa(e2) ? e2.charAt(0).toUpperCase() + e2.slice(1) : e2; } let _a = Object.create(null); var va = n(71), wa = n(156), ya = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -63635,7 +63635,7 @@ ${Object(zn.b)(wi)} getKeyboardNavigationLabel(e2) { var t2; if (e2 instanceof oa) { - const n2 = null === (t2 = e2.parent.getPreview(e2)) || void 0 === t2 ? void 0 : t2.preview(e2.range); + const n2 = (t2 = e2.parent.getPreview(e2)) === null || t2 === void 0 ? void 0 : t2.preview(e2.range); if (n2) return n2.value; } @@ -63683,7 +63683,7 @@ ${Object(zn.b)(wi)} } set(e2, t2) { var n2; - const i2 = null === (n2 = e2.parent.getPreview(e2)) || void 0 === n2 ? void 0 : n2.preview(e2.range); + const i2 = (n2 = e2.parent.getPreview(e2)) === null || n2 === void 0 ? void 0 : n2.preview(e2.range); if (i2 && i2.value) { const {value: e3, highlight: n3} = i2; t2 && !va.a.isDefault(t2) ? (this.label.element.classList.toggle("referenceMatch", false), this.label.set(e3, Object(va.c)(t2))) : (this.label.element.classList.toggle("referenceMatch", true), this.label.set(e3, [n3])); @@ -63718,7 +63718,7 @@ ${Object(zn.b)(wi)} const Aa = {separatorBorder: Nn.a.transparent}; class Ra { constructor(e2, t2, n2, i2) { - this.container = e2, this.view = t2, this.disposable = i2, this._cachedVisibleSize = void 0, "number" == typeof n2 ? (this._size = n2, this._cachedVisibleSize = void 0, ft.e(e2, "visible")) : (this._size = 0, this._cachedVisibleSize = n2.cachedVisibleSize); + this.container = e2, this.view = t2, this.disposable = i2, this._cachedVisibleSize = void 0, typeof n2 == "number" ? (this._size = n2, this._cachedVisibleSize = void 0, ft.e(e2, "visible")) : (this._size = 0, this._cachedVisibleSize = n2.cachedVisibleSize); } set size(e2) { this._size = e2; @@ -63727,10 +63727,10 @@ ${Object(zn.b)(wi)} return this._size; } get visible() { - return void 0 === this._cachedVisibleSize; + return this._cachedVisibleSize === void 0; } setVisible(e2, t2) { - e2 !== this.visible && (e2 ? (this.size = Object(ns.b)(this._cachedVisibleSize, this.viewMinimumSize, this.viewMaximumSize), this._cachedVisibleSize = void 0) : (this._cachedVisibleSize = "number" == typeof t2 ? t2 : this.size, this.size = 0), ft.ab(this.container, "visible", e2), this.view.setVisible && this.view.setVisible(e2)); + e2 !== this.visible && (e2 ? (this.size = Object(ns.b)(this._cachedVisibleSize, this.viewMinimumSize, this.viewMaximumSize), this._cachedVisibleSize = void 0) : (this._cachedVisibleSize = typeof t2 == "number" ? t2 : this.size, this.size = 0), ft.ab(this.container, "visible", e2), this.view.setVisible && this.view.setVisible(e2)); } get minimumSize() { return this.visible ? this.view.minimumSize : 0; @@ -63782,7 +63782,7 @@ ${Object(zn.b)(wi)} }(Wa || (Wa = {})); class za extends pe.a { constructor(e2, t2 = {}) { - super(), this.size = 0, this.contentSize = 0, this.proportions = void 0, this.viewItems = [], this.sashItems = [], this.state = Fa.Idle, this._onDidSashChange = this._register(new Lt.a()), this.onDidSashChange = this._onDidSashChange.event, this._onDidSashReset = this._register(new Lt.a()), this._startSnappingEnabled = true, this._endSnappingEnabled = true, this.orientation = Jo.k(t2.orientation) ? 0 : t2.orientation, this.inverseAltBehavior = !!t2.inverseAltBehavior, this.proportionalLayout = !!Jo.k(t2.proportionalLayout) || !!t2.proportionalLayout, this.el = document.createElement("div"), ft.e(this.el, "monaco-split-view2"), ft.e(this.el, 0 === this.orientation ? "vertical" : "horizontal"), e2.appendChild(this.el), this.sashContainer = ft.p(this.el, ft.a(".sash-container")), this.viewContainer = ft.p(this.el, ft.a(".split-view-container")), this.style(t2.styles || Aa), t2.descriptor && (this.size = t2.descriptor.size, t2.descriptor.views.forEach((e3, t3) => { + super(), this.size = 0, this.contentSize = 0, this.proportions = void 0, this.viewItems = [], this.sashItems = [], this.state = Fa.Idle, this._onDidSashChange = this._register(new Lt.a()), this.onDidSashChange = this._onDidSashChange.event, this._onDidSashReset = this._register(new Lt.a()), this._startSnappingEnabled = true, this._endSnappingEnabled = true, this.orientation = Jo.k(t2.orientation) ? 0 : t2.orientation, this.inverseAltBehavior = !!t2.inverseAltBehavior, this.proportionalLayout = !!Jo.k(t2.proportionalLayout) || !!t2.proportionalLayout, this.el = document.createElement("div"), ft.e(this.el, "monaco-split-view2"), ft.e(this.el, this.orientation === 0 ? "vertical" : "horizontal"), e2.appendChild(this.el), this.sashContainer = ft.p(this.el, ft.a(".sash-container")), this.viewContainer = ft.p(this.el, ft.a(".split-view-container")), this.style(t2.styles || Aa), t2.descriptor && (this.size = t2.descriptor.size, t2.descriptor.views.forEach((e3, t3) => { const n2 = Jo.k(e3.visible) || e3.visible ? e3.size : {type: "invisible", cachedVisibleSize: e3.size}, i2 = e3.view; this.doAddView(i2, n2, t3, true); }), this.contentSize = this.viewItems.reduce((e3, t3) => e3 + t3.size, 0), this.saveProportions()); @@ -63829,7 +63829,7 @@ ${Object(zn.b)(wi)} n3.size = Object(ns.b)(Math.round(this.proportions[t3] * e2), n3.minimumSize, n3.maximumSize); } else { - const t3 = Object(G.s)(this.viewItems.length), i2 = t3.filter((e3) => 1 === this.viewItems[e3].priority), o2 = t3.filter((e3) => 2 === this.viewItems[e3].priority); + const t3 = Object(G.s)(this.viewItems.length), i2 = t3.filter((e3) => this.viewItems[e3].priority === 1), o2 = t3.filter((e3) => this.viewItems[e3].priority === 2); this.resize(this.viewItems.length - 1, e2 - n2, void 0, i2, o2); } this.distributeEmptySpace(), this.layoutViews(); @@ -63853,12 +63853,12 @@ ${Object(zn.b)(wi)} } } if (!t3) { - const e4 = Object(G.s)(i2, -1), t4 = Object(G.s)(i2 + 1, this.viewItems.length), o3 = e4.reduce((e5, t5) => e5 + (this.viewItems[t5].minimumSize - n3[t5]), 0), a3 = e4.reduce((e5, t5) => e5 + (this.viewItems[t5].viewMaximumSize - n3[t5]), 0), l3 = 0 === t4.length ? Number.POSITIVE_INFINITY : t4.reduce((e5, t5) => e5 + (n3[t5] - this.viewItems[t5].minimumSize), 0), c2 = 0 === t4.length ? Number.NEGATIVE_INFINITY : t4.reduce((e5, t5) => e5 + (n3[t5] - this.viewItems[t5].viewMaximumSize), 0), d2 = Math.max(o3, c2), h2 = Math.min(l3, a3), u2 = this.findFirstSnapIndex(e4), p2 = this.findFirstSnapIndex(t4); - if ("number" == typeof u2) { + const e4 = Object(G.s)(i2, -1), t4 = Object(G.s)(i2 + 1, this.viewItems.length), o3 = e4.reduce((e5, t5) => e5 + (this.viewItems[t5].minimumSize - n3[t5]), 0), a3 = e4.reduce((e5, t5) => e5 + (this.viewItems[t5].viewMaximumSize - n3[t5]), 0), l3 = t4.length === 0 ? Number.POSITIVE_INFINITY : t4.reduce((e5, t5) => e5 + (n3[t5] - this.viewItems[t5].minimumSize), 0), c2 = t4.length === 0 ? Number.NEGATIVE_INFINITY : t4.reduce((e5, t5) => e5 + (n3[t5] - this.viewItems[t5].viewMaximumSize), 0), d2 = Math.max(o3, c2), h2 = Math.min(l3, a3), u2 = this.findFirstSnapIndex(e4), p2 = this.findFirstSnapIndex(t4); + if (typeof u2 == "number") { const e5 = this.viewItems[u2], t5 = Math.floor(e5.viewMinimumSize / 2); r3 = {index: u2, limitDelta: e5.visible ? d2 - t5 : d2 + t5, size: e5.size}; } - if ("number" == typeof p2) { + if (typeof p2 == "number") { const e5 = this.viewItems[p2], t5 = Math.floor(e5.viewMinimumSize / 2); s2 = {index: p2, limitDelta: e5.visible ? h2 + t5 : h2 - t5, size: e5.size}; } @@ -63884,14 +63884,14 @@ ${Object(zn.b)(wi)} } onViewChange(e2, t2) { const n2 = this.viewItems.indexOf(e2); - n2 < 0 || n2 >= this.viewItems.length || (t2 = "number" == typeof t2 ? t2 : e2.size, t2 = Object(ns.b)(t2, e2.minimumSize, e2.maximumSize), this.inverseAltBehavior && n2 > 0 ? (this.resize(n2 - 1, Math.floor((e2.size - t2) / 2)), this.distributeEmptySpace(), this.layoutViews()) : (e2.size = t2, this.relayout([n2], void 0))); + n2 < 0 || n2 >= this.viewItems.length || (t2 = typeof t2 == "number" ? t2 : e2.size, t2 = Object(ns.b)(t2, e2.minimumSize, e2.maximumSize), this.inverseAltBehavior && n2 > 0 ? (this.resize(n2 - 1, Math.floor((e2.size - t2) / 2)), this.distributeEmptySpace(), this.layoutViews()) : (e2.size = t2, this.relayout([n2], void 0))); } resizeView(e2, t2) { if (this.state !== Fa.Idle) throw new Error("Cant modify splitview"); if (this.state = Fa.Busy, e2 < 0 || e2 >= this.viewItems.length) return; - const n2 = Object(G.s)(this.viewItems.length).filter((t3) => t3 !== e2), i2 = [...n2.filter((e3) => 1 === this.viewItems[e3].priority), e2], o2 = n2.filter((e3) => 2 === this.viewItems[e3].priority), r2 = this.viewItems[e2]; + const n2 = Object(G.s)(this.viewItems.length).filter((t3) => t3 !== e2), i2 = [...n2.filter((e3) => this.viewItems[e3].priority === 1), e2], o2 = n2.filter((e3) => this.viewItems[e3].priority === 2), r2 = this.viewItems[e2]; t2 = Math.round(t2), t2 = Object(ns.b)(t2, r2.minimumSize, Math.min(r2.maximumSize, this.size)), r2.size = t2, this.relayout(i2, o2), this.state = Fa.Idle; } distributeViewSizes() { @@ -63902,7 +63902,7 @@ ${Object(zn.b)(wi)} const n2 = Math.floor(t2 / e2.length); for (const t3 of e2) t3.size = Object(ns.b)(n2, t3.minimumSize, t3.maximumSize); - const i2 = Object(G.s)(this.viewItems.length), o2 = i2.filter((e3) => 1 === this.viewItems[e3].priority), r2 = i2.filter((e3) => 2 === this.viewItems[e3].priority); + const i2 = Object(G.s)(this.viewItems.length), o2 = i2.filter((e3) => this.viewItems[e3].priority === 1), r2 = i2.filter((e3) => this.viewItems[e3].priority === 2); this.relayout(o2, r2); } getViewSize(e2) { @@ -63916,17 +63916,17 @@ ${Object(zn.b)(wi)} n2 === this.viewItems.length ? this.viewContainer.appendChild(o2) : this.viewContainer.insertBefore(o2, this.viewContainer.children.item(n2)); const r2 = e2.onDidChange((e3) => this.onViewChange(c2, e3)), s2 = Object(pe.h)(() => this.viewContainer.removeChild(o2)), a2 = Object(pe.e)(r2, s2); let l2; - l2 = "number" == typeof t2 ? t2 : "split" === t2.type ? this.getViewSize(t2.index) / 2 : "invisible" === t2.type ? {cachedVisibleSize: t2.cachedVisibleSize} : e2.minimumSize; - const c2 = 0 === this.orientation ? new Ma(o2, e2, l2, a2) : new Pa(o2, e2, l2, a2); + l2 = typeof t2 == "number" ? t2 : t2.type === "split" ? this.getViewSize(t2.index) / 2 : t2.type === "invisible" ? {cachedVisibleSize: t2.cachedVisibleSize} : e2.minimumSize; + const c2 = this.orientation === 0 ? new Ma(o2, e2, l2, a2) : new Pa(o2, e2, l2, a2); if (this.viewItems.splice(n2, 0, c2), this.viewItems.length > 1) { - const e3 = 0 === this.orientation ? new $i.a(this.sashContainer, {getHorizontalSashTop: (e4) => this.getSashPosition(e4)}, {orientation: 1, orthogonalStartSash: this.orthogonalStartSash, orthogonalEndSash: this.orthogonalEndSash}) : new $i.a(this.sashContainer, {getVerticalSashLeft: (e4) => this.getSashPosition(e4)}, {orientation: 0, orthogonalStartSash: this.orthogonalStartSash, orthogonalEndSash: this.orthogonalEndSash}), t3 = 0 === this.orientation ? (t4) => ({sash: e3, start: t4.startY, current: t4.currentY, alt: t4.altKey}) : (t4) => ({sash: e3, start: t4.startX, current: t4.currentX, alt: t4.altKey}), i3 = Lt.b.map(e3.onDidStart, t3)(this.onSashStart, this), o3 = Lt.b.map(e3.onDidChange, t3)(this.onSashChange, this), r3 = Lt.b.map(e3.onDidEnd, () => Object(G.j)(this.sashItems, (t4) => t4.sash === e3))(this.onSashEnd, this), s3 = e3.onDidReset(() => { + const e3 = this.orientation === 0 ? new $i.a(this.sashContainer, {getHorizontalSashTop: (e4) => this.getSashPosition(e4)}, {orientation: 1, orthogonalStartSash: this.orthogonalStartSash, orthogonalEndSash: this.orthogonalEndSash}) : new $i.a(this.sashContainer, {getVerticalSashLeft: (e4) => this.getSashPosition(e4)}, {orientation: 0, orthogonalStartSash: this.orthogonalStartSash, orthogonalEndSash: this.orthogonalEndSash}), t3 = this.orientation === 0 ? (t4) => ({sash: e3, start: t4.startY, current: t4.currentY, alt: t4.altKey}) : (t4) => ({sash: e3, start: t4.startX, current: t4.currentX, alt: t4.altKey}), i3 = Lt.b.map(e3.onDidStart, t3)(this.onSashStart, this), o3 = Lt.b.map(e3.onDidChange, t3)(this.onSashChange, this), r3 = Lt.b.map(e3.onDidEnd, () => Object(G.j)(this.sashItems, (t4) => t4.sash === e3))(this.onSashEnd, this), s3 = e3.onDidReset(() => { const t4 = Object(G.j)(this.sashItems, (t5) => t5.sash === e3), n3 = Object(G.s)(t4, -1), i4 = Object(G.s)(t4 + 1, this.viewItems.length), o4 = this.findFirstSnapIndex(n3), r4 = this.findFirstSnapIndex(i4); - ("number" != typeof o4 || this.viewItems[o4].visible) && ("number" != typeof r4 || this.viewItems[r4].visible) && this._onDidSashReset.fire(t4); + (typeof o4 != "number" || this.viewItems[o4].visible) && (typeof r4 != "number" || this.viewItems[r4].visible) && this._onDidSashReset.fire(t4); }), a3 = Object(pe.e)(i3, o3, r3, s3, e3), l3 = {sash: e3, disposable: a3}; this.sashItems.splice(n2 - 1, 0, l3); } let d2; - o2.appendChild(e2.element), "number" != typeof t2 && "split" === t2.type && (d2 = [t2.index]), i2 || this.relayout([n2], d2), this.state = Fa.Idle, i2 || "number" == typeof t2 || "distribute" !== t2.type || this.distributeViewSizes(); + o2.appendChild(e2.element), typeof t2 != "number" && t2.type === "split" && (d2 = [t2.index]), i2 || this.relayout([n2], d2), this.state = Fa.Idle, i2 || typeof t2 == "number" || t2.type !== "distribute" || this.distributeViewSizes(); } relayout(e2, t2) { const n2 = this.viewItems.reduce((e3, t3) => e3 + t3.size, 0); @@ -63942,7 +63942,7 @@ ${Object(zn.b)(wi)} if (i2) for (const e3 of i2) Object(G.q)(c2, e3), Object(G.q)(d2, e3); - const h2 = c2.map((e3) => this.viewItems[e3]), u2 = c2.map((e3) => n2[e3]), p2 = d2.map((e3) => this.viewItems[e3]), m2 = d2.map((e3) => n2[e3]), g2 = c2.reduce((e3, t3) => e3 + (this.viewItems[t3].minimumSize - n2[t3]), 0), f2 = c2.reduce((e3, t3) => e3 + (this.viewItems[t3].maximumSize - n2[t3]), 0), b2 = 0 === d2.length ? Number.POSITIVE_INFINITY : d2.reduce((e3, t3) => e3 + (n2[t3] - this.viewItems[t3].minimumSize), 0), _2 = 0 === d2.length ? Number.NEGATIVE_INFINITY : d2.reduce((e3, t3) => e3 + (n2[t3] - this.viewItems[t3].maximumSize), 0), v2 = Math.max(g2, _2, r2), w2 = Math.min(b2, f2, s2); + const h2 = c2.map((e3) => this.viewItems[e3]), u2 = c2.map((e3) => n2[e3]), p2 = d2.map((e3) => this.viewItems[e3]), m2 = d2.map((e3) => n2[e3]), g2 = c2.reduce((e3, t3) => e3 + (this.viewItems[t3].minimumSize - n2[t3]), 0), f2 = c2.reduce((e3, t3) => e3 + (this.viewItems[t3].maximumSize - n2[t3]), 0), b2 = d2.length === 0 ? Number.POSITIVE_INFINITY : d2.reduce((e3, t3) => e3 + (n2[t3] - this.viewItems[t3].minimumSize), 0), _2 = d2.length === 0 ? Number.NEGATIVE_INFINITY : d2.reduce((e3, t3) => e3 + (n2[t3] - this.viewItems[t3].maximumSize), 0), v2 = Math.max(g2, _2, r2), w2 = Math.min(b2, f2, s2); let y2 = false; if (a2) { const e3 = this.viewItems[a2.index], n3 = t2 >= a2.limitDelta; @@ -63967,13 +63967,13 @@ ${Object(zn.b)(wi)} distributeEmptySpace(e2) { const t2 = this.viewItems.reduce((e3, t3) => e3 + t3.size, 0); let n2 = this.size - t2; - const i2 = Object(G.s)(this.viewItems.length - 1, -1), o2 = i2.filter((e3) => 1 === this.viewItems[e3].priority), r2 = i2.filter((e3) => 2 === this.viewItems[e3].priority); + const i2 = Object(G.s)(this.viewItems.length - 1, -1), o2 = i2.filter((e3) => this.viewItems[e3].priority === 1), r2 = i2.filter((e3) => this.viewItems[e3].priority === 2); for (const e3 of r2) Object(G.r)(i2, e3); for (const e3 of o2) Object(G.q)(i2, e3); - "number" == typeof e2 && Object(G.q)(i2, e2); - for (let e3 = 0; 0 !== n2 && e3 < i2.length; e3++) { + typeof e2 == "number" && Object(G.q)(i2, e2); + for (let e3 = 0; n2 !== 0 && e3 < i2.length; e3++) { const t3 = this.viewItems[i2[e3]], o3 = Object(ns.b)(t3.size + n2, t3.minimumSize, t3.maximumSize); n2 -= o3 - t3.size, t3.size = o3; } @@ -64000,7 +64000,7 @@ ${Object(zn.b)(wi)} s2 += this.viewItems[e3].size; const a2 = !(t2[e3] && r2[e3 + 1]), l2 = !(n2[e3] && o2[e3 + 1]); if (a2 && l2) { - const n3 = Object(G.s)(e3, -1), r3 = Object(G.s)(e3 + 1, this.viewItems.length), a3 = this.findFirstSnapIndex(n3), l3 = this.findFirstSnapIndex(r3), c2 = "number" == typeof a3 && !this.viewItems[a3].visible, d2 = "number" == typeof l3 && !this.viewItems[l3].visible; + const n3 = Object(G.s)(e3, -1), r3 = Object(G.s)(e3 + 1, this.viewItems.length), a3 = this.findFirstSnapIndex(n3), l3 = this.findFirstSnapIndex(r3), c2 = typeof a3 == "number" && !this.viewItems[a3].visible, d2 = typeof l3 == "number" && !this.viewItems[l3].visible; c2 && o2[e3] && (s2 > 0 || this.startSnappingEnabled) ? i3.state = 1 : d2 && t2[e3] && (s2 < this.contentSize || this.endSnappingEnabled) ? i3.state = 2 : i3.state = 0; } else i3.state = a2 && !l2 ? 1 : !a2 && l2 ? 2 : 3; @@ -64032,8 +64032,8 @@ ${Object(zn.b)(wi)} } } var Ba = n(150), ja = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -64166,7 +64166,7 @@ ${Object(zn.b)(wi)} this._dim.width && (this.layoutData.ratio = this._splitView.getViewSize(0) / this._dim.width); }, void 0)); let n2 = (e3, t3) => { - e3 instanceof oa && ("show" === t3 && this._revealReference(e3, false), this._onDidSelectReference.fire({element: e3, kind: t3, source: "tree"})); + e3 instanceof oa && (t3 === "show" && this._revealReference(e3, false), this._onDidSelectReference.fire({element: e3, kind: t3, source: "tree"})); }; this._tree.onDidOpen((e3) => { e3.sideBySide ? n2(e3.element, "side") : e3.editorOptions.pinned ? n2(e3.element, "goto") : n2(e3.element, "show"); @@ -64189,11 +64189,11 @@ ${Object(zn.b)(wi)} _onNewModel() { return this._model ? this._model.isEmpty ? (this.setTitle(""), this._messageContainer.innerText = U.a("noResults", "No results"), ft.Z(this._messageContainer), Promise.resolve(void 0)) : (ft.K(this._messageContainer), this._decorationsManager = new Ha(this._preview, this._model), this._disposeOnNewModel.add(this._decorationsManager), this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange((e2) => this._tree.rerender(e2))), this._disposeOnNewModel.add(this._preview.onMouseDown((e2) => { const {event: t2, target: n2} = e2; - if (2 !== t2.detail) + if (t2.detail !== 2) return; const i2 = this._getFocusedReference(); i2 && this._onDidSelectReference.fire({element: {uri: i2.uri, range: n2.range}, kind: t2.ctrlKey || t2.metaKey || t2.altKey ? "side" : "open", source: "editor"}); - })), this.container.classList.add("results-loaded"), ft.Z(this._treeContainer), ft.Z(this._previewContainer), this._splitView.layout(this._dim.width), this.focusOnReferenceTree(), this._tree.setInput(1 === this._model.groups.length ? this._model.groups[0] : this._model)) : Promise.resolve(void 0); + })), this.container.classList.add("results-loaded"), ft.Z(this._treeContainer), ft.Z(this._previewContainer), this._splitView.layout(this._dim.width), this.focusOnReferenceTree(), this._tree.setInput(this._model.groups.length === 1 ? this._model.groups[0] : this._model)) : Promise.resolve(void 0); } _getFocusedReference() { const [e2] = this._tree.getFocus(); @@ -64249,8 +64249,8 @@ ${Object(zn.b)(wi)} u2 && t2.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin { background-color: ${u2};}`); }); var Ka = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -64326,7 +64326,7 @@ ${Object(zn.b)(wi)} if (t3) switch (i3) { case "open": - "editor" === e4.source && this._configurationService.getValue("editor.stablePeek") || this.openReference(t3, false); + e4.source === "editor" && this._configurationService.getValue("editor.stablePeek") || this.openReference(t3, false); break; case "side": this.openReference(t3, true); @@ -64344,7 +64344,7 @@ ${Object(zn.b)(wi)} let t4 = this._editor.getModel().uri, n3 = new me.a(e3.startLineNumber, e3.startColumn), i3 = this._model.nearestReference(t4, n3); if (i3) return this._widget.setSelection(i3).then(() => { - this._widget && "editor" === this._editor.getOption(68) && this._widget.focusOnPreviewEditor(); + this._widget && this._editor.getOption(68) === "editor" && this._widget.focusOnPreviewEditor(); }); } }); @@ -64387,7 +64387,7 @@ ${Object(zn.b)(wi)} this._widget.show(n2), this._widget.focusOnReferenceTree(); else { const o2 = e2.get(t3), r2 = this._model.clone(); - this.closeWidget(), t3.focus(), o2.toggleWidget(n2, Object(ue.f)((e3) => Promise.resolve(r2)), null !== (i2 = this._peekMode) && void 0 !== i2 && i2); + this.closeWidget(), t3.focus(), o2.toggleWidget(n2, Object(ue.f)((e3) => Promise.resolve(r2)), (i2 = this._peekMode) !== null && i2 !== void 0 && i2); } else this.closeWidget(); @@ -64425,15 +64425,15 @@ ${Object(zn.b)(wi)} }); }}), Ft.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor", "goToNextReference"), Ft.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor", "goToPreviousReference"), Ft.a.registerCommandAlias("closeReferenceSearchEditor", "closeReferenceSearch"), Ft.a.registerCommand("closeReferenceSearch", (e2) => Qa(e2, (e3) => e3.closeWidget())), Zi.a.registerKeybindingRule({id: "closeReferenceSearch", weight: -1, primary: 9, secondary: [1033], when: K.a.and(Ws.inPeekEditor, K.a.not("config.editor.stablePeek"))}), Zi.a.registerKeybindingRule({id: "closeReferenceSearch", weight: 250, primary: 9, secondary: [1033], when: K.a.and(Za, K.a.not("config.editor.stablePeek"))}), Zi.a.registerCommandAndKeybindingRule({id: "revealReference", weight: 200, primary: 3, mac: {primary: 3, secondary: [2066]}, when: K.a.and(Za, Da.e), handler(e2) { var t2; - const n2 = null === (t2 = e2.get(Da.a).lastFocusedList) || void 0 === t2 ? void 0 : t2.getFocus(); + const n2 = (t2 = e2.get(Da.a).lastFocusedList) === null || t2 === void 0 ? void 0 : t2.getFocus(); Array.isArray(n2) && n2[0] instanceof oa && Qa(e2, (e3) => e3.revealReference(n2[0])); }}), Zi.a.registerCommandAndKeybindingRule({id: "openReferenceToSide", weight: 100, primary: 2051, mac: {primary: 259}, when: K.a.and(Za, Da.e), handler(e2) { var t2; - const n2 = null === (t2 = e2.get(Da.a).lastFocusedList) || void 0 === t2 ? void 0 : t2.getFocus(); + const n2 = (t2 = e2.get(Da.a).lastFocusedList) === null || t2 === void 0 ? void 0 : t2.getFocus(); Array.isArray(n2) && n2[0] instanceof oa && Qa(e2, (e3) => e3.openReference(n2[0], true)); }}), Ft.a.registerCommand("openReference", (e2) => { var t2; - const n2 = null === (t2 = e2.get(Da.a).lastFocusedList) || void 0 === t2 ? void 0 : t2.getFocus(); + const n2 = (t2 = e2.get(Da.a).lastFocusedList) === null || t2 === void 0 ? void 0 : t2.getFocus(); Array.isArray(n2) && n2[0] instanceof oa && Qa(e2, (e3) => e3.openReference(n2[0], false)); }); var Ja = function(e2, t2, n2, i2) { @@ -64487,16 +64487,16 @@ ${Object(zn.b)(wi)} function rl(e2, t2, n2, i2) { return el(e2, t2, et.v, (e3, t3, o2) => Ja(this, void 0, void 0, function* () { const r2 = yield e3.provideReferences(t3, o2, {includeDeclaration: true}, i2); - if (!n2 || !r2 || 2 !== r2.length) + if (!n2 || !r2 || r2.length !== 2) return r2; const s2 = yield e3.provideReferences(t3, o2, {includeDeclaration: false}, i2); - return s2 && 1 === s2.length ? s2 : r2; + return s2 && s2.length === 1 ? s2 : r2; })); } Object(V.p)("_executeDefinitionProvider", (e2, t2) => tl(e2, t2, Xe.a.None)), Object(V.p)("_executeDeclarationProvider", (e2, t2) => nl(e2, t2, Xe.a.None)), Object(V.p)("_executeImplementationProvider", (e2, t2) => il(e2, t2, Xe.a.None)), Object(V.p)("_executeTypeDefinitionProvider", (e2, t2) => ol(e2, t2, Xe.a.None)), Object(V.p)("_executeReferenceProvider", (e2, t2) => rl(e2, t2, false, Xe.a.None)); var sl = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -64621,13 +64621,13 @@ ${Object(zn.b)(wi)} e4 !== this.id && (n3 = t2.getAction(e4)); } const o3 = e3.references.length; - if (0 === o3) { + if (o3 === 0) { if (!this._configuration.muteMessage) { const e4 = s2.getWordAtPosition(a2); ut.get(t2).showMessage(this._getNoResultFoundMessage(e4), a2); } } else { - if (1 !== o3 || !n3) + if (o3 !== 1 || !n3) return this._onResult(i2, r2, t2, e3); n3.run(); } @@ -64641,9 +64641,9 @@ ${Object(zn.b)(wi)} _onResult(e2, t2, n2, i2) { return wl(this, void 0, void 0, function* () { const o2 = this._getGoToPreference(n2); - if (n2 instanceof gs || !(this._configuration.openInPeek || "peek" === o2 && i2.references.length > 1)) { - const r2 = i2.firstReference(), s2 = i2.references.length > 1 && "gotoAndPeek" === o2, a2 = yield this._openReference(n2, e2, r2, this._configuration.openToSide, !s2); - s2 && a2 ? this._openInPeek(a2, i2) : i2.dispose(), "goto" === o2 && t2.put(r2); + if (n2 instanceof gs || !(this._configuration.openInPeek || o2 === "peek" && i2.references.length > 1)) { + const r2 = i2.firstReference(), s2 = i2.references.length > 1 && o2 === "gotoAndPeek", a2 = yield this._openReference(n2, e2, r2, this._configuration.openToSide, !s2); + s2 && a2 ? this._openInPeek(a2, i2) : i2.dispose(), o2 === "goto" && t2.put(r2); } else this._openInPeek(n2, i2); }); @@ -64821,14 +64821,14 @@ ${Object(zn.b)(wi)} } _getGoToPreference(e2) { var t2; - return null !== (t2 = this._gotoMultipleBehaviour) && void 0 !== t2 ? t2 : e2.getOption(43).multipleReferences; + return (t2 = this._gotoMultipleBehaviour) !== null && t2 !== void 0 ? t2 : e2.getOption(43).multipleReferences; } _getAlternativeCommand() { return ""; } } Ft.a.registerCommand({id: "editor.action.goToLocations", description: {description: "Go to locations from a position in a file", args: [{name: "uri", description: "The text document in which to start", constraint: Qe.a}, {name: "position", description: "The position at which to start", constraint: me.a.isIPosition}, {name: "locations", description: "An array of locations.", constraint: Array}, {name: "multiple", description: "Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}, {name: "noResultsMessage", description: "Human readable message that shows when locations is empty."}]}, handler: (e2, t2, n2, i2, o2, r2, s2) => wl(void 0, void 0, void 0, function* () { - Object(Jo.b)(Qe.a.isUri(t2)), Object(Jo.b)(me.a.isIPosition(n2)), Object(Jo.b)(Array.isArray(i2)), Object(Jo.b)(void 0 === o2 || "string" == typeof o2), Object(Jo.b)(void 0 === s2 || "boolean" == typeof s2); + Object(Jo.b)(Qe.a.isUri(t2)), Object(Jo.b)(me.a.isIPosition(n2)), Object(Jo.b)(Array.isArray(i2)), Object(Jo.b)(o2 === void 0 || typeof o2 == "string"), Object(Jo.b)(s2 === void 0 || typeof s2 == "boolean"); const a2 = e2.get(Me.a), l2 = yield a2.openCodeEditor({resource: t2}, a2.getFocusedCodeEditor()); if (Object(Rr.b)(l2)) return l2.setPosition(n2), l2.revealPositionInCenterIfOutsideViewport(n2, 0), l2.invokeWithinContext((e3) => { @@ -64878,7 +64878,7 @@ ${Object(zn.b)(wi)} } } function Rl(e2) { - return "altKey" === e2 ? Ae.f ? new Al(57, "metaKey", 6, "altKey") : new Al(5, "ctrlKey", 6, "altKey") : Ae.f ? new Al(6, "altKey", 57, "metaKey") : new Al(6, "altKey", 5, "ctrlKey"); + return e2 === "altKey" ? Ae.f ? new Al(57, "metaKey", 6, "altKey") : new Al(5, "ctrlKey", 6, "altKey") : Ae.f ? new Al(6, "altKey", 57, "metaKey") : new Al(6, "altKey", 5, "ctrlKey"); } class Ml extends pe.a { constructor(e2) { @@ -64917,8 +64917,8 @@ ${Object(zn.b)(wi)} } } var Pl = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -64958,7 +64958,7 @@ ${Object(zn.b)(wi)} }); } startFindDefinitionFromMouse(e3, t2) { - if (9 === e3.target.type && this.linkDecorations.length > 0) + if (e3.target.type === 9 && this.linkDecorations.length > 0) return; if (!this.editor.hasModel() || !this.isEnabled(e3, t2)) return this.currentWordAtPosition = null, void this.removeLinkDecorations(); @@ -64968,7 +64968,7 @@ ${Object(zn.b)(wi)} startFindDefinition(e3) { var t2; this.toUnhookForKeyboard.clear(); - const n2 = e3 ? null === (t2 = this.editor.getModel()) || void 0 === t2 ? void 0 : t2.getWordAtPosition(e3) : null; + const n2 = e3 ? (t2 = this.editor.getModel()) === null || t2 === void 0 ? void 0 : t2.getWordAtPosition(e3) : null; if (!n2) return this.currentWordAtPosition = null, this.removeLinkDecorations(), Promise.resolve(0); if (this.currentWordAtPosition && this.currentWordAtPosition.startColumn === n2.startColumn && this.currentWordAtPosition.endColumn === n2.endColumn && this.currentWordAtPosition.word === n2.word) @@ -65025,12 +65025,12 @@ ${Object(zn.b)(wi)} getPreviewRangeBasedOnBrackets(t2, n2) { const i2 = Math.min(t2.getLineCount(), n2 + e2.MAX_SOURCE_PREVIEW_LINES), o2 = []; let r2 = true, s2 = t2.findNextBracket(new me.a(n2, 1)); - for (; null !== s2; ) { - if (0 === o2.length) + for (; s2 !== null; ) { + if (o2.length === 0) o2.push(s2); else { const e4 = o2[o2.length - 1]; - if (e4.open[0] === s2.open[0] && e4.isOpen && !s2.isOpen ? o2.pop() : o2.push(s2), 0 === o2.length) { + if (e4.open[0] === s2.open[0] && e4.isOpen && !s2.isOpen ? o2.pop() : o2.push(s2), o2.length === 0) { if (!r2) return new ge.a(n2, 1, s2.range.endLineNumber + 1, 1); r2 = false; @@ -65052,7 +65052,7 @@ ${Object(zn.b)(wi)} this.linkDecorations.length > 0 && (this.linkDecorations = this.editor.deltaDecorations(this.linkDecorations, [])); } isEnabled(e3, t2) { - return this.editor.hasModel() && e3.isNoneOrSingleMouseDown && 6 === e3.target.type && (e3.hasTriggerModifier || !!t2 && t2.keyCodeIsTriggerKey) && et.f.has(this.editor.getModel()); + return this.editor.hasModel() && e3.isNoneOrSingleMouseDown && e3.target.type === 6 && (e3.hasTriggerModifier || !!t2 && t2.keyCodeIsTriggerKey) && et.f.has(this.editor.getModel()); } findDefinition(e3, t2) { const n2 = this.editor.getModel(); @@ -65129,8 +65129,8 @@ ${Object(zn.b)(wi)} } }); var Vl = n(79), Ul = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -65158,8 +65158,8 @@ ${Object(zn.b)(wi)} } update(e2) { const {source: t2, message: n2, relatedInformation: i2, code: o2} = e2; - let r2 = ((null == t2 ? void 0 : t2.length) || 0) + "()".length; - o2 && (r2 += "string" == typeof o2 ? o2.length : o2.value.length); + let r2 = ((t2 == null ? void 0 : t2.length) || 0) + "()".length; + o2 && (r2 += typeof o2 == "string" ? o2.length : o2.value.length); const s2 = n2.split(/\r\n|\r|\n/g); this._lines = s2.length, this._longestLineLength = 0; for (const e3 of s2) @@ -65167,7 +65167,7 @@ ${Object(zn.b)(wi)} ft.s(this._messageBlock), this._messageBlock.setAttribute("aria-label", this.getAriaLabel(e2)), this._editor.applyFontInfo(this._messageBlock); let a2 = this._messageBlock; for (const e3 of s2) - a2 = document.createElement("div"), a2.innerText = e3, "" === e3 && (a2.style.height = this._messageBlock.style.lineHeight), this._messageBlock.appendChild(a2); + a2 = document.createElement("div"), a2.innerText = e3, e3 === "" && (a2.style.height = this._messageBlock.style.lineHeight), this._messageBlock.appendChild(a2); if (t2 || o2) { const e3 = document.createElement("span"); if (ft.e(e3, "details"), a2.appendChild(e3), t2) { @@ -65175,7 +65175,7 @@ ${Object(zn.b)(wi)} n3.innerText = t2, ft.e(n3, "source"), e3.appendChild(n3); } if (o2) - if ("string" == typeof o2) { + if (typeof o2 == "string") { const t3 = document.createElement("span"); t3.innerText = `(${o2})`, ft.e(t3, "code"), e3.appendChild(t3); } else { @@ -65301,8 +65301,8 @@ ${Object(zn.b)(wi)} n2 && (t2.addRule(`.monaco-editor .marker-widget a { color: ${n2}; }`), t2.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${n2}; }`)); }); var ec = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -65322,7 +65322,7 @@ ${Object(zn.b)(wi)} constructor(t2, n2) { this._markerService = n2, this._onDidChange = new Lt.a(), this.onDidChange = this._onDidChange.event, this._dispoables = new pe.b(), this._markers = [], this._nextIdx = -1, Qe.a.isUri(t2) ? this._resourceFilter = (e3) => e3.toString() === t2.toString() : t2 && (this._resourceFilter = t2); const i2 = () => { - this._markers = this._markerService.read({resource: Qe.a.isUri(t2) ? t2 : void 0, severities: Wt.c.Error | Wt.c.Warning | Wt.c.Info}), "function" == typeof t2 && (this._markers = this._markers.filter((e3) => this._resourceFilter(e3.resource))), this._markers.sort(e2._compareMarker); + this._markers = this._markerService.read({resource: Qe.a.isUri(t2) ? t2 : void 0, severities: Wt.c.Error | Wt.c.Warning | Wt.c.Info}), typeof t2 == "function" && (this._markers = this._markers.filter((e3) => this._resourceFilter(e3.resource))), this._markers.sort(e2._compareMarker); }; i2(), this._dispoables.add(n2.onMarkerChanged((e3) => { this._resourceFilter && !e3.some((e4) => this._resourceFilter(e4)) || (i2(), this._nextIdx = -1, this._onDidChange.fire()); @@ -65360,10 +65360,10 @@ ${Object(zn.b)(wi)} this._nextIdx = -1; } move(e3, t2, n2) { - if (0 === this._markers.length) + if (this._markers.length === 0) return false; let i2 = this._nextIdx; - return -1 === this._nextIdx ? this._initIdx(t2, n2, e3) : e3 ? this._nextIdx = (this._nextIdx + 1) % this._markers.length : e3 || (this._nextIdx = (this._nextIdx - 1 + this._markers.length) % this._markers.length), i2 !== this._nextIdx; + return this._nextIdx === -1 ? this._initIdx(t2, n2, e3) : e3 ? this._nextIdx = (this._nextIdx + 1) % this._markers.length : e3 || (this._nextIdx = (this._nextIdx - 1 + this._markers.length) % this._markers.length), i2 !== this._nextIdx; } find(e3, t2) { let n2 = this._markers.findIndex((t3) => t3.resource.toString() === e3.toString()); @@ -65375,7 +65375,7 @@ ${Object(zn.b)(wi)} } static _compareMarker(e3, t2) { let n2 = Object(Ye.f)(e3.resource.toString(), t2.resource.toString()); - return 0 === n2 && (n2 = Wt.c.compare(e3.severity, t2.severity)), 0 === n2 && (n2 = ge.a.compareRangesUsingStarts(e3, t2)), n2; + return n2 === 0 && (n2 = Wt.c.compare(e3.severity, t2.severity)), n2 === 0 && (n2 = ge.a.compareRangesUsingStarts(e3, t2)), n2; } }; ic = ec([tc(1, Wt.b)], ic); @@ -65395,8 +65395,8 @@ ${Object(zn.b)(wi)} }; rc = ec([tc(0, Wt.b)], rc), Object(mn.b)(oc, rc, true); var sc = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -65450,7 +65450,7 @@ ${Object(zn.b)(wi)} let t2 = false; return this._model && (t2 = true, this._cleanUp()), this._model = this._markerNavigationService.getMarkerList(e3), t2 && this._model.move(true, this._editor.getModel(), this._editor.getPosition()), this._widget = this._instantiationService.createInstance($l, this._editor), this._widget.onDidClose(() => this.close(), this, this._sessionDispoables), this._widgetVisible.set(true), this._sessionDispoables.add(this._model), this._sessionDispoables.add(this._widget), this._sessionDispoables.add(this._editor.onDidChangeCursorPosition((e4) => { var t3, n2, i2; - (null === (t3 = this._model) || void 0 === t3 ? void 0 : t3.selected) && ge.a.containsPosition(null === (n2 = this._model) || void 0 === n2 ? void 0 : n2.selected.marker, e4.position) || null === (i2 = this._model) || void 0 === i2 || i2.resetIndex(); + ((t3 = this._model) === null || t3 === void 0 ? void 0 : t3.selected) && ge.a.containsPosition((n2 = this._model) === null || n2 === void 0 ? void 0 : n2.selected.marker, e4.position) || (i2 = this._model) === null || i2 === void 0 || i2.resetIndex(); })), this._sessionDispoables.add(this._model.onDidChange(() => { if (!this._widget || !this._widget.position || !this._model) return; @@ -65588,7 +65588,7 @@ ${Object(zn.b)(wi)} } onDidHueChange(e2) { const t2 = this.model.color.hsva, n2 = 360 * (1 - e2); - this.model.color = new Nn.a(new Nn.b(360 === n2 ? 0 : n2, t2.s, t2.v, t2.a)); + this.model.color = new Nn.a(new Nn.b(n2 === 360 ? 0 : n2, t2.s, t2.v, t2.a)); } layout() { this.saturationBox.layout(), this.opacityStrip.layout(), this.hueStrip.layout(); @@ -65686,7 +65686,7 @@ ${Object(zn.b)(wi)} } function Sc(e2, t2, n2) { const i2 = et.p.ordered(e2).map((i3) => Promise.resolve(i3.provideHover(e2, t2, n2)).then((e3) => e3 && function(e4) { - const t3 = void 0 !== e4.range, n3 = void 0 !== e4.contents && e4.contents && e4.contents.length > 0; + const t3 = e4.range !== void 0, n3 = e4.contents !== void 0 && e4.contents && e4.contents.length > 0; return t3 && n3; }(e3) ? e3 : void 0, (e3) => { Object(Z.f)(e3); @@ -65719,10 +65719,10 @@ ${Object(zn.b)(wi)} this._computer.computeSync && this._computer.onResult(this._computer.computeSync(), true), this._asyncComputationPromiseDone ? (this._state = 0, this._onComplete(this._computer.getResult())) : (this._state = 3, this._onProgress(this._computer.getResult())); } _showLoadingMessage() { - 3 === this._state && this._onProgress(this._computer.getResultWithLoadingMessage()); + this._state === 3 && this._onProgress(this._computer.getResultWithLoadingMessage()); } _withAsyncResult(e2) { - e2 && this._computer.onResult(e2, false), 3 === this._state && (this._state = 0, this._onComplete(this._computer.getResult())); + e2 && this._computer.onResult(e2, false), this._state === 3 && (this._state = 0, this._onComplete(this._computer.getResult())); } _onComplete(e2) { this._completeCallback(e2); @@ -65734,8 +65734,8 @@ ${Object(zn.b)(wi)} this._progressCallback(e2); } start(e2) { - if (0 === e2) - 0 === this._state && (this._state = 1, this._firstWaitScheduler.schedule(this._firstWaitTime()), this._loadingMessageScheduler.schedule(this._loadingMessageTime())); + if (e2 === 0) + this._state === 0 && (this._state = 1, this._firstWaitScheduler.schedule(this._firstWaitTime()), this._loadingMessageScheduler.schedule(this._loadingMessageTime())); else switch (this._state) { case 0: @@ -65746,7 +65746,7 @@ ${Object(zn.b)(wi)} } } cancel() { - this._loadingMessageScheduler.cancel(), 1 === this._state && this._firstWaitScheduler.cancel(), 2 === this._state && (this._secondWaitScheduler.cancel(), this._asyncComputationPromise && (this._asyncComputationPromise.cancel(), this._asyncComputationPromise = null)), 3 === this._state && this._asyncComputationPromise && (this._asyncComputationPromise.cancel(), this._asyncComputationPromise = null), this._state = 0; + this._loadingMessageScheduler.cancel(), this._state === 1 && this._firstWaitScheduler.cancel(), this._state === 2 && (this._secondWaitScheduler.cancel(), this._asyncComputationPromise && (this._asyncComputationPromise.cancel(), this._asyncComputationPromise = null)), this._state === 3 && this._asyncComputationPromise && (this._asyncComputationPromise.cancel(), this._asyncComputationPromise = null), this._state = 0; } } n(315); @@ -65885,19 +65885,19 @@ ${Object(zn.b)(wi)} e2("he"); var i2 = e2("assignment"), o2 = e2("./parser"), r2 = e2("./sanitizer"), s2 = e2("./defaults"); function a2(e3, t3, n3) { - var a3 = [], l2 = true === n3 ? t3 : i2({}, s2, t3), c2 = r2(a3, l2); + var a3 = [], l2 = n3 === true ? t3 : i2({}, s2, t3), c2 = r2(a3, l2); return o2(e3, c2), a3.join(""); } a2.defaults = s2, t2.exports = a2, Dc = a2; }, {"./defaults": 2, "./parser": 7, "./sanitizer": 8, assignment: 6, he: 9}], 5: [function(e2, t2, n2) { t2.exports = function(e3) { - return "string" == typeof e3 ? e3.toLowerCase() : e3; + return typeof e3 == "string" ? e3.toLowerCase() : e3; }; }, {}], 6: [function(e2, t2, n2) { t2.exports = function e3(t3) { for (var n3, i2, o2 = Array.prototype.slice.call(arguments, 1); o2.length; ) for (i2 in n3 = o2.shift()) - n3.hasOwnProperty(i2) && ("[object Object]" === Object.prototype.toString.call(t3[i2]) ? t3[i2] = e3(t3[i2], n3[i2]) : t3[i2] = n3[i2]); + n3.hasOwnProperty(i2) && (Object.prototype.toString.call(t3[i2]) === "[object Object]" ? t3[i2] = e3(t3[i2], n3[i2]) : t3[i2] = n3[i2]); return t3; }; }, {}], 7: [function(e2, t2, n2) { @@ -65912,7 +65912,7 @@ ${Object(zn.b)(wi)} p2(); function p2() { n3 = true, function() { - "<!--" === e3.substr(0, 4) ? (i4 = e3.indexOf("-->")) >= 0 && (t3.comment && t3.comment(e3.substring(4, i4)), e3 = e3.substring(i4 + 3), n3 = false) : d2.test(e3) ? m2(a2, f2) : c2.test(e3) && m2(s2, g2); + e3.substr(0, 4) === "<!--" ? (i4 = e3.indexOf("-->")) >= 0 && (t3.comment && t3.comment(e3.substring(4, i4)), e3 = e3.substring(i4 + 3), n3 = false) : d2.test(e3) ? m2(a2, f2) : c2.test(e3) && m2(s2, g2); var i4; !function() { if (!n3) @@ -65932,7 +65932,7 @@ ${Object(zn.b)(wi)} function g2(e4, n4, s3, a3) { var c3 = {}, d3 = o2(n4), u3 = r2.voids[d3] || !!a3; s3.replace(l2, function(e5, t4, n5, o3, r3) { - c3[t4] = void 0 === n5 && void 0 === o3 && void 0 === r3 ? void 0 : i2.decode(n5 || o3 || r3 || ""); + c3[t4] = n5 === void 0 && o3 === void 0 && r3 === void 0 ? void 0 : i2.decode(n5 || o3 || r3 || ""); }), u3 || h2.push(d3), t3.start && t3.start(d3, c3, u3); } function f2(e4, n4) { @@ -65956,7 +65956,7 @@ ${Object(zn.b)(wi)} var d3 = o2(e4); if (n3.ignoring) return void c2(d3); - if (-1 === (a2.allowedTags || []).indexOf(d3)) + if ((a2.allowedTags || []).indexOf(d3) === -1) return void c2(d3); if (a2.filter && !a2.filter({tag: d3, attrs: t4})) return void c2(d3); @@ -65964,37 +65964,37 @@ ${Object(zn.b)(wi)} var n4 = t4[e5], s4 = (a2.allowedClasses || {})[d3] || [], c3 = (a2.allowedAttributes || {})[d3] || []; c3 = c3.concat((a2.allowedAttributes || {})["*"] || []); var h3 = o2(e5); - ("class" === h3 && -1 === c3.indexOf(h3) ? (n4 = n4.split(" ").filter(function(e6) { - return s4 && -1 !== s4.indexOf(e6); - }).join(" ").trim()).length : -1 !== c3.indexOf(h3) && (true !== r2.uris[h3] || function(e6) { + (h3 === "class" && c3.indexOf(h3) === -1 ? (n4 = n4.split(" ").filter(function(e6) { + return s4 && s4.indexOf(e6) !== -1; + }).join(" ").trim()).length : c3.indexOf(h3) !== -1 && (r2.uris[h3] !== true || function(e6) { var t5 = e6[0]; - if ("#" === t5 || "/" === t5) + if (t5 === "#" || t5 === "/") return true; var n5 = e6.indexOf(":"); - if (-1 === n5) + if (n5 === -1) return true; var i3 = e6.indexOf("?"); - if (-1 !== i3 && n5 > i3) + if (i3 !== -1 && n5 > i3) return true; var o3 = e6.indexOf("#"); - if (-1 !== o3 && n5 > o3) + if (o3 !== -1 && n5 > o3) return true; return a2.allowedSchemes.some(function(t6) { - return 0 === e6.indexOf(t6 + ":"); + return e6.indexOf(t6 + ":") === 0; }); - }(n4))) && (l2(" "), l2(e5), "string" == typeof n4 && (l2('="'), l2(i2.encode(n4)), l2('"'))); + }(n4))) && (l2(" "), l2(e5), typeof n4 == "string" && (l2('="'), l2(i2.encode(n4)), l2('"'))); }), l2(s3 ? "/>" : ">"); }, end: function(e4) { var t4 = o2(e4); - -1 !== (a2.allowedTags || []).indexOf(t4) && false === n3.ignoring ? (l2("</"), l2(t4), l2(">")) : d2(t4); + (a2.allowedTags || []).indexOf(t4) !== -1 && n3.ignoring === false ? (l2("</"), l2(t4), l2(">")) : d2(t4); }, chars: function(e4) { - false === n3.ignoring && l2(a2.transformText ? a2.transformText(e4) : e4); + n3.ignoring === false && l2(a2.transformText ? a2.transformText(e4) : e4); }}; function l2(t4) { e3.push(t4); } function c2(e4) { - s2.voids[e4] || (false === n3.ignoring ? n3 = {ignoring: e4, depth: 1} : n3.ignoring === e4 && n3.depth++); + s2.voids[e4] || (n3.ignoring === false ? n3 = {ignoring: e4, depth: 1} : n3.ignoring === e4 && n3.depth++); } function d2(e4) { n3.ignoring === e4 && --n3.depth <= 0 && h2(); @@ -66012,10 +66012,10 @@ ${Object(zn.b)(wi)} return o2[e3]; } function c2(e3) { - return null == e3 ? "" : String(e3).replace(s2, a2); + return e3 == null ? "" : String(e3).replace(s2, a2); } function d2(e3) { - return null == e3 ? "" : String(e3).replace(r2, l2); + return e3 == null ? "" : String(e3).replace(r2, l2); } c2.options = d2.options = {}, t2.exports = {encode: c2, escape: c2, decode: d2, unescape: d2, version: "1.0.0-browser"}; }, {}], 10: [function(e2, t2, n2) { @@ -66086,7 +66086,7 @@ ${Object(zn.b)(wi)} if (!t3.leftButton && !t3.middleButton) return; let n3 = t3.target; - if ("A" === n3.tagName || (n3 = n3.parentElement, n3 && "A" === n3.tagName)) + if (n3.tagName === "A" || (n3 = n3.parentElement, n3 && n3.tagName === "A")) try { const e5 = n3.dataset.href; e5 && d2.callback(e5, t3); @@ -66099,16 +66099,16 @@ ${Object(zn.b)(wi)} }), n2.sanitizer = (t3) => (e2.isTrusted ? t3.match(/^(<span[^<]+>)|(<\/\s*span>)$/) : void 0) ? t3 : "", n2.sanitize = true, n2.renderer = c2; const h2 = [la.b.http, la.b.https, la.b.mailto, la.b.data, la.b.file, la.b.vscodeRemote, la.b.vscodeRemoteResource]; e2.isTrusted && h2.push(la.b.command); - let u2 = null !== (i2 = e2.value) && void 0 !== i2 ? i2 : ""; - u2.length > 1e5 && (u2 = u2.substr(0, 1e5) + "…"); + let u2 = (i2 = e2.value) !== null && i2 !== void 0 ? i2 : ""; + u2.length > 1e5 && (u2 = u2.substr(0, 1e5) + "\u2026"); const p2 = Oc.parse(e2.supportThemeIcons ? Object(Y.d)(u2) : u2, n2); return o2.innerHTML = Ac(p2, {allowedSchemes: h2, allowedTags: ["ul", "li", "p", "code", "blockquote", "ol", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "em", "pre", "table", "thead", "tbody", "tr", "th", "td", "div", "del", "a", "strong", "br", "img", "span"], allowedAttributes: {a: ["href", "name", "target", "data-href"], img: ["src", "title", "alt", "width", "height"], div: ["class", "data-code"], span: ["class", "style"], th: ["align"], td: ["align"]}, filter: function(t3) { - return "span" !== t3.tag || !e2.isTrusted || 1 !== Object.keys(t3.attrs).length || (t3.attrs.style ? !!t3.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/) : !!t3.attrs.class && !!t3.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-animation-[a-z\-]+)?$/)); + return t3.tag !== "span" || !e2.isTrusted || Object.keys(t3.attrs).length !== 1 || (t3.attrs.style ? !!t3.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/) : !!t3.attrs.class && !!t3.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-animation-[a-z\-]+)?$/)); }}), a2(), o2; } var Fc = n(182), Wc = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -66318,7 +66318,7 @@ ${Object(zn.b)(wi)} }); }), l2.length) { l2.forEach((e4) => o2.appendChild(this.renderMarkerHover(e4))); - const e3 = 1 === l2.length ? l2[0] : l2.sort((e4, t3) => Wt.c.compare(e4.marker.severity, t3.marker.severity))[0]; + const e3 = l2.length === 1 ? l2[0] : l2.sort((e4, t3) => Wt.c.compare(e4.marker.severity, t3.marker.severity))[0]; o2.appendChild(this.renderMarkerStatusbar(e3)); } s2 || r2 || (this.showAt(new me.a(e2.startLineNumber, n2), i2, this._shouldFocus), this.updateContents(o2)), this._isChangingDecorations = true, this._highlightDecorations = this._editor.deltaDecorations(this._highlightDecorations, i2 ? [{range: i2, options: $c._DECORATION_OPTIONS}] : []), this._isChangingDecorations = false; @@ -66328,7 +66328,7 @@ ${Object(zn.b)(wi)} this._editor.applyFontInfo(n2); const a2 = ft.p(n2, jc("span")); if (a2.style.whiteSpace = "pre-wrap", a2.innerText = o2, i2 || r2) - if (r2 && "string" != typeof r2) { + if (r2 && typeof r2 != "string") { const e3 = jc("span"); if (i2) { ft.p(e3, jc("span")).innerText = i2; @@ -66451,8 +66451,8 @@ ${Object(zn.b)(wi)} } Gc.ID = "editor.contrib.modesGlyphHoverWidget"; var Yc = n(192), Zc = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -66494,23 +66494,23 @@ ${Object(zn.b)(wi)} _onEditorMouseDown(e3) { this._isMouseDown = true; const t2 = e3.target.type; - 9 !== t2 || e3.target.detail !== $c.ID ? 12 === t2 && e3.target.detail === Gc.ID || (12 !== t2 && e3.target.detail !== Gc.ID && (this._hoverClicked = false), this._hideWidgets()) : this._hoverClicked = true; + t2 !== 9 || e3.target.detail !== $c.ID ? t2 === 12 && e3.target.detail === Gc.ID || (t2 !== 12 && e3.target.detail !== Gc.ID && (this._hoverClicked = false), this._hideWidgets()) : this._hoverClicked = true; } _onEditorMouseUp(e3) { this._isMouseDown = false; } _onEditorMouseMove(e3) { let t2 = e3.target.type; - if (!(this._isMouseDown && this._hoverClicked && this.contentWidget.isColorPickerVisible() || this._isHoverSticky && 9 === t2 && e3.target.detail === $c.ID || this._isHoverSticky && 12 === t2 && e3.target.detail === Gc.ID)) { - if (7 === t2) { + if (!(this._isMouseDown && this._hoverClicked && this.contentWidget.isColorPickerVisible() || this._isHoverSticky && t2 === 9 && e3.target.detail === $c.ID || this._isHoverSticky && t2 === 12 && e3.target.detail === Gc.ID)) { + if (t2 === 7) { const n2 = this._editor.getOption(36).typicalHalfwidthCharacterWidth / 2, i2 = e3.target.detail; - i2 && !i2.isAfterLines && "number" == typeof i2.horizontalDistanceToText && i2.horizontalDistanceToText < n2 && (t2 = 6); + i2 && !i2.isAfterLines && typeof i2.horizontalDistanceToText == "number" && i2.horizontalDistanceToText < n2 && (t2 = 6); } - 6 === t2 ? (this.glyphWidget.hide(), this._isHoverEnabled && e3.target.range && this.contentWidget.startShowingAt(e3.target.range, 0, false)) : 2 === t2 ? (this.contentWidget.hide(), this._isHoverEnabled && e3.target.position && this.glyphWidget.startShowingAt(e3.target.position.lineNumber)) : this._hideWidgets(); + t2 === 6 ? (this.glyphWidget.hide(), this._isHoverEnabled && e3.target.range && this.contentWidget.startShowingAt(e3.target.range, 0, false)) : t2 === 2 ? (this.contentWidget.hide(), this._isHoverEnabled && e3.target.position && this.glyphWidget.startShowingAt(e3.target.position.lineNumber)) : this._hideWidgets(); } } _onKeyDown(e3) { - 5 !== e3.keyCode && 6 !== e3.keyCode && 57 !== e3.keyCode && 4 !== e3.keyCode && this._hideWidgets(); + e3.keyCode !== 5 && e3.keyCode !== 6 && e3.keyCode !== 57 && e3.keyCode !== 4 && this._hideWidgets(); } _hideWidgets() { !this._glyphWidget.value || !this._contentWidget.value || this._isMouseDown && this._hoverClicked && this._contentWidget.value.isColorPickerVisible() || (this._glyphWidget.value.hide(), this._contentWidget.value.hide()); @@ -66536,7 +66536,7 @@ ${Object(zn.b)(wi)} let n2 = Qc.get(t2); if (!n2) return; - const i2 = t2.getPosition(), o2 = new ge.a(i2.lineNumber, i2.column, i2.lineNumber, i2.column), r2 = 2 === t2.getOption(2); + const i2 = t2.getPosition(), o2 = new ge.a(i2.lineNumber, i2.column, i2.lineNumber, i2.column), r2 = t2.getOption(2) === 2; n2.showContentHover(o2, 1, r2); } } @@ -66577,7 +66577,7 @@ ${Object(zn.b)(wi)} function nd(e2, t2) { let n2 = 0; for (let i2 = 0; i2 < e2.length; i2++) - " " === e2.charAt(i2) ? n2 += t2 : n2++; + e2.charAt(i2) === " " ? n2 += t2 : n2++; return n2; } function id(e2, t2, n2) { @@ -66594,7 +66594,7 @@ ${Object(zn.b)(wi)} return i2; } function od(e2, t2, n2, i2) { - if (1 === e2.getLineCount() && 1 === e2.getLineMaxColumn(1)) + if (e2.getLineCount() === 1 && e2.getLineMaxColumn(1) === 1) return []; let o2 = Pn.a.getIndentationRules(e2.getLanguageIdentifier().id); if (!o2) @@ -66609,7 +66609,7 @@ ${Object(zn.b)(wi)} return []; const {tabSize: r2, indentSize: s2, insertSpaces: a2} = e2.getOptions(), l2 = (e3, t3) => (t3 = t3 || 1, td.a.shiftIndent(e3, e3.length + t3, r2, s2, a2)), c2 = (e3, t3) => (t3 = t3 || 1, td.a.unshiftIndent(e3, e3.length + t3, r2, s2, a2)); let d2, h2 = [], u2 = e2.getLineContent(t2), p2 = u2; - if (null != i2) { + if (i2 != null) { d2 = i2; let e3 = Ye.z(u2); p2 = d2 + u2.substring(e3.length), o2.decreaseIndentPattern && o2.decreaseIndentPattern.test(p2) && (d2 = c2(d2), p2 = d2 + u2.substring(e3.length)), u2 !== p2 && h2.push(Mn.a.replace(new q.a(t2, 1, t2, e3.length + 1), be.b.normalizeIndentation(d2, s2, a2))); @@ -66720,12 +66720,12 @@ ${Object(zn.b)(wi)} if (!n2) return; let i2 = t2.getSelections(); - if (null === i2) + if (i2 === null) return; let o2 = []; for (let e3 of i2) { let t3 = e3.startLineNumber, i3 = e3.endLineNumber; - if (t3 !== i3 && 1 === e3.endColumn && i3--, 1 === t3) { + if (t3 !== i3 && e3.endColumn === 1 && i3--, t3 === 1) { if (t3 === i3) continue; } else @@ -66740,13 +66740,13 @@ ${Object(zn.b)(wi)} constructor(e2, t2) { this._initialSelection = t2, this._edits = [], this._selectionId = null; for (let t3 of e2) - t3.range && "string" == typeof t3.text && this._edits.push(t3); + t3.range && typeof t3.text == "string" && this._edits.push(t3); } getEditOperations(e2, t2) { for (let e3 of this._edits) t2.addEditOperation(ge.a.lift(e3.range), e3.text); let n2 = false; - Array.isArray(this._edits) && 1 === this._edits.length && this._initialSelection.isEmpty() && (this._edits[0].range.startColumn === this._initialSelection.endColumn && this._edits[0].range.startLineNumber === this._initialSelection.endLineNumber ? (n2 = true, this._selectionId = t2.trackSelection(this._initialSelection, true)) : this._edits[0].range.endColumn === this._initialSelection.startColumn && this._edits[0].range.endLineNumber === this._initialSelection.startLineNumber && (n2 = true, this._selectionId = t2.trackSelection(this._initialSelection, false))), n2 || (this._selectionId = t2.trackSelection(this._initialSelection)); + Array.isArray(this._edits) && this._edits.length === 1 && this._initialSelection.isEmpty() && (this._edits[0].range.startColumn === this._initialSelection.endColumn && this._edits[0].range.startLineNumber === this._initialSelection.endLineNumber ? (n2 = true, this._selectionId = t2.trackSelection(this._initialSelection, true)) : this._edits[0].range.endColumn === this._initialSelection.startColumn && this._edits[0].range.endLineNumber === this._initialSelection.startLineNumber && (n2 = true, this._selectionId = t2.trackSelection(this._initialSelection, false))), n2 || (this._selectionId = t2.trackSelection(this._initialSelection)); } computeCursorState(e2, t2) { return t2.getTrackedSelection(this._selectionId); @@ -66763,7 +66763,7 @@ ${Object(zn.b)(wi)} } trigger(e2) { let t2 = this.editor.getSelections(); - if (null === t2 || t2.length > 1) + if (t2 === null || t2.length > 1) return; const n2 = this.editor.getModel(); if (!n2) @@ -66780,14 +66780,14 @@ ${Object(zn.b)(wi)} let d2 = n2.getLineContent(c2); if (!/\S/.test(d2.substring(0, e2.startColumn - 1))) { let e3 = Pn.a.getGoodIndentForLine(i2, n2, n2.getLanguageIdentifier().id, c2, l2); - if (null !== e3) { + if (e3 !== null) { let t3 = Ye.z(d2), i3 = nd(e3, o2); if (i3 !== nd(t3, o2)) { let e4 = id(i3, o2, s2); a2.push({range: new ge.a(c2, 1, c2, t3.length + 1), text: e4}), d2 = e4 + d2.substr(t3.length); } else { let e4 = Pn.a.getIndentMetadata(n2, c2); - if (0 === e4 || 8 === e4) + if (e4 === 0 || e4 === 8) return; } } @@ -66797,7 +66797,7 @@ ${Object(zn.b)(wi)} c2++; if (c2 !== e2.endLineNumber) { let t3 = {getLineTokens: (e3) => n2.getLineTokens(e3), getLanguageIdentifier: () => n2.getLanguageIdentifier(), getLanguageIdAtPosition: (e3, t4) => n2.getLanguageIdAtPosition(e3, t4), getLineContent: (e3) => e3 === h2 ? d2 : n2.getLineContent(e3)}, r3 = Pn.a.getGoodIndentForLine(i2, t3, n2.getLanguageIdentifier().id, c2 + 1, l2); - if (null !== r3) { + if (r3 !== null) { let t4 = nd(r3, o2), i3 = nd(Ye.z(n2.getLineContent(c2 + 1)), o2); if (t4 !== i3) { let r4 = t4 - i3; @@ -66814,12 +66814,12 @@ ${Object(zn.b)(wi)} shouldIgnoreLine(e2, t2) { e2.forceTokenization(t2); let n2 = e2.getLineFirstNonWhitespaceColumn(t2); - if (0 === n2) + if (n2 === 0) return true; let i2 = e2.getLineTokens(t2); if (i2.getCount() > 0) { let e3 = i2.findTokenIndexAtOffset(n2); - if (e3 >= 0 && 1 === i2.getStandardTokenType(e3)) + if (e3 >= 0 && i2.getStandardTokenType(e3) === 1) return true; } return false; @@ -66829,7 +66829,7 @@ ${Object(zn.b)(wi)} } } function gd(e2, t2, n2, i2) { - if (1 === e2.getLineCount() && 1 === e2.getLineMaxColumn(1)) + if (e2.getLineCount() === 1 && e2.getLineMaxColumn(1) === 1) return; let o2 = ""; for (let e3 = 0; e3 < n2; e3++) @@ -66837,7 +66837,7 @@ ${Object(zn.b)(wi)} let r2 = new RegExp(o2, "gi"); for (let n3 = 1, s2 = e2.getLineCount(); n3 <= s2; n3++) { let s3 = e2.getLineFirstNonWhitespaceColumn(n3); - if (0 === s3 && (s3 = e2.getLineMaxColumn(n3)), 1 === s3) + if (s3 === 0 && (s3 = e2.getLineMaxColumn(n3)), s3 === 1) continue; const a2 = new ge.a(n3, 1, n3, s3), l2 = e2.getValueInRange(a2), c2 = i2 ? l2.replace(/\t/gi, o2) : l2.replace(r2, " "); t2.addEditOperation(a2, c2); @@ -66880,8 +66880,8 @@ ${Object(zn.b)(wi)} } } var vd = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -66959,10 +66959,10 @@ ${Object(zn.b)(wi)} let a3 = e3.getLineContent(s2), l2 = a3.length + 1, c2 = 0; if (o2 < r2 && t3[o2].lineNumber === s2 && (c2 = t3[o2].column, o2++, c2 === l2)) continue; - if (0 === a3.length) + if (a3.length === 0) continue; let d2 = Ye.J(a3), h2 = 0; - if (-1 === d2) + if (d2 === -1) h2 = 1; else { if (d2 === a3.length - 1) @@ -66990,18 +66990,18 @@ ${Object(zn.b)(wi)} } getEditOperations(e2, t2) { let n2 = this._selection; - this._startLineNumberDelta = 0, this._endLineNumberDelta = 0, n2.startLineNumber < n2.endLineNumber && 1 === n2.endColumn && (this._endLineNumberDelta = 1, n2 = n2.setEndPosition(n2.endLineNumber - 1, e2.getLineMaxColumn(n2.endLineNumber - 1))); + this._startLineNumberDelta = 0, this._endLineNumberDelta = 0, n2.startLineNumber < n2.endLineNumber && n2.endColumn === 1 && (this._endLineNumberDelta = 1, n2 = n2.setEndPosition(n2.endLineNumber - 1, e2.getLineMaxColumn(n2.endLineNumber - 1))); let i2 = []; for (let t3 = n2.startLineNumber; t3 <= n2.endLineNumber; t3++) i2.push(e2.getLineContent(t3)); const o2 = i2.join("\n"); - "" === o2 && this._isCopyingDown && (this._startLineNumberDelta++, this._endLineNumberDelta++), this._isCopyingDown ? t2.addEditOperation(new ge.a(n2.startLineNumber, 1, n2.startLineNumber, 1), o2 + "\n") : t2.addEditOperation(new ge.a(n2.endLineNumber, e2.getLineMaxColumn(n2.endLineNumber), n2.endLineNumber, e2.getLineMaxColumn(n2.endLineNumber)), "\n" + o2), this._selectionId = t2.trackSelection(n2), this._selectionDirection = this._selection.getDirection(); + o2 === "" && this._isCopyingDown && (this._startLineNumberDelta++, this._endLineNumberDelta++), this._isCopyingDown ? t2.addEditOperation(new ge.a(n2.startLineNumber, 1, n2.startLineNumber, 1), o2 + "\n") : t2.addEditOperation(new ge.a(n2.endLineNumber, e2.getLineMaxColumn(n2.endLineNumber), n2.endLineNumber, e2.getLineMaxColumn(n2.endLineNumber)), "\n" + o2), this._selectionId = t2.trackSelection(n2), this._selectionDirection = this._selection.getDirection(); } computeCursorState(e2, t2) { let n2 = t2.getTrackedSelection(this._selectionId); - if (0 !== this._startLineNumberDelta || 0 !== this._endLineNumberDelta) { + if (this._startLineNumberDelta !== 0 || this._endLineNumberDelta !== 0) { let e3 = n2.startLineNumber, t3 = n2.startColumn, i2 = n2.endLineNumber, o2 = n2.endColumn; - 0 !== this._startLineNumberDelta && (e3 += this._startLineNumberDelta, t3 = 1), 0 !== this._endLineNumberDelta && (i2 += this._endLineNumberDelta, o2 = 1), n2 = q.a.createWithDirection(e3, t3, i2, o2, this._selectionDirection); + this._startLineNumberDelta !== 0 && (e3 += this._startLineNumberDelta, t3 = 1), this._endLineNumberDelta !== 0 && (i2 += this._endLineNumberDelta, o2 = 1), n2 = q.a.createWithDirection(e3, t3, i2, o2, this._selectionDirection); } return n2; } @@ -67015,16 +67015,16 @@ ${Object(zn.b)(wi)} let n2 = e2.getLineCount(); if (this._isMovingDown && this._selection.endLineNumber === n2) return void (this._selectionId = t2.trackSelection(this._selection)); - if (!this._isMovingDown && 1 === this._selection.startLineNumber) + if (!this._isMovingDown && this._selection.startLineNumber === 1) return void (this._selectionId = t2.trackSelection(this._selection)); this._moveEndPositionDown = false; let i2 = this._selection; - i2.startLineNumber < i2.endLineNumber && 1 === i2.endColumn && (this._moveEndPositionDown = true, i2 = i2.setEndPosition(i2.endLineNumber - 1, e2.getLineMaxColumn(i2.endLineNumber - 1))); + i2.startLineNumber < i2.endLineNumber && i2.endColumn === 1 && (this._moveEndPositionDown = true, i2 = i2.setEndPosition(i2.endLineNumber - 1, e2.getLineMaxColumn(i2.endLineNumber - 1))); const {tabSize: o2, indentSize: r2, insertSpaces: s2} = e2.getOptions(); let a2 = this.buildIndentConverter(o2, r2, s2), l2 = {getLineTokens: (t3) => e2.getLineTokens(t3), getLanguageIdentifier: () => e2.getLanguageIdentifier(), getLanguageIdAtPosition: (t3, n3) => e2.getLanguageIdAtPosition(t3, n3), getLineContent: null}; - if (i2.startLineNumber === i2.endLineNumber && 1 === e2.getLineMaxColumn(i2.startLineNumber)) { + if (i2.startLineNumber === i2.endLineNumber && e2.getLineMaxColumn(i2.startLineNumber) === 1) { let n3 = i2.startLineNumber, o3 = this._isMovingDown ? n3 + 1 : n3 - 1; - 1 === e2.getLineMaxColumn(o3) ? t2.addEditOperation(new ge.a(1, 1, 1, 1), null) : (t2.addEditOperation(new ge.a(n3, 1, n3, 1), e2.getLineContent(o3)), t2.addEditOperation(new ge.a(o3, 1, o3, e2.getLineMaxColumn(o3)), null)), i2 = new q.a(o3, 1, o3, 1); + e2.getLineMaxColumn(o3) === 1 ? t2.addEditOperation(new ge.a(1, 1, 1, 1), null) : (t2.addEditOperation(new ge.a(n3, 1, n3, 1), e2.getLineContent(o3)), t2.addEditOperation(new ge.a(o3, 1, o3, e2.getLineMaxColumn(o3)), null)), i2 = new q.a(o3, 1, o3, 1); } else { let n3, r3; if (this._isMovingDown) { @@ -67032,13 +67032,13 @@ ${Object(zn.b)(wi)} let c2 = r3; if (this.shouldAutoIndent(e2, i2)) { let d2 = this.matchEnterRule(e2, a2, o2, n3, i2.startLineNumber - 1); - if (null !== d2) { + if (d2 !== null) { let t3 = id(d2 + nd(Ye.z(e2.getLineContent(n3)), o2), o2, s2); c2 = t3 + this.trimLeft(r3); } else { l2.getLineContent = (t4) => t4 === i2.startLineNumber ? e2.getLineContent(n3) : e2.getLineContent(t4); let t3 = Pn.a.getGoodIndentForLine(this._autoIndent, l2, e2.getLanguageIdAtPosition(n3, 1), i2.startLineNumber, a2); - if (null !== t3) { + if (t3 !== null) { let i3 = Ye.z(e2.getLineContent(n3)), a3 = nd(t3, o2); if (a3 !== nd(i3, o2)) { let e3 = id(a3, o2, s2); @@ -67048,12 +67048,12 @@ ${Object(zn.b)(wi)} } t2.addEditOperation(new ge.a(i2.startLineNumber, 1, i2.startLineNumber, 1), c2 + "\n"); let h2 = this.matchEnterRule(e2, a2, o2, i2.startLineNumber, i2.startLineNumber, c2); - if (null !== h2) - 0 !== h2 && this.getIndentEditsOfMovingBlock(e2, t2, i2, o2, s2, h2); + if (h2 !== null) + h2 !== 0 && this.getIndentEditsOfMovingBlock(e2, t2, i2, o2, s2, h2); else { l2.getLineContent = (t3) => t3 === i2.startLineNumber ? c2 : t3 >= i2.startLineNumber + 1 && t3 <= i2.endLineNumber + 1 ? e2.getLineContent(t3 - 1) : e2.getLineContent(t3); let r4 = Pn.a.getGoodIndentForLine(this._autoIndent, l2, e2.getLanguageIdAtPosition(n3, 1), i2.startLineNumber + 1, a2); - if (null !== r4) { + if (r4 !== null) { const n4 = Ye.z(e2.getLineContent(i2.startLineNumber)), a3 = nd(r4, o2), l3 = nd(n4, o2); if (a3 !== l3) { const n5 = a3 - l3; @@ -67066,11 +67066,11 @@ ${Object(zn.b)(wi)} } else if (n3 = i2.startLineNumber - 1, r3 = e2.getLineContent(n3), t2.addEditOperation(new ge.a(n3, 1, n3 + 1, 1), null), t2.addEditOperation(new ge.a(i2.endLineNumber, e2.getLineMaxColumn(i2.endLineNumber), i2.endLineNumber, e2.getLineMaxColumn(i2.endLineNumber)), "\n" + r3), this.shouldAutoIndent(e2, i2)) { l2.getLineContent = (t3) => t3 === n3 ? e2.getLineContent(i2.startLineNumber) : e2.getLineContent(t3); let r4 = this.matchEnterRule(e2, a2, o2, i2.startLineNumber, i2.startLineNumber - 2); - if (null !== r4) - 0 !== r4 && this.getIndentEditsOfMovingBlock(e2, t2, i2, o2, s2, r4); + if (r4 !== null) + r4 !== 0 && this.getIndentEditsOfMovingBlock(e2, t2, i2, o2, s2, r4); else { let r5 = Pn.a.getGoodIndentForLine(this._autoIndent, l2, e2.getLanguageIdAtPosition(i2.startLineNumber, 1), n3, a2); - if (null !== r5) { + if (r5 !== null) { let n4 = Ye.z(e2.getLineContent(i2.startLineNumber)), a3 = nd(r5, o2), l3 = nd(n4, o2); if (a3 !== l3) { let n5 = a3 - l3; @@ -67089,7 +67089,7 @@ ${Object(zn.b)(wi)} let s2 = o2; for (; s2 >= 1; ) { let t3; - if (t3 = s2 === o2 && void 0 !== r2 ? r2 : e2.getLineContent(s2), Ye.J(t3) >= 0) + if (t3 = s2 === o2 && r2 !== void 0 ? r2 : e2.getLineContent(s2), Ye.J(t3) >= 0) break; s2--; } @@ -67102,7 +67102,7 @@ ${Object(zn.b)(wi)} let r3 = e2.getLineContent(i2); if (this.trimLeft(r3).indexOf(this.trimLeft(o3)) >= 0) { let r4 = Ye.z(e2.getLineContent(i2)), s3 = Ye.z(o3), a3 = Pn.a.getIndentMetadata(e2, i2); - return null !== a3 && 2 & a3 && (s3 = t2.unshiftIndent(s3)), nd(s3, n2) - nd(r4, n2); + return a3 !== null && 2 & a3 && (s3 = t2.unshiftIndent(s3)), nd(s3, n2) - nd(r4, n2); } } return null; @@ -67116,12 +67116,12 @@ ${Object(zn.b)(wi)} if (!e2.isCheapToTokenize(t2.startLineNumber)) return false; let n2 = e2.getLanguageIdAtPosition(t2.startLineNumber, 1); - return n2 === e2.getLanguageIdAtPosition(t2.endLineNumber, 1) && null !== Pn.a.getIndentRulesSupport(n2); + return n2 === e2.getLanguageIdAtPosition(t2.endLineNumber, 1) && Pn.a.getIndentRulesSupport(n2) !== null; } getIndentEditsOfMovingBlock(e2, t2, n2, i2, o2, r2) { for (let s2 = n2.startLineNumber; s2 <= n2.endLineNumber; s2++) { let a2 = e2.getLineContent(s2), l2 = Ye.z(a2), c2 = id(nd(l2, i2) + r2, i2, o2); - c2 !== l2 && (t2.addEditOperation(new ge.a(s2, 1, s2, l2.length + 1), c2), s2 === n2.endLineNumber && n2.endColumn <= l2.length + 1 && "" === c2 && (this._moveEndLineSelectionShrink = true)); + c2 !== l2 && (t2.addEditOperation(new ge.a(s2, 1, s2, l2.length + 1), c2), s2 === n2.endLineNumber && n2.endColumn <= l2.length + 1 && c2 === "" && (this._moveEndLineSelectionShrink = true)); } } computeCursorState(e2, t2) { @@ -67149,7 +67149,7 @@ ${Object(zn.b)(wi)} return t2.getTrackedSelection(this.selectionId); } static canRun(e2, t2, n2) { - if (null === e2) + if (e2 === null) return false; let i2 = Id(e2, t2, n2); if (!i2) @@ -67162,13 +67162,13 @@ ${Object(zn.b)(wi)} } function Id(e2, t2, n2) { let i2 = t2.startLineNumber, o2 = t2.endLineNumber; - if (1 === t2.endColumn && o2--, i2 >= o2) + if (t2.endColumn === 1 && o2--, i2 >= o2) return null; let r2 = []; for (let t3 = i2; t3 <= o2; t3++) r2.push(e2.getLineContent(t3)); let s2 = r2.slice(0); - return s2.sort(Nd.getCollator().compare), true === n2 && (s2 = s2.reverse()), {startLineNumber: i2, endLineNumber: o2, before: r2, after: s2}; + return s2.sort(Nd.getCollator().compare), n2 === true && (s2 = s2.reverse()), {startLineNumber: i2, endLineNumber: o2, before: r2, after: s2}; } Nd._COLLATOR = null; class Od extends V.b { @@ -67242,9 +67242,9 @@ ${Object(zn.b)(wi)} } run(e2, t2, n2) { let i2 = []; - "auto-save" === n2.reason && (i2 = (t2.getSelections() || []).map((e3) => new me.a(e3.positionLineNumber, e3.positionColumn))); + n2.reason === "auto-save" && (i2 = (t2.getSelections() || []).map((e3) => new me.a(e3.positionLineNumber, e3.positionColumn))); let o2 = t2.getSelection(); - if (null === o2) + if (o2 === null) return; let r2 = new Sd(o2, i2); t2.pushUndoStop(), t2.executeCommands(this.id, [r2]), t2.pushUndoStop(); @@ -67259,7 +67259,7 @@ ${Object(zn.b)(wi)} if (!t2.hasModel()) return; let n2 = this._getLinesToRemove(t2), i2 = t2.getModel(); - if (1 === i2.getLineCount() && 1 === i2.getLineMaxColumn(1)) + if (i2.getLineCount() === 1 && i2.getLineMaxColumn(1) === 1) return; let o2 = 0, r2 = [], s2 = []; for (let e3 = 0, t3 = n2.length; e3 < t3; e3++) { @@ -67272,7 +67272,7 @@ ${Object(zn.b)(wi)} _getLinesToRemove(e2) { let t2 = e2.getSelections().map((e3) => { let t3 = e3.endLineNumber; - return e3.startLineNumber < e3.endLineNumber && 1 === e3.endColumn && (t3 -= 1), {startLineNumber: e3.startLineNumber, selectionStartColumn: e3.selectionStartColumn, endLineNumber: t3, positionColumn: e3.positionColumn}; + return e3.startLineNumber < e3.endLineNumber && e3.endColumn === 1 && (t3 -= 1), {startLineNumber: e3.startLineNumber, selectionStartColumn: e3.selectionStartColumn, endLineNumber: t3, positionColumn: e3.positionColumn}; }); t2.sort((e3, t3) => e3.startLineNumber === t3.startLineNumber ? e3.endLineNumber - t3.endLineNumber : e3.startLineNumber - t3.startLineNumber); let n2 = [], i2 = t2[0]; @@ -67324,7 +67324,7 @@ ${Object(zn.b)(wi)} let i2 = this._getRangesToDelete(t2), o2 = []; for (let e3 = 0, t3 = i2.length - 1; e3 < t3; e3++) { let t4 = i2[e3], n3 = i2[e3 + 1]; - null === ge.a.intersectRanges(t4, n3) ? o2.push(t4) : i2[e3 + 1] = ge.a.plusRange(t4, n3); + ge.a.intersectRanges(t4, n3) === null ? o2.push(t4) : i2[e3 + 1] = ge.a.plusRange(t4, n3); } o2.push(i2[i2.length - 1]); let r2 = this._getEndCursorState(n2, o2), s2 = o2.map((e3) => Mn.a.replace(e3, "")); @@ -67337,16 +67337,16 @@ ${Object(zn.b)(wi)} } run(e2, t2) { let n2 = t2.getSelections(); - if (null === n2) + if (n2 === null) return; let i2 = t2.getSelection(); - if (null === i2) + if (i2 === null) return; n2.sort(ge.a.compareRangesUsingStarts); let o2 = [], r2 = n2.reduce((e3, t3) => e3.isEmpty() ? e3.endLineNumber === t3.startLineNumber ? (i2.equalsSelection(e3) && (i2 = t3), t3) : t3.startLineNumber > e3.endLineNumber + 1 ? (o2.push(e3), t3) : new q.a(e3.startLineNumber, e3.startColumn, t3.endLineNumber, t3.endColumn) : t3.startLineNumber > e3.endLineNumber ? (o2.push(e3), t3) : new q.a(e3.startLineNumber, e3.startColumn, t3.endLineNumber, t3.endColumn)); o2.push(r2); let s2 = t2.getModel(); - if (null === s2) + if (s2 === null) return; let a2 = [], l2 = [], c2 = i2, d2 = 0; for (let e3 = 0, t3 = o2.length; e3 < t3; e3++) { @@ -67361,7 +67361,7 @@ ${Object(zn.b)(wi)} let t5 = s2.getLineContent(e4), n4 = s2.getLineFirstNonWhitespaceColumn(e4); if (n4 >= 1) { let e5 = true; - "" === g2 && (e5 = false), !e5 || " " !== g2.charAt(g2.length - 1) && " " !== g2.charAt(g2.length - 1) || (e5 = false, g2 = g2.replace(/[\s\uFEFF\xA0]+$/g, " ")); + g2 === "" && (e5 = false), !e5 || g2.charAt(g2.length - 1) !== " " && g2.charAt(g2.length - 1) !== " " || (e5 = false, g2 = g2.replace(/[\s\uFEFF\xA0]+$/g, " ")); let i3 = t5.substr(n4 - 1); g2 += (e5 ? " " : "") + i3, p2 = e5 ? i3.length + 1 : i3.length; } else @@ -67370,7 +67370,7 @@ ${Object(zn.b)(wi)} let f2 = new ge.a(h2, u2, t4, n3); if (!f2.isEmpty()) { let e4; - r3.isEmpty() ? (a2.push(Mn.a.replace(f2, g2)), e4 = new q.a(f2.startLineNumber - d2, g2.length - p2 + 1, h2 - d2, g2.length - p2 + 1)) : r3.startLineNumber === r3.endLineNumber ? (a2.push(Mn.a.replace(f2, g2)), e4 = new q.a(r3.startLineNumber - d2, r3.startColumn, r3.endLineNumber - d2, r3.endColumn)) : (a2.push(Mn.a.replace(f2, g2)), e4 = new q.a(r3.startLineNumber - d2, r3.startColumn, r3.startLineNumber - d2, g2.length - m2)), null !== ge.a.intersectRanges(f2, i2) ? c2 = e4 : l2.push(e4); + r3.isEmpty() ? (a2.push(Mn.a.replace(f2, g2)), e4 = new q.a(f2.startLineNumber - d2, g2.length - p2 + 1, h2 - d2, g2.length - p2 + 1)) : r3.startLineNumber === r3.endLineNumber ? (a2.push(Mn.a.replace(f2, g2)), e4 = new q.a(r3.startLineNumber - d2, r3.startColumn, r3.endLineNumber - d2, r3.endColumn)) : (a2.push(Mn.a.replace(f2, g2)), e4 = new q.a(r3.startLineNumber - d2, r3.startColumn, r3.startLineNumber - d2, g2.length - m2)), ge.a.intersectRanges(f2, i2) !== null ? c2 = e4 : l2.push(e4); } d2 += f2.endLineNumber - f2.startLineNumber; } @@ -67383,10 +67383,10 @@ ${Object(zn.b)(wi)} } run(e2, t2) { let n2 = t2.getSelections(); - if (null === n2) + if (n2 === null) return; let i2 = t2.getModel(); - if (null === i2) + if (i2 === null) return; let o2 = []; for (let e3 = 0, t3 = n2.length; e3 < t3; e3++) { @@ -67410,10 +67410,10 @@ ${Object(zn.b)(wi)} class Hd extends V.b { run(e2, t2) { let n2 = t2.getSelections(); - if (null === n2) + if (n2 === null) return; let i2 = t2.getModel(); - if (null === i2) + if (i2 === null) return; let o2 = t2.getOption(105), r2 = []; for (let e3 = 0, s2 = n2.length; e3 < s2; e3++) { @@ -67465,7 +67465,7 @@ ${Object(zn.b)(wi)} let n2 = null, i2 = [], o2 = 0; return t2.forEach((t3) => { let r2; - if (1 === t3.endColumn && o2 > 0) { + if (t3.endColumn === 1 && o2 > 0) { let e3 = t3.startLineNumber - o2; r2 = new q.a(e3, t3.startColumn, e3, t3.startColumn); } else @@ -67475,13 +67475,13 @@ ${Object(zn.b)(wi)} } _getRangesToDelete(e2) { let t2 = e2.getSelections(); - if (null === t2) + if (t2 === null) return []; let n2 = t2, i2 = e2.getModel(); - return null === i2 ? [] : (n2.sort(ge.a.compareRangesUsingStarts), n2 = n2.map((e3) => { + return i2 === null ? [] : (n2.sort(ge.a.compareRangesUsingStarts), n2 = n2.map((e3) => { if (e3.isEmpty()) { - if (1 === e3.startColumn) { - let t3 = Math.max(1, e3.startLineNumber - 1), n3 = 1 === e3.startLineNumber ? 1 : i2.getLineContent(t3).length + 1; + if (e3.startColumn === 1) { + let t3 = Math.max(1, e3.startLineNumber - 1), n3 = e3.startLineNumber === 1 ? 1 : i2.getLineContent(t3).length + 1; return new ge.a(t3, n3, e3.startLineNumber, 1); } return new ge.a(e3.startLineNumber, 1, e3.startLineNumber, e3.startColumn); @@ -67503,10 +67503,10 @@ ${Object(zn.b)(wi)} } _getRangesToDelete(e2) { let t2 = e2.getModel(); - if (null === t2) + if (t2 === null) return []; let n2 = e2.getSelections(); - if (null === n2) + if (n2 === null) return []; let i2 = n2.map((e3) => { if (e3.isEmpty()) { @@ -67589,7 +67589,7 @@ ${Object(zn.b)(wi)} } resolve(e2) { return qd(this, void 0, void 0, function* () { - return this._link.url ? this._link.url : "function" == typeof this._provider.resolveLink ? Promise.resolve(this._provider.resolveLink(this._link, e2)).then((t2) => (this._link = t2 || this._link, this._link.url ? this.resolve(e2) : Promise.reject(new Error("missing")))) : Promise.reject(new Error("missing")); + return this._link.url ? this._link.url : typeof this._provider.resolveLink == "function" ? Promise.resolve(this._provider.resolveLink(this._link, e2)).then((t2) => (this._link = t2 || this._link, this._link.url ? this.resolve(e2) : Promise.reject(new Error("missing")))) : Promise.reject(new Error("missing")); }); } } @@ -67643,8 +67643,8 @@ ${Object(zn.b)(wi)} return o2.dispose(), r2; })); var Yd = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -67749,7 +67749,7 @@ ${Object(zn.b)(wi)} }); } updateDecorations(e3) { - const t2 = "altKey" === this.editor.getOption(61); + const t2 = this.editor.getOption(61) === "altKey"; let n2 = [], i2 = Object.keys(this.currentOccurrences); for (let e4 = 0, t3 = i2.length; e4 < t3; e4++) { let t4 = i2[e4], o3 = this.currentOccurrences[t4]; @@ -67767,7 +67767,7 @@ ${Object(zn.b)(wi)} } } _onEditorMouseMove(e3, t2) { - const n2 = "altKey" === this.editor.getOption(61); + const n2 = this.editor.getOption(61) === "altKey"; if (this.isEnabled(e3, t2)) { this.cleanUpActiveLinkDecoration(); const t3 = this.getLinkOccurrence(e3.target.position); @@ -67778,7 +67778,7 @@ ${Object(zn.b)(wi)} this.cleanUpActiveLinkDecoration(); } cleanUpActiveLinkDecoration() { - const e3 = "altKey" === this.editor.getOption(61); + const e3 = this.editor.getOption(61) === "altKey"; if (this.activeLinkDecorationId) { const t2 = this.currentOccurrences[this.activeLinkDecorationId]; t2 && this.editor.changeDecorations((n2) => { @@ -67797,7 +67797,7 @@ ${Object(zn.b)(wi)} return; const {link: i2} = e3; i2.resolve(Xe.a.None).then((e4) => { - if ("string" == typeof e4 && this.editor.hasModel()) { + if (typeof e4 == "string" && this.editor.hasModel()) { const t3 = this.editor.getModel().uri; if (t3.scheme === la.b.file && Ye.S(e4, "file:")) { const n3 = Qe.a.parse(e4); @@ -67811,7 +67811,7 @@ ${Object(zn.b)(wi)} return this.openerService.open(e4, {openToSide: t2, fromUserGesture: n2}); }, (e4) => { const t3 = e4 instanceof Error ? e4.message : e4; - "invalid" === t3 ? this.notificationService.warn(U.a("invalid.url", "Failed to open this link because it is not well-formed: {0}", i2.url.toString())) : "missing" === t3 ? this.notificationService.warn(U.a("missing.url", "Failed to open this link because its target is missing.")) : Object(Z.e)(e4); + t3 === "invalid" ? this.notificationService.warn(U.a("invalid.url", "Failed to open this link because it is not well-formed: {0}", i2.url.toString())) : t3 === "missing" ? this.notificationService.warn(U.a("missing.url", "Failed to open this link because its target is missing.")) : Object(Z.e)(e4); }); } getLinkOccurrence(e3) { @@ -67826,7 +67826,7 @@ ${Object(zn.b)(wi)} return null; } isEnabled(e3, t2) { - return Boolean(6 === e3.target.type && (e3.hasTriggerModifier || t2 && t2.keyCodeIsTriggerKey)); + return Boolean(e3.target.type === 6 && (e3.hasTriggerModifier || t2 && t2.keyCodeIsTriggerKey)); } stop() { this.timeout.cancel(), this.activeLinksList && this.activeLinksList.dispose(), this.computePromise && (this.computePromise.cancel(), this.computePromise = null); @@ -67865,7 +67865,7 @@ ${Object(zn.b)(wi)} run(e2, t2, n2) { if (!t2.hasModel()) return; - const i2 = n2 && true === n2.logicalLine, o2 = t2._getViewModel(); + const i2 = n2 && n2.logicalLine === true, o2 = t2._getViewModel(); o2.cursorConfig.readOnly || (o2.pushStackElement(), o2.setCursorStates(n2.source, 3, nh.b.addCursorUp(o2, o2.getCursorStates(), i2)), o2.revealTopMostCursor(n2.source)); } } @@ -67876,7 +67876,7 @@ ${Object(zn.b)(wi)} run(e2, t2, n2) { if (!t2.hasModel()) return; - const i2 = n2 && true === n2.logicalLine, o2 = t2._getViewModel(); + const i2 = n2 && n2.logicalLine === true, o2 = t2._getViewModel(); o2.cursorConfig.readOnly || (o2.pushStackElement(), o2.setCursorStates(n2.source, 3, nh.b.addCursorDown(o2, o2.getCursorStates(), i2)), o2.revealBottomMostCursor(n2.source)); } } @@ -67946,7 +67946,7 @@ ${Object(zn.b)(wi)} return new ch(e2, t2, false, n2.searchString, n2.wholeWord, n2.matchCase, null); let i2, o2, r2 = false; const s2 = e2.getSelections(); - 1 === s2.length && s2[0].isEmpty() ? (r2 = true, i2 = true, o2 = true) : (i2 = n2.wholeWord, o2 = n2.matchCase); + s2.length === 1 && s2[0].isEmpty() ? (r2 = true, i2 = true, o2 = true) : (i2 = n2.wholeWord, o2 = n2.matchCase); const a2 = e2.getSelection(); let l2, c2 = null; if (a2.isEmpty()) { @@ -68152,7 +68152,7 @@ ${Object(zn.b)(wi)} super(), this.editor = e2, this._isEnabled = e2.getOption(89), this.decorations = [], this.updateSoon = this._register(new ue.d(() => this._update(), 300)), this.state = null, this._register(e2.onDidChangeConfiguration((t2) => { this._isEnabled = e2.getOption(89); })), this._register(e2.onDidChangeCursorSelection((e3) => { - this._isEnabled && (e3.selection.isEmpty() ? 3 === e3.reason ? (this.state && this._setState(null), this.updateSoon.schedule()) : this._setState(null) : this._update()); + this._isEnabled && (e3.selection.isEmpty() ? e3.reason === 3 ? (this.state && this._setState(null), this.updateSoon.schedule()) : this._setState(null) : this._update()); })), this._register(e2.onDidChangeModel((e3) => { this._setState(null); })), this._register(e2.onDidChangeModelContent((e3) => { @@ -68378,7 +68378,7 @@ ${Object(zn.b)(wi)} return this._state; } set state(e2) { - 2 === this._state.type && this._state.request.cancel(), this._state = e2; + this._state.type === 2 && this._state.request.cancel(), this._state = e2; } cancel(e2 = false) { this.state = vh.Default, this.throttledDelayer.cancel(), e2 || this._onChangedHints.fire(void 0); @@ -68391,24 +68391,24 @@ ${Object(zn.b)(wi)} this._pendingTriggers.push(e2), this.throttledDelayer.trigger(() => this.doTrigger(i2), t2).catch(Z.e); } next() { - if (1 !== this.state.type) + if (this.state.type !== 1) return; const e2 = this.state.hints.signatures.length, t2 = this.state.hints.activeSignature, n2 = t2 % e2 == e2 - 1, i2 = this.editor.getOption(67).cycle; !(e2 < 2 || n2) || i2 ? this.updateActiveSignature(n2 && i2 ? 0 : t2 + 1) : this.cancel(); } previous() { - if (1 !== this.state.type) + if (this.state.type !== 1) return; - const e2 = this.state.hints.signatures.length, t2 = this.state.hints.activeSignature, n2 = 0 === t2, i2 = this.editor.getOption(67).cycle; + const e2 = this.state.hints.signatures.length, t2 = this.state.hints.activeSignature, n2 = t2 === 0, i2 = this.editor.getOption(67).cycle; !(e2 < 2 || n2) || i2 ? this.updateActiveSignature(n2 && i2 ? e2 - 1 : t2 - 1) : this.cancel(); } updateActiveSignature(e2) { - 1 === this.state.type && (this.state = new vh.Active(Object.assign(Object.assign({}, this.state.hints), {activeSignature: e2})), this._onChangedHints.fire(this.state.hints)); + this.state.type === 1 && (this.state = new vh.Active(Object.assign(Object.assign({}, this.state.hints), {activeSignature: e2})), this._onChangedHints.fire(this.state.hints)); } doTrigger(e2) { return wh(this, void 0, void 0, function* () { - const t2 = 1 === this.state.type || 2 === this.state.type, n2 = 1 === this.state.type ? this.state.hints : void 0; - if (this.cancel(true), 0 === this._pendingTriggers.length) + const t2 = this.state.type === 1 || this.state.type === 2, n2 = this.state.type === 1 ? this.state.hints : void 0; + if (this.cancel(true), this._pendingTriggers.length === 0) return false; const i2 = this._pendingTriggers.reduce(Ch); this._pendingTriggers = []; @@ -68419,14 +68419,14 @@ ${Object(zn.b)(wi)} this.state = new vh.Pending(Object(ue.f)((e3) => _h(r2, s2, o2, e3))); try { const t3 = yield this.state.request; - return e2 !== this.triggerId ? (null == t3 || t3.dispose(), false) : t3 && t3.value.signatures && 0 !== t3.value.signatures.length ? (this.state = new vh.Active(t3.value), this._lastSignatureHelpResult.value = t3, this._onChangedHints.fire(this.state.hints), true) : (null == t3 || t3.dispose(), this._lastSignatureHelpResult.clear(), this.cancel(), false); + return e2 !== this.triggerId ? (t3 == null || t3.dispose(), false) : t3 && t3.value.signatures && t3.value.signatures.length !== 0 ? (this.state = new vh.Active(t3.value), this._lastSignatureHelpResult.value = t3, this._onChangedHints.fire(this.state.hints), true) : (t3 == null || t3.dispose(), this._lastSignatureHelpResult.clear(), this.cancel(), false); } catch (t3) { return e2 === this.triggerId && (this.state = vh.Default), Object(Z.e)(t3), false; } }); } get isTriggered() { - return 1 === this.state.type || 2 === this.state.type || this.throttledDelayer.isTriggered(); + return this.state.type === 1 || this.state.type === 2 || this.throttledDelayer.isTriggered(); } onModelChanged() { this.cancel(), this.triggerChars = new Dr.b(), this.retriggerChars = new Dr.b(); @@ -68446,7 +68446,7 @@ ${Object(zn.b)(wi)} (this.triggerChars.has(n2) || this.isTriggered && this.retriggerChars.has(n2)) && this.trigger({triggerKind: et.z.TriggerCharacter, triggerCharacter: e2.charAt(t2)}); } onCursorChange(e2) { - "mouse" === e2.source ? this.cancel() : this.isTriggered && this.trigger({triggerKind: et.z.ContentChange}); + e2.source === "mouse" ? this.cancel() : this.isTriggered && this.trigger({triggerKind: et.z.ContentChange}); } onModelContentChange() { this.isTriggered && this.trigger({triggerKind: et.z.ContentChange}); @@ -68471,8 +68471,8 @@ ${Object(zn.b)(wi)} } yh.DEFAULT_DELAY = 120; var xh = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -68533,16 +68533,16 @@ ${Object(zn.b)(wi)} return; const o2 = ft.p(this.domNodes.signature, kh(".code")), r2 = this.editor.getOption(36); o2.style.fontSize = r2.fontSize + "px", o2.style.fontFamily = r2.fontFamily; - const s2 = i2.parameters.length > 0, a2 = null !== (t2 = i2.activeParameter) && void 0 !== t2 ? t2 : e3.activeParameter; + const s2 = i2.parameters.length > 0, a2 = (t2 = i2.activeParameter) !== null && t2 !== void 0 ? t2 : e3.activeParameter; if (s2) this.renderParameters(o2, i2, a2); else { ft.p(o2, kh("span")).textContent = i2.label; } const l2 = i2.parameters[a2]; - if (null == l2 ? void 0 : l2.documentation) { + if (l2 == null ? void 0 : l2.documentation) { const e4 = kh("span.documentation"); - if ("string" == typeof l2.documentation) + if (typeof l2.documentation == "string") e4.textContent = l2.documentation; else { const t3 = this.renderDisposeables.add(this.markdownRenderer.render(l2.documentation)); @@ -68550,9 +68550,9 @@ ${Object(zn.b)(wi)} } ft.p(this.domNodes.docs, kh("p", {}, e4)); } - if (void 0 === i2.documentation) + if (i2.documentation === void 0) ; - else if ("string" == typeof i2.documentation) + else if (typeof i2.documentation == "string") ft.p(this.domNodes.docs, kh("p", {}, i2.documentation)); else { const e4 = this.renderDisposeables.add(this.markdownRenderer.render(i2.documentation)); @@ -68566,7 +68566,7 @@ ${Object(zn.b)(wi)} this.editor.layoutContentWidget(this), this.domNodes.scrollbar.scanDomNode(); } hasDocs(e3, t2) { - return !!(t2 && "string" == typeof t2.documentation && Object(Jo.a)(t2.documentation).length > 0) || (!!(t2 && "object" == typeof t2.documentation && Object(Jo.a)(t2.documentation).value.length > 0) || (!!(e3.documentation && "string" == typeof e3.documentation && Object(Jo.a)(e3.documentation).length > 0) || !!(e3.documentation && "object" == typeof e3.documentation && Object(Jo.a)(e3.documentation.value).length > 0))); + return !!(t2 && typeof t2.documentation == "string" && Object(Jo.a)(t2.documentation).length > 0) || (!!(t2 && typeof t2.documentation == "object" && Object(Jo.a)(t2.documentation).value.length > 0) || (!!(e3.documentation && typeof e3.documentation == "string" && Object(Jo.a)(e3.documentation).length > 0) || !!(e3.documentation && typeof e3.documentation == "object" && Object(Jo.a)(e3.documentation.value).length > 0))); } renderParameters(e3, t2, n2) { const [i2, o2] = this.getParameterLabelOffsets(t2, n2), r2 = document.createElement("span"); @@ -68635,8 +68635,8 @@ ${Object(zn.b)(wi)} s2 && t2.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${s2}; }`); }); var Nh = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -68682,8 +68682,8 @@ ${Object(zn.b)(wi)} Object(V.l)(new Ah({id: "closeParameterHints", precondition: bh.Visible, handler: (e2) => e2.cancel(), kbOpts: {weight: 175, kbExpr: H.a.focus, primary: 9, secondary: [1033]}})), Object(V.l)(new Ah({id: "showPrevParameterHint", precondition: K.a.and(bh.Visible, bh.MultipleSignatures), handler: (e2) => e2.previous(), kbOpts: {weight: 175, kbExpr: H.a.focus, primary: 16, secondary: [528], mac: {primary: 16, secondary: [528, 302]}}})), Object(V.l)(new Ah({id: "showNextParameterHint", precondition: K.a.and(bh.Visible, bh.MultipleSignatures), handler: (e2) => e2.next(), kbOpts: {weight: 175, kbExpr: H.a.focus, primary: 18, secondary: [530], mac: {primary: 18, secondary: [530, 300]}}})); n(321); var Rh = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -68729,10 +68729,10 @@ ${Object(zn.b)(wi)} return t2.getContribution(e2.ID); } reinitialize() { - const e3 = this._editor.getModel(), t2 = null !== e3 && this._editor.getOption(73) && et.u.has(e3); + const e3 = this._editor.getModel(), t2 = e3 !== null && this._editor.getOption(73) && et.u.has(e3); if (t2 === this._enabled) return; - if (this._enabled = t2, this.clearRanges(), this._localToDispose.clear(), !t2 || null === e3) + if (this._enabled = t2, this.clearRanges(), this._localToDispose.clear(), !t2 || e3 === null) return; this._languageWordPattern = Pn.a.getWordDefinition(e3.getLanguageIdentifier().id), this._localToDispose.add(e3.onDidChangeLanguageConfiguration(() => { this._languageWordPattern = Pn.a.getWordDefinition(e3.getLanguageIdentifier().id); @@ -68756,7 +68756,7 @@ ${Object(zn.b)(wi)} }}), this.updateRanges(); } _syncRanges(e3) { - if (!this._editor.hasModel() || e3 !== this._currentDecorations || 0 === e3.length) + if (!this._editor.hasModel() || e3 !== this._currentDecorations || e3.length === 0) return; const t2 = this._editor.getModel(), n2 = t2.getDecorationRange(e3[0]); if (!n2 || n2.startLineNumber !== n2.endLineNumber) @@ -68778,10 +68778,10 @@ ${Object(zn.b)(wi)} const l2 = Ye.d(e4, n4); s2 += l2, e4 = e4.substr(l2), n4 = n4.substr(l2); const c2 = Ye.e(e4, n4); - a2 -= c2, e4 = e4.substr(0, e4.length - c2), n4 = n4.substr(0, n4.length - c2), s2 === a2 && 0 === n4.length || o2.push({range: new ge.a(r3.startLineNumber, s2, r3.endLineNumber, a2), text: n4}); + a2 -= c2, e4 = e4.substr(0, e4.length - c2), n4 = n4.substr(0, n4.length - c2), s2 === a2 && n4.length === 0 || o2.push({range: new ge.a(r3.startLineNumber, s2, r3.endLineNumber, a2), text: n4}); } } - if (0 !== o2.length) + if (o2.length !== 0) try { this._ignoreChangeEvent = true; const e4 = this._editor._getViewModel().getPrevEditOperationType(); @@ -68822,11 +68822,11 @@ ${Object(zn.b)(wi)} if (this._currentRequest = null, o2 !== i2.getVersionId()) return; let a2 = []; - (null == s2 ? void 0 : s2.ranges) && (a2 = s2.ranges), this._currentWordPattern = (null == s2 ? void 0 : s2.wordPattern) || this._languageWordPattern; + (s2 == null ? void 0 : s2.ranges) && (a2 = s2.ranges), this._currentWordPattern = (s2 == null ? void 0 : s2.wordPattern) || this._languageWordPattern; let l2 = false; for (let e3 = 0, t4 = a2.length; e3 < t4; e3++) if (ge.a.containsPosition(a2[e3], n2)) { - if (l2 = true, 0 !== e3) { + if (l2 = true, e3 !== 0) { const t5 = a2[e3]; a2.splice(e3, 1), a2.unshift(t5); } @@ -68868,7 +68868,7 @@ ${Object(zn.b)(wi)} return {ranges: e3.ranges, wordPattern: e3.wordPattern || i3.wordPattern}; }, (e3) => { Object(Z.f)(e3); - })), (e3) => !!e3 && G.o(null == e3 ? void 0 : e3.ranges)); + })), (e3) => !!e3 && G.o(e3 == null ? void 0 : e3.ranges)); } Object(V.l)(new Bh({id: "cancelOnTypeRenameInput", precondition: Fh, handler: (e2) => e2.clearRanges(), kbOpts: {kbExpr: H.a.editorTextFocus, weight: 199, primary: 9, secondary: [1033]}})); const Vh = Object(ve.gc)("editor.onTypeRenameBackground", {dark: Nn.a.fromHex("#f00").transparent(0.3), light: Nn.a.fromHex("#f00").transparent(0.3), hc: Nn.a.fromHex("#f00").transparent(0.3)}, U.a("editorOnTypeRenameBackground", "Background color when the editor auto renames on type.")); @@ -68878,8 +68878,8 @@ ${Object(zn.b)(wi)} }), Object(V.p)("_executeRenameOnTypeProvider", (e2, t2) => jh(e2, t2, Xe.a.None)), Object(V.m)(Wh.ID, Wh), Object(V.k)(zh); n(323); var Uh = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -68909,7 +68909,7 @@ ${Object(zn.b)(wi)} const e2 = () => { var e3, t2; const [n2, i2] = this._acceptKeybindings; - this._keybindingService.lookupKeybinding(n2), this._label.innerText = Object(U.a)({key: "label", comment: ['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']}, "{0} to Rename, {1} to Preview", null === (e3 = this._keybindingService.lookupKeybinding(n2)) || void 0 === e3 ? void 0 : e3.getLabel(), null === (t2 = this._keybindingService.lookupKeybinding(i2)) || void 0 === t2 ? void 0 : t2.getLabel()); + this._keybindingService.lookupKeybinding(n2), this._label.innerText = Object(U.a)({key: "label", comment: ['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']}, "{0} to Rename, {1} to Preview", (e3 = this._keybindingService.lookupKeybinding(n2)) === null || e3 === void 0 ? void 0 : e3.getLabel(), (t2 = this._keybindingService.lookupKeybinding(i2)) === null || t2 === void 0 ? void 0 : t2.getLabel()); }; e2(), this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e2)), this._updateFont(), this._updateStyles(this._themeService.getColorTheme()); } @@ -68920,9 +68920,9 @@ ${Object(zn.b)(wi)} if (!this._input || !this._domNode) return; const r2 = e2.getColor(ve.uc); - this._domNode.style.backgroundColor = String(null !== (t2 = e2.getColor(ve.U)) && void 0 !== t2 ? t2 : ""), this._domNode.style.boxShadow = r2 ? " 0 2px 8px " + r2 : "", this._domNode.style.color = String(null !== (n2 = e2.getColor(ve.hb)) && void 0 !== n2 ? n2 : ""), this._input.style.backgroundColor = String(null !== (i2 = e2.getColor(ve.fb)) && void 0 !== i2 ? i2 : ""); + this._domNode.style.backgroundColor = String((t2 = e2.getColor(ve.U)) !== null && t2 !== void 0 ? t2 : ""), this._domNode.style.boxShadow = r2 ? " 0 2px 8px " + r2 : "", this._domNode.style.color = String((n2 = e2.getColor(ve.hb)) !== null && n2 !== void 0 ? n2 : ""), this._input.style.backgroundColor = String((i2 = e2.getColor(ve.fb)) !== null && i2 !== void 0 ? i2 : ""); const s2 = e2.getColor(ve.gb); - this._input.style.borderWidth = s2 ? "1px" : "0px", this._input.style.borderStyle = s2 ? "solid" : "none", this._input.style.borderColor = null !== (o2 = null == s2 ? void 0 : s2.toString()) && void 0 !== o2 ? o2 : "none"; + this._input.style.borderWidth = s2 ? "1px" : "0px", this._input.style.borderStyle = s2 ? "solid" : "none", this._input.style.borderColor = (o2 = s2 == null ? void 0 : s2.toString()) !== null && o2 !== void 0 ? o2 : "none"; } _updateFont() { if (!this._input || !this._label) @@ -68944,7 +68944,7 @@ ${Object(zn.b)(wi)} const s2 = new pe.b(); return new Promise((e3) => { this._currentCancelInput = (t3) => (this._currentAcceptInput = void 0, this._currentCancelInput = void 0, e3(t3), true), this._currentAcceptInput = (n3) => { - 0 !== this._input.value.trim().length && this._input.value !== t2 ? (this._currentAcceptInput = void 0, this._currentCancelInput = void 0, e3({newName: this._input.value, wantsPreview: o2 && n3})) : this.cancelInput(true); + this._input.value.trim().length !== 0 && this._input.value !== t2 ? (this._currentAcceptInput = void 0, this._currentCancelInput = void 0, e3({newName: this._input.value, wantsPreview: o2 && n3})) : this.cancelInput(true); }, r2.onCancellationRequested(() => this.cancelInput(true)), s2.add(this._editor.onDidBlurEditorWidget(() => this.cancelInput(false))), this._show(); }).finally(() => { s2.dispose(), this._hide(); @@ -68961,8 +68961,8 @@ ${Object(zn.b)(wi)} }; $h = Uh([Hh(2, we.c), Hh(3, vt.a), Hh(4, K.b)], $h); var Kh = n(102), Gh = n(56), Yh = n(128), Zh = n(152), Xh = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -69072,11 +69072,11 @@ ${Object(zn.b)(wi)} let i2 = this.editor.getSelection(), o2 = 0, r2 = n2.text.length; ge.a.isEmpty(i2) || ge.a.spansMultipleLines(i2) || !ge.a.containsRange(n2.range, i2) || (o2 = Math.max(0, i2.startColumn - n2.range.startColumn), r2 = Math.min(n2.range.endColumn, i2.endColumn) - n2.range.startColumn); const s2 = this._bulkEditService.hasPreviewHandler() && this._configService.getValue(this.editor.getModel().uri, "editor.rename.enablePreview"), a2 = yield this._renameInputField.value.getInput(n2.range, n2.text, o2, r2, s2, this._cts.token); - if ("boolean" == typeof a2) + if (typeof a2 == "boolean") return void (a2 && this.editor.focus()); this.editor.focus(); const l2 = Object(ue.j)(t2.provideRenameEdits(a2.newName, this._cts.token), this._cts.token).then((e4) => Jh(this, void 0, void 0, function* () { - e4 && this.editor.hasModel() && (e4.rejectReason ? this._notificationService.info(e4.rejectReason) : this._bulkEditService.apply(Ze.b.convert(e4), {editor: this.editor, showPreview: a2.wantsPreview, label: U.a("label", "Renaming '{0}'", null == n2 ? void 0 : n2.text), quotableLabel: U.a("quotableLabel", "Renaming {0}", null == n2 ? void 0 : n2.text)}).then((e5) => { + e4 && this.editor.hasModel() && (e4.rejectReason ? this._notificationService.info(e4.rejectReason) : this._bulkEditService.apply(Ze.b.convert(e4), {editor: this.editor, showPreview: a2.wantsPreview, label: U.a("label", "Renaming '{0}'", n2 == null ? void 0 : n2.text), quotableLabel: U.a("quotableLabel", "Renaming {0}", n2 == null ? void 0 : n2.text)}).then((e5) => { e5.ariaSummary && Object(ne.a)(U.a("aria", "Successfully renamed '{0}' to '{1}'. Summary: {2}", n2.text, a2.newName, e5.ariaSummary)); }).catch((e5) => { this._notificationService.error(U.a("rename.failedApply", "Rename failed to apply edits")), this._logService.error(e5); @@ -69114,10 +69114,10 @@ ${Object(zn.b)(wi)} const iu = V.c.bindToContribution(tu.get); Object(V.l)(new iu({id: "acceptRenameInput", precondition: qh, handler: (e2) => e2.acceptRenameInput(false), kbOpts: {weight: 199, kbExpr: H.a.focus, primary: 3}})), Object(V.l)(new iu({id: "acceptRenameInputWithPreview", precondition: K.a.and(qh, K.a.has("config.editor.rename.enablePreview")), handler: (e2) => e2.acceptRenameInput(true), kbOpts: {weight: 199, kbExpr: H.a.focus, primary: 1027}})), Object(V.l)(new iu({id: "cancelRenameInput", precondition: qh, handler: (e2) => e2.cancelRenameInput(), kbOpts: {weight: 199, kbExpr: H.a.focus, primary: 9, secondary: [1033]}})), Object(V.p)("_executeDocumentRenameProvider", function(e2, t2, ...n2) { const [i2] = n2; - return Object(Jo.b)("string" == typeof i2), function(e3, t3, n3) { + return Object(Jo.b)(typeof i2 == "string"), function(e3, t3, n3) { return Jh(this, void 0, void 0, function* () { const i3 = new eu(e3, t3), o2 = yield i3.resolveRenameLocation(Xe.a.None); - return (null == o2 ? void 0 : o2.rejectReason) ? {edits: [], rejectReason: o2.rejectReason} : i3.provideRenameEdits(n3, Xe.a.None); + return (o2 == null ? void 0 : o2.rejectReason) ? {edits: [], rejectReason: o2.rejectReason} : i3.provideRenameEdits(n3, Xe.a.None); }); }(e2, t2, i2); }), Gh.a.as(Yh.a.Configuration).registerConfiguration({id: "editor", properties: {"editor.rename.enablePreview": {scope: 5, description: U.a("enablePreview", "Enable/disable the ability to preview changes before renaming"), default: true, type: "boolean"}}}); @@ -69196,7 +69196,7 @@ ${Object(zn.b)(wi)} static _bracketsLeftYield(e2, t2, n2, i2, o2, r2) { const s2 = new Map(), a2 = Date.now(); for (; ; ) { - if (t2 >= ru._maxRounds && 0 === o2.size) { + if (t2 >= ru._maxRounds && o2.size === 0) { e2(); break; } @@ -69220,7 +69220,7 @@ ${Object(zn.b)(wi)} let e4 = o2.get(c2); if (e4) { let t3 = e4.shift(); - 0 === e4.size && o2.delete(c2); + e4.size === 0 && o2.delete(c2); const i3 = ge.a.fromPositions(l2.range.getEndPosition(), t3.getStartPosition()), s3 = ge.a.fromPositions(l2.range.getStartPosition(), t3.getEndPosition()); r2.push({range: i3}), r2.push({range: s3}), ru._addBracketLeading(n2, s3, r2); } @@ -69236,7 +69236,7 @@ ${Object(zn.b)(wi)} if (t2.startLineNumber === t2.endLineNumber) return; const i2 = t2.startLineNumber, o2 = e2.getLineFirstNonWhitespaceColumn(i2); - 0 !== o2 && o2 !== t2.startColumn && (n2.push({range: ge.a.fromPositions(new me.a(i2, o2), t2.getEndPosition())}), n2.push({range: ge.a.fromPositions(new me.a(i2, 1), t2.getEndPosition())})); + o2 !== 0 && o2 !== t2.startColumn && (n2.push({range: ge.a.fromPositions(new me.a(i2, o2), t2.getEndPosition())}), n2.push({range: ge.a.fromPositions(new me.a(i2, 1), t2.getEndPosition())})); const r2 = i2 - 1; if (r2 > 0) { const i3 = e2.getLineFirstNonWhitespaceColumn(r2); @@ -69336,7 +69336,7 @@ ${Object(zn.b)(wi)} Ft.a.registerCommandAlias("editor.action.smartSelect.grow", "editor.action.smartSelect.expand"); function du(e2, t2, n2) { const i2 = et.x.all(e2); - 1 === i2.length && i2.unshift(new ru()); + i2.length === 1 && i2.unshift(new ru()); let o2 = [], r2 = []; for (const s2 of i2) o2.push(Promise.resolve(s2.provideSelectionRanges(e2, t2, n2)).then((e3) => { @@ -69348,7 +69348,7 @@ ${Object(zn.b)(wi)} } }, Z.f)); return Promise.all(o2).then(() => r2.map((t3) => { - if (0 === t3.length) + if (t3.length === 0) return []; t3.sort((e3, t4) => me.a.isBefore(e3.getStartPosition(), t4.getStartPosition()) ? 1 : me.a.isBefore(t4.getStartPosition(), e3.getStartPosition()) || me.a.isBefore(e3.getEndPosition(), t4.getEndPosition()) ? -1 : me.a.isBefore(t4.getEndPosition(), e3.getEndPosition()) ? 1 : 0); let n3, i3 = []; @@ -69392,7 +69392,7 @@ ${Object(zn.b)(wi)} let {word: o2, startColumn: r2} = i2, s2 = n2.column - r2, a2 = s2, l2 = s2, c2 = 0; for (; a2 >= 0; a2--) { let e3 = o2.charCodeAt(a2); - if (a2 !== s2 && (95 === e3 || 45 === e3)) + if (a2 !== s2 && (e3 === 95 || e3 === 45)) break; if (Object(Ye.H)(e3) && Object(Ye.I)(c2)) break; @@ -69402,7 +69402,7 @@ ${Object(zn.b)(wi)} let e3 = o2.charCodeAt(l2); if (Object(Ye.I)(e3) && Object(Ye.H)(c2)) break; - if (95 === e3 || 45 === e3) + if (e3 === 95 || e3 === 45) break; c2 = e3; } @@ -69413,7 +69413,7 @@ ${Object(zn.b)(wi)} i2 && e2.push({range: new ge.a(n2.lineNumber, i2.startColumn, n2.lineNumber, i2.endColumn)}); } _addWhitespaceLine(e2, t2, n2) { - t2.getLineLength(n2.lineNumber) > 0 && 0 === t2.getLineFirstNonWhitespaceColumn(n2.lineNumber) && 0 === t2.getLineLastNonWhitespaceColumn(n2.lineNumber) && e2.push({range: new ge.a(n2.lineNumber, 1, n2.lineNumber, t2.getLineMaxColumn(n2.lineNumber))}); + t2.getLineLength(n2.lineNumber) > 0 && t2.getLineFirstNonWhitespaceColumn(n2.lineNumber) === 0 && t2.getLineLastNonWhitespaceColumn(n2.lineNumber) === 0 && e2.push({range: new ge.a(n2.lineNumber, 1, n2.lineNumber, t2.getLineMaxColumn(n2.lineNumber))}); } }()), Object(V.q)("_executeSelectionRangeProvider", function(e2, ...t2) { const [n2] = t2; @@ -69427,7 +69427,7 @@ ${Object(zn.b)(wi)} return e2 >= 48 && e2 <= 57; } static isVariableCharacter(e2) { - return 95 === e2 || e2 >= 97 && e2 <= 122 || e2 >= 65 && e2 <= 90; + return e2 === 95 || e2 >= 97 && e2 <= 122 || e2 >= 65 && e2 <= 90; } text(e2) { this.value = e2, this.pos = 0; @@ -69439,7 +69439,7 @@ ${Object(zn.b)(wi)} if (this.pos >= this.value.length) return {type: 14, pos: this.pos, len: 0}; let e2, t2 = this.pos, n2 = 0, i2 = this.value.charCodeAt(t2); - if (e2 = hu._table[i2], "number" == typeof e2) + if (e2 = hu._table[i2], typeof e2 == "number") return this.pos += 1, {type: e2, pos: t2, len: 1}; if (hu.isDigitCharacter(i2)) { e2 = 8; @@ -69458,7 +69458,7 @@ ${Object(zn.b)(wi)} e2 = 10; do { n2 += 1, i2 = this.value.charCodeAt(t2 + n2); - } while (!isNaN(i2) && void 0 === hu._table[i2] && !hu.isDigitCharacter(i2) && !hu.isVariableCharacter(i2)); + } while (!isNaN(i2) && hu._table[i2] === void 0 && !hu.isDigitCharacter(i2) && !hu.isVariableCharacter(i2)); return this.pos += n2, {type: e2, pos: t2, len: n2}; } } @@ -69521,10 +69521,10 @@ ${Object(zn.b)(wi)} return e2.index === t2.index ? 0 : e2.isFinalTabstop ? 1 : t2.isFinalTabstop || e2.index < t2.index ? -1 : e2.index > t2.index ? 1 : 0; } get isFinalTabstop() { - return 0 === this.index; + return this.index === 0; } get choice() { - return 1 === this._children.length && this._children[0] instanceof fu ? this._children[0] : void 0; + return this._children.length === 1 && this._children[0] instanceof fu ? this._children[0] : void 0; } clone() { let e2 = new gu(this.index); @@ -69583,7 +69583,7 @@ ${Object(zn.b)(wi)} super(), this.index = e2, this.shorthandName = t2, this.ifValue = n2, this.elseValue = i2; } resolve(e2) { - return "upcase" === this.shorthandName ? e2 ? e2.toLocaleUpperCase() : "" : "downcase" === this.shorthandName ? e2 ? e2.toLocaleLowerCase() : "" : "capitalize" === this.shorthandName ? e2 ? e2[0].toLocaleUpperCase() + e2.substr(1) : "" : "pascalcase" === this.shorthandName ? e2 ? this._toPascalCase(e2) : "" : Boolean(e2) && "string" == typeof this.ifValue ? this.ifValue : Boolean(e2) || "string" != typeof this.elseValue ? e2 || "" : this.elseValue; + return this.shorthandName === "upcase" ? e2 ? e2.toLocaleUpperCase() : "" : this.shorthandName === "downcase" ? e2 ? e2.toLocaleLowerCase() : "" : this.shorthandName === "capitalize" ? e2 ? e2[0].toLocaleUpperCase() + e2.substr(1) : "" : this.shorthandName === "pascalcase" ? e2 ? this._toPascalCase(e2) : "" : Boolean(e2) && typeof this.ifValue == "string" ? this.ifValue : Boolean(e2) || typeof this.elseValue != "string" ? e2 || "" : this.elseValue; } _toPascalCase(e2) { const t2 = e2.match(/[a-z]+/gi); @@ -69601,7 +69601,7 @@ ${Object(zn.b)(wi)} } resolve(e2) { let t2 = e2.resolve(this); - return this.transform && (t2 = this.transform.resolve(t2 || "")), void 0 !== t2 && (this._children = [new pu(t2)], true); + return this.transform && (t2 = this.transform.resolve(t2 || "")), t2 !== void 0 && (this._children = [new pu(t2)], true); } clone() { const e2 = new vu(this.name); @@ -69693,7 +69693,7 @@ ${Object(zn.b)(wi)} return n2 || (n2 = s2 > 0 && t2), !o2.has(0) && n2 && i2.appendChild(new gu(0)), i2; } _accept(e2, t2) { - if (void 0 === e2 || this._token.type === e2) { + if (e2 === void 0 || this._token.type === e2) { let e3 = !t2 || this._scanner.tokenText(this._token); return this._token = this._scanner.next(), e3; } @@ -69705,11 +69705,11 @@ ${Object(zn.b)(wi)} _until(e2) { const t2 = this._token; for (; this._token.type !== e2; ) { - if (14 === this._token.type) + if (this._token.type === 14) return false; - if (5 === this._token.type) { + if (this._token.type === 5) { const e3 = this._scanner.next(); - if (0 !== e3.type && 4 !== e3.type && 5 !== e3.type) + if (e3.type !== 0 && e3.type !== 4 && e3.type !== 5) return false; } this._token = this._scanner.next(); @@ -69761,13 +69761,13 @@ ${Object(zn.b)(wi)} } _parseChoiceElement(e2) { const t2 = this._token, n2 = []; - for (; 2 !== this._token.type && 7 !== this._token.type; ) { + for (; this._token.type !== 2 && this._token.type !== 7; ) { let e3; if (e3 = (e3 = this._accept(5, true)) ? this._accept(2, true) || this._accept(7, true) || this._accept(5, true) || e3 : this._accept(void 0, true), !e3) return this._backTo(t2), false; n2.push(e3); } - return 0 === n2.length ? (this._backTo(t2), false) : (e2.appendChild(new pu(n2.join(""))), true); + return n2.length === 0 ? (this._backTo(t2), false) : (e2.appendChild(new pu(n2.join(""))), true); } _parseComplexVariable(e2) { let t2; @@ -69791,7 +69791,7 @@ ${Object(zn.b)(wi)} if (e3 = this._accept(5, true)) e3 = this._accept(6, true) || e3, n2 += e3; else { - if (14 === this._token.type) + if (this._token.type === 14) return false; n2 += this._accept(void 0, true); } @@ -69804,7 +69804,7 @@ ${Object(zn.b)(wi)} return false; } for (; !this._accept(4); ) { - if (14 === this._token.type) + if (this._token.type === 14) return false; i2 += this._accept(void 0, true); } @@ -69857,7 +69857,7 @@ ${Object(zn.b)(wi)} return this._backTo(t2), false; } _parseAnything(e2) { - return 14 !== this._token.type && (e2.appendChild(new pu(this._scanner.tokenText(this._token))), this._accept(void 0), true); + return this._token.type !== 14 && (e2.appendChild(new pu(this._scanner.tokenText(this._token))), this._accept(void 0), true); } } var xu = function(e2, t2, n2, i2) { @@ -69888,7 +69888,7 @@ ${Object(zn.b)(wi)} const Su = {Visible: new K.c("suggestWidgetVisible", false), DetailsVisible: new K.c("suggestWidgetDetailsVisible", false), MultipleSuggestions: new K.c("suggestWidgetMultipleSuggestions", false), MakesTextEdit: new K.c("suggestionMakesTextEdit", true), AcceptSuggestionsOnEnter: new K.c("acceptSuggestionOnEnter", true), HasInsertAndReplaceRange: new K.c("suggestionHasInsertAndReplaceRange", false), CanResolve: new K.c("suggestionCanResolve", false)}, ku = new ye.b("suggestWidgetStatusBar"); class Eu { constructor(e2, t2, n2, i2) { - this.position = e2, this.completion = t2, this.container = n2, this.provider = i2, this.isInvalid = false, this.score = va.a.Default, this.distance = 0, this.textLabel = "string" == typeof t2.label ? t2.label : t2.label.name, this.labelLow = this.textLabel.toLowerCase(), this.isInvalid = !this.textLabel, this.sortTextLow = t2.sortText && t2.sortText.toLowerCase(), this.filterTextLow = t2.filterText && t2.filterText.toLowerCase(), ge.a.isIRange(t2.range) ? (this.editStart = new me.a(t2.range.startLineNumber, t2.range.startColumn), this.editInsertEnd = new me.a(t2.range.endLineNumber, t2.range.endColumn), this.editReplaceEnd = new me.a(t2.range.endLineNumber, t2.range.endColumn), this.isInvalid = this.isInvalid || ge.a.spansMultipleLines(t2.range) || t2.range.startLineNumber !== e2.lineNumber) : (this.editStart = new me.a(t2.range.insert.startLineNumber, t2.range.insert.startColumn), this.editInsertEnd = new me.a(t2.range.insert.endLineNumber, t2.range.insert.endColumn), this.editReplaceEnd = new me.a(t2.range.replace.endLineNumber, t2.range.replace.endColumn), this.isInvalid = this.isInvalid || ge.a.spansMultipleLines(t2.range.insert) || ge.a.spansMultipleLines(t2.range.replace) || t2.range.insert.startLineNumber !== e2.lineNumber || t2.range.replace.startLineNumber !== e2.lineNumber || t2.range.insert.startColumn !== t2.range.replace.startColumn), "function" != typeof i2.resolveCompletionItem && (this._resolveCache = Promise.resolve(), this._isResolved = true); + this.position = e2, this.completion = t2, this.container = n2, this.provider = i2, this.isInvalid = false, this.score = va.a.Default, this.distance = 0, this.textLabel = typeof t2.label == "string" ? t2.label : t2.label.name, this.labelLow = this.textLabel.toLowerCase(), this.isInvalid = !this.textLabel, this.sortTextLow = t2.sortText && t2.sortText.toLowerCase(), this.filterTextLow = t2.filterText && t2.filterText.toLowerCase(), ge.a.isIRange(t2.range) ? (this.editStart = new me.a(t2.range.startLineNumber, t2.range.startColumn), this.editInsertEnd = new me.a(t2.range.endLineNumber, t2.range.endColumn), this.editReplaceEnd = new me.a(t2.range.endLineNumber, t2.range.endColumn), this.isInvalid = this.isInvalid || ge.a.spansMultipleLines(t2.range) || t2.range.startLineNumber !== e2.lineNumber) : (this.editStart = new me.a(t2.range.insert.startLineNumber, t2.range.insert.startColumn), this.editInsertEnd = new me.a(t2.range.insert.endLineNumber, t2.range.insert.endColumn), this.editReplaceEnd = new me.a(t2.range.replace.endLineNumber, t2.range.replace.endColumn), this.isInvalid = this.isInvalid || ge.a.spansMultipleLines(t2.range.insert) || ge.a.spansMultipleLines(t2.range.replace) || t2.range.insert.startLineNumber !== e2.lineNumber || t2.range.replace.startLineNumber !== e2.lineNumber || t2.range.insert.startColumn !== t2.range.replace.startColumn), typeof i2.resolveCompletionItem != "function" && (this._resolveCache = Promise.resolve(), this._isResolved = true); } get isResolved() { return !!this._isResolved; @@ -69928,7 +69928,7 @@ ${Object(zn.b)(wi)} const h2 = (e3, i3) => { if (i3) { for (let o3 of i3.suggestions) - n2.kindFilter.has(o3.kind) || (o3.range || (o3.range = a2), o3.sortText || (o3.sortText = "string" == typeof o3.label ? o3.label : o3.label.name), !d2 && o3.insertTextRules && 4 & o3.insertTextRules && (d2 = Cu.guessNeedsClipboard(o3.insertText)), l2.push(new Eu(t2, o3, i3, e3))); + n2.kindFilter.has(o3.kind) || (o3.range || (o3.range = a2), o3.sortText || (o3.sortText = typeof o3.label == "string" ? o3.label : o3.label.name), !d2 && o3.insertTextRules && 4 & o3.insertTextRules && (d2 = Cu.guessNeedsClipboard(o3.insertText)), l2.push(new Eu(t2, o3, i3, e3))); Object(pe.g)(i3) && c2.add(i3); } }, u2 = (() => xu(this, void 0, void 0, function* () { @@ -69964,17 +69964,17 @@ ${Object(zn.b)(wi)} } Ou.set(0, function(e2, t2) { if (e2.completion.kind !== t2.completion.kind) { - if (27 === e2.completion.kind) + if (e2.completion.kind === 27) return -1; - if (27 === t2.completion.kind) + if (t2.completion.kind === 27) return 1; } return Iu(e2, t2); }), Ou.set(2, function(e2, t2) { if (e2.completion.kind !== t2.completion.kind) { - if (27 === e2.completion.kind) + if (e2.completion.kind === 27) return 1; - if (27 === t2.completion.kind) + if (t2.completion.kind === 27) return -1; } return Iu(e2, t2); @@ -70010,7 +70010,7 @@ ${Object(zn.b)(wi)} resolve(e2) { for (const t2 of this._delegates) { let n2 = t2.resolve(e2); - if (void 0 !== n2) + if (n2 !== void 0) return n2; } } @@ -70021,7 +70021,7 @@ ${Object(zn.b)(wi)} } resolve(e2) { const {name: t2} = e2; - if ("SELECTION" === t2 || "TM_SELECTED_TEXT" === t2) { + if (t2 === "SELECTION" || t2 === "TM_SELECTED_TEXT") { let t3 = this._model.getValueInRange(this._selection) || void 0, n2 = this._selection.startLineNumber !== this._selection.endLineNumber; if (!t3 && this._overtypingCapturer) { const e3 = this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx); @@ -70036,13 +70036,13 @@ ${Object(zn.b)(wi)} } return t3; } - if ("TM_CURRENT_LINE" === t2) + if (t2 === "TM_CURRENT_LINE") return this._model.getLineContent(this._selection.positionLineNumber); - if ("TM_CURRENT_WORD" === t2) { + if (t2 === "TM_CURRENT_WORD") { const e3 = this._model.getWordAtPosition({lineNumber: this._selection.positionLineNumber, column: this._selection.positionColumn}); return e3 && e3.word || void 0; } - return "TM_LINE_INDEX" === t2 ? String(this._selection.positionLineNumber - 1) : "TM_LINE_NUMBER" === t2 ? String(this._selection.positionLineNumber) : void 0; + return t2 === "TM_LINE_INDEX" ? String(this._selection.positionLineNumber - 1) : t2 === "TM_LINE_NUMBER" ? String(this._selection.positionLineNumber) : void 0; } } class Wu { @@ -70051,13 +70051,13 @@ ${Object(zn.b)(wi)} } resolve(e2) { const {name: t2} = e2; - if ("TM_FILENAME" === t2) + if (t2 === "TM_FILENAME") return pa.a(this._model.uri.fsPath); - if ("TM_FILENAME_BASE" === t2) { + if (t2 === "TM_FILENAME_BASE") { const e3 = pa.a(this._model.uri.fsPath), t3 = e3.lastIndexOf("."); return t3 <= 0 ? e3 : e3.slice(0, t3); } - return "TM_DIRECTORY" === t2 && this._labelService ? "." === pa.b(this._model.uri.fsPath) ? "" : this._labelService.getUriLabel(Object(jt.d)(this._model.uri)) : "TM_FILEPATH" === t2 && this._labelService ? this._labelService.getUriLabel(this._model.uri) : void 0; + return t2 === "TM_DIRECTORY" && this._labelService ? pa.b(this._model.uri.fsPath) === "." ? "" : this._labelService.getUriLabel(Object(jt.d)(this._model.uri)) : t2 === "TM_FILEPATH" && this._labelService ? this._labelService.getUriLabel(this._model.uri) : void 0; } } class zu { @@ -70065,7 +70065,7 @@ ${Object(zn.b)(wi)} this._readClipboardText = e2, this._selectionIdx = t2, this._selectionCount = n2, this._spread = i2; } resolve(e2) { - if ("CLIPBOARD" !== e2.name) + if (e2.name !== "CLIPBOARD") return; const t2 = this._readClipboardText(); if (t2) { @@ -70085,13 +70085,13 @@ ${Object(zn.b)(wi)} resolve(e2) { const {name: t2} = e2, n2 = this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber, this._selection.selectionStartColumn), i2 = Pn.a.getComments(n2); if (i2) - return "LINE_COMMENT" === t2 ? i2.lineCommentToken || void 0 : "BLOCK_COMMENT_START" === t2 ? i2.blockCommentStartToken || void 0 : "BLOCK_COMMENT_END" === t2 && i2.blockCommentEndToken || void 0; + return t2 === "LINE_COMMENT" ? i2.lineCommentToken || void 0 : t2 === "BLOCK_COMMENT_START" ? i2.blockCommentStartToken || void 0 : t2 === "BLOCK_COMMENT_END" && i2.blockCommentEndToken || void 0; } } class ju { resolve(e2) { const {name: t2} = e2; - return "CURRENT_YEAR" === t2 ? String(new Date().getFullYear()) : "CURRENT_YEAR_SHORT" === t2 ? String(new Date().getFullYear()).slice(-2) : "CURRENT_MONTH" === t2 ? String(new Date().getMonth().valueOf() + 1).padStart(2, "0") : "CURRENT_DATE" === t2 ? String(new Date().getDate().valueOf()).padStart(2, "0") : "CURRENT_HOUR" === t2 ? String(new Date().getHours().valueOf()).padStart(2, "0") : "CURRENT_MINUTE" === t2 ? String(new Date().getMinutes().valueOf()).padStart(2, "0") : "CURRENT_SECOND" === t2 ? String(new Date().getSeconds().valueOf()).padStart(2, "0") : "CURRENT_DAY_NAME" === t2 ? ju.dayNames[new Date().getDay()] : "CURRENT_DAY_NAME_SHORT" === t2 ? ju.dayNamesShort[new Date().getDay()] : "CURRENT_MONTH_NAME" === t2 ? ju.monthNames[new Date().getMonth()] : "CURRENT_MONTH_NAME_SHORT" === t2 ? ju.monthNamesShort[new Date().getMonth()] : "CURRENT_SECONDS_UNIX" === t2 ? String(Math.floor(Date.now() / 1e3)) : void 0; + return t2 === "CURRENT_YEAR" ? String(new Date().getFullYear()) : t2 === "CURRENT_YEAR_SHORT" ? String(new Date().getFullYear()).slice(-2) : t2 === "CURRENT_MONTH" ? String(new Date().getMonth().valueOf() + 1).padStart(2, "0") : t2 === "CURRENT_DATE" ? String(new Date().getDate().valueOf()).padStart(2, "0") : t2 === "CURRENT_HOUR" ? String(new Date().getHours().valueOf()).padStart(2, "0") : t2 === "CURRENT_MINUTE" ? String(new Date().getMinutes().valueOf()).padStart(2, "0") : t2 === "CURRENT_SECOND" ? String(new Date().getSeconds().valueOf()).padStart(2, "0") : t2 === "CURRENT_DAY_NAME" ? ju.dayNames[new Date().getDay()] : t2 === "CURRENT_DAY_NAME_SHORT" ? ju.dayNamesShort[new Date().getDay()] : t2 === "CURRENT_MONTH_NAME" ? ju.monthNames[new Date().getMonth()] : t2 === "CURRENT_MONTH_NAME_SHORT" ? ju.monthNamesShort[new Date().getMonth()] : t2 === "CURRENT_SECONDS_UNIX" ? String(Math.floor(Date.now() / 1e3)) : void 0; } } ju.dayNames = [U.a("Sunday", "Sunday"), U.a("Monday", "Monday"), U.a("Tuesday", "Tuesday"), U.a("Wednesday", "Wednesday"), U.a("Thursday", "Thursday"), U.a("Friday", "Friday"), U.a("Saturday", "Saturday")], ju.dayNamesShort = [U.a("SundayShort", "Sun"), U.a("MondayShort", "Mon"), U.a("TuesdayShort", "Tue"), U.a("WednesdayShort", "Wed"), U.a("ThursdayShort", "Thu"), U.a("FridayShort", "Fri"), U.a("SaturdayShort", "Sat")], ju.monthNames = [U.a("January", "January"), U.a("February", "February"), U.a("March", "March"), U.a("April", "April"), U.a("May", "May"), U.a("June", "June"), U.a("July", "July"), U.a("August", "August"), U.a("September", "September"), U.a("October", "October"), U.a("November", "November"), U.a("December", "December")], ju.monthNamesShort = [U.a("JanuaryShort", "Jan"), U.a("FebruaryShort", "Feb"), U.a("MarchShort", "Mar"), U.a("AprilShort", "Apr"), U.a("MayShort", "May"), U.a("JuneShort", "Jun"), U.a("JulyShort", "Jul"), U.a("AugustShort", "Aug"), U.a("SeptemberShort", "Sep"), U.a("OctoberShort", "Oct"), U.a("NovemberShort", "Nov"), U.a("DecemberShort", "Dec")]; @@ -70103,9 +70103,9 @@ ${Object(zn.b)(wi)} if (!this._workspaceService) return; const t2 = function(e3) { - return e3.configuration ? {configPath: e3.configuration, id: e3.id} : 1 === e3.folders.length ? e3.folders[0].uri : void 0; + return e3.configuration ? {configPath: e3.configuration, id: e3.id} : e3.folders.length === 1 ? e3.folders[0].uri : void 0; }(this._workspaceService.getWorkspace()); - return t2 ? "WORKSPACE_NAME" === e2.name ? this._resolveWorkspaceName(t2) : "WORKSPACE_FOLDER" === e2.name ? this._resoveWorkspacePath(t2) : void 0 : void 0; + return t2 ? e2.name === "WORKSPACE_NAME" ? this._resolveWorkspaceName(t2) : e2.name === "WORKSPACE_FOLDER" ? this._resoveWorkspacePath(t2) : void 0 : void 0; } _resolveWorkspaceName(e2) { if (Mu(e2)) @@ -70123,7 +70123,7 @@ ${Object(zn.b)(wi)} class Uu { resolve(e2) { const {name: t2} = e2; - return "RANDOM" === t2 ? Math.random().toString().slice(-6) : "RANDOM_HEX" === t2 ? Math.random().toString(16).slice(-6) : void 0; + return t2 === "RANDOM" ? Math.random().toString().slice(-6) : t2 === "RANDOM_HEX" ? Math.random().toString(16).slice(-6) : void 0; } } Object(we.g)((e2, t2) => { @@ -70165,7 +70165,7 @@ ${Object(zn.b)(wi)} e3.length > 0 && this._editor.executeEdits("snippet.placeholderTransform", e3); } let t2 = false; - true === e2 && this._placeholderGroupsIdx < this._placeholderGroups.length - 1 ? (this._placeholderGroupsIdx += 1, t2 = true) : false === e2 && this._placeholderGroupsIdx > 0 && (this._placeholderGroupsIdx -= 1, t2 = true); + e2 === true && this._placeholderGroupsIdx < this._placeholderGroups.length - 1 ? (this._placeholderGroupsIdx += 1, t2 = true) : e2 === false && this._placeholderGroupsIdx > 0 && (this._placeholderGroupsIdx -= 1, t2 = true); const n2 = this._editor.getModel().changeDecorations((e3) => { const n3 = new Set(), i2 = []; for (const o2 of this._placeholderGroups[this._placeholderGroupsIdx]) { @@ -70180,7 +70180,7 @@ ${Object(zn.b)(wi)} n3.has(t3) || e3.changeDecorationOptions(i3, t3.isFinalTabstop ? Hu._decor.inactiveFinal : Hu._decor.inactive); return i2; }); - return t2 ? this.move(e2) : null != n2 ? n2 : []; + return t2 ? this.move(e2) : n2 != null ? n2 : []; } _hasPlaceholderBeenCollapsed(e2) { let t2 = e2; @@ -70195,7 +70195,7 @@ ${Object(zn.b)(wi)} return false; } get isAtFirstPlaceholder() { - return this._placeholderGroupsIdx <= 0 || 0 === this._placeholderGroups.length; + return this._placeholderGroupsIdx <= 0 || this._placeholderGroups.length === 0; } get isAtLastPlaceholder() { return this._placeholderGroupsIdx === this._placeholderGroups.length - 1; @@ -70270,7 +70270,7 @@ ${Object(zn.b)(wi)} }); } static adjustSelection(e2, t2, n2, i2) { - if (0 !== n2 || 0 !== i2) { + if (n2 !== 0 || i2 !== 0) { const {positionLineNumber: o2, positionColumn: r2} = t2, s2 = r2 - n2, a2 = r2 + i2, l2 = e2.validateRange({startLineNumber: o2, startColumn: s2, endLineNumber: o2, endColumn: a2}); t2 = q.a.createWithDirection(l2.startLineNumber, l2.startColumn, l2.endLineNumber, l2.endColumn, t2.getDirection()); } @@ -70287,7 +70287,7 @@ ${Object(zn.b)(wi)} let w2 = $u.adjustSelection(d2, s3, n2, 0), y2 = $u.adjustSelection(d2, s3, 0, i2); g2 !== d2.getValueInRange(w2) && (w2 = s3), f2 !== d2.getValueInRange(y2) && (y2 = s3); const C2 = s3.setStartPosition(w2.startLineNumber, w2.startColumn).setEndPosition(y2.endLineNumber, y2.endColumn), x2 = new Cu().parse(t2, true, o2), S2 = C2.getStartPosition(); - $u.adjustWhitespace(d2, S2, x2, r2 || v2 > 0 && b2 !== d2.getLineFirstNonWhitespaceColumn(s3.positionLineNumber), true), x2.resolveVariables(new Pu([u2, new zu(p2, v2, _2.length, "spread" === e2.getOption(62)), new Fu(d2, s3, v2, a2), new Bu(d2, s3), new ju(), new Vu(h2), new Uu()])); + $u.adjustWhitespace(d2, S2, x2, r2 || v2 > 0 && b2 !== d2.getLineFirstNonWhitespaceColumn(s3.positionLineNumber), true), x2.resolveVariables(new Pu([u2, new zu(p2, v2, _2.length, e2.getOption(62) === "spread"), new Fu(d2, s3, v2, a2), new Bu(d2, s3), new ju(), new Vu(h2), new Uu()])); const k2 = d2.getOffsetAt(S2) + m2; m2 += x2.toString().length - d2.getValueLengthInRange(C2), l2[v2] = Mn.a.replace(C2, x2.toString()), l2[v2].identifier = {major: v2, minor: 0}, c2[v2] = new Hu(e2, x2, k2); } @@ -70313,7 +70313,7 @@ ${Object(zn.b)(wi)} this._editor.executeEdits("snippet", n2, (e3) => { for (const e4 of this._snippets) e4.merge(i2); - return console.assert(0 === i2.length), this._snippets[0].hasPlaceholder ? this._move(void 0) : e3.filter((e4) => !!e4.identifier).map((e4) => q.a.fromPositions(e4.range.getEndPosition())); + return console.assert(i2.length === 0), this._snippets[0].hasPlaceholder ? this._move(void 0) : e3.filter((e4) => !!e4.identifier).map((e4) => q.a.fromPositions(e4.range.getEndPosition())); }); } next() { @@ -70353,7 +70353,7 @@ ${Object(zn.b)(wi)} let t2 = new Map(); for (const n2 of this._snippets) { const i2 = n2.computePossibleSelections(); - if (0 === t2.size) + if (t2.size === 0) for (const [n3, o2] of i2) { o2.sort(ge.a.compareRangesUsingStarts); for (const i3 of e2) @@ -70362,7 +70362,7 @@ ${Object(zn.b)(wi)} break; } } - if (0 === t2.size) + if (t2.size === 0) return false; t2.forEach((e3, t3) => { e3.push(...i2.get(t3)); @@ -70380,8 +70380,8 @@ ${Object(zn.b)(wi)} } } var Ku = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -70405,7 +70405,7 @@ ${Object(zn.b)(wi)} } insert(e3, t2) { try { - this._doInsert(e3, void 0 === t2 ? Yu : Object.assign(Object.assign({}, Yu), t2)); + this._doInsert(e3, t2 === void 0 ? Yu : Object.assign(Object.assign({}, Yu), t2)); } catch (t3) { this.cancel(), this._logService.error(t3), this._logService.error("snippet_error"), this._logService.error("insert_template=", e3), this._logService.error("existing_template=", this._session ? this._session._logInfo() : "<no_session>"); } @@ -70461,8 +70461,8 @@ ${Object(zn.b)(wi)} const Xu = V.c.bindToContribution(Zu.get); Object(V.l)(new Xu({id: "jumpToNextSnippetPlaceholder", precondition: K.a.and(Zu.InSnippetMode, Zu.HasNextTabstop), handler: (e2) => e2.next(), kbOpts: {weight: 130, kbExpr: H.a.editorTextFocus, primary: 2}})), Object(V.l)(new Xu({id: "jumpToPrevSnippetPlaceholder", precondition: K.a.and(Zu.InSnippetMode, Zu.HasPrevTabstop), handler: (e2) => e2.prev(), kbOpts: {weight: 130, kbExpr: H.a.editorTextFocus, primary: 1026}})), Object(V.l)(new Xu({id: "leaveSnippet", precondition: Zu.InSnippetMode, handler: (e2) => e2.cancel(true), kbOpts: {weight: 130, kbExpr: H.a.editorTextFocus, primary: 9, secondary: [1033]}})), Object(V.l)(new Xu({id: "acceptSnippet", precondition: Zu.InSnippetMode, handler: (e2) => e2.finish()})); var Qu = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -70478,7 +70478,7 @@ ${Object(zn.b)(wi)} this.name = e2; } select(e2, t2, n2) { - if (0 === n2.length) + if (n2.length === 0) return 0; let i2 = n2[0].score[0]; for (let e3 = 0; e3 < n2.length; e3++) { @@ -70519,8 +70519,8 @@ ${Object(zn.b)(wi)} } _withStrategy(t2, n2) { var i2, o2; - const r2 = this._configService.getValue("editor.suggestSelection", {overrideIdentifier: null === (i2 = this._modeService.getLanguageIdentifier(t2.getLanguageIdAtPosition(n2.lineNumber, n2.column))) || void 0 === i2 ? void 0 : i2.language, resource: t2.uri}); - if ((null === (o2 = this._strategy) || void 0 === o2 ? void 0 : o2.name) !== r2) { + const r2 = this._configService.getValue("editor.suggestSelection", {overrideIdentifier: (i2 = this._modeService.getLanguageIdentifier(t2.getLanguageIdAtPosition(n2.lineNumber, n2.column))) === null || i2 === void 0 ? void 0 : i2.language, resource: t2.uri}); + if (((o2 = this._strategy) === null || o2 === void 0 ? void 0 : o2.name) !== r2) { this._saveState(); const t3 = e2._strategyCtors.get(r2) || tp; this._strategy = new t3(); @@ -70568,7 +70568,7 @@ ${Object(zn.b)(wi)} if (this._trie.clear(), e2.length > 0) { this._seq = e2[0][1].touch + 1; for (const [t2, n2] of e2) - n2.type = "number" == typeof n2.type ? n2.type : Object(et.E)(n2.type), this._trie.set(t2, n2); + n2.type = typeof n2.type == "number" ? n2.type : Object(et.E)(n2.type), this._trie.set(t2, n2); } } }], ["recentlyUsed", class extends ep { @@ -70580,7 +70580,7 @@ ${Object(zn.b)(wi)} this._cache.set(o2, {touch: this._seq++, type: n2.completion.kind, insertText: n2.completion.insertText}); } select(e2, t2, n2) { - if (0 === n2.length) + if (n2.length === 0) return 0; const i2 = e2.getLineContent(t2.lineNumber).substr(t2.column - 10, t2.column - 1); if (/\s$/.test(i2)) @@ -70588,10 +70588,10 @@ ${Object(zn.b)(wi)} let o2 = n2[0].score[0], r2 = -1, s2 = -1, a2 = -1; for (let t3 = 0; t3 < n2.length && n2[t3].score[0] === o2; t3++) { const i3 = `${e2.getLanguageIdentifier().language}/${n2[t3].completion.label}`, o3 = this._cache.peek(i3); - if (o3 && o3.touch > a2 && o3.type === n2[t3].completion.kind && o3.insertText === n2[t3].completion.insertText && (a2 = o3.touch, s2 = t3), n2[t3].completion.preselect && -1 === r2) + if (o3 && o3.touch > a2 && o3.type === n2[t3].completion.kind && o3.insertText === n2[t3].completion.insertText && (a2 = o3.touch, s2 = t3), n2[t3].completion.preselect && r2 === -1) return t3; } - return -1 !== s2 ? s2 : -1 !== r2 ? r2 : 0; + return s2 !== -1 ? s2 : r2 !== -1 ? r2 : 0; } toJSON() { return this._cache.toJSON(); @@ -70599,15 +70599,15 @@ ${Object(zn.b)(wi)} fromJSON(e2) { this._cache.clear(); for (const [t2, n2] of e2) - n2.touch = 0, n2.type = "number" == typeof n2.type ? n2.type : Object(et.E)(n2.type), this._cache.set(t2, n2); + n2.touch = 0, n2.type = typeof n2.type == "number" ? n2.type : Object(et.E)(n2.type), this._cache.set(t2, n2); this._seq = this._cache.size; } }], ["first", tp]]), np._storagePrefix = "suggest/memories", np = Qu([Ju(0, fn.a), Ju(1, Nl.a), Ju(2, On.a)], np); const ip = Object(gt.c)("ISuggestMemories"); Object(mn.b)(ip, np, true); var op = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -70629,7 +70629,7 @@ ${Object(zn.b)(wi)} this._ckOtherSuggestions.reset(), Object(pe.f)(this._listener), this._model = void 0, this._acceptNext = void 0, this._ignore = false; } set({model: t2, index: n2}, i2) { - if (0 === t2.items.length) + if (t2.items.length === 0) return void this.reset(); e2._moveIndex(true, t2, n2) !== n2 ? (this._acceptNext = i2, this._model = t2, this._index = n2, this._listener = this._editor.onDidChangeCursorPosition(() => { this._ignore || this.reset(); @@ -70659,7 +70659,7 @@ ${Object(zn.b)(wi)} sp.OtherSuggestions = new K.c("hasOtherSuggestions", false), sp = op([rp(1, K.b)], sp); class ap { constructor(e2, t2, n2, i2, o2, r2, s2) { - this.clipboardText = s2, this._snippetCompareFn = ap._compareCompletionItems, this._items = e2, this._column = t2, this._wordDistance = i2, this._options = o2, this._refilterKind = 1, this._lineContext = n2, "top" === r2 ? this._snippetCompareFn = ap._compareCompletionItemsSnippetsUp : "bottom" === r2 && (this._snippetCompareFn = ap._compareCompletionItemsSnippetsDown); + this.clipboardText = s2, this._snippetCompareFn = ap._compareCompletionItems, this._items = e2, this._column = t2, this._wordDistance = i2, this._options = o2, this._refilterKind = 1, this._lineContext = n2, r2 === "top" ? this._snippetCompareFn = ap._compareCompletionItemsSnippetsUp : r2 === "bottom" && (this._snippetCompareFn = ap._compareCompletionItemsSnippetsDown); } get lineContext() { return this._lineContext; @@ -70686,37 +70686,37 @@ ${Object(zn.b)(wi)} return this._ensureCachedState(), this._stats; } _ensureCachedState() { - 0 !== this._refilterKind && this._createCachedState(); + this._refilterKind !== 0 && this._createCachedState(); } _createCachedState() { this._isIncomplete = new Set(), this._allProvider = new Set(), this._stats = {suggestionCount: 0, snippetCount: 0, textCount: 0}; const {leadingLineContent: e2, characterCountDelta: t2} = this._lineContext; let n2 = "", i2 = ""; - const o2 = 1 === this._refilterKind ? this._items : this._filteredItems, r2 = [], s2 = !this._options.filterGraceful || o2.length > 2e3 ? va.d : va.e; + const o2 = this._refilterKind === 1 ? this._items : this._filteredItems, r2 = [], s2 = !this._options.filterGraceful || o2.length > 2e3 ? va.d : va.e; for (let a2 = 0; a2 < o2.length; a2++) { const l2 = o2[a2]; if (l2.isInvalid) continue; l2.container.incomplete && this._isIncomplete.add(l2.provider), this._allProvider.add(l2.provider); const c2 = l2.position.column - l2.editStart.column, d2 = c2 + t2 - (l2.position.column - this._column); - if (n2.length !== d2 && (n2 = 0 === d2 ? "" : e2.slice(-d2), i2 = n2.toLowerCase()), l2.word = n2, 0 === d2) + if (n2.length !== d2 && (n2 = d2 === 0 ? "" : e2.slice(-d2), i2 = n2.toLowerCase()), l2.word = n2, d2 === 0) l2.score = va.a.Default; else { let e3 = 0; for (; e3 < c2; ) { const t4 = n2.charCodeAt(e3); - if (32 !== t4 && 9 !== t4) + if (t4 !== 32 && t4 !== 9) break; e3 += 1; } - const t3 = "string" == typeof l2.completion.label ? l2.completion.label : l2.completion.label.name; + const t3 = typeof l2.completion.label == "string" ? l2.completion.label : l2.completion.label.name; if (e3 >= d2) l2.score = va.a.Default; - else if ("string" == typeof l2.completion.filterText) { + else if (typeof l2.completion.filterText == "string") { let o3 = s2(n2, i2, e3, l2.completion.filterText, l2.filterTextLow, 0, false); if (!o3) continue; - 0 === Object(Ye.g)(l2.completion.filterText, t3) ? l2.score = o3 : (l2.score = Object(va.b)(n2, i2, e3, t3, l2.labelLow, 0), l2.score[0] = o3[0]); + Object(Ye.g)(l2.completion.filterText, t3) === 0 ? l2.score = o3 : (l2.score = Object(va.b)(n2, i2, e3, t3, l2.labelLow, 0), l2.score[0] = o3[0]); } else { let o3 = s2(n2, i2, e3, t3, l2.labelLow, 0, false); if (!o3) @@ -70739,18 +70739,18 @@ ${Object(zn.b)(wi)} } static _compareCompletionItemsSnippetsDown(e2, t2) { if (e2.completion.kind !== t2.completion.kind) { - if (27 === e2.completion.kind) + if (e2.completion.kind === 27) return 1; - if (27 === t2.completion.kind) + if (t2.completion.kind === 27) return -1; } return ap._compareCompletionItems(e2, t2); } static _compareCompletionItemsSnippetsUp(e2, t2) { if (e2.completion.kind !== t2.completion.kind) { - if (27 === e2.completion.kind) + if (e2.completion.kind === 27) return -1; - if (27 === t2.completion.kind) + if (t2.completion.kind === 27) return 1; } return ap._compareCompletionItems(e2, t2); @@ -70792,7 +70792,7 @@ ${Object(zn.b)(wi)} if (!e2.canComputeWordRanges(n2.uri)) return cp.None; const [o2] = yield new ru().provideSelectionRanges(n2, [i2]); - if (0 === o2.length) + if (o2.length === 0) return cp.None; const r2 = yield e2.computeWordRanges(n2.uri, o2[0].range); if (!r2) @@ -70802,9 +70802,9 @@ ${Object(zn.b)(wi)} distance(e3, n3) { if (!i2.equals(t2.getPosition())) return 0; - if (17 === n3.kind) + if (n3.kind === 17) return 2 << 20; - let s3 = "string" == typeof n3.label ? n3.label : n3.label.name, a2 = r2[s3]; + let s3 = typeof n3.label == "string" ? n3.label : n3.label.name, a2 = r2[s3]; if (Object(G.n)(a2)) return 2 << 20; let l2 = Object(G.c)(a2, ge.a.fromPositions(e3), ge.a.compareRangesUsingStarts), c2 = l2 >= 0 ? a2[l2] : a2[Math.max(0, ~l2 - 1)], d2 = o2.length; @@ -70888,7 +70888,7 @@ ${Object(zn.b)(wi)} Object(pe.f)(this._triggerCharacterListener), Object(pe.f)([this._onDidCancel, this._onDidSuggest, this._onDidTrigger, this._triggerQuickSuggest]), this._toDispose.dispose(), this._completionDisposables.dispose(), this.cancel(); } _updateQuickSuggest() { - this._quickSuggestDelay = this._editor.getOption(71), (isNaN(this._quickSuggestDelay) || !this._quickSuggestDelay && 0 !== this._quickSuggestDelay || this._quickSuggestDelay < 0) && (this._quickSuggestDelay = 10); + this._quickSuggestDelay = this._editor.getOption(71), (isNaN(this._quickSuggestDelay) || !this._quickSuggestDelay && this._quickSuggestDelay !== 0 || this._quickSuggestDelay < 0) && (this._quickSuggestDelay = 10); } _updateTriggerCharacters() { if (this._triggerCharacterListener.clear(), this._editor.getOption(72) || !this._editor.hasModel() || !this._editor.getOption(99)) @@ -70909,7 +70909,7 @@ ${Object(zn.b)(wi)} Object(Ye.G)(t3.charCodeAt(t3.length - 1)) ? Object(Ye.F)(t3.charCodeAt(t3.length - 2)) && (i2 = t3.substr(t3.length - 2)) : i2 = t3.charAt(t3.length - 1); const o2 = e2.get(i2); if (o2) { - const e3 = null === (n2 = this._completionModel) || void 0 === n2 ? void 0 : n2.adopt(o2); + const e3 = (n2 = this._completionModel) === null || n2 === void 0 ? void 0 : n2.adopt(o2); this.trigger({auto: true, shy: false, triggerCharacter: i2}, Boolean(this._completionModel), o2, e3); } }; @@ -70919,42 +70919,42 @@ ${Object(zn.b)(wi)} return this._state; } cancel(e2 = false) { - 0 !== this._state && (this._triggerQuickSuggest.cancel(), this._requestToken && (this._requestToken.cancel(), this._requestToken = void 0), this._state = 0, this._completionModel = void 0, this._context = void 0, this._onDidCancel.fire({retrigger: e2})); + this._state !== 0 && (this._triggerQuickSuggest.cancel(), this._requestToken && (this._requestToken.cancel(), this._requestToken = void 0), this._state = 0, this._completionModel = void 0, this._context = void 0, this._onDidCancel.fire({retrigger: e2})); } clear() { this._completionDisposables.clear(); } _updateActiveSuggestSession() { - 0 !== this._state && (this._editor.hasModel() && et.d.has(this._editor.getModel()) ? this.trigger({auto: 2 === this._state, shy: false}, true) : this.cancel()); + this._state !== 0 && (this._editor.hasModel() && et.d.has(this._editor.getModel()) ? this.trigger({auto: this._state === 2, shy: false}, true) : this.cancel()); } _onCursorChange(e2) { if (!this._editor.hasModel()) return; const t2 = this._editor.getModel(), n2 = this._currentSelection; - if (this._currentSelection = this._editor.getSelection(), !e2.selection.isEmpty() || 0 !== e2.reason || "keyboard" !== e2.source && "deleteLeft" !== e2.source) + if (this._currentSelection = this._editor.getSelection(), !e2.selection.isEmpty() || e2.reason !== 0 || e2.source !== "keyboard" && e2.source !== "deleteLeft") this.cancel(); - else if (et.d.has(t2) && 0 === this._state) { - if (false === this._editor.getOption(70)) + else if (et.d.has(t2) && this._state === 0) { + if (this._editor.getOption(70) === false) return; if (!n2.containsRange(this._currentSelection) && !n2.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition())) return; if (this._editor.getOption(96).snippetsPreventQuickSuggestions && Zu.get(this._editor).isInSnippet()) return; this.cancel(), this._triggerQuickSuggest.cancelAndSet(() => { - if (0 !== this._state) + if (this._state !== 0) return; if (!hp.shouldAutoTrigger(this._editor)) return; if (!this._editor.hasModel()) return; const e3 = this._editor.getModel(), t3 = this._editor.getPosition(), n3 = this._editor.getOption(70); - if (false !== n3) { - if (true === n3) + if (n3 !== false) { + if (n3 === true) ; else { e3.tokenizeIfCheap(t3.lineNumber); const i2 = e3.getLineTokens(t3.lineNumber), o2 = i2.getStandardTokenType(i2.findTokenIndexAtOffset(Math.max(t3.column - 1 - 1, 0))); - if (!(n3.other && 0 === o2 || n3.comments && 1 === o2 || n3.strings && 2 === o2)) + if (!(n3.other && o2 === 0 || n3.comments && o2 === 1 || n3.strings && o2 === 2)) return; } this.trigger({auto: true, shy: false}); @@ -70964,11 +70964,11 @@ ${Object(zn.b)(wi)} } _refilterCompletionItems() { Promise.resolve().then(() => { - if (0 === this._state) + if (this._state === 0) return; if (!this._editor.hasModel()) return; - const e2 = this._editor.getModel(), t2 = this._editor.getPosition(), n2 = new hp(e2, t2, 2 === this._state, false); + const e2 = this._editor.getModel(), t2 = this._editor.getPosition(), n2 = new hp(e2, t2, this._state === 2, false); this._onNewContext(n2); }); } @@ -70978,7 +70978,7 @@ ${Object(zn.b)(wi)} return; const r2 = this._editor.getModel(), s2 = e2.auto, a2 = new hp(r2, this._editor.getPosition(), s2, e2.shy); this.cancel(t2), this._state = s2 ? 2 : 1, this._onDidTrigger.fire({auto: s2, shy: e2.shy, position: this._editor.getPosition()}), this._context = a2; - let l2 = {triggerKind: null !== (o2 = e2.triggerKind) && void 0 !== o2 ? o2 : 0}; + let l2 = {triggerKind: (o2 = e2.triggerKind) !== null && o2 !== void 0 ? o2 : 0}; e2.triggerCharacter && (l2 = {triggerKind: 1, triggerCharacter: e2.triggerCharacter}), this._requestToken = new Xe.b(); const c2 = this._editor.getOption(93); let d2 = 1; @@ -70991,7 +70991,7 @@ ${Object(zn.b)(wi)} } let h2 = up._createItemKindFilter(this._editor), u2 = cp.create(this._editorWorkerService, this._editor), p2 = Nu(r2, this._editor.getPosition(), new Tu(d2, h2, n2), l2, this._requestToken.token); Promise.all([p2, u2]).then(([t3, n3]) => dp(this, void 0, void 0, function* () { - if (Object(pe.f)(this._requestToken), 0 === this._state) + if (Object(pe.f)(this._requestToken), this._state === 0) return; if (!this._editor.hasModel()) return; @@ -71009,7 +71009,7 @@ ${Object(zn.b)(wi)} } static _createItemKindFilter(e2) { const t2 = new Set(); - "none" === e2.getOption(93) && t2.add(27); + e2.getOption(93) === "none" && t2.add(27); const n2 = e2.getOption(96); return n2.showMethods || t2.add(0), n2.showFunctions || t2.add(1), n2.showConstructors || t2.add(2), n2.showFields || t2.add(3), n2.showVariables || t2.add(4), n2.showClasses || t2.add(5), n2.showStructs || t2.add(6), n2.showInterfaces || t2.add(7), n2.showModules || t2.add(8), n2.showProperties || t2.add(9), n2.showEvents || t2.add(10), n2.showOperators || t2.add(11), n2.showUnits || t2.add(12), n2.showValues || t2.add(13), n2.showConstants || t2.add(14), n2.showEnums || t2.add(15), n2.showEnumMembers || t2.add(16), n2.showKeywords || t2.add(17), n2.showWords || t2.add(18), n2.showColors || t2.add(19), n2.showFiles || t2.add(20), n2.showReferences || t2.add(21), n2.showColors || t2.add(22), n2.showFolders || t2.add(23), n2.showTypeParameters || t2.add(24), n2.showSnippets || t2.add(27), n2.showUsers || t2.add(25), n2.showIssues || t2.add(26), t2; } @@ -71021,22 +71021,22 @@ ${Object(zn.b)(wi)} else if (e2.column < this._context.column) e2.leadingWord.word ? this.trigger({auto: this._context.auto, shy: false}, true) : this.cancel(); else if (this._completionModel) - if (0 !== e2.leadingWord.word.length && e2.leadingWord.startColumn > this._context.leadingWord.startColumn) { + if (e2.leadingWord.word.length !== 0 && e2.leadingWord.startColumn > this._context.leadingWord.startColumn) { const e3 = new Set(et.d.all(this._editor.getModel())); this._completionModel.allProvider.forEach((t3) => e3.delete(t3)); const t2 = this._completionModel.adopt(new Set()); this.trigger({auto: this._context.auto, shy: false}, true, e3, t2); - } else if (e2.column > this._context.column && this._completionModel.incomplete.size > 0 && 0 !== e2.leadingWord.word.length) { + } else if (e2.column > this._context.column && this._completionModel.incomplete.size > 0 && e2.leadingWord.word.length !== 0) { const {incomplete: e3} = this._completionModel, t2 = this._completionModel.adopt(e3); - this.trigger({auto: 2 === this._state, shy: false, triggerKind: 2}, true, e3, t2); + this.trigger({auto: this._state === 2, shy: false, triggerKind: 2}, true, e3, t2); } else { let t2 = this._completionModel.lineContext, n2 = false; - if (this._completionModel.lineContext = {leadingLineContent: e2.leadingLineContent, characterCountDelta: e2.column - this._context.column}, 0 === this._completionModel.items.length) { + if (this._completionModel.lineContext = {leadingLineContent: e2.leadingLineContent, characterCountDelta: e2.column - this._context.column}, this._completionModel.items.length === 0) { if (hp.shouldAutoTrigger(this._editor) && this._context.leadingWord.endColumn < e2.leadingWord.startColumn) return void this.trigger({auto: this._context.auto, shy: false}, true); if (this._context.auto) return void this.cancel(); - if (this._completionModel.lineContext = t2, n2 = this._completionModel.items.length > 0, n2 && 0 === e2.leadingWord.word.length) + if (this._completionModel.lineContext = t2, n2 = this._completionModel.items.length > 0, n2 && e2.leadingWord.word.length === 0) return void this.cancel(); } this._onDidSuggest.fire({completionModel: this._completionModel, auto: this._context.auto, shy: this._context.shy, isFrozen: n2}); @@ -71162,8 +71162,8 @@ ${Object(zn.b)(wi)} e2[e2.FILE = 0] = "FILE", e2[e2.FOLDER = 1] = "FOLDER", e2[e2.ROOT_FOLDER = 2] = "ROOT_FOLDER"; }($p || ($p = {})); var Xp = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -71227,22 +71227,22 @@ ${Object(zn.b)(wi)} return o2(), t2.disposables.add(Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((e3) => e3.hasChanged(36) || e3.hasChanged(97) || e3.hasChanged(98)).on(o2, null)), t2; } renderElement(e2, t2, n2) { - const i2 = n2, o2 = e2.completion, r2 = "string" == typeof o2.label ? o2.label : o2.label.name; + const i2 = n2, o2 = e2.completion, r2 = typeof o2.label == "string" ? o2.label : o2.label.name; i2.root.id = lm(t2), i2.colorspan.style.backgroundColor = ""; const s2 = {labelEscapeNewLines: true, matches: Object(va.c)(e2.score)}; let a2 = []; - if (19 === o2.kind && function(e3, t3) { - const n3 = "string" == typeof e3.completion.label ? e3.completion.label : e3.completion.label.name; - return n3.match(sm) ? (t3[0] = n3, true) : !("string" != typeof e3.completion.documentation || !e3.completion.documentation.match(sm)) && (t3[0] = e3.completion.documentation, true); + if (o2.kind === 19 && function(e3, t3) { + const n3 = typeof e3.completion.label == "string" ? e3.completion.label : e3.completion.label.name; + return n3.match(sm) ? (t3[0] = n3, true) : !(typeof e3.completion.documentation != "string" || !e3.completion.documentation.match(sm)) && (t3[0] = e3.completion.documentation, true); }(e2, a2)) i2.icon.className = "icon customcolor", i2.iconContainer.className = "icon hide", i2.colorspan.style.backgroundColor = a2[0]; - else if (20 === o2.kind && this._themeService.getFileIconTheme().hasFileIcons) { + else if (o2.kind === 20 && this._themeService.getFileIconTheme().hasFileIcons) { i2.icon.className = "icon hide", i2.iconContainer.className = "icon hide"; const e3 = Yp(this._modelService, this._modeService, Qe.a.from({scheme: "fake", path: r2}), $p.FILE), t3 = Yp(this._modelService, this._modeService, Qe.a.from({scheme: "fake", path: o2.detail}), $p.FILE); s2.extraClasses = e3.length > t3.length ? e3 : t3; } else - 23 === o2.kind && this._themeService.getFileIconTheme().hasFolderIcons ? (i2.icon.className = "icon hide", i2.iconContainer.className = "icon hide", s2.extraClasses = Object(G.l)([Yp(this._modelService, this._modeService, Qe.a.from({scheme: "fake", path: r2}), $p.FOLDER), Yp(this._modelService, this._modeService, Qe.a.from({scheme: "fake", path: o2.detail}), $p.FOLDER)])) : (i2.icon.className = "icon hide", i2.iconContainer.className = "", Object(ft.f)(i2.iconContainer, "suggest-icon " + Object(et.F)(o2.kind))); - o2.tags && o2.tags.indexOf(1) >= 0 && (s2.extraClasses = (s2.extraClasses || []).concat(["deprecated"]), s2.matches = []), i2.iconLabel.setLabel(r2, void 0, s2), "string" == typeof o2.label ? (i2.parametersLabel.textContent = "", i2.qualifierLabel.textContent = "", i2.detailsLabel.textContent = (o2.detail || "").replace(/\n.*$/m, ""), i2.root.classList.add("string-label")) : (i2.parametersLabel.textContent = (o2.label.parameters || "").replace(/\n.*$/m, ""), i2.qualifierLabel.textContent = (o2.label.qualifier || "").replace(/\n.*$/m, ""), i2.detailsLabel.textContent = (o2.label.type || "").replace(/\n.*$/m, ""), i2.root.classList.remove("string-label")), am(e2) ? (i2.right.classList.add("can-expand-details"), Object(ft.Z)(i2.readMore), i2.readMore.onmousedown = (e3) => { + o2.kind === 23 && this._themeService.getFileIconTheme().hasFolderIcons ? (i2.icon.className = "icon hide", i2.iconContainer.className = "icon hide", s2.extraClasses = Object(G.l)([Yp(this._modelService, this._modeService, Qe.a.from({scheme: "fake", path: r2}), $p.FOLDER), Yp(this._modelService, this._modeService, Qe.a.from({scheme: "fake", path: o2.detail}), $p.FOLDER)])) : (i2.icon.className = "icon hide", i2.iconContainer.className = "", Object(ft.f)(i2.iconContainer, "suggest-icon " + Object(et.F)(o2.kind))); + o2.tags && o2.tags.indexOf(1) >= 0 && (s2.extraClasses = (s2.extraClasses || []).concat(["deprecated"]), s2.matches = []), i2.iconLabel.setLabel(r2, void 0, s2), typeof o2.label == "string" ? (i2.parametersLabel.textContent = "", i2.qualifierLabel.textContent = "", i2.detailsLabel.textContent = (o2.detail || "").replace(/\n.*$/m, ""), i2.root.classList.add("string-label")) : (i2.parametersLabel.textContent = (o2.label.parameters || "").replace(/\n.*$/m, ""), i2.qualifierLabel.textContent = (o2.label.qualifier || "").replace(/\n.*$/m, ""), i2.detailsLabel.textContent = (o2.label.type || "").replace(/\n.*$/m, ""), i2.root.classList.remove("string-label")), am(e2) ? (i2.right.classList.add("can-expand-details"), Object(ft.Z)(i2.readMore), i2.readMore.onmousedown = (e3) => { e3.stopPropagation(), e3.preventDefault(); }, i2.readMore.onclick = (e3) => { e3.stopPropagation(), e3.preventDefault(), this.widget.toggleDetails(); @@ -71275,14 +71275,14 @@ ${Object(zn.b)(wi)} } if (!t2 && !am(e2)) return this.type.textContent = "", this.docs.textContent = "", void this.el.classList.add("no-docs"); - if (this.el.classList.remove("no-docs"), "string" == typeof n2) + if (this.el.classList.remove("no-docs"), typeof n2 == "string") this.docs.classList.remove("markdown-docs"), this.docs.textContent = n2; else { this.docs.classList.add("markdown-docs"), this.docs.innerText = ""; const e3 = this.markdownRenderer.render(n2); this.renderDisposeable = e3, this.docs.appendChild(e3.element); } - i2 ? (this.type.innerText = i2.length > 1e5 ? i2.substr(0, 1e5) + "…" : i2, Object(ft.Z)(this.type)) : (this.type.innerText = "", Object(ft.K)(this.type)), this.el.style.height = this.header.offsetHeight + this.docs.offsetHeight + 2 * this.borderWidth + "px", this.el.style.userSelect = "text", this.el.tabIndex = -1, this.close.onmousedown = (e3) => { + i2 ? (this.type.innerText = i2.length > 1e5 ? i2.substr(0, 1e5) + "\u2026" : i2, Object(ft.Z)(this.type)) : (this.type.innerText = "", Object(ft.K)(this.type)), this.el.style.height = this.header.offsetHeight + this.docs.offsetHeight + 2 * this.borderWidth + "px", this.el.style.userSelect = "text", this.el.tabIndex = -1, this.close.onmousedown = (e3) => { e3.preventDefault(), e3.stopPropagation(); }, this.close.onclick = (e3) => { e3.preventDefault(), e3.stopPropagation(), this.widget.toggleDetails(); @@ -71321,7 +71321,7 @@ ${Object(zn.b)(wi)} constructor(e3, t2, n2, i2, o2, r2, s2, a2, l2, c2) { var d2, h2; this.editor = e3, this.telemetryService = t2, this.allowEditorOverflow = true, this.suppressMouseDown = false, this.state = 0, this.isAddedAsContentWidget = false, this.isAuto = false, this.loadingTimeout = pe.a.None, this.currentSuggestionDetails = null, this.ignoreFocusEvents = false, this.completionModel = null, this.showTimeout = new ue.e(), this.toDispose = new pe.b(), this.onDidSelectEmitter = new Lt.a(), this.onDidFocusEmitter = new Lt.a(), this.onDidHideEmitter = new Lt.a(), this.onDidShowEmitter = new Lt.a(), this.onDidSelect = this.onDidSelectEmitter.event, this.onDidFocus = this.onDidFocusEmitter.event, this.onDidHide = this.onDidHideEmitter.event, this.onDidShow = this.onDidShowEmitter.event, this.maxWidgetWidth = 660, this.listWidth = 330, this.firstFocusInCurrentList = false, this.preferDocPositionTop = false, this.docsPositionPreviousWidgetY = null, this.explainMode = false, this._onDetailsKeydown = new Lt.a(), this.onDetailsKeyDown = this._onDetailsKeydown.event; - const u2 = this.toDispose.add(new Bc(e3, s2, a2)), p2 = null !== (h2 = null === (d2 = n2.lookupKeybinding("toggleSuggestionDetails")) || void 0 === d2 ? void 0 : d2.getLabel()) && void 0 !== h2 ? h2 : ""; + const u2 = this.toDispose.add(new Bc(e3, s2, a2)), p2 = (h2 = (d2 = n2.lookupKeybinding("toggleSuggestionDetails")) === null || d2 === void 0 ? void 0 : d2.getLabel()) !== null && h2 !== void 0 ? h2 : ""; this.isAuto = false, this.focusedItem = null, this.storageService = r2, this.element = Object(ft.a)(".editor-widget.suggest-widget"), this.toDispose.add(Object(ft.i)(this.element, "click", (e4) => { e4.target === this.element && this.hideWidget(); })), this.messageElement = Object(ft.p)(this.element, Object(ft.a)(".message")), this.listElement = Object(ft.p)(this.element, Object(ft.a)(".tree")); @@ -71344,16 +71344,16 @@ ${Object(zn.b)(wi)} this.toDispose.add(_2.onDidChange(() => (() => { const e4 = [], t3 = []; for (let [n3, i3] of _2.getActions()) - "left" === n3 ? e4.push(...i3) : t3.push(...i3); + n3 === "left" ? e4.push(...i3) : t3.push(...i3); f2.clear(), f2.push(e4), b2.clear(), b2.push(t3); })())), this.toDispose.add(_2), this.details = c2.createInstance(dm, this.element, this, this.editor, u2, p2); const v2 = () => this.element.classList.toggle("no-icons", !this.editor.getOption(96).showIcons); v2(); let w2 = c2.createInstance(cm, this, this.editor, p2); this.list = new Kp.c("SuggestWidget", this.listElement, this, [w2], {useShadows: false, mouseSupport: false, accessibilityProvider: {getRole: () => "option", getAriaLabel: (e4) => { - const t3 = "string" == typeof e4.completion.label ? e4.completion.label : e4.completion.label.name; + const t3 = typeof e4.completion.label == "string" ? e4.completion.label : e4.completion.label.name; if (e4.isResolved && this.expandDocsSettingFromStorage()) { - const {documentation: n3, detail: i3} = e4.completion, o3 = Ye.x("{0}{1}", i3 || "", n3 ? "string" == typeof n3 ? n3 : n3.value : ""); + const {documentation: n3, detail: i3} = e4.completion, o3 = Ye.x("{0}{1}", i3 || "", n3 ? typeof n3 == "string" ? n3 : n3.value : ""); return U.a("ariaCurrenttSuggestionReadDetails", "{0}, docs: {1}", t3, o3); } return t3; @@ -71367,13 +71367,13 @@ ${Object(zn.b)(wi)} this.details.element.contains(e3.target.element) ? this.details.element.focus() : this.element.contains(e3.target.element) && this.editor.focus(); } onCursorSelectionChanged() { - 0 !== this.state && this.editor.layoutContentWidget(this); + this.state !== 0 && this.editor.layoutContentWidget(this); } onEditorLayoutChange() { - 3 !== this.state && 5 !== this.state || !this.expandDocsSettingFromStorage() || this.expandSideOrBelow(); + this.state !== 3 && this.state !== 5 || !this.expandDocsSettingFromStorage() || this.expandSideOrBelow(); } onListMouseDownOrTap(e3) { - void 0 !== e3.element && void 0 !== e3.index && (e3.browserEvent.preventDefault(), e3.browserEvent.stopPropagation(), this.select(e3.element, e3.index)); + e3.element !== void 0 && e3.index !== void 0 && (e3.browserEvent.preventDefault(), e3.browserEvent.stopPropagation(), this.select(e3.element, e3.index)); } onListSelection(e3) { e3.elements.length && this.select(e3.elements[0], e3.indexes[0]); @@ -71388,7 +71388,7 @@ ${Object(zn.b)(wi)} const n2 = e3.getColor(nm); n2 && (this.listElement.style.borderColor = n2.toString(), this.statusBarElement.style.borderColor = n2.toString(), this.details.element.style.borderColor = n2.toString(), this.messageElement.style.borderColor = n2.toString(), this.detailsBorderColor = n2.toString()); const i2 = e3.getColor(ve.Z); - i2 && (this.detailsFocusBorderColor = i2.toString()), this.details.setBorderWidth("hc" === e3.type ? 2 : 1); + i2 && (this.detailsFocusBorderColor = i2.toString()), this.details.setBorderWidth(e3.type === "hc" ? 2 : 1); } onListFocus(e3) { if (this.ignoreFocusEvents) @@ -71410,9 +71410,9 @@ ${Object(zn.b)(wi)} setState(t2) { if (!this.element) return; - this.isAddedAsContentWidget || 0 === t2 || (this.isAddedAsContentWidget = true, this.editor.addContentWidget(this)); + this.isAddedAsContentWidget || t2 === 0 || (this.isAddedAsContentWidget = true, this.editor.addContentWidget(this)); const n2 = this.state !== t2; - switch (this.state = t2, this.element.classList.toggle("frozen", 4 === t2), t2) { + switch (this.state = t2, this.element.classList.toggle("frozen", t2 === 4), t2) { case 0: Object(ft.K)(this.messageElement, this.details.element, this.listElement, this.statusBarElement), this.hide(), this.listHeight = 0, n2 && this.list.splice(0, this.list.length), this.focusedItem = null; break; @@ -71433,17 +71433,17 @@ ${Object(zn.b)(wi)} } } showTriggered(e3, t2) { - 0 === this.state && (this.isAuto = !!e3, this.isAuto || (this.loadingTimeout = Object(ue.g)(() => this.setState(1), t2))); + this.state === 0 && (this.isAuto = !!e3, this.isAuto || (this.loadingTimeout = Object(ue.g)(() => this.setState(1), t2))); } showSuggestions(e3, t2, n2, i2) { - if (this.preferDocPositionTop = false, this.docsPositionPreviousWidgetY = null, this.loadingTimeout.dispose(), this.currentSuggestionDetails && (this.currentSuggestionDetails.cancel(), this.currentSuggestionDetails = null), this.completionModel !== e3 && (this.completionModel = e3), n2 && 2 !== this.state && 0 !== this.state) + if (this.preferDocPositionTop = false, this.docsPositionPreviousWidgetY = null, this.loadingTimeout.dispose(), this.currentSuggestionDetails && (this.currentSuggestionDetails.cancel(), this.currentSuggestionDetails = null), this.completionModel !== e3 && (this.completionModel = e3), n2 && this.state !== 2 && this.state !== 0) return void this.setState(4); let o2 = this.completionModel.items.length; - const r2 = 0 === o2; + const r2 = o2 === 0; if (this.ctxSuggestWidgetMultipleSuggestions.set(o2 > 1), r2) i2 ? this.setState(0) : this.setState(2), this.completionModel = null; else { - if (3 !== this.state) { + if (this.state !== 3) { const {stats: e4} = this.completionModel; e4.wasAutomaticallyTriggered = !!i2, this.telemetryService.publicLog("suggestWidget", Object.assign({}, e4)); } @@ -71519,18 +71519,18 @@ ${Object(zn.b)(wi)} } } getFocusedItem() { - if (0 !== this.state && 2 !== this.state && 1 !== this.state && this.completionModel) + if (this.state !== 0 && this.state !== 2 && this.state !== 1 && this.completionModel) return {item: this.list.getFocusedElements()[0], index: this.list.getFocus()[0], model: this.completionModel}; } toggleDetailsFocus() { - 5 === this.state ? (this.setState(3), this.detailsBorderColor && (this.details.element.style.borderColor = this.detailsBorderColor)) : 3 === this.state && this.expandDocsSettingFromStorage() && (this.setState(5), this.detailsFocusBorderColor && (this.details.element.style.borderColor = this.detailsFocusBorderColor)), this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus"); + this.state === 5 ? (this.setState(3), this.detailsBorderColor && (this.details.element.style.borderColor = this.detailsBorderColor)) : this.state === 3 && this.expandDocsSettingFromStorage() && (this.setState(5), this.detailsFocusBorderColor && (this.details.element.style.borderColor = this.detailsFocusBorderColor)), this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus"); } toggleDetails() { if (am(this.list.getFocusedElements()[0])) if (this.expandDocsSettingFromStorage()) this.ctxSuggestWidgetDetailsVisible.set(false), this.updateExpandDocsSetting(false), Object(ft.K)(this.details.element), this.element.classList.remove("docs-side", "doc-below"), this.editor.layoutContentWidget(this), this.telemetryService.publicLog2("suggestWidget:collapseDetails"); else { - if (3 !== this.state && 5 !== this.state && 4 !== this.state) + if (this.state !== 3 && this.state !== 5 && this.state !== 4) return; this.ctxSuggestWidgetDetailsVisible.set(true), this.updateExpandDocsSetting(true), this.showDetails(false), this.telemetryService.publicLog2("suggestWidget:expandDetails"); } @@ -71554,7 +71554,7 @@ ${Object(zn.b)(wi)} this.loadingTimeout.dispose(), this.setState(0), this.onDidHideEmitter.fire(this); } getPosition() { - if (0 === this.state) + if (this.state === 0) return null; let e3 = [2, 1]; return this.preferDocPositionTop && (e3 = [1]), {position: this.editor.getPosition(), preference: e3}; @@ -71566,11 +71566,11 @@ ${Object(zn.b)(wi)} return e2.ID; } isFrozen() { - return 4 === this.state; + return this.state === 4; } updateListHeight() { let e3 = 0; - if (2 === this.state || 1 === this.state) + if (this.state === 2 || this.state === 1) e3 = this.unfocusedHeight; else { const t2 = this.list.contentHeight / this.unfocusedHeight, {maxVisibleSuggestions: n2} = this.editor.getOption(96); @@ -71626,8 +71626,8 @@ ${Object(zn.b)(wi)} r2 && t2.addRule(`.monaco-editor .suggest-widget code { background-color: ${r2}; }`); }); var um = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -71646,7 +71646,7 @@ ${Object(zn.b)(wi)} super.dispose(), Object(pe.f)(this._selectionListener), this._ckAtEnd.reset(); } _update() { - const e3 = "on" === this._editor.getOption(101); + const e3 = this._editor.getOption(101) === "on"; if (this._enabled !== e3) if (this._enabled = e3, this._enabled) { const e4 = () => { @@ -71726,8 +71726,8 @@ ${Object(zn.b)(wi)} } fm._maxSelectionLength = 51200; var bm = n(158), _m = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -71766,7 +71766,7 @@ ${Object(zn.b)(wi)} this._toDispose.add(e4), this._toDispose.add(e4.onDidSelect((e5) => this._insertSuggestion(e5, 0), this)); const t3 = new gm(this.editor, e4, (e5) => this._insertSuggestion(e5, 2)); this._toDispose.add(t3), this._toDispose.add(this.model.onDidSuggest((e5) => { - 0 === e5.completionModel.items.length && t3.reset(); + e5.completionModel.items.length === 0 && t3.reset(); })); const n3 = Su.MakesTextEdit.bindTo(this._contextKeyService), i3 = Su.HasInsertAndReplaceRange.bindTo(this._contextKeyService), o3 = Su.CanResolve.bindTo(this._contextKeyService); return this._toDispose.add(Object(pe.h)(() => { @@ -71774,7 +71774,7 @@ ${Object(zn.b)(wi)} })), this._toDispose.add(e4.onDidFocus(({item: e5}) => { const t4 = this.editor.getPosition(), r3 = e5.editStart.column, s3 = t4.column; let a3 = true; - if (!("smart" !== this.editor.getOption(1) || 2 !== this.model.state || e5.completion.command || e5.completion.additionalTextEdits || 4 & e5.completion.insertTextRules || s3 - r3 !== e5.completion.insertText.length)) { + if (!(this.editor.getOption(1) !== "smart" || this.model.state !== 2 || e5.completion.command || e5.completion.additionalTextEdits || 4 & e5.completion.insertTextRules || s3 - r3 !== e5.completion.insertText.length)) { a3 = this.editor.getModel().getValueInRange({startLineNumber: t4.lineNumber, startColumn: r3, endLineNumber: t4.lineNumber, endColumn: s3}) !== e5.completion.insertText; } n3.set(a3), i3.set(!me.a.equals(e5.editInsertEnd, e5.editReplaceEnd)), o3.set(Boolean(e5.provider.resolveCompletionItem) || Boolean(e5.completion.documentation) || e5.completion.detail !== e5.completion.label); @@ -71795,7 +71795,7 @@ ${Object(zn.b)(wi)} })); let l2 = Su.AcceptSuggestionsOnEnter.bindTo(o2), c2 = () => { const e4 = this.editor.getOption(1); - l2.set("on" === e4 || "smart" === e4); + l2.set(e4 === "on" || e4 === "smart"); }; this._toDispose.add(this.editor.onDidChangeConfiguration(() => c2())), c2(); } @@ -71856,13 +71856,13 @@ ${Object(zn.b)(wi)} } getOverwriteInfo(e3, t2) { Object(Jo.b)(this.editor.hasModel()); - let n2 = "replace" === this.editor.getOption(96).insertMode; + let n2 = this.editor.getOption(96).insertMode === "replace"; t2 && (n2 = !n2); const i2 = e3.position.column - e3.editStart.column, o2 = (n2 ? e3.editReplaceEnd.column : e3.editInsertEnd.column) - e3.position.column; return {overwriteBefore: i2 + (this.editor.getPosition().column - e3.position.column), overwriteAfter: o2 + (this._lineSuffix.value ? this._lineSuffix.value.delta(this.editor.getPosition()) : 0)}; } _alertCompletionItem({completion: e3}) { - const t2 = "string" == typeof e3.label ? e3.label : e3.label.name; + const t2 = typeof e3.label == "string" ? e3.label : e3.label.name; if (Object(G.o)(e3.additionalTextEdits)) { let n2 = U.a("arai.alert.snippet", "Accepting '{0}' made {1} additional edits", t2, e3.additionalTextEdits.length); Object(ne.a)(n2); @@ -71889,7 +71889,7 @@ ${Object(zn.b)(wi)} Lt.b.any(this.model.onDidTrigger, this.model.onDidCancel)(() => { Object(pe.f)(t3), n2(); }, void 0, t3), this.model.onDidSuggest(({completionModel: e5}) => { - if (Object(pe.f)(t3), 0 === e5.items.length) + if (Object(pe.f)(t3), e5.items.length === 0) return void n2(); const o2 = this._memoryService.select(this.editor.getModel(), this.editor.getPosition(), e5.items), r2 = e5.items[o2]; i2(r2) ? (this.editor.pushUndoStop(), this._insertSuggestion({index: o2, item: r2, model: e5}, 7)) : n2(); @@ -71983,8 +71983,8 @@ ${Object(zn.b)(wi)} } Em.ID = "editor.action.toggleTabFocusMode", Object(V.k)(Em); var Tm = n(171), Lm = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -72031,20 +72031,20 @@ ${Object(zn.b)(wi)} } _checkForUnusualLineTerminators() { return Im(this, void 0, void 0, function* () { - if ("off" === this._config) + if (this._config === "off") return; if (!this._editor.hasModel()) return; const e2 = this._editor.getModel(); if (!e2.mightContainUnusualLineTerminators()) return; - if (true === function(e3, t2) { + if (function(e3, t2) { return e3.getModelProperty(t2.uri, "ignoreUnusualLineTerminators"); - }(this._codeEditorService, e2)) + }(this._codeEditorService, e2) === true) return; if (this._editor.getOption(72)) return; - if ("auto" === this._config) + if (this._config === "auto") return void e2.removeUnusualLineTerminators(this._editor.getSelections()); (yield this._dialogService.confirm({title: U.a("unusualLineTerminators.title", "Unusual Line Terminators"), message: U.a("unusualLineTerminators.message", "Detected unusual line terminators"), detail: U.a("unusualLineTerminators.detail", "This file contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`."), primaryButton: U.a("unusualLineTerminators.fix", "Fix this file"), secondaryButton: U.a("unusualLineTerminators.ignore", "Ignore problem for this file")})).confirmed ? e2.removeUnusualLineTerminators(this._editor.getSelections()) : function(e3, t2, n2) { e3.setModelProperty(t2.uri, "ignoreUnusualLineTerminators", n2); @@ -72054,8 +72054,8 @@ ${Object(zn.b)(wi)} }; Om.ID = "editor.contrib.unusualLineTerminatorsDetector", Om = Lm([Nm(1, Tm.a), Nm(2, Me.a)], Om), Object(V.m)(Om.ID, Om); var Dm = n(184), Am = n(183), Rm = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -72119,8 +72119,8 @@ ${Object(zn.b)(wi)} }; Pm.ID = "editor.contrib.viewportSemanticTokens", Pm = Rm([Mm(1, tt.a), Mm(2, we.c), Mm(3, On.a)], Pm), Object(V.m)(Pm.ID, Pm); var Fm = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -72232,10 +72232,10 @@ ${Object(zn.b)(wi)} this._decorationIds.length > 0 && (this._decorationIds = this.editor.deltaDecorations(this._decorationIds, []), this._hasWordHighlights.set(false)); } _stopAll() { - this._removeDecorations(), -1 !== this.renderDecorationsTimer && (clearTimeout(this.renderDecorationsTimer), this.renderDecorationsTimer = -1), null !== this.workerRequest && (this.workerRequest.cancel(), this.workerRequest = null), this.workerRequestCompleted || (this.workerRequestTokenId++, this.workerRequestCompleted = true); + this._removeDecorations(), this.renderDecorationsTimer !== -1 && (clearTimeout(this.renderDecorationsTimer), this.renderDecorationsTimer = -1), this.workerRequest !== null && (this.workerRequest.cancel(), this.workerRequest = null), this.workerRequestCompleted || (this.workerRequestTokenId++, this.workerRequestCompleted = true); } _onPositionChanged(e2) { - this.occurrencesHighlight && 3 === e2.reason ? this._run() : this._stopAll(); + this.occurrencesHighlight && e2.reason === 3 ? this._run() : this._stopAll(); } _getWord() { let e2 = this.editor.getSelection(), t2 = e2.startLineNumber, n2 = e2.startColumn; @@ -72251,7 +72251,7 @@ ${Object(zn.b)(wi)} return void this._stopAll(); const o2 = this.workerRequest && this.workerRequest.isValid(this.model, e2, this._decorationIds); if (this.lastCursorPositionChangeTime = new Date().getTime(), o2) - this.workerRequestCompleted && -1 !== this.renderDecorationsTimer && (clearTimeout(this.renderDecorationsTimer), this.renderDecorationsTimer = -1, this._beginRenderDecorations()); + this.workerRequestCompleted && this.renderDecorationsTimer !== -1 && (clearTimeout(this.renderDecorationsTimer), this.renderDecorationsTimer = -1, this._beginRenderDecorations()); else { this._stopAll(); let e3 = ++this.workerRequestTokenId; @@ -72346,11 +72346,11 @@ ${Object(zn.b)(wi)} const o2 = e2.getColor(Bm); o2 && t2.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${o2}; }`); const r2 = e2.getColor(ve.R); - r2 && t2.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc" === e2.type ? "dotted" : "solid"} ${r2}; box-sizing: border-box; }`); + r2 && t2.addRule(`.monaco-editor .selectionHighlight { border: 1px ${e2.type === "hc" ? "dotted" : "solid"} ${r2}; box-sizing: border-box; }`); const s2 = e2.getColor(jm); - s2 && t2.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc" === e2.type ? "dashed" : "solid"} ${s2}; box-sizing: border-box; }`); + s2 && t2.addRule(`.monaco-editor .wordHighlight { border: 1px ${e2.type === "hc" ? "dashed" : "solid"} ${s2}; box-sizing: border-box; }`); const a2 = e2.getColor(Vm); - a2 && t2.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc" === e2.type ? "dashed" : "solid"} ${a2}; box-sizing: border-box; }`); + a2 && t2.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${e2.type === "hc" ? "dashed" : "solid"} ${a2}; box-sizing: border-box; }`); }); var eg = n(22), tg = n(129), ng = n(117), ig = n(26); class og extends V.c { @@ -72364,7 +72364,7 @@ ${Object(zn.b)(wi)} const t3 = new me.a(e3.positionLineNumber, e3.positionColumn), n3 = this._move(i2, o2, t3, this._wordNavigationType); return this._moveTo(e3, n3, this._inSelectionMode); }); - if (o2.pushStackElement(), t2._getViewModel().setCursorStates("moveWordCommand", 0, r2.map((e3) => eg.d.fromModelSelection(e3))), 1 === r2.length) { + if (o2.pushStackElement(), t2._getViewModel().setCursorStates("moveWordCommand", 0, r2.map((e3) => eg.d.fromModelSelection(e3))), r2.length === 1) { const e3 = new me.a(r2[0].positionLineNumber, r2[0].positionColumn); t2.revealPosition(e3, 0); } @@ -72562,8 +72562,8 @@ ${Object(zn.b)(wi)} } }()); var ug = n(55), pg = (n(335), n(35)), mg = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -72598,7 +72598,7 @@ ${Object(zn.b)(wi)} if (this._isVisible && (e4.equals(2083) && (Object(ne.a)(ug.a.emergencyConfOn), this._editor.updateOptions({accessibilitySupport: "on"}), ft.s(this._contentDomNode.domNode), this._buildContent(), this._contentDomNode.domNode.focus(), e4.preventDefault(), e4.stopPropagation()), e4.equals(2086))) { Object(ne.a)(ug.a.openingDocs); let t3 = this._editor.getRawOptions().accessibilityHelpUrl; - void 0 === t3 && (t3 = "https://go.microsoft.com/fwlink/?linkid=852450"), this._openerService.open(Qe.a.parse(t3)), e4.preventDefault(), e4.stopPropagation(); + t3 === void 0 && (t3 = "https://go.microsoft.com/fwlink/?linkid=852450"), this._openerService.open(Qe.a.parse(t3)), e4.preventDefault(), e4.stopPropagation(); } })), this.onblur(this._contentDomNode.domNode, () => { this.hide(); @@ -72633,7 +72633,7 @@ ${Object(zn.b)(wi)} }); } let i2 = function(e4, t3) { - return e4 && 0 !== e4.length ? 1 === e4.length ? t3 ? Ye.x(ug.a.singleSelectionRange, e4[0].positionLineNumber, e4[0].positionColumn, t3) : Ye.x(ug.a.singleSelection, e4[0].positionLineNumber, e4[0].positionColumn) : t3 ? Ye.x(ug.a.multiSelectionRange, e4.length, t3) : e4.length > 0 ? Ye.x(ug.a.multiSelection, e4.length) : "" : ug.a.noSelection; + return e4 && e4.length !== 0 ? e4.length === 1 ? t3 ? Ye.x(ug.a.singleSelectionRange, e4[0].positionLineNumber, e4[0].positionColumn, t3) : Ye.x(ug.a.singleSelection, e4[0].positionLineNumber, e4[0].positionColumn) : t3 ? Ye.x(ug.a.multiSelectionRange, e4.length, t3) : e4.length > 0 ? Ye.x(ug.a.multiSelection, e4.length) : "" : ug.a.noSelection; }(t2, n2); e3.get(47) ? e3.get(72) ? i2 += ug.a.readonlyDiffEditor : i2 += ug.a.editableDiffEditor : e3.get(72) ? i2 += ug.a.readonlyEditor : i2 += ug.a.editableEditor; const o2 = Ae.f ? ug.a.changeConfigToOnMac : ug.a.changeConfigToOnWinLinux; @@ -72722,8 +72722,8 @@ ${Object(zn.b)(wi)} Cg.ID = "editor.contrib.ShowKeyboardWidget", Object(V.m)(yg.ID, yg); n(339); var xg = n(90), Sg = n(139), kg = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -72736,7 +72736,7 @@ ${Object(zn.b)(wi)} }; let Tg = class e2 extends pe.a { constructor(e3, t2, n2) { - super(), this._editor = e3, this._modeService = n2, this._widget = null, this._register(this._editor.onDidChangeModel((e4) => this.stop())), this._register(this._editor.onDidChangeModelLanguage((e4) => this.stop())), this._register(et.C.onDidChange((e4) => this.stop())), this._register(this._editor.onKeyUp((e4) => 9 === e4.keyCode && this.stop())); + super(), this._editor = e3, this._modeService = n2, this._widget = null, this._register(this._editor.onDidChangeModel((e4) => this.stop())), this._register(this._editor.onDidChangeModelLanguage((e4) => this.stop())), this._register(et.C.onDidChange((e4) => this.stop())), this._register(this._editor.onKeyUp((e4) => e4.keyCode === 9 && this.stop())); } static get(t2) { return t2.getContribution(e2.ID); @@ -72800,17 +72800,17 @@ ${Object(zn.b)(wi)} let i4 = e3.charCodeAt(n3); switch (i4) { case 9: - t3 += "→"; + t3 += "\u2192"; break; case 32: - t3 += "·"; + t3 += "\xB7"; break; default: t3 += String.fromCharCode(i4); } } return t3; - }(r2), Object(ft.a)("span.tm-token-length", void 0, `${r2.length} ${1 === r2.length ? "char" : "chars"}`))), Object(ft.p)(this._domNode, Object(ft.a)("hr.tokens-inspect-separator", {style: "clear:both"})); + }(r2), Object(ft.a)("span.tm-token-length", void 0, `${r2.length} ${r2.length === 1 ? "char" : "chars"}`))), Object(ft.p)(this._domNode, Object(ft.a)("hr.tokens-inspect-separator", {style: "clear:both"})); const s2 = 1 + (i2 << 1) < t2.tokens2.length ? this._decodeMetadata(t2.tokens2[1 + (i2 << 1)]) : null; Object(ft.p)(this._domNode, Object(ft.a)("table.tm-metadata-table", void 0, Object(ft.a)("tbody", void 0, Object(ft.a)("tr", void 0, Object(ft.a)("td.tm-metadata-key", void 0, "language"), Object(ft.a)("td.tm-metadata-value", void 0, "" + (s2 ? s2.languageIdentifier.language : "-?-"))), Object(ft.a)("tr", void 0, Object(ft.a)("td.tm-metadata-key", void 0, "token type"), Object(ft.a)("td.tm-metadata-value", void 0, "" + (s2 ? this._tokenTypeToString(s2.tokenType) : "-?-"))), Object(ft.a)("tr", void 0, Object(ft.a)("td.tm-metadata-key", void 0, "font style"), Object(ft.a)("td.tm-metadata-value", void 0, "" + (s2 ? this._fontStyleToString(s2.fontStyle) : "-?-"))), Object(ft.a)("tr", void 0, Object(ft.a)("td.tm-metadata-key", void 0, "foreground"), Object(ft.a)("td.tm-metadata-value", void 0, "" + (s2 ? Nn.a.Format.CSS.formatHex(s2.foreground) : "-?-"))), Object(ft.a)("tr", void 0, Object(ft.a)("td.tm-metadata-key", void 0, "background"), Object(ft.a)("td.tm-metadata-value", void 0, "" + (s2 ? Nn.a.Format.CSS.formatHex(s2.background) : "-?-")))))), Object(ft.p)(this._domNode, Object(ft.a)("hr.tokens-inspect-separator")), n2 < t2.tokens1.length && Object(ft.p)(this._domNode, Object(ft.a)("span.tm-token-type", void 0, t2.tokens1[n2].type)), this._editor.layoutContentWidget(this); } @@ -72834,7 +72834,7 @@ ${Object(zn.b)(wi)} } _fontStyleToString(e2) { let t2 = ""; - return 1 & e2 && (t2 += "italic "), 2 & e2 && (t2 += "bold "), 4 & e2 && (t2 += "underline "), 0 === t2.length && (t2 = "---"), t2; + return 1 & e2 && (t2 += "italic "), 2 & e2 && (t2 += "bold "), 4 & e2 && (t2 += "underline "), t2.length === 0 && (t2 = "---"), t2; } _getTokensAtLine(e2) { let t2 = this._getStateBeforeLine(e2), n2 = this._tokenizationSupport.tokenize(this._model.getLineContent(e2), t2, 0), i2 = this._tokenizationSupport.tokenize2(this._model.getLineContent(e2), t2, 0); @@ -72866,8 +72866,8 @@ ${Object(zn.b)(wi)} o2 && t2.addRule(`.monaco-editor .tokens-inspect-widget { color: ${o2}; }`); }); var Ig = n(134), Og = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -72892,14 +72892,14 @@ ${Object(zn.b)(wi)} n3 && n3.prefix && n3.prefix !== e2.PREFIX && this.quickInputService.quickAccess.show(n3.prefix, {preserveValue: true}); })); const {editorProviders: i2, globalProviders: o2} = this.getQuickAccessProviders(); - return t2.items = 0 === i2.length || 0 === o2.length ? [...0 === i2.length ? o2 : i2] : [{label: Object(U.a)("globalCommands", "global commands"), type: "separator"}, ...o2, {label: Object(U.a)("editorCommands", "editor commands"), type: "separator"}, ...i2], n2; + return t2.items = i2.length === 0 || o2.length === 0 ? [...i2.length === 0 ? o2 : i2] : [{label: Object(U.a)("globalCommands", "global commands"), type: "separator"}, ...o2, {label: Object(U.a)("editorCommands", "editor commands"), type: "separator"}, ...i2], n2; } getQuickAccessProviders() { const t2 = [], n2 = []; for (const i2 of this.registry.getQuickAccessProviders().sort((e3, t3) => e3.prefix.localeCompare(t3.prefix))) if (i2.prefix !== e2.PREFIX) for (const e3 of i2.helpEntries) { - const o2 = e3.prefix || i2.prefix, r2 = o2 || "…"; + const o2 = e3.prefix || i2.prefix, r2 = o2 || "\u2026"; (e3.needsEditor ? n2 : t2).push({prefix: o2, label: r2, ariaLabel: Object(U.a)("helpPickAriaLabel", "{0}, {1}", r2, e3.description), description: e3.description}); } return {editorProviders: n2, globalProviders: t2}; @@ -72913,7 +72913,7 @@ ${Object(zn.b)(wi)} provide(e2, t2) { var n2; const i2 = new pe.b(); - e2.canAcceptInBackground = !!(null === (n2 = this.options) || void 0 === n2 ? void 0 : n2.canAcceptInBackground), e2.matchOnLabel = e2.matchOnDescription = e2.matchOnDetail = e2.sortByLabel = false; + e2.canAcceptInBackground = !!((n2 = this.options) === null || n2 === void 0 ? void 0 : n2.canAcceptInBackground), e2.matchOnLabel = e2.matchOnDescription = e2.matchOnDetail = e2.sortByLabel = false; const o2 = i2.add(new pe.d()); return o2.value = this.doProvide(e2, t2), i2.add(this.onDidActiveTextEditorControlChange(() => { o2.value = void 0, o2.value = this.doProvide(e2, t2); @@ -72944,7 +72944,7 @@ ${Object(zn.b)(wi)} } getModel(e2) { var t2; - return Object(Rr.c)(e2) ? null === (t2 = e2.getModel()) || void 0 === t2 ? void 0 : t2.modified : e2.getModel(); + return Object(Rr.c)(e2) ? (t2 = e2.getModel()) === null || t2 === void 0 ? void 0 : t2.modified : e2.getModel(); } addDecorations(e2, t2) { e2.changeDecorations((e3) => { @@ -72989,7 +72989,7 @@ ${Object(zn.b)(wi)} o2(), i2.add(t2.onDidChangeValue(() => o2())); const r2 = Object(Rr.a)(e2); if (r2) { - 2 === r2.getOptions().get(52).renderType && (r2.updateOptions({lineNumbers: "on"}), i2.add(Object(pe.h)(() => r2.updateOptions({lineNumbers: "relative"})))); + r2.getOptions().get(52).renderType === 2 && (r2.updateOptions({lineNumbers: "on"}), i2.add(Object(pe.h)(() => r2.updateOptions({lineNumbers: "relative"})))); } return i2; } @@ -73007,10 +73007,10 @@ ${Object(zn.b)(wi)} return o2 > 1 ? Object(U.a)("gotoLineLabelEmptyWithLimit", "Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.", i2.lineNumber, i2.column, o2) : Object(U.a)("gotoLineLabelEmpty", "Current Line: {0}, Character: {1}. Type a line number to navigate to.", i2.lineNumber, i2.column); } isValidLineNumber(e2, t2) { - return !(!t2 || "number" != typeof t2) && (t2 > 0 && t2 <= this.lineCount(e2)); + return !(!t2 || typeof t2 != "number") && (t2 > 0 && t2 <= this.lineCount(e2)); } isValidColumn(e2, t2, n2) { - if (!n2 || "number" != typeof n2) + if (!n2 || typeof n2 != "number") return false; const i2 = this.getModel(e2); if (!i2) @@ -73020,13 +73020,13 @@ ${Object(zn.b)(wi)} } lineCount(e2) { var t2, n2; - return null !== (n2 = null === (t2 = this.getModel(e2)) || void 0 === t2 ? void 0 : t2.getLineCount()) && void 0 !== n2 ? n2 : 0; + return (n2 = (t2 = this.getModel(e2)) === null || t2 === void 0 ? void 0 : t2.getLineCount()) !== null && n2 !== void 0 ? n2 : 0; } } Mg.PREFIX = ":"; var Pg = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -73063,7 +73063,7 @@ ${Object(zn.b)(wi)} const r2 = []; for (const s2 of t3) { const [t4, a2] = Vg(e3, s2, n3, i3); - if ("number" != typeof t4) + if (typeof t4 != "number") return Bg; o3 += t4, r2.push(...a2); } @@ -73085,7 +73085,7 @@ ${Object(zn.b)(wi)} return !(e2.end < t2.start) && !(t2.end < e2.start); } function qg(e2) { - "string" != typeof e2 && (e2 = ""); + typeof e2 != "string" && (e2 = ""); const t2 = e2.toLowerCase(), {pathNormalized: n2, normalized: i2, normalizedLowercase: o2} = $g(e2), r2 = n2.indexOf(pa.h) >= 0; let s2 = void 0; const a2 = e2.split(" "); @@ -73174,7 +73174,7 @@ ${Object(zn.b)(wi)} const r2 = this.getDocumentSymbols(t2, true, i2); let s2 = void 0; const a2 = () => Gg(this, void 0, void 0, function* () { - null == s2 || s2.dispose(true), n2.busy = false, s2 = new Xe.b(i2), n2.busy = true; + s2 == null || s2.dispose(true), n2.busy = false, s2 = new Xe.b(i2), n2.busy = true; try { const e3 = qg(n2.value.substr(Yg.PREFIX.length).trim()), t3 = yield this.doGetSymbolPicks(r2, e3, void 0, s2.token); if (i2.isCancellationRequested) @@ -73200,40 +73200,40 @@ ${Object(zn.b)(wi)} const o2 = yield e2; if (i2.isCancellationRequested) return []; - const r2 = 0 === t2.original.indexOf(Yg.SCOPE_PREFIX), s2 = r2 ? 1 : 0; + const r2 = t2.original.indexOf(Yg.SCOPE_PREFIX) === 0, s2 = r2 ? 1 : 0; let a2, l2; t2.values && t2.values.length > 1 ? (a2 = Kg(t2.values[0]), l2 = Kg(t2.values.slice(1))) : a2 = t2; const c2 = []; for (let e3 = 0; e3 < o2.length; e3++) { const i3 = o2[e3], r3 = Object(Ye.W)(i3.name), d3 = `$(symbol-${et.A.toString(i3.kind) || "property"}) ${r3}`, h3 = d3.length - r3.length; - let u3 = i3.containerName; - (null == n2 ? void 0 : n2.extraContainerLabel) && (u3 = u3 ? `${n2.extraContainerLabel} • ${u3}` : n2.extraContainerLabel); + let u2 = i3.containerName; + (n2 == null ? void 0 : n2.extraContainerLabel) && (u2 = u2 ? `${n2.extraContainerLabel} \u2022 ${u2}` : n2.extraContainerLabel); let p2 = void 0, m2 = void 0, g2 = void 0, f2 = void 0; if (t2.original.length > s2) { let e4 = false; - if (a2 !== t2 && ([p2, m2] = jg(d3, Object.assign(Object.assign({}, t2), {values: void 0}), s2, h3), "number" == typeof p2 && (e4 = true)), "number" != typeof p2 && ([p2, m2] = jg(d3, a2, s2, h3), "number" != typeof p2)) + if (a2 !== t2 && ([p2, m2] = jg(d3, Object.assign(Object.assign({}, t2), {values: void 0}), s2, h3), typeof p2 == "number" && (e4 = true)), typeof p2 != "number" && ([p2, m2] = jg(d3, a2, s2, h3), typeof p2 != "number")) continue; if (!e4 && l2) { - if (u3 && l2.original.length > 0 && ([g2, f2] = jg(u3, l2)), "number" != typeof g2) + if (u2 && l2.original.length > 0 && ([g2, f2] = jg(u2, l2)), typeof g2 != "number") continue; - "number" == typeof p2 && (p2 += g2); + typeof p2 == "number" && (p2 += g2); } } const b2 = i3.tags && i3.tags.indexOf(1) >= 0; - c2.push({index: e3, kind: i3.kind, score: p2, label: d3, ariaLabel: r3, description: u3, highlights: b2 ? void 0 : {label: m2, description: f2}, range: {selection: ge.a.collapseToStart(i3.selectionRange), decoration: i3.range}, strikethrough: b2, buttons: (() => { + c2.push({index: e3, kind: i3.kind, score: p2, label: d3, ariaLabel: r3, description: u2, highlights: b2 ? void 0 : {label: m2, description: f2}, range: {selection: ge.a.collapseToStart(i3.selectionRange), decoration: i3.range}, strikethrough: b2, buttons: (() => { var e4, t3; - const n3 = (null === (e4 = this.options) || void 0 === e4 ? void 0 : e4.openSideBySideDirection) ? null === (t3 = this.options) || void 0 === t3 ? void 0 : t3.openSideBySideDirection() : void 0; + const n3 = ((e4 = this.options) === null || e4 === void 0 ? void 0 : e4.openSideBySideDirection) ? (t3 = this.options) === null || t3 === void 0 ? void 0 : t3.openSideBySideDirection() : void 0; if (n3) - return [{iconClass: "right" === n3 ? Y.a.splitHorizontal.classNames : Y.a.splitVertical.classNames, tooltip: "right" === n3 ? Object(U.a)("openToSide", "Open to the Side") : Object(U.a)("openToBottom", "Open to the Bottom")}]; + return [{iconClass: n3 === "right" ? Y.a.splitHorizontal.classNames : Y.a.splitVertical.classNames, tooltip: n3 === "right" ? Object(U.a)("openToSide", "Open to the Side") : Object(U.a)("openToBottom", "Open to the Bottom")}]; })()}); } const d2 = c2.sort((e3, t3) => r2 ? this.compareByKindAndScore(e3, t3) : this.compareByScore(e3, t3)); let h2 = []; if (r2) { + let u2 = function() { + t3 && typeof e3 == "number" && n3 > 0 && (t3.label = Object(Ye.x)(Xg[e3] || Zg, n3)); + }; let e3 = void 0, t3 = void 0, n3 = 0; - function u2() { - t3 && "number" == typeof e3 && n3 > 0 && (t3.label = Object(Ye.x)(Xg[e3] || Zg, n3)); - } for (const i3 of d2) e3 !== i3.kind ? (u2(), e3 = i3.kind, n3 = 1, t3 = {type: "separator"}, h2.push(t3)) : n3++, h2.push(i3); u2(); @@ -73243,11 +73243,11 @@ ${Object(zn.b)(wi)} }); } compareByScore(e2, t2) { - if ("number" != typeof e2.score && "number" == typeof t2.score) + if (typeof e2.score != "number" && typeof t2.score == "number") return 1; - if ("number" == typeof e2.score && "number" != typeof t2.score) + if (typeof e2.score == "number" && typeof t2.score != "number") return -1; - if ("number" == typeof e2.score && "number" == typeof t2.score) { + if (typeof e2.score == "number" && typeof t2.score == "number") { if (e2.score > t2.score) return -1; if (e2.score < t2.score) @@ -73257,7 +73257,7 @@ ${Object(zn.b)(wi)} } compareByKindAndScore(e2, t2) { const n2 = Xg[e2.kind] || Zg, i2 = Xg[t2.kind] || Zg, o2 = n2.localeCompare(i2); - return 0 === o2 ? this.compareByScore(e2, t2) : o2; + return o2 === 0 ? this.compareByScore(e2, t2) : o2; } getDocumentSymbols(e2, t2, n2) { return Gg(this, void 0, void 0, function* () { @@ -73279,8 +73279,8 @@ ${Object(zn.b)(wi)} Yg.PREFIX = "@", Yg.SCOPE_PREFIX = ":", Yg.PREFIX_BY_CATEGORY = `${Yg.PREFIX}${Yg.SCOPE_PREFIX}`; const Zg = Object(U.a)("property", "properties ({0})"), Xg = {5: Object(U.a)("method", "methods ({0})"), 11: Object(U.a)("function", "functions ({0})"), 8: Object(U.a)("_constructor", "constructors ({0})"), 12: Object(U.a)("variable", "variables ({0})"), 4: Object(U.a)("class", "classes ({0})"), 22: Object(U.a)("struct", "structs ({0})"), 23: Object(U.a)("event", "events ({0})"), 24: Object(U.a)("operator", "operators ({0})"), 10: Object(U.a)("interface", "interfaces ({0})"), 2: Object(U.a)("namespace", "namespaces ({0})"), 3: Object(U.a)("package", "packages ({0})"), 25: Object(U.a)("typeParameter", "type parameters ({0})"), 1: Object(U.a)("modules", "modules ({0})"), 6: Object(U.a)("property", "properties ({0})"), 9: Object(U.a)("enum", "enumerations ({0})"), 21: Object(U.a)("enumMember", "enumeration members ({0})"), 14: Object(U.a)("string", "strings ({0})"), 0: Object(U.a)("file", "files ({0})"), 17: Object(U.a)("array", "arrays ({0})"), 15: Object(U.a)("number", "numbers ({0})"), 16: Object(U.a)("boolean", "booleans ({0})"), 18: Object(U.a)("object", "objects ({0})"), 19: Object(U.a)("key", "keys ({0})"), 7: Object(U.a)("field", "fields ({0})"), 13: Object(U.a)("constant", "constants ({0})")}; var Qg = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -73348,22 +73348,22 @@ ${Object(zn.b)(wi)} provide(e2, t2) { var n2; const i2 = new pe.b(); - e2.canAcceptInBackground = !!(null === (n2 = this.options) || void 0 === n2 ? void 0 : n2.canAcceptInBackground), e2.matchOnLabel = e2.matchOnDescription = e2.matchOnDetail = e2.sortByLabel = false; + e2.canAcceptInBackground = !!((n2 = this.options) === null || n2 === void 0 ? void 0 : n2.canAcceptInBackground), e2.matchOnLabel = e2.matchOnDescription = e2.matchOnDetail = e2.sortByLabel = false; let o2 = void 0; const r2 = i2.add(new pe.d()), s2 = () => of(this, void 0, void 0, function* () { const n3 = r2.value = new pe.b(); - null == o2 || o2.dispose(true), e2.busy = false, o2 = new Xe.b(t2); + o2 == null || o2.dispose(true), e2.busy = false, o2 = new Xe.b(t2); const i3 = o2.token, s3 = e2.value.substr(this.prefix.length).trim(), a2 = this.getPicks(s3, n3, i3), l2 = (t3, n4) => { var i4; let o3, r3 = void 0; - if (rf(t3) ? (o3 = t3.items, r3 = t3.active) : o3 = t3, 0 === o3.length) { + if (rf(t3) ? (o3 = t3.items, r3 = t3.active) : o3 = t3, o3.length === 0) { if (n4) return false; - s3.length > 0 && (null === (i4 = this.options) || void 0 === i4 ? void 0 : i4.noResultsPick) && (o3 = [this.options.noResultsPick]); + s3.length > 0 && ((i4 = this.options) === null || i4 === void 0 ? void 0 : i4.noResultsPick) && (o3 = [this.options.noResultsPick]); } return e2.items = o3, r3 && (e2.activeItems = [r3]), true; }; - if (null === a2) + if (a2 === null) ; else if (function(e3) { const t3 = e3; @@ -73385,7 +73385,7 @@ ${Object(zn.b)(wi)} let t4 = void 0; if (!c2 && !d2) { const n5 = e2.activeItems[0]; - n5 && -1 !== r3.indexOf(n5) && (t4 = n5); + n5 && r3.indexOf(n5) !== -1 && (t4 = n5); } l2({items: [...r3, ...s4], active: c2 || d2 || t4}); } @@ -73408,13 +73408,13 @@ ${Object(zn.b)(wi)} }); return i2.add(e2.onDidChangeValue(() => s2())), s2(), i2.add(e2.onDidAccept((t3) => { const [n3] = e2.selectedItems; - "function" == typeof (null == n3 ? void 0 : n3.accept) && (t3.inBackground || e2.hide(), n3.accept(e2.keyMods, t3)); + typeof (n3 == null ? void 0 : n3.accept) == "function" && (t3.inBackground || e2.hide(), n3.accept(e2.keyMods, t3)); })), i2.add(e2.onDidTriggerItemButton(({button: n3, item: i3}) => of(this, void 0, void 0, function* () { var o3, r3; - if ("function" == typeof i3.trigger) { - const a2 = null !== (r3 = null === (o3 = i3.buttons) || void 0 === o3 ? void 0 : o3.indexOf(n3)) && void 0 !== r3 ? r3 : -1; + if (typeof i3.trigger == "function") { + const a2 = (r3 = (o3 = i3.buttons) === null || o3 === void 0 ? void 0 : o3.indexOf(n3)) !== null && r3 !== void 0 ? r3 : -1; if (a2 >= 0) { - const n4 = i3.trigger(a2, e2.keyMods), o4 = "number" == typeof n4 ? n4 : yield n4; + const n4 = i3.trigger(a2, e2.keyMods), o4 = typeof n4 == "number" ? n4 : yield n4; if (t2.isCancellationRequested) return; switch (o4) { @@ -73428,7 +73428,7 @@ ${Object(zn.b)(wi)} break; case nf.REMOVE_ITEM: const t3 = e2.items.indexOf(i3); - if (-1 !== t3) { + if (t3 !== -1) { const n5 = e2.items.slice(); n5.splice(t3, 1), e2.items = n5; } @@ -73445,7 +73445,7 @@ ${Object(zn.b)(wi)} return Array.isArray(e2) ? e2.join("\n") : e2; } function cf(e2) { - return "string" == typeof e2.code && "number" == typeof e2.errno && "string" == typeof e2.syscall ? U.a("nodeExceptionMessage", "A system error occurred ({0})", e2.message) : e2.message || U.a("error.defaultMessage", "An unknown error occurred. Please consult the log for more details."); + return typeof e2.code == "string" && typeof e2.errno == "number" && typeof e2.syscall == "string" ? U.a("nodeExceptionMessage", "A system error occurred ({0})", e2.message) : e2.message || U.a("error.defaultMessage", "An unknown error occurred. Please consult the log for more details."); } function df(e2 = null, t2 = false) { if (!e2) @@ -73467,8 +73467,8 @@ ${Object(zn.b)(wi)} } sf.FAST_PICKS_RACE_DELAY = 200; var hf = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -73530,7 +73530,7 @@ ${Object(zn.b)(wi)} let l2 = false; for (let e3 = 0; e3 < r2.length; e3++) { const t3 = r2[e3], n3 = this.keybindingService.lookupKeybinding(t3.commandId), i3 = n3 ? Object(U.a)("commandPickAriaLabelWithKeybinding", "{0}, {1}", t3.label, n3.getAriaLabel()) : t3.label; - 0 === e3 && this.commandsHistory.peek(t3.commandId) && (a2.push({type: "separator", label: Object(U.a)("recentlyUsed", "recently used")}), l2 = true), 0 !== e3 && l2 && !this.commandsHistory.peek(t3.commandId) && (a2.push({type: "separator", label: Object(U.a)("morecCommands", "other commands")}), l2 = false), a2.push(Object.assign(Object.assign({}, t3), {ariaLabel: i3, detail: this.options.showAlias && t3.commandAlias !== t3.label ? t3.commandAlias : void 0, keybinding: n3, accept: () => pf(this, void 0, void 0, function* () { + e3 === 0 && this.commandsHistory.peek(t3.commandId) && (a2.push({type: "separator", label: Object(U.a)("recentlyUsed", "recently used")}), l2 = true), e3 !== 0 && l2 && !this.commandsHistory.peek(t3.commandId) && (a2.push({type: "separator", label: Object(U.a)("morecCommands", "other commands")}), l2 = false), a2.push(Object.assign(Object.assign({}, t3), {ariaLabel: i3, detail: this.options.showAlias && t3.commandAlias !== t3.label ? t3.commandAlias : void 0, keybinding: n3, accept: () => pf(this, void 0, void 0, function* () { this.commandsHistory.push(t3.commandId), this.telemetryService.publicLog2("workbenchActionExecuted", {id: t3.commandId, from: "quick open"}); try { yield this.commandService.executeCommand(t3.commandId); @@ -73574,7 +73574,7 @@ ${Object(zn.b)(wi)} } peek(t2) { var n2; - return null === (n2 = e2.cache) || void 0 === n2 ? void 0 : n2.peek(t2); + return (n2 = e2.cache) === null || n2 === void 0 ? void 0 : n2.peek(t2); } static saveState(t2) { if (!e2.cache) @@ -73584,8 +73584,8 @@ ${Object(zn.b)(wi)} } static getConfiguredCommandHistoryLength(t2) { var n2, i2; - const o2 = null === (i2 = null === (n2 = t2.getValue().workbench) || void 0 === n2 ? void 0 : n2.commandPalette) || void 0 === i2 ? void 0 : i2.history; - return "number" == typeof o2 ? o2 : e2.DEFAULT_COMMANDS_HISTORY_LENGTH; + const o2 = (i2 = (n2 = t2.getValue().workbench) === null || n2 === void 0 ? void 0 : n2.commandPalette) === null || i2 === void 0 ? void 0 : i2.history; + return typeof o2 == "number" ? o2 : e2.DEFAULT_COMMANDS_HISTORY_LENGTH; } }; gf.DEFAULT_COMMANDS_HISTORY_LENGTH = 50, gf.PREF_KEY_CACHE = "commandPalette.mru.cache", gf.PREF_KEY_COUNTER = "commandPalette.mru.counter", gf.counter = 1, gf = hf([uf(0, fn.a), uf(1, On.a), uf(2, Wo.a)], gf); @@ -73604,8 +73604,8 @@ ${Object(zn.b)(wi)} } } var bf = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -73664,8 +73664,8 @@ ${Object(zn.b)(wi)} } Object(V.k)(yf); var Cf = function(e2, t2, n2, i2) { - var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : null === i2 ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) + var o2, r2 = arguments.length, s2 = r2 < 3 ? t2 : i2 === null ? i2 = Object.getOwnPropertyDescriptor(t2, n2) : i2; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s2 = Reflect.decorate(e2, t2, n2, i2); else for (var a2 = e2.length - 1; a2 >= 0; a2--) @@ -73881,7 +73881,7 @@ ${Object(zn.b)(wi)} }), n.d(t, "language", function() { return o; }); - var i = {brackets: [["{", "}"], ["[", "]"], ["(", ")"]], autoClosingPairs: [{open: "{", close: "}"}, {open: "[", close: "]"}, {open: "(", close: ")"}, {open: '"', close: '"'}, {open: "'", close: "'"}], surroundingPairs: [{open: "{", close: "}"}, {open: "[", close: "]"}, {open: "(", close: ")"}, {open: '"', close: '"'}, {open: "'", close: "'"}]}, o = {tokenPostfix: ".julia", keywords: ["begin", "while", "if", "for", "try", "return", "break", "continue", "function", "macro", "quote", "let", "local", "global", "const", "do", "struct", "module", "baremodule", "using", "import", "export", "end", "else", "elseif", "catch", "finally", "mutable", "primitive", "abstract", "type", "in", "isa", "where", "new"], types: ["LinRange", "LineNumberNode", "LinearIndices", "LoadError", "MIME", "Matrix", "Method", "MethodError", "Missing", "MissingException", "Module", "NTuple", "NamedTuple", "Nothing", "Number", "OrdinalRange", "OutOfMemoryError", "OverflowError", "Pair", "PartialQuickSort", "PermutedDimsArray", "Pipe", "Ptr", "QuoteNode", "Rational", "RawFD", "ReadOnlyMemoryError", "Real", "ReentrantLock", "Ref", "Regex", "RegexMatch", "RoundingMode", "SegmentationFault", "Set", "Signed", "Some", "StackOverflowError", "StepRange", "StepRangeLen", "StridedArray", "StridedMatrix", "StridedVecOrMat", "StridedVector", "String", "StringIndexError", "SubArray", "SubString", "SubstitutionString", "Symbol", "SystemError", "Task", "Text", "TextDisplay", "Timer", "Tuple", "Type", "TypeError", "TypeVar", "UInt", "UInt128", "UInt16", "UInt32", "UInt64", "UInt8", "UndefInitializer", "AbstractArray", "UndefKeywordError", "AbstractChannel", "UndefRefError", "AbstractChar", "UndefVarError", "AbstractDict", "Union", "AbstractDisplay", "UnionAll", "AbstractFloat", "UnitRange", "AbstractIrrational", "Unsigned", "AbstractMatrix", "AbstractRange", "Val", "AbstractSet", "Vararg", "AbstractString", "VecElement", "AbstractUnitRange", "VecOrMat", "AbstractVecOrMat", "Vector", "AbstractVector", "VersionNumber", "Any", "WeakKeyDict", "ArgumentError", "WeakRef", "Array", "AssertionError", "BigFloat", "BigInt", "BitArray", "BitMatrix", "BitSet", "BitVector", "Bool", "BoundsError", "CapturedException", "CartesianIndex", "CartesianIndices", "Cchar", "Cdouble", "Cfloat", "Channel", "Char", "Cint", "Cintmax_t", "Clong", "Clonglong", "Cmd", "Colon", "Complex", "ComplexF16", "ComplexF32", "ComplexF64", "CompositeException", "Condition", "Cptrdiff_t", "Cshort", "Csize_t", "Cssize_t", "Cstring", "Cuchar", "Cuint", "Cuintmax_t", "Culong", "Culonglong", "Cushort", "Cvoid", "Cwchar_t", "Cwstring", "DataType", "DenseArray", "DenseMatrix", "DenseVecOrMat", "DenseVector", "Dict", "DimensionMismatch", "Dims", "DivideError", "DomainError", "EOFError", "Enum", "ErrorException", "Exception", "ExponentialBackOff", "Expr", "Float16", "Float32", "Float64", "Function", "GlobalRef", "HTML", "IO", "IOBuffer", "IOContext", "IOStream", "IdDict", "IndexCartesian", "IndexLinear", "IndexStyle", "InexactError", "InitError", "Int", "Int128", "Int16", "Int32", "Int64", "Int8", "Integer", "InterruptException", "InvalidStateException", "Irrational", "KeyError"], keywordops: ["<:", ">:", ":", "=>", "...", ".", "->", "?"], allops: /[^\w\d\s()\[\]{}"'#]+/, constants: ["true", "false", "nothing", "missing", "undef", "Inf", "pi", "NaN", "π", "ℯ", "ans", "PROGRAM_FILE", "ARGS", "C_NULL", "VERSION", "DEPOT_PATH", "LOAD_PATH"], operators: ["!", "!=", "!==", "%", "&", "*", "+", "-", "/", "//", "<", "<<", "<=", "==", "===", "=>", ">", ">=", ">>", ">>>", "\\", "^", "|", "|>", "~", "÷", "∈", "∉", "∋", "∌", "∘", "√", "∛", "∩", "∪", "≈", "≉", "≠", "≡", "≢", "≤", "≥", "⊆", "⊇", "⊈", "⊉", "⊊", "⊋", "⊻"], brackets: [{open: "(", close: ")", token: "delimiter.parenthesis"}, {open: "{", close: "}", token: "delimiter.curly"}, {open: "[", close: "]", token: "delimiter.square"}], ident: /π|ℯ|\b(?!\d)\w+\b/, escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/, escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/, tokenizer: {root: [[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"], [/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", {token: "", next: "@typeanno"}]], [/\b(type|struct)[ \t]+/, "keyword", "@typeanno"], [/^\s*:@ident[!?]?/, "metatag"], [/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]], [/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]], [/:\(/, "metatag", "@quote"], [/r"""/, "regexp.delim", "@tregexp"], [/r"/, "regexp.delim", "@sregexp"], [/raw"""/, "string.delim", "@rtstring"], [/[bv]?"""/, "string.delim", "@dtstring"], [/raw"/, "string.delim", "@rsstring"], [/[bv]?"/, "string.delim", "@dsstring"], [/(@ident)\{/, {cases: {"$1@types": {token: "type", next: "@gen"}, "@default": {token: "type", next: "@gen"}}}], [/@ident[!?'']?(?=\.?\()/, {cases: {"@types": "type", "@keywords": "keyword", "@constants": "variable", "@default": "keyword.flow"}}], [/@ident[!?']?/, {cases: {"@types": "type", "@keywords": "keyword", "@constants": "variable", "@default": "identifier"}}], [/\$\w+/, "key"], [/\$\(/, "key", "@paste"], [/@@ident/, "annotation"], {include: "@whitespace"}, [/'(?:@escapes|.)'/, "string.character"], [/[()\[\]{}]/, "@brackets"], [/@allops/, {cases: {"@keywordops": "keyword", "@operators": "operator"}}], [/[;,]/, "delimiter"], [/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"], [/0[_oO][0-7](_?[0-7])*/, "number.octal"], [/0[bB][01](_?[01])*/, "number.binary"], [/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]], typeanno: [[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"], [/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]], [/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"], ["", "", "@pop"]], gen: [[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"], [/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"], [/<:/, "keyword"], [/(\})(\s*<:\s*)/, ["type", {token: "keyword", next: "@pop"}]], [/\}/, "type", "@pop"], {include: "@root"}], quote: [[/\$\(/, "key", "@paste"], [/\(/, "@brackets", "@paren"], [/\)/, "metatag", "@pop"], {include: "@root"}], paste: [[/:\(/, "metatag", "@quote"], [/\(/, "@brackets", "@paren"], [/\)/, "key", "@pop"], {include: "@root"}], paren: [[/\$\(/, "key", "@paste"], [/:\(/, "metatag", "@quote"], [/\(/, "@brackets", "@push"], [/\)/, "@brackets", "@pop"], {include: "@root"}], sregexp: [[/^.*/, "invalid"], [/[^\\"()\[\]{}]/, "regexp"], [/[()\[\]{}]/, "@brackets"], [/\\./, "operator.scss"], [/"[imsx]*/, "regexp.delim", "@pop"]], tregexp: [[/[^\\"()\[\]{}]/, "regexp"], [/[()\[\]{}]/, "@brackets"], [/\\./, "operator.scss"], [/"(?!"")/, "string"], [/"""[imsx]*/, "regexp.delim", "@pop"]], rsstring: [[/^.*/, "invalid"], [/[^\\"]/, "string"], [/\\./, "string.escape"], [/"/, "string.delim", "@pop"]], rtstring: [[/[^\\"]/, "string"], [/\\./, "string.escape"], [/"(?!"")/, "string"], [/"""/, "string.delim", "@pop"]], dsstring: [[/^.*/, "invalid"], [/[^\\"\$]/, "string"], [/\$/, "", "@interpolated"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/"/, "string.delim", "@pop"]], dtstring: [[/[^\\"\$]/, "string"], [/\$/, "", "@interpolated"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/"(?!"")/, "string"], [/"""/, "string.delim", "@pop"]], interpolated: [[/\(/, {token: "", switchTo: "@interpolated_compound"}], [/[a-zA-Z_]\w*/, "identifier"], ["", "", "@pop"]], interpolated_compound: [[/\)/, "", "@pop"], {include: "@root"}], whitespace: [[/[ \t\r\n]+/, ""], [/#=/, "comment", "@multi_comment"], [/#.*$/, "comment"]], multi_comment: [[/#=/, "comment", "@push"], [/=#/, "comment", "@pop"], [/=(?!#)|#(?!=)/, "comment"], [/[^#=]+/, "comment"]]}}; + var i = {brackets: [["{", "}"], ["[", "]"], ["(", ")"]], autoClosingPairs: [{open: "{", close: "}"}, {open: "[", close: "]"}, {open: "(", close: ")"}, {open: '"', close: '"'}, {open: "'", close: "'"}], surroundingPairs: [{open: "{", close: "}"}, {open: "[", close: "]"}, {open: "(", close: ")"}, {open: '"', close: '"'}, {open: "'", close: "'"}]}, o = {tokenPostfix: ".julia", keywords: ["begin", "while", "if", "for", "try", "return", "break", "continue", "function", "macro", "quote", "let", "local", "global", "const", "do", "struct", "module", "baremodule", "using", "import", "export", "end", "else", "elseif", "catch", "finally", "mutable", "primitive", "abstract", "type", "in", "isa", "where", "new"], types: ["LinRange", "LineNumberNode", "LinearIndices", "LoadError", "MIME", "Matrix", "Method", "MethodError", "Missing", "MissingException", "Module", "NTuple", "NamedTuple", "Nothing", "Number", "OrdinalRange", "OutOfMemoryError", "OverflowError", "Pair", "PartialQuickSort", "PermutedDimsArray", "Pipe", "Ptr", "QuoteNode", "Rational", "RawFD", "ReadOnlyMemoryError", "Real", "ReentrantLock", "Ref", "Regex", "RegexMatch", "RoundingMode", "SegmentationFault", "Set", "Signed", "Some", "StackOverflowError", "StepRange", "StepRangeLen", "StridedArray", "StridedMatrix", "StridedVecOrMat", "StridedVector", "String", "StringIndexError", "SubArray", "SubString", "SubstitutionString", "Symbol", "SystemError", "Task", "Text", "TextDisplay", "Timer", "Tuple", "Type", "TypeError", "TypeVar", "UInt", "UInt128", "UInt16", "UInt32", "UInt64", "UInt8", "UndefInitializer", "AbstractArray", "UndefKeywordError", "AbstractChannel", "UndefRefError", "AbstractChar", "UndefVarError", "AbstractDict", "Union", "AbstractDisplay", "UnionAll", "AbstractFloat", "UnitRange", "AbstractIrrational", "Unsigned", "AbstractMatrix", "AbstractRange", "Val", "AbstractSet", "Vararg", "AbstractString", "VecElement", "AbstractUnitRange", "VecOrMat", "AbstractVecOrMat", "Vector", "AbstractVector", "VersionNumber", "Any", "WeakKeyDict", "ArgumentError", "WeakRef", "Array", "AssertionError", "BigFloat", "BigInt", "BitArray", "BitMatrix", "BitSet", "BitVector", "Bool", "BoundsError", "CapturedException", "CartesianIndex", "CartesianIndices", "Cchar", "Cdouble", "Cfloat", "Channel", "Char", "Cint", "Cintmax_t", "Clong", "Clonglong", "Cmd", "Colon", "Complex", "ComplexF16", "ComplexF32", "ComplexF64", "CompositeException", "Condition", "Cptrdiff_t", "Cshort", "Csize_t", "Cssize_t", "Cstring", "Cuchar", "Cuint", "Cuintmax_t", "Culong", "Culonglong", "Cushort", "Cvoid", "Cwchar_t", "Cwstring", "DataType", "DenseArray", "DenseMatrix", "DenseVecOrMat", "DenseVector", "Dict", "DimensionMismatch", "Dims", "DivideError", "DomainError", "EOFError", "Enum", "ErrorException", "Exception", "ExponentialBackOff", "Expr", "Float16", "Float32", "Float64", "Function", "GlobalRef", "HTML", "IO", "IOBuffer", "IOContext", "IOStream", "IdDict", "IndexCartesian", "IndexLinear", "IndexStyle", "InexactError", "InitError", "Int", "Int128", "Int16", "Int32", "Int64", "Int8", "Integer", "InterruptException", "InvalidStateException", "Irrational", "KeyError"], keywordops: ["<:", ">:", ":", "=>", "...", ".", "->", "?"], allops: /[^\w\d\s()\[\]{}"'#]+/, constants: ["true", "false", "nothing", "missing", "undef", "Inf", "pi", "NaN", "\u03C0", "\u212F", "ans", "PROGRAM_FILE", "ARGS", "C_NULL", "VERSION", "DEPOT_PATH", "LOAD_PATH"], operators: ["!", "!=", "!==", "%", "&", "*", "+", "-", "/", "//", "<", "<<", "<=", "==", "===", "=>", ">", ">=", ">>", ">>>", "\\", "^", "|", "|>", "~", "\xF7", "\u2208", "\u2209", "\u220B", "\u220C", "\u2218", "\u221A", "\u221B", "\u2229", "\u222A", "\u2248", "\u2249", "\u2260", "\u2261", "\u2262", "\u2264", "\u2265", "\u2286", "\u2287", "\u2288", "\u2289", "\u228A", "\u228B", "\u22BB"], brackets: [{open: "(", close: ")", token: "delimiter.parenthesis"}, {open: "{", close: "}", token: "delimiter.curly"}, {open: "[", close: "]", token: "delimiter.square"}], ident: /π|ℯ|\b(?!\d)\w+\b/, escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/, escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/, tokenizer: {root: [[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"], [/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", {token: "", next: "@typeanno"}]], [/\b(type|struct)[ \t]+/, "keyword", "@typeanno"], [/^\s*:@ident[!?]?/, "metatag"], [/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]], [/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]], [/:\(/, "metatag", "@quote"], [/r"""/, "regexp.delim", "@tregexp"], [/r"/, "regexp.delim", "@sregexp"], [/raw"""/, "string.delim", "@rtstring"], [/[bv]?"""/, "string.delim", "@dtstring"], [/raw"/, "string.delim", "@rsstring"], [/[bv]?"/, "string.delim", "@dsstring"], [/(@ident)\{/, {cases: {"$1@types": {token: "type", next: "@gen"}, "@default": {token: "type", next: "@gen"}}}], [/@ident[!?'']?(?=\.?\()/, {cases: {"@types": "type", "@keywords": "keyword", "@constants": "variable", "@default": "keyword.flow"}}], [/@ident[!?']?/, {cases: {"@types": "type", "@keywords": "keyword", "@constants": "variable", "@default": "identifier"}}], [/\$\w+/, "key"], [/\$\(/, "key", "@paste"], [/@@ident/, "annotation"], {include: "@whitespace"}, [/'(?:@escapes|.)'/, "string.character"], [/[()\[\]{}]/, "@brackets"], [/@allops/, {cases: {"@keywordops": "keyword", "@operators": "operator"}}], [/[;,]/, "delimiter"], [/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"], [/0[_oO][0-7](_?[0-7])*/, "number.octal"], [/0[bB][01](_?[01])*/, "number.binary"], [/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]], typeanno: [[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"], [/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]], [/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"], ["", "", "@pop"]], gen: [[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"], [/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"], [/<:/, "keyword"], [/(\})(\s*<:\s*)/, ["type", {token: "keyword", next: "@pop"}]], [/\}/, "type", "@pop"], {include: "@root"}], quote: [[/\$\(/, "key", "@paste"], [/\(/, "@brackets", "@paren"], [/\)/, "metatag", "@pop"], {include: "@root"}], paste: [[/:\(/, "metatag", "@quote"], [/\(/, "@brackets", "@paren"], [/\)/, "key", "@pop"], {include: "@root"}], paren: [[/\$\(/, "key", "@paste"], [/:\(/, "metatag", "@quote"], [/\(/, "@brackets", "@push"], [/\)/, "@brackets", "@pop"], {include: "@root"}], sregexp: [[/^.*/, "invalid"], [/[^\\"()\[\]{}]/, "regexp"], [/[()\[\]{}]/, "@brackets"], [/\\./, "operator.scss"], [/"[imsx]*/, "regexp.delim", "@pop"]], tregexp: [[/[^\\"()\[\]{}]/, "regexp"], [/[()\[\]{}]/, "@brackets"], [/\\./, "operator.scss"], [/"(?!"")/, "string"], [/"""[imsx]*/, "regexp.delim", "@pop"]], rsstring: [[/^.*/, "invalid"], [/[^\\"]/, "string"], [/\\./, "string.escape"], [/"/, "string.delim", "@pop"]], rtstring: [[/[^\\"]/, "string"], [/\\./, "string.escape"], [/"(?!"")/, "string"], [/"""/, "string.delim", "@pop"]], dsstring: [[/^.*/, "invalid"], [/[^\\"\$]/, "string"], [/\$/, "", "@interpolated"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/"/, "string.delim", "@pop"]], dtstring: [[/[^\\"\$]/, "string"], [/\$/, "", "@interpolated"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/"(?!"")/, "string"], [/"""/, "string.delim", "@pop"]], interpolated: [[/\(/, {token: "", switchTo: "@interpolated_compound"}], [/[a-zA-Z_]\w*/, "identifier"], ["", "", "@pop"]], interpolated_compound: [[/\)/, "", "@pop"], {include: "@root"}], whitespace: [[/[ \t\r\n]+/, ""], [/#=/, "comment", "@multi_comment"], [/#.*$/, "comment"]], multi_comment: [[/#=/, "comment", "@push"], [/=#/, "comment", "@pop"], [/=(?!#)|#(?!=)/, "comment"], [/[^#=]+/, "comment"]]}}; }, function(e, t, n) { "use strict"; n.r(t), n.d(t, "conf", function() { @@ -74161,7 +74161,7 @@ ${Object(zn.b)(wi)} }), n.d(t, "language", function() { return o; }); - var i = {comments: {lineComment: "//", blockComment: ["(*", "*)"]}, brackets: [["{", "}"], ["[", "]"], ["(", ")"], ["var", "end_var"], ["var_input", "end_var"], ["var_output", "end_var"], ["var_in_out", "end_var"], ["var_temp", "end_var"], ["var_global", "end_var"], ["var_access", "end_var"], ["var_external", "end_var"], ["type", "end_type"], ["struct", "end_struct"], ["program", "end_program"], ["function", "end_function"], ["function_block", "end_function_block"], ["action", "end_action"], ["step", "end_step"], ["initial_step", "end_step"], ["transaction", "end_transaction"], ["configuration", "end_configuration"], ["tcp", "end_tcp"], ["recource", "end_recource"], ["channel", "end_channel"], ["library", "end_library"], ["folder", "end_folder"], ["binaries", "end_binaries"], ["includes", "end_includes"], ["sources", "end_sources"]], autoClosingPairs: [{open: "[", close: "]"}, {open: "{", close: "}"}, {open: "(", close: ")"}, {open: "/*", close: "*/"}, {open: "'", close: "'", notIn: ["string_sq"]}, {open: '"', close: '"', notIn: ["string_dq"]}, {open: "var_input", close: "end_var"}, {open: "var_output", close: "end_var"}, {open: "var_in_out", close: "end_var"}, {open: "var_temp", close: "end_var"}, {open: "var_global", close: "end_var"}, {open: "var_access", close: "end_var"}, {open: "var_external", close: "end_var"}, {open: "type", close: "end_type"}, {open: "struct", close: "end_struct"}, {open: "program", close: "end_program"}, {open: "function", close: "end_function"}, {open: "function_block", close: "end_function_block"}, {open: "action", close: "end_action"}, {open: "step", close: "end_step"}, {open: "initial_step", close: "end_step"}, {open: "transaction", close: "end_transaction"}, {open: "configuration", close: "end_configuration"}, {open: "tcp", close: "end_tcp"}, {open: "recource", close: "end_recource"}, {open: "channel", close: "end_channel"}, {open: "library", close: "end_library"}, {open: "folder", close: "end_folder"}, {open: "binaries", close: "end_binaries"}, {open: "includes", close: "end_includes"}, {open: "sources", close: "end_sources"}], surroundingPairs: [{open: "{", close: "}"}, {open: "[", close: "]"}, {open: "(", close: ")"}, {open: '"', close: '"'}, {open: "'", close: "'"}, {open: "var", close: "end_var"}, {open: "var_input", close: "end_var"}, {open: "var_output", close: "end_var"}, {open: "var_in_out", close: "end_var"}, {open: "var_temp", close: "end_var"}, {open: "var_global", close: "end_var"}, {open: "var_access", close: "end_var"}, {open: "var_external", close: "end_var"}, {open: "type", close: "end_type"}, {open: "struct", close: "end_struct"}, {open: "program", close: "end_program"}, {open: "function", close: "end_function"}, {open: "function_block", close: "end_function_block"}, {open: "action", close: "end_action"}, {open: "step", close: "end_step"}, {open: "initial_step", close: "end_step"}, {open: "transaction", close: "end_transaction"}, {open: "configuration", close: "end_configuration"}, {open: "tcp", close: "end_tcp"}, {open: "recource", close: "end_recource"}, {open: "channel", close: "end_channel"}, {open: "library", close: "end_library"}, {open: "folder", close: "end_folder"}, {open: "binaries", close: "end_binaries"}, {open: "includes", close: "end_includes"}, {open: "sources", close: "end_sources"}], folding: {markers: {start: new RegExp("^\\s*#pragma\\s+region\\b"), end: new RegExp("^\\s*#pragma\\s+endregion\\b")}}}, o = {defaultToken: "", tokenPostfix: ".st", ignoreCase: true, brackets: [{token: "delimiter.curly", open: "{", close: "}"}, {token: "delimiter.parenthesis", open: "(", close: ")"}, {token: "delimiter.square", open: "[", close: "]"}], keywords: ["if", "end_if", "elsif", "else", "case", "of", "to", "__try", "__catch", "__finally", "do", "with", "by", "while", "repeat", "end_while", "end_repeat", "end_case", "for", "end_for", "task", "retain", "non_retain", "constant", "with", "at", "exit", "return", "interval", "priority", "address", "port", "on_channel", "then", "iec", "file", "uses", "version", "packagetype", "displayname", "copyright", "summary", "vendor", "common_source", "from", "extends"], constant: ["false", "true", "null"], defineKeywords: ["var", "var_input", "var_output", "var_in_out", "var_temp", "var_global", "var_access", "var_external", "end_var", "type", "end_type", "struct", "end_struct", "program", "end_program", "function", "end_function", "function_block", "end_function_block", "interface", "end_interface", "method", "end_method", "property", "end_property", "namespace", "end_namespace", "configuration", "end_configuration", "tcp", "end_tcp", "resource", "end_resource", "channel", "end_channel", "library", "end_library", "folder", "end_folder", "binaries", "end_binaries", "includes", "end_includes", "sources", "end_sources", "action", "end_action", "step", "initial_step", "end_step", "transaction", "end_transaction"], typeKeywords: ["int", "sint", "dint", "lint", "usint", "uint", "udint", "ulint", "real", "lreal", "time", "date", "time_of_day", "date_and_time", "string", "bool", "byte", "word", "dword", "array", "pointer", "lword"], operators: ["=", ">", "<", ":", ":=", "<=", ">=", "<>", "&", "+", "-", "*", "**", "MOD", "^", "or", "and", "not", "xor", "abs", "acos", "asin", "atan", "cos", "exp", "expt", "ln", "log", "sin", "sqrt", "tan", "sel", "max", "min", "limit", "mux", "shl", "shr", "rol", "ror", "indexof", "sizeof", "adr", "adrinst", "bitadr", "is_valid", "ref", "ref_to"], builtinVariables: [], builtinFunctions: ["sr", "rs", "tp", "ton", "tof", "eq", "ge", "le", "lt", "ne", "round", "trunc", "ctd", "сtu", "ctud", "r_trig", "f_trig", "move", "concat", "delete", "find", "insert", "left", "len", "replace", "right", "rtc"], symbols: /[=><!~?:&|+\-*\/\^%]+/, escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/, tokenizer: {root: [[/(\.\.)/, "delimiter"], [/\b(16#[0-9A-Fa-f\_]*)+\b/, "number.hex"], [/\b(2#[01\_]+)+\b/, "number.binary"], [/\b(8#[0-9\_]*)+\b/, "number.octal"], [/\b\d*\.\d+([eE][\-+]?\d+)?\b/, "number.float"], [/\b(L?REAL)#[0-9\_\.e]+\b/, "number.float"], [/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/, "number"], [/\d+/, "number"], [/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/, "tag"], [/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/, "tag"], [/\%(I|Q|M)[0-9\.]*/, "tag"], [/\b[A-Za-z]{1,6}#[0-9]+\b/, "tag"], [/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/, "predefined"], [/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/, "predefined"], [/[;]/, "delimiter"], [/[.]/, {token: "delimiter", next: "@params"}], [/[a-zA-Z_]\w*/, {cases: {"@operators": "operators", "@keywords": "keyword", "@typeKeywords": "type", "@defineKeywords": "variable", "@constant": "constant", "@builtinVariables": "predefined", "@builtinFunctions": "predefined", "@default": "identifier"}}], {include: "@whitespace"}, [/[{}()\[\]]/, "@brackets"], [/"([^"\\]|\\.)*$/, "string.invalid"], [/"/, {token: "string.quote", bracket: "@open", next: "@string_dq"}], [/'/, {token: "string.quote", bracket: "@open", next: "@string_sq"}], [/'[^\\']'/, "string"], [/(')(@escapes)(')/, ["string", "string.escape", "string"]], [/'/, "string.invalid"]], params: [[/\b[A-Za-z0-9_]+\b(?=\()/, {token: "identifier", next: "@pop"}], [/\b[A-Za-z0-9_]+\b/, "variable.name", "@pop"]], comment: [[/[^\/*]+/, "comment"], [/\/\*/, "comment", "@push"], ["\\*/", "comment", "@pop"], [/[\/*]/, "comment"]], comment2: [[/[^\(*]+/, "comment"], [/\(\*/, "comment", "@push"], ["\\*\\)", "comment", "@pop"], [/[\(*]/, "comment"]], whitespace: [[/[ \t\r\n]+/, "white"], [/\/\/.*$/, "comment"], [/\/\*/, "comment", "@comment"], [/\(\*/, "comment", "@comment2"]], string_dq: [[/[^\\"]+/, "string"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/"/, {token: "string.quote", bracket: "@close", next: "@pop"}]], string_sq: [[/[^\\']+/, "string"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/'/, {token: "string.quote", bracket: "@close", next: "@pop"}]]}}; + var i = {comments: {lineComment: "//", blockComment: ["(*", "*)"]}, brackets: [["{", "}"], ["[", "]"], ["(", ")"], ["var", "end_var"], ["var_input", "end_var"], ["var_output", "end_var"], ["var_in_out", "end_var"], ["var_temp", "end_var"], ["var_global", "end_var"], ["var_access", "end_var"], ["var_external", "end_var"], ["type", "end_type"], ["struct", "end_struct"], ["program", "end_program"], ["function", "end_function"], ["function_block", "end_function_block"], ["action", "end_action"], ["step", "end_step"], ["initial_step", "end_step"], ["transaction", "end_transaction"], ["configuration", "end_configuration"], ["tcp", "end_tcp"], ["recource", "end_recource"], ["channel", "end_channel"], ["library", "end_library"], ["folder", "end_folder"], ["binaries", "end_binaries"], ["includes", "end_includes"], ["sources", "end_sources"]], autoClosingPairs: [{open: "[", close: "]"}, {open: "{", close: "}"}, {open: "(", close: ")"}, {open: "/*", close: "*/"}, {open: "'", close: "'", notIn: ["string_sq"]}, {open: '"', close: '"', notIn: ["string_dq"]}, {open: "var_input", close: "end_var"}, {open: "var_output", close: "end_var"}, {open: "var_in_out", close: "end_var"}, {open: "var_temp", close: "end_var"}, {open: "var_global", close: "end_var"}, {open: "var_access", close: "end_var"}, {open: "var_external", close: "end_var"}, {open: "type", close: "end_type"}, {open: "struct", close: "end_struct"}, {open: "program", close: "end_program"}, {open: "function", close: "end_function"}, {open: "function_block", close: "end_function_block"}, {open: "action", close: "end_action"}, {open: "step", close: "end_step"}, {open: "initial_step", close: "end_step"}, {open: "transaction", close: "end_transaction"}, {open: "configuration", close: "end_configuration"}, {open: "tcp", close: "end_tcp"}, {open: "recource", close: "end_recource"}, {open: "channel", close: "end_channel"}, {open: "library", close: "end_library"}, {open: "folder", close: "end_folder"}, {open: "binaries", close: "end_binaries"}, {open: "includes", close: "end_includes"}, {open: "sources", close: "end_sources"}], surroundingPairs: [{open: "{", close: "}"}, {open: "[", close: "]"}, {open: "(", close: ")"}, {open: '"', close: '"'}, {open: "'", close: "'"}, {open: "var", close: "end_var"}, {open: "var_input", close: "end_var"}, {open: "var_output", close: "end_var"}, {open: "var_in_out", close: "end_var"}, {open: "var_temp", close: "end_var"}, {open: "var_global", close: "end_var"}, {open: "var_access", close: "end_var"}, {open: "var_external", close: "end_var"}, {open: "type", close: "end_type"}, {open: "struct", close: "end_struct"}, {open: "program", close: "end_program"}, {open: "function", close: "end_function"}, {open: "function_block", close: "end_function_block"}, {open: "action", close: "end_action"}, {open: "step", close: "end_step"}, {open: "initial_step", close: "end_step"}, {open: "transaction", close: "end_transaction"}, {open: "configuration", close: "end_configuration"}, {open: "tcp", close: "end_tcp"}, {open: "recource", close: "end_recource"}, {open: "channel", close: "end_channel"}, {open: "library", close: "end_library"}, {open: "folder", close: "end_folder"}, {open: "binaries", close: "end_binaries"}, {open: "includes", close: "end_includes"}, {open: "sources", close: "end_sources"}], folding: {markers: {start: new RegExp("^\\s*#pragma\\s+region\\b"), end: new RegExp("^\\s*#pragma\\s+endregion\\b")}}}, o = {defaultToken: "", tokenPostfix: ".st", ignoreCase: true, brackets: [{token: "delimiter.curly", open: "{", close: "}"}, {token: "delimiter.parenthesis", open: "(", close: ")"}, {token: "delimiter.square", open: "[", close: "]"}], keywords: ["if", "end_if", "elsif", "else", "case", "of", "to", "__try", "__catch", "__finally", "do", "with", "by", "while", "repeat", "end_while", "end_repeat", "end_case", "for", "end_for", "task", "retain", "non_retain", "constant", "with", "at", "exit", "return", "interval", "priority", "address", "port", "on_channel", "then", "iec", "file", "uses", "version", "packagetype", "displayname", "copyright", "summary", "vendor", "common_source", "from", "extends"], constant: ["false", "true", "null"], defineKeywords: ["var", "var_input", "var_output", "var_in_out", "var_temp", "var_global", "var_access", "var_external", "end_var", "type", "end_type", "struct", "end_struct", "program", "end_program", "function", "end_function", "function_block", "end_function_block", "interface", "end_interface", "method", "end_method", "property", "end_property", "namespace", "end_namespace", "configuration", "end_configuration", "tcp", "end_tcp", "resource", "end_resource", "channel", "end_channel", "library", "end_library", "folder", "end_folder", "binaries", "end_binaries", "includes", "end_includes", "sources", "end_sources", "action", "end_action", "step", "initial_step", "end_step", "transaction", "end_transaction"], typeKeywords: ["int", "sint", "dint", "lint", "usint", "uint", "udint", "ulint", "real", "lreal", "time", "date", "time_of_day", "date_and_time", "string", "bool", "byte", "word", "dword", "array", "pointer", "lword"], operators: ["=", ">", "<", ":", ":=", "<=", ">=", "<>", "&", "+", "-", "*", "**", "MOD", "^", "or", "and", "not", "xor", "abs", "acos", "asin", "atan", "cos", "exp", "expt", "ln", "log", "sin", "sqrt", "tan", "sel", "max", "min", "limit", "mux", "shl", "shr", "rol", "ror", "indexof", "sizeof", "adr", "adrinst", "bitadr", "is_valid", "ref", "ref_to"], builtinVariables: [], builtinFunctions: ["sr", "rs", "tp", "ton", "tof", "eq", "ge", "le", "lt", "ne", "round", "trunc", "ctd", "\u0441tu", "ctud", "r_trig", "f_trig", "move", "concat", "delete", "find", "insert", "left", "len", "replace", "right", "rtc"], symbols: /[=><!~?:&|+\-*\/\^%]+/, escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/, tokenizer: {root: [[/(\.\.)/, "delimiter"], [/\b(16#[0-9A-Fa-f\_]*)+\b/, "number.hex"], [/\b(2#[01\_]+)+\b/, "number.binary"], [/\b(8#[0-9\_]*)+\b/, "number.octal"], [/\b\d*\.\d+([eE][\-+]?\d+)?\b/, "number.float"], [/\b(L?REAL)#[0-9\_\.e]+\b/, "number.float"], [/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/, "number"], [/\d+/, "number"], [/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/, "tag"], [/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/, "tag"], [/\%(I|Q|M)[0-9\.]*/, "tag"], [/\b[A-Za-z]{1,6}#[0-9]+\b/, "tag"], [/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/, "predefined"], [/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/, "predefined"], [/[;]/, "delimiter"], [/[.]/, {token: "delimiter", next: "@params"}], [/[a-zA-Z_]\w*/, {cases: {"@operators": "operators", "@keywords": "keyword", "@typeKeywords": "type", "@defineKeywords": "variable", "@constant": "constant", "@builtinVariables": "predefined", "@builtinFunctions": "predefined", "@default": "identifier"}}], {include: "@whitespace"}, [/[{}()\[\]]/, "@brackets"], [/"([^"\\]|\\.)*$/, "string.invalid"], [/"/, {token: "string.quote", bracket: "@open", next: "@string_dq"}], [/'/, {token: "string.quote", bracket: "@open", next: "@string_sq"}], [/'[^\\']'/, "string"], [/(')(@escapes)(')/, ["string", "string.escape", "string"]], [/'/, "string.invalid"]], params: [[/\b[A-Za-z0-9_]+\b(?=\()/, {token: "identifier", next: "@pop"}], [/\b[A-Za-z0-9_]+\b/, "variable.name", "@pop"]], comment: [[/[^\/*]+/, "comment"], [/\/\*/, "comment", "@push"], ["\\*/", "comment", "@pop"], [/[\/*]/, "comment"]], comment2: [[/[^\(*]+/, "comment"], [/\(\*/, "comment", "@push"], ["\\*\\)", "comment", "@pop"], [/[\(*]/, "comment"]], whitespace: [[/[ \t\r\n]+/, "white"], [/\/\/.*$/, "comment"], [/\/\*/, "comment", "@comment"], [/\(\*/, "comment", "@comment2"]], string_dq: [[/[^\\"]+/, "string"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/"/, {token: "string.quote", bracket: "@close", next: "@pop"}]], string_sq: [[/[^\\']+/, "string"], [/@escapes/, "string.escape"], [/\\./, "string.escape.invalid"], [/'/, {token: "string.quote", bracket: "@close", next: "@pop"}]]}}; }, function(e, t, n) { "use strict"; n.r(t), n.d(t, "conf", function() { @@ -74259,7 +74259,7 @@ ${Object(zn.b)(wi)} throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -74285,15 +74285,15 @@ ${Object(zn.b)(wi)} r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -74378,7 +74378,7 @@ ${Object(zn.b)(wi)} function n2() { this.constructor = e2; } - i(e2, t2), e2.prototype = null === t2 ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); + i(e2, t2), e2.prototype = t2 === null ? Object.create(t2) : (n2.prototype = t2.prototype, new n2()); }), h = function(e2, t2, n2, i2) { return new (n2 || (n2 = Promise))(function(o2, r2) { function s2(e3) { @@ -74409,7 +74409,7 @@ ${Object(zn.b)(wi)} throw o2[1]; return o2[1]; }, trys: [], ops: []}; - return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return r2 = {next: a2(0), throw: a2(1), return: a2(2)}, typeof Symbol == "function" && (r2[Symbol.iterator] = function() { return this; }), r2; function a2(r3) { @@ -74435,15 +74435,15 @@ ${Object(zn.b)(wi)} r4 = s2.ops.pop(), s2.trys.pop(); continue; default: - if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + if (!(o2 = s2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || r4[0] !== 6 && r4[0] !== 2)) { s2 = 0; continue; } - if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + if (r4[0] === 3 && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { s2.label = r4[1]; break; } - if (6 === r4[0] && s2.label < o2[1]) { + if (r4[0] === 6 && s2.label < o2[1]) { s2.label = o2[1], o2 = r4; break; } @@ -74468,9 +74468,9 @@ ${Object(zn.b)(wi)} } }; function p(e2, t2, n2) { - if (void 0 === n2 && (n2 = 0), "string" == typeof e2) + if (n2 === void 0 && (n2 = 0), typeof e2 == "string") return e2; - if (void 0 === e2) + if (e2 === void 0) return ""; var i2 = ""; if (n2) { @@ -74505,7 +74505,7 @@ ${Object(zn.b)(wi)} this._worker = e3, this._libFiles = {}, this._hasFetchedLibFiles = false, this._fetchLibFilesPromise = null; } return e2.prototype.isLibFile = function(e3) { - return !!e3 && (0 === e3.path.indexOf("/lib.") && !!c[e3.path.slice(1)]); + return !!e3 && (e3.path.indexOf("/lib.") === 0 && !!c[e3.path.slice(1)]); }, e2.prototype.getOrCreateModel = function(e3) { var t2 = r.f.getModel(e3); return t2 || (this.isLibFile(e3) && this._hasFetchedLibFiles ? r.f.createModel(this._libFiles[e3.path.slice(1)], "javascript", e3) : null); @@ -74592,7 +74592,7 @@ ${Object(zn.b)(wi)} return !(l2 = u2.sent()) || e3.isDisposed() ? [2] : (c2 = l2.reduce(function(e4, t4) { return t4.concat(e4); }, []).filter(function(e4) { - return -1 === (h2._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore || []).indexOf(e4.code); + return (h2._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore || []).indexOf(e4.code) === -1; }), d2 = c2.map(function(e4) { return e4.relatedInformation || []; }).reduce(function(e4, t4) { @@ -74641,7 +74641,7 @@ ${Object(zn.b)(wi)} }, t2; }(f), v = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), Object.defineProperty(t2.prototype, "triggerCharacters", {get: function() { return ["."]; @@ -74662,7 +74662,7 @@ ${Object(zn.b)(wi)} c3 = new r.d(d2.lineNumber, d2.column, h2.lineNumber, h2.column); } var u2 = []; - return -1 !== (null === (l3 = i4.kindModifiers) || void 0 === l3 ? void 0 : l3.indexOf("deprecated")) && u2.push(r.g.CompletionItemTag.Deprecated), {uri: s2, position: n2, offset: a2, range: c3, label: i4.name, insertText: i4.name, sortText: i4.sortText, kind: t2.convertKind(i4.kind), tags: u2}; + return ((l3 = i4.kindModifiers) === null || l3 === void 0 ? void 0 : l3.indexOf("deprecated")) !== -1 && u2.push(r.g.CompletionItemTag.Deprecated), {uri: s2, position: n2, offset: a2, range: c3, label: i4.name, insertText: i4.name, sortText: i4.sortText, kind: t2.convertKind(i4.kind), tags: u2}; })}]; } }); @@ -74722,16 +74722,16 @@ ${Object(zn.b)(wi)} }(f); function w(e2) { var t2 = "*@" + e2.name + "*"; - if ("param" === e2.name && e2.text) { + if (e2.name === "param" && e2.text) { var n2 = e2.text.split(" "), i2 = n2[0], o2 = n2.slice(1); - t2 += "`" + i2 + "`", o2.length > 0 && (t2 += " — " + o2.join(" ")); + t2 += "`" + i2 + "`", o2.length > 0 && (t2 += " \u2014 " + o2.join(" ")); } else - e2.text && (t2 += " — " + e2.text); + e2.text && (t2 += " \u2014 " + e2.text); return t2; } var y = function(e2) { function t2() { - var t3 = null !== e2 && e2.apply(this, arguments) || this; + var t3 = e2 !== null && e2.apply(this, arguments) || this; return t3.signatureHelpTriggerCharacters = ["(", ","], t3; } return d(t2, e2), t2.prototype.provideSignatureHelp = function(e3, t3, n2) { @@ -74758,7 +74758,7 @@ ${Object(zn.b)(wi)} }, t2; }(f), C = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2.prototype.provideHover = function(e3, t3, n2) { return h(this, void 0, void 0, function() { @@ -74779,7 +74779,7 @@ ${Object(zn.b)(wi)} }, t2; }(f), x = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2.prototype.provideDocumentHighlights = function(e3, t3, n2) { return h(this, void 0, void 0, function() { @@ -74856,7 +74856,7 @@ ${Object(zn.b)(wi)} }, t2; }(f), E = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2.prototype.provideDocumentSymbols = function(e3, t3) { return h(this, void 0, void 0, function() { @@ -74891,7 +74891,7 @@ ${Object(zn.b)(wi)} L[T.module] = r.g.SymbolKind.Module, L[T.class] = r.g.SymbolKind.Class, L[T.enum] = r.g.SymbolKind.Enum, L[T.interface] = r.g.SymbolKind.Interface, L[T.memberFunction] = r.g.SymbolKind.Method, L[T.memberVariable] = r.g.SymbolKind.Property, L[T.memberGetAccessor] = r.g.SymbolKind.Property, L[T.memberSetAccessor] = r.g.SymbolKind.Property, L[T.variable] = r.g.SymbolKind.Variable, L[T.const] = r.g.SymbolKind.Variable, L[T.localVariable] = r.g.SymbolKind.Variable, L[T.variable] = r.g.SymbolKind.Variable, L[T.function] = r.g.SymbolKind.Function, L[T.localFunction] = r.g.SymbolKind.Function; var N, I, O = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2._convertOptions = function(e3) { return {ConvertTabsToSpaces: e3.insertSpaces, TabSize: e3.tabSize, IndentSize: e3.tabSize, IndentStyle: o.Smart, NewLineCharacter: "\n", InsertSpaceAfterCommaDelimiter: true, InsertSpaceAfterSemicolonInForStatements: true, InsertSpaceBeforeAndAfterBinaryOperators: true, InsertSpaceAfterKeywordsInControlFlowStatements: true, InsertSpaceAfterFunctionKeywordForAnonymousFunctions: true, InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: false, InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: false, InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: false, PlaceOpenBraceOnNewLineForControlBlocks: false, PlaceOpenBraceOnNewLineForFunctions: false}; @@ -74900,7 +74900,7 @@ ${Object(zn.b)(wi)} }, t2; }(f), D = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2.prototype.provideDocumentRangeFormattingEdits = function(e3, t3, n2, i2) { return h(this, void 0, void 0, function() { @@ -74921,7 +74921,7 @@ ${Object(zn.b)(wi)} }, t2; }(O), A = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), Object.defineProperty(t2.prototype, "autoFormatTriggerCharacters", {get: function() { return [";", "}", "\n"]; @@ -74944,7 +74944,7 @@ ${Object(zn.b)(wi)} }, t2; }(O), R = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2.prototype.provideCodeActions = function(e3, t3, n2, i2) { return h(this, void 0, void 0, function() { @@ -74962,9 +74962,9 @@ ${Object(zn.b)(wi)} case 2: return !(l2 = d2.sent()) || e3.isDisposed() ? [2, {actions: [], dispose: function() { }}] : [2, {actions: l2.filter(function(e4) { - return 0 === e4.changes.filter(function(e5) { + return e4.changes.filter(function(e5) { return e5.isNewFile; - }).length; + }).length === 0; }).map(function(t4) { return c2._tsCodeFixActionToMonacoCodeAction(e3, n2, t4); }), dispose: function() { @@ -74982,7 +74982,7 @@ ${Object(zn.b)(wi)} }, t2; }(O), M = function(e2) { function t2() { - return null !== e2 && e2.apply(this, arguments) || this; + return e2 !== null && e2.apply(this, arguments) || this; } return d(t2, e2), t2.prototype.provideRenameEdits = function(e3, t3, n2, i2) { return h(this, void 0, void 0, function() { @@ -74994,9 +74994,9 @@ ${Object(zn.b)(wi)} case 1: return [4, (a2 = u2.sent()).getRenameInfo(o2, s2, {allowRenameOfImportPath: false})]; case 2: - if (false === (l2 = u2.sent()).canRename) + if ((l2 = u2.sent()).canRename === false) return [2, {edits: [], rejectReason: l2.localizedErrorMessage}]; - if (void 0 !== l2.fileToRename) + if (l2.fileToRename !== void 0) throw new Error("Renaming files is not supported."); return [4, a2.findRenameLocations(o2, s2, false, false, false)]; case 3: @@ -75096,7 +75096,7 @@ ${Object(zn.b)(wi)} e5.getModeId() === o2._languageId && (s2(e5), r2(e5)); }); })), this._disposables.push({dispose: function() { - for (var e4 in (i.e.getModels().forEach(s2), o2._listener)) + for (var e4 in i.e.getModels().forEach(s2), o2._listener) o2._listener[e4].dispose(); }}), i.e.getModels().forEach(r2); } @@ -75112,7 +75112,7 @@ ${Object(zn.b)(wi)} this._worker(e3).then(function(n2) { return n2.doValidation(e3.toString()).then(function(n3) { var o2 = n3.map(function(e4) { - return n4 = "number" == typeof (t3 = e4).code ? String(t3.code) : t3.code, {severity: a(t3.severity), startLineNumber: t3.range.start.line + 1, startColumn: t3.range.start.character + 1, endLineNumber: t3.range.end.line + 1, endColumn: t3.range.end.character + 1, message: t3.message, code: n4, source: t3.source}; + return n4 = typeof (t3 = e4).code == "number" ? String(t3.code) : t3.code, {severity: a(t3.severity), startLineNumber: t3.range.start.line + 1, startColumn: t3.range.start.character + 1, endLineNumber: t3.range.end.line + 1, endColumn: t3.range.end.character + 1, message: t3.message, code: n4, source: t3.source}; var t3, n4; }), r2 = i.e.getModel(e3); r2 && r2.getModeId() === t2 && i.e.setModelMarkers(r2, t2, o2); @@ -75208,7 +75208,7 @@ ${Object(zn.b)(wi)} if (n3) { var o3 = e3.getWordUntilPosition(t2), s3 = new i.c(t2.lineNumber, o3.startColumn, t2.lineNumber, o3.endColumn), a2 = n3.items.map(function(e4) { var t3, n4 = {label: e4.label, insertText: e4.insertText || e4.label, sortText: e4.sortText, filterText: e4.filterText, documentation: e4.documentation, detail: e4.detail, range: s3, kind: h(e4.kind)}; - return e4.textEdit && (void 0 !== (t3 = e4.textEdit).insert && void 0 !== t3.replace ? n4.range = {insert: d(e4.textEdit.insert), replace: d(e4.textEdit.replace)} : n4.range = d(e4.textEdit.range), n4.insertText = e4.textEdit.newText), e4.additionalTextEdits && (n4.additionalTextEdits = e4.additionalTextEdits.map(u)), e4.insertTextFormat === r.d.Snippet && (n4.insertTextRules = i.f.CompletionItemInsertTextRule.InsertAsSnippet), n4; + return e4.textEdit && ((t3 = e4.textEdit).insert !== void 0 && t3.replace !== void 0 ? n4.range = {insert: d(e4.textEdit.insert), replace: d(e4.textEdit.replace)} : n4.range = d(e4.textEdit.range), n4.insertText = e4.textEdit.newText), e4.additionalTextEdits && (n4.additionalTextEdits = e4.additionalTextEdits.map(u)), e4.insertTextFormat === r.d.Snippet && (n4.insertTextRules = i.f.CompletionItemInsertTextRule.InsertAsSnippet), n4; }); return {isIncomplete: n3.isIncomplete, suggestions: a2}; } @@ -75216,7 +75216,7 @@ ${Object(zn.b)(wi)} }, e2; }(); function m(e2) { - return "string" == typeof e2 ? {value: e2} : (t2 = e2) && "object" == typeof t2 && "string" == typeof t2.kind ? "plaintext" === e2.kind ? {value: e2.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")} : {value: e2.value} : {value: "```" + e2.language + "\n" + e2.value + "\n```\n"}; + return typeof e2 == "string" ? {value: e2} : (t2 = e2) && typeof t2 == "object" && typeof t2.kind == "string" ? e2.kind === "plaintext" ? {value: e2.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")} : {value: e2.value} : {value: "```" + e2.language + "\n" + e2.value + "\n```\n"}; var t2; } function g(e2) { @@ -75306,7 +75306,7 @@ ${Object(zn.b)(wi)} var i2 = e3.uri; return this._worker(i2).then(function(e4) { return e4.format(i2.toString(), null, v(t2)).then(function(e5) { - if (e5 && 0 !== e5.length) + if (e5 && e5.length !== 0) return e5.map(u); }); }); @@ -75319,7 +75319,7 @@ ${Object(zn.b)(wi)} var o2 = e3.uri; return this._worker(o2).then(function(e4) { return e4.format(o2.toString(), c(t2), v(n2)).then(function(e5) { - if (e5 && 0 !== e5.length) + if (e5 && e5.length !== 0) return e5.map(u); }); }); @@ -75362,7 +75362,7 @@ ${Object(zn.b)(wi)} if (e4) return e4.map(function(e5) { var t3 = {start: e5.startLine + 1, end: e5.endLine + 1}; - return void 0 !== e5.kind && (t3.kind = function(e6) { + return e5.kind !== void 0 && (t3.kind = function(e6) { switch (e6) { case r.c.Comment: return i.f.FoldingRangeKind.Comment; @@ -75400,7 +75400,7 @@ ${Object(zn.b)(wi)} return new L(null, null, false, null); }, tokenize: function(t2, n2, i2, o2) { return function(e3, t3, n3, i3, o3) { - void 0 === i3 && (i3 = 0); + i3 === void 0 && (i3 = 0); var r2 = 0, s2 = false; switch (n3.scanError) { case 2: @@ -75412,7 +75412,7 @@ ${Object(zn.b)(wi)} var a2 = k.a(t3), l2 = n3.lastWasColon, c2 = n3.parents, d2 = {tokens: [], endState: n3.clone()}; for (; ; ) { var h2 = i3 + a2.getPosition(), u2 = "", p2 = a2.scan(); - if (17 === p2) + if (p2 === 17) break; if (h2 === i3 + a2.getPosition()) throw new Error("Scanner did not advance, next 3 characters are: " + t3.substr(a2.getPosition(), 3)); @@ -75441,7 +75441,7 @@ ${Object(zn.b)(wi)} u2 = "keyword.json", l2 = false; break; case 10: - var m2 = 1 === (c2 ? c2.type : 0); + var m2 = (c2 ? c2.type : 0) === 1; u2 = l2 || m2 ? "string.value.json" : "string.key.json", l2 = false; break; case 11: @@ -75594,7 +75594,7 @@ ${Object(zn.b)(wi)} return t3.doValidation(e3.toString()); }).then(function(n2) { var o2 = n2.map(function(e4) { - return n3 = "number" == typeof (t3 = e4).code ? String(t3.code) : t3.code, {severity: a(t3.severity), startLineNumber: t3.range.start.line + 1, startColumn: t3.range.start.character + 1, endLineNumber: t3.range.end.line + 1, endColumn: t3.range.end.character + 1, message: t3.message, code: n3, source: t3.source}; + return n3 = typeof (t3 = e4).code == "number" ? String(t3.code) : t3.code, {severity: a(t3.severity), startLineNumber: t3.range.start.line + 1, startColumn: t3.range.start.character + 1, endLineNumber: t3.range.end.line + 1, endColumn: t3.range.end.character + 1, message: t3.message, code: n3, source: t3.source}; var t3, n3; }), r2 = i.e.getModel(e3); r2.getModeId() === t2 && i.e.setModelMarkers(r2, t2, o2); @@ -75685,7 +75685,7 @@ ${Object(zn.b)(wi)} if (n3) { var o3 = e3.getWordUntilPosition(t2), s3 = new i.c(t2.lineNumber, o3.startColumn, t2.lineNumber, o3.endColumn), a2 = n3.items.map(function(e4) { var t3, n4 = {label: e4.label, insertText: e4.insertText || e4.label, sortText: e4.sortText, filterText: e4.filterText, documentation: e4.documentation, detail: e4.detail, range: s3, kind: d(e4.kind)}; - return e4.textEdit && (void 0 !== (t3 = e4.textEdit).insert && void 0 !== t3.replace ? n4.range = {insert: c(e4.textEdit.insert), replace: c(e4.textEdit.replace)} : n4.range = c(e4.textEdit.range), n4.insertText = e4.textEdit.newText), e4.additionalTextEdits && (n4.additionalTextEdits = e4.additionalTextEdits.map(h)), e4.insertTextFormat === r.e.Snippet && (n4.insertTextRules = i.f.CompletionItemInsertTextRule.InsertAsSnippet), n4; + return e4.textEdit && ((t3 = e4.textEdit).insert !== void 0 && t3.replace !== void 0 ? n4.range = {insert: c(e4.textEdit.insert), replace: c(e4.textEdit.replace)} : n4.range = c(e4.textEdit.range), n4.insertText = e4.textEdit.newText), e4.additionalTextEdits && (n4.additionalTextEdits = e4.additionalTextEdits.map(h)), e4.insertTextFormat === r.e.Snippet && (n4.insertTextRules = i.f.CompletionItemInsertTextRule.InsertAsSnippet), n4; }); return {isIncomplete: n3.isIncomplete, suggestions: a2}; } @@ -75693,7 +75693,7 @@ ${Object(zn.b)(wi)} }, e2; }(); function p(e2) { - return "string" == typeof e2 ? {value: e2} : (t2 = e2) && "object" == typeof t2 && "string" == typeof t2.kind ? "plaintext" === e2.kind ? {value: e2.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")} : {value: e2.value} : {value: "```" + e2.language + "\n" + e2.value + "\n```\n"}; + return typeof e2 == "string" ? {value: e2} : (t2 = e2) && typeof t2 == "object" && typeof t2.kind == "string" ? e2.kind === "plaintext" ? {value: e2.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")} : {value: e2.value} : {value: "```" + e2.language + "\n" + e2.value + "\n```\n"}; var t2; } function m(e2) { @@ -75892,7 +75892,7 @@ ${Object(zn.b)(wi)} if (e4) return e4.map(function(e5) { var t3 = {start: e5.startLine + 1, end: e5.endLine + 1}; - return void 0 !== e5.kind && (t3.kind = function(e6) { + return e5.kind !== void 0 && (t3.kind = function(e6) { switch (e6) { case r.d.Comment: return i.f.FoldingRangeKind.Comment; @@ -76015,7 +76015,7 @@ ${Object(zn.b)(wi)} this._worker(e3).then(function(n2) { return n2.doValidation(e3.toString()).then(function(n3) { var o2 = n3.map(function(e4) { - return n4 = "number" == typeof (t3 = e4).code ? String(t3.code) : t3.code, {severity: a(t3.severity), startLineNumber: t3.range.start.line + 1, startColumn: t3.range.start.character + 1, endLineNumber: t3.range.end.line + 1, endColumn: t3.range.end.character + 1, message: t3.message, code: n4, source: t3.source}; + return n4 = typeof (t3 = e4).code == "number" ? String(t3.code) : t3.code, {severity: a(t3.severity), startLineNumber: t3.range.start.line + 1, startColumn: t3.range.start.character + 1, endLineNumber: t3.range.end.line + 1, endColumn: t3.range.end.character + 1, message: t3.message, code: n4, source: t3.source}; var t3, n4; }); i.e.setModelMarkers(i.e.getModel(e3), t2, o2); @@ -76107,7 +76107,7 @@ ${Object(zn.b)(wi)} if (n3) { var o3 = e3.getWordUntilPosition(t2), s3 = new i.c(t2.lineNumber, o3.startColumn, t2.lineNumber, o3.endColumn), a2 = n3.items.map(function(e4) { var t3, n4 = {label: e4.label, insertText: e4.insertText || e4.label, sortText: e4.sortText, filterText: e4.filterText, documentation: e4.documentation, detail: e4.detail, range: s3, kind: d(e4.kind)}; - return e4.textEdit && (void 0 !== (t3 = e4.textEdit).insert && void 0 !== t3.replace ? n4.range = {insert: c(e4.textEdit.insert), replace: c(e4.textEdit.replace)} : n4.range = c(e4.textEdit.range), n4.insertText = e4.textEdit.newText), e4.additionalTextEdits && (n4.additionalTextEdits = e4.additionalTextEdits.map(h)), e4.insertTextFormat === r.e.Snippet && (n4.insertTextRules = i.f.CompletionItemInsertTextRule.InsertAsSnippet), n4; + return e4.textEdit && ((t3 = e4.textEdit).insert !== void 0 && t3.replace !== void 0 ? n4.range = {insert: c(e4.textEdit.insert), replace: c(e4.textEdit.replace)} : n4.range = c(e4.textEdit.range), n4.insertText = e4.textEdit.newText), e4.additionalTextEdits && (n4.additionalTextEdits = e4.additionalTextEdits.map(h)), e4.insertTextFormat === r.e.Snippet && (n4.insertTextRules = i.f.CompletionItemInsertTextRule.InsertAsSnippet), n4; }); return {isIncomplete: n3.isIncomplete, suggestions: a2}; } @@ -76115,7 +76115,7 @@ ${Object(zn.b)(wi)} }, e2; }(); function p(e2) { - return "string" == typeof e2 ? {value: e2} : (t2 = e2) && "object" == typeof t2 && "string" == typeof t2.kind ? "plaintext" === e2.kind ? {value: e2.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")} : {value: e2.value} : {value: "```" + e2.language + "\n" + e2.value + "\n```\n"}; + return typeof e2 == "string" ? {value: e2} : (t2 = e2) && typeof t2 == "object" && typeof t2.kind == "string" ? e2.kind === "plaintext" ? {value: e2.value.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&")} : {value: e2.value} : {value: "```" + e2.language + "\n" + e2.value + "\n```\n"}; var t2; } function m(e2) { @@ -76248,7 +76248,7 @@ ${Object(zn.b)(wi)} var i2 = e3.uri; return this._worker(i2).then(function(e4) { return e4.format(i2.toString(), null, y(t2)).then(function(e5) { - if (e5 && 0 !== e5.length) + if (e5 && e5.length !== 0) return e5.map(h); }); }); @@ -76264,7 +76264,7 @@ ${Object(zn.b)(wi)} if (e5) return {start: l(e5.getStartPosition()), end: l(e5.getEndPosition())}; }(t2), y(n2)).then(function(e5) { - if (e5 && 0 !== e5.length) + if (e5 && e5.length !== 0) return e5.map(h); }); }); @@ -76304,7 +76304,7 @@ ${Object(zn.b)(wi)} if (e4) return e4.map(function(e5) { var t3 = {start: e5.startLine + 1, end: e5.endLine + 1}; - return void 0 !== e5.kind && (t3.kind = function(e6) { + return e5.kind !== void 0 && (t3.kind = function(e6) { switch (e6) { case r.d.Comment: return i.f.FoldingRangeKind.Comment; @@ -76342,7 +76342,7 @@ ${Object(zn.b)(wi)} e3[n3] = arguments[n3]; return t2.getLanguageServiceWorker.apply(t2, e3); }, r2 = e2.languageId; - i.f.registerCompletionItemProvider(r2, new u(n2)), i.f.registerHoverProvider(r2, new g(n2)), i.f.registerDocumentHighlightProvider(r2, new b(n2)), i.f.registerLinkProvider(r2, new w(n2)), i.f.registerFoldingRangeProvider(r2, new k(n2)), i.f.registerDocumentSymbolProvider(r2, new v(n2)), i.f.registerSelectionRangeProvider(r2, new E(n2)), i.f.registerRenameProvider(r2, new S(n2)), "html" === r2 && (i.f.registerDocumentFormattingEditProvider(r2, new C(n2)), i.f.registerDocumentRangeFormattingEditProvider(r2, new x(n2)), new s(r2, n2, e2)); + i.f.registerCompletionItemProvider(r2, new u(n2)), i.f.registerHoverProvider(r2, new g(n2)), i.f.registerDocumentHighlightProvider(r2, new b(n2)), i.f.registerLinkProvider(r2, new w(n2)), i.f.registerFoldingRangeProvider(r2, new k(n2)), i.f.registerDocumentSymbolProvider(r2, new v(n2)), i.f.registerSelectionRangeProvider(r2, new E(n2)), i.f.registerRenameProvider(r2, new S(n2)), r2 === "html" && (i.f.registerDocumentFormattingEditProvider(r2, new C(n2)), i.f.registerDocumentRangeFormattingEditProvider(r2, new x(n2)), new s(r2, n2, e2)); } function L(e2) { var t2 = [], n2 = [], r2 = new o(e2); @@ -76366,7 +76366,7 @@ ${Object(zn.b)(wi)} }]); // src/wc-monaco-editor.js -const workersDir = new URL("monaco/workers/", import.meta.url); +var workersDir = new URL("monaco/workers/", import.meta.url); self.MonacoEnvironment = { getWorkerUrl: function(moduleId, label) { switch (label) { @@ -76384,7 +76384,7 @@ self.MonacoEnvironment = { } } }; -class WCMonacoEditor extends HTMLElement { +var WCMonacoEditor = class extends HTMLElement { static get observedAttributes() { return ["src", "value"]; } @@ -76468,8 +76468,17 @@ class WCMonacoEditor extends HTMLElement { const response = await fetch(config); return response.json(); } -} +}; customElements.define("wc-monaco-editor", WCMonacoEditor); export { WCMonacoEditor }; +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh <http://feross.org> + * @license MIT + */ +/*!--------------------------------------------------------------------------------------------- + * Copyright (C) David Owens II, owensd.io. All rights reserved. + *--------------------------------------------------------------------------------------------*/ diff --git a/index.min.js b/index.min.js index fb9b59c..bdcee15 100644 --- a/index.min.js +++ b/index.min.js @@ -1,74 +1,74 @@ -!function(Ga){function t(R){for(var L,s,z=R[0],D=R[1],Q=0,B=[];Q<z.length;Q++)s=z[Q],Object.prototype.hasOwnProperty.call(l,s)&&l[s]&&B.push(l[s][0]),l[s]=0;for(L in D)Object.prototype.hasOwnProperty.call(D,L)&&(Ga[L]=D[L]);for(Y&&Y(R);B.length;)B.shift()()}var f={},l={0:0};function q(R){if(f[R])return f[R].exports;var L=f[R]={i:R,l:!1,exports:{}};return Ga[R].call(L.exports,L,L.exports,q),L.l=!0,L.exports}q.e=function(){return Promise.resolve()},q.m=Ga,q.c=f,q.d=function(R,L,s){q.o(R,L)||Object.defineProperty(R,L,{enumerable:!0,get:s})},q.r=function(R){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(R,"__esModule",{value:!0})},q.t=function(R,L){if(1&L&&(R=q(R)),8&L)return R;if(4&L&&"object"==typeof R&&R&&R.__esModule)return R;var s=Object.create(null);if(q.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:R}),2&L&&"string"!=typeof R)for(var z in R)q.d(s,z,function(D){return R[D]}.bind(null,z));return s},q.n=function(R){var L=R&&R.__esModule?function(){return R.default}:function(){return R};return q.d(L,"a",L),L},q.o=function(R,L){return Object.prototype.hasOwnProperty.call(R,L)},q.p="/",q.oe=function(R){throw console.error(R),R};var y=self.webpackJsonp=self.webpackJsonp||[],F=y.push.bind(y);y.push=t,y=y.slice();for(var P=0;P<y.length;P++)t(y[P]);var Y=F;q(q.s=342)}([function(Ga,t,f){"use strict";function l(q,y,...F){return function(P,Y){let R;return R=0===Y.length?P:P.replace(/\{(\d+)\}/g,function(L,s){const z=s[0];return void 0!==Y[z]?Y[z]:L}),R}(y,F)}f.d(t,"a",function(){return l})},function(Ga,t,f){"use strict";f.d(t,"s",function(){return B}),f.d(t,"S",function(){return C}),f.d(t,"N",function(){return k}),f.d(t,"I",function(){return x}),f.d(t,"e",function(){return u}),f.d(t,"f",function(){return A}),f.d(t,"Q",function(){return U}),f.d(t,"R",function(){return da}),f.d(t,"ab",function(){return Z}),f.d(t,"i",function(){return ea}),f.d(t,"n",function(){return ga}),f.d(t,"m",function(){return Ba}),f.d(t,"g",function(){return N}),f.d(t,"h",function(){return V}),f.d(t,"j",function(){return ma}),f.d(t,"k",function(){return ta}),f.d(t,"W",function(){return Da}),f.d(t,"Y",function(){return Ka}),f.d(t,"l",function(){return za}),f.d(t,"z",function(){return ua}),f.d(t,"y",function(){return ba}),f.d(t,"F",function(){return aa}),f.d(t,"C",function(){return _}),f.d(t,"d",function(){return I}),f.d(t,"H",function(){return ka}),f.d(t,"B",function(){return va}),f.d(t,"A",function(){return La}),f.d(t,"G",function(){return $a}),f.d(t,"L",function(){return Ab}),f.d(t,"w",function(){return gb}),f.d(t,"J",function(){return Fb}),f.d(t,"O",function(){return tc}),f.d(t,"E",function(){return rb}),f.d(t,"x",function(){return wc}),f.d(t,"v",function(){return vc}),f.d(t,"u",function(){return uc}),f.d(t,"P",function(){return Cc}),f.d(t,"M",function(){return Kc}),f.d(t,"c",function(){return Yc}),f.d(t,"b",function(){return sc}),f.d(t,"X",function(){return Nb}),f.d(t,"V",function(){return Fc}),f.d(t,"bb",function(){return mc}),f.d(t,"p",function(){return Eb}),f.d(t,"U",function(){return Va}),f.d(t,"a",function(){return kb}),f.d(t,"Z",function(){return tb}),f.d(t,"K",function(){return oc}),f.d(t,"T",function(){return ec}),f.d(t,"D",function(){return $b}),f.d(t,"t",function(){return Hc}),f.d(t,"cb",function(){return Bc}),f.d(t,"o",function(){return Vc}),f.d(t,"r",function(){return Ic}),f.d(t,"q",function(){return xc});var l=f(34),q=f(44),y=f(67),F=f(69),P=f(20),Y=f(13),R=f(6),L=f(2),s=f(11),z=f(15),D=f(45),Q=f(138);function B(nb){for(;nb.firstChild;)nb.removeChild(nb.firstChild)}function C(nb){nb.parentNode&&nb.parentNode.removeChild(nb)}function k(nb){for(;nb;){if(nb===document.body)return!0;nb=nb.parentNode||nb.host}return!1}const w=new class{hasClass(nb,zb){return Boolean(zb)&&nb.classList&&nb.classList.contains(zb)}addClasses(nb,...zb){zb.forEach(dc=>dc.split(" ").forEach(Dc=>this.addClass(nb,Dc)))}addClass(nb,zb){zb&&nb.classList&&nb.classList.add(zb)}removeClass(nb,zb){zb&&nb.classList&&nb.classList.remove(zb)}removeClasses(nb,...zb){zb.forEach(dc=>dc.split(" ").forEach(Dc=>this.removeClass(nb,Dc)))}toggleClass(nb,zb,dc){nb.classList&&nb.classList.toggle(zb,dc)}}(),x=w.hasClass.bind(w),u=w.addClass.bind(w),A=w.addClasses.bind(w),U=w.removeClass.bind(w),da=w.removeClasses.bind(w),Z=w.toggleClass.bind(w);class H{constructor(nb,zb,dc,Dc){this._node=nb,this._type=zb,this._handler=dc,this._options=Dc||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function ea(nb,zb,dc,Dc){return new H(nb,zb,dc,Dc)}function oa(nb){return function(zb){return nb(new F.a(zb))}}let ga=function(nb,zb,dc,Dc){let Pc=dc;return"click"===zb||"mousedown"===zb?Pc=oa(dc):"keydown"!==zb&&"keypress"!==zb&&"keyup"!==zb||(Pc=function(Nc){return function(Ed){return Nc(new y.a(Ed))}}(dc)),ea(nb,zb,Pc,Dc)},Ba=function(nb,zb,dc){return N(nb,oa(zb),dc)};function N(nb,zb,dc){return ea(nb,s.c&&Q.a.pointerEvents?Yc.POINTER_DOWN:Yc.MOUSE_DOWN,zb,dc)}function V(nb,zb,dc){return ea(nb,s.c&&Q.a.pointerEvents?Yc.POINTER_UP:Yc.MOUSE_UP,zb,dc)}function ma(nb,zb){return ea(nb,"mouseout",dc=>{let Dc=dc.relatedTarget;for(;Dc&&Dc!==nb;)Dc=Dc.parentNode;Dc!==nb&&zb(dc)})}function ta(nb,zb){return ea(nb,"pointerout",dc=>{let Dc=dc.relatedTarget;for(;Dc&&Dc!==nb;)Dc=Dc.parentNode;Dc!==nb&&zb(dc)})}let Da,Ka,G=null;class hb{constructor(nb,zb=0){this._runner=nb,this.priority=zb,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(nb){Object(Y.e)(nb)}}static sort(nb,zb){return zb.priority-nb.priority}}!function(){let nb=[],zb=null,dc=!1,Dc=!1,Pc=()=>{for(dc=!1,zb=nb,nb=[],Dc=!0;zb.length>0;)zb.sort(hb.sort),zb.shift().execute();Dc=!1};Ka=(Nc,Ed=0)=>{let ad=new hb(Nc,Ed);return nb.push(ad),dc||(dc=!0,function(ud){if(!G){const Od=wd=>setTimeout(()=>wd(new Date().getTime()),0);G=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||Od}G.call(self,ud)}(Pc)),ad},Da=(Nc,Ed)=>{if(Dc){let ad=new hb(Nc,Ed);return zb.push(ad),ad}return Ka(Nc,Ed)}}();const _a=function(nb,zb){return zb};class fb extends L.a{constructor(nb,zb,dc,Dc=_a,Pc=16){super();let Nc=null,Ed=0,ad=this._register(new P.e()),ud=()=>{Ed=new Date().getTime(),dc(Nc),Nc=null};this._register(ea(nb,zb,Od=>{Nc=Dc(Nc,Od);let wd=new Date().getTime()-Ed;wd>=Pc?(ad.cancel(),ud()):ad.setIfNotSet(ud,Pc-wd)}))}}function za(nb,zb,dc,Dc,Pc){return new fb(nb,zb,dc,Dc,Pc)}function ua(nb){return document.defaultView.getComputedStyle(nb,null)}function ba(nb){if(nb!==document.body)return new S(nb.clientWidth,nb.clientHeight);if(s.c&&window.visualViewport){const zb=window.visualViewport.width,dc=window.visualViewport.height-(l.k?24:0);return new S(zb,dc)}if(window.innerWidth&&window.innerHeight)return new S(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new S(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new S(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class ${static convertToPixels(nb,zb){return parseFloat(zb)||0}static getDimension(nb,zb,dc){let Dc=ua(nb),Pc="0";return Dc&&(Pc=Dc.getPropertyValue?Dc.getPropertyValue(zb):Dc.getAttribute(dc)),$.convertToPixels(nb,Pc)}static getBorderLeftWidth(nb){return $.getDimension(nb,"border-left-width","borderLeftWidth")}static getBorderRightWidth(nb){return $.getDimension(nb,"border-right-width","borderRightWidth")}static getBorderTopWidth(nb){return $.getDimension(nb,"border-top-width","borderTopWidth")}static getBorderBottomWidth(nb){return $.getDimension(nb,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(nb){return $.getDimension(nb,"padding-left","paddingLeft")}static getPaddingRight(nb){return $.getDimension(nb,"padding-right","paddingRight")}static getPaddingTop(nb){return $.getDimension(nb,"padding-top","paddingTop")}static getPaddingBottom(nb){return $.getDimension(nb,"padding-bottom","paddingBottom")}static getMarginLeft(nb){return $.getDimension(nb,"margin-left","marginLeft")}static getMarginTop(nb){return $.getDimension(nb,"margin-top","marginTop")}static getMarginRight(nb){return $.getDimension(nb,"margin-right","marginRight")}static getMarginBottom(nb){return $.getDimension(nb,"margin-bottom","marginBottom")}}class S{constructor(nb,zb){this.width=nb,this.height=zb}}function aa(nb){let zb=nb.offsetParent,dc=nb.offsetTop,Dc=nb.offsetLeft;for(;null!==(nb=nb.parentNode)&&nb!==document.body&&nb!==document.documentElement;){dc-=nb.scrollTop;const Pc=wb(nb)?null:ua(nb);Pc&&(Dc-="rtl"!==Pc.direction?nb.scrollLeft:-nb.scrollLeft),nb===zb&&(Dc+=$.getBorderLeftWidth(nb),dc+=$.getBorderTopWidth(nb),dc+=nb.offsetTop,Dc+=nb.offsetLeft,zb=nb.offsetParent)}return{left:Dc,top:dc}}function _(nb){let zb=nb.getBoundingClientRect();return{left:zb.left+I.scrollX,top:zb.top+I.scrollY,width:zb.width,height:zb.height}}const I=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}}();function ka(nb){let zb=$.getMarginLeft(nb)+$.getMarginRight(nb);return nb.offsetWidth+zb}function va(nb){let zb=$.getBorderLeftWidth(nb)+$.getBorderRightWidth(nb),dc=$.getPaddingLeft(nb)+$.getPaddingRight(nb);return nb.offsetWidth-zb-dc}function La(nb){let zb=$.getBorderTopWidth(nb)+$.getBorderBottomWidth(nb),dc=$.getPaddingTop(nb)+$.getPaddingBottom(nb);return nb.offsetHeight-zb-dc}function $a(nb){let zb=$.getMarginTop(nb)+$.getMarginBottom(nb);return nb.offsetHeight+zb}function Ab(nb,zb){for(;nb;){if(nb===zb)return!0;nb=nb.parentNode}return!1}function gb(nb,zb,dc){for(;nb&&nb.nodeType===nb.ELEMENT_NODE;){if(x(nb,zb))return nb;if(dc){if("string"==typeof dc){if(x(nb,dc))return null}else if(nb===dc)return null}nb=nb.parentNode}return null}function Fb(nb,zb,dc){return!!gb(nb,zb,dc)}function wb(nb){return nb&&!!nb.host&&!!nb.mode}function tc(nb){return!!rb(nb)}function rb(nb){for(;nb.parentNode;){if(nb===document.body)return null;nb=nb.parentNode}return wb(nb)?nb:null}function wc(){let nb=document.activeElement;for(;null==nb?void 0:nb.shadowRoot;)nb=nb.shadowRoot.activeElement;return nb}function vc(nb=document.getElementsByTagName("head")[0]){let zb=document.createElement("style");return zb.type="text/css",zb.media="screen",nb.appendChild(zb),zb}let cb=null;function Ob(){return cb||(cb=vc()),cb}function uc(nb,zb,dc=Ob()){dc&&zb&&dc.sheet.insertRule(nb+"{"+zb+"}",0)}function Cc(nb,zb=Ob()){if(!zb)return;let dc=function(Pc){return Pc&&Pc.sheet&&Pc.sheet.rules?Pc.sheet.rules:Pc&&Pc.sheet&&Pc.sheet.cssRules?Pc.sheet.cssRules:[]}(zb),Dc=[];for(let Pc=0;Pc<dc.length;Pc++)-1!==dc[Pc].selectorText.indexOf(nb)&&Dc.push(Pc);for(let Pc=Dc.length-1;Pc>=0;Pc--)zb.sheet.deleteRule(Dc[Pc])}function Kc(nb){return"object"==typeof HTMLElement?nb instanceof HTMLElement:nb&&"object"==typeof nb&&1===nb.nodeType&&"string"==typeof nb.nodeName}const Yc={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:l.f?"mousewheel":"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:l.l?"webkitAnimationStart":"animationstart",ANIMATION_END:l.l?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:l.l?"webkitAnimationIteration":"animationiteration"},sc={stop:function(nb,zb){nb.preventDefault?nb.preventDefault():nb.returnValue=!1,zb&&(nb.stopPropagation?nb.stopPropagation():nb.cancelBubble=!0)}};function Nb(nb){let zb=[];for(let dc=0;nb&&nb.nodeType===nb.ELEMENT_NODE;dc++)zb[dc]=nb.scrollTop,nb=nb.parentNode;return zb}function Fc(nb,zb){for(let dc=0;nb&&nb.nodeType===nb.ELEMENT_NODE;dc++)nb.scrollTop!==zb[dc]&&(nb.scrollTop=zb[dc]),nb=nb.parentNode}class pb extends L.a{constructor(nb){super(),this._onDidFocus=this._register(new R.a()),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new R.a()),this.onDidBlur=this._onDidBlur.event;let zb=Ab(document.activeElement,nb),dc=!1;const Dc=()=>{dc=!1,zb||(zb=!0,this._onDidFocus.fire())},Pc=()=>{zb&&(dc=!0,window.setTimeout(()=>{dc&&(dc=!1,zb=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{Ab(document.activeElement,nb)!==zb&&(zb?Pc():Dc())},this._register(Object(q.a)(nb,Yc.FOCUS,!0)(Dc)),this._register(Object(q.a)(nb,Yc.BLUR,!0)(Pc))}}function mc(nb){return new pb(nb)}function Eb(nb,...zb){return zb.forEach(dc=>nb.appendChild(dc)),zb[zb.length-1]}const qb=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function Va(nb,...zb){nb.innerText="",Object(z.d)(zb).forEach(dc=>{dc instanceof Node?nb.appendChild(dc):nb.appendChild(document.createTextNode(dc))})}var Oa;function Qa(nb,zb,dc,...Dc){let Pc=qb.exec(zb);if(!Pc)throw new Error("Bad use of emmet");dc=Object.assign({},dc||{});let Nc,Ed=Pc[1]||"div";return Nc=nb!==Oa.HTML?document.createElementNS(nb,Ed):document.createElement(Ed),Pc[3]&&(Nc.id=Pc[3]),Pc[4]&&(Nc.className=Pc[4].replace(/\./g," ").trim()),Object.keys(dc).forEach(ad=>{const ud=dc[ad];void 0!==ud&&(/^on\w+$/.test(ad)?Nc[ad]=ud:"selected"===ad?ud&&Nc.setAttribute(ad,"true"):Nc.setAttribute(ad,ud))}),Object(z.d)(Dc).forEach(ad=>{ad instanceof Node?Nc.appendChild(ad):Nc.appendChild(document.createTextNode(ad))}),Nc}function kb(nb,zb,...dc){return Qa(Oa.HTML,nb,zb,...dc)}function tb(...nb){for(let zb of nb)zb.style.display="",zb.removeAttribute("aria-hidden")}function oc(...nb){for(let zb of nb)zb.style.display="none",zb.setAttribute("aria-hidden","true")}function ec(nb){if(nb&&nb.hasAttribute("tabIndex")){if(document.activeElement===nb){let zb=function(dc,Dc){for(;dc&&dc.nodeType===dc.ELEMENT_NODE;){if(dc instanceof HTMLElement&&dc.hasAttribute(Dc))return dc;dc=dc.parentNode}return null}(nb.parentElement,"tabIndex");zb&&zb.focus()}nb.removeAttribute("tabindex")}}function $b(nb){return Array.prototype.slice.call(document.getElementsByTagName(nb),0)}function Hc(nb){const zb=window.devicePixelRatio*nb;return Math.max(1,Math.floor(zb))/window.devicePixelRatio}function Bc(nb){if(s.g||l.g)window.open(nb);else{let zb=window.open();zb&&(zb.opener=null,zb.location.href=nb)}}function Vc(nb){const zb=()=>{nb(),dc=Ka(zb)};let dc=Ka(zb);return Object(L.h)(()=>dc.dispose())}function Ic(nb){return nb&&D.b.vscodeRemote===nb.scheme?D.a.rewrite(nb):nb}function xc(nb){return nb?`url('${Ic(nb).toString(!0).replace(/'/g,"%27")}')`:"url('')"}!function(nb){nb.HTML="http://www.w3.org/1999/xhtml",nb.SVG="http://www.w3.org/2000/svg"}(Oa||(Oa={})),kb.SVG=function(nb,zb,...dc){return Qa(Oa.SVG,nb,zb,...dc)},D.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},function(Ga,t,f){"use strict";f.d(t,"g",function(){return F}),f.d(t,"f",function(){return P}),f.d(t,"e",function(){return Y}),f.d(t,"h",function(){return R}),f.d(t,"b",function(){return L}),f.d(t,"a",function(){return s}),f.d(t,"d",function(){return z}),f.d(t,"c",function(){return D});var l=f(37);function q(Q){}class y extends Error{constructor(Q){super(`Encounter errors while disposing of store. Errors: [${Q.join(", ")}]`),this.errors=Q}}function F(Q){return"function"==typeof Q.dispose&&0===Q.dispose.length}function P(Q){if(l.a.is(Q)){let B=[];for(const C of Q)if(C)try{C.dispose()}catch(k){B.push(k)}if(1===B.length)throw B[0];if(B.length>1)throw new y(B);return Array.isArray(Q)?[]:Q}if(Q)return Q.dispose(),Q}function Y(...Q){return Q.forEach(q),{dispose:()=>P(Q)}}function R(Q){const B={dispose:()=>{Q()}};return B}class L{constructor(){this._toDispose=new Set(),this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{P(this._toDispose.values())}finally{this._toDispose.clear()}}add(Q){if(!Q)return Q;if(Q===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?L.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(Q),Q}}L.DISABLE_DISPOSED_WARNING=!1;class s{constructor(){this._store=new L()}dispose(){this._store.dispose()}_register(Q){if(Q===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(Q)}}s.None=Object.freeze({dispose(){}});class z{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(Q){this._isDisposed||Q===this._value||(this._value&&this._value.dispose(),this._value=Q)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class D{constructor(Q){this.object=Q}dispose(){}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(9);class q{constructor(y,F,P,Y){y>P||y===P&&F>Y?(this.startLineNumber=P,this.startColumn=Y,this.endLineNumber=y,this.endColumn=F):(this.startLineNumber=y,this.startColumn=F,this.endLineNumber=P,this.endColumn=Y)}isEmpty(){return q.isEmpty(this)}static isEmpty(y){return y.startLineNumber===y.endLineNumber&&y.startColumn===y.endColumn}containsPosition(y){return q.containsPosition(this,y)}static containsPosition(y,F){return!(F.lineNumber<y.startLineNumber||F.lineNumber>y.endLineNumber)&&(!(F.lineNumber===y.startLineNumber&&F.column<y.startColumn)&&!(F.lineNumber===y.endLineNumber&&F.column>y.endColumn))}containsRange(y){return q.containsRange(this,y)}static containsRange(y,F){return!(F.startLineNumber<y.startLineNumber||F.endLineNumber<y.startLineNumber)&&(!(F.startLineNumber>y.endLineNumber||F.endLineNumber>y.endLineNumber)&&(!(F.startLineNumber===y.startLineNumber&&F.startColumn<y.startColumn)&&!(F.endLineNumber===y.endLineNumber&&F.endColumn>y.endColumn)))}strictContainsRange(y){return q.strictContainsRange(this,y)}static strictContainsRange(y,F){return!(F.startLineNumber<y.startLineNumber||F.endLineNumber<y.startLineNumber)&&(!(F.startLineNumber>y.endLineNumber||F.endLineNumber>y.endLineNumber)&&(!(F.startLineNumber===y.startLineNumber&&F.startColumn<=y.startColumn)&&!(F.endLineNumber===y.endLineNumber&&F.endColumn>=y.endColumn)))}plusRange(y){return q.plusRange(this,y)}static plusRange(y,F){let P,Y,R,L;return F.startLineNumber<y.startLineNumber?(P=F.startLineNumber,Y=F.startColumn):F.startLineNumber===y.startLineNumber?(P=F.startLineNumber,Y=Math.min(F.startColumn,y.startColumn)):(P=y.startLineNumber,Y=y.startColumn),F.endLineNumber>y.endLineNumber?(R=F.endLineNumber,L=F.endColumn):F.endLineNumber===y.endLineNumber?(R=F.endLineNumber,L=Math.max(F.endColumn,y.endColumn)):(R=y.endLineNumber,L=y.endColumn),new q(P,Y,R,L)}intersectRanges(y){return q.intersectRanges(this,y)}static intersectRanges(y,F){let P=y.startLineNumber,Y=y.startColumn,R=y.endLineNumber,L=y.endColumn,s=F.startLineNumber,z=F.startColumn,D=F.endLineNumber,Q=F.endColumn;return P<s?(P=s,Y=z):P===s&&(Y=Math.max(Y,z)),R>D?(R=D,L=Q):R===D&&(L=Math.min(L,Q)),P>R||P===R&&Y>L?null:new q(P,Y,R,L)}equalsRange(y){return q.equalsRange(this,y)}static equalsRange(y,F){return!!y&&!!F&&y.startLineNumber===F.startLineNumber&&y.startColumn===F.startColumn&&y.endLineNumber===F.endLineNumber&&y.endColumn===F.endColumn}getEndPosition(){return q.getEndPosition(this)}static getEndPosition(y){return new l.a(y.endLineNumber,y.endColumn)}getStartPosition(){return q.getStartPosition(this)}static getStartPosition(y){return new l.a(y.startLineNumber,y.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(y,F){return new q(this.startLineNumber,this.startColumn,y,F)}setStartPosition(y,F){return new q(y,F,this.endLineNumber,this.endColumn)}collapseToStart(){return q.collapseToStart(this)}static collapseToStart(y){return new q(y.startLineNumber,y.startColumn,y.startLineNumber,y.startColumn)}static fromPositions(y,F=y){return new q(y.lineNumber,y.column,F.lineNumber,F.column)}static lift(y){return y?new q(y.startLineNumber,y.startColumn,y.endLineNumber,y.endColumn):null}static isIRange(y){return y&&"number"==typeof y.startLineNumber&&"number"==typeof y.startColumn&&"number"==typeof y.endLineNumber&&"number"==typeof y.endColumn}static areIntersectingOrTouching(y,F){return!(y.endLineNumber<F.startLineNumber||y.endLineNumber===F.startLineNumber&&y.endColumn<F.startColumn)&&!(F.endLineNumber<y.startLineNumber||F.endLineNumber===y.startLineNumber&&F.endColumn<y.startColumn)}static areIntersecting(y,F){return!(y.endLineNumber<F.startLineNumber||y.endLineNumber===F.startLineNumber&&y.endColumn<=F.startColumn)&&!(F.endLineNumber<y.startLineNumber||F.endLineNumber===y.startLineNumber&&F.endColumn<=y.startColumn)}static compareRangesUsingStarts(y,F){if(y&&F){const P=0|y.startLineNumber,Y=0|F.startLineNumber;if(P===Y){const R=0|y.startColumn,L=0|F.startColumn;if(R===L){const s=0|y.endLineNumber,z=0|F.endLineNumber;return s===z?(0|y.endColumn)-(0|F.endColumn):s-z}return R-L}return P-Y}return(y?1:0)-(F?1:0)}static compareRangesUsingEnds(y,F){return y.endLineNumber===F.endLineNumber?y.endColumn===F.endColumn?y.startLineNumber===F.startLineNumber?y.startColumn-F.startColumn:y.startLineNumber-F.startLineNumber:y.endColumn-F.endColumn:y.endLineNumber-F.endLineNumber}static spansMultipleLines(y){return y.endLineNumber>y.startLineNumber}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return w}),f.d(t,"e",function(){return x}),f.d(t,"c",function(){return A}),f.d(t,"b",function(){return U}),f.d(t,"f",function(){return da}),f.d(t,"o",function(){return Z}),f.d(t,"j",function(){return H}),f.d(t,"p",function(){return ea}),f.d(t,"q",function(){return oa}),f.d(t,"l",function(){return ga}),f.d(t,"k",function(){return Ba}),f.d(t,"r",function(){return N}),f.d(t,"n",function(){return V}),f.d(t,"m",function(){return ma}),f.d(t,"d",function(){return l}),f.d(t,"i",function(){return Ka}),f.d(t,"g",function(){return G}),f.d(t,"h",function(){return hb});var l,q=f(0),y=f(13),F=f(23),P=f(41),Y=f(9),R=f(64),L=f(122),s=f(24),z=f(27),D=f(10),Q=f(92),B=f(56),C=f(120),k=f(14);class w{constructor(_a){this.id=_a.id,this.precondition=_a.precondition,this._kbOpts=_a.kbOpts,this._menuOpts=_a.menuOpts,this._description=_a.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let _a=this._kbOpts.kbExpr;this.precondition&&(_a=_a?D.a.and(_a,this.precondition):this.precondition),Q.a.registerCommandAndKeybindingRule({id:this.id,handler:(fb,za)=>this.runCommand(fb,za),weight:this._kbOpts.weight,args:this._kbOpts.args,when:_a,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else z.a.registerCommand({id:this.id,handler:(_a,fb)=>this.runCommand(_a,fb),description:this._description})}_registerMenuItem(_a){s.d.appendMenuItem(_a.menuId,{group:_a.group,command:{id:this.id,title:_a.title,icon:_a.icon},when:_a.when,order:_a.order})}}class x extends w{constructor(){super(...arguments),this._implementations=[]}addImplementation(_a,fb){return this._implementations.push([_a,fb]),this._implementations.sort((za,ua)=>ua[0]-za[0]),{dispose:()=>{for(let za=0;za<this._implementations.length;za++)if(this._implementations[za][1]===fb)return void this._implementations.splice(za,1)}}}runCommand(_a,fb){for(const za of this._implementations)if(za[1](_a,fb))return}}class u extends w{constructor(_a,fb){super(fb),this.command=_a}runCommand(_a,fb){return this.command.runCommand(_a,fb)}}class A extends w{static bindToContribution(_a){return class extends A{constructor(fb){super(fb),this._callback=fb.handler}runEditorCommand(fb,za,ua){_a(za)&&this._callback(_a(za),ua)}}}runCommand(_a,fb){const za=_a.get(P.a),ua=za.getFocusedCodeEditor()||za.getActiveCodeEditor();if(ua)return ua.invokeWithinContext(ba=>{if(ba.get(D.b).contextMatchesRules(Object(k.n)(this.precondition)))return this.runEditorCommand(ba,ua,fb)})}}class U extends A{constructor(_a){super(U.convertOptions(_a)),this.label=_a.label,this.alias=_a.alias}static convertOptions(_a){let fb;function za(ua){return ua.menuId||(ua.menuId=s.b.EditorContext),ua.title||(ua.title=_a.label),ua.when=D.a.and(_a.precondition,ua.when),ua}return fb=Array.isArray(_a.menuOpts)?_a.menuOpts:_a.menuOpts?[_a.menuOpts]:[],Array.isArray(_a.contextMenuOpts)?fb.push(..._a.contextMenuOpts.map(za)):_a.contextMenuOpts&&fb.push(za(_a.contextMenuOpts)),_a.menuOpts=fb,_a}runEditorCommand(_a,fb,za){return this.reportTelemetry(_a,fb),this.run(_a,fb,za||{})}reportTelemetry(_a,fb){_a.get(C.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class da extends U{constructor(_a){super(_a),this._implementations=[]}runEditorCommand(_a,fb,za){this.reportTelemetry(_a,fb);for(const ua of this._implementations)if(ua[1](_a,za))return;return this.run(_a,fb,za||{})}}function Z(_a,fb){z.a.registerCommand(_a,(za,ua)=>fb(za,ua||{}))}function H(_a,fb){Z(_a,function(za,ua){const{resource:ba,position:$}=ua;if(!(ba instanceof F.a))throw Object(y.b)("resource");if(!Y.a.isIPosition($))throw Object(y.b)("position");const S=za.get(R.a).getModel(ba);if(S){const aa=Y.a.lift($);return fb(S,aa,ua)}return za.get(L.a).createModelReference(ba).then(aa=>new Promise((_,I)=>{try{_(fb(aa.object.textEditorModel,Y.a.lift($),ua))}catch(ka){I(ka)}}).finally(()=>{aa.dispose()}))})}function ea(_a,fb){z.a.registerCommand(_a,function(za,...ua){const[ba,$]=ua;Object(k.b)(F.a.isUri(ba)),Object(k.b)(Y.a.isIPosition($));const S=za.get(R.a).getModel(ba);if(S){const aa=Y.a.lift($);return fb(S,aa,...ua.slice(2))}return za.get(L.a).createModelReference(ba).then(aa=>new Promise((_,I)=>{try{_(fb(aa.object.textEditorModel,Y.a.lift($),ua.slice(2)))}catch(ka){I(ka)}}).finally(()=>{aa.dispose()}))})}function oa(_a,fb){z.a.registerCommand(_a,function(za,...ua){const[ba]=ua;Object(k.b)(F.a.isUri(ba));const $=za.get(R.a).getModel(ba);return $?fb($,...ua.slice(1)):za.get(L.a).createModelReference(ba).then(S=>new Promise((aa,_)=>{try{aa(fb(S.object.textEditorModel,ua.slice(1)))}catch(I){_(I)}}).finally(()=>{S.dispose()}))})}function ga(_a){return ta.INSTANCE.registerEditorCommand(_a),_a}function Ba(_a){const fb=new _a();return ta.INSTANCE.registerEditorAction(fb),fb}function N(_a){return ta.INSTANCE.registerEditorAction(_a),_a}function V(_a){ta.INSTANCE.registerEditorAction(_a)}function ma(_a,fb){ta.INSTANCE.registerEditorContribution(_a,fb)}!function(_a){_a.getEditorCommand=function(fb){return ta.INSTANCE.getEditorCommand(fb)},_a.getEditorActions=function(){return ta.INSTANCE.getEditorActions()},_a.getEditorContributions=function(){return ta.INSTANCE.getEditorContributions()},_a.getSomeEditorContributions=function(fb){return ta.INSTANCE.getEditorContributions().filter(za=>fb.indexOf(za.id)>=0)},_a.getDiffEditorContributions=function(){return ta.INSTANCE.getDiffEditorContributions()}}(l||(l={}));class ta{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(_a,fb){this.editorContributions.push({id:_a,ctor:fb})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(_a){_a.register(),this.editorActions.push(_a)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(_a){_a.register(),this.editorCommands[_a.id]=_a}getEditorCommand(_a){return this.editorCommands[_a]||null}}function Da(_a){return _a.register(),_a}ta.INSTANCE=new ta(),B.a.add("editor.contributions",ta.INSTANCE);const Ka=Da(new x({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:s.b.MenubarEditMenu,group:"1_do",title:q.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:s.b.CommandPalette,group:"",title:q.a("undo","Undo"),order:1}]}));Da(new u(Ka,{id:"default:undo",precondition:void 0}));const G=Da(new x({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:s.b.MenubarEditMenu,group:"1_do",title:q.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:s.b.CommandPalette,group:"",title:q.a("redo","Redo"),order:1}]}));Da(new u(G,{id:"default:redo",precondition:void 0}));const hb=Da(new x({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:s.b.MenubarSelectionMenu,group:"1_basic",title:q.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:s.b.CommandPalette,group:"",title:q.a("selectAll","Select All"),order:1}]}))},function(Ga,t,f){"use strict";f.d(t,"a",function(){return R}),f.d(t,"gc",function(){return s}),f.d(t,"ab",function(){return z}),f.d(t,"Y",function(){return D}),f.d(t,"bb",function(){return Q}),f.d(t,"Z",function(){return B}),f.d(t,"h",function(){return C}),f.d(t,"b",function(){return k}),f.d(t,"rc",function(){return w}),f.d(t,"qc",function(){return x}),f.d(t,"uc",function(){return u}),f.d(t,"fb",function(){return A}),f.d(t,"hb",function(){return U}),f.d(t,"gb",function(){return da}),f.d(t,"db",function(){return Z}),f.d(t,"cb",function(){return H}),f.d(t,"eb",function(){return ea}),f.d(t,"lb",function(){return oa}),f.d(t,"nb",function(){return ga}),f.d(t,"mb",function(){return Ba}),f.d(t,"ob",function(){return N}),f.d(t,"qb",function(){return V}),f.d(t,"pb",function(){return ma}),f.d(t,"ib",function(){return ta}),f.d(t,"kb",function(){return Da}),f.d(t,"jb",function(){return Ka}),f.d(t,"f",function(){return _a}),f.d(t,"e",function(){return fb}),f.d(t,"g",function(){return za}),f.d(t,"c",function(){return ua}),f.d(t,"d",function(){return ba}),f.d(t,"ic",function(){return $}),f.d(t,"kc",function(){return S}),f.d(t,"lc",function(){return aa}),f.d(t,"jc",function(){return _}),f.d(t,"cc",function(){return I}),f.d(t,"u",function(){return ka}),f.d(t,"t",function(){return va}),f.d(t,"T",function(){return La}),f.d(t,"S",function(){return $a}),f.d(t,"L",function(){return Ab}),f.d(t,"K",function(){return gb}),f.d(t,"D",function(){return Fb}),f.d(t,"C",function(){return wb}),f.d(t,"s",function(){return tc}),f.d(t,"B",function(){return rb}),f.d(t,"U",function(){return wc}),f.d(t,"W",function(){return vc}),f.d(t,"V",function(){return cb}),f.d(t,"X",function(){return Ob}),f.d(t,"dc",function(){return uc}),f.d(t,"ec",function(){return Cc}),f.d(t,"fc",function(){return Kc}),f.d(t,"Yb",function(){return Yc}),f.d(t,"Xb",function(){return sc}),f.d(t,"O",function(){return Nb}),f.d(t,"P",function(){return Fc}),f.d(t,"J",function(){return pb}),f.d(t,"Q",function(){return mc}),f.d(t,"R",function(){return Eb}),f.d(t,"v",function(){return qb}),f.d(t,"x",function(){return Va}),f.d(t,"z",function(){return Oa}),f.d(t,"w",function(){return Qa}),f.d(t,"y",function(){return kb}),f.d(t,"A",function(){return tb}),f.d(t,"H",function(){return oc}),f.d(t,"E",function(){return ec}),f.d(t,"G",function(){return $b}),f.d(t,"F",function(){return Hc}),f.d(t,"I",function(){return Bc}),f.d(t,"r",function(){return Vc}),f.d(t,"N",function(){return Ic}),f.d(t,"M",function(){return xc}),f.d(t,"j",function(){return nb}),f.d(t,"k",function(){return zb}),f.d(t,"n",function(){return dc}),f.d(t,"p",function(){return Dc}),f.d(t,"o",function(){return Pc}),f.d(t,"q",function(){return Nc}),f.d(t,"l",function(){return Ed}),f.d(t,"m",function(){return ad}),f.d(t,"xb",function(){return ud}),f.d(t,"yb",function(){return Od}),f.d(t,"rb",function(){return wd}),f.d(t,"sb",function(){return Dd}),f.d(t,"Db",function(){return ce}),f.d(t,"Eb",function(){return _d}),f.d(t,"Cb",function(){return oe}),f.d(t,"Ab",function(){return nd}),f.d(t,"Bb",function(){return Qd}),f.d(t,"tb",function(){return jd}),f.d(t,"zb",function(){return de}),f.d(t,"ub",function(){return Gd}),f.d(t,"wb",function(){return xd}),f.d(t,"vb",function(){return K}),f.d(t,"tc",function(){return W}),f.d(t,"Gb",function(){return ia}),f.d(t,"Hb",function(){return Ha}),f.d(t,"Fb",function(){return Ta}),f.d(t,"Kb",function(){return db}),f.d(t,"Ib",function(){return yb}),f.d(t,"Jb",function(){return Bb}),f.d(t,"Lb",function(){return Jb}),f.d(t,"oc",function(){return xb}),f.d(t,"pc",function(){return Lb}),f.d(t,"mc",function(){return Ub}),f.d(t,"nc",function(){return pc}),f.d(t,"Vb",function(){return yc}),f.d(t,"Wb",function(){return Ec}),f.d(t,"Ob",function(){return X}),f.d(t,"Pb",function(){return xa}),f.d(t,"Nb",function(){return qa}),f.d(t,"Tb",function(){return mb}),f.d(t,"Mb",function(){return ub}),f.d(t,"Rb",function(){return Rb}),f.d(t,"Sb",function(){return jc}),f.d(t,"Qb",function(){return Xb}),f.d(t,"Zb",function(){return wa}),f.d(t,"bc",function(){return fa}),f.d(t,"ac",function(){return ra}),f.d(t,"i",function(){return Ra}),f.d(t,"sc",function(){return Ya}),f.d(t,"Ub",function(){return jb}),f.d(t,"hc",function(){return Yb});var l=f(56),q=f(16),y=f(6),F=f(0),P=f(188),Y=f(20);const R={ColorContribution:"base.contributions.colors"},L=new class{constructor(){this._onDidChangeSchema=new y.a(),this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(_b,qc,nc,Aa=!1,ya){let pa={id:_b,description:nc,defaults:qc,needsTransparency:Aa,deprecationMessage:ya};this.colorsById[_b]=pa;let Ja={type:"string",description:nc,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return ya&&(Ja.deprecationMessage=ya),this.colorSchema.properties[_b]=Ja,this.colorReferenceSchema.enum.push(_b),this.colorReferenceSchema.enumDescriptions.push(nc),this._onDidChangeSchema.fire(),_b}resolveDefaultColor(_b,qc){const nc=this.colorsById[_b];if(nc&&nc.defaults)return Yb(nc.defaults[qc.type],qc)}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((_b,qc)=>{let nc=-1===_b.indexOf(".")?0:1,Aa=-1===qc.indexOf(".")?0:1;return nc!==Aa?nc-Aa:_b.localeCompare(qc)}).map(_b=>`- \`${_b}\`: ${this.colorsById[_b].description}`).join(` -`)}}();function s(_b,qc,nc,Aa,ya){return L.registerColor(_b,qc,nc,Aa,ya)}l.a.add(R.ColorContribution,L);const z=s("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},F.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),D=s("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},F.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),Q=s("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},F.a("iconForeground","The default color for icons in the workbench.")),B=s("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},F.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),C=s("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},F.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),k=s("contrastActiveBorder",{light:null,dark:null,hc:B},F.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),w=s("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},F.a("textLinkForeground","Foreground color for links in text.")),x=s("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:q.a.black},F.a("textCodeBlockBackground","Background color for code blocks in text.")),u=s("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},F.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),A=s("input.background",{dark:"#3C3C3C",light:q.a.white,hc:q.a.black},F.a("inputBoxBackground","Input box background.")),U=s("input.foreground",{dark:z,light:z,hc:z},F.a("inputBoxForeground","Input box foreground.")),da=s("input.border",{dark:null,light:null,hc:C},F.a("inputBoxBorder","Input box border.")),Z=s("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:C},F.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),H=s("inputOption.activeBackground",{dark:Ya(B,.4),light:Ya(B,.2),hc:q.a.transparent},F.a("inputOption.activeBackground","Background color of activated options in input fields.")),ea=s("inputOption.activeForeground",{dark:q.a.white,light:q.a.black,hc:null},F.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),oa=s("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:q.a.black},F.a("inputValidationInfoBackground","Input validation background color for information severity.")),ga=s("inputValidation.infoForeground",{dark:null,light:null,hc:null},F.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),Ba=s("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:C},F.a("inputValidationInfoBorder","Input validation border color for information severity.")),N=s("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:q.a.black},F.a("inputValidationWarningBackground","Input validation background color for warning severity.")),V=s("inputValidation.warningForeground",{dark:null,light:null,hc:null},F.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),ma=s("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:C},F.a("inputValidationWarningBorder","Input validation border color for warning severity.")),ta=s("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:q.a.black},F.a("inputValidationErrorBackground","Input validation background color for error severity.")),Da=s("inputValidation.errorForeground",{dark:null,light:null,hc:null},F.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),Ka=s("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:C},F.a("inputValidationErrorBorder","Input validation border color for error severity.")),G=s("dropdown.background",{dark:"#3C3C3C",light:q.a.white,hc:q.a.black},F.a("dropdownBackground","Dropdown background.")),hb=s("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:q.a.white},F.a("dropdownForeground","Dropdown foreground.")),_a=s("button.foreground",{dark:q.a.white,light:q.a.white,hc:q.a.white},F.a("buttonForeground","Button foreground color.")),fb=s("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},F.a("buttonBackground","Button background color.")),za=s("button.hoverBackground",{dark:ab(fb,.2),light:Ra(fb,.2),hc:null},F.a("buttonHoverBackground","Button background color when hovering.")),ua=s("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:q.a.black},F.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),ba=s("badge.foreground",{dark:q.a.white,light:"#333",hc:q.a.white},F.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),$=s("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},F.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),S=s("scrollbarSlider.background",{dark:q.a.fromHex("#797979").transparent(.4),light:q.a.fromHex("#646464").transparent(.4),hc:Ya(C,.6)},F.a("scrollbarSliderBackground","Scrollbar slider background color.")),aa=s("scrollbarSlider.hoverBackground",{dark:q.a.fromHex("#646464").transparent(.7),light:q.a.fromHex("#646464").transparent(.7),hc:Ya(C,.8)},F.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),_=s("scrollbarSlider.activeBackground",{dark:q.a.fromHex("#BFBFBF").transparent(.4),light:q.a.fromHex("#000000").transparent(.6),hc:C},F.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),I=s("progressBar.background",{dark:q.a.fromHex("#0E70C0"),light:q.a.fromHex("#0E70C0"),hc:C},F.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),ka=s("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},F.a("editorError.foreground","Foreground color of error squigglies in the editor.")),va=s("editorError.border",{dark:null,light:null,hc:q.a.fromHex("#E47777").transparent(.8)},F.a("errorBorder","Border color of error boxes in the editor.")),La=s("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},F.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),$a=s("editorWarning.border",{dark:null,light:null,hc:q.a.fromHex("#FFCC00").transparent(.8)},F.a("warningBorder","Border color of warning boxes in the editor.")),Ab=s("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},F.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),gb=s("editorInfo.border",{dark:null,light:null,hc:q.a.fromHex("#75BEFF").transparent(.8)},F.a("infoBorder","Border color of info boxes in the editor.")),Fb=s("editorHint.foreground",{dark:q.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},F.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),wb=s("editorHint.border",{dark:null,light:null,hc:q.a.fromHex("#eeeeee").transparent(.8)},F.a("hintBorder","Border color of hint boxes in the editor.")),tc=s("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:q.a.black},F.a("editorBackground","Editor background color.")),rb=s("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:q.a.white},F.a("editorForeground","Editor default foreground color.")),wc=s("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},F.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),vc=s("editorWidget.foreground",{dark:z,light:z,hc:z},F.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),cb=s("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:C},F.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),Ob=s("editorWidget.resizeBorder",{light:null,dark:null,hc:null},F.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),uc=s("quickInput.background",{dark:wc,light:wc,hc:wc},F.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),Cc=s("quickInput.foreground",{dark:vc,light:vc,hc:vc},F.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),Kc=s("quickInputTitle.background",{dark:new q.a(new q.c(255,255,255,.105)),light:new q.a(new q.c(0,0,0,.06)),hc:"#000000"},F.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),Yc=s("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:q.a.white},F.a("pickerGroupForeground","Quick picker color for grouping labels.")),sc=s("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:q.a.white},F.a("pickerGroupBorder","Quick picker color for grouping borders.")),Nb=s("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},F.a("editorSelectionBackground","Color of the editor selection.")),Fc=s("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},F.a("editorSelectionForeground","Color of the selected text for high contrast.")),pb=s("editor.inactiveSelectionBackground",{light:Ya(Nb,.5),dark:Ya(Nb,.5),hc:Ya(Nb,.5)},F.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),mc=s("editor.selectionHighlightBackground",{light:Sb(Nb,tc,.3,.6),dark:Sb(Nb,tc,.3,.6),hc:null},F.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Eb=s("editor.selectionHighlightBorder",{light:null,dark:null,hc:k},F.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),qb=s("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},F.a("editorFindMatch","Color of the current search match.")),Va=s("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},F.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Oa=s("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},F.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Qa=s("editor.findMatchBorder",{light:null,dark:null,hc:k},F.a("editorFindMatchBorder","Border color of the current search match.")),kb=s("editor.findMatchHighlightBorder",{light:null,dark:null,hc:k},F.a("findMatchHighlightBorder","Border color of the other search matches.")),tb=s("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Ya(k,.4)},F.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),oc=s("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},F.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),ec=s("editorHoverWidget.background",{light:wc,dark:wc,hc:wc},F.a("hoverBackground","Background color of the editor hover.")),$b=s("editorHoverWidget.foreground",{light:vc,dark:vc,hc:vc},F.a("hoverForeground","Foreground color of the editor hover.")),Hc=s("editorHoverWidget.border",{light:cb,dark:cb,hc:cb},F.a("hoverBorder","Border color of the editor hover.")),Bc=s("editorHoverWidget.statusBarBackground",{dark:ab(ec,.2),light:Ra(ec,.05),hc:wc},F.a("statusBarBackground","Background color of the editor hover status bar.")),Vc=s("editorLink.activeForeground",{dark:"#4E94CE",light:q.a.blue,hc:q.a.cyan},F.a("activeLinkForeground","Color of active links.")),Ic=s("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},F.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),xc=s("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},F.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),nb=new q.a(new q.c(155,185,85,.2)),zb=new q.a(new q.c(255,0,0,.2)),dc=s("diffEditor.insertedTextBackground",{dark:nb,light:nb,hc:null},F.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Dc=s("diffEditor.removedTextBackground",{dark:zb,light:zb,hc:null},F.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Pc=s("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},F.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Nc=s("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},F.a("diffEditorRemovedOutline","Outline color for text that got removed.")),Ed=s("diffEditor.border",{dark:null,light:null,hc:C},F.a("diffEditorBorder","Border color between the two text editors.")),ad=s("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},F.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),ud=s("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},F.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Od=s("list.focusForeground",{dark:null,light:null,hc:null},F.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),wd=s("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},F.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Dd=s("list.activeSelectionForeground",{dark:q.a.white,light:q.a.white,hc:null},F.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ce=s("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},F.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),_d=s("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},F.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),oe=s("list.inactiveFocusBackground",{dark:null,light:null,hc:null},F.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),nd=s("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},F.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Qd=s("list.hoverForeground",{dark:null,light:null,hc:null},F.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),jd=s("list.dropBackground",{dark:ud,light:ud,hc:null},F.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),de=s("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:B},F.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Gd=s("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:q.a.black},F.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),xd=s("listFilterWidget.outline",{dark:q.a.transparent,light:q.a.transparent,hc:"#f38518"},F.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),K=s("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:C},F.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),W=s("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},F.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),ia=s("menu.border",{dark:null,light:null,hc:C},F.a("menuBorder","Border color of menus.")),Ha=s("menu.foreground",{dark:hb,light:z,hc:hb},F.a("menuForeground","Foreground color of menu items.")),Ta=s("menu.background",{dark:G,light:G,hc:G},F.a("menuBackground","Background color of menu items.")),db=s("menu.selectionForeground",{dark:Dd,light:Dd,hc:Dd},F.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),yb=s("menu.selectionBackground",{dark:wd,light:wd,hc:wd},F.a("menuSelectionBackground","Background color of the selected menu item in menus.")),Bb=s("menu.selectionBorder",{dark:null,light:null,hc:k},F.a("menuSelectionBorder","Border color of the selected menu item in menus.")),Jb=s("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:C},F.a("menuSeparatorBackground","Color of a separator menu item in menus.")),xb=s("editor.snippetTabstopHighlightBackground",{dark:new q.a(new q.c(124,124,124,.3)),light:new q.a(new q.c(10,50,100,.2)),hc:new q.a(new q.c(124,124,124,.3))},F.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Lb=s("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},F.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),Ub=s("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},F.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),pc=s("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new q.a(new q.c(10,50,100,.5)),hc:"#525252"},F.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),yc=s("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},F.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),Ec=s("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},F.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),X=s("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},F.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),xa=s("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},F.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),qa=s("minimap.errorHighlight",{dark:new q.a(new q.c(255,18,18,.7)),light:new q.a(new q.c(255,18,18,.7)),hc:new q.a(new q.c(255,50,50,1))},F.a("minimapError","Minimap marker color for errors.")),mb=s("minimap.warningHighlight",{dark:La,light:La,hc:$a},F.a("overviewRuleWarning","Minimap marker color for warnings.")),ub=s("minimap.background",{dark:null,light:null,hc:null},F.a("minimapBackground","Minimap background color.")),Rb=s("minimapSlider.background",{light:Ya(S,.5),dark:Ya(S,.5),hc:Ya(S,.5)},F.a("minimapSliderBackground","Minimap slider background color.")),jc=s("minimapSlider.hoverBackground",{light:Ya(aa,.5),dark:Ya(aa,.5),hc:Ya(aa,.5)},F.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),Xb=s("minimapSlider.activeBackground",{light:Ya(_,.5),dark:Ya(_,.5),hc:Ya(_,.5)},F.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),wa=s("problemsErrorIcon.foreground",{dark:ka,light:ka,hc:ka},F.a("problemsErrorIconForeground","The color used for the problems error icon.")),fa=s("problemsWarningIcon.foreground",{dark:La,light:La,hc:La},F.a("problemsWarningIconForeground","The color used for the problems warning icon.")),ra=s("problemsInfoIcon.foreground",{dark:Ab,light:Ab,hc:Ab},F.a("problemsInfoIconForeground","The color used for the problems info icon."));function Ra(_b,qc){return nc=>{let Aa=Yb(_b,nc);if(Aa)return Aa.darken(qc)}}function ab(_b,qc){return nc=>{let Aa=Yb(_b,nc);if(Aa)return Aa.lighten(qc)}}function Ya(_b,qc){return nc=>{let Aa=Yb(_b,nc);if(Aa)return Aa.transparent(qc)}}function jb(..._b){return qc=>{for(let nc of _b){let Aa=Yb(nc,qc);if(Aa)return Aa}}}function Sb(_b,qc,nc,Aa){return ya=>{let pa=Yb(_b,ya);if(pa){let Ja=Yb(qc,ya);return Ja?pa.isDarkerThan(Ja)?q.a.getLighterColor(pa,Ja,nc).transparent(Aa):q.a.getDarkerColor(pa,Ja,nc).transparent(Aa):pa.transparent(nc*Aa)}}}function Yb(_b,qc){if(null!==_b)return"string"==typeof _b?"#"===_b[0]?q.a.fromHex(_b):qc.getColor(_b):_b instanceof q.a?_b:"function"==typeof _b?_b(qc):void 0}let rc=l.a.as(P.a.JSONContribution);rc.registerSchema("vscode://schemas/workbench-colors",L.getColorSchema());const zc=new Y.d(()=>rc.notifySchemaChanged("vscode://schemas/workbench-colors"),200);L.onDidChangeSchema(()=>{zc.isScheduled()||zc.schedule()})},function(Ga,t,f){"use strict";f.d(t,"b",function(){return l}),f.d(t,"a",function(){return P}),f.d(t,"d",function(){return Y}),f.d(t,"c",function(){return R}),f.d(t,"e",function(){return L});var l,q=f(13),y=f(2),F=f(53);!function(s){function z(A){return(U,da=null,Z)=>{let H,ea=!1;return H=A(oa=>{if(!ea)return H?H.dispose():ea=!0,U.call(da,oa)},null,Z),ea&&H.dispose(),H}}function D(A,U){return k((da,Z=null,H)=>A(ea=>da.call(Z,U(ea)),null,H))}function Q(A,U){return k((da,Z=null,H)=>A(ea=>{U(ea),da.call(Z,ea)},null,H))}function B(A,U){return k((da,Z=null,H)=>A(ea=>U(ea)&&da.call(Z,ea),null,H))}function C(A,U,da){let Z=da;return D(A,H=>(Z=U(Z,H),Z))}function k(A){let U;const da=new P({onFirstListenerAdd(){U=A(da.fire,da)},onLastListenerRemove(){U.dispose()}});return da.event}function w(A,U,da=100,Z=!1,H){let ea,oa,ga,Ba=0;const N=new P({leakWarningThreshold:H,onFirstListenerAdd(){ea=A(V=>{Ba++,oa=U(oa,V),Z&&!ga&&(N.fire(oa),oa=void 0),clearTimeout(ga),ga=setTimeout(()=>{const ma=oa;oa=void 0,ga=void 0,(!Z||Ba>1)&&N.fire(ma),Ba=0},da)})},onLastListenerRemove(){ea.dispose()}});return N.event}function x(A){let U,da=!0;return B(A,Z=>{const H=da||Z!==U;return da=!1,U=Z,H})}s.None=()=>y.a.None,s.once=z,s.map=D,s.forEach=Q,s.filter=B,s.signal=function(A){return A},s.any=function(...A){return(U,da=null,Z)=>Object(y.e)(...A.map(H=>H(ea=>U.call(da,ea),null,Z)))},s.reduce=C,s.snapshot=k,s.debounce=w,s.stopwatch=function(A){const U=new Date().getTime();return D(z(A),da=>new Date().getTime()-U)},s.latch=x,s.buffer=function(A,U=!1,da=[]){let Z=da.slice(),H=A(ga=>{Z?Z.push(ga):oa.fire(ga)});const ea=()=>{Z&&Z.forEach(ga=>oa.fire(ga)),Z=null},oa=new P({onFirstListenerAdd(){H||(H=A(ga=>oa.fire(ga)))},onFirstListenerDidAdd(){Z&&(U?setTimeout(ea):ea())},onLastListenerRemove(){H&&H.dispose(),H=null}});return oa.event};class u{constructor(A){this.event=A}map(A){return new u(D(this.event,A))}forEach(A){return new u(Q(this.event,A))}filter(A){return new u(B(this.event,A))}reduce(A,U){return new u(C(this.event,A,U))}latch(){return new u(x(this.event))}debounce(A,U=100,da=!1,Z){return new u(w(this.event,A,U,da,Z))}on(A,U,da){return this.event(A,U,da)}once(A,U,da){return z(this.event)(A,U,da)}}s.chain=function(A){return new u(A)},s.fromNodeEventEmitter=function(A,U,da=Z=>Z){const Z=(...ea)=>H.fire(da(...ea)),H=new P({onFirstListenerAdd:()=>A.on(U,Z),onLastListenerRemove:()=>A.removeListener(U,Z)});return H.event},s.fromDOMEventEmitter=function(A,U,da=Z=>Z){const Z=(...ea)=>H.fire(da(...ea)),H=new P({onFirstListenerAdd:()=>A.addEventListener(U,Z),onLastListenerRemove:()=>A.removeEventListener(U,Z)});return H.event},s.fromPromise=function(A){const U=new P();let da=!1;return A.then(void 0,()=>null).then(()=>{da?U.fire(void 0):setTimeout(()=>U.fire(void 0),0)}),da=!0,U.event},s.toPromise=function(A){return new Promise(U=>z(A)(U))}}(l||(l={}));class P{constructor(s){this._disposed=!1,this._options=s,this._leakageMon=void 0}get event(){return this._event||(this._event=(s,z,D)=>{this._listeners||(this._listeners=new F.a());const Q=this._listeners.isEmpty();Q&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const B=this._listeners.push(z?[s,z]:s);let C,k;return Q&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,s,z),this._leakageMon&&(C=this._leakageMon.check(this._listeners.size)),k={dispose:()=>{(C&&C(),k.dispose=P._noop,!this._disposed&&(B(),this._options&&this._options.onLastListenerRemove))&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this))}},D instanceof y.b?D.add(k):Array.isArray(D)&&D.push(k),k}),this._event}fire(s){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new F.a());for(let z of this._listeners)this._deliveryQueue.push([z,s]);for(;this._deliveryQueue.size>0;){const[z,D]=this._deliveryQueue.shift();try{"function"==typeof z?z.call(void 0,D):z[0].call(z[1],D)}catch(Q){Object(q.e)(Q)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}P._noop=function(){};class Y extends P{constructor(s){super(s),this._isPaused=0,this._eventQueue=new F.a(),this._mergeFn=s&&s.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const s=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(s))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(s){this._listeners&&(0!==this._isPaused?this._eventQueue.push(s):super.fire(s))}}class R{constructor(){this.buffers=[]}wrapEvent(s){return(z,D,Q)=>s(B=>{const C=this.buffers[this.buffers.length-1];C?C.push(()=>z.call(D,B)):z.call(D,B)},void 0,Q)}bufferEvents(s){const z=[];this.buffers.push(z);const D=s();return this.buffers.pop(),z.forEach(Q=>Q()),D}}class L{constructor(){this.listening=!1,this.inputEvent=l.None,this.inputEventListener=y.a.None,this.emitter=new P({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(s){this.inputEvent=s,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=s(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l});var l,q=f(10);!function(y){y.editorSimpleInput=new q.c("editorSimpleInput",!1),y.editorTextFocus=new q.c("editorTextFocus",!1),y.focus=new q.c("editorFocus",!1),y.textInputFocus=new q.c("textInputFocus",!1),y.readOnly=new q.c("editorReadonly",!1),y.columnSelection=new q.c("editorColumnSelection",!1),y.writable=y.readOnly.toNegated(),y.hasNonEmptySelection=new q.c("editorHasSelection",!1),y.hasOnlyEmptySelection=y.hasNonEmptySelection.toNegated(),y.hasMultipleSelections=new q.c("editorHasMultipleSelections",!1),y.hasSingleSelection=y.hasMultipleSelections.toNegated(),y.tabMovesFocus=new q.c("editorTabMovesFocus",!1),y.tabDoesNotMoveFocus=y.tabMovesFocus.toNegated(),y.isInWalkThroughSnippet=new q.c("isInEmbeddedEditor",!1),y.canUndo=new q.c("canUndo",!1),y.canRedo=new q.c("canRedo",!1),y.hoverVisible=new q.c("editorHoverVisible",!1),y.inCompositeEditor=new q.c("inCompositeEditor",void 0),y.notInCompositeEditor=y.inCompositeEditor.toNegated(),y.languageId=new q.c("editorLangId",""),y.hasCompletionItemProvider=new q.c("editorHasCompletionItemProvider",!1),y.hasCodeActionsProvider=new q.c("editorHasCodeActionsProvider",!1),y.hasCodeLensProvider=new q.c("editorHasCodeLensProvider",!1),y.hasDefinitionProvider=new q.c("editorHasDefinitionProvider",!1),y.hasDeclarationProvider=new q.c("editorHasDeclarationProvider",!1),y.hasImplementationProvider=new q.c("editorHasImplementationProvider",!1),y.hasTypeDefinitionProvider=new q.c("editorHasTypeDefinitionProvider",!1),y.hasHoverProvider=new q.c("editorHasHoverProvider",!1),y.hasDocumentHighlightProvider=new q.c("editorHasDocumentHighlightProvider",!1),y.hasDocumentSymbolProvider=new q.c("editorHasDocumentSymbolProvider",!1),y.hasReferenceProvider=new q.c("editorHasReferenceProvider",!1),y.hasRenameProvider=new q.c("editorHasRenameProvider",!1),y.hasSignatureHelpProvider=new q.c("editorHasSignatureHelpProvider",!1),y.hasDocumentFormattingProvider=new q.c("editorHasDocumentFormattingProvider",!1),y.hasDocumentSelectionFormattingProvider=new q.c("editorHasDocumentSelectionFormattingProvider",!1),y.hasMultipleDocumentFormattingProvider=new q.c("editorHasMultipleDocumentFormattingProvider",!1),y.hasMultipleDocumentSelectionFormattingProvider=new q.c("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(l||(l={}))},function(Ga,t,f){"use strict";function l(cb){return!cb||"string"!=typeof cb||0===cb.trim().length}function q(cb,Ob,uc="0"){const Cc=""+cb,Kc=[Cc];for(let Yc=Cc.length;Yc<Ob;Yc++)Kc.push(uc);return Kc.reverse().join("")}f.d(t,"D",function(){return l}),f.d(t,"M",function(){return q}),f.d(t,"x",function(){return F}),f.d(t,"u",function(){return P}),f.d(t,"v",function(){return Y}),f.d(t,"W",function(){return R}),f.d(t,"K",function(){return L}),f.d(t,"Q",function(){return s}),f.d(t,"p",function(){return z}),f.d(t,"V",function(){return D}),f.d(t,"S",function(){return Q}),f.d(t,"s",function(){return B}),f.d(t,"q",function(){return C}),f.d(t,"P",function(){return k}),f.d(t,"O",function(){return w}),f.d(t,"w",function(){return x}),f.d(t,"z",function(){return u}),f.d(t,"J",function(){return A}),f.d(t,"f",function(){return U}),f.d(t,"h",function(){return da}),f.d(t,"g",function(){return Z}),f.d(t,"i",function(){return H}),f.d(t,"H",function(){return ea}),f.d(t,"I",function(){return oa}),f.d(t,"t",function(){return Ba}),f.d(t,"T",function(){return V}),f.d(t,"d",function(){return ma}),f.d(t,"e",function(){return ta}),f.d(t,"F",function(){return Da}),f.d(t,"G",function(){return Ka}),f.d(t,"j",function(){return G}),f.d(t,"A",function(){return hb}),f.d(t,"L",function(){return fb}),f.d(t,"N",function(){return za}),f.d(t,"r",function(){return ua}),f.d(t,"m",function(){return $}),f.d(t,"k",function(){return aa}),f.d(t,"B",function(){return I}),f.d(t,"a",function(){return ka}),f.d(t,"n",function(){return va}),f.d(t,"l",function(){return La}),f.d(t,"E",function(){return $a}),f.d(t,"C",function(){return Ab}),f.d(t,"b",function(){return gb}),f.d(t,"U",function(){return Fb}),f.d(t,"o",function(){return wb}),f.d(t,"R",function(){return tc}),f.d(t,"y",function(){return rb}),f.d(t,"c",function(){return wc});const y=/{(\d+)}/g;function F(cb,...Ob){return 0===Ob.length?cb:cb.replace(y,function(uc,Cc){const Kc=parseInt(Cc,10);return isNaN(Kc)||Kc<0||Kc>=Ob.length?uc:Ob[Kc]})}function P(cb){return cb.replace(/[<>&]/g,function(Ob){switch(Ob){case"<":return"<";case">":return">";case"&":return"&";default:return Ob}})}function Y(cb){return cb.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function R(cb,Ob=" "){return s(L(cb,Ob),Ob)}function L(cb,Ob){if(!cb||!Ob)return cb;const uc=Ob.length;if(0===uc||0===cb.length)return cb;let Cc=0;for(;cb.indexOf(Ob,Cc)===Cc;)Cc+=uc;return cb.substring(Cc)}function s(cb,Ob){if(!cb||!Ob)return cb;const uc=Ob.length,Cc=cb.length;if(0===uc||0===Cc)return cb;let Kc=Cc,Yc=-1;for(;Yc=cb.lastIndexOf(Ob,Kc-1),-1!==Yc&&Yc+uc===Kc;){if(0===Yc)return"";Kc=Yc}return cb.substring(0,Kc)}function z(cb){return cb.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function D(cb){return cb.replace(/\*/g,"")}function Q(cb,Ob){if(cb.length<Ob.length)return!1;if(cb===Ob)return!0;for(let uc=0;uc<Ob.length;uc++)if(cb[uc]!==Ob[uc])return!1;return!0}function B(cb,Ob){const uc=cb.length-Ob.length;return uc>0?cb.indexOf(Ob,uc)===uc:0===uc&&cb===Ob}function C(cb,Ob,uc={}){if(!cb)throw new Error("Cannot create regex from empty string");Ob||(cb=Y(cb)),uc.wholeWord&&(/\B/.test(cb.charAt(0))||(cb="\\b"+cb),/\B/.test(cb.charAt(cb.length-1))||(cb+="\\b"));let Cc="";return uc.global&&(Cc+="g"),uc.matchCase||(Cc+="i"),uc.multiline&&(Cc+="m"),uc.unicode&&(Cc+="u"),new RegExp(cb,Cc)}function k(cb){return"^"===cb.source||"^$"===cb.source||"$"===cb.source||"^\\s*$"===cb.source?!1:!(!cb.exec("")||0!==cb.lastIndex)}function w(cb){return(cb.global?"g":"")+(cb.ignoreCase?"i":"")+(cb.multiline?"m":"")+(cb.unicode?"u":"")}function x(cb){for(let Ob=0,uc=cb.length;Ob<uc;Ob++){const Cc=cb.charCodeAt(Ob);if(32!==Cc&&9!==Cc)return Ob}return-1}function u(cb,Ob=0,uc=cb.length){for(let Cc=Ob;Cc<uc;Cc++){const Kc=cb.charCodeAt(Cc);if(32!==Kc&&9!==Kc)return cb.substring(Ob,Cc)}return cb.substring(Ob,uc)}function A(cb,Ob=cb.length-1){for(let uc=Ob;uc>=0;uc--){const Cc=cb.charCodeAt(uc);if(32!==Cc&&9!==Cc)return uc}return-1}function U(cb,Ob){return cb<Ob?-1:cb>Ob?1:0}function da(cb,Ob,uc=0,Cc=cb.length,Kc=0,Yc=Ob.length){for(;uc<Cc&&Kc<Yc;uc++,Kc++){let Fc=cb.charCodeAt(uc),pb=Ob.charCodeAt(Kc);if(Fc<pb)return-1;if(Fc>pb)return 1}const sc=Cc-uc,Nb=Yc-Kc;return sc<Nb?-1:sc>Nb?1:0}function Z(cb,Ob){return H(cb,Ob,0,cb.length,0,Ob.length)}function H(cb,Ob,uc=0,Cc=cb.length,Kc=0,Yc=Ob.length){for(;uc<Cc&&Kc<Yc;uc++,Kc++){let Fc=cb.charCodeAt(uc),pb=Ob.charCodeAt(Kc);if(Fc===pb)continue;const mc=Fc-pb;if((32!==mc||!oa(pb))&&(-32!==mc||!oa(Fc)))return ea(Fc)&&ea(pb)?mc:da(cb.toLowerCase(),Ob.toLowerCase(),uc,Cc,Kc,Yc)}const sc=Cc-uc,Nb=Yc-Kc;return sc<Nb?-1:sc>Nb?1:0}function ea(cb){return cb>=97&&cb<=122}function oa(cb){return cb>=65&&cb<=90}function ga(cb){return ea(cb)||oa(cb)}function Ba(cb,Ob){return cb.length===Ob.length&&N(cb,Ob)}function N(cb,Ob,uc=cb.length){for(let Cc=0;Cc<uc;Cc++){const Kc=cb.charCodeAt(Cc),Yc=Ob.charCodeAt(Cc);if(Kc!==Yc){if(ga(Kc)&&ga(Yc)){const sc=Math.abs(Kc-Yc);if(0!==sc&&32!==sc)return!1}else if(String.fromCharCode(Kc).toLowerCase()!==String.fromCharCode(Yc).toLowerCase())return!1}}return!0}function V(cb,Ob){const uc=Ob.length;return!(Ob.length>cb.length)&&N(cb,Ob,uc)}function ma(cb,Ob){let uc,Cc=Math.min(cb.length,Ob.length);for(uc=0;uc<Cc;uc++)if(cb.charCodeAt(uc)!==Ob.charCodeAt(uc))return uc;return Cc}function ta(cb,Ob){let uc,Cc=Math.min(cb.length,Ob.length);const Kc=cb.length-1,Yc=Ob.length-1;for(uc=0;uc<Cc;uc++)if(cb.charCodeAt(Kc-uc)!==Ob.charCodeAt(Yc-uc))return uc;return Cc}function Da(cb){return 55296<=cb&&cb<=56319}function Ka(cb){return 56320<=cb&&cb<=57343}function G(cb,Ob){return Ob-56320+(cb-55296<<10)+65536}function hb(cb,Ob,uc){const Cc=cb.charCodeAt(uc);if(Da(Cc)&&uc+1<Ob){const Kc=cb.charCodeAt(uc+1);if(Ka(Kc))return G(Cc,Kc)}return Cc}function _a(cb,Ob){const uc=cb.charCodeAt(Ob-1);if(Ka(uc)&&Ob>1){const Cc=cb.charCodeAt(Ob-2);if(Da(Cc))return G(Cc,uc)}return uc}function fb(cb,Ob){const uc=vc.getInstance(),Cc=Ob,Kc=cb.length,Yc=hb(cb,Kc,Ob);Ob+=Yc>=65536?2:1;let sc=uc.getGraphemeBreakType(Yc);for(;Ob<Kc;){const Nb=hb(cb,Kc,Ob),Fc=uc.getGraphemeBreakType(Nb);if(wc(sc,Fc))break;Ob+=Nb>=65536?2:1,sc=Fc}return Ob-Cc}function za(cb,Ob){const uc=vc.getInstance(),Cc=Ob,Kc=_a(cb,Ob);Ob-=Kc>=65536?2:1;let Yc=uc.getGraphemeBreakType(Kc);for(;Ob>0;){const sc=_a(cb,Ob),Nb=uc.getGraphemeBreakType(sc);if(wc(Nb,Yc))break;Ob-=sc>=65536?2:1,Yc=Nb}return Cc-Ob}function ua(cb){const Ob=cb.byteLength,uc=[];let Cc=0;for(;Cc<Ob;){const Kc=cb[Cc];let Yc;if(Yc=Kc>=240&&Cc+3<Ob?(7&cb[Cc++])<<18>>>0|(63&cb[Cc++])<<12>>>0|(63&cb[Cc++])<<6>>>0|(63&cb[Cc++])<<0>>>0:Kc>=224&&Cc+2<Ob?(15&cb[Cc++])<<12>>>0|(63&cb[Cc++])<<6>>>0|(63&cb[Cc++])<<0>>>0:Kc>=192&&Cc+1<Ob?(31&cb[Cc++])<<6>>>0|(63&cb[Cc++])<<0>>>0:cb[Cc++],Yc>=0&&Yc<=55295||Yc>=57344&&Yc<=65535)uc.push(String.fromCharCode(Yc));else if(Yc>=65536&&Yc<=1114111){const sc=Yc-65536,Nb=55296+((1047552&sc)>>>10),Fc=56320+((1023&sc)>>>0);uc.push(String.fromCharCode(Nb)),uc.push(String.fromCharCode(Fc))}else uc.push(String.fromCharCode(65533))}return uc.join("")}const ba=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function $(cb){return ba.test(cb)}const S=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function aa(cb){return S.test(cb)}const _=/^[\t\n\r\x20-\x7E]*$/;function I(cb){return _.test(cb)}const ka=/[\u2028\u2029]/;function va(cb){return ka.test(cb)}function La(cb){for(let Ob=0,uc=cb.length;Ob<uc;Ob++)if($a(cb.charCodeAt(Ob)))return!0;return!1}function $a(cb){return(cb=+cb)>=11904&&cb<=55215||cb>=63744&&cb<=64255||cb>=65281&&cb<=65374}function Ab(cb){return cb>=127462&&cb<=127487||cb>=9728&&cb<=10175||cb>=127744&&cb<=128591||cb>=128640&&cb<=128764||cb>=128992&&cb<=129003||cb>=129280&&cb<=129535||cb>=129648&&cb<=129651||cb>=129656&&cb<=129666||cb>=129680&&cb<=129685}const gb=String.fromCharCode(65279);function Fb(cb){return!!(cb&&cb.length>0&&65279===cb.charCodeAt(0))}function wb(cb,Ob=!1){return!!cb&&(Ob&&(cb=cb.replace(/\\./g,"")),cb.toLowerCase()!==cb)}function tc(cb){return(cb%=52)<26?String.fromCharCode(97+cb):String.fromCharCode(65+cb-26)}function rb(cb){return vc.getInstance().getGraphemeBreakType(cb)}function wc(cb,Ob){return 0===cb?5!==Ob&&7!==Ob:(2!==cb||3!==Ob)&&(4===cb||2===cb||3===cb||(4===Ob||2===Ob||3===Ob||(8!==cb||8!==Ob&&9!==Ob&&11!==Ob&&12!==Ob)&&((11!==cb&&9!==cb||9!==Ob&&10!==Ob)&&((12!==cb&&10!==cb||10!==Ob)&&(5!==Ob&&13!==Ob&&(7!==Ob&&(1!==cb&&((13!==cb||14!==Ob)&&(6!==cb||6!==Ob)))))))))}class vc{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return vc._INSTANCE||(vc._INSTANCE=new vc()),vc._INSTANCE}getGraphemeBreakType(cb){if(cb<32)return 10===cb?3:13===cb?2:4;if(cb<127)return 0;const Ob=this._data,uc=Ob.length/3;let Cc=1;for(;Cc<=uc;)if(cb<Ob[3*Cc])Cc*=2;else{if(!(cb>Ob[3*Cc+1]))return Ob[3*Cc+2];Cc=2*Cc+1}return 0}}vc._INSTANCE=null},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l});class l{constructor(q,y){this.lineNumber=q,this.column=y}with(q=this.lineNumber,y=this.column){return q===this.lineNumber&&y===this.column?this:new l(q,y)}delta(q=0,y=0){return this.with(this.lineNumber+q,this.column+y)}equals(q){return l.equals(this,q)}static equals(q,y){return!q&&!y||!!q&&!!y&&q.lineNumber===y.lineNumber&&q.column===y.column}isBefore(q){return l.isBefore(this,q)}static isBefore(q,y){return q.lineNumber<y.lineNumber||!(y.lineNumber<q.lineNumber)&&q.column<y.column}isBeforeOrEqual(q){return l.isBeforeOrEqual(this,q)}static isBeforeOrEqual(q,y){return q.lineNumber<y.lineNumber||!(y.lineNumber<q.lineNumber)&&q.column<=y.column}static compare(q,y){let F=0|q.lineNumber,P=0|y.lineNumber;return F===P?(0|q.column)-(0|y.column):F-P}clone(){return new l(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(q){return new l(q.lineNumber,q.column)}static isIPosition(q){return q&&"number"==typeof q.lineNumber&&"number"==typeof q.column}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f.d(t,"c",function(){return U}),f.d(t,"b",function(){return da}),f.d(t,"d",function(){return Z});var l=f(8),q=f(18),y=f(11);const F=new Map();F.set("false",!1),F.set("true",!0),F.set("isMac",y.f),F.set("isLinux",y.d),F.set("isWindows",y.i),F.set("isWeb",y.h),F.set("isMacNative",y.f&&!y.h);const P=Object.prototype.hasOwnProperty;class Y{static has(H){return z.create(H)}static equals(H,ea){return D.create(H,ea)}static regex(H,ea){return w.create(H,ea)}static not(H){return k.create(H)}static and(...H){return u.create(H)}static or(...H){return A.create(H)}static deserialize(H,ea=!1){if(H)return this._deserializeOrExpression(H,ea)}static _deserializeOrExpression(H,ea){let oa=H.split("||");return A.create(oa.map(ga=>this._deserializeAndExpression(ga,ea)))}static _deserializeAndExpression(H,ea){let oa=H.split("&&");return u.create(oa.map(ga=>this._deserializeOne(ga,ea)))}static _deserializeOne(H,ea){if((H=H.trim()).indexOf("!=")>=0){let oa=H.split("!=");return C.create(oa[0].trim(),this._deserializeValue(oa[1],ea))}if(H.indexOf("==")>=0){let oa=H.split("==");return D.create(oa[0].trim(),this._deserializeValue(oa[1],ea))}if(H.indexOf("=~")>=0){let oa=H.split("=~");return w.create(oa[0].trim(),this._deserializeRegexValue(oa[1],ea))}if(H.indexOf(" in ")>=0){let oa=H.split(" in ");return Q.create(oa[0].trim(),oa[1].trim())}return/^\!\s*/.test(H)?k.create(H.substr(1).trim()):z.create(H)}static _deserializeValue(H,ea){if("true"===(H=H.trim()))return!0;if("false"===H)return!1;let oa=/^'([^']*)'$/.exec(H);return oa?oa[1].trim():H}static _deserializeRegexValue(H,ea){if(Object(l.D)(H)){if(ea)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let oa=H.indexOf("/"),ga=H.lastIndexOf("/");if(oa===ga||oa<0){if(ea)throw new Error(`bad regexp-value '${H}', missing /-enclosure`);return console.warn(`bad regexp-value '${H}', missing /-enclosure`),null}let Ba=H.slice(oa+1,ga),N="i"===H[ga+1]?"i":"";try{return new RegExp(Ba,N)}catch(V){if(ea)throw new Error(`bad regexp-value '${H}', parse error: ${V}`);return console.warn(`bad regexp-value '${H}', parse error: ${V}`),null}}}function R(H,ea){return H.cmp(ea)}class L{constructor(){this.type=0}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}evaluate(H){return!1}serialize(){return"false"}keys(){return[]}negate(){return s.INSTANCE}}L.INSTANCE=new L();class s{constructor(){this.type=1}cmp(H){return this.type-H.type}equals(H){return H.type===this.type}evaluate(H){return!0}serialize(){return"true"}keys(){return[]}negate(){return L.INSTANCE}}s.INSTANCE=new s();class z{constructor(H){this.key=H,this.type=2}static create(H){const ea=F.get(H);return"boolean"==typeof ea?ea?s.INSTANCE:L.INSTANCE:new z(H)}cmp(H){return H.type!==this.type?this.type-H.type:this.key<H.key?-1:this.key>H.key?1:0}equals(H){return H.type===this.type&&this.key===H.key}evaluate(H){return!!H.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return k.create(this.key)}}class D{constructor(H,ea){this.key=H,this.value=ea,this.type=4}static create(H,ea){if("boolean"==typeof ea)return ea?z.create(H):k.create(H);const oa=F.get(H);return"boolean"==typeof oa?ea===(oa?"true":"false")?s.INSTANCE:L.INSTANCE:new D(H,ea)}cmp(H){return H.type!==this.type?this.type-H.type:this.key<H.key?-1:this.key>H.key?1:this.value<H.value?-1:this.value>H.value?1:0}equals(H){return H.type===this.type&&(this.key===H.key&&this.value===H.value)}evaluate(H){return H.getValue(this.key)==this.value}serialize(){return this.key+" == '"+this.value+"'"}keys(){return[this.key]}negate(){return C.create(this.key,this.value)}}class Q{constructor(H,ea){this.key=H,this.valueKey=ea,this.type=10}static create(H,ea){return new Q(H,ea)}cmp(H){return H.type!==this.type?this.type-H.type:this.key<H.key?-1:this.key>H.key?1:this.valueKey<H.valueKey?-1:this.valueKey>H.valueKey?1:0}equals(H){return H.type===this.type&&(this.key===H.key&&this.valueKey===H.valueKey)}evaluate(H){const ea=H.getValue(this.valueKey),oa=H.getValue(this.key);return Array.isArray(ea)?ea.indexOf(oa)>=0:"string"==typeof oa&&"object"==typeof ea&&null!==ea&&P.call(ea,oa)}serialize(){return this.key+" in '"+this.valueKey+"'"}keys(){return[this.key,this.valueKey]}negate(){return B.create(this)}}class B{constructor(H){this._actual=H,this.type=11}static create(H){return new B(H)}cmp(H){return H.type!==this.type?this.type-H.type:this._actual.cmp(H._actual)}equals(H){return H.type===this.type&&this._actual.equals(H._actual)}evaluate(H){return!this._actual.evaluate(H)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class C{constructor(H,ea){this.key=H,this.value=ea,this.type=5}static create(H,ea){if("boolean"==typeof ea)return ea?k.create(H):z.create(H);const oa=F.get(H);return"boolean"==typeof oa?ea===(oa?"true":"false")?L.INSTANCE:s.INSTANCE:new C(H,ea)}cmp(H){return H.type!==this.type?this.type-H.type:this.key<H.key?-1:this.key>H.key?1:this.value<H.value?-1:this.value>H.value?1:0}equals(H){return H.type===this.type&&(this.key===H.key&&this.value===H.value)}evaluate(H){return H.getValue(this.key)!=this.value}serialize(){return this.key+" != '"+this.value+"'"}keys(){return[this.key]}negate(){return D.create(this.key,this.value)}}class k{constructor(H){this.key=H,this.type=3}static create(H){const ea=F.get(H);return"boolean"==typeof ea?ea?L.INSTANCE:s.INSTANCE:new k(H)}cmp(H){return H.type!==this.type?this.type-H.type:this.key<H.key?-1:this.key>H.key?1:0}equals(H){return H.type===this.type&&this.key===H.key}evaluate(H){return!H.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return z.create(this.key)}}class w{constructor(H,ea){this.key=H,this.regexp=ea,this.type=7}static create(H,ea){return new w(H,ea)}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.key<H.key)return-1;if(this.key>H.key)return 1;const ea=this.regexp?this.regexp.source:"",oa=H.regexp?H.regexp.source:"";return ea<oa?-1:ea>oa?1:0}equals(H){if(H.type===this.type){const ea=this.regexp?this.regexp.source:"",oa=H.regexp?H.regexp.source:"";return this.key===H.key&&ea===oa}return!1}evaluate(H){let ea=H.getValue(this.key);return!!this.regexp&&this.regexp.test(ea)}serialize(){const H=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${H}`}keys(){return[this.key]}negate(){return x.create(this)}}class x{constructor(H){this._actual=H,this.type=8}static create(H){return new x(H)}cmp(H){return H.type!==this.type?this.type-H.type:this._actual.cmp(H._actual)}equals(H){return H.type===this.type&&this._actual.equals(H._actual)}evaluate(H){return!this._actual.evaluate(H)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class u{constructor(H){this.expr=H,this.type=6}static create(H){return u._normalizeArr(H)}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.expr.length<H.expr.length)return-1;if(this.expr.length>H.expr.length)return 1;for(let ea=0,oa=this.expr.length;ea<oa;ea++){const ga=R(this.expr[ea],H.expr[ea]);if(0!==ga)return ga}return 0}equals(H){if(H.type===this.type){if(this.expr.length!==H.expr.length)return!1;for(let ea=0,oa=this.expr.length;ea<oa;ea++)if(!this.expr[ea].equals(H.expr[ea]))return!1;return!0}return!1}evaluate(H){for(let ea=0,oa=this.expr.length;ea<oa;ea++)if(!this.expr[ea].evaluate(H))return!1;return!0}static _normalizeArr(H){const ea=[];let oa=!1;for(const ga of H)if(ga)if(1!==ga.type){if(0===ga.type)return L.INSTANCE;6!==ga.type?ea.push(ga):ea.push(...ga.expr)}else oa=!0;if(0===ea.length&&oa)return s.INSTANCE;if(0!==ea.length){if(1===ea.length)return ea[0];for(ea.sort(R);ea.length>1;){const ga=ea[ea.length-1];if(9!==ga.type)break;ea.pop();const Ba=ea.pop(),N=A.create(ga.expr.map(V=>u.create([V,Ba])));N&&(ea.push(N),ea.sort(R))}return new u(ea)}}serialize(){return this.expr.map(H=>H.serialize()).join(" && ")}keys(){const H=[];for(let ea of this.expr)H.push(...ea.keys());return H}negate(){let H=[];for(let ea of this.expr)H.push(ea.negate());return A.create(H)}}class A{constructor(H){this.expr=H,this.type=9}static create(H){const ea=A._normalizeArr(H);if(0!==ea.length)return 1===ea.length?ea[0]:new A(ea)}cmp(H){if(H.type!==this.type)return this.type-H.type;if(this.expr.length<H.expr.length)return-1;if(this.expr.length>H.expr.length)return 1;for(let ea=0,oa=this.expr.length;ea<oa;ea++){const ga=R(this.expr[ea],H.expr[ea]);if(0!==ga)return ga}return 0}equals(H){if(H.type===this.type){if(this.expr.length!==H.expr.length)return!1;for(let ea=0,oa=this.expr.length;ea<oa;ea++)if(!this.expr[ea].equals(H.expr[ea]))return!1;return!0}return!1}evaluate(H){for(let ea=0,oa=this.expr.length;ea<oa;ea++)if(this.expr[ea].evaluate(H))return!0;return!1}static _normalizeArr(H){let ea=[],oa=!1;if(H){for(let ga=0,Ba=H.length;ga<Ba;ga++){const N=H[ga];if(N)if(0!==N.type){if(1===N.type)return[s.INSTANCE];9!==N.type?ea.push(N):ea=ea.concat(N.expr)}else oa=!0}if(0===ea.length&&oa)return[L.INSTANCE];ea.sort(R)}return ea}serialize(){return this.expr.map(H=>H.serialize()).join(" || ")}keys(){const H=[];for(let ea of this.expr)H.push(...ea.keys());return H}negate(){let H=[];for(let oa of this.expr)H.push(oa.negate());const ea=oa=>9===oa.type?oa.expr:[oa];for(;H.length>1;){const oa=H.shift(),ga=H.shift(),Ba=[];for(const N of ea(oa))for(const V of ea(ga))Ba.push(Y.and(N,V));H.unshift(Y.or(...Ba))}return H[0]}}class U extends z{constructor(H,ea){super(H),this._defaultValue=ea}bindTo(H){return H.createKey(this.key,this._defaultValue)}getValue(H){return H.getContextKeyValue(this.key)}toNegated(){return Y.not(this.key)}}const da=Object(q.c)("contextKeyService"),Z="setContext"},function(Ga,t,f){"use strict";(function(l,q){f.d(t,"i",function(){return k}),f.d(t,"f",function(){return w}),f.d(t,"d",function(){return x}),f.d(t,"g",function(){return u}),f.d(t,"h",function(){return A}),f.d(t,"c",function(){return U}),f.d(t,"b",function(){return da}),f.d(t,"j",function(){return Z}),f.d(t,"a",function(){return H}),f.d(t,"e",function(){return ga});let y=!1,F=!1,P=!1,Y=!1,R=!1,L=!1,s,z="en",D,Q;const B=void 0!==l&&void 0!==l.versions&&void 0!==l.versions.electron&&"renderer"===l.type;if("object"!=typeof navigator||B){if("object"==typeof l){y="win32"===l.platform,F="darwin"===l.platform,P="linux"===l.platform,s="en",z="en";const Ba=l.env.VSCODE_NLS_CONFIG;if(Ba)try{const N=JSON.parse(Ba),V=N.availableLanguages["*"];s=N.locale,z=V||"en",D=N._translationsConfigFile}catch(N){}Y=!0}}else Q=navigator.userAgent,y=Q.indexOf("Windows")>=0,F=Q.indexOf("Macintosh")>=0,L=(Q.indexOf("Macintosh")>=0||Q.indexOf("iPad")>=0||Q.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,P=Q.indexOf("Linux")>=0,R=!0,s=navigator.language,z=s;let C=0;F?C=1:y?C=3:P&&(C=2);const k=y,w=F,x=P,u=Y,A=R,U=L,da="object"==typeof self?self:"object"==typeof q?q:{},Z=function(){if(da.setImmediate)return da.setImmediate.bind(da);if("function"==typeof da.postMessage&&!da.importScripts){let N=[];da.addEventListener("message",ma=>{if(ma.data&&ma.data.vscodeSetImmediateId)for(let ta=0,Da=N.length;ta<Da;ta++){const Ka=N[ta];if(Ka.id===ma.data.vscodeSetImmediateId)return N.splice(ta,1),void Ka.callback()}});let V=0;return ma=>{const ta=++V;N.push({id:ta,callback:ma}),da.postMessage({vscodeSetImmediateId:ta},"*")}}if(void 0!==l&&"function"==typeof l.nextTick)return l.nextTick.bind(l);const Ba=Promise.resolve();return N=>Ba.then(N)}(),H=F||L?2:y?1:3;let ea=!0,oa=!1;function ga(){if(!oa){oa=!0;const Ba=new Uint8Array(2);Ba[0]=1,Ba[1]=2;const N=new Uint16Array(Ba.buffer);ea=513===N[0]}return ea}}).call(this,f(86),f(137))},function(Ga,t,f){"use strict";f.d(t,"r",function(){return Q}),f.d(t,"B",function(){return B}),f.d(t,"F",function(){return C}),f.d(t,"E",function(){return k}),f.d(t,"z",function(){return w}),f.d(t,"h",function(){return x}),f.d(t,"G",function(){return A}),f.d(t,"A",function(){return u}),f.d(t,"n",function(){return U}),f.d(t,"v",function(){return da}),f.d(t,"w",function(){return Z}),f.d(t,"d",function(){return H}),f.d(t,"y",function(){return ea}),f.d(t,"p",function(){return oa}),f.d(t,"m",function(){return ga}),f.d(t,"i",function(){return Ba}),f.d(t,"u",function(){return N}),f.d(t,"f",function(){return V}),f.d(t,"e",function(){return ma}),f.d(t,"q",function(){return ta}),f.d(t,"D",function(){return Da}),f.d(t,"b",function(){return Ka}),f.d(t,"a",function(){return G}),f.d(t,"g",function(){return hb}),f.d(t,"j",function(){return _a}),f.d(t,"t",function(){return fb}),f.d(t,"s",function(){return za}),f.d(t,"c",function(){return ua}),f.d(t,"x",function(){return ba}),f.d(t,"o",function(){return $}),f.d(t,"l",function(){return S}),f.d(t,"k",function(){return aa}),f.d(t,"C",function(){return _});var l=f(23),q=f(3),y=f(6),F=f(2),P=f(187),Y=f(42);function R(I,ka,va,La){if(Array.isArray(I)){let $a=0;for(const Ab of I){const gb=R(Ab,ka,va,La);if(10===gb)return gb;gb>$a&&($a=gb)}return $a}if("string"==typeof I)return La?"*"===I?5:I===va?10:0:0;if(I){const{language:$a,pattern:Ab,scheme:gb,hasAccessToAllModels:Fb}=I;if(!La&&!Fb)return 0;let wb=0;if(gb)if(gb===ka.scheme)wb=10;else{if("*"!==gb)return 0;wb=5}if($a)if($a===va)wb=10;else{if("*"!==$a)return 0;wb=Math.max(wb,5)}if(Ab){let tc;if(tc="string"==typeof Ab?Ab:Object.assign(Object.assign({},Ab),{base:Object(Y.d)(Ab.base)}),tc!==ka.fsPath&&!Object(P.a)(tc,ka.fsPath))return 0;wb=10}return wb}return 0}var L=f(64);function s(I){return"string"!=typeof I&&(Array.isArray(I)?I.every(s):!!I.exclusive)}class z{constructor(){this._clock=0,this._entries=[],this._onDidChange=new y.a()}get onDidChange(){return this._onDidChange.event}register(I,ka){let va={selector:I,provider:ka,_score:-1,_time:this._clock++};return this._entries.push(va),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(F.h)(()=>{if(va){let La=this._entries.indexOf(va);La>=0&&(this._entries.splice(La,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),va=void 0)}})}has(I){return this.all(I).length>0}all(I){if(!I)return[];this._updateScores(I);const ka=[];for(let va of this._entries)va._score>0&&ka.push(va.provider);return ka}ordered(I){const ka=[];return this._orderedForEach(I,va=>ka.push(va.provider)),ka}orderedGroups(I){const ka=[];let va,La;return this._orderedForEach(I,$a=>{va&&La===$a._score?va.push($a.provider):(La=$a._score,va=[$a.provider],ka.push(va))}),ka}_orderedForEach(I,ka){if(I){this._updateScores(I);for(const va of this._entries)va._score>0&&ka(va)}}_updateScores(I){let ka={uri:I.uri.toString(),language:I.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==ka.language||this._lastCandidate.uri!==ka.uri){this._lastCandidate=ka;for(let va of this._entries)if(va._score=R(va.selector,I.uri,I.getLanguageIdentifier().language,Object(L.b)(I)),s(va.selector)&&va._score>0){for(let La of this._entries)La._score=0;va._score=1e3;break}this._entries.sort(z._compareByScoreAndTime)}}static _compareByScoreAndTime(I,ka){return I._score<ka._score?1:I._score>ka._score?-1:I._time<ka._time?1:I._time>ka._time?-1:0}}var D=f(17);class Q{constructor(I,ka){this.language=I,this.id=ka}}class B{static getLanguageId(I){return(255&I)>>>0}static getTokenType(I){return(1792&I)>>>8}static getFontStyle(I){return(14336&I)>>>11}static getForeground(I){return(8372224&I)>>>14}static getBackground(I){return(4286578688&I)>>>23}static getClassNameFromMetadata(I){let ka="mtk"+this.getForeground(I),va=this.getFontStyle(I);return 1&va&&(ka+=" mtki"),2&va&&(ka+=" mtkb"),4&va&&(ka+=" mtku"),ka}static getInlineStyleFromMetadata(I,ka){const va=this.getForeground(I),La=this.getFontStyle(I);let $a=`color: ${ka[va]};`;return 1&La&&($a+="font-style: italic;"),2&La&&($a+="font-weight: bold;"),4&La&&($a+="text-decoration: underline;"),$a}}const C=function(){let I=Object.create(null);return I[0]="symbol-method",I[1]="symbol-function",I[2]="symbol-constructor",I[3]="symbol-field",I[4]="symbol-variable",I[5]="symbol-class",I[6]="symbol-struct",I[7]="symbol-interface",I[8]="symbol-module",I[9]="symbol-property",I[10]="symbol-event",I[11]="symbol-operator",I[12]="symbol-unit",I[13]="symbol-value",I[14]="symbol-constant",I[15]="symbol-enum",I[16]="symbol-enum-member",I[17]="symbol-keyword",I[27]="symbol-snippet",I[18]="symbol-text",I[19]="symbol-color",I[20]="symbol-file",I[21]="symbol-reference",I[22]="symbol-customcolor",I[23]="symbol-folder",I[24]="symbol-type-parameter",I[25]="account",I[26]="issues",function(ka){const va=I[ka];let La=va&&D.c.get(va);return La||(console.info("No codicon found for CompletionItemKind "+ka),La=D.a.symbolProperty),La.classNames}}();let k=function(){let I=Object.create(null);return I.method=0,I.function=1,I.constructor=2,I.field=3,I.variable=4,I.class=5,I.struct=6,I.interface=7,I.module=8,I.property=9,I.event=10,I.operator=11,I.unit=12,I.value=13,I.constant=14,I.enum=15,I["enum-member"]=16,I.enumMember=16,I.keyword=17,I.snippet=27,I.text=18,I.color=19,I.file=20,I.reference=21,I.customcolor=22,I.folder=23,I["type-parameter"]=24,I.typeParameter=24,I.account=25,I.issue=26,function(ka,va){let La=I[ka];return void 0!==La||va||(La=9),La}}();var w,x,u;function A(I){return I&&l.a.isUri(I.uri)&&q.a.isIRange(I.range)&&(q.a.isIRange(I.originSelectionRange)||q.a.isIRange(I.targetSelectionRange))}!function(I){I[I.Invoke=1]="Invoke",I[I.TriggerCharacter=2]="TriggerCharacter",I[I.ContentChange=3]="ContentChange"}(w||(w={})),function(I){I[I.Text=0]="Text",I[I.Read=1]="Read",I[I.Write=2]="Write"}(x||(x={})),function(I){const ka=new Map();ka.set("file",0),ka.set("module",1),ka.set("namespace",2),ka.set("package",3),ka.set("class",4),ka.set("method",5),ka.set("property",6),ka.set("field",7),ka.set("constructor",8),ka.set("enum",9),ka.set("interface",10),ka.set("function",11),ka.set("variable",12),ka.set("constant",13),ka.set("string",14),ka.set("number",15),ka.set("boolean",16),ka.set("array",17),ka.set("object",18),ka.set("key",19),ka.set("null",20),ka.set("enum-member",21),ka.set("struct",22),ka.set("event",23),ka.set("operator",24),ka.set("type-parameter",25);const va=new Map();va.set(0,"file"),va.set(1,"module"),va.set(2,"namespace"),va.set(3,"package"),va.set(4,"class"),va.set(5,"method"),va.set(6,"property"),va.set(7,"field"),va.set(8,"constructor"),va.set(9,"enum"),va.set(10,"interface"),va.set(11,"function"),va.set(12,"variable"),va.set(13,"constant"),va.set(14,"string"),va.set(15,"number"),va.set(16,"boolean"),va.set(17,"array"),va.set(18,"object"),va.set(19,"key"),va.set(20,"null"),va.set(21,"enum-member"),va.set(22,"struct"),va.set(23,"event"),va.set(24,"operator"),va.set(25,"type-parameter"),I.fromString=function(La){return ka.get(La)},I.toString=function(La){return va.get(La)},I.toCssClassName=function(La,$a){const Ab=va.get(La);let gb=Ab&&D.c.get("symbol-"+Ab);return gb||(console.info("No codicon found for SymbolKind "+La),gb=D.a.symbolProperty),`${$a?"inline":"block"} ${gb.classNames}`}}(u||(u={}));class U{constructor(I){this.value=I}}U.Comment=new U("comment"),U.Imports=new U("imports"),U.Region=new U("region");const da=new z(),Z=new z(),H=new z(),ea=new z(),oa=new z(),ga=new z(),Ba=new z(),N=new z(),V=new z(),ma=new z(),ta=new z(),Da=new z(),Ka=new z(),G=new z(),hb=new z(),_a=new z(),fb=new z(),za=new z(),ua=new z(),ba=new z(),$=new z(),S=new z(),aa=new z(),_=new class{constructor(){this._map=new Map(),this._promises=new Map(),this._onDidChange=new y.a(),this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(I){this._onDidChange.fire({changedLanguages:I,changedColorMap:!1})}register(I,ka){return this._map.set(I,ka),this.fire([I]),Object(F.h)(()=>{this._map.get(I)===ka&&(this._map.delete(I),this.fire([I]))})}registerPromise(I,ka){let va=null,La=!1;return this._promises.set(I,ka.then($a=>{this._promises.delete(I),!La&&$a&&(va=this.register(I,$a))})),Object(F.h)(()=>{La=!0,va&&va.dispose()})}getPromise(I){const ka=this.get(I);if(ka)return Promise.resolve(ka);const va=this._promises.get(I);return va?va.then(La=>this.get(I)):null}get(I){return this._map.get(I)||null}setColorMap(I){this._colorMap=I,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}()},function(Ga,t,f){"use strict";f.d(t,"e",function(){return q}),f.d(t,"f",function(){return y}),f.d(t,"g",function(){return F}),f.d(t,"d",function(){return P}),f.d(t,"a",function(){return Y}),f.d(t,"b",function(){return R}),f.d(t,"c",function(){return L});const l=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(s){setTimeout(()=>{throw s.stack?new Error(s.message+` - -`+s.stack):s},0)}}emit(s){this.listeners.forEach(z=>{z(s)})}onUnexpectedError(s){this.unexpectedErrorHandler(s),this.emit(s)}onUnexpectedExternalError(s){this.unexpectedErrorHandler(s)}}();function q(s){P(s)||l.onUnexpectedError(s)}function y(s){P(s)||l.onUnexpectedExternalError(s)}function F(s){if(s instanceof Error){let{name:z,message:D}=s;return{$isError:!0,name:z,message:D,stack:s.stacktrace||s.stack}}return s}function P(s){return s instanceof Error&&"Canceled"===s.name&&"Canceled"===s.message}function Y(){const s=new Error("Canceled");return s.name=s.message,s}function R(s){return s?new Error("Illegal argument: "+s):new Error("Illegal argument")}function L(s){return s?new Error("Illegal state: "+s):new Error("Illegal state")}},function(Ga,t,f){"use strict";function l(w){return Array.isArray(w)}function q(w){return"string"==typeof w}function y(w){return!("object"!=typeof w||null===w||Array.isArray(w)||w instanceof RegExp||w instanceof Date)}function F(w){return"number"==typeof w&&!isNaN(w)}function P(w){return!0===w||!1===w}function Y(w){return void 0===w}function R(w){return Y(w)||null===w}function L(w,x){if(!w)throw new Error(x?`Unexpected type, expected '${x}'`:"Unexpected type")}function s(w){if(R(w))throw new Error("Assertion Failed: argument is undefined or null");return w}function z(w){return"function"==typeof w}function D(w,x){const u=Math.min(w.length,x.length);for(let A=0;A<u;A++)Q(w[A],x[A])}function Q(w,x){if(q(x)){if(typeof w!==x)throw new Error("argument does not match constraint: typeof "+x)}else if(z(x)){try{if(w instanceof x)return}catch(u){}if(!R(w)&&w.constructor===x)return;if(1===x.length&&!0===x.call(void 0,w))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function B(w){const x=[];for(const u of function(A){let U=[],da=Object.getPrototypeOf(A);for(;Object.prototype!==da;)U=U.concat(Object.getOwnPropertyNames(da)),da=Object.getPrototypeOf(da);return U}(w))"function"==typeof w[u]&&x.push(u);return x}function C(w,x){const u=U=>function(){const da=Array.prototype.slice.call(arguments,0);return x(U,da)};let A={};for(const U of w)A[U]=u(U);return A}function k(w){return null===w?void 0:w}f.d(t,"e",function(){return l}),f.d(t,"j",function(){return q}),f.d(t,"i",function(){return y}),f.d(t,"h",function(){return F}),f.d(t,"f",function(){return P}),f.d(t,"k",function(){return Y}),f.d(t,"l",function(){return R}),f.d(t,"b",function(){return L}),f.d(t,"a",function(){return s}),f.d(t,"g",function(){return z}),f.d(t,"m",function(){return D}),f.d(t,"d",function(){return B}),f.d(t,"c",function(){return C}),f.d(t,"n",function(){return k})},function(Ga,t,f){"use strict";function l(Z,H=0){return Z[Z.length-(1+H)]}function q(Z){if(0===Z.length)throw new Error("Invalid tail call");return[Z.slice(0,Z.length-1),Z[Z.length-1]]}function y(Z,H,ea=(oa,ga)=>oa===ga){if(Z===H)return!0;if(!Z||!H)return!1;if(Z.length!==H.length)return!1;for(let oa=0,ga=Z.length;oa<ga;oa++)if(!ea(Z[oa],H[oa]))return!1;return!0}function F(Z,H,ea){let oa=0,ga=Z.length-1;for(;oa<=ga;){const Ba=(oa+ga)/2|0,N=ea(Z[Ba],H);if(N<0)oa=Ba+1;else{if(!(N>0))return Ba;ga=Ba-1}}return-(oa+1)}function P(Z,H){let ea=0,oa=Z.length;if(0===oa)return 0;for(;ea<oa;){const ga=Math.floor((ea+oa)/2);H(Z[ga])?oa=ga:ea=ga+1}return ea}function Y(Z,H){return function ea(oa,ga,Ba,N,V){if(N<=Ba)return;const ma=Ba+(N-Ba)/2|0;if(ea(oa,ga,Ba,ma,V),ea(oa,ga,ma+1,N,V),ga(oa[ma],oa[ma+1])<=0)return;!function(ta,Da,Ka,G,hb,_a){let fb=Ka,za=G+1;for(let ua=Ka;ua<=hb;ua++)_a[ua]=ta[ua];for(let ua=Ka;ua<=hb;ua++)fb>G?ta[ua]=_a[za++]:za>hb?ta[ua]=_a[fb++]:Da(_a[za],_a[fb])<0?ta[ua]=_a[za++]:ta[ua]=_a[fb++]}(oa,ga,Ba,ma,N,V)}(Z,H,0,Z.length-1,[]),Z}function R(Z,H){const ea=[];let oa;for(const ga of Y(Z.slice(0),H))oa&&0===H(oa[0],ga)?oa.push(ga):(oa=[ga],ea.push(oa));return ea}function L(Z){return Z.filter(H=>!!H)}function s(Z){return!Array.isArray(Z)||0===Z.length}function z(Z){return Array.isArray(Z)&&Z.length>0}function D(Z,H){if(!H)return Z.filter((oa,ga)=>Z.indexOf(oa)===ga);const ea=Object.create(null);return Z.filter(oa=>{const ga=H(oa);return!ea[ga]&&(ea[ga]=!0,!0)})}function Q(Z){const H=new Set();return Z.filter(ea=>!H.has(ea)&&(H.add(ea),!0))}function B(Z,H){for(let ea=0;ea<Z.length;ea++)if(H(Z[ea]))return ea;return-1}function C(Z,H,ea){const oa=B(Z,H);return oa<0?ea:Z[oa]}function k(Z,H){return Z.length>0?Z[0]:H}function w(Z){return[].concat(...Z)}function x(Z,H){let ea="number"==typeof H?Z:0;"number"==typeof H?ea=Z:(ea=0,H=Z);const oa=[];if(ea<=H)for(let ga=ea;ga<H;ga++)oa.push(ga);else for(let ga=ea;ga>H;ga--)oa.push(ga);return oa}function u(Z,H,ea){const oa=Z.slice(0,H),ga=Z.slice(H);return oa.concat(ea,ga)}function A(Z,H){const ea=Z.indexOf(H);ea>-1&&(Z.splice(ea,1),Z.unshift(H))}function U(Z,H){const ea=Z.indexOf(H);ea>-1&&(Z.splice(ea,1),Z.push(H))}function da(Z){return Array.isArray(Z)?Z:[Z]}f.d(t,"t",function(){return l}),f.d(t,"u",function(){return q}),f.d(t,"g",function(){return y}),f.d(t,"c",function(){return F}),f.d(t,"h",function(){return P}),f.d(t,"p",function(){return Y}),f.d(t,"m",function(){return R}),f.d(t,"d",function(){return L}),f.d(t,"n",function(){return s}),f.d(t,"o",function(){return z}),f.d(t,"e",function(){return D}),f.d(t,"f",function(){return Q}),f.d(t,"j",function(){return B}),f.d(t,"i",function(){return C}),f.d(t,"k",function(){return k}),f.d(t,"l",function(){return w}),f.d(t,"s",function(){return x}),f.d(t,"a",function(){return u}),f.d(t,"r",function(){return A}),f.d(t,"q",function(){return U}),f.d(t,"b",function(){return da})},function(Ga,t,f){"use strict";function l(Y,R){const L=Math.pow(10,R);return Math.round(Y*L)/L}f.d(t,"c",function(){return q}),f.d(t,"b",function(){return F}),f.d(t,"a",function(){return P});class q{constructor(Y,R,L,s=1){this.r=0|Math.min(255,Math.max(0,Y)),this.g=0|Math.min(255,Math.max(0,R)),this.b=0|Math.min(255,Math.max(0,L)),this.a=l(Math.max(Math.min(1,s),0),3)}static equals(Y,R){return Y.r===R.r&&Y.g===R.g&&Y.b===R.b&&Y.a===R.a}}class y{constructor(Y,R,L,s){this.h=0|Math.max(Math.min(360,Y),0),this.s=l(Math.max(Math.min(1,R),0),3),this.l=l(Math.max(Math.min(1,L),0),3),this.a=l(Math.max(Math.min(1,s),0),3)}static equals(Y,R){return Y.h===R.h&&Y.s===R.s&&Y.l===R.l&&Y.a===R.a}static fromRGBA(Y){const R=Y.r/255,L=Y.g/255,s=Y.b/255,z=Y.a,D=Math.max(R,L,s),Q=Math.min(R,L,s);let B=0,C=0;const k=(Q+D)/2,w=D-Q;if(w>0){switch(C=Math.min(k<=.5?w/(2*k):w/(2-2*k),1),D){case R:B=(L-s)/w+(L<s?6:0);break;case L:B=(s-R)/w+2;break;case s:B=(R-L)/w+4}B*=60,B=Math.round(B)}return new y(B,C,k,z)}static _hue2rgb(Y,R,L){return L<0&&(L+=1),L>1&&(L-=1),L<1/6?Y+6*(R-Y)*L:L<.5?R:L<2/3?Y+(R-Y)*(2/3-L)*6:Y}static toRGBA(Y){const R=Y.h/360,{s:L,l:s,a:z}=Y;let D,Q,B;if(0===L)D=Q=B=s;else{const C=s<.5?s*(1+L):s+L-s*L,k=2*s-C;D=y._hue2rgb(k,C,R+1/3),Q=y._hue2rgb(k,C,R),B=y._hue2rgb(k,C,R-1/3)}return new q(Math.round(255*D),Math.round(255*Q),Math.round(255*B),z)}}class F{constructor(Y,R,L,s){this.h=0|Math.max(Math.min(360,Y),0),this.s=l(Math.max(Math.min(1,R),0),3),this.v=l(Math.max(Math.min(1,L),0),3),this.a=l(Math.max(Math.min(1,s),0),3)}static equals(Y,R){return Y.h===R.h&&Y.s===R.s&&Y.v===R.v&&Y.a===R.a}static fromRGBA(Y){const R=Y.r/255,L=Y.g/255,s=Y.b/255,z=Math.max(R,L,s),D=z-Math.min(R,L,s),Q=0===z?0:D/z;let B;return B=0===D?0:z===R?((L-s)/D%6+6)%6:z===L?(s-R)/D+2:(R-L)/D+4,new F(Math.round(60*B),Q,z,Y.a)}static toRGBA(Y){const{h:R,s:L,v:s,a:z}=Y,D=s*L,Q=D*(1-Math.abs(R/60%2-1)),B=s-D;let[C,k,w]=[0,0,0];return R<60?(C=D,k=Q):R<120?(C=Q,k=D):R<180?(k=D,w=Q):R<240?(k=Q,w=D):R<300?(C=Q,w=D):R<360&&(C=D,w=Q),C=Math.round(255*(C+B)),k=Math.round(255*(k+B)),w=Math.round(255*(w+B)),new q(C,k,w,z)}}class P{constructor(Y){if(!Y)throw new Error("Color needs a value");if(Y instanceof q)this.rgba=Y;else if(Y instanceof y)this._hsla=Y,this.rgba=y.toRGBA(Y);else{if(!(Y instanceof F))throw new Error("Invalid color ctor argument");this._hsva=Y,this.rgba=F.toRGBA(Y)}}static fromHex(Y){return P.Format.CSS.parseHex(Y)||P.red}get hsla(){return this._hsla?this._hsla:y.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:F.fromRGBA(this.rgba)}equals(Y){return!!Y&&q.equals(this.rgba,Y.rgba)&&y.equals(this.hsla,Y.hsla)&&F.equals(this.hsva,Y.hsva)}getRelativeLuminance(){return l(.2126*P._relativeLuminanceForComponent(this.rgba.r)+.7152*P._relativeLuminanceForComponent(this.rgba.g)+.0722*P._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(Y){const R=Y/255;return R<=.03928?R/12.92:Math.pow((R+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(Y){return this.getRelativeLuminance()>Y.getRelativeLuminance()}isDarkerThan(Y){return this.getRelativeLuminance()<Y.getRelativeLuminance()}lighten(Y){return new P(new y(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*Y,this.hsla.a))}darken(Y){return new P(new y(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*Y,this.hsla.a))}transparent(Y){const{r:R,g:L,b:s,a:z}=this.rgba;return new P(new q(R,L,s,z*Y))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new P(new q(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return""+P.Format.CSS.format(this)}static getLighterColor(Y,R,L){if(Y.isLighterThan(R))return Y;L=L||.5;const s=Y.getRelativeLuminance(),z=R.getRelativeLuminance();return L=L*(z-s)/z,Y.lighten(L)}static getDarkerColor(Y,R,L){if(Y.isDarkerThan(R))return Y;L=L||.5;const s=Y.getRelativeLuminance();return L=L*(s-R.getRelativeLuminance())/s,Y.darken(L)}}P.white=new P(new q(255,255,255,1)),P.black=new P(new q(0,0,0,1)),P.red=new P(new q(255,0,0,1)),P.blue=new P(new q(0,0,255,1)),P.cyan=new P(new q(0,255,255,1)),P.lightgrey=new P(new q(211,211,211,1)),P.transparent=new P(new q(0,0,0,0)),function(Y){let R;!function(L){let s;!function(z){function D(B){const C=B.toString(16);return 2!==C.length?"0"+C:C}function Q(B){switch(B){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}z.formatRGB=function(B){return 1===B.rgba.a?`rgb(${B.rgba.r}, ${B.rgba.g}, ${B.rgba.b})`:Y.Format.CSS.formatRGBA(B)},z.formatRGBA=function(B){return`rgba(${B.rgba.r}, ${B.rgba.g}, ${B.rgba.b}, ${+B.rgba.a.toFixed(2)})`},z.formatHSL=function(B){return 1===B.hsla.a?`hsl(${B.hsla.h}, ${(100*B.hsla.s).toFixed(2)}%, ${(100*B.hsla.l).toFixed(2)}%)`:Y.Format.CSS.formatHSLA(B)},z.formatHSLA=function(B){return`hsla(${B.hsla.h}, ${(100*B.hsla.s).toFixed(2)}%, ${(100*B.hsla.l).toFixed(2)}%, ${B.hsla.a.toFixed(2)})`},z.formatHex=function(B){return`#${D(B.rgba.r)}${D(B.rgba.g)}${D(B.rgba.b)}`},z.formatHexA=function(B,C=!1){return C&&1===B.rgba.a?Y.Format.CSS.formatHex(B):`#${D(B.rgba.r)}${D(B.rgba.g)}${D(B.rgba.b)}${D(Math.round(255*B.rgba.a))}`},z.format=function(B){return B.isOpaque()?Y.Format.CSS.formatHex(B):Y.Format.CSS.formatRGBA(B)},z.parseHex=function(B){const C=B.length;if(0===C)return null;if(35!==B.charCodeAt(0))return null;if(7===C){const k=16*Q(B.charCodeAt(1))+Q(B.charCodeAt(2)),w=16*Q(B.charCodeAt(3))+Q(B.charCodeAt(4)),x=16*Q(B.charCodeAt(5))+Q(B.charCodeAt(6));return new Y(new q(k,w,x,1))}if(9===C){const k=16*Q(B.charCodeAt(1))+Q(B.charCodeAt(2)),w=16*Q(B.charCodeAt(3))+Q(B.charCodeAt(4)),x=16*Q(B.charCodeAt(5))+Q(B.charCodeAt(6)),u=16*Q(B.charCodeAt(7))+Q(B.charCodeAt(8));return new Y(new q(k,w,x,u/255))}if(4===C){const k=Q(B.charCodeAt(1)),w=Q(B.charCodeAt(2)),x=Q(B.charCodeAt(3));return new Y(new q(16*k+k,16*w+w,16*x+x))}if(5===C){const k=Q(B.charCodeAt(1)),w=Q(B.charCodeAt(2)),x=Q(B.charCodeAt(3)),u=Q(B.charCodeAt(4));return new Y(new q(16*k+k,16*w+w,16*x+x,(16*u+u)/255))}return null}}(s=L.CSS||(L.CSS={}))}(R=Y.Format||(Y.Format={}))}(P||(P={}))},function(Ga,t,f){"use strict";f.d(t,"c",function(){return F}),f.d(t,"e",function(){return P}),f.d(t,"a",function(){return Y}),f.d(t,"b",function(){return L}),f.d(t,"d",function(){return z}),f.d(t,"g",function(){return D}),f.d(t,"f",function(){return Q}),f.d(t,"h",function(){return C});var l=f(151),q=f(6);const y=new class{constructor(){this._icons=new Map(),this._onDidRegister=new q.a()}add(k){this._icons.has(k.id)?console.error("Duplicate registration of codicon "+k.id):(this._icons.set(k.id,k),this._onDidRegister.fire(k))}get(k){return this._icons.get(k)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}(),F=y;function P(k,w,x){return new Y(k,w)}class Y{constructor(k,w,x){this.id=k,this.definition=w,this.description=x,y.add(this)}get classNames(){return"codicon codicon-"+this.id}get cssSelector(){return".codicon.codicon-"+this.id}}!function(k){k.add=new k("add",{character:"\\ea60"}),k.plus=new k("plus",{character:"\\ea60"}),k.gistNew=new k("gist-new",{character:"\\ea60"}),k.repoCreate=new k("repo-create",{character:"\\ea60"}),k.lightbulb=new k("lightbulb",{character:"\\ea61"}),k.lightBulb=new k("light-bulb",{character:"\\ea61"}),k.repo=new k("repo",{character:"\\ea62"}),k.repoDelete=new k("repo-delete",{character:"\\ea62"}),k.gistFork=new k("gist-fork",{character:"\\ea63"}),k.repoForked=new k("repo-forked",{character:"\\ea63"}),k.gitPullRequest=new k("git-pull-request",{character:"\\ea64"}),k.gitPullRequestAbandoned=new k("git-pull-request-abandoned",{character:"\\ea64"}),k.recordKeys=new k("record-keys",{character:"\\ea65"}),k.keyboard=new k("keyboard",{character:"\\ea65"}),k.tag=new k("tag",{character:"\\ea66"}),k.tagAdd=new k("tag-add",{character:"\\ea66"}),k.tagRemove=new k("tag-remove",{character:"\\ea66"}),k.person=new k("person",{character:"\\ea67"}),k.personAdd=new k("person-add",{character:"\\ea67"}),k.personFollow=new k("person-follow",{character:"\\ea67"}),k.personOutline=new k("person-outline",{character:"\\ea67"}),k.personFilled=new k("person-filled",{character:"\\ea67"}),k.gitBranch=new k("git-branch",{character:"\\ea68"}),k.gitBranchCreate=new k("git-branch-create",{character:"\\ea68"}),k.gitBranchDelete=new k("git-branch-delete",{character:"\\ea68"}),k.sourceControl=new k("source-control",{character:"\\ea68"}),k.mirror=new k("mirror",{character:"\\ea69"}),k.mirrorPublic=new k("mirror-public",{character:"\\ea69"}),k.star=new k("star",{character:"\\ea6a"}),k.starAdd=new k("star-add",{character:"\\ea6a"}),k.starDelete=new k("star-delete",{character:"\\ea6a"}),k.starEmpty=new k("star-empty",{character:"\\ea6a"}),k.comment=new k("comment",{character:"\\ea6b"}),k.commentAdd=new k("comment-add",{character:"\\ea6b"}),k.alert=new k("alert",{character:"\\ea6c"}),k.warning=new k("warning",{character:"\\ea6c"}),k.search=new k("search",{character:"\\ea6d"}),k.searchSave=new k("search-save",{character:"\\ea6d"}),k.logOut=new k("log-out",{character:"\\ea6e"}),k.signOut=new k("sign-out",{character:"\\ea6e"}),k.logIn=new k("log-in",{character:"\\ea6f"}),k.signIn=new k("sign-in",{character:"\\ea6f"}),k.eye=new k("eye",{character:"\\ea70"}),k.eyeUnwatch=new k("eye-unwatch",{character:"\\ea70"}),k.eyeWatch=new k("eye-watch",{character:"\\ea70"}),k.circleFilled=new k("circle-filled",{character:"\\ea71"}),k.primitiveDot=new k("primitive-dot",{character:"\\ea71"}),k.closeDirty=new k("close-dirty",{character:"\\ea71"}),k.debugBreakpoint=new k("debug-breakpoint",{character:"\\ea71"}),k.debugBreakpointDisabled=new k("debug-breakpoint-disabled",{character:"\\ea71"}),k.debugHint=new k("debug-hint",{character:"\\ea71"}),k.primitiveSquare=new k("primitive-square",{character:"\\ea72"}),k.edit=new k("edit",{character:"\\ea73"}),k.pencil=new k("pencil",{character:"\\ea73"}),k.info=new k("info",{character:"\\ea74"}),k.issueOpened=new k("issue-opened",{character:"\\ea74"}),k.gistPrivate=new k("gist-private",{character:"\\ea75"}),k.gitForkPrivate=new k("git-fork-private",{character:"\\ea75"}),k.lock=new k("lock",{character:"\\ea75"}),k.mirrorPrivate=new k("mirror-private",{character:"\\ea75"}),k.close=new k("close",{character:"\\ea76"}),k.removeClose=new k("remove-close",{character:"\\ea76"}),k.x=new k("x",{character:"\\ea76"}),k.repoSync=new k("repo-sync",{character:"\\ea77"}),k.sync=new k("sync",{character:"\\ea77"}),k.clone=new k("clone",{character:"\\ea78"}),k.desktopDownload=new k("desktop-download",{character:"\\ea78"}),k.beaker=new k("beaker",{character:"\\ea79"}),k.microscope=new k("microscope",{character:"\\ea79"}),k.vm=new k("vm",{character:"\\ea7a"}),k.deviceDesktop=new k("device-desktop",{character:"\\ea7a"}),k.file=new k("file",{character:"\\ea7b"}),k.fileText=new k("file-text",{character:"\\ea7b"}),k.more=new k("more",{character:"\\ea7c"}),k.ellipsis=new k("ellipsis",{character:"\\ea7c"}),k.kebabHorizontal=new k("kebab-horizontal",{character:"\\ea7c"}),k.mailReply=new k("mail-reply",{character:"\\ea7d"}),k.reply=new k("reply",{character:"\\ea7d"}),k.organization=new k("organization",{character:"\\ea7e"}),k.organizationFilled=new k("organization-filled",{character:"\\ea7e"}),k.organizationOutline=new k("organization-outline",{character:"\\ea7e"}),k.newFile=new k("new-file",{character:"\\ea7f"}),k.fileAdd=new k("file-add",{character:"\\ea7f"}),k.newFolder=new k("new-folder",{character:"\\ea80"}),k.fileDirectoryCreate=new k("file-directory-create",{character:"\\ea80"}),k.trash=new k("trash",{character:"\\ea81"}),k.trashcan=new k("trashcan",{character:"\\ea81"}),k.history=new k("history",{character:"\\ea82"}),k.clock=new k("clock",{character:"\\ea82"}),k.folder=new k("folder",{character:"\\ea83"}),k.fileDirectory=new k("file-directory",{character:"\\ea83"}),k.symbolFolder=new k("symbol-folder",{character:"\\ea83"}),k.logoGithub=new k("logo-github",{character:"\\ea84"}),k.markGithub=new k("mark-github",{character:"\\ea84"}),k.github=new k("github",{character:"\\ea84"}),k.terminal=new k("terminal",{character:"\\ea85"}),k.console=new k("console",{character:"\\ea85"}),k.repl=new k("repl",{character:"\\ea85"}),k.zap=new k("zap",{character:"\\ea86"}),k.symbolEvent=new k("symbol-event",{character:"\\ea86"}),k.error=new k("error",{character:"\\ea87"}),k.stop=new k("stop",{character:"\\ea87"}),k.variable=new k("variable",{character:"\\ea88"}),k.symbolVariable=new k("symbol-variable",{character:"\\ea88"}),k.array=new k("array",{character:"\\ea8a"}),k.symbolArray=new k("symbol-array",{character:"\\ea8a"}),k.symbolModule=new k("symbol-module",{character:"\\ea8b"}),k.symbolPackage=new k("symbol-package",{character:"\\ea8b"}),k.symbolNamespace=new k("symbol-namespace",{character:"\\ea8b"}),k.symbolObject=new k("symbol-object",{character:"\\ea8b"}),k.symbolMethod=new k("symbol-method",{character:"\\ea8c"}),k.symbolFunction=new k("symbol-function",{character:"\\ea8c"}),k.symbolConstructor=new k("symbol-constructor",{character:"\\ea8c"}),k.symbolBoolean=new k("symbol-boolean",{character:"\\ea8f"}),k.symbolNull=new k("symbol-null",{character:"\\ea8f"}),k.symbolNumeric=new k("symbol-numeric",{character:"\\ea90"}),k.symbolNumber=new k("symbol-number",{character:"\\ea90"}),k.symbolStructure=new k("symbol-structure",{character:"\\ea91"}),k.symbolStruct=new k("symbol-struct",{character:"\\ea91"}),k.symbolParameter=new k("symbol-parameter",{character:"\\ea92"}),k.symbolTypeParameter=new k("symbol-type-parameter",{character:"\\ea92"}),k.symbolKey=new k("symbol-key",{character:"\\ea93"}),k.symbolText=new k("symbol-text",{character:"\\ea93"}),k.symbolReference=new k("symbol-reference",{character:"\\ea94"}),k.goToFile=new k("go-to-file",{character:"\\ea94"}),k.symbolEnum=new k("symbol-enum",{character:"\\ea95"}),k.symbolValue=new k("symbol-value",{character:"\\ea95"}),k.symbolRuler=new k("symbol-ruler",{character:"\\ea96"}),k.symbolUnit=new k("symbol-unit",{character:"\\ea96"}),k.activateBreakpoints=new k("activate-breakpoints",{character:"\\ea97"}),k.archive=new k("archive",{character:"\\ea98"}),k.arrowBoth=new k("arrow-both",{character:"\\ea99"}),k.arrowDown=new k("arrow-down",{character:"\\ea9a"}),k.arrowLeft=new k("arrow-left",{character:"\\ea9b"}),k.arrowRight=new k("arrow-right",{character:"\\ea9c"}),k.arrowSmallDown=new k("arrow-small-down",{character:"\\ea9d"}),k.arrowSmallLeft=new k("arrow-small-left",{character:"\\ea9e"}),k.arrowSmallRight=new k("arrow-small-right",{character:"\\ea9f"}),k.arrowSmallUp=new k("arrow-small-up",{character:"\\eaa0"}),k.arrowUp=new k("arrow-up",{character:"\\eaa1"}),k.bell=new k("bell",{character:"\\eaa2"}),k.bold=new k("bold",{character:"\\eaa3"}),k.book=new k("book",{character:"\\eaa4"}),k.bookmark=new k("bookmark",{character:"\\eaa5"}),k.debugBreakpointConditionalUnverified=new k("debug-breakpoint-conditional-unverified",{character:"\\eaa6"}),k.debugBreakpointConditional=new k("debug-breakpoint-conditional",{character:"\\eaa7"}),k.debugBreakpointConditionalDisabled=new k("debug-breakpoint-conditional-disabled",{character:"\\eaa7"}),k.debugBreakpointDataUnverified=new k("debug-breakpoint-data-unverified",{character:"\\eaa8"}),k.debugBreakpointData=new k("debug-breakpoint-data",{character:"\\eaa9"}),k.debugBreakpointDataDisabled=new k("debug-breakpoint-data-disabled",{character:"\\eaa9"}),k.debugBreakpointLogUnverified=new k("debug-breakpoint-log-unverified",{character:"\\eaaa"}),k.debugBreakpointLog=new k("debug-breakpoint-log",{character:"\\eaab"}),k.debugBreakpointLogDisabled=new k("debug-breakpoint-log-disabled",{character:"\\eaab"}),k.briefcase=new k("briefcase",{character:"\\eaac"}),k.broadcast=new k("broadcast",{character:"\\eaad"}),k.browser=new k("browser",{character:"\\eaae"}),k.bug=new k("bug",{character:"\\eaaf"}),k.calendar=new k("calendar",{character:"\\eab0"}),k.caseSensitive=new k("case-sensitive",{character:"\\eab1"}),k.check=new k("check",{character:"\\eab2"}),k.checklist=new k("checklist",{character:"\\eab3"}),k.chevronDown=new k("chevron-down",{character:"\\eab4"}),k.chevronLeft=new k("chevron-left",{character:"\\eab5"}),k.chevronRight=new k("chevron-right",{character:"\\eab6"}),k.chevronUp=new k("chevron-up",{character:"\\eab7"}),k.chromeClose=new k("chrome-close",{character:"\\eab8"}),k.chromeMaximize=new k("chrome-maximize",{character:"\\eab9"}),k.chromeMinimize=new k("chrome-minimize",{character:"\\eaba"}),k.chromeRestore=new k("chrome-restore",{character:"\\eabb"}),k.circleOutline=new k("circle-outline",{character:"\\eabc"}),k.debugBreakpointUnverified=new k("debug-breakpoint-unverified",{character:"\\eabc"}),k.circleSlash=new k("circle-slash",{character:"\\eabd"}),k.circuitBoard=new k("circuit-board",{character:"\\eabe"}),k.clearAll=new k("clear-all",{character:"\\eabf"}),k.clippy=new k("clippy",{character:"\\eac0"}),k.closeAll=new k("close-all",{character:"\\eac1"}),k.cloudDownload=new k("cloud-download",{character:"\\eac2"}),k.cloudUpload=new k("cloud-upload",{character:"\\eac3"}),k.code=new k("code",{character:"\\eac4"}),k.collapseAll=new k("collapse-all",{character:"\\eac5"}),k.colorMode=new k("color-mode",{character:"\\eac6"}),k.commentDiscussion=new k("comment-discussion",{character:"\\eac7"}),k.compareChanges=new k("compare-changes",{character:"\\eafd"}),k.creditCard=new k("credit-card",{character:"\\eac9"}),k.dash=new k("dash",{character:"\\eacc"}),k.dashboard=new k("dashboard",{character:"\\eacd"}),k.database=new k("database",{character:"\\eace"}),k.debugContinue=new k("debug-continue",{character:"\\eacf"}),k.debugDisconnect=new k("debug-disconnect",{character:"\\ead0"}),k.debugPause=new k("debug-pause",{character:"\\ead1"}),k.debugRestart=new k("debug-restart",{character:"\\ead2"}),k.debugStart=new k("debug-start",{character:"\\ead3"}),k.debugStepInto=new k("debug-step-into",{character:"\\ead4"}),k.debugStepOut=new k("debug-step-out",{character:"\\ead5"}),k.debugStepOver=new k("debug-step-over",{character:"\\ead6"}),k.debugStop=new k("debug-stop",{character:"\\ead7"}),k.debug=new k("debug",{character:"\\ead8"}),k.deviceCameraVideo=new k("device-camera-video",{character:"\\ead9"}),k.deviceCamera=new k("device-camera",{character:"\\eada"}),k.deviceMobile=new k("device-mobile",{character:"\\eadb"}),k.diffAdded=new k("diff-added",{character:"\\eadc"}),k.diffIgnored=new k("diff-ignored",{character:"\\eadd"}),k.diffModified=new k("diff-modified",{character:"\\eade"}),k.diffRemoved=new k("diff-removed",{character:"\\eadf"}),k.diffRenamed=new k("diff-renamed",{character:"\\eae0"}),k.diff=new k("diff",{character:"\\eae1"}),k.discard=new k("discard",{character:"\\eae2"}),k.editorLayout=new k("editor-layout",{character:"\\eae3"}),k.emptyWindow=new k("empty-window",{character:"\\eae4"}),k.exclude=new k("exclude",{character:"\\eae5"}),k.extensions=new k("extensions",{character:"\\eae6"}),k.eyeClosed=new k("eye-closed",{character:"\\eae7"}),k.fileBinary=new k("file-binary",{character:"\\eae8"}),k.fileCode=new k("file-code",{character:"\\eae9"}),k.fileMedia=new k("file-media",{character:"\\eaea"}),k.filePdf=new k("file-pdf",{character:"\\eaeb"}),k.fileSubmodule=new k("file-submodule",{character:"\\eaec"}),k.fileSymlinkDirectory=new k("file-symlink-directory",{character:"\\eaed"}),k.fileSymlinkFile=new k("file-symlink-file",{character:"\\eaee"}),k.fileZip=new k("file-zip",{character:"\\eaef"}),k.files=new k("files",{character:"\\eaf0"}),k.filter=new k("filter",{character:"\\eaf1"}),k.flame=new k("flame",{character:"\\eaf2"}),k.foldDown=new k("fold-down",{character:"\\eaf3"}),k.foldUp=new k("fold-up",{character:"\\eaf4"}),k.fold=new k("fold",{character:"\\eaf5"}),k.folderActive=new k("folder-active",{character:"\\eaf6"}),k.folderOpened=new k("folder-opened",{character:"\\eaf7"}),k.gear=new k("gear",{character:"\\eaf8"}),k.gift=new k("gift",{character:"\\eaf9"}),k.gistSecret=new k("gist-secret",{character:"\\eafa"}),k.gist=new k("gist",{character:"\\eafb"}),k.gitCommit=new k("git-commit",{character:"\\eafc"}),k.gitCompare=new k("git-compare",{character:"\\eafd"}),k.gitMerge=new k("git-merge",{character:"\\eafe"}),k.githubAction=new k("github-action",{character:"\\eaff"}),k.githubAlt=new k("github-alt",{character:"\\eb00"}),k.globe=new k("globe",{character:"\\eb01"}),k.grabber=new k("grabber",{character:"\\eb02"}),k.graph=new k("graph",{character:"\\eb03"}),k.gripper=new k("gripper",{character:"\\eb04"}),k.heart=new k("heart",{character:"\\eb05"}),k.home=new k("home",{character:"\\eb06"}),k.horizontalRule=new k("horizontal-rule",{character:"\\eb07"}),k.hubot=new k("hubot",{character:"\\eb08"}),k.inbox=new k("inbox",{character:"\\eb09"}),k.issueClosed=new k("issue-closed",{character:"\\eb0a"}),k.issueReopened=new k("issue-reopened",{character:"\\eb0b"}),k.issues=new k("issues",{character:"\\eb0c"}),k.italic=new k("italic",{character:"\\eb0d"}),k.jersey=new k("jersey",{character:"\\eb0e"}),k.json=new k("json",{character:"\\eb0f"}),k.kebabVertical=new k("kebab-vertical",{character:"\\eb10"}),k.key=new k("key",{character:"\\eb11"}),k.law=new k("law",{character:"\\eb12"}),k.lightbulbAutofix=new k("lightbulb-autofix",{character:"\\eb13"}),k.linkExternal=new k("link-external",{character:"\\eb14"}),k.link=new k("link",{character:"\\eb15"}),k.listOrdered=new k("list-ordered",{character:"\\eb16"}),k.listUnordered=new k("list-unordered",{character:"\\eb17"}),k.liveShare=new k("live-share",{character:"\\eb18"}),k.loading=new k("loading",{character:"\\eb19"}),k.location=new k("location",{character:"\\eb1a"}),k.mailRead=new k("mail-read",{character:"\\eb1b"}),k.mail=new k("mail",{character:"\\eb1c"}),k.markdown=new k("markdown",{character:"\\eb1d"}),k.megaphone=new k("megaphone",{character:"\\eb1e"}),k.mention=new k("mention",{character:"\\eb1f"}),k.milestone=new k("milestone",{character:"\\eb20"}),k.mortarBoard=new k("mortar-board",{character:"\\eb21"}),k.move=new k("move",{character:"\\eb22"}),k.multipleWindows=new k("multiple-windows",{character:"\\eb23"}),k.mute=new k("mute",{character:"\\eb24"}),k.noNewline=new k("no-newline",{character:"\\eb25"}),k.note=new k("note",{character:"\\eb26"}),k.octoface=new k("octoface",{character:"\\eb27"}),k.openPreview=new k("open-preview",{character:"\\eb28"}),k.package_=new k("package",{character:"\\eb29"}),k.paintcan=new k("paintcan",{character:"\\eb2a"}),k.pin=new k("pin",{character:"\\eb2b"}),k.play=new k("play",{character:"\\eb2c"}),k.run=new k("run",{character:"\\eb2c"}),k.plug=new k("plug",{character:"\\eb2d"}),k.preserveCase=new k("preserve-case",{character:"\\eb2e"}),k.preview=new k("preview",{character:"\\eb2f"}),k.project=new k("project",{character:"\\eb30"}),k.pulse=new k("pulse",{character:"\\eb31"}),k.question=new k("question",{character:"\\eb32"}),k.quote=new k("quote",{character:"\\eb33"}),k.radioTower=new k("radio-tower",{character:"\\eb34"}),k.reactions=new k("reactions",{character:"\\eb35"}),k.references=new k("references",{character:"\\eb36"}),k.refresh=new k("refresh",{character:"\\eb37"}),k.regex=new k("regex",{character:"\\eb38"}),k.remoteExplorer=new k("remote-explorer",{character:"\\eb39"}),k.remote=new k("remote",{character:"\\eb3a"}),k.remove=new k("remove",{character:"\\eb3b"}),k.replaceAll=new k("replace-all",{character:"\\eb3c"}),k.replace=new k("replace",{character:"\\eb3d"}),k.repoClone=new k("repo-clone",{character:"\\eb3e"}),k.repoForcePush=new k("repo-force-push",{character:"\\eb3f"}),k.repoPull=new k("repo-pull",{character:"\\eb40"}),k.repoPush=new k("repo-push",{character:"\\eb41"}),k.report=new k("report",{character:"\\eb42"}),k.requestChanges=new k("request-changes",{character:"\\eb43"}),k.rocket=new k("rocket",{character:"\\eb44"}),k.rootFolderOpened=new k("root-folder-opened",{character:"\\eb45"}),k.rootFolder=new k("root-folder",{character:"\\eb46"}),k.rss=new k("rss",{character:"\\eb47"}),k.ruby=new k("ruby",{character:"\\eb48"}),k.saveAll=new k("save-all",{character:"\\eb49"}),k.saveAs=new k("save-as",{character:"\\eb4a"}),k.save=new k("save",{character:"\\eb4b"}),k.screenFull=new k("screen-full",{character:"\\eb4c"}),k.screenNormal=new k("screen-normal",{character:"\\eb4d"}),k.searchStop=new k("search-stop",{character:"\\eb4e"}),k.server=new k("server",{character:"\\eb50"}),k.settingsGear=new k("settings-gear",{character:"\\eb51"}),k.settings=new k("settings",{character:"\\eb52"}),k.shield=new k("shield",{character:"\\eb53"}),k.smiley=new k("smiley",{character:"\\eb54"}),k.sortPrecedence=new k("sort-precedence",{character:"\\eb55"}),k.splitHorizontal=new k("split-horizontal",{character:"\\eb56"}),k.splitVertical=new k("split-vertical",{character:"\\eb57"}),k.squirrel=new k("squirrel",{character:"\\eb58"}),k.starFull=new k("star-full",{character:"\\eb59"}),k.starHalf=new k("star-half",{character:"\\eb5a"}),k.symbolClass=new k("symbol-class",{character:"\\eb5b"}),k.symbolColor=new k("symbol-color",{character:"\\eb5c"}),k.symbolConstant=new k("symbol-constant",{character:"\\eb5d"}),k.symbolEnumMember=new k("symbol-enum-member",{character:"\\eb5e"}),k.symbolField=new k("symbol-field",{character:"\\eb5f"}),k.symbolFile=new k("symbol-file",{character:"\\eb60"}),k.symbolInterface=new k("symbol-interface",{character:"\\eb61"}),k.symbolKeyword=new k("symbol-keyword",{character:"\\eb62"}),k.symbolMisc=new k("symbol-misc",{character:"\\eb63"}),k.symbolOperator=new k("symbol-operator",{character:"\\eb64"}),k.symbolProperty=new k("symbol-property",{character:"\\eb65"}),k.wrench=new k("wrench",{character:"\\eb65"}),k.wrenchSubaction=new k("wrench-subaction",{character:"\\eb65"}),k.symbolSnippet=new k("symbol-snippet",{character:"\\eb66"}),k.tasklist=new k("tasklist",{character:"\\eb67"}),k.telescope=new k("telescope",{character:"\\eb68"}),k.textSize=new k("text-size",{character:"\\eb69"}),k.threeBars=new k("three-bars",{character:"\\eb6a"}),k.thumbsdown=new k("thumbsdown",{character:"\\eb6b"}),k.thumbsup=new k("thumbsup",{character:"\\eb6c"}),k.tools=new k("tools",{character:"\\eb6d"}),k.triangleDown=new k("triangle-down",{character:"\\eb6e"}),k.triangleLeft=new k("triangle-left",{character:"\\eb6f"}),k.triangleRight=new k("triangle-right",{character:"\\eb70"}),k.triangleUp=new k("triangle-up",{character:"\\eb71"}),k.twitter=new k("twitter",{character:"\\eb72"}),k.unfold=new k("unfold",{character:"\\eb73"}),k.unlock=new k("unlock",{character:"\\eb74"}),k.unmute=new k("unmute",{character:"\\eb75"}),k.unverified=new k("unverified",{character:"\\eb76"}),k.verified=new k("verified",{character:"\\eb77"}),k.versions=new k("versions",{character:"\\eb78"}),k.vmActive=new k("vm-active",{character:"\\eb79"}),k.vmOutline=new k("vm-outline",{character:"\\eb7a"}),k.vmRunning=new k("vm-running",{character:"\\eb7b"}),k.watch=new k("watch",{character:"\\eb7c"}),k.whitespace=new k("whitespace",{character:"\\eb7d"}),k.wholeWord=new k("whole-word",{character:"\\eb7e"}),k.window=new k("window",{character:"\\eb7f"}),k.wordWrap=new k("word-wrap",{character:"\\eb80"}),k.zoomIn=new k("zoom-in",{character:"\\eb81"}),k.zoomOut=new k("zoom-out",{character:"\\eb82"}),k.listFilter=new k("list-filter",{character:"\\eb83"}),k.listFlat=new k("list-flat",{character:"\\eb84"}),k.listSelection=new k("list-selection",{character:"\\eb85"}),k.selection=new k("selection",{character:"\\eb85"}),k.listTree=new k("list-tree",{character:"\\eb86"}),k.debugBreakpointFunctionUnverified=new k("debug-breakpoint-function-unverified",{character:"\\eb87"}),k.debugBreakpointFunction=new k("debug-breakpoint-function",{character:"\\eb88"}),k.debugBreakpointFunctionDisabled=new k("debug-breakpoint-function-disabled",{character:"\\eb88"}),k.debugStackframeActive=new k("debug-stackframe-active",{character:"\\eb89"}),k.debugStackframeDot=new k("debug-stackframe-dot",{character:"\\eb8a"}),k.debugStackframe=new k("debug-stackframe",{character:"\\eb8b"}),k.debugStackframeFocused=new k("debug-stackframe-focused",{character:"\\eb8b"}),k.debugBreakpointUnsupported=new k("debug-breakpoint-unsupported",{character:"\\eb8c"}),k.symbolString=new k("symbol-string",{character:"\\eb8d"}),k.debugReverseContinue=new k("debug-reverse-continue",{character:"\\eb8e"}),k.debugStepBack=new k("debug-step-back",{character:"\\eb8f"}),k.debugRestartFrame=new k("debug-restart-frame",{character:"\\eb90"}),k.callIncoming=new k("call-incoming",{character:"\\eb92"}),k.callOutgoing=new k("call-outgoing",{character:"\\eb93"}),k.menu=new k("menu",{character:"\\eb94"}),k.expandAll=new k("expand-all",{character:"\\eb95"}),k.feedback=new k("feedback",{character:"\\eb96"}),k.groupByRefType=new k("group-by-ref-type",{character:"\\eb97"}),k.ungroupByRefType=new k("ungroup-by-ref-type",{character:"\\eb98"}),k.account=new k("account",{character:"\\eb99"}),k.bellDot=new k("bell-dot",{character:"\\eb9a"}),k.debugConsole=new k("debug-console",{character:"\\eb9b"}),k.library=new k("library",{character:"\\eb9c"}),k.output=new k("output",{character:"\\eb9d"}),k.runAll=new k("run-all",{character:"\\eb9e"}),k.syncIgnored=new k("sync-ignored",{character:"\\eb9f"}),k.pinned=new k("pinned",{character:"\\eba0"}),k.githubInverted=new k("github-inverted",{character:"\\eba1"}),k.debugAlt=new k("debug-alt",{character:"\\eb91"}),k.serverProcess=new k("server-process",{character:"\\eba2"}),k.serverEnvironment=new k("server-environment",{character:"\\eba3"}),k.pass=new k("pass",{character:"\\eba4"}),k.stopCircle=new k("stop-circle",{character:"\\eba5"}),k.playCircle=new k("play-circle",{character:"\\eba6"}),k.record=new k("record",{character:"\\eba7"}),k.debugAltSmall=new k("debug-alt-small",{character:"\\eba8"}),k.vmConnect=new k("vm-connect",{character:"\\eba9"}),k.cloud=new k("cloud",{character:"\\ebaa"}),k.merge=new k("merge",{character:"\\ebab"})}(Y||(Y={}));const R=/(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function L(k){return k.replace(R,(w,x)=>x?w:"\\"+w)}const s=/\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function z(k){return k.replace(s,w=>"\\"+w)}const D=/(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;function Q(k){return k.replace(D,(w,x,u,A,U)=>x?`$(${u})`:`<span class="codicon codicon-${A}${U?" codicon-animation-"+U:""}"></span>`)}const B=/(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi;function C(k){return-1===k.indexOf(l.a)?k:k.replace(B,(w,x,u,A)=>u?w:x||A||"")}},function(Ga,t,f){"use strict";var l;f.d(t,"b",function(){return l}),f.d(t,"a",function(){return q}),f.d(t,"c",function(){return F}),f.d(t,"d",function(){return P}),function(Y){Y.serviceIds=new Map(),Y.DI_TARGET="$di$target",Y.DI_DEPENDENCIES="$di$dependencies",Y.getServiceDependencies=function(R){return R[Y.DI_DEPENDENCIES]||[]}}(l||(l={}));const q=F("instantiationService");function y(Y,R,L,s){R[l.DI_TARGET]===R?R[l.DI_DEPENDENCIES].push({id:Y,index:L,optional:s}):(R[l.DI_DEPENDENCIES]=[{id:Y,index:L,optional:s}],R[l.DI_TARGET]=R)}function F(Y){if(l.serviceIds.has(Y))return l.serviceIds.get(Y);const R=function(L,s,z){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");y(R,L,z,!1)};return R.toString=()=>Y,l.serviceIds.set(Y,R),R}function P(Y){return function(R,L,s){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");y(Y,R,s,!0)}}},function(Ga,t,f){"use strict";f.d(t,"c",function(){return P}),f.d(t,"h",function(){return Y}),f.d(t,"e",function(){return R}),f.d(t,"b",function(){return L}),f.d(t,"f",function(){return s}),f.d(t,"a",function(){return z}),f.d(t,"g",function(){return Q}),f.d(t,"d",function(){return B});var l=f(18),q=f(2),y=f(56),F=f(6);const P=Object(l.c)("themeService");function Y(C){return{id:C}}var R;!function(C){C.isThemeIcon=function(x){return x&&"object"==typeof x&&"string"==typeof x.id};const k=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;C.fromString=function(x){const u=k.exec(x);if(!u)return;let[,A,U]=u;return A||(A="codicon/"),{id:A+U}};const w=/^(codicon\/)?([a-z-]+)(~[a-z]+)?$/i;C.asClassName=function(x){const u=w.exec(x.id);if(!u)return;let[,,A,U]=u,da="codicon codicon-"+A;return U&&(da+=" "+U.substr(1)),da}}(R||(R={}));const L="hc";function s(C){switch(C){case"dark":return"vs-dark";case L:return"hc-black";default:return"vs"}}const z={ThemingContribution:"base.contributions.theming"};let D=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new F.a()}onColorThemeChange(C){return this.themingParticipants.push(C),this.onThemingParticipantAddedEmitter.fire(C),Object(q.h)(()=>{const k=this.themingParticipants.indexOf(C);this.themingParticipants.splice(k,1)})}getThemingParticipants(){return this.themingParticipants}}();function Q(C){return D.onColorThemeChange(C)}y.a.add(z.ThemingContribution,D);class B extends q.a{constructor(C){super(),this.themeService=C,this.theme=C.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(k=>this.onThemeChange(k)))}onThemeChange(C){this.theme=C,this.updateStyles()}updateStyles(){}}},function(Ga,t,f){"use strict";f.d(t,"i",function(){return F}),f.d(t,"f",function(){return P}),f.d(t,"j",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"l",function(){return L}),f.d(t,"g",function(){return s}),f.d(t,"h",function(){return z}),f.d(t,"e",function(){return D}),f.d(t,"c",function(){return Q}),f.d(t,"d",function(){return B}),f.d(t,"k",function(){return C}),f.d(t,"b",function(){return k});var l=f(25),q=f(13),y=f(2);function F(w){return w&&"function"==typeof w.then}function P(w){const x=new l.b(),u=w(x.token),A=new Promise((U,da)=>{x.token.onCancellationRequested(()=>{da(q.a())}),Promise.resolve(u).then(Z=>{x.dispose(),U(Z)},Z=>{x.dispose(),da(Z)})});return new class{cancel(){x.cancel()}then(U,da){return A.then(U,da)}catch(U){return this.then(void 0,U)}finally(U){return A.finally(U)}}()}function Y(w,x,u){return Promise.race([w,new Promise(A=>x.onCancellationRequested(()=>A(u)))])}class R{constructor(w){this.defaultDelay=w,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(w,x=this.defaultDelay){return this.task=w,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((u,A)=>{this.doResolve=u,this.doReject=A}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const u=this.task;return this.task=null,u()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},x),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(q.a()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}function L(w,x){return x?new Promise((u,A)=>{const U=setTimeout(u,w);x.onCancellationRequested(()=>{clearTimeout(U),A(q.a())})}):P(u=>L(w,u))}function s(w,x=0){const u=setTimeout(w,x);return Object(y.h)(()=>clearTimeout(u))}function z(w,x=A=>!!A,u=null){let A=0;const U=w.length,da=()=>{if(A>=U)return Promise.resolve(u);const Z=w[A++];return Promise.resolve(Z()).then(H=>x(H)?Promise.resolve(H):da())};return da()}class D{constructor(w,x){this._token=-1,"function"==typeof w&&"number"==typeof x&&this.setIfNotSet(w,x)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(w,x){this.cancel(),this._token=setTimeout(()=>{this._token=-1,w()},x)}setIfNotSet(w,x){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,w()},x))}}class Q{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(w,x){this.cancel(),this._token=setInterval(()=>{w()},x)}}class B{constructor(w,x){this.timeoutToken=-1,this.runner=w,this.timeout=x,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(w=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,w)}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let C;!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const w=Object.freeze({didTimeout:!0,timeRemaining:()=>15});C=x=>{const u=setTimeout(()=>x(w));let A=!1;return{dispose(){A||(A=!0,clearTimeout(u))}}}}else C=(w,x)=>{const u=requestIdleCallback(w,"number"==typeof x?{timeout:x}:void 0);let A=!1;return{dispose(){A||(A=!0,cancelIdleCallback(u))}}}}();class k{constructor(w){this._didRun=!1,this._executor=()=>{try{this._value=w()}catch(x){this._error=x}finally{this._didRun=!0}},this._handle=C(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(9),q=f(3);class y extends q.a{constructor(F,P,Y,R){super(F,P,Y,R),this.selectionStartLineNumber=F,this.selectionStartColumn=P,this.positionLineNumber=Y,this.positionColumn=R}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(F){return y.selectionsEqual(this,F)}static selectionsEqual(F,P){return F.selectionStartLineNumber===P.selectionStartLineNumber&&F.selectionStartColumn===P.selectionStartColumn&&F.positionLineNumber===P.positionLineNumber&&F.positionColumn===P.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(F,P){return 0===this.getDirection()?new y(this.startLineNumber,this.startColumn,F,P):new y(F,P,this.startLineNumber,this.startColumn)}getPosition(){return new l.a(this.positionLineNumber,this.positionColumn)}setStartPosition(F,P){return 0===this.getDirection()?new y(F,P,this.endLineNumber,this.endColumn):new y(this.endLineNumber,this.endColumn,F,P)}static fromPositions(F,P=F){return new y(F.lineNumber,F.column,P.lineNumber,P.column)}static liftSelection(F){return new y(F.selectionStartLineNumber,F.selectionStartColumn,F.positionLineNumber,F.positionColumn)}static selectionsArrEqual(F,P){if(F&&!P||!F&&P)return!1;if(!F&&!P)return!0;if(F.length!==P.length)return!1;for(let Y=0,R=F.length;Y<R;Y++)if(!this.selectionsEqual(F[Y],P[Y]))return!1;return!0}static isISelection(F){return F&&"number"==typeof F.selectionStartLineNumber&&"number"==typeof F.selectionStartColumn&&"number"==typeof F.positionLineNumber&&"number"==typeof F.positionColumn}static createWithDirection(F,P,Y,R,L){return 0===L?new y(F,P,Y,R):new y(Y,R,F,P)}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return Q}),f.d(t,"f",function(){return B}),f.d(t,"c",function(){return C}),f.d(t,"d",function(){return x}),f.d(t,"e",function(){return u}),f.d(t,"a",function(){return A}),f.d(t,"g",function(){return U});var l=f(13),q=f(8),y=f(9),F=f(3),P=f(21),Y=f(30),R=f(39);const L=()=>!0,s=()=>!1,z=da=>" "===da||" "===da;function D(da,Z,H){da.has(Z)?da.get(Z).push(H):da.set(Z,[H])}class Q{constructor(da,Z,H){this._languageIdentifier=da;const ea=H.options,oa=ea.get(117);this.readOnly=ea.get(72),this.tabSize=Z.tabSize,this.indentSize=Z.indentSize,this.insertSpaces=Z.insertSpaces,this.lineHeight=ea.get(51),this.pageSize=Math.max(1,Math.floor(oa.height/this.lineHeight)-2),this.useTabStops=ea.get(104),this.wordSeparators=ea.get(105),this.emptySelectionClipboard=ea.get(26),this.copyWithSyntaxHighlighting=ea.get(16),this.multiCursorMergeOverlapping=ea.get(60),this.multiCursorPaste=ea.get(62),this.autoClosingBrackets=ea.get(5),this.autoClosingQuotes=ea.get(7),this.autoClosingOvertype=ea.get(6),this.autoSurround=ea.get(10),this.autoIndent=ea.get(8),this.autoClosingPairsOpen2=new Map(),this.autoClosingPairsClose2=new Map(),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:Q._getShouldAutoClose(da,this.autoClosingQuotes),bracket:Q._getShouldAutoClose(da,this.autoClosingBrackets)};let ga=Q._getAutoClosingPairs(da);if(ga)for(const N of ga)D(this.autoClosingPairsOpen2,N.open.charAt(N.open.length-1),N),1===N.close.length&&D(this.autoClosingPairsClose2,N.close,N);let Ba=Q._getSurroundingPairs(da);if(Ba)for(const N of Ba)this.surroundingPairs[N.open]=N.close}static shouldRecreate(da){return da.hasChanged(117)||da.hasChanged(105)||da.hasChanged(26)||da.hasChanged(60)||da.hasChanged(62)||da.hasChanged(5)||da.hasChanged(7)||da.hasChanged(6)||da.hasChanged(10)||da.hasChanged(104)||da.hasChanged(51)||da.hasChanged(72)}get electricChars(){if(!this._electricChars){this._electricChars={};let da=Q._getElectricCharacters(this._languageIdentifier);if(da)for(const Z of da)this._electricChars[Z]=!0}return this._electricChars}normalizeIndentation(da){return Y.b.normalizeIndentation(da,this.indentSize,this.insertSpaces)}static _getElectricCharacters(da){try{return R.a.getElectricCharacters(da.id)}catch(Z){return Object(l.e)(Z),null}}static _getAutoClosingPairs(da){try{return R.a.getAutoClosingPairs(da.id)}catch(Z){return Object(l.e)(Z),null}}static _getShouldAutoClose(da,Z){switch(Z){case"beforeWhitespace":return z;case"languageDefined":return Q._getLanguageDefinedShouldAutoClose(da);case"always":return L;case"never":return s}}static _getLanguageDefinedShouldAutoClose(da){try{const Z=R.a.getAutoCloseBeforeSet(da.id);return H=>-1!==Z.indexOf(H)}catch(Z){return Object(l.e)(Z),s}}static _getSurroundingPairs(da){try{return R.a.getSurroundingPairs(da.id)}catch(Z){return Object(l.e)(Z),null}}}class B{constructor(da,Z,H,ea){this.selectionStart=da,this.selectionStartLeftoverVisibleColumns=Z,this.position=H,this.leftoverVisibleColumns=ea,this.selection=B._computeSelection(this.selectionStart,this.position)}equals(da){return this.selectionStartLeftoverVisibleColumns===da.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===da.leftoverVisibleColumns&&this.position.equals(da.position)&&this.selectionStart.equalsRange(da.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(da,Z,H,ea){return da?new B(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new y.a(Z,H),ea):new B(new F.a(Z,H,Z,H),ea,new y.a(Z,H),ea)}static _computeSelection(da,Z){let H,ea,oa,ga;return da.isEmpty()?(H=da.startLineNumber,ea=da.startColumn,oa=Z.lineNumber,ga=Z.column):Z.isBeforeOrEqual(da.getStartPosition())?(H=da.endLineNumber,ea=da.endColumn,oa=Z.lineNumber,ga=Z.column):(H=da.startLineNumber,ea=da.startColumn,oa=Z.lineNumber,ga=Z.column),new P.a(H,ea,oa,ga)}}class C{constructor(da,Z,H){this.model=da,this.coordinatesConverter=Z,this.cursorConfig=H}}class k{constructor(da){this.modelState=da,this.viewState=null}}class w{constructor(da){this.modelState=null,this.viewState=da}}class x{constructor(da,Z){this.modelState=da,this.viewState=Z}static fromModelState(da){return new k(da)}static fromViewState(da){return new w(da)}static fromModelSelection(da){const Z=da.selectionStartLineNumber,H=da.selectionStartColumn,ea=da.positionLineNumber,oa=da.positionColumn,ga=new B(new F.a(Z,H,Z,H),0,new y.a(ea,oa),0);return x.fromModelState(ga)}static fromModelSelections(da){let Z=[];for(let H=0,ea=da.length;H<ea;H++)Z[H]=this.fromModelSelection(da[H]);return Z}equals(da){return this.viewState.equals(da.viewState)&&this.modelState.equals(da.modelState)}}class u{constructor(da,Z,H){this.type=da,this.commands=Z,this.shouldPushStackElementBefore=H.shouldPushStackElementBefore,this.shouldPushStackElementAfter=H.shouldPushStackElementAfter}}class A{static visibleColumnFromColumn(da,Z,H){const ea=da.length,oa=Z-1<ea?Z-1:ea;let ga=0,Ba=0;for(;Ba<oa;){const N=q.A(da,oa,Ba);if(Ba+=N>=65536?2:1,9===N)ga=A.nextRenderTabStop(ga,H);else{let V=q.y(N);for(;Ba<oa;){const ma=q.A(da,oa,Ba),ta=q.y(ma);if(q.c(V,ta))break;Ba+=ma>=65536?2:1,V=ta}q.E(N)||q.C(N)?ga+=2:ga+=1}}return ga}static visibleColumnFromColumn2(da,Z,H){return this.visibleColumnFromColumn(Z.getLineContent(H.lineNumber),H.column,da.tabSize)}static columnFromVisibleColumn(da,Z,H){if(Z<=0)return 1;const ea=da.length;let oa=0,ga=1,Ba=0;for(;Ba<ea;){const N=q.A(da,ea,Ba);let V;if(Ba+=N>=65536?2:1,9===N)V=A.nextRenderTabStop(oa,H);else{let ta=q.y(N);for(;Ba<ea;){const Da=q.A(da,ea,Ba),Ka=q.y(Da);if(q.c(ta,Ka))break;Ba+=Da>=65536?2:1,ta=Ka}V=q.E(N)||q.C(N)?oa+2:oa+1}const ma=Ba+1;if(V>=Z)return V-Z<Z-oa?ma:ga;oa=V,ga=ma}return ea+1}static columnFromVisibleColumn2(da,Z,H,ea){let oa=this.columnFromVisibleColumn(Z.getLineContent(H),ea,da.tabSize),ga=Z.getLineMinColumn(H);if(oa<ga)return ga;let Ba=Z.getLineMaxColumn(H);return oa>Ba?Ba:oa}static nextRenderTabStop(da,Z){return da+Z-da%Z}static nextIndentTabStop(da,Z){return da+Z-da%Z}static prevRenderTabStop(da,Z){return da-1-(da-1)%Z}static prevIndentTabStop(da,Z){return da-1-(da-1)%Z}}function U(da){return"'"===da||'"'===da||"`"===da}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return L}),f.d(t,"b",function(){return C});var l=f(11),q=f(42);const y=/^\w[\w\d+.-]*$/,F=/^\//,P=/^\/\//,Y="/",R=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class L{constructor(u,A,U,da,Z,H=!1){"object"==typeof u?(this.scheme=u.scheme||"",this.authority=u.authority||"",this.path=u.path||"",this.query=u.query||"",this.fragment=u.fragment||""):(this.scheme=function(ea,oa){return ea||oa?ea:"file"}(u,H),this.authority=A||"",this.path=function(ea,oa){switch(ea){case"https":case"http":case"file":oa?oa[0]!==Y&&(oa=Y+oa):oa=Y}return oa}(this.scheme,U||""),this.query=da||"",this.fragment=Z||"",function(ea,oa){if(!ea.scheme&&oa)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${ea.authority}", path: "${ea.path}", query: "${ea.query}", fragment: "${ea.fragment}"}`);if(ea.scheme&&!y.test(ea.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(ea.path){if(ea.authority){if(!F.test(ea.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(P.test(ea.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,H))}static isUri(u){return u instanceof L||!!u&&("string"==typeof u.authority&&"string"==typeof u.fragment&&"string"==typeof u.path&&"string"==typeof u.query&&"string"==typeof u.scheme&&"function"==typeof u.fsPath&&"function"==typeof u.with&&"function"==typeof u.toString)}get fsPath(){return C(this,!1)}with(u){if(!u)return this;let{scheme:A,authority:U,path:da,query:Z,fragment:H}=u;return void 0===A?A=this.scheme:null===A&&(A=""),void 0===U?U=this.authority:null===U&&(U=""),void 0===da?da=this.path:null===da&&(da=""),void 0===Z?Z=this.query:null===Z&&(Z=""),void 0===H?H=this.fragment:null===H&&(H=""),A===this.scheme&&U===this.authority&&da===this.path&&Z===this.query&&H===this.fragment?this:new z(A,U,da,Z,H)}static parse(u,A=!1){const U=R.exec(u);return U?new z(U[2]||"",x(U[4]||""),x(U[5]||""),x(U[7]||""),x(U[9]||""),A):new z("","","","","")}static file(u){let A="";if(l.i&&(u=u.replace(/\\/g,Y)),u[0]===Y&&u[1]===Y){const U=u.indexOf(Y,2);-1===U?(A=u.substring(2),u=Y):(A=u.substring(2,U),u=u.substring(U)||Y)}return new z("file",A,u,"","")}static from(u){return new z(u.scheme,u.authority,u.path,u.query,u.fragment)}static joinPath(u,...A){if(!u.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let U;return U=l.i&&"file"===u.scheme?L.file(q.i.join(C(u,!0),...A)).path:q.e.join(u.path,...A),u.with({path:U})}toString(u=!1){return k(this,u)}toJSON(){return this}static revive(u){if(u){if(u instanceof L)return u;{const A=new z(u);return A._formatted=u.external,A._fsPath=u._sep===s?u.fsPath:null,A}}return u}}const s=l.i?1:void 0;class z extends L{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=C(this,!1)),this._fsPath}toString(u=!1){return u?k(this,!0):(this._formatted||(this._formatted=k(this,!1)),this._formatted)}toJSON(){const u={$mid:1};return this._fsPath&&(u.fsPath=this._fsPath,u._sep=s),this._formatted&&(u.external=this._formatted),this.path&&(u.path=this.path),this.scheme&&(u.scheme=this.scheme),this.authority&&(u.authority=this.authority),this.query&&(u.query=this.query),this.fragment&&(u.fragment=this.fragment),u}}const D={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function Q(u,A){let U,da=-1;for(let Z=0;Z<u.length;Z++){const H=u.charCodeAt(Z);if(H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||45===H||46===H||95===H||126===H||A&&47===H)-1!==da&&(U+=encodeURIComponent(u.substring(da,Z)),da=-1),void 0!==U&&(U+=u.charAt(Z));else{void 0===U&&(U=u.substr(0,Z));const ea=D[H];void 0!==ea?(-1!==da&&(U+=encodeURIComponent(u.substring(da,Z)),da=-1),U+=ea):-1===da&&(da=Z)}}return-1!==da&&(U+=encodeURIComponent(u.substring(da))),void 0!==U?U:u}function B(u){let A;for(let U=0;U<u.length;U++){const da=u.charCodeAt(U);35===da||63===da?(void 0===A&&(A=u.substr(0,U)),A+=D[da]):void 0!==A&&(A+=u[U])}return void 0!==A?A:u}function C(u,A){let U;return U=u.authority&&u.path.length>1&&"file"===u.scheme?`//${u.authority}${u.path}`:47===u.path.charCodeAt(0)&&(u.path.charCodeAt(1)>=65&&u.path.charCodeAt(1)<=90||u.path.charCodeAt(1)>=97&&u.path.charCodeAt(1)<=122)&&58===u.path.charCodeAt(2)?A?u.path.substr(1):u.path[1].toLowerCase()+u.path.substr(2):u.path,l.i&&(U=U.replace(/\//g,"\\")),U}function k(u,A){const U=A?B:Q;let da="",{scheme:Z,authority:H,path:ea,query:oa,fragment:ga}=u;if(Z&&(da+=Z,da+=":"),(H||"file"===Z)&&(da+=Y,da+=Y),H){let Ba=H.indexOf("@");if(-1!==Ba){const N=H.substr(0,Ba);H=H.substr(Ba+1),Ba=N.indexOf(":"),-1===Ba?da+=U(N,!1):(da+=U(N.substr(0,Ba),!1),da+=":",da+=U(N.substr(Ba+1),!1)),da+="@"}H=H.toLowerCase(),Ba=H.indexOf(":"),-1===Ba?da+=U(H,!1):(da+=U(H.substr(0,Ba),!1),da+=H.substr(Ba))}if(ea){if(ea.length>=3&&47===ea.charCodeAt(0)&&58===ea.charCodeAt(2)){const Ba=ea.charCodeAt(1);Ba>=65&&Ba<=90&&(ea=`/${String.fromCharCode(Ba+32)}:${ea.substr(3)}`)}else if(ea.length>=2&&58===ea.charCodeAt(1)){const Ba=ea.charCodeAt(0);Ba>=65&&Ba<=90&&(ea=`${String.fromCharCode(Ba+32)}:${ea.substr(2)}`)}da+=U(ea,!0)}return oa&&(da+="?",da+=U(oa,!1)),ga&&(da+="#",da+=A?ga:Q(ga,!1)),da}const w=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function x(u){return u.match(w)?u.replace(w,A=>function U(da){try{return decodeURIComponent(da)}catch(Z){return da.length>3?da.substr(0,3)+U(da.substr(3)):da}}(A)):u}},function(Ga,t,f){"use strict";f.d(t,"f",function(){return D}),f.d(t,"b",function(){return Q}),f.d(t,"a",function(){return B}),f.d(t,"d",function(){return C}),f.d(t,"e",function(){return w}),f.d(t,"c",function(){return x});var l=f(60),q=f(18),y=f(10),F=f(27),P=f(2),Y=f(6),R=f(37),L=f(53),s=function(u,A,U,da){var Z,H=arguments.length,ea=H<3?A:null===da?da=Object.getOwnPropertyDescriptor(A,U):da;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ea=Reflect.decorate(u,A,U,da);else for(var oa=u.length-1;oa>=0;oa--)(Z=u[oa])&&(ea=(H<3?Z(ea):H>3?Z(A,U,ea):Z(A,U))||ea);return H>3&&ea&&Object.defineProperty(A,U,ea),ea},z=function(u,A){return function(U,da){A(U,da,u)}};function D(u){return void 0!==u.command}class Q{constructor(u){this.id=Q._idPool++,this._debugName=u}}Q._idPool=0,Q.CommandPalette=new Q("CommandPalette"),Q.EditorContext=new Q("EditorContext"),Q.EditorContextPeek=new Q("EditorContextPeek"),Q.MenubarEditMenu=new Q("MenubarEditMenu"),Q.MenubarGoMenu=new Q("MenubarGoMenu"),Q.MenubarSelectionMenu=new Q("MenubarSelectionMenu");const B=Object(q.c)("menuService"),C=new class{constructor(){this._commands=new Map(),this._menuItems=new Map(),this._onDidChangeMenu=new Y.a(),this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:u=>u===Q.CommandPalette}}addCommand(u){return this.addCommands(R.a.single(u))}addCommands(u){for(const A of u)this._commands.set(A.id,A);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(P.h)(()=>{let A=!1;for(const U of u)A=this._commands.delete(U.id)||A;A&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(u){return this._commands.get(u)}getCommands(){const u=new Map();return this._commands.forEach((A,U)=>u.set(U,A)),u}appendMenuItem(u,A){return this.appendMenuItems(R.a.single({id:u,item:A}))}appendMenuItems(u){const A=new Set(),U=new L.a();for(const{id:da,item:Z}of u){let H=this._menuItems.get(da);H||(H=new L.a(),this._menuItems.set(da,H)),U.push(H.push(Z)),A.add(da)}return this._onDidChangeMenu.fire(A),Object(P.h)(()=>{if(U.size>0){for(let da of U)da();this._onDidChangeMenu.fire(A),U.clear()}})}getMenuItems(u){let A;return A=this._menuItems.has(u)?[...this._menuItems.get(u)]:[],u===Q.CommandPalette&&this._appendImplicitItems(A),A}_appendImplicitItems(u){const A=new Set();for(const U of u)D(U)&&(A.add(U.command.id),U.alt&&A.add(U.alt.id));this._commands.forEach((U,da)=>{A.has(da)||u.push({command:U})})}}();let k=class extends l.a{constructor(u,A,U){super(u,A),this._commandService=U}run(...u){return this._commandService.executeCommand(this.id,...u)}};k=s([z(2,F.b)],k);class w extends l.d{constructor(u,A,U,da){super("submenuitem."+u.submenu.id,"string"==typeof u.title?u.title:u.title.value,()=>{const Z=[],H=A.createMenu(u.submenu,U),ea=H.getActions(da);H.dispose();for(let oa of ea){const[,ga]=oa;ga.length>0&&(Z.push(...ga),Z.push(new l.c()))}return Z.length&&Z.pop(),Z},"submenu"),this.item=u}}let x=class u extends k{constructor(A,U,da,Z,H){if("string"==typeof A.title?super(A.id,A.title,H):super(A.id,A.title.value,H),this._cssClass=void 0,this._enabled=!A.precondition||Z.contextMatchesRules(A.precondition),this._tooltip=A.tooltip?"string"==typeof A.tooltip?A.tooltip:A.tooltip.value:void 0,A.toggled){const ea=A.toggled.condition?A.toggled:{condition:A.toggled};this._checked=Z.contextMatchesRules(ea.condition),this._checked&&ea.tooltip&&(this._tooltip="string"==typeof ea.tooltip?ea.tooltip:ea.tooltip.value)}this._options=da||{},this.item=A,this.alt=U?new u(U,void 0,this._options,Z,H):void 0}dispose(){this.alt&&this.alt.dispose(),super.dispose()}run(...A){let U=[];return this._options.arg&&(U=[...U,this._options.arg]),this._options.shouldForwardArgs&&(U=[...U,...A]),super.run(...U)}};x=s([z(3,y.b),z(4,F.b)],x)},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y}),f.d(t,"b",function(){return P});var l=f(6);const q=Object.freeze(function(Y,R){const L=setTimeout(Y.bind(R),0);return{dispose(){clearTimeout(L)}}});var y;!function(Y){Y.isCancellationToken=function(R){return R===Y.None||R===Y.Cancelled||(R instanceof F||!(!R||"object"!=typeof R)&&("boolean"==typeof R.isCancellationRequested&&"function"==typeof R.onCancellationRequested))},Y.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:l.b.None}),Y.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:q})}(y||(y={}));class F{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?q:(this._emitter||(this._emitter=new l.a()),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class P{constructor(Y){this._token=void 0,this._parentListener=void 0,this._parentListener=Y&&Y.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new F()),this._token}cancel(){this._token?this._token instanceof F&&this._token.cancel():this._token=y.Cancelled}dispose(Y=!1){Y&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof F&&this._token.dispose():this._token=y.None}}},function(Ga,t,f){"use strict";f.d(t,"h",function(){return F}),f.d(t,"b",function(){return P}),f.d(t,"j",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"i",function(){return x}),f.d(t,"e",function(){return u}),f.d(t,"f",function(){return U}),f.d(t,"l",function(){return da}),f.d(t,"c",function(){return H}),f.d(t,"d",function(){return ea}),f.d(t,"k",function(){return oa}),f.d(t,"g",function(){return Ba});var l=f(0),q=f(11),y=f(73);const F=8;class P{constructor(N){this._values=N}hasChanged(N){return this._values[N]}}class Y{constructor(){this._values=[]}_read(N){return this._values[N]}get(N){return this._values[N]}_write(N,V){this._values[N]=V}}class R{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class L{constructor(N,V,ma,ta){this.id=N,this.name=V,this.defaultValue=ma,this.schema=ta}compute(N,V,ma){return ma}}class s{constructor(N,V=null){this.schema=void 0,this.id=N,this.name="_never_",this.defaultValue=void 0,this.deps=V}validate(N){return this.defaultValue}}class z{constructor(N,V,ma,ta){this.id=N,this.name=V,this.defaultValue=ma,this.schema=ta}validate(N){return void 0===N?this.defaultValue:N}compute(N,V,ma){return ma}}class D extends z{static boolean(N,V){return void 0===N?V:"false"!==N&&Boolean(N)}constructor(N,V,ma,ta){void 0!==ta&&(ta.type="boolean",ta.default=ma),super(N,V,ma,ta)}validate(N){return D.boolean(N,this.defaultValue)}}class Q extends z{constructor(N,V,ma,ta,Da,Ka){void 0!==Ka&&(Ka.type="integer",Ka.default=ma,Ka.minimum=ta,Ka.maximum=Da),super(N,V,ma,Ka),this.minimum=ta,this.maximum=Da}static clampedInt(N,V,ma,ta){if(void 0===N)return V;let Da=parseInt(N,10);return isNaN(Da)?V:(Da=Math.max(ma,Da),Da=Math.min(ta,Da),0|Da)}validate(N){return Q.clampedInt(N,this.defaultValue,this.minimum,this.maximum)}}class B extends z{constructor(N,V,ma,ta,Da){void 0!==Da&&(Da.type="number",Da.default=ma),super(N,V,ma,Da),this.validationFn=ta}static clamp(N,V,ma){return N<V?V:N>ma?ma:N}static float(N,V){if("number"==typeof N)return N;if(void 0===N)return V;const ma=parseFloat(N);return isNaN(ma)?V:ma}validate(N){return this.validationFn(B.float(N,this.defaultValue))}}class C extends z{static string(N,V){return"string"!=typeof N?V:N}constructor(N,V,ma,ta){void 0!==ta&&(ta.type="string",ta.default=ma),super(N,V,ma,ta)}validate(N){return C.string(N,this.defaultValue)}}class k extends z{constructor(N,V,ma,ta,Da){void 0!==Da&&(Da.type="string",Da.enum=ta,Da.default=ma),super(N,V,ma,Da),this._allowedValues=ta}static stringSet(N,V,ma){return"string"!=typeof N||-1===ma.indexOf(N)?V:N}validate(N){return k.stringSet(N,this.defaultValue,this._allowedValues)}}class w extends L{constructor(N,V,ma,ta,Da,Ka,G){void 0!==G&&(G.type="string",G.enum=Da,G.default=ta),super(N,V,ma,G),this._allowedValues=Da,this._convert=Ka}validate(N){return"string"!=typeof N||-1===this._allowedValues.indexOf(N)?this.defaultValue:this._convert(N)}}var x;!function(N){N[N.Line=1]="Line",N[N.Block=2]="Block",N[N.Underline=3]="Underline",N[N.LineThin=4]="LineThin",N[N.BlockOutline=5]="BlockOutline",N[N.UnderlineThin=6]="UnderlineThin"}(x||(x={}));class u extends L{constructor(){super(37,"fontLigatures",u.OFF,{anyOf:[{type:"boolean",description:l.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:l.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:l.a("fontLigaturesGeneral","Configures font ligatures or font features."),default:!1})}validate(N){return void 0===N?this.defaultValue:"string"==typeof N?"false"===N?u.OFF:"true"===N?u.ON:N:Boolean(N)?u.ON:u.OFF}}u.OFF='"liga" off, "calt" off',u.ON='"liga" on, "calt" on';class A extends L{constructor(){super(39,"fontWeight",H.fontWeight,{anyOf:[{type:"number",minimum:A.MINIMUM_VALUE,maximum:A.MAXIMUM_VALUE,errorMessage:l.a("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:A.SUGGESTION_VALUES}],default:H.fontWeight,description:l.a("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(N){return"normal"===N||"bold"===N?N:String(Q.clampedInt(N,H.fontWeight,A.MINIMUM_VALUE,A.MAXIMUM_VALUE))}}A.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],A.MINIMUM_VALUE=1,A.MAXIMUM_VALUE=1e3;class U extends s{constructor(){super(117,[42,50,31,56,84,52,53,86,106,109,110,2])}compute(N,V,ma){return U.computeLayout(V,{memory:N.memory,outerWidth:N.outerWidth,outerHeight:N.outerHeight,isDominatedByLongLines:N.isDominatedByLongLines,lineHeight:N.fontInfo.lineHeight,viewLineCount:N.viewLineCount,lineNumbersDigitCount:N.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:N.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:N.fontInfo.maxDigitWidth,pixelRatio:N.pixelRatio})}static computeContainedMinimapLineCount(N){const V=N.height/N.lineHeight,ma=N.scrollBeyondLastLine?V-1:0,ta=(N.viewLineCount+ma)/(N.pixelRatio*N.height);return{typicalViewportLineCount:V,extraLinesBeyondLastLine:ma,desiredRatio:ta,minimapLineCount:Math.floor(N.viewLineCount/ta)}}static _computeMinimapLayout(N,V){const ma=N.outerWidth,ta=N.outerHeight,Da=N.pixelRatio;if(!N.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Da*ta),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:ta};const Ka=V.stableMinimapLayoutInput,G=Ka&&N.outerHeight===Ka.outerHeight&&N.lineHeight===Ka.lineHeight&&N.typicalHalfwidthCharacterWidth===Ka.typicalHalfwidthCharacterWidth&&N.pixelRatio===Ka.pixelRatio&&N.scrollBeyondLastLine===Ka.scrollBeyondLastLine&&N.minimap.enabled===Ka.minimap.enabled&&N.minimap.side===Ka.minimap.side&&N.minimap.size===Ka.minimap.size&&N.minimap.showSlider===Ka.minimap.showSlider&&N.minimap.renderCharacters===Ka.minimap.renderCharacters&&N.minimap.maxColumn===Ka.minimap.maxColumn&&N.minimap.scale===Ka.minimap.scale&&N.verticalScrollbarWidth===Ka.verticalScrollbarWidth&&N.isViewportWrapping===Ka.isViewportWrapping,hb=N.lineHeight,_a=N.typicalHalfwidthCharacterWidth,fb=N.scrollBeyondLastLine,za=N.minimap.renderCharacters;let ua=Da>=2?Math.round(2*N.minimap.scale):N.minimap.scale;const ba=N.minimap.maxColumn,$=N.minimap.size,S=N.minimap.side,aa=N.verticalScrollbarWidth,_=N.viewLineCount,I=N.remainingWidth,ka=N.isViewportWrapping,va=za?2:3;let La=Math.floor(Da*ta);const $a=La/Da;let Ab=!1,gb=!1,Fb=va*ua,wb=ua/Da,tc=1;if("fill"===$||"fit"===$){const{typicalViewportLineCount:Ob,extraLinesBeyondLastLine:uc,desiredRatio:Cc,minimapLineCount:Kc}=U.computeContainedMinimapLineCount({viewLineCount:_,scrollBeyondLastLine:fb,height:ta,lineHeight:hb,pixelRatio:Da});if(_/Kc>1)Ab=!0,gb=!0,ua=1,Fb=1,wb=ua/Da;else{let Yc=!1,sc=ua+1;if("fit"===$){const Nb=Math.ceil((_+uc)*Fb);ka&&G&&I<=V.stableFitRemainingWidth?(Yc=!0,sc=V.stableFitMaxMinimapScale):(Yc=Nb>La,ka&&Yc?(V.stableMinimapLayoutInput=N,V.stableFitRemainingWidth=I):(V.stableMinimapLayoutInput=null,V.stableFitRemainingWidth=0))}if("fill"===$||Yc){Ab=!0;const Nb=ua;Fb=Math.min(hb*Da,Math.max(1,Math.floor(1/Cc))),ua=Math.min(sc,Math.max(1,Math.floor(Fb/va))),ua>Nb&&(tc=Math.min(2,ua/Nb)),wb=ua/Da/tc,La=Math.ceil(Math.max(Ob,_+uc)*Fb),ka&&Yc&&(V.stableFitMaxMinimapScale=ua)}}}const rb=Math.floor(ba*wb),wc=Math.min(rb,Math.max(0,Math.floor((I-aa-2)*wb/(_a+wb)))+F);let vc=Math.floor(Da*wc);const cb=vc/Da;return vc=Math.floor(vc*tc),{renderMinimap:za?1:2,minimapLeft:"left"===S?0:ma-wc-aa,minimapWidth:wc,minimapHeightIsEditorHeight:Ab,minimapIsSampling:gb,minimapScale:ua,minimapLineHeight:Fb,minimapCanvasInnerWidth:vc,minimapCanvasInnerHeight:La,minimapCanvasOuterWidth:cb,minimapCanvasOuterHeight:$a}}static computeLayout(N,V){const ma=0|V.outerWidth,ta=0|V.outerHeight,Da=0|V.lineHeight,Ka=0|V.lineNumbersDigitCount,G=V.typicalHalfwidthCharacterWidth,hb=V.maxDigitWidth,_a=V.pixelRatio,fb=V.viewLineCount,za=N.get(106),ua=N.get(109),ba=N.get(110),$=N.get(2),S=V.isDominatedByLongLines,aa=N.get(42),_=0!==N.get(52).renderType,I=N.get(53),ka=N.get(86),va=N.get(56),La=N.get(84),$a=La.verticalScrollbarSize,Ab=La.verticalHasArrows,gb=La.arrowSize,Fb=La.horizontalScrollbarSize,wb=N.get(50),tc=N.get(31);let rb;if("string"==typeof wb&&/^\d+(\.\d+)?ch$/.test(wb)){const qb=parseFloat(wb.substr(0,wb.length-2));rb=Q.clampedInt(qb*G,0,0,1e3)}else rb=Q.clampedInt(wb,0,0,1e3);tc&&(rb+=16);let wc=0;if(_){const qb=Math.max(Ka,I);wc=Math.round(qb*hb)}let vc=0;aa&&(vc=Da);let cb=0,Ob=cb+vc,uc=Ob+wc,Cc=uc+rb;const Kc=ma-vc-wc-rb;let Yc=!1,sc=!1,Nb=-1;2!==$&&(ba&&S?(Yc=!0,sc=!0):"on"===za||"bounded"===za?sc=!0:"wordWrapColumn"===za&&(Nb=ua));const Fc=U._computeMinimapLayout({outerWidth:ma,outerHeight:ta,lineHeight:Da,typicalHalfwidthCharacterWidth:G,pixelRatio:_a,scrollBeyondLastLine:ka,minimap:va,verticalScrollbarWidth:$a,viewLineCount:fb,remainingWidth:Kc,isViewportWrapping:sc},V.memory||new R());0!==Fc.renderMinimap&&0===Fc.minimapLeft&&(cb+=Fc.minimapWidth,Ob+=Fc.minimapWidth,uc+=Fc.minimapWidth,Cc+=Fc.minimapWidth);const pb=Kc-Fc.minimapWidth,mc=Math.max(1,Math.floor((pb-$a-2)/G)),Eb=Ab?gb:0;return sc&&(Nb=Math.max(1,mc),"bounded"===za&&(Nb=Math.min(Nb,ua))),{width:ma,height:ta,glyphMarginLeft:cb,glyphMarginWidth:vc,lineNumbersLeft:Ob,lineNumbersWidth:wc,decorationsLeft:uc,decorationsWidth:rb,contentLeft:Cc,contentWidth:pb,minimap:Fc,viewportColumn:mc,isWordWrapMinified:Yc,isViewportWrapping:sc,wrappingColumn:Nb,verticalScrollbarWidth:$a,horizontalScrollbarHeight:Fb,overviewRuler:{top:Eb,width:$a,height:ta-2*Eb,right:0}}}}function da(N){const V=N.get(79);return"editable"===V?N.get(72):"on"!==V}function Z(N,V){if("string"!=typeof N)return V;switch(N){case"hidden":return 2;case"visible":return 3;default:return 1}}const H={fontFamily:q.f?"Menlo, Monaco, 'Courier New', monospace":q.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:q.f?12:14,lineHeight:0,letterSpacing:0},ea={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},oa=[];function ga(N){return oa[N.id]=N,N}const Ba={acceptSuggestionOnCommitCharacter:ga(new D(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:l.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ga(new k(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",l.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:l.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ga(new class extends L{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[l.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),l.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),l.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:l.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})}validate(N){switch(N){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(N,V,ma){return 0===ma?N.accessibilitySupport:ma}}()),accessibilityPageSize:ga(new Q(3,"accessibilityPageSize",10,1,1073741824,{description:l.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:ga(new C(4,"ariaLabel",l.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:ga(new k(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",l.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),l.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:l.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:ga(new k(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",l.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:l.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ga(new k(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",l.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),l.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:l.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ga(new w(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(N){switch(N){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[l.a("editor.autoIndent.none","The editor will not insert indentation automatically."),l.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),l.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),l.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),l.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:l.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ga(new D(9,"automaticLayout",!1)),autoSurround:ga(new k(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[l.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),l.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),l.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:l.a("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:ga(new D(11,"codeLens",!0,{description:l.a("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:ga(new D(12,"colorDecorators",!0,{description:l.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:ga(new D(13,"columnSelection",!1,{description:l.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ga(new class extends L{constructor(){const N={insertSpace:!0,ignoreEmptyLines:!0};super(14,"comments",N,{"editor.comments.insertSpace":{type:"boolean",default:N.insertSpace,description:l.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:N.ignoreEmptyLines,description:l.a("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{insertSpace:D.boolean(V.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:D.boolean(V.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}()),contextmenu:ga(new D(15,"contextmenu",!0)),copyWithSyntaxHighlighting:ga(new D(16,"copyWithSyntaxHighlighting",!0,{description:l.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ga(new w(17,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(N){switch(N){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:l.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ga(new D(18,"cursorSmoothCaretAnimation",!1,{description:l.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ga(new w(19,"cursorStyle",x.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(N){switch(N){case"line":return x.Line;case"block":return x.Block;case"underline":return x.Underline;case"line-thin":return x.LineThin;case"block-outline":return x.BlockOutline;case"underline-thin":return x.UnderlineThin}},{description:l.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ga(new Q(20,"cursorSurroundingLines",0,0,1073741824,{description:l.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:ga(new k(21,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[l.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),l.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:l.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:ga(new Q(22,"cursorWidth",0,0,1073741824,{markdownDescription:l.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ga(new D(23,"disableLayerHinting",!1)),disableMonospaceOptimizations:ga(new D(24,"disableMonospaceOptimizations",!1)),dragAndDrop:ga(new D(25,"dragAndDrop",!0,{description:l.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ga(new class extends D{constructor(){super(26,"emptySelectionClipboard",!0,{description:l.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(N,V,ma){return ma&&N.emptySelectionClipboard}}()),extraEditorClassName:ga(new C(27,"extraEditorClassName","")),fastScrollSensitivity:ga(new B(28,"fastScrollSensitivity",5,N=>N<=0?5:N,{markdownDescription:l.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ga(new class extends L{constructor(){const N={cursorMoveOnType:!0,seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(29,"find",N,{"editor.find.cursorMoveOnType":{type:"boolean",default:N.cursorMoveOnType,description:l.a("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:N.seedSearchStringFromSelection,description:l.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:N.autoFindInSelection,enumDescriptions:[l.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),l.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),l.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:l.a("find.autoFindInSelection","Controls the condition for turning on find in selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:N.globalFindClipboard,description:l.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:q.f},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:N.addExtraSpaceOnTop,description:l.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:N.loop,description:l.a("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{cursorMoveOnType:D.boolean(V.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:D.boolean(V.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof N.autoFindInSelection?N.autoFindInSelection?"always":"never":k.stringSet(V.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:D.boolean(V.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:D.boolean(V.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:D.boolean(V.loop,this.defaultValue.loop)}}}()),fixedOverflowWidgets:ga(new D(30,"fixedOverflowWidgets",!1)),folding:ga(new D(31,"folding",!0,{description:l.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ga(new k(32,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[l.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),l.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:l.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ga(new D(33,"foldingHighlight",!0,{description:l.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),unfoldOnClickAfterEndOfLine:ga(new D(34,"unfoldOnClickAfterEndOfLine",!1,{description:l.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ga(new C(35,"fontFamily",H.fontFamily,{description:l.a("fontFamily","Controls the font family.")})),fontInfo:ga(new class extends s{constructor(){super(36)}compute(N,V,ma){return N.fontInfo}}()),fontLigatures2:ga(new u()),fontSize:ga(new class extends z{constructor(){super(38,"fontSize",H.fontSize,{type:"number",minimum:6,maximum:100,default:H.fontSize,description:l.a("fontSize","Controls the font size in pixels.")})}validate(N){let V=B.float(N,this.defaultValue);return 0===V?H.fontSize:B.clamp(V,6,100)}compute(N,V,ma){return N.fontInfo.fontSize}}()),fontWeight:ga(new A()),formatOnPaste:ga(new D(40,"formatOnPaste",!1,{description:l.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ga(new D(41,"formatOnType",!1,{description:l.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ga(new D(42,"glyphMargin",!0,{description:l.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ga(new class extends L{constructor(){const N={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},V={type:"string",enum:["peek","gotoAndPeek","goto"],default:N.multiple,enumDescriptions:[l.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),l.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),l.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};super(43,"gotoLocation",N,{"editor.gotoLocation.multiple":{deprecationMessage:l.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:l.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},V),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:l.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},V),"editor.gotoLocation.multipleDeclarations":Object.assign({description:l.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},V),"editor.gotoLocation.multipleImplementations":Object.assign({description:l.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},V),"editor.gotoLocation.multipleReferences":Object.assign({description:l.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},V),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:N.alternativeDefinitionCommand,description:l.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:N.alternativeTypeDefinitionCommand,description:l.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:N.alternativeDeclarationCommand,description:l.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:N.alternativeImplementationCommand,description:l.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:N.alternativeReferenceCommand,description:l.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(N){var V,ma,ta,Da,Ka;if(!N||"object"!=typeof N)return this.defaultValue;const G=N;return{multiple:k.stringSet(G.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(V=G.multipleDefinitions)&&void 0!==V?V:k.stringSet(G.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(ma=G.multipleTypeDefinitions)&&void 0!==ma?ma:k.stringSet(G.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(ta=G.multipleDeclarations)&&void 0!==ta?ta:k.stringSet(G.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(Da=G.multipleImplementations)&&void 0!==Da?Da:k.stringSet(G.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(Ka=G.multipleReferences)&&void 0!==Ka?Ka:k.stringSet(G.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:C.string(G.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:C.string(G.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:C.string(G.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:C.string(G.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:C.string(G.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}()),hideCursorInOverviewRuler:ga(new D(44,"hideCursorInOverviewRuler",!1,{description:l.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:ga(new D(45,"highlightActiveIndentGuide",!0,{description:l.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:ga(new class extends L{constructor(){const N={enabled:!0,delay:300,sticky:!0};super(46,"hover",N,{"editor.hover.enabled":{type:"boolean",default:N.enabled,description:l.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:N.delay,description:l.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:N.sticky,description:l.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{enabled:D.boolean(V.enabled,this.defaultValue.enabled),delay:Q.clampedInt(V.delay,this.defaultValue.delay,0,1e4),sticky:D.boolean(V.sticky,this.defaultValue.sticky)}}}()),inDiffEditor:ga(new D(47,"inDiffEditor",!1)),letterSpacing:ga(new B(48,"letterSpacing",H.letterSpacing,N=>B.clamp(N,-5,20),{description:l.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ga(new class extends L{constructor(){const N={enabled:!0};super(49,"lightbulb",N,{"editor.lightbulb.enabled":{type:"boolean",default:N.enabled,description:l.a("codeActions","Enables the code action lightbulb in the editor.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{enabled:D.boolean(V.enabled,this.defaultValue.enabled)}}}()),lineDecorationsWidth:ga(new z(50,"lineDecorationsWidth",10)),lineHeight:ga(new class extends Q{constructor(){super(51,"lineHeight",H.lineHeight,0,150,{description:l.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})}compute(N,V,ma){return N.fontInfo.lineHeight}}()),lineNumbers:ga(new class extends L{constructor(){super(52,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[l.a("lineNumbers.off","Line numbers are not rendered."),l.a("lineNumbers.on","Line numbers are rendered as absolute number."),l.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),l.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:l.a("lineNumbers","Controls the display of line numbers.")})}validate(N){let V=this.defaultValue.renderType,ma=this.defaultValue.renderFn;return void 0!==N&&("function"==typeof N?(V=4,ma=N):V="interval"===N?3:"relative"===N?2:"on"===N?1:0),{renderType:V,renderFn:ma}}}()),lineNumbersMinChars:ga(new Q(53,"lineNumbersMinChars",5,1,300)),links:ga(new D(54,"links",!0,{description:l.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ga(new k(55,"matchBrackets","always",["always","near","never"],{description:l.a("matchBrackets","Highlight matching brackets.")})),minimap:ga(new class extends L{constructor(){const N={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(56,"minimap",N,{"editor.minimap.enabled":{type:"boolean",default:N.enabled,description:l.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[l.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),l.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),l.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:N.size,description:l.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:N.side,description:l.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:N.showSlider,description:l.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:N.scale,minimum:1,maximum:3,enum:[1,2,3],description:l.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:N.renderCharacters,description:l.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:N.maxColumn,description:l.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{enabled:D.boolean(V.enabled,this.defaultValue.enabled),size:k.stringSet(V.size,this.defaultValue.size,["proportional","fill","fit"]),side:k.stringSet(V.side,this.defaultValue.side,["right","left"]),showSlider:k.stringSet(V.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:D.boolean(V.renderCharacters,this.defaultValue.renderCharacters),scale:Q.clampedInt(V.scale,1,1,3),maxColumn:Q.clampedInt(V.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}()),mouseStyle:ga(new k(57,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ga(new B(58,"mouseWheelScrollSensitivity",1,N=>0===N?1:N,{markdownDescription:l.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ga(new D(59,"mouseWheelZoom",!1,{markdownDescription:l.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ga(new D(60,"multiCursorMergeOverlapping",!0,{description:l.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ga(new w(61,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(N){return"ctrlCmd"===N?q.f?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[l.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),l.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:l.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ga(new k(62,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[l.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),l.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:l.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:ga(new D(63,"occurrencesHighlight",!0,{description:l.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:ga(new D(64,"overviewRulerBorder",!0,{description:l.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ga(new Q(65,"overviewRulerLanes",3,0,3)),padding:ga(new class extends L{constructor(){super(66,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:l.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:l.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{top:Q.clampedInt(V.top,0,0,1e3),bottom:Q.clampedInt(V.bottom,0,0,1e3)}}}()),parameterHints:ga(new class extends L{constructor(){const N={enabled:!0,cycle:!1};super(67,"parameterHints",N,{"editor.parameterHints.enabled":{type:"boolean",default:N.enabled,description:l.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:N.cycle,description:l.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N;return{enabled:D.boolean(V.enabled,this.defaultValue.enabled),cycle:D.boolean(V.cycle,this.defaultValue.cycle)}}}()),peekWidgetDefaultFocus:ga(new k(68,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[l.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),l.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:l.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:ga(new D(69,"definitionLinkOpensInPeek",!1,{description:l.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ga(new class extends L{constructor(){const N={other:!0,comments:!1,strings:!1};super(70,"quickSuggestions",N,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:N.strings,description:l.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:N.comments,description:l.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:N.other,description:l.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:N,description:l.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=N}validate(N){if("boolean"==typeof N)return N;if(N&&"object"==typeof N){const V=N,ma={other:D.boolean(V.other,this.defaultValue.other),comments:D.boolean(V.comments,this.defaultValue.comments),strings:D.boolean(V.strings,this.defaultValue.strings)};return!!(ma.other&&ma.comments&&ma.strings)||!!(ma.other||ma.comments||ma.strings)&&ma}return this.defaultValue}}()),quickSuggestionsDelay:ga(new Q(71,"quickSuggestionsDelay",10,0,1073741824,{description:l.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ga(new D(72,"readOnly",!1)),renameOnType:ga(new D(73,"renameOnType",!1,{description:l.a("renameOnType","Controls whether the editor auto renames on type.")})),renderControlCharacters:ga(new D(74,"renderControlCharacters",!1,{description:l.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:ga(new D(75,"renderIndentGuides",!0,{description:l.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:ga(new D(76,"renderFinalNewline",!0,{description:l.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ga(new k(77,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",l.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:l.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ga(new D(78,"renderLineHighlightOnlyWhenFocus",!1,{description:l.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused")})),renderValidationDecorations:ga(new k(79,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ga(new k(80,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",l.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),l.a("renderWhitespace.selection","Render whitespace characters only on selected text."),l.a("renderWhitespace.trailing","Render only trailing whitespace characters"),""],description:l.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ga(new Q(81,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:ga(new D(82,"roundedSelection",!0,{description:l.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ga(new class extends L{constructor(){const N=[],V={type:"number",description:l.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(83,"rulers",N,{type:"array",items:{anyOf:[V,{type:["object"],properties:{column:V,color:{type:"string",description:l.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:N,description:l.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(N){if(Array.isArray(N)){let V=[];for(let ma of N)if("number"==typeof ma)V.push({column:Q.clampedInt(ma,0,0,1e4),color:null});else if(ma&&"object"==typeof ma){const ta=ma;V.push({column:Q.clampedInt(ta.column,0,0,1e4),color:ta.color})}return V.sort((ma,ta)=>ma.column-ta.column),V}return this.defaultValue}}()),scrollbar:ga(new class extends L{constructor(){super(84,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})}validate(N){if(!N||"object"!=typeof N)return this.defaultValue;const V=N,ma=Q.clampedInt(V.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),ta=Q.clampedInt(V.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Q.clampedInt(V.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Z(V.vertical,this.defaultValue.vertical),horizontal:Z(V.horizontal,this.defaultValue.horizontal),useShadows:D.boolean(V.useShadows,this.defaultValue.useShadows),verticalHasArrows:D.boolean(V.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:D.boolean(V.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:D.boolean(V.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:D.boolean(V.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:ma,horizontalSliderSize:Q.clampedInt(V.horizontalSliderSize,ma,0,1e3),verticalScrollbarSize:ta,verticalSliderSize:Q.clampedInt(V.verticalSliderSize,ta,0,1e3)}}}()),scrollBeyondLastColumn:ga(new Q(85,"scrollBeyondLastColumn",5,0,1073741824,{description:l.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ga(new D(86,"scrollBeyondLastLine",!0,{description:l.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ga(new D(87,"scrollPredominantAxis",!0,{description:l.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ga(new D(88,"selectionClipboard",!0,{description:l.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:q.d})),selectionHighlight:ga(new D(89,"selectionHighlight",!0,{description:l.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ga(new D(90,"selectOnLineNumbers",!0)),showFoldingControls:ga(new k(91,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[l.a("showFoldingControls.always","Always show the folding controls."),l.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:l.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ga(new D(92,"showUnused",!0,{description:l.a("showUnused","Controls fading out of unused code.")})),showDeprecated:ga(new D(113,"showDeprecated",!0,{description:l.a("showDeprecated","Controls strikethrough deprecated variables.")})),snippetSuggestions:ga(new k(93,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[l.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),l.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),l.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),l.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:l.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:ga(new D(94,"smoothScrolling",!1,{description:l.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ga(new Q(95,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ga(new class extends L{constructor(){const N={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0,statusBar:{visible:!1}};super(96,"suggest",N,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[l.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),l.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:N.insertMode,description:l.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:N.filterGraceful,description:l.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:N.localityBonus,description:l.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:N.shareSuggestSelections,markdownDescription:l.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:N.snippetsPreventQuickSuggestions,description:l.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:N.showIcons,description:l.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:N.maxVisibleSuggestions,minimum:1,maximum:15,description:l.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:l.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:l.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")},"editor.suggest.statusBar.visible":{type:"boolean",default:!1,markdownDescription:l.a("editor.suggest.statusBar.visible","Controls the visibility of the status bar at the bottom of the suggest widget.")}})}validate(N){var V;if(!N||"object"!=typeof N)return this.defaultValue;const ma=N;return{insertMode:k.stringSet(ma.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:D.boolean(ma.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:D.boolean(ma.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:D.boolean(ma.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:D.boolean(ma.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:D.boolean(ma.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:Q.clampedInt(ma.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:D.boolean(ma.showMethods,this.defaultValue.showMethods),showFunctions:D.boolean(ma.showFunctions,this.defaultValue.showFunctions),showConstructors:D.boolean(ma.showConstructors,this.defaultValue.showConstructors),showFields:D.boolean(ma.showFields,this.defaultValue.showFields),showVariables:D.boolean(ma.showVariables,this.defaultValue.showVariables),showClasses:D.boolean(ma.showClasses,this.defaultValue.showClasses),showStructs:D.boolean(ma.showStructs,this.defaultValue.showStructs),showInterfaces:D.boolean(ma.showInterfaces,this.defaultValue.showInterfaces),showModules:D.boolean(ma.showModules,this.defaultValue.showModules),showProperties:D.boolean(ma.showProperties,this.defaultValue.showProperties),showEvents:D.boolean(ma.showEvents,this.defaultValue.showEvents),showOperators:D.boolean(ma.showOperators,this.defaultValue.showOperators),showUnits:D.boolean(ma.showUnits,this.defaultValue.showUnits),showValues:D.boolean(ma.showValues,this.defaultValue.showValues),showConstants:D.boolean(ma.showConstants,this.defaultValue.showConstants),showEnums:D.boolean(ma.showEnums,this.defaultValue.showEnums),showEnumMembers:D.boolean(ma.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:D.boolean(ma.showKeywords,this.defaultValue.showKeywords),showWords:D.boolean(ma.showWords,this.defaultValue.showWords),showColors:D.boolean(ma.showColors,this.defaultValue.showColors),showFiles:D.boolean(ma.showFiles,this.defaultValue.showFiles),showReferences:D.boolean(ma.showReferences,this.defaultValue.showReferences),showFolders:D.boolean(ma.showFolders,this.defaultValue.showFolders),showTypeParameters:D.boolean(ma.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:D.boolean(ma.showSnippets,this.defaultValue.showSnippets),showUsers:D.boolean(ma.showUsers,this.defaultValue.showUsers),showIssues:D.boolean(ma.showIssues,this.defaultValue.showIssues),statusBar:{visible:D.boolean(null===(V=ma.statusBar)||void 0===V?void 0:V.visible,!!this.defaultValue.statusBar.visible)}}}}()),suggestFontSize:ga(new Q(97,"suggestFontSize",0,0,1e3,{markdownDescription:l.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:ga(new Q(98,"suggestLineHeight",0,0,1e3,{markdownDescription:l.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:ga(new D(99,"suggestOnTriggerCharacters",!0,{description:l.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ga(new k(100,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[l.a("suggestSelection.first","Always select the first suggestion."),l.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),l.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:l.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ga(new k(101,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[l.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),l.a("tabCompletion.off","Disable tab completions."),l.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:l.a("tabCompletion","Enables tab completions.")})),tabIndex:ga(new Q(102,"tabIndex",0,-1,1073741824)),unusualLineTerminators:ga(new k(103,"unusualLineTerminators","prompt",["off","prompt","auto"],{enumDescriptions:[l.a("unusualLineTerminators.off","Unusual line terminators are ignored."),l.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed."),l.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed.")],description:l.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useTabStops:ga(new D(104,"useTabStops",!0,{description:l.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:ga(new C(105,"wordSeparators",y.b,{description:l.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ga(new k(106,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[l.a("wordWrap.off","Lines will never wrap."),l.a("wordWrap.on","Lines will wrap at the viewport width."),l.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),l.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:l.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ga(new C(107,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ga(new C(108,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ga(new Q(109,"wordWrapColumn",80,1,1073741824,{markdownDescription:l.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:ga(new D(110,"wordWrapMinified",!0)),wrappingIndent:ga(new w(111,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],function(N){switch(N){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}},{enumDescriptions:[l.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),l.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),l.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),l.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:l.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:ga(new k(112,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[l.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),l.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:l.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:ga(new class extends s{constructor(){super(114,[57,27])}compute(N,V,ma){const ta=["monaco-editor"];return V.get(27)&&ta.push(V.get(27)),N.extraEditorClassName&&ta.push(N.extraEditorClassName),"default"===V.get(57)?ta.push("mouse-default"):"copy"===V.get(57)&&ta.push("mouse-copy"),V.get(92)&&ta.push("showUnused"),V.get(113)&&ta.push("showDeprecated"),ta.join(" ")}}()),pixelRatio:ga(new class extends s{constructor(){super(115)}compute(N,V,ma){return N.pixelRatio}}()),tabFocusMode:ga(new class extends s{constructor(){super(116,[72])}compute(N,V,ma){return!!V.get(72)||N.tabFocusMode}}()),layoutInfo:ga(new U()),wrappingInfo:ga(new class extends s{constructor(){super(118,[117])}compute(N,V,ma){const ta=V.get(117);return{isDominatedByLongLines:N.isDominatedByLongLines,isWordWrapMinified:ta.isWordWrapMinified,isViewportWrapping:ta.isViewportWrapping,wrappingColumn:ta.wrappingColumn}}}())}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return R}),f.d(t,"a",function(){return L});var l=f(2),q=f(14),y=f(18),F=f(6),P=f(53),Y=f(37);const R=Object(y.c)("commandService"),L=new class{constructor(){this._commands=new Map(),this._onDidRegisterCommand=new F.a(),this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(s,z){if(!s)throw new Error("invalid command");if("string"==typeof s){if(!z)throw new Error("invalid command");return this.registerCommand({id:s,handler:z})}if(s.description){const k=[];for(let x of s.description.args)k.push(x.constraint);const w=s.handler;s.handler=function(x,...u){return Object(q.m)(u,k),w(x,...u)}}const{id:D}=s;let Q=this._commands.get(D);Q||(Q=new P.a(),this._commands.set(D,Q));let B=Q.unshift(s),C=Object(l.h)(()=>{B();const k=this._commands.get(D);(null==k?void 0:k.isEmpty())&&this._commands.delete(D)});return this._onDidRegisterCommand.fire(D),C}registerCommandAlias(s,z){return L.registerCommand(s,(D,...Q)=>D.get(R).executeCommand(z,...Q))}getCommand(s){const z=this._commands.get(s);if(z&&!z.isEmpty())return Y.a.first(z)}getCommands(){const s=new Map();for(const z of this._commands.keys()){const D=this.getCommand(z);D&&s.set(z,D)}return s}}()},function(Ga,t,f){"use strict";(function(l){f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P}),f.d(t,"c",function(){return Y});var q=f(11);const y=void 0===l?{cwd:()=>"/",env:Object.create(null),get platform(){return q.i?"win32":q.f?"darwin":"linux"},nextTick:R=>Object(q.j)(R)}:l,F=y.cwd,P=y.env,Y=y.platform}).call(this,f(86))},function(Ga,t,f){"use strict";var l=f(108);f.d(t,"a",function(){return l.b}),f.d(t,"b",function(){return l.e}),f.d(t,"c",function(){return l.f}),f.d(t,"d",function(){return l.h}),f.d(t,"e",function(){return l.l}),f.d(t,"f",function(){return l.m}),f.d(t,"g",function(){return l.n})},function(Ga,t,f){"use strict";f.d(t,"b",function(){return wd}),f.d(t,"a",function(){return Qd});var l=f(13),q=f(6),y=f(2),F=f(8),P=f(23),Y=f(26),R=f(9),L=f(3),s=f(21),z=f(58),D=f(175);class Q{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function B(K,W,ia,Ha,Ta){let db;for(Ta.spacesDiff=0,Ta.looksLikeAlignment=!1,db=0;db<W&&db<Ha;db++)if(K.charCodeAt(db)!==ia.charCodeAt(db))break;let yb=0,Bb=0;for(let pc=db;pc<W;pc++)32===K.charCodeAt(pc)?yb++:Bb++;let Jb=0,xb=0;for(let pc=db;pc<Ha;pc++)32===ia.charCodeAt(pc)?Jb++:xb++;if(yb>0&&Bb>0)return;if(Jb>0&&xb>0)return;let Lb=Math.abs(Bb-xb),Ub=Math.abs(yb-Jb);if(0===Lb)return Ta.spacesDiff=Ub,void(Ub>0&&0<=Jb-1&&Jb-1<K.length&&Jb<ia.length&&32!==ia.charCodeAt(Jb)&&32===K.charCodeAt(Jb-1)&&44===K.charCodeAt(K.length-1)&&(Ta.looksLikeAlignment=!0));Ub%Lb!=0||(Ta.spacesDiff=Ub/Lb)}function C(K,W,ia){const Ha=Math.min(K.getLineCount(),1e4);let Ta=0,db=0,yb="",Bb=0;const Jb=[2,4,6,8,3,5,7];let xb=[0,0,0,0,0,0,0,0,0],Lb=new Q();for(let yc=1;yc<=Ha;yc++){let Ec=K.getLineLength(yc),X=K.getLineContent(yc);const xa=Ec<=65536;let qa=!1,mb=0,ub=0,Rb=0;for(let Xb=0,wa=Ec;Xb<wa;Xb++){let fa=xa?X.charCodeAt(Xb):K.getLineCharCode(yc,Xb);if(9===fa)Rb++;else{if(32!==fa){qa=!0,mb=Xb;break}ub++}}if(!qa)continue;if(Rb>0?Ta++:ub>1&&db++,B(yb,Bb,X,mb,Lb),Lb.looksLikeAlignment&&(!ia||W!==Lb.spacesDiff))continue;let jc=Lb.spacesDiff;jc<=8&&xb[jc]++,yb=X,Bb=mb}let Ub=ia;Ta!==db&&(Ub=Ta<db);let pc=W;if(Ub){let yc=Ub?0:.1*Ha;Jb.forEach(Ec=>{let X=xb[Ec];X>yc&&(yc=X,pc=Ec)}),4===pc&&xb[4]>0&&xb[2]>0&&xb[2]>=xb[4]/2&&(pc=2)}return{insertSpaces:Ub,tabSize:pc}}function k(K){return(1&K.metadata)>>>0}function w(K,W){K.metadata=254&K.metadata|W<<0}function x(K){return(2&K.metadata)>>>1==1}function u(K,W){K.metadata=253&K.metadata|(W?1:0)<<1}function A(K){return(4&K.metadata)>>>2==1}function U(K,W){K.metadata=251&K.metadata|(W?1:0)<<2}function da(K){return(8&K.metadata)>>>3==1}function Z(K,W){K.metadata=247&K.metadata|(W?1:0)<<3}function H(K,W){K.metadata=207&K.metadata|W<<4}function ea(K,W){K.metadata=191&K.metadata|(W?1:0)<<6}class oa{constructor(K,W,ia){this.metadata=0,this.parent=this,this.left=this,this.right=this,w(this,1),this.start=W,this.end=ia,this.delta=0,this.maxEnd=ia,this.id=K,this.ownerId=0,this.options=null,U(this,!1),H(this,1),Z(this,!1),ea(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=ia,this.range=null,u(this,!1)}reset(K,W,ia,Ha){this.start=W,this.end=ia,this.maxEnd=ia,this.cachedVersionId=K,this.cachedAbsoluteStart=W,this.cachedAbsoluteEnd=ia,this.range=Ha}setOptions(K){this.options=K;let W=this.options.className;U(this,"squiggly-error"===W||"squiggly-warning"===W||"squiggly-info"===W),H(this,this.options.stickiness),Z(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),ea(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(K,W,ia){this.cachedVersionId!==ia&&(this.range=null),this.cachedVersionId=ia,this.cachedAbsoluteStart=K,this.cachedAbsoluteEnd=W}detach(){this.parent=null,this.left=null,this.right=null}}const ga=new oa(null,0,0);ga.parent=ga,ga.left=ga,ga.right=ga,w(ga,0);class Ba{constructor(){this.root=ga,this.requestNormalizeDelta=!1}intervalSearch(K,W,ia,Ha,Ta){return this.root===ga?[]:function(db,yb,Bb,Jb,xb,Lb){let Ub=db.root,pc=0,yc=0,Ec=0,X=0,xa=[],qa=0;for(;Ub!==ga;)if(x(Ub))u(Ub.left,!1),u(Ub.right,!1),Ub===Ub.parent.right&&(pc-=Ub.parent.delta),Ub=Ub.parent;else{if(!x(Ub.left)){if(yc=pc+Ub.maxEnd,yc<yb){u(Ub,!0);continue}if(Ub.left!==ga){Ub=Ub.left;continue}}if(Ec=pc+Ub.start,Ec>Bb)u(Ub,!0);else{if(X=pc+Ub.end,X>=yb){Ub.setCachedOffsets(Ec,X,Lb);let mb=!0;Jb&&Ub.ownerId&&Ub.ownerId!==Jb&&(mb=!1),xb&&A(Ub)&&(mb=!1),mb&&(xa[qa++]=Ub)}u(Ub,!0),Ub.right===ga||x(Ub.right)||(pc+=Ub.delta,Ub=Ub.right)}}return u(db.root,!1),xa}(this,K,W,ia,Ha,Ta)}search(K,W,ia){return this.root===ga?[]:function(Ha,Ta,db,yb){let Bb=Ha.root,Jb=0,xb=0,Lb=0,Ub=[],pc=0;for(;Bb!==ga;){if(x(Bb)){u(Bb.left,!1),u(Bb.right,!1),Bb===Bb.parent.right&&(Jb-=Bb.parent.delta),Bb=Bb.parent;continue}if(Bb.left!==ga&&!x(Bb.left)){Bb=Bb.left;continue}xb=Jb+Bb.start,Lb=Jb+Bb.end,Bb.setCachedOffsets(xb,Lb,yb);let yc=!0;Ta&&Bb.ownerId&&Bb.ownerId!==Ta&&(yc=!1),db&&A(Bb)&&(yc=!1),yc&&(Ub[pc++]=Bb),u(Bb,!0),Bb.right===ga||x(Bb.right)||(Jb+=Bb.delta,Bb=Bb.right)}return u(Ha.root,!1),Ub}(this,K,W,ia)}collectNodesFromOwner(K){return function(W,ia){let Ha=W.root,Ta=[],db=0;for(;Ha!==ga;)x(Ha)?(u(Ha.left,!1),u(Ha.right,!1),Ha=Ha.parent):Ha.left===ga||x(Ha.left)?(Ha.ownerId===ia&&(Ta[db++]=Ha),u(Ha,!0),Ha.right===ga||x(Ha.right)||(Ha=Ha.right)):Ha=Ha.left;return u(W.root,!1),Ta}(this,K)}collectNodesPostOrder(){return function(K){let W=K.root,ia=[],Ha=0;for(;W!==ga;)x(W)?(u(W.left,!1),u(W.right,!1),W=W.parent):W.left===ga||x(W.left)?W.right===ga||x(W.right)?(ia[Ha++]=W,u(W,!0)):W=W.right:W=W.left;return u(K.root,!1),ia}(this)}insert(K){ma(this,K),this._normalizeDeltaIfNecessary()}delete(K){ta(this,K),this._normalizeDeltaIfNecessary()}resolveNode(K,W){const ia=K;let Ha=0;for(;K!==this.root;)K===K.parent.right&&(Ha+=K.parent.delta),K=K.parent;const Ta=ia.start+Ha,db=ia.end+Ha;ia.setCachedOffsets(Ta,db,W)}acceptReplace(K,W,ia,Ha){const Ta=function(db,yb,Bb){let Jb=db.root,xb=0,Lb=0,Ub=0,pc=0,yc=[],Ec=0;for(;Jb!==ga;)if(x(Jb))u(Jb.left,!1),u(Jb.right,!1),Jb===Jb.parent.right&&(xb-=Jb.parent.delta),Jb=Jb.parent;else{if(!x(Jb.left)){if(Lb=xb+Jb.maxEnd,Lb<yb){u(Jb,!0);continue}if(Jb.left!==ga){Jb=Jb.left;continue}}Ub=xb+Jb.start,Ub>Bb?u(Jb,!0):(pc=xb+Jb.end,pc>=yb&&(Jb.setCachedOffsets(Ub,pc,0),yc[Ec++]=Jb),u(Jb,!0),Jb.right===ga||x(Jb.right)||(xb+=Jb.delta,Jb=Jb.right))}return u(db.root,!1),yc}(this,K,K+W);for(let db=0,yb=Ta.length;db<yb;db++)ta(this,Ta[db]);this._normalizeDeltaIfNecessary(),function(db,yb,Bb,Jb){let xb=db.root,Lb=0,Ub=0,pc=0;const yc=Jb-(Bb-yb);for(;xb!==ga;)if(x(xb))u(xb.left,!1),u(xb.right,!1),xb===xb.parent.right&&(Lb-=xb.parent.delta),_a(xb),xb=xb.parent;else{if(!x(xb.left)){if(Ub=Lb+xb.maxEnd,Ub<yb){u(xb,!0);continue}if(xb.left!==ga){xb=xb.left;continue}}pc=Lb+xb.start,pc>Bb?(xb.start+=yc,xb.end+=yc,xb.delta+=yc,(xb.delta<-1073741824||xb.delta>1073741824)&&(db.requestNormalizeDelta=!0),u(xb,!0)):(u(xb,!0),xb.right===ga||x(xb.right)||(Lb+=xb.delta,xb=xb.right))}u(db.root,!1)}(this,K,K+W,ia),this._normalizeDeltaIfNecessary();for(let db=0,yb=Ta.length;db<yb;db++){const Bb=Ta[db];Bb.start=Bb.cachedAbsoluteStart,Bb.end=Bb.cachedAbsoluteEnd,V(Bb,K,K+W,ia,Ha),Bb.maxEnd=Bb.end,ma(this,Bb)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(K){let W=K.root,ia=0;for(;W!==ga;)W.left===ga||x(W.left)?W.right===ga||x(W.right)?(W.start=ia+W.start,W.end=ia+W.end,W.delta=0,_a(W),u(W,!0),u(W.left,!1),u(W.right,!1),W===W.parent.right&&(ia-=W.parent.delta),W=W.parent):(ia+=W.delta,W=W.right):W=W.left;u(K.root,!1)}(this))}}function N(K,W,ia,Ha){return K<ia||!(K>ia)&&(1!==Ha&&(2===Ha||W))}function V(K,W,ia,Ha,Ta){const db=function(xa){return(48&xa.metadata)>>>4}(K),yb=0===db||2===db,Bb=1===db||2===db,Jb=ia-W,xb=Ha,Lb=Math.min(Jb,xb),Ub=K.start;let pc=!1;const yc=K.end;let Ec=!1;W<=Ub&&yc<=ia&&function(xa){return(64&xa.metadata)>>>6==1}(K)&&(K.start=W,pc=!0,K.end=W,Ec=!0);{const xa=Ta?1:Jb>0?2:0;!pc&&N(Ub,yb,W,xa)&&(pc=!0),!Ec&&N(yc,Bb,W,xa)&&(Ec=!0)}if(Lb>0&&!Ta){const xa=Jb>xb?2:0;!pc&&N(Ub,yb,W+Lb,xa)&&(pc=!0),!Ec&&N(yc,Bb,W+Lb,xa)&&(Ec=!0)}{const xa=Ta?1:0;!pc&&N(Ub,yb,ia,xa)&&(K.start=W+xb,pc=!0),!Ec&&N(yc,Bb,ia,xa)&&(K.end=W+xb,Ec=!0)}const X=xb-Jb;pc||(K.start=Math.max(0,Ub+X)),Ec||(K.end=Math.max(0,yc+X)),K.start>K.end&&(K.end=K.start)}function ma(K,W){if(K.root===ga)return W.parent=ga,W.left=ga,W.right=ga,w(W,0),K.root=W,K.root;!function(Ha,Ta){let db=0,yb=Ha.root;const Bb=Ta.start,Jb=Ta.end;for(;;)if(za(Bb,Jb,yb.start+db,yb.end+db)<0){if(yb.left===ga){Ta.start-=db,Ta.end-=db,Ta.maxEnd-=db,yb.left=Ta;break}yb=yb.left}else{if(yb.right===ga){Ta.start-=db+yb.delta,Ta.end-=db+yb.delta,Ta.maxEnd-=db+yb.delta,yb.right=Ta;break}db+=yb.delta,yb=yb.right}Ta.parent=yb,Ta.left=ga,Ta.right=ga,w(Ta,1)}(K,W),fb(W.parent);let ia=W;for(;ia!==K.root&&1===k(ia.parent);)if(ia.parent===ia.parent.parent.left){const Ha=ia.parent.parent.right;1===k(Ha)?(w(ia.parent,0),w(Ha,0),w(ia.parent.parent,1),ia=ia.parent.parent):(ia===ia.parent.right&&(ia=ia.parent,Ka(K,ia)),w(ia.parent,0),w(ia.parent.parent,1),G(K,ia.parent.parent))}else{const Ha=ia.parent.parent.left;1===k(Ha)?(w(ia.parent,0),w(Ha,0),w(ia.parent.parent,1),ia=ia.parent.parent):(ia===ia.parent.left&&(ia=ia.parent,G(K,ia)),w(ia.parent,0),w(ia.parent.parent,1),Ka(K,ia.parent.parent))}return w(K.root,0),W}function ta(K,W){let ia,Ha;if(W.left===ga?(ia=W.right,Ha=W,ia.delta+=W.delta,(ia.delta<-1073741824||ia.delta>1073741824)&&(K.requestNormalizeDelta=!0),ia.start+=W.delta,ia.end+=W.delta):W.right===ga?(ia=W.left,Ha=W):(Ha=function(yb){for(;yb.left!==ga;)yb=yb.left;return yb}(W.right),ia=Ha.right,ia.start+=Ha.delta,ia.end+=Ha.delta,ia.delta+=Ha.delta,(ia.delta<-1073741824||ia.delta>1073741824)&&(K.requestNormalizeDelta=!0),Ha.start+=W.delta,Ha.end+=W.delta,Ha.delta=W.delta,(Ha.delta<-1073741824||Ha.delta>1073741824)&&(K.requestNormalizeDelta=!0)),Ha===K.root)return K.root=ia,w(ia,0),W.detach(),Da(),_a(ia),void(K.root.parent=ga);let Ta,db=1===k(Ha);if(Ha===Ha.parent.left?Ha.parent.left=ia:Ha.parent.right=ia,Ha===W?ia.parent=Ha.parent:(Ha.parent===W?ia.parent=Ha:ia.parent=Ha.parent,Ha.left=W.left,Ha.right=W.right,Ha.parent=W.parent,w(Ha,k(W)),W===K.root?K.root=Ha:W===W.parent.left?W.parent.left=Ha:W.parent.right=Ha,Ha.left!==ga&&(Ha.left.parent=Ha),Ha.right!==ga&&(Ha.right.parent=Ha)),W.detach(),db)return fb(ia.parent),Ha!==W&&(fb(Ha),fb(Ha.parent)),void Da();for(fb(ia),fb(ia.parent),Ha!==W&&(fb(Ha),fb(Ha.parent));ia!==K.root&&0===k(ia);)ia===ia.parent.left?(Ta=ia.parent.right,1===k(Ta)&&(w(Ta,0),w(ia.parent,1),Ka(K,ia.parent),Ta=ia.parent.right),0===k(Ta.left)&&0===k(Ta.right)?(w(Ta,1),ia=ia.parent):(0===k(Ta.right)&&(w(Ta.left,0),w(Ta,1),G(K,Ta),Ta=ia.parent.right),w(Ta,k(ia.parent)),w(ia.parent,0),w(Ta.right,0),Ka(K,ia.parent),ia=K.root)):(Ta=ia.parent.left,1===k(Ta)&&(w(Ta,0),w(ia.parent,1),G(K,ia.parent),Ta=ia.parent.left),0===k(Ta.left)&&0===k(Ta.right)?(w(Ta,1),ia=ia.parent):(0===k(Ta.left)&&(w(Ta.right,0),w(Ta,1),Ka(K,Ta),Ta=ia.parent.left),w(Ta,k(ia.parent)),w(ia.parent,0),w(Ta.left,0),G(K,ia.parent),ia=K.root));w(ia,0),Da()}function Da(){ga.parent=ga,ga.delta=0,ga.start=0,ga.end=0}function Ka(K,W){const ia=W.right;ia.delta+=W.delta,(ia.delta<-1073741824||ia.delta>1073741824)&&(K.requestNormalizeDelta=!0),ia.start+=W.delta,ia.end+=W.delta,W.right=ia.left,ia.left!==ga&&(ia.left.parent=W),ia.parent=W.parent,W.parent===ga?K.root=ia:W===W.parent.left?W.parent.left=ia:W.parent.right=ia,ia.left=W,W.parent=ia,_a(W),_a(ia)}function G(K,W){const ia=W.left;W.delta-=ia.delta,(W.delta<-1073741824||W.delta>1073741824)&&(K.requestNormalizeDelta=!0),W.start-=ia.delta,W.end-=ia.delta,W.left=ia.right,ia.right!==ga&&(ia.right.parent=W),ia.parent=W.parent,W.parent===ga?K.root=ia:W===W.parent.right?W.parent.right=ia:W.parent.left=ia,ia.right=W,W.parent=ia,_a(W),_a(ia)}function hb(K){let W=K.end;if(K.left!==ga){const ia=K.left.maxEnd;ia>W&&(W=ia)}if(K.right!==ga){const ia=K.right.maxEnd+K.delta;ia>W&&(W=ia)}return W}function _a(K){K.maxEnd=hb(K)}function fb(K){for(;K!==ga;){const W=hb(K);if(K.maxEnd===W)return;K.maxEnd=W,K=K.parent}}function za(K,W,ia,Ha){return K===ia?W-Ha:K-ia}class ua{constructor(K,W){this.piece=K,this.color=W,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==ba)return $(this.right);let K=this;for(;K.parent!==ba&&K.parent.left!==K;)K=K.parent;return K.parent===ba?ba:K.parent}prev(){if(this.left!==ba)return S(this.left);let K=this;for(;K.parent!==ba&&K.parent.right!==K;)K=K.parent;return K.parent===ba?ba:K.parent}detach(){this.parent=null,this.left=null,this.right=null}}const ba=new ua(null,0);function $(K){for(;K.left!==ba;)K=K.left;return K}function S(K){for(;K.right!==ba;)K=K.right;return K}function aa(K){return K===ba?0:K.size_left+K.piece.length+aa(K.right)}function _(K){return K===ba?0:K.lf_left+K.piece.lineFeedCnt+_(K.right)}function I(){ba.parent=ba}function ka(K,W){let ia=W.right;ia.size_left+=W.size_left+(W.piece?W.piece.length:0),ia.lf_left+=W.lf_left+(W.piece?W.piece.lineFeedCnt:0),W.right=ia.left,ia.left!==ba&&(ia.left.parent=W),ia.parent=W.parent,W.parent===ba?K.root=ia:W.parent.left===W?W.parent.left=ia:W.parent.right=ia,ia.left=W,W.parent=ia}function va(K,W){let ia=W.left;W.left=ia.right,ia.right!==ba&&(ia.right.parent=W),ia.parent=W.parent,W.size_left-=ia.size_left+(ia.piece?ia.piece.length:0),W.lf_left-=ia.lf_left+(ia.piece?ia.piece.lineFeedCnt:0),W.parent===ba?K.root=ia:W===W.parent.right?W.parent.right=ia:W.parent.left=ia,ia.right=W,W.parent=ia}function La(K,W){let ia,Ha;if(W.left===ba?(Ha=W,ia=Ha.right):W.right===ba?(Ha=W,ia=Ha.left):(Ha=$(W.right),ia=Ha.right),Ha===K.root)return K.root=ia,ia.color=0,W.detach(),I(),void(K.root.parent=ba);let Ta,db=1===Ha.color;if(Ha===Ha.parent.left?Ha.parent.left=ia:Ha.parent.right=ia,Ha===W?(ia.parent=Ha.parent,gb(K,ia)):(Ha.parent===W?ia.parent=Ha:ia.parent=Ha.parent,gb(K,ia),Ha.left=W.left,Ha.right=W.right,Ha.parent=W.parent,Ha.color=W.color,W===K.root?K.root=Ha:W===W.parent.left?W.parent.left=Ha:W.parent.right=Ha,Ha.left!==ba&&(Ha.left.parent=Ha),Ha.right!==ba&&(Ha.right.parent=Ha),Ha.size_left=W.size_left,Ha.lf_left=W.lf_left,gb(K,Ha)),W.detach(),ia.parent.left===ia){let yb=aa(ia),Bb=_(ia);if(yb!==ia.parent.size_left||Bb!==ia.parent.lf_left){let Jb=yb-ia.parent.size_left,xb=Bb-ia.parent.lf_left;ia.parent.size_left=yb,ia.parent.lf_left=Bb,Ab(K,ia.parent,Jb,xb)}}if(gb(K,ia.parent),db)I();else{for(;ia!==K.root&&0===ia.color;)ia===ia.parent.left?(Ta=ia.parent.right,1===Ta.color&&(Ta.color=0,ia.parent.color=1,ka(K,ia.parent),Ta=ia.parent.right),0===Ta.left.color&&0===Ta.right.color?(Ta.color=1,ia=ia.parent):(0===Ta.right.color&&(Ta.left.color=0,Ta.color=1,va(K,Ta),Ta=ia.parent.right),Ta.color=ia.parent.color,ia.parent.color=0,Ta.right.color=0,ka(K,ia.parent),ia=K.root)):(Ta=ia.parent.left,1===Ta.color&&(Ta.color=0,ia.parent.color=1,va(K,ia.parent),Ta=ia.parent.left),0===Ta.left.color&&0===Ta.right.color?(Ta.color=1,ia=ia.parent):(0===Ta.left.color&&(Ta.right.color=0,Ta.color=1,ka(K,Ta),Ta=ia.parent.left),Ta.color=ia.parent.color,ia.parent.color=0,Ta.left.color=0,va(K,ia.parent),ia=K.root));ia.color=0,I()}}function $a(K,W){for(gb(K,W);W!==K.root&&1===W.parent.color;)if(W.parent===W.parent.parent.left){const ia=W.parent.parent.right;1===ia.color?(W.parent.color=0,ia.color=0,W.parent.parent.color=1,W=W.parent.parent):(W===W.parent.right&&ka(K,W=W.parent),W.parent.color=0,W.parent.parent.color=1,va(K,W.parent.parent))}else{const ia=W.parent.parent.left;1===ia.color?(W.parent.color=0,ia.color=0,W.parent.parent.color=1,W=W.parent.parent):(W===W.parent.left&&va(K,W=W.parent),W.parent.color=0,W.parent.parent.color=1,ka(K,W.parent.parent))}K.root.color=0}function Ab(K,W,ia,Ha){for(;W!==K.root&&W!==ba;)W.parent.left===W&&(W.parent.size_left+=ia,W.parent.lf_left+=Ha),W=W.parent}function gb(K,W){let ia=0,Ha=0;if(W!==K.root){if(0===ia){for(;W!==K.root&&W===W.parent.right;)W=W.parent;if(W===K.root)return;ia=aa((W=W.parent).left)-W.size_left,Ha=_(W.left)-W.lf_left,W.size_left+=ia,W.lf_left+=Ha}for(;W!==K.root&&(0!==ia||0!==Ha);)W.parent.left===W&&(W.parent.size_left+=ia,W.parent.lf_left+=Ha),W=W.parent}}ba.parent=ba,ba.left=ba,ba.right=ba,ba.color=0;var Fb=f(106);function wb(K){let W;return W=K[K.length-1]<65536?new Uint16Array(K.length):new Uint32Array(K.length),W.set(K,0),W}class tc{constructor(K,W,ia,Ha,Ta){this.lineStarts=K,this.cr=W,this.lf=ia,this.crlf=Ha,this.isBasicASCII=Ta}}function rb(K,W=!0){let ia=[0],Ha=1;for(let Ta=0,db=K.length;Ta<db;Ta++){const yb=K.charCodeAt(Ta);13===yb?Ta+1<db&&10===K.charCodeAt(Ta+1)?(ia[Ha++]=Ta+2,Ta++):ia[Ha++]=Ta+1:10===yb&&(ia[Ha++]=Ta+1)}return W?wb(ia):ia}class wc{constructor(K,W,ia,Ha,Ta){this.bufferIndex=K,this.start=W,this.end=ia,this.lineFeedCnt=Ha,this.length=Ta}}class vc{constructor(K,W){this.buffer=K,this.lineStarts=W}}class cb{constructor(K,W){this._pieces=[],this._tree=K,this._BOM=W,this._index=0,K.root!==ba&&K.iterate(K.root,ia=>(ia!==ba&&this._pieces.push(ia.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class Ob{constructor(K){this._limit=K,this._cache=[]}get(K){for(let W=this._cache.length-1;W>=0;W--){let ia=this._cache[W];if(ia.nodeStartOffset<=K&&ia.nodeStartOffset+ia.node.piece.length>=K)return ia}return null}get2(K){for(let W=this._cache.length-1;W>=0;W--){let ia=this._cache[W];if(ia.nodeStartLineNumber&&ia.nodeStartLineNumber<K&&ia.nodeStartLineNumber+ia.node.piece.lineFeedCnt>=K)return ia}return null}set(K){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(K)}validate(K){let W=!1,ia=this._cache;for(let Ha=0;Ha<ia.length;Ha++){let Ta=ia[Ha];(null===Ta.node.parent||Ta.nodeStartOffset>=K)&&(ia[Ha]=null,W=!0)}if(W){let Ha=[];for(const Ta of ia)null!==Ta&&Ha.push(Ta);this._cache=Ha}}}class uc{constructor(K,W,ia){this.create(K,W,ia)}create(K,W,ia){this._buffers=[new vc("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=ba,this._lineCnt=1,this._length=0,this._EOL=W,this._EOLLength=W.length,this._EOLNormalized=ia;let Ha=null;for(let Ta=0,db=K.length;Ta<db;Ta++)if(K[Ta].buffer.length>0){K[Ta].lineStarts||(K[Ta].lineStarts=rb(K[Ta].buffer));let yb=new wc(Ta+1,{line:0,column:0},{line:K[Ta].lineStarts.length-1,column:K[Ta].buffer.length-K[Ta].lineStarts[K[Ta].lineStarts.length-1]},K[Ta].lineStarts.length-1,K[Ta].buffer.length);this._buffers.push(K[Ta]),Ha=this.rbInsertRight(Ha,yb)}this._searchCache=new Ob(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(K){let W=65535-Math.floor(21845),ia=2*W,Ha="",Ta=0,db=[];if(this.iterate(this.root,yb=>{let Bb=this.getNodeContent(yb),Jb=Bb.length;if(Ta<=W||Ta+Jb<ia)return Ha+=Bb,Ta+=Jb,!0;let xb=Ha.replace(/\r\n|\r|\n/g,K);return db.push(new vc(xb,rb(xb))),Ha=Bb,Ta=Jb,!0}),Ta>0){let yb=Ha.replace(/\r\n|\r|\n/g,K);db.push(new vc(yb,rb(yb)))}this.create(db,K,!0)}getEOL(){return this._EOL}setEOL(K){this._EOL=K,this._EOLLength=this._EOL.length,this.normalizeEOL(K)}createSnapshot(K){return new cb(this,K)}getOffsetAt(K,W){let ia=0,Ha=this.root;for(;Ha!==ba;)if(Ha.left!==ba&&Ha.lf_left+1>=K)Ha=Ha.left;else{if(Ha.lf_left+Ha.piece.lineFeedCnt+1>=K)return ia+=Ha.size_left,ia+(this.getAccumulatedValue(Ha,K-Ha.lf_left-2)+W-1);K-=Ha.lf_left+Ha.piece.lineFeedCnt,ia+=Ha.size_left+Ha.piece.length,Ha=Ha.right}return ia}getPositionAt(K){K=Math.floor(K),K=Math.max(0,K);let W=this.root,ia=0,Ha=K;for(;W!==ba;)if(0!==W.size_left&&W.size_left>=K)W=W.left;else{if(W.size_left+W.piece.length>=K){let Ta=this.getIndexOf(W,K-W.size_left);if(ia+=W.lf_left+Ta.index,0===Ta.index){let db=Ha-this.getOffsetAt(ia+1,1);return new R.a(ia+1,db+1)}return new R.a(ia+1,Ta.remainder+1)}if(K-=W.size_left+W.piece.length,ia+=W.lf_left+W.piece.lineFeedCnt,W.right===ba){let Ta=Ha-K-this.getOffsetAt(ia+1,1);return new R.a(ia+1,Ta+1)}W=W.right}return new R.a(1,1)}getValueInRange(K,W){if(K.startLineNumber===K.endLineNumber&&K.startColumn===K.endColumn)return"";let ia=this.nodeAt2(K.startLineNumber,K.startColumn),Ha=this.nodeAt2(K.endLineNumber,K.endColumn),Ta=this.getValueInRange2(ia,Ha);return W?W===this._EOL&&this._EOLNormalized&&W===this.getEOL()&&this._EOLNormalized?Ta:Ta.replace(/\r\n|\r|\n/g,W):Ta}getValueInRange2(K,W){if(K.node===W.node){let yb=K.node,Bb=this._buffers[yb.piece.bufferIndex].buffer,Jb=this.offsetInBuffer(yb.piece.bufferIndex,yb.piece.start);return Bb.substring(Jb+K.remainder,Jb+W.remainder)}let ia=K.node,Ha=this._buffers[ia.piece.bufferIndex].buffer,Ta=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start),db=Ha.substring(Ta+K.remainder,Ta+ia.piece.length);for(ia=ia.next();ia!==ba;){let yb=this._buffers[ia.piece.bufferIndex].buffer,Bb=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start);if(ia===W.node){db+=yb.substring(Bb,Bb+W.remainder);break}db+=yb.substr(Bb,ia.piece.length),ia=ia.next()}return db}getLinesContent(){let K=[],W=0,ia="",Ha=!1;return this.iterate(this.root,Ta=>{if(Ta===ba)return!0;const db=Ta.piece;let yb=db.length;if(0===yb)return!0;const Bb=this._buffers[db.bufferIndex].buffer,Jb=this._buffers[db.bufferIndex].lineStarts,xb=db.start.line,Lb=db.end.line;let Ub=Jb[xb]+db.start.column;if(Ha&&(10===Bb.charCodeAt(Ub)&&(Ub++,yb--),K[W++]=ia,ia="",Ha=!1,0===yb))return!0;if(xb===Lb)return this._EOLNormalized||13!==Bb.charCodeAt(Ub+yb-1)?ia+=Bb.substr(Ub,yb):(Ha=!0,ia+=Bb.substr(Ub,yb-1)),!0;ia+=this._EOLNormalized?Bb.substring(Ub,Math.max(Ub,Jb[xb+1]-this._EOLLength)):Bb.substring(Ub,Jb[xb+1]).replace(/(\r\n|\r|\n)$/,""),K[W++]=ia;for(let pc=xb+1;pc<Lb;pc++)ia=this._EOLNormalized?Bb.substring(Jb[pc],Jb[pc+1]-this._EOLLength):Bb.substring(Jb[pc],Jb[pc+1]).replace(/(\r\n|\r|\n)$/,""),K[W++]=ia;return this._EOLNormalized||13!==Bb.charCodeAt(Jb[Lb]+db.end.column-1)?ia=Bb.substr(Jb[Lb],db.end.column):(Ha=!0,0===db.end.column?W--:ia=Bb.substr(Jb[Lb],db.end.column-1)),!0}),Ha&&(K[W++]=ia,ia=""),K[W++]=ia,K}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(K){return this._lastVisitedLine.lineNumber===K||(this._lastVisitedLine.lineNumber=K,K===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(K):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(K,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(K).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value}_getCharCode(K){if(K.remainder===K.node.piece.length){let W=K.node.next();if(!W)return 0;let ia=this._buffers[W.piece.bufferIndex],Ha=this.offsetInBuffer(W.piece.bufferIndex,W.piece.start);return ia.buffer.charCodeAt(Ha)}{let W=this._buffers[K.node.piece.bufferIndex],ia=this.offsetInBuffer(K.node.piece.bufferIndex,K.node.piece.start)+K.remainder;return W.buffer.charCodeAt(ia)}}getLineCharCode(K,W){let ia=this.nodeAt2(K,W+1);return this._getCharCode(ia)}getLineLength(K){if(K===this.getLineCount()){let W=this.getOffsetAt(K,1);return this.getLength()-W}return this.getOffsetAt(K+1,1)-this.getOffsetAt(K,1)-this._EOLLength}findMatchesInNode(K,W,ia,Ha,Ta,db,yb,Bb,Jb,xb,Lb){let Ub,pc,yc,Ec=this._buffers[K.piece.bufferIndex],X=this.offsetInBuffer(K.piece.bufferIndex,K.piece.start),xa=this.offsetInBuffer(K.piece.bufferIndex,Ta),qa=this.offsetInBuffer(K.piece.bufferIndex,db),mb={line:0,column:0};W._wordSeparators?(pc=Ec.buffer.substring(xa,qa),yc=ub=>ub+xa,W.reset(0)):(pc=Ec.buffer,yc=ub=>ub,W.reset(xa));do if(Ub=W.next(pc),Ub){if(yc(Ub.index)>=qa)return xb;this.positionInBuffer(K,yc(Ub.index)-X,mb);let ub=this.getLineFeedCnt(K.piece.bufferIndex,Ta,mb),Rb=mb.line===Ta.line?mb.column-Ta.column+Ha:mb.column+1,jc=Rb+Ub[0].length;if(Lb[xb++]=Object(Fb.d)(new L.a(ia+ub,Rb,ia+ub,jc),Ub,Bb),yc(Ub.index)+Ub[0].length>=qa)return xb;if(xb>=Jb)return xb}while(Ub);return xb}findMatchesLineByLine(K,W,ia,Ha){const Ta=[];let db=0;const yb=new Fb.b(W.wordSeparators,W.regex);let Bb=this.nodeAt2(K.startLineNumber,K.startColumn);if(null===Bb)return[];let Jb=this.nodeAt2(K.endLineNumber,K.endColumn);if(null===Jb)return[];let xb=this.positionInBuffer(Bb.node,Bb.remainder),Lb=this.positionInBuffer(Jb.node,Jb.remainder);if(Bb.node===Jb.node)return this.findMatchesInNode(Bb.node,yb,K.startLineNumber,K.startColumn,xb,Lb,W,ia,Ha,db,Ta),Ta;let Ub=K.startLineNumber,pc=Bb.node;for(;pc!==Jb.node;){let Ec=this.getLineFeedCnt(pc.piece.bufferIndex,xb,pc.piece.end);if(Ec>=1){let xa=this._buffers[pc.piece.bufferIndex].lineStarts,qa=this.offsetInBuffer(pc.piece.bufferIndex,pc.piece.start),mb=xa[xb.line+Ec],ub=Ub===K.startLineNumber?K.startColumn:1;if(db=this.findMatchesInNode(pc,yb,Ub,ub,xb,this.positionInBuffer(pc,mb-qa),W,ia,Ha,db,Ta),db>=Ha)return Ta;Ub+=Ec}let X=Ub===K.startLineNumber?K.startColumn-1:0;if(Ub===K.endLineNumber){const xa=this.getLineContent(Ub).substring(X,K.endColumn-1);return db=this._findMatchesInLine(W,yb,xa,K.endLineNumber,X,db,Ta,ia,Ha),Ta}if(db=this._findMatchesInLine(W,yb,this.getLineContent(Ub).substr(X),Ub,X,db,Ta,ia,Ha),db>=Ha)return Ta;Ub++,Bb=this.nodeAt2(Ub,1),pc=Bb.node,xb=this.positionInBuffer(Bb.node,Bb.remainder)}if(Ub===K.endLineNumber){let Ec=Ub===K.startLineNumber?K.startColumn-1:0;const X=this.getLineContent(Ub).substring(Ec,K.endColumn-1);return db=this._findMatchesInLine(W,yb,X,K.endLineNumber,Ec,db,Ta,ia,Ha),Ta}let yc=Ub===K.startLineNumber?K.startColumn:1;return db=this.findMatchesInNode(Jb.node,yb,Ub,yc,xb,Lb,W,ia,Ha,db,Ta),Ta}_findMatchesInLine(K,W,ia,Ha,Ta,db,yb,Bb,Jb){const xb=K.wordSeparators;if(!Bb&&K.simpleSearch){const Ub=K.simpleSearch,pc=Ub.length,yc=ia.length;let Ec=-pc;for(;-1!==(Ec=ia.indexOf(Ub,Ec+pc));)if((!xb||Object(Fb.e)(xb,ia,yc,Ec,pc))&&(yb[db++]=new z.b(new L.a(Ha,Ec+1+Ta,Ha,Ec+1+pc+Ta),null),db>=Jb))return db;return db}let Lb;W.reset(0);do if(Lb=W.next(ia),Lb&&(yb[db++]=Object(Fb.d)(new L.a(Ha,Lb.index+1+Ta,Ha,Lb.index+1+Lb[0].length+Ta),Lb,Bb),db>=Jb))return db;while(Lb);return db}insert(K,W,ia=!1){if(this._EOLNormalized=this._EOLNormalized&&ia,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==ba){let{node:Ha,remainder:Ta,nodeStartOffset:db}=this.nodeAt(K),yb=Ha.piece,Bb=yb.bufferIndex,Jb=this.positionInBuffer(Ha,Ta);if(0===Ha.piece.bufferIndex&&yb.end.line===this._lastChangeBufferPos.line&&yb.end.column===this._lastChangeBufferPos.column&&db+yb.length===K&&W.length<65535)return this.appendToNode(Ha,W),void this.computeBufferMetadata();if(db===K)this.insertContentToNodeLeft(W,Ha),this._searchCache.validate(K);else if(db+Ha.piece.length>K){let xb=[],Lb=new wc(yb.bufferIndex,Jb,yb.end,this.getLineFeedCnt(yb.bufferIndex,Jb,yb.end),this.offsetInBuffer(Bb,yb.end)-this.offsetInBuffer(Bb,Jb));if(this.shouldCheckCRLF()&&this.endWithCR(W)){if(10===this.nodeCharCodeAt(Ha,Ta)){let yc={line:Lb.start.line+1,column:0};Lb=new wc(Lb.bufferIndex,yc,Lb.end,this.getLineFeedCnt(Lb.bufferIndex,yc,Lb.end),Lb.length-1),W+=` -`}}if(this.shouldCheckCRLF()&&this.startWithLF(W))if(13===this.nodeCharCodeAt(Ha,Ta-1)){let yc=this.positionInBuffer(Ha,Ta-1);this.deleteNodeTail(Ha,yc),W="\r"+W,0===Ha.piece.length&&xb.push(Ha)}else this.deleteNodeTail(Ha,Jb);else this.deleteNodeTail(Ha,Jb);let Ub=this.createNewPieces(W);Lb.length>0&&this.rbInsertRight(Ha,Lb);let pc=Ha;for(let yc=0;yc<Ub.length;yc++)pc=this.rbInsertRight(pc,Ub[yc]);this.deleteNodes(xb)}else this.insertContentToNodeRight(W,Ha)}else{let Ha=this.createNewPieces(W),Ta=this.rbInsertLeft(null,Ha[0]);for(let db=1;db<Ha.length;db++)Ta=this.rbInsertRight(Ta,Ha[db])}this.computeBufferMetadata()}delete(K,W){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",W<=0||this.root===ba)return;let ia=this.nodeAt(K),Ha=this.nodeAt(K+W),Ta=ia.node,db=Ha.node;if(Ta===db){let Lb=this.positionInBuffer(Ta,ia.remainder),Ub=this.positionInBuffer(Ta,Ha.remainder);if(ia.nodeStartOffset===K){if(W===Ta.piece.length){let pc=Ta.next();return La(this,Ta),this.validateCRLFWithPrevNode(pc),void this.computeBufferMetadata()}return this.deleteNodeHead(Ta,Ub),this._searchCache.validate(K),this.validateCRLFWithPrevNode(Ta),void this.computeBufferMetadata()}return ia.nodeStartOffset+Ta.piece.length===K+W?(this.deleteNodeTail(Ta,Lb),this.validateCRLFWithNextNode(Ta),void this.computeBufferMetadata()):(this.shrinkNode(Ta,Lb,Ub),void this.computeBufferMetadata())}let yb=[],Bb=this.positionInBuffer(Ta,ia.remainder);this.deleteNodeTail(Ta,Bb),this._searchCache.validate(K),0===Ta.piece.length&&yb.push(Ta);let Jb=this.positionInBuffer(db,Ha.remainder);this.deleteNodeHead(db,Jb),0===db.piece.length&&yb.push(db);for(let Lb=Ta.next();Lb!==ba&&Lb!==db;Lb=Lb.next())yb.push(Lb);let xb=0===Ta.piece.length?Ta.prev():Ta;this.deleteNodes(yb),this.validateCRLFWithNextNode(xb),this.computeBufferMetadata()}insertContentToNodeLeft(K,W){let ia=[];if(this.shouldCheckCRLF()&&this.endWithCR(K)&&this.startWithLF(W)){let db=W.piece,yb={line:db.start.line+1,column:0},Bb=new wc(db.bufferIndex,yb,db.end,this.getLineFeedCnt(db.bufferIndex,yb,db.end),db.length-1);W.piece=Bb,K+=` -`,Ab(this,W,-1,-1),0===W.piece.length&&ia.push(W)}let Ha=this.createNewPieces(K),Ta=this.rbInsertLeft(W,Ha[Ha.length-1]);for(let db=Ha.length-2;db>=0;db--)Ta=this.rbInsertLeft(Ta,Ha[db]);this.validateCRLFWithPrevNode(Ta),this.deleteNodes(ia)}insertContentToNodeRight(K,W){this.adjustCarriageReturnFromNext(K,W)&&(K+=` -`);let ia=this.createNewPieces(K),Ha=this.rbInsertRight(W,ia[0]),Ta=Ha;for(let db=1;db<ia.length;db++)Ta=this.rbInsertRight(Ta,ia[db]);this.validateCRLFWithPrevNode(Ha)}positionInBuffer(K,W,ia){let Ha=K.piece,Ta=K.piece.bufferIndex,db=this._buffers[Ta].lineStarts,yb=db[Ha.start.line]+Ha.start.column+W,Bb=Ha.start.line,Jb=Ha.end.line,xb=0,Lb=0,Ub=0;for(;Bb<=Jb&&(xb=Bb+(Jb-Bb)/2|0,Ub=db[xb],xb!==Jb);)if(Lb=db[xb+1],yb<Ub)Jb=xb-1;else{if(!(yb>=Lb))break;Bb=xb+1}return ia?(ia.line=xb,ia.column=yb-Ub,null):{line:xb,column:yb-Ub}}getLineFeedCnt(K,W,ia){if(0===ia.column)return ia.line-W.line;let Ha=this._buffers[K].lineStarts;if(ia.line===Ha.length-1)return ia.line-W.line;let Ta=Ha[ia.line+1],db=Ha[ia.line]+ia.column;if(Ta>db+1)return ia.line-W.line;let yb=db-1;return 13===this._buffers[K].buffer.charCodeAt(yb)?ia.line-W.line+1:ia.line-W.line}offsetInBuffer(K,W){return this._buffers[K].lineStarts[W.line]+W.column}deleteNodes(K){for(let W=0;W<K.length;W++)La(this,K[W])}createNewPieces(K){if(K.length>65535){let Jb=[];for(;K.length>65535;){const Lb=K.charCodeAt(65534);let Ub;13===Lb||Lb>=55296&&Lb<=56319?(Ub=K.substring(0,65534),K=K.substring(65534)):(Ub=K.substring(0,65535),K=K.substring(65535));let pc=rb(Ub);Jb.push(new wc(this._buffers.length,{line:0,column:0},{line:pc.length-1,column:Ub.length-pc[pc.length-1]},pc.length-1,Ub.length)),this._buffers.push(new vc(Ub,pc))}let xb=rb(K);return Jb.push(new wc(this._buffers.length,{line:0,column:0},{line:xb.length-1,column:K.length-xb[xb.length-1]},xb.length-1,K.length)),this._buffers.push(new vc(K,xb)),Jb}let W=this._buffers[0].buffer.length;const ia=rb(K,!1);let Ha=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===W&&0!==W&&this.startWithLF(K)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},Ha=this._lastChangeBufferPos;for(let Jb=0;Jb<ia.length;Jb++)ia[Jb]+=W+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(ia.slice(1)),this._buffers[0].buffer+="_"+K,W+=1}else{if(0!==W)for(let Jb=0;Jb<ia.length;Jb++)ia[Jb]+=W;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(ia.slice(1)),this._buffers[0].buffer+=K}const Ta=this._buffers[0].buffer.length;let db=this._buffers[0].lineStarts.length-1,yb={line:db,column:Ta-this._buffers[0].lineStarts[db]},Bb=new wc(0,Ha,yb,this.getLineFeedCnt(0,Ha,yb),Ta-W);return this._lastChangeBufferPos=yb,[Bb]}getLineRawContent(K,W=0){let ia=this.root,Ha="",Ta=this._searchCache.get2(K);if(Ta){ia=Ta.node;let db=this.getAccumulatedValue(ia,K-Ta.nodeStartLineNumber-1),yb=this._buffers[ia.piece.bufferIndex].buffer,Bb=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start);if(Ta.nodeStartLineNumber+ia.piece.lineFeedCnt!==K){let Jb=this.getAccumulatedValue(ia,K-Ta.nodeStartLineNumber);return yb.substring(Bb+db,Bb+Jb-W)}Ha=yb.substring(Bb+db,Bb+ia.piece.length)}else{let db=0;const yb=K;for(;ia!==ba;)if(ia.left!==ba&&ia.lf_left>=K-1)ia=ia.left;else{if(ia.lf_left+ia.piece.lineFeedCnt>K-1){let Bb=this.getAccumulatedValue(ia,K-ia.lf_left-2),Jb=this.getAccumulatedValue(ia,K-ia.lf_left-1),xb=this._buffers[ia.piece.bufferIndex].buffer,Lb=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start);return db+=ia.size_left,this._searchCache.set({node:ia,nodeStartOffset:db,nodeStartLineNumber:yb-(K-1-ia.lf_left)}),xb.substring(Lb+Bb,Lb+Jb-W)}if(ia.lf_left+ia.piece.lineFeedCnt===K-1){let Bb=this.getAccumulatedValue(ia,K-ia.lf_left-2),Jb=this._buffers[ia.piece.bufferIndex].buffer,xb=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start);Ha=Jb.substring(xb+Bb,xb+ia.piece.length);break}K-=ia.lf_left+ia.piece.lineFeedCnt,db+=ia.size_left+ia.piece.length,ia=ia.right}}for(ia=ia.next();ia!==ba;){let db=this._buffers[ia.piece.bufferIndex].buffer;if(ia.piece.lineFeedCnt>0){let yb=this.getAccumulatedValue(ia,0),Bb=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start);return Ha+=db.substring(Bb,Bb+yb-W),Ha}{let yb=this.offsetInBuffer(ia.piece.bufferIndex,ia.piece.start);Ha+=db.substr(yb,ia.piece.length)}ia=ia.next()}return Ha}computeBufferMetadata(){let K=this.root,W=1,ia=0;for(;K!==ba;)W+=K.lf_left+K.piece.lineFeedCnt,ia+=K.size_left+K.piece.length,K=K.right;this._lineCnt=W,this._length=ia,this._searchCache.validate(this._length)}getIndexOf(K,W){let ia=K.piece,Ha=this.positionInBuffer(K,W),Ta=Ha.line-ia.start.line;if(this.offsetInBuffer(ia.bufferIndex,ia.end)-this.offsetInBuffer(ia.bufferIndex,ia.start)===W){let db=this.getLineFeedCnt(K.piece.bufferIndex,ia.start,Ha);if(db!==Ta)return{index:db,remainder:0}}return{index:Ta,remainder:Ha.column}}getAccumulatedValue(K,W){if(W<0)return 0;let ia=K.piece,Ha=this._buffers[ia.bufferIndex].lineStarts,Ta=ia.start.line+W+1;return Ta>ia.end.line?Ha[ia.end.line]+ia.end.column-Ha[ia.start.line]-ia.start.column:Ha[Ta]-Ha[ia.start.line]-ia.start.column}deleteNodeTail(K,W){const ia=K.piece,Ha=ia.lineFeedCnt,Ta=this.offsetInBuffer(ia.bufferIndex,ia.end),db=W,yb=this.offsetInBuffer(ia.bufferIndex,db),Bb=this.getLineFeedCnt(ia.bufferIndex,ia.start,db),Jb=Bb-Ha,xb=yb-Ta,Lb=ia.length+xb;K.piece=new wc(ia.bufferIndex,ia.start,db,Bb,Lb),Ab(this,K,xb,Jb)}deleteNodeHead(K,W){const ia=K.piece,Ha=ia.lineFeedCnt,Ta=this.offsetInBuffer(ia.bufferIndex,ia.start),db=W,yb=this.getLineFeedCnt(ia.bufferIndex,db,ia.end),Bb=yb-Ha,Jb=Ta-this.offsetInBuffer(ia.bufferIndex,db),xb=ia.length+Jb;K.piece=new wc(ia.bufferIndex,db,ia.end,yb,xb),Ab(this,K,Jb,Bb)}shrinkNode(K,W,ia){const Ha=K.piece,Ta=Ha.start,db=Ha.end,yb=Ha.length,Bb=Ha.lineFeedCnt,Jb=W,xb=this.getLineFeedCnt(Ha.bufferIndex,Ha.start,Jb),Lb=this.offsetInBuffer(Ha.bufferIndex,W)-this.offsetInBuffer(Ha.bufferIndex,Ta);K.piece=new wc(Ha.bufferIndex,Ha.start,Jb,xb,Lb),Ab(this,K,Lb-yb,xb-Bb);let Ub=new wc(Ha.bufferIndex,ia,db,this.getLineFeedCnt(Ha.bufferIndex,ia,db),this.offsetInBuffer(Ha.bufferIndex,db)-this.offsetInBuffer(Ha.bufferIndex,ia)),pc=this.rbInsertRight(K,Ub);this.validateCRLFWithPrevNode(pc)}appendToNode(K,W){this.adjustCarriageReturnFromNext(W,K)&&(W+=` -`);const ia=this.shouldCheckCRLF()&&this.startWithLF(W)&&this.endWithCR(K),Ha=this._buffers[0].buffer.length;this._buffers[0].buffer+=W;const Ta=rb(W,!1);for(let Ub=0;Ub<Ta.length;Ub++)Ta[Ub]+=Ha;if(ia){let Ub=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:Ha-Ub}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(Ta.slice(1));const db=this._buffers[0].lineStarts.length-1,yb={line:db,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[db]},Bb=K.piece.length+W.length,Jb=K.piece.lineFeedCnt,xb=this.getLineFeedCnt(0,K.piece.start,yb),Lb=xb-Jb;K.piece=new wc(K.piece.bufferIndex,K.piece.start,yb,xb,Bb),this._lastChangeBufferPos=yb,Ab(this,K,W.length,Lb)}nodeAt(K){let W=this.root,ia=this._searchCache.get(K);if(ia)return{node:ia.node,nodeStartOffset:ia.nodeStartOffset,remainder:K-ia.nodeStartOffset};let Ha=0;for(;W!==ba;)if(W.size_left>K)W=W.left;else{if(W.size_left+W.piece.length>=K){Ha+=W.size_left;let Ta={node:W,remainder:K-W.size_left,nodeStartOffset:Ha};return this._searchCache.set(Ta),Ta}K-=W.size_left+W.piece.length,Ha+=W.size_left+W.piece.length,W=W.right}return null}nodeAt2(K,W){let ia=this.root,Ha=0;for(;ia!==ba;)if(ia.left!==ba&&ia.lf_left>=K-1)ia=ia.left;else{if(ia.lf_left+ia.piece.lineFeedCnt>K-1){let Ta=this.getAccumulatedValue(ia,K-ia.lf_left-2),db=this.getAccumulatedValue(ia,K-ia.lf_left-1);return Ha+=ia.size_left,{node:ia,remainder:Math.min(Ta+W-1,db),nodeStartOffset:Ha}}if(ia.lf_left+ia.piece.lineFeedCnt===K-1){let Ta=this.getAccumulatedValue(ia,K-ia.lf_left-2);if(Ta+W-1<=ia.piece.length)return{node:ia,remainder:Ta+W-1,nodeStartOffset:Ha};W-=ia.piece.length-Ta;break}K-=ia.lf_left+ia.piece.lineFeedCnt,Ha+=ia.size_left+ia.piece.length,ia=ia.right}for(ia=ia.next();ia!==ba;){if(ia.piece.lineFeedCnt>0){let Ta=this.getAccumulatedValue(ia,0),db=this.offsetOfNode(ia);return{node:ia,remainder:Math.min(W-1,Ta),nodeStartOffset:db}}if(ia.piece.length>=W-1)return{node:ia,remainder:W-1,nodeStartOffset:this.offsetOfNode(ia)};W-=ia.piece.length,ia=ia.next()}return null}nodeCharCodeAt(K,W){if(K.piece.lineFeedCnt<1)return-1;let ia=this._buffers[K.piece.bufferIndex],Ha=this.offsetInBuffer(K.piece.bufferIndex,K.piece.start)+W;return ia.buffer.charCodeAt(Ha)}offsetOfNode(K){if(!K)return 0;let W=K.size_left;for(;K!==this.root;)K.parent.right===K&&(W+=K.parent.size_left+K.parent.piece.length),K=K.parent;return W}shouldCheckCRLF(){return!(this._EOLNormalized&&` -`===this._EOL)}startWithLF(K){if("string"==typeof K)return 10===K.charCodeAt(0);if(K===ba||0===K.piece.lineFeedCnt)return!1;let W=K.piece,ia=this._buffers[W.bufferIndex].lineStarts,Ha=W.start.line,Ta=ia[Ha]+W.start.column;return Ha!==ia.length-1&&(!(ia[Ha+1]>Ta+1)&&10===this._buffers[W.bufferIndex].buffer.charCodeAt(Ta))}endWithCR(K){return"string"==typeof K?13===K.charCodeAt(K.length-1):K!==ba&&0!==K.piece.lineFeedCnt&&13===this.nodeCharCodeAt(K,K.piece.length-1)}validateCRLFWithPrevNode(K){if(this.shouldCheckCRLF()&&this.startWithLF(K)){let W=K.prev();this.endWithCR(W)&&this.fixCRLF(W,K)}}validateCRLFWithNextNode(K){if(this.shouldCheckCRLF()&&this.endWithCR(K)){let W=K.next();this.startWithLF(W)&&this.fixCRLF(K,W)}}fixCRLF(K,W){let ia,Ha=[],Ta=this._buffers[K.piece.bufferIndex].lineStarts;ia=0===K.piece.end.column?{line:K.piece.end.line-1,column:Ta[K.piece.end.line]-Ta[K.piece.end.line-1]-1}:{line:K.piece.end.line,column:K.piece.end.column-1};const db=K.piece.length-1,yb=K.piece.lineFeedCnt-1;K.piece=new wc(K.piece.bufferIndex,K.piece.start,ia,yb,db),Ab(this,K,-1,-1),0===K.piece.length&&Ha.push(K);let Bb={line:W.piece.start.line+1,column:0};const Jb=W.piece.length-1,xb=this.getLineFeedCnt(W.piece.bufferIndex,Bb,W.piece.end);W.piece=new wc(W.piece.bufferIndex,Bb,W.piece.end,xb,Jb),Ab(this,W,-1,-1),0===W.piece.length&&Ha.push(W);let Lb=this.createNewPieces(`\r -`);this.rbInsertRight(K,Lb[0]);for(let Ub=0;Ub<Ha.length;Ub++)La(this,Ha[Ub])}adjustCarriageReturnFromNext(K,W){if(this.shouldCheckCRLF()&&this.endWithCR(K)){let ia=W.next();if(this.startWithLF(ia)){if(K+=` -`,1===ia.piece.length)La(this,ia);else{const Ha=ia.piece,Ta={line:Ha.start.line+1,column:0},db=Ha.length-1,yb=this.getLineFeedCnt(Ha.bufferIndex,Ta,Ha.end);ia.piece=new wc(Ha.bufferIndex,Ta,Ha.end,yb,db),Ab(this,ia,-1,-1)}return!0}}return!1}iterate(K,W){if(K===ba)return W(ba);let ia=this.iterate(K.left,W);return ia?W(K)&&this.iterate(K.right,W):ia}getNodeContent(K){if(K===ba)return"";let W,ia=this._buffers[K.piece.bufferIndex],Ha=K.piece,Ta=this.offsetInBuffer(Ha.bufferIndex,Ha.start),db=this.offsetInBuffer(Ha.bufferIndex,Ha.end);return W=ia.buffer.substring(Ta,db),W}getPieceContent(K){let W=this._buffers[K.bufferIndex],ia=this.offsetInBuffer(K.bufferIndex,K.start),Ha=this.offsetInBuffer(K.bufferIndex,K.end);return W.buffer.substring(ia,Ha)}rbInsertRight(K,W){let ia=new ua(W,1);if(ia.left=ba,ia.right=ba,ia.parent=ba,ia.size_left=0,ia.lf_left=0,this.root===ba)this.root=ia,ia.color=0;else if(K.right===ba)K.right=ia,ia.parent=K;else{let Ha=$(K.right);Ha.left=ia,ia.parent=Ha}return $a(this,ia),ia}rbInsertLeft(K,W){let ia=new ua(W,1);if(ia.left=ba,ia.right=ba,ia.parent=ba,ia.size_left=0,ia.lf_left=0,this.root===ba)this.root=ia,ia.color=0;else if(K.left===ba)K.left=ia,ia.parent=K;else{let Ha=S(K.left);Ha.right=ia,ia.parent=Ha}return $a(this,ia),ia}}var Cc=f(124),Kc=f(180);class Yc{constructor(K,W,ia,Ha,Ta,db,yb){this._onDidChangeContent=new q.a(),this._BOM=W,this._mightContainNonBasicASCII=!db,this._mightContainRTL=Ha,this._mightContainUnusualLineTerminators=Ta,this._pieceTree=new uc(K,ia,yb)}dispose(){this._onDidChangeContent.dispose()}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(K){return this._pieceTree.createSnapshot(K?this._BOM:"")}getOffsetAt(K,W){return this._pieceTree.getOffsetAt(K,W)}getPositionAt(K){return this._pieceTree.getPositionAt(K)}getRangeAt(K,W){let ia=K+W;const Ha=this.getPositionAt(K),Ta=this.getPositionAt(ia);return new L.a(Ha.lineNumber,Ha.column,Ta.lineNumber,Ta.column)}getValueInRange(K,W=0){if(K.isEmpty())return"";const ia=this._getEndOfLine(W);return this._pieceTree.getValueInRange(K,ia)}getValueLengthInRange(K,W=0){if(K.isEmpty())return 0;if(K.startLineNumber===K.endLineNumber)return K.endColumn-K.startColumn;let ia=this.getOffsetAt(K.startLineNumber,K.startColumn);return this.getOffsetAt(K.endLineNumber,K.endColumn)-ia}getCharacterCountInRange(K,W=0){if(this._mightContainNonBasicASCII){let ia=0;const Ha=K.startLineNumber,Ta=K.endLineNumber;for(let db=Ha;db<=Ta;db++){const yb=this.getLineContent(db),Bb=db===Ha?K.startColumn-1:0,Jb=db===Ta?K.endColumn-1:yb.length;for(let xb=Bb;xb<Jb;xb++)F.F(yb.charCodeAt(xb))?(ia+=1,xb+=1):ia+=1}return ia+=this._getEndOfLine(W).length*(Ta-Ha),ia}return this.getValueLengthInRange(K,W)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(K){return this._pieceTree.getLineContent(K)}getLineCharCode(K,W){return this._pieceTree.getLineCharCode(K,W)}getLineLength(K){return this._pieceTree.getLineLength(K)}getLineFirstNonWhitespaceColumn(K){const W=F.w(this.getLineContent(K));return-1===W?0:W+1}getLineLastNonWhitespaceColumn(K){const W=F.J(this.getLineContent(K));return-1===W?0:W+2}_getEndOfLine(K){switch(K){case 1:return` +(function(Ie){function w(W){for(var Q,y,C=W[0],S=W[1],P=0,V=[];P<C.length;P++)y=C[P],Object.prototype.hasOwnProperty.call(h,y)&&h[y]&&V.push(h[y][0]),h[y]=0;for(Q in S)Object.prototype.hasOwnProperty.call(S,Q)&&(Ie[Q]=S[Q]);for(ge&&ge(W);V.length;)V.shift()()}var o={},h={0:0};function f(W){if(o[W])return o[W].exports;var Q=o[W]={i:W,l:!1,exports:{}};return Ie[W].call(Q.exports,Q,Q.exports,f),Q.l=!0,Q.exports}f.e=function(){return Promise.resolve()},f.m=Ie,f.c=o,f.d=function(W,Q,y){f.o(W,Q)||Object.defineProperty(W,Q,{enumerable:!0,get:y})},f.r=function(W){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(W,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(W,"__esModule",{value:!0})},f.t=function(W,Q){if(1&Q&&(W=f(W)),8&Q||4&Q&&typeof W=="object"&&W&&W.__esModule)return W;var y=Object.create(null);if(f.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:W}),2&Q&&typeof W!="string")for(var C in W)f.d(y,C,function(S){return W[S]}.bind(null,C));return y},f.n=function(W){var Q=W&&W.__esModule?function(){return W.default}:function(){return W};return f.d(Q,"a",Q),Q},f.o=function(W,Q){return Object.prototype.hasOwnProperty.call(W,Q)},f.p="/",f.oe=function(W){throw console.error(W),W};var D=self.webpackJsonp=self.webpackJsonp||[],H=D.push.bind(D);D.push=w,D=D.slice();for(var E=0;E<D.length;E++)w(D[E]);var ge=H;f(f.s=342)})([function(Ie,w,o){"use strict";function h(f,D,...H){return function(E,ge){let W;return W=ge.length===0?E:E.replace(/\{(\d+)\}/g,function(Q,y){let C=y[0];return ge[C]!==void 0?ge[C]:Q}),W}(D,H)}o.d(w,"a",function(){return h})},function(Ie,w,o){"use strict";o.d(w,"s",function(){return V}),o.d(w,"S",function(){return k}),o.d(w,"N",function(){return l}),o.d(w,"I",function(){return N}),o.d(w,"e",function(){return b}),o.d(w,"f",function(){return g}),o.d(w,"Q",function(){return j}),o.d(w,"R",function(){return ie}),o.d(w,"ab",function(){return U}),o.d(w,"i",function(){return B}),o.d(w,"n",function(){return ke}),o.d(w,"m",function(){return xe}),o.d(w,"g",function(){return Y}),o.d(w,"h",function(){return Z}),o.d(w,"j",function(){return te}),o.d(w,"k",function(){return he}),o.d(w,"W",function(){return Ce}),o.d(w,"Y",function(){return Ae}),o.d(w,"l",function(){return ht}),o.d(w,"z",function(){return fe}),o.d(w,"y",function(){return $}),o.d(w,"F",function(){return J}),o.d(w,"C",function(){return Se}),o.d(w,"d",function(){return A}),o.d(w,"H",function(){return ee}),o.d(w,"B",function(){return de}),o.d(w,"A",function(){return Oe}),o.d(w,"G",function(){return $e}),o.d(w,"L",function(){return pt}),o.d(w,"w",function(){return it}),o.d(w,"J",function(){return At}),o.d(w,"O",function(){return _i}),o.d(w,"E",function(){return wt}),o.d(w,"x",function(){return Ni}),o.d(w,"v",function(){return pi}),o.d(w,"u",function(){return Li}),o.d(w,"P",function(){return Ii}),o.d(w,"M",function(){return Ai}),o.d(w,"c",function(){return Zi}),o.d(w,"b",function(){return Bi}),o.d(w,"X",function(){return Lt}),o.d(w,"V",function(){return Di}),o.d(w,"bb",function(){return vi}),o.d(w,"p",function(){return Rt}),o.d(w,"U",function(){return Ue}),o.d(w,"a",function(){return st}),o.d(w,"Z",function(){return _t}),o.d(w,"K",function(){return oi}),o.d(w,"T",function(){return li}),o.d(w,"D",function(){return gi}),o.d(w,"t",function(){return ki}),o.d(w,"cb",function(){return Ri}),o.d(w,"o",function(){return $i}),o.d(w,"r",function(){return Hi}),o.d(w,"q",function(){return yi});var h=o(34),f=o(44),D=o(67),H=o(69),E=o(20),ge=o(13),W=o(6),Q=o(2),y=o(11),C=o(15),S=o(45),P=o(138);function V(kt){for(;kt.firstChild;)kt.removeChild(kt.firstChild)}function k(kt){kt.parentNode&&kt.parentNode.removeChild(kt)}function l(kt){for(;kt;){if(kt===document.body)return!0;kt=kt.parentNode||kt.host}return!1}let T=new class{hasClass(kt,Et){return Boolean(Et)&&kt.classList&&kt.classList.contains(Et)}addClasses(kt,...Et){Et.forEach(si=>si.split(" ").forEach(Si=>this.addClass(kt,Si)))}addClass(kt,Et){Et&&kt.classList&&kt.classList.add(Et)}removeClass(kt,Et){Et&&kt.classList&&kt.classList.remove(Et)}removeClasses(kt,...Et){Et.forEach(si=>si.split(" ").forEach(Si=>this.removeClass(kt,Si)))}toggleClass(kt,Et,si){kt.classList&&kt.classList.toggle(Et,si)}},N=T.hasClass.bind(T),b=T.addClass.bind(T),g=T.addClasses.bind(T),j=T.removeClass.bind(T),ie=T.removeClasses.bind(T),U=T.toggleClass.bind(T);class q{constructor(Et,si,Si,Pi){this._node=Et,this._type=si,this._handler=Si,this._options=Pi||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function B(kt,Et,si,Si){return new q(kt,Et,si,Si)}function se(kt){return function(Et){return kt(new H.a(Et))}}let ke=function(kt,Et,si,Si){let Pi=si;return Et==="click"||Et==="mousedown"?Pi=se(si):Et!=="keydown"&&Et!=="keypress"&&Et!=="keyup"||(Pi=function(Wi){return function(xn){return Wi(new D.a(xn))}}(si)),B(kt,Et,Pi,Si)},xe=function(kt,Et,si){return Y(kt,se(Et),si)};function Y(kt,Et,si){return B(kt,y.c&&P.a.pointerEvents?Zi.POINTER_DOWN:Zi.MOUSE_DOWN,Et,si)}function Z(kt,Et,si){return B(kt,y.c&&P.a.pointerEvents?Zi.POINTER_UP:Zi.MOUSE_UP,Et,si)}function te(kt,Et){return B(kt,"mouseout",si=>{let Si=si.relatedTarget;for(;Si&&Si!==kt;)Si=Si.parentNode;Si!==kt&&Et(si)})}function he(kt,Et){return B(kt,"pointerout",si=>{let Si=si.relatedTarget;for(;Si&&Si!==kt;)Si=Si.parentNode;Si!==kt&&Et(si)})}let Ce,Ae,L=null;class nt{constructor(Et,si=0){this._runner=Et,this.priority=si,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(Et){Object(ge.e)(Et)}}static sort(Et,si){return si.priority-Et.priority}}(function(){let kt=[],Et=null,si=!1,Si=!1,Pi=()=>{for(si=!1,Et=kt,kt=[],Si=!0;Et.length>0;)Et.sort(nt.sort),Et.shift().execute();Si=!1};Ae=(Wi,xn=0)=>{let un=new nt(Wi,xn);return kt.push(un),si||(si=!0,function(bn){if(!L){let Fn=Mn=>setTimeout(()=>Mn(new Date().getTime()),0);L=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||Fn}L.call(self,bn)}(Pi)),un},Ce=(Wi,xn)=>{if(Si){let un=new nt(Wi,xn);return Et.push(un),un}return Ae(Wi,xn)}})();let ct=function(kt,Et){return Et};class Ye extends Q.a{constructor(Et,si,Si,Pi=ct,Wi=16){super();let xn=null,un=0,bn=this._register(new E.e),Fn=()=>{un=new Date().getTime(),Si(xn),xn=null};this._register(B(Et,si,Mn=>{xn=Pi(xn,Mn);let Nn=new Date().getTime()-un;Nn>=Wi?(bn.cancel(),Fn()):bn.setIfNotSet(Fn,Wi-Nn)}))}}function ht(kt,Et,si,Si,Pi){return new Ye(kt,Et,si,Si,Pi)}function fe(kt){return document.defaultView.getComputedStyle(kt,null)}function $(kt){if(kt!==document.body)return new z(kt.clientWidth,kt.clientHeight);if(y.c&&window.visualViewport){let Et=window.visualViewport.width,si=window.visualViewport.height-(h.k?24:0);return new z(Et,si)}if(window.innerWidth&&window.innerHeight)return new z(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new z(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new z(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class G{static convertToPixels(Et,si){return parseFloat(si)||0}static getDimension(Et,si,Si){let Pi=fe(Et),Wi="0";return Pi&&(Wi=Pi.getPropertyValue?Pi.getPropertyValue(si):Pi.getAttribute(Si)),G.convertToPixels(Et,Wi)}static getBorderLeftWidth(Et){return G.getDimension(Et,"border-left-width","borderLeftWidth")}static getBorderRightWidth(Et){return G.getDimension(Et,"border-right-width","borderRightWidth")}static getBorderTopWidth(Et){return G.getDimension(Et,"border-top-width","borderTopWidth")}static getBorderBottomWidth(Et){return G.getDimension(Et,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(Et){return G.getDimension(Et,"padding-left","paddingLeft")}static getPaddingRight(Et){return G.getDimension(Et,"padding-right","paddingRight")}static getPaddingTop(Et){return G.getDimension(Et,"padding-top","paddingTop")}static getPaddingBottom(Et){return G.getDimension(Et,"padding-bottom","paddingBottom")}static getMarginLeft(Et){return G.getDimension(Et,"margin-left","marginLeft")}static getMarginTop(Et){return G.getDimension(Et,"margin-top","marginTop")}static getMarginRight(Et){return G.getDimension(Et,"margin-right","marginRight")}static getMarginBottom(Et){return G.getDimension(Et,"margin-bottom","marginBottom")}}class z{constructor(Et,si){this.width=Et,this.height=si}}function J(kt){let Et=kt.offsetParent,si=kt.offsetTop,Si=kt.offsetLeft;for(;(kt=kt.parentNode)!==null&&kt!==document.body&&kt!==document.documentElement;){si-=kt.scrollTop;let Pi=Nt(kt)?null:fe(kt);Pi&&(Si-=Pi.direction!=="rtl"?kt.scrollLeft:-kt.scrollLeft),kt===Et&&(Si+=G.getBorderLeftWidth(kt),si+=G.getBorderTopWidth(kt),si+=kt.offsetTop,Si+=kt.offsetLeft,Et=kt.offsetParent)}return{left:Si,top:si}}function Se(kt){let Et=kt.getBoundingClientRect();return{left:Et.left+A.scrollX,top:Et.top+A.scrollY,width:Et.width,height:Et.height}}let A=new class{get scrollX(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function ee(kt){let Et=G.getMarginLeft(kt)+G.getMarginRight(kt);return kt.offsetWidth+Et}function de(kt){let Et=G.getBorderLeftWidth(kt)+G.getBorderRightWidth(kt),si=G.getPaddingLeft(kt)+G.getPaddingRight(kt);return kt.offsetWidth-Et-si}function Oe(kt){let Et=G.getBorderTopWidth(kt)+G.getBorderBottomWidth(kt),si=G.getPaddingTop(kt)+G.getPaddingBottom(kt);return kt.offsetHeight-Et-si}function $e(kt){let Et=G.getMarginTop(kt)+G.getMarginBottom(kt);return kt.offsetHeight+Et}function pt(kt,Et){for(;kt;){if(kt===Et)return!0;kt=kt.parentNode}return!1}function it(kt,Et,si){for(;kt&&kt.nodeType===kt.ELEMENT_NODE;){if(N(kt,Et))return kt;if(si){if(typeof si=="string"){if(N(kt,si))return null}else if(kt===si)return null}kt=kt.parentNode}return null}function At(kt,Et,si){return!!it(kt,Et,si)}function Nt(kt){return kt&&!!kt.host&&!!kt.mode}function _i(kt){return!!wt(kt)}function wt(kt){for(;kt.parentNode;){if(kt===document.body)return null;kt=kt.parentNode}return Nt(kt)?kt:null}function Ni(){let kt=document.activeElement;for(;kt==null?void 0:kt.shadowRoot;)kt=kt.shadowRoot.activeElement;return kt}function pi(kt=document.getElementsByTagName("head")[0]){let Et=document.createElement("style");return Et.type="text/css",Et.media="screen",kt.appendChild(Et),Et}let et=null;function Wt(){return et||(et=pi()),et}function Li(kt,Et,si=Wt()){si&&Et&&si.sheet.insertRule(kt+"{"+Et+"}",0)}function Ii(kt,Et=Wt()){if(!Et)return;let si=function(Pi){return Pi&&Pi.sheet&&Pi.sheet.rules?Pi.sheet.rules:Pi&&Pi.sheet&&Pi.sheet.cssRules?Pi.sheet.cssRules:[]}(Et),Si=[];for(let Pi=0;Pi<si.length;Pi++)si[Pi].selectorText.indexOf(kt)!==-1&&Si.push(Pi);for(let Pi=Si.length-1;Pi>=0;Pi--)Et.sheet.deleteRule(Si[Pi])}function Ai(kt){return typeof HTMLElement=="object"?kt instanceof HTMLElement:kt&&typeof kt=="object"&&kt.nodeType===1&&typeof kt.nodeName=="string"}let Zi={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:h.f?"mousewheel":"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:h.l?"webkitAnimationStart":"animationstart",ANIMATION_END:h.l?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:h.l?"webkitAnimationIteration":"animationiteration"},Bi={stop:function(kt,Et){kt.preventDefault?kt.preventDefault():kt.returnValue=!1,Et&&(kt.stopPropagation?kt.stopPropagation():kt.cancelBubble=!0)}};function Lt(kt){let Et=[];for(let si=0;kt&&kt.nodeType===kt.ELEMENT_NODE;si++)Et[si]=kt.scrollTop,kt=kt.parentNode;return Et}function Di(kt,Et){for(let si=0;kt&&kt.nodeType===kt.ELEMENT_NODE;si++)kt.scrollTop!==Et[si]&&(kt.scrollTop=Et[si]),kt=kt.parentNode}class gt extends Q.a{constructor(Et){super(),this._onDidFocus=this._register(new W.a),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new W.a),this.onDidBlur=this._onDidBlur.event;let si=pt(document.activeElement,Et),Si=!1,Pi=()=>{Si=!1,si||(si=!0,this._onDidFocus.fire())},Wi=()=>{si&&(Si=!0,window.setTimeout(()=>{Si&&(Si=!1,si=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{pt(document.activeElement,Et)!==si&&(si?Wi():Pi())},this._register(Object(f.a)(Et,Zi.FOCUS,!0)(Pi)),this._register(Object(f.a)(Et,Zi.BLUR,!0)(Wi))}}function vi(kt){return new gt(kt)}function Rt(kt,...Et){return Et.forEach(si=>kt.appendChild(si)),Et[Et.length-1]}let vt=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function Ue(kt,...Et){kt.innerText="",Object(C.d)(Et).forEach(si=>{si instanceof Node?kt.appendChild(si):kt.appendChild(document.createTextNode(si))})}var ut;function ze(kt,Et,si,...Si){let Pi=vt.exec(Et);if(!Pi)throw new Error("Bad use of emmet");si=Object.assign({},si||{});let Wi,xn=Pi[1]||"div";return Wi=kt!==ut.HTML?document.createElementNS(kt,xn):document.createElement(xn),Pi[3]&&(Wi.id=Pi[3]),Pi[4]&&(Wi.className=Pi[4].replace(/\./g," ").trim()),Object.keys(si).forEach(un=>{let bn=si[un];bn!==void 0&&(/^on\w+$/.test(un)?Wi[un]=bn:un==="selected"?bn&&Wi.setAttribute(un,"true"):Wi.setAttribute(un,bn))}),Object(C.d)(Si).forEach(un=>{un instanceof Node?Wi.appendChild(un):Wi.appendChild(document.createTextNode(un))}),Wi}function st(kt,Et,...si){return ze(ut.HTML,kt,Et,...si)}function _t(...kt){for(let Et of kt)Et.style.display="",Et.removeAttribute("aria-hidden")}function oi(...kt){for(let Et of kt)Et.style.display="none",Et.setAttribute("aria-hidden","true")}function li(kt){if(kt&&kt.hasAttribute("tabIndex")){if(document.activeElement===kt){let Et=function(si,Si){for(;si&&si.nodeType===si.ELEMENT_NODE;){if(si instanceof HTMLElement&&si.hasAttribute(Si))return si;si=si.parentNode}return null}(kt.parentElement,"tabIndex");Et&&Et.focus()}kt.removeAttribute("tabindex")}}function gi(kt){return Array.prototype.slice.call(document.getElementsByTagName(kt),0)}function ki(kt){let Et=window.devicePixelRatio*kt;return Math.max(1,Math.floor(Et))/window.devicePixelRatio}function Ri(kt){if(y.g||h.g)window.open(kt);else{let Et=window.open();Et&&(Et.opener=null,Et.location.href=kt)}}function $i(kt){let Et=()=>{kt(),si=Ae(Et)},si=Ae(Et);return Object(Q.h)(()=>si.dispose())}function Hi(kt){return kt&&S.b.vscodeRemote===kt.scheme?S.a.rewrite(kt):kt}function yi(kt){return kt?`url('${Hi(kt).toString(!0).replace(/'/g,"%27")}')`:"url('')"}(function(kt){kt.HTML="http://www.w3.org/1999/xhtml",kt.SVG="http://www.w3.org/2000/svg"})(ut||(ut={})),st.SVG=function(kt,Et,...si){return ze(ut.SVG,kt,Et,...si)},S.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},function(Ie,w,o){"use strict";o.d(w,"g",function(){return H}),o.d(w,"f",function(){return E}),o.d(w,"e",function(){return ge}),o.d(w,"h",function(){return W}),o.d(w,"b",function(){return Q}),o.d(w,"a",function(){return y}),o.d(w,"d",function(){return C}),o.d(w,"c",function(){return S});var h=o(37);function f(P){}class D extends Error{constructor(V){super(`Encounter errors while disposing of store. Errors: [${V.join(", ")}]`),this.errors=V}}function H(P){return typeof P.dispose=="function"&&P.dispose.length===0}function E(P){if(h.a.is(P)){let V=[];for(let k of P)if(k)try{k.dispose()}catch(l){V.push(l)}if(V.length===1)throw V[0];if(V.length>1)throw new D(V);return Array.isArray(P)?[]:P}if(P)return P.dispose(),P}function ge(...P){return P.forEach(f),{dispose:()=>E(P)}}function W(P){return{dispose:()=>{P()}}}class Q{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{E(this._toDispose.values())}finally{this._toDispose.clear()}}add(V){if(!V)return V;if(V===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?Q.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(V),V}}Q.DISABLE_DISPOSED_WARNING=!1;class y{constructor(){this._store=new Q}dispose(){this._store.dispose()}_register(V){if(V===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(V)}}y.None=Object.freeze({dispose(){}});class C{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(V){this._isDisposed||V===this._value||(this._value&&this._value.dispose(),this._value=V)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class S{constructor(V){this.object=V}dispose(){}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(9);class f{constructor(H,E,ge,W){H>ge||H===ge&&E>W?(this.startLineNumber=ge,this.startColumn=W,this.endLineNumber=H,this.endColumn=E):(this.startLineNumber=H,this.startColumn=E,this.endLineNumber=ge,this.endColumn=W)}isEmpty(){return f.isEmpty(this)}static isEmpty(H){return H.startLineNumber===H.endLineNumber&&H.startColumn===H.endColumn}containsPosition(H){return f.containsPosition(this,H)}static containsPosition(H,E){return!(E.lineNumber<H.startLineNumber||E.lineNumber>H.endLineNumber)&&!(E.lineNumber===H.startLineNumber&&E.column<H.startColumn)&&!(E.lineNumber===H.endLineNumber&&E.column>H.endColumn)}containsRange(H){return f.containsRange(this,H)}static containsRange(H,E){return!(E.startLineNumber<H.startLineNumber||E.endLineNumber<H.startLineNumber)&&!(E.startLineNumber>H.endLineNumber||E.endLineNumber>H.endLineNumber)&&!(E.startLineNumber===H.startLineNumber&&E.startColumn<H.startColumn)&&!(E.endLineNumber===H.endLineNumber&&E.endColumn>H.endColumn)}strictContainsRange(H){return f.strictContainsRange(this,H)}static strictContainsRange(H,E){return!(E.startLineNumber<H.startLineNumber||E.endLineNumber<H.startLineNumber)&&!(E.startLineNumber>H.endLineNumber||E.endLineNumber>H.endLineNumber)&&!(E.startLineNumber===H.startLineNumber&&E.startColumn<=H.startColumn)&&!(E.endLineNumber===H.endLineNumber&&E.endColumn>=H.endColumn)}plusRange(H){return f.plusRange(this,H)}static plusRange(H,E){let ge,W,Q,y;return E.startLineNumber<H.startLineNumber?(ge=E.startLineNumber,W=E.startColumn):E.startLineNumber===H.startLineNumber?(ge=E.startLineNumber,W=Math.min(E.startColumn,H.startColumn)):(ge=H.startLineNumber,W=H.startColumn),E.endLineNumber>H.endLineNumber?(Q=E.endLineNumber,y=E.endColumn):E.endLineNumber===H.endLineNumber?(Q=E.endLineNumber,y=Math.max(E.endColumn,H.endColumn)):(Q=H.endLineNumber,y=H.endColumn),new f(ge,W,Q,y)}intersectRanges(H){return f.intersectRanges(this,H)}static intersectRanges(H,E){let ge=H.startLineNumber,W=H.startColumn,Q=H.endLineNumber,y=H.endColumn,C=E.startLineNumber,S=E.startColumn,P=E.endLineNumber,V=E.endColumn;return ge<C?(ge=C,W=S):ge===C&&(W=Math.max(W,S)),Q>P?(Q=P,y=V):Q===P&&(y=Math.min(y,V)),ge>Q||ge===Q&&W>y?null:new f(ge,W,Q,y)}equalsRange(H){return f.equalsRange(this,H)}static equalsRange(H,E){return!!H&&!!E&&H.startLineNumber===E.startLineNumber&&H.startColumn===E.startColumn&&H.endLineNumber===E.endLineNumber&&H.endColumn===E.endColumn}getEndPosition(){return f.getEndPosition(this)}static getEndPosition(H){return new h.a(H.endLineNumber,H.endColumn)}getStartPosition(){return f.getStartPosition(this)}static getStartPosition(H){return new h.a(H.startLineNumber,H.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(H,E){return new f(this.startLineNumber,this.startColumn,H,E)}setStartPosition(H,E){return new f(H,E,this.endLineNumber,this.endColumn)}collapseToStart(){return f.collapseToStart(this)}static collapseToStart(H){return new f(H.startLineNumber,H.startColumn,H.startLineNumber,H.startColumn)}static fromPositions(H,E=H){return new f(H.lineNumber,H.column,E.lineNumber,E.column)}static lift(H){return H?new f(H.startLineNumber,H.startColumn,H.endLineNumber,H.endColumn):null}static isIRange(H){return H&&typeof H.startLineNumber=="number"&&typeof H.startColumn=="number"&&typeof H.endLineNumber=="number"&&typeof H.endColumn=="number"}static areIntersectingOrTouching(H,E){return!(H.endLineNumber<E.startLineNumber||H.endLineNumber===E.startLineNumber&&H.endColumn<E.startColumn)&&!(E.endLineNumber<H.startLineNumber||E.endLineNumber===H.startLineNumber&&E.endColumn<H.startColumn)}static areIntersecting(H,E){return!(H.endLineNumber<E.startLineNumber||H.endLineNumber===E.startLineNumber&&H.endColumn<=E.startColumn)&&!(E.endLineNumber<H.startLineNumber||E.endLineNumber===H.startLineNumber&&E.endColumn<=H.startColumn)}static compareRangesUsingStarts(H,E){if(H&&E){let ge=0|H.startLineNumber,W=0|E.startLineNumber;if(ge===W){let Q=0|H.startColumn,y=0|E.startColumn;if(Q===y){let C=0|H.endLineNumber,S=0|E.endLineNumber;return C===S?(0|H.endColumn)-(0|E.endColumn):C-S}return Q-y}return ge-W}return(H?1:0)-(E?1:0)}static compareRangesUsingEnds(H,E){return H.endLineNumber===E.endLineNumber?H.endColumn===E.endColumn?H.startLineNumber===E.startLineNumber?H.startColumn-E.startColumn:H.startLineNumber-E.startLineNumber:H.endColumn-E.endColumn:H.endLineNumber-E.endLineNumber}static spansMultipleLines(H){return H.endLineNumber>H.startLineNumber}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return T}),o.d(w,"e",function(){return N}),o.d(w,"c",function(){return g}),o.d(w,"b",function(){return j}),o.d(w,"f",function(){return ie}),o.d(w,"o",function(){return U}),o.d(w,"j",function(){return q}),o.d(w,"p",function(){return B}),o.d(w,"q",function(){return se}),o.d(w,"l",function(){return ke}),o.d(w,"k",function(){return xe}),o.d(w,"r",function(){return Y}),o.d(w,"n",function(){return Z}),o.d(w,"m",function(){return te}),o.d(w,"d",function(){return h}),o.d(w,"i",function(){return Ae}),o.d(w,"g",function(){return L}),o.d(w,"h",function(){return nt});var h,f=o(0),D=o(13),H=o(23),E=o(41),ge=o(9),W=o(64),Q=o(122),y=o(24),C=o(27),S=o(10),P=o(92),V=o(56),k=o(120),l=o(14);class T{constructor(Ye){this.id=Ye.id,this.precondition=Ye.precondition,this._kbOpts=Ye.kbOpts,this._menuOpts=Ye.menuOpts,this._description=Ye.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let Ye=this._kbOpts.kbExpr;this.precondition&&(Ye=Ye?S.a.and(Ye,this.precondition):this.precondition),P.a.registerCommandAndKeybindingRule({id:this.id,handler:(ht,fe)=>this.runCommand(ht,fe),weight:this._kbOpts.weight,args:this._kbOpts.args,when:Ye,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else C.a.registerCommand({id:this.id,handler:(Ye,ht)=>this.runCommand(Ye,ht),description:this._description})}_registerMenuItem(Ye){y.d.appendMenuItem(Ye.menuId,{group:Ye.group,command:{id:this.id,title:Ye.title,icon:Ye.icon},when:Ye.when,order:Ye.order})}}class N extends T{constructor(){super(...arguments),this._implementations=[]}addImplementation(Ye,ht){return this._implementations.push([Ye,ht]),this._implementations.sort((fe,$)=>$[0]-fe[0]),{dispose:()=>{for(let fe=0;fe<this._implementations.length;fe++)if(this._implementations[fe][1]===ht)return void this._implementations.splice(fe,1)}}}runCommand(Ye,ht){for(let fe of this._implementations)if(fe[1](Ye,ht))return}}class b extends T{constructor(Ye,ht){super(ht),this.command=Ye}runCommand(Ye,ht){return this.command.runCommand(Ye,ht)}}class g extends T{static bindToContribution(Ye){return class extends g{constructor(ht){super(ht),this._callback=ht.handler}runEditorCommand(ht,fe,$){Ye(fe)&&this._callback(Ye(fe),$)}}}runCommand(Ye,ht){let fe=Ye.get(E.a),$=fe.getFocusedCodeEditor()||fe.getActiveCodeEditor();if($)return $.invokeWithinContext(G=>{if(G.get(S.b).contextMatchesRules(Object(l.n)(this.precondition)))return this.runEditorCommand(G,$,ht)})}}class j extends g{constructor(Ye){super(j.convertOptions(Ye)),this.label=Ye.label,this.alias=Ye.alias}static convertOptions(Ye){let ht;function fe($){return $.menuId||($.menuId=y.b.EditorContext),$.title||($.title=Ye.label),$.when=S.a.and(Ye.precondition,$.when),$}return ht=Array.isArray(Ye.menuOpts)?Ye.menuOpts:Ye.menuOpts?[Ye.menuOpts]:[],Array.isArray(Ye.contextMenuOpts)?ht.push(...Ye.contextMenuOpts.map(fe)):Ye.contextMenuOpts&&ht.push(fe(Ye.contextMenuOpts)),Ye.menuOpts=ht,Ye}runEditorCommand(Ye,ht,fe){return this.reportTelemetry(Ye,ht),this.run(Ye,ht,fe||{})}reportTelemetry(Ye,ht){Ye.get(k.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class ie extends j{constructor(Ye){super(Ye),this._implementations=[]}runEditorCommand(Ye,ht,fe){this.reportTelemetry(Ye,ht);for(let $ of this._implementations)if($[1](Ye,fe))return;return this.run(Ye,ht,fe||{})}}function U(ct,Ye){C.a.registerCommand(ct,(ht,fe)=>Ye(ht,fe||{}))}function q(ct,Ye){U(ct,function(ht,fe){let{resource:$,position:G}=fe;if(!($ instanceof H.a))throw Object(D.b)("resource");if(!ge.a.isIPosition(G))throw Object(D.b)("position");let z=ht.get(W.a).getModel($);if(z){let J=ge.a.lift(G);return Ye(z,J,fe)}return ht.get(Q.a).createModelReference($).then(J=>new Promise((Se,A)=>{try{Se(Ye(J.object.textEditorModel,ge.a.lift(G),fe))}catch(ee){A(ee)}}).finally(()=>{J.dispose()}))})}function B(ct,Ye){C.a.registerCommand(ct,function(ht,...fe){let[$,G]=fe;Object(l.b)(H.a.isUri($)),Object(l.b)(ge.a.isIPosition(G));let z=ht.get(W.a).getModel($);if(z){let J=ge.a.lift(G);return Ye(z,J,...fe.slice(2))}return ht.get(Q.a).createModelReference($).then(J=>new Promise((Se,A)=>{try{Se(Ye(J.object.textEditorModel,ge.a.lift(G),fe.slice(2)))}catch(ee){A(ee)}}).finally(()=>{J.dispose()}))})}function se(ct,Ye){C.a.registerCommand(ct,function(ht,...fe){let[$]=fe;Object(l.b)(H.a.isUri($));let G=ht.get(W.a).getModel($);return G?Ye(G,...fe.slice(1)):ht.get(Q.a).createModelReference($).then(z=>new Promise((J,Se)=>{try{J(Ye(z.object.textEditorModel,fe.slice(1)))}catch(A){Se(A)}}).finally(()=>{z.dispose()}))})}function ke(ct){return he.INSTANCE.registerEditorCommand(ct),ct}function xe(ct){let Ye=new ct;return he.INSTANCE.registerEditorAction(Ye),Ye}function Y(ct){return he.INSTANCE.registerEditorAction(ct),ct}function Z(ct){he.INSTANCE.registerEditorAction(ct)}function te(ct,Ye){he.INSTANCE.registerEditorContribution(ct,Ye)}(function(ct){ct.getEditorCommand=function(Ye){return he.INSTANCE.getEditorCommand(Ye)},ct.getEditorActions=function(){return he.INSTANCE.getEditorActions()},ct.getEditorContributions=function(){return he.INSTANCE.getEditorContributions()},ct.getSomeEditorContributions=function(Ye){return he.INSTANCE.getEditorContributions().filter(ht=>Ye.indexOf(ht.id)>=0)},ct.getDiffEditorContributions=function(){return he.INSTANCE.getDiffEditorContributions()}})(h||(h={}));class he{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(Ye,ht){this.editorContributions.push({id:Ye,ctor:ht})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(Ye){Ye.register(),this.editorActions.push(Ye)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(Ye){Ye.register(),this.editorCommands[Ye.id]=Ye}getEditorCommand(Ye){return this.editorCommands[Ye]||null}}function Ce(ct){return ct.register(),ct}he.INSTANCE=new he,V.a.add("editor.contributions",he.INSTANCE);let Ae=Ce(new N({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:y.b.MenubarEditMenu,group:"1_do",title:f.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:y.b.CommandPalette,group:"",title:f.a("undo","Undo"),order:1}]}));Ce(new b(Ae,{id:"default:undo",precondition:void 0}));let L=Ce(new N({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:y.b.MenubarEditMenu,group:"1_do",title:f.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:y.b.CommandPalette,group:"",title:f.a("redo","Redo"),order:1}]}));Ce(new b(L,{id:"default:redo",precondition:void 0}));let nt=Ce(new N({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:y.b.MenubarSelectionMenu,group:"1_basic",title:f.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:y.b.CommandPalette,group:"",title:f.a("selectAll","Select All"),order:1}]}))},function(Ie,w,o){"use strict";o.d(w,"a",function(){return W}),o.d(w,"gc",function(){return y}),o.d(w,"ab",function(){return C}),o.d(w,"Y",function(){return S}),o.d(w,"bb",function(){return P}),o.d(w,"Z",function(){return V}),o.d(w,"h",function(){return k}),o.d(w,"b",function(){return l}),o.d(w,"rc",function(){return T}),o.d(w,"qc",function(){return N}),o.d(w,"uc",function(){return b}),o.d(w,"fb",function(){return g}),o.d(w,"hb",function(){return j}),o.d(w,"gb",function(){return ie}),o.d(w,"db",function(){return U}),o.d(w,"cb",function(){return q}),o.d(w,"eb",function(){return B}),o.d(w,"lb",function(){return se}),o.d(w,"nb",function(){return ke}),o.d(w,"mb",function(){return xe}),o.d(w,"ob",function(){return Y}),o.d(w,"qb",function(){return Z}),o.d(w,"pb",function(){return te}),o.d(w,"ib",function(){return he}),o.d(w,"kb",function(){return Ce}),o.d(w,"jb",function(){return Ae}),o.d(w,"f",function(){return ct}),o.d(w,"e",function(){return Ye}),o.d(w,"g",function(){return ht}),o.d(w,"c",function(){return fe}),o.d(w,"d",function(){return $}),o.d(w,"ic",function(){return G}),o.d(w,"kc",function(){return z}),o.d(w,"lc",function(){return J}),o.d(w,"jc",function(){return Se}),o.d(w,"cc",function(){return A}),o.d(w,"u",function(){return ee}),o.d(w,"t",function(){return de}),o.d(w,"T",function(){return Oe}),o.d(w,"S",function(){return $e}),o.d(w,"L",function(){return pt}),o.d(w,"K",function(){return it}),o.d(w,"D",function(){return At}),o.d(w,"C",function(){return Nt}),o.d(w,"s",function(){return _i}),o.d(w,"B",function(){return wt}),o.d(w,"U",function(){return Ni}),o.d(w,"W",function(){return pi}),o.d(w,"V",function(){return et}),o.d(w,"X",function(){return Wt}),o.d(w,"dc",function(){return Li}),o.d(w,"ec",function(){return Ii}),o.d(w,"fc",function(){return Ai}),o.d(w,"Yb",function(){return Zi}),o.d(w,"Xb",function(){return Bi}),o.d(w,"O",function(){return Lt}),o.d(w,"P",function(){return Di}),o.d(w,"J",function(){return gt}),o.d(w,"Q",function(){return vi}),o.d(w,"R",function(){return Rt}),o.d(w,"v",function(){return vt}),o.d(w,"x",function(){return Ue}),o.d(w,"z",function(){return ut}),o.d(w,"w",function(){return ze}),o.d(w,"y",function(){return st}),o.d(w,"A",function(){return _t}),o.d(w,"H",function(){return oi}),o.d(w,"E",function(){return li}),o.d(w,"G",function(){return gi}),o.d(w,"F",function(){return ki}),o.d(w,"I",function(){return Ri}),o.d(w,"r",function(){return $i}),o.d(w,"N",function(){return Hi}),o.d(w,"M",function(){return yi}),o.d(w,"j",function(){return kt}),o.d(w,"k",function(){return Et}),o.d(w,"n",function(){return si}),o.d(w,"p",function(){return Si}),o.d(w,"o",function(){return Pi}),o.d(w,"q",function(){return Wi}),o.d(w,"l",function(){return xn}),o.d(w,"m",function(){return un}),o.d(w,"xb",function(){return bn}),o.d(w,"yb",function(){return Fn}),o.d(w,"rb",function(){return Mn}),o.d(w,"sb",function(){return Nn}),o.d(w,"Db",function(){return Hn}),o.d(w,"Eb",function(){return Jn}),o.d(w,"Cb",function(){return _o}),o.d(w,"Ab",function(){return pn}),o.d(w,"Bb",function(){return Gn}),o.d(w,"tb",function(){return on}),o.d(w,"zb",function(){return ho}),o.d(w,"ub",function(){return On}),o.d(w,"wb",function(){return Dn}),o.d(w,"vb",function(){return qt}),o.d(w,"tc",function(){return I}),o.d(w,"Gb",function(){return ne}),o.d(w,"Hb",function(){return _e}),o.d(w,"Fb",function(){return Fe}),o.d(w,"Kb",function(){return Xe}),o.d(w,"Ib",function(){return ot}),o.d(w,"Jb",function(){return Mt}),o.d(w,"Lb",function(){return Ot}),o.d(w,"oc",function(){return Tt}),o.d(w,"pc",function(){return Ht}),o.d(w,"mc",function(){return jt}),o.d(w,"nc",function(){return Kt}),o.d(w,"Vb",function(){return wi}),o.d(w,"Wb",function(){return Ti}),o.d(w,"Ob",function(){return ft}),o.d(w,"Pb",function(){return X}),o.d(w,"Nb",function(){return ae}),o.d(w,"Tb",function(){return Ge}),o.d(w,"Mb",function(){return lt}),o.d(w,"Rb",function(){return Dt}),o.d(w,"Sb",function(){return Gt}),o.d(w,"Qb",function(){return ti}),o.d(w,"Zb",function(){return ye}),o.d(w,"bc",function(){return le}),o.d(w,"ac",function(){return ue}),o.d(w,"i",function(){return qe}),o.d(w,"sc",function(){return tt}),o.d(w,"Ub",function(){return rt}),o.d(w,"hc",function(){return Jt});var h=o(56),f=o(16),D=o(6),H=o(0),E=o(188),ge=o(20);let W={ColorContribution:"base.contributions.colors"},Q=new class{constructor(){this._onDidChangeSchema=new D.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(ai,fi,ui,Te=!1,Ee){let ve={id:ai,description:ui,defaults:fi,needsTransparency:Te,deprecationMessage:Ee};this.colorsById[ai]=ve;let Re={type:"string",description:ui,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return Ee&&(Re.deprecationMessage=Ee),this.colorSchema.properties[ai]=Re,this.colorReferenceSchema.enum.push(ai),this.colorReferenceSchema.enumDescriptions.push(ui),this._onDidChangeSchema.fire(),ai}resolveDefaultColor(ai,fi){let ui=this.colorsById[ai];if(ui&&ui.defaults)return Jt(ui.defaults[fi.type],fi)}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((ai,fi)=>{let ui=ai.indexOf(".")===-1?0:1,Te=fi.indexOf(".")===-1?0:1;return ui!==Te?ui-Te:ai.localeCompare(fi)}).map(ai=>`- \`${ai}\`: ${this.colorsById[ai].description}`).join(` +`)}};function y(ai,fi,ui,Te,Ee){return Q.registerColor(ai,fi,ui,Te,Ee)}h.a.add(W.ColorContribution,Q);let C=y("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},H.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),S=y("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},H.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),P=y("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},H.a("iconForeground","The default color for icons in the workbench.")),V=y("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},H.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),k=y("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},H.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),l=y("contrastActiveBorder",{light:null,dark:null,hc:V},H.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),T=y("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},H.a("textLinkForeground","Foreground color for links in text.")),N=y("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:f.a.black},H.a("textCodeBlockBackground","Background color for code blocks in text.")),b=y("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},H.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),g=y("input.background",{dark:"#3C3C3C",light:f.a.white,hc:f.a.black},H.a("inputBoxBackground","Input box background.")),j=y("input.foreground",{dark:C,light:C,hc:C},H.a("inputBoxForeground","Input box foreground.")),ie=y("input.border",{dark:null,light:null,hc:k},H.a("inputBoxBorder","Input box border.")),U=y("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:k},H.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),q=y("inputOption.activeBackground",{dark:tt(V,.4),light:tt(V,.2),hc:f.a.transparent},H.a("inputOption.activeBackground","Background color of activated options in input fields.")),B=y("inputOption.activeForeground",{dark:f.a.white,light:f.a.black,hc:null},H.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),se=y("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:f.a.black},H.a("inputValidationInfoBackground","Input validation background color for information severity.")),ke=y("inputValidation.infoForeground",{dark:null,light:null,hc:null},H.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),xe=y("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:k},H.a("inputValidationInfoBorder","Input validation border color for information severity.")),Y=y("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:f.a.black},H.a("inputValidationWarningBackground","Input validation background color for warning severity.")),Z=y("inputValidation.warningForeground",{dark:null,light:null,hc:null},H.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),te=y("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:k},H.a("inputValidationWarningBorder","Input validation border color for warning severity.")),he=y("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:f.a.black},H.a("inputValidationErrorBackground","Input validation background color for error severity.")),Ce=y("inputValidation.errorForeground",{dark:null,light:null,hc:null},H.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),Ae=y("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:k},H.a("inputValidationErrorBorder","Input validation border color for error severity.")),L=y("dropdown.background",{dark:"#3C3C3C",light:f.a.white,hc:f.a.black},H.a("dropdownBackground","Dropdown background.")),nt=y("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:f.a.white},H.a("dropdownForeground","Dropdown foreground.")),ct=y("button.foreground",{dark:f.a.white,light:f.a.white,hc:f.a.white},H.a("buttonForeground","Button foreground color.")),Ye=y("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},H.a("buttonBackground","Button background color.")),ht=y("button.hoverBackground",{dark:Ze(Ye,.2),light:qe(Ye,.2),hc:null},H.a("buttonHoverBackground","Button background color when hovering.")),fe=y("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:f.a.black},H.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),$=y("badge.foreground",{dark:f.a.white,light:"#333",hc:f.a.white},H.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),G=y("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},H.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),z=y("scrollbarSlider.background",{dark:f.a.fromHex("#797979").transparent(.4),light:f.a.fromHex("#646464").transparent(.4),hc:tt(k,.6)},H.a("scrollbarSliderBackground","Scrollbar slider background color.")),J=y("scrollbarSlider.hoverBackground",{dark:f.a.fromHex("#646464").transparent(.7),light:f.a.fromHex("#646464").transparent(.7),hc:tt(k,.8)},H.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),Se=y("scrollbarSlider.activeBackground",{dark:f.a.fromHex("#BFBFBF").transparent(.4),light:f.a.fromHex("#000000").transparent(.6),hc:k},H.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),A=y("progressBar.background",{dark:f.a.fromHex("#0E70C0"),light:f.a.fromHex("#0E70C0"),hc:k},H.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),ee=y("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},H.a("editorError.foreground","Foreground color of error squigglies in the editor.")),de=y("editorError.border",{dark:null,light:null,hc:f.a.fromHex("#E47777").transparent(.8)},H.a("errorBorder","Border color of error boxes in the editor.")),Oe=y("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},H.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),$e=y("editorWarning.border",{dark:null,light:null,hc:f.a.fromHex("#FFCC00").transparent(.8)},H.a("warningBorder","Border color of warning boxes in the editor.")),pt=y("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},H.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),it=y("editorInfo.border",{dark:null,light:null,hc:f.a.fromHex("#75BEFF").transparent(.8)},H.a("infoBorder","Border color of info boxes in the editor.")),At=y("editorHint.foreground",{dark:f.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},H.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Nt=y("editorHint.border",{dark:null,light:null,hc:f.a.fromHex("#eeeeee").transparent(.8)},H.a("hintBorder","Border color of hint boxes in the editor.")),_i=y("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:f.a.black},H.a("editorBackground","Editor background color.")),wt=y("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:f.a.white},H.a("editorForeground","Editor default foreground color.")),Ni=y("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},H.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),pi=y("editorWidget.foreground",{dark:C,light:C,hc:C},H.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),et=y("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:k},H.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),Wt=y("editorWidget.resizeBorder",{light:null,dark:null,hc:null},H.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),Li=y("quickInput.background",{dark:Ni,light:Ni,hc:Ni},H.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),Ii=y("quickInput.foreground",{dark:pi,light:pi,hc:pi},H.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),Ai=y("quickInputTitle.background",{dark:new f.a(new f.c(255,255,255,.105)),light:new f.a(new f.c(0,0,0,.06)),hc:"#000000"},H.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),Zi=y("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:f.a.white},H.a("pickerGroupForeground","Quick picker color for grouping labels.")),Bi=y("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:f.a.white},H.a("pickerGroupBorder","Quick picker color for grouping borders.")),Lt=y("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},H.a("editorSelectionBackground","Color of the editor selection.")),Di=y("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},H.a("editorSelectionForeground","Color of the selected text for high contrast.")),gt=y("editor.inactiveSelectionBackground",{light:tt(Lt,.5),dark:tt(Lt,.5),hc:tt(Lt,.5)},H.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),vi=y("editor.selectionHighlightBackground",{light:zt(Lt,_i,.3,.6),dark:zt(Lt,_i,.3,.6),hc:null},H.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Rt=y("editor.selectionHighlightBorder",{light:null,dark:null,hc:l},H.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),vt=y("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},H.a("editorFindMatch","Color of the current search match.")),Ue=y("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},H.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),ut=y("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},H.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ze=y("editor.findMatchBorder",{light:null,dark:null,hc:l},H.a("editorFindMatchBorder","Border color of the current search match.")),st=y("editor.findMatchHighlightBorder",{light:null,dark:null,hc:l},H.a("findMatchHighlightBorder","Border color of the other search matches.")),_t=y("editor.findRangeHighlightBorder",{dark:null,light:null,hc:tt(l,.4)},H.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),oi=y("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},H.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),li=y("editorHoverWidget.background",{light:Ni,dark:Ni,hc:Ni},H.a("hoverBackground","Background color of the editor hover.")),gi=y("editorHoverWidget.foreground",{light:pi,dark:pi,hc:pi},H.a("hoverForeground","Foreground color of the editor hover.")),ki=y("editorHoverWidget.border",{light:et,dark:et,hc:et},H.a("hoverBorder","Border color of the editor hover.")),Ri=y("editorHoverWidget.statusBarBackground",{dark:Ze(li,.2),light:qe(li,.05),hc:Ni},H.a("statusBarBackground","Background color of the editor hover status bar.")),$i=y("editorLink.activeForeground",{dark:"#4E94CE",light:f.a.blue,hc:f.a.cyan},H.a("activeLinkForeground","Color of active links.")),Hi=y("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},H.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),yi=y("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},H.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),kt=new f.a(new f.c(155,185,85,.2)),Et=new f.a(new f.c(255,0,0,.2)),si=y("diffEditor.insertedTextBackground",{dark:kt,light:kt,hc:null},H.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Si=y("diffEditor.removedTextBackground",{dark:Et,light:Et,hc:null},H.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Pi=y("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},H.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Wi=y("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},H.a("diffEditorRemovedOutline","Outline color for text that got removed.")),xn=y("diffEditor.border",{dark:null,light:null,hc:k},H.a("diffEditorBorder","Border color between the two text editors.")),un=y("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},H.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),bn=y("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},H.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Fn=y("list.focusForeground",{dark:null,light:null,hc:null},H.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Mn=y("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},H.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Nn=y("list.activeSelectionForeground",{dark:f.a.white,light:f.a.white,hc:null},H.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Hn=y("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},H.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Jn=y("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},H.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),_o=y("list.inactiveFocusBackground",{dark:null,light:null,hc:null},H.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),pn=y("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},H.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Gn=y("list.hoverForeground",{dark:null,light:null,hc:null},H.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),on=y("list.dropBackground",{dark:bn,light:bn,hc:null},H.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),ho=y("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:V},H.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),On=y("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:f.a.black},H.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Dn=y("listFilterWidget.outline",{dark:f.a.transparent,light:f.a.transparent,hc:"#f38518"},H.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),qt=y("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:k},H.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),I=y("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},H.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),ne=y("menu.border",{dark:null,light:null,hc:k},H.a("menuBorder","Border color of menus.")),_e=y("menu.foreground",{dark:nt,light:C,hc:nt},H.a("menuForeground","Foreground color of menu items.")),Fe=y("menu.background",{dark:L,light:L,hc:L},H.a("menuBackground","Background color of menu items.")),Xe=y("menu.selectionForeground",{dark:Nn,light:Nn,hc:Nn},H.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),ot=y("menu.selectionBackground",{dark:Mn,light:Mn,hc:Mn},H.a("menuSelectionBackground","Background color of the selected menu item in menus.")),Mt=y("menu.selectionBorder",{dark:null,light:null,hc:l},H.a("menuSelectionBorder","Border color of the selected menu item in menus.")),Ot=y("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:k},H.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Tt=y("editor.snippetTabstopHighlightBackground",{dark:new f.a(new f.c(124,124,124,.3)),light:new f.a(new f.c(10,50,100,.2)),hc:new f.a(new f.c(124,124,124,.3))},H.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Ht=y("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},H.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),jt=y("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},H.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),Kt=y("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new f.a(new f.c(10,50,100,.5)),hc:"#525252"},H.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),wi=y("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},H.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),Ti=y("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},H.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ft=y("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},H.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),X=y("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},H.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),ae=y("minimap.errorHighlight",{dark:new f.a(new f.c(255,18,18,.7)),light:new f.a(new f.c(255,18,18,.7)),hc:new f.a(new f.c(255,50,50,1))},H.a("minimapError","Minimap marker color for errors.")),Ge=y("minimap.warningHighlight",{dark:Oe,light:Oe,hc:$e},H.a("overviewRuleWarning","Minimap marker color for warnings.")),lt=y("minimap.background",{dark:null,light:null,hc:null},H.a("minimapBackground","Minimap background color.")),Dt=y("minimapSlider.background",{light:tt(z,.5),dark:tt(z,.5),hc:tt(z,.5)},H.a("minimapSliderBackground","Minimap slider background color.")),Gt=y("minimapSlider.hoverBackground",{light:tt(J,.5),dark:tt(J,.5),hc:tt(J,.5)},H.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),ti=y("minimapSlider.activeBackground",{light:tt(Se,.5),dark:tt(Se,.5),hc:tt(Se,.5)},H.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),ye=y("problemsErrorIcon.foreground",{dark:ee,light:ee,hc:ee},H.a("problemsErrorIconForeground","The color used for the problems error icon.")),le=y("problemsWarningIcon.foreground",{dark:Oe,light:Oe,hc:Oe},H.a("problemsWarningIconForeground","The color used for the problems warning icon.")),ue=y("problemsInfoIcon.foreground",{dark:pt,light:pt,hc:pt},H.a("problemsInfoIconForeground","The color used for the problems info icon."));function qe(ai,fi){return ui=>{let Te=Jt(ai,ui);if(Te)return Te.darken(fi)}}function Ze(ai,fi){return ui=>{let Te=Jt(ai,ui);if(Te)return Te.lighten(fi)}}function tt(ai,fi){return ui=>{let Te=Jt(ai,ui);if(Te)return Te.transparent(fi)}}function rt(...ai){return fi=>{for(let ui of ai){let Te=Jt(ui,fi);if(Te)return Te}}}function zt(ai,fi,ui,Te){return Ee=>{let ve=Jt(ai,Ee);if(ve){let Re=Jt(fi,Ee);return Re?ve.isDarkerThan(Re)?f.a.getLighterColor(ve,Re,ui).transparent(Te):f.a.getDarkerColor(ve,Re,ui).transparent(Te):ve.transparent(ui*Te)}}}function Jt(ai,fi){if(ai!==null)return typeof ai=="string"?ai[0]==="#"?f.a.fromHex(ai):fi.getColor(ai):ai instanceof f.a?ai:typeof ai=="function"?ai(fi):void 0}let xi=h.a.as(E.a.JSONContribution);xi.registerSchema("vscode://schemas/workbench-colors",Q.getColorSchema());let Ei=new ge.d(()=>xi.notifySchemaChanged("vscode://schemas/workbench-colors"),200);Q.onDidChangeSchema(()=>{Ei.isScheduled()||Ei.schedule()})},function(Ie,w,o){"use strict";o.d(w,"b",function(){return h}),o.d(w,"a",function(){return E}),o.d(w,"d",function(){return ge}),o.d(w,"c",function(){return W}),o.d(w,"e",function(){return Q});var h,f=o(13),D=o(2),H=o(53);(function(y){function C(g){return(j,ie=null,U)=>{let q,B=!1;return q=g(se=>{if(!B)return q?q.dispose():B=!0,j.call(ie,se)},null,U),B&&q.dispose(),q}}function S(g,j){return l((ie,U=null,q)=>g(B=>ie.call(U,j(B)),null,q))}function P(g,j){return l((ie,U=null,q)=>g(B=>{j(B),ie.call(U,B)},null,q))}function V(g,j){return l((ie,U=null,q)=>g(B=>j(B)&&ie.call(U,B),null,q))}function k(g,j,ie){let U=ie;return S(g,q=>(U=j(U,q),U))}function l(g){let j,ie=new E({onFirstListenerAdd(){j=g(ie.fire,ie)},onLastListenerRemove(){j.dispose()}});return ie.event}function T(g,j,ie=100,U=!1,q){let B,se,ke,xe=0,Y=new E({leakWarningThreshold:q,onFirstListenerAdd(){B=g(Z=>{xe++,se=j(se,Z),U&&!ke&&(Y.fire(se),se=void 0),clearTimeout(ke),ke=setTimeout(()=>{let te=se;se=void 0,ke=void 0,(!U||xe>1)&&Y.fire(te),xe=0},ie)})},onLastListenerRemove(){B.dispose()}});return Y.event}function N(g){let j,ie=!0;return V(g,U=>{let q=ie||U!==j;return ie=!1,j=U,q})}y.None=()=>D.a.None,y.once=C,y.map=S,y.forEach=P,y.filter=V,y.signal=function(g){return g},y.any=function(...g){return(j,ie=null,U)=>Object(D.e)(...g.map(q=>q(B=>j.call(ie,B),null,U)))},y.reduce=k,y.snapshot=l,y.debounce=T,y.stopwatch=function(g){let j=new Date().getTime();return S(C(g),ie=>new Date().getTime()-j)},y.latch=N,y.buffer=function(g,j=!1,ie=[]){let U=ie.slice(),q=g(ke=>{U?U.push(ke):se.fire(ke)}),B=()=>{U&&U.forEach(ke=>se.fire(ke)),U=null},se=new E({onFirstListenerAdd(){q||(q=g(ke=>se.fire(ke)))},onFirstListenerDidAdd(){U&&(j?setTimeout(B):B())},onLastListenerRemove(){q&&q.dispose(),q=null}});return se.event};class b{constructor(j){this.event=j}map(j){return new b(S(this.event,j))}forEach(j){return new b(P(this.event,j))}filter(j){return new b(V(this.event,j))}reduce(j,ie){return new b(k(this.event,j,ie))}latch(){return new b(N(this.event))}debounce(j,ie=100,U=!1,q){return new b(T(this.event,j,ie,U,q))}on(j,ie,U){return this.event(j,ie,U)}once(j,ie,U){return C(this.event)(j,ie,U)}}y.chain=function(g){return new b(g)},y.fromNodeEventEmitter=function(g,j,ie=U=>U){let U=(...B)=>q.fire(ie(...B)),q=new E({onFirstListenerAdd:()=>g.on(j,U),onLastListenerRemove:()=>g.removeListener(j,U)});return q.event},y.fromDOMEventEmitter=function(g,j,ie=U=>U){let U=(...B)=>q.fire(ie(...B)),q=new E({onFirstListenerAdd:()=>g.addEventListener(j,U),onLastListenerRemove:()=>g.removeEventListener(j,U)});return q.event},y.fromPromise=function(g){let j=new E,ie=!1;return g.then(void 0,()=>null).then(()=>{ie?j.fire(void 0):setTimeout(()=>j.fire(void 0),0)}),ie=!0,j.event},y.toPromise=function(g){return new Promise(j=>C(g)(j))}})(h||(h={}));class E{constructor(C){this._disposed=!1,this._options=C,this._leakageMon=void 0}get event(){return this._event||(this._event=(C,S,P)=>{this._listeners||(this._listeners=new H.a);let V=this._listeners.isEmpty();V&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);let k=this._listeners.push(S?[C,S]:C),l,T;return V&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,C,S),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),T={dispose:()=>{l&&l(),T.dispose=E._noop,!this._disposed&&(k(),this._options&&this._options.onLastListenerRemove)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this))}},P instanceof D.b?P.add(T):Array.isArray(P)&&P.push(T),T}),this._event}fire(C){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new H.a);for(let S of this._listeners)this._deliveryQueue.push([S,C]);for(;this._deliveryQueue.size>0;){let[S,P]=this._deliveryQueue.shift();try{typeof S=="function"?S.call(void 0,P):S[0].call(S[1],P)}catch(V){Object(f.e)(V)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}E._noop=function(){};class ge extends E{constructor(C){super(C),this._isPaused=0,this._eventQueue=new H.a,this._mergeFn=C&&C.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){let C=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(C))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(C){this._listeners&&(this._isPaused!==0?this._eventQueue.push(C):super.fire(C))}}class W{constructor(){this.buffers=[]}wrapEvent(C){return(S,P,V)=>C(k=>{let l=this.buffers[this.buffers.length-1];l?l.push(()=>S.call(P,k)):S.call(P,k)},void 0,V)}bufferEvents(C){let S=[];this.buffers.push(S);let P=C();return this.buffers.pop(),S.forEach(V=>V()),P}}class Q{constructor(){this.listening=!1,this.inputEvent=h.None,this.inputEventListener=D.a.None,this.emitter=new E({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(C){this.inputEvent=C,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=C(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h});var h,f=o(10);(function(D){D.editorSimpleInput=new f.c("editorSimpleInput",!1),D.editorTextFocus=new f.c("editorTextFocus",!1),D.focus=new f.c("editorFocus",!1),D.textInputFocus=new f.c("textInputFocus",!1),D.readOnly=new f.c("editorReadonly",!1),D.columnSelection=new f.c("editorColumnSelection",!1),D.writable=D.readOnly.toNegated(),D.hasNonEmptySelection=new f.c("editorHasSelection",!1),D.hasOnlyEmptySelection=D.hasNonEmptySelection.toNegated(),D.hasMultipleSelections=new f.c("editorHasMultipleSelections",!1),D.hasSingleSelection=D.hasMultipleSelections.toNegated(),D.tabMovesFocus=new f.c("editorTabMovesFocus",!1),D.tabDoesNotMoveFocus=D.tabMovesFocus.toNegated(),D.isInWalkThroughSnippet=new f.c("isInEmbeddedEditor",!1),D.canUndo=new f.c("canUndo",!1),D.canRedo=new f.c("canRedo",!1),D.hoverVisible=new f.c("editorHoverVisible",!1),D.inCompositeEditor=new f.c("inCompositeEditor",void 0),D.notInCompositeEditor=D.inCompositeEditor.toNegated(),D.languageId=new f.c("editorLangId",""),D.hasCompletionItemProvider=new f.c("editorHasCompletionItemProvider",!1),D.hasCodeActionsProvider=new f.c("editorHasCodeActionsProvider",!1),D.hasCodeLensProvider=new f.c("editorHasCodeLensProvider",!1),D.hasDefinitionProvider=new f.c("editorHasDefinitionProvider",!1),D.hasDeclarationProvider=new f.c("editorHasDeclarationProvider",!1),D.hasImplementationProvider=new f.c("editorHasImplementationProvider",!1),D.hasTypeDefinitionProvider=new f.c("editorHasTypeDefinitionProvider",!1),D.hasHoverProvider=new f.c("editorHasHoverProvider",!1),D.hasDocumentHighlightProvider=new f.c("editorHasDocumentHighlightProvider",!1),D.hasDocumentSymbolProvider=new f.c("editorHasDocumentSymbolProvider",!1),D.hasReferenceProvider=new f.c("editorHasReferenceProvider",!1),D.hasRenameProvider=new f.c("editorHasRenameProvider",!1),D.hasSignatureHelpProvider=new f.c("editorHasSignatureHelpProvider",!1),D.hasDocumentFormattingProvider=new f.c("editorHasDocumentFormattingProvider",!1),D.hasDocumentSelectionFormattingProvider=new f.c("editorHasDocumentSelectionFormattingProvider",!1),D.hasMultipleDocumentFormattingProvider=new f.c("editorHasMultipleDocumentFormattingProvider",!1),D.hasMultipleDocumentSelectionFormattingProvider=new f.c("editorHasMultipleDocumentSelectionFormattingProvider",!1)})(h||(h={}))},function(Ie,w,o){"use strict";function h(et){return!et||typeof et!="string"||et.trim().length===0}function f(et,Wt,Li="0"){let Ii=""+et,Ai=[Ii];for(let Zi=Ii.length;Zi<Wt;Zi++)Ai.push(Li);return Ai.reverse().join("")}o.d(w,"D",function(){return h}),o.d(w,"M",function(){return f}),o.d(w,"x",function(){return H}),o.d(w,"u",function(){return E}),o.d(w,"v",function(){return ge}),o.d(w,"W",function(){return W}),o.d(w,"K",function(){return Q}),o.d(w,"Q",function(){return y}),o.d(w,"p",function(){return C}),o.d(w,"V",function(){return S}),o.d(w,"S",function(){return P}),o.d(w,"s",function(){return V}),o.d(w,"q",function(){return k}),o.d(w,"P",function(){return l}),o.d(w,"O",function(){return T}),o.d(w,"w",function(){return N}),o.d(w,"z",function(){return b}),o.d(w,"J",function(){return g}),o.d(w,"f",function(){return j}),o.d(w,"h",function(){return ie}),o.d(w,"g",function(){return U}),o.d(w,"i",function(){return q}),o.d(w,"H",function(){return B}),o.d(w,"I",function(){return se}),o.d(w,"t",function(){return xe}),o.d(w,"T",function(){return Z}),o.d(w,"d",function(){return te}),o.d(w,"e",function(){return he}),o.d(w,"F",function(){return Ce}),o.d(w,"G",function(){return Ae}),o.d(w,"j",function(){return L}),o.d(w,"A",function(){return nt}),o.d(w,"L",function(){return Ye}),o.d(w,"N",function(){return ht}),o.d(w,"r",function(){return fe}),o.d(w,"m",function(){return G}),o.d(w,"k",function(){return J}),o.d(w,"B",function(){return A}),o.d(w,"a",function(){return ee}),o.d(w,"n",function(){return de}),o.d(w,"l",function(){return Oe}),o.d(w,"E",function(){return $e}),o.d(w,"C",function(){return pt}),o.d(w,"b",function(){return it}),o.d(w,"U",function(){return At}),o.d(w,"o",function(){return Nt}),o.d(w,"R",function(){return _i}),o.d(w,"y",function(){return wt}),o.d(w,"c",function(){return Ni});let D=/{(\d+)}/g;function H(et,...Wt){return Wt.length===0?et:et.replace(D,function(Li,Ii){let Ai=parseInt(Ii,10);return isNaN(Ai)||Ai<0||Ai>=Wt.length?Li:Wt[Ai]})}function E(et){return et.replace(/[<>&]/g,function(Wt){switch(Wt){case"<":return"<";case">":return">";case"&":return"&";default:return Wt}})}function ge(et){return et.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function W(et,Wt=" "){return y(Q(et,Wt),Wt)}function Q(et,Wt){if(!et||!Wt)return et;let Li=Wt.length;if(Li===0||et.length===0)return et;let Ii=0;for(;et.indexOf(Wt,Ii)===Ii;)Ii+=Li;return et.substring(Ii)}function y(et,Wt){if(!et||!Wt)return et;let Li=Wt.length,Ii=et.length;if(Li===0||Ii===0)return et;let Ai=Ii,Zi=-1;for(;Zi=et.lastIndexOf(Wt,Ai-1),Zi!==-1&&Zi+Li===Ai;){if(Zi===0)return"";Ai=Zi}return et.substring(0,Ai)}function C(et){return et.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function S(et){return et.replace(/\*/g,"")}function P(et,Wt){if(et.length<Wt.length)return!1;if(et===Wt)return!0;for(let Li=0;Li<Wt.length;Li++)if(et[Li]!==Wt[Li])return!1;return!0}function V(et,Wt){let Li=et.length-Wt.length;return Li>0?et.indexOf(Wt,Li)===Li:Li===0&&et===Wt}function k(et,Wt,Li={}){if(!et)throw new Error("Cannot create regex from empty string");Wt||(et=ge(et)),Li.wholeWord&&(/\B/.test(et.charAt(0))||(et="\\b"+et),/\B/.test(et.charAt(et.length-1))||(et+="\\b"));let Ii="";return Li.global&&(Ii+="g"),Li.matchCase||(Ii+="i"),Li.multiline&&(Ii+="m"),Li.unicode&&(Ii+="u"),new RegExp(et,Ii)}function l(et){return et.source==="^"||et.source==="^$"||et.source==="$"||et.source==="^\\s*$"?!1:!(!et.exec("")||et.lastIndex!==0)}function T(et){return(et.global?"g":"")+(et.ignoreCase?"i":"")+(et.multiline?"m":"")+(et.unicode?"u":"")}function N(et){for(let Wt=0,Li=et.length;Wt<Li;Wt++){let Ii=et.charCodeAt(Wt);if(Ii!==32&&Ii!==9)return Wt}return-1}function b(et,Wt=0,Li=et.length){for(let Ii=Wt;Ii<Li;Ii++){let Ai=et.charCodeAt(Ii);if(Ai!==32&&Ai!==9)return et.substring(Wt,Ii)}return et.substring(Wt,Li)}function g(et,Wt=et.length-1){for(let Li=Wt;Li>=0;Li--){let Ii=et.charCodeAt(Li);if(Ii!==32&&Ii!==9)return Li}return-1}function j(et,Wt){return et<Wt?-1:et>Wt?1:0}function ie(et,Wt,Li=0,Ii=et.length,Ai=0,Zi=Wt.length){for(;Li<Ii&&Ai<Zi;Li++,Ai++){let Di=et.charCodeAt(Li),gt=Wt.charCodeAt(Ai);if(Di<gt)return-1;if(Di>gt)return 1}let Bi=Ii-Li,Lt=Zi-Ai;return Bi<Lt?-1:Bi>Lt?1:0}function U(et,Wt){return q(et,Wt,0,et.length,0,Wt.length)}function q(et,Wt,Li=0,Ii=et.length,Ai=0,Zi=Wt.length){for(;Li<Ii&&Ai<Zi;Li++,Ai++){let Di=et.charCodeAt(Li),gt=Wt.charCodeAt(Ai);if(Di===gt)continue;let vi=Di-gt;if((vi!==32||!se(gt))&&(vi!==-32||!se(Di)))return B(Di)&&B(gt)?vi:ie(et.toLowerCase(),Wt.toLowerCase(),Li,Ii,Ai,Zi)}let Bi=Ii-Li,Lt=Zi-Ai;return Bi<Lt?-1:Bi>Lt?1:0}function B(et){return et>=97&&et<=122}function se(et){return et>=65&&et<=90}function ke(et){return B(et)||se(et)}function xe(et,Wt){return et.length===Wt.length&&Y(et,Wt)}function Y(et,Wt,Li=et.length){for(let Ii=0;Ii<Li;Ii++){let Ai=et.charCodeAt(Ii),Zi=Wt.charCodeAt(Ii);if(Ai!==Zi){if(ke(Ai)&&ke(Zi)){let Bi=Math.abs(Ai-Zi);if(Bi!==0&&Bi!==32)return!1}else if(String.fromCharCode(Ai).toLowerCase()!==String.fromCharCode(Zi).toLowerCase())return!1}}return!0}function Z(et,Wt){let Li=Wt.length;return!(Wt.length>et.length)&&Y(et,Wt,Li)}function te(et,Wt){let Li,Ii=Math.min(et.length,Wt.length);for(Li=0;Li<Ii;Li++)if(et.charCodeAt(Li)!==Wt.charCodeAt(Li))return Li;return Ii}function he(et,Wt){let Li,Ii=Math.min(et.length,Wt.length),Ai=et.length-1,Zi=Wt.length-1;for(Li=0;Li<Ii;Li++)if(et.charCodeAt(Ai-Li)!==Wt.charCodeAt(Zi-Li))return Li;return Ii}function Ce(et){return 55296<=et&&et<=56319}function Ae(et){return 56320<=et&&et<=57343}function L(et,Wt){return Wt-56320+(et-55296<<10)+65536}function nt(et,Wt,Li){let Ii=et.charCodeAt(Li);if(Ce(Ii)&&Li+1<Wt){let Ai=et.charCodeAt(Li+1);if(Ae(Ai))return L(Ii,Ai)}return Ii}function ct(et,Wt){let Li=et.charCodeAt(Wt-1);if(Ae(Li)&&Wt>1){let Ii=et.charCodeAt(Wt-2);if(Ce(Ii))return L(Ii,Li)}return Li}function Ye(et,Wt){let Li=pi.getInstance(),Ii=Wt,Ai=et.length,Zi=nt(et,Ai,Wt);Wt+=Zi>=65536?2:1;let Bi=Li.getGraphemeBreakType(Zi);for(;Wt<Ai;){let Lt=nt(et,Ai,Wt),Di=Li.getGraphemeBreakType(Lt);if(Ni(Bi,Di))break;Wt+=Lt>=65536?2:1,Bi=Di}return Wt-Ii}function ht(et,Wt){let Li=pi.getInstance(),Ii=Wt,Ai=ct(et,Wt);Wt-=Ai>=65536?2:1;let Zi=Li.getGraphemeBreakType(Ai);for(;Wt>0;){let Bi=ct(et,Wt),Lt=Li.getGraphemeBreakType(Bi);if(Ni(Lt,Zi))break;Wt-=Bi>=65536?2:1,Zi=Lt}return Ii-Wt}function fe(et){let Wt=et.byteLength,Li=[],Ii=0;for(;Ii<Wt;){let Ai=et[Ii],Zi;if(Zi=Ai>=240&&Ii+3<Wt?(7&et[Ii++])<<18>>>0|(63&et[Ii++])<<12>>>0|(63&et[Ii++])<<6>>>0|(63&et[Ii++])<<0>>>0:Ai>=224&&Ii+2<Wt?(15&et[Ii++])<<12>>>0|(63&et[Ii++])<<6>>>0|(63&et[Ii++])<<0>>>0:Ai>=192&&Ii+1<Wt?(31&et[Ii++])<<6>>>0|(63&et[Ii++])<<0>>>0:et[Ii++],Zi>=0&&Zi<=55295||Zi>=57344&&Zi<=65535)Li.push(String.fromCharCode(Zi));else if(Zi>=65536&&Zi<=1114111){let Bi=Zi-65536,Lt=55296+((1047552&Bi)>>>10),Di=56320+((1023&Bi)>>>0);Li.push(String.fromCharCode(Lt)),Li.push(String.fromCharCode(Di))}else Li.push(String.fromCharCode(65533))}return Li.join("")}let $=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function G(et){return $.test(et)}let z=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function J(et){return z.test(et)}let Se=/^[\t\n\r\x20-\x7E]*$/;function A(et){return Se.test(et)}let ee=/[\u2028\u2029]/;function de(et){return ee.test(et)}function Oe(et){for(let Wt=0,Li=et.length;Wt<Li;Wt++)if($e(et.charCodeAt(Wt)))return!0;return!1}function $e(et){return(et=+et)>=11904&&et<=55215||et>=63744&&et<=64255||et>=65281&&et<=65374}function pt(et){return et>=127462&&et<=127487||et>=9728&&et<=10175||et>=127744&&et<=128591||et>=128640&&et<=128764||et>=128992&&et<=129003||et>=129280&&et<=129535||et>=129648&&et<=129651||et>=129656&&et<=129666||et>=129680&&et<=129685}let it=String.fromCharCode(65279);function At(et){return!!(et&&et.length>0&&et.charCodeAt(0)===65279)}function Nt(et,Wt=!1){return!!et&&(Wt&&(et=et.replace(/\\./g,"")),et.toLowerCase()!==et)}function _i(et){return(et%=52)<26?String.fromCharCode(97+et):String.fromCharCode(65+et-26)}function wt(et){return pi.getInstance().getGraphemeBreakType(et)}function Ni(et,Wt){return et===0?Wt!==5&&Wt!==7:(et!==2||Wt!==3)&&(et===4||et===2||et===3||Wt===4||Wt===2||Wt===3||(et!==8||Wt!==8&&Wt!==9&&Wt!==11&&Wt!==12)&&(et!==11&&et!==9||Wt!==9&&Wt!==10)&&(et!==12&&et!==10||Wt!==10)&&Wt!==5&&Wt!==13&&Wt!==7&&et!==1&&(et!==13||Wt!==14)&&(et!==6||Wt!==6))}class pi{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return pi._INSTANCE||(pi._INSTANCE=new pi),pi._INSTANCE}getGraphemeBreakType(Wt){if(Wt<32)return Wt===10?3:Wt===13?2:4;if(Wt<127)return 0;let Li=this._data,Ii=Li.length/3,Ai=1;for(;Ai<=Ii;)if(Wt<Li[3*Ai])Ai*=2;else{if(!(Wt>Li[3*Ai+1]))return Li[3*Ai+2];Ai=2*Ai+1}return 0}}pi._INSTANCE=null},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h});class h{constructor(D,H){this.lineNumber=D,this.column=H}with(D=this.lineNumber,H=this.column){return D===this.lineNumber&&H===this.column?this:new h(D,H)}delta(D=0,H=0){return this.with(this.lineNumber+D,this.column+H)}equals(D){return h.equals(this,D)}static equals(D,H){return!D&&!H||!!D&&!!H&&D.lineNumber===H.lineNumber&&D.column===H.column}isBefore(D){return h.isBefore(this,D)}static isBefore(D,H){return D.lineNumber<H.lineNumber||!(H.lineNumber<D.lineNumber)&&D.column<H.column}isBeforeOrEqual(D){return h.isBeforeOrEqual(this,D)}static isBeforeOrEqual(D,H){return D.lineNumber<H.lineNumber||!(H.lineNumber<D.lineNumber)&&D.column<=H.column}static compare(D,H){let E=0|D.lineNumber,ge=0|H.lineNumber;return E===ge?(0|D.column)-(0|H.column):E-ge}clone(){return new h(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(D){return new h(D.lineNumber,D.column)}static isIPosition(D){return D&&typeof D.lineNumber=="number"&&typeof D.column=="number"}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o.d(w,"c",function(){return j}),o.d(w,"b",function(){return ie}),o.d(w,"d",function(){return U});var h=o(8),f=o(18),D=o(11);let H=new Map;H.set("false",!1),H.set("true",!0),H.set("isMac",D.f),H.set("isLinux",D.d),H.set("isWindows",D.i),H.set("isWeb",D.h),H.set("isMacNative",D.f&&!D.h);let E=Object.prototype.hasOwnProperty;class ge{static has(B){return C.create(B)}static equals(B,se){return S.create(B,se)}static regex(B,se){return T.create(B,se)}static not(B){return l.create(B)}static and(...B){return b.create(B)}static or(...B){return g.create(B)}static deserialize(B,se=!1){if(B)return this._deserializeOrExpression(B,se)}static _deserializeOrExpression(B,se){let ke=B.split("||");return g.create(ke.map(xe=>this._deserializeAndExpression(xe,se)))}static _deserializeAndExpression(B,se){let ke=B.split("&&");return b.create(ke.map(xe=>this._deserializeOne(xe,se)))}static _deserializeOne(B,se){if((B=B.trim()).indexOf("!=")>=0){let ke=B.split("!=");return k.create(ke[0].trim(),this._deserializeValue(ke[1],se))}if(B.indexOf("==")>=0){let ke=B.split("==");return S.create(ke[0].trim(),this._deserializeValue(ke[1],se))}if(B.indexOf("=~")>=0){let ke=B.split("=~");return T.create(ke[0].trim(),this._deserializeRegexValue(ke[1],se))}if(B.indexOf(" in ")>=0){let ke=B.split(" in ");return P.create(ke[0].trim(),ke[1].trim())}return/^\!\s*/.test(B)?l.create(B.substr(1).trim()):C.create(B)}static _deserializeValue(B,se){if((B=B.trim())==="true")return!0;if(B==="false")return!1;let ke=/^'([^']*)'$/.exec(B);return ke?ke[1].trim():B}static _deserializeRegexValue(B,se){if(Object(h.D)(B)){if(se)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let ke=B.indexOf("/"),xe=B.lastIndexOf("/");if(ke===xe||ke<0){if(se)throw new Error(`bad regexp-value '${B}', missing /-enclosure`);return console.warn(`bad regexp-value '${B}', missing /-enclosure`),null}let Y=B.slice(ke+1,xe),Z=B[xe+1]==="i"?"i":"";try{return new RegExp(Y,Z)}catch(te){if(se)throw new Error(`bad regexp-value '${B}', parse error: ${te}`);return console.warn(`bad regexp-value '${B}', parse error: ${te}`),null}}}function W(q,B){return q.cmp(B)}class Q{constructor(){this.type=0}cmp(B){return this.type-B.type}equals(B){return B.type===this.type}evaluate(B){return!1}serialize(){return"false"}keys(){return[]}negate(){return y.INSTANCE}}Q.INSTANCE=new Q;class y{constructor(){this.type=1}cmp(B){return this.type-B.type}equals(B){return B.type===this.type}evaluate(B){return!0}serialize(){return"true"}keys(){return[]}negate(){return Q.INSTANCE}}y.INSTANCE=new y;class C{constructor(B){this.key=B,this.type=2}static create(B){let se=H.get(B);return typeof se=="boolean"?se?y.INSTANCE:Q.INSTANCE:new C(B)}cmp(B){return B.type!==this.type?this.type-B.type:this.key<B.key?-1:this.key>B.key?1:0}equals(B){return B.type===this.type&&this.key===B.key}evaluate(B){return!!B.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return l.create(this.key)}}class S{constructor(B,se){this.key=B,this.value=se,this.type=4}static create(B,se){if(typeof se=="boolean")return se?C.create(B):l.create(B);let ke=H.get(B);return typeof ke=="boolean"?se===(ke?"true":"false")?y.INSTANCE:Q.INSTANCE:new S(B,se)}cmp(B){return B.type!==this.type?this.type-B.type:this.key<B.key?-1:this.key>B.key?1:this.value<B.value?-1:this.value>B.value?1:0}equals(B){return B.type===this.type&&this.key===B.key&&this.value===B.value}evaluate(B){return B.getValue(this.key)==this.value}serialize(){return this.key+" == '"+this.value+"'"}keys(){return[this.key]}negate(){return k.create(this.key,this.value)}}class P{constructor(B,se){this.key=B,this.valueKey=se,this.type=10}static create(B,se){return new P(B,se)}cmp(B){return B.type!==this.type?this.type-B.type:this.key<B.key?-1:this.key>B.key?1:this.valueKey<B.valueKey?-1:this.valueKey>B.valueKey?1:0}equals(B){return B.type===this.type&&this.key===B.key&&this.valueKey===B.valueKey}evaluate(B){let se=B.getValue(this.valueKey),ke=B.getValue(this.key);return Array.isArray(se)?se.indexOf(ke)>=0:typeof ke=="string"&&typeof se=="object"&&se!==null&&E.call(se,ke)}serialize(){return this.key+" in '"+this.valueKey+"'"}keys(){return[this.key,this.valueKey]}negate(){return V.create(this)}}class V{constructor(B){this._actual=B,this.type=11}static create(B){return new V(B)}cmp(B){return B.type!==this.type?this.type-B.type:this._actual.cmp(B._actual)}equals(B){return B.type===this.type&&this._actual.equals(B._actual)}evaluate(B){return!this._actual.evaluate(B)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(B,se){this.key=B,this.value=se,this.type=5}static create(B,se){if(typeof se=="boolean")return se?l.create(B):C.create(B);let ke=H.get(B);return typeof ke=="boolean"?se===(ke?"true":"false")?Q.INSTANCE:y.INSTANCE:new k(B,se)}cmp(B){return B.type!==this.type?this.type-B.type:this.key<B.key?-1:this.key>B.key?1:this.value<B.value?-1:this.value>B.value?1:0}equals(B){return B.type===this.type&&this.key===B.key&&this.value===B.value}evaluate(B){return B.getValue(this.key)!=this.value}serialize(){return this.key+" != '"+this.value+"'"}keys(){return[this.key]}negate(){return S.create(this.key,this.value)}}class l{constructor(B){this.key=B,this.type=3}static create(B){let se=H.get(B);return typeof se=="boolean"?se?Q.INSTANCE:y.INSTANCE:new l(B)}cmp(B){return B.type!==this.type?this.type-B.type:this.key<B.key?-1:this.key>B.key?1:0}equals(B){return B.type===this.type&&this.key===B.key}evaluate(B){return!B.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return C.create(this.key)}}class T{constructor(B,se){this.key=B,this.regexp=se,this.type=7}static create(B,se){return new T(B,se)}cmp(B){if(B.type!==this.type)return this.type-B.type;if(this.key<B.key)return-1;if(this.key>B.key)return 1;let se=this.regexp?this.regexp.source:"",ke=B.regexp?B.regexp.source:"";return se<ke?-1:se>ke?1:0}equals(B){if(B.type===this.type){let se=this.regexp?this.regexp.source:"",ke=B.regexp?B.regexp.source:"";return this.key===B.key&&se===ke}return!1}evaluate(B){let se=B.getValue(this.key);return!!this.regexp&&this.regexp.test(se)}serialize(){let B=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${B}`}keys(){return[this.key]}negate(){return N.create(this)}}class N{constructor(B){this._actual=B,this.type=8}static create(B){return new N(B)}cmp(B){return B.type!==this.type?this.type-B.type:this._actual.cmp(B._actual)}equals(B){return B.type===this.type&&this._actual.equals(B._actual)}evaluate(B){return!this._actual.evaluate(B)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class b{constructor(B){this.expr=B,this.type=6}static create(B){return b._normalizeArr(B)}cmp(B){if(B.type!==this.type)return this.type-B.type;if(this.expr.length<B.expr.length)return-1;if(this.expr.length>B.expr.length)return 1;for(let se=0,ke=this.expr.length;se<ke;se++){let xe=W(this.expr[se],B.expr[se]);if(xe!==0)return xe}return 0}equals(B){if(B.type===this.type){if(this.expr.length!==B.expr.length)return!1;for(let se=0,ke=this.expr.length;se<ke;se++)if(!this.expr[se].equals(B.expr[se]))return!1;return!0}return!1}evaluate(B){for(let se=0,ke=this.expr.length;se<ke;se++)if(!this.expr[se].evaluate(B))return!1;return!0}static _normalizeArr(B){let se=[],ke=!1;for(let xe of B)if(xe)if(xe.type!==1){if(xe.type===0)return Q.INSTANCE;xe.type!==6?se.push(xe):se.push(...xe.expr)}else ke=!0;if(se.length===0&&ke)return y.INSTANCE;if(se.length!==0){if(se.length===1)return se[0];for(se.sort(W);se.length>1;){let xe=se[se.length-1];if(xe.type!==9)break;se.pop();let Y=se.pop(),Z=g.create(xe.expr.map(te=>b.create([te,Y])));Z&&(se.push(Z),se.sort(W))}return new b(se)}}serialize(){return this.expr.map(B=>B.serialize()).join(" && ")}keys(){let B=[];for(let se of this.expr)B.push(...se.keys());return B}negate(){let B=[];for(let se of this.expr)B.push(se.negate());return g.create(B)}}class g{constructor(B){this.expr=B,this.type=9}static create(B){let se=g._normalizeArr(B);if(se.length!==0)return se.length===1?se[0]:new g(se)}cmp(B){if(B.type!==this.type)return this.type-B.type;if(this.expr.length<B.expr.length)return-1;if(this.expr.length>B.expr.length)return 1;for(let se=0,ke=this.expr.length;se<ke;se++){let xe=W(this.expr[se],B.expr[se]);if(xe!==0)return xe}return 0}equals(B){if(B.type===this.type){if(this.expr.length!==B.expr.length)return!1;for(let se=0,ke=this.expr.length;se<ke;se++)if(!this.expr[se].equals(B.expr[se]))return!1;return!0}return!1}evaluate(B){for(let se=0,ke=this.expr.length;se<ke;se++)if(this.expr[se].evaluate(B))return!0;return!1}static _normalizeArr(B){let se=[],ke=!1;if(B){for(let xe=0,Y=B.length;xe<Y;xe++){let Z=B[xe];if(Z)if(Z.type!==0){if(Z.type===1)return[y.INSTANCE];Z.type!==9?se.push(Z):se=se.concat(Z.expr)}else ke=!0}if(se.length===0&&ke)return[Q.INSTANCE];se.sort(W)}return se}serialize(){return this.expr.map(B=>B.serialize()).join(" || ")}keys(){let B=[];for(let se of this.expr)B.push(...se.keys());return B}negate(){let B=[];for(let ke of this.expr)B.push(ke.negate());let se=ke=>ke.type===9?ke.expr:[ke];for(;B.length>1;){let ke=B.shift(),xe=B.shift(),Y=[];for(let Z of se(ke))for(let te of se(xe))Y.push(ge.and(Z,te));B.unshift(ge.or(...Y))}return B[0]}}class j extends C{constructor(B,se){super(B),this._defaultValue=se}bindTo(B){return B.createKey(this.key,this._defaultValue)}getValue(B){return B.getContextKeyValue(this.key)}toNegated(){return ge.not(this.key)}}let ie=Object(f.c)("contextKeyService"),U="setContext"},function(Ie,w,o){"use strict";(function(h,f){o.d(w,"i",function(){return l}),o.d(w,"f",function(){return T}),o.d(w,"d",function(){return N}),o.d(w,"g",function(){return b}),o.d(w,"h",function(){return g}),o.d(w,"c",function(){return j}),o.d(w,"b",function(){return ie}),o.d(w,"j",function(){return U}),o.d(w,"a",function(){return q}),o.d(w,"e",function(){return ke});let D=!1,H=!1,E=!1,ge=!1,W=!1,Q=!1,y,C="en",S,P,V=h!==void 0&&h.versions!==void 0&&h.versions.electron!==void 0&&h.type==="renderer";if(typeof navigator!="object"||V){if(typeof h=="object"){D=h.platform==="win32",H=h.platform==="darwin",E=h.platform==="linux",y="en",C="en";let xe=h.env.VSCODE_NLS_CONFIG;if(xe)try{let Y=JSON.parse(xe),Z=Y.availableLanguages["*"];y=Y.locale,C=Z||"en",S=Y._translationsConfigFile}catch(Y){}ge=!0}}else P=navigator.userAgent,D=P.indexOf("Windows")>=0,H=P.indexOf("Macintosh")>=0,Q=(P.indexOf("Macintosh")>=0||P.indexOf("iPad")>=0||P.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,E=P.indexOf("Linux")>=0,W=!0,y=navigator.language,C=y;let k=0;H?k=1:D?k=3:E&&(k=2);let l=D,T=H,N=E,b=ge,g=W,j=Q,ie=typeof self=="object"?self:typeof f=="object"?f:{},U=function(){if(ie.setImmediate)return ie.setImmediate.bind(ie);if(typeof ie.postMessage=="function"&&!ie.importScripts){let Y=[];ie.addEventListener("message",te=>{if(te.data&&te.data.vscodeSetImmediateId)for(let he=0,Ce=Y.length;he<Ce;he++){let Ae=Y[he];if(Ae.id===te.data.vscodeSetImmediateId)return Y.splice(he,1),void Ae.callback()}});let Z=0;return te=>{let he=++Z;Y.push({id:he,callback:te}),ie.postMessage({vscodeSetImmediateId:he},"*")}}if(h!==void 0&&typeof h.nextTick=="function")return h.nextTick.bind(h);let xe=Promise.resolve();return Y=>xe.then(Y)}(),q=H||Q?2:D?1:3,B=!0,se=!1;function ke(){if(!se){se=!0;let xe=new Uint8Array(2);xe[0]=1,xe[1]=2,B=new Uint16Array(xe.buffer)[0]===513}return B}}).call(this,o(86),o(137))},function(Ie,w,o){"use strict";o.d(w,"r",function(){return P}),o.d(w,"B",function(){return V}),o.d(w,"F",function(){return k}),o.d(w,"E",function(){return l}),o.d(w,"z",function(){return T}),o.d(w,"h",function(){return N}),o.d(w,"G",function(){return g}),o.d(w,"A",function(){return b}),o.d(w,"n",function(){return j}),o.d(w,"v",function(){return ie}),o.d(w,"w",function(){return U}),o.d(w,"d",function(){return q}),o.d(w,"y",function(){return B}),o.d(w,"p",function(){return se}),o.d(w,"m",function(){return ke}),o.d(w,"i",function(){return xe}),o.d(w,"u",function(){return Y}),o.d(w,"f",function(){return Z}),o.d(w,"e",function(){return te}),o.d(w,"q",function(){return he}),o.d(w,"D",function(){return Ce}),o.d(w,"b",function(){return Ae}),o.d(w,"a",function(){return L}),o.d(w,"g",function(){return nt}),o.d(w,"j",function(){return ct}),o.d(w,"t",function(){return Ye}),o.d(w,"s",function(){return ht}),o.d(w,"c",function(){return fe}),o.d(w,"x",function(){return $}),o.d(w,"o",function(){return G}),o.d(w,"l",function(){return z}),o.d(w,"k",function(){return J}),o.d(w,"C",function(){return Se});var h=o(23),f=o(3),D=o(6),H=o(2),E=o(187),ge=o(42);function W(A,ee,de,Oe){if(Array.isArray(A)){let $e=0;for(let pt of A){let it=W(pt,ee,de,Oe);if(it===10)return it;it>$e&&($e=it)}return $e}if(typeof A=="string")return Oe?A==="*"?5:A===de?10:0:0;if(A){let{language:$e,pattern:pt,scheme:it,hasAccessToAllModels:At}=A;if(!Oe&&!At)return 0;let Nt=0;if(it)if(it===ee.scheme)Nt=10;else{if(it!=="*")return 0;Nt=5}if($e)if($e===de)Nt=10;else{if($e!=="*")return 0;Nt=Math.max(Nt,5)}if(pt){let _i;if(_i=typeof pt=="string"?pt:Object.assign(Object.assign({},pt),{base:Object(ge.d)(pt.base)}),_i!==ee.fsPath&&!Object(E.a)(_i,ee.fsPath))return 0;Nt=10}return Nt}return 0}var Q=o(64);function y(A){return typeof A!="string"&&(Array.isArray(A)?A.every(y):!!A.exclusive)}class C{constructor(){this._clock=0,this._entries=[],this._onDidChange=new D.a}get onDidChange(){return this._onDidChange.event}register(ee,de){let Oe={selector:ee,provider:de,_score:-1,_time:this._clock++};return this._entries.push(Oe),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(H.h)(()=>{if(Oe){let $e=this._entries.indexOf(Oe);$e>=0&&(this._entries.splice($e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Oe=void 0)}})}has(ee){return this.all(ee).length>0}all(ee){if(!ee)return[];this._updateScores(ee);let de=[];for(let Oe of this._entries)Oe._score>0&&de.push(Oe.provider);return de}ordered(ee){let de=[];return this._orderedForEach(ee,Oe=>de.push(Oe.provider)),de}orderedGroups(ee){let de=[],Oe,$e;return this._orderedForEach(ee,pt=>{Oe&&$e===pt._score?Oe.push(pt.provider):($e=pt._score,Oe=[pt.provider],de.push(Oe))}),de}_orderedForEach(ee,de){if(ee){this._updateScores(ee);for(let Oe of this._entries)Oe._score>0&&de(Oe)}}_updateScores(ee){let de={uri:ee.uri.toString(),language:ee.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==de.language||this._lastCandidate.uri!==de.uri){this._lastCandidate=de;for(let Oe of this._entries)if(Oe._score=W(Oe.selector,ee.uri,ee.getLanguageIdentifier().language,Object(Q.b)(ee)),y(Oe.selector)&&Oe._score>0){for(let $e of this._entries)$e._score=0;Oe._score=1e3;break}this._entries.sort(C._compareByScoreAndTime)}}static _compareByScoreAndTime(ee,de){return ee._score<de._score?1:ee._score>de._score?-1:ee._time<de._time?1:ee._time>de._time?-1:0}}var S=o(17);class P{constructor(ee,de){this.language=ee,this.id=de}}class V{static getLanguageId(ee){return(255&ee)>>>0}static getTokenType(ee){return(1792&ee)>>>8}static getFontStyle(ee){return(14336&ee)>>>11}static getForeground(ee){return(8372224&ee)>>>14}static getBackground(ee){return(4286578688&ee)>>>23}static getClassNameFromMetadata(ee){let de="mtk"+this.getForeground(ee),Oe=this.getFontStyle(ee);return 1&Oe&&(de+=" mtki"),2&Oe&&(de+=" mtkb"),4&Oe&&(de+=" mtku"),de}static getInlineStyleFromMetadata(ee,de){let Oe=this.getForeground(ee),$e=this.getFontStyle(ee),pt=`color: ${de[Oe]};`;return 1&$e&&(pt+="font-style: italic;"),2&$e&&(pt+="font-weight: bold;"),4&$e&&(pt+="text-decoration: underline;"),pt}}let k=function(){let A=Object.create(null);return A[0]="symbol-method",A[1]="symbol-function",A[2]="symbol-constructor",A[3]="symbol-field",A[4]="symbol-variable",A[5]="symbol-class",A[6]="symbol-struct",A[7]="symbol-interface",A[8]="symbol-module",A[9]="symbol-property",A[10]="symbol-event",A[11]="symbol-operator",A[12]="symbol-unit",A[13]="symbol-value",A[14]="symbol-constant",A[15]="symbol-enum",A[16]="symbol-enum-member",A[17]="symbol-keyword",A[27]="symbol-snippet",A[18]="symbol-text",A[19]="symbol-color",A[20]="symbol-file",A[21]="symbol-reference",A[22]="symbol-customcolor",A[23]="symbol-folder",A[24]="symbol-type-parameter",A[25]="account",A[26]="issues",function(ee){let de=A[ee],Oe=de&&S.c.get(de);return Oe||(console.info("No codicon found for CompletionItemKind "+ee),Oe=S.a.symbolProperty),Oe.classNames}}(),l=function(){let A=Object.create(null);return A.method=0,A.function=1,A.constructor=2,A.field=3,A.variable=4,A.class=5,A.struct=6,A.interface=7,A.module=8,A.property=9,A.event=10,A.operator=11,A.unit=12,A.value=13,A.constant=14,A.enum=15,A["enum-member"]=16,A.enumMember=16,A.keyword=17,A.snippet=27,A.text=18,A.color=19,A.file=20,A.reference=21,A.customcolor=22,A.folder=23,A["type-parameter"]=24,A.typeParameter=24,A.account=25,A.issue=26,function(ee,de){let Oe=A[ee];return Oe!==void 0||de||(Oe=9),Oe}}();var T,N,b;function g(A){return A&&h.a.isUri(A.uri)&&f.a.isIRange(A.range)&&(f.a.isIRange(A.originSelectionRange)||f.a.isIRange(A.targetSelectionRange))}(function(A){A[A.Invoke=1]="Invoke",A[A.TriggerCharacter=2]="TriggerCharacter",A[A.ContentChange=3]="ContentChange"})(T||(T={})),function(A){A[A.Text=0]="Text",A[A.Read=1]="Read",A[A.Write=2]="Write"}(N||(N={})),function(A){let ee=new Map;ee.set("file",0),ee.set("module",1),ee.set("namespace",2),ee.set("package",3),ee.set("class",4),ee.set("method",5),ee.set("property",6),ee.set("field",7),ee.set("constructor",8),ee.set("enum",9),ee.set("interface",10),ee.set("function",11),ee.set("variable",12),ee.set("constant",13),ee.set("string",14),ee.set("number",15),ee.set("boolean",16),ee.set("array",17),ee.set("object",18),ee.set("key",19),ee.set("null",20),ee.set("enum-member",21),ee.set("struct",22),ee.set("event",23),ee.set("operator",24),ee.set("type-parameter",25);let de=new Map;de.set(0,"file"),de.set(1,"module"),de.set(2,"namespace"),de.set(3,"package"),de.set(4,"class"),de.set(5,"method"),de.set(6,"property"),de.set(7,"field"),de.set(8,"constructor"),de.set(9,"enum"),de.set(10,"interface"),de.set(11,"function"),de.set(12,"variable"),de.set(13,"constant"),de.set(14,"string"),de.set(15,"number"),de.set(16,"boolean"),de.set(17,"array"),de.set(18,"object"),de.set(19,"key"),de.set(20,"null"),de.set(21,"enum-member"),de.set(22,"struct"),de.set(23,"event"),de.set(24,"operator"),de.set(25,"type-parameter"),A.fromString=function(Oe){return ee.get(Oe)},A.toString=function(Oe){return de.get(Oe)},A.toCssClassName=function(Oe,$e){let pt=de.get(Oe),it=pt&&S.c.get("symbol-"+pt);return it||(console.info("No codicon found for SymbolKind "+Oe),it=S.a.symbolProperty),`${$e?"inline":"block"} ${it.classNames}`}}(b||(b={}));class j{constructor(ee){this.value=ee}}j.Comment=new j("comment"),j.Imports=new j("imports"),j.Region=new j("region");let ie=new C,U=new C,q=new C,B=new C,se=new C,ke=new C,xe=new C,Y=new C,Z=new C,te=new C,he=new C,Ce=new C,Ae=new C,L=new C,nt=new C,ct=new C,Ye=new C,ht=new C,fe=new C,$=new C,G=new C,z=new C,J=new C,Se=new class{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new D.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(A){this._onDidChange.fire({changedLanguages:A,changedColorMap:!1})}register(A,ee){return this._map.set(A,ee),this.fire([A]),Object(H.h)(()=>{this._map.get(A)===ee&&(this._map.delete(A),this.fire([A]))})}registerPromise(A,ee){let de=null,Oe=!1;return this._promises.set(A,ee.then($e=>{this._promises.delete(A),!Oe&&$e&&(de=this.register(A,$e))})),Object(H.h)(()=>{Oe=!0,de&&de.dispose()})}getPromise(A){let ee=this.get(A);if(ee)return Promise.resolve(ee);let de=this._promises.get(A);return de?de.then(Oe=>this.get(A)):null}get(A){return this._map.get(A)||null}setColorMap(A){this._colorMap=A,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}},function(Ie,w,o){"use strict";o.d(w,"e",function(){return f}),o.d(w,"f",function(){return D}),o.d(w,"g",function(){return H}),o.d(w,"d",function(){return E}),o.d(w,"a",function(){return ge}),o.d(w,"b",function(){return W}),o.d(w,"c",function(){return Q});let h=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(y){setTimeout(()=>{throw y.stack?new Error(y.message+` + +`+y.stack):y},0)}}emit(y){this.listeners.forEach(C=>{C(y)})}onUnexpectedError(y){this.unexpectedErrorHandler(y),this.emit(y)}onUnexpectedExternalError(y){this.unexpectedErrorHandler(y)}};function f(y){E(y)||h.onUnexpectedError(y)}function D(y){E(y)||h.onUnexpectedExternalError(y)}function H(y){if(y instanceof Error){let{name:C,message:S}=y;return{$isError:!0,name:C,message:S,stack:y.stacktrace||y.stack}}return y}function E(y){return y instanceof Error&&y.name==="Canceled"&&y.message==="Canceled"}function ge(){let y=new Error("Canceled");return y.name=y.message,y}function W(y){return y?new Error("Illegal argument: "+y):new Error("Illegal argument")}function Q(y){return y?new Error("Illegal state: "+y):new Error("Illegal state")}},function(Ie,w,o){"use strict";function h(T){return Array.isArray(T)}function f(T){return typeof T=="string"}function D(T){return!(typeof T!="object"||T===null||Array.isArray(T)||T instanceof RegExp||T instanceof Date)}function H(T){return typeof T=="number"&&!isNaN(T)}function E(T){return T===!0||T===!1}function ge(T){return T===void 0}function W(T){return ge(T)||T===null}function Q(T,N){if(!T)throw new Error(N?`Unexpected type, expected '${N}'`:"Unexpected type")}function y(T){if(W(T))throw new Error("Assertion Failed: argument is undefined or null");return T}function C(T){return typeof T=="function"}function S(T,N){let b=Math.min(T.length,N.length);for(let g=0;g<b;g++)P(T[g],N[g])}function P(T,N){if(f(N)){if(typeof T!==N)throw new Error("argument does not match constraint: typeof "+N)}else if(C(N)){try{if(T instanceof N)return}catch(b){}if(!W(T)&&T.constructor===N||N.length===1&&N.call(void 0,T)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function V(T){let N=[];for(let b of function(g){let j=[],ie=Object.getPrototypeOf(g);for(;Object.prototype!==ie;)j=j.concat(Object.getOwnPropertyNames(ie)),ie=Object.getPrototypeOf(ie);return j}(T))typeof T[b]=="function"&&N.push(b);return N}function k(T,N){let b=j=>function(){let ie=Array.prototype.slice.call(arguments,0);return N(j,ie)},g={};for(let j of T)g[j]=b(j);return g}function l(T){return T===null?void 0:T}o.d(w,"e",function(){return h}),o.d(w,"j",function(){return f}),o.d(w,"i",function(){return D}),o.d(w,"h",function(){return H}),o.d(w,"f",function(){return E}),o.d(w,"k",function(){return ge}),o.d(w,"l",function(){return W}),o.d(w,"b",function(){return Q}),o.d(w,"a",function(){return y}),o.d(w,"g",function(){return C}),o.d(w,"m",function(){return S}),o.d(w,"d",function(){return V}),o.d(w,"c",function(){return k}),o.d(w,"n",function(){return l})},function(Ie,w,o){"use strict";function h(U,q=0){return U[U.length-(1+q)]}function f(U){if(U.length===0)throw new Error("Invalid tail call");return[U.slice(0,U.length-1),U[U.length-1]]}function D(U,q,B=(se,ke)=>se===ke){if(U===q)return!0;if(!U||!q||U.length!==q.length)return!1;for(let se=0,ke=U.length;se<ke;se++)if(!B(U[se],q[se]))return!1;return!0}function H(U,q,B){let se=0,ke=U.length-1;for(;se<=ke;){let xe=(se+ke)/2|0,Y=B(U[xe],q);if(Y<0)se=xe+1;else{if(!(Y>0))return xe;ke=xe-1}}return-(se+1)}function E(U,q){let B=0,se=U.length;if(se===0)return 0;for(;B<se;){let ke=Math.floor((B+se)/2);q(U[ke])?se=ke:B=ke+1}return B}function ge(U,q){return function B(se,ke,xe,Y,Z){if(Y<=xe)return;let te=xe+(Y-xe)/2|0;B(se,ke,xe,te,Z),B(se,ke,te+1,Y,Z),!(ke(se[te],se[te+1])<=0)&&function(he,Ce,Ae,L,nt,ct){let Ye=Ae,ht=L+1;for(let fe=Ae;fe<=nt;fe++)ct[fe]=he[fe];for(let fe=Ae;fe<=nt;fe++)Ye>L?he[fe]=ct[ht++]:ht>nt?he[fe]=ct[Ye++]:Ce(ct[ht],ct[Ye])<0?he[fe]=ct[ht++]:he[fe]=ct[Ye++]}(se,ke,xe,te,Y,Z)}(U,q,0,U.length-1,[]),U}function W(U,q){let B=[],se;for(let ke of ge(U.slice(0),q))se&&q(se[0],ke)===0?se.push(ke):(se=[ke],B.push(se));return B}function Q(U){return U.filter(q=>!!q)}function y(U){return!Array.isArray(U)||U.length===0}function C(U){return Array.isArray(U)&&U.length>0}function S(U,q){if(!q)return U.filter((se,ke)=>U.indexOf(se)===ke);let B=Object.create(null);return U.filter(se=>{let ke=q(se);return!B[ke]&&(B[ke]=!0,!0)})}function P(U){let q=new Set;return U.filter(B=>!q.has(B)&&(q.add(B),!0))}function V(U,q){for(let B=0;B<U.length;B++)if(q(U[B]))return B;return-1}function k(U,q,B){let se=V(U,q);return se<0?B:U[se]}function l(U,q){return U.length>0?U[0]:q}function T(U){return[].concat(...U)}function N(U,q){let B=typeof q=="number"?U:0;typeof q=="number"?B=U:(B=0,q=U);let se=[];if(B<=q)for(let ke=B;ke<q;ke++)se.push(ke);else for(let ke=B;ke>q;ke--)se.push(ke);return se}function b(U,q,B){let se=U.slice(0,q),ke=U.slice(q);return se.concat(B,ke)}function g(U,q){let B=U.indexOf(q);B>-1&&(U.splice(B,1),U.unshift(q))}function j(U,q){let B=U.indexOf(q);B>-1&&(U.splice(B,1),U.push(q))}function ie(U){return Array.isArray(U)?U:[U]}o.d(w,"t",function(){return h}),o.d(w,"u",function(){return f}),o.d(w,"g",function(){return D}),o.d(w,"c",function(){return H}),o.d(w,"h",function(){return E}),o.d(w,"p",function(){return ge}),o.d(w,"m",function(){return W}),o.d(w,"d",function(){return Q}),o.d(w,"n",function(){return y}),o.d(w,"o",function(){return C}),o.d(w,"e",function(){return S}),o.d(w,"f",function(){return P}),o.d(w,"j",function(){return V}),o.d(w,"i",function(){return k}),o.d(w,"k",function(){return l}),o.d(w,"l",function(){return T}),o.d(w,"s",function(){return N}),o.d(w,"a",function(){return b}),o.d(w,"r",function(){return g}),o.d(w,"q",function(){return j}),o.d(w,"b",function(){return ie})},function(Ie,w,o){"use strict";function h(ge,W){let Q=Math.pow(10,W);return Math.round(ge*Q)/Q}o.d(w,"c",function(){return f}),o.d(w,"b",function(){return H}),o.d(w,"a",function(){return E});class f{constructor(W,Q,y,C=1){this.r=0|Math.min(255,Math.max(0,W)),this.g=0|Math.min(255,Math.max(0,Q)),this.b=0|Math.min(255,Math.max(0,y)),this.a=h(Math.max(Math.min(1,C),0),3)}static equals(W,Q){return W.r===Q.r&&W.g===Q.g&&W.b===Q.b&&W.a===Q.a}}class D{constructor(W,Q,y,C){this.h=0|Math.max(Math.min(360,W),0),this.s=h(Math.max(Math.min(1,Q),0),3),this.l=h(Math.max(Math.min(1,y),0),3),this.a=h(Math.max(Math.min(1,C),0),3)}static equals(W,Q){return W.h===Q.h&&W.s===Q.s&&W.l===Q.l&&W.a===Q.a}static fromRGBA(W){let Q=W.r/255,y=W.g/255,C=W.b/255,S=W.a,P=Math.max(Q,y,C),V=Math.min(Q,y,C),k=0,l=0,T=(V+P)/2,N=P-V;if(N>0){switch(l=Math.min(T<=.5?N/(2*T):N/(2-2*T),1),P){case Q:k=(y-C)/N+(y<C?6:0);break;case y:k=(C-Q)/N+2;break;case C:k=(Q-y)/N+4}k*=60,k=Math.round(k)}return new D(k,l,T,S)}static _hue2rgb(W,Q,y){return y<0&&(y+=1),y>1&&(y-=1),y<1/6?W+6*(Q-W)*y:y<.5?Q:y<2/3?W+(Q-W)*(2/3-y)*6:W}static toRGBA(W){let Q=W.h/360,{s:y,l:C,a:S}=W,P,V,k;if(y===0)P=V=k=C;else{let l=C<.5?C*(1+y):C+y-C*y,T=2*C-l;P=D._hue2rgb(T,l,Q+1/3),V=D._hue2rgb(T,l,Q),k=D._hue2rgb(T,l,Q-1/3)}return new f(Math.round(255*P),Math.round(255*V),Math.round(255*k),S)}}class H{constructor(W,Q,y,C){this.h=0|Math.max(Math.min(360,W),0),this.s=h(Math.max(Math.min(1,Q),0),3),this.v=h(Math.max(Math.min(1,y),0),3),this.a=h(Math.max(Math.min(1,C),0),3)}static equals(W,Q){return W.h===Q.h&&W.s===Q.s&&W.v===Q.v&&W.a===Q.a}static fromRGBA(W){let Q=W.r/255,y=W.g/255,C=W.b/255,S=Math.max(Q,y,C),P=S-Math.min(Q,y,C),V=S===0?0:P/S,k;return k=P===0?0:S===Q?((y-C)/P%6+6)%6:S===y?(C-Q)/P+2:(Q-y)/P+4,new H(Math.round(60*k),V,S,W.a)}static toRGBA(W){let{h:Q,s:y,v:C,a:S}=W,P=C*y,V=P*(1-Math.abs(Q/60%2-1)),k=C-P,[l,T,N]=[0,0,0];return Q<60?(l=P,T=V):Q<120?(l=V,T=P):Q<180?(T=P,N=V):Q<240?(T=V,N=P):Q<300?(l=V,N=P):Q<360&&(l=P,N=V),l=Math.round(255*(l+k)),T=Math.round(255*(T+k)),N=Math.round(255*(N+k)),new f(l,T,N,S)}}class E{constructor(W){if(!W)throw new Error("Color needs a value");if(W instanceof f)this.rgba=W;else if(W instanceof D)this._hsla=W,this.rgba=D.toRGBA(W);else{if(!(W instanceof H))throw new Error("Invalid color ctor argument");this._hsva=W,this.rgba=H.toRGBA(W)}}static fromHex(W){return E.Format.CSS.parseHex(W)||E.red}get hsla(){return this._hsla?this._hsla:D.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:H.fromRGBA(this.rgba)}equals(W){return!!W&&f.equals(this.rgba,W.rgba)&&D.equals(this.hsla,W.hsla)&&H.equals(this.hsva,W.hsva)}getRelativeLuminance(){return h(.2126*E._relativeLuminanceForComponent(this.rgba.r)+.7152*E._relativeLuminanceForComponent(this.rgba.g)+.0722*E._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(W){let Q=W/255;return Q<=.03928?Q/12.92:Math.pow((Q+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(W){return this.getRelativeLuminance()>W.getRelativeLuminance()}isDarkerThan(W){return this.getRelativeLuminance()<W.getRelativeLuminance()}lighten(W){return new E(new D(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*W,this.hsla.a))}darken(W){return new E(new D(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*W,this.hsla.a))}transparent(W){let{r:Q,g:y,b:C,a:S}=this.rgba;return new E(new f(Q,y,C,S*W))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new E(new f(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return""+E.Format.CSS.format(this)}static getLighterColor(W,Q,y){if(W.isLighterThan(Q))return W;y=y||.5;let C=W.getRelativeLuminance(),S=Q.getRelativeLuminance();return y=y*(S-C)/S,W.lighten(y)}static getDarkerColor(W,Q,y){if(W.isDarkerThan(Q))return W;y=y||.5;let C=W.getRelativeLuminance();return y=y*(C-Q.getRelativeLuminance())/C,W.darken(y)}}E.white=new E(new f(255,255,255,1)),E.black=new E(new f(0,0,0,1)),E.red=new E(new f(255,0,0,1)),E.blue=new E(new f(0,0,255,1)),E.cyan=new E(new f(0,255,255,1)),E.lightgrey=new E(new f(211,211,211,1)),E.transparent=new E(new f(0,0,0,0)),function(ge){let W;(function(Q){let y;(function(C){function S(V){let k=V.toString(16);return k.length!==2?"0"+k:k}function P(V){switch(V){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}C.formatRGB=function(V){return V.rgba.a===1?`rgb(${V.rgba.r}, ${V.rgba.g}, ${V.rgba.b})`:ge.Format.CSS.formatRGBA(V)},C.formatRGBA=function(V){return`rgba(${V.rgba.r}, ${V.rgba.g}, ${V.rgba.b}, ${+V.rgba.a.toFixed(2)})`},C.formatHSL=function(V){return V.hsla.a===1?`hsl(${V.hsla.h}, ${(100*V.hsla.s).toFixed(2)}%, ${(100*V.hsla.l).toFixed(2)}%)`:ge.Format.CSS.formatHSLA(V)},C.formatHSLA=function(V){return`hsla(${V.hsla.h}, ${(100*V.hsla.s).toFixed(2)}%, ${(100*V.hsla.l).toFixed(2)}%, ${V.hsla.a.toFixed(2)})`},C.formatHex=function(V){return`#${S(V.rgba.r)}${S(V.rgba.g)}${S(V.rgba.b)}`},C.formatHexA=function(V,k=!1){return k&&V.rgba.a===1?ge.Format.CSS.formatHex(V):`#${S(V.rgba.r)}${S(V.rgba.g)}${S(V.rgba.b)}${S(Math.round(255*V.rgba.a))}`},C.format=function(V){return V.isOpaque()?ge.Format.CSS.formatHex(V):ge.Format.CSS.formatRGBA(V)},C.parseHex=function(V){let k=V.length;if(k===0||V.charCodeAt(0)!==35)return null;if(k===7){let l=16*P(V.charCodeAt(1))+P(V.charCodeAt(2)),T=16*P(V.charCodeAt(3))+P(V.charCodeAt(4)),N=16*P(V.charCodeAt(5))+P(V.charCodeAt(6));return new ge(new f(l,T,N,1))}if(k===9){let l=16*P(V.charCodeAt(1))+P(V.charCodeAt(2)),T=16*P(V.charCodeAt(3))+P(V.charCodeAt(4)),N=16*P(V.charCodeAt(5))+P(V.charCodeAt(6)),b=16*P(V.charCodeAt(7))+P(V.charCodeAt(8));return new ge(new f(l,T,N,b/255))}if(k===4){let l=P(V.charCodeAt(1)),T=P(V.charCodeAt(2)),N=P(V.charCodeAt(3));return new ge(new f(16*l+l,16*T+T,16*N+N))}if(k===5){let l=P(V.charCodeAt(1)),T=P(V.charCodeAt(2)),N=P(V.charCodeAt(3)),b=P(V.charCodeAt(4));return new ge(new f(16*l+l,16*T+T,16*N+N,(16*b+b)/255))}return null}})(y=Q.CSS||(Q.CSS={}))})(W=ge.Format||(ge.Format={}))}(E||(E={}))},function(Ie,w,o){"use strict";o.d(w,"c",function(){return H}),o.d(w,"e",function(){return E}),o.d(w,"a",function(){return ge}),o.d(w,"b",function(){return Q}),o.d(w,"d",function(){return C}),o.d(w,"g",function(){return S}),o.d(w,"f",function(){return P}),o.d(w,"h",function(){return k});var h=o(151),f=o(6);let D=new class{constructor(){this._icons=new Map,this._onDidRegister=new f.a}add(l){this._icons.has(l.id)?console.error("Duplicate registration of codicon "+l.id):(this._icons.set(l.id,l),this._onDidRegister.fire(l))}get(l){return this._icons.get(l)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}},H=D;function E(l,T,N){return new ge(l,T)}class ge{constructor(T,N,b){this.id=T,this.definition=N,this.description=b,D.add(this)}get classNames(){return"codicon codicon-"+this.id}get cssSelector(){return".codicon.codicon-"+this.id}}(function(l){l.add=new l("add",{character:"\\ea60"}),l.plus=new l("plus",{character:"\\ea60"}),l.gistNew=new l("gist-new",{character:"\\ea60"}),l.repoCreate=new l("repo-create",{character:"\\ea60"}),l.lightbulb=new l("lightbulb",{character:"\\ea61"}),l.lightBulb=new l("light-bulb",{character:"\\ea61"}),l.repo=new l("repo",{character:"\\ea62"}),l.repoDelete=new l("repo-delete",{character:"\\ea62"}),l.gistFork=new l("gist-fork",{character:"\\ea63"}),l.repoForked=new l("repo-forked",{character:"\\ea63"}),l.gitPullRequest=new l("git-pull-request",{character:"\\ea64"}),l.gitPullRequestAbandoned=new l("git-pull-request-abandoned",{character:"\\ea64"}),l.recordKeys=new l("record-keys",{character:"\\ea65"}),l.keyboard=new l("keyboard",{character:"\\ea65"}),l.tag=new l("tag",{character:"\\ea66"}),l.tagAdd=new l("tag-add",{character:"\\ea66"}),l.tagRemove=new l("tag-remove",{character:"\\ea66"}),l.person=new l("person",{character:"\\ea67"}),l.personAdd=new l("person-add",{character:"\\ea67"}),l.personFollow=new l("person-follow",{character:"\\ea67"}),l.personOutline=new l("person-outline",{character:"\\ea67"}),l.personFilled=new l("person-filled",{character:"\\ea67"}),l.gitBranch=new l("git-branch",{character:"\\ea68"}),l.gitBranchCreate=new l("git-branch-create",{character:"\\ea68"}),l.gitBranchDelete=new l("git-branch-delete",{character:"\\ea68"}),l.sourceControl=new l("source-control",{character:"\\ea68"}),l.mirror=new l("mirror",{character:"\\ea69"}),l.mirrorPublic=new l("mirror-public",{character:"\\ea69"}),l.star=new l("star",{character:"\\ea6a"}),l.starAdd=new l("star-add",{character:"\\ea6a"}),l.starDelete=new l("star-delete",{character:"\\ea6a"}),l.starEmpty=new l("star-empty",{character:"\\ea6a"}),l.comment=new l("comment",{character:"\\ea6b"}),l.commentAdd=new l("comment-add",{character:"\\ea6b"}),l.alert=new l("alert",{character:"\\ea6c"}),l.warning=new l("warning",{character:"\\ea6c"}),l.search=new l("search",{character:"\\ea6d"}),l.searchSave=new l("search-save",{character:"\\ea6d"}),l.logOut=new l("log-out",{character:"\\ea6e"}),l.signOut=new l("sign-out",{character:"\\ea6e"}),l.logIn=new l("log-in",{character:"\\ea6f"}),l.signIn=new l("sign-in",{character:"\\ea6f"}),l.eye=new l("eye",{character:"\\ea70"}),l.eyeUnwatch=new l("eye-unwatch",{character:"\\ea70"}),l.eyeWatch=new l("eye-watch",{character:"\\ea70"}),l.circleFilled=new l("circle-filled",{character:"\\ea71"}),l.primitiveDot=new l("primitive-dot",{character:"\\ea71"}),l.closeDirty=new l("close-dirty",{character:"\\ea71"}),l.debugBreakpoint=new l("debug-breakpoint",{character:"\\ea71"}),l.debugBreakpointDisabled=new l("debug-breakpoint-disabled",{character:"\\ea71"}),l.debugHint=new l("debug-hint",{character:"\\ea71"}),l.primitiveSquare=new l("primitive-square",{character:"\\ea72"}),l.edit=new l("edit",{character:"\\ea73"}),l.pencil=new l("pencil",{character:"\\ea73"}),l.info=new l("info",{character:"\\ea74"}),l.issueOpened=new l("issue-opened",{character:"\\ea74"}),l.gistPrivate=new l("gist-private",{character:"\\ea75"}),l.gitForkPrivate=new l("git-fork-private",{character:"\\ea75"}),l.lock=new l("lock",{character:"\\ea75"}),l.mirrorPrivate=new l("mirror-private",{character:"\\ea75"}),l.close=new l("close",{character:"\\ea76"}),l.removeClose=new l("remove-close",{character:"\\ea76"}),l.x=new l("x",{character:"\\ea76"}),l.repoSync=new l("repo-sync",{character:"\\ea77"}),l.sync=new l("sync",{character:"\\ea77"}),l.clone=new l("clone",{character:"\\ea78"}),l.desktopDownload=new l("desktop-download",{character:"\\ea78"}),l.beaker=new l("beaker",{character:"\\ea79"}),l.microscope=new l("microscope",{character:"\\ea79"}),l.vm=new l("vm",{character:"\\ea7a"}),l.deviceDesktop=new l("device-desktop",{character:"\\ea7a"}),l.file=new l("file",{character:"\\ea7b"}),l.fileText=new l("file-text",{character:"\\ea7b"}),l.more=new l("more",{character:"\\ea7c"}),l.ellipsis=new l("ellipsis",{character:"\\ea7c"}),l.kebabHorizontal=new l("kebab-horizontal",{character:"\\ea7c"}),l.mailReply=new l("mail-reply",{character:"\\ea7d"}),l.reply=new l("reply",{character:"\\ea7d"}),l.organization=new l("organization",{character:"\\ea7e"}),l.organizationFilled=new l("organization-filled",{character:"\\ea7e"}),l.organizationOutline=new l("organization-outline",{character:"\\ea7e"}),l.newFile=new l("new-file",{character:"\\ea7f"}),l.fileAdd=new l("file-add",{character:"\\ea7f"}),l.newFolder=new l("new-folder",{character:"\\ea80"}),l.fileDirectoryCreate=new l("file-directory-create",{character:"\\ea80"}),l.trash=new l("trash",{character:"\\ea81"}),l.trashcan=new l("trashcan",{character:"\\ea81"}),l.history=new l("history",{character:"\\ea82"}),l.clock=new l("clock",{character:"\\ea82"}),l.folder=new l("folder",{character:"\\ea83"}),l.fileDirectory=new l("file-directory",{character:"\\ea83"}),l.symbolFolder=new l("symbol-folder",{character:"\\ea83"}),l.logoGithub=new l("logo-github",{character:"\\ea84"}),l.markGithub=new l("mark-github",{character:"\\ea84"}),l.github=new l("github",{character:"\\ea84"}),l.terminal=new l("terminal",{character:"\\ea85"}),l.console=new l("console",{character:"\\ea85"}),l.repl=new l("repl",{character:"\\ea85"}),l.zap=new l("zap",{character:"\\ea86"}),l.symbolEvent=new l("symbol-event",{character:"\\ea86"}),l.error=new l("error",{character:"\\ea87"}),l.stop=new l("stop",{character:"\\ea87"}),l.variable=new l("variable",{character:"\\ea88"}),l.symbolVariable=new l("symbol-variable",{character:"\\ea88"}),l.array=new l("array",{character:"\\ea8a"}),l.symbolArray=new l("symbol-array",{character:"\\ea8a"}),l.symbolModule=new l("symbol-module",{character:"\\ea8b"}),l.symbolPackage=new l("symbol-package",{character:"\\ea8b"}),l.symbolNamespace=new l("symbol-namespace",{character:"\\ea8b"}),l.symbolObject=new l("symbol-object",{character:"\\ea8b"}),l.symbolMethod=new l("symbol-method",{character:"\\ea8c"}),l.symbolFunction=new l("symbol-function",{character:"\\ea8c"}),l.symbolConstructor=new l("symbol-constructor",{character:"\\ea8c"}),l.symbolBoolean=new l("symbol-boolean",{character:"\\ea8f"}),l.symbolNull=new l("symbol-null",{character:"\\ea8f"}),l.symbolNumeric=new l("symbol-numeric",{character:"\\ea90"}),l.symbolNumber=new l("symbol-number",{character:"\\ea90"}),l.symbolStructure=new l("symbol-structure",{character:"\\ea91"}),l.symbolStruct=new l("symbol-struct",{character:"\\ea91"}),l.symbolParameter=new l("symbol-parameter",{character:"\\ea92"}),l.symbolTypeParameter=new l("symbol-type-parameter",{character:"\\ea92"}),l.symbolKey=new l("symbol-key",{character:"\\ea93"}),l.symbolText=new l("symbol-text",{character:"\\ea93"}),l.symbolReference=new l("symbol-reference",{character:"\\ea94"}),l.goToFile=new l("go-to-file",{character:"\\ea94"}),l.symbolEnum=new l("symbol-enum",{character:"\\ea95"}),l.symbolValue=new l("symbol-value",{character:"\\ea95"}),l.symbolRuler=new l("symbol-ruler",{character:"\\ea96"}),l.symbolUnit=new l("symbol-unit",{character:"\\ea96"}),l.activateBreakpoints=new l("activate-breakpoints",{character:"\\ea97"}),l.archive=new l("archive",{character:"\\ea98"}),l.arrowBoth=new l("arrow-both",{character:"\\ea99"}),l.arrowDown=new l("arrow-down",{character:"\\ea9a"}),l.arrowLeft=new l("arrow-left",{character:"\\ea9b"}),l.arrowRight=new l("arrow-right",{character:"\\ea9c"}),l.arrowSmallDown=new l("arrow-small-down",{character:"\\ea9d"}),l.arrowSmallLeft=new l("arrow-small-left",{character:"\\ea9e"}),l.arrowSmallRight=new l("arrow-small-right",{character:"\\ea9f"}),l.arrowSmallUp=new l("arrow-small-up",{character:"\\eaa0"}),l.arrowUp=new l("arrow-up",{character:"\\eaa1"}),l.bell=new l("bell",{character:"\\eaa2"}),l.bold=new l("bold",{character:"\\eaa3"}),l.book=new l("book",{character:"\\eaa4"}),l.bookmark=new l("bookmark",{character:"\\eaa5"}),l.debugBreakpointConditionalUnverified=new l("debug-breakpoint-conditional-unverified",{character:"\\eaa6"}),l.debugBreakpointConditional=new l("debug-breakpoint-conditional",{character:"\\eaa7"}),l.debugBreakpointConditionalDisabled=new l("debug-breakpoint-conditional-disabled",{character:"\\eaa7"}),l.debugBreakpointDataUnverified=new l("debug-breakpoint-data-unverified",{character:"\\eaa8"}),l.debugBreakpointData=new l("debug-breakpoint-data",{character:"\\eaa9"}),l.debugBreakpointDataDisabled=new l("debug-breakpoint-data-disabled",{character:"\\eaa9"}),l.debugBreakpointLogUnverified=new l("debug-breakpoint-log-unverified",{character:"\\eaaa"}),l.debugBreakpointLog=new l("debug-breakpoint-log",{character:"\\eaab"}),l.debugBreakpointLogDisabled=new l("debug-breakpoint-log-disabled",{character:"\\eaab"}),l.briefcase=new l("briefcase",{character:"\\eaac"}),l.broadcast=new l("broadcast",{character:"\\eaad"}),l.browser=new l("browser",{character:"\\eaae"}),l.bug=new l("bug",{character:"\\eaaf"}),l.calendar=new l("calendar",{character:"\\eab0"}),l.caseSensitive=new l("case-sensitive",{character:"\\eab1"}),l.check=new l("check",{character:"\\eab2"}),l.checklist=new l("checklist",{character:"\\eab3"}),l.chevronDown=new l("chevron-down",{character:"\\eab4"}),l.chevronLeft=new l("chevron-left",{character:"\\eab5"}),l.chevronRight=new l("chevron-right",{character:"\\eab6"}),l.chevronUp=new l("chevron-up",{character:"\\eab7"}),l.chromeClose=new l("chrome-close",{character:"\\eab8"}),l.chromeMaximize=new l("chrome-maximize",{character:"\\eab9"}),l.chromeMinimize=new l("chrome-minimize",{character:"\\eaba"}),l.chromeRestore=new l("chrome-restore",{character:"\\eabb"}),l.circleOutline=new l("circle-outline",{character:"\\eabc"}),l.debugBreakpointUnverified=new l("debug-breakpoint-unverified",{character:"\\eabc"}),l.circleSlash=new l("circle-slash",{character:"\\eabd"}),l.circuitBoard=new l("circuit-board",{character:"\\eabe"}),l.clearAll=new l("clear-all",{character:"\\eabf"}),l.clippy=new l("clippy",{character:"\\eac0"}),l.closeAll=new l("close-all",{character:"\\eac1"}),l.cloudDownload=new l("cloud-download",{character:"\\eac2"}),l.cloudUpload=new l("cloud-upload",{character:"\\eac3"}),l.code=new l("code",{character:"\\eac4"}),l.collapseAll=new l("collapse-all",{character:"\\eac5"}),l.colorMode=new l("color-mode",{character:"\\eac6"}),l.commentDiscussion=new l("comment-discussion",{character:"\\eac7"}),l.compareChanges=new l("compare-changes",{character:"\\eafd"}),l.creditCard=new l("credit-card",{character:"\\eac9"}),l.dash=new l("dash",{character:"\\eacc"}),l.dashboard=new l("dashboard",{character:"\\eacd"}),l.database=new l("database",{character:"\\eace"}),l.debugContinue=new l("debug-continue",{character:"\\eacf"}),l.debugDisconnect=new l("debug-disconnect",{character:"\\ead0"}),l.debugPause=new l("debug-pause",{character:"\\ead1"}),l.debugRestart=new l("debug-restart",{character:"\\ead2"}),l.debugStart=new l("debug-start",{character:"\\ead3"}),l.debugStepInto=new l("debug-step-into",{character:"\\ead4"}),l.debugStepOut=new l("debug-step-out",{character:"\\ead5"}),l.debugStepOver=new l("debug-step-over",{character:"\\ead6"}),l.debugStop=new l("debug-stop",{character:"\\ead7"}),l.debug=new l("debug",{character:"\\ead8"}),l.deviceCameraVideo=new l("device-camera-video",{character:"\\ead9"}),l.deviceCamera=new l("device-camera",{character:"\\eada"}),l.deviceMobile=new l("device-mobile",{character:"\\eadb"}),l.diffAdded=new l("diff-added",{character:"\\eadc"}),l.diffIgnored=new l("diff-ignored",{character:"\\eadd"}),l.diffModified=new l("diff-modified",{character:"\\eade"}),l.diffRemoved=new l("diff-removed",{character:"\\eadf"}),l.diffRenamed=new l("diff-renamed",{character:"\\eae0"}),l.diff=new l("diff",{character:"\\eae1"}),l.discard=new l("discard",{character:"\\eae2"}),l.editorLayout=new l("editor-layout",{character:"\\eae3"}),l.emptyWindow=new l("empty-window",{character:"\\eae4"}),l.exclude=new l("exclude",{character:"\\eae5"}),l.extensions=new l("extensions",{character:"\\eae6"}),l.eyeClosed=new l("eye-closed",{character:"\\eae7"}),l.fileBinary=new l("file-binary",{character:"\\eae8"}),l.fileCode=new l("file-code",{character:"\\eae9"}),l.fileMedia=new l("file-media",{character:"\\eaea"}),l.filePdf=new l("file-pdf",{character:"\\eaeb"}),l.fileSubmodule=new l("file-submodule",{character:"\\eaec"}),l.fileSymlinkDirectory=new l("file-symlink-directory",{character:"\\eaed"}),l.fileSymlinkFile=new l("file-symlink-file",{character:"\\eaee"}),l.fileZip=new l("file-zip",{character:"\\eaef"}),l.files=new l("files",{character:"\\eaf0"}),l.filter=new l("filter",{character:"\\eaf1"}),l.flame=new l("flame",{character:"\\eaf2"}),l.foldDown=new l("fold-down",{character:"\\eaf3"}),l.foldUp=new l("fold-up",{character:"\\eaf4"}),l.fold=new l("fold",{character:"\\eaf5"}),l.folderActive=new l("folder-active",{character:"\\eaf6"}),l.folderOpened=new l("folder-opened",{character:"\\eaf7"}),l.gear=new l("gear",{character:"\\eaf8"}),l.gift=new l("gift",{character:"\\eaf9"}),l.gistSecret=new l("gist-secret",{character:"\\eafa"}),l.gist=new l("gist",{character:"\\eafb"}),l.gitCommit=new l("git-commit",{character:"\\eafc"}),l.gitCompare=new l("git-compare",{character:"\\eafd"}),l.gitMerge=new l("git-merge",{character:"\\eafe"}),l.githubAction=new l("github-action",{character:"\\eaff"}),l.githubAlt=new l("github-alt",{character:"\\eb00"}),l.globe=new l("globe",{character:"\\eb01"}),l.grabber=new l("grabber",{character:"\\eb02"}),l.graph=new l("graph",{character:"\\eb03"}),l.gripper=new l("gripper",{character:"\\eb04"}),l.heart=new l("heart",{character:"\\eb05"}),l.home=new l("home",{character:"\\eb06"}),l.horizontalRule=new l("horizontal-rule",{character:"\\eb07"}),l.hubot=new l("hubot",{character:"\\eb08"}),l.inbox=new l("inbox",{character:"\\eb09"}),l.issueClosed=new l("issue-closed",{character:"\\eb0a"}),l.issueReopened=new l("issue-reopened",{character:"\\eb0b"}),l.issues=new l("issues",{character:"\\eb0c"}),l.italic=new l("italic",{character:"\\eb0d"}),l.jersey=new l("jersey",{character:"\\eb0e"}),l.json=new l("json",{character:"\\eb0f"}),l.kebabVertical=new l("kebab-vertical",{character:"\\eb10"}),l.key=new l("key",{character:"\\eb11"}),l.law=new l("law",{character:"\\eb12"}),l.lightbulbAutofix=new l("lightbulb-autofix",{character:"\\eb13"}),l.linkExternal=new l("link-external",{character:"\\eb14"}),l.link=new l("link",{character:"\\eb15"}),l.listOrdered=new l("list-ordered",{character:"\\eb16"}),l.listUnordered=new l("list-unordered",{character:"\\eb17"}),l.liveShare=new l("live-share",{character:"\\eb18"}),l.loading=new l("loading",{character:"\\eb19"}),l.location=new l("location",{character:"\\eb1a"}),l.mailRead=new l("mail-read",{character:"\\eb1b"}),l.mail=new l("mail",{character:"\\eb1c"}),l.markdown=new l("markdown",{character:"\\eb1d"}),l.megaphone=new l("megaphone",{character:"\\eb1e"}),l.mention=new l("mention",{character:"\\eb1f"}),l.milestone=new l("milestone",{character:"\\eb20"}),l.mortarBoard=new l("mortar-board",{character:"\\eb21"}),l.move=new l("move",{character:"\\eb22"}),l.multipleWindows=new l("multiple-windows",{character:"\\eb23"}),l.mute=new l("mute",{character:"\\eb24"}),l.noNewline=new l("no-newline",{character:"\\eb25"}),l.note=new l("note",{character:"\\eb26"}),l.octoface=new l("octoface",{character:"\\eb27"}),l.openPreview=new l("open-preview",{character:"\\eb28"}),l.package_=new l("package",{character:"\\eb29"}),l.paintcan=new l("paintcan",{character:"\\eb2a"}),l.pin=new l("pin",{character:"\\eb2b"}),l.play=new l("play",{character:"\\eb2c"}),l.run=new l("run",{character:"\\eb2c"}),l.plug=new l("plug",{character:"\\eb2d"}),l.preserveCase=new l("preserve-case",{character:"\\eb2e"}),l.preview=new l("preview",{character:"\\eb2f"}),l.project=new l("project",{character:"\\eb30"}),l.pulse=new l("pulse",{character:"\\eb31"}),l.question=new l("question",{character:"\\eb32"}),l.quote=new l("quote",{character:"\\eb33"}),l.radioTower=new l("radio-tower",{character:"\\eb34"}),l.reactions=new l("reactions",{character:"\\eb35"}),l.references=new l("references",{character:"\\eb36"}),l.refresh=new l("refresh",{character:"\\eb37"}),l.regex=new l("regex",{character:"\\eb38"}),l.remoteExplorer=new l("remote-explorer",{character:"\\eb39"}),l.remote=new l("remote",{character:"\\eb3a"}),l.remove=new l("remove",{character:"\\eb3b"}),l.replaceAll=new l("replace-all",{character:"\\eb3c"}),l.replace=new l("replace",{character:"\\eb3d"}),l.repoClone=new l("repo-clone",{character:"\\eb3e"}),l.repoForcePush=new l("repo-force-push",{character:"\\eb3f"}),l.repoPull=new l("repo-pull",{character:"\\eb40"}),l.repoPush=new l("repo-push",{character:"\\eb41"}),l.report=new l("report",{character:"\\eb42"}),l.requestChanges=new l("request-changes",{character:"\\eb43"}),l.rocket=new l("rocket",{character:"\\eb44"}),l.rootFolderOpened=new l("root-folder-opened",{character:"\\eb45"}),l.rootFolder=new l("root-folder",{character:"\\eb46"}),l.rss=new l("rss",{character:"\\eb47"}),l.ruby=new l("ruby",{character:"\\eb48"}),l.saveAll=new l("save-all",{character:"\\eb49"}),l.saveAs=new l("save-as",{character:"\\eb4a"}),l.save=new l("save",{character:"\\eb4b"}),l.screenFull=new l("screen-full",{character:"\\eb4c"}),l.screenNormal=new l("screen-normal",{character:"\\eb4d"}),l.searchStop=new l("search-stop",{character:"\\eb4e"}),l.server=new l("server",{character:"\\eb50"}),l.settingsGear=new l("settings-gear",{character:"\\eb51"}),l.settings=new l("settings",{character:"\\eb52"}),l.shield=new l("shield",{character:"\\eb53"}),l.smiley=new l("smiley",{character:"\\eb54"}),l.sortPrecedence=new l("sort-precedence",{character:"\\eb55"}),l.splitHorizontal=new l("split-horizontal",{character:"\\eb56"}),l.splitVertical=new l("split-vertical",{character:"\\eb57"}),l.squirrel=new l("squirrel",{character:"\\eb58"}),l.starFull=new l("star-full",{character:"\\eb59"}),l.starHalf=new l("star-half",{character:"\\eb5a"}),l.symbolClass=new l("symbol-class",{character:"\\eb5b"}),l.symbolColor=new l("symbol-color",{character:"\\eb5c"}),l.symbolConstant=new l("symbol-constant",{character:"\\eb5d"}),l.symbolEnumMember=new l("symbol-enum-member",{character:"\\eb5e"}),l.symbolField=new l("symbol-field",{character:"\\eb5f"}),l.symbolFile=new l("symbol-file",{character:"\\eb60"}),l.symbolInterface=new l("symbol-interface",{character:"\\eb61"}),l.symbolKeyword=new l("symbol-keyword",{character:"\\eb62"}),l.symbolMisc=new l("symbol-misc",{character:"\\eb63"}),l.symbolOperator=new l("symbol-operator",{character:"\\eb64"}),l.symbolProperty=new l("symbol-property",{character:"\\eb65"}),l.wrench=new l("wrench",{character:"\\eb65"}),l.wrenchSubaction=new l("wrench-subaction",{character:"\\eb65"}),l.symbolSnippet=new l("symbol-snippet",{character:"\\eb66"}),l.tasklist=new l("tasklist",{character:"\\eb67"}),l.telescope=new l("telescope",{character:"\\eb68"}),l.textSize=new l("text-size",{character:"\\eb69"}),l.threeBars=new l("three-bars",{character:"\\eb6a"}),l.thumbsdown=new l("thumbsdown",{character:"\\eb6b"}),l.thumbsup=new l("thumbsup",{character:"\\eb6c"}),l.tools=new l("tools",{character:"\\eb6d"}),l.triangleDown=new l("triangle-down",{character:"\\eb6e"}),l.triangleLeft=new l("triangle-left",{character:"\\eb6f"}),l.triangleRight=new l("triangle-right",{character:"\\eb70"}),l.triangleUp=new l("triangle-up",{character:"\\eb71"}),l.twitter=new l("twitter",{character:"\\eb72"}),l.unfold=new l("unfold",{character:"\\eb73"}),l.unlock=new l("unlock",{character:"\\eb74"}),l.unmute=new l("unmute",{character:"\\eb75"}),l.unverified=new l("unverified",{character:"\\eb76"}),l.verified=new l("verified",{character:"\\eb77"}),l.versions=new l("versions",{character:"\\eb78"}),l.vmActive=new l("vm-active",{character:"\\eb79"}),l.vmOutline=new l("vm-outline",{character:"\\eb7a"}),l.vmRunning=new l("vm-running",{character:"\\eb7b"}),l.watch=new l("watch",{character:"\\eb7c"}),l.whitespace=new l("whitespace",{character:"\\eb7d"}),l.wholeWord=new l("whole-word",{character:"\\eb7e"}),l.window=new l("window",{character:"\\eb7f"}),l.wordWrap=new l("word-wrap",{character:"\\eb80"}),l.zoomIn=new l("zoom-in",{character:"\\eb81"}),l.zoomOut=new l("zoom-out",{character:"\\eb82"}),l.listFilter=new l("list-filter",{character:"\\eb83"}),l.listFlat=new l("list-flat",{character:"\\eb84"}),l.listSelection=new l("list-selection",{character:"\\eb85"}),l.selection=new l("selection",{character:"\\eb85"}),l.listTree=new l("list-tree",{character:"\\eb86"}),l.debugBreakpointFunctionUnverified=new l("debug-breakpoint-function-unverified",{character:"\\eb87"}),l.debugBreakpointFunction=new l("debug-breakpoint-function",{character:"\\eb88"}),l.debugBreakpointFunctionDisabled=new l("debug-breakpoint-function-disabled",{character:"\\eb88"}),l.debugStackframeActive=new l("debug-stackframe-active",{character:"\\eb89"}),l.debugStackframeDot=new l("debug-stackframe-dot",{character:"\\eb8a"}),l.debugStackframe=new l("debug-stackframe",{character:"\\eb8b"}),l.debugStackframeFocused=new l("debug-stackframe-focused",{character:"\\eb8b"}),l.debugBreakpointUnsupported=new l("debug-breakpoint-unsupported",{character:"\\eb8c"}),l.symbolString=new l("symbol-string",{character:"\\eb8d"}),l.debugReverseContinue=new l("debug-reverse-continue",{character:"\\eb8e"}),l.debugStepBack=new l("debug-step-back",{character:"\\eb8f"}),l.debugRestartFrame=new l("debug-restart-frame",{character:"\\eb90"}),l.callIncoming=new l("call-incoming",{character:"\\eb92"}),l.callOutgoing=new l("call-outgoing",{character:"\\eb93"}),l.menu=new l("menu",{character:"\\eb94"}),l.expandAll=new l("expand-all",{character:"\\eb95"}),l.feedback=new l("feedback",{character:"\\eb96"}),l.groupByRefType=new l("group-by-ref-type",{character:"\\eb97"}),l.ungroupByRefType=new l("ungroup-by-ref-type",{character:"\\eb98"}),l.account=new l("account",{character:"\\eb99"}),l.bellDot=new l("bell-dot",{character:"\\eb9a"}),l.debugConsole=new l("debug-console",{character:"\\eb9b"}),l.library=new l("library",{character:"\\eb9c"}),l.output=new l("output",{character:"\\eb9d"}),l.runAll=new l("run-all",{character:"\\eb9e"}),l.syncIgnored=new l("sync-ignored",{character:"\\eb9f"}),l.pinned=new l("pinned",{character:"\\eba0"}),l.githubInverted=new l("github-inverted",{character:"\\eba1"}),l.debugAlt=new l("debug-alt",{character:"\\eb91"}),l.serverProcess=new l("server-process",{character:"\\eba2"}),l.serverEnvironment=new l("server-environment",{character:"\\eba3"}),l.pass=new l("pass",{character:"\\eba4"}),l.stopCircle=new l("stop-circle",{character:"\\eba5"}),l.playCircle=new l("play-circle",{character:"\\eba6"}),l.record=new l("record",{character:"\\eba7"}),l.debugAltSmall=new l("debug-alt-small",{character:"\\eba8"}),l.vmConnect=new l("vm-connect",{character:"\\eba9"}),l.cloud=new l("cloud",{character:"\\ebaa"}),l.merge=new l("merge",{character:"\\ebab"})})(ge||(ge={}));let W=/(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function Q(l){return l.replace(W,(T,N)=>N?T:"\\"+T)}let y=/\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function C(l){return l.replace(y,T=>"\\"+T)}let S=/(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;function P(l){return l.replace(S,(T,N,b,g,j)=>N?`$(${b})`:`<span class="codicon codicon-${g}${j?" codicon-animation-"+j:""}"></span>`)}let V=/(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi;function k(l){return l.indexOf(h.a)===-1?l:l.replace(V,(T,N,b,g)=>b?T:N||g||"")}},function(Ie,w,o){"use strict";var h;o.d(w,"b",function(){return h}),o.d(w,"a",function(){return f}),o.d(w,"c",function(){return H}),o.d(w,"d",function(){return E}),function(ge){ge.serviceIds=new Map,ge.DI_TARGET="$di$target",ge.DI_DEPENDENCIES="$di$dependencies",ge.getServiceDependencies=function(W){return W[ge.DI_DEPENDENCIES]||[]}}(h||(h={}));let f=H("instantiationService");function D(ge,W,Q,y){W[h.DI_TARGET]===W?W[h.DI_DEPENDENCIES].push({id:ge,index:Q,optional:y}):(W[h.DI_DEPENDENCIES]=[{id:ge,index:Q,optional:y}],W[h.DI_TARGET]=W)}function H(ge){if(h.serviceIds.has(ge))return h.serviceIds.get(ge);let W=function(Q,y,C){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");D(W,Q,C,!1)};return W.toString=()=>ge,h.serviceIds.set(ge,W),W}function E(ge){return function(W,Q,y){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");D(ge,W,y,!0)}}},function(Ie,w,o){"use strict";o.d(w,"c",function(){return E}),o.d(w,"h",function(){return ge}),o.d(w,"e",function(){return W}),o.d(w,"b",function(){return Q}),o.d(w,"f",function(){return y}),o.d(w,"a",function(){return C}),o.d(w,"g",function(){return P}),o.d(w,"d",function(){return V});var h=o(18),f=o(2),D=o(56),H=o(6);let E=Object(h.c)("themeService");function ge(k){return{id:k}}var W;(function(k){k.isThemeIcon=function(N){return N&&typeof N=="object"&&typeof N.id=="string"};let l=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;k.fromString=function(N){let b=l.exec(N);if(!b)return;let[,g,j]=b;return g||(g="codicon/"),{id:g+j}};let T=/^(codicon\/)?([a-z-]+)(~[a-z]+)?$/i;k.asClassName=function(N){let b=T.exec(N.id);if(!b)return;let[,,g,j]=b,ie="codicon codicon-"+g;return j&&(ie+=" "+j.substr(1)),ie}})(W||(W={}));let Q="hc";function y(k){switch(k){case"dark":return"vs-dark";case Q:return"hc-black";default:return"vs"}}let C={ThemingContribution:"base.contributions.theming"},S=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new H.a}onColorThemeChange(k){return this.themingParticipants.push(k),this.onThemingParticipantAddedEmitter.fire(k),Object(f.h)(()=>{let l=this.themingParticipants.indexOf(k);this.themingParticipants.splice(l,1)})}getThemingParticipants(){return this.themingParticipants}};function P(k){return S.onColorThemeChange(k)}D.a.add(C.ThemingContribution,S);class V extends f.a{constructor(l){super(),this.themeService=l,this.theme=l.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(T=>this.onThemeChange(T)))}onThemeChange(l){this.theme=l,this.updateStyles()}updateStyles(){}}},function(Ie,w,o){"use strict";o.d(w,"i",function(){return H}),o.d(w,"f",function(){return E}),o.d(w,"j",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"l",function(){return Q}),o.d(w,"g",function(){return y}),o.d(w,"h",function(){return C}),o.d(w,"e",function(){return S}),o.d(w,"c",function(){return P}),o.d(w,"d",function(){return V}),o.d(w,"k",function(){return k}),o.d(w,"b",function(){return l});var h=o(25),f=o(13),D=o(2);function H(T){return T&&typeof T.then=="function"}function E(T){let N=new h.b,b=T(N.token),g=new Promise((j,ie)=>{N.token.onCancellationRequested(()=>{ie(f.a())}),Promise.resolve(b).then(U=>{N.dispose(),j(U)},U=>{N.dispose(),ie(U)})});return new class{cancel(){N.cancel()}then(j,ie){return g.then(j,ie)}catch(j){return this.then(void 0,j)}finally(j){return g.finally(j)}}}function ge(T,N,b){return Promise.race([T,new Promise(g=>N.onCancellationRequested(()=>g(b)))])}class W{constructor(N){this.defaultDelay=N,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(N,b=this.defaultDelay){return this.task=N,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((g,j)=>{this.doResolve=g,this.doReject=j}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){let g=this.task;return this.task=null,g()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},b),this.completionPromise}isTriggered(){return this.timeout!==null}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(f.a()),this.completionPromise=null)}cancelTimeout(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}function Q(T,N){return N?new Promise((b,g)=>{let j=setTimeout(b,T);N.onCancellationRequested(()=>{clearTimeout(j),g(f.a())})}):E(b=>Q(T,b))}function y(T,N=0){let b=setTimeout(T,N);return Object(D.h)(()=>clearTimeout(b))}function C(T,N=g=>!!g,b=null){let g=0,j=T.length,ie=()=>{if(g>=j)return Promise.resolve(b);let U=T[g++];return Promise.resolve(U()).then(q=>N(q)?Promise.resolve(q):ie())};return ie()}class S{constructor(N,b){this._token=-1,typeof N=="function"&&typeof b=="number"&&this.setIfNotSet(N,b)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(N,b){this.cancel(),this._token=setTimeout(()=>{this._token=-1,N()},b)}setIfNotSet(N,b){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,N()},b))}}class P{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(N,b){this.cancel(),this._token=setInterval(()=>{N()},b)}}class V{constructor(N,b){this.timeoutToken=-1,this.runner=N,this.timeout=b,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(N=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,N)}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let k;(function(){if(typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"){let T=Object.freeze({didTimeout:!0,timeRemaining:()=>15});k=N=>{let b=setTimeout(()=>N(T)),g=!1;return{dispose(){g||(g=!0,clearTimeout(b))}}}}else k=(T,N)=>{let b=requestIdleCallback(T,typeof N=="number"?{timeout:N}:void 0),g=!1;return{dispose(){g||(g=!0,cancelIdleCallback(b))}}}})();class l{constructor(N){this._didRun=!1,this._executor=()=>{try{this._value=N()}catch(b){this._error=b}finally{this._didRun=!0}},this._handle=k(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(9),f=o(3);class D extends f.a{constructor(E,ge,W,Q){super(E,ge,W,Q),this.selectionStartLineNumber=E,this.selectionStartColumn=ge,this.positionLineNumber=W,this.positionColumn=Q}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(E){return D.selectionsEqual(this,E)}static selectionsEqual(E,ge){return E.selectionStartLineNumber===ge.selectionStartLineNumber&&E.selectionStartColumn===ge.selectionStartColumn&&E.positionLineNumber===ge.positionLineNumber&&E.positionColumn===ge.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(E,ge){return this.getDirection()===0?new D(this.startLineNumber,this.startColumn,E,ge):new D(E,ge,this.startLineNumber,this.startColumn)}getPosition(){return new h.a(this.positionLineNumber,this.positionColumn)}setStartPosition(E,ge){return this.getDirection()===0?new D(E,ge,this.endLineNumber,this.endColumn):new D(this.endLineNumber,this.endColumn,E,ge)}static fromPositions(E,ge=E){return new D(E.lineNumber,E.column,ge.lineNumber,ge.column)}static liftSelection(E){return new D(E.selectionStartLineNumber,E.selectionStartColumn,E.positionLineNumber,E.positionColumn)}static selectionsArrEqual(E,ge){if(E&&!ge||!E&&ge)return!1;if(!E&&!ge)return!0;if(E.length!==ge.length)return!1;for(let W=0,Q=E.length;W<Q;W++)if(!this.selectionsEqual(E[W],ge[W]))return!1;return!0}static isISelection(E){return E&&typeof E.selectionStartLineNumber=="number"&&typeof E.selectionStartColumn=="number"&&typeof E.positionLineNumber=="number"&&typeof E.positionColumn=="number"}static createWithDirection(E,ge,W,Q,y){return y===0?new D(E,ge,W,Q):new D(W,Q,E,ge)}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return P}),o.d(w,"f",function(){return V}),o.d(w,"c",function(){return k}),o.d(w,"d",function(){return N}),o.d(w,"e",function(){return b}),o.d(w,"a",function(){return g}),o.d(w,"g",function(){return j});var h=o(13),f=o(8),D=o(9),H=o(3),E=o(21),ge=o(30),W=o(39);let Q=()=>!0,y=()=>!1,C=ie=>ie===" "||ie===" ";function S(ie,U,q){ie.has(U)?ie.get(U).push(q):ie.set(U,[q])}class P{constructor(U,q,B){this._languageIdentifier=U;let se=B.options,ke=se.get(117);this.readOnly=se.get(72),this.tabSize=q.tabSize,this.indentSize=q.indentSize,this.insertSpaces=q.insertSpaces,this.lineHeight=se.get(51),this.pageSize=Math.max(1,Math.floor(ke.height/this.lineHeight)-2),this.useTabStops=se.get(104),this.wordSeparators=se.get(105),this.emptySelectionClipboard=se.get(26),this.copyWithSyntaxHighlighting=se.get(16),this.multiCursorMergeOverlapping=se.get(60),this.multiCursorPaste=se.get(62),this.autoClosingBrackets=se.get(5),this.autoClosingQuotes=se.get(7),this.autoClosingOvertype=se.get(6),this.autoSurround=se.get(10),this.autoIndent=se.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:P._getShouldAutoClose(U,this.autoClosingQuotes),bracket:P._getShouldAutoClose(U,this.autoClosingBrackets)};let xe=P._getAutoClosingPairs(U);if(xe)for(let Z of xe)S(this.autoClosingPairsOpen2,Z.open.charAt(Z.open.length-1),Z),Z.close.length===1&&S(this.autoClosingPairsClose2,Z.close,Z);let Y=P._getSurroundingPairs(U);if(Y)for(let Z of Y)this.surroundingPairs[Z.open]=Z.close}static shouldRecreate(U){return U.hasChanged(117)||U.hasChanged(105)||U.hasChanged(26)||U.hasChanged(60)||U.hasChanged(62)||U.hasChanged(5)||U.hasChanged(7)||U.hasChanged(6)||U.hasChanged(10)||U.hasChanged(104)||U.hasChanged(51)||U.hasChanged(72)}get electricChars(){if(!this._electricChars){this._electricChars={};let U=P._getElectricCharacters(this._languageIdentifier);if(U)for(let q of U)this._electricChars[q]=!0}return this._electricChars}normalizeIndentation(U){return ge.b.normalizeIndentation(U,this.indentSize,this.insertSpaces)}static _getElectricCharacters(U){try{return W.a.getElectricCharacters(U.id)}catch(q){return Object(h.e)(q),null}}static _getAutoClosingPairs(U){try{return W.a.getAutoClosingPairs(U.id)}catch(q){return Object(h.e)(q),null}}static _getShouldAutoClose(U,q){switch(q){case"beforeWhitespace":return C;case"languageDefined":return P._getLanguageDefinedShouldAutoClose(U);case"always":return Q;case"never":return y}}static _getLanguageDefinedShouldAutoClose(U){try{let q=W.a.getAutoCloseBeforeSet(U.id);return B=>q.indexOf(B)!==-1}catch(q){return Object(h.e)(q),y}}static _getSurroundingPairs(U){try{return W.a.getSurroundingPairs(U.id)}catch(q){return Object(h.e)(q),null}}}class V{constructor(U,q,B,se){this.selectionStart=U,this.selectionStartLeftoverVisibleColumns=q,this.position=B,this.leftoverVisibleColumns=se,this.selection=V._computeSelection(this.selectionStart,this.position)}equals(U){return this.selectionStartLeftoverVisibleColumns===U.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===U.leftoverVisibleColumns&&this.position.equals(U.position)&&this.selectionStart.equalsRange(U.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(U,q,B,se){return U?new V(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new D.a(q,B),se):new V(new H.a(q,B,q,B),se,new D.a(q,B),se)}static _computeSelection(U,q){let B,se,ke,xe;return U.isEmpty()?(B=U.startLineNumber,se=U.startColumn,ke=q.lineNumber,xe=q.column):q.isBeforeOrEqual(U.getStartPosition())?(B=U.endLineNumber,se=U.endColumn,ke=q.lineNumber,xe=q.column):(B=U.startLineNumber,se=U.startColumn,ke=q.lineNumber,xe=q.column),new E.a(B,se,ke,xe)}}class k{constructor(U,q,B){this.model=U,this.coordinatesConverter=q,this.cursorConfig=B}}class l{constructor(U){this.modelState=U,this.viewState=null}}class T{constructor(U){this.modelState=null,this.viewState=U}}class N{constructor(U,q){this.modelState=U,this.viewState=q}static fromModelState(U){return new l(U)}static fromViewState(U){return new T(U)}static fromModelSelection(U){let q=U.selectionStartLineNumber,B=U.selectionStartColumn,se=U.positionLineNumber,ke=U.positionColumn,xe=new V(new H.a(q,B,q,B),0,new D.a(se,ke),0);return N.fromModelState(xe)}static fromModelSelections(U){let q=[];for(let B=0,se=U.length;B<se;B++)q[B]=this.fromModelSelection(U[B]);return q}equals(U){return this.viewState.equals(U.viewState)&&this.modelState.equals(U.modelState)}}class b{constructor(U,q,B){this.type=U,this.commands=q,this.shouldPushStackElementBefore=B.shouldPushStackElementBefore,this.shouldPushStackElementAfter=B.shouldPushStackElementAfter}}class g{static visibleColumnFromColumn(U,q,B){let se=U.length,ke=q-1<se?q-1:se,xe=0,Y=0;for(;Y<ke;){let Z=f.A(U,ke,Y);if(Y+=Z>=65536?2:1,Z===9)xe=g.nextRenderTabStop(xe,B);else{let te=f.y(Z);for(;Y<ke;){let he=f.A(U,ke,Y),Ce=f.y(he);if(f.c(te,Ce))break;Y+=he>=65536?2:1,te=Ce}f.E(Z)||f.C(Z)?xe+=2:xe+=1}}return xe}static visibleColumnFromColumn2(U,q,B){return this.visibleColumnFromColumn(q.getLineContent(B.lineNumber),B.column,U.tabSize)}static columnFromVisibleColumn(U,q,B){if(q<=0)return 1;let se=U.length,ke=0,xe=1,Y=0;for(;Y<se;){let Z=f.A(U,se,Y),te;if(Y+=Z>=65536?2:1,Z===9)te=g.nextRenderTabStop(ke,B);else{let Ce=f.y(Z);for(;Y<se;){let Ae=f.A(U,se,Y),L=f.y(Ae);if(f.c(Ce,L))break;Y+=Ae>=65536?2:1,Ce=L}te=f.E(Z)||f.C(Z)?ke+2:ke+1}let he=Y+1;if(te>=q)return te-q<q-ke?he:xe;ke=te,xe=he}return se+1}static columnFromVisibleColumn2(U,q,B,se){let ke=this.columnFromVisibleColumn(q.getLineContent(B),se,U.tabSize),xe=q.getLineMinColumn(B);if(ke<xe)return xe;let Y=q.getLineMaxColumn(B);return ke>Y?Y:ke}static nextRenderTabStop(U,q){return U+q-U%q}static nextIndentTabStop(U,q){return U+q-U%q}static prevRenderTabStop(U,q){return U-1-(U-1)%q}static prevIndentTabStop(U,q){return U-1-(U-1)%q}}function j(ie){return ie==="'"||ie==='"'||ie==="`"}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Q}),o.d(w,"b",function(){return k});var h=o(11),f=o(42);let D=/^\w[\w\d+.-]*$/,H=/^\//,E=/^\/\//,ge="/",W=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Q{constructor(g,j,ie,U,q,B=!1){typeof g=="object"?(this.scheme=g.scheme||"",this.authority=g.authority||"",this.path=g.path||"",this.query=g.query||"",this.fragment=g.fragment||""):(this.scheme=function(se,ke){return se||ke?se:"file"}(g,B),this.authority=j||"",this.path=function(se,ke){switch(se){case"https":case"http":case"file":ke?ke[0]!==ge&&(ke=ge+ke):ke=ge}return ke}(this.scheme,ie||""),this.query=U||"",this.fragment=q||"",function(se,ke){if(!se.scheme&&ke)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${se.authority}", path: "${se.path}", query: "${se.query}", fragment: "${se.fragment}"}`);if(se.scheme&&!D.test(se.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(se.path){if(se.authority){if(!H.test(se.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(E.test(se.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,B))}static isUri(g){return g instanceof Q||!!g&&typeof g.authority=="string"&&typeof g.fragment=="string"&&typeof g.path=="string"&&typeof g.query=="string"&&typeof g.scheme=="string"&&typeof g.fsPath=="function"&&typeof g.with=="function"&&typeof g.toString=="function"}get fsPath(){return k(this,!1)}with(g){if(!g)return this;let{scheme:j,authority:ie,path:U,query:q,fragment:B}=g;return j===void 0?j=this.scheme:j===null&&(j=""),ie===void 0?ie=this.authority:ie===null&&(ie=""),U===void 0?U=this.path:U===null&&(U=""),q===void 0?q=this.query:q===null&&(q=""),B===void 0?B=this.fragment:B===null&&(B=""),j===this.scheme&&ie===this.authority&&U===this.path&&q===this.query&&B===this.fragment?this:new C(j,ie,U,q,B)}static parse(g,j=!1){let ie=W.exec(g);return ie?new C(ie[2]||"",N(ie[4]||""),N(ie[5]||""),N(ie[7]||""),N(ie[9]||""),j):new C("","","","","")}static file(g){let j="";if(h.i&&(g=g.replace(/\\/g,ge)),g[0]===ge&&g[1]===ge){let ie=g.indexOf(ge,2);ie===-1?(j=g.substring(2),g=ge):(j=g.substring(2,ie),g=g.substring(ie)||ge)}return new C("file",j,g,"","")}static from(g){return new C(g.scheme,g.authority,g.path,g.query,g.fragment)}static joinPath(g,...j){if(!g.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let ie;return ie=h.i&&g.scheme==="file"?Q.file(f.i.join(k(g,!0),...j)).path:f.e.join(g.path,...j),g.with({path:ie})}toString(g=!1){return l(this,g)}toJSON(){return this}static revive(g){if(g){if(g instanceof Q)return g;{let j=new C(g);return j._formatted=g.external,j._fsPath=g._sep===y?g.fsPath:null,j}}return g}}let y=h.i?1:void 0;class C extends Q{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=k(this,!1)),this._fsPath}toString(g=!1){return g?l(this,!0):(this._formatted||(this._formatted=l(this,!1)),this._formatted)}toJSON(){let g={$mid:1};return this._fsPath&&(g.fsPath=this._fsPath,g._sep=y),this._formatted&&(g.external=this._formatted),this.path&&(g.path=this.path),this.scheme&&(g.scheme=this.scheme),this.authority&&(g.authority=this.authority),this.query&&(g.query=this.query),this.fragment&&(g.fragment=this.fragment),g}}let S={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function P(b,g){let j,ie=-1;for(let U=0;U<b.length;U++){let q=b.charCodeAt(U);if(q>=97&&q<=122||q>=65&&q<=90||q>=48&&q<=57||q===45||q===46||q===95||q===126||g&&q===47)ie!==-1&&(j+=encodeURIComponent(b.substring(ie,U)),ie=-1),j!==void 0&&(j+=b.charAt(U));else{j===void 0&&(j=b.substr(0,U));let B=S[q];B!==void 0?(ie!==-1&&(j+=encodeURIComponent(b.substring(ie,U)),ie=-1),j+=B):ie===-1&&(ie=U)}}return ie!==-1&&(j+=encodeURIComponent(b.substring(ie))),j!==void 0?j:b}function V(b){let g;for(let j=0;j<b.length;j++){let ie=b.charCodeAt(j);ie===35||ie===63?(g===void 0&&(g=b.substr(0,j)),g+=S[ie]):g!==void 0&&(g+=b[j])}return g!==void 0?g:b}function k(b,g){let j;return j=b.authority&&b.path.length>1&&b.scheme==="file"?`//${b.authority}${b.path}`:b.path.charCodeAt(0)===47&&(b.path.charCodeAt(1)>=65&&b.path.charCodeAt(1)<=90||b.path.charCodeAt(1)>=97&&b.path.charCodeAt(1)<=122)&&b.path.charCodeAt(2)===58?g?b.path.substr(1):b.path[1].toLowerCase()+b.path.substr(2):b.path,h.i&&(j=j.replace(/\//g,"\\")),j}function l(b,g){let j=g?V:P,ie="",{scheme:U,authority:q,path:B,query:se,fragment:ke}=b;if(U&&(ie+=U,ie+=":"),(q||U==="file")&&(ie+=ge,ie+=ge),q){let xe=q.indexOf("@");if(xe!==-1){let Y=q.substr(0,xe);q=q.substr(xe+1),xe=Y.indexOf(":"),xe===-1?ie+=j(Y,!1):(ie+=j(Y.substr(0,xe),!1),ie+=":",ie+=j(Y.substr(xe+1),!1)),ie+="@"}q=q.toLowerCase(),xe=q.indexOf(":"),xe===-1?ie+=j(q,!1):(ie+=j(q.substr(0,xe),!1),ie+=q.substr(xe))}if(B){if(B.length>=3&&B.charCodeAt(0)===47&&B.charCodeAt(2)===58){let xe=B.charCodeAt(1);xe>=65&&xe<=90&&(B=`/${String.fromCharCode(xe+32)}:${B.substr(3)}`)}else if(B.length>=2&&B.charCodeAt(1)===58){let xe=B.charCodeAt(0);xe>=65&&xe<=90&&(B=`${String.fromCharCode(xe+32)}:${B.substr(2)}`)}ie+=j(B,!0)}return se&&(ie+="?",ie+=j(se,!1)),ke&&(ie+="#",ie+=g?ke:P(ke,!1)),ie}let T=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function N(b){return b.match(T)?b.replace(T,g=>function j(ie){try{return decodeURIComponent(ie)}catch(U){return ie.length>3?ie.substr(0,3)+j(ie.substr(3)):ie}}(g)):b}},function(Ie,w,o){"use strict";o.d(w,"f",function(){return S}),o.d(w,"b",function(){return P}),o.d(w,"a",function(){return V}),o.d(w,"d",function(){return k}),o.d(w,"e",function(){return T}),o.d(w,"c",function(){return N});var h=o(60),f=o(18),D=o(10),H=o(27),E=o(2),ge=o(6),W=o(37),Q=o(53),y=function(b,g,j,ie){var U,q=arguments.length,B=q<3?g:ie===null?ie=Object.getOwnPropertyDescriptor(g,j):ie;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")B=Reflect.decorate(b,g,j,ie);else for(var se=b.length-1;se>=0;se--)(U=b[se])&&(B=(q<3?U(B):q>3?U(g,j,B):U(g,j))||B);return q>3&&B&&Object.defineProperty(g,j,B),B},C=function(b,g){return function(j,ie){g(j,ie,b)}};function S(b){return b.command!==void 0}class P{constructor(g){this.id=P._idPool++,this._debugName=g}}P._idPool=0,P.CommandPalette=new P("CommandPalette"),P.EditorContext=new P("EditorContext"),P.EditorContextPeek=new P("EditorContextPeek"),P.MenubarEditMenu=new P("MenubarEditMenu"),P.MenubarGoMenu=new P("MenubarGoMenu"),P.MenubarSelectionMenu=new P("MenubarSelectionMenu");let V=Object(f.c)("menuService"),k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new ge.a,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:b=>b===P.CommandPalette}}addCommand(b){return this.addCommands(W.a.single(b))}addCommands(b){for(let g of b)this._commands.set(g.id,g);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(E.h)(()=>{let g=!1;for(let j of b)g=this._commands.delete(j.id)||g;g&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(b){return this._commands.get(b)}getCommands(){let b=new Map;return this._commands.forEach((g,j)=>b.set(j,g)),b}appendMenuItem(b,g){return this.appendMenuItems(W.a.single({id:b,item:g}))}appendMenuItems(b){let g=new Set,j=new Q.a;for(let{id:ie,item:U}of b){let q=this._menuItems.get(ie);q||(q=new Q.a,this._menuItems.set(ie,q)),j.push(q.push(U)),g.add(ie)}return this._onDidChangeMenu.fire(g),Object(E.h)(()=>{if(j.size>0){for(let ie of j)ie();this._onDidChangeMenu.fire(g),j.clear()}})}getMenuItems(b){let g;return g=this._menuItems.has(b)?[...this._menuItems.get(b)]:[],b===P.CommandPalette&&this._appendImplicitItems(g),g}_appendImplicitItems(b){let g=new Set;for(let j of b)S(j)&&(g.add(j.command.id),j.alt&&g.add(j.alt.id));this._commands.forEach((j,ie)=>{g.has(ie)||b.push({command:j})})}},l=class extends h.a{constructor(b,g,j){super(b,g),this._commandService=j}run(...b){return this._commandService.executeCommand(this.id,...b)}};l=y([C(2,H.b)],l);class T extends h.d{constructor(g,j,ie,U){super("submenuitem."+g.submenu.id,typeof g.title=="string"?g.title:g.title.value,()=>{let q=[],B=j.createMenu(g.submenu,ie),se=B.getActions(U);B.dispose();for(let ke of se){let[,xe]=ke;xe.length>0&&(q.push(...xe),q.push(new h.c))}return q.length&&q.pop(),q},"submenu"),this.item=g}}let N=class em extends l{constructor(g,j,ie,U,q){if(typeof g.title=="string"?super(g.id,g.title,q):super(g.id,g.title.value,q),this._cssClass=void 0,this._enabled=!g.precondition||U.contextMatchesRules(g.precondition),this._tooltip=g.tooltip?typeof g.tooltip=="string"?g.tooltip:g.tooltip.value:void 0,g.toggled){let B=g.toggled.condition?g.toggled:{condition:g.toggled};this._checked=U.contextMatchesRules(B.condition),this._checked&&B.tooltip&&(this._tooltip=typeof B.tooltip=="string"?B.tooltip:B.tooltip.value)}this._options=ie||{},this.item=g,this.alt=j?new em(j,void 0,this._options,U,q):void 0}dispose(){this.alt&&this.alt.dispose(),super.dispose()}run(...g){let j=[];return this._options.arg&&(j=[...j,this._options.arg]),this._options.shouldForwardArgs&&(j=[...j,...g]),super.run(...j)}};N=y([C(3,D.b),C(4,H.b)],N)},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D}),o.d(w,"b",function(){return E});var h=o(6);let f=Object.freeze(function(ge,W){let Q=setTimeout(ge.bind(W),0);return{dispose(){clearTimeout(Q)}}});var D;(function(ge){ge.isCancellationToken=function(W){return W===ge.None||W===ge.Cancelled||W instanceof H||!(!W||typeof W!="object")&&typeof W.isCancellationRequested=="boolean"&&typeof W.onCancellationRequested=="function"},ge.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:h.b.None}),ge.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:f})})(D||(D={}));class H{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?f:(this._emitter||(this._emitter=new h.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class E{constructor(W){this._token=void 0,this._parentListener=void 0,this._parentListener=W&&W.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new H),this._token}cancel(){this._token?this._token instanceof H&&this._token.cancel():this._token=D.Cancelled}dispose(W=!1){W&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof H&&this._token.dispose():this._token=D.None}}},function(Ie,w,o){"use strict";o.d(w,"h",function(){return H}),o.d(w,"b",function(){return E}),o.d(w,"j",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"i",function(){return N}),o.d(w,"e",function(){return b}),o.d(w,"f",function(){return j}),o.d(w,"l",function(){return ie}),o.d(w,"c",function(){return q}),o.d(w,"d",function(){return B}),o.d(w,"k",function(){return se}),o.d(w,"g",function(){return xe});var h=o(0),f=o(11),D=o(73);let H=8;class E{constructor(Z){this._values=Z}hasChanged(Z){return this._values[Z]}}class ge{constructor(){this._values=[]}_read(Z){return this._values[Z]}get(Z){return this._values[Z]}_write(Z,te){this._values[Z]=te}}class W{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Q{constructor(Z,te,he,Ce){this.id=Z,this.name=te,this.defaultValue=he,this.schema=Ce}compute(Z,te,he){return he}}class y{constructor(Z,te=null){this.schema=void 0,this.id=Z,this.name="_never_",this.defaultValue=void 0,this.deps=te}validate(Z){return this.defaultValue}}class C{constructor(Z,te,he,Ce){this.id=Z,this.name=te,this.defaultValue=he,this.schema=Ce}validate(Z){return Z===void 0?this.defaultValue:Z}compute(Z,te,he){return he}}class S extends C{static boolean(Z,te){return Z===void 0?te:Z!=="false"&&Boolean(Z)}constructor(Z,te,he,Ce){Ce!==void 0&&(Ce.type="boolean",Ce.default=he),super(Z,te,he,Ce)}validate(Z){return S.boolean(Z,this.defaultValue)}}class P extends C{constructor(Z,te,he,Ce,Ae,L){L!==void 0&&(L.type="integer",L.default=he,L.minimum=Ce,L.maximum=Ae),super(Z,te,he,L),this.minimum=Ce,this.maximum=Ae}static clampedInt(Z,te,he,Ce){if(Z===void 0)return te;let Ae=parseInt(Z,10);return isNaN(Ae)?te:(Ae=Math.max(he,Ae),Ae=Math.min(Ce,Ae),0|Ae)}validate(Z){return P.clampedInt(Z,this.defaultValue,this.minimum,this.maximum)}}class V extends C{constructor(Z,te,he,Ce,Ae){Ae!==void 0&&(Ae.type="number",Ae.default=he),super(Z,te,he,Ae),this.validationFn=Ce}static clamp(Z,te,he){return Z<te?te:Z>he?he:Z}static float(Z,te){if(typeof Z=="number")return Z;if(Z===void 0)return te;let he=parseFloat(Z);return isNaN(he)?te:he}validate(Z){return this.validationFn(V.float(Z,this.defaultValue))}}class k extends C{static string(Z,te){return typeof Z!="string"?te:Z}constructor(Z,te,he,Ce){Ce!==void 0&&(Ce.type="string",Ce.default=he),super(Z,te,he,Ce)}validate(Z){return k.string(Z,this.defaultValue)}}class l extends C{constructor(Z,te,he,Ce,Ae){Ae!==void 0&&(Ae.type="string",Ae.enum=Ce,Ae.default=he),super(Z,te,he,Ae),this._allowedValues=Ce}static stringSet(Z,te,he){return typeof Z!="string"||he.indexOf(Z)===-1?te:Z}validate(Z){return l.stringSet(Z,this.defaultValue,this._allowedValues)}}class T extends Q{constructor(Z,te,he,Ce,Ae,L,nt){nt!==void 0&&(nt.type="string",nt.enum=Ae,nt.default=Ce),super(Z,te,he,nt),this._allowedValues=Ae,this._convert=L}validate(Z){return typeof Z!="string"||this._allowedValues.indexOf(Z)===-1?this.defaultValue:this._convert(Z)}}var N;(function(Y){Y[Y.Line=1]="Line",Y[Y.Block=2]="Block",Y[Y.Underline=3]="Underline",Y[Y.LineThin=4]="LineThin",Y[Y.BlockOutline=5]="BlockOutline",Y[Y.UnderlineThin=6]="UnderlineThin"})(N||(N={}));class b extends Q{constructor(){super(37,"fontLigatures",b.OFF,{anyOf:[{type:"boolean",description:h.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:h.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:h.a("fontLigaturesGeneral","Configures font ligatures or font features."),default:!1})}validate(Z){return Z===void 0?this.defaultValue:typeof Z=="string"?Z==="false"?b.OFF:Z==="true"?b.ON:Z:Boolean(Z)?b.ON:b.OFF}}b.OFF='"liga" off, "calt" off',b.ON='"liga" on, "calt" on';class g extends Q{constructor(){super(39,"fontWeight",q.fontWeight,{anyOf:[{type:"number",minimum:g.MINIMUM_VALUE,maximum:g.MAXIMUM_VALUE,errorMessage:h.a("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:g.SUGGESTION_VALUES}],default:q.fontWeight,description:h.a("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(Z){return Z==="normal"||Z==="bold"?Z:String(P.clampedInt(Z,q.fontWeight,g.MINIMUM_VALUE,g.MAXIMUM_VALUE))}}g.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],g.MINIMUM_VALUE=1,g.MAXIMUM_VALUE=1e3;class j extends y{constructor(){super(117,[42,50,31,56,84,52,53,86,106,109,110,2])}compute(Z,te,he){return j.computeLayout(te,{memory:Z.memory,outerWidth:Z.outerWidth,outerHeight:Z.outerHeight,isDominatedByLongLines:Z.isDominatedByLongLines,lineHeight:Z.fontInfo.lineHeight,viewLineCount:Z.viewLineCount,lineNumbersDigitCount:Z.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:Z.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:Z.fontInfo.maxDigitWidth,pixelRatio:Z.pixelRatio})}static computeContainedMinimapLineCount(Z){let te=Z.height/Z.lineHeight,he=Z.scrollBeyondLastLine?te-1:0,Ce=(Z.viewLineCount+he)/(Z.pixelRatio*Z.height);return{typicalViewportLineCount:te,extraLinesBeyondLastLine:he,desiredRatio:Ce,minimapLineCount:Math.floor(Z.viewLineCount/Ce)}}static _computeMinimapLayout(Z,te){let he=Z.outerWidth,Ce=Z.outerHeight,Ae=Z.pixelRatio;if(!Z.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Ae*Ce),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:Ce};let L=te.stableMinimapLayoutInput,nt=L&&Z.outerHeight===L.outerHeight&&Z.lineHeight===L.lineHeight&&Z.typicalHalfwidthCharacterWidth===L.typicalHalfwidthCharacterWidth&&Z.pixelRatio===L.pixelRatio&&Z.scrollBeyondLastLine===L.scrollBeyondLastLine&&Z.minimap.enabled===L.minimap.enabled&&Z.minimap.side===L.minimap.side&&Z.minimap.size===L.minimap.size&&Z.minimap.showSlider===L.minimap.showSlider&&Z.minimap.renderCharacters===L.minimap.renderCharacters&&Z.minimap.maxColumn===L.minimap.maxColumn&&Z.minimap.scale===L.minimap.scale&&Z.verticalScrollbarWidth===L.verticalScrollbarWidth&&Z.isViewportWrapping===L.isViewportWrapping,ct=Z.lineHeight,Ye=Z.typicalHalfwidthCharacterWidth,ht=Z.scrollBeyondLastLine,fe=Z.minimap.renderCharacters,$=Ae>=2?Math.round(2*Z.minimap.scale):Z.minimap.scale,G=Z.minimap.maxColumn,z=Z.minimap.size,J=Z.minimap.side,Se=Z.verticalScrollbarWidth,A=Z.viewLineCount,ee=Z.remainingWidth,de=Z.isViewportWrapping,Oe=fe?2:3,$e=Math.floor(Ae*Ce),pt=$e/Ae,it=!1,At=!1,Nt=Oe*$,_i=$/Ae,wt=1;if(z==="fill"||z==="fit"){let{typicalViewportLineCount:Li,extraLinesBeyondLastLine:Ii,desiredRatio:Ai,minimapLineCount:Zi}=j.computeContainedMinimapLineCount({viewLineCount:A,scrollBeyondLastLine:ht,height:Ce,lineHeight:ct,pixelRatio:Ae});if(A/Zi>1)it=!0,At=!0,$=1,Nt=1,_i=$/Ae;else{let Bi=!1,Lt=$+1;if(z==="fit"){let Di=Math.ceil((A+Ii)*Nt);de&&nt&&ee<=te.stableFitRemainingWidth?(Bi=!0,Lt=te.stableFitMaxMinimapScale):(Bi=Di>$e,de&&Bi?(te.stableMinimapLayoutInput=Z,te.stableFitRemainingWidth=ee):(te.stableMinimapLayoutInput=null,te.stableFitRemainingWidth=0))}if(z==="fill"||Bi){it=!0;let Di=$;Nt=Math.min(ct*Ae,Math.max(1,Math.floor(1/Ai))),$=Math.min(Lt,Math.max(1,Math.floor(Nt/Oe))),$>Di&&(wt=Math.min(2,$/Di)),_i=$/Ae/wt,$e=Math.ceil(Math.max(Li,A+Ii)*Nt),de&&Bi&&(te.stableFitMaxMinimapScale=$)}}}let Ni=Math.floor(G*_i),pi=Math.min(Ni,Math.max(0,Math.floor((ee-Se-2)*_i/(Ye+_i)))+H),et=Math.floor(Ae*pi),Wt=et/Ae;return et=Math.floor(et*wt),{renderMinimap:fe?1:2,minimapLeft:J==="left"?0:he-pi-Se,minimapWidth:pi,minimapHeightIsEditorHeight:it,minimapIsSampling:At,minimapScale:$,minimapLineHeight:Nt,minimapCanvasInnerWidth:et,minimapCanvasInnerHeight:$e,minimapCanvasOuterWidth:Wt,minimapCanvasOuterHeight:pt}}static computeLayout(Z,te){let he=0|te.outerWidth,Ce=0|te.outerHeight,Ae=0|te.lineHeight,L=0|te.lineNumbersDigitCount,nt=te.typicalHalfwidthCharacterWidth,ct=te.maxDigitWidth,Ye=te.pixelRatio,ht=te.viewLineCount,fe=Z.get(106),$=Z.get(109),G=Z.get(110),z=Z.get(2),J=te.isDominatedByLongLines,Se=Z.get(42),A=Z.get(52).renderType!==0,ee=Z.get(53),de=Z.get(86),Oe=Z.get(56),$e=Z.get(84),pt=$e.verticalScrollbarSize,it=$e.verticalHasArrows,At=$e.arrowSize,Nt=$e.horizontalScrollbarSize,_i=Z.get(50),wt=Z.get(31),Ni;if(typeof _i=="string"&&/^\d+(\.\d+)?ch$/.test(_i)){let Ue=parseFloat(_i.substr(0,_i.length-2));Ni=P.clampedInt(Ue*nt,0,0,1e3)}else Ni=P.clampedInt(_i,0,0,1e3);wt&&(Ni+=16);let pi=0;if(A){let Ue=Math.max(L,ee);pi=Math.round(Ue*ct)}let et=0;Se&&(et=Ae);let Wt=0,Li=Wt+et,Ii=Li+pi,Ai=Ii+Ni,Zi=he-et-pi-Ni,Bi=!1,Lt=!1,Di=-1;z!==2&&(G&&J?(Bi=!0,Lt=!0):fe==="on"||fe==="bounded"?Lt=!0:fe==="wordWrapColumn"&&(Di=$));let gt=j._computeMinimapLayout({outerWidth:he,outerHeight:Ce,lineHeight:Ae,typicalHalfwidthCharacterWidth:nt,pixelRatio:Ye,scrollBeyondLastLine:de,minimap:Oe,verticalScrollbarWidth:pt,viewLineCount:ht,remainingWidth:Zi,isViewportWrapping:Lt},te.memory||new W);gt.renderMinimap!==0&>.minimapLeft===0&&(Wt+=gt.minimapWidth,Li+=gt.minimapWidth,Ii+=gt.minimapWidth,Ai+=gt.minimapWidth);let vi=Zi-gt.minimapWidth,Rt=Math.max(1,Math.floor((vi-pt-2)/nt)),vt=it?At:0;return Lt&&(Di=Math.max(1,Rt),fe==="bounded"&&(Di=Math.min(Di,$))),{width:he,height:Ce,glyphMarginLeft:Wt,glyphMarginWidth:et,lineNumbersLeft:Li,lineNumbersWidth:pi,decorationsLeft:Ii,decorationsWidth:Ni,contentLeft:Ai,contentWidth:vi,minimap:gt,viewportColumn:Rt,isWordWrapMinified:Bi,isViewportWrapping:Lt,wrappingColumn:Di,verticalScrollbarWidth:pt,horizontalScrollbarHeight:Nt,overviewRuler:{top:vt,width:pt,height:Ce-2*vt,right:0}}}}function ie(Y){let Z=Y.get(79);return Z==="editable"?Y.get(72):Z!=="on"}function U(Y,Z){if(typeof Y!="string")return Z;switch(Y){case"hidden":return 2;case"visible":return 3;default:return 1}}let q={fontFamily:f.f?"Menlo, Monaco, 'Courier New', monospace":f.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:f.f?12:14,lineHeight:0,letterSpacing:0},B={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},se=[];function ke(Y){return se[Y.id]=Y,Y}let xe={acceptSuggestionOnCommitCharacter:ke(new S(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:h.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ke(new l(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",h.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:h.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ke(new class extends Q{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[h.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),h.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),h.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:h.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})}validate(Y){switch(Y){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(Y,Z,te){return te===0?Y.accessibilitySupport:te}}),accessibilityPageSize:ke(new P(3,"accessibilityPageSize",10,1,1073741824,{description:h.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:ke(new k(4,"ariaLabel",h.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:ke(new l(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",h.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),h.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:h.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:ke(new l(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",h.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:h.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ke(new l(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",h.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),h.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:h.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ke(new T(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(Y){switch(Y){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[h.a("editor.autoIndent.none","The editor will not insert indentation automatically."),h.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),h.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),h.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),h.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:h.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ke(new S(9,"automaticLayout",!1)),autoSurround:ke(new l(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[h.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),h.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),h.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:h.a("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:ke(new S(11,"codeLens",!0,{description:h.a("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:ke(new S(12,"colorDecorators",!0,{description:h.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:ke(new S(13,"columnSelection",!1,{description:h.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ke(new class extends Q{constructor(){let Y={insertSpace:!0,ignoreEmptyLines:!0};super(14,"comments",Y,{"editor.comments.insertSpace":{type:"boolean",default:Y.insertSpace,description:h.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:Y.ignoreEmptyLines,description:h.a("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{insertSpace:S.boolean(Z.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:S.boolean(Z.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:ke(new S(15,"contextmenu",!0)),copyWithSyntaxHighlighting:ke(new S(16,"copyWithSyntaxHighlighting",!0,{description:h.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ke(new T(17,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(Y){switch(Y){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:h.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ke(new S(18,"cursorSmoothCaretAnimation",!1,{description:h.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ke(new T(19,"cursorStyle",N.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(Y){switch(Y){case"line":return N.Line;case"block":return N.Block;case"underline":return N.Underline;case"line-thin":return N.LineThin;case"block-outline":return N.BlockOutline;case"underline-thin":return N.UnderlineThin}},{description:h.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ke(new P(20,"cursorSurroundingLines",0,0,1073741824,{description:h.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:ke(new l(21,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[h.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),h.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:h.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:ke(new P(22,"cursorWidth",0,0,1073741824,{markdownDescription:h.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ke(new S(23,"disableLayerHinting",!1)),disableMonospaceOptimizations:ke(new S(24,"disableMonospaceOptimizations",!1)),dragAndDrop:ke(new S(25,"dragAndDrop",!0,{description:h.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ke(new class extends S{constructor(){super(26,"emptySelectionClipboard",!0,{description:h.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(Y,Z,te){return te&&Y.emptySelectionClipboard}}),extraEditorClassName:ke(new k(27,"extraEditorClassName","")),fastScrollSensitivity:ke(new V(28,"fastScrollSensitivity",5,Y=>Y<=0?5:Y,{markdownDescription:h.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ke(new class extends Q{constructor(){let Y={cursorMoveOnType:!0,seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(29,"find",Y,{"editor.find.cursorMoveOnType":{type:"boolean",default:Y.cursorMoveOnType,description:h.a("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:Y.seedSearchStringFromSelection,description:h.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:Y.autoFindInSelection,enumDescriptions:[h.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),h.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),h.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:h.a("find.autoFindInSelection","Controls the condition for turning on find in selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:Y.globalFindClipboard,description:h.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:f.f},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:Y.addExtraSpaceOnTop,description:h.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:Y.loop,description:h.a("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{cursorMoveOnType:S.boolean(Z.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:S.boolean(Z.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:typeof Y.autoFindInSelection=="boolean"?Y.autoFindInSelection?"always":"never":l.stringSet(Z.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:S.boolean(Z.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:S.boolean(Z.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:S.boolean(Z.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:ke(new S(30,"fixedOverflowWidgets",!1)),folding:ke(new S(31,"folding",!0,{description:h.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ke(new l(32,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[h.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),h.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:h.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ke(new S(33,"foldingHighlight",!0,{description:h.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),unfoldOnClickAfterEndOfLine:ke(new S(34,"unfoldOnClickAfterEndOfLine",!1,{description:h.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ke(new k(35,"fontFamily",q.fontFamily,{description:h.a("fontFamily","Controls the font family.")})),fontInfo:ke(new class extends y{constructor(){super(36)}compute(Y,Z,te){return Y.fontInfo}}),fontLigatures2:ke(new b),fontSize:ke(new class extends C{constructor(){super(38,"fontSize",q.fontSize,{type:"number",minimum:6,maximum:100,default:q.fontSize,description:h.a("fontSize","Controls the font size in pixels.")})}validate(Y){let Z=V.float(Y,this.defaultValue);return Z===0?q.fontSize:V.clamp(Z,6,100)}compute(Y,Z,te){return Y.fontInfo.fontSize}}),fontWeight:ke(new g),formatOnPaste:ke(new S(40,"formatOnPaste",!1,{description:h.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ke(new S(41,"formatOnType",!1,{description:h.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ke(new S(42,"glyphMargin",!0,{description:h.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ke(new class extends Q{constructor(){let Y={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},Z={type:"string",enum:["peek","gotoAndPeek","goto"],default:Y.multiple,enumDescriptions:[h.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),h.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),h.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};super(43,"gotoLocation",Y,{"editor.gotoLocation.multiple":{deprecationMessage:h.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:h.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},Z),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:h.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},Z),"editor.gotoLocation.multipleDeclarations":Object.assign({description:h.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},Z),"editor.gotoLocation.multipleImplementations":Object.assign({description:h.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},Z),"editor.gotoLocation.multipleReferences":Object.assign({description:h.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},Z),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:Y.alternativeDefinitionCommand,description:h.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:Y.alternativeTypeDefinitionCommand,description:h.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:Y.alternativeDeclarationCommand,description:h.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:Y.alternativeImplementationCommand,description:h.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:Y.alternativeReferenceCommand,description:h.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(Y){var Z,te,he,Ce,Ae;if(!Y||typeof Y!="object")return this.defaultValue;let L=Y;return{multiple:l.stringSet(L.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(Z=L.multipleDefinitions)!==null&&Z!==void 0?Z:l.stringSet(L.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(te=L.multipleTypeDefinitions)!==null&&te!==void 0?te:l.stringSet(L.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(he=L.multipleDeclarations)!==null&&he!==void 0?he:l.stringSet(L.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(Ce=L.multipleImplementations)!==null&&Ce!==void 0?Ce:l.stringSet(L.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(Ae=L.multipleReferences)!==null&&Ae!==void 0?Ae:l.stringSet(L.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:k.string(L.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:k.string(L.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:k.string(L.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:k.string(L.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:k.string(L.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}),hideCursorInOverviewRuler:ke(new S(44,"hideCursorInOverviewRuler",!1,{description:h.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:ke(new S(45,"highlightActiveIndentGuide",!0,{description:h.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:ke(new class extends Q{constructor(){let Y={enabled:!0,delay:300,sticky:!0};super(46,"hover",Y,{"editor.hover.enabled":{type:"boolean",default:Y.enabled,description:h.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:Y.delay,description:h.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:Y.sticky,description:h.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{enabled:S.boolean(Z.enabled,this.defaultValue.enabled),delay:P.clampedInt(Z.delay,this.defaultValue.delay,0,1e4),sticky:S.boolean(Z.sticky,this.defaultValue.sticky)}}}),inDiffEditor:ke(new S(47,"inDiffEditor",!1)),letterSpacing:ke(new V(48,"letterSpacing",q.letterSpacing,Y=>V.clamp(Y,-5,20),{description:h.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ke(new class extends Q{constructor(){let Y={enabled:!0};super(49,"lightbulb",Y,{"editor.lightbulb.enabled":{type:"boolean",default:Y.enabled,description:h.a("codeActions","Enables the code action lightbulb in the editor.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{enabled:S.boolean(Z.enabled,this.defaultValue.enabled)}}}),lineDecorationsWidth:ke(new C(50,"lineDecorationsWidth",10)),lineHeight:ke(new class extends P{constructor(){super(51,"lineHeight",q.lineHeight,0,150,{description:h.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})}compute(Y,Z,te){return Y.fontInfo.lineHeight}}),lineNumbers:ke(new class extends Q{constructor(){super(52,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[h.a("lineNumbers.off","Line numbers are not rendered."),h.a("lineNumbers.on","Line numbers are rendered as absolute number."),h.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),h.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:h.a("lineNumbers","Controls the display of line numbers.")})}validate(Y){let Z=this.defaultValue.renderType,te=this.defaultValue.renderFn;return Y!==void 0&&(typeof Y=="function"?(Z=4,te=Y):Z=Y==="interval"?3:Y==="relative"?2:Y==="on"?1:0),{renderType:Z,renderFn:te}}}),lineNumbersMinChars:ke(new P(53,"lineNumbersMinChars",5,1,300)),links:ke(new S(54,"links",!0,{description:h.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ke(new l(55,"matchBrackets","always",["always","near","never"],{description:h.a("matchBrackets","Highlight matching brackets.")})),minimap:ke(new class extends Q{constructor(){let Y={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(56,"minimap",Y,{"editor.minimap.enabled":{type:"boolean",default:Y.enabled,description:h.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[h.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),h.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),h.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:Y.size,description:h.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:Y.side,description:h.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:Y.showSlider,description:h.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:Y.scale,minimum:1,maximum:3,enum:[1,2,3],description:h.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:Y.renderCharacters,description:h.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:Y.maxColumn,description:h.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{enabled:S.boolean(Z.enabled,this.defaultValue.enabled),size:l.stringSet(Z.size,this.defaultValue.size,["proportional","fill","fit"]),side:l.stringSet(Z.side,this.defaultValue.side,["right","left"]),showSlider:l.stringSet(Z.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:S.boolean(Z.renderCharacters,this.defaultValue.renderCharacters),scale:P.clampedInt(Z.scale,1,1,3),maxColumn:P.clampedInt(Z.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}),mouseStyle:ke(new l(57,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ke(new V(58,"mouseWheelScrollSensitivity",1,Y=>Y===0?1:Y,{markdownDescription:h.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ke(new S(59,"mouseWheelZoom",!1,{markdownDescription:h.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ke(new S(60,"multiCursorMergeOverlapping",!0,{description:h.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ke(new T(61,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(Y){return Y==="ctrlCmd"?f.f?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[h.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),h.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:h.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ke(new l(62,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[h.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),h.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:h.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:ke(new S(63,"occurrencesHighlight",!0,{description:h.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:ke(new S(64,"overviewRulerBorder",!0,{description:h.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ke(new P(65,"overviewRulerLanes",3,0,3)),padding:ke(new class extends Q{constructor(){super(66,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:h.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:h.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{top:P.clampedInt(Z.top,0,0,1e3),bottom:P.clampedInt(Z.bottom,0,0,1e3)}}}),parameterHints:ke(new class extends Q{constructor(){let Y={enabled:!0,cycle:!1};super(67,"parameterHints",Y,{"editor.parameterHints.enabled":{type:"boolean",default:Y.enabled,description:h.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:Y.cycle,description:h.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y;return{enabled:S.boolean(Z.enabled,this.defaultValue.enabled),cycle:S.boolean(Z.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:ke(new l(68,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[h.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),h.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:h.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:ke(new S(69,"definitionLinkOpensInPeek",!1,{description:h.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ke(new class extends Q{constructor(){let Y={other:!0,comments:!1,strings:!1};super(70,"quickSuggestions",Y,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:Y.strings,description:h.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:Y.comments,description:h.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:Y.other,description:h.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:Y,description:h.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=Y}validate(Y){if(typeof Y=="boolean")return Y;if(Y&&typeof Y=="object"){let Z=Y,te={other:S.boolean(Z.other,this.defaultValue.other),comments:S.boolean(Z.comments,this.defaultValue.comments),strings:S.boolean(Z.strings,this.defaultValue.strings)};return!!(te.other&&te.comments&&te.strings)||!!(te.other||te.comments||te.strings)&&te}return this.defaultValue}}),quickSuggestionsDelay:ke(new P(71,"quickSuggestionsDelay",10,0,1073741824,{description:h.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ke(new S(72,"readOnly",!1)),renameOnType:ke(new S(73,"renameOnType",!1,{description:h.a("renameOnType","Controls whether the editor auto renames on type.")})),renderControlCharacters:ke(new S(74,"renderControlCharacters",!1,{description:h.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:ke(new S(75,"renderIndentGuides",!0,{description:h.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:ke(new S(76,"renderFinalNewline",!0,{description:h.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ke(new l(77,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",h.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:h.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ke(new S(78,"renderLineHighlightOnlyWhenFocus",!1,{description:h.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused")})),renderValidationDecorations:ke(new l(79,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ke(new l(80,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",h.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),h.a("renderWhitespace.selection","Render whitespace characters only on selected text."),h.a("renderWhitespace.trailing","Render only trailing whitespace characters"),""],description:h.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ke(new P(81,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:ke(new S(82,"roundedSelection",!0,{description:h.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ke(new class extends Q{constructor(){let Y=[],Z={type:"number",description:h.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(83,"rulers",Y,{type:"array",items:{anyOf:[Z,{type:["object"],properties:{column:Z,color:{type:"string",description:h.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:Y,description:h.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(Y){if(Array.isArray(Y)){let Z=[];for(let te of Y)if(typeof te=="number")Z.push({column:P.clampedInt(te,0,0,1e4),color:null});else if(te&&typeof te=="object"){let he=te;Z.push({column:P.clampedInt(he.column,0,0,1e4),color:he.color})}return Z.sort((te,he)=>te.column-he.column),Z}return this.defaultValue}}),scrollbar:ke(new class extends Q{constructor(){super(84,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})}validate(Y){if(!Y||typeof Y!="object")return this.defaultValue;let Z=Y,te=P.clampedInt(Z.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),he=P.clampedInt(Z.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:P.clampedInt(Z.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:U(Z.vertical,this.defaultValue.vertical),horizontal:U(Z.horizontal,this.defaultValue.horizontal),useShadows:S.boolean(Z.useShadows,this.defaultValue.useShadows),verticalHasArrows:S.boolean(Z.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:S.boolean(Z.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:S.boolean(Z.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:S.boolean(Z.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:te,horizontalSliderSize:P.clampedInt(Z.horizontalSliderSize,te,0,1e3),verticalScrollbarSize:he,verticalSliderSize:P.clampedInt(Z.verticalSliderSize,he,0,1e3)}}}),scrollBeyondLastColumn:ke(new P(85,"scrollBeyondLastColumn",5,0,1073741824,{description:h.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ke(new S(86,"scrollBeyondLastLine",!0,{description:h.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ke(new S(87,"scrollPredominantAxis",!0,{description:h.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ke(new S(88,"selectionClipboard",!0,{description:h.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:f.d})),selectionHighlight:ke(new S(89,"selectionHighlight",!0,{description:h.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ke(new S(90,"selectOnLineNumbers",!0)),showFoldingControls:ke(new l(91,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[h.a("showFoldingControls.always","Always show the folding controls."),h.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:h.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ke(new S(92,"showUnused",!0,{description:h.a("showUnused","Controls fading out of unused code.")})),showDeprecated:ke(new S(113,"showDeprecated",!0,{description:h.a("showDeprecated","Controls strikethrough deprecated variables.")})),snippetSuggestions:ke(new l(93,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[h.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),h.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),h.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),h.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:h.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:ke(new S(94,"smoothScrolling",!1,{description:h.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ke(new P(95,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ke(new class extends Q{constructor(){let Y={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0,statusBar:{visible:!1}};super(96,"suggest",Y,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[h.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),h.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:Y.insertMode,description:h.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:Y.filterGraceful,description:h.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:Y.localityBonus,description:h.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:Y.shareSuggestSelections,markdownDescription:h.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:Y.snippetsPreventQuickSuggestions,description:h.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:Y.showIcons,description:h.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:Y.maxVisibleSuggestions,minimum:1,maximum:15,description:h.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:h.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:h.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")},"editor.suggest.statusBar.visible":{type:"boolean",default:!1,markdownDescription:h.a("editor.suggest.statusBar.visible","Controls the visibility of the status bar at the bottom of the suggest widget.")}})}validate(Y){var Z;if(!Y||typeof Y!="object")return this.defaultValue;let te=Y;return{insertMode:l.stringSet(te.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:S.boolean(te.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:S.boolean(te.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:S.boolean(te.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:S.boolean(te.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:S.boolean(te.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:P.clampedInt(te.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:S.boolean(te.showMethods,this.defaultValue.showMethods),showFunctions:S.boolean(te.showFunctions,this.defaultValue.showFunctions),showConstructors:S.boolean(te.showConstructors,this.defaultValue.showConstructors),showFields:S.boolean(te.showFields,this.defaultValue.showFields),showVariables:S.boolean(te.showVariables,this.defaultValue.showVariables),showClasses:S.boolean(te.showClasses,this.defaultValue.showClasses),showStructs:S.boolean(te.showStructs,this.defaultValue.showStructs),showInterfaces:S.boolean(te.showInterfaces,this.defaultValue.showInterfaces),showModules:S.boolean(te.showModules,this.defaultValue.showModules),showProperties:S.boolean(te.showProperties,this.defaultValue.showProperties),showEvents:S.boolean(te.showEvents,this.defaultValue.showEvents),showOperators:S.boolean(te.showOperators,this.defaultValue.showOperators),showUnits:S.boolean(te.showUnits,this.defaultValue.showUnits),showValues:S.boolean(te.showValues,this.defaultValue.showValues),showConstants:S.boolean(te.showConstants,this.defaultValue.showConstants),showEnums:S.boolean(te.showEnums,this.defaultValue.showEnums),showEnumMembers:S.boolean(te.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:S.boolean(te.showKeywords,this.defaultValue.showKeywords),showWords:S.boolean(te.showWords,this.defaultValue.showWords),showColors:S.boolean(te.showColors,this.defaultValue.showColors),showFiles:S.boolean(te.showFiles,this.defaultValue.showFiles),showReferences:S.boolean(te.showReferences,this.defaultValue.showReferences),showFolders:S.boolean(te.showFolders,this.defaultValue.showFolders),showTypeParameters:S.boolean(te.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:S.boolean(te.showSnippets,this.defaultValue.showSnippets),showUsers:S.boolean(te.showUsers,this.defaultValue.showUsers),showIssues:S.boolean(te.showIssues,this.defaultValue.showIssues),statusBar:{visible:S.boolean((Z=te.statusBar)===null||Z===void 0?void 0:Z.visible,!!this.defaultValue.statusBar.visible)}}}}),suggestFontSize:ke(new P(97,"suggestFontSize",0,0,1e3,{markdownDescription:h.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:ke(new P(98,"suggestLineHeight",0,0,1e3,{markdownDescription:h.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:ke(new S(99,"suggestOnTriggerCharacters",!0,{description:h.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ke(new l(100,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[h.a("suggestSelection.first","Always select the first suggestion."),h.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),h.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:h.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ke(new l(101,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[h.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),h.a("tabCompletion.off","Disable tab completions."),h.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:h.a("tabCompletion","Enables tab completions.")})),tabIndex:ke(new P(102,"tabIndex",0,-1,1073741824)),unusualLineTerminators:ke(new l(103,"unusualLineTerminators","prompt",["off","prompt","auto"],{enumDescriptions:[h.a("unusualLineTerminators.off","Unusual line terminators are ignored."),h.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed."),h.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed.")],description:h.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useTabStops:ke(new S(104,"useTabStops",!0,{description:h.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:ke(new k(105,"wordSeparators",D.b,{description:h.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ke(new l(106,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[h.a("wordWrap.off","Lines will never wrap."),h.a("wordWrap.on","Lines will wrap at the viewport width."),h.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),h.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:h.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ke(new k(107,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:ke(new k(108,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:ke(new P(109,"wordWrapColumn",80,1,1073741824,{markdownDescription:h.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:ke(new S(110,"wordWrapMinified",!0)),wrappingIndent:ke(new T(111,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],function(Y){switch(Y){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}},{enumDescriptions:[h.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),h.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),h.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),h.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:h.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:ke(new l(112,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[h.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),h.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:h.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:ke(new class extends y{constructor(){super(114,[57,27])}compute(Y,Z,te){let he=["monaco-editor"];return Z.get(27)&&he.push(Z.get(27)),Y.extraEditorClassName&&he.push(Y.extraEditorClassName),Z.get(57)==="default"?he.push("mouse-default"):Z.get(57)==="copy"&&he.push("mouse-copy"),Z.get(92)&&he.push("showUnused"),Z.get(113)&&he.push("showDeprecated"),he.join(" ")}}),pixelRatio:ke(new class extends y{constructor(){super(115)}compute(Y,Z,te){return Y.pixelRatio}}),tabFocusMode:ke(new class extends y{constructor(){super(116,[72])}compute(Y,Z,te){return!!Z.get(72)||Y.tabFocusMode}}),layoutInfo:ke(new j),wrappingInfo:ke(new class extends y{constructor(){super(118,[117])}compute(Y,Z,te){let he=Z.get(117);return{isDominatedByLongLines:Y.isDominatedByLongLines,isWordWrapMinified:he.isWordWrapMinified,isViewportWrapping:he.isViewportWrapping,wrappingColumn:he.wrappingColumn}}})}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return W}),o.d(w,"a",function(){return Q});var h=o(2),f=o(14),D=o(18),H=o(6),E=o(53),ge=o(37);let W=Object(D.c)("commandService"),Q=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new H.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(y,C){if(!y)throw new Error("invalid command");if(typeof y=="string"){if(!C)throw new Error("invalid command");return this.registerCommand({id:y,handler:C})}if(y.description){let l=[];for(let N of y.description.args)l.push(N.constraint);let T=y.handler;y.handler=function(N,...b){return Object(f.m)(b,l),T(N,...b)}}let{id:S}=y,P=this._commands.get(S);P||(P=new E.a,this._commands.set(S,P));let V=P.unshift(y),k=Object(h.h)(()=>{V();let l=this._commands.get(S);(l==null?void 0:l.isEmpty())&&this._commands.delete(S)});return this._onDidRegisterCommand.fire(S),k}registerCommandAlias(y,C){return Q.registerCommand(y,(S,...P)=>S.get(W).executeCommand(C,...P))}getCommand(y){let C=this._commands.get(y);if(C&&!C.isEmpty())return ge.a.first(C)}getCommands(){let y=new Map;for(let C of this._commands.keys()){let S=this.getCommand(C);S&&y.set(C,S)}return y}}},function(Ie,w,o){"use strict";(function(h){o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E}),o.d(w,"c",function(){return ge});var f=o(11);let D=h===void 0?{cwd:()=>"/",env:Object.create(null),get platform(){return f.i?"win32":f.f?"darwin":"linux"},nextTick:W=>Object(f.j)(W)}:h,H=D.cwd,E=D.env,ge=D.platform}).call(this,o(86))},function(Ie,w,o){"use strict";var h=o(108);o.d(w,"a",function(){return h.b}),o.d(w,"b",function(){return h.e}),o.d(w,"c",function(){return h.f}),o.d(w,"d",function(){return h.h}),o.d(w,"e",function(){return h.l}),o.d(w,"f",function(){return h.m}),o.d(w,"g",function(){return h.n})},function(Ie,w,o){"use strict";o.d(w,"b",function(){return Mn}),o.d(w,"a",function(){return Gn});var h=o(13),f=o(6),D=o(2),H=o(8),E=o(23),ge=o(26),W=o(9),Q=o(3),y=o(21),C=o(58),S=o(175);class P{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function V(qt,I,ne,_e,Fe){let Xe;for(Fe.spacesDiff=0,Fe.looksLikeAlignment=!1,Xe=0;Xe<I&&Xe<_e&&qt.charCodeAt(Xe)===ne.charCodeAt(Xe);Xe++);let ot=0,Mt=0;for(let Kt=Xe;Kt<I;Kt++)qt.charCodeAt(Kt)===32?ot++:Mt++;let Ot=0,Tt=0;for(let Kt=Xe;Kt<_e;Kt++)ne.charCodeAt(Kt)===32?Ot++:Tt++;if(ot>0&&Mt>0||Ot>0&&Tt>0)return;let Ht=Math.abs(Mt-Tt),jt=Math.abs(ot-Ot);if(Ht===0)return Fe.spacesDiff=jt,void(jt>0&&0<=Ot-1&&Ot-1<qt.length&&Ot<ne.length&&ne.charCodeAt(Ot)!==32&&qt.charCodeAt(Ot-1)===32&&qt.charCodeAt(qt.length-1)===44&&(Fe.looksLikeAlignment=!0));jt%Ht!=0||(Fe.spacesDiff=jt/Ht)}function k(qt,I,ne){let _e=Math.min(qt.getLineCount(),1e4),Fe=0,Xe=0,ot="",Mt=0,Ot=[2,4,6,8,3,5,7],Tt=[0,0,0,0,0,0,0,0,0],Ht=new P;for(let wi=1;wi<=_e;wi++){let Ti=qt.getLineLength(wi),ft=qt.getLineContent(wi),X=Ti<=65536,ae=!1,Ge=0,lt=0,Dt=0;for(let ti=0,ye=Ti;ti<ye;ti++){let le=X?ft.charCodeAt(ti):qt.getLineCharCode(wi,ti);if(le===9)Dt++;else{if(le!==32){ae=!0,Ge=ti;break}lt++}}if(!ae||(Dt>0?Fe++:lt>1&&Xe++,V(ot,Mt,ft,Ge,Ht),Ht.looksLikeAlignment&&(!ne||I!==Ht.spacesDiff)))continue;let Gt=Ht.spacesDiff;Gt<=8&&Tt[Gt]++,ot=ft,Mt=Ge}let jt=ne;Fe!==Xe&&(jt=Fe<Xe);let Kt=I;if(jt){let wi=jt?0:.1*_e;Ot.forEach(Ti=>{let ft=Tt[Ti];ft>wi&&(wi=ft,Kt=Ti)}),Kt===4&&Tt[4]>0&&Tt[2]>0&&Tt[2]>=Tt[4]/2&&(Kt=2)}return{insertSpaces:jt,tabSize:Kt}}function l(qt){return(1&qt.metadata)>>>0}function T(qt,I){qt.metadata=254&qt.metadata|I<<0}function N(qt){return(2&qt.metadata)>>>1==1}function b(qt,I){qt.metadata=253&qt.metadata|(I?1:0)<<1}function g(qt){return(4&qt.metadata)>>>2==1}function j(qt,I){qt.metadata=251&qt.metadata|(I?1:0)<<2}function ie(qt){return(8&qt.metadata)>>>3==1}function U(qt,I){qt.metadata=247&qt.metadata|(I?1:0)<<3}function q(qt,I){qt.metadata=207&qt.metadata|I<<4}function B(qt,I){qt.metadata=191&qt.metadata|(I?1:0)<<6}class se{constructor(I,ne,_e){this.metadata=0,this.parent=this,this.left=this,this.right=this,T(this,1),this.start=ne,this.end=_e,this.delta=0,this.maxEnd=_e,this.id=I,this.ownerId=0,this.options=null,j(this,!1),q(this,1),U(this,!1),B(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=ne,this.cachedAbsoluteEnd=_e,this.range=null,b(this,!1)}reset(I,ne,_e,Fe){this.start=ne,this.end=_e,this.maxEnd=_e,this.cachedVersionId=I,this.cachedAbsoluteStart=ne,this.cachedAbsoluteEnd=_e,this.range=Fe}setOptions(I){this.options=I;let ne=this.options.className;j(this,ne==="squiggly-error"||ne==="squiggly-warning"||ne==="squiggly-info"),q(this,this.options.stickiness),U(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),B(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(I,ne,_e){this.cachedVersionId!==_e&&(this.range=null),this.cachedVersionId=_e,this.cachedAbsoluteStart=I,this.cachedAbsoluteEnd=ne}detach(){this.parent=null,this.left=null,this.right=null}}let ke=new se(null,0,0);ke.parent=ke,ke.left=ke,ke.right=ke,T(ke,0);class xe{constructor(){this.root=ke,this.requestNormalizeDelta=!1}intervalSearch(I,ne,_e,Fe,Xe){return this.root===ke?[]:function(ot,Mt,Ot,Tt,Ht,jt){let Kt=ot.root,wi=0,Ti=0,ft=0,X=0,ae=[],Ge=0;for(;Kt!==ke;)if(N(Kt))b(Kt.left,!1),b(Kt.right,!1),Kt===Kt.parent.right&&(wi-=Kt.parent.delta),Kt=Kt.parent;else{if(!N(Kt.left)){if(Ti=wi+Kt.maxEnd,Ti<Mt){b(Kt,!0);continue}if(Kt.left!==ke){Kt=Kt.left;continue}}if(ft=wi+Kt.start,ft>Ot)b(Kt,!0);else{if(X=wi+Kt.end,X>=Mt){Kt.setCachedOffsets(ft,X,jt);let lt=!0;Tt&&Kt.ownerId&&Kt.ownerId!==Tt&&(lt=!1),Ht&&g(Kt)&&(lt=!1),lt&&(ae[Ge++]=Kt)}b(Kt,!0),Kt.right===ke||N(Kt.right)||(wi+=Kt.delta,Kt=Kt.right)}}return b(ot.root,!1),ae}(this,I,ne,_e,Fe,Xe)}search(I,ne,_e){return this.root===ke?[]:function(Fe,Xe,ot,Mt){let Ot=Fe.root,Tt=0,Ht=0,jt=0,Kt=[],wi=0;for(;Ot!==ke;){if(N(Ot)){b(Ot.left,!1),b(Ot.right,!1),Ot===Ot.parent.right&&(Tt-=Ot.parent.delta),Ot=Ot.parent;continue}if(Ot.left!==ke&&!N(Ot.left)){Ot=Ot.left;continue}Ht=Tt+Ot.start,jt=Tt+Ot.end,Ot.setCachedOffsets(Ht,jt,Mt);let Ti=!0;Xe&&Ot.ownerId&&Ot.ownerId!==Xe&&(Ti=!1),ot&&g(Ot)&&(Ti=!1),Ti&&(Kt[wi++]=Ot),b(Ot,!0),Ot.right===ke||N(Ot.right)||(Tt+=Ot.delta,Ot=Ot.right)}return b(Fe.root,!1),Kt}(this,I,ne,_e)}collectNodesFromOwner(I){return function(ne,_e){let Fe=ne.root,Xe=[],ot=0;for(;Fe!==ke;)N(Fe)?(b(Fe.left,!1),b(Fe.right,!1),Fe=Fe.parent):Fe.left===ke||N(Fe.left)?(Fe.ownerId===_e&&(Xe[ot++]=Fe),b(Fe,!0),Fe.right===ke||N(Fe.right)||(Fe=Fe.right)):Fe=Fe.left;return b(ne.root,!1),Xe}(this,I)}collectNodesPostOrder(){return function(I){let ne=I.root,_e=[],Fe=0;for(;ne!==ke;)N(ne)?(b(ne.left,!1),b(ne.right,!1),ne=ne.parent):ne.left===ke||N(ne.left)?ne.right===ke||N(ne.right)?(_e[Fe++]=ne,b(ne,!0)):ne=ne.right:ne=ne.left;return b(I.root,!1),_e}(this)}insert(I){te(this,I),this._normalizeDeltaIfNecessary()}delete(I){he(this,I),this._normalizeDeltaIfNecessary()}resolveNode(I,ne){let _e=I,Fe=0;for(;I!==this.root;)I===I.parent.right&&(Fe+=I.parent.delta),I=I.parent;let Xe=_e.start+Fe,ot=_e.end+Fe;_e.setCachedOffsets(Xe,ot,ne)}acceptReplace(I,ne,_e,Fe){let Xe=function(ot,Mt,Ot){let Tt=ot.root,Ht=0,jt=0,Kt=0,wi=0,Ti=[],ft=0;for(;Tt!==ke;)if(N(Tt))b(Tt.left,!1),b(Tt.right,!1),Tt===Tt.parent.right&&(Ht-=Tt.parent.delta),Tt=Tt.parent;else{if(!N(Tt.left)){if(jt=Ht+Tt.maxEnd,jt<Mt){b(Tt,!0);continue}if(Tt.left!==ke){Tt=Tt.left;continue}}Kt=Ht+Tt.start,Kt>Ot?b(Tt,!0):(wi=Ht+Tt.end,wi>=Mt&&(Tt.setCachedOffsets(Kt,wi,0),Ti[ft++]=Tt),b(Tt,!0),Tt.right===ke||N(Tt.right)||(Ht+=Tt.delta,Tt=Tt.right))}return b(ot.root,!1),Ti}(this,I,I+ne);for(let ot=0,Mt=Xe.length;ot<Mt;ot++)he(this,Xe[ot]);this._normalizeDeltaIfNecessary(),function(ot,Mt,Ot,Tt){let Ht=ot.root,jt=0,Kt=0,wi=0,Ti=Tt-(Ot-Mt);for(;Ht!==ke;)if(N(Ht))b(Ht.left,!1),b(Ht.right,!1),Ht===Ht.parent.right&&(jt-=Ht.parent.delta),ct(Ht),Ht=Ht.parent;else{if(!N(Ht.left)){if(Kt=jt+Ht.maxEnd,Kt<Mt){b(Ht,!0);continue}if(Ht.left!==ke){Ht=Ht.left;continue}}wi=jt+Ht.start,wi>Ot?(Ht.start+=Ti,Ht.end+=Ti,Ht.delta+=Ti,(Ht.delta<-1073741824||Ht.delta>1073741824)&&(ot.requestNormalizeDelta=!0),b(Ht,!0)):(b(Ht,!0),Ht.right===ke||N(Ht.right)||(jt+=Ht.delta,Ht=Ht.right))}b(ot.root,!1)}(this,I,I+ne,_e),this._normalizeDeltaIfNecessary();for(let ot=0,Mt=Xe.length;ot<Mt;ot++){let Ot=Xe[ot];Ot.start=Ot.cachedAbsoluteStart,Ot.end=Ot.cachedAbsoluteEnd,Z(Ot,I,I+ne,_e,Fe),Ot.maxEnd=Ot.end,te(this,Ot)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(I){let ne=I.root,_e=0;for(;ne!==ke;)ne.left===ke||N(ne.left)?ne.right===ke||N(ne.right)?(ne.start=_e+ne.start,ne.end=_e+ne.end,ne.delta=0,ct(ne),b(ne,!0),b(ne.left,!1),b(ne.right,!1),ne===ne.parent.right&&(_e-=ne.parent.delta),ne=ne.parent):(_e+=ne.delta,ne=ne.right):ne=ne.left;b(I.root,!1)}(this))}}function Y(qt,I,ne,_e){return qt<ne||!(qt>ne)&&_e!==1&&(_e===2||I)}function Z(qt,I,ne,_e,Fe){let Xe=function(X){return(48&X.metadata)>>>4}(qt),ot=Xe===0||Xe===2,Mt=Xe===1||Xe===2,Ot=ne-I,Tt=_e,Ht=Math.min(Ot,Tt),jt=qt.start,Kt=!1,wi=qt.end,Ti=!1;I<=jt&&wi<=ne&&function(X){return(64&X.metadata)>>>6==1}(qt)&&(qt.start=I,Kt=!0,qt.end=I,Ti=!0);{let X=Fe?1:Ot>0?2:0;!Kt&&Y(jt,ot,I,X)&&(Kt=!0),!Ti&&Y(wi,Mt,I,X)&&(Ti=!0)}if(Ht>0&&!Fe){let X=Ot>Tt?2:0;!Kt&&Y(jt,ot,I+Ht,X)&&(Kt=!0),!Ti&&Y(wi,Mt,I+Ht,X)&&(Ti=!0)}{let X=Fe?1:0;!Kt&&Y(jt,ot,ne,X)&&(qt.start=I+Tt,Kt=!0),!Ti&&Y(wi,Mt,ne,X)&&(qt.end=I+Tt,Ti=!0)}let ft=Tt-Ot;Kt||(qt.start=Math.max(0,jt+ft)),Ti||(qt.end=Math.max(0,wi+ft)),qt.start>qt.end&&(qt.end=qt.start)}function te(qt,I){if(qt.root===ke)return I.parent=ke,I.left=ke,I.right=ke,T(I,0),qt.root=I,qt.root;(function(_e,Fe){let Xe=0,ot=_e.root,Mt=Fe.start,Ot=Fe.end;for(;;)if(ht(Mt,Ot,ot.start+Xe,ot.end+Xe)<0){if(ot.left===ke){Fe.start-=Xe,Fe.end-=Xe,Fe.maxEnd-=Xe,ot.left=Fe;break}ot=ot.left}else{if(ot.right===ke){Fe.start-=Xe+ot.delta,Fe.end-=Xe+ot.delta,Fe.maxEnd-=Xe+ot.delta,ot.right=Fe;break}Xe+=ot.delta,ot=ot.right}Fe.parent=ot,Fe.left=ke,Fe.right=ke,T(Fe,1)})(qt,I),Ye(I.parent);let ne=I;for(;ne!==qt.root&&l(ne.parent)===1;)if(ne.parent===ne.parent.parent.left){let _e=ne.parent.parent.right;l(_e)===1?(T(ne.parent,0),T(_e,0),T(ne.parent.parent,1),ne=ne.parent.parent):(ne===ne.parent.right&&(ne=ne.parent,Ae(qt,ne)),T(ne.parent,0),T(ne.parent.parent,1),L(qt,ne.parent.parent))}else{let _e=ne.parent.parent.left;l(_e)===1?(T(ne.parent,0),T(_e,0),T(ne.parent.parent,1),ne=ne.parent.parent):(ne===ne.parent.left&&(ne=ne.parent,L(qt,ne)),T(ne.parent,0),T(ne.parent.parent,1),Ae(qt,ne.parent.parent))}return T(qt.root,0),I}function he(qt,I){let ne,_e;if(I.left===ke?(ne=I.right,_e=I,ne.delta+=I.delta,(ne.delta<-1073741824||ne.delta>1073741824)&&(qt.requestNormalizeDelta=!0),ne.start+=I.delta,ne.end+=I.delta):I.right===ke?(ne=I.left,_e=I):(_e=function(ot){for(;ot.left!==ke;)ot=ot.left;return ot}(I.right),ne=_e.right,ne.start+=_e.delta,ne.end+=_e.delta,ne.delta+=_e.delta,(ne.delta<-1073741824||ne.delta>1073741824)&&(qt.requestNormalizeDelta=!0),_e.start+=I.delta,_e.end+=I.delta,_e.delta=I.delta,(_e.delta<-1073741824||_e.delta>1073741824)&&(qt.requestNormalizeDelta=!0)),_e===qt.root)return qt.root=ne,T(ne,0),I.detach(),Ce(),ct(ne),void(qt.root.parent=ke);let Fe,Xe=l(_e)===1;if(_e===_e.parent.left?_e.parent.left=ne:_e.parent.right=ne,_e===I?ne.parent=_e.parent:(_e.parent===I?ne.parent=_e:ne.parent=_e.parent,_e.left=I.left,_e.right=I.right,_e.parent=I.parent,T(_e,l(I)),I===qt.root?qt.root=_e:I===I.parent.left?I.parent.left=_e:I.parent.right=_e,_e.left!==ke&&(_e.left.parent=_e),_e.right!==ke&&(_e.right.parent=_e)),I.detach(),Xe)return Ye(ne.parent),_e!==I&&(Ye(_e),Ye(_e.parent)),void Ce();for(Ye(ne),Ye(ne.parent),_e!==I&&(Ye(_e),Ye(_e.parent));ne!==qt.root&&l(ne)===0;)ne===ne.parent.left?(Fe=ne.parent.right,l(Fe)===1&&(T(Fe,0),T(ne.parent,1),Ae(qt,ne.parent),Fe=ne.parent.right),l(Fe.left)===0&&l(Fe.right)===0?(T(Fe,1),ne=ne.parent):(l(Fe.right)===0&&(T(Fe.left,0),T(Fe,1),L(qt,Fe),Fe=ne.parent.right),T(Fe,l(ne.parent)),T(ne.parent,0),T(Fe.right,0),Ae(qt,ne.parent),ne=qt.root)):(Fe=ne.parent.left,l(Fe)===1&&(T(Fe,0),T(ne.parent,1),L(qt,ne.parent),Fe=ne.parent.left),l(Fe.left)===0&&l(Fe.right)===0?(T(Fe,1),ne=ne.parent):(l(Fe.left)===0&&(T(Fe.right,0),T(Fe,1),Ae(qt,Fe),Fe=ne.parent.left),T(Fe,l(ne.parent)),T(ne.parent,0),T(Fe.left,0),L(qt,ne.parent),ne=qt.root));T(ne,0),Ce()}function Ce(){ke.parent=ke,ke.delta=0,ke.start=0,ke.end=0}function Ae(qt,I){let ne=I.right;ne.delta+=I.delta,(ne.delta<-1073741824||ne.delta>1073741824)&&(qt.requestNormalizeDelta=!0),ne.start+=I.delta,ne.end+=I.delta,I.right=ne.left,ne.left!==ke&&(ne.left.parent=I),ne.parent=I.parent,I.parent===ke?qt.root=ne:I===I.parent.left?I.parent.left=ne:I.parent.right=ne,ne.left=I,I.parent=ne,ct(I),ct(ne)}function L(qt,I){let ne=I.left;I.delta-=ne.delta,(I.delta<-1073741824||I.delta>1073741824)&&(qt.requestNormalizeDelta=!0),I.start-=ne.delta,I.end-=ne.delta,I.left=ne.right,ne.right!==ke&&(ne.right.parent=I),ne.parent=I.parent,I.parent===ke?qt.root=ne:I===I.parent.right?I.parent.right=ne:I.parent.left=ne,ne.right=I,I.parent=ne,ct(I),ct(ne)}function nt(qt){let I=qt.end;if(qt.left!==ke){let ne=qt.left.maxEnd;ne>I&&(I=ne)}if(qt.right!==ke){let ne=qt.right.maxEnd+qt.delta;ne>I&&(I=ne)}return I}function ct(qt){qt.maxEnd=nt(qt)}function Ye(qt){for(;qt!==ke;){let I=nt(qt);if(qt.maxEnd===I)return;qt.maxEnd=I,qt=qt.parent}}function ht(qt,I,ne,_e){return qt===ne?I-_e:qt-ne}class fe{constructor(I,ne){this.piece=I,this.color=ne,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==$)return G(this.right);let I=this;for(;I.parent!==$&&I.parent.left!==I;)I=I.parent;return I.parent===$?$:I.parent}prev(){if(this.left!==$)return z(this.left);let I=this;for(;I.parent!==$&&I.parent.right!==I;)I=I.parent;return I.parent===$?$:I.parent}detach(){this.parent=null,this.left=null,this.right=null}}let $=new fe(null,0);function G(qt){for(;qt.left!==$;)qt=qt.left;return qt}function z(qt){for(;qt.right!==$;)qt=qt.right;return qt}function J(qt){return qt===$?0:qt.size_left+qt.piece.length+J(qt.right)}function Se(qt){return qt===$?0:qt.lf_left+qt.piece.lineFeedCnt+Se(qt.right)}function A(){$.parent=$}function ee(qt,I){let ne=I.right;ne.size_left+=I.size_left+(I.piece?I.piece.length:0),ne.lf_left+=I.lf_left+(I.piece?I.piece.lineFeedCnt:0),I.right=ne.left,ne.left!==$&&(ne.left.parent=I),ne.parent=I.parent,I.parent===$?qt.root=ne:I.parent.left===I?I.parent.left=ne:I.parent.right=ne,ne.left=I,I.parent=ne}function de(qt,I){let ne=I.left;I.left=ne.right,ne.right!==$&&(ne.right.parent=I),ne.parent=I.parent,I.size_left-=ne.size_left+(ne.piece?ne.piece.length:0),I.lf_left-=ne.lf_left+(ne.piece?ne.piece.lineFeedCnt:0),I.parent===$?qt.root=ne:I===I.parent.right?I.parent.right=ne:I.parent.left=ne,ne.right=I,I.parent=ne}function Oe(qt,I){let ne,_e;if(I.left===$?(_e=I,ne=_e.right):I.right===$?(_e=I,ne=_e.left):(_e=G(I.right),ne=_e.right),_e===qt.root)return qt.root=ne,ne.color=0,I.detach(),A(),void(qt.root.parent=$);let Fe,Xe=_e.color===1;if(_e===_e.parent.left?_e.parent.left=ne:_e.parent.right=ne,_e===I?(ne.parent=_e.parent,it(qt,ne)):(_e.parent===I?ne.parent=_e:ne.parent=_e.parent,it(qt,ne),_e.left=I.left,_e.right=I.right,_e.parent=I.parent,_e.color=I.color,I===qt.root?qt.root=_e:I===I.parent.left?I.parent.left=_e:I.parent.right=_e,_e.left!==$&&(_e.left.parent=_e),_e.right!==$&&(_e.right.parent=_e),_e.size_left=I.size_left,_e.lf_left=I.lf_left,it(qt,_e)),I.detach(),ne.parent.left===ne){let ot=J(ne),Mt=Se(ne);if(ot!==ne.parent.size_left||Mt!==ne.parent.lf_left){let Ot=ot-ne.parent.size_left,Tt=Mt-ne.parent.lf_left;ne.parent.size_left=ot,ne.parent.lf_left=Mt,pt(qt,ne.parent,Ot,Tt)}}if(it(qt,ne.parent),Xe)A();else{for(;ne!==qt.root&&ne.color===0;)ne===ne.parent.left?(Fe=ne.parent.right,Fe.color===1&&(Fe.color=0,ne.parent.color=1,ee(qt,ne.parent),Fe=ne.parent.right),Fe.left.color===0&&Fe.right.color===0?(Fe.color=1,ne=ne.parent):(Fe.right.color===0&&(Fe.left.color=0,Fe.color=1,de(qt,Fe),Fe=ne.parent.right),Fe.color=ne.parent.color,ne.parent.color=0,Fe.right.color=0,ee(qt,ne.parent),ne=qt.root)):(Fe=ne.parent.left,Fe.color===1&&(Fe.color=0,ne.parent.color=1,de(qt,ne.parent),Fe=ne.parent.left),Fe.left.color===0&&Fe.right.color===0?(Fe.color=1,ne=ne.parent):(Fe.left.color===0&&(Fe.right.color=0,Fe.color=1,ee(qt,Fe),Fe=ne.parent.left),Fe.color=ne.parent.color,ne.parent.color=0,Fe.left.color=0,de(qt,ne.parent),ne=qt.root));ne.color=0,A()}}function $e(qt,I){for(it(qt,I);I!==qt.root&&I.parent.color===1;)if(I.parent===I.parent.parent.left){let ne=I.parent.parent.right;ne.color===1?(I.parent.color=0,ne.color=0,I.parent.parent.color=1,I=I.parent.parent):(I===I.parent.right&&ee(qt,I=I.parent),I.parent.color=0,I.parent.parent.color=1,de(qt,I.parent.parent))}else{let ne=I.parent.parent.left;ne.color===1?(I.parent.color=0,ne.color=0,I.parent.parent.color=1,I=I.parent.parent):(I===I.parent.left&&de(qt,I=I.parent),I.parent.color=0,I.parent.parent.color=1,ee(qt,I.parent.parent))}qt.root.color=0}function pt(qt,I,ne,_e){for(;I!==qt.root&&I!==$;)I.parent.left===I&&(I.parent.size_left+=ne,I.parent.lf_left+=_e),I=I.parent}function it(qt,I){let ne=0,_e=0;if(I!==qt.root){if(ne===0){for(;I!==qt.root&&I===I.parent.right;)I=I.parent;if(I===qt.root)return;ne=J((I=I.parent).left)-I.size_left,_e=Se(I.left)-I.lf_left,I.size_left+=ne,I.lf_left+=_e}for(;I!==qt.root&&(ne!==0||_e!==0);)I.parent.left===I&&(I.parent.size_left+=ne,I.parent.lf_left+=_e),I=I.parent}}$.parent=$,$.left=$,$.right=$,$.color=0;var At=o(106);function Nt(qt){let I;return I=qt[qt.length-1]<65536?new Uint16Array(qt.length):new Uint32Array(qt.length),I.set(qt,0),I}class _i{constructor(I,ne,_e,Fe,Xe){this.lineStarts=I,this.cr=ne,this.lf=_e,this.crlf=Fe,this.isBasicASCII=Xe}}function wt(qt,I=!0){let ne=[0],_e=1;for(let Fe=0,Xe=qt.length;Fe<Xe;Fe++){let ot=qt.charCodeAt(Fe);ot===13?Fe+1<Xe&&qt.charCodeAt(Fe+1)===10?(ne[_e++]=Fe+2,Fe++):ne[_e++]=Fe+1:ot===10&&(ne[_e++]=Fe+1)}return I?Nt(ne):ne}class Ni{constructor(I,ne,_e,Fe,Xe){this.bufferIndex=I,this.start=ne,this.end=_e,this.lineFeedCnt=Fe,this.length=Xe}}class pi{constructor(I,ne){this.buffer=I,this.lineStarts=ne}}class et{constructor(I,ne){this._pieces=[],this._tree=I,this._BOM=ne,this._index=0,I.root!==$&&I.iterate(I.root,_e=>(_e!==$&&this._pieces.push(_e.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class Wt{constructor(I){this._limit=I,this._cache=[]}get(I){for(let ne=this._cache.length-1;ne>=0;ne--){let _e=this._cache[ne];if(_e.nodeStartOffset<=I&&_e.nodeStartOffset+_e.node.piece.length>=I)return _e}return null}get2(I){for(let ne=this._cache.length-1;ne>=0;ne--){let _e=this._cache[ne];if(_e.nodeStartLineNumber&&_e.nodeStartLineNumber<I&&_e.nodeStartLineNumber+_e.node.piece.lineFeedCnt>=I)return _e}return null}set(I){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(I)}validate(I){let ne=!1,_e=this._cache;for(let Fe=0;Fe<_e.length;Fe++){let Xe=_e[Fe];(Xe.node.parent===null||Xe.nodeStartOffset>=I)&&(_e[Fe]=null,ne=!0)}if(ne){let Fe=[];for(let Xe of _e)Xe!==null&&Fe.push(Xe);this._cache=Fe}}}class Li{constructor(I,ne,_e){this.create(I,ne,_e)}create(I,ne,_e){this._buffers=[new pi("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=$,this._lineCnt=1,this._length=0,this._EOL=ne,this._EOLLength=ne.length,this._EOLNormalized=_e;let Fe=null;for(let Xe=0,ot=I.length;Xe<ot;Xe++)if(I[Xe].buffer.length>0){I[Xe].lineStarts||(I[Xe].lineStarts=wt(I[Xe].buffer));let Mt=new Ni(Xe+1,{line:0,column:0},{line:I[Xe].lineStarts.length-1,column:I[Xe].buffer.length-I[Xe].lineStarts[I[Xe].lineStarts.length-1]},I[Xe].lineStarts.length-1,I[Xe].buffer.length);this._buffers.push(I[Xe]),Fe=this.rbInsertRight(Fe,Mt)}this._searchCache=new Wt(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(I){let ne=65535-Math.floor(21845),_e=2*ne,Fe="",Xe=0,ot=[];if(this.iterate(this.root,Mt=>{let Ot=this.getNodeContent(Mt),Tt=Ot.length;if(Xe<=ne||Xe+Tt<_e)return Fe+=Ot,Xe+=Tt,!0;let Ht=Fe.replace(/\r\n|\r|\n/g,I);return ot.push(new pi(Ht,wt(Ht))),Fe=Ot,Xe=Tt,!0}),Xe>0){let Mt=Fe.replace(/\r\n|\r|\n/g,I);ot.push(new pi(Mt,wt(Mt)))}this.create(ot,I,!0)}getEOL(){return this._EOL}setEOL(I){this._EOL=I,this._EOLLength=this._EOL.length,this.normalizeEOL(I)}createSnapshot(I){return new et(this,I)}getOffsetAt(I,ne){let _e=0,Fe=this.root;for(;Fe!==$;)if(Fe.left!==$&&Fe.lf_left+1>=I)Fe=Fe.left;else{if(Fe.lf_left+Fe.piece.lineFeedCnt+1>=I)return _e+=Fe.size_left,_e+(this.getAccumulatedValue(Fe,I-Fe.lf_left-2)+ne-1);I-=Fe.lf_left+Fe.piece.lineFeedCnt,_e+=Fe.size_left+Fe.piece.length,Fe=Fe.right}return _e}getPositionAt(I){I=Math.floor(I),I=Math.max(0,I);let ne=this.root,_e=0,Fe=I;for(;ne!==$;)if(ne.size_left!==0&&ne.size_left>=I)ne=ne.left;else{if(ne.size_left+ne.piece.length>=I){let Xe=this.getIndexOf(ne,I-ne.size_left);if(_e+=ne.lf_left+Xe.index,Xe.index===0){let ot=Fe-this.getOffsetAt(_e+1,1);return new W.a(_e+1,ot+1)}return new W.a(_e+1,Xe.remainder+1)}if(I-=ne.size_left+ne.piece.length,_e+=ne.lf_left+ne.piece.lineFeedCnt,ne.right===$){let Xe=Fe-I-this.getOffsetAt(_e+1,1);return new W.a(_e+1,Xe+1)}ne=ne.right}return new W.a(1,1)}getValueInRange(I,ne){if(I.startLineNumber===I.endLineNumber&&I.startColumn===I.endColumn)return"";let _e=this.nodeAt2(I.startLineNumber,I.startColumn),Fe=this.nodeAt2(I.endLineNumber,I.endColumn),Xe=this.getValueInRange2(_e,Fe);return ne?ne===this._EOL&&this._EOLNormalized&&ne===this.getEOL()&&this._EOLNormalized?Xe:Xe.replace(/\r\n|\r|\n/g,ne):Xe}getValueInRange2(I,ne){if(I.node===ne.node){let Mt=I.node,Ot=this._buffers[Mt.piece.bufferIndex].buffer,Tt=this.offsetInBuffer(Mt.piece.bufferIndex,Mt.piece.start);return Ot.substring(Tt+I.remainder,Tt+ne.remainder)}let _e=I.node,Fe=this._buffers[_e.piece.bufferIndex].buffer,Xe=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start),ot=Fe.substring(Xe+I.remainder,Xe+_e.piece.length);for(_e=_e.next();_e!==$;){let Mt=this._buffers[_e.piece.bufferIndex].buffer,Ot=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start);if(_e===ne.node){ot+=Mt.substring(Ot,Ot+ne.remainder);break}ot+=Mt.substr(Ot,_e.piece.length),_e=_e.next()}return ot}getLinesContent(){let I=[],ne=0,_e="",Fe=!1;return this.iterate(this.root,Xe=>{if(Xe===$)return!0;let ot=Xe.piece,Mt=ot.length;if(Mt===0)return!0;let Ot=this._buffers[ot.bufferIndex].buffer,Tt=this._buffers[ot.bufferIndex].lineStarts,Ht=ot.start.line,jt=ot.end.line,Kt=Tt[Ht]+ot.start.column;if(Fe&&(Ot.charCodeAt(Kt)===10&&(Kt++,Mt--),I[ne++]=_e,_e="",Fe=!1,Mt===0))return!0;if(Ht===jt)return this._EOLNormalized||Ot.charCodeAt(Kt+Mt-1)!==13?_e+=Ot.substr(Kt,Mt):(Fe=!0,_e+=Ot.substr(Kt,Mt-1)),!0;_e+=this._EOLNormalized?Ot.substring(Kt,Math.max(Kt,Tt[Ht+1]-this._EOLLength)):Ot.substring(Kt,Tt[Ht+1]).replace(/(\r\n|\r|\n)$/,""),I[ne++]=_e;for(let wi=Ht+1;wi<jt;wi++)_e=this._EOLNormalized?Ot.substring(Tt[wi],Tt[wi+1]-this._EOLLength):Ot.substring(Tt[wi],Tt[wi+1]).replace(/(\r\n|\r|\n)$/,""),I[ne++]=_e;return this._EOLNormalized||Ot.charCodeAt(Tt[jt]+ot.end.column-1)!==13?_e=Ot.substr(Tt[jt],ot.end.column):(Fe=!0,ot.end.column===0?ne--:_e=Ot.substr(Tt[jt],ot.end.column-1)),!0}),Fe&&(I[ne++]=_e,_e=""),I[ne++]=_e,I}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(I){return this._lastVisitedLine.lineNumber===I||(this._lastVisitedLine.lineNumber=I,I===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(I):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(I,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(I).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value}_getCharCode(I){if(I.remainder===I.node.piece.length){let ne=I.node.next();if(!ne)return 0;let _e=this._buffers[ne.piece.bufferIndex],Fe=this.offsetInBuffer(ne.piece.bufferIndex,ne.piece.start);return _e.buffer.charCodeAt(Fe)}{let ne=this._buffers[I.node.piece.bufferIndex],_e=this.offsetInBuffer(I.node.piece.bufferIndex,I.node.piece.start)+I.remainder;return ne.buffer.charCodeAt(_e)}}getLineCharCode(I,ne){let _e=this.nodeAt2(I,ne+1);return this._getCharCode(_e)}getLineLength(I){if(I===this.getLineCount()){let ne=this.getOffsetAt(I,1);return this.getLength()-ne}return this.getOffsetAt(I+1,1)-this.getOffsetAt(I,1)-this._EOLLength}findMatchesInNode(I,ne,_e,Fe,Xe,ot,Mt,Ot,Tt,Ht,jt){let Kt,wi,Ti,ft=this._buffers[I.piece.bufferIndex],X=this.offsetInBuffer(I.piece.bufferIndex,I.piece.start),ae=this.offsetInBuffer(I.piece.bufferIndex,Xe),Ge=this.offsetInBuffer(I.piece.bufferIndex,ot),lt={line:0,column:0};ne._wordSeparators?(wi=ft.buffer.substring(ae,Ge),Ti=Dt=>Dt+ae,ne.reset(0)):(wi=ft.buffer,Ti=Dt=>Dt,ne.reset(ae));do if(Kt=ne.next(wi),Kt){if(Ti(Kt.index)>=Ge)return Ht;this.positionInBuffer(I,Ti(Kt.index)-X,lt);let Dt=this.getLineFeedCnt(I.piece.bufferIndex,Xe,lt),Gt=lt.line===Xe.line?lt.column-Xe.column+Fe:lt.column+1,ti=Gt+Kt[0].length;if(jt[Ht++]=Object(At.d)(new Q.a(_e+Dt,Gt,_e+Dt,ti),Kt,Ot),Ti(Kt.index)+Kt[0].length>=Ge||Ht>=Tt)return Ht}while(Kt);return Ht}findMatchesLineByLine(I,ne,_e,Fe){let Xe=[],ot=0,Mt=new At.b(ne.wordSeparators,ne.regex),Ot=this.nodeAt2(I.startLineNumber,I.startColumn);if(Ot===null)return[];let Tt=this.nodeAt2(I.endLineNumber,I.endColumn);if(Tt===null)return[];let Ht=this.positionInBuffer(Ot.node,Ot.remainder),jt=this.positionInBuffer(Tt.node,Tt.remainder);if(Ot.node===Tt.node)return this.findMatchesInNode(Ot.node,Mt,I.startLineNumber,I.startColumn,Ht,jt,ne,_e,Fe,ot,Xe),Xe;let Kt=I.startLineNumber,wi=Ot.node;for(;wi!==Tt.node;){let ft=this.getLineFeedCnt(wi.piece.bufferIndex,Ht,wi.piece.end);if(ft>=1){let ae=this._buffers[wi.piece.bufferIndex].lineStarts,Ge=this.offsetInBuffer(wi.piece.bufferIndex,wi.piece.start),lt=ae[Ht.line+ft],Dt=Kt===I.startLineNumber?I.startColumn:1;if(ot=this.findMatchesInNode(wi,Mt,Kt,Dt,Ht,this.positionInBuffer(wi,lt-Ge),ne,_e,Fe,ot,Xe),ot>=Fe)return Xe;Kt+=ft}let X=Kt===I.startLineNumber?I.startColumn-1:0;if(Kt===I.endLineNumber){let ae=this.getLineContent(Kt).substring(X,I.endColumn-1);return ot=this._findMatchesInLine(ne,Mt,ae,I.endLineNumber,X,ot,Xe,_e,Fe),Xe}if(ot=this._findMatchesInLine(ne,Mt,this.getLineContent(Kt).substr(X),Kt,X,ot,Xe,_e,Fe),ot>=Fe)return Xe;Kt++,Ot=this.nodeAt2(Kt,1),wi=Ot.node,Ht=this.positionInBuffer(Ot.node,Ot.remainder)}if(Kt===I.endLineNumber){let ft=Kt===I.startLineNumber?I.startColumn-1:0,X=this.getLineContent(Kt).substring(ft,I.endColumn-1);return ot=this._findMatchesInLine(ne,Mt,X,I.endLineNumber,ft,ot,Xe,_e,Fe),Xe}let Ti=Kt===I.startLineNumber?I.startColumn:1;return ot=this.findMatchesInNode(Tt.node,Mt,Kt,Ti,Ht,jt,ne,_e,Fe,ot,Xe),Xe}_findMatchesInLine(I,ne,_e,Fe,Xe,ot,Mt,Ot,Tt){let Ht=I.wordSeparators;if(!Ot&&I.simpleSearch){let Kt=I.simpleSearch,wi=Kt.length,Ti=_e.length,ft=-wi;for(;(ft=_e.indexOf(Kt,ft+wi))!==-1;)if((!Ht||Object(At.e)(Ht,_e,Ti,ft,wi))&&(Mt[ot++]=new C.b(new Q.a(Fe,ft+1+Xe,Fe,ft+1+wi+Xe),null),ot>=Tt))return ot;return ot}let jt;ne.reset(0);do if(jt=ne.next(_e),jt&&(Mt[ot++]=Object(At.d)(new Q.a(Fe,jt.index+1+Xe,Fe,jt.index+1+jt[0].length+Xe),jt,Ot),ot>=Tt))return ot;while(jt);return ot}insert(I,ne,_e=!1){if(this._EOLNormalized=this._EOLNormalized&&_e,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==$){let{node:Fe,remainder:Xe,nodeStartOffset:ot}=this.nodeAt(I),Mt=Fe.piece,Ot=Mt.bufferIndex,Tt=this.positionInBuffer(Fe,Xe);if(Fe.piece.bufferIndex===0&&Mt.end.line===this._lastChangeBufferPos.line&&Mt.end.column===this._lastChangeBufferPos.column&&ot+Mt.length===I&&ne.length<65535)return this.appendToNode(Fe,ne),void this.computeBufferMetadata();if(ot===I)this.insertContentToNodeLeft(ne,Fe),this._searchCache.validate(I);else if(ot+Fe.piece.length>I){let Ht=[],jt=new Ni(Mt.bufferIndex,Tt,Mt.end,this.getLineFeedCnt(Mt.bufferIndex,Tt,Mt.end),this.offsetInBuffer(Ot,Mt.end)-this.offsetInBuffer(Ot,Tt));if(this.shouldCheckCRLF()&&this.endWithCR(ne)&&this.nodeCharCodeAt(Fe,Xe)===10){let Ti={line:jt.start.line+1,column:0};jt=new Ni(jt.bufferIndex,Ti,jt.end,this.getLineFeedCnt(jt.bufferIndex,Ti,jt.end),jt.length-1),ne+=` +`}if(this.shouldCheckCRLF()&&this.startWithLF(ne))if(this.nodeCharCodeAt(Fe,Xe-1)===13){let Ti=this.positionInBuffer(Fe,Xe-1);this.deleteNodeTail(Fe,Ti),ne="\r"+ne,Fe.piece.length===0&&Ht.push(Fe)}else this.deleteNodeTail(Fe,Tt);else this.deleteNodeTail(Fe,Tt);let Kt=this.createNewPieces(ne);jt.length>0&&this.rbInsertRight(Fe,jt);let wi=Fe;for(let Ti=0;Ti<Kt.length;Ti++)wi=this.rbInsertRight(wi,Kt[Ti]);this.deleteNodes(Ht)}else this.insertContentToNodeRight(ne,Fe)}else{let Fe=this.createNewPieces(ne),Xe=this.rbInsertLeft(null,Fe[0]);for(let ot=1;ot<Fe.length;ot++)Xe=this.rbInsertRight(Xe,Fe[ot])}this.computeBufferMetadata()}delete(I,ne){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",ne<=0||this.root===$)return;let _e=this.nodeAt(I),Fe=this.nodeAt(I+ne),Xe=_e.node,ot=Fe.node;if(Xe===ot){let jt=this.positionInBuffer(Xe,_e.remainder),Kt=this.positionInBuffer(Xe,Fe.remainder);if(_e.nodeStartOffset===I){if(ne===Xe.piece.length){let wi=Xe.next();return Oe(this,Xe),this.validateCRLFWithPrevNode(wi),void this.computeBufferMetadata()}return this.deleteNodeHead(Xe,Kt),this._searchCache.validate(I),this.validateCRLFWithPrevNode(Xe),void this.computeBufferMetadata()}return _e.nodeStartOffset+Xe.piece.length===I+ne?(this.deleteNodeTail(Xe,jt),this.validateCRLFWithNextNode(Xe),void this.computeBufferMetadata()):(this.shrinkNode(Xe,jt,Kt),void this.computeBufferMetadata())}let Mt=[],Ot=this.positionInBuffer(Xe,_e.remainder);this.deleteNodeTail(Xe,Ot),this._searchCache.validate(I),Xe.piece.length===0&&Mt.push(Xe);let Tt=this.positionInBuffer(ot,Fe.remainder);this.deleteNodeHead(ot,Tt),ot.piece.length===0&&Mt.push(ot);for(let jt=Xe.next();jt!==$&&jt!==ot;jt=jt.next())Mt.push(jt);let Ht=Xe.piece.length===0?Xe.prev():Xe;this.deleteNodes(Mt),this.validateCRLFWithNextNode(Ht),this.computeBufferMetadata()}insertContentToNodeLeft(I,ne){let _e=[];if(this.shouldCheckCRLF()&&this.endWithCR(I)&&this.startWithLF(ne)){let ot=ne.piece,Mt={line:ot.start.line+1,column:0},Ot=new Ni(ot.bufferIndex,Mt,ot.end,this.getLineFeedCnt(ot.bufferIndex,Mt,ot.end),ot.length-1);ne.piece=Ot,I+=` +`,pt(this,ne,-1,-1),ne.piece.length===0&&_e.push(ne)}let Fe=this.createNewPieces(I),Xe=this.rbInsertLeft(ne,Fe[Fe.length-1]);for(let ot=Fe.length-2;ot>=0;ot--)Xe=this.rbInsertLeft(Xe,Fe[ot]);this.validateCRLFWithPrevNode(Xe),this.deleteNodes(_e)}insertContentToNodeRight(I,ne){this.adjustCarriageReturnFromNext(I,ne)&&(I+=` +`);let _e=this.createNewPieces(I),Fe=this.rbInsertRight(ne,_e[0]),Xe=Fe;for(let ot=1;ot<_e.length;ot++)Xe=this.rbInsertRight(Xe,_e[ot]);this.validateCRLFWithPrevNode(Fe)}positionInBuffer(I,ne,_e){let Fe=I.piece,Xe=I.piece.bufferIndex,ot=this._buffers[Xe].lineStarts,Mt=ot[Fe.start.line]+Fe.start.column+ne,Ot=Fe.start.line,Tt=Fe.end.line,Ht=0,jt=0,Kt=0;for(;Ot<=Tt&&(Ht=Ot+(Tt-Ot)/2|0,Kt=ot[Ht],Ht!==Tt);)if(jt=ot[Ht+1],Mt<Kt)Tt=Ht-1;else{if(!(Mt>=jt))break;Ot=Ht+1}return _e?(_e.line=Ht,_e.column=Mt-Kt,null):{line:Ht,column:Mt-Kt}}getLineFeedCnt(I,ne,_e){if(_e.column===0)return _e.line-ne.line;let Fe=this._buffers[I].lineStarts;if(_e.line===Fe.length-1)return _e.line-ne.line;let Xe=Fe[_e.line+1],ot=Fe[_e.line]+_e.column;if(Xe>ot+1)return _e.line-ne.line;let Mt=ot-1;return this._buffers[I].buffer.charCodeAt(Mt)===13?_e.line-ne.line+1:_e.line-ne.line}offsetInBuffer(I,ne){return this._buffers[I].lineStarts[ne.line]+ne.column}deleteNodes(I){for(let ne=0;ne<I.length;ne++)Oe(this,I[ne])}createNewPieces(I){if(I.length>65535){let Tt=[];for(;I.length>65535;){let jt=I.charCodeAt(65534),Kt;jt===13||jt>=55296&&jt<=56319?(Kt=I.substring(0,65534),I=I.substring(65534)):(Kt=I.substring(0,65535),I=I.substring(65535));let wi=wt(Kt);Tt.push(new Ni(this._buffers.length,{line:0,column:0},{line:wi.length-1,column:Kt.length-wi[wi.length-1]},wi.length-1,Kt.length)),this._buffers.push(new pi(Kt,wi))}let Ht=wt(I);return Tt.push(new Ni(this._buffers.length,{line:0,column:0},{line:Ht.length-1,column:I.length-Ht[Ht.length-1]},Ht.length-1,I.length)),this._buffers.push(new pi(I,Ht)),Tt}let ne=this._buffers[0].buffer.length,_e=wt(I,!1),Fe=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===ne&&ne!==0&&this.startWithLF(I)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},Fe=this._lastChangeBufferPos;for(let Tt=0;Tt<_e.length;Tt++)_e[Tt]+=ne+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(_e.slice(1)),this._buffers[0].buffer+="_"+I,ne+=1}else{if(ne!==0)for(let Tt=0;Tt<_e.length;Tt++)_e[Tt]+=ne;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(_e.slice(1)),this._buffers[0].buffer+=I}let Xe=this._buffers[0].buffer.length,ot=this._buffers[0].lineStarts.length-1,Mt={line:ot,column:Xe-this._buffers[0].lineStarts[ot]},Ot=new Ni(0,Fe,Mt,this.getLineFeedCnt(0,Fe,Mt),Xe-ne);return this._lastChangeBufferPos=Mt,[Ot]}getLineRawContent(I,ne=0){let _e=this.root,Fe="",Xe=this._searchCache.get2(I);if(Xe){_e=Xe.node;let ot=this.getAccumulatedValue(_e,I-Xe.nodeStartLineNumber-1),Mt=this._buffers[_e.piece.bufferIndex].buffer,Ot=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start);if(Xe.nodeStartLineNumber+_e.piece.lineFeedCnt!==I){let Tt=this.getAccumulatedValue(_e,I-Xe.nodeStartLineNumber);return Mt.substring(Ot+ot,Ot+Tt-ne)}Fe=Mt.substring(Ot+ot,Ot+_e.piece.length)}else{let ot=0,Mt=I;for(;_e!==$;)if(_e.left!==$&&_e.lf_left>=I-1)_e=_e.left;else{if(_e.lf_left+_e.piece.lineFeedCnt>I-1){let Ot=this.getAccumulatedValue(_e,I-_e.lf_left-2),Tt=this.getAccumulatedValue(_e,I-_e.lf_left-1),Ht=this._buffers[_e.piece.bufferIndex].buffer,jt=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start);return ot+=_e.size_left,this._searchCache.set({node:_e,nodeStartOffset:ot,nodeStartLineNumber:Mt-(I-1-_e.lf_left)}),Ht.substring(jt+Ot,jt+Tt-ne)}if(_e.lf_left+_e.piece.lineFeedCnt===I-1){let Ot=this.getAccumulatedValue(_e,I-_e.lf_left-2),Tt=this._buffers[_e.piece.bufferIndex].buffer,Ht=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start);Fe=Tt.substring(Ht+Ot,Ht+_e.piece.length);break}I-=_e.lf_left+_e.piece.lineFeedCnt,ot+=_e.size_left+_e.piece.length,_e=_e.right}}for(_e=_e.next();_e!==$;){let ot=this._buffers[_e.piece.bufferIndex].buffer;if(_e.piece.lineFeedCnt>0){let Mt=this.getAccumulatedValue(_e,0),Ot=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start);return Fe+=ot.substring(Ot,Ot+Mt-ne),Fe}{let Mt=this.offsetInBuffer(_e.piece.bufferIndex,_e.piece.start);Fe+=ot.substr(Mt,_e.piece.length)}_e=_e.next()}return Fe}computeBufferMetadata(){let I=this.root,ne=1,_e=0;for(;I!==$;)ne+=I.lf_left+I.piece.lineFeedCnt,_e+=I.size_left+I.piece.length,I=I.right;this._lineCnt=ne,this._length=_e,this._searchCache.validate(this._length)}getIndexOf(I,ne){let _e=I.piece,Fe=this.positionInBuffer(I,ne),Xe=Fe.line-_e.start.line;if(this.offsetInBuffer(_e.bufferIndex,_e.end)-this.offsetInBuffer(_e.bufferIndex,_e.start)===ne){let ot=this.getLineFeedCnt(I.piece.bufferIndex,_e.start,Fe);if(ot!==Xe)return{index:ot,remainder:0}}return{index:Xe,remainder:Fe.column}}getAccumulatedValue(I,ne){if(ne<0)return 0;let _e=I.piece,Fe=this._buffers[_e.bufferIndex].lineStarts,Xe=_e.start.line+ne+1;return Xe>_e.end.line?Fe[_e.end.line]+_e.end.column-Fe[_e.start.line]-_e.start.column:Fe[Xe]-Fe[_e.start.line]-_e.start.column}deleteNodeTail(I,ne){let _e=I.piece,Fe=_e.lineFeedCnt,Xe=this.offsetInBuffer(_e.bufferIndex,_e.end),ot=ne,Mt=this.offsetInBuffer(_e.bufferIndex,ot),Ot=this.getLineFeedCnt(_e.bufferIndex,_e.start,ot),Tt=Ot-Fe,Ht=Mt-Xe,jt=_e.length+Ht;I.piece=new Ni(_e.bufferIndex,_e.start,ot,Ot,jt),pt(this,I,Ht,Tt)}deleteNodeHead(I,ne){let _e=I.piece,Fe=_e.lineFeedCnt,Xe=this.offsetInBuffer(_e.bufferIndex,_e.start),ot=ne,Mt=this.getLineFeedCnt(_e.bufferIndex,ot,_e.end),Ot=Mt-Fe,Tt=Xe-this.offsetInBuffer(_e.bufferIndex,ot),Ht=_e.length+Tt;I.piece=new Ni(_e.bufferIndex,ot,_e.end,Mt,Ht),pt(this,I,Tt,Ot)}shrinkNode(I,ne,_e){let Fe=I.piece,Xe=Fe.start,ot=Fe.end,Mt=Fe.length,Ot=Fe.lineFeedCnt,Tt=ne,Ht=this.getLineFeedCnt(Fe.bufferIndex,Fe.start,Tt),jt=this.offsetInBuffer(Fe.bufferIndex,ne)-this.offsetInBuffer(Fe.bufferIndex,Xe);I.piece=new Ni(Fe.bufferIndex,Fe.start,Tt,Ht,jt),pt(this,I,jt-Mt,Ht-Ot);let Kt=new Ni(Fe.bufferIndex,_e,ot,this.getLineFeedCnt(Fe.bufferIndex,_e,ot),this.offsetInBuffer(Fe.bufferIndex,ot)-this.offsetInBuffer(Fe.bufferIndex,_e)),wi=this.rbInsertRight(I,Kt);this.validateCRLFWithPrevNode(wi)}appendToNode(I,ne){this.adjustCarriageReturnFromNext(ne,I)&&(ne+=` +`);let _e=this.shouldCheckCRLF()&&this.startWithLF(ne)&&this.endWithCR(I),Fe=this._buffers[0].buffer.length;this._buffers[0].buffer+=ne;let Xe=wt(ne,!1);for(let Kt=0;Kt<Xe.length;Kt++)Xe[Kt]+=Fe;if(_e){let Kt=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:Fe-Kt}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(Xe.slice(1));let ot=this._buffers[0].lineStarts.length-1,Mt={line:ot,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[ot]},Ot=I.piece.length+ne.length,Tt=I.piece.lineFeedCnt,Ht=this.getLineFeedCnt(0,I.piece.start,Mt),jt=Ht-Tt;I.piece=new Ni(I.piece.bufferIndex,I.piece.start,Mt,Ht,Ot),this._lastChangeBufferPos=Mt,pt(this,I,ne.length,jt)}nodeAt(I){let ne=this.root,_e=this._searchCache.get(I);if(_e)return{node:_e.node,nodeStartOffset:_e.nodeStartOffset,remainder:I-_e.nodeStartOffset};let Fe=0;for(;ne!==$;)if(ne.size_left>I)ne=ne.left;else{if(ne.size_left+ne.piece.length>=I){Fe+=ne.size_left;let Xe={node:ne,remainder:I-ne.size_left,nodeStartOffset:Fe};return this._searchCache.set(Xe),Xe}I-=ne.size_left+ne.piece.length,Fe+=ne.size_left+ne.piece.length,ne=ne.right}return null}nodeAt2(I,ne){let _e=this.root,Fe=0;for(;_e!==$;)if(_e.left!==$&&_e.lf_left>=I-1)_e=_e.left;else{if(_e.lf_left+_e.piece.lineFeedCnt>I-1){let Xe=this.getAccumulatedValue(_e,I-_e.lf_left-2),ot=this.getAccumulatedValue(_e,I-_e.lf_left-1);return Fe+=_e.size_left,{node:_e,remainder:Math.min(Xe+ne-1,ot),nodeStartOffset:Fe}}if(_e.lf_left+_e.piece.lineFeedCnt===I-1){let Xe=this.getAccumulatedValue(_e,I-_e.lf_left-2);if(Xe+ne-1<=_e.piece.length)return{node:_e,remainder:Xe+ne-1,nodeStartOffset:Fe};ne-=_e.piece.length-Xe;break}I-=_e.lf_left+_e.piece.lineFeedCnt,Fe+=_e.size_left+_e.piece.length,_e=_e.right}for(_e=_e.next();_e!==$;){if(_e.piece.lineFeedCnt>0){let Xe=this.getAccumulatedValue(_e,0),ot=this.offsetOfNode(_e);return{node:_e,remainder:Math.min(ne-1,Xe),nodeStartOffset:ot}}if(_e.piece.length>=ne-1)return{node:_e,remainder:ne-1,nodeStartOffset:this.offsetOfNode(_e)};ne-=_e.piece.length,_e=_e.next()}return null}nodeCharCodeAt(I,ne){if(I.piece.lineFeedCnt<1)return-1;let _e=this._buffers[I.piece.bufferIndex],Fe=this.offsetInBuffer(I.piece.bufferIndex,I.piece.start)+ne;return _e.buffer.charCodeAt(Fe)}offsetOfNode(I){if(!I)return 0;let ne=I.size_left;for(;I!==this.root;)I.parent.right===I&&(ne+=I.parent.size_left+I.parent.piece.length),I=I.parent;return ne}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===` +`)}startWithLF(I){if(typeof I=="string")return I.charCodeAt(0)===10;if(I===$||I.piece.lineFeedCnt===0)return!1;let ne=I.piece,_e=this._buffers[ne.bufferIndex].lineStarts,Fe=ne.start.line,Xe=_e[Fe]+ne.start.column;return Fe!==_e.length-1&&!(_e[Fe+1]>Xe+1)&&this._buffers[ne.bufferIndex].buffer.charCodeAt(Xe)===10}endWithCR(I){return typeof I=="string"?I.charCodeAt(I.length-1)===13:I!==$&&I.piece.lineFeedCnt!==0&&this.nodeCharCodeAt(I,I.piece.length-1)===13}validateCRLFWithPrevNode(I){if(this.shouldCheckCRLF()&&this.startWithLF(I)){let ne=I.prev();this.endWithCR(ne)&&this.fixCRLF(ne,I)}}validateCRLFWithNextNode(I){if(this.shouldCheckCRLF()&&this.endWithCR(I)){let ne=I.next();this.startWithLF(ne)&&this.fixCRLF(I,ne)}}fixCRLF(I,ne){let _e,Fe=[],Xe=this._buffers[I.piece.bufferIndex].lineStarts;_e=I.piece.end.column===0?{line:I.piece.end.line-1,column:Xe[I.piece.end.line]-Xe[I.piece.end.line-1]-1}:{line:I.piece.end.line,column:I.piece.end.column-1};let ot=I.piece.length-1,Mt=I.piece.lineFeedCnt-1;I.piece=new Ni(I.piece.bufferIndex,I.piece.start,_e,Mt,ot),pt(this,I,-1,-1),I.piece.length===0&&Fe.push(I);let Ot={line:ne.piece.start.line+1,column:0},Tt=ne.piece.length-1,Ht=this.getLineFeedCnt(ne.piece.bufferIndex,Ot,ne.piece.end);ne.piece=new Ni(ne.piece.bufferIndex,Ot,ne.piece.end,Ht,Tt),pt(this,ne,-1,-1),ne.piece.length===0&&Fe.push(ne);let jt=this.createNewPieces(`\r +`);this.rbInsertRight(I,jt[0]);for(let Kt=0;Kt<Fe.length;Kt++)Oe(this,Fe[Kt])}adjustCarriageReturnFromNext(I,ne){if(this.shouldCheckCRLF()&&this.endWithCR(I)){let _e=ne.next();if(this.startWithLF(_e)){if(I+=` +`,_e.piece.length===1)Oe(this,_e);else{let Fe=_e.piece,Xe={line:Fe.start.line+1,column:0},ot=Fe.length-1,Mt=this.getLineFeedCnt(Fe.bufferIndex,Xe,Fe.end);_e.piece=new Ni(Fe.bufferIndex,Xe,Fe.end,Mt,ot),pt(this,_e,-1,-1)}return!0}}return!1}iterate(I,ne){if(I===$)return ne($);let _e=this.iterate(I.left,ne);return _e&&ne(I)&&this.iterate(I.right,ne)}getNodeContent(I){if(I===$)return"";let ne,_e=this._buffers[I.piece.bufferIndex],Fe=I.piece,Xe=this.offsetInBuffer(Fe.bufferIndex,Fe.start),ot=this.offsetInBuffer(Fe.bufferIndex,Fe.end);return ne=_e.buffer.substring(Xe,ot),ne}getPieceContent(I){let ne=this._buffers[I.bufferIndex],_e=this.offsetInBuffer(I.bufferIndex,I.start),Fe=this.offsetInBuffer(I.bufferIndex,I.end);return ne.buffer.substring(_e,Fe)}rbInsertRight(I,ne){let _e=new fe(ne,1);if(_e.left=$,_e.right=$,_e.parent=$,_e.size_left=0,_e.lf_left=0,this.root===$)this.root=_e,_e.color=0;else if(I.right===$)I.right=_e,_e.parent=I;else{let Fe=G(I.right);Fe.left=_e,_e.parent=Fe}return $e(this,_e),_e}rbInsertLeft(I,ne){let _e=new fe(ne,1);if(_e.left=$,_e.right=$,_e.parent=$,_e.size_left=0,_e.lf_left=0,this.root===$)this.root=_e,_e.color=0;else if(I.left===$)I.left=_e,_e.parent=I;else{let Fe=z(I.left);Fe.right=_e,_e.parent=Fe}return $e(this,_e),_e}}var Ii=o(124),Ai=o(180);class Zi{constructor(I,ne,_e,Fe,Xe,ot,Mt){this._onDidChangeContent=new f.a,this._BOM=ne,this._mightContainNonBasicASCII=!ot,this._mightContainRTL=Fe,this._mightContainUnusualLineTerminators=Xe,this._pieceTree=new Li(I,_e,Mt)}dispose(){this._onDidChangeContent.dispose()}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(I){return this._pieceTree.createSnapshot(I?this._BOM:"")}getOffsetAt(I,ne){return this._pieceTree.getOffsetAt(I,ne)}getPositionAt(I){return this._pieceTree.getPositionAt(I)}getRangeAt(I,ne){let _e=I+ne,Fe=this.getPositionAt(I),Xe=this.getPositionAt(_e);return new Q.a(Fe.lineNumber,Fe.column,Xe.lineNumber,Xe.column)}getValueInRange(I,ne=0){if(I.isEmpty())return"";let _e=this._getEndOfLine(ne);return this._pieceTree.getValueInRange(I,_e)}getValueLengthInRange(I,ne=0){if(I.isEmpty())return 0;if(I.startLineNumber===I.endLineNumber)return I.endColumn-I.startColumn;let _e=this.getOffsetAt(I.startLineNumber,I.startColumn);return this.getOffsetAt(I.endLineNumber,I.endColumn)-_e}getCharacterCountInRange(I,ne=0){if(this._mightContainNonBasicASCII){let _e=0,Fe=I.startLineNumber,Xe=I.endLineNumber;for(let ot=Fe;ot<=Xe;ot++){let Mt=this.getLineContent(ot),Ot=ot===Fe?I.startColumn-1:0,Tt=ot===Xe?I.endColumn-1:Mt.length;for(let Ht=Ot;Ht<Tt;Ht++)H.F(Mt.charCodeAt(Ht))?(_e+=1,Ht+=1):_e+=1}return _e+=this._getEndOfLine(ne).length*(Xe-Fe),_e}return this.getValueLengthInRange(I,ne)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(I){return this._pieceTree.getLineContent(I)}getLineCharCode(I,ne){return this._pieceTree.getLineCharCode(I,ne)}getLineLength(I){return this._pieceTree.getLineLength(I)}getLineFirstNonWhitespaceColumn(I){let ne=H.w(this.getLineContent(I));return ne===-1?0:ne+1}getLineLastNonWhitespaceColumn(I){let ne=H.J(this.getLineContent(I));return ne===-1?0:ne+2}_getEndOfLine(I){switch(I){case 1:return` `;case 2:return`\r -`;case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}setEOL(K){this._pieceTree.setEOL(K)}applyEdits(K,W,ia){let Ha=this._mightContainRTL,Ta=this._mightContainUnusualLineTerminators,db=this._mightContainNonBasicASCII,yb=!0,Bb=[];for(let Ec=0;Ec<K.length;Ec++){let X=K[Ec];yb&&X._isTracked&&(yb=!1);let xa=X.range;if(X.text){let jc=!0;db||(jc=!F.B(X.text),db=jc),!Ha&&jc&&(Ha=F.m(X.text)),!Ta&&jc&&(Ta=F.n(X.text))}let qa="",mb=0,ub=0,Rb=0;if(X.text){let jc;[mb,ub,Rb,jc]=Object(Cc.f)(X.text);const Xb=this.getEOL(),wa=`\r -`===Xb?2:1;qa=0===jc||jc===wa?X.text:X.text.replace(/\r\n|\r|\n/g,Xb)}Bb[Ec]={sortIndex:Ec,identifier:X.identifier||null,range:xa,rangeOffset:this.getOffsetAt(xa.startLineNumber,xa.startColumn),rangeLength:this.getValueLengthInRange(xa),text:qa,eolCount:mb,firstLineLength:ub,lastLineLength:Rb,forceMoveMarkers:Boolean(X.forceMoveMarkers),isAutoWhitespaceEdit:X.isAutoWhitespaceEdit||!1}}Bb.sort(Yc._sortOpsAscending);let Jb=!1;for(let Ec=0,X=Bb.length-1;Ec<X;Ec++){let xa=Bb[Ec].range.getEndPosition(),qa=Bb[Ec+1].range.getStartPosition();if(qa.isBeforeOrEqual(xa)){if(qa.isBefore(xa))throw new Error("Overlapping ranges are not allowed!");Jb=!0}}yb&&(Bb=this._reduceOperations(Bb));let xb=ia||W?Yc._getInverseEditRanges(Bb):[],Lb=[];if(W)for(let Ec=0;Ec<Bb.length;Ec++){let X=Bb[Ec],xa=xb[Ec];if(X.isAutoWhitespaceEdit&&X.range.isEmpty())for(let qa=xa.startLineNumber;qa<=xa.endLineNumber;qa++){let mb="";qa===xa.startLineNumber&&(mb=this.getLineContent(X.range.startLineNumber),-1!==F.w(mb))||Lb.push({lineNumber:qa,oldContent:mb})}}let Ub=null;if(ia){let Ec=0;Ub=[];for(let X=0;X<Bb.length;X++){const xa=Bb[X],qa=xb[X],mb=this.getValueInRange(xa.range),ub=xa.rangeOffset+Ec;Ec+=xa.text.length-mb.length,Ub[X]={sortIndex:xa.sortIndex,identifier:xa.identifier,range:qa,text:mb,textChange:new Kc.a(xa.rangeOffset,mb,ub,xa.text)}}Jb||Ub.sort((X,xa)=>X.sortIndex-xa.sortIndex)}this._mightContainRTL=Ha,this._mightContainUnusualLineTerminators=Ta,this._mightContainNonBasicASCII=db;const pc=this._doApplyEdits(Bb);let yc=null;if(W&&Lb.length>0){Lb.sort((Ec,X)=>X.lineNumber-Ec.lineNumber),yc=[];for(let Ec=0,X=Lb.length;Ec<X;Ec++){let xa=Lb[Ec].lineNumber;if(Ec>0&&Lb[Ec-1].lineNumber===xa)continue;let qa=Lb[Ec].oldContent,mb=this.getLineContent(xa);0!==mb.length&&mb!==qa&&-1===F.w(mb)&&yc.push(xa)}}return this._onDidChangeContent.fire(),new z.a(Ub,pc,yc)}_reduceOperations(K){return K.length<1e3?K:[this._toSingleEditOperation(K)]}_toSingleEditOperation(K){let W=!1;const ia=K[0].range,Ha=K[K.length-1].range,Ta=new L.a(ia.startLineNumber,ia.startColumn,Ha.endLineNumber,Ha.endColumn);let db=ia.startLineNumber,yb=ia.startColumn;const Bb=[];for(let pc=0,yc=K.length;pc<yc;pc++){const Ec=K[pc],X=Ec.range;W=W||Ec.forceMoveMarkers,Bb.push(this.getValueInRange(new L.a(db,yb,X.startLineNumber,X.startColumn))),Ec.text.length>0&&Bb.push(Ec.text),db=X.endLineNumber,yb=X.endColumn}const Jb=Bb.join(""),[xb,Lb,Ub]=Object(Cc.f)(Jb);return{sortIndex:0,identifier:K[0].identifier,range:Ta,rangeOffset:this.getOffsetAt(Ta.startLineNumber,Ta.startColumn),rangeLength:this.getValueLengthInRange(Ta,0),text:Jb,eolCount:xb,firstLineLength:Lb,lastLineLength:Ub,forceMoveMarkers:W,isAutoWhitespaceEdit:!1}}_doApplyEdits(K){K.sort(Yc._sortOpsDescending);let W=[];for(let ia=0;ia<K.length;ia++){let Ha=K[ia];const Ta=Ha.range.startLineNumber,db=Ha.range.startColumn,yb=Ha.range.endLineNumber,Bb=Ha.range.endColumn;if(Ta===yb&&db===Bb&&0===Ha.text.length)continue;Ha.text?(this._pieceTree.delete(Ha.rangeOffset,Ha.rangeLength),this._pieceTree.insert(Ha.rangeOffset,Ha.text,!0)):this._pieceTree.delete(Ha.rangeOffset,Ha.rangeLength);const Jb=new L.a(Ta,db,yb,Bb);W.push({range:Jb,rangeLength:Ha.rangeLength,text:Ha.text,rangeOffset:Ha.rangeOffset,forceMoveMarkers:Ha.forceMoveMarkers})}return W}findMatchesLineByLine(K,W,ia,Ha){return this._pieceTree.findMatchesLineByLine(K,W,ia,Ha)}static _getInverseEditRanges(K){let W=[],ia=0,Ha=0,Ta=null;for(let db=0,yb=K.length;db<yb;db++){let Bb,Jb,xb,Lb=K[db];if(Ta?Ta.range.endLineNumber===Lb.range.startLineNumber?(Bb=ia,Jb=Ha+(Lb.range.startColumn-Ta.range.endColumn)):(Bb=ia+(Lb.range.startLineNumber-Ta.range.endLineNumber),Jb=Lb.range.startColumn):(Bb=Lb.range.startLineNumber,Jb=Lb.range.startColumn),Lb.text.length>0){const Ub=Lb.eolCount+1;xb=1===Ub?new L.a(Bb,Jb,Bb,Jb+Lb.firstLineLength):new L.a(Bb,Jb,Bb+Ub-1,Lb.lastLineLength+1)}else xb=new L.a(Bb,Jb,Bb,Jb);ia=xb.endLineNumber,Ha=xb.endColumn,W.push(xb),Ta=Lb}return W}static _sortOpsAscending(K,W){let ia=L.a.compareRangesUsingEnds(K.range,W.range);return 0===ia?K.sortIndex-W.sortIndex:ia}static _sortOpsDescending(K,W){let ia=L.a.compareRangesUsingEnds(K.range,W.range);return 0===ia?W.sortIndex-K.sortIndex:-ia}}class sc{constructor(K,W,ia,Ha,Ta,db,yb,Bb,Jb){this._chunks=K,this._bom=W,this._cr=ia,this._lf=Ha,this._crlf=Ta,this._containsRTL=db,this._containsUnusualLineTerminators=yb,this._isBasicASCII=Bb,this._normalizeEOL=Jb}_getEOL(K){const W=this._cr+this._lf+this._crlf,ia=this._cr+this._crlf;return 0===W?1===K?` +`;case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}setEOL(I){this._pieceTree.setEOL(I)}applyEdits(I,ne,_e){let Fe=this._mightContainRTL,Xe=this._mightContainUnusualLineTerminators,ot=this._mightContainNonBasicASCII,Mt=!0,Ot=[];for(let ft=0;ft<I.length;ft++){let X=I[ft];Mt&&X._isTracked&&(Mt=!1);let ae=X.range;if(X.text){let ti=!0;ot||(ti=!H.B(X.text),ot=ti),!Fe&&ti&&(Fe=H.m(X.text)),!Xe&&ti&&(Xe=H.n(X.text))}let Ge="",lt=0,Dt=0,Gt=0;if(X.text){let ti;[lt,Dt,Gt,ti]=Object(Ii.f)(X.text);let ye=this.getEOL();Ge=ti===0||ti===(ye===`\r +`?2:1)?X.text:X.text.replace(/\r\n|\r|\n/g,ye)}Ot[ft]={sortIndex:ft,identifier:X.identifier||null,range:ae,rangeOffset:this.getOffsetAt(ae.startLineNumber,ae.startColumn),rangeLength:this.getValueLengthInRange(ae),text:Ge,eolCount:lt,firstLineLength:Dt,lastLineLength:Gt,forceMoveMarkers:Boolean(X.forceMoveMarkers),isAutoWhitespaceEdit:X.isAutoWhitespaceEdit||!1}}Ot.sort(Zi._sortOpsAscending);let Tt=!1;for(let ft=0,X=Ot.length-1;ft<X;ft++){let ae=Ot[ft].range.getEndPosition(),Ge=Ot[ft+1].range.getStartPosition();if(Ge.isBeforeOrEqual(ae)){if(Ge.isBefore(ae))throw new Error("Overlapping ranges are not allowed!");Tt=!0}}Mt&&(Ot=this._reduceOperations(Ot));let Ht=_e||ne?Zi._getInverseEditRanges(Ot):[],jt=[];if(ne)for(let ft=0;ft<Ot.length;ft++){let X=Ot[ft],ae=Ht[ft];if(X.isAutoWhitespaceEdit&&X.range.isEmpty())for(let Ge=ae.startLineNumber;Ge<=ae.endLineNumber;Ge++){let lt="";Ge===ae.startLineNumber&&(lt=this.getLineContent(X.range.startLineNumber),H.w(lt)!==-1)||jt.push({lineNumber:Ge,oldContent:lt})}}let Kt=null;if(_e){let ft=0;Kt=[];for(let X=0;X<Ot.length;X++){let ae=Ot[X],Ge=Ht[X],lt=this.getValueInRange(ae.range),Dt=ae.rangeOffset+ft;ft+=ae.text.length-lt.length,Kt[X]={sortIndex:ae.sortIndex,identifier:ae.identifier,range:Ge,text:lt,textChange:new Ai.a(ae.rangeOffset,lt,Dt,ae.text)}}Tt||Kt.sort((X,ae)=>X.sortIndex-ae.sortIndex)}this._mightContainRTL=Fe,this._mightContainUnusualLineTerminators=Xe,this._mightContainNonBasicASCII=ot;let wi=this._doApplyEdits(Ot),Ti=null;if(ne&&jt.length>0){jt.sort((ft,X)=>X.lineNumber-ft.lineNumber),Ti=[];for(let ft=0,X=jt.length;ft<X;ft++){let ae=jt[ft].lineNumber;if(ft>0&&jt[ft-1].lineNumber===ae)continue;let Ge=jt[ft].oldContent,lt=this.getLineContent(ae);lt.length!==0&<!==Ge&&H.w(lt)===-1&&Ti.push(ae)}}return this._onDidChangeContent.fire(),new C.a(Kt,wi,Ti)}_reduceOperations(I){return I.length<1e3?I:[this._toSingleEditOperation(I)]}_toSingleEditOperation(I){let ne=!1,_e=I[0].range,Fe=I[I.length-1].range,Xe=new Q.a(_e.startLineNumber,_e.startColumn,Fe.endLineNumber,Fe.endColumn),ot=_e.startLineNumber,Mt=_e.startColumn,Ot=[];for(let wi=0,Ti=I.length;wi<Ti;wi++){let ft=I[wi],X=ft.range;ne=ne||ft.forceMoveMarkers,Ot.push(this.getValueInRange(new Q.a(ot,Mt,X.startLineNumber,X.startColumn))),ft.text.length>0&&Ot.push(ft.text),ot=X.endLineNumber,Mt=X.endColumn}let Tt=Ot.join(""),[Ht,jt,Kt]=Object(Ii.f)(Tt);return{sortIndex:0,identifier:I[0].identifier,range:Xe,rangeOffset:this.getOffsetAt(Xe.startLineNumber,Xe.startColumn),rangeLength:this.getValueLengthInRange(Xe,0),text:Tt,eolCount:Ht,firstLineLength:jt,lastLineLength:Kt,forceMoveMarkers:ne,isAutoWhitespaceEdit:!1}}_doApplyEdits(I){I.sort(Zi._sortOpsDescending);let ne=[];for(let _e=0;_e<I.length;_e++){let Fe=I[_e],Xe=Fe.range.startLineNumber,ot=Fe.range.startColumn,Mt=Fe.range.endLineNumber,Ot=Fe.range.endColumn;if(Xe===Mt&&ot===Ot&&Fe.text.length===0)continue;Fe.text?(this._pieceTree.delete(Fe.rangeOffset,Fe.rangeLength),this._pieceTree.insert(Fe.rangeOffset,Fe.text,!0)):this._pieceTree.delete(Fe.rangeOffset,Fe.rangeLength);let Tt=new Q.a(Xe,ot,Mt,Ot);ne.push({range:Tt,rangeLength:Fe.rangeLength,text:Fe.text,rangeOffset:Fe.rangeOffset,forceMoveMarkers:Fe.forceMoveMarkers})}return ne}findMatchesLineByLine(I,ne,_e,Fe){return this._pieceTree.findMatchesLineByLine(I,ne,_e,Fe)}static _getInverseEditRanges(I){let ne=[],_e=0,Fe=0,Xe=null;for(let ot=0,Mt=I.length;ot<Mt;ot++){let Ot,Tt,Ht,jt=I[ot];if(Xe?Xe.range.endLineNumber===jt.range.startLineNumber?(Ot=_e,Tt=Fe+(jt.range.startColumn-Xe.range.endColumn)):(Ot=_e+(jt.range.startLineNumber-Xe.range.endLineNumber),Tt=jt.range.startColumn):(Ot=jt.range.startLineNumber,Tt=jt.range.startColumn),jt.text.length>0){let Kt=jt.eolCount+1;Ht=Kt===1?new Q.a(Ot,Tt,Ot,Tt+jt.firstLineLength):new Q.a(Ot,Tt,Ot+Kt-1,jt.lastLineLength+1)}else Ht=new Q.a(Ot,Tt,Ot,Tt);_e=Ht.endLineNumber,Fe=Ht.endColumn,ne.push(Ht),Xe=jt}return ne}static _sortOpsAscending(I,ne){let _e=Q.a.compareRangesUsingEnds(I.range,ne.range);return _e===0?I.sortIndex-ne.sortIndex:_e}static _sortOpsDescending(I,ne){let _e=Q.a.compareRangesUsingEnds(I.range,ne.range);return _e===0?ne.sortIndex-I.sortIndex:-_e}}class Bi{constructor(I,ne,_e,Fe,Xe,ot,Mt,Ot,Tt){this._chunks=I,this._bom=ne,this._cr=_e,this._lf=Fe,this._crlf=Xe,this._containsRTL=ot,this._containsUnusualLineTerminators=Mt,this._isBasicASCII=Ot,this._normalizeEOL=Tt}_getEOL(I){let ne=this._cr+this._lf+this._crlf,_e=this._cr+this._crlf;return ne===0?I===1?` `:`\r -`:ia>W/2?`\r +`:_e>ne/2?`\r `:` -`}create(K){const W=this._getEOL(K);let ia=this._chunks;if(this._normalizeEOL&&(`\r -`===W&&(this._cr>0||this._lf>0)||` -`===W&&(this._cr>0||this._crlf>0)))for(let Ha=0,Ta=ia.length;Ha<Ta;Ha++){let db=ia[Ha].buffer.replace(/\r\n|\r|\n/g,W),yb=rb(db);ia[Ha]=new vc(db,yb)}return new Yc(ia,this._bom,W,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL)}}class Nb{constructor(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(K){if(0===K.length)return;0===this.chunks.length&&F.U(K)&&(this.BOM=F.b,K=K.substr(1));const W=K.charCodeAt(K.length-1);13===W||W>=55296&&W<=56319?(this._acceptChunk1(K.substr(0,K.length-1),!1),this._hasPreviousChar=!0,this._previousChar=W):(this._acceptChunk1(K,!1),this._hasPreviousChar=!1,this._previousChar=W)}_acceptChunk1(K,W){(W||0!==K.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+K):this._acceptChunk2(K))}_acceptChunk2(K){const W=function(ia,Ha){ia.length=0,ia[0]=0;let Ta=1,db=0,yb=0,Bb=0,Jb=!0;for(let Lb=0,Ub=Ha.length;Lb<Ub;Lb++){const pc=Ha.charCodeAt(Lb);13===pc?Lb+1<Ub&&10===Ha.charCodeAt(Lb+1)?(Bb++,ia[Ta++]=Lb+2,Lb++):(db++,ia[Ta++]=Lb+1):10===pc?(yb++,ia[Ta++]=Lb+1):Jb&&9!==pc&&(pc<32||pc>126)&&(Jb=!1)}const xb=new tc(wb(ia),db,yb,Bb,Jb);return ia.length=0,xb}(this._tmpLineStarts,K);this.chunks.push(new vc(K,W.lineStarts)),this.cr+=W.cr,this.lf+=W.lf,this.crlf+=W.crlf,this.isBasicASCII&&(this.isBasicASCII=W.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=F.m(K)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=F.n(K))}finish(K=!0){return this._finish(),new sc(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,K)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let K=this.chunks[this.chunks.length-1];K.buffer+=String.fromCharCode(this._previousChar);let W=rb(K.buffer);K.lineStarts=W,13===this._previousChar&&this.cr++}}}class Fc{constructor(){this.changeType=1}}class pb{constructor(K,W){this.changeType=2,this.lineNumber=K,this.detail=W}}class mc{constructor(K,W){this.changeType=3,this.fromLineNumber=K,this.toLineNumber=W}}class Eb{constructor(K,W,ia){this.changeType=4,this.fromLineNumber=K,this.toLineNumber=W,this.detail=ia}}class qb{constructor(){this.changeType=5}}class Va{constructor(K,W,ia,Ha){this.changes=K,this.versionId=W,this.isUndoing=ia,this.isRedoing=Ha,this.resultingSelection=null}containsEvent(K){for(let W=0,ia=this.changes.length;W<ia;W++)if(this.changes[W].changeType===K)return!0;return!1}static merge(K,W){const ia=[].concat(K.changes).concat(W.changes),Ha=W.versionId,Ta=K.isUndoing||W.isUndoing,db=K.isRedoing||W.isRedoing;return new Va(ia,Ha,Ta,db)}}class Oa{constructor(K,W){this.rawContentChangedEvent=K,this.contentChangedEvent=W}merge(K){const W=Va.merge(this.rawContentChangedEvent,K.rawContentChangedEvent),ia=Oa._mergeChangeEvents(this.contentChangedEvent,K.contentChangedEvent);return new Oa(W,ia)}static _mergeChangeEvents(K,W){return{changes:[].concat(K.changes).concat(W.changes),eol:W.eol,versionId:W.versionId,isUndoing:K.isUndoing||W.isUndoing,isRedoing:K.isRedoing||W.isRedoing,isFlush:K.isFlush||W.isFlush}}}var Qa=f(15),kb=f(111),tb=f(12),oc=f(90),ec=f(158),$b=f(11);class Hc{constructor(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}_reset(K){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,K&&this._setBeginState(0,K)}flush(K){this._reset(K)}get invalidLineStartIndex(){return this._invalidLineStartIndex}_invalidateLine(K){K<this._len&&(this._valid[K]=!1),K<this._invalidLineStartIndex&&(this._invalidLineStartIndex=K)}_isValid(K){return K<this._len&&this._valid[K]}getBeginState(K){return K<this._len?this._beginState[K]:null}_ensureLine(K){for(;K>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(K,W){0!==W&&(K+W>this._len&&(W=this._len-K),this._beginState.splice(K,W),this._valid.splice(K,W),this._len-=W)}_insertLines(K,W){if(0===W)return;let ia=[],Ha=[];for(let Ta=0;Ta<W;Ta++)ia[Ta]=null,Ha[Ta]=!1;this._beginState=Qa.a(this._beginState,K,ia),this._valid=Qa.a(this._valid,K,Ha),this._len+=W}_setValid(K,W){this._ensureLine(K),this._valid[K]=W}_setBeginState(K,W){this._ensureLine(K),this._beginState[K]=W}setEndState(K,W,ia){if(this._setValid(W,!0),this._invalidLineStartIndex=W+1,W===K-1)return;const Ha=this.getBeginState(W+1);if(null===Ha||!ia.equals(Ha))return this._setBeginState(W+1,ia),void this._invalidateLine(W+1);let Ta=W+1;for(;Ta<K&&this._isValid(Ta);)Ta++;this._invalidLineStartIndex=Ta}setFakeTokens(K){this._setValid(K,!1)}applyEdits(K,W){const ia=K.endLineNumber-K.startLineNumber,Ha=W;for(let Ta=Math.min(ia,Ha);Ta>=0;Ta--)this._invalidateLine(K.startLineNumber+Ta-1);this._acceptDeleteRange(K),this._acceptInsertText(new R.a(K.startLineNumber,K.startColumn),W)}_acceptDeleteRange(K){K.startLineNumber-1>=this._len||this._deleteLines(K.startLineNumber,K.endLineNumber-K.startLineNumber)}_acceptInsertText(K,W){K.lineNumber-1>=this._len||this._insertLines(K.lineNumber,W)}}class Bc extends y.a{constructor(K){super(),this._isDisposed=!1,this._textModel=K,this._tokenizationStateStore=new Hc(),this._tokenizationSupport=null,this._register(tb.C.onDidChange(W=>{const ia=this._textModel.getLanguageIdentifier();-1!==W.changedLanguages.indexOf(ia.language)&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeRawContentFast(W=>{W.containsEvent(1)&&this._resetTokenizationState()})),this._register(this._textModel.onDidChangeContentFast(W=>{for(let ia=0,Ha=W.changes.length;ia<Ha;ia++){const Ta=W.changes[ia],[db]=Object(Cc.f)(Ta.text);this._tokenizationStateStore.applyEdits(Ta.range,db)}this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeAttached(()=>{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){const[K,W]=function(ia){const Ha=ia.getLanguageIdentifier();let Ta=ia.isTooLargeForTokenization()?null:tb.C.get(Ha.language),db=null;if(Ta)try{db=Ta.getInitialState()}catch(yb){Object(l.e)(yb),Ta=null}return[Ta,db]}(this._textModel);this._tokenizationSupport=K,this._tokenizationStateStore.flush(W),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&$b.j(()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(K=this._textModel.getLineCount()){const W=new Cc.b(),ia=ec.a.create(!1);for(;this._hasLinesToTokenize()&&!(ia.elapsed()>1);)if(this._tokenizeOneInvalidLine(W)>=K)break;this._beginBackgroundTokenization(),this._textModel.setTokens(W.tokens)}tokenizeViewport(K,W){const ia=new Cc.b();this._tokenizeViewport(ia,K,W),this._textModel.setTokens(ia.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(K){const W=new Cc.b();this._updateTokensUntilLine(W,K),this._textModel.setTokens(W.tokens)}isCheapToTokenize(K){if(!this._tokenizationSupport)return!0;const W=this._tokenizationStateStore.invalidLineStartIndex+1;return!(K>W)&&(K<W||this._textModel.getLineLength(K)<2048)}_hasLinesToTokenize(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()}_tokenizeOneInvalidLine(K){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;const W=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(K,W),W}_updateTokensUntilLine(K,W){if(!this._tokenizationSupport)return;const ia=this._textModel.getLanguageIdentifier(),Ha=this._textModel.getLineCount(),Ta=W-1;for(let db=this._tokenizationStateStore.invalidLineStartIndex;db<=Ta;db++){const yb=this._textModel.getLineContent(db+1),Bb=this._tokenizationStateStore.getBeginState(db),Jb=Vc(ia,this._tokenizationSupport,yb,Bb);K.add(db+1,Jb.tokens),this._tokenizationStateStore.setEndState(Ha,db,Jb.endState),db=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(K,W,ia){if(!this._tokenizationSupport)return;if(ia<=this._tokenizationStateStore.invalidLineStartIndex)return;if(W<=this._tokenizationStateStore.invalidLineStartIndex)return void this._updateTokensUntilLine(K,ia);let Ha=this._textModel.getLineFirstNonWhitespaceColumn(W),Ta=[],db=null;for(let Jb=W-1;Ha>0&&Jb>=1;Jb--){let xb=this._textModel.getLineFirstNonWhitespaceColumn(Jb);if(0!==xb&&xb<Ha){if(db=this._tokenizationStateStore.getBeginState(Jb-1),db)break;Ta.push(this._textModel.getLineContent(Jb)),Ha=xb}}db||(db=this._tokenizationSupport.getInitialState());const yb=this._textModel.getLanguageIdentifier();let Bb=db;for(let Jb=Ta.length-1;Jb>=0;Jb--)Bb=Vc(yb,this._tokenizationSupport,Ta[Jb],Bb).endState;for(let Jb=W;Jb<=ia;Jb++){let xb=this._textModel.getLineContent(Jb),Lb=Vc(yb,this._tokenizationSupport,xb,Bb);K.add(Jb,Lb.tokens),this._tokenizationStateStore.setFakeTokens(Jb-1),Bb=Lb.endState}}}function Vc(K,W,ia,Ha){let Ta=null;if(W)try{Ta=W.tokenize2(ia,Ha.clone(),0)}catch(db){Object(l.e)(db)}return Ta||(Ta=Object(oc.e)(K.id,ia,Ha,0)),kb.a.convertToEndOffset(Ta.tokens,ia.length),Ta}var Ic=f(73),xc=f(39),nb=f(114),zb=f(119),dc=f(16);function Dc(K){const W=new Nb();return W.acceptChunk(K),W.finish()}function Pc(K,W){return("string"==typeof K?Dc(K):K).create(W)}let Nc=0;class Ed{constructor(K){this._source=K,this._eos=!1}read(){if(this._eos)return null;let K=[],W=0,ia=0;for(;;){let Ha=this._source.read();if(null===Ha)return this._eos=!0,0===W?null:K.join("");if(Ha.length>0&&(K[W++]=Ha,ia+=Ha.length),ia>=65536)return K.join("")}}}const ad=()=>{throw new Error("Invalid change accessor")};class ud{constructor(){this._searchCanceledBrand=void 0}}function Od(K){return K instanceof ud?null:K}ud.INSTANCE=new ud();class wd extends y.a{constructor(K,W,ia,Ha=null,Ta){super(),this._onWillDispose=this._register(new q.a()),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new Gd()),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new q.a()),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new q.a()),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new q.a()),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new q.a()),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new q.a()),this.onDidChangeAttached=this._onDidChangeAttached.event,this._eventEmitter=this._register(new xd()),Nc++,this.id="$model"+Nc,this.isForSimpleWidget=W.isForSimpleWidget,this._associatedResource=null==Ha?P.a.parse("inmemory://model/"+Nc):Ha,this._undoRedoService=Ta,this._attachedEditorCount=0,this._buffer=Pc(K,W.defaultEOL),this._options=wd.resolveOptions(this._buffer,W);const db=this._buffer.getLineCount(),yb=this._buffer.getValueLengthInRange(new L.a(1,1,db,this._buffer.getLineLength(db)+1),0);W.largeFileOptimizations?this._isTooLargeForTokenization=yb>wd.LARGE_FILE_SIZE_THRESHOLD||db>wd.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=yb>wd.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=ia||oc.a,this._languageRegistryListener=xc.a.onDidChange(Bb=>{Bb.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=F.R(Nc),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Dd(),this._commandManager=new D.a(this,Ta),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new Cc.d(),this._tokens2=new Cc.e(),this._tokenization=new Bc(this)}static resolveOptions(K,W){if(W.detectIndentation){const ia=C(K,W.tabSize,W.insertSpaces);return new z.e({tabSize:ia.tabSize,indentSize:ia.tabSize,insertSpaces:ia.insertSpaces,trimAutoWhitespace:W.trimAutoWhitespace,defaultEOL:W.defaultEOL})}return new z.e({tabSize:W.tabSize,indentSize:W.indentSize,insertSpaces:W.insertSpaces,trimAutoWhitespace:W.trimAutoWhitespace,defaultEOL:W.defaultEOL})}onDidChangeRawContentFast(K){return this._eventEmitter.fastEvent(W=>K(W.rawContentChangedEvent))}onDidChangeContentFast(K){return this._eventEmitter.fastEvent(W=>K(W.contentChangedEvent))}onDidChangeContent(K){return this._eventEmitter.slowEvent(W=>K(W.contentChangedEvent))}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._isDisposing=!1}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(K,W){this._isDisposing||this._eventEmitter.fire(new Oa(K,W))}setValue(K){if(this._assertNotDisposed(),null===K)return;const W=Pc(K,this._options.defaultEOL);this.setValueFromTextBuffer(W)}_createContentChanged2(K,W,ia,Ha,Ta,db,yb){return{changes:[{range:K,rangeOffset:W,rangeLength:ia,text:Ha}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:Ta,isRedoing:db,isFlush:yb}}setValueFromTextBuffer(K){if(this._assertNotDisposed(),null===K)return;const W=this.getFullModelRange(),ia=this.getValueLengthInRange(W),Ha=this.getLineCount(),Ta=this.getLineMaxColumn(Ha);this._buffer=K,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Dd(),this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Va([new Fc()],this._versionId,!1,!1),this._createContentChanged2(new L.a(1,1,Ha,Ta),0,ia,this.getValue(),!1,!1,!0))}setEOL(K){this._assertNotDisposed();const W=1===K?`\r +`}create(I){let ne=this._getEOL(I),_e=this._chunks;if(this._normalizeEOL&&(ne===`\r +`&&(this._cr>0||this._lf>0)||ne===` +`&&(this._cr>0||this._crlf>0)))for(let Fe=0,Xe=_e.length;Fe<Xe;Fe++){let ot=_e[Fe].buffer.replace(/\r\n|\r|\n/g,ne),Mt=wt(ot);_e[Fe]=new pi(ot,Mt)}return new Zi(_e,this._bom,ne,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL)}}class Lt{constructor(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(I){if(I.length===0)return;this.chunks.length===0&&H.U(I)&&(this.BOM=H.b,I=I.substr(1));let ne=I.charCodeAt(I.length-1);ne===13||ne>=55296&&ne<=56319?(this._acceptChunk1(I.substr(0,I.length-1),!1),this._hasPreviousChar=!0,this._previousChar=ne):(this._acceptChunk1(I,!1),this._hasPreviousChar=!1,this._previousChar=ne)}_acceptChunk1(I,ne){(ne||I.length!==0)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+I):this._acceptChunk2(I))}_acceptChunk2(I){let ne=function(_e,Fe){_e.length=0,_e[0]=0;let Xe=1,ot=0,Mt=0,Ot=0,Tt=!0;for(let jt=0,Kt=Fe.length;jt<Kt;jt++){let wi=Fe.charCodeAt(jt);wi===13?jt+1<Kt&&Fe.charCodeAt(jt+1)===10?(Ot++,_e[Xe++]=jt+2,jt++):(ot++,_e[Xe++]=jt+1):wi===10?(Mt++,_e[Xe++]=jt+1):Tt&&wi!==9&&(wi<32||wi>126)&&(Tt=!1)}let Ht=new _i(Nt(_e),ot,Mt,Ot,Tt);return _e.length=0,Ht}(this._tmpLineStarts,I);this.chunks.push(new pi(I,ne.lineStarts)),this.cr+=ne.cr,this.lf+=ne.lf,this.crlf+=ne.crlf,this.isBasicASCII&&(this.isBasicASCII=ne.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=H.m(I)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=H.n(I))}finish(I=!0){return this._finish(),new Bi(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,I)}_finish(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let I=this.chunks[this.chunks.length-1];I.buffer+=String.fromCharCode(this._previousChar);let ne=wt(I.buffer);I.lineStarts=ne,this._previousChar===13&&this.cr++}}}class Di{constructor(){this.changeType=1}}class gt{constructor(I,ne){this.changeType=2,this.lineNumber=I,this.detail=ne}}class vi{constructor(I,ne){this.changeType=3,this.fromLineNumber=I,this.toLineNumber=ne}}class Rt{constructor(I,ne,_e){this.changeType=4,this.fromLineNumber=I,this.toLineNumber=ne,this.detail=_e}}class vt{constructor(){this.changeType=5}}class Ue{constructor(I,ne,_e,Fe){this.changes=I,this.versionId=ne,this.isUndoing=_e,this.isRedoing=Fe,this.resultingSelection=null}containsEvent(I){for(let ne=0,_e=this.changes.length;ne<_e;ne++)if(this.changes[ne].changeType===I)return!0;return!1}static merge(I,ne){let _e=[].concat(I.changes).concat(ne.changes),Fe=ne.versionId,Xe=I.isUndoing||ne.isUndoing,ot=I.isRedoing||ne.isRedoing;return new Ue(_e,Fe,Xe,ot)}}class ut{constructor(I,ne){this.rawContentChangedEvent=I,this.contentChangedEvent=ne}merge(I){let ne=Ue.merge(this.rawContentChangedEvent,I.rawContentChangedEvent),_e=ut._mergeChangeEvents(this.contentChangedEvent,I.contentChangedEvent);return new ut(ne,_e)}static _mergeChangeEvents(I,ne){return{changes:[].concat(I.changes).concat(ne.changes),eol:ne.eol,versionId:ne.versionId,isUndoing:I.isUndoing||ne.isUndoing,isRedoing:I.isRedoing||ne.isRedoing,isFlush:I.isFlush||ne.isFlush}}}var ze=o(15),st=o(111),_t=o(12),oi=o(90),li=o(158),gi=o(11);class ki{constructor(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}_reset(I){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,I&&this._setBeginState(0,I)}flush(I){this._reset(I)}get invalidLineStartIndex(){return this._invalidLineStartIndex}_invalidateLine(I){I<this._len&&(this._valid[I]=!1),I<this._invalidLineStartIndex&&(this._invalidLineStartIndex=I)}_isValid(I){return I<this._len&&this._valid[I]}getBeginState(I){return I<this._len?this._beginState[I]:null}_ensureLine(I){for(;I>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(I,ne){ne!==0&&(I+ne>this._len&&(ne=this._len-I),this._beginState.splice(I,ne),this._valid.splice(I,ne),this._len-=ne)}_insertLines(I,ne){if(ne===0)return;let _e=[],Fe=[];for(let Xe=0;Xe<ne;Xe++)_e[Xe]=null,Fe[Xe]=!1;this._beginState=ze.a(this._beginState,I,_e),this._valid=ze.a(this._valid,I,Fe),this._len+=ne}_setValid(I,ne){this._ensureLine(I),this._valid[I]=ne}_setBeginState(I,ne){this._ensureLine(I),this._beginState[I]=ne}setEndState(I,ne,_e){if(this._setValid(ne,!0),this._invalidLineStartIndex=ne+1,ne===I-1)return;let Fe=this.getBeginState(ne+1);if(Fe===null||!_e.equals(Fe))return this._setBeginState(ne+1,_e),void this._invalidateLine(ne+1);let Xe=ne+1;for(;Xe<I&&this._isValid(Xe);)Xe++;this._invalidLineStartIndex=Xe}setFakeTokens(I){this._setValid(I,!1)}applyEdits(I,ne){let _e=I.endLineNumber-I.startLineNumber,Fe=ne;for(let Xe=Math.min(_e,Fe);Xe>=0;Xe--)this._invalidateLine(I.startLineNumber+Xe-1);this._acceptDeleteRange(I),this._acceptInsertText(new W.a(I.startLineNumber,I.startColumn),ne)}_acceptDeleteRange(I){I.startLineNumber-1>=this._len||this._deleteLines(I.startLineNumber,I.endLineNumber-I.startLineNumber)}_acceptInsertText(I,ne){I.lineNumber-1>=this._len||this._insertLines(I.lineNumber,ne)}}class Ri extends D.a{constructor(I){super(),this._isDisposed=!1,this._textModel=I,this._tokenizationStateStore=new ki,this._tokenizationSupport=null,this._register(_t.C.onDidChange(ne=>{let _e=this._textModel.getLanguageIdentifier();ne.changedLanguages.indexOf(_e.language)!==-1&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeRawContentFast(ne=>{ne.containsEvent(1)&&this._resetTokenizationState()})),this._register(this._textModel.onDidChangeContentFast(ne=>{for(let _e=0,Fe=ne.changes.length;_e<Fe;_e++){let Xe=ne.changes[_e],[ot]=Object(Ii.f)(Xe.text);this._tokenizationStateStore.applyEdits(Xe.range,ot)}this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeAttached(()=>{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){let[I,ne]=function(_e){let Fe=_e.getLanguageIdentifier(),Xe=_e.isTooLargeForTokenization()?null:_t.C.get(Fe.language),ot=null;if(Xe)try{ot=Xe.getInitialState()}catch(Mt){Object(h.e)(Mt),Xe=null}return[Xe,ot]}(this._textModel);this._tokenizationSupport=I,this._tokenizationStateStore.flush(ne),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&gi.j(()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(I=this._textModel.getLineCount()){let ne=new Ii.b,_e=li.a.create(!1);for(;this._hasLinesToTokenize()&&!(_e.elapsed()>1)&&!(this._tokenizeOneInvalidLine(ne)>=I););this._beginBackgroundTokenization(),this._textModel.setTokens(ne.tokens)}tokenizeViewport(I,ne){let _e=new Ii.b;this._tokenizeViewport(_e,I,ne),this._textModel.setTokens(_e.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(I){let ne=new Ii.b;this._updateTokensUntilLine(ne,I),this._textModel.setTokens(ne.tokens)}isCheapToTokenize(I){if(!this._tokenizationSupport)return!0;let ne=this._tokenizationStateStore.invalidLineStartIndex+1;return!(I>ne)&&(I<ne||this._textModel.getLineLength(I)<2048)}_hasLinesToTokenize(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()}_tokenizeOneInvalidLine(I){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;let ne=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(I,ne),ne}_updateTokensUntilLine(I,ne){if(!this._tokenizationSupport)return;let _e=this._textModel.getLanguageIdentifier(),Fe=this._textModel.getLineCount(),Xe=ne-1;for(let ot=this._tokenizationStateStore.invalidLineStartIndex;ot<=Xe;ot++){let Mt=this._textModel.getLineContent(ot+1),Ot=this._tokenizationStateStore.getBeginState(ot),Tt=$i(_e,this._tokenizationSupport,Mt,Ot);I.add(ot+1,Tt.tokens),this._tokenizationStateStore.setEndState(Fe,ot,Tt.endState),ot=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(I,ne,_e){if(!this._tokenizationSupport||_e<=this._tokenizationStateStore.invalidLineStartIndex)return;if(ne<=this._tokenizationStateStore.invalidLineStartIndex)return void this._updateTokensUntilLine(I,_e);let Fe=this._textModel.getLineFirstNonWhitespaceColumn(ne),Xe=[],ot=null;for(let Tt=ne-1;Fe>0&&Tt>=1;Tt--){let Ht=this._textModel.getLineFirstNonWhitespaceColumn(Tt);if(Ht!==0&&Ht<Fe){if(ot=this._tokenizationStateStore.getBeginState(Tt-1),ot)break;Xe.push(this._textModel.getLineContent(Tt)),Fe=Ht}}ot||(ot=this._tokenizationSupport.getInitialState());let Mt=this._textModel.getLanguageIdentifier(),Ot=ot;for(let Tt=Xe.length-1;Tt>=0;Tt--)Ot=$i(Mt,this._tokenizationSupport,Xe[Tt],Ot).endState;for(let Tt=ne;Tt<=_e;Tt++){let Ht=this._textModel.getLineContent(Tt),jt=$i(Mt,this._tokenizationSupport,Ht,Ot);I.add(Tt,jt.tokens),this._tokenizationStateStore.setFakeTokens(Tt-1),Ot=jt.endState}}}function $i(qt,I,ne,_e){let Fe=null;if(I)try{Fe=I.tokenize2(ne,_e.clone(),0)}catch(Xe){Object(h.e)(Xe)}return Fe||(Fe=Object(oi.e)(qt.id,ne,_e,0)),st.a.convertToEndOffset(Fe.tokens,ne.length),Fe}var Hi=o(73),yi=o(39),kt=o(114),Et=o(119),si=o(16);function Si(qt){let I=new Lt;return I.acceptChunk(qt),I.finish()}function Pi(qt,I){return(typeof qt=="string"?Si(qt):qt).create(I)}let Wi=0;class xn{constructor(I){this._source=I,this._eos=!1}read(){if(this._eos)return null;let I=[],ne=0,_e=0;for(;;){let Fe=this._source.read();if(Fe===null)return this._eos=!0,ne===0?null:I.join("");if(Fe.length>0&&(I[ne++]=Fe,_e+=Fe.length),_e>=65536)return I.join("")}}}let un=()=>{throw new Error("Invalid change accessor")};class bn{constructor(){this._searchCanceledBrand=void 0}}function Fn(qt){return qt instanceof bn?null:qt}bn.INSTANCE=new bn;class Mn extends D.a{constructor(I,ne,_e,Fe=null,Xe){super(),this._onWillDispose=this._register(new f.a),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new On),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new f.a),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new f.a),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new f.a),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new f.a),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new f.a),this.onDidChangeAttached=this._onDidChangeAttached.event,this._eventEmitter=this._register(new Dn),Wi++,this.id="$model"+Wi,this.isForSimpleWidget=ne.isForSimpleWidget,this._associatedResource=Fe??E.a.parse("inmemory://model/"+Wi),this._undoRedoService=Xe,this._attachedEditorCount=0,this._buffer=Pi(I,ne.defaultEOL),this._options=Mn.resolveOptions(this._buffer,ne);let ot=this._buffer.getLineCount(),Mt=this._buffer.getValueLengthInRange(new Q.a(1,1,ot,this._buffer.getLineLength(ot)+1),0);ne.largeFileOptimizations?this._isTooLargeForTokenization=Mt>Mn.LARGE_FILE_SIZE_THRESHOLD||ot>Mn.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=Mt>Mn.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=_e||oi.a,this._languageRegistryListener=yi.a.onDidChange(Ot=>{Ot.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=H.R(Wi),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Nn,this._commandManager=new S.a(this,Xe),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new Ii.d,this._tokens2=new Ii.e,this._tokenization=new Ri(this)}static resolveOptions(I,ne){if(ne.detectIndentation){let _e=k(I,ne.tabSize,ne.insertSpaces);return new C.e({tabSize:_e.tabSize,indentSize:_e.tabSize,insertSpaces:_e.insertSpaces,trimAutoWhitespace:ne.trimAutoWhitespace,defaultEOL:ne.defaultEOL})}return new C.e({tabSize:ne.tabSize,indentSize:ne.indentSize,insertSpaces:ne.insertSpaces,trimAutoWhitespace:ne.trimAutoWhitespace,defaultEOL:ne.defaultEOL})}onDidChangeRawContentFast(I){return this._eventEmitter.fastEvent(ne=>I(ne.rawContentChangedEvent))}onDidChangeContentFast(I){return this._eventEmitter.fastEvent(ne=>I(ne.contentChangedEvent))}onDidChangeContent(I){return this._eventEmitter.slowEvent(ne=>I(ne.contentChangedEvent))}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._isDisposing=!1}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(I,ne){this._isDisposing||this._eventEmitter.fire(new ut(I,ne))}setValue(I){if(this._assertNotDisposed(),I===null)return;let ne=Pi(I,this._options.defaultEOL);this.setValueFromTextBuffer(ne)}_createContentChanged2(I,ne,_e,Fe,Xe,ot,Mt){return{changes:[{range:I,rangeOffset:ne,rangeLength:_e,text:Fe}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:Xe,isRedoing:ot,isFlush:Mt}}setValueFromTextBuffer(I){if(this._assertNotDisposed(),I===null)return;let ne=this.getFullModelRange(),_e=this.getValueLengthInRange(ne),Fe=this.getLineCount(),Xe=this.getLineMaxColumn(Fe);this._buffer=I,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Nn,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Ue([new Di],this._versionId,!1,!1),this._createContentChanged2(new Q.a(1,1,Fe,Xe),0,_e,this.getValue(),!1,!1,!0))}setEOL(I){this._assertNotDisposed();let ne=I===1?`\r `:` -`;if(this._buffer.getEOL()===W)return;const ia=this.getFullModelRange(),Ha=this.getValueLengthInRange(ia),Ta=this.getLineCount(),db=this.getLineMaxColumn(Ta);this._onBeforeEOLChange(),this._buffer.setEOL(W),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new Va([new qb()],this._versionId,!1,!1),this._createContentChanged2(new L.a(1,1,Ta,db),0,Ha,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){const K=this.getVersionId(),W=this._decorationsTree.search(0,!1,!1,K);this._ensureNodesHaveRanges(W)}_onAfterEOLChange(){const K=this.getVersionId(),W=this._decorationsTree.collectNodesPostOrder();for(let ia=0,Ha=W.length;ia<Ha;ia++){const Ta=W[ia],db=Ta.cachedAbsoluteStart-Ta.start,yb=this._buffer.getOffsetAt(Ta.range.startLineNumber,Ta.range.startColumn),Bb=this._buffer.getOffsetAt(Ta.range.endLineNumber,Ta.range.endColumn);Ta.cachedAbsoluteStart=yb,Ta.cachedAbsoluteEnd=Bb,Ta.cachedVersionId=K,Ta.start=yb-db,Ta.end=Bb-db,_a(Ta)}}onBeforeAttached(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}onBeforeDetached(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let K=0,W=0;const ia=this._buffer.getLineCount();for(let Ha=1;Ha<=ia;Ha++){const Ta=this._buffer.getLineLength(Ha);Ta>=1e4?W+=Ta:K+=Ta}return W>K}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(K){this._assertNotDisposed();let W=void 0!==K.tabSize?K.tabSize:this._options.tabSize,ia=void 0!==K.indentSize?K.indentSize:this._options.indentSize,Ha=void 0!==K.insertSpaces?K.insertSpaces:this._options.insertSpaces,Ta=void 0!==K.trimAutoWhitespace?K.trimAutoWhitespace:this._options.trimAutoWhitespace,db=new z.e({tabSize:W,indentSize:ia,insertSpaces:Ha,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:Ta});if(this._options.equals(db))return;let yb=this._options.createChangeEvent(db);this._options=db,this._onDidChangeOptions.fire(yb)}detectIndentation(K,W){this._assertNotDisposed();let ia=C(this._buffer,W,K);this.updateOptions({insertSpaces:ia.insertSpaces,tabSize:ia.tabSize,indentSize:ia.tabSize})}static _normalizeIndentationFromWhitespace(K,W,ia){let Ha=0;for(let db=0;db<K.length;db++)" "===K.charAt(db)?Ha+=W:Ha++;let Ta="";if(!ia){let db=Math.floor(Ha/W);Ha%=W;for(let yb=0;yb<db;yb++)Ta+=" "}for(let db=0;db<Ha;db++)Ta+=" ";return Ta}static normalizeIndentation(K,W,ia){let Ha=F.w(K);return-1===Ha&&(Ha=K.length),wd._normalizeIndentationFromWhitespace(K.substring(0,Ha),W,ia)+K.substring(Ha)}normalizeIndentation(K){return this._assertNotDisposed(),wd.normalizeIndentation(K,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(K=null){const W=this.findMatches(F.a.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(K,W.map(ia=>({range:ia.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getOffsetAt(K){this._assertNotDisposed();let W=this._validatePosition(K.lineNumber,K.column,0);return this._buffer.getOffsetAt(W.lineNumber,W.column)}getPositionAt(K){this._assertNotDisposed();let W=Math.min(this._buffer.getLength(),Math.max(0,K));return this._buffer.getPositionAt(W)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(K){this._versionId=K}_overwriteAlternativeVersionId(K){this._alternativeVersionId=K}_overwriteInitialUndoRedoSnapshot(K){this._initialUndoRedoSnapshot=K}getValue(K,W=!1){this._assertNotDisposed();const ia=this.getFullModelRange(),Ha=this.getValueInRange(ia,K);return W?this._buffer.getBOM()+Ha:Ha}createSnapshot(K=!1){return new Ed(this._buffer.createSnapshot(K))}getValueLength(K,W=!1){this._assertNotDisposed();const ia=this.getFullModelRange(),Ha=this.getValueLengthInRange(ia,K);return W?this._buffer.getBOM().length+Ha:Ha}getValueInRange(K,W=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(K),W)}getValueLengthInRange(K,W=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(K),W)}getCharacterCountInRange(K,W=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(K),W)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(K){if(this._assertNotDisposed(),K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(K)}getLineLength(K){if(this._assertNotDisposed(),K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(K)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getLineMinColumn(K){return this._assertNotDisposed(),1}getLineMaxColumn(K){if(this._assertNotDisposed(),K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(K)+1}getLineFirstNonWhitespaceColumn(K){if(this._assertNotDisposed(),K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(K)}getLineLastNonWhitespaceColumn(K){if(this._assertNotDisposed(),K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(K)}_validateRangeRelaxedNoAllocations(K){const W=this._buffer.getLineCount(),ia=K.startLineNumber,Ha=K.startColumn;let Ta,db;if(ia<1)Ta=1,db=1;else if(ia>W)Ta=W,db=this.getLineMaxColumn(Ta);else if(Ta=0|ia,Ha<=1)db=1;else{const Lb=this.getLineMaxColumn(Ta);db=Ha>=Lb?Lb:0|Ha}const yb=K.endLineNumber,Bb=K.endColumn;let Jb,xb;if(yb<1)Jb=1,xb=1;else if(yb>W)Jb=W,xb=this.getLineMaxColumn(Jb);else if(Jb=0|yb,Bb<=1)xb=1;else{const Lb=this.getLineMaxColumn(Jb);xb=Bb>=Lb?Lb:0|Bb}return ia===Ta&&Ha===db&&yb===Jb&&Bb===xb&&K instanceof L.a&&!(K instanceof s.a)?K:new L.a(Ta,db,Jb,xb)}_isValidPosition(K,W,ia){if("number"!=typeof K||"number"!=typeof W)return!1;if(isNaN(K)||isNaN(W))return!1;if(K<1||W<1)return!1;if((0|K)!==K||(0|W)!==W)return!1;if(K>this._buffer.getLineCount())return!1;if(1===W)return!0;if(W>this.getLineMaxColumn(K))return!1;if(1===ia){const Ha=this._buffer.getLineCharCode(K,W-2);if(F.F(Ha))return!1}return!0}_validatePosition(K,W,ia){const Ha=Math.floor("number"!=typeof K||isNaN(K)?1:K),Ta=Math.floor("number"!=typeof W||isNaN(W)?1:W),db=this._buffer.getLineCount();if(Ha<1)return new R.a(1,1);if(Ha>db)return new R.a(db,this.getLineMaxColumn(db));if(Ta<=1)return new R.a(Ha,1);const yb=this.getLineMaxColumn(Ha);if(Ta>=yb)return new R.a(Ha,yb);if(1===ia){const Bb=this._buffer.getLineCharCode(Ha,Ta-2);if(F.F(Bb))return new R.a(Ha,Ta-1)}return new R.a(Ha,Ta)}validatePosition(K){return this._assertNotDisposed(),K instanceof R.a&&this._isValidPosition(K.lineNumber,K.column,1)?K:this._validatePosition(K.lineNumber,K.column,1)}_isValidRange(K,W){const ia=K.startLineNumber,Ha=K.startColumn,Ta=K.endLineNumber,db=K.endColumn;if(!this._isValidPosition(ia,Ha,0))return!1;if(!this._isValidPosition(Ta,db,0))return!1;if(1===W){const yb=Ha>1?this._buffer.getLineCharCode(ia,Ha-2):0,Bb=db>1&&db<=this._buffer.getLineLength(Ta)?this._buffer.getLineCharCode(Ta,db-2):0,Jb=F.F(yb),xb=F.F(Bb);return!Jb&&!xb}return!0}validateRange(K){if(this._assertNotDisposed(),K instanceof L.a&&!(K instanceof s.a)&&this._isValidRange(K,1))return K;const W=this._validatePosition(K.startLineNumber,K.startColumn,0),ia=this._validatePosition(K.endLineNumber,K.endColumn,0),Ha=W.lineNumber,Ta=W.column,db=ia.lineNumber,yb=ia.column;{const Bb=Ta>1?this._buffer.getLineCharCode(Ha,Ta-2):0,Jb=yb>1&&yb<=this._buffer.getLineLength(db)?this._buffer.getLineCharCode(db,yb-2):0,xb=F.F(Bb),Lb=F.F(Jb);return xb||Lb?Ha===db&&Ta===yb?new L.a(Ha,Ta-1,db,yb-1):xb&&Lb?new L.a(Ha,Ta-1,db,yb+1):xb?new L.a(Ha,Ta-1,db,yb):new L.a(Ha,Ta,db,yb+1):new L.a(Ha,Ta,db,yb)}}modifyPosition(K,W){this._assertNotDisposed();let ia=this.getOffsetAt(K)+W;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,ia)))}getFullModelRange(){this._assertNotDisposed();const K=this.getLineCount();return new L.a(1,1,K,this.getLineMaxColumn(K))}findMatchesLineByLine(K,W,ia,Ha){return this._buffer.findMatchesLineByLine(K,W,ia,Ha)}findMatches(K,W,ia,Ha,Ta,db,yb=999){this._assertNotDisposed();let Bb=null;null!==W&&(Array.isArray(W)||(W=[W]),W.every(Lb=>L.a.isIRange(Lb))&&(Bb=W.map(Lb=>this.validateRange(Lb)))),null===Bb&&(Bb=[this.getFullModelRange()]),Bb=Bb.sort((Lb,Ub)=>Lb.startLineNumber-Ub.startLineNumber||Lb.startColumn-Ub.startColumn);const Jb=[];let xb;if(Jb.push(Bb.reduce((Lb,Ub)=>L.a.areIntersecting(Lb,Ub)?Lb.plusRange(Ub):(Jb.push(Lb),Ub))),!ia&&K.indexOf(` -`)<0){const Lb=new Fb.a(K,ia,Ha,Ta).parseSearchRequest();if(!Lb)return[];xb=Ub=>this.findMatchesLineByLine(Ub,Lb,db,yb)}else xb=Lb=>Fb.c.findMatches(this,new Fb.a(K,ia,Ha,Ta),Lb,db,yb);return Jb.map(xb).reduce((Lb,Ub)=>Lb.concat(Ub),[])}findNextMatch(K,W,ia,Ha,Ta,db){this._assertNotDisposed();const yb=this.validatePosition(W);if(!ia&&K.indexOf(` -`)<0){const Bb=new Fb.a(K,ia,Ha,Ta).parseSearchRequest();if(!Bb)return null;const Jb=this.getLineCount();let xb=new L.a(yb.lineNumber,yb.column,Jb,this.getLineMaxColumn(Jb)),Lb=this.findMatchesLineByLine(xb,Bb,db,1);return Fb.c.findNextMatch(this,new Fb.a(K,ia,Ha,Ta),yb,db),Lb.length>0?Lb[0]:(xb=new L.a(1,1,yb.lineNumber,this.getLineMaxColumn(yb.lineNumber)),Lb=this.findMatchesLineByLine(xb,Bb,db,1),Lb.length>0?Lb[0]:null)}return Fb.c.findNextMatch(this,new Fb.a(K,ia,Ha,Ta),yb,db)}findPreviousMatch(K,W,ia,Ha,Ta,db){this._assertNotDisposed();const yb=this.validatePosition(W);return Fb.c.findPreviousMatch(this,new Fb.a(K,ia,Ha,Ta),yb,db)}pushStackElement(){this._commandManager.pushStackElement()}pushEOL(K){if((` -`===this.getEOL()?0:1)!==K)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(K)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(K){return K instanceof z.f?K:new z.f(K.identifier||null,this.validateRange(K.range),K.text,K.forceMoveMarkers||!1,K.isAutoWhitespaceEdit||!1,K._isTracked||!1)}_validateEditOperations(K){const W=[];for(let ia=0,Ha=K.length;ia<Ha;ia++)W[ia]=this._validateEditOperation(K[ia]);return W}pushEditOperations(K,W,ia){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(K,this._validateEditOperations(W),ia)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(K,W,ia){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){let Ha=W.map(db=>({range:this.validateRange(db.range),text:db.text})),Ta=!0;if(K)for(let db=0,yb=K.length;db<yb;db++){let Bb=K[db],Jb=!1;for(let xb=0,Lb=Ha.length;xb<Lb;xb++){let Ub=Ha[xb].range,pc=Ub.startLineNumber>Bb.endLineNumber,yc=Bb.startLineNumber>Ub.endLineNumber;if(!pc&&!yc){Jb=!0;break}}if(!Jb){Ta=!1;break}}if(Ta)for(let db=0,yb=this._trimAutoWhitespaceLines.length;db<yb;db++){let Bb=this._trimAutoWhitespaceLines[db],Jb=this.getLineMaxColumn(Bb),xb=!0;for(let Lb=0,Ub=Ha.length;Lb<Ub;Lb++){let pc=Ha[Lb].range,yc=Ha[Lb].text;if(!(Bb<pc.startLineNumber||Bb>pc.endLineNumber)&&!(Bb===pc.startLineNumber&&pc.startColumn===Jb&&pc.isEmpty()&&yc&&yc.length>0&&` -`===yc.charAt(0)||Bb===pc.startLineNumber&&1===pc.startColumn&&pc.isEmpty()&&yc&&yc.length>0&&` -`===yc.charAt(yc.length-1))){xb=!1;break}}if(xb){const Lb=new L.a(Bb,1,Bb,Jb);W.push(new z.f(null,Lb,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(K,W,ia)}_applyUndo(K,W,ia,Ha){const Ta=K.map(db=>{const yb=this.getPositionAt(db.newPosition),Bb=this.getPositionAt(db.newEnd);return{range:new L.a(yb.lineNumber,yb.column,Bb.lineNumber,Bb.column),text:db.oldText}});this._applyUndoRedoEdits(Ta,W,!0,!1,ia,Ha)}_applyRedo(K,W,ia,Ha){const Ta=K.map(db=>{const yb=this.getPositionAt(db.oldPosition),Bb=this.getPositionAt(db.oldEnd);return{range:new L.a(yb.lineNumber,yb.column,Bb.lineNumber,Bb.column),text:db.newText}});this._applyUndoRedoEdits(Ta,W,!1,!0,ia,Ha)}_applyUndoRedoEdits(K,W,ia,Ha,Ta,db){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=ia,this._isRedoing=Ha,this.applyEdits(K,!1),this.setEOL(W),this._overwriteAlternativeVersionId(Ta)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(db),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(K,W=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const ia=this._validateEditOperations(K);return this._doApplyEdits(ia,W)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(K,W){const ia=this._buffer.getLineCount(),Ha=this._buffer.applyEdits(K,this._options.trimAutoWhitespace,W),Ta=this._buffer.getLineCount(),db=Ha.changes;if(this._trimAutoWhitespaceLines=Ha.trimAutoWhitespaceLineNumbers,0!==db.length){let yb=[],Bb=ia;for(let Jb=0,xb=db.length;Jb<xb;Jb++){const Lb=db[Jb],[Ub,pc,yc]=Object(Cc.f)(Lb.text);this._tokens.acceptEdit(Lb.range,Ub,pc),this._tokens2.acceptEdit(Lb.range,Ub,pc,yc,Lb.text.length>0?Lb.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(Lb.rangeOffset,Lb.rangeLength,Lb.text.length,Lb.forceMoveMarkers);const Ec=Lb.range.startLineNumber,X=Lb.range.endLineNumber,xa=X-Ec,qa=Ub,mb=Math.min(xa,qa),ub=qa-xa;for(let Rb=mb;Rb>=0;Rb--){const jc=Ec+Rb,Xb=Ta-Bb-ub+jc;yb.push(new pb(jc,this.getLineContent(Xb)))}if(mb<xa){const Rb=Ec+mb;yb.push(new mc(Rb+1,X))}if(mb<qa){const Rb=Ec+mb,jc=qa-mb,Xb=Ta-Bb-jc+Rb+1;let wa=[];for(let fa=0;fa<jc;fa++){let ra=Xb+fa;wa[ra-Xb]=this.getLineContent(ra)}yb.push(new Eb(Rb+1,Ec+qa,wa))}Bb+=ub}this._increaseVersionId(),this._emitContentChangedEvent(new Va(yb,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:db,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===Ha.reverseEdits?void 0:Ha.reverseEdits}undo(){this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}changeDecorations(K,W=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(W,K)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(K,W){let ia={addDecoration:(Ta,db)=>this._deltaDecorationsImpl(K,[],[{range:Ta,options:db}])[0],changeDecoration:(Ta,db)=>{this._changeDecorationImpl(Ta,db)},changeDecorationOptions:(Ta,db)=>{this._changeDecorationOptionsImpl(Ta,de(db))},removeDecoration:Ta=>{this._deltaDecorationsImpl(K,[Ta],[])},deltaDecorations:(Ta,db)=>0===Ta.length&&0===db.length?[]:this._deltaDecorationsImpl(K,Ta,db)},Ha=null;try{Ha=W(ia)}catch(Ta){Object(l.e)(Ta)}return ia.addDecoration=ad,ia.changeDecoration=ad,ia.changeDecorationOptions=ad,ia.removeDecoration=ad,ia.deltaDecorations=ad,Ha}deltaDecorations(K,W,ia=0){if(this._assertNotDisposed(),K||(K=[]),0===K.length&&0===W.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(ia,K,W)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(K){return this.getDecorationRange(K)}_setTrackedRange(K,W,ia){const Ha=K?this._decorations[K]:null;if(!Ha)return W?this._deltaDecorationsImpl(0,[],[{range:W,options:jd[ia]}])[0]:null;if(!W)return this._decorationsTree.delete(Ha),delete this._decorations[Ha.id],null;const Ta=this._validateRangeRelaxedNoAllocations(W),db=this._buffer.getOffsetAt(Ta.startLineNumber,Ta.startColumn),yb=this._buffer.getOffsetAt(Ta.endLineNumber,Ta.endColumn);return this._decorationsTree.delete(Ha),Ha.reset(this.getVersionId(),db,yb,Ta),Ha.setOptions(jd[ia]),this._decorationsTree.insert(Ha),Ha.id}removeAllDecorationsWithOwnerId(K){if(this._isDisposed)return;const W=this._decorationsTree.collectNodesFromOwner(K);for(let ia=0,Ha=W.length;ia<Ha;ia++){const Ta=W[ia];this._decorationsTree.delete(Ta),delete this._decorations[Ta.id]}}getDecorationOptions(K){const W=this._decorations[K];return W?W.options:null}getDecorationRange(K){const W=this._decorations[K];if(!W)return null;const ia=this.getVersionId();return W.cachedVersionId!==ia&&this._decorationsTree.resolveNode(W,ia),null===W.range&&(W.range=this._getRangeAt(W.cachedAbsoluteStart,W.cachedAbsoluteEnd)),W.range}getLineDecorations(K,W=0,ia=!1){return K<1||K>this.getLineCount()?[]:this.getLinesDecorations(K,K,W,ia)}getLinesDecorations(K,W,ia=0,Ha=!1){let Ta=this.getLineCount(),db=Math.min(Ta,Math.max(1,K)),yb=Math.min(Ta,Math.max(1,W)),Bb=this.getLineMaxColumn(yb);return this._getDecorationsInRange(new L.a(db,1,yb,Bb),ia,Ha)}getDecorationsInRange(K,W=0,ia=!1){let Ha=this.validateRange(K);return this._getDecorationsInRange(Ha,W,ia)}getOverviewRulerDecorations(K=0,W=!1){const ia=this.getVersionId(),Ha=this._decorationsTree.search(K,W,!0,ia);return this._ensureNodesHaveRanges(Ha)}getAllDecorations(K=0,W=!1){const ia=this.getVersionId(),Ha=this._decorationsTree.search(K,W,!1,ia);return this._ensureNodesHaveRanges(Ha)}_getDecorationsInRange(K,W,ia){const Ha=this._buffer.getOffsetAt(K.startLineNumber,K.startColumn),Ta=this._buffer.getOffsetAt(K.endLineNumber,K.endColumn),db=this.getVersionId(),yb=this._decorationsTree.intervalSearch(Ha,Ta,W,ia,db);return this._ensureNodesHaveRanges(yb)}_ensureNodesHaveRanges(K){for(let W=0,ia=K.length;W<ia;W++){const Ha=K[W];null===Ha.range&&(Ha.range=this._getRangeAt(Ha.cachedAbsoluteStart,Ha.cachedAbsoluteEnd))}return K}_getRangeAt(K,W){return this._buffer.getRangeAt(K,W-K)}_changeDecorationImpl(K,W){const ia=this._decorations[K];if(!ia)return;const Ha=this._validateRangeRelaxedNoAllocations(W),Ta=this._buffer.getOffsetAt(Ha.startLineNumber,Ha.startColumn),db=this._buffer.getOffsetAt(Ha.endLineNumber,Ha.endColumn);this._decorationsTree.delete(ia),ia.reset(this.getVersionId(),Ta,db,Ha),this._decorationsTree.insert(ia),this._onDidChangeDecorations.checkAffectedAndFire(ia.options)}_changeDecorationOptionsImpl(K,W){const ia=this._decorations[K];if(!ia)return;const Ha=!(!ia.options.overviewRuler||!ia.options.overviewRuler.color),Ta=!(!W.overviewRuler||!W.overviewRuler.color);this._onDidChangeDecorations.checkAffectedAndFire(ia.options),this._onDidChangeDecorations.checkAffectedAndFire(W),Ha!==Ta?(this._decorationsTree.delete(ia),ia.setOptions(W),this._decorationsTree.insert(ia)):ia.setOptions(W)}_deltaDecorationsImpl(K,W,ia){const Ha=this.getVersionId(),Ta=W.length;let db=0;const yb=ia.length;let Bb=0,Jb=new Array(yb);for(;db<Ta||Bb<yb;){let xb=null;if(db<Ta){do xb=this._decorations[W[db++]];while(!xb&&db<Ta);xb&&(this._decorationsTree.delete(xb),this._onDidChangeDecorations.checkAffectedAndFire(xb.options))}if(Bb<yb){if(!xb){const X=++this._lastDecorationId,xa=`${this._instanceId};${X}`;xb=new oa(xa,0,0),this._decorations[xa]=xb}const Lb=ia[Bb],Ub=this._validateRangeRelaxedNoAllocations(Lb.range),pc=de(Lb.options),yc=this._buffer.getOffsetAt(Ub.startLineNumber,Ub.startColumn),Ec=this._buffer.getOffsetAt(Ub.endLineNumber,Ub.endColumn);xb.ownerId=K,xb.reset(Ha,yc,Ec,Ub),xb.setOptions(pc),this._onDidChangeDecorations.checkAffectedAndFire(pc),this._decorationsTree.insert(xb),Jb[Bb]=xb.id,Bb++}else xb&&delete this._decorations[xb.id]}return Jb}setTokens(K){if(0===K.length)return;let W=[];for(let ia=0,Ha=K.length;ia<Ha;ia++){const Ta=K[ia];let db=0,yb=0,Bb=!1;for(let Jb=0,xb=Ta.tokens.length;Jb<xb;Jb++){const Lb=Ta.startLineNumber+Jb;Bb?(this._tokens.setTokens(this._languageIdentifier.id,Lb-1,this._buffer.getLineLength(Lb),Ta.tokens[Jb],!1),yb=Lb):this._tokens.setTokens(this._languageIdentifier.id,Lb-1,this._buffer.getLineLength(Lb),Ta.tokens[Jb],!0)&&(Bb=!0,db=Lb,yb=Lb)}Bb&&W.push({fromLineNumber:db,toLineNumber:yb})}W.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:W})}setSemanticTokens(K,W){this._tokens2.set(K,W),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:null!==K,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasSemanticTokens(){return this._tokens2.isComplete()}setPartialSemanticTokens(K,W){if(this.hasSemanticTokens())return;const ia=this._tokens2.setPartial(K,W);this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:ia.startLineNumber,toLineNumber:ia.endLineNumber}]})}tokenizeViewport(K,W){K=Math.max(1,K),W=Math.min(this._buffer.getLineCount(),W),this._tokenization.tokenizeViewport(K,W)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(K){this._isDisposing||this._onDidChangeTokens.fire(K)}resetTokenization(){this._tokenization.reset()}forceTokenization(K){if(K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(K)}isCheapToTokenize(K){return this._tokenization.isCheapToTokenize(K)}tokenizeIfCheap(K){this.isCheapToTokenize(K)&&this.forceTokenization(K)}getLineTokens(K){if(K<1||K>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(K)}_getLineTokens(K){const W=this.getLineContent(K),ia=this._tokens.getTokens(this._languageIdentifier.id,K-1,W);return this._tokens2.addSemanticTokens(K,ia)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(K){if(this._languageIdentifier.id===K.id)return;let W={oldLanguage:this._languageIdentifier.language,newLanguage:K.language};this._languageIdentifier=K,this._onDidChangeLanguage.fire(W),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(K,W){const ia=this.validatePosition(new R.a(K,W)),Ha=this.getLineTokens(ia.lineNumber);return Ha.getLanguageId(Ha.findTokenIndexAtOffset(ia.column-1))}getWordAtPosition(K){this._assertNotDisposed();const W=this.validatePosition(K),ia=this.getLineContent(W.lineNumber),Ha=this._getLineTokens(W.lineNumber),Ta=Ha.findTokenIndexAtOffset(W.column-1),[db,yb]=wd._findLanguageBoundaries(Ha,Ta),Bb=Object(Ic.d)(W.column,xc.a.getWordDefinition(Ha.getLanguageId(Ta)),ia.substring(db,yb),db);if(Bb&&Bb.startColumn<=K.column&&K.column<=Bb.endColumn)return Bb;if(Ta>0&&db===W.column-1){const[Jb,xb]=wd._findLanguageBoundaries(Ha,Ta-1),Lb=Object(Ic.d)(W.column,xc.a.getWordDefinition(Ha.getLanguageId(Ta-1)),ia.substring(Jb,xb),Jb);if(Lb&&Lb.startColumn<=K.column&&K.column<=Lb.endColumn)return Lb}return null}static _findLanguageBoundaries(K,W){const ia=K.getLanguageId(W);let Ha=0;for(let db=W;db>=0&&K.getLanguageId(db)===ia;db--)Ha=K.getStartOffset(db);let Ta=K.getLineContent().length;for(let db=W,yb=K.getCount();db<yb&&K.getLanguageId(db)===ia;db++)Ta=K.getEndOffset(db);return[Ha,Ta]}getWordUntilPosition(K){const W=this.getWordAtPosition(K);return W?{word:W.word.substr(0,K.column-W.startColumn),startColumn:W.startColumn,endColumn:K.column}:{word:"",startColumn:K.column,endColumn:K.column}}findMatchingBracketUp(K,W){let ia=K.toLowerCase(),Ha=this.validatePosition(W),Ta=this._getLineTokens(Ha.lineNumber),db=Ta.getLanguageId(Ta.findTokenIndexAtOffset(Ha.column-1)),yb=xc.a.getBracketsSupport(db);if(!yb)return null;let Bb=yb.textIsBracket[ia];return Bb?Od(this._findMatchingBracketUp(Bb,Ha,null)):null}matchBracket(K){return this._matchBracket(this.validatePosition(K))}_matchBracket(K){const W=K.lineNumber,ia=this._getLineTokens(W),Ha=ia.getCount(),Ta=this._buffer.getLineContent(W),db=ia.findTokenIndexAtOffset(K.column-1);if(db<0)return null;const yb=xc.a.getBracketsSupport(ia.getLanguageId(db));if(yb&&!Object(nb.b)(ia.getStandardTokenType(db))){let Bb=Math.max(0,K.column-1-yb.maxBracketLength);for(let Lb=db-1;Lb>=0;Lb--){const Ub=ia.getEndOffset(Lb);if(Ub<=Bb)break;Object(nb.b)(ia.getStandardTokenType(Lb))&&(Bb=Ub)}const Jb=Math.min(Ta.length,K.column-1+yb.maxBracketLength);let xb=null;for(;;){const Lb=zb.a.findNextBracketInRange(yb.forwardRegex,W,Ta,Bb,Jb);if(!Lb)break;if(Lb.startColumn<=K.column&&K.column<=Lb.endColumn){const Ub=Ta.substring(Lb.startColumn-1,Lb.endColumn-1).toLowerCase(),pc=this._matchFoundBracket(Lb,yb.textIsBracket[Ub],yb.textIsOpenBracket[Ub],null);if(pc){if(pc instanceof ud)return null;xb=pc}}Bb=Lb.endColumn-1}if(xb)return xb}if(db>0&&ia.getStartOffset(db)===K.column-1){const Bb=db-1,Jb=xc.a.getBracketsSupport(ia.getLanguageId(Bb));if(Jb&&!Object(nb.b)(ia.getStandardTokenType(Bb))){const xb=Math.max(0,K.column-1-Jb.maxBracketLength);let Lb=Math.min(Ta.length,K.column-1+Jb.maxBracketLength);for(let pc=Bb+1;pc<Ha;pc++){const yc=ia.getStartOffset(pc);if(yc>=Lb)break;Object(nb.b)(ia.getStandardTokenType(pc))&&(Lb=yc)}const Ub=zb.a.findPrevBracketInRange(Jb.reversedRegex,W,Ta,xb,Lb);if(Ub&&Ub.startColumn<=K.column&&K.column<=Ub.endColumn){const pc=Ta.substring(Ub.startColumn-1,Ub.endColumn-1).toLowerCase(),yc=this._matchFoundBracket(Ub,Jb.textIsBracket[pc],Jb.textIsOpenBracket[pc],null);if(yc)return yc instanceof ud?null:yc}}}return null}_matchFoundBracket(K,W,ia,Ha){if(!W)return null;const Ta=ia?this._findMatchingBracketDown(W,K.getEndPosition(),Ha):this._findMatchingBracketUp(W,K.getStartPosition(),Ha);return Ta?Ta instanceof ud?Ta:[K,Ta]:null}_findMatchingBracketUp(K,W,ia){const Ha=K.languageIdentifier.id,Ta=K.reversedRegex;let db=-1,yb=0;const Bb=(Jb,xb,Lb,Ub)=>{for(;;){if(ia&&++yb%100==0&&!ia())return ud.INSTANCE;const pc=zb.a.findPrevBracketInRange(Ta,Jb,xb,Lb,Ub);if(!pc)break;const yc=xb.substring(pc.startColumn-1,pc.endColumn-1).toLowerCase();if(K.isOpen(yc)?db++:K.isClose(yc)&&db--,0===db)return pc;Ub=pc.startColumn-1}return null};for(let Jb=W.lineNumber;Jb>=1;Jb--){const xb=this._getLineTokens(Jb),Lb=xb.getCount(),Ub=this._buffer.getLineContent(Jb);let pc=Lb-1,yc=Ub.length,Ec=Ub.length;Jb===W.lineNumber&&(pc=xb.findTokenIndexAtOffset(W.column-1),yc=W.column-1,Ec=W.column-1);let X=!0;for(;pc>=0;pc--){const xa=xb.getLanguageId(pc)===Ha&&!Object(nb.b)(xb.getStandardTokenType(pc));if(xa)X?yc=xb.getStartOffset(pc):(yc=xb.getStartOffset(pc),Ec=xb.getEndOffset(pc));else if(X&&yc!==Ec){const qa=Bb(Jb,Ub,yc,Ec);if(qa)return qa}X=xa}if(X&&yc!==Ec){const xa=Bb(Jb,Ub,yc,Ec);if(xa)return xa}}return null}_findMatchingBracketDown(K,W,ia){const Ha=K.languageIdentifier.id,Ta=K.forwardRegex;let db=1,yb=0;const Bb=(xb,Lb,Ub,pc)=>{for(;;){if(ia&&++yb%100==0&&!ia())return ud.INSTANCE;const yc=zb.a.findNextBracketInRange(Ta,xb,Lb,Ub,pc);if(!yc)break;const Ec=Lb.substring(yc.startColumn-1,yc.endColumn-1).toLowerCase();if(K.isOpen(Ec)?db++:K.isClose(Ec)&&db--,0===db)return yc;Ub=yc.endColumn-1}return null},Jb=this.getLineCount();for(let xb=W.lineNumber;xb<=Jb;xb++){const Lb=this._getLineTokens(xb),Ub=Lb.getCount(),pc=this._buffer.getLineContent(xb);let yc=0,Ec=0,X=0;xb===W.lineNumber&&(yc=Lb.findTokenIndexAtOffset(W.column-1),Ec=W.column-1,X=W.column-1);let xa=!0;for(;yc<Ub;yc++){const qa=Lb.getLanguageId(yc)===Ha&&!Object(nb.b)(Lb.getStandardTokenType(yc));if(qa)xa||(Ec=Lb.getStartOffset(yc)),X=Lb.getEndOffset(yc);else if(xa&&Ec!==X){const mb=Bb(xb,pc,Ec,X);if(mb)return mb}xa=qa}if(xa&&Ec!==X){const qa=Bb(xb,pc,Ec,X);if(qa)return qa}}return null}findPrevBracket(K){const W=this.validatePosition(K);let ia=-1,Ha=null;for(let Ta=W.lineNumber;Ta>=1;Ta--){const db=this._getLineTokens(Ta),yb=db.getCount(),Bb=this._buffer.getLineContent(Ta);let Jb=yb-1,xb=Bb.length,Lb=Bb.length;if(Ta===W.lineNumber){Jb=db.findTokenIndexAtOffset(W.column-1),xb=W.column-1,Lb=W.column-1;const pc=db.getLanguageId(Jb);ia!==pc&&(ia=pc,Ha=xc.a.getBracketsSupport(ia))}let Ub=!0;for(;Jb>=0;Jb--){const pc=db.getLanguageId(Jb);if(ia!==pc){if(Ha&&Ub&&xb!==Lb){const Ec=zb.a.findPrevBracketInRange(Ha.reversedRegex,Ta,Bb,xb,Lb);if(Ec)return this._toFoundBracket(Ha,Ec);Ub=!1}ia=pc,Ha=xc.a.getBracketsSupport(ia)}const yc=!!Ha&&!Object(nb.b)(db.getStandardTokenType(Jb));if(yc)Ub?xb=db.getStartOffset(Jb):(xb=db.getStartOffset(Jb),Lb=db.getEndOffset(Jb));else if(Ha&&Ub&&xb!==Lb){const Ec=zb.a.findPrevBracketInRange(Ha.reversedRegex,Ta,Bb,xb,Lb);if(Ec)return this._toFoundBracket(Ha,Ec)}Ub=yc}if(Ha&&Ub&&xb!==Lb){const pc=zb.a.findPrevBracketInRange(Ha.reversedRegex,Ta,Bb,xb,Lb);if(pc)return this._toFoundBracket(Ha,pc)}}return null}findNextBracket(K){const W=this.validatePosition(K),ia=this.getLineCount();let Ha=-1,Ta=null;for(let db=W.lineNumber;db<=ia;db++){const yb=this._getLineTokens(db),Bb=yb.getCount(),Jb=this._buffer.getLineContent(db);let xb=0,Lb=0,Ub=0;if(db===W.lineNumber){xb=yb.findTokenIndexAtOffset(W.column-1),Lb=W.column-1,Ub=W.column-1;const yc=yb.getLanguageId(xb);Ha!==yc&&(Ha=yc,Ta=xc.a.getBracketsSupport(Ha))}let pc=!0;for(;xb<Bb;xb++){const yc=yb.getLanguageId(xb);if(Ha!==yc){if(Ta&&pc&&Lb!==Ub){const X=zb.a.findNextBracketInRange(Ta.forwardRegex,db,Jb,Lb,Ub);if(X)return this._toFoundBracket(Ta,X);pc=!1}Ha=yc,Ta=xc.a.getBracketsSupport(Ha)}const Ec=!!Ta&&!Object(nb.b)(yb.getStandardTokenType(xb));if(Ec)pc||(Lb=yb.getStartOffset(xb)),Ub=yb.getEndOffset(xb);else if(Ta&&pc&&Lb!==Ub){const X=zb.a.findNextBracketInRange(Ta.forwardRegex,db,Jb,Lb,Ub);if(X)return this._toFoundBracket(Ta,X)}pc=Ec}if(Ta&&pc&&Lb!==Ub){const yc=zb.a.findNextBracketInRange(Ta.forwardRegex,db,Jb,Lb,Ub);if(yc)return this._toFoundBracket(Ta,yc)}}return null}findEnclosingBrackets(K,W){let ia;if(void 0===W)ia=null;else{const pc=Date.now();ia=()=>Date.now()-pc<=W}const Ha=this.validatePosition(K),Ta=this.getLineCount(),db=new Map();let yb=[];const Bb=(pc,yc)=>{if(!db.has(pc)){let Ec=[];for(let X=0,xa=yc?yc.brackets.length:0;X<xa;X++)Ec[X]=0;db.set(pc,Ec)}yb=db.get(pc)};let Jb=0;const xb=(pc,yc,Ec,X,xa)=>{for(;;){if(ia&&++Jb%100==0&&!ia())return ud.INSTANCE;const qa=zb.a.findNextBracketInRange(pc.forwardRegex,yc,Ec,X,xa);if(!qa)break;const mb=Ec.substring(qa.startColumn-1,qa.endColumn-1).toLowerCase(),ub=pc.textIsBracket[mb];if(ub&&(ub.isOpen(mb)?yb[ub.index]++:ub.isClose(mb)&&yb[ub.index]--,-1===yb[ub.index]))return this._matchFoundBracket(qa,ub,!1,ia);X=qa.endColumn-1}return null};let Lb=-1,Ub=null;for(let pc=Ha.lineNumber;pc<=Ta;pc++){const yc=this._getLineTokens(pc),Ec=yc.getCount(),X=this._buffer.getLineContent(pc);let xa=0,qa=0,mb=0;if(pc===Ha.lineNumber){xa=yc.findTokenIndexAtOffset(Ha.column-1),qa=Ha.column-1,mb=Ha.column-1;const Rb=yc.getLanguageId(xa);Lb!==Rb&&(Lb=Rb,Ub=xc.a.getBracketsSupport(Lb),Bb(Lb,Ub))}let ub=!0;for(;xa<Ec;xa++){const Rb=yc.getLanguageId(xa);if(Lb!==Rb){if(Ub&&ub&&qa!==mb){const Xb=xb(Ub,pc,X,qa,mb);if(Xb)return Od(Xb);ub=!1}Lb=Rb,Ub=xc.a.getBracketsSupport(Lb),Bb(Lb,Ub)}const jc=!!Ub&&!Object(nb.b)(yc.getStandardTokenType(xa));if(jc)ub||(qa=yc.getStartOffset(xa)),mb=yc.getEndOffset(xa);else if(Ub&&ub&&qa!==mb){const Xb=xb(Ub,pc,X,qa,mb);if(Xb)return Od(Xb)}ub=jc}if(Ub&&ub&&qa!==mb){const Rb=xb(Ub,pc,X,qa,mb);if(Rb)return Od(Rb)}}return null}_toFoundBracket(K,W){if(!W)return null;let ia=this.getValueInRange(W);ia=ia.toLowerCase();let Ha=K.textIsBracket[ia];return Ha?{range:W,open:Ha.open,close:Ha.close,isOpen:K.textIsOpenBracket[ia]}:null}static computeIndentLevel(K,W){let ia=0,Ha=0,Ta=K.length;for(;Ha<Ta;){let db=K.charCodeAt(Ha);if(32===db)ia++;else{if(9!==db)break;ia=ia-ia%W+W}Ha++}return Ha===Ta?-1:ia}_computeIndentLevel(K){return wd.computeIndentLevel(this._buffer.getLineContent(K+1),this._options.tabSize)}getActiveIndentGuide(K,W,ia){this._assertNotDisposed();const Ha=this.getLineCount();if(K<1||K>Ha)throw new Error("Illegal value for lineNumber");const Ta=xc.a.getFoldingRules(this._languageIdentifier.id),db=Boolean(Ta&&Ta.offSide);let yb=-2,Bb=-1,Jb=-2,xb=-1;const Lb=Xb=>{if(-1!==yb&&(-2===yb||yb>Xb-1)){yb=-1,Bb=-1;for(let wa=Xb-2;wa>=0;wa--){let fa=this._computeIndentLevel(wa);if(fa>=0){yb=wa,Bb=fa;break}}}if(-2===Jb){Jb=-1,xb=-1;for(let wa=Xb;wa<Ha;wa++){let fa=this._computeIndentLevel(wa);if(fa>=0){Jb=wa,xb=fa;break}}}};let Ub=-2,pc=-1,yc=-2,Ec=-1;const X=Xb=>{if(-2===Ub){Ub=-1,pc=-1;for(let wa=Xb-2;wa>=0;wa--){let fa=this._computeIndentLevel(wa);if(fa>=0){Ub=wa,pc=fa;break}}}if(-1!==yc&&(-2===yc||yc<Xb-1)){yc=-1,Ec=-1;for(let wa=Xb;wa<Ha;wa++){let fa=this._computeIndentLevel(wa);if(fa>=0){yc=wa,Ec=fa;break}}}};let xa=0,qa=!0,mb=0,ub=!0,Rb=0,jc=0;for(let Xb=0;qa||ub;Xb++){const wa=K-Xb,fa=K+Xb;Xb>1&&(wa<1||wa<W)&&(qa=!1),Xb>1&&(fa>Ha||fa>ia)&&(ub=!1),Xb>5e4&&(qa=!1,ub=!1);let ra=-1;if(qa){const ab=this._computeIndentLevel(wa-1);ab>=0?(Jb=wa-1,xb=ab,ra=Math.ceil(ab/this._options.indentSize)):(Lb(wa),ra=this._getIndentLevelForWhitespaceLine(db,Bb,xb))}let Ra=-1;if(ub){const ab=this._computeIndentLevel(fa-1);ab>=0?(Ub=fa-1,pc=ab,Ra=Math.ceil(ab/this._options.indentSize)):(X(fa),Ra=this._getIndentLevelForWhitespaceLine(db,pc,Ec))}if(0!==Xb){if(1===Xb){if(fa<=Ha&&Ra>=0&&jc+1===Ra){qa=!1,xa=fa,mb=fa,Rb=Ra;continue}if(wa>=1&&ra>=0&&ra-1===jc){ub=!1,xa=wa,mb=wa,Rb=ra;continue}if(xa=K,mb=K,Rb=jc,0===Rb)return{startLineNumber:xa,endLineNumber:mb,indent:Rb}}qa&&(ra>=Rb?xa=wa:qa=!1),ub&&(Ra>=Rb?mb=fa:ub=!1)}else jc=ra}return{startLineNumber:xa,endLineNumber:mb,indent:Rb}}getLinesIndentGuides(K,W){this._assertNotDisposed();const ia=this.getLineCount();if(K<1||K>ia)throw new Error("Illegal value for startLineNumber");if(W<1||W>ia)throw new Error("Illegal value for endLineNumber");const Ha=xc.a.getFoldingRules(this._languageIdentifier.id),Ta=Boolean(Ha&&Ha.offSide);let db=new Array(W-K+1),yb=-2,Bb=-1,Jb=-2,xb=-1;for(let Lb=K;Lb<=W;Lb++){let Ub=Lb-K;const pc=this._computeIndentLevel(Lb-1);if(pc>=0)yb=Lb-1,Bb=pc,db[Ub]=Math.ceil(pc/this._options.indentSize);else{if(-2===yb){yb=-1,Bb=-1;for(let yc=Lb-2;yc>=0;yc--){let Ec=this._computeIndentLevel(yc);if(Ec>=0){yb=yc,Bb=Ec;break}}}if(-1!==Jb&&(-2===Jb||Jb<Lb-1)){Jb=-1,xb=-1;for(let yc=Lb;yc<ia;yc++){let Ec=this._computeIndentLevel(yc);if(Ec>=0){Jb=yc,xb=Ec;break}}}db[Ub]=this._getIndentLevelForWhitespaceLine(Ta,Bb,xb)}}return db}_getIndentLevelForWhitespaceLine(K,W,ia){return-1===W||-1===ia?0:W<ia?1+Math.floor(W/this._options.indentSize):W===ia||K?Math.ceil(ia/this._options.indentSize):1+Math.floor(ia/this._options.indentSize)}}wd.MODEL_SYNC_LIMIT=52428800,wd.LARGE_FILE_SIZE_THRESHOLD=20971520,wd.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,wd.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:Y.d.tabSize,indentSize:Y.d.indentSize,insertSpaces:Y.d.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:Y.d.trimAutoWhitespace,largeFileOptimizations:Y.d.largeFileOptimizations};class Dd{constructor(){this._decorationsTree0=new Ba(),this._decorationsTree1=new Ba()}intervalSearch(K,W,ia,Ha,Ta){const db=this._decorationsTree0.intervalSearch(K,W,ia,Ha,Ta),yb=this._decorationsTree1.intervalSearch(K,W,ia,Ha,Ta);return db.concat(yb)}search(K,W,ia,Ha){if(ia)return this._decorationsTree1.search(K,W,Ha);{const Ta=this._decorationsTree0.search(K,W,Ha),db=this._decorationsTree1.search(K,W,Ha);return Ta.concat(db)}}collectNodesFromOwner(K){const W=this._decorationsTree0.collectNodesFromOwner(K),ia=this._decorationsTree1.collectNodesFromOwner(K);return W.concat(ia)}collectNodesPostOrder(){const K=this._decorationsTree0.collectNodesPostOrder(),W=this._decorationsTree1.collectNodesPostOrder();return K.concat(W)}insert(K){da(K)?this._decorationsTree1.insert(K):this._decorationsTree0.insert(K)}delete(K){da(K)?this._decorationsTree1.delete(K):this._decorationsTree0.delete(K)}resolveNode(K,W){da(K)?this._decorationsTree1.resolveNode(K,W):this._decorationsTree0.resolveNode(K,W)}acceptReplace(K,W,ia,Ha){this._decorationsTree0.acceptReplace(K,W,ia,Ha),this._decorationsTree1.acceptReplace(K,W,ia,Ha)}}function ce(K){return K.replace(/[^a-z0-9\-_]/gi," ")}class _d{constructor(K){this.color=K.color||"",this.darkColor=K.darkColor||""}}class oe extends _d{constructor(K){super(K),this._resolvedColor=null,this.position="number"==typeof K.position?K.position:z.d.Center}getColor(K){return this._resolvedColor||("light"!==K.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,K):this._resolvedColor=this._resolveColor(this.color,K)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(K,W){if("string"==typeof K)return K;let ia=K?W.getColor(K.id):null;return ia?ia.toString():""}}class nd extends _d{constructor(K){super(K),this.position=K.position}getColor(K){return this._resolvedColor||("light"!==K.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,K):this._resolvedColor=this._resolveColor(this.color,K)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(K,W){return"string"==typeof K?dc.a.fromHex(K):W.getColor(K.id)}}class Qd{constructor(K){this.stickiness=K.stickiness||0,this.zIndex=K.zIndex||0,this.className=K.className?ce(K.className):null,this.hoverMessage=K.hoverMessage||null,this.glyphMarginHoverMessage=K.glyphMarginHoverMessage||null,this.isWholeLine=K.isWholeLine||!1,this.showIfCollapsed=K.showIfCollapsed||!1,this.collapseOnReplaceEdit=K.collapseOnReplaceEdit||!1,this.overviewRuler=K.overviewRuler?new oe(K.overviewRuler):null,this.minimap=K.minimap?new nd(K.minimap):null,this.glyphMarginClassName=K.glyphMarginClassName?ce(K.glyphMarginClassName):null,this.linesDecorationsClassName=K.linesDecorationsClassName?ce(K.linesDecorationsClassName):null,this.firstLineDecorationClassName=K.firstLineDecorationClassName?ce(K.firstLineDecorationClassName):null,this.marginClassName=K.marginClassName?ce(K.marginClassName):null,this.inlineClassName=K.inlineClassName?ce(K.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=K.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=K.beforeContentClassName?ce(K.beforeContentClassName):null,this.afterContentClassName=K.afterContentClassName?ce(K.afterContentClassName):null}static register(K){return new Qd(K)}static createDynamic(K){return new Qd(K)}}Qd.EMPTY=Qd.register({});const jd=[Qd.register({stickiness:0}),Qd.register({stickiness:1}),Qd.register({stickiness:2}),Qd.register({stickiness:3})];function de(K){return K instanceof Qd?K:Qd.createDynamic(K)}class Gd extends y.a{constructor(){super(),this._actual=this._register(new q.a()),this.event=this._actual.event,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){if(this._deferredCnt--,0===this._deferredCnt&&this._shouldFire){const K={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(K)}}checkAffectedAndFire(K){this._affectsMinimap||(this._affectsMinimap=!(!K.minimap||!K.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!(!K.overviewRuler||!K.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class xd extends y.a{constructor(){super(),this._fastEmitter=this._register(new q.a()),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new q.a()),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(K=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=K;const W=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(W),this._slowEmitter.fire(W)}}fire(K){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(K):this._deferredEvent=K:(this._fastEmitter.fire(K),this._slowEmitter.fire(K))}}},function(Ga,t,f){"use strict";function l(Aa,ya){return 0===ya.length?Aa:Aa.replace(/\{(\d+)\}/g,function(pa,Ja){var Na=Ja[0];return void 0!==ya[Na]?ya[Na]:pa})}function q(Aa,ya){for(var pa=[],Ja=2;Ja<arguments.length;Ja++)pa[Ja-2]=arguments[Ja];return l(ya,pa)}function y(Aa){return q}var F,P,Y,R,L,s,z,D,Q,B,C,k,w,x,u,A,U,da,Z,H,ea;f.d(t,"g",function(){return vc}),f.d(t,"d",function(){return D}),f.d(t,"b",function(){return C}),f.d(t,"a",function(){return ma}),f.d(t,"e",function(){return ta}),f.d(t,"c",function(){return ba}),f.d(t,"f",function(){return S}),f.d(t,"h",function(){return nc}),function(Aa){Aa.create=function(ya,pa){return{line:ya,character:pa}},Aa.is=function(ya){var pa=ya;return rb.objectLiteral(pa)&&rb.number(pa.line)&&rb.number(pa.character)}}(F||(F={})),function(Aa){Aa.create=function(ya,pa,Ja,Na){if(rb.number(ya)&&rb.number(pa)&&rb.number(Ja)&&rb.number(Na))return{start:F.create(ya,pa),end:F.create(Ja,Na)};if(F.is(ya)&&F.is(pa))return{start:ya,end:pa};throw new Error("Range#create called with invalid arguments["+ya+", "+pa+", "+Ja+", "+Na+"]")},Aa.is=function(ya){var pa=ya;return rb.objectLiteral(pa)&&F.is(pa.start)&&F.is(pa.end)}}(P||(P={})),function(Aa){Aa.create=function(ya,pa){return{uri:ya,range:pa}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&P.is(pa.range)&&(rb.string(pa.uri)||rb.undefined(pa.uri))}}(Y||(Y={})),function(Aa){Aa.create=function(ya,pa,Ja,Na){return{targetUri:ya,targetRange:pa,targetSelectionRange:Ja,originSelectionRange:Na}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&P.is(pa.targetRange)&&rb.string(pa.targetUri)&&(P.is(pa.targetSelectionRange)||rb.undefined(pa.targetSelectionRange))&&(P.is(pa.originSelectionRange)||rb.undefined(pa.originSelectionRange))}}(R||(R={})),function(Aa){Aa.create=function(ya,pa,Ja,Na){return{red:ya,green:pa,blue:Ja,alpha:Na}},Aa.is=function(ya){var pa=ya;return rb.number(pa.red)&&rb.number(pa.green)&&rb.number(pa.blue)&&rb.number(pa.alpha)}}(L||(L={})),function(Aa){Aa.create=function(ya,pa){return{range:ya,color:pa}},Aa.is=function(ya){var pa=ya;return P.is(pa.range)&&L.is(pa.color)}}(s||(s={})),function(Aa){Aa.create=function(ya,pa,Ja){return{label:ya,textEdit:pa,additionalTextEdits:Ja}},Aa.is=function(ya){var pa=ya;return rb.string(pa.label)&&(rb.undefined(pa.textEdit)||A.is(pa))&&(rb.undefined(pa.additionalTextEdits)||rb.typedArray(pa.additionalTextEdits,A.is))}}(z||(z={})),function(Aa){Aa.Comment="comment",Aa.Imports="imports",Aa.Region="region"}(D||(D={})),function(Aa){Aa.create=function(ya,pa,Ja,Na,Pa){var Fa={startLine:ya,endLine:pa};return rb.defined(Ja)&&(Fa.startCharacter=Ja),rb.defined(Na)&&(Fa.endCharacter=Na),rb.defined(Pa)&&(Fa.kind=Pa),Fa},Aa.is=function(ya){var pa=ya;return rb.number(pa.startLine)&&rb.number(pa.startLine)&&(rb.undefined(pa.startCharacter)||rb.number(pa.startCharacter))&&(rb.undefined(pa.endCharacter)||rb.number(pa.endCharacter))&&(rb.undefined(pa.kind)||rb.string(pa.kind))}}(Q||(Q={})),function(Aa){Aa.create=function(ya,pa){return{location:ya,message:pa}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&Y.is(pa.location)&&rb.string(pa.message)}}(B||(B={})),function(Aa){Aa.Error=1,Aa.Warning=2,Aa.Information=3,Aa.Hint=4}(C||(C={})),function(Aa){Aa.Unnecessary=1,Aa.Deprecated=2}(k||(k={})),function(Aa){Aa.is=function(ya){var pa=ya;return null!=pa&&(rb.number(pa.value)||rb.string(pa.value))&&rb.string(pa.target)}}(w||(w={})),function(Aa){Aa.create=function(ya,pa,Ja,Na,Pa,Fa){var Xa={range:ya,message:pa};return rb.defined(Ja)&&(Xa.severity=Ja),rb.defined(Na)&&(Xa.code=Na),rb.defined(Pa)&&(Xa.source=Pa),rb.defined(Fa)&&(Xa.relatedInformation=Fa),Xa},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&P.is(pa.range)&&rb.string(pa.message)&&(rb.number(pa.severity)||rb.undefined(pa.severity))&&(rb.number(pa.code)||rb.string(pa.code)||rb.undefined(pa.code))&&(rb.string(pa.source)||rb.undefined(pa.source))&&(rb.undefined(pa.relatedInformation)||rb.typedArray(pa.relatedInformation,B.is))}}(x||(x={})),function(Aa){Aa.create=function(ya,pa){for(var Ja=[],Na=2;Na<arguments.length;Na++)Ja[Na-2]=arguments[Na];var Pa={title:ya,command:pa};return rb.defined(Ja)&&Ja.length>0&&(Pa.arguments=Ja),Pa},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&rb.string(pa.title)&&rb.string(pa.command)}}(u||(u={})),function(Aa){Aa.replace=function(ya,pa){return{range:ya,newText:pa}},Aa.insert=function(ya,pa){return{range:{start:ya,end:ya},newText:pa}},Aa.del=function(ya){return{range:ya,newText:""}},Aa.is=function(ya){var pa=ya;return rb.objectLiteral(pa)&&rb.string(pa.newText)&&P.is(pa.range)}}(A||(A={})),function(Aa){Aa.create=function(ya,pa){return{textDocument:ya,edits:pa}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&ga.is(pa.textDocument)&&Array.isArray(pa.edits)}}(U||(U={})),function(Aa){Aa.create=function(ya,pa){var Ja={kind:"create",uri:ya};return void 0===pa||void 0===pa.overwrite&&void 0===pa.ignoreIfExists||(Ja.options=pa),Ja},Aa.is=function(ya){var pa=ya;return pa&&"create"===pa.kind&&rb.string(pa.uri)&&(void 0===pa.options||(void 0===pa.options.overwrite||rb.boolean(pa.options.overwrite))&&(void 0===pa.options.ignoreIfExists||rb.boolean(pa.options.ignoreIfExists)))}}(da||(da={})),function(Aa){Aa.create=function(ya,pa,Ja){var Na={kind:"rename",oldUri:ya,newUri:pa};return void 0===Ja||void 0===Ja.overwrite&&void 0===Ja.ignoreIfExists||(Na.options=Ja),Na},Aa.is=function(ya){var pa=ya;return pa&&"rename"===pa.kind&&rb.string(pa.oldUri)&&rb.string(pa.newUri)&&(void 0===pa.options||(void 0===pa.options.overwrite||rb.boolean(pa.options.overwrite))&&(void 0===pa.options.ignoreIfExists||rb.boolean(pa.options.ignoreIfExists)))}}(Z||(Z={})),function(Aa){Aa.create=function(ya,pa){var Ja={kind:"delete",uri:ya};return void 0===pa||void 0===pa.recursive&&void 0===pa.ignoreIfNotExists||(Ja.options=pa),Ja},Aa.is=function(ya){var pa=ya;return pa&&"delete"===pa.kind&&rb.string(pa.uri)&&(void 0===pa.options||(void 0===pa.options.recursive||rb.boolean(pa.options.recursive))&&(void 0===pa.options.ignoreIfNotExists||rb.boolean(pa.options.ignoreIfNotExists)))}}(H||(H={})),function(Aa){Aa.is=function(ya){var pa=ya;return pa&&(void 0!==pa.changes||void 0!==pa.documentChanges)&&(void 0===pa.documentChanges||pa.documentChanges.every(function(Ja){return rb.string(Ja.kind)?da.is(Ja)||Z.is(Ja)||H.is(Ja):U.is(Ja)}))}}(ea||(ea={}));var oa,ga,Ba,N,V,ma,ta,Da,Ka,G,hb,_a,fb,za,ua,ba,$,S,aa,_,I,ka,va,La,$a,Ab,gb,Fb,wb=function(){function Aa(ya){this.edits=ya}return Aa.prototype.insert=function(ya,pa){this.edits.push(A.insert(ya,pa))},Aa.prototype.replace=function(ya,pa){this.edits.push(A.replace(ya,pa))},Aa.prototype.delete=function(ya){this.edits.push(A.del(ya))},Aa.prototype.add=function(ya){this.edits.push(ya)},Aa.prototype.all=function(){return this.edits},Aa.prototype.clear=function(){this.edits.splice(0,this.edits.length)},Aa}();!function(){function Aa(ya){var pa=this;this._textEditChanges=Object.create(null),ya&&(this._workspaceEdit=ya,ya.documentChanges?ya.documentChanges.forEach(function(Ja){if(U.is(Ja)){var Na=new wb(Ja.edits);pa._textEditChanges[Ja.textDocument.uri]=Na}}):ya.changes&&Object.keys(ya.changes).forEach(function(Ja){var Na=new wb(ya.changes[Ja]);pa._textEditChanges[Ja]=Na}))}Object.defineProperty(Aa.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),Aa.prototype.getTextEditChange=function(ya){if(ga.is(ya)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var pa=ya;if(!(Na=this._textEditChanges[pa.uri])){var Ja={textDocument:pa,edits:Pa=[]};this._workspaceEdit.documentChanges.push(Ja),Na=new wb(Pa),this._textEditChanges[pa.uri]=Na}return Na}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var Na;if(!(Na=this._textEditChanges[ya])){var Pa=[];this._workspaceEdit.changes[ya]=Pa,Na=new wb(Pa),this._textEditChanges[ya]=Na}return Na},Aa.prototype.createFile=function(ya,pa){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(da.create(ya,pa))},Aa.prototype.renameFile=function(ya,pa,Ja){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Z.create(ya,pa,Ja))},Aa.prototype.deleteFile=function(ya,pa){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(H.create(ya,pa))},Aa.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}(),!function(Aa){Aa.create=function(ya){return{uri:ya}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&rb.string(pa.uri)}}(oa||(oa={})),function(Aa){Aa.create=function(ya,pa){return{uri:ya,version:pa}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&rb.string(pa.uri)&&(null===pa.version||rb.number(pa.version))}}(ga||(ga={})),function(Aa){Aa.create=function(ya,pa,Ja,Na){return{uri:ya,languageId:pa,version:Ja,text:Na}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&rb.string(pa.uri)&&rb.string(pa.languageId)&&rb.number(pa.version)&&rb.string(pa.text)}}(Ba||(Ba={})),function(Aa){Aa.PlainText="plaintext",Aa.Markdown="markdown"}(N||(N={})),function(Aa){Aa.is=function(ya){var pa=ya;return pa===Aa.PlainText||pa===Aa.Markdown}}(N||(N={})),function(Aa){Aa.is=function(ya){var pa=ya;return rb.objectLiteral(ya)&&N.is(pa.kind)&&rb.string(pa.value)}}(V||(V={})),function(Aa){Aa.Text=1,Aa.Method=2,Aa.Function=3,Aa.Constructor=4,Aa.Field=5,Aa.Variable=6,Aa.Class=7,Aa.Interface=8,Aa.Module=9,Aa.Property=10,Aa.Unit=11,Aa.Value=12,Aa.Enum=13,Aa.Keyword=14,Aa.Snippet=15,Aa.Color=16,Aa.File=17,Aa.Reference=18,Aa.Folder=19,Aa.EnumMember=20,Aa.Constant=21,Aa.Struct=22,Aa.Event=23,Aa.Operator=24,Aa.TypeParameter=25}(ma||(ma={})),function(Aa){Aa.PlainText=1,Aa.Snippet=2}(ta||(ta={})),function(Aa){Aa.Deprecated=1}(Da||(Da={})),function(Aa){Aa.create=function(ya,pa,Ja){return{newText:ya,insert:pa,replace:Ja}},Aa.is=function(ya){var pa=ya;return pa&&rb.string(pa.newText)&&P.is(pa.insert)&&P.is(pa.replace)}}(Ka||(Ka={})),function(Aa){Aa.create=function(ya){return{label:ya}}}(G||(G={})),function(Aa){Aa.create=function(ya,pa){return{items:ya||[],isIncomplete:!!pa}}}(hb||(hb={})),function(Aa){Aa.fromPlainText=function(ya){return ya.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Aa.is=function(ya){var pa=ya;return rb.string(pa)||rb.objectLiteral(pa)&&rb.string(pa.language)&&rb.string(pa.value)}}(_a||(_a={})),function(Aa){Aa.is=function(ya){var pa=ya;return!!pa&&rb.objectLiteral(pa)&&(V.is(pa.contents)||_a.is(pa.contents)||rb.typedArray(pa.contents,_a.is))&&(void 0===ya.range||P.is(ya.range))}}(fb||(fb={})),function(Aa){Aa.create=function(ya,pa){return pa?{label:ya,documentation:pa}:{label:ya}}}(za||(za={})),function(Aa){Aa.create=function(ya,pa){for(var Ja=[],Na=2;Na<arguments.length;Na++)Ja[Na-2]=arguments[Na];var Pa={label:ya};return rb.defined(pa)&&(Pa.documentation=pa),rb.defined(Ja)?Pa.parameters=Ja:Pa.parameters=[],Pa}}(ua||(ua={})),function(Aa){Aa.Text=1,Aa.Read=2,Aa.Write=3}(ba||(ba={})),function(Aa){Aa.create=function(ya,pa){var Ja={range:ya};return rb.number(pa)&&(Ja.kind=pa),Ja}}($||($={})),function(Aa){Aa.File=1,Aa.Module=2,Aa.Namespace=3,Aa.Package=4,Aa.Class=5,Aa.Method=6,Aa.Property=7,Aa.Field=8,Aa.Constructor=9,Aa.Enum=10,Aa.Interface=11,Aa.Function=12,Aa.Variable=13,Aa.Constant=14,Aa.String=15,Aa.Number=16,Aa.Boolean=17,Aa.Array=18,Aa.Object=19,Aa.Key=20,Aa.Null=21,Aa.EnumMember=22,Aa.Struct=23,Aa.Event=24,Aa.Operator=25,Aa.TypeParameter=26}(S||(S={})),function(Aa){Aa.Deprecated=1}(aa||(aa={})),function(Aa){Aa.create=function(ya,pa,Ja,Na,Pa){var Fa={name:ya,kind:pa,location:{uri:Na,range:Ja}};return Pa&&(Fa.containerName=Pa),Fa}}(_||(_={})),function(Aa){Aa.create=function(ya,pa,Ja,Na,Pa,Fa){var Xa={name:ya,detail:pa,kind:Ja,range:Na,selectionRange:Pa};return void 0!==Fa&&(Xa.children=Fa),Xa},Aa.is=function(ya){var pa=ya;return pa&&rb.string(pa.name)&&rb.number(pa.kind)&&P.is(pa.range)&&P.is(pa.selectionRange)&&(void 0===pa.detail||rb.string(pa.detail))&&(void 0===pa.deprecated||rb.boolean(pa.deprecated))&&(void 0===pa.children||Array.isArray(pa.children))&&(void 0===pa.tags||Array.isArray(pa.tags))}}(I||(I={})),function(Aa){Aa.Empty="",Aa.QuickFix="quickfix",Aa.Refactor="refactor",Aa.RefactorExtract="refactor.extract",Aa.RefactorInline="refactor.inline",Aa.RefactorRewrite="refactor.rewrite",Aa.Source="source",Aa.SourceOrganizeImports="source.organizeImports",Aa.SourceFixAll="source.fixAll"}(ka||(ka={})),function(Aa){Aa.create=function(ya,pa){var Ja={diagnostics:ya};return null!=pa&&(Ja.only=pa),Ja},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&rb.typedArray(pa.diagnostics,x.is)&&(void 0===pa.only||rb.typedArray(pa.only,rb.string))}}(va||(va={})),function(Aa){Aa.create=function(ya,pa,Ja){var Na={title:ya};return u.is(pa)?Na.command=pa:Na.edit=pa,void 0!==Ja&&(Na.kind=Ja),Na},Aa.is=function(ya){var pa=ya;return pa&&rb.string(pa.title)&&(void 0===pa.diagnostics||rb.typedArray(pa.diagnostics,x.is))&&(void 0===pa.kind||rb.string(pa.kind))&&(void 0!==pa.edit||void 0!==pa.command)&&(void 0===pa.command||u.is(pa.command))&&(void 0===pa.isPreferred||rb.boolean(pa.isPreferred))&&(void 0===pa.edit||ea.is(pa.edit))}}(La||(La={})),function(Aa){Aa.create=function(ya,pa){var Ja={range:ya};return rb.defined(pa)&&(Ja.data=pa),Ja},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&P.is(pa.range)&&(rb.undefined(pa.command)||u.is(pa.command))}}($a||($a={})),function(Aa){Aa.create=function(ya,pa){return{tabSize:ya,insertSpaces:pa}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&rb.number(pa.tabSize)&&rb.boolean(pa.insertSpaces)}}(Ab||(Ab={})),function(Aa){Aa.create=function(ya,pa,Ja){return{range:ya,target:pa,data:Ja}},Aa.is=function(ya){var pa=ya;return rb.defined(pa)&&P.is(pa.range)&&(rb.undefined(pa.target)||rb.string(pa.target))}}(gb||(gb={})),function(Aa){Aa.create=function(ya,pa){return{range:ya,parent:pa}},Aa.is=function(ya){var pa=ya;return void 0!==pa&&P.is(pa.range)&&(void 0===pa.parent||Aa.is(pa.parent))}}(Fb||(Fb={}));var tc;!function(Aa){Aa.create=function(ya,pa,Ja,Na){return new wc(ya,pa,Ja,Na)},Aa.is=function(ya){var pa=ya;return!!(rb.defined(pa)&&rb.string(pa.uri)&&(rb.undefined(pa.languageId)||rb.string(pa.languageId))&&rb.number(pa.lineCount)&&rb.func(pa.getText)&&rb.func(pa.positionAt)&&rb.func(pa.offsetAt))},Aa.applyEdits=function(ya,pa){for(var Ja=ya.getText(),Na=function vb(Vb,hc){if(Vb.length<=1)return Vb;var Tb=Vb.length/2|0,cc=Vb.slice(0,Tb),Rc=Vb.slice(Tb);vb(cc,hc),vb(Rc,hc);for(var gd=0,od=0,Wb=0;gd<cc.length&&od<Rc.length;){var Zb=hc(cc[gd],Rc[od]);Vb[Wb++]=Zb<=0?cc[gd++]:Rc[od++]}for(;gd<cc.length;)Vb[Wb++]=cc[gd++];for(;od<Rc.length;)Vb[Wb++]=Rc[od++];return Vb}(pa,function(vb,Vb){var hc=vb.range.start.line-Vb.range.start.line;return 0===hc?vb.range.start.character-Vb.range.start.character:hc}),Pa=Ja.length,Fa=Na.length-1;Fa>=0;Fa--){var Xa=Na[Fa],lb=ya.offsetAt(Xa.range.start),sb=ya.offsetAt(Xa.range.end);if(!(sb<=Pa))throw new Error("Overlapping edit");Ja=Ja.substring(0,lb)+Xa.newText+Ja.substring(sb,Ja.length),Pa=lb}return Ja}}(tc||(tc={}));var rb,wc=function(){function Aa(ya,pa,Ja,Na){this._uri=ya,this._languageId=pa,this._version=Ja,this._content=Na,this._lineOffsets=void 0}return Object.defineProperty(Aa.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(Aa.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(Aa.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),Aa.prototype.getText=function(ya){if(ya){var pa=this.offsetAt(ya.start),Ja=this.offsetAt(ya.end);return this._content.substring(pa,Ja)}return this._content},Aa.prototype.update=function(ya,pa){this._content=ya.text,this._version=pa,this._lineOffsets=void 0},Aa.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var ya=[],pa=this._content,Ja=!0,Na=0;Na<pa.length;Na++){Ja&&(ya.push(Na),Ja=!1);var Pa=pa.charAt(Na);Ja="\r"===Pa||` -`===Pa,"\r"===Pa&&Na+1<pa.length&&` -`===pa.charAt(Na+1)&&Na++}Ja&&pa.length>0&&ya.push(pa.length),this._lineOffsets=ya}return this._lineOffsets},Aa.prototype.positionAt=function(ya){ya=Math.max(Math.min(ya,this._content.length),0);var pa=this.getLineOffsets(),Ja=0,Na=pa.length;if(0===Na)return F.create(0,ya);for(;Ja<Na;){var Pa=Math.floor((Ja+Na)/2);pa[Pa]>ya?Na=Pa:Ja=Pa+1}var Fa=Ja-1;return F.create(Fa,ya-pa[Fa])},Aa.prototype.offsetAt=function(ya){var pa=this.getLineOffsets();if(ya.line>=pa.length)return this._content.length;if(ya.line<0)return 0;var Ja=pa[ya.line],Na=ya.line+1<pa.length?pa[ya.line+1]:this._content.length;return Math.max(Math.min(Ja+ya.character,Na),Ja)},Object.defineProperty(Aa.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),Aa}();!function(Aa){var ya=Object.prototype.toString;Aa.defined=function(pa){return void 0!==pa},Aa.undefined=function(pa){return void 0===pa},Aa.boolean=function(pa){return!0===pa||!1===pa},Aa.string=function(pa){return"[object String]"===ya.call(pa)},Aa.number=function(pa){return"[object Number]"===ya.call(pa)},Aa.func=function(pa){return"[object Function]"===ya.call(pa)},Aa.objectLiteral=function(pa){return null!==pa&&"object"==typeof pa},Aa.typedArray=function(pa,Ja){return Array.isArray(pa)&&pa.every(Ja)}}(rb||(rb={}));var vc,cb,Ob,uc,Cc,Kc=function(){function Aa(ya,pa,Ja,Na){this._uri=ya,this._languageId=pa,this._version=Ja,this._content=Na,this._lineOffsets=void 0}return Object.defineProperty(Aa.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(Aa.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(Aa.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),Aa.prototype.getText=function(ya){if(ya){var pa=this.offsetAt(ya.start),Ja=this.offsetAt(ya.end);return this._content.substring(pa,Ja)}return this._content},Aa.prototype.update=function(ya,pa){for(var Ja=0,Na=ya;Ja<Na.length;Ja++){var Pa=Na[Ja];if(Aa.isIncremental(Pa)){var Fa=sc(Pa.range),Xa=this.offsetAt(Fa.start),lb=this.offsetAt(Fa.end);this._content=this._content.substring(0,Xa)+Pa.text+this._content.substring(lb,this._content.length);var sb=Math.max(Fa.start.line,0),vb=Math.max(Fa.end.line,0),Vb=this._lineOffsets,hc=Yc(Pa.text,!1,Xa);if(vb-sb===hc.length)for(var Tb=0,cc=hc.length;Tb<cc;Tb++)Vb[Tb+sb+1]=hc[Tb];else hc.length<1e4?Vb.splice.apply(Vb,[sb+1,vb-sb].concat(hc)):this._lineOffsets=Vb=Vb.slice(0,sb+1).concat(hc,Vb.slice(vb+1));var Rc=Pa.text.length-(lb-Xa);if(0!==Rc)for(Tb=sb+1+hc.length,cc=Vb.length;Tb<cc;Tb++)Vb[Tb]=Vb[Tb]+Rc}else{if(!Aa.isFull(Pa))throw new Error("Unknown change event received");this._content=Pa.text,this._lineOffsets=void 0}}this._version=pa},Aa.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=Yc(this._content,!0)),this._lineOffsets},Aa.prototype.positionAt=function(ya){ya=Math.max(Math.min(ya,this._content.length),0);var pa=this.getLineOffsets(),Ja=0,Na=pa.length;if(0===Na)return{line:0,character:ya};for(;Ja<Na;){var Pa=Math.floor((Ja+Na)/2);pa[Pa]>ya?Na=Pa:Ja=Pa+1}var Fa=Ja-1;return{line:Fa,character:ya-pa[Fa]}},Aa.prototype.offsetAt=function(ya){var pa=this.getLineOffsets();if(ya.line>=pa.length)return this._content.length;if(ya.line<0)return 0;var Ja=pa[ya.line],Na=ya.line+1<pa.length?pa[ya.line+1]:this._content.length;return Math.max(Math.min(Ja+ya.character,Na),Ja)},Object.defineProperty(Aa.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),Aa.isIncremental=function(ya){var pa=ya;return null!=pa&&"string"==typeof pa.text&&void 0!==pa.range&&(void 0===pa.rangeLength||"number"==typeof pa.rangeLength)},Aa.isFull=function(ya){var pa=ya;return null!=pa&&"string"==typeof pa.text&&void 0===pa.range&&void 0===pa.rangeLength},Aa}();function Yc(Aa,ya,pa){void 0===pa&&(pa=0);for(var Ja=ya?[pa]:[],Na=0;Na<Aa.length;Na++){var Pa=Aa.charCodeAt(Na);13!==Pa&&10!==Pa||(13===Pa&&Na+1<Aa.length&&10===Aa.charCodeAt(Na+1)&&Na++,Ja.push(pa+Na+1))}return Ja}function sc(Aa){var ya=Aa.start,pa=Aa.end;return ya.line>pa.line||ya.line===pa.line&&ya.character>pa.character?{start:pa,end:ya}:Aa}function Nb(Aa){var ya=sc(Aa.range);return ya!==Aa.range?{newText:Aa.newText,range:ya}:Aa}!function(Aa){Aa.create=function(ya,pa,Ja,Na){return new Kc(ya,pa,Ja,Na)},Aa.update=function(ya,pa,Ja){if(ya instanceof Kc)return ya.update(pa,Ja),ya;throw new Error("TextDocument.update: document must be created by TextDocument.create")},Aa.applyEdits=function(ya,pa){for(var Ja=ya.getText(),Na=0,Pa=[],Fa=0,Xa=function vb(Vb,hc){if(Vb.length<=1)return Vb;var Tb=Vb.length/2|0,cc=Vb.slice(0,Tb),Rc=Vb.slice(Tb);vb(cc,hc),vb(Rc,hc);for(var gd=0,od=0,Wb=0;gd<cc.length&&od<Rc.length;){var Zb=hc(cc[gd],Rc[od]);Vb[Wb++]=Zb<=0?cc[gd++]:Rc[od++]}for(;gd<cc.length;)Vb[Wb++]=cc[gd++];for(;od<Rc.length;)Vb[Wb++]=Rc[od++];return Vb}(pa.map(Nb),function(vb,Vb){var hc=vb.range.start.line-Vb.range.start.line;return 0===hc?vb.range.start.character-Vb.range.start.character:hc});Fa<Xa.length;Fa++){var lb=Xa[Fa],sb=ya.offsetAt(lb.range.start);if(sb<Na)throw new Error("Overlapping edit");sb>Na&&Pa.push(Ja.substring(Na,sb)),lb.newText.length&&Pa.push(lb.newText),Na=ya.offsetAt(lb.range.end)}return Pa.push(Ja.substr(Na)),Pa.join("")}}(vc||(vc={})),function(Aa){Aa[Aa.StartCommentTag=0]="StartCommentTag",Aa[Aa.Comment=1]="Comment",Aa[Aa.EndCommentTag=2]="EndCommentTag",Aa[Aa.StartTagOpen=3]="StartTagOpen",Aa[Aa.StartTagClose=4]="StartTagClose",Aa[Aa.StartTagSelfClose=5]="StartTagSelfClose",Aa[Aa.StartTag=6]="StartTag",Aa[Aa.EndTagOpen=7]="EndTagOpen",Aa[Aa.EndTagClose=8]="EndTagClose",Aa[Aa.EndTag=9]="EndTag",Aa[Aa.DelimiterAssign=10]="DelimiterAssign",Aa[Aa.AttributeName=11]="AttributeName",Aa[Aa.AttributeValue=12]="AttributeValue",Aa[Aa.StartDoctypeTag=13]="StartDoctypeTag",Aa[Aa.Doctype=14]="Doctype",Aa[Aa.EndDoctypeTag=15]="EndDoctypeTag",Aa[Aa.Content=16]="Content",Aa[Aa.Whitespace=17]="Whitespace",Aa[Aa.Unknown=18]="Unknown",Aa[Aa.Script=19]="Script",Aa[Aa.Styles=20]="Styles",Aa[Aa.EOS=21]="EOS"}(cb||(cb={})),function(Aa){Aa[Aa.WithinContent=0]="WithinContent",Aa[Aa.AfterOpeningStartTag=1]="AfterOpeningStartTag",Aa[Aa.AfterOpeningEndTag=2]="AfterOpeningEndTag",Aa[Aa.WithinDoctype=3]="WithinDoctype",Aa[Aa.WithinTag=4]="WithinTag",Aa[Aa.WithinEndTag=5]="WithinEndTag",Aa[Aa.WithinComment=6]="WithinComment",Aa[Aa.WithinScriptContent=7]="WithinScriptContent",Aa[Aa.WithinStyleContent=8]="WithinStyleContent",Aa[Aa.AfterAttributeName=9]="AfterAttributeName",Aa[Aa.BeforeAttributeValue=10]="BeforeAttributeValue"}(Ob||(Ob={})),(uc||(uc={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[N.Markdown,N.PlainText]}},hover:{contentFormat:[N.Markdown,N.PlainText]}}},function(Aa){Aa[Aa.Unknown=0]="Unknown",Aa[Aa.File=1]="File",Aa[Aa.Directory=2]="Directory",Aa[Aa.SymbolicLink=64]="SymbolicLink"}(Cc||(Cc={}));var Fc=y(),pb=function(){function Aa(ya,pa){this.source=ya,this.len=ya.length,this.position=pa}return Aa.prototype.eos=function(){return this.len<=this.position},Aa.prototype.getSource=function(){return this.source},Aa.prototype.pos=function(){return this.position},Aa.prototype.goBackTo=function(ya){this.position=ya},Aa.prototype.goBack=function(ya){this.position-=ya},Aa.prototype.advance=function(ya){this.position+=ya},Aa.prototype.goToEnd=function(){this.position=this.source.length},Aa.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},Aa.prototype.peekChar=function(ya){return void 0===ya&&(ya=0),this.source.charCodeAt(this.position+ya)||0},Aa.prototype.advanceIfChar=function(ya){return ya===this.source.charCodeAt(this.position)&&(this.position++,!0)},Aa.prototype.advanceIfChars=function(ya){var pa;if(this.position+ya.length>this.source.length)return!1;for(pa=0;pa<ya.length;pa++)if(this.source.charCodeAt(this.position+pa)!==ya[pa])return!1;return this.advance(pa),!0},Aa.prototype.advanceIfRegExp=function(ya){var pa=this.source.substr(this.position).match(ya);return pa?(this.position=this.position+pa.index+pa[0].length,pa[0]):""},Aa.prototype.advanceUntilRegExp=function(ya){var pa=this.source.substr(this.position).match(ya);return pa?(this.position=this.position+pa.index,pa[0]):(this.goToEnd(),"")},Aa.prototype.advanceUntilChar=function(ya){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===ya)return!0;this.advance(1)}return!1},Aa.prototype.advanceUntilChars=function(ya){for(;this.position+ya.length<=this.source.length;){for(var pa=0;pa<ya.length&&this.source.charCodeAt(this.position+pa)===ya[pa];pa++);if(pa===ya.length)return!0;this.advance(1)}return this.goToEnd(),!1},Aa.prototype.skipWhitespace=function(){return this.advanceWhileChar(function(ya){return ya===Hc||ya===Bc||ya===oc||ya===$b||ya===ec})>0},Aa.prototype.advanceWhileChar=function(ya){for(var pa=this.position;this.position<this.len&&ya(this.source.charCodeAt(this.position));)this.position++;return this.position-pa},Aa}(),mc="!".charCodeAt(0),Eb="-".charCodeAt(0),qb="<".charCodeAt(0),Va=">".charCodeAt(0),Oa="/".charCodeAt(0),Qa="=".charCodeAt(0),kb='"'.charCodeAt(0),tb="'".charCodeAt(0),oc=` -`.charCodeAt(0),ec="\r".charCodeAt(0),$b="\f".charCodeAt(0),Hc=" ".charCodeAt(0),Bc=" ".charCodeAt(0),Vc={"text/x-handlebars-template":!0};function Ic(Aa,ya,pa,Ja){void 0===ya&&(ya=0),void 0===pa&&(pa=Ob.WithinContent),void 0===Ja&&(Ja=!1);var Na,Pa,Fa,Xa,lb,sb=new pb(Aa,ya),vb=pa,Vb=0,hc=cb.Unknown;function Tb(){return sb.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function cc(Rc,gd,od){return hc=gd,Vb=Rc,Na=od,gd}return{scan:function(){var Rc=sb.pos(),gd=vb,od=function Wb(){var Zb,kc=sb.pos();if(sb.eos())return cc(kc,cb.EOS);switch(vb){case Ob.WithinComment:return sb.advanceIfChars([Eb,Eb,Va])?(vb=Ob.WithinContent,cc(kc,cb.EndCommentTag)):(sb.advanceUntilChars([Eb,Eb,Va]),cc(kc,cb.Comment));case Ob.WithinDoctype:return sb.advanceIfChar(Va)?(vb=Ob.WithinContent,cc(kc,cb.EndDoctypeTag)):(sb.advanceUntilChar(Va),cc(kc,cb.Doctype));case Ob.WithinContent:if(sb.advanceIfChar(qb)){if(!sb.eos()&&sb.peekChar()===mc){if(sb.advanceIfChars([mc,Eb,Eb]))return vb=Ob.WithinComment,cc(kc,cb.StartCommentTag);if(sb.advanceIfRegExp(/^!doctype/i))return vb=Ob.WithinDoctype,cc(kc,cb.StartDoctypeTag)}return sb.advanceIfChar(Oa)?(vb=Ob.AfterOpeningEndTag,cc(kc,cb.EndTagOpen)):(vb=Ob.AfterOpeningStartTag,cc(kc,cb.StartTagOpen))}return sb.advanceUntilChar(qb),cc(kc,cb.Content);case Ob.AfterOpeningEndTag:return Tb().length>0?(vb=Ob.WithinEndTag,cc(kc,cb.EndTag)):sb.skipWhitespace()?cc(kc,cb.Whitespace,Fc("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(vb=Ob.WithinEndTag,sb.advanceUntilChar(Va),kc<sb.pos()?cc(kc,cb.Unknown,Fc("error.endTagNameExpected","End tag name expected.")):Wb());case Ob.WithinEndTag:if(sb.skipWhitespace())return cc(kc,cb.Whitespace);if(sb.advanceIfChar(Va))return vb=Ob.WithinContent,cc(kc,cb.EndTagClose);if(Ja&&sb.peekChar()===qb)return vb=Ob.WithinContent,cc(kc,cb.EndTagClose,Fc("error.closingBracketMissing","Closing bracket missing."));Zb=Fc("error.closingBracketExpected","Closing bracket expected.");break;case Ob.AfterOpeningStartTag:return Fa=Tb(),lb=void 0,Xa=void 0,Fa.length>0?(Pa=!1,vb=Ob.WithinTag,cc(kc,cb.StartTag)):sb.skipWhitespace()?cc(kc,cb.Whitespace,Fc("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(vb=Ob.WithinTag,sb.advanceUntilChar(Va),kc<sb.pos()?cc(kc,cb.Unknown,Fc("error.startTagNameExpected","Start tag name expected.")):Wb());case Ob.WithinTag:return sb.skipWhitespace()?(Pa=!0,cc(kc,cb.Whitespace)):Pa&&(Xa=sb.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(vb=Ob.AfterAttributeName,Pa=!1,cc(kc,cb.AttributeName)):sb.advanceIfChars([Oa,Va])?(vb=Ob.WithinContent,cc(kc,cb.StartTagSelfClose)):sb.advanceIfChar(Va)?(vb="script"===Fa?lb&&Vc[lb]?Ob.WithinContent:Ob.WithinScriptContent:"style"===Fa?Ob.WithinStyleContent:Ob.WithinContent,cc(kc,cb.StartTagClose)):Ja&&sb.peekChar()===qb?(vb=Ob.WithinContent,cc(kc,cb.StartTagClose,Fc("error.closingBracketMissing","Closing bracket missing."))):(sb.advance(1),cc(kc,cb.Unknown,Fc("error.unexpectedCharacterInTag","Unexpected character in tag.")));case Ob.AfterAttributeName:return sb.skipWhitespace()?(Pa=!0,cc(kc,cb.Whitespace)):sb.advanceIfChar(Qa)?(vb=Ob.BeforeAttributeValue,cc(kc,cb.DelimiterAssign)):(vb=Ob.WithinTag,Wb());case Ob.BeforeAttributeValue:if(sb.skipWhitespace())return cc(kc,cb.Whitespace);var hd=sb.advanceIfRegExp(/^[^\s"'`=<>]+/);if(hd.length>0)return sb.peekChar()===Va&&sb.peekChar(-1)===Oa&&(sb.goBack(1),hd=hd.substr(0,hd.length-1)),"type"===Xa&&(lb=hd),vb=Ob.WithinTag,Pa=!1,cc(kc,cb.AttributeValue);var ld=sb.peekChar();return ld===tb||ld===kb?(sb.advance(1),sb.advanceUntilChar(ld)&&sb.advance(1),"type"===Xa&&(lb=sb.getSource().substring(kc+1,sb.pos()-1)),vb=Ob.WithinTag,Pa=!1,cc(kc,cb.AttributeValue)):(vb=Ob.WithinTag,Pa=!1,Wb());case Ob.WithinScriptContent:for(var fd=1;!sb.eos();){var md=sb.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===md.length)return sb.goToEnd(),cc(kc,cb.Script);if("<!--"===md)1===fd&&(fd=2);else if("-->"===md)fd=1;else if("/"!==md[1])2===fd&&(fd=3);else{if(3!==fd){sb.goBack(md.length);break}fd=2}}return vb=Ob.WithinContent,kc<sb.pos()?cc(kc,cb.Script):Wb();case Ob.WithinStyleContent:return sb.advanceUntilRegExp(/<\/style/i),vb=Ob.WithinContent,kc<sb.pos()?cc(kc,cb.Styles):Wb()}return sb.advance(1),vb=Ob.WithinContent,cc(kc,cb.Unknown,Zb)}();return od===cb.EOS||Rc!==sb.pos()||Ja&&(od===cb.StartTagClose||od===cb.EndTagClose)?od:(console.log("Scanner.scan has not advanced at offset "+Rc+", state before: "+gd+" after: "+vb),sb.advance(1),cc(Rc,cb.Unknown))},getTokenType:function(){return hc},getTokenOffset:function(){return Vb},getTokenLength:function(){return sb.pos()-Vb},getTokenEnd:function(){return sb.pos()},getTokenText:function(){return sb.getSource().substring(Vb,sb.pos())},getScannerState:function(){return vb},getTokenError:function(){return Na}}}function xc(Aa,ya){var pa=0,Ja=Aa.length;if(0===Ja)return 0;for(;pa<Ja;){var Na=Math.floor((pa+Ja)/2);ya(Aa[Na])?Ja=Na:pa=Na+1}return pa}var nb=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function zb(Aa){return!!Aa&&function(ya,pa,Ja){for(var Na=0,Pa=ya.length-1;Na<=Pa;){var Fa=(Na+Pa)/2|0,Xa=Ja(ya[Fa],pa);if(Xa<0)Na=Fa+1;else{if(!(Xa>0))return Fa;Pa=Fa-1}}return-(Na+1)}(nb,Aa.toLowerCase(),function(ya,pa){return ya.localeCompare(pa)})>=0}var dc=function(){function Aa(ya,pa,Ja,Na){this.start=ya,this.end=pa,this.children=Ja,this.parent=Na,this.closed=!1}return Object.defineProperty(Aa.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),Aa.prototype.isSameTag=function(ya){return void 0===this.tag?void 0===ya:void 0!==ya&&this.tag.length===ya.length&&this.tag.toLowerCase()===ya},Object.defineProperty(Aa.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(Aa.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),Aa.prototype.findNodeBefore=function(ya){var pa=xc(this.children,function(Pa){return ya<=Pa.start})-1;if(pa>=0){var Ja=this.children[pa];if(ya>Ja.start){if(ya<Ja.end)return Ja.findNodeBefore(ya);var Na=Ja.lastChild;return Na&&Na.end===Ja.end?Ja.findNodeBefore(ya):Ja}}return this},Aa.prototype.findNodeAt=function(ya){var pa=xc(this.children,function(Na){return ya<=Na.start})-1;if(pa>=0){var Ja=this.children[pa];if(ya>Ja.start&&ya<=Ja.end)return Ja.findNodeAt(ya)}return this},Aa}();function Dc(Aa){for(var ya=Ic(Aa,void 0,void 0,!0),pa=new dc(0,Aa.length,[],void 0),Ja=pa,Na=-1,Pa=void 0,Fa=null,Xa=ya.scan();Xa!==cb.EOS;){switch(Xa){case cb.StartTagOpen:var lb=new dc(ya.getTokenOffset(),Aa.length,[],Ja);Ja.children.push(lb),Ja=lb;break;case cb.StartTag:Ja.tag=ya.getTokenText();break;case cb.StartTagClose:Ja.parent&&(Ja.end=ya.getTokenEnd(),ya.getTokenLength()?(Ja.startTagEnd=ya.getTokenEnd(),Ja.tag&&zb(Ja.tag)&&(Ja.closed=!0,Ja=Ja.parent)):Ja=Ja.parent);break;case cb.StartTagSelfClose:Ja.parent&&(Ja.closed=!0,Ja.end=ya.getTokenEnd(),Ja.startTagEnd=ya.getTokenEnd(),Ja=Ja.parent);break;case cb.EndTagOpen:Na=ya.getTokenOffset(),Pa=void 0;break;case cb.EndTag:Pa=ya.getTokenText().toLowerCase();break;case cb.EndTagClose:for(var sb=Ja;!sb.isSameTag(Pa)&&sb.parent;)sb=sb.parent;if(sb.parent){for(;Ja!==sb;)Ja.end=Na,Ja.closed=!1,Ja=Ja.parent;Ja.closed=!0,Ja.endTagStart=Na,Ja.end=ya.getTokenEnd(),Ja=Ja.parent}break;case cb.AttributeName:Fa=ya.getTokenText(),(vb=Ja.attributes)||(Ja.attributes=vb={}),vb[Fa]=null;break;case cb.AttributeValue:var vb,Vb=ya.getTokenText();(vb=Ja.attributes)&&Fa&&(vb[Fa]=Vb,Fa=null)}Xa=ya.scan()}for(;Ja.parent;)Ja.end=Aa.length,Ja.closed=!1,Ja=Ja.parent;return{roots:pa.children,findNodeBefore:pa.findNodeBefore.bind(pa),findNodeAt:pa.findNodeAt.bind(pa)}}var Pc={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":` -`,"nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":" ","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function Nc(Aa,ya){if(Aa.length<ya.length)return!1;for(var pa=0;pa<ya.length;pa++)if(Aa[pa]!==ya[pa])return!1;return!0}function Ed(Aa,ya){for(var pa="";ya>0;)1==(1&ya)&&(pa+=Aa),Aa+=Aa,ya>>>=1;return pa}var ad="a".charCodeAt(0),ud="z".charCodeAt(0),Od="A".charCodeAt(0),wd="Z".charCodeAt(0),Dd="0".charCodeAt(0),ce="9".charCodeAt(0);function _d(Aa,ya){var pa=Aa.charCodeAt(ya);return ad<=pa&&pa<=ud||Od<=pa&&pa<=wd||Dd<=pa&&pa<=ce}function oe(Aa){return void 0!==Aa}var nd=function(){function Aa(ya,pa){var Ja=this;this.id=ya,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=pa.tags||[],this._globalAttributes=pa.globalAttributes||[],this._tags.forEach(function(Na){Ja._tagMap[Na.name.toLowerCase()]=Na}),pa.valueSets&&pa.valueSets.forEach(function(Na){Ja._valueSetMap[Na.name]=Na.values})}return Aa.prototype.isApplicable=function(){return!0},Aa.prototype.getId=function(){return this.id},Aa.prototype.provideTags=function(){return this._tags},Aa.prototype.provideAttributes=function(ya){var pa=[],Ja=function(Pa){pa.push(Pa)},Na=this._tagMap[ya.toLowerCase()];return Na&&Na.attributes.forEach(Ja),this._globalAttributes.forEach(Ja),pa},Aa.prototype.provideValues=function(ya,pa){var Ja=this,Na=[];pa=pa.toLowerCase();var Pa=function(Xa){Xa.forEach(function(lb){lb.name.toLowerCase()===pa&&(lb.values&&lb.values.forEach(function(sb){Na.push(sb)}),lb.valueSet&&Ja._valueSetMap[lb.valueSet]&&Ja._valueSetMap[lb.valueSet].forEach(function(sb){Na.push(sb)}))})},Fa=this._tagMap[ya.toLowerCase()];return Fa?(Pa(Fa.attributes),Pa(this._globalAttributes),Na):[]},Aa}();function Qd(Aa,ya){var pa={kind:ya?"markdown":"plaintext",value:""};if(Aa.description){var Ja=function(Na){if(Na)return"string"==typeof Na?{kind:"markdown",value:Na}:{kind:"markdown",value:Na.value}}(Aa.description);Ja&&(pa.value+=Ja.value)}if(Aa.references&&Aa.references.length>0&&(pa.value+=` - -`,pa.value+=ya?Aa.references.map(function(Na){return"["+Na.name+"]("+Na.url+")"}).join(" | "):Aa.references.map(function(Na){return Na.name+": "+Na.url}).join(` -`)),""!==pa.value)return pa}var jd=function(Aa,ya,pa,Ja){return new(pa||(pa=Promise))(function(Na,Pa){function Fa(sb){try{lb(Ja.next(sb))}catch(vb){Pa(vb)}}function Xa(sb){try{lb(Ja.throw(sb))}catch(vb){Pa(vb)}}function lb(sb){var vb;sb.done?Na(sb.value):(vb=sb.value,vb instanceof pa?vb:new pa(function(Vb){Vb(vb)})).then(Fa,Xa)}lb((Ja=Ja.apply(Aa,ya||[])).next())})},de=function(Aa,ya){var pa,Ja,Na,Pa,Fa={label:0,sent:function(){if(1&Na[0])throw Na[1];return Na[1]},trys:[],ops:[]};return Pa={next:Xa(0),throw:Xa(1),return:Xa(2)},"function"==typeof Symbol&&(Pa[Symbol.iterator]=function(){return this}),Pa;function Xa(lb){return function(sb){return function(vb){if(pa)throw new TypeError("Generator is already executing.");for(;Fa;)try{if(pa=1,Ja&&(Na=2&vb[0]?Ja.return:vb[0]?Ja.throw||((Na=Ja.return)&&Na.call(Ja),0):Ja.next)&&!(Na=Na.call(Ja,vb[1])).done)return Na;switch(Ja=0,Na&&(vb=[2&vb[0],Na.value]),vb[0]){case 0:case 1:Na=vb;break;case 4:return Fa.label++,{value:vb[1],done:!1};case 5:Fa.label++,Ja=vb[1],vb=[0];continue;case 7:vb=Fa.ops.pop(),Fa.trys.pop();continue;default:if(!(Na=Fa.trys,(Na=Na.length>0&&Na[Na.length-1])||6!==vb[0]&&2!==vb[0])){Fa=0;continue}if(3===vb[0]&&(!Na||vb[1]>Na[0]&&vb[1]<Na[3])){Fa.label=vb[1];break}if(6===vb[0]&&Fa.label<Na[1]){Fa.label=Na[1],Na=vb;break}if(Na&&Fa.label<Na[2]){Fa.label=Na[2],Fa.ops.push(vb);break}Na[2]&&Fa.ops.pop(),Fa.trys.pop();continue}vb=ya.call(Aa,Fa)}catch(Vb){vb=[6,Vb],Ja=0}finally{pa=Na=0}if(5&vb[0])throw vb[1];return{value:vb[0]?vb[1]:void 0,done:!0}}([lb,sb])}}},Gd=function(){function Aa(ya){this.readDirectory=ya,this.atributeCompletions=[]}return Aa.prototype.onHtmlAttributeValue=function(ya){(function(pa,Ja){var Na=ia[pa];return Na?"string"==typeof Na?Na===Ja:-1!==Na.indexOf(Ja):!1})(ya.tag,ya.attribute)&&this.atributeCompletions.push(ya)},Aa.prototype.computeCompletions=function(ya,pa){return jd(this,void 0,void 0,function(){var Ja,Na,Pa,Fa,Xa,lb,sb,vb,Vb,hc;return de(this,function(Tb){switch(Tb.label){case 0:Ja={items:[],isIncomplete:!1},Na=0,Pa=this.atributeCompletions,Tb.label=1;case 1:return Na<Pa.length?(Fa=Pa[Na],function(cc){return Nc(cc,"http")||Nc(cc,"https")||Nc(cc,"//")?!1:!0}(Xa=function(cc){return Nc(cc,"'")||Nc(cc,'"')?cc.slice(1,-1):cc}(ya.getText(Fa.range)))?"."!==Xa&&".."!==Xa?[3,2]:(Ja.isIncomplete=!0,[3,4]):[3,4]):[3,5];case 2:return lb=function(cc,Rc,gd){var od,Wb=cc.lastIndexOf("/");if(-1===Wb)od=function(fd,md,rd){var yd=W(fd.start,md),Vd=W(fd.end,rd);return P.create(yd,Vd)}(gd,1,-1);else{var Zb=Rc.slice(Wb+1),kc=W(gd.end,-1-Zb.length),hd=Zb.indexOf(" "),ld=void 0;ld=-1!==hd?W(kc,hd):W(gd.end,-1),od=P.create(kc,ld)}return od}(Fa.value,Xa,Fa.range),[4,this.providePathSuggestions(Fa.value,lb,ya,pa)];case 3:for(sb=Tb.sent(),vb=0,Vb=sb;vb<Vb.length;vb++)hc=Vb[vb],Ja.items.push(hc);Tb.label=4;case 4:return Na++,[3,1];case 5:return[2,Ja]}})})},Aa.prototype.providePathSuggestions=function(ya,pa,Ja,Na){return jd(this,void 0,void 0,function(){var Pa,Fa,Xa,lb,sb,vb,Vb,hc,Tb;return de(this,function(cc){switch(cc.label){case 0:if(Pa=ya.substring(0,ya.lastIndexOf("/")+1),!(Fa=Na.resolveReference(Pa||".",Ja.uri)))return[3,4];cc.label=1;case 1:return cc.trys.push([1,3,,4]),Xa=[],[4,this.readDirectory(Fa)];case 2:for(lb=cc.sent(),sb=0,vb=lb;sb<vb.length;sb++)Vb=vb[sb],hc=Vb[0],Tb=Vb[1],hc.charCodeAt(0)!==xd&&Xa.push(K(hc,Tb===Cc.Directory,pa));return[2,Xa];case 3:return cc.sent(),[3,4];case 4:return[2,[]]}})})},Aa}(),xd=".".charCodeAt(0);function K(Aa,ya,pa){return ya?{label:Aa+="/",kind:ma.Folder,textEdit:A.replace(pa,Aa),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:Aa,kind:ma.File,textEdit:A.replace(pa,Aa)}}function W(Aa,ya){return F.create(Aa.line,Aa.character+ya)}var ia={a:"href",area:"href",body:"background",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},Ha=function(Aa,ya,pa,Ja){return new(pa||(pa=Promise))(function(Na,Pa){function Fa(sb){try{lb(Ja.next(sb))}catch(vb){Pa(vb)}}function Xa(sb){try{lb(Ja.throw(sb))}catch(vb){Pa(vb)}}function lb(sb){var vb;sb.done?Na(sb.value):(vb=sb.value,vb instanceof pa?vb:new pa(function(Vb){Vb(vb)})).then(Fa,Xa)}lb((Ja=Ja.apply(Aa,ya||[])).next())})},Ta=function(Aa,ya){var pa,Ja,Na,Pa,Fa={label:0,sent:function(){if(1&Na[0])throw Na[1];return Na[1]},trys:[],ops:[]};return Pa={next:Xa(0),throw:Xa(1),return:Xa(2)},"function"==typeof Symbol&&(Pa[Symbol.iterator]=function(){return this}),Pa;function Xa(lb){return function(sb){return function(vb){if(pa)throw new TypeError("Generator is already executing.");for(;Fa;)try{if(pa=1,Ja&&(Na=2&vb[0]?Ja.return:vb[0]?Ja.throw||((Na=Ja.return)&&Na.call(Ja),0):Ja.next)&&!(Na=Na.call(Ja,vb[1])).done)return Na;switch(Ja=0,Na&&(vb=[2&vb[0],Na.value]),vb[0]){case 0:case 1:Na=vb;break;case 4:return Fa.label++,{value:vb[1],done:!1};case 5:Fa.label++,Ja=vb[1],vb=[0];continue;case 7:vb=Fa.ops.pop(),Fa.trys.pop();continue;default:if(!(Na=Fa.trys,(Na=Na.length>0&&Na[Na.length-1])||6!==vb[0]&&2!==vb[0])){Fa=0;continue}if(3===vb[0]&&(!Na||vb[1]>Na[0]&&vb[1]<Na[3])){Fa.label=vb[1];break}if(6===vb[0]&&Fa.label<Na[1]){Fa.label=Na[1],Na=vb;break}if(Na&&Fa.label<Na[2]){Fa.label=Na[2],Fa.ops.push(vb);break}Na[2]&&Fa.ops.pop(),Fa.trys.pop();continue}vb=ya.call(Aa,Fa)}catch(Vb){vb=[6,Vb],Ja=0}finally{pa=Na=0}if(5&vb[0])throw vb[1];return{value:vb[0]?vb[1]:void 0,done:!0}}([lb,sb])}}},db=y(),yb=function(){function Aa(ya,pa){this.lsOptions=ya,this.dataManager=pa,this.completionParticipants=[]}return Aa.prototype.setCompletionParticipants=function(ya){this.completionParticipants=ya||[]},Aa.prototype.doComplete2=function(ya,pa,Ja,Na,Pa){return Ha(this,void 0,void 0,function(){var Fa,Xa,lb,sb;return Ta(this,function(vb){switch(vb.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(ya,pa,Ja,Pa)];Fa=new Gd(this.lsOptions.fileSystemProvider.readDirectory),Xa=this.completionParticipants,this.completionParticipants=[Fa].concat(Xa),lb=this.doComplete(ya,pa,Ja,Pa),vb.label=1;case 1:return vb.trys.push([1,,3,4]),[4,Fa.computeCompletions(ya,Na)];case 2:return sb=vb.sent(),[2,{isIncomplete:lb.isIncomplete||sb.isIncomplete,items:sb.items.concat(lb.items)}];case 3:return this.completionParticipants=Xa,[7];case 4:return[2]}})})},Aa.prototype.doComplete=function(ya,pa,Ja,Na){var Pa=this._doComplete(ya,pa,Ja,Na);return this.convertCompletionList(Pa)},Aa.prototype._doComplete=function(ya,pa,Ja,Na){var Pa={isIncomplete:!1,items:[]},Fa=this.completionParticipants,Xa=this.dataManager.getDataProviders().filter(function(Cd){return Cd.isApplicable(ya.languageId)&&(!Na||!1!==Na[Cd.getId()])}),lb=this.doesSupportMarkdown(),sb=ya.getText(),vb=ya.offsetAt(pa),Vb=Ja.findNodeBefore(vb);if(!Vb)return Pa;var hc,Tb=Ic(sb,Vb.start),cc="";function Rc(Cd,Fd){return void 0===Fd&&(Fd=vb),Cd>vb&&(Cd=vb),{start:ya.positionAt(Cd),end:ya.positionAt(Fd)}}function gd(Cd,Fd){var Wd=Rc(Cd,Fd);return Xa.forEach(function(pe){pe.provideTags().forEach(function(De){Pa.items.push({label:De.name,kind:ma.Property,documentation:Qd(De,lb),textEdit:A.replace(Wd,De.name),insertTextFormat:ta.PlainText})})}),Pa}function od(Cd){for(var Fd=Cd;Fd>0;){var Wd=sb.charAt(Fd-1);if(` -\r`.indexOf(Wd)>=0)return sb.substring(Fd,Cd);if(!Bb(Wd))return null;Fd--}return sb.substring(0,Cd)}function Wb(Cd,Fd,Wd){void 0===Wd&&(Wd=vb);var pe=Rc(Cd,Wd),De=Jb(sb,Wd,Ob.WithinEndTag,cb.EndTagClose)?"":">",ue=Vb;for(Fd&&(ue=ue.parent);ue;){var ve=ue.tag;if(ve&&(!ue.closed||ue.endTagStart&&ue.endTagStart>vb)){var je={label:"/"+ve,kind:ma.Property,filterText:"/"+ve,textEdit:A.replace(pe,"/"+ve+De),insertTextFormat:ta.PlainText},zd=od(ue.start),ye=od(Cd-1);if(null!==zd&&null!==ye&&zd!==ye){var Pe=zd+"</"+ve+De;je.textEdit=A.replace(Rc(Cd-1-ye.length),Pe),je.filterText=ye+"</"+ve}return Pa.items.push(je),Pa}ue=ue.parent}return Fd||Xa.forEach(function(kf){kf.provideTags().forEach(function(qe){Pa.items.push({label:"/"+qe.name,kind:ma.Property,documentation:Qd(qe,lb),filterText:"/"+qe+De,textEdit:A.replace(pe,"/"+qe+De),insertTextFormat:ta.PlainText})})}),Pa}function Zb(Cd,Fd){if(Na&&Na.hideAutoCompleteProposals)return Pa;if(!zb(Fd)){var Wd=ya.positionAt(Cd);Pa.items.push({label:"</"+Fd+">",kind:ma.Property,filterText:"</"+Fd+">",textEdit:A.insert(Wd,"$0</"+Fd+">"),insertTextFormat:ta.Snippet})}return Pa}function kc(Cd,Fd){return gd(Cd,Fd),Wb(Cd,!0,Fd),Pa}function hd(Cd,Fd){void 0===Fd&&(Fd=vb);for(var Wd=vb;Wd<Fd&&"<"!==sb[Wd];)Wd++;var pe=Rc(Cd,Wd),De=Jb(sb,Fd,Ob.AfterAttributeName,cb.DelimiterAssign)?"":'="$1"',ue=Object.create(null);return Xa.forEach(function(ve){ve.provideAttributes(cc).forEach(function(je){if(!ue[je.name]){ue[je.name]=!0;var zd,ye=je.name;"v"!==je.valueSet&&De.length&&(ye+=De,(je.valueSet||"style"===je.name)&&(zd={title:"Suggest",command:"editor.action.triggerSuggest"})),Pa.items.push({label:je.name,kind:"handler"===je.valueSet?ma.Function:ma.Value,documentation:Qd(je,lb),textEdit:A.replace(pe,ye),insertTextFormat:ta.Snippet,command:zd})}})}),function(ve,je){var zd={};zd["data-"]='data-$1="$2"',Ja&&Ja.roots.forEach(function(ye){return function Pe(kf){kf.attributeNames.forEach(function(qe){!Nc(qe,"data-")||zd[qe]||je[qe]||(zd[qe]=qe+'="$1"')}),kf.children.forEach(function(qe){return Pe(qe)})}(ye)}),Object.keys(zd).forEach(function(ye){return Pa.items.push({label:ye,kind:ma.Value,textEdit:A.replace(ve,zd[ye]),insertTextFormat:ta.Snippet})})}(pe,ue),Pa}function ld(Cd,Fd){var Wd,pe,De,ue;if(void 0===Fd&&(Fd=vb),vb>Cd&&vb<=Fd&&(ue=sb[Cd],/^["']*$/.test(ue))){var ve=Cd+1,je=Fd;Fd>Cd&&sb[Fd-1]===sb[Cd]&&je--;var zd=function(rf,xe,Gf){for(;xe>Gf&&!Bb(rf[xe-1]);)xe--;return xe}(sb,vb,ve),ye=function(rf,xe,Gf){for(;xe<Gf&&!Bb(rf[xe]);)xe++;return xe}(sb,vb,je);Wd=Rc(zd,ye),De=vb>=ve&&vb<=je?sb.substring(ve,vb):"",pe=!1}else Wd=Rc(Cd,Fd),De=sb.substring(Cd,vb),pe=!0;if(Fa.length>0)for(var Pe=cc.toLowerCase(),kf=hc.toLowerCase(),qe=Rc(Cd,Fd),_f=0,Ff=Fa;_f<Ff.length;_f++){var Rd=Ff[_f];Rd.onHtmlAttributeValue&&Rd.onHtmlAttributeValue({document:ya,position:pa,tag:Pe,attribute:kf,value:De,range:qe})}return Xa.forEach(function(rf){rf.provideValues(cc,hc).forEach(function(xe){var Gf=pe?'"'+xe.name+'"':xe.name;Pa.items.push({label:xe.name,filterText:Gf,kind:ma.Unit,documentation:Qd(xe,lb),textEdit:A.replace(Wd,Gf),insertTextFormat:ta.PlainText})})}),rd(),Pa}function fd(Cd){return vb===Tb.getTokenEnd()&&(Vd=Tb.scan())===Cd&&Tb.getTokenOffset()===vb?Tb.getTokenEnd():vb}function md(){for(var Cd=0,Fd=Fa;Cd<Fd.length;Cd++){var Wd=Fd[Cd];Wd.onHtmlContent&&Wd.onHtmlContent({document:ya,position:pa})}return rd()}function rd(){for(var Cd,Fd,Wd,pe=vb-1,De=pa.character;pe>=0&&_d(sb,pe);)pe--,De--;if(pe>=0&&"&"===sb[pe]){var ue=P.create(F.create(pa.line,De-1),pa);for(var ve in Pc)if(Fd=";",Wd=void 0,(Wd=(Cd=ve).length-Fd.length)>0?Cd.lastIndexOf(Fd)===Wd:0===Wd&&Cd===Fd){var je="&"+ve;Pa.items.push({label:je,kind:ma.Keyword,documentation:db("entity.propose","Character entity representing '"+Pc[ve]+"'"),textEdit:A.replace(ue,je),insertTextFormat:ta.PlainText})}}return Pa}for(var yd,Vd=Tb.scan();Vd!==cb.EOS&&Tb.getTokenOffset()<=vb;){switch(Vd){case cb.StartTagOpen:if(Tb.getTokenEnd()===vb){var Sd=fd(cb.StartTag);return 0===pa.line&&(yd=void 0,yd=Rc(vb,Sd),Pa.items.push({label:"!DOCTYPE",kind:ma.Property,documentation:"A preamble for an HTML document.",textEdit:A.replace(yd,"!DOCTYPE html>"),insertTextFormat:ta.PlainText})),kc(vb,Sd)}break;case cb.StartTag:if(Tb.getTokenOffset()<=vb&&vb<=Tb.getTokenEnd())return gd(Tb.getTokenOffset(),Tb.getTokenEnd());cc=Tb.getTokenText();break;case cb.AttributeName:if(Tb.getTokenOffset()<=vb&&vb<=Tb.getTokenEnd())return hd(Tb.getTokenOffset(),Tb.getTokenEnd());hc=Tb.getTokenText();break;case cb.DelimiterAssign:if(Tb.getTokenEnd()===vb)return Sd=fd(cb.AttributeValue),ld(vb,Sd);break;case cb.AttributeValue:if(Tb.getTokenOffset()<=vb&&vb<=Tb.getTokenEnd())return ld(Tb.getTokenOffset(),Tb.getTokenEnd());break;case cb.Whitespace:if(vb<=Tb.getTokenEnd())switch(Tb.getScannerState()){case Ob.AfterOpeningStartTag:return kc(Tb.getTokenOffset(),fd(cb.StartTag));case Ob.WithinTag:case Ob.AfterAttributeName:return hd(Tb.getTokenEnd());case Ob.BeforeAttributeValue:return ld(Tb.getTokenEnd());case Ob.AfterOpeningEndTag:return Wb(Tb.getTokenOffset()-1,!1);case Ob.WithinContent:return md()}break;case cb.EndTagOpen:if(vb<=Tb.getTokenEnd())return Wb(Tb.getTokenOffset()+1,!1,fd(cb.EndTag));break;case cb.EndTag:if(vb<=Tb.getTokenEnd())for(var Ae=Tb.getTokenOffset()-1;Ae>=0;){var Ce=sb.charAt(Ae);if("/"===Ce)return Wb(Ae,!1,Tb.getTokenEnd());if(!Bb(Ce))break;Ae--}break;case cb.StartTagClose:if(vb<=Tb.getTokenEnd()&&cc)return Zb(Tb.getTokenEnd(),cc);break;case cb.Content:if(vb<=Tb.getTokenEnd())return md();break;default:if(vb<=Tb.getTokenEnd())return Pa}Vd=Tb.scan()}return Pa},Aa.prototype.doTagComplete=function(ya,pa,Ja){var Na=ya.offsetAt(pa);if(Na<=0)return null;var Pa=ya.getText().charAt(Na-1);if(">"===Pa){if((Xa=Ja.findNodeBefore(Na))&&Xa.tag&&!zb(Xa.tag)&&Xa.start<Na&&(!Xa.endTagStart||Xa.endTagStart>Na))for(var Fa=(lb=Ic(ya.getText(),Xa.start)).scan();Fa!==cb.EOS&&lb.getTokenEnd()<=Na;){if(Fa===cb.StartTagClose&&lb.getTokenEnd()===Na)return"$0</"+Xa.tag+">";Fa=lb.scan()}}else if("/"===Pa){for(var Xa=Ja.findNodeBefore(Na);Xa&&Xa.closed;)Xa=Xa.parent;if(Xa&&Xa.tag){var lb;for(Fa=(lb=Ic(ya.getText(),Xa.start)).scan();Fa!==cb.EOS&&lb.getTokenEnd()<=Na;){if(Fa===cb.EndTagOpen&&lb.getTokenEnd()===Na)return Xa.tag+">";Fa=lb.scan()}}}return null},Aa.prototype.convertCompletionList=function(ya){return this.doesSupportMarkdown()||ya.items.forEach(function(pa){pa.documentation&&"string"!=typeof pa.documentation&&(pa.documentation={kind:"plaintext",value:pa.documentation.value})}),ya},Aa.prototype.doesSupportMarkdown=function(){var ya,pa,Ja;if(!oe(this.supportsMarkdown)){if(!oe(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var Na=null===(Ja=null===(pa=null===(ya=this.lsOptions.clientCapabilities.textDocument)||void 0===ya?void 0:ya.completion)||void 0===pa?void 0:pa.completionItem)||void 0===Ja?void 0:Ja.documentationFormat;this.supportsMarkdown=Array.isArray(Na)&&-1!==Na.indexOf(N.Markdown)}return this.supportsMarkdown},Aa}();function Bb(Aa){return/^\s*$/.test(Aa)}function Jb(Aa,ya,pa,Ja){for(var Na=Ic(Aa,ya,pa),Pa=Na.scan();Pa===cb.Whitespace;)Pa=Na.scan();return Pa===Ja}var xb=function(){function Aa(ya,pa){this.lsOptions=ya,this.dataManager=pa}return Aa.prototype.doHover=function(ya,pa,Ja){var Na=this.convertContents.bind(this),Pa=this.doesSupportMarkdown(),Fa=ya.offsetAt(pa),Xa=Ja.findNodeAt(Fa);if(!Xa||!Xa.tag)return null;var lb=this.dataManager.getDataProviders().filter(function(Wb){return Wb.isApplicable(ya.languageId)});function sb(Wb,Zb,kc){for(var hd=function(rd){var yd=null;if(rd.provideTags().forEach(function(Vd){if(Vd.name.toLowerCase()===Wb.toLowerCase()){var Sd=Qd(Vd,Pa);Sd||(Sd={kind:Pa?"markdown":"plaintext",value:""}),yd={contents:Sd,range:Zb}}}),yd)return yd.contents=Na(yd.contents),{value:yd}},ld=0,fd=lb;ld<fd.length;ld++){var md=hd(fd[ld]);if("object"==typeof md)return md.value}return null}function vb(Wb,Zb){for(var kc=Ic(ya.getText(),Zb),hd=kc.scan();hd!==cb.EOS&&(kc.getTokenEnd()<Fa||kc.getTokenEnd()===Fa&&hd!==Wb);)hd=kc.scan();return hd===Wb&&Fa<=kc.getTokenEnd()?{start:ya.positionAt(kc.getTokenOffset()),end:ya.positionAt(kc.getTokenEnd())}:null}if(Xa.endTagStart&&Fa>=Xa.endTagStart){var Vb=vb(cb.EndTag,Xa.endTagStart);return Vb?sb(Xa.tag,Vb):null}var hc=vb(cb.StartTag,Xa.start);if(hc)return sb(Xa.tag,hc);var Tb=vb(cb.AttributeName,Xa.start);if(Tb)return function(Wb,Zb,kc){for(var hd=function(rd){var yd=null;if(rd.provideAttributes(Wb).forEach(function(Vd){if(Zb===Vd.name&&Vd.description){var Sd=Qd(Vd,Pa);yd=Sd?{contents:Sd,range:kc}:null}}),yd)return yd.contents=Na(yd.contents),{value:yd}},ld=0,fd=lb;ld<fd.length;ld++){var md=hd(fd[ld]);if("object"==typeof md)return md.value}return null}(Rc=Xa.tag,ya.getText(Tb),Tb);var cc=vb(cb.AttributeValue,Xa.start);if(cc){var Rc=Xa.tag,gd=function(Wb){return Wb.length<=1?Wb.replace(/['"]/,""):("'"!==Wb[0]&&'"'!==Wb[0]||(Wb=Wb.slice(1)),"'"!==Wb[Wb.length-1]&&'"'!==Wb[Wb.length-1]||(Wb=Wb.slice(0,-1)),Wb)}(ya.getText(cc)),od=function(Wb,Zb){for(var kc=Ic(ya.getText(),Wb),hd=kc.scan(),ld=void 0;hd!==cb.EOS&&kc.getTokenEnd()<=Zb;)(hd=kc.scan())===cb.AttributeName&&(ld=kc.getTokenText());return ld}(Xa.start,ya.offsetAt(cc.start));if(od)return function(Wb,Zb,kc,hd){for(var ld=function(yd){var Vd=null;if(yd.provideValues(Wb,Zb).forEach(function(Sd){if(kc===Sd.name&&Sd.description){var Ae=Qd(Sd,Pa);Vd=Ae?{contents:Ae,range:hd}:null}}),Vd)return Vd.contents=Na(Vd.contents),{value:Vd}},fd=0,md=lb;fd<md.length;fd++){var rd=ld(md[fd]);if("object"==typeof rd)return rd.value}return null}(Rc,od,gd,cc)}return null},Aa.prototype.convertContents=function(ya){if(!this.doesSupportMarkdown()){if("string"==typeof ya)return ya;if("kind"in ya)return{kind:"plaintext",value:ya.value};if(!Array.isArray(ya))return ya.value;ya.map(function(pa){return"string"==typeof pa?pa:pa.value})}return ya},Aa.prototype.doesSupportMarkdown=function(){var ya,pa,Ja;if(!oe(this.supportsMarkdown)){if(!oe(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var Na=null===(Ja=null===(pa=null===(ya=this.lsOptions.clientCapabilities)||void 0===ya?void 0:ya.textDocument)||void 0===pa?void 0:pa.hover)||void 0===Ja?void 0:Ja.contentFormat;this.supportsMarkdown=Array.isArray(Na)&&-1!==Na.indexOf(N.Markdown)}return this.supportsMarkdown},Aa}();function Lb(Aa,ya){return Aa}var Ub=function(Aa){var ya={};function pa(Ja){if(ya[Ja])return ya[Ja].exports;var Na=ya[Ja]={i:Ja,l:!1,exports:{}};return Aa[Ja].call(Na.exports,Na,Na.exports,pa),Na.l=!0,Na.exports}return pa.m=Aa,pa.c=ya,pa.d=function(Ja,Na,Pa){pa.o(Ja,Na)||Object.defineProperty(Ja,Na,{enumerable:!0,get:Pa})},pa.r=function(Ja){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(Ja,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Ja,"__esModule",{value:!0})},pa.t=function(Ja,Na){if(1&Na&&(Ja=pa(Ja)),8&Na)return Ja;if(4&Na&&"object"==typeof Ja&&Ja&&Ja.__esModule)return Ja;var Pa=Object.create(null);if(pa.r(Pa),Object.defineProperty(Pa,"default",{enumerable:!0,value:Ja}),2&Na&&"string"!=typeof Ja)for(var Fa in Ja)pa.d(Pa,Fa,function(Xa){return Ja[Xa]}.bind(null,Fa));return Pa},pa.n=function(Ja){var Na=Ja&&Ja.__esModule?function(){return Ja.default}:function(){return Ja};return pa.d(Na,"a",Na),Na},pa.o=function(Ja,Na){return Object.prototype.hasOwnProperty.call(Ja,Na)},pa.p="",pa(pa.s=15)}([,,function(Aa,ya,pa){function Ja(Fa){this.__parent=Fa,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function Na(Fa,Xa){this.__cache=[""],this.__indent_size=Fa.indent_size,this.__indent_string=Fa.indent_char,Fa.indent_with_tabs||(this.__indent_string=new Array(Fa.indent_size+1).join(Fa.indent_char)),Xa=Xa||"",Fa.indent_level>0&&(Xa=new Array(Fa.indent_level+1).join(this.__indent_string)),this.__base_string=Xa,this.__base_string_length=Xa.length}function Pa(Fa,Xa){this.__indent_cache=new Na(Fa,Xa),this.raw=!1,this._end_with_newline=Fa.end_with_newline,this.indent_size=Fa.indent_size,this.wrap_line_length=Fa.wrap_line_length,this.indent_empty_lines=Fa.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new Ja(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}Ja.prototype.clone_empty=function(){var Fa=new Ja(this.__parent);return Fa.set_indent(this.__indent_count,this.__alignment_count),Fa},Ja.prototype.item=function(Fa){return Fa<0?this.__items[this.__items.length+Fa]:this.__items[Fa]},Ja.prototype.has_match=function(Fa){for(var Xa=this.__items.length-1;Xa>=0;Xa--)if(this.__items[Xa].match(Fa))return!0;return!1},Ja.prototype.set_indent=function(Fa,Xa){this.is_empty()&&(this.__indent_count=Fa||0,this.__alignment_count=Xa||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},Ja.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},Ja.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},Ja.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var Fa=this.__parent.current_line;return Fa.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),Fa.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),Fa.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===Fa.__items[0]&&(Fa.__items.splice(0,1),Fa.__character_count-=1),!0}return!1},Ja.prototype.is_empty=function(){return 0===this.__items.length},Ja.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},Ja.prototype.push=function(Fa){this.__items.push(Fa);var Xa=Fa.lastIndexOf(` -`);-1!==Xa?this.__character_count=Fa.length-Xa:this.__character_count+=Fa.length},Ja.prototype.pop=function(){var Fa=null;return this.is_empty()||(Fa=this.__items.pop(),this.__character_count-=Fa.length),Fa},Ja.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},Ja.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},Ja.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},Ja.prototype.toString=function(){var Fa="";return this.is_empty()?this.__parent.indent_empty_lines&&(Fa=this.__parent.get_indent_string(this.__indent_count)):(Fa=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),Fa+=this.__items.join("")),Fa},Na.prototype.get_indent_size=function(Fa,Xa){var lb=this.__base_string_length;return Xa=Xa||0,Fa<0&&(lb=0),lb+=Fa*this.__indent_size,lb+=Xa},Na.prototype.get_indent_string=function(Fa,Xa){var lb=this.__base_string;return Xa=Xa||0,Fa<0&&(Fa=0,lb=""),Xa+=Fa*this.__indent_size,this.__ensure_cache(Xa),lb+=this.__cache[Xa]},Na.prototype.__ensure_cache=function(Fa){for(;Fa>=this.__cache.length;)this.__add_column()},Na.prototype.__add_column=function(){var Fa=this.__cache.length,Xa=0,lb="";this.__indent_size&&Fa>=this.__indent_size&&(Fa-=(Xa=Math.floor(Fa/this.__indent_size))*this.__indent_size,lb=new Array(Xa+1).join(this.__indent_string)),Fa&&(lb+=new Array(Fa+1).join(" ")),this.__cache.push(lb)},Pa.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},Pa.prototype.get_line_number=function(){return this.__lines.length},Pa.prototype.get_indent_string=function(Fa,Xa){return this.__indent_cache.get_indent_string(Fa,Xa)},Pa.prototype.get_indent_size=function(Fa,Xa){return this.__indent_cache.get_indent_size(Fa,Xa)},Pa.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},Pa.prototype.add_new_line=function(Fa){return!(this.is_empty()||!Fa&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},Pa.prototype.get_code=function(Fa){this.trim(!0);var Xa=this.current_line.pop();Xa&&(` -`===Xa[Xa.length-1]&&(Xa=Xa.replace(/\n+$/g,"")),this.current_line.push(Xa)),this._end_with_newline&&this.__add_outputline();var lb=this.__lines.join(` -`);return` -`!==Fa&&(lb=lb.replace(/[\n]/g,Fa)),lb},Pa.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},Pa.prototype.set_indent=function(Fa,Xa){return Fa=Fa||0,Xa=Xa||0,this.next_line.set_indent(Fa,Xa),this.__lines.length>1?(this.current_line.set_indent(Fa,Xa),!0):(this.current_line.set_indent(),!1)},Pa.prototype.add_raw_token=function(Fa){for(var Xa=0;Xa<Fa.newlines;Xa++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(Fa.whitespace_before),this.current_line.push(Fa.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},Pa.prototype.add_token=function(Fa){this.__add_space_before_token(),this.current_line.push(Fa),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},Pa.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},Pa.prototype.remove_indent=function(Fa){for(var Xa=this.__lines.length;Fa<Xa;)this.__lines[Fa]._remove_indent(),Fa++;this.current_line._remove_wrap_indent()},Pa.prototype.trim=function(Fa){for(Fa=void 0!==Fa&&Fa,this.current_line.trim();Fa&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},Pa.prototype.just_added_newline=function(){return this.current_line.is_empty()},Pa.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},Pa.prototype.ensure_empty_line_above=function(Fa,Xa){for(var lb=this.__lines.length-2;lb>=0;){var sb=this.__lines[lb];if(sb.is_empty())break;if(0!==sb.item(0).indexOf(Fa)&&sb.item(-1)!==Xa){this.__lines.splice(lb+1,0,new Ja(this)),this.previous_line=this.__lines[this.__lines.length-2];break}lb--}},Aa.exports.Output=Pa},,,,function(Aa,ya,pa){function Ja(Fa,Xa){this.raw_options=Na(Fa,Xa),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs"," "===this.indent_char),this.indent_with_tabs&&(this.indent_char=" ",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function Na(Fa,Xa){var lb,sb={};for(lb in Fa=Pa(Fa))lb!==Xa&&(sb[lb]=Fa[lb]);if(Xa&&Fa[Xa])for(lb in Fa[Xa])sb[lb]=Fa[Xa][lb];return sb}function Pa(Fa){var Xa,lb={};for(Xa in Fa)lb[Xa.replace(/-/g,"_")]=Fa[Xa];return lb}Ja.prototype._get_array=function(Fa,Xa){var lb=this.raw_options[Fa],sb=Xa||[];return"object"==typeof lb?null!==lb&&"function"==typeof lb.concat&&(sb=lb.concat()):"string"==typeof lb&&(sb=lb.split(/[^a-zA-Z0-9_\/\-]+/)),sb},Ja.prototype._get_boolean=function(Fa,Xa){var lb=this.raw_options[Fa];return void 0===lb?!!Xa:!!lb},Ja.prototype._get_characters=function(Fa,Xa){var lb=this.raw_options[Fa],sb=Xa||"";return"string"==typeof lb&&(sb=lb.replace(/\\r/,"\r").replace(/\\n/,` -`).replace(/\\t/," ")),sb},Ja.prototype._get_number=function(Fa,Xa){var lb=this.raw_options[Fa];Xa=parseInt(Xa,10),isNaN(Xa)&&(Xa=0);var sb=parseInt(lb,10);return isNaN(sb)&&(sb=Xa),sb},Ja.prototype._get_selection=function(Fa,Xa,lb){var sb=this._get_selection_list(Fa,Xa,lb);if(1!==sb.length)throw new Error("Invalid Option Value: The option '"+Fa+`' can only be one of the following values: -`+Xa+` -You passed in: '`+this.raw_options[Fa]+"'");return sb[0]},Ja.prototype._get_selection_list=function(Fa,Xa,lb){if(!Xa||0===Xa.length)throw new Error("Selection list cannot be empty.");if(lb=lb||[Xa[0]],!this._is_valid_selection(lb,Xa))throw new Error("Invalid Default Value!");var sb=this._get_array(Fa,lb);if(!this._is_valid_selection(sb,Xa))throw new Error("Invalid Option Value: The option '"+Fa+`' can contain only the following values: -`+Xa+` -You passed in: '`+this.raw_options[Fa]+"'");return sb},Ja.prototype._is_valid_selection=function(Fa,Xa){return Fa.length&&Xa.length&&!Fa.some(function(lb){return-1===Xa.indexOf(lb)})},Aa.exports.Options=Ja,Aa.exports.normalizeOpts=Pa,Aa.exports.mergeOpts=Na},,function(Aa,ya,pa){var Ja=RegExp.prototype.hasOwnProperty("sticky");function Na(Pa){this.__input=Pa||"",this.__input_length=this.__input.length,this.__position=0}Na.prototype.restart=function(){this.__position=0},Na.prototype.back=function(){this.__position>0&&(this.__position-=1)},Na.prototype.hasNext=function(){return this.__position<this.__input_length},Na.prototype.next=function(){var Pa=null;return this.hasNext()&&(Pa=this.__input.charAt(this.__position),this.__position+=1),Pa},Na.prototype.peek=function(Pa){var Fa=null;return Pa=Pa||0,(Pa+=this.__position)>=0&&Pa<this.__input_length&&(Fa=this.__input.charAt(Pa)),Fa},Na.prototype.__match=function(Pa,Fa){Pa.lastIndex=Fa;var Xa=Pa.exec(this.__input);return!Xa||Ja&&Pa.sticky||Xa.index!==Fa&&(Xa=null),Xa},Na.prototype.test=function(Pa,Fa){return Fa=Fa||0,(Fa+=this.__position)>=0&&Fa<this.__input_length&&!!this.__match(Pa,Fa)},Na.prototype.testChar=function(Pa,Fa){var Xa=this.peek(Fa);return Pa.lastIndex=0,null!==Xa&&Pa.test(Xa)},Na.prototype.match=function(Pa){var Fa=this.__match(Pa,this.__position);return Fa?this.__position+=Fa[0].length:Fa=null,Fa},Na.prototype.read=function(Pa,Fa,Xa){var lb,sb="";return Pa&&(lb=this.match(Pa))&&(sb+=lb[0]),!Fa||!lb&&Pa||(sb+=this.readUntil(Fa,Xa)),sb},Na.prototype.readUntil=function(Pa,Fa){var Xa,lb=this.__position;Pa.lastIndex=this.__position;var sb=Pa.exec(this.__input);return sb?(lb=sb.index,Fa&&(lb+=sb[0].length)):lb=this.__input_length,Xa=this.__input.substring(this.__position,lb),this.__position=lb,Xa},Na.prototype.readUntilAfter=function(Pa){return this.readUntil(Pa,!0)},Na.prototype.get_regexp=function(Pa,Fa){var Xa=null,lb="g";return Fa&&Ja&&(lb="y"),"string"==typeof Pa&&""!==Pa?Xa=new RegExp(Pa,lb):Pa&&(Xa=new RegExp(Pa.source,lb)),Xa},Na.prototype.get_literal_regexp=function(Pa){return RegExp(Pa.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},Na.prototype.peekUntilAfter=function(Pa){var Fa=this.__position,Xa=this.readUntilAfter(Pa);return this.__position=Fa,Xa},Na.prototype.lookBack=function(Pa){var Fa=this.__position-1;return Fa>=Pa.length&&this.__input.substring(Fa-Pa.length,Fa).toLowerCase()===Pa},Aa.exports.InputScanner=Na},,,,,function(Aa,ya,pa){function Ja(Na,Pa){Na="string"==typeof Na?Na:Na.source,Pa="string"==typeof Pa?Pa:Pa.source,this.__directives_block_pattern=new RegExp(Na+/ beautify( \w+[:]\w+)+ /.source+Pa,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(Na+/\sbeautify\signore:end\s/.source+Pa,"g")}Ja.prototype.get_directives=function(Na){if(!Na.match(this.__directives_block_pattern))return null;var Pa={};this.__directive_pattern.lastIndex=0;for(var Fa=this.__directive_pattern.exec(Na);Fa;)Pa[Fa[1]]=Fa[2],Fa=this.__directive_pattern.exec(Na);return Pa},Ja.prototype.readIgnored=function(Na){return Na.readUntilAfter(this.__directives_end_ignore_pattern)},Aa.exports.Directives=Ja},,function(Aa,ya,pa){var Ja=pa(16).Beautifier,Na=pa(17).Options;Aa.exports=function(Pa,Fa){return new Ja(Pa,Fa).beautify()},Aa.exports.defaultOptions=function(){return new Na()}},function(Aa,ya,pa){var Ja=pa(17).Options,Na=pa(2).Output,Pa=pa(8).InputScanner,Fa=new(0,pa(13).Directives)(/\/\*/,/\*\//),Xa=/\r\n|[\r\n]/,lb=/\r\n|[\r\n]/g,sb=/\s/,vb=/(?:\s|\n)+/g,Vb=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,hc=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Tb(cc,Rc){this._source_text=cc||"",this._options=new Ja(Rc),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}Tb.prototype.eatString=function(cc){var Rc="";for(this._ch=this._input.next();this._ch;){if(Rc+=this._ch,"\\"===this._ch)Rc+=this._input.next();else if(-1!==cc.indexOf(this._ch)||` -`===this._ch)break;this._ch=this._input.next()}return Rc},Tb.prototype.eatWhitespace=function(cc){for(var Rc=sb.test(this._input.peek()),gd=!0;sb.test(this._input.peek());)this._ch=this._input.next(),cc&&` -`===this._ch&&(this._options.preserve_newlines||gd)&&(gd=!1,this._output.add_new_line(!0));return Rc},Tb.prototype.foundNestedPseudoClass=function(){for(var cc=0,Rc=1,gd=this._input.peek(Rc);gd;){if("{"===gd)return!0;if("("===gd)cc+=1;else if(")"===gd){if(0===cc)return!1;cc-=1}else if(";"===gd||"}"===gd)return!1;Rc++,gd=this._input.peek(Rc)}return!1},Tb.prototype.print_string=function(cc){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(cc)},Tb.prototype.preserveSingleSpace=function(cc){cc&&(this._output.space_before_token=!0)},Tb.prototype.indent=function(){this._indentLevel++},Tb.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},Tb.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var cc=this._source_text,Rc=this._options.eol;"auto"===Rc&&(Rc=` -`,cc&&Xa.test(cc||"")&&(Rc=cc.match(Xa)[0]));var gd=(cc=cc.replace(lb,` -`)).match(/^[\t ]*/)[0];this._output=new Na(this._options,gd),this._input=new Pa(cc),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var od,Wb,Zb=0,kc=!1,hd=!1,ld=!1,fd=!1,md=!1,rd=this._ch;od=""!==this._input.read(vb),Wb=rd,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),rd=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var yd=this._input.read(Vb),Vd=Fa.get_directives(yd);Vd&&"start"===Vd.ignore&&(yd+=Fa.readIgnored(this._input)),this.print_string(yd),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(hc)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(od),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Sd=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Sd.match(/[ :]$/)&&(Sd=this.eatString(": ").replace(/\s$/,""),this.print_string(Sd),this._output.space_before_token=!0),"extend"===(Sd=Sd.replace(/\s$/,""))?fd=!0:"import"===Sd&&(md=!0),Sd in this.NESTED_AT_RULE?(this._nestedLevel+=1,Sd in this.CONDITIONAL_GROUP_RULE&&(ld=!0)):kc||0!==Zb||-1===Sd.indexOf(":")||(hd=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(od),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(hd&&(hd=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),ld?(ld=!1,kc=this._indentLevel>this._nestedLevel):kc=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&kc&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===Wb&&this._output.trim(!0),md=!1,fd=!1,hd&&(this.outdent(),hd=!1),this.print_string(this._ch),kc=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!kc&&!ld||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||fd||0!==Zb?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),hd||(hd=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(od),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===Zb?(hd&&(this.outdent(),hd=!1),fd=!1,md=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),Zb++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),Zb&&(Zb--,this.outdent()))):(this.preserveSingleSpace(od),this.print_string(this._ch),this.eatWhitespace(),Zb++,this.indent()):")"===this._ch?(Zb&&(Zb--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||hd||0!==Zb||md?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||hd||0!==Zb?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(od),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),sb.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(od),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&sb.test(this._ch)&&(this._ch=""));return this._output.get_code(Rc)},Aa.exports.Beautifier=Tb},function(Aa,ya,pa){var Ja=pa(6).Options;function Na(Pa){Ja.call(this,Pa,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var Fa=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||Fa}Na.prototype=new Ja(),Aa.exports.Options=Na}]),pc=function(Aa){var ya={};function pa(Ja){if(ya[Ja])return ya[Ja].exports;var Na=ya[Ja]={i:Ja,l:!1,exports:{}};return Aa[Ja].call(Na.exports,Na,Na.exports,pa),Na.l=!0,Na.exports}return pa.m=Aa,pa.c=ya,pa.d=function(Ja,Na,Pa){pa.o(Ja,Na)||Object.defineProperty(Ja,Na,{enumerable:!0,get:Pa})},pa.r=function(Ja){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(Ja,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Ja,"__esModule",{value:!0})},pa.t=function(Ja,Na){if(1&Na&&(Ja=pa(Ja)),8&Na)return Ja;if(4&Na&&"object"==typeof Ja&&Ja&&Ja.__esModule)return Ja;var Pa=Object.create(null);if(pa.r(Pa),Object.defineProperty(Pa,"default",{enumerable:!0,value:Ja}),2&Na&&"string"!=typeof Ja)for(var Fa in Ja)pa.d(Pa,Fa,function(Xa){return Ja[Xa]}.bind(null,Fa));return Pa},pa.n=function(Ja){var Na=Ja&&Ja.__esModule?function(){return Ja.default}:function(){return Ja};return pa.d(Na,"a",Na),Na},pa.o=function(Ja,Na){return Object.prototype.hasOwnProperty.call(Ja,Na)},pa.p="",pa(pa.s=18)}([,,function(Aa,ya,pa){function Ja(Fa){this.__parent=Fa,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function Na(Fa,Xa){this.__cache=[""],this.__indent_size=Fa.indent_size,this.__indent_string=Fa.indent_char,Fa.indent_with_tabs||(this.__indent_string=new Array(Fa.indent_size+1).join(Fa.indent_char)),Xa=Xa||"",Fa.indent_level>0&&(Xa=new Array(Fa.indent_level+1).join(this.__indent_string)),this.__base_string=Xa,this.__base_string_length=Xa.length}function Pa(Fa,Xa){this.__indent_cache=new Na(Fa,Xa),this.raw=!1,this._end_with_newline=Fa.end_with_newline,this.indent_size=Fa.indent_size,this.wrap_line_length=Fa.wrap_line_length,this.indent_empty_lines=Fa.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new Ja(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}Ja.prototype.clone_empty=function(){var Fa=new Ja(this.__parent);return Fa.set_indent(this.__indent_count,this.__alignment_count),Fa},Ja.prototype.item=function(Fa){return Fa<0?this.__items[this.__items.length+Fa]:this.__items[Fa]},Ja.prototype.has_match=function(Fa){for(var Xa=this.__items.length-1;Xa>=0;Xa--)if(this.__items[Xa].match(Fa))return!0;return!1},Ja.prototype.set_indent=function(Fa,Xa){this.is_empty()&&(this.__indent_count=Fa||0,this.__alignment_count=Xa||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},Ja.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},Ja.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},Ja.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var Fa=this.__parent.current_line;return Fa.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),Fa.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),Fa.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===Fa.__items[0]&&(Fa.__items.splice(0,1),Fa.__character_count-=1),!0}return!1},Ja.prototype.is_empty=function(){return 0===this.__items.length},Ja.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},Ja.prototype.push=function(Fa){this.__items.push(Fa);var Xa=Fa.lastIndexOf(` -`);-1!==Xa?this.__character_count=Fa.length-Xa:this.__character_count+=Fa.length},Ja.prototype.pop=function(){var Fa=null;return this.is_empty()||(Fa=this.__items.pop(),this.__character_count-=Fa.length),Fa},Ja.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},Ja.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},Ja.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},Ja.prototype.toString=function(){var Fa="";return this.is_empty()?this.__parent.indent_empty_lines&&(Fa=this.__parent.get_indent_string(this.__indent_count)):(Fa=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),Fa+=this.__items.join("")),Fa},Na.prototype.get_indent_size=function(Fa,Xa){var lb=this.__base_string_length;return Xa=Xa||0,Fa<0&&(lb=0),lb+=Fa*this.__indent_size,lb+=Xa},Na.prototype.get_indent_string=function(Fa,Xa){var lb=this.__base_string;return Xa=Xa||0,Fa<0&&(Fa=0,lb=""),Xa+=Fa*this.__indent_size,this.__ensure_cache(Xa),lb+=this.__cache[Xa]},Na.prototype.__ensure_cache=function(Fa){for(;Fa>=this.__cache.length;)this.__add_column()},Na.prototype.__add_column=function(){var Fa=this.__cache.length,Xa=0,lb="";this.__indent_size&&Fa>=this.__indent_size&&(Fa-=(Xa=Math.floor(Fa/this.__indent_size))*this.__indent_size,lb=new Array(Xa+1).join(this.__indent_string)),Fa&&(lb+=new Array(Fa+1).join(" ")),this.__cache.push(lb)},Pa.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},Pa.prototype.get_line_number=function(){return this.__lines.length},Pa.prototype.get_indent_string=function(Fa,Xa){return this.__indent_cache.get_indent_string(Fa,Xa)},Pa.prototype.get_indent_size=function(Fa,Xa){return this.__indent_cache.get_indent_size(Fa,Xa)},Pa.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},Pa.prototype.add_new_line=function(Fa){return!(this.is_empty()||!Fa&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},Pa.prototype.get_code=function(Fa){this.trim(!0);var Xa=this.current_line.pop();Xa&&(` -`===Xa[Xa.length-1]&&(Xa=Xa.replace(/\n+$/g,"")),this.current_line.push(Xa)),this._end_with_newline&&this.__add_outputline();var lb=this.__lines.join(` -`);return` -`!==Fa&&(lb=lb.replace(/[\n]/g,Fa)),lb},Pa.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},Pa.prototype.set_indent=function(Fa,Xa){return Fa=Fa||0,Xa=Xa||0,this.next_line.set_indent(Fa,Xa),this.__lines.length>1?(this.current_line.set_indent(Fa,Xa),!0):(this.current_line.set_indent(),!1)},Pa.prototype.add_raw_token=function(Fa){for(var Xa=0;Xa<Fa.newlines;Xa++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(Fa.whitespace_before),this.current_line.push(Fa.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},Pa.prototype.add_token=function(Fa){this.__add_space_before_token(),this.current_line.push(Fa),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},Pa.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},Pa.prototype.remove_indent=function(Fa){for(var Xa=this.__lines.length;Fa<Xa;)this.__lines[Fa]._remove_indent(),Fa++;this.current_line._remove_wrap_indent()},Pa.prototype.trim=function(Fa){for(Fa=void 0!==Fa&&Fa,this.current_line.trim();Fa&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},Pa.prototype.just_added_newline=function(){return this.current_line.is_empty()},Pa.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},Pa.prototype.ensure_empty_line_above=function(Fa,Xa){for(var lb=this.__lines.length-2;lb>=0;){var sb=this.__lines[lb];if(sb.is_empty())break;if(0!==sb.item(0).indexOf(Fa)&&sb.item(-1)!==Xa){this.__lines.splice(lb+1,0,new Ja(this)),this.previous_line=this.__lines[this.__lines.length-2];break}lb--}},Aa.exports.Output=Pa},function(Aa,ya,pa){Aa.exports.Token=function(Ja,Na,Pa,Fa){this.type=Ja,this.text=Na,this.comments_before=null,this.newlines=Pa||0,this.whitespace_before=Fa||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(Aa,ya,pa){function Ja(Fa,Xa){this.raw_options=Na(Fa,Xa),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs"," "===this.indent_char),this.indent_with_tabs&&(this.indent_char=" ",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function Na(Fa,Xa){var lb,sb={};for(lb in Fa=Pa(Fa))lb!==Xa&&(sb[lb]=Fa[lb]);if(Xa&&Fa[Xa])for(lb in Fa[Xa])sb[lb]=Fa[Xa][lb];return sb}function Pa(Fa){var Xa,lb={};for(Xa in Fa)lb[Xa.replace(/-/g,"_")]=Fa[Xa];return lb}Ja.prototype._get_array=function(Fa,Xa){var lb=this.raw_options[Fa],sb=Xa||[];return"object"==typeof lb?null!==lb&&"function"==typeof lb.concat&&(sb=lb.concat()):"string"==typeof lb&&(sb=lb.split(/[^a-zA-Z0-9_\/\-]+/)),sb},Ja.prototype._get_boolean=function(Fa,Xa){var lb=this.raw_options[Fa];return void 0===lb?!!Xa:!!lb},Ja.prototype._get_characters=function(Fa,Xa){var lb=this.raw_options[Fa],sb=Xa||"";return"string"==typeof lb&&(sb=lb.replace(/\\r/,"\r").replace(/\\n/,` -`).replace(/\\t/," ")),sb},Ja.prototype._get_number=function(Fa,Xa){var lb=this.raw_options[Fa];Xa=parseInt(Xa,10),isNaN(Xa)&&(Xa=0);var sb=parseInt(lb,10);return isNaN(sb)&&(sb=Xa),sb},Ja.prototype._get_selection=function(Fa,Xa,lb){var sb=this._get_selection_list(Fa,Xa,lb);if(1!==sb.length)throw new Error("Invalid Option Value: The option '"+Fa+`' can only be one of the following values: -`+Xa+` -You passed in: '`+this.raw_options[Fa]+"'");return sb[0]},Ja.prototype._get_selection_list=function(Fa,Xa,lb){if(!Xa||0===Xa.length)throw new Error("Selection list cannot be empty.");if(lb=lb||[Xa[0]],!this._is_valid_selection(lb,Xa))throw new Error("Invalid Default Value!");var sb=this._get_array(Fa,lb);if(!this._is_valid_selection(sb,Xa))throw new Error("Invalid Option Value: The option '"+Fa+`' can contain only the following values: -`+Xa+` -You passed in: '`+this.raw_options[Fa]+"'");return sb},Ja.prototype._is_valid_selection=function(Fa,Xa){return Fa.length&&Xa.length&&!Fa.some(function(lb){return-1===Xa.indexOf(lb)})},Aa.exports.Options=Ja,Aa.exports.normalizeOpts=Pa,Aa.exports.mergeOpts=Na},,function(Aa,ya,pa){var Ja=RegExp.prototype.hasOwnProperty("sticky");function Na(Pa){this.__input=Pa||"",this.__input_length=this.__input.length,this.__position=0}Na.prototype.restart=function(){this.__position=0},Na.prototype.back=function(){this.__position>0&&(this.__position-=1)},Na.prototype.hasNext=function(){return this.__position<this.__input_length},Na.prototype.next=function(){var Pa=null;return this.hasNext()&&(Pa=this.__input.charAt(this.__position),this.__position+=1),Pa},Na.prototype.peek=function(Pa){var Fa=null;return Pa=Pa||0,(Pa+=this.__position)>=0&&Pa<this.__input_length&&(Fa=this.__input.charAt(Pa)),Fa},Na.prototype.__match=function(Pa,Fa){Pa.lastIndex=Fa;var Xa=Pa.exec(this.__input);return!Xa||Ja&&Pa.sticky||Xa.index!==Fa&&(Xa=null),Xa},Na.prototype.test=function(Pa,Fa){return Fa=Fa||0,(Fa+=this.__position)>=0&&Fa<this.__input_length&&!!this.__match(Pa,Fa)},Na.prototype.testChar=function(Pa,Fa){var Xa=this.peek(Fa);return Pa.lastIndex=0,null!==Xa&&Pa.test(Xa)},Na.prototype.match=function(Pa){var Fa=this.__match(Pa,this.__position);return Fa?this.__position+=Fa[0].length:Fa=null,Fa},Na.prototype.read=function(Pa,Fa,Xa){var lb,sb="";return Pa&&(lb=this.match(Pa))&&(sb+=lb[0]),!Fa||!lb&&Pa||(sb+=this.readUntil(Fa,Xa)),sb},Na.prototype.readUntil=function(Pa,Fa){var Xa,lb=this.__position;Pa.lastIndex=this.__position;var sb=Pa.exec(this.__input);return sb?(lb=sb.index,Fa&&(lb+=sb[0].length)):lb=this.__input_length,Xa=this.__input.substring(this.__position,lb),this.__position=lb,Xa},Na.prototype.readUntilAfter=function(Pa){return this.readUntil(Pa,!0)},Na.prototype.get_regexp=function(Pa,Fa){var Xa=null,lb="g";return Fa&&Ja&&(lb="y"),"string"==typeof Pa&&""!==Pa?Xa=new RegExp(Pa,lb):Pa&&(Xa=new RegExp(Pa.source,lb)),Xa},Na.prototype.get_literal_regexp=function(Pa){return RegExp(Pa.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},Na.prototype.peekUntilAfter=function(Pa){var Fa=this.__position,Xa=this.readUntilAfter(Pa);return this.__position=Fa,Xa},Na.prototype.lookBack=function(Pa){var Fa=this.__position-1;return Fa>=Pa.length&&this.__input.substring(Fa-Pa.length,Fa).toLowerCase()===Pa},Aa.exports.InputScanner=Na},function(Aa,ya,pa){var Ja=pa(8).InputScanner,Na=pa(3).Token,Pa=pa(10).TokenStream,Fa=pa(11).WhitespacePattern,Xa={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},lb=function(sb,vb){this._input=new Ja(sb),this._options=vb||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new Fa(this._input)};lb.prototype.tokenize=function(){var sb;this._input.restart(),this.__tokens=new Pa(),this._reset();for(var vb=new Na(Xa.START,""),Vb=null,hc=[],Tb=new Pa();vb.type!==Xa.EOF;){for(sb=this._get_next_token(vb,Vb);this._is_comment(sb);)Tb.add(sb),sb=this._get_next_token(vb,Vb);Tb.isEmpty()||(sb.comments_before=Tb,Tb=new Pa()),sb.parent=Vb,this._is_opening(sb)?(hc.push(Vb),Vb=sb):Vb&&this._is_closing(sb,Vb)&&(sb.opened=Vb,Vb.closed=sb,Vb=hc.pop(),sb.parent=Vb),sb.previous=vb,vb.next=sb,this.__tokens.add(sb),vb=sb}return this.__tokens},lb.prototype._is_first_token=function(){return this.__tokens.isEmpty()},lb.prototype._reset=function(){},lb.prototype._get_next_token=function(sb,vb){this._readWhitespace();var Vb=this._input.read(/.+/g);return Vb?this._create_token(Xa.RAW,Vb):this._create_token(Xa.EOF,"")},lb.prototype._is_comment=function(sb){return!1},lb.prototype._is_opening=function(sb){return!1},lb.prototype._is_closing=function(sb,vb){return!1},lb.prototype._create_token=function(sb,vb){return new Na(sb,vb,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},lb.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Aa.exports.Tokenizer=lb,Aa.exports.TOKEN=Xa},function(Aa,ya,pa){function Ja(Na){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=Na}Ja.prototype.restart=function(){this.__position=0},Ja.prototype.isEmpty=function(){return 0===this.__tokens_length},Ja.prototype.hasNext=function(){return this.__position<this.__tokens_length},Ja.prototype.next=function(){var Na=null;return this.hasNext()&&(Na=this.__tokens[this.__position],this.__position+=1),Na},Ja.prototype.peek=function(Na){var Pa=null;return Na=Na||0,(Na+=this.__position)>=0&&Na<this.__tokens_length&&(Pa=this.__tokens[Na]),Pa},Ja.prototype.add=function(Na){this.__parent_token&&(Na.parent=this.__parent_token),this.__tokens.push(Na),this.__tokens_length+=1},Aa.exports.TokenStream=Ja},function(Aa,ya,pa){var Ja=pa(12).Pattern;function Na(Pa,Fa){Ja.call(this,Pa,Fa),Fa?this._line_regexp=this._input.get_regexp(Fa._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}Na.prototype=new Ja(),Na.prototype.__set_whitespace_patterns=function(Pa,Fa){Pa+="\\t ",Fa+="\\n\\r",this._match_pattern=this._input.get_regexp("["+Pa+Fa+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+Fa+"]")},Na.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var Pa=this._input.read(this._match_pattern);if(" "===Pa)this.whitespace_before_token=" ";else if(Pa){var Fa=this.__split(this._newline_regexp,Pa);this.newline_count=Fa.length-1,this.whitespace_before_token=Fa[this.newline_count]}return Pa},Na.prototype.matching=function(Pa,Fa){var Xa=this._create();return Xa.__set_whitespace_patterns(Pa,Fa),Xa._update(),Xa},Na.prototype._create=function(){return new Na(this._input,this)},Na.prototype.__split=function(Pa,Fa){Pa.lastIndex=0;for(var Xa=0,lb=[],sb=Pa.exec(Fa);sb;)lb.push(Fa.substring(Xa,sb.index)),Xa=sb.index+sb[0].length,sb=Pa.exec(Fa);return Xa<Fa.length?lb.push(Fa.substring(Xa,Fa.length)):lb.push(""),lb},Aa.exports.WhitespacePattern=Na},function(Aa,ya,pa){function Ja(Na,Pa){this._input=Na,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,Pa&&(this._starting_pattern=this._input.get_regexp(Pa._starting_pattern,!0),this._match_pattern=this._input.get_regexp(Pa._match_pattern,!0),this._until_pattern=this._input.get_regexp(Pa._until_pattern),this._until_after=Pa._until_after)}Ja.prototype.read=function(){var Na=this._input.read(this._starting_pattern);return this._starting_pattern&&!Na||(Na+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),Na},Ja.prototype.read_match=function(){return this._input.match(this._match_pattern)},Ja.prototype.until_after=function(Na){var Pa=this._create();return Pa._until_after=!0,Pa._until_pattern=this._input.get_regexp(Na),Pa._update(),Pa},Ja.prototype.until=function(Na){var Pa=this._create();return Pa._until_after=!1,Pa._until_pattern=this._input.get_regexp(Na),Pa._update(),Pa},Ja.prototype.starting_with=function(Na){var Pa=this._create();return Pa._starting_pattern=this._input.get_regexp(Na,!0),Pa._update(),Pa},Ja.prototype.matching=function(Na){var Pa=this._create();return Pa._match_pattern=this._input.get_regexp(Na,!0),Pa._update(),Pa},Ja.prototype._create=function(){return new Ja(this._input,this)},Ja.prototype._update=function(){},Aa.exports.Pattern=Ja},function(Aa,ya,pa){function Ja(Na,Pa){Na="string"==typeof Na?Na:Na.source,Pa="string"==typeof Pa?Pa:Pa.source,this.__directives_block_pattern=new RegExp(Na+/ beautify( \w+[:]\w+)+ /.source+Pa,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(Na+/\sbeautify\signore:end\s/.source+Pa,"g")}Ja.prototype.get_directives=function(Na){if(!Na.match(this.__directives_block_pattern))return null;var Pa={};this.__directive_pattern.lastIndex=0;for(var Fa=this.__directive_pattern.exec(Na);Fa;)Pa[Fa[1]]=Fa[2],Fa=this.__directive_pattern.exec(Na);return Pa},Ja.prototype.readIgnored=function(Na){return Na.readUntilAfter(this.__directives_end_ignore_pattern)},Aa.exports.Directives=Ja},function(Aa,ya,pa){var Ja=pa(12).Pattern,Na={django:!1,erb:!1,handlebars:!1,php:!1};function Pa(Fa,Xa){Ja.call(this,Fa,Xa),this.__template_pattern=null,this._disabled=Object.assign({},Na),this._excluded=Object.assign({},Na),Xa&&(this.__template_pattern=this._input.get_regexp(Xa.__template_pattern),this._excluded=Object.assign(this._excluded,Xa._excluded),this._disabled=Object.assign(this._disabled,Xa._disabled));var lb=new Ja(Fa);this.__patterns={handlebars_comment:lb.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:lb.starting_with(/{{{/).until_after(/}}}/),handlebars:lb.starting_with(/{{/).until_after(/}}/),php:lb.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:lb.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:lb.starting_with(/{%/).until_after(/%}/),django_value:lb.starting_with(/{{/).until_after(/}}/),django_comment:lb.starting_with(/{#/).until_after(/#}/)}}Pa.prototype=new Ja(),Pa.prototype._create=function(){return new Pa(this._input,this)},Pa.prototype._update=function(){this.__set_templated_pattern()},Pa.prototype.disable=function(Fa){var Xa=this._create();return Xa._disabled[Fa]=!0,Xa._update(),Xa},Pa.prototype.read_options=function(Fa){var Xa=this._create();for(var lb in Na)Xa._disabled[lb]=-1===Fa.templating.indexOf(lb);return Xa._update(),Xa},Pa.prototype.exclude=function(Fa){var Xa=this._create();return Xa._excluded[Fa]=!0,Xa._update(),Xa},Pa.prototype.read=function(){var Fa="";Fa=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var Xa=this._read_template();Xa;)this._match_pattern?Xa+=this._input.read(this._match_pattern):Xa+=this._input.readUntil(this.__template_pattern),Fa+=Xa,Xa=this._read_template();return this._until_after&&(Fa+=this._input.readUntilAfter(this._until_pattern)),Fa},Pa.prototype.__set_templated_pattern=function(){var Fa=[];this._disabled.php||Fa.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||Fa.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||Fa.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(Fa.push(this.__patterns.django._starting_pattern.source),Fa.push(this.__patterns.django_value._starting_pattern.source),Fa.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&Fa.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+Fa.join("|")+")")},Pa.prototype._read_template=function(){var Fa="",Xa=this._input.peek();if("<"===Xa){var lb=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==lb||(Fa=Fa||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==lb||(Fa=Fa||this.__patterns.erb.read())}else"{"===Xa&&(this._disabled.handlebars||this._excluded.handlebars||(Fa=(Fa=(Fa=Fa||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(Fa=Fa||this.__patterns.django_value.read()),this._excluded.django||(Fa=(Fa=Fa||this.__patterns.django_comment.read())||this.__patterns.django.read())));return Fa},Aa.exports.TemplatablePattern=Pa},,,,function(Aa,ya,pa){var Ja=pa(19).Beautifier,Na=pa(20).Options;Aa.exports=function(Pa,Fa,Xa,lb){return new Ja(Pa,Fa,Xa,lb).beautify()},Aa.exports.defaultOptions=function(){return new Na()}},function(Aa,ya,pa){var Ja=pa(20).Options,Na=pa(2).Output,Pa=pa(21).Tokenizer,Fa=pa(21).TOKEN,Xa=/\r\n|[\r\n]/,lb=/\r\n|[\r\n]/g,sb=function(Wb,Zb){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=Wb.max_preserve_newlines,this.preserve_newlines=Wb.preserve_newlines,this._output=new Na(Wb,Zb)};sb.prototype.current_line_has_match=function(Wb){return this._output.current_line.has_match(Wb)},sb.prototype.set_space_before_token=function(Wb,Zb){this._output.space_before_token=Wb,this._output.non_breaking_space=Zb},sb.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},sb.prototype.add_raw_token=function(Wb){this._output.add_raw_token(Wb)},sb.prototype.print_preserved_newlines=function(Wb){var Zb=0;Wb.type!==Fa.TEXT&&Wb.previous.type!==Fa.TEXT&&(Zb=Wb.newlines?1:0),this.preserve_newlines&&(Zb=Wb.newlines<this.max_preserve_newlines+1?Wb.newlines:this.max_preserve_newlines+1);for(var kc=0;kc<Zb;kc++)this.print_newline(kc>0);return 0!==Zb},sb.prototype.traverse_whitespace=function(Wb){return!(!Wb.whitespace_before&&!Wb.newlines)&&(this.print_preserved_newlines(Wb)||(this._output.space_before_token=!0),!0)},sb.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},sb.prototype.print_newline=function(Wb){this._output.add_new_line(Wb)},sb.prototype.print_token=function(Wb){Wb.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(Wb.text))},sb.prototype.indent=function(){this.indent_level++},sb.prototype.get_full_indent=function(Wb){return(Wb=this.indent_level+(Wb||0))<1?"":this._output.get_indent_string(Wb)};var vb=function(Wb,Zb){var kc=null,hd=null;return Zb.closed?("script"===Wb?kc="text/javascript":"style"===Wb&&(kc="text/css"),(kc=function(ld){for(var fd=null,md=ld.next;md.type!==Fa.EOF&&ld.closed!==md;){if(md.type===Fa.ATTRIBUTE&&"type"===md.text){md.next&&md.next.type===Fa.EQUALS&&md.next.next&&md.next.next.type===Fa.VALUE&&(fd=md.next.next.text);break}md=md.next}return fd}(Zb)||kc).search("text/css")>-1?hd="css":kc.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?hd="javascript":kc.search(/(text|application|dojo)\/(x-)?(html)/)>-1?hd="html":kc.search(/test\/null/)>-1&&(hd="null"),hd):null};function Vb(Wb,Zb){return-1!==Zb.indexOf(Wb)}function hc(Wb,Zb,kc){this.parent=Wb||null,this.tag=Zb?Zb.tag_name:"",this.indent_level=kc||0,this.parser_token=Zb||null}function Tb(Wb){this._printer=Wb,this._current_frame=null}function cc(Wb,Zb,kc,hd){this._source_text=Wb||"",Zb=Zb||{},this._js_beautify=kc,this._css_beautify=hd,this._tag_stack=null;var ld=new Ja(Zb,"html");this._options=ld,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}Tb.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},Tb.prototype.record_tag=function(Wb){var Zb=new hc(this._current_frame,Wb,this._printer.indent_level);this._current_frame=Zb},Tb.prototype._try_pop_frame=function(Wb){var Zb=null;return Wb&&(Zb=Wb.parser_token,this._printer.indent_level=Wb.indent_level,this._current_frame=Wb.parent),Zb},Tb.prototype._get_frame=function(Wb,Zb){for(var kc=this._current_frame;kc&&-1===Wb.indexOf(kc.tag);){if(Zb&&-1!==Zb.indexOf(kc.tag)){kc=null;break}kc=kc.parent}return kc},Tb.prototype.try_pop=function(Wb,Zb){var kc=this._get_frame([Wb],Zb);return this._try_pop_frame(kc)},Tb.prototype.indent_to_tag=function(Wb){var Zb=this._get_frame(Wb);Zb&&(this._printer.indent_level=Zb.indent_level)},cc.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Wb=this._source_text,Zb=this._options.eol;"auto"===this._options.eol&&(Zb=` -`,Wb&&Xa.test(Wb)&&(Zb=Wb.match(Xa)[0]));var kc=(Wb=Wb.replace(lb,` -`)).match(/^[\t ]*/)[0],hd={text:"",type:""},ld=new Rc(),fd=new sb(this._options,kc),md=new Pa(Wb,this._options).tokenize();this._tag_stack=new Tb(fd);for(var rd=null,yd=md.next();yd.type!==Fa.EOF;)yd.type===Fa.TAG_OPEN||yd.type===Fa.COMMENT?ld=rd=this._handle_tag_open(fd,yd,ld,hd):yd.type===Fa.ATTRIBUTE||yd.type===Fa.EQUALS||yd.type===Fa.VALUE||yd.type===Fa.TEXT&&!ld.tag_complete?rd=this._handle_inside_tag(fd,yd,ld,md):yd.type===Fa.TAG_CLOSE?rd=this._handle_tag_close(fd,yd,ld):yd.type===Fa.TEXT?rd=this._handle_text(fd,yd,ld):fd.add_raw_token(yd),hd=rd,yd=md.next();return fd._output.get_code(Zb)},cc.prototype._handle_tag_close=function(Wb,Zb,kc){var hd={text:Zb.text,type:Zb.type};return Wb.alignment_size=0,kc.tag_complete=!0,Wb.set_space_before_token(Zb.newlines||""!==Zb.whitespace_before,!0),kc.is_unformatted?Wb.add_raw_token(Zb):("<"===kc.tag_start_char&&(Wb.set_space_before_token("/"===Zb.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&kc.has_wrapped_attrs&&Wb.print_newline(!1)),Wb.print_token(Zb)),!kc.indent_content||kc.is_unformatted||kc.is_content_unformatted||(Wb.indent(),kc.indent_content=!1),kc.is_inline_element||kc.is_unformatted||kc.is_content_unformatted||Wb.set_wrap_point(),hd},cc.prototype._handle_inside_tag=function(Wb,Zb,kc,hd){var ld=kc.has_wrapped_attrs,fd={text:Zb.text,type:Zb.type};if(Wb.set_space_before_token(Zb.newlines||""!==Zb.whitespace_before,!0),kc.is_unformatted)Wb.add_raw_token(Zb);else if("{"===kc.tag_start_char&&Zb.type===Fa.TEXT)Wb.print_preserved_newlines(Zb)?(Zb.newlines=0,Wb.add_raw_token(Zb)):Wb.print_token(Zb);else{if(Zb.type===Fa.ATTRIBUTE?(Wb.set_space_before_token(!0),kc.attr_count+=1):(Zb.type===Fa.EQUALS||Zb.type===Fa.VALUE&&Zb.previous.type===Fa.EQUALS)&&Wb.set_space_before_token(!1),Zb.type===Fa.ATTRIBUTE&&"<"===kc.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(Wb.traverse_whitespace(Zb),ld=ld||0!==Zb.newlines),this._is_wrap_attributes_force)){var md=kc.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===kc.attr_count){var rd,yd=!0,Vd=0;do{if((rd=hd.peek(Vd)).type===Fa.ATTRIBUTE){yd=!1;break}Vd+=1}while(Vd<4&&rd.type!==Fa.EOF&&rd.type!==Fa.TAG_CLOSE);md=!yd}md&&(Wb.print_newline(!1),ld=!0)}Wb.print_token(Zb),ld=ld||Wb.previous_token_wrapped(),kc.has_wrapped_attrs=ld}return fd},cc.prototype._handle_text=function(Wb,Zb,kc){var hd={text:Zb.text,type:"TK_CONTENT"};return kc.custom_beautifier_name?this._print_custom_beatifier_text(Wb,Zb,kc):kc.is_unformatted||kc.is_content_unformatted?Wb.add_raw_token(Zb):(Wb.traverse_whitespace(Zb),Wb.print_token(Zb)),hd},cc.prototype._print_custom_beatifier_text=function(Wb,Zb,kc){var hd=this;if(""!==Zb.text){var ld,fd=Zb.text,md=1,rd="",yd="";"javascript"===kc.custom_beautifier_name&&"function"==typeof this._js_beautify?ld=this._js_beautify:"css"===kc.custom_beautifier_name&&"function"==typeof this._css_beautify?ld=this._css_beautify:"html"===kc.custom_beautifier_name&&(ld=function(Cd,Fd){return new cc(Cd,Fd,hd._js_beautify,hd._css_beautify).beautify()}),"keep"===this._options.indent_scripts?md=0:"separate"===this._options.indent_scripts&&(md=-Wb.indent_level);var Vd=Wb.get_full_indent(md);if(fd=fd.replace(/\n[ \t]*$/,""),"html"!==kc.custom_beautifier_name&&"<"===fd[0]&&fd.match(/^(<!--|<!\[CDATA\[)/)){var Sd=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(fd);if(!Sd)return void Wb.add_raw_token(Zb);rd=Vd+Sd[1]+` -`,fd=Sd[4],Sd[5]&&(yd=Vd+Sd[5]),fd=fd.replace(/\n[ \t]*$/,""),(Sd[2]||-1!==Sd[3].indexOf(` -`))&&(Sd=Sd[3].match(/[ \t]+$/))&&(Zb.whitespace_before=Sd[0])}if(fd)if(ld){var Ae=function(){this.eol=` -`};Ae.prototype=this._options.raw_options,fd=ld(Vd+fd,new Ae())}else{var Ce=Zb.whitespace_before;Ce&&(fd=fd.replace(new RegExp(` -(`+Ce+")?","g"),` -`)),fd=Vd+fd.replace(/\n/g,` -`+Vd)}rd&&(fd=fd?rd+fd+` -`+yd:rd+yd),Wb.print_newline(!1),fd&&(Zb.text=fd,Zb.whitespace_before="",Zb.newlines=0,Wb.add_raw_token(Zb),Wb.print_newline(!0))}},cc.prototype._handle_tag_open=function(Wb,Zb,kc,hd){var ld=this._get_tag_open_token(Zb);return(kc.is_unformatted||kc.is_content_unformatted)&&Zb.type===Fa.TAG_OPEN&&0===Zb.text.indexOf("</")?(Wb.add_raw_token(Zb),ld.start_tag_token=this._tag_stack.try_pop(ld.tag_name)):(Wb.traverse_whitespace(Zb),this._set_tag_position(Wb,Zb,ld,kc,hd),ld.is_inline_element||Wb.set_wrap_point(),Wb.print_token(Zb)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ld.alignment_size=Zb.text.length+1),ld.tag_complete||ld.is_unformatted||(Wb.alignment_size=ld.alignment_size),ld};var Rc=function(Wb,Zb){var kc;(this.parent=Wb||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",Zb)?(this.tag_start_char=Zb.text[0],this.text=Zb.text,"<"===this.tag_start_char?(kc=Zb.text.match(/^<([^\s>]*)/),this.tag_check=kc?kc[1]:""):(kc=Zb.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=kc?kc[1]:"","{{#>"===Zb.text&&">"===this.tag_check&&null!==Zb.next&&(this.tag_check=Zb.next.text)),this.tag_check=this.tag_check.toLowerCase(),Zb.type===Fa.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||Zb.closed&&"/>"===Zb.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};cc.prototype._get_tag_open_token=function(Wb){var Zb=new Rc(this._tag_stack.get_parser_token(),Wb);return Zb.alignment_size=this._options.wrap_attributes_indent_size,Zb.is_end_tag=Zb.is_end_tag||Vb(Zb.tag_check,this._options.void_elements),Zb.is_empty_element=Zb.tag_complete||Zb.is_start_tag&&Zb.is_end_tag,Zb.is_unformatted=!Zb.tag_complete&&Vb(Zb.tag_check,this._options.unformatted),Zb.is_content_unformatted=!Zb.is_empty_element&&Vb(Zb.tag_check,this._options.content_unformatted),Zb.is_inline_element=Vb(Zb.tag_name,this._options.inline)||"{"===Zb.tag_start_char,Zb},cc.prototype._set_tag_position=function(Wb,Zb,kc,hd,ld){(kc.is_empty_element||(kc.is_end_tag?kc.start_tag_token=this._tag_stack.try_pop(kc.tag_name):(this._do_optional_end_element(kc)&&(kc.is_inline_element||(kc.parent&&(kc.parent.multiline_content=!0),Wb.print_newline(!1))),this._tag_stack.record_tag(kc),"script"!==kc.tag_name&&"style"!==kc.tag_name||kc.is_unformatted||kc.is_content_unformatted||(kc.custom_beautifier_name=vb(kc.tag_check,Zb)))),Vb(kc.tag_check,this._options.extra_liners)&&(Wb.print_newline(!1),Wb._output.just_added_blankline()||Wb.print_newline(!0)),kc.is_empty_element)?("{"===kc.tag_start_char&&"else"===kc.tag_check&&(this._tag_stack.indent_to_tag(["if","unless","each"]),kc.indent_content=!0,Wb.current_line_has_match(/{{#if/)||Wb.print_newline(!1)),"!--"===kc.tag_name&&ld.type===Fa.TAG_CLOSE&&hd.is_end_tag&&-1===kc.text.indexOf(` -`)||kc.is_inline_element||kc.is_unformatted||Wb.print_newline(!1)):kc.is_unformatted||kc.is_content_unformatted?kc.is_inline_element||kc.is_unformatted||Wb.print_newline(!1):kc.is_end_tag?(kc.start_tag_token&&kc.start_tag_token.multiline_content||!(kc.is_inline_element||hd.is_inline_element||ld.type===Fa.TAG_CLOSE&&kc.start_tag_token===hd||"TK_CONTENT"===ld.type))&&Wb.print_newline(!1):(kc.indent_content=!kc.custom_beautifier_name,"<"===kc.tag_start_char&&("html"===kc.tag_name?kc.indent_content=this._options.indent_inner_html:"head"===kc.tag_name?kc.indent_content=this._options.indent_head_inner_html:"body"===kc.tag_name&&(kc.indent_content=this._options.indent_body_inner_html)),kc.is_inline_element||"TK_CONTENT"===ld.type||(kc.parent&&(kc.parent.multiline_content=!0),Wb.print_newline(!1)))};var gd=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],od=["a","audio","del","ins","map","noscript","video"];cc.prototype._do_optional_end_element=function(Wb){var Zb=null;if(!Wb.is_empty_element&&Wb.is_start_tag&&Wb.parent){if("body"===Wb.tag_name)Zb=Zb||this._tag_stack.try_pop("head");else if("li"===Wb.tag_name)Zb=Zb||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===Wb.tag_name||"dt"===Wb.tag_name)Zb=(Zb=Zb||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===Wb.parent.tag_name&&-1!==gd.indexOf(Wb.tag_name)){var kc=Wb.parent.parent;kc&&-1!==od.indexOf(kc.tag_name)||(Zb=Zb||this._tag_stack.try_pop("p"))}else"rp"===Wb.tag_name||"rt"===Wb.tag_name?Zb=(Zb=Zb||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===Wb.tag_name?Zb=Zb||this._tag_stack.try_pop("optgroup",["select"]):"option"===Wb.tag_name?Zb=Zb||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===Wb.tag_name?Zb=Zb||this._tag_stack.try_pop("caption",["table"]):"thead"===Wb.tag_name?Zb=(Zb=Zb||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===Wb.tag_name||"tfoot"===Wb.tag_name?Zb=(Zb=(Zb=(Zb=Zb||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===Wb.tag_name?Zb=(Zb=(Zb=Zb||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==Wb.tag_name&&"td"!==Wb.tag_name||(Zb=(Zb=Zb||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return Wb.parent=this._tag_stack.get_parser_token(),Zb}},Aa.exports.Beautifier=cc},function(Aa,ya,pa){var Ja=pa(6).Options;function Na(Pa){Ja.call(this,Pa,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}Na.prototype=new Ja(),Aa.exports.Options=Na},function(Aa,ya,pa){var Ja=pa(9).Tokenizer,Na=pa(9).TOKEN,Pa=pa(13).Directives,Fa=pa(14).TemplatablePattern,Xa=pa(12).Pattern,lb={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:Na.START,RAW:Na.RAW,EOF:Na.EOF},sb=new Pa(/<\!--/,/-->/),vb=function(Vb,hc){Ja.call(this,Vb,hc),this._current_tag_name="";var Tb=new Fa(this._input).read_options(this._options),cc=new Xa(this._input);if(this.__patterns={word:Tb.until(/[\n\r\t <]/),single_quote:Tb.until_after(/'/),double_quote:Tb.until_after(/"/),attribute:Tb.until(/[\n\r\t =>]|\/>/),element_name:Tb.until(/[\n\r\t >\/]/),handlebars_comment:cc.starting_with(/{{!--/).until_after(/--}}/),handlebars:cc.starting_with(/{{/).until_after(/}}/),handlebars_open:cc.until(/[\n\r\t }]/),handlebars_raw_close:cc.until(/}}/),comment:cc.starting_with(/<!--/).until_after(/-->/),cdata:cc.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:cc.starting_with(/<!\[/).until_after(/]>/),processing:cc.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var Rc=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=cc.matching(Rc).until_after(Rc)}};(vb.prototype=new Ja())._is_comment=function(Vb){return!1},vb.prototype._is_opening=function(Vb){return Vb.type===lb.TAG_OPEN},vb.prototype._is_closing=function(Vb,hc){return Vb.type===lb.TAG_CLOSE&&hc&&((">"===Vb.text||"/>"===Vb.text)&&"<"===hc.text[0]||"}}"===Vb.text&&"{"===hc.text[0]&&"{"===hc.text[1])},vb.prototype._reset=function(){this._current_tag_name=""},vb.prototype._get_next_token=function(Vb,hc){var Tb=null;this._readWhitespace();var cc=this._input.peek();return null===cc?this._create_token(lb.EOF,""):Tb=(Tb=(Tb=(Tb=(Tb=(Tb=(Tb=(Tb=(Tb=Tb||this._read_open_handlebars(cc,hc))||this._read_attribute(cc,Vb,hc))||this._read_raw_content(cc,Vb,hc))||this._read_close(cc,hc))||this._read_content_word(cc))||this._read_comment_or_cdata(cc))||this._read_processing(cc))||this._read_open(cc,hc))||this._create_token(lb.UNKNOWN,this._input.next())},vb.prototype._read_comment_or_cdata=function(Vb){var hc=null,Tb=null,cc=null;return"<"===Vb&&("!"===this._input.peek(1)&&((Tb=this.__patterns.comment.read())?(cc=sb.get_directives(Tb))&&"start"===cc.ignore&&(Tb+=sb.readIgnored(this._input)):Tb=this.__patterns.cdata.read()),Tb&&((hc=this._create_token(lb.COMMENT,Tb)).directives=cc)),hc},vb.prototype._read_processing=function(Vb){var hc=null,Tb=null;if("<"===Vb){var cc=this._input.peek(1);"!"!==cc&&"?"!==cc||(Tb=(Tb=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),Tb&&((hc=this._create_token(lb.COMMENT,Tb)).directives=null)}return hc},vb.prototype._read_open=function(Vb,hc){var Tb=null,cc=null;return hc||"<"===Vb&&(Tb=this._input.next(),"/"===this._input.peek()&&(Tb+=this._input.next()),Tb+=this.__patterns.element_name.read(),cc=this._create_token(lb.TAG_OPEN,Tb)),cc},vb.prototype._read_open_handlebars=function(Vb,hc){var Tb=null,cc=null;return hc||this._options.indent_handlebars&&"{"===Vb&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(Tb=(Tb=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),cc=this._create_token(lb.COMMENT,Tb)):(Tb=this.__patterns.handlebars_open.read(),cc=this._create_token(lb.TAG_OPEN,Tb))),cc},vb.prototype._read_close=function(Vb,hc){var Tb=null,cc=null;return hc&&("<"===hc.text[0]&&(">"===Vb||"/"===Vb&&">"===this._input.peek(1))?(Tb=this._input.next(),"/"===Vb&&(Tb+=this._input.next()),cc=this._create_token(lb.TAG_CLOSE,Tb)):"{"===hc.text[0]&&"}"===Vb&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),cc=this._create_token(lb.TAG_CLOSE,"}}"))),cc},vb.prototype._read_attribute=function(Vb,hc,Tb){var cc=null,Rc="";if(Tb&&"<"===Tb.text[0])if("="===Vb)cc=this._create_token(lb.EQUALS,this._input.next());else if('"'===Vb||"'"===Vb){var gd=this._input.next();gd+='"'===Vb?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),cc=this._create_token(lb.VALUE,gd)}else(Rc=this.__patterns.attribute.read())&&(cc=hc.type===lb.EQUALS?this._create_token(lb.VALUE,Rc):this._create_token(lb.ATTRIBUTE,Rc));return cc},vb.prototype._is_content_unformatted=function(Vb){return-1===this._options.void_elements.indexOf(Vb)&&(-1!==this._options.content_unformatted.indexOf(Vb)||-1!==this._options.unformatted.indexOf(Vb))},vb.prototype._read_raw_content=function(Vb,hc,Tb){var cc="";if(Tb&&"{"===Tb.text[0])cc=this.__patterns.handlebars_raw_close.read();else if(hc.type===lb.TAG_CLOSE&&"<"===hc.opened.text[0]){var Rc=hc.opened.text.substr(1).toLowerCase();if("script"===Rc||"style"===Rc){var gd=this._read_comment_or_cdata(Vb);if(gd)return gd.type=lb.TEXT,gd;cc=this._input.readUntil(new RegExp("</"+Rc+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(Rc)&&(cc=this._input.readUntil(new RegExp("</"+Rc+"[\\n\\r\\t ]*?>","ig")))}return cc?this._create_token(lb.TEXT,cc):null},vb.prototype._read_content_word=function(Vb){var hc="";if(this._options.unformatted_content_delimiter&&Vb===this._options.unformatted_content_delimiter[0]&&(hc=this.__patterns.unformatted_content_delimiter.read()),hc||(hc=this.__patterns.word.read()),hc)return this._create_token(lb.TEXT,hc)},Aa.exports.Tokenizer=vb,Aa.exports.TOKEN=lb}]);function yc(Aa,ya,pa){var Ja=Aa.getText(),Na=!0,Pa=0,Fa=pa.tabSize||4;if(ya){for(var Xa=Aa.offsetAt(ya.start),lb=Xa;lb>0&&qa(Ja,lb-1);)lb--;0===lb||xa(Ja,lb-1)?Xa=lb:lb<Xa&&(Xa=lb+1);for(var sb=Aa.offsetAt(ya.end),vb=sb;vb<Ja.length&&qa(Ja,vb);)vb++;(vb===Ja.length||xa(Ja,vb))&&(sb=vb),ya=P.create(Aa.positionAt(Xa),Aa.positionAt(sb));var Vb=Ja.substring(0,Xa);if(new RegExp(/.*[<][^>]*$/).test(Vb))return[{range:ya,newText:Ja=Ja.substring(Xa,sb)}];if(Na=sb===Ja.length,Ja=Ja.substring(Xa,sb),0!==Xa){var hc=Aa.offsetAt(F.create(ya.start.line,0));Pa=function(gd,od,Wb){for(var Zb=od,kc=0,hd=Wb.tabSize||4;Zb<gd.length;){var ld=gd.charAt(Zb);if(" "===ld)kc++;else{if(" "!==ld)break;kc+=hd}Zb++}return Math.floor(kc/hd)}(Aa.getText(),hc,pa)}}else ya=P.create(F.create(0,0),Aa.positionAt(Ja.length));var Tb={indent_size:Fa,indent_char:pa.insertSpaces?" ":" ",indent_empty_lines:Ec(pa,"indentEmptyLines",!1),wrap_line_length:Ec(pa,"wrapLineLength",120),unformatted:X(pa,"unformatted",void 0),content_unformatted:X(pa,"contentUnformatted",void 0),indent_inner_html:Ec(pa,"indentInnerHtml",!1),preserve_newlines:Ec(pa,"preserveNewLines",!0),max_preserve_newlines:Ec(pa,"maxPreserveNewLines",32786),indent_handlebars:Ec(pa,"indentHandlebars",!1),end_with_newline:Na&&Ec(pa,"endWithNewline",!1),extra_liners:X(pa,"extraLiners",void 0),wrap_attributes:Ec(pa,"wrapAttributes","auto"),wrap_attributes_indent_size:Ec(pa,"wrapAttributesIndentSize",void 0),eol:` -`},cc=function(gd,od){return pc(gd,od,Lb,Ub)}(Ja.replace(/^\s+/,""),Tb);if(Pa>0){var Rc=pa.insertSpaces?Ed(" ",Fa*Pa):Ed(" ",Pa);cc=cc.split(` +`;if(this._buffer.getEOL()===ne)return;let _e=this.getFullModelRange(),Fe=this.getValueLengthInRange(_e),Xe=this.getLineCount(),ot=this.getLineMaxColumn(Xe);this._onBeforeEOLChange(),this._buffer.setEOL(ne),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new Ue([new vt],this._versionId,!1,!1),this._createContentChanged2(new Q.a(1,1,Xe,ot),0,Fe,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){let I=this.getVersionId(),ne=this._decorationsTree.search(0,!1,!1,I);this._ensureNodesHaveRanges(ne)}_onAfterEOLChange(){let I=this.getVersionId(),ne=this._decorationsTree.collectNodesPostOrder();for(let _e=0,Fe=ne.length;_e<Fe;_e++){let Xe=ne[_e],ot=Xe.cachedAbsoluteStart-Xe.start,Mt=this._buffer.getOffsetAt(Xe.range.startLineNumber,Xe.range.startColumn),Ot=this._buffer.getOffsetAt(Xe.range.endLineNumber,Xe.range.endColumn);Xe.cachedAbsoluteStart=Mt,Xe.cachedAbsoluteEnd=Ot,Xe.cachedVersionId=I,Xe.start=Mt-ot,Xe.end=Ot-ot,ct(Xe)}}onBeforeAttached(){this._attachedEditorCount++,this._attachedEditorCount===1&&this._onDidChangeAttached.fire(void 0)}onBeforeDetached(){this._attachedEditorCount--,this._attachedEditorCount===0&&this._onDidChangeAttached.fire(void 0)}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let I=0,ne=0,_e=this._buffer.getLineCount();for(let Fe=1;Fe<=_e;Fe++){let Xe=this._buffer.getLineLength(Fe);Xe>=1e4?ne+=Xe:I+=Xe}return ne>I}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(I){this._assertNotDisposed();let ne=I.tabSize!==void 0?I.tabSize:this._options.tabSize,_e=I.indentSize!==void 0?I.indentSize:this._options.indentSize,Fe=I.insertSpaces!==void 0?I.insertSpaces:this._options.insertSpaces,Xe=I.trimAutoWhitespace!==void 0?I.trimAutoWhitespace:this._options.trimAutoWhitespace,ot=new C.e({tabSize:ne,indentSize:_e,insertSpaces:Fe,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:Xe});if(this._options.equals(ot))return;let Mt=this._options.createChangeEvent(ot);this._options=ot,this._onDidChangeOptions.fire(Mt)}detectIndentation(I,ne){this._assertNotDisposed();let _e=k(this._buffer,ne,I);this.updateOptions({insertSpaces:_e.insertSpaces,tabSize:_e.tabSize,indentSize:_e.tabSize})}static _normalizeIndentationFromWhitespace(I,ne,_e){let Fe=0;for(let ot=0;ot<I.length;ot++)I.charAt(ot)===" "?Fe+=ne:Fe++;let Xe="";if(!_e){let ot=Math.floor(Fe/ne);Fe%=ne;for(let Mt=0;Mt<ot;Mt++)Xe+=" "}for(let ot=0;ot<Fe;ot++)Xe+=" ";return Xe}static normalizeIndentation(I,ne,_e){let Fe=H.w(I);return Fe===-1&&(Fe=I.length),Mn._normalizeIndentationFromWhitespace(I.substring(0,Fe),ne,_e)+I.substring(Fe)}normalizeIndentation(I){return this._assertNotDisposed(),Mn.normalizeIndentation(I,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(I=null){let ne=this.findMatches(H.a.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(I,ne.map(_e=>({range:_e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getOffsetAt(I){this._assertNotDisposed();let ne=this._validatePosition(I.lineNumber,I.column,0);return this._buffer.getOffsetAt(ne.lineNumber,ne.column)}getPositionAt(I){this._assertNotDisposed();let ne=Math.min(this._buffer.getLength(),Math.max(0,I));return this._buffer.getPositionAt(ne)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(I){this._versionId=I}_overwriteAlternativeVersionId(I){this._alternativeVersionId=I}_overwriteInitialUndoRedoSnapshot(I){this._initialUndoRedoSnapshot=I}getValue(I,ne=!1){this._assertNotDisposed();let _e=this.getFullModelRange(),Fe=this.getValueInRange(_e,I);return ne?this._buffer.getBOM()+Fe:Fe}createSnapshot(I=!1){return new xn(this._buffer.createSnapshot(I))}getValueLength(I,ne=!1){this._assertNotDisposed();let _e=this.getFullModelRange(),Fe=this.getValueLengthInRange(_e,I);return ne?this._buffer.getBOM().length+Fe:Fe}getValueInRange(I,ne=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(I),ne)}getValueLengthInRange(I,ne=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(I),ne)}getCharacterCountInRange(I,ne=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(I),ne)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(I){if(this._assertNotDisposed(),I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(I)}getLineLength(I){if(this._assertNotDisposed(),I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(I)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getLineMinColumn(I){return this._assertNotDisposed(),1}getLineMaxColumn(I){if(this._assertNotDisposed(),I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(I)+1}getLineFirstNonWhitespaceColumn(I){if(this._assertNotDisposed(),I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(I)}getLineLastNonWhitespaceColumn(I){if(this._assertNotDisposed(),I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(I)}_validateRangeRelaxedNoAllocations(I){let ne=this._buffer.getLineCount(),_e=I.startLineNumber,Fe=I.startColumn,Xe,ot;if(_e<1)Xe=1,ot=1;else if(_e>ne)Xe=ne,ot=this.getLineMaxColumn(Xe);else if(Xe=0|_e,Fe<=1)ot=1;else{let jt=this.getLineMaxColumn(Xe);ot=Fe>=jt?jt:0|Fe}let Mt=I.endLineNumber,Ot=I.endColumn,Tt,Ht;if(Mt<1)Tt=1,Ht=1;else if(Mt>ne)Tt=ne,Ht=this.getLineMaxColumn(Tt);else if(Tt=0|Mt,Ot<=1)Ht=1;else{let jt=this.getLineMaxColumn(Tt);Ht=Ot>=jt?jt:0|Ot}return _e===Xe&&Fe===ot&&Mt===Tt&&Ot===Ht&&I instanceof Q.a&&!(I instanceof y.a)?I:new Q.a(Xe,ot,Tt,Ht)}_isValidPosition(I,ne,_e){if(typeof I!="number"||typeof ne!="number"||isNaN(I)||isNaN(ne)||I<1||ne<1||(0|I)!==I||(0|ne)!==ne||I>this._buffer.getLineCount())return!1;if(ne===1)return!0;if(ne>this.getLineMaxColumn(I))return!1;if(_e===1){let Fe=this._buffer.getLineCharCode(I,ne-2);if(H.F(Fe))return!1}return!0}_validatePosition(I,ne,_e){let Fe=Math.floor(typeof I!="number"||isNaN(I)?1:I),Xe=Math.floor(typeof ne!="number"||isNaN(ne)?1:ne),ot=this._buffer.getLineCount();if(Fe<1)return new W.a(1,1);if(Fe>ot)return new W.a(ot,this.getLineMaxColumn(ot));if(Xe<=1)return new W.a(Fe,1);let Mt=this.getLineMaxColumn(Fe);if(Xe>=Mt)return new W.a(Fe,Mt);if(_e===1){let Ot=this._buffer.getLineCharCode(Fe,Xe-2);if(H.F(Ot))return new W.a(Fe,Xe-1)}return new W.a(Fe,Xe)}validatePosition(I){return this._assertNotDisposed(),I instanceof W.a&&this._isValidPosition(I.lineNumber,I.column,1)?I:this._validatePosition(I.lineNumber,I.column,1)}_isValidRange(I,ne){let _e=I.startLineNumber,Fe=I.startColumn,Xe=I.endLineNumber,ot=I.endColumn;if(!this._isValidPosition(_e,Fe,0)||!this._isValidPosition(Xe,ot,0))return!1;if(ne===1){let Mt=Fe>1?this._buffer.getLineCharCode(_e,Fe-2):0,Ot=ot>1&&ot<=this._buffer.getLineLength(Xe)?this._buffer.getLineCharCode(Xe,ot-2):0,Tt=H.F(Mt),Ht=H.F(Ot);return!Tt&&!Ht}return!0}validateRange(I){if(this._assertNotDisposed(),I instanceof Q.a&&!(I instanceof y.a)&&this._isValidRange(I,1))return I;let ne=this._validatePosition(I.startLineNumber,I.startColumn,0),_e=this._validatePosition(I.endLineNumber,I.endColumn,0),Fe=ne.lineNumber,Xe=ne.column,ot=_e.lineNumber,Mt=_e.column;{let Ot=Xe>1?this._buffer.getLineCharCode(Fe,Xe-2):0,Tt=Mt>1&&Mt<=this._buffer.getLineLength(ot)?this._buffer.getLineCharCode(ot,Mt-2):0,Ht=H.F(Ot),jt=H.F(Tt);return Ht||jt?Fe===ot&&Xe===Mt?new Q.a(Fe,Xe-1,ot,Mt-1):Ht&&jt?new Q.a(Fe,Xe-1,ot,Mt+1):Ht?new Q.a(Fe,Xe-1,ot,Mt):new Q.a(Fe,Xe,ot,Mt+1):new Q.a(Fe,Xe,ot,Mt)}}modifyPosition(I,ne){this._assertNotDisposed();let _e=this.getOffsetAt(I)+ne;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,_e)))}getFullModelRange(){this._assertNotDisposed();let I=this.getLineCount();return new Q.a(1,1,I,this.getLineMaxColumn(I))}findMatchesLineByLine(I,ne,_e,Fe){return this._buffer.findMatchesLineByLine(I,ne,_e,Fe)}findMatches(I,ne,_e,Fe,Xe,ot,Mt=999){this._assertNotDisposed();let Ot=null;ne!==null&&(Array.isArray(ne)||(ne=[ne]),ne.every(jt=>Q.a.isIRange(jt))&&(Ot=ne.map(jt=>this.validateRange(jt)))),Ot===null&&(Ot=[this.getFullModelRange()]),Ot=Ot.sort((jt,Kt)=>jt.startLineNumber-Kt.startLineNumber||jt.startColumn-Kt.startColumn);let Tt=[],Ht;if(Tt.push(Ot.reduce((jt,Kt)=>Q.a.areIntersecting(jt,Kt)?jt.plusRange(Kt):(Tt.push(jt),Kt))),!_e&&I.indexOf(` +`)<0){let jt=new At.a(I,_e,Fe,Xe).parseSearchRequest();if(!jt)return[];Ht=Kt=>this.findMatchesLineByLine(Kt,jt,ot,Mt)}else Ht=jt=>At.c.findMatches(this,new At.a(I,_e,Fe,Xe),jt,ot,Mt);return Tt.map(Ht).reduce((jt,Kt)=>jt.concat(Kt),[])}findNextMatch(I,ne,_e,Fe,Xe,ot){this._assertNotDisposed();let Mt=this.validatePosition(ne);if(!_e&&I.indexOf(` +`)<0){let Ot=new At.a(I,_e,Fe,Xe).parseSearchRequest();if(!Ot)return null;let Tt=this.getLineCount(),Ht=new Q.a(Mt.lineNumber,Mt.column,Tt,this.getLineMaxColumn(Tt)),jt=this.findMatchesLineByLine(Ht,Ot,ot,1);return At.c.findNextMatch(this,new At.a(I,_e,Fe,Xe),Mt,ot),jt.length>0?jt[0]:(Ht=new Q.a(1,1,Mt.lineNumber,this.getLineMaxColumn(Mt.lineNumber)),jt=this.findMatchesLineByLine(Ht,Ot,ot,1),jt.length>0?jt[0]:null)}return At.c.findNextMatch(this,new At.a(I,_e,Fe,Xe),Mt,ot)}findPreviousMatch(I,ne,_e,Fe,Xe,ot){this._assertNotDisposed();let Mt=this.validatePosition(ne);return At.c.findPreviousMatch(this,new At.a(I,_e,Fe,Xe),Mt,ot)}pushStackElement(){this._commandManager.pushStackElement()}pushEOL(I){if((this.getEOL()===` +`?0:1)!==I)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(I)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(I){return I instanceof C.f?I:new C.f(I.identifier||null,this.validateRange(I.range),I.text,I.forceMoveMarkers||!1,I.isAutoWhitespaceEdit||!1,I._isTracked||!1)}_validateEditOperations(I){let ne=[];for(let _e=0,Fe=I.length;_e<Fe;_e++)ne[_e]=this._validateEditOperation(I[_e]);return ne}pushEditOperations(I,ne,_e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(I,this._validateEditOperations(ne),_e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(I,ne,_e){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){let Fe=ne.map(ot=>({range:this.validateRange(ot.range),text:ot.text})),Xe=!0;if(I)for(let ot=0,Mt=I.length;ot<Mt;ot++){let Ot=I[ot],Tt=!1;for(let Ht=0,jt=Fe.length;Ht<jt;Ht++){let Kt=Fe[Ht].range,wi=Kt.startLineNumber>Ot.endLineNumber,Ti=Ot.startLineNumber>Kt.endLineNumber;if(!wi&&!Ti){Tt=!0;break}}if(!Tt){Xe=!1;break}}if(Xe)for(let ot=0,Mt=this._trimAutoWhitespaceLines.length;ot<Mt;ot++){let Ot=this._trimAutoWhitespaceLines[ot],Tt=this.getLineMaxColumn(Ot),Ht=!0;for(let jt=0,Kt=Fe.length;jt<Kt;jt++){let wi=Fe[jt].range,Ti=Fe[jt].text;if(!(Ot<wi.startLineNumber||Ot>wi.endLineNumber)&&!(Ot===wi.startLineNumber&&wi.startColumn===Tt&&wi.isEmpty()&&Ti&&Ti.length>0&&Ti.charAt(0)===` +`||Ot===wi.startLineNumber&&wi.startColumn===1&&wi.isEmpty()&&Ti&&Ti.length>0&&Ti.charAt(Ti.length-1)===` +`)){Ht=!1;break}}if(Ht){let jt=new Q.a(Ot,1,Ot,Tt);ne.push(new C.f(null,jt,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(I,ne,_e)}_applyUndo(I,ne,_e,Fe){let Xe=I.map(ot=>{let Mt=this.getPositionAt(ot.newPosition),Ot=this.getPositionAt(ot.newEnd);return{range:new Q.a(Mt.lineNumber,Mt.column,Ot.lineNumber,Ot.column),text:ot.oldText}});this._applyUndoRedoEdits(Xe,ne,!0,!1,_e,Fe)}_applyRedo(I,ne,_e,Fe){let Xe=I.map(ot=>{let Mt=this.getPositionAt(ot.oldPosition),Ot=this.getPositionAt(ot.oldEnd);return{range:new Q.a(Mt.lineNumber,Mt.column,Ot.lineNumber,Ot.column),text:ot.newText}});this._applyUndoRedoEdits(Xe,ne,!1,!0,_e,Fe)}_applyUndoRedoEdits(I,ne,_e,Fe,Xe,ot){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=_e,this._isRedoing=Fe,this.applyEdits(I,!1),this.setEOL(ne),this._overwriteAlternativeVersionId(Xe)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(ot),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(I,ne=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();let _e=this._validateEditOperations(I);return this._doApplyEdits(_e,ne)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(I,ne){let _e=this._buffer.getLineCount(),Fe=this._buffer.applyEdits(I,this._options.trimAutoWhitespace,ne),Xe=this._buffer.getLineCount(),ot=Fe.changes;if(this._trimAutoWhitespaceLines=Fe.trimAutoWhitespaceLineNumbers,ot.length!==0){let Mt=[],Ot=_e;for(let Tt=0,Ht=ot.length;Tt<Ht;Tt++){let jt=ot[Tt],[Kt,wi,Ti]=Object(Ii.f)(jt.text);this._tokens.acceptEdit(jt.range,Kt,wi),this._tokens2.acceptEdit(jt.range,Kt,wi,Ti,jt.text.length>0?jt.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(jt.rangeOffset,jt.rangeLength,jt.text.length,jt.forceMoveMarkers);let ft=jt.range.startLineNumber,X=jt.range.endLineNumber,ae=X-ft,Ge=Kt,lt=Math.min(ae,Ge),Dt=Ge-ae;for(let Gt=lt;Gt>=0;Gt--){let ti=ft+Gt,ye=Xe-Ot-Dt+ti;Mt.push(new gt(ti,this.getLineContent(ye)))}if(lt<ae){let Gt=ft+lt;Mt.push(new vi(Gt+1,X))}if(lt<Ge){let Gt=ft+lt,ti=Ge-lt,ye=Xe-Ot-ti+Gt+1,le=[];for(let ue=0;ue<ti;ue++){let qe=ye+ue;le[qe-ye]=this.getLineContent(qe)}Mt.push(new Rt(Gt+1,ft+Ge,le))}Ot+=Dt}this._increaseVersionId(),this._emitContentChangedEvent(new Ue(Mt,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:ot,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return Fe.reverseEdits===null?void 0:Fe.reverseEdits}undo(){this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}changeDecorations(I,ne=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(ne,I)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(I,ne){let _e={addDecoration:(Xe,ot)=>this._deltaDecorationsImpl(I,[],[{range:Xe,options:ot}])[0],changeDecoration:(Xe,ot)=>{this._changeDecorationImpl(Xe,ot)},changeDecorationOptions:(Xe,ot)=>{this._changeDecorationOptionsImpl(Xe,ho(ot))},removeDecoration:Xe=>{this._deltaDecorationsImpl(I,[Xe],[])},deltaDecorations:(Xe,ot)=>Xe.length===0&&ot.length===0?[]:this._deltaDecorationsImpl(I,Xe,ot)},Fe=null;try{Fe=ne(_e)}catch(Xe){Object(h.e)(Xe)}return _e.addDecoration=un,_e.changeDecoration=un,_e.changeDecorationOptions=un,_e.removeDecoration=un,_e.deltaDecorations=un,Fe}deltaDecorations(I,ne,_e=0){if(this._assertNotDisposed(),I||(I=[]),I.length===0&&ne.length===0)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(_e,I,ne)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(I){return this.getDecorationRange(I)}_setTrackedRange(I,ne,_e){let Fe=I?this._decorations[I]:null;if(!Fe)return ne?this._deltaDecorationsImpl(0,[],[{range:ne,options:on[_e]}])[0]:null;if(!ne)return this._decorationsTree.delete(Fe),delete this._decorations[Fe.id],null;let Xe=this._validateRangeRelaxedNoAllocations(ne),ot=this._buffer.getOffsetAt(Xe.startLineNumber,Xe.startColumn),Mt=this._buffer.getOffsetAt(Xe.endLineNumber,Xe.endColumn);return this._decorationsTree.delete(Fe),Fe.reset(this.getVersionId(),ot,Mt,Xe),Fe.setOptions(on[_e]),this._decorationsTree.insert(Fe),Fe.id}removeAllDecorationsWithOwnerId(I){if(this._isDisposed)return;let ne=this._decorationsTree.collectNodesFromOwner(I);for(let _e=0,Fe=ne.length;_e<Fe;_e++){let Xe=ne[_e];this._decorationsTree.delete(Xe),delete this._decorations[Xe.id]}}getDecorationOptions(I){let ne=this._decorations[I];return ne?ne.options:null}getDecorationRange(I){let ne=this._decorations[I];if(!ne)return null;let _e=this.getVersionId();return ne.cachedVersionId!==_e&&this._decorationsTree.resolveNode(ne,_e),ne.range===null&&(ne.range=this._getRangeAt(ne.cachedAbsoluteStart,ne.cachedAbsoluteEnd)),ne.range}getLineDecorations(I,ne=0,_e=!1){return I<1||I>this.getLineCount()?[]:this.getLinesDecorations(I,I,ne,_e)}getLinesDecorations(I,ne,_e=0,Fe=!1){let Xe=this.getLineCount(),ot=Math.min(Xe,Math.max(1,I)),Mt=Math.min(Xe,Math.max(1,ne)),Ot=this.getLineMaxColumn(Mt);return this._getDecorationsInRange(new Q.a(ot,1,Mt,Ot),_e,Fe)}getDecorationsInRange(I,ne=0,_e=!1){let Fe=this.validateRange(I);return this._getDecorationsInRange(Fe,ne,_e)}getOverviewRulerDecorations(I=0,ne=!1){let _e=this.getVersionId(),Fe=this._decorationsTree.search(I,ne,!0,_e);return this._ensureNodesHaveRanges(Fe)}getAllDecorations(I=0,ne=!1){let _e=this.getVersionId(),Fe=this._decorationsTree.search(I,ne,!1,_e);return this._ensureNodesHaveRanges(Fe)}_getDecorationsInRange(I,ne,_e){let Fe=this._buffer.getOffsetAt(I.startLineNumber,I.startColumn),Xe=this._buffer.getOffsetAt(I.endLineNumber,I.endColumn),ot=this.getVersionId(),Mt=this._decorationsTree.intervalSearch(Fe,Xe,ne,_e,ot);return this._ensureNodesHaveRanges(Mt)}_ensureNodesHaveRanges(I){for(let ne=0,_e=I.length;ne<_e;ne++){let Fe=I[ne];Fe.range===null&&(Fe.range=this._getRangeAt(Fe.cachedAbsoluteStart,Fe.cachedAbsoluteEnd))}return I}_getRangeAt(I,ne){return this._buffer.getRangeAt(I,ne-I)}_changeDecorationImpl(I,ne){let _e=this._decorations[I];if(!_e)return;let Fe=this._validateRangeRelaxedNoAllocations(ne),Xe=this._buffer.getOffsetAt(Fe.startLineNumber,Fe.startColumn),ot=this._buffer.getOffsetAt(Fe.endLineNumber,Fe.endColumn);this._decorationsTree.delete(_e),_e.reset(this.getVersionId(),Xe,ot,Fe),this._decorationsTree.insert(_e),this._onDidChangeDecorations.checkAffectedAndFire(_e.options)}_changeDecorationOptionsImpl(I,ne){let _e=this._decorations[I];if(!_e)return;let Fe=!(!_e.options.overviewRuler||!_e.options.overviewRuler.color),Xe=!(!ne.overviewRuler||!ne.overviewRuler.color);this._onDidChangeDecorations.checkAffectedAndFire(_e.options),this._onDidChangeDecorations.checkAffectedAndFire(ne),Fe!==Xe?(this._decorationsTree.delete(_e),_e.setOptions(ne),this._decorationsTree.insert(_e)):_e.setOptions(ne)}_deltaDecorationsImpl(I,ne,_e){let Fe=this.getVersionId(),Xe=ne.length,ot=0,Mt=_e.length,Ot=0,Tt=new Array(Mt);for(;ot<Xe||Ot<Mt;){let Ht=null;if(ot<Xe){do Ht=this._decorations[ne[ot++]];while(!Ht&&ot<Xe);Ht&&(this._decorationsTree.delete(Ht),this._onDidChangeDecorations.checkAffectedAndFire(Ht.options))}if(Ot<Mt){if(!Ht){let X=++this._lastDecorationId,ae=`${this._instanceId};${X}`;Ht=new se(ae,0,0),this._decorations[ae]=Ht}let jt=_e[Ot],Kt=this._validateRangeRelaxedNoAllocations(jt.range),wi=ho(jt.options),Ti=this._buffer.getOffsetAt(Kt.startLineNumber,Kt.startColumn),ft=this._buffer.getOffsetAt(Kt.endLineNumber,Kt.endColumn);Ht.ownerId=I,Ht.reset(Fe,Ti,ft,Kt),Ht.setOptions(wi),this._onDidChangeDecorations.checkAffectedAndFire(wi),this._decorationsTree.insert(Ht),Tt[Ot]=Ht.id,Ot++}else Ht&&delete this._decorations[Ht.id]}return Tt}setTokens(I){if(I.length===0)return;let ne=[];for(let _e=0,Fe=I.length;_e<Fe;_e++){let Xe=I[_e],ot=0,Mt=0,Ot=!1;for(let Tt=0,Ht=Xe.tokens.length;Tt<Ht;Tt++){let jt=Xe.startLineNumber+Tt;Ot?(this._tokens.setTokens(this._languageIdentifier.id,jt-1,this._buffer.getLineLength(jt),Xe.tokens[Tt],!1),Mt=jt):this._tokens.setTokens(this._languageIdentifier.id,jt-1,this._buffer.getLineLength(jt),Xe.tokens[Tt],!0)&&(Ot=!0,ot=jt,Mt=jt)}Ot&&ne.push({fromLineNumber:ot,toLineNumber:Mt})}ne.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:ne})}setSemanticTokens(I,ne){this._tokens2.set(I,ne),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:I!==null,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasSemanticTokens(){return this._tokens2.isComplete()}setPartialSemanticTokens(I,ne){if(this.hasSemanticTokens())return;let _e=this._tokens2.setPartial(I,ne);this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:_e.startLineNumber,toLineNumber:_e.endLineNumber}]})}tokenizeViewport(I,ne){I=Math.max(1,I),ne=Math.min(this._buffer.getLineCount(),ne),this._tokenization.tokenizeViewport(I,ne)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(I){this._isDisposing||this._onDidChangeTokens.fire(I)}resetTokenization(){this._tokenization.reset()}forceTokenization(I){if(I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(I)}isCheapToTokenize(I){return this._tokenization.isCheapToTokenize(I)}tokenizeIfCheap(I){this.isCheapToTokenize(I)&&this.forceTokenization(I)}getLineTokens(I){if(I<1||I>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(I)}_getLineTokens(I){let ne=this.getLineContent(I),_e=this._tokens.getTokens(this._languageIdentifier.id,I-1,ne);return this._tokens2.addSemanticTokens(I,_e)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(I){if(this._languageIdentifier.id===I.id)return;let ne={oldLanguage:this._languageIdentifier.language,newLanguage:I.language};this._languageIdentifier=I,this._onDidChangeLanguage.fire(ne),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(I,ne){let _e=this.validatePosition(new W.a(I,ne)),Fe=this.getLineTokens(_e.lineNumber);return Fe.getLanguageId(Fe.findTokenIndexAtOffset(_e.column-1))}getWordAtPosition(I){this._assertNotDisposed();let ne=this.validatePosition(I),_e=this.getLineContent(ne.lineNumber),Fe=this._getLineTokens(ne.lineNumber),Xe=Fe.findTokenIndexAtOffset(ne.column-1),[ot,Mt]=Mn._findLanguageBoundaries(Fe,Xe),Ot=Object(Hi.d)(ne.column,yi.a.getWordDefinition(Fe.getLanguageId(Xe)),_e.substring(ot,Mt),ot);if(Ot&&Ot.startColumn<=I.column&&I.column<=Ot.endColumn)return Ot;if(Xe>0&&ot===ne.column-1){let[Tt,Ht]=Mn._findLanguageBoundaries(Fe,Xe-1),jt=Object(Hi.d)(ne.column,yi.a.getWordDefinition(Fe.getLanguageId(Xe-1)),_e.substring(Tt,Ht),Tt);if(jt&&jt.startColumn<=I.column&&I.column<=jt.endColumn)return jt}return null}static _findLanguageBoundaries(I,ne){let _e=I.getLanguageId(ne),Fe=0;for(let ot=ne;ot>=0&&I.getLanguageId(ot)===_e;ot--)Fe=I.getStartOffset(ot);let Xe=I.getLineContent().length;for(let ot=ne,Mt=I.getCount();ot<Mt&&I.getLanguageId(ot)===_e;ot++)Xe=I.getEndOffset(ot);return[Fe,Xe]}getWordUntilPosition(I){let ne=this.getWordAtPosition(I);return ne?{word:ne.word.substr(0,I.column-ne.startColumn),startColumn:ne.startColumn,endColumn:I.column}:{word:"",startColumn:I.column,endColumn:I.column}}findMatchingBracketUp(I,ne){let _e=I.toLowerCase(),Fe=this.validatePosition(ne),Xe=this._getLineTokens(Fe.lineNumber),ot=Xe.getLanguageId(Xe.findTokenIndexAtOffset(Fe.column-1)),Mt=yi.a.getBracketsSupport(ot);if(!Mt)return null;let Ot=Mt.textIsBracket[_e];return Ot?Fn(this._findMatchingBracketUp(Ot,Fe,null)):null}matchBracket(I){return this._matchBracket(this.validatePosition(I))}_matchBracket(I){let ne=I.lineNumber,_e=this._getLineTokens(ne),Fe=_e.getCount(),Xe=this._buffer.getLineContent(ne),ot=_e.findTokenIndexAtOffset(I.column-1);if(ot<0)return null;let Mt=yi.a.getBracketsSupport(_e.getLanguageId(ot));if(Mt&&!Object(kt.b)(_e.getStandardTokenType(ot))){let Ot=Math.max(0,I.column-1-Mt.maxBracketLength);for(let jt=ot-1;jt>=0;jt--){let Kt=_e.getEndOffset(jt);if(Kt<=Ot)break;Object(kt.b)(_e.getStandardTokenType(jt))&&(Ot=Kt)}let Tt=Math.min(Xe.length,I.column-1+Mt.maxBracketLength),Ht=null;for(;;){let jt=Et.a.findNextBracketInRange(Mt.forwardRegex,ne,Xe,Ot,Tt);if(!jt)break;if(jt.startColumn<=I.column&&I.column<=jt.endColumn){let Kt=Xe.substring(jt.startColumn-1,jt.endColumn-1).toLowerCase(),wi=this._matchFoundBracket(jt,Mt.textIsBracket[Kt],Mt.textIsOpenBracket[Kt],null);if(wi){if(wi instanceof bn)return null;Ht=wi}}Ot=jt.endColumn-1}if(Ht)return Ht}if(ot>0&&_e.getStartOffset(ot)===I.column-1){let Ot=ot-1,Tt=yi.a.getBracketsSupport(_e.getLanguageId(Ot));if(Tt&&!Object(kt.b)(_e.getStandardTokenType(Ot))){let Ht=Math.max(0,I.column-1-Tt.maxBracketLength),jt=Math.min(Xe.length,I.column-1+Tt.maxBracketLength);for(let wi=Ot+1;wi<Fe;wi++){let Ti=_e.getStartOffset(wi);if(Ti>=jt)break;Object(kt.b)(_e.getStandardTokenType(wi))&&(jt=Ti)}let Kt=Et.a.findPrevBracketInRange(Tt.reversedRegex,ne,Xe,Ht,jt);if(Kt&&Kt.startColumn<=I.column&&I.column<=Kt.endColumn){let wi=Xe.substring(Kt.startColumn-1,Kt.endColumn-1).toLowerCase(),Ti=this._matchFoundBracket(Kt,Tt.textIsBracket[wi],Tt.textIsOpenBracket[wi],null);if(Ti)return Ti instanceof bn?null:Ti}}}return null}_matchFoundBracket(I,ne,_e,Fe){if(!ne)return null;let Xe=_e?this._findMatchingBracketDown(ne,I.getEndPosition(),Fe):this._findMatchingBracketUp(ne,I.getStartPosition(),Fe);return Xe?Xe instanceof bn?Xe:[I,Xe]:null}_findMatchingBracketUp(I,ne,_e){let Fe=I.languageIdentifier.id,Xe=I.reversedRegex,ot=-1,Mt=0,Ot=(Tt,Ht,jt,Kt)=>{for(;;){if(_e&&++Mt%100==0&&!_e())return bn.INSTANCE;let wi=Et.a.findPrevBracketInRange(Xe,Tt,Ht,jt,Kt);if(!wi)break;let Ti=Ht.substring(wi.startColumn-1,wi.endColumn-1).toLowerCase();if(I.isOpen(Ti)?ot++:I.isClose(Ti)&&ot--,ot===0)return wi;Kt=wi.startColumn-1}return null};for(let Tt=ne.lineNumber;Tt>=1;Tt--){let Ht=this._getLineTokens(Tt),jt=Ht.getCount(),Kt=this._buffer.getLineContent(Tt),wi=jt-1,Ti=Kt.length,ft=Kt.length;Tt===ne.lineNumber&&(wi=Ht.findTokenIndexAtOffset(ne.column-1),Ti=ne.column-1,ft=ne.column-1);let X=!0;for(;wi>=0;wi--){let ae=Ht.getLanguageId(wi)===Fe&&!Object(kt.b)(Ht.getStandardTokenType(wi));if(ae)X?Ti=Ht.getStartOffset(wi):(Ti=Ht.getStartOffset(wi),ft=Ht.getEndOffset(wi));else if(X&&Ti!==ft){let Ge=Ot(Tt,Kt,Ti,ft);if(Ge)return Ge}X=ae}if(X&&Ti!==ft){let ae=Ot(Tt,Kt,Ti,ft);if(ae)return ae}}return null}_findMatchingBracketDown(I,ne,_e){let Fe=I.languageIdentifier.id,Xe=I.forwardRegex,ot=1,Mt=0,Ot=(Ht,jt,Kt,wi)=>{for(;;){if(_e&&++Mt%100==0&&!_e())return bn.INSTANCE;let Ti=Et.a.findNextBracketInRange(Xe,Ht,jt,Kt,wi);if(!Ti)break;let ft=jt.substring(Ti.startColumn-1,Ti.endColumn-1).toLowerCase();if(I.isOpen(ft)?ot++:I.isClose(ft)&&ot--,ot===0)return Ti;Kt=Ti.endColumn-1}return null},Tt=this.getLineCount();for(let Ht=ne.lineNumber;Ht<=Tt;Ht++){let jt=this._getLineTokens(Ht),Kt=jt.getCount(),wi=this._buffer.getLineContent(Ht),Ti=0,ft=0,X=0;Ht===ne.lineNumber&&(Ti=jt.findTokenIndexAtOffset(ne.column-1),ft=ne.column-1,X=ne.column-1);let ae=!0;for(;Ti<Kt;Ti++){let Ge=jt.getLanguageId(Ti)===Fe&&!Object(kt.b)(jt.getStandardTokenType(Ti));if(Ge)ae||(ft=jt.getStartOffset(Ti)),X=jt.getEndOffset(Ti);else if(ae&&ft!==X){let lt=Ot(Ht,wi,ft,X);if(lt)return lt}ae=Ge}if(ae&&ft!==X){let Ge=Ot(Ht,wi,ft,X);if(Ge)return Ge}}return null}findPrevBracket(I){let ne=this.validatePosition(I),_e=-1,Fe=null;for(let Xe=ne.lineNumber;Xe>=1;Xe--){let ot=this._getLineTokens(Xe),Mt=ot.getCount(),Ot=this._buffer.getLineContent(Xe),Tt=Mt-1,Ht=Ot.length,jt=Ot.length;if(Xe===ne.lineNumber){Tt=ot.findTokenIndexAtOffset(ne.column-1),Ht=ne.column-1,jt=ne.column-1;let wi=ot.getLanguageId(Tt);_e!==wi&&(_e=wi,Fe=yi.a.getBracketsSupport(_e))}let Kt=!0;for(;Tt>=0;Tt--){let wi=ot.getLanguageId(Tt);if(_e!==wi){if(Fe&&Kt&&Ht!==jt){let ft=Et.a.findPrevBracketInRange(Fe.reversedRegex,Xe,Ot,Ht,jt);if(ft)return this._toFoundBracket(Fe,ft);Kt=!1}_e=wi,Fe=yi.a.getBracketsSupport(_e)}let Ti=!!Fe&&!Object(kt.b)(ot.getStandardTokenType(Tt));if(Ti)Kt?Ht=ot.getStartOffset(Tt):(Ht=ot.getStartOffset(Tt),jt=ot.getEndOffset(Tt));else if(Fe&&Kt&&Ht!==jt){let ft=Et.a.findPrevBracketInRange(Fe.reversedRegex,Xe,Ot,Ht,jt);if(ft)return this._toFoundBracket(Fe,ft)}Kt=Ti}if(Fe&&Kt&&Ht!==jt){let wi=Et.a.findPrevBracketInRange(Fe.reversedRegex,Xe,Ot,Ht,jt);if(wi)return this._toFoundBracket(Fe,wi)}}return null}findNextBracket(I){let ne=this.validatePosition(I),_e=this.getLineCount(),Fe=-1,Xe=null;for(let ot=ne.lineNumber;ot<=_e;ot++){let Mt=this._getLineTokens(ot),Ot=Mt.getCount(),Tt=this._buffer.getLineContent(ot),Ht=0,jt=0,Kt=0;if(ot===ne.lineNumber){Ht=Mt.findTokenIndexAtOffset(ne.column-1),jt=ne.column-1,Kt=ne.column-1;let Ti=Mt.getLanguageId(Ht);Fe!==Ti&&(Fe=Ti,Xe=yi.a.getBracketsSupport(Fe))}let wi=!0;for(;Ht<Ot;Ht++){let Ti=Mt.getLanguageId(Ht);if(Fe!==Ti){if(Xe&&wi&&jt!==Kt){let X=Et.a.findNextBracketInRange(Xe.forwardRegex,ot,Tt,jt,Kt);if(X)return this._toFoundBracket(Xe,X);wi=!1}Fe=Ti,Xe=yi.a.getBracketsSupport(Fe)}let ft=!!Xe&&!Object(kt.b)(Mt.getStandardTokenType(Ht));if(ft)wi||(jt=Mt.getStartOffset(Ht)),Kt=Mt.getEndOffset(Ht);else if(Xe&&wi&&jt!==Kt){let X=Et.a.findNextBracketInRange(Xe.forwardRegex,ot,Tt,jt,Kt);if(X)return this._toFoundBracket(Xe,X)}wi=ft}if(Xe&&wi&&jt!==Kt){let Ti=Et.a.findNextBracketInRange(Xe.forwardRegex,ot,Tt,jt,Kt);if(Ti)return this._toFoundBracket(Xe,Ti)}}return null}findEnclosingBrackets(I,ne){let _e;if(ne===void 0)_e=null;else{let wi=Date.now();_e=()=>Date.now()-wi<=ne}let Fe=this.validatePosition(I),Xe=this.getLineCount(),ot=new Map,Mt=[],Ot=(wi,Ti)=>{if(!ot.has(wi)){let ft=[];for(let X=0,ae=Ti?Ti.brackets.length:0;X<ae;X++)ft[X]=0;ot.set(wi,ft)}Mt=ot.get(wi)},Tt=0,Ht=(wi,Ti,ft,X,ae)=>{for(;;){if(_e&&++Tt%100==0&&!_e())return bn.INSTANCE;let Ge=Et.a.findNextBracketInRange(wi.forwardRegex,Ti,ft,X,ae);if(!Ge)break;let lt=ft.substring(Ge.startColumn-1,Ge.endColumn-1).toLowerCase(),Dt=wi.textIsBracket[lt];if(Dt&&(Dt.isOpen(lt)?Mt[Dt.index]++:Dt.isClose(lt)&&Mt[Dt.index]--,Mt[Dt.index]===-1))return this._matchFoundBracket(Ge,Dt,!1,_e);X=Ge.endColumn-1}return null},jt=-1,Kt=null;for(let wi=Fe.lineNumber;wi<=Xe;wi++){let Ti=this._getLineTokens(wi),ft=Ti.getCount(),X=this._buffer.getLineContent(wi),ae=0,Ge=0,lt=0;if(wi===Fe.lineNumber){ae=Ti.findTokenIndexAtOffset(Fe.column-1),Ge=Fe.column-1,lt=Fe.column-1;let Gt=Ti.getLanguageId(ae);jt!==Gt&&(jt=Gt,Kt=yi.a.getBracketsSupport(jt),Ot(jt,Kt))}let Dt=!0;for(;ae<ft;ae++){let Gt=Ti.getLanguageId(ae);if(jt!==Gt){if(Kt&&Dt&&Ge!==lt){let ye=Ht(Kt,wi,X,Ge,lt);if(ye)return Fn(ye);Dt=!1}jt=Gt,Kt=yi.a.getBracketsSupport(jt),Ot(jt,Kt)}let ti=!!Kt&&!Object(kt.b)(Ti.getStandardTokenType(ae));if(ti)Dt||(Ge=Ti.getStartOffset(ae)),lt=Ti.getEndOffset(ae);else if(Kt&&Dt&&Ge!==lt){let ye=Ht(Kt,wi,X,Ge,lt);if(ye)return Fn(ye)}Dt=ti}if(Kt&&Dt&&Ge!==lt){let Gt=Ht(Kt,wi,X,Ge,lt);if(Gt)return Fn(Gt)}}return null}_toFoundBracket(I,ne){if(!ne)return null;let _e=this.getValueInRange(ne);_e=_e.toLowerCase();let Fe=I.textIsBracket[_e];return Fe?{range:ne,open:Fe.open,close:Fe.close,isOpen:I.textIsOpenBracket[_e]}:null}static computeIndentLevel(I,ne){let _e=0,Fe=0,Xe=I.length;for(;Fe<Xe;){let ot=I.charCodeAt(Fe);if(ot===32)_e++;else{if(ot!==9)break;_e=_e-_e%ne+ne}Fe++}return Fe===Xe?-1:_e}_computeIndentLevel(I){return Mn.computeIndentLevel(this._buffer.getLineContent(I+1),this._options.tabSize)}getActiveIndentGuide(I,ne,_e){this._assertNotDisposed();let Fe=this.getLineCount();if(I<1||I>Fe)throw new Error("Illegal value for lineNumber");let Xe=yi.a.getFoldingRules(this._languageIdentifier.id),ot=Boolean(Xe&&Xe.offSide),Mt=-2,Ot=-1,Tt=-2,Ht=-1,jt=ye=>{if(Mt!==-1&&(Mt===-2||Mt>ye-1)){Mt=-1,Ot=-1;for(let le=ye-2;le>=0;le--){let ue=this._computeIndentLevel(le);if(ue>=0){Mt=le,Ot=ue;break}}}if(Tt===-2){Tt=-1,Ht=-1;for(let le=ye;le<Fe;le++){let ue=this._computeIndentLevel(le);if(ue>=0){Tt=le,Ht=ue;break}}}},Kt=-2,wi=-1,Ti=-2,ft=-1,X=ye=>{if(Kt===-2){Kt=-1,wi=-1;for(let le=ye-2;le>=0;le--){let ue=this._computeIndentLevel(le);if(ue>=0){Kt=le,wi=ue;break}}}if(Ti!==-1&&(Ti===-2||Ti<ye-1)){Ti=-1,ft=-1;for(let le=ye;le<Fe;le++){let ue=this._computeIndentLevel(le);if(ue>=0){Ti=le,ft=ue;break}}}},ae=0,Ge=!0,lt=0,Dt=!0,Gt=0,ti=0;for(let ye=0;Ge||Dt;ye++){let le=I-ye,ue=I+ye;ye>1&&(le<1||le<ne)&&(Ge=!1),ye>1&&(ue>Fe||ue>_e)&&(Dt=!1),ye>5e4&&(Ge=!1,Dt=!1);let qe=-1;if(Ge){let tt=this._computeIndentLevel(le-1);tt>=0?(Tt=le-1,Ht=tt,qe=Math.ceil(tt/this._options.indentSize)):(jt(le),qe=this._getIndentLevelForWhitespaceLine(ot,Ot,Ht))}let Ze=-1;if(Dt){let tt=this._computeIndentLevel(ue-1);tt>=0?(Kt=ue-1,wi=tt,Ze=Math.ceil(tt/this._options.indentSize)):(X(ue),Ze=this._getIndentLevelForWhitespaceLine(ot,wi,ft))}if(ye!==0){if(ye===1){if(ue<=Fe&&Ze>=0&&ti+1===Ze){Ge=!1,ae=ue,lt=ue,Gt=Ze;continue}if(le>=1&&qe>=0&&qe-1===ti){Dt=!1,ae=le,lt=le,Gt=qe;continue}if(ae=I,lt=I,Gt=ti,Gt===0)return{startLineNumber:ae,endLineNumber:lt,indent:Gt}}Ge&&(qe>=Gt?ae=le:Ge=!1),Dt&&(Ze>=Gt?lt=ue:Dt=!1)}else ti=qe}return{startLineNumber:ae,endLineNumber:lt,indent:Gt}}getLinesIndentGuides(I,ne){this._assertNotDisposed();let _e=this.getLineCount();if(I<1||I>_e)throw new Error("Illegal value for startLineNumber");if(ne<1||ne>_e)throw new Error("Illegal value for endLineNumber");let Fe=yi.a.getFoldingRules(this._languageIdentifier.id),Xe=Boolean(Fe&&Fe.offSide),ot=new Array(ne-I+1),Mt=-2,Ot=-1,Tt=-2,Ht=-1;for(let jt=I;jt<=ne;jt++){let Kt=jt-I,wi=this._computeIndentLevel(jt-1);if(wi>=0)Mt=jt-1,Ot=wi,ot[Kt]=Math.ceil(wi/this._options.indentSize);else{if(Mt===-2){Mt=-1,Ot=-1;for(let Ti=jt-2;Ti>=0;Ti--){let ft=this._computeIndentLevel(Ti);if(ft>=0){Mt=Ti,Ot=ft;break}}}if(Tt!==-1&&(Tt===-2||Tt<jt-1)){Tt=-1,Ht=-1;for(let Ti=jt;Ti<_e;Ti++){let ft=this._computeIndentLevel(Ti);if(ft>=0){Tt=Ti,Ht=ft;break}}}ot[Kt]=this._getIndentLevelForWhitespaceLine(Xe,Ot,Ht)}}return ot}_getIndentLevelForWhitespaceLine(I,ne,_e){return ne===-1||_e===-1?0:ne<_e?1+Math.floor(ne/this._options.indentSize):ne===_e||I?Math.ceil(_e/this._options.indentSize):1+Math.floor(_e/this._options.indentSize)}}Mn.MODEL_SYNC_LIMIT=52428800,Mn.LARGE_FILE_SIZE_THRESHOLD=20971520,Mn.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,Mn.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:ge.d.tabSize,indentSize:ge.d.indentSize,insertSpaces:ge.d.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:ge.d.trimAutoWhitespace,largeFileOptimizations:ge.d.largeFileOptimizations};class Nn{constructor(){this._decorationsTree0=new xe,this._decorationsTree1=new xe}intervalSearch(I,ne,_e,Fe,Xe){let ot=this._decorationsTree0.intervalSearch(I,ne,_e,Fe,Xe),Mt=this._decorationsTree1.intervalSearch(I,ne,_e,Fe,Xe);return ot.concat(Mt)}search(I,ne,_e,Fe){if(_e)return this._decorationsTree1.search(I,ne,Fe);{let Xe=this._decorationsTree0.search(I,ne,Fe),ot=this._decorationsTree1.search(I,ne,Fe);return Xe.concat(ot)}}collectNodesFromOwner(I){let ne=this._decorationsTree0.collectNodesFromOwner(I),_e=this._decorationsTree1.collectNodesFromOwner(I);return ne.concat(_e)}collectNodesPostOrder(){let I=this._decorationsTree0.collectNodesPostOrder(),ne=this._decorationsTree1.collectNodesPostOrder();return I.concat(ne)}insert(I){ie(I)?this._decorationsTree1.insert(I):this._decorationsTree0.insert(I)}delete(I){ie(I)?this._decorationsTree1.delete(I):this._decorationsTree0.delete(I)}resolveNode(I,ne){ie(I)?this._decorationsTree1.resolveNode(I,ne):this._decorationsTree0.resolveNode(I,ne)}acceptReplace(I,ne,_e,Fe){this._decorationsTree0.acceptReplace(I,ne,_e,Fe),this._decorationsTree1.acceptReplace(I,ne,_e,Fe)}}function Hn(qt){return qt.replace(/[^a-z0-9\-_]/gi," ")}class Jn{constructor(I){this.color=I.color||"",this.darkColor=I.darkColor||""}}class _o extends Jn{constructor(I){super(I),this._resolvedColor=null,this.position=typeof I.position=="number"?I.position:C.d.Center}getColor(I){return this._resolvedColor||(I.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,I):this._resolvedColor=this._resolveColor(this.color,I)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(I,ne){if(typeof I=="string")return I;let _e=I?ne.getColor(I.id):null;return _e?_e.toString():""}}class pn extends Jn{constructor(I){super(I),this.position=I.position}getColor(I){return this._resolvedColor||(I.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,I):this._resolvedColor=this._resolveColor(this.color,I)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(I,ne){return typeof I=="string"?si.a.fromHex(I):ne.getColor(I.id)}}class Gn{constructor(I){this.stickiness=I.stickiness||0,this.zIndex=I.zIndex||0,this.className=I.className?Hn(I.className):null,this.hoverMessage=I.hoverMessage||null,this.glyphMarginHoverMessage=I.glyphMarginHoverMessage||null,this.isWholeLine=I.isWholeLine||!1,this.showIfCollapsed=I.showIfCollapsed||!1,this.collapseOnReplaceEdit=I.collapseOnReplaceEdit||!1,this.overviewRuler=I.overviewRuler?new _o(I.overviewRuler):null,this.minimap=I.minimap?new pn(I.minimap):null,this.glyphMarginClassName=I.glyphMarginClassName?Hn(I.glyphMarginClassName):null,this.linesDecorationsClassName=I.linesDecorationsClassName?Hn(I.linesDecorationsClassName):null,this.firstLineDecorationClassName=I.firstLineDecorationClassName?Hn(I.firstLineDecorationClassName):null,this.marginClassName=I.marginClassName?Hn(I.marginClassName):null,this.inlineClassName=I.inlineClassName?Hn(I.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=I.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=I.beforeContentClassName?Hn(I.beforeContentClassName):null,this.afterContentClassName=I.afterContentClassName?Hn(I.afterContentClassName):null}static register(I){return new Gn(I)}static createDynamic(I){return new Gn(I)}}Gn.EMPTY=Gn.register({});let on=[Gn.register({stickiness:0}),Gn.register({stickiness:1}),Gn.register({stickiness:2}),Gn.register({stickiness:3})];function ho(qt){return qt instanceof Gn?qt:Gn.createDynamic(qt)}class On extends D.a{constructor(){super(),this._actual=this._register(new f.a),this.event=this._actual.event,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){if(this._deferredCnt--,this._deferredCnt===0&&this._shouldFire){let I={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(I)}}checkAffectedAndFire(I){this._affectsMinimap||(this._affectsMinimap=!(!I.minimap||!I.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!(!I.overviewRuler||!I.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class Dn extends D.a{constructor(){super(),this._fastEmitter=this._register(new f.a),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new f.a),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(I=null){if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=I;let ne=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(ne),this._slowEmitter.fire(ne)}}fire(I){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(I):this._deferredEvent=I:(this._fastEmitter.fire(I),this._slowEmitter.fire(I))}}},function(Ie,w,o){"use strict";function h(Te,Ee){return Ee.length===0?Te:Te.replace(/\{(\d+)\}/g,function(ve,Re){var We=Re[0];return Ee[We]!==void 0?Ee[We]:ve})}function f(Te,Ee){for(var ve=[],Re=2;Re<arguments.length;Re++)ve[Re-2]=arguments[Re];return h(Ee,ve)}function D(Te){return f}var H,E,ge,W,Q,y,C,S,P,V,k,l,T,N,b,g,j,ie,U,q,B;o.d(w,"g",function(){return pi}),o.d(w,"d",function(){return S}),o.d(w,"b",function(){return k}),o.d(w,"a",function(){return te}),o.d(w,"e",function(){return he}),o.d(w,"c",function(){return $}),o.d(w,"f",function(){return z}),o.d(w,"h",function(){return ui}),function(Te){Te.create=function(Ee,ve){return{line:Ee,character:ve}},Te.is=function(Ee){var ve=Ee;return wt.objectLiteral(ve)&&wt.number(ve.line)&&wt.number(ve.character)}}(H||(H={})),function(Te){Te.create=function(Ee,ve,Re,We){if(wt.number(Ee)&&wt.number(ve)&&wt.number(Re)&&wt.number(We))return{start:H.create(Ee,ve),end:H.create(Re,We)};if(H.is(Ee)&&H.is(ve))return{start:Ee,end:ve};throw new Error("Range#create called with invalid arguments["+Ee+", "+ve+", "+Re+", "+We+"]")},Te.is=function(Ee){var ve=Ee;return wt.objectLiteral(ve)&&H.is(ve.start)&&H.is(ve.end)}}(E||(E={})),function(Te){Te.create=function(Ee,ve){return{uri:Ee,range:ve}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&E.is(ve.range)&&(wt.string(ve.uri)||wt.undefined(ve.uri))}}(ge||(ge={})),function(Te){Te.create=function(Ee,ve,Re,We){return{targetUri:Ee,targetRange:ve,targetSelectionRange:Re,originSelectionRange:We}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&E.is(ve.targetRange)&&wt.string(ve.targetUri)&&(E.is(ve.targetSelectionRange)||wt.undefined(ve.targetSelectionRange))&&(E.is(ve.originSelectionRange)||wt.undefined(ve.originSelectionRange))}}(W||(W={})),function(Te){Te.create=function(Ee,ve,Re,We){return{red:Ee,green:ve,blue:Re,alpha:We}},Te.is=function(Ee){var ve=Ee;return wt.number(ve.red)&&wt.number(ve.green)&&wt.number(ve.blue)&&wt.number(ve.alpha)}}(Q||(Q={})),function(Te){Te.create=function(Ee,ve){return{range:Ee,color:ve}},Te.is=function(Ee){var ve=Ee;return E.is(ve.range)&&Q.is(ve.color)}}(y||(y={})),function(Te){Te.create=function(Ee,ve,Re){return{label:Ee,textEdit:ve,additionalTextEdits:Re}},Te.is=function(Ee){var ve=Ee;return wt.string(ve.label)&&(wt.undefined(ve.textEdit)||g.is(ve))&&(wt.undefined(ve.additionalTextEdits)||wt.typedArray(ve.additionalTextEdits,g.is))}}(C||(C={})),function(Te){Te.Comment="comment",Te.Imports="imports",Te.Region="region"}(S||(S={})),function(Te){Te.create=function(Ee,ve,Re,We,Be){var Le={startLine:Ee,endLine:ve};return wt.defined(Re)&&(Le.startCharacter=Re),wt.defined(We)&&(Le.endCharacter=We),wt.defined(Be)&&(Le.kind=Be),Le},Te.is=function(Ee){var ve=Ee;return wt.number(ve.startLine)&&wt.number(ve.startLine)&&(wt.undefined(ve.startCharacter)||wt.number(ve.startCharacter))&&(wt.undefined(ve.endCharacter)||wt.number(ve.endCharacter))&&(wt.undefined(ve.kind)||wt.string(ve.kind))}}(P||(P={})),function(Te){Te.create=function(Ee,ve){return{location:Ee,message:ve}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&ge.is(ve.location)&&wt.string(ve.message)}}(V||(V={})),function(Te){Te.Error=1,Te.Warning=2,Te.Information=3,Te.Hint=4}(k||(k={})),function(Te){Te.Unnecessary=1,Te.Deprecated=2}(l||(l={})),function(Te){Te.is=function(Ee){var ve=Ee;return ve!=null&&(wt.number(ve.value)||wt.string(ve.value))&&wt.string(ve.target)}}(T||(T={})),function(Te){Te.create=function(Ee,ve,Re,We,Be,Le){var Ke={range:Ee,message:ve};return wt.defined(Re)&&(Ke.severity=Re),wt.defined(We)&&(Ke.code=We),wt.defined(Be)&&(Ke.source=Be),wt.defined(Le)&&(Ke.relatedInformation=Le),Ke},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&E.is(ve.range)&&wt.string(ve.message)&&(wt.number(ve.severity)||wt.undefined(ve.severity))&&(wt.number(ve.code)||wt.string(ve.code)||wt.undefined(ve.code))&&(wt.string(ve.source)||wt.undefined(ve.source))&&(wt.undefined(ve.relatedInformation)||wt.typedArray(ve.relatedInformation,V.is))}}(N||(N={})),function(Te){Te.create=function(Ee,ve){for(var Re=[],We=2;We<arguments.length;We++)Re[We-2]=arguments[We];var Be={title:Ee,command:ve};return wt.defined(Re)&&Re.length>0&&(Be.arguments=Re),Be},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&wt.string(ve.title)&&wt.string(ve.command)}}(b||(b={})),function(Te){Te.replace=function(Ee,ve){return{range:Ee,newText:ve}},Te.insert=function(Ee,ve){return{range:{start:Ee,end:Ee},newText:ve}},Te.del=function(Ee){return{range:Ee,newText:""}},Te.is=function(Ee){var ve=Ee;return wt.objectLiteral(ve)&&wt.string(ve.newText)&&E.is(ve.range)}}(g||(g={})),function(Te){Te.create=function(Ee,ve){return{textDocument:Ee,edits:ve}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&ke.is(ve.textDocument)&&Array.isArray(ve.edits)}}(j||(j={})),function(Te){Te.create=function(Ee,ve){var Re={kind:"create",uri:Ee};return ve===void 0||ve.overwrite===void 0&&ve.ignoreIfExists===void 0||(Re.options=ve),Re},Te.is=function(Ee){var ve=Ee;return ve&&ve.kind==="create"&&wt.string(ve.uri)&&(ve.options===void 0||(ve.options.overwrite===void 0||wt.boolean(ve.options.overwrite))&&(ve.options.ignoreIfExists===void 0||wt.boolean(ve.options.ignoreIfExists)))}}(ie||(ie={})),function(Te){Te.create=function(Ee,ve,Re){var We={kind:"rename",oldUri:Ee,newUri:ve};return Re===void 0||Re.overwrite===void 0&&Re.ignoreIfExists===void 0||(We.options=Re),We},Te.is=function(Ee){var ve=Ee;return ve&&ve.kind==="rename"&&wt.string(ve.oldUri)&&wt.string(ve.newUri)&&(ve.options===void 0||(ve.options.overwrite===void 0||wt.boolean(ve.options.overwrite))&&(ve.options.ignoreIfExists===void 0||wt.boolean(ve.options.ignoreIfExists)))}}(U||(U={})),function(Te){Te.create=function(Ee,ve){var Re={kind:"delete",uri:Ee};return ve===void 0||ve.recursive===void 0&&ve.ignoreIfNotExists===void 0||(Re.options=ve),Re},Te.is=function(Ee){var ve=Ee;return ve&&ve.kind==="delete"&&wt.string(ve.uri)&&(ve.options===void 0||(ve.options.recursive===void 0||wt.boolean(ve.options.recursive))&&(ve.options.ignoreIfNotExists===void 0||wt.boolean(ve.options.ignoreIfNotExists)))}}(q||(q={})),function(Te){Te.is=function(Ee){var ve=Ee;return ve&&(ve.changes!==void 0||ve.documentChanges!==void 0)&&(ve.documentChanges===void 0||ve.documentChanges.every(function(Re){return wt.string(Re.kind)?ie.is(Re)||U.is(Re)||q.is(Re):j.is(Re)}))}}(B||(B={}));var se,ke,xe,Y,Z,te,he,Ce,Ae,L,nt,ct,Ye,ht,fe,$,G,z,J,Se,A,ee,de,Oe,$e,pt,it,At,Nt=function(){function Te(Ee){this.edits=Ee}return Te.prototype.insert=function(Ee,ve){this.edits.push(g.insert(Ee,ve))},Te.prototype.replace=function(Ee,ve){this.edits.push(g.replace(Ee,ve))},Te.prototype.delete=function(Ee){this.edits.push(g.del(Ee))},Te.prototype.add=function(Ee){this.edits.push(Ee)},Te.prototype.all=function(){return this.edits},Te.prototype.clear=function(){this.edits.splice(0,this.edits.length)},Te}();(function(){function Te(Ee){var ve=this;this._textEditChanges=Object.create(null),Ee&&(this._workspaceEdit=Ee,Ee.documentChanges?Ee.documentChanges.forEach(function(Re){if(j.is(Re)){var We=new Nt(Re.edits);ve._textEditChanges[Re.textDocument.uri]=We}}):Ee.changes&&Object.keys(Ee.changes).forEach(function(Re){var We=new Nt(Ee.changes[Re]);ve._textEditChanges[Re]=We}))}Object.defineProperty(Te.prototype,"edit",{get:function(){return this._workspaceEdit===void 0?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),Te.prototype.getTextEditChange=function(Ee){if(ke.is(Ee)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var ve=Ee;if(!(We=this._textEditChanges[ve.uri])){var Re={textDocument:ve,edits:Be=[]};this._workspaceEdit.documentChanges.push(Re),We=new Nt(Be),this._textEditChanges[ve.uri]=We}return We}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var We;if(!(We=this._textEditChanges[Ee])){var Be=[];this._workspaceEdit.changes[Ee]=Be,We=new Nt(Be),this._textEditChanges[Ee]=We}return We},Te.prototype.createFile=function(Ee,ve){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(ie.create(Ee,ve))},Te.prototype.renameFile=function(Ee,ve,Re){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(U.create(Ee,ve,Re))},Te.prototype.deleteFile=function(Ee,ve){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(q.create(Ee,ve))},Te.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}})(),function(Te){Te.create=function(Ee){return{uri:Ee}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&wt.string(ve.uri)}}(se||(se={})),function(Te){Te.create=function(Ee,ve){return{uri:Ee,version:ve}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&wt.string(ve.uri)&&(ve.version===null||wt.number(ve.version))}}(ke||(ke={})),function(Te){Te.create=function(Ee,ve,Re,We){return{uri:Ee,languageId:ve,version:Re,text:We}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&wt.string(ve.uri)&&wt.string(ve.languageId)&&wt.number(ve.version)&&wt.string(ve.text)}}(xe||(xe={})),function(Te){Te.PlainText="plaintext",Te.Markdown="markdown"}(Y||(Y={})),function(Te){Te.is=function(Ee){var ve=Ee;return ve===Te.PlainText||ve===Te.Markdown}}(Y||(Y={})),function(Te){Te.is=function(Ee){var ve=Ee;return wt.objectLiteral(Ee)&&Y.is(ve.kind)&&wt.string(ve.value)}}(Z||(Z={})),function(Te){Te.Text=1,Te.Method=2,Te.Function=3,Te.Constructor=4,Te.Field=5,Te.Variable=6,Te.Class=7,Te.Interface=8,Te.Module=9,Te.Property=10,Te.Unit=11,Te.Value=12,Te.Enum=13,Te.Keyword=14,Te.Snippet=15,Te.Color=16,Te.File=17,Te.Reference=18,Te.Folder=19,Te.EnumMember=20,Te.Constant=21,Te.Struct=22,Te.Event=23,Te.Operator=24,Te.TypeParameter=25}(te||(te={})),function(Te){Te.PlainText=1,Te.Snippet=2}(he||(he={})),function(Te){Te.Deprecated=1}(Ce||(Ce={})),function(Te){Te.create=function(Ee,ve,Re){return{newText:Ee,insert:ve,replace:Re}},Te.is=function(Ee){var ve=Ee;return ve&&wt.string(ve.newText)&&E.is(ve.insert)&&E.is(ve.replace)}}(Ae||(Ae={})),function(Te){Te.create=function(Ee){return{label:Ee}}}(L||(L={})),function(Te){Te.create=function(Ee,ve){return{items:Ee||[],isIncomplete:!!ve}}}(nt||(nt={})),function(Te){Te.fromPlainText=function(Ee){return Ee.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Te.is=function(Ee){var ve=Ee;return wt.string(ve)||wt.objectLiteral(ve)&&wt.string(ve.language)&&wt.string(ve.value)}}(ct||(ct={})),function(Te){Te.is=function(Ee){var ve=Ee;return!!ve&&wt.objectLiteral(ve)&&(Z.is(ve.contents)||ct.is(ve.contents)||wt.typedArray(ve.contents,ct.is))&&(Ee.range===void 0||E.is(Ee.range))}}(Ye||(Ye={})),function(Te){Te.create=function(Ee,ve){return ve?{label:Ee,documentation:ve}:{label:Ee}}}(ht||(ht={})),function(Te){Te.create=function(Ee,ve){for(var Re=[],We=2;We<arguments.length;We++)Re[We-2]=arguments[We];var Be={label:Ee};return wt.defined(ve)&&(Be.documentation=ve),wt.defined(Re)?Be.parameters=Re:Be.parameters=[],Be}}(fe||(fe={})),function(Te){Te.Text=1,Te.Read=2,Te.Write=3}($||($={})),function(Te){Te.create=function(Ee,ve){var Re={range:Ee};return wt.number(ve)&&(Re.kind=ve),Re}}(G||(G={})),function(Te){Te.File=1,Te.Module=2,Te.Namespace=3,Te.Package=4,Te.Class=5,Te.Method=6,Te.Property=7,Te.Field=8,Te.Constructor=9,Te.Enum=10,Te.Interface=11,Te.Function=12,Te.Variable=13,Te.Constant=14,Te.String=15,Te.Number=16,Te.Boolean=17,Te.Array=18,Te.Object=19,Te.Key=20,Te.Null=21,Te.EnumMember=22,Te.Struct=23,Te.Event=24,Te.Operator=25,Te.TypeParameter=26}(z||(z={})),function(Te){Te.Deprecated=1}(J||(J={})),function(Te){Te.create=function(Ee,ve,Re,We,Be){var Le={name:Ee,kind:ve,location:{uri:We,range:Re}};return Be&&(Le.containerName=Be),Le}}(Se||(Se={})),function(Te){Te.create=function(Ee,ve,Re,We,Be,Le){var Ke={name:Ee,detail:ve,kind:Re,range:We,selectionRange:Be};return Le!==void 0&&(Ke.children=Le),Ke},Te.is=function(Ee){var ve=Ee;return ve&&wt.string(ve.name)&&wt.number(ve.kind)&&E.is(ve.range)&&E.is(ve.selectionRange)&&(ve.detail===void 0||wt.string(ve.detail))&&(ve.deprecated===void 0||wt.boolean(ve.deprecated))&&(ve.children===void 0||Array.isArray(ve.children))&&(ve.tags===void 0||Array.isArray(ve.tags))}}(A||(A={})),function(Te){Te.Empty="",Te.QuickFix="quickfix",Te.Refactor="refactor",Te.RefactorExtract="refactor.extract",Te.RefactorInline="refactor.inline",Te.RefactorRewrite="refactor.rewrite",Te.Source="source",Te.SourceOrganizeImports="source.organizeImports",Te.SourceFixAll="source.fixAll"}(ee||(ee={})),function(Te){Te.create=function(Ee,ve){var Re={diagnostics:Ee};return ve!=null&&(Re.only=ve),Re},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&wt.typedArray(ve.diagnostics,N.is)&&(ve.only===void 0||wt.typedArray(ve.only,wt.string))}}(de||(de={})),function(Te){Te.create=function(Ee,ve,Re){var We={title:Ee};return b.is(ve)?We.command=ve:We.edit=ve,Re!==void 0&&(We.kind=Re),We},Te.is=function(Ee){var ve=Ee;return ve&&wt.string(ve.title)&&(ve.diagnostics===void 0||wt.typedArray(ve.diagnostics,N.is))&&(ve.kind===void 0||wt.string(ve.kind))&&(ve.edit!==void 0||ve.command!==void 0)&&(ve.command===void 0||b.is(ve.command))&&(ve.isPreferred===void 0||wt.boolean(ve.isPreferred))&&(ve.edit===void 0||B.is(ve.edit))}}(Oe||(Oe={})),function(Te){Te.create=function(Ee,ve){var Re={range:Ee};return wt.defined(ve)&&(Re.data=ve),Re},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&E.is(ve.range)&&(wt.undefined(ve.command)||b.is(ve.command))}}($e||($e={})),function(Te){Te.create=function(Ee,ve){return{tabSize:Ee,insertSpaces:ve}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&wt.number(ve.tabSize)&&wt.boolean(ve.insertSpaces)}}(pt||(pt={})),function(Te){Te.create=function(Ee,ve,Re){return{range:Ee,target:ve,data:Re}},Te.is=function(Ee){var ve=Ee;return wt.defined(ve)&&E.is(ve.range)&&(wt.undefined(ve.target)||wt.string(ve.target))}}(it||(it={})),function(Te){Te.create=function(Ee,ve){return{range:Ee,parent:ve}},Te.is=function(Ee){var ve=Ee;return ve!==void 0&&E.is(ve.range)&&(ve.parent===void 0||Te.is(ve.parent))}}(At||(At={}));var _i;(function(Te){Te.create=function(Ee,ve,Re,We){return new Ni(Ee,ve,Re,We)},Te.is=function(Ee){var ve=Ee;return!!(wt.defined(ve)&&wt.string(ve.uri)&&(wt.undefined(ve.languageId)||wt.string(ve.languageId))&&wt.number(ve.lineCount)&&wt.func(ve.getText)&&wt.func(ve.positionAt)&&wt.func(ve.offsetAt))},Te.applyEdits=function(Ee,ve){for(var Re=Ee.getText(),We=function xt(Xt,mi){if(Xt.length<=1)return Xt;var Yt=Xt.length/2|0,ri=Xt.slice(0,Yt),qi=Xt.slice(Yt);xt(ri,mi),xt(qi,mi);for(var an=0,_n=0,ei=0;an<ri.length&&_n<qi.length;){var ii=mi(ri[an],qi[_n]);Xt[ei++]=ii<=0?ri[an++]:qi[_n++]}for(;an<ri.length;)Xt[ei++]=ri[an++];for(;_n<qi.length;)Xt[ei++]=qi[_n++];return Xt}(ve,function(xt,Xt){var mi=xt.range.start.line-Xt.range.start.line;return mi===0?xt.range.start.character-Xt.range.start.character:mi}),Be=Re.length,Le=We.length-1;Le>=0;Le--){var Ke=We[Le],dt=Ee.offsetAt(Ke.range.start),yt=Ee.offsetAt(Ke.range.end);if(!(yt<=Be))throw new Error("Overlapping edit");Re=Re.substring(0,dt)+Ke.newText+Re.substring(yt,Re.length),Be=dt}return Re}})(_i||(_i={}));var wt,Ni=function(){function Te(Ee,ve,Re,We){this._uri=Ee,this._languageId=ve,this._version=Re,this._content=We,this._lineOffsets=void 0}return Object.defineProperty(Te.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(Te.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(Te.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),Te.prototype.getText=function(Ee){if(Ee){var ve=this.offsetAt(Ee.start),Re=this.offsetAt(Ee.end);return this._content.substring(ve,Re)}return this._content},Te.prototype.update=function(Ee,ve){this._content=Ee.text,this._version=ve,this._lineOffsets=void 0},Te.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var Ee=[],ve=this._content,Re=!0,We=0;We<ve.length;We++){Re&&(Ee.push(We),Re=!1);var Be=ve.charAt(We);Re=Be==="\r"||Be===` +`,Be==="\r"&&We+1<ve.length&&ve.charAt(We+1)===` +`&&We++}Re&&ve.length>0&&Ee.push(ve.length),this._lineOffsets=Ee}return this._lineOffsets},Te.prototype.positionAt=function(Ee){Ee=Math.max(Math.min(Ee,this._content.length),0);var ve=this.getLineOffsets(),Re=0,We=ve.length;if(We===0)return H.create(0,Ee);for(;Re<We;){var Be=Math.floor((Re+We)/2);ve[Be]>Ee?We=Be:Re=Be+1}var Le=Re-1;return H.create(Le,Ee-ve[Le])},Te.prototype.offsetAt=function(Ee){var ve=this.getLineOffsets();if(Ee.line>=ve.length)return this._content.length;if(Ee.line<0)return 0;var Re=ve[Ee.line],We=Ee.line+1<ve.length?ve[Ee.line+1]:this._content.length;return Math.max(Math.min(Re+Ee.character,We),Re)},Object.defineProperty(Te.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),Te}();(function(Te){var Ee=Object.prototype.toString;Te.defined=function(ve){return ve!==void 0},Te.undefined=function(ve){return ve===void 0},Te.boolean=function(ve){return ve===!0||ve===!1},Te.string=function(ve){return Ee.call(ve)==="[object String]"},Te.number=function(ve){return Ee.call(ve)==="[object Number]"},Te.func=function(ve){return Ee.call(ve)==="[object Function]"},Te.objectLiteral=function(ve){return ve!==null&&typeof ve=="object"},Te.typedArray=function(ve,Re){return Array.isArray(ve)&&ve.every(Re)}})(wt||(wt={}));var pi,et,Wt,Li,Ii,Ai=function(){function Te(Ee,ve,Re,We){this._uri=Ee,this._languageId=ve,this._version=Re,this._content=We,this._lineOffsets=void 0}return Object.defineProperty(Te.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(Te.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(Te.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),Te.prototype.getText=function(Ee){if(Ee){var ve=this.offsetAt(Ee.start),Re=this.offsetAt(Ee.end);return this._content.substring(ve,Re)}return this._content},Te.prototype.update=function(Ee,ve){for(var Re=0,We=Ee;Re<We.length;Re++){var Be=We[Re];if(Te.isIncremental(Be)){var Le=Bi(Be.range),Ke=this.offsetAt(Le.start),dt=this.offsetAt(Le.end);this._content=this._content.substring(0,Ke)+Be.text+this._content.substring(dt,this._content.length);var yt=Math.max(Le.start.line,0),xt=Math.max(Le.end.line,0),Xt=this._lineOffsets,mi=Zi(Be.text,!1,Ke);if(xt-yt===mi.length)for(var Yt=0,ri=mi.length;Yt<ri;Yt++)Xt[Yt+yt+1]=mi[Yt];else mi.length<1e4?Xt.splice.apply(Xt,[yt+1,xt-yt].concat(mi)):this._lineOffsets=Xt=Xt.slice(0,yt+1).concat(mi,Xt.slice(xt+1));var qi=Be.text.length-(dt-Ke);if(qi!==0)for(Yt=yt+1+mi.length,ri=Xt.length;Yt<ri;Yt++)Xt[Yt]=Xt[Yt]+qi}else{if(!Te.isFull(Be))throw new Error("Unknown change event received");this._content=Be.text,this._lineOffsets=void 0}}this._version=ve},Te.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=Zi(this._content,!0)),this._lineOffsets},Te.prototype.positionAt=function(Ee){Ee=Math.max(Math.min(Ee,this._content.length),0);var ve=this.getLineOffsets(),Re=0,We=ve.length;if(We===0)return{line:0,character:Ee};for(;Re<We;){var Be=Math.floor((Re+We)/2);ve[Be]>Ee?We=Be:Re=Be+1}var Le=Re-1;return{line:Le,character:Ee-ve[Le]}},Te.prototype.offsetAt=function(Ee){var ve=this.getLineOffsets();if(Ee.line>=ve.length)return this._content.length;if(Ee.line<0)return 0;var Re=ve[Ee.line],We=Ee.line+1<ve.length?ve[Ee.line+1]:this._content.length;return Math.max(Math.min(Re+Ee.character,We),Re)},Object.defineProperty(Te.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),Te.isIncremental=function(Ee){var ve=Ee;return ve!=null&&typeof ve.text=="string"&&ve.range!==void 0&&(ve.rangeLength===void 0||typeof ve.rangeLength=="number")},Te.isFull=function(Ee){var ve=Ee;return ve!=null&&typeof ve.text=="string"&&ve.range===void 0&&ve.rangeLength===void 0},Te}();function Zi(Te,Ee,ve){ve===void 0&&(ve=0);for(var Re=Ee?[ve]:[],We=0;We<Te.length;We++){var Be=Te.charCodeAt(We);Be!==13&&Be!==10||(Be===13&&We+1<Te.length&&Te.charCodeAt(We+1)===10&&We++,Re.push(ve+We+1))}return Re}function Bi(Te){var Ee=Te.start,ve=Te.end;return Ee.line>ve.line||Ee.line===ve.line&&Ee.character>ve.character?{start:ve,end:Ee}:Te}function Lt(Te){var Ee=Bi(Te.range);return Ee!==Te.range?{newText:Te.newText,range:Ee}:Te}(function(Te){Te.create=function(Ee,ve,Re,We){return new Ai(Ee,ve,Re,We)},Te.update=function(Ee,ve,Re){if(Ee instanceof Ai)return Ee.update(ve,Re),Ee;throw new Error("TextDocument.update: document must be created by TextDocument.create")},Te.applyEdits=function(Ee,ve){for(var Re=Ee.getText(),We=0,Be=[],Le=0,Ke=function xt(Xt,mi){if(Xt.length<=1)return Xt;var Yt=Xt.length/2|0,ri=Xt.slice(0,Yt),qi=Xt.slice(Yt);xt(ri,mi),xt(qi,mi);for(var an=0,_n=0,ei=0;an<ri.length&&_n<qi.length;){var ii=mi(ri[an],qi[_n]);Xt[ei++]=ii<=0?ri[an++]:qi[_n++]}for(;an<ri.length;)Xt[ei++]=ri[an++];for(;_n<qi.length;)Xt[ei++]=qi[_n++];return Xt}(ve.map(Lt),function(xt,Xt){var mi=xt.range.start.line-Xt.range.start.line;return mi===0?xt.range.start.character-Xt.range.start.character:mi});Le<Ke.length;Le++){var dt=Ke[Le],yt=Ee.offsetAt(dt.range.start);if(yt<We)throw new Error("Overlapping edit");yt>We&&Be.push(Re.substring(We,yt)),dt.newText.length&&Be.push(dt.newText),We=Ee.offsetAt(dt.range.end)}return Be.push(Re.substr(We)),Be.join("")}})(pi||(pi={})),function(Te){Te[Te.StartCommentTag=0]="StartCommentTag",Te[Te.Comment=1]="Comment",Te[Te.EndCommentTag=2]="EndCommentTag",Te[Te.StartTagOpen=3]="StartTagOpen",Te[Te.StartTagClose=4]="StartTagClose",Te[Te.StartTagSelfClose=5]="StartTagSelfClose",Te[Te.StartTag=6]="StartTag",Te[Te.EndTagOpen=7]="EndTagOpen",Te[Te.EndTagClose=8]="EndTagClose",Te[Te.EndTag=9]="EndTag",Te[Te.DelimiterAssign=10]="DelimiterAssign",Te[Te.AttributeName=11]="AttributeName",Te[Te.AttributeValue=12]="AttributeValue",Te[Te.StartDoctypeTag=13]="StartDoctypeTag",Te[Te.Doctype=14]="Doctype",Te[Te.EndDoctypeTag=15]="EndDoctypeTag",Te[Te.Content=16]="Content",Te[Te.Whitespace=17]="Whitespace",Te[Te.Unknown=18]="Unknown",Te[Te.Script=19]="Script",Te[Te.Styles=20]="Styles",Te[Te.EOS=21]="EOS"}(et||(et={})),function(Te){Te[Te.WithinContent=0]="WithinContent",Te[Te.AfterOpeningStartTag=1]="AfterOpeningStartTag",Te[Te.AfterOpeningEndTag=2]="AfterOpeningEndTag",Te[Te.WithinDoctype=3]="WithinDoctype",Te[Te.WithinTag=4]="WithinTag",Te[Te.WithinEndTag=5]="WithinEndTag",Te[Te.WithinComment=6]="WithinComment",Te[Te.WithinScriptContent=7]="WithinScriptContent",Te[Te.WithinStyleContent=8]="WithinStyleContent",Te[Te.AfterAttributeName=9]="AfterAttributeName",Te[Te.BeforeAttributeValue=10]="BeforeAttributeValue"}(Wt||(Wt={})),(Li||(Li={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Y.Markdown,Y.PlainText]}},hover:{contentFormat:[Y.Markdown,Y.PlainText]}}},function(Te){Te[Te.Unknown=0]="Unknown",Te[Te.File=1]="File",Te[Te.Directory=2]="Directory",Te[Te.SymbolicLink=64]="SymbolicLink"}(Ii||(Ii={}));var Di=D(),gt=function(){function Te(Ee,ve){this.source=Ee,this.len=Ee.length,this.position=ve}return Te.prototype.eos=function(){return this.len<=this.position},Te.prototype.getSource=function(){return this.source},Te.prototype.pos=function(){return this.position},Te.prototype.goBackTo=function(Ee){this.position=Ee},Te.prototype.goBack=function(Ee){this.position-=Ee},Te.prototype.advance=function(Ee){this.position+=Ee},Te.prototype.goToEnd=function(){this.position=this.source.length},Te.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},Te.prototype.peekChar=function(Ee){return Ee===void 0&&(Ee=0),this.source.charCodeAt(this.position+Ee)||0},Te.prototype.advanceIfChar=function(Ee){return Ee===this.source.charCodeAt(this.position)&&(this.position++,!0)},Te.prototype.advanceIfChars=function(Ee){var ve;if(this.position+Ee.length>this.source.length)return!1;for(ve=0;ve<Ee.length;ve++)if(this.source.charCodeAt(this.position+ve)!==Ee[ve])return!1;return this.advance(ve),!0},Te.prototype.advanceIfRegExp=function(Ee){var ve=this.source.substr(this.position).match(Ee);return ve?(this.position=this.position+ve.index+ve[0].length,ve[0]):""},Te.prototype.advanceUntilRegExp=function(Ee){var ve=this.source.substr(this.position).match(Ee);return ve?(this.position=this.position+ve.index,ve[0]):(this.goToEnd(),"")},Te.prototype.advanceUntilChar=function(Ee){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===Ee)return!0;this.advance(1)}return!1},Te.prototype.advanceUntilChars=function(Ee){for(;this.position+Ee.length<=this.source.length;){for(var ve=0;ve<Ee.length&&this.source.charCodeAt(this.position+ve)===Ee[ve];ve++);if(ve===Ee.length)return!0;this.advance(1)}return this.goToEnd(),!1},Te.prototype.skipWhitespace=function(){return this.advanceWhileChar(function(Ee){return Ee===ki||Ee===Ri||Ee===oi||Ee===gi||Ee===li})>0},Te.prototype.advanceWhileChar=function(Ee){for(var ve=this.position;this.position<this.len&&Ee(this.source.charCodeAt(this.position));)this.position++;return this.position-ve},Te}(),vi="!".charCodeAt(0),Rt="-".charCodeAt(0),vt="<".charCodeAt(0),Ue=">".charCodeAt(0),ut="/".charCodeAt(0),ze="=".charCodeAt(0),st='"'.charCodeAt(0),_t="'".charCodeAt(0),oi=` +`.charCodeAt(0),li="\r".charCodeAt(0),gi="\f".charCodeAt(0),ki=" ".charCodeAt(0),Ri=" ".charCodeAt(0),$i={"text/x-handlebars-template":!0};function Hi(Te,Ee,ve,Re){Ee===void 0&&(Ee=0),ve===void 0&&(ve=Wt.WithinContent),Re===void 0&&(Re=!1);var We,Be,Le,Ke,dt,yt=new gt(Te,Ee),xt=ve,Xt=0,mi=et.Unknown;function Yt(){return yt.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function ri(qi,an,_n){return mi=an,Xt=qi,We=_n,an}return{scan:function(){var qi=yt.pos(),an=xt,_n=function ei(){var ii,bi=yt.pos();if(yt.eos())return ri(bi,et.EOS);switch(xt){case Wt.WithinComment:return yt.advanceIfChars([Rt,Rt,Ue])?(xt=Wt.WithinContent,ri(bi,et.EndCommentTag)):(yt.advanceUntilChars([Rt,Rt,Ue]),ri(bi,et.Comment));case Wt.WithinDoctype:return yt.advanceIfChar(Ue)?(xt=Wt.WithinContent,ri(bi,et.EndDoctypeTag)):(yt.advanceUntilChar(Ue),ri(bi,et.Doctype));case Wt.WithinContent:if(yt.advanceIfChar(vt)){if(!yt.eos()&&yt.peekChar()===vi){if(yt.advanceIfChars([vi,Rt,Rt]))return xt=Wt.WithinComment,ri(bi,et.StartCommentTag);if(yt.advanceIfRegExp(/^!doctype/i))return xt=Wt.WithinDoctype,ri(bi,et.StartDoctypeTag)}return yt.advanceIfChar(ut)?(xt=Wt.AfterOpeningEndTag,ri(bi,et.EndTagOpen)):(xt=Wt.AfterOpeningStartTag,ri(bi,et.StartTagOpen))}return yt.advanceUntilChar(vt),ri(bi,et.Content);case Wt.AfterOpeningEndTag:return Yt().length>0?(xt=Wt.WithinEndTag,ri(bi,et.EndTag)):yt.skipWhitespace()?ri(bi,et.Whitespace,Di("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(xt=Wt.WithinEndTag,yt.advanceUntilChar(Ue),bi<yt.pos()?ri(bi,et.Unknown,Di("error.endTagNameExpected","End tag name expected.")):ei());case Wt.WithinEndTag:if(yt.skipWhitespace())return ri(bi,et.Whitespace);if(yt.advanceIfChar(Ue))return xt=Wt.WithinContent,ri(bi,et.EndTagClose);if(Re&&yt.peekChar()===vt)return xt=Wt.WithinContent,ri(bi,et.EndTagClose,Di("error.closingBracketMissing","Closing bracket missing."));ii=Di("error.closingBracketExpected","Closing bracket expected.");break;case Wt.AfterOpeningStartTag:return Le=Yt(),dt=void 0,Ke=void 0,Le.length>0?(Be=!1,xt=Wt.WithinTag,ri(bi,et.StartTag)):yt.skipWhitespace()?ri(bi,et.Whitespace,Di("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(xt=Wt.WithinTag,yt.advanceUntilChar(Ue),bi<yt.pos()?ri(bi,et.Unknown,Di("error.startTagNameExpected","Start tag name expected.")):ei());case Wt.WithinTag:return yt.skipWhitespace()?(Be=!0,ri(bi,et.Whitespace)):Be&&(Ke=yt.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(xt=Wt.AfterAttributeName,Be=!1,ri(bi,et.AttributeName)):yt.advanceIfChars([ut,Ue])?(xt=Wt.WithinContent,ri(bi,et.StartTagSelfClose)):yt.advanceIfChar(Ue)?(xt=Le==="script"?dt&&$i[dt]?Wt.WithinContent:Wt.WithinScriptContent:Le==="style"?Wt.WithinStyleContent:Wt.WithinContent,ri(bi,et.StartTagClose)):Re&&yt.peekChar()===vt?(xt=Wt.WithinContent,ri(bi,et.StartTagClose,Di("error.closingBracketMissing","Closing bracket missing."))):(yt.advance(1),ri(bi,et.Unknown,Di("error.unexpectedCharacterInTag","Unexpected character in tag.")));case Wt.AfterAttributeName:return yt.skipWhitespace()?(Be=!0,ri(bi,et.Whitespace)):yt.advanceIfChar(ze)?(xt=Wt.BeforeAttributeValue,ri(bi,et.DelimiterAssign)):(xt=Wt.WithinTag,ei());case Wt.BeforeAttributeValue:if(yt.skipWhitespace())return ri(bi,et.Whitespace);var ln=yt.advanceIfRegExp(/^[^\s"'`=<>]+/);if(ln.length>0)return yt.peekChar()===Ue&&yt.peekChar(-1)===ut&&(yt.goBack(1),ln=ln.substr(0,ln.length-1)),Ke==="type"&&(dt=ln),xt=Wt.WithinTag,Be=!1,ri(bi,et.AttributeValue);var mn=yt.peekChar();return mn===_t||mn===st?(yt.advance(1),yt.advanceUntilChar(mn)&&yt.advance(1),Ke==="type"&&(dt=yt.getSource().substring(bi+1,yt.pos()-1)),xt=Wt.WithinTag,Be=!1,ri(bi,et.AttributeValue)):(xt=Wt.WithinTag,Be=!1,ei());case Wt.WithinScriptContent:for(var sn=1;!yt.eos();){var gn=yt.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(gn.length===0)return yt.goToEnd(),ri(bi,et.Script);if(gn==="<!--")sn===1&&(sn=2);else if(gn==="-->")sn=1;else if(gn[1]!=="/")sn===2&&(sn=3);else{if(sn!==3){yt.goBack(gn.length);break}sn=2}}return xt=Wt.WithinContent,bi<yt.pos()?ri(bi,et.Script):ei();case Wt.WithinStyleContent:return yt.advanceUntilRegExp(/<\/style/i),xt=Wt.WithinContent,bi<yt.pos()?ri(bi,et.Styles):ei()}return yt.advance(1),xt=Wt.WithinContent,ri(bi,et.Unknown,ii)}();return _n===et.EOS||qi!==yt.pos()||Re&&(_n===et.StartTagClose||_n===et.EndTagClose)?_n:(console.log("Scanner.scan has not advanced at offset "+qi+", state before: "+an+" after: "+xt),yt.advance(1),ri(qi,et.Unknown))},getTokenType:function(){return mi},getTokenOffset:function(){return Xt},getTokenLength:function(){return yt.pos()-Xt},getTokenEnd:function(){return yt.pos()},getTokenText:function(){return yt.getSource().substring(Xt,yt.pos())},getScannerState:function(){return xt},getTokenError:function(){return We}}}function yi(Te,Ee){var ve=0,Re=Te.length;if(Re===0)return 0;for(;ve<Re;){var We=Math.floor((ve+Re)/2);Ee(Te[We])?Re=We:ve=We+1}return ve}var kt=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Et(Te){return!!Te&&function(Ee,ve,Re){for(var We=0,Be=Ee.length-1;We<=Be;){var Le=(We+Be)/2|0,Ke=Re(Ee[Le],ve);if(Ke<0)We=Le+1;else{if(!(Ke>0))return Le;Be=Le-1}}return-(We+1)}(kt,Te.toLowerCase(),function(Ee,ve){return Ee.localeCompare(ve)})>=0}var si=function(){function Te(Ee,ve,Re,We){this.start=Ee,this.end=ve,this.children=Re,this.parent=We,this.closed=!1}return Object.defineProperty(Te.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),Te.prototype.isSameTag=function(Ee){return this.tag===void 0?Ee===void 0:Ee!==void 0&&this.tag.length===Ee.length&&this.tag.toLowerCase()===Ee},Object.defineProperty(Te.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(Te.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),Te.prototype.findNodeBefore=function(Ee){var ve=yi(this.children,function(Be){return Ee<=Be.start})-1;if(ve>=0){var Re=this.children[ve];if(Ee>Re.start){if(Ee<Re.end)return Re.findNodeBefore(Ee);var We=Re.lastChild;return We&&We.end===Re.end?Re.findNodeBefore(Ee):Re}}return this},Te.prototype.findNodeAt=function(Ee){var ve=yi(this.children,function(We){return Ee<=We.start})-1;if(ve>=0){var Re=this.children[ve];if(Ee>Re.start&&Ee<=Re.end)return Re.findNodeAt(Ee)}return this},Te}();function Si(Te){for(var Ee=Hi(Te,void 0,void 0,!0),ve=new si(0,Te.length,[],void 0),Re=ve,We=-1,Be=void 0,Le=null,Ke=Ee.scan();Ke!==et.EOS;){switch(Ke){case et.StartTagOpen:var dt=new si(Ee.getTokenOffset(),Te.length,[],Re);Re.children.push(dt),Re=dt;break;case et.StartTag:Re.tag=Ee.getTokenText();break;case et.StartTagClose:Re.parent&&(Re.end=Ee.getTokenEnd(),Ee.getTokenLength()?(Re.startTagEnd=Ee.getTokenEnd(),Re.tag&&Et(Re.tag)&&(Re.closed=!0,Re=Re.parent)):Re=Re.parent);break;case et.StartTagSelfClose:Re.parent&&(Re.closed=!0,Re.end=Ee.getTokenEnd(),Re.startTagEnd=Ee.getTokenEnd(),Re=Re.parent);break;case et.EndTagOpen:We=Ee.getTokenOffset(),Be=void 0;break;case et.EndTag:Be=Ee.getTokenText().toLowerCase();break;case et.EndTagClose:for(var yt=Re;!yt.isSameTag(Be)&&yt.parent;)yt=yt.parent;if(yt.parent){for(;Re!==yt;)Re.end=We,Re.closed=!1,Re=Re.parent;Re.closed=!0,Re.endTagStart=We,Re.end=Ee.getTokenEnd(),Re=Re.parent}break;case et.AttributeName:Le=Ee.getTokenText(),(xt=Re.attributes)||(Re.attributes=xt={}),xt[Le]=null;break;case et.AttributeValue:var xt,Xt=Ee.getTokenText();(xt=Re.attributes)&&Le&&(xt[Le]=Xt,Le=null)}Ke=Ee.scan()}for(;Re.parent;)Re.end=Te.length,Re.closed=!1,Re=Re.parent;return{roots:ve.children,findNodeBefore:ve.findNodeBefore.bind(ve),findNodeAt:ve.findNodeAt.bind(ve)}}var Pi={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":` +`,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function Wi(Te,Ee){if(Te.length<Ee.length)return!1;for(var ve=0;ve<Ee.length;ve++)if(Te[ve]!==Ee[ve])return!1;return!0}function xn(Te,Ee){for(var ve="";Ee>0;)(1&Ee)==1&&(ve+=Te),Te+=Te,Ee>>>=1;return ve}var un="a".charCodeAt(0),bn="z".charCodeAt(0),Fn="A".charCodeAt(0),Mn="Z".charCodeAt(0),Nn="0".charCodeAt(0),Hn="9".charCodeAt(0);function Jn(Te,Ee){var ve=Te.charCodeAt(Ee);return un<=ve&&ve<=bn||Fn<=ve&&ve<=Mn||Nn<=ve&&ve<=Hn}function _o(Te){return Te!==void 0}var pn=function(){function Te(Ee,ve){var Re=this;this.id=Ee,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=ve.tags||[],this._globalAttributes=ve.globalAttributes||[],this._tags.forEach(function(We){Re._tagMap[We.name.toLowerCase()]=We}),ve.valueSets&&ve.valueSets.forEach(function(We){Re._valueSetMap[We.name]=We.values})}return Te.prototype.isApplicable=function(){return!0},Te.prototype.getId=function(){return this.id},Te.prototype.provideTags=function(){return this._tags},Te.prototype.provideAttributes=function(Ee){var ve=[],Re=function(Be){ve.push(Be)},We=this._tagMap[Ee.toLowerCase()];return We&&We.attributes.forEach(Re),this._globalAttributes.forEach(Re),ve},Te.prototype.provideValues=function(Ee,ve){var Re=this,We=[];ve=ve.toLowerCase();var Be=function(Ke){Ke.forEach(function(dt){dt.name.toLowerCase()===ve&&(dt.values&&dt.values.forEach(function(yt){We.push(yt)}),dt.valueSet&&Re._valueSetMap[dt.valueSet]&&Re._valueSetMap[dt.valueSet].forEach(function(yt){We.push(yt)}))})},Le=this._tagMap[Ee.toLowerCase()];return Le?(Be(Le.attributes),Be(this._globalAttributes),We):[]},Te}();function Gn(Te,Ee){var ve={kind:Ee?"markdown":"plaintext",value:""};if(Te.description){var Re=function(We){if(We)return typeof We=="string"?{kind:"markdown",value:We}:{kind:"markdown",value:We.value}}(Te.description);Re&&(ve.value+=Re.value)}if(Te.references&&Te.references.length>0&&(ve.value+=` + +`,ve.value+=Ee?Te.references.map(function(We){return"["+We.name+"]("+We.url+")"}).join(" | "):Te.references.map(function(We){return We.name+": "+We.url}).join(` +`)),ve.value!=="")return ve}var on=function(Te,Ee,ve,Re){return new(ve||(ve=Promise))(function(We,Be){function Le(yt){try{dt(Re.next(yt))}catch(xt){Be(xt)}}function Ke(yt){try{dt(Re.throw(yt))}catch(xt){Be(xt)}}function dt(yt){var xt;yt.done?We(yt.value):(xt=yt.value,xt instanceof ve?xt:new ve(function(Xt){Xt(xt)})).then(Le,Ke)}dt((Re=Re.apply(Te,Ee||[])).next())})},ho=function(Te,Ee){var ve,Re,We,Be,Le={label:0,sent:function(){if(1&We[0])throw We[1];return We[1]},trys:[],ops:[]};return Be={next:Ke(0),throw:Ke(1),return:Ke(2)},typeof Symbol=="function"&&(Be[Symbol.iterator]=function(){return this}),Be;function Ke(dt){return function(yt){return function(xt){if(ve)throw new TypeError("Generator is already executing.");for(;Le;)try{if(ve=1,Re&&(We=2&xt[0]?Re.return:xt[0]?Re.throw||((We=Re.return)&&We.call(Re),0):Re.next)&&!(We=We.call(Re,xt[1])).done)return We;switch(Re=0,We&&(xt=[2&xt[0],We.value]),xt[0]){case 0:case 1:We=xt;break;case 4:return Le.label++,{value:xt[1],done:!1};case 5:Le.label++,Re=xt[1],xt=[0];continue;case 7:xt=Le.ops.pop(),Le.trys.pop();continue;default:if(We=Le.trys,!((We=We.length>0&&We[We.length-1])||xt[0]!==6&&xt[0]!==2)){Le=0;continue}if(xt[0]===3&&(!We||xt[1]>We[0]&&xt[1]<We[3])){Le.label=xt[1];break}if(xt[0]===6&&Le.label<We[1]){Le.label=We[1],We=xt;break}if(We&&Le.label<We[2]){Le.label=We[2],Le.ops.push(xt);break}We[2]&&Le.ops.pop(),Le.trys.pop();continue}xt=Ee.call(Te,Le)}catch(Xt){xt=[6,Xt],Re=0}finally{ve=We=0}if(5&xt[0])throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}([dt,yt])}}},On=function(){function Te(Ee){this.readDirectory=Ee,this.atributeCompletions=[]}return Te.prototype.onHtmlAttributeValue=function(Ee){(function(ve,Re){var We=ne[ve];return We?typeof We=="string"?We===Re:We.indexOf(Re)!==-1:!1})(Ee.tag,Ee.attribute)&&this.atributeCompletions.push(Ee)},Te.prototype.computeCompletions=function(Ee,ve){return on(this,void 0,void 0,function(){var Re,We,Be,Le,Ke,dt,yt,xt,Xt,mi;return ho(this,function(Yt){switch(Yt.label){case 0:Re={items:[],isIncomplete:!1},We=0,Be=this.atributeCompletions,Yt.label=1;case 1:return We<Be.length?(Le=Be[We],function(ri){return!(Wi(ri,"http")||Wi(ri,"https")||Wi(ri,"//"))}(Ke=function(ri){return Wi(ri,"'")||Wi(ri,'"')?ri.slice(1,-1):ri}(Ee.getText(Le.range)))?Ke!=="."&&Ke!==".."?[3,2]:(Re.isIncomplete=!0,[3,4]):[3,4]):[3,5];case 2:return dt=function(ri,qi,an){var _n,ei=ri.lastIndexOf("/");if(ei===-1)_n=function(sn,gn,Sn){var En=I(sn.start,gn),Xn=I(sn.end,Sn);return E.create(En,Xn)}(an,1,-1);else{var ii=qi.slice(ei+1),bi=I(an.end,-1-ii.length),ln=ii.indexOf(" "),mn=void 0;mn=ln!==-1?I(bi,ln):I(an.end,-1),_n=E.create(bi,mn)}return _n}(Le.value,Ke,Le.range),[4,this.providePathSuggestions(Le.value,dt,Ee,ve)];case 3:for(yt=Yt.sent(),xt=0,Xt=yt;xt<Xt.length;xt++)mi=Xt[xt],Re.items.push(mi);Yt.label=4;case 4:return We++,[3,1];case 5:return[2,Re]}})})},Te.prototype.providePathSuggestions=function(Ee,ve,Re,We){return on(this,void 0,void 0,function(){var Be,Le,Ke,dt,yt,xt,Xt,mi,Yt;return ho(this,function(ri){switch(ri.label){case 0:if(Be=Ee.substring(0,Ee.lastIndexOf("/")+1),!(Le=We.resolveReference(Be||".",Re.uri)))return[3,4];ri.label=1;case 1:return ri.trys.push([1,3,,4]),Ke=[],[4,this.readDirectory(Le)];case 2:for(dt=ri.sent(),yt=0,xt=dt;yt<xt.length;yt++)Xt=xt[yt],mi=Xt[0],Yt=Xt[1],mi.charCodeAt(0)!==Dn&&Ke.push(qt(mi,Yt===Ii.Directory,ve));return[2,Ke];case 3:return ri.sent(),[3,4];case 4:return[2,[]]}})})},Te}(),Dn=".".charCodeAt(0);function qt(Te,Ee,ve){return Ee?{label:Te+="/",kind:te.Folder,textEdit:g.replace(ve,Te),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:Te,kind:te.File,textEdit:g.replace(ve,Te)}}function I(Te,Ee){return H.create(Te.line,Te.character+Ee)}var ne={a:"href",area:"href",body:"background",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},_e=function(Te,Ee,ve,Re){return new(ve||(ve=Promise))(function(We,Be){function Le(yt){try{dt(Re.next(yt))}catch(xt){Be(xt)}}function Ke(yt){try{dt(Re.throw(yt))}catch(xt){Be(xt)}}function dt(yt){var xt;yt.done?We(yt.value):(xt=yt.value,xt instanceof ve?xt:new ve(function(Xt){Xt(xt)})).then(Le,Ke)}dt((Re=Re.apply(Te,Ee||[])).next())})},Fe=function(Te,Ee){var ve,Re,We,Be,Le={label:0,sent:function(){if(1&We[0])throw We[1];return We[1]},trys:[],ops:[]};return Be={next:Ke(0),throw:Ke(1),return:Ke(2)},typeof Symbol=="function"&&(Be[Symbol.iterator]=function(){return this}),Be;function Ke(dt){return function(yt){return function(xt){if(ve)throw new TypeError("Generator is already executing.");for(;Le;)try{if(ve=1,Re&&(We=2&xt[0]?Re.return:xt[0]?Re.throw||((We=Re.return)&&We.call(Re),0):Re.next)&&!(We=We.call(Re,xt[1])).done)return We;switch(Re=0,We&&(xt=[2&xt[0],We.value]),xt[0]){case 0:case 1:We=xt;break;case 4:return Le.label++,{value:xt[1],done:!1};case 5:Le.label++,Re=xt[1],xt=[0];continue;case 7:xt=Le.ops.pop(),Le.trys.pop();continue;default:if(We=Le.trys,!((We=We.length>0&&We[We.length-1])||xt[0]!==6&&xt[0]!==2)){Le=0;continue}if(xt[0]===3&&(!We||xt[1]>We[0]&&xt[1]<We[3])){Le.label=xt[1];break}if(xt[0]===6&&Le.label<We[1]){Le.label=We[1],We=xt;break}if(We&&Le.label<We[2]){Le.label=We[2],Le.ops.push(xt);break}We[2]&&Le.ops.pop(),Le.trys.pop();continue}xt=Ee.call(Te,Le)}catch(Xt){xt=[6,Xt],Re=0}finally{ve=We=0}if(5&xt[0])throw xt[1];return{value:xt[0]?xt[1]:void 0,done:!0}}([dt,yt])}}},Xe=D(),ot=function(){function Te(Ee,ve){this.lsOptions=Ee,this.dataManager=ve,this.completionParticipants=[]}return Te.prototype.setCompletionParticipants=function(Ee){this.completionParticipants=Ee||[]},Te.prototype.doComplete2=function(Ee,ve,Re,We,Be){return _e(this,void 0,void 0,function(){var Le,Ke,dt,yt;return Fe(this,function(xt){switch(xt.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(Ee,ve,Re,Be)];Le=new On(this.lsOptions.fileSystemProvider.readDirectory),Ke=this.completionParticipants,this.completionParticipants=[Le].concat(Ke),dt=this.doComplete(Ee,ve,Re,Be),xt.label=1;case 1:return xt.trys.push([1,,3,4]),[4,Le.computeCompletions(Ee,We)];case 2:return yt=xt.sent(),[2,{isIncomplete:dt.isIncomplete||yt.isIncomplete,items:yt.items.concat(dt.items)}];case 3:return this.completionParticipants=Ke,[7];case 4:return[2]}})})},Te.prototype.doComplete=function(Ee,ve,Re,We){var Be=this._doComplete(Ee,ve,Re,We);return this.convertCompletionList(Be)},Te.prototype._doComplete=function(Ee,ve,Re,We){var Be={isIncomplete:!1,items:[]},Le=this.completionParticipants,Ke=this.dataManager.getDataProviders().filter(function(In){return In.isApplicable(Ee.languageId)&&(!We||We[In.getId()]!==!1)}),dt=this.doesSupportMarkdown(),yt=Ee.getText(),xt=Ee.offsetAt(ve),Xt=Re.findNodeBefore(xt);if(!Xt)return Be;var mi,Yt=Hi(yt,Xt.start),ri="";function qi(In,Rn){return Rn===void 0&&(Rn=xt),In>xt&&(In=xt),{start:Ee.positionAt(In),end:Ee.positionAt(Rn)}}function an(In,Rn){var Qn=qi(In,Rn);return Ke.forEach(function(vo){vo.provideTags().forEach(function(Mo){Be.items.push({label:Mo.name,kind:te.Property,documentation:Gn(Mo,dt),textEdit:g.replace(Qn,Mo.name),insertTextFormat:he.PlainText})})}),Be}function _n(In){for(var Rn=In;Rn>0;){var Qn=yt.charAt(Rn-1);if(` +\r`.indexOf(Qn)>=0)return yt.substring(Rn,In);if(!Mt(Qn))return null;Rn--}return yt.substring(0,In)}function ei(In,Rn,Qn){Qn===void 0&&(Qn=xt);var vo=qi(In,Qn),Mo=Ot(yt,Qn,Wt.WithinEndTag,et.EndTagClose)?"":">",So=Xt;for(Rn&&(So=So.parent);So;){var ko=So.tag;if(ko&&(!So.closed||So.endTagStart&&So.endTagStart>xt)){var po={label:"/"+ko,kind:te.Property,filterText:"/"+ko,textEdit:g.replace(vo,"/"+ko+Mo),insertTextFormat:he.PlainText},Tn=_n(So.start),No=_n(In-1);if(Tn!==null&&No!==null&&Tn!==No){var Ho=Tn+"</"+ko+Mo;po.textEdit=g.replace(qi(In-1-No.length),Ho),po.filterText=No+"</"+ko}return Be.items.push(po),Be}So=So.parent}return Rn||Ke.forEach(function(gr){gr.provideTags().forEach(function(wo){Be.items.push({label:"/"+wo.name,kind:te.Property,documentation:Gn(wo,dt),filterText:"/"+wo+Mo,textEdit:g.replace(vo,"/"+wo+Mo),insertTextFormat:he.PlainText})})}),Be}function ii(In,Rn){if(We&&We.hideAutoCompleteProposals)return Be;if(!Et(Rn)){var Qn=Ee.positionAt(In);Be.items.push({label:"</"+Rn+">",kind:te.Property,filterText:"</"+Rn+">",textEdit:g.insert(Qn,"$0</"+Rn+">"),insertTextFormat:he.Snippet})}return Be}function bi(In,Rn){return an(In,Rn),ei(In,!0,Rn),Be}function ln(In,Rn){Rn===void 0&&(Rn=xt);for(var Qn=xt;Qn<Rn&&yt[Qn]!=="<";)Qn++;var vo=qi(In,Qn),Mo=Ot(yt,Rn,Wt.AfterAttributeName,et.DelimiterAssign)?"":'="$1"',So=Object.create(null);return Ke.forEach(function(ko){ko.provideAttributes(ri).forEach(function(po){if(!So[po.name]){So[po.name]=!0;var Tn,No=po.name;po.valueSet!=="v"&&Mo.length&&(No+=Mo,(po.valueSet||po.name==="style")&&(Tn={title:"Suggest",command:"editor.action.triggerSuggest"})),Be.items.push({label:po.name,kind:po.valueSet==="handler"?te.Function:te.Value,documentation:Gn(po,dt),textEdit:g.replace(vo,No),insertTextFormat:he.Snippet,command:Tn})}})}),function(ko,po){var Tn={};Tn["data-"]='data-$1="$2"',Re&&Re.roots.forEach(function(No){return function Ho(gr){gr.attributeNames.forEach(function(wo){!Wi(wo,"data-")||Tn[wo]||po[wo]||(Tn[wo]=wo+'="$1"')}),gr.children.forEach(function(wo){return Ho(wo)})}(No)}),Object.keys(Tn).forEach(function(No){return Be.items.push({label:No,kind:te.Value,textEdit:g.replace(ko,Tn[No]),insertTextFormat:he.Snippet})})}(vo,So),Be}function mn(In,Rn){var Qn,vo,Mo,So;if(Rn===void 0&&(Rn=xt),xt>In&&xt<=Rn&&(So=yt[In],/^["']*$/.test(So))){var ko=In+1,po=Rn;Rn>In&&yt[Rn-1]===yt[In]&&po--;var Tn=function(cr,Eo,Lr){for(;Eo>Lr&&!Mt(cr[Eo-1]);)Eo--;return Eo}(yt,xt,ko),No=function(cr,Eo,Lr){for(;Eo<Lr&&!Mt(cr[Eo]);)Eo++;return Eo}(yt,xt,po);Qn=qi(Tn,No),Mo=xt>=ko&&xt<=po?yt.substring(ko,xt):"",vo=!1}else Qn=qi(In,Rn),Mo=yt.substring(In,xt),vo=!0;if(Le.length>0)for(var Ho=ri.toLowerCase(),gr=mi.toLowerCase(),wo=qi(In,Rn),ls=0,Br=Le;ls<Br.length;ls++){var Kn=Br[ls];Kn.onHtmlAttributeValue&&Kn.onHtmlAttributeValue({document:Ee,position:ve,tag:Ho,attribute:gr,value:Mo,range:wo})}return Ke.forEach(function(cr){cr.provideValues(ri,mi).forEach(function(Eo){var Lr=vo?'"'+Eo.name+'"':Eo.name;Be.items.push({label:Eo.name,filterText:Lr,kind:te.Unit,documentation:Gn(Eo,dt),textEdit:g.replace(Qn,Lr),insertTextFormat:he.PlainText})})}),Sn(),Be}function sn(In){return xt===Yt.getTokenEnd()&&(Xn=Yt.scan())===In&&Yt.getTokenOffset()===xt?Yt.getTokenEnd():xt}function gn(){for(var In=0,Rn=Le;In<Rn.length;In++){var Qn=Rn[In];Qn.onHtmlContent&&Qn.onHtmlContent({document:Ee,position:ve})}return Sn()}function Sn(){for(var In,Rn,Qn,vo=xt-1,Mo=ve.character;vo>=0&&Jn(yt,vo);)vo--,Mo--;if(vo>=0&&yt[vo]==="&"){var So=E.create(H.create(ve.line,Mo-1),ve);for(var ko in Pi)if(Rn=";",Qn=void 0,(Qn=(In=ko).length-Rn.length)>0?In.lastIndexOf(Rn)===Qn:Qn===0&&In===Rn){var po="&"+ko;Be.items.push({label:po,kind:te.Keyword,documentation:Xe("entity.propose","Character entity representing '"+Pi[ko]+"'"),textEdit:g.replace(So,po),insertTextFormat:he.PlainText})}}return Be}for(var En,Xn=Yt.scan();Xn!==et.EOS&&Yt.getTokenOffset()<=xt;){switch(Xn){case et.StartTagOpen:if(Yt.getTokenEnd()===xt){var Yn=sn(et.StartTag);return ve.line===0&&(En=void 0,En=qi(xt,Yn),Be.items.push({label:"!DOCTYPE",kind:te.Property,documentation:"A preamble for an HTML document.",textEdit:g.replace(En,"!DOCTYPE html>"),insertTextFormat:he.PlainText})),bi(xt,Yn)}break;case et.StartTag:if(Yt.getTokenOffset()<=xt&&xt<=Yt.getTokenEnd())return an(Yt.getTokenOffset(),Yt.getTokenEnd());ri=Yt.getTokenText();break;case et.AttributeName:if(Yt.getTokenOffset()<=xt&&xt<=Yt.getTokenEnd())return ln(Yt.getTokenOffset(),Yt.getTokenEnd());mi=Yt.getTokenText();break;case et.DelimiterAssign:if(Yt.getTokenEnd()===xt)return Yn=sn(et.AttributeValue),mn(xt,Yn);break;case et.AttributeValue:if(Yt.getTokenOffset()<=xt&&xt<=Yt.getTokenEnd())return mn(Yt.getTokenOffset(),Yt.getTokenEnd());break;case et.Whitespace:if(xt<=Yt.getTokenEnd())switch(Yt.getScannerState()){case Wt.AfterOpeningStartTag:return bi(Yt.getTokenOffset(),sn(et.StartTag));case Wt.WithinTag:case Wt.AfterAttributeName:return ln(Yt.getTokenEnd());case Wt.BeforeAttributeValue:return mn(Yt.getTokenEnd());case Wt.AfterOpeningEndTag:return ei(Yt.getTokenOffset()-1,!1);case Wt.WithinContent:return gn()}break;case et.EndTagOpen:if(xt<=Yt.getTokenEnd())return ei(Yt.getTokenOffset()+1,!1,sn(et.EndTag));break;case et.EndTag:if(xt<=Yt.getTokenEnd())for(var Io=Yt.getTokenOffset()-1;Io>=0;){var Ro=yt.charAt(Io);if(Ro==="/")return ei(Io,!1,Yt.getTokenEnd());if(!Mt(Ro))break;Io--}break;case et.StartTagClose:if(xt<=Yt.getTokenEnd()&&ri)return ii(Yt.getTokenEnd(),ri);break;case et.Content:if(xt<=Yt.getTokenEnd())return gn();break;default:if(xt<=Yt.getTokenEnd())return Be}Xn=Yt.scan()}return Be},Te.prototype.doTagComplete=function(Ee,ve,Re){var We=Ee.offsetAt(ve);if(We<=0)return null;var Be=Ee.getText().charAt(We-1);if(Be===">"){if((Ke=Re.findNodeBefore(We))&&Ke.tag&&!Et(Ke.tag)&&Ke.start<We&&(!Ke.endTagStart||Ke.endTagStart>We))for(var Le=(dt=Hi(Ee.getText(),Ke.start)).scan();Le!==et.EOS&&dt.getTokenEnd()<=We;){if(Le===et.StartTagClose&&dt.getTokenEnd()===We)return"$0</"+Ke.tag+">";Le=dt.scan()}}else if(Be==="/"){for(var Ke=Re.findNodeBefore(We);Ke&&Ke.closed;)Ke=Ke.parent;if(Ke&&Ke.tag){var dt;for(Le=(dt=Hi(Ee.getText(),Ke.start)).scan();Le!==et.EOS&&dt.getTokenEnd()<=We;){if(Le===et.EndTagOpen&&dt.getTokenEnd()===We)return Ke.tag+">";Le=dt.scan()}}}return null},Te.prototype.convertCompletionList=function(Ee){return this.doesSupportMarkdown()||Ee.items.forEach(function(ve){ve.documentation&&typeof ve.documentation!="string"&&(ve.documentation={kind:"plaintext",value:ve.documentation.value})}),Ee},Te.prototype.doesSupportMarkdown=function(){var Ee,ve,Re;if(!_o(this.supportsMarkdown)){if(!_o(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var We=(Re=(ve=(Ee=this.lsOptions.clientCapabilities.textDocument)===null||Ee===void 0?void 0:Ee.completion)===null||ve===void 0?void 0:ve.completionItem)===null||Re===void 0?void 0:Re.documentationFormat;this.supportsMarkdown=Array.isArray(We)&&We.indexOf(Y.Markdown)!==-1}return this.supportsMarkdown},Te}();function Mt(Te){return/^\s*$/.test(Te)}function Ot(Te,Ee,ve,Re){for(var We=Hi(Te,Ee,ve),Be=We.scan();Be===et.Whitespace;)Be=We.scan();return Be===Re}var Tt=function(){function Te(Ee,ve){this.lsOptions=Ee,this.dataManager=ve}return Te.prototype.doHover=function(Ee,ve,Re){var We=this.convertContents.bind(this),Be=this.doesSupportMarkdown(),Le=Ee.offsetAt(ve),Ke=Re.findNodeAt(Le);if(!Ke||!Ke.tag)return null;var dt=this.dataManager.getDataProviders().filter(function(ei){return ei.isApplicable(Ee.languageId)});function yt(ei,ii,bi){for(var ln=function(Sn){var En=null;if(Sn.provideTags().forEach(function(Xn){if(Xn.name.toLowerCase()===ei.toLowerCase()){var Yn=Gn(Xn,Be);Yn||(Yn={kind:Be?"markdown":"plaintext",value:""}),En={contents:Yn,range:ii}}}),En)return En.contents=We(En.contents),{value:En}},mn=0,sn=dt;mn<sn.length;mn++){var gn=ln(sn[mn]);if(typeof gn=="object")return gn.value}return null}function xt(ei,ii){for(var bi=Hi(Ee.getText(),ii),ln=bi.scan();ln!==et.EOS&&(bi.getTokenEnd()<Le||bi.getTokenEnd()===Le&&ln!==ei);)ln=bi.scan();return ln===ei&&Le<=bi.getTokenEnd()?{start:Ee.positionAt(bi.getTokenOffset()),end:Ee.positionAt(bi.getTokenEnd())}:null}if(Ke.endTagStart&&Le>=Ke.endTagStart){var Xt=xt(et.EndTag,Ke.endTagStart);return Xt?yt(Ke.tag,Xt):null}var mi=xt(et.StartTag,Ke.start);if(mi)return yt(Ke.tag,mi);var Yt=xt(et.AttributeName,Ke.start);if(Yt)return function(ei,ii,bi){for(var ln=function(Sn){var En=null;if(Sn.provideAttributes(ei).forEach(function(Xn){if(ii===Xn.name&&Xn.description){var Yn=Gn(Xn,Be);En=Yn?{contents:Yn,range:bi}:null}}),En)return En.contents=We(En.contents),{value:En}},mn=0,sn=dt;mn<sn.length;mn++){var gn=ln(sn[mn]);if(typeof gn=="object")return gn.value}return null}(qi=Ke.tag,Ee.getText(Yt),Yt);var ri=xt(et.AttributeValue,Ke.start);if(ri){var qi=Ke.tag,an=function(ei){return ei.length<=1?ei.replace(/['"]/,""):(ei[0]!=="'"&&ei[0]!=='"'||(ei=ei.slice(1)),ei[ei.length-1]!=="'"&&ei[ei.length-1]!=='"'||(ei=ei.slice(0,-1)),ei)}(Ee.getText(ri)),_n=function(ei,ii){for(var bi=Hi(Ee.getText(),ei),ln=bi.scan(),mn=void 0;ln!==et.EOS&&bi.getTokenEnd()<=ii;)(ln=bi.scan())===et.AttributeName&&(mn=bi.getTokenText());return mn}(Ke.start,Ee.offsetAt(ri.start));if(_n)return function(ei,ii,bi,ln){for(var mn=function(En){var Xn=null;if(En.provideValues(ei,ii).forEach(function(Yn){if(bi===Yn.name&&Yn.description){var Io=Gn(Yn,Be);Xn=Io?{contents:Io,range:ln}:null}}),Xn)return Xn.contents=We(Xn.contents),{value:Xn}},sn=0,gn=dt;sn<gn.length;sn++){var Sn=mn(gn[sn]);if(typeof Sn=="object")return Sn.value}return null}(qi,_n,an,ri)}return null},Te.prototype.convertContents=function(Ee){if(!this.doesSupportMarkdown()){if(typeof Ee=="string")return Ee;if("kind"in Ee)return{kind:"plaintext",value:Ee.value};if(!Array.isArray(Ee))return Ee.value;Ee.map(function(ve){return typeof ve=="string"?ve:ve.value})}return Ee},Te.prototype.doesSupportMarkdown=function(){var Ee,ve,Re;if(!_o(this.supportsMarkdown)){if(!_o(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var We=(Re=(ve=(Ee=this.lsOptions.clientCapabilities)===null||Ee===void 0?void 0:Ee.textDocument)===null||ve===void 0?void 0:ve.hover)===null||Re===void 0?void 0:Re.contentFormat;this.supportsMarkdown=Array.isArray(We)&&We.indexOf(Y.Markdown)!==-1}return this.supportsMarkdown},Te}();function Ht(Te,Ee){return Te}var jt=function(Te){var Ee={};function ve(Re){if(Ee[Re])return Ee[Re].exports;var We=Ee[Re]={i:Re,l:!1,exports:{}};return Te[Re].call(We.exports,We,We.exports,ve),We.l=!0,We.exports}return ve.m=Te,ve.c=Ee,ve.d=function(Re,We,Be){ve.o(Re,We)||Object.defineProperty(Re,We,{enumerable:!0,get:Be})},ve.r=function(Re){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Re,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Re,"__esModule",{value:!0})},ve.t=function(Re,We){if(1&We&&(Re=ve(Re)),8&We||4&We&&typeof Re=="object"&&Re&&Re.__esModule)return Re;var Be=Object.create(null);if(ve.r(Be),Object.defineProperty(Be,"default",{enumerable:!0,value:Re}),2&We&&typeof Re!="string")for(var Le in Re)ve.d(Be,Le,function(Ke){return Re[Ke]}.bind(null,Le));return Be},ve.n=function(Re){var We=Re&&Re.__esModule?function(){return Re.default}:function(){return Re};return ve.d(We,"a",We),We},ve.o=function(Re,We){return Object.prototype.hasOwnProperty.call(Re,We)},ve.p="",ve(ve.s=15)}([,,function(Te,Ee,ve){function Re(Le){this.__parent=Le,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function We(Le,Ke){this.__cache=[""],this.__indent_size=Le.indent_size,this.__indent_string=Le.indent_char,Le.indent_with_tabs||(this.__indent_string=new Array(Le.indent_size+1).join(Le.indent_char)),Ke=Ke||"",Le.indent_level>0&&(Ke=new Array(Le.indent_level+1).join(this.__indent_string)),this.__base_string=Ke,this.__base_string_length=Ke.length}function Be(Le,Ke){this.__indent_cache=new We(Le,Ke),this.raw=!1,this._end_with_newline=Le.end_with_newline,this.indent_size=Le.indent_size,this.wrap_line_length=Le.wrap_line_length,this.indent_empty_lines=Le.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new Re(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}Re.prototype.clone_empty=function(){var Le=new Re(this.__parent);return Le.set_indent(this.__indent_count,this.__alignment_count),Le},Re.prototype.item=function(Le){return Le<0?this.__items[this.__items.length+Le]:this.__items[Le]},Re.prototype.has_match=function(Le){for(var Ke=this.__items.length-1;Ke>=0;Ke--)if(this.__items[Ke].match(Le))return!0;return!1},Re.prototype.set_indent=function(Le,Ke){this.is_empty()&&(this.__indent_count=Le||0,this.__alignment_count=Ke||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},Re.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},Re.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},Re.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var Le=this.__parent.current_line;return Le.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),Le.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),Le.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,Le.__items[0]===" "&&(Le.__items.splice(0,1),Le.__character_count-=1),!0}return!1},Re.prototype.is_empty=function(){return this.__items.length===0},Re.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},Re.prototype.push=function(Le){this.__items.push(Le);var Ke=Le.lastIndexOf(` +`);Ke!==-1?this.__character_count=Le.length-Ke:this.__character_count+=Le.length},Re.prototype.pop=function(){var Le=null;return this.is_empty()||(Le=this.__items.pop(),this.__character_count-=Le.length),Le},Re.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},Re.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},Re.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},Re.prototype.toString=function(){var Le="";return this.is_empty()?this.__parent.indent_empty_lines&&(Le=this.__parent.get_indent_string(this.__indent_count)):(Le=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),Le+=this.__items.join("")),Le},We.prototype.get_indent_size=function(Le,Ke){var dt=this.__base_string_length;return Ke=Ke||0,Le<0&&(dt=0),dt+=Le*this.__indent_size,dt+=Ke},We.prototype.get_indent_string=function(Le,Ke){var dt=this.__base_string;return Ke=Ke||0,Le<0&&(Le=0,dt=""),Ke+=Le*this.__indent_size,this.__ensure_cache(Ke),dt+=this.__cache[Ke]},We.prototype.__ensure_cache=function(Le){for(;Le>=this.__cache.length;)this.__add_column()},We.prototype.__add_column=function(){var Le=this.__cache.length,Ke=0,dt="";this.__indent_size&&Le>=this.__indent_size&&(Le-=(Ke=Math.floor(Le/this.__indent_size))*this.__indent_size,dt=new Array(Ke+1).join(this.__indent_string)),Le&&(dt+=new Array(Le+1).join(" ")),this.__cache.push(dt)},Be.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},Be.prototype.get_line_number=function(){return this.__lines.length},Be.prototype.get_indent_string=function(Le,Ke){return this.__indent_cache.get_indent_string(Le,Ke)},Be.prototype.get_indent_size=function(Le,Ke){return this.__indent_cache.get_indent_size(Le,Ke)},Be.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},Be.prototype.add_new_line=function(Le){return!(this.is_empty()||!Le&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},Be.prototype.get_code=function(Le){this.trim(!0);var Ke=this.current_line.pop();Ke&&(Ke[Ke.length-1]===` +`&&(Ke=Ke.replace(/\n+$/g,"")),this.current_line.push(Ke)),this._end_with_newline&&this.__add_outputline();var dt=this.__lines.join(` +`);return Le!==` +`&&(dt=dt.replace(/[\n]/g,Le)),dt},Be.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},Be.prototype.set_indent=function(Le,Ke){return Le=Le||0,Ke=Ke||0,this.next_line.set_indent(Le,Ke),this.__lines.length>1?(this.current_line.set_indent(Le,Ke),!0):(this.current_line.set_indent(),!1)},Be.prototype.add_raw_token=function(Le){for(var Ke=0;Ke<Le.newlines;Ke++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(Le.whitespace_before),this.current_line.push(Le.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},Be.prototype.add_token=function(Le){this.__add_space_before_token(),this.current_line.push(Le),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},Be.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},Be.prototype.remove_indent=function(Le){for(var Ke=this.__lines.length;Le<Ke;)this.__lines[Le]._remove_indent(),Le++;this.current_line._remove_wrap_indent()},Be.prototype.trim=function(Le){for(Le=Le!==void 0&&Le,this.current_line.trim();Le&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},Be.prototype.just_added_newline=function(){return this.current_line.is_empty()},Be.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},Be.prototype.ensure_empty_line_above=function(Le,Ke){for(var dt=this.__lines.length-2;dt>=0;){var yt=this.__lines[dt];if(yt.is_empty())break;if(yt.item(0).indexOf(Le)!==0&&yt.item(-1)!==Ke){this.__lines.splice(dt+1,0,new Re(this)),this.previous_line=this.__lines[this.__lines.length-2];break}dt--}},Te.exports.Output=Be},,,,function(Te,Ee,ve){function Re(Le,Ke){this.raw_options=We(Le,Ke),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function We(Le,Ke){var dt,yt={};for(dt in Le=Be(Le))dt!==Ke&&(yt[dt]=Le[dt]);if(Ke&&Le[Ke])for(dt in Le[Ke])yt[dt]=Le[Ke][dt];return yt}function Be(Le){var Ke,dt={};for(Ke in Le)dt[Ke.replace(/-/g,"_")]=Le[Ke];return dt}Re.prototype._get_array=function(Le,Ke){var dt=this.raw_options[Le],yt=Ke||[];return typeof dt=="object"?dt!==null&&typeof dt.concat=="function"&&(yt=dt.concat()):typeof dt=="string"&&(yt=dt.split(/[^a-zA-Z0-9_\/\-]+/)),yt},Re.prototype._get_boolean=function(Le,Ke){var dt=this.raw_options[Le];return dt===void 0?!!Ke:!!dt},Re.prototype._get_characters=function(Le,Ke){var dt=this.raw_options[Le],yt=Ke||"";return typeof dt=="string"&&(yt=dt.replace(/\\r/,"\r").replace(/\\n/,` +`).replace(/\\t/," ")),yt},Re.prototype._get_number=function(Le,Ke){var dt=this.raw_options[Le];Ke=parseInt(Ke,10),isNaN(Ke)&&(Ke=0);var yt=parseInt(dt,10);return isNaN(yt)&&(yt=Ke),yt},Re.prototype._get_selection=function(Le,Ke,dt){var yt=this._get_selection_list(Le,Ke,dt);if(yt.length!==1)throw new Error("Invalid Option Value: The option '"+Le+`' can only be one of the following values: +`+Ke+` +You passed in: '`+this.raw_options[Le]+"'");return yt[0]},Re.prototype._get_selection_list=function(Le,Ke,dt){if(!Ke||Ke.length===0)throw new Error("Selection list cannot be empty.");if(dt=dt||[Ke[0]],!this._is_valid_selection(dt,Ke))throw new Error("Invalid Default Value!");var yt=this._get_array(Le,dt);if(!this._is_valid_selection(yt,Ke))throw new Error("Invalid Option Value: The option '"+Le+`' can contain only the following values: +`+Ke+` +You passed in: '`+this.raw_options[Le]+"'");return yt},Re.prototype._is_valid_selection=function(Le,Ke){return Le.length&&Ke.length&&!Le.some(function(dt){return Ke.indexOf(dt)===-1})},Te.exports.Options=Re,Te.exports.normalizeOpts=Be,Te.exports.mergeOpts=We},,function(Te,Ee,ve){var Re=RegExp.prototype.hasOwnProperty("sticky");function We(Be){this.__input=Be||"",this.__input_length=this.__input.length,this.__position=0}We.prototype.restart=function(){this.__position=0},We.prototype.back=function(){this.__position>0&&(this.__position-=1)},We.prototype.hasNext=function(){return this.__position<this.__input_length},We.prototype.next=function(){var Be=null;return this.hasNext()&&(Be=this.__input.charAt(this.__position),this.__position+=1),Be},We.prototype.peek=function(Be){var Le=null;return Be=Be||0,(Be+=this.__position)>=0&&Be<this.__input_length&&(Le=this.__input.charAt(Be)),Le},We.prototype.__match=function(Be,Le){Be.lastIndex=Le;var Ke=Be.exec(this.__input);return!Ke||Re&&Be.sticky||Ke.index!==Le&&(Ke=null),Ke},We.prototype.test=function(Be,Le){return Le=Le||0,(Le+=this.__position)>=0&&Le<this.__input_length&&!!this.__match(Be,Le)},We.prototype.testChar=function(Be,Le){var Ke=this.peek(Le);return Be.lastIndex=0,Ke!==null&&Be.test(Ke)},We.prototype.match=function(Be){var Le=this.__match(Be,this.__position);return Le?this.__position+=Le[0].length:Le=null,Le},We.prototype.read=function(Be,Le,Ke){var dt,yt="";return Be&&(dt=this.match(Be))&&(yt+=dt[0]),!Le||!dt&&Be||(yt+=this.readUntil(Le,Ke)),yt},We.prototype.readUntil=function(Be,Le){var Ke,dt=this.__position;Be.lastIndex=this.__position;var yt=Be.exec(this.__input);return yt?(dt=yt.index,Le&&(dt+=yt[0].length)):dt=this.__input_length,Ke=this.__input.substring(this.__position,dt),this.__position=dt,Ke},We.prototype.readUntilAfter=function(Be){return this.readUntil(Be,!0)},We.prototype.get_regexp=function(Be,Le){var Ke=null,dt="g";return Le&&Re&&(dt="y"),typeof Be=="string"&&Be!==""?Ke=new RegExp(Be,dt):Be&&(Ke=new RegExp(Be.source,dt)),Ke},We.prototype.get_literal_regexp=function(Be){return RegExp(Be.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},We.prototype.peekUntilAfter=function(Be){var Le=this.__position,Ke=this.readUntilAfter(Be);return this.__position=Le,Ke},We.prototype.lookBack=function(Be){var Le=this.__position-1;return Le>=Be.length&&this.__input.substring(Le-Be.length,Le).toLowerCase()===Be},Te.exports.InputScanner=We},,,,,function(Te,Ee,ve){function Re(We,Be){We=typeof We=="string"?We:We.source,Be=typeof Be=="string"?Be:Be.source,this.__directives_block_pattern=new RegExp(We+/ beautify( \w+[:]\w+)+ /.source+Be,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(We+/\sbeautify\signore:end\s/.source+Be,"g")}Re.prototype.get_directives=function(We){if(!We.match(this.__directives_block_pattern))return null;var Be={};this.__directive_pattern.lastIndex=0;for(var Le=this.__directive_pattern.exec(We);Le;)Be[Le[1]]=Le[2],Le=this.__directive_pattern.exec(We);return Be},Re.prototype.readIgnored=function(We){return We.readUntilAfter(this.__directives_end_ignore_pattern)},Te.exports.Directives=Re},,function(Te,Ee,ve){var Re=ve(16).Beautifier,We=ve(17).Options;Te.exports=function(Be,Le){return new Re(Be,Le).beautify()},Te.exports.defaultOptions=function(){return new We}},function(Te,Ee,ve){var Re=ve(17).Options,We=ve(2).Output,Be=ve(8).InputScanner,Le=new(ve(13)).Directives(/\/\*/,/\*\//),Ke=/\r\n|[\r\n]/,dt=/\r\n|[\r\n]/g,yt=/\s/,xt=/(?:\s|\n)+/g,Xt=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,mi=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Yt(ri,qi){this._source_text=ri||"",this._options=new Re(qi),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}Yt.prototype.eatString=function(ri){var qi="";for(this._ch=this._input.next();this._ch;){if(qi+=this._ch,this._ch==="\\")qi+=this._input.next();else if(ri.indexOf(this._ch)!==-1||this._ch===` +`)break;this._ch=this._input.next()}return qi},Yt.prototype.eatWhitespace=function(ri){for(var qi=yt.test(this._input.peek()),an=!0;yt.test(this._input.peek());)this._ch=this._input.next(),ri&&this._ch===` +`&&(this._options.preserve_newlines||an)&&(an=!1,this._output.add_new_line(!0));return qi},Yt.prototype.foundNestedPseudoClass=function(){for(var ri=0,qi=1,an=this._input.peek(qi);an;){if(an==="{")return!0;if(an==="(")ri+=1;else if(an===")"){if(ri===0)return!1;ri-=1}else if(an===";"||an==="}")return!1;qi++,an=this._input.peek(qi)}return!1},Yt.prototype.print_string=function(ri){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(ri)},Yt.prototype.preserveSingleSpace=function(ri){ri&&(this._output.space_before_token=!0)},Yt.prototype.indent=function(){this._indentLevel++},Yt.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},Yt.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var ri=this._source_text,qi=this._options.eol;qi==="auto"&&(qi=` +`,ri&&Ke.test(ri||"")&&(qi=ri.match(Ke)[0]));var an=(ri=ri.replace(dt,` +`)).match(/^[\t ]*/)[0];this._output=new We(this._options,an),this._input=new Be(ri),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var _n,ei,ii=0,bi=!1,ln=!1,mn=!1,sn=!1,gn=!1,Sn=this._ch;_n=this._input.read(xt)!=="",ei=Sn,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),Sn=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var En=this._input.read(Xt),Xn=Le.get_directives(En);Xn&&Xn.ignore==="start"&&(En+=Le.readIgnored(this._input)),this.print_string(En),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(mi)),this.eatWhitespace(!0);else if(this._ch==="@")if(this.preserveSingleSpace(_n),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Yn=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Yn.match(/[ :]$/)&&(Yn=this.eatString(": ").replace(/\s$/,""),this.print_string(Yn),this._output.space_before_token=!0),(Yn=Yn.replace(/\s$/,""))==="extend"?sn=!0:Yn==="import"&&(gn=!0),Yn in this.NESTED_AT_RULE?(this._nestedLevel+=1,Yn in this.CONDITIONAL_GROUP_RULE&&(mn=!0)):bi||ii!==0||Yn.indexOf(":")===-1||(ln=!0,this.indent())}else this._ch==="#"&&this._input.peek()==="{"?(this.preserveSingleSpace(_n),this.print_string(this._ch+this.eatString("}"))):this._ch==="{"?(ln&&(ln=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),mn?(mn=!1,bi=this._indentLevel>this._nestedLevel):bi=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&bi&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):this._ch==="}"?(this.outdent(),this._output.add_new_line(),ei==="{"&&this._output.trim(!0),gn=!1,sn=!1,ln&&(this.outdent(),ln=!1),this.print_string(this._ch),bi=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0)):this._ch===":"?!bi&&!mn||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||sn||ii!==0?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),ln||(ln=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):this._ch==='"'||this._ch==="'"?(this.preserveSingleSpace(_n),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):this._ch===";"?ii===0?(ln&&(this.outdent(),ln=!1),sn=!1,gn=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):this._ch==="("?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),ii++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),ii&&(ii--,this.outdent()))):(this.preserveSingleSpace(_n),this.print_string(this._ch),this.eatWhitespace(),ii++,this.indent()):this._ch===")"?(ii&&(ii--,this.outdent()),this.print_string(this._ch)):this._ch===","?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||ln||ii!==0||gn?this._output.space_before_token=!0:this._output.add_new_line()):this._ch!==">"&&this._ch!=="+"&&this._ch!=="~"||ln||ii!==0?this._ch==="]"?this.print_string(this._ch):this._ch==="["?(this.preserveSingleSpace(_n),this.print_string(this._ch)):this._ch==="="?(this.eatWhitespace(),this.print_string("="),yt.test(this._ch)&&(this._ch="")):this._ch!=="!"||this._input.lookBack("\\")?(this.preserveSingleSpace(_n),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&yt.test(this._ch)&&(this._ch=""));return this._output.get_code(qi)},Te.exports.Beautifier=Yt},function(Te,Ee,ve){var Re=ve(6).Options;function We(Be){Re.call(this,Be,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var Le=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||Le}We.prototype=new Re,Te.exports.Options=We}]),Kt=function(Te){var Ee={};function ve(Re){if(Ee[Re])return Ee[Re].exports;var We=Ee[Re]={i:Re,l:!1,exports:{}};return Te[Re].call(We.exports,We,We.exports,ve),We.l=!0,We.exports}return ve.m=Te,ve.c=Ee,ve.d=function(Re,We,Be){ve.o(Re,We)||Object.defineProperty(Re,We,{enumerable:!0,get:Be})},ve.r=function(Re){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Re,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Re,"__esModule",{value:!0})},ve.t=function(Re,We){if(1&We&&(Re=ve(Re)),8&We||4&We&&typeof Re=="object"&&Re&&Re.__esModule)return Re;var Be=Object.create(null);if(ve.r(Be),Object.defineProperty(Be,"default",{enumerable:!0,value:Re}),2&We&&typeof Re!="string")for(var Le in Re)ve.d(Be,Le,function(Ke){return Re[Ke]}.bind(null,Le));return Be},ve.n=function(Re){var We=Re&&Re.__esModule?function(){return Re.default}:function(){return Re};return ve.d(We,"a",We),We},ve.o=function(Re,We){return Object.prototype.hasOwnProperty.call(Re,We)},ve.p="",ve(ve.s=18)}([,,function(Te,Ee,ve){function Re(Le){this.__parent=Le,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function We(Le,Ke){this.__cache=[""],this.__indent_size=Le.indent_size,this.__indent_string=Le.indent_char,Le.indent_with_tabs||(this.__indent_string=new Array(Le.indent_size+1).join(Le.indent_char)),Ke=Ke||"",Le.indent_level>0&&(Ke=new Array(Le.indent_level+1).join(this.__indent_string)),this.__base_string=Ke,this.__base_string_length=Ke.length}function Be(Le,Ke){this.__indent_cache=new We(Le,Ke),this.raw=!1,this._end_with_newline=Le.end_with_newline,this.indent_size=Le.indent_size,this.wrap_line_length=Le.wrap_line_length,this.indent_empty_lines=Le.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new Re(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}Re.prototype.clone_empty=function(){var Le=new Re(this.__parent);return Le.set_indent(this.__indent_count,this.__alignment_count),Le},Re.prototype.item=function(Le){return Le<0?this.__items[this.__items.length+Le]:this.__items[Le]},Re.prototype.has_match=function(Le){for(var Ke=this.__items.length-1;Ke>=0;Ke--)if(this.__items[Ke].match(Le))return!0;return!1},Re.prototype.set_indent=function(Le,Ke){this.is_empty()&&(this.__indent_count=Le||0,this.__alignment_count=Ke||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},Re.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},Re.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},Re.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var Le=this.__parent.current_line;return Le.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),Le.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),Le.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,Le.__items[0]===" "&&(Le.__items.splice(0,1),Le.__character_count-=1),!0}return!1},Re.prototype.is_empty=function(){return this.__items.length===0},Re.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},Re.prototype.push=function(Le){this.__items.push(Le);var Ke=Le.lastIndexOf(` +`);Ke!==-1?this.__character_count=Le.length-Ke:this.__character_count+=Le.length},Re.prototype.pop=function(){var Le=null;return this.is_empty()||(Le=this.__items.pop(),this.__character_count-=Le.length),Le},Re.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},Re.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},Re.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},Re.prototype.toString=function(){var Le="";return this.is_empty()?this.__parent.indent_empty_lines&&(Le=this.__parent.get_indent_string(this.__indent_count)):(Le=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),Le+=this.__items.join("")),Le},We.prototype.get_indent_size=function(Le,Ke){var dt=this.__base_string_length;return Ke=Ke||0,Le<0&&(dt=0),dt+=Le*this.__indent_size,dt+=Ke},We.prototype.get_indent_string=function(Le,Ke){var dt=this.__base_string;return Ke=Ke||0,Le<0&&(Le=0,dt=""),Ke+=Le*this.__indent_size,this.__ensure_cache(Ke),dt+=this.__cache[Ke]},We.prototype.__ensure_cache=function(Le){for(;Le>=this.__cache.length;)this.__add_column()},We.prototype.__add_column=function(){var Le=this.__cache.length,Ke=0,dt="";this.__indent_size&&Le>=this.__indent_size&&(Le-=(Ke=Math.floor(Le/this.__indent_size))*this.__indent_size,dt=new Array(Ke+1).join(this.__indent_string)),Le&&(dt+=new Array(Le+1).join(" ")),this.__cache.push(dt)},Be.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},Be.prototype.get_line_number=function(){return this.__lines.length},Be.prototype.get_indent_string=function(Le,Ke){return this.__indent_cache.get_indent_string(Le,Ke)},Be.prototype.get_indent_size=function(Le,Ke){return this.__indent_cache.get_indent_size(Le,Ke)},Be.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},Be.prototype.add_new_line=function(Le){return!(this.is_empty()||!Le&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},Be.prototype.get_code=function(Le){this.trim(!0);var Ke=this.current_line.pop();Ke&&(Ke[Ke.length-1]===` +`&&(Ke=Ke.replace(/\n+$/g,"")),this.current_line.push(Ke)),this._end_with_newline&&this.__add_outputline();var dt=this.__lines.join(` +`);return Le!==` +`&&(dt=dt.replace(/[\n]/g,Le)),dt},Be.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},Be.prototype.set_indent=function(Le,Ke){return Le=Le||0,Ke=Ke||0,this.next_line.set_indent(Le,Ke),this.__lines.length>1?(this.current_line.set_indent(Le,Ke),!0):(this.current_line.set_indent(),!1)},Be.prototype.add_raw_token=function(Le){for(var Ke=0;Ke<Le.newlines;Ke++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(Le.whitespace_before),this.current_line.push(Le.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},Be.prototype.add_token=function(Le){this.__add_space_before_token(),this.current_line.push(Le),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},Be.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},Be.prototype.remove_indent=function(Le){for(var Ke=this.__lines.length;Le<Ke;)this.__lines[Le]._remove_indent(),Le++;this.current_line._remove_wrap_indent()},Be.prototype.trim=function(Le){for(Le=Le!==void 0&&Le,this.current_line.trim();Le&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},Be.prototype.just_added_newline=function(){return this.current_line.is_empty()},Be.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},Be.prototype.ensure_empty_line_above=function(Le,Ke){for(var dt=this.__lines.length-2;dt>=0;){var yt=this.__lines[dt];if(yt.is_empty())break;if(yt.item(0).indexOf(Le)!==0&&yt.item(-1)!==Ke){this.__lines.splice(dt+1,0,new Re(this)),this.previous_line=this.__lines[this.__lines.length-2];break}dt--}},Te.exports.Output=Be},function(Te,Ee,ve){Te.exports.Token=function(Re,We,Be,Le){this.type=Re,this.text=We,this.comments_before=null,this.newlines=Be||0,this.whitespace_before=Le||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(Te,Ee,ve){function Re(Le,Ke){this.raw_options=We(Le,Ke),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function We(Le,Ke){var dt,yt={};for(dt in Le=Be(Le))dt!==Ke&&(yt[dt]=Le[dt]);if(Ke&&Le[Ke])for(dt in Le[Ke])yt[dt]=Le[Ke][dt];return yt}function Be(Le){var Ke,dt={};for(Ke in Le)dt[Ke.replace(/-/g,"_")]=Le[Ke];return dt}Re.prototype._get_array=function(Le,Ke){var dt=this.raw_options[Le],yt=Ke||[];return typeof dt=="object"?dt!==null&&typeof dt.concat=="function"&&(yt=dt.concat()):typeof dt=="string"&&(yt=dt.split(/[^a-zA-Z0-9_\/\-]+/)),yt},Re.prototype._get_boolean=function(Le,Ke){var dt=this.raw_options[Le];return dt===void 0?!!Ke:!!dt},Re.prototype._get_characters=function(Le,Ke){var dt=this.raw_options[Le],yt=Ke||"";return typeof dt=="string"&&(yt=dt.replace(/\\r/,"\r").replace(/\\n/,` +`).replace(/\\t/," ")),yt},Re.prototype._get_number=function(Le,Ke){var dt=this.raw_options[Le];Ke=parseInt(Ke,10),isNaN(Ke)&&(Ke=0);var yt=parseInt(dt,10);return isNaN(yt)&&(yt=Ke),yt},Re.prototype._get_selection=function(Le,Ke,dt){var yt=this._get_selection_list(Le,Ke,dt);if(yt.length!==1)throw new Error("Invalid Option Value: The option '"+Le+`' can only be one of the following values: +`+Ke+` +You passed in: '`+this.raw_options[Le]+"'");return yt[0]},Re.prototype._get_selection_list=function(Le,Ke,dt){if(!Ke||Ke.length===0)throw new Error("Selection list cannot be empty.");if(dt=dt||[Ke[0]],!this._is_valid_selection(dt,Ke))throw new Error("Invalid Default Value!");var yt=this._get_array(Le,dt);if(!this._is_valid_selection(yt,Ke))throw new Error("Invalid Option Value: The option '"+Le+`' can contain only the following values: +`+Ke+` +You passed in: '`+this.raw_options[Le]+"'");return yt},Re.prototype._is_valid_selection=function(Le,Ke){return Le.length&&Ke.length&&!Le.some(function(dt){return Ke.indexOf(dt)===-1})},Te.exports.Options=Re,Te.exports.normalizeOpts=Be,Te.exports.mergeOpts=We},,function(Te,Ee,ve){var Re=RegExp.prototype.hasOwnProperty("sticky");function We(Be){this.__input=Be||"",this.__input_length=this.__input.length,this.__position=0}We.prototype.restart=function(){this.__position=0},We.prototype.back=function(){this.__position>0&&(this.__position-=1)},We.prototype.hasNext=function(){return this.__position<this.__input_length},We.prototype.next=function(){var Be=null;return this.hasNext()&&(Be=this.__input.charAt(this.__position),this.__position+=1),Be},We.prototype.peek=function(Be){var Le=null;return Be=Be||0,(Be+=this.__position)>=0&&Be<this.__input_length&&(Le=this.__input.charAt(Be)),Le},We.prototype.__match=function(Be,Le){Be.lastIndex=Le;var Ke=Be.exec(this.__input);return!Ke||Re&&Be.sticky||Ke.index!==Le&&(Ke=null),Ke},We.prototype.test=function(Be,Le){return Le=Le||0,(Le+=this.__position)>=0&&Le<this.__input_length&&!!this.__match(Be,Le)},We.prototype.testChar=function(Be,Le){var Ke=this.peek(Le);return Be.lastIndex=0,Ke!==null&&Be.test(Ke)},We.prototype.match=function(Be){var Le=this.__match(Be,this.__position);return Le?this.__position+=Le[0].length:Le=null,Le},We.prototype.read=function(Be,Le,Ke){var dt,yt="";return Be&&(dt=this.match(Be))&&(yt+=dt[0]),!Le||!dt&&Be||(yt+=this.readUntil(Le,Ke)),yt},We.prototype.readUntil=function(Be,Le){var Ke,dt=this.__position;Be.lastIndex=this.__position;var yt=Be.exec(this.__input);return yt?(dt=yt.index,Le&&(dt+=yt[0].length)):dt=this.__input_length,Ke=this.__input.substring(this.__position,dt),this.__position=dt,Ke},We.prototype.readUntilAfter=function(Be){return this.readUntil(Be,!0)},We.prototype.get_regexp=function(Be,Le){var Ke=null,dt="g";return Le&&Re&&(dt="y"),typeof Be=="string"&&Be!==""?Ke=new RegExp(Be,dt):Be&&(Ke=new RegExp(Be.source,dt)),Ke},We.prototype.get_literal_regexp=function(Be){return RegExp(Be.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},We.prototype.peekUntilAfter=function(Be){var Le=this.__position,Ke=this.readUntilAfter(Be);return this.__position=Le,Ke},We.prototype.lookBack=function(Be){var Le=this.__position-1;return Le>=Be.length&&this.__input.substring(Le-Be.length,Le).toLowerCase()===Be},Te.exports.InputScanner=We},function(Te,Ee,ve){var Re=ve(8).InputScanner,We=ve(3).Token,Be=ve(10).TokenStream,Le=ve(11).WhitespacePattern,Ke={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},dt=function(yt,xt){this._input=new Re(yt),this._options=xt||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new Le(this._input)};dt.prototype.tokenize=function(){var yt;this._input.restart(),this.__tokens=new Be,this._reset();for(var xt=new We(Ke.START,""),Xt=null,mi=[],Yt=new Be;xt.type!==Ke.EOF;){for(yt=this._get_next_token(xt,Xt);this._is_comment(yt);)Yt.add(yt),yt=this._get_next_token(xt,Xt);Yt.isEmpty()||(yt.comments_before=Yt,Yt=new Be),yt.parent=Xt,this._is_opening(yt)?(mi.push(Xt),Xt=yt):Xt&&this._is_closing(yt,Xt)&&(yt.opened=Xt,Xt.closed=yt,Xt=mi.pop(),yt.parent=Xt),yt.previous=xt,xt.next=yt,this.__tokens.add(yt),xt=yt}return this.__tokens},dt.prototype._is_first_token=function(){return this.__tokens.isEmpty()},dt.prototype._reset=function(){},dt.prototype._get_next_token=function(yt,xt){this._readWhitespace();var Xt=this._input.read(/.+/g);return Xt?this._create_token(Ke.RAW,Xt):this._create_token(Ke.EOF,"")},dt.prototype._is_comment=function(yt){return!1},dt.prototype._is_opening=function(yt){return!1},dt.prototype._is_closing=function(yt,xt){return!1},dt.prototype._create_token=function(yt,xt){return new We(yt,xt,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},dt.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Te.exports.Tokenizer=dt,Te.exports.TOKEN=Ke},function(Te,Ee,ve){function Re(We){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=We}Re.prototype.restart=function(){this.__position=0},Re.prototype.isEmpty=function(){return this.__tokens_length===0},Re.prototype.hasNext=function(){return this.__position<this.__tokens_length},Re.prototype.next=function(){var We=null;return this.hasNext()&&(We=this.__tokens[this.__position],this.__position+=1),We},Re.prototype.peek=function(We){var Be=null;return We=We||0,(We+=this.__position)>=0&&We<this.__tokens_length&&(Be=this.__tokens[We]),Be},Re.prototype.add=function(We){this.__parent_token&&(We.parent=this.__parent_token),this.__tokens.push(We),this.__tokens_length+=1},Te.exports.TokenStream=Re},function(Te,Ee,ve){var Re=ve(12).Pattern;function We(Be,Le){Re.call(this,Be,Le),Le?this._line_regexp=this._input.get_regexp(Le._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}We.prototype=new Re,We.prototype.__set_whitespace_patterns=function(Be,Le){Be+="\\t ",Le+="\\n\\r",this._match_pattern=this._input.get_regexp("["+Be+Le+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+Le+"]")},We.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var Be=this._input.read(this._match_pattern);if(Be===" ")this.whitespace_before_token=" ";else if(Be){var Le=this.__split(this._newline_regexp,Be);this.newline_count=Le.length-1,this.whitespace_before_token=Le[this.newline_count]}return Be},We.prototype.matching=function(Be,Le){var Ke=this._create();return Ke.__set_whitespace_patterns(Be,Le),Ke._update(),Ke},We.prototype._create=function(){return new We(this._input,this)},We.prototype.__split=function(Be,Le){Be.lastIndex=0;for(var Ke=0,dt=[],yt=Be.exec(Le);yt;)dt.push(Le.substring(Ke,yt.index)),Ke=yt.index+yt[0].length,yt=Be.exec(Le);return Ke<Le.length?dt.push(Le.substring(Ke,Le.length)):dt.push(""),dt},Te.exports.WhitespacePattern=We},function(Te,Ee,ve){function Re(We,Be){this._input=We,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,Be&&(this._starting_pattern=this._input.get_regexp(Be._starting_pattern,!0),this._match_pattern=this._input.get_regexp(Be._match_pattern,!0),this._until_pattern=this._input.get_regexp(Be._until_pattern),this._until_after=Be._until_after)}Re.prototype.read=function(){var We=this._input.read(this._starting_pattern);return this._starting_pattern&&!We||(We+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),We},Re.prototype.read_match=function(){return this._input.match(this._match_pattern)},Re.prototype.until_after=function(We){var Be=this._create();return Be._until_after=!0,Be._until_pattern=this._input.get_regexp(We),Be._update(),Be},Re.prototype.until=function(We){var Be=this._create();return Be._until_after=!1,Be._until_pattern=this._input.get_regexp(We),Be._update(),Be},Re.prototype.starting_with=function(We){var Be=this._create();return Be._starting_pattern=this._input.get_regexp(We,!0),Be._update(),Be},Re.prototype.matching=function(We){var Be=this._create();return Be._match_pattern=this._input.get_regexp(We,!0),Be._update(),Be},Re.prototype._create=function(){return new Re(this._input,this)},Re.prototype._update=function(){},Te.exports.Pattern=Re},function(Te,Ee,ve){function Re(We,Be){We=typeof We=="string"?We:We.source,Be=typeof Be=="string"?Be:Be.source,this.__directives_block_pattern=new RegExp(We+/ beautify( \w+[:]\w+)+ /.source+Be,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(We+/\sbeautify\signore:end\s/.source+Be,"g")}Re.prototype.get_directives=function(We){if(!We.match(this.__directives_block_pattern))return null;var Be={};this.__directive_pattern.lastIndex=0;for(var Le=this.__directive_pattern.exec(We);Le;)Be[Le[1]]=Le[2],Le=this.__directive_pattern.exec(We);return Be},Re.prototype.readIgnored=function(We){return We.readUntilAfter(this.__directives_end_ignore_pattern)},Te.exports.Directives=Re},function(Te,Ee,ve){var Re=ve(12).Pattern,We={django:!1,erb:!1,handlebars:!1,php:!1};function Be(Le,Ke){Re.call(this,Le,Ke),this.__template_pattern=null,this._disabled=Object.assign({},We),this._excluded=Object.assign({},We),Ke&&(this.__template_pattern=this._input.get_regexp(Ke.__template_pattern),this._excluded=Object.assign(this._excluded,Ke._excluded),this._disabled=Object.assign(this._disabled,Ke._disabled));var dt=new Re(Le);this.__patterns={handlebars_comment:dt.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:dt.starting_with(/{{{/).until_after(/}}}/),handlebars:dt.starting_with(/{{/).until_after(/}}/),php:dt.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:dt.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:dt.starting_with(/{%/).until_after(/%}/),django_value:dt.starting_with(/{{/).until_after(/}}/),django_comment:dt.starting_with(/{#/).until_after(/#}/)}}Be.prototype=new Re,Be.prototype._create=function(){return new Be(this._input,this)},Be.prototype._update=function(){this.__set_templated_pattern()},Be.prototype.disable=function(Le){var Ke=this._create();return Ke._disabled[Le]=!0,Ke._update(),Ke},Be.prototype.read_options=function(Le){var Ke=this._create();for(var dt in We)Ke._disabled[dt]=Le.templating.indexOf(dt)===-1;return Ke._update(),Ke},Be.prototype.exclude=function(Le){var Ke=this._create();return Ke._excluded[Le]=!0,Ke._update(),Ke},Be.prototype.read=function(){var Le="";Le=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var Ke=this._read_template();Ke;)this._match_pattern?Ke+=this._input.read(this._match_pattern):Ke+=this._input.readUntil(this.__template_pattern),Le+=Ke,Ke=this._read_template();return this._until_after&&(Le+=this._input.readUntilAfter(this._until_pattern)),Le},Be.prototype.__set_templated_pattern=function(){var Le=[];this._disabled.php||Le.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||Le.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||Le.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(Le.push(this.__patterns.django._starting_pattern.source),Le.push(this.__patterns.django_value._starting_pattern.source),Le.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&Le.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+Le.join("|")+")")},Be.prototype._read_template=function(){var Le="",Ke=this._input.peek();if(Ke==="<"){var dt=this._input.peek(1);this._disabled.php||this._excluded.php||dt!=="?"||(Le=Le||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||dt!=="%"||(Le=Le||this.__patterns.erb.read())}else Ke==="{"&&(this._disabled.handlebars||this._excluded.handlebars||(Le=(Le=(Le=Le||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(Le=Le||this.__patterns.django_value.read()),this._excluded.django||(Le=(Le=Le||this.__patterns.django_comment.read())||this.__patterns.django.read())));return Le},Te.exports.TemplatablePattern=Be},,,,function(Te,Ee,ve){var Re=ve(19).Beautifier,We=ve(20).Options;Te.exports=function(Be,Le,Ke,dt){return new Re(Be,Le,Ke,dt).beautify()},Te.exports.defaultOptions=function(){return new We}},function(Te,Ee,ve){var Re=ve(20).Options,We=ve(2).Output,Be=ve(21).Tokenizer,Le=ve(21).TOKEN,Ke=/\r\n|[\r\n]/,dt=/\r\n|[\r\n]/g,yt=function(ei,ii){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=ei.max_preserve_newlines,this.preserve_newlines=ei.preserve_newlines,this._output=new We(ei,ii)};yt.prototype.current_line_has_match=function(ei){return this._output.current_line.has_match(ei)},yt.prototype.set_space_before_token=function(ei,ii){this._output.space_before_token=ei,this._output.non_breaking_space=ii},yt.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},yt.prototype.add_raw_token=function(ei){this._output.add_raw_token(ei)},yt.prototype.print_preserved_newlines=function(ei){var ii=0;ei.type!==Le.TEXT&&ei.previous.type!==Le.TEXT&&(ii=ei.newlines?1:0),this.preserve_newlines&&(ii=ei.newlines<this.max_preserve_newlines+1?ei.newlines:this.max_preserve_newlines+1);for(var bi=0;bi<ii;bi++)this.print_newline(bi>0);return ii!==0},yt.prototype.traverse_whitespace=function(ei){return!(!ei.whitespace_before&&!ei.newlines)&&(this.print_preserved_newlines(ei)||(this._output.space_before_token=!0),!0)},yt.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},yt.prototype.print_newline=function(ei){this._output.add_new_line(ei)},yt.prototype.print_token=function(ei){ei.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(ei.text))},yt.prototype.indent=function(){this.indent_level++},yt.prototype.get_full_indent=function(ei){return(ei=this.indent_level+(ei||0))<1?"":this._output.get_indent_string(ei)};var xt=function(ei,ii){var bi=null,ln=null;return ii.closed?(ei==="script"?bi="text/javascript":ei==="style"&&(bi="text/css"),(bi=function(mn){for(var sn=null,gn=mn.next;gn.type!==Le.EOF&&mn.closed!==gn;){if(gn.type===Le.ATTRIBUTE&&gn.text==="type"){gn.next&&gn.next.type===Le.EQUALS&&gn.next.next&&gn.next.next.type===Le.VALUE&&(sn=gn.next.next.text);break}gn=gn.next}return sn}(ii)||bi).search("text/css")>-1?ln="css":bi.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ln="javascript":bi.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ln="html":bi.search(/test\/null/)>-1&&(ln="null"),ln):null};function Xt(ei,ii){return ii.indexOf(ei)!==-1}function mi(ei,ii,bi){this.parent=ei||null,this.tag=ii?ii.tag_name:"",this.indent_level=bi||0,this.parser_token=ii||null}function Yt(ei){this._printer=ei,this._current_frame=null}function ri(ei,ii,bi,ln){this._source_text=ei||"",ii=ii||{},this._js_beautify=bi,this._css_beautify=ln,this._tag_stack=null;var mn=new Re(ii,"html");this._options=mn,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Yt.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},Yt.prototype.record_tag=function(ei){var ii=new mi(this._current_frame,ei,this._printer.indent_level);this._current_frame=ii},Yt.prototype._try_pop_frame=function(ei){var ii=null;return ei&&(ii=ei.parser_token,this._printer.indent_level=ei.indent_level,this._current_frame=ei.parent),ii},Yt.prototype._get_frame=function(ei,ii){for(var bi=this._current_frame;bi&&ei.indexOf(bi.tag)===-1;){if(ii&&ii.indexOf(bi.tag)!==-1){bi=null;break}bi=bi.parent}return bi},Yt.prototype.try_pop=function(ei,ii){var bi=this._get_frame([ei],ii);return this._try_pop_frame(bi)},Yt.prototype.indent_to_tag=function(ei){var ii=this._get_frame(ei);ii&&(this._printer.indent_level=ii.indent_level)},ri.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var ei=this._source_text,ii=this._options.eol;this._options.eol==="auto"&&(ii=` +`,ei&&Ke.test(ei)&&(ii=ei.match(Ke)[0]));var bi=(ei=ei.replace(dt,` +`)).match(/^[\t ]*/)[0],ln={text:"",type:""},mn=new qi,sn=new yt(this._options,bi),gn=new Be(ei,this._options).tokenize();this._tag_stack=new Yt(sn);for(var Sn=null,En=gn.next();En.type!==Le.EOF;)En.type===Le.TAG_OPEN||En.type===Le.COMMENT?mn=Sn=this._handle_tag_open(sn,En,mn,ln):En.type===Le.ATTRIBUTE||En.type===Le.EQUALS||En.type===Le.VALUE||En.type===Le.TEXT&&!mn.tag_complete?Sn=this._handle_inside_tag(sn,En,mn,gn):En.type===Le.TAG_CLOSE?Sn=this._handle_tag_close(sn,En,mn):En.type===Le.TEXT?Sn=this._handle_text(sn,En,mn):sn.add_raw_token(En),ln=Sn,En=gn.next();return sn._output.get_code(ii)},ri.prototype._handle_tag_close=function(ei,ii,bi){var ln={text:ii.text,type:ii.type};return ei.alignment_size=0,bi.tag_complete=!0,ei.set_space_before_token(ii.newlines||ii.whitespace_before!=="",!0),bi.is_unformatted?ei.add_raw_token(ii):(bi.tag_start_char==="<"&&(ei.set_space_before_token(ii.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&bi.has_wrapped_attrs&&ei.print_newline(!1)),ei.print_token(ii)),!bi.indent_content||bi.is_unformatted||bi.is_content_unformatted||(ei.indent(),bi.indent_content=!1),bi.is_inline_element||bi.is_unformatted||bi.is_content_unformatted||ei.set_wrap_point(),ln},ri.prototype._handle_inside_tag=function(ei,ii,bi,ln){var mn=bi.has_wrapped_attrs,sn={text:ii.text,type:ii.type};if(ei.set_space_before_token(ii.newlines||ii.whitespace_before!=="",!0),bi.is_unformatted)ei.add_raw_token(ii);else if(bi.tag_start_char==="{"&&ii.type===Le.TEXT)ei.print_preserved_newlines(ii)?(ii.newlines=0,ei.add_raw_token(ii)):ei.print_token(ii);else{if(ii.type===Le.ATTRIBUTE?(ei.set_space_before_token(!0),bi.attr_count+=1):(ii.type===Le.EQUALS||ii.type===Le.VALUE&&ii.previous.type===Le.EQUALS)&&ei.set_space_before_token(!1),ii.type===Le.ATTRIBUTE&&bi.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(ei.traverse_whitespace(ii),mn=mn||ii.newlines!==0),this._is_wrap_attributes_force)){var gn=bi.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&bi.attr_count===1){var Sn,En=!0,Xn=0;do{if((Sn=ln.peek(Xn)).type===Le.ATTRIBUTE){En=!1;break}Xn+=1}while(Xn<4&&Sn.type!==Le.EOF&&Sn.type!==Le.TAG_CLOSE);gn=!En}gn&&(ei.print_newline(!1),mn=!0)}ei.print_token(ii),mn=mn||ei.previous_token_wrapped(),bi.has_wrapped_attrs=mn}return sn},ri.prototype._handle_text=function(ei,ii,bi){var ln={text:ii.text,type:"TK_CONTENT"};return bi.custom_beautifier_name?this._print_custom_beatifier_text(ei,ii,bi):bi.is_unformatted||bi.is_content_unformatted?ei.add_raw_token(ii):(ei.traverse_whitespace(ii),ei.print_token(ii)),ln},ri.prototype._print_custom_beatifier_text=function(ei,ii,bi){var ln=this;if(ii.text!==""){var mn,sn=ii.text,gn=1,Sn="",En="";bi.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?mn=this._js_beautify:bi.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?mn=this._css_beautify:bi.custom_beautifier_name==="html"&&(mn=function(In,Rn){return new ri(In,Rn,ln._js_beautify,ln._css_beautify).beautify()}),this._options.indent_scripts==="keep"?gn=0:this._options.indent_scripts==="separate"&&(gn=-ei.indent_level);var Xn=ei.get_full_indent(gn);if(sn=sn.replace(/\n[ \t]*$/,""),bi.custom_beautifier_name!=="html"&&sn[0]==="<"&&sn.match(/^(<!--|<!\[CDATA\[)/)){var Yn=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(sn);if(!Yn)return void ei.add_raw_token(ii);Sn=Xn+Yn[1]+` +`,sn=Yn[4],Yn[5]&&(En=Xn+Yn[5]),sn=sn.replace(/\n[ \t]*$/,""),(Yn[2]||Yn[3].indexOf(` +`)!==-1)&&(Yn=Yn[3].match(/[ \t]+$/))&&(ii.whitespace_before=Yn[0])}if(sn)if(mn){var Io=function(){this.eol=` +`};Io.prototype=this._options.raw_options,sn=mn(Xn+sn,new Io)}else{var Ro=ii.whitespace_before;Ro&&(sn=sn.replace(new RegExp(` +(`+Ro+")?","g"),` +`)),sn=Xn+sn.replace(/\n/g,` +`+Xn)}Sn&&(sn=sn?Sn+sn+` +`+En:Sn+En),ei.print_newline(!1),sn&&(ii.text=sn,ii.whitespace_before="",ii.newlines=0,ei.add_raw_token(ii),ei.print_newline(!0))}},ri.prototype._handle_tag_open=function(ei,ii,bi,ln){var mn=this._get_tag_open_token(ii);return(bi.is_unformatted||bi.is_content_unformatted)&&ii.type===Le.TAG_OPEN&&ii.text.indexOf("</")===0?(ei.add_raw_token(ii),mn.start_tag_token=this._tag_stack.try_pop(mn.tag_name)):(ei.traverse_whitespace(ii),this._set_tag_position(ei,ii,mn,bi,ln),mn.is_inline_element||ei.set_wrap_point(),ei.print_token(ii)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(mn.alignment_size=ii.text.length+1),mn.tag_complete||mn.is_unformatted||(ei.alignment_size=mn.alignment_size),mn};var qi=function(ei,ii){var bi;this.parent=ei||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",ii?(this.tag_start_char=ii.text[0],this.text=ii.text,this.tag_start_char==="<"?(bi=ii.text.match(/^<([^\s>]*)/),this.tag_check=bi?bi[1]:""):(bi=ii.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=bi?bi[1]:"",ii.text==="{{#>"&&this.tag_check===">"&&ii.next!==null&&(this.tag_check=ii.next.text)),this.tag_check=this.tag_check.toLowerCase(),ii.type===Le.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||ii.closed&&ii.closed.text==="/>",this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};ri.prototype._get_tag_open_token=function(ei){var ii=new qi(this._tag_stack.get_parser_token(),ei);return ii.alignment_size=this._options.wrap_attributes_indent_size,ii.is_end_tag=ii.is_end_tag||Xt(ii.tag_check,this._options.void_elements),ii.is_empty_element=ii.tag_complete||ii.is_start_tag&&ii.is_end_tag,ii.is_unformatted=!ii.tag_complete&&Xt(ii.tag_check,this._options.unformatted),ii.is_content_unformatted=!ii.is_empty_element&&Xt(ii.tag_check,this._options.content_unformatted),ii.is_inline_element=Xt(ii.tag_name,this._options.inline)||ii.tag_start_char==="{",ii},ri.prototype._set_tag_position=function(ei,ii,bi,ln,mn){bi.is_empty_element||(bi.is_end_tag?bi.start_tag_token=this._tag_stack.try_pop(bi.tag_name):(this._do_optional_end_element(bi)&&(bi.is_inline_element||(bi.parent&&(bi.parent.multiline_content=!0),ei.print_newline(!1))),this._tag_stack.record_tag(bi),bi.tag_name!=="script"&&bi.tag_name!=="style"||bi.is_unformatted||bi.is_content_unformatted||(bi.custom_beautifier_name=xt(bi.tag_check,ii)))),Xt(bi.tag_check,this._options.extra_liners)&&(ei.print_newline(!1),ei._output.just_added_blankline()||ei.print_newline(!0)),bi.is_empty_element?(bi.tag_start_char==="{"&&bi.tag_check==="else"&&(this._tag_stack.indent_to_tag(["if","unless","each"]),bi.indent_content=!0,ei.current_line_has_match(/{{#if/)||ei.print_newline(!1)),bi.tag_name==="!--"&&mn.type===Le.TAG_CLOSE&&ln.is_end_tag&&bi.text.indexOf(` +`)===-1||bi.is_inline_element||bi.is_unformatted||ei.print_newline(!1)):bi.is_unformatted||bi.is_content_unformatted?bi.is_inline_element||bi.is_unformatted||ei.print_newline(!1):bi.is_end_tag?(bi.start_tag_token&&bi.start_tag_token.multiline_content||!(bi.is_inline_element||ln.is_inline_element||mn.type===Le.TAG_CLOSE&&bi.start_tag_token===ln||mn.type==="TK_CONTENT"))&&ei.print_newline(!1):(bi.indent_content=!bi.custom_beautifier_name,bi.tag_start_char==="<"&&(bi.tag_name==="html"?bi.indent_content=this._options.indent_inner_html:bi.tag_name==="head"?bi.indent_content=this._options.indent_head_inner_html:bi.tag_name==="body"&&(bi.indent_content=this._options.indent_body_inner_html)),bi.is_inline_element||mn.type==="TK_CONTENT"||(bi.parent&&(bi.parent.multiline_content=!0),ei.print_newline(!1)))};var an=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],_n=["a","audio","del","ins","map","noscript","video"];ri.prototype._do_optional_end_element=function(ei){var ii=null;if(!ei.is_empty_element&&ei.is_start_tag&&ei.parent){if(ei.tag_name==="body")ii=ii||this._tag_stack.try_pop("head");else if(ei.tag_name==="li")ii=ii||this._tag_stack.try_pop("li",["ol","ul"]);else if(ei.tag_name==="dd"||ei.tag_name==="dt")ii=(ii=ii||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if(ei.parent.tag_name==="p"&&an.indexOf(ei.tag_name)!==-1){var bi=ei.parent.parent;bi&&_n.indexOf(bi.tag_name)!==-1||(ii=ii||this._tag_stack.try_pop("p"))}else ei.tag_name==="rp"||ei.tag_name==="rt"?ii=(ii=ii||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):ei.tag_name==="optgroup"?ii=ii||this._tag_stack.try_pop("optgroup",["select"]):ei.tag_name==="option"?ii=ii||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):ei.tag_name==="colgroup"?ii=ii||this._tag_stack.try_pop("caption",["table"]):ei.tag_name==="thead"?ii=(ii=ii||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):ei.tag_name==="tbody"||ei.tag_name==="tfoot"?ii=(ii=(ii=(ii=ii||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):ei.tag_name==="tr"?ii=(ii=(ii=ii||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):ei.tag_name!=="th"&&ei.tag_name!=="td"||(ii=(ii=ii||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return ei.parent=this._tag_stack.get_parser_token(),ii}},Te.exports.Beautifier=ri},function(Te,Ee,ve){var Re=ve(6).Options;function We(Be){Re.call(this,Be,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}We.prototype=new Re,Te.exports.Options=We},function(Te,Ee,ve){var Re=ve(9).Tokenizer,We=ve(9).TOKEN,Be=ve(13).Directives,Le=ve(14).TemplatablePattern,Ke=ve(12).Pattern,dt={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:We.START,RAW:We.RAW,EOF:We.EOF},yt=new Be(/<\!--/,/-->/),xt=function(Xt,mi){Re.call(this,Xt,mi),this._current_tag_name="";var Yt=new Le(this._input).read_options(this._options),ri=new Ke(this._input);if(this.__patterns={word:Yt.until(/[\n\r\t <]/),single_quote:Yt.until_after(/'/),double_quote:Yt.until_after(/"/),attribute:Yt.until(/[\n\r\t =>]|\/>/),element_name:Yt.until(/[\n\r\t >\/]/),handlebars_comment:ri.starting_with(/{{!--/).until_after(/--}}/),handlebars:ri.starting_with(/{{/).until_after(/}}/),handlebars_open:ri.until(/[\n\r\t }]/),handlebars_raw_close:ri.until(/}}/),comment:ri.starting_with(/<!--/).until_after(/-->/),cdata:ri.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:ri.starting_with(/<!\[/).until_after(/]>/),processing:ri.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var qi=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=ri.matching(qi).until_after(qi)}};(xt.prototype=new Re)._is_comment=function(Xt){return!1},xt.prototype._is_opening=function(Xt){return Xt.type===dt.TAG_OPEN},xt.prototype._is_closing=function(Xt,mi){return Xt.type===dt.TAG_CLOSE&&mi&&((Xt.text===">"||Xt.text==="/>")&&mi.text[0]==="<"||Xt.text==="}}"&&mi.text[0]==="{"&&mi.text[1]==="{")},xt.prototype._reset=function(){this._current_tag_name=""},xt.prototype._get_next_token=function(Xt,mi){var Yt=null;this._readWhitespace();var ri=this._input.peek();return ri===null?this._create_token(dt.EOF,""):Yt=(Yt=(Yt=(Yt=(Yt=(Yt=(Yt=(Yt=(Yt=Yt||this._read_open_handlebars(ri,mi))||this._read_attribute(ri,Xt,mi))||this._read_raw_content(ri,Xt,mi))||this._read_close(ri,mi))||this._read_content_word(ri))||this._read_comment_or_cdata(ri))||this._read_processing(ri))||this._read_open(ri,mi))||this._create_token(dt.UNKNOWN,this._input.next())},xt.prototype._read_comment_or_cdata=function(Xt){var mi=null,Yt=null,ri=null;return Xt==="<"&&(this._input.peek(1)==="!"&&((Yt=this.__patterns.comment.read())?(ri=yt.get_directives(Yt))&&ri.ignore==="start"&&(Yt+=yt.readIgnored(this._input)):Yt=this.__patterns.cdata.read()),Yt&&((mi=this._create_token(dt.COMMENT,Yt)).directives=ri)),mi},xt.prototype._read_processing=function(Xt){var mi=null,Yt=null;if(Xt==="<"){var ri=this._input.peek(1);ri!=="!"&&ri!=="?"||(Yt=(Yt=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),Yt&&((mi=this._create_token(dt.COMMENT,Yt)).directives=null)}return mi},xt.prototype._read_open=function(Xt,mi){var Yt=null,ri=null;return mi||Xt==="<"&&(Yt=this._input.next(),this._input.peek()==="/"&&(Yt+=this._input.next()),Yt+=this.__patterns.element_name.read(),ri=this._create_token(dt.TAG_OPEN,Yt)),ri},xt.prototype._read_open_handlebars=function(Xt,mi){var Yt=null,ri=null;return mi||this._options.indent_handlebars&&Xt==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(Yt=(Yt=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),ri=this._create_token(dt.COMMENT,Yt)):(Yt=this.__patterns.handlebars_open.read(),ri=this._create_token(dt.TAG_OPEN,Yt))),ri},xt.prototype._read_close=function(Xt,mi){var Yt=null,ri=null;return mi&&(mi.text[0]==="<"&&(Xt===">"||Xt==="/"&&this._input.peek(1)===">")?(Yt=this._input.next(),Xt==="/"&&(Yt+=this._input.next()),ri=this._create_token(dt.TAG_CLOSE,Yt)):mi.text[0]==="{"&&Xt==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),ri=this._create_token(dt.TAG_CLOSE,"}}"))),ri},xt.prototype._read_attribute=function(Xt,mi,Yt){var ri=null,qi="";if(Yt&&Yt.text[0]==="<")if(Xt==="=")ri=this._create_token(dt.EQUALS,this._input.next());else if(Xt==='"'||Xt==="'"){var an=this._input.next();an+=Xt==='"'?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),ri=this._create_token(dt.VALUE,an)}else(qi=this.__patterns.attribute.read())&&(ri=mi.type===dt.EQUALS?this._create_token(dt.VALUE,qi):this._create_token(dt.ATTRIBUTE,qi));return ri},xt.prototype._is_content_unformatted=function(Xt){return this._options.void_elements.indexOf(Xt)===-1&&(this._options.content_unformatted.indexOf(Xt)!==-1||this._options.unformatted.indexOf(Xt)!==-1)},xt.prototype._read_raw_content=function(Xt,mi,Yt){var ri="";if(Yt&&Yt.text[0]==="{")ri=this.__patterns.handlebars_raw_close.read();else if(mi.type===dt.TAG_CLOSE&&mi.opened.text[0]==="<"){var qi=mi.opened.text.substr(1).toLowerCase();if(qi==="script"||qi==="style"){var an=this._read_comment_or_cdata(Xt);if(an)return an.type=dt.TEXT,an;ri=this._input.readUntil(new RegExp("</"+qi+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(qi)&&(ri=this._input.readUntil(new RegExp("</"+qi+"[\\n\\r\\t ]*?>","ig")))}return ri?this._create_token(dt.TEXT,ri):null},xt.prototype._read_content_word=function(Xt){var mi="";if(this._options.unformatted_content_delimiter&&Xt===this._options.unformatted_content_delimiter[0]&&(mi=this.__patterns.unformatted_content_delimiter.read()),mi||(mi=this.__patterns.word.read()),mi)return this._create_token(dt.TEXT,mi)},Te.exports.Tokenizer=xt,Te.exports.TOKEN=dt}]);function wi(Te,Ee,ve){var Re=Te.getText(),We=!0,Be=0,Le=ve.tabSize||4;if(Ee){for(var Ke=Te.offsetAt(Ee.start),dt=Ke;dt>0&&ae(Re,dt-1);)dt--;dt===0||X(Re,dt-1)?Ke=dt:dt<Ke&&(Ke=dt+1);for(var yt=Te.offsetAt(Ee.end),xt=yt;xt<Re.length&&ae(Re,xt);)xt++;(xt===Re.length||X(Re,xt))&&(yt=xt),Ee=E.create(Te.positionAt(Ke),Te.positionAt(yt));var Xt=Re.substring(0,Ke);if(new RegExp(/.*[<][^>]*$/).test(Xt))return[{range:Ee,newText:Re=Re.substring(Ke,yt)}];if(We=yt===Re.length,Re=Re.substring(Ke,yt),Ke!==0){var mi=Te.offsetAt(H.create(Ee.start.line,0));Be=function(an,_n,ei){for(var ii=_n,bi=0,ln=ei.tabSize||4;ii<an.length;){var mn=an.charAt(ii);if(mn===" ")bi++;else{if(mn!==" ")break;bi+=ln}ii++}return Math.floor(bi/ln)}(Te.getText(),mi,ve)}}else Ee=E.create(H.create(0,0),Te.positionAt(Re.length));var Yt={indent_size:Le,indent_char:ve.insertSpaces?" ":" ",indent_empty_lines:Ti(ve,"indentEmptyLines",!1),wrap_line_length:Ti(ve,"wrapLineLength",120),unformatted:ft(ve,"unformatted",void 0),content_unformatted:ft(ve,"contentUnformatted",void 0),indent_inner_html:Ti(ve,"indentInnerHtml",!1),preserve_newlines:Ti(ve,"preserveNewLines",!0),max_preserve_newlines:Ti(ve,"maxPreserveNewLines",32786),indent_handlebars:Ti(ve,"indentHandlebars",!1),end_with_newline:We&&Ti(ve,"endWithNewline",!1),extra_liners:ft(ve,"extraLiners",void 0),wrap_attributes:Ti(ve,"wrapAttributes","auto"),wrap_attributes_indent_size:Ti(ve,"wrapAttributesIndentSize",void 0),eol:` +`},ri=function(an,_n){return Kt(an,_n,Ht,jt)}(Re.replace(/^\s+/,""),Yt);if(Be>0){var qi=ve.insertSpaces?xn(" ",Le*Be):xn(" ",Be);ri=ri.split(` `).join(` -`+Rc),0===ya.start.character&&(cc=Rc+cc)}return[{range:ya,newText:cc}]}function Ec(Aa,ya,pa){if(Aa&&Aa.hasOwnProperty(ya)){var Ja=Aa[ya];if(null!==Ja)return Ja}return pa}function X(Aa,ya,pa){var Ja=Ec(Aa,ya,null);return"string"==typeof Ja?Ja.length>0?Ja.split(",").map(function(Na){return Na.trim().toLowerCase()}):[]:pa}function xa(Aa,ya){return-1!==`\r -`.indexOf(Aa.charAt(ya))}function qa(Aa,ya){return-1!==" ".indexOf(Aa.charAt(ya))}var mb=f(176);function ub(Aa){var ya=Aa[0];return ya!==Aa[Aa.length-1]||"'"!==ya&&'"'!==ya||(Aa=Aa.substr(1,Aa.length-2)),Aa}function Rb(Aa,ya,pa,Ja,Na,Pa){var Fa=ub(pa);if(Xa=Fa,lb=Aa.languageId,Xa.length&&("handlebars"!==lb||!/{{.*}}/.test(Xa))&&/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(Xa)){var Xa,lb;Fa.length<pa.length&&(Ja++,Na--);var sb=function(vb,Vb,hc,Tb){if(!/^\s*javascript\:/i.test(Vb)&&!/[\n\r]/.test(Vb))return Vb=Vb.replace(/^\s*/g,""),/^https?:\/\//i.test(Vb)||/^file:\/\//i.test(Vb)?Vb:/^\#/i.test(Vb)?vb+Vb:/^\/\//i.test(Vb)?(Nc(vb,"https://")?"https":"http")+":"+Vb.replace(/^\s*/g,""):hc?hc.resolveReference(Vb,Tb||vb):Vb}(Aa.uri,Fa,ya,Pa);if(sb&&function(vb){try{return mb.a.parse(vb),!0}catch(Vb){return!1}}(sb))return{range:P.create(Aa.positionAt(Ja),Aa.positionAt(Na)),target:sb}}}function jc(Aa,ya){for(var pa=[],Ja=Ic(Aa.getText(),0),Na=Ja.scan(),Pa=void 0,Fa=!1,Xa=void 0,lb={};Na!==cb.EOS;){switch(Na){case cb.StartTag:Xa||(Fa="base"===Ja.getTokenText().toLowerCase());break;case cb.AttributeName:Pa=Ja.getTokenText().toLowerCase();break;case cb.AttributeValue:if("src"===Pa||"href"===Pa){var sb=Ja.getTokenText();Fa||(hc=Rb(Aa,ya,sb,Ja.getTokenOffset(),Ja.getTokenEnd(),Xa))&&pa.push(hc),Fa&&void 0===Xa&&(Xa=ub(sb))&&ya&&(Xa=ya.resolveReference(Xa,Aa.uri)),Fa=!1,Pa=void 0}else"id"===Pa&&(lb[ub(Ja.getTokenText())]=Ja.getTokenOffset())}Na=Ja.scan()}for(var vb=0,Vb=pa;vb<Vb.length;vb++){var hc=Vb[vb],Tb=Aa.uri+"#";if(hc.target&&Nc(hc.target,Tb)){var cc=lb[hc.target.substr(Tb.length)];if(void 0!==cc){var Rc=Aa.positionAt(cc);hc.target=""+Tb+(Rc.line+1)+","+(Rc.character+1)}}}return pa}function Xb(Aa,ya,pa){var Ja=Aa.offsetAt(ya),Na=pa.findNodeAt(Ja);if(!Na.tag)return[];var Pa=[],Fa=ra(cb.StartTag,Aa,Na.start),Xa="number"==typeof Na.endTagStart&&ra(cb.EndTag,Aa,Na.endTagStart);return(Fa&&fa(Fa,ya)||Xa&&fa(Xa,ya))&&(Fa&&Pa.push({kind:ba.Read,range:Fa}),Xa&&Pa.push({kind:ba.Read,range:Xa})),Pa}function wa(Aa,ya){return Aa.line<ya.line||Aa.line===ya.line&&Aa.character<=ya.character}function fa(Aa,ya){return wa(Aa.start,ya)&&wa(ya,Aa.end)}function ra(Aa,ya,pa){for(var Ja=Ic(ya.getText(),pa),Na=Ja.scan();Na!==cb.EOS&&Na!==Aa;)Na=Ja.scan();return Na!==cb.EOS?{start:ya.positionAt(Ja.getTokenOffset()),end:ya.positionAt(Ja.getTokenEnd())}:null}function Ra(Aa,ya){var pa=[];return ya.roots.forEach(function(Ja){!function Na(Pa,Fa,Xa,lb){var sb=function(hc){var Tb=hc.tag;if(hc.attributes){var cc=hc.attributes.id,Rc=hc.attributes.class;cc&&(Tb+="#"+cc.replace(/[\"\']/g,"")),Rc&&(Tb+=Rc.replace(/[\"\']/g,"").split(/\s+/).map(function(gd){return"."+gd}).join(""))}return Tb||"?"}(Fa),vb=Y.create(Pa.uri,P.create(Pa.positionAt(Fa.start),Pa.positionAt(Fa.end))),Vb={name:sb,location:vb,containerName:Xa,kind:S.Field};lb.push(Vb),Fa.children.forEach(function(hc){Na(Pa,hc,sb,lb)})}(Aa,Ja,"",pa)}),pa}function ab(Aa,ya,pa,Ja){var Na,Pa=Aa.offsetAt(ya),Fa=Ja.findNodeAt(Pa);if(!Fa.tag)return null;if(!function(vb,Vb,hc){return vb.endTagStart&&vb.endTagStart+"</".length<=Vb&&Vb<=vb.endTagStart+"</".length+hc.length?!0:vb.start+"<".length<=Vb&&Vb<=vb.start+"<".length+hc.length}(Fa,Pa,Fa.tag))return null;var Xa=[],lb={start:Aa.positionAt(Fa.start+"<".length),end:Aa.positionAt(Fa.start+"<".length+Fa.tag.length)};if(Xa.push({range:lb,newText:pa}),Fa.endTagStart){var sb={start:Aa.positionAt(Fa.endTagStart+"</".length),end:Aa.positionAt(Fa.endTagStart+"</".length+Fa.tag.length)};Xa.push({range:sb,newText:pa})}return{changes:((Na={})[Aa.uri.toString()]=Xa,Na)}}function Ya(Aa,ya,pa){var Ja=Aa.offsetAt(ya),Na=pa.findNodeAt(Ja);if(!Na.tag)return null;if(!Na.endTagStart)return null;if(Na.start+"<".length<=Ja&&Ja<=Na.start+"<".length+Na.tag.length){var Pa=Ja-"<".length-Na.start+Na.endTagStart+"</".length;return Aa.positionAt(Pa)}return Na.endTagStart+"</".length<=Ja&&Ja<=Na.endTagStart+"</".length+Na.tag.length?(Pa=Ja-"</".length-Na.endTagStart+Na.start+"<".length,Aa.positionAt(Pa)):null}function jb(Aa,ya,pa){var Ja=Aa.offsetAt(ya),Na=pa.findNodeAt(Ja),Pa=Na.tag?Na.tag.length:0;return Na.endTagStart&&(Na.start+"<".length<=Ja&&Ja<=Na.start+"<".length+Pa||Na.endTagStart+"</".length<=Ja&&Ja<=Na.endTagStart+"</".length+Pa)?[P.create(Aa.positionAt(Na.start+"<".length),Aa.positionAt(Na.start+"<".length+Pa)),P.create(Aa.positionAt(Na.endTagStart+"</".length),Aa.positionAt(Na.endTagStart+"</".length+Pa))]:null}function Sb(Aa,ya){var pa=Ic(Aa.getText()),Ja=pa.scan(),Na=[],Pa=[],Fa=null,Xa=-1;function lb(gd){Na.push(gd),Xa=gd.startLine}for(;Ja!==cb.EOS;){switch(Ja){case cb.StartTag:var sb=pa.getTokenText(),vb=Aa.positionAt(pa.getTokenOffset()).line;Pa.push({startLine:vb,tagName:sb}),Fa=sb;break;case cb.EndTag:Fa=pa.getTokenText();break;case cb.StartTagClose:if(!Fa||!zb(Fa))break;case cb.EndTagClose:case cb.StartTagSelfClose:for(var Vb=Pa.length-1;Vb>=0&&Pa[Vb].tagName!==Fa;)Vb--;if(Vb>=0){var hc=Pa[Vb];Pa.length=Vb,(cc=Aa.positionAt(pa.getTokenOffset()).line-1)>(vb=hc.startLine)&&Xa!==vb&&lb({startLine:vb,endLine:cc})}break;case cb.Comment:vb=Aa.positionAt(pa.getTokenOffset()).line;var Tb=pa.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(Tb)if(Tb[1])Pa.push({startLine:vb,tagName:""});else{for(Vb=Pa.length-1;Vb>=0&&Pa[Vb].tagName.length;)Vb--;if(Vb>=0){var cc;hc=Pa[Vb],Pa.length=Vb,(cc=vb)>(vb=hc.startLine)&&Xa!==vb&&lb({startLine:vb,endLine:cc,kind:D.Region})}}else vb<(cc=Aa.positionAt(pa.getTokenOffset()+pa.getTokenLength()).line)&&lb({startLine:vb,endLine:cc,kind:D.Comment})}Ja=pa.scan()}var Rc=ya&&ya.rangeLimit||Number.MAX_VALUE;return Na.length>Rc?function(gd,od){gd=gd.sort(function(Ce,Cd){var Fd=Ce.startLine-Cd.startLine;return 0===Fd&&(Fd=Ce.endLine-Cd.endLine),Fd});for(var Wb=void 0,Zb=[],kc=[],hd=[],ld=function(Ce,Cd){kc[Ce]=Cd,Cd<30&&(hd[Cd]=(hd[Cd]||0)+1)},fd=0;fd<gd.length;fd++){var md=gd[fd];if(Wb){if(md.startLine>Wb.startLine){if(md.endLine<=Wb.endLine)Zb.push(Wb),Wb=md,ld(fd,Zb.length);else if(md.startLine>Wb.endLine){do Wb=Zb.pop();while(Wb&&md.startLine>Wb.endLine);Wb&&Zb.push(Wb),Wb=md,ld(fd,Zb.length)}}}else Wb=md,ld(fd,0)}var rd=0,yd=0;for(fd=0;fd<hd.length;fd++){var Vd=hd[fd];if(Vd){if(Vd+rd>od){yd=fd;break}rd+=Vd}}var Sd=[];for(fd=0;fd<gd.length;fd++){var Ae=kc[fd];"number"==typeof Ae&&(Ae<yd||Ae===yd&&rd++<od)&&Sd.push(gd[fd])}return Sd}(Na,Rc):Na}function Yb(Aa,ya){return ya.map(function(pa){for(var Ja=function(lb,sb){var vb=Dc(lb.getText()),Vb=lb.offsetAt(sb),hc=vb.findNodeAt(Vb),Tb=function(gd){for(var od=gd,Wb=[];od.parent;)od=od.parent,(Zb=od,Zb.startTagEnd&&Zb.endTagStart&&Zb.startTagEnd<Zb.endTagStart?[[Zb.startTagEnd,Zb.endTagStart],[Zb.start,Zb.end]]:[[Zb.start,Zb.end]]).forEach(function(kc){return Wb.push(kc)});var Zb;return Wb}(hc);if(hc.startTagEnd&&!hc.endTagStart){if(hc.startTagEnd!==hc.end)return[[hc.start,hc.end]];var cc=P.create(lb.positionAt(hc.startTagEnd-2),lb.positionAt(hc.startTagEnd));"/>"===lb.getText(cc)?Tb.unshift([hc.start+1,hc.startTagEnd-2]):Tb.unshift([hc.start+1,hc.startTagEnd-1]);var Rc=rc(lb,hc,Vb);return Tb=Rc.concat(Tb)}return!hc.startTagEnd||!hc.endTagStart?Tb:(Tb.unshift([hc.start,hc.end]),hc.start<Vb&&Vb<hc.startTagEnd)?(Tb.unshift([hc.start+1,hc.startTagEnd-1]),Rc=rc(lb,hc,Vb),Tb=Rc.concat(Tb)):hc.startTagEnd<=Vb&&Vb<=hc.endTagStart?(Tb.unshift([hc.startTagEnd,hc.endTagStart]),Tb):(Vb>=hc.endTagStart+2&&Tb.unshift([hc.endTagStart+2,hc.end-1]),Tb)}(Aa,pa),Na=void 0,Pa=void 0,Fa=Ja.length-1;Fa>=0;Fa--){var Xa=Ja[Fa];Na&&Xa[0]===Na[0]&&Xa[1]===Na[1]||(Pa=Fb.create(P.create(Aa.positionAt(Ja[Fa][0]),Aa.positionAt(Ja[Fa][1])),Pa)),Na=Xa}return Pa||(Pa=Fb.create(P.create(pa,pa))),Pa})}function rc(Aa,ya,pa){for(var Ja=P.create(Aa.positionAt(ya.start),Aa.positionAt(ya.end)),Na=Aa.getText(Ja),Pa=pa-ya.start,Fa=Ic(Na),Xa=Fa.scan(),lb=ya.start,sb=[],vb=!1,Vb=-1;Xa!==cb.EOS;){switch(Xa){case cb.AttributeName:if(Pa<Fa.getTokenOffset()){vb=!1;break}Pa<=Fa.getTokenEnd()&&sb.unshift([Fa.getTokenOffset(),Fa.getTokenEnd()]),vb=!0,Vb=Fa.getTokenOffset();break;case cb.AttributeValue:if(!vb)break;var hc=Fa.getTokenText();if(Pa<Fa.getTokenOffset()){sb.push([Vb,Fa.getTokenEnd()]);break}Pa>=Fa.getTokenOffset()&&Pa<=Fa.getTokenEnd()&&(sb.unshift([Fa.getTokenOffset(),Fa.getTokenEnd()]),('"'===hc[0]&&'"'===hc[hc.length-1]||"'"===hc[0]&&"'"===hc[hc.length-1])&&Pa>=Fa.getTokenOffset()+1&&Pa<=Fa.getTokenEnd()-1&&sb.unshift([Fa.getTokenOffset()+1,Fa.getTokenEnd()-1]),sb.push([Vb,Fa.getTokenEnd()]))}Xa=Fa.scan()}return sb.map(function(Tb){return[Tb[0]+lb,Tb[1]+lb]})}var zc={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set. +`+qi),Ee.start.character===0&&(ri=qi+ri)}return[{range:Ee,newText:ri}]}function Ti(Te,Ee,ve){if(Te&&Te.hasOwnProperty(Ee)){var Re=Te[Ee];if(Re!==null)return Re}return ve}function ft(Te,Ee,ve){var Re=Ti(Te,Ee,null);return typeof Re=="string"?Re.length>0?Re.split(",").map(function(We){return We.trim().toLowerCase()}):[]:ve}function X(Te,Ee){return`\r +`.indexOf(Te.charAt(Ee))!==-1}function ae(Te,Ee){return" ".indexOf(Te.charAt(Ee))!==-1}var Ge=o(176);function lt(Te){var Ee=Te[0];return Ee!==Te[Te.length-1]||Ee!=="'"&&Ee!=='"'||(Te=Te.substr(1,Te.length-2)),Te}function Dt(Te,Ee,ve,Re,We,Be){var Le=lt(ve);if(Ke=Le,dt=Te.languageId,Ke.length&&(dt!=="handlebars"||!/{{.*}}/.test(Ke))&&/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(Ke)){var Ke,dt;Le.length<ve.length&&(Re++,We--);var yt=function(xt,Xt,mi,Yt){if(!/^\s*javascript\:/i.test(Xt)&&!/[\n\r]/.test(Xt))return Xt=Xt.replace(/^\s*/g,""),/^https?:\/\//i.test(Xt)||/^file:\/\//i.test(Xt)?Xt:/^\#/i.test(Xt)?xt+Xt:/^\/\//i.test(Xt)?(Wi(xt,"https://")?"https":"http")+":"+Xt.replace(/^\s*/g,""):mi?mi.resolveReference(Xt,Yt||xt):Xt}(Te.uri,Le,Ee,Be);if(yt&&function(xt){try{return Ge.a.parse(xt),!0}catch(Xt){return!1}}(yt))return{range:E.create(Te.positionAt(Re),Te.positionAt(We)),target:yt}}}function Gt(Te,Ee){for(var ve=[],Re=Hi(Te.getText(),0),We=Re.scan(),Be=void 0,Le=!1,Ke=void 0,dt={};We!==et.EOS;){switch(We){case et.StartTag:Ke||(Le=Re.getTokenText().toLowerCase()==="base");break;case et.AttributeName:Be=Re.getTokenText().toLowerCase();break;case et.AttributeValue:if(Be==="src"||Be==="href"){var yt=Re.getTokenText();Le||(mi=Dt(Te,Ee,yt,Re.getTokenOffset(),Re.getTokenEnd(),Ke))&&ve.push(mi),Le&&Ke===void 0&&(Ke=lt(yt))&&Ee&&(Ke=Ee.resolveReference(Ke,Te.uri)),Le=!1,Be=void 0}else Be==="id"&&(dt[lt(Re.getTokenText())]=Re.getTokenOffset())}We=Re.scan()}for(var xt=0,Xt=ve;xt<Xt.length;xt++){var mi=Xt[xt],Yt=Te.uri+"#";if(mi.target&&Wi(mi.target,Yt)){var ri=dt[mi.target.substr(Yt.length)];if(ri!==void 0){var qi=Te.positionAt(ri);mi.target=""+Yt+(qi.line+1)+","+(qi.character+1)}}}return ve}function ti(Te,Ee,ve){var Re=Te.offsetAt(Ee),We=ve.findNodeAt(Re);if(!We.tag)return[];var Be=[],Le=ue(et.StartTag,Te,We.start),Ke=typeof We.endTagStart=="number"&&ue(et.EndTag,Te,We.endTagStart);return(Le&&le(Le,Ee)||Ke&&le(Ke,Ee))&&(Le&&Be.push({kind:$.Read,range:Le}),Ke&&Be.push({kind:$.Read,range:Ke})),Be}function ye(Te,Ee){return Te.line<Ee.line||Te.line===Ee.line&&Te.character<=Ee.character}function le(Te,Ee){return ye(Te.start,Ee)&&ye(Ee,Te.end)}function ue(Te,Ee,ve){for(var Re=Hi(Ee.getText(),ve),We=Re.scan();We!==et.EOS&&We!==Te;)We=Re.scan();return We!==et.EOS?{start:Ee.positionAt(Re.getTokenOffset()),end:Ee.positionAt(Re.getTokenEnd())}:null}function qe(Te,Ee){var ve=[];return Ee.roots.forEach(function(Re){(function We(Be,Le,Ke,dt){var yt=function(mi){var Yt=mi.tag;if(mi.attributes){var ri=mi.attributes.id,qi=mi.attributes.class;ri&&(Yt+="#"+ri.replace(/[\"\']/g,"")),qi&&(Yt+=qi.replace(/[\"\']/g,"").split(/\s+/).map(function(an){return"."+an}).join(""))}return Yt||"?"}(Le),xt=ge.create(Be.uri,E.create(Be.positionAt(Le.start),Be.positionAt(Le.end))),Xt={name:yt,location:xt,containerName:Ke,kind:z.Field};dt.push(Xt),Le.children.forEach(function(mi){We(Be,mi,yt,dt)})})(Te,Re,"",ve)}),ve}function Ze(Te,Ee,ve,Re){var We,Be=Te.offsetAt(Ee),Le=Re.findNodeAt(Be);if(!Le.tag||!function(xt,Xt,mi){return xt.endTagStart&&xt.endTagStart+"</".length<=Xt&&Xt<=xt.endTagStart+"</".length+mi.length?!0:xt.start+"<".length<=Xt&&Xt<=xt.start+"<".length+mi.length}(Le,Be,Le.tag))return null;var Ke=[],dt={start:Te.positionAt(Le.start+"<".length),end:Te.positionAt(Le.start+"<".length+Le.tag.length)};if(Ke.push({range:dt,newText:ve}),Le.endTagStart){var yt={start:Te.positionAt(Le.endTagStart+"</".length),end:Te.positionAt(Le.endTagStart+"</".length+Le.tag.length)};Ke.push({range:yt,newText:ve})}return{changes:((We={})[Te.uri.toString()]=Ke,We)}}function tt(Te,Ee,ve){var Re=Te.offsetAt(Ee),We=ve.findNodeAt(Re);if(!We.tag||!We.endTagStart)return null;if(We.start+"<".length<=Re&&Re<=We.start+"<".length+We.tag.length){var Be=Re-"<".length-We.start+We.endTagStart+"</".length;return Te.positionAt(Be)}return We.endTagStart+"</".length<=Re&&Re<=We.endTagStart+"</".length+We.tag.length?(Be=Re-"</".length-We.endTagStart+We.start+"<".length,Te.positionAt(Be)):null}function rt(Te,Ee,ve){var Re=Te.offsetAt(Ee),We=ve.findNodeAt(Re),Be=We.tag?We.tag.length:0;return We.endTagStart&&(We.start+"<".length<=Re&&Re<=We.start+"<".length+Be||We.endTagStart+"</".length<=Re&&Re<=We.endTagStart+"</".length+Be)?[E.create(Te.positionAt(We.start+"<".length),Te.positionAt(We.start+"<".length+Be)),E.create(Te.positionAt(We.endTagStart+"</".length),Te.positionAt(We.endTagStart+"</".length+Be))]:null}function zt(Te,Ee){var ve=Hi(Te.getText()),Re=ve.scan(),We=[],Be=[],Le=null,Ke=-1;function dt(an){We.push(an),Ke=an.startLine}for(;Re!==et.EOS;){switch(Re){case et.StartTag:var yt=ve.getTokenText(),xt=Te.positionAt(ve.getTokenOffset()).line;Be.push({startLine:xt,tagName:yt}),Le=yt;break;case et.EndTag:Le=ve.getTokenText();break;case et.StartTagClose:if(!Le||!Et(Le))break;case et.EndTagClose:case et.StartTagSelfClose:for(var Xt=Be.length-1;Xt>=0&&Be[Xt].tagName!==Le;)Xt--;if(Xt>=0){var mi=Be[Xt];Be.length=Xt,(ri=Te.positionAt(ve.getTokenOffset()).line-1)>(xt=mi.startLine)&&Ke!==xt&&dt({startLine:xt,endLine:ri})}break;case et.Comment:xt=Te.positionAt(ve.getTokenOffset()).line;var Yt=ve.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(Yt)if(Yt[1])Be.push({startLine:xt,tagName:""});else{for(Xt=Be.length-1;Xt>=0&&Be[Xt].tagName.length;)Xt--;if(Xt>=0){var ri;mi=Be[Xt],Be.length=Xt,(ri=xt)>(xt=mi.startLine)&&Ke!==xt&&dt({startLine:xt,endLine:ri,kind:S.Region})}}else xt<(ri=Te.positionAt(ve.getTokenOffset()+ve.getTokenLength()).line)&&dt({startLine:xt,endLine:ri,kind:S.Comment})}Re=ve.scan()}var qi=Ee&&Ee.rangeLimit||Number.MAX_VALUE;return We.length>qi?function(an,_n){an=an.sort(function(Ro,In){var Rn=Ro.startLine-In.startLine;return Rn===0&&(Rn=Ro.endLine-In.endLine),Rn});for(var ei=void 0,ii=[],bi=[],ln=[],mn=function(Ro,In){bi[Ro]=In,In<30&&(ln[In]=(ln[In]||0)+1)},sn=0;sn<an.length;sn++){var gn=an[sn];if(ei){if(gn.startLine>ei.startLine){if(gn.endLine<=ei.endLine)ii.push(ei),ei=gn,mn(sn,ii.length);else if(gn.startLine>ei.endLine){do ei=ii.pop();while(ei&&gn.startLine>ei.endLine);ei&&ii.push(ei),ei=gn,mn(sn,ii.length)}}}else ei=gn,mn(sn,0)}var Sn=0,En=0;for(sn=0;sn<ln.length;sn++){var Xn=ln[sn];if(Xn){if(Xn+Sn>_n){En=sn;break}Sn+=Xn}}var Yn=[];for(sn=0;sn<an.length;sn++){var Io=bi[sn];typeof Io=="number"&&(Io<En||Io===En&&Sn++<_n)&&Yn.push(an[sn])}return Yn}(We,qi):We}function Jt(Te,Ee){return Ee.map(function(ve){for(var Re=function(dt,yt){var xt=Si(dt.getText()),Xt=dt.offsetAt(yt),mi=xt.findNodeAt(Xt),Yt=function(an){for(var _n=an,ei=[];_n.parent;)_n=_n.parent,(ii=_n,ii.startTagEnd&&ii.endTagStart&&ii.startTagEnd<ii.endTagStart?[[ii.startTagEnd,ii.endTagStart],[ii.start,ii.end]]:[[ii.start,ii.end]]).forEach(function(bi){return ei.push(bi)});var ii;return ei}(mi);if(mi.startTagEnd&&!mi.endTagStart){if(mi.startTagEnd!==mi.end)return[[mi.start,mi.end]];var ri=E.create(dt.positionAt(mi.startTagEnd-2),dt.positionAt(mi.startTagEnd));dt.getText(ri)==="/>"?Yt.unshift([mi.start+1,mi.startTagEnd-2]):Yt.unshift([mi.start+1,mi.startTagEnd-1]);var qi=xi(dt,mi,Xt);return Yt=qi.concat(Yt)}return!mi.startTagEnd||!mi.endTagStart?Yt:(Yt.unshift([mi.start,mi.end]),mi.start<Xt&&Xt<mi.startTagEnd?(Yt.unshift([mi.start+1,mi.startTagEnd-1]),qi=xi(dt,mi,Xt),Yt=qi.concat(Yt)):mi.startTagEnd<=Xt&&Xt<=mi.endTagStart?(Yt.unshift([mi.startTagEnd,mi.endTagStart]),Yt):(Xt>=mi.endTagStart+2&&Yt.unshift([mi.endTagStart+2,mi.end-1]),Yt))}(Te,ve),We=void 0,Be=void 0,Le=Re.length-1;Le>=0;Le--){var Ke=Re[Le];We&&Ke[0]===We[0]&&Ke[1]===We[1]||(Be=At.create(E.create(Te.positionAt(Re[Le][0]),Te.positionAt(Re[Le][1])),Be)),We=Ke}return Be||(Be=At.create(E.create(ve,ve))),Be})}function xi(Te,Ee,ve){for(var Re=E.create(Te.positionAt(Ee.start),Te.positionAt(Ee.end)),We=Te.getText(Re),Be=ve-Ee.start,Le=Hi(We),Ke=Le.scan(),dt=Ee.start,yt=[],xt=!1,Xt=-1;Ke!==et.EOS;){switch(Ke){case et.AttributeName:if(Be<Le.getTokenOffset()){xt=!1;break}Be<=Le.getTokenEnd()&&yt.unshift([Le.getTokenOffset(),Le.getTokenEnd()]),xt=!0,Xt=Le.getTokenOffset();break;case et.AttributeValue:if(!xt)break;var mi=Le.getTokenText();if(Be<Le.getTokenOffset()){yt.push([Xt,Le.getTokenEnd()]);break}Be>=Le.getTokenOffset()&&Be<=Le.getTokenEnd()&&(yt.unshift([Le.getTokenOffset(),Le.getTokenEnd()]),(mi[0]==='"'&&mi[mi.length-1]==='"'||mi[0]==="'"&&mi[mi.length-1]==="'")&&Be>=Le.getTokenOffset()+1&&Be<=Le.getTokenEnd()-1&&yt.unshift([Le.getTokenOffset()+1,Le.getTokenEnd()-1]),yt.push([Xt,Le.getTokenEnd()]))}Ke=Le.scan()}return yt.map(function(Yt){return[Yt[0]+dt,Yt[1]+dt]})}var Ei={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set. This metadata name is associated with the value contained by the [\`content\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are: @@ -97,7 +97,7 @@ This metadata name is associated with the value contained by the [\`content\`](h \`no-referrer-when-downgrade\` - Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour. + Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https\u2192https), but does not send a referrer to less secure URLs (https\u2192http). This is the default behaviour. \`origin-when-cross-origin\` @@ -204,7 +204,7 @@ This attribute may also have a value taken from the extended list defined on [WH **Notes:** * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them. - * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file. + * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether\xA0crawlers are permitted or forbidden access to the web site.")_ file. * If you want to remove a page, \`noindex\` will work, but only after the robot visits the page again. Ensure that the \`robots.txt\` file is not preventing revisits. * Some values are mutually exclusive, like \`index\` and \`noindex\`, or \`follow\` and \`nofollow\`. In these cases the robot's behaviour is undefined and may vary between them. * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header \`X-Robots-Tag\`; this allows non-HTML documents like images to use these rules. @@ -275,7 +275,7 @@ This attribute may also have a value taken from the extended list defined on [WH * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance. * The default values may vary between devices and browsers. - * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").`}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:`\`sync\` + * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").`}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its\xA0scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource\u2019s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified \u2014 there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1\u2013h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important \u2014 that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note:\xA0**Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko\xA09.0, negative values were incorrectly converted to 0. Starting in Gecko\xA09.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A\xA0MIME type\xA0(now properly called "media type", but\xA0also sometimes "content type") is a string sent along\xA0with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled\xA0audio/ogg, or an image file\xA0image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:`\`sync\` Decode the image synchronously for atomic presentation with other content. @@ -285,7 +285,7 @@ Decode the image asynchronously to reduce delay in presenting other content. \`auto\` -Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:`The download priority of the resource in the \`<iframe>\`'s \`src\` attribute. Allowed values: +Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the\xA0browser\xA0that the image is of\xA0**high** priority.\n\n`low`:\xA0Indicates to the\xA0browser\xA0that the image is of\xA0**low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it\u2019s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image\u2019s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The\xA0Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute \u2014 making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` \u2014 such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:`The download priority of the resource in the \`<iframe>\`'s \`src\` attribute. Allowed values: \`auto\` (default) @@ -297,13 +297,13 @@ The resource should be downloaded before other lower-priority page resources. \`low\` -The resource should be downloaded after other higher-priority page resources.`},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:`Specifies the type of the \`value\` attribute. Possible values are: +The resource should be downloaded after other higher-priority page resources.`},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS\u2192HTTPS), but don\'t send it to a less secure destination (HTTPS\u2192HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS\u2192HTTPS), and send no header to a less secure destination (HTTPS\u2192HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL\xA0of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME\xA0type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:`Specifies the type of the \`value\` attribute. Possible values are: * data: Default value. The value is passed to the object's implementation as a string. * ref: The value is a URI to a resource where run-time values are stored. -* object: An ID of another [\`<object>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:`A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading. +* object: An ID of another [\`<object>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over\xA0`preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:`A Boolean attribute:\xA0if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading. -**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control.`}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:`This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values: +**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control.`}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute:\xA0if specified, the audio player will\xA0automatically seek back to the start\xA0upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\xA0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.)\xA0The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document \u2014 unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\xA0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to\xA0`subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data \u2014 that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:`This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values: \`left\` @@ -321,141 +321,141 @@ The caption is displayed to the right of the table. The caption is displayed below the table. -**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [\`caption-side\`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table's <caption> on the specified side. The values are relative to the writing-mode of the table.") and [\`text-align\`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:`This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself. +**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [\`caption-side\`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table's <caption> on the specified side. The values are relative to the writing-mode of the table.") and [\`text-align\`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:`This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself. -**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute.`},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:`This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by '#'. This attribute may be used with one of sixteen predefined color strings: +**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute.`},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug\xA02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:`This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by '#'. This attribute may be used with one of sixteen predefined color strings: -  +\xA0 \`black\` = "#000000" -  +\xA0 \`green\` = "#008000" -  +\xA0 \`silver\` = "#C0C0C0" -  +\xA0 \`lime\` = "#00FF00" -  +\xA0 \`gray\` = "#808080" -  +\xA0 \`olive\` = "#808000" -  +\xA0 \`white\` = "#FFFFFF" -  +\xA0 \`yellow\` = "#FFFF00" -  +\xA0 \`maroon\` = "#800000" -  +\xA0 \`navy\` = "#000080" -  +\xA0 \`red\` = "#FF0000" -  +\xA0 \`blue\` = "#0000FF" -  +\xA0 \`purple\` = "#800080" -  +\xA0 \`teal\` = "#008080" -  +\xA0 \`fuchsia\` = "#FF00FF" -  +\xA0 \`aqua\` = "#00FFFF" **Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [\`<td>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [\`background-color\`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:`This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by '#'. This attribute may be used with one of sixteen predefined color strings: -  +\xA0 \`black\` = "#000000" -  +\xA0 \`green\` = "#008000" -  +\xA0 \`silver\` = "#C0C0C0" -  +\xA0 \`lime\` = "#00FF00" -  +\xA0 \`gray\` = "#808080" -  +\xA0 \`olive\` = "#808000" -  +\xA0 \`white\` = "#FFFFFF" -  +\xA0 \`yellow\` = "#FFFF00" -  +\xA0 \`maroon\` = "#800000" -  +\xA0 \`navy\` = "#000080" -  +\xA0 \`red\` = "#FF0000" -  +\xA0 \`blue\` = "#0000FF" -  +\xA0 \`purple\` = "#800080" -  +\xA0 \`teal\` = "#008080" -  +\xA0 \`fuchsia\` = "#FF00FF" -  +\xA0 \`aqua\` = "#00FFFF" -**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [\`<th>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [\`background-color\`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:`This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously. +**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [\`<th>\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [\`background-color\`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.`}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a\xA0[`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is\xA0not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug\xA0654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to\xA0which\xA0the select element is associated\xA0(that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected.\xA0If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements\u2019 [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details \u2014 that is, the contents of the `<details>` element \u2014 are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute \u2014 for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug\xA01428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:`This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously. This attribute must not be used if the \`src\` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect. @@ -463,95 +463,95 @@ Browsers usually assume the worst case scenario and load scripts synchronously, Dynamically inserted scripts (using [\`document.createElement()\`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set \`async="false"\`. -See [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).`}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:`An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values: +See [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).`}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) \u2014 in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS\u2192HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS\u2192HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS\u2192HTTPS), and send no header to a less secure destination (e.g. HTTPS\u2192HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available,\xA0the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one \u201Clanguage tag\u201D (made of hyphen-separated \u201Clanguage subtags\u201D) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element\u2014part of the Web Components technology suite\u2014is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:`An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values: * a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation; * \`0\` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention; -* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]},_b=function(){function Aa(ya){this.dataProviders=[],this.setDataProviders(!1!==ya.useDefaultDataProvider,ya.customDataProviders||[])}return Aa.prototype.setDataProviders=function(ya,pa){var Ja;this.dataProviders=[],ya&&this.dataProviders.push(new nd("html5",zc)),(Ja=this.dataProviders).push.apply(Ja,pa)},Aa.prototype.getDataProviders=function(){return this.dataProviders},Aa}(),qc={};function nc(Aa){void 0===Aa&&(Aa=qc);var ya=new _b(Aa),pa=new xb(Aa,ya),Ja=new yb(Aa,ya);return{setDataProviders:ya.setDataProviders.bind(ya),createScanner:Ic,parseHTMLDocument:function(Na){return Dc(Na.getText())},doComplete:Ja.doComplete.bind(Ja),doComplete2:Ja.doComplete2.bind(Ja),setCompletionParticipants:Ja.setCompletionParticipants.bind(Ja),doHover:pa.doHover.bind(pa),format:yc,findDocumentHighlights:Xb,findDocumentLinks:jc,findDocumentSymbols:Ra,getFoldingRanges:Sb,getSelectionRanges:Yb,doTagComplete:Ja.doTagComplete.bind(Ja),doRename:ab,findMatchingTagPosition:Ya,findOnTypeRenameRanges:jb}}},function(Ga,t,f){"use strict";var l,q=function(){return void 0===l&&(l=Boolean(window&&document&&document.all&&!window.atob)),l},y=function(){var k={};return function(w){if(void 0===k[w]){var x=document.querySelector(w);if(window.HTMLIFrameElement&&x instanceof window.HTMLIFrameElement)try{x=x.contentDocument.head}catch(u){x=null}k[w]=x}return k[w]}}(),F=[];function P(k){for(var w=-1,x=0;x<F.length;x++)if(F[x].identifier===k){w=x;break}return w}function Y(k,w){for(var x={},u=[],A=0;A<k.length;A++){var U=k[A],da=w.base?U[0]+w.base:U[0],Z=x[da]||0,H="".concat(da," ").concat(Z);x[da]=Z+1;var ea=P(H),oa={css:U[1],media:U[2],sourceMap:U[3]};-1!==ea?(F[ea].references++,F[ea].updater(oa)):F.push({identifier:H,updater:C(oa,w),references:1}),u.push(H)}return u}function R(k){var w=document.createElement("style"),x=k.attributes||{};if(void 0===x.nonce){var u=f.nc;u&&(x.nonce=u)}if(Object.keys(x).forEach(function(U){w.setAttribute(U,x[U])}),"function"==typeof k.insert)k.insert(w);else{var A=y(k.insert||"head");if(!A)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");A.appendChild(w)}return w}var L,s=(L=[],function(k,w){return L[k]=w,L.filter(Boolean).join(` -`)});function z(k,w,x,u){var A=x?"":u.media?"@media ".concat(u.media," {").concat(u.css,"}"):u.css;if(k.styleSheet)k.styleSheet.cssText=s(w,A);else{var U=document.createTextNode(A),da=k.childNodes;da[w]&&k.removeChild(da[w]),da.length?k.insertBefore(U,da[w]):k.appendChild(U)}}function D(k,w,x){var u=x.css,A=x.media,U=x.sourceMap;if(A?k.setAttribute("media",A):k.removeAttribute("media"),U&&btoa&&(u+=` -/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(U))))," */")),k.styleSheet)k.styleSheet.cssText=u;else{for(;k.firstChild;)k.removeChild(k.firstChild);k.appendChild(document.createTextNode(u))}}var Q=null,B=0;function C(k,w){var x,u,A;if(w.singleton){var U=B++;x=Q||(Q=R(w)),u=z.bind(null,x,U,!1),A=z.bind(null,x,U,!0)}else x=R(w),u=D.bind(null,x,w),A=function(){!function(da){if(null===da.parentNode)return!1;da.parentNode.removeChild(da)}(x)};return u(k),function(da){if(da){if(da.css===k.css&&da.media===k.media&&da.sourceMap===k.sourceMap)return;u(k=da)}else A()}}Ga.exports=function(k,w){(w=w||{}).singleton||"boolean"==typeof w.singleton||(w.singleton=q());var x=Y(k=k||[],w);return function(u){if(u=u||[],"[object Array]"===Object.prototype.toString.call(u)){for(var A=0;A<x.length;A++){var U=P(x[A]);F[U].references--}for(var da=Y(u,w),Z=0;Z<x.length;Z++){var H=P(x[Z]);0===F[H].references&&(F[H].updater(),F.splice(H,1))}x=da}}}},function(Ga,t,f){"use strict";Ga.exports=function(l){var q=[];return q.toString=function(){return this.map(function(y){var F=function(P,Y){var R=P[1]||"",L=P[3];if(!L)return R;if(Y&&"function"==typeof btoa){var s=(D=L,Q=btoa(unescape(encodeURIComponent(JSON.stringify(D)))),B="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(Q),"/*# ".concat(B," */")),z=L.sources.map(function(C){return"/*# sourceURL=".concat(L.sourceRoot||"").concat(C," */")});return[R].concat(z).concat([s]).join(` -`)}var D,Q,B;return[R].join(` -`)}(y,l);return y[2]?"@media ".concat(y[2]," {").concat(F,"}"):F}).join("")},q.i=function(y,F,P){"string"==typeof y&&(y=[[null,y,""]]);var Y={};if(P)for(var R=0;R<this.length;R++){var L=this[R][0];null!=L&&(Y[L]=!0)}for(var s=0;s<y.length;s++){var z=[].concat(y[s]);P&&Y[z[0]]||(F&&(z[2]?z[2]="".concat(F," and ").concat(z[2]):z[2]=F),q.push(z))}},q}},function(Ga,t,f){"use strict";f.d(t,"d",function(){return y}),f.d(t,"b",function(){return F}),f.d(t,"n",function(){return P}),f.d(t,"c",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"f",function(){return s}),f.d(t,"h",function(){return z}),f.d(t,"l",function(){return D}),f.d(t,"e",function(){return Q}),f.d(t,"j",function(){return B}),f.d(t,"m",function(){return C}),f.d(t,"i",function(){return k}),f.d(t,"g",function(){return w}),f.d(t,"k",function(){return x});var l=f(6);class q{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new l.a(),this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let u=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(u.webkitBackingStorePixelRatio||u.mozBackingStorePixelRatio||u.msBackingStorePixelRatio||u.oBackingStorePixelRatio||u.backingStorePixelRatio||1)}}function y(){return q.INSTANCE.getZoomLevel()}function F(){return q.INSTANCE.getTimeSinceLastZoomLevelChanged()}function P(u){return q.INSTANCE.onDidChangeZoomLevel(u)}function Y(){return q.INSTANCE.getZoomFactor()}function R(){return q.INSTANCE.getPixelRatio()}q.INSTANCE=new q();const L=navigator.userAgent,s=L.indexOf("Edge/")>=0,z=L.indexOf("Firefox")>=0,D=L.indexOf("AppleWebKit")>=0,Q=L.indexOf("Chrome")>=0,B=!Q&&L.indexOf("Safari")>=0,C=!Q&&!B&&D,k=L.indexOf("iPad")>=0||B&&navigator.maxTouchPoints>0,w=s&&L.indexOf("WebView/")>=0,x=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});var l=f(1);class q{constructor(F){this.domNode=F,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(F){this._maxWidth!==F&&(this._maxWidth=F,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(F){this._width!==F&&(this._width=F,this.domNode.style.width=this._width+"px")}setHeight(F){this._height!==F&&(this._height=F,this.domNode.style.height=this._height+"px")}setTop(F){this._top!==F&&(this._top=F,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(F){this._left!==F&&(this._left=F,this.domNode.style.left=this._left+"px")}setBottom(F){this._bottom!==F&&(this._bottom=F,this.domNode.style.bottom=this._bottom+"px")}setRight(F){this._right!==F&&(this._right=F,this.domNode.style.right=this._right+"px")}setFontFamily(F){this._fontFamily!==F&&(this._fontFamily=F,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(F){this._fontWeight!==F&&(this._fontWeight=F,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(F){this._fontSize!==F&&(this._fontSize=F,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(F){this._fontFeatureSettings!==F&&(this._fontFeatureSettings=F,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(F){this._lineHeight!==F&&(this._lineHeight=F,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(F){this._letterSpacing!==F&&(this._letterSpacing=F,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(F){this._className!==F&&(this._className=F,this.domNode.className=this._className)}toggleClassName(F,P){l.ab(this.domNode,F,P),this._className=this.domNode.className}setDisplay(F){this._display!==F&&(this._display=F,this.domNode.style.display=this._display)}setPosition(F){this._position!==F&&(this._position=F,this.domNode.style.position=this._position)}setVisibility(F){this._visibility!==F&&(this._visibility=F,this.domNode.style.visibility=this._visibility)}setBackgroundColor(F){this._backgroundColor!==F&&(this._backgroundColor=F,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(F){this._layerHint!==F&&(this._layerHint=F,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(F){this._boxShadow!==F&&(this._boxShadow=F,this.domNode.style.boxShadow=F)}setContain(F){this._contain!==F&&(this._contain=F,this.domNode.style.contain=this._contain)}setAttribute(F,P){this.domNode.setAttribute(F,P)}removeAttribute(F){this.domNode.removeAttribute(F)}appendChild(F){this.domNode.appendChild(F.domNode)}removeChild(F){this.domNode.removeChild(F.domNode)}}function y(F){return new q(F)}},function(Ga,t,f){"use strict";function l(y){return y<0?0:y>255?255:0|y}function q(y){return y<0?0:y>4294967295?4294967295:0|y}f.d(t,"b",function(){return l}),f.d(t,"a",function(){return q})},function(Ga,t,f){"use strict";var l;f.d(t,"a",function(){return l}),function(q){q.is=function(F){return F&&"object"==typeof F&&"function"==typeof F[Symbol.iterator]};const y=Object.freeze([]);q.empty=function(){return y},q.single=function*(F){yield F},q.from=function(F){return F||y},q.first=function(F){return F[Symbol.iterator]().next().value},q.some=function(F,P){for(const Y of F)if(P(Y))return!0;return!1},q.filter=function*(F,P){for(const Y of F)P(Y)&&(yield Y)},q.map=function*(F,P){for(const Y of F)yield P(Y)},q.concat=function*(...F){for(const P of F)for(const Y of P)yield Y},q.consume=function(F,P=Number.POSITIVE_INFINITY){const Y=[];if(0===P)return[Y,F];const R=F[Symbol.iterator]();for(let L=0;L<P;L++){const s=R.next();if(s.done)return[Y,q.empty()];Y.push(s.value)}return[Y,{[Symbol.iterator]:()=>R}]}}(l||(l={}))},function(Ga,t,f){"use strict";f.d(t,"f",function(){return vc}),f.d(t,"c",function(){return L}),f.d(t,"b",function(){return D}),f.d(t,"a",function(){return ta}),f.d(t,"d",function(){return Da}),f.d(t,"e",function(){return S}),f.d(t,"g",function(){return Xb});var l,q,y,F,P,Y,R,L,s,z,D,Q,B,C,k,w,x,u,A,U,da=f(65);function Z(wa,fa){if(wa===fa)return!0;if(null==wa||null==fa)return!1;if(typeof wa!=typeof fa)return!1;if("object"!=typeof wa)return!1;if(Array.isArray(wa)!==Array.isArray(fa))return!1;var ra,Ra;if(Array.isArray(wa)){if(wa.length!==fa.length)return!1;for(ra=0;ra<wa.length;ra++)if(!Z(wa[ra],fa[ra]))return!1}else{var ab=[];for(Ra in wa)ab.push(Ra);ab.sort();var Ya=[];for(Ra in fa)Ya.push(Ra);if(Ya.sort(),!Z(ab,Ya))return!1;for(ra=0;ra<ab.length;ra++)if(!Z(wa[ab[ra]],fa[ab[ra]]))return!1}return!0}function H(wa){return"number"==typeof wa}function ea(wa){return void 0!==wa}function oa(wa){return"boolean"==typeof wa}!function(wa){wa.create=function(fa,ra){return{line:fa,character:ra}},wa.is=function(fa){var ra=fa;return rb.objectLiteral(ra)&&rb.number(ra.line)&&rb.number(ra.character)}}(l||(l={})),function(wa){wa.create=function(fa,ra,Ra,ab){if(rb.number(fa)&&rb.number(ra)&&rb.number(Ra)&&rb.number(ab))return{start:l.create(fa,ra),end:l.create(Ra,ab)};if(l.is(fa)&&l.is(ra))return{start:fa,end:ra};throw new Error("Range#create called with invalid arguments["+fa+", "+ra+", "+Ra+", "+ab+"]")},wa.is=function(fa){var ra=fa;return rb.objectLiteral(ra)&&l.is(ra.start)&&l.is(ra.end)}}(q||(q={})),function(wa){wa.create=function(fa,ra){return{uri:fa,range:ra}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&q.is(ra.range)&&(rb.string(ra.uri)||rb.undefined(ra.uri))}}(y||(y={})),function(wa){wa.create=function(fa,ra,Ra,ab){return{targetUri:fa,targetRange:ra,targetSelectionRange:Ra,originSelectionRange:ab}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&q.is(ra.targetRange)&&rb.string(ra.targetUri)&&(q.is(ra.targetSelectionRange)||rb.undefined(ra.targetSelectionRange))&&(q.is(ra.originSelectionRange)||rb.undefined(ra.originSelectionRange))}}(F||(F={})),function(wa){wa.create=function(fa,ra,Ra,ab){return{red:fa,green:ra,blue:Ra,alpha:ab}},wa.is=function(fa){var ra=fa;return rb.number(ra.red)&&rb.number(ra.green)&&rb.number(ra.blue)&&rb.number(ra.alpha)}}(P||(P={})),function(wa){wa.create=function(fa,ra){return{range:fa,color:ra}},wa.is=function(fa){var ra=fa;return q.is(ra.range)&&P.is(ra.color)}}(Y||(Y={})),function(wa){wa.create=function(fa,ra,Ra){return{label:fa,textEdit:ra,additionalTextEdits:Ra}},wa.is=function(fa){var ra=fa;return rb.string(ra.label)&&(rb.undefined(ra.textEdit)||k.is(ra))&&(rb.undefined(ra.additionalTextEdits)||rb.typedArray(ra.additionalTextEdits,k.is))}}(R||(R={})),function(wa){wa.Comment="comment",wa.Imports="imports",wa.Region="region"}(L||(L={})),function(wa){wa.create=function(fa,ra,Ra,ab,Ya){var jb={startLine:fa,endLine:ra};return rb.defined(Ra)&&(jb.startCharacter=Ra),rb.defined(ab)&&(jb.endCharacter=ab),rb.defined(Ya)&&(jb.kind=Ya),jb},wa.is=function(fa){var ra=fa;return rb.number(ra.startLine)&&rb.number(ra.startLine)&&(rb.undefined(ra.startCharacter)||rb.number(ra.startCharacter))&&(rb.undefined(ra.endCharacter)||rb.number(ra.endCharacter))&&(rb.undefined(ra.kind)||rb.string(ra.kind))}}(s||(s={})),function(wa){wa.create=function(fa,ra){return{location:fa,message:ra}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&y.is(ra.location)&&rb.string(ra.message)}}(z||(z={})),function(wa){wa.Error=1,wa.Warning=2,wa.Information=3,wa.Hint=4}(D||(D={})),function(wa){wa.Unnecessary=1,wa.Deprecated=2}(Q||(Q={})),function(wa){wa.create=function(fa,ra,Ra,ab,Ya,jb){var Sb={range:fa,message:ra};return rb.defined(Ra)&&(Sb.severity=Ra),rb.defined(ab)&&(Sb.code=ab),rb.defined(Ya)&&(Sb.source=Ya),rb.defined(jb)&&(Sb.relatedInformation=jb),Sb},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&q.is(ra.range)&&rb.string(ra.message)&&(rb.number(ra.severity)||rb.undefined(ra.severity))&&(rb.number(ra.code)||rb.string(ra.code)||rb.undefined(ra.code))&&(rb.string(ra.source)||rb.undefined(ra.source))&&(rb.undefined(ra.relatedInformation)||rb.typedArray(ra.relatedInformation,z.is))}}(B||(B={})),function(wa){wa.create=function(fa,ra){for(var Ra=[],ab=2;ab<arguments.length;ab++)Ra[ab-2]=arguments[ab];var Ya={title:fa,command:ra};return rb.defined(Ra)&&Ra.length>0&&(Ya.arguments=Ra),Ya},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&rb.string(ra.title)&&rb.string(ra.command)}}(C||(C={})),function(wa){wa.replace=function(fa,ra){return{range:fa,newText:ra}},wa.insert=function(fa,ra){return{range:{start:fa,end:fa},newText:ra}},wa.del=function(fa){return{range:fa,newText:""}},wa.is=function(fa){var ra=fa;return rb.objectLiteral(ra)&&rb.string(ra.newText)&&q.is(ra.range)}}(k||(k={})),function(wa){wa.create=function(fa,ra){return{textDocument:fa,edits:ra}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&Ba.is(ra.textDocument)&&Array.isArray(ra.edits)}}(w||(w={})),function(wa){wa.create=function(fa,ra){var Ra={kind:"create",uri:fa};return void 0===ra||void 0===ra.overwrite&&void 0===ra.ignoreIfExists||(Ra.options=ra),Ra},wa.is=function(fa){var ra=fa;return ra&&"create"===ra.kind&&rb.string(ra.uri)&&(void 0===ra.options||(void 0===ra.options.overwrite||rb.boolean(ra.options.overwrite))&&(void 0===ra.options.ignoreIfExists||rb.boolean(ra.options.ignoreIfExists)))}}(x||(x={})),function(wa){wa.create=function(fa,ra,Ra){var ab={kind:"rename",oldUri:fa,newUri:ra};return void 0===Ra||void 0===Ra.overwrite&&void 0===Ra.ignoreIfExists||(ab.options=Ra),ab},wa.is=function(fa){var ra=fa;return ra&&"rename"===ra.kind&&rb.string(ra.oldUri)&&rb.string(ra.newUri)&&(void 0===ra.options||(void 0===ra.options.overwrite||rb.boolean(ra.options.overwrite))&&(void 0===ra.options.ignoreIfExists||rb.boolean(ra.options.ignoreIfExists)))}}(u||(u={})),function(wa){wa.create=function(fa,ra){var Ra={kind:"delete",uri:fa};return void 0===ra||void 0===ra.recursive&&void 0===ra.ignoreIfNotExists||(Ra.options=ra),Ra},wa.is=function(fa){var ra=fa;return ra&&"delete"===ra.kind&&rb.string(ra.uri)&&(void 0===ra.options||(void 0===ra.options.recursive||rb.boolean(ra.options.recursive))&&(void 0===ra.options.ignoreIfNotExists||rb.boolean(ra.options.ignoreIfNotExists)))}}(A||(A={})),function(wa){wa.is=function(fa){var ra=fa;return ra&&(void 0!==ra.changes||void 0!==ra.documentChanges)&&(void 0===ra.documentChanges||ra.documentChanges.every(function(Ra){return rb.string(Ra.kind)?x.is(Ra)||u.is(Ra)||A.is(Ra):w.is(Ra)}))}}(U||(U={}));var ga,Ba,N,V,ma,ta,Da,Ka,G,hb,_a,fb,za,ua,ba,$,S,aa,_,I,ka,va,La,$a,Ab,gb,Fb,wb=function(){function wa(fa){this.edits=fa}return wa.prototype.insert=function(fa,ra){this.edits.push(k.insert(fa,ra))},wa.prototype.replace=function(fa,ra){this.edits.push(k.replace(fa,ra))},wa.prototype.delete=function(fa){this.edits.push(k.del(fa))},wa.prototype.add=function(fa){this.edits.push(fa)},wa.prototype.all=function(){return this.edits},wa.prototype.clear=function(){this.edits.splice(0,this.edits.length)},wa}();!function(){function wa(fa){var ra=this;this._textEditChanges=Object.create(null),fa&&(this._workspaceEdit=fa,fa.documentChanges?fa.documentChanges.forEach(function(Ra){if(w.is(Ra)){var ab=new wb(Ra.edits);ra._textEditChanges[Ra.textDocument.uri]=ab}}):fa.changes&&Object.keys(fa.changes).forEach(function(Ra){var ab=new wb(fa.changes[Ra]);ra._textEditChanges[Ra]=ab}))}Object.defineProperty(wa.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),wa.prototype.getTextEditChange=function(fa){if(Ba.is(fa)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var ra=fa;if(!(ab=this._textEditChanges[ra.uri])){var Ra={textDocument:ra,edits:Ya=[]};this._workspaceEdit.documentChanges.push(Ra),ab=new wb(Ya),this._textEditChanges[ra.uri]=ab}return ab}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var ab;if(!(ab=this._textEditChanges[fa])){var Ya=[];this._workspaceEdit.changes[fa]=Ya,ab=new wb(Ya),this._textEditChanges[fa]=ab}return ab},wa.prototype.createFile=function(fa,ra){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(x.create(fa,ra))},wa.prototype.renameFile=function(fa,ra,Ra){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(u.create(fa,ra,Ra))},wa.prototype.deleteFile=function(fa,ra){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(A.create(fa,ra))},wa.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}(),!function(wa){wa.create=function(fa){return{uri:fa}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&rb.string(ra.uri)}}(ga||(ga={})),function(wa){wa.create=function(fa,ra){return{uri:fa,version:ra}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&rb.string(ra.uri)&&(null===ra.version||rb.number(ra.version))}}(Ba||(Ba={})),function(wa){wa.create=function(fa,ra,Ra,ab){return{uri:fa,languageId:ra,version:Ra,text:ab}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&rb.string(ra.uri)&&rb.string(ra.languageId)&&rb.number(ra.version)&&rb.string(ra.text)}}(N||(N={})),function(wa){wa.PlainText="plaintext",wa.Markdown="markdown"}(V||(V={})),function(wa){wa.is=function(fa){var ra=fa;return ra===wa.PlainText||ra===wa.Markdown}}(V||(V={})),function(wa){wa.is=function(fa){var ra=fa;return rb.objectLiteral(fa)&&V.is(ra.kind)&&rb.string(ra.value)}}(ma||(ma={})),function(wa){wa.Text=1,wa.Method=2,wa.Function=3,wa.Constructor=4,wa.Field=5,wa.Variable=6,wa.Class=7,wa.Interface=8,wa.Module=9,wa.Property=10,wa.Unit=11,wa.Value=12,wa.Enum=13,wa.Keyword=14,wa.Snippet=15,wa.Color=16,wa.File=17,wa.Reference=18,wa.Folder=19,wa.EnumMember=20,wa.Constant=21,wa.Struct=22,wa.Event=23,wa.Operator=24,wa.TypeParameter=25}(ta||(ta={})),function(wa){wa.PlainText=1,wa.Snippet=2}(Da||(Da={})),function(wa){wa.Deprecated=1}(Ka||(Ka={})),function(wa){wa.create=function(fa){return{label:fa}}}(G||(G={})),function(wa){wa.create=function(fa,ra){return{items:fa||[],isIncomplete:!!ra}}}(hb||(hb={})),function(wa){wa.fromPlainText=function(fa){return fa.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},wa.is=function(fa){var ra=fa;return rb.string(ra)||rb.objectLiteral(ra)&&rb.string(ra.language)&&rb.string(ra.value)}}(_a||(_a={})),function(wa){wa.is=function(fa){var ra=fa;return!!ra&&rb.objectLiteral(ra)&&(ma.is(ra.contents)||_a.is(ra.contents)||rb.typedArray(ra.contents,_a.is))&&(void 0===fa.range||q.is(fa.range))}}(fb||(fb={})),function(wa){wa.create=function(fa,ra){return ra?{label:fa,documentation:ra}:{label:fa}}}(za||(za={})),function(wa){wa.create=function(fa,ra){for(var Ra=[],ab=2;ab<arguments.length;ab++)Ra[ab-2]=arguments[ab];var Ya={label:fa};return rb.defined(ra)&&(Ya.documentation=ra),rb.defined(Ra)?Ya.parameters=Ra:Ya.parameters=[],Ya}}(ua||(ua={})),function(wa){wa.Text=1,wa.Read=2,wa.Write=3}(ba||(ba={})),function(wa){wa.create=function(fa,ra){var Ra={range:fa};return rb.number(ra)&&(Ra.kind=ra),Ra}}($||($={})),function(wa){wa.File=1,wa.Module=2,wa.Namespace=3,wa.Package=4,wa.Class=5,wa.Method=6,wa.Property=7,wa.Field=8,wa.Constructor=9,wa.Enum=10,wa.Interface=11,wa.Function=12,wa.Variable=13,wa.Constant=14,wa.String=15,wa.Number=16,wa.Boolean=17,wa.Array=18,wa.Object=19,wa.Key=20,wa.Null=21,wa.EnumMember=22,wa.Struct=23,wa.Event=24,wa.Operator=25,wa.TypeParameter=26}(S||(S={})),function(wa){wa.Deprecated=1}(aa||(aa={})),function(wa){wa.create=function(fa,ra,Ra,ab,Ya){var jb={name:fa,kind:ra,location:{uri:ab,range:Ra}};return Ya&&(jb.containerName=Ya),jb}}(_||(_={})),function(wa){wa.create=function(fa,ra,Ra,ab,Ya,jb){var Sb={name:fa,detail:ra,kind:Ra,range:ab,selectionRange:Ya};return void 0!==jb&&(Sb.children=jb),Sb},wa.is=function(fa){var ra=fa;return ra&&rb.string(ra.name)&&rb.number(ra.kind)&&q.is(ra.range)&&q.is(ra.selectionRange)&&(void 0===ra.detail||rb.string(ra.detail))&&(void 0===ra.deprecated||rb.boolean(ra.deprecated))&&(void 0===ra.children||Array.isArray(ra.children))}}(I||(I={})),function(wa){wa.Empty="",wa.QuickFix="quickfix",wa.Refactor="refactor",wa.RefactorExtract="refactor.extract",wa.RefactorInline="refactor.inline",wa.RefactorRewrite="refactor.rewrite",wa.Source="source",wa.SourceOrganizeImports="source.organizeImports",wa.SourceFixAll="source.fixAll"}(ka||(ka={})),function(wa){wa.create=function(fa,ra){var Ra={diagnostics:fa};return null!=ra&&(Ra.only=ra),Ra},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&rb.typedArray(ra.diagnostics,B.is)&&(void 0===ra.only||rb.typedArray(ra.only,rb.string))}}(va||(va={})),function(wa){wa.create=function(fa,ra,Ra){var ab={title:fa};return C.is(ra)?ab.command=ra:ab.edit=ra,void 0!==Ra&&(ab.kind=Ra),ab},wa.is=function(fa){var ra=fa;return ra&&rb.string(ra.title)&&(void 0===ra.diagnostics||rb.typedArray(ra.diagnostics,B.is))&&(void 0===ra.kind||rb.string(ra.kind))&&(void 0!==ra.edit||void 0!==ra.command)&&(void 0===ra.command||C.is(ra.command))&&(void 0===ra.isPreferred||rb.boolean(ra.isPreferred))&&(void 0===ra.edit||U.is(ra.edit))}}(La||(La={})),function(wa){wa.create=function(fa,ra){var Ra={range:fa};return rb.defined(ra)&&(Ra.data=ra),Ra},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&q.is(ra.range)&&(rb.undefined(ra.command)||C.is(ra.command))}}($a||($a={})),function(wa){wa.create=function(fa,ra){return{tabSize:fa,insertSpaces:ra}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&rb.number(ra.tabSize)&&rb.boolean(ra.insertSpaces)}}(Ab||(Ab={})),function(wa){wa.create=function(fa,ra,Ra){return{range:fa,target:ra,data:Ra}},wa.is=function(fa){var ra=fa;return rb.defined(ra)&&q.is(ra.range)&&(rb.undefined(ra.target)||rb.string(ra.target))}}(gb||(gb={})),function(wa){wa.create=function(fa,ra){return{range:fa,parent:ra}},wa.is=function(fa){var ra=fa;return void 0!==ra&&q.is(ra.range)&&(void 0===ra.parent||wa.is(ra.parent))}}(Fb||(Fb={}));var tc;!function(wa){wa.create=function(fa,ra,Ra,ab){return new wc(fa,ra,Ra,ab)},wa.is=function(fa){var ra=fa;return!!(rb.defined(ra)&&rb.string(ra.uri)&&(rb.undefined(ra.languageId)||rb.string(ra.languageId))&&rb.number(ra.lineCount)&&rb.func(ra.getText)&&rb.func(ra.positionAt)&&rb.func(ra.offsetAt))},wa.applyEdits=function(fa,ra){for(var Ra=fa.getText(),ab=function zc(_b,qc){if(_b.length<=1)return _b;var nc=_b.length/2|0,Aa=_b.slice(0,nc),ya=_b.slice(nc);zc(Aa,qc),zc(ya,qc);for(var pa=0,Ja=0,Na=0;pa<Aa.length&&Ja<ya.length;){var Pa=qc(Aa[pa],ya[Ja]);_b[Na++]=Pa<=0?Aa[pa++]:ya[Ja++]}for(;pa<Aa.length;)_b[Na++]=Aa[pa++];for(;Ja<ya.length;)_b[Na++]=ya[Ja++];return _b}(ra,function(zc,_b){var qc=zc.range.start.line-_b.range.start.line;return 0===qc?zc.range.start.character-_b.range.start.character:qc}),Ya=Ra.length,jb=ab.length-1;jb>=0;jb--){var Sb=ab[jb],Yb=fa.offsetAt(Sb.range.start),rc=fa.offsetAt(Sb.range.end);if(!(rc<=Ya))throw new Error("Overlapping edit");Ra=Ra.substring(0,Yb)+Sb.newText+Ra.substring(rc,Ra.length),Ya=Yb}return Ra}}(tc||(tc={}));var rb,wc=function(){function wa(fa,ra,Ra,ab){this._uri=fa,this._languageId=ra,this._version=Ra,this._content=ab,this._lineOffsets=void 0}return Object.defineProperty(wa.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(wa.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(wa.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),wa.prototype.getText=function(fa){if(fa){var ra=this.offsetAt(fa.start),Ra=this.offsetAt(fa.end);return this._content.substring(ra,Ra)}return this._content},wa.prototype.update=function(fa,ra){this._content=fa.text,this._version=ra,this._lineOffsets=void 0},wa.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var fa=[],ra=this._content,Ra=!0,ab=0;ab<ra.length;ab++){Ra&&(fa.push(ab),Ra=!1);var Ya=ra.charAt(ab);Ra="\r"===Ya||` -`===Ya,"\r"===Ya&&ab+1<ra.length&&` -`===ra.charAt(ab+1)&&ab++}Ra&&ra.length>0&&fa.push(ra.length),this._lineOffsets=fa}return this._lineOffsets},wa.prototype.positionAt=function(fa){fa=Math.max(Math.min(fa,this._content.length),0);var ra=this.getLineOffsets(),Ra=0,ab=ra.length;if(0===ab)return l.create(0,fa);for(;Ra<ab;){var Ya=Math.floor((Ra+ab)/2);ra[Ya]>fa?ab=Ya:Ra=Ya+1}var jb=Ra-1;return l.create(jb,fa-ra[jb])},wa.prototype.offsetAt=function(fa){var ra=this.getLineOffsets();if(fa.line>=ra.length)return this._content.length;if(fa.line<0)return 0;var Ra=ra[fa.line],ab=fa.line+1<ra.length?ra[fa.line+1]:this._content.length;return Math.max(Math.min(Ra+fa.character,ab),Ra)},Object.defineProperty(wa.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),wa}();!function(wa){var fa=Object.prototype.toString;wa.defined=function(ra){return void 0!==ra},wa.undefined=function(ra){return void 0===ra},wa.boolean=function(ra){return!0===ra||!1===ra},wa.string=function(ra){return"[object String]"===fa.call(ra)},wa.number=function(ra){return"[object Number]"===fa.call(ra)},wa.func=function(ra){return"[object Function]"===fa.call(ra)},wa.objectLiteral=function(ra){return null!==ra&&"object"==typeof ra},wa.typedArray=function(ra,Ra){return Array.isArray(ra)&&ra.every(Ra)}}(rb||(rb={}));var vc,cb,Ob,uc=function(){function wa(fa,ra,Ra,ab){this._uri=fa,this._languageId=ra,this._version=Ra,this._content=ab,this._lineOffsets=void 0}return Object.defineProperty(wa.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(wa.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(wa.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),wa.prototype.getText=function(fa){if(fa){var ra=this.offsetAt(fa.start),Ra=this.offsetAt(fa.end);return this._content.substring(ra,Ra)}return this._content},wa.prototype.update=function(fa,ra){for(var Ra=0,ab=fa;Ra<ab.length;Ra++){var Ya=ab[Ra];if(wa.isIncremental(Ya)){var jb=Kc(Ya.range),Sb=this.offsetAt(jb.start),Yb=this.offsetAt(jb.end);this._content=this._content.substring(0,Sb)+Ya.text+this._content.substring(Yb,this._content.length);var rc=Math.max(jb.start.line,0),zc=Math.max(jb.end.line,0),_b=this._lineOffsets,qc=Cc(Ya.text,!1,Sb);if(zc-rc===qc.length)for(var nc=0,Aa=qc.length;nc<Aa;nc++)_b[nc+rc+1]=qc[nc];else qc.length<1e4?_b.splice.apply(_b,[rc+1,zc-rc].concat(qc)):this._lineOffsets=_b=_b.slice(0,rc+1).concat(qc,_b.slice(zc+1));var ya=Ya.text.length-(Yb-Sb);if(0!==ya)for(nc=rc+1+qc.length,Aa=_b.length;nc<Aa;nc++)_b[nc]=_b[nc]+ya}else{if(!wa.isFull(Ya))throw new Error("Unknown change event received");this._content=Ya.text,this._lineOffsets=void 0}}this._version=ra},wa.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=Cc(this._content,!0)),this._lineOffsets},wa.prototype.positionAt=function(fa){fa=Math.max(Math.min(fa,this._content.length),0);var ra=this.getLineOffsets(),Ra=0,ab=ra.length;if(0===ab)return{line:0,character:fa};for(;Ra<ab;){var Ya=Math.floor((Ra+ab)/2);ra[Ya]>fa?ab=Ya:Ra=Ya+1}var jb=Ra-1;return{line:jb,character:fa-ra[jb]}},wa.prototype.offsetAt=function(fa){var ra=this.getLineOffsets();if(fa.line>=ra.length)return this._content.length;if(fa.line<0)return 0;var Ra=ra[fa.line],ab=fa.line+1<ra.length?ra[fa.line+1]:this._content.length;return Math.max(Math.min(Ra+fa.character,ab),Ra)},Object.defineProperty(wa.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),wa.isIncremental=function(fa){var ra=fa;return null!=ra&&"string"==typeof ra.text&&void 0!==ra.range&&(void 0===ra.rangeLength||"number"==typeof ra.rangeLength)},wa.isFull=function(fa){var ra=fa;return null!=ra&&"string"==typeof ra.text&&void 0===ra.range&&void 0===ra.rangeLength},wa}();function Cc(wa,fa,ra){void 0===ra&&(ra=0);for(var Ra=fa?[ra]:[],ab=0;ab<wa.length;ab++){var Ya=wa.charCodeAt(ab);13!==Ya&&10!==Ya||(13===Ya&&ab+1<wa.length&&10===wa.charCodeAt(ab+1)&&ab++,Ra.push(ra+ab+1))}return Ra}function Kc(wa){var fa=wa.start,ra=wa.end;return fa.line>ra.line||fa.line===ra.line&&fa.character>ra.character?{start:ra,end:fa}:wa}function Yc(wa){var fa=Kc(wa.range);return fa!==wa.range?{newText:wa.newText,range:fa}:wa}function sc(wa,fa){return 0===fa.length?wa:wa.replace(/\{(\d+)\}/g,function(ra,Ra){var ab=Ra[0];return void 0!==fa[ab]?fa[ab]:ra})}function Nb(wa,fa){for(var ra=[],Ra=2;Ra<arguments.length;Ra++)ra[Ra-2]=arguments[Ra];return sc(fa,ra)}function Fc(wa){return Nb}!function(wa){wa.create=function(fa,ra,Ra,ab){return new uc(fa,ra,Ra,ab)},wa.update=function(fa,ra,Ra){if(fa instanceof uc)return fa.update(ra,Ra),fa;throw new Error("TextDocument.update: document must be created by TextDocument.create")},wa.applyEdits=function(fa,ra){for(var Ra=fa.getText(),ab=0,Ya=[],jb=0,Sb=function zc(_b,qc){if(_b.length<=1)return _b;var nc=_b.length/2|0,Aa=_b.slice(0,nc),ya=_b.slice(nc);zc(Aa,qc),zc(ya,qc);for(var pa=0,Ja=0,Na=0;pa<Aa.length&&Ja<ya.length;){var Pa=qc(Aa[pa],ya[Ja]);_b[Na++]=Pa<=0?Aa[pa++]:ya[Ja++]}for(;pa<Aa.length;)_b[Na++]=Aa[pa++];for(;Ja<ya.length;)_b[Na++]=ya[Ja++];return _b}(ra.map(Yc),function(zc,_b){var qc=zc.range.start.line-_b.range.start.line;return 0===qc?zc.range.start.character-_b.range.start.character:qc});jb<Sb.length;jb++){var Yb=Sb[jb],rc=fa.offsetAt(Yb.range.start);if(rc<ab)throw new Error("Overlapping edit");rc>ab&&Ya.push(Ra.substring(ab,rc)),Yb.newText.length&&Ya.push(Yb.newText),ab=fa.offsetAt(Yb.range.end)}return Ya.push(Ra.substr(ab)),Ya.join("")}}(vc||(vc={})),function(wa){wa[wa.Undefined=0]="Undefined",wa[wa.EnumValueMismatch=1]="EnumValueMismatch",wa[wa.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",wa[wa.UnexpectedEndOfString=258]="UnexpectedEndOfString",wa[wa.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",wa[wa.InvalidUnicode=260]="InvalidUnicode",wa[wa.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",wa[wa.InvalidCharacter=262]="InvalidCharacter",wa[wa.PropertyExpected=513]="PropertyExpected",wa[wa.CommaExpected=514]="CommaExpected",wa[wa.ColonExpected=515]="ColonExpected",wa[wa.ValueExpected=516]="ValueExpected",wa[wa.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",wa[wa.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",wa[wa.TrailingComma=519]="TrailingComma",wa[wa.DuplicateKey=520]="DuplicateKey",wa[wa.CommentNotPermitted=521]="CommentNotPermitted",wa[wa.SchemaResolveError=768]="SchemaResolveError"}(cb||(cb={})),(Ob||(Ob={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[V.Markdown,V.PlainText],commitCharactersSupport:!0}}}};var pb,mc,Eb=(pb=function(wa,fa){return(pb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ra,Ra){ra.__proto__=Ra}||function(ra,Ra){for(var ab in Ra)Ra.hasOwnProperty(ab)&&(ra[ab]=Ra[ab])})(wa,fa)},function(wa,fa){function ra(){this.constructor=wa}pb(wa,fa),wa.prototype=null===fa?Object.create(fa):(ra.prototype=fa.prototype,new ra())}),qb=Fc(),Va={"color-hex":{errorMessage:qb("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:qb("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:qb("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:qb("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:qb("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},Oa=function(){function wa(fa,ra,Ra){void 0===Ra&&(Ra=0),this.offset=ra,this.length=Ra,this.parent=fa}return Object.defineProperty(wa.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),wa.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},wa}(),Qa=function(wa){function fa(ra,Ra){var ab=wa.call(this,ra,Ra)||this;return ab.type="null",ab.value=null,ab}return Eb(fa,wa),fa}(Oa),kb=function(wa){function fa(ra,Ra,ab){var Ya=wa.call(this,ra,ab)||this;return Ya.type="boolean",Ya.value=Ra,Ya}return Eb(fa,wa),fa}(Oa),tb=function(wa){function fa(ra,Ra){var ab=wa.call(this,ra,Ra)||this;return ab.type="array",ab.items=[],ab}return Eb(fa,wa),Object.defineProperty(fa.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),fa}(Oa),oc=function(wa){function fa(ra,Ra){var ab=wa.call(this,ra,Ra)||this;return ab.type="number",ab.isInteger=!0,ab.value=Number.NaN,ab}return Eb(fa,wa),fa}(Oa),ec=function(wa){function fa(ra,Ra,ab){var Ya=wa.call(this,ra,Ra,ab)||this;return Ya.type="string",Ya.value="",Ya}return Eb(fa,wa),fa}(Oa),$b=function(wa){function fa(ra,Ra,ab){var Ya=wa.call(this,ra,Ra)||this;return Ya.type="property",Ya.colonOffset=-1,Ya.keyNode=ab,Ya}return Eb(fa,wa),Object.defineProperty(fa.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),fa}(Oa),Hc=function(wa){function fa(ra,Ra){var ab=wa.call(this,ra,Ra)||this;return ab.type="object",ab.properties=[],ab}return Eb(fa,wa),Object.defineProperty(fa.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),fa}(Oa);function Bc(wa){return oa(wa)?wa?{}:{not:{}}:wa}!function(wa){wa[wa.Key=0]="Key",wa[wa.Enum=1]="Enum"}(mc||(mc={}));var Vc=function(){function wa(fa,ra){void 0===fa&&(fa=-1),this.focusOffset=fa,this.exclude=ra,this.schemas=[]}return wa.prototype.add=function(fa){this.schemas.push(fa)},wa.prototype.merge=function(fa){Array.prototype.push.apply(this.schemas,fa.schemas)},wa.prototype.include=function(fa){return(-1===this.focusOffset||dc(fa,this.focusOffset))&&fa!==this.exclude},wa.prototype.newSub=function(){return new wa(-1,this.exclude)},wa}(),Ic=function(){function wa(){}return Object.defineProperty(wa.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),wa.prototype.add=function(fa){},wa.prototype.merge=function(fa){},wa.prototype.include=function(fa){return!0},wa.prototype.newSub=function(){return this},wa.instance=new wa(),wa}(),xc=function(){function wa(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return wa.prototype.hasProblems=function(){return!!this.problems.length},wa.prototype.mergeAll=function(fa){for(var ra=0,Ra=fa;ra<Ra.length;ra++){var ab=Ra[ra];this.merge(ab)}},wa.prototype.merge=function(fa){this.problems=this.problems.concat(fa.problems)},wa.prototype.mergeEnumValues=function(fa){if(!this.enumValueMatch&&!fa.enumValueMatch&&this.enumValues&&fa.enumValues){this.enumValues=this.enumValues.concat(fa.enumValues);for(var ra=0,Ra=this.problems;ra<Ra.length;ra++){var ab=Ra[ra];ab.code===cb.EnumValueMismatch&&(ab.message=qb("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map(function(Ya){return JSON.stringify(Ya)}).join(", ")))}}},wa.prototype.mergePropertyMatch=function(fa){this.merge(fa),this.propertiesMatches++,(fa.enumValueMatch||!fa.hasProblems()&&fa.propertiesMatches)&&this.propertiesValueMatches++,fa.enumValueMatch&&fa.enumValues&&1===fa.enumValues.length&&this.primaryValueMatches++},wa.prototype.compare=function(fa){var ra=this.hasProblems();return ra!==fa.hasProblems()?ra?-1:1:this.enumValueMatch!==fa.enumValueMatch?fa.enumValueMatch?-1:1:this.primaryValueMatches!==fa.primaryValueMatches?this.primaryValueMatches-fa.primaryValueMatches:this.propertiesValueMatches!==fa.propertiesValueMatches?this.propertiesValueMatches-fa.propertiesValueMatches:this.propertiesMatches-fa.propertiesMatches},wa}();function nb(wa){return da.e(wa)}function zb(wa){return da.d(wa)}function dc(wa,fa,ra){return void 0===ra&&(ra=!1),fa>=wa.offset&&fa<wa.offset+wa.length||ra&&fa===wa.offset+wa.length}var Dc=function(){function wa(fa,ra,Ra){void 0===ra&&(ra=[]),void 0===Ra&&(Ra=[]),this.root=fa,this.syntaxErrors=ra,this.comments=Ra}return wa.prototype.getNodeFromOffset=function(fa,ra){if(void 0===ra&&(ra=!1),this.root)return da.b(this.root,fa,ra)},wa.prototype.visit=function(fa){if(this.root){var ra=function(Ra){var ab=fa(Ra),Ya=Ra.children;if(Array.isArray(Ya))for(var jb=0;jb<Ya.length&&ab;jb++)ab=ra(Ya[jb]);return ab};ra(this.root)}},wa.prototype.validate=function(fa,ra){if(this.root&&ra){var Ra=new xc();return Pc(this.root,ra,Ra,Ic.instance),Ra.problems.map(function(ab){var Ya=q.create(fa.positionAt(ab.location.offset),fa.positionAt(ab.location.offset+ab.location.length));return B.create(Ya,ab.message,ab.severity,ab.code)})}},wa.prototype.getMatchingSchemas=function(fa,ra,Ra){void 0===ra&&(ra=-1);var ab=new Vc(ra,Ra);return this.root&&fa&&Pc(this.root,fa,new xc(),ab),ab.schemas},wa}();function Pc(wa,fa,ra,Ra){if(wa&&Ra.include(wa)){var ab=wa;switch(ab.type){case"object":!function(Ya,jb,Sb,Yb){for(var rc=Object.create(null),zc=[],_b=0,qc=Ya.properties;_b<qc.length;_b++){var nc=(sb=qc[_b]).keyNode.value;rc[nc]=sb.valueNode,zc.push(nc)}if(Array.isArray(jb.required))for(var Aa=0,ya=jb.required;Aa<ya.length;Aa++){var pa=ya[Aa];if(!rc[pa]){var Ja=Ya.parent&&"property"===Ya.parent.type&&Ya.parent.keyNode,Na=Ja?{offset:Ja.offset,length:Ja.length}:{offset:Ya.offset,length:1};Sb.problems.push({location:Na,severity:D.Warning,message:qb("MissingRequiredPropWarning",'Missing property "{0}".',pa)})}}var Pa=function(Fd){for(var Wd=zc.indexOf(Fd);Wd>=0;)zc.splice(Wd,1),Wd=zc.indexOf(Fd)};if(jb.properties)for(var Fa=0,Xa=Object.keys(jb.properties);Fa<Xa.length;Fa++){pa=Xa[Fa],Pa(pa);var lb=jb.properties[pa];if(hd=rc[pa])if(oa(lb))if(lb)Sb.propertiesMatches++,Sb.propertiesValueMatches++;else{var sb=hd.parent;Sb.problems.push({location:{offset:sb.keyNode.offset,length:sb.keyNode.length},severity:D.Warning,message:jb.errorMessage||qb("DisallowedExtraPropWarning","Property {0} is not allowed.",pa)})}else{var vb=new xc();Pc(hd,lb,vb,Yb),Sb.mergePropertyMatch(vb)}}if(jb.patternProperties)for(var Vb=0,hc=Object.keys(jb.patternProperties);Vb<hc.length;Vb++)for(var Tb=hc[Vb],cc=new RegExp(Tb),Rc=0,gd=zc.slice(0);Rc<gd.length;Rc++)pa=gd[Rc],cc.test(pa)&&((Pa(pa),hd=rc[pa])&&(oa(lb=jb.patternProperties[Tb])?lb?(Sb.propertiesMatches++,Sb.propertiesValueMatches++):(sb=hd.parent,Sb.problems.push({location:{offset:sb.keyNode.offset,length:sb.keyNode.length},severity:D.Warning,message:jb.errorMessage||qb("DisallowedExtraPropWarning","Property {0} is not allowed.",pa)})):(vb=new xc(),Pc(hd,lb,vb,Yb),Sb.mergePropertyMatch(vb))));if("object"==typeof jb.additionalProperties)for(var od=0,Wb=zc;od<Wb.length;od++)pa=Wb[od],(hd=rc[pa])&&(vb=new xc(),Pc(hd,jb.additionalProperties,vb,Yb),Sb.mergePropertyMatch(vb));else if(!1===jb.additionalProperties&&zc.length>0)for(var Zb=0,kc=zc;Zb<kc.length;Zb++){var hd;pa=kc[Zb],(hd=rc[pa])&&(sb=hd.parent,Sb.problems.push({location:{offset:sb.keyNode.offset,length:sb.keyNode.length},severity:D.Warning,message:jb.errorMessage||qb("DisallowedExtraPropWarning","Property {0} is not allowed.",pa)}))}H(jb.maxProperties)&&Ya.properties.length>jb.maxProperties&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("MaxPropWarning","Object has more properties than limit of {0}.",jb.maxProperties)}),H(jb.minProperties)&&Ya.properties.length<jb.minProperties&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("MinPropWarning","Object has fewer properties than the required number of {0}",jb.minProperties)});if(jb.dependencies)for(var ld=0,fd=Object.keys(jb.dependencies);ld<fd.length;ld++){nc=fd[ld];if(rc[nc]){var md=jb.dependencies[nc];if(Array.isArray(md))for(var rd=0,yd=md;rd<yd.length;rd++){var Vd=yd[rd];rc[Vd]?Sb.propertiesValueMatches++:Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",Vd,nc)})}else(lb=Bc(md))&&(vb=new xc(),Pc(Ya,lb,vb,Yb),Sb.mergePropertyMatch(vb))}}var Sd=Bc(jb.propertyNames);if(Sd)for(var Ae=0,Ce=Ya.properties;Ae<Ce.length;Ae++){var Cd=Ce[Ae];(nc=Cd.keyNode)&&Pc(nc,Sd,Sb,Ic.instance)}}(ab,fa,ra,Ra);break;case"array":!function(Ya,jb,Sb,Yb){if(Array.isArray(jb.items)){for(var rc=jb.items,zc=0;zc<rc.length;zc++){var _b=Bc(rc[zc]),qc=new xc();(Ja=Ya.items[zc])?(Pc(Ja,_b,qc,Yb),Sb.mergePropertyMatch(qc)):Ya.items.length>=rc.length&&Sb.propertiesValueMatches++}if(Ya.items.length>rc.length)if("object"==typeof jb.additionalItems)for(var nc=rc.length;nc<Ya.items.length;nc++)qc=new xc(),Pc(Ya.items[nc],jb.additionalItems,qc,Yb),Sb.mergePropertyMatch(qc);else!1===jb.additionalItems&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",rc.length)})}else{var Aa=Bc(jb.items);if(Aa)for(var ya=0,pa=Ya.items;ya<pa.length;ya++){var Ja=pa[ya];qc=new xc(),Pc(Ja,Aa,qc,Yb),Sb.mergePropertyMatch(qc)}}var Na=Bc(jb.contains);Na&&(Ya.items.some(function(Fa){var Xa=new xc();return Pc(Fa,Na,Xa,Ic.instance),!Xa.hasProblems()})||Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:jb.errorMessage||qb("requiredItemMissingWarning","Array does not contain required item.")})),H(jb.minItems)&&Ya.items.length<jb.minItems&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("minItemsWarning","Array has too few items. Expected {0} or more.",jb.minItems)}),H(jb.maxItems)&&Ya.items.length>jb.maxItems&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("maxItemsWarning","Array has too many items. Expected {0} or fewer.",jb.maxItems)});if(!0===jb.uniqueItems){var Pa=nb(Ya);Pa.some(function(Fa,Xa){return Xa!==Pa.lastIndexOf(Fa)})&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("uniqueItemsWarning","Array has duplicate items.")})}}(ab,fa,ra,Ra);break;case"string":!function(Ya,jb,Sb,Yb){H(jb.minLength)&&Ya.value.length<jb.minLength&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("minLengthWarning","String is shorter than the minimum length of {0}.",jb.minLength)}),H(jb.maxLength)&&Ya.value.length>jb.maxLength&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("maxLengthWarning","String is longer than the maximum length of {0}.",jb.maxLength)}),(rc=jb.pattern,"string"==typeof rc)&&(new RegExp(jb.pattern).test(Ya.value)||Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:jb.patternErrorMessage||jb.errorMessage||qb("patternWarning",'String does not match the pattern of "{0}".',jb.pattern)}));var rc;if(jb.format)switch(jb.format){case"uri":case"uri-reference":var zc=void 0;if(Ya.value){var _b=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(Ya.value);_b?_b[2]||"uri"!==jb.format||(zc=qb("uriSchemeMissing","URI with a scheme is expected.")):zc=qb("uriMissing","URI is expected.")}else zc=qb("uriEmpty","URI expected.");zc&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:jb.patternErrorMessage||jb.errorMessage||qb("uriFormatWarning","String is not a URI: {0}",zc)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var qc=Va[jb.format];Ya.value&&qc.pattern.exec(Ya.value)||Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:jb.patternErrorMessage||jb.errorMessage||qc.errorMessage})}}(ab,fa,ra);break;case"number":!function(Ya,jb,Sb,Yb){var rc=Ya.value;function zc(Xa){var lb,sb=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(Xa.toString());return sb&&{value:Number(sb[1]+(sb[2]||"")),multiplier:((null===(lb=sb[2])||void 0===lb?void 0:lb.length)||0)-(parseInt(sb[3])||0)}}if(H(jb.multipleOf)){var _b=-1;if(Number.isInteger(jb.multipleOf))_b=rc%jb.multipleOf;else{var qc=zc(jb.multipleOf),nc=zc(rc);if(qc&&nc){var Aa=Math.pow(10,Math.abs(nc.multiplier-qc.multiplier));nc.multiplier<qc.multiplier?nc.value*=Aa:qc.value*=Aa,_b=nc.value%qc.value}}0!==_b&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("multipleOfWarning","Value is not divisible by {0}.",jb.multipleOf)})}function ya(Xa,lb){return H(lb)?lb:oa(lb)&&lb?Xa:void 0}function pa(Xa,lb){if(!oa(lb)||!lb)return Xa}var Ja=ya(jb.minimum,jb.exclusiveMinimum);H(Ja)&&rc<=Ja&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",Ja)});var Na=ya(jb.maximum,jb.exclusiveMaximum);H(Na)&&rc>=Na&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",Na)});var Pa=pa(jb.minimum,jb.exclusiveMinimum);H(Pa)&&rc<Pa&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("minimumWarning","Value is below the minimum of {0}.",Pa)});var Fa=pa(jb.maximum,jb.exclusiveMaximum);H(Fa)&&rc>Fa&&Sb.problems.push({location:{offset:Ya.offset,length:Ya.length},severity:D.Warning,message:qb("maximumWarning","Value is above the maximum of {0}.",Fa)})}(ab,fa,ra);break;case"property":return Pc(ab.valueNode,fa,ra,Ra)}!function(){function Ya(sb){return ab.type===sb||"integer"===sb&&"number"===ab.type&&ab.isInteger}Array.isArray(fa.type)?fa.type.some(Ya)||ra.problems.push({location:{offset:ab.offset,length:ab.length},severity:D.Warning,message:fa.errorMessage||qb("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",fa.type.join(", "))}):fa.type&&(Ya(fa.type)||ra.problems.push({location:{offset:ab.offset,length:ab.length},severity:D.Warning,message:fa.errorMessage||qb("typeMismatchWarning",'Incorrect type. Expected "{0}".',fa.type)}));if(Array.isArray(fa.allOf))for(var jb=0,Sb=fa.allOf;jb<Sb.length;jb++){var Yb=Sb[jb];Pc(ab,Bc(Yb),ra,Ra)}var rc=Bc(fa.not);if(rc){var zc=new xc(),_b=Ra.newSub();Pc(ab,rc,zc,_b),zc.hasProblems()||ra.problems.push({location:{offset:ab.offset,length:ab.length},severity:D.Warning,message:qb("notSchemaWarning","Matches a schema that is not allowed.")});for(var qc=0,nc=_b.schemas;qc<nc.length;qc++){var Aa=nc[qc];Aa.inverted=!Aa.inverted,Ra.add(Aa)}}var ya=function(sb,vb){for(var Vb=[],hc=void 0,Tb=0,cc=sb;Tb<cc.length;Tb++){var Rc=Bc(cc[Tb]),gd=new xc(),od=Ra.newSub();if(Pc(ab,Rc,gd,od),gd.hasProblems()||Vb.push(Rc),hc)if(vb||gd.hasProblems()||hc.validationResult.hasProblems()){var Wb=gd.compare(hc.validationResult);Wb>0?hc={schema:Rc,validationResult:gd,matchingSchemas:od}:0===Wb&&(hc.matchingSchemas.merge(od),hc.validationResult.mergeEnumValues(gd))}else hc.matchingSchemas.merge(od),hc.validationResult.propertiesMatches+=gd.propertiesMatches,hc.validationResult.propertiesValueMatches+=gd.propertiesValueMatches;else hc={schema:Rc,validationResult:gd,matchingSchemas:od}}return Vb.length>1&&vb&&ra.problems.push({location:{offset:ab.offset,length:1},severity:D.Warning,message:qb("oneOfWarning","Matches multiple schemas when only one must validate.")}),hc&&(ra.merge(hc.validationResult),ra.propertiesMatches+=hc.validationResult.propertiesMatches,ra.propertiesValueMatches+=hc.validationResult.propertiesValueMatches,Ra.merge(hc.matchingSchemas)),Vb.length};Array.isArray(fa.anyOf)&&ya(fa.anyOf,!1),Array.isArray(fa.oneOf)&&ya(fa.oneOf,!0);var pa=function(sb){var vb=new xc(),Vb=Ra.newSub();Pc(ab,Bc(sb),vb,Vb),ra.merge(vb),ra.propertiesMatches+=vb.propertiesMatches,ra.propertiesValueMatches+=vb.propertiesValueMatches,Ra.merge(Vb)},Ja=Bc(fa.if);Ja&&function(sb,vb,Vb){var hc=Bc(sb),Tb=new xc(),cc=Ra.newSub();Pc(ab,hc,Tb,cc),Ra.merge(cc),Tb.hasProblems()?Vb&&pa(Vb):vb&&pa(vb)}(Ja,Bc(fa.then),Bc(fa.else));if(Array.isArray(fa.enum)){for(var Na=nb(ab),Pa=!1,Fa=0,Xa=fa.enum;Fa<Xa.length;Fa++){var lb=Xa[Fa];if(Z(Na,lb)){Pa=!0;break}}ra.enumValues=fa.enum,ra.enumValueMatch=Pa,Pa||ra.problems.push({location:{offset:ab.offset,length:ab.length},severity:D.Warning,code:cb.EnumValueMismatch,message:fa.errorMessage||qb("enumWarning","Value is not accepted. Valid values: {0}.",fa.enum.map(function(sb){return JSON.stringify(sb)}).join(", "))})}ea(fa.const)&&(Z(Na=nb(ab),fa.const)?ra.enumValueMatch=!0:(ra.problems.push({location:{offset:ab.offset,length:ab.length},severity:D.Warning,code:cb.EnumValueMismatch,message:fa.errorMessage||qb("constWarning","Value must be {0}.",JSON.stringify(fa.const))}),ra.enumValueMatch=!1),ra.enumValues=[fa.const]),fa.deprecationMessage&&ab.parent&&ra.problems.push({location:{offset:ab.parent.offset,length:ab.parent.length},severity:D.Warning,message:fa.deprecationMessage})}(),Ra.add({node:ab,schema:fa})}}function Nc(wa,fa){var ra=[],Ra=-1,ab=wa.getText(),Ya=da.a(ab,!1),jb=fa&&fa.collectComments?[]:void 0;function Sb(){for(;;){var Ja=Ya.scan();switch(zc(),Ja){case 12:case 13:Array.isArray(jb)&&jb.push(q.create(wa.positionAt(Ya.getTokenOffset()),wa.positionAt(Ya.getTokenOffset()+Ya.getTokenLength())));break;case 15:case 14:break;default:return Ja}}}function Yb(Ja,Na,Pa,Fa,Xa){if(void 0===Xa&&(Xa=D.Error),0===ra.length||Pa!==Ra){var lb=q.create(wa.positionAt(Pa),wa.positionAt(Fa));ra.push(B.create(lb,Ja,Xa,Na,wa.languageId)),Ra=Pa}}function rc(Ja,Na,Pa,Fa,Xa){void 0===Pa&&(Pa=void 0),void 0===Fa&&(Fa=[]),void 0===Xa&&(Xa=[]);var lb=Ya.getTokenOffset(),sb=Ya.getTokenOffset()+Ya.getTokenLength();if(lb===sb&&lb>0){for(lb--;lb>0&&/\s/.test(ab.charAt(lb));)lb--;sb=lb+1}if(Yb(Ja,Na,lb,sb),Pa&&_b(Pa,!1),Fa.length+Xa.length>0)for(var vb=Ya.getToken();17!==vb;){if(-1!==Fa.indexOf(vb)){Sb();break}if(-1!==Xa.indexOf(vb))break;vb=Sb()}return Pa}function zc(){switch(Ya.getTokenError()){case 4:return rc(qb("InvalidUnicode","Invalid unicode sequence in string."),cb.InvalidUnicode),!0;case 5:return rc(qb("InvalidEscapeCharacter","Invalid escape character in string."),cb.InvalidEscapeCharacter),!0;case 3:return rc(qb("UnexpectedEndOfNumber","Unexpected end of number."),cb.UnexpectedEndOfNumber),!0;case 1:return rc(qb("UnexpectedEndOfComment","Unexpected end of comment."),cb.UnexpectedEndOfComment),!0;case 2:return rc(qb("UnexpectedEndOfString","Unexpected end of string."),cb.UnexpectedEndOfString),!0;case 6:return rc(qb("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),cb.InvalidCharacter),!0}return!1}function _b(Ja,Na){return Ja.length=Ya.getTokenOffset()+Ya.getTokenLength()-Ja.offset,Na&&Sb(),Ja}var qc=new ec(void 0,0,0);function nc(Ja,Na){var Pa=new $b(Ja,Ya.getTokenOffset(),qc),Fa=Aa(Pa);if(!Fa){if(16!==Ya.getToken())return;rc(qb("DoubleQuotesExpected","Property keys must be doublequoted"),cb.Undefined);var Xa=new ec(Pa,Ya.getTokenOffset(),Ya.getTokenLength());Xa.value=Ya.getTokenValue(),Fa=Xa,Sb()}Pa.keyNode=Fa;var lb=Na[Fa.value];if(lb?(Yb(qb("DuplicateKeyWarning","Duplicate object key"),cb.DuplicateKey,Pa.keyNode.offset,Pa.keyNode.offset+Pa.keyNode.length,D.Warning),"object"==typeof lb&&Yb(qb("DuplicateKeyWarning","Duplicate object key"),cb.DuplicateKey,lb.keyNode.offset,lb.keyNode.offset+lb.keyNode.length,D.Warning),Na[Fa.value]=!0):Na[Fa.value]=Pa,6===Ya.getToken())Pa.colonOffset=Ya.getTokenOffset(),Sb();else if(rc(qb("ColonExpected","Colon expected"),cb.ColonExpected),10===Ya.getToken()&&wa.positionAt(Fa.offset+Fa.length).line<wa.positionAt(Ya.getTokenOffset()).line)return Pa.length=Fa.length,Pa;var sb=ya(Pa);return sb?(Pa.valueNode=sb,Pa.length=sb.offset+sb.length-Pa.offset,Pa):rc(qb("ValueExpected","Value expected"),cb.ValueExpected,Pa,[],[2,5])}function Aa(Ja){if(10===Ya.getToken()){var Na=new ec(Ja,Ya.getTokenOffset());return Na.value=Ya.getTokenValue(),_b(Na,!0)}}function ya(Ja){return function(Na){if(3===Ya.getToken()){var Pa=new tb(Na,Ya.getTokenOffset());Sb();for(var Fa=!1;4!==Ya.getToken()&&17!==Ya.getToken();){if(5===Ya.getToken()){Fa||rc(qb("ValueExpected","Value expected"),cb.ValueExpected);var Xa=Ya.getTokenOffset();if(Sb(),4===Ya.getToken()){Fa&&Yb(qb("TrailingComma","Trailing comma"),cb.TrailingComma,Xa,Xa+1);continue}}else Fa&&rc(qb("ExpectedComma","Expected comma"),cb.CommaExpected);var lb=ya(Pa);lb?Pa.items.push(lb):rc(qb("PropertyExpected","Value expected"),cb.ValueExpected,void 0,[],[4,5]),Fa=!0}return 4!==Ya.getToken()?rc(qb("ExpectedCloseBracket","Expected comma or closing bracket"),cb.CommaOrCloseBacketExpected,Pa):_b(Pa,!0)}}(Ja)||function(Na){if(1===Ya.getToken()){var Pa=new Hc(Na,Ya.getTokenOffset()),Fa=Object.create(null);Sb();for(var Xa=!1;2!==Ya.getToken()&&17!==Ya.getToken();){if(5===Ya.getToken()){Xa||rc(qb("PropertyExpected","Property expected"),cb.PropertyExpected);var lb=Ya.getTokenOffset();if(Sb(),2===Ya.getToken()){Xa&&Yb(qb("TrailingComma","Trailing comma"),cb.TrailingComma,lb,lb+1);continue}}else Xa&&rc(qb("ExpectedComma","Expected comma"),cb.CommaExpected);var sb=nc(Pa,Fa);sb?Pa.properties.push(sb):rc(qb("PropertyExpected","Property expected"),cb.PropertyExpected,void 0,[],[2,5]),Xa=!0}return 2!==Ya.getToken()?rc(qb("ExpectedCloseBrace","Expected comma or closing brace"),cb.CommaOrCloseBraceExpected,Pa):_b(Pa,!0)}}(Ja)||Aa(Ja)||function(Na){if(11===Ya.getToken()){var Pa=new oc(Na,Ya.getTokenOffset());if(0===Ya.getTokenError()){var Fa=Ya.getTokenValue();try{var Xa=JSON.parse(Fa);if(!H(Xa))return rc(qb("InvalidNumberFormat","Invalid number format."),cb.Undefined,Pa);Pa.value=Xa}catch(lb){return rc(qb("InvalidNumberFormat","Invalid number format."),cb.Undefined,Pa)}Pa.isInteger=-1===Fa.indexOf(".")}return _b(Pa,!0)}}(Ja)||function(Na){switch(Ya.getToken()){case 7:return _b(new Qa(Na,Ya.getTokenOffset()),!0);case 8:return _b(new kb(Na,!0,Ya.getTokenOffset()),!0);case 9:return _b(new kb(Na,!1,Ya.getTokenOffset()),!0);default:return}}(Ja)}var pa=void 0;return 17!==Sb()&&((pa=ya(pa))?17!==Ya.getToken()&&rc(qb("End of file expected","End of file expected."),cb.Undefined):rc(qb("Invalid symbol","Expected a JSON object, array or literal."),cb.Undefined)),new Dc(pa,ra,jb)}function Ed(wa,fa){var ra=wa.length-fa.length;return ra>0?wa.lastIndexOf(fa)===ra:0===ra&&wa===fa}function ad(wa){return wa.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}var ud=Fc(),Od=function(){function wa(fa,ra,Ra,ab){void 0===ra&&(ra=[]),void 0===Ra&&(Ra=Promise),void 0===ab&&(ab={}),this.schemaService=fa,this.contributions=ra,this.promiseConstructor=Ra,this.clientCapabilities=ab}return wa.prototype.doResolve=function(fa){for(var ra=this.contributions.length-1;ra>=0;ra--){var Ra=this.contributions[ra].resolveCompletion;if(Ra){var ab=Ra(fa);if(ab)return ab}}return this.promiseConstructor.resolve(fa)},wa.prototype.doComplete=function(fa,ra,Ra){var ab=this,Ya={items:[],isIncomplete:!1},jb=fa.getText(),Sb=fa.offsetAt(ra),Yb=Ra.getNodeFromOffset(Sb,!0);if(this.isInComment(fa,Yb?Yb.offset:0,Sb))return Promise.resolve(Ya);if(Yb&&Sb===Yb.offset+Yb.length&&Sb>0){var rc=jb[Sb-1];("object"===Yb.type&&"}"===rc||"array"===Yb.type&&"]"===rc)&&(Yb=Yb.parent)}var zc,_b=this.getCurrentWord(fa,Sb);if(!Yb||"string"!==Yb.type&&"number"!==Yb.type&&"boolean"!==Yb.type&&"null"!==Yb.type){var qc=Sb-_b.length;qc>0&&'"'===jb[qc-1]&&qc--,zc=q.create(fa.positionAt(qc),ra)}else zc=q.create(fa.positionAt(Yb.offset),fa.positionAt(Yb.offset+Yb.length));var nc={},Aa={add:function(ya){var pa=ya.label,Ja=nc[pa];if(Ja)Ja.documentation||(Ja.documentation=ya.documentation);else{if((pa=pa.replace(/[\n]/g,"↵")).length>60){var Na=pa.substr(0,57).trim()+"...";nc[Na]||(pa=Na)}zc&&void 0!==ya.insertText&&(ya.textEdit=k.replace(zc,ya.insertText)),ya.label=pa,nc[pa]=ya,Ya.items.push(ya)}},setAsIncomplete:function(){Ya.isIncomplete=!0},error:function(ya){console.error(ya)},log:function(ya){console.log(ya)},getNumberOfProposals:function(){return Ya.items.length}};return this.schemaService.getSchemaForResource(fa.uri,Ra).then(function(ya){var pa=[],Ja=!0,Na="",Pa=void 0;if(Yb&&"string"===Yb.type){var Fa=Yb.parent;Fa&&"property"===Fa.type&&Fa.keyNode===Yb&&(Ja=!Fa.valueNode,Pa=Fa,Na=jb.substr(Yb.offset+1,Yb.length-2),Fa&&(Yb=Fa.parent))}if(Yb&&"object"===Yb.type){if(Yb.offset===Sb)return Ya;Yb.properties.forEach(function(vb){Pa&&Pa===vb||(nc[vb.keyNode.value]=G.create("__"))});var Xa="";Ja&&(Xa=ab.evaluateSeparatorAfter(fa,fa.offsetAt(zc.end))),ya?ab.getPropertyCompletions(ya,Ra,Yb,Ja,Xa,Aa):ab.getSchemaLessPropertyCompletions(Ra,Yb,Na,Aa);var lb=zb(Yb);ab.contributions.forEach(function(vb){var Vb=vb.collectPropertyCompletions(fa.uri,lb,_b,Ja,""===Xa,Aa);Vb&&pa.push(Vb)}),!ya&&_b.length>0&&'"'!==jb.charAt(Sb-_b.length-1)&&(Aa.add({kind:ta.Property,label:ab.getLabelForValue(_b),insertText:ab.getInsertTextForProperty(_b,void 0,!1,Xa),insertTextFormat:Da.Snippet,documentation:""}),Aa.setAsIncomplete())}var sb={};return ya?ab.getValueCompletions(ya,Ra,Yb,Sb,fa,Aa,sb):ab.getSchemaLessValueCompletions(Ra,Yb,Sb,fa,Aa),ab.contributions.length>0&&ab.getContributedValueCompletions(Ra,Yb,Sb,fa,Aa,pa),ab.promiseConstructor.all(pa).then(function(){if(0===Aa.getNumberOfProposals()){var vb=Sb;!Yb||"string"!==Yb.type&&"number"!==Yb.type&&"boolean"!==Yb.type&&"null"!==Yb.type||(vb=Yb.offset+Yb.length);var Vb=ab.evaluateSeparatorAfter(fa,vb);ab.addFillerValueCompletions(sb,Vb,Aa)}return Ya})})},wa.prototype.getPropertyCompletions=function(fa,ra,Ra,ab,Ya,jb){var Sb=this;ra.getMatchingSchemas(fa.schema,Ra.offset).forEach(function(Yb){if(Yb.node===Ra&&!Yb.inverted){var rc=Yb.schema.properties;rc&&Object.keys(rc).forEach(function(Aa){var ya=rc[Aa];if("object"==typeof ya&&!ya.deprecationMessage&&!ya.doNotSuggest){var pa={kind:ta.Property,label:Aa,insertText:Sb.getInsertTextForProperty(Aa,ya,ab,Ya),insertTextFormat:Da.Snippet,filterText:Sb.getFilterTextForValue(Aa),documentation:Sb.fromMarkup(ya.markdownDescription)||ya.description||""};void 0!==ya.suggestSortText&&(pa.sortText=ya.suggestSortText),pa.insertText&&Ed(pa.insertText,"$1"+Ya)&&(pa.command={title:"Suggest",command:"editor.action.triggerSuggest"}),jb.add(pa)}});var zc=Yb.schema.propertyNames;if("object"==typeof zc&&!zc.deprecationMessage&&!zc.doNotSuggest){var _b=function(Aa,ya){void 0===ya&&(ya=void 0);var pa={kind:ta.Property,label:Aa,insertText:Sb.getInsertTextForProperty(Aa,void 0,ab,Ya),insertTextFormat:Da.Snippet,filterText:Sb.getFilterTextForValue(Aa),documentation:ya||Sb.fromMarkup(zc.markdownDescription)||zc.description||""};void 0!==zc.suggestSortText&&(pa.sortText=zc.suggestSortText),pa.insertText&&Ed(pa.insertText,"$1"+Ya)&&(pa.command={title:"Suggest",command:"editor.action.triggerSuggest"}),jb.add(pa)};if(zc.enum)for(var qc=0;qc<zc.enum.length;qc++){var nc=void 0;zc.markdownEnumDescriptions&&qc<zc.markdownEnumDescriptions.length?nc=Sb.fromMarkup(zc.markdownEnumDescriptions[qc]):zc.enumDescriptions&&qc<zc.enumDescriptions.length&&(nc=zc.enumDescriptions[qc]),_b(zc.enum[qc],nc)}zc.const&&_b(zc.const)}}})},wa.prototype.getSchemaLessPropertyCompletions=function(fa,ra,Ra,ab){var Ya=this,jb=function(Yb){Yb.properties.forEach(function(rc){var zc=rc.keyNode.value;ab.add({kind:ta.Property,label:zc,insertText:Ya.getInsertTextForValue(zc,""),insertTextFormat:Da.Snippet,filterText:Ya.getFilterTextForValue(zc),documentation:""})})};if(ra.parent)if("property"===ra.parent.type){var Sb=ra.parent.keyNode.value;fa.visit(function(Yb){return"property"===Yb.type&&Yb!==ra.parent&&Yb.keyNode.value===Sb&&Yb.valueNode&&"object"===Yb.valueNode.type&&jb(Yb.valueNode),!0})}else"array"===ra.parent.type&&ra.parent.items.forEach(function(Yb){"object"===Yb.type&&Yb!==ra&&jb(Yb)});else"object"===ra.type&&ab.add({kind:ta.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:Da.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},wa.prototype.getSchemaLessValueCompletions=function(fa,ra,Ra,ab,Ya){var jb=this,Sb=Ra;if(!ra||"string"!==ra.type&&"number"!==ra.type&&"boolean"!==ra.type&&"null"!==ra.type||(Sb=ra.offset+ra.length,ra=ra.parent),!ra)return Ya.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:Da.Snippet,documentation:""}),void Ya.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:Da.Snippet,documentation:""});var Yb=this.evaluateSeparatorAfter(ab,Sb),rc=function(nc){nc.parent&&!dc(nc.parent,Ra,!0)&&Ya.add({kind:jb.getSuggestionKind(nc.type),label:jb.getLabelTextForMatchingNode(nc,ab),insertText:jb.getInsertTextForMatchingNode(nc,ab,Yb),insertTextFormat:Da.Snippet,documentation:""}),"boolean"===nc.type&&jb.addBooleanValueCompletion(!nc.value,Yb,Ya)};if("property"===ra.type&&Ra>(ra.colonOffset||0)){var zc=ra.valueNode;if(zc&&(Ra>zc.offset+zc.length||"object"===zc.type||"array"===zc.type))return;var _b=ra.keyNode.value;fa.visit(function(nc){return"property"===nc.type&&nc.keyNode.value===_b&&nc.valueNode&&rc(nc.valueNode),!0}),"$schema"===_b&&ra.parent&&!ra.parent.parent&&this.addDollarSchemaCompletions(Yb,Ya)}if("array"===ra.type)if(ra.parent&&"property"===ra.parent.type){var qc=ra.parent.keyNode.value;fa.visit(function(nc){return"property"===nc.type&&nc.keyNode.value===qc&&nc.valueNode&&"array"===nc.valueNode.type&&nc.valueNode.items.forEach(rc),!0})}else ra.items.forEach(rc)},wa.prototype.getValueCompletions=function(fa,ra,Ra,ab,Ya,jb,Sb){var Yb=ab,rc=void 0,zc=void 0;if(!Ra||"string"!==Ra.type&&"number"!==Ra.type&&"boolean"!==Ra.type&&"null"!==Ra.type||(Yb=Ra.offset+Ra.length,zc=Ra,Ra=Ra.parent),Ra){if("property"===Ra.type&&ab>(Ra.colonOffset||0)){var _b=Ra.valueNode;if(_b&&ab>_b.offset+_b.length)return;rc=Ra.keyNode.value,Ra=Ra.parent}if(Ra&&(void 0!==rc||"array"===Ra.type)){for(var qc=this.evaluateSeparatorAfter(Ya,Yb),nc=0,Aa=ra.getMatchingSchemas(fa.schema,Ra.offset,zc);nc<Aa.length;nc++){var ya=Aa[nc];if(ya.node===Ra&&!ya.inverted&&ya.schema){if("array"===Ra.type&&ya.schema.items)if(Array.isArray(ya.schema.items)){var pa=this.findItemAtOffset(Ra,Ya,ab);pa<ya.schema.items.length&&this.addSchemaValueCompletions(ya.schema.items[pa],qc,jb,Sb)}else this.addSchemaValueCompletions(ya.schema.items,qc,jb,Sb);if(void 0!==rc){var Ja=!1;ya.schema.properties&&((Xa=ya.schema.properties[rc])&&(Ja=!0,this.addSchemaValueCompletions(Xa,qc,jb,Sb)));if(ya.schema.patternProperties&&!Ja)for(var Na=0,Pa=Object.keys(ya.schema.patternProperties);Na<Pa.length;Na++){var Fa=Pa[Na];if(new RegExp(Fa).test(rc)){Ja=!0;var Xa=ya.schema.patternProperties[Fa];this.addSchemaValueCompletions(Xa,qc,jb,Sb)}}ya.schema.additionalProperties&&!Ja&&(Xa=ya.schema.additionalProperties,this.addSchemaValueCompletions(Xa,qc,jb,Sb))}}}"$schema"!==rc||Ra.parent||this.addDollarSchemaCompletions(qc,jb),Sb.boolean&&(this.addBooleanValueCompletion(!0,qc,jb),this.addBooleanValueCompletion(!1,qc,jb)),Sb.null&&this.addNullValueCompletion(qc,jb)}}else this.addSchemaValueCompletions(fa.schema,"",jb,Sb)},wa.prototype.getContributedValueCompletions=function(fa,ra,Ra,ab,Ya,jb){if(ra){if("string"!==ra.type&&"number"!==ra.type&&"boolean"!==ra.type&&"null"!==ra.type||(ra=ra.parent),ra&&"property"===ra.type&&Ra>(ra.colonOffset||0)){var Sb=ra.keyNode.value,Yb=ra.valueNode;if((!Yb||Ra<=Yb.offset+Yb.length)&&ra.parent){var rc=zb(ra.parent);this.contributions.forEach(function(zc){var _b=zc.collectValueCompletions(ab.uri,rc,Sb,Ya);_b&&jb.push(_b)})}}}else this.contributions.forEach(function(zc){var _b=zc.collectDefaultCompletions(ab.uri,Ya);_b&&jb.push(_b)})},wa.prototype.addSchemaValueCompletions=function(fa,ra,Ra,ab){var Ya=this;"object"==typeof fa&&(this.addEnumValueCompletions(fa,ra,Ra),this.addDefaultValueCompletions(fa,ra,Ra),this.collectTypes(fa,ab),Array.isArray(fa.allOf)&&fa.allOf.forEach(function(jb){return Ya.addSchemaValueCompletions(jb,ra,Ra,ab)}),Array.isArray(fa.anyOf)&&fa.anyOf.forEach(function(jb){return Ya.addSchemaValueCompletions(jb,ra,Ra,ab)}),Array.isArray(fa.oneOf)&&fa.oneOf.forEach(function(jb){return Ya.addSchemaValueCompletions(jb,ra,Ra,ab)}))},wa.prototype.addDefaultValueCompletions=function(fa,ra,Ra,ab){var Ya=this;void 0===ab&&(ab=0);var jb=!1;if(ea(fa.default)){for(var Sb=fa.type,Yb=fa.default,rc=ab;rc>0;rc--)Yb=[Yb],Sb="array";Ra.add({kind:this.getSuggestionKind(Sb),label:this.getLabelForValue(Yb),insertText:this.getInsertTextForValue(Yb,ra),insertTextFormat:Da.Snippet,detail:ud("json.suggest.default","Default value")}),jb=!0}Array.isArray(fa.examples)&&fa.examples.forEach(function(zc){for(var _b=fa.type,qc=zc,nc=ab;nc>0;nc--)qc=[qc],_b="array";Ra.add({kind:Ya.getSuggestionKind(_b),label:Ya.getLabelForValue(qc),insertText:Ya.getInsertTextForValue(qc,ra),insertTextFormat:Da.Snippet}),jb=!0}),Array.isArray(fa.defaultSnippets)&&fa.defaultSnippets.forEach(function(zc){var _b,qc,nc=fa.type,Aa=zc.body,ya=zc.label;if(ea(Aa)){fa.type;for(var pa=ab;pa>0;pa--)Aa=[Aa],"array";_b=Ya.getInsertTextForSnippetValue(Aa,ra),qc=Ya.getFilterTextForSnippetValue(Aa),ya=ya||Ya.getLabelForSnippetValue(Aa)}else{if("string"!=typeof zc.bodyText)return;var Ja="",Na="",Pa="";for(pa=ab;pa>0;pa--)Ja=Ja+Pa+`[ -`,Na=Na+` -`+Pa+"]",Pa+=" ",nc="array";_b=Ja+Pa+zc.bodyText.split(` +* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]},ai=function(){function Te(Ee){this.dataProviders=[],this.setDataProviders(Ee.useDefaultDataProvider!==!1,Ee.customDataProviders||[])}return Te.prototype.setDataProviders=function(Ee,ve){var Re;this.dataProviders=[],Ee&&this.dataProviders.push(new pn("html5",Ei)),(Re=this.dataProviders).push.apply(Re,ve)},Te.prototype.getDataProviders=function(){return this.dataProviders},Te}(),fi={};function ui(Te){Te===void 0&&(Te=fi);var Ee=new ai(Te),ve=new Tt(Te,Ee),Re=new ot(Te,Ee);return{setDataProviders:Ee.setDataProviders.bind(Ee),createScanner:Hi,parseHTMLDocument:function(We){return Si(We.getText())},doComplete:Re.doComplete.bind(Re),doComplete2:Re.doComplete2.bind(Re),setCompletionParticipants:Re.setCompletionParticipants.bind(Re),doHover:ve.doHover.bind(ve),format:wi,findDocumentHighlights:ti,findDocumentLinks:Gt,findDocumentSymbols:qe,getFoldingRanges:zt,getSelectionRanges:Jt,doTagComplete:Re.doTagComplete.bind(Re),doRename:Ze,findMatchingTagPosition:tt,findOnTypeRenameRanges:rt}}},function(Ie,w,o){"use strict";var h,f=function(){return h===void 0&&(h=Boolean(window&&document&&document.all&&!window.atob)),h},D=function(){var l={};return function(T){if(l[T]===void 0){var N=document.querySelector(T);if(window.HTMLIFrameElement&&N instanceof window.HTMLIFrameElement)try{N=N.contentDocument.head}catch(b){N=null}l[T]=N}return l[T]}}(),H=[];function E(l){for(var T=-1,N=0;N<H.length;N++)if(H[N].identifier===l){T=N;break}return T}function ge(l,T){for(var N={},b=[],g=0;g<l.length;g++){var j=l[g],ie=T.base?j[0]+T.base:j[0],U=N[ie]||0,q="".concat(ie," ").concat(U);N[ie]=U+1;var B=E(q),se={css:j[1],media:j[2],sourceMap:j[3]};B!==-1?(H[B].references++,H[B].updater(se)):H.push({identifier:q,updater:k(se,T),references:1}),b.push(q)}return b}function W(l){var T=document.createElement("style"),N=l.attributes||{};if(N.nonce===void 0){var b=o.nc;b&&(N.nonce=b)}if(Object.keys(N).forEach(function(j){T.setAttribute(j,N[j])}),typeof l.insert=="function")l.insert(T);else{var g=D(l.insert||"head");if(!g)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");g.appendChild(T)}return T}var Q,y=(Q=[],function(l,T){return Q[l]=T,Q.filter(Boolean).join(` +`)});function C(l,T,N,b){var g=N?"":b.media?"@media ".concat(b.media," {").concat(b.css,"}"):b.css;if(l.styleSheet)l.styleSheet.cssText=y(T,g);else{var j=document.createTextNode(g),ie=l.childNodes;ie[T]&&l.removeChild(ie[T]),ie.length?l.insertBefore(j,ie[T]):l.appendChild(j)}}function S(l,T,N){var b=N.css,g=N.media,j=N.sourceMap;if(g?l.setAttribute("media",g):l.removeAttribute("media"),j&&btoa&&(b+=` +/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(j))))," */")),l.styleSheet)l.styleSheet.cssText=b;else{for(;l.firstChild;)l.removeChild(l.firstChild);l.appendChild(document.createTextNode(b))}}var P=null,V=0;function k(l,T){var N,b,g;if(T.singleton){var j=V++;N=P||(P=W(T)),b=C.bind(null,N,j,!1),g=C.bind(null,N,j,!0)}else N=W(T),b=S.bind(null,N,T),g=function(){(function(ie){if(ie.parentNode===null)return!1;ie.parentNode.removeChild(ie)})(N)};return b(l),function(ie){if(ie){if(ie.css===l.css&&ie.media===l.media&&ie.sourceMap===l.sourceMap)return;b(l=ie)}else g()}}Ie.exports=function(l,T){(T=T||{}).singleton||typeof T.singleton=="boolean"||(T.singleton=f());var N=ge(l=l||[],T);return function(b){if(b=b||[],Object.prototype.toString.call(b)==="[object Array]"){for(var g=0;g<N.length;g++){var j=E(N[g]);H[j].references--}for(var ie=ge(b,T),U=0;U<N.length;U++){var q=E(N[U]);H[q].references===0&&(H[q].updater(),H.splice(q,1))}N=ie}}}},function(Ie,w,o){"use strict";Ie.exports=function(h){var f=[];return f.toString=function(){return this.map(function(D){var H=function(E,ge){var W=E[1]||"",Q=E[3];if(!Q)return W;if(ge&&typeof btoa=="function"){var y=(S=Q,P=btoa(unescape(encodeURIComponent(JSON.stringify(S)))),V="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(P),"/*# ".concat(V," */")),C=Q.sources.map(function(k){return"/*# sourceURL=".concat(Q.sourceRoot||"").concat(k," */")});return[W].concat(C).concat([y]).join(` +`)}var S,P,V;return[W].join(` +`)}(D,h);return D[2]?"@media ".concat(D[2]," {").concat(H,"}"):H}).join("")},f.i=function(D,H,E){typeof D=="string"&&(D=[[null,D,""]]);var ge={};if(E)for(var W=0;W<this.length;W++){var Q=this[W][0];Q!=null&&(ge[Q]=!0)}for(var y=0;y<D.length;y++){var C=[].concat(D[y]);E&&ge[C[0]]||(H&&(C[2]?C[2]="".concat(H," and ").concat(C[2]):C[2]=H),f.push(C))}},f}},function(Ie,w,o){"use strict";o.d(w,"d",function(){return D}),o.d(w,"b",function(){return H}),o.d(w,"n",function(){return E}),o.d(w,"c",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"f",function(){return y}),o.d(w,"h",function(){return C}),o.d(w,"l",function(){return S}),o.d(w,"e",function(){return P}),o.d(w,"j",function(){return V}),o.d(w,"m",function(){return k}),o.d(w,"i",function(){return l}),o.d(w,"g",function(){return T}),o.d(w,"k",function(){return N});var h=o(6);class f{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new h.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let g=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(g.webkitBackingStorePixelRatio||g.mozBackingStorePixelRatio||g.msBackingStorePixelRatio||g.oBackingStorePixelRatio||g.backingStorePixelRatio||1)}}function D(){return f.INSTANCE.getZoomLevel()}function H(){return f.INSTANCE.getTimeSinceLastZoomLevelChanged()}function E(b){return f.INSTANCE.onDidChangeZoomLevel(b)}function ge(){return f.INSTANCE.getZoomFactor()}function W(){return f.INSTANCE.getPixelRatio()}f.INSTANCE=new f;let Q=navigator.userAgent,y=Q.indexOf("Edge/")>=0,C=Q.indexOf("Firefox")>=0,S=Q.indexOf("AppleWebKit")>=0,P=Q.indexOf("Chrome")>=0,V=!P&&Q.indexOf("Safari")>=0,k=!P&&!V&&S,l=Q.indexOf("iPad")>=0||V&&navigator.maxTouchPoints>0,T=y&&Q.indexOf("WebView/")>=0,N=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});var h=o(1);class f{constructor(E){this.domNode=E,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(E){this._maxWidth!==E&&(this._maxWidth=E,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(E){this._width!==E&&(this._width=E,this.domNode.style.width=this._width+"px")}setHeight(E){this._height!==E&&(this._height=E,this.domNode.style.height=this._height+"px")}setTop(E){this._top!==E&&(this._top=E,this.domNode.style.top=this._top+"px")}unsetTop(){this._top!==-1&&(this._top=-1,this.domNode.style.top="")}setLeft(E){this._left!==E&&(this._left=E,this.domNode.style.left=this._left+"px")}setBottom(E){this._bottom!==E&&(this._bottom=E,this.domNode.style.bottom=this._bottom+"px")}setRight(E){this._right!==E&&(this._right=E,this.domNode.style.right=this._right+"px")}setFontFamily(E){this._fontFamily!==E&&(this._fontFamily=E,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(E){this._fontWeight!==E&&(this._fontWeight=E,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(E){this._fontSize!==E&&(this._fontSize=E,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(E){this._fontFeatureSettings!==E&&(this._fontFeatureSettings=E,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(E){this._lineHeight!==E&&(this._lineHeight=E,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(E){this._letterSpacing!==E&&(this._letterSpacing=E,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(E){this._className!==E&&(this._className=E,this.domNode.className=this._className)}toggleClassName(E,ge){h.ab(this.domNode,E,ge),this._className=this.domNode.className}setDisplay(E){this._display!==E&&(this._display=E,this.domNode.style.display=this._display)}setPosition(E){this._position!==E&&(this._position=E,this.domNode.style.position=this._position)}setVisibility(E){this._visibility!==E&&(this._visibility=E,this.domNode.style.visibility=this._visibility)}setBackgroundColor(E){this._backgroundColor!==E&&(this._backgroundColor=E,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(E){this._layerHint!==E&&(this._layerHint=E,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(E){this._boxShadow!==E&&(this._boxShadow=E,this.domNode.style.boxShadow=E)}setContain(E){this._contain!==E&&(this._contain=E,this.domNode.style.contain=this._contain)}setAttribute(E,ge){this.domNode.setAttribute(E,ge)}removeAttribute(E){this.domNode.removeAttribute(E)}appendChild(E){this.domNode.appendChild(E.domNode)}removeChild(E){this.domNode.removeChild(E.domNode)}}function D(H){return new f(H)}},function(Ie,w,o){"use strict";function h(D){return D<0?0:D>255?255:0|D}function f(D){return D<0?0:D>4294967295?4294967295:0|D}o.d(w,"b",function(){return h}),o.d(w,"a",function(){return f})},function(Ie,w,o){"use strict";var h;o.d(w,"a",function(){return h}),function(f){f.is=function(H){return H&&typeof H=="object"&&typeof H[Symbol.iterator]=="function"};let D=Object.freeze([]);f.empty=function(){return D},f.single=function*(H){yield H},f.from=function(H){return H||D},f.first=function(H){return H[Symbol.iterator]().next().value},f.some=function(H,E){for(let ge of H)if(E(ge))return!0;return!1},f.filter=function*(H,E){for(let ge of H)E(ge)&&(yield ge)},f.map=function*(H,E){for(let ge of H)yield E(ge)},f.concat=function*(...H){for(let E of H)for(let ge of E)yield ge},f.consume=function(H,E=Number.POSITIVE_INFINITY){let ge=[];if(E===0)return[ge,H];let W=H[Symbol.iterator]();for(let Q=0;Q<E;Q++){let y=W.next();if(y.done)return[ge,f.empty()];ge.push(y.value)}return[ge,{[Symbol.iterator]:()=>W}]}}(h||(h={}))},function(Ie,w,o){"use strict";o.d(w,"f",function(){return pi}),o.d(w,"c",function(){return Q}),o.d(w,"b",function(){return S}),o.d(w,"a",function(){return he}),o.d(w,"d",function(){return Ce}),o.d(w,"e",function(){return z}),o.d(w,"g",function(){return ti});var h,f,D,H,E,ge,W,Q,y,C,S,P,V,k,l,T,N,b,g,j,ie=o(65);function U(ye,le){if(ye===le)return!0;if(ye==null||le==null||typeof ye!=typeof le||typeof ye!="object"||Array.isArray(ye)!==Array.isArray(le))return!1;var ue,qe;if(Array.isArray(ye)){if(ye.length!==le.length)return!1;for(ue=0;ue<ye.length;ue++)if(!U(ye[ue],le[ue]))return!1}else{var Ze=[];for(qe in ye)Ze.push(qe);Ze.sort();var tt=[];for(qe in le)tt.push(qe);if(tt.sort(),!U(Ze,tt))return!1;for(ue=0;ue<Ze.length;ue++)if(!U(ye[Ze[ue]],le[Ze[ue]]))return!1}return!0}function q(ye){return typeof ye=="number"}function B(ye){return ye!==void 0}function se(ye){return typeof ye=="boolean"}(function(ye){ye.create=function(le,ue){return{line:le,character:ue}},ye.is=function(le){var ue=le;return wt.objectLiteral(ue)&&wt.number(ue.line)&&wt.number(ue.character)}})(h||(h={})),function(ye){ye.create=function(le,ue,qe,Ze){if(wt.number(le)&&wt.number(ue)&&wt.number(qe)&&wt.number(Ze))return{start:h.create(le,ue),end:h.create(qe,Ze)};if(h.is(le)&&h.is(ue))return{start:le,end:ue};throw new Error("Range#create called with invalid arguments["+le+", "+ue+", "+qe+", "+Ze+"]")},ye.is=function(le){var ue=le;return wt.objectLiteral(ue)&&h.is(ue.start)&&h.is(ue.end)}}(f||(f={})),function(ye){ye.create=function(le,ue){return{uri:le,range:ue}},ye.is=function(le){var ue=le;return wt.defined(ue)&&f.is(ue.range)&&(wt.string(ue.uri)||wt.undefined(ue.uri))}}(D||(D={})),function(ye){ye.create=function(le,ue,qe,Ze){return{targetUri:le,targetRange:ue,targetSelectionRange:qe,originSelectionRange:Ze}},ye.is=function(le){var ue=le;return wt.defined(ue)&&f.is(ue.targetRange)&&wt.string(ue.targetUri)&&(f.is(ue.targetSelectionRange)||wt.undefined(ue.targetSelectionRange))&&(f.is(ue.originSelectionRange)||wt.undefined(ue.originSelectionRange))}}(H||(H={})),function(ye){ye.create=function(le,ue,qe,Ze){return{red:le,green:ue,blue:qe,alpha:Ze}},ye.is=function(le){var ue=le;return wt.number(ue.red)&&wt.number(ue.green)&&wt.number(ue.blue)&&wt.number(ue.alpha)}}(E||(E={})),function(ye){ye.create=function(le,ue){return{range:le,color:ue}},ye.is=function(le){var ue=le;return f.is(ue.range)&&E.is(ue.color)}}(ge||(ge={})),function(ye){ye.create=function(le,ue,qe){return{label:le,textEdit:ue,additionalTextEdits:qe}},ye.is=function(le){var ue=le;return wt.string(ue.label)&&(wt.undefined(ue.textEdit)||l.is(ue))&&(wt.undefined(ue.additionalTextEdits)||wt.typedArray(ue.additionalTextEdits,l.is))}}(W||(W={})),function(ye){ye.Comment="comment",ye.Imports="imports",ye.Region="region"}(Q||(Q={})),function(ye){ye.create=function(le,ue,qe,Ze,tt){var rt={startLine:le,endLine:ue};return wt.defined(qe)&&(rt.startCharacter=qe),wt.defined(Ze)&&(rt.endCharacter=Ze),wt.defined(tt)&&(rt.kind=tt),rt},ye.is=function(le){var ue=le;return wt.number(ue.startLine)&&wt.number(ue.startLine)&&(wt.undefined(ue.startCharacter)||wt.number(ue.startCharacter))&&(wt.undefined(ue.endCharacter)||wt.number(ue.endCharacter))&&(wt.undefined(ue.kind)||wt.string(ue.kind))}}(y||(y={})),function(ye){ye.create=function(le,ue){return{location:le,message:ue}},ye.is=function(le){var ue=le;return wt.defined(ue)&&D.is(ue.location)&&wt.string(ue.message)}}(C||(C={})),function(ye){ye.Error=1,ye.Warning=2,ye.Information=3,ye.Hint=4}(S||(S={})),function(ye){ye.Unnecessary=1,ye.Deprecated=2}(P||(P={})),function(ye){ye.create=function(le,ue,qe,Ze,tt,rt){var zt={range:le,message:ue};return wt.defined(qe)&&(zt.severity=qe),wt.defined(Ze)&&(zt.code=Ze),wt.defined(tt)&&(zt.source=tt),wt.defined(rt)&&(zt.relatedInformation=rt),zt},ye.is=function(le){var ue=le;return wt.defined(ue)&&f.is(ue.range)&&wt.string(ue.message)&&(wt.number(ue.severity)||wt.undefined(ue.severity))&&(wt.number(ue.code)||wt.string(ue.code)||wt.undefined(ue.code))&&(wt.string(ue.source)||wt.undefined(ue.source))&&(wt.undefined(ue.relatedInformation)||wt.typedArray(ue.relatedInformation,C.is))}}(V||(V={})),function(ye){ye.create=function(le,ue){for(var qe=[],Ze=2;Ze<arguments.length;Ze++)qe[Ze-2]=arguments[Ze];var tt={title:le,command:ue};return wt.defined(qe)&&qe.length>0&&(tt.arguments=qe),tt},ye.is=function(le){var ue=le;return wt.defined(ue)&&wt.string(ue.title)&&wt.string(ue.command)}}(k||(k={})),function(ye){ye.replace=function(le,ue){return{range:le,newText:ue}},ye.insert=function(le,ue){return{range:{start:le,end:le},newText:ue}},ye.del=function(le){return{range:le,newText:""}},ye.is=function(le){var ue=le;return wt.objectLiteral(ue)&&wt.string(ue.newText)&&f.is(ue.range)}}(l||(l={})),function(ye){ye.create=function(le,ue){return{textDocument:le,edits:ue}},ye.is=function(le){var ue=le;return wt.defined(ue)&&xe.is(ue.textDocument)&&Array.isArray(ue.edits)}}(T||(T={})),function(ye){ye.create=function(le,ue){var qe={kind:"create",uri:le};return ue===void 0||ue.overwrite===void 0&&ue.ignoreIfExists===void 0||(qe.options=ue),qe},ye.is=function(le){var ue=le;return ue&&ue.kind==="create"&&wt.string(ue.uri)&&(ue.options===void 0||(ue.options.overwrite===void 0||wt.boolean(ue.options.overwrite))&&(ue.options.ignoreIfExists===void 0||wt.boolean(ue.options.ignoreIfExists)))}}(N||(N={})),function(ye){ye.create=function(le,ue,qe){var Ze={kind:"rename",oldUri:le,newUri:ue};return qe===void 0||qe.overwrite===void 0&&qe.ignoreIfExists===void 0||(Ze.options=qe),Ze},ye.is=function(le){var ue=le;return ue&&ue.kind==="rename"&&wt.string(ue.oldUri)&&wt.string(ue.newUri)&&(ue.options===void 0||(ue.options.overwrite===void 0||wt.boolean(ue.options.overwrite))&&(ue.options.ignoreIfExists===void 0||wt.boolean(ue.options.ignoreIfExists)))}}(b||(b={})),function(ye){ye.create=function(le,ue){var qe={kind:"delete",uri:le};return ue===void 0||ue.recursive===void 0&&ue.ignoreIfNotExists===void 0||(qe.options=ue),qe},ye.is=function(le){var ue=le;return ue&&ue.kind==="delete"&&wt.string(ue.uri)&&(ue.options===void 0||(ue.options.recursive===void 0||wt.boolean(ue.options.recursive))&&(ue.options.ignoreIfNotExists===void 0||wt.boolean(ue.options.ignoreIfNotExists)))}}(g||(g={})),function(ye){ye.is=function(le){var ue=le;return ue&&(ue.changes!==void 0||ue.documentChanges!==void 0)&&(ue.documentChanges===void 0||ue.documentChanges.every(function(qe){return wt.string(qe.kind)?N.is(qe)||b.is(qe)||g.is(qe):T.is(qe)}))}}(j||(j={}));var ke,xe,Y,Z,te,he,Ce,Ae,L,nt,ct,Ye,ht,fe,$,G,z,J,Se,A,ee,de,Oe,$e,pt,it,At,Nt=function(){function ye(le){this.edits=le}return ye.prototype.insert=function(le,ue){this.edits.push(l.insert(le,ue))},ye.prototype.replace=function(le,ue){this.edits.push(l.replace(le,ue))},ye.prototype.delete=function(le){this.edits.push(l.del(le))},ye.prototype.add=function(le){this.edits.push(le)},ye.prototype.all=function(){return this.edits},ye.prototype.clear=function(){this.edits.splice(0,this.edits.length)},ye}();(function(){function ye(le){var ue=this;this._textEditChanges=Object.create(null),le&&(this._workspaceEdit=le,le.documentChanges?le.documentChanges.forEach(function(qe){if(T.is(qe)){var Ze=new Nt(qe.edits);ue._textEditChanges[qe.textDocument.uri]=Ze}}):le.changes&&Object.keys(le.changes).forEach(function(qe){var Ze=new Nt(le.changes[qe]);ue._textEditChanges[qe]=Ze}))}Object.defineProperty(ye.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),ye.prototype.getTextEditChange=function(le){if(xe.is(le)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var ue=le;if(!(Ze=this._textEditChanges[ue.uri])){var qe={textDocument:ue,edits:tt=[]};this._workspaceEdit.documentChanges.push(qe),Ze=new Nt(tt),this._textEditChanges[ue.uri]=Ze}return Ze}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var Ze;if(!(Ze=this._textEditChanges[le])){var tt=[];this._workspaceEdit.changes[le]=tt,Ze=new Nt(tt),this._textEditChanges[le]=Ze}return Ze},ye.prototype.createFile=function(le,ue){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(N.create(le,ue))},ye.prototype.renameFile=function(le,ue,qe){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(le,ue,qe))},ye.prototype.deleteFile=function(le,ue){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(g.create(le,ue))},ye.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}})(),function(ye){ye.create=function(le){return{uri:le}},ye.is=function(le){var ue=le;return wt.defined(ue)&&wt.string(ue.uri)}}(ke||(ke={})),function(ye){ye.create=function(le,ue){return{uri:le,version:ue}},ye.is=function(le){var ue=le;return wt.defined(ue)&&wt.string(ue.uri)&&(ue.version===null||wt.number(ue.version))}}(xe||(xe={})),function(ye){ye.create=function(le,ue,qe,Ze){return{uri:le,languageId:ue,version:qe,text:Ze}},ye.is=function(le){var ue=le;return wt.defined(ue)&&wt.string(ue.uri)&&wt.string(ue.languageId)&&wt.number(ue.version)&&wt.string(ue.text)}}(Y||(Y={})),function(ye){ye.PlainText="plaintext",ye.Markdown="markdown"}(Z||(Z={})),function(ye){ye.is=function(le){var ue=le;return ue===ye.PlainText||ue===ye.Markdown}}(Z||(Z={})),function(ye){ye.is=function(le){var ue=le;return wt.objectLiteral(le)&&Z.is(ue.kind)&&wt.string(ue.value)}}(te||(te={})),function(ye){ye.Text=1,ye.Method=2,ye.Function=3,ye.Constructor=4,ye.Field=5,ye.Variable=6,ye.Class=7,ye.Interface=8,ye.Module=9,ye.Property=10,ye.Unit=11,ye.Value=12,ye.Enum=13,ye.Keyword=14,ye.Snippet=15,ye.Color=16,ye.File=17,ye.Reference=18,ye.Folder=19,ye.EnumMember=20,ye.Constant=21,ye.Struct=22,ye.Event=23,ye.Operator=24,ye.TypeParameter=25}(he||(he={})),function(ye){ye.PlainText=1,ye.Snippet=2}(Ce||(Ce={})),function(ye){ye.Deprecated=1}(Ae||(Ae={})),function(ye){ye.create=function(le){return{label:le}}}(L||(L={})),function(ye){ye.create=function(le,ue){return{items:le||[],isIncomplete:!!ue}}}(nt||(nt={})),function(ye){ye.fromPlainText=function(le){return le.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},ye.is=function(le){var ue=le;return wt.string(ue)||wt.objectLiteral(ue)&&wt.string(ue.language)&&wt.string(ue.value)}}(ct||(ct={})),function(ye){ye.is=function(le){var ue=le;return!!ue&&wt.objectLiteral(ue)&&(te.is(ue.contents)||ct.is(ue.contents)||wt.typedArray(ue.contents,ct.is))&&(le.range===void 0||f.is(le.range))}}(Ye||(Ye={})),function(ye){ye.create=function(le,ue){return ue?{label:le,documentation:ue}:{label:le}}}(ht||(ht={})),function(ye){ye.create=function(le,ue){for(var qe=[],Ze=2;Ze<arguments.length;Ze++)qe[Ze-2]=arguments[Ze];var tt={label:le};return wt.defined(ue)&&(tt.documentation=ue),wt.defined(qe)?tt.parameters=qe:tt.parameters=[],tt}}(fe||(fe={})),function(ye){ye.Text=1,ye.Read=2,ye.Write=3}($||($={})),function(ye){ye.create=function(le,ue){var qe={range:le};return wt.number(ue)&&(qe.kind=ue),qe}}(G||(G={})),function(ye){ye.File=1,ye.Module=2,ye.Namespace=3,ye.Package=4,ye.Class=5,ye.Method=6,ye.Property=7,ye.Field=8,ye.Constructor=9,ye.Enum=10,ye.Interface=11,ye.Function=12,ye.Variable=13,ye.Constant=14,ye.String=15,ye.Number=16,ye.Boolean=17,ye.Array=18,ye.Object=19,ye.Key=20,ye.Null=21,ye.EnumMember=22,ye.Struct=23,ye.Event=24,ye.Operator=25,ye.TypeParameter=26}(z||(z={})),function(ye){ye.Deprecated=1}(J||(J={})),function(ye){ye.create=function(le,ue,qe,Ze,tt){var rt={name:le,kind:ue,location:{uri:Ze,range:qe}};return tt&&(rt.containerName=tt),rt}}(Se||(Se={})),function(ye){ye.create=function(le,ue,qe,Ze,tt,rt){var zt={name:le,detail:ue,kind:qe,range:Ze,selectionRange:tt};return rt!==void 0&&(zt.children=rt),zt},ye.is=function(le){var ue=le;return ue&&wt.string(ue.name)&&wt.number(ue.kind)&&f.is(ue.range)&&f.is(ue.selectionRange)&&(ue.detail===void 0||wt.string(ue.detail))&&(ue.deprecated===void 0||wt.boolean(ue.deprecated))&&(ue.children===void 0||Array.isArray(ue.children))}}(A||(A={})),function(ye){ye.Empty="",ye.QuickFix="quickfix",ye.Refactor="refactor",ye.RefactorExtract="refactor.extract",ye.RefactorInline="refactor.inline",ye.RefactorRewrite="refactor.rewrite",ye.Source="source",ye.SourceOrganizeImports="source.organizeImports",ye.SourceFixAll="source.fixAll"}(ee||(ee={})),function(ye){ye.create=function(le,ue){var qe={diagnostics:le};return ue!=null&&(qe.only=ue),qe},ye.is=function(le){var ue=le;return wt.defined(ue)&&wt.typedArray(ue.diagnostics,V.is)&&(ue.only===void 0||wt.typedArray(ue.only,wt.string))}}(de||(de={})),function(ye){ye.create=function(le,ue,qe){var Ze={title:le};return k.is(ue)?Ze.command=ue:Ze.edit=ue,qe!==void 0&&(Ze.kind=qe),Ze},ye.is=function(le){var ue=le;return ue&&wt.string(ue.title)&&(ue.diagnostics===void 0||wt.typedArray(ue.diagnostics,V.is))&&(ue.kind===void 0||wt.string(ue.kind))&&(ue.edit!==void 0||ue.command!==void 0)&&(ue.command===void 0||k.is(ue.command))&&(ue.isPreferred===void 0||wt.boolean(ue.isPreferred))&&(ue.edit===void 0||j.is(ue.edit))}}(Oe||(Oe={})),function(ye){ye.create=function(le,ue){var qe={range:le};return wt.defined(ue)&&(qe.data=ue),qe},ye.is=function(le){var ue=le;return wt.defined(ue)&&f.is(ue.range)&&(wt.undefined(ue.command)||k.is(ue.command))}}($e||($e={})),function(ye){ye.create=function(le,ue){return{tabSize:le,insertSpaces:ue}},ye.is=function(le){var ue=le;return wt.defined(ue)&&wt.number(ue.tabSize)&&wt.boolean(ue.insertSpaces)}}(pt||(pt={})),function(ye){ye.create=function(le,ue,qe){return{range:le,target:ue,data:qe}},ye.is=function(le){var ue=le;return wt.defined(ue)&&f.is(ue.range)&&(wt.undefined(ue.target)||wt.string(ue.target))}}(it||(it={})),function(ye){ye.create=function(le,ue){return{range:le,parent:ue}},ye.is=function(le){var ue=le;return ue!==void 0&&f.is(ue.range)&&(ue.parent===void 0||ye.is(ue.parent))}}(At||(At={}));var _i;(function(ye){ye.create=function(le,ue,qe,Ze){return new Ni(le,ue,qe,Ze)},ye.is=function(le){var ue=le;return!!(wt.defined(ue)&&wt.string(ue.uri)&&(wt.undefined(ue.languageId)||wt.string(ue.languageId))&&wt.number(ue.lineCount)&&wt.func(ue.getText)&&wt.func(ue.positionAt)&&wt.func(ue.offsetAt))},ye.applyEdits=function(le,ue){for(var qe=le.getText(),Ze=function Ei(ai,fi){if(ai.length<=1)return ai;var ui=ai.length/2|0,Te=ai.slice(0,ui),Ee=ai.slice(ui);Ei(Te,fi),Ei(Ee,fi);for(var ve=0,Re=0,We=0;ve<Te.length&&Re<Ee.length;){var Be=fi(Te[ve],Ee[Re]);ai[We++]=Be<=0?Te[ve++]:Ee[Re++]}for(;ve<Te.length;)ai[We++]=Te[ve++];for(;Re<Ee.length;)ai[We++]=Ee[Re++];return ai}(ue,function(Ei,ai){var fi=Ei.range.start.line-ai.range.start.line;return fi===0?Ei.range.start.character-ai.range.start.character:fi}),tt=qe.length,rt=Ze.length-1;rt>=0;rt--){var zt=Ze[rt],Jt=le.offsetAt(zt.range.start),xi=le.offsetAt(zt.range.end);if(!(xi<=tt))throw new Error("Overlapping edit");qe=qe.substring(0,Jt)+zt.newText+qe.substring(xi,qe.length),tt=Jt}return qe}})(_i||(_i={}));var wt,Ni=function(){function ye(le,ue,qe,Ze){this._uri=le,this._languageId=ue,this._version=qe,this._content=Ze,this._lineOffsets=void 0}return Object.defineProperty(ye.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(ye.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(ye.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),ye.prototype.getText=function(le){if(le){var ue=this.offsetAt(le.start),qe=this.offsetAt(le.end);return this._content.substring(ue,qe)}return this._content},ye.prototype.update=function(le,ue){this._content=le.text,this._version=ue,this._lineOffsets=void 0},ye.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var le=[],ue=this._content,qe=!0,Ze=0;Ze<ue.length;Ze++){qe&&(le.push(Ze),qe=!1);var tt=ue.charAt(Ze);qe=tt==="\r"||tt===` +`,tt==="\r"&&Ze+1<ue.length&&ue.charAt(Ze+1)===` +`&&Ze++}qe&&ue.length>0&&le.push(ue.length),this._lineOffsets=le}return this._lineOffsets},ye.prototype.positionAt=function(le){le=Math.max(Math.min(le,this._content.length),0);var ue=this.getLineOffsets(),qe=0,Ze=ue.length;if(Ze===0)return h.create(0,le);for(;qe<Ze;){var tt=Math.floor((qe+Ze)/2);ue[tt]>le?Ze=tt:qe=tt+1}var rt=qe-1;return h.create(rt,le-ue[rt])},ye.prototype.offsetAt=function(le){var ue=this.getLineOffsets();if(le.line>=ue.length)return this._content.length;if(le.line<0)return 0;var qe=ue[le.line],Ze=le.line+1<ue.length?ue[le.line+1]:this._content.length;return Math.max(Math.min(qe+le.character,Ze),qe)},Object.defineProperty(ye.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),ye}();(function(ye){var le=Object.prototype.toString;ye.defined=function(ue){return ue!==void 0},ye.undefined=function(ue){return ue===void 0},ye.boolean=function(ue){return ue===!0||ue===!1},ye.string=function(ue){return le.call(ue)==="[object String]"},ye.number=function(ue){return le.call(ue)==="[object Number]"},ye.func=function(ue){return le.call(ue)==="[object Function]"},ye.objectLiteral=function(ue){return ue!==null&&typeof ue=="object"},ye.typedArray=function(ue,qe){return Array.isArray(ue)&&ue.every(qe)}})(wt||(wt={}));var pi,et,Wt,Li=function(){function ye(le,ue,qe,Ze){this._uri=le,this._languageId=ue,this._version=qe,this._content=Ze,this._lineOffsets=void 0}return Object.defineProperty(ye.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(ye.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(ye.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),ye.prototype.getText=function(le){if(le){var ue=this.offsetAt(le.start),qe=this.offsetAt(le.end);return this._content.substring(ue,qe)}return this._content},ye.prototype.update=function(le,ue){for(var qe=0,Ze=le;qe<Ze.length;qe++){var tt=Ze[qe];if(ye.isIncremental(tt)){var rt=Ai(tt.range),zt=this.offsetAt(rt.start),Jt=this.offsetAt(rt.end);this._content=this._content.substring(0,zt)+tt.text+this._content.substring(Jt,this._content.length);var xi=Math.max(rt.start.line,0),Ei=Math.max(rt.end.line,0),ai=this._lineOffsets,fi=Ii(tt.text,!1,zt);if(Ei-xi===fi.length)for(var ui=0,Te=fi.length;ui<Te;ui++)ai[ui+xi+1]=fi[ui];else fi.length<1e4?ai.splice.apply(ai,[xi+1,Ei-xi].concat(fi)):this._lineOffsets=ai=ai.slice(0,xi+1).concat(fi,ai.slice(Ei+1));var Ee=tt.text.length-(Jt-zt);if(Ee!==0)for(ui=xi+1+fi.length,Te=ai.length;ui<Te;ui++)ai[ui]=ai[ui]+Ee}else{if(!ye.isFull(tt))throw new Error("Unknown change event received");this._content=tt.text,this._lineOffsets=void 0}}this._version=ue},ye.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=Ii(this._content,!0)),this._lineOffsets},ye.prototype.positionAt=function(le){le=Math.max(Math.min(le,this._content.length),0);var ue=this.getLineOffsets(),qe=0,Ze=ue.length;if(Ze===0)return{line:0,character:le};for(;qe<Ze;){var tt=Math.floor((qe+Ze)/2);ue[tt]>le?Ze=tt:qe=tt+1}var rt=qe-1;return{line:rt,character:le-ue[rt]}},ye.prototype.offsetAt=function(le){var ue=this.getLineOffsets();if(le.line>=ue.length)return this._content.length;if(le.line<0)return 0;var qe=ue[le.line],Ze=le.line+1<ue.length?ue[le.line+1]:this._content.length;return Math.max(Math.min(qe+le.character,Ze),qe)},Object.defineProperty(ye.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),ye.isIncremental=function(le){var ue=le;return ue!=null&&typeof ue.text=="string"&&ue.range!==void 0&&(ue.rangeLength===void 0||typeof ue.rangeLength=="number")},ye.isFull=function(le){var ue=le;return ue!=null&&typeof ue.text=="string"&&ue.range===void 0&&ue.rangeLength===void 0},ye}();function Ii(ye,le,ue){ue===void 0&&(ue=0);for(var qe=le?[ue]:[],Ze=0;Ze<ye.length;Ze++){var tt=ye.charCodeAt(Ze);tt!==13&&tt!==10||(tt===13&&Ze+1<ye.length&&ye.charCodeAt(Ze+1)===10&&Ze++,qe.push(ue+Ze+1))}return qe}function Ai(ye){var le=ye.start,ue=ye.end;return le.line>ue.line||le.line===ue.line&&le.character>ue.character?{start:ue,end:le}:ye}function Zi(ye){var le=Ai(ye.range);return le!==ye.range?{newText:ye.newText,range:le}:ye}function Bi(ye,le){return le.length===0?ye:ye.replace(/\{(\d+)\}/g,function(ue,qe){var Ze=qe[0];return le[Ze]!==void 0?le[Ze]:ue})}function Lt(ye,le){for(var ue=[],qe=2;qe<arguments.length;qe++)ue[qe-2]=arguments[qe];return Bi(le,ue)}function Di(ye){return Lt}(function(ye){ye.create=function(le,ue,qe,Ze){return new Li(le,ue,qe,Ze)},ye.update=function(le,ue,qe){if(le instanceof Li)return le.update(ue,qe),le;throw new Error("TextDocument.update: document must be created by TextDocument.create")},ye.applyEdits=function(le,ue){for(var qe=le.getText(),Ze=0,tt=[],rt=0,zt=function Ei(ai,fi){if(ai.length<=1)return ai;var ui=ai.length/2|0,Te=ai.slice(0,ui),Ee=ai.slice(ui);Ei(Te,fi),Ei(Ee,fi);for(var ve=0,Re=0,We=0;ve<Te.length&&Re<Ee.length;){var Be=fi(Te[ve],Ee[Re]);ai[We++]=Be<=0?Te[ve++]:Ee[Re++]}for(;ve<Te.length;)ai[We++]=Te[ve++];for(;Re<Ee.length;)ai[We++]=Ee[Re++];return ai}(ue.map(Zi),function(Ei,ai){var fi=Ei.range.start.line-ai.range.start.line;return fi===0?Ei.range.start.character-ai.range.start.character:fi});rt<zt.length;rt++){var Jt=zt[rt],xi=le.offsetAt(Jt.range.start);if(xi<Ze)throw new Error("Overlapping edit");xi>Ze&&tt.push(qe.substring(Ze,xi)),Jt.newText.length&&tt.push(Jt.newText),Ze=le.offsetAt(Jt.range.end)}return tt.push(qe.substr(Ze)),tt.join("")}})(pi||(pi={})),function(ye){ye[ye.Undefined=0]="Undefined",ye[ye.EnumValueMismatch=1]="EnumValueMismatch",ye[ye.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",ye[ye.UnexpectedEndOfString=258]="UnexpectedEndOfString",ye[ye.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",ye[ye.InvalidUnicode=260]="InvalidUnicode",ye[ye.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",ye[ye.InvalidCharacter=262]="InvalidCharacter",ye[ye.PropertyExpected=513]="PropertyExpected",ye[ye.CommaExpected=514]="CommaExpected",ye[ye.ColonExpected=515]="ColonExpected",ye[ye.ValueExpected=516]="ValueExpected",ye[ye.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",ye[ye.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",ye[ye.TrailingComma=519]="TrailingComma",ye[ye.DuplicateKey=520]="DuplicateKey",ye[ye.CommentNotPermitted=521]="CommentNotPermitted",ye[ye.SchemaResolveError=768]="SchemaResolveError"}(et||(et={})),(Wt||(Wt={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Z.Markdown,Z.PlainText],commitCharactersSupport:!0}}}};var gt,vi,Rt=(gt=function(ye,le){return(gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,qe){ue.__proto__=qe}||function(ue,qe){for(var Ze in qe)qe.hasOwnProperty(Ze)&&(ue[Ze]=qe[Ze])})(ye,le)},function(ye,le){function ue(){this.constructor=ye}gt(ye,le),ye.prototype=le===null?Object.create(le):(ue.prototype=le.prototype,new ue)}),vt=Di(),Ue={"color-hex":{errorMessage:vt("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:vt("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:vt("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:vt("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:vt("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},ut=function(){function ye(le,ue,qe){qe===void 0&&(qe=0),this.offset=ue,this.length=qe,this.parent=le}return Object.defineProperty(ye.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),ye.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},ye}(),ze=function(ye){function le(ue,qe){var Ze=ye.call(this,ue,qe)||this;return Ze.type="null",Ze.value=null,Ze}return Rt(le,ye),le}(ut),st=function(ye){function le(ue,qe,Ze){var tt=ye.call(this,ue,Ze)||this;return tt.type="boolean",tt.value=qe,tt}return Rt(le,ye),le}(ut),_t=function(ye){function le(ue,qe){var Ze=ye.call(this,ue,qe)||this;return Ze.type="array",Ze.items=[],Ze}return Rt(le,ye),Object.defineProperty(le.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),le}(ut),oi=function(ye){function le(ue,qe){var Ze=ye.call(this,ue,qe)||this;return Ze.type="number",Ze.isInteger=!0,Ze.value=Number.NaN,Ze}return Rt(le,ye),le}(ut),li=function(ye){function le(ue,qe,Ze){var tt=ye.call(this,ue,qe,Ze)||this;return tt.type="string",tt.value="",tt}return Rt(le,ye),le}(ut),gi=function(ye){function le(ue,qe,Ze){var tt=ye.call(this,ue,qe)||this;return tt.type="property",tt.colonOffset=-1,tt.keyNode=Ze,tt}return Rt(le,ye),Object.defineProperty(le.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),le}(ut),ki=function(ye){function le(ue,qe){var Ze=ye.call(this,ue,qe)||this;return Ze.type="object",Ze.properties=[],Ze}return Rt(le,ye),Object.defineProperty(le.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),le}(ut);function Ri(ye){return se(ye)?ye?{}:{not:{}}:ye}(function(ye){ye[ye.Key=0]="Key",ye[ye.Enum=1]="Enum"})(vi||(vi={}));var $i=function(){function ye(le,ue){le===void 0&&(le=-1),this.focusOffset=le,this.exclude=ue,this.schemas=[]}return ye.prototype.add=function(le){this.schemas.push(le)},ye.prototype.merge=function(le){Array.prototype.push.apply(this.schemas,le.schemas)},ye.prototype.include=function(le){return(this.focusOffset===-1||si(le,this.focusOffset))&&le!==this.exclude},ye.prototype.newSub=function(){return new ye(-1,this.exclude)},ye}(),Hi=function(){function ye(){}return Object.defineProperty(ye.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),ye.prototype.add=function(le){},ye.prototype.merge=function(le){},ye.prototype.include=function(le){return!0},ye.prototype.newSub=function(){return this},ye.instance=new ye,ye}(),yi=function(){function ye(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return ye.prototype.hasProblems=function(){return!!this.problems.length},ye.prototype.mergeAll=function(le){for(var ue=0,qe=le;ue<qe.length;ue++){var Ze=qe[ue];this.merge(Ze)}},ye.prototype.merge=function(le){this.problems=this.problems.concat(le.problems)},ye.prototype.mergeEnumValues=function(le){if(!this.enumValueMatch&&!le.enumValueMatch&&this.enumValues&&le.enumValues){this.enumValues=this.enumValues.concat(le.enumValues);for(var ue=0,qe=this.problems;ue<qe.length;ue++){var Ze=qe[ue];Ze.code===et.EnumValueMismatch&&(Ze.message=vt("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map(function(tt){return JSON.stringify(tt)}).join(", ")))}}},ye.prototype.mergePropertyMatch=function(le){this.merge(le),this.propertiesMatches++,(le.enumValueMatch||!le.hasProblems()&&le.propertiesMatches)&&this.propertiesValueMatches++,le.enumValueMatch&&le.enumValues&&le.enumValues.length===1&&this.primaryValueMatches++},ye.prototype.compare=function(le){var ue=this.hasProblems();return ue!==le.hasProblems()?ue?-1:1:this.enumValueMatch!==le.enumValueMatch?le.enumValueMatch?-1:1:this.primaryValueMatches!==le.primaryValueMatches?this.primaryValueMatches-le.primaryValueMatches:this.propertiesValueMatches!==le.propertiesValueMatches?this.propertiesValueMatches-le.propertiesValueMatches:this.propertiesMatches-le.propertiesMatches},ye}();function kt(ye){return ie.e(ye)}function Et(ye){return ie.d(ye)}function si(ye,le,ue){return ue===void 0&&(ue=!1),le>=ye.offset&&le<ye.offset+ye.length||ue&&le===ye.offset+ye.length}var Si=function(){function ye(le,ue,qe){ue===void 0&&(ue=[]),qe===void 0&&(qe=[]),this.root=le,this.syntaxErrors=ue,this.comments=qe}return ye.prototype.getNodeFromOffset=function(le,ue){if(ue===void 0&&(ue=!1),this.root)return ie.b(this.root,le,ue)},ye.prototype.visit=function(le){if(this.root){var ue=function(qe){var Ze=le(qe),tt=qe.children;if(Array.isArray(tt))for(var rt=0;rt<tt.length&&Ze;rt++)Ze=ue(tt[rt]);return Ze};ue(this.root)}},ye.prototype.validate=function(le,ue){if(this.root&&ue){var qe=new yi;return Pi(this.root,ue,qe,Hi.instance),qe.problems.map(function(Ze){var tt=f.create(le.positionAt(Ze.location.offset),le.positionAt(Ze.location.offset+Ze.location.length));return V.create(tt,Ze.message,Ze.severity,Ze.code)})}},ye.prototype.getMatchingSchemas=function(le,ue,qe){ue===void 0&&(ue=-1);var Ze=new $i(ue,qe);return this.root&&le&&Pi(this.root,le,new yi,Ze),Ze.schemas},ye}();function Pi(ye,le,ue,qe){if(ye&&qe.include(ye)){var Ze=ye;switch(Ze.type){case"object":(function(tt,rt,zt,Jt){for(var xi=Object.create(null),Ei=[],ai=0,fi=tt.properties;ai<fi.length;ai++){var ui=(yt=fi[ai]).keyNode.value;xi[ui]=yt.valueNode,Ei.push(ui)}if(Array.isArray(rt.required))for(var Te=0,Ee=rt.required;Te<Ee.length;Te++){var ve=Ee[Te];if(!xi[ve]){var Re=tt.parent&&tt.parent.type==="property"&&tt.parent.keyNode,We=Re?{offset:Re.offset,length:Re.length}:{offset:tt.offset,length:1};zt.problems.push({location:We,severity:S.Warning,message:vt("MissingRequiredPropWarning",'Missing property "{0}".',ve)})}}var Be=function(Rn){for(var Qn=Ei.indexOf(Rn);Qn>=0;)Ei.splice(Qn,1),Qn=Ei.indexOf(Rn)};if(rt.properties)for(var Le=0,Ke=Object.keys(rt.properties);Le<Ke.length;Le++){ve=Ke[Le],Be(ve);var dt=rt.properties[ve];if(ln=xi[ve])if(se(dt))if(dt)zt.propertiesMatches++,zt.propertiesValueMatches++;else{var yt=ln.parent;zt.problems.push({location:{offset:yt.keyNode.offset,length:yt.keyNode.length},severity:S.Warning,message:rt.errorMessage||vt("DisallowedExtraPropWarning","Property {0} is not allowed.",ve)})}else{var xt=new yi;Pi(ln,dt,xt,Jt),zt.mergePropertyMatch(xt)}}if(rt.patternProperties)for(var Xt=0,mi=Object.keys(rt.patternProperties);Xt<mi.length;Xt++)for(var Yt=mi[Xt],ri=new RegExp(Yt),qi=0,an=Ei.slice(0);qi<an.length;qi++)ve=an[qi],ri.test(ve)&&(Be(ve),(ln=xi[ve])&&(se(dt=rt.patternProperties[Yt])?dt?(zt.propertiesMatches++,zt.propertiesValueMatches++):(yt=ln.parent,zt.problems.push({location:{offset:yt.keyNode.offset,length:yt.keyNode.length},severity:S.Warning,message:rt.errorMessage||vt("DisallowedExtraPropWarning","Property {0} is not allowed.",ve)})):(xt=new yi,Pi(ln,dt,xt,Jt),zt.mergePropertyMatch(xt))));if(typeof rt.additionalProperties=="object")for(var _n=0,ei=Ei;_n<ei.length;_n++)ve=ei[_n],(ln=xi[ve])&&(xt=new yi,Pi(ln,rt.additionalProperties,xt,Jt),zt.mergePropertyMatch(xt));else if(rt.additionalProperties===!1&&Ei.length>0)for(var ii=0,bi=Ei;ii<bi.length;ii++){var ln;ve=bi[ii],(ln=xi[ve])&&(yt=ln.parent,zt.problems.push({location:{offset:yt.keyNode.offset,length:yt.keyNode.length},severity:S.Warning,message:rt.errorMessage||vt("DisallowedExtraPropWarning","Property {0} is not allowed.",ve)}))}if(q(rt.maxProperties)&&tt.properties.length>rt.maxProperties&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("MaxPropWarning","Object has more properties than limit of {0}.",rt.maxProperties)}),q(rt.minProperties)&&tt.properties.length<rt.minProperties&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("MinPropWarning","Object has fewer properties than the required number of {0}",rt.minProperties)}),rt.dependencies){for(var mn=0,sn=Object.keys(rt.dependencies);mn<sn.length;mn++)if(ui=sn[mn],xi[ui]){var gn=rt.dependencies[ui];if(Array.isArray(gn))for(var Sn=0,En=gn;Sn<En.length;Sn++){var Xn=En[Sn];xi[Xn]?zt.propertiesValueMatches++:zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",Xn,ui)})}else(dt=Ri(gn))&&(xt=new yi,Pi(tt,dt,xt,Jt),zt.mergePropertyMatch(xt))}}var Yn=Ri(rt.propertyNames);if(Yn)for(var Io=0,Ro=tt.properties;Io<Ro.length;Io++){var In=Ro[Io];(ui=In.keyNode)&&Pi(ui,Yn,zt,Hi.instance)}})(Ze,le,ue,qe);break;case"array":(function(tt,rt,zt,Jt){if(Array.isArray(rt.items)){for(var xi=rt.items,Ei=0;Ei<xi.length;Ei++){var ai=Ri(xi[Ei]),fi=new yi;(Re=tt.items[Ei])?(Pi(Re,ai,fi,Jt),zt.mergePropertyMatch(fi)):tt.items.length>=xi.length&&zt.propertiesValueMatches++}if(tt.items.length>xi.length)if(typeof rt.additionalItems=="object")for(var ui=xi.length;ui<tt.items.length;ui++)fi=new yi,Pi(tt.items[ui],rt.additionalItems,fi,Jt),zt.mergePropertyMatch(fi);else rt.additionalItems===!1&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",xi.length)})}else{var Te=Ri(rt.items);if(Te)for(var Ee=0,ve=tt.items;Ee<ve.length;Ee++){var Re=ve[Ee];fi=new yi,Pi(Re,Te,fi,Jt),zt.mergePropertyMatch(fi)}}var We=Ri(rt.contains);if(We&&(tt.items.some(function(Le){var Ke=new yi;return Pi(Le,We,Ke,Hi.instance),!Ke.hasProblems()})||zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:rt.errorMessage||vt("requiredItemMissingWarning","Array does not contain required item.")})),q(rt.minItems)&&tt.items.length<rt.minItems&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("minItemsWarning","Array has too few items. Expected {0} or more.",rt.minItems)}),q(rt.maxItems)&&tt.items.length>rt.maxItems&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("maxItemsWarning","Array has too many items. Expected {0} or fewer.",rt.maxItems)}),rt.uniqueItems===!0){var Be=kt(tt);Be.some(function(Le,Ke){return Ke!==Be.lastIndexOf(Le)})&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("uniqueItemsWarning","Array has duplicate items.")})}})(Ze,le,ue,qe);break;case"string":(function(tt,rt,zt,Jt){q(rt.minLength)&&tt.value.length<rt.minLength&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("minLengthWarning","String is shorter than the minimum length of {0}.",rt.minLength)}),q(rt.maxLength)&&tt.value.length>rt.maxLength&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("maxLengthWarning","String is longer than the maximum length of {0}.",rt.maxLength)}),xi=rt.pattern,typeof xi=="string"&&(new RegExp(rt.pattern).test(tt.value)||zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:rt.patternErrorMessage||rt.errorMessage||vt("patternWarning",'String does not match the pattern of "{0}".',rt.pattern)}));var xi;if(rt.format)switch(rt.format){case"uri":case"uri-reference":var Ei=void 0;if(tt.value){var ai=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(tt.value);ai?ai[2]||rt.format!=="uri"||(Ei=vt("uriSchemeMissing","URI with a scheme is expected.")):Ei=vt("uriMissing","URI is expected.")}else Ei=vt("uriEmpty","URI expected.");Ei&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:rt.patternErrorMessage||rt.errorMessage||vt("uriFormatWarning","String is not a URI: {0}",Ei)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var fi=Ue[rt.format];tt.value&&fi.pattern.exec(tt.value)||zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:rt.patternErrorMessage||rt.errorMessage||fi.errorMessage})}})(Ze,le,ue);break;case"number":(function(tt,rt,zt,Jt){var xi=tt.value;function Ei(Ke){var dt,yt=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(Ke.toString());return yt&&{value:Number(yt[1]+(yt[2]||"")),multiplier:(((dt=yt[2])===null||dt===void 0?void 0:dt.length)||0)-(parseInt(yt[3])||0)}}if(q(rt.multipleOf)){var ai=-1;if(Number.isInteger(rt.multipleOf))ai=xi%rt.multipleOf;else{var fi=Ei(rt.multipleOf),ui=Ei(xi);if(fi&&ui){var Te=Math.pow(10,Math.abs(ui.multiplier-fi.multiplier));ui.multiplier<fi.multiplier?ui.value*=Te:fi.value*=Te,ai=ui.value%fi.value}}ai!==0&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("multipleOfWarning","Value is not divisible by {0}.",rt.multipleOf)})}function Ee(Ke,dt){return q(dt)?dt:se(dt)&&dt?Ke:void 0}function ve(Ke,dt){if(!se(dt)||!dt)return Ke}var Re=Ee(rt.minimum,rt.exclusiveMinimum);q(Re)&&xi<=Re&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",Re)});var We=Ee(rt.maximum,rt.exclusiveMaximum);q(We)&&xi>=We&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",We)});var Be=ve(rt.minimum,rt.exclusiveMinimum);q(Be)&&xi<Be&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("minimumWarning","Value is below the minimum of {0}.",Be)});var Le=ve(rt.maximum,rt.exclusiveMaximum);q(Le)&&xi>Le&&zt.problems.push({location:{offset:tt.offset,length:tt.length},severity:S.Warning,message:vt("maximumWarning","Value is above the maximum of {0}.",Le)})})(Ze,le,ue);break;case"property":return Pi(Ze.valueNode,le,ue,qe)}(function(){function tt(yt){return Ze.type===yt||yt==="integer"&&Ze.type==="number"&&Ze.isInteger}if(Array.isArray(le.type)?le.type.some(tt)||ue.problems.push({location:{offset:Ze.offset,length:Ze.length},severity:S.Warning,message:le.errorMessage||vt("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",le.type.join(", "))}):le.type&&(tt(le.type)||ue.problems.push({location:{offset:Ze.offset,length:Ze.length},severity:S.Warning,message:le.errorMessage||vt("typeMismatchWarning",'Incorrect type. Expected "{0}".',le.type)})),Array.isArray(le.allOf))for(var rt=0,zt=le.allOf;rt<zt.length;rt++){var Jt=zt[rt];Pi(Ze,Ri(Jt),ue,qe)}var xi=Ri(le.not);if(xi){var Ei=new yi,ai=qe.newSub();Pi(Ze,xi,Ei,ai),Ei.hasProblems()||ue.problems.push({location:{offset:Ze.offset,length:Ze.length},severity:S.Warning,message:vt("notSchemaWarning","Matches a schema that is not allowed.")});for(var fi=0,ui=ai.schemas;fi<ui.length;fi++){var Te=ui[fi];Te.inverted=!Te.inverted,qe.add(Te)}}var Ee=function(yt,xt){for(var Xt=[],mi=void 0,Yt=0,ri=yt;Yt<ri.length;Yt++){var qi=Ri(ri[Yt]),an=new yi,_n=qe.newSub();if(Pi(Ze,qi,an,_n),an.hasProblems()||Xt.push(qi),mi)if(xt||an.hasProblems()||mi.validationResult.hasProblems()){var ei=an.compare(mi.validationResult);ei>0?mi={schema:qi,validationResult:an,matchingSchemas:_n}:ei===0&&(mi.matchingSchemas.merge(_n),mi.validationResult.mergeEnumValues(an))}else mi.matchingSchemas.merge(_n),mi.validationResult.propertiesMatches+=an.propertiesMatches,mi.validationResult.propertiesValueMatches+=an.propertiesValueMatches;else mi={schema:qi,validationResult:an,matchingSchemas:_n}}return Xt.length>1&&xt&&ue.problems.push({location:{offset:Ze.offset,length:1},severity:S.Warning,message:vt("oneOfWarning","Matches multiple schemas when only one must validate.")}),mi&&(ue.merge(mi.validationResult),ue.propertiesMatches+=mi.validationResult.propertiesMatches,ue.propertiesValueMatches+=mi.validationResult.propertiesValueMatches,qe.merge(mi.matchingSchemas)),Xt.length};Array.isArray(le.anyOf)&&Ee(le.anyOf,!1),Array.isArray(le.oneOf)&&Ee(le.oneOf,!0);var ve=function(yt){var xt=new yi,Xt=qe.newSub();Pi(Ze,Ri(yt),xt,Xt),ue.merge(xt),ue.propertiesMatches+=xt.propertiesMatches,ue.propertiesValueMatches+=xt.propertiesValueMatches,qe.merge(Xt)},Re=Ri(le.if);if(Re&&function(yt,xt,Xt){var mi=Ri(yt),Yt=new yi,ri=qe.newSub();Pi(Ze,mi,Yt,ri),qe.merge(ri),Yt.hasProblems()?Xt&&ve(Xt):xt&&ve(xt)}(Re,Ri(le.then),Ri(le.else)),Array.isArray(le.enum)){for(var We=kt(Ze),Be=!1,Le=0,Ke=le.enum;Le<Ke.length;Le++){var dt=Ke[Le];if(U(We,dt)){Be=!0;break}}ue.enumValues=le.enum,ue.enumValueMatch=Be,Be||ue.problems.push({location:{offset:Ze.offset,length:Ze.length},severity:S.Warning,code:et.EnumValueMismatch,message:le.errorMessage||vt("enumWarning","Value is not accepted. Valid values: {0}.",le.enum.map(function(yt){return JSON.stringify(yt)}).join(", "))})}B(le.const)&&(U(We=kt(Ze),le.const)?ue.enumValueMatch=!0:(ue.problems.push({location:{offset:Ze.offset,length:Ze.length},severity:S.Warning,code:et.EnumValueMismatch,message:le.errorMessage||vt("constWarning","Value must be {0}.",JSON.stringify(le.const))}),ue.enumValueMatch=!1),ue.enumValues=[le.const]),le.deprecationMessage&&Ze.parent&&ue.problems.push({location:{offset:Ze.parent.offset,length:Ze.parent.length},severity:S.Warning,message:le.deprecationMessage})})(),qe.add({node:Ze,schema:le})}}function Wi(ye,le){var ue=[],qe=-1,Ze=ye.getText(),tt=ie.a(Ze,!1),rt=le&&le.collectComments?[]:void 0;function zt(){for(;;){var Re=tt.scan();switch(Ei(),Re){case 12:case 13:Array.isArray(rt)&&rt.push(f.create(ye.positionAt(tt.getTokenOffset()),ye.positionAt(tt.getTokenOffset()+tt.getTokenLength())));break;case 15:case 14:break;default:return Re}}}function Jt(Re,We,Be,Le,Ke){if(Ke===void 0&&(Ke=S.Error),ue.length===0||Be!==qe){var dt=f.create(ye.positionAt(Be),ye.positionAt(Le));ue.push(V.create(dt,Re,Ke,We,ye.languageId)),qe=Be}}function xi(Re,We,Be,Le,Ke){Be===void 0&&(Be=void 0),Le===void 0&&(Le=[]),Ke===void 0&&(Ke=[]);var dt=tt.getTokenOffset(),yt=tt.getTokenOffset()+tt.getTokenLength();if(dt===yt&&dt>0){for(dt--;dt>0&&/\s/.test(Ze.charAt(dt));)dt--;yt=dt+1}if(Jt(Re,We,dt,yt),Be&&ai(Be,!1),Le.length+Ke.length>0)for(var xt=tt.getToken();xt!==17;){if(Le.indexOf(xt)!==-1){zt();break}if(Ke.indexOf(xt)!==-1)break;xt=zt()}return Be}function Ei(){switch(tt.getTokenError()){case 4:return xi(vt("InvalidUnicode","Invalid unicode sequence in string."),et.InvalidUnicode),!0;case 5:return xi(vt("InvalidEscapeCharacter","Invalid escape character in string."),et.InvalidEscapeCharacter),!0;case 3:return xi(vt("UnexpectedEndOfNumber","Unexpected end of number."),et.UnexpectedEndOfNumber),!0;case 1:return xi(vt("UnexpectedEndOfComment","Unexpected end of comment."),et.UnexpectedEndOfComment),!0;case 2:return xi(vt("UnexpectedEndOfString","Unexpected end of string."),et.UnexpectedEndOfString),!0;case 6:return xi(vt("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),et.InvalidCharacter),!0}return!1}function ai(Re,We){return Re.length=tt.getTokenOffset()+tt.getTokenLength()-Re.offset,We&&zt(),Re}var fi=new li(void 0,0,0);function ui(Re,We){var Be=new gi(Re,tt.getTokenOffset(),fi),Le=Te(Be);if(!Le){if(tt.getToken()!==16)return;xi(vt("DoubleQuotesExpected","Property keys must be doublequoted"),et.Undefined);var Ke=new li(Be,tt.getTokenOffset(),tt.getTokenLength());Ke.value=tt.getTokenValue(),Le=Ke,zt()}Be.keyNode=Le;var dt=We[Le.value];if(dt?(Jt(vt("DuplicateKeyWarning","Duplicate object key"),et.DuplicateKey,Be.keyNode.offset,Be.keyNode.offset+Be.keyNode.length,S.Warning),typeof dt=="object"&&Jt(vt("DuplicateKeyWarning","Duplicate object key"),et.DuplicateKey,dt.keyNode.offset,dt.keyNode.offset+dt.keyNode.length,S.Warning),We[Le.value]=!0):We[Le.value]=Be,tt.getToken()===6)Be.colonOffset=tt.getTokenOffset(),zt();else if(xi(vt("ColonExpected","Colon expected"),et.ColonExpected),tt.getToken()===10&&ye.positionAt(Le.offset+Le.length).line<ye.positionAt(tt.getTokenOffset()).line)return Be.length=Le.length,Be;var yt=Ee(Be);return yt?(Be.valueNode=yt,Be.length=yt.offset+yt.length-Be.offset,Be):xi(vt("ValueExpected","Value expected"),et.ValueExpected,Be,[],[2,5])}function Te(Re){if(tt.getToken()===10){var We=new li(Re,tt.getTokenOffset());return We.value=tt.getTokenValue(),ai(We,!0)}}function Ee(Re){return function(We){if(tt.getToken()===3){var Be=new _t(We,tt.getTokenOffset());zt();for(var Le=!1;tt.getToken()!==4&&tt.getToken()!==17;){if(tt.getToken()===5){Le||xi(vt("ValueExpected","Value expected"),et.ValueExpected);var Ke=tt.getTokenOffset();if(zt(),tt.getToken()===4){Le&&Jt(vt("TrailingComma","Trailing comma"),et.TrailingComma,Ke,Ke+1);continue}}else Le&&xi(vt("ExpectedComma","Expected comma"),et.CommaExpected);var dt=Ee(Be);dt?Be.items.push(dt):xi(vt("PropertyExpected","Value expected"),et.ValueExpected,void 0,[],[4,5]),Le=!0}return tt.getToken()!==4?xi(vt("ExpectedCloseBracket","Expected comma or closing bracket"),et.CommaOrCloseBacketExpected,Be):ai(Be,!0)}}(Re)||function(We){if(tt.getToken()===1){var Be=new ki(We,tt.getTokenOffset()),Le=Object.create(null);zt();for(var Ke=!1;tt.getToken()!==2&&tt.getToken()!==17;){if(tt.getToken()===5){Ke||xi(vt("PropertyExpected","Property expected"),et.PropertyExpected);var dt=tt.getTokenOffset();if(zt(),tt.getToken()===2){Ke&&Jt(vt("TrailingComma","Trailing comma"),et.TrailingComma,dt,dt+1);continue}}else Ke&&xi(vt("ExpectedComma","Expected comma"),et.CommaExpected);var yt=ui(Be,Le);yt?Be.properties.push(yt):xi(vt("PropertyExpected","Property expected"),et.PropertyExpected,void 0,[],[2,5]),Ke=!0}return tt.getToken()!==2?xi(vt("ExpectedCloseBrace","Expected comma or closing brace"),et.CommaOrCloseBraceExpected,Be):ai(Be,!0)}}(Re)||Te(Re)||function(We){if(tt.getToken()===11){var Be=new oi(We,tt.getTokenOffset());if(tt.getTokenError()===0){var Le=tt.getTokenValue();try{var Ke=JSON.parse(Le);if(!q(Ke))return xi(vt("InvalidNumberFormat","Invalid number format."),et.Undefined,Be);Be.value=Ke}catch(dt){return xi(vt("InvalidNumberFormat","Invalid number format."),et.Undefined,Be)}Be.isInteger=Le.indexOf(".")===-1}return ai(Be,!0)}}(Re)||function(We){switch(tt.getToken()){case 7:return ai(new ze(We,tt.getTokenOffset()),!0);case 8:return ai(new st(We,!0,tt.getTokenOffset()),!0);case 9:return ai(new st(We,!1,tt.getTokenOffset()),!0);default:return}}(Re)}var ve=void 0;return zt()!==17&&((ve=Ee(ve))?tt.getToken()!==17&&xi(vt("End of file expected","End of file expected."),et.Undefined):xi(vt("Invalid symbol","Expected a JSON object, array or literal."),et.Undefined)),new Si(ve,ue,rt)}function xn(ye,le){var ue=ye.length-le.length;return ue>0?ye.lastIndexOf(le)===ue:ue===0&&ye===le}function un(ye){return ye.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}var bn=Di(),Fn=function(){function ye(le,ue,qe,Ze){ue===void 0&&(ue=[]),qe===void 0&&(qe=Promise),Ze===void 0&&(Ze={}),this.schemaService=le,this.contributions=ue,this.promiseConstructor=qe,this.clientCapabilities=Ze}return ye.prototype.doResolve=function(le){for(var ue=this.contributions.length-1;ue>=0;ue--){var qe=this.contributions[ue].resolveCompletion;if(qe){var Ze=qe(le);if(Ze)return Ze}}return this.promiseConstructor.resolve(le)},ye.prototype.doComplete=function(le,ue,qe){var Ze=this,tt={items:[],isIncomplete:!1},rt=le.getText(),zt=le.offsetAt(ue),Jt=qe.getNodeFromOffset(zt,!0);if(this.isInComment(le,Jt?Jt.offset:0,zt))return Promise.resolve(tt);if(Jt&&zt===Jt.offset+Jt.length&&zt>0){var xi=rt[zt-1];(Jt.type==="object"&&xi==="}"||Jt.type==="array"&&xi==="]")&&(Jt=Jt.parent)}var Ei,ai=this.getCurrentWord(le,zt);if(!Jt||Jt.type!=="string"&&Jt.type!=="number"&&Jt.type!=="boolean"&&Jt.type!=="null"){var fi=zt-ai.length;fi>0&&rt[fi-1]==='"'&&fi--,Ei=f.create(le.positionAt(fi),ue)}else Ei=f.create(le.positionAt(Jt.offset),le.positionAt(Jt.offset+Jt.length));var ui={},Te={add:function(Ee){var ve=Ee.label,Re=ui[ve];if(Re)Re.documentation||(Re.documentation=Ee.documentation);else{if((ve=ve.replace(/[\n]/g,"\u21B5")).length>60){var We=ve.substr(0,57).trim()+"...";ui[We]||(ve=We)}Ei&&Ee.insertText!==void 0&&(Ee.textEdit=l.replace(Ei,Ee.insertText)),Ee.label=ve,ui[ve]=Ee,tt.items.push(Ee)}},setAsIncomplete:function(){tt.isIncomplete=!0},error:function(Ee){console.error(Ee)},log:function(Ee){console.log(Ee)},getNumberOfProposals:function(){return tt.items.length}};return this.schemaService.getSchemaForResource(le.uri,qe).then(function(Ee){var ve=[],Re=!0,We="",Be=void 0;if(Jt&&Jt.type==="string"){var Le=Jt.parent;Le&&Le.type==="property"&&Le.keyNode===Jt&&(Re=!Le.valueNode,Be=Le,We=rt.substr(Jt.offset+1,Jt.length-2),Le&&(Jt=Le.parent))}if(Jt&&Jt.type==="object"){if(Jt.offset===zt)return tt;Jt.properties.forEach(function(xt){Be&&Be===xt||(ui[xt.keyNode.value]=L.create("__"))});var Ke="";Re&&(Ke=Ze.evaluateSeparatorAfter(le,le.offsetAt(Ei.end))),Ee?Ze.getPropertyCompletions(Ee,qe,Jt,Re,Ke,Te):Ze.getSchemaLessPropertyCompletions(qe,Jt,We,Te);var dt=Et(Jt);Ze.contributions.forEach(function(xt){var Xt=xt.collectPropertyCompletions(le.uri,dt,ai,Re,Ke==="",Te);Xt&&ve.push(Xt)}),!Ee&&ai.length>0&&rt.charAt(zt-ai.length-1)!=='"'&&(Te.add({kind:he.Property,label:Ze.getLabelForValue(ai),insertText:Ze.getInsertTextForProperty(ai,void 0,!1,Ke),insertTextFormat:Ce.Snippet,documentation:""}),Te.setAsIncomplete())}var yt={};return Ee?Ze.getValueCompletions(Ee,qe,Jt,zt,le,Te,yt):Ze.getSchemaLessValueCompletions(qe,Jt,zt,le,Te),Ze.contributions.length>0&&Ze.getContributedValueCompletions(qe,Jt,zt,le,Te,ve),Ze.promiseConstructor.all(ve).then(function(){if(Te.getNumberOfProposals()===0){var xt=zt;!Jt||Jt.type!=="string"&&Jt.type!=="number"&&Jt.type!=="boolean"&&Jt.type!=="null"||(xt=Jt.offset+Jt.length);var Xt=Ze.evaluateSeparatorAfter(le,xt);Ze.addFillerValueCompletions(yt,Xt,Te)}return tt})})},ye.prototype.getPropertyCompletions=function(le,ue,qe,Ze,tt,rt){var zt=this;ue.getMatchingSchemas(le.schema,qe.offset).forEach(function(Jt){if(Jt.node===qe&&!Jt.inverted){var xi=Jt.schema.properties;xi&&Object.keys(xi).forEach(function(Te){var Ee=xi[Te];if(typeof Ee=="object"&&!Ee.deprecationMessage&&!Ee.doNotSuggest){var ve={kind:he.Property,label:Te,insertText:zt.getInsertTextForProperty(Te,Ee,Ze,tt),insertTextFormat:Ce.Snippet,filterText:zt.getFilterTextForValue(Te),documentation:zt.fromMarkup(Ee.markdownDescription)||Ee.description||""};Ee.suggestSortText!==void 0&&(ve.sortText=Ee.suggestSortText),ve.insertText&&xn(ve.insertText,"$1"+tt)&&(ve.command={title:"Suggest",command:"editor.action.triggerSuggest"}),rt.add(ve)}});var Ei=Jt.schema.propertyNames;if(typeof Ei=="object"&&!Ei.deprecationMessage&&!Ei.doNotSuggest){var ai=function(Te,Ee){Ee===void 0&&(Ee=void 0);var ve={kind:he.Property,label:Te,insertText:zt.getInsertTextForProperty(Te,void 0,Ze,tt),insertTextFormat:Ce.Snippet,filterText:zt.getFilterTextForValue(Te),documentation:Ee||zt.fromMarkup(Ei.markdownDescription)||Ei.description||""};Ei.suggestSortText!==void 0&&(ve.sortText=Ei.suggestSortText),ve.insertText&&xn(ve.insertText,"$1"+tt)&&(ve.command={title:"Suggest",command:"editor.action.triggerSuggest"}),rt.add(ve)};if(Ei.enum)for(var fi=0;fi<Ei.enum.length;fi++){var ui=void 0;Ei.markdownEnumDescriptions&&fi<Ei.markdownEnumDescriptions.length?ui=zt.fromMarkup(Ei.markdownEnumDescriptions[fi]):Ei.enumDescriptions&&fi<Ei.enumDescriptions.length&&(ui=Ei.enumDescriptions[fi]),ai(Ei.enum[fi],ui)}Ei.const&&ai(Ei.const)}}})},ye.prototype.getSchemaLessPropertyCompletions=function(le,ue,qe,Ze){var tt=this,rt=function(Jt){Jt.properties.forEach(function(xi){var Ei=xi.keyNode.value;Ze.add({kind:he.Property,label:Ei,insertText:tt.getInsertTextForValue(Ei,""),insertTextFormat:Ce.Snippet,filterText:tt.getFilterTextForValue(Ei),documentation:""})})};if(ue.parent)if(ue.parent.type==="property"){var zt=ue.parent.keyNode.value;le.visit(function(Jt){return Jt.type==="property"&&Jt!==ue.parent&&Jt.keyNode.value===zt&&Jt.valueNode&&Jt.valueNode.type==="object"&&rt(Jt.valueNode),!0})}else ue.parent.type==="array"&&ue.parent.items.forEach(function(Jt){Jt.type==="object"&&Jt!==ue&&rt(Jt)});else ue.type==="object"&&Ze.add({kind:he.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:Ce.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},ye.prototype.getSchemaLessValueCompletions=function(le,ue,qe,Ze,tt){var rt=this,zt=qe;if(!ue||ue.type!=="string"&&ue.type!=="number"&&ue.type!=="boolean"&&ue.type!=="null"||(zt=ue.offset+ue.length,ue=ue.parent),!ue)return tt.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:Ce.Snippet,documentation:""}),void tt.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:Ce.Snippet,documentation:""});var Jt=this.evaluateSeparatorAfter(Ze,zt),xi=function(ui){ui.parent&&!si(ui.parent,qe,!0)&&tt.add({kind:rt.getSuggestionKind(ui.type),label:rt.getLabelTextForMatchingNode(ui,Ze),insertText:rt.getInsertTextForMatchingNode(ui,Ze,Jt),insertTextFormat:Ce.Snippet,documentation:""}),ui.type==="boolean"&&rt.addBooleanValueCompletion(!ui.value,Jt,tt)};if(ue.type==="property"&&qe>(ue.colonOffset||0)){var Ei=ue.valueNode;if(Ei&&(qe>Ei.offset+Ei.length||Ei.type==="object"||Ei.type==="array"))return;var ai=ue.keyNode.value;le.visit(function(ui){return ui.type==="property"&&ui.keyNode.value===ai&&ui.valueNode&&xi(ui.valueNode),!0}),ai==="$schema"&&ue.parent&&!ue.parent.parent&&this.addDollarSchemaCompletions(Jt,tt)}if(ue.type==="array")if(ue.parent&&ue.parent.type==="property"){var fi=ue.parent.keyNode.value;le.visit(function(ui){return ui.type==="property"&&ui.keyNode.value===fi&&ui.valueNode&&ui.valueNode.type==="array"&&ui.valueNode.items.forEach(xi),!0})}else ue.items.forEach(xi)},ye.prototype.getValueCompletions=function(le,ue,qe,Ze,tt,rt,zt){var Jt=Ze,xi=void 0,Ei=void 0;if(!qe||qe.type!=="string"&&qe.type!=="number"&&qe.type!=="boolean"&&qe.type!=="null"||(Jt=qe.offset+qe.length,Ei=qe,qe=qe.parent),qe){if(qe.type==="property"&&Ze>(qe.colonOffset||0)){var ai=qe.valueNode;if(ai&&Ze>ai.offset+ai.length)return;xi=qe.keyNode.value,qe=qe.parent}if(qe&&(xi!==void 0||qe.type==="array")){for(var fi=this.evaluateSeparatorAfter(tt,Jt),ui=0,Te=ue.getMatchingSchemas(le.schema,qe.offset,Ei);ui<Te.length;ui++){var Ee=Te[ui];if(Ee.node===qe&&!Ee.inverted&&Ee.schema){if(qe.type==="array"&&Ee.schema.items)if(Array.isArray(Ee.schema.items)){var ve=this.findItemAtOffset(qe,tt,Ze);ve<Ee.schema.items.length&&this.addSchemaValueCompletions(Ee.schema.items[ve],fi,rt,zt)}else this.addSchemaValueCompletions(Ee.schema.items,fi,rt,zt);if(xi!==void 0){var Re=!1;if(Ee.schema.properties&&(Ke=Ee.schema.properties[xi])&&(Re=!0,this.addSchemaValueCompletions(Ke,fi,rt,zt)),Ee.schema.patternProperties&&!Re)for(var We=0,Be=Object.keys(Ee.schema.patternProperties);We<Be.length;We++){var Le=Be[We];if(new RegExp(Le).test(xi)){Re=!0;var Ke=Ee.schema.patternProperties[Le];this.addSchemaValueCompletions(Ke,fi,rt,zt)}}Ee.schema.additionalProperties&&!Re&&(Ke=Ee.schema.additionalProperties,this.addSchemaValueCompletions(Ke,fi,rt,zt))}}}xi!=="$schema"||qe.parent||this.addDollarSchemaCompletions(fi,rt),zt.boolean&&(this.addBooleanValueCompletion(!0,fi,rt),this.addBooleanValueCompletion(!1,fi,rt)),zt.null&&this.addNullValueCompletion(fi,rt)}}else this.addSchemaValueCompletions(le.schema,"",rt,zt)},ye.prototype.getContributedValueCompletions=function(le,ue,qe,Ze,tt,rt){if(ue){if(ue.type!=="string"&&ue.type!=="number"&&ue.type!=="boolean"&&ue.type!=="null"||(ue=ue.parent),ue&&ue.type==="property"&&qe>(ue.colonOffset||0)){var zt=ue.keyNode.value,Jt=ue.valueNode;if((!Jt||qe<=Jt.offset+Jt.length)&&ue.parent){var xi=Et(ue.parent);this.contributions.forEach(function(Ei){var ai=Ei.collectValueCompletions(Ze.uri,xi,zt,tt);ai&&rt.push(ai)})}}}else this.contributions.forEach(function(Ei){var ai=Ei.collectDefaultCompletions(Ze.uri,tt);ai&&rt.push(ai)})},ye.prototype.addSchemaValueCompletions=function(le,ue,qe,Ze){var tt=this;typeof le=="object"&&(this.addEnumValueCompletions(le,ue,qe),this.addDefaultValueCompletions(le,ue,qe),this.collectTypes(le,Ze),Array.isArray(le.allOf)&&le.allOf.forEach(function(rt){return tt.addSchemaValueCompletions(rt,ue,qe,Ze)}),Array.isArray(le.anyOf)&&le.anyOf.forEach(function(rt){return tt.addSchemaValueCompletions(rt,ue,qe,Ze)}),Array.isArray(le.oneOf)&&le.oneOf.forEach(function(rt){return tt.addSchemaValueCompletions(rt,ue,qe,Ze)}))},ye.prototype.addDefaultValueCompletions=function(le,ue,qe,Ze){var tt=this;Ze===void 0&&(Ze=0);var rt=!1;if(B(le.default)){for(var zt=le.type,Jt=le.default,xi=Ze;xi>0;xi--)Jt=[Jt],zt="array";qe.add({kind:this.getSuggestionKind(zt),label:this.getLabelForValue(Jt),insertText:this.getInsertTextForValue(Jt,ue),insertTextFormat:Ce.Snippet,detail:bn("json.suggest.default","Default value")}),rt=!0}Array.isArray(le.examples)&&le.examples.forEach(function(Ei){for(var ai=le.type,fi=Ei,ui=Ze;ui>0;ui--)fi=[fi],ai="array";qe.add({kind:tt.getSuggestionKind(ai),label:tt.getLabelForValue(fi),insertText:tt.getInsertTextForValue(fi,ue),insertTextFormat:Ce.Snippet}),rt=!0}),Array.isArray(le.defaultSnippets)&&le.defaultSnippets.forEach(function(Ei){var ai,fi,ui=le.type,Te=Ei.body,Ee=Ei.label;if(B(Te)){le.type;for(var ve=Ze;ve>0;ve--)Te=[Te];ai=tt.getInsertTextForSnippetValue(Te,ue),fi=tt.getFilterTextForSnippetValue(Te),Ee=Ee||tt.getLabelForSnippetValue(Te)}else{if(typeof Ei.bodyText!="string")return;var Re="",We="",Be="";for(ve=Ze;ve>0;ve--)Re=Re+Be+`[ +`,We=We+` +`+Be+"]",Be+=" ",ui="array";ai=Re+Be+Ei.bodyText.split(` `).join(` -`+Pa)+Na+ra,ya=ya||_b,qc=_b.replace(/[\n]/g,"")}Ra.add({kind:Ya.getSuggestionKind(nc),label:ya,documentation:Ya.fromMarkup(zc.markdownDescription)||zc.description,insertText:_b,insertTextFormat:Da.Snippet,filterText:qc}),jb=!0}),!jb&&"object"==typeof fa.items&&!Array.isArray(fa.items)&&ab<5&&this.addDefaultValueCompletions(fa.items,ra,Ra,ab+1)},wa.prototype.addEnumValueCompletions=function(fa,ra,Ra){if(ea(fa.const)&&Ra.add({kind:this.getSuggestionKind(fa.type),label:this.getLabelForValue(fa.const),insertText:this.getInsertTextForValue(fa.const,ra),insertTextFormat:Da.Snippet,documentation:this.fromMarkup(fa.markdownDescription)||fa.description}),Array.isArray(fa.enum))for(var ab=0,Ya=fa.enum.length;ab<Ya;ab++){var jb=fa.enum[ab],Sb=this.fromMarkup(fa.markdownDescription)||fa.description;fa.markdownEnumDescriptions&&ab<fa.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?Sb=this.fromMarkup(fa.markdownEnumDescriptions[ab]):fa.enumDescriptions&&ab<fa.enumDescriptions.length&&(Sb=fa.enumDescriptions[ab]),Ra.add({kind:this.getSuggestionKind(fa.type),label:this.getLabelForValue(jb),insertText:this.getInsertTextForValue(jb,ra),insertTextFormat:Da.Snippet,documentation:Sb})}},wa.prototype.collectTypes=function(fa,ra){if(!Array.isArray(fa.enum)&&!ea(fa.const)){var Ra=fa.type;Array.isArray(Ra)?Ra.forEach(function(ab){return ra[ab]=!0}):Ra&&(ra[Ra]=!0)}},wa.prototype.addFillerValueCompletions=function(fa,ra,Ra){fa.object&&Ra.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},ra),insertTextFormat:Da.Snippet,detail:ud("defaults.object","New object"),documentation:""}),fa.array&&Ra.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],ra),insertTextFormat:Da.Snippet,detail:ud("defaults.array","New array"),documentation:""})},wa.prototype.addBooleanValueCompletion=function(fa,ra,Ra){Ra.add({kind:this.getSuggestionKind("boolean"),label:fa?"true":"false",insertText:this.getInsertTextForValue(fa,ra),insertTextFormat:Da.Snippet,documentation:""})},wa.prototype.addNullValueCompletion=function(fa,ra){ra.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+fa,insertTextFormat:Da.Snippet,documentation:""})},wa.prototype.addDollarSchemaCompletions=function(fa,ra){var Ra=this;this.schemaService.getRegisteredSchemaIds(function(ab){return"http"===ab||"https"===ab}).forEach(function(ab){return ra.add({kind:ta.Module,label:Ra.getLabelForValue(ab),filterText:Ra.getFilterTextForValue(ab),insertText:Ra.getInsertTextForValue(ab,fa),insertTextFormat:Da.Snippet,documentation:""})})},wa.prototype.getLabelForValue=function(fa){return JSON.stringify(fa)},wa.prototype.getFilterTextForValue=function(fa){return JSON.stringify(fa)},wa.prototype.getFilterTextForSnippetValue=function(fa){return JSON.stringify(fa).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},wa.prototype.getLabelForSnippetValue=function(fa){return JSON.stringify(fa).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},wa.prototype.getInsertTextForPlainText=function(fa){return fa.replace(/[\\\$\}]/g,"\\$&")},wa.prototype.getInsertTextForValue=function(fa,ra){var Ra=JSON.stringify(fa,null," ");return"{}"===Ra?"{$1}"+ra:"[]"===Ra?"[$1]"+ra:this.getInsertTextForPlainText(Ra+ra)},wa.prototype.getInsertTextForSnippetValue=function(fa,ra){return function Ra(ab,Ya,jb){if(null!==ab&&"object"==typeof ab){var Sb=Ya+" ";if(Array.isArray(ab)){if(0===ab.length)return"[]";for(var Yb=`[ -`,rc=0;rc<ab.length;rc++)Yb+=Sb+Ra(ab[rc],Sb,jb),rc<ab.length-1&&(Yb+=","),Yb+=` -`;return Yb+=Ya+"]"}var zc=Object.keys(ab);if(0===zc.length)return"{}";for(Yb=`{ -`,rc=0;rc<zc.length;rc++){var _b=zc[rc];Yb+=Sb+JSON.stringify(_b)+": "+Ra(ab[_b],Sb,jb),rc<zc.length-1&&(Yb+=","),Yb+=` -`}return Yb+=Ya+"}"}return jb(ab)}(fa,"",function(Ra){return"string"==typeof Ra&&"^"===Ra[0]?Ra.substr(1):JSON.stringify(Ra)})+ra},wa.prototype.getInsertTextForGuessedValue=function(fa,ra){switch(typeof fa){case"object":return null===fa?"${1:null}"+ra:this.getInsertTextForValue(fa,ra);case"string":var Ra=JSON.stringify(fa);return Ra=Ra.substr(1,Ra.length-2),'"${1:'+(Ra=this.getInsertTextForPlainText(Ra))+'}"'+ra;case"number":case"boolean":return"${1:"+JSON.stringify(fa)+"}"+ra}return this.getInsertTextForValue(fa,ra)},wa.prototype.getSuggestionKind=function(fa){if(Array.isArray(fa)){var ra=fa;fa=ra.length>0?ra[0]:void 0}if(!fa)return ta.Value;switch(fa){case"string":return ta.Value;case"object":return ta.Module;case"property":return ta.Property;default:return ta.Value}},wa.prototype.getLabelTextForMatchingNode=function(fa,ra){switch(fa.type){case"array":return"[]";case"object":return"{}";default:return ra.getText().substr(fa.offset,fa.length)}},wa.prototype.getInsertTextForMatchingNode=function(fa,ra,Ra){switch(fa.type){case"array":return this.getInsertTextForValue([],Ra);case"object":return this.getInsertTextForValue({},Ra);default:var ab=ra.getText().substr(fa.offset,fa.length)+Ra;return this.getInsertTextForPlainText(ab)}},wa.prototype.getInsertTextForProperty=function(fa,ra,Ra,ab){var Ya=this.getInsertTextForValue(fa,"");if(!Ra)return Ya;var jb,Sb=Ya+": ",Yb=0;if(ra){if(Array.isArray(ra.defaultSnippets)){if(1===ra.defaultSnippets.length){var rc=ra.defaultSnippets[0].body;ea(rc)&&(jb=this.getInsertTextForSnippetValue(rc,""))}Yb+=ra.defaultSnippets.length}if(ra.enum&&(jb||1!==ra.enum.length||(jb=this.getInsertTextForGuessedValue(ra.enum[0],"")),Yb+=ra.enum.length),ea(ra.default)&&(jb||(jb=this.getInsertTextForGuessedValue(ra.default,"")),Yb++),Array.isArray(ra.examples)&&ra.examples.length&&(jb||(jb=this.getInsertTextForGuessedValue(ra.examples[0],"")),Yb+=ra.examples.length),0===Yb){var zc=Array.isArray(ra.type)?ra.type[0]:ra.type;switch(zc||(ra.properties?zc="object":ra.items&&(zc="array")),zc){case"boolean":jb="$1";break;case"string":jb='"$1"';break;case"object":jb="{$1}";break;case"array":jb="[$1]";break;case"number":case"integer":jb="${1:0}";break;case"null":jb="${1:null}";break;default:return Ya}}}return(!jb||Yb>1)&&(jb="$1"),Sb+jb+ab},wa.prototype.getCurrentWord=function(fa,ra){for(var Ra=ra-1,ab=fa.getText();Ra>=0&&-1===` -\r\v":{[,]}`.indexOf(ab.charAt(Ra));)Ra--;return ab.substring(Ra+1,ra)},wa.prototype.evaluateSeparatorAfter=function(fa,ra){var Ra=da.a(fa.getText(),!0);switch(Ra.setPosition(ra),Ra.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},wa.prototype.findItemAtOffset=function(fa,ra,Ra){for(var ab=da.a(ra.getText(),!0),Ya=fa.items,jb=Ya.length-1;jb>=0;jb--){var Sb=Ya[jb];if(Ra>Sb.offset+Sb.length)return ab.setPosition(Sb.offset+Sb.length),5===ab.scan()&&Ra>=ab.getTokenOffset()+ab.getTokenLength()?jb+1:jb;if(Ra>=Sb.offset)return jb}return 0},wa.prototype.isInComment=function(fa,ra,Ra){var ab=da.a(fa.getText(),!1);ab.setPosition(ra);for(var Ya=ab.scan();17!==Ya&&ab.getTokenOffset()+ab.getTokenLength()<Ra;)Ya=ab.scan();return(12===Ya||13===Ya)&&ab.getTokenOffset()<=Ra},wa.prototype.fromMarkup=function(fa){if(fa&&this.doesSupportMarkdown())return{kind:V.Markdown,value:fa}},wa.prototype.doesSupportMarkdown=function(){if(!ea(this.supportsMarkdown)){var fa=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=fa&&fa.completionItem&&Array.isArray(fa.completionItem.documentationFormat)&&-1!==fa.completionItem.documentationFormat.indexOf(V.Markdown)}return this.supportsMarkdown},wa.prototype.doesSupportsCommitCharacters=function(){if(!ea(this.supportsCommitCharacters)){var fa=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=fa&&fa.completionItem&&!!fa.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},wa}(),wd=function(){function wa(fa,ra,Ra){void 0===ra&&(ra=[]),this.schemaService=fa,this.contributions=ra,this.promise=Ra||Promise}return wa.prototype.doHover=function(fa,ra,Ra){var ab=fa.offsetAt(ra),Ya=Ra.getNodeFromOffset(ab);if(!Ya||("object"===Ya.type||"array"===Ya.type)&&ab>Ya.offset+1&&ab<Ya.offset+Ya.length-1)return this.promise.resolve(null);var jb=Ya;if("string"===Ya.type){var Sb=Ya.parent;if(Sb&&"property"===Sb.type&&Sb.keyNode===Ya&&!(Ya=Sb.valueNode))return this.promise.resolve(null)}for(var Yb=q.create(fa.positionAt(jb.offset),fa.positionAt(jb.offset+jb.length)),rc=function(nc){return{contents:nc,range:Yb}},zc=zb(Ya),_b=this.contributions.length-1;_b>=0;_b--){var qc=this.contributions[_b].getInfoContribution(fa.uri,zc);if(qc)return qc.then(function(nc){return rc(nc)})}return this.schemaService.getSchemaForResource(fa.uri,Ra).then(function(nc){if(nc&&Ya){var Aa=Ra.getMatchingSchemas(nc.schema,Ya.offset),ya=void 0,pa=void 0,Ja=void 0,Na=void 0;Aa.every(function(Fa){if(Fa.node===Ya&&!Fa.inverted&&Fa.schema&&(ya=ya||Fa.schema.title,pa=pa||Fa.schema.markdownDescription||Dd(Fa.schema.description),Fa.schema.enum)){var Xa=Fa.schema.enum.indexOf(nb(Ya));Fa.schema.markdownEnumDescriptions?Ja=Fa.schema.markdownEnumDescriptions[Xa]:Fa.schema.enumDescriptions&&(Ja=Dd(Fa.schema.enumDescriptions[Xa])),Ja&&"string"!=typeof(Na=Fa.schema.enum[Xa])&&(Na=JSON.stringify(Na))}return!0});var Pa="";return ya&&(Pa=Dd(ya)),pa&&(Pa.length>0&&(Pa+=` +`+Be)+We+ue,Ee=Ee||ai,fi=ai.replace(/[\n]/g,"")}qe.add({kind:tt.getSuggestionKind(ui),label:Ee,documentation:tt.fromMarkup(Ei.markdownDescription)||Ei.description,insertText:ai,insertTextFormat:Ce.Snippet,filterText:fi}),rt=!0}),!rt&&typeof le.items=="object"&&!Array.isArray(le.items)&&Ze<5&&this.addDefaultValueCompletions(le.items,ue,qe,Ze+1)},ye.prototype.addEnumValueCompletions=function(le,ue,qe){if(B(le.const)&&qe.add({kind:this.getSuggestionKind(le.type),label:this.getLabelForValue(le.const),insertText:this.getInsertTextForValue(le.const,ue),insertTextFormat:Ce.Snippet,documentation:this.fromMarkup(le.markdownDescription)||le.description}),Array.isArray(le.enum))for(var Ze=0,tt=le.enum.length;Ze<tt;Ze++){var rt=le.enum[Ze],zt=this.fromMarkup(le.markdownDescription)||le.description;le.markdownEnumDescriptions&&Ze<le.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?zt=this.fromMarkup(le.markdownEnumDescriptions[Ze]):le.enumDescriptions&&Ze<le.enumDescriptions.length&&(zt=le.enumDescriptions[Ze]),qe.add({kind:this.getSuggestionKind(le.type),label:this.getLabelForValue(rt),insertText:this.getInsertTextForValue(rt,ue),insertTextFormat:Ce.Snippet,documentation:zt})}},ye.prototype.collectTypes=function(le,ue){if(!Array.isArray(le.enum)&&!B(le.const)){var qe=le.type;Array.isArray(qe)?qe.forEach(function(Ze){return ue[Ze]=!0}):qe&&(ue[qe]=!0)}},ye.prototype.addFillerValueCompletions=function(le,ue,qe){le.object&&qe.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},ue),insertTextFormat:Ce.Snippet,detail:bn("defaults.object","New object"),documentation:""}),le.array&&qe.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],ue),insertTextFormat:Ce.Snippet,detail:bn("defaults.array","New array"),documentation:""})},ye.prototype.addBooleanValueCompletion=function(le,ue,qe){qe.add({kind:this.getSuggestionKind("boolean"),label:le?"true":"false",insertText:this.getInsertTextForValue(le,ue),insertTextFormat:Ce.Snippet,documentation:""})},ye.prototype.addNullValueCompletion=function(le,ue){ue.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+le,insertTextFormat:Ce.Snippet,documentation:""})},ye.prototype.addDollarSchemaCompletions=function(le,ue){var qe=this;this.schemaService.getRegisteredSchemaIds(function(Ze){return Ze==="http"||Ze==="https"}).forEach(function(Ze){return ue.add({kind:he.Module,label:qe.getLabelForValue(Ze),filterText:qe.getFilterTextForValue(Ze),insertText:qe.getInsertTextForValue(Ze,le),insertTextFormat:Ce.Snippet,documentation:""})})},ye.prototype.getLabelForValue=function(le){return JSON.stringify(le)},ye.prototype.getFilterTextForValue=function(le){return JSON.stringify(le)},ye.prototype.getFilterTextForSnippetValue=function(le){return JSON.stringify(le).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},ye.prototype.getLabelForSnippetValue=function(le){return JSON.stringify(le).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},ye.prototype.getInsertTextForPlainText=function(le){return le.replace(/[\\\$\}]/g,"\\$&")},ye.prototype.getInsertTextForValue=function(le,ue){var qe=JSON.stringify(le,null," ");return qe==="{}"?"{$1}"+ue:qe==="[]"?"[$1]"+ue:this.getInsertTextForPlainText(qe+ue)},ye.prototype.getInsertTextForSnippetValue=function(le,ue){return function qe(Ze,tt,rt){if(Ze!==null&&typeof Ze=="object"){var zt=tt+" ";if(Array.isArray(Ze)){if(Ze.length===0)return"[]";for(var Jt=`[ +`,xi=0;xi<Ze.length;xi++)Jt+=zt+qe(Ze[xi],zt,rt),xi<Ze.length-1&&(Jt+=","),Jt+=` +`;return Jt+=tt+"]"}var Ei=Object.keys(Ze);if(Ei.length===0)return"{}";for(Jt=`{ +`,xi=0;xi<Ei.length;xi++){var ai=Ei[xi];Jt+=zt+JSON.stringify(ai)+": "+qe(Ze[ai],zt,rt),xi<Ei.length-1&&(Jt+=","),Jt+=` +`}return Jt+=tt+"}"}return rt(Ze)}(le,"",function(qe){return typeof qe=="string"&&qe[0]==="^"?qe.substr(1):JSON.stringify(qe)})+ue},ye.prototype.getInsertTextForGuessedValue=function(le,ue){switch(typeof le){case"object":return le===null?"${1:null}"+ue:this.getInsertTextForValue(le,ue);case"string":var qe=JSON.stringify(le);return qe=qe.substr(1,qe.length-2),'"${1:'+(qe=this.getInsertTextForPlainText(qe))+'}"'+ue;case"number":case"boolean":return"${1:"+JSON.stringify(le)+"}"+ue}return this.getInsertTextForValue(le,ue)},ye.prototype.getSuggestionKind=function(le){if(Array.isArray(le)){var ue=le;le=ue.length>0?ue[0]:void 0}if(!le)return he.Value;switch(le){case"string":return he.Value;case"object":return he.Module;case"property":return he.Property;default:return he.Value}},ye.prototype.getLabelTextForMatchingNode=function(le,ue){switch(le.type){case"array":return"[]";case"object":return"{}";default:return ue.getText().substr(le.offset,le.length)}},ye.prototype.getInsertTextForMatchingNode=function(le,ue,qe){switch(le.type){case"array":return this.getInsertTextForValue([],qe);case"object":return this.getInsertTextForValue({},qe);default:var Ze=ue.getText().substr(le.offset,le.length)+qe;return this.getInsertTextForPlainText(Ze)}},ye.prototype.getInsertTextForProperty=function(le,ue,qe,Ze){var tt=this.getInsertTextForValue(le,"");if(!qe)return tt;var rt,zt=tt+": ",Jt=0;if(ue){if(Array.isArray(ue.defaultSnippets)){if(ue.defaultSnippets.length===1){var xi=ue.defaultSnippets[0].body;B(xi)&&(rt=this.getInsertTextForSnippetValue(xi,""))}Jt+=ue.defaultSnippets.length}if(ue.enum&&(rt||ue.enum.length!==1||(rt=this.getInsertTextForGuessedValue(ue.enum[0],"")),Jt+=ue.enum.length),B(ue.default)&&(rt||(rt=this.getInsertTextForGuessedValue(ue.default,"")),Jt++),Array.isArray(ue.examples)&&ue.examples.length&&(rt||(rt=this.getInsertTextForGuessedValue(ue.examples[0],"")),Jt+=ue.examples.length),Jt===0){var Ei=Array.isArray(ue.type)?ue.type[0]:ue.type;switch(Ei||(ue.properties?Ei="object":ue.items&&(Ei="array")),Ei){case"boolean":rt="$1";break;case"string":rt='"$1"';break;case"object":rt="{$1}";break;case"array":rt="[$1]";break;case"number":case"integer":rt="${1:0}";break;case"null":rt="${1:null}";break;default:return tt}}}return(!rt||Jt>1)&&(rt="$1"),zt+rt+Ze},ye.prototype.getCurrentWord=function(le,ue){for(var qe=ue-1,Ze=le.getText();qe>=0&&` +\r\v":{[,]}`.indexOf(Ze.charAt(qe))===-1;)qe--;return Ze.substring(qe+1,ue)},ye.prototype.evaluateSeparatorAfter=function(le,ue){var qe=ie.a(le.getText(),!0);switch(qe.setPosition(ue),qe.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},ye.prototype.findItemAtOffset=function(le,ue,qe){for(var Ze=ie.a(ue.getText(),!0),tt=le.items,rt=tt.length-1;rt>=0;rt--){var zt=tt[rt];if(qe>zt.offset+zt.length)return Ze.setPosition(zt.offset+zt.length),Ze.scan()===5&&qe>=Ze.getTokenOffset()+Ze.getTokenLength()?rt+1:rt;if(qe>=zt.offset)return rt}return 0},ye.prototype.isInComment=function(le,ue,qe){var Ze=ie.a(le.getText(),!1);Ze.setPosition(ue);for(var tt=Ze.scan();tt!==17&&Ze.getTokenOffset()+Ze.getTokenLength()<qe;)tt=Ze.scan();return(tt===12||tt===13)&&Ze.getTokenOffset()<=qe},ye.prototype.fromMarkup=function(le){if(le&&this.doesSupportMarkdown())return{kind:Z.Markdown,value:le}},ye.prototype.doesSupportMarkdown=function(){if(!B(this.supportsMarkdown)){var le=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=le&&le.completionItem&&Array.isArray(le.completionItem.documentationFormat)&&le.completionItem.documentationFormat.indexOf(Z.Markdown)!==-1}return this.supportsMarkdown},ye.prototype.doesSupportsCommitCharacters=function(){if(!B(this.supportsCommitCharacters)){var le=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=le&&le.completionItem&&!!le.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},ye}(),Mn=function(){function ye(le,ue,qe){ue===void 0&&(ue=[]),this.schemaService=le,this.contributions=ue,this.promise=qe||Promise}return ye.prototype.doHover=function(le,ue,qe){var Ze=le.offsetAt(ue),tt=qe.getNodeFromOffset(Ze);if(!tt||(tt.type==="object"||tt.type==="array")&&Ze>tt.offset+1&&Ze<tt.offset+tt.length-1)return this.promise.resolve(null);var rt=tt;if(tt.type==="string"){var zt=tt.parent;if(zt&&zt.type==="property"&&zt.keyNode===tt&&!(tt=zt.valueNode))return this.promise.resolve(null)}for(var Jt=f.create(le.positionAt(rt.offset),le.positionAt(rt.offset+rt.length)),xi=function(ui){return{contents:ui,range:Jt}},Ei=Et(tt),ai=this.contributions.length-1;ai>=0;ai--){var fi=this.contributions[ai].getInfoContribution(le.uri,Ei);if(fi)return fi.then(function(ui){return xi(ui)})}return this.schemaService.getSchemaForResource(le.uri,qe).then(function(ui){if(ui&&tt){var Te=qe.getMatchingSchemas(ui.schema,tt.offset),Ee=void 0,ve=void 0,Re=void 0,We=void 0;Te.every(function(Le){if(Le.node===tt&&!Le.inverted&&Le.schema&&(Ee=Ee||Le.schema.title,ve=ve||Le.schema.markdownDescription||Nn(Le.schema.description),Le.schema.enum)){var Ke=Le.schema.enum.indexOf(kt(tt));Le.schema.markdownEnumDescriptions?Re=Le.schema.markdownEnumDescriptions[Ke]:Le.schema.enumDescriptions&&(Re=Nn(Le.schema.enumDescriptions[Ke])),Re&&typeof(We=Le.schema.enum[Ke])!="string"&&(We=JSON.stringify(We))}return!0});var Be="";return Ee&&(Be=Nn(Ee)),ve&&(Be.length>0&&(Be+=` -`),Pa+=pa),Ja&&(Pa.length>0&&(Pa+=` +`),Be+=ve),Re&&(Be.length>0&&(Be+=` -`),Pa+="`"+function(Fa){return-1!==Fa.indexOf("`")?"`` "+Fa+" ``":Fa}(Na)+"`: "+Ja),rc([Pa])}return null})},wa}();function Dd(wa){if(wa)return wa.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1 +`),Be+="`"+function(Le){return Le.indexOf("`")!==-1?"`` "+Le+" ``":Le}(We)+"`: "+Re),xi([Be])}return null})},ye}();function Nn(ye){if(ye)return ye.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1 -$3`).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var ce=f(140),_d=Fc(),oe=function(){function wa(fa,ra){this.patternRegExps=[],this.isInclude=[];try{for(var Ra=0,ab=fa;Ra<ab.length;Ra++){var Ya=ab[Ra],jb="!"!==Ya[0];jb||(Ya=Ya.substring(1)),this.patternRegExps.push(new RegExp(ad(Ya)+"$")),this.isInclude.push(jb)}this.uris=ra}catch(Sb){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return wa.prototype.matchesPattern=function(fa){for(var ra=!1,Ra=0;Ra<this.patternRegExps.length;Ra++)this.patternRegExps[Ra].test(fa)&&(ra=this.isInclude[Ra]);return ra},wa.prototype.getURIs=function(){return this.uris},wa}(),nd=function(){function wa(fa,ra,Ra){this.service=fa,this.url=ra,this.dependencies={},Ra&&(this.unresolvedSchema=this.service.promise.resolve(new Qd(Ra)))}return wa.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},wa.prototype.getResolvedSchema=function(){var fa=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(ra){return fa.service.resolveSchemaContent(ra,fa.url,fa.dependencies)})),this.resolvedSchema},wa.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},wa}(),Qd=function(wa,fa){void 0===fa&&(fa=[]),this.schema=wa,this.errors=fa},jd=function(){function wa(fa,ra){void 0===ra&&(ra=[]),this.schema=fa,this.errors=ra}return wa.prototype.getSection=function(fa){var ra=this.getSectionRecursive(fa,this.schema);if(ra)return Bc(ra)},wa.prototype.getSectionRecursive=function(fa,ra){if(!ra||"boolean"==typeof ra||0===fa.length)return ra;var Ra=fa.shift();if(ra.properties&&(ra.properties[Ra],1))return this.getSectionRecursive(fa,ra.properties[Ra]);if(ra.patternProperties)for(var ab=0,Ya=Object.keys(ra.patternProperties);ab<Ya.length;ab++){var jb=Ya[ab];if(new RegExp(jb).test(Ra))return this.getSectionRecursive(fa,ra.patternProperties[jb])}else{if("object"==typeof ra.additionalProperties)return this.getSectionRecursive(fa,ra.additionalProperties);if(Ra.match("[0-9]+")){if(Array.isArray(ra.items)){var Sb=parseInt(Ra,10);if(!isNaN(Sb)&&ra.items[Sb])return this.getSectionRecursive(fa,ra.items[Sb])}else if(ra.items)return this.getSectionRecursive(fa,ra.items)}}},wa}(),de=function(){function wa(fa,ra,Ra){this.contextService=ra,this.requestService=fa,this.promiseConstructor=Ra||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return wa.prototype.getRegisteredSchemaIds=function(fa){return Object.keys(this.registeredSchemasIds).filter(function(ra){var Ra=ce.a.parse(ra).scheme;return"schemaservice"!==Ra&&(!fa||fa(Ra))})},Object.defineProperty(wa.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),wa.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},wa.prototype.onResourceChange=function(fa){for(var ra=this,Ra=!1,ab=[fa=xd(fa)],Ya=Object.keys(this.schemasById).map(function(rc){return ra.schemasById[rc]});ab.length;)for(var jb=ab.pop(),Sb=0;Sb<Ya.length;Sb++){var Yb=Ya[Sb];Yb&&(Yb.url===jb||Yb.dependencies[jb])&&(Yb.url!==jb&&ab.push(Yb.url),Yb.clearSchema(),Ya[Sb]=void 0,Ra=!0)}return Ra},wa.prototype.setSchemaContributions=function(fa){if(fa.schemas){var ra=fa.schemas;for(var Ra in ra){var ab=xd(Ra);this.contributionSchemas[ab]=this.addSchemaHandle(ab,ra[Ra])}}if(Array.isArray(fa.schemaAssociations))for(var Ya=0,jb=fa.schemaAssociations;Ya<jb.length;Ya++){var Sb=jb[Ya],Yb=Sb.uris.map(xd),rc=this.addFilePatternAssociation(Sb.pattern,Yb);this.contributionAssociations.push(rc)}},wa.prototype.addSchemaHandle=function(fa,ra){var Ra=new nd(this,fa,ra);return this.schemasById[fa]=Ra,Ra},wa.prototype.getOrAddSchemaHandle=function(fa,ra){return this.schemasById[fa]||this.addSchemaHandle(fa,ra)},wa.prototype.addFilePatternAssociation=function(fa,ra){var Ra=new oe(fa,ra);return this.filePatternAssociations.push(Ra),Ra},wa.prototype.registerExternalSchema=function(fa,ra,Ra){var ab=xd(fa);return this.registeredSchemasIds[ab]=!0,this.cachedSchemaForResource=void 0,ra&&this.addFilePatternAssociation(ra,[fa]),Ra?this.addSchemaHandle(ab,Ra):this.getOrAddSchemaHandle(ab)},wa.prototype.clearExternalSchemas=function(){for(var fa in(this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas))this.schemasById[fa]=this.contributionSchemas[fa],this.registeredSchemasIds[fa]=!0;for(var ra=0,Ra=this.contributionAssociations;ra<Ra.length;ra++){var ab=Ra[ra];this.filePatternAssociations.push(ab)}},wa.prototype.getResolvedSchema=function(fa){var ra=xd(fa),Ra=this.schemasById[ra];return Ra?Ra.getResolvedSchema():this.promise.resolve(void 0)},wa.prototype.loadSchema=function(fa){if(!this.requestService){var ra=_d("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",K(fa));return this.promise.resolve(new Qd({},[ra]))}return this.requestService(fa).then(function(Ra){if(!Ra){var ab=_d("json.schema.nocontent","Unable to load schema from '{0}': No content.",K(fa));return new Qd({},[ab])}var Ya,jb=[];Ya=da.f(Ra,jb);var Sb=jb.length?[_d("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",K(fa),jb[0].offset)]:[];return new Qd(Ya,Sb)},function(Ra){var ab=Ra.toString(),Ya=Ra.toString().split("Error: ");return Ya.length>1&&(ab=Ya[1]),Ed(ab,".")&&(ab=ab.substr(0,ab.length-1)),new Qd({},[_d("json.schema.nocontent","Unable to load schema from '{0}': {1}.",K(fa),ab)])})},wa.prototype.resolveSchemaContent=function(fa,ra,Ra){var ab=this,Ya=fa.errors.slice(0),jb=fa.schema;if(jb.$schema){var Sb=xd(jb.$schema);if("http://json-schema.org/draft-03/schema"===Sb)return this.promise.resolve(new jd({},[_d("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===Sb&&Ya.push(_d("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var Yb=this.contextService,rc=function(qc,nc,Aa,ya){var pa=ya?decodeURIComponent(ya):void 0,Ja=function(Pa,Fa){if(!Fa)return Pa;var Xa=Pa;return"/"===Fa[0]&&(Fa=Fa.substr(1)),Fa.split("/").some(function(lb){return!(Xa=Xa[lb])}),Xa}(nc,pa);if(Ja)for(var Na in Ja)Ja.hasOwnProperty(Na)&&!qc.hasOwnProperty(Na)&&(qc[Na]=Ja[Na]);else Ya.push(_d("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",pa,Aa))},zc=function(qc,nc,Aa,ya,pa){Yb&&!/^\w+:\/\/.*/.test(nc)&&(nc=Yb.resolveRelativePath(nc,ya)),nc=xd(nc);var Ja=ab.getOrAddSchemaHandle(nc);return Ja.getUnresolvedSchema().then(function(Na){if(pa[nc]=!0,Na.errors.length){var Pa=Aa?nc+"#"+Aa:nc;Ya.push(_d("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Pa,Na.errors[0]))}return rc(qc,Na.schema,nc,Aa),_b(qc,Na.schema,nc,Ja.dependencies)})},_b=function(qc,nc,Aa,ya){if(!qc||"object"!=typeof qc)return Promise.resolve(null);for(var pa=[qc],Ja=[],Na=[],Pa=function(Xa){for(var lb=[];Xa.$ref;){var sb=Xa.$ref,vb=sb.split("#",2);if(delete Xa.$ref,vb[0].length>0)return void Na.push(zc(Xa,vb[0],vb[1],Aa,ya));-1===lb.indexOf(sb)&&(rc(Xa,nc,Aa,vb[1]),lb.push(sb))}!function(){for(var Vb=[],hc=0;hc<arguments.length;hc++)Vb[hc]=arguments[hc];for(var Tb=0,cc=Vb;Tb<cc.length;Tb++){var Rc=cc[Tb];"object"==typeof Rc&&pa.push(Rc)}}(Xa.items,Xa.additionalItems,Xa.additionalProperties,Xa.not,Xa.contains,Xa.propertyNames,Xa.if,Xa.then,Xa.else),function(){for(var Vb=[],hc=0;hc<arguments.length;hc++)Vb[hc]=arguments[hc];for(var Tb=0,cc=Vb;Tb<cc.length;Tb++){var Rc=cc[Tb];if("object"==typeof Rc)for(var gd in Rc){var od=gd,Wb=Rc[od];"object"==typeof Wb&&pa.push(Wb)}}}(Xa.definitions,Xa.properties,Xa.patternProperties,Xa.dependencies),function(){for(var Vb=[],hc=0;hc<arguments.length;hc++)Vb[hc]=arguments[hc];for(var Tb=0,cc=Vb;Tb<cc.length;Tb++){var Rc=cc[Tb];if(Array.isArray(Rc))for(var gd=0,od=Rc;gd<od.length;gd++){var Wb=od[gd];"object"==typeof Wb&&pa.push(Wb)}}}(Xa.anyOf,Xa.allOf,Xa.oneOf,Xa.items)};pa.length;){var Fa=pa.pop();Ja.indexOf(Fa)>=0||(Ja.push(Fa),Pa(Fa))}return ab.promise.all(Na)};return _b(jb,jb,ra,Ra).then(function(qc){return new jd(jb,Ya)})},wa.prototype.getSchemaForResource=function(fa,ra){if(ra&&ra.root&&"object"===ra.root.type){var Ra=ra.root.properties.filter(function(pa){return"$schema"===pa.keyNode.value&&pa.valueNode&&"string"===pa.valueNode.type});if(Ra.length>0){var ab=Ra[0].valueNode;if(ab&&"string"===ab.type){var Ya=nb(ab);if(Ya&&function(pa,Ja){if(pa.length<Ja.length)return!1;for(var Na=0;Na<Ja.length;Na++)if(pa[Na]!==Ja[Na])return!1;return!0}(Ya,".")&&this.contextService&&(Ya=this.contextService.resolveRelativePath(Ya,fa)),Ya){var jb=xd(Ya);return this.getOrAddSchemaHandle(jb).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===fa)return this.cachedSchemaForResource.resolvedSchema;for(var Sb=Object.create(null),Yb=[],rc=0,zc=this.filePatternAssociations;rc<zc.length;rc++){var _b=zc[rc];if(_b.matchesPattern(fa))for(var qc=0,nc=_b.getURIs();qc<nc.length;qc++){var Aa=nc[qc];Sb[Aa]||(Yb.push(Aa),Sb[Aa]=!0)}}var ya=Yb.length>0?this.createCombinedSchema(fa,Yb).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:fa,resolvedSchema:ya},ya},wa.prototype.createCombinedSchema=function(fa,ra){if(1===ra.length)return this.getOrAddSchemaHandle(ra[0]);var Ra="schemaservice://combinedSchema/"+encodeURIComponent(fa),ab={allOf:ra.map(function(Ya){return{$ref:Ya}})};return this.addSchemaHandle(Ra,ab)},wa.prototype.getMatchingSchemas=function(fa,ra,Ra){if(Ra){var ab=Ra.id||"schemaservice://untitled/matchingSchemas/"+Gd++;return this.resolveSchemaContent(new Qd(Ra),ab,{}).then(function(Ya){return ra.getMatchingSchemas(Ya.schema).filter(function(jb){return!jb.inverted})})}return this.getSchemaForResource(fa.uri,ra).then(function(Ya){return Ya?ra.getMatchingSchemas(Ya.schema).filter(function(jb){return!jb.inverted}):[]})},wa}(),Gd=0;function xd(wa){try{return ce.a.parse(wa).toString()}catch(fa){return wa}}function K(wa){try{var fa=ce.a.parse(wa);if("file"===fa.scheme)return fa.fsPath}catch(ra){}return wa}var W=Fc(),ia=function(){function wa(fa,ra){this.jsonSchemaService=fa,this.promise=ra,this.validationEnabled=!0}return wa.prototype.configure=function(fa){fa&&(this.validationEnabled=fa.validate,this.commentSeverity=fa.allowComments?void 0:D.Error)},wa.prototype.doValidation=function(fa,ra,Ra,ab){var Ya=this;if(!this.validationEnabled)return this.promise.resolve([]);var jb=[],Sb={},Yb=function(_b){var qc=_b.range.start.line+" "+_b.range.start.character+" "+_b.message;Sb[qc]||(Sb[qc]=!0,jb.push(_b))},rc=function(_b){var qc=Ra?Ta(Ra.trailingCommas):D.Error,nc=Ra?Ta(Ra.comments):Ya.commentSeverity;if(_b){if(_b.errors.length&&ra.root){var Aa=ra.root,ya="object"===Aa.type?Aa.properties[0]:void 0;if(ya&&"$schema"===ya.keyNode.value){var pa=ya.valueNode||ya,Ja=q.create(fa.positionAt(pa.offset),fa.positionAt(pa.offset+pa.length));Yb(B.create(Ja,_b.errors[0],D.Warning,cb.SchemaResolveError))}else Ja=q.create(fa.positionAt(Aa.offset),fa.positionAt(Aa.offset+1)),Yb(B.create(Ja,_b.errors[0],D.Warning,cb.SchemaResolveError))}else{var Na=ra.validate(fa,_b.schema);Na&&Na.forEach(Yb)}(function sb(vb){if(vb&&"object"==typeof vb){if(oa(vb.allowComments))return vb.allowComments;if(vb.allOf)for(var Vb=0,hc=vb.allOf;Vb<hc.length;Vb++){var Tb=hc[Vb],cc=sb(Tb);if(oa(cc))return cc}}return})(_b.schema)&&(nc=void 0),function sb(vb){if(vb&&"object"==typeof vb){if(oa(vb.allowTrailingCommas))return vb.allowTrailingCommas;var Vb=vb;if(oa(Vb.allowsTrailingCommas))return Vb.allowsTrailingCommas;if(vb.allOf)for(var hc=0,Tb=vb.allOf;hc<Tb.length;hc++){var cc=Tb[hc],Rc=sb(cc);if(oa(Rc))return Rc}}return}(_b.schema)&&(qc=void 0)}for(var Pa=0,Fa=ra.syntaxErrors;Pa<Fa.length;Pa++){var Xa=Fa[Pa];if(Xa.code===cb.TrailingComma){if("number"!=typeof qc)continue;Xa.severity=qc}Yb(Xa)}if("number"==typeof nc){var lb=W("InvalidCommentToken","Comments are not permitted in JSON.");ra.comments.forEach(function(sb){Yb(B.create(sb,lb,nc,cb.CommentNotPermitted))})}return jb};if(ab){var zc=ab.id||"schemaservice://untitled/"+Ha++;return this.jsonSchemaService.resolveSchemaContent(new Qd(ab),zc,{}).then(function(_b){return rc(_b)})}return this.jsonSchemaService.getSchemaForResource(fa.uri,ra).then(function(_b){return rc(_b)})},wa}(),Ha=0;function Ta(wa){switch(wa){case"error":return D.Error;case"warning":return D.Warning;case"ignore":return}}function db(wa){return wa<48?0:wa<=57?wa-48:(wa<97&&(wa+=32),wa>=97&&wa<=102?wa-97+10:0)}function yb(wa){if("#"===wa[0])switch(wa.length){case 4:return{red:17*db(wa.charCodeAt(1))/255,green:17*db(wa.charCodeAt(2))/255,blue:17*db(wa.charCodeAt(3))/255,alpha:1};case 5:return{red:17*db(wa.charCodeAt(1))/255,green:17*db(wa.charCodeAt(2))/255,blue:17*db(wa.charCodeAt(3))/255,alpha:17*db(wa.charCodeAt(4))/255};case 7:return{red:(16*db(wa.charCodeAt(1))+db(wa.charCodeAt(2)))/255,green:(16*db(wa.charCodeAt(3))+db(wa.charCodeAt(4)))/255,blue:(16*db(wa.charCodeAt(5))+db(wa.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*db(wa.charCodeAt(1))+db(wa.charCodeAt(2)))/255,green:(16*db(wa.charCodeAt(3))+db(wa.charCodeAt(4)))/255,blue:(16*db(wa.charCodeAt(5))+db(wa.charCodeAt(6)))/255,alpha:(16*db(wa.charCodeAt(7))+db(wa.charCodeAt(8)))/255}}}var Bb=function(){function wa(fa){this.schemaService=fa}return wa.prototype.findDocumentSymbols=function(fa,ra,Ra){var ab=this;void 0===Ra&&(Ra={resultLimit:Number.MAX_VALUE});var Ya=ra.root;if(!Ya)return[];var jb=Ra.resultLimit||Number.MAX_VALUE,Sb=fa.uri;if(("vscode://defaultsettings/keybindings.json"===Sb||Ed(Sb.toLowerCase(),"/user/keybindings.json"))&&"array"===Ya.type){for(var Yb=[],rc=0,zc=Ya.items;rc<zc.length;rc++){var _b=zc[rc];if("object"===_b.type)for(var qc=0,nc=_b.properties;qc<nc.length;qc++){var Aa=nc[qc];if("key"===Aa.keyNode.value&&Aa.valueNode){var ya=y.create(fa.uri,Jb(fa,_b));if(Yb.push({name:nb(Aa.valueNode),kind:S.Function,location:ya}),--jb<=0)return Ra&&Ra.onResultLimitExceeded&&Ra.onResultLimitExceeded(Sb),Yb}}}return Yb}for(var pa=[{node:Ya,containerName:""}],Ja=0,Na=!1,Pa=[],Fa=function(lb,sb){"array"===lb.type?lb.items.forEach(function(vb){vb&&pa.push({node:vb,containerName:sb})}):"object"===lb.type&&lb.properties.forEach(function(vb){var Vb=vb.valueNode;if(Vb)if(jb>0){jb--;var hc=y.create(fa.uri,Jb(fa,vb)),Tb=sb?sb+"."+vb.keyNode.value:vb.keyNode.value;Pa.push({name:ab.getKeyLabel(vb),kind:ab.getSymbolKind(Vb.type),location:hc,containerName:sb}),pa.push({node:Vb,containerName:Tb})}else Na=!0})};Ja<pa.length;){var Xa=pa[Ja++];Fa(Xa.node,Xa.containerName)}return Na&&Ra&&Ra.onResultLimitExceeded&&Ra.onResultLimitExceeded(Sb),Pa},wa.prototype.findDocumentSymbols2=function(fa,ra,Ra){var ab=this;void 0===Ra&&(Ra={resultLimit:Number.MAX_VALUE});var Ya=ra.root;if(!Ya)return[];var jb=Ra.resultLimit||Number.MAX_VALUE,Sb=fa.uri;if(("vscode://defaultsettings/keybindings.json"===Sb||Ed(Sb.toLowerCase(),"/user/keybindings.json"))&&"array"===Ya.type){for(var Yb=[],rc=0,zc=Ya.items;rc<zc.length;rc++){var _b=zc[rc];if("object"===_b.type)for(var qc=0,nc=_b.properties;qc<nc.length;qc++){var Aa=nc[qc];if("key"===Aa.keyNode.value&&Aa.valueNode){var ya=Jb(fa,_b),pa=Jb(fa,Aa.keyNode);if(Yb.push({name:nb(Aa.valueNode),kind:S.Function,range:ya,selectionRange:pa}),--jb<=0)return Ra&&Ra.onResultLimitExceeded&&Ra.onResultLimitExceeded(Sb),Yb}}}return Yb}for(var Ja=[],Na=[{node:Ya,result:Ja}],Pa=0,Fa=!1,Xa=function(sb,vb){"array"===sb.type?sb.items.forEach(function(Vb,hc){if(Vb)if(jb>0){jb--;var Tb=Jb(fa,Vb),cc=Tb,Rc={name:String(hc),kind:ab.getSymbolKind(Vb.type),range:Tb,selectionRange:cc,children:[]};vb.push(Rc),Na.push({result:Rc.children,node:Vb})}else Fa=!0}):"object"===sb.type&&sb.properties.forEach(function(Vb){var hc=Vb.valueNode;if(hc)if(jb>0){jb--;var Tb=Jb(fa,Vb),cc=Jb(fa,Vb.keyNode),Rc={name:ab.getKeyLabel(Vb),kind:ab.getSymbolKind(hc.type),range:Tb,selectionRange:cc,children:[]};vb.push(Rc),Na.push({result:Rc.children,node:hc})}else Fa=!0})};Pa<Na.length;){var lb=Na[Pa++];Xa(lb.node,lb.result)}return Fa&&Ra&&Ra.onResultLimitExceeded&&Ra.onResultLimitExceeded(Sb),Ja},wa.prototype.getSymbolKind=function(fa){switch(fa){case"object":return S.Module;case"string":return S.String;case"number":return S.Number;case"array":return S.Array;case"boolean":return S.Boolean;default:return S.Variable}},wa.prototype.getKeyLabel=function(fa){var ra=fa.keyNode.value;return ra&&(ra=ra.replace(/[\n]/g,"↵")),ra&&ra.trim()?ra:'"'+ra+'"'},wa.prototype.findDocumentColors=function(fa,ra,Ra){return this.schemaService.getSchemaForResource(fa.uri,ra).then(function(ab){var Ya=[];if(ab)for(var jb=Ra&&"number"==typeof Ra.resultLimit?Ra.resultLimit:Number.MAX_VALUE,Sb={},Yb=0,rc=ra.getMatchingSchemas(ab.schema);Yb<rc.length;Yb++){var zc=rc[Yb];if(!zc.inverted&&zc.schema&&("color"===zc.schema.format||"color-hex"===zc.schema.format)&&zc.node&&"string"===zc.node.type){var _b=String(zc.node.offset);if(!Sb[_b]){var qc=yb(nb(zc.node));if(qc){var nc=Jb(fa,zc.node);Ya.push({color:qc,range:nc})}if(Sb[_b]=!0,--jb<=0)return Ra&&Ra.onResultLimitExceeded&&Ra.onResultLimitExceeded(fa.uri),Ya}}}return Ya})},wa.prototype.getColorPresentations=function(fa,ra,Ra,ab){var Ya,jb=[],Sb=Math.round(255*Ra.red),Yb=Math.round(255*Ra.green),rc=Math.round(255*Ra.blue);function zc(_b){var qc=_b.toString(16);return 2!==qc.length?"0"+qc:qc}return Ya=1===Ra.alpha?"#"+zc(Sb)+zc(Yb)+zc(rc):"#"+zc(Sb)+zc(Yb)+zc(rc)+zc(Math.round(255*Ra.alpha)),jb.push({label:Ya,textEdit:k.replace(ab,JSON.stringify(Ya))}),jb},wa}();function Jb(wa,fa){return q.create(wa.positionAt(fa.offset),wa.positionAt(fa.offset+fa.length))}var xb=Fc(),Lb={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:xb("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:xb("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},Ub={id:xb("schema.json.id","A unique identifier for the schema."),$schema:xb("schema.json.$schema","The schema to verify this document against."),title:xb("schema.json.title","A descriptive title of the element."),description:xb("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:xb("schema.json.default","A default value. Used by suggestions."),multipleOf:xb("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:xb("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:xb("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:xb("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:xb("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:xb("schema.json.maxLength","The maximum length of a string."),minLength:xb("schema.json.minLength","The minimum length of a string."),pattern:xb("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:xb("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:xb("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:xb("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:xb("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:xb("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:xb("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:xb("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:xb("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:xb("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:xb("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:xb("schema.json.properties","A map of property names to schemas for each property."),patternProperties:xb("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:xb("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:xb("schema.json.enum","The set of literal values that are valid."),type:xb("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:xb("schema.json.format","Describes the format expected for the value."),allOf:xb("schema.json.allOf","An array of schemas, all of which must match."),anyOf:xb("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:xb("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:xb("schema.json.not","A schema which must not match."),$id:xb("schema.json.$id","A unique identifier for the schema."),$ref:xb("schema.json.$ref","Reference a definition hosted on any location."),$comment:xb("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:xb("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:xb("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:xb("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:xb("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:xb("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:xb("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:xb("schema.json.contentEncoding","Describes the content encoding of a string property."),if:xb("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:xb("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:xb("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var pc in Lb.schemas){var yc=Lb.schemas[pc];for(var Ec in yc.properties){var X=yc.properties[Ec];"boolean"==typeof X&&(X=yc.properties[Ec]={});var xa=Ub[Ec];xa?X.description=xa:console.log(Ec+": localize('schema.json."+Ec+`', "")`)}}function qa(wa,fa){var ra=[],Ra=[],ab=[],Ya=-1,jb=Object(da.a)(wa.getText(),!1),Sb=jb.scan();function Yb(Vb){ra.push(Vb),Ra.push(ab.length)}for(;17!==Sb;){switch(Sb){case 1:case 3:var rc={startLine:qc=wa.positionAt(jb.getTokenOffset()).line,endLine:qc,kind:1===Sb?"object":"array"};ab.push(rc);break;case 2:case 4:var zc=2===Sb?"object":"array";if(ab.length>0&&ab[ab.length-1].kind===zc){rc=ab.pop();var _b=wa.positionAt(jb.getTokenOffset()).line;rc&&_b>rc.startLine+1&&Ya!==rc.startLine&&(rc.endLine=_b-1,Yb(rc),Ya=rc.startLine)}break;case 13:var qc=wa.positionAt(jb.getTokenOffset()).line,nc=wa.positionAt(jb.getTokenOffset()+jb.getTokenLength()).line;1===jb.getTokenError()&&qc+1<wa.lineCount?jb.setPosition(wa.offsetAt(l.create(qc+1,0))):qc<nc&&(Yb({startLine:qc,endLine:nc,kind:L.Comment}),Ya=qc);break;case 12:var Aa=wa.getText().substr(jb.getTokenOffset(),jb.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(Aa){_b=wa.positionAt(jb.getTokenOffset()).line;if(Aa[1])rc={startLine:_b,endLine:_b,kind:L.Region},ab.push(rc);else{for(var ya=ab.length-1;ya>=0&&ab[ya].kind!==L.Region;)ya--;ya>=0&&(rc=ab[ya],ab.length=ya,_b>rc.startLine&&Ya!==rc.startLine&&(rc.endLine=_b,Yb(rc),Ya=rc.startLine))}}}Sb=jb.scan()}var pa=fa&&fa.rangeLimit;if("number"!=typeof pa||ra.length<=pa)return ra;fa&&fa.onRangeLimitExceeded&&fa.onRangeLimitExceeded(wa.uri);for(var Ja=[],Na=0,Pa=Ra;Na<Pa.length;Na++)(vb=Pa[Na])<30&&(Ja[vb]=(Ja[vb]||0)+1);var Fa=0,Xa=0;for(ya=0;ya<Ja.length;ya++){var lb=Ja[ya];if(lb){if(lb+Fa>pa){Xa=ya;break}Fa+=lb}}var sb=[];for(ya=0;ya<ra.length;ya++){var vb;"number"==typeof(vb=Ra[ya])&&(vb<Xa||vb===Xa&&Fa++<pa)&&sb.push(ra[ya])}return sb}function mb(wa,fa,ra){function Ra(jb,Sb){return q.create(wa.positionAt(jb),wa.positionAt(Sb))}var ab=Object(da.a)(wa.getText(),!0);function Ya(jb,Sb){return ab.setPosition(jb),ab.scan()===Sb?ab.getTokenOffset()+ab.getTokenLength():-1}return fa.map(function(jb){for(var Sb=wa.offsetAt(jb),Yb=ra.getNodeFromOffset(Sb,!0),rc=[];Yb;){switch(Yb.type){case"string":case"object":case"array":var zc=Yb.offset+1,_b=Yb.offset+Yb.length-1;zc<_b&&Sb>=zc&&Sb<=_b&&rc.push(Ra(zc,_b)),rc.push(Ra(Yb.offset,Yb.offset+Yb.length));break;case"number":case"boolean":case"null":case"property":rc.push(Ra(Yb.offset,Yb.offset+Yb.length))}if("property"===Yb.type||Yb.parent&&"array"===Yb.parent.type){var qc=Ya(Yb.offset+Yb.length,5);-1!==qc&&rc.push(Ra(Yb.offset,qc))}Yb=Yb.parent}for(var nc=void 0,Aa=rc.length-1;Aa>=0;Aa--)nc=Fb.create(rc[Aa],nc);return nc||(nc=Fb.create(q.create(jb,jb))),nc})}function ub(wa,fa,ra){var Ra=wa.offsetAt(fa),ab=ra.getNodeFromOffset(Ra,!0);if(!ab||!function(Yb){return"string"===Yb.type&&Yb.parent&&"property"===Yb.parent.type&&Yb.parent.valueNode===Yb&&"$ref"===Yb.parent.keyNode.value||!1}(ab))return Promise.resolve([]);var Ya=ab.parent.valueNode,jb=function(Yb,rc){var zc=function(_b){return"#"===_b?[]:"#"!==_b[0]||"/"!==_b[1]?null:_b.substring(2).split(/\//).map(jc)}(rc);return zc?function _b(qc,nc){if(!nc)return null;if(0===qc.length)return nc;var Aa=qc.shift();if(nc&&"object"===nc.type){var ya=nc.properties.find(function(Na){return Na.keyNode.value===Aa});return ya?_b(qc,ya.valueNode):null}if(nc&&"array"===nc.type&&Aa.match(/^(0|[1-9][0-9]*)$/)){var pa=Number.parseInt(Aa),Ja=nc.items[pa];return Ja?_b(qc,Ja):null}return null}(zc,Yb.root):null}(ra,Ya.value);if(!jb)return Promise.resolve([]);var Sb={targetUri:wa.uri,originSelectionRange:Rb(wa,Ya),targetRange:Rb(wa,jb),targetSelectionRange:Rb(wa,jb)};return Promise.resolve([Sb])}function Rb(wa,fa){return q.create(wa.positionAt(fa.offset),wa.positionAt(fa.offset+fa.length))}function jc(wa){return wa.replace(/~1/g,"/").replace(/~0/g,"~")}function Xb(wa){var fa=wa.promiseConstructor||Promise,ra=new de(wa.schemaRequestService,wa.workspaceContext,fa);ra.setSchemaContributions(Lb);var Ra=new Od(ra,wa.contributions,fa,wa.clientCapabilities),ab=new wd(ra,wa.contributions,fa),Ya=new Bb(ra),jb=new ia(ra,fa);return{configure:function(Sb){ra.clearExternalSchemas(),Sb.schemas&&Sb.schemas.forEach(function(Yb){ra.registerExternalSchema(Yb.uri,Yb.fileMatch,Yb.schema)}),jb.configure(Sb)},resetSchema:function(Sb){return ra.onResourceChange(Sb)},doValidation:jb.doValidation.bind(jb),parseJSONDocument:function(Sb){return Nc(Sb,{collectComments:!0})},newJSONDocument:function(Sb,Yb){return function(rc,zc){return void 0===zc&&(zc=[]),new Dc(rc,zc,[])}(Sb,Yb)},getMatchingSchemas:ra.getMatchingSchemas.bind(ra),doResolve:Ra.doResolve.bind(Ra),doComplete:Ra.doComplete.bind(Ra),findDocumentSymbols:Ya.findDocumentSymbols.bind(Ya),findDocumentSymbols2:Ya.findDocumentSymbols2.bind(Ya),findColorSymbols:function(Sb,Yb){return Ya.findDocumentColors(Sb,Yb).then(function(rc){return rc.map(function(zc){return zc.range})})},findDocumentColors:Ya.findDocumentColors.bind(Ya),getColorPresentations:Ya.getColorPresentations.bind(Ya),doHover:ab.doHover.bind(ab),getFoldingRanges:qa,getSelectionRanges:mb,findDefinition:ub,format:function(Sb,Yb,rc){var zc=void 0;if(Yb){var _b=Sb.offsetAt(Yb.start);zc={offset:_b,length:Sb.offsetAt(Yb.end)-_b}}var qc={tabSize:rc?rc.tabSize:4,insertSpaces:!rc||rc.insertSpaces,eol:` -`};return Object(da.c)(Sb.getText(),zc,qc).map(function(nc){return k.replace(q.create(Sb.positionAt(nc.offset),Sb.positionAt(nc.offset+nc.length)),nc.content)})}}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return k});var l=f(6),q=f(2),y=f(8),F=f(73),P=f(75),Y=f(114);class R{constructor(w){if(w.autoClosingPairs?this._autoClosingPairs=w.autoClosingPairs.map(x=>new P.b(x)):w.brackets?this._autoClosingPairs=w.brackets.map(x=>new P.b({open:x[0],close:x[1]})):this._autoClosingPairs=[],w.__electricCharacterSupport&&w.__electricCharacterSupport.docComment){const x=w.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new P.b({open:x.open,close:x.close||""}))}this._autoCloseBefore="string"==typeof w.autoCloseBefore?w.autoCloseBefore:R.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=w.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(w,x,u){if(0===x.getTokenCount())return!0;const A=x.findTokenIndexAtOffset(u-2),U=x.getStandardTokenType(A);return w.isOK(U)}getSurroundingPairs(){return this._surroundingPairs}}R.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])> - `;var L=f(119);class s{constructor(w){this._richEditBrackets=w}getElectricCharacters(){let w=[];if(this._richEditBrackets)for(const x of this._richEditBrackets.brackets)for(const u of x.close){const A=u.charAt(u.length-1);w.push(A)}return w=w.filter((x,u,A)=>A.indexOf(x)===u),w}onElectricCharacter(w,x,u){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;const A=x.findTokenIndexAtOffset(u-1);if(Object(Y.b)(x.getStandardTokenType(A)))return null;const U=this._richEditBrackets.reversedRegex,da=x.getLineContent().substring(0,u-1)+w,Z=L.a.findPrevBracketInRange(U,1,da,0,da.length);if(!Z)return null;const H=da.substring(Z.startColumn-1,Z.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[H])return null;const ea=x.getActualLineContentBefore(Z.startColumn-1);return/^\s*$/.test(ea)?{matchOpenBracket:H}:null}}class z{constructor(w){this._indentationRules=w}shouldIncrease(w){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(w))}shouldDecrease(w){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(w))}shouldIndentNextLine(w){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(w))}shouldIgnore(w){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(w))}getIndentMetadata(w){let x=0;return this.shouldIncrease(w)&&(x+=1),this.shouldDecrease(w)&&(x+=2),this.shouldIndentNextLine(w)&&(x+=4),this.shouldIgnore(w)&&(x+=8),x}}var D=f(13);class Q{constructor(w){(w=w||{}).brackets=w.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],w.brackets.forEach(x=>{const u=Q._createOpenBracketRegExp(x[0]),A=Q._createCloseBracketRegExp(x[1]);u&&A&&this._brackets.push({open:x[0],openRegExp:u,close:x[1],closeRegExp:A})}),this._regExpRules=w.onEnterRules||[]}onEnter(w,x,u,A){if(w>=3)for(let U=0,da=this._regExpRules.length;U<da;U++){let Z=this._regExpRules[U];if([{reg:Z.beforeText,text:u},{reg:Z.afterText,text:A},{reg:Z.oneLineAboveText,text:x}].every(H=>!H.reg||H.reg.test(H.text)))return Z.action}if(w>=2&&u.length>0&&A.length>0)for(let U=0,da=this._brackets.length;U<da;U++){let Z=this._brackets[U];if(Z.openRegExp.test(u)&&Z.closeRegExp.test(A))return{indentAction:P.a.IndentOutdent}}if(w>=2&&u.length>0){for(let U=0,da=this._brackets.length;U<da;U++)if(this._brackets[U].openRegExp.test(u))return{indentAction:P.a.Indent}}return null}static _createOpenBracketRegExp(w){let x=y.v(w);return/\B/.test(x.charAt(0))||(x="\\b"+x),x+="\\s*$",Q._safeRegExp(x)}static _createCloseBracketRegExp(w){let x=y.v(w);return/\B/.test(x.charAt(x.length-1))||(x+="\\b"),x="^\\s*"+x,Q._safeRegExp(x)}static _safeRegExp(w){try{return new RegExp(w)}catch(x){return Object(D.e)(x),null}}}class B{constructor(w,x,u){this._languageIdentifier=w,this._brackets=null,this._electricCharacter=null;let A=null;x&&(A=x._conf),this._conf=B._mergeConf(A,u),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new Q(this._conf):null,this.comments=B._handleComments(this._conf),this.characterPair=new R(this._conf),this.wordDefinition=this._conf.wordPattern||F.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new z(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}get brackets(){return!this._brackets&&this._conf.brackets&&(this._brackets=new L.b(this._languageIdentifier,this._conf.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new s(this.brackets)),this._electricCharacter}onEnter(w,x,u,A){return this._onEnterSupport?this._onEnterSupport.onEnter(w,x,u,A):null}static _mergeConf(w,x){return{comments:w?x.comments||w.comments:x.comments,brackets:w?x.brackets||w.brackets:x.brackets,wordPattern:w?x.wordPattern||w.wordPattern:x.wordPattern,indentationRules:w?x.indentationRules||w.indentationRules:x.indentationRules,onEnterRules:w?x.onEnterRules||w.onEnterRules:x.onEnterRules,autoClosingPairs:w?x.autoClosingPairs||w.autoClosingPairs:x.autoClosingPairs,surroundingPairs:w?x.surroundingPairs||w.surroundingPairs:x.surroundingPairs,autoCloseBefore:w?x.autoCloseBefore||w.autoCloseBefore:x.autoCloseBefore,folding:w?x.folding||w.folding:x.folding,__electricCharacterSupport:w?x.__electricCharacterSupport||w.__electricCharacterSupport:x.__electricCharacterSupport}}static _handleComments(w){let x=w.comments;if(!x)return null;let u={};if(x.lineComment&&(u.lineCommentToken=x.lineComment),x.blockComment){let[A,U]=x.blockComment;u.blockCommentStartToken=A,u.blockCommentEndToken=U}return u}}class C{constructor(w){this.languageIdentifier=w}}const k=new class{constructor(){this._entries=new Map(),this._onDidChange=new l.a(),this.onDidChange=this._onDidChange.event}register(w,x){let u=this._getRichEditSupport(w.id),A=new B(w,u,x);return this._entries.set(w.id,A),this._onDidChange.fire(new C(w)),Object(q.h)(()=>{this._entries.get(w.id)===A&&(this._entries.set(w.id,u),this._onDidChange.fire(new C(w)))})}_getRichEditSupport(w){return this._entries.get(w)}getIndentationRules(w){const x=this._entries.get(w);return x&&x.indentationRules||null}_getElectricCharacterSupport(w){let x=this._getRichEditSupport(w);return x&&x.electricCharacter||null}getElectricCharacters(w){let x=this._getElectricCharacterSupport(w);return x?x.getElectricCharacters():[]}onElectricCharacter(w,x,u){let A=Object(Y.a)(x,u-1),U=this._getElectricCharacterSupport(A.languageId);return U?U.onElectricCharacter(w,A,u-A.firstCharOffset):null}getComments(w){let x=this._getRichEditSupport(w);return x&&x.comments||null}_getCharacterPairSupport(w){let x=this._getRichEditSupport(w);return x&&x.characterPair||null}getAutoClosingPairs(w){let x=this._getCharacterPairSupport(w);return x?x.getAutoClosingPairs():[]}getAutoCloseBeforeSet(w){let x=this._getCharacterPairSupport(w);return x?x.getAutoCloseBeforeSet():R.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(w){let x=this._getCharacterPairSupport(w);return x?x.getSurroundingPairs():[]}shouldAutoClosePair(w,x,u){const A=Object(Y.a)(x,u-1);return R.shouldAutoClosePair(w,A,u-A.firstCharOffset)}getWordDefinition(w){let x=this._getRichEditSupport(w);return x?Object(F.c)(x.wordDefinition||null):Object(F.c)(null)}getFoldingRules(w){let x=this._getRichEditSupport(w);return x?x.foldingRules:{}}getIndentRulesSupport(w){let x=this._getRichEditSupport(w);return x&&x.indentRulesSupport||null}getPrecedingValidLine(w,x,u){let A=w.getLanguageIdAtPosition(x,0);if(x>1){let U,da=-1;for(U=x-1;U>=1;U--){if(w.getLanguageIdAtPosition(U,0)!==A)return da;let Z=w.getLineContent(U);if(!u.shouldIgnore(Z)&&!/^\s+$/.test(Z)&&""!==Z)return U;da=U}}return-1}getInheritIndentForLine(w,x,u,A=!0){if(w<4)return null;const U=this.getIndentRulesSupport(x.getLanguageIdentifier().id);if(!U)return null;if(u<=1)return{indentation:"",action:null};const da=this.getPrecedingValidLine(x,u,U);if(da<0)return null;if(da<1)return{indentation:"",action:null};const Z=x.getLineContent(da);if(U.shouldIncrease(Z)||U.shouldIndentNextLine(Z))return{indentation:y.z(Z),action:P.a.Indent,line:da};if(U.shouldDecrease(Z))return{indentation:y.z(Z),action:null,line:da};{if(1===da)return{indentation:y.z(x.getLineContent(da)),action:null,line:da};const H=da-1,ea=U.getIndentMetadata(x.getLineContent(H));if(!(3&ea)&&4&ea){let oa=0;for(let ga=H-1;ga>0;ga--)if(!U.shouldIndentNextLine(x.getLineContent(ga))){oa=ga;break}return{indentation:y.z(x.getLineContent(oa+1)),action:null,line:oa+1}}if(A)return{indentation:y.z(x.getLineContent(da)),action:null,line:da};for(let oa=da;oa>0;oa--){const ga=x.getLineContent(oa);if(U.shouldIncrease(ga))return{indentation:y.z(ga),action:P.a.Indent,line:oa};if(U.shouldIndentNextLine(ga)){let Ba=0;for(let N=oa-1;N>0;N--)if(!U.shouldIndentNextLine(x.getLineContent(oa))){Ba=N;break}return{indentation:y.z(x.getLineContent(Ba+1)),action:null,line:Ba+1}}if(U.shouldDecrease(ga))return{indentation:y.z(ga),action:null,line:oa}}return{indentation:y.z(x.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(w,x,u,A,U){if(w<4)return null;const da=this._getRichEditSupport(u);if(!da)return null;const Z=this.getIndentRulesSupport(u);if(!Z)return null;const H=this.getInheritIndentForLine(w,x,A),ea=x.getLineContent(A);if(H){const oa=H.line;if(void 0!==oa){const ga=da.onEnter(w,"",x.getLineContent(oa),"");if(ga){let Ba=y.z(x.getLineContent(oa));return ga.removeText&&(Ba=Ba.substring(0,Ba.length-ga.removeText)),ga.indentAction===P.a.Indent||ga.indentAction===P.a.IndentOutdent?Ba=U.shiftIndent(Ba):ga.indentAction===P.a.Outdent&&(Ba=U.unshiftIndent(Ba)),Z.shouldDecrease(ea)&&(Ba=U.unshiftIndent(Ba)),ga.appendText&&(Ba+=ga.appendText),y.z(Ba)}}return Z.shouldDecrease(ea)?H.action===P.a.Indent?H.indentation:U.unshiftIndent(H.indentation):H.action===P.a.Indent?U.shiftIndent(H.indentation):H.indentation}return null}getIndentForEnter(w,x,u,A){if(w<4)return null;x.forceTokenization(u.startLineNumber);const U=x.getLineTokens(u.startLineNumber),da=Object(Y.a)(U,u.startColumn-1),Z=da.getLineContent();let H,ea,oa=!1;(da.firstCharOffset>0&&U.getLanguageId(0)!==da.languageId?(oa=!0,H=Z.substr(0,u.startColumn-1-da.firstCharOffset)):H=U.getLineContent().substring(0,u.startColumn-1),u.isEmpty())?ea=Z.substr(u.startColumn-1-da.firstCharOffset):ea=this.getScopedLineTokens(x,u.endLineNumber,u.endColumn).getLineContent().substr(u.endColumn-1-da.firstCharOffset);const ga=this.getIndentRulesSupport(da.languageId);if(!ga)return null;const Ba=H,N=y.z(H),V={getLineTokens:Ka=>x.getLineTokens(Ka),getLanguageIdentifier:()=>x.getLanguageIdentifier(),getLanguageIdAtPosition:(Ka,G)=>x.getLanguageIdAtPosition(Ka,G),getLineContent:Ka=>Ka===u.startLineNumber?Ba:x.getLineContent(Ka)},ma=y.z(U.getLineContent()),ta=this.getInheritIndentForLine(w,V,u.startLineNumber+1);if(!ta){const Ka=oa?ma:N;return{beforeEnter:Ka,afterEnter:Ka}}let Da=oa?ma:ta.indentation;return ta.action===P.a.Indent&&(Da=A.shiftIndent(Da)),ga.shouldDecrease(ea)&&(Da=A.unshiftIndent(Da)),{beforeEnter:oa?ma:N,afterEnter:Da}}getIndentActionForType(w,x,u,A,U){if(w<4)return null;const da=this.getScopedLineTokens(x,u.startLineNumber,u.startColumn),Z=this.getIndentRulesSupport(da.languageId);if(!Z)return null;const H=da.getLineContent(),ea=H.substr(0,u.startColumn-1-da.firstCharOffset);let oa;u.isEmpty()?oa=H.substr(u.startColumn-1-da.firstCharOffset):oa=this.getScopedLineTokens(x,u.endLineNumber,u.endColumn).getLineContent().substr(u.endColumn-1-da.firstCharOffset);if(!Z.shouldDecrease(ea+oa)&&Z.shouldDecrease(ea+A+oa)){const ga=this.getInheritIndentForLine(w,x,u.startLineNumber,!1);if(!ga)return null;let Ba=ga.indentation;return ga.action!==P.a.Indent&&(Ba=U.unshiftIndent(Ba)),Ba}return null}getIndentMetadata(w,x){const u=this.getIndentRulesSupport(w.getLanguageIdentifier().id);return u?x<1||x>w.getLineCount()?null:u.getIndentMetadata(w.getLineContent(x)):null}getEnterAction(w,x,u){const A=this.getScopedLineTokens(x,u.startLineNumber,u.startColumn),U=this._getRichEditSupport(A.languageId);if(!U)return null;const da=A.getLineContent(),Z=da.substr(0,u.startColumn-1-A.firstCharOffset);let H;u.isEmpty()?H=da.substr(u.startColumn-1-A.firstCharOffset):H=this.getScopedLineTokens(x,u.endLineNumber,u.endColumn).getLineContent().substr(u.endColumn-1-A.firstCharOffset);let ea="";if(u.startLineNumber>1&&0===A.firstCharOffset){const ma=this.getScopedLineTokens(x,u.startLineNumber-1);ma.languageId===A.languageId&&(ea=ma.getLineContent())}const oa=U.onEnter(w,ea,Z,H);if(!oa)return null;const ga=oa.indentAction;let Ba=oa.appendText;const N=oa.removeText||0;Ba||(Ba=ga===P.a.Indent||ga===P.a.IndentOutdent?" ":"");let V=this.getIndentationAtPosition(x,u.startLineNumber,u.startColumn);return N&&(V=V.substring(0,V.length-N)),{indentAction:ga,appendText:Ba,removeText:N,indentation:V}}getIndentationAtPosition(w,x,u){const A=w.getLineContent(x);let U=y.z(A);return U.length>u-1&&(U=U.substring(0,u-1)),U}getScopedLineTokens(w,x,u){w.forceTokenization(x);const A=w.getLineTokens(x),U=void 0===u?w.getLineMaxColumn(x)-1:u-1;return Object(Y.a)(A,U)}getBracketsSupport(w){const x=this._getRichEditSupport(w);return x&&x.brackets||null}}()},function(Ga,t,f){"use strict";var l,q,y,F,P,Y,R,L,s,z,D,Q,B,C,k,w,x,u,A,U,da,Z,H,ea,oa,ga,Ba,N,V,ma,ta,Da,Ka;f.d(t,"a",function(){return l}),f.d(t,"b",function(){return q}),f.d(t,"c",function(){return y}),f.d(t,"d",function(){return F}),f.d(t,"e",function(){return P}),f.d(t,"f",function(){return Y}),f.d(t,"g",function(){return R}),f.d(t,"h",function(){return L}),f.d(t,"i",function(){return s}),f.d(t,"j",function(){return z}),f.d(t,"k",function(){return D}),f.d(t,"l",function(){return Q}),f.d(t,"m",function(){return B}),f.d(t,"n",function(){return C}),f.d(t,"o",function(){return k}),f.d(t,"p",function(){return w}),f.d(t,"q",function(){return x}),f.d(t,"r",function(){return u}),f.d(t,"s",function(){return A}),f.d(t,"t",function(){return U}),f.d(t,"u",function(){return da}),f.d(t,"v",function(){return Z}),f.d(t,"w",function(){return H}),f.d(t,"x",function(){return ea}),f.d(t,"y",function(){return oa}),f.d(t,"z",function(){return ga}),f.d(t,"A",function(){return Ba}),f.d(t,"B",function(){return N}),f.d(t,"C",function(){return V}),f.d(t,"D",function(){return ma}),f.d(t,"E",function(){return ta}),f.d(t,"F",function(){return Da}),f.d(t,"G",function(){return Ka}),function(G){G[G.Unknown=0]="Unknown",G[G.Disabled=1]="Disabled",G[G.Enabled=2]="Enabled"}(l||(l={})),function(G){G[G.KeepWhitespace=1]="KeepWhitespace",G[G.InsertAsSnippet=4]="InsertAsSnippet"}(q||(q={})),function(G){G[G.Method=0]="Method",G[G.Function=1]="Function",G[G.Constructor=2]="Constructor",G[G.Field=3]="Field",G[G.Variable=4]="Variable",G[G.Class=5]="Class",G[G.Struct=6]="Struct",G[G.Interface=7]="Interface",G[G.Module=8]="Module",G[G.Property=9]="Property",G[G.Event=10]="Event",G[G.Operator=11]="Operator",G[G.Unit=12]="Unit",G[G.Value=13]="Value",G[G.Constant=14]="Constant",G[G.Enum=15]="Enum",G[G.EnumMember=16]="EnumMember",G[G.Keyword=17]="Keyword",G[G.Text=18]="Text",G[G.Color=19]="Color",G[G.File=20]="File",G[G.Reference=21]="Reference",G[G.Customcolor=22]="Customcolor",G[G.Folder=23]="Folder",G[G.TypeParameter=24]="TypeParameter",G[G.User=25]="User",G[G.Issue=26]="Issue",G[G.Snippet=27]="Snippet"}(y||(y={})),function(G){G[G.Deprecated=1]="Deprecated"}(F||(F={})),function(G){G[G.Invoke=0]="Invoke",G[G.TriggerCharacter=1]="TriggerCharacter",G[G.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(P||(P={})),function(G){G[G.EXACT=0]="EXACT",G[G.ABOVE=1]="ABOVE",G[G.BELOW=2]="BELOW"}(Y||(Y={})),function(G){G[G.NotSet=0]="NotSet",G[G.ContentFlush=1]="ContentFlush",G[G.RecoverFromMarkers=2]="RecoverFromMarkers",G[G.Explicit=3]="Explicit",G[G.Paste=4]="Paste",G[G.Undo=5]="Undo",G[G.Redo=6]="Redo"}(R||(R={})),function(G){G[G.LF=1]="LF",G[G.CRLF=2]="CRLF"}(L||(L={})),function(G){G[G.Text=0]="Text",G[G.Read=1]="Read",G[G.Write=2]="Write"}(s||(s={})),function(G){G[G.None=0]="None",G[G.Keep=1]="Keep",G[G.Brackets=2]="Brackets",G[G.Advanced=3]="Advanced",G[G.Full=4]="Full"}(z||(z={})),function(G){G[G.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",G[G.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",G[G.accessibilitySupport=2]="accessibilitySupport",G[G.accessibilityPageSize=3]="accessibilityPageSize",G[G.ariaLabel=4]="ariaLabel",G[G.autoClosingBrackets=5]="autoClosingBrackets",G[G.autoClosingOvertype=6]="autoClosingOvertype",G[G.autoClosingQuotes=7]="autoClosingQuotes",G[G.autoIndent=8]="autoIndent",G[G.automaticLayout=9]="automaticLayout",G[G.autoSurround=10]="autoSurround",G[G.codeLens=11]="codeLens",G[G.colorDecorators=12]="colorDecorators",G[G.columnSelection=13]="columnSelection",G[G.comments=14]="comments",G[G.contextmenu=15]="contextmenu",G[G.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",G[G.cursorBlinking=17]="cursorBlinking",G[G.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",G[G.cursorStyle=19]="cursorStyle",G[G.cursorSurroundingLines=20]="cursorSurroundingLines",G[G.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",G[G.cursorWidth=22]="cursorWidth",G[G.disableLayerHinting=23]="disableLayerHinting",G[G.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",G[G.dragAndDrop=25]="dragAndDrop",G[G.emptySelectionClipboard=26]="emptySelectionClipboard",G[G.extraEditorClassName=27]="extraEditorClassName",G[G.fastScrollSensitivity=28]="fastScrollSensitivity",G[G.find=29]="find",G[G.fixedOverflowWidgets=30]="fixedOverflowWidgets",G[G.folding=31]="folding",G[G.foldingStrategy=32]="foldingStrategy",G[G.foldingHighlight=33]="foldingHighlight",G[G.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",G[G.fontFamily=35]="fontFamily",G[G.fontInfo=36]="fontInfo",G[G.fontLigatures=37]="fontLigatures",G[G.fontSize=38]="fontSize",G[G.fontWeight=39]="fontWeight",G[G.formatOnPaste=40]="formatOnPaste",G[G.formatOnType=41]="formatOnType",G[G.glyphMargin=42]="glyphMargin",G[G.gotoLocation=43]="gotoLocation",G[G.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",G[G.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",G[G.hover=46]="hover",G[G.inDiffEditor=47]="inDiffEditor",G[G.letterSpacing=48]="letterSpacing",G[G.lightbulb=49]="lightbulb",G[G.lineDecorationsWidth=50]="lineDecorationsWidth",G[G.lineHeight=51]="lineHeight",G[G.lineNumbers=52]="lineNumbers",G[G.lineNumbersMinChars=53]="lineNumbersMinChars",G[G.links=54]="links",G[G.matchBrackets=55]="matchBrackets",G[G.minimap=56]="minimap",G[G.mouseStyle=57]="mouseStyle",G[G.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",G[G.mouseWheelZoom=59]="mouseWheelZoom",G[G.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",G[G.multiCursorModifier=61]="multiCursorModifier",G[G.multiCursorPaste=62]="multiCursorPaste",G[G.occurrencesHighlight=63]="occurrencesHighlight",G[G.overviewRulerBorder=64]="overviewRulerBorder",G[G.overviewRulerLanes=65]="overviewRulerLanes",G[G.padding=66]="padding",G[G.parameterHints=67]="parameterHints",G[G.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",G[G.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",G[G.quickSuggestions=70]="quickSuggestions",G[G.quickSuggestionsDelay=71]="quickSuggestionsDelay",G[G.readOnly=72]="readOnly",G[G.renameOnType=73]="renameOnType",G[G.renderControlCharacters=74]="renderControlCharacters",G[G.renderIndentGuides=75]="renderIndentGuides",G[G.renderFinalNewline=76]="renderFinalNewline",G[G.renderLineHighlight=77]="renderLineHighlight",G[G.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",G[G.renderValidationDecorations=79]="renderValidationDecorations",G[G.renderWhitespace=80]="renderWhitespace",G[G.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",G[G.roundedSelection=82]="roundedSelection",G[G.rulers=83]="rulers",G[G.scrollbar=84]="scrollbar",G[G.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",G[G.scrollBeyondLastLine=86]="scrollBeyondLastLine",G[G.scrollPredominantAxis=87]="scrollPredominantAxis",G[G.selectionClipboard=88]="selectionClipboard",G[G.selectionHighlight=89]="selectionHighlight",G[G.selectOnLineNumbers=90]="selectOnLineNumbers",G[G.showFoldingControls=91]="showFoldingControls",G[G.showUnused=92]="showUnused",G[G.snippetSuggestions=93]="snippetSuggestions",G[G.smoothScrolling=94]="smoothScrolling",G[G.stopRenderingLineAfter=95]="stopRenderingLineAfter",G[G.suggest=96]="suggest",G[G.suggestFontSize=97]="suggestFontSize",G[G.suggestLineHeight=98]="suggestLineHeight",G[G.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",G[G.suggestSelection=100]="suggestSelection",G[G.tabCompletion=101]="tabCompletion",G[G.tabIndex=102]="tabIndex",G[G.unusualLineTerminators=103]="unusualLineTerminators",G[G.useTabStops=104]="useTabStops",G[G.wordSeparators=105]="wordSeparators",G[G.wordWrap=106]="wordWrap",G[G.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",G[G.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",G[G.wordWrapColumn=109]="wordWrapColumn",G[G.wordWrapMinified=110]="wordWrapMinified",G[G.wrappingIndent=111]="wrappingIndent",G[G.wrappingStrategy=112]="wrappingStrategy",G[G.showDeprecated=113]="showDeprecated",G[G.editorClassName=114]="editorClassName",G[G.pixelRatio=115]="pixelRatio",G[G.tabFocusMode=116]="tabFocusMode",G[G.layoutInfo=117]="layoutInfo",G[G.wrappingInfo=118]="wrappingInfo"}(D||(D={})),function(G){G[G.TextDefined=0]="TextDefined",G[G.LF=1]="LF",G[G.CRLF=2]="CRLF"}(Q||(Q={})),function(G){G[G.LF=0]="LF",G[G.CRLF=1]="CRLF"}(B||(B={})),function(G){G[G.None=0]="None",G[G.Indent=1]="Indent",G[G.IndentOutdent=2]="IndentOutdent",G[G.Outdent=3]="Outdent"}(C||(C={})),function(G){G[G.Unknown=0]="Unknown",G[G.Backspace=1]="Backspace",G[G.Tab=2]="Tab",G[G.Enter=3]="Enter",G[G.Shift=4]="Shift",G[G.Ctrl=5]="Ctrl",G[G.Alt=6]="Alt",G[G.PauseBreak=7]="PauseBreak",G[G.CapsLock=8]="CapsLock",G[G.Escape=9]="Escape",G[G.Space=10]="Space",G[G.PageUp=11]="PageUp",G[G.PageDown=12]="PageDown",G[G.End=13]="End",G[G.Home=14]="Home",G[G.LeftArrow=15]="LeftArrow",G[G.UpArrow=16]="UpArrow",G[G.RightArrow=17]="RightArrow",G[G.DownArrow=18]="DownArrow",G[G.Insert=19]="Insert",G[G.Delete=20]="Delete",G[G.KEY_0=21]="KEY_0",G[G.KEY_1=22]="KEY_1",G[G.KEY_2=23]="KEY_2",G[G.KEY_3=24]="KEY_3",G[G.KEY_4=25]="KEY_4",G[G.KEY_5=26]="KEY_5",G[G.KEY_6=27]="KEY_6",G[G.KEY_7=28]="KEY_7",G[G.KEY_8=29]="KEY_8",G[G.KEY_9=30]="KEY_9",G[G.KEY_A=31]="KEY_A",G[G.KEY_B=32]="KEY_B",G[G.KEY_C=33]="KEY_C",G[G.KEY_D=34]="KEY_D",G[G.KEY_E=35]="KEY_E",G[G.KEY_F=36]="KEY_F",G[G.KEY_G=37]="KEY_G",G[G.KEY_H=38]="KEY_H",G[G.KEY_I=39]="KEY_I",G[G.KEY_J=40]="KEY_J",G[G.KEY_K=41]="KEY_K",G[G.KEY_L=42]="KEY_L",G[G.KEY_M=43]="KEY_M",G[G.KEY_N=44]="KEY_N",G[G.KEY_O=45]="KEY_O",G[G.KEY_P=46]="KEY_P",G[G.KEY_Q=47]="KEY_Q",G[G.KEY_R=48]="KEY_R",G[G.KEY_S=49]="KEY_S",G[G.KEY_T=50]="KEY_T",G[G.KEY_U=51]="KEY_U",G[G.KEY_V=52]="KEY_V",G[G.KEY_W=53]="KEY_W",G[G.KEY_X=54]="KEY_X",G[G.KEY_Y=55]="KEY_Y",G[G.KEY_Z=56]="KEY_Z",G[G.Meta=57]="Meta",G[G.ContextMenu=58]="ContextMenu",G[G.F1=59]="F1",G[G.F2=60]="F2",G[G.F3=61]="F3",G[G.F4=62]="F4",G[G.F5=63]="F5",G[G.F6=64]="F6",G[G.F7=65]="F7",G[G.F8=66]="F8",G[G.F9=67]="F9",G[G.F10=68]="F10",G[G.F11=69]="F11",G[G.F12=70]="F12",G[G.F13=71]="F13",G[G.F14=72]="F14",G[G.F15=73]="F15",G[G.F16=74]="F16",G[G.F17=75]="F17",G[G.F18=76]="F18",G[G.F19=77]="F19",G[G.NumLock=78]="NumLock",G[G.ScrollLock=79]="ScrollLock",G[G.US_SEMICOLON=80]="US_SEMICOLON",G[G.US_EQUAL=81]="US_EQUAL",G[G.US_COMMA=82]="US_COMMA",G[G.US_MINUS=83]="US_MINUS",G[G.US_DOT=84]="US_DOT",G[G.US_SLASH=85]="US_SLASH",G[G.US_BACKTICK=86]="US_BACKTICK",G[G.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",G[G.US_BACKSLASH=88]="US_BACKSLASH",G[G.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",G[G.US_QUOTE=90]="US_QUOTE",G[G.OEM_8=91]="OEM_8",G[G.OEM_102=92]="OEM_102",G[G.NUMPAD_0=93]="NUMPAD_0",G[G.NUMPAD_1=94]="NUMPAD_1",G[G.NUMPAD_2=95]="NUMPAD_2",G[G.NUMPAD_3=96]="NUMPAD_3",G[G.NUMPAD_4=97]="NUMPAD_4",G[G.NUMPAD_5=98]="NUMPAD_5",G[G.NUMPAD_6=99]="NUMPAD_6",G[G.NUMPAD_7=100]="NUMPAD_7",G[G.NUMPAD_8=101]="NUMPAD_8",G[G.NUMPAD_9=102]="NUMPAD_9",G[G.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",G[G.NUMPAD_ADD=104]="NUMPAD_ADD",G[G.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",G[G.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",G[G.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",G[G.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",G[G.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",G[G.ABNT_C1=110]="ABNT_C1",G[G.ABNT_C2=111]="ABNT_C2",G[G.MAX_VALUE=112]="MAX_VALUE"}(k||(k={})),function(G){G[G.Hint=1]="Hint",G[G.Info=2]="Info",G[G.Warning=4]="Warning",G[G.Error=8]="Error"}(w||(w={})),function(G){G[G.Unnecessary=1]="Unnecessary",G[G.Deprecated=2]="Deprecated"}(x||(x={})),function(G){G[G.Inline=1]="Inline",G[G.Gutter=2]="Gutter"}(u||(u={})),function(G){G[G.UNKNOWN=0]="UNKNOWN",G[G.TEXTAREA=1]="TEXTAREA",G[G.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",G[G.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",G[G.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",G[G.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",G[G.CONTENT_TEXT=6]="CONTENT_TEXT",G[G.CONTENT_EMPTY=7]="CONTENT_EMPTY",G[G.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",G[G.CONTENT_WIDGET=9]="CONTENT_WIDGET",G[G.OVERVIEW_RULER=10]="OVERVIEW_RULER",G[G.SCROLLBAR=11]="SCROLLBAR",G[G.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",G[G.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(A||(A={})),function(G){G[G.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",G[G.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",G[G.TOP_CENTER=2]="TOP_CENTER"}(U||(U={})),function(G){G[G.Left=1]="Left",G[G.Center=2]="Center",G[G.Right=4]="Right",G[G.Full=7]="Full"}(da||(da={})),function(G){G[G.Off=0]="Off",G[G.On=1]="On",G[G.Relative=2]="Relative",G[G.Interval=3]="Interval",G[G.Custom=4]="Custom"}(Z||(Z={})),function(G){G[G.None=0]="None",G[G.Text=1]="Text",G[G.Blocks=2]="Blocks"}(H||(H={})),function(G){G[G.Smooth=0]="Smooth",G[G.Immediate=1]="Immediate"}(ea||(ea={})),function(G){G[G.Auto=1]="Auto",G[G.Hidden=2]="Hidden",G[G.Visible=3]="Visible"}(oa||(oa={})),function(G){G[G.LTR=0]="LTR",G[G.RTL=1]="RTL"}(ga||(ga={})),function(G){G[G.Invoke=1]="Invoke",G[G.TriggerCharacter=2]="TriggerCharacter",G[G.ContentChange=3]="ContentChange"}(Ba||(Ba={})),function(G){G[G.File=0]="File",G[G.Module=1]="Module",G[G.Namespace=2]="Namespace",G[G.Package=3]="Package",G[G.Class=4]="Class",G[G.Method=5]="Method",G[G.Property=6]="Property",G[G.Field=7]="Field",G[G.Constructor=8]="Constructor",G[G.Enum=9]="Enum",G[G.Interface=10]="Interface",G[G.Function=11]="Function",G[G.Variable=12]="Variable",G[G.Constant=13]="Constant",G[G.String=14]="String",G[G.Number=15]="Number",G[G.Boolean=16]="Boolean",G[G.Array=17]="Array",G[G.Object=18]="Object",G[G.Key=19]="Key",G[G.Null=20]="Null",G[G.EnumMember=21]="EnumMember",G[G.Struct=22]="Struct",G[G.Event=23]="Event",G[G.Operator=24]="Operator",G[G.TypeParameter=25]="TypeParameter"}(N||(N={})),function(G){G[G.Deprecated=1]="Deprecated"}(V||(V={})),function(G){G[G.Hidden=0]="Hidden",G[G.Blink=1]="Blink",G[G.Smooth=2]="Smooth",G[G.Phase=3]="Phase",G[G.Expand=4]="Expand",G[G.Solid=5]="Solid"}(ma||(ma={})),function(G){G[G.Line=1]="Line",G[G.Block=2]="Block",G[G.Underline=3]="Underline",G[G.LineThin=4]="LineThin",G[G.BlockOutline=5]="BlockOutline",G[G.UnderlineThin=6]="UnderlineThin"}(ta||(ta={})),function(G){G[G.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",G[G.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",G[G.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",G[G.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(Da||(Da={})),function(G){G[G.None=0]="None",G[G.Same=1]="Same",G[G.Indent=2]="Indent",G[G.DeepIndent=3]="DeepIndent"}(Ka||(Ka={}))},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("codeEditorService")},function(Ga,t,f){"use strict";f.d(t,"i",function(){return s}),f.d(t,"e",function(){return z}),f.d(t,"d",function(){return D}),f.d(t,"g",function(){return Q}),f.d(t,"f",function(){return B}),f.d(t,"b",function(){return C}),f.d(t,"a",function(){return k}),f.d(t,"c",function(){return w}),f.d(t,"h",function(){return x});var l=f(28);class q extends Error{constructor(u,A,U){let da;"string"==typeof A&&0===A.indexOf("not ")?(da="must not be",A=A.replace(/^not /,"")):da="must be";const Z=-1!==u.indexOf(".")?"property":"argument";let H=`The "${u}" ${Z} ${da} of type ${A}`;H+=". Received type "+typeof U,super(H),this.code="ERR_INVALID_ARG_TYPE"}}function y(u,A){if("string"!=typeof u)throw new q(A,"string",u)}function F(u){return 47===u||92===u}function P(u){return 47===u}function Y(u){return u>=65&&u<=90||u>=97&&u<=122}function R(u,A,U,da){let Z="",H=0,ea=-1,oa=0,ga=0;for(let Ba=0;Ba<=u.length;++Ba){if(Ba<u.length)ga=u.charCodeAt(Ba);else{if(da(ga))break;ga=47}if(da(ga)){if(!(ea===Ba-1||1===oa))if(2===oa){if(Z.length<2||2!==H||46!==Z.charCodeAt(Z.length-1)||46!==Z.charCodeAt(Z.length-2)){if(Z.length>2){const N=Z.lastIndexOf(U);-1===N?(Z="",H=0):(Z=Z.slice(0,N),H=Z.length-1-Z.lastIndexOf(U)),ea=Ba,oa=0;continue}if(0!==Z.length){Z="",H=0,ea=Ba,oa=0;continue}}A&&(Z+=Z.length>0?U+"..":"..",H=2)}else Z.length>0?Z+=`${U}${u.slice(ea+1,Ba)}`:Z=u.slice(ea+1,Ba),H=Ba-ea-1;ea=Ba,oa=0}else 46===ga&&-1!==oa?++oa:oa=-1}return Z}function L(u,A){if(null===A||"object"!=typeof A)throw new q("pathObject","Object",A);const U=A.dir||A.root,da=A.base||`${A.name||""}${A.ext||""}`;return U?U===A.root?`${U}${da}`:`${U}${u}${da}`:da}const s={resolve(...u){let A="",U="",da=!1;for(let Z=u.length-1;Z>=-1;Z--){let H;if(Z>=0){if(H=u[Z],y(H,"path"),0===H.length)continue}else 0===A.length?H=l.a():(H=l.b["="+A]||l.a(),(void 0===H||H.slice(0,2).toLowerCase()!==A.toLowerCase()&&92===H.charCodeAt(2))&&(H=A+"\\"));const ea=H.length;let oa=0,ga="",Ba=!1;const N=H.charCodeAt(0);if(1===ea)F(N)&&(oa=1,Ba=!0);else if(F(N))if(Ba=!0,F(H.charCodeAt(1))){let V=2,ma=V;for(;V<ea&&!F(H.charCodeAt(V));)V++;if(V<ea&&V!==ma){const ta=H.slice(ma,V);for(ma=V;V<ea&&F(H.charCodeAt(V));)V++;if(V<ea&&V!==ma){for(ma=V;V<ea&&!F(H.charCodeAt(V));)V++;V!==ea&&V===ma||(ga=`\\\\${ta}\\${H.slice(ma,V)}`,oa=V)}}}else oa=1;else Y(N)&&58===H.charCodeAt(1)&&(ga=H.slice(0,2),oa=2,ea>2&&F(H.charCodeAt(2))&&(Ba=!0,oa=3));if(ga.length>0)if(A.length>0){if(ga.toLowerCase()!==A.toLowerCase())continue}else A=ga;if(da){if(A.length>0)break}else if(U=`${H.slice(oa)}\\${U}`,da=Ba,Ba&&A.length>0)break}return U=R(U,!da,"\\",F),da?`${A}\\${U}`:`${A}${U}`||"."},normalize(u){y(u,"path");const A=u.length;if(0===A)return".";let U,da=0,Z=!1;const H=u.charCodeAt(0);if(1===A)return P(H)?"\\":u;if(F(H))if(Z=!0,F(u.charCodeAt(1))){let oa=2,ga=oa;for(;oa<A&&!F(u.charCodeAt(oa));)oa++;if(oa<A&&oa!==ga){const Ba=u.slice(ga,oa);for(ga=oa;oa<A&&F(u.charCodeAt(oa));)oa++;if(oa<A&&oa!==ga){for(ga=oa;oa<A&&!F(u.charCodeAt(oa));)oa++;if(oa===A)return`\\\\${Ba}\\${u.slice(ga)}\\`;oa!==ga&&(U=`\\\\${Ba}\\${u.slice(ga,oa)}`,da=oa)}}}else da=1;else Y(H)&&58===u.charCodeAt(1)&&(U=u.slice(0,2),da=2,A>2&&F(u.charCodeAt(2))&&(Z=!0,da=3));let ea=da<A?R(u.slice(da),!Z,"\\",F):"";return 0!==ea.length||Z||(ea="."),ea.length>0&&F(u.charCodeAt(A-1))&&(ea+="\\"),void 0===U?Z?"\\"+ea:ea:Z?`${U}\\${ea}`:`${U}${ea}`},isAbsolute(u){y(u,"path");const A=u.length;if(0===A)return!1;const U=u.charCodeAt(0);return F(U)||A>2&&Y(U)&&58===u.charCodeAt(1)&&F(u.charCodeAt(2))},join(...u){if(0===u.length)return".";let A,U;for(let H=0;H<u.length;++H){const ea=u[H];y(ea,"path"),ea.length>0&&(void 0===A?A=U=ea:A+="\\"+ea)}if(void 0===A)return".";let da=!0,Z=0;if("string"==typeof U&&F(U.charCodeAt(0))){++Z;const H=U.length;H>1&&F(U.charCodeAt(1))&&(++Z,H>2&&(F(U.charCodeAt(2))?++Z:da=!1))}if(da){for(;Z<A.length&&F(A.charCodeAt(Z));)Z++;Z>=2&&(A="\\"+A.slice(Z))}return s.normalize(A)},relative(u,A){if(y(u,"from"),y(A,"to"),u===A)return"";const U=s.resolve(u),da=s.resolve(A);if(U===da)return"";if((u=U.toLowerCase())===(A=da.toLowerCase()))return"";let Z=0;for(;Z<u.length&&92===u.charCodeAt(Z);)Z++;let H=u.length;for(;H-1>Z&&92===u.charCodeAt(H-1);)H--;const ea=H-Z;let oa=0;for(;oa<A.length&&92===A.charCodeAt(oa);)oa++;let ga=A.length;for(;ga-1>oa&&92===A.charCodeAt(ga-1);)ga--;const Ba=ga-oa,N=ea<Ba?ea:Ba;let V=-1,ma=0;for(;ma<N;ma++){const Da=u.charCodeAt(Z+ma);if(Da!==A.charCodeAt(oa+ma))break;92===Da&&(V=ma)}if(ma!==N){if(-1===V)return da}else{if(Ba>N){if(92===A.charCodeAt(oa+ma))return da.slice(oa+ma+1);if(2===ma)return da.slice(oa+ma)}ea>N&&(92===u.charCodeAt(Z+ma)?V=ma:2===ma&&(V=3)),-1===V&&(V=0)}let ta="";for(ma=Z+V+1;ma<=H;++ma)ma!==H&&92!==u.charCodeAt(ma)||(ta+=0===ta.length?"..":"\\..");return oa+=V,ta.length>0?`${ta}${da.slice(oa,ga)}`:(92===da.charCodeAt(oa)&&++oa,da.slice(oa,ga))},toNamespacedPath(u){if("string"!=typeof u)return u;if(0===u.length)return"";const A=s.resolve(u);if(A.length<=2)return u;if(92===A.charCodeAt(0)){if(92===A.charCodeAt(1)){const U=A.charCodeAt(2);if(63!==U&&46!==U)return"\\\\?\\UNC\\"+A.slice(2)}}else if(Y(A.charCodeAt(0))&&58===A.charCodeAt(1)&&92===A.charCodeAt(2))return"\\\\?\\"+A;return u},dirname(u){y(u,"path");const A=u.length;if(0===A)return".";let U=-1,da=0;const Z=u.charCodeAt(0);if(1===A)return F(Z)?u:".";if(F(Z)){if(U=da=1,F(u.charCodeAt(1))){let oa=2,ga=oa;for(;oa<A&&!F(u.charCodeAt(oa));)oa++;if(oa<A&&oa!==ga){for(ga=oa;oa<A&&F(u.charCodeAt(oa));)oa++;if(oa<A&&oa!==ga){for(ga=oa;oa<A&&!F(u.charCodeAt(oa));)oa++;if(oa===A)return u;oa!==ga&&(U=da=oa+1)}}}}else Y(Z)&&58===u.charCodeAt(1)&&(U=A>2&&F(u.charCodeAt(2))?3:2,da=U);let H=-1,ea=!0;for(let oa=A-1;oa>=da;--oa)if(F(u.charCodeAt(oa))){if(!ea){H=oa;break}}else ea=!1;if(-1===H){if(-1===U)return".";H=U}return u.slice(0,H)},basename(u,A){void 0!==A&&y(A,"ext"),y(u,"path");let U,da=0,Z=-1,H=!0;if(u.length>=2&&Y(u.charCodeAt(0))&&58===u.charCodeAt(1)&&(da=2),void 0!==A&&A.length>0&&A.length<=u.length){if(A===u)return"";let ea=A.length-1,oa=-1;for(U=u.length-1;U>=da;--U){const ga=u.charCodeAt(U);if(F(ga)){if(!H){da=U+1;break}}else-1===oa&&(H=!1,oa=U+1),ea>=0&&(ga===A.charCodeAt(ea)?-1==--ea&&(Z=U):(ea=-1,Z=oa))}return da===Z?Z=oa:-1===Z&&(Z=u.length),u.slice(da,Z)}for(U=u.length-1;U>=da;--U)if(F(u.charCodeAt(U))){if(!H){da=U+1;break}}else-1===Z&&(H=!1,Z=U+1);return-1===Z?"":u.slice(da,Z)},extname(u){y(u,"path");let A=0,U=-1,da=0,Z=-1,H=!0,ea=0;u.length>=2&&58===u.charCodeAt(1)&&Y(u.charCodeAt(0))&&(A=da=2);for(let oa=u.length-1;oa>=A;--oa){const ga=u.charCodeAt(oa);if(F(ga)){if(!H){da=oa+1;break}}else-1===Z&&(H=!1,Z=oa+1),46===ga?-1===U?U=oa:1!==ea&&(ea=1):-1!==U&&(ea=-1)}return-1===U||-1===Z||0===ea||1===ea&&U===Z-1&&U===da+1?"":u.slice(U,Z)},format:L.bind(null,"\\"),parse(u){y(u,"path");const A={root:"",dir:"",base:"",ext:"",name:""};if(0===u.length)return A;const U=u.length;let da=0,Z=u.charCodeAt(0);if(1===U)return F(Z)?(A.root=A.dir=u,A):(A.base=A.name=u,A);if(F(Z)){if(da=1,F(u.charCodeAt(1))){let V=2,ma=V;for(;V<U&&!F(u.charCodeAt(V));)V++;if(V<U&&V!==ma){for(ma=V;V<U&&F(u.charCodeAt(V));)V++;if(V<U&&V!==ma){for(ma=V;V<U&&!F(u.charCodeAt(V));)V++;V===U?da=V:V!==ma&&(da=V+1)}}}}else if(Y(Z)&&58===u.charCodeAt(1)){if(U<=2)return A.root=A.dir=u,A;if(da=2,F(u.charCodeAt(2))){if(3===U)return A.root=A.dir=u,A;da=3}}da>0&&(A.root=u.slice(0,da));let H=-1,ea=da,oa=-1,ga=!0,Ba=u.length-1,N=0;for(;Ba>=da;--Ba)if(Z=u.charCodeAt(Ba),F(Z)){if(!ga){ea=Ba+1;break}}else-1===oa&&(ga=!1,oa=Ba+1),46===Z?-1===H?H=Ba:1!==N&&(N=1):-1!==H&&(N=-1);return-1!==oa&&(-1===H||0===N||1===N&&H===oa-1&&H===ea+1?A.base=A.name=u.slice(ea,oa):(A.name=u.slice(ea,H),A.base=u.slice(ea,oa),A.ext=u.slice(H,oa))),A.dir=ea>0&&ea!==da?u.slice(0,ea-1):A.root,A},sep:"\\",delimiter:";",win32:null,posix:null},z={resolve(...u){let A="",U=!1;for(let da=u.length-1;da>=-1&&!U;da--){const Z=da>=0?u[da]:l.a();y(Z,"path"),0!==Z.length&&(A=`${Z}/${A}`,U=47===Z.charCodeAt(0))}return A=R(A,!U,"/",P),U?"/"+A:A.length>0?A:"."},normalize(u){if(y(u,"path"),0===u.length)return".";const A=47===u.charCodeAt(0),U=47===u.charCodeAt(u.length-1);return 0===(u=R(u,!A,"/",P)).length?A?"/":U?"./":".":(U&&(u+="/"),A?"/"+u:u)},isAbsolute:u=>(y(u,"path"),u.length>0&&47===u.charCodeAt(0)),join(...u){if(0===u.length)return".";let A;for(let U=0;U<u.length;++U){const da=u[U];y(da,"path"),da.length>0&&(void 0===A?A=da:A+="/"+da)}return void 0===A?".":z.normalize(A)},relative(u,A){if(y(u,"from"),y(A,"to"),u===A)return"";if((u=z.resolve(u))===(A=z.resolve(A)))return"";const U=u.length,da=U-1,Z=A.length-1,H=da<Z?da:Z;let ea=-1,oa=0;for(;oa<H;oa++){const Ba=u.charCodeAt(1+oa);if(Ba!==A.charCodeAt(1+oa))break;47===Ba&&(ea=oa)}if(oa===H)if(Z>H){if(47===A.charCodeAt(1+oa))return A.slice(1+oa+1);if(0===oa)return A.slice(1+oa)}else da>H&&(47===u.charCodeAt(1+oa)?ea=oa:0===oa&&(ea=0));let ga="";for(oa=1+ea+1;oa<=U;++oa)oa!==U&&47!==u.charCodeAt(oa)||(ga+=0===ga.length?"..":"/..");return`${ga}${A.slice(1+ea)}`},toNamespacedPath:u=>u,dirname(u){if(y(u,"path"),0===u.length)return".";const A=47===u.charCodeAt(0);let U=-1,da=!0;for(let Z=u.length-1;Z>=1;--Z)if(47===u.charCodeAt(Z)){if(!da){U=Z;break}}else da=!1;return-1===U?A?"/":".":A&&1===U?"//":u.slice(0,U)},basename(u,A){void 0!==A&&y(A,"ext"),y(u,"path");let U,da=0,Z=-1,H=!0;if(void 0!==A&&A.length>0&&A.length<=u.length){if(A===u)return"";let ea=A.length-1,oa=-1;for(U=u.length-1;U>=0;--U){const ga=u.charCodeAt(U);if(47===ga){if(!H){da=U+1;break}}else-1===oa&&(H=!1,oa=U+1),ea>=0&&(ga===A.charCodeAt(ea)?-1==--ea&&(Z=U):(ea=-1,Z=oa))}return da===Z?Z=oa:-1===Z&&(Z=u.length),u.slice(da,Z)}for(U=u.length-1;U>=0;--U)if(47===u.charCodeAt(U)){if(!H){da=U+1;break}}else-1===Z&&(H=!1,Z=U+1);return-1===Z?"":u.slice(da,Z)},extname(u){y(u,"path");let A=-1,U=0,da=-1,Z=!0,H=0;for(let ea=u.length-1;ea>=0;--ea){const oa=u.charCodeAt(ea);if(47!==oa)-1===da&&(Z=!1,da=ea+1),46===oa?-1===A?A=ea:1!==H&&(H=1):-1!==A&&(H=-1);else if(!Z){U=ea+1;break}}return-1===A||-1===da||0===H||1===H&&A===da-1&&A===U+1?"":u.slice(A,da)},format:L.bind(null,"/"),parse(u){y(u,"path");const A={root:"",dir:"",base:"",ext:"",name:""};if(0===u.length)return A;const U=47===u.charCodeAt(0);let da;U?(A.root="/",da=1):da=0;let Z=-1,H=0,ea=-1,oa=!0,ga=u.length-1,Ba=0;for(;ga>=da;--ga){const N=u.charCodeAt(ga);if(47!==N)-1===ea&&(oa=!1,ea=ga+1),46===N?-1===Z?Z=ga:1!==Ba&&(Ba=1):-1!==Z&&(Ba=-1);else if(!oa){H=ga+1;break}}if(-1!==ea){const N=0===H&&U?1:H;-1===Z||0===Ba||1===Ba&&Z===ea-1&&Z===H+1?A.base=A.name=u.slice(N,ea):(A.name=u.slice(N,Z),A.base=u.slice(N,ea),A.ext=u.slice(Z,ea))}return H>0?A.dir=u.slice(0,H-1):U&&(A.dir="/"),A},sep:"/",delimiter:":",win32:null,posix:null};z.win32=s.win32=s,z.posix=s.posix=z;const D="win32"===l.c?s.normalize:z.normalize,Q="win32"===l.c?s.resolve:z.resolve,B="win32"===l.c?s.relative:z.relative,C="win32"===l.c?s.dirname:z.dirname,k="win32"===l.c?s.basename:z.basename,w="win32"===l.c?s.extname:z.extname,x="win32"===l.c?s.sep:z.sep},function(Ga,t,f){"use strict";f.d(t,"b",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"f",function(){return L}),f.d(t,"e",function(){return z}),f.d(t,"d",function(){return Q}),f.d(t,"c",function(){return B});var l=f(13);class q{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(C,k){this._keyCodeToStr[C]=k,this._strToKeyCode[k.toLowerCase()]=C}keyCodeToStr(C){return this._keyCodeToStr[C]}strToKeyCode(C){return this._strToKeyCode[C.toLowerCase()]||0}}const y=new q(),F=new q(),P=new q();var Y;function R(C,k){return(C|(65535&k)<<16>>>0)>>>0}function L(C,k){if(0===C)return null;const w=(65535&C)>>>0,x=(4294901760&C)>>>16;return new D(0!==x?[s(w,k),s(x,k)]:[s(w,k)])}function s(C,k){const w=!!(2048&C),x=!!(256&C);return new z(2===k?x:w,!!(1024&C),!!(512&C),2===k?w:x,255&C)}!function(){function C(k,w,x=w,u=x){y.define(k,w),F.define(k,x),P.define(k,u)}C(0,"unknown"),C(1,"Backspace"),C(2,"Tab"),C(3,"Enter"),C(4,"Shift"),C(5,"Ctrl"),C(6,"Alt"),C(7,"PauseBreak"),C(8,"CapsLock"),C(9,"Escape"),C(10,"Space"),C(11,"PageUp"),C(12,"PageDown"),C(13,"End"),C(14,"Home"),C(15,"LeftArrow","Left"),C(16,"UpArrow","Up"),C(17,"RightArrow","Right"),C(18,"DownArrow","Down"),C(19,"Insert"),C(20,"Delete"),C(21,"0"),C(22,"1"),C(23,"2"),C(24,"3"),C(25,"4"),C(26,"5"),C(27,"6"),C(28,"7"),C(29,"8"),C(30,"9"),C(31,"A"),C(32,"B"),C(33,"C"),C(34,"D"),C(35,"E"),C(36,"F"),C(37,"G"),C(38,"H"),C(39,"I"),C(40,"J"),C(41,"K"),C(42,"L"),C(43,"M"),C(44,"N"),C(45,"O"),C(46,"P"),C(47,"Q"),C(48,"R"),C(49,"S"),C(50,"T"),C(51,"U"),C(52,"V"),C(53,"W"),C(54,"X"),C(55,"Y"),C(56,"Z"),C(57,"Meta"),C(58,"ContextMenu"),C(59,"F1"),C(60,"F2"),C(61,"F3"),C(62,"F4"),C(63,"F5"),C(64,"F6"),C(65,"F7"),C(66,"F8"),C(67,"F9"),C(68,"F10"),C(69,"F11"),C(70,"F12"),C(71,"F13"),C(72,"F14"),C(73,"F15"),C(74,"F16"),C(75,"F17"),C(76,"F18"),C(77,"F19"),C(78,"NumLock"),C(79,"ScrollLock"),C(80,";",";","OEM_1"),C(81,"=","=","OEM_PLUS"),C(82,",",",","OEM_COMMA"),C(83,"-","-","OEM_MINUS"),C(84,".",".","OEM_PERIOD"),C(85,"/","/","OEM_2"),C(86,"`","`","OEM_3"),C(110,"ABNT_C1"),C(111,"ABNT_C2"),C(87,"[","[","OEM_4"),C(88,"\\","\\","OEM_5"),C(89,"]","]","OEM_6"),C(90,"'","'","OEM_7"),C(91,"OEM_8"),C(92,"OEM_102"),C(93,"NumPad0"),C(94,"NumPad1"),C(95,"NumPad2"),C(96,"NumPad3"),C(97,"NumPad4"),C(98,"NumPad5"),C(99,"NumPad6"),C(100,"NumPad7"),C(101,"NumPad8"),C(102,"NumPad9"),C(103,"NumPad_Multiply"),C(104,"NumPad_Add"),C(105,"NumPad_Separator"),C(106,"NumPad_Subtract"),C(107,"NumPad_Decimal"),C(108,"NumPad_Divide")}(),function(C){C.toString=function(k){return y.keyCodeToStr(k)},C.fromString=function(k){return y.strToKeyCode(k)},C.toUserSettingsUS=function(k){return F.keyCodeToStr(k)},C.toUserSettingsGeneral=function(k){return P.keyCodeToStr(k)},C.fromUserSettings=function(k){return F.strToKeyCode(k)||P.strToKeyCode(k)}}(Y||(Y={}));class z{constructor(C,k,w,x,u){this.ctrlKey=C,this.shiftKey=k,this.altKey=w,this.metaKey=x,this.keyCode=u}equals(C){return this.ctrlKey===C.ctrlKey&&this.shiftKey===C.shiftKey&&this.altKey===C.altKey&&this.metaKey===C.metaKey&&this.keyCode===C.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new D([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class D{constructor(C){if(0===C.length)throw Object(l.b)("parts");this.parts=C}}class Q{constructor(C,k,w,x,u,A){this.ctrlKey=C,this.shiftKey=k,this.altKey=w,this.metaKey=x,this.keyLabel=u,this.keyAriaLabel=A}}class B{}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});var l=f(6);const q=(F,P,Y)=>{const R=s=>L.fire(s),L=new l.a({onFirstListenerAdd:()=>{F.addEventListener(P,R,Y)},onLastListenerRemove:()=>{F.removeEventListener(P,R,Y)}});return L.event};function y(F){return l.b.map(F,P=>(P.preventDefault(),P.stopPropagation(),P))}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return l}),f.d(t,"a",function(){return F});var l,q=f(23),y=f(11);!function(P){P.inMemory="inmemory",P.vscode="vscode",P.internal="private",P.walkThrough="walkThrough",P.walkThroughSnippet="walkThroughSnippet",P.http="http",P.https="https",P.file="file",P.mailto="mailto",P.untitled="untitled",P.data="data",P.command="command",P.vscodeRemote="vscode-remote",P.vscodeRemoteResource="vscode-remote-resource",P.userData="vscode-userdata",P.vscodeCustomEditor="vscode-custom-editor",P.vscodeNotebook="vscode-notebook",P.vscodeNotebookCell="vscode-notebook-cell",P.vscodeSettings="vscode-settings",P.webviewPanel="webview-panel",P.vscodeWebview="vscode-webview",P.vscodeWebviewResource="vscode-webview-resource",P.extension="extension"}(l||(l={}));const F=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(P){this._preferredWebSchema=P}rewrite(P){if(this._delegate)return this._delegate(P);const Y=P.authority;let R=this._hosts[Y];R&&-1!==R.indexOf(":")&&(R=`[${R}]`);const L=this._ports[Y],s=this._connectionTokens[Y];let z="path="+encodeURIComponent(P.path);return"string"==typeof s&&(z+="&tkn="+encodeURIComponent(s)),q.a.from({scheme:y.h?this._preferredWebSchema:l.vscodeRemoteResource,authority:`${R}:${L}`,path:"/vscode-remote-resource",query:z})}}()},function(Ga,t,f){"use strict";f.d(t,"c",function(){return q}),f.d(t,"d",function(){return y}),f.d(t,"b",function(){return P}),f.d(t,"g",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"e",function(){return L}),f.d(t,"f",function(){return s});var l=f(14);function q(z){if(!z||"object"!=typeof z)return z;if(z instanceof RegExp)return z;const D=Array.isArray(z)?[]:{};return Object.keys(z).forEach(Q=>{z[Q]&&"object"==typeof z[Q]?D[Q]=q(z[Q]):D[Q]=z[Q]}),D}function y(z){if(!z||"object"!=typeof z)return z;const D=[z];for(;D.length>0;){const Q=D.shift();Object.freeze(Q);for(const B in Q)if(F.call(Q,B)){const C=Q[B];"object"!=typeof C||Object.isFrozen(C)||D.push(C)}}return z}const F=Object.prototype.hasOwnProperty;function P(z,D){return function Q(B,C,k){if(Object(l.l)(B))return B;const w=C(B);if(void 0!==w)return w;if(Object(l.e)(B)){const x=[];for(const u of B)x.push(Q(u,C,k));return x}if(Object(l.i)(B)){if(k.has(B))throw new Error("Cannot clone recursive data-structure");k.add(B);const x={};for(let u in B)F.call(B,u)&&(x[u]=Q(B[u],C,k));return k.delete(B),x}return B}(z,D,new Set())}function Y(z,D,Q=!0){return Object(l.i)(z)?(Object(l.i)(D)&&Object.keys(D).forEach(B=>{B in z?Q&&(Object(l.i)(z[B])&&Object(l.i)(D[B])?Y(z[B],D[B],Q):z[B]=D[B]):z[B]=D[B]}),z):D}function R(z,...D){return D.forEach(Q=>Object.keys(Q).forEach(B=>z[B]=Q[B])),z}function L(z,D){if(z===D)return!0;if(null==z||null==D)return!1;if(typeof z!=typeof D)return!1;if("object"!=typeof z)return!1;if(Array.isArray(z)!==Array.isArray(D))return!1;let Q,B;if(Array.isArray(z)){if(z.length!==D.length)return!1;for(Q=0;Q<z.length;Q++)if(!L(z[Q],D[Q]))return!1}else{const C=[];for(B in z)C.push(B);C.sort();const k=[];for(B in D)k.push(B);if(k.sort(),!L(C,k))return!1;for(Q=0;Q<C.length;Q++)if(!L(z[C[Q]],D[C[Q]]))return!1}return!0}function s(z,D,Q){const B=D(z);return void 0===B?Q:B}},function(Ga,t,f){"use strict";var l=f(108);f.d(t,"a",function(){return l.b}),f.d(t,"b",function(){return l.e}),f.d(t,"c",function(){return l.h}),f.d(t,"d",function(){return l.l}),f.d(t,"e",function(){return l.m}),f.d(t,"f",function(){return l.n})},function(Ga,t,f){"use strict";var l;f.d(t,"g",function(){return qg}),f.d(t,"d",function(){return Cd}),f.d(t,"b",function(){return pe}),f.d(t,"a",function(){return Kd}),f.d(t,"e",function(){return Yd}),f.d(t,"c",function(){return Jf}),f.d(t,"f",function(){return mf}),f.d(t,"h",function(){return vj}),f.d(t,"j",function(){return wj}),f.d(t,"i",function(){return xj}),function(v){v[v.Ident=0]="Ident",v[v.AtKeyword=1]="AtKeyword",v[v.String=2]="String",v[v.BadString=3]="BadString",v[v.UnquotedString=4]="UnquotedString",v[v.Hash=5]="Hash",v[v.Num=6]="Num",v[v.Percentage=7]="Percentage",v[v.Dimension=8]="Dimension",v[v.UnicodeRange=9]="UnicodeRange",v[v.CDO=10]="CDO",v[v.CDC=11]="CDC",v[v.Colon=12]="Colon",v[v.SemiColon=13]="SemiColon",v[v.CurlyL=14]="CurlyL",v[v.CurlyR=15]="CurlyR",v[v.ParenthesisL=16]="ParenthesisL",v[v.ParenthesisR=17]="ParenthesisR",v[v.BracketL=18]="BracketL",v[v.BracketR=19]="BracketR",v[v.Whitespace=20]="Whitespace",v[v.Includes=21]="Includes",v[v.Dashmatch=22]="Dashmatch",v[v.SubstringOperator=23]="SubstringOperator",v[v.PrefixOperator=24]="PrefixOperator",v[v.SuffixOperator=25]="SuffixOperator",v[v.Delim=26]="Delim",v[v.EMS=27]="EMS",v[v.EXS=28]="EXS",v[v.Length=29]="Length",v[v.Angle=30]="Angle",v[v.Time=31]="Time",v[v.Freq=32]="Freq",v[v.Exclamation=33]="Exclamation",v[v.Resolution=34]="Resolution",v[v.Comma=35]="Comma",v[v.Charset=36]="Charset",v[v.EscapedJavaScript=37]="EscapedJavaScript",v[v.BadEscapedJavaScript=38]="BadEscapedJavaScript",v[v.Comment=39]="Comment",v[v.SingleLineComment=40]="SingleLineComment",v[v.EOF=41]="EOF",v[v.CustomToken=42]="CustomToken"}(l||(l={}));var q=function(){function v(j){this.source=j,this.len=j.length,this.position=0}return v.prototype.substring=function(j,m){return void 0===m&&(m=this.position),this.source.substring(j,m)},v.prototype.eos=function(){return this.len<=this.position},v.prototype.pos=function(){return this.position},v.prototype.goBackTo=function(j){this.position=j},v.prototype.goBack=function(j){this.position-=j},v.prototype.advance=function(j){this.position+=j},v.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},v.prototype.peekChar=function(j){return void 0===j&&(j=0),this.source.charCodeAt(this.position+j)||0},v.prototype.lookbackChar=function(j){return void 0===j&&(j=0),this.source.charCodeAt(this.position-j)||0},v.prototype.advanceIfChar=function(j){return j===this.source.charCodeAt(this.position)&&(this.position++,!0)},v.prototype.advanceIfChars=function(j){if(this.position+j.length>this.source.length)return!1;for(var m=0;m<j.length;m++)if(this.source.charCodeAt(this.position+m)!==j[m])return!1;return this.advance(m),!0},v.prototype.advanceWhileChar=function(j){for(var m=this.position;this.position<this.len&&j(this.source.charCodeAt(this.position));)this.position++;return this.position-m},v}(),y="a".charCodeAt(0),F="f".charCodeAt(0),P="z".charCodeAt(0),Y="A".charCodeAt(0),R="F".charCodeAt(0),L="Z".charCodeAt(0),s="0".charCodeAt(0),z="9".charCodeAt(0),D="~".charCodeAt(0),Q="^".charCodeAt(0),B="=".charCodeAt(0),C="|".charCodeAt(0),k="-".charCodeAt(0),w="_".charCodeAt(0),x="%".charCodeAt(0),u="*".charCodeAt(0),A="(".charCodeAt(0),U=")".charCodeAt(0),da="<".charCodeAt(0),Z=">".charCodeAt(0),H="@".charCodeAt(0),ea="#".charCodeAt(0),oa="$".charCodeAt(0),ga="\\".charCodeAt(0),Ba="/".charCodeAt(0),N=` -`.charCodeAt(0),V="\r".charCodeAt(0),ma="\f".charCodeAt(0),ta='"'.charCodeAt(0),Da="'".charCodeAt(0),Ka=" ".charCodeAt(0),G=" ".charCodeAt(0),hb=";".charCodeAt(0),_a=":".charCodeAt(0),fb="{".charCodeAt(0),za="}".charCodeAt(0),ua="[".charCodeAt(0),ba="]".charCodeAt(0),$=",".charCodeAt(0),S=".".charCodeAt(0),aa="!".charCodeAt(0),_={};_[hb]=l.SemiColon,_[_a]=l.Colon,_[fb]=l.CurlyL,_[za]=l.CurlyR,_[ba]=l.BracketR,_[ua]=l.BracketL,_[A]=l.ParenthesisL,_[U]=l.ParenthesisR,_[$]=l.Comma;var I={};I.em=l.EMS,I.ex=l.EXS,I.px=l.Length,I.cm=l.Length,I.mm=l.Length,I.in=l.Length,I.pt=l.Length,I.pc=l.Length,I.deg=l.Angle,I.rad=l.Angle,I.grad=l.Angle,I.ms=l.Time,I.s=l.Time,I.hz=l.Freq,I.khz=l.Freq,I["%"]=l.Percentage,I.fr=l.Percentage,I.dpi=l.Resolution,I.dpcm=l.Resolution;var ka=function(){function v(){this.stream=new q(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return v.prototype.setSource=function(j){this.stream=new q(j)},v.prototype.finishToken=function(j,m,M){return{offset:j,len:this.stream.pos()-j,type:m,text:M||this.stream.substring(j)}},v.prototype.substring=function(j,m){return this.stream.substring(j,j+m)},v.prototype.pos=function(){return this.stream.pos()},v.prototype.goBackTo=function(j){this.stream.goBackTo(j)},v.prototype.scanUnquotedString=function(){var j=this.stream.pos(),m=[];return this._unquotedString(m)?this.finishToken(j,l.UnquotedString,m.join("")):null},v.prototype.scan=function(){var j=this.trivia();if(null!==j)return j;var m=this.stream.pos();return this.stream.eos()?this.finishToken(m,l.EOF):this.scanNext(m)},v.prototype.scanNext=function(j){if(this.stream.advanceIfChars([da,aa,k,k]))return this.finishToken(j,l.CDO);if(this.stream.advanceIfChars([k,k,Z]))return this.finishToken(j,l.CDC);var m=[];if(this.ident(m))return this.finishToken(j,l.Ident,m.join(""));if(this.stream.advanceIfChar(H)){if(m=["@"],this._name(m)){var M=m.join("");return"@charset"===M?this.finishToken(j,l.Charset,M):this.finishToken(j,l.AtKeyword,M)}return this.finishToken(j,l.Delim)}if(this.stream.advanceIfChar(ea))return m=["#"],this._name(m)?this.finishToken(j,l.Hash,m.join("")):this.finishToken(j,l.Delim);if(this.stream.advanceIfChar(aa))return this.finishToken(j,l.Exclamation);if(this._number()){var na=this.stream.pos();if(m=[this.stream.substring(j,na)],this.stream.advanceIfChar(x))return this.finishToken(j,l.Percentage);if(this.ident(m)){var Ua=this.stream.substring(na).toLowerCase(),Za=I[Ua];return void 0!==Za?this.finishToken(j,Za,m.join("")):this.finishToken(j,l.Dimension,m.join(""))}return this.finishToken(j,l.Num)}m=[];var Kb=this._string(m);return null!==Kb?this.finishToken(j,Kb,m.join("")):void 0!==(Kb=_[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(j,Kb)):this.stream.peekChar(0)===D&&this.stream.peekChar(1)===B?(this.stream.advance(2),this.finishToken(j,l.Includes)):this.stream.peekChar(0)===C&&this.stream.peekChar(1)===B?(this.stream.advance(2),this.finishToken(j,l.Dashmatch)):this.stream.peekChar(0)===u&&this.stream.peekChar(1)===B?(this.stream.advance(2),this.finishToken(j,l.SubstringOperator)):this.stream.peekChar(0)===Q&&this.stream.peekChar(1)===B?(this.stream.advance(2),this.finishToken(j,l.PrefixOperator)):this.stream.peekChar(0)===oa&&this.stream.peekChar(1)===B?(this.stream.advance(2),this.finishToken(j,l.SuffixOperator)):(this.stream.nextChar(),this.finishToken(j,l.Delim))},v.prototype.trivia=function(){for(;;){var j=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(j,l.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(j,l.Comment)}}},v.prototype.comment=function(){if(this.stream.advanceIfChars([Ba,u])){var j=!1,m=!1;return this.stream.advanceWhileChar(function(M){return m&&M===Ba?(j=!0,!1):(m=M===u,!0)}),j&&this.stream.advance(1),!0}return!1},v.prototype._number=function(){var j,m=0;return this.stream.peekChar()===S&&(m=1),(j=this.stream.peekChar(m))>=s&&j<=z&&(this.stream.advance(m+1),this.stream.advanceWhileChar(function(M){return M>=s&&M<=z||0===m&&M===S}),!0)},v.prototype._newline=function(j){var m=this.stream.peekChar();switch(m){case V:case ma:case N:return this.stream.advance(1),j.push(String.fromCharCode(m)),m===V&&this.stream.advanceIfChar(N)&&j.push(` -`),!0}return!1},v.prototype._escape=function(j,m){var M=this.stream.peekChar();if(M===ga){this.stream.advance(1),M=this.stream.peekChar();for(var na=0;na<6&&(M>=s&&M<=z||M>=y&&M<=F||M>=Y&&M<=R);)this.stream.advance(1),M=this.stream.peekChar(),na++;if(na>0){try{var Ua=parseInt(this.stream.substring(this.stream.pos()-na),16);Ua&&j.push(String.fromCharCode(Ua))}catch(Za){}return M===Ka||M===G?this.stream.advance(1):this._newline([]),!0}if(M!==V&&M!==ma&&M!==N)return this.stream.advance(1),j.push(String.fromCharCode(M)),!0;if(m)return this._newline(j)}return!1},v.prototype._stringChar=function(j,m){var M=this.stream.peekChar();return 0!==M&&M!==j&&M!==ga&&M!==V&&M!==ma&&M!==N&&(this.stream.advance(1),m.push(String.fromCharCode(M)),!0)},v.prototype._string=function(j){if(this.stream.peekChar()===Da||this.stream.peekChar()===ta){var m=this.stream.nextChar();for(j.push(String.fromCharCode(m));this._stringChar(m,j)||this._escape(j,!0););return this.stream.peekChar()===m?(this.stream.nextChar(),j.push(String.fromCharCode(m)),l.String):l.BadString}return null},v.prototype._unquotedChar=function(j){var m=this.stream.peekChar();return 0!==m&&m!==ga&&m!==Da&&m!==ta&&m!==A&&m!==U&&m!==Ka&&m!==G&&m!==N&&m!==ma&&m!==V&&(this.stream.advance(1),j.push(String.fromCharCode(m)),!0)},v.prototype._unquotedString=function(j){for(var m=!1;this._unquotedChar(j)||this._escape(j);)m=!0;return m},v.prototype._whitespace=function(){return this.stream.advanceWhileChar(function(j){return j===Ka||j===G||j===N||j===ma||j===V})>0},v.prototype._name=function(j){for(var m=!1;this._identChar(j)||this._escape(j);)m=!0;return m},v.prototype.ident=function(j){var m=this.stream.pos();if(this._minus(j)&&this._minus(j)){if(this._identFirstChar(j)||this._escape(j)){for(;this._identChar(j)||this._escape(j););return!0}}else if(this._identFirstChar(j)||this._escape(j)){for(;this._identChar(j)||this._escape(j););return!0}return this.stream.goBackTo(m),!1},v.prototype._identFirstChar=function(j){var m=this.stream.peekChar();return(m===w||m>=y&&m<=P||m>=Y&&m<=L||m>=128&&m<=65535)&&(this.stream.advance(1),j.push(String.fromCharCode(m)),!0)},v.prototype._minus=function(j){var m=this.stream.peekChar();return m===k&&(this.stream.advance(1),j.push(String.fromCharCode(m)),!0)},v.prototype._identChar=function(j){var m=this.stream.peekChar();return(m===w||m===k||m>=y&&m<=P||m>=Y&&m<=L||m>=s&&m<=z||m>=128&&m<=65535)&&(this.stream.advance(1),j.push(String.fromCharCode(m)),!0)},v}();function va(v,j){if(v.length<j.length)return!1;for(var m=0;m<j.length;m++)if(v[m]!==j[m])return!1;return!0}function La(v,j){var m=v.length-j.length;return m>0?v.lastIndexOf(j)===m:0===m&&v===j}function $a(v,j){return void 0===j&&(j=!0),v?v.length<140?v:v.slice(0,140)+(j?"…":""):""}var Ab,gb,Fb,wb=(Ab=function(v,j){return(Ab=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,M){m.__proto__=M}||function(m,M){for(var na in M)M.hasOwnProperty(na)&&(m[na]=M[na])})(v,j)},function(v,j){function m(){this.constructor=v}Ab(v,j),v.prototype=null===j?Object.create(j):(m.prototype=j.prototype,new m())});function tc(v,j){var m=null;return!v||j<v.offset||j>v.end?null:(v.accept(function(M){return-1===M.offset&&-1===M.length||M.offset<=j&&M.end>=j&&(m?M.length<=m.length&&(m=M):m=M,!0)}),m)}function rb(v,j){for(var m=tc(v,j),M=[];m;)M.unshift(m),m=m.parent;return M}!function(v){v[v.Undefined=0]="Undefined",v[v.Identifier=1]="Identifier",v[v.Stylesheet=2]="Stylesheet",v[v.Ruleset=3]="Ruleset",v[v.Selector=4]="Selector",v[v.SimpleSelector=5]="SimpleSelector",v[v.SelectorInterpolation=6]="SelectorInterpolation",v[v.SelectorCombinator=7]="SelectorCombinator",v[v.SelectorCombinatorParent=8]="SelectorCombinatorParent",v[v.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",v[v.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",v[v.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",v[v.Page=12]="Page",v[v.PageBoxMarginBox=13]="PageBoxMarginBox",v[v.ClassSelector=14]="ClassSelector",v[v.IdentifierSelector=15]="IdentifierSelector",v[v.ElementNameSelector=16]="ElementNameSelector",v[v.PseudoSelector=17]="PseudoSelector",v[v.AttributeSelector=18]="AttributeSelector",v[v.Declaration=19]="Declaration",v[v.Declarations=20]="Declarations",v[v.Property=21]="Property",v[v.Expression=22]="Expression",v[v.BinaryExpression=23]="BinaryExpression",v[v.Term=24]="Term",v[v.Operator=25]="Operator",v[v.Value=26]="Value",v[v.StringLiteral=27]="StringLiteral",v[v.URILiteral=28]="URILiteral",v[v.EscapedValue=29]="EscapedValue",v[v.Function=30]="Function",v[v.NumericValue=31]="NumericValue",v[v.HexColorValue=32]="HexColorValue",v[v.MixinDeclaration=33]="MixinDeclaration",v[v.MixinReference=34]="MixinReference",v[v.VariableName=35]="VariableName",v[v.VariableDeclaration=36]="VariableDeclaration",v[v.Prio=37]="Prio",v[v.Interpolation=38]="Interpolation",v[v.NestedProperties=39]="NestedProperties",v[v.ExtendsReference=40]="ExtendsReference",v[v.SelectorPlaceholder=41]="SelectorPlaceholder",v[v.Debug=42]="Debug",v[v.If=43]="If",v[v.Else=44]="Else",v[v.For=45]="For",v[v.Each=46]="Each",v[v.While=47]="While",v[v.MixinContentReference=48]="MixinContentReference",v[v.MixinContentDeclaration=49]="MixinContentDeclaration",v[v.Media=50]="Media",v[v.Keyframe=51]="Keyframe",v[v.FontFace=52]="FontFace",v[v.Import=53]="Import",v[v.Namespace=54]="Namespace",v[v.Invocation=55]="Invocation",v[v.FunctionDeclaration=56]="FunctionDeclaration",v[v.ReturnStatement=57]="ReturnStatement",v[v.MediaQuery=58]="MediaQuery",v[v.FunctionParameter=59]="FunctionParameter",v[v.FunctionArgument=60]="FunctionArgument",v[v.KeyframeSelector=61]="KeyframeSelector",v[v.ViewPort=62]="ViewPort",v[v.Document=63]="Document",v[v.AtApplyRule=64]="AtApplyRule",v[v.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",v[v.CustomPropertySet=66]="CustomPropertySet",v[v.ListEntry=67]="ListEntry",v[v.Supports=68]="Supports",v[v.SupportsCondition=69]="SupportsCondition",v[v.NamespacePrefix=70]="NamespacePrefix",v[v.GridLine=71]="GridLine",v[v.Plugin=72]="Plugin",v[v.UnknownAtRule=73]="UnknownAtRule",v[v.Use=74]="Use",v[v.ModuleConfiguration=75]="ModuleConfiguration",v[v.Forward=76]="Forward",v[v.ForwardVisibility=77]="ForwardVisibility",v[v.Module=78]="Module"}(gb||(gb={})),function(v){v[v.Mixin=0]="Mixin",v[v.Rule=1]="Rule",v[v.Variable=2]="Variable",v[v.Function=3]="Function",v[v.Keyframe=4]="Keyframe",v[v.Unknown=5]="Unknown",v[v.Module=6]="Module",v[v.Forward=7]="Forward",v[v.ForwardVisibility=8]="ForwardVisibility"}(Fb||(Fb={}));var wc,vc=function(){function v(j,m,M){void 0===j&&(j=-1),void 0===m&&(m=-1),this.parent=null,this.offset=j,this.length=m,M&&(this.nodeType=M)}return Object.defineProperty(v.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"type",{get:function(){return this.nodeType||gb.Undefined},set:function(j){this.nodeType=j},enumerable:!0,configurable:!0}),v.prototype.getTextProvider=function(){for(var j=this;j&&!j.textProvider;)j=j.parent;return j?j.textProvider:function(){return"unknown"}},v.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},v.prototype.matches=function(j){return this.length===j.length&&this.getTextProvider()(this.offset,this.length)===j},v.prototype.startsWith=function(j){return this.length>=j.length&&this.getTextProvider()(this.offset,j.length)===j},v.prototype.endsWith=function(j){return this.length>=j.length&&this.getTextProvider()(this.end-j.length,j.length)===j},v.prototype.accept=function(j){if(j(this)&&this.children)for(var m=0,M=this.children;m<M.length;m++)M[m].accept(j)},v.prototype.acceptVisitor=function(j){this.accept(j.visitNode.bind(j))},v.prototype.adoptChild=function(j,m){if(void 0===m&&(m=-1),j.parent&&j.parent.children){var M=j.parent.children.indexOf(j);M>=0&&j.parent.children.splice(M,1)}j.parent=this;var na=this.children;return na||(na=this.children=[]),-1!==m?na.splice(m,0,j):na.push(j),j},v.prototype.attachTo=function(j,m){return void 0===m&&(m=-1),j&&j.adoptChild(this,m),this},v.prototype.collectIssues=function(j){this.issues&&j.push.apply(j,this.issues)},v.prototype.addIssue=function(j){this.issues||(this.issues=[]),this.issues.push(j)},v.prototype.hasIssue=function(j){return Array.isArray(this.issues)&&this.issues.some(function(m){return m.getRule()===j})},v.prototype.isErroneous=function(j){return void 0===j&&(j=!1),!!(this.issues&&this.issues.length>0)||j&&Array.isArray(this.children)&&this.children.some(function(m){return m.isErroneous(!0)})},v.prototype.setNode=function(j,m,M){return void 0===M&&(M=-1),!!m&&(m.attachTo(this,M),this[j]=m,!0)},v.prototype.addChild=function(j){return!!j&&(this.children||(this.children=[]),j.attachTo(this),this.updateOffsetAndLength(j),!0)},v.prototype.updateOffsetAndLength=function(j){(j.offset<this.offset||-1===this.offset)&&(this.offset=j.offset);var m=j.end;(m>this.end||-1===this.length)&&(this.length=m-this.offset)},v.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},v.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},v.prototype.getChild=function(j){return this.children&&j<this.children.length?this.children[j]:null},v.prototype.addChildren=function(j){for(var m=0,M=j;m<M.length;m++){var na=M[m];this.addChild(na)}},v.prototype.findFirstChildBeforeOffset=function(j){if(this.children){for(var m=null,M=this.children.length-1;M>=0;M--)if((m=this.children[M]).offset<=j)return m}return null},v.prototype.findChildAtOffset=function(j,m){var M=this.findFirstChildBeforeOffset(j);return M&&M.end>=j?m&&M.findChildAtOffset(j,!0)||M:null},v.prototype.encloses=function(j){return this.offset<=j.offset&&this.offset+this.length>=j.offset+j.length},v.prototype.getParent=function(){for(var j=this.parent;j instanceof cb;)j=j.parent;return j},v.prototype.findParent=function(j){for(var m=this;m&&m.type!==j;)m=m.parent;return m},v.prototype.findAParent=function(){for(var j=[],m=0;m<arguments.length;m++)j[m]=arguments[m];for(var M=this;M&&!j.some(function(na){return M.type===na});)M=M.parent;return M},v.prototype.setData=function(j,m){this.options||(this.options={}),this.options[j]=m},v.prototype.getData=function(j){return this.options&&this.options.hasOwnProperty(j)?this.options[j]:null},v}(),cb=function(v){function j(m,M){void 0===M&&(M=-1);var na=v.call(this,-1,-1)||this;return na.attachTo(m,M),na.offset=-1,na.length=-1,na}return wb(j,v),j}(vc),Ob=function(v){function j(m,M){var na=v.call(this,m,M)||this;return na.isCustomProperty=!1,na}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Identifier},enumerable:!0,configurable:!0}),j.prototype.containsInterpolation=function(){return this.hasChildren()},j}(vc),uc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Stylesheet},enumerable:!0,configurable:!0}),j}(vc),Cc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Declarations},enumerable:!0,configurable:!0}),j}(vc),Kc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),j.prototype.getDeclarations=function(){return this.declarations},j.prototype.setDeclarations=function(m){return this.setNode("declarations",m)},j}(vc),Yc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Ruleset},enumerable:!0,configurable:!0}),j.prototype.getSelectors=function(){return this.selectors||(this.selectors=new cb(this)),this.selectors},j.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(gb.Declarations)},j}(Kc),sc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Selector},enumerable:!0,configurable:!0}),j}(vc),Nb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.SimpleSelector},enumerable:!0,configurable:!0}),j}(vc),Fc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.AtApplyRule},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j}(vc),pb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),j}(vc),mc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),j.prototype.setProperty=function(m){return this.setNode("property",m)},j.prototype.getProperty=function(){return this.property},j.prototype.setValue=function(m){return this.setNode("value",m)},j.prototype.getValue=function(){return this.value},j.prototype.setPropertySet=function(m){return this.setNode("propertySet",m)},j.prototype.getPropertySet=function(){return this.propertySet},j}(pb),Eb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.CustomPropertySet},enumerable:!0,configurable:!0}),j}(Kc),qb=function(v){function j(m,M){var na=v.call(this,m,M)||this;return na.property=null,na}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Declaration},enumerable:!0,configurable:!0}),j.prototype.setProperty=function(m){return this.setNode("property",m)},j.prototype.getProperty=function(){return this.property},j.prototype.getFullPropertyName=function(){var m=this.property?this.property.getName():"unknown";if(this.parent instanceof Cc&&this.parent.getParent()instanceof xc){var M=this.parent.getParent().getParent();if(M instanceof j)return M.getFullPropertyName()+m}return m},j.prototype.getNonPrefixedPropertyName=function(){var m=this.getFullPropertyName();if(m&&"-"===m.charAt(0)){var M=m.indexOf("-",1);if(-1!==M)return m.substring(M+1)}return m},j.prototype.setValue=function(m){return this.setNode("value",m)},j.prototype.getValue=function(){return this.value},j.prototype.setNestedProperties=function(m){return this.setNode("nestedProperties",m)},j.prototype.getNestedProperties=function(){return this.nestedProperties},j}(pb),Va=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Property},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return m=this.getText(),(M=/[_\+]+$/.exec(m))&&M[0].length?m.substr(0,m.length-M[0].length):m;var m,M},j.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},j}(vc),Oa=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Function},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j}(function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Invocation},enumerable:!0,configurable:!0}),j.prototype.getArguments=function(){return this.arguments||(this.arguments=new cb(this)),this.arguments},j}(vc)),Qa=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.FunctionParameter},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j.prototype.setDefaultValue=function(m){return this.setNode("defaultValue",m,0)},j.prototype.getDefaultValue=function(){return this.defaultValue},j}(vc),kb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.FunctionArgument},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j.prototype.setValue=function(m){return this.setNode("value",m,0)},j.prototype.getValue=function(){return this.value},j}(vc),tb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.If},enumerable:!0,configurable:!0}),j.prototype.setExpression=function(m){return this.setNode("expression",m,0)},j.prototype.setElseClause=function(m){return this.setNode("elseClause",m)},j}(Kc),oc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.For},enumerable:!0,configurable:!0}),j.prototype.setVariable=function(m){return this.setNode("variable",m,0)},j}(Kc),ec=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Each},enumerable:!0,configurable:!0}),j.prototype.getVariables=function(){return this.variables||(this.variables=new cb(this)),this.variables},j}(Kc),$b=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.While},enumerable:!0,configurable:!0}),j}(Kc),Hc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Else},enumerable:!0,configurable:!0}),j}(Kc),Bc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.FunctionDeclaration},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j.prototype.getParameters=function(){return this.parameters||(this.parameters=new cb(this)),this.parameters},j}(Kc),Vc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.ViewPort},enumerable:!0,configurable:!0}),j}(Kc),Ic=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.FontFace},enumerable:!0,configurable:!0}),j}(Kc),xc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.NestedProperties},enumerable:!0,configurable:!0}),j}(Kc),nb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Keyframe},enumerable:!0,configurable:!0}),j.prototype.setKeyword=function(m){return this.setNode("keyword",m,0)},j.prototype.getKeyword=function(){return this.keyword},j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j}(Kc),zb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.KeyframeSelector},enumerable:!0,configurable:!0}),j}(Kc),dc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Import},enumerable:!0,configurable:!0}),j.prototype.setMedialist=function(m){return!!m&&(m.attachTo(this),!0)},j}(vc),Dc=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Use},enumerable:!0,configurable:!0}),j.prototype.getParameters=function(){return this.parameters||(this.parameters=new cb(this)),this.parameters},j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j}(vc),Pc=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.ModuleConfiguration},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j.prototype.setValue=function(m){return this.setNode("value",m,0)},j.prototype.getValue=function(){return this.value},j}(vc),Nc=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Forward},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j}(vc),Ed=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.ForwardVisibility},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j}(vc),ad=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Namespace},enumerable:!0,configurable:!0}),j}(vc),ud=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Media},enumerable:!0,configurable:!0}),j}(Kc),Od=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Supports},enumerable:!0,configurable:!0}),j}(Kc),wd=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Document},enumerable:!0,configurable:!0}),j}(Kc),Dd=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),j.prototype.getMediums=function(){return this.mediums||(this.mediums=new cb(this)),this.mediums},j}(vc),ce=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.MediaQuery},enumerable:!0,configurable:!0}),j}(vc),_d=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.SupportsCondition},enumerable:!0,configurable:!0}),j}(vc),oe=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Page},enumerable:!0,configurable:!0}),j}(Kc),nd=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.PageBoxMarginBox},enumerable:!0,configurable:!0}),j}(Kc),Qd=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Expression},enumerable:!0,configurable:!0}),j}(vc),jd=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.BinaryExpression},enumerable:!0,configurable:!0}),j.prototype.setLeft=function(m){return this.setNode("left",m)},j.prototype.getLeft=function(){return this.left},j.prototype.setRight=function(m){return this.setNode("right",m)},j.prototype.getRight=function(){return this.right},j.prototype.setOperator=function(m){return this.setNode("operator",m)},j.prototype.getOperator=function(){return this.operator},j}(vc),de=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Term},enumerable:!0,configurable:!0}),j.prototype.setOperator=function(m){return this.setNode("operator",m)},j.prototype.getOperator=function(){return this.operator},j.prototype.setExpression=function(m){return this.setNode("expression",m)},j.prototype.getExpression=function(){return this.expression},j}(vc),Gd=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.AttributeSelector},enumerable:!0,configurable:!0}),j.prototype.setNamespacePrefix=function(m){return this.setNode("namespacePrefix",m)},j.prototype.getNamespacePrefix=function(){return this.namespacePrefix},j.prototype.setIdentifier=function(m){return this.setNode("identifier",m)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.setOperator=function(m){return this.setNode("operator",m)},j.prototype.getOperator=function(){return this.operator},j.prototype.setValue=function(m){return this.setNode("value",m)},j.prototype.getValue=function(){return this.value},j}(vc),xd=(function(v){function j(m,M){return v.call(this,m,M)||this}wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Operator},enumerable:!0,configurable:!0})}(vc),function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.HexColorValue},enumerable:!0,configurable:!0}),j}(vc)),K=".".charCodeAt(0),W="0".charCodeAt(0),ia="9".charCodeAt(0),Ha=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.NumericValue},enumerable:!0,configurable:!0}),j.prototype.getValue=function(){for(var m,M=this.getText(),na=0,Ua=0,Za=M.length;Ua<Za&&(m=M.charCodeAt(Ua),W<=m&&m<=ia||m===K);Ua++)na+=1;return{value:M.substring(0,na),unit:na<M.length?M.substring(na):void 0}},j}(vc),Ta=function(v){function j(m,M){var na=v.call(this,m,M)||this;return na.variable=null,na.value=null,na.needsSemicolon=!0,na}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.VariableDeclaration},enumerable:!0,configurable:!0}),j.prototype.setVariable=function(m){return!!m&&(m.attachTo(this),this.variable=m,!0)},j.prototype.getVariable=function(){return this.variable},j.prototype.getName=function(){return this.variable?this.variable.getName():""},j.prototype.setValue=function(m){return!!m&&(m.attachTo(this),this.value=m,!0)},j.prototype.getValue=function(){return this.value},j}(pb),db=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Interpolation},enumerable:!0,configurable:!0}),j}(vc),yb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.VariableName},enumerable:!0,configurable:!0}),j.prototype.getName=function(){return this.getText()},j}(vc),Bb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.ExtendsReference},enumerable:!0,configurable:!0}),j.prototype.getSelectors=function(){return this.selectors||(this.selectors=new cb(this)),this.selectors},j}(vc),Jb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.MixinContentReference},enumerable:!0,configurable:!0}),j.prototype.getArguments=function(){return this.arguments||(this.arguments=new cb(this)),this.arguments},j}(vc),xb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.MixinContentReference},enumerable:!0,configurable:!0}),j.prototype.getParameters=function(){return this.parameters||(this.parameters=new cb(this)),this.parameters},j}(Kc),Lb=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.MixinReference},enumerable:!0,configurable:!0}),j.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new cb(this)),this.namespaces},j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j.prototype.getArguments=function(){return this.arguments||(this.arguments=new cb(this)),this.arguments},j.prototype.setContent=function(m){return this.setNode("content",m)},j.prototype.getContent=function(){return this.content},j}(vc),Ub=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.MixinDeclaration},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j.prototype.getName=function(){return this.identifier?this.identifier.getText():""},j.prototype.getParameters=function(){return this.parameters||(this.parameters=new cb(this)),this.parameters},j.prototype.setGuard=function(m){return m&&(m.attachTo(this),this.guard=m),!1},j}(Kc),pc=function(v){function j(m,M){return v.call(this,m,M)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.UnknownAtRule},enumerable:!0,configurable:!0}),j.prototype.setAtRuleName=function(m){this.atRuleName=m},j.prototype.getAtRuleName=function(){return this.atRuleName},j}(Kc),yc=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.ListEntry},enumerable:!0,configurable:!0}),j.prototype.setKey=function(m){return this.setNode("key",m,0)},j.prototype.setValue=function(m){return this.setNode("value",m,1)},j}(vc),Ec=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),j.prototype.getConditions=function(){return this.conditions||(this.conditions=new cb(this)),this.conditions},j}(vc),X=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),j.prototype.setVariable=function(m){return this.setNode("variable",m)},j}(vc),xa=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return wb(j,v),Object.defineProperty(j.prototype,"type",{get:function(){return gb.Module},enumerable:!0,configurable:!0}),j.prototype.setIdentifier=function(m){return this.setNode("identifier",m,0)},j.prototype.getIdentifier=function(){return this.identifier},j}(vc);!function(v){v[v.Ignore=1]="Ignore",v[v.Warning=2]="Warning",v[v.Error=4]="Error"}(wc||(wc={}));var qa=function(){function v(j,m,M,na,Ua,Za){void 0===Ua&&(Ua=j.offset),void 0===Za&&(Za=j.length),this.node=j,this.rule=m,this.level=M,this.message=na||m.message,this.offset=Ua,this.length=Za}return v.prototype.getRule=function(){return this.rule},v.prototype.getLevel=function(){return this.level},v.prototype.getOffset=function(){return this.offset},v.prototype.getLength=function(){return this.length},v.prototype.getNode=function(){return this.node},v.prototype.getMessage=function(){return this.message},v}(),mb=function(){function v(){this.entries=[]}return v.entries=function(j){var m=new v();return j.acceptVisitor(m),m.entries},v.prototype.visitNode=function(j){return j.isErroneous()&&j.collectIssues(this.entries),!0},v}();function ub(v,j){return 0===j.length?v:v.replace(/\{(\d+)\}/g,function(m,M){var na=M[0];return void 0!==j[na]?j[na]:m})}function Rb(v,j){for(var m=[],M=2;M<arguments.length;M++)m[M-2]=arguments[M];return ub(j,m)}function jc(v){return Rb}var Xb=jc(),wa=function(v,j){this.id=v,this.message=j},fa={NumberExpected:new wa("css-numberexpected",Xb("expected.number","number expected")),ConditionExpected:new wa("css-conditionexpected",Xb("expected.condt","condition expected")),RuleOrSelectorExpected:new wa("css-ruleorselectorexpected",Xb("expected.ruleorselector","at-rule or selector expected")),DotExpected:new wa("css-dotexpected",Xb("expected.dot","dot expected")),ColonExpected:new wa("css-colonexpected",Xb("expected.colon","colon expected")),SemiColonExpected:new wa("css-semicolonexpected",Xb("expected.semicolon","semi-colon expected")),TermExpected:new wa("css-termexpected",Xb("expected.term","term expected")),ExpressionExpected:new wa("css-expressionexpected",Xb("expected.expression","expression expected")),OperatorExpected:new wa("css-operatorexpected",Xb("expected.operator","operator expected")),IdentifierExpected:new wa("css-identifierexpected",Xb("expected.ident","identifier expected")),PercentageExpected:new wa("css-percentageexpected",Xb("expected.percentage","percentage expected")),URIOrStringExpected:new wa("css-uriorstringexpected",Xb("expected.uriorstring","uri or string expected")),URIExpected:new wa("css-uriexpected",Xb("expected.uri","URI expected")),VariableNameExpected:new wa("css-varnameexpected",Xb("expected.varname","variable name expected")),VariableValueExpected:new wa("css-varvalueexpected",Xb("expected.varvalue","variable value expected")),PropertyValueExpected:new wa("css-propertyvalueexpected",Xb("expected.propvalue","property value expected")),LeftCurlyExpected:new wa("css-lcurlyexpected",Xb("expected.lcurly","{ expected")),RightCurlyExpected:new wa("css-rcurlyexpected",Xb("expected.rcurly","} expected")),LeftSquareBracketExpected:new wa("css-rbracketexpected",Xb("expected.lsquare","[ expected")),RightSquareBracketExpected:new wa("css-lbracketexpected",Xb("expected.rsquare","] expected")),LeftParenthesisExpected:new wa("css-lparentexpected",Xb("expected.lparen","( expected")),RightParenthesisExpected:new wa("css-rparentexpected",Xb("expected.rparent",") expected")),CommaExpected:new wa("css-commaexpected",Xb("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new wa("css-pagedirordeclexpected",Xb("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new wa("css-unknownatrule",Xb("unknown.atrule","at-rule unknown")),UnknownKeyword:new wa("css-unknownkeyword",Xb("unknown.keyword","unknown keyword")),SelectorExpected:new wa("css-selectorexpected",Xb("expected.selector","selector expected")),StringLiteralExpected:new wa("css-stringliteralexpected",Xb("expected.stringliteral","string literal expected")),WhitespaceExpected:new wa("css-whitespaceexpected",Xb("expected.whitespace","whitespace expected")),MediaQueryExpected:new wa("css-mediaqueryexpected",Xb("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new wa("css-idorwildcardexpected",Xb("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new wa("css-wildcardexpected",Xb("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new wa("css-idorvarexpected",Xb("expected.idorvar","identifier or variable expected"))},ra={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function Ra(v){switch(v){case"experimental":return`⚠️ Property is experimental. Be cautious when using it.️ +$3`).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var Hn=o(140),Jn=Di(),_o=function(){function ye(le,ue){this.patternRegExps=[],this.isInclude=[];try{for(var qe=0,Ze=le;qe<Ze.length;qe++){var tt=Ze[qe],rt=tt[0]!=="!";rt||(tt=tt.substring(1)),this.patternRegExps.push(new RegExp(un(tt)+"$")),this.isInclude.push(rt)}this.uris=ue}catch(zt){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return ye.prototype.matchesPattern=function(le){for(var ue=!1,qe=0;qe<this.patternRegExps.length;qe++)this.patternRegExps[qe].test(le)&&(ue=this.isInclude[qe]);return ue},ye.prototype.getURIs=function(){return this.uris},ye}(),pn=function(){function ye(le,ue,qe){this.service=le,this.url=ue,this.dependencies={},qe&&(this.unresolvedSchema=this.service.promise.resolve(new Gn(qe)))}return ye.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},ye.prototype.getResolvedSchema=function(){var le=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(ue){return le.service.resolveSchemaContent(ue,le.url,le.dependencies)})),this.resolvedSchema},ye.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},ye}(),Gn=function(ye,le){le===void 0&&(le=[]),this.schema=ye,this.errors=le},on=function(){function ye(le,ue){ue===void 0&&(ue=[]),this.schema=le,this.errors=ue}return ye.prototype.getSection=function(le){var ue=this.getSectionRecursive(le,this.schema);if(ue)return Ri(ue)},ye.prototype.getSectionRecursive=function(le,ue){if(!ue||typeof ue=="boolean"||le.length===0)return ue;var qe=le.shift();if(ue.properties&&(ue.properties[qe],1))return this.getSectionRecursive(le,ue.properties[qe]);if(ue.patternProperties)for(var Ze=0,tt=Object.keys(ue.patternProperties);Ze<tt.length;Ze++){var rt=tt[Ze];if(new RegExp(rt).test(qe))return this.getSectionRecursive(le,ue.patternProperties[rt])}else{if(typeof ue.additionalProperties=="object")return this.getSectionRecursive(le,ue.additionalProperties);if(qe.match("[0-9]+")){if(Array.isArray(ue.items)){var zt=parseInt(qe,10);if(!isNaN(zt)&&ue.items[zt])return this.getSectionRecursive(le,ue.items[zt])}else if(ue.items)return this.getSectionRecursive(le,ue.items)}}},ye}(),ho=function(){function ye(le,ue,qe){this.contextService=ue,this.requestService=le,this.promiseConstructor=qe||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return ye.prototype.getRegisteredSchemaIds=function(le){return Object.keys(this.registeredSchemasIds).filter(function(ue){var qe=Hn.a.parse(ue).scheme;return qe!=="schemaservice"&&(!le||le(qe))})},Object.defineProperty(ye.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),ye.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},ye.prototype.onResourceChange=function(le){for(var ue=this,qe=!1,Ze=[le=Dn(le)],tt=Object.keys(this.schemasById).map(function(xi){return ue.schemasById[xi]});Ze.length;)for(var rt=Ze.pop(),zt=0;zt<tt.length;zt++){var Jt=tt[zt];Jt&&(Jt.url===rt||Jt.dependencies[rt])&&(Jt.url!==rt&&Ze.push(Jt.url),Jt.clearSchema(),tt[zt]=void 0,qe=!0)}return qe},ye.prototype.setSchemaContributions=function(le){if(le.schemas){var ue=le.schemas;for(var qe in ue){var Ze=Dn(qe);this.contributionSchemas[Ze]=this.addSchemaHandle(Ze,ue[qe])}}if(Array.isArray(le.schemaAssociations))for(var tt=0,rt=le.schemaAssociations;tt<rt.length;tt++){var zt=rt[tt],Jt=zt.uris.map(Dn),xi=this.addFilePatternAssociation(zt.pattern,Jt);this.contributionAssociations.push(xi)}},ye.prototype.addSchemaHandle=function(le,ue){var qe=new pn(this,le,ue);return this.schemasById[le]=qe,qe},ye.prototype.getOrAddSchemaHandle=function(le,ue){return this.schemasById[le]||this.addSchemaHandle(le,ue)},ye.prototype.addFilePatternAssociation=function(le,ue){var qe=new _o(le,ue);return this.filePatternAssociations.push(qe),qe},ye.prototype.registerExternalSchema=function(le,ue,qe){var Ze=Dn(le);return this.registeredSchemasIds[Ze]=!0,this.cachedSchemaForResource=void 0,ue&&this.addFilePatternAssociation(ue,[le]),qe?this.addSchemaHandle(Ze,qe):this.getOrAddSchemaHandle(Ze)},ye.prototype.clearExternalSchemas=function(){for(var le in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[le]=this.contributionSchemas[le],this.registeredSchemasIds[le]=!0;for(var ue=0,qe=this.contributionAssociations;ue<qe.length;ue++){var Ze=qe[ue];this.filePatternAssociations.push(Ze)}},ye.prototype.getResolvedSchema=function(le){var ue=Dn(le),qe=this.schemasById[ue];return qe?qe.getResolvedSchema():this.promise.resolve(void 0)},ye.prototype.loadSchema=function(le){if(!this.requestService){var ue=Jn("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",qt(le));return this.promise.resolve(new Gn({},[ue]))}return this.requestService(le).then(function(qe){if(!qe){var Ze=Jn("json.schema.nocontent","Unable to load schema from '{0}': No content.",qt(le));return new Gn({},[Ze])}var tt,rt=[];tt=ie.f(qe,rt);var zt=rt.length?[Jn("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",qt(le),rt[0].offset)]:[];return new Gn(tt,zt)},function(qe){var Ze=qe.toString(),tt=qe.toString().split("Error: ");return tt.length>1&&(Ze=tt[1]),xn(Ze,".")&&(Ze=Ze.substr(0,Ze.length-1)),new Gn({},[Jn("json.schema.nocontent","Unable to load schema from '{0}': {1}.",qt(le),Ze)])})},ye.prototype.resolveSchemaContent=function(le,ue,qe){var Ze=this,tt=le.errors.slice(0),rt=le.schema;if(rt.$schema){var zt=Dn(rt.$schema);if(zt==="http://json-schema.org/draft-03/schema")return this.promise.resolve(new on({},[Jn("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));zt==="https://json-schema.org/draft/2019-09/schema"&&tt.push(Jn("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var Jt=this.contextService,xi=function(fi,ui,Te,Ee){var ve=Ee?decodeURIComponent(Ee):void 0,Re=function(Be,Le){if(!Le)return Be;var Ke=Be;return Le[0]==="/"&&(Le=Le.substr(1)),Le.split("/").some(function(dt){return!(Ke=Ke[dt])}),Ke}(ui,ve);if(Re)for(var We in Re)Re.hasOwnProperty(We)&&!fi.hasOwnProperty(We)&&(fi[We]=Re[We]);else tt.push(Jn("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",ve,Te))},Ei=function(fi,ui,Te,Ee,ve){Jt&&!/^\w+:\/\/.*/.test(ui)&&(ui=Jt.resolveRelativePath(ui,Ee)),ui=Dn(ui);var Re=Ze.getOrAddSchemaHandle(ui);return Re.getUnresolvedSchema().then(function(We){if(ve[ui]=!0,We.errors.length){var Be=Te?ui+"#"+Te:ui;tt.push(Jn("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Be,We.errors[0]))}return xi(fi,We.schema,ui,Te),ai(fi,We.schema,ui,Re.dependencies)})},ai=function(fi,ui,Te,Ee){if(!fi||typeof fi!="object")return Promise.resolve(null);for(var ve=[fi],Re=[],We=[],Be=function(Ke){for(var dt=[];Ke.$ref;){var yt=Ke.$ref,xt=yt.split("#",2);if(delete Ke.$ref,xt[0].length>0)return void We.push(Ei(Ke,xt[0],xt[1],Te,Ee));dt.indexOf(yt)===-1&&(xi(Ke,ui,Te,xt[1]),dt.push(yt))}(function(){for(var Xt=[],mi=0;mi<arguments.length;mi++)Xt[mi]=arguments[mi];for(var Yt=0,ri=Xt;Yt<ri.length;Yt++){var qi=ri[Yt];typeof qi=="object"&&ve.push(qi)}})(Ke.items,Ke.additionalItems,Ke.additionalProperties,Ke.not,Ke.contains,Ke.propertyNames,Ke.if,Ke.then,Ke.else),function(){for(var Xt=[],mi=0;mi<arguments.length;mi++)Xt[mi]=arguments[mi];for(var Yt=0,ri=Xt;Yt<ri.length;Yt++){var qi=ri[Yt];if(typeof qi=="object")for(var an in qi){var _n=an,ei=qi[_n];typeof ei=="object"&&ve.push(ei)}}}(Ke.definitions,Ke.properties,Ke.patternProperties,Ke.dependencies),function(){for(var Xt=[],mi=0;mi<arguments.length;mi++)Xt[mi]=arguments[mi];for(var Yt=0,ri=Xt;Yt<ri.length;Yt++){var qi=ri[Yt];if(Array.isArray(qi))for(var an=0,_n=qi;an<_n.length;an++){var ei=_n[an];typeof ei=="object"&&ve.push(ei)}}}(Ke.anyOf,Ke.allOf,Ke.oneOf,Ke.items)};ve.length;){var Le=ve.pop();Re.indexOf(Le)>=0||(Re.push(Le),Be(Le))}return Ze.promise.all(We)};return ai(rt,rt,ue,qe).then(function(fi){return new on(rt,tt)})},ye.prototype.getSchemaForResource=function(le,ue){if(ue&&ue.root&&ue.root.type==="object"){var qe=ue.root.properties.filter(function(ve){return ve.keyNode.value==="$schema"&&ve.valueNode&&ve.valueNode.type==="string"});if(qe.length>0){var Ze=qe[0].valueNode;if(Ze&&Ze.type==="string"){var tt=kt(Ze);if(tt&&function(ve,Re){if(ve.length<Re.length)return!1;for(var We=0;We<Re.length;We++)if(ve[We]!==Re[We])return!1;return!0}(tt,".")&&this.contextService&&(tt=this.contextService.resolveRelativePath(tt,le)),tt){var rt=Dn(tt);return this.getOrAddSchemaHandle(rt).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===le)return this.cachedSchemaForResource.resolvedSchema;for(var zt=Object.create(null),Jt=[],xi=0,Ei=this.filePatternAssociations;xi<Ei.length;xi++){var ai=Ei[xi];if(ai.matchesPattern(le))for(var fi=0,ui=ai.getURIs();fi<ui.length;fi++){var Te=ui[fi];zt[Te]||(Jt.push(Te),zt[Te]=!0)}}var Ee=Jt.length>0?this.createCombinedSchema(le,Jt).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:le,resolvedSchema:Ee},Ee},ye.prototype.createCombinedSchema=function(le,ue){if(ue.length===1)return this.getOrAddSchemaHandle(ue[0]);var qe="schemaservice://combinedSchema/"+encodeURIComponent(le),Ze={allOf:ue.map(function(tt){return{$ref:tt}})};return this.addSchemaHandle(qe,Ze)},ye.prototype.getMatchingSchemas=function(le,ue,qe){if(qe){var Ze=qe.id||"schemaservice://untitled/matchingSchemas/"+On++;return this.resolveSchemaContent(new Gn(qe),Ze,{}).then(function(tt){return ue.getMatchingSchemas(tt.schema).filter(function(rt){return!rt.inverted})})}return this.getSchemaForResource(le.uri,ue).then(function(tt){return tt?ue.getMatchingSchemas(tt.schema).filter(function(rt){return!rt.inverted}):[]})},ye}(),On=0;function Dn(ye){try{return Hn.a.parse(ye).toString()}catch(le){return ye}}function qt(ye){try{var le=Hn.a.parse(ye);if(le.scheme==="file")return le.fsPath}catch(ue){}return ye}var I=Di(),ne=function(){function ye(le,ue){this.jsonSchemaService=le,this.promise=ue,this.validationEnabled=!0}return ye.prototype.configure=function(le){le&&(this.validationEnabled=le.validate,this.commentSeverity=le.allowComments?void 0:S.Error)},ye.prototype.doValidation=function(le,ue,qe,Ze){var tt=this;if(!this.validationEnabled)return this.promise.resolve([]);var rt=[],zt={},Jt=function(ai){var fi=ai.range.start.line+" "+ai.range.start.character+" "+ai.message;zt[fi]||(zt[fi]=!0,rt.push(ai))},xi=function(ai){var fi=qe?Fe(qe.trailingCommas):S.Error,ui=qe?Fe(qe.comments):tt.commentSeverity;if(ai){if(ai.errors.length&&ue.root){var Te=ue.root,Ee=Te.type==="object"?Te.properties[0]:void 0;if(Ee&&Ee.keyNode.value==="$schema"){var ve=Ee.valueNode||Ee,Re=f.create(le.positionAt(ve.offset),le.positionAt(ve.offset+ve.length));Jt(V.create(Re,ai.errors[0],S.Warning,et.SchemaResolveError))}else Re=f.create(le.positionAt(Te.offset),le.positionAt(Te.offset+1)),Jt(V.create(Re,ai.errors[0],S.Warning,et.SchemaResolveError))}else{var We=ue.validate(le,ai.schema);We&&We.forEach(Jt)}(function yt(xt){if(xt&&typeof xt=="object"){if(se(xt.allowComments))return xt.allowComments;if(xt.allOf)for(var Xt=0,mi=xt.allOf;Xt<mi.length;Xt++){var Yt=mi[Xt],ri=yt(Yt);if(se(ri))return ri}}})(ai.schema)&&(ui=void 0),function yt(xt){if(xt&&typeof xt=="object"){if(se(xt.allowTrailingCommas))return xt.allowTrailingCommas;var Xt=xt;if(se(Xt.allowsTrailingCommas))return Xt.allowsTrailingCommas;if(xt.allOf)for(var mi=0,Yt=xt.allOf;mi<Yt.length;mi++){var ri=Yt[mi],qi=yt(ri);if(se(qi))return qi}}}(ai.schema)&&(fi=void 0)}for(var Be=0,Le=ue.syntaxErrors;Be<Le.length;Be++){var Ke=Le[Be];if(Ke.code===et.TrailingComma){if(typeof fi!="number")continue;Ke.severity=fi}Jt(Ke)}if(typeof ui=="number"){var dt=I("InvalidCommentToken","Comments are not permitted in JSON.");ue.comments.forEach(function(yt){Jt(V.create(yt,dt,ui,et.CommentNotPermitted))})}return rt};if(Ze){var Ei=Ze.id||"schemaservice://untitled/"+_e++;return this.jsonSchemaService.resolveSchemaContent(new Gn(Ze),Ei,{}).then(function(ai){return xi(ai)})}return this.jsonSchemaService.getSchemaForResource(le.uri,ue).then(function(ai){return xi(ai)})},ye}(),_e=0;function Fe(ye){switch(ye){case"error":return S.Error;case"warning":return S.Warning;case"ignore":return}}function Xe(ye){return ye<48?0:ye<=57?ye-48:(ye<97&&(ye+=32),ye>=97&&ye<=102?ye-97+10:0)}function ot(ye){if(ye[0]==="#")switch(ye.length){case 4:return{red:17*Xe(ye.charCodeAt(1))/255,green:17*Xe(ye.charCodeAt(2))/255,blue:17*Xe(ye.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Xe(ye.charCodeAt(1))/255,green:17*Xe(ye.charCodeAt(2))/255,blue:17*Xe(ye.charCodeAt(3))/255,alpha:17*Xe(ye.charCodeAt(4))/255};case 7:return{red:(16*Xe(ye.charCodeAt(1))+Xe(ye.charCodeAt(2)))/255,green:(16*Xe(ye.charCodeAt(3))+Xe(ye.charCodeAt(4)))/255,blue:(16*Xe(ye.charCodeAt(5))+Xe(ye.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Xe(ye.charCodeAt(1))+Xe(ye.charCodeAt(2)))/255,green:(16*Xe(ye.charCodeAt(3))+Xe(ye.charCodeAt(4)))/255,blue:(16*Xe(ye.charCodeAt(5))+Xe(ye.charCodeAt(6)))/255,alpha:(16*Xe(ye.charCodeAt(7))+Xe(ye.charCodeAt(8)))/255}}}var Mt=function(){function ye(le){this.schemaService=le}return ye.prototype.findDocumentSymbols=function(le,ue,qe){var Ze=this;qe===void 0&&(qe={resultLimit:Number.MAX_VALUE});var tt=ue.root;if(!tt)return[];var rt=qe.resultLimit||Number.MAX_VALUE,zt=le.uri;if((zt==="vscode://defaultsettings/keybindings.json"||xn(zt.toLowerCase(),"/user/keybindings.json"))&&tt.type==="array"){for(var Jt=[],xi=0,Ei=tt.items;xi<Ei.length;xi++){var ai=Ei[xi];if(ai.type==="object")for(var fi=0,ui=ai.properties;fi<ui.length;fi++){var Te=ui[fi];if(Te.keyNode.value==="key"&&Te.valueNode){var Ee=D.create(le.uri,Ot(le,ai));if(Jt.push({name:kt(Te.valueNode),kind:z.Function,location:Ee}),--rt<=0)return qe&&qe.onResultLimitExceeded&&qe.onResultLimitExceeded(zt),Jt}}}return Jt}for(var ve=[{node:tt,containerName:""}],Re=0,We=!1,Be=[],Le=function(dt,yt){dt.type==="array"?dt.items.forEach(function(xt){xt&&ve.push({node:xt,containerName:yt})}):dt.type==="object"&&dt.properties.forEach(function(xt){var Xt=xt.valueNode;if(Xt)if(rt>0){rt--;var mi=D.create(le.uri,Ot(le,xt)),Yt=yt?yt+"."+xt.keyNode.value:xt.keyNode.value;Be.push({name:Ze.getKeyLabel(xt),kind:Ze.getSymbolKind(Xt.type),location:mi,containerName:yt}),ve.push({node:Xt,containerName:Yt})}else We=!0})};Re<ve.length;){var Ke=ve[Re++];Le(Ke.node,Ke.containerName)}return We&&qe&&qe.onResultLimitExceeded&&qe.onResultLimitExceeded(zt),Be},ye.prototype.findDocumentSymbols2=function(le,ue,qe){var Ze=this;qe===void 0&&(qe={resultLimit:Number.MAX_VALUE});var tt=ue.root;if(!tt)return[];var rt=qe.resultLimit||Number.MAX_VALUE,zt=le.uri;if((zt==="vscode://defaultsettings/keybindings.json"||xn(zt.toLowerCase(),"/user/keybindings.json"))&&tt.type==="array"){for(var Jt=[],xi=0,Ei=tt.items;xi<Ei.length;xi++){var ai=Ei[xi];if(ai.type==="object")for(var fi=0,ui=ai.properties;fi<ui.length;fi++){var Te=ui[fi];if(Te.keyNode.value==="key"&&Te.valueNode){var Ee=Ot(le,ai),ve=Ot(le,Te.keyNode);if(Jt.push({name:kt(Te.valueNode),kind:z.Function,range:Ee,selectionRange:ve}),--rt<=0)return qe&&qe.onResultLimitExceeded&&qe.onResultLimitExceeded(zt),Jt}}}return Jt}for(var Re=[],We=[{node:tt,result:Re}],Be=0,Le=!1,Ke=function(yt,xt){yt.type==="array"?yt.items.forEach(function(Xt,mi){if(Xt)if(rt>0){rt--;var Yt=Ot(le,Xt),ri=Yt,qi={name:String(mi),kind:Ze.getSymbolKind(Xt.type),range:Yt,selectionRange:ri,children:[]};xt.push(qi),We.push({result:qi.children,node:Xt})}else Le=!0}):yt.type==="object"&&yt.properties.forEach(function(Xt){var mi=Xt.valueNode;if(mi)if(rt>0){rt--;var Yt=Ot(le,Xt),ri=Ot(le,Xt.keyNode),qi={name:Ze.getKeyLabel(Xt),kind:Ze.getSymbolKind(mi.type),range:Yt,selectionRange:ri,children:[]};xt.push(qi),We.push({result:qi.children,node:mi})}else Le=!0})};Be<We.length;){var dt=We[Be++];Ke(dt.node,dt.result)}return Le&&qe&&qe.onResultLimitExceeded&&qe.onResultLimitExceeded(zt),Re},ye.prototype.getSymbolKind=function(le){switch(le){case"object":return z.Module;case"string":return z.String;case"number":return z.Number;case"array":return z.Array;case"boolean":return z.Boolean;default:return z.Variable}},ye.prototype.getKeyLabel=function(le){var ue=le.keyNode.value;return ue&&(ue=ue.replace(/[\n]/g,"\u21B5")),ue&&ue.trim()?ue:'"'+ue+'"'},ye.prototype.findDocumentColors=function(le,ue,qe){return this.schemaService.getSchemaForResource(le.uri,ue).then(function(Ze){var tt=[];if(Ze)for(var rt=qe&&typeof qe.resultLimit=="number"?qe.resultLimit:Number.MAX_VALUE,zt={},Jt=0,xi=ue.getMatchingSchemas(Ze.schema);Jt<xi.length;Jt++){var Ei=xi[Jt];if(!Ei.inverted&&Ei.schema&&(Ei.schema.format==="color"||Ei.schema.format==="color-hex")&&Ei.node&&Ei.node.type==="string"){var ai=String(Ei.node.offset);if(!zt[ai]){var fi=ot(kt(Ei.node));if(fi){var ui=Ot(le,Ei.node);tt.push({color:fi,range:ui})}if(zt[ai]=!0,--rt<=0)return qe&&qe.onResultLimitExceeded&&qe.onResultLimitExceeded(le.uri),tt}}}return tt})},ye.prototype.getColorPresentations=function(le,ue,qe,Ze){var tt,rt=[],zt=Math.round(255*qe.red),Jt=Math.round(255*qe.green),xi=Math.round(255*qe.blue);function Ei(ai){var fi=ai.toString(16);return fi.length!==2?"0"+fi:fi}return tt=qe.alpha===1?"#"+Ei(zt)+Ei(Jt)+Ei(xi):"#"+Ei(zt)+Ei(Jt)+Ei(xi)+Ei(Math.round(255*qe.alpha)),rt.push({label:tt,textEdit:l.replace(Ze,JSON.stringify(tt))}),rt},ye}();function Ot(ye,le){return f.create(ye.positionAt(le.offset),ye.positionAt(le.offset+le.length))}var Tt=Di(),Ht={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:Tt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:Tt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},jt={id:Tt("schema.json.id","A unique identifier for the schema."),$schema:Tt("schema.json.$schema","The schema to verify this document against."),title:Tt("schema.json.title","A descriptive title of the element."),description:Tt("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:Tt("schema.json.default","A default value. Used by suggestions."),multipleOf:Tt("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:Tt("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:Tt("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:Tt("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:Tt("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:Tt("schema.json.maxLength","The maximum length of a string."),minLength:Tt("schema.json.minLength","The minimum length of a string."),pattern:Tt("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:Tt("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:Tt("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:Tt("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:Tt("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:Tt("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:Tt("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:Tt("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:Tt("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:Tt("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:Tt("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:Tt("schema.json.properties","A map of property names to schemas for each property."),patternProperties:Tt("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:Tt("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:Tt("schema.json.enum","The set of literal values that are valid."),type:Tt("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:Tt("schema.json.format","Describes the format expected for the value."),allOf:Tt("schema.json.allOf","An array of schemas, all of which must match."),anyOf:Tt("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:Tt("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:Tt("schema.json.not","A schema which must not match."),$id:Tt("schema.json.$id","A unique identifier for the schema."),$ref:Tt("schema.json.$ref","Reference a definition hosted on any location."),$comment:Tt("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:Tt("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:Tt("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:Tt("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:Tt("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:Tt("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:Tt("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:Tt("schema.json.contentEncoding","Describes the content encoding of a string property."),if:Tt("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:Tt("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:Tt("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var Kt in Ht.schemas){var wi=Ht.schemas[Kt];for(var Ti in wi.properties){var ft=wi.properties[Ti];typeof ft=="boolean"&&(ft=wi.properties[Ti]={});var X=jt[Ti];X?ft.description=X:console.log(Ti+": localize('schema.json."+Ti+`', "")`)}}function ae(ye,le){var ue=[],qe=[],Ze=[],tt=-1,rt=Object(ie.a)(ye.getText(),!1),zt=rt.scan();function Jt(Xt){ue.push(Xt),qe.push(Ze.length)}for(;zt!==17;){switch(zt){case 1:case 3:var xi={startLine:fi=ye.positionAt(rt.getTokenOffset()).line,endLine:fi,kind:zt===1?"object":"array"};Ze.push(xi);break;case 2:case 4:var Ei=zt===2?"object":"array";if(Ze.length>0&&Ze[Ze.length-1].kind===Ei){xi=Ze.pop();var ai=ye.positionAt(rt.getTokenOffset()).line;xi&&ai>xi.startLine+1&&tt!==xi.startLine&&(xi.endLine=ai-1,Jt(xi),tt=xi.startLine)}break;case 13:var fi=ye.positionAt(rt.getTokenOffset()).line,ui=ye.positionAt(rt.getTokenOffset()+rt.getTokenLength()).line;rt.getTokenError()===1&&fi+1<ye.lineCount?rt.setPosition(ye.offsetAt(h.create(fi+1,0))):fi<ui&&(Jt({startLine:fi,endLine:ui,kind:Q.Comment}),tt=fi);break;case 12:var Te=ye.getText().substr(rt.getTokenOffset(),rt.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(Te)if(ai=ye.positionAt(rt.getTokenOffset()).line,Te[1])xi={startLine:ai,endLine:ai,kind:Q.Region},Ze.push(xi);else{for(var Ee=Ze.length-1;Ee>=0&&Ze[Ee].kind!==Q.Region;)Ee--;Ee>=0&&(xi=Ze[Ee],Ze.length=Ee,ai>xi.startLine&&tt!==xi.startLine&&(xi.endLine=ai,Jt(xi),tt=xi.startLine))}}zt=rt.scan()}var ve=le&&le.rangeLimit;if(typeof ve!="number"||ue.length<=ve)return ue;le&&le.onRangeLimitExceeded&&le.onRangeLimitExceeded(ye.uri);for(var Re=[],We=0,Be=qe;We<Be.length;We++)(xt=Be[We])<30&&(Re[xt]=(Re[xt]||0)+1);var Le=0,Ke=0;for(Ee=0;Ee<Re.length;Ee++){var dt=Re[Ee];if(dt){if(dt+Le>ve){Ke=Ee;break}Le+=dt}}var yt=[];for(Ee=0;Ee<ue.length;Ee++){var xt;typeof(xt=qe[Ee])=="number"&&(xt<Ke||xt===Ke&&Le++<ve)&&yt.push(ue[Ee])}return yt}function Ge(ye,le,ue){function qe(rt,zt){return f.create(ye.positionAt(rt),ye.positionAt(zt))}var Ze=Object(ie.a)(ye.getText(),!0);function tt(rt,zt){return Ze.setPosition(rt),Ze.scan()===zt?Ze.getTokenOffset()+Ze.getTokenLength():-1}return le.map(function(rt){for(var zt=ye.offsetAt(rt),Jt=ue.getNodeFromOffset(zt,!0),xi=[];Jt;){switch(Jt.type){case"string":case"object":case"array":var Ei=Jt.offset+1,ai=Jt.offset+Jt.length-1;Ei<ai&&zt>=Ei&&zt<=ai&&xi.push(qe(Ei,ai)),xi.push(qe(Jt.offset,Jt.offset+Jt.length));break;case"number":case"boolean":case"null":case"property":xi.push(qe(Jt.offset,Jt.offset+Jt.length))}if(Jt.type==="property"||Jt.parent&&Jt.parent.type==="array"){var fi=tt(Jt.offset+Jt.length,5);fi!==-1&&xi.push(qe(Jt.offset,fi))}Jt=Jt.parent}for(var ui=void 0,Te=xi.length-1;Te>=0;Te--)ui=At.create(xi[Te],ui);return ui||(ui=At.create(f.create(rt,rt))),ui})}function lt(ye,le,ue){var qe=ye.offsetAt(le),Ze=ue.getNodeFromOffset(qe,!0);if(!Ze||!function(Jt){return Jt.type==="string"&&Jt.parent&&Jt.parent.type==="property"&&Jt.parent.valueNode===Jt&&Jt.parent.keyNode.value==="$ref"||!1}(Ze))return Promise.resolve([]);var tt=Ze.parent.valueNode,rt=function(Jt,xi){var Ei=function(ai){return ai==="#"?[]:ai[0]!=="#"||ai[1]!=="/"?null:ai.substring(2).split(/\//).map(Gt)}(xi);return Ei?function ai(fi,ui){if(!ui)return null;if(fi.length===0)return ui;var Te=fi.shift();if(ui&&ui.type==="object"){var Ee=ui.properties.find(function(We){return We.keyNode.value===Te});return Ee?ai(fi,Ee.valueNode):null}if(ui&&ui.type==="array"&&Te.match(/^(0|[1-9][0-9]*)$/)){var ve=Number.parseInt(Te),Re=ui.items[ve];return Re?ai(fi,Re):null}return null}(Ei,Jt.root):null}(ue,tt.value);if(!rt)return Promise.resolve([]);var zt={targetUri:ye.uri,originSelectionRange:Dt(ye,tt),targetRange:Dt(ye,rt),targetSelectionRange:Dt(ye,rt)};return Promise.resolve([zt])}function Dt(ye,le){return f.create(ye.positionAt(le.offset),ye.positionAt(le.offset+le.length))}function Gt(ye){return ye.replace(/~1/g,"/").replace(/~0/g,"~")}function ti(ye){var le=ye.promiseConstructor||Promise,ue=new ho(ye.schemaRequestService,ye.workspaceContext,le);ue.setSchemaContributions(Ht);var qe=new Fn(ue,ye.contributions,le,ye.clientCapabilities),Ze=new Mn(ue,ye.contributions,le),tt=new Mt(ue),rt=new ne(ue,le);return{configure:function(zt){ue.clearExternalSchemas(),zt.schemas&&zt.schemas.forEach(function(Jt){ue.registerExternalSchema(Jt.uri,Jt.fileMatch,Jt.schema)}),rt.configure(zt)},resetSchema:function(zt){return ue.onResourceChange(zt)},doValidation:rt.doValidation.bind(rt),parseJSONDocument:function(zt){return Wi(zt,{collectComments:!0})},newJSONDocument:function(zt,Jt){return function(xi,Ei){return Ei===void 0&&(Ei=[]),new Si(xi,Ei,[])}(zt,Jt)},getMatchingSchemas:ue.getMatchingSchemas.bind(ue),doResolve:qe.doResolve.bind(qe),doComplete:qe.doComplete.bind(qe),findDocumentSymbols:tt.findDocumentSymbols.bind(tt),findDocumentSymbols2:tt.findDocumentSymbols2.bind(tt),findColorSymbols:function(zt,Jt){return tt.findDocumentColors(zt,Jt).then(function(xi){return xi.map(function(Ei){return Ei.range})})},findDocumentColors:tt.findDocumentColors.bind(tt),getColorPresentations:tt.getColorPresentations.bind(tt),doHover:Ze.doHover.bind(Ze),getFoldingRanges:ae,getSelectionRanges:Ge,findDefinition:lt,format:function(zt,Jt,xi){var Ei=void 0;if(Jt){var ai=zt.offsetAt(Jt.start);Ei={offset:ai,length:zt.offsetAt(Jt.end)-ai}}var fi={tabSize:xi?xi.tabSize:4,insertSpaces:!xi||xi.insertSpaces,eol:` +`};return Object(ie.c)(zt.getText(),Ei,fi).map(function(ui){return l.replace(f.create(zt.positionAt(ui.offset),zt.positionAt(ui.offset+ui.length)),ui.content)})}}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return l});var h=o(6),f=o(2),D=o(8),H=o(73),E=o(75),ge=o(114);class W{constructor(N){if(N.autoClosingPairs?this._autoClosingPairs=N.autoClosingPairs.map(b=>new E.b(b)):N.brackets?this._autoClosingPairs=N.brackets.map(b=>new E.b({open:b[0],close:b[1]})):this._autoClosingPairs=[],N.__electricCharacterSupport&&N.__electricCharacterSupport.docComment){let b=N.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new E.b({open:b.open,close:b.close||""}))}this._autoCloseBefore=typeof N.autoCloseBefore=="string"?N.autoCloseBefore:W.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=N.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(N,b,g){if(b.getTokenCount()===0)return!0;let j=b.findTokenIndexAtOffset(g-2),ie=b.getStandardTokenType(j);return N.isOK(ie)}getSurroundingPairs(){return this._surroundingPairs}}W.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])> + `;var Q=o(119);class y{constructor(N){this._richEditBrackets=N}getElectricCharacters(){let N=[];if(this._richEditBrackets)for(let b of this._richEditBrackets.brackets)for(let g of b.close){let j=g.charAt(g.length-1);N.push(j)}return N=N.filter((b,g,j)=>j.indexOf(b)===g),N}onElectricCharacter(N,b,g){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;let j=b.findTokenIndexAtOffset(g-1);if(Object(ge.b)(b.getStandardTokenType(j)))return null;let ie=this._richEditBrackets.reversedRegex,U=b.getLineContent().substring(0,g-1)+N,q=Q.a.findPrevBracketInRange(ie,1,U,0,U.length);if(!q)return null;let B=U.substring(q.startColumn-1,q.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[B])return null;let se=b.getActualLineContentBefore(q.startColumn-1);return/^\s*$/.test(se)?{matchOpenBracket:B}:null}}class C{constructor(N){this._indentationRules=N}shouldIncrease(N){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(N))}shouldDecrease(N){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(N))}shouldIndentNextLine(N){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(N))}shouldIgnore(N){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(N))}getIndentMetadata(N){let b=0;return this.shouldIncrease(N)&&(b+=1),this.shouldDecrease(N)&&(b+=2),this.shouldIndentNextLine(N)&&(b+=4),this.shouldIgnore(N)&&(b+=8),b}}var S=o(13);class P{constructor(N){(N=N||{}).brackets=N.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],N.brackets.forEach(b=>{let g=P._createOpenBracketRegExp(b[0]),j=P._createCloseBracketRegExp(b[1]);g&&j&&this._brackets.push({open:b[0],openRegExp:g,close:b[1],closeRegExp:j})}),this._regExpRules=N.onEnterRules||[]}onEnter(N,b,g,j){if(N>=3)for(let ie=0,U=this._regExpRules.length;ie<U;ie++){let q=this._regExpRules[ie];if([{reg:q.beforeText,text:g},{reg:q.afterText,text:j},{reg:q.oneLineAboveText,text:b}].every(B=>!B.reg||B.reg.test(B.text)))return q.action}if(N>=2&&g.length>0&&j.length>0)for(let ie=0,U=this._brackets.length;ie<U;ie++){let q=this._brackets[ie];if(q.openRegExp.test(g)&&q.closeRegExp.test(j))return{indentAction:E.a.IndentOutdent}}if(N>=2&&g.length>0){for(let ie=0,U=this._brackets.length;ie<U;ie++)if(this._brackets[ie].openRegExp.test(g))return{indentAction:E.a.Indent}}return null}static _createOpenBracketRegExp(N){let b=D.v(N);return/\B/.test(b.charAt(0))||(b="\\b"+b),b+="\\s*$",P._safeRegExp(b)}static _createCloseBracketRegExp(N){let b=D.v(N);return/\B/.test(b.charAt(b.length-1))||(b+="\\b"),b="^\\s*"+b,P._safeRegExp(b)}static _safeRegExp(N){try{return new RegExp(N)}catch(b){return Object(S.e)(b),null}}}class V{constructor(N,b,g){this._languageIdentifier=N,this._brackets=null,this._electricCharacter=null;let j=null;b&&(j=b._conf),this._conf=V._mergeConf(j,g),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new P(this._conf):null,this.comments=V._handleComments(this._conf),this.characterPair=new W(this._conf),this.wordDefinition=this._conf.wordPattern||H.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new C(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}get brackets(){return!this._brackets&&this._conf.brackets&&(this._brackets=new Q.b(this._languageIdentifier,this._conf.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new y(this.brackets)),this._electricCharacter}onEnter(N,b,g,j){return this._onEnterSupport?this._onEnterSupport.onEnter(N,b,g,j):null}static _mergeConf(N,b){return{comments:N?b.comments||N.comments:b.comments,brackets:N?b.brackets||N.brackets:b.brackets,wordPattern:N?b.wordPattern||N.wordPattern:b.wordPattern,indentationRules:N?b.indentationRules||N.indentationRules:b.indentationRules,onEnterRules:N?b.onEnterRules||N.onEnterRules:b.onEnterRules,autoClosingPairs:N?b.autoClosingPairs||N.autoClosingPairs:b.autoClosingPairs,surroundingPairs:N?b.surroundingPairs||N.surroundingPairs:b.surroundingPairs,autoCloseBefore:N?b.autoCloseBefore||N.autoCloseBefore:b.autoCloseBefore,folding:N?b.folding||N.folding:b.folding,__electricCharacterSupport:N?b.__electricCharacterSupport||N.__electricCharacterSupport:b.__electricCharacterSupport}}static _handleComments(N){let b=N.comments;if(!b)return null;let g={};if(b.lineComment&&(g.lineCommentToken=b.lineComment),b.blockComment){let[j,ie]=b.blockComment;g.blockCommentStartToken=j,g.blockCommentEndToken=ie}return g}}class k{constructor(N){this.languageIdentifier=N}}let l=new class{constructor(){this._entries=new Map,this._onDidChange=new h.a,this.onDidChange=this._onDidChange.event}register(T,N){let b=this._getRichEditSupport(T.id),g=new V(T,b,N);return this._entries.set(T.id,g),this._onDidChange.fire(new k(T)),Object(f.h)(()=>{this._entries.get(T.id)===g&&(this._entries.set(T.id,b),this._onDidChange.fire(new k(T)))})}_getRichEditSupport(T){return this._entries.get(T)}getIndentationRules(T){let N=this._entries.get(T);return N&&N.indentationRules||null}_getElectricCharacterSupport(T){let N=this._getRichEditSupport(T);return N&&N.electricCharacter||null}getElectricCharacters(T){let N=this._getElectricCharacterSupport(T);return N?N.getElectricCharacters():[]}onElectricCharacter(T,N,b){let g=Object(ge.a)(N,b-1),j=this._getElectricCharacterSupport(g.languageId);return j?j.onElectricCharacter(T,g,b-g.firstCharOffset):null}getComments(T){let N=this._getRichEditSupport(T);return N&&N.comments||null}_getCharacterPairSupport(T){let N=this._getRichEditSupport(T);return N&&N.characterPair||null}getAutoClosingPairs(T){let N=this._getCharacterPairSupport(T);return N?N.getAutoClosingPairs():[]}getAutoCloseBeforeSet(T){let N=this._getCharacterPairSupport(T);return N?N.getAutoCloseBeforeSet():W.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(T){let N=this._getCharacterPairSupport(T);return N?N.getSurroundingPairs():[]}shouldAutoClosePair(T,N,b){let g=Object(ge.a)(N,b-1);return W.shouldAutoClosePair(T,g,b-g.firstCharOffset)}getWordDefinition(T){let N=this._getRichEditSupport(T);return N?Object(H.c)(N.wordDefinition||null):Object(H.c)(null)}getFoldingRules(T){let N=this._getRichEditSupport(T);return N?N.foldingRules:{}}getIndentRulesSupport(T){let N=this._getRichEditSupport(T);return N&&N.indentRulesSupport||null}getPrecedingValidLine(T,N,b){let g=T.getLanguageIdAtPosition(N,0);if(N>1){let j,ie=-1;for(j=N-1;j>=1;j--){if(T.getLanguageIdAtPosition(j,0)!==g)return ie;let U=T.getLineContent(j);if(!b.shouldIgnore(U)&&!/^\s+$/.test(U)&&U!=="")return j;ie=j}}return-1}getInheritIndentForLine(T,N,b,g=!0){if(T<4)return null;let j=this.getIndentRulesSupport(N.getLanguageIdentifier().id);if(!j)return null;if(b<=1)return{indentation:"",action:null};let ie=this.getPrecedingValidLine(N,b,j);if(ie<0)return null;if(ie<1)return{indentation:"",action:null};let U=N.getLineContent(ie);if(j.shouldIncrease(U)||j.shouldIndentNextLine(U))return{indentation:D.z(U),action:E.a.Indent,line:ie};if(j.shouldDecrease(U))return{indentation:D.z(U),action:null,line:ie};{if(ie===1)return{indentation:D.z(N.getLineContent(ie)),action:null,line:ie};let q=ie-1,B=j.getIndentMetadata(N.getLineContent(q));if(!(3&B)&&4&B){let se=0;for(let ke=q-1;ke>0;ke--)if(!j.shouldIndentNextLine(N.getLineContent(ke))){se=ke;break}return{indentation:D.z(N.getLineContent(se+1)),action:null,line:se+1}}if(g)return{indentation:D.z(N.getLineContent(ie)),action:null,line:ie};for(let se=ie;se>0;se--){let ke=N.getLineContent(se);if(j.shouldIncrease(ke))return{indentation:D.z(ke),action:E.a.Indent,line:se};if(j.shouldIndentNextLine(ke)){let xe=0;for(let Y=se-1;Y>0;Y--)if(!j.shouldIndentNextLine(N.getLineContent(se))){xe=Y;break}return{indentation:D.z(N.getLineContent(xe+1)),action:null,line:xe+1}}if(j.shouldDecrease(ke))return{indentation:D.z(ke),action:null,line:se}}return{indentation:D.z(N.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(T,N,b,g,j){if(T<4)return null;let ie=this._getRichEditSupport(b);if(!ie)return null;let U=this.getIndentRulesSupport(b);if(!U)return null;let q=this.getInheritIndentForLine(T,N,g),B=N.getLineContent(g);if(q){let se=q.line;if(se!==void 0){let ke=ie.onEnter(T,"",N.getLineContent(se),"");if(ke){let xe=D.z(N.getLineContent(se));return ke.removeText&&(xe=xe.substring(0,xe.length-ke.removeText)),ke.indentAction===E.a.Indent||ke.indentAction===E.a.IndentOutdent?xe=j.shiftIndent(xe):ke.indentAction===E.a.Outdent&&(xe=j.unshiftIndent(xe)),U.shouldDecrease(B)&&(xe=j.unshiftIndent(xe)),ke.appendText&&(xe+=ke.appendText),D.z(xe)}}return U.shouldDecrease(B)?q.action===E.a.Indent?q.indentation:j.unshiftIndent(q.indentation):q.action===E.a.Indent?j.shiftIndent(q.indentation):q.indentation}return null}getIndentForEnter(T,N,b,g){if(T<4)return null;N.forceTokenization(b.startLineNumber);let j=N.getLineTokens(b.startLineNumber),ie=Object(ge.a)(j,b.startColumn-1),U=ie.getLineContent(),q,B,se=!1;ie.firstCharOffset>0&&j.getLanguageId(0)!==ie.languageId?(se=!0,q=U.substr(0,b.startColumn-1-ie.firstCharOffset)):q=j.getLineContent().substring(0,b.startColumn-1),b.isEmpty()?B=U.substr(b.startColumn-1-ie.firstCharOffset):B=this.getScopedLineTokens(N,b.endLineNumber,b.endColumn).getLineContent().substr(b.endColumn-1-ie.firstCharOffset);let ke=this.getIndentRulesSupport(ie.languageId);if(!ke)return null;let xe=q,Y=D.z(q),Z={getLineTokens:Ae=>N.getLineTokens(Ae),getLanguageIdentifier:()=>N.getLanguageIdentifier(),getLanguageIdAtPosition:(Ae,L)=>N.getLanguageIdAtPosition(Ae,L),getLineContent:Ae=>Ae===b.startLineNumber?xe:N.getLineContent(Ae)},te=D.z(j.getLineContent()),he=this.getInheritIndentForLine(T,Z,b.startLineNumber+1);if(!he){let Ae=se?te:Y;return{beforeEnter:Ae,afterEnter:Ae}}let Ce=se?te:he.indentation;return he.action===E.a.Indent&&(Ce=g.shiftIndent(Ce)),ke.shouldDecrease(B)&&(Ce=g.unshiftIndent(Ce)),{beforeEnter:se?te:Y,afterEnter:Ce}}getIndentActionForType(T,N,b,g,j){if(T<4)return null;let ie=this.getScopedLineTokens(N,b.startLineNumber,b.startColumn),U=this.getIndentRulesSupport(ie.languageId);if(!U)return null;let q=ie.getLineContent(),B=q.substr(0,b.startColumn-1-ie.firstCharOffset),se;if(b.isEmpty()?se=q.substr(b.startColumn-1-ie.firstCharOffset):se=this.getScopedLineTokens(N,b.endLineNumber,b.endColumn).getLineContent().substr(b.endColumn-1-ie.firstCharOffset),!U.shouldDecrease(B+se)&&U.shouldDecrease(B+g+se)){let ke=this.getInheritIndentForLine(T,N,b.startLineNumber,!1);if(!ke)return null;let xe=ke.indentation;return ke.action!==E.a.Indent&&(xe=j.unshiftIndent(xe)),xe}return null}getIndentMetadata(T,N){let b=this.getIndentRulesSupport(T.getLanguageIdentifier().id);return b?N<1||N>T.getLineCount()?null:b.getIndentMetadata(T.getLineContent(N)):null}getEnterAction(T,N,b){let g=this.getScopedLineTokens(N,b.startLineNumber,b.startColumn),j=this._getRichEditSupport(g.languageId);if(!j)return null;let ie=g.getLineContent(),U=ie.substr(0,b.startColumn-1-g.firstCharOffset),q;b.isEmpty()?q=ie.substr(b.startColumn-1-g.firstCharOffset):q=this.getScopedLineTokens(N,b.endLineNumber,b.endColumn).getLineContent().substr(b.endColumn-1-g.firstCharOffset);let B="";if(b.startLineNumber>1&&g.firstCharOffset===0){let te=this.getScopedLineTokens(N,b.startLineNumber-1);te.languageId===g.languageId&&(B=te.getLineContent())}let se=j.onEnter(T,B,U,q);if(!se)return null;let ke=se.indentAction,xe=se.appendText,Y=se.removeText||0;xe||(xe=ke===E.a.Indent||ke===E.a.IndentOutdent?" ":"");let Z=this.getIndentationAtPosition(N,b.startLineNumber,b.startColumn);return Y&&(Z=Z.substring(0,Z.length-Y)),{indentAction:ke,appendText:xe,removeText:Y,indentation:Z}}getIndentationAtPosition(T,N,b){let g=T.getLineContent(N),j=D.z(g);return j.length>b-1&&(j=j.substring(0,b-1)),j}getScopedLineTokens(T,N,b){T.forceTokenization(N);let g=T.getLineTokens(N),j=b===void 0?T.getLineMaxColumn(N)-1:b-1;return Object(ge.a)(g,j)}getBracketsSupport(T){let N=this._getRichEditSupport(T);return N&&N.brackets||null}}},function(Ie,w,o){"use strict";var h,f,D,H,E,ge,W,Q,y,C,S,P,V,k,l,T,N,b,g,j,ie,U,q,B,se,ke,xe,Y,Z,te,he,Ce,Ae;o.d(w,"a",function(){return h}),o.d(w,"b",function(){return f}),o.d(w,"c",function(){return D}),o.d(w,"d",function(){return H}),o.d(w,"e",function(){return E}),o.d(w,"f",function(){return ge}),o.d(w,"g",function(){return W}),o.d(w,"h",function(){return Q}),o.d(w,"i",function(){return y}),o.d(w,"j",function(){return C}),o.d(w,"k",function(){return S}),o.d(w,"l",function(){return P}),o.d(w,"m",function(){return V}),o.d(w,"n",function(){return k}),o.d(w,"o",function(){return l}),o.d(w,"p",function(){return T}),o.d(w,"q",function(){return N}),o.d(w,"r",function(){return b}),o.d(w,"s",function(){return g}),o.d(w,"t",function(){return j}),o.d(w,"u",function(){return ie}),o.d(w,"v",function(){return U}),o.d(w,"w",function(){return q}),o.d(w,"x",function(){return B}),o.d(w,"y",function(){return se}),o.d(w,"z",function(){return ke}),o.d(w,"A",function(){return xe}),o.d(w,"B",function(){return Y}),o.d(w,"C",function(){return Z}),o.d(w,"D",function(){return te}),o.d(w,"E",function(){return he}),o.d(w,"F",function(){return Ce}),o.d(w,"G",function(){return Ae}),function(L){L[L.Unknown=0]="Unknown",L[L.Disabled=1]="Disabled",L[L.Enabled=2]="Enabled"}(h||(h={})),function(L){L[L.KeepWhitespace=1]="KeepWhitespace",L[L.InsertAsSnippet=4]="InsertAsSnippet"}(f||(f={})),function(L){L[L.Method=0]="Method",L[L.Function=1]="Function",L[L.Constructor=2]="Constructor",L[L.Field=3]="Field",L[L.Variable=4]="Variable",L[L.Class=5]="Class",L[L.Struct=6]="Struct",L[L.Interface=7]="Interface",L[L.Module=8]="Module",L[L.Property=9]="Property",L[L.Event=10]="Event",L[L.Operator=11]="Operator",L[L.Unit=12]="Unit",L[L.Value=13]="Value",L[L.Constant=14]="Constant",L[L.Enum=15]="Enum",L[L.EnumMember=16]="EnumMember",L[L.Keyword=17]="Keyword",L[L.Text=18]="Text",L[L.Color=19]="Color",L[L.File=20]="File",L[L.Reference=21]="Reference",L[L.Customcolor=22]="Customcolor",L[L.Folder=23]="Folder",L[L.TypeParameter=24]="TypeParameter",L[L.User=25]="User",L[L.Issue=26]="Issue",L[L.Snippet=27]="Snippet"}(D||(D={})),function(L){L[L.Deprecated=1]="Deprecated"}(H||(H={})),function(L){L[L.Invoke=0]="Invoke",L[L.TriggerCharacter=1]="TriggerCharacter",L[L.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(E||(E={})),function(L){L[L.EXACT=0]="EXACT",L[L.ABOVE=1]="ABOVE",L[L.BELOW=2]="BELOW"}(ge||(ge={})),function(L){L[L.NotSet=0]="NotSet",L[L.ContentFlush=1]="ContentFlush",L[L.RecoverFromMarkers=2]="RecoverFromMarkers",L[L.Explicit=3]="Explicit",L[L.Paste=4]="Paste",L[L.Undo=5]="Undo",L[L.Redo=6]="Redo"}(W||(W={})),function(L){L[L.LF=1]="LF",L[L.CRLF=2]="CRLF"}(Q||(Q={})),function(L){L[L.Text=0]="Text",L[L.Read=1]="Read",L[L.Write=2]="Write"}(y||(y={})),function(L){L[L.None=0]="None",L[L.Keep=1]="Keep",L[L.Brackets=2]="Brackets",L[L.Advanced=3]="Advanced",L[L.Full=4]="Full"}(C||(C={})),function(L){L[L.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",L[L.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",L[L.accessibilitySupport=2]="accessibilitySupport",L[L.accessibilityPageSize=3]="accessibilityPageSize",L[L.ariaLabel=4]="ariaLabel",L[L.autoClosingBrackets=5]="autoClosingBrackets",L[L.autoClosingOvertype=6]="autoClosingOvertype",L[L.autoClosingQuotes=7]="autoClosingQuotes",L[L.autoIndent=8]="autoIndent",L[L.automaticLayout=9]="automaticLayout",L[L.autoSurround=10]="autoSurround",L[L.codeLens=11]="codeLens",L[L.colorDecorators=12]="colorDecorators",L[L.columnSelection=13]="columnSelection",L[L.comments=14]="comments",L[L.contextmenu=15]="contextmenu",L[L.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",L[L.cursorBlinking=17]="cursorBlinking",L[L.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",L[L.cursorStyle=19]="cursorStyle",L[L.cursorSurroundingLines=20]="cursorSurroundingLines",L[L.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",L[L.cursorWidth=22]="cursorWidth",L[L.disableLayerHinting=23]="disableLayerHinting",L[L.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",L[L.dragAndDrop=25]="dragAndDrop",L[L.emptySelectionClipboard=26]="emptySelectionClipboard",L[L.extraEditorClassName=27]="extraEditorClassName",L[L.fastScrollSensitivity=28]="fastScrollSensitivity",L[L.find=29]="find",L[L.fixedOverflowWidgets=30]="fixedOverflowWidgets",L[L.folding=31]="folding",L[L.foldingStrategy=32]="foldingStrategy",L[L.foldingHighlight=33]="foldingHighlight",L[L.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",L[L.fontFamily=35]="fontFamily",L[L.fontInfo=36]="fontInfo",L[L.fontLigatures=37]="fontLigatures",L[L.fontSize=38]="fontSize",L[L.fontWeight=39]="fontWeight",L[L.formatOnPaste=40]="formatOnPaste",L[L.formatOnType=41]="formatOnType",L[L.glyphMargin=42]="glyphMargin",L[L.gotoLocation=43]="gotoLocation",L[L.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",L[L.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",L[L.hover=46]="hover",L[L.inDiffEditor=47]="inDiffEditor",L[L.letterSpacing=48]="letterSpacing",L[L.lightbulb=49]="lightbulb",L[L.lineDecorationsWidth=50]="lineDecorationsWidth",L[L.lineHeight=51]="lineHeight",L[L.lineNumbers=52]="lineNumbers",L[L.lineNumbersMinChars=53]="lineNumbersMinChars",L[L.links=54]="links",L[L.matchBrackets=55]="matchBrackets",L[L.minimap=56]="minimap",L[L.mouseStyle=57]="mouseStyle",L[L.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",L[L.mouseWheelZoom=59]="mouseWheelZoom",L[L.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",L[L.multiCursorModifier=61]="multiCursorModifier",L[L.multiCursorPaste=62]="multiCursorPaste",L[L.occurrencesHighlight=63]="occurrencesHighlight",L[L.overviewRulerBorder=64]="overviewRulerBorder",L[L.overviewRulerLanes=65]="overviewRulerLanes",L[L.padding=66]="padding",L[L.parameterHints=67]="parameterHints",L[L.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",L[L.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",L[L.quickSuggestions=70]="quickSuggestions",L[L.quickSuggestionsDelay=71]="quickSuggestionsDelay",L[L.readOnly=72]="readOnly",L[L.renameOnType=73]="renameOnType",L[L.renderControlCharacters=74]="renderControlCharacters",L[L.renderIndentGuides=75]="renderIndentGuides",L[L.renderFinalNewline=76]="renderFinalNewline",L[L.renderLineHighlight=77]="renderLineHighlight",L[L.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",L[L.renderValidationDecorations=79]="renderValidationDecorations",L[L.renderWhitespace=80]="renderWhitespace",L[L.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",L[L.roundedSelection=82]="roundedSelection",L[L.rulers=83]="rulers",L[L.scrollbar=84]="scrollbar",L[L.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",L[L.scrollBeyondLastLine=86]="scrollBeyondLastLine",L[L.scrollPredominantAxis=87]="scrollPredominantAxis",L[L.selectionClipboard=88]="selectionClipboard",L[L.selectionHighlight=89]="selectionHighlight",L[L.selectOnLineNumbers=90]="selectOnLineNumbers",L[L.showFoldingControls=91]="showFoldingControls",L[L.showUnused=92]="showUnused",L[L.snippetSuggestions=93]="snippetSuggestions",L[L.smoothScrolling=94]="smoothScrolling",L[L.stopRenderingLineAfter=95]="stopRenderingLineAfter",L[L.suggest=96]="suggest",L[L.suggestFontSize=97]="suggestFontSize",L[L.suggestLineHeight=98]="suggestLineHeight",L[L.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",L[L.suggestSelection=100]="suggestSelection",L[L.tabCompletion=101]="tabCompletion",L[L.tabIndex=102]="tabIndex",L[L.unusualLineTerminators=103]="unusualLineTerminators",L[L.useTabStops=104]="useTabStops",L[L.wordSeparators=105]="wordSeparators",L[L.wordWrap=106]="wordWrap",L[L.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",L[L.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",L[L.wordWrapColumn=109]="wordWrapColumn",L[L.wordWrapMinified=110]="wordWrapMinified",L[L.wrappingIndent=111]="wrappingIndent",L[L.wrappingStrategy=112]="wrappingStrategy",L[L.showDeprecated=113]="showDeprecated",L[L.editorClassName=114]="editorClassName",L[L.pixelRatio=115]="pixelRatio",L[L.tabFocusMode=116]="tabFocusMode",L[L.layoutInfo=117]="layoutInfo",L[L.wrappingInfo=118]="wrappingInfo"}(S||(S={})),function(L){L[L.TextDefined=0]="TextDefined",L[L.LF=1]="LF",L[L.CRLF=2]="CRLF"}(P||(P={})),function(L){L[L.LF=0]="LF",L[L.CRLF=1]="CRLF"}(V||(V={})),function(L){L[L.None=0]="None",L[L.Indent=1]="Indent",L[L.IndentOutdent=2]="IndentOutdent",L[L.Outdent=3]="Outdent"}(k||(k={})),function(L){L[L.Unknown=0]="Unknown",L[L.Backspace=1]="Backspace",L[L.Tab=2]="Tab",L[L.Enter=3]="Enter",L[L.Shift=4]="Shift",L[L.Ctrl=5]="Ctrl",L[L.Alt=6]="Alt",L[L.PauseBreak=7]="PauseBreak",L[L.CapsLock=8]="CapsLock",L[L.Escape=9]="Escape",L[L.Space=10]="Space",L[L.PageUp=11]="PageUp",L[L.PageDown=12]="PageDown",L[L.End=13]="End",L[L.Home=14]="Home",L[L.LeftArrow=15]="LeftArrow",L[L.UpArrow=16]="UpArrow",L[L.RightArrow=17]="RightArrow",L[L.DownArrow=18]="DownArrow",L[L.Insert=19]="Insert",L[L.Delete=20]="Delete",L[L.KEY_0=21]="KEY_0",L[L.KEY_1=22]="KEY_1",L[L.KEY_2=23]="KEY_2",L[L.KEY_3=24]="KEY_3",L[L.KEY_4=25]="KEY_4",L[L.KEY_5=26]="KEY_5",L[L.KEY_6=27]="KEY_6",L[L.KEY_7=28]="KEY_7",L[L.KEY_8=29]="KEY_8",L[L.KEY_9=30]="KEY_9",L[L.KEY_A=31]="KEY_A",L[L.KEY_B=32]="KEY_B",L[L.KEY_C=33]="KEY_C",L[L.KEY_D=34]="KEY_D",L[L.KEY_E=35]="KEY_E",L[L.KEY_F=36]="KEY_F",L[L.KEY_G=37]="KEY_G",L[L.KEY_H=38]="KEY_H",L[L.KEY_I=39]="KEY_I",L[L.KEY_J=40]="KEY_J",L[L.KEY_K=41]="KEY_K",L[L.KEY_L=42]="KEY_L",L[L.KEY_M=43]="KEY_M",L[L.KEY_N=44]="KEY_N",L[L.KEY_O=45]="KEY_O",L[L.KEY_P=46]="KEY_P",L[L.KEY_Q=47]="KEY_Q",L[L.KEY_R=48]="KEY_R",L[L.KEY_S=49]="KEY_S",L[L.KEY_T=50]="KEY_T",L[L.KEY_U=51]="KEY_U",L[L.KEY_V=52]="KEY_V",L[L.KEY_W=53]="KEY_W",L[L.KEY_X=54]="KEY_X",L[L.KEY_Y=55]="KEY_Y",L[L.KEY_Z=56]="KEY_Z",L[L.Meta=57]="Meta",L[L.ContextMenu=58]="ContextMenu",L[L.F1=59]="F1",L[L.F2=60]="F2",L[L.F3=61]="F3",L[L.F4=62]="F4",L[L.F5=63]="F5",L[L.F6=64]="F6",L[L.F7=65]="F7",L[L.F8=66]="F8",L[L.F9=67]="F9",L[L.F10=68]="F10",L[L.F11=69]="F11",L[L.F12=70]="F12",L[L.F13=71]="F13",L[L.F14=72]="F14",L[L.F15=73]="F15",L[L.F16=74]="F16",L[L.F17=75]="F17",L[L.F18=76]="F18",L[L.F19=77]="F19",L[L.NumLock=78]="NumLock",L[L.ScrollLock=79]="ScrollLock",L[L.US_SEMICOLON=80]="US_SEMICOLON",L[L.US_EQUAL=81]="US_EQUAL",L[L.US_COMMA=82]="US_COMMA",L[L.US_MINUS=83]="US_MINUS",L[L.US_DOT=84]="US_DOT",L[L.US_SLASH=85]="US_SLASH",L[L.US_BACKTICK=86]="US_BACKTICK",L[L.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",L[L.US_BACKSLASH=88]="US_BACKSLASH",L[L.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",L[L.US_QUOTE=90]="US_QUOTE",L[L.OEM_8=91]="OEM_8",L[L.OEM_102=92]="OEM_102",L[L.NUMPAD_0=93]="NUMPAD_0",L[L.NUMPAD_1=94]="NUMPAD_1",L[L.NUMPAD_2=95]="NUMPAD_2",L[L.NUMPAD_3=96]="NUMPAD_3",L[L.NUMPAD_4=97]="NUMPAD_4",L[L.NUMPAD_5=98]="NUMPAD_5",L[L.NUMPAD_6=99]="NUMPAD_6",L[L.NUMPAD_7=100]="NUMPAD_7",L[L.NUMPAD_8=101]="NUMPAD_8",L[L.NUMPAD_9=102]="NUMPAD_9",L[L.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",L[L.NUMPAD_ADD=104]="NUMPAD_ADD",L[L.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",L[L.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",L[L.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",L[L.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",L[L.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",L[L.ABNT_C1=110]="ABNT_C1",L[L.ABNT_C2=111]="ABNT_C2",L[L.MAX_VALUE=112]="MAX_VALUE"}(l||(l={})),function(L){L[L.Hint=1]="Hint",L[L.Info=2]="Info",L[L.Warning=4]="Warning",L[L.Error=8]="Error"}(T||(T={})),function(L){L[L.Unnecessary=1]="Unnecessary",L[L.Deprecated=2]="Deprecated"}(N||(N={})),function(L){L[L.Inline=1]="Inline",L[L.Gutter=2]="Gutter"}(b||(b={})),function(L){L[L.UNKNOWN=0]="UNKNOWN",L[L.TEXTAREA=1]="TEXTAREA",L[L.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",L[L.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",L[L.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",L[L.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",L[L.CONTENT_TEXT=6]="CONTENT_TEXT",L[L.CONTENT_EMPTY=7]="CONTENT_EMPTY",L[L.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",L[L.CONTENT_WIDGET=9]="CONTENT_WIDGET",L[L.OVERVIEW_RULER=10]="OVERVIEW_RULER",L[L.SCROLLBAR=11]="SCROLLBAR",L[L.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",L[L.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(g||(g={})),function(L){L[L.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",L[L.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",L[L.TOP_CENTER=2]="TOP_CENTER"}(j||(j={})),function(L){L[L.Left=1]="Left",L[L.Center=2]="Center",L[L.Right=4]="Right",L[L.Full=7]="Full"}(ie||(ie={})),function(L){L[L.Off=0]="Off",L[L.On=1]="On",L[L.Relative=2]="Relative",L[L.Interval=3]="Interval",L[L.Custom=4]="Custom"}(U||(U={})),function(L){L[L.None=0]="None",L[L.Text=1]="Text",L[L.Blocks=2]="Blocks"}(q||(q={})),function(L){L[L.Smooth=0]="Smooth",L[L.Immediate=1]="Immediate"}(B||(B={})),function(L){L[L.Auto=1]="Auto",L[L.Hidden=2]="Hidden",L[L.Visible=3]="Visible"}(se||(se={})),function(L){L[L.LTR=0]="LTR",L[L.RTL=1]="RTL"}(ke||(ke={})),function(L){L[L.Invoke=1]="Invoke",L[L.TriggerCharacter=2]="TriggerCharacter",L[L.ContentChange=3]="ContentChange"}(xe||(xe={})),function(L){L[L.File=0]="File",L[L.Module=1]="Module",L[L.Namespace=2]="Namespace",L[L.Package=3]="Package",L[L.Class=4]="Class",L[L.Method=5]="Method",L[L.Property=6]="Property",L[L.Field=7]="Field",L[L.Constructor=8]="Constructor",L[L.Enum=9]="Enum",L[L.Interface=10]="Interface",L[L.Function=11]="Function",L[L.Variable=12]="Variable",L[L.Constant=13]="Constant",L[L.String=14]="String",L[L.Number=15]="Number",L[L.Boolean=16]="Boolean",L[L.Array=17]="Array",L[L.Object=18]="Object",L[L.Key=19]="Key",L[L.Null=20]="Null",L[L.EnumMember=21]="EnumMember",L[L.Struct=22]="Struct",L[L.Event=23]="Event",L[L.Operator=24]="Operator",L[L.TypeParameter=25]="TypeParameter"}(Y||(Y={})),function(L){L[L.Deprecated=1]="Deprecated"}(Z||(Z={})),function(L){L[L.Hidden=0]="Hidden",L[L.Blink=1]="Blink",L[L.Smooth=2]="Smooth",L[L.Phase=3]="Phase",L[L.Expand=4]="Expand",L[L.Solid=5]="Solid"}(te||(te={})),function(L){L[L.Line=1]="Line",L[L.Block=2]="Block",L[L.Underline=3]="Underline",L[L.LineThin=4]="LineThin",L[L.BlockOutline=5]="BlockOutline",L[L.UnderlineThin=6]="UnderlineThin"}(he||(he={})),function(L){L[L.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",L[L.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",L[L.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",L[L.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(Ce||(Ce={})),function(L){L[L.None=0]="None",L[L.Same=1]="Same",L[L.Indent=2]="Indent",L[L.DeepIndent=3]="DeepIndent"}(Ae||(Ae={}))},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("codeEditorService")},function(Ie,w,o){"use strict";o.d(w,"i",function(){return y}),o.d(w,"e",function(){return C}),o.d(w,"d",function(){return S}),o.d(w,"g",function(){return P}),o.d(w,"f",function(){return V}),o.d(w,"b",function(){return k}),o.d(w,"a",function(){return l}),o.d(w,"c",function(){return T}),o.d(w,"h",function(){return N});var h=o(28);class f extends Error{constructor(g,j,ie){let U;typeof j=="string"&&j.indexOf("not ")===0?(U="must not be",j=j.replace(/^not /,"")):U="must be";let q=g.indexOf(".")!==-1?"property":"argument",B=`The "${g}" ${q} ${U} of type ${j}`;B+=". Received type "+typeof ie,super(B),this.code="ERR_INVALID_ARG_TYPE"}}function D(b,g){if(typeof b!="string")throw new f(g,"string",b)}function H(b){return b===47||b===92}function E(b){return b===47}function ge(b){return b>=65&&b<=90||b>=97&&b<=122}function W(b,g,j,ie){let U="",q=0,B=-1,se=0,ke=0;for(let xe=0;xe<=b.length;++xe){if(xe<b.length)ke=b.charCodeAt(xe);else{if(ie(ke))break;ke=47}if(ie(ke)){if(!(B===xe-1||se===1))if(se===2){if(U.length<2||q!==2||U.charCodeAt(U.length-1)!==46||U.charCodeAt(U.length-2)!==46){if(U.length>2){let Y=U.lastIndexOf(j);Y===-1?(U="",q=0):(U=U.slice(0,Y),q=U.length-1-U.lastIndexOf(j)),B=xe,se=0;continue}if(U.length!==0){U="",q=0,B=xe,se=0;continue}}g&&(U+=U.length>0?j+"..":"..",q=2)}else U.length>0?U+=`${j}${b.slice(B+1,xe)}`:U=b.slice(B+1,xe),q=xe-B-1;B=xe,se=0}else ke===46&&se!==-1?++se:se=-1}return U}function Q(b,g){if(g===null||typeof g!="object")throw new f("pathObject","Object",g);let j=g.dir||g.root,ie=g.base||`${g.name||""}${g.ext||""}`;return j?j===g.root?`${j}${ie}`:`${j}${b}${ie}`:ie}let y={resolve(...b){let g="",j="",ie=!1;for(let U=b.length-1;U>=-1;U--){let q;if(U>=0){if(q=b[U],D(q,"path"),q.length===0)continue}else g.length===0?q=h.a():(q=h.b["="+g]||h.a(),(q===void 0||q.slice(0,2).toLowerCase()!==g.toLowerCase()&&q.charCodeAt(2)===92)&&(q=g+"\\"));let B=q.length,se=0,ke="",xe=!1,Y=q.charCodeAt(0);if(B===1)H(Y)&&(se=1,xe=!0);else if(H(Y))if(xe=!0,H(q.charCodeAt(1))){let Z=2,te=Z;for(;Z<B&&!H(q.charCodeAt(Z));)Z++;if(Z<B&&Z!==te){let he=q.slice(te,Z);for(te=Z;Z<B&&H(q.charCodeAt(Z));)Z++;if(Z<B&&Z!==te){for(te=Z;Z<B&&!H(q.charCodeAt(Z));)Z++;Z!==B&&Z===te||(ke=`\\\\${he}\\${q.slice(te,Z)}`,se=Z)}}}else se=1;else ge(Y)&&q.charCodeAt(1)===58&&(ke=q.slice(0,2),se=2,B>2&&H(q.charCodeAt(2))&&(xe=!0,se=3));if(ke.length>0)if(g.length>0){if(ke.toLowerCase()!==g.toLowerCase())continue}else g=ke;if(ie){if(g.length>0)break}else if(j=`${q.slice(se)}\\${j}`,ie=xe,xe&&g.length>0)break}return j=W(j,!ie,"\\",H),ie?`${g}\\${j}`:`${g}${j}`||"."},normalize(b){D(b,"path");let g=b.length;if(g===0)return".";let j,ie=0,U=!1,q=b.charCodeAt(0);if(g===1)return E(q)?"\\":b;if(H(q))if(U=!0,H(b.charCodeAt(1))){let se=2,ke=se;for(;se<g&&!H(b.charCodeAt(se));)se++;if(se<g&&se!==ke){let xe=b.slice(ke,se);for(ke=se;se<g&&H(b.charCodeAt(se));)se++;if(se<g&&se!==ke){for(ke=se;se<g&&!H(b.charCodeAt(se));)se++;if(se===g)return`\\\\${xe}\\${b.slice(ke)}\\`;se!==ke&&(j=`\\\\${xe}\\${b.slice(ke,se)}`,ie=se)}}}else ie=1;else ge(q)&&b.charCodeAt(1)===58&&(j=b.slice(0,2),ie=2,g>2&&H(b.charCodeAt(2))&&(U=!0,ie=3));let B=ie<g?W(b.slice(ie),!U,"\\",H):"";return B.length!==0||U||(B="."),B.length>0&&H(b.charCodeAt(g-1))&&(B+="\\"),j===void 0?U?"\\"+B:B:U?`${j}\\${B}`:`${j}${B}`},isAbsolute(b){D(b,"path");let g=b.length;if(g===0)return!1;let j=b.charCodeAt(0);return H(j)||g>2&&ge(j)&&b.charCodeAt(1)===58&&H(b.charCodeAt(2))},join(...b){if(b.length===0)return".";let g,j;for(let q=0;q<b.length;++q){let B=b[q];D(B,"path"),B.length>0&&(g===void 0?g=j=B:g+="\\"+B)}if(g===void 0)return".";let ie=!0,U=0;if(typeof j=="string"&&H(j.charCodeAt(0))){++U;let q=j.length;q>1&&H(j.charCodeAt(1))&&(++U,q>2&&(H(j.charCodeAt(2))?++U:ie=!1))}if(ie){for(;U<g.length&&H(g.charCodeAt(U));)U++;U>=2&&(g="\\"+g.slice(U))}return y.normalize(g)},relative(b,g){if(D(b,"from"),D(g,"to"),b===g)return"";let j=y.resolve(b),ie=y.resolve(g);if(j===ie||(b=j.toLowerCase())===(g=ie.toLowerCase()))return"";let U=0;for(;U<b.length&&b.charCodeAt(U)===92;)U++;let q=b.length;for(;q-1>U&&b.charCodeAt(q-1)===92;)q--;let B=q-U,se=0;for(;se<g.length&&g.charCodeAt(se)===92;)se++;let ke=g.length;for(;ke-1>se&&g.charCodeAt(ke-1)===92;)ke--;let xe=ke-se,Y=B<xe?B:xe,Z=-1,te=0;for(;te<Y;te++){let Ce=b.charCodeAt(U+te);if(Ce!==g.charCodeAt(se+te))break;Ce===92&&(Z=te)}if(te!==Y){if(Z===-1)return ie}else{if(xe>Y){if(g.charCodeAt(se+te)===92)return ie.slice(se+te+1);if(te===2)return ie.slice(se+te)}B>Y&&(b.charCodeAt(U+te)===92?Z=te:te===2&&(Z=3)),Z===-1&&(Z=0)}let he="";for(te=U+Z+1;te<=q;++te)te!==q&&b.charCodeAt(te)!==92||(he+=he.length===0?"..":"\\..");return se+=Z,he.length>0?`${he}${ie.slice(se,ke)}`:(ie.charCodeAt(se)===92&&++se,ie.slice(se,ke))},toNamespacedPath(b){if(typeof b!="string")return b;if(b.length===0)return"";let g=y.resolve(b);if(g.length<=2)return b;if(g.charCodeAt(0)===92){if(g.charCodeAt(1)===92){let j=g.charCodeAt(2);if(j!==63&&j!==46)return"\\\\?\\UNC\\"+g.slice(2)}}else if(ge(g.charCodeAt(0))&&g.charCodeAt(1)===58&&g.charCodeAt(2)===92)return"\\\\?\\"+g;return b},dirname(b){D(b,"path");let g=b.length;if(g===0)return".";let j=-1,ie=0,U=b.charCodeAt(0);if(g===1)return H(U)?b:".";if(H(U)){if(j=ie=1,H(b.charCodeAt(1))){let se=2,ke=se;for(;se<g&&!H(b.charCodeAt(se));)se++;if(se<g&&se!==ke){for(ke=se;se<g&&H(b.charCodeAt(se));)se++;if(se<g&&se!==ke){for(ke=se;se<g&&!H(b.charCodeAt(se));)se++;if(se===g)return b;se!==ke&&(j=ie=se+1)}}}}else ge(U)&&b.charCodeAt(1)===58&&(j=g>2&&H(b.charCodeAt(2))?3:2,ie=j);let q=-1,B=!0;for(let se=g-1;se>=ie;--se)if(H(b.charCodeAt(se))){if(!B){q=se;break}}else B=!1;if(q===-1){if(j===-1)return".";q=j}return b.slice(0,q)},basename(b,g){g!==void 0&&D(g,"ext"),D(b,"path");let j,ie=0,U=-1,q=!0;if(b.length>=2&&ge(b.charCodeAt(0))&&b.charCodeAt(1)===58&&(ie=2),g!==void 0&&g.length>0&&g.length<=b.length){if(g===b)return"";let B=g.length-1,se=-1;for(j=b.length-1;j>=ie;--j){let ke=b.charCodeAt(j);if(H(ke)){if(!q){ie=j+1;break}}else se===-1&&(q=!1,se=j+1),B>=0&&(ke===g.charCodeAt(B)?--B==-1&&(U=j):(B=-1,U=se))}return ie===U?U=se:U===-1&&(U=b.length),b.slice(ie,U)}for(j=b.length-1;j>=ie;--j)if(H(b.charCodeAt(j))){if(!q){ie=j+1;break}}else U===-1&&(q=!1,U=j+1);return U===-1?"":b.slice(ie,U)},extname(b){D(b,"path");let g=0,j=-1,ie=0,U=-1,q=!0,B=0;b.length>=2&&b.charCodeAt(1)===58&&ge(b.charCodeAt(0))&&(g=ie=2);for(let se=b.length-1;se>=g;--se){let ke=b.charCodeAt(se);if(H(ke)){if(!q){ie=se+1;break}}else U===-1&&(q=!1,U=se+1),ke===46?j===-1?j=se:B!==1&&(B=1):j!==-1&&(B=-1)}return j===-1||U===-1||B===0||B===1&&j===U-1&&j===ie+1?"":b.slice(j,U)},format:Q.bind(null,"\\"),parse(b){D(b,"path");let g={root:"",dir:"",base:"",ext:"",name:""};if(b.length===0)return g;let j=b.length,ie=0,U=b.charCodeAt(0);if(j===1)return H(U)?(g.root=g.dir=b,g):(g.base=g.name=b,g);if(H(U)){if(ie=1,H(b.charCodeAt(1))){let Z=2,te=Z;for(;Z<j&&!H(b.charCodeAt(Z));)Z++;if(Z<j&&Z!==te){for(te=Z;Z<j&&H(b.charCodeAt(Z));)Z++;if(Z<j&&Z!==te){for(te=Z;Z<j&&!H(b.charCodeAt(Z));)Z++;Z===j?ie=Z:Z!==te&&(ie=Z+1)}}}}else if(ge(U)&&b.charCodeAt(1)===58){if(j<=2)return g.root=g.dir=b,g;if(ie=2,H(b.charCodeAt(2))){if(j===3)return g.root=g.dir=b,g;ie=3}}ie>0&&(g.root=b.slice(0,ie));let q=-1,B=ie,se=-1,ke=!0,xe=b.length-1,Y=0;for(;xe>=ie;--xe)if(U=b.charCodeAt(xe),H(U)){if(!ke){B=xe+1;break}}else se===-1&&(ke=!1,se=xe+1),U===46?q===-1?q=xe:Y!==1&&(Y=1):q!==-1&&(Y=-1);return se!==-1&&(q===-1||Y===0||Y===1&&q===se-1&&q===B+1?g.base=g.name=b.slice(B,se):(g.name=b.slice(B,q),g.base=b.slice(B,se),g.ext=b.slice(q,se))),g.dir=B>0&&B!==ie?b.slice(0,B-1):g.root,g},sep:"\\",delimiter:";",win32:null,posix:null},C={resolve(...b){let g="",j=!1;for(let ie=b.length-1;ie>=-1&&!j;ie--){let U=ie>=0?b[ie]:h.a();D(U,"path"),U.length!==0&&(g=`${U}/${g}`,j=U.charCodeAt(0)===47)}return g=W(g,!j,"/",E),j?"/"+g:g.length>0?g:"."},normalize(b){if(D(b,"path"),b.length===0)return".";let g=b.charCodeAt(0)===47,j=b.charCodeAt(b.length-1)===47;return(b=W(b,!g,"/",E)).length===0?g?"/":j?"./":".":(j&&(b+="/"),g?"/"+b:b)},isAbsolute:b=>(D(b,"path"),b.length>0&&b.charCodeAt(0)===47),join(...b){if(b.length===0)return".";let g;for(let j=0;j<b.length;++j){let ie=b[j];D(ie,"path"),ie.length>0&&(g===void 0?g=ie:g+="/"+ie)}return g===void 0?".":C.normalize(g)},relative(b,g){if(D(b,"from"),D(g,"to"),b===g||(b=C.resolve(b))===(g=C.resolve(g)))return"";let j=b.length,ie=j-1,U=g.length-1,q=ie<U?ie:U,B=-1,se=0;for(;se<q;se++){let xe=b.charCodeAt(1+se);if(xe!==g.charCodeAt(1+se))break;xe===47&&(B=se)}if(se===q)if(U>q){if(g.charCodeAt(1+se)===47)return g.slice(1+se+1);if(se===0)return g.slice(1+se)}else ie>q&&(b.charCodeAt(1+se)===47?B=se:se===0&&(B=0));let ke="";for(se=1+B+1;se<=j;++se)se!==j&&b.charCodeAt(se)!==47||(ke+=ke.length===0?"..":"/..");return`${ke}${g.slice(1+B)}`},toNamespacedPath:b=>b,dirname(b){if(D(b,"path"),b.length===0)return".";let g=b.charCodeAt(0)===47,j=-1,ie=!0;for(let U=b.length-1;U>=1;--U)if(b.charCodeAt(U)===47){if(!ie){j=U;break}}else ie=!1;return j===-1?g?"/":".":g&&j===1?"//":b.slice(0,j)},basename(b,g){g!==void 0&&D(g,"ext"),D(b,"path");let j,ie=0,U=-1,q=!0;if(g!==void 0&&g.length>0&&g.length<=b.length){if(g===b)return"";let B=g.length-1,se=-1;for(j=b.length-1;j>=0;--j){let ke=b.charCodeAt(j);if(ke===47){if(!q){ie=j+1;break}}else se===-1&&(q=!1,se=j+1),B>=0&&(ke===g.charCodeAt(B)?--B==-1&&(U=j):(B=-1,U=se))}return ie===U?U=se:U===-1&&(U=b.length),b.slice(ie,U)}for(j=b.length-1;j>=0;--j)if(b.charCodeAt(j)===47){if(!q){ie=j+1;break}}else U===-1&&(q=!1,U=j+1);return U===-1?"":b.slice(ie,U)},extname(b){D(b,"path");let g=-1,j=0,ie=-1,U=!0,q=0;for(let B=b.length-1;B>=0;--B){let se=b.charCodeAt(B);if(se!==47)ie===-1&&(U=!1,ie=B+1),se===46?g===-1?g=B:q!==1&&(q=1):g!==-1&&(q=-1);else if(!U){j=B+1;break}}return g===-1||ie===-1||q===0||q===1&&g===ie-1&&g===j+1?"":b.slice(g,ie)},format:Q.bind(null,"/"),parse(b){D(b,"path");let g={root:"",dir:"",base:"",ext:"",name:""};if(b.length===0)return g;let j=b.charCodeAt(0)===47,ie;j?(g.root="/",ie=1):ie=0;let U=-1,q=0,B=-1,se=!0,ke=b.length-1,xe=0;for(;ke>=ie;--ke){let Y=b.charCodeAt(ke);if(Y!==47)B===-1&&(se=!1,B=ke+1),Y===46?U===-1?U=ke:xe!==1&&(xe=1):U!==-1&&(xe=-1);else if(!se){q=ke+1;break}}if(B!==-1){let Y=q===0&&j?1:q;U===-1||xe===0||xe===1&&U===B-1&&U===q+1?g.base=g.name=b.slice(Y,B):(g.name=b.slice(Y,U),g.base=b.slice(Y,B),g.ext=b.slice(U,B))}return q>0?g.dir=b.slice(0,q-1):j&&(g.dir="/"),g},sep:"/",delimiter:":",win32:null,posix:null};C.win32=y.win32=y,C.posix=y.posix=C;let S=h.c==="win32"?y.normalize:C.normalize,P=h.c==="win32"?y.resolve:C.resolve,V=h.c==="win32"?y.relative:C.relative,k=h.c==="win32"?y.dirname:C.dirname,l=h.c==="win32"?y.basename:C.basename,T=h.c==="win32"?y.extname:C.extname,N=h.c==="win32"?y.sep:C.sep},function(Ie,w,o){"use strict";o.d(w,"b",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"f",function(){return Q}),o.d(w,"e",function(){return C}),o.d(w,"d",function(){return P}),o.d(w,"c",function(){return V});var h=o(13);class f{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(l,T){this._keyCodeToStr[l]=T,this._strToKeyCode[T.toLowerCase()]=l}keyCodeToStr(l){return this._keyCodeToStr[l]}strToKeyCode(l){return this._strToKeyCode[l.toLowerCase()]||0}}let D=new f,H=new f,E=new f;var ge;function W(k,l){return(k|(65535&l)<<16>>>0)>>>0}function Q(k,l){if(k===0)return null;let T=(65535&k)>>>0,N=(4294901760&k)>>>16;return new S(N!==0?[y(T,l),y(N,l)]:[y(T,l)])}function y(k,l){let T=!!(2048&k),N=!!(256&k);return new C(l===2?N:T,!!(1024&k),!!(512&k),l===2?T:N,255&k)}(function(){function k(l,T,N=T,b=N){D.define(l,T),H.define(l,N),E.define(l,b)}k(0,"unknown"),k(1,"Backspace"),k(2,"Tab"),k(3,"Enter"),k(4,"Shift"),k(5,"Ctrl"),k(6,"Alt"),k(7,"PauseBreak"),k(8,"CapsLock"),k(9,"Escape"),k(10,"Space"),k(11,"PageUp"),k(12,"PageDown"),k(13,"End"),k(14,"Home"),k(15,"LeftArrow","Left"),k(16,"UpArrow","Up"),k(17,"RightArrow","Right"),k(18,"DownArrow","Down"),k(19,"Insert"),k(20,"Delete"),k(21,"0"),k(22,"1"),k(23,"2"),k(24,"3"),k(25,"4"),k(26,"5"),k(27,"6"),k(28,"7"),k(29,"8"),k(30,"9"),k(31,"A"),k(32,"B"),k(33,"C"),k(34,"D"),k(35,"E"),k(36,"F"),k(37,"G"),k(38,"H"),k(39,"I"),k(40,"J"),k(41,"K"),k(42,"L"),k(43,"M"),k(44,"N"),k(45,"O"),k(46,"P"),k(47,"Q"),k(48,"R"),k(49,"S"),k(50,"T"),k(51,"U"),k(52,"V"),k(53,"W"),k(54,"X"),k(55,"Y"),k(56,"Z"),k(57,"Meta"),k(58,"ContextMenu"),k(59,"F1"),k(60,"F2"),k(61,"F3"),k(62,"F4"),k(63,"F5"),k(64,"F6"),k(65,"F7"),k(66,"F8"),k(67,"F9"),k(68,"F10"),k(69,"F11"),k(70,"F12"),k(71,"F13"),k(72,"F14"),k(73,"F15"),k(74,"F16"),k(75,"F17"),k(76,"F18"),k(77,"F19"),k(78,"NumLock"),k(79,"ScrollLock"),k(80,";",";","OEM_1"),k(81,"=","=","OEM_PLUS"),k(82,",",",","OEM_COMMA"),k(83,"-","-","OEM_MINUS"),k(84,".",".","OEM_PERIOD"),k(85,"/","/","OEM_2"),k(86,"`","`","OEM_3"),k(110,"ABNT_C1"),k(111,"ABNT_C2"),k(87,"[","[","OEM_4"),k(88,"\\","\\","OEM_5"),k(89,"]","]","OEM_6"),k(90,"'","'","OEM_7"),k(91,"OEM_8"),k(92,"OEM_102"),k(93,"NumPad0"),k(94,"NumPad1"),k(95,"NumPad2"),k(96,"NumPad3"),k(97,"NumPad4"),k(98,"NumPad5"),k(99,"NumPad6"),k(100,"NumPad7"),k(101,"NumPad8"),k(102,"NumPad9"),k(103,"NumPad_Multiply"),k(104,"NumPad_Add"),k(105,"NumPad_Separator"),k(106,"NumPad_Subtract"),k(107,"NumPad_Decimal"),k(108,"NumPad_Divide")})(),function(k){k.toString=function(l){return D.keyCodeToStr(l)},k.fromString=function(l){return D.strToKeyCode(l)},k.toUserSettingsUS=function(l){return H.keyCodeToStr(l)},k.toUserSettingsGeneral=function(l){return E.keyCodeToStr(l)},k.fromUserSettings=function(l){return H.strToKeyCode(l)||E.strToKeyCode(l)}}(ge||(ge={}));class C{constructor(l,T,N,b,g){this.ctrlKey=l,this.shiftKey=T,this.altKey=N,this.metaKey=b,this.keyCode=g}equals(l){return this.ctrlKey===l.ctrlKey&&this.shiftKey===l.shiftKey&&this.altKey===l.altKey&&this.metaKey===l.metaKey&&this.keyCode===l.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toChord(){return new S([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}class S{constructor(l){if(l.length===0)throw Object(h.b)("parts");this.parts=l}}class P{constructor(l,T,N,b,g,j){this.ctrlKey=l,this.shiftKey=T,this.altKey=N,this.metaKey=b,this.keyLabel=g,this.keyAriaLabel=j}}class V{}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});var h=o(6);let f=(H,E,ge)=>{let W=y=>Q.fire(y),Q=new h.a({onFirstListenerAdd:()=>{H.addEventListener(E,W,ge)},onLastListenerRemove:()=>{H.removeEventListener(E,W,ge)}});return Q.event};function D(H){return h.b.map(H,E=>(E.preventDefault(),E.stopPropagation(),E))}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return h}),o.d(w,"a",function(){return H});var h,f=o(23),D=o(11);(function(E){E.inMemory="inmemory",E.vscode="vscode",E.internal="private",E.walkThrough="walkThrough",E.walkThroughSnippet="walkThroughSnippet",E.http="http",E.https="https",E.file="file",E.mailto="mailto",E.untitled="untitled",E.data="data",E.command="command",E.vscodeRemote="vscode-remote",E.vscodeRemoteResource="vscode-remote-resource",E.userData="vscode-userdata",E.vscodeCustomEditor="vscode-custom-editor",E.vscodeNotebook="vscode-notebook",E.vscodeNotebookCell="vscode-notebook-cell",E.vscodeSettings="vscode-settings",E.webviewPanel="webview-panel",E.vscodeWebview="vscode-webview",E.vscodeWebviewResource="vscode-webview-resource",E.extension="extension"})(h||(h={}));let H=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(E){this._preferredWebSchema=E}rewrite(E){if(this._delegate)return this._delegate(E);let ge=E.authority,W=this._hosts[ge];W&&W.indexOf(":")!==-1&&(W=`[${W}]`);let Q=this._ports[ge],y=this._connectionTokens[ge],C="path="+encodeURIComponent(E.path);return typeof y=="string"&&(C+="&tkn="+encodeURIComponent(y)),f.a.from({scheme:D.h?this._preferredWebSchema:h.vscodeRemoteResource,authority:`${W}:${Q}`,path:"/vscode-remote-resource",query:C})}}},function(Ie,w,o){"use strict";o.d(w,"c",function(){return f}),o.d(w,"d",function(){return D}),o.d(w,"b",function(){return E}),o.d(w,"g",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"e",function(){return Q}),o.d(w,"f",function(){return y});var h=o(14);function f(C){if(!C||typeof C!="object"||C instanceof RegExp)return C;let S=Array.isArray(C)?[]:{};return Object.keys(C).forEach(P=>{C[P]&&typeof C[P]=="object"?S[P]=f(C[P]):S[P]=C[P]}),S}function D(C){if(!C||typeof C!="object")return C;let S=[C];for(;S.length>0;){let P=S.shift();Object.freeze(P);for(let V in P)if(H.call(P,V)){let k=P[V];typeof k!="object"||Object.isFrozen(k)||S.push(k)}}return C}let H=Object.prototype.hasOwnProperty;function E(C,S){return function P(V,k,l){if(Object(h.l)(V))return V;let T=k(V);if(T!==void 0)return T;if(Object(h.e)(V)){let N=[];for(let b of V)N.push(P(b,k,l));return N}if(Object(h.i)(V)){if(l.has(V))throw new Error("Cannot clone recursive data-structure");l.add(V);let N={};for(let b in V)H.call(V,b)&&(N[b]=P(V[b],k,l));return l.delete(V),N}return V}(C,S,new Set)}function ge(C,S,P=!0){return Object(h.i)(C)?(Object(h.i)(S)&&Object.keys(S).forEach(V=>{V in C?P&&(Object(h.i)(C[V])&&Object(h.i)(S[V])?ge(C[V],S[V],P):C[V]=S[V]):C[V]=S[V]}),C):S}function W(C,...S){return S.forEach(P=>Object.keys(P).forEach(V=>C[V]=P[V])),C}function Q(C,S){if(C===S)return!0;if(C==null||S==null||typeof C!=typeof S||typeof C!="object"||Array.isArray(C)!==Array.isArray(S))return!1;let P,V;if(Array.isArray(C)){if(C.length!==S.length)return!1;for(P=0;P<C.length;P++)if(!Q(C[P],S[P]))return!1}else{let k=[];for(V in C)k.push(V);k.sort();let l=[];for(V in S)l.push(V);if(l.sort(),!Q(k,l))return!1;for(P=0;P<k.length;P++)if(!Q(C[k[P]],S[k[P]]))return!1}return!0}function y(C,S,P){let V=S(C);return V===void 0?P:V}},function(Ie,w,o){"use strict";var h=o(108);o.d(w,"a",function(){return h.b}),o.d(w,"b",function(){return h.e}),o.d(w,"c",function(){return h.h}),o.d(w,"d",function(){return h.l}),o.d(w,"e",function(){return h.m}),o.d(w,"f",function(){return h.n})},function(Ie,w,o){"use strict";var h;o.d(w,"g",function(){return xs}),o.d(w,"d",function(){return In}),o.d(w,"b",function(){return vo}),o.d(w,"a",function(){return zn}),o.d(w,"e",function(){return eo}),o.d(w,"c",function(){return Ur}),o.d(w,"f",function(){return dr}),o.d(w,"h",function(){return Nc}),o.d(w,"j",function(){return Ic}),o.d(w,"i",function(){return Oc}),function(x){x[x.Ident=0]="Ident",x[x.AtKeyword=1]="AtKeyword",x[x.String=2]="String",x[x.BadString=3]="BadString",x[x.UnquotedString=4]="UnquotedString",x[x.Hash=5]="Hash",x[x.Num=6]="Num",x[x.Percentage=7]="Percentage",x[x.Dimension=8]="Dimension",x[x.UnicodeRange=9]="UnicodeRange",x[x.CDO=10]="CDO",x[x.CDC=11]="CDC",x[x.Colon=12]="Colon",x[x.SemiColon=13]="SemiColon",x[x.CurlyL=14]="CurlyL",x[x.CurlyR=15]="CurlyR",x[x.ParenthesisL=16]="ParenthesisL",x[x.ParenthesisR=17]="ParenthesisR",x[x.BracketL=18]="BracketL",x[x.BracketR=19]="BracketR",x[x.Whitespace=20]="Whitespace",x[x.Includes=21]="Includes",x[x.Dashmatch=22]="Dashmatch",x[x.SubstringOperator=23]="SubstringOperator",x[x.PrefixOperator=24]="PrefixOperator",x[x.SuffixOperator=25]="SuffixOperator",x[x.Delim=26]="Delim",x[x.EMS=27]="EMS",x[x.EXS=28]="EXS",x[x.Length=29]="Length",x[x.Angle=30]="Angle",x[x.Time=31]="Time",x[x.Freq=32]="Freq",x[x.Exclamation=33]="Exclamation",x[x.Resolution=34]="Resolution",x[x.Comma=35]="Comma",x[x.Charset=36]="Charset",x[x.EscapedJavaScript=37]="EscapedJavaScript",x[x.BadEscapedJavaScript=38]="BadEscapedJavaScript",x[x.Comment=39]="Comment",x[x.SingleLineComment=40]="SingleLineComment",x[x.EOF=41]="EOF",x[x.CustomToken=42]="CustomToken"}(h||(h={}));var f=function(){function x(c){this.source=c,this.len=c.length,this.position=0}return x.prototype.substring=function(c,p){return p===void 0&&(p=this.position),this.source.substring(c,p)},x.prototype.eos=function(){return this.len<=this.position},x.prototype.pos=function(){return this.position},x.prototype.goBackTo=function(c){this.position=c},x.prototype.goBack=function(c){this.position-=c},x.prototype.advance=function(c){this.position+=c},x.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},x.prototype.peekChar=function(c){return c===void 0&&(c=0),this.source.charCodeAt(this.position+c)||0},x.prototype.lookbackChar=function(c){return c===void 0&&(c=0),this.source.charCodeAt(this.position-c)||0},x.prototype.advanceIfChar=function(c){return c===this.source.charCodeAt(this.position)&&(this.position++,!0)},x.prototype.advanceIfChars=function(c){if(this.position+c.length>this.source.length)return!1;for(var p=0;p<c.length;p++)if(this.source.charCodeAt(this.position+p)!==c[p])return!1;return this.advance(p),!0},x.prototype.advanceWhileChar=function(c){for(var p=this.position;this.position<this.len&&c(this.source.charCodeAt(this.position));)this.position++;return this.position-p},x}(),D="a".charCodeAt(0),H="f".charCodeAt(0),E="z".charCodeAt(0),ge="A".charCodeAt(0),W="F".charCodeAt(0),Q="Z".charCodeAt(0),y="0".charCodeAt(0),C="9".charCodeAt(0),S="~".charCodeAt(0),P="^".charCodeAt(0),V="=".charCodeAt(0),k="|".charCodeAt(0),l="-".charCodeAt(0),T="_".charCodeAt(0),N="%".charCodeAt(0),b="*".charCodeAt(0),g="(".charCodeAt(0),j=")".charCodeAt(0),ie="<".charCodeAt(0),U=">".charCodeAt(0),q="@".charCodeAt(0),B="#".charCodeAt(0),se="$".charCodeAt(0),ke="\\".charCodeAt(0),xe="/".charCodeAt(0),Y=` +`.charCodeAt(0),Z="\r".charCodeAt(0),te="\f".charCodeAt(0),he='"'.charCodeAt(0),Ce="'".charCodeAt(0),Ae=" ".charCodeAt(0),L=" ".charCodeAt(0),nt=";".charCodeAt(0),ct=":".charCodeAt(0),Ye="{".charCodeAt(0),ht="}".charCodeAt(0),fe="[".charCodeAt(0),$="]".charCodeAt(0),G=",".charCodeAt(0),z=".".charCodeAt(0),J="!".charCodeAt(0),Se={};Se[nt]=h.SemiColon,Se[ct]=h.Colon,Se[Ye]=h.CurlyL,Se[ht]=h.CurlyR,Se[$]=h.BracketR,Se[fe]=h.BracketL,Se[g]=h.ParenthesisL,Se[j]=h.ParenthesisR,Se[G]=h.Comma;var A={};A.em=h.EMS,A.ex=h.EXS,A.px=h.Length,A.cm=h.Length,A.mm=h.Length,A.in=h.Length,A.pt=h.Length,A.pc=h.Length,A.deg=h.Angle,A.rad=h.Angle,A.grad=h.Angle,A.ms=h.Time,A.s=h.Time,A.hz=h.Freq,A.khz=h.Freq,A["%"]=h.Percentage,A.fr=h.Percentage,A.dpi=h.Resolution,A.dpcm=h.Resolution;var ee=function(){function x(){this.stream=new f(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return x.prototype.setSource=function(c){this.stream=new f(c)},x.prototype.finishToken=function(c,p,F){return{offset:c,len:this.stream.pos()-c,type:p,text:F||this.stream.substring(c)}},x.prototype.substring=function(c,p){return this.stream.substring(c,c+p)},x.prototype.pos=function(){return this.stream.pos()},x.prototype.goBackTo=function(c){this.stream.goBackTo(c)},x.prototype.scanUnquotedString=function(){var c=this.stream.pos(),p=[];return this._unquotedString(p)?this.finishToken(c,h.UnquotedString,p.join("")):null},x.prototype.scan=function(){var c=this.trivia();if(c!==null)return c;var p=this.stream.pos();return this.stream.eos()?this.finishToken(p,h.EOF):this.scanNext(p)},x.prototype.scanNext=function(c){if(this.stream.advanceIfChars([ie,J,l,l]))return this.finishToken(c,h.CDO);if(this.stream.advanceIfChars([l,l,U]))return this.finishToken(c,h.CDC);var p=[];if(this.ident(p))return this.finishToken(c,h.Ident,p.join(""));if(this.stream.advanceIfChar(q)){if(p=["@"],this._name(p)){var F=p.join("");return F==="@charset"?this.finishToken(c,h.Charset,F):this.finishToken(c,h.AtKeyword,F)}return this.finishToken(c,h.Delim)}if(this.stream.advanceIfChar(B))return p=["#"],this._name(p)?this.finishToken(c,h.Hash,p.join("")):this.finishToken(c,h.Delim);if(this.stream.advanceIfChar(J))return this.finishToken(c,h.Exclamation);if(this._number()){var pe=this.stream.pos();if(p=[this.stream.substring(c,pe)],this.stream.advanceIfChar(N))return this.finishToken(c,h.Percentage);if(this.ident(p)){var He=this.stream.substring(pe).toLowerCase(),Qe=A[He];return Qe!==void 0?this.finishToken(c,Qe,p.join("")):this.finishToken(c,h.Dimension,p.join(""))}return this.finishToken(c,h.Num)}p=[];var Vt=this._string(p);return Vt!==null?this.finishToken(c,Vt,p.join("")):(Vt=Se[this.stream.peekChar()])!==void 0?(this.stream.advance(1),this.finishToken(c,Vt)):this.stream.peekChar(0)===S&&this.stream.peekChar(1)===V?(this.stream.advance(2),this.finishToken(c,h.Includes)):this.stream.peekChar(0)===k&&this.stream.peekChar(1)===V?(this.stream.advance(2),this.finishToken(c,h.Dashmatch)):this.stream.peekChar(0)===b&&this.stream.peekChar(1)===V?(this.stream.advance(2),this.finishToken(c,h.SubstringOperator)):this.stream.peekChar(0)===P&&this.stream.peekChar(1)===V?(this.stream.advance(2),this.finishToken(c,h.PrefixOperator)):this.stream.peekChar(0)===se&&this.stream.peekChar(1)===V?(this.stream.advance(2),this.finishToken(c,h.SuffixOperator)):(this.stream.nextChar(),this.finishToken(c,h.Delim))},x.prototype.trivia=function(){for(;;){var c=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(c,h.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(c,h.Comment)}}},x.prototype.comment=function(){if(this.stream.advanceIfChars([xe,b])){var c=!1,p=!1;return this.stream.advanceWhileChar(function(F){return p&&F===xe?(c=!0,!1):(p=F===b,!0)}),c&&this.stream.advance(1),!0}return!1},x.prototype._number=function(){var c,p=0;return this.stream.peekChar()===z&&(p=1),(c=this.stream.peekChar(p))>=y&&c<=C&&(this.stream.advance(p+1),this.stream.advanceWhileChar(function(F){return F>=y&&F<=C||p===0&&F===z}),!0)},x.prototype._newline=function(c){var p=this.stream.peekChar();switch(p){case Z:case te:case Y:return this.stream.advance(1),c.push(String.fromCharCode(p)),p===Z&&this.stream.advanceIfChar(Y)&&c.push(` +`),!0}return!1},x.prototype._escape=function(c,p){var F=this.stream.peekChar();if(F===ke){this.stream.advance(1),F=this.stream.peekChar();for(var pe=0;pe<6&&(F>=y&&F<=C||F>=D&&F<=H||F>=ge&&F<=W);)this.stream.advance(1),F=this.stream.peekChar(),pe++;if(pe>0){try{var He=parseInt(this.stream.substring(this.stream.pos()-pe),16);He&&c.push(String.fromCharCode(He))}catch(Qe){}return F===Ae||F===L?this.stream.advance(1):this._newline([]),!0}if(F!==Z&&F!==te&&F!==Y)return this.stream.advance(1),c.push(String.fromCharCode(F)),!0;if(p)return this._newline(c)}return!1},x.prototype._stringChar=function(c,p){var F=this.stream.peekChar();return F!==0&&F!==c&&F!==ke&&F!==Z&&F!==te&&F!==Y&&(this.stream.advance(1),p.push(String.fromCharCode(F)),!0)},x.prototype._string=function(c){if(this.stream.peekChar()===Ce||this.stream.peekChar()===he){var p=this.stream.nextChar();for(c.push(String.fromCharCode(p));this._stringChar(p,c)||this._escape(c,!0););return this.stream.peekChar()===p?(this.stream.nextChar(),c.push(String.fromCharCode(p)),h.String):h.BadString}return null},x.prototype._unquotedChar=function(c){var p=this.stream.peekChar();return p!==0&&p!==ke&&p!==Ce&&p!==he&&p!==g&&p!==j&&p!==Ae&&p!==L&&p!==Y&&p!==te&&p!==Z&&(this.stream.advance(1),c.push(String.fromCharCode(p)),!0)},x.prototype._unquotedString=function(c){for(var p=!1;this._unquotedChar(c)||this._escape(c);)p=!0;return p},x.prototype._whitespace=function(){return this.stream.advanceWhileChar(function(c){return c===Ae||c===L||c===Y||c===te||c===Z})>0},x.prototype._name=function(c){for(var p=!1;this._identChar(c)||this._escape(c);)p=!0;return p},x.prototype.ident=function(c){var p=this.stream.pos();if(this._minus(c)&&this._minus(c)){if(this._identFirstChar(c)||this._escape(c)){for(;this._identChar(c)||this._escape(c););return!0}}else if(this._identFirstChar(c)||this._escape(c)){for(;this._identChar(c)||this._escape(c););return!0}return this.stream.goBackTo(p),!1},x.prototype._identFirstChar=function(c){var p=this.stream.peekChar();return(p===T||p>=D&&p<=E||p>=ge&&p<=Q||p>=128&&p<=65535)&&(this.stream.advance(1),c.push(String.fromCharCode(p)),!0)},x.prototype._minus=function(c){var p=this.stream.peekChar();return p===l&&(this.stream.advance(1),c.push(String.fromCharCode(p)),!0)},x.prototype._identChar=function(c){var p=this.stream.peekChar();return(p===T||p===l||p>=D&&p<=E||p>=ge&&p<=Q||p>=y&&p<=C||p>=128&&p<=65535)&&(this.stream.advance(1),c.push(String.fromCharCode(p)),!0)},x}();function de(x,c){if(x.length<c.length)return!1;for(var p=0;p<c.length;p++)if(x[p]!==c[p])return!1;return!0}function Oe(x,c){var p=x.length-c.length;return p>0?x.lastIndexOf(c)===p:p===0&&x===c}function $e(x,c){return c===void 0&&(c=!0),x?x.length<140?x:x.slice(0,140)+(c?"\u2026":""):""}var pt,it,At,Nt=(pt=function(x,c){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,F){p.__proto__=F}||function(p,F){for(var pe in F)F.hasOwnProperty(pe)&&(p[pe]=F[pe])})(x,c)},function(x,c){function p(){this.constructor=x}pt(x,c),x.prototype=c===null?Object.create(c):(p.prototype=c.prototype,new p)});function _i(x,c){var p=null;return!x||c<x.offset||c>x.end?null:(x.accept(function(F){return F.offset===-1&&F.length===-1||F.offset<=c&&F.end>=c&&(p?F.length<=p.length&&(p=F):p=F,!0)}),p)}function wt(x,c){for(var p=_i(x,c),F=[];p;)F.unshift(p),p=p.parent;return F}(function(x){x[x.Undefined=0]="Undefined",x[x.Identifier=1]="Identifier",x[x.Stylesheet=2]="Stylesheet",x[x.Ruleset=3]="Ruleset",x[x.Selector=4]="Selector",x[x.SimpleSelector=5]="SimpleSelector",x[x.SelectorInterpolation=6]="SelectorInterpolation",x[x.SelectorCombinator=7]="SelectorCombinator",x[x.SelectorCombinatorParent=8]="SelectorCombinatorParent",x[x.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",x[x.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",x[x.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",x[x.Page=12]="Page",x[x.PageBoxMarginBox=13]="PageBoxMarginBox",x[x.ClassSelector=14]="ClassSelector",x[x.IdentifierSelector=15]="IdentifierSelector",x[x.ElementNameSelector=16]="ElementNameSelector",x[x.PseudoSelector=17]="PseudoSelector",x[x.AttributeSelector=18]="AttributeSelector",x[x.Declaration=19]="Declaration",x[x.Declarations=20]="Declarations",x[x.Property=21]="Property",x[x.Expression=22]="Expression",x[x.BinaryExpression=23]="BinaryExpression",x[x.Term=24]="Term",x[x.Operator=25]="Operator",x[x.Value=26]="Value",x[x.StringLiteral=27]="StringLiteral",x[x.URILiteral=28]="URILiteral",x[x.EscapedValue=29]="EscapedValue",x[x.Function=30]="Function",x[x.NumericValue=31]="NumericValue",x[x.HexColorValue=32]="HexColorValue",x[x.MixinDeclaration=33]="MixinDeclaration",x[x.MixinReference=34]="MixinReference",x[x.VariableName=35]="VariableName",x[x.VariableDeclaration=36]="VariableDeclaration",x[x.Prio=37]="Prio",x[x.Interpolation=38]="Interpolation",x[x.NestedProperties=39]="NestedProperties",x[x.ExtendsReference=40]="ExtendsReference",x[x.SelectorPlaceholder=41]="SelectorPlaceholder",x[x.Debug=42]="Debug",x[x.If=43]="If",x[x.Else=44]="Else",x[x.For=45]="For",x[x.Each=46]="Each",x[x.While=47]="While",x[x.MixinContentReference=48]="MixinContentReference",x[x.MixinContentDeclaration=49]="MixinContentDeclaration",x[x.Media=50]="Media",x[x.Keyframe=51]="Keyframe",x[x.FontFace=52]="FontFace",x[x.Import=53]="Import",x[x.Namespace=54]="Namespace",x[x.Invocation=55]="Invocation",x[x.FunctionDeclaration=56]="FunctionDeclaration",x[x.ReturnStatement=57]="ReturnStatement",x[x.MediaQuery=58]="MediaQuery",x[x.FunctionParameter=59]="FunctionParameter",x[x.FunctionArgument=60]="FunctionArgument",x[x.KeyframeSelector=61]="KeyframeSelector",x[x.ViewPort=62]="ViewPort",x[x.Document=63]="Document",x[x.AtApplyRule=64]="AtApplyRule",x[x.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",x[x.CustomPropertySet=66]="CustomPropertySet",x[x.ListEntry=67]="ListEntry",x[x.Supports=68]="Supports",x[x.SupportsCondition=69]="SupportsCondition",x[x.NamespacePrefix=70]="NamespacePrefix",x[x.GridLine=71]="GridLine",x[x.Plugin=72]="Plugin",x[x.UnknownAtRule=73]="UnknownAtRule",x[x.Use=74]="Use",x[x.ModuleConfiguration=75]="ModuleConfiguration",x[x.Forward=76]="Forward",x[x.ForwardVisibility=77]="ForwardVisibility",x[x.Module=78]="Module"})(it||(it={})),function(x){x[x.Mixin=0]="Mixin",x[x.Rule=1]="Rule",x[x.Variable=2]="Variable",x[x.Function=3]="Function",x[x.Keyframe=4]="Keyframe",x[x.Unknown=5]="Unknown",x[x.Module=6]="Module",x[x.Forward=7]="Forward",x[x.ForwardVisibility=8]="ForwardVisibility"}(At||(At={}));var Ni,pi=function(){function x(c,p,F){c===void 0&&(c=-1),p===void 0&&(p=-1),this.parent=null,this.offset=c,this.length=p,F&&(this.nodeType=F)}return Object.defineProperty(x.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"type",{get:function(){return this.nodeType||it.Undefined},set:function(c){this.nodeType=c},enumerable:!0,configurable:!0}),x.prototype.getTextProvider=function(){for(var c=this;c&&!c.textProvider;)c=c.parent;return c?c.textProvider:function(){return"unknown"}},x.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},x.prototype.matches=function(c){return this.length===c.length&&this.getTextProvider()(this.offset,this.length)===c},x.prototype.startsWith=function(c){return this.length>=c.length&&this.getTextProvider()(this.offset,c.length)===c},x.prototype.endsWith=function(c){return this.length>=c.length&&this.getTextProvider()(this.end-c.length,c.length)===c},x.prototype.accept=function(c){if(c(this)&&this.children)for(var p=0,F=this.children;p<F.length;p++)F[p].accept(c)},x.prototype.acceptVisitor=function(c){this.accept(c.visitNode.bind(c))},x.prototype.adoptChild=function(c,p){if(p===void 0&&(p=-1),c.parent&&c.parent.children){var F=c.parent.children.indexOf(c);F>=0&&c.parent.children.splice(F,1)}c.parent=this;var pe=this.children;return pe||(pe=this.children=[]),p!==-1?pe.splice(p,0,c):pe.push(c),c},x.prototype.attachTo=function(c,p){return p===void 0&&(p=-1),c&&c.adoptChild(this,p),this},x.prototype.collectIssues=function(c){this.issues&&c.push.apply(c,this.issues)},x.prototype.addIssue=function(c){this.issues||(this.issues=[]),this.issues.push(c)},x.prototype.hasIssue=function(c){return Array.isArray(this.issues)&&this.issues.some(function(p){return p.getRule()===c})},x.prototype.isErroneous=function(c){return c===void 0&&(c=!1),!!(this.issues&&this.issues.length>0)||c&&Array.isArray(this.children)&&this.children.some(function(p){return p.isErroneous(!0)})},x.prototype.setNode=function(c,p,F){return F===void 0&&(F=-1),!!p&&(p.attachTo(this,F),this[c]=p,!0)},x.prototype.addChild=function(c){return!!c&&(this.children||(this.children=[]),c.attachTo(this),this.updateOffsetAndLength(c),!0)},x.prototype.updateOffsetAndLength=function(c){(c.offset<this.offset||this.offset===-1)&&(this.offset=c.offset);var p=c.end;(p>this.end||this.length===-1)&&(this.length=p-this.offset)},x.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},x.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},x.prototype.getChild=function(c){return this.children&&c<this.children.length?this.children[c]:null},x.prototype.addChildren=function(c){for(var p=0,F=c;p<F.length;p++){var pe=F[p];this.addChild(pe)}},x.prototype.findFirstChildBeforeOffset=function(c){if(this.children){for(var p=null,F=this.children.length-1;F>=0;F--)if((p=this.children[F]).offset<=c)return p}return null},x.prototype.findChildAtOffset=function(c,p){var F=this.findFirstChildBeforeOffset(c);return F&&F.end>=c?p&&F.findChildAtOffset(c,!0)||F:null},x.prototype.encloses=function(c){return this.offset<=c.offset&&this.offset+this.length>=c.offset+c.length},x.prototype.getParent=function(){for(var c=this.parent;c instanceof et;)c=c.parent;return c},x.prototype.findParent=function(c){for(var p=this;p&&p.type!==c;)p=p.parent;return p},x.prototype.findAParent=function(){for(var c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];for(var F=this;F&&!c.some(function(pe){return F.type===pe});)F=F.parent;return F},x.prototype.setData=function(c,p){this.options||(this.options={}),this.options[c]=p},x.prototype.getData=function(c){return this.options&&this.options.hasOwnProperty(c)?this.options[c]:null},x}(),et=function(x){function c(p,F){F===void 0&&(F=-1);var pe=x.call(this,-1,-1)||this;return pe.attachTo(p,F),pe.offset=-1,pe.length=-1,pe}return Nt(c,x),c}(pi),Wt=function(x){function c(p,F){var pe=x.call(this,p,F)||this;return pe.isCustomProperty=!1,pe}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Identifier},enumerable:!0,configurable:!0}),c.prototype.containsInterpolation=function(){return this.hasChildren()},c}(pi),Li=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Stylesheet},enumerable:!0,configurable:!0}),c}(pi),Ii=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Declarations},enumerable:!0,configurable:!0}),c}(pi),Ai=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),c.prototype.getDeclarations=function(){return this.declarations},c.prototype.setDeclarations=function(p){return this.setNode("declarations",p)},c}(pi),Zi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Ruleset},enumerable:!0,configurable:!0}),c.prototype.getSelectors=function(){return this.selectors||(this.selectors=new et(this)),this.selectors},c.prototype.isNested=function(){return!!this.parent&&this.parent.findParent(it.Declarations)!==null},c}(Ai),Bi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Selector},enumerable:!0,configurable:!0}),c}(pi),Lt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.SimpleSelector},enumerable:!0,configurable:!0}),c}(pi),Di=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.AtApplyRule},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c}(pi),gt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),c}(pi),vi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),c.prototype.setProperty=function(p){return this.setNode("property",p)},c.prototype.getProperty=function(){return this.property},c.prototype.setValue=function(p){return this.setNode("value",p)},c.prototype.getValue=function(){return this.value},c.prototype.setPropertySet=function(p){return this.setNode("propertySet",p)},c.prototype.getPropertySet=function(){return this.propertySet},c}(gt),Rt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.CustomPropertySet},enumerable:!0,configurable:!0}),c}(Ai),vt=function(x){function c(p,F){var pe=x.call(this,p,F)||this;return pe.property=null,pe}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Declaration},enumerable:!0,configurable:!0}),c.prototype.setProperty=function(p){return this.setNode("property",p)},c.prototype.getProperty=function(){return this.property},c.prototype.getFullPropertyName=function(){var p=this.property?this.property.getName():"unknown";if(this.parent instanceof Ii&&this.parent.getParent()instanceof yi){var F=this.parent.getParent().getParent();if(F instanceof c)return F.getFullPropertyName()+p}return p},c.prototype.getNonPrefixedPropertyName=function(){var p=this.getFullPropertyName();if(p&&p.charAt(0)==="-"){var F=p.indexOf("-",1);if(F!==-1)return p.substring(F+1)}return p},c.prototype.setValue=function(p){return this.setNode("value",p)},c.prototype.getValue=function(){return this.value},c.prototype.setNestedProperties=function(p){return this.setNode("nestedProperties",p)},c.prototype.getNestedProperties=function(){return this.nestedProperties},c}(gt),Ue=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Property},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return p=this.getText(),(F=/[_\+]+$/.exec(p))&&F[0].length?p.substr(0,p.length-F[0].length):p;var p,F},c.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},c}(pi),ut=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Function},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c}(function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Invocation},enumerable:!0,configurable:!0}),c.prototype.getArguments=function(){return this.arguments||(this.arguments=new et(this)),this.arguments},c}(pi)),ze=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.FunctionParameter},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c.prototype.setDefaultValue=function(p){return this.setNode("defaultValue",p,0)},c.prototype.getDefaultValue=function(){return this.defaultValue},c}(pi),st=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.FunctionArgument},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c.prototype.setValue=function(p){return this.setNode("value",p,0)},c.prototype.getValue=function(){return this.value},c}(pi),_t=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.If},enumerable:!0,configurable:!0}),c.prototype.setExpression=function(p){return this.setNode("expression",p,0)},c.prototype.setElseClause=function(p){return this.setNode("elseClause",p)},c}(Ai),oi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.For},enumerable:!0,configurable:!0}),c.prototype.setVariable=function(p){return this.setNode("variable",p,0)},c}(Ai),li=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Each},enumerable:!0,configurable:!0}),c.prototype.getVariables=function(){return this.variables||(this.variables=new et(this)),this.variables},c}(Ai),gi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.While},enumerable:!0,configurable:!0}),c}(Ai),ki=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Else},enumerable:!0,configurable:!0}),c}(Ai),Ri=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.FunctionDeclaration},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c.prototype.getParameters=function(){return this.parameters||(this.parameters=new et(this)),this.parameters},c}(Ai),$i=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.ViewPort},enumerable:!0,configurable:!0}),c}(Ai),Hi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.FontFace},enumerable:!0,configurable:!0}),c}(Ai),yi=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.NestedProperties},enumerable:!0,configurable:!0}),c}(Ai),kt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Keyframe},enumerable:!0,configurable:!0}),c.prototype.setKeyword=function(p){return this.setNode("keyword",p,0)},c.prototype.getKeyword=function(){return this.keyword},c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c}(Ai),Et=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.KeyframeSelector},enumerable:!0,configurable:!0}),c}(Ai),si=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Import},enumerable:!0,configurable:!0}),c.prototype.setMedialist=function(p){return!!p&&(p.attachTo(this),!0)},c}(pi),Si=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Use},enumerable:!0,configurable:!0}),c.prototype.getParameters=function(){return this.parameters||(this.parameters=new et(this)),this.parameters},c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c}(pi),Pi=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.ModuleConfiguration},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c.prototype.setValue=function(p){return this.setNode("value",p,0)},c.prototype.getValue=function(){return this.value},c}(pi),Wi=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Forward},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c}(pi),xn=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.ForwardVisibility},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c}(pi),un=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Namespace},enumerable:!0,configurable:!0}),c}(pi),bn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Media},enumerable:!0,configurable:!0}),c}(Ai),Fn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Supports},enumerable:!0,configurable:!0}),c}(Ai),Mn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Document},enumerable:!0,configurable:!0}),c}(Ai),Nn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),c.prototype.getMediums=function(){return this.mediums||(this.mediums=new et(this)),this.mediums},c}(pi),Hn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.MediaQuery},enumerable:!0,configurable:!0}),c}(pi),Jn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.SupportsCondition},enumerable:!0,configurable:!0}),c}(pi),_o=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Page},enumerable:!0,configurable:!0}),c}(Ai),pn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.PageBoxMarginBox},enumerable:!0,configurable:!0}),c}(Ai),Gn=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Expression},enumerable:!0,configurable:!0}),c}(pi),on=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.BinaryExpression},enumerable:!0,configurable:!0}),c.prototype.setLeft=function(p){return this.setNode("left",p)},c.prototype.getLeft=function(){return this.left},c.prototype.setRight=function(p){return this.setNode("right",p)},c.prototype.getRight=function(){return this.right},c.prototype.setOperator=function(p){return this.setNode("operator",p)},c.prototype.getOperator=function(){return this.operator},c}(pi),ho=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Term},enumerable:!0,configurable:!0}),c.prototype.setOperator=function(p){return this.setNode("operator",p)},c.prototype.getOperator=function(){return this.operator},c.prototype.setExpression=function(p){return this.setNode("expression",p)},c.prototype.getExpression=function(){return this.expression},c}(pi),On=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.AttributeSelector},enumerable:!0,configurable:!0}),c.prototype.setNamespacePrefix=function(p){return this.setNode("namespacePrefix",p)},c.prototype.getNamespacePrefix=function(){return this.namespacePrefix},c.prototype.setIdentifier=function(p){return this.setNode("identifier",p)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.setOperator=function(p){return this.setNode("operator",p)},c.prototype.getOperator=function(){return this.operator},c.prototype.setValue=function(p){return this.setNode("value",p)},c.prototype.getValue=function(){return this.value},c}(pi),Dn=(function(x){function c(p,F){return x.call(this,p,F)||this}Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Operator},enumerable:!0,configurable:!0})}(pi),function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.HexColorValue},enumerable:!0,configurable:!0}),c}(pi)),qt=".".charCodeAt(0),I="0".charCodeAt(0),ne="9".charCodeAt(0),_e=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.NumericValue},enumerable:!0,configurable:!0}),c.prototype.getValue=function(){for(var p,F=this.getText(),pe=0,He=0,Qe=F.length;He<Qe&&(p=F.charCodeAt(He),I<=p&&p<=ne||p===qt);He++)pe+=1;return{value:F.substring(0,pe),unit:pe<F.length?F.substring(pe):void 0}},c}(pi),Fe=function(x){function c(p,F){var pe=x.call(this,p,F)||this;return pe.variable=null,pe.value=null,pe.needsSemicolon=!0,pe}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.VariableDeclaration},enumerable:!0,configurable:!0}),c.prototype.setVariable=function(p){return!!p&&(p.attachTo(this),this.variable=p,!0)},c.prototype.getVariable=function(){return this.variable},c.prototype.getName=function(){return this.variable?this.variable.getName():""},c.prototype.setValue=function(p){return!!p&&(p.attachTo(this),this.value=p,!0)},c.prototype.getValue=function(){return this.value},c}(gt),Xe=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Interpolation},enumerable:!0,configurable:!0}),c}(pi),ot=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.VariableName},enumerable:!0,configurable:!0}),c.prototype.getName=function(){return this.getText()},c}(pi),Mt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.ExtendsReference},enumerable:!0,configurable:!0}),c.prototype.getSelectors=function(){return this.selectors||(this.selectors=new et(this)),this.selectors},c}(pi),Ot=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.MixinContentReference},enumerable:!0,configurable:!0}),c.prototype.getArguments=function(){return this.arguments||(this.arguments=new et(this)),this.arguments},c}(pi),Tt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.MixinContentReference},enumerable:!0,configurable:!0}),c.prototype.getParameters=function(){return this.parameters||(this.parameters=new et(this)),this.parameters},c}(Ai),Ht=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.MixinReference},enumerable:!0,configurable:!0}),c.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new et(this)),this.namespaces},c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c.prototype.getArguments=function(){return this.arguments||(this.arguments=new et(this)),this.arguments},c.prototype.setContent=function(p){return this.setNode("content",p)},c.prototype.getContent=function(){return this.content},c}(pi),jt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.MixinDeclaration},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c.prototype.getName=function(){return this.identifier?this.identifier.getText():""},c.prototype.getParameters=function(){return this.parameters||(this.parameters=new et(this)),this.parameters},c.prototype.setGuard=function(p){return p&&(p.attachTo(this),this.guard=p),!1},c}(Ai),Kt=function(x){function c(p,F){return x.call(this,p,F)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.UnknownAtRule},enumerable:!0,configurable:!0}),c.prototype.setAtRuleName=function(p){this.atRuleName=p},c.prototype.getAtRuleName=function(){return this.atRuleName},c}(Ai),wi=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.ListEntry},enumerable:!0,configurable:!0}),c.prototype.setKey=function(p){return this.setNode("key",p,0)},c.prototype.setValue=function(p){return this.setNode("value",p,1)},c}(pi),Ti=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),c.prototype.getConditions=function(){return this.conditions||(this.conditions=new et(this)),this.conditions},c}(pi),ft=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),c.prototype.setVariable=function(p){return this.setNode("variable",p)},c}(pi),X=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Nt(c,x),Object.defineProperty(c.prototype,"type",{get:function(){return it.Module},enumerable:!0,configurable:!0}),c.prototype.setIdentifier=function(p){return this.setNode("identifier",p,0)},c.prototype.getIdentifier=function(){return this.identifier},c}(pi);(function(x){x[x.Ignore=1]="Ignore",x[x.Warning=2]="Warning",x[x.Error=4]="Error"})(Ni||(Ni={}));var ae=function(){function x(c,p,F,pe,He,Qe){He===void 0&&(He=c.offset),Qe===void 0&&(Qe=c.length),this.node=c,this.rule=p,this.level=F,this.message=pe||p.message,this.offset=He,this.length=Qe}return x.prototype.getRule=function(){return this.rule},x.prototype.getLevel=function(){return this.level},x.prototype.getOffset=function(){return this.offset},x.prototype.getLength=function(){return this.length},x.prototype.getNode=function(){return this.node},x.prototype.getMessage=function(){return this.message},x}(),Ge=function(){function x(){this.entries=[]}return x.entries=function(c){var p=new x;return c.acceptVisitor(p),p.entries},x.prototype.visitNode=function(c){return c.isErroneous()&&c.collectIssues(this.entries),!0},x}();function lt(x,c){return c.length===0?x:x.replace(/\{(\d+)\}/g,function(p,F){var pe=F[0];return c[pe]!==void 0?c[pe]:p})}function Dt(x,c){for(var p=[],F=2;F<arguments.length;F++)p[F-2]=arguments[F];return lt(c,p)}function Gt(x){return Dt}var ti=Gt(),ye=function(x,c){this.id=x,this.message=c},le={NumberExpected:new ye("css-numberexpected",ti("expected.number","number expected")),ConditionExpected:new ye("css-conditionexpected",ti("expected.condt","condition expected")),RuleOrSelectorExpected:new ye("css-ruleorselectorexpected",ti("expected.ruleorselector","at-rule or selector expected")),DotExpected:new ye("css-dotexpected",ti("expected.dot","dot expected")),ColonExpected:new ye("css-colonexpected",ti("expected.colon","colon expected")),SemiColonExpected:new ye("css-semicolonexpected",ti("expected.semicolon","semi-colon expected")),TermExpected:new ye("css-termexpected",ti("expected.term","term expected")),ExpressionExpected:new ye("css-expressionexpected",ti("expected.expression","expression expected")),OperatorExpected:new ye("css-operatorexpected",ti("expected.operator","operator expected")),IdentifierExpected:new ye("css-identifierexpected",ti("expected.ident","identifier expected")),PercentageExpected:new ye("css-percentageexpected",ti("expected.percentage","percentage expected")),URIOrStringExpected:new ye("css-uriorstringexpected",ti("expected.uriorstring","uri or string expected")),URIExpected:new ye("css-uriexpected",ti("expected.uri","URI expected")),VariableNameExpected:new ye("css-varnameexpected",ti("expected.varname","variable name expected")),VariableValueExpected:new ye("css-varvalueexpected",ti("expected.varvalue","variable value expected")),PropertyValueExpected:new ye("css-propertyvalueexpected",ti("expected.propvalue","property value expected")),LeftCurlyExpected:new ye("css-lcurlyexpected",ti("expected.lcurly","{ expected")),RightCurlyExpected:new ye("css-rcurlyexpected",ti("expected.rcurly","} expected")),LeftSquareBracketExpected:new ye("css-rbracketexpected",ti("expected.lsquare","[ expected")),RightSquareBracketExpected:new ye("css-lbracketexpected",ti("expected.rsquare","] expected")),LeftParenthesisExpected:new ye("css-lparentexpected",ti("expected.lparen","( expected")),RightParenthesisExpected:new ye("css-rparentexpected",ti("expected.rparent",") expected")),CommaExpected:new ye("css-commaexpected",ti("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new ye("css-pagedirordeclexpected",ti("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new ye("css-unknownatrule",ti("unknown.atrule","at-rule unknown")),UnknownKeyword:new ye("css-unknownkeyword",ti("unknown.keyword","unknown keyword")),SelectorExpected:new ye("css-selectorexpected",ti("expected.selector","selector expected")),StringLiteralExpected:new ye("css-stringliteralexpected",ti("expected.stringliteral","string literal expected")),WhitespaceExpected:new ye("css-whitespaceexpected",ti("expected.whitespace","whitespace expected")),MediaQueryExpected:new ye("css-mediaqueryexpected",ti("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new ye("css-idorwildcardexpected",ti("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new ye("css-wildcardexpected",ti("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new ye("css-idorvarexpected",ti("expected.idorvar","identifier or variable expected"))},ue={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function qe(x){switch(x){case"experimental":return`\u26A0\uFE0F Property is experimental. Be cautious when using it.\uFE0F -`;case"nonstandard":return`🚨️ Property is nonstandard. Avoid using it. +`;case"nonstandard":return`\u{1F6A8}\uFE0F Property is nonstandard. Avoid using it. -`;case"obsolete":return`🚨️️️ Property is obsolete. Avoid using it. +`;case"obsolete":return`\u{1F6A8}\uFE0F\uFE0F\uFE0F Property is obsolete. Avoid using it. -`;default:return""}}function ab(v,j){var m;if(""!==(m=j?{kind:"markdown",value:Sb(v)}:{kind:"plaintext",value:jb(v)}).value)return m}function Ya(v){return(v=v.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(/</g,"<").replace(/>/g,">")}function jb(v){if(!v.description||""===v.description)return"";if("string"!=typeof v.description)return v.description.value;var j="";v.status&&(j+=Ra(v.status)),j+=v.description;var m=Yb(v.browsers);return m&&(j+=` -(`+m+")"),"syntax"in v&&(j+=` +`;default:return""}}function Ze(x,c){var p;if((p=c?{kind:"markdown",value:zt(x)}:{kind:"plaintext",value:rt(x)}).value!=="")return p}function tt(x){return(x=x.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(/</g,"<").replace(/>/g,">")}function rt(x){if(!x.description||x.description==="")return"";if(typeof x.description!="string")return x.description.value;var c="";x.status&&(c+=qe(x.status)),c+=x.description;var p=Jt(x.browsers);return p&&(c+=` +(`+p+")"),"syntax"in x&&(c+=` -Syntax: `+v.syntax),v.references&&v.references.length>0&&(j+=` +Syntax: `+x.syntax),x.references&&x.references.length>0&&(c+=` -`,j+=v.references.map(function(M){return M.name+": "+M.url}).join(" | ")),j}function Sb(v){if(!v.description||""===v.description)return"";var j="";v.status&&(j+=Ra(v.status)),j+=Ya("string"==typeof v.description?v.description:v.description.value);var m=Yb(v.browsers);return m&&(j+=` +`,c+=x.references.map(function(F){return F.name+": "+F.url}).join(" | ")),c}function zt(x){if(!x.description||x.description==="")return"";var c="";x.status&&(c+=qe(x.status)),c+=tt(typeof x.description=="string"?x.description:x.description.value);var p=Jt(x.browsers);return p&&(c+=` -(`+Ya(m)+")"),"syntax"in v&&v.syntax&&(j+=` +(`+tt(p)+")"),"syntax"in x&&x.syntax&&(c+=` -Syntax: `+Ya(v.syntax)),v.references&&v.references.length>0&&(j+=` +Syntax: `+tt(x.syntax)),x.references&&x.references.length>0&&(c+=` -`,j+=v.references.map(function(M){return"["+M.name+"]("+M.url+")"}).join(" | ")),j}function Yb(v){return void 0===v&&(v=[]),0===v.length?null:v.map(function(j){var m="",M=j.match(/([A-Z]+)(\d+)?/),na=M[1],Ua=M[2];return na in ra&&(m+=ra[na]),Ua&&(m+=" "+Ua),m}).join(", ")}var rc=jc(),zc=[{func:"rgb($red, $green, $blue)",desc:rc("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:rc("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:rc("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:rc("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],_b={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},qc={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function nc(v,j){var m=v.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(m){m[2]&&(j=100);var M=parseFloat(m[1])/j;if(M>=0&&M<=1)return M}throw new Error()}function Aa(v){var j=v.getName();return!!j&&/^(rgb|rgba|hsl|hsla)$/gi.test(j)}function ya(v){return v<48?0:v<=57?v-48:(v<97&&(v+=32),v>=97&&v<=102?v-97+10:0)}function pa(v){if("#"!==v[0])return null;switch(v.length){case 4:return{red:17*ya(v.charCodeAt(1))/255,green:17*ya(v.charCodeAt(2))/255,blue:17*ya(v.charCodeAt(3))/255,alpha:1};case 5:return{red:17*ya(v.charCodeAt(1))/255,green:17*ya(v.charCodeAt(2))/255,blue:17*ya(v.charCodeAt(3))/255,alpha:17*ya(v.charCodeAt(4))/255};case 7:return{red:(16*ya(v.charCodeAt(1))+ya(v.charCodeAt(2)))/255,green:(16*ya(v.charCodeAt(3))+ya(v.charCodeAt(4)))/255,blue:(16*ya(v.charCodeAt(5))+ya(v.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*ya(v.charCodeAt(1))+ya(v.charCodeAt(2)))/255,green:(16*ya(v.charCodeAt(3))+ya(v.charCodeAt(4)))/255,blue:(16*ya(v.charCodeAt(5))+ya(v.charCodeAt(6)))/255,alpha:(16*ya(v.charCodeAt(7))+ya(v.charCodeAt(8)))/255}}return null}function Ja(v){if(v.type===gb.HexColorValue)return pa(v.getText());if(v.type===gb.Function){var j=v,m=j.getName(),M=j.getArguments().getChildren();if(!m||M.length<3||M.length>4)return null;try{var na=4===M.length?nc(M[3],1):1;if("rgb"===m||"rgba"===m)return{red:nc(M[0],255),green:nc(M[1],255),blue:nc(M[2],255),alpha:na};if("hsl"===m||"hsla"===m)return function(fc,Ib,Lc,id){if(void 0===id&&(id=1),0===Ib)return{red:Lc,green:Lc,blue:Lc,alpha:id};var pd=function(Md,Nd,Ad){for(;Ad<0;)Ad+=6;for(;Ad>=6;)Ad-=6;return Ad<1?(Nd-Md)*Ad+Md:Ad<3?Nd:Ad<4?(Nd-Md)*(4-Ad)+Md:Md},cd=Lc<=.5?Lc*(Ib+1):Lc+Ib-Lc*Ib,Hd=2*Lc-cd;return{red:pd(Hd,cd,(fc/=60)+2),green:pd(Hd,cd,fc),blue:pd(Hd,cd,fc-2),alpha:id}}(function(fc){var Ib=fc.getText();if(Ib.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(Ib)%360;throw new Error()}(M[0]),nc(M[1],100),nc(M[2],100),na)}catch(fc){return null}}else if(v.type===gb.Identifier){if(v.parent&&v.parent.type!==gb.Term)return null;var Ua=v.parent;if(Ua&&Ua.parent&&Ua.parent.type===gb.BinaryExpression){var Za=Ua.parent;if(Za.parent&&Za.parent.type===gb.ListEntry&&Za.parent.key===Za)return null}var Kb=v.getText().toLowerCase();if("none"===Kb)return null;var Qb=_b[Kb];if(Qb)return pa(Qb)}return null}var Na={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},Pa={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},Fa={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Xa=["medium","thick","thin"],lb={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},sb={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},vb={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Vb={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},hc={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Tb={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},cc={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Rc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],gd=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],od=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function Wb(v){return Object.keys(v).map(function(j){return v[j]})}function Zb(v){return void 0!==v}var kc=function(){for(var v=0,j=0,m=arguments.length;j<m;j++)v+=arguments[j].length;var M=Array(v),na=0;for(j=0;j<m;j++)for(var Ua=arguments[j],Za=0,Kb=Ua.length;Za<Kb;Za++,na++)M[na]=Ua[Za];return M},hd=function(){function v(j){void 0===j&&(j=new ka()),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=j,this.token={type:l.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return v.prototype.peekIdent=function(j){return l.Ident===this.token.type&&j.length===this.token.text.length&&j===this.token.text.toLowerCase()},v.prototype.peekKeyword=function(j){return l.AtKeyword===this.token.type&&j.length===this.token.text.length&&j===this.token.text.toLowerCase()},v.prototype.peekDelim=function(j){return l.Delim===this.token.type&&j===this.token.text},v.prototype.peek=function(j){return j===this.token.type},v.prototype.peekRegExp=function(j,m){return j===this.token.type&&m.test(this.token.text)},v.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},v.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},v.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},v.prototype.restoreAtMark=function(j){this.prevToken=j.prev,this.token=j.curr,this.scanner.goBackTo(j.pos)},v.prototype.try=function(j){var m=this.mark(),M=j();return M||(this.restoreAtMark(m),null)},v.prototype.acceptOneKeyword=function(j){if(l.AtKeyword===this.token.type)for(var m=0,M=j;m<M.length;m++){var na=M[m];if(na.length===this.token.text.length&&na===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},v.prototype.accept=function(j){return j===this.token.type&&(this.consumeToken(),!0)},v.prototype.acceptIdent=function(j){return!!this.peekIdent(j)&&(this.consumeToken(),!0)},v.prototype.acceptKeyword=function(j){return!!this.peekKeyword(j)&&(this.consumeToken(),!0)},v.prototype.acceptDelim=function(j){return!!this.peekDelim(j)&&(this.consumeToken(),!0)},v.prototype.acceptRegexp=function(j){return!!j.test(this.token.text)&&(this.consumeToken(),!0)},v.prototype._parseRegexp=function(j){var m=this.createNode(gb.Identifier);do;while(this.acceptRegexp(j));return this.finish(m)},v.prototype.acceptUnquotedString=function(){var j=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var m=this.scanner.scanUnquotedString();return m?(this.token=m,this.consumeToken(),!0):(this.scanner.goBackTo(j),!1)},v.prototype.resync=function(j,m){for(;;){if(j&&-1!==j.indexOf(this.token.type))return this.consumeToken(),!0;if(m&&-1!==m.indexOf(this.token.type))return!0;if(this.token.type===l.EOF)return!1;this.token=this.scanner.scan()}},v.prototype.createNode=function(j){return new vc(this.token.offset,this.token.len,j)},v.prototype.create=function(j){return new j(this.token.offset,this.token.len)},v.prototype.finish=function(j,m,M,na){if(!(j instanceof cb)&&(m&&this.markError(j,m,M,na),this.prevToken)){var Ua=this.prevToken.offset+this.prevToken.len;j.length=Ua>j.offset?Ua-j.offset:0}return j},v.prototype.markError=function(j,m,M,na){this.token!==this.lastErrorToken&&(j.addIssue(new qa(j,m,wc.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(M||na)&&this.resync(M,na)},v.prototype.parseStylesheet=function(j){var m=j.version,M=j.getText();return this.internalParse(M,this._parseStylesheet,function(na,Ua){if(j.version!==m)throw new Error("Underlying model has changed, AST is no longer valid");return M.substr(na,Ua)})},v.prototype.internalParse=function(j,m,M){this.scanner.setSource(j),this.token=this.scanner.scan();var na=m.bind(this)();return na&&(na.textProvider=M||function(Ua,Za){return j.substr(Ua,Za)}),na},v.prototype._parseStylesheet=function(){for(var j=this.create(uc);j.addChild(this._parseStylesheetStart()););var m=!1;do{var M=!1;do{M=!1;var na=this._parseStylesheetStatement();for(na&&(j.addChild(na),M=!0,m=!1,this.peek(l.EOF)||!this._needsSemicolonAfter(na)||this.accept(l.SemiColon)||this.markError(j,fa.SemiColonExpected));this.accept(l.SemiColon)||this.accept(l.CDO)||this.accept(l.CDC);)M=!0,m=!1}while(M);if(this.peek(l.EOF))break;m||(this.peek(l.AtKeyword)?this.markError(j,fa.UnknownAtRule):this.markError(j,fa.RuleOrSelectorExpected),m=!0),this.consumeToken()}while(!this.peek(l.EOF));return this.finish(j)},v.prototype._parseStylesheetStart=function(){return this._parseCharset()},v.prototype._parseStylesheetStatement=function(j){return void 0===j&&(j=!1),this.peek(l.AtKeyword)?this._parseStylesheetAtStatement(j):this._parseRuleset(j)},v.prototype._parseStylesheetAtStatement=function(j){return void 0===j&&(j=!1),this._parseImport()||this._parseMedia(j)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(j)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},v.prototype._tryParseRuleset=function(j){var m=this.mark();if(this._parseSelector(j)){for(;this.accept(l.Comma)&&this._parseSelector(j););if(this.accept(l.CurlyL))return this.restoreAtMark(m),this._parseRuleset(j)}return this.restoreAtMark(m),null},v.prototype._parseRuleset=function(j){void 0===j&&(j=!1);var m=this.create(Yc),M=m.getSelectors();if(!M.addChild(this._parseSelector(j)))return null;for(;this.accept(l.Comma);)if(!M.addChild(this._parseSelector(j)))return this.finish(m,fa.SelectorExpected);return this._parseBody(m,this._parseRuleSetDeclaration.bind(this))},v.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseAtApply()||this._parseUnknownAtRule()},v.prototype._parseRuleSetDeclaration=function(){return this.peek(l.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()},v.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var j=this.create(Fc);return this.consumeToken(),j.setIdentifier(this._parseIdent([Fb.Variable]))?this.finish(j):this.finish(j,fa.IdentifierExpected)},v.prototype._needsSemicolonAfter=function(j){switch(j.type){case gb.Keyframe:case gb.ViewPort:case gb.Media:case gb.Ruleset:case gb.Namespace:case gb.If:case gb.For:case gb.Each:case gb.While:case gb.MixinDeclaration:case gb.FunctionDeclaration:case gb.MixinContentDeclaration:return!1;case gb.ExtendsReference:case gb.MixinContentReference:case gb.ReturnStatement:case gb.MediaQuery:case gb.Debug:case gb.Import:case gb.AtApplyRule:case gb.CustomPropertyDeclaration:return!0;case gb.VariableDeclaration:return j.needsSemicolon;case gb.MixinReference:return!j.getContent();case gb.Declaration:return!j.getNestedProperties()}return!1},v.prototype._parseDeclarations=function(j){var m=this.create(Cc);if(!this.accept(l.CurlyL))return null;for(var M=j();m.addChild(M)&&!this.peek(l.CurlyR);){if(this._needsSemicolonAfter(M)&&!this.accept(l.SemiColon))return this.finish(m,fa.SemiColonExpected,[l.SemiColon,l.CurlyR]);for(M&&this.prevToken&&this.prevToken.type===l.SemiColon&&(M.semicolonPosition=this.prevToken.offset);this.accept(l.SemiColon););M=j()}return this.accept(l.CurlyR)?this.finish(m):this.finish(m,fa.RightCurlyExpected,[l.CurlyR,l.SemiColon])},v.prototype._parseBody=function(j,m){return j.setDeclarations(this._parseDeclarations(m))?this.finish(j):this.finish(j,fa.LeftCurlyExpected,[l.CurlyR,l.SemiColon])},v.prototype._parseSelector=function(j){var m=this.create(sc),M=!1;for(j&&(M=m.addChild(this._parseCombinator()));m.addChild(this._parseSimpleSelector());)M=!0,m.addChild(this._parseCombinator());return M?this.finish(m):null},v.prototype._parseDeclaration=function(j){var m=this.create(qb);if(!m.setProperty(this._parseProperty()))return null;if(!this.accept(l.Colon)){var M=j?kc(j,[l.SemiColon]):[l.SemiColon];return this.finish(m,fa.ColonExpected,[l.Colon],M)}return this.prevToken&&(m.colonPosition=this.prevToken.offset),m.setValue(this._parseExpr())?(m.addChild(this._parsePrio()),this.peek(l.SemiColon)&&(m.semicolonPosition=this.token.offset),this.finish(m)):this.finish(m,fa.PropertyValueExpected)},v.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(l.Ident,/^--/))return null;var j=this.create(mc);if(!j.setProperty(this._parseProperty()))return null;if(!this.accept(l.Colon))return this.finish(j,fa.ColonExpected,[l.Colon]);this.prevToken&&(j.colonPosition=this.prevToken.offset);var m=this.mark();if(this.peek(l.CurlyL)){var M=this.create(Eb),na=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(M.setDeclarations(na)&&!na.isErroneous(!0)&&(M.addChild(this._parsePrio()),this.peek(l.SemiColon)))return this.finish(M),j.setPropertySet(M),j.semicolonPosition=this.token.offset,this.finish(j);this.restoreAtMark(m)}var Ua=this._parseExpr();return Ua&&!Ua.isErroneous(!0)&&(this._parsePrio(),this.peek(l.SemiColon))?(j.setValue(Ua),j.semicolonPosition=this.token.offset,this.finish(j)):(this.restoreAtMark(m),j.addChild(this._parseCustomPropertyValue()),j.addChild(this._parsePrio()),Zb(j.colonPosition)&&this.token.offset===j.colonPosition+1?this.finish(j,fa.PropertyValueExpected):this.finish(j))},v.prototype._parseCustomPropertyValue=function(){var j=this.create(vc),m=function(){return 0===M&&0===na&&0===Ua},M=0,na=0,Ua=0;ii:for(;;){switch(this.token.type){case l.SemiColon:case l.Exclamation:if(m())break ii;break;case l.CurlyL:M++;break;case l.CurlyR:if(--M<0){if(0===na&&0===Ua)break ii;return this.finish(j,fa.LeftCurlyExpected)}break;case l.ParenthesisL:na++;break;case l.ParenthesisR:if(--na<0)return this.finish(j,fa.LeftParenthesisExpected);break;case l.BracketL:Ua++;break;case l.BracketR:if(--Ua<0)return this.finish(j,fa.LeftSquareBracketExpected);break;case l.BadString:break ii;case l.EOF:var Za=fa.RightCurlyExpected;return Ua>0?Za=fa.RightSquareBracketExpected:na>0&&(Za=fa.RightParenthesisExpected),this.finish(j,Za)}this.consumeToken()}return this.finish(j)},v.prototype._tryToParseDeclaration=function(){var j=this.mark();return this._parseProperty()&&this.accept(l.Colon)?(this.restoreAtMark(j),this._parseDeclaration()):(this.restoreAtMark(j),null)},v.prototype._parseProperty=function(){var j=this.create(Va),m=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(m),null):j.setIdentifier(this._parsePropertyIdentifier())?this.finish(j):null},v.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},v.prototype._parseCharset=function(){if(!this.peek(l.Charset))return null;var j=this.create(vc);return this.consumeToken(),this.accept(l.String)?this.accept(l.SemiColon)?this.finish(j):this.finish(j,fa.SemiColonExpected):this.finish(j,fa.IdentifierExpected)},v.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var j=this.create(dc);return this.consumeToken(),j.addChild(this._parseURILiteral())||j.addChild(this._parseStringLiteral())?(this.peek(l.SemiColon)||this.peek(l.EOF)||j.setMedialist(this._parseMediaQueryList()),this.finish(j)):this.finish(j,fa.URIOrStringExpected)},v.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var j=this.create(ad);return this.consumeToken(),j.addChild(this._parseURILiteral())||(j.addChild(this._parseIdent()),j.addChild(this._parseURILiteral())||j.addChild(this._parseStringLiteral()))?this.accept(l.SemiColon)?this.finish(j):this.finish(j,fa.SemiColonExpected):this.finish(j,fa.URIExpected,[l.SemiColon])},v.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var j=this.create(Ic);return this.consumeToken(),this._parseBody(j,this._parseRuleSetDeclaration.bind(this))},v.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var j=this.create(Vc);return this.consumeToken(),this._parseBody(j,this._parseRuleSetDeclaration.bind(this))},v.prototype._parseKeyframe=function(){if(!this.peekRegExp(l.AtKeyword,this.keyframeRegex))return null;var j=this.create(nb),m=this.create(vc);return this.consumeToken(),j.setKeyword(this.finish(m)),m.matches("@-ms-keyframes")&&this.markError(m,fa.UnknownKeyword),j.setIdentifier(this._parseKeyframeIdent())?this._parseBody(j,this._parseKeyframeSelector.bind(this)):this.finish(j,fa.IdentifierExpected,[l.CurlyR])},v.prototype._parseKeyframeIdent=function(){return this._parseIdent([Fb.Keyframe])},v.prototype._parseKeyframeSelector=function(){var j=this.create(zb);if(!j.addChild(this._parseIdent())&&!this.accept(l.Percentage))return null;for(;this.accept(l.Comma);)if(!j.addChild(this._parseIdent())&&!this.accept(l.Percentage))return this.finish(j,fa.PercentageExpected);return this._parseBody(j,this._parseRuleSetDeclaration.bind(this))},v.prototype._tryParseKeyframeSelector=function(){var j=this.create(zb),m=this.mark();if(!j.addChild(this._parseIdent())&&!this.accept(l.Percentage))return null;for(;this.accept(l.Comma);)if(!j.addChild(this._parseIdent())&&!this.accept(l.Percentage))return this.restoreAtMark(m),null;return this.peek(l.CurlyL)?this._parseBody(j,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(m),null)},v.prototype._parseSupports=function(j){if(void 0===j&&(j=!1),!this.peekKeyword("@supports"))return null;var m=this.create(Od);return this.consumeToken(),m.addChild(this._parseSupportsCondition()),this._parseBody(m,this._parseSupportsDeclaration.bind(this,j))},v.prototype._parseSupportsDeclaration=function(j){return void 0===j&&(j=!1),j?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},v.prototype._parseSupportsCondition=function(){var j=this.create(_d);if(this.acceptIdent("not"))j.addChild(this._parseSupportsConditionInParens());else if(j.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(l.Ident,/^(and|or)$/i))for(var m=this.token.text.toLowerCase();this.acceptIdent(m);)j.addChild(this._parseSupportsConditionInParens());return this.finish(j)},v.prototype._parseSupportsConditionInParens=function(){var j=this.create(_d);if(this.accept(l.ParenthesisL))return this.prevToken&&(j.lParent=this.prevToken.offset),j.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(l.ParenthesisR)?(this.prevToken&&(j.rParent=this.prevToken.offset),this.finish(j)):this.finish(j,fa.RightParenthesisExpected,[l.ParenthesisR],[]):this.finish(j,fa.ConditionExpected);if(this.peek(l.Ident)){var m=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(l.ParenthesisL)){for(var M=1;this.token.type!==l.EOF&&0!==M;)this.token.type===l.ParenthesisL?M++:this.token.type===l.ParenthesisR&&M--,this.consumeToken();return this.finish(j)}this.restoreAtMark(m)}return this.finish(j,fa.LeftParenthesisExpected,[],[l.ParenthesisL])},v.prototype._parseMediaDeclaration=function(j){return void 0===j&&(j=!1),j?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},v.prototype._parseMedia=function(j){if(void 0===j&&(j=!1),!this.peekKeyword("@media"))return null;var m=this.create(ud);return this.consumeToken(),m.addChild(this._parseMediaQueryList())?this._parseBody(m,this._parseMediaDeclaration.bind(this,j)):this.finish(m,fa.MediaQueryExpected)},v.prototype._parseMediaQueryList=function(){var j=this.create(Dd);if(!j.addChild(this._parseMediaQuery([l.CurlyL])))return this.finish(j,fa.MediaQueryExpected);for(;this.accept(l.Comma);)if(!j.addChild(this._parseMediaQuery([l.CurlyL])))return this.finish(j,fa.MediaQueryExpected);return this.finish(j)},v.prototype._parseMediaQuery=function(j){var m=this.create(ce),M=!0,na=!1;if(!this.peek(l.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!m.addChild(this._parseIdent()))return null;na=!0,M=this.acceptIdent("and")}for(;M;)if(m.addChild(this._parseMediaContentStart()))M=this.acceptIdent("and");else{if(!this.accept(l.ParenthesisL))return na?this.finish(m,fa.LeftParenthesisExpected,[],j):null;if(!m.addChild(this._parseMediaFeatureName()))return this.finish(m,fa.IdentifierExpected,[],j);if(this.accept(l.Colon)&&!m.addChild(this._parseExpr()))return this.finish(m,fa.TermExpected,[],j);if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected,[],j);M=this.acceptIdent("and")}return this.finish(m)},v.prototype._parseMediaContentStart=function(){return null},v.prototype._parseMediaFeatureName=function(){return this._parseIdent()},v.prototype._parseMedium=function(){var j=this.create(vc);return j.addChild(this._parseIdent())?this.finish(j):null},v.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},v.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var j=this.create(oe);if(this.consumeToken(),j.addChild(this._parsePageSelector())){for(;this.accept(l.Comma);)if(!j.addChild(this._parsePageSelector()))return this.finish(j,fa.IdentifierExpected)}return this._parseBody(j,this._parsePageDeclaration.bind(this))},v.prototype._parsePageMarginBox=function(){if(!this.peek(l.AtKeyword))return null;var j=this.create(nd);return this.acceptOneKeyword(od)||this.markError(j,fa.UnknownAtRule,[],[l.CurlyL]),this._parseBody(j,this._parseRuleSetDeclaration.bind(this))},v.prototype._parsePageSelector=function(){if(!this.peek(l.Ident)&&!this.peek(l.Colon))return null;var j=this.create(vc);return j.addChild(this._parseIdent()),this.accept(l.Colon)&&!j.addChild(this._parseIdent())?this.finish(j,fa.IdentifierExpected):this.finish(j)},v.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var j=this.create(wd);return this.consumeToken(),this.resync([],[l.CurlyL]),this._parseBody(j,this._parseStylesheetStatement.bind(this))},v.prototype._parseUnknownAtRule=function(){if(!this.peek(l.AtKeyword))return null;var j=this.create(pc);j.addChild(this._parseUnknownAtRuleName());var m=0,M=0,na=0,Ua=0;ii:for(;;){switch(this.token.type){case l.SemiColon:if(0===M&&0===na&&0===Ua)break ii;break;case l.EOF:return M>0?this.finish(j,fa.RightCurlyExpected):Ua>0?this.finish(j,fa.RightSquareBracketExpected):na>0?this.finish(j,fa.RightParenthesisExpected):this.finish(j);case l.CurlyL:m++,M++;break;case l.CurlyR:if(M--,m>0&&0===M){if(this.consumeToken(),Ua>0)return this.finish(j,fa.RightSquareBracketExpected);if(na>0)return this.finish(j,fa.RightParenthesisExpected);break ii}if(M<0){if(0===na&&0===Ua)break ii;return this.finish(j,fa.LeftCurlyExpected)}break;case l.ParenthesisL:na++;break;case l.ParenthesisR:if(--na<0)return this.finish(j,fa.LeftParenthesisExpected);break;case l.BracketL:Ua++;break;case l.BracketR:if(--Ua<0)return this.finish(j,fa.LeftSquareBracketExpected)}this.consumeToken()}return j},v.prototype._parseUnknownAtRuleName=function(){var j=this.create(vc);return this.accept(l.AtKeyword)?this.finish(j):j},v.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(l.Dashmatch)||this.peek(l.Includes)||this.peek(l.SubstringOperator)||this.peek(l.PrefixOperator)||this.peek(l.SuffixOperator)||this.peekDelim("=")){var j=this.createNode(gb.Operator);return this.consumeToken(),this.finish(j)}return null},v.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var j=this.create(vc);return this.consumeToken(),this.finish(j)},v.prototype._parseCombinator=function(){if(this.peekDelim(">")){var j=this.create(vc);this.consumeToken();var m=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return j.type=gb.SelectorCombinatorShadowPiercingDescendant,this.finish(j);this.restoreAtMark(m)}return j.type=gb.SelectorCombinatorParent,this.finish(j)}if(this.peekDelim("+"))return j=this.create(vc),this.consumeToken(),j.type=gb.SelectorCombinatorSibling,this.finish(j);if(this.peekDelim("~"))return j=this.create(vc),this.consumeToken(),j.type=gb.SelectorCombinatorAllSiblings,this.finish(j);if(this.peekDelim("/")){j=this.create(vc),this.consumeToken(),m=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return j.type=gb.SelectorCombinatorShadowPiercingDescendant,this.finish(j);this.restoreAtMark(m)}return null},v.prototype._parseSimpleSelector=function(){var j=this.create(Nb),m=0;for(j.addChild(this._parseElementName())&&m++;(0===m||!this.hasWhitespace())&&j.addChild(this._parseSimpleSelectorBody());)m++;return m>0?this.finish(j):null},v.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},v.prototype._parseSelectorIdent=function(){return this._parseIdent()},v.prototype._parseHash=function(){if(!this.peek(l.Hash)&&!this.peekDelim("#"))return null;var j=this.createNode(gb.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!j.addChild(this._parseSelectorIdent()))return this.finish(j,fa.IdentifierExpected)}else this.consumeToken();return this.finish(j)},v.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var j=this.createNode(gb.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!j.addChild(this._parseSelectorIdent())?this.finish(j,fa.IdentifierExpected):this.finish(j)},v.prototype._parseElementName=function(){var j=this.mark(),m=this.createNode(gb.ElementNameSelector);return m.addChild(this._parseNamespacePrefix()),m.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(m):(this.restoreAtMark(j),null)},v.prototype._parseNamespacePrefix=function(){var j=this.mark(),m=this.createNode(gb.NamespacePrefix);return!m.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(m):(this.restoreAtMark(j),null)},v.prototype._parseAttrib=function(){if(!this.peek(l.BracketL))return null;var j=this.create(Gd);return this.consumeToken(),j.setNamespacePrefix(this._parseNamespacePrefix()),j.setIdentifier(this._parseIdent())?(j.setOperator(this._parseOperator())&&(j.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(l.BracketR)?this.finish(j):this.finish(j,fa.RightSquareBracketExpected)):this.finish(j,fa.IdentifierExpected)},v.prototype._parsePseudo=function(){var j=this,m=this._tryParsePseudoIdentifier();if(m){if(!this.hasWhitespace()&&this.accept(l.ParenthesisL)){if(m.addChild(this.try(function(){var M=j.create(vc);if(!M.addChild(j._parseSelector(!1)))return null;for(;j.accept(l.Comma)&&M.addChild(j._parseSelector(!1)););return j.peek(l.ParenthesisR)?j.finish(M):null})||this._parseBinaryExpr()),!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected)}return this.finish(m)}return null},v.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(l.Colon))return null;var j=this.mark(),m=this.createNode(gb.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(j),null):(this.accept(l.Colon)&&this.hasWhitespace()&&this.markError(m,fa.IdentifierExpected),m.addChild(this._parseIdent())||this.markError(m,fa.IdentifierExpected),m)},v.prototype._tryParsePrio=function(){var j=this.mark(),m=this._parsePrio();return m||(this.restoreAtMark(j),null)},v.prototype._parsePrio=function(){if(!this.peek(l.Exclamation))return null;var j=this.createNode(gb.Prio);return this.accept(l.Exclamation)&&this.acceptIdent("important")?this.finish(j):null},v.prototype._parseExpr=function(j){void 0===j&&(j=!1);var m=this.create(Qd);if(!m.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(l.Comma)){if(j)return this.finish(m);this.consumeToken()}if(!m.addChild(this._parseBinaryExpr()))break}return this.finish(m)},v.prototype._parseNamedLine=function(){if(!this.peek(l.BracketL))return null;var j=this.createNode(gb.GridLine);for(this.consumeToken();j.addChild(this._parseIdent()););return this.accept(l.BracketR)?this.finish(j):this.finish(j,fa.RightSquareBracketExpected)},v.prototype._parseBinaryExpr=function(j,m){var M=this.create(jd);if(!M.setLeft(j||this._parseTerm()))return null;if(!M.setOperator(m||this._parseOperator()))return this.finish(M);if(!M.setRight(this._parseTerm()))return this.finish(M,fa.TermExpected);M=this.finish(M);var na=this._parseOperator();return na&&(M=this._parseBinaryExpr(M,na)),this.finish(M)},v.prototype._parseTerm=function(){var j=this.create(de);return j.setOperator(this._parseUnaryOperator()),j.setExpression(this._parseTermExpression())?this.finish(j):null},v.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},v.prototype._parseOperation=function(){if(!this.peek(l.ParenthesisL))return null;var j=this.create(vc);return this.consumeToken(),j.addChild(this._parseExpr()),this.accept(l.ParenthesisR)?this.finish(j):this.finish(j,fa.RightParenthesisExpected)},v.prototype._parseNumeric=function(){if(this.peek(l.Num)||this.peek(l.Percentage)||this.peek(l.Resolution)||this.peek(l.Length)||this.peek(l.EMS)||this.peek(l.EXS)||this.peek(l.Angle)||this.peek(l.Time)||this.peek(l.Dimension)||this.peek(l.Freq)){var j=this.create(Ha);return this.consumeToken(),this.finish(j)}return null},v.prototype._parseStringLiteral=function(){if(!this.peek(l.String)&&!this.peek(l.BadString))return null;var j=this.createNode(gb.StringLiteral);return this.consumeToken(),this.finish(j)},v.prototype._parseURILiteral=function(){if(!this.peekRegExp(l.Ident,/^url(-prefix)?$/i))return null;var j=this.mark(),m=this.createNode(gb.URILiteral);return this.accept(l.Ident),this.hasWhitespace()||!this.peek(l.ParenthesisL)?(this.restoreAtMark(j),null):(this.scanner.inURL=!0,this.consumeToken(),m.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(l.ParenthesisR)?this.finish(m):this.finish(m,fa.RightParenthesisExpected))},v.prototype._parseURLArgument=function(){var j=this.create(vc);return this.accept(l.String)||this.accept(l.BadString)||this.acceptUnquotedString()?this.finish(j):null},v.prototype._parseIdent=function(j){if(!this.peek(l.Ident))return null;var m=this.create(Ob);return j&&(m.referenceTypes=j),m.isCustomProperty=this.peekRegExp(l.Ident,/^--/),this.consumeToken(),this.finish(m)},v.prototype._parseFunction=function(){var j=this.mark(),m=this.create(Oa);if(!m.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(l.ParenthesisL))return this.restoreAtMark(j),null;if(m.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)m.getArguments().addChild(this._parseFunctionArgument())||this.markError(m,fa.ExpressionExpected);return this.accept(l.ParenthesisR)?this.finish(m):this.finish(m,fa.RightParenthesisExpected)},v.prototype._parseFunctionIdentifier=function(){if(!this.peek(l.Ident))return null;var j=this.create(Ob);if(j.referenceTypes=[Fb.Function],this.acceptIdent("progid")){if(this.accept(l.Colon))for(;this.accept(l.Ident)&&this.acceptDelim("."););return this.finish(j)}return this.consumeToken(),this.finish(j)},v.prototype._parseFunctionArgument=function(){var j=this.create(kb);return j.setValue(this._parseExpr(!0))?this.finish(j):null},v.prototype._parseHexColor=function(){if(this.peekRegExp(l.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var j=this.create(xd);return this.consumeToken(),this.finish(j)}return null},v}();function ld(v,j){return-1!==v.indexOf(j)}function fd(){for(var v=[],j=0;j<arguments.length;j++)v[j]=arguments[j];for(var m=[],M=0,na=v;M<na.length;M++)for(var Ua=na[M],Za=0,Kb=Ua;Za<Kb.length;Za++){var Qb=Kb[Za];ld(m,Qb)||m.push(Qb)}return m}var md,rd,yd,Vd,Sd,Ae,Ce,Cd,Fd,Wd,pe,De,ue,ve,je,zd,ye,Pe,kf,qe,_f,Ff=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Rd=function(){function v(j,m){this.offset=j,this.length=m,this.symbols=[],this.parent=null,this.children=[]}return v.prototype.addChild=function(j){this.children.push(j),j.setParent(this)},v.prototype.setParent=function(j){this.parent=j},v.prototype.findScope=function(j,m){return void 0===m&&(m=0),this.offset<=j&&this.offset+this.length>j+m||this.offset===j&&this.length===m?this.findInScope(j,m):null},v.prototype.findInScope=function(j,m){void 0===m&&(m=0);var M=j+m,na=function(Za,Kb){var Qb=0,fc=Za.length;if(0===fc)return 0;for(;Qb<fc;){var Ib=Math.floor((Qb+fc)/2);Kb(Za[Ib])?fc=Ib:Qb=Ib+1}return Qb}(this.children,function(Za){return Za.offset>M});if(0===na)return this;var Ua=this.children[na-1];return Ua.offset<=j&&Ua.offset+Ua.length>=j+m?Ua.findInScope(j,m):this},v.prototype.addSymbol=function(j){this.symbols.push(j)},v.prototype.getSymbol=function(j,m){for(var M=0;M<this.symbols.length;M++){var na=this.symbols[M];if(na.name===j&&na.type===m)return na}return null},v.prototype.getSymbols=function(){return this.symbols},v}(),rf=function(v){function j(){return v.call(this,0,Number.MAX_VALUE)||this}return Ff(j,v),j}(Rd),xe=function(v,j,m,M){this.name=v,this.value=j,this.node=m,this.type=M},Gf=function(){function v(j){this.scope=j}return v.prototype.addSymbol=function(j,m,M,na){if(-1!==j.offset){var Ua=this.scope.findScope(j.offset,j.length);Ua&&Ua.addSymbol(new xe(m,M,j,na))}},v.prototype.addScope=function(j){if(-1!==j.offset){var m=this.scope.findScope(j.offset,j.length);if(m&&(m.offset!==j.offset||m.length!==j.length)){var M=new Rd(j.offset,j.length);return m.addChild(M),M}return m}return null},v.prototype.addSymbolToChildScope=function(j,m,M,na,Ua){if(j&&-1!==j.offset){var Za=this.addScope(j);Za&&Za.addSymbol(new xe(M,na,m,Ua))}},v.prototype.visitNode=function(j){switch(j.type){case gb.Keyframe:return this.addSymbol(j,j.getName(),void 0,Fb.Keyframe),!0;case gb.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(j);case gb.VariableDeclaration:return this.visitVariableDeclarationNode(j);case gb.Ruleset:return this.visitRuleSet(j);case gb.MixinDeclaration:return this.addSymbol(j,j.getName(),void 0,Fb.Mixin),!0;case gb.FunctionDeclaration:return this.addSymbol(j,j.getName(),void 0,Fb.Function),!0;case gb.FunctionParameter:return this.visitFunctionParameterNode(j);case gb.Declarations:return this.addScope(j),!0;case gb.For:var m=j,M=m.getDeclarations();return M&&m.variable&&this.addSymbolToChildScope(M,m.variable,m.variable.getName(),void 0,Fb.Variable),!0;case gb.Each:var na=j,Ua=na.getDeclarations();if(Ua)for(var Za=0,Kb=na.getVariables().getChildren();Za<Kb.length;Za++){var Qb=Kb[Za];this.addSymbolToChildScope(Ua,Qb,Qb.getName(),void 0,Fb.Variable)}return!0}return!0},v.prototype.visitRuleSet=function(j){var m=this.scope.findScope(j.offset,j.length);if(m)for(var M=0,na=j.getSelectors().getChildren();M<na.length;M++){var Ua=na[M];Ua instanceof sc&&1===Ua.getChildren().length&&m.addSymbol(new xe(Ua.getChild(0).getText(),void 0,Ua,Fb.Rule))}return!0},v.prototype.visitVariableDeclarationNode=function(j){var m=j.getValue()?j.getValue().getText():void 0;return this.addSymbol(j,j.getName(),m,Fb.Variable),!0},v.prototype.visitFunctionParameterNode=function(j){var m=j.getParent().getDeclarations();if(m){var M=j.getDefaultValue(),na=M?M.getText():void 0;this.addSymbolToChildScope(m,j,j.getName(),na,Fb.Variable)}return!0},v.prototype.visitCustomPropertyDeclarationNode=function(j){var m=j.getValue()?j.getValue().getText():"";return this.addCSSVariable(j.getProperty(),j.getProperty().getName(),m,Fb.Variable),!0},v.prototype.addCSSVariable=function(j,m,M,na){-1!==j.offset&&this.scope.addSymbol(new xe(m,M,j,na))},v}(),$f=function(){function v(j){this.global=new rf(),j.acceptVisitor(new Gf(this.global))}return v.prototype.findSymbolsAtOffset=function(j,m){for(var M=this.global.findScope(j,0),na=[],Ua={};M;){for(var Za=M.getSymbols(),Kb=0;Kb<Za.length;Kb++){var Qb=Za[Kb];Qb.type!==m||Ua[Qb.name]||(na.push(Qb),Ua[Qb.name]=!0)}M=M.parent}return na},v.prototype.internalFindSymbol=function(j,m){var M=j;if(j.parent instanceof Qa&&j.parent.getParent()instanceof Kc&&(M=j.parent.getParent().getDeclarations()),j.parent instanceof kb&&j.parent.getParent()instanceof Oa){var na=j.parent.getParent().getIdentifier();if(na){var Ua=this.internalFindSymbol(na,[Fb.Function]);Ua&&(M=Ua.node.getDeclarations())}}if(!M)return null;for(var Za=j.getText(),Kb=this.global.findScope(M.offset,M.length);Kb;){for(var Qb=0;Qb<m.length;Qb++){var fc=m[Qb],Ib=Kb.getSymbol(Za,fc);if(Ib)return Ib}Kb=Kb.parent}return null},v.prototype.evaluateReferenceTypes=function(j){if(j instanceof Ob){var m=j.referenceTypes;if(m)return m;if(j.isCustomProperty)return[Fb.Variable];var M=function(Ua){var Za=Ua.findParent(gb.Declaration),Kb=Za&&Za.getValue();return Kb&&Kb.encloses(Ua)?Za:null}(j);if(M){var na=M.getNonPrefixedPropertyName();if(("animation"===na||"animation-name"===na)&&M.getValue()&&M.getValue().offset===j.offset)return[Fb.Keyframe]}}else if(j instanceof yb)return[Fb.Variable];return j.findAParent(gb.Selector,gb.ExtendsReference)?[Fb.Rule]:null},v.prototype.findSymbolFromNode=function(j){if(!j)return null;for(;j.type===gb.Interpolation;)j=j.getParent();var m=this.evaluateReferenceTypes(j);return m?this.internalFindSymbol(j,m):null},v.prototype.matchesSymbol=function(j,m){if(!j)return!1;for(;j.type===gb.Interpolation;)j=j.getParent();if(!j.matches(m.name))return!1;var M=this.evaluateReferenceTypes(j);return!(!M||-1===M.indexOf(m.type))&&this.internalFindSymbol(j,M)===m},v.prototype.findSymbol=function(j,m,M){for(var na=this.global.findScope(M);na;){var Ua=na.getSymbol(j,m);if(Ua)return Ua;na=na.parent}return null},v}();!function(v){v.create=function(j,m){return{line:j,character:m}},v.is=function(j){var m=j;return Oc.objectLiteral(m)&&Oc.number(m.line)&&Oc.number(m.character)}}(md||(md={})),function(v){v.create=function(j,m,M,na){if(Oc.number(j)&&Oc.number(m)&&Oc.number(M)&&Oc.number(na))return{start:md.create(j,m),end:md.create(M,na)};if(md.is(j)&&md.is(m))return{start:j,end:m};throw new Error("Range#create called with invalid arguments["+j+", "+m+", "+M+", "+na+"]")},v.is=function(j){var m=j;return Oc.objectLiteral(m)&&md.is(m.start)&&md.is(m.end)}}(rd||(rd={})),function(v){v.create=function(j,m){return{uri:j,range:m}},v.is=function(j){var m=j;return Oc.defined(m)&&rd.is(m.range)&&(Oc.string(m.uri)||Oc.undefined(m.uri))}}(yd||(yd={})),function(v){v.create=function(j,m,M,na){return{targetUri:j,targetRange:m,targetSelectionRange:M,originSelectionRange:na}},v.is=function(j){var m=j;return Oc.defined(m)&&rd.is(m.targetRange)&&Oc.string(m.targetUri)&&(rd.is(m.targetSelectionRange)||Oc.undefined(m.targetSelectionRange))&&(rd.is(m.originSelectionRange)||Oc.undefined(m.originSelectionRange))}}(Vd||(Vd={})),function(v){v.create=function(j,m,M,na){return{red:j,green:m,blue:M,alpha:na}},v.is=function(j){var m=j;return Oc.number(m.red)&&Oc.number(m.green)&&Oc.number(m.blue)&&Oc.number(m.alpha)}}(Sd||(Sd={})),function(v){v.create=function(j,m){return{range:j,color:m}},v.is=function(j){var m=j;return rd.is(m.range)&&Sd.is(m.color)}}(Ae||(Ae={})),function(v){v.create=function(j,m,M){return{label:j,textEdit:m,additionalTextEdits:M}},v.is=function(j){var m=j;return Oc.string(m.label)&&(Oc.undefined(m.textEdit)||zd.is(m))&&(Oc.undefined(m.additionalTextEdits)||Oc.typedArray(m.additionalTextEdits,zd.is))}}(Ce||(Ce={})),function(v){v.Comment="comment",v.Imports="imports",v.Region="region"}(Cd||(Cd={})),function(v){v.create=function(j,m,M,na,Ua){var Za={startLine:j,endLine:m};return Oc.defined(M)&&(Za.startCharacter=M),Oc.defined(na)&&(Za.endCharacter=na),Oc.defined(Ua)&&(Za.kind=Ua),Za},v.is=function(j){var m=j;return Oc.number(m.startLine)&&Oc.number(m.startLine)&&(Oc.undefined(m.startCharacter)||Oc.number(m.startCharacter))&&(Oc.undefined(m.endCharacter)||Oc.number(m.endCharacter))&&(Oc.undefined(m.kind)||Oc.string(m.kind))}}(Fd||(Fd={})),function(v){v.create=function(j,m){return{location:j,message:m}},v.is=function(j){var m=j;return Oc.defined(m)&&yd.is(m.location)&&Oc.string(m.message)}}(Wd||(Wd={})),function(v){v.Error=1,v.Warning=2,v.Information=3,v.Hint=4}(pe||(pe={})),function(v){v.Unnecessary=1,v.Deprecated=2}(De||(De={})),function(v){v.is=function(j){var m=j;return null!=m&&(Oc.number(m.value)||Oc.string(m.value))&&Oc.string(m.target)}}(ue||(ue={})),function(v){v.create=function(j,m,M,na,Ua,Za){var Kb={range:j,message:m};return Oc.defined(M)&&(Kb.severity=M),Oc.defined(na)&&(Kb.code=na),Oc.defined(Ua)&&(Kb.source=Ua),Oc.defined(Za)&&(Kb.relatedInformation=Za),Kb},v.is=function(j){var m=j;return Oc.defined(m)&&rd.is(m.range)&&Oc.string(m.message)&&(Oc.number(m.severity)||Oc.undefined(m.severity))&&(Oc.number(m.code)||Oc.string(m.code)||Oc.undefined(m.code))&&(Oc.string(m.source)||Oc.undefined(m.source))&&(Oc.undefined(m.relatedInformation)||Oc.typedArray(m.relatedInformation,Wd.is))}}(ve||(ve={})),function(v){v.create=function(j,m){for(var M=[],na=2;na<arguments.length;na++)M[na-2]=arguments[na];var Ua={title:j,command:m};return Oc.defined(M)&&M.length>0&&(Ua.arguments=M),Ua},v.is=function(j){var m=j;return Oc.defined(m)&&Oc.string(m.title)&&Oc.string(m.command)}}(je||(je={})),function(v){v.replace=function(j,m){return{range:j,newText:m}},v.insert=function(j,m){return{range:{start:j,end:j},newText:m}},v.del=function(j){return{range:j,newText:""}},v.is=function(j){var m=j;return Oc.objectLiteral(m)&&Oc.string(m.newText)&&rd.is(m.range)}}(zd||(zd={})),function(v){v.create=function(j,m){return{textDocument:j,edits:m}},v.is=function(j){var m=j;return Oc.defined(m)&&qd.is(m.textDocument)&&Array.isArray(m.edits)}}(ye||(ye={})),function(v){v.create=function(j,m){var M={kind:"create",uri:j};return void 0===m||void 0===m.overwrite&&void 0===m.ignoreIfExists||(M.options=m),M},v.is=function(j){var m=j;return m&&"create"===m.kind&&Oc.string(m.uri)&&(void 0===m.options||(void 0===m.options.overwrite||Oc.boolean(m.options.overwrite))&&(void 0===m.options.ignoreIfExists||Oc.boolean(m.options.ignoreIfExists)))}}(Pe||(Pe={})),function(v){v.create=function(j,m,M){var na={kind:"rename",oldUri:j,newUri:m};return void 0===M||void 0===M.overwrite&&void 0===M.ignoreIfExists||(na.options=M),na},v.is=function(j){var m=j;return m&&"rename"===m.kind&&Oc.string(m.oldUri)&&Oc.string(m.newUri)&&(void 0===m.options||(void 0===m.options.overwrite||Oc.boolean(m.options.overwrite))&&(void 0===m.options.ignoreIfExists||Oc.boolean(m.options.ignoreIfExists)))}}(kf||(kf={})),function(v){v.create=function(j,m){var M={kind:"delete",uri:j};return void 0===m||void 0===m.recursive&&void 0===m.ignoreIfNotExists||(M.options=m),M},v.is=function(j){var m=j;return m&&"delete"===m.kind&&Oc.string(m.uri)&&(void 0===m.options||(void 0===m.options.recursive||Oc.boolean(m.options.recursive))&&(void 0===m.options.ignoreIfNotExists||Oc.boolean(m.options.ignoreIfNotExists)))}}(qe||(qe={})),function(v){v.is=function(j){var m=j;return m&&(void 0!==m.changes||void 0!==m.documentChanges)&&(void 0===m.documentChanges||m.documentChanges.every(function(M){return Oc.string(M.kind)?Pe.is(M)||kf.is(M)||qe.is(M):ye.is(M)}))}}(_f||(_f={}));var Qe,qd,Be,Ge,sf,Kd,Yd,lf,lh,Uf,Hf,If,Vf,Xg,ag,Jf,bg,mf,$e,tf,mh,Je,pg,Kf,nh,nf,cg,Yg,uf=function(){function v(j){this.edits=j}return v.prototype.insert=function(j,m){this.edits.push(zd.insert(j,m))},v.prototype.replace=function(j,m){this.edits.push(zd.replace(j,m))},v.prototype.delete=function(j){this.edits.push(zd.del(j))},v.prototype.add=function(j){this.edits.push(j)},v.prototype.all=function(){return this.edits},v.prototype.clear=function(){this.edits.splice(0,this.edits.length)},v}();!function(){function v(j){var m=this;this._textEditChanges=Object.create(null),j&&(this._workspaceEdit=j,j.documentChanges?j.documentChanges.forEach(function(M){if(ye.is(M)){var na=new uf(M.edits);m._textEditChanges[M.textDocument.uri]=na}}):j.changes&&Object.keys(j.changes).forEach(function(M){var na=new uf(j.changes[M]);m._textEditChanges[M]=na}))}Object.defineProperty(v.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),v.prototype.getTextEditChange=function(j){if(qd.is(j)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var m=j;if(!(na=this._textEditChanges[m.uri])){var M={textDocument:m,edits:Ua=[]};this._workspaceEdit.documentChanges.push(M),na=new uf(Ua),this._textEditChanges[m.uri]=na}return na}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var na;if(!(na=this._textEditChanges[j])){var Ua=[];this._workspaceEdit.changes[j]=Ua,na=new uf(Ua),this._textEditChanges[j]=na}return na},v.prototype.createFile=function(j,m){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Pe.create(j,m))},v.prototype.renameFile=function(j,m,M){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kf.create(j,m,M))},v.prototype.deleteFile=function(j,m){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(qe.create(j,m))},v.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}(),!function(v){v.create=function(j){return{uri:j}},v.is=function(j){var m=j;return Oc.defined(m)&&Oc.string(m.uri)}}(Qe||(Qe={})),function(v){v.create=function(j,m){return{uri:j,version:m}},v.is=function(j){var m=j;return Oc.defined(m)&&Oc.string(m.uri)&&(null===m.version||Oc.number(m.version))}}(qd||(qd={})),function(v){v.create=function(j,m,M,na){return{uri:j,languageId:m,version:M,text:na}},v.is=function(j){var m=j;return Oc.defined(m)&&Oc.string(m.uri)&&Oc.string(m.languageId)&&Oc.number(m.version)&&Oc.string(m.text)}}(Be||(Be={})),function(v){v.PlainText="plaintext",v.Markdown="markdown"}(Ge||(Ge={})),function(v){v.is=function(j){var m=j;return m===v.PlainText||m===v.Markdown}}(Ge||(Ge={})),function(v){v.is=function(j){var m=j;return Oc.objectLiteral(j)&&Ge.is(m.kind)&&Oc.string(m.value)}}(sf||(sf={})),function(v){v.Text=1,v.Method=2,v.Function=3,v.Constructor=4,v.Field=5,v.Variable=6,v.Class=7,v.Interface=8,v.Module=9,v.Property=10,v.Unit=11,v.Value=12,v.Enum=13,v.Keyword=14,v.Snippet=15,v.Color=16,v.File=17,v.Reference=18,v.Folder=19,v.EnumMember=20,v.Constant=21,v.Struct=22,v.Event=23,v.Operator=24,v.TypeParameter=25}(Kd||(Kd={})),function(v){v.PlainText=1,v.Snippet=2}(Yd||(Yd={})),function(v){v.Deprecated=1}(lf||(lf={})),function(v){v.create=function(j,m,M){return{newText:j,insert:m,replace:M}},v.is=function(j){var m=j;return m&&Oc.string(m.newText)&&rd.is(m.insert)&&rd.is(m.replace)}}(lh||(lh={})),function(v){v.create=function(j){return{label:j}}}(Uf||(Uf={})),function(v){v.create=function(j,m){return{items:j||[],isIncomplete:!!m}}}(Hf||(Hf={})),function(v){v.fromPlainText=function(j){return j.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},v.is=function(j){var m=j;return Oc.string(m)||Oc.objectLiteral(m)&&Oc.string(m.language)&&Oc.string(m.value)}}(If||(If={})),function(v){v.is=function(j){var m=j;return!!m&&Oc.objectLiteral(m)&&(sf.is(m.contents)||If.is(m.contents)||Oc.typedArray(m.contents,If.is))&&(void 0===j.range||rd.is(j.range))}}(Vf||(Vf={})),function(v){v.create=function(j,m){return m?{label:j,documentation:m}:{label:j}}}(Xg||(Xg={})),function(v){v.create=function(j,m){for(var M=[],na=2;na<arguments.length;na++)M[na-2]=arguments[na];var Ua={label:j};return Oc.defined(m)&&(Ua.documentation=m),Oc.defined(M)?Ua.parameters=M:Ua.parameters=[],Ua}}(ag||(ag={})),function(v){v.Text=1,v.Read=2,v.Write=3}(Jf||(Jf={})),function(v){v.create=function(j,m){var M={range:j};return Oc.number(m)&&(M.kind=m),M}}(bg||(bg={})),function(v){v.File=1,v.Module=2,v.Namespace=3,v.Package=4,v.Class=5,v.Method=6,v.Property=7,v.Field=8,v.Constructor=9,v.Enum=10,v.Interface=11,v.Function=12,v.Variable=13,v.Constant=14,v.String=15,v.Number=16,v.Boolean=17,v.Array=18,v.Object=19,v.Key=20,v.Null=21,v.EnumMember=22,v.Struct=23,v.Event=24,v.Operator=25,v.TypeParameter=26}(mf||(mf={})),function(v){v.Deprecated=1}($e||($e={})),function(v){v.create=function(j,m,M,na,Ua){var Za={name:j,kind:m,location:{uri:na,range:M}};return Ua&&(Za.containerName=Ua),Za}}(tf||(tf={})),function(v){v.create=function(j,m,M,na,Ua,Za){var Kb={name:j,detail:m,kind:M,range:na,selectionRange:Ua};return void 0!==Za&&(Kb.children=Za),Kb},v.is=function(j){var m=j;return m&&Oc.string(m.name)&&Oc.number(m.kind)&&rd.is(m.range)&&rd.is(m.selectionRange)&&(void 0===m.detail||Oc.string(m.detail))&&(void 0===m.deprecated||Oc.boolean(m.deprecated))&&(void 0===m.children||Array.isArray(m.children))&&(void 0===m.tags||Array.isArray(m.tags))}}(mh||(mh={})),function(v){v.Empty="",v.QuickFix="quickfix",v.Refactor="refactor",v.RefactorExtract="refactor.extract",v.RefactorInline="refactor.inline",v.RefactorRewrite="refactor.rewrite",v.Source="source",v.SourceOrganizeImports="source.organizeImports",v.SourceFixAll="source.fixAll"}(Je||(Je={})),function(v){v.create=function(j,m){var M={diagnostics:j};return null!=m&&(M.only=m),M},v.is=function(j){var m=j;return Oc.defined(m)&&Oc.typedArray(m.diagnostics,ve.is)&&(void 0===m.only||Oc.typedArray(m.only,Oc.string))}}(pg||(pg={})),function(v){v.create=function(j,m,M){var na={title:j};return je.is(m)?na.command=m:na.edit=m,void 0!==M&&(na.kind=M),na},v.is=function(j){var m=j;return m&&Oc.string(m.title)&&(void 0===m.diagnostics||Oc.typedArray(m.diagnostics,ve.is))&&(void 0===m.kind||Oc.string(m.kind))&&(void 0!==m.edit||void 0!==m.command)&&(void 0===m.command||je.is(m.command))&&(void 0===m.isPreferred||Oc.boolean(m.isPreferred))&&(void 0===m.edit||_f.is(m.edit))}}(Kf||(Kf={})),function(v){v.create=function(j,m){var M={range:j};return Oc.defined(m)&&(M.data=m),M},v.is=function(j){var m=j;return Oc.defined(m)&&rd.is(m.range)&&(Oc.undefined(m.command)||je.is(m.command))}}(nh||(nh={})),function(v){v.create=function(j,m){return{tabSize:j,insertSpaces:m}},v.is=function(j){var m=j;return Oc.defined(m)&&Oc.number(m.tabSize)&&Oc.boolean(m.insertSpaces)}}(nf||(nf={})),function(v){v.create=function(j,m,M){return{range:j,target:m,data:M}},v.is=function(j){var m=j;return Oc.defined(m)&&rd.is(m.range)&&(Oc.undefined(m.target)||Oc.string(m.target))}}(cg||(cg={})),function(v){v.create=function(j,m){return{range:j,parent:m}},v.is=function(j){var m=j;return void 0!==m&&rd.is(m.range)&&(void 0===m.parent||v.is(m.parent))}}(Yg||(Yg={}));var dg;!function(v){v.create=function(j,m,M,na){return new ef(j,m,M,na)},v.is=function(j){var m=j;return!!(Oc.defined(m)&&Oc.string(m.uri)&&(Oc.undefined(m.languageId)||Oc.string(m.languageId))&&Oc.number(m.lineCount)&&Oc.func(m.getText)&&Oc.func(m.positionAt)&&Oc.func(m.offsetAt))},v.applyEdits=function(j,m){for(var M=j.getText(),na=function Ib(Lc,id){if(Lc.length<=1)return Lc;var pd=Lc.length/2|0,cd=Lc.slice(0,pd),Hd=Lc.slice(pd);Ib(cd,id),Ib(Hd,id);for(var Md=0,Nd=0,Ad=0;Md<cd.length&&Nd<Hd.length;){var ke=id(cd[Md],Hd[Nd]);Lc[Ad++]=ke<=0?cd[Md++]:Hd[Nd++]}for(;Md<cd.length;)Lc[Ad++]=cd[Md++];for(;Nd<Hd.length;)Lc[Ad++]=Hd[Nd++];return Lc}(m,function(Ib,Lc){var id=Ib.range.start.line-Lc.range.start.line;return 0===id?Ib.range.start.character-Lc.range.start.character:id}),Ua=M.length,Za=na.length-1;Za>=0;Za--){var Kb=na[Za],Qb=j.offsetAt(Kb.range.start),fc=j.offsetAt(Kb.range.end);if(!(fc<=Ua))throw new Error("Overlapping edit");M=M.substring(0,Qb)+Kb.newText+M.substring(fc,M.length),Ua=Qb}return M}}(dg||(dg={}));var Oc,ef=function(){function v(j,m,M,na){this._uri=j,this._languageId=m,this._version=M,this._content=na,this._lineOffsets=void 0}return Object.defineProperty(v.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),v.prototype.getText=function(j){if(j){var m=this.offsetAt(j.start),M=this.offsetAt(j.end);return this._content.substring(m,M)}return this._content},v.prototype.update=function(j,m){this._content=j.text,this._version=m,this._lineOffsets=void 0},v.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var j=[],m=this._content,M=!0,na=0;na<m.length;na++){M&&(j.push(na),M=!1);var Ua=m.charAt(na);M="\r"===Ua||` -`===Ua,"\r"===Ua&&na+1<m.length&&` -`===m.charAt(na+1)&&na++}M&&m.length>0&&j.push(m.length),this._lineOffsets=j}return this._lineOffsets},v.prototype.positionAt=function(j){j=Math.max(Math.min(j,this._content.length),0);var m=this.getLineOffsets(),M=0,na=m.length;if(0===na)return md.create(0,j);for(;M<na;){var Ua=Math.floor((M+na)/2);m[Ua]>j?na=Ua:M=Ua+1}var Za=M-1;return md.create(Za,j-m[Za])},v.prototype.offsetAt=function(j){var m=this.getLineOffsets();if(j.line>=m.length)return this._content.length;if(j.line<0)return 0;var M=m[j.line],na=j.line+1<m.length?m[j.line+1]:this._content.length;return Math.max(Math.min(M+j.character,na),M)},Object.defineProperty(v.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),v}();!function(v){var j=Object.prototype.toString;v.defined=function(m){return void 0!==m},v.undefined=function(m){return void 0===m},v.boolean=function(m){return!0===m||!1===m},v.string=function(m){return"[object String]"===j.call(m)},v.number=function(m){return"[object Number]"===j.call(m)},v.func=function(m){return"[object Function]"===j.call(m)},v.objectLiteral=function(m){return null!==m&&"object"==typeof m},v.typedArray=function(m,M){return Array.isArray(m)&&m.every(M)}}(Oc||(Oc={}));var qg,of,Lf,rg=function(){function v(j,m,M,na){this._uri=j,this._languageId=m,this._version=M,this._content=na,this._lineOffsets=void 0}return Object.defineProperty(v.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),v.prototype.getText=function(j){if(j){var m=this.offsetAt(j.start),M=this.offsetAt(j.end);return this._content.substring(m,M)}return this._content},v.prototype.update=function(j,m){for(var M=0,na=j;M<na.length;M++){var Ua=na[M];if(v.isIncremental(Ua)){var Za=fg(Ua.range),Kb=this.offsetAt(Za.start),Qb=this.offsetAt(Za.end);this._content=this._content.substring(0,Kb)+Ua.text+this._content.substring(Qb,this._content.length);var fc=Math.max(Za.start.line,0),Ib=Math.max(Za.end.line,0),Lc=this._lineOffsets,id=eg(Ua.text,!1,Kb);if(Ib-fc===id.length)for(var pd=0,cd=id.length;pd<cd;pd++)Lc[pd+fc+1]=id[pd];else id.length<1e4?Lc.splice.apply(Lc,[fc+1,Ib-fc].concat(id)):this._lineOffsets=Lc=Lc.slice(0,fc+1).concat(id,Lc.slice(Ib+1));var Hd=Ua.text.length-(Qb-Kb);if(0!==Hd)for(pd=fc+1+id.length,cd=Lc.length;pd<cd;pd++)Lc[pd]=Lc[pd]+Hd}else{if(!v.isFull(Ua))throw new Error("Unknown change event received");this._content=Ua.text,this._lineOffsets=void 0}}this._version=m},v.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=eg(this._content,!0)),this._lineOffsets},v.prototype.positionAt=function(j){j=Math.max(Math.min(j,this._content.length),0);var m=this.getLineOffsets(),M=0,na=m.length;if(0===na)return{line:0,character:j};for(;M<na;){var Ua=Math.floor((M+na)/2);m[Ua]>j?na=Ua:M=Ua+1}var Za=M-1;return{line:Za,character:j-m[Za]}},v.prototype.offsetAt=function(j){var m=this.getLineOffsets();if(j.line>=m.length)return this._content.length;if(j.line<0)return 0;var M=m[j.line],na=j.line+1<m.length?m[j.line+1]:this._content.length;return Math.max(Math.min(M+j.character,na),M)},Object.defineProperty(v.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),v.isIncremental=function(j){var m=j;return null!=m&&"string"==typeof m.text&&void 0!==m.range&&(void 0===m.rangeLength||"number"==typeof m.rangeLength)},v.isFull=function(j){var m=j;return null!=m&&"string"==typeof m.text&&void 0===m.range&&void 0===m.rangeLength},v}();function eg(v,j,m){void 0===m&&(m=0);for(var M=j?[m]:[],na=0;na<v.length;na++){var Ua=v.charCodeAt(na);13!==Ua&&10!==Ua||(13===Ua&&na+1<v.length&&10===v.charCodeAt(na+1)&&na++,M.push(m+na+1))}return M}function fg(v){var j=v.start,m=v.end;return j.line>m.line||j.line===m.line&&j.character>m.character?{start:m,end:j}:v}function oh(v){var j=fg(v.range);return j!==v.range?{newText:v.newText,range:j}:v}!function(v){v.create=function(j,m,M,na){return new rg(j,m,M,na)},v.update=function(j,m,M){if(j instanceof rg)return j.update(m,M),j;throw new Error("TextDocument.update: document must be created by TextDocument.create")},v.applyEdits=function(j,m){for(var M=j.getText(),na=0,Ua=[],Za=0,Kb=function Ib(Lc,id){if(Lc.length<=1)return Lc;var pd=Lc.length/2|0,cd=Lc.slice(0,pd),Hd=Lc.slice(pd);Ib(cd,id),Ib(Hd,id);for(var Md=0,Nd=0,Ad=0;Md<cd.length&&Nd<Hd.length;){var ke=id(cd[Md],Hd[Nd]);Lc[Ad++]=ke<=0?cd[Md++]:Hd[Nd++]}for(;Md<cd.length;)Lc[Ad++]=cd[Md++];for(;Nd<Hd.length;)Lc[Ad++]=Hd[Nd++];return Lc}(m.map(oh),function(Ib,Lc){var id=Ib.range.start.line-Lc.range.start.line;return 0===id?Ib.range.start.character-Lc.range.start.character:id});Za<Kb.length;Za++){var Qb=Kb[Za],fc=j.offsetAt(Qb.range.start);if(fc<na)throw new Error("Overlapping edit");fc>na&&Ua.push(M.substring(na,fc)),Qb.newText.length&&Ua.push(Qb.newText),na=j.offsetAt(Qb.range.end)}return Ua.push(M.substr(na)),Ua.join("")}}(qg||(qg={})),(of||(of={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Ge.Markdown,Ge.PlainText]}},hover:{contentFormat:[Ge.Markdown,Ge.PlainText]}}},function(v){v[v.Unknown=0]="Unknown",v[v.File=1]="File",v[v.Directory=2]="Directory",v[v.SymbolicLink=64]="SymbolicLink"}(Lf||(Lf={}));var ph=f(144),sg="/".charCodeAt(0),vf=".".charCodeAt(0);function Wf(v){var j=v.lastIndexOf("/");return-1!==j?v.substr(0,j):""}function Gg(v){for(var j=[],m=0,M=v;m<M.length;m++){var na=M[m];0===na.length||1===na.length&&na.charCodeAt(0)===vf||(2===na.length&&na.charCodeAt(0)===vf&&na.charCodeAt(1)===vf?j.pop():j.push(na))}v.length>1&&0===v[v.length-1].length&&j.push("");var Ua=j.join("/");return 0===v[0].length&&(Ua="/"+Ua),Ua}function tg(v){for(var j=[],m=1;m<arguments.length;m++)j[m-1]=arguments[m];for(var M=ph.a.parse(v),na=M.path.split("/"),Ua=0,Za=j;Ua<Za.length;Ua++){var Kb=Za[Ua];na.push.apply(na,Kb.split("/"))}return M.with({path:Gg(na)}).toString()}var ug=function(v,j,m,M){return new(m||(m=Promise))(function(na,Ua){function Za(fc){try{Qb(M.next(fc))}catch(Ib){Ua(Ib)}}function Kb(fc){try{Qb(M.throw(fc))}catch(Ib){Ua(Ib)}}function Qb(fc){var Ib;fc.done?na(fc.value):(Ib=fc.value,Ib instanceof m?Ib:new m(function(Lc){Lc(Ib)})).then(Za,Kb)}Qb((M=M.apply(v,j||[])).next())})},Hg=function(v,j){var m,M,na,Ua,Za={label:0,sent:function(){if(1&na[0])throw na[1];return na[1]},trys:[],ops:[]};return Ua={next:Kb(0),throw:Kb(1),return:Kb(2)},"function"==typeof Symbol&&(Ua[Symbol.iterator]=function(){return this}),Ua;function Kb(Qb){return function(fc){return function(Ib){if(m)throw new TypeError("Generator is already executing.");for(;Za;)try{if(m=1,M&&(na=2&Ib[0]?M.return:Ib[0]?M.throw||((na=M.return)&&na.call(M),0):M.next)&&!(na=na.call(M,Ib[1])).done)return na;switch(M=0,na&&(Ib=[2&Ib[0],na.value]),Ib[0]){case 0:case 1:na=Ib;break;case 4:return Za.label++,{value:Ib[1],done:!1};case 5:Za.label++,M=Ib[1],Ib=[0];continue;case 7:Ib=Za.ops.pop(),Za.trys.pop();continue;default:if(!(na=Za.trys,(na=na.length>0&&na[na.length-1])||6!==Ib[0]&&2!==Ib[0])){Za=0;continue}if(3===Ib[0]&&(!na||Ib[1]>na[0]&&Ib[1]<na[3])){Za.label=Ib[1];break}if(6===Ib[0]&&Za.label<na[1]){Za.label=na[1],na=Ib;break}if(na&&Za.label<na[2]){Za.label=na[2],Za.ops.push(Ib);break}na[2]&&Za.ops.pop(),Za.trys.pop();continue}Ib=j.call(v,Za)}catch(Lc){Ib=[6,Lc],M=0}finally{m=na=0}if(5&Ib[0])throw Ib[1];return{value:Ib[0]?Ib[1]:void 0,done:!0}}([Qb,fc])}}},Mf=function(){function v(j){this.readDirectory=j,this.literalCompletions=[],this.importCompletions=[]}return v.prototype.onCssURILiteralValue=function(j){this.literalCompletions.push(j)},v.prototype.onCssImportPath=function(j){this.importCompletions.push(j)},v.prototype.computeCompletions=function(j,m){return ug(this,void 0,void 0,function(){var M,na,Ua,Za,Kb,Qb,fc,Ib,Lc,id,pd,cd,Hd,Md,Nd,Ad,ke;return Hg(this,function(re){switch(re.label){case 0:M={items:[],isIncomplete:!1},na=0,Ua=this.literalCompletions,re.label=1;case 1:return na<Ua.length?(Za=Ua[na],Kb=Za.uriValue,"."!==(Hd=Ig(Kb))&&".."!==Hd?[3,2]:(M.isIncomplete=!0,[3,4])):[3,5];case 2:return[4,this.providePathSuggestions(Kb,Za.position,Za.range,j,m)];case 3:for(Qb=re.sent(),fc=0,Ib=Qb;fc<Ib.length;fc++)ke=Ib[fc],M.items.push(ke);re.label=4;case 4:return na++,[3,1];case 5:Lc=0,id=this.importCompletions,re.label=6;case 6:return Lc<id.length?(pd=id[Lc],cd=pd.pathValue,"."!==(Hd=Ig(cd))&&".."!==Hd?[3,7]:(M.isIncomplete=!0,[3,9])):[3,10];case 7:return[4,this.providePathSuggestions(cd,pd.position,pd.range,j,m)];case 8:for(Md=re.sent(),"scss"===j.languageId&&Md.forEach(function(ne){va(ne.label,"_")&&La(ne.label,".scss")&&(ne.textEdit?ne.textEdit.newText=ne.label.slice(1,-5):ne.label=ne.label.slice(1,-5))}),Nd=0,Ad=Md;Nd<Ad.length;Nd++)ke=Ad[Nd],M.items.push(ke);re.label=9;case 9:return Lc++,[3,6];case 10:return[2,M]}})})},v.prototype.providePathSuggestions=function(j,m,M,na,Ua){return ug(this,void 0,void 0,function(){var Za,Kb,Qb,fc,Ib,Lc,id,pd,cd,Hd,Md,Nd,Ad,ke,re;return Hg(this,function(ne){switch(ne.label){case 0:if(Za=Ig(j),Kb=va(j,"'")||va(j,'"'),Qb=Kb?Za.slice(0,m.character-(M.start.character+1)):Za.slice(0,m.character-M.start.character),fc=na.uri,Ib=Kb?function(we,se,He){var pf=Nf(we.start,se),kg=Nf(we.end,He);return rd.create(pf,kg)}(M,1,-1):M,Lc=function(we,se,He){var pf,kg=we.lastIndexOf("/");if(-1===kg)pf=He;else{var yh=se.slice(kg+1),lg=Nf(He.end,-yh.length),Ye=yh.indexOf(" "),eh=void 0;eh=-1!==Ye?Nf(lg,Ye):He.end,pf=rd.create(lg,eh)}return pf}(Qb,Za,Ib),id=Qb.substring(0,Qb.lastIndexOf("/")+1),!(pd=Ua.resolveReference(id||".",fc)))return[3,4];ne.label=1;case 1:return ne.trys.push([1,3,,4]),cd=[],[4,this.readDirectory(pd)];case 2:for(Hd=ne.sent(),Md=0,Nd=Hd;Md<Nd.length;Md++)Ad=Nd[Md],ke=Ad[0],re=Ad[1],ke.charCodeAt(0)===Xf||re!==Lf.Directory&&tg(pd,ke)===fc||cd.push(gg(ke,re===Lf.Directory,Lc));return[2,cd];case 3:return ne.sent(),[3,4];case 4:return[2,[]]}})})},v}(),Xf=".".charCodeAt(0);function Ig(v){return va(v,"'")||va(v,'"')?v.slice(1,-1):v}function gg(v,j,m){return j?{label:hg(v+="/"),kind:Kd.Folder,textEdit:zd.replace(m,hg(v)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:hg(v),kind:Kd.File,textEdit:zd.replace(m,hg(v))}}function hg(v){return v.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function Nf(v,j){return md.create(v.line,v.character+j)}var Te,af=function(v,j,m,M){return new(m||(m=Promise))(function(na,Ua){function Za(fc){try{Qb(M.next(fc))}catch(Ib){Ua(Ib)}}function Kb(fc){try{Qb(M.throw(fc))}catch(Ib){Ua(Ib)}}function Qb(fc){var Ib;fc.done?na(fc.value):(Ib=fc.value,Ib instanceof m?Ib:new m(function(Lc){Lc(Ib)})).then(Za,Kb)}Qb((M=M.apply(v,j||[])).next())})},qh=function(v,j){var m,M,na,Ua,Za={label:0,sent:function(){if(1&na[0])throw na[1];return na[1]},trys:[],ops:[]};return Ua={next:Kb(0),throw:Kb(1),return:Kb(2)},"function"==typeof Symbol&&(Ua[Symbol.iterator]=function(){return this}),Ua;function Kb(Qb){return function(fc){return function(Ib){if(m)throw new TypeError("Generator is already executing.");for(;Za;)try{if(m=1,M&&(na=2&Ib[0]?M.return:Ib[0]?M.throw||((na=M.return)&&na.call(M),0):M.next)&&!(na=na.call(M,Ib[1])).done)return na;switch(M=0,na&&(Ib=[2&Ib[0],na.value]),Ib[0]){case 0:case 1:na=Ib;break;case 4:return Za.label++,{value:Ib[1],done:!1};case 5:Za.label++,M=Ib[1],Ib=[0];continue;case 7:Ib=Za.ops.pop(),Za.trys.pop();continue;default:if(!(na=Za.trys,(na=na.length>0&&na[na.length-1])||6!==Ib[0]&&2!==Ib[0])){Za=0;continue}if(3===Ib[0]&&(!na||Ib[1]>na[0]&&Ib[1]<na[3])){Za.label=Ib[1];break}if(6===Ib[0]&&Za.label<na[1]){Za.label=na[1],na=Ib;break}if(na&&Za.label<na[2]){Za.label=na[2],Za.ops.push(Ib);break}na[2]&&Za.ops.pop(),Za.trys.pop();continue}Ib=j.call(v,Za)}catch(Lc){Ib=[6,Lc],M=0}finally{m=na=0}if(5&Ib[0])throw Ib[1];return{value:Ib[0]?Ib[1]:void 0,done:!0}}([Qb,fc])}}},Jg=jc(),wf=Yd.Snippet;!function(v){v.Enums=" ",v.Normal="d",v.VendorPrefixed="x",v.Term="y",v.Variable="z"}(Te||(Te={}));var xf=function(){function v(j,m,M){void 0===j&&(j=null),this.variablePrefix=j,this.lsOptions=m,this.cssDataManager=M,this.completionParticipants=[]}return v.prototype.configure=function(j){this.settings=j},v.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new $f(this.styleSheet)),this.symbolContext},v.prototype.setCompletionParticipants=function(j){this.completionParticipants=j||[]},v.prototype.doComplete2=function(j,m,M,na){return af(this,void 0,void 0,function(){var Ua,Za,Kb,Qb;return qh(this,function(fc){switch(fc.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(j,m,M)];Ua=new Mf(this.lsOptions.fileSystemProvider.readDirectory),Za=this.completionParticipants,this.completionParticipants=[Ua].concat(Za),Kb=this.doComplete(j,m,M),fc.label=1;case 1:return fc.trys.push([1,,3,4]),[4,Ua.computeCompletions(j,na)];case 2:return Qb=fc.sent(),[2,{isIncomplete:Kb.isIncomplete||Qb.isIncomplete,items:Qb.items.concat(Kb.items)}];case 3:return this.completionParticipants=Za,[7];case 4:return[2]}})})},v.prototype.doComplete=function(j,m,M){this.offset=j.offsetAt(m),this.position=m,this.currentWord=function(fc,Ib){for(var Lc=Ib-1,id=fc.getText();Lc>=0&&-1===` -\r":{[()]},*>+`.indexOf(id.charAt(Lc));)Lc--;return id.substring(Lc+1,Ib)}(j,this.offset),this.defaultReplaceRange=rd.create(md.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=j,this.styleSheet=M;try{var na={isIncomplete:!1,items:[]};this.nodePath=rb(this.styleSheet,this.offset);for(var Ua=this.nodePath.length-1;Ua>=0;Ua--){var Za=this.nodePath[Ua];if(Za instanceof Va)this.getCompletionsForDeclarationProperty(Za.getParent(),na);else if(Za instanceof Qd)Za.parent instanceof db?this.getVariableProposals(null,na):this.getCompletionsForExpression(Za,na);else if(Za instanceof Nb){var Kb=Za.findAParent(gb.ExtendsReference,gb.Ruleset);if(Kb)if(Kb.type===gb.ExtendsReference)this.getCompletionsForExtendsReference(Kb,Za,na);else{var Qb=Kb;this.getCompletionsForSelector(Qb,Qb&&Qb.isNested(),na)}}else if(Za instanceof kb)this.getCompletionsForFunctionArgument(Za,Za.getParent(),na);else if(Za instanceof Cc)this.getCompletionsForDeclarations(Za,na);else if(Za instanceof Ta)this.getCompletionsForVariableDeclaration(Za,na);else if(Za instanceof Yc)this.getCompletionsForRuleSet(Za,na);else if(Za instanceof db)this.getCompletionsForInterpolation(Za,na);else if(Za instanceof Bc)this.getCompletionsForFunctionDeclaration(Za,na);else if(Za instanceof Lb)this.getCompletionsForMixinReference(Za,na);else if(Za instanceof Oa)this.getCompletionsForFunctionArgument(null,Za,na);else if(Za instanceof Od)this.getCompletionsForSupports(Za,na);else if(Za instanceof _d)this.getCompletionsForSupportsCondition(Za,na);else if(Za instanceof Bb)this.getCompletionsForExtendsReference(Za,null,na);else if(Za.type===gb.URILiteral)this.getCompletionForUriLiteralValue(Za,na);else if(null===Za.parent)this.getCompletionForTopLevel(na);else{if(Za.type!==gb.StringLiteral||!this.isImportPathParent(Za.parent.type))continue;this.getCompletionForImportPath(Za,na)}if(na.items.length>0||this.offset>Za.offset)return this.finalize(na)}return this.getCompletionsForStylesheet(na),0===na.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,na),this.finalize(na)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},v.prototype.isImportPathParent=function(j){return j===gb.Import},v.prototype.finalize=function(j){return j},v.prototype.findInNodePath=function(){for(var j=[],m=0;m<arguments.length;m++)j[m]=arguments[m];for(var M=this.nodePath.length-1;M>=0;M--){var na=this.nodePath[M];if(-1!==j.indexOf(na.type))return na}return null},v.prototype.getCompletionsForDeclarationProperty=function(j,m){return this.getPropertyProposals(j,m)},v.prototype.getPropertyProposals=function(j,m){var M=this,na=this.isTriggerPropertyValueCompletionEnabled,Ua=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach(function(Za){var Kb,Qb,fc=!1;j?(Kb=M.getCompletionRange(j.getProperty()),Qb=Za.name,Zb(j.colonPosition)||(Qb+=": ",fc=!0)):(Kb=M.getCompletionRange(null),Qb=Za.name+": ",fc=!0),!j&&Ua&&(Qb+="$0;"),j&&!j.semicolonPosition&&Ua&&M.offset>=M.textDocument.offsetAt(Kb.end)&&(Qb+="$0;");var Ib={label:Za.name,documentation:ab(Za,M.doesSupportMarkdown()),tags:Kg(Za)?[lf.Deprecated]:[],textEdit:zd.replace(Kb,Qb),insertTextFormat:Yd.Snippet,kind:Kd.Property};Za.restrictions||(fc=!1),na&&fc&&(Ib.command={title:"Suggest",command:"editor.action.triggerSuggest"});var Lc=(255-("number"==typeof Za.relevance?Math.min(Math.max(Za.relevance,0),99):50)).toString(16),id=va(Za.name,"-")?Te.VendorPrefixed:Te.Normal;Ib.sortText=id+"_"+Lc,m.items.push(Ib)}),this.completionParticipants.forEach(function(Za){Za.onCssProperty&&Za.onCssProperty({propertyName:M.currentWord,range:M.defaultReplaceRange})}),m},Object.defineProperty(v.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),v.prototype.getCompletionsForDeclarationValue=function(j,m){for(var M=this,na=j.getFullPropertyName(),Ua=this.cssDataManager.getProperty(na),Za=j.getValue()||null;Za&&Za.hasChildren();)Za=Za.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach(function(id){id.onCssPropertyValue&&id.onCssPropertyValue({propertyName:na,propertyValue:M.currentWord,range:M.getCompletionRange(Za)})}),Ua){if(Ua.restrictions)for(var Kb=0,Qb=Ua.restrictions;Kb<Qb.length;Kb++)switch(Qb[Kb]){case"color":this.getColorProposals(Ua,Za,m);break;case"position":this.getPositionProposals(Ua,Za,m);break;case"repeat":this.getRepeatStyleProposals(Ua,Za,m);break;case"line-style":this.getLineStyleProposals(Ua,Za,m);break;case"line-width":this.getLineWidthProposals(Ua,Za,m);break;case"geometry-box":this.getGeometryBoxProposals(Ua,Za,m);break;case"box":this.getBoxProposals(Ua,Za,m);break;case"image":this.getImageProposals(Ua,Za,m);break;case"timing-function":this.getTimingFunctionProposals(Ua,Za,m);break;case"shape":this.getBasicShapeProposals(Ua,Za,m)}this.getValueEnumProposals(Ua,Za,m),this.getCSSWideKeywordProposals(Ua,Za,m),this.getUnitProposals(Ua,Za,m)}else for(var fc=0,Ib=function(id,pd){var cd=pd.getFullPropertyName(),Hd=new rh();function Md(Nd){return(Nd instanceof Ob||Nd instanceof Ha||Nd instanceof xd)&&Hd.add(Nd.getText()),!0}return id.accept(function(Nd){if(Nd instanceof qb&&Nd!==pd&&function(ke){var re=ke.getFullPropertyName();return cd===re}(Nd)){var Ad=Nd.getValue();Ad&&Ad.accept(Md)}return!0}),Hd}(this.styleSheet,j).getEntries();fc<Ib.length;fc++){var Lc=Ib[fc];m.items.push({label:Lc,textEdit:zd.replace(this.getCompletionRange(Za),Lc),kind:Kd.Value})}return this.getVariableProposals(Za,m),this.getTermProposals(Ua,Za,m),m},v.prototype.getValueEnumProposals=function(j,m,M){if(j.values)for(var na=0,Ua=j.values;na<Ua.length;na++){var Za=Ua[na],Kb=Za.name,Qb=void 0;if(La(Kb,")")){var fc=Kb.lastIndexOf("(");-1!==fc&&(Kb=Kb.substr(0,fc)+"($1)",Qb=wf)}var Ib=Te.Enums;va(Za.name,"-")&&(Ib+=Te.VendorPrefixed);var Lc={label:Za.name,documentation:ab(Za,this.doesSupportMarkdown()),tags:Kg(j)?[lf.Deprecated]:[],textEdit:zd.replace(this.getCompletionRange(m),Kb),sortText:Ib,kind:Kd.Value,insertTextFormat:Qb};M.items.push(Lc)}return M},v.prototype.getCSSWideKeywordProposals=function(j,m,M){for(var na in vb)M.items.push({label:na,documentation:vb[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});return M},v.prototype.getCompletionsForInterpolation=function(j,m){return this.offset>=j.offset+2&&this.getVariableProposals(null,m),m},v.prototype.getVariableProposals=function(j,m){for(var M=0,na=this.getSymbolContext().findSymbolsAtOffset(this.offset,Fb.Variable);M<na.length;M++){var Ua=na[M],Za=va(Ua.name,"--")?"var("+Ua.name+")":Ua.name,Kb={label:Ua.name,documentation:Ua.value?$a(Ua.value):Ua.value,textEdit:zd.replace(this.getCompletionRange(j),Za),kind:Kd.Variable,sortText:Te.Variable};if("string"==typeof Kb.documentation&&Mg(Kb.documentation)&&(Kb.kind=Kd.Color),Ua.node.type===gb.FunctionParameter){var Qb=Ua.node.getParent();Qb.type===gb.MixinDeclaration&&(Kb.detail=Jg("completion.argument","argument from '{0}'",Qb.getName()))}m.items.push(Kb)}return m},v.prototype.getVariableProposalsForCSSVarFunction=function(j){for(var m=this.getSymbolContext().findSymbolsAtOffset(this.offset,Fb.Variable),M=0,na=m=m.filter(function(Kb){return va(Kb.name,"--")});M<na.length;M++){var Ua=na[M],Za={label:Ua.name,documentation:Ua.value?$a(Ua.value):Ua.value,textEdit:zd.replace(this.getCompletionRange(null),Ua.name),kind:Kd.Variable};"string"==typeof Za.documentation&&Mg(Za.documentation)&&(Za.kind=Kd.Color),j.items.push(Za)}return j},v.prototype.getUnitProposals=function(j,m,M){var na="0";if(this.currentWord.length>0){var Ua=this.currentWord.match(/^-?\d[\.\d+]*/);Ua&&(na=Ua[0],M.isIncomplete=na.length===this.currentWord.length)}else 0===this.currentWord.length&&(M.isIncomplete=!0);if(m&&m.parent&&m.parent.type===gb.Term&&(m=m.getParent()),j.restrictions)for(var Za=0,Kb=j.restrictions;Za<Kb.length;Za++){var Qb=Kb[Za],fc=cc[Qb];if(fc)for(var Ib=0,Lc=fc;Ib<Lc.length;Ib++){var id=na+Lc[Ib];M.items.push({label:id,textEdit:zd.replace(this.getCompletionRange(m),id),kind:Kd.Unit})}}return M},v.prototype.getCompletionRange=function(j){if(j&&j.offset<=this.offset&&this.offset<=j.end){var m=-1!==j.end?this.textDocument.positionAt(j.end):this.position,M=this.textDocument.positionAt(j.offset);if(M.line===m.line)return rd.create(M,m)}return this.defaultReplaceRange},v.prototype.getColorProposals=function(j,m,M){for(var na in _b)M.items.push({label:na,documentation:_b[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Color});for(var na in qc)M.items.push({label:na,documentation:qc[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});var Ua=new rh();this.styleSheet.acceptVisitor(new Lg(Ua,this.offset));for(var Za=0,Kb=Ua.getEntries();Za<Kb.length;Za++)na=Kb[Za],M.items.push({label:na,textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Color});for(var Qb=function(id){var pd=1,cd=id.func.replace(/\[?\$(\w+)\]?/g,function(Hd,Md){return"${"+pd+++":"+Md+"}"});M.items.push({label:id.func.substr(0,id.func.indexOf("(")),detail:id.func,documentation:id.desc,textEdit:zd.replace(fc.getCompletionRange(m),cd),insertTextFormat:wf,kind:Kd.Function})},fc=this,Ib=0,Lc=zc;Ib<Lc.length;Ib++)Qb(Lc[Ib]);return M},v.prototype.getPositionProposals=function(j,m,M){for(var na in Na)M.items.push({label:na,documentation:Na[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});return M},v.prototype.getRepeatStyleProposals=function(j,m,M){for(var na in Pa)M.items.push({label:na,documentation:Pa[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});return M},v.prototype.getLineStyleProposals=function(j,m,M){for(var na in Fa)M.items.push({label:na,documentation:Fa[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});return M},v.prototype.getLineWidthProposals=function(j,m,M){for(var na=0,Ua=Xa;na<Ua.length;na++){var Za=Ua[na];M.items.push({label:Za,textEdit:zd.replace(this.getCompletionRange(m),Za),kind:Kd.Value})}return M},v.prototype.getGeometryBoxProposals=function(j,m,M){for(var na in sb)M.items.push({label:na,documentation:sb[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});return M},v.prototype.getBoxProposals=function(j,m,M){for(var na in lb)M.items.push({label:na,documentation:lb[na],textEdit:zd.replace(this.getCompletionRange(m),na),kind:Kd.Value});return M},v.prototype.getImageProposals=function(j,m,M){for(var na in Vb){var Ua=ff(na);M.items.push({label:na,documentation:Vb[na],textEdit:zd.replace(this.getCompletionRange(m),Ua),kind:Kd.Function,insertTextFormat:na!==Ua?wf:void 0})}return M},v.prototype.getTimingFunctionProposals=function(j,m,M){for(var na in hc){var Ua=ff(na);M.items.push({label:na,documentation:hc[na],textEdit:zd.replace(this.getCompletionRange(m),Ua),kind:Kd.Function,insertTextFormat:na!==Ua?wf:void 0})}return M},v.prototype.getBasicShapeProposals=function(j,m,M){for(var na in Tb){var Ua=ff(na);M.items.push({label:na,documentation:Tb[na],textEdit:zd.replace(this.getCompletionRange(m),Ua),kind:Kd.Function,insertTextFormat:na!==Ua?wf:void 0})}return M},v.prototype.getCompletionsForStylesheet=function(j){var m=this.styleSheet.findFirstChildBeforeOffset(this.offset);return m?m instanceof Yc?this.getCompletionsForRuleSet(m,j):m instanceof Od?this.getCompletionsForSupports(m,j):j:this.getCompletionForTopLevel(j)},v.prototype.getCompletionForTopLevel=function(j){var m=this;return this.cssDataManager.getAtDirectives().forEach(function(M){j.items.push({label:M.name,textEdit:zd.replace(m.getCompletionRange(null),M.name),documentation:ab(M,m.doesSupportMarkdown()),tags:Kg(M)?[lf.Deprecated]:[],kind:Kd.Keyword})}),this.getCompletionsForSelector(null,!1,j),j},v.prototype.getCompletionsForRuleSet=function(j,m){var M=j.getDeclarations();return M&&M.endsWith("}")&&this.offset>=M.end?this.getCompletionForTopLevel(m):!M||this.offset<=M.offset?this.getCompletionsForSelector(j,j.isNested(),m):this.getCompletionsForDeclarations(j.getDeclarations(),m)},v.prototype.getCompletionsForSelector=function(j,m,M){var na=this,Ua=this.findInNodePath(gb.PseudoSelector,gb.IdentifierSelector,gb.ClassSelector,gb.ElementNameSelector);if(!Ua&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=rd.create(md.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach(function(cd){var Hd=ff(cd.name),Md={label:cd.name,textEdit:zd.replace(na.getCompletionRange(Ua),Hd),documentation:ab(cd,na.doesSupportMarkdown()),tags:Kg(cd)?[lf.Deprecated]:[],kind:Kd.Function,insertTextFormat:cd.name!==Hd?wf:void 0};va(cd.name,":-")&&(Md.sortText=Te.VendorPrefixed),M.items.push(Md)}),this.cssDataManager.getPseudoElements().forEach(function(cd){var Hd=ff(cd.name),Md={label:cd.name,textEdit:zd.replace(na.getCompletionRange(Ua),Hd),documentation:ab(cd,na.doesSupportMarkdown()),tags:Kg(cd)?[lf.Deprecated]:[],kind:Kd.Function,insertTextFormat:cd.name!==Hd?wf:void 0};va(cd.name,"::-")&&(Md.sortText=Te.VendorPrefixed),M.items.push(Md)}),!m){for(var Za=0,Kb=Rc;Za<Kb.length;Za++){var Qb=Kb[Za];M.items.push({label:Qb,textEdit:zd.replace(this.getCompletionRange(Ua),Qb),kind:Kd.Keyword})}for(var fc=0,Ib=gd;fc<Ib.length;fc++)Qb=Ib[fc],M.items.push({label:Qb,textEdit:zd.replace(this.getCompletionRange(Ua),Qb),kind:Kd.Keyword})}var Lc={};Lc[this.currentWord]=!0;var id=this.textDocument.getText();if(this.styleSheet.accept(function(cd){if(cd.type===gb.SimpleSelector&&cd.length>0){var Hd=id.substr(cd.offset,cd.length);return"."!==Hd.charAt(0)||Lc[Hd]||(Lc[Hd]=!0,M.items.push({label:Hd,textEdit:zd.replace(na.getCompletionRange(Ua),Hd),kind:Kd.Keyword})),!1}return!0}),j&&j.isNested()){var pd=j.getSelectors().findFirstChildBeforeOffset(this.offset);pd&&0===j.getSelectors().getChildren().indexOf(pd)&&this.getPropertyProposals(null,M)}return M},v.prototype.getCompletionsForDeclarations=function(j,m){if(!j||this.offset===j.offset)return m;var M=j.findFirstChildBeforeOffset(this.offset);if(!M)return this.getCompletionsForDeclarationProperty(null,m);if(M instanceof pb){var na=M;if(!Zb(na.colonPosition)||this.offset<=na.colonPosition)return this.getCompletionsForDeclarationProperty(na,m);if(Zb(na.semicolonPosition)&&na.semicolonPosition<this.offset)return this.offset===na.semicolonPosition+1?m:this.getCompletionsForDeclarationProperty(null,m);if(na instanceof qb)return this.getCompletionsForDeclarationValue(na,m)}else M instanceof Bb?this.getCompletionsForExtendsReference(M,null,m):(this.currentWord&&"@"===this.currentWord[0]||M instanceof Yc)&&this.getCompletionsForDeclarationProperty(null,m);return m},v.prototype.getCompletionsForVariableDeclaration=function(j,m){return this.offset&&Zb(j.colonPosition)&&this.offset>j.colonPosition&&this.getVariableProposals(j.getValue(),m),m},v.prototype.getCompletionsForExpression=function(j,m){var M=j.getParent();if(M instanceof kb)return this.getCompletionsForFunctionArgument(M,M.getParent(),m),m;var na=j.findParent(gb.Declaration);if(!na)return this.getTermProposals(void 0,null,m),m;var Ua=j.findChildAtOffset(this.offset,!0);return Ua?Ua instanceof Ha||Ua instanceof Ob?this.getCompletionsForDeclarationValue(na,m):m:this.getCompletionsForDeclarationValue(na,m)},v.prototype.getCompletionsForFunctionArgument=function(j,m,M){var na=m.getIdentifier();return na&&na.matches("var")&&(m.getArguments().hasChildren()&&m.getArguments().getChild(0)!==j||this.getVariableProposalsForCSSVarFunction(M)),M},v.prototype.getCompletionsForFunctionDeclaration=function(j,m){var M=j.getDeclarations();return M&&this.offset>M.offset&&this.offset<M.end&&this.getTermProposals(void 0,null,m),m},v.prototype.getCompletionsForMixinReference=function(j,m){for(var M=this,na=0,Ua=this.getSymbolContext().findSymbolsAtOffset(this.offset,Fb.Mixin);na<Ua.length;na++){var Za=Ua[na];Za.node instanceof Ub&&m.items.push(this.makeTermProposal(Za,Za.node.getParameters(),null))}var Kb=j.getIdentifier()||null;return this.completionParticipants.forEach(function(Qb){Qb.onCssMixinReference&&Qb.onCssMixinReference({mixinName:M.currentWord,range:M.getCompletionRange(Kb)})}),m},v.prototype.getTermProposals=function(j,m,M){for(var na=0,Ua=this.getSymbolContext().findSymbolsAtOffset(this.offset,Fb.Function);na<Ua.length;na++){var Za=Ua[na];Za.node instanceof Bc&&M.items.push(this.makeTermProposal(Za,Za.node.getParameters(),m))}return M},v.prototype.makeTermProposal=function(j,m,M){j.node;var na=m.getChildren().map(function(Za){return Za instanceof Qa?Za.getName():Za.getText()}),Ua=j.name+"("+na.map(function(Za,Kb){return"${"+(Kb+1)+":"+Za+"}"}).join(", ")+")";return{label:j.name,detail:j.name+"("+na.join(", ")+")",textEdit:zd.replace(this.getCompletionRange(M),Ua),insertTextFormat:wf,kind:Kd.Function,sortText:Te.Term}},v.prototype.getCompletionsForSupportsCondition=function(j,m){var M=j.findFirstChildBeforeOffset(this.offset);if(M){if(M instanceof qb)return!Zb(M.colonPosition)||this.offset<=M.colonPosition?this.getCompletionsForDeclarationProperty(M,m):this.getCompletionsForDeclarationValue(M,m);if(M instanceof _d)return this.getCompletionsForSupportsCondition(M,m)}return Zb(j.lParent)&&this.offset>j.lParent&&(!Zb(j.rParent)||this.offset<=j.rParent)?this.getCompletionsForDeclarationProperty(null,m):m},v.prototype.getCompletionsForSupports=function(j,m){var M=j.getDeclarations();if(!M||this.offset<=M.offset){var na=j.findFirstChildBeforeOffset(this.offset);return na instanceof _d?this.getCompletionsForSupportsCondition(na,m):m}return this.getCompletionForTopLevel(m)},v.prototype.getCompletionsForExtendsReference=function(j,m,M){return M},v.prototype.getCompletionForUriLiteralValue=function(j,m){var M,na,Ua;if(j.hasChildren()){var Za=j.getChild(0);M=Za.getText(),na=this.position,Ua=this.getCompletionRange(Za)}else{M="",na=this.position;var Kb=this.textDocument.positionAt(j.offset+"url(".length);Ua=rd.create(Kb,Kb)}return this.completionParticipants.forEach(function(Qb){Qb.onCssURILiteralValue&&Qb.onCssURILiteralValue({uriValue:M,position:na,range:Ua})}),m},v.prototype.getCompletionForImportPath=function(j,m){var M=this;return this.completionParticipants.forEach(function(na){na.onCssImportPath&&na.onCssImportPath({pathValue:j.getText(),position:M.position,range:M.getCompletionRange(j)})}),m},v.prototype.doesSupportMarkdown=function(){var j,m,M;if(!Zb(this.supportsMarkdown)){if(!Zb(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var na=null===(M=null===(m=null===(j=this.lsOptions.clientCapabilities.textDocument)||void 0===j?void 0:j.completion)||void 0===m?void 0:m.completionItem)||void 0===M?void 0:M.documentationFormat;this.supportsMarkdown=Array.isArray(na)&&-1!==na.indexOf(Ge.Markdown)}return this.supportsMarkdown},v}();function Kg(v){return!(!v.status||"nonstandard"!==v.status&&"obsolete"!==v.status)}var rh=function(){function v(){this.entries={}}return v.prototype.add=function(j){this.entries[j]=!0},v.prototype.getEntries=function(){return Object.keys(this.entries)},v}();function ff(v){return v.replace(/\(\)$/,"($1)")}var Lg=function(){function v(j,m){this.entries=j,this.currentOffset=m}return v.prototype.visitNode=function(j){return(j instanceof xd||j instanceof Oa&&Aa(j))&&(this.currentOffset<j.offset||j.end<this.currentOffset)&&this.entries.add(j.getText()),!0},v}();function Mg(v){return v.toLowerCase()in _b||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(v)}var We,gf=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Zg=jc(),vg=function(){function v(){this.parent=null,this.children=null,this.attributes=null}return v.prototype.findAttribute=function(j){if(this.attributes)for(var m=0,M=this.attributes;m<M.length;m++){var na=M[m];if(na.name===j)return na.value}return null},v.prototype.addChild=function(j){j instanceof v&&(j.parent=this),this.children||(this.children=[]),this.children.push(j)},v.prototype.append=function(j){if(this.attributes){var m=this.attributes[this.attributes.length-1];m.value=m.value+j}},v.prototype.prepend=function(j){if(this.attributes){var m=this.attributes[0];m.value=j+m.value}},v.prototype.findRoot=function(){for(var j=this;j.parent&&!(j.parent instanceof Me);)j=j.parent;return j},v.prototype.removeChild=function(j){if(this.children){var m=this.children.indexOf(j);if(-1!==m)return this.children.splice(m,1),!0}return!1},v.prototype.addAttr=function(j,m){this.attributes||(this.attributes=[]);for(var M=0,na=this.attributes;M<na.length;M++){var Ua=na[M];if(Ua.name===j)return void(Ua.value+=" "+m)}this.attributes.push({name:j,value:m})},v.prototype.clone=function(j){void 0===j&&(j=!0);var m=new v();if(this.attributes){m.attributes=[];for(var M=0,na=this.attributes;M<na.length;M++){var Ua=na[M];m.addAttr(Ua.name,Ua.value)}}if(j&&this.children){m.children=[];for(var Za=0;Za<this.children.length;Za++)m.addChild(this.children[Za].clone())}return m},v.prototype.cloneWithParent=function(){var j=this.clone(!1);return!this.parent||this.parent instanceof Me||this.parent.cloneWithParent().addChild(j),j},v}(),Me=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return gf(j,v),j}(vg),wg=function(v){function j(m){var M=v.call(this)||this;return M.addAttr("name",m),M}return gf(j,v),j}(vg),bf=function(){function v(j){this.quote=j,this.result=[]}return v.prototype.print=function(j){return this.result=[],j instanceof Me?j.children&&this.doPrint(j.children,0):this.doPrint([j],0),[{language:"html",value:this.result.join(` -`)}]},v.prototype.doPrint=function(j,m){for(var M=0,na=j;M<na.length;M++){var Ua=na[M];this.doPrintElement(Ua,m),Ua.children&&this.doPrint(Ua.children,m+1)}},v.prototype.writeLine=function(j,m){var M=new Array(j+1).join(" ");this.result.push(M+m)},v.prototype.doPrintElement=function(j,m){var M=j.findAttribute("name");if(j instanceof wg||"…"===M)this.writeLine(m,M);else{var na=["<"];if(M?na.push(M):na.push("element"),j.attributes)for(var Ua=0,Za=j.attributes;Ua<Za.length;Ua++){var Kb=Za[Ua];if("name"!==Kb.name){na.push(" "),na.push(Kb.name);var Qb=Kb.value;Qb&&(na.push("="),na.push(We.ensure(Qb,this.quote)))}}na.push(">"),this.writeLine(m,na.join(""))}},v}();!function(v){function j(m){var M=m.match(/^['"](.*)["']$/);return M?M[1]:m}v.ensure=function(m,M){return M+j(m)+M},v.remove=j}(We||(We={}));var d=function(){this.id=0,this.attr=0,this.tag=0};function g(v,j){for(var m=new vg(),M=0,na=v.getChildren();M<na.length;M++){var Ua=na[M];switch(Ua.type){case gb.SelectorCombinator:if(j){var Za=Ua.getText().split("&");if(1===Za.length){m.addAttr("name",Za[0]);break}(m=j.cloneWithParent(),Za[0])&&m.findRoot().prepend(Za[0]);for(var Kb=1;Kb<Za.length;Kb++){if(Kb>1){var Qb=j.cloneWithParent();m.addChild(Qb.findRoot()),m=Qb}m.append(Za[Kb])}}break;case gb.SelectorPlaceholder:if(Ua.matches("@at-root"))return m;case gb.ElementNameSelector:var fc=Ua.getText();m.addAttr("name","*"===fc?"element":o(fc));break;case gb.ClassSelector:m.addAttr("class",o(Ua.getText().substring(1)));break;case gb.IdentifierSelector:m.addAttr("id",o(Ua.getText().substring(1)));break;case gb.MixinDeclaration:m.addAttr("class",Ua.getName());break;case gb.PseudoSelector:m.addAttr(o(Ua.getText()),"");break;case gb.AttributeSelector:var Ib=Ua,Lc=Ib.getIdentifier();if(Lc){var id=Ib.getValue(),pd=Ib.getOperator(),cd=void 0;if(id&&pd)switch(o(pd.getText())){case"|=":cd=We.remove(o(id.getText()))+"-…";break;case"^=":cd=We.remove(o(id.getText()))+"…";break;case"$=":cd="…"+We.remove(o(id.getText()));break;case"~=":cd=" … "+We.remove(o(id.getText()))+" … ";break;case"*=":cd="…"+We.remove(o(id.getText()))+"…";break;default:cd=We.remove(o(id.getText()))}m.addAttr(o(Lc.getText()),cd)}}}return m}function o(v){var j=new ka();j.setSource(v);var m=j.scanUnquotedString();return m?m.text:v}var J=function(){function v(j){this.cssDataManager=j}return v.prototype.selectorToMarkedString=function(j){var m=function(na){if(na.matches("@at-root"))return null;var Ua=new Me(),Za=[],Kb=na.getParent();if(Kb instanceof Yc)for(var Qb=Kb.getParent();Qb&&!sa(Qb);){if(Qb instanceof Yc){if(Qb.getSelectors().matches("@at-root"))break;Za.push(Qb)}Qb=Qb.getParent()}for(var fc=new T(Ua),Ib=Za.length-1;Ib>=0;Ib--){var Lc=Za[Ib].getSelectors().getChild(0);Lc&&fc.processSelector(Lc)}return fc.processSelector(na),Ua}(j);if(m){var M=new bf('"').print(m);return M.push(this.selectorToSpecificityMarkedString(j)),M}return[]},v.prototype.simpleSelectorToMarkedString=function(j){var m=g(j),M=new bf('"').print(m);return M.push(this.selectorToSpecificityMarkedString(j)),M},v.prototype.isPseudoElementIdentifier=function(j){var m=j.match(/^::?([\w-]+)/);return!!m&&!!this.cssDataManager.getPseudoElement("::"+m[1])},v.prototype.selectorToSpecificityMarkedString=function(j){var m=this,M=function(Ua){for(var Za=0,Kb=Ua.getChildren();Za<Kb.length;Za++){var Qb=Kb[Za];switch(Qb.type){case gb.IdentifierSelector:na.id++;break;case gb.ClassSelector:case gb.AttributeSelector:na.attr++;break;case gb.ElementNameSelector:if(Qb.matches("*"))break;na.tag++;break;case gb.PseudoSelector:var fc=Qb.getText();if(m.isPseudoElementIdentifier(fc))na.tag++;else{if(fc.match(/^:not/i))break;na.attr++}}Qb.getChildren().length>0&&M(Qb)}},na=new d();return M(j),Zg("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",na.id,na.attr,na.tag)},v}(),T=function(){function v(j){this.prev=null,this.element=j}return v.prototype.processSelector=function(j){var m=null;if(!(this.element instanceof Me)&&j.getChildren().some(function(Ib){return Ib.hasChildren()&&Ib.getChild(0).type===gb.SelectorCombinator})){var M=this.element.findRoot();M.parent instanceof Me&&(m=this.element,this.element=M.parent,this.element.removeChild(M),this.prev=null)}for(var na=0,Ua=j.getChildren();na<Ua.length;na++){var Za=Ua[na];if(Za instanceof Nb){if(this.prev instanceof Nb){var Kb=new wg("…");this.element.addChild(Kb),this.element=Kb}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(g(Za)),this.element.addChild(new wg("⋮")));var Qb=g(Za,m),fc=Qb.findRoot();this.element.addChild(fc),this.element=Qb}(Za instanceof Nb||Za.type===gb.SelectorCombinatorParent||Za.type===gb.SelectorCombinatorShadowPiercingDescendant||Za.type===gb.SelectorCombinatorSibling||Za.type===gb.SelectorCombinatorAllSiblings)&&(this.prev=Za)}},v}();function sa(v){switch(v.type){case gb.MixinDeclaration:case gb.Stylesheet:return!0}return!1}var Ia=function(){function v(j,m){this.clientCapabilities=j,this.cssDataManager=m,this.selectorPrinting=new J(m)}return v.prototype.doHover=function(j,m,M){function na(cd){return rd.create(j.positionAt(cd.offset),j.positionAt(cd.end))}for(var Ua=rb(M,j.offsetAt(m)),Za=null,Kb=0;Kb<Ua.length;Kb++){var Qb=Ua[Kb];if(Qb instanceof sc){Za={contents:this.selectorPrinting.selectorToMarkedString(Qb),range:na(Qb)};break}if(Qb instanceof Nb){va(Qb.getText(),"@")||(Za={contents:this.selectorPrinting.simpleSelectorToMarkedString(Qb),range:na(Qb)});break}if(Qb instanceof qb){var fc=Qb.getFullPropertyName();(Lc=this.cssDataManager.getProperty(fc))&&(Za=(id=ab(Lc,this.doesSupportMarkdown()))?{contents:id,range:na(Qb)}:null)}else if(Qb instanceof pc){var Ib=Qb.getText();(Lc=this.cssDataManager.getAtDirective(Ib))&&(Za=(id=ab(Lc,this.doesSupportMarkdown()))?{contents:id,range:na(Qb)}:null)}else if(Qb instanceof vc&&Qb.type===gb.PseudoSelector){var Lc,id,pd=Qb.getText();(Lc="::"===pd.slice(0,2)?this.cssDataManager.getPseudoElement(pd):this.cssDataManager.getPseudoClass(pd))&&(Za=(id=ab(Lc,this.doesSupportMarkdown()))?{contents:id,range:na(Qb)}:null)}}return Za&&(Za.contents=this.convertContents(Za.contents)),Za},v.prototype.convertContents=function(j){return this.doesSupportMarkdown()||"string"==typeof j?j:"kind"in j?{kind:"plaintext",value:j.value}:Array.isArray(j)?j.map(function(m){return"string"==typeof m?m:m.value}):j.value},v.prototype.doesSupportMarkdown=function(){if(!Zb(this.supportsMarkdown)){if(!Zb(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var j=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=j&&j.contentFormat&&Array.isArray(j.contentFormat)&&-1!==j.contentFormat.indexOf(Ge.Markdown)}return this.supportsMarkdown},v}(),Sa=function(v,j,m,M){return new(m||(m=Promise))(function(na,Ua){function Za(fc){try{Qb(M.next(fc))}catch(Ib){Ua(Ib)}}function Kb(fc){try{Qb(M.throw(fc))}catch(Ib){Ua(Ib)}}function Qb(fc){var Ib;fc.done?na(fc.value):(Ib=fc.value,Ib instanceof m?Ib:new m(function(Lc){Lc(Ib)})).then(Za,Kb)}Qb((M=M.apply(v,j||[])).next())})},bb=function(v,j){var m,M,na,Ua,Za={label:0,sent:function(){if(1&na[0])throw na[1];return na[1]},trys:[],ops:[]};return Ua={next:Kb(0),throw:Kb(1),return:Kb(2)},"function"==typeof Symbol&&(Ua[Symbol.iterator]=function(){return this}),Ua;function Kb(Qb){return function(fc){return function(Ib){if(m)throw new TypeError("Generator is already executing.");for(;Za;)try{if(m=1,M&&(na=2&Ib[0]?M.return:Ib[0]?M.throw||((na=M.return)&&na.call(M),0):M.next)&&!(na=na.call(M,Ib[1])).done)return na;switch(M=0,na&&(Ib=[2&Ib[0],na.value]),Ib[0]){case 0:case 1:na=Ib;break;case 4:return Za.label++,{value:Ib[1],done:!1};case 5:Za.label++,M=Ib[1],Ib=[0];continue;case 7:Ib=Za.ops.pop(),Za.trys.pop();continue;default:if(!(na=Za.trys,(na=na.length>0&&na[na.length-1])||6!==Ib[0]&&2!==Ib[0])){Za=0;continue}if(3===Ib[0]&&(!na||Ib[1]>na[0]&&Ib[1]<na[3])){Za.label=Ib[1];break}if(6===Ib[0]&&Za.label<na[1]){Za.label=na[1],na=Ib;break}if(na&&Za.label<na[2]){Za.label=na[2],Za.ops.push(Ib);break}na[2]&&Za.ops.pop(),Za.trys.pop();continue}Ib=j.call(v,Za)}catch(Lc){Ib=[6,Lc],M=0}finally{m=na=0}if(5&Ib[0])throw Ib[1];return{value:Ib[0]?Ib[1]:void 0,done:!0}}([Qb,fc])}}},ib=jc(),ob=function(){function v(j){this.fileSystemProvider=j}return v.prototype.findDefinition=function(j,m,M){var na=new $f(M),Ua=tc(M,j.offsetAt(m));if(!Ua)return null;var Za=na.findSymbolFromNode(Ua);return Za?{uri:j.uri,range:Mb(Za.node,j)}:null},v.prototype.findReferences=function(j,m,M){return this.findDocumentHighlights(j,m,M).map(function(na){return{uri:j.uri,range:na.range}})},v.prototype.findDocumentHighlights=function(j,m,M){var na=[],Ua=tc(M,j.offsetAt(m));if(!Ua||Ua.type===gb.Stylesheet||Ua.type===gb.Declarations)return na;Ua.type===gb.Identifier&&Ua.parent&&Ua.parent.type===gb.ClassSelector&&(Ua=Ua.parent);var Za=new $f(M),Kb=Za.findSymbolFromNode(Ua),Qb=Ua.getText();return M.accept(function(fc){if(Kb){if(Za.matchesSymbol(fc,Kb))return na.push({kind:Gb(fc),range:Mb(fc,j)}),!1}else Ua&&Ua.type===fc.type&&fc.matches(Qb)&&na.push({kind:Gb(fc),range:Mb(fc,j)});return!0}),na},v.prototype.isRawStringDocumentLinkNode=function(j){return j.type===gb.Import},v.prototype.findDocumentLinks=function(j,m,M){for(var na=this.findUnresolvedLinks(j,m),Ua=0;Ua<na.length;Ua++){var Za=na[Ua].target;if(Za&&!/^\w+:\/\//g.test(Za)){var Kb=M.resolveReference(Za,j.uri);Kb&&(na[Ua].target=Kb)}}return na},v.prototype.findDocumentLinks2=function(j,m,M){return Sa(this,void 0,void 0,function(){var na,Ua,Za,Kb,Qb,fc,Ib;return bb(this,function(Lc){switch(Lc.label){case 0:na=this.findUnresolvedLinks(j,m),Ua=[],Za=0,Kb=na,Lc.label=1;case 1:return Za<Kb.length?(Qb=Kb[Za],!(fc=Qb.target)||/^\w+:\/\//g.test(fc)?[3,3]:[4,this.resolveRelativeReference(fc,j.uri,M)]):[3,5];case 2:return void 0!==(Ib=Lc.sent())&&(Qb.target=Ib,Ua.push(Qb)),[3,4];case 3:Ua.push(Qb),Lc.label=4;case 4:return Za++,[3,1];case 5:return[2,Ua]}})})},v.prototype.findUnresolvedLinks=function(j,m){var M=this,na=[],Ua=function(Za){var Kb=Za.getText(),Qb=Mb(Za,j);Qb.start.line===Qb.end.line&&Qb.start.character===Qb.end.character||((va(Kb,"'")||va(Kb,'"'))&&(Kb=Kb.slice(1,-1)),na.push({target:Kb,range:Qb}))};return m.accept(function(Za){if(Za.type===gb.URILiteral){var Kb=Za.getChild(0);return Kb&&Ua(Kb),!1}if(Za.parent&&M.isRawStringDocumentLinkNode(Za.parent)){var Qb=Za.getText();return(va(Qb,"'")||va(Qb,'"'))&&Ua(Za),!1}return!0}),na},v.prototype.findDocumentSymbols=function(j,m){var M=[];return m.accept(function(na){var Ua={name:null,kind:mf.Class,location:null},Za=na;if(na instanceof sc)return Ua.name=na.getText(),(Za=na.findAParent(gb.Ruleset,gb.ExtendsReference))&&(Ua.location=yd.create(j.uri,Mb(Za,j)),M.push(Ua)),!1;if(na instanceof Ta)Ua.name=na.getName(),Ua.kind=mf.Variable;else if(na instanceof Ub)Ua.name=na.getName(),Ua.kind=mf.Method;else if(na instanceof Bc)Ua.name=na.getName(),Ua.kind=mf.Function;else if(na instanceof nb)Ua.name=ib("literal.keyframes","@keyframes {0}",na.getName());else if(na instanceof Ic)Ua.name=ib("literal.fontface","@font-face");else if(na instanceof ud){var Kb=na.getChild(0);Kb instanceof Dd&&(Ua.name="@media "+Kb.getText(),Ua.kind=mf.Module)}return Ua.name&&(Ua.location=yd.create(j.uri,Mb(Za,j)),M.push(Ua)),!0}),M},v.prototype.findDocumentColors=function(j,m){var M=[];return m.accept(function(na){var Ua=function(Za,Kb){var Qb=Ja(Za);if(Qb){var fc=Mb(Za,Kb);return{color:Qb,range:fc}}return null}(na,j);return Ua&&M.push(Ua),!0}),M},v.prototype.getColorPresentations=function(j,m,M,na){var Ua,Za=[],Kb=Math.round(255*M.red),Qb=Math.round(255*M.green),fc=Math.round(255*M.blue);Ua=1===M.alpha?"rgb("+Kb+", "+Qb+", "+fc+")":"rgba("+Kb+", "+Qb+", "+fc+", "+M.alpha+")",Za.push({label:Ua,textEdit:zd.replace(na,Ua)}),Ua=1===M.alpha?"#"+ac(Kb)+ac(Qb)+ac(fc):"#"+ac(Kb)+ac(Qb)+ac(fc)+ac(Math.round(255*M.alpha)),Za.push({label:Ua,textEdit:zd.replace(na,Ua)});var Ib=function(Lc){var id=Lc.red,pd=Lc.green,cd=Lc.blue,Hd=Lc.alpha,Md=Math.max(id,pd,cd),Nd=Math.min(id,pd,cd),Ad=0,ke=0,re=(Nd+Md)/2,ne=Md-Nd;if(ne>0){switch(ke=Math.min(re<=.5?ne/(2*re):ne/(2-2*re),1),Md){case id:Ad=(pd-cd)/ne+(pd<cd?6:0);break;case pd:Ad=(cd-id)/ne+2;break;case cd:Ad=(id-pd)/ne+4}Ad*=60,Ad=Math.round(Ad)}return{h:Ad,s:ke,l:re,a:Hd}}(M);return Ua=1===Ib.a?"hsl("+Ib.h+", "+Math.round(100*Ib.s)+"%, "+Math.round(100*Ib.l)+"%)":"hsla("+Ib.h+", "+Math.round(100*Ib.s)+"%, "+Math.round(100*Ib.l)+"%, "+Ib.a+")",Za.push({label:Ua,textEdit:zd.replace(na,Ua)}),Za},v.prototype.doRename=function(j,m,M,na){var Ua,Za=this.findDocumentHighlights(j,m,na).map(function(Kb){return zd.replace(Kb.range,M)});return{changes:(Ua={},Ua[j.uri]=Za,Ua)}},v.prototype.resolveRelativeReference=function(j,m,M){return Sa(this,void 0,void 0,function(){var na,Ua,Za,Kb,Qb;return bb(this,function(fc){switch(fc.label){case 0:return"~"===j[0]&&"/"!==j[1]&&this.fileSystemProvider?(j=j.substring(1),va(m,"file://")?(na=function(Ib){return"@"===Ib[0]?Ib.substring(0,Ib.indexOf("/",Ib.indexOf("/")+1)):Ib.substring(0,Ib.indexOf("/"))}(j),Ua=M.resolveReference("/",m),Za=Wf(m),[4,this.resolvePathToModule(na,Za,Ua)]):[3,2]):[3,3];case 1:if(Kb=fc.sent())return Qb=j.substring(na.length+1),[2,tg(Kb,Qb)];fc.label=2;case 2:case 3:return[2,M.resolveReference(j,m)]}})})},v.prototype.resolvePathToModule=function(j,m,M){return Sa(this,void 0,void 0,function(){var na;return bb(this,function(Ua){switch(Ua.label){case 0:return na=tg(m,"node_modules",j,"package.json"),[4,this.fileExists(na)];case 1:return Ua.sent()?[2,Wf(na)]:M&&m.startsWith(M)&&m.length!==M.length?[2,this.resolvePathToModule(j,Wf(m),M)]:[2,void 0]}})})},v.prototype.fileExists=function(j){return Sa(this,void 0,void 0,function(){var m;return bb(this,function(M){switch(M.label){case 0:if(!this.fileSystemProvider)return[2,!1];M.label=1;case 1:return M.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(j)];case 2:return(m=M.sent()).type===Lf.Unknown&&-1===m.size?[2,!1]:[2,!0];case 3:return M.sent(),[2,!1];case 4:return[2]}})})},v}();function Mb(v,j){return rd.create(j.positionAt(v.offset),j.positionAt(v.end))}function Gb(v){if(v.type===gb.Selector)return Jf.Write;if(v instanceof Ob&&v.parent&&v.parent instanceof Va&&v.isCustomProperty)return Jf.Write;if(v.parent)switch(v.parent.type){case gb.FunctionDeclaration:case gb.MixinDeclaration:case gb.Keyframe:case gb.VariableDeclaration:case gb.FunctionParameter:return Jf.Write}return Jf.Read}function ac(v){var j=v.toString(16);return 2!==j.length?"0"+j:j}var gc=jc(),Gc=wc.Warning,Qc=wc.Error,Jc=wc.Ignore,Wc=function(v,j,m){this.id=v,this.message=j,this.defaultValue=m},_c=function(v,j,m){this.id=v,this.message=j,this.defaultValue=m},Zc={AllVendorPrefixes:new Wc("compatibleVendorPrefixes",gc("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),Jc),IncludeStandardPropertyWhenUsingVendorPrefix:new Wc("vendorPrefix",gc("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),Gc),DuplicateDeclarations:new Wc("duplicateProperties",gc("rule.duplicateDeclarations","Do not use duplicate style definitions"),Jc),EmptyRuleSet:new Wc("emptyRules",gc("rule.emptyRuleSets","Do not use empty rulesets"),Gc),ImportStatemement:new Wc("importStatement",gc("rule.importDirective","Import statements do not load in parallel"),Jc),BewareOfBoxModelSize:new Wc("boxModel",gc("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),Jc),UniversalSelector:new Wc("universalSelector",gc("rule.universalSelector","The universal selector (*) is known to be slow"),Jc),ZeroWithUnit:new Wc("zeroUnits",gc("rule.zeroWidthUnit","No unit for zero needed"),Jc),RequiredPropertiesForFontFace:new Wc("fontFaceProperties",gc("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),Gc),HexColorLength:new Wc("hexColorLength",gc("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),Qc),ArgsInColorFunction:new Wc("argumentsInColorFunction",gc("rule.colorFunction","Invalid number of parameters"),Qc),UnknownProperty:new Wc("unknownProperties",gc("rule.unknownProperty","Unknown property."),Gc),UnknownAtRules:new Wc("unknownAtRules",gc("rule.unknownAtRules","Unknown at-rule."),Gc),IEStarHack:new Wc("ieHack",gc("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),Jc),UnknownVendorSpecificProperty:new Wc("unknownVendorSpecificProperties",gc("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),Jc),PropertyIgnoredDueToDisplay:new Wc("propertyIgnoredDueToDisplay",gc("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),Gc),AvoidImportant:new Wc("important",gc("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),Jc),AvoidFloat:new Wc("float",gc("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),Jc),AvoidIdSelector:new Wc("idSelector",gc("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),Jc)},bd={ValidProperties:new _c("validProperties",gc("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},Id=function(){function v(j){void 0===j&&(j={}),this.conf=j}return v.prototype.getRule=function(j){if(this.conf.hasOwnProperty(j.id)){var m=function(M){switch(M){case"ignore":return wc.Ignore;case"warning":return wc.Warning;case"error":return wc.Error}return null}(this.conf[j.id]);if(m)return m}return j.defaultValue},v.prototype.getSetting=function(j){return this.conf[j.id]},v}(),sd=jc(),Pd=function(){function v(j){this.cssDataManager=j}return v.prototype.doCodeActions=function(j,m,M,na){return this.doCodeActions2(j,m,M,na).map(function(Ua){var Za=Ua.edit&&Ua.edit.documentChanges&&Ua.edit.documentChanges[0];return je.create(Ua.title,"_css.applyCodeAction",j.uri,j.version,Za&&Za.edits)})},v.prototype.doCodeActions2=function(j,m,M,na){var Ua=[];if(M.diagnostics)for(var Za=0,Kb=M.diagnostics;Za<Kb.length;Za++){var Qb=Kb[Za];this.appendFixesForMarker(j,na,Qb,Ua)}return Ua},v.prototype.getFixesForUnknownProperty=function(j,m,M,na){var Ua=m.getName(),Za=[];this.cssDataManager.getProperties().forEach(function(Md){var Nd=function(Ad,ke,re){void 0===re&&(re=4);var ne=Math.abs(Ad.length-ke.length);if(ne>re)return 0;var we,se,He=[],pf=[];for(we=0;we<ke.length+1;++we)pf.push(0);for(we=0;we<Ad.length+1;++we)He.push(pf);for(we=1;we<Ad.length+1;++we)for(se=1;se<ke.length+1;++se)Ad[we-1]===ke[se-1]?He[we][se]=He[we-1][se-1]+1:He[we][se]=Math.max(He[we-1][se],He[we][se-1]);return He[Ad.length][ke.length]-Math.sqrt(ne)}(Ua,Md.name);Nd>=Ua.length/2&&Za.push({property:Md.name,score:Nd})}),Za.sort(function(Md,Nd){return Nd.score-Md.score||Md.property.localeCompare(Nd.property)});for(var Kb=3,Qb=0,fc=Za;Qb<fc.length;Qb++){var Ib=fc[Qb].property,Lc=sd("css.codeaction.rename","Rename to '{0}'",Ib),id=zd.replace(M.range,Ib),pd=qd.create(j.uri,j.version),cd={documentChanges:[ye.create(pd,[id])]},Hd=Kf.create(Lc,cd,Je.QuickFix);if(Hd.diagnostics=[M],na.push(Hd),--Kb<=0)return}},v.prototype.appendFixesForMarker=function(j,m,M,na){if(M.code===Zc.UnknownProperty.id)for(var Ua=j.offsetAt(M.range.start),Za=j.offsetAt(M.range.end),Kb=rb(m,Ua),Qb=Kb.length-1;Qb>=0;Qb--){var fc=Kb[Qb];if(fc instanceof qb){var Ib=fc.getProperty();if(Ib&&Ib.offset===Ua&&Ib.end===Za)return void this.getFixesForUnknownProperty(j,Ib,M,na)}}},v}(),be=function(v){this.fullPropertyName=v.getFullPropertyName().toLowerCase(),this.node=v};function me(v,j,m,M){var na=v[j];na.value=m,m&&(ld(na.properties,M)||na.properties.push(M))}function Td(v,j,m,M){"top"===j||"right"===j||"bottom"===j||"left"===j?me(v,j,m,M):function(na,Ua,Za){me(na,"top",Ua,Za),me(na,"right",Ua,Za),me(na,"bottom",Ua,Za),me(na,"left",Ua,Za)}(v,m,M)}function ze(v,j,m){switch(j.length){case 1:Td(v,void 0,j[0],m);break;case 2:Td(v,"top",j[0],m),Td(v,"bottom",j[0],m),Td(v,"right",j[1],m),Td(v,"left",j[1],m);break;case 3:Td(v,"top",j[0],m),Td(v,"right",j[1],m),Td(v,"left",j[1],m),Td(v,"bottom",j[2],m);break;case 4:Td(v,"top",j[0],m),Td(v,"right",j[1],m),Td(v,"bottom",j[2],m),Td(v,"left",j[3],m)}}function Re(v,j){for(var m=0,M=j;m<M.length;m++){var na=M[m];if(v.matches(na))return!0}return!1}function cf(v,j){return void 0===j&&(j=!0),(!j||!Re(v,["initial","unset"]))&&0!==parseFloat(v.getText())}function Ne(v,j){return void 0===j&&(j=!0),v.map(function(m){return cf(m,j)})}function Oe(v,j){return void 0===j&&(j=!0),!Re(v,["none","hidden"])&&(!j||!Re(v,["initial","unset"]))}function Ee(v,j){return void 0===j&&(j=!0),v.map(function(m){return Oe(m,j)})}function yf(v){var j=v.getChildren();if(1===j.length)return cf(na=j[0])&&Oe(na);for(var m=0,M=j;m<M.length;m++){var na;if(!cf(na=M[m],!1)||!Oe(na,!1))return!1}return!0}var Fe=jc(),Of=function(){function v(){this.data={}}return v.prototype.add=function(j,m,M){var na=this.data[j];na||(na={nodes:[],names:[]},this.data[j]=na),na.names.push(m),M&&na.nodes.push(M)},v}(),xg=function(){function v(j,m,M){var na=this;this.cssDataManager=M,this.warnings=[],this.settings=m,this.documentText=j.getText(),this.keyframes=new Of(),this.validProperties={};var Ua=m.getSetting(bd.ValidProperties);Array.isArray(Ua)&&Ua.forEach(function(Za){if("string"==typeof Za){var Kb=Za.trim().toLowerCase();Kb.length&&(na.validProperties[Kb]=!0)}})}return v.entries=function(j,m,M,na,Ua){var Za=new v(m,M,na);return j.acceptVisitor(Za),Za.completeValidations(),Za.getEntries(Ua)},v.prototype.isValidPropertyDeclaration=function(j){var m=j.fullPropertyName;return this.validProperties[m]},v.prototype.fetch=function(j,m){for(var M=[],na=0,Ua=j;na<Ua.length;na++){var Za=Ua[na];Za.fullPropertyName===m&&M.push(Za)}return M},v.prototype.fetchWithValue=function(j,m,M){for(var na=[],Ua=0,Za=j;Ua<Za.length;Ua++){var Kb=Za[Ua];if(Kb.fullPropertyName===m){var Qb=Kb.node.getValue();Qb&&this.findValueInExpression(Qb,M)&&na.push(Kb)}}return na},v.prototype.findValueInExpression=function(j,m){var M=!1;return j.accept(function(na){return na.type===gb.Identifier&&na.matches(m)&&(M=!0),!M}),M},v.prototype.getEntries=function(j){return void 0===j&&(j=wc.Warning|wc.Error),this.warnings.filter(function(m){return 0!=(m.getLevel()&j)})},v.prototype.addEntry=function(j,m,M){var na=new qa(j,m,this.settings.getRule(m),M);this.warnings.push(na)},v.prototype.getMissingNames=function(j,m){for(var M=j.slice(0),na=0;na<m.length;na++){var Ua=M.indexOf(m[na]);-1!==Ua&&(M[Ua]=null)}var Za=null;for(na=0;na<M.length;na++){var Kb=M[na];Kb&&(Za=null===Za?Fe("namelist.single","'{0}'",Kb):Fe("namelist.concatenated","{0}, '{1}'",Za,Kb))}return Za},v.prototype.visitNode=function(j){switch(j.type){case gb.UnknownAtRule:return this.visitUnknownAtRule(j);case gb.Keyframe:return this.visitKeyframe(j);case gb.FontFace:return this.visitFontFace(j);case gb.Ruleset:return this.visitRuleSet(j);case gb.SimpleSelector:return this.visitSimpleSelector(j);case gb.Function:return this.visitFunction(j);case gb.NumericValue:return this.visitNumericValue(j);case gb.Import:return this.visitImport(j);case gb.HexColorValue:return this.visitHexColorValue(j);case gb.Prio:return this.visitPrio(j)}return!0},v.prototype.completeValidations=function(){this.validateKeyframes()},v.prototype.visitUnknownAtRule=function(j){var m=j.getChild(0);return!!m&&(!this.cssDataManager.getAtDirective(m.getText())&&(this.addEntry(m,Zc.UnknownAtRules,"Unknown at rule "+m.getText()),!0))},v.prototype.visitKeyframe=function(j){var m=j.getKeyword();if(!m)return!1;var M=m.getText();return this.keyframes.add(j.getName(),M,"@keyframes"!==M?m:null),!0},v.prototype.validateKeyframes=function(){var j=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var m in this.keyframes.data){var M=this.keyframes.data[m].names,na=-1===M.indexOf("@keyframes");if(na||1!==M.length){var Ua=this.getMissingNames(j,M);if(Ua||na)for(var Za=0,Kb=this.keyframes.data[m].nodes;Za<Kb.length;Za++){var Qb=Kb[Za];if(na){var fc=Fe("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(Qb,Zc.IncludeStandardPropertyWhenUsingVendorPrefix,fc)}Ua&&(fc=Fe("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",Ua),this.addEntry(Qb,Zc.AllVendorPrefixes,fc))}}}return!0},v.prototype.visitSimpleSelector=function(j){var m=this.documentText.charAt(j.offset);return 1===j.length&&"*"===m&&this.addEntry(j,Zc.UniversalSelector),"#"===m&&this.addEntry(j,Zc.AvoidIdSelector),!0},v.prototype.visitImport=function(j){return this.addEntry(j,Zc.ImportStatemement),!0},v.prototype.visitRuleSet=function(j){var m=j.getDeclarations();if(!m)return!1;m.hasChildren()||this.addEntry(j.getSelectors(),Zc.EmptyRuleSet);for(var M=[],na=0,Ua=m.getChildren();na<Ua.length;na++)(se=Ua[na])instanceof qb&&M.push(new be(se));var Za=function(Uh){for(var qf={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},Le=0,vi=Uh;Le<vi.length;Le++){var Df=vi[Le],mg=Df.node.value;if(void 0!==mg)switch(Df.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":qf.width=Df;break;case"height":qf.height=Df;break;default:var Cg=Df.fullPropertyName.split("-");switch(Cg[0]){case"border":switch(Cg[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(Cg[2]){case void 0:Td(qf,Cg[1],yf(mg),Df);break;case"width":Td(qf,Cg[1],cf(mg,!1),Df);break;case"style":Td(qf,Cg[1],Oe(mg,!0),Df)}break;case"width":ze(qf,Ne(mg.getChildren(),!1),Df);break;case"style":ze(qf,Ee(mg.getChildren(),!0),Df)}break;case"padding":1===Cg.length?ze(qf,Ne(mg.getChildren(),!0),Df):Td(qf,Cg[1],cf(mg,!0),Df)}}}return qf}(M);if(Za.width){var Kb=[];if(Za.right.value&&(Kb=fd(Kb,Za.right.properties)),Za.left.value&&(Kb=fd(Kb,Za.left.properties)),0!==Kb.length){for(var Qb=0,fc=Kb;Qb<fc.length;Qb++){var Ib=fc[Qb];this.addEntry(Ib.node,Zc.BewareOfBoxModelSize)}this.addEntry(Za.width.node,Zc.BewareOfBoxModelSize)}}if(Za.height){Kb=[];if(Za.top.value&&(Kb=fd(Kb,Za.top.properties)),Za.bottom.value&&(Kb=fd(Kb,Za.bottom.properties)),0!==Kb.length){for(var Lc=0,id=Kb;Lc<id.length;Lc++)Ib=id[Lc],this.addEntry(Ib.node,Zc.BewareOfBoxModelSize);this.addEntry(Za.height.node,Zc.BewareOfBoxModelSize)}}var pd=this.fetchWithValue(M,"display","inline");if(pd.length>0)for(var cd=0,Hd=["width","height","margin-top","margin-bottom","float"];cd<Hd.length;cd++)for(var Md=Hd[cd],Nd=this.fetch(M,Md),Ad=0;Ad<Nd.length;Ad++){var ke=Nd[Ad].node,re=ke.getValue();("float"!==Md||re&&!re.matches("none"))&&this.addEntry(ke,Zc.PropertyIgnoredDueToDisplay,Fe("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((pd=this.fetchWithValue(M,"display","inline-block")).length>0)for(Nd=this.fetch(M,"float"),Ad=0;Ad<Nd.length;Ad++){var ne=Nd[Ad].node;(re=ne.getValue())&&!re.matches("none")&&this.addEntry(ne,Zc.PropertyIgnoredDueToDisplay,Fe("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((pd=this.fetchWithValue(M,"display","block")).length>0)for(Nd=this.fetch(M,"vertical-align"),Ad=0;Ad<Nd.length;Ad++)this.addEntry(Nd[Ad].node,Zc.PropertyIgnoredDueToDisplay,Fe("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var we=this.fetch(M,"float");for(Ad=0;Ad<we.length;Ad++){var se=we[Ad];this.isValidPropertyDeclaration(se)||this.addEntry(se.node,Zc.AvoidFloat)}for(var He=0;He<M.length;He++)if("background"!==(se=M[He]).fullPropertyName&&!this.validProperties[se.fullPropertyName]){if((re=se.node.getValue())&&"-"!==this.documentText.charAt(re.offset)){var pf=this.fetch(M,se.fullPropertyName);if(pf.length>1)for(var kg=0;kg<pf.length;kg++){var yh=pf[kg].node.getValue();yh&&"-"!==this.documentText.charAt(yh.offset)&&pf[kg]!==se&&this.addEntry(se.node,Zc.DuplicateDeclarations)}}}if(!j.getSelectors().matches(":export")){for(var lg=new Of(),Ye=!1,eh=0,Wi=M;eh<Wi.length;eh++){var Sg=(se=Wi[eh]).node;if(this.isCSSDeclaration(Sg)){var Cf=se.fullPropertyName,Qh=Cf.charAt(0);if("-"===Qh){if("-"!==Cf.charAt(1)){this.cssDataManager.isKnownProperty(Cf)||this.validProperties[Cf]||this.addEntry(Sg.getProperty(),Zc.UnknownVendorSpecificProperty);var zh=Sg.getNonPrefixedPropertyName();lg.add(zh,Cf,Sg.getProperty())}}else{var Ah=Cf;"*"!==Qh&&"_"!==Qh||(this.addEntry(Sg.getProperty(),Zc.IEStarHack),Cf=Cf.substr(1)),this.cssDataManager.isKnownProperty(Ah)||this.cssDataManager.isKnownProperty(Cf)||this.validProperties[Cf]||this.addEntry(Sg.getProperty(),Zc.UnknownProperty,Fe("property.unknownproperty.detailed","Unknown property: '{0}'",Sg.getFullPropertyName())),lg.add(Cf,Cf,null)}}else Ye=!0}if(!Ye)for(var fh in lg.data){var si=lg.data[fh],Bg=si.names,Bh=this.cssDataManager.isStandardProperty(fh)&&-1===Bg.indexOf(fh);if(Bh||1!==Bg.length){for(var Rh=[],Xi=(He=0,v.prefixes.length);He<Xi;He++){var ti=v.prefixes[He];this.cssDataManager.isStandardProperty(ti+fh)&&Rh.push(ti+fh)}var Sh=this.getMissingNames(Rh,Bg);if(Sh||Bh)for(var Ue=0,Th=si.nodes;Ue<Th.length;Ue++){var gh=Th[Ue];if(Bh){var ui=Fe("property.standard.missing","Also define the standard property '{0}' for compatibility",fh);this.addEntry(gh,Zc.IncludeStandardPropertyWhenUsingVendorPrefix,ui)}Sh&&(ui=Fe("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",Sh),this.addEntry(gh,Zc.AllVendorPrefixes,ui))}}}}return!0},v.prototype.visitPrio=function(j){return this.addEntry(j,Zc.AvoidImportant),!0},v.prototype.visitNumericValue=function(j){var m=j.findParent(gb.Function);if(m&&"calc"===m.getName())return!0;var M=j.findParent(gb.Declaration);if(M&&M.getValue()){var na=j.getValue();if(!na.unit||-1===cc.length.indexOf(na.unit.toLowerCase()))return!0;0===parseFloat(na.value)&&na.unit&&!this.validProperties[M.getFullPropertyName()]&&this.addEntry(j,Zc.ZeroWithUnit)}return!0},v.prototype.visitFontFace=function(j){var m=j.getDeclarations();if(!m)return!1;for(var M=!1,na=!1,Ua=!1,Za=0,Kb=m.getChildren();Za<Kb.length;Za++){var Qb=Kb[Za];if(this.isCSSDeclaration(Qb)){var fc=Qb.getProperty().getName().toLowerCase();"src"===fc&&(M=!0),"font-family"===fc&&(na=!0)}else Ua=!0}return Ua||M&&na||this.addEntry(j,Zc.RequiredPropertiesForFontFace),!0},v.prototype.isCSSDeclaration=function(j){if(j instanceof qb){if(!j.getValue())return!1;var m=j.getProperty();if(!m)return!1;var M=m.getIdentifier();return!(!M||M.containsInterpolation())}return!1},v.prototype.visitHexColorValue=function(j){var m=j.length;return 9!==m&&7!==m&&5!==m&&4!==m&&this.addEntry(j,Zc.HexColorLength),!1},v.prototype.visitFunction=function(j){var m=j.getName().toLowerCase(),M=-1,na=0;switch(m){case"rgb(":case"hsl(":M=3;break;case"rgba(":case"hsla(":M=4}return-1!==M&&(j.getArguments().accept(function(Ua){return!(Ua instanceof jd)||(na+=1,!1)}),na!==M&&this.addEntry(j,Zc.ArgsInColorFunction)),!0},v.prefixes=["-ms-","-moz-","-o-","-webkit-"],v}(),_g=function(){function v(j){this.cssDataManager=j}return v.prototype.configure=function(j){this.settings=j},v.prototype.doValidation=function(j,m,M){if(void 0===M&&(M=this.settings),M&&!1===M.validate)return[];var na=[];na.push.apply(na,mb.entries(m)),na.push.apply(na,xg.entries(m,j,new Id(M&&M.lint),this.cssDataManager));var Ua=[];for(var Za in Zc)Ua.push(Zc[Za].id);return na.filter(function(Kb){return Kb.getLevel()!==wc.Ignore}).map(function(Kb){var Qb=rd.create(j.positionAt(Kb.getOffset()),j.positionAt(Kb.getOffset()+Kb.getLength())),fc=j.languageId;return{code:Kb.getRule().id,source:fc,message:Kb.getMessage(),severity:Kb.getLevel()===wc.Warning?pe.Warning:pe.Error,range:Qb}})},v}(),$g=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),ji="/".charCodeAt(0),Oi=` -`.charCodeAt(0),zf="\r".charCodeAt(0),yg="\f".charCodeAt(0),Gh="$".charCodeAt(0),hf="#".charCodeAt(0),sh="{".charCodeAt(0),ig="=".charCodeAt(0),Pi="!".charCodeAt(0),th="<".charCodeAt(0),Pf=">".charCodeAt(0),ki=".".charCodeAt(0),Af=("@".charCodeAt(0),l.CustomToken),li=Af++,ee=Af++,Zd=(Af++,Af++),ah=Af++,Qi=Af++,Ri=Af++,jg=Af++,Hh=(Af++,function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return $g(j,v),j.prototype.scanNext=function(m){if(this.stream.advanceIfChar(Gh)){var M=["$"];if(this.ident(M))return this.finishToken(m,li,M.join(""));this.stream.goBackTo(m)}return this.stream.advanceIfChars([hf,sh])?this.finishToken(m,ee):this.stream.advanceIfChars([ig,ig])?this.finishToken(m,Zd):this.stream.advanceIfChars([Pi,ig])?this.finishToken(m,ah):this.stream.advanceIfChar(th)?this.stream.advanceIfChar(ig)?this.finishToken(m,Ri):this.finishToken(m,l.Delim):this.stream.advanceIfChar(Pf)?this.stream.advanceIfChar(ig)?this.finishToken(m,Qi):this.finishToken(m,l.Delim):this.stream.advanceIfChars([ki,ki,ki])?this.finishToken(m,jg):v.prototype.scanNext.call(this,m)},j.prototype.comment=function(){return!!v.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([ji,ji]))&&(this.stream.advanceWhileChar(function(m){switch(m){case Oi:case zf:case yg:return!1;default:return!0}}),!0)},j}(ka)),uh=jc(),vh=function(v,j){this.id=v,this.message=j},bh={FromExpected:new vh("scss-fromexpected",uh("expected.from","'from' expected")),ThroughOrToExpected:new vh("scss-throughexpected",uh("expected.through","'through' or 'to' expected")),InExpected:new vh("scss-fromexpected",uh("expected.in","'in' expected"))},mi=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Bf=function(v){function j(){return v.call(this,new Hh())||this}return mi(j,v),j.prototype._parseStylesheetStatement=function(m){return void 0===m&&(m=!1),this.peek(l.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(m)||v.prototype._parseStylesheetAtStatement.call(this,m):this._parseRuleset(!0)||this._parseVariableDeclaration()},j.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var m=this.create(dc);if(this.consumeToken(),!m.addChild(this._parseURILiteral())&&!m.addChild(this._parseStringLiteral()))return this.finish(m,fa.URIOrStringExpected);for(;this.accept(l.Comma);)if(!m.addChild(this._parseURILiteral())&&!m.addChild(this._parseStringLiteral()))return this.finish(m,fa.URIOrStringExpected);return this.peek(l.SemiColon)||this.peek(l.EOF)||m.setMedialist(this._parseMediaQueryList()),this.finish(m)},j.prototype._parseVariableDeclaration=function(m){if(void 0===m&&(m=[]),!this.peek(li))return null;var M=this.create(Ta);if(!M.setVariable(this._parseVariable()))return null;if(!this.accept(l.Colon))return this.finish(M,fa.ColonExpected);if(this.prevToken&&(M.colonPosition=this.prevToken.offset),!M.setValue(this._parseExpr()))return this.finish(M,fa.VariableValueExpected,[],m);for(;this.peek(l.Exclamation);)if(!M.addChild(this._tryParsePrio())){if(this.consumeToken(),!this.peekRegExp(l.Ident,/^(default|global)$/))return this.finish(M,fa.UnknownKeyword);this.consumeToken()}return this.peek(l.SemiColon)&&(M.semicolonPosition=this.token.offset),this.finish(M)},j.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},j.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},j.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},j.prototype._parseVariable=function(){if(!this.peek(li))return null;var m=this.create(yb);return this.consumeToken(),m},j.prototype._parseModuleMember=function(){var m=this.mark(),M=this.create(xa);return M.setIdentifier(this._parseIdent([Fb.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(m),null):M.addChild(this._parseVariable()||this._parseFunction())?M:this.finish(M,fa.IdentifierOrVariableExpected):null},j.prototype._parseIdent=function(m){var M=this;if(!this.peek(l.Ident)&&!this.peek(ee)&&!this.peekDelim("-"))return null;var na=this.create(Ob);na.referenceTypes=m,na.isCustomProperty=this.peekRegExp(l.Ident,/^--/);for(var Ua,Za=!1;(this.accept(l.Ident)||na.addChild((Ua=void 0,Ua=M.mark(),M.acceptDelim("-")&&(M.hasWhitespace()||M.acceptDelim("-"),M.hasWhitespace())?(M.restoreAtMark(Ua),null):M._parseInterpolation()))||Za&&this.acceptRegexp(/[\w-]/))&&(Za=!0,!this.hasWhitespace()););return Za?this.finish(na):null},j.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||v.prototype._parseTermExpression.call(this)},j.prototype._parseInterpolation=function(){if(this.peek(ee)){var m=this.create(db);return this.consumeToken(),m.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(l.CurlyR)?this.finish(m):this.finish(m,fa.RightCurlyExpected):this.accept(l.CurlyR)?this.finish(m):this.finish(m,fa.ExpressionExpected)}return null},j.prototype._parseOperator=function(){if(this.peek(Zd)||this.peek(ah)||this.peek(Qi)||this.peek(Ri)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var m=this.createNode(gb.Operator);return this.consumeToken(),this.finish(m)}return v.prototype._parseOperator.call(this)},j.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var m=this.create(vc);return this.consumeToken(),this.finish(m)}return v.prototype._parseUnaryOperator.call(this)},j.prototype._parseRuleSetDeclaration=function(){return this.peek(l.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||v.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||v.prototype._parseRuleSetDeclaration.call(this)},j.prototype._parseDeclaration=function(m){var M=this.create(qb);if(!M.setProperty(this._parseProperty()))return null;if(!this.accept(l.Colon))return this.finish(M,fa.ColonExpected,[l.Colon],m);this.prevToken&&(M.colonPosition=this.prevToken.offset);var na=!1;if(M.setValue(this._parseExpr())&&(na=!0,M.addChild(this._parsePrio())),this.peek(l.CurlyL))M.setNestedProperties(this._parseNestedProperties());else if(!na)return this.finish(M,fa.PropertyValueExpected);return this.peek(l.SemiColon)&&(M.semicolonPosition=this.token.offset),this.finish(M)},j.prototype._parseNestedProperties=function(){var m=this.create(xc);return this._parseBody(m,this._parseDeclaration.bind(this))},j.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var m=this.create(Bb);if(this.consumeToken(),!m.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(m,fa.SelectorExpected);for(;this.accept(l.Comma);)m.getSelectors().addChild(this._parseSimpleSelector());return this.accept(l.Exclamation)&&!this.acceptIdent("optional")?this.finish(m,fa.UnknownKeyword):this.finish(m)}return null},j.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||v.prototype._parseSimpleSelectorBody.call(this)},j.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var m=this.createNode(gb.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(l.Num)||this.accept(l.Dimension)||m.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(m)}return null},j.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var m=this.createNode(gb.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(m)}return this.peekKeyword("@at-root")?(m=this.createNode(gb.SelectorPlaceholder),this.consumeToken(),this.finish(m)):null},j.prototype._parseElementName=function(){var m=this.mark(),M=v.prototype._parseElementName.call(this);return M&&!this.hasWhitespace()&&this.peek(l.ParenthesisL)?(this.restoreAtMark(m),null):M},j.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||v.prototype._tryParsePseudoIdentifier.call(this)},j.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var m=this.createNode(gb.Debug);return this.consumeToken(),m.addChild(this._parseExpr()),this.finish(m)},j.prototype._parseControlStatement=function(m){return void 0===m&&(m=this._parseRuleSetDeclaration.bind(this)),this.peek(l.AtKeyword)?this._parseIfStatement(m)||this._parseForStatement(m)||this._parseEachStatement(m)||this._parseWhileStatement(m):null},j.prototype._parseIfStatement=function(m){return this.peekKeyword("@if")?this._internalParseIfStatement(m):null},j.prototype._internalParseIfStatement=function(m){var M=this.create(tb);if(this.consumeToken(),!M.setExpression(this._parseExpr(!0)))return this.finish(M,fa.ExpressionExpected);if(this._parseBody(M,m),this.acceptKeyword("@else")){if(this.peekIdent("if"))M.setElseClause(this._internalParseIfStatement(m));else if(this.peek(l.CurlyL)){var na=this.create(Hc);this._parseBody(na,m),M.setElseClause(na)}}return this.finish(M)},j.prototype._parseForStatement=function(m){if(!this.peekKeyword("@for"))return null;var M=this.create(oc);return this.consumeToken(),M.setVariable(this._parseVariable())?this.acceptIdent("from")?M.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?M.addChild(this._parseBinaryExpr())?this._parseBody(M,m):this.finish(M,fa.ExpressionExpected,[l.CurlyR]):this.finish(M,bh.ThroughOrToExpected,[l.CurlyR]):this.finish(M,fa.ExpressionExpected,[l.CurlyR]):this.finish(M,bh.FromExpected,[l.CurlyR]):this.finish(M,fa.VariableNameExpected,[l.CurlyR])},j.prototype._parseEachStatement=function(m){if(!this.peekKeyword("@each"))return null;var M=this.create(ec);this.consumeToken();var na=M.getVariables();if(!na.addChild(this._parseVariable()))return this.finish(M,fa.VariableNameExpected,[l.CurlyR]);for(;this.accept(l.Comma);)if(!na.addChild(this._parseVariable()))return this.finish(M,fa.VariableNameExpected,[l.CurlyR]);return this.finish(na),this.acceptIdent("in")?M.addChild(this._parseExpr())?this._parseBody(M,m):this.finish(M,fa.ExpressionExpected,[l.CurlyR]):this.finish(M,bh.InExpected,[l.CurlyR])},j.prototype._parseWhileStatement=function(m){if(!this.peekKeyword("@while"))return null;var M=this.create($b);return this.consumeToken(),M.addChild(this._parseBinaryExpr())?this._parseBody(M,m):this.finish(M,fa.ExpressionExpected,[l.CurlyR])},j.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},j.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var m=this.create(Bc);if(this.consumeToken(),!m.setIdentifier(this._parseIdent([Fb.Function])))return this.finish(m,fa.IdentifierExpected,[l.CurlyR]);if(!this.accept(l.ParenthesisL))return this.finish(m,fa.LeftParenthesisExpected,[l.CurlyR]);if(m.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)if(!m.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(m,fa.VariableNameExpected)}return this.accept(l.ParenthesisR)?this._parseBody(m,this._parseFunctionBodyDeclaration.bind(this)):this.finish(m,fa.RightParenthesisExpected,[l.CurlyR])},j.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var m=this.createNode(gb.ReturnStatement);return this.consumeToken(),m.addChild(this._parseExpr())?this.finish(m):this.finish(m,fa.ExpressionExpected)},j.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var m=this.create(Ub);if(this.consumeToken(),!m.setIdentifier(this._parseIdent([Fb.Mixin])))return this.finish(m,fa.IdentifierExpected,[l.CurlyR]);if(this.accept(l.ParenthesisL)){if(m.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)if(!m.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(m,fa.VariableNameExpected)}if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected,[l.CurlyR])}return this._parseBody(m,this._parseRuleSetDeclaration.bind(this))},j.prototype._parseParameterDeclaration=function(){var m=this.create(Qa);return m.setIdentifier(this._parseVariable())?(this.accept(jg),this.accept(l.Colon)&&!m.setDefaultValue(this._parseExpr(!0))?this.finish(m,fa.VariableValueExpected,[],[l.Comma,l.ParenthesisR]):this.finish(m)):null},j.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var m=this.create(Jb);if(this.consumeToken(),this.accept(l.ParenthesisL)){if(m.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)if(!m.getArguments().addChild(this._parseFunctionArgument()))return this.finish(m,fa.ExpressionExpected)}if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected)}return this.finish(m)},j.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var m=this.create(Lb);this.consumeToken();var M=this._parseIdent([Fb.Mixin]);if(!m.setIdentifier(M))return this.finish(m,fa.IdentifierExpected,[l.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var na=this._parseIdent([Fb.Mixin]);if(!na)return this.finish(m,fa.IdentifierExpected,[l.CurlyR]);var Ua=this.create(xa);M.referenceTypes=[Fb.Module],Ua.setIdentifier(M),m.setIdentifier(na),m.addChild(Ua)}if(this.accept(l.ParenthesisL)){if(m.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)if(!m.getArguments().addChild(this._parseFunctionArgument()))return this.finish(m,fa.ExpressionExpected)}if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(l.CurlyL))&&m.setContent(this._parseMixinContentDeclaration()),this.finish(m)},j.prototype._parseMixinContentDeclaration=function(){var m=this.create(xb);if(this.acceptIdent("using")){if(!this.accept(l.ParenthesisL))return this.finish(m,fa.LeftParenthesisExpected,[l.CurlyL]);if(m.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)if(!m.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(m,fa.VariableNameExpected)}if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected,[l.CurlyL])}return this.peek(l.CurlyL)&&this._parseBody(m,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(m)},j.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},j.prototype._parseFunctionArgument=function(){var m=this.create(kb),M=this.mark(),na=this._parseVariable();if(na)if(this.accept(l.Colon))m.setIdentifier(na);else{if(this.accept(jg))return m.setValue(na),this.finish(m);this.restoreAtMark(M)}return m.setValue(this._parseExpr(!0))?(this.accept(jg),m.addChild(this._parsePrio()),this.finish(m)):m.setValue(this._tryParsePrio())?this.finish(m):null},j.prototype._parseURLArgument=function(){var m=this.mark(),M=v.prototype._parseURLArgument.call(this);if(!M||!this.peek(l.ParenthesisR)){this.restoreAtMark(m);var na=this.create(vc);return na.addChild(this._parseBinaryExpr()),this.finish(na)}return M},j.prototype._parseOperation=function(){if(!this.peek(l.ParenthesisL))return null;var m=this.create(vc);for(this.consumeToken();m.addChild(this._parseListElement());)this.accept(l.Comma);return this.accept(l.ParenthesisR)?this.finish(m):this.finish(m,fa.RightParenthesisExpected)},j.prototype._parseListElement=function(){var m=this.create(yc),M=this._parseBinaryExpr();if(!M)return null;if(this.accept(l.Colon)){if(m.setKey(M),!m.setValue(this._parseBinaryExpr()))return this.finish(m,fa.ExpressionExpected)}else m.setValue(M);return this.finish(m)},j.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var m=this.create(Dc);if(this.consumeToken(),!m.addChild(this._parseStringLiteral()))return this.finish(m,fa.StringLiteralExpected);if(!this.peek(l.SemiColon)&&!this.peek(l.EOF)){if(!this.peekRegExp(l.Ident,/as|with/))return this.finish(m,fa.UnknownKeyword);if(this.acceptIdent("as")&&!m.setIdentifier(this._parseIdent([Fb.Module]))&&!this.acceptDelim("*"))return this.finish(m,fa.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(l.ParenthesisL))return this.finish(m,fa.LeftParenthesisExpected,[l.ParenthesisR]);if(!m.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(m,fa.VariableNameExpected);for(;this.accept(l.Comma)&&!this.peek(l.ParenthesisR);)if(!m.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(m,fa.VariableNameExpected);if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected)}}return this.accept(l.SemiColon)||this.accept(l.EOF)?this.finish(m):this.finish(m,fa.SemiColonExpected)},j.prototype._parseModuleConfigDeclaration=function(){var m=this.create(Pc);return m.setIdentifier(this._parseVariable())?this.accept(l.Colon)&&m.setValue(this._parseExpr(!0))?this.finish(m):this.finish(m,fa.VariableValueExpected,[],[l.Comma,l.ParenthesisR]):null},j.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var m=this.create(Nc);if(this.consumeToken(),!m.addChild(this._parseStringLiteral()))return this.finish(m,fa.StringLiteralExpected);if(!this.peek(l.SemiColon)&&!this.peek(l.EOF)){if(!this.peekRegExp(l.Ident,/as|hide|show/))return this.finish(m,fa.UnknownKeyword);if(this.acceptIdent("as")){var M=this._parseIdent([Fb.Forward]);if(!m.setIdentifier(M))return this.finish(m,fa.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(m,fa.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!m.addChild(this._parseForwardVisibility()))return this.finish(m,fa.IdentifierOrVariableExpected)}return this.accept(l.SemiColon)||this.accept(l.EOF)?this.finish(m):this.finish(m,fa.SemiColonExpected)},j.prototype._parseForwardVisibility=function(){var m=this.create(Ed);for(m.setIdentifier(this._parseIdent());m.addChild(this._parseVariable()||this._parseIdent()););return m.getChildren().length>1?m:null},j.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||v.prototype._parseSupportsCondition.call(this)},j}(hd),Si=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Xc=jc(),ni=function(v){function j(m,M){var na=v.call(this,"$",m,M)||this;return Ti(j.scssModuleLoaders),Ti(j.scssModuleBuiltIns),na}return Si(j,v),j.prototype.isImportPathParent=function(m){return m===gb.Forward||m===gb.Use||v.prototype.isImportPathParent.call(this,m)},j.prototype.getCompletionForImportPath=function(m,M){var na=m.getParent().type;if(na===gb.Forward||na===gb.Use)for(var Ua=0,Za=j.scssModuleBuiltIns;Ua<Za.length;Ua++){var Kb=Za[Ua],Qb={label:Kb.label,documentation:Kb.documentation,textEdit:zd.replace(this.getCompletionRange(m),"'"+Kb.label+"'"),kind:Kd.Module};M.items.push(Qb)}return v.prototype.getCompletionForImportPath.call(this,m,M)},j.prototype.createReplaceFunction=function(){var m=1;return function(M,na){return"\\"+na+": ${"+m+++":"+(j.variableDefaults[na]||"")+"}"}},j.prototype.createFunctionProposals=function(m,M,na,Ua){for(var Za=0,Kb=m;Za<Kb.length;Za++){var Qb=Kb[Za],fc=Qb.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),Ib={label:Qb.func.substr(0,Qb.func.indexOf("(")),detail:Qb.func,documentation:Qb.desc,textEdit:zd.replace(this.getCompletionRange(M),fc),insertTextFormat:Yd.Snippet,kind:Kd.Function};na&&(Ib.sortText="z"),Ua.items.push(Ib)}return Ua},j.prototype.getCompletionsForSelector=function(m,M,na){return this.createFunctionProposals(j.selectorFuncs,null,!0,na),v.prototype.getCompletionsForSelector.call(this,m,M,na)},j.prototype.getTermProposals=function(m,M,na){var Ua=j.builtInFuncs;return m&&(Ua=Ua.filter(function(Za){return!Za.type||!m.restrictions||-1!==m.restrictions.indexOf(Za.type)})),this.createFunctionProposals(Ua,M,!0,na),v.prototype.getTermProposals.call(this,m,M,na)},j.prototype.getColorProposals=function(m,M,na){return this.createFunctionProposals(j.colorProposals,M,!1,na),v.prototype.getColorProposals.call(this,m,M,na)},j.prototype.getCompletionsForDeclarationProperty=function(m,M){return this.getCompletionForAtDirectives(M),this.getCompletionsForSelector(null,!0,M),v.prototype.getCompletionsForDeclarationProperty.call(this,m,M)},j.prototype.getCompletionsForExtendsReference=function(m,M,na){for(var Ua=0,Za=this.getSymbolContext().findSymbolsAtOffset(this.offset,Fb.Rule);Ua<Za.length;Ua++){var Kb=Za[Ua],Qb={label:Kb.name,textEdit:zd.replace(this.getCompletionRange(M),Kb.name),kind:Kd.Function};na.items.push(Qb)}return na},j.prototype.getCompletionForAtDirectives=function(m){var M;return(M=m.items).push.apply(M,j.scssAtDirectives),m},j.prototype.getCompletionForTopLevel=function(m){return this.getCompletionForAtDirectives(m),this.getCompletionForModuleLoaders(m),v.prototype.getCompletionForTopLevel.call(this,m),m},j.prototype.getCompletionForModuleLoaders=function(m){var M;return(M=m.items).push.apply(M,j.scssModuleLoaders),m},j.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},j.colorProposals=[{func:"red($color)",desc:Xc("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:Xc("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:Xc("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:Xc("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:Xc("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:Xc("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:Xc("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:Xc("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:Xc("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:Xc("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:Xc("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:Xc("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:Xc("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:Xc("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:Xc("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:Xc("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:Xc("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:Xc("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:Xc("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:Xc("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:Xc("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Xc("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:Xc("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Xc("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:Xc("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],j.selectorFuncs=[{func:"selector-nest($selectors…)",desc:Xc("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:Xc("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:Xc("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:Xc("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:Xc("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:Xc("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:Xc("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:Xc("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],j.builtInFuncs=[{func:"unquote($string)",desc:Xc("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:Xc("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:Xc("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:Xc("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:Xc("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:Xc("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:Xc("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:Xc("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:Xc("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:Xc("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:Xc("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:Xc("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:Xc("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:Xc("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:Xc("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:Xc("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:Xc("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:Xc("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:Xc("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:Xc("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:Xc("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:Xc("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:Xc("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:Xc("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:Xc("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:Xc("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:Xc("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:Xc("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:Xc("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:Xc("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:Xc("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:Xc("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:Xc("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:Xc("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:Xc("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:Xc("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:Xc("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:Xc("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:Xc("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:Xc("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:Xc("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:Xc("scss.builtin.call","Dynamically calls a Sass function.")}],j.scssAtDirectives=[{label:"@extend",documentation:Xc("scss.builtin.@extend","Inherits the styles of another selector."),kind:Kd.Keyword},{label:"@at-root",documentation:Xc("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:Kd.Keyword},{label:"@debug",documentation:Xc("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:Kd.Keyword},{label:"@warn",documentation:Xc("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:Kd.Keyword},{label:"@error",documentation:Xc("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:Kd.Keyword},{label:"@if",documentation:Xc("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:`@if \${1:expr} { +`,c+=x.references.map(function(F){return"["+F.name+"]("+F.url+")"}).join(" | ")),c}function Jt(x){return x===void 0&&(x=[]),x.length===0?null:x.map(function(c){var p="",F=c.match(/([A-Z]+)(\d+)?/),pe=F[1],He=F[2];return pe in ue&&(p+=ue[pe]),He&&(p+=" "+He),p}).join(", ")}var xi=Gt(),Ei=[{func:"rgb($red, $green, $blue)",desc:xi("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:xi("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:xi("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:xi("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],ai={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},fi={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function ui(x,c){var p=x.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(p){p[2]&&(c=100);var F=parseFloat(p[1])/c;if(F>=0&&F<=1)return F}throw new Error}function Te(x){var c=x.getName();return!!c&&/^(rgb|rgba|hsl|hsla)$/gi.test(c)}function Ee(x){return x<48?0:x<=57?x-48:(x<97&&(x+=32),x>=97&&x<=102?x-97+10:0)}function ve(x){if(x[0]!=="#")return null;switch(x.length){case 4:return{red:17*Ee(x.charCodeAt(1))/255,green:17*Ee(x.charCodeAt(2))/255,blue:17*Ee(x.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ee(x.charCodeAt(1))/255,green:17*Ee(x.charCodeAt(2))/255,blue:17*Ee(x.charCodeAt(3))/255,alpha:17*Ee(x.charCodeAt(4))/255};case 7:return{red:(16*Ee(x.charCodeAt(1))+Ee(x.charCodeAt(2)))/255,green:(16*Ee(x.charCodeAt(3))+Ee(x.charCodeAt(4)))/255,blue:(16*Ee(x.charCodeAt(5))+Ee(x.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ee(x.charCodeAt(1))+Ee(x.charCodeAt(2)))/255,green:(16*Ee(x.charCodeAt(3))+Ee(x.charCodeAt(4)))/255,blue:(16*Ee(x.charCodeAt(5))+Ee(x.charCodeAt(6)))/255,alpha:(16*Ee(x.charCodeAt(7))+Ee(x.charCodeAt(8)))/255}}return null}function Re(x){if(x.type===it.HexColorValue)return ve(x.getText());if(x.type===it.Function){var c=x,p=c.getName(),F=c.getArguments().getChildren();if(!p||F.length<3||F.length>4)return null;try{var pe=F.length===4?ui(F[3],1):1;if(p==="rgb"||p==="rgba")return{red:ui(F[0],255),green:ui(F[1],255),blue:ui(F[2],255),alpha:pe};if(p==="hsl"||p==="hsla")return function(ci,Ft,Fi,cn){if(cn===void 0&&(cn=1),Ft===0)return{red:Fi,green:Fi,blue:Fi,alpha:cn};var vn=function(jn,Vn,Ln){for(;Ln<0;)Ln+=6;for(;Ln>=6;)Ln-=6;return Ln<1?(Vn-jn)*Ln+jn:Ln<3?Vn:Ln<4?(Vn-jn)*(4-Ln)+jn:jn},rn=Fi<=.5?Fi*(Ft+1):Fi+Ft-Fi*Ft,Pn=2*Fi-rn;return{red:vn(Pn,rn,(ci/=60)+2),green:vn(Pn,rn,ci),blue:vn(Pn,rn,ci-2),alpha:cn}}(function(ci){var Ft=ci.getText();if(Ft.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(Ft)%360;throw new Error}(F[0]),ui(F[1],100),ui(F[2],100),pe)}catch(ci){return null}}else if(x.type===it.Identifier){if(x.parent&&x.parent.type!==it.Term)return null;var He=x.parent;if(He&&He.parent&&He.parent.type===it.BinaryExpression){var Qe=He.parent;if(Qe.parent&&Qe.parent.type===it.ListEntry&&Qe.parent.key===Qe)return null}var Vt=x.getText().toLowerCase();if(Vt==="none")return null;var $t=ai[Vt];if($t)return ve($t)}return null}var We={bottom:"Computes to \u2018100%\u2019 for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to \u201850%\u2019 (\u2018left 50%\u2019) for the horizontal position if the horizontal position is not otherwise specified, or \u201850%\u2019 (\u2018top 50%\u2019) for the vertical position if it is.",left:"Computes to \u20180%\u2019 for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to \u2018100%\u2019 for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to \u20180%\u2019 for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},Be={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to \u2018repeat no-repeat\u2019.","repeat-y":"Computes to \u2018no-repeat repeat\u2019.",round:"Repeated as often as will fit within the background positioning area. If it doesn\u2019t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},Le={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as \u2018none\u2019, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Ke=["medium","thick","thin"],dt={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},yt={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},xt={initial:"Represents the value specified as the property\u2019s initial value.",inherit:"Represents the computed value of the property on the element\u2019s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Xt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\u2019s position and the first specified color-stop\u2019s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop\u2019s position and the first specified color-stop\u2019s position."},mi={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value \u201Cstart\u201D or \u201Cend\u201D.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Yt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},ri={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},qi=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],an=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],_n=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function ei(x){return Object.keys(x).map(function(c){return x[c]})}function ii(x){return x!==void 0}var bi=function(){for(var x=0,c=0,p=arguments.length;c<p;c++)x+=arguments[c].length;var F=Array(x),pe=0;for(c=0;c<p;c++)for(var He=arguments[c],Qe=0,Vt=He.length;Qe<Vt;Qe++,pe++)F[pe]=He[Qe];return F},ln=function(){function x(c){c===void 0&&(c=new ee),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=c,this.token={type:h.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return x.prototype.peekIdent=function(c){return h.Ident===this.token.type&&c.length===this.token.text.length&&c===this.token.text.toLowerCase()},x.prototype.peekKeyword=function(c){return h.AtKeyword===this.token.type&&c.length===this.token.text.length&&c===this.token.text.toLowerCase()},x.prototype.peekDelim=function(c){return h.Delim===this.token.type&&c===this.token.text},x.prototype.peek=function(c){return c===this.token.type},x.prototype.peekRegExp=function(c,p){return c===this.token.type&&p.test(this.token.text)},x.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},x.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},x.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},x.prototype.restoreAtMark=function(c){this.prevToken=c.prev,this.token=c.curr,this.scanner.goBackTo(c.pos)},x.prototype.try=function(c){var p=this.mark(),F=c();return F||(this.restoreAtMark(p),null)},x.prototype.acceptOneKeyword=function(c){if(h.AtKeyword===this.token.type)for(var p=0,F=c;p<F.length;p++){var pe=F[p];if(pe.length===this.token.text.length&&pe===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},x.prototype.accept=function(c){return c===this.token.type&&(this.consumeToken(),!0)},x.prototype.acceptIdent=function(c){return!!this.peekIdent(c)&&(this.consumeToken(),!0)},x.prototype.acceptKeyword=function(c){return!!this.peekKeyword(c)&&(this.consumeToken(),!0)},x.prototype.acceptDelim=function(c){return!!this.peekDelim(c)&&(this.consumeToken(),!0)},x.prototype.acceptRegexp=function(c){return!!c.test(this.token.text)&&(this.consumeToken(),!0)},x.prototype._parseRegexp=function(c){var p=this.createNode(it.Identifier);do;while(this.acceptRegexp(c));return this.finish(p)},x.prototype.acceptUnquotedString=function(){var c=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var p=this.scanner.scanUnquotedString();return p?(this.token=p,this.consumeToken(),!0):(this.scanner.goBackTo(c),!1)},x.prototype.resync=function(c,p){for(;;){if(c&&c.indexOf(this.token.type)!==-1)return this.consumeToken(),!0;if(p&&p.indexOf(this.token.type)!==-1)return!0;if(this.token.type===h.EOF)return!1;this.token=this.scanner.scan()}},x.prototype.createNode=function(c){return new pi(this.token.offset,this.token.len,c)},x.prototype.create=function(c){return new c(this.token.offset,this.token.len)},x.prototype.finish=function(c,p,F,pe){if(!(c instanceof et)&&(p&&this.markError(c,p,F,pe),this.prevToken)){var He=this.prevToken.offset+this.prevToken.len;c.length=He>c.offset?He-c.offset:0}return c},x.prototype.markError=function(c,p,F,pe){this.token!==this.lastErrorToken&&(c.addIssue(new ae(c,p,Ni.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(F||pe)&&this.resync(F,pe)},x.prototype.parseStylesheet=function(c){var p=c.version,F=c.getText();return this.internalParse(F,this._parseStylesheet,function(pe,He){if(c.version!==p)throw new Error("Underlying model has changed, AST is no longer valid");return F.substr(pe,He)})},x.prototype.internalParse=function(c,p,F){this.scanner.setSource(c),this.token=this.scanner.scan();var pe=p.bind(this)();return pe&&(pe.textProvider=F||function(He,Qe){return c.substr(He,Qe)}),pe},x.prototype._parseStylesheet=function(){for(var c=this.create(Li);c.addChild(this._parseStylesheetStart()););var p=!1;do{var F=!1;do{F=!1;var pe=this._parseStylesheetStatement();for(pe&&(c.addChild(pe),F=!0,p=!1,this.peek(h.EOF)||!this._needsSemicolonAfter(pe)||this.accept(h.SemiColon)||this.markError(c,le.SemiColonExpected));this.accept(h.SemiColon)||this.accept(h.CDO)||this.accept(h.CDC);)F=!0,p=!1}while(F);if(this.peek(h.EOF))break;p||(this.peek(h.AtKeyword)?this.markError(c,le.UnknownAtRule):this.markError(c,le.RuleOrSelectorExpected),p=!0),this.consumeToken()}while(!this.peek(h.EOF));return this.finish(c)},x.prototype._parseStylesheetStart=function(){return this._parseCharset()},x.prototype._parseStylesheetStatement=function(c){return c===void 0&&(c=!1),this.peek(h.AtKeyword)?this._parseStylesheetAtStatement(c):this._parseRuleset(c)},x.prototype._parseStylesheetAtStatement=function(c){return c===void 0&&(c=!1),this._parseImport()||this._parseMedia(c)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(c)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},x.prototype._tryParseRuleset=function(c){var p=this.mark();if(this._parseSelector(c)){for(;this.accept(h.Comma)&&this._parseSelector(c););if(this.accept(h.CurlyL))return this.restoreAtMark(p),this._parseRuleset(c)}return this.restoreAtMark(p),null},x.prototype._parseRuleset=function(c){c===void 0&&(c=!1);var p=this.create(Zi),F=p.getSelectors();if(!F.addChild(this._parseSelector(c)))return null;for(;this.accept(h.Comma);)if(!F.addChild(this._parseSelector(c)))return this.finish(p,le.SelectorExpected);return this._parseBody(p,this._parseRuleSetDeclaration.bind(this))},x.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseAtApply()||this._parseUnknownAtRule()},x.prototype._parseRuleSetDeclaration=function(){return this.peek(h.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()},x.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var c=this.create(Di);return this.consumeToken(),c.setIdentifier(this._parseIdent([At.Variable]))?this.finish(c):this.finish(c,le.IdentifierExpected)},x.prototype._needsSemicolonAfter=function(c){switch(c.type){case it.Keyframe:case it.ViewPort:case it.Media:case it.Ruleset:case it.Namespace:case it.If:case it.For:case it.Each:case it.While:case it.MixinDeclaration:case it.FunctionDeclaration:case it.MixinContentDeclaration:return!1;case it.ExtendsReference:case it.MixinContentReference:case it.ReturnStatement:case it.MediaQuery:case it.Debug:case it.Import:case it.AtApplyRule:case it.CustomPropertyDeclaration:return!0;case it.VariableDeclaration:return c.needsSemicolon;case it.MixinReference:return!c.getContent();case it.Declaration:return!c.getNestedProperties()}return!1},x.prototype._parseDeclarations=function(c){var p=this.create(Ii);if(!this.accept(h.CurlyL))return null;for(var F=c();p.addChild(F)&&!this.peek(h.CurlyR);){if(this._needsSemicolonAfter(F)&&!this.accept(h.SemiColon))return this.finish(p,le.SemiColonExpected,[h.SemiColon,h.CurlyR]);for(F&&this.prevToken&&this.prevToken.type===h.SemiColon&&(F.semicolonPosition=this.prevToken.offset);this.accept(h.SemiColon););F=c()}return this.accept(h.CurlyR)?this.finish(p):this.finish(p,le.RightCurlyExpected,[h.CurlyR,h.SemiColon])},x.prototype._parseBody=function(c,p){return c.setDeclarations(this._parseDeclarations(p))?this.finish(c):this.finish(c,le.LeftCurlyExpected,[h.CurlyR,h.SemiColon])},x.prototype._parseSelector=function(c){var p=this.create(Bi),F=!1;for(c&&(F=p.addChild(this._parseCombinator()));p.addChild(this._parseSimpleSelector());)F=!0,p.addChild(this._parseCombinator());return F?this.finish(p):null},x.prototype._parseDeclaration=function(c){var p=this.create(vt);if(!p.setProperty(this._parseProperty()))return null;if(!this.accept(h.Colon)){var F=c?bi(c,[h.SemiColon]):[h.SemiColon];return this.finish(p,le.ColonExpected,[h.Colon],F)}return this.prevToken&&(p.colonPosition=this.prevToken.offset),p.setValue(this._parseExpr())?(p.addChild(this._parsePrio()),this.peek(h.SemiColon)&&(p.semicolonPosition=this.token.offset),this.finish(p)):this.finish(p,le.PropertyValueExpected)},x.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(h.Ident,/^--/))return null;var c=this.create(vi);if(!c.setProperty(this._parseProperty()))return null;if(!this.accept(h.Colon))return this.finish(c,le.ColonExpected,[h.Colon]);this.prevToken&&(c.colonPosition=this.prevToken.offset);var p=this.mark();if(this.peek(h.CurlyL)){var F=this.create(Rt),pe=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(F.setDeclarations(pe)&&!pe.isErroneous(!0)&&(F.addChild(this._parsePrio()),this.peek(h.SemiColon)))return this.finish(F),c.setPropertySet(F),c.semicolonPosition=this.token.offset,this.finish(c);this.restoreAtMark(p)}var He=this._parseExpr();return He&&!He.isErroneous(!0)&&(this._parsePrio(),this.peek(h.SemiColon))?(c.setValue(He),c.semicolonPosition=this.token.offset,this.finish(c)):(this.restoreAtMark(p),c.addChild(this._parseCustomPropertyValue()),c.addChild(this._parsePrio()),ii(c.colonPosition)&&this.token.offset===c.colonPosition+1?this.finish(c,le.PropertyValueExpected):this.finish(c))},x.prototype._parseCustomPropertyValue=function(){var c=this.create(pi),p=function(){return F===0&&pe===0&&He===0},F=0,pe=0,He=0;e:for(;;){switch(this.token.type){case h.SemiColon:case h.Exclamation:if(p())break e;break;case h.CurlyL:F++;break;case h.CurlyR:if(--F<0){if(pe===0&&He===0)break e;return this.finish(c,le.LeftCurlyExpected)}break;case h.ParenthesisL:pe++;break;case h.ParenthesisR:if(--pe<0)return this.finish(c,le.LeftParenthesisExpected);break;case h.BracketL:He++;break;case h.BracketR:if(--He<0)return this.finish(c,le.LeftSquareBracketExpected);break;case h.BadString:break e;case h.EOF:var Qe=le.RightCurlyExpected;return He>0?Qe=le.RightSquareBracketExpected:pe>0&&(Qe=le.RightParenthesisExpected),this.finish(c,Qe)}this.consumeToken()}return this.finish(c)},x.prototype._tryToParseDeclaration=function(){var c=this.mark();return this._parseProperty()&&this.accept(h.Colon)?(this.restoreAtMark(c),this._parseDeclaration()):(this.restoreAtMark(c),null)},x.prototype._parseProperty=function(){var c=this.create(Ue),p=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(p),null):c.setIdentifier(this._parsePropertyIdentifier())?this.finish(c):null},x.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},x.prototype._parseCharset=function(){if(!this.peek(h.Charset))return null;var c=this.create(pi);return this.consumeToken(),this.accept(h.String)?this.accept(h.SemiColon)?this.finish(c):this.finish(c,le.SemiColonExpected):this.finish(c,le.IdentifierExpected)},x.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var c=this.create(si);return this.consumeToken(),c.addChild(this._parseURILiteral())||c.addChild(this._parseStringLiteral())?(this.peek(h.SemiColon)||this.peek(h.EOF)||c.setMedialist(this._parseMediaQueryList()),this.finish(c)):this.finish(c,le.URIOrStringExpected)},x.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var c=this.create(un);return this.consumeToken(),c.addChild(this._parseURILiteral())||(c.addChild(this._parseIdent()),c.addChild(this._parseURILiteral())||c.addChild(this._parseStringLiteral()))?this.accept(h.SemiColon)?this.finish(c):this.finish(c,le.SemiColonExpected):this.finish(c,le.URIExpected,[h.SemiColon])},x.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var c=this.create(Hi);return this.consumeToken(),this._parseBody(c,this._parseRuleSetDeclaration.bind(this))},x.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var c=this.create($i);return this.consumeToken(),this._parseBody(c,this._parseRuleSetDeclaration.bind(this))},x.prototype._parseKeyframe=function(){if(!this.peekRegExp(h.AtKeyword,this.keyframeRegex))return null;var c=this.create(kt),p=this.create(pi);return this.consumeToken(),c.setKeyword(this.finish(p)),p.matches("@-ms-keyframes")&&this.markError(p,le.UnknownKeyword),c.setIdentifier(this._parseKeyframeIdent())?this._parseBody(c,this._parseKeyframeSelector.bind(this)):this.finish(c,le.IdentifierExpected,[h.CurlyR])},x.prototype._parseKeyframeIdent=function(){return this._parseIdent([At.Keyframe])},x.prototype._parseKeyframeSelector=function(){var c=this.create(Et);if(!c.addChild(this._parseIdent())&&!this.accept(h.Percentage))return null;for(;this.accept(h.Comma);)if(!c.addChild(this._parseIdent())&&!this.accept(h.Percentage))return this.finish(c,le.PercentageExpected);return this._parseBody(c,this._parseRuleSetDeclaration.bind(this))},x.prototype._tryParseKeyframeSelector=function(){var c=this.create(Et),p=this.mark();if(!c.addChild(this._parseIdent())&&!this.accept(h.Percentage))return null;for(;this.accept(h.Comma);)if(!c.addChild(this._parseIdent())&&!this.accept(h.Percentage))return this.restoreAtMark(p),null;return this.peek(h.CurlyL)?this._parseBody(c,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(p),null)},x.prototype._parseSupports=function(c){if(c===void 0&&(c=!1),!this.peekKeyword("@supports"))return null;var p=this.create(Fn);return this.consumeToken(),p.addChild(this._parseSupportsCondition()),this._parseBody(p,this._parseSupportsDeclaration.bind(this,c))},x.prototype._parseSupportsDeclaration=function(c){return c===void 0&&(c=!1),c?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},x.prototype._parseSupportsCondition=function(){var c=this.create(Jn);if(this.acceptIdent("not"))c.addChild(this._parseSupportsConditionInParens());else if(c.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(h.Ident,/^(and|or)$/i))for(var p=this.token.text.toLowerCase();this.acceptIdent(p);)c.addChild(this._parseSupportsConditionInParens());return this.finish(c)},x.prototype._parseSupportsConditionInParens=function(){var c=this.create(Jn);if(this.accept(h.ParenthesisL))return this.prevToken&&(c.lParent=this.prevToken.offset),c.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(h.ParenthesisR)?(this.prevToken&&(c.rParent=this.prevToken.offset),this.finish(c)):this.finish(c,le.RightParenthesisExpected,[h.ParenthesisR],[]):this.finish(c,le.ConditionExpected);if(this.peek(h.Ident)){var p=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(h.ParenthesisL)){for(var F=1;this.token.type!==h.EOF&&F!==0;)this.token.type===h.ParenthesisL?F++:this.token.type===h.ParenthesisR&&F--,this.consumeToken();return this.finish(c)}this.restoreAtMark(p)}return this.finish(c,le.LeftParenthesisExpected,[],[h.ParenthesisL])},x.prototype._parseMediaDeclaration=function(c){return c===void 0&&(c=!1),c?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},x.prototype._parseMedia=function(c){if(c===void 0&&(c=!1),!this.peekKeyword("@media"))return null;var p=this.create(bn);return this.consumeToken(),p.addChild(this._parseMediaQueryList())?this._parseBody(p,this._parseMediaDeclaration.bind(this,c)):this.finish(p,le.MediaQueryExpected)},x.prototype._parseMediaQueryList=function(){var c=this.create(Nn);if(!c.addChild(this._parseMediaQuery([h.CurlyL])))return this.finish(c,le.MediaQueryExpected);for(;this.accept(h.Comma);)if(!c.addChild(this._parseMediaQuery([h.CurlyL])))return this.finish(c,le.MediaQueryExpected);return this.finish(c)},x.prototype._parseMediaQuery=function(c){var p=this.create(Hn),F=!0,pe=!1;if(!this.peek(h.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!p.addChild(this._parseIdent()))return null;pe=!0,F=this.acceptIdent("and")}for(;F;)if(p.addChild(this._parseMediaContentStart()))F=this.acceptIdent("and");else{if(!this.accept(h.ParenthesisL))return pe?this.finish(p,le.LeftParenthesisExpected,[],c):null;if(!p.addChild(this._parseMediaFeatureName()))return this.finish(p,le.IdentifierExpected,[],c);if(this.accept(h.Colon)&&!p.addChild(this._parseExpr()))return this.finish(p,le.TermExpected,[],c);if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected,[],c);F=this.acceptIdent("and")}return this.finish(p)},x.prototype._parseMediaContentStart=function(){return null},x.prototype._parseMediaFeatureName=function(){return this._parseIdent()},x.prototype._parseMedium=function(){var c=this.create(pi);return c.addChild(this._parseIdent())?this.finish(c):null},x.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},x.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var c=this.create(_o);if(this.consumeToken(),c.addChild(this._parsePageSelector())){for(;this.accept(h.Comma);)if(!c.addChild(this._parsePageSelector()))return this.finish(c,le.IdentifierExpected)}return this._parseBody(c,this._parsePageDeclaration.bind(this))},x.prototype._parsePageMarginBox=function(){if(!this.peek(h.AtKeyword))return null;var c=this.create(pn);return this.acceptOneKeyword(_n)||this.markError(c,le.UnknownAtRule,[],[h.CurlyL]),this._parseBody(c,this._parseRuleSetDeclaration.bind(this))},x.prototype._parsePageSelector=function(){if(!this.peek(h.Ident)&&!this.peek(h.Colon))return null;var c=this.create(pi);return c.addChild(this._parseIdent()),this.accept(h.Colon)&&!c.addChild(this._parseIdent())?this.finish(c,le.IdentifierExpected):this.finish(c)},x.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var c=this.create(Mn);return this.consumeToken(),this.resync([],[h.CurlyL]),this._parseBody(c,this._parseStylesheetStatement.bind(this))},x.prototype._parseUnknownAtRule=function(){if(!this.peek(h.AtKeyword))return null;var c=this.create(Kt);c.addChild(this._parseUnknownAtRuleName());var p=0,F=0,pe=0,He=0;e:for(;;){switch(this.token.type){case h.SemiColon:if(F===0&&pe===0&&He===0)break e;break;case h.EOF:return F>0?this.finish(c,le.RightCurlyExpected):He>0?this.finish(c,le.RightSquareBracketExpected):pe>0?this.finish(c,le.RightParenthesisExpected):this.finish(c);case h.CurlyL:p++,F++;break;case h.CurlyR:if(F--,p>0&&F===0){if(this.consumeToken(),He>0)return this.finish(c,le.RightSquareBracketExpected);if(pe>0)return this.finish(c,le.RightParenthesisExpected);break e}if(F<0){if(pe===0&&He===0)break e;return this.finish(c,le.LeftCurlyExpected)}break;case h.ParenthesisL:pe++;break;case h.ParenthesisR:if(--pe<0)return this.finish(c,le.LeftParenthesisExpected);break;case h.BracketL:He++;break;case h.BracketR:if(--He<0)return this.finish(c,le.LeftSquareBracketExpected)}this.consumeToken()}return c},x.prototype._parseUnknownAtRuleName=function(){var c=this.create(pi);return this.accept(h.AtKeyword)?this.finish(c):c},x.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(h.Dashmatch)||this.peek(h.Includes)||this.peek(h.SubstringOperator)||this.peek(h.PrefixOperator)||this.peek(h.SuffixOperator)||this.peekDelim("=")){var c=this.createNode(it.Operator);return this.consumeToken(),this.finish(c)}return null},x.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var c=this.create(pi);return this.consumeToken(),this.finish(c)},x.prototype._parseCombinator=function(){if(this.peekDelim(">")){var c=this.create(pi);this.consumeToken();var p=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return c.type=it.SelectorCombinatorShadowPiercingDescendant,this.finish(c);this.restoreAtMark(p)}return c.type=it.SelectorCombinatorParent,this.finish(c)}if(this.peekDelim("+"))return c=this.create(pi),this.consumeToken(),c.type=it.SelectorCombinatorSibling,this.finish(c);if(this.peekDelim("~"))return c=this.create(pi),this.consumeToken(),c.type=it.SelectorCombinatorAllSiblings,this.finish(c);if(this.peekDelim("/")){if(c=this.create(pi),this.consumeToken(),p=this.mark(),!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return c.type=it.SelectorCombinatorShadowPiercingDescendant,this.finish(c);this.restoreAtMark(p)}return null},x.prototype._parseSimpleSelector=function(){var c=this.create(Lt),p=0;for(c.addChild(this._parseElementName())&&p++;(p===0||!this.hasWhitespace())&&c.addChild(this._parseSimpleSelectorBody());)p++;return p>0?this.finish(c):null},x.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},x.prototype._parseSelectorIdent=function(){return this._parseIdent()},x.prototype._parseHash=function(){if(!this.peek(h.Hash)&&!this.peekDelim("#"))return null;var c=this.createNode(it.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!c.addChild(this._parseSelectorIdent()))return this.finish(c,le.IdentifierExpected)}else this.consumeToken();return this.finish(c)},x.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var c=this.createNode(it.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!c.addChild(this._parseSelectorIdent())?this.finish(c,le.IdentifierExpected):this.finish(c)},x.prototype._parseElementName=function(){var c=this.mark(),p=this.createNode(it.ElementNameSelector);return p.addChild(this._parseNamespacePrefix()),p.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(p):(this.restoreAtMark(c),null)},x.prototype._parseNamespacePrefix=function(){var c=this.mark(),p=this.createNode(it.NamespacePrefix);return!p.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(p):(this.restoreAtMark(c),null)},x.prototype._parseAttrib=function(){if(!this.peek(h.BracketL))return null;var c=this.create(On);return this.consumeToken(),c.setNamespacePrefix(this._parseNamespacePrefix()),c.setIdentifier(this._parseIdent())?(c.setOperator(this._parseOperator())&&(c.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(h.BracketR)?this.finish(c):this.finish(c,le.RightSquareBracketExpected)):this.finish(c,le.IdentifierExpected)},x.prototype._parsePseudo=function(){var c=this,p=this._tryParsePseudoIdentifier();return p?!this.hasWhitespace()&&this.accept(h.ParenthesisL)&&(p.addChild(this.try(function(){var F=c.create(pi);if(!F.addChild(c._parseSelector(!1)))return null;for(;c.accept(h.Comma)&&F.addChild(c._parseSelector(!1)););return c.peek(h.ParenthesisR)?c.finish(F):null})||this._parseBinaryExpr()),!this.accept(h.ParenthesisR))?this.finish(p,le.RightParenthesisExpected):this.finish(p):null},x.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(h.Colon))return null;var c=this.mark(),p=this.createNode(it.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(c),null):(this.accept(h.Colon)&&this.hasWhitespace()&&this.markError(p,le.IdentifierExpected),p.addChild(this._parseIdent())||this.markError(p,le.IdentifierExpected),p)},x.prototype._tryParsePrio=function(){var c=this.mark(),p=this._parsePrio();return p||(this.restoreAtMark(c),null)},x.prototype._parsePrio=function(){if(!this.peek(h.Exclamation))return null;var c=this.createNode(it.Prio);return this.accept(h.Exclamation)&&this.acceptIdent("important")?this.finish(c):null},x.prototype._parseExpr=function(c){c===void 0&&(c=!1);var p=this.create(Gn);if(!p.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(h.Comma)){if(c)return this.finish(p);this.consumeToken()}if(!p.addChild(this._parseBinaryExpr()))break}return this.finish(p)},x.prototype._parseNamedLine=function(){if(!this.peek(h.BracketL))return null;var c=this.createNode(it.GridLine);for(this.consumeToken();c.addChild(this._parseIdent()););return this.accept(h.BracketR)?this.finish(c):this.finish(c,le.RightSquareBracketExpected)},x.prototype._parseBinaryExpr=function(c,p){var F=this.create(on);if(!F.setLeft(c||this._parseTerm()))return null;if(!F.setOperator(p||this._parseOperator()))return this.finish(F);if(!F.setRight(this._parseTerm()))return this.finish(F,le.TermExpected);F=this.finish(F);var pe=this._parseOperator();return pe&&(F=this._parseBinaryExpr(F,pe)),this.finish(F)},x.prototype._parseTerm=function(){var c=this.create(ho);return c.setOperator(this._parseUnaryOperator()),c.setExpression(this._parseTermExpression())?this.finish(c):null},x.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},x.prototype._parseOperation=function(){if(!this.peek(h.ParenthesisL))return null;var c=this.create(pi);return this.consumeToken(),c.addChild(this._parseExpr()),this.accept(h.ParenthesisR)?this.finish(c):this.finish(c,le.RightParenthesisExpected)},x.prototype._parseNumeric=function(){if(this.peek(h.Num)||this.peek(h.Percentage)||this.peek(h.Resolution)||this.peek(h.Length)||this.peek(h.EMS)||this.peek(h.EXS)||this.peek(h.Angle)||this.peek(h.Time)||this.peek(h.Dimension)||this.peek(h.Freq)){var c=this.create(_e);return this.consumeToken(),this.finish(c)}return null},x.prototype._parseStringLiteral=function(){if(!this.peek(h.String)&&!this.peek(h.BadString))return null;var c=this.createNode(it.StringLiteral);return this.consumeToken(),this.finish(c)},x.prototype._parseURILiteral=function(){if(!this.peekRegExp(h.Ident,/^url(-prefix)?$/i))return null;var c=this.mark(),p=this.createNode(it.URILiteral);return this.accept(h.Ident),this.hasWhitespace()||!this.peek(h.ParenthesisL)?(this.restoreAtMark(c),null):(this.scanner.inURL=!0,this.consumeToken(),p.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(h.ParenthesisR)?this.finish(p):this.finish(p,le.RightParenthesisExpected))},x.prototype._parseURLArgument=function(){var c=this.create(pi);return this.accept(h.String)||this.accept(h.BadString)||this.acceptUnquotedString()?this.finish(c):null},x.prototype._parseIdent=function(c){if(!this.peek(h.Ident))return null;var p=this.create(Wt);return c&&(p.referenceTypes=c),p.isCustomProperty=this.peekRegExp(h.Ident,/^--/),this.consumeToken(),this.finish(p)},x.prototype._parseFunction=function(){var c=this.mark(),p=this.create(ut);if(!p.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(h.ParenthesisL))return this.restoreAtMark(c),null;if(p.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)p.getArguments().addChild(this._parseFunctionArgument())||this.markError(p,le.ExpressionExpected);return this.accept(h.ParenthesisR)?this.finish(p):this.finish(p,le.RightParenthesisExpected)},x.prototype._parseFunctionIdentifier=function(){if(!this.peek(h.Ident))return null;var c=this.create(Wt);if(c.referenceTypes=[At.Function],this.acceptIdent("progid")){if(this.accept(h.Colon))for(;this.accept(h.Ident)&&this.acceptDelim("."););return this.finish(c)}return this.consumeToken(),this.finish(c)},x.prototype._parseFunctionArgument=function(){var c=this.create(st);return c.setValue(this._parseExpr(!0))?this.finish(c):null},x.prototype._parseHexColor=function(){if(this.peekRegExp(h.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var c=this.create(Dn);return this.consumeToken(),this.finish(c)}return null},x}();function mn(x,c){return x.indexOf(c)!==-1}function sn(){for(var x=[],c=0;c<arguments.length;c++)x[c]=arguments[c];for(var p=[],F=0,pe=x;F<pe.length;F++)for(var He=pe[F],Qe=0,Vt=He;Qe<Vt.length;Qe++){var $t=Vt[Qe];mn(p,$t)||p.push($t)}return p}var gn,Sn,En,Xn,Yn,Io,Ro,In,Rn,Qn,vo,Mo,So,ko,po,Tn,No,Ho,gr,wo,ls,Br=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),Kn=function(){function x(c,p){this.offset=c,this.length=p,this.symbols=[],this.parent=null,this.children=[]}return x.prototype.addChild=function(c){this.children.push(c),c.setParent(this)},x.prototype.setParent=function(c){this.parent=c},x.prototype.findScope=function(c,p){return p===void 0&&(p=0),this.offset<=c&&this.offset+this.length>c+p||this.offset===c&&this.length===p?this.findInScope(c,p):null},x.prototype.findInScope=function(c,p){p===void 0&&(p=0);var F=c+p,pe=function(Qe,Vt){var $t=0,ci=Qe.length;if(ci===0)return 0;for(;$t<ci;){var Ft=Math.floor(($t+ci)/2);Vt(Qe[Ft])?ci=Ft:$t=Ft+1}return $t}(this.children,function(Qe){return Qe.offset>F});if(pe===0)return this;var He=this.children[pe-1];return He.offset<=c&&He.offset+He.length>=c+p?He.findInScope(c,p):this},x.prototype.addSymbol=function(c){this.symbols.push(c)},x.prototype.getSymbol=function(c,p){for(var F=0;F<this.symbols.length;F++){var pe=this.symbols[F];if(pe.name===c&&pe.type===p)return pe}return null},x.prototype.getSymbols=function(){return this.symbols},x}(),cr=function(x){function c(){return x.call(this,0,Number.MAX_VALUE)||this}return Br(c,x),c}(Kn),Eo=function(x,c,p,F){this.name=x,this.value=c,this.node=p,this.type=F},Lr=function(){function x(c){this.scope=c}return x.prototype.addSymbol=function(c,p,F,pe){if(c.offset!==-1){var He=this.scope.findScope(c.offset,c.length);He&&He.addSymbol(new Eo(p,F,c,pe))}},x.prototype.addScope=function(c){if(c.offset!==-1){var p=this.scope.findScope(c.offset,c.length);if(p&&(p.offset!==c.offset||p.length!==c.length)){var F=new Kn(c.offset,c.length);return p.addChild(F),F}return p}return null},x.prototype.addSymbolToChildScope=function(c,p,F,pe,He){if(c&&c.offset!==-1){var Qe=this.addScope(c);Qe&&Qe.addSymbol(new Eo(F,pe,p,He))}},x.prototype.visitNode=function(c){switch(c.type){case it.Keyframe:return this.addSymbol(c,c.getName(),void 0,At.Keyframe),!0;case it.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(c);case it.VariableDeclaration:return this.visitVariableDeclarationNode(c);case it.Ruleset:return this.visitRuleSet(c);case it.MixinDeclaration:return this.addSymbol(c,c.getName(),void 0,At.Mixin),!0;case it.FunctionDeclaration:return this.addSymbol(c,c.getName(),void 0,At.Function),!0;case it.FunctionParameter:return this.visitFunctionParameterNode(c);case it.Declarations:return this.addScope(c),!0;case it.For:var p=c,F=p.getDeclarations();return F&&p.variable&&this.addSymbolToChildScope(F,p.variable,p.variable.getName(),void 0,At.Variable),!0;case it.Each:var pe=c,He=pe.getDeclarations();if(He)for(var Qe=0,Vt=pe.getVariables().getChildren();Qe<Vt.length;Qe++){var $t=Vt[Qe];this.addSymbolToChildScope(He,$t,$t.getName(),void 0,At.Variable)}return!0}return!0},x.prototype.visitRuleSet=function(c){var p=this.scope.findScope(c.offset,c.length);if(p)for(var F=0,pe=c.getSelectors().getChildren();F<pe.length;F++){var He=pe[F];He instanceof Bi&&He.getChildren().length===1&&p.addSymbol(new Eo(He.getChild(0).getText(),void 0,He,At.Rule))}return!0},x.prototype.visitVariableDeclarationNode=function(c){var p=c.getValue()?c.getValue().getText():void 0;return this.addSymbol(c,c.getName(),p,At.Variable),!0},x.prototype.visitFunctionParameterNode=function(c){var p=c.getParent().getDeclarations();if(p){var F=c.getDefaultValue(),pe=F?F.getText():void 0;this.addSymbolToChildScope(p,c,c.getName(),pe,At.Variable)}return!0},x.prototype.visitCustomPropertyDeclarationNode=function(c){var p=c.getValue()?c.getValue().getText():"";return this.addCSSVariable(c.getProperty(),c.getProperty().getName(),p,At.Variable),!0},x.prototype.addCSSVariable=function(c,p,F,pe){c.offset!==-1&&this.scope.addSymbol(new Eo(p,F,c,pe))},x}(),jr=function(){function x(c){this.global=new cr,c.acceptVisitor(new Lr(this.global))}return x.prototype.findSymbolsAtOffset=function(c,p){for(var F=this.global.findScope(c,0),pe=[],He={};F;){for(var Qe=F.getSymbols(),Vt=0;Vt<Qe.length;Vt++){var $t=Qe[Vt];$t.type!==p||He[$t.name]||(pe.push($t),He[$t.name]=!0)}F=F.parent}return pe},x.prototype.internalFindSymbol=function(c,p){var F=c;if(c.parent instanceof ze&&c.parent.getParent()instanceof Ai&&(F=c.parent.getParent().getDeclarations()),c.parent instanceof st&&c.parent.getParent()instanceof ut){var pe=c.parent.getParent().getIdentifier();if(pe){var He=this.internalFindSymbol(pe,[At.Function]);He&&(F=He.node.getDeclarations())}}if(!F)return null;for(var Qe=c.getText(),Vt=this.global.findScope(F.offset,F.length);Vt;){for(var $t=0;$t<p.length;$t++){var ci=p[$t],Ft=Vt.getSymbol(Qe,ci);if(Ft)return Ft}Vt=Vt.parent}return null},x.prototype.evaluateReferenceTypes=function(c){if(c instanceof Wt){var p=c.referenceTypes;if(p)return p;if(c.isCustomProperty)return[At.Variable];var F=function(He){var Qe=He.findParent(it.Declaration),Vt=Qe&&Qe.getValue();return Vt&&Vt.encloses(He)?Qe:null}(c);if(F){var pe=F.getNonPrefixedPropertyName();if((pe==="animation"||pe==="animation-name")&&F.getValue()&&F.getValue().offset===c.offset)return[At.Keyframe]}}else if(c instanceof ot)return[At.Variable];return c.findAParent(it.Selector,it.ExtendsReference)?[At.Rule]:null},x.prototype.findSymbolFromNode=function(c){if(!c)return null;for(;c.type===it.Interpolation;)c=c.getParent();var p=this.evaluateReferenceTypes(c);return p?this.internalFindSymbol(c,p):null},x.prototype.matchesSymbol=function(c,p){if(!c)return!1;for(;c.type===it.Interpolation;)c=c.getParent();if(!c.matches(p.name))return!1;var F=this.evaluateReferenceTypes(c);return!(!F||F.indexOf(p.type)===-1)&&this.internalFindSymbol(c,F)===p},x.prototype.findSymbol=function(c,p,F){for(var pe=this.global.findScope(F);pe;){var He=pe.getSymbol(c,p);if(He)return He;pe=pe.parent}return null},x}();(function(x){x.create=function(c,p){return{line:c,character:p}},x.is=function(c){var p=c;return Ui.objectLiteral(p)&&Ui.number(p.line)&&Ui.number(p.character)}})(gn||(gn={})),function(x){x.create=function(c,p,F,pe){if(Ui.number(c)&&Ui.number(p)&&Ui.number(F)&&Ui.number(pe))return{start:gn.create(c,p),end:gn.create(F,pe)};if(gn.is(c)&&gn.is(p))return{start:c,end:p};throw new Error("Range#create called with invalid arguments["+c+", "+p+", "+F+", "+pe+"]")},x.is=function(c){var p=c;return Ui.objectLiteral(p)&&gn.is(p.start)&&gn.is(p.end)}}(Sn||(Sn={})),function(x){x.create=function(c,p){return{uri:c,range:p}},x.is=function(c){var p=c;return Ui.defined(p)&&Sn.is(p.range)&&(Ui.string(p.uri)||Ui.undefined(p.uri))}}(En||(En={})),function(x){x.create=function(c,p,F,pe){return{targetUri:c,targetRange:p,targetSelectionRange:F,originSelectionRange:pe}},x.is=function(c){var p=c;return Ui.defined(p)&&Sn.is(p.targetRange)&&Ui.string(p.targetUri)&&(Sn.is(p.targetSelectionRange)||Ui.undefined(p.targetSelectionRange))&&(Sn.is(p.originSelectionRange)||Ui.undefined(p.originSelectionRange))}}(Xn||(Xn={})),function(x){x.create=function(c,p,F,pe){return{red:c,green:p,blue:F,alpha:pe}},x.is=function(c){var p=c;return Ui.number(p.red)&&Ui.number(p.green)&&Ui.number(p.blue)&&Ui.number(p.alpha)}}(Yn||(Yn={})),function(x){x.create=function(c,p){return{range:c,color:p}},x.is=function(c){var p=c;return Sn.is(p.range)&&Yn.is(p.color)}}(Io||(Io={})),function(x){x.create=function(c,p,F){return{label:c,textEdit:p,additionalTextEdits:F}},x.is=function(c){var p=c;return Ui.string(p.label)&&(Ui.undefined(p.textEdit)||Tn.is(p))&&(Ui.undefined(p.additionalTextEdits)||Ui.typedArray(p.additionalTextEdits,Tn.is))}}(Ro||(Ro={})),function(x){x.Comment="comment",x.Imports="imports",x.Region="region"}(In||(In={})),function(x){x.create=function(c,p,F,pe,He){var Qe={startLine:c,endLine:p};return Ui.defined(F)&&(Qe.startCharacter=F),Ui.defined(pe)&&(Qe.endCharacter=pe),Ui.defined(He)&&(Qe.kind=He),Qe},x.is=function(c){var p=c;return Ui.number(p.startLine)&&Ui.number(p.startLine)&&(Ui.undefined(p.startCharacter)||Ui.number(p.startCharacter))&&(Ui.undefined(p.endCharacter)||Ui.number(p.endCharacter))&&(Ui.undefined(p.kind)||Ui.string(p.kind))}}(Rn||(Rn={})),function(x){x.create=function(c,p){return{location:c,message:p}},x.is=function(c){var p=c;return Ui.defined(p)&&En.is(p.location)&&Ui.string(p.message)}}(Qn||(Qn={})),function(x){x.Error=1,x.Warning=2,x.Information=3,x.Hint=4}(vo||(vo={})),function(x){x.Unnecessary=1,x.Deprecated=2}(Mo||(Mo={})),function(x){x.is=function(c){var p=c;return p!=null&&(Ui.number(p.value)||Ui.string(p.value))&&Ui.string(p.target)}}(So||(So={})),function(x){x.create=function(c,p,F,pe,He,Qe){var Vt={range:c,message:p};return Ui.defined(F)&&(Vt.severity=F),Ui.defined(pe)&&(Vt.code=pe),Ui.defined(He)&&(Vt.source=He),Ui.defined(Qe)&&(Vt.relatedInformation=Qe),Vt},x.is=function(c){var p=c;return Ui.defined(p)&&Sn.is(p.range)&&Ui.string(p.message)&&(Ui.number(p.severity)||Ui.undefined(p.severity))&&(Ui.number(p.code)||Ui.string(p.code)||Ui.undefined(p.code))&&(Ui.string(p.source)||Ui.undefined(p.source))&&(Ui.undefined(p.relatedInformation)||Ui.typedArray(p.relatedInformation,Qn.is))}}(ko||(ko={})),function(x){x.create=function(c,p){for(var F=[],pe=2;pe<arguments.length;pe++)F[pe-2]=arguments[pe];var He={title:c,command:p};return Ui.defined(F)&&F.length>0&&(He.arguments=F),He},x.is=function(c){var p=c;return Ui.defined(p)&&Ui.string(p.title)&&Ui.string(p.command)}}(po||(po={})),function(x){x.replace=function(c,p){return{range:c,newText:p}},x.insert=function(c,p){return{range:{start:c,end:c},newText:p}},x.del=function(c){return{range:c,newText:""}},x.is=function(c){var p=c;return Ui.objectLiteral(p)&&Ui.string(p.newText)&&Sn.is(p.range)}}(Tn||(Tn={})),function(x){x.create=function(c,p){return{textDocument:c,edits:p}},x.is=function(c){var p=c;return Ui.defined(p)&&Cn.is(p.textDocument)&&Array.isArray(p.edits)}}(No||(No={})),function(x){x.create=function(c,p){var F={kind:"create",uri:c};return p===void 0||p.overwrite===void 0&&p.ignoreIfExists===void 0||(F.options=p),F},x.is=function(c){var p=c;return p&&p.kind==="create"&&Ui.string(p.uri)&&(p.options===void 0||(p.options.overwrite===void 0||Ui.boolean(p.options.overwrite))&&(p.options.ignoreIfExists===void 0||Ui.boolean(p.options.ignoreIfExists)))}}(Ho||(Ho={})),function(x){x.create=function(c,p,F){var pe={kind:"rename",oldUri:c,newUri:p};return F===void 0||F.overwrite===void 0&&F.ignoreIfExists===void 0||(pe.options=F),pe},x.is=function(c){var p=c;return p&&p.kind==="rename"&&Ui.string(p.oldUri)&&Ui.string(p.newUri)&&(p.options===void 0||(p.options.overwrite===void 0||Ui.boolean(p.options.overwrite))&&(p.options.ignoreIfExists===void 0||Ui.boolean(p.options.ignoreIfExists)))}}(gr||(gr={})),function(x){x.create=function(c,p){var F={kind:"delete",uri:c};return p===void 0||p.recursive===void 0&&p.ignoreIfNotExists===void 0||(F.options=p),F},x.is=function(c){var p=c;return p&&p.kind==="delete"&&Ui.string(p.uri)&&(p.options===void 0||(p.options.recursive===void 0||Ui.boolean(p.options.recursive))&&(p.options.ignoreIfNotExists===void 0||Ui.boolean(p.options.ignoreIfNotExists)))}}(wo||(wo={})),function(x){x.is=function(c){var p=c;return p&&(p.changes!==void 0||p.documentChanges!==void 0)&&(p.documentChanges===void 0||p.documentChanges.every(function(F){return Ui.string(F.kind)?Ho.is(F)||gr.is(F)||wo.is(F):No.is(F)}))}}(ls||(ls={}));var Ko,Cn,Oo,Do,fr,zn,eo,br,va,es,Vr,Nr,ts,na,is,Ur,cs,dr,nr,_r,wa,zo,Cs,Hr,ya,vr,ds,oa,wr=function(){function x(c){this.edits=c}return x.prototype.insert=function(c,p){this.edits.push(Tn.insert(c,p))},x.prototype.replace=function(c,p){this.edits.push(Tn.replace(c,p))},x.prototype.delete=function(c){this.edits.push(Tn.del(c))},x.prototype.add=function(c){this.edits.push(c)},x.prototype.all=function(){return this.edits},x.prototype.clear=function(){this.edits.splice(0,this.edits.length)},x}();(function(){function x(c){var p=this;this._textEditChanges=Object.create(null),c&&(this._workspaceEdit=c,c.documentChanges?c.documentChanges.forEach(function(F){if(No.is(F)){var pe=new wr(F.edits);p._textEditChanges[F.textDocument.uri]=pe}}):c.changes&&Object.keys(c.changes).forEach(function(F){var pe=new wr(c.changes[F]);p._textEditChanges[F]=pe}))}Object.defineProperty(x.prototype,"edit",{get:function(){return this._workspaceEdit===void 0?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),x.prototype.getTextEditChange=function(c){if(Cn.is(c)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var p=c;if(!(pe=this._textEditChanges[p.uri])){var F={textDocument:p,edits:He=[]};this._workspaceEdit.documentChanges.push(F),pe=new wr(He),this._textEditChanges[p.uri]=pe}return pe}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var pe;if(!(pe=this._textEditChanges[c])){var He=[];this._workspaceEdit.changes[c]=He,pe=new wr(He),this._textEditChanges[c]=pe}return pe},x.prototype.createFile=function(c,p){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Ho.create(c,p))},x.prototype.renameFile=function(c,p,F){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(gr.create(c,p,F))},x.prototype.deleteFile=function(c,p){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(wo.create(c,p))},x.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}})(),function(x){x.create=function(c){return{uri:c}},x.is=function(c){var p=c;return Ui.defined(p)&&Ui.string(p.uri)}}(Ko||(Ko={})),function(x){x.create=function(c,p){return{uri:c,version:p}},x.is=function(c){var p=c;return Ui.defined(p)&&Ui.string(p.uri)&&(p.version===null||Ui.number(p.version))}}(Cn||(Cn={})),function(x){x.create=function(c,p,F,pe){return{uri:c,languageId:p,version:F,text:pe}},x.is=function(c){var p=c;return Ui.defined(p)&&Ui.string(p.uri)&&Ui.string(p.languageId)&&Ui.number(p.version)&&Ui.string(p.text)}}(Oo||(Oo={})),function(x){x.PlainText="plaintext",x.Markdown="markdown"}(Do||(Do={})),function(x){x.is=function(c){var p=c;return p===x.PlainText||p===x.Markdown}}(Do||(Do={})),function(x){x.is=function(c){var p=c;return Ui.objectLiteral(c)&&Do.is(p.kind)&&Ui.string(p.value)}}(fr||(fr={})),function(x){x.Text=1,x.Method=2,x.Function=3,x.Constructor=4,x.Field=5,x.Variable=6,x.Class=7,x.Interface=8,x.Module=9,x.Property=10,x.Unit=11,x.Value=12,x.Enum=13,x.Keyword=14,x.Snippet=15,x.Color=16,x.File=17,x.Reference=18,x.Folder=19,x.EnumMember=20,x.Constant=21,x.Struct=22,x.Event=23,x.Operator=24,x.TypeParameter=25}(zn||(zn={})),function(x){x.PlainText=1,x.Snippet=2}(eo||(eo={})),function(x){x.Deprecated=1}(br||(br={})),function(x){x.create=function(c,p,F){return{newText:c,insert:p,replace:F}},x.is=function(c){var p=c;return p&&Ui.string(p.newText)&&Sn.is(p.insert)&&Sn.is(p.replace)}}(va||(va={})),function(x){x.create=function(c){return{label:c}}}(es||(es={})),function(x){x.create=function(c,p){return{items:c||[],isIncomplete:!!p}}}(Vr||(Vr={})),function(x){x.fromPlainText=function(c){return c.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},x.is=function(c){var p=c;return Ui.string(p)||Ui.objectLiteral(p)&&Ui.string(p.language)&&Ui.string(p.value)}}(Nr||(Nr={})),function(x){x.is=function(c){var p=c;return!!p&&Ui.objectLiteral(p)&&(fr.is(p.contents)||Nr.is(p.contents)||Ui.typedArray(p.contents,Nr.is))&&(c.range===void 0||Sn.is(c.range))}}(ts||(ts={})),function(x){x.create=function(c,p){return p?{label:c,documentation:p}:{label:c}}}(na||(na={})),function(x){x.create=function(c,p){for(var F=[],pe=2;pe<arguments.length;pe++)F[pe-2]=arguments[pe];var He={label:c};return Ui.defined(p)&&(He.documentation=p),Ui.defined(F)?He.parameters=F:He.parameters=[],He}}(is||(is={})),function(x){x.Text=1,x.Read=2,x.Write=3}(Ur||(Ur={})),function(x){x.create=function(c,p){var F={range:c};return Ui.number(p)&&(F.kind=p),F}}(cs||(cs={})),function(x){x.File=1,x.Module=2,x.Namespace=3,x.Package=4,x.Class=5,x.Method=6,x.Property=7,x.Field=8,x.Constructor=9,x.Enum=10,x.Interface=11,x.Function=12,x.Variable=13,x.Constant=14,x.String=15,x.Number=16,x.Boolean=17,x.Array=18,x.Object=19,x.Key=20,x.Null=21,x.EnumMember=22,x.Struct=23,x.Event=24,x.Operator=25,x.TypeParameter=26}(dr||(dr={})),function(x){x.Deprecated=1}(nr||(nr={})),function(x){x.create=function(c,p,F,pe,He){var Qe={name:c,kind:p,location:{uri:pe,range:F}};return He&&(Qe.containerName=He),Qe}}(_r||(_r={})),function(x){x.create=function(c,p,F,pe,He,Qe){var Vt={name:c,detail:p,kind:F,range:pe,selectionRange:He};return Qe!==void 0&&(Vt.children=Qe),Vt},x.is=function(c){var p=c;return p&&Ui.string(p.name)&&Ui.number(p.kind)&&Sn.is(p.range)&&Sn.is(p.selectionRange)&&(p.detail===void 0||Ui.string(p.detail))&&(p.deprecated===void 0||Ui.boolean(p.deprecated))&&(p.children===void 0||Array.isArray(p.children))&&(p.tags===void 0||Array.isArray(p.tags))}}(wa||(wa={})),function(x){x.Empty="",x.QuickFix="quickfix",x.Refactor="refactor",x.RefactorExtract="refactor.extract",x.RefactorInline="refactor.inline",x.RefactorRewrite="refactor.rewrite",x.Source="source",x.SourceOrganizeImports="source.organizeImports",x.SourceFixAll="source.fixAll"}(zo||(zo={})),function(x){x.create=function(c,p){var F={diagnostics:c};return p!=null&&(F.only=p),F},x.is=function(c){var p=c;return Ui.defined(p)&&Ui.typedArray(p.diagnostics,ko.is)&&(p.only===void 0||Ui.typedArray(p.only,Ui.string))}}(Cs||(Cs={})),function(x){x.create=function(c,p,F){var pe={title:c};return po.is(p)?pe.command=p:pe.edit=p,F!==void 0&&(pe.kind=F),pe},x.is=function(c){var p=c;return p&&Ui.string(p.title)&&(p.diagnostics===void 0||Ui.typedArray(p.diagnostics,ko.is))&&(p.kind===void 0||Ui.string(p.kind))&&(p.edit!==void 0||p.command!==void 0)&&(p.command===void 0||po.is(p.command))&&(p.isPreferred===void 0||Ui.boolean(p.isPreferred))&&(p.edit===void 0||ls.is(p.edit))}}(Hr||(Hr={})),function(x){x.create=function(c,p){var F={range:c};return Ui.defined(p)&&(F.data=p),F},x.is=function(c){var p=c;return Ui.defined(p)&&Sn.is(p.range)&&(Ui.undefined(p.command)||po.is(p.command))}}(ya||(ya={})),function(x){x.create=function(c,p){return{tabSize:c,insertSpaces:p}},x.is=function(c){var p=c;return Ui.defined(p)&&Ui.number(p.tabSize)&&Ui.boolean(p.insertSpaces)}}(vr||(vr={})),function(x){x.create=function(c,p,F){return{range:c,target:p,data:F}},x.is=function(c){var p=c;return Ui.defined(p)&&Sn.is(p.range)&&(Ui.undefined(p.target)||Ui.string(p.target))}}(ds||(ds={})),function(x){x.create=function(c,p){return{range:c,parent:p}},x.is=function(c){var p=c;return p!==void 0&&Sn.is(p.range)&&(p.parent===void 0||x.is(p.parent))}}(oa||(oa={}));var ns;(function(x){x.create=function(c,p,F,pe){return new or(c,p,F,pe)},x.is=function(c){var p=c;return!!(Ui.defined(p)&&Ui.string(p.uri)&&(Ui.undefined(p.languageId)||Ui.string(p.languageId))&&Ui.number(p.lineCount)&&Ui.func(p.getText)&&Ui.func(p.positionAt)&&Ui.func(p.offsetAt))},x.applyEdits=function(c,p){for(var F=c.getText(),pe=function Ft(Fi,cn){if(Fi.length<=1)return Fi;var vn=Fi.length/2|0,rn=Fi.slice(0,vn),Pn=Fi.slice(vn);Ft(rn,cn),Ft(Pn,cn);for(var jn=0,Vn=0,Ln=0;jn<rn.length&&Vn<Pn.length;){var mo=cn(rn[jn],Pn[Vn]);Fi[Ln++]=mo<=0?rn[jn++]:Pn[Vn++]}for(;jn<rn.length;)Fi[Ln++]=rn[jn++];for(;Vn<Pn.length;)Fi[Ln++]=Pn[Vn++];return Fi}(p,function(Ft,Fi){var cn=Ft.range.start.line-Fi.range.start.line;return cn===0?Ft.range.start.character-Fi.range.start.character:cn}),He=F.length,Qe=pe.length-1;Qe>=0;Qe--){var Vt=pe[Qe],$t=c.offsetAt(Vt.range.start),ci=c.offsetAt(Vt.range.end);if(!(ci<=He))throw new Error("Overlapping edit");F=F.substring(0,$t)+Vt.newText+F.substring(ci,F.length),He=$t}return F}})(ns||(ns={}));var Ui,or=function(){function x(c,p,F,pe){this._uri=c,this._languageId=p,this._version=F,this._content=pe,this._lineOffsets=void 0}return Object.defineProperty(x.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),x.prototype.getText=function(c){if(c){var p=this.offsetAt(c.start),F=this.offsetAt(c.end);return this._content.substring(p,F)}return this._content},x.prototype.update=function(c,p){this._content=c.text,this._version=p,this._lineOffsets=void 0},x.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var c=[],p=this._content,F=!0,pe=0;pe<p.length;pe++){F&&(c.push(pe),F=!1);var He=p.charAt(pe);F=He==="\r"||He===` +`,He==="\r"&&pe+1<p.length&&p.charAt(pe+1)===` +`&&pe++}F&&p.length>0&&c.push(p.length),this._lineOffsets=c}return this._lineOffsets},x.prototype.positionAt=function(c){c=Math.max(Math.min(c,this._content.length),0);var p=this.getLineOffsets(),F=0,pe=p.length;if(pe===0)return gn.create(0,c);for(;F<pe;){var He=Math.floor((F+pe)/2);p[He]>c?pe=He:F=He+1}var Qe=F-1;return gn.create(Qe,c-p[Qe])},x.prototype.offsetAt=function(c){var p=this.getLineOffsets();if(c.line>=p.length)return this._content.length;if(c.line<0)return 0;var F=p[c.line],pe=c.line+1<p.length?p[c.line+1]:this._content.length;return Math.max(Math.min(F+c.character,pe),F)},Object.defineProperty(x.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),x}();(function(x){var c=Object.prototype.toString;x.defined=function(p){return p!==void 0},x.undefined=function(p){return p===void 0},x.boolean=function(p){return p===!0||p===!1},x.string=function(p){return c.call(p)==="[object String]"},x.number=function(p){return c.call(p)==="[object Number]"},x.func=function(p){return c.call(p)==="[object Function]"},x.objectLiteral=function(p){return p!==null&&typeof p=="object"},x.typedArray=function(p,F){return Array.isArray(p)&&p.every(F)}})(Ui||(Ui={}));var xs,yr,qr,Ss=function(){function x(c,p,F,pe){this._uri=c,this._languageId=p,this._version=F,this._content=pe,this._lineOffsets=void 0}return Object.defineProperty(x.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),x.prototype.getText=function(c){if(c){var p=this.offsetAt(c.start),F=this.offsetAt(c.end);return this._content.substring(p,F)}return this._content},x.prototype.update=function(c,p){for(var F=0,pe=c;F<pe.length;F++){var He=pe[F];if(x.isIncremental(He)){var Qe=us(He.range),Vt=this.offsetAt(Qe.start),$t=this.offsetAt(Qe.end);this._content=this._content.substring(0,Vt)+He.text+this._content.substring($t,this._content.length);var ci=Math.max(Qe.start.line,0),Ft=Math.max(Qe.end.line,0),Fi=this._lineOffsets,cn=hs(He.text,!1,Vt);if(Ft-ci===cn.length)for(var vn=0,rn=cn.length;vn<rn;vn++)Fi[vn+ci+1]=cn[vn];else cn.length<1e4?Fi.splice.apply(Fi,[ci+1,Ft-ci].concat(cn)):this._lineOffsets=Fi=Fi.slice(0,ci+1).concat(cn,Fi.slice(Ft+1));var Pn=He.text.length-($t-Vt);if(Pn!==0)for(vn=ci+1+cn.length,rn=Fi.length;vn<rn;vn++)Fi[vn]=Fi[vn]+Pn}else{if(!x.isFull(He))throw new Error("Unknown change event received");this._content=He.text,this._lineOffsets=void 0}}this._version=p},x.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=hs(this._content,!0)),this._lineOffsets},x.prototype.positionAt=function(c){c=Math.max(Math.min(c,this._content.length),0);var p=this.getLineOffsets(),F=0,pe=p.length;if(pe===0)return{line:0,character:c};for(;F<pe;){var He=Math.floor((F+pe)/2);p[He]>c?pe=He:F=He+1}var Qe=F-1;return{line:Qe,character:c-p[Qe]}},x.prototype.offsetAt=function(c){var p=this.getLineOffsets();if(c.line>=p.length)return this._content.length;if(c.line<0)return 0;var F=p[c.line],pe=c.line+1<p.length?p[c.line+1]:this._content.length;return Math.max(Math.min(F+c.character,pe),F)},Object.defineProperty(x.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),x.isIncremental=function(c){var p=c;return p!=null&&typeof p.text=="string"&&p.range!==void 0&&(p.rangeLength===void 0||typeof p.rangeLength=="number")},x.isFull=function(c){var p=c;return p!=null&&typeof p.text=="string"&&p.range===void 0&&p.rangeLength===void 0},x}();function hs(x,c,p){p===void 0&&(p=0);for(var F=c?[p]:[],pe=0;pe<x.length;pe++){var He=x.charCodeAt(pe);He!==13&&He!==10||(He===13&&pe+1<x.length&&x.charCodeAt(pe+1)===10&&pe++,F.push(p+pe+1))}return F}function us(x){var c=x.start,p=x.end;return c.line>p.line||c.line===p.line&&c.character>p.character?{start:p,end:c}:x}function Ca(x){var c=us(x.range);return c!==x.range?{newText:x.newText,range:c}:x}(function(x){x.create=function(c,p,F,pe){return new Ss(c,p,F,pe)},x.update=function(c,p,F){if(c instanceof Ss)return c.update(p,F),c;throw new Error("TextDocument.update: document must be created by TextDocument.create")},x.applyEdits=function(c,p){for(var F=c.getText(),pe=0,He=[],Qe=0,Vt=function Ft(Fi,cn){if(Fi.length<=1)return Fi;var vn=Fi.length/2|0,rn=Fi.slice(0,vn),Pn=Fi.slice(vn);Ft(rn,cn),Ft(Pn,cn);for(var jn=0,Vn=0,Ln=0;jn<rn.length&&Vn<Pn.length;){var mo=cn(rn[jn],Pn[Vn]);Fi[Ln++]=mo<=0?rn[jn++]:Pn[Vn++]}for(;jn<rn.length;)Fi[Ln++]=rn[jn++];for(;Vn<Pn.length;)Fi[Ln++]=Pn[Vn++];return Fi}(p.map(Ca),function(Ft,Fi){var cn=Ft.range.start.line-Fi.range.start.line;return cn===0?Ft.range.start.character-Fi.range.start.character:cn});Qe<Vt.length;Qe++){var $t=Vt[Qe],ci=c.offsetAt($t.range.start);if(ci<pe)throw new Error("Overlapping edit");ci>pe&&He.push(F.substring(pe,ci)),$t.newText.length&&He.push($t.newText),pe=c.offsetAt($t.range.end)}return He.push(F.substr(pe)),He.join("")}})(xs||(xs={})),(yr||(yr={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Do.Markdown,Do.PlainText]}},hover:{contentFormat:[Do.Markdown,Do.PlainText]}}},function(x){x[x.Unknown=0]="Unknown",x[x.File=1]="File",x[x.Directory=2]="Directory",x[x.SymbolicLink=64]="SymbolicLink"}(qr||(qr={}));var xa=o(144),ks="/".charCodeAt(0),Ir=".".charCodeAt(0);function $r(x){var c=x.lastIndexOf("/");return c!==-1?x.substr(0,c):""}function Vs(x){for(var c=[],p=0,F=x;p<F.length;p++){var pe=F[p];pe.length===0||pe.length===1&&pe.charCodeAt(0)===Ir||(pe.length===2&&pe.charCodeAt(0)===Ir&&pe.charCodeAt(1)===Ir?c.pop():c.push(pe))}x.length>1&&x[x.length-1].length===0&&c.push("");var He=c.join("/");return x[0].length===0&&(He="/"+He),He}function Es(x){for(var c=[],p=1;p<arguments.length;p++)c[p-1]=arguments[p];for(var F=xa.a.parse(x),pe=F.path.split("/"),He=0,Qe=c;He<Qe.length;He++){var Vt=Qe[He];pe.push.apply(pe,Vt.split("/"))}return F.with({path:Vs(pe)}).toString()}var ps=function(x,c,p,F){return new(p||(p=Promise))(function(pe,He){function Qe(ci){try{$t(F.next(ci))}catch(Ft){He(Ft)}}function Vt(ci){try{$t(F.throw(ci))}catch(Ft){He(Ft)}}function $t(ci){var Ft;ci.done?pe(ci.value):(Ft=ci.value,Ft instanceof p?Ft:new p(function(Fi){Fi(Ft)})).then(Qe,Vt)}$t((F=F.apply(x,c||[])).next())})},Us=function(x,c){var p,F,pe,He,Qe={label:0,sent:function(){if(1&pe[0])throw pe[1];return pe[1]},trys:[],ops:[]};return He={next:Vt(0),throw:Vt(1),return:Vt(2)},typeof Symbol=="function"&&(He[Symbol.iterator]=function(){return this}),He;function Vt($t){return function(ci){return function(Ft){if(p)throw new TypeError("Generator is already executing.");for(;Qe;)try{if(p=1,F&&(pe=2&Ft[0]?F.return:Ft[0]?F.throw||((pe=F.return)&&pe.call(F),0):F.next)&&!(pe=pe.call(F,Ft[1])).done)return pe;switch(F=0,pe&&(Ft=[2&Ft[0],pe.value]),Ft[0]){case 0:case 1:pe=Ft;break;case 4:return Qe.label++,{value:Ft[1],done:!1};case 5:Qe.label++,F=Ft[1],Ft=[0];continue;case 7:Ft=Qe.ops.pop(),Qe.trys.pop();continue;default:if(pe=Qe.trys,!((pe=pe.length>0&&pe[pe.length-1])||Ft[0]!==6&&Ft[0]!==2)){Qe=0;continue}if(Ft[0]===3&&(!pe||Ft[1]>pe[0]&&Ft[1]<pe[3])){Qe.label=Ft[1];break}if(Ft[0]===6&&Qe.label<pe[1]){Qe.label=pe[1],pe=Ft;break}if(pe&&Qe.label<pe[2]){Qe.label=pe[2],Qe.ops.push(Ft);break}pe[2]&&Qe.ops.pop(),Qe.trys.pop();continue}Ft=c.call(x,Qe)}catch(Fi){Ft=[6,Fi],F=0}finally{p=pe=0}if(5&Ft[0])throw Ft[1];return{value:Ft[0]?Ft[1]:void 0,done:!0}}([$t,ci])}}},Kr=function(){function x(c){this.readDirectory=c,this.literalCompletions=[],this.importCompletions=[]}return x.prototype.onCssURILiteralValue=function(c){this.literalCompletions.push(c)},x.prototype.onCssImportPath=function(c){this.importCompletions.push(c)},x.prototype.computeCompletions=function(c,p){return ps(this,void 0,void 0,function(){var F,pe,He,Qe,Vt,$t,ci,Ft,Fi,cn,vn,rn,Pn,jn,Vn,Ln,mo;return Us(this,function(yo){switch(yo.label){case 0:F={items:[],isIncomplete:!1},pe=0,He=this.literalCompletions,yo.label=1;case 1:return pe<He.length?(Qe=He[pe],Vt=Qe.uriValue,(Pn=Hs(Vt))!=="."&&Pn!==".."?[3,2]:(F.isIncomplete=!0,[3,4])):[3,5];case 2:return[4,this.providePathSuggestions(Vt,Qe.position,Qe.range,c,p)];case 3:for($t=yo.sent(),ci=0,Ft=$t;ci<Ft.length;ci++)mo=Ft[ci],F.items.push(mo);yo.label=4;case 4:return pe++,[3,1];case 5:Fi=0,cn=this.importCompletions,yo.label=6;case 6:return Fi<cn.length?(vn=cn[Fi],rn=vn.pathValue,(Pn=Hs(rn))!=="."&&Pn!==".."?[3,7]:(F.isIncomplete=!0,[3,9])):[3,10];case 7:return[4,this.providePathSuggestions(rn,vn.position,vn.range,c,p)];case 8:for(jn=yo.sent(),c.languageId==="scss"&&jn.forEach(function(fo){de(fo.label,"_")&&Oe(fo.label,".scss")&&(fo.textEdit?fo.textEdit.newText=fo.label.slice(1,-5):fo.label=fo.label.slice(1,-5))}),Vn=0,Ln=jn;Vn<Ln.length;Vn++)mo=Ln[Vn],F.items.push(mo);yo.label=9;case 9:return Fi++,[3,6];case 10:return[2,F]}})})},x.prototype.providePathSuggestions=function(c,p,F,pe,He){return ps(this,void 0,void 0,function(){var Qe,Vt,$t,ci,Ft,Fi,cn,vn,rn,Pn,jn,Vn,Ln,mo,yo;return Us(this,function(fo){switch(fo.label){case 0:if(Qe=Hs(c),Vt=de(c,"'")||de(c,'"'),$t=Vt?Qe.slice(0,p.character-(F.start.character+1)):Qe.slice(0,p.character-F.start.character),ci=pe.uri,Ft=Vt?function(To,Co,Wo){var Sr=Or(To.start,Co),_s=Or(To.end,Wo);return Sn.create(Sr,_s)}(F,1,-1):F,Fi=function(To,Co,Wo){var Sr,_s=To.lastIndexOf("/");if(_s===-1)Sr=Wo;else{var Ra=Co.slice(_s+1),rs=Or(Wo.end,-Ra.length),tr=Ra.indexOf(" "),da=void 0;da=tr!==-1?Or(rs,tr):Wo.end,Sr=Sn.create(rs,da)}return Sr}($t,Qe,Ft),cn=$t.substring(0,$t.lastIndexOf("/")+1),!(vn=He.resolveReference(cn||".",ci)))return[3,4];fo.label=1;case 1:return fo.trys.push([1,3,,4]),rn=[],[4,this.readDirectory(vn)];case 2:for(Pn=fo.sent(),jn=0,Vn=Pn;jn<Vn.length;jn++)Ln=Vn[jn],mo=Ln[0],yo=Ln[1],mo.charCodeAt(0)===os||yo!==qr.Directory&&Es(vn,mo)===ci||rn.push(ms(mo,yo===qr.Directory,Fi));return[2,rn];case 3:return fo.sent(),[3,4];case 4:return[2,[]]}})})},x}(),os=".".charCodeAt(0);function Hs(x){return de(x,"'")||de(x,'"')?x.slice(1,-1):x}function ms(x,c,p){return c?{label:gs(x+="/"),kind:zn.Folder,textEdit:Tn.replace(p,gs(x)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:gs(x),kind:zn.File,textEdit:Tn.replace(p,gs(x))}}function gs(x){return x.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function Or(x,c){return gn.create(x.line,x.character+c)}var Go,rr=function(x,c,p,F){return new(p||(p=Promise))(function(pe,He){function Qe(ci){try{$t(F.next(ci))}catch(Ft){He(Ft)}}function Vt(ci){try{$t(F.throw(ci))}catch(Ft){He(Ft)}}function $t(ci){var Ft;ci.done?pe(ci.value):(Ft=ci.value,Ft instanceof p?Ft:new p(function(Fi){Fi(Ft)})).then(Qe,Vt)}$t((F=F.apply(x,c||[])).next())})},Sa=function(x,c){var p,F,pe,He,Qe={label:0,sent:function(){if(1&pe[0])throw pe[1];return pe[1]},trys:[],ops:[]};return He={next:Vt(0),throw:Vt(1),return:Vt(2)},typeof Symbol=="function"&&(He[Symbol.iterator]=function(){return this}),He;function Vt($t){return function(ci){return function(Ft){if(p)throw new TypeError("Generator is already executing.");for(;Qe;)try{if(p=1,F&&(pe=2&Ft[0]?F.return:Ft[0]?F.throw||((pe=F.return)&&pe.call(F),0):F.next)&&!(pe=pe.call(F,Ft[1])).done)return pe;switch(F=0,pe&&(Ft=[2&Ft[0],pe.value]),Ft[0]){case 0:case 1:pe=Ft;break;case 4:return Qe.label++,{value:Ft[1],done:!1};case 5:Qe.label++,F=Ft[1],Ft=[0];continue;case 7:Ft=Qe.ops.pop(),Qe.trys.pop();continue;default:if(pe=Qe.trys,!((pe=pe.length>0&&pe[pe.length-1])||Ft[0]!==6&&Ft[0]!==2)){Qe=0;continue}if(Ft[0]===3&&(!pe||Ft[1]>pe[0]&&Ft[1]<pe[3])){Qe.label=Ft[1];break}if(Ft[0]===6&&Qe.label<pe[1]){Qe.label=pe[1],pe=Ft;break}if(pe&&Qe.label<pe[2]){Qe.label=pe[2],Qe.ops.push(Ft);break}pe[2]&&Qe.ops.pop(),Qe.trys.pop();continue}Ft=c.call(x,Qe)}catch(Fi){Ft=[6,Fi],F=0}finally{p=pe=0}if(5&Ft[0])throw Ft[1];return{value:Ft[0]?Ft[1]:void 0,done:!0}}([$t,ci])}}},qs=Gt(),Dr=eo.Snippet;(function(x){x.Enums=" ",x.Normal="d",x.VendorPrefixed="x",x.Term="y",x.Variable="z"})(Go||(Go={}));var Ar=function(){function x(c,p,F){c===void 0&&(c=null),this.variablePrefix=c,this.lsOptions=p,this.cssDataManager=F,this.completionParticipants=[]}return x.prototype.configure=function(c){this.settings=c},x.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new jr(this.styleSheet)),this.symbolContext},x.prototype.setCompletionParticipants=function(c){this.completionParticipants=c||[]},x.prototype.doComplete2=function(c,p,F,pe){return rr(this,void 0,void 0,function(){var He,Qe,Vt,$t;return Sa(this,function(ci){switch(ci.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(c,p,F)];He=new Kr(this.lsOptions.fileSystemProvider.readDirectory),Qe=this.completionParticipants,this.completionParticipants=[He].concat(Qe),Vt=this.doComplete(c,p,F),ci.label=1;case 1:return ci.trys.push([1,,3,4]),[4,He.computeCompletions(c,pe)];case 2:return $t=ci.sent(),[2,{isIncomplete:Vt.isIncomplete||$t.isIncomplete,items:$t.items.concat(Vt.items)}];case 3:return this.completionParticipants=Qe,[7];case 4:return[2]}})})},x.prototype.doComplete=function(c,p,F){this.offset=c.offsetAt(p),this.position=p,this.currentWord=function(ci,Ft){for(var Fi=Ft-1,cn=ci.getText();Fi>=0&&` +\r":{[()]},*>+`.indexOf(cn.charAt(Fi))===-1;)Fi--;return cn.substring(Fi+1,Ft)}(c,this.offset),this.defaultReplaceRange=Sn.create(gn.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=c,this.styleSheet=F;try{var pe={isIncomplete:!1,items:[]};this.nodePath=wt(this.styleSheet,this.offset);for(var He=this.nodePath.length-1;He>=0;He--){var Qe=this.nodePath[He];if(Qe instanceof Ue)this.getCompletionsForDeclarationProperty(Qe.getParent(),pe);else if(Qe instanceof Gn)Qe.parent instanceof Xe?this.getVariableProposals(null,pe):this.getCompletionsForExpression(Qe,pe);else if(Qe instanceof Lt){var Vt=Qe.findAParent(it.ExtendsReference,it.Ruleset);if(Vt)if(Vt.type===it.ExtendsReference)this.getCompletionsForExtendsReference(Vt,Qe,pe);else{var $t=Vt;this.getCompletionsForSelector($t,$t&&$t.isNested(),pe)}}else if(Qe instanceof st)this.getCompletionsForFunctionArgument(Qe,Qe.getParent(),pe);else if(Qe instanceof Ii)this.getCompletionsForDeclarations(Qe,pe);else if(Qe instanceof Fe)this.getCompletionsForVariableDeclaration(Qe,pe);else if(Qe instanceof Zi)this.getCompletionsForRuleSet(Qe,pe);else if(Qe instanceof Xe)this.getCompletionsForInterpolation(Qe,pe);else if(Qe instanceof Ri)this.getCompletionsForFunctionDeclaration(Qe,pe);else if(Qe instanceof Ht)this.getCompletionsForMixinReference(Qe,pe);else if(Qe instanceof ut)this.getCompletionsForFunctionArgument(null,Qe,pe);else if(Qe instanceof Fn)this.getCompletionsForSupports(Qe,pe);else if(Qe instanceof Jn)this.getCompletionsForSupportsCondition(Qe,pe);else if(Qe instanceof Mt)this.getCompletionsForExtendsReference(Qe,null,pe);else if(Qe.type===it.URILiteral)this.getCompletionForUriLiteralValue(Qe,pe);else if(Qe.parent===null)this.getCompletionForTopLevel(pe);else{if(Qe.type!==it.StringLiteral||!this.isImportPathParent(Qe.parent.type))continue;this.getCompletionForImportPath(Qe,pe)}if(pe.items.length>0||this.offset>Qe.offset)return this.finalize(pe)}return this.getCompletionsForStylesheet(pe),pe.items.length===0&&this.variablePrefix&&this.currentWord.indexOf(this.variablePrefix)===0&&this.getVariableProposals(null,pe),this.finalize(pe)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},x.prototype.isImportPathParent=function(c){return c===it.Import},x.prototype.finalize=function(c){return c},x.prototype.findInNodePath=function(){for(var c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];for(var F=this.nodePath.length-1;F>=0;F--){var pe=this.nodePath[F];if(c.indexOf(pe.type)!==-1)return pe}return null},x.prototype.getCompletionsForDeclarationProperty=function(c,p){return this.getPropertyProposals(c,p)},x.prototype.getPropertyProposals=function(c,p){var F=this,pe=this.isTriggerPropertyValueCompletionEnabled,He=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach(function(Qe){var Vt,$t,ci=!1;c?(Vt=F.getCompletionRange(c.getProperty()),$t=Qe.name,ii(c.colonPosition)||($t+=": ",ci=!0)):(Vt=F.getCompletionRange(null),$t=Qe.name+": ",ci=!0),!c&&He&&($t+="$0;"),c&&!c.semicolonPosition&&He&&F.offset>=F.textDocument.offsetAt(Vt.end)&&($t+="$0;");var Ft={label:Qe.name,documentation:Ze(Qe,F.doesSupportMarkdown()),tags:$s(Qe)?[br.Deprecated]:[],textEdit:Tn.replace(Vt,$t),insertTextFormat:eo.Snippet,kind:zn.Property};Qe.restrictions||(ci=!1),pe&&ci&&(Ft.command={title:"Suggest",command:"editor.action.triggerSuggest"});var Fi=(255-(typeof Qe.relevance=="number"?Math.min(Math.max(Qe.relevance,0),99):50)).toString(16),cn=de(Qe.name,"-")?Go.VendorPrefixed:Go.Normal;Ft.sortText=cn+"_"+Fi,p.items.push(Ft)}),this.completionParticipants.forEach(function(Qe){Qe.onCssProperty&&Qe.onCssProperty({propertyName:F.currentWord,range:F.defaultReplaceRange})}),p},Object.defineProperty(x.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||this.settings.completion.triggerPropertyValueCompletion===void 0||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||this.settings.completion.completePropertyWithSemicolon===void 0||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),x.prototype.getCompletionsForDeclarationValue=function(c,p){for(var F=this,pe=c.getFullPropertyName(),He=this.cssDataManager.getProperty(pe),Qe=c.getValue()||null;Qe&&Qe.hasChildren();)Qe=Qe.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach(function(cn){cn.onCssPropertyValue&&cn.onCssPropertyValue({propertyName:pe,propertyValue:F.currentWord,range:F.getCompletionRange(Qe)})}),He){if(He.restrictions)for(var Vt=0,$t=He.restrictions;Vt<$t.length;Vt++)switch($t[Vt]){case"color":this.getColorProposals(He,Qe,p);break;case"position":this.getPositionProposals(He,Qe,p);break;case"repeat":this.getRepeatStyleProposals(He,Qe,p);break;case"line-style":this.getLineStyleProposals(He,Qe,p);break;case"line-width":this.getLineWidthProposals(He,Qe,p);break;case"geometry-box":this.getGeometryBoxProposals(He,Qe,p);break;case"box":this.getBoxProposals(He,Qe,p);break;case"image":this.getImageProposals(He,Qe,p);break;case"timing-function":this.getTimingFunctionProposals(He,Qe,p);break;case"shape":this.getBasicShapeProposals(He,Qe,p)}this.getValueEnumProposals(He,Qe,p),this.getCSSWideKeywordProposals(He,Qe,p),this.getUnitProposals(He,Qe,p)}else for(var ci=0,Ft=function(cn,vn){var rn=vn.getFullPropertyName(),Pn=new ka;function jn(Vn){return(Vn instanceof Wt||Vn instanceof _e||Vn instanceof Dn)&&Pn.add(Vn.getText()),!0}return cn.accept(function(Vn){if(Vn instanceof vt&&Vn!==vn&&function(mo){var yo=mo.getFullPropertyName();return rn===yo}(Vn)){var Ln=Vn.getValue();Ln&&Ln.accept(jn)}return!0}),Pn}(this.styleSheet,c).getEntries();ci<Ft.length;ci++){var Fi=Ft[ci];p.items.push({label:Fi,textEdit:Tn.replace(this.getCompletionRange(Qe),Fi),kind:zn.Value})}return this.getVariableProposals(Qe,p),this.getTermProposals(He,Qe,p),p},x.prototype.getValueEnumProposals=function(c,p,F){if(c.values)for(var pe=0,He=c.values;pe<He.length;pe++){var Qe=He[pe],Vt=Qe.name,$t=void 0;if(Oe(Vt,")")){var ci=Vt.lastIndexOf("(");ci!==-1&&(Vt=Vt.substr(0,ci)+"($1)",$t=Dr)}var Ft=Go.Enums;de(Qe.name,"-")&&(Ft+=Go.VendorPrefixed);var Fi={label:Qe.name,documentation:Ze(Qe,this.doesSupportMarkdown()),tags:$s(c)?[br.Deprecated]:[],textEdit:Tn.replace(this.getCompletionRange(p),Vt),sortText:Ft,kind:zn.Value,insertTextFormat:$t};F.items.push(Fi)}return F},x.prototype.getCSSWideKeywordProposals=function(c,p,F){for(var pe in xt)F.items.push({label:pe,documentation:xt[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});return F},x.prototype.getCompletionsForInterpolation=function(c,p){return this.offset>=c.offset+2&&this.getVariableProposals(null,p),p},x.prototype.getVariableProposals=function(c,p){for(var F=0,pe=this.getSymbolContext().findSymbolsAtOffset(this.offset,At.Variable);F<pe.length;F++){var He=pe[F],Qe=de(He.name,"--")?"var("+He.name+")":He.name,Vt={label:He.name,documentation:He.value?$e(He.value):He.value,textEdit:Tn.replace(this.getCompletionRange(c),Qe),kind:zn.Variable,sortText:Go.Variable};if(typeof Vt.documentation=="string"&&Ts(Vt.documentation)&&(Vt.kind=zn.Color),He.node.type===it.FunctionParameter){var $t=He.node.getParent();$t.type===it.MixinDeclaration&&(Vt.detail=qs("completion.argument","argument from '{0}'",$t.getName()))}p.items.push(Vt)}return p},x.prototype.getVariableProposalsForCSSVarFunction=function(c){for(var p=this.getSymbolContext().findSymbolsAtOffset(this.offset,At.Variable),F=0,pe=p=p.filter(function(Vt){return de(Vt.name,"--")});F<pe.length;F++){var He=pe[F],Qe={label:He.name,documentation:He.value?$e(He.value):He.value,textEdit:Tn.replace(this.getCompletionRange(null),He.name),kind:zn.Variable};typeof Qe.documentation=="string"&&Ts(Qe.documentation)&&(Qe.kind=zn.Color),c.items.push(Qe)}return c},x.prototype.getUnitProposals=function(c,p,F){var pe="0";if(this.currentWord.length>0){var He=this.currentWord.match(/^-?\d[\.\d+]*/);He&&(pe=He[0],F.isIncomplete=pe.length===this.currentWord.length)}else this.currentWord.length===0&&(F.isIncomplete=!0);if(p&&p.parent&&p.parent.type===it.Term&&(p=p.getParent()),c.restrictions)for(var Qe=0,Vt=c.restrictions;Qe<Vt.length;Qe++){var $t=Vt[Qe],ci=ri[$t];if(ci)for(var Ft=0,Fi=ci;Ft<Fi.length;Ft++){var cn=pe+Fi[Ft];F.items.push({label:cn,textEdit:Tn.replace(this.getCompletionRange(p),cn),kind:zn.Unit})}}return F},x.prototype.getCompletionRange=function(c){if(c&&c.offset<=this.offset&&this.offset<=c.end){var p=c.end!==-1?this.textDocument.positionAt(c.end):this.position,F=this.textDocument.positionAt(c.offset);if(F.line===p.line)return Sn.create(F,p)}return this.defaultReplaceRange},x.prototype.getColorProposals=function(c,p,F){for(var pe in ai)F.items.push({label:pe,documentation:ai[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Color});for(var pe in fi)F.items.push({label:pe,documentation:fi[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});var He=new ka;this.styleSheet.acceptVisitor(new Ks(He,this.offset));for(var Qe=0,Vt=He.getEntries();Qe<Vt.length;Qe++)pe=Vt[Qe],F.items.push({label:pe,textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Color});for(var $t=function(cn){var vn=1,rn=cn.func.replace(/\[?\$(\w+)\]?/g,function(Pn,jn){return"${"+vn+++":"+jn+"}"});F.items.push({label:cn.func.substr(0,cn.func.indexOf("(")),detail:cn.func,documentation:cn.desc,textEdit:Tn.replace(ci.getCompletionRange(p),rn),insertTextFormat:Dr,kind:zn.Function})},ci=this,Ft=0,Fi=Ei;Ft<Fi.length;Ft++)$t(Fi[Ft]);return F},x.prototype.getPositionProposals=function(c,p,F){for(var pe in We)F.items.push({label:pe,documentation:We[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});return F},x.prototype.getRepeatStyleProposals=function(c,p,F){for(var pe in Be)F.items.push({label:pe,documentation:Be[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});return F},x.prototype.getLineStyleProposals=function(c,p,F){for(var pe in Le)F.items.push({label:pe,documentation:Le[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});return F},x.prototype.getLineWidthProposals=function(c,p,F){for(var pe=0,He=Ke;pe<He.length;pe++){var Qe=He[pe];F.items.push({label:Qe,textEdit:Tn.replace(this.getCompletionRange(p),Qe),kind:zn.Value})}return F},x.prototype.getGeometryBoxProposals=function(c,p,F){for(var pe in yt)F.items.push({label:pe,documentation:yt[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});return F},x.prototype.getBoxProposals=function(c,p,F){for(var pe in dt)F.items.push({label:pe,documentation:dt[pe],textEdit:Tn.replace(this.getCompletionRange(p),pe),kind:zn.Value});return F},x.prototype.getImageProposals=function(c,p,F){for(var pe in Xt){var He=hr(pe);F.items.push({label:pe,documentation:Xt[pe],textEdit:Tn.replace(this.getCompletionRange(p),He),kind:zn.Function,insertTextFormat:pe!==He?Dr:void 0})}return F},x.prototype.getTimingFunctionProposals=function(c,p,F){for(var pe in mi){var He=hr(pe);F.items.push({label:pe,documentation:mi[pe],textEdit:Tn.replace(this.getCompletionRange(p),He),kind:zn.Function,insertTextFormat:pe!==He?Dr:void 0})}return F},x.prototype.getBasicShapeProposals=function(c,p,F){for(var pe in Yt){var He=hr(pe);F.items.push({label:pe,documentation:Yt[pe],textEdit:Tn.replace(this.getCompletionRange(p),He),kind:zn.Function,insertTextFormat:pe!==He?Dr:void 0})}return F},x.prototype.getCompletionsForStylesheet=function(c){var p=this.styleSheet.findFirstChildBeforeOffset(this.offset);return p?p instanceof Zi?this.getCompletionsForRuleSet(p,c):p instanceof Fn?this.getCompletionsForSupports(p,c):c:this.getCompletionForTopLevel(c)},x.prototype.getCompletionForTopLevel=function(c){var p=this;return this.cssDataManager.getAtDirectives().forEach(function(F){c.items.push({label:F.name,textEdit:Tn.replace(p.getCompletionRange(null),F.name),documentation:Ze(F,p.doesSupportMarkdown()),tags:$s(F)?[br.Deprecated]:[],kind:zn.Keyword})}),this.getCompletionsForSelector(null,!1,c),c},x.prototype.getCompletionsForRuleSet=function(c,p){var F=c.getDeclarations();return F&&F.endsWith("}")&&this.offset>=F.end?this.getCompletionForTopLevel(p):!F||this.offset<=F.offset?this.getCompletionsForSelector(c,c.isNested(),p):this.getCompletionsForDeclarations(c.getDeclarations(),p)},x.prototype.getCompletionsForSelector=function(c,p,F){var pe=this,He=this.findInNodePath(it.PseudoSelector,it.IdentifierSelector,it.ClassSelector,it.ElementNameSelector);if(!He&&this.offset-this.currentWord.length>0&&this.textDocument.getText()[this.offset-this.currentWord.length-1]===":"&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=Sn.create(gn.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach(function(rn){var Pn=hr(rn.name),jn={label:rn.name,textEdit:Tn.replace(pe.getCompletionRange(He),Pn),documentation:Ze(rn,pe.doesSupportMarkdown()),tags:$s(rn)?[br.Deprecated]:[],kind:zn.Function,insertTextFormat:rn.name!==Pn?Dr:void 0};de(rn.name,":-")&&(jn.sortText=Go.VendorPrefixed),F.items.push(jn)}),this.cssDataManager.getPseudoElements().forEach(function(rn){var Pn=hr(rn.name),jn={label:rn.name,textEdit:Tn.replace(pe.getCompletionRange(He),Pn),documentation:Ze(rn,pe.doesSupportMarkdown()),tags:$s(rn)?[br.Deprecated]:[],kind:zn.Function,insertTextFormat:rn.name!==Pn?Dr:void 0};de(rn.name,"::-")&&(jn.sortText=Go.VendorPrefixed),F.items.push(jn)}),!p){for(var Qe=0,Vt=qi;Qe<Vt.length;Qe++){var $t=Vt[Qe];F.items.push({label:$t,textEdit:Tn.replace(this.getCompletionRange(He),$t),kind:zn.Keyword})}for(var ci=0,Ft=an;ci<Ft.length;ci++)$t=Ft[ci],F.items.push({label:$t,textEdit:Tn.replace(this.getCompletionRange(He),$t),kind:zn.Keyword})}var Fi={};Fi[this.currentWord]=!0;var cn=this.textDocument.getText();if(this.styleSheet.accept(function(rn){if(rn.type===it.SimpleSelector&&rn.length>0){var Pn=cn.substr(rn.offset,rn.length);return Pn.charAt(0)!=="."||Fi[Pn]||(Fi[Pn]=!0,F.items.push({label:Pn,textEdit:Tn.replace(pe.getCompletionRange(He),Pn),kind:zn.Keyword})),!1}return!0}),c&&c.isNested()){var vn=c.getSelectors().findFirstChildBeforeOffset(this.offset);vn&&c.getSelectors().getChildren().indexOf(vn)===0&&this.getPropertyProposals(null,F)}return F},x.prototype.getCompletionsForDeclarations=function(c,p){if(!c||this.offset===c.offset)return p;var F=c.findFirstChildBeforeOffset(this.offset);if(!F)return this.getCompletionsForDeclarationProperty(null,p);if(F instanceof gt){var pe=F;if(!ii(pe.colonPosition)||this.offset<=pe.colonPosition)return this.getCompletionsForDeclarationProperty(pe,p);if(ii(pe.semicolonPosition)&&pe.semicolonPosition<this.offset)return this.offset===pe.semicolonPosition+1?p:this.getCompletionsForDeclarationProperty(null,p);if(pe instanceof vt)return this.getCompletionsForDeclarationValue(pe,p)}else F instanceof Mt?this.getCompletionsForExtendsReference(F,null,p):(this.currentWord&&this.currentWord[0]==="@"||F instanceof Zi)&&this.getCompletionsForDeclarationProperty(null,p);return p},x.prototype.getCompletionsForVariableDeclaration=function(c,p){return this.offset&&ii(c.colonPosition)&&this.offset>c.colonPosition&&this.getVariableProposals(c.getValue(),p),p},x.prototype.getCompletionsForExpression=function(c,p){var F=c.getParent();if(F instanceof st)return this.getCompletionsForFunctionArgument(F,F.getParent(),p),p;var pe=c.findParent(it.Declaration);if(!pe)return this.getTermProposals(void 0,null,p),p;var He=c.findChildAtOffset(this.offset,!0);return He?He instanceof _e||He instanceof Wt?this.getCompletionsForDeclarationValue(pe,p):p:this.getCompletionsForDeclarationValue(pe,p)},x.prototype.getCompletionsForFunctionArgument=function(c,p,F){var pe=p.getIdentifier();return pe&&pe.matches("var")&&(p.getArguments().hasChildren()&&p.getArguments().getChild(0)!==c||this.getVariableProposalsForCSSVarFunction(F)),F},x.prototype.getCompletionsForFunctionDeclaration=function(c,p){var F=c.getDeclarations();return F&&this.offset>F.offset&&this.offset<F.end&&this.getTermProposals(void 0,null,p),p},x.prototype.getCompletionsForMixinReference=function(c,p){for(var F=this,pe=0,He=this.getSymbolContext().findSymbolsAtOffset(this.offset,At.Mixin);pe<He.length;pe++){var Qe=He[pe];Qe.node instanceof jt&&p.items.push(this.makeTermProposal(Qe,Qe.node.getParameters(),null))}var Vt=c.getIdentifier()||null;return this.completionParticipants.forEach(function($t){$t.onCssMixinReference&&$t.onCssMixinReference({mixinName:F.currentWord,range:F.getCompletionRange(Vt)})}),p},x.prototype.getTermProposals=function(c,p,F){for(var pe=0,He=this.getSymbolContext().findSymbolsAtOffset(this.offset,At.Function);pe<He.length;pe++){var Qe=He[pe];Qe.node instanceof Ri&&F.items.push(this.makeTermProposal(Qe,Qe.node.getParameters(),p))}return F},x.prototype.makeTermProposal=function(c,p,F){c.node;var pe=p.getChildren().map(function(Qe){return Qe instanceof ze?Qe.getName():Qe.getText()}),He=c.name+"("+pe.map(function(Qe,Vt){return"${"+(Vt+1)+":"+Qe+"}"}).join(", ")+")";return{label:c.name,detail:c.name+"("+pe.join(", ")+")",textEdit:Tn.replace(this.getCompletionRange(F),He),insertTextFormat:Dr,kind:zn.Function,sortText:Go.Term}},x.prototype.getCompletionsForSupportsCondition=function(c,p){var F=c.findFirstChildBeforeOffset(this.offset);if(F){if(F instanceof vt)return!ii(F.colonPosition)||this.offset<=F.colonPosition?this.getCompletionsForDeclarationProperty(F,p):this.getCompletionsForDeclarationValue(F,p);if(F instanceof Jn)return this.getCompletionsForSupportsCondition(F,p)}return ii(c.lParent)&&this.offset>c.lParent&&(!ii(c.rParent)||this.offset<=c.rParent)?this.getCompletionsForDeclarationProperty(null,p):p},x.prototype.getCompletionsForSupports=function(c,p){var F=c.getDeclarations();if(!F||this.offset<=F.offset){var pe=c.findFirstChildBeforeOffset(this.offset);return pe instanceof Jn?this.getCompletionsForSupportsCondition(pe,p):p}return this.getCompletionForTopLevel(p)},x.prototype.getCompletionsForExtendsReference=function(c,p,F){return F},x.prototype.getCompletionForUriLiteralValue=function(c,p){var F,pe,He;if(c.hasChildren()){var Qe=c.getChild(0);F=Qe.getText(),pe=this.position,He=this.getCompletionRange(Qe)}else{F="",pe=this.position;var Vt=this.textDocument.positionAt(c.offset+"url(".length);He=Sn.create(Vt,Vt)}return this.completionParticipants.forEach(function($t){$t.onCssURILiteralValue&&$t.onCssURILiteralValue({uriValue:F,position:pe,range:He})}),p},x.prototype.getCompletionForImportPath=function(c,p){var F=this;return this.completionParticipants.forEach(function(pe){pe.onCssImportPath&&pe.onCssImportPath({pathValue:c.getText(),position:F.position,range:F.getCompletionRange(c)})}),p},x.prototype.doesSupportMarkdown=function(){var c,p,F;if(!ii(this.supportsMarkdown)){if(!ii(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var pe=(F=(p=(c=this.lsOptions.clientCapabilities.textDocument)===null||c===void 0?void 0:c.completion)===null||p===void 0?void 0:p.completionItem)===null||F===void 0?void 0:F.documentationFormat;this.supportsMarkdown=Array.isArray(pe)&&pe.indexOf(Do.Markdown)!==-1}return this.supportsMarkdown},x}();function $s(x){return!(!x.status||x.status!=="nonstandard"&&x.status!=="obsolete")}var ka=function(){function x(){this.entries={}}return x.prototype.add=function(c){this.entries[c]=!0},x.prototype.getEntries=function(){return Object.keys(this.entries)},x}();function hr(x){return x.replace(/\(\)$/,"($1)")}var Ks=function(){function x(c,p){this.entries=c,this.currentOffset=p}return x.prototype.visitNode=function(c){return(c instanceof Dn||c instanceof ut&&Te(c))&&(this.currentOffset<c.offset||c.end<this.currentOffset)&&this.entries.add(c.getText()),!0},x}();function Ts(x){return x.toLowerCase()in ai||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(x)}var Qo,sr=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),ra=Gt(),Ls=function(){function x(){this.parent=null,this.children=null,this.attributes=null}return x.prototype.findAttribute=function(c){if(this.attributes)for(var p=0,F=this.attributes;p<F.length;p++){var pe=F[p];if(pe.name===c)return pe.value}return null},x.prototype.addChild=function(c){c instanceof x&&(c.parent=this),this.children||(this.children=[]),this.children.push(c)},x.prototype.append=function(c){if(this.attributes){var p=this.attributes[this.attributes.length-1];p.value=p.value+c}},x.prototype.prepend=function(c){if(this.attributes){var p=this.attributes[0];p.value=c+p.value}},x.prototype.findRoot=function(){for(var c=this;c.parent&&!(c.parent instanceof qo);)c=c.parent;return c},x.prototype.removeChild=function(c){if(this.children){var p=this.children.indexOf(c);if(p!==-1)return this.children.splice(p,1),!0}return!1},x.prototype.addAttr=function(c,p){this.attributes||(this.attributes=[]);for(var F=0,pe=this.attributes;F<pe.length;F++){var He=pe[F];if(He.name===c)return void(He.value+=" "+p)}this.attributes.push({name:c,value:p})},x.prototype.clone=function(c){c===void 0&&(c=!0);var p=new x;if(this.attributes){p.attributes=[];for(var F=0,pe=this.attributes;F<pe.length;F++){var He=pe[F];p.addAttr(He.name,He.value)}}if(c&&this.children){p.children=[];for(var Qe=0;Qe<this.children.length;Qe++)p.addChild(this.children[Qe].clone())}return p},x.prototype.cloneWithParent=function(){var c=this.clone(!1);return!this.parent||this.parent instanceof qo||this.parent.cloneWithParent().addChild(c),c},x}(),qo=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return sr(c,x),c}(Ls),Ns=function(x){function c(p){var F=x.call(this)||this;return F.addAttr("name",p),F}return sr(c,x),c}(Ls),ar=function(){function x(c){this.quote=c,this.result=[]}return x.prototype.print=function(c){return this.result=[],c instanceof qo?c.children&&this.doPrint(c.children,0):this.doPrint([c],0),[{language:"html",value:this.result.join(` +`)}]},x.prototype.doPrint=function(c,p){for(var F=0,pe=c;F<pe.length;F++){var He=pe[F];this.doPrintElement(He,p),He.children&&this.doPrint(He.children,p+1)}},x.prototype.writeLine=function(c,p){var F=new Array(c+1).join(" ");this.result.push(F+p)},x.prototype.doPrintElement=function(c,p){var F=c.findAttribute("name");if(c instanceof Ns||F==="\u2026")this.writeLine(p,F);else{var pe=["<"];if(F?pe.push(F):pe.push("element"),c.attributes)for(var He=0,Qe=c.attributes;He<Qe.length;He++){var Vt=Qe[He];if(Vt.name!=="name"){pe.push(" "),pe.push(Vt.name);var $t=Vt.value;$t&&(pe.push("="),pe.push(Qo.ensure($t,this.quote)))}}pe.push(">"),this.writeLine(p,pe.join(""))}},x}();(function(x){function c(p){var F=p.match(/^['"](.*)["']$/);return F?F[1]:p}x.ensure=function(p,F){return F+c(p)+F},x.remove=c})(Qo||(Qo={}));var Zt=function(){this.id=0,this.attr=0,this.tag=0};function i(x,c){for(var p=new Ls,F=0,pe=x.getChildren();F<pe.length;F++){var He=pe[F];switch(He.type){case it.SelectorCombinator:if(c){var Qe=He.getText().split("&");if(Qe.length===1){p.addAttr("name",Qe[0]);break}p=c.cloneWithParent(),Qe[0]&&p.findRoot().prepend(Qe[0]);for(var Vt=1;Vt<Qe.length;Vt++){if(Vt>1){var $t=c.cloneWithParent();p.addChild($t.findRoot()),p=$t}p.append(Qe[Vt])}}break;case it.SelectorPlaceholder:if(He.matches("@at-root"))return p;case it.ElementNameSelector:var ci=He.getText();p.addAttr("name",ci==="*"?"element":a(ci));break;case it.ClassSelector:p.addAttr("class",a(He.getText().substring(1)));break;case it.IdentifierSelector:p.addAttr("id",a(He.getText().substring(1)));break;case it.MixinDeclaration:p.addAttr("class",He.getName());break;case it.PseudoSelector:p.addAttr(a(He.getText()),"");break;case it.AttributeSelector:var Ft=He,Fi=Ft.getIdentifier();if(Fi){var cn=Ft.getValue(),vn=Ft.getOperator(),rn=void 0;if(cn&&vn)switch(a(vn.getText())){case"|=":rn=Qo.remove(a(cn.getText()))+"-\u2026";break;case"^=":rn=Qo.remove(a(cn.getText()))+"\u2026";break;case"$=":rn="\u2026"+Qo.remove(a(cn.getText()));break;case"~=":rn=" \u2026 "+Qo.remove(a(cn.getText()))+" \u2026 ";break;case"*=":rn="\u2026"+Qo.remove(a(cn.getText()))+"\u2026";break;default:rn=Qo.remove(a(cn.getText()))}p.addAttr(a(Fi.getText()),rn)}}}return p}function a(x){var c=new ee;c.setSource(x);var p=c.scanUnquotedString();return p?p.text:x}var _=function(){function x(c){this.cssDataManager=c}return x.prototype.selectorToMarkedString=function(c){var p=function(pe){if(pe.matches("@at-root"))return null;var He=new qo,Qe=[],Vt=pe.getParent();if(Vt instanceof Zi)for(var $t=Vt.getParent();$t&&!K($t);){if($t instanceof Zi){if($t.getSelectors().matches("@at-root"))break;Qe.push($t)}$t=$t.getParent()}for(var ci=new R(He),Ft=Qe.length-1;Ft>=0;Ft--){var Fi=Qe[Ft].getSelectors().getChild(0);Fi&&ci.processSelector(Fi)}return ci.processSelector(pe),He}(c);if(p){var F=new ar('"').print(p);return F.push(this.selectorToSpecificityMarkedString(c)),F}return[]},x.prototype.simpleSelectorToMarkedString=function(c){var p=i(c),F=new ar('"').print(p);return F.push(this.selectorToSpecificityMarkedString(c)),F},x.prototype.isPseudoElementIdentifier=function(c){var p=c.match(/^::?([\w-]+)/);return!!p&&!!this.cssDataManager.getPseudoElement("::"+p[1])},x.prototype.selectorToSpecificityMarkedString=function(c){var p=this,F=function(He){for(var Qe=0,Vt=He.getChildren();Qe<Vt.length;Qe++){var $t=Vt[Qe];switch($t.type){case it.IdentifierSelector:pe.id++;break;case it.ClassSelector:case it.AttributeSelector:pe.attr++;break;case it.ElementNameSelector:if($t.matches("*"))break;pe.tag++;break;case it.PseudoSelector:var ci=$t.getText();if(p.isPseudoElementIdentifier(ci))pe.tag++;else{if(ci.match(/^:not/i))break;pe.attr++}}$t.getChildren().length>0&&F($t)}},pe=new Zt;return F(c),ra("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",pe.id,pe.attr,pe.tag)},x}(),R=function(){function x(c){this.prev=null,this.element=c}return x.prototype.processSelector=function(c){var p=null;if(!(this.element instanceof qo)&&c.getChildren().some(function(Ft){return Ft.hasChildren()&&Ft.getChild(0).type===it.SelectorCombinator})){var F=this.element.findRoot();F.parent instanceof qo&&(p=this.element,this.element=F.parent,this.element.removeChild(F),this.prev=null)}for(var pe=0,He=c.getChildren();pe<He.length;pe++){var Qe=He[pe];if(Qe instanceof Lt){if(this.prev instanceof Lt){var Vt=new Ns("\u2026");this.element.addChild(Vt),this.element=Vt}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(i(Qe)),this.element.addChild(new Ns("\u22EE")));var $t=i(Qe,p),ci=$t.findRoot();this.element.addChild(ci),this.element=$t}(Qe instanceof Lt||Qe.type===it.SelectorCombinatorParent||Qe.type===it.SelectorCombinatorShadowPiercingDescendant||Qe.type===it.SelectorCombinatorSibling||Qe.type===it.SelectorCombinatorAllSiblings)&&(this.prev=Qe)}},x}();function K(x){switch(x.type){case it.MixinDeclaration:case it.Stylesheet:return!0}return!1}var we=function(){function x(c,p){this.clientCapabilities=c,this.cssDataManager=p,this.selectorPrinting=new _(p)}return x.prototype.doHover=function(c,p,F){function pe(rn){return Sn.create(c.positionAt(rn.offset),c.positionAt(rn.end))}for(var He=wt(F,c.offsetAt(p)),Qe=null,Vt=0;Vt<He.length;Vt++){var $t=He[Vt];if($t instanceof Bi){Qe={contents:this.selectorPrinting.selectorToMarkedString($t),range:pe($t)};break}if($t instanceof Lt){de($t.getText(),"@")||(Qe={contents:this.selectorPrinting.simpleSelectorToMarkedString($t),range:pe($t)});break}if($t instanceof vt){var ci=$t.getFullPropertyName();(Fi=this.cssDataManager.getProperty(ci))&&(Qe=(cn=Ze(Fi,this.doesSupportMarkdown()))?{contents:cn,range:pe($t)}:null)}else if($t instanceof Kt){var Ft=$t.getText();(Fi=this.cssDataManager.getAtDirective(Ft))&&(Qe=(cn=Ze(Fi,this.doesSupportMarkdown()))?{contents:cn,range:pe($t)}:null)}else if($t instanceof pi&&$t.type===it.PseudoSelector){var Fi,cn,vn=$t.getText();(Fi=vn.slice(0,2)==="::"?this.cssDataManager.getPseudoElement(vn):this.cssDataManager.getPseudoClass(vn))&&(Qe=(cn=Ze(Fi,this.doesSupportMarkdown()))?{contents:cn,range:pe($t)}:null)}}return Qe&&(Qe.contents=this.convertContents(Qe.contents)),Qe},x.prototype.convertContents=function(c){return this.doesSupportMarkdown()||typeof c=="string"?c:"kind"in c?{kind:"plaintext",value:c.value}:Array.isArray(c)?c.map(function(p){return typeof p=="string"?p:p.value}):c.value},x.prototype.doesSupportMarkdown=function(){if(!ii(this.supportsMarkdown)){if(!ii(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var c=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=c&&c.contentFormat&&Array.isArray(c.contentFormat)&&c.contentFormat.indexOf(Do.Markdown)!==-1}return this.supportsMarkdown},x}(),Pe=function(x,c,p,F){return new(p||(p=Promise))(function(pe,He){function Qe(ci){try{$t(F.next(ci))}catch(Ft){He(Ft)}}function Vt(ci){try{$t(F.throw(ci))}catch(Ft){He(Ft)}}function $t(ci){var Ft;ci.done?pe(ci.value):(Ft=ci.value,Ft instanceof p?Ft:new p(function(Fi){Fi(Ft)})).then(Qe,Vt)}$t((F=F.apply(x,c||[])).next())})},Ve=function(x,c){var p,F,pe,He,Qe={label:0,sent:function(){if(1&pe[0])throw pe[1];return pe[1]},trys:[],ops:[]};return He={next:Vt(0),throw:Vt(1),return:Vt(2)},typeof Symbol=="function"&&(He[Symbol.iterator]=function(){return this}),He;function Vt($t){return function(ci){return function(Ft){if(p)throw new TypeError("Generator is already executing.");for(;Qe;)try{if(p=1,F&&(pe=2&Ft[0]?F.return:Ft[0]?F.throw||((pe=F.return)&&pe.call(F),0):F.next)&&!(pe=pe.call(F,Ft[1])).done)return pe;switch(F=0,pe&&(Ft=[2&Ft[0],pe.value]),Ft[0]){case 0:case 1:pe=Ft;break;case 4:return Qe.label++,{value:Ft[1],done:!1};case 5:Qe.label++,F=Ft[1],Ft=[0];continue;case 7:Ft=Qe.ops.pop(),Qe.trys.pop();continue;default:if(pe=Qe.trys,!((pe=pe.length>0&&pe[pe.length-1])||Ft[0]!==6&&Ft[0]!==2)){Qe=0;continue}if(Ft[0]===3&&(!pe||Ft[1]>pe[0]&&Ft[1]<pe[3])){Qe.label=Ft[1];break}if(Ft[0]===6&&Qe.label<pe[1]){Qe.label=pe[1],pe=Ft;break}if(pe&&Qe.label<pe[2]){Qe.label=pe[2],Qe.ops.push(Ft);break}pe[2]&&Qe.ops.pop(),Qe.trys.pop();continue}Ft=c.call(x,Qe)}catch(Fi){Ft=[6,Fi],F=0}finally{p=pe=0}if(5&Ft[0])throw Ft[1];return{value:Ft[0]?Ft[1]:void 0,done:!0}}([$t,ci])}}},Je=Gt(),at=function(){function x(c){this.fileSystemProvider=c}return x.prototype.findDefinition=function(c,p,F){var pe=new jr(F),He=_i(F,c.offsetAt(p));if(!He)return null;var Qe=pe.findSymbolFromNode(He);return Qe?{uri:c.uri,range:bt(Qe.node,c)}:null},x.prototype.findReferences=function(c,p,F){return this.findDocumentHighlights(c,p,F).map(function(pe){return{uri:c.uri,range:pe.range}})},x.prototype.findDocumentHighlights=function(c,p,F){var pe=[],He=_i(F,c.offsetAt(p));if(!He||He.type===it.Stylesheet||He.type===it.Declarations)return pe;He.type===it.Identifier&&He.parent&&He.parent.type===it.ClassSelector&&(He=He.parent);var Qe=new jr(F),Vt=Qe.findSymbolFromNode(He),$t=He.getText();return F.accept(function(ci){if(Vt){if(Qe.matchesSymbol(ci,Vt))return pe.push({kind:Bt(ci),range:bt(ci,c)}),!1}else He&&He.type===ci.type&&ci.matches($t)&&pe.push({kind:Bt(ci),range:bt(ci,c)});return!0}),pe},x.prototype.isRawStringDocumentLinkNode=function(c){return c.type===it.Import},x.prototype.findDocumentLinks=function(c,p,F){for(var pe=this.findUnresolvedLinks(c,p),He=0;He<pe.length;He++){var Qe=pe[He].target;if(Qe&&!/^\w+:\/\//g.test(Qe)){var Vt=F.resolveReference(Qe,c.uri);Vt&&(pe[He].target=Vt)}}return pe},x.prototype.findDocumentLinks2=function(c,p,F){return Pe(this,void 0,void 0,function(){var pe,He,Qe,Vt,$t,ci,Ft;return Ve(this,function(Fi){switch(Fi.label){case 0:pe=this.findUnresolvedLinks(c,p),He=[],Qe=0,Vt=pe,Fi.label=1;case 1:return Qe<Vt.length?($t=Vt[Qe],!(ci=$t.target)||/^\w+:\/\//g.test(ci)?[3,3]:[4,this.resolveRelativeReference(ci,c.uri,F)]):[3,5];case 2:return(Ft=Fi.sent())!==void 0&&($t.target=Ft,He.push($t)),[3,4];case 3:He.push($t),Fi.label=4;case 4:return Qe++,[3,1];case 5:return[2,He]}})})},x.prototype.findUnresolvedLinks=function(c,p){var F=this,pe=[],He=function(Qe){var Vt=Qe.getText(),$t=bt(Qe,c);$t.start.line===$t.end.line&&$t.start.character===$t.end.character||((de(Vt,"'")||de(Vt,'"'))&&(Vt=Vt.slice(1,-1)),pe.push({target:Vt,range:$t}))};return p.accept(function(Qe){if(Qe.type===it.URILiteral){var Vt=Qe.getChild(0);return Vt&&He(Vt),!1}if(Qe.parent&&F.isRawStringDocumentLinkNode(Qe.parent)){var $t=Qe.getText();return(de($t,"'")||de($t,'"'))&&He(Qe),!1}return!0}),pe},x.prototype.findDocumentSymbols=function(c,p){var F=[];return p.accept(function(pe){var He={name:null,kind:dr.Class,location:null},Qe=pe;if(pe instanceof Bi)return He.name=pe.getText(),(Qe=pe.findAParent(it.Ruleset,it.ExtendsReference))&&(He.location=En.create(c.uri,bt(Qe,c)),F.push(He)),!1;if(pe instanceof Fe)He.name=pe.getName(),He.kind=dr.Variable;else if(pe instanceof jt)He.name=pe.getName(),He.kind=dr.Method;else if(pe instanceof Ri)He.name=pe.getName(),He.kind=dr.Function;else if(pe instanceof kt)He.name=Je("literal.keyframes","@keyframes {0}",pe.getName());else if(pe instanceof Hi)He.name=Je("literal.fontface","@font-face");else if(pe instanceof bn){var Vt=pe.getChild(0);Vt instanceof Nn&&(He.name="@media "+Vt.getText(),He.kind=dr.Module)}return He.name&&(He.location=En.create(c.uri,bt(Qe,c)),F.push(He)),!0}),F},x.prototype.findDocumentColors=function(c,p){var F=[];return p.accept(function(pe){var He=function(Qe,Vt){var $t=Re(Qe);if($t){var ci=bt(Qe,Vt);return{color:$t,range:ci}}return null}(pe,c);return He&&F.push(He),!0}),F},x.prototype.getColorPresentations=function(c,p,F,pe){var He,Qe=[],Vt=Math.round(255*F.red),$t=Math.round(255*F.green),ci=Math.round(255*F.blue);He=F.alpha===1?"rgb("+Vt+", "+$t+", "+ci+")":"rgba("+Vt+", "+$t+", "+ci+", "+F.alpha+")",Qe.push({label:He,textEdit:Tn.replace(pe,He)}),He=F.alpha===1?"#"+Pt(Vt)+Pt($t)+Pt(ci):"#"+Pt(Vt)+Pt($t)+Pt(ci)+Pt(Math.round(255*F.alpha)),Qe.push({label:He,textEdit:Tn.replace(pe,He)});var Ft=function(Fi){var cn=Fi.red,vn=Fi.green,rn=Fi.blue,Pn=Fi.alpha,jn=Math.max(cn,vn,rn),Vn=Math.min(cn,vn,rn),Ln=0,mo=0,yo=(Vn+jn)/2,fo=jn-Vn;if(fo>0){switch(mo=Math.min(yo<=.5?fo/(2*yo):fo/(2-2*yo),1),jn){case cn:Ln=(vn-rn)/fo+(vn<rn?6:0);break;case vn:Ln=(rn-cn)/fo+2;break;case rn:Ln=(cn-vn)/fo+4}Ln*=60,Ln=Math.round(Ln)}return{h:Ln,s:mo,l:yo,a:Pn}}(F);return He=Ft.a===1?"hsl("+Ft.h+", "+Math.round(100*Ft.s)+"%, "+Math.round(100*Ft.l)+"%)":"hsla("+Ft.h+", "+Math.round(100*Ft.s)+"%, "+Math.round(100*Ft.l)+"%, "+Ft.a+")",Qe.push({label:He,textEdit:Tn.replace(pe,He)}),Qe},x.prototype.doRename=function(c,p,F,pe){var He,Qe=this.findDocumentHighlights(c,p,pe).map(function(Vt){return Tn.replace(Vt.range,F)});return{changes:(He={},He[c.uri]=Qe,He)}},x.prototype.resolveRelativeReference=function(c,p,F){return Pe(this,void 0,void 0,function(){var pe,He,Qe,Vt,$t;return Ve(this,function(ci){switch(ci.label){case 0:return c[0]==="~"&&c[1]!=="/"&&this.fileSystemProvider?(c=c.substring(1),de(p,"file://")?(pe=function(Ft){return Ft[0]==="@"?Ft.substring(0,Ft.indexOf("/",Ft.indexOf("/")+1)):Ft.substring(0,Ft.indexOf("/"))}(c),He=F.resolveReference("/",p),Qe=$r(p),[4,this.resolvePathToModule(pe,Qe,He)]):[3,2]):[3,3];case 1:if(Vt=ci.sent())return $t=c.substring(pe.length+1),[2,Es(Vt,$t)];ci.label=2;case 2:case 3:return[2,F.resolveReference(c,p)]}})})},x.prototype.resolvePathToModule=function(c,p,F){return Pe(this,void 0,void 0,function(){var pe;return Ve(this,function(He){switch(He.label){case 0:return pe=Es(p,"node_modules",c,"package.json"),[4,this.fileExists(pe)];case 1:return He.sent()?[2,$r(pe)]:F&&p.startsWith(F)&&p.length!==F.length?[2,this.resolvePathToModule(c,$r(p),F)]:[2,void 0]}})})},x.prototype.fileExists=function(c){return Pe(this,void 0,void 0,function(){var p;return Ve(this,function(F){switch(F.label){case 0:if(!this.fileSystemProvider)return[2,!1];F.label=1;case 1:return F.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(c)];case 2:return(p=F.sent()).type===qr.Unknown&&p.size===-1?[2,!1]:[2,!0];case 3:return F.sent(),[2,!1];case 4:return[2]}})})},x}();function bt(x,c){return Sn.create(c.positionAt(x.offset),c.positionAt(x.end))}function Bt(x){if(x.type===it.Selector||x instanceof Wt&&x.parent&&x.parent instanceof Ue&&x.isCustomProperty)return Ur.Write;if(x.parent)switch(x.parent.type){case it.FunctionDeclaration:case it.MixinDeclaration:case it.Keyframe:case it.VariableDeclaration:case it.FunctionParameter:return Ur.Write}return Ur.Read}function Pt(x){var c=x.toString(16);return c.length!==2?"0"+c:c}var ni=Gt(),Ci=Ni.Warning,Vi=Ni.Error,Mi=Ni.Ignore,zi=function(x,c,p){this.id=x,this.message=c,this.defaultValue=p},Yi=function(x,c,p){this.id=x,this.message=c,this.defaultValue=p},Gi={AllVendorPrefixes:new zi("compatibleVendorPrefixes",ni("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),Mi),IncludeStandardPropertyWhenUsingVendorPrefix:new zi("vendorPrefix",ni("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),Ci),DuplicateDeclarations:new zi("duplicateProperties",ni("rule.duplicateDeclarations","Do not use duplicate style definitions"),Mi),EmptyRuleSet:new zi("emptyRules",ni("rule.emptyRuleSets","Do not use empty rulesets"),Ci),ImportStatemement:new zi("importStatement",ni("rule.importDirective","Import statements do not load in parallel"),Mi),BewareOfBoxModelSize:new zi("boxModel",ni("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),Mi),UniversalSelector:new zi("universalSelector",ni("rule.universalSelector","The universal selector (*) is known to be slow"),Mi),ZeroWithUnit:new zi("zeroUnits",ni("rule.zeroWidthUnit","No unit for zero needed"),Mi),RequiredPropertiesForFontFace:new zi("fontFaceProperties",ni("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),Ci),HexColorLength:new zi("hexColorLength",ni("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),Vi),ArgsInColorFunction:new zi("argumentsInColorFunction",ni("rule.colorFunction","Invalid number of parameters"),Vi),UnknownProperty:new zi("unknownProperties",ni("rule.unknownProperty","Unknown property."),Ci),UnknownAtRules:new zi("unknownAtRules",ni("rule.unknownAtRules","Unknown at-rule."),Ci),IEStarHack:new zi("ieHack",ni("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),Mi),UnknownVendorSpecificProperty:new zi("unknownVendorSpecificProperties",ni("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),Mi),PropertyIgnoredDueToDisplay:new zi("propertyIgnoredDueToDisplay",ni("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),Ci),AvoidImportant:new zi("important",ni("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),Mi),AvoidFloat:new zi("float",ni("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),Mi),AvoidIdSelector:new zi("idSelector",ni("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),Mi)},wn={ValidProperties:new Yi("validProperties",ni("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},nn=function(){function x(c){c===void 0&&(c={}),this.conf=c}return x.prototype.getRule=function(c){if(this.conf.hasOwnProperty(c.id)){var p=function(F){switch(F){case"ignore":return Ni.Ignore;case"warning":return Ni.Warning;case"error":return Ni.Error}return null}(this.conf[c.id]);if(p)return p}return c.defaultValue},x.prototype.getSetting=function(c){return this.conf[c.id]},x}(),Wn=Gt(),An=function(){function x(c){this.cssDataManager=c}return x.prototype.doCodeActions=function(c,p,F,pe){return this.doCodeActions2(c,p,F,pe).map(function(He){var Qe=He.edit&&He.edit.documentChanges&&He.edit.documentChanges[0];return po.create(He.title,"_css.applyCodeAction",c.uri,c.version,Qe&&Qe.edits)})},x.prototype.doCodeActions2=function(c,p,F,pe){var He=[];if(F.diagnostics)for(var Qe=0,Vt=F.diagnostics;Qe<Vt.length;Qe++){var $t=Vt[Qe];this.appendFixesForMarker(c,pe,$t,He)}return He},x.prototype.getFixesForUnknownProperty=function(c,p,F,pe){var He=p.getName(),Qe=[];this.cssDataManager.getProperties().forEach(function(jn){var Vn=function(Ln,mo,yo){yo===void 0&&(yo=4);var fo=Math.abs(Ln.length-mo.length);if(fo>yo)return 0;var To,Co,Wo=[],Sr=[];for(To=0;To<mo.length+1;++To)Sr.push(0);for(To=0;To<Ln.length+1;++To)Wo.push(Sr);for(To=1;To<Ln.length+1;++To)for(Co=1;Co<mo.length+1;++Co)Ln[To-1]===mo[Co-1]?Wo[To][Co]=Wo[To-1][Co-1]+1:Wo[To][Co]=Math.max(Wo[To-1][Co],Wo[To][Co-1]);return Wo[Ln.length][mo.length]-Math.sqrt(fo)}(He,jn.name);Vn>=He.length/2&&Qe.push({property:jn.name,score:Vn})}),Qe.sort(function(jn,Vn){return Vn.score-jn.score||jn.property.localeCompare(Vn.property)});for(var Vt=3,$t=0,ci=Qe;$t<ci.length;$t++){var Ft=ci[$t].property,Fi=Wn("css.codeaction.rename","Rename to '{0}'",Ft),cn=Tn.replace(F.range,Ft),vn=Cn.create(c.uri,c.version),rn={documentChanges:[No.create(vn,[cn])]},Pn=Hr.create(Fi,rn,zo.QuickFix);if(Pn.diagnostics=[F],pe.push(Pn),--Vt<=0)return}},x.prototype.appendFixesForMarker=function(c,p,F,pe){if(F.code===Gi.UnknownProperty.id)for(var He=c.offsetAt(F.range.start),Qe=c.offsetAt(F.range.end),Vt=wt(p,He),$t=Vt.length-1;$t>=0;$t--){var ci=Vt[$t];if(ci instanceof vt){var Ft=ci.getProperty();if(Ft&&Ft.offset===He&&Ft.end===Qe)return void this.getFixesForUnknownProperty(c,Ft,F,pe)}}},x}(),qn=function(x){this.fullPropertyName=x.getFullPropertyName().toLowerCase(),this.node=x};function ro(x,c,p,F){var pe=x[c];pe.value=p,p&&(mn(pe.properties,F)||pe.properties.push(F))}function Un(x,c,p,F){c==="top"||c==="right"||c==="bottom"||c==="left"?ro(x,c,p,F):function(pe,He,Qe){ro(pe,"top",He,Qe),ro(pe,"right",He,Qe),ro(pe,"bottom",He,Qe),ro(pe,"left",He,Qe)}(x,p,F)}function Lo(x,c,p){switch(c.length){case 1:Un(x,void 0,c[0],p);break;case 2:Un(x,"top",c[0],p),Un(x,"bottom",c[0],p),Un(x,"right",c[1],p),Un(x,"left",c[1],p);break;case 3:Un(x,"top",c[0],p),Un(x,"right",c[1],p),Un(x,"left",c[1],p),Un(x,"bottom",c[2],p);break;case 4:Un(x,"top",c[0],p),Un(x,"right",c[1],p),Un(x,"bottom",c[2],p),Un(x,"left",c[3],p)}}function Ao(x,c){for(var p=0,F=c;p<F.length;p++){var pe=F[p];if(x.matches(pe))return!0}return!1}function Bo(x,c){return c===void 0&&(c=!0),(!c||!Ao(x,["initial","unset"]))&&parseFloat(x.getText())!==0}function jo(x,c){return c===void 0&&(c=!0),x.map(function(p){return Bo(p,c)})}function $o(x,c){return c===void 0&&(c=!0),!Ao(x,["none","hidden"])&&(!c||!Ao(x,["initial","unset"]))}function Po(x,c){return c===void 0&&(c=!0),x.map(function(p){return $o(p,c)})}function Rr(x){var c=x.getChildren();if(c.length===1)return Bo(pe=c[0])&&$o(pe);for(var p=0,F=c;p<F.length;p++){var pe;if(!Bo(pe=F[p],!1)||!$o(pe,!1))return!1}return!0}var Fo=Gt(),Gr=function(){function x(){this.data={}}return x.prototype.add=function(c,p,F){var pe=this.data[c];pe||(pe={nodes:[],names:[]},this.data[c]=pe),pe.names.push(p),F&&pe.nodes.push(F)},x}(),Is=function(){function x(c,p,F){var pe=this;this.cssDataManager=F,this.warnings=[],this.settings=p,this.documentText=c.getText(),this.keyframes=new Gr,this.validProperties={};var He=p.getSetting(wn.ValidProperties);Array.isArray(He)&&He.forEach(function(Qe){if(typeof Qe=="string"){var Vt=Qe.trim().toLowerCase();Vt.length&&(pe.validProperties[Vt]=!0)}})}return x.entries=function(c,p,F,pe,He){var Qe=new x(p,F,pe);return c.acceptVisitor(Qe),Qe.completeValidations(),Qe.getEntries(He)},x.prototype.isValidPropertyDeclaration=function(c){var p=c.fullPropertyName;return this.validProperties[p]},x.prototype.fetch=function(c,p){for(var F=[],pe=0,He=c;pe<He.length;pe++){var Qe=He[pe];Qe.fullPropertyName===p&&F.push(Qe)}return F},x.prototype.fetchWithValue=function(c,p,F){for(var pe=[],He=0,Qe=c;He<Qe.length;He++){var Vt=Qe[He];if(Vt.fullPropertyName===p){var $t=Vt.node.getValue();$t&&this.findValueInExpression($t,F)&&pe.push(Vt)}}return pe},x.prototype.findValueInExpression=function(c,p){var F=!1;return c.accept(function(pe){return pe.type===it.Identifier&&pe.matches(p)&&(F=!0),!F}),F},x.prototype.getEntries=function(c){return c===void 0&&(c=Ni.Warning|Ni.Error),this.warnings.filter(function(p){return(p.getLevel()&c)!=0})},x.prototype.addEntry=function(c,p,F){var pe=new ae(c,p,this.settings.getRule(p),F);this.warnings.push(pe)},x.prototype.getMissingNames=function(c,p){for(var F=c.slice(0),pe=0;pe<p.length;pe++){var He=F.indexOf(p[pe]);He!==-1&&(F[He]=null)}var Qe=null;for(pe=0;pe<F.length;pe++){var Vt=F[pe];Vt&&(Qe=Qe===null?Fo("namelist.single","'{0}'",Vt):Fo("namelist.concatenated","{0}, '{1}'",Qe,Vt))}return Qe},x.prototype.visitNode=function(c){switch(c.type){case it.UnknownAtRule:return this.visitUnknownAtRule(c);case it.Keyframe:return this.visitKeyframe(c);case it.FontFace:return this.visitFontFace(c);case it.Ruleset:return this.visitRuleSet(c);case it.SimpleSelector:return this.visitSimpleSelector(c);case it.Function:return this.visitFunction(c);case it.NumericValue:return this.visitNumericValue(c);case it.Import:return this.visitImport(c);case it.HexColorValue:return this.visitHexColorValue(c);case it.Prio:return this.visitPrio(c)}return!0},x.prototype.completeValidations=function(){this.validateKeyframes()},x.prototype.visitUnknownAtRule=function(c){var p=c.getChild(0);return!!p&&!this.cssDataManager.getAtDirective(p.getText())&&(this.addEntry(p,Gi.UnknownAtRules,"Unknown at rule "+p.getText()),!0)},x.prototype.visitKeyframe=function(c){var p=c.getKeyword();if(!p)return!1;var F=p.getText();return this.keyframes.add(c.getName(),F,F!=="@keyframes"?p:null),!0},x.prototype.validateKeyframes=function(){var c=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var p in this.keyframes.data){var F=this.keyframes.data[p].names,pe=F.indexOf("@keyframes")===-1;if(pe||F.length!==1){var He=this.getMissingNames(c,F);if(He||pe)for(var Qe=0,Vt=this.keyframes.data[p].nodes;Qe<Vt.length;Qe++){var $t=Vt[Qe];if(pe){var ci=Fo("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry($t,Gi.IncludeStandardPropertyWhenUsingVendorPrefix,ci)}He&&(ci=Fo("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",He),this.addEntry($t,Gi.AllVendorPrefixes,ci))}}}return!0},x.prototype.visitSimpleSelector=function(c){var p=this.documentText.charAt(c.offset);return c.length===1&&p==="*"&&this.addEntry(c,Gi.UniversalSelector),p==="#"&&this.addEntry(c,Gi.AvoidIdSelector),!0},x.prototype.visitImport=function(c){return this.addEntry(c,Gi.ImportStatemement),!0},x.prototype.visitRuleSet=function(c){var p=c.getDeclarations();if(!p)return!1;p.hasChildren()||this.addEntry(c.getSelectors(),Gi.EmptyRuleSet);for(var F=[],pe=0,He=p.getChildren();pe<He.length;pe++)(Co=He[pe])instanceof vt&&F.push(new qn(Co));var Qe=function(el){for(var kr={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},Vo=0,Ll=el;Vo<Ll.length;Vo++){var Fr=Ll[Vo],vs=Fr.node.value;if(vs!==void 0)switch(Fr.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":kr.width=Fr;break;case"height":kr.height=Fr;break;default:var Ps=Fr.fullPropertyName.split("-");switch(Ps[0]){case"border":switch(Ps[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(Ps[2]){case void 0:Un(kr,Ps[1],Rr(vs),Fr);break;case"width":Un(kr,Ps[1],Bo(vs,!1),Fr);break;case"style":Un(kr,Ps[1],$o(vs,!0),Fr)}break;case"width":Lo(kr,jo(vs.getChildren(),!1),Fr);break;case"style":Lo(kr,Po(vs.getChildren(),!0),Fr)}break;case"padding":Ps.length===1?Lo(kr,jo(vs.getChildren(),!0),Fr):Un(kr,Ps[1],Bo(vs,!0),Fr)}}}return kr}(F);if(Qe.width){var Vt=[];if(Qe.right.value&&(Vt=sn(Vt,Qe.right.properties)),Qe.left.value&&(Vt=sn(Vt,Qe.left.properties)),Vt.length!==0){for(var $t=0,ci=Vt;$t<ci.length;$t++){var Ft=ci[$t];this.addEntry(Ft.node,Gi.BewareOfBoxModelSize)}this.addEntry(Qe.width.node,Gi.BewareOfBoxModelSize)}}if(Qe.height&&(Vt=[],Qe.top.value&&(Vt=sn(Vt,Qe.top.properties)),Qe.bottom.value&&(Vt=sn(Vt,Qe.bottom.properties)),Vt.length!==0)){for(var Fi=0,cn=Vt;Fi<cn.length;Fi++)Ft=cn[Fi],this.addEntry(Ft.node,Gi.BewareOfBoxModelSize);this.addEntry(Qe.height.node,Gi.BewareOfBoxModelSize)}var vn=this.fetchWithValue(F,"display","inline");if(vn.length>0)for(var rn=0,Pn=["width","height","margin-top","margin-bottom","float"];rn<Pn.length;rn++)for(var jn=Pn[rn],Vn=this.fetch(F,jn),Ln=0;Ln<Vn.length;Ln++){var mo=Vn[Ln].node,yo=mo.getValue();(jn!=="float"||yo&&!yo.matches("none"))&&this.addEntry(mo,Gi.PropertyIgnoredDueToDisplay,Fo("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((vn=this.fetchWithValue(F,"display","inline-block")).length>0)for(Vn=this.fetch(F,"float"),Ln=0;Ln<Vn.length;Ln++){var fo=Vn[Ln].node;(yo=fo.getValue())&&!yo.matches("none")&&this.addEntry(fo,Gi.PropertyIgnoredDueToDisplay,Fo("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((vn=this.fetchWithValue(F,"display","block")).length>0)for(Vn=this.fetch(F,"vertical-align"),Ln=0;Ln<Vn.length;Ln++)this.addEntry(Vn[Ln].node,Gi.PropertyIgnoredDueToDisplay,Fo("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var To=this.fetch(F,"float");for(Ln=0;Ln<To.length;Ln++){var Co=To[Ln];this.isValidPropertyDeclaration(Co)||this.addEntry(Co.node,Gi.AvoidFloat)}for(var Wo=0;Wo<F.length;Wo++)if((Co=F[Wo]).fullPropertyName!=="background"&&!this.validProperties[Co.fullPropertyName]&&(yo=Co.node.getValue())&&this.documentText.charAt(yo.offset)!=="-"){var Sr=this.fetch(F,Co.fullPropertyName);if(Sr.length>1)for(var _s=0;_s<Sr.length;_s++){var Ra=Sr[_s].node.getValue();Ra&&this.documentText.charAt(Ra.offset)!=="-"&&Sr[_s]!==Co&&this.addEntry(Co.node,Gi.DuplicateDeclarations)}}if(!c.getSelectors().matches(":export")){for(var rs=new Gr,tr=!1,da=0,ec=F;da<ec.length;da++){var ta=(Co=ec[da]).node;if(this.isCSSDeclaration(ta)){var Pr=Co.fullPropertyName,Za=Pr.charAt(0);if(Za==="-"){if(Pr.charAt(1)!=="-"){this.cssDataManager.isKnownProperty(Pr)||this.validProperties[Pr]||this.addEntry(ta.getProperty(),Gi.UnknownVendorSpecificProperty);var Ma=ta.getNonPrefixedPropertyName();rs.add(Ma,Pr,ta.getProperty())}}else{var ha=Pr;Za!=="*"&&Za!=="_"||(this.addEntry(ta.getProperty(),Gi.IEStarHack),Pr=Pr.substr(1)),this.cssDataManager.isKnownProperty(ha)||this.cssDataManager.isKnownProperty(Pr)||this.validProperties[Pr]||this.addEntry(ta.getProperty(),Gi.UnknownProperty,Fo("property.unknownproperty.detailed","Unknown property: '{0}'",ta.getFullPropertyName())),rs.add(Pr,Pr,null)}}else tr=!0}if(!tr)for(var ua in rs.data){var kl=rs.data[ua],Ms=kl.names,Pa=this.cssDataManager.isStandardProperty(ua)&&Ms.indexOf(ua)===-1;if(Pa||Ms.length!==1){for(var Xa=[],tc=(Wo=0,x.prefixes.length);Wo<tc;Wo++){var El=x.prefixes[Wo];this.cssDataManager.isStandardProperty(El+ua)&&Xa.push(El+ua)}var Qa=this.getMissingNames(Xa,Ms);if(Qa||Pa)for(var Jo=0,Ja=kl.nodes;Jo<Ja.length;Jo++){var pa=Ja[Jo];if(Pa){var Tl=Fo("property.standard.missing","Also define the standard property '{0}' for compatibility",ua);this.addEntry(pa,Gi.IncludeStandardPropertyWhenUsingVendorPrefix,Tl)}Qa&&(Tl=Fo("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",Qa),this.addEntry(pa,Gi.AllVendorPrefixes,Tl))}}}}return!0},x.prototype.visitPrio=function(c){return this.addEntry(c,Gi.AvoidImportant),!0},x.prototype.visitNumericValue=function(c){var p=c.findParent(it.Function);if(p&&p.getName()==="calc")return!0;var F=c.findParent(it.Declaration);if(F&&F.getValue()){var pe=c.getValue();if(!pe.unit||ri.length.indexOf(pe.unit.toLowerCase())===-1)return!0;parseFloat(pe.value)===0&&pe.unit&&!this.validProperties[F.getFullPropertyName()]&&this.addEntry(c,Gi.ZeroWithUnit)}return!0},x.prototype.visitFontFace=function(c){var p=c.getDeclarations();if(!p)return!1;for(var F=!1,pe=!1,He=!1,Qe=0,Vt=p.getChildren();Qe<Vt.length;Qe++){var $t=Vt[Qe];if(this.isCSSDeclaration($t)){var ci=$t.getProperty().getName().toLowerCase();ci==="src"&&(F=!0),ci==="font-family"&&(pe=!0)}else He=!0}return He||F&&pe||this.addEntry(c,Gi.RequiredPropertiesForFontFace),!0},x.prototype.isCSSDeclaration=function(c){if(c instanceof vt){if(!c.getValue())return!1;var p=c.getProperty();if(!p)return!1;var F=p.getIdentifier();return!(!F||F.containsInterpolation())}return!1},x.prototype.visitHexColorValue=function(c){var p=c.length;return p!==9&&p!==7&&p!==5&&p!==4&&this.addEntry(c,Gi.HexColorLength),!1},x.prototype.visitFunction=function(c){var p=c.getName().toLowerCase(),F=-1,pe=0;switch(p){case"rgb(":case"hsl(":F=3;break;case"rgba(":case"hsla(":F=4}return F!==-1&&(c.getArguments().accept(function(He){return!(He instanceof on)||(pe+=1,!1)}),pe!==F&&this.addEntry(c,Gi.ArgsInColorFunction)),!0},x.prefixes=["-ms-","-moz-","-o-","-webkit-"],x}(),Gs=function(){function x(c){this.cssDataManager=c}return x.prototype.configure=function(c){this.settings=c},x.prototype.doValidation=function(c,p,F){if(F===void 0&&(F=this.settings),F&&F.validate===!1)return[];var pe=[];pe.push.apply(pe,Ge.entries(p)),pe.push.apply(pe,Is.entries(p,c,new nn(F&&F.lint),this.cssDataManager));var He=[];for(var Qe in Gi)He.push(Gi[Qe].id);return pe.filter(function(Vt){return Vt.getLevel()!==Ni.Ignore}).map(function(Vt){var $t=Sn.create(c.positionAt(Vt.getOffset()),c.positionAt(Vt.getOffset()+Vt.getLength())),ci=c.languageId;return{code:Vt.getRule().id,source:ci,message:Vt.getMessage(),severity:Vt.getLevel()===Ni.Warning?vo.Warning:vo.Error,range:$t}})},x}(),sa=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),gl="/".charCodeAt(0),Kl=` +`.charCodeAt(0),Mr="\r".charCodeAt(0),Os="\f".charCodeAt(0),Ua="$".charCodeAt(0),ur="#".charCodeAt(0),Ea="{".charCodeAt(0),fs="=".charCodeAt(0),fl="!".charCodeAt(0),Ta="<".charCodeAt(0),Yr=">".charCodeAt(0),bl=".".charCodeAt(0),Cr=("@".charCodeAt(0),h.CustomToken),_l=Cr++,so=Cr++,to=(Cr++,Cr++),aa=Cr++,Gl=Cr++,Yl=Cr++,bs=Cr++,Ha=(Cr++,function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return sa(c,x),c.prototype.scanNext=function(p){if(this.stream.advanceIfChar(Ua)){var F=["$"];if(this.ident(F))return this.finishToken(p,_l,F.join(""));this.stream.goBackTo(p)}return this.stream.advanceIfChars([ur,Ea])?this.finishToken(p,so):this.stream.advanceIfChars([fs,fs])?this.finishToken(p,to):this.stream.advanceIfChars([fl,fs])?this.finishToken(p,aa):this.stream.advanceIfChar(Ta)?this.stream.advanceIfChar(fs)?this.finishToken(p,Yl):this.finishToken(p,h.Delim):this.stream.advanceIfChar(Yr)?this.stream.advanceIfChar(fs)?this.finishToken(p,Gl):this.finishToken(p,h.Delim):this.stream.advanceIfChars([bl,bl,bl])?this.finishToken(p,bs):x.prototype.scanNext.call(this,p)},c.prototype.comment=function(){return!!x.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([gl,gl]))&&(this.stream.advanceWhileChar(function(p){switch(p){case Kl:case Mr:case Os:return!1;default:return!0}}),!0)},c}(ee)),La=Gt(),Na=function(x,c){this.id=x,this.message=c},la={FromExpected:new Na("scss-fromexpected",La("expected.from","'from' expected")),ThroughOrToExpected:new Na("scss-throughexpected",La("expected.through","'through' or 'to' expected")),InExpected:new Na("scss-fromexpected",La("expected.in","'in' expected"))},vl=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),xr=function(x){function c(){return x.call(this,new Ha)||this}return vl(c,x),c.prototype._parseStylesheetStatement=function(p){return p===void 0&&(p=!1),this.peek(h.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(p)||x.prototype._parseStylesheetAtStatement.call(this,p):this._parseRuleset(!0)||this._parseVariableDeclaration()},c.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var p=this.create(si);if(this.consumeToken(),!p.addChild(this._parseURILiteral())&&!p.addChild(this._parseStringLiteral()))return this.finish(p,le.URIOrStringExpected);for(;this.accept(h.Comma);)if(!p.addChild(this._parseURILiteral())&&!p.addChild(this._parseStringLiteral()))return this.finish(p,le.URIOrStringExpected);return this.peek(h.SemiColon)||this.peek(h.EOF)||p.setMedialist(this._parseMediaQueryList()),this.finish(p)},c.prototype._parseVariableDeclaration=function(p){if(p===void 0&&(p=[]),!this.peek(_l))return null;var F=this.create(Fe);if(!F.setVariable(this._parseVariable()))return null;if(!this.accept(h.Colon))return this.finish(F,le.ColonExpected);if(this.prevToken&&(F.colonPosition=this.prevToken.offset),!F.setValue(this._parseExpr()))return this.finish(F,le.VariableValueExpected,[],p);for(;this.peek(h.Exclamation);)if(!F.addChild(this._tryParsePrio())){if(this.consumeToken(),!this.peekRegExp(h.Ident,/^(default|global)$/))return this.finish(F,le.UnknownKeyword);this.consumeToken()}return this.peek(h.SemiColon)&&(F.semicolonPosition=this.token.offset),this.finish(F)},c.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},c.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},c.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},c.prototype._parseVariable=function(){if(!this.peek(_l))return null;var p=this.create(ot);return this.consumeToken(),p},c.prototype._parseModuleMember=function(){var p=this.mark(),F=this.create(X);return F.setIdentifier(this._parseIdent([At.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(p),null):F.addChild(this._parseVariable()||this._parseFunction())?F:this.finish(F,le.IdentifierOrVariableExpected):null},c.prototype._parseIdent=function(p){var F=this;if(!this.peek(h.Ident)&&!this.peek(so)&&!this.peekDelim("-"))return null;var pe=this.create(Wt);pe.referenceTypes=p,pe.isCustomProperty=this.peekRegExp(h.Ident,/^--/);for(var He,Qe=!1;(this.accept(h.Ident)||pe.addChild((He=void 0,He=F.mark(),F.acceptDelim("-")&&(F.hasWhitespace()||F.acceptDelim("-"),F.hasWhitespace())?(F.restoreAtMark(He),null):F._parseInterpolation()))||Qe&&this.acceptRegexp(/[\w-]/))&&(Qe=!0,!this.hasWhitespace()););return Qe?this.finish(pe):null},c.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||x.prototype._parseTermExpression.call(this)},c.prototype._parseInterpolation=function(){if(this.peek(so)){var p=this.create(Xe);return this.consumeToken(),p.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(h.CurlyR)?this.finish(p):this.finish(p,le.RightCurlyExpected):this.accept(h.CurlyR)?this.finish(p):this.finish(p,le.ExpressionExpected)}return null},c.prototype._parseOperator=function(){if(this.peek(to)||this.peek(aa)||this.peek(Gl)||this.peek(Yl)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var p=this.createNode(it.Operator);return this.consumeToken(),this.finish(p)}return x.prototype._parseOperator.call(this)},c.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var p=this.create(pi);return this.consumeToken(),this.finish(p)}return x.prototype._parseUnaryOperator.call(this)},c.prototype._parseRuleSetDeclaration=function(){return this.peek(h.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||x.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||x.prototype._parseRuleSetDeclaration.call(this)},c.prototype._parseDeclaration=function(p){var F=this.create(vt);if(!F.setProperty(this._parseProperty()))return null;if(!this.accept(h.Colon))return this.finish(F,le.ColonExpected,[h.Colon],p);this.prevToken&&(F.colonPosition=this.prevToken.offset);var pe=!1;if(F.setValue(this._parseExpr())&&(pe=!0,F.addChild(this._parsePrio())),this.peek(h.CurlyL))F.setNestedProperties(this._parseNestedProperties());else if(!pe)return this.finish(F,le.PropertyValueExpected);return this.peek(h.SemiColon)&&(F.semicolonPosition=this.token.offset),this.finish(F)},c.prototype._parseNestedProperties=function(){var p=this.create(yi);return this._parseBody(p,this._parseDeclaration.bind(this))},c.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var p=this.create(Mt);if(this.consumeToken(),!p.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(p,le.SelectorExpected);for(;this.accept(h.Comma);)p.getSelectors().addChild(this._parseSimpleSelector());return this.accept(h.Exclamation)&&!this.acceptIdent("optional")?this.finish(p,le.UnknownKeyword):this.finish(p)}return null},c.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||x.prototype._parseSimpleSelectorBody.call(this)},c.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var p=this.createNode(it.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(h.Num)||this.accept(h.Dimension)||p.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(p)}return null},c.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var p=this.createNode(it.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(p)}return this.peekKeyword("@at-root")?(p=this.createNode(it.SelectorPlaceholder),this.consumeToken(),this.finish(p)):null},c.prototype._parseElementName=function(){var p=this.mark(),F=x.prototype._parseElementName.call(this);return F&&!this.hasWhitespace()&&this.peek(h.ParenthesisL)?(this.restoreAtMark(p),null):F},c.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||x.prototype._tryParsePseudoIdentifier.call(this)},c.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var p=this.createNode(it.Debug);return this.consumeToken(),p.addChild(this._parseExpr()),this.finish(p)},c.prototype._parseControlStatement=function(p){return p===void 0&&(p=this._parseRuleSetDeclaration.bind(this)),this.peek(h.AtKeyword)?this._parseIfStatement(p)||this._parseForStatement(p)||this._parseEachStatement(p)||this._parseWhileStatement(p):null},c.prototype._parseIfStatement=function(p){return this.peekKeyword("@if")?this._internalParseIfStatement(p):null},c.prototype._internalParseIfStatement=function(p){var F=this.create(_t);if(this.consumeToken(),!F.setExpression(this._parseExpr(!0)))return this.finish(F,le.ExpressionExpected);if(this._parseBody(F,p),this.acceptKeyword("@else")){if(this.peekIdent("if"))F.setElseClause(this._internalParseIfStatement(p));else if(this.peek(h.CurlyL)){var pe=this.create(ki);this._parseBody(pe,p),F.setElseClause(pe)}}return this.finish(F)},c.prototype._parseForStatement=function(p){if(!this.peekKeyword("@for"))return null;var F=this.create(oi);return this.consumeToken(),F.setVariable(this._parseVariable())?this.acceptIdent("from")?F.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?F.addChild(this._parseBinaryExpr())?this._parseBody(F,p):this.finish(F,le.ExpressionExpected,[h.CurlyR]):this.finish(F,la.ThroughOrToExpected,[h.CurlyR]):this.finish(F,le.ExpressionExpected,[h.CurlyR]):this.finish(F,la.FromExpected,[h.CurlyR]):this.finish(F,le.VariableNameExpected,[h.CurlyR])},c.prototype._parseEachStatement=function(p){if(!this.peekKeyword("@each"))return null;var F=this.create(li);this.consumeToken();var pe=F.getVariables();if(!pe.addChild(this._parseVariable()))return this.finish(F,le.VariableNameExpected,[h.CurlyR]);for(;this.accept(h.Comma);)if(!pe.addChild(this._parseVariable()))return this.finish(F,le.VariableNameExpected,[h.CurlyR]);return this.finish(pe),this.acceptIdent("in")?F.addChild(this._parseExpr())?this._parseBody(F,p):this.finish(F,le.ExpressionExpected,[h.CurlyR]):this.finish(F,la.InExpected,[h.CurlyR])},c.prototype._parseWhileStatement=function(p){if(!this.peekKeyword("@while"))return null;var F=this.create(gi);return this.consumeToken(),F.addChild(this._parseBinaryExpr())?this._parseBody(F,p):this.finish(F,le.ExpressionExpected,[h.CurlyR])},c.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},c.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var p=this.create(Ri);if(this.consumeToken(),!p.setIdentifier(this._parseIdent([At.Function])))return this.finish(p,le.IdentifierExpected,[h.CurlyR]);if(!this.accept(h.ParenthesisL))return this.finish(p,le.LeftParenthesisExpected,[h.CurlyR]);if(p.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)if(!p.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(p,le.VariableNameExpected)}return this.accept(h.ParenthesisR)?this._parseBody(p,this._parseFunctionBodyDeclaration.bind(this)):this.finish(p,le.RightParenthesisExpected,[h.CurlyR])},c.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var p=this.createNode(it.ReturnStatement);return this.consumeToken(),p.addChild(this._parseExpr())?this.finish(p):this.finish(p,le.ExpressionExpected)},c.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var p=this.create(jt);if(this.consumeToken(),!p.setIdentifier(this._parseIdent([At.Mixin])))return this.finish(p,le.IdentifierExpected,[h.CurlyR]);if(this.accept(h.ParenthesisL)){if(p.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)if(!p.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(p,le.VariableNameExpected)}if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected,[h.CurlyR])}return this._parseBody(p,this._parseRuleSetDeclaration.bind(this))},c.prototype._parseParameterDeclaration=function(){var p=this.create(ze);return p.setIdentifier(this._parseVariable())?(this.accept(bs),this.accept(h.Colon)&&!p.setDefaultValue(this._parseExpr(!0))?this.finish(p,le.VariableValueExpected,[],[h.Comma,h.ParenthesisR]):this.finish(p)):null},c.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var p=this.create(Ot);if(this.consumeToken(),this.accept(h.ParenthesisL)){if(p.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)if(!p.getArguments().addChild(this._parseFunctionArgument()))return this.finish(p,le.ExpressionExpected)}if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected)}return this.finish(p)},c.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var p=this.create(Ht);this.consumeToken();var F=this._parseIdent([At.Mixin]);if(!p.setIdentifier(F))return this.finish(p,le.IdentifierExpected,[h.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var pe=this._parseIdent([At.Mixin]);if(!pe)return this.finish(p,le.IdentifierExpected,[h.CurlyR]);var He=this.create(X);F.referenceTypes=[At.Module],He.setIdentifier(F),p.setIdentifier(pe),p.addChild(He)}if(this.accept(h.ParenthesisL)){if(p.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)if(!p.getArguments().addChild(this._parseFunctionArgument()))return this.finish(p,le.ExpressionExpected)}if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(h.CurlyL))&&p.setContent(this._parseMixinContentDeclaration()),this.finish(p)},c.prototype._parseMixinContentDeclaration=function(){var p=this.create(Tt);if(this.acceptIdent("using")){if(!this.accept(h.ParenthesisL))return this.finish(p,le.LeftParenthesisExpected,[h.CurlyL]);if(p.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)if(!p.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(p,le.VariableNameExpected)}if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected,[h.CurlyL])}return this.peek(h.CurlyL)&&this._parseBody(p,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(p)},c.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},c.prototype._parseFunctionArgument=function(){var p=this.create(st),F=this.mark(),pe=this._parseVariable();if(pe)if(this.accept(h.Colon))p.setIdentifier(pe);else{if(this.accept(bs))return p.setValue(pe),this.finish(p);this.restoreAtMark(F)}return p.setValue(this._parseExpr(!0))?(this.accept(bs),p.addChild(this._parsePrio()),this.finish(p)):p.setValue(this._tryParsePrio())?this.finish(p):null},c.prototype._parseURLArgument=function(){var p=this.mark(),F=x.prototype._parseURLArgument.call(this);if(!F||!this.peek(h.ParenthesisR)){this.restoreAtMark(p);var pe=this.create(pi);return pe.addChild(this._parseBinaryExpr()),this.finish(pe)}return F},c.prototype._parseOperation=function(){if(!this.peek(h.ParenthesisL))return null;var p=this.create(pi);for(this.consumeToken();p.addChild(this._parseListElement());)this.accept(h.Comma);return this.accept(h.ParenthesisR)?this.finish(p):this.finish(p,le.RightParenthesisExpected)},c.prototype._parseListElement=function(){var p=this.create(wi),F=this._parseBinaryExpr();if(!F)return null;if(this.accept(h.Colon)){if(p.setKey(F),!p.setValue(this._parseBinaryExpr()))return this.finish(p,le.ExpressionExpected)}else p.setValue(F);return this.finish(p)},c.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var p=this.create(Si);if(this.consumeToken(),!p.addChild(this._parseStringLiteral()))return this.finish(p,le.StringLiteralExpected);if(!this.peek(h.SemiColon)&&!this.peek(h.EOF)){if(!this.peekRegExp(h.Ident,/as|with/))return this.finish(p,le.UnknownKeyword);if(this.acceptIdent("as")&&!p.setIdentifier(this._parseIdent([At.Module]))&&!this.acceptDelim("*"))return this.finish(p,le.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(h.ParenthesisL))return this.finish(p,le.LeftParenthesisExpected,[h.ParenthesisR]);if(!p.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(p,le.VariableNameExpected);for(;this.accept(h.Comma)&&!this.peek(h.ParenthesisR);)if(!p.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(p,le.VariableNameExpected);if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected)}}return this.accept(h.SemiColon)||this.accept(h.EOF)?this.finish(p):this.finish(p,le.SemiColonExpected)},c.prototype._parseModuleConfigDeclaration=function(){var p=this.create(Pi);return p.setIdentifier(this._parseVariable())?this.accept(h.Colon)&&p.setValue(this._parseExpr(!0))?this.finish(p):this.finish(p,le.VariableValueExpected,[],[h.Comma,h.ParenthesisR]):null},c.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var p=this.create(Wi);if(this.consumeToken(),!p.addChild(this._parseStringLiteral()))return this.finish(p,le.StringLiteralExpected);if(!this.peek(h.SemiColon)&&!this.peek(h.EOF)){if(!this.peekRegExp(h.Ident,/as|hide|show/))return this.finish(p,le.UnknownKeyword);if(this.acceptIdent("as")){var F=this._parseIdent([At.Forward]);if(!p.setIdentifier(F))return this.finish(p,le.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(p,le.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!p.addChild(this._parseForwardVisibility()))return this.finish(p,le.IdentifierOrVariableExpected)}return this.accept(h.SemiColon)||this.accept(h.EOF)?this.finish(p):this.finish(p,le.SemiColonExpected)},c.prototype._parseForwardVisibility=function(){var p=this.create(xn);for(p.setIdentifier(this._parseIdent());p.addChild(this._parseVariable()||this._parseIdent()););return p.getChildren().length>1?p:null},c.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||x.prototype._parseSupportsCondition.call(this)},c}(ln),Zl=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),Xi=Gt(),wl=function(x){function c(p,F){var pe=x.call(this,"$",p,F)||this;return Xl(c.scssModuleLoaders),Xl(c.scssModuleBuiltIns),pe}return Zl(c,x),c.prototype.isImportPathParent=function(p){return p===it.Forward||p===it.Use||x.prototype.isImportPathParent.call(this,p)},c.prototype.getCompletionForImportPath=function(p,F){var pe=p.getParent().type;if(pe===it.Forward||pe===it.Use)for(var He=0,Qe=c.scssModuleBuiltIns;He<Qe.length;He++){var Vt=Qe[He],$t={label:Vt.label,documentation:Vt.documentation,textEdit:Tn.replace(this.getCompletionRange(p),"'"+Vt.label+"'"),kind:zn.Module};F.items.push($t)}return x.prototype.getCompletionForImportPath.call(this,p,F)},c.prototype.createReplaceFunction=function(){var p=1;return function(F,pe){return"\\"+pe+": ${"+p+++":"+(c.variableDefaults[pe]||"")+"}"}},c.prototype.createFunctionProposals=function(p,F,pe,He){for(var Qe=0,Vt=p;Qe<Vt.length;Qe++){var $t=Vt[Qe],ci=$t.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),Ft={label:$t.func.substr(0,$t.func.indexOf("(")),detail:$t.func,documentation:$t.desc,textEdit:Tn.replace(this.getCompletionRange(F),ci),insertTextFormat:eo.Snippet,kind:zn.Function};pe&&(Ft.sortText="z"),He.items.push(Ft)}return He},c.prototype.getCompletionsForSelector=function(p,F,pe){return this.createFunctionProposals(c.selectorFuncs,null,!0,pe),x.prototype.getCompletionsForSelector.call(this,p,F,pe)},c.prototype.getTermProposals=function(p,F,pe){var He=c.builtInFuncs;return p&&(He=He.filter(function(Qe){return!Qe.type||!p.restrictions||p.restrictions.indexOf(Qe.type)!==-1})),this.createFunctionProposals(He,F,!0,pe),x.prototype.getTermProposals.call(this,p,F,pe)},c.prototype.getColorProposals=function(p,F,pe){return this.createFunctionProposals(c.colorProposals,F,!1,pe),x.prototype.getColorProposals.call(this,p,F,pe)},c.prototype.getCompletionsForDeclarationProperty=function(p,F){return this.getCompletionForAtDirectives(F),this.getCompletionsForSelector(null,!0,F),x.prototype.getCompletionsForDeclarationProperty.call(this,p,F)},c.prototype.getCompletionsForExtendsReference=function(p,F,pe){for(var He=0,Qe=this.getSymbolContext().findSymbolsAtOffset(this.offset,At.Rule);He<Qe.length;He++){var Vt=Qe[He],$t={label:Vt.name,textEdit:Tn.replace(this.getCompletionRange(F),Vt.name),kind:zn.Function};pe.items.push($t)}return pe},c.prototype.getCompletionForAtDirectives=function(p){var F;return(F=p.items).push.apply(F,c.scssAtDirectives),p},c.prototype.getCompletionForTopLevel=function(p){return this.getCompletionForAtDirectives(p),this.getCompletionForModuleLoaders(p),x.prototype.getCompletionForTopLevel.call(this,p),p},c.prototype.getCompletionForModuleLoaders=function(p){var F;return(F=p.items).push.apply(F,c.scssModuleLoaders),p},c.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},c.colorProposals=[{func:"red($color)",desc:Xi("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:Xi("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:Xi("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:Xi("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:Xi("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:Xi("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:Xi("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:Xi("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:Xi("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:Xi("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:Xi("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:Xi("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:Xi("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:Xi("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:Xi("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:Xi("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:Xi("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:Xi("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:Xi("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:Xi("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:Xi("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Xi("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:Xi("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Xi("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:Xi("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],c.selectorFuncs=[{func:"selector-nest($selectors\u2026)",desc:Xi("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors\u2026)",desc:Xi("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:Xi("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:Xi("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:Xi("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:Xi("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:Xi("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:Xi("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],c.builtInFuncs=[{func:"unquote($string)",desc:Xi("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:Xi("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:Xi("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:Xi("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:Xi("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:Xi("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:Xi("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:Xi("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:Xi("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:Xi("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:Xi("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:Xi("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:Xi("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:Xi("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:Xi("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:Xi("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:Xi("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:Xi("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:Xi("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:Xi("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:Xi("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:Xi("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:Xi("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:Xi("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:Xi("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:Xi("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:Xi("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:Xi("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:Xi("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:Xi("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:Xi("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:Xi("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:Xi("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:Xi("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:Xi("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:Xi("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:Xi("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:Xi("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:Xi("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:Xi("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:Xi("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args\u2026)",desc:Xi("scss.builtin.call","Dynamically calls a Sass function.")}],c.scssAtDirectives=[{label:"@extend",documentation:Xi("scss.builtin.@extend","Inherits the styles of another selector."),kind:zn.Keyword},{label:"@at-root",documentation:Xi("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:zn.Keyword},{label:"@debug",documentation:Xi("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:zn.Keyword},{label:"@warn",documentation:Xi("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:zn.Keyword},{label:"@error",documentation:Xi("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:zn.Keyword},{label:"@if",documentation:Xi("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:`@if \${1:expr} { $0 -}`,insertTextFormat:Yd.Snippet,kind:Kd.Keyword},{label:"@for",documentation:Xc("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n $0\n}",insertTextFormat:Yd.Snippet,kind:Kd.Keyword},{label:"@each",documentation:Xc("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n $0\n}",insertTextFormat:Yd.Snippet,kind:Kd.Keyword},{label:"@while",documentation:Xc("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:`@while \${1:condition} { +}`,insertTextFormat:eo.Snippet,kind:zn.Keyword},{label:"@for",documentation:Xi("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n $0\n}",insertTextFormat:eo.Snippet,kind:zn.Keyword},{label:"@each",documentation:Xi("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n $0\n}",insertTextFormat:eo.Snippet,kind:zn.Keyword},{label:"@while",documentation:Xi("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:`@while \${1:condition} { $0 -}`,insertTextFormat:Yd.Snippet,kind:Kd.Keyword},{label:"@mixin",documentation:Xc("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:`@mixin \${1:name} { +}`,insertTextFormat:eo.Snippet,kind:zn.Keyword},{label:"@mixin",documentation:Xi("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:`@mixin \${1:name} { $0 -}`,insertTextFormat:Yd.Snippet,kind:Kd.Keyword},{label:"@include",documentation:Xc("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:Kd.Keyword},{label:"@function",documentation:Xc("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:Kd.Keyword}],j.scssModuleLoaders=[{label:"@use",documentation:Xc("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Yd.Snippet,kind:Kd.Keyword},{label:"@forward",documentation:Xc("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Yd.Snippet,kind:Kd.Keyword}],j.scssModuleBuiltIns=[{label:"sass:math",documentation:Xc("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:Xc("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:Xc("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:Xc("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:Xc("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:Xc("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:Xc("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],j}(xf);function Ti(v){v.forEach(function(j){if(j.documentation&&j.references&&j.references.length>0){var m="string"==typeof j.documentation?{kind:"markdown",value:j.documentation}:{kind:"markdown",value:j.documentation.value};m.value+=` +}`,insertTextFormat:eo.Snippet,kind:zn.Keyword},{label:"@include",documentation:Xi("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:zn.Keyword},{label:"@function",documentation:Xi("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:zn.Keyword}],c.scssModuleLoaders=[{label:"@use",documentation:Xi("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:eo.Snippet,kind:zn.Keyword},{label:"@forward",documentation:Xi("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:eo.Snippet,kind:zn.Keyword}],c.scssModuleBuiltIns=[{label:"sass:math",documentation:Xi("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:Xi("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:Xi("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:Xi("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:Xi("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:Xi("scss.builtin.sass:selector","Provides access to Sass\u2019s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:Xi("scss.builtin.sass:meta","Exposes the details of Sass\u2019s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],c}(Ar);function Xl(x){x.forEach(function(c){if(c.documentation&&c.references&&c.references.length>0){var p=typeof c.documentation=="string"?{kind:"markdown",value:c.documentation}:{kind:"markdown",value:c.documentation.value};p.value+=` -`,m.value+=j.references.map(function(M){return"["+M.name+"]("+M.url+")"}).join(" | "),j.documentation=m}})}var Ih=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Jh="/".charCodeAt(0),oi=` -`.charCodeAt(0),pi="\r".charCodeAt(0),Ui="\f".charCodeAt(0),qi="`".charCodeAt(0),Kh=".".charCodeAt(0),jf=l.CustomToken,zg=jf++,Xe=function(v){function j(){return null!==v&&v.apply(this,arguments)||this}return Ih(j,v),j.prototype.scanNext=function(m){var M=this.escapedJavaScript();return null!==M?this.finishToken(m,M):this.stream.advanceIfChars([Kh,Kh,Kh])?this.finishToken(m,zg):v.prototype.scanNext.call(this,m)},j.prototype.comment=function(){return!!v.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Jh,Jh]))&&(this.stream.advanceWhileChar(function(m){switch(m){case oi:case pi:case Ui:return!1;default:return!0}}),!0)},j.prototype.escapedJavaScript=function(){return this.stream.peekChar()===qi?(this.stream.advance(1),this.stream.advanceWhileChar(function(m){return m!==qi}),this.stream.advanceIfChar(qi)?l.EscapedJavaScript:l.BadEscapedJavaScript):null},j}(ka),Lh=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Ng=function(v){function j(){return v.call(this,new Xe())||this}return Lh(j,v),j.prototype._parseStylesheetStatement=function(m){return void 0===m&&(m=!1),this.peek(l.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||v.prototype._parseStylesheetAtStatement.call(this,m):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},j.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var m=this.create(dc);if(this.consumeToken(),this.accept(l.ParenthesisL)){if(!this.accept(l.Ident))return this.finish(m,fa.IdentifierExpected,[l.SemiColon]);do if(!this.accept(l.Comma))break;while(this.accept(l.Ident));if(!this.accept(l.ParenthesisR))return this.finish(m,fa.RightParenthesisExpected,[l.SemiColon])}return m.addChild(this._parseURILiteral())||m.addChild(this._parseStringLiteral())?(this.peek(l.SemiColon)||this.peek(l.EOF)||m.setMedialist(this._parseMediaQueryList()),this.finish(m)):this.finish(m,fa.URIOrStringExpected,[l.SemiColon])},j.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var m=this.createNode(gb.Plugin);return this.consumeToken(),m.addChild(this._parseStringLiteral())?this.accept(l.SemiColon)?this.finish(m):this.finish(m,fa.SemiColonExpected):this.finish(m,fa.StringLiteralExpected)},j.prototype._parseMediaQuery=function(m){var M=v.prototype._parseMediaQuery.call(this,m);if(!M){var na=this.create(ce);return na.addChild(this._parseVariable())?this.finish(na):null}return M},j.prototype._parseMediaDeclaration=function(m){return void 0===m&&(m=!1),this._tryParseRuleset(m)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(m)},j.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},j.prototype._parseVariableDeclaration=function(m){void 0===m&&(m=[]);var M=this.create(Ta),na=this.mark();if(!M.setVariable(this._parseVariable(!0)))return null;if(!this.accept(l.Colon))return this.restoreAtMark(na),null;if(this.prevToken&&(M.colonPosition=this.prevToken.offset),M.setValue(this._parseDetachedRuleSet()))M.needsSemicolon=!1;else if(!M.setValue(this._parseExpr()))return this.finish(M,fa.VariableValueExpected,[],m);return M.addChild(this._parsePrio()),this.peek(l.SemiColon)&&(M.semicolonPosition=this.token.offset),this.finish(M)},j.prototype._parseDetachedRuleSet=function(){var m=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(l.ParenthesisL))return this.restoreAtMark(m),null;var M=this.create(Ub);if(M.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(l.Comma)||this.accept(l.SemiColon))&&!this.peek(l.ParenthesisR);)M.getParameters().addChild(this._parseMixinParameter())||this.markError(M,fa.IdentifierExpected,[],[l.ParenthesisR]);if(!this.accept(l.ParenthesisR))return this.restoreAtMark(m),null}if(!this.peek(l.CurlyL))return null;var na=this.create(Kc);return this._parseBody(na,this._parseDetachedRuleSetBody.bind(this)),this.finish(na)},j.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},j.prototype._addLookupChildren=function(m){if(!m.addChild(this._parseLookupValue()))return!1;for(var M=!1;this.peek(l.BracketL)&&(M=!0),m.addChild(this._parseLookupValue());)M=!1;return!M},j.prototype._parseLookupValue=function(){var m=this.create(vc),M=this.mark();return this.accept(l.BracketL)&&((m.addChild(this._parseVariable(!1,!0))||m.addChild(this._parsePropertyIdentifier()))&&this.accept(l.BracketR)||this.accept(l.BracketR))?m:(this.restoreAtMark(M),null)},j.prototype._parseVariable=function(m,M){void 0===m&&(m=!1),void 0===M&&(M=!1);var na=!m&&this.peekDelim("$");if(!this.peekDelim("@")&&!na&&!this.peek(l.AtKeyword))return null;for(var Ua=this.create(yb),Za=this.mark();this.acceptDelim("@")||!m&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(Za),null;return(this.accept(l.AtKeyword)||this.accept(l.Ident))&&(M||!this.peek(l.BracketL)||this._addLookupChildren(Ua))?Ua:(this.restoreAtMark(Za),null)},j.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||v.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},j.prototype._parseEscaped=function(){if(this.peek(l.EscapedJavaScript)||this.peek(l.BadEscapedJavaScript)){var m=this.createNode(gb.EscapedValue);return this.consumeToken(),this.finish(m)}return this.peekDelim("~")?(m=this.createNode(gb.EscapedValue),this.consumeToken(),this.accept(l.String)||this.accept(l.EscapedJavaScript)?this.finish(m):this.finish(m,fa.TermExpected)):null},j.prototype._parseOperator=function(){var m=this._parseGuardOperator();return m||v.prototype._parseOperator.call(this)},j.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var m=this.createNode(gb.Operator);return this.consumeToken(),this.acceptDelim("="),m}return this.peekDelim("=")?(m=this.createNode(gb.Operator),this.consumeToken(),this.acceptDelim("<"),m):this.peekDelim("<")?(m=this.createNode(gb.Operator),this.consumeToken(),this.acceptDelim("="),m):null},j.prototype._parseRuleSetDeclaration=function(){return this.peek(l.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||v.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||v.prototype._parseRuleSetDeclaration.call(this)},j.prototype._parseKeyframeIdent=function(){return this._parseIdent([Fb.Keyframe])||this._parseVariable()},j.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||v.prototype._parseKeyframeSelector.call(this)},j.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||v.prototype._parseSimpleSelectorBody.call(this)},j.prototype._parseSelector=function(m){var M=this.create(sc),na=!1;for(m&&(na=M.addChild(this._parseCombinator()));M.addChild(this._parseSimpleSelector());){na=!0;var Ua=this.mark();if(M.addChild(this._parseGuard())&&this.peek(l.CurlyL))break;this.restoreAtMark(Ua),M.addChild(this._parseCombinator())}return na?this.finish(M):null},j.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var m=this.createNode(gb.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(l.Num)||this.accept(l.Dimension)||m.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(m)}return null},j.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var m=this.createNode(gb.SelectorInterpolation);return this._acceptInterpolatedIdent(m)?this.finish(m):null},j.prototype._parsePropertyIdentifier=function(m){void 0===m&&(m=!1);var M=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,M))return null;var na=this.mark(),Ua=this.create(Ob);return Ua.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-"),(m?Ua.isCustomProperty?Ua.addChild(this._parseIdent()):Ua.addChild(this._parseRegexp(M)):Ua.isCustomProperty?this._acceptInterpolatedIdent(Ua):this._acceptInterpolatedIdent(Ua,M))?(m||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(Ua)):(this.restoreAtMark(na),null)},j.prototype.peekInterpolatedIdent=function(){return this.peek(l.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},j.prototype._acceptInterpolatedIdent=function(m,M){for(var na=this,Ua=!1,Za=function(){var Qb=na.mark();return na.acceptDelim("-")&&(na.hasWhitespace()||na.acceptDelim("-"),na.hasWhitespace())?(na.restoreAtMark(Qb),null):na._parseInterpolation()},Kb=M?function(){return na.acceptRegexp(M)}:function(){return na.accept(l.Ident)};(Kb()||m.addChild(this._parseInterpolation()||this.try(Za)))&&(Ua=!0,!this.hasWhitespace()););return Ua},j.prototype._parseInterpolation=function(){var m=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var M=this.createNode(gb.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(l.CurlyL)?(this.restoreAtMark(m),null):M.addChild(this._parseIdent())?this.accept(l.CurlyR)?this.finish(M):this.finish(M,fa.RightCurlyExpected):this.finish(M,fa.IdentifierExpected)}return null},j.prototype._tryParseMixinDeclaration=function(){var m=this.mark(),M=this.create(Ub);if(!M.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(l.ParenthesisL))return this.restoreAtMark(m),null;if(M.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(l.Comma)||this.accept(l.SemiColon))&&!this.peek(l.ParenthesisR);)M.getParameters().addChild(this._parseMixinParameter())||this.markError(M,fa.IdentifierExpected,[],[l.ParenthesisR]);return this.accept(l.ParenthesisR)?(M.setGuard(this._parseGuard()),this.peek(l.CurlyL)?this._parseBody(M,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(m),null)):(this.restoreAtMark(m),null)},j.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},j.prototype._parseMixinDeclarationIdentifier=function(){var m;if(this.peekDelim("#")||this.peekDelim(".")){if(m=this.create(Ob),this.consumeToken(),this.hasWhitespace()||!m.addChild(this._parseIdent()))return null}else{if(!this.peek(l.Hash))return null;m=this.create(Ob),this.consumeToken()}return m.referenceTypes=[Fb.Mixin],this.finish(m)},j.prototype._parsePseudo=function(){if(!this.peek(l.Colon))return null;var m=this.mark(),M=this.create(Bb);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(M):(this.restoreAtMark(m),v.prototype._parsePseudo.call(this))},j.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var m=this.mark(),M=this.create(Bb);return this.consumeToken(),!this.hasWhitespace()&&this.accept(l.Colon)&&this.acceptIdent("extend")?this._completeExtends(M):(this.restoreAtMark(m),null)},j.prototype._completeExtends=function(m){if(!this.accept(l.ParenthesisL))return this.finish(m,fa.LeftParenthesisExpected);var M=m.getSelectors();if(!M.addChild(this._parseSelector(!0)))return this.finish(m,fa.SelectorExpected);for(;this.accept(l.Comma);)if(!M.addChild(this._parseSelector(!0)))return this.finish(m,fa.SelectorExpected);return this.accept(l.ParenthesisR)?this.finish(m):this.finish(m,fa.RightParenthesisExpected)},j.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(l.AtKeyword))return null;var m=this.mark(),M=this.create(Lb);return!M.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(l.ParenthesisL)?this.accept(l.ParenthesisR)?this.finish(M):this.finish(M,fa.RightParenthesisExpected):(this.restoreAtMark(m),null)},j.prototype._tryParseMixinReference=function(m){void 0===m&&(m=!0);for(var M=this.mark(),na=this.create(Lb),Ua=this._parseMixinDeclarationIdentifier();Ua;){this.acceptDelim(">");var Za=this._parseMixinDeclarationIdentifier();if(!Za)break;na.getNamespaces().addChild(Ua),Ua=Za}if(!na.setIdentifier(Ua))return this.restoreAtMark(M),null;var Kb=!1;if(this.accept(l.ParenthesisL)){if(Kb=!0,na.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(l.Comma)||this.accept(l.SemiColon))&&!this.peek(l.ParenthesisR);)if(!na.getArguments().addChild(this._parseMixinArgument()))return this.finish(na,fa.ExpressionExpected)}if(!this.accept(l.ParenthesisR))return this.finish(na,fa.RightParenthesisExpected);Ua.referenceTypes=[Fb.Mixin]}else Ua.referenceTypes=[Fb.Mixin,Fb.Rule];return this.peek(l.BracketL)?m||this._addLookupChildren(na):na.addChild(this._parsePrio()),Kb||this.peek(l.SemiColon)||this.peek(l.CurlyR)||this.peek(l.EOF)?this.finish(na):(this.restoreAtMark(M),null)},j.prototype._parseMixinArgument=function(){var m=this.create(kb),M=this.mark(),na=this._parseVariable();return na&&(this.accept(l.Colon)?m.setIdentifier(na):this.restoreAtMark(M)),m.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(m):(this.restoreAtMark(M),null)},j.prototype._parseMixinParameter=function(){var m=this.create(Qa);if(this.peekKeyword("@rest")){var M=this.create(vc);return this.consumeToken(),this.accept(zg)?(m.setIdentifier(this.finish(M)),this.finish(m)):this.finish(m,fa.DotExpected,[],[l.Comma,l.ParenthesisR])}if(this.peek(zg)){var na=this.create(vc);return this.consumeToken(),m.setIdentifier(this.finish(na)),this.finish(m)}var Ua=!1;return m.setIdentifier(this._parseVariable())&&(this.accept(l.Colon),Ua=!0),m.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||Ua?this.finish(m):null},j.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var m=this.create(Ec);if(this.consumeToken(),m.isNegated=this.acceptIdent("not"),!m.getConditions().addChild(this._parseGuardCondition()))return this.finish(m,fa.ConditionExpected);for(;this.acceptIdent("and")||this.accept(l.Comma);)if(!m.getConditions().addChild(this._parseGuardCondition()))return this.finish(m,fa.ConditionExpected);return this.finish(m)},j.prototype._parseGuardCondition=function(){if(!this.peek(l.ParenthesisL))return null;var m=this.create(X);return this.consumeToken(),m.addChild(this._parseExpr()),this.accept(l.ParenthesisR)?this.finish(m):this.finish(m,fa.RightParenthesisExpected)},j.prototype._parseFunction=function(){var m=this.mark(),M=this.create(Oa);if(!M.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(l.ParenthesisL))return this.restoreAtMark(m),null;if(M.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(l.Comma)||this.accept(l.SemiColon))&&!this.peek(l.ParenthesisR);)if(!M.getArguments().addChild(this._parseMixinArgument()))return this.finish(M,fa.ExpressionExpected)}return this.accept(l.ParenthesisR)?this.finish(M):this.finish(M,fa.RightParenthesisExpected)},j.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var m=this.create(Ob);return m.referenceTypes=[Fb.Function],this.consumeToken(),this.finish(m)}return v.prototype._parseFunctionIdentifier.call(this)},j.prototype._parseURLArgument=function(){var m=this.mark(),M=v.prototype._parseURLArgument.call(this);if(!M||!this.peek(l.ParenthesisR)){this.restoreAtMark(m);var na=this.create(vc);return na.addChild(this._parseBinaryExpr()),this.finish(na)}return M},j}(hd),Og=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Ld=jc(),Pg=function(v){function j(m,M){return v.call(this,"@",m,M)||this}return Og(j,v),j.prototype.createFunctionProposals=function(m,M,na,Ua){for(var Za=0,Kb=m;Za<Kb.length;Za++){var Qb=Kb[Za],fc={label:Qb.name,detail:Qb.example,documentation:Qb.description,textEdit:zd.replace(this.getCompletionRange(M),Qb.name+"($0)"),insertTextFormat:Yd.Snippet,kind:Kd.Function};na&&(fc.sortText="z"),Ua.items.push(fc)}return Ua},j.prototype.getTermProposals=function(m,M,na){var Ua=j.builtInProposals;return m&&(Ua=Ua.filter(function(Za){return!Za.type||!m.restrictions||-1!==m.restrictions.indexOf(Za.type)})),this.createFunctionProposals(Ua,M,!0,na),v.prototype.getTermProposals.call(this,m,M,na)},j.prototype.getColorProposals=function(m,M,na){return this.createFunctionProposals(j.colorProposals,M,!1,na),v.prototype.getColorProposals.call(this,m,M,na)},j.prototype.getCompletionsForDeclarationProperty=function(m,M){return this.getCompletionsForSelector(null,!0,M),v.prototype.getCompletionsForDeclarationProperty.call(this,m,M)},j.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:Ld("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:Ld("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:Ld("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:Ld("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:Ld("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:Ld("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:Ld("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:Ld("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:Ld("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:Ld("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:Ld("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:Ld("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:Ld("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:Ld("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:Ld("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:Ld("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:Ld("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:Ld("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:Ld("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:Ld("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:Ld("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:Ld("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:Ld("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:Ld("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:Ld("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:Ld("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:Ld("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:Ld("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:Ld("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:Ld("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],j.colorProposals=[{name:"argb",example:"argb(@color);",description:Ld("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:Ld("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:Ld("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:Ld("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:Ld("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:Ld("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:Ld("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:Ld("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:Ld("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:Ld("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:Ld("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:Ld("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:Ld("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:Ld("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:Ld("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:Ld("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:Ld("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:Ld("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:Ld("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:Ld("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:Ld("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:Ld("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:Ld("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:Ld("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:Ld("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:Ld("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:Ld("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],j}(xf);function wh(v,j){return function(m,M){var na=M&&M.rangeLimit||Number.MAX_VALUE,Ua=m.sort(function(Qb,fc){var Ib=Qb.startLine-fc.startLine;return 0===Ib&&(Ib=Qb.endLine-fc.endLine),Ib}),Za=[],Kb=-1;return Ua.forEach(function(Qb){Qb.startLine<Kb&&Kb<Qb.endLine||(Za.push(Qb),Kb=Qb.endLine)}),Za.length<na?Za:Za.slice(0,na)}(function(m){function M(Lc){return m.positionAt(Lc.offset).line}function na(Lc){return m.positionAt(Lc.offset+Lc.len).line}var Ua=[],Za=[],Kb=function(){switch(m.languageId){case"scss":return new Hh();case"less":return new Xe();default:return new ka()}}();Kb.ignoreComment=!1,Kb.setSource(m.getText());for(var Qb=Kb.scan(),fc=null,Ib=function(){switch(Qb.type){case l.CurlyL:case ee:Za.push({line:M(Qb),type:"brace",isStart:!0});break;case l.CurlyR:if(0!==Za.length){if(!(cd=Mh(Za,"brace")))break;var Lc=na(Qb);"brace"===cd.type&&(fc&&na(fc)!==Lc&&Lc--,cd.line!==Lc&&Ua.push({startLine:cd.line,endLine:Lc,kind:void 0}))}break;case l.Comment:var id=function(Md){return"#region"===Md?{line:M(Qb),type:"comment",isStart:!0}:{line:na(Qb),type:"comment",isStart:!1}},pd=function(Md){var Nd=Md.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(Nd)return id(Nd[1]);if("scss"===m.languageId||"less"===m.languageId){var Ad=Md.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(Ad)return id(Ad[1])}return null}(Qb);if(pd)if(pd.isStart)Za.push(pd);else{var cd;if(!(cd=Mh(Za,"comment")))break;"comment"===cd.type&&cd.line!==pd.line&&Ua.push({startLine:cd.line,endLine:pd.line,kind:"region"})}else{var Hd=function(Md,Nd){var Ad=M(Md),ke=na(Md);return Ad!==ke?{startLine:Ad,endLine:ke,kind:Nd}:null}(Qb,"comment");Hd&&Ua.push(Hd)}}fc=Qb,Qb=Kb.scan()};Qb.type!==l.EOF;)Ib();return Ua}(v),j)}function Mh(v,j){if(0===v.length)return null;for(var m=v.length-1;m>=0;m--)if(v[m].type===j&&v[m].isStart)return v.splice(m,1)[0];return null}var fe={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:59,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:81,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:50,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",relevance:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",relevance:69,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-duration",syntax:"<time>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"animation-timing-function",syntax:"<timing-function>#",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-blend-mode",browsers:["E79","FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",relevance:67,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"background-color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"background-origin",syntax:"<box>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-position",syntax:"<bg-position>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"behavior",browsers:["IE6"],relevance:50,description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"border-bottom-width",syntax:"<line-width>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",relevance:75,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",relevance:86,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"border-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-left-color",syntax:"<color>",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"border-left-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"border-left-width",syntax:"<line-width>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right-color",syntax:"<color>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"border-right-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"border-right-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"border-spacing",syntax:"<length> <length>?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-top-color",syntax:"<color>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"border-top-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"border-top-width",syntax:"<line-width>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"box-decoration-break",browsers:["E79","FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",relevance:50,description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"caret-color",browsers:["E79","FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Sets the color of an element's text",restrictions:["color"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],relevance:50,description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",relevance:52,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"column-rule-color",syntax:"<color>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"column-rule-style",syntax:"<'border-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"column-rule-width",syntax:"<'border-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"contain",browsers:["E79","FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],syntax:"none | strict | content | [ size || layout || style || paint ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],relevance:50,description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",relevance:50,description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:74,description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"fill-opacity",relevance:52,description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",relevance:78,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"flex-grow",syntax:"<number>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-shrink",syntax:"<number>",relevance:69,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"font-kerning",browsers:["E79","FF32","S9","C33","O20"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"font-size-adjust",browsers:["E79","FF40","C43","O30"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",relevance:83,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["E79","FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["E79","FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"font-variant-ligatures",browsers:["E79","FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["E79","FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"glyph-orientation-horizontal",relevance:50,description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],relevance:50,description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",relevance:1,description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"image-orientation",browsers:["E81","FF26","S13.1","C81","O67"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-rendering",browsers:["E79","FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["E79","FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"inline-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"isolation",browsers:["E79","FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",relevance:82,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],relevance:50,description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"margin-block-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-block-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["E79","FF53","S4","C1","O15"],syntax:"<geometry-box>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"mask-type",browsers:["E79","FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"max-block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"max-inline-size",browsers:["E79","FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"min-inline-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"mix-blend-mode",browsers:["E79","FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"motion-offset",browsers:["C46","O33"],relevance:50,description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],relevance:50,description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",relevance:0,description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],relevance:50,description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],relevance:50,description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],relevance:50,description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],relevance:50,description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],relevance:50,description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],relevance:50,description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],relevance:50,description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],relevance:50,description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",relevance:0,description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],relevance:50,description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",relevance:0,description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",relevance:0,description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",relevance:0,description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",relevance:0,description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",relevance:0,description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],relevance:50,description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],relevance:50,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],relevance:50,description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],relevance:50,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],relevance:50,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],relevance:50,description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],relevance:50,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],relevance:50,description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],relevance:50,description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],relevance:50,description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",relevance:0,description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",relevance:0,description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",relevance:0,description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",relevance:0,description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],relevance:50,description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],relevance:50,description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],relevance:50,description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],relevance:50,description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],relevance:50,description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],relevance:50,description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],relevance:50,description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],relevance:50,description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",relevance:0,description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],relevance:50,description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE5"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",relevance:0,description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",relevance:0,description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",relevance:0,description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",relevance:0,description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],relevance:50,description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],relevance:50,description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],relevance:50,description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],relevance:50,description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],relevance:50,description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",relevance:0,description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",relevance:0,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],relevance:50,description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],relevance:50,description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",relevance:0,description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",relevance:0,description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],relevance:50,description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],relevance:50,description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],relevance:50,description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],relevance:50,description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",relevance:50,description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],relevance:50,description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],relevance:50,description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"opacity",syntax:"<alpha-value>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"order",syntax:"<integer>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"-o-table-baseline",browsers:["O9.6"],relevance:50,description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],relevance:50,description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"outline-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",relevance:50,description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-bottom",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-right",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],syntax:"normal | [ fill || stroke || markers ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"perspective-origin",syntax:"<position>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",relevance:80,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],description:"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.",restrictions:["enum"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",relevance:50,description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"resize",browsers:["E79","FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE6"],relevance:50,description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"scroll-behavior",browsers:["E79","FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"shape-image-threshold",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<alpha-value>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"shape-margin",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<length-percentage>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-outside",browsers:["E79","FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],relevance:50,description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],syntax:"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",relevance:52,description:"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.",restrictions:["length"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",relevance:67,description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"stop-color",relevance:51,description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"stop-opacity",relevance:50,description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:63,description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],relevance:58,description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"stroke-dashoffset",relevance:58,description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],relevance:53,description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],relevance:50,description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"stroke-miterlimit",relevance:50,description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"stroke-opacity",relevance:51,description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"stroke-width",relevance:60,description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:`interprets the list of counter symbols as digits to a "place-value" numbering system, similar to the default 'decimal' counter style.`},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",relevance:50,description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"tab-size",browsers:["E79","FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O34"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],relevance:50,description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"text-decoration-color",browsers:["E79","FF36","S12.1","C57","O44"],syntax:"<color>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"text-decoration-line",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"text-orientation",browsers:["E79","FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["E79","FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["E79","FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"text-rendering",browsers:["E79","FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"text-underline-position",values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | from-font | [ under || [ left | right ] ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"transform-style",browsers:["E12","FF16","S9","C36","O23"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O23"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"transition-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"transition-duration",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"transition-timing-function",syntax:"<timing-function>#",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",relevance:58,description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",relevance:24,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",relevance:0,description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],relevance:50,description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],relevance:50,restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],relevance:50,description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["E79","S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],relevance:50,description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],relevance:50,description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],relevance:50,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],relevance:50,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],relevance:50,description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],relevance:50,description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",relevance:0,description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",relevance:0,description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",relevance:0,description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",relevance:0,description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",relevance:0,description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],relevance:50,description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],relevance:50,description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E12","C16","O≤15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}],restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],relevance:50,description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],relevance:50,restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",relevance:0,description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"will-change",browsers:["E79","FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",relevance:0,description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",relevance:0,browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:`If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value. +`,p.value+=c.references.map(function(F){return"["+F.name+"]("+F.url+")"}).join(" | "),c.documentation=p}})}var Ia=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),Oa="/".charCodeAt(0),yl=` +`.charCodeAt(0),Cl="\r".charCodeAt(0),Ql="\f".charCodeAt(0),xl="`".charCodeAt(0),qa=".".charCodeAt(0),pr=h.CustomToken,Ds=pr++,er=function(x){function c(){return x!==null&&x.apply(this,arguments)||this}return Ia(c,x),c.prototype.scanNext=function(p){var F=this.escapedJavaScript();return F!==null?this.finishToken(p,F):this.stream.advanceIfChars([qa,qa,qa])?this.finishToken(p,Ds):x.prototype.scanNext.call(this,p)},c.prototype.comment=function(){return!!x.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Oa,Oa]))&&(this.stream.advanceWhileChar(function(p){switch(p){case yl:case Cl:case Ql:return!1;default:return!0}}),!0)},c.prototype.escapedJavaScript=function(){return this.stream.peekChar()===xl?(this.stream.advance(1),this.stream.advanceWhileChar(function(p){return p!==xl}),this.stream.advanceIfChar(xl)?h.EscapedJavaScript:h.BadEscapedJavaScript):null},c}(ee),$a=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),As=function(x){function c(){return x.call(this,new er)||this}return $a(c,x),c.prototype._parseStylesheetStatement=function(p){return p===void 0&&(p=!1),this.peek(h.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||x.prototype._parseStylesheetAtStatement.call(this,p):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},c.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var p=this.create(si);if(this.consumeToken(),this.accept(h.ParenthesisL)){if(!this.accept(h.Ident))return this.finish(p,le.IdentifierExpected,[h.SemiColon]);do if(!this.accept(h.Comma))break;while(this.accept(h.Ident));if(!this.accept(h.ParenthesisR))return this.finish(p,le.RightParenthesisExpected,[h.SemiColon])}return p.addChild(this._parseURILiteral())||p.addChild(this._parseStringLiteral())?(this.peek(h.SemiColon)||this.peek(h.EOF)||p.setMedialist(this._parseMediaQueryList()),this.finish(p)):this.finish(p,le.URIOrStringExpected,[h.SemiColon])},c.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var p=this.createNode(it.Plugin);return this.consumeToken(),p.addChild(this._parseStringLiteral())?this.accept(h.SemiColon)?this.finish(p):this.finish(p,le.SemiColonExpected):this.finish(p,le.StringLiteralExpected)},c.prototype._parseMediaQuery=function(p){var F=x.prototype._parseMediaQuery.call(this,p);if(!F){var pe=this.create(Hn);return pe.addChild(this._parseVariable())?this.finish(pe):null}return F},c.prototype._parseMediaDeclaration=function(p){return p===void 0&&(p=!1),this._tryParseRuleset(p)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(p)},c.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},c.prototype._parseVariableDeclaration=function(p){p===void 0&&(p=[]);var F=this.create(Fe),pe=this.mark();if(!F.setVariable(this._parseVariable(!0)))return null;if(!this.accept(h.Colon))return this.restoreAtMark(pe),null;if(this.prevToken&&(F.colonPosition=this.prevToken.offset),F.setValue(this._parseDetachedRuleSet()))F.needsSemicolon=!1;else if(!F.setValue(this._parseExpr()))return this.finish(F,le.VariableValueExpected,[],p);return F.addChild(this._parsePrio()),this.peek(h.SemiColon)&&(F.semicolonPosition=this.token.offset),this.finish(F)},c.prototype._parseDetachedRuleSet=function(){var p=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(h.ParenthesisL))return this.restoreAtMark(p),null;var F=this.create(jt);if(F.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(h.Comma)||this.accept(h.SemiColon))&&!this.peek(h.ParenthesisR);)F.getParameters().addChild(this._parseMixinParameter())||this.markError(F,le.IdentifierExpected,[],[h.ParenthesisR]);if(!this.accept(h.ParenthesisR))return this.restoreAtMark(p),null}if(!this.peek(h.CurlyL))return null;var pe=this.create(Ai);return this._parseBody(pe,this._parseDetachedRuleSetBody.bind(this)),this.finish(pe)},c.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},c.prototype._addLookupChildren=function(p){if(!p.addChild(this._parseLookupValue()))return!1;for(var F=!1;this.peek(h.BracketL)&&(F=!0),p.addChild(this._parseLookupValue());)F=!1;return!F},c.prototype._parseLookupValue=function(){var p=this.create(pi),F=this.mark();return this.accept(h.BracketL)&&((p.addChild(this._parseVariable(!1,!0))||p.addChild(this._parsePropertyIdentifier()))&&this.accept(h.BracketR)||this.accept(h.BracketR))?p:(this.restoreAtMark(F),null)},c.prototype._parseVariable=function(p,F){p===void 0&&(p=!1),F===void 0&&(F=!1);var pe=!p&&this.peekDelim("$");if(!this.peekDelim("@")&&!pe&&!this.peek(h.AtKeyword))return null;for(var He=this.create(ot),Qe=this.mark();this.acceptDelim("@")||!p&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(Qe),null;return(this.accept(h.AtKeyword)||this.accept(h.Ident))&&(F||!this.peek(h.BracketL)||this._addLookupChildren(He))?He:(this.restoreAtMark(Qe),null)},c.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||x.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},c.prototype._parseEscaped=function(){if(this.peek(h.EscapedJavaScript)||this.peek(h.BadEscapedJavaScript)){var p=this.createNode(it.EscapedValue);return this.consumeToken(),this.finish(p)}return this.peekDelim("~")?(p=this.createNode(it.EscapedValue),this.consumeToken(),this.accept(h.String)||this.accept(h.EscapedJavaScript)?this.finish(p):this.finish(p,le.TermExpected)):null},c.prototype._parseOperator=function(){var p=this._parseGuardOperator();return p||x.prototype._parseOperator.call(this)},c.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var p=this.createNode(it.Operator);return this.consumeToken(),this.acceptDelim("="),p}return this.peekDelim("=")?(p=this.createNode(it.Operator),this.consumeToken(),this.acceptDelim("<"),p):this.peekDelim("<")?(p=this.createNode(it.Operator),this.consumeToken(),this.acceptDelim("="),p):null},c.prototype._parseRuleSetDeclaration=function(){return this.peek(h.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||x.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||x.prototype._parseRuleSetDeclaration.call(this)},c.prototype._parseKeyframeIdent=function(){return this._parseIdent([At.Keyframe])||this._parseVariable()},c.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||x.prototype._parseKeyframeSelector.call(this)},c.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||x.prototype._parseSimpleSelectorBody.call(this)},c.prototype._parseSelector=function(p){var F=this.create(Bi),pe=!1;for(p&&(pe=F.addChild(this._parseCombinator()));F.addChild(this._parseSimpleSelector());){pe=!0;var He=this.mark();if(F.addChild(this._parseGuard())&&this.peek(h.CurlyL))break;this.restoreAtMark(He),F.addChild(this._parseCombinator())}return pe?this.finish(F):null},c.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var p=this.createNode(it.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(h.Num)||this.accept(h.Dimension)||p.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(p)}return null},c.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var p=this.createNode(it.SelectorInterpolation);return this._acceptInterpolatedIdent(p)?this.finish(p):null},c.prototype._parsePropertyIdentifier=function(p){p===void 0&&(p=!1);var F=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,F))return null;var pe=this.mark(),He=this.create(Wt);return He.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-"),(p?He.isCustomProperty?He.addChild(this._parseIdent()):He.addChild(this._parseRegexp(F)):He.isCustomProperty?this._acceptInterpolatedIdent(He):this._acceptInterpolatedIdent(He,F))?(p||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(He)):(this.restoreAtMark(pe),null)},c.prototype.peekInterpolatedIdent=function(){return this.peek(h.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},c.prototype._acceptInterpolatedIdent=function(p,F){for(var pe=this,He=!1,Qe=function(){var $t=pe.mark();return pe.acceptDelim("-")&&(pe.hasWhitespace()||pe.acceptDelim("-"),pe.hasWhitespace())?(pe.restoreAtMark($t),null):pe._parseInterpolation()},Vt=F?function(){return pe.acceptRegexp(F)}:function(){return pe.accept(h.Ident)};(Vt()||p.addChild(this._parseInterpolation()||this.try(Qe)))&&(He=!0,!this.hasWhitespace()););return He},c.prototype._parseInterpolation=function(){var p=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var F=this.createNode(it.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(h.CurlyL)?(this.restoreAtMark(p),null):F.addChild(this._parseIdent())?this.accept(h.CurlyR)?this.finish(F):this.finish(F,le.RightCurlyExpected):this.finish(F,le.IdentifierExpected)}return null},c.prototype._tryParseMixinDeclaration=function(){var p=this.mark(),F=this.create(jt);if(!F.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(h.ParenthesisL))return this.restoreAtMark(p),null;if(F.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(h.Comma)||this.accept(h.SemiColon))&&!this.peek(h.ParenthesisR);)F.getParameters().addChild(this._parseMixinParameter())||this.markError(F,le.IdentifierExpected,[],[h.ParenthesisR]);return this.accept(h.ParenthesisR)?(F.setGuard(this._parseGuard()),this.peek(h.CurlyL)?this._parseBody(F,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(p),null)):(this.restoreAtMark(p),null)},c.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},c.prototype._parseMixinDeclarationIdentifier=function(){var p;if(this.peekDelim("#")||this.peekDelim(".")){if(p=this.create(Wt),this.consumeToken(),this.hasWhitespace()||!p.addChild(this._parseIdent()))return null}else{if(!this.peek(h.Hash))return null;p=this.create(Wt),this.consumeToken()}return p.referenceTypes=[At.Mixin],this.finish(p)},c.prototype._parsePseudo=function(){if(!this.peek(h.Colon))return null;var p=this.mark(),F=this.create(Mt);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(F):(this.restoreAtMark(p),x.prototype._parsePseudo.call(this))},c.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var p=this.mark(),F=this.create(Mt);return this.consumeToken(),!this.hasWhitespace()&&this.accept(h.Colon)&&this.acceptIdent("extend")?this._completeExtends(F):(this.restoreAtMark(p),null)},c.prototype._completeExtends=function(p){if(!this.accept(h.ParenthesisL))return this.finish(p,le.LeftParenthesisExpected);var F=p.getSelectors();if(!F.addChild(this._parseSelector(!0)))return this.finish(p,le.SelectorExpected);for(;this.accept(h.Comma);)if(!F.addChild(this._parseSelector(!0)))return this.finish(p,le.SelectorExpected);return this.accept(h.ParenthesisR)?this.finish(p):this.finish(p,le.RightParenthesisExpected)},c.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(h.AtKeyword))return null;var p=this.mark(),F=this.create(Ht);return!F.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(h.ParenthesisL)?this.accept(h.ParenthesisR)?this.finish(F):this.finish(F,le.RightParenthesisExpected):(this.restoreAtMark(p),null)},c.prototype._tryParseMixinReference=function(p){p===void 0&&(p=!0);for(var F=this.mark(),pe=this.create(Ht),He=this._parseMixinDeclarationIdentifier();He;){this.acceptDelim(">");var Qe=this._parseMixinDeclarationIdentifier();if(!Qe)break;pe.getNamespaces().addChild(He),He=Qe}if(!pe.setIdentifier(He))return this.restoreAtMark(F),null;var Vt=!1;if(this.accept(h.ParenthesisL)){if(Vt=!0,pe.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(h.Comma)||this.accept(h.SemiColon))&&!this.peek(h.ParenthesisR);)if(!pe.getArguments().addChild(this._parseMixinArgument()))return this.finish(pe,le.ExpressionExpected)}if(!this.accept(h.ParenthesisR))return this.finish(pe,le.RightParenthesisExpected);He.referenceTypes=[At.Mixin]}else He.referenceTypes=[At.Mixin,At.Rule];return this.peek(h.BracketL)?p||this._addLookupChildren(pe):pe.addChild(this._parsePrio()),Vt||this.peek(h.SemiColon)||this.peek(h.CurlyR)||this.peek(h.EOF)?this.finish(pe):(this.restoreAtMark(F),null)},c.prototype._parseMixinArgument=function(){var p=this.create(st),F=this.mark(),pe=this._parseVariable();return pe&&(this.accept(h.Colon)?p.setIdentifier(pe):this.restoreAtMark(F)),p.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(p):(this.restoreAtMark(F),null)},c.prototype._parseMixinParameter=function(){var p=this.create(ze);if(this.peekKeyword("@rest")){var F=this.create(pi);return this.consumeToken(),this.accept(Ds)?(p.setIdentifier(this.finish(F)),this.finish(p)):this.finish(p,le.DotExpected,[],[h.Comma,h.ParenthesisR])}if(this.peek(Ds)){var pe=this.create(pi);return this.consumeToken(),p.setIdentifier(this.finish(pe)),this.finish(p)}var He=!1;return p.setIdentifier(this._parseVariable())&&(this.accept(h.Colon),He=!0),p.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||He?this.finish(p):null},c.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var p=this.create(Ti);if(this.consumeToken(),p.isNegated=this.acceptIdent("not"),!p.getConditions().addChild(this._parseGuardCondition()))return this.finish(p,le.ConditionExpected);for(;this.acceptIdent("and")||this.accept(h.Comma);)if(!p.getConditions().addChild(this._parseGuardCondition()))return this.finish(p,le.ConditionExpected);return this.finish(p)},c.prototype._parseGuardCondition=function(){if(!this.peek(h.ParenthesisL))return null;var p=this.create(ft);return this.consumeToken(),p.addChild(this._parseExpr()),this.accept(h.ParenthesisR)?this.finish(p):this.finish(p,le.RightParenthesisExpected)},c.prototype._parseFunction=function(){var p=this.mark(),F=this.create(ut);if(!F.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(h.ParenthesisL))return this.restoreAtMark(p),null;if(F.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(h.Comma)||this.accept(h.SemiColon))&&!this.peek(h.ParenthesisR);)if(!F.getArguments().addChild(this._parseMixinArgument()))return this.finish(F,le.ExpressionExpected)}return this.accept(h.ParenthesisR)?this.finish(F):this.finish(F,le.RightParenthesisExpected)},c.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var p=this.create(Wt);return p.referenceTypes=[At.Function],this.consumeToken(),this.finish(p)}return x.prototype._parseFunctionIdentifier.call(this)},c.prototype._parseURLArgument=function(){var p=this.mark(),F=x.prototype._parseURLArgument.call(this);if(!F||!this.peek(h.ParenthesisR)){this.restoreAtMark(p);var pe=this.create(pi);return pe.addChild(this._parseBinaryExpr()),this.finish(pe)}return F},c}(ln),Ys=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),Bn=Gt(),Zs=function(x){function c(p,F){return x.call(this,"@",p,F)||this}return Ys(c,x),c.prototype.createFunctionProposals=function(p,F,pe,He){for(var Qe=0,Vt=p;Qe<Vt.length;Qe++){var $t=Vt[Qe],ci={label:$t.name,detail:$t.example,documentation:$t.description,textEdit:Tn.replace(this.getCompletionRange(F),$t.name+"($0)"),insertTextFormat:eo.Snippet,kind:zn.Function};pe&&(ci.sortText="z"),He.items.push(ci)}return He},c.prototype.getTermProposals=function(p,F,pe){var He=c.builtInProposals;return p&&(He=He.filter(function(Qe){return!Qe.type||!p.restrictions||p.restrictions.indexOf(Qe.type)!==-1})),this.createFunctionProposals(He,F,!0,pe),x.prototype.getTermProposals.call(this,p,F,pe)},c.prototype.getColorProposals=function(p,F,pe){return this.createFunctionProposals(c.colorProposals,F,!1,pe),x.prototype.getColorProposals.call(this,p,F,pe)},c.prototype.getCompletionsForDeclarationProperty=function(p,F){return this.getCompletionsForSelector(null,!0,F),x.prototype.getCompletionsForDeclarationProperty.call(this,p,F)},c.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:Bn("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:Bn("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:Bn("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:Bn("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:Bn("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:Bn("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:Bn("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:Bn("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:Bn("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:Bn("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:Bn("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:Bn("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:Bn("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:Bn("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:Bn("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:Bn("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:Bn("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:Bn("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:Bn("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:Bn("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:Bn("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:Bn("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:Bn("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:Bn("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:Bn("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:Bn("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:Bn("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:Bn("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:Bn("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:Bn("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],c.colorProposals=[{name:"argb",example:"argb(@color);",description:Bn("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:Bn("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:Bn("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:Bn("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:Bn("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:Bn("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:Bn("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:Bn("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:Bn("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:Bn("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:Bn("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:Bn("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:Bn("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:Bn("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:Bn("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:Bn("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:Bn("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:Bn("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:Bn("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:Bn("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:Bn("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:Bn("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:Bn("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:Bn("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:Bn("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:Bn("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:Bn("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],c}(Ar);function ca(x,c){return function(p,F){var pe=F&&F.rangeLimit||Number.MAX_VALUE,He=p.sort(function($t,ci){var Ft=$t.startLine-ci.startLine;return Ft===0&&(Ft=$t.endLine-ci.endLine),Ft}),Qe=[],Vt=-1;return He.forEach(function($t){$t.startLine<Vt&&Vt<$t.endLine||(Qe.push($t),Vt=$t.endLine)}),Qe.length<pe?Qe:Qe.slice(0,pe)}(function(p){function F(Fi){return p.positionAt(Fi.offset).line}function pe(Fi){return p.positionAt(Fi.offset+Fi.len).line}var He=[],Qe=[],Vt=function(){switch(p.languageId){case"scss":return new Ha;case"less":return new er;default:return new ee}}();Vt.ignoreComment=!1,Vt.setSource(p.getText());for(var $t=Vt.scan(),ci=null,Ft=function(){switch($t.type){case h.CurlyL:case so:Qe.push({line:F($t),type:"brace",isStart:!0});break;case h.CurlyR:if(Qe.length!==0){if(!(rn=Da(Qe,"brace")))break;var Fi=pe($t);rn.type==="brace"&&(ci&&pe(ci)!==Fi&&Fi--,rn.line!==Fi&&He.push({startLine:rn.line,endLine:Fi,kind:void 0}))}break;case h.Comment:var cn=function(jn){return jn==="#region"?{line:F($t),type:"comment",isStart:!0}:{line:pe($t),type:"comment",isStart:!1}},vn=function(jn){var Vn=jn.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(Vn)return cn(Vn[1]);if(p.languageId==="scss"||p.languageId==="less"){var Ln=jn.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(Ln)return cn(Ln[1])}return null}($t);if(vn)if(vn.isStart)Qe.push(vn);else{var rn;if(!(rn=Da(Qe,"comment")))break;rn.type==="comment"&&rn.line!==vn.line&&He.push({startLine:rn.line,endLine:vn.line,kind:"region"})}else{var Pn=function(jn,Vn){var Ln=F(jn),mo=pe(jn);return Ln!==mo?{startLine:Ln,endLine:mo,kind:Vn}:null}($t,"comment");Pn&&He.push(Pn)}}ci=$t,$t=Vt.scan()};$t.type!==h.EOF;)Ft();return He}(x),c)}function Da(x,c){if(x.length===0)return null;for(var p=x.length-1;p>=0;p--)if(x[p].type===c&&x[p].isStart)return x.splice(p,1)[0];return null}var ao={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:59,description:"Aligns a flex container\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:81,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:50,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",relevance:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",relevance:69,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-duration",syntax:"<time>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"animation-timing-function",syntax:"<timing-function>#",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element\u2019s contents: if the element has a scrolling mechanism, the background scrolls with the element\u2019s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element\u2019s border.)"}],syntax:"<attachment>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-blend-mode",browsers:["E79","FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",relevance:67,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"background-color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"background-origin",syntax:"<box>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-position",syntax:"<bg-position>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"behavior",browsers:["IE6"],relevance:50,description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element\u2019s 'writing-mode'.",restrictions:["length","percentage"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"border-bottom-width",syntax:"<line-width>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",relevance:75,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",relevance:86,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"border-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-left-color",syntax:"<color>",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"border-left-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"border-left-width",syntax:"<line-width>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right-color",syntax:"<color>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"border-right-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"border-right-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"border-spacing",syntax:"<length> <length>?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-top-color",syntax:"<color>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"border-top-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"border-top-width",syntax:"<line-width>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"box-decoration-break",browsers:["E79","FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",relevance:50,description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"caret-color",browsers:["E79","FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element\u2019s box.",restrictions:["enum"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Sets the color of an element's text",restrictions:["color"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],relevance:50,description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",relevance:52,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"column-rule-color",syntax:"<color>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"column-rule-style",syntax:"<'border-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"column-rule-width",syntax:"<'border-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"contain",browsers:["E79","FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],syntax:"none | strict | content | [ size || layout || style || paint ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],relevance:50,description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",relevance:50,description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can\u2019t create a representation for a given counter value.",restrictions:["identifier"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: \u2018hatch\u2019, \u2018linearGradient\u2019, \u2018mesh\u2019, \u2018pattern\u2019, \u2018radialGradient\u2019 and \u2018solidcolor\u2019."},{name:"none",description:"No paint is applied in this layer."}],relevance:74,description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"fill-opacity",relevance:52,description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the \u2018insideness\u2019 of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element\u2019s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item\u2019s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item\u2019s content."}],syntax:"content | <'width'>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-direction",values:[{name:"column",description:"The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",relevance:78,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\u2019s main axis.",restrictions:["enum"]},{name:"flex-flow",values:[{name:"column",description:"The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"flex-grow",syntax:"<number>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-shrink",syntax:"<number>",relevance:69,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"font-kerning",browsers:["E79","FF32","S9","C33","O20"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"font-size-adjust",browsers:["E79","FF40","C43","O30"],values:[{name:"none",description:"Do not preserve the font\u2019s x-height."}],syntax:"none | <number>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",relevance:83,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["E79","FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["E79","FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"font-variant-ligatures",browsers:["E79","FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of \u2018normal\u2019 implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["E79","FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"glyph-orientation-horizontal",relevance:50,description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],relevance:50,description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a \u201Cdense\u201D packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",relevance:1,description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item\u2019s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item\u2019s placement such that the corresponding edge of the grid item\u2019s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item\u2019s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn\u2019t define any named grid areas."}],syntax:"none | <string>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"image-orientation",browsers:["E81","FF26","S13.1","C81","O67"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-rendering",browsers:["E79","FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["E79","FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"inline-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element\u2019s 'writing-mode'.",restrictions:["length","percentage"]},{name:"isolation",browsers:["E79","FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",relevance:82,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],relevance:50,description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item\u2019s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item\u2019s marker",restrictions:["enum","string"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"margin-block-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-block-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given \u2018path\u2019 element or basic shape.",restrictions:["url"]},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["E79","FF53","S4","C1","O15"],syntax:"<geometry-box>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"mask-type",browsers:["E79","FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"max-block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element\u2019s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"max-inline-size",browsers:["E79","FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element\u2019s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element\u2019s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"min-inline-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element\u2019s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"mix-blend-mode",browsers:["E79","FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"motion-offset",browsers:["C46","O33"],relevance:50,description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],relevance:50,description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",relevance:0,description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],relevance:50,description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],relevance:50,description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],relevance:50,description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],relevance:50,description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],relevance:50,description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],relevance:50,description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],relevance:50,description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],relevance:50,description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",relevance:0,description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],relevance:50,description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",relevance:0,description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",relevance:0,description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",relevance:0,description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",relevance:0,description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",relevance:0,description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],relevance:50,description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],relevance:50,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],relevance:50,description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\u2019s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container\u2019s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container\u2019s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element\u2019s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item\u2019s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item\u2019s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],relevance:50,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],relevance:50,description:"Aligns a flex container\u2019s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],relevance:50,description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],relevance:50,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],relevance:50,description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],relevance:50,description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],relevance:50,description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",relevance:0,description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",relevance:0,description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",relevance:0,description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",relevance:0,description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],relevance:50,description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],relevance:50,description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],relevance:50,description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],relevance:50,description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],relevance:50,description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],relevance:50,description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],relevance:50,description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],relevance:50,description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",relevance:0,description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],relevance:50,description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE5"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",relevance:0,description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",relevance:0,description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",relevance:0,description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",relevance:0,description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030\u2013U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],relevance:50,description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],relevance:50,description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],relevance:50,description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],relevance:50,description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],relevance:50,description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",relevance:0,description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",relevance:0,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],relevance:50,description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],relevance:50,description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content\u2019s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",relevance:0,description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",relevance:0,description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],relevance:50,description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],relevance:50,description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],relevance:50,description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],relevance:50,description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",relevance:50,description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element\u2019s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element\u2019s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element\u2019s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if \u2018none\u2019 or \u2018contain\u2019 were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element\u2019s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element\u2019s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element\u2019s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if \u2018none\u2019 or \u2018contain\u2019 were specified, whichever would result in a smaller concrete object size."}],relevance:50,description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],relevance:50,description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"opacity",syntax:"<alpha-value>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"order",syntax:"<integer>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"-o-table-baseline",browsers:["O9.6"],relevance:50,description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],relevance:50,description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"outline-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn\u2019t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",relevance:50,description:"@counter-style descriptor. Specifies a \u201Cfixed-width\u201D counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-bottom",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element\u2019s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-right",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],syntax:"normal | [ fill || stroke || markers ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"perspective-origin",syntax:"<position>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over a \u2018painted\u2019 area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the \u2018visibility\u2019 property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",relevance:80,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],description:"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.",restrictions:["enum"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",relevance:50,description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"resize",browsers:["E79","FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE6"],relevance:50,description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"scroll-behavior",browsers:["E79","FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container\u2019s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container\u2019s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container\u2019s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container\u2019s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"shape-image-threshold",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<alpha-value>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"shape-margin",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<length-percentage>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-outside",browsers:["E79","FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],relevance:50,description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],syntax:"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",relevance:52,description:"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.",restrictions:["length"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",relevance:67,description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"stop-color",relevance:51,description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"stop-opacity",relevance:50,description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: \u2018hatch\u2019, \u2018linearGradient\u2019, \u2018mesh\u2019, \u2018pattern\u2019, \u2018radialGradient\u2019 and \u2018solidcolor\u2019."},{name:"none",description:"No paint is applied in this layer."}],relevance:63,description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],relevance:58,description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"stroke-dashoffset",relevance:58,description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],relevance:53,description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],relevance:50,description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"stroke-miterlimit",relevance:50,description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"stroke-opacity",relevance:51,description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"stroke-width",relevance:60,description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents \u201Csign-value\u201D numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:`interprets the list of counter symbols as digits to a "place-value" numbering system, similar to the default 'decimal' counter style.`},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",relevance:50,description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter\u2019s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"tab-size",browsers:["E79","FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O34"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],relevance:50,description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"text-decoration-color",browsers:["E79","FF36","S12.1","C57","O44"],syntax:"<color>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"text-decoration-line",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"text-orientation",browsers:["E79","FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["E79","FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["E79","FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90\xB0 clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"text-rendering",browsers:["E79","FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The \u2018text-rendering\u2019 property provides these hints.",restrictions:["enum"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element\u2019s text.",restrictions:["enum"]},{name:"text-underline-position",values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline\u2019s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element\u2019s content box."}],syntax:"auto | from-font | [ under || [ left | right ] ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element\u2019s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element\u2019s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"transform-style",browsers:["E12","FF16","S9","C36","O23"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O23"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"transition-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"transition-duration",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"transition-timing-function",syntax:"<timing-function>#",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00\u2013FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200\u201322FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530\u201358F",description:"Armenian."},{name:"U+590\u20135FF",description:"Hebrew."},{name:"U+600\u20136FF",description:"Arabic."},{name:"U+750\u201377F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0\u20138FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700\u201374F",description:"Syriac."},{name:"U+900\u201397F",description:"Devanagari."},{name:"U+980\u20139FF",description:"Bengali."},{name:"U+A00\u2013A7F",description:"Gurmukhi."},{name:"U+A80\u2013AFF",description:"Gujarati."},{name:"U+B00\u2013B7F",description:"Oriya."},{name:"U+B80\u2013BFF",description:"Tamil."},{name:"U+C00\u2013C7F",description:"Telugu."},{name:"U+C80\u2013CFF",description:"Kannada."},{name:"U+D00\u2013D7F",description:"Malayalam."},{name:"U+D80\u2013DFF",description:"Sinhala."},{name:"U+118A0\u2013118FF",description:"Warang Citi."},{name:"U+E00\u2013E7F",description:"Thai."},{name:"U+1A20\u20131AAF",description:"Tai Tham."},{name:"U+AA80\u2013AADF",description:"Tai Viet."},{name:"U+E80\u2013EFF",description:"Lao."},{name:"U+F00\u2013FFF",description:"Tibetan."},{name:"U+1000\u2013109F",description:"Myanmar (Burmese)."},{name:"U+10A0\u201310FF",description:"Georgian."},{name:"U+1200\u2013137F",description:"Ethiopic."},{name:"U+1380\u2013139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80\u20132DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00\u2013AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780\u201317FF",description:"Khmer."},{name:"U+1800\u201318AF",description:"Mongolian."},{name:"U+1B80\u20131BBF",description:"Sundanese."},{name:"U+1CC0\u20131CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00\u20139FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400\u20134DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00\u20132FDF",description:"Kangxi Radicals."},{name:"U+2E80\u20132EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100\u201311FF",description:"Hangul Jamo."},{name:"U+AC00\u2013D7AF",description:"Hangul Syllables."},{name:"U+3040\u2013309F",description:"Hiragana."},{name:"U+30A0\u201330FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0\u2013A4FF",description:"Lisu."},{name:"U+A000\u2013A48F",description:"Yi Syllables."},{name:"U+A490\u2013A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000\u2013303F",description:"CJK Symbols and Punctuation."},{name:"U+2070\u2013209F",description:"Superscripts and Subscripts."},{name:"U+20A0\u201320CF",description:"Currency Symbols."},{name:"U+2100\u2013214F",description:"Letterlike Symbols."},{name:"U+2150\u2013218F",description:"Number Forms."},{name:"U+2190\u201321FF",description:"Arrows."},{name:"U+2200\u201322FF",description:"Mathematical Operators."},{name:"U+2300\u201323FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00\u2013FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50\u2013FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600\u20131F64F",description:"Emoji: Emoticons."},{name:"U+2600\u201326FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300\u20131F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900\u20131F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680\u20131F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",relevance:58,description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",relevance:24,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the \u2018display\u2019 property to \u2018none\u2019 to suppress box generation altogether).",restrictions:["enum"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",relevance:0,description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],relevance:50,description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],relevance:50,restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],relevance:50,description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["E79","S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],relevance:50,description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],relevance:50,description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Processes an element\u2019s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],relevance:50,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],relevance:50,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],relevance:50,description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],relevance:50,description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",relevance:0,description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",relevance:0,description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",relevance:0,description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",relevance:0,description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image\u2019s intrinsic ratio and the size of the other dimension, or failing that, using the image\u2019s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",relevance:0,description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],relevance:50,description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],relevance:50,description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E12","C16","O\u226415"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}],restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],relevance:50,description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],relevance:50,restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",relevance:0,description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"will-change",browsers:["E79","FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element\u2019s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between \u201Cwords\u201D.",restrictions:["length","percentage"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",relevance:0,description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",relevance:0,browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:`If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value. -This feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true.`},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",relevance:0,description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",relevance:0,description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",relevance:0,description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",relevance:0,description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",relevance:0,browsers:["E79","S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",relevance:0,description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",relevance:0,description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",relevance:0,description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",relevance:50,browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",relevance:0,description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",relevance:0,browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",relevance:0,browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",relevance:0,description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | menulist-button | <compat-auto>",relevance:60,browsers:["E84","FF1","S3","C84","O70"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",relevance:50,browsers:["E79","FF71","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}],description:"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"backdrop-filter",syntax:"none | <filter-function-list>",relevance:51,browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",relevance:50,browsers:["E79","FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"font-optical-sizing",syntax:"auto | none",relevance:50,browsers:["E17","FF62","S11","C79","O66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",relevance:50,browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"font-smooth",status:"nonstandard",syntax:"auto | never | always | <absolute-size> | <length>",relevance:0,browsers:["E79","FF25","S4","C5","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-smooth"}],description:""},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",relevance:50,browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",relevance:50,description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",relevance:50,browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"inset",syntax:"<'top'>{1,4}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",relevance:50,browsers:["E79","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-trim",status:"experimental",syntax:"none | in-flow | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-trim"}],description:"The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges."},{name:"mask",syntax:"<mask-layer>#",relevance:50,browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"mask-border",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",relevance:50,description:`The mask-border CSS property lets you create a mask along the edge of an element's border. +This feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true.`},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",relevance:0,description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",relevance:0,description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",relevance:0,description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",relevance:0,description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",relevance:0,browsers:["E79","S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",relevance:0,description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",relevance:0,description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",relevance:0,description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",relevance:50,browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",relevance:0,description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",relevance:0,browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",relevance:0,browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",relevance:0,description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | menulist-button | <compat-auto>",relevance:60,browsers:["E84","FF1","S3","C84","O70"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",relevance:50,browsers:["E79","FF71","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}],description:"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"backdrop-filter",syntax:"none | <filter-function-list>",relevance:51,browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",relevance:50,browsers:["E79","FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"font-optical-sizing",syntax:"auto | none",relevance:50,browsers:["E17","FF62","S11","C79","O66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",relevance:50,browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"font-smooth",status:"nonstandard",syntax:"auto | never | always | <absolute-size> | <length>",relevance:0,browsers:["E79","FF25","S4","C5","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-smooth"}],description:""},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",relevance:50,browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",relevance:50,description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image\u2019s intrinsic dimensions."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",relevance:50,browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"inset",syntax:"<'top'>{1,4}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",relevance:50,browsers:["E79","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-trim",status:"experimental",syntax:"none | in-flow | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-trim"}],description:"The margin-trim property allows the container to trim the margins of its children where they adjoin the container\u2019s edges."},{name:"mask",syntax:"<mask-layer>#",relevance:50,browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"mask-border",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",relevance:50,description:`The mask-border CSS property lets you create a mask along the edge of an element's border. This property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value.`},{name:"mask-border-mode",syntax:"luminance | alpha",relevance:50,description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:50,description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",syntax:"<number-percentage>{1,4} fill?",relevance:50,description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",syntax:"none | <image>",relevance:50,description:`The mask-border-source CSS property specifies the source image used to create an element's mask border. -The mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border.`},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["E79","FF72","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:`The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position. +The mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border.`},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["E79","FF72","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:`The offset-path CSS property specifies the offset path where the element gets positioned. The exact element\u2019s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position. -In this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.`},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:51,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",relevance:50,browsers:["E79","FF53","S9","C59","O46"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",relevance:50,browsers:["E79","FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",relevance:50,browsers:["E79","FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"row-gap",syntax:"normal | <length-percentage>",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",relevance:50,description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scale",syntax:"none | <number>{1,3}",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"scroll-snap-stop",syntax:"normal | always",relevance:50,browsers:["E79","C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:`The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one. +In this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object\u2019s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.`},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:51,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior \u2014 what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior \u2014 what happens when the boundary of a scrolling area is reached \u2014 in the x axis direction."},{name:"overscroll-behavior-y",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior \u2014 what happens when the boundary of a scrolling area is reached \u2014 in the y axis direction."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",relevance:50,browsers:["E79","FF53","S9","C59","O46"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",relevance:50,browsers:["E79","FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",relevance:50,browsers:["E79","FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"row-gap",syntax:"normal | <length-percentage>",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",relevance:50,description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scale",syntax:"none | <number>{1,3}",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element\u2019s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container\u2019s coordinate space), then adding the specified outsets."},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box\u2019s snap position as an alignment of its snap area (as the alignment subject) within its snap container\u2019s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"scroll-snap-stop",syntax:"normal | always",relevance:50,browsers:["E79","C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:`The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.`},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:`The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent.`},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:`The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes. -This is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese.`},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:56,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"transform-box",syntax:"content-box | border-box | fill-box | stroke-box | view-box",relevance:50,browsers:["E79","FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",relevance:50,description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",relevance:54,description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"bleed",syntax:"auto | <length>",relevance:50,description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",syntax:"none | [ crop || cross ]",relevance:50,description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:`The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request. +This is used to produce an effect that is known as tate-ch\u016B-yoko (\u7E26\u4E2D\u6A2A) in Japanese, or as \u76F4\u66F8\u6A6B\u5411 in Chinese.`},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element\u2019s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:56,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"transform-box",syntax:"content-box | border-box | fill-box | stroke-box | view-box",relevance:50,browsers:["E79","FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",relevance:50,description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",relevance:54,description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"bleed",syntax:"auto | <length>",relevance:50,description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",syntax:"none | [ crop || cross ]",relevance:50,description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:`The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request. A zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.`},{name:"min-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:`The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request. -A zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.`},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["E79","FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["E79","FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["E79","FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["E79","FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["E79","FF78","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",browsers:["FF78","C72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:where"}],description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["E79","FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E","IE10"],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E","IE10"],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E","IE10"],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E","IE10"],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E","IE10"],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E","IE10"],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E","IE10"],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E","IE10"],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["E79","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]},{name:"::-webkit-outer-spin-button",browsers:["S5","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["E79","S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-corner",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-thumb",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-search-cancel-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:`The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input's track to alter its numerical value.`},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:`The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element. - -In order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element.`},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E80","FF68","S11.1","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},Qg=function(){function v(j){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(j)}return v.prototype.provideProperties=function(){return this._properties},v.prototype.provideAtDirectives=function(){return this._atDirectives},v.prototype.providePseudoClasses=function(){return this._pseudoClasses},v.prototype.providePseudoElements=function(){return this._pseudoElements},v.prototype.addData=function(j){if(Array.isArray(j.properties))for(var m=0,M=j.properties;m<M.length;m++){var na=M[m];"string"==typeof na.name&&this._properties.push(na)}if(Array.isArray(j.atDirectives))for(var Ua=0,Za=j.atDirectives;Ua<Za.length;Ua++)Ag(na=Za[Ua])&&this._atDirectives.push(na);if(Array.isArray(j.pseudoClasses))for(var Kb=0,Qb=j.pseudoClasses;Kb<Qb.length;Kb++)Qf(na=Qb[Kb])&&this._pseudoClasses.push(na);if(Array.isArray(j.pseudoElements))for(var fc=0,Ib=j.pseudoElements;fc<Ib.length;fc++)ch(na=Ib[fc])&&this._pseudoElements.push(na)},v}();function Ag(v){return"string"==typeof v.name}function Qf(v){return"string"==typeof v.name}function ch(v){return"string"==typeof v.name}var xh=function(){function v(j){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders(!1!==(null==j?void 0:j.useDefaultDataProvider),(null==j?void 0:j.customDataProviders)||[])}return v.prototype.setDataProviders=function(j,m){var M;this.dataProviders=[],j&&this.dataProviders.push(new Qg(fe)),(M=this.dataProviders).push.apply(M,m),this.collectData()},v.prototype.collectData=function(){var j=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach(function(m){m.provideProperties().forEach(function(M){j._propertySet[M.name]||(j._propertySet[M.name]=M)}),m.provideAtDirectives().forEach(function(M){j._atDirectiveSet[M.name]||(j._atDirectiveSet[M.name]=M)}),m.providePseudoClasses().forEach(function(M){j._pseudoClassSet[M.name]||(j._pseudoClassSet[M.name]=M)}),m.providePseudoElements().forEach(function(M){j._pseudoElementSet[M.name]||(j._pseudoElementSet[M.name]=M)})}),this._properties=Wb(this._propertySet),this._atDirectives=Wb(this._atDirectiveSet),this._pseudoClasses=Wb(this._pseudoClassSet),this._pseudoElements=Wb(this._pseudoElementSet)},v.prototype.getProperty=function(j){return this._propertySet[j]},v.prototype.getAtDirective=function(j){return this._atDirectiveSet[j]},v.prototype.getPseudoClass=function(j){return this._pseudoClassSet[j]},v.prototype.getPseudoElement=function(j){return this._pseudoElementSet[j]},v.prototype.getProperties=function(){return this._properties},v.prototype.getAtDirectives=function(){return this._atDirectives},v.prototype.getPseudoClasses=function(){return this._pseudoClasses},v.prototype.getPseudoElements=function(){return this._pseudoElements},v.prototype.isKnownProperty=function(j){return j.toLowerCase()in this._propertySet},v.prototype.isStandardProperty=function(j){return this.isKnownProperty(j)&&(!this._propertySet[j.toLowerCase()].status||"standard"===this._propertySet[j.toLowerCase()].status)},v}();function ri(v,j,m){return j.map(function(M){for(var na=function(Kb){var Qb=v.offsetAt(Kb),fc=m.findChildAtOffset(Qb,!0);if(!fc)return[];for(var Ib=[];fc;)fc.parent&&fc.offset===fc.parent.offset&&fc.end===fc.parent.end||(fc.type===gb.Declarations&&Qb>fc.offset&&Qb<fc.end&&Ib.push([fc.offset+1,fc.end-1]),Ib.push([fc.offset,fc.end])),fc=fc.parent;return Ib}(M),Ua=void 0,Za=na.length-1;Za>=0;Za--)Ua=Yg.create(rd.create(v.positionAt(na[Za][0]),v.positionAt(na[Za][1])),Ua);return Ua||(Ua=Yg.create(rd.create(M,M))),Ua})}var Nh=function(){var v=function(j,m){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,na){M.__proto__=na}||function(M,na){for(var Ua in na)na.hasOwnProperty(Ua)&&(M[Ua]=na[Ua])})(j,m)};return function(j,m){function M(){this.constructor=j}v(j,m),j.prototype=null===m?Object.create(m):(M.prototype=m.prototype,new M())}}(),Rg=function(v,j,m,M){return new(m||(m=Promise))(function(na,Ua){function Za(fc){try{Qb(M.next(fc))}catch(Ib){Ua(Ib)}}function Kb(fc){try{Qb(M.throw(fc))}catch(Ib){Ua(Ib)}}function Qb(fc){var Ib;fc.done?na(fc.value):(Ib=fc.value,Ib instanceof m?Ib:new m(function(Lc){Lc(Ib)})).then(Za,Kb)}Qb((M=M.apply(v,j||[])).next())})},Oh=function(v,j){var m,M,na,Ua,Za={label:0,sent:function(){if(1&na[0])throw na[1];return na[1]},trys:[],ops:[]};return Ua={next:Kb(0),throw:Kb(1),return:Kb(2)},"function"==typeof Symbol&&(Ua[Symbol.iterator]=function(){return this}),Ua;function Kb(Qb){return function(fc){return function(Ib){if(m)throw new TypeError("Generator is already executing.");for(;Za;)try{if(m=1,M&&(na=2&Ib[0]?M.return:Ib[0]?M.throw||((na=M.return)&&na.call(M),0):M.next)&&!(na=na.call(M,Ib[1])).done)return na;switch(M=0,na&&(Ib=[2&Ib[0],na.value]),Ib[0]){case 0:case 1:na=Ib;break;case 4:return Za.label++,{value:Ib[1],done:!1};case 5:Za.label++,M=Ib[1],Ib=[0];continue;case 7:Ib=Za.ops.pop(),Za.trys.pop();continue;default:if(!(na=Za.trys,(na=na.length>0&&na[na.length-1])||6!==Ib[0]&&2!==Ib[0])){Za=0;continue}if(3===Ib[0]&&(!na||Ib[1]>na[0]&&Ib[1]<na[3])){Za.label=Ib[1];break}if(6===Ib[0]&&Za.label<na[1]){Za.label=na[1],na=Ib;break}if(na&&Za.label<na[2]){Za.label=na[2],Za.ops.push(Ib);break}na[2]&&Za.ops.pop(),Za.trys.pop();continue}Ib=j.call(v,Za)}catch(Lc){Ib=[6,Lc],M=0}finally{m=na=0}if(5&Ib[0])throw Ib[1];return{value:Ib[0]?Ib[1]:void 0,done:!0}}([Qb,fc])}}},Vi=function(v){function j(m){return v.call(this,m)||this}return Nh(j,v),j.prototype.isRawStringDocumentLinkNode=function(m){return v.prototype.isRawStringDocumentLinkNode.call(this,m)||m.type===gb.Use||m.type===gb.Forward},j.prototype.resolveRelativeReference=function(m,M,na){return Rg(this,void 0,void 0,function(){var Ua,Za,Kb,Qb;return Oh(this,function(fc){switch(fc.label){case 0:return va(m,"sass:")?[2,void 0]:[4,v.prototype.resolveRelativeReference.call(this,m,M,na)];case 1:if(Ua=fc.sent(),!this.fileSystemProvider||!Ua||0!==function(Ib){for(var Lc=Ib.length-1;Lc>=0;Lc--){var id=Ib.charCodeAt(Lc);if(id===vf){if(Lc>0&&Ib.charCodeAt(Lc-1)!==sg)return Ib.substr(Lc);break}if(id===sg)break}return""}(Ua).length)return[3,8];fc.label=2;case 2:if(fc.trys.push([2,7,,8]),Za=ph.a.parse(Ua),!(Kb=function(Ib){if(""!==Ib.path&&!Ib.path.endsWith(".scss")&&!Ib.path.endsWith(".css")){if(Ib.path.endsWith("/"))return[Ib.with({path:Ib.path+"index.scss"}).toString(),Ib.with({path:Ib.path+"_index.scss"}).toString()];var Lc=Ib.path.split("/"),id=Lc[Lc.length-1],pd=Ib.path.slice(0,-id.length);if(id.startsWith("_"))return Ib.path.endsWith(".scss")?void 0:[Ib.with({path:Ib.path+".scss"}).toString()];var cd=id+".scss",Hd=function(Md){return Ib.with({path:pd+Md}).toString()};return[Hd(cd),Hd("_"+cd),Hd(cd.slice(0,-5)+"/index.scss"),Hd(cd.slice(0,-5)+"/_index.scss"),Hd(cd.slice(0,-5)+".css")]}}(Za)))return[3,6];Qb=0,fc.label=3;case 3:return Qb<Kb.length?[4,this.fileExists(Kb[Qb])]:[3,6];case 4:if(fc.sent())return[2,Kb[Qb]];fc.label=5;case 5:return Qb++,[3,3];case 6:return[2,void 0];case 7:return fc.sent(),[3,8];case 8:return[2,Ua]}})})},j}(ob);function dh(v,j,m,M,na,Ua,Za){return{configure:function(Kb){Ua.configure(Kb),j.configure(Kb)},setDataProviders:Za.setDataProviders.bind(Za),doValidation:Ua.doValidation.bind(Ua),parseStylesheet:v.parseStylesheet.bind(v),doComplete:j.doComplete.bind(j),doComplete2:j.doComplete2.bind(j),setCompletionParticipants:j.setCompletionParticipants.bind(j),doHover:m.doHover.bind(m),findDefinition:M.findDefinition.bind(M),findReferences:M.findReferences.bind(M),findDocumentHighlights:M.findDocumentHighlights.bind(M),findDocumentLinks:M.findDocumentLinks.bind(M),findDocumentLinks2:M.findDocumentLinks2.bind(M),findDocumentSymbols:M.findDocumentSymbols.bind(M),doCodeActions:na.doCodeActions.bind(na),doCodeActions2:na.doCodeActions2.bind(na),findColorSymbols:function(Kb,Qb){return M.findDocumentColors(Kb,Qb).map(function(fc){return fc.range})},findDocumentColors:M.findDocumentColors.bind(M),getColorPresentations:M.getColorPresentations.bind(M),doRename:M.doRename.bind(M),getFoldingRanges:wh,getSelectionRanges:ri}}var Ph={};function vj(v){void 0===v&&(v=Ph);var j=new xh(v);return dh(new hd(),new xf(null,v,j),new Ia(v&&v.clientCapabilities,j),new ob(v&&v.fileSystemProvider),new Pd(j),new _g(j),j)}function wj(v){void 0===v&&(v=Ph);var j=new xh(v);return dh(new Bf(),new ni(v,j),new Ia(v&&v.clientCapabilities,j),new Vi(v&&v.fileSystemProvider),new Pd(j),new _g(j),j)}function xj(v){void 0===v&&(v=Ph);var j=new xh(v);return dh(new Ng(),new Pg(v,j),new Ia(v&&v.clientCapabilities,j),new ob(v&&v.fileSystemProvider),new Pd(j),new _g(j),j)}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y}),f.d(t,"b",function(){return F});var l=f(68),q=f(18);l.a;const y=Object(q.c)("notificationService");class F{}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("keybindingService")},function(Ga,t,f){"use strict";f.d(t,"i",function(){return R}),f.d(t,"e",function(){return L}),f.d(t,"f",function(){return s}),f.d(t,"c",function(){return z}),f.d(t,"b",function(){return D}),f.d(t,"d",function(){return Q}),f.d(t,"g",function(){return B}),f.d(t,"h",function(){return C}),f.d(t,"j",function(){return k}),f.d(t,"k",function(){return w}),f.d(t,"a",function(){return u});var l=f(179),q=f(42),y=f(23),F=f(8),P=f(45),Y=f(11);function R(A){return Object(y.b)(A,!0)}const L=new class{constructor(A){this._ignorePathCasing=A}compare(A,U,da=!1){return A===U?0:Object(F.f)(this.getComparisonKey(A,da),this.getComparisonKey(U,da))}isEqual(A,U,da=!1){return A===U||!(!A||!U)&&this.getComparisonKey(A,da)===this.getComparisonKey(U,da)}getComparisonKey(A,U=!1){return A.with({path:this._ignorePathCasing(A)?A.path.toLowerCase():void 0,fragment:U?null:void 0}).toString()}joinPath(A,...U){return y.a.joinPath(A,...U)}basenameOrAuthority(A){return D(A)||A.authority}basename(A){return q.e.basename(A.path)}dirname(A){if(0===A.path.length)return A;let U;return A.scheme===P.b.file?U=y.a.file(q.b(R(A))).path:(U=q.e.dirname(A.path),A.authority&&U.length&&47!==U.charCodeAt(0)&&(console.error(`dirname("${A.toString})) resulted in a relative path`),U="/")),A.with({path:U})}normalizePath(A){if(!A.path.length)return A;let U;return U=A.scheme===P.b.file?y.a.file(q.d(R(A))).path:q.e.normalize(A.path),A.with({path:U})}relativePath(A,U){if(A.scheme!==U.scheme||!x(A.authority,U.authority))return;if(A.scheme===P.b.file){const H=q.f(R(A),R(U));return Y.i?l.b(H):H}let da=A.path||"/",Z=U.path||"/";if(this._ignorePathCasing(A)){let H=0;for(const ea=Math.min(da.length,Z.length);H<ea&&(da.charCodeAt(H)===Z.charCodeAt(H)||da.charAt(H).toLowerCase()===Z.charAt(H).toLowerCase());H++);da=Z.substr(0,H)+da.substr(H)}return q.e.relative(da,Z)}resolvePath(A,U){if(A.scheme===P.b.file){const da=y.a.file(q.g(R(A),U));return A.with({authority:da.authority,path:da.path})}return-1===U.indexOf("/")&&(U=l.b(U),/^[a-zA-Z]:(\/|$)/.test(U)&&(U="/"+U)),A.with({path:q.e.resolve(A.path,U)})}isEqualAuthority(A,U){return A===U||Object(F.t)(A,U)}}(()=>!1),s=L.isEqual.bind(L),z=L.basenameOrAuthority.bind(L),D=L.basename.bind(L),Q=L.dirname.bind(L),B=L.joinPath.bind(L),C=L.normalizePath.bind(L),k=L.relativePath.bind(L),w=L.resolvePath.bind(L),x=L.isEqualAuthority.bind(L);var u;!function(A){A.META_DATA_LABEL="label",A.META_DATA_DESCRIPTION="description",A.META_DATA_SIZE="size",A.META_DATA_MIME="mime",A.parseMetaData=function(U){const da=new Map();U.path.substring(U.path.indexOf(";")+1,U.path.lastIndexOf(";")).split(";").forEach(H=>{const[ea,oa]=H.split(":");ea&&oa&&da.set(ea,oa)});const Z=U.path.substring(0,U.path.indexOf(";"));return Z&&da.set(A.META_DATA_MIME,Z),da}}(u||(u={}))},function(Ga,t,f){"use strict";var l=f(108);f.d(t,"a",function(){return l.b}),f.d(t,"b",function(){return l.e}),f.d(t,"c",function(){return l.h}),f.d(t,"d",function(){return l.l}),f.d(t,"e",function(){return l.m}),f.d(t,"f",function(){return l.n})},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});class l{constructor(y){this.element=y,this.next=l.Undefined,this.prev=l.Undefined}}l.Undefined=new l(void 0);class q{constructor(){this._first=l.Undefined,this._last=l.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===l.Undefined}clear(){this._first=l.Undefined,this._last=l.Undefined,this._size=0}unshift(y){return this._insert(y,!1)}push(y){return this._insert(y,!0)}_insert(y,F){const P=new l(y);if(this._first===l.Undefined)this._first=P,this._last=P;else if(F){const R=this._last;this._last=P,P.prev=R,R.next=P}else{const R=this._first;this._first=P,P.next=R,R.prev=P}this._size+=1;let Y=!1;return()=>{Y||(Y=!0,this._remove(P))}}shift(){if(this._first!==l.Undefined){const y=this._first.element;return this._remove(this._first),y}}pop(){if(this._last!==l.Undefined){const y=this._last.element;return this._remove(this._last),y}}_remove(y){if(y.prev!==l.Undefined&&y.next!==l.Undefined){const F=y.prev;F.next=y.next,y.next.prev=F}else y.prev===l.Undefined&&y.next===l.Undefined?(this._first=l.Undefined,this._last=l.Undefined):y.next===l.Undefined?(this._last=this._last.prev,this._last.next=l.Undefined):y.prev===l.Undefined&&(this._first=this._first.next,this._first.prev=l.Undefined);this._size-=1}*[Symbol.iterator](){let y=this._first;for(;y!==l.Undefined;)yield y.element,y=y.next}toArray(){const y=[];for(let F=this._first;F!==l.Undefined;F=F.next)y.push(F.element);return y}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"g",function(){return P}),f.d(t,"b",function(){return Y}),f.d(t,"f",function(){return R}),f.d(t,"d",function(){return L}),f.d(t,"c",function(){return s}),f.d(t,"e",function(){return z});var l=f(56),q=f(18),y=f(128);const F=Object(q.c)("configurationService");function P(D,Q){const B=Object.create(null);for(let C in D)Y(B,C,D[C],Q);return B}function Y(D,Q,B,C){const k=Q.split("."),w=k.pop();let x=D;for(let u=0;u<k.length;u++){let A=k[u],U=x[A];switch(typeof U){case"undefined":U=x[A]=Object.create(null);break;case"object":break;default:return void C(`Ignoring ${Q} as ${k.slice(0,u+1).join(".")} is ${JSON.stringify(U)}`)}x=U}if("object"==typeof x&&null!==x)try{x[w]=B}catch(u){C(`Ignoring ${Q} as ${k.join(".")} is ${JSON.stringify(x)}`)}else C(`Ignoring ${Q} as ${k.join(".")} is ${JSON.stringify(x)}`)}function R(D,Q){!function B(C,k){const w=k.shift();if(0===k.length)return void delete C[w];if(-1!==Object.keys(C).indexOf(w)){const x=C[w];"object"!=typeof x||Array.isArray(x)||(B(x,k),0===Object.keys(x).length&&delete C[w])}}(D,Q.split("."))}function L(D,Q,B){const C=function(k,w){let x=k;for(const u of w){if("object"!=typeof x||null===x)return;x=x[u]}return x}(D,Q.split("."));return void 0===C?B:C}function s(){const D=l.a.as(y.a.Configuration).getConfigurationProperties();return Object.keys(D)}function z(){const D=Object.create(null),Q=l.a.as(y.a.Configuration).getConfigurationProperties();for(let B in Q)Y(D,B,Q[B].default,C=>console.error("Conflict in default settings: "+C));return D}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f.d(t,"c",function(){return q}),f.d(t,"b",function(){return y}),f.d(t,"e",function(){return F}),f.d(t,"d",function(){return P}),f.d(t,"f",function(){return Y}),f.d(t,"h",function(){return R}),f.d(t,"i",function(){return L}),f.d(t,"g",function(){return s});var l,q,y,F,P,Y,R,L,s,z=f(0);!function(D){D.noSelection=z.a("noSelection","No selection"),D.singleSelectionRange=z.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),D.singleSelection=z.a("singleSelection","Line {0}, Column {1}"),D.multiSelectionRange=z.a("multiSelectionRange","{0} selections ({1} characters selected)"),D.multiSelection=z.a("multiSelection","{0} selections"),D.emergencyConfOn=z.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),D.openingDocs=z.a("openingDocs","Now opening the Editor Accessibility documentation page."),D.readonlyDiffEditor=z.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),D.editableDiffEditor=z.a("editableDiffEditor"," in a pane of a diff editor."),D.readonlyEditor=z.a("readonlyEditor"," in a read-only code editor"),D.editableEditor=z.a("editableEditor"," in a code editor"),D.changeConfigToOnMac=z.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),D.changeConfigToOnWinLinux=z.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),D.auto_on=z.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),D.auto_off=z.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),D.tabFocusModeOnMsg=z.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),D.tabFocusModeOnMsgNoKb=z.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),D.tabFocusModeOffMsg=z.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),D.tabFocusModeOffMsgNoKb=z.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),D.openDocMac=z.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),D.openDocWinLinux=z.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),D.outroMsg=z.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),D.showAccessibilityHelpAction=z.a("showAccessibilityHelpAction","Show Accessibility Help")}(l||(l={})),function(D){D.inspectTokensAction=z.a("inspectTokens","Developer: Inspect Tokens")}(q||(q={})),function(D){D.gotoLineActionLabel=z.a("gotoLineActionLabel","Go to Line/Column...")}(y||(y={})),function(D){D.helpQuickAccessActionLabel=z.a("helpQuickAccess","Show all Quick Access Providers")}(F||(F={})),function(D){D.quickCommandActionLabel=z.a("quickCommandActionLabel","Command Palette"),D.quickCommandHelp=z.a("quickCommandActionHelp","Show And Run Commands")}(P||(P={})),function(D){D.quickOutlineActionLabel=z.a("quickOutlineActionLabel","Go to Symbol..."),D.quickOutlineByCategoryActionLabel=z.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(Y||(Y={})),function(D){D.editorViewAccessibleLabel=z.a("editorViewAccessibleLabel","Editor content"),D.accessibilityHelpMessage=z.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(R||(R={})),function(D){D.toggleHighContrast=z.a("toggleHighContrast","Toggle High Contrast Theme")}(L||(L={})),function(D){D.bulkEditServiceSummary=z.a("bulkEditServiceSummary","Made {0} edits in {1} files")}(s||(s={}))},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(14),q=f(174);const y=new class{constructor(){this.data=new Map()}add(F,P){q.a(l.j(F)),q.a(l.i(P)),q.a(!this.data.has(F),"There is already an extension with this id"),this.data.set(F,P)}as(F){return this.data.get(F)||null}}()},function(Ga,t,f){"use strict";f.d(t,"i",function(){return P}),f.d(t,"j",function(){return Y}),f.d(t,"g",function(){return D}),f.d(t,"f",function(){return Q}),f.d(t,"h",function(){return C}),f.d(t,"a",function(){return k}),f.d(t,"k",function(){return w}),f.d(t,"b",function(){return u}),f.d(t,"n",function(){return A}),f.d(t,"e",function(){return U}),f.d(t,"c",function(){return da}),f.d(t,"d",function(){return Z}),f.d(t,"m",function(){return H}),f.d(t,"l",function(){return ea}),f.d(t,"o",function(){return ga}),f.d(t,"p",function(){return Ba}),f.d(t,"s",function(){return V}),f.d(t,"q",function(){return ma}),f.d(t,"t",function(){return ta}),f.d(t,"r",function(){return Da});var l=f(0),q=f(16),y=f(5),F=f(19);const P=Object(y.gc)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},l.a("lineHighlight","Background color for the highlight of line at the cursor position.")),Y=Object(y.gc)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},l.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),R=Object(y.gc)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},l.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),L=Object(y.gc)("editor.rangeHighlightBorder",{dark:null,light:null,hc:y.b},l.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),s=Object(y.gc)("editor.symbolHighlightBackground",{dark:y.x,light:y.x,hc:null},l.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),z=Object(y.gc)("editor.symbolHighlightBorder",{dark:null,light:null,hc:y.b},l.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),D=Object(y.gc)("editorCursor.foreground",{dark:"#AEAFAD",light:q.a.black,hc:q.a.white},l.a("caret","Color of the editor cursor.")),Q=Object(y.gc)("editorCursor.background",null,l.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),B=Object(y.gc)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},l.a("editorWhitespaces","Color of whitespace characters in the editor.")),C=Object(y.gc)("editorIndentGuide.background",{dark:B,light:B,hc:B},l.a("editorIndentGuides","Color of the editor indentation guides.")),k=Object(y.gc)("editorIndentGuide.activeBackground",{dark:B,light:B,hc:B},l.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),w=Object(y.gc)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:q.a.white},l.a("editorLineNumbers","Color of editor line numbers.")),x=Object(y.gc)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:y.b},l.a("editorActiveLineNumber","Color of editor active line number"),!1,l.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),u=Object(y.gc)("editorLineNumber.activeForeground",{dark:x,light:x,hc:x},l.a("editorActiveLineNumber","Color of editor active line number")),A=Object(y.gc)("editorRuler.foreground",{dark:"#5A5A5A",light:q.a.lightgrey,hc:q.a.white},l.a("editorRuler","Color of the editor rulers.")),U=Object(y.gc)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},l.a("editorCodeLensForeground","Foreground color of editor CodeLens")),da=Object(y.gc)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},l.a("editorBracketMatchBackground","Background color behind matching brackets")),Z=Object(y.gc)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:y.h},l.a("editorBracketMatchBorder","Color for matching brackets boxes")),H=Object(y.gc)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},l.a("editorOverviewRulerBorder","Color of the overview ruler border.")),ea=Object(y.gc)("editorOverviewRuler.background",null,l.a("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),oa=Object(y.gc)("editorGutter.background",{dark:y.s,light:y.s,hc:y.s},l.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),ga=Object(y.gc)("editorUnnecessaryCode.border",{dark:null,light:null,hc:q.a.fromHex("#fff").transparent(.8)},l.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),Ba=Object(y.gc)("editorUnnecessaryCode.opacity",{dark:q.a.fromHex("#000a"),light:q.a.fromHex("#0007"),hc:null},l.a("unnecessaryCodeOpacity",`Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`)),N=new q.a(new q.c(0,122,204,.6)),V=Object(y.gc)("editorOverviewRuler.rangeHighlightForeground",{dark:N,light:N,hc:N},l.a("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ma=Object(y.gc)("editorOverviewRuler.errorForeground",{dark:new q.a(new q.c(255,18,18,.7)),light:new q.a(new q.c(255,18,18,.7)),hc:new q.a(new q.c(255,50,50,1))},l.a("overviewRuleError","Overview ruler marker color for errors.")),ta=Object(y.gc)("editorOverviewRuler.warningForeground",{dark:y.T,light:y.T,hc:y.S},l.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Da=Object(y.gc)("editorOverviewRuler.infoForeground",{dark:y.L,light:y.L,hc:y.K},l.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(F.g)((Ka,G)=>{const hb=Ka.getColor(y.s);hb&&G.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${hb}; }`);const _a=Ka.getColor(y.B);_a&&G.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${_a}; }`);const fb=Ka.getColor(oa);fb&&G.addRule(`.monaco-editor .margin { background-color: ${fb}; }`);const za=Ka.getColor(R);za&&G.addRule(`.monaco-editor .rangeHighlight { background-color: ${za}; }`);const ua=Ka.getColor(L);ua&&G.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===Ka.type?"dotted":"solid"} ${ua}; }`);const ba=Ka.getColor(s);ba&&G.addRule(`.monaco-editor .symbolHighlight { background-color: ${ba}; }`);const $=Ka.getColor(z);$&&G.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===Ka.type?"dotted":"solid"} ${$}; }`);const S=Ka.getColor(B);S&&(G.addRule(`.monaco-editor .mtkw { color: ${S} !important; }`),G.addRule(`.monaco-editor .mtkz { color: ${S} !important; }`))})},function(Ga,t,f){"use strict";var l,q;f.d(t,"d",function(){return l}),f.d(t,"c",function(){return q}),f.d(t,"e",function(){return y}),f.d(t,"b",function(){return F}),f.d(t,"f",function(){return P}),f.d(t,"a",function(){return Y}),function(R){R[R.Left=1]="Left",R[R.Center=2]="Center",R[R.Right=4]="Right",R[R.Full=7]="Full"}(l||(l={})),function(R){R[R.Inline=1]="Inline",R[R.Gutter=2]="Gutter"}(q||(q={}));class y{constructor(R){this.tabSize=Math.max(1,0|R.tabSize),this.indentSize=0|R.tabSize,this.insertSpaces=Boolean(R.insertSpaces),this.defaultEOL=0|R.defaultEOL,this.trimAutoWhitespace=Boolean(R.trimAutoWhitespace)}equals(R){return this.tabSize===R.tabSize&&this.indentSize===R.indentSize&&this.insertSpaces===R.insertSpaces&&this.defaultEOL===R.defaultEOL&&this.trimAutoWhitespace===R.trimAutoWhitespace}createChangeEvent(R){return{tabSize:this.tabSize!==R.tabSize,indentSize:this.indentSize!==R.indentSize,insertSpaces:this.insertSpaces!==R.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==R.trimAutoWhitespace}}}class F{constructor(R,L){this.range=R,this.matches=L}}class P{constructor(R,L,s,z,D,Q){this.identifier=R,this.range=L,this.text=s,this.forceMoveMarkers=z,this.isAutoWhitespaceEdit=D,this._isTracked=Q}}class Y{constructor(R,L,s){this.reverseEdits=R,this.changes=L,this.trimAutoWhitespaceLineNumbers=s}}},function(Ga,t,f){"use strict";var l=f(108);f.d(t,"a",function(){return l.b}),f.d(t,"b",function(){return l.e}),f.d(t,"c",function(){return l.h}),f.d(t,"d",function(){return l.l}),f.d(t,"e",function(){return l.m}),f.d(t,"f",function(){return l.n})},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P}),f.d(t,"c",function(){return Y}),f.d(t,"d",function(){return R});var l=f(2),q=f(6),y=function(L,s,z,D){return new(z||(z=Promise))(function(Q,B){function C(x){try{w(D.next(x))}catch(u){B(u)}}function k(x){try{w(D.throw(x))}catch(u){B(u)}}function w(x){var u;x.done?Q(x.value):(u=x.value,u instanceof z?u:new z(function(A){A(u)})).then(C,k)}w((D=D.apply(L,s||[])).next())})};class F extends l.a{constructor(L,s="",z="",D=!0,Q){super(),this._onDidChange=this._register(new q.a()),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=L,this._label=s,this._cssClass=z,this._enabled=D,this._actionCallback=Q}get id(){return this._id}get label(){return this._label}set label(L){this._setLabel(L)}_setLabel(L){this._label!==L&&(this._label=L,this._onDidChange.fire({label:L}))}get tooltip(){return this._tooltip||""}set tooltip(L){this._setTooltip(L)}_setTooltip(L){this._tooltip!==L&&(this._tooltip=L,this._onDidChange.fire({tooltip:L}))}get class(){return this._cssClass}set class(L){this._setClass(L)}_setClass(L){this._cssClass!==L&&(this._cssClass=L,this._onDidChange.fire({class:L}))}get enabled(){return this._enabled}set enabled(L){this._setEnabled(L)}_setEnabled(L){this._enabled!==L&&(this._enabled=L,this._onDidChange.fire({enabled:L}))}get checked(){return this._checked}set checked(L){this._setChecked(L)}_setChecked(L){this._checked!==L&&(this._checked=L,this._onDidChange.fire({checked:L}))}run(L,s){return this._actionCallback?this._actionCallback(L):Promise.resolve(!0)}}class P extends l.a{constructor(){super(...arguments),this._onDidBeforeRun=this._register(new q.a()),this.onDidBeforeRun=this._onDidBeforeRun.event,this._onDidRun=this._register(new q.a()),this.onDidRun=this._onDidRun.event}run(L,s){return y(this,void 0,void 0,function*(){if(!L.enabled)return Promise.resolve(null);this._onDidBeforeRun.fire({action:L});try{const z=yield this.runAction(L,s);this._onDidRun.fire({action:L,result:z})}catch(z){this._onDidRun.fire({action:L,error:z})}})}runAction(L,s){const z=s?L.run(s):L.run();return Promise.resolve(z)}}class Y extends F{constructor(L){super(Y.ID,L,L?"separator text":"separator"),this.checked=!1,this.enabled=!1}}Y.ID="vs.actions.separator";class R extends F{constructor(L,s,z,D){super(L,s,D,!0),this._actions=z}get actions(){return Array.isArray(this._actions)?this._actions:this._actions()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f.d(t,"b",function(){return R});var l,q=f(15),y=f(2),F=f(1),P=f(98),Y=function(L,s,z,D){var Q,B=arguments.length,C=B<3?s:null===D?D=Object.getOwnPropertyDescriptor(s,z):D;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(L,s,z,D);else for(var k=L.length-1;k>=0;k--)(Q=L[k])&&(C=(B<3?Q(C):B>3?Q(s,z,C):Q(s,z))||C);return B>3&&C&&Object.defineProperty(s,z,C),C};!function(L){L.Tap="-monaco-gesturetap",L.Change="-monaco-gesturechange",L.Start="-monaco-gesturestart",L.End="-monaco-gesturesend",L.Contextmenu="-monaco-gesturecontextmenu"}(l||(l={}));class R extends y.a{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(F.i(document,"touchstart",L=>this.onTouchStart(L),{passive:!1})),this._register(F.i(document,"touchend",L=>this.onTouchEnd(L))),this._register(F.i(document,"touchmove",L=>this.onTouchMove(L),{passive:!1}))}static addTarget(L){return R.isTouchDevice()?(R.INSTANCE||(R.INSTANCE=new R()),R.INSTANCE.targets.push(L),{dispose:()=>{R.INSTANCE.targets=R.INSTANCE.targets.filter(s=>s!==L)}}):y.a.None}static ignoreTarget(L){return R.isTouchDevice()?(R.INSTANCE||(R.INSTANCE=new R()),R.INSTANCE.ignoreTargets.push(L),{dispose:()=>{R.INSTANCE.ignoreTargets=R.INSTANCE.ignoreTargets.filter(s=>s!==L)}}):y.a.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(L){let s=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let z=0,D=L.targetTouches.length;z<D;z++){let Q=L.targetTouches.item(z);this.activeTouches[Q.identifier]={id:Q.identifier,initialTarget:Q.target,initialTimeStamp:s,initialPageX:Q.pageX,initialPageY:Q.pageY,rollingTimestamps:[s],rollingPageX:[Q.pageX],rollingPageY:[Q.pageY]};let B=this.newGestureEvent(l.Start,Q.target);B.pageX=Q.pageX,B.pageY=Q.pageY,this.dispatchEvent(B)}this.dispatched&&(L.preventDefault(),L.stopPropagation(),this.dispatched=!1)}onTouchEnd(L){let s=Date.now(),z=Object.keys(this.activeTouches).length;for(let D=0,Q=L.changedTouches.length;D<Q;D++){let B=L.changedTouches.item(D);if(!this.activeTouches.hasOwnProperty(String(B.identifier))){console.warn("move of an UNKNOWN touch",B);continue}let C=this.activeTouches[B.identifier],k=Date.now()-C.initialTimeStamp;if(k<R.HOLD_DELAY&&Math.abs(C.initialPageX-q.t(C.rollingPageX))<30&&Math.abs(C.initialPageY-q.t(C.rollingPageY))<30){let w=this.newGestureEvent(l.Tap,C.initialTarget);w.pageX=q.t(C.rollingPageX),w.pageY=q.t(C.rollingPageY),this.dispatchEvent(w)}else if(k>=R.HOLD_DELAY&&Math.abs(C.initialPageX-q.t(C.rollingPageX))<30&&Math.abs(C.initialPageY-q.t(C.rollingPageY))<30){let w=this.newGestureEvent(l.Contextmenu,C.initialTarget);w.pageX=q.t(C.rollingPageX),w.pageY=q.t(C.rollingPageY),this.dispatchEvent(w)}else if(1===z){let w=q.t(C.rollingPageX),x=q.t(C.rollingPageY),u=q.t(C.rollingTimestamps)-C.rollingTimestamps[0],A=w-C.rollingPageX[0],U=x-C.rollingPageY[0];const da=this.targets.filter(Z=>C.initialTarget instanceof Node&&Z.contains(C.initialTarget));this.inertia(da,s,Math.abs(A)/u,A>0?1:-1,w,Math.abs(U)/u,U>0?1:-1,x)}this.dispatchEvent(this.newGestureEvent(l.End,C.initialTarget)),delete this.activeTouches[B.identifier]}this.dispatched&&(L.preventDefault(),L.stopPropagation(),this.dispatched=!1)}newGestureEvent(L,s){let z=document.createEvent("CustomEvent");return z.initEvent(L,!1,!0),z.initialTarget=s,z.tapCount=0,z}dispatchEvent(L){if(L.type===l.Tap){const s=new Date().getTime();let z=0;z=s-this._lastSetTapCountTime>R.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=s,L.tapCount=z}else L.type!==l.Change&&L.type!==l.Contextmenu||(this._lastSetTapCountTime=0);for(let s=0;s<this.ignoreTargets.length;s++)if(L.initialTarget instanceof Node&&this.ignoreTargets[s].contains(L.initialTarget))return;this.targets.forEach(s=>{L.initialTarget instanceof Node&&s.contains(L.initialTarget)&&(s.dispatchEvent(L),this.dispatched=!0)})}inertia(L,s,z,D,Q,B,C,k){this.handle=F.Y(()=>{let w=Date.now(),x=w-s,u=0,A=0,U=!0;z+=R.SCROLL_FRICTION*x,B+=R.SCROLL_FRICTION*x,z>0&&(U=!1,u=D*z*x),B>0&&(U=!1,A=C*B*x);let da=this.newGestureEvent(l.Change);da.translationX=u,da.translationY=A,L.forEach(Z=>Z.dispatchEvent(da)),U||this.inertia(L,w,z,D,Q+u,B,C,k+A)})}onTouchMove(L){let s=Date.now();for(let z=0,D=L.changedTouches.length;z<D;z++){let Q=L.changedTouches.item(z);if(!this.activeTouches.hasOwnProperty(String(Q.identifier))){console.warn("end of an UNKNOWN touch",Q);continue}let B=this.activeTouches[Q.identifier],C=this.newGestureEvent(l.Change,B.initialTarget);C.translationX=Q.pageX-q.t(B.rollingPageX),C.translationY=Q.pageY-q.t(B.rollingPageY),C.pageX=Q.pageX,C.pageY=Q.pageY,this.dispatchEvent(C),B.rollingPageX.length>3&&(B.rollingPageX.shift(),B.rollingPageY.shift(),B.rollingTimestamps.shift()),B.rollingPageX.push(Q.pageX),B.rollingPageY.push(Q.pageY),B.rollingTimestamps.push(s)}this.dispatched&&(L.preventDefault(),L.stopPropagation(),this.dispatched=!1)}}R.SCROLL_FRICTION=-.005,R.HOLD_DELAY=700,R.CLEAR_TAP_COUNT_TIME=400,Y([P.a],R,"isTouchDevice",null)},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"c",function(){return y}),f.d(t,"e",function(){return F}),f.d(t,"d",function(){return P}),f.d(t,"b",function(){return Y});var l=f(21);class q{constructor(R,L,s=!1){this._range=R,this._text=L,this.insertsAutoWhitespace=s}getEditOperations(R,L){L.addTrackedEditOperation(this._range,this._text)}computeCursorState(R,L){let s=L.getInverseEditOperations()[0].range;return new l.a(s.endLineNumber,s.endColumn,s.endLineNumber,s.endColumn)}}class y{constructor(R,L){this._range=R,this._text=L}getEditOperations(R,L){L.addTrackedEditOperation(this._range,this._text)}computeCursorState(R,L){const s=L.getInverseEditOperations()[0].range;return new l.a(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)}}class F{constructor(R,L,s=!1){this._range=R,this._text=L,this.insertsAutoWhitespace=s}getEditOperations(R,L){L.addTrackedEditOperation(this._range,this._text)}computeCursorState(R,L){let s=L.getInverseEditOperations()[0].range;return new l.a(s.startLineNumber,s.startColumn,s.startLineNumber,s.startColumn)}}class P{constructor(R,L,s,z,D=!1){this._range=R,this._text=L,this._columnDeltaOffset=z,this._lineNumberDeltaOffset=s,this.insertsAutoWhitespace=D}getEditOperations(R,L){L.addTrackedEditOperation(this._range,this._text)}computeCursorState(R,L){let s=L.getInverseEditOperations()[0].range;return new l.a(s.endLineNumber+this._lineNumberDeltaOffset,s.endColumn+this._columnDeltaOffset,s.endLineNumber+this._lineNumberDeltaOffset,s.endColumn+this._columnDeltaOffset)}}class Y{constructor(R,L,s,z=!1){this._range=R,this._text=L,this._initialSelection=s,this._forceMoveMarkers=z,this._selectionId=null}getEditOperations(R,L){L.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=L.trackSelection(this._initialSelection)}computeCursorState(R,L){return L.getTrackedSelection(this._selectionId)}}},function(Ga,t,f){"use strict";f.d(t,"c",function(){return l}),f.d(t,"a",function(){return q}),f.d(t,"b",function(){return Y});var l,q,y=f(18),F=f(0),P=f(68);!function(R){R[R.Hint=1]="Hint",R[R.Info=2]="Info",R[R.Warning=4]="Warning",R[R.Error=8]="Error"}(l||(l={})),function(R){R.compare=function(s,z){return z-s};const L=Object.create(null);L[R.Error]=Object(F.a)("sev.error","Error"),L[R.Warning]=Object(F.a)("sev.warning","Warning"),L[R.Info]=Object(F.a)("sev.info","Info"),R.toString=function(s){return L[s]||""},R.fromSeverity=function(s){switch(s){case P.a.Error:return R.Error;case P.a.Warning:return R.Warning;case P.a.Info:return R.Info;case P.a.Ignore:return R.Hint}},R.toSeverity=function(s){switch(s){case R.Error:return P.a.Error;case R.Warning:return P.a.Warning;case R.Info:return P.a.Info;case R.Hint:return P.a.Ignore}}}(l||(l={})),function(R){function L(s,z){let D=[""];return s.source?D.push(s.source.replace("¦","\\¦")):D.push(""),s.code?"string"==typeof s.code?D.push(s.code.replace("¦","\\¦")):D.push(s.code.value.replace("¦","\\¦")):D.push(""),void 0!==s.severity&&null!==s.severity?D.push(l.toString(s.severity)):D.push(""),s.message&&z?D.push(s.message.replace("¦","\\¦")):D.push(""),void 0!==s.startLineNumber&&null!==s.startLineNumber?D.push(s.startLineNumber.toString()):D.push(""),void 0!==s.startColumn&&null!==s.startColumn?D.push(s.startColumn.toString()):D.push(""),void 0!==s.endLineNumber&&null!==s.endLineNumber?D.push(s.endLineNumber.toString()):D.push(""),void 0!==s.endColumn&&null!==s.endColumn?D.push(s.endColumn.toString()):D.push(""),D.push(""),D.join("¦")}R.makeKey=function(s){return L(s,!0)},R.makeKeyOptionalMessage=L}(q||(q={}));const Y=Object(y.c)("markerService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});var l=f(18);const q=Object(l.c)("modelService");function y(F){return!F.isTooLargeForSyncing()&&!F.isForSimpleWidget}},function(Ga,t,f){"use strict";function l(w,x){void 0===x&&(x=!1);var u=w.length,A=0,U="",da=0,Z=16,H=0,ea=0,oa=0,ga=0,Ba=0;function N(ta,Da){for(var Ka=0,G=0;Ka<ta||!Da;){var hb=w.charCodeAt(A);if(hb>=48&&hb<=57)G=16*G+hb-48;else if(hb>=65&&hb<=70)G=16*G+hb-65+10;else{if(!(hb>=97&&hb<=102))break;G=16*G+hb-97+10}A++,Ka++}return Ka<ta&&(G=-1),G}function V(){if(U="",Ba=0,da=A,ea=H,ga=oa,A>=u)return da=u,Z=17;var ta=w.charCodeAt(A);if(q(ta)){do A++,U+=String.fromCharCode(ta),ta=w.charCodeAt(A);while(q(ta));return Z=15}if(y(ta))return A++,U+=String.fromCharCode(ta),13===ta&&10===w.charCodeAt(A)&&(A++,U+=` -`),H++,oa=A,Z=14;switch(ta){case 123:return A++,Z=1;case 125:return A++,Z=2;case 91:return A++,Z=3;case 93:return A++,Z=4;case 58:return A++,Z=6;case 44:return A++,Z=5;case 34:return A++,U=function(){for(var _a="",fb=A;;){if(A>=u){_a+=w.substring(fb,A),Ba=2;break}var za=w.charCodeAt(A);if(34===za){_a+=w.substring(fb,A),A++;break}if(92!==za){if(za>=0&&za<=31){if(y(za)){_a+=w.substring(fb,A),Ba=2;break}Ba=6}A++}else{if(_a+=w.substring(fb,A),++A>=u){Ba=2;break}switch(w.charCodeAt(A++)){case 34:_a+='"';break;case 92:_a+="\\";break;case 47:_a+="/";break;case 98:_a+="\b";break;case 102:_a+="\f";break;case 110:_a+=` -`;break;case 114:_a+="\r";break;case 116:_a+=" ";break;case 117:var ua=N(4,!0);ua>=0?_a+=String.fromCharCode(ua):Ba=4;break;default:Ba=5}fb=A}}return _a}(),Z=10;case 47:var Da=A-1;if(47===w.charCodeAt(A+1)){for(A+=2;A<u&&!y(w.charCodeAt(A));)A++;return U=w.substring(Da,A),Z=12}if(42===w.charCodeAt(A+1)){A+=2;for(var Ka=u-1,G=!1;A<Ka;){var hb=w.charCodeAt(A);if(42===hb&&47===w.charCodeAt(A+1)){A+=2,G=!0;break}A++,y(hb)&&(13===hb&&10===w.charCodeAt(A)&&A++,H++,oa=A)}return G||(A++,Ba=1),U=w.substring(Da,A),Z=13}return U+=String.fromCharCode(ta),A++,Z=16;case 45:if(U+=String.fromCharCode(ta),++A===u||!F(w.charCodeAt(A)))return Z=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return U+=function(){var _a=A;if(48===w.charCodeAt(A))A++;else for(A++;A<w.length&&F(w.charCodeAt(A));)A++;if(A<w.length&&46===w.charCodeAt(A)){if(!(++A<w.length&&F(w.charCodeAt(A))))return Ba=3,w.substring(_a,A);for(A++;A<w.length&&F(w.charCodeAt(A));)A++}var fb=A;if(A<w.length&&(69===w.charCodeAt(A)||101===w.charCodeAt(A)))if((++A<w.length&&43===w.charCodeAt(A)||45===w.charCodeAt(A))&&A++,A<w.length&&F(w.charCodeAt(A))){for(A++;A<w.length&&F(w.charCodeAt(A));)A++;fb=A}else Ba=3;return w.substring(_a,fb)}(),Z=11;default:for(;A<u&&ma(ta);)A++,ta=w.charCodeAt(A);if(da!==A){switch(U=w.substring(da,A)){case"true":return Z=8;case"false":return Z=9;case"null":return Z=7}return Z=16}return U+=String.fromCharCode(ta),A++,Z=16}}function ma(ta){if(q(ta)||y(ta))return!1;switch(ta){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(ta){A=ta,U="",da=0,Z=16,Ba=0},getPosition:function(){return A},scan:x?function(){var ta;do ta=V();while(ta>=12&&ta<=15);return ta}:V,getToken:function(){return Z},getTokenValue:function(){return U},getTokenOffset:function(){return da},getTokenLength:function(){return A-da},getTokenStartLine:function(){return ea},getTokenStartCharacter:function(){return da-ga},getTokenError:function(){return Ba}}}function q(w){return 32===w||9===w||11===w||12===w||160===w||5760===w||w>=8192&&w<=8203||8239===w||8287===w||12288===w||65279===w}function y(w){return 10===w||13===w||8232===w||8233===w}function F(w){return w>=48&&w<=57}function P(w,x,u){var A,U,da,Z,H;if(x){for(Z=x.offset,H=Z+x.length,da=Z;da>0&&!R(w,da-1);)da--;for(var ea=H;ea<w.length&&!R(w,ea);)ea++;U=w.substring(da,ea),A=function(ba,$){for(var S=0,aa=0,_=$.tabSize||4;S<ba.length;){var I=ba.charAt(S);if(" "===I)aa++;else{if(" "!==I)break;aa+=_}S++}return Math.floor(aa/_)}(U,u)}else U=w,A=0,da=0,Z=0,H=w.length;var oa,ga=function(ba,$){for(var S=0;S<$.length;S++){var aa=$.charAt(S);if("\r"===aa)return S+1<$.length&&` -`===$.charAt(S+1)?`\r -`:"\r";if(` -`===aa)return` -`}return ba&&ba.eol||` -`}(u,w),Ba=!1,N=0;oa=u.insertSpaces?Y(" ",u.tabSize||4):" ";var V=l(U,!1),ma=!1;function ta(){return ga+Y(oa,A+N)}function Da(){var ba=V.scan();for(Ba=!1;15===ba||14===ba;)Ba=Ba||14===ba,ba=V.scan();return ma=16===ba||0!==V.getTokenError(),ba}var Ka=[];function G(ba,$,S){!ma&&$<H&&S>Z&&w.substring($,S)!==ba&&Ka.push({offset:$,length:S-$,content:ba})}var hb=Da();if(17!==hb){var _a=V.getTokenOffset()+da;G(Y(oa,A),da,_a)}for(;17!==hb;){for(var fb=V.getTokenOffset()+V.getTokenLength()+da,za=Da(),ua="";!Ba&&(12===za||13===za);)G(" ",fb,V.getTokenOffset()+da),fb=V.getTokenOffset()+V.getTokenLength()+da,ua=12===za?ta():"",za=Da();if(2===za)1!==hb&&(N--,ua=ta());else if(4===za)3!==hb&&(N--,ua=ta());else{switch(hb){case 3:case 1:N++,ua=ta();break;case 5:case 12:ua=ta();break;case 13:ua=Ba?ta():" ";break;case 6:ua=" ";break;case 10:if(6===za){ua="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===za||13===za?ua=" ":5!==za&&17!==za&&(ma=!0);break;case 16:ma=!0}!Ba||12!==za&&13!==za||(ua=ta())}G(ua,fb,V.getTokenOffset()+da),hb=za}return Ka}function Y(w,x){for(var u="",A=0;A<x;A++)u+=w;return u}function R(w,x){return-1!==`\r -`.indexOf(w.charAt(x))}var L;function s(w,x,u){void 0===u&&(u=L.DEFAULT);var A=l(w,!1);function U(fb){return fb?function(){return fb(A.getTokenOffset(),A.getTokenLength(),A.getTokenStartLine(),A.getTokenStartCharacter())}:function(){return!0}}function da(fb){return fb?function(za){return fb(za,A.getTokenOffset(),A.getTokenLength(),A.getTokenStartLine(),A.getTokenStartCharacter())}:function(){return!0}}var Z=U(x.onObjectBegin),H=da(x.onObjectProperty),ea=U(x.onObjectEnd),oa=U(x.onArrayBegin),ga=U(x.onArrayEnd),Ba=da(x.onLiteralValue),N=da(x.onSeparator),V=U(x.onComment),ma=da(x.onError),ta=u&&u.disallowComments,Da=u&&u.allowTrailingComma;function Ka(){for(;;){var fb=A.scan();switch(A.getTokenError()){case 4:G(14);break;case 5:G(15);break;case 3:G(13);break;case 1:ta||G(11);break;case 2:G(12);break;case 6:G(16)}switch(fb){case 12:case 13:ta?G(10):V();break;case 16:G(1);break;case 15:case 14:break;default:return fb}}}function G(fb,za,ua){if(void 0===za&&(za=[]),void 0===ua&&(ua=[]),ma(fb),za.length+ua.length>0)for(var ba=A.getToken();17!==ba;){if(-1!==za.indexOf(ba)){Ka();break}if(-1!==ua.indexOf(ba))break;ba=Ka()}}function hb(fb){var za=A.getTokenValue();return fb?Ba(za):H(za),Ka(),!0}function _a(){switch(A.getToken()){case 3:return function(){oa(),Ka();for(var fb=!1;4!==A.getToken()&&17!==A.getToken();){if(5===A.getToken()){if(fb||G(4,[],[]),N(","),Ka(),4===A.getToken()&&Da)break}else fb&&G(6,[],[]);_a()||G(4,[],[4,5]),fb=!0}return ga(),4!==A.getToken()?G(8,[4],[]):Ka(),!0}();case 1:return function(){Z(),Ka();for(var fb=!1;2!==A.getToken()&&17!==A.getToken();){if(5===A.getToken()){if(fb||G(4,[],[]),N(","),Ka(),2===A.getToken()&&Da)break}else fb&&G(6,[],[]);(10!==A.getToken()?(G(3,[],[2,5]),0):(hb(!1),6===A.getToken()?(N(":"),Ka(),_a()||G(4,[],[2,5])):G(5,[],[2,5]),1))||G(4,[],[2,5]),fb=!0}return ea(),2!==A.getToken()?G(7,[2],[]):Ka(),!0}();case 10:return hb(!0);default:return function(){switch(A.getToken()){case 11:var fb=0;try{"number"!=typeof(fb=JSON.parse(A.getTokenValue()))&&(G(2),fb=0)}catch(za){G(2)}Ba(fb);break;case 7:Ba(null);break;case 8:Ba(!0);break;case 9:Ba(!1);break;default:return!1}return Ka(),!0}()}}return Ka(),17===A.getToken()?!!u.allowEmptyContent||(G(4,[],[]),!1):_a()?(17!==A.getToken()&&G(9,[],[]),!0):(G(4,[],[]),!1)}f.d(t,"a",function(){return z}),f.d(t,"f",function(){return D}),f.d(t,"b",function(){return Q}),f.d(t,"d",function(){return B}),f.d(t,"e",function(){return C}),f.d(t,"c",function(){return k}),function(w){w.DEFAULT={allowTrailingComma:!1}}(L||(L={}));var z=l,D=function(w,x,u){void 0===x&&(x=[]),void 0===u&&(u=L.DEFAULT);var A=null,U=[],da=[];function Z(H){Array.isArray(U)?U.push(H):null!==A&&(U[A]=H)}return s(w,{onObjectBegin:function(){var H={};Z(H),da.push(U),U=H,A=null},onObjectProperty:function(H){A=H},onObjectEnd:function(){U=da.pop()},onArrayBegin:function(){var H=[];Z(H),da.push(U),U=H,A=null},onArrayEnd:function(){U=da.pop()},onLiteralValue:Z,onError:function(H,ea,oa){x.push({error:H,offset:ea,length:oa})}},u),U[0]},Q=function w(x,u,A){if(void 0===A&&(A=!1),function(H,ea,oa){return void 0===oa&&(oa=!1),ea>=H.offset&&ea<H.offset+H.length||oa&&ea===H.offset+H.length}(x,u,A)){var U=x.children;if(Array.isArray(U))for(var da=0;da<U.length&&U[da].offset<=u;da++){var Z=w(U[da],u,A);if(Z)return Z}return x}},B=function w(x){if(!x.parent||!x.parent.children)return[];var u=w(x.parent);if("property"===x.parent.type){var A=x.parent.children[0].value;u.push(A)}else if("array"===x.parent.type){var U=x.parent.children.indexOf(x);-1!==U&&u.push(U)}return u},C=function w(x){switch(x.type){case"array":return x.children.map(w);case"object":for(var u=Object.create(null),A=0,U=x.children;A<U.length;A++){var da=U[A],Z=da.children[1];Z&&(u[da.children[0].value]=w(Z))}return u;case"null":case"string":case"number":case"boolean":return x.value;default:return}};function k(w,x,u){return P(w,x,u)}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return L}),f.d(t,"a",function(){return s}),f.d(t,"c",function(){return z}),f(206);var l=f(11),q=f(1);let y,F,P,Y,R;function L(Q){y=document.createElement("div"),y.className="monaco-aria-container";const B=()=>{const k=document.createElement("div");return k.className="monaco-alert",k.setAttribute("role","alert"),k.setAttribute("aria-atomic","true"),y.appendChild(k),k};F=B(),P=B();const C=()=>{const k=document.createElement("div");return k.className="monaco-status",k.setAttribute("role","complementary"),k.setAttribute("aria-live","polite"),k.setAttribute("aria-atomic","true"),y.appendChild(k),k};Y=C(),R=C(),Q.appendChild(y)}function s(Q){y&&(F.textContent!==Q?(q.s(P),D(F,Q)):(q.s(F),D(P,Q)))}function z(Q){y&&(l.f?s(Q):Y.textContent!==Q?(q.s(R),D(Y,Q)):(q.s(Y),D(R,Q)))}function D(Q,B){q.s(Q),B.length>2e4&&(B=B.substr(0,2e4)),Q.textContent=B,Q.style.visibility="hidden",Q.style.visibility="visible"}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return L});var l=f(34),q=f(43),y=f(11);let F=new Array(230),P=new Array(112);!function(){for(let z=0;z<P.length;z++)P[z]=-1;function s(z,D){F[z]=D,P[D]=z}s(3,7),s(8,1),s(9,2),s(13,3),s(16,4),s(17,5),s(18,6),s(19,7),s(20,8),s(27,9),s(32,10),s(33,11),s(34,12),s(35,13),s(36,14),s(37,15),s(38,16),s(39,17),s(40,18),s(45,19),s(46,20),s(48,21),s(49,22),s(50,23),s(51,24),s(52,25),s(53,26),s(54,27),s(55,28),s(56,29),s(57,30),s(65,31),s(66,32),s(67,33),s(68,34),s(69,35),s(70,36),s(71,37),s(72,38),s(73,39),s(74,40),s(75,41),s(76,42),s(77,43),s(78,44),s(79,45),s(80,46),s(81,47),s(82,48),s(83,49),s(84,50),s(85,51),s(86,52),s(87,53),s(88,54),s(89,55),s(90,56),s(93,58),s(96,93),s(97,94),s(98,95),s(99,96),s(100,97),s(101,98),s(102,99),s(103,100),s(104,101),s(105,102),s(106,103),s(107,104),s(108,105),s(109,106),s(110,107),s(111,108),s(112,59),s(113,60),s(114,61),s(115,62),s(116,63),s(117,64),s(118,65),s(119,66),s(120,67),s(121,68),s(122,69),s(123,70),s(124,71),s(125,72),s(126,73),s(127,74),s(128,75),s(129,76),s(130,77),s(144,78),s(145,79),s(186,80),s(187,81),s(188,82),s(189,83),s(190,84),s(191,85),s(192,86),s(193,110),s(194,111),s(219,87),s(220,88),s(221,89),s(222,90),s(223,91),s(226,92),s(229,109),l.h?(s(59,80),s(107,81),s(109,83),y.f&&s(224,57)):l.l&&(s(91,57),y.f?s(93,57):s(92,57))}();const Y=y.f?256:2048,R=y.f?2048:256;class L{constructor(s){this._standardKeyboardEventBrand=!0;let z=s;this.browserEvent=z,this.target=z.target,this.ctrlKey=z.ctrlKey,this.shiftKey=z.shiftKey,this.altKey=z.altKey,this.metaKey=z.metaKey,this.keyCode=function(D){if(D.charCode){let Q=String.fromCharCode(D.charCode).toUpperCase();return q.b.fromString(Q)}return F[D.keyCode]||0}(z),this.code=z.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(s){return this._asKeybinding===s}_computeKeybinding(){let s=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(s=this.keyCode);let z=0;return this.ctrlKey&&(z|=Y),this.altKey&&(z|=512),this.shiftKey&&(z|=1024),this.metaKey&&(z|=R),z|=s,z}_computeRuntimeKeybinding(){let s=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(s=this.keyCode),new q.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,s)}}},function(Ga,t,f){"use strict";var l,q=f(8);!function(y){y[y.Ignore=0]="Ignore",y[y.Info=1]="Info",y[y.Warning=2]="Warning",y[y.Error=3]="Error"}(l||(l={})),function(y){y.fromValue=function(F){return F?q.t("error",F)?y.Error:q.t("warning",F)||q.t("warn",F)?y.Warning:q.t("info",F)?y.Info:y.Ignore:y.Ignore}}(l||(l={})),t.a=l},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P});var l=f(34),q=f(177),y=f(11);class F{constructor(Y){this.timestamp=Date.now(),this.browserEvent=Y,this.leftButton=0===Y.button,this.middleButton=1===Y.button,this.rightButton=2===Y.button,this.buttons=Y.buttons,this.target=Y.target,this.detail=Y.detail||1,"dblclick"===Y.type&&(this.detail=2),this.ctrlKey=Y.ctrlKey,this.shiftKey=Y.shiftKey,this.altKey=Y.altKey,this.metaKey=Y.metaKey,"number"==typeof Y.pageX?(this.posx=Y.pageX,this.posy=Y.pageY):(this.posx=Y.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=Y.clientY+document.body.scrollTop+document.documentElement.scrollTop);let R=q.a.getPositionOfChildWindowRelativeToAncestorWindow(self,Y.view);this.posx-=R.left,this.posy-=R.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class P{constructor(Y,R=0,L=0){if(this.browserEvent=Y||null,this.target=Y?Y.target||Y.targetNode||Y.srcElement:null,this.deltaY=L,this.deltaX=R,Y){let s=Y,z=Y;if(void 0!==s.wheelDeltaY)this.deltaY=s.wheelDeltaY/120;else if(void 0!==z.VERTICAL_AXIS&&z.axis===z.VERTICAL_AXIS)this.deltaY=-z.detail/3;else if("wheel"===Y.type){const D=Y;D.deltaMode===D.DOM_DELTA_LINE?l.h&&!y.f?this.deltaY=-Y.deltaY/3:this.deltaY=-Y.deltaY:this.deltaY=-Y.deltaY/40}if(void 0!==s.wheelDeltaX)l.j&&y.i?this.deltaX=-s.wheelDeltaX/120:this.deltaX=s.wheelDeltaX/120;else if(void 0!==z.HORIZONTAL_AXIS&&z.axis===z.HORIZONTAL_AXIS)this.deltaX=-Y.detail/3;else if("wheel"===Y.type){const D=Y;D.deltaMode===D.DOM_DELTA_LINE?l.h&&!y.f?this.deltaX=-Y.deltaX/3:this.deltaX=-Y.deltaX:this.deltaX=-Y.deltaX/40}0===this.deltaY&&0===this.deltaX&&Y.wheelDelta&&(this.deltaY=Y.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(3);class q{static insert(y,F){return{range:new l.a(y.lineNumber,y.column,y.lineNumber,y.column),text:F,forceMoveMarkers:!0}}static delete(y){return{range:y,text:null}}static replace(y,F){return{range:y,text:F}}static replaceMove(y,F){return{range:y,text:F,forceMoveMarkers:!0}}}},function(Ga,t,f){"use strict";f.d(t,"j",function(){return y}),f.d(t,"h",function(){return F}),f.d(t,"f",function(){return P}),f.d(t,"i",function(){return x}),f.d(t,"g",function(){return H}),f.d(t,"b",function(){return ea}),f.d(t,"c",function(){return oa}),f.d(t,"a",function(){return Ka}),f.d(t,"d",function(){return G}),f.d(t,"e",function(){return $});var l=f(78),q=f(8);function y(...aa){return function(_,I){for(let ka=0,va=aa.length;ka<va;ka++){const La=aa[ka](_,I);if(La)return La}return null}}const F=function(aa,_,I){if(!I||I.length<_.length)return null;let ka;return ka=aa?q.T(I,_):0===I.indexOf(_),ka?_.length>0?[{start:0,end:_.length}]:[]:null}.bind(void 0,!0);function P(aa,_){const I=_.toLowerCase().indexOf(aa.toLowerCase());return-1===I?null:[{start:I,end:I+aa.length}]}function Y(aa){return 97<=aa&&aa<=122}function R(aa){return 65<=aa&&aa<=90}function L(aa){return 48<=aa&&aa<=57}function s(aa){return 32===aa||9===aa||10===aa||13===aa}const z=new Set();function D(aa){return s(aa)||z.has(aa)}function Q(aa){return Y(aa)||R(aa)||L(aa)}function B(aa,_){return 0===_.length?_=[aa]:aa.end===_[0].start?_[0].start=aa.start:_.unshift(aa),_}function C(aa,_){for(let I=_;I<aa.length;I++){const ka=aa.charCodeAt(I);if(R(ka)||L(ka)||I>0&&!Q(aa.charCodeAt(I-1)))return I}return aa.length}function k(aa,_,I,ka){if(I===aa.length)return[];if(ka===_.length)return null;if(aa[I]!==_[ka].toLowerCase())return null;{let va=null,La=ka+1;for(va=k(aa,_,I+1,ka+1);!va&&(La=C(_,La))<_.length;)va=k(aa,_,I+1,La),La++;return null===va?null:B({start:ka,end:ka+1},va)}}function w(aa,_){if(!_)return null;if(0===(_=_.trim()).length)return null;if(!function(La){let $a=0,Ab=0,gb=0,Fb=0;for(let wb=0;wb<La.length;wb++)gb=La.charCodeAt(wb),R(gb)&&$a++,Y(gb)&&Ab++,s(gb)&&Fb++;return 0!==$a&&0!==Ab||0!==Fb?$a<=5:La.length<=30}(aa))return null;if(_.length>60)return null;const I=function(La){let $a=0,Ab=0,gb=0,Fb=0,wb=0;for(let tc=0;tc<La.length;tc++)wb=La.charCodeAt(tc),R(wb)&&$a++,Y(wb)&&Ab++,Q(wb)&&gb++,L(wb)&&Fb++;return{upperPercent:$a/La.length,lowerPercent:Ab/La.length,alphaPercent:gb/La.length,numericPercent:Fb/La.length}}(_);if(!function(La){const{upperPercent:$a,lowerPercent:Ab,alphaPercent:gb,numericPercent:Fb}=La;return Ab>.2&&$a<.8&&gb>.6&&Fb<.2}(I)){if(!function(La){const{upperPercent:$a,lowerPercent:Ab}=La;return 0===Ab&&$a>.6}(I))return null;_=_.toLowerCase()}let ka=null,va=0;for(aa=aa.toLowerCase();va<_.length&&null===(ka=k(aa,_,0,va));)va=C(_,va+1);return ka}function x(aa,_,I=!1){if(!_||0===_.length)return null;let ka=null,va=0;for(aa=aa.toLowerCase(),_=_.toLowerCase();va<_.length&&null===(ka=u(aa,_,0,va,I));)va=A(_,va+1);return ka}function u(aa,_,I,ka,va){if(I===aa.length)return[];if(ka===_.length)return null;if(La=aa.charCodeAt(I),$a=_.charCodeAt(ka),La===$a||D(La)&&D($a)){let Ab=null,gb=ka+1;if(Ab=u(aa,_,I+1,ka+1,va),!va)for(;!Ab&&(gb=A(_,gb))<_.length;)Ab=u(aa,_,I+1,gb,va),gb++;return null===Ab?null:B({start:ka,end:ka+1},Ab)}return null;var La,$a}function A(aa,_){for(let I=_;I<aa.length;I++)if(D(aa.charCodeAt(I))||I>0&&D(aa.charCodeAt(I-1)))return I;return aa.length}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(aa=>z.add(aa.charCodeAt(0)));const U=y(F,w,P),da=y(F,w,function(aa,_){return function I(ka,va,La,$a){if(La===ka.length)return[];if($a===va.length)return null;if(ka[La]===va[$a]){let Ab=null;return(Ab=I(ka,va,La+1,$a+1))?B({start:$a,end:$a+1},Ab):null}return I(ka,va,La,$a+1)}(aa.toLowerCase(),_.toLowerCase(),0,0)}),Z=new l.a(1e4);function H(aa,_,I=!1){if("string"!=typeof aa||"string"!=typeof _)return null;let ka=Z.get(aa);ka||(ka=new RegExp(q.p(aa),"i"),Z.set(aa,ka));const va=ka.exec(_);return va?[{start:va.index,end:va.index+va[0].length}]:I?da(aa,_):U(aa,_)}function ea(aa,_,I,ka,va,La){const $a=G(aa,_,0,ka,va,0,!0);if($a)return $a;let Ab=0,gb=0,Fb=La;for(let wb=0;wb<_.length&&wb<ga;++wb){const tc=va.indexOf(_.charAt(wb),Fb);if(tc>=0)gb+=1,Ab+=Math.pow(2,tc),Fb=tc+1;else if(0!==Ab)break}return[gb,Ab,La]}function oa(aa){if(void 0===aa)return[];const _=aa[1].toString(2),I=[];for(let ka=aa[2];ka<ga;ka++)if("1"===_[_.length-(ka+1)]){const va=I[I.length-1];va&&va.end===ka?va.end=ka+1:I.push({start:ka,end:ka+1})}return I}const ga=128;function Ba(){const aa=[],_=[0];for(let I=1;I<=ga;I++)_.push(-I);for(let I=0;I<=ga;I++){const ka=_.slice(0);ka[0]=-I,aa.push(ka)}return aa}const N=Ba(),V=Ba(),ma=Ba();function ta(aa,_){if(_<0||_>=aa.length)return!1;switch(aa.charCodeAt(_)){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function Da(aa,_,I){return _[aa]!==I[aa]}var Ka;function G(aa,_,I,ka,va,La,$a){const Ab=aa.length>ga?ga:aa.length,gb=ka.length>ga?ga:ka.length;if(I>=Ab||La>=gb||Ab-I>gb-La)return;if(!function(vc,cb,Ob,uc,Cc,Kc){for(;cb<Ob&&Cc<Kc;)vc[cb]===uc[Cc]&&(cb+=1),Cc+=1;return cb===Ob}(_,I,Ab,va,La,gb))return;let Fb=1,wb=1,tc=I,rb=La,wc=!1;for(Fb=1,tc=I;tc<Ab;Fb++,tc++)for(wb=1,rb=La;rb<gb;wb++,rb++){const vc=hb(aa,_,tc,I,ka,va,rb);tc===I&&vc>1&&(wc=!0),V[Fb][wb]=vc;const cb=N[Fb-1][wb-1]+(vc>1?1:vc),Ob=N[Fb-1][wb]+-1,uc=N[Fb][wb-1]+-1;uc>=Ob?uc>cb?(N[Fb][wb]=uc,ma[Fb][wb]=4):uc===cb?(N[Fb][wb]=uc,ma[Fb][wb]=6):(N[Fb][wb]=cb,ma[Fb][wb]=2):Ob>cb?(N[Fb][wb]=Ob,ma[Fb][wb]=1):Ob===cb?(N[Fb][wb]=Ob,ma[Fb][wb]=3):(N[Fb][wb]=cb,ma[Fb][wb]=2)}return(wc||$a)&&(_a=0,za=-100,ua=La,ba=$a,function vc(cb,Ob,uc,Cc,Kc){if(_a>=10||uc<-25)return;let Yc=0;for(;cb>0&&Ob>0;){const sc=V[cb][Ob],Nb=ma[cb][Ob];if(4===Nb)Ob-=1,Kc?uc-=5:0!==Cc&&(uc-=1),Kc=!1,Yc=0;else{if(!(2&Nb))return;if(4&Nb&&vc(cb,Ob-1,0!==Cc?uc-1:uc,Cc,Kc),uc+=sc,cb-=1,Ob-=1,Kc=!0,Cc+=Math.pow(2,Ob+ua),1===sc){if(Yc+=1,0===cb&&!ba)return}else uc+=1+Yc*(sc-1),Yc=0}}_a+=1,(uc-=Ob>=3?9:3*Ob)>za&&(za=uc,fb=Cc)}(Fb-1,wb-1,Ab===gb?1:0,0,!1),0!==_a)?[za,fb,La]:void 0}function hb(aa,_,I,ka,va,La,$a){return _[I]!==La[$a]?-1:$a===I-ka?aa[I]===va[$a]?7:5:!Da($a,va,La)||0!==$a&&Da($a-1,va,La)?!ta(La,$a)||0!==$a&&ta(La,$a-1)?ta(La,$a-1)||function(Ab,gb){if(gb<0||gb>=Ab.length)return!1;switch(Ab.charCodeAt(gb)){case 32:case 9:return!0;default:return!1}}(La,$a-1)?5:1:5:aa[I]===va[$a]?7:5}!function(aa){aa.Default=Object.freeze([-100,0,0]),aa.isDefault=function(_){return!_||-100===_[0]&&0===_[1]&&0===_[2]}}(Ka||(Ka={}));let _a=0,fb=0,za=0,ua=0,ba=!1;function $(aa,_,I,ka,va,La,$a){return function(Ab,gb,Fb,wb,tc,rb,wc,vc){let cb=G(Ab,gb,Fb,wb,tc,rb,vc);if(cb&&!wc)return cb;if(Ab.length>=3){const Ob=Math.min(7,Ab.length-1);for(let uc=Fb+1;uc<Ob;uc++){const Cc=S(Ab,uc);if(Cc){const Kc=G(Cc,Cc.toLowerCase(),Fb,wb,tc,rb,vc);Kc&&(Kc[0]-=3,(!cb||Kc[0]>cb[0])&&(cb=Kc))}}}return cb}(aa,_,I,ka,va,La,!0,$a)}function S(aa,_){if(_+1>=aa.length)return;const I=aa[_],ka=aa[_+1];return I!==ka?aa.slice(0,_)+ka+I+aa.slice(_+2):void 0}},function(Ga,t,f){"use strict";(function(l){f.d(t,"a",function(){return Y}),f.d(t,"b",function(){return R}),f.d(t,"e",function(){return L}),f.d(t,"c",function(){return s}),f.d(t,"f",function(){return z}),f.d(t,"d",function(){return D}),f.d(t,"g",function(){return Q});var q=f(8);const y=void 0!==l,F="undefined"!=typeof TextDecoder;let P;class Y{constructor(B){this.buffer=B,this.byteLength=this.buffer.byteLength}toString(){return y?this.buffer.toString():F?(P||(P=new TextDecoder()),P.decode(this.buffer)):q.r(this.buffer)}}function R(B,C){return B[C+0]<<0>>>0|B[C+1]<<8>>>0}function L(B,C,k){B[k+0]=255&C,C>>>=8,B[k+1]=255&C}function s(B,C){return B[C]*Math.pow(2,24)+B[C+1]*Math.pow(2,16)+B[C+2]*Math.pow(2,8)+B[C+3]}function z(B,C,k){B[k+3]=C,C>>>=8,B[k+2]=C,C>>>=8,B[k+1]=C,C>>>=8,B[k]=C}function D(B,C){return B[C]}function Q(B,C,k){B[k]=C}}).call(this,f(202).Buffer)},function(Ga,t,f){"use strict";f.d(t,"b",function(){return l}),f.d(t,"a",function(){return q}),f.d(t,"c",function(){return y}),f.d(t,"d",function(){return P});const l="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",q=function(R=""){let L="(-?\\d*\\.\\d\\w*)|([^";for(const s of l)R.indexOf(s)>=0||(L+="\\"+s);return L+="\\s]+)",new RegExp(L,"g")}();function y(R){let L=q;if(R&&R instanceof RegExp)if(R.global)L=R;else{let s="g";R.ignoreCase&&(s+="i"),R.multiline&&(s+="m"),R.unicode&&(s+="u"),L=new RegExp(R.source,s)}return L.lastIndex=0,L}const F={maxLen:1e3,windowSize:15,timeBudget:150};function P(R,L,s,z,D=F){if(s.length>D.maxLen){let k=R-D.maxLen/2;return k<0?(z+=R,k=0):z+=k,P(R,L,s=s.substring(k,R+D.maxLen/2),z,D)}Date.now();const Q=R-1-z;let B=-1,C=null;for(let k=1;;k++){Date.now(),D.timeBudget;const w=Q-D.windowSize*k;L.lastIndex=Math.max(0,w);const x=Y(L,s,Q,B);if(!x&&C)break;if(C=x,w<=0)break;B=w}if(C){let k={word:C[0],startColumn:z+1+C.index,endColumn:z+1+C.index+C[0].length};return L.lastIndex=0,k}return null}function Y(R,L,s,z){let D;for(;D=R.exec(L);){const Q=D.index||0;if(Q<=s&&R.lastIndex>=s)return D;if(z>0&&Q>z)return null}return null}},function(Ga,t,f){"use strict";f.d(t,"f",function(){return q}),f.d(t,"b",function(){return y}),f.d(t,"c",function(){return F}),f.d(t,"d",function(){return P}),f.d(t,"a",function(){return Y}),f.d(t,"e",function(){return R});var l=f(8);class q{constructor(L,s,z,D){this.top=0|L,this.left=0|s,this.width=0|z,this.height=0|D}}class y{constructor(L,s){this.tabSize=L,this.data=s}}class F{constructor(L,s,z,D,Q,B){this.content=L,this.continuesWithWrappedLine=s,this.minColumn=z,this.maxColumn=D,this.startVisibleColumn=Q,this.tokens=B}}class P{constructor(L,s,z,D,Q,B,C,k,w,x){this.minColumn=L,this.maxColumn=s,this.content=z,this.continuesWithWrappedLine=D,this.isBasicASCII=P.isBasicASCII(z,B),this.containsRTL=P.containsRTL(z,this.isBasicASCII,Q),this.tokens=C,this.inlineDecorations=k,this.tabSize=w,this.startVisibleColumn=x}static isBasicASCII(L,s){return!s||l.B(L)}static containsRTL(L,s,z){return!(s||!z)&&l.m(L)}}class Y{constructor(L,s,z){this.range=L,this.inlineClassName=s,this.type=z}}class R{constructor(L,s){this.range=L,this.options=s}}},function(Ga,t,f){"use strict";var l;f.d(t,"a",function(){return l}),f.d(t,"b",function(){return q}),function(y){y[y.None=0]="None",y[y.Indent=1]="Indent",y[y.IndentOutdent=2]="IndentOutdent",y[y.Outdent=3]="Outdent"}(l||(l={}));class q{constructor(y){if(this.open=y.open,this.close=y.close,this._standardTokenMask=0,Array.isArray(y.notIn))for(let F=0,P=y.notIn.length;F<P;F++)switch(y.notIn[F]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}isOK(y){return 0==(this._standardTokenMask&y)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});var l=f(36);class q{constructor(F){let P=Object(l.b)(F);this._defaultValue=P,this._asciiMap=q._createAsciiMap(P),this._map=new Map()}static _createAsciiMap(F){let P=new Uint8Array(256);for(let Y=0;Y<256;Y++)P[Y]=F;return P}set(F,P){let Y=Object(l.b)(P);F>=0&&F<256?this._asciiMap[F]=Y:this._map.set(F,Y)}get(F){return F>=0&&F<256?this._asciiMap[F]:this._map.get(F)||this._defaultValue}}class y{constructor(){this._actual=new q(0)}add(F){this._actual.set(F,1)}has(F){return 1===this._actual.get(F)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f.d(t,"b",function(){return q}),f.d(t,"c",function(){return y});class l{constructor(F,P,Y){this.offset=0|F,this.type=P,this.language=Y}toString(){return"("+this.offset+", "+this.type+")"}}class q{constructor(F,P){this.tokens=F,this.endState=P}}class y{constructor(F,P){this.tokens=F,this.endState=P}}},function(Ga,t,f){"use strict";f.d(t,"c",function(){return s}),f.d(t,"b",function(){return z}),f.d(t,"a",function(){return Q});var l=f(23),q=f(8),y=f(45),F=f(11);class P{constructor(){this._value="",this._pos=0}reset(B){return this._value=B,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(B){return B.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}class Y{constructor(B=!0,C=!0){this._splitOnBackslash=B,this._caseSensitive=C}reset(B){return this._value=B.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let B=!0;for(;this._to<this._value.length;this._to++){const C=this._value.charCodeAt(this._to);if(47===C||this._splitOnBackslash&&92===C){if(!B)break;this._from++}else B=!1}return this}cmp(B){return this._caseSensitive?Object(q.h)(B,this._value,0,B.length,this._from,this._to):Object(q.i)(B,this._value,0,B.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class R{constructor(){this._states=[],this._stateIdx=0}reset(B){if(this._value=B,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path){const C=B.scheme===y.b.file&&F.d;this._pathIterator=new Y(!1,C),this._pathIterator.reset(B.path),this._pathIterator.value()&&this._states.push(3)}return this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(B){if(1===this._states[this._stateIdx])return Object(q.f)(B,this._value.scheme);if(2===this._states[this._stateIdx])return Object(q.i)(B,this._value.authority);if(3===this._states[this._stateIdx])return this._pathIterator.cmp(B);if(4===this._states[this._stateIdx])return Object(q.f)(B,this._value.query);if(5===this._states[this._stateIdx])return Object(q.f)(B,this._value.fragment);throw new Error()}value(){if(1===this._states[this._stateIdx])return this._value.scheme;if(2===this._states[this._stateIdx])return this._value.authority;if(3===this._states[this._stateIdx])return this._pathIterator.value();if(4===this._states[this._stateIdx])return this._value.query;if(5===this._states[this._stateIdx])return this._value.fragment;throw new Error()}}class L{}class s{constructor(B){this._iter=B}static forUris(){return new s(new R())}static forStrings(){return new s(new P())}clear(){this._root=void 0}set(B,C){const k=this._iter.reset(B);let w;for(this._root||(this._root=new L(),this._root.segment=k.value()),w=this._root;;){const u=k.cmp(w.segment);if(u>0)w.left||(w.left=new L(),w.left.segment=k.value()),w=w.left;else if(u<0)w.right||(w.right=new L(),w.right.segment=k.value()),w=w.right;else{if(!k.hasNext())break;k.next(),w.mid||(w.mid=new L(),w.mid.segment=k.value()),w=w.mid}}const x=w.value;return w.value=C,w.key=B,x}get(B){const C=this._iter.reset(B);let k=this._root;for(;k;){const w=C.cmp(k.segment);if(w>0)k=k.left;else if(w<0)k=k.right;else{if(!C.hasNext())break;C.next(),k=k.mid}}return k?k.value:void 0}findSubstr(B){const C=this._iter.reset(B);let k=this._root,w;for(;k;){const x=C.cmp(k.segment);if(x>0)k=k.left;else if(x<0)k=k.right;else{if(!C.hasNext())break;C.next(),w=k.value||w,k=k.mid}}return k&&k.value||w}forEach(B){this._forEach(this._root,B)}_forEach(B,C){B&&(this._forEach(B.left,C),B.value&&C(B.value,B.key),this._forEach(B.mid,C),this._forEach(B.right,C))}}class z{constructor(B,C){this[Symbol.toStringTag]="ResourceMap",B instanceof z?(this.map=new Map(B.map),this.toKey=null!=C?C:z.defaultToKey):(this.map=new Map(),this.toKey=null!=B?B:z.defaultToKey)}set(B,C){return this.map.set(this.toKey(B),C),this}get(B){return this.map.get(this.toKey(B))}has(B){return this.map.has(this.toKey(B))}get size(){return this.map.size}clear(){this.map.clear()}delete(B){return this.map.delete(this.toKey(B))}forEach(B,C){void 0!==C&&(B=B.bind(C));for(let[k,w]of this.map)B(w,l.a.parse(k),this)}values(){return this.map.values()}*keys(){for(let B of this.map.keys())yield l.a.parse(B)}*entries(){for(let B of this.map.entries())yield[l.a.parse(B[0]),B[1]]}*[Symbol.iterator](){for(let B of this.map)yield[l.a.parse(B[0]),B[1]]}}z.defaultToKey=B=>B.toString();class D{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map(),this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var B;return null===(B=this._head)||void 0===B?void 0:B.value}get last(){var B;return null===(B=this._tail)||void 0===B?void 0:B.value}has(B){return this._map.has(B)}get(B,C=0){const k=this._map.get(B);if(k)return 0!==C&&this.touch(k,C),k.value}set(B,C,k=0){let w=this._map.get(B);if(w)w.value=C,0!==k&&this.touch(w,k);else{switch(w={key:B,value:C,next:void 0,previous:void 0},k){case 0:this.addItemLast(w);break;case 1:this.addItemFirst(w);break;case 2:default:this.addItemLast(w)}this._map.set(B,w),this._size++}return this}delete(B){return!!this.remove(B)}remove(B){const C=this._map.get(B);if(C)return this._map.delete(B),this.removeItem(C),this._size--,C.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const B=this._head;return this._map.delete(B.key),this.removeItem(B),this._size--,B.value}forEach(B,C){const k=this._state;let w=this._head;for(;w;){if(C?B.bind(C)(w.value,w.key,this):B(w.value,w.key,this),this._state!==k)throw new Error("LinkedMap got modified during iteration.");w=w.next}}keys(){const B=this,C=this._state;let k=this._head;const w={[Symbol.iterator]:()=>w,next(){if(B._state!==C)throw new Error("LinkedMap got modified during iteration.");if(k){const x={value:k.key,done:!1};return k=k.next,x}return{value:void 0,done:!0}}};return w}values(){const B=this,C=this._state;let k=this._head;const w={[Symbol.iterator]:()=>w,next(){if(B._state!==C)throw new Error("LinkedMap got modified during iteration.");if(k){const x={value:k.value,done:!1};return k=k.next,x}return{value:void 0,done:!0}}};return w}entries(){const B=this,C=this._state;let k=this._head;const w={[Symbol.iterator]:()=>w,next(){if(B._state!==C)throw new Error("LinkedMap got modified during iteration.");if(k){const x={value:[k.key,k.value],done:!1};return k=k.next,x}return{value:void 0,done:!0}}};return w}[Symbol.iterator](){return this.entries()}trimOld(B){if(B>=this.size)return;if(0===B)return void this.clear();let C=this._head,k=this.size;for(;C&&k>B;)this._map.delete(C.key),C=C.next,k--;this._head=C,this._size=k,C&&(C.previous=void 0),this._state++}addItemFirst(B){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");B.next=this._head,this._head.previous=B}else this._tail=B;this._head=B,this._state++}addItemLast(B){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");B.previous=this._tail,this._tail.next=B}else this._head=B;this._tail=B,this._state++}removeItem(B){if(B===this._head&&B===this._tail)this._head=void 0,this._tail=void 0;else if(B===this._head){if(!B.next)throw new Error("Invalid list");B.next.previous=void 0,this._head=B.next}else if(B===this._tail){if(!B.previous)throw new Error("Invalid list");B.previous.next=void 0,this._tail=B.previous}else{const C=B.next,k=B.previous;if(!C||!k)throw new Error("Invalid list");C.previous=k,k.next=C}B.next=void 0,B.previous=void 0,this._state++}touch(B,C){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===C||2===C){if(1===C){if(B===this._head)return;const k=B.next,w=B.previous;B===this._tail?(w.next=void 0,this._tail=w):(k.previous=w,w.next=k),B.previous=void 0,B.next=this._head,this._head.previous=B,this._head=B,this._state++}else if(2===C){if(B===this._tail)return;const k=B.next,w=B.previous;B===this._head?(k.previous=void 0,this._head=k):(k.previous=w,w.next=k),B.next=void 0,B.previous=this._tail,this._tail.next=B,this._tail=B,this._state++}}}toJSON(){const B=[];return this.forEach((C,k)=>{B.push([k,C])}),B}fromJSON(B){this.clear();for(const[C,k]of B)this.set(C,k)}}class Q extends D{constructor(B,C=1){super(),this._limit=B,this._ratio=Math.min(Math.max(0,C),1)}get limit(){return this._limit}set limit(B){this._limit=B,this.checkTrim()}get(B,C=2){return super.get(B,C)}peek(B){return super.get(B,0)}set(B,C){return super.set(B,C,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f.d(t,"b",function(){return R}),f.d(t,"c",function(){return L});var l=f(23),q=f(18),y=f(2),F=f(8),P=function(s,z,D,Q){return new(D||(D=Promise))(function(B,C){function k(u){try{x(Q.next(u))}catch(A){C(A)}}function w(u){try{x(Q.throw(u))}catch(A){C(A)}}function x(u){var A;u.done?B(u.value):(A=u.value,A instanceof D?A:new D(function(U){U(A)})).then(k,w)}x((Q=Q.apply(s,z||[])).next())})};const Y=Object(q.c)("openerService"),R=Object.freeze({_serviceBrand:void 0,registerOpener:()=>y.a.None,registerValidator:()=>y.a.None,registerExternalUriResolver:()=>y.a.None,setExternalOpener(){},open(){return P(this,void 0,void 0,function*(){return!1})},resolveExternalUri(s){return P(this,void 0,void 0,function*(){return{resolved:s,dispose(){}}})}});function L(s,z){return l.a.isUri(s)?Object(F.t)(s.scheme,z):Object(F.T)(s,z+":")}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return y}),f.d(t,"a",function(){return F});var l=f(18),q=f(10);const y=Object(l.c)("accessibilityService"),F=new q.c("accessibilityModeEnabled",!1)},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y});var l=f(22),q=f(9),y=f(3),F=f(8);class P{constructor(R,L,s){this.lineNumber=R,this.column=L,this.leftoverVisibleColumns=s}}class Y{static leftPosition(R,L,s){return s>R.getLineMinColumn(L)?s-=F.N(R.getLineContent(L),s-1):L>1&&(L-=1,s=R.getLineMaxColumn(L)),new q.a(L,s)}static left(R,L,s,z){const D=Y.leftPosition(L,s,z);return new P(D.lineNumber,D.column,0)}static moveLeft(R,L,s,z,D){let Q,B;if(s.hasSelection()&&!z)Q=s.selection.startLineNumber,B=s.selection.startColumn;else{let C=Y.left(R,L,s.position.lineNumber,s.position.column-(D-1));Q=C.lineNumber,B=C.column}return s.move(z,Q,B,0)}static rightPosition(R,L,s){return s<R.getLineMaxColumn(L)?s+=F.L(R.getLineContent(L),s-1):L<R.getLineCount()&&(L+=1,s=R.getLineMinColumn(L)),new q.a(L,s)}static right(R,L,s,z){const D=Y.rightPosition(L,s,z);return new P(D.lineNumber,D.column,0)}static moveRight(R,L,s,z,D){let Q,B;if(s.hasSelection()&&!z)Q=s.selection.endLineNumber,B=s.selection.endColumn;else{let C=Y.right(R,L,s.position.lineNumber,s.position.column+(D-1));Q=C.lineNumber,B=C.column}return s.move(z,Q,B,0)}static down(R,L,s,z,D,Q,B){const C=l.a.visibleColumnFromColumn(L.getLineContent(s),z,R.tabSize)+D,k=L.getLineCount(),w=s===k&&z===L.getLineMaxColumn(s);return(s+=Q)>k?(s=k,z=B?L.getLineMaxColumn(s):Math.min(L.getLineMaxColumn(s),z)):z=l.a.columnFromVisibleColumn2(R,L,s,C),D=w?0:C-l.a.visibleColumnFromColumn(L.getLineContent(s),z,R.tabSize),new P(s,z,D)}static moveDown(R,L,s,z,D){let Q,B;s.hasSelection()&&!z?(Q=s.selection.endLineNumber,B=s.selection.endColumn):(Q=s.position.lineNumber,B=s.position.column);let C=Y.down(R,L,Q,B,s.leftoverVisibleColumns,D,!0);return s.move(z,C.lineNumber,C.column,C.leftoverVisibleColumns)}static translateDown(R,L,s){let z=s.selection,D=Y.down(R,L,z.selectionStartLineNumber,z.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),Q=Y.down(R,L,z.positionLineNumber,z.positionColumn,s.leftoverVisibleColumns,1,!1);return new l.f(new y.a(D.lineNumber,D.column,D.lineNumber,D.column),D.leftoverVisibleColumns,new q.a(Q.lineNumber,Q.column),Q.leftoverVisibleColumns)}static up(R,L,s,z,D,Q,B){const C=l.a.visibleColumnFromColumn(L.getLineContent(s),z,R.tabSize)+D,k=1===s&&1===z;return(s-=Q)<1?(s=1,z=B?L.getLineMinColumn(s):Math.min(L.getLineMaxColumn(s),z)):z=l.a.columnFromVisibleColumn2(R,L,s,C),D=k?0:C-l.a.visibleColumnFromColumn(L.getLineContent(s),z,R.tabSize),new P(s,z,D)}static moveUp(R,L,s,z,D){let Q,B;s.hasSelection()&&!z?(Q=s.selection.startLineNumber,B=s.selection.startColumn):(Q=s.position.lineNumber,B=s.position.column);let C=Y.up(R,L,Q,B,s.leftoverVisibleColumns,D,!0);return s.move(z,C.lineNumber,C.column,C.leftoverVisibleColumns)}static translateUp(R,L,s){let z=s.selection,D=Y.up(R,L,z.selectionStartLineNumber,z.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),Q=Y.up(R,L,z.positionLineNumber,z.positionColumn,s.leftoverVisibleColumns,1,!1);return new l.f(new y.a(D.lineNumber,D.column,D.lineNumber,D.column),D.leftoverVisibleColumns,new q.a(Q.lineNumber,Q.column),Q.leftoverVisibleColumns)}static moveToBeginningOfLine(R,L,s,z){let D,Q=s.position.lineNumber,B=L.getLineMinColumn(Q),C=L.getLineFirstNonWhitespaceColumn(Q)||B;return D=s.position.column===C?B:C,s.move(z,Q,D,0)}static moveToEndOfLine(R,L,s,z,D){let Q=s.position.lineNumber,B=L.getLineMaxColumn(Q);return s.move(z,Q,B,D?1073741824-B:0)}static moveToBeginningOfBuffer(R,L,s,z){return s.move(z,1,1,0)}static moveToEndOfBuffer(R,L,s,z){let D=L.getLineCount(),Q=L.getLineMaxColumn(D);return s.move(z,D,Q,0)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y});var l=f(1),q=f(67),y=f(69),F=f(2),P=f(61);class Y extends F.a{onclick(R,L){this._register(l.i(R,l.c.CLICK,s=>L(new y.a(s))))}onmousedown(R,L){this._register(l.i(R,l.c.MOUSE_DOWN,s=>L(new y.a(s))))}onmouseover(R,L){this._register(l.i(R,l.c.MOUSE_OVER,s=>L(new y.a(s))))}onnonbubblingmouseout(R,L){this._register(l.j(R,s=>L(new y.a(s))))}onkeydown(R,L){this._register(l.i(R,l.c.KEY_DOWN,s=>L(new q.a(s))))}onkeyup(R,L){this._register(l.i(R,l.c.KEY_UP,s=>L(new q.a(s))))}oninput(R,L){this._register(l.i(R,l.c.INPUT,L))}onblur(R,L){this._register(l.i(R,l.c.BLUR,L))}onfocus(R,L){this._register(l.i(R,l.c.FOCUS,L))}ignoreGesture(R){P.b.ignoreTarget(R)}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return q}),f.d(t,"a",function(){return y});var l=f(18);class q{constructor(F){this.callback=F}report(F){this._value=F,this.callback(this._value)}}q.None=Object.freeze({report(){}});const y=Object(l.c)("editorProgressService")},function(Ga,t,f){"use strict";f.d(t,"b",function(){return q}),f.d(t,"a",function(){return y});var l=f(18);const q=Object(l.c)("contextViewService"),y=Object(l.c)("contextMenuService")},function(Ga,t,f){"use strict";f.d(t,"b",function(){return L}),f.d(t,"a",function(){return l});var l,q=f(14),y=f(22),F=f(81),P=f(129),Y=f(9),R=f(3);class L{static addCursorDown(s,z,D){let Q=[],B=0;for(let C=0,k=z.length;C<k;C++){const w=z[C];Q[B++]=new y.d(w.modelState,w.viewState),Q[B++]=D?y.d.fromModelState(F.a.translateDown(s.cursorConfig,s.model,w.modelState)):y.d.fromViewState(F.a.translateDown(s.cursorConfig,s,w.viewState))}return Q}static addCursorUp(s,z,D){let Q=[],B=0;for(let C=0,k=z.length;C<k;C++){const w=z[C];Q[B++]=new y.d(w.modelState,w.viewState),Q[B++]=D?y.d.fromModelState(F.a.translateUp(s.cursorConfig,s.model,w.modelState)):y.d.fromViewState(F.a.translateUp(s.cursorConfig,s,w.viewState))}return Q}static moveToBeginningOfLine(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B];Q[B]=this._moveToLineStart(s,k,D)}return Q}static _moveToLineStart(s,z,D){const Q=z.viewState.position.column,B=Q===z.modelState.position.column,C=z.viewState.position.lineNumber,k=s.getLineFirstNonWhitespaceColumn(C);return B||Q===k?this._moveToLineStartByModel(s,z,D):this._moveToLineStartByView(s,z,D)}static _moveToLineStartByView(s,z,D){return y.d.fromViewState(F.a.moveToBeginningOfLine(s.cursorConfig,s,z.viewState,D))}static _moveToLineStartByModel(s,z,D){return y.d.fromModelState(F.a.moveToBeginningOfLine(s.cursorConfig,s.model,z.modelState,D))}static moveToEndOfLine(s,z,D,Q){let B=[];for(let C=0,k=z.length;C<k;C++){const w=z[C];B[C]=this._moveToLineEnd(s,w,D,Q)}return B}static _moveToLineEnd(s,z,D,Q){const B=z.viewState.position,C=s.getLineMaxColumn(B.lineNumber),k=B.column===C,w=z.modelState.position,x=s.model.getLineMaxColumn(w.lineNumber),u=C-B.column==x-w.column;return k||u?this._moveToLineEndByModel(s,z,D,Q):this._moveToLineEndByView(s,z,D,Q)}static _moveToLineEndByView(s,z,D,Q){return y.d.fromViewState(F.a.moveToEndOfLine(s.cursorConfig,s,z.viewState,D,Q))}static _moveToLineEndByModel(s,z,D,Q){return y.d.fromModelState(F.a.moveToEndOfLine(s.cursorConfig,s.model,z.modelState,D,Q))}static expandLineSelection(s,z){let D=[];for(let Q=0,B=z.length;Q<B;Q++){const C=z[Q],k=C.modelState.selection.startLineNumber,w=s.model.getLineCount();let x,u=C.modelState.selection.endLineNumber;u===w?x=s.model.getLineMaxColumn(w):(u++,x=1),D[Q]=y.d.fromModelState(new y.f(new R.a(k,1,k,1),0,new Y.a(u,x),0))}return D}static moveToBeginningOfBuffer(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B];Q[B]=y.d.fromModelState(F.a.moveToBeginningOfBuffer(s.cursorConfig,s.model,k.modelState,D))}return Q}static moveToEndOfBuffer(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B];Q[B]=y.d.fromModelState(F.a.moveToEndOfBuffer(s.cursorConfig,s.model,k.modelState,D))}return Q}static selectAll(s,z){const D=s.model.getLineCount(),Q=s.model.getLineMaxColumn(D);return y.d.fromModelState(new y.f(new R.a(1,1,1,1),0,new Y.a(D,Q),0))}static line(s,z,D,Q,B){const C=s.model.validatePosition(Q),k=B?s.coordinatesConverter.validateViewPosition(new Y.a(B.lineNumber,B.column),C):s.coordinatesConverter.convertModelPositionToViewPosition(C);if(!D||!z.modelState.hasSelection()){const x=s.model.getLineCount();let u=C.lineNumber+1,A=1;return u>x&&(u=x,A=s.model.getLineMaxColumn(u)),y.d.fromModelState(new y.f(new R.a(C.lineNumber,1,u,A),0,new Y.a(u,A),0))}const w=z.modelState.selectionStart.getStartPosition().lineNumber;if(C.lineNumber<w)return y.d.fromViewState(z.viewState.move(z.modelState.hasSelection(),k.lineNumber,1,0));if(C.lineNumber>w){const x=s.getLineCount();let u=k.lineNumber+1,A=1;return u>x&&(u=x,A=s.getLineMaxColumn(u)),y.d.fromViewState(z.viewState.move(z.modelState.hasSelection(),u,A,0))}{const x=z.modelState.selectionStart.getEndPosition();return y.d.fromModelState(z.modelState.move(z.modelState.hasSelection(),x.lineNumber,x.column,0))}}static word(s,z,D,Q){const B=s.model.validatePosition(Q);return y.d.fromModelState(P.a.word(s.cursorConfig,s.model,z.modelState,D,B))}static cancelSelection(s,z){if(!z.modelState.hasSelection())return new y.d(z.modelState,z.viewState);const D=z.viewState.position.lineNumber,Q=z.viewState.position.column;return y.d.fromViewState(new y.f(new R.a(D,Q,D,Q),0,new Y.a(D,Q),0))}static moveTo(s,z,D,Q,B){const C=s.model.validatePosition(Q),k=B?s.coordinatesConverter.validateViewPosition(new Y.a(B.lineNumber,B.column),C):s.coordinatesConverter.convertModelPositionToViewPosition(C);return y.d.fromViewState(z.viewState.move(D,k.lineNumber,k.column,0))}static simpleMove(s,z,D,Q,B,C){switch(D){case 0:return 4===C?this._moveHalfLineLeft(s,z,Q):this._moveLeft(s,z,Q,B);case 1:return 4===C?this._moveHalfLineRight(s,z,Q):this._moveRight(s,z,Q,B);case 2:return 2===C?this._moveUpByViewLines(s,z,Q,B):this._moveUpByModelLines(s,z,Q,B);case 3:return 2===C?this._moveDownByViewLines(s,z,Q,B):this._moveDownByModelLines(s,z,Q,B);case 4:return this._moveToViewMinColumn(s,z,Q);case 5:return this._moveToViewFirstNonWhitespaceColumn(s,z,Q);case 6:return this._moveToViewCenterColumn(s,z,Q);case 7:return this._moveToViewMaxColumn(s,z,Q);case 8:return this._moveToViewLastNonWhitespaceColumn(s,z,Q);default:return null}}static viewportMove(s,z,D,Q,B){const C=s.getCompletelyVisibleViewRange(),k=s.coordinatesConverter.convertViewRangeToModelRange(C);switch(D){case 9:{const w=this._firstLineNumberInRange(s.model,k,B),x=s.model.getLineFirstNonWhitespaceColumn(w);return[this._moveToModelPosition(s,z[0],Q,w,x)]}case 11:{const w=this._lastLineNumberInRange(s.model,k,B),x=s.model.getLineFirstNonWhitespaceColumn(w);return[this._moveToModelPosition(s,z[0],Q,w,x)]}case 10:{const w=Math.round((k.startLineNumber+k.endLineNumber)/2),x=s.model.getLineFirstNonWhitespaceColumn(w);return[this._moveToModelPosition(s,z[0],Q,w,x)]}case 12:{let w=[];for(let x=0,u=z.length;x<u;x++){const A=z[x];w[x]=this.findPositionInViewportIfOutside(s,A,C,Q)}return w}default:return null}}static findPositionInViewportIfOutside(s,z,D,Q){let B=z.viewState.position.lineNumber;if(D.startLineNumber<=B&&B<=D.endLineNumber-1)return new y.d(z.modelState,z.viewState);{B>D.endLineNumber-1&&(B=D.endLineNumber-1),B<D.startLineNumber&&(B=D.startLineNumber);const C=s.getLineFirstNonWhitespaceColumn(B);return this._moveToViewPosition(s,z,Q,B,C)}}static _firstLineNumberInRange(s,z,D){let Q=z.startLineNumber;return z.startColumn!==s.getLineMinColumn(Q)&&Q++,Math.min(z.endLineNumber,Q+D-1)}static _lastLineNumberInRange(s,z,D){let Q=z.startLineNumber;return z.startColumn!==s.getLineMinColumn(Q)&&Q++,Math.max(Q,z.endLineNumber-D+1)}static _moveLeft(s,z,D,Q){const B=z.length>1;let C=[];for(let k=0,w=z.length;k<w;k++){const x=z[k],u=B||!x.viewState.hasSelection();let A=F.a.moveLeft(s.cursorConfig,s,x.viewState,D,Q);u&&1===Q&&A.position.lineNumber!==x.viewState.position.lineNumber&&(s.coordinatesConverter.convertViewPositionToModelPosition(A.position).lineNumber===x.modelState.position.lineNumber&&(A=F.a.moveLeft(s.cursorConfig,s,A,D,1))),C[k]=y.d.fromViewState(A)}return C}static _moveHalfLineLeft(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=Math.round(s.getLineContent(w).length/2);Q[B]=y.d.fromViewState(F.a.moveLeft(s.cursorConfig,s,k.viewState,D,x))}return Q}static _moveRight(s,z,D,Q){const B=z.length>1;let C=[];for(let k=0,w=z.length;k<w;k++){const x=z[k],u=B||!x.viewState.hasSelection();let A=F.a.moveRight(s.cursorConfig,s,x.viewState,D,Q);u&&1===Q&&A.position.lineNumber!==x.viewState.position.lineNumber&&(s.coordinatesConverter.convertViewPositionToModelPosition(A.position).lineNumber===x.modelState.position.lineNumber&&(A=F.a.moveRight(s.cursorConfig,s,A,D,1))),C[k]=y.d.fromViewState(A)}return C}static _moveHalfLineRight(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=Math.round(s.getLineContent(w).length/2);Q[B]=y.d.fromViewState(F.a.moveRight(s.cursorConfig,s,k.viewState,D,x))}return Q}static _moveDownByViewLines(s,z,D,Q){let B=[];for(let C=0,k=z.length;C<k;C++){const w=z[C];B[C]=y.d.fromViewState(F.a.moveDown(s.cursorConfig,s,w.viewState,D,Q))}return B}static _moveDownByModelLines(s,z,D,Q){let B=[];for(let C=0,k=z.length;C<k;C++){const w=z[C];B[C]=y.d.fromModelState(F.a.moveDown(s.cursorConfig,s.model,w.modelState,D,Q))}return B}static _moveUpByViewLines(s,z,D,Q){let B=[];for(let C=0,k=z.length;C<k;C++){const w=z[C];B[C]=y.d.fromViewState(F.a.moveUp(s.cursorConfig,s,w.viewState,D,Q))}return B}static _moveUpByModelLines(s,z,D,Q){let B=[];for(let C=0,k=z.length;C<k;C++){const w=z[C];B[C]=y.d.fromModelState(F.a.moveUp(s.cursorConfig,s.model,w.modelState,D,Q))}return B}static _moveToViewPosition(s,z,D,Q,B){return y.d.fromViewState(z.viewState.move(D,Q,B,0))}static _moveToModelPosition(s,z,D,Q,B){return y.d.fromModelState(z.modelState.move(D,Q,B,0))}static _moveToViewMinColumn(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=s.getLineMinColumn(w);Q[B]=this._moveToViewPosition(s,k,D,w,x)}return Q}static _moveToViewFirstNonWhitespaceColumn(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=s.getLineFirstNonWhitespaceColumn(w);Q[B]=this._moveToViewPosition(s,k,D,w,x)}return Q}static _moveToViewCenterColumn(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=Math.round((s.getLineMaxColumn(w)+s.getLineMinColumn(w))/2);Q[B]=this._moveToViewPosition(s,k,D,w,x)}return Q}static _moveToViewMaxColumn(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=s.getLineMaxColumn(w);Q[B]=this._moveToViewPosition(s,k,D,w,x)}return Q}static _moveToViewLastNonWhitespaceColumn(s,z,D){let Q=[];for(let B=0,C=z.length;B<C;B++){const k=z[B],w=k.viewState.position.lineNumber,x=s.getLineLastNonWhitespaceColumn(w);Q[B]=this._moveToViewPosition(s,k,D,w,x)}return Q}}!function(s){s.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:`Property-value pairs that can be passed through this argument: +A zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.`},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view\u2019s position when used."},{name:":default",browsers:["E79","FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree\u2019s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree\u2019s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view\u2019s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven\u2019t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user\u2019s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["E79","FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["E79","FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["E79","FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["E79","FF78","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",browsers:["FF78","C72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:where"}],description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element\u2019s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element\u2019s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["E79","FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E","IE10"],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E","IE10"],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E","IE10"],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E","IE10"],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E","IE10"],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E","IE10"],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E","IE10"],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E","IE10"],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["E79","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]},{name:"::-webkit-outer-spin-button",browsers:["S5","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["E79","S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-corner",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-thumb",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-search-cancel-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:`The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input's track to alter its numerical value.`},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:`The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element. + +In order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element.`},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E80","FF68","S11.1","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},Xs=function(){function x(c){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(c)}return x.prototype.provideProperties=function(){return this._properties},x.prototype.provideAtDirectives=function(){return this._atDirectives},x.prototype.providePseudoClasses=function(){return this._pseudoClasses},x.prototype.providePseudoElements=function(){return this._pseudoElements},x.prototype.addData=function(c){if(Array.isArray(c.properties))for(var p=0,F=c.properties;p<F.length;p++){var pe=F[p];typeof pe.name=="string"&&this._properties.push(pe)}if(Array.isArray(c.atDirectives))for(var He=0,Qe=c.atDirectives;He<Qe.length;He++)Rs(pe=Qe[He])&&this._atDirectives.push(pe);if(Array.isArray(c.pseudoClasses))for(var Vt=0,$t=c.pseudoClasses;Vt<$t.length;Vt++)Zr(pe=$t[Vt])&&this._pseudoClasses.push(pe);if(Array.isArray(c.pseudoElements))for(var ci=0,Ft=c.pseudoElements;ci<Ft.length;ci++)Qs(pe=Ft[ci])&&this._pseudoElements.push(pe)},x}();function Rs(x){return typeof x.name=="string"}function Zr(x){return typeof x.name=="string"}function Qs(x){return typeof x.name=="string"}var Aa=function(){function x(c){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders((c==null?void 0:c.useDefaultDataProvider)!==!1,(c==null?void 0:c.customDataProviders)||[])}return x.prototype.setDataProviders=function(c,p){var F;this.dataProviders=[],c&&this.dataProviders.push(new Xs(ao)),(F=this.dataProviders).push.apply(F,p),this.collectData()},x.prototype.collectData=function(){var c=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach(function(p){p.provideProperties().forEach(function(F){c._propertySet[F.name]||(c._propertySet[F.name]=F)}),p.provideAtDirectives().forEach(function(F){c._atDirectiveSet[F.name]||(c._atDirectiveSet[F.name]=F)}),p.providePseudoClasses().forEach(function(F){c._pseudoClassSet[F.name]||(c._pseudoClassSet[F.name]=F)}),p.providePseudoElements().forEach(function(F){c._pseudoElementSet[F.name]||(c._pseudoElementSet[F.name]=F)})}),this._properties=ei(this._propertySet),this._atDirectives=ei(this._atDirectiveSet),this._pseudoClasses=ei(this._pseudoClassSet),this._pseudoElements=ei(this._pseudoElementSet)},x.prototype.getProperty=function(c){return this._propertySet[c]},x.prototype.getAtDirective=function(c){return this._atDirectiveSet[c]},x.prototype.getPseudoClass=function(c){return this._pseudoClassSet[c]},x.prototype.getPseudoElement=function(c){return this._pseudoElementSet[c]},x.prototype.getProperties=function(){return this._properties},x.prototype.getAtDirectives=function(){return this._atDirectives},x.prototype.getPseudoClasses=function(){return this._pseudoClasses},x.prototype.getPseudoElements=function(){return this._pseudoElements},x.prototype.isKnownProperty=function(c){return c.toLowerCase()in this._propertySet},x.prototype.isStandardProperty=function(c){return this.isKnownProperty(c)&&(!this._propertySet[c.toLowerCase()].status||this._propertySet[c.toLowerCase()].status==="standard")},x}();function Sl(x,c,p){return c.map(function(F){for(var pe=function(Vt){var $t=x.offsetAt(Vt),ci=p.findChildAtOffset($t,!0);if(!ci)return[];for(var Ft=[];ci;)ci.parent&&ci.offset===ci.parent.offset&&ci.end===ci.parent.end||(ci.type===it.Declarations&&$t>ci.offset&&$t<ci.end&&Ft.push([ci.offset+1,ci.end-1]),Ft.push([ci.offset,ci.end])),ci=ci.parent;return Ft}(F),He=void 0,Qe=pe.length-1;Qe>=0;Qe--)He=oa.create(Sn.create(x.positionAt(pe[Qe][0]),x.positionAt(pe[Qe][1])),He);return He||(He=oa.create(Sn.create(F,F))),He})}var Ka=function(){var x=function(c,p){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,pe){F.__proto__=pe}||function(F,pe){for(var He in pe)pe.hasOwnProperty(He)&&(F[He]=pe[He])})(c,p)};return function(c,p){function F(){this.constructor=c}x(c,p),c.prototype=p===null?Object.create(p):(F.prototype=p.prototype,new F)}}(),Js=function(x,c,p,F){return new(p||(p=Promise))(function(pe,He){function Qe(ci){try{$t(F.next(ci))}catch(Ft){He(Ft)}}function Vt(ci){try{$t(F.throw(ci))}catch(Ft){He(Ft)}}function $t(ci){var Ft;ci.done?pe(ci.value):(Ft=ci.value,Ft instanceof p?Ft:new p(function(Fi){Fi(Ft)})).then(Qe,Vt)}$t((F=F.apply(x,c||[])).next())})},Ga=function(x,c){var p,F,pe,He,Qe={label:0,sent:function(){if(1&pe[0])throw pe[1];return pe[1]},trys:[],ops:[]};return He={next:Vt(0),throw:Vt(1),return:Vt(2)},typeof Symbol=="function"&&(He[Symbol.iterator]=function(){return this}),He;function Vt($t){return function(ci){return function(Ft){if(p)throw new TypeError("Generator is already executing.");for(;Qe;)try{if(p=1,F&&(pe=2&Ft[0]?F.return:Ft[0]?F.throw||((pe=F.return)&&pe.call(F),0):F.next)&&!(pe=pe.call(F,Ft[1])).done)return pe;switch(F=0,pe&&(Ft=[2&Ft[0],pe.value]),Ft[0]){case 0:case 1:pe=Ft;break;case 4:return Qe.label++,{value:Ft[1],done:!1};case 5:Qe.label++,F=Ft[1],Ft=[0];continue;case 7:Ft=Qe.ops.pop(),Qe.trys.pop();continue;default:if(pe=Qe.trys,!((pe=pe.length>0&&pe[pe.length-1])||Ft[0]!==6&&Ft[0]!==2)){Qe=0;continue}if(Ft[0]===3&&(!pe||Ft[1]>pe[0]&&Ft[1]<pe[3])){Qe.label=Ft[1];break}if(Ft[0]===6&&Qe.label<pe[1]){Qe.label=pe[1],pe=Ft;break}if(pe&&Qe.label<pe[2]){Qe.label=pe[2],Qe.ops.push(Ft);break}pe[2]&&Qe.ops.pop(),Qe.trys.pop();continue}Ft=c.call(x,Qe)}catch(Fi){Ft=[6,Fi],F=0}finally{p=pe=0}if(5&Ft[0])throw Ft[1];return{value:Ft[0]?Ft[1]:void 0,done:!0}}([$t,ci])}}},Jl=function(x){function c(p){return x.call(this,p)||this}return Ka(c,x),c.prototype.isRawStringDocumentLinkNode=function(p){return x.prototype.isRawStringDocumentLinkNode.call(this,p)||p.type===it.Use||p.type===it.Forward},c.prototype.resolveRelativeReference=function(p,F,pe){return Js(this,void 0,void 0,function(){var He,Qe,Vt,$t;return Ga(this,function(ci){switch(ci.label){case 0:return de(p,"sass:")?[2,void 0]:[4,x.prototype.resolveRelativeReference.call(this,p,F,pe)];case 1:if(He=ci.sent(),!this.fileSystemProvider||!He||function(Ft){for(var Fi=Ft.length-1;Fi>=0;Fi--){var cn=Ft.charCodeAt(Fi);if(cn===Ir){if(Fi>0&&Ft.charCodeAt(Fi-1)!==ks)return Ft.substr(Fi);break}if(cn===ks)break}return""}(He).length!==0)return[3,8];ci.label=2;case 2:if(ci.trys.push([2,7,,8]),Qe=xa.a.parse(He),!(Vt=function(Ft){if(Ft.path!==""&&!Ft.path.endsWith(".scss")&&!Ft.path.endsWith(".css")){if(Ft.path.endsWith("/"))return[Ft.with({path:Ft.path+"index.scss"}).toString(),Ft.with({path:Ft.path+"_index.scss"}).toString()];var Fi=Ft.path.split("/"),cn=Fi[Fi.length-1],vn=Ft.path.slice(0,-cn.length);if(cn.startsWith("_"))return Ft.path.endsWith(".scss")?void 0:[Ft.with({path:Ft.path+".scss"}).toString()];var rn=cn+".scss",Pn=function(jn){return Ft.with({path:vn+jn}).toString()};return[Pn(rn),Pn("_"+rn),Pn(rn.slice(0,-5)+"/index.scss"),Pn(rn.slice(0,-5)+"/_index.scss"),Pn(rn.slice(0,-5)+".css")]}}(Qe)))return[3,6];$t=0,ci.label=3;case 3:return $t<Vt.length?[4,this.fileExists(Vt[$t])]:[3,6];case 4:if(ci.sent())return[2,Vt[$t]];ci.label=5;case 5:return $t++,[3,3];case 6:return[2,void 0];case 7:return ci.sent(),[3,8];case 8:return[2,He]}})})},c}(at);function ea(x,c,p,F,pe,He,Qe){return{configure:function(Vt){He.configure(Vt),c.configure(Vt)},setDataProviders:Qe.setDataProviders.bind(Qe),doValidation:He.doValidation.bind(He),parseStylesheet:x.parseStylesheet.bind(x),doComplete:c.doComplete.bind(c),doComplete2:c.doComplete2.bind(c),setCompletionParticipants:c.setCompletionParticipants.bind(c),doHover:p.doHover.bind(p),findDefinition:F.findDefinition.bind(F),findReferences:F.findReferences.bind(F),findDocumentHighlights:F.findDocumentHighlights.bind(F),findDocumentLinks:F.findDocumentLinks.bind(F),findDocumentLinks2:F.findDocumentLinks2.bind(F),findDocumentSymbols:F.findDocumentSymbols.bind(F),doCodeActions:pe.doCodeActions.bind(pe),doCodeActions2:pe.doCodeActions2.bind(pe),findColorSymbols:function(Vt,$t){return F.findDocumentColors(Vt,$t).map(function(ci){return ci.range})},findDocumentColors:F.findDocumentColors.bind(F),getColorPresentations:F.getColorPresentations.bind(F),doRename:F.doRename.bind(F),getFoldingRanges:ca,getSelectionRanges:Sl}}var Ya={};function Nc(x){x===void 0&&(x=Ya);var c=new Aa(x);return ea(new ln,new Ar(null,x,c),new we(x&&x.clientCapabilities,c),new at(x&&x.fileSystemProvider),new An(c),new Gs(c),c)}function Ic(x){x===void 0&&(x=Ya);var c=new Aa(x);return ea(new xr,new wl(x,c),new we(x&&x.clientCapabilities,c),new Jl(x&&x.fileSystemProvider),new An(c),new Gs(c),c)}function Oc(x){x===void 0&&(x=Ya);var c=new Aa(x);return ea(new As,new Zs(x,c),new we(x&&x.clientCapabilities,c),new at(x&&x.fileSystemProvider),new An(c),new Gs(c),c)}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D}),o.d(w,"b",function(){return H});var h=o(68),f=o(18);h.a;let D=Object(f.c)("notificationService");class H{}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("keybindingService")},function(Ie,w,o){"use strict";o.d(w,"i",function(){return W}),o.d(w,"e",function(){return Q}),o.d(w,"f",function(){return y}),o.d(w,"c",function(){return C}),o.d(w,"b",function(){return S}),o.d(w,"d",function(){return P}),o.d(w,"g",function(){return V}),o.d(w,"h",function(){return k}),o.d(w,"j",function(){return l}),o.d(w,"k",function(){return T}),o.d(w,"a",function(){return b});var h=o(179),f=o(42),D=o(23),H=o(8),E=o(45),ge=o(11);function W(g){return Object(D.b)(g,!0)}let Q=new class{constructor(g){this._ignorePathCasing=g}compare(g,j,ie=!1){return g===j?0:Object(H.f)(this.getComparisonKey(g,ie),this.getComparisonKey(j,ie))}isEqual(g,j,ie=!1){return g===j||!(!g||!j)&&this.getComparisonKey(g,ie)===this.getComparisonKey(j,ie)}getComparisonKey(g,j=!1){return g.with({path:this._ignorePathCasing(g)?g.path.toLowerCase():void 0,fragment:j?null:void 0}).toString()}joinPath(g,...j){return D.a.joinPath(g,...j)}basenameOrAuthority(g){return S(g)||g.authority}basename(g){return f.e.basename(g.path)}dirname(g){if(g.path.length===0)return g;let j;return g.scheme===E.b.file?j=D.a.file(f.b(W(g))).path:(j=f.e.dirname(g.path),g.authority&&j.length&&j.charCodeAt(0)!==47&&(console.error(`dirname("${g.toString})) resulted in a relative path`),j="/")),g.with({path:j})}normalizePath(g){if(!g.path.length)return g;let j;return j=g.scheme===E.b.file?D.a.file(f.d(W(g))).path:f.e.normalize(g.path),g.with({path:j})}relativePath(g,j){if(g.scheme!==j.scheme||!N(g.authority,j.authority))return;if(g.scheme===E.b.file){let q=f.f(W(g),W(j));return ge.i?h.b(q):q}let ie=g.path||"/",U=j.path||"/";if(this._ignorePathCasing(g)){let q=0;for(let B=Math.min(ie.length,U.length);q<B&&(ie.charCodeAt(q)===U.charCodeAt(q)||ie.charAt(q).toLowerCase()===U.charAt(q).toLowerCase());q++);ie=U.substr(0,q)+ie.substr(q)}return f.e.relative(ie,U)}resolvePath(g,j){if(g.scheme===E.b.file){let ie=D.a.file(f.g(W(g),j));return g.with({authority:ie.authority,path:ie.path})}return j.indexOf("/")===-1&&(j=h.b(j),/^[a-zA-Z]:(\/|$)/.test(j)&&(j="/"+j)),g.with({path:f.e.resolve(g.path,j)})}isEqualAuthority(g,j){return g===j||Object(H.t)(g,j)}}(()=>!1),y=Q.isEqual.bind(Q),C=Q.basenameOrAuthority.bind(Q),S=Q.basename.bind(Q),P=Q.dirname.bind(Q),V=Q.joinPath.bind(Q),k=Q.normalizePath.bind(Q),l=Q.relativePath.bind(Q),T=Q.resolvePath.bind(Q),N=Q.isEqualAuthority.bind(Q);var b;(function(g){g.META_DATA_LABEL="label",g.META_DATA_DESCRIPTION="description",g.META_DATA_SIZE="size",g.META_DATA_MIME="mime",g.parseMetaData=function(j){let ie=new Map;j.path.substring(j.path.indexOf(";")+1,j.path.lastIndexOf(";")).split(";").forEach(q=>{let[B,se]=q.split(":");B&&se&&ie.set(B,se)});let U=j.path.substring(0,j.path.indexOf(";"));return U&&ie.set(g.META_DATA_MIME,U),ie}})(b||(b={}))},function(Ie,w,o){"use strict";var h=o(108);o.d(w,"a",function(){return h.b}),o.d(w,"b",function(){return h.e}),o.d(w,"c",function(){return h.h}),o.d(w,"d",function(){return h.l}),o.d(w,"e",function(){return h.m}),o.d(w,"f",function(){return h.n})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});class h{constructor(H){this.element=H,this.next=h.Undefined,this.prev=h.Undefined}}h.Undefined=new h(void 0);class f{constructor(){this._first=h.Undefined,this._last=h.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===h.Undefined}clear(){this._first=h.Undefined,this._last=h.Undefined,this._size=0}unshift(H){return this._insert(H,!1)}push(H){return this._insert(H,!0)}_insert(H,E){let ge=new h(H);if(this._first===h.Undefined)this._first=ge,this._last=ge;else if(E){let Q=this._last;this._last=ge,ge.prev=Q,Q.next=ge}else{let Q=this._first;this._first=ge,ge.next=Q,Q.prev=ge}this._size+=1;let W=!1;return()=>{W||(W=!0,this._remove(ge))}}shift(){if(this._first!==h.Undefined){let H=this._first.element;return this._remove(this._first),H}}pop(){if(this._last!==h.Undefined){let H=this._last.element;return this._remove(this._last),H}}_remove(H){if(H.prev!==h.Undefined&&H.next!==h.Undefined){let E=H.prev;E.next=H.next,H.next.prev=E}else H.prev===h.Undefined&&H.next===h.Undefined?(this._first=h.Undefined,this._last=h.Undefined):H.next===h.Undefined?(this._last=this._last.prev,this._last.next=h.Undefined):H.prev===h.Undefined&&(this._first=this._first.next,this._first.prev=h.Undefined);this._size-=1}*[Symbol.iterator](){let H=this._first;for(;H!==h.Undefined;)yield H.element,H=H.next}toArray(){let H=[];for(let E=this._first;E!==h.Undefined;E=E.next)H.push(E.element);return H}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"g",function(){return E}),o.d(w,"b",function(){return ge}),o.d(w,"f",function(){return W}),o.d(w,"d",function(){return Q}),o.d(w,"c",function(){return y}),o.d(w,"e",function(){return C});var h=o(56),f=o(18),D=o(128);let H=Object(f.c)("configurationService");function E(S,P){let V=Object.create(null);for(let k in S)ge(V,k,S[k],P);return V}function ge(S,P,V,k){let l=P.split("."),T=l.pop(),N=S;for(let b=0;b<l.length;b++){let g=l[b],j=N[g];switch(typeof j){case"undefined":j=N[g]=Object.create(null);break;case"object":break;default:return void k(`Ignoring ${P} as ${l.slice(0,b+1).join(".")} is ${JSON.stringify(j)}`)}N=j}if(typeof N=="object"&&N!==null)try{N[T]=V}catch(b){k(`Ignoring ${P} as ${l.join(".")} is ${JSON.stringify(N)}`)}else k(`Ignoring ${P} as ${l.join(".")} is ${JSON.stringify(N)}`)}function W(S,P){(function V(k,l){let T=l.shift();if(l.length===0)return void delete k[T];if(Object.keys(k).indexOf(T)!==-1){let N=k[T];typeof N!="object"||Array.isArray(N)||(V(N,l),Object.keys(N).length===0&&delete k[T])}})(S,P.split("."))}function Q(S,P,V){let k=function(l,T){let N=l;for(let b of T){if(typeof N!="object"||N===null)return;N=N[b]}return N}(S,P.split("."));return k===void 0?V:k}function y(){let S=h.a.as(D.a.Configuration).getConfigurationProperties();return Object.keys(S)}function C(){let S=Object.create(null),P=h.a.as(D.a.Configuration).getConfigurationProperties();for(let V in P)ge(S,V,P[V].default,k=>console.error("Conflict in default settings: "+k));return S}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o.d(w,"c",function(){return f}),o.d(w,"b",function(){return D}),o.d(w,"e",function(){return H}),o.d(w,"d",function(){return E}),o.d(w,"f",function(){return ge}),o.d(w,"h",function(){return W}),o.d(w,"i",function(){return Q}),o.d(w,"g",function(){return y});var h,f,D,H,E,ge,W,Q,y,C=o(0);(function(S){S.noSelection=C.a("noSelection","No selection"),S.singleSelectionRange=C.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),S.singleSelection=C.a("singleSelection","Line {0}, Column {1}"),S.multiSelectionRange=C.a("multiSelectionRange","{0} selections ({1} characters selected)"),S.multiSelection=C.a("multiSelection","{0} selections"),S.emergencyConfOn=C.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),S.openingDocs=C.a("openingDocs","Now opening the Editor Accessibility documentation page."),S.readonlyDiffEditor=C.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),S.editableDiffEditor=C.a("editableDiffEditor"," in a pane of a diff editor."),S.readonlyEditor=C.a("readonlyEditor"," in a read-only code editor"),S.editableEditor=C.a("editableEditor"," in a code editor"),S.changeConfigToOnMac=C.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),S.changeConfigToOnWinLinux=C.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),S.auto_on=C.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),S.auto_off=C.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),S.tabFocusModeOnMsg=C.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),S.tabFocusModeOnMsgNoKb=C.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),S.tabFocusModeOffMsg=C.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),S.tabFocusModeOffMsgNoKb=C.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),S.openDocMac=C.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),S.openDocWinLinux=C.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),S.outroMsg=C.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),S.showAccessibilityHelpAction=C.a("showAccessibilityHelpAction","Show Accessibility Help")})(h||(h={})),function(S){S.inspectTokensAction=C.a("inspectTokens","Developer: Inspect Tokens")}(f||(f={})),function(S){S.gotoLineActionLabel=C.a("gotoLineActionLabel","Go to Line/Column...")}(D||(D={})),function(S){S.helpQuickAccessActionLabel=C.a("helpQuickAccess","Show all Quick Access Providers")}(H||(H={})),function(S){S.quickCommandActionLabel=C.a("quickCommandActionLabel","Command Palette"),S.quickCommandHelp=C.a("quickCommandActionHelp","Show And Run Commands")}(E||(E={})),function(S){S.quickOutlineActionLabel=C.a("quickOutlineActionLabel","Go to Symbol..."),S.quickOutlineByCategoryActionLabel=C.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(ge||(ge={})),function(S){S.editorViewAccessibleLabel=C.a("editorViewAccessibleLabel","Editor content"),S.accessibilityHelpMessage=C.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(W||(W={})),function(S){S.toggleHighContrast=C.a("toggleHighContrast","Toggle High Contrast Theme")}(Q||(Q={})),function(S){S.bulkEditServiceSummary=C.a("bulkEditServiceSummary","Made {0} edits in {1} files")}(y||(y={}))},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(14),f=o(174);let D=new class{constructor(){this.data=new Map}add(H,E){f.a(h.j(H)),f.a(h.i(E)),f.a(!this.data.has(H),"There is already an extension with this id"),this.data.set(H,E)}as(H){return this.data.get(H)||null}}},function(Ie,w,o){"use strict";o.d(w,"i",function(){return E}),o.d(w,"j",function(){return ge}),o.d(w,"g",function(){return S}),o.d(w,"f",function(){return P}),o.d(w,"h",function(){return k}),o.d(w,"a",function(){return l}),o.d(w,"k",function(){return T}),o.d(w,"b",function(){return b}),o.d(w,"n",function(){return g}),o.d(w,"e",function(){return j}),o.d(w,"c",function(){return ie}),o.d(w,"d",function(){return U}),o.d(w,"m",function(){return q}),o.d(w,"l",function(){return B}),o.d(w,"o",function(){return ke}),o.d(w,"p",function(){return xe}),o.d(w,"s",function(){return Z}),o.d(w,"q",function(){return te}),o.d(w,"t",function(){return he}),o.d(w,"r",function(){return Ce});var h=o(0),f=o(16),D=o(5),H=o(19);let E=Object(D.gc)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},h.a("lineHighlight","Background color for the highlight of line at the cursor position.")),ge=Object(D.gc)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},h.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),W=Object(D.gc)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},h.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),Q=Object(D.gc)("editor.rangeHighlightBorder",{dark:null,light:null,hc:D.b},h.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),y=Object(D.gc)("editor.symbolHighlightBackground",{dark:D.x,light:D.x,hc:null},h.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),C=Object(D.gc)("editor.symbolHighlightBorder",{dark:null,light:null,hc:D.b},h.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),S=Object(D.gc)("editorCursor.foreground",{dark:"#AEAFAD",light:f.a.black,hc:f.a.white},h.a("caret","Color of the editor cursor.")),P=Object(D.gc)("editorCursor.background",null,h.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),V=Object(D.gc)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},h.a("editorWhitespaces","Color of whitespace characters in the editor.")),k=Object(D.gc)("editorIndentGuide.background",{dark:V,light:V,hc:V},h.a("editorIndentGuides","Color of the editor indentation guides.")),l=Object(D.gc)("editorIndentGuide.activeBackground",{dark:V,light:V,hc:V},h.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),T=Object(D.gc)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:f.a.white},h.a("editorLineNumbers","Color of editor line numbers.")),N=Object(D.gc)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:D.b},h.a("editorActiveLineNumber","Color of editor active line number"),!1,h.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),b=Object(D.gc)("editorLineNumber.activeForeground",{dark:N,light:N,hc:N},h.a("editorActiveLineNumber","Color of editor active line number")),g=Object(D.gc)("editorRuler.foreground",{dark:"#5A5A5A",light:f.a.lightgrey,hc:f.a.white},h.a("editorRuler","Color of the editor rulers.")),j=Object(D.gc)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},h.a("editorCodeLensForeground","Foreground color of editor CodeLens")),ie=Object(D.gc)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},h.a("editorBracketMatchBackground","Background color behind matching brackets")),U=Object(D.gc)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:D.h},h.a("editorBracketMatchBorder","Color for matching brackets boxes")),q=Object(D.gc)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},h.a("editorOverviewRulerBorder","Color of the overview ruler border.")),B=Object(D.gc)("editorOverviewRuler.background",null,h.a("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),se=Object(D.gc)("editorGutter.background",{dark:D.s,light:D.s,hc:D.s},h.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),ke=Object(D.gc)("editorUnnecessaryCode.border",{dark:null,light:null,hc:f.a.fromHex("#fff").transparent(.8)},h.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),xe=Object(D.gc)("editorUnnecessaryCode.opacity",{dark:f.a.fromHex("#000a"),light:f.a.fromHex("#0007"),hc:null},h.a("unnecessaryCodeOpacity",`Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`)),Y=new f.a(new f.c(0,122,204,.6)),Z=Object(D.gc)("editorOverviewRuler.rangeHighlightForeground",{dark:Y,light:Y,hc:Y},h.a("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),te=Object(D.gc)("editorOverviewRuler.errorForeground",{dark:new f.a(new f.c(255,18,18,.7)),light:new f.a(new f.c(255,18,18,.7)),hc:new f.a(new f.c(255,50,50,1))},h.a("overviewRuleError","Overview ruler marker color for errors.")),he=Object(D.gc)("editorOverviewRuler.warningForeground",{dark:D.T,light:D.T,hc:D.S},h.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Ce=Object(D.gc)("editorOverviewRuler.infoForeground",{dark:D.L,light:D.L,hc:D.K},h.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(H.g)((Ae,L)=>{let nt=Ae.getColor(D.s);nt&&L.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${nt}; }`);let ct=Ae.getColor(D.B);ct&&L.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${ct}; }`);let Ye=Ae.getColor(se);Ye&&L.addRule(`.monaco-editor .margin { background-color: ${Ye}; }`);let ht=Ae.getColor(W);ht&&L.addRule(`.monaco-editor .rangeHighlight { background-color: ${ht}; }`);let fe=Ae.getColor(Q);fe&&L.addRule(`.monaco-editor .rangeHighlight { border: 1px ${Ae.type==="hc"?"dotted":"solid"} ${fe}; }`);let $=Ae.getColor(y);$&&L.addRule(`.monaco-editor .symbolHighlight { background-color: ${$}; }`);let G=Ae.getColor(C);G&&L.addRule(`.monaco-editor .symbolHighlight { border: 1px ${Ae.type==="hc"?"dotted":"solid"} ${G}; }`);let z=Ae.getColor(V);z&&(L.addRule(`.monaco-editor .mtkw { color: ${z} !important; }`),L.addRule(`.monaco-editor .mtkz { color: ${z} !important; }`))})},function(Ie,w,o){"use strict";var h,f;o.d(w,"d",function(){return h}),o.d(w,"c",function(){return f}),o.d(w,"e",function(){return D}),o.d(w,"b",function(){return H}),o.d(w,"f",function(){return E}),o.d(w,"a",function(){return ge}),function(W){W[W.Left=1]="Left",W[W.Center=2]="Center",W[W.Right=4]="Right",W[W.Full=7]="Full"}(h||(h={})),function(W){W[W.Inline=1]="Inline",W[W.Gutter=2]="Gutter"}(f||(f={}));class D{constructor(Q){this.tabSize=Math.max(1,0|Q.tabSize),this.indentSize=0|Q.tabSize,this.insertSpaces=Boolean(Q.insertSpaces),this.defaultEOL=0|Q.defaultEOL,this.trimAutoWhitespace=Boolean(Q.trimAutoWhitespace)}equals(Q){return this.tabSize===Q.tabSize&&this.indentSize===Q.indentSize&&this.insertSpaces===Q.insertSpaces&&this.defaultEOL===Q.defaultEOL&&this.trimAutoWhitespace===Q.trimAutoWhitespace}createChangeEvent(Q){return{tabSize:this.tabSize!==Q.tabSize,indentSize:this.indentSize!==Q.indentSize,insertSpaces:this.insertSpaces!==Q.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==Q.trimAutoWhitespace}}}class H{constructor(Q,y){this.range=Q,this.matches=y}}class E{constructor(Q,y,C,S,P,V){this.identifier=Q,this.range=y,this.text=C,this.forceMoveMarkers=S,this.isAutoWhitespaceEdit=P,this._isTracked=V}}class ge{constructor(Q,y,C){this.reverseEdits=Q,this.changes=y,this.trimAutoWhitespaceLineNumbers=C}}},function(Ie,w,o){"use strict";var h=o(108);o.d(w,"a",function(){return h.b}),o.d(w,"b",function(){return h.e}),o.d(w,"c",function(){return h.h}),o.d(w,"d",function(){return h.l}),o.d(w,"e",function(){return h.m}),o.d(w,"f",function(){return h.n})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E}),o.d(w,"c",function(){return ge}),o.d(w,"d",function(){return W});var h=o(2),f=o(6),D=function(Q,y,C,S){return new(C||(C=Promise))(function(P,V){function k(N){try{T(S.next(N))}catch(b){V(b)}}function l(N){try{T(S.throw(N))}catch(b){V(b)}}function T(N){var b;N.done?P(N.value):(b=N.value,b instanceof C?b:new C(function(g){g(b)})).then(k,l)}T((S=S.apply(Q,y||[])).next())})};class H extends h.a{constructor(y,C="",S="",P=!0,V){super(),this._onDidChange=this._register(new f.a),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=y,this._label=C,this._cssClass=S,this._enabled=P,this._actionCallback=V}get id(){return this._id}get label(){return this._label}set label(y){this._setLabel(y)}_setLabel(y){this._label!==y&&(this._label=y,this._onDidChange.fire({label:y}))}get tooltip(){return this._tooltip||""}set tooltip(y){this._setTooltip(y)}_setTooltip(y){this._tooltip!==y&&(this._tooltip=y,this._onDidChange.fire({tooltip:y}))}get class(){return this._cssClass}set class(y){this._setClass(y)}_setClass(y){this._cssClass!==y&&(this._cssClass=y,this._onDidChange.fire({class:y}))}get enabled(){return this._enabled}set enabled(y){this._setEnabled(y)}_setEnabled(y){this._enabled!==y&&(this._enabled=y,this._onDidChange.fire({enabled:y}))}get checked(){return this._checked}set checked(y){this._setChecked(y)}_setChecked(y){this._checked!==y&&(this._checked=y,this._onDidChange.fire({checked:y}))}run(y,C){return this._actionCallback?this._actionCallback(y):Promise.resolve(!0)}}class E extends h.a{constructor(){super(...arguments),this._onDidBeforeRun=this._register(new f.a),this.onDidBeforeRun=this._onDidBeforeRun.event,this._onDidRun=this._register(new f.a),this.onDidRun=this._onDidRun.event}run(y,C){return D(this,void 0,void 0,function*(){if(!y.enabled)return Promise.resolve(null);this._onDidBeforeRun.fire({action:y});try{let S=yield this.runAction(y,C);this._onDidRun.fire({action:y,result:S})}catch(S){this._onDidRun.fire({action:y,error:S})}})}runAction(y,C){let S=C?y.run(C):y.run();return Promise.resolve(S)}}class ge extends H{constructor(y){super(ge.ID,y,y?"separator text":"separator"),this.checked=!1,this.enabled=!1}}ge.ID="vs.actions.separator";class W extends H{constructor(y,C,S,P){super(y,C,P,!0),this._actions=S}get actions(){return Array.isArray(this._actions)?this._actions:this._actions()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o.d(w,"b",function(){return W});var h,f=o(15),D=o(2),H=o(1),E=o(98),ge=function(Q,y,C,S){var P,V=arguments.length,k=V<3?y:S===null?S=Object.getOwnPropertyDescriptor(y,C):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(Q,y,C,S);else for(var l=Q.length-1;l>=0;l--)(P=Q[l])&&(k=(V<3?P(k):V>3?P(y,C,k):P(y,C))||k);return V>3&&k&&Object.defineProperty(y,C,k),k};(function(Q){Q.Tap="-monaco-gesturetap",Q.Change="-monaco-gesturechange",Q.Start="-monaco-gesturestart",Q.End="-monaco-gesturesend",Q.Contextmenu="-monaco-gesturecontextmenu"})(h||(h={}));class W extends D.a{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(H.i(document,"touchstart",y=>this.onTouchStart(y),{passive:!1})),this._register(H.i(document,"touchend",y=>this.onTouchEnd(y))),this._register(H.i(document,"touchmove",y=>this.onTouchMove(y),{passive:!1}))}static addTarget(y){return W.isTouchDevice()?(W.INSTANCE||(W.INSTANCE=new W),W.INSTANCE.targets.push(y),{dispose:()=>{W.INSTANCE.targets=W.INSTANCE.targets.filter(C=>C!==y)}}):D.a.None}static ignoreTarget(y){return W.isTouchDevice()?(W.INSTANCE||(W.INSTANCE=new W),W.INSTANCE.ignoreTargets.push(y),{dispose:()=>{W.INSTANCE.ignoreTargets=W.INSTANCE.ignoreTargets.filter(C=>C!==y)}}):D.a.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(y){let C=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let S=0,P=y.targetTouches.length;S<P;S++){let V=y.targetTouches.item(S);this.activeTouches[V.identifier]={id:V.identifier,initialTarget:V.target,initialTimeStamp:C,initialPageX:V.pageX,initialPageY:V.pageY,rollingTimestamps:[C],rollingPageX:[V.pageX],rollingPageY:[V.pageY]};let k=this.newGestureEvent(h.Start,V.target);k.pageX=V.pageX,k.pageY=V.pageY,this.dispatchEvent(k)}this.dispatched&&(y.preventDefault(),y.stopPropagation(),this.dispatched=!1)}onTouchEnd(y){let C=Date.now(),S=Object.keys(this.activeTouches).length;for(let P=0,V=y.changedTouches.length;P<V;P++){let k=y.changedTouches.item(P);if(!this.activeTouches.hasOwnProperty(String(k.identifier))){console.warn("move of an UNKNOWN touch",k);continue}let l=this.activeTouches[k.identifier],T=Date.now()-l.initialTimeStamp;if(T<W.HOLD_DELAY&&Math.abs(l.initialPageX-f.t(l.rollingPageX))<30&&Math.abs(l.initialPageY-f.t(l.rollingPageY))<30){let N=this.newGestureEvent(h.Tap,l.initialTarget);N.pageX=f.t(l.rollingPageX),N.pageY=f.t(l.rollingPageY),this.dispatchEvent(N)}else if(T>=W.HOLD_DELAY&&Math.abs(l.initialPageX-f.t(l.rollingPageX))<30&&Math.abs(l.initialPageY-f.t(l.rollingPageY))<30){let N=this.newGestureEvent(h.Contextmenu,l.initialTarget);N.pageX=f.t(l.rollingPageX),N.pageY=f.t(l.rollingPageY),this.dispatchEvent(N)}else if(S===1){let N=f.t(l.rollingPageX),b=f.t(l.rollingPageY),g=f.t(l.rollingTimestamps)-l.rollingTimestamps[0],j=N-l.rollingPageX[0],ie=b-l.rollingPageY[0],U=this.targets.filter(q=>l.initialTarget instanceof Node&&q.contains(l.initialTarget));this.inertia(U,C,Math.abs(j)/g,j>0?1:-1,N,Math.abs(ie)/g,ie>0?1:-1,b)}this.dispatchEvent(this.newGestureEvent(h.End,l.initialTarget)),delete this.activeTouches[k.identifier]}this.dispatched&&(y.preventDefault(),y.stopPropagation(),this.dispatched=!1)}newGestureEvent(y,C){let S=document.createEvent("CustomEvent");return S.initEvent(y,!1,!0),S.initialTarget=C,S.tapCount=0,S}dispatchEvent(y){if(y.type===h.Tap){let C=new Date().getTime(),S=0;S=C-this._lastSetTapCountTime>W.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=C,y.tapCount=S}else y.type!==h.Change&&y.type!==h.Contextmenu||(this._lastSetTapCountTime=0);for(let C=0;C<this.ignoreTargets.length;C++)if(y.initialTarget instanceof Node&&this.ignoreTargets[C].contains(y.initialTarget))return;this.targets.forEach(C=>{y.initialTarget instanceof Node&&C.contains(y.initialTarget)&&(C.dispatchEvent(y),this.dispatched=!0)})}inertia(y,C,S,P,V,k,l,T){this.handle=H.Y(()=>{let N=Date.now(),b=N-C,g=0,j=0,ie=!0;S+=W.SCROLL_FRICTION*b,k+=W.SCROLL_FRICTION*b,S>0&&(ie=!1,g=P*S*b),k>0&&(ie=!1,j=l*k*b);let U=this.newGestureEvent(h.Change);U.translationX=g,U.translationY=j,y.forEach(q=>q.dispatchEvent(U)),ie||this.inertia(y,N,S,P,V+g,k,l,T+j)})}onTouchMove(y){let C=Date.now();for(let S=0,P=y.changedTouches.length;S<P;S++){let V=y.changedTouches.item(S);if(!this.activeTouches.hasOwnProperty(String(V.identifier))){console.warn("end of an UNKNOWN touch",V);continue}let k=this.activeTouches[V.identifier],l=this.newGestureEvent(h.Change,k.initialTarget);l.translationX=V.pageX-f.t(k.rollingPageX),l.translationY=V.pageY-f.t(k.rollingPageY),l.pageX=V.pageX,l.pageY=V.pageY,this.dispatchEvent(l),k.rollingPageX.length>3&&(k.rollingPageX.shift(),k.rollingPageY.shift(),k.rollingTimestamps.shift()),k.rollingPageX.push(V.pageX),k.rollingPageY.push(V.pageY),k.rollingTimestamps.push(C)}this.dispatched&&(y.preventDefault(),y.stopPropagation(),this.dispatched=!1)}}W.SCROLL_FRICTION=-.005,W.HOLD_DELAY=700,W.CLEAR_TAP_COUNT_TIME=400,ge([E.a],W,"isTouchDevice",null)},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"c",function(){return D}),o.d(w,"e",function(){return H}),o.d(w,"d",function(){return E}),o.d(w,"b",function(){return ge});var h=o(21);class f{constructor(Q,y,C=!1){this._range=Q,this._text=y,this.insertsAutoWhitespace=C}getEditOperations(Q,y){y.addTrackedEditOperation(this._range,this._text)}computeCursorState(Q,y){let C=y.getInverseEditOperations()[0].range;return new h.a(C.endLineNumber,C.endColumn,C.endLineNumber,C.endColumn)}}class D{constructor(Q,y){this._range=Q,this._text=y}getEditOperations(Q,y){y.addTrackedEditOperation(this._range,this._text)}computeCursorState(Q,y){let C=y.getInverseEditOperations()[0].range;return new h.a(C.startLineNumber,C.startColumn,C.endLineNumber,C.endColumn)}}class H{constructor(Q,y,C=!1){this._range=Q,this._text=y,this.insertsAutoWhitespace=C}getEditOperations(Q,y){y.addTrackedEditOperation(this._range,this._text)}computeCursorState(Q,y){let C=y.getInverseEditOperations()[0].range;return new h.a(C.startLineNumber,C.startColumn,C.startLineNumber,C.startColumn)}}class E{constructor(Q,y,C,S,P=!1){this._range=Q,this._text=y,this._columnDeltaOffset=S,this._lineNumberDeltaOffset=C,this.insertsAutoWhitespace=P}getEditOperations(Q,y){y.addTrackedEditOperation(this._range,this._text)}computeCursorState(Q,y){let C=y.getInverseEditOperations()[0].range;return new h.a(C.endLineNumber+this._lineNumberDeltaOffset,C.endColumn+this._columnDeltaOffset,C.endLineNumber+this._lineNumberDeltaOffset,C.endColumn+this._columnDeltaOffset)}}class ge{constructor(Q,y,C,S=!1){this._range=Q,this._text=y,this._initialSelection=C,this._forceMoveMarkers=S,this._selectionId=null}getEditOperations(Q,y){y.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=y.trackSelection(this._initialSelection)}computeCursorState(Q,y){return y.getTrackedSelection(this._selectionId)}}},function(Ie,w,o){"use strict";o.d(w,"c",function(){return h}),o.d(w,"a",function(){return f}),o.d(w,"b",function(){return ge});var h,f,D=o(18),H=o(0),E=o(68);(function(W){W[W.Hint=1]="Hint",W[W.Info=2]="Info",W[W.Warning=4]="Warning",W[W.Error=8]="Error"})(h||(h={})),function(W){W.compare=function(y,C){return C-y};let Q=Object.create(null);Q[W.Error]=Object(H.a)("sev.error","Error"),Q[W.Warning]=Object(H.a)("sev.warning","Warning"),Q[W.Info]=Object(H.a)("sev.info","Info"),W.toString=function(y){return Q[y]||""},W.fromSeverity=function(y){switch(y){case E.a.Error:return W.Error;case E.a.Warning:return W.Warning;case E.a.Info:return W.Info;case E.a.Ignore:return W.Hint}},W.toSeverity=function(y){switch(y){case W.Error:return E.a.Error;case W.Warning:return E.a.Warning;case W.Info:return E.a.Info;case W.Hint:return E.a.Ignore}}}(h||(h={})),function(W){function Q(y,C){let S=[""];return y.source?S.push(y.source.replace("\xA6","\\\xA6")):S.push(""),y.code?typeof y.code=="string"?S.push(y.code.replace("\xA6","\\\xA6")):S.push(y.code.value.replace("\xA6","\\\xA6")):S.push(""),y.severity!==void 0&&y.severity!==null?S.push(h.toString(y.severity)):S.push(""),y.message&&C?S.push(y.message.replace("\xA6","\\\xA6")):S.push(""),y.startLineNumber!==void 0&&y.startLineNumber!==null?S.push(y.startLineNumber.toString()):S.push(""),y.startColumn!==void 0&&y.startColumn!==null?S.push(y.startColumn.toString()):S.push(""),y.endLineNumber!==void 0&&y.endLineNumber!==null?S.push(y.endLineNumber.toString()):S.push(""),y.endColumn!==void 0&&y.endColumn!==null?S.push(y.endColumn.toString()):S.push(""),S.push(""),S.join("\xA6")}W.makeKey=function(y){return Q(y,!0)},W.makeKeyOptionalMessage=Q}(f||(f={}));let ge=Object(D.c)("markerService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});var h=o(18);let f=Object(h.c)("modelService");function D(H){return!H.isTooLargeForSyncing()&&!H.isForSimpleWidget}},function(Ie,w,o){"use strict";function h(T,N){N===void 0&&(N=!1);var b=T.length,g=0,j="",ie=0,U=16,q=0,B=0,se=0,ke=0,xe=0;function Y(he,Ce){for(var Ae=0,L=0;Ae<he||!Ce;){var nt=T.charCodeAt(g);if(nt>=48&&nt<=57)L=16*L+nt-48;else if(nt>=65&&nt<=70)L=16*L+nt-65+10;else{if(!(nt>=97&&nt<=102))break;L=16*L+nt-97+10}g++,Ae++}return Ae<he&&(L=-1),L}function Z(){if(j="",xe=0,ie=g,B=q,ke=se,g>=b)return ie=b,U=17;var he=T.charCodeAt(g);if(f(he)){do g++,j+=String.fromCharCode(he),he=T.charCodeAt(g);while(f(he));return U=15}if(D(he))return g++,j+=String.fromCharCode(he),he===13&&T.charCodeAt(g)===10&&(g++,j+=` +`),q++,se=g,U=14;switch(he){case 123:return g++,U=1;case 125:return g++,U=2;case 91:return g++,U=3;case 93:return g++,U=4;case 58:return g++,U=6;case 44:return g++,U=5;case 34:return g++,j=function(){for(var ct="",Ye=g;;){if(g>=b){ct+=T.substring(Ye,g),xe=2;break}var ht=T.charCodeAt(g);if(ht===34){ct+=T.substring(Ye,g),g++;break}if(ht!==92){if(ht>=0&&ht<=31){if(D(ht)){ct+=T.substring(Ye,g),xe=2;break}xe=6}g++}else{if(ct+=T.substring(Ye,g),++g>=b){xe=2;break}switch(T.charCodeAt(g++)){case 34:ct+='"';break;case 92:ct+="\\";break;case 47:ct+="/";break;case 98:ct+="\b";break;case 102:ct+="\f";break;case 110:ct+=` +`;break;case 114:ct+="\r";break;case 116:ct+=" ";break;case 117:var fe=Y(4,!0);fe>=0?ct+=String.fromCharCode(fe):xe=4;break;default:xe=5}Ye=g}}return ct}(),U=10;case 47:var Ce=g-1;if(T.charCodeAt(g+1)===47){for(g+=2;g<b&&!D(T.charCodeAt(g));)g++;return j=T.substring(Ce,g),U=12}if(T.charCodeAt(g+1)===42){g+=2;for(var Ae=b-1,L=!1;g<Ae;){var nt=T.charCodeAt(g);if(nt===42&&T.charCodeAt(g+1)===47){g+=2,L=!0;break}g++,D(nt)&&(nt===13&&T.charCodeAt(g)===10&&g++,q++,se=g)}return L||(g++,xe=1),j=T.substring(Ce,g),U=13}return j+=String.fromCharCode(he),g++,U=16;case 45:if(j+=String.fromCharCode(he),++g===b||!H(T.charCodeAt(g)))return U=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return j+=function(){var ct=g;if(T.charCodeAt(g)===48)g++;else for(g++;g<T.length&&H(T.charCodeAt(g));)g++;if(g<T.length&&T.charCodeAt(g)===46){if(!(++g<T.length&&H(T.charCodeAt(g))))return xe=3,T.substring(ct,g);for(g++;g<T.length&&H(T.charCodeAt(g));)g++}var Ye=g;if(g<T.length&&(T.charCodeAt(g)===69||T.charCodeAt(g)===101))if((++g<T.length&&T.charCodeAt(g)===43||T.charCodeAt(g)===45)&&g++,g<T.length&&H(T.charCodeAt(g))){for(g++;g<T.length&&H(T.charCodeAt(g));)g++;Ye=g}else xe=3;return T.substring(ct,Ye)}(),U=11;default:for(;g<b&&te(he);)g++,he=T.charCodeAt(g);if(ie!==g){switch(j=T.substring(ie,g)){case"true":return U=8;case"false":return U=9;case"null":return U=7}return U=16}return j+=String.fromCharCode(he),g++,U=16}}function te(he){if(f(he)||D(he))return!1;switch(he){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(he){g=he,j="",ie=0,U=16,xe=0},getPosition:function(){return g},scan:N?function(){var he;do he=Z();while(he>=12&&he<=15);return he}:Z,getToken:function(){return U},getTokenValue:function(){return j},getTokenOffset:function(){return ie},getTokenLength:function(){return g-ie},getTokenStartLine:function(){return B},getTokenStartCharacter:function(){return ie-ke},getTokenError:function(){return xe}}}function f(T){return T===32||T===9||T===11||T===12||T===160||T===5760||T>=8192&&T<=8203||T===8239||T===8287||T===12288||T===65279}function D(T){return T===10||T===13||T===8232||T===8233}function H(T){return T>=48&&T<=57}function E(T,N,b){var g,j,ie,U,q;if(N){for(U=N.offset,q=U+N.length,ie=U;ie>0&&!W(T,ie-1);)ie--;for(var B=q;B<T.length&&!W(T,B);)B++;j=T.substring(ie,B),g=function($,G){for(var z=0,J=0,Se=G.tabSize||4;z<$.length;){var A=$.charAt(z);if(A===" ")J++;else{if(A!==" ")break;J+=Se}z++}return Math.floor(J/Se)}(j,b)}else j=T,g=0,ie=0,U=0,q=T.length;var se,ke=function($,G){for(var z=0;z<G.length;z++){var J=G.charAt(z);if(J==="\r")return z+1<G.length&&G.charAt(z+1)===` +`?`\r +`:"\r";if(J===` +`)return` +`}return $&&$.eol||` +`}(b,T),xe=!1,Y=0;se=b.insertSpaces?ge(" ",b.tabSize||4):" ";var Z=h(j,!1),te=!1;function he(){return ke+ge(se,g+Y)}function Ce(){var $=Z.scan();for(xe=!1;$===15||$===14;)xe=xe||$===14,$=Z.scan();return te=$===16||Z.getTokenError()!==0,$}var Ae=[];function L($,G,z){!te&&G<q&&z>U&&T.substring(G,z)!==$&&Ae.push({offset:G,length:z-G,content:$})}var nt=Ce();if(nt!==17){var ct=Z.getTokenOffset()+ie;L(ge(se,g),ie,ct)}for(;nt!==17;){for(var Ye=Z.getTokenOffset()+Z.getTokenLength()+ie,ht=Ce(),fe="";!xe&&(ht===12||ht===13);)L(" ",Ye,Z.getTokenOffset()+ie),Ye=Z.getTokenOffset()+Z.getTokenLength()+ie,fe=ht===12?he():"",ht=Ce();if(ht===2)nt!==1&&(Y--,fe=he());else if(ht===4)nt!==3&&(Y--,fe=he());else{switch(nt){case 3:case 1:Y++,fe=he();break;case 5:case 12:fe=he();break;case 13:fe=xe?he():" ";break;case 6:fe=" ";break;case 10:if(ht===6){fe="";break}case 7:case 8:case 9:case 11:case 2:case 4:ht===12||ht===13?fe=" ":ht!==5&&ht!==17&&(te=!0);break;case 16:te=!0}!xe||ht!==12&&ht!==13||(fe=he())}L(fe,Ye,Z.getTokenOffset()+ie),nt=ht}return Ae}function ge(T,N){for(var b="",g=0;g<N;g++)b+=T;return b}function W(T,N){return`\r +`.indexOf(T.charAt(N))!==-1}var Q;function y(T,N,b){b===void 0&&(b=Q.DEFAULT);var g=h(T,!1);function j(Ye){return Ye?function(){return Ye(g.getTokenOffset(),g.getTokenLength(),g.getTokenStartLine(),g.getTokenStartCharacter())}:function(){return!0}}function ie(Ye){return Ye?function(ht){return Ye(ht,g.getTokenOffset(),g.getTokenLength(),g.getTokenStartLine(),g.getTokenStartCharacter())}:function(){return!0}}var U=j(N.onObjectBegin),q=ie(N.onObjectProperty),B=j(N.onObjectEnd),se=j(N.onArrayBegin),ke=j(N.onArrayEnd),xe=ie(N.onLiteralValue),Y=ie(N.onSeparator),Z=j(N.onComment),te=ie(N.onError),he=b&&b.disallowComments,Ce=b&&b.allowTrailingComma;function Ae(){for(;;){var Ye=g.scan();switch(g.getTokenError()){case 4:L(14);break;case 5:L(15);break;case 3:L(13);break;case 1:he||L(11);break;case 2:L(12);break;case 6:L(16)}switch(Ye){case 12:case 13:he?L(10):Z();break;case 16:L(1);break;case 15:case 14:break;default:return Ye}}}function L(Ye,ht,fe){if(ht===void 0&&(ht=[]),fe===void 0&&(fe=[]),te(Ye),ht.length+fe.length>0)for(var $=g.getToken();$!==17;){if(ht.indexOf($)!==-1){Ae();break}if(fe.indexOf($)!==-1)break;$=Ae()}}function nt(Ye){var ht=g.getTokenValue();return Ye?xe(ht):q(ht),Ae(),!0}function ct(){switch(g.getToken()){case 3:return function(){se(),Ae();for(var Ye=!1;g.getToken()!==4&&g.getToken()!==17;){if(g.getToken()===5){if(Ye||L(4,[],[]),Y(","),Ae(),g.getToken()===4&&Ce)break}else Ye&&L(6,[],[]);ct()||L(4,[],[4,5]),Ye=!0}return ke(),g.getToken()!==4?L(8,[4],[]):Ae(),!0}();case 1:return function(){U(),Ae();for(var Ye=!1;g.getToken()!==2&&g.getToken()!==17;){if(g.getToken()===5){if(Ye||L(4,[],[]),Y(","),Ae(),g.getToken()===2&&Ce)break}else Ye&&L(6,[],[]);(g.getToken()!==10?(L(3,[],[2,5]),0):(nt(!1),g.getToken()===6?(Y(":"),Ae(),ct()||L(4,[],[2,5])):L(5,[],[2,5]),1))||L(4,[],[2,5]),Ye=!0}return B(),g.getToken()!==2?L(7,[2],[]):Ae(),!0}();case 10:return nt(!0);default:return function(){switch(g.getToken()){case 11:var Ye=0;try{typeof(Ye=JSON.parse(g.getTokenValue()))!="number"&&(L(2),Ye=0)}catch(ht){L(2)}xe(Ye);break;case 7:xe(null);break;case 8:xe(!0);break;case 9:xe(!1);break;default:return!1}return Ae(),!0}()}}return Ae(),g.getToken()===17?!!b.allowEmptyContent||(L(4,[],[]),!1):ct()?(g.getToken()!==17&&L(9,[],[]),!0):(L(4,[],[]),!1)}o.d(w,"a",function(){return C}),o.d(w,"f",function(){return S}),o.d(w,"b",function(){return P}),o.d(w,"d",function(){return V}),o.d(w,"e",function(){return k}),o.d(w,"c",function(){return l}),function(T){T.DEFAULT={allowTrailingComma:!1}}(Q||(Q={}));var C=h,S=function(T,N,b){N===void 0&&(N=[]),b===void 0&&(b=Q.DEFAULT);var g=null,j=[],ie=[];function U(q){Array.isArray(j)?j.push(q):g!==null&&(j[g]=q)}return y(T,{onObjectBegin:function(){var q={};U(q),ie.push(j),j=q,g=null},onObjectProperty:function(q){g=q},onObjectEnd:function(){j=ie.pop()},onArrayBegin:function(){var q=[];U(q),ie.push(j),j=q,g=null},onArrayEnd:function(){j=ie.pop()},onLiteralValue:U,onError:function(q,B,se){N.push({error:q,offset:B,length:se})}},b),j[0]},P=function T(N,b,g){if(g===void 0&&(g=!1),function(q,B,se){return se===void 0&&(se=!1),B>=q.offset&&B<q.offset+q.length||se&&B===q.offset+q.length}(N,b,g)){var j=N.children;if(Array.isArray(j))for(var ie=0;ie<j.length&&j[ie].offset<=b;ie++){var U=T(j[ie],b,g);if(U)return U}return N}},V=function T(N){if(!N.parent||!N.parent.children)return[];var b=T(N.parent);if(N.parent.type==="property"){var g=N.parent.children[0].value;b.push(g)}else if(N.parent.type==="array"){var j=N.parent.children.indexOf(N);j!==-1&&b.push(j)}return b},k=function T(N){switch(N.type){case"array":return N.children.map(T);case"object":for(var b=Object.create(null),g=0,j=N.children;g<j.length;g++){var ie=j[g],U=ie.children[1];U&&(b[ie.children[0].value]=T(U))}return b;case"null":case"string":case"number":case"boolean":return N.value;default:return}};function l(T,N,b){return E(T,N,b)}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return Q}),o.d(w,"a",function(){return y}),o.d(w,"c",function(){return C}),o(206);var h=o(11),f=o(1);let D,H,E,ge,W;function Q(P){D=document.createElement("div"),D.className="monaco-aria-container";let V=()=>{let l=document.createElement("div");return l.className="monaco-alert",l.setAttribute("role","alert"),l.setAttribute("aria-atomic","true"),D.appendChild(l),l};H=V(),E=V();let k=()=>{let l=document.createElement("div");return l.className="monaco-status",l.setAttribute("role","complementary"),l.setAttribute("aria-live","polite"),l.setAttribute("aria-atomic","true"),D.appendChild(l),l};ge=k(),W=k(),P.appendChild(D)}function y(P){D&&(H.textContent!==P?(f.s(E),S(H,P)):(f.s(H),S(E,P)))}function C(P){D&&(h.f?y(P):ge.textContent!==P?(f.s(W),S(ge,P)):(f.s(ge),S(W,P)))}function S(P,V){f.s(P),V.length>2e4&&(V=V.substr(0,2e4)),P.textContent=V,P.style.visibility="hidden",P.style.visibility="visible"}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Q});var h=o(34),f=o(43),D=o(11);let H=new Array(230),E=new Array(112);(function(){for(let C=0;C<E.length;C++)E[C]=-1;function y(C,S){H[C]=S,E[S]=C}y(3,7),y(8,1),y(9,2),y(13,3),y(16,4),y(17,5),y(18,6),y(19,7),y(20,8),y(27,9),y(32,10),y(33,11),y(34,12),y(35,13),y(36,14),y(37,15),y(38,16),y(39,17),y(40,18),y(45,19),y(46,20),y(48,21),y(49,22),y(50,23),y(51,24),y(52,25),y(53,26),y(54,27),y(55,28),y(56,29),y(57,30),y(65,31),y(66,32),y(67,33),y(68,34),y(69,35),y(70,36),y(71,37),y(72,38),y(73,39),y(74,40),y(75,41),y(76,42),y(77,43),y(78,44),y(79,45),y(80,46),y(81,47),y(82,48),y(83,49),y(84,50),y(85,51),y(86,52),y(87,53),y(88,54),y(89,55),y(90,56),y(93,58),y(96,93),y(97,94),y(98,95),y(99,96),y(100,97),y(101,98),y(102,99),y(103,100),y(104,101),y(105,102),y(106,103),y(107,104),y(108,105),y(109,106),y(110,107),y(111,108),y(112,59),y(113,60),y(114,61),y(115,62),y(116,63),y(117,64),y(118,65),y(119,66),y(120,67),y(121,68),y(122,69),y(123,70),y(124,71),y(125,72),y(126,73),y(127,74),y(128,75),y(129,76),y(130,77),y(144,78),y(145,79),y(186,80),y(187,81),y(188,82),y(189,83),y(190,84),y(191,85),y(192,86),y(193,110),y(194,111),y(219,87),y(220,88),y(221,89),y(222,90),y(223,91),y(226,92),y(229,109),h.h?(y(59,80),y(107,81),y(109,83),D.f&&y(224,57)):h.l&&(y(91,57),D.f?y(93,57):y(92,57))})();let ge=D.f?256:2048,W=D.f?2048:256;class Q{constructor(C){this._standardKeyboardEventBrand=!0;let S=C;this.browserEvent=S,this.target=S.target,this.ctrlKey=S.ctrlKey,this.shiftKey=S.shiftKey,this.altKey=S.altKey,this.metaKey=S.metaKey,this.keyCode=function(P){if(P.charCode){let V=String.fromCharCode(P.charCode).toUpperCase();return f.b.fromString(V)}return H[P.keyCode]||0}(S),this.code=S.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(C){return this._asKeybinding===C}_computeKeybinding(){let C=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(C=this.keyCode);let S=0;return this.ctrlKey&&(S|=ge),this.altKey&&(S|=512),this.shiftKey&&(S|=1024),this.metaKey&&(S|=W),S|=C,S}_computeRuntimeKeybinding(){let C=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(C=this.keyCode),new f.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,C)}}},function(Ie,w,o){"use strict";var h,f=o(8);(function(D){D[D.Ignore=0]="Ignore",D[D.Info=1]="Info",D[D.Warning=2]="Warning",D[D.Error=3]="Error"})(h||(h={})),function(D){D.fromValue=function(H){return H?f.t("error",H)?D.Error:f.t("warning",H)||f.t("warn",H)?D.Warning:f.t("info",H)?D.Info:D.Ignore:D.Ignore}}(h||(h={})),w.a=h},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E});var h=o(34),f=o(177),D=o(11);class H{constructor(W){this.timestamp=Date.now(),this.browserEvent=W,this.leftButton=W.button===0,this.middleButton=W.button===1,this.rightButton=W.button===2,this.buttons=W.buttons,this.target=W.target,this.detail=W.detail||1,W.type==="dblclick"&&(this.detail=2),this.ctrlKey=W.ctrlKey,this.shiftKey=W.shiftKey,this.altKey=W.altKey,this.metaKey=W.metaKey,typeof W.pageX=="number"?(this.posx=W.pageX,this.posy=W.pageY):(this.posx=W.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=W.clientY+document.body.scrollTop+document.documentElement.scrollTop);let Q=f.a.getPositionOfChildWindowRelativeToAncestorWindow(self,W.view);this.posx-=Q.left,this.posy-=Q.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class E{constructor(W,Q=0,y=0){if(this.browserEvent=W||null,this.target=W?W.target||W.targetNode||W.srcElement:null,this.deltaY=y,this.deltaX=Q,W){let C=W,S=W;if(C.wheelDeltaY!==void 0)this.deltaY=C.wheelDeltaY/120;else if(S.VERTICAL_AXIS!==void 0&&S.axis===S.VERTICAL_AXIS)this.deltaY=-S.detail/3;else if(W.type==="wheel"){let P=W;P.deltaMode===P.DOM_DELTA_LINE?h.h&&!D.f?this.deltaY=-W.deltaY/3:this.deltaY=-W.deltaY:this.deltaY=-W.deltaY/40}if(C.wheelDeltaX!==void 0)h.j&&D.i?this.deltaX=-C.wheelDeltaX/120:this.deltaX=C.wheelDeltaX/120;else if(S.HORIZONTAL_AXIS!==void 0&&S.axis===S.HORIZONTAL_AXIS)this.deltaX=-W.detail/3;else if(W.type==="wheel"){let P=W;P.deltaMode===P.DOM_DELTA_LINE?h.h&&!D.f?this.deltaX=-W.deltaX/3:this.deltaX=-W.deltaX:this.deltaX=-W.deltaX/40}this.deltaY===0&&this.deltaX===0&&W.wheelDelta&&(this.deltaY=W.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(3);class f{static insert(H,E){return{range:new h.a(H.lineNumber,H.column,H.lineNumber,H.column),text:E,forceMoveMarkers:!0}}static delete(H){return{range:H,text:null}}static replace(H,E){return{range:H,text:E}}static replaceMove(H,E){return{range:H,text:E,forceMoveMarkers:!0}}}},function(Ie,w,o){"use strict";o.d(w,"j",function(){return D}),o.d(w,"h",function(){return H}),o.d(w,"f",function(){return E}),o.d(w,"i",function(){return N}),o.d(w,"g",function(){return q}),o.d(w,"b",function(){return B}),o.d(w,"c",function(){return se}),o.d(w,"a",function(){return Ae}),o.d(w,"d",function(){return L}),o.d(w,"e",function(){return G});var h=o(78),f=o(8);function D(...J){return function(Se,A){for(let ee=0,de=J.length;ee<de;ee++){let Oe=J[ee](Se,A);if(Oe)return Oe}return null}}let H=function(J,Se,A){if(!A||A.length<Se.length)return null;let ee;return ee=J?f.T(A,Se):A.indexOf(Se)===0,ee?Se.length>0?[{start:0,end:Se.length}]:[]:null}.bind(void 0,!0);function E(J,Se){let A=Se.toLowerCase().indexOf(J.toLowerCase());return A===-1?null:[{start:A,end:A+J.length}]}function ge(J){return 97<=J&&J<=122}function W(J){return 65<=J&&J<=90}function Q(J){return 48<=J&&J<=57}function y(J){return J===32||J===9||J===10||J===13}let C=new Set;function S(J){return y(J)||C.has(J)}function P(J){return ge(J)||W(J)||Q(J)}function V(J,Se){return Se.length===0?Se=[J]:J.end===Se[0].start?Se[0].start=J.start:Se.unshift(J),Se}function k(J,Se){for(let A=Se;A<J.length;A++){let ee=J.charCodeAt(A);if(W(ee)||Q(ee)||A>0&&!P(J.charCodeAt(A-1)))return A}return J.length}function l(J,Se,A,ee){if(A===J.length)return[];if(ee===Se.length||J[A]!==Se[ee].toLowerCase())return null;{let de=null,Oe=ee+1;for(de=l(J,Se,A+1,ee+1);!de&&(Oe=k(Se,Oe))<Se.length;)de=l(J,Se,A+1,Oe),Oe++;return de===null?null:V({start:ee,end:ee+1},de)}}function T(J,Se){if(!Se||(Se=Se.trim()).length===0||!function(Oe){let $e=0,pt=0,it=0,At=0;for(let Nt=0;Nt<Oe.length;Nt++)it=Oe.charCodeAt(Nt),W(it)&&$e++,ge(it)&&pt++,y(it)&&At++;return $e!==0&&pt!==0||At!==0?$e<=5:Oe.length<=30}(J)||Se.length>60)return null;let A=function(Oe){let $e=0,pt=0,it=0,At=0,Nt=0;for(let _i=0;_i<Oe.length;_i++)Nt=Oe.charCodeAt(_i),W(Nt)&&$e++,ge(Nt)&&pt++,P(Nt)&&it++,Q(Nt)&&At++;return{upperPercent:$e/Oe.length,lowerPercent:pt/Oe.length,alphaPercent:it/Oe.length,numericPercent:At/Oe.length}}(Se);if(!function(Oe){let{upperPercent:$e,lowerPercent:pt,alphaPercent:it,numericPercent:At}=Oe;return pt>.2&&$e<.8&&it>.6&&At<.2}(A)){if(!function(Oe){let{upperPercent:$e,lowerPercent:pt}=Oe;return pt===0&&$e>.6}(A))return null;Se=Se.toLowerCase()}let ee=null,de=0;for(J=J.toLowerCase();de<Se.length&&(ee=l(J,Se,0,de))===null;)de=k(Se,de+1);return ee}function N(J,Se,A=!1){if(!Se||Se.length===0)return null;let ee=null,de=0;for(J=J.toLowerCase(),Se=Se.toLowerCase();de<Se.length&&(ee=b(J,Se,0,de,A))===null;)de=g(Se,de+1);return ee}function b(J,Se,A,ee,de){if(A===J.length)return[];if(ee===Se.length)return null;if(Oe=J.charCodeAt(A),$e=Se.charCodeAt(ee),Oe===$e||S(Oe)&&S($e)){let pt=null,it=ee+1;if(pt=b(J,Se,A+1,ee+1,de),!de)for(;!pt&&(it=g(Se,it))<Se.length;)pt=b(J,Se,A+1,it,de),it++;return pt===null?null:V({start:ee,end:ee+1},pt)}return null;var Oe,$e}function g(J,Se){for(let A=Se;A<J.length;A++)if(S(J.charCodeAt(A))||A>0&&S(J.charCodeAt(A-1)))return A;return J.length}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(J=>C.add(J.charCodeAt(0)));let j=D(H,T,E),ie=D(H,T,function(J,Se){return function A(ee,de,Oe,$e){if(Oe===ee.length)return[];if($e===de.length)return null;if(ee[Oe]===de[$e]){let pt=null;return(pt=A(ee,de,Oe+1,$e+1))?V({start:$e,end:$e+1},pt):null}return A(ee,de,Oe,$e+1)}(J.toLowerCase(),Se.toLowerCase(),0,0)}),U=new h.a(1e4);function q(J,Se,A=!1){if(typeof J!="string"||typeof Se!="string")return null;let ee=U.get(J);ee||(ee=new RegExp(f.p(J),"i"),U.set(J,ee));let de=ee.exec(Se);return de?[{start:de.index,end:de.index+de[0].length}]:A?ie(J,Se):j(J,Se)}function B(J,Se,A,ee,de,Oe){let $e=L(J,Se,0,ee,de,0,!0);if($e)return $e;let pt=0,it=0,At=Oe;for(let Nt=0;Nt<Se.length&&Nt<ke;++Nt){let _i=de.indexOf(Se.charAt(Nt),At);if(_i>=0)it+=1,pt+=Math.pow(2,_i),At=_i+1;else if(pt!==0)break}return[it,pt,Oe]}function se(J){if(J===void 0)return[];let Se=J[1].toString(2),A=[];for(let ee=J[2];ee<ke;ee++)if(Se[Se.length-(ee+1)]==="1"){let de=A[A.length-1];de&&de.end===ee?de.end=ee+1:A.push({start:ee,end:ee+1})}return A}let ke=128;function xe(){let J=[],Se=[0];for(let A=1;A<=ke;A++)Se.push(-A);for(let A=0;A<=ke;A++){let ee=Se.slice(0);ee[0]=-A,J.push(ee)}return J}let Y=xe(),Z=xe(),te=xe();function he(J,Se){if(Se<0||Se>=J.length)return!1;switch(J.charCodeAt(Se)){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function Ce(J,Se,A){return Se[J]!==A[J]}var Ae;function L(J,Se,A,ee,de,Oe,$e){let pt=J.length>ke?ke:J.length,it=ee.length>ke?ke:ee.length;if(A>=pt||Oe>=it||pt-A>it-Oe||!function(pi,et,Wt,Li,Ii,Ai){for(;et<Wt&&Ii<Ai;)pi[et]===Li[Ii]&&(et+=1),Ii+=1;return et===Wt}(Se,A,pt,de,Oe,it))return;let At=1,Nt=1,_i=A,wt=Oe,Ni=!1;for(At=1,_i=A;_i<pt;At++,_i++)for(Nt=1,wt=Oe;wt<it;Nt++,wt++){let pi=nt(J,Se,_i,A,ee,de,wt);_i===A&&pi>1&&(Ni=!0),Z[At][Nt]=pi;let et=Y[At-1][Nt-1]+(pi>1?1:pi),Wt=Y[At-1][Nt]+-1,Li=Y[At][Nt-1]+-1;Li>=Wt?Li>et?(Y[At][Nt]=Li,te[At][Nt]=4):Li===et?(Y[At][Nt]=Li,te[At][Nt]=6):(Y[At][Nt]=et,te[At][Nt]=2):Wt>et?(Y[At][Nt]=Wt,te[At][Nt]=1):Wt===et?(Y[At][Nt]=Wt,te[At][Nt]=3):(Y[At][Nt]=et,te[At][Nt]=2)}return(Ni||$e)&&(ct=0,ht=-100,fe=Oe,$=$e,function pi(et,Wt,Li,Ii,Ai){if(ct>=10||Li<-25)return;let Zi=0;for(;et>0&&Wt>0;){let Bi=Z[et][Wt],Lt=te[et][Wt];if(Lt===4)Wt-=1,Ai?Li-=5:Ii!==0&&(Li-=1),Ai=!1,Zi=0;else{if(!(2&Lt))return;if(4&Lt&&pi(et,Wt-1,Ii!==0?Li-1:Li,Ii,Ai),Li+=Bi,et-=1,Wt-=1,Ai=!0,Ii+=Math.pow(2,Wt+fe),Bi===1){if(Zi+=1,et===0&&!$)return}else Li+=1+Zi*(Bi-1),Zi=0}}ct+=1,(Li-=Wt>=3?9:3*Wt)>ht&&(ht=Li,Ye=Ii)}(At-1,Nt-1,pt===it?1:0,0,!1),ct!==0)?[ht,Ye,Oe]:void 0}function nt(J,Se,A,ee,de,Oe,$e){return Se[A]!==Oe[$e]?-1:$e===A-ee?J[A]===de[$e]?7:5:!Ce($e,de,Oe)||$e!==0&&Ce($e-1,de,Oe)?!he(Oe,$e)||$e!==0&&he(Oe,$e-1)?he(Oe,$e-1)||function(pt,it){if(it<0||it>=pt.length)return!1;switch(pt.charCodeAt(it)){case 32:case 9:return!0;default:return!1}}(Oe,$e-1)?5:1:5:J[A]===de[$e]?7:5}(function(J){J.Default=Object.freeze([-100,0,0]),J.isDefault=function(Se){return!Se||Se[0]===-100&&Se[1]===0&&Se[2]===0}})(Ae||(Ae={}));let ct=0,Ye=0,ht=0,fe=0,$=!1;function G(J,Se,A,ee,de,Oe,$e){return function(pt,it,At,Nt,_i,wt,Ni,pi){let et=L(pt,it,At,Nt,_i,wt,pi);if(et&&!Ni)return et;if(pt.length>=3){let Wt=Math.min(7,pt.length-1);for(let Li=At+1;Li<Wt;Li++){let Ii=z(pt,Li);if(Ii){let Ai=L(Ii,Ii.toLowerCase(),At,Nt,_i,wt,pi);Ai&&(Ai[0]-=3,(!et||Ai[0]>et[0])&&(et=Ai))}}}return et}(J,Se,A,ee,de,Oe,!0,$e)}function z(J,Se){if(Se+1>=J.length)return;let A=J[Se],ee=J[Se+1];return A!==ee?J.slice(0,Se)+ee+A+J.slice(Se+2):void 0}},function(Ie,w,o){"use strict";(function(h){o.d(w,"a",function(){return ge}),o.d(w,"b",function(){return W}),o.d(w,"e",function(){return Q}),o.d(w,"c",function(){return y}),o.d(w,"f",function(){return C}),o.d(w,"d",function(){return S}),o.d(w,"g",function(){return P});var f=o(8);let D=h!==void 0,H=typeof TextDecoder!="undefined",E;class ge{constructor(k){this.buffer=k,this.byteLength=this.buffer.byteLength}toString(){return D?this.buffer.toString():H?(E||(E=new TextDecoder),E.decode(this.buffer)):f.r(this.buffer)}}function W(V,k){return V[k+0]<<0>>>0|V[k+1]<<8>>>0}function Q(V,k,l){V[l+0]=255&k,k>>>=8,V[l+1]=255&k}function y(V,k){return V[k]*Math.pow(2,24)+V[k+1]*Math.pow(2,16)+V[k+2]*Math.pow(2,8)+V[k+3]}function C(V,k,l){V[l+3]=k,k>>>=8,V[l+2]=k,k>>>=8,V[l+1]=k,k>>>=8,V[l]=k}function S(V,k){return V[k]}function P(V,k,l){V[l]=k}}).call(this,o(202).Buffer)},function(Ie,w,o){"use strict";o.d(w,"b",function(){return h}),o.d(w,"a",function(){return f}),o.d(w,"c",function(){return D}),o.d(w,"d",function(){return E});let h="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",f=function(W=""){let Q="(-?\\d*\\.\\d\\w*)|([^";for(let y of h)W.indexOf(y)>=0||(Q+="\\"+y);return Q+="\\s]+)",new RegExp(Q,"g")}();function D(W){let Q=f;if(W&&W instanceof RegExp)if(W.global)Q=W;else{let y="g";W.ignoreCase&&(y+="i"),W.multiline&&(y+="m"),W.unicode&&(y+="u"),Q=new RegExp(W.source,y)}return Q.lastIndex=0,Q}let H={maxLen:1e3,windowSize:15,timeBudget:150};function E(W,Q,y,C,S=H){if(y.length>S.maxLen){let l=W-S.maxLen/2;return l<0?(C+=W,l=0):C+=l,E(W,Q,y=y.substring(l,W+S.maxLen/2),C,S)}Date.now();let P=W-1-C,V=-1,k=null;for(let l=1;;l++){Date.now(),S.timeBudget;let T=P-S.windowSize*l;Q.lastIndex=Math.max(0,T);let N=ge(Q,y,P,V);if(!N&&k||(k=N,T<=0))break;V=T}if(k){let l={word:k[0],startColumn:C+1+k.index,endColumn:C+1+k.index+k[0].length};return Q.lastIndex=0,l}return null}function ge(W,Q,y,C){let S;for(;S=W.exec(Q);){let P=S.index||0;if(P<=y&&W.lastIndex>=y)return S;if(C>0&&P>C)return null}return null}},function(Ie,w,o){"use strict";o.d(w,"f",function(){return f}),o.d(w,"b",function(){return D}),o.d(w,"c",function(){return H}),o.d(w,"d",function(){return E}),o.d(w,"a",function(){return ge}),o.d(w,"e",function(){return W});var h=o(8);class f{constructor(y,C,S,P){this.top=0|y,this.left=0|C,this.width=0|S,this.height=0|P}}class D{constructor(y,C){this.tabSize=y,this.data=C}}class H{constructor(y,C,S,P,V,k){this.content=y,this.continuesWithWrappedLine=C,this.minColumn=S,this.maxColumn=P,this.startVisibleColumn=V,this.tokens=k}}class E{constructor(y,C,S,P,V,k,l,T,N,b){this.minColumn=y,this.maxColumn=C,this.content=S,this.continuesWithWrappedLine=P,this.isBasicASCII=E.isBasicASCII(S,k),this.containsRTL=E.containsRTL(S,this.isBasicASCII,V),this.tokens=l,this.inlineDecorations=T,this.tabSize=N,this.startVisibleColumn=b}static isBasicASCII(y,C){return!C||h.B(y)}static containsRTL(y,C,S){return!(C||!S)&&h.m(y)}}class ge{constructor(y,C,S){this.range=y,this.inlineClassName=C,this.type=S}}class W{constructor(y,C){this.range=y,this.options=C}}},function(Ie,w,o){"use strict";var h;o.d(w,"a",function(){return h}),o.d(w,"b",function(){return f}),function(D){D[D.None=0]="None",D[D.Indent=1]="Indent",D[D.IndentOutdent=2]="IndentOutdent",D[D.Outdent=3]="Outdent"}(h||(h={}));class f{constructor(H){if(this.open=H.open,this.close=H.close,this._standardTokenMask=0,Array.isArray(H.notIn))for(let E=0,ge=H.notIn.length;E<ge;E++)switch(H.notIn[E]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}isOK(H){return(this._standardTokenMask&H)==0}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});var h=o(36);class f{constructor(E){let ge=Object(h.b)(E);this._defaultValue=ge,this._asciiMap=f._createAsciiMap(ge),this._map=new Map}static _createAsciiMap(E){let ge=new Uint8Array(256);for(let W=0;W<256;W++)ge[W]=E;return ge}set(E,ge){let W=Object(h.b)(ge);E>=0&&E<256?this._asciiMap[E]=W:this._map.set(E,W)}get(E){return E>=0&&E<256?this._asciiMap[E]:this._map.get(E)||this._defaultValue}}class D{constructor(){this._actual=new f(0)}add(E){this._actual.set(E,1)}has(E){return this._actual.get(E)===1}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o.d(w,"b",function(){return f}),o.d(w,"c",function(){return D});class h{constructor(E,ge,W){this.offset=0|E,this.type=ge,this.language=W}toString(){return"("+this.offset+", "+this.type+")"}}class f{constructor(E,ge){this.tokens=E,this.endState=ge}}class D{constructor(E,ge){this.tokens=E,this.endState=ge}}},function(Ie,w,o){"use strict";o.d(w,"c",function(){return y}),o.d(w,"b",function(){return C}),o.d(w,"a",function(){return P});var h=o(23),f=o(8),D=o(45),H=o(11);class E{constructor(){this._value="",this._pos=0}reset(k){return this._value=k,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(k){return k.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}class ge{constructor(k=!0,l=!0){this._splitOnBackslash=k,this._caseSensitive=l}reset(k){return this._value=k.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let k=!0;for(;this._to<this._value.length;this._to++){let l=this._value.charCodeAt(this._to);if(l===47||this._splitOnBackslash&&l===92){if(!k)break;this._from++}else k=!1}return this}cmp(k){return this._caseSensitive?Object(f.h)(k,this._value,0,k.length,this._from,this._to):Object(f.i)(k,this._value,0,k.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class W{constructor(){this._states=[],this._stateIdx=0}reset(k){if(this._value=k,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path){let l=k.scheme===D.b.file&&H.d;this._pathIterator=new ge(!1,l),this._pathIterator.reset(k.path),this._pathIterator.value()&&this._states.push(3)}return this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(k){if(this._states[this._stateIdx]===1)return Object(f.f)(k,this._value.scheme);if(this._states[this._stateIdx]===2)return Object(f.i)(k,this._value.authority);if(this._states[this._stateIdx]===3)return this._pathIterator.cmp(k);if(this._states[this._stateIdx]===4)return Object(f.f)(k,this._value.query);if(this._states[this._stateIdx]===5)return Object(f.f)(k,this._value.fragment);throw new Error}value(){if(this._states[this._stateIdx]===1)return this._value.scheme;if(this._states[this._stateIdx]===2)return this._value.authority;if(this._states[this._stateIdx]===3)return this._pathIterator.value();if(this._states[this._stateIdx]===4)return this._value.query;if(this._states[this._stateIdx]===5)return this._value.fragment;throw new Error}}class Q{}class y{constructor(k){this._iter=k}static forUris(){return new y(new W)}static forStrings(){return new y(new E)}clear(){this._root=void 0}set(k,l){let T=this._iter.reset(k),N;for(this._root||(this._root=new Q,this._root.segment=T.value()),N=this._root;;){let g=T.cmp(N.segment);if(g>0)N.left||(N.left=new Q,N.left.segment=T.value()),N=N.left;else if(g<0)N.right||(N.right=new Q,N.right.segment=T.value()),N=N.right;else{if(!T.hasNext())break;T.next(),N.mid||(N.mid=new Q,N.mid.segment=T.value()),N=N.mid}}let b=N.value;return N.value=l,N.key=k,b}get(k){let l=this._iter.reset(k),T=this._root;for(;T;){let N=l.cmp(T.segment);if(N>0)T=T.left;else if(N<0)T=T.right;else{if(!l.hasNext())break;l.next(),T=T.mid}}return T?T.value:void 0}findSubstr(k){let l=this._iter.reset(k),T=this._root,N;for(;T;){let b=l.cmp(T.segment);if(b>0)T=T.left;else if(b<0)T=T.right;else{if(!l.hasNext())break;l.next(),N=T.value||N,T=T.mid}}return T&&T.value||N}forEach(k){this._forEach(this._root,k)}_forEach(k,l){k&&(this._forEach(k.left,l),k.value&&l(k.value,k.key),this._forEach(k.mid,l),this._forEach(k.right,l))}}class C{constructor(k,l){this[Symbol.toStringTag]="ResourceMap",k instanceof C?(this.map=new Map(k.map),this.toKey=l??C.defaultToKey):(this.map=new Map,this.toKey=k??C.defaultToKey)}set(k,l){return this.map.set(this.toKey(k),l),this}get(k){return this.map.get(this.toKey(k))}has(k){return this.map.has(this.toKey(k))}get size(){return this.map.size}clear(){this.map.clear()}delete(k){return this.map.delete(this.toKey(k))}forEach(k,l){l!==void 0&&(k=k.bind(l));for(let[T,N]of this.map)k(N,h.a.parse(T),this)}values(){return this.map.values()}*keys(){for(let k of this.map.keys())yield h.a.parse(k)}*entries(){for(let k of this.map.entries())yield[h.a.parse(k[0]),k[1]]}*[Symbol.iterator](){for(let k of this.map)yield[h.a.parse(k[0]),k[1]]}}C.defaultToKey=V=>V.toString();class S{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var k;return(k=this._head)===null||k===void 0?void 0:k.value}get last(){var k;return(k=this._tail)===null||k===void 0?void 0:k.value}has(k){return this._map.has(k)}get(k,l=0){let T=this._map.get(k);if(T)return l!==0&&this.touch(T,l),T.value}set(k,l,T=0){let N=this._map.get(k);if(N)N.value=l,T!==0&&this.touch(N,T);else{switch(N={key:k,value:l,next:void 0,previous:void 0},T){case 0:this.addItemLast(N);break;case 1:this.addItemFirst(N);break;case 2:default:this.addItemLast(N)}this._map.set(k,N),this._size++}return this}delete(k){return!!this.remove(k)}remove(k){let l=this._map.get(k);if(l)return this._map.delete(k),this.removeItem(l),this._size--,l.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let k=this._head;return this._map.delete(k.key),this.removeItem(k),this._size--,k.value}forEach(k,l){let T=this._state,N=this._head;for(;N;){if(l?k.bind(l)(N.value,N.key,this):k(N.value,N.key,this),this._state!==T)throw new Error("LinkedMap got modified during iteration.");N=N.next}}keys(){let k=this,l=this._state,T=this._head,N={[Symbol.iterator]:()=>N,next(){if(k._state!==l)throw new Error("LinkedMap got modified during iteration.");if(T){let b={value:T.key,done:!1};return T=T.next,b}return{value:void 0,done:!0}}};return N}values(){let k=this,l=this._state,T=this._head,N={[Symbol.iterator]:()=>N,next(){if(k._state!==l)throw new Error("LinkedMap got modified during iteration.");if(T){let b={value:T.value,done:!1};return T=T.next,b}return{value:void 0,done:!0}}};return N}entries(){let k=this,l=this._state,T=this._head,N={[Symbol.iterator]:()=>N,next(){if(k._state!==l)throw new Error("LinkedMap got modified during iteration.");if(T){let b={value:[T.key,T.value],done:!1};return T=T.next,b}return{value:void 0,done:!0}}};return N}[Symbol.iterator](){return this.entries()}trimOld(k){if(k>=this.size)return;if(k===0)return void this.clear();let l=this._head,T=this.size;for(;l&&T>k;)this._map.delete(l.key),l=l.next,T--;this._head=l,this._size=T,l&&(l.previous=void 0),this._state++}addItemFirst(k){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");k.next=this._head,this._head.previous=k}else this._tail=k;this._head=k,this._state++}addItemLast(k){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");k.previous=this._tail,this._tail.next=k}else this._head=k;this._tail=k,this._state++}removeItem(k){if(k===this._head&&k===this._tail)this._head=void 0,this._tail=void 0;else if(k===this._head){if(!k.next)throw new Error("Invalid list");k.next.previous=void 0,this._head=k.next}else if(k===this._tail){if(!k.previous)throw new Error("Invalid list");k.previous.next=void 0,this._tail=k.previous}else{let l=k.next,T=k.previous;if(!l||!T)throw new Error("Invalid list");l.previous=T,T.next=l}k.next=void 0,k.previous=void 0,this._state++}touch(k,l){if(!this._head||!this._tail)throw new Error("Invalid list");if(l===1||l===2){if(l===1){if(k===this._head)return;let T=k.next,N=k.previous;k===this._tail?(N.next=void 0,this._tail=N):(T.previous=N,N.next=T),k.previous=void 0,k.next=this._head,this._head.previous=k,this._head=k,this._state++}else if(l===2){if(k===this._tail)return;let T=k.next,N=k.previous;k===this._head?(T.previous=void 0,this._head=T):(T.previous=N,N.next=T),k.next=void 0,k.previous=this._tail,this._tail.next=k,this._tail=k,this._state++}}}toJSON(){let k=[];return this.forEach((l,T)=>{k.push([T,l])}),k}fromJSON(k){this.clear();for(let[l,T]of k)this.set(l,T)}}class P extends S{constructor(k,l=1){super(),this._limit=k,this._ratio=Math.min(Math.max(0,l),1)}get limit(){return this._limit}set limit(k){this._limit=k,this.checkTrim()}get(k,l=2){return super.get(k,l)}peek(k){return super.get(k,0)}set(k,l){return super.set(k,l,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o.d(w,"b",function(){return W}),o.d(w,"c",function(){return Q});var h=o(23),f=o(18),D=o(2),H=o(8),E=function(y,C,S,P){return new(S||(S=Promise))(function(V,k){function l(b){try{N(P.next(b))}catch(g){k(g)}}function T(b){try{N(P.throw(b))}catch(g){k(g)}}function N(b){var g;b.done?V(b.value):(g=b.value,g instanceof S?g:new S(function(j){j(g)})).then(l,T)}N((P=P.apply(y,C||[])).next())})};let ge=Object(f.c)("openerService"),W=Object.freeze({_serviceBrand:void 0,registerOpener:()=>D.a.None,registerValidator:()=>D.a.None,registerExternalUriResolver:()=>D.a.None,setExternalOpener(){},open(){return E(this,void 0,void 0,function*(){return!1})},resolveExternalUri(y){return E(this,void 0,void 0,function*(){return{resolved:y,dispose(){}}})}});function Q(y,C){return h.a.isUri(y)?Object(H.t)(y.scheme,C):Object(H.T)(y,C+":")}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return D}),o.d(w,"a",function(){return H});var h=o(18),f=o(10);let D=Object(h.c)("accessibilityService"),H=new f.c("accessibilityModeEnabled",!1)},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge});var h=o(22),f=o(9),D=o(3),H=o(8);class E{constructor(Q,y,C){this.lineNumber=Q,this.column=y,this.leftoverVisibleColumns=C}}class ge{static leftPosition(Q,y,C){return C>Q.getLineMinColumn(y)?C-=H.N(Q.getLineContent(y),C-1):y>1&&(y-=1,C=Q.getLineMaxColumn(y)),new f.a(y,C)}static left(Q,y,C,S){let P=ge.leftPosition(y,C,S);return new E(P.lineNumber,P.column,0)}static moveLeft(Q,y,C,S,P){let V,k;if(C.hasSelection()&&!S)V=C.selection.startLineNumber,k=C.selection.startColumn;else{let l=ge.left(Q,y,C.position.lineNumber,C.position.column-(P-1));V=l.lineNumber,k=l.column}return C.move(S,V,k,0)}static rightPosition(Q,y,C){return C<Q.getLineMaxColumn(y)?C+=H.L(Q.getLineContent(y),C-1):y<Q.getLineCount()&&(y+=1,C=Q.getLineMinColumn(y)),new f.a(y,C)}static right(Q,y,C,S){let P=ge.rightPosition(y,C,S);return new E(P.lineNumber,P.column,0)}static moveRight(Q,y,C,S,P){let V,k;if(C.hasSelection()&&!S)V=C.selection.endLineNumber,k=C.selection.endColumn;else{let l=ge.right(Q,y,C.position.lineNumber,C.position.column+(P-1));V=l.lineNumber,k=l.column}return C.move(S,V,k,0)}static down(Q,y,C,S,P,V,k){let l=h.a.visibleColumnFromColumn(y.getLineContent(C),S,Q.tabSize)+P,T=y.getLineCount(),N=C===T&&S===y.getLineMaxColumn(C);return(C+=V)>T?(C=T,S=k?y.getLineMaxColumn(C):Math.min(y.getLineMaxColumn(C),S)):S=h.a.columnFromVisibleColumn2(Q,y,C,l),P=N?0:l-h.a.visibleColumnFromColumn(y.getLineContent(C),S,Q.tabSize),new E(C,S,P)}static moveDown(Q,y,C,S,P){let V,k;C.hasSelection()&&!S?(V=C.selection.endLineNumber,k=C.selection.endColumn):(V=C.position.lineNumber,k=C.position.column);let l=ge.down(Q,y,V,k,C.leftoverVisibleColumns,P,!0);return C.move(S,l.lineNumber,l.column,l.leftoverVisibleColumns)}static translateDown(Q,y,C){let S=C.selection,P=ge.down(Q,y,S.selectionStartLineNumber,S.selectionStartColumn,C.selectionStartLeftoverVisibleColumns,1,!1),V=ge.down(Q,y,S.positionLineNumber,S.positionColumn,C.leftoverVisibleColumns,1,!1);return new h.f(new D.a(P.lineNumber,P.column,P.lineNumber,P.column),P.leftoverVisibleColumns,new f.a(V.lineNumber,V.column),V.leftoverVisibleColumns)}static up(Q,y,C,S,P,V,k){let l=h.a.visibleColumnFromColumn(y.getLineContent(C),S,Q.tabSize)+P,T=C===1&&S===1;return(C-=V)<1?(C=1,S=k?y.getLineMinColumn(C):Math.min(y.getLineMaxColumn(C),S)):S=h.a.columnFromVisibleColumn2(Q,y,C,l),P=T?0:l-h.a.visibleColumnFromColumn(y.getLineContent(C),S,Q.tabSize),new E(C,S,P)}static moveUp(Q,y,C,S,P){let V,k;C.hasSelection()&&!S?(V=C.selection.startLineNumber,k=C.selection.startColumn):(V=C.position.lineNumber,k=C.position.column);let l=ge.up(Q,y,V,k,C.leftoverVisibleColumns,P,!0);return C.move(S,l.lineNumber,l.column,l.leftoverVisibleColumns)}static translateUp(Q,y,C){let S=C.selection,P=ge.up(Q,y,S.selectionStartLineNumber,S.selectionStartColumn,C.selectionStartLeftoverVisibleColumns,1,!1),V=ge.up(Q,y,S.positionLineNumber,S.positionColumn,C.leftoverVisibleColumns,1,!1);return new h.f(new D.a(P.lineNumber,P.column,P.lineNumber,P.column),P.leftoverVisibleColumns,new f.a(V.lineNumber,V.column),V.leftoverVisibleColumns)}static moveToBeginningOfLine(Q,y,C,S){let P,V=C.position.lineNumber,k=y.getLineMinColumn(V),l=y.getLineFirstNonWhitespaceColumn(V)||k;return P=C.position.column===l?k:l,C.move(S,V,P,0)}static moveToEndOfLine(Q,y,C,S,P){let V=C.position.lineNumber,k=y.getLineMaxColumn(V);return C.move(S,V,k,P?1073741824-k:0)}static moveToBeginningOfBuffer(Q,y,C,S){return C.move(S,1,1,0)}static moveToEndOfBuffer(Q,y,C,S){let P=y.getLineCount(),V=y.getLineMaxColumn(P);return C.move(S,P,V,0)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge});var h=o(1),f=o(67),D=o(69),H=o(2),E=o(61);class ge extends H.a{onclick(Q,y){this._register(h.i(Q,h.c.CLICK,C=>y(new D.a(C))))}onmousedown(Q,y){this._register(h.i(Q,h.c.MOUSE_DOWN,C=>y(new D.a(C))))}onmouseover(Q,y){this._register(h.i(Q,h.c.MOUSE_OVER,C=>y(new D.a(C))))}onnonbubblingmouseout(Q,y){this._register(h.j(Q,C=>y(new D.a(C))))}onkeydown(Q,y){this._register(h.i(Q,h.c.KEY_DOWN,C=>y(new f.a(C))))}onkeyup(Q,y){this._register(h.i(Q,h.c.KEY_UP,C=>y(new f.a(C))))}oninput(Q,y){this._register(h.i(Q,h.c.INPUT,y))}onblur(Q,y){this._register(h.i(Q,h.c.BLUR,y))}onfocus(Q,y){this._register(h.i(Q,h.c.FOCUS,y))}ignoreGesture(Q){E.b.ignoreTarget(Q)}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return f}),o.d(w,"a",function(){return D});var h=o(18);class f{constructor(E){this.callback=E}report(E){this._value=E,this.callback(this._value)}}f.None=Object.freeze({report(){}});let D=Object(h.c)("editorProgressService")},function(Ie,w,o){"use strict";o.d(w,"b",function(){return f}),o.d(w,"a",function(){return D});var h=o(18);let f=Object(h.c)("contextViewService"),D=Object(h.c)("contextMenuService")},function(Ie,w,o){"use strict";o.d(w,"b",function(){return Q}),o.d(w,"a",function(){return h});var h,f=o(14),D=o(22),H=o(81),E=o(129),ge=o(9),W=o(3);class Q{static addCursorDown(C,S,P){let V=[],k=0;for(let l=0,T=S.length;l<T;l++){let N=S[l];V[k++]=new D.d(N.modelState,N.viewState),V[k++]=P?D.d.fromModelState(H.a.translateDown(C.cursorConfig,C.model,N.modelState)):D.d.fromViewState(H.a.translateDown(C.cursorConfig,C,N.viewState))}return V}static addCursorUp(C,S,P){let V=[],k=0;for(let l=0,T=S.length;l<T;l++){let N=S[l];V[k++]=new D.d(N.modelState,N.viewState),V[k++]=P?D.d.fromModelState(H.a.translateUp(C.cursorConfig,C.model,N.modelState)):D.d.fromViewState(H.a.translateUp(C.cursorConfig,C,N.viewState))}return V}static moveToBeginningOfLine(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k];V[k]=this._moveToLineStart(C,T,P)}return V}static _moveToLineStart(C,S,P){let V=S.viewState.position.column,k=V===S.modelState.position.column,l=S.viewState.position.lineNumber,T=C.getLineFirstNonWhitespaceColumn(l);return k||V===T?this._moveToLineStartByModel(C,S,P):this._moveToLineStartByView(C,S,P)}static _moveToLineStartByView(C,S,P){return D.d.fromViewState(H.a.moveToBeginningOfLine(C.cursorConfig,C,S.viewState,P))}static _moveToLineStartByModel(C,S,P){return D.d.fromModelState(H.a.moveToBeginningOfLine(C.cursorConfig,C.model,S.modelState,P))}static moveToEndOfLine(C,S,P,V){let k=[];for(let l=0,T=S.length;l<T;l++){let N=S[l];k[l]=this._moveToLineEnd(C,N,P,V)}return k}static _moveToLineEnd(C,S,P,V){let k=S.viewState.position,l=C.getLineMaxColumn(k.lineNumber),T=k.column===l,N=S.modelState.position,b=C.model.getLineMaxColumn(N.lineNumber),g=l-k.column==b-N.column;return T||g?this._moveToLineEndByModel(C,S,P,V):this._moveToLineEndByView(C,S,P,V)}static _moveToLineEndByView(C,S,P,V){return D.d.fromViewState(H.a.moveToEndOfLine(C.cursorConfig,C,S.viewState,P,V))}static _moveToLineEndByModel(C,S,P,V){return D.d.fromModelState(H.a.moveToEndOfLine(C.cursorConfig,C.model,S.modelState,P,V))}static expandLineSelection(C,S){let P=[];for(let V=0,k=S.length;V<k;V++){let l=S[V],T=l.modelState.selection.startLineNumber,N=C.model.getLineCount(),b,g=l.modelState.selection.endLineNumber;g===N?b=C.model.getLineMaxColumn(N):(g++,b=1),P[V]=D.d.fromModelState(new D.f(new W.a(T,1,T,1),0,new ge.a(g,b),0))}return P}static moveToBeginningOfBuffer(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k];V[k]=D.d.fromModelState(H.a.moveToBeginningOfBuffer(C.cursorConfig,C.model,T.modelState,P))}return V}static moveToEndOfBuffer(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k];V[k]=D.d.fromModelState(H.a.moveToEndOfBuffer(C.cursorConfig,C.model,T.modelState,P))}return V}static selectAll(C,S){let P=C.model.getLineCount(),V=C.model.getLineMaxColumn(P);return D.d.fromModelState(new D.f(new W.a(1,1,1,1),0,new ge.a(P,V),0))}static line(C,S,P,V,k){let l=C.model.validatePosition(V),T=k?C.coordinatesConverter.validateViewPosition(new ge.a(k.lineNumber,k.column),l):C.coordinatesConverter.convertModelPositionToViewPosition(l);if(!P||!S.modelState.hasSelection()){let b=C.model.getLineCount(),g=l.lineNumber+1,j=1;return g>b&&(g=b,j=C.model.getLineMaxColumn(g)),D.d.fromModelState(new D.f(new W.a(l.lineNumber,1,g,j),0,new ge.a(g,j),0))}let N=S.modelState.selectionStart.getStartPosition().lineNumber;if(l.lineNumber<N)return D.d.fromViewState(S.viewState.move(S.modelState.hasSelection(),T.lineNumber,1,0));if(l.lineNumber>N){let b=C.getLineCount(),g=T.lineNumber+1,j=1;return g>b&&(g=b,j=C.getLineMaxColumn(g)),D.d.fromViewState(S.viewState.move(S.modelState.hasSelection(),g,j,0))}{let b=S.modelState.selectionStart.getEndPosition();return D.d.fromModelState(S.modelState.move(S.modelState.hasSelection(),b.lineNumber,b.column,0))}}static word(C,S,P,V){let k=C.model.validatePosition(V);return D.d.fromModelState(E.a.word(C.cursorConfig,C.model,S.modelState,P,k))}static cancelSelection(C,S){if(!S.modelState.hasSelection())return new D.d(S.modelState,S.viewState);let P=S.viewState.position.lineNumber,V=S.viewState.position.column;return D.d.fromViewState(new D.f(new W.a(P,V,P,V),0,new ge.a(P,V),0))}static moveTo(C,S,P,V,k){let l=C.model.validatePosition(V),T=k?C.coordinatesConverter.validateViewPosition(new ge.a(k.lineNumber,k.column),l):C.coordinatesConverter.convertModelPositionToViewPosition(l);return D.d.fromViewState(S.viewState.move(P,T.lineNumber,T.column,0))}static simpleMove(C,S,P,V,k,l){switch(P){case 0:return l===4?this._moveHalfLineLeft(C,S,V):this._moveLeft(C,S,V,k);case 1:return l===4?this._moveHalfLineRight(C,S,V):this._moveRight(C,S,V,k);case 2:return l===2?this._moveUpByViewLines(C,S,V,k):this._moveUpByModelLines(C,S,V,k);case 3:return l===2?this._moveDownByViewLines(C,S,V,k):this._moveDownByModelLines(C,S,V,k);case 4:return this._moveToViewMinColumn(C,S,V);case 5:return this._moveToViewFirstNonWhitespaceColumn(C,S,V);case 6:return this._moveToViewCenterColumn(C,S,V);case 7:return this._moveToViewMaxColumn(C,S,V);case 8:return this._moveToViewLastNonWhitespaceColumn(C,S,V);default:return null}}static viewportMove(C,S,P,V,k){let l=C.getCompletelyVisibleViewRange(),T=C.coordinatesConverter.convertViewRangeToModelRange(l);switch(P){case 9:{let N=this._firstLineNumberInRange(C.model,T,k),b=C.model.getLineFirstNonWhitespaceColumn(N);return[this._moveToModelPosition(C,S[0],V,N,b)]}case 11:{let N=this._lastLineNumberInRange(C.model,T,k),b=C.model.getLineFirstNonWhitespaceColumn(N);return[this._moveToModelPosition(C,S[0],V,N,b)]}case 10:{let N=Math.round((T.startLineNumber+T.endLineNumber)/2),b=C.model.getLineFirstNonWhitespaceColumn(N);return[this._moveToModelPosition(C,S[0],V,N,b)]}case 12:{let N=[];for(let b=0,g=S.length;b<g;b++){let j=S[b];N[b]=this.findPositionInViewportIfOutside(C,j,l,V)}return N}default:return null}}static findPositionInViewportIfOutside(C,S,P,V){let k=S.viewState.position.lineNumber;if(P.startLineNumber<=k&&k<=P.endLineNumber-1)return new D.d(S.modelState,S.viewState);{k>P.endLineNumber-1&&(k=P.endLineNumber-1),k<P.startLineNumber&&(k=P.startLineNumber);let l=C.getLineFirstNonWhitespaceColumn(k);return this._moveToViewPosition(C,S,V,k,l)}}static _firstLineNumberInRange(C,S,P){let V=S.startLineNumber;return S.startColumn!==C.getLineMinColumn(V)&&V++,Math.min(S.endLineNumber,V+P-1)}static _lastLineNumberInRange(C,S,P){let V=S.startLineNumber;return S.startColumn!==C.getLineMinColumn(V)&&V++,Math.max(V,S.endLineNumber-P+1)}static _moveLeft(C,S,P,V){let k=S.length>1,l=[];for(let T=0,N=S.length;T<N;T++){let b=S[T],g=k||!b.viewState.hasSelection(),j=H.a.moveLeft(C.cursorConfig,C,b.viewState,P,V);g&&V===1&&j.position.lineNumber!==b.viewState.position.lineNumber&&C.coordinatesConverter.convertViewPositionToModelPosition(j.position).lineNumber===b.modelState.position.lineNumber&&(j=H.a.moveLeft(C.cursorConfig,C,j,P,1)),l[T]=D.d.fromViewState(j)}return l}static _moveHalfLineLeft(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=Math.round(C.getLineContent(N).length/2);V[k]=D.d.fromViewState(H.a.moveLeft(C.cursorConfig,C,T.viewState,P,b))}return V}static _moveRight(C,S,P,V){let k=S.length>1,l=[];for(let T=0,N=S.length;T<N;T++){let b=S[T],g=k||!b.viewState.hasSelection(),j=H.a.moveRight(C.cursorConfig,C,b.viewState,P,V);g&&V===1&&j.position.lineNumber!==b.viewState.position.lineNumber&&C.coordinatesConverter.convertViewPositionToModelPosition(j.position).lineNumber===b.modelState.position.lineNumber&&(j=H.a.moveRight(C.cursorConfig,C,j,P,1)),l[T]=D.d.fromViewState(j)}return l}static _moveHalfLineRight(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=Math.round(C.getLineContent(N).length/2);V[k]=D.d.fromViewState(H.a.moveRight(C.cursorConfig,C,T.viewState,P,b))}return V}static _moveDownByViewLines(C,S,P,V){let k=[];for(let l=0,T=S.length;l<T;l++){let N=S[l];k[l]=D.d.fromViewState(H.a.moveDown(C.cursorConfig,C,N.viewState,P,V))}return k}static _moveDownByModelLines(C,S,P,V){let k=[];for(let l=0,T=S.length;l<T;l++){let N=S[l];k[l]=D.d.fromModelState(H.a.moveDown(C.cursorConfig,C.model,N.modelState,P,V))}return k}static _moveUpByViewLines(C,S,P,V){let k=[];for(let l=0,T=S.length;l<T;l++){let N=S[l];k[l]=D.d.fromViewState(H.a.moveUp(C.cursorConfig,C,N.viewState,P,V))}return k}static _moveUpByModelLines(C,S,P,V){let k=[];for(let l=0,T=S.length;l<T;l++){let N=S[l];k[l]=D.d.fromModelState(H.a.moveUp(C.cursorConfig,C.model,N.modelState,P,V))}return k}static _moveToViewPosition(C,S,P,V,k){return D.d.fromViewState(S.viewState.move(P,V,k,0))}static _moveToModelPosition(C,S,P,V,k){return D.d.fromModelState(S.modelState.move(P,V,k,0))}static _moveToViewMinColumn(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=C.getLineMinColumn(N);V[k]=this._moveToViewPosition(C,T,P,N,b)}return V}static _moveToViewFirstNonWhitespaceColumn(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=C.getLineFirstNonWhitespaceColumn(N);V[k]=this._moveToViewPosition(C,T,P,N,b)}return V}static _moveToViewCenterColumn(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=Math.round((C.getLineMaxColumn(N)+C.getLineMinColumn(N))/2);V[k]=this._moveToViewPosition(C,T,P,N,b)}return V}static _moveToViewMaxColumn(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=C.getLineMaxColumn(N);V[k]=this._moveToViewPosition(C,T,P,N,b)}return V}static _moveToViewLastNonWhitespaceColumn(C,S,P){let V=[];for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T.viewState.position.lineNumber,b=C.getLineLastNonWhitespaceColumn(N);V[k]=this._moveToViewPosition(C,T,P,N,b)}return V}}(function(y){y.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:`Property-value pairs that can be passed through this argument: * 'to': A mandatory logical position value providing where to move the cursor. \`\`\` 'left', 'right', 'up', 'down' @@ -565,22 +565,22 @@ In order to let ::-webkit-progress-value take effect, -webkit-appearance needs t \`\`\` * 'value': Number of units to move. Default is '1'. * 'select': If 'true' makes the selection. Default is 'false'. - `,constraint:function(z){if(!q.i(z))return!1;let D=z;return!!q.j(D.to)&&(!(!q.k(D.select)&&!q.f(D.select))&&(!(!q.k(D.by)&&!q.j(D.by))&&!(!q.k(D.value)&&!q.h(D.value))))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},s.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},s.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},s.parse=function(z){if(!z.to)return null;let D;switch(z.to){case s.RawDirection.Left:D=0;break;case s.RawDirection.Right:D=1;break;case s.RawDirection.Up:D=2;break;case s.RawDirection.Down:D=3;break;case s.RawDirection.WrappedLineStart:D=4;break;case s.RawDirection.WrappedLineFirstNonWhitespaceCharacter:D=5;break;case s.RawDirection.WrappedLineColumnCenter:D=6;break;case s.RawDirection.WrappedLineEnd:D=7;break;case s.RawDirection.WrappedLineLastNonWhitespaceCharacter:D=8;break;case s.RawDirection.ViewPortTop:D=9;break;case s.RawDirection.ViewPortBottom:D=11;break;case s.RawDirection.ViewPortCenter:D=10;break;case s.RawDirection.ViewPortIfOutside:D=12;break;default:return null}let Q=0;switch(z.by){case s.RawUnit.Line:Q=1;break;case s.RawUnit.WrappedLine:Q=2;break;case s.RawUnit.Character:Q=3;break;case s.RawUnit.HalfLine:Q=4}return{direction:D,unit:Q,select:!!z.select,value:z.value||1}}}(l||(l={}))},function(Ga,t){var f,l,q=Ga.exports={};function y(){throw new Error("setTimeout has not been defined")}function F(){throw new Error("clearTimeout has not been defined")}function P(C){if(f===setTimeout)return setTimeout(C,0);if((f===y||!f)&&setTimeout)return f=setTimeout,setTimeout(C,0);try{return f(C,0)}catch(k){try{return f.call(null,C,0)}catch(w){return f.call(this,C,0)}}}!function(){try{f="function"==typeof setTimeout?setTimeout:y}catch(C){f=y}try{l="function"==typeof clearTimeout?clearTimeout:F}catch(C){l=F}}();var Y,R=[],L=!1,s=-1;function z(){L&&Y&&(L=!1,Y.length?R=Y.concat(R):s=-1,R.length&&D())}function D(){if(!L){var C=P(z);L=!0;for(var k=R.length;k;){for(Y=R,R=[];++s<k;)Y&&Y[s].run();s=-1,k=R.length}Y=null,L=!1,function(w){if(l===clearTimeout)return clearTimeout(w);if((l===F||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(w);try{l(w)}catch(x){try{return l.call(null,w)}catch(u){return l.call(this,w)}}}(C)}}function Q(C,k){this.fun=C,this.array=k}function B(){}q.nextTick=function(C){var k=new Array(arguments.length-1);if(arguments.length>1)for(var w=1;w<arguments.length;w++)k[w-1]=arguments[w];R.push(new Q(C,k)),1!==R.length||L||P(D)},Q.prototype.run=function(){this.fun.apply(null,this.array)},q.title="browser",q.browser=!0,q.env={},q.argv=[],q.version="",q.versions={},q.on=B,q.addListener=B,q.once=B,q.off=B,q.removeListener=B,q.removeAllListeners=B,q.emit=B,q.prependListener=B,q.prependOnceListener=B,q.listeners=function(C){return[]},q.binding=function(C){throw new Error("process.binding is not supported")},q.cwd=function(){return"/"},q.chdir=function(C){throw new Error("process.chdir is not supported")},q.umask=function(){return 0}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return Q}),f.d(t,"a",function(){return C});var l=f(34),q=f(6),y=f(2),F=f(11);class P{constructor(k,w){this.chr=k,this.type=w,this.width=0}fulfill(k){this.width=k}}class Y{constructor(k,w){this._bareFontInfo=k,this._requests=w,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const k=document.createElement("div");k.style.position="absolute",k.style.top="-50000px",k.style.width="50000px";const w=document.createElement("div");w.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),w.style.fontWeight=this._bareFontInfo.fontWeight,w.style.fontSize=this._bareFontInfo.fontSize+"px",w.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,w.style.lineHeight=this._bareFontInfo.lineHeight+"px",w.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",k.appendChild(w);const x=document.createElement("div");x.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),x.style.fontWeight="bold",x.style.fontSize=this._bareFontInfo.fontSize+"px",x.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,x.style.lineHeight=this._bareFontInfo.lineHeight+"px",x.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",k.appendChild(x);const u=document.createElement("div");u.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),u.style.fontWeight=this._bareFontInfo.fontWeight,u.style.fontSize=this._bareFontInfo.fontSize+"px",u.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,u.style.lineHeight=this._bareFontInfo.lineHeight+"px",u.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",u.style.fontStyle="italic",k.appendChild(u);const A=[];for(const U of this._requests){let da;0===U.type&&(da=w),2===U.type&&(da=x),1===U.type&&(da=u),da.appendChild(document.createElement("br"));const Z=document.createElement("span");Y._render(Z,U),da.appendChild(Z),A.push(Z)}this._container=k,this._testElements=A}static _render(k,w){if(" "===w.chr){let x=" ";for(let u=0;u<8;u++)x+=x;k.innerText=x}else{let x=w.chr;for(let u=0;u<8;u++)x+=x;k.textContent=x}}_readFromDomElements(){for(let k=0,w=this._requests.length;k<w;k++){const x=this._requests[k],u=this._testElements[k];x.fulfill(u.offsetWidth/256)}}}var R=f(190),L=f(161),s=f(26),z=f(160);class D{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(k){const w=k.getId();return!!this._values[w]}get(k){const w=k.getId();return this._values[w]}put(k,w){const x=k.getId();this._keys[x]=k,this._values[x]=w}remove(k){const w=k.getId();delete this._keys[w],delete this._values[w]}getValues(){return Object.keys(this._keys).map(k=>this._values[k])}}function Q(){B.INSTANCE.clearCache()}class B extends y.a{constructor(){super(),this._onDidChange=this._register(new q.a()),this.onDidChange=this._onDidChange.event,this._cache=new D(),this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new D(),this._onDidChange.fire()}_writeToCache(k,w){this._cache.put(k,w),w.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const k=this._cache.getValues();let w=!1;for(let x=0,u=k.length;x<u;x++){const A=k[x];A.isTrusted||(w=!0,this._cache.remove(A))}w&&this._onDidChange.fire()}readConfiguration(k){if(!this._cache.has(k)){let w=B._actualReadConfiguration(k);(w.typicalHalfwidthCharacterWidth<=2||w.typicalFullwidthCharacterWidth<=2||w.spaceWidth<=2||w.maxDigitWidth<=2)&&(w=new z.b({zoomLevel:l.d(),fontFamily:w.fontFamily,fontWeight:w.fontWeight,fontSize:w.fontSize,fontFeatureSettings:w.fontFeatureSettings,lineHeight:w.lineHeight,letterSpacing:w.letterSpacing,isMonospace:w.isMonospace,typicalHalfwidthCharacterWidth:Math.max(w.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(w.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:w.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(w.spaceWidth,5),middotWidth:Math.max(w.middotWidth,5),wsmiddotWidth:Math.max(w.wsmiddotWidth,5),maxDigitWidth:Math.max(w.maxDigitWidth,5)},!1)),this._writeToCache(k,w)}return this._cache.get(k)}static createRequest(k,w,x,u){const A=new P(k,w);return x.push(A),u&&u.push(A),A}static _actualReadConfiguration(k){const w=[],x=[],u=this.createRequest("n",0,w,x),A=this.createRequest("m",0,w,null),U=this.createRequest(" ",0,w,x),da=this.createRequest("0",0,w,x),Z=this.createRequest("1",0,w,x),H=this.createRequest("2",0,w,x),ea=this.createRequest("3",0,w,x),oa=this.createRequest("4",0,w,x),ga=this.createRequest("5",0,w,x),Ba=this.createRequest("6",0,w,x),N=this.createRequest("7",0,w,x),V=this.createRequest("8",0,w,x),ma=this.createRequest("9",0,w,x),ta=this.createRequest("→",0,w,x),Da=this.createRequest("→",0,w,null),Ka=this.createRequest("·",0,w,x),G=this.createRequest(String.fromCharCode(11825),0,w,null);this.createRequest("|",0,w,x),this.createRequest("/",0,w,x),this.createRequest("-",0,w,x),this.createRequest("_",0,w,x),this.createRequest("i",0,w,x),this.createRequest("l",0,w,x),this.createRequest("m",0,w,x),this.createRequest("|",1,w,x),this.createRequest("_",1,w,x),this.createRequest("i",1,w,x),this.createRequest("l",1,w,x),this.createRequest("m",1,w,x),this.createRequest("n",1,w,x),this.createRequest("|",2,w,x),this.createRequest("_",2,w,x),this.createRequest("i",2,w,x),this.createRequest("l",2,w,x),this.createRequest("m",2,w,x),this.createRequest("n",2,w,x),function(ba,$){new Y(ba,$).read()}(k,w);const hb=Math.max(da.width,Z.width,H.width,ea.width,oa.width,ga.width,Ba.width,N.width,V.width,ma.width);let _a=k.fontFeatureSettings===s.e.OFF;const fb=x[0].width;for(let ba=1,$=x.length;_a&&ba<$;ba++){const S=fb-x[ba].width;if(S<-.001||S>.001){_a=!1;break}}let za=!0;_a&&Da.width!==fb&&(za=!1),Da.width>ta.width&&(za=!1);const ua=l.b()>2e3;return new z.b({zoomLevel:l.d(),fontFamily:k.fontFamily,fontWeight:k.fontWeight,fontSize:k.fontSize,fontFeatureSettings:k.fontFeatureSettings,lineHeight:k.lineHeight,letterSpacing:k.letterSpacing,isMonospace:_a,typicalHalfwidthCharacterWidth:u.width,typicalFullwidthCharacterWidth:A.width,canUseHalfwidthRightwardsArrow:za,spaceWidth:U.width,middotWidth:Ka.width,wsmiddotWidth:G.width,maxDigitWidth:hb},ua)}}B.INSTANCE=new B();class C extends L.a{constructor(k,w,x=null,u){super(k,w),this.accessibilityService=u,this._elementSizeObserver=this._register(new R.a(x,w.dimension,()=>this._onReferenceDomElementSizeChanged())),this._register(B.INSTANCE.onDidChange(()=>this._onCSSBasedConfigurationChanged())),this._validatedOptions.get(9)&&this._elementSizeObserver.startObserving(),this._register(l.n(A=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(k,w){k.style.fontFamily=w.getMassagedFontFamily(),k.style.fontWeight=w.fontWeight,k.style.fontSize=w.fontSize+"px",k.style.fontFeatureSettings=w.fontFeatureSettings,k.style.lineHeight=w.lineHeight+"px",k.style.letterSpacing=w.letterSpacing+"px"}static applyFontInfo(k,w){k.setFontFamily(w.getMassagedFontFamily()),k.setFontWeight(w.fontWeight),k.setFontSize(w.fontSize),k.setFontFeatureSettings(w.fontFeatureSettings),k.setLineHeight(w.lineHeight),k.setLetterSpacing(w.letterSpacing)}_onReferenceDomElementSizeChanged(){this._recomputeOptions()}_onCSSBasedConfigurationChanged(){this._recomputeOptions()}observeReferenceElement(k){this._elementSizeObserver.observe(k)}dispose(){super.dispose()}_getExtraEditorClassName(){let k="";return l.j||l.m||(k+="no-user-select "),F.f&&(k+="mac "),k}_getEnvConfiguration(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:l.l||l.h,pixelRatio:l.a(),zoomLevel:l.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(k){return B.INSTANCE.readConfiguration(k)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return B}),f.d(t,"b",function(){return C}),f.d(t,"d",function(){return k}),f.d(t,"c",function(){return w});var l=f(8),q=f(3),y=f(25),F=f(2),P=f(4),Y=f(10),R=f(53),L=f(18),s=f(115);const z=Object(L.c)("IEditorCancelService"),D=new Y.c("cancellableOperation",!1);Object(s.b)(z,class{constructor(){this._tokens=new WeakMap()}add(x,u){let A,U=this._tokens.get(x);return U||(U=x.invokeWithinContext(da=>({key:D.bindTo(da.get(Y.b)),tokens:new R.a()})),this._tokens.set(x,U)),U.key.set(!0),A=U.tokens.push(u),()=>{A&&(A(),U.key.set(!U.tokens.isEmpty()),A=void 0)}}cancel(x){const u=this._tokens.get(x);if(!u)return;const A=u.tokens.pop();A&&(A.cancel(),u.key.set(!u.tokens.isEmpty()))}},!0);class Q extends y.b{constructor(x,u){super(u),this.editor=x,this._unregister=x.invokeWithinContext(A=>A.get(z).add(x,this))}dispose(){this._unregister(),super.dispose()}}Object(P.l)(new class extends P.c{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:D})}runEditorCommand(x,u){x.get(z).cancel(u)}}());class B{constructor(x,u){if(this.flags=u,0!=(1&this.flags)){const A=x.getModel();this.modelVersionId=A?l.x("{0}#{1}",A.uri.toString(),A.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=x.getPosition():this.position=null,0!=(2&this.flags)?this.selection=x.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=x.getScrollLeft(),this.scrollTop=x.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(x){if(!(x instanceof B))return!1;const u=x;return this.modelVersionId===u.modelVersionId&&(this.scrollLeft===u.scrollLeft&&this.scrollTop===u.scrollTop&&(!(!this.position&&u.position||this.position&&!u.position||this.position&&u.position&&!this.position.equals(u.position))&&!(!this.selection&&u.selection||this.selection&&!u.selection||this.selection&&u.selection&&!this.selection.equalsRange(u.selection))))}validate(x){return this._equals(new B(x,this.flags))}}class C extends Q{constructor(x,u,A,U){super(x,U),this.editor=x,this._listener=new F.b(),4&u&&this._listener.add(x.onDidChangeCursorPosition(da=>{A&&q.a.containsPosition(A,da.position)||this.cancel()})),2&u&&this._listener.add(x.onDidChangeCursorSelection(da=>{A&&q.a.containsRange(A,da.selection)||this.cancel()})),8&u&&this._listener.add(x.onDidScrollChange(da=>this.cancel())),1&u&&(this._listener.add(x.onDidChangeModel(da=>this.cancel())),this._listener.add(x.onDidChangeModelContent(da=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class k extends y.b{constructor(x,u){super(u),this._listener=x.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}class w{constructor(x,u,A){this._visiblePosition=x,this._visiblePositionScrollDelta=u,this._cursorPosition=A}static capture(x){let u=null,A=0;if(0!==x.getScrollTop()){const U=x.getVisibleRanges();if(U.length>0){u=U[0].getStartPosition();const da=x.getTopForPosition(u.lineNumber,u.column);A=x.getScrollTop()-da}}return new w(u,A,x.getPosition())}restore(x){if(this._visiblePosition){const u=x.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);x.setScrollTop(u+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(x){const u=x.getPosition();if(!this._cursorPosition||!u)return;const A=x.getTopForLineNumber(u.lineNumber)-x.getTopForLineNumber(this._cursorPosition.lineNumber);x.setScrollTop(x.getScrollTop()+A)}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return q}),f.d(t,"c",function(){return P}),f.d(t,"a",function(){return s});var l=f(8);function q(z){return y(z,0)}function y(z,D){switch(typeof z){case"object":return null===z?F(349,D):Array.isArray(z)?(Q=z,B=F(104579,B=D),Q.reduce((C,k)=>y(k,C),B)):function(C,k){return k=F(181387,k),Object.keys(C).sort().reduce((w,x)=>(w=P(x,w),y(C[x],w)),k)}(z,D);case"string":return P(z,D);case"boolean":return function(C,k){return F(C?433:863,k)}(z,D);case"number":return F(z,D);case"undefined":return F(937,D);default:return F(617,D)}var Q,B}function F(z,D){return(D<<5)-D+z|0}function P(z,D){D=F(149417,D);for(let Q=0,B=z.length;Q<B;Q++)D=F(z.charCodeAt(Q),D);return D}function Y(z,D,Q=32){const B=Q-D;return(z<<D|(~((1<<B)-1)&z)>>>B)>>>0}function R(z,D=0,Q=z.byteLength,B=0){for(let C=0;C<Q;C++)z[D+C]=B}function L(z,D=32){return function(Q,B,C="0"){for(;Q.length<B;)Q=C+Q;return Q}((z>>>0).toString(16),D/4)}class s{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(z){const D=z.length;if(0===D)return;const Q=this._buff;let B,C,k=this._buffLen,w=this._leftoverHighSurrogate;for(0!==w?(B=w,C=-1,w=0):(B=z.charCodeAt(0),C=0);;){let x=B;if(l.F(B)){if(!(C+1<D)){w=B;break}{const u=z.charCodeAt(C+1);l.G(u)?(C++,x=l.j(B,u)):x=65533}}else l.G(B)&&(x=65533);if(k=this._push(Q,k,x),C++,!(C<D))break;B=z.charCodeAt(C)}this._buffLen=k,this._leftoverHighSurrogate=w}_push(z,D,Q){return Q<128?z[D++]=Q:Q<2048?(z[D++]=192|(1984&Q)>>>6,z[D++]=128|(63&Q)>>>0):Q<65536?(z[D++]=224|(61440&Q)>>>12,z[D++]=128|(4032&Q)>>>6,z[D++]=128|(63&Q)>>>0):(z[D++]=240|(1835008&Q)>>>18,z[D++]=128|(258048&Q)>>>12,z[D++]=128|(4032&Q)>>>6,z[D++]=128|(63&Q)>>>0),D>=64&&(this._step(),D-=64,this._totalLen+=64,z[0]=z[64],z[1]=z[65],z[2]=z[66]),D}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),L(this._h0)+L(this._h1)+L(this._h2)+L(this._h3)+L(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,R(this._buff,this._buffLen),this._buffLen>56&&(this._step(),R(this._buff));const z=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(z/4294967296),!1),this._buffDV.setUint32(60,z%4294967296,!1),this._step()}_step(){const z=s._bigBlock32,D=this._buffDV;for(let U=0;U<64;U+=4)z.setUint32(U,D.getUint32(U,!1),!1);for(let U=64;U<320;U+=4)z.setUint32(U,Y(z.getUint32(U-12,!1)^z.getUint32(U-32,!1)^z.getUint32(U-56,!1)^z.getUint32(U-64,!1),1),!1);let Q,B,C,k=this._h0,w=this._h1,x=this._h2,u=this._h3,A=this._h4;for(let U=0;U<80;U++)U<20?(Q=w&x|~w&u,B=1518500249):U<40?(Q=w^x^u,B=1859775393):U<60?(Q=w&x|w&u|x&u,B=2400959708):(Q=w^x^u,B=3395469782),C=Y(k,5)+Q+A+B+z.getUint32(4*U,!1)&4294967295,A=u,u=x,x=Y(w,30),w=k,k=C;this._h0=this._h0+k&4294967295,this._h1=this._h1+w&4294967295,this._h2=this._h2+x&4294967295,this._h3=this._h3+u&4294967295,this._h4=this._h4+A&4294967295}}s._bigBlock32=new DataView(new ArrayBuffer(320))},function(Ga,t,f){"use strict";f.d(t,"c",function(){return y}),f.d(t,"b",function(){return F}),f.d(t,"a",function(){return P}),f.d(t,"d",function(){return Y}),f.d(t,"e",function(){return R});var l=f(77),q=f(12);const y=new class{clone(){return this}equals(L){return this===L}}(),F="vs.editor.nullMode",P=new q.r(F,0);function Y(L,s,z,D){return new l.b([new l.a(D,"",L)],z)}function R(L,s,z,D){let Q=new Uint32Array(2);return Q[0]=D,Q[1]=(16384|L<<0|2<<23)>>>0,new l.c(Q,null===z?y:z)}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return P}),f.d(t,"c",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"d",function(){return s}),f.d(t,"e",function(){return D});var l=f(8),q=f(132),y=f(155);class F{constructor(B,C,k){this.endIndex=B,this.type=C,this.metadata=k}isWhitespace(){return!!(1&this.metadata)}}class P{constructor(B,C){this.startOffset=B,this.endOffset=C}equals(B){return this.startOffset===B.startOffset&&this.endOffset===B.endOffset}}class Y{constructor(B,C,k,w,x,u,A,U,da,Z,H,ea,oa,ga,Ba,N,V,ma,ta){this.useMonospaceOptimizations=B,this.canUseHalfwidthRightwardsArrow=C,this.lineContent=k,this.continuesWithWrappedLine=w,this.isBasicASCII=x,this.containsRTL=u,this.fauxIndentLength=A,this.lineTokens=U,this.lineDecorations=da,this.tabSize=Z,this.startVisibleColumn=H,this.spaceWidth=ea,this.stopRenderingLineAfter=Ba,this.renderWhitespace="all"===N?4:"boundary"===N?1:"selection"===N?2:"trailing"===N?3:0,this.renderControlCharacters=V,this.fontLigatures=ma,this.selectionsOnLine=ta&&ta.sort((Da,Ka)=>Da.startOffset<Ka.startOffset?-1:1),Math.abs(ga-ea)<Math.abs(oa-ea)?(this.renderSpaceWidth=ga,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=oa,this.renderSpaceCharCode=183)}sameSelection(B){if(null===this.selectionsOnLine)return null===B;if(null===B)return!1;if(B.length!==this.selectionsOnLine.length)return!1;for(let C=0;C<this.selectionsOnLine.length;C++)if(!this.selectionsOnLine[C].equals(B[C]))return!1;return!0}equals(B){return this.useMonospaceOptimizations===B.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===B.canUseHalfwidthRightwardsArrow&&this.lineContent===B.lineContent&&this.continuesWithWrappedLine===B.continuesWithWrappedLine&&this.isBasicASCII===B.isBasicASCII&&this.containsRTL===B.containsRTL&&this.fauxIndentLength===B.fauxIndentLength&&this.tabSize===B.tabSize&&this.startVisibleColumn===B.startVisibleColumn&&this.spaceWidth===B.spaceWidth&&this.renderSpaceWidth===B.renderSpaceWidth&&this.renderSpaceCharCode===B.renderSpaceCharCode&&this.stopRenderingLineAfter===B.stopRenderingLineAfter&&this.renderWhitespace===B.renderWhitespace&&this.renderControlCharacters===B.renderControlCharacters&&this.fontLigatures===B.fontLigatures&&y.a.equalsArr(this.lineDecorations,B.lineDecorations)&&this.lineTokens.equals(B.lineTokens)&&this.sameSelection(B.selectionsOnLine)}}class R{constructor(B,C){this.length=B,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(B){return(4294901760&B)>>>16}static getCharIndex(B){return(65535&B)>>>0}setPartData(B,C,k,w){let x=(C<<16|k<<0)>>>0;this._data[B]=x,this._absoluteOffsets[B]=w+k}getAbsoluteOffsets(){return this._absoluteOffsets}charOffsetToPartData(B){return 0===this.length?0:B<0?this._data[0]:B>=this.length?this._data[this.length-1]:this._data[B]}partDataToCharOffset(B,C,k){if(0===this.length)return 0;let w=(B<<16|k<<0)>>>0,x=0,u=this.length-1;for(;x+1<u;){let ea=x+u>>>1,oa=this._data[ea];if(oa===w)return ea;oa>w?u=ea:x=ea}if(x===u)return x;let A=this._data[x],U=this._data[u];if(A===w)return x;if(U===w)return u;let da,Z=R.getPartIndex(A),H=R.getCharIndex(A);return da=Z!==R.getPartIndex(U)?C:R.getCharIndex(U),k-H<=da-k?x:u}}class L{constructor(B,C,k){this.characterMapping=B,this.containsRTL=C,this.containsForeignElements=k}}function s(B,C){if(0===B.lineContent.length){let k=0,w="<span><span></span></span>";if(B.lineDecorations.length>0){const x=[],u=[];for(let A=0,U=B.lineDecorations.length;A<U;A++){const da=B.lineDecorations[A];1===da.type&&(x.push(B.lineDecorations[A].className),k|=1),2===da.type&&(u.push(B.lineDecorations[A].className),k|=2)}0!==k&&(w=`<span>${x.length>0?`<span class="${x.join(" ")}"></span>`:""}${u.length>0?`<span class="${u.join(" ")}"></span>`:""}</span>`)}return C.appendASCIIString(w),new L(new R(0,0),!1,k)}return function(k,w){const x=k.fontIsMonospace,u=k.canUseHalfwidthRightwardsArrow,A=k.containsForeignElements,U=k.lineContent,da=k.len,Z=k.isOverflowing,H=k.parts,ea=k.fauxIndentLength,oa=k.tabSize,ga=k.startVisibleColumn,Ba=k.containsRTL,N=k.spaceWidth,V=k.renderSpaceCharCode,ma=k.renderWhitespace,ta=k.renderControlCharacters,Da=new R(da+1,H.length);let Ka=0,G=ga,hb=0,_a=0,fb=0,za=0;Ba?w.appendASCIIString('<span dir="ltr">'):w.appendASCIIString("<span>");for(let ua=0,ba=H.length;ua<ba;ua++){za+=fb;const $=H[ua],S=$.endIndex,aa=$.type,_=0!==ma&&$.isWhitespace(),I=_&&!x&&("mtkw"===aa||!A),ka=Ka===S&&4===$.metadata;if(hb=0,w.appendASCIIString('<span class="'),w.appendASCIIString(I?"mtkz":aa),w.appendASCII(34),_){let va=0;{let La=Ka,$a=G;for(;La<S;La++){const Ab=0|(9===U.charCodeAt(La)?oa-$a%oa:1);va+=Ab,La>=ea&&($a+=Ab)}}for(I&&(w.appendASCIIString(' style="width:'),w.appendASCIIString(String(N*va)),w.appendASCIIString('px"')),w.appendASCII(62);Ka<S;Ka++){Da.setPartData(Ka,ua-_a,hb,za),_a=0;let La;if(9===U.charCodeAt(Ka)){La=oa-G%oa|0,!u||La>1?w.write1(8594):w.write1(65515);for(let $a=2;$a<=La;$a++)w.write1(160)}else La=1,w.write1(V);hb+=La,Ka>=ea&&(G+=La)}fb=va}else{let va=0;for(w.appendASCII(62);Ka<S;Ka++){Da.setPartData(Ka,ua-_a,hb,za),_a=0;const La=U.charCodeAt(Ka);let $a=1,Ab=1;switch(La){case 9:$a=oa-G%oa,Ab=$a;for(let gb=1;gb<=$a;gb++)w.write1(160);break;case 32:w.write1(160);break;case 60:w.appendASCIIString("<");break;case 62:w.appendASCIIString(">");break;case 38:w.appendASCIIString("&");break;case 0:w.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:w.write1(65533);break;default:l.E(La)&&Ab++,ta&&La<32?w.write1(9216+La):w.write1(La)}hb+=$a,va+=$a,Ka>=ea&&(G+=Ab)}fb=va}ka?_a++:_a=0,w.appendASCIIString("</span>")}return Da.setPartData(da,H.length-1,hb,za),Z&&w.appendASCIIString("<span>…</span>"),w.appendASCIIString("</span>"),new L(Da,Ba,A)}(function(k){const w=k.lineContent;let x,u;-1!==k.stopRenderingLineAfter&&k.stopRenderingLineAfter<w.length?(x=!0,u=k.stopRenderingLineAfter):(x=!1,u=w.length);let A=function(da,Z,H){let ea=[],oa=0;Z>0&&(ea[oa++]=new F(Z,"",0));for(let ga=0,Ba=da.getCount();ga<Ba;ga++){const N=da.getEndOffset(ga);if(N<=Z)continue;const V=da.getClassName(ga);if(N>=H){ea[oa++]=new F(H,V,0);break}ea[oa++]=new F(N,V,0)}return ea}(k.lineTokens,k.fauxIndentLength,u);(4===k.renderWhitespace||1===k.renderWhitespace||2===k.renderWhitespace&&k.selectionsOnLine||3===k.renderWhitespace)&&(A=function(da,Z,H,ea){const oa=da.continuesWithWrappedLine,ga=da.fauxIndentLength,Ba=da.tabSize,N=da.startVisibleColumn,V=da.useMonospaceOptimizations,ma=da.selectionsOnLine,ta=1===da.renderWhitespace,Da=3===da.renderWhitespace,Ka=da.renderSpaceWidth!==da.spaceWidth;let G=[],hb=0,_a=0,fb=ea[_a].type,za=ea[_a].endIndex;const ua=ea.length;let ba,$=!1,S=l.w(Z);-1===S?($=!0,S=H,ba=H):ba=l.J(Z);let aa=!1,_=0,I=ma&&ma[_],ka=N%Ba;for(let La=ga;La<H;La++){const $a=Z.charCodeAt(La);let Ab;if(I&&La>=I.endOffset&&(_++,I=ma&&ma[_]),La<S||La>ba)Ab=!0;else if(9===$a)Ab=!0;else if(32===$a)if(ta)if(aa)Ab=!0;else{const gb=La+1<H?Z.charCodeAt(La+1):0;Ab=32===gb||9===gb}else Ab=!0;else Ab=!1;if(Ab&&ma&&(Ab=!!I&&I.startOffset<=La&&I.endOffset>La),Ab&&Da&&(Ab=$||La>ba),aa){if(!Ab||!V&&ka>=Ba){if(Ka)for(let gb=(hb>0?G[hb-1].endIndex:ga)+1;gb<=La;gb++)G[hb++]=new F(gb,"mtkw",1);else G[hb++]=new F(La,"mtkw",1);ka%=Ba}}else(La===za||Ab&&La>ga)&&(G[hb++]=new F(La,fb,0),ka%=Ba);for(9===$a?ka=Ba:l.E($a)?ka+=2:ka++,aa=Ab;La===za;)_a++,_a<ua&&(fb=ea[_a].type,za=ea[_a].endIndex)}let va=!1;if(aa)if(oa&&ta){let La=H>0?Z.charCodeAt(H-1):0,$a=H>1?Z.charCodeAt(H-2):0;32===La&&32!==$a&&9!==$a||(va=!0)}else va=!0;if(va)if(Ka)for(let La=(hb>0?G[hb-1].endIndex:ga)+1;La<=H;La++)G[hb++]=new F(La,"mtkw",1);else G[hb++]=new F(H,"mtkw",1);else G[hb++]=new F(H,fb,0);return G}(k,w,u,A));let U=0;if(k.lineDecorations.length>0){for(let da=0,Z=k.lineDecorations.length;da<Z;da++){const H=k.lineDecorations[da];3===H.type||1===H.type?U|=1:2===H.type&&(U|=2)}A=function(da,Z,H,ea){ea.sort(y.a.compare);const oa=y.b.normalize(da,ea),ga=oa.length;let Ba=0,N=[],V=0,ma=0;for(let Da=0,Ka=H.length;Da<Ka;Da++){const G=H[Da],hb=G.endIndex,_a=G.type,fb=G.metadata;for(;Ba<ga&&oa[Ba].startOffset<hb;){const za=oa[Ba];if(za.startOffset>ma&&(ma=za.startOffset,N[V++]=new F(ma,_a,fb)),!(za.endOffset+1<=hb)){ma=hb,N[V++]=new F(ma,_a+" "+za.className,fb|za.metadata);break}ma=za.endOffset+1,N[V++]=new F(ma,_a+" "+za.className,fb|za.metadata),Ba++}hb>ma&&(ma=hb,N[V++]=new F(ma,_a,fb))}const ta=H[H.length-1].endIndex;if(Ba<ga&&oa[Ba].startOffset===ta){let Da=[],Ka=0;for(;Ba<ga&&oa[Ba].startOffset===ta;)Da.push(oa[Ba].className),Ka|=oa[Ba].metadata,Ba++;N[V++]=new F(ma,Da.join(" "),Ka)}return N}(w,0,A,k.lineDecorations)}return k.containsRTL||(A=function(da,Z,H){let ea=0,oa=[],ga=0;if(H)for(let Ba=0,N=Z.length;Ba<N;Ba++){const V=Z[Ba],ma=V.endIndex;if(ea+50<ma){const ta=V.type,Da=V.metadata;let Ka=-1,G=ea;for(let hb=ea;hb<ma;hb++)32===da.charCodeAt(hb)&&(Ka=hb),-1!==Ka&&hb-G>=50&&(oa[ga++]=new F(Ka+1,ta,Da),G=Ka+1,Ka=-1);G!==ma&&(oa[ga++]=new F(ma,ta,Da))}else oa[ga++]=V;ea=ma}else for(let Ba=0,N=Z.length;Ba<N;Ba++){const V=Z[Ba],ma=V.endIndex;let ta=ma-ea;if(ta>50){const Da=V.type,Ka=V.metadata,G=Math.ceil(ta/50);for(let hb=1;hb<G;hb++){let _a=ea+50*hb;oa[ga++]=new F(_a,Da,Ka)}oa[ga++]=new F(ma,Da,Ka)}else oa[ga++]=V;ea=ma}return oa}(w,A,!k.isBasicASCII||k.fontLigatures)),new Q(k.useMonospaceOptimizations,k.canUseHalfwidthRightwardsArrow,w,u,x,A,U,k.fauxIndentLength,k.tabSize,k.startVisibleColumn,k.containsRTL,k.spaceWidth,k.renderSpaceCharCode,k.renderWhitespace,k.renderControlCharacters)}(B),C)}class z{constructor(B,C,k,w){this.characterMapping=B,this.html=C,this.containsRTL=k,this.containsForeignElements=w}}function D(B){let C=Object(q.a)(1e4),k=s(B,C);return new z(k.characterMapping,C.build(),k.containsRTL,k.containsForeignElements)}class Q{constructor(B,C,k,w,x,u,A,U,da,Z,H,ea,oa,ga,Ba){this.fontIsMonospace=B,this.canUseHalfwidthRightwardsArrow=C,this.lineContent=k,this.len=w,this.isOverflowing=x,this.parts=u,this.containsForeignElements=A,this.fauxIndentLength=U,this.tabSize=da,this.startVisibleColumn=Z,this.containsRTL=H,this.spaceWidth=ea,this.renderSpaceCharCode=oa,this.renderWhitespace=ga,this.renderControlCharacters=Ba}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y});var l=f(43),q=f(11),y=f(27),F=f(56);class P{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(L){if(1===q.a){if(L&&L.win)return L.win}else if(2===q.a){if(L&&L.mac)return L.mac}else if(L&&L.linux)return L.linux;return L}registerKeybindingRule(L){const s=P.bindToCurrentPlatform(L);if(s&&s.primary){const z=Object(l.f)(s.primary,q.a);z&&this._registerDefaultKeybinding(z,L.id,L.args,L.weight,0,L.when)}if(s&&Array.isArray(s.secondary))for(let z=0,D=s.secondary.length;z<D;z++){const Q=s.secondary[z],B=Object(l.f)(Q,q.a);B&&this._registerDefaultKeybinding(B,L.id,L.args,L.weight,-z-1,L.when)}}registerCommandAndKeybindingRule(L){this.registerKeybindingRule(L),y.a.registerCommand(L)}static _mightProduceChar(L){return L>=21&&L<=30||(L>=31&&L<=56||(80===L||81===L||82===L||83===L||84===L||85===L||86===L||110===L||111===L||87===L||88===L||89===L||90===L||91===L||92===L))}_assertNoCtrlAlt(L,s){L.ctrlKey&&L.altKey&&!L.metaKey&&P._mightProduceChar(L.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",L," for ",s)}_registerDefaultKeybinding(L,s,z,D,Q,B){1===q.a&&this._assertNoCtrlAlt(L.parts[0],s),this._coreKeybindings.push({keybinding:L,command:s,commandArgs:z,when:B,weight1:D,weight2:Q,extensionId:null}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(R)),this._cachedMergedKeybindings.slice(0)}}const Y=new P();function R(L,s){return L.weight1!==s.weight1?L.weight1-s.weight1:L.command<s.command?-1:L.command>s.command?1:L.weight2-s.weight2}F.a.add("platform.keybindingsRegistry",Y)},function(Ga,t,f){"use strict";f.d(t,"d",function(){return q}),f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P}),f.d(t,"e",function(){return Y}),f.d(t,"c",function(){return L});var l=f(5);function q(s,z){const D=Object.create(null);for(let Q in z){const B=z[Q];B&&(D[Q]=Object(l.hc)(B,s))}return D}function y(s,z,D){function Q(B){const C=q(s.getColorTheme(),z);"function"==typeof D?D(C):D.style(C)}return Q(s.getColorTheme()),s.onDidColorThemeChange(Q)}function F(s,z,D){return y(z,{badgeBackground:D&&D.badgeBackground||l.c,badgeForeground:D&&D.badgeForeground||l.d,badgeBorder:l.h},s)}function P(s,z,D){return y(z,Object.assign(Object.assign({},Y),D||{}),s)}const Y={listFocusBackground:l.xb,listFocusForeground:l.yb,listActiveSelectionBackground:Object(l.i)(l.rb,.1),listActiveSelectionForeground:l.sb,listFocusAndSelectionBackground:l.rb,listFocusAndSelectionForeground:l.sb,listInactiveSelectionBackground:l.Db,listInactiveSelectionForeground:l.Eb,listInactiveFocusBackground:l.Cb,listHoverBackground:l.Ab,listHoverForeground:l.Bb,listDropBackground:l.tb,listFocusOutline:l.b,listSelectionOutline:l.b,listHoverOutline:l.b,listFilterWidgetBackground:l.ub,listFilterWidgetOutline:l.wb,listFilterWidgetNoMatchesOutline:l.vb,listMatchesShadow:l.uc,treeIndentGuidesStroke:l.tc},R={shadowColor:l.uc,borderColor:l.Gb,foregroundColor:l.Hb,backgroundColor:l.Fb,selectionForegroundColor:l.Kb,selectionBackgroundColor:l.Ib,selectionBorderColor:l.Jb,separatorColor:l.Lb};function L(s,z,D){return y(z,Object.assign(Object.assign({},R),D),s)}},function(Ga,t,f){"use strict";f.d(t,"c",function(){return Y}),f.d(t,"a",function(){return L}),f.d(t,"b",function(){return s});var l=f(13),q=f(2),y=f(11),F=f(14);let P=!1;function Y(z){y.h&&(P||(P=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(z.message))}class R{constructor(z){this._workerId=-1,this._handler=z,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(z){this._workerId=z}sendMessage(z,D){let Q=String(++this._lastSentReq);return new Promise((B,C)=>{this._pendingReplies[Q]={resolve:B,reject:C},this._send({vsWorker:this._workerId,req:Q,method:z,args:D})})}handleMessage(z){z&&z.vsWorker&&(-1!==this._workerId&&z.vsWorker!==this._workerId||this._handleMessage(z))}_handleMessage(z){if(z.seq){let B=z;if(!this._pendingReplies[B.seq])return void console.warn("Got reply to unknown seq");let C=this._pendingReplies[B.seq];if(delete this._pendingReplies[B.seq],B.err){let k=B.err;return B.err.$isError&&(k=new Error(),k.name=B.err.name,k.message=B.err.message,k.stack=B.err.stack),void C.reject(k)}return void C.resolve(B.res)}let D=z,Q=D.req;this._handler.handleMessage(D.method,D.args).then(B=>{this._send({vsWorker:this._workerId,seq:Q,res:B,err:void 0})},B=>{B.detail instanceof Error&&(B.detail=Object(l.g)(B.detail)),this._send({vsWorker:this._workerId,seq:Q,res:void 0,err:Object(l.g)(B)})})}_send(z){let D=[];if(z.req){const Q=z;for(let B=0;B<Q.args.length;B++)Q.args[B]instanceof ArrayBuffer&&D.push(Q.args[B])}else{const Q=z;Q.res instanceof ArrayBuffer&&D.push(Q.res)}this._handler.sendMessage(z,D)}}class L extends q.a{constructor(z,D,Q){super();let B=null;this._worker=this._register(z.create("vs/base/common/worker/simpleWorker",x=>{this._protocol.handleMessage(x)},x=>{B&&B(x)})),this._protocol=new R({sendMessage:(x,u)=>{this._worker.postMessage(x,u)},handleMessage:(x,u)=>{if("function"!=typeof Q[x])return Promise.reject(new Error("Missing method "+x+" on main thread host."));try{return Promise.resolve(Q[x].apply(Q,u))}catch(A){return Promise.reject(A)}}}),this._protocol.setWorkerId(this._worker.getId());let C=null;void 0!==self.require&&"function"==typeof self.require.getConfig?C=self.require.getConfig():void 0!==self.requirejs&&(C=self.requirejs.s.contexts._.config);const k=F.d(Q);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(C)),D,k]);const w=(x,u)=>this._request(x,u);this._lazyProxy=new Promise((x,u)=>{B=u,this._onModuleLoaded.then(A=>{x(F.c(A,w))},A=>{u(A),this._onError("Worker failed to load "+D,A)})})}getProxyObject(){return this._lazyProxy}_request(z,D){return new Promise((Q,B)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(z,D).then(Q,B)},B)})}_onError(z,D){console.error(z),console.info(D)}}class s{constructor(z,D){this._requestHandlerFactory=D,this._requestHandler=null,this._protocol=new R({sendMessage:(Q,B)=>{z(Q,B)},handleMessage:(Q,B)=>this._handleMessage(Q,B)})}onmessage(z){this._protocol.handleMessage(z)}_handleMessage(z,D){if("$initialize"===z)return this.initialize(D[0],D[1],D[2],D[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[z])return Promise.reject(new Error("Missing requestHandler or method: "+z));try{return Promise.resolve(this._requestHandler[z].apply(this._requestHandler,D))}catch(Q){return Promise.reject(Q)}}initialize(z,D,Q,B){this._protocol.setWorkerId(z);const C=F.c(B,(k,w)=>this._protocol.sendMessage(k,w));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(C),Promise.resolve(F.d(this._requestHandler))):(D&&(void 0!==D.baseUrl&&delete D.baseUrl,void 0!==D.paths&&void 0!==D.paths.vs&&delete D.paths.vs,D.catchError=!0,self.require.config(D)),new Promise((k,w)=>{self.require([Q],x=>{this._requestHandler=x.create(C),this._requestHandler?k(F.d(this._requestHandler)):w(new Error("No RequestHandler!"))},w)}))}}},function(Ga,t,f){"use strict";var l=f(108);f.d(t,"a",function(){return l.n})},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("editorWorkerService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return P}),f.d(t,"c",function(){return Y}),f.d(t,"b",function(){return R});var l=f(18),q=f(6),y=f(2),F=f(14);const P=Object(l.c)("storageService");var Y;!function(L){L[L.NONE=0]="NONE",L[L.SHUTDOWN=1]="SHUTDOWN"}(Y||(Y={}));class R extends y.a{constructor(){super(...arguments),this._onDidChangeStorage=this._register(new q.a()),this._onWillSaveState=this._register(new q.a()),this.onWillSaveState=this._onWillSaveState.event,this.globalCache=new Map(),this.workspaceCache=new Map()}getCache(L){return 0===L?this.globalCache:this.workspaceCache}get(L,s,z){const D=this.getCache(s).get(L);return Object(F.l)(D)?z:D}getBoolean(L,s,z){const D=this.getCache(s).get(L);return Object(F.l)(D)?z:"true"===D}getNumber(L,s,z){const D=this.getCache(s).get(L);return Object(F.l)(D)?z:parseInt(D,10)}store(L,s,z){if(Object(F.l)(s))return this.remove(L,z);const D=String(s);return this.getCache(z).get(L)===D||(this.getCache(z).set(L,D),this._onDidChangeStorage.fire({scope:z,key:L})),Promise.resolve()}remove(L,s){return this.getCache(s).delete(L)?(this._onDidChangeStorage.fire({scope:s,key:L}),Promise.resolve()):Promise.resolve()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});let l=0;function q(y,F,P){return function(){const Y="$memoize"+l++;let R;const L=function(s,z,D){let Q=null,B=null;if("function"==typeof D.value?(Q="value",B=D.value,0!==B.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof D.get&&(Q="get",B=D.get),!B)throw new Error("not supported");const C=`${Y}:${z}`;D[Q]=function(...k){return R=this,this.hasOwnProperty(C)||Object.defineProperty(this,C,{configurable:!0,enumerable:!1,writable:!0,value:B.apply(this,k)}),this[C]}};return L.clear=()=>{void 0!==R&&Object.getOwnPropertyNames(R).forEach(s=>{0===s.indexOf(Y)&&delete R[s]})},L}()(y,F,P)}},function(Ga,t,f){"use strict";var l;f.d(t,"a",function(){return l}),function(q){function y(P,Y){if(P.start>=Y.end||Y.start>=P.end)return{start:0,end:0};const R=Math.max(P.start,Y.start),L=Math.min(P.end,Y.end);return L-R<=0?{start:0,end:0}:{start:R,end:L}}function F(P){return P.end-P.start<=0}q.intersect=y,q.isEmpty=F,q.intersects=function(P,Y){return!F(y(P,Y))},q.relativeComplement=function(P,Y){const R=[],L={start:P.start,end:Math.min(Y.start,P.end)},s={start:Math.max(Y.end,P.start),end:P.end};return F(L)||R.push(L),F(s)||R.push(s),R}}(l||(l={}))},function(Ga,t,f){"use strict";f.d(t,"a",function(){return D});var l=f(25),q=f(6),y=f(43),F=f(23),P=f(9),Y=f(3),R=f(21),L=f(77),s=f(40);class z{static chord(Q,B){return Object(y.a)(Q,B)}}function D(){return{editor:void 0,languages:void 0,CancellationTokenSource:l.b,Emitter:q.a,KeyCode:s.o,KeyMod:z,Position:P.a,Range:Y.a,Selection:R.a,SelectionDirection:s.z,MarkerSeverity:s.p,MarkerTag:s.q,Uri:F.a,Token:L.a}}z.CtrlCmd=2048,z.Shift=1024,z.Alt=512,z.WinCtrl=256},function(Ga,t,f){"use strict";f.d(t,"b",function(){return q}),f.d(t,"a",function(){return y});var l=f(36);class q{constructor(F,P){this.index=F,this.remainder=P}}class y{constructor(F){this.values=F,this.prefixSum=new Uint32Array(F.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(F,P){F=Object(l.a)(F);const Y=this.values,R=this.prefixSum,L=P.length;return 0!==L&&(this.values=new Uint32Array(Y.length+L),this.values.set(Y.subarray(0,F),0),this.values.set(Y.subarray(F),F+L),this.values.set(P,F),F-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=F-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(R.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(F,P){return F=Object(l.a)(F),P=Object(l.a)(P),this.values[F]!==P&&(this.values[F]=P,F-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=F-1),!0)}removeValues(F,P){F=Object(l.a)(F),P=Object(l.a)(P);const Y=this.values,R=this.prefixSum;if(F>=Y.length)return!1;let L=Y.length-F;return P>=L&&(P=L),0!==P&&(this.values=new Uint32Array(Y.length-P),this.values.set(Y.subarray(0,F),0),this.values.set(Y.subarray(F+P),F),this.prefixSum=new Uint32Array(this.values.length),F-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=F-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(R.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(F){return F<0?0:(F=Object(l.a)(F),this._getAccumulatedValue(F))}_getAccumulatedValue(F){if(F<=this.prefixSumValidIndex[0])return this.prefixSum[F];let P=this.prefixSumValidIndex[0]+1;0===P&&(this.prefixSum[0]=this.values[0],P++),F>=this.values.length&&(F=this.values.length-1);for(let Y=P;Y<=F;Y++)this.prefixSum[Y]=this.prefixSum[Y-1]+this.values[Y];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],F),this.prefixSum[F]}getIndexOf(F){F=Math.floor(F),this.getTotalValue();let P=0,Y=this.values.length-1,R=0,L=0,s=0;for(;P<=Y;)if(R=P+(Y-P)/2|0,L=this.prefixSum[R],s=L-this.values[R],F<s)Y=R-1;else{if(!(F>=L))break;P=R+1}return new q(R,F-s)}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return F}),f.d(t,"c",function(){return P}),f.d(t,"a",function(){return L});var l=f(18),q=f(2),y=f(6);const F=Object(l.c)("logService");var P;!function(s){s[s.Trace=0]="Trace",s[s.Debug=1]="Debug",s[s.Info=2]="Info",s[s.Warning=3]="Warning",s[s.Error=4]="Error",s[s.Critical=5]="Critical",s[s.Off=6]="Off"}(P||(P={}));const Y=P.Info;class R extends q.a{constructor(){super(...arguments),this.level=Y,this._onDidChangeLogLevel=this._register(new y.a())}setLevel(s){this.level!==s&&(this.level=s,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class L extends R{constructor(s=Y){super(),this.setLevel(s)}trace(s,...z){this.getLevel()<=P.Trace&&console.log("%cTRACE","color: #888",s,...z)}info(s,...z){this.getLevel()<=P.Info&&console.log("%c INFO","color: #33f",s,...z)}error(s,...z){this.getLevel()<=P.Error&&console.log("%c ERR","color: #f33",s,...z)}dispose(){}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return R}),f.d(t,"a",function(){return L});var l=f(1),q=f(11),y=f(177),F=f(69),P=f(2),Y=f(138);function R(s,z){let D=new F.a(z);return D.preventDefault(),{leftButton:D.leftButton,buttons:D.buttons,posx:D.posx,posy:D.posy}}class L{constructor(){this._hooks=new P.b(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(s){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const z=this._onStopCallback;this._onStopCallback=null,s&&z&&z()}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(s,z,D,Q,B){if(this.isMonitoring())return;this._mouseMoveEventMerger=D,this._mouseMoveCallback=Q,this._onStopCallback=B;const C=y.a.getSameOriginWindowChain(),k=q.c&&Y.a.pointerEvents?"pointermove":"mousemove",w=q.c&&Y.a.pointerEvents?"pointerup":"mouseup",x=C.map(A=>A.window.document),u=l.E(s);u&&x.unshift(u);for(const A of x)this._hooks.add(l.l(A,k,U=>{U.buttons===z?this._mouseMoveCallback(U):this.stopMonitoring(!0)},(U,da)=>this._mouseMoveEventMerger(U,da))),this._hooks.add(l.i(A,w,U=>this.stopMonitoring(!0)));if(y.a.hasDifferentOriginAncestor()){let A=C[C.length-1];this._hooks.add(l.i(A.window.document,"mouseout",U=>{"html"===new F.a(U).target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(l.i(A.window.document,"mouseover",U=>{"html"===new F.a(U).target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(l.i(A.window.document.body,"mouseleave",U=>{this.stopMonitoring(!0)}))}}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return fb});var l=f(15);class q{constructor(za,ua,ba,$){this.originalStart=za,this.originalLength=ua,this.modifiedStart=ba,this.modifiedLength=$}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var y=f(89);class F{constructor(za){this.source=za}getElements(){const za=this.source,ua=new Int32Array(za.length);for(let ba=0,$=za.length;ba<$;ba++)ua[ba]=za.charCodeAt(ba);return ua}}function P(za,ua,ba){return new s(new F(za),new F(ua)).ComputeDiff(ba).changes}class Y{static Assert(za,ua){if(!za)throw new Error(ua)}}class R{static Copy(za,ua,ba,$,S){for(let aa=0;aa<S;aa++)ba[$+aa]=za[ua+aa]}static Copy2(za,ua,ba,$,S){for(let aa=0;aa<S;aa++)ba[$+aa]=za[ua+aa]}}class L{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new q(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(za,ua){this.m_originalStart=Math.min(this.m_originalStart,za),this.m_modifiedStart=Math.min(this.m_modifiedStart,ua),this.m_originalCount++}AddModifiedElement(za,ua){this.m_originalStart=Math.min(this.m_originalStart,za),this.m_modifiedStart=Math.min(this.m_modifiedStart,ua),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class s{constructor(za,ua,ba=null){this.ContinueProcessingPredicate=ba;const[$,S,aa]=s._getElements(za),[_,I,ka]=s._getElements(ua);this._hasStrings=aa&&ka,this._originalStringElements=$,this._originalElementsOrHash=S,this._modifiedStringElements=_,this._modifiedElementsOrHash=I,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(za){return za.length>0&&"string"==typeof za[0]}static _getElements(za){const ua=za.getElements();if(s._isStringArray(ua)){const ba=new Int32Array(ua.length);for(let $=0,S=ua.length;$<S;$++)ba[$]=Object(y.c)(ua[$],0);return[ua,ba,!0]}return ua instanceof Int32Array?[[],ua,!1]:[[],new Int32Array(ua),!1]}ElementsAreEqual(za,ua){return this._originalElementsOrHash[za]===this._modifiedElementsOrHash[ua]&&(!this._hasStrings||this._originalStringElements[za]===this._modifiedStringElements[ua])}OriginalElementsAreEqual(za,ua){return this._originalElementsOrHash[za]===this._originalElementsOrHash[ua]&&(!this._hasStrings||this._originalStringElements[za]===this._originalStringElements[ua])}ModifiedElementsAreEqual(za,ua){return this._modifiedElementsOrHash[za]===this._modifiedElementsOrHash[ua]&&(!this._hasStrings||this._modifiedStringElements[za]===this._modifiedStringElements[ua])}ComputeDiff(za){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,za)}_ComputeDiff(za,ua,ba,$,S){const aa=[!1];let _=this.ComputeDiffRecursive(za,ua,ba,$,aa);return S&&(_=this.PrettifyChanges(_)),{quitEarly:aa[0],changes:_}}ComputeDiffRecursive(za,ua,ba,$,S){for(S[0]=!1;za<=ua&&ba<=$&&this.ElementsAreEqual(za,ba);)za++,ba++;for(;ua>=za&&$>=ba&&this.ElementsAreEqual(ua,$);)ua--,$--;if(za>ua||ba>$){let La;return ba<=$?(Y.Assert(za===ua+1,"originalStart should only be one more than originalEnd"),La=[new q(za,0,ba,$-ba+1)]):za<=ua?(Y.Assert(ba===$+1,"modifiedStart should only be one more than modifiedEnd"),La=[new q(za,ua-za+1,ba,0)]):(Y.Assert(za===ua+1,"originalStart should only be one more than originalEnd"),Y.Assert(ba===$+1,"modifiedStart should only be one more than modifiedEnd"),La=[]),La}const aa=[0],_=[0],I=this.ComputeRecursionPoint(za,ua,ba,$,aa,_,S),ka=aa[0],va=_[0];if(null!==I)return I;if(!S[0]){const La=this.ComputeDiffRecursive(za,ka,ba,va,S);let $a=[];return $a=S[0]?[new q(ka+1,ua-(ka+1)+1,va+1,$-(va+1)+1)]:this.ComputeDiffRecursive(ka+1,ua,va+1,$,S),this.ConcatenateChanges(La,$a)}return[new q(za,ua-za+1,ba,$-ba+1)]}WALKTRACE(za,ua,ba,$,S,aa,_,I,ka,va,La,$a,Ab,gb,Fb,wb,tc,rb){let wc=null,vc=null,cb=new L(),Ob=ua,uc=ba,Cc=Ab[0]-wb[0]-$,Kc=-1073741824,Yc=this.m_forwardHistory.length-1;do{const sc=Cc+za;sc===Ob||sc<uc&&ka[sc-1]<ka[sc+1]?(gb=(La=ka[sc+1])-Cc-$,La<Kc&&cb.MarkNextChange(),Kc=La,cb.AddModifiedElement(La+1,gb),Cc=sc+1-za):(gb=(La=ka[sc-1]+1)-Cc-$,La<Kc&&cb.MarkNextChange(),Kc=La-1,cb.AddOriginalElement(La,gb+1),Cc=sc-1-za),Yc>=0&&(za=(ka=this.m_forwardHistory[Yc])[0],Ob=1,uc=ka.length-1)}while(--Yc>=-1);if(wc=cb.getReverseChanges(),rb[0]){let sc=Ab[0]+1,Nb=wb[0]+1;if(null!==wc&&wc.length>0){const Fc=wc[wc.length-1];sc=Math.max(sc,Fc.getOriginalEnd()),Nb=Math.max(Nb,Fc.getModifiedEnd())}vc=[new q(sc,$a-sc+1,Nb,Fb-Nb+1)]}else{cb=new L(),Ob=aa,uc=_,Cc=Ab[0]-wb[0]-I,Kc=1073741824,Yc=tc?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const sc=Cc+S;sc===Ob||sc<uc&&va[sc-1]>=va[sc+1]?(gb=(La=va[sc+1]-1)-Cc-I,La>Kc&&cb.MarkNextChange(),Kc=La+1,cb.AddOriginalElement(La+1,gb+1),Cc=sc+1-S):(gb=(La=va[sc-1])-Cc-I,La>Kc&&cb.MarkNextChange(),Kc=La,cb.AddModifiedElement(La+1,gb+1),Cc=sc-1-S),Yc>=0&&(S=(va=this.m_reverseHistory[Yc])[0],Ob=1,uc=va.length-1)}while(--Yc>=-1);vc=cb.getChanges()}return this.ConcatenateChanges(wc,vc)}ComputeRecursionPoint(za,ua,ba,$,S,aa,_){let I=0,ka=0,va=0,La=0,$a=0,Ab=0;za--,ba--,S[0]=0,aa[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const gb=ua-za+($-ba),Fb=gb+1,wb=new Int32Array(Fb),tc=new Int32Array(Fb),rb=$-ba,wc=ua-za,vc=za-ba,cb=ua-$,Ob=(wc-rb)%2==0;wb[rb]=za,tc[wc]=ua,_[0]=!1;for(let uc=1;uc<=gb/2+1;uc++){let Cc=0,Kc=0;va=this.ClipDiagonalBound(rb-uc,uc,rb,Fb),La=this.ClipDiagonalBound(rb+uc,uc,rb,Fb);for(let sc=va;sc<=La;sc+=2){I=sc===va||sc<La&&wb[sc-1]<wb[sc+1]?wb[sc+1]:wb[sc-1]+1,ka=I-(sc-rb)-vc;const Nb=I;for(;I<ua&&ka<$&&this.ElementsAreEqual(I+1,ka+1);)I++,ka++;if(wb[sc]=I,I+ka>Cc+Kc&&(Cc=I,Kc=ka),!Ob&&Math.abs(sc-wc)<=uc-1&&I>=tc[sc])return S[0]=I,aa[0]=ka,Nb<=tc[sc]&&uc<=1448?this.WALKTRACE(rb,va,La,vc,wc,$a,Ab,cb,wb,tc,I,ua,S,ka,$,aa,Ob,_):null}const Yc=(Cc-za+(Kc-ba)-uc)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(Cc,Yc))return _[0]=!0,S[0]=Cc,aa[0]=Kc,Yc>0&&uc<=1448?this.WALKTRACE(rb,va,La,vc,wc,$a,Ab,cb,wb,tc,I,ua,S,ka,$,aa,Ob,_):(za++,ba++,[new q(za,ua-za+1,ba,$-ba+1)]);$a=this.ClipDiagonalBound(wc-uc,uc,wc,Fb),Ab=this.ClipDiagonalBound(wc+uc,uc,wc,Fb);for(let sc=$a;sc<=Ab;sc+=2){I=sc===$a||sc<Ab&&tc[sc-1]>=tc[sc+1]?tc[sc+1]-1:tc[sc-1],ka=I-(sc-wc)-cb;const Nb=I;for(;I>za&&ka>ba&&this.ElementsAreEqual(I,ka);)I--,ka--;if(tc[sc]=I,Ob&&Math.abs(sc-rb)<=uc&&I<=wb[sc])return S[0]=I,aa[0]=ka,Nb>=wb[sc]&&uc<=1448?this.WALKTRACE(rb,va,La,vc,wc,$a,Ab,cb,wb,tc,I,ua,S,ka,$,aa,Ob,_):null}if(uc<=1447){let sc=new Int32Array(La-va+2);sc[0]=rb-va+1,R.Copy2(wb,va,sc,1,La-va+1),this.m_forwardHistory.push(sc),sc=new Int32Array(Ab-$a+2),sc[0]=wc-$a+1,R.Copy2(tc,$a,sc,1,Ab-$a+1),this.m_reverseHistory.push(sc)}}return this.WALKTRACE(rb,va,La,vc,wc,$a,Ab,cb,wb,tc,I,ua,S,ka,$,aa,Ob,_)}PrettifyChanges(za){for(let ua=0;ua<za.length;ua++){const ba=za[ua],$=ua<za.length-1?za[ua+1].originalStart:this._originalElementsOrHash.length,S=ua<za.length-1?za[ua+1].modifiedStart:this._modifiedElementsOrHash.length,aa=ba.originalLength>0,_=ba.modifiedLength>0;for(;ba.originalStart+ba.originalLength<$&&ba.modifiedStart+ba.modifiedLength<S&&(!aa||this.OriginalElementsAreEqual(ba.originalStart,ba.originalStart+ba.originalLength))&&(!_||this.ModifiedElementsAreEqual(ba.modifiedStart,ba.modifiedStart+ba.modifiedLength));)ba.originalStart++,ba.modifiedStart++;let I=[null];ua<za.length-1&&this.ChangesOverlap(za[ua],za[ua+1],I)&&(za[ua]=I[0],za.splice(ua+1,1),ua--)}for(let ua=za.length-1;ua>=0;ua--){const ba=za[ua];let $=0,S=0;if(ua>0){const va=za[ua-1];va.originalLength>0&&($=va.originalStart+va.originalLength),va.modifiedLength>0&&(S=va.modifiedStart+va.modifiedLength)}const aa=ba.originalLength>0,_=ba.modifiedLength>0;let I=0,ka=this._boundaryScore(ba.originalStart,ba.originalLength,ba.modifiedStart,ba.modifiedLength);for(let va=1;;va++){const La=ba.originalStart-va,$a=ba.modifiedStart-va;if(La<$||$a<S)break;if(aa&&!this.OriginalElementsAreEqual(La,La+ba.originalLength))break;if(_&&!this.ModifiedElementsAreEqual($a,$a+ba.modifiedLength))break;const Ab=this._boundaryScore(La,ba.originalLength,$a,ba.modifiedLength);Ab>ka&&(ka=Ab,I=va)}ba.originalStart-=I,ba.modifiedStart-=I}return za}_OriginalIsBoundary(za){return za<=0||za>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[za])}_OriginalRegionIsBoundary(za,ua){if(this._OriginalIsBoundary(za)||this._OriginalIsBoundary(za-1))return!0;if(ua>0){const ba=za+ua;if(this._OriginalIsBoundary(ba-1)||this._OriginalIsBoundary(ba))return!0}return!1}_ModifiedIsBoundary(za){return za<=0||za>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[za])}_ModifiedRegionIsBoundary(za,ua){if(this._ModifiedIsBoundary(za)||this._ModifiedIsBoundary(za-1))return!0;if(ua>0){const ba=za+ua;if(this._ModifiedIsBoundary(ba-1)||this._ModifiedIsBoundary(ba))return!0}return!1}_boundaryScore(za,ua,ba,$){return(this._OriginalRegionIsBoundary(za,ua)?1:0)+(this._ModifiedRegionIsBoundary(ba,$)?1:0)}ConcatenateChanges(za,ua){let ba=[];if(0===za.length||0===ua.length)return ua.length>0?ua:za;if(this.ChangesOverlap(za[za.length-1],ua[0],ba)){const $=new Array(za.length+ua.length-1);return R.Copy(za,0,$,0,za.length-1),$[za.length-1]=ba[0],R.Copy(ua,1,$,za.length,ua.length-1),$}{const $=new Array(za.length+ua.length);return R.Copy(za,0,$,0,za.length),R.Copy(ua,0,$,za.length,ua.length),$}}ChangesOverlap(za,ua,ba){if(Y.Assert(za.originalStart<=ua.originalStart,"Left change is not less than or equal to right change"),Y.Assert(za.modifiedStart<=ua.modifiedStart,"Left change is not less than or equal to right change"),za.originalStart+za.originalLength>=ua.originalStart||za.modifiedStart+za.modifiedLength>=ua.modifiedStart){const $=za.originalStart;let S=za.originalLength;const aa=za.modifiedStart;let _=za.modifiedLength;return za.originalStart+za.originalLength>=ua.originalStart&&(S=ua.originalStart+ua.originalLength-za.originalStart),za.modifiedStart+za.modifiedLength>=ua.modifiedStart&&(_=ua.modifiedStart+ua.modifiedLength-za.modifiedStart),ba[0]=new q($,S,aa,_),!0}return ba[0]=null,!1}ClipDiagonalBound(za,ua,ba,$){if(za>=0&&za<$)return za;const S=ua%2==0;return za<0?S===(ba%2==0)?0:1:S===(($-ba-1)%2==0)?$-1:$-2}}var z=f(11),D=f(23),Q=f(9),B=f(3),C=f(8);function k(za,ua,ba,$){return new s(za,ua,ba).ComputeDiff($)}class w{constructor(za){const ua=[],ba=[];for(let $=0,S=za.length;$<S;$++)ua[$]=da(za[$],1),ba[$]=Z(za[$],1);this.lines=za,this._startColumns=ua,this._endColumns=ba}getElements(){const za=[];for(let ua=0,ba=this.lines.length;ua<ba;ua++)za[ua]=this.lines[ua].substring(this._startColumns[ua]-1,this._endColumns[ua]-1);return za}getStartLineNumber(za){return za+1}getEndLineNumber(za){return za+1}createCharSequence(za,ua,ba){const $=[],S=[],aa=[];let _=0;for(let I=ua;I<=ba;I++){const ka=this.lines[I],va=za?this._startColumns[I]:1,La=za?this._endColumns[I]:ka.length+1;for(let $a=va;$a<La;$a++)$[_]=ka.charCodeAt($a-1),S[_]=I+1,aa[_]=$a,_++}return new x($,S,aa)}}class x{constructor(za,ua,ba){this._charCodes=za,this._lineNumbers=ua,this._columns=ba}getElements(){return this._charCodes}getStartLineNumber(za){return this._lineNumbers[za]}getStartColumn(za){return this._columns[za]}getEndLineNumber(za){return this._lineNumbers[za]}getEndColumn(za){return this._columns[za]+1}}class u{constructor(za,ua,ba,$,S,aa,_,I){this.originalStartLineNumber=za,this.originalStartColumn=ua,this.originalEndLineNumber=ba,this.originalEndColumn=$,this.modifiedStartLineNumber=S,this.modifiedStartColumn=aa,this.modifiedEndLineNumber=_,this.modifiedEndColumn=I}static createFromDiffChange(za,ua,ba){let $,S,aa,_,I,ka,va,La;return 0===za.originalLength?($=0,S=0,aa=0,_=0):($=ua.getStartLineNumber(za.originalStart),S=ua.getStartColumn(za.originalStart),aa=ua.getEndLineNumber(za.originalStart+za.originalLength-1),_=ua.getEndColumn(za.originalStart+za.originalLength-1)),0===za.modifiedLength?(I=0,ka=0,va=0,La=0):(I=ba.getStartLineNumber(za.modifiedStart),ka=ba.getStartColumn(za.modifiedStart),va=ba.getEndLineNumber(za.modifiedStart+za.modifiedLength-1),La=ba.getEndColumn(za.modifiedStart+za.modifiedLength-1)),new u($,S,aa,_,I,ka,va,La)}}class A{constructor(za,ua,ba,$,S){this.originalStartLineNumber=za,this.originalEndLineNumber=ua,this.modifiedStartLineNumber=ba,this.modifiedEndLineNumber=$,this.charChanges=S}static createFromDiffResult(za,ua,ba,$,S,aa,_){let I,ka,va,La,$a;if(0===ua.originalLength?(I=ba.getStartLineNumber(ua.originalStart)-1,ka=0):(I=ba.getStartLineNumber(ua.originalStart),ka=ba.getEndLineNumber(ua.originalStart+ua.originalLength-1)),0===ua.modifiedLength?(va=$.getStartLineNumber(ua.modifiedStart)-1,La=0):(va=$.getStartLineNumber(ua.modifiedStart),La=$.getEndLineNumber(ua.modifiedStart+ua.modifiedLength-1)),aa&&ua.originalLength>0&&ua.originalLength<20&&ua.modifiedLength>0&&ua.modifiedLength<20&&S()){const Ab=ba.createCharSequence(za,ua.originalStart,ua.originalStart+ua.originalLength-1),gb=$.createCharSequence(za,ua.modifiedStart,ua.modifiedStart+ua.modifiedLength-1);let Fb=k(Ab,gb,S,!0).changes;_&&(Fb=function(wb){if(wb.length<=1)return wb;const tc=[wb[0]];let rb=tc[0];for(let wc=1,vc=wb.length;wc<vc;wc++){const cb=wb[wc],Ob=cb.originalStart-(rb.originalStart+rb.originalLength),uc=cb.modifiedStart-(rb.modifiedStart+rb.modifiedLength);Math.min(Ob,uc)<3?(rb.originalLength=cb.originalStart+cb.originalLength-rb.originalStart,rb.modifiedLength=cb.modifiedStart+cb.modifiedLength-rb.modifiedStart):(tc.push(cb),rb=cb)}return tc}(Fb)),$a=[];for(let wb=0,tc=Fb.length;wb<tc;wb++)$a.push(u.createFromDiffChange(Fb[wb],Ab,gb))}return new A(I,ka,va,La,$a)}}class U{constructor(za,ua,ba){this.shouldComputeCharChanges=ba.shouldComputeCharChanges,this.shouldPostProcessCharChanges=ba.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=ba.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=ba.shouldMakePrettyDiff,this.originalLines=za,this.modifiedLines=ua,this.original=new w(za),this.modified=new w(ua),this.continueLineDiff=H(ba.maxComputationTime),this.continueCharDiff=H(0===ba.maxComputationTime?0:Math.min(ba.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const za=k(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),ua=za.changes,ba=za.quitEarly;if(this.shouldIgnoreTrimWhitespace){const _=[];for(let I=0,ka=ua.length;I<ka;I++)_.push(A.createFromDiffResult(this.shouldIgnoreTrimWhitespace,ua[I],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:ba,changes:_}}const $=[];let S=0,aa=0;for(let _=-1,I=ua.length;_<I;_++){const ka=_+1<I?ua[_+1]:null,va=ka?ka.originalStart:this.originalLines.length,La=ka?ka.modifiedStart:this.modifiedLines.length;for(;S<va&&aa<La;){const $a=this.originalLines[S],Ab=this.modifiedLines[aa];if($a!==Ab){{let gb=da($a,1),Fb=da(Ab,1);for(;gb>1&&Fb>1;){if($a.charCodeAt(gb-2)!==Ab.charCodeAt(Fb-2))break;gb--,Fb--}(gb>1||Fb>1)&&this._pushTrimWhitespaceCharChange($,S+1,1,gb,aa+1,1,Fb)}{let gb=Z($a,1),Fb=Z(Ab,1);const wb=$a.length+1,tc=Ab.length+1;for(;gb<wb&&Fb<tc;){if($a.charCodeAt(gb-1)!==$a.charCodeAt(Fb-1))break;gb++,Fb++}(gb<wb||Fb<tc)&&this._pushTrimWhitespaceCharChange($,S+1,gb,wb,aa+1,Fb,tc)}}S++,aa++}ka&&($.push(A.createFromDiffResult(this.shouldIgnoreTrimWhitespace,ka,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),S+=ka.originalLength,aa+=ka.modifiedLength)}return{quitEarly:ba,changes:$}}_pushTrimWhitespaceCharChange(za,ua,ba,$,S,aa,_){if(this._mergeTrimWhitespaceCharChange(za,ua,ba,$,S,aa,_))return;let I;this.shouldComputeCharChanges&&(I=[new u(ua,ba,ua,$,S,aa,S,_)]),za.push(new A(ua,ua,S,S,I))}_mergeTrimWhitespaceCharChange(za,ua,ba,$,S,aa,_){const I=za.length;if(0===I)return!1;const ka=za[I-1];return 0!==ka.originalEndLineNumber&&0!==ka.modifiedEndLineNumber&&(ka.originalEndLineNumber+1===ua&&ka.modifiedEndLineNumber+1===S&&(ka.originalEndLineNumber=ua,ka.modifiedEndLineNumber=S,this.shouldComputeCharChanges&&ka.charChanges&&ka.charChanges.push(new u(ua,ba,ua,$,S,aa,S,_)),!0))}}function da(za,ua){const ba=C.w(za);return-1===ba?ua:ba+1}function Z(za,ua){const ba=C.J(za);return-1===ba?ua:ba+2}function H(za){if(0===za)return()=>!0;const ua=Date.now();return()=>Date.now()-ua<za}var ea=f(101),oa=f(73),ga=f(76);class Ba{constructor(za,ua,ba){const $=new Uint8Array(za*ua);for(let S=0,aa=za*ua;S<aa;S++)$[S]=ba;this._data=$,this.rows=za,this.cols=ua}get(za,ua){return this._data[za*this.cols+ua]}set(za,ua,ba){this._data[za*this.cols+ua]=ba}}class N{constructor(za){let ua=0,ba=0;for(let S=0,aa=za.length;S<aa;S++){let[_,I,ka]=za[S];I>ua&&(ua=I),_>ba&&(ba=_),ka>ba&&(ba=ka)}ua++,ba++;let $=new Ba(ba,ua,0);for(let S=0,aa=za.length;S<aa;S++){let[_,I,ka]=za[S];$.set(_,I,ka)}this._states=$,this._maxCharCode=ua}nextState(za,ua){return ua<0||ua>=this._maxCharCode?0:this._states.get(za,ua)}}let V=null,ma=null;class ta{static _createLink(za,ua,ba,$,S){let aa=S-1;do{const _=ua.charCodeAt(aa);if(2!==za.get(_))break;aa--}while(aa>$);if($>0){const _=ua.charCodeAt($-1),I=ua.charCodeAt(aa);(40===_&&41===I||91===_&&93===I||123===_&&125===I)&&aa--}return{range:{startLineNumber:ba,startColumn:$+1,endLineNumber:ba,endColumn:aa+2},url:ua.substring($,aa+1)}}static computeLinks(za,ua=function(){return null===V&&(V=new N([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),V}()){const ba=function(){if(null===ma){ma=new ga.a(0);const S=` <>'"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…`;for(let _=0;_<S.length;_++)ma.set(S.charCodeAt(_),1);const aa=".,;";for(let _=0;_<aa.length;_++)ma.set(aa.charCodeAt(_),2)}return ma}();let $=[];for(let S=1,aa=za.getLineCount();S<=aa;S++){const _=za.getLineContent(S),I=_.length;let ka=0,va=0,La=0,$a=1,Ab=!1,gb=!1,Fb=!1,wb=!1;for(;ka<I;){let tc=!1;const rb=_.charCodeAt(ka);if(13===$a){let wc;switch(rb){case 40:Ab=!0,wc=0;break;case 41:wc=Ab?0:1;break;case 91:Fb=!0,gb=!0,wc=0;break;case 93:Fb=!1,wc=gb?0:1;break;case 123:wb=!0,wc=0;break;case 125:wc=wb?0:1;break;case 39:wc=34===La||96===La?0:1;break;case 34:wc=39===La||96===La?0:1;break;case 96:wc=39===La||34===La?0:1;break;case 42:wc=42===La?1:0;break;case 124:wc=124===La?1:0;break;case 32:wc=Fb?0:1;break;default:wc=ba.get(rb)}1===wc&&($.push(ta._createLink(ba,_,S,va,ka)),tc=!0)}else if(12===$a){let wc;91===rb?(gb=!0,wc=0):wc=ba.get(rb),1===wc?tc=!0:$a=13}else $a=ua.nextState($a,rb),0===$a&&(tc=!0);tc&&($a=1,Ab=!1,gb=!1,wb=!1,va=ka+1,La=rb),ka++}13===$a&&$.push(ta._createLink(ba,_,S,va,I))}return $}}class Da{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(za,ua,ba,$,S){if(za&&ua){let aa=this.doNavigateValueSet(ua,S);if(aa)return{range:za,value:aa}}if(ba&&$){let aa=this.doNavigateValueSet($,S);if(aa)return{range:ba,value:aa}}return null}doNavigateValueSet(za,ua){let ba=this.numberReplace(za,ua);return null!==ba?ba:this.textReplace(za,ua)}numberReplace(za,ua){let ba=Math.pow(10,za.length-(za.lastIndexOf(".")+1)),$=Number(za),S=parseFloat(za);return isNaN($)||isNaN(S)||$!==S?null:0!==$||ua?($=Math.floor($*ba),$+=ua?ba:-ba,String($/ba)):null}textReplace(za,ua){return this.valueSetsReplace(this._defaultValueSet,za,ua)}valueSetsReplace(za,ua,ba){let $=null;for(let S=0,aa=za.length;null===$&&S<aa;S++)$=this.valueSetReplace(za[S],ua,ba);return $}valueSetReplace(za,ua,ba){let $=za.indexOf(ua);return $>=0?($+=ba?1:-1,$<0?$=za.length-1:$%=za.length,za[$]):null}}Da.INSTANCE=new Da();var Ka=f(100),G=f(14),hb=function(za,ua,ba,$){return new(ba||(ba=Promise))(function(S,aa){function _(va){try{ka($.next(va))}catch(La){aa(La)}}function I(va){try{ka($.throw(va))}catch(La){aa(La)}}function ka(va){var La;va.done?S(va.value):(La=va.value,La instanceof ba?La:new ba(function($a){$a(La)})).then(_,I)}ka(($=$.apply(za,ua||[])).next())})};class _a extends class{constructor(za,ua,ba,$){this._uri=za,this._lines=ua,this._eol=ba,this._versionId=$,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(za){za.eol&&za.eol!==this._eol&&(this._eol=za.eol,this._lineStarts=null);const ua=za.changes;for(const ba of ua)this._acceptDeleteRange(ba.range),this._acceptInsertText(new Q.a(ba.range.startLineNumber,ba.range.startColumn),ba.text);this._versionId=za.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const za=this._eol.length,ua=this._lines.length,ba=new Uint32Array(ua);for(let $=0;$<ua;$++)ba[$]=this._lines[$].length+za;this._lineStarts=new ea.a(ba)}}_setLineText(za,ua){this._lines[za]=ua,this._lineStarts&&this._lineStarts.changeValue(za,this._lines[za].length+this._eol.length)}_acceptDeleteRange(za){if(za.startLineNumber!==za.endLineNumber)this._setLineText(za.startLineNumber-1,this._lines[za.startLineNumber-1].substring(0,za.startColumn-1)+this._lines[za.endLineNumber-1].substring(za.endColumn-1)),this._lines.splice(za.startLineNumber,za.endLineNumber-za.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(za.startLineNumber,za.endLineNumber-za.startLineNumber);else{if(za.startColumn===za.endColumn)return;this._setLineText(za.startLineNumber-1,this._lines[za.startLineNumber-1].substring(0,za.startColumn-1)+this._lines[za.startLineNumber-1].substring(za.endColumn-1))}}_acceptInsertText(za,ua){if(0===ua.length)return;let ba=ua.split(/\r\n|\r|\n/);if(1===ba.length)return void this._setLineText(za.lineNumber-1,this._lines[za.lineNumber-1].substring(0,za.column-1)+ba[0]+this._lines[za.lineNumber-1].substring(za.column-1));ba[ba.length-1]+=this._lines[za.lineNumber-1].substring(za.column-1),this._setLineText(za.lineNumber-1,this._lines[za.lineNumber-1].substring(0,za.column-1)+ba[0]);let $=new Uint32Array(ba.length-1);for(let S=1;S<ba.length;S++)this._lines.splice(za.lineNumber+S-1,0,ba[S]),$[S-1]=ba[S].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(za.lineNumber,$)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(za){return this._lines[za-1]}getWordAtPosition(za,ua){let ba=Object(oa.d)(za.column,Object(oa.c)(ua),this._lines[za.lineNumber-1],0);return ba?new B.a(za.lineNumber,ba.startColumn,za.lineNumber,ba.endColumn):null}words(za){const ua=this._lines,ba=this._wordenize.bind(this);let $=0,S="",aa=0,_=[];return{*[Symbol.iterator](){for(;;)if(aa<_.length){const I=S.substring(_[aa].start,_[aa].end);aa+=1,yield I}else{if(!($<ua.length))break;S=ua[$],_=ba(S,za),aa=0,$+=1}}}}getLineWords(za,ua){let ba=this._lines[za-1],$=this._wordenize(ba,ua),S=[];for(const aa of $)S.push({word:ba.substring(aa.start,aa.end),startColumn:aa.start+1,endColumn:aa.end+1});return S}_wordenize(za,ua){const ba=[];let $;for(ua.lastIndex=0;($=ua.exec(za))&&0!==$[0].length;)ba.push({start:$.index,end:$.index+$[0].length});return ba}getValueInRange(za){if((za=this._validateRange(za)).startLineNumber===za.endLineNumber)return this._lines[za.startLineNumber-1].substring(za.startColumn-1,za.endColumn-1);let ua=this._eol,ba=za.startLineNumber-1,$=za.endLineNumber-1,S=[];S.push(this._lines[ba].substring(za.startColumn-1));for(let aa=ba+1;aa<$;aa++)S.push(this._lines[aa]);return S.push(this._lines[$].substring(0,za.endColumn-1)),S.join(ua)}offsetAt(za){return za=this._validatePosition(za),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(za.lineNumber-2)+(za.column-1)}positionAt(za){za=Math.floor(za),za=Math.max(0,za),this._ensureLineStarts();let ua=this._lineStarts.getIndexOf(za),ba=this._lines[ua.index].length;return{lineNumber:1+ua.index,column:1+Math.min(ua.remainder,ba)}}_validateRange(za){const ua=this._validatePosition({lineNumber:za.startLineNumber,column:za.startColumn}),ba=this._validatePosition({lineNumber:za.endLineNumber,column:za.endColumn});return ua.lineNumber!==za.startLineNumber||ua.column!==za.startColumn||ba.lineNumber!==za.endLineNumber||ba.column!==za.endColumn?{startLineNumber:ua.lineNumber,startColumn:ua.column,endLineNumber:ba.lineNumber,endColumn:ba.column}:za}_validatePosition(za){if(!Q.a.isIPosition(za))throw new Error("bad position");let{lineNumber:ua,column:ba}=za,$=!1;if(ua<1)ua=1,ba=1,$=!0;else if(ua>this._lines.length)ua=this._lines.length,ba=this._lines[ua-1].length+1,$=!0;else{let S=this._lines[ua-1].length+1;ba<1?(ba=1,$=!0):ba>S&&(ba=S,$=!0)}return $?{lineNumber:ua,column:ba}:za}}class fb{constructor(za,ua){this._host=za,this._models=Object.create(null),this._foreignModuleFactory=ua,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(za){return this._models[za]}_getModels(){let za=[];return Object.keys(this._models).forEach(ua=>za.push(this._models[ua])),za}acceptNewModel(za){this._models[za.url]=new _a(D.a.parse(za.url),za.lines,za.EOL,za.versionId)}acceptModelChanged(za,ua){if(!this._models[za])return;this._models[za].onEvents(ua)}acceptRemovedModel(za){this._models[za]&&delete this._models[za]}computeDiff(za,ua,ba,$){return hb(this,void 0,void 0,function*(){const S=this._getModel(za),aa=this._getModel(ua);if(!S||!aa)return null;const _=S.getLinesContent(),I=aa.getLinesContent(),ka=new U(_,I,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:ba,shouldMakePrettyDiff:!0,maxComputationTime:$}).computeDiff(),va=!(ka.changes.length>0)&&this._modelsAreIdentical(S,aa);return{quitEarly:ka.quitEarly,identical:va,changes:ka.changes}})}_modelsAreIdentical(za,ua){const ba=za.getLineCount();if(ba!==ua.getLineCount())return!1;for(let $=1;$<=ba;$++)if(za.getLineContent($)!==ua.getLineContent($))return!1;return!0}computeMoreMinimalEdits(za,ua){return hb(this,void 0,void 0,function*(){const ba=this._getModel(za);if(!ba)return ua;const $=[];let S;ua=Object(l.p)(ua,(aa,_)=>aa.range&&_.range?B.a.compareRangesUsingStarts(aa.range,_.range):(aa.range?0:1)-(_.range?0:1));for(let{range:aa,text:_,eol:I}of ua){if("number"==typeof I&&(S=I),B.a.isEmpty(aa)&&!_)continue;const ka=ba.getValueInRange(aa);if(_=_.replace(/\r\n|\n|\r/g,ba.eol),ka===_)continue;if(Math.max(_.length,ka.length)>fb._diffLimit){$.push({range:aa,text:_});continue}const va=P(ka,_,!1),La=ba.offsetAt(B.a.lift(aa).getStartPosition());for(const $a of va){const Ab=ba.positionAt(La+$a.originalStart),gb=ba.positionAt(La+$a.originalStart+$a.originalLength),Fb={text:_.substr($a.modifiedStart,$a.modifiedLength),range:{startLineNumber:Ab.lineNumber,startColumn:Ab.column,endLineNumber:gb.lineNumber,endColumn:gb.column}};ba.getValueInRange(Fb.range)!==Fb.text&&$.push(Fb)}}return"number"==typeof S&&$.push({eol:S,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),$})}computeLinks(za){return hb(this,void 0,void 0,function*(){let ua=this._getModel(za);return ua?function(ba){return ba&&"function"==typeof ba.getLineCount&&"function"==typeof ba.getLineContent?ta.computeLinks(ba):[]}(ua):null})}textualSuggest(za,ua,ba,$){return hb(this,void 0,void 0,function*(){const S=this._getModel(za);if(!S)return null;const aa=[],_=new Set(),I=new RegExp(ba,$),ka=S.getWordAtPosition(ua,I);ka&&_.add(S.getValueInRange(ka));for(let va of S.words(I))if(!_.has(va)&&(_.add(va),isNaN(Number(va))&&(aa.push(va),_.size>fb._suggestionsLimit)))break;return aa})}computeWordRanges(za,ua,ba,$){return hb(this,void 0,void 0,function*(){let S=this._getModel(za);if(!S)return Object.create(null);const aa=new RegExp(ba,$),_=Object.create(null);for(let I=ua.startLineNumber;I<ua.endLineNumber;I++){let ka=S.getLineWords(I,aa);for(const va of ka){if(!isNaN(Number(va.word)))continue;let La=_[va.word];La||(La=[],_[va.word]=La),La.push({startLineNumber:I,startColumn:va.startColumn,endLineNumber:I,endColumn:va.endColumn})}}return _})}navigateValueSet(za,ua,ba,$,S){return hb(this,void 0,void 0,function*(){let aa=this._getModel(za);if(!aa)return null;let _=new RegExp($,S);ua.startColumn===ua.endColumn&&(ua={startLineNumber:ua.startLineNumber,startColumn:ua.startColumn,endLineNumber:ua.endLineNumber,endColumn:ua.endColumn+1});let I=aa.getValueInRange(ua),ka=aa.getWordAtPosition({lineNumber:ua.startLineNumber,column:ua.startColumn},_);if(!ka)return null;let va=aa.getValueInRange(ka);return Da.INSTANCE.navigateValueSet(ua,I,ka,va,ba)})}loadForeignModule(za,ua,ba){let $={host:G.c(ba,(S,aa)=>this._host.fhr(S,aa)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory($,ua),Promise.resolve(G.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(za,ua){if(!this._foreignModule||"function"!=typeof this._foreignModule[za])return Promise.reject(new Error("Missing requestHandler or method: "+za));try{return Promise.resolve(this._foreignModule[za].apply(this._foreignModule,ua))}catch(ba){return Promise.reject(ba)}}}fb._diffLimit=1e5,fb._suggestionsLimit=1e4,"function"==typeof importScripts&&(z.b.monaco=Object(Ka.a)())},function(Ga,t,f){"use strict";f.d(t,"b",function(){return ga}),f.d(t,"c",function(){return Ba}),f.d(t,"a",function(){return N}),f(220);var l=f(1),q=f(35),y=f(69),F=f(103),P=f(82),Y=f(20);class R extends P.a{constructor(V){super(),this._onActivate=V.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=V.bgWidth+"px",this.bgDomNode.style.height=V.bgHeight+"px",void 0!==V.top&&(this.bgDomNode.style.top="0px"),void 0!==V.left&&(this.bgDomNode.style.left="0px"),void 0!==V.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==V.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=V.className,Object(l.f)(this.domNode,V.icon.classNames),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==V.top&&(this.domNode.style.top=V.top+"px"),void 0!==V.left&&(this.domNode.style.left=V.left+"px"),void 0!==V.bottom&&(this.domNode.style.bottom=V.bottom+"px"),void 0!==V.right&&(this.domNode.style.right=V.right+"px"),this._mouseMoveMonitor=this._register(new F.a()),this.onmousedown(this.bgDomNode,ma=>this._arrowMouseDown(ma)),this.onmousedown(this.domNode,ma=>this._arrowMouseDown(ma)),this._mousedownRepeatTimer=this._register(new Y.c()),this._mousedownScheduleRepeatTimer=this._register(new Y.e())}_arrowMouseDown(V){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._mouseMoveMonitor.startMonitoring(V.target,V.buttons,F.b,ma=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),V.preventDefault()}}var L=f(2);class s extends L.a{constructor(V,ma,ta){super(),this._visibility=V,this._visibleClassName=ma,this._invisibleClassName=ta,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new Y.e())}applyVisibilitySetting(V){return 2!==this._visibility&&(3===this._visibility||V)}setShouldBeVisible(V){let ma=this.applyVisibilitySetting(V);this._shouldBeVisible!==ma&&(this._shouldBeVisible=ma,this.ensureVisibility())}setIsNeeded(V){this._isNeeded!==V&&(this._isNeeded=V,this.ensureVisibility())}setDomNode(V){this._domNode=V,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(V){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(V?" fade":"")))}}var z=f(11);class D extends P.a{constructor(V){super(),this._lazyRender=V.lazyRender,this._host=V.host,this._scrollable=V.scrollable,this._scrollbarState=V.scrollbarState,this._visibilityController=this._register(new s(V.visibility,"visible scrollbar "+V.extraScrollbarClassName,"invisible scrollbar "+V.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new F.a()),this._shouldRender=!0,this.domNode=Object(q.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,ma=>this._domNodeMouseDown(ma))}_createArrow(V){let ma=this._register(new R(V));this.domNode.domNode.appendChild(ma.bgDomNode),this.domNode.domNode.appendChild(ma.domNode)}_createSlider(V,ma,ta,Da){this.slider=Object(q.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(V),this.slider.setLeft(ma),"number"==typeof ta&&this.slider.setWidth(ta),"number"==typeof Da&&this.slider.setHeight(Da),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,Ka=>{Ka.leftButton&&(Ka.preventDefault(),this._sliderMouseDown(Ka,()=>{}))}),this.onclick(this.slider.domNode,Ka=>{Ka.leftButton&&Ka.stopPropagation()})}_onElementSize(V){return this._scrollbarState.setVisibleSize(V)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(V){return this._scrollbarState.setScrollSize(V)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(V){return this._scrollbarState.setScrollPosition(V)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(V){V.target===this.domNode.domNode&&this._onMouseDown(V)}delegateMouseDown(V){let ma=this.domNode.domNode.getClientRects()[0].top,ta=ma+this._scrollbarState.getSliderPosition(),Da=ma+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),Ka=this._sliderMousePosition(V);ta<=Ka&&Ka<=Da?V.leftButton&&(V.preventDefault(),this._sliderMouseDown(V,()=>{})):this._onMouseDown(V)}_onMouseDown(V){let ma,ta;if(V.target===this.domNode.domNode&&"number"==typeof V.browserEvent.offsetX&&"number"==typeof V.browserEvent.offsetY)ma=V.browserEvent.offsetX,ta=V.browserEvent.offsetY;else{const Da=l.C(this.domNode.domNode);ma=V.posx-Da.left,ta=V.posy-Da.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(ma,ta))),V.leftButton&&(V.preventDefault(),this._sliderMouseDown(V,()=>{}))}_sliderMouseDown(V,ma){const ta=this._sliderMousePosition(V),Da=this._sliderOrthogonalMousePosition(V),Ka=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(V.target,V.buttons,F.b,G=>{const hb=this._sliderOrthogonalMousePosition(G),_a=Math.abs(hb-Da);if(z.i&&_a>140)return void this._setDesiredScrollPositionNow(Ka.getScrollPosition());const fb=this._sliderMousePosition(G)-ta;this._setDesiredScrollPositionNow(Ka.getDesiredScrollPositionFromDelta(fb))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),ma()}),this._host.onDragStart()}_setDesiredScrollPositionNow(V){let ma={};this.writeScrollPosition(ma,V),this._scrollable.setScrollPositionNow(ma)}updateScrollbarSize(V){this._updateScrollbarSize(V),this._scrollbarState.setScrollbarSize(V),this._shouldRender=!0,this._lazyRender||this.render()}}class Q{constructor(V,ma,ta,Da,Ka,G){this._scrollbarSize=Math.round(ma),this._oppositeScrollbarSize=Math.round(ta),this._arrowSize=Math.round(V),this._visibleSize=Da,this._scrollSize=Ka,this._scrollPosition=G,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new Q(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(V){let ma=Math.round(V);return this._visibleSize!==ma&&(this._visibleSize=ma,this._refreshComputedValues(),!0)}setScrollSize(V){let ma=Math.round(V);return this._scrollSize!==ma&&(this._scrollSize=ma,this._refreshComputedValues(),!0)}setScrollPosition(V){let ma=Math.round(V);return this._scrollPosition!==ma&&(this._scrollPosition=ma,this._refreshComputedValues(),!0)}setScrollbarSize(V){this._scrollbarSize=V}static _computeValues(V,ma,ta,Da,Ka){const G=Math.max(0,ta-V),hb=Math.max(0,G-2*ma),_a=Da>0&&Da>ta;if(!_a)return{computedAvailableSize:Math.round(G),computedIsNeeded:_a,computedSliderSize:Math.round(hb),computedSliderRatio:0,computedSliderPosition:0};const fb=Math.round(Math.max(20,Math.floor(ta*hb/Da))),za=(hb-fb)/(Da-ta),ua=Ka*za;return{computedAvailableSize:Math.round(G),computedIsNeeded:_a,computedSliderSize:Math.round(fb),computedSliderRatio:za,computedSliderPosition:Math.round(ua)}}_refreshComputedValues(){const V=Q._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=V.computedAvailableSize,this._computedIsNeeded=V.computedIsNeeded,this._computedSliderSize=V.computedSliderSize,this._computedSliderRatio=V.computedSliderRatio,this._computedSliderPosition=V.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(V){if(!this._computedIsNeeded)return 0;let ma=V-this._arrowSize-this._computedSliderSize/2;return Math.round(ma/this._computedSliderRatio)}getDesiredScrollPositionFromDelta(V){if(!this._computedIsNeeded)return 0;let ma=this._computedSliderPosition+V;return Math.round(ma/this._computedSliderRatio)}}var B=f(17);const C=Object(B.e)("scrollbar-button-left",B.a.triangleLeft),k=Object(B.e)("scrollbar-button-right",B.a.triangleRight);class w extends D{constructor(V,ma,ta){const Da=V.getScrollDimensions(),Ka=V.getCurrentScrollPosition();if(super({lazyRender:ma.lazyRender,host:ta,scrollbarState:new Q(ma.horizontalHasArrows?ma.arrowSize:0,2===ma.horizontal?0:ma.horizontalScrollbarSize,2===ma.vertical?0:ma.verticalScrollbarSize,Da.width,Da.scrollWidth,Ka.scrollLeft),visibility:ma.horizontal,extraScrollbarClassName:"horizontal",scrollable:V}),ma.horizontalHasArrows){let G=(ma.arrowSize-11)/2,hb=(ma.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:C,top:hb,left:G,bottom:void 0,right:void 0,bgWidth:ma.arrowSize,bgHeight:ma.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new y.b(null,1,0))}),this._createArrow({className:"scra",icon:k,top:hb,left:void 0,bottom:void 0,right:G,bgWidth:ma.arrowSize,bgHeight:ma.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new y.b(null,-1,0))})}this._createSlider(Math.floor((ma.horizontalScrollbarSize-ma.horizontalSliderSize)/2),0,void 0,ma.horizontalSliderSize)}_updateSlider(V,ma){this.slider.setWidth(V),this.slider.setLeft(ma)}_renderDomNode(V,ma){this.domNode.setWidth(V),this.domNode.setHeight(ma),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(V){return this._shouldRender=this._onElementScrollSize(V.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(V.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(V.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(V,ma){return V}_sliderMousePosition(V){return V.posx}_sliderOrthogonalMousePosition(V){return V.posy}_updateScrollbarSize(V){this.slider.setHeight(V)}writeScrollPosition(V,ma){V.scrollLeft=ma}}const x=Object(B.e)("scrollbar-button-up",B.a.triangleUp),u=Object(B.e)("scrollbar-button-down",B.a.triangleDown);class A extends D{constructor(V,ma,ta){const Da=V.getScrollDimensions(),Ka=V.getCurrentScrollPosition();if(super({lazyRender:ma.lazyRender,host:ta,scrollbarState:new Q(ma.verticalHasArrows?ma.arrowSize:0,2===ma.vertical?0:ma.verticalScrollbarSize,0,Da.height,Da.scrollHeight,Ka.scrollTop),visibility:ma.vertical,extraScrollbarClassName:"vertical",scrollable:V}),ma.verticalHasArrows){let G=(ma.arrowSize-11)/2,hb=(ma.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:x,top:G,left:hb,bottom:void 0,right:void 0,bgWidth:ma.verticalScrollbarSize,bgHeight:ma.arrowSize,onActivate:()=>this._host.onMouseWheel(new y.b(null,0,1))}),this._createArrow({className:"scra",icon:u,top:void 0,left:hb,bottom:G,right:void 0,bgWidth:ma.verticalScrollbarSize,bgHeight:ma.arrowSize,onActivate:()=>this._host.onMouseWheel(new y.b(null,0,-1))})}this._createSlider(0,Math.floor((ma.verticalScrollbarSize-ma.verticalSliderSize)/2),ma.verticalSliderSize,void 0)}_updateSlider(V,ma){this.slider.setHeight(V),this.slider.setTop(ma)}_renderDomNode(V,ma){this.domNode.setWidth(ma),this.domNode.setHeight(V),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(V){return this._shouldRender=this._onElementScrollSize(V.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(V.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(V.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(V,ma){return ma}_sliderMousePosition(V){return V.posy}_sliderOrthogonalMousePosition(V){return V.posx}_updateScrollbarSize(V){this.slider.setWidth(V)}writeScrollPosition(V,ma){V.scrollTop=ma}}var U=f(6),da=f(170),Z=f(34);class H{constructor(V,ma,ta){this.timestamp=V,this.deltaX=ma,this.deltaY=ta,this.score=0}}class ea{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let V=1,ma=0,ta=1,Da=this._rear;for(;;){const Ka=Da===this._front?V:Math.pow(2,-ta);if(V-=Ka,ma+=this._memory[Da].score*Ka,Da===this._front)break;Da=(this._capacity+Da-1)%this._capacity,ta++}return ma<=.5}accept(V,ma,ta){const Da=new H(V,ma,ta);Da.score=this._computeScore(Da),-1===this._front&&-1===this._rear?(this._memory[0]=Da,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=Da)}_computeScore(V){if(Math.abs(V.deltaX)>0&&Math.abs(V.deltaY)>0)return 1;let ma=.5;return-1===this._front&&-1===this._rear||this._memory[this._rear],this._isAlmostInt(V.deltaX)&&this._isAlmostInt(V.deltaY)||(ma+=.25),Math.min(Math.max(ma,0),1)}_isAlmostInt(V){return Math.abs(Math.round(V)-V)<.01}}ea.INSTANCE=new ea();class oa extends P.a{constructor(V,ma,ta){super(),this._onScroll=this._register(new U.a()),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new U.a()),V.style.overflow="hidden",this._options=function(Ka){let G={lazyRender:void 0!==Ka.lazyRender&&Ka.lazyRender,className:void 0!==Ka.className?Ka.className:"",useShadows:void 0===Ka.useShadows||Ka.useShadows,handleMouseWheel:void 0===Ka.handleMouseWheel||Ka.handleMouseWheel,flipAxes:void 0!==Ka.flipAxes&&Ka.flipAxes,alwaysConsumeMouseWheel:void 0!==Ka.alwaysConsumeMouseWheel&&Ka.alwaysConsumeMouseWheel,scrollYToX:void 0!==Ka.scrollYToX&&Ka.scrollYToX,mouseWheelScrollSensitivity:void 0!==Ka.mouseWheelScrollSensitivity?Ka.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==Ka.fastScrollSensitivity?Ka.fastScrollSensitivity:5,scrollPredominantAxis:void 0===Ka.scrollPredominantAxis||Ka.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===Ka.mouseWheelSmoothScroll||Ka.mouseWheelSmoothScroll,arrowSize:void 0!==Ka.arrowSize?Ka.arrowSize:11,listenOnDomNode:void 0!==Ka.listenOnDomNode?Ka.listenOnDomNode:null,horizontal:void 0!==Ka.horizontal?Ka.horizontal:1,horizontalScrollbarSize:void 0!==Ka.horizontalScrollbarSize?Ka.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==Ka.horizontalSliderSize?Ka.horizontalSliderSize:0,horizontalHasArrows:void 0!==Ka.horizontalHasArrows&&Ka.horizontalHasArrows,vertical:void 0!==Ka.vertical?Ka.vertical:1,verticalScrollbarSize:void 0!==Ka.verticalScrollbarSize?Ka.verticalScrollbarSize:10,verticalHasArrows:void 0!==Ka.verticalHasArrows&&Ka.verticalHasArrows,verticalSliderSize:void 0!==Ka.verticalSliderSize?Ka.verticalSliderSize:0};return G.horizontalSliderSize=void 0!==Ka.horizontalSliderSize?Ka.horizontalSliderSize:G.horizontalScrollbarSize,G.verticalSliderSize=void 0!==Ka.verticalSliderSize?Ka.verticalSliderSize:G.verticalScrollbarSize,z.f&&(G.className+=" mac"),G}(ma),this._scrollable=ta,this._register(this._scrollable.onScroll(Ka=>{this._onWillScroll.fire(Ka),this._onDidScroll(Ka),this._onScroll.fire(Ka)}));let Da={onMouseWheel:Ka=>this._onMouseWheel(Ka),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new A(this._scrollable,this._options,Da)),this._horizontalScrollbar=this._register(new w(this._scrollable,this._options,Da)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(V),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=Object(q.b)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=Object(q.b)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=Object(q.b)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,Ka=>this._onMouseOver(Ka)),this.onnonbubblingmouseout(this._listenOnDomNode,Ka=>this._onMouseOut(Ka)),this._hideTimeout=this._register(new Y.e()),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=Object(L.f)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(V){this._verticalScrollbar.delegateMouseDown(V)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(V){this._scrollable.setScrollDimensions(V,!1)}updateClassName(V){this._options.className=V,z.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(V){void 0!==V.handleMouseWheel&&(this._options.handleMouseWheel=V.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==V.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=V.mouseWheelScrollSensitivity),void 0!==V.fastScrollSensitivity&&(this._options.fastScrollSensitivity=V.fastScrollSensitivity),void 0!==V.scrollPredominantAxis&&(this._options.scrollPredominantAxis=V.scrollPredominantAxis),void 0!==V.horizontalScrollbarSize&&this._horizontalScrollbar.updateScrollbarSize(V.horizontalScrollbarSize),this._options.lazyRender||this._render()}_setListeningToMouseWheel(V){if(this._mouseWheelToDispose.length>0!==V&&(this._mouseWheelToDispose=Object(L.f)(this._mouseWheelToDispose),V)){let ma=ta=>{this._onMouseWheel(new y.b(ta))};this._mouseWheelToDispose.push(l.i(this._listenOnDomNode,l.c.MOUSE_WHEEL,ma,{passive:!1}))}}_onMouseWheel(V){const ma=ea.INSTANCE;{const ta=window.devicePixelRatio/Object(Z.c)();z.i||z.d?ma.accept(Date.now(),V.deltaX/ta,V.deltaY/ta):ma.accept(Date.now(),V.deltaX,V.deltaY)}if(V.deltaY||V.deltaX){let ta=V.deltaY*this._options.mouseWheelScrollSensitivity,Da=V.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(ta)>=Math.abs(Da)?Da=0:ta=0),this._options.flipAxes&&([ta,Da]=[Da,ta]);const Ka=!z.f&&V.browserEvent&&V.browserEvent.shiftKey;!this._options.scrollYToX&&!Ka||Da||(Da=ta,ta=0),V.browserEvent&&V.browserEvent.altKey&&(Da*=this._options.fastScrollSensitivity,ta*=this._options.fastScrollSensitivity);const G=this._scrollable.getFutureScrollPosition();let hb={};if(ta){const _a=G.scrollTop-50*ta;this._verticalScrollbar.writeScrollPosition(hb,_a)}if(Da){const _a=G.scrollLeft-50*Da;this._horizontalScrollbar.writeScrollPosition(hb,_a)}(hb=this._scrollable.validateScrollPosition(hb),G.scrollLeft!==hb.scrollLeft||G.scrollTop!==hb.scrollTop)&&(this._options.mouseWheelSmoothScroll&&ma.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(hb):this._scrollable.setScrollPositionNow(hb),this._shouldRender=!0)}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(V.preventDefault(),V.stopPropagation())}_onDidScroll(V){this._shouldRender=this._horizontalScrollbar.onDidScroll(V)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(V)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const V=this._scrollable.getCurrentScrollPosition();let ma=V.scrollTop>0,ta=V.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(ta?" left":"")),this._topShadowDomNode.setClassName("shadow"+(ma?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(ma?" top":"")+(ta?" left":""))}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(V){this._mouseIsOver=!1,this._hide()}_onMouseOver(V){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class ga extends oa{constructor(V,ma){(ma=ma||{}).mouseWheelSmoothScroll=!1;const ta=new da.a(0,Da=>l.Y(Da));super(V,ma,ta),this._register(ta)}setScrollPosition(V){this._scrollable.setScrollPositionNow(V)}}class Ba extends oa{constructor(V,ma,ta){super(V,ma,ta)}setScrollPosition(V){this._scrollable.setScrollPositionNow(V)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class N extends ga{constructor(V,ma){super(V,ma),this._element=V,this.onScroll(ta=>{ta.scrollTopChanged&&(this._element.scrollTop=ta.scrollTop),ta.scrollLeftChanged&&(this._element.scrollLeft=ta.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f.d(t,"d",function(){return L}),f.d(t,"c",function(){return z}),f.d(t,"e",function(){return D}),f.d(t,"b",function(){return Q});var l=f(8),q=f(117),y=f(9),F=f(3),P=f(58);class Y{constructor(B,C,k,w){this.searchString=B,this.isRegex=C,this.matchCase=k,this.wordSeparators=w}parseSearchRequest(){if(""===this.searchString)return null;let B;B=this.isRegex?function(w){if(!w||0===w.length)return!1;for(let x=0,u=w.length;x<u;x++)if(92===w.charCodeAt(x)){if(x++,x>=u)break;const A=w.charCodeAt(x);if(110===A||114===A||87===A||119===A)return!0}return!1}(this.searchString):this.searchString.indexOf(` -`)>=0;let C=null;try{C=l.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:B,global:!0,unicode:!0})}catch(w){return null}if(!C)return null;let k=!this.isRegex&&!B;return k&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(k=this.matchCase),new R(C,this.wordSeparators?Object(q.a)(this.wordSeparators):null,k?this.searchString:null)}}class R{constructor(B,C,k){this.regex=B,this.wordSeparators=C,this.simpleSearch=k}}function L(B,C,k){if(!k)return new P.b(B,null);let w=[];for(let x=0,u=C.length;x<u;x++)w[x]=C[x];return new P.b(B,w)}class s{constructor(B){let C=[],k=0;for(let w=0,x=B.length;w<x;w++)10===B.charCodeAt(w)&&(C[k++]=w);this._lineFeedsOffsets=C}findLineFeedCountBeforeOffset(B){const C=this._lineFeedsOffsets;let k=0,w=C.length-1;if(-1===w)return 0;if(B<=C[0])return 0;for(;k<w;){const x=k+((w-k)/2>>0);C[x]>=B?w=x-1:C[x+1]>=B?(k=x,w=x):k=x+1}return k+1}}class z{static findMatches(B,C,k,w,x){const u=C.parseSearchRequest();return u?u.regex.multiline?this._doFindMatchesMultiline(B,k,new Q(u.wordSeparators,u.regex),w,x):this._doFindMatchesLineByLine(B,k,u,w,x):[]}static _getMultilineMatchRange(B,C,k,w,x,u){let A,U,da=0;if(w?(da=w.findLineFeedCountBeforeOffset(x),A=C+x+da):A=C+x,w){let ea=w.findLineFeedCountBeforeOffset(x+u.length)-da;U=A+u.length+ea}else U=A+u.length;const Z=B.getPositionAt(A),H=B.getPositionAt(U);return new F.a(Z.lineNumber,Z.column,H.lineNumber,H.column)}static _doFindMatchesMultiline(B,C,k,w,x){const u=B.getOffsetAt(C.getStartPosition()),A=B.getValueInRange(C,1),U=`\r -`===B.getEOL()?new s(A):null,da=[];let Z,H=0;for(k.reset(0);Z=k.next(A);)if(da[H++]=L(this._getMultilineMatchRange(B,u,A,U,Z.index,Z[0]),Z,w),H>=x)return da;return da}static _doFindMatchesLineByLine(B,C,k,w,x){const u=[];let A=0;if(C.startLineNumber===C.endLineNumber){const da=B.getLineContent(C.startLineNumber).substring(C.startColumn-1,C.endColumn-1);return A=this._findMatchesInLine(k,da,C.startLineNumber,C.startColumn-1,A,u,w,x),u}const U=B.getLineContent(C.startLineNumber).substring(C.startColumn-1);A=this._findMatchesInLine(k,U,C.startLineNumber,C.startColumn-1,A,u,w,x);for(let da=C.startLineNumber+1;da<C.endLineNumber&&A<x;da++)A=this._findMatchesInLine(k,B.getLineContent(da),da,0,A,u,w,x);if(A<x){const da=B.getLineContent(C.endLineNumber).substring(0,C.endColumn-1);A=this._findMatchesInLine(k,da,C.endLineNumber,0,A,u,w,x)}return u}static _findMatchesInLine(B,C,k,w,x,u,A,U){const da=B.wordSeparators;if(!A&&B.simpleSearch){const ea=B.simpleSearch,oa=ea.length,ga=C.length;let Ba=-oa;for(;-1!==(Ba=C.indexOf(ea,Ba+oa));)if((!da||D(da,C,ga,Ba,oa))&&(u[x++]=new P.b(new F.a(k,Ba+1+w,k,Ba+1+oa+w),null),x>=U))return x;return x}const Z=new Q(B.wordSeparators,B.regex);let H;Z.reset(0);do if(H=Z.next(C),H&&(u[x++]=L(new F.a(k,H.index+1+w,k,H.index+1+H[0].length+w),H,A),x>=U))return x;while(H);return x}static findNextMatch(B,C,k,w){const x=C.parseSearchRequest();if(!x)return null;const u=new Q(x.wordSeparators,x.regex);return x.regex.multiline?this._doFindNextMatchMultiline(B,k,u,w):this._doFindNextMatchLineByLine(B,k,u,w)}static _doFindNextMatchMultiline(B,C,k,w){const x=new y.a(C.lineNumber,1),u=B.getOffsetAt(x),A=B.getLineCount(),U=B.getValueInRange(new F.a(x.lineNumber,x.column,A,B.getLineMaxColumn(A)),1),da=`\r -`===B.getEOL()?new s(U):null;k.reset(C.column-1);let Z=k.next(U);return Z?L(this._getMultilineMatchRange(B,u,U,da,Z.index,Z[0]),Z,w):1!==C.lineNumber||1!==C.column?this._doFindNextMatchMultiline(B,new y.a(1,1),k,w):null}static _doFindNextMatchLineByLine(B,C,k,w){const x=B.getLineCount(),u=C.lineNumber,A=B.getLineContent(u),U=this._findFirstMatchInLine(k,A,u,C.column,w);if(U)return U;for(let da=1;da<=x;da++){const Z=(u+da-1)%x,H=B.getLineContent(Z+1),ea=this._findFirstMatchInLine(k,H,Z+1,1,w);if(ea)return ea}return null}static _findFirstMatchInLine(B,C,k,w,x){B.reset(w-1);const u=B.next(C);return u?L(new F.a(k,u.index+1,k,u.index+1+u[0].length),u,x):null}static findPreviousMatch(B,C,k,w){const x=C.parseSearchRequest();if(!x)return null;const u=new Q(x.wordSeparators,x.regex);return x.regex.multiline?this._doFindPreviousMatchMultiline(B,k,u,w):this._doFindPreviousMatchLineByLine(B,k,u,w)}static _doFindPreviousMatchMultiline(B,C,k,w){const x=this._doFindMatchesMultiline(B,new F.a(1,1,C.lineNumber,C.column),k,w,9990);if(x.length>0)return x[x.length-1];const u=B.getLineCount();return C.lineNumber!==u||C.column!==B.getLineMaxColumn(u)?this._doFindPreviousMatchMultiline(B,new y.a(u,B.getLineMaxColumn(u)),k,w):null}static _doFindPreviousMatchLineByLine(B,C,k,w){const x=B.getLineCount(),u=C.lineNumber,A=B.getLineContent(u).substring(0,C.column-1),U=this._findLastMatchInLine(k,A,u,w);if(U)return U;for(let da=1;da<=x;da++){const Z=(x+u-da-1)%x,H=B.getLineContent(Z+1),ea=this._findLastMatchInLine(k,H,Z+1,w);if(ea)return ea}return null}static _findLastMatchInLine(B,C,k,w){let x,u=null;for(B.reset(0);x=B.next(C);)u=L(new F.a(k,x.index+1,k,x.index+1+x[0].length),x,w);return u}}function D(B,C,k,w,x){return function(u,A,U,da,Z){if(0===da)return!0;const H=A.charCodeAt(da-1);if(0!==u.get(H))return!0;if(13===H||10===H)return!0;if(Z>0){const ea=A.charCodeAt(da);if(0!==u.get(ea))return!0}return!1}(B,C,0,w,x)&&function(u,A,U,da,Z){if(da+Z===U)return!0;const H=A.charCodeAt(da+Z);if(0!==u.get(H))return!0;if(13===H||10===H)return!0;if(Z>0){const ea=A.charCodeAt(da+Z-1);if(0!==u.get(ea))return!0}return!1}(B,C,k,w,x)}class Q{constructor(B,C){this._wordSeparators=B,this._searchRegex=C,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(B){this._searchRegex.lastIndex=B,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(B){const C=B.length;let k;do{if(this._prevMatchStartIndex+this._prevMatchLength===C)return null;if(k=this._searchRegex.exec(B),!k)return null;const w=k.index,x=k[0].length;if(w===this._prevMatchStartIndex&&x===this._prevMatchLength){if(0===x){l.A(B,C,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=w,this._prevMatchLength=x,!this._wordSeparators||D(this._wordSeparators,B,C,w,x))return k}while(k);return null}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return U}),f.d(t,"a",function(){return oa});var l=f(0),q=f(14),y=f(4),F=f(41),P=f(22),Y=f(9),R=f(3);class L{static columnSelect(N,V,ma,ta,Da,Ka){let G=Math.abs(Da-ma)+1,hb=ma>Da,_a=ta>Ka,fb=ta<Ka,za=[];for(let ua=0;ua<G;ua++){let ba=ma+(hb?-ua:ua),$=P.a.columnFromVisibleColumn2(N,V,ba,ta),S=P.a.columnFromVisibleColumn2(N,V,ba,Ka),aa=P.a.visibleColumnFromColumn2(N,V,new Y.a(ba,$)),_=P.a.visibleColumnFromColumn2(N,V,new Y.a(ba,S));if(fb){if(aa>Ka)continue;if(_<ta)continue}if(_a){if(_>ta)continue;if(aa<Ka)continue}za.push(new P.f(new R.a(ba,$,ba,$),0,new Y.a(ba,S),0))}if(0===za.length)for(let ua=0;ua<G;ua++){const ba=ma+(hb?-ua:ua),$=V.getLineMaxColumn(ba);za.push(new P.f(new R.a(ba,$,ba,$),0,new Y.a(ba,$),0))}return{viewStates:za,reversed:hb,fromLineNumber:ma,fromVisualColumn:ta,toLineNumber:Da,toVisualColumn:Ka}}static columnSelectLeft(N,V,ma){let ta=ma.toViewVisualColumn;return ta>1&&ta--,L.columnSelect(N,V,ma.fromViewLineNumber,ma.fromViewVisualColumn,ma.toViewLineNumber,ta)}static columnSelectRight(N,V,ma){let ta=0;const Da=Math.min(ma.fromViewLineNumber,ma.toViewLineNumber),Ka=Math.max(ma.fromViewLineNumber,ma.toViewLineNumber);for(let hb=Da;hb<=Ka;hb++){const _a=V.getLineMaxColumn(hb),fb=P.a.visibleColumnFromColumn2(N,V,new Y.a(hb,_a));ta=Math.max(ta,fb)}let G=ma.toViewVisualColumn;return G<ta&&G++,this.columnSelect(N,V,ma.fromViewLineNumber,ma.fromViewVisualColumn,ma.toViewLineNumber,G)}static columnSelectUp(N,V,ma,ta){const Da=ta?N.pageSize:1,Ka=Math.max(1,ma.toViewLineNumber-Da);return this.columnSelect(N,V,ma.fromViewLineNumber,ma.fromViewVisualColumn,Ka,ma.toViewVisualColumn)}static columnSelectDown(N,V,ma,ta){const Da=ta?N.pageSize:1,Ka=Math.min(V.getLineCount(),ma.toViewLineNumber+Da);return this.columnSelect(N,V,ma.fromViewLineNumber,ma.fromViewVisualColumn,Ka,ma.toViewVisualColumn)}}var s=f(181),z=f(85),D=f(126),Q=f(7),B=f(10),C=f(92);class k extends y.c{runEditorCommand(N,V,ma){const ta=V._getViewModel();ta&&this.runCoreEditorCommand(ta,ma||{})}}var w,x,u,A,U;(x=w||(w={})).description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:function(N){if(!q.i(N))return!1;const V=N;return!(!q.j(V.to)||!q.k(V.by)&&!q.j(V.by)||!q.k(V.value)&&!q.h(V.value)||!q.k(V.revealCursor)&&!q.f(V.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},x.RawDirection={Up:"up",Down:"down"},x.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},x.parse=function(N){let V,ma;switch(N.to){case x.RawDirection.Up:V=1;break;case x.RawDirection.Down:V=2;break;default:return null}switch(N.by){case x.RawUnit.Line:ma=1;break;case x.RawUnit.WrappedLine:ma=2;break;case x.RawUnit.Page:ma=3;break;case x.RawUnit.HalfPage:ma=4;break;default:ma=2}return{direction:V,unit:ma,value:Math.floor(N.value||1),revealCursor:!!N.revealCursor,select:!!N.select}},(A=u||(u={})).description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed .\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:function(N){if(!q.i(N))return!1;const V=N;return!(!q.h(V.lineNumber)||!q.k(V.at)&&!q.j(V.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},A.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"};class da{constructor(N){N.addImplementation(1e4,(V,ma)=>{const ta=V.get(F.a).getFocusedCodeEditor();return!(!ta||!ta.hasTextFocus())&&(this.runEditorCommand(V,ta,ma),!0)}),N.addImplementation(1e3,(V,ma)=>{const ta=document.activeElement;return!!(ta&&["input","textarea"].indexOf(ta.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)}),N.addImplementation(0,(V,ma)=>{const ta=V.get(F.a).getActiveCodeEditor();return!!ta&&(ta.focus(),this.runEditorCommand(V,ta,ma),!0)})}}!function(N){class V extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,[z.b.moveTo(I,I.getPrimaryCursorState(),this._inSelectionMode,ka.position,ka.viewPosition)]),I.revealPrimaryCursor(ka.source,!0)}}N.MoveTo=Object(y.l)(new V({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),N.MoveToSelect=Object(y.l)(new V({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class ma extends k{runCoreEditorCommand(I,ka){I.model.pushStackElement();const va=this._getColumnSelectResult(I,I.getPrimaryCursorState(),I.getCursorColumnSelectData(),ka);I.setCursorStates(ka.source,3,va.viewStates.map(La=>P.d.fromViewState(La))),I.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:va.fromLineNumber,fromViewVisualColumn:va.fromVisualColumn,toViewLineNumber:va.toLineNumber,toViewVisualColumn:va.toVisualColumn}),va.reversed?I.revealTopMostCursor(ka.source):I.revealBottomMostCursor(ka.source)}}N.ColumnSelect=Object(y.l)(new class extends ma{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(I,ka,va,La){const $a=I.model.validatePosition(La.position),Ab=I.coordinatesConverter.validateViewPosition(new Y.a(La.viewPosition.lineNumber,La.viewPosition.column),$a);let gb=La.doColumnSelect?va.fromViewLineNumber:Ab.lineNumber,Fb=La.doColumnSelect?va.fromViewVisualColumn:La.mouseColumn-1;return L.columnSelect(I.cursorConfig,I,gb,Fb,Ab.lineNumber,La.mouseColumn-1)}}()),N.CursorColumnSelectLeft=Object(y.l)(new class extends ma{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(I,ka,va,La){return L.columnSelectLeft(I.cursorConfig,I,va)}}()),N.CursorColumnSelectRight=Object(y.l)(new class extends ma{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(I,ka,va,La){return L.columnSelectRight(I.cursorConfig,I,va)}}());class ta extends ma{constructor(I){super(I),this._isPaged=I.isPaged}_getColumnSelectResult(I,ka,va,La){return L.columnSelectUp(I.cursorConfig,I,va,this._isPaged)}}N.CursorColumnSelectUp=Object(y.l)(new ta({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3600,linux:{primary:0}}})),N.CursorColumnSelectPageUp=Object(y.l)(new ta({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3595,linux:{primary:0}}}));class Da extends ma{constructor(I){super(I),this._isPaged=I.isPaged}_getColumnSelectResult(I,ka,va,La){return L.columnSelectDown(I.cursorConfig,I,va,this._isPaged)}}N.CursorColumnSelectDown=Object(y.l)(new Da({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3602,linux:{primary:0}}})),N.CursorColumnSelectPageDown=Object(y.l)(new Da({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3596,linux:{primary:0}}}));class Ka extends k{constructor(){super({id:"cursorMove",precondition:void 0,description:z.a.description})}runCoreEditorCommand(I,ka){const va=z.a.parse(ka);va&&this._runCursorMove(I,ka.source,va)}_runCursorMove(I,ka,va){I.model.pushStackElement(),I.setCursorStates(ka,3,Ka._move(I,I.getCursorStates(),va)),I.revealPrimaryCursor(ka,!0)}static _move(I,ka,va){const La=va.select,$a=va.value;switch(va.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return z.b.simpleMove(I,ka,va.direction,La,$a,va.unit);case 9:case 11:case 10:case 12:return z.b.viewportMove(I,ka,va.direction,La,$a);default:return null}}}N.CursorMoveImpl=Ka,N.CursorMove=Object(y.l)(new Ka());class G extends k{constructor(I){super(I),this._staticArgs=I.args}runCoreEditorCommand(I,ka){let va=this._staticArgs;-1===this._staticArgs.value&&(va={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:I.cursorConfig.pageSize}),I.model.pushStackElement(),I.setCursorStates(ka.source,3,z.b.simpleMove(I,I.getCursorStates(),va.direction,va.select,va.value,va.unit)),I.revealPrimaryCursor(ka.source,!0)}}N.CursorLeft=Object(y.l)(new G({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),N.CursorLeftSelect=Object(y.l)(new G({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1039}})),N.CursorRight=Object(y.l)(new G({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),N.CursorRightSelect=Object(y.l)(new G({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1041}})),N.CursorUp=Object(y.l)(new G({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),N.CursorUpSelect=Object(y.l)(new G({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),N.CursorPageUp=Object(y.l)(new G({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:11}})),N.CursorPageUpSelect=Object(y.l)(new G({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1035}})),N.CursorDown=Object(y.l)(new G({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),N.CursorDownSelect=Object(y.l)(new G({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),N.CursorPageDown=Object(y.l)(new G({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:12}})),N.CursorPageDownSelect=Object(y.l)(new G({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1036}})),N.CreateCursor=Object(y.l)(new class extends k{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(I,ka){let va;va=ka.wholeLine?z.b.line(I,I.getPrimaryCursorState(),!1,ka.position,ka.viewPosition):z.b.moveTo(I,I.getPrimaryCursorState(),!1,ka.position,ka.viewPosition);const La=I.getCursorStates();if(La.length>1){const $a=va.modelState?va.modelState.position:null,Ab=va.viewState?va.viewState.position:null;for(let gb=0,Fb=La.length;gb<Fb;gb++){const wb=La[gb];if((!$a||wb.modelState.selection.containsPosition($a))&&(!Ab||wb.viewState.selection.containsPosition(Ab)))return La.splice(gb,1),I.model.pushStackElement(),void I.setCursorStates(ka.source,3,La)}}La.push(va),I.model.pushStackElement(),I.setCursorStates(ka.source,3,La)}}()),N.LastCursorMoveToSelect=Object(y.l)(new class extends k{constructor(){super({id:"_lastCursorMoveToSelect",precondition:void 0})}runCoreEditorCommand(I,ka){const va=I.getLastAddedCursorIndex(),La=I.getCursorStates(),$a=La.slice(0);$a[va]=z.b.moveTo(I,La[va],!0,ka.position,ka.viewPosition),I.model.pushStackElement(),I.setCursorStates(ka.source,3,$a)}}());class hb extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,z.b.moveToBeginningOfLine(I,I.getCursorStates(),this._inSelectionMode)),I.revealPrimaryCursor(ka.source,!0)}}N.CursorHome=Object(y.l)(new hb({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),N.CursorHomeSelect=Object(y.l)(new hb({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class _a extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,this._exec(I.getCursorStates())),I.revealPrimaryCursor(ka.source,!0)}_exec(I){const ka=[];for(let va=0,La=I.length;va<La;va++){const $a=I[va],Ab=$a.modelState.position.lineNumber;ka[va]=P.d.fromModelState($a.modelState.move(this._inSelectionMode,Ab,1,0))}return ka}}N.CursorLineStart=Object(y.l)(new _a({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:0,mac:{primary:287}}})),N.CursorLineStartSelect=Object(y.l)(new _a({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:0,mac:{primary:1311}}}));class fb extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,z.b.moveToEndOfLine(I,I.getCursorStates(),this._inSelectionMode,ka.sticky||!1)),I.revealPrimaryCursor(ka.source,!0)}}N.CursorEnd=Object(y.l)(new fb({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:Q.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:l.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),N.CursorEndSelect=Object(y.l)(new fb({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:Q.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:l.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));class za extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,this._exec(I,I.getCursorStates())),I.revealPrimaryCursor(ka.source,!0)}_exec(I,ka){const va=[];for(let La=0,$a=ka.length;La<$a;La++){const Ab=ka[La],gb=Ab.modelState.position.lineNumber,Fb=I.model.getLineMaxColumn(gb);va[La]=P.d.fromModelState(Ab.modelState.move(this._inSelectionMode,gb,Fb,0))}return va}}N.CursorLineEnd=Object(y.l)(new za({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:0,mac:{primary:291}}})),N.CursorLineEndSelect=Object(y.l)(new za({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:0,mac:{primary:1315}}}));class ua extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,z.b.moveToBeginningOfBuffer(I,I.getCursorStates(),this._inSelectionMode)),I.revealPrimaryCursor(ka.source,!0)}}N.CursorTop=Object(y.l)(new ua({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2062,mac:{primary:2064}}})),N.CursorTopSelect=Object(y.l)(new ua({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3086,mac:{primary:3088}}}));class ba extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,z.b.moveToEndOfBuffer(I,I.getCursorStates(),this._inSelectionMode)),I.revealPrimaryCursor(ka.source,!0)}}N.CursorBottom=Object(y.l)(new ba({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2061,mac:{primary:2066}}})),N.CursorBottomSelect=Object(y.l)(new ba({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:3085,mac:{primary:3090}}}));class $ extends k{constructor(){super({id:"editorScroll",precondition:void 0,description:w.description})}runCoreEditorCommand(I,ka){const va=w.parse(ka);va&&this._runEditorScroll(I,ka.source,va)}_runEditorScroll(I,ka,va){const La=this._computeDesiredScrollTop(I,va);if(va.revealCursor){const $a=I.getCompletelyVisibleViewRangeAtScrollTop(La);I.setCursorStates(ka,3,[z.b.findPositionInViewportIfOutside(I,I.getPrimaryCursorState(),$a,va.select)])}I.setScrollTop(La,0)}_computeDesiredScrollTop(I,ka){if(1===ka.unit){const $a=I.getCompletelyVisibleViewRange(),Ab=I.coordinatesConverter.convertViewRangeToModelRange($a);let gb;gb=1===ka.direction?Math.max(1,Ab.startLineNumber-ka.value):Math.min(I.model.getLineCount(),Ab.startLineNumber+ka.value);const Fb=I.coordinatesConverter.convertModelPositionToViewPosition(new Y.a(gb,1));return I.getVerticalOffsetForLineNumber(Fb.lineNumber)}let va;va=3===ka.unit?I.cursorConfig.pageSize*ka.value:4===ka.unit?Math.round(I.cursorConfig.pageSize/2)*ka.value:ka.value;const La=(1===ka.direction?-1:1)*va;return I.getScrollTop()+La*I.cursorConfig.lineHeight}}N.EditorScrollImpl=$,N.EditorScroll=Object(y.l)(new $()),N.ScrollLineUp=Object(y.l)(new class extends k{constructor(){super({id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(I,ka){N.EditorScroll._runEditorScroll(I,ka.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}()),N.ScrollPageUp=Object(y.l)(new class extends k{constructor(){super({id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(I,ka){N.EditorScroll._runEditorScroll(I,ka.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}()),N.ScrollLineDown=Object(y.l)(new class extends k{constructor(){super({id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(I,ka){N.EditorScroll._runEditorScroll(I,ka.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}()),N.ScrollPageDown=Object(y.l)(new class extends k{constructor(){super({id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(I,ka){N.EditorScroll._runEditorScroll(I,ka.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}}());class S extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,[z.b.word(I,I.getPrimaryCursorState(),this._inSelectionMode,ka.position)]),I.revealPrimaryCursor(ka.source,!0)}}N.WordSelect=Object(y.l)(new S({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),N.WordSelectDrag=Object(y.l)(new S({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),N.LastCursorWordSelect=Object(y.l)(new class extends k{constructor(){super({id:"lastCursorWordSelect",precondition:void 0})}runCoreEditorCommand(I,ka){const va=I.getLastAddedCursorIndex(),La=I.getCursorStates(),$a=La.slice(0),Ab=La[va];$a[va]=z.b.word(I,Ab,Ab.modelState.hasSelection(),ka.position),I.model.pushStackElement(),I.setCursorStates(ka.source,3,$a)}}());class aa extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,[z.b.line(I,I.getPrimaryCursorState(),this._inSelectionMode,ka.position,ka.viewPosition)]),I.revealPrimaryCursor(ka.source,!1)}}N.LineSelect=Object(y.l)(new aa({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),N.LineSelectDrag=Object(y.l)(new aa({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));class _ extends k{constructor(I){super(I),this._inSelectionMode=I.inSelectionMode}runCoreEditorCommand(I,ka){const va=I.getLastAddedCursorIndex(),La=I.getCursorStates(),$a=La.slice(0);$a[va]=z.b.line(I,La[va],this._inSelectionMode,ka.position,ka.viewPosition),I.model.pushStackElement(),I.setCursorStates(ka.source,3,$a)}}N.LastCursorLineSelect=Object(y.l)(new _({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),N.LastCursorLineSelectDrag=Object(y.l)(new _({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),N.ExpandLineSelection=Object(y.l)(new class extends k{constructor(){super({id:"expandLineSelection",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:2090}})}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,z.b.expandLineSelection(I,I.getCursorStates())),I.revealPrimaryCursor(ka.source,!0)}}()),N.CancelSelection=Object(y.l)(new class extends k{constructor(){super({id:"cancelSelection",precondition:Q.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,[z.b.cancelSelection(I,I.getPrimaryCursorState())]),I.revealPrimaryCursor(ka.source,!0)}}()),N.RemoveSecondaryCursors=Object(y.l)(new class extends k{constructor(){super({id:"removeSecondaryCursors",precondition:Q.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:Q.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,[I.getPrimaryCursorState()]),I.revealPrimaryCursor(ka.source,!0)}}()),N.RevealLine=Object(y.l)(new class extends k{constructor(){super({id:"revealLine",precondition:void 0,description:u.description})}runCoreEditorCommand(I,ka){const va=ka;let La=(va.lineNumber||0)+1;La<1&&(La=1);const $a=I.model.getLineCount();La>$a&&(La=$a);const Ab=new R.a(La,1,La,I.model.getLineMaxColumn(La));let gb=0;if(va.at)switch(va.at){case u.RawAtArgument.Top:gb=3;break;case u.RawAtArgument.Center:gb=1;break;case u.RawAtArgument.Bottom:gb=4}const Fb=I.coordinatesConverter.convertModelRangeToViewRange(Ab);I.revealRange(ka.source,!1,Fb,gb,0)}}()),N.SelectAll=new class extends da{constructor(){super(y.h)}runDOMCommand(){document.execCommand("selectAll")}runEditorCommand(I,ka,va){const La=ka._getViewModel();La&&this.runCoreEditorCommand(La,va)}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates("keyboard",3,[z.b.selectAll(I,I.getPrimaryCursorState())])}}(),N.SetSelection=Object(y.l)(new class extends k{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(I,ka){I.model.pushStackElement(),I.setCursorStates(ka.source,3,[P.d.fromModelSelection(ka.selection)])}}())}(U||(U={}));const Z=B.a.and(Q.a.textInputFocus,Q.a.columnSelection);function H(N,V){C.a.registerKeybindingRule({id:N,primary:V,when:Z,weight:1})}function ea(N){return N.register(),N}var oa;H(U.CursorColumnSelectLeft.id,1039),H(U.CursorColumnSelectRight.id,1041),H(U.CursorColumnSelectUp.id,1040),H(U.CursorColumnSelectPageUp.id,1035),H(U.CursorColumnSelectDown.id,1042),H(U.CursorColumnSelectPageDown.id,1036),function(N){class V extends y.c{runEditorCommand(ma,ta,Da){const Ka=ta._getViewModel();Ka&&this.runCoreEditingCommand(ta,Ka,Da||{})}}N.CoreEditingCommand=V,N.LineBreakInsert=Object(y.l)(new class extends V{constructor(){super({id:"lineBreakInsert",precondition:Q.a.writable,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(ma,ta,Da){ma.pushUndoStop(),ma.executeCommands(this.id,D.a.lineBreakInsert(ta.cursorConfig,ta.model,ta.getCursorStates().map(Ka=>Ka.modelState.selection)))}}()),N.Outdent=Object(y.l)(new class extends V{constructor(){super({id:"outdent",precondition:Q.a.writable,kbOpts:{weight:0,kbExpr:B.a.and(Q.a.editorTextFocus,Q.a.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(ma,ta,Da){ma.pushUndoStop(),ma.executeCommands(this.id,D.a.outdent(ta.cursorConfig,ta.model,ta.getCursorStates().map(Ka=>Ka.modelState.selection))),ma.pushUndoStop()}}()),N.Tab=Object(y.l)(new class extends V{constructor(){super({id:"tab",precondition:Q.a.writable,kbOpts:{weight:0,kbExpr:B.a.and(Q.a.editorTextFocus,Q.a.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(ma,ta,Da){ma.pushUndoStop(),ma.executeCommands(this.id,D.a.tab(ta.cursorConfig,ta.model,ta.getCursorStates().map(Ka=>Ka.modelState.selection))),ma.pushUndoStop()}}()),N.DeleteLeft=Object(y.l)(new class extends V{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(ma,ta,Da){const[Ka,G]=s.a.deleteLeft(ta.getPrevEditOperationType(),ta.cursorConfig,ta.model,ta.getCursorStates().map(hb=>hb.modelState.selection));Ka&&ma.pushUndoStop(),ma.executeCommands(this.id,G),ta.setPrevEditOperationType(2)}}()),N.DeleteRight=Object(y.l)(new class extends V{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:Q.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(ma,ta,Da){const[Ka,G]=s.a.deleteRight(ta.getPrevEditOperationType(),ta.cursorConfig,ta.model,ta.getCursorStates().map(hb=>hb.modelState.selection));Ka&&ma.pushUndoStop(),ma.executeCommands(this.id,G),ta.setPrevEditOperationType(3)}}()),N.Undo=new class extends da{constructor(){super(y.i)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(ma,ta,Da){ta.hasModel()&&!0!==ta.getOption(72)&&ta.getModel().undo()}}(),N.Redo=new class extends da{constructor(){super(y.g)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(ma,ta,Da){ta.hasModel()&&!0!==ta.getOption(72)&&ta.getModel().redo()}}()}(oa||(oa={}));class ga extends y.a{constructor(N,V,ma){super({id:N,precondition:void 0,description:ma}),this._handlerId=V}runCommand(N,V){const ma=N.get(F.a).getFocusedCodeEditor();ma&&ma.trigger("keyboard",this._handlerId,V)}}function Ba(N,V){ea(new ga("default:"+N,N)),ea(new ga(N,N,V))}Ba("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),Ba("replacePreviousChar"),Ba("compositionStart"),Ba("compositionEnd"),Ba("paste"),Ba("cut")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return vi}),f.d(t,"b",function(){return Df}),f.d(t,"c",function(){return mg}),f.d(t,"d",function(){return Cg}),f.d(t,"g",function(){return wk}),f.d(t,"h",function(){return xk}),f.d(t,"i",function(){return yk}),f.d(t,"j",function(){return Yi}),f.d(t,"e",function(){return zk}),f.d(t,"f",function(){return Ak}),f.d(t,"l",function(){return Bk}),f.d(t,"k",function(){return Ck}),f.d(t,"m",function(){return Dk}),f.d(t,"n",function(){return hh});var l,q=f(26),y=f(100),F=(f(200),f(41)),P=f(1),Y=f(53),R=f(178),L=f(45),s=f(51),z=f(23),D=f(27),Q=f(79);!function(h){h[h.API=0]="API",h[h.USER=1]="USER"}(l||(l={}));var B=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},C=function(h,n){return function(E,ca){n(E,ca,h)}},k=function(h,n,E,ca){return new(E||(E=Promise))(function(Ca,Ma){function Ea(bc){try{Cb(ca.next(bc))}catch(ic){Ma(ic)}}function eb(bc){try{Cb(ca.throw(bc))}catch(ic){Ma(ic)}}function Cb(bc){var ic;bc.done?Ca(bc.value):(ic=bc.value,ic instanceof E?ic:new E(function(Mc){Mc(ic)})).then(Ea,eb)}Cb((ca=ca.apply(h,n||[])).next())})};let w=class{constructor(h){this._commandService=h}open(h){return k(this,void 0,void 0,function*(){if(!Object(Q.c)(h,L.b.command))return!1;"string"==typeof h&&(h=z.a.parse(h));let n=[];try{n=Object(R.a)(decodeURIComponent(h.query))}catch(E){try{n=Object(R.a)(h.query)}catch(ca){}}return Array.isArray(n)||(n=[n]),yield this._commandService.executeCommand(h.path,...n),!0})}};w=B([C(0,D.b)],w);let x=class{constructor(h){this._editorService=h}open(h,n){return k(this,void 0,void 0,function*(){"string"==typeof h&&(h=z.a.parse(h));let E;const ca=/^L?(\d+)(?:,(\d+))?/.exec(h.fragment);return ca&&(E={startLineNumber:parseInt(ca[1]),startColumn:ca[2]?parseInt(ca[2]):1},h=h.with({fragment:""})),h.scheme===L.b.file&&(h=Object(s.h)(h)),yield this._editorService.openCodeEditor({resource:h,options:{selection:E,context:(null==n?void 0:n.fromUserGesture)?l.USER:l.API}},this._editorService.getFocusedCodeEditor(),null==n?void 0:n.openToSide),!0})}};x=B([C(0,F.a)],x);let u=class{constructor(h,n){this._openers=new Y.a(),this._validators=new Y.a(),this._resolvers=new Y.a(),this._externalOpener={openExternal:E=>(Object(Q.c)(E,L.b.http)||Object(Q.c)(E,L.b.https)?P.cb(E):window.location.href=E,Promise.resolve(!0))},this._openers.push({open:(E,ca)=>k(this,void 0,void 0,function*(){return!!((null==ca?void 0:ca.openExternal)||Object(Q.c)(E,L.b.mailto)||Object(Q.c)(E,L.b.http)||Object(Q.c)(E,L.b.https))&&(yield this._doOpenExternal(E,ca),!0)})}),this._openers.push(new w(n)),this._openers.push(new x(h))}open(h,n){return k(this,void 0,void 0,function*(){for(const E of this._validators.toArray())if(!(yield E.shouldOpen(h)))return!1;for(const E of this._openers.toArray())if(yield E.open(h,n))return!0;return!1})}resolveExternalUri(h,n){return k(this,void 0,void 0,function*(){for(const E of this._resolvers.toArray()){const ca=yield E.resolveExternalUri(h,n);if(ca)return ca}return{resolved:h,dispose:()=>{}}})}_doOpenExternal(h,n){return k(this,void 0,void 0,function*(){const E="string"==typeof h?z.a.parse(h):h,{resolved:ca}=yield this.resolveExternalUri(E,n);return"string"==typeof h&&E.toString()===ca.toString()?this._externalOpener.openExternal(h):this._externalOpener.openExternal(encodeURI(ca.toString(!0)))})}dispose(){this._validators.clear()}};u=B([C(0,F.a),C(1,D.b)],u);var A=f(193),U=f(160),da=f(143),Z=f(58),H=f(12),ea=f(90),oa=f(96),ga=f(122),Ba=f(20),N=f(2),V=f(94),ma=f(11);class ta{constructor(h,n,E,ca,Ca){this.id=n;const Ma=function(Ea,eb){if(ma.b.MonacoEnvironment){if("function"==typeof ma.b.MonacoEnvironment.getWorker)return ma.b.MonacoEnvironment.getWorker(Ea,eb);if("function"==typeof ma.b.MonacoEnvironment.getWorkerUrl)return new Worker(ma.b.MonacoEnvironment.getWorkerUrl(Ea,eb))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",E);"function"==typeof Ma.then?this.worker=Ma:this.worker=Promise.resolve(Ma),this.postMessage(h,[]),this.worker.then(Ea=>{Ea.onmessage=function(eb){ca(eb.data)},Ea.onmessageerror=Ca,"function"==typeof Ea.addEventListener&&Ea.addEventListener("error",Ca)})}getId(){return this.id}postMessage(h,n){this.worker&&this.worker.then(E=>E.postMessage(h,n))}dispose(){this.worker&&this.worker.then(h=>h.terminate()),this.worker=null}}class Da{constructor(h){this._label=h,this._webWorkerFailedBeforeError=!1}create(h,n,E){let ca=++Da.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new ta(h,ca,this._label||"anonymous"+ca,n,Ca=>{Object(V.c)(Ca),this._webWorkerFailedBeforeError=Ca,E(Ca)})}}Da.LAST_WORKER_ID=0;var Ka=f(3),G=f(39),hb=f(104),_a=f(64),fb=f(152),za=f(8),ua=f(15),ba=f(102),$=f(158),S=f(13),aa=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},_=function(h,n){return function(E,ca){n(E,ca,h)}},I=function(h,n,E,ca){return new(E||(E=Promise))(function(Ca,Ma){function Ea(bc){try{Cb(ca.next(bc))}catch(ic){Ma(ic)}}function eb(bc){try{Cb(ca.throw(bc))}catch(ic){Ma(ic)}}function Cb(bc){var ic;bc.done?Ca(bc.value):(ic=bc.value,ic instanceof E?ic:new E(function(Mc){Mc(ic)})).then(Ea,eb)}Cb((ca=ca.apply(h,n||[])).next())})};function ka(h,n){let E=h.getModel(n);return!!E&&!E.isTooLargeForSyncing()}let va=class extends N.a{constructor(h,n,E){super(),this._modelService=h,this._workerManager=this._register(new $a(this._modelService)),this._logService=E,this._register(H.s.register("*",{provideLinks:(ca,Ca)=>ka(this._modelService,ca.uri)?this._workerManager.withWorker().then(Ma=>Ma.computeLinks(ca.uri)).then(Ma=>Ma&&{links:Ma}):Promise.resolve({links:[]})})),this._register(H.d.register("*",new La(this._workerManager,n,this._modelService)))}dispose(){super.dispose()}canComputeDiff(h,n){return ka(this._modelService,h)&&ka(this._modelService,n)}computeDiff(h,n,E,ca){return this._workerManager.withWorker().then(Ca=>Ca.computeDiff(h,n,E,ca))}computeMoreMinimalEdits(h,n){if(Object(ua.o)(n)){if(!ka(this._modelService,h))return Promise.resolve(n);const E=$.a.create(!0),ca=this._workerManager.withWorker().then(Ca=>Ca.computeMoreMinimalEdits(h,n));return ca.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",h.toString(!0),E.elapsed())),ca}return Promise.resolve(void 0)}canNavigateValueSet(h){return ka(this._modelService,h)}navigateValueSet(h,n,E){return this._workerManager.withWorker().then(ca=>ca.navigateValueSet(h,n,E))}canComputeWordRanges(h){return ka(this._modelService,h)}computeWordRanges(h,n){return this._workerManager.withWorker().then(E=>E.computeWordRanges(h,n))}};va=aa([_(0,_a.a),_(1,fb.a),_(2,ba.b)],va);class La{constructor(h,n,E){this._debugDisplayName="wordbasedCompletions",this._workerManager=h,this._configurationService=n,this._modelService=E}provideCompletionItems(h,n){return I(this,void 0,void 0,function*(){const{wordBasedSuggestions:E}=this._configurationService.getValue(h.uri,n,"editor");if(!E)return;if(!ka(this._modelService,h.uri))return;const ca=h.getWordAtPosition(n),Ca=ca?new Ka.a(n.lineNumber,ca.startColumn,n.lineNumber,ca.endColumn):Ka.a.fromPositions(n),Ma=Ca.setEndPosition(n.lineNumber,n.column),Ea=yield this._workerManager.withWorker(),eb=yield Ea.textualSuggest(h.uri,n);return eb?{suggestions:eb.map(Cb=>({kind:18,label:Cb,insertText:Cb,range:{insert:Ma,replace:Ca}}))}:void 0})}}class $a extends N.a{constructor(h){super(),this._modelService=h,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new Ba.c()).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(n=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new wb(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class Ab extends N.a{constructor(h,n,E){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=h,this._modelService=n,!E){let ca=new Ba.c();ca.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(ca)}}dispose(){for(let h in this._syncedModels)Object(N.f)(this._syncedModels[h]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(h){for(const n of h){let E=n.toString();this._syncedModels[E]||this._beginModelSync(n),this._syncedModels[E]&&(this._syncedModelsLastUsedTime[E]=new Date().getTime())}}_checkStopModelSync(){let h=new Date().getTime(),n=[];for(let E in this._syncedModelsLastUsedTime)h-this._syncedModelsLastUsedTime[E]>6e4&&n.push(E);for(const E of n)this._stopModelSync(E)}_beginModelSync(h){let n=this._modelService.getModel(h);if(!n)return;if(n.isTooLargeForSyncing())return;let E=h.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});const ca=new N.b();ca.add(n.onDidChangeContent(Ca=>{this._proxy.acceptModelChanged(E.toString(),Ca)})),ca.add(n.onWillDispose(()=>{this._stopModelSync(E)})),ca.add(Object(N.h)(()=>{this._proxy.acceptRemovedModel(E)})),this._syncedModels[E]=ca}_stopModelSync(h){let n=this._syncedModels[h];delete this._syncedModels[h],delete this._syncedModelsLastUsedTime[h],Object(N.f)(n)}}class gb{constructor(h){this._instance=h,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class Fb{constructor(h){this._workerClient=h}fhr(h,n){return this._workerClient.fhr(h,n)}}class wb extends N.a{constructor(h,n,E){super(),this._disposed=!1,this._modelService=h,this._keepIdleModels=n,this._workerFactory=new Da(E),this._worker=null,this._modelManager=null}fhr(h,n){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new V.a(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new Fb(this)))}catch(h){Object(V.c)(h),this._worker=new gb(new hb.a(new Fb(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,h=>(Object(V.c)(h),this._worker=new gb(new hb.a(new Fb(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(h){return this._modelManager||(this._modelManager=this._register(new Ab(h,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(h){return this._disposed?Promise.reject(Object(S.a)()):this._getProxy().then(n=>(this._getOrCreateModelManager(n).ensureSyncedResources(h),n))}computeDiff(h,n,E,ca){return this._withSyncedResources([h,n]).then(Ca=>Ca.computeDiff(h.toString(),n.toString(),E,ca))}computeMoreMinimalEdits(h,n){return this._withSyncedResources([h]).then(E=>E.computeMoreMinimalEdits(h.toString(),n))}computeLinks(h){return this._withSyncedResources([h]).then(n=>n.computeLinks(h.toString()))}textualSuggest(h,n){return this._withSyncedResources([h]).then(E=>{let ca=this._modelService.getModel(h);if(!ca)return null;let Ca=G.a.getWordDefinition(ca.getLanguageIdentifier().id),Ma=Ca.source,Ea=Object(za.O)(Ca);return E.textualSuggest(h.toString(),n,Ma,Ea)})}computeWordRanges(h,n){return this._withSyncedResources([h]).then(E=>{let ca=this._modelService.getModel(h);if(!ca)return Promise.resolve(null);let Ca=G.a.getWordDefinition(ca.getLanguageIdentifier().id),Ma=Ca.source,Ea=Object(za.O)(Ca);return E.computeWordRanges(h.toString(),n,Ma,Ea)})}navigateValueSet(h,n,E){return this._withSyncedResources([h]).then(ca=>{let Ca=this._modelService.getModel(h);if(!Ca)return null;let Ma=G.a.getWordDefinition(Ca.getLanguageIdentifier().id),Ea=Ma.source,eb=Object(za.O)(Ma);return ca.navigateValueSet(h.toString(),n,E,Ea,eb)})}dispose(){super.dispose(),this._disposed=!0}}var tc=f(14);class rb extends wb{constructor(h,n){super(h,n.keepIdleModels||!1,n.label),this._foreignModuleId=n.moduleId,this._foreignModuleCreateData=n.createData||null,this._foreignModuleHost=n.host||null,this._foreignProxy=null}fhr(h,n){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[h])return Promise.reject(new Error("Missing method "+h+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[h].apply(this._foreignModuleHost,n))}catch(E){return Promise.reject(E)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(h=>{const n=this._foreignModuleHost?tc.d(this._foreignModuleHost):[];return h.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,n).then(E=>{this._foreignModuleCreateData=null;const ca=(Ea,eb)=>h.fmr(Ea,eb),Ca=(Ea,eb)=>function(){const Cb=Array.prototype.slice.call(arguments,0);return eb(Ea,Cb)};let Ma={};for(const Ea of E)Ma[Ea]=Ca(Ea,ca);return Ma})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(h){return this._withSyncedResources(h).then(n=>this.getProxy())}}var wc=f(40),vc=f(111),cb=f(91),Ob=f(74),uc=f(77);function Cc(h){return!function(n){return Array.isArray(n)}(h)}function Kc(h){return"string"==typeof h}function Yc(h){return!Kc(h)}function sc(h){return!h}function Nb(h,n){return h.ignoreCase&&n?n.toLowerCase():n}function Fc(h){return h.replace(/[&<>'"_]/g,"-")}function pb(h,n){return new Error(`${h.languageId}: ${n}`)}function mc(h,n,E,ca,Ca){let Ma=null;return n.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(Ea,eb,Cb,bc,ic,Mc,ed,td,Bd){return sc(Cb)?sc(bc)?!sc(ic)&&ic<ca.length?Nb(h,ca[ic]):!sc(ed)&&h&&"string"==typeof h[ed]?h[ed]:(null===Ma&&(Ma=Ca.split("."),Ma.unshift(Ca)),!sc(Mc)&&Mc<Ma.length?Nb(h,Ma[Mc]):""):Nb(h,E):"$"})}function Eb(h,n){let E=n;for(;E&&E.length>0;){const ca=h.tokenizer[E];if(ca)return ca;const Ca=E.lastIndexOf(".");E=Ca<0?null:E.substr(0,Ca)}return null}class qb{constructor(h){this._maxCacheDepth=h,this._entries=Object.create(null)}static create(h,n){return this._INSTANCE.create(h,n)}create(h,n){if(null!==h&&h.depth>=this._maxCacheDepth)return new Va(h,n);let E=Va.getStackElementId(h);E.length>0&&(E+="|"),E+=n;let ca=this._entries[E];return ca||(ca=new Va(h,n),this._entries[E]=ca,ca)}}qb._INSTANCE=new qb(5);class Va{constructor(h,n){this.parent=h,this.state=n,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(h){let n="";for(;null!==h;)n.length>0&&(n+="|"),n+=h.state,h=h.parent;return n}static _equals(h,n){for(;null!==h&&null!==n;){if(h===n)return!0;if(h.state!==n.state)return!1;h=h.parent,n=n.parent}return null===h&&null===n}equals(h){return Va._equals(this,h)}push(h){return qb.create(this,h)}pop(){return this.parent}popall(){let h=this;for(;h.parent;)h=h.parent;return h}switchTo(h){return qb.create(this.parent,h)}}class Oa{constructor(h,n){this.modeId=h,this.state=n}equals(h){return this.modeId===h.modeId&&this.state.equals(h.state)}clone(){return this.state.clone()===this.state?this:new Oa(this.modeId,this.state)}}class Qa{constructor(h){this._maxCacheDepth=h,this._entries=Object.create(null)}static create(h,n){return this._INSTANCE.create(h,n)}create(h,n){if(null!==n)return new kb(h,n);if(null!==h&&h.depth>=this._maxCacheDepth)return new kb(h,n);let E=Va.getStackElementId(h),ca=this._entries[E];return ca||(ca=new kb(h,null),this._entries[E]=ca,ca)}}Qa._INSTANCE=new Qa(5);class kb{constructor(h,n){this.stack=h,this.embeddedModeData=n}clone(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:Qa.create(this.stack,this.embeddedModeData)}equals(h){return h instanceof kb&&(!!this.stack.equals(h.stack)&&(null===this.embeddedModeData&&null===h.embeddedModeData||null!==this.embeddedModeData&&null!==h.embeddedModeData&&this.embeddedModeData.equals(h.embeddedModeData)))}}class tb{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(h,n){this._language=n}emit(h,n){this._lastTokenType===n&&this._lastTokenLanguage===this._language||(this._lastTokenType=n,this._lastTokenLanguage=this._language,this._tokens.push(new uc.a(h,n,this._language)))}nestedModeTokenize(h,n,E){const ca=n.modeId,Ca=n.state,Ma=H.C.get(ca);if(!Ma)return this.enterMode(E,ca),this.emit(E,""),Ca;let Ea=Ma.tokenize(h,Ca,E);return this._tokens=this._tokens.concat(Ea.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,Ea.endState}finalize(h){return new uc.b(this._tokens,h)}}class oc{constructor(h,n){this._modeService=h,this._theme=n,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(h,n){this._currentLanguageId=this._modeService.getLanguageIdentifier(n).id}emit(h,n){let E=this._theme.match(this._currentLanguageId,n);this._lastTokenMetadata!==E&&(this._lastTokenMetadata=E,this._tokens.push(h),this._tokens.push(E))}static _merge(h,n,E){let ca=null!==h?h.length:0,Ca=n.length,Ma=null!==E?E.length:0;if(0===ca&&0===Ca&&0===Ma)return new Uint32Array(0);if(0===ca&&0===Ca)return E;if(0===Ca&&0===Ma)return h;let Ea=new Uint32Array(ca+Ca+Ma);null!==h&&Ea.set(h);for(let eb=0;eb<Ca;eb++)Ea[ca+eb]=n[eb];return null!==E&&Ea.set(E,ca+Ca),Ea}nestedModeTokenize(h,n,E){const ca=n.modeId,Ca=n.state,Ma=H.C.get(ca);if(!Ma)return this.enterMode(E,ca),this.emit(E,""),Ca;let Ea=Ma.tokenize2(h,Ca,E);return this._prependTokens=oc._merge(this._prependTokens,this._tokens,Ea.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,Ea.endState}finalize(h){return new uc.c(oc._merge(this._prependTokens,this._tokens,null),h)}}class ec{constructor(h,n,E,ca){this._modeService=h,this._standaloneThemeService=n,this._modeId=E,this._lexer=ca,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let Ca=!1;this._tokenizationRegistryListener=H.C.onDidChange(Ma=>{if(Ca)return;let Ea=!1;for(let eb=0,Cb=Ma.changedLanguages.length;eb<Cb;eb++){let bc=Ma.changedLanguages[eb];if(this._embeddedModes[bc]){Ea=!0;break}}Ea&&(Ca=!0,H.C.fire([this._modeId]),Ca=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let h=[];for(let n in this._embeddedModes){const E=H.C.get(n);if(E){if(E instanceof ec){const Ca=E.getLoadStatus();!1===Ca.loaded&&h.push(Ca.promise)}continue}const ca=H.C.getPromise(n);ca&&h.push(ca)}return 0===h.length?{loaded:!0}:{loaded:!1,promise:Promise.all(h).then(n=>{})}}getInitialState(){let h=qb.create(null,this._lexer.start);return Qa.create(h,null)}tokenize(h,n,E){let ca=new tb(),Ca=this._tokenize(h,n,E,ca);return ca.finalize(Ca)}tokenize2(h,n,E){let ca=new oc(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme),Ca=this._tokenize(h,n,E,ca);return ca.finalize(Ca)}_tokenize(h,n,E,ca){return n.embeddedModeData?this._nestedTokenize(h,n,E,ca):this._myTokenize(h,n,E,ca)}_findLeavingNestedModeOffset(h,n){let E=this._lexer.tokenizer[n.stack.state];if(!E&&(E=Eb(this._lexer,n.stack.state),!E))throw pb(this._lexer,"tokenizer state is not defined: "+n.stack.state);let ca=-1,Ca=!1;for(const Ma of E){if(!Yc(Ma.action)||"@pop"!==Ma.action.nextEmbedded)continue;Ca=!0;let Ea=Ma.regex,eb=Ma.regex.source;if("^(?:"===eb.substr(0,4)&&")"===eb.substr(eb.length-1,1)){let bc=(Ea.ignoreCase?"i":"")+(Ea.unicode?"u":"");Ea=new RegExp(eb.substr(4,eb.length-5),bc)}let Cb=h.search(Ea);-1===Cb||0!==Cb&&Ma.matchOnlyAtLineStart||(-1===ca||Cb<ca)&&(ca=Cb)}if(!Ca)throw pb(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+n.stack.state);return ca}_nestedTokenize(h,n,E,ca){let Ca=this._findLeavingNestedModeOffset(h,n);if(-1===Ca){let eb=ca.nestedModeTokenize(h,n.embeddedModeData,E);return Qa.create(n.stack,new Oa(n.embeddedModeData.modeId,eb))}let Ma=h.substring(0,Ca);Ma.length>0&&ca.nestedModeTokenize(Ma,n.embeddedModeData,E);let Ea=h.substring(Ca);return this._myTokenize(Ea,n,E+Ca,ca)}_safeRuleName(h){return h?h.name:"(unknown)"}_myTokenize(h,n,E,ca){ca.enterMode(E,this._modeId);const Ca=h.length;let Ma=n.embeddedModeData,Ea=n.stack,eb=0,Cb=null,bc=!0;for(;bc||eb<Ca;){const ed=eb,td=Ea.depth,Bd=Cb?Cb.groups.length:0,$d=Ea.state;let ae=null,ge=null,Ud=null,Se=null,Tg=null;if(Cb){ae=Cb.matches;const he=Cb.groups.shift();ge=he.matched,Ud=he.action,Se=Cb.rule,0===Cb.groups.length&&(Cb=null)}else{if(!bc&&eb>=Ca)break;bc=!1;let he=this._lexer.tokenizer[$d];if(!he&&(he=Eb(this._lexer,$d),!he))throw pb(this._lexer,"tokenizer state is not defined: "+$d);let Xd=h.substr(eb);for(const Ke of he)if((0===eb||!Ke.matchOnlyAtLineStart)&&(ae=Xd.match(Ke.regex),ae)){ge=ae[0],Ud=Ke.action;break}}if(ae||(ae=[""],ge=""),Ud||(eb<Ca&&(ae=[h.charAt(eb)],ge=ae[0]),Ud=this._lexer.defaultToken),null===ge)break;for(eb+=ge.length;Cc(Ud)&&Yc(Ud)&&Ud.test;)Ud=Ud.test(ge,ae,$d,eb===Ca);let Ze=null;if("string"==typeof Ud||Array.isArray(Ud))Ze=Ud;else if(Ud.group)Ze=Ud.group;else if(null!==Ud.token&&void 0!==Ud.token){if(Ze=Ud.tokenSubst?mc(this._lexer,Ud.token,ge,ae,$d):Ud.token,Ud.nextEmbedded)if("@pop"===Ud.nextEmbedded){if(!Ma)throw pb(this._lexer,"cannot pop embedded mode if not inside one");Ma=null}else{if(Ma)throw pb(this._lexer,"cannot enter embedded mode from within an embedded mode");Tg=mc(this._lexer,Ud.nextEmbedded,ge,ae,$d)}if(Ud.goBack&&(eb=Math.max(0,eb-Ud.goBack)),Ud.switchTo&&"string"==typeof Ud.switchTo){let he=mc(this._lexer,Ud.switchTo,ge,ae,$d);if("@"===he[0]&&(he=he.substr(1)),!Eb(this._lexer,he))throw pb(this._lexer,"trying to switch to a state '"+he+"' that is undefined in rule: "+this._safeRuleName(Se));Ea=Ea.switchTo(he)}else{if(Ud.transform&&"function"==typeof Ud.transform)throw pb(this._lexer,"action.transform not supported");if(Ud.next)if("@push"===Ud.next){if(Ea.depth>=this._lexer.maxStack)throw pb(this._lexer,"maximum tokenizer stack size reached: ["+Ea.state+","+Ea.parent.state+",...]");Ea=Ea.push($d)}else if("@pop"===Ud.next){if(Ea.depth<=1)throw pb(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(Se));Ea=Ea.pop()}else if("@popall"===Ud.next)Ea=Ea.popall();else{let he=mc(this._lexer,Ud.next,ge,ae,$d);if("@"===he[0]&&(he=he.substr(1)),!Eb(this._lexer,he))throw pb(this._lexer,"trying to set a next state '"+he+"' that is undefined in rule: "+this._safeRuleName(Se));Ea=Ea.push(he)}}Ud.log&&"string"==typeof Ud.log&&(ic=this._lexer,Mc=this._lexer.languageId+": "+mc(this._lexer,Ud.log,ge,ae,$d),console.log(`${ic.languageId}: ${Mc}`))}if(null===Ze)throw pb(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(Se));const Rf=he=>{let Xd=this._modeService.getModeIdForLanguageName(he);Xd&&(he=Xd);const Ke=this._getNestedEmbeddedModeData(he);if(eb<Ca){const Vh=h.substr(eb);return this._nestedTokenize(Vh,Qa.create(Ea,Ke),E+eb,ca)}return Qa.create(Ea,Ke)};if(Array.isArray(Ze)){if(Cb&&Cb.groups.length>0)throw pb(this._lexer,"groups cannot be nested: "+this._safeRuleName(Se));if(ae.length!==Ze.length+1)throw pb(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(Se));let he=0;for(let Xd=1;Xd<ae.length;Xd++)he+=ae[Xd].length;if(he!==ge.length)throw pb(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(Se));Cb={rule:Se,matches:ae,groups:[]};for(let Xd=0;Xd<Ze.length;Xd++)Cb.groups[Xd]={action:Ze[Xd],matched:ae[Xd+1]};eb-=ge.length}else{{if("@rematch"===Ze&&(eb-=ge.length,ge="",ae=null,Ze="",null!==Tg))return Rf(Tg);if(0===ge.length){if(0===Ca||td!==Ea.depth||$d!==Ea.state||(Cb?Cb.groups.length:0)!==Bd)continue;throw pb(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(Se))}let he=null;if(Kc(Ze)&&0===Ze.indexOf("@brackets")){let Xd=Ze.substr("@brackets".length),Ke=$b(this._lexer,ge);if(!Ke)throw pb(this._lexer,"@brackets token returned but no bracket defined as: "+ge);he=Fc(Ke.token+Xd)}else he=Fc(""===Ze?"":Ze+this._lexer.tokenPostfix);ca.emit(ed+E,he)}if(null!==Tg)return Rf(Tg)}}var ic,Mc;return Qa.create(Ea,Ma)}_getNestedEmbeddedModeData(h){let n=this._locateMode(h);if(n){let E=H.C.get(n);if(E)return new Oa(n,E.getInitialState())}return new Oa(n||ea.b,ea.c)}_locateMode(h){if(!h||!this._modeService.isRegisteredMode(h))return null;if(h===this._modeId)return h;let n=this._modeService.getModeId(h);return n&&(this._modeService.triggerMode(n),this._embeddedModes[n]=!0),n}}function $b(h,n){if(!n)return null;n=Nb(h,n);let E=h.brackets;for(const ca of E){if(ca.open===n)return{token:ca.token,bracketType:1};if(ca.close===n)return{token:ca.token,bracketType:-1}}return null}class Hc{static colorizeElement(h,n,E,ca){let Ca=(ca=ca||{}).theme||"vs",Ma=ca.mimeType||E.getAttribute("lang")||E.getAttribute("data-lang");if(!Ma)return console.error("Mode not detected"),Promise.resolve();h.setTheme(Ca);let Ea=E.firstChild?E.firstChild.nodeValue:"";return E.className+=" "+Ca,this.colorize(n,Ea||"",Ma,ca).then(eb=>{E.innerHTML=eb},eb=>console.error(eb))}static colorize(h,n,E,ca){let Ca=4;ca&&"number"==typeof ca.tabSize&&(Ca=ca.tabSize),za.U(n)&&(n=n.substr(1));let Ma=n.split(/\r\n|\r|\n/),Ea=h.getModeId(E);if(!Ea)return Promise.resolve(Vc(Ma,Ca));h.triggerMode(Ea);const eb=H.C.get(Ea);if(eb)return Bc(Ma,Ca,eb);const Cb=H.C.getPromise(Ea);return new Promise(Cb?(bc,ic)=>{Cb.then(Mc=>{Bc(Ma,Ca,Mc).then(bc,ic)},ic)}:(bc,ic)=>{let Mc=null,ed=null;const td=()=>{Mc&&(Mc.dispose(),Mc=null),ed&&(ed.dispose(),ed=null);const Bd=H.C.get(Ea);Bd?Bc(Ma,Ca,Bd).then(bc,ic):bc(Vc(Ma,Ca))};ed=new Ba.e(),ed.cancelAndSet(td,500),Mc=H.C.onDidChange(Bd=>{Bd.changedLanguages.indexOf(Ea)>=0&&td()})})}static colorizeLine(h,n,E,ca,Ca=4){const Ma=Ob.d.isBasicASCII(h,n),Ea=Ob.d.containsRTL(h,Ma,E);return Object(cb.e)(new cb.c(!1,!0,h,!1,Ma,Ea,0,ca,[],Ca,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(h,n,E=4){let ca=h.getLineContent(n);h.forceTokenization(n);let Ca=h.getLineTokens(n).inflate();return this.colorizeLine(ca,h.mightContainNonBasicASCII(),h.mightContainRTL(),Ca,E)}}function Bc(h,n,E){return new Promise((ca,Ca)=>{const Ma=()=>{const Ea=function(eb,Cb,bc){let ic=[],Mc=bc.getInitialState();for(let ed=0,td=eb.length;ed<td;ed++){let Bd=eb[ed],$d=bc.tokenize2(Bd,Mc,0);vc.a.convertToEndOffset($d.tokens,Bd.length);let ae=new vc.a($d.tokens,Bd);const ge=Ob.d.isBasicASCII(Bd,!0),Ud=Ob.d.containsRTL(Bd,ge,!0);let Se=Object(cb.e)(new cb.c(!1,!0,Bd,!1,ge,Ud,0,ae.inflate(),[],Cb,0,0,0,0,-1,"none",!1,!1,null));ic=ic.concat(Se.html),ic.push("<br/>"),Mc=$d.endState}return ic.join("")}(h,n,E);if(E instanceof ec){const eb=E.getLoadStatus();if(!1===eb.loaded)return void eb.promise.then(Ma,Ca)}ca(Ea)};Ma()})}function Vc(h,n){let E=[];const ca=new Uint32Array(2);ca[0]=0,ca[1]=16793600;for(let Ca=0,Ma=h.length;Ca<Ma;Ca++){let Ea=h[Ca];ca[0]=Ea.length;const eb=new vc.a(ca,Ea),Cb=Ob.d.isBasicASCII(Ea,!0),bc=Ob.d.containsRTL(Ea,Cb,!0);let ic=Object(cb.e)(new cb.c(!1,!0,Ea,!1,Cb,bc,0,eb,[],n,0,0,0,0,-1,"none",!1,!1,null));E=E.concat(ic.html),E.push("<br/>")}return E.join("")}var Ic=f(67),xc=f(6),nb=f(43),zb=f(68),dc=f(112),Dc=f(148),Pc=f(161),Nc=f(70),Ed=f(9),ad=f(54),ud=f(78),Od=f(46),wd=f(128);class Dd{constructor(h={},n=[],E=[]){this._contents=h,this._keys=n,this._overrides=E,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(h){return h?Object(ad.d)(this.contents,h):this.contents}override(h){const n=this.getContentsForOverrideIdentifer(h);if(!n||"object"!=typeof n||!Object.keys(n).length)return this;let E={};for(const ca of ua.e([...Object.keys(this.contents),...Object.keys(n)])){let Ca=this.contents[ca],Ma=n[ca];Ma&&("object"==typeof Ca&&"object"==typeof Ma?(Ca=Od.c(Ca),this.mergeContents(Ca,Ma)):Ca=Ma),E[ca]=Ca}return new Dd(E,this.keys,this.overrides)}merge(...h){const n=Od.c(this.contents),E=Od.c(this.overrides),ca=[...this.keys];for(const Ca of h){this.mergeContents(n,Ca.contents);for(const Ma of Ca.overrides){const[Ea]=E.filter(eb=>ua.g(eb.identifiers,Ma.identifiers));Ea?this.mergeContents(Ea.contents,Ma.contents):E.push(Od.c(Ma))}for(const Ma of Ca.keys)-1===ca.indexOf(Ma)&&ca.push(Ma)}return new Dd(n,ca,E)}freeze(){return this.isFrozen=!0,this}mergeContents(h,n){for(const E of Object.keys(n))E in h&&tc.i(h[E])&&tc.i(n[E])?this.mergeContents(h[E],n[E]):h[E]=Od.c(n[E])}checkAndFreeze(h){return this.isFrozen&&!Object.isFrozen(h)?Od.d(h):h}getContentsForOverrideIdentifer(h){for(const n of this.overrides)if(-1!==n.identifiers.indexOf(h))return n.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(h,n){this.addKey(h),Object(ad.b)(this.contents,h,n,E=>{throw new Error(E)})}removeValue(h){this.removeKey(h)&&Object(ad.f)(this.contents,h)}addKey(h){let n=this.keys.length;for(let E=0;E<n;E++)0===h.indexOf(this.keys[E])&&(n=E);this.keys.splice(n,1,h)}removeKey(h){let n=this.keys.indexOf(h);return-1!==n&&(this.keys.splice(n,1),!0)}}class ce extends Dd{constructor(){const h=Object(ad.e)(),n=Object(ad.c)(),E=[];for(const ca of Object.keys(h))wd.b.test(ca)&&E.push({identifiers:[Object(wd.c)(ca).trim()],keys:Object.keys(h[ca]),contents:Object(ad.g)(h[ca],Ca=>console.error("Conflict in default settings file: "+Ca))});super(h,n,E)}}class _d{constructor(h,n,E=new Dd(),ca=new Dd(),Ca=new ud.b(),Ma=new Dd(),Ea=new ud.b(),eb=!0){this._defaultConfiguration=h,this._localUserConfiguration=n,this._remoteUserConfiguration=E,this._workspaceConfiguration=ca,this._folderConfigurations=Ca,this._memoryConfiguration=Ma,this._memoryConfigurationByResource=Ea,this._freeze=eb,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new ud.b(),this._userConfiguration=null}getValue(h,n,E){return this.getConsolidateConfigurationModel(n,E).getValue(h)}updateValue(h,n,E={}){let ca;E.resource?(ca=this._memoryConfigurationByResource.get(E.resource),ca||(ca=new Dd(),this._memoryConfigurationByResource.set(E.resource,ca))):ca=this._memoryConfiguration,void 0===n?ca.removeValue(h):ca.setValue(h,n),E.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(h,n){let E=this.getConsolidatedConfigurationModelForResource(h,n);return h.overrideIdentifier?E.override(h.overrideIdentifier):E}getConsolidatedConfigurationModelForResource({resource:h},n){let E=this.getWorkspaceConsolidatedConfiguration();if(n&&h){const ca=n.getFolder(h);ca&&(E=this.getFolderConsolidatedConfiguration(ca.uri)||E);const Ca=this._memoryConfigurationByResource.get(h);Ca&&(E=E.merge(Ca))}return E}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(h){let n=this._foldersConsolidatedConfigurations.get(h);if(!n){const E=this.getWorkspaceConsolidatedConfiguration(),ca=this._folderConfigurations.get(h);ca?(n=E.merge(ca),this._freeze&&(n=n.freeze()),this._foldersConsolidatedConfigurations.set(h,n)):n=E}return n}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((h,n)=>{const{contents:E,overrides:ca,keys:Ca}=this._folderConfigurations.get(n);return h.push([n,{contents:E,overrides:ca,keys:Ca}]),h},[])}}static parse(h){const n=this.parseConfigurationModel(h.defaults),E=this.parseConfigurationModel(h.user),ca=this.parseConfigurationModel(h.workspace),Ca=h.folders.reduce((Ma,Ea)=>(Ma.set(z.a.revive(Ea[0]),this.parseConfigurationModel(Ea[1])),Ma),new ud.b());return new _d(n,E,new Dd(),ca,Ca,new Dd(),new ud.b(),!1)}static parseConfigurationModel(h){return new Dd(h.contents,h.keys,h.overrides).freeze()}}class oe{constructor(h,n,E,ca){this.change=h,this.previous=n,this.currentConfiguraiton=E,this.currentWorkspace=ca,this._previousConfiguration=void 0;const Ca=new Set();h.keys.forEach(Ea=>Ca.add(Ea)),h.overrides.forEach(([,Ea])=>Ea.forEach(eb=>Ca.add(eb))),this.affectedKeys=[...Ca.values()];const Ma=new Dd();this.affectedKeys.forEach(Ea=>Ma.setValue(Ea,{})),this.affectedKeysTree=Ma.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=_d.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(h,n){var E;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,h)){if(n){const ca=this.previousConfiguration?this.previousConfiguration.getValue(h,n,null===(E=this.previous)||void 0===E?void 0:E.workspace):void 0,Ca=this.currentConfiguraiton.getValue(h,n,this.currentWorkspace);return!Od.e(ca,Ca)}return!0}return!1}doesAffectedKeysTreeContains(h,n){let E,ca=Object(ad.g)({[n]:!0},()=>{});for(;"object"==typeof ca&&(E=Object.keys(ca)[0]);){if(!(h=h[E]))return!1;ca=ca[E]}return!0}}var nd=f(0);class Qd extends N.a{constructor(h,n,E,ca,Ca){super(),this._contextKeyService=h,this._commandService=n,this._telemetryService=E,this._notificationService=ca,this._logService=Ca,this._onDidUpdateKeybindings=this._register(new xc.a()),this._currentChord=null,this._currentChordChecker=new Ba.c(),this._currentChordStatusMessage=null,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:xc.b.None}dispose(){super.dispose()}_log(h){this._logging&&this._logService.info("[KeybindingService]: "+h)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybindings(h){return ua.d(this._getResolver().lookupKeybindings(h).map(n=>n.resolvedKeybinding))}lookupKeybinding(h){const n=this._getResolver().lookupPrimaryKeybinding(h);if(n)return n.resolvedKeybinding}dispatchEvent(h,n){return this._dispatch(h,n)}softDispatch(h,n){const E=this.resolveKeyboardEvent(h);if(E.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;const[ca]=E.getDispatchParts();if(null===ca)return null;const Ca=this._contextKeyService.getContext(n),Ma=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(Ca,Ma,ca)}_enterChordMode(h,n){this._currentChord={keypress:h,label:n},this._currentChordStatusMessage=this._notificationService.status(nd.a("first.chord","({0}) was pressed. Waiting for second key of chord...",n));const E=Date.now();this._currentChordChecker.cancelAndSet(()=>{this._documentHasFocus()?Date.now()-E>5e3&&this._leaveChordMode():this._leaveChordMode()},500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(h,n){return this._doDispatch(this.resolveKeyboardEvent(h),n)}_doDispatch(h,n){let E=!1;if(h.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;const[ca]=h.getDispatchParts();if(null===ca)return this._log("\\ Keyboard event cannot be dispatched."),E;const Ca=this._contextKeyService.getContext(n),Ma=this._currentChord?this._currentChord.keypress:null,Ea=h.getLabel(),eb=this._getResolver().resolve(Ca,Ma,ca);return this._logService.trace("KeybindingService#dispatch",Ea,null==eb?void 0:eb.commandId),eb&&eb.enterChord?(E=!0,this._enterChordMode(ca,Ea),E):(this._currentChord&&(eb&&eb.commandId||(this._notificationService.status(nd.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,Ea),{hideAfter:1e4}),E=!0)),this._leaveChordMode(),eb&&eb.commandId&&(eb.bubble||(E=!0),void 0===eb.commandArgs?this._commandService.executeCommand(eb.commandId).then(void 0,Cb=>this._notificationService.warn(Cb)):this._commandService.executeCommand(eb.commandId,eb.commandArgs).then(void 0,Cb=>this._notificationService.warn(Cb)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:eb.commandId,from:"keybinding"})),E)}mightProducePrintableCharacter(h){return!h.ctrlKey&&!h.metaKey&&(h.keyCode>=31&&h.keyCode<=56||h.keyCode>=21&&h.keyCode<=30)}}class jd{constructor(h,n,E){this._log=E,this._defaultKeybindings=h,this._defaultBoundCommands=new Map();for(let ca=0,Ca=h.length;ca<Ca;ca++){const Ma=h[ca].command;Ma&&this._defaultBoundCommands.set(Ma,!0)}this._map=new Map(),this._lookupMap=new Map(),this._keybindings=jd.combine(h,n);for(let ca=0,Ca=this._keybindings.length;ca<Ca;ca++){let Ma=this._keybindings[ca];0!==Ma.keypressParts.length&&(Ma.when&&0===Ma.when.type||this._addKeyPress(Ma.keypressParts[0],Ma))}}static _isTargetedForRemoval(h,n,E,ca,Ca){if(h.command!==ca)return!1;if(n&&h.keypressParts[0]!==n)return!1;if(E&&h.keypressParts[1]!==E)return!1;if(Ca){if(!h.when)return!1;if(!Ca.equals(h.when))return!1}return!0}static combine(h,n){h=h.slice(0);let E=[];for(const ca of n){if(!ca.command||0===ca.command.length||"-"!==ca.command.charAt(0)){E.push(ca);continue}const Ca=ca.command.substr(1),Ma=ca.keypressParts[0],Ea=ca.keypressParts[1],eb=ca.when;for(let Cb=h.length-1;Cb>=0;Cb--)this._isTargetedForRemoval(h[Cb],Ma,Ea,Ca,eb)&&h.splice(Cb,1)}return h.concat(E)}_addKeyPress(h,n){const E=this._map.get(h);if(void 0===E)return this._map.set(h,[n]),void this._addToLookupMap(n);for(let ca=E.length-1;ca>=0;ca--){let Ca=E[ca];if(Ca.command===n.command)continue;const Ma=Ca.keypressParts.length>1,Ea=n.keypressParts.length>1;Ma&&Ea&&Ca.keypressParts[1]!==n.keypressParts[1]||jd.whenIsEntirelyIncluded(Ca.when,n.when)&&this._removeFromLookupMap(Ca)}E.push(n),this._addToLookupMap(n)}_addToLookupMap(h){if(!h.command)return;let n=this._lookupMap.get(h.command);void 0===n?(n=[h],this._lookupMap.set(h.command,n)):n.push(h)}_removeFromLookupMap(h){if(!h.command)return;let n=this._lookupMap.get(h.command);if(void 0!==n){for(let E=0,ca=n.length;E<ca;E++)if(n[E]===h)return void n.splice(E,1)}}static whenIsEntirelyIncluded(h,n){return!n||!!h&&this._implies(h,n)}static _implies(h,n){const E=Ca=>9===Ca.type?Ca.expr:[Ca];let ca=E(h.negate()).concat(E(n));for(let Ca=0;Ca<ca.length;Ca++){const Ma=ca[Ca].negate();for(let Ea=Ca+1;Ea<ca.length;Ea++){const eb=ca[Ea];if(Ma.equals(eb))return!0}}return!1}getKeybindings(){return this._keybindings}lookupKeybindings(h){let n=this._lookupMap.get(h);if(void 0===n||0===n.length)return[];let E=[],ca=0;for(let Ca=n.length-1;Ca>=0;Ca--)E[ca++]=n[Ca];return E}lookupPrimaryKeybinding(h){let n=this._lookupMap.get(h);return void 0===n||0===n.length?null:n[n.length-1]}resolve(h,n,E){this._log(`| Resolving ${E}${n?" chorded from "+n:""}`);let ca=null;if(null!==n){const Ma=this._map.get(n);if(void 0===Ma)return this._log("\\ No keybinding entries."),null;ca=[];for(let Ea=0,eb=Ma.length;Ea<eb;Ea++){let Cb=Ma[Ea];Cb.keypressParts[1]===E&&ca.push(Cb)}}else{const Ma=this._map.get(E);if(void 0===Ma)return this._log("\\ No keybinding entries."),null;ca=Ma}let Ca=this._findCommand(h,ca);return Ca?null===n&&Ca.keypressParts.length>1&&null!==Ca.keypressParts[1]?(this._log(`\\ From ${ca.length} keybinding entries, matched chord, when: ${de(Ca.when)}, source: ${Gd(Ca)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${ca.length} keybinding entries, matched ${Ca.command}, when: ${de(Ca.when)}, source: ${Gd(Ca)}.`),{enterChord:!1,leaveChord:Ca.keypressParts.length>1,commandId:Ca.command,commandArgs:Ca.commandArgs,bubble:Ca.bubble}):(this._log(`\\ From ${ca.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(h,n){for(let E=n.length-1;E>=0;E--){let ca=n[E];if(jd.contextMatchesRules(h,ca.when))return ca}return null}static contextMatchesRules(h,n){return!n||n.evaluate(h)}}function de(h){return h?""+h.serialize():"no when condition"}function Gd(h){return h.isDefault?h.extensionId?"built-in extension "+h.extensionId:"built-in":h.extensionId?"user extension "+h.extensionId:"user"}var xd=f(92);class K{constructor(h,n,E,ca,Ca,Ma){this.resolvedKeybinding=h,this.keypressParts=h?function(Ea){let eb=[];for(let Cb=0,bc=Ea.length;Cb<bc;Cb++){const ic=Ea[Cb];if(!ic)return eb;eb.push(ic)}return eb}(h.getDispatchParts()):[],this.bubble=!!n&&94===n.charCodeAt(0),this.command=this.bubble?n.substr(1):n,this.commandArgs=E,this.when=ca,this.isDefault=Ca,this.extensionId=Ma}}class W{constructor(h,n,E=n){this.modifierLabels=[null],this.modifierLabels[2]=h,this.modifierLabels[1]=n,this.modifierLabels[3]=E}toLabel(h,n,E){if(0===n.length)return null;const ca=[];for(let Ca=0,Ma=n.length;Ca<Ma;Ca++){const Ea=n[Ca],eb=E(Ea);if(null===eb)return null;ca[Ca]=Ta(Ea,eb,this.modifierLabels[h])}return ca.join(" ")}}const ia=new W({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:nd.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:nd.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:nd.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:nd.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:nd.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:nd.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:nd.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:nd.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),Ha=new W({ctrlKey:nd.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:nd.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:nd.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:nd.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:nd.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:nd.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:nd.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:nd.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:nd.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:nd.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:nd.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:nd.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function Ta(h,n,E){if(null===n)return"";const ca=[];return h.ctrlKey&&ca.push(E.ctrlKey),h.shiftKey&&ca.push(E.shiftKey),h.altKey&&ca.push(E.altKey),h.metaKey&&ca.push(E.metaKey),""!==n&&ca.push(n),ca.join(E.separator)}class db extends nb.c{constructor(h,n){if(super(),0===n.length)throw Object(S.b)("parts");this._os=h,this._parts=n}getLabel(){return ia.toLabel(this._os,this._parts,h=>this._getLabel(h))}getAriaLabel(){return Ha.toLabel(this._os,this._parts,h=>this._getAriaLabel(h))}isChord(){return this._parts.length>1}getParts(){return this._parts.map(h=>this._getPart(h))}_getPart(h){return new nb.d(h.ctrlKey,h.shiftKey,h.altKey,h.metaKey,this._getLabel(h),this._getAriaLabel(h))}getDispatchParts(){return this._parts.map(h=>this._getDispatchPart(h))}}class yb extends db{constructor(h,n){super(n,h.parts)}_keyCodeToUILabel(h){if(2===this._os)switch(h){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return nb.b.toString(h)}_getLabel(h){return h.isDuplicateModifierCase()?"":this._keyCodeToUILabel(h.keyCode)}_getAriaLabel(h){return h.isDuplicateModifierCase()?"":nb.b.toString(h.keyCode)}_getDispatchPart(h){return yb.getDispatchStr(h)}static getDispatchStr(h){if(h.isModifierKey())return null;let n="";return h.ctrlKey&&(n+="ctrl+"),h.shiftKey&&(n+="shift+"),h.altKey&&(n+="alt+"),h.metaKey&&(n+="meta+"),n+=nb.b.toString(h.keyCode),n}}var Bb=f(49),Jb=f(169),xb=f(55),Lb=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Ub=function(h,n){return function(E,ca){n(E,ca,h)}},pc=function(h,n,E,ca){return new(E||(E=Promise))(function(Ca,Ma){function Ea(bc){try{Cb(ca.next(bc))}catch(ic){Ma(ic)}}function eb(bc){try{Cb(ca.throw(bc))}catch(ic){Ma(ic)}}function Cb(bc){var ic;bc.done?Ca(bc.value):(ic=bc.value,ic instanceof E?ic:new E(function(Mc){Mc(ic)})).then(Ea,eb)}Cb((ca=ca.apply(h,n||[])).next())})};class yc{constructor(h){this.disposed=!1,this.model=h,this._onDispose=new xc.a()}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onDispose.fire()}}let Ec=class{constructor(h){this.modelService=h}setEditor(h){this.editor=h}createModelReference(h){let n=null;var E,ca,Ca;return this.editor&&(E=this.editor,ca=Ma=>this.findModel(Ma,h),Ca=Ma=>this.findModel(Ma.getOriginalEditor(),h)||this.findModel(Ma.getModifiedEditor(),h),n=Object(dc.b)(E)?ca(E):Ca(E)),n?Promise.resolve(new N.c(new yc(n))):Promise.reject(new Error("Model not found"))}findModel(h,n){let E=this.modelService.getModel(n);return E&&E.uri.toString()!==n.toString()?null:E}};Ec=Lb([Ub(0,_a.a)],Ec);class X{show(){return X.NULL_PROGRESS_RUNNER}showWhile(h,n){return Promise.resolve(void 0)}}X.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class xa{confirm(h){return this.doConfirm(h).then(n=>({confirmed:n,checkboxChecked:!1}))}doConfirm(h){let n=h.message;return h.detail&&(n=n+` + `,constraint:function(C){if(!f.i(C))return!1;let S=C;return!!f.j(S.to)&&!(!f.k(S.select)&&!f.f(S.select))&&!(!f.k(S.by)&&!f.j(S.by))&&!(!f.k(S.value)&&!f.h(S.value))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},y.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},y.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},y.parse=function(C){if(!C.to)return null;let S;switch(C.to){case y.RawDirection.Left:S=0;break;case y.RawDirection.Right:S=1;break;case y.RawDirection.Up:S=2;break;case y.RawDirection.Down:S=3;break;case y.RawDirection.WrappedLineStart:S=4;break;case y.RawDirection.WrappedLineFirstNonWhitespaceCharacter:S=5;break;case y.RawDirection.WrappedLineColumnCenter:S=6;break;case y.RawDirection.WrappedLineEnd:S=7;break;case y.RawDirection.WrappedLineLastNonWhitespaceCharacter:S=8;break;case y.RawDirection.ViewPortTop:S=9;break;case y.RawDirection.ViewPortBottom:S=11;break;case y.RawDirection.ViewPortCenter:S=10;break;case y.RawDirection.ViewPortIfOutside:S=12;break;default:return null}let P=0;switch(C.by){case y.RawUnit.Line:P=1;break;case y.RawUnit.WrappedLine:P=2;break;case y.RawUnit.Character:P=3;break;case y.RawUnit.HalfLine:P=4}return{direction:S,unit:P,select:!!C.select,value:C.value||1}}})(h||(h={}))},function(Ie,w){var o,h,f=Ie.exports={};function D(){throw new Error("setTimeout has not been defined")}function H(){throw new Error("clearTimeout has not been defined")}function E(k){if(o===setTimeout)return setTimeout(k,0);if((o===D||!o)&&setTimeout)return o=setTimeout,setTimeout(k,0);try{return o(k,0)}catch(l){try{return o.call(null,k,0)}catch(T){return o.call(this,k,0)}}}(function(){try{o=typeof setTimeout=="function"?setTimeout:D}catch(k){o=D}try{h=typeof clearTimeout=="function"?clearTimeout:H}catch(k){h=H}})();var ge,W=[],Q=!1,y=-1;function C(){Q&&ge&&(Q=!1,ge.length?W=ge.concat(W):y=-1,W.length&&S())}function S(){if(!Q){var k=E(C);Q=!0;for(var l=W.length;l;){for(ge=W,W=[];++y<l;)ge&&ge[y].run();y=-1,l=W.length}ge=null,Q=!1,function(T){if(h===clearTimeout)return clearTimeout(T);if((h===H||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(T);try{h(T)}catch(N){try{return h.call(null,T)}catch(b){return h.call(this,T)}}}(k)}}function P(k,l){this.fun=k,this.array=l}function V(){}f.nextTick=function(k){var l=new Array(arguments.length-1);if(arguments.length>1)for(var T=1;T<arguments.length;T++)l[T-1]=arguments[T];W.push(new P(k,l)),W.length!==1||Q||E(S)},P.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=V,f.addListener=V,f.once=V,f.off=V,f.removeListener=V,f.removeAllListeners=V,f.emit=V,f.prependListener=V,f.prependOnceListener=V,f.listeners=function(k){return[]},f.binding=function(k){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(k){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return P}),o.d(w,"a",function(){return k});var h=o(34),f=o(6),D=o(2),H=o(11);class E{constructor(T,N){this.chr=T,this.type=N,this.width=0}fulfill(T){this.width=T}}class ge{constructor(T,N){this._bareFontInfo=T,this._requests=N,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){let T=document.createElement("div");T.style.position="absolute",T.style.top="-50000px",T.style.width="50000px";let N=document.createElement("div");N.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),N.style.fontWeight=this._bareFontInfo.fontWeight,N.style.fontSize=this._bareFontInfo.fontSize+"px",N.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,N.style.lineHeight=this._bareFontInfo.lineHeight+"px",N.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",T.appendChild(N);let b=document.createElement("div");b.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),b.style.fontWeight="bold",b.style.fontSize=this._bareFontInfo.fontSize+"px",b.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,b.style.lineHeight=this._bareFontInfo.lineHeight+"px",b.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",T.appendChild(b);let g=document.createElement("div");g.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),g.style.fontWeight=this._bareFontInfo.fontWeight,g.style.fontSize=this._bareFontInfo.fontSize+"px",g.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,g.style.lineHeight=this._bareFontInfo.lineHeight+"px",g.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",g.style.fontStyle="italic",T.appendChild(g);let j=[];for(let ie of this._requests){let U;ie.type===0&&(U=N),ie.type===2&&(U=b),ie.type===1&&(U=g),U.appendChild(document.createElement("br"));let q=document.createElement("span");ge._render(q,ie),U.appendChild(q),j.push(q)}this._container=T,this._testElements=j}static _render(T,N){if(N.chr===" "){let b="\xA0";for(let g=0;g<8;g++)b+=b;T.innerText=b}else{let b=N.chr;for(let g=0;g<8;g++)b+=b;T.textContent=b}}_readFromDomElements(){for(let T=0,N=this._requests.length;T<N;T++){let b=this._requests[T],g=this._testElements[T];b.fulfill(g.offsetWidth/256)}}}var W=o(190),Q=o(161),y=o(26),C=o(160);class S{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(T){let N=T.getId();return!!this._values[N]}get(T){let N=T.getId();return this._values[N]}put(T,N){let b=T.getId();this._keys[b]=T,this._values[b]=N}remove(T){let N=T.getId();delete this._keys[N],delete this._values[N]}getValues(){return Object.keys(this._keys).map(T=>this._values[T])}}function P(){V.INSTANCE.clearCache()}class V extends D.a{constructor(){super(),this._onDidChange=this._register(new f.a),this.onDidChange=this._onDidChange.event,this._cache=new S,this._evictUntrustedReadingsTimeout=-1}dispose(){this._evictUntrustedReadingsTimeout!==-1&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new S,this._onDidChange.fire()}_writeToCache(T,N){this._cache.put(T,N),N.isTrusted||this._evictUntrustedReadingsTimeout!==-1||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){let T=this._cache.getValues(),N=!1;for(let b=0,g=T.length;b<g;b++){let j=T[b];j.isTrusted||(N=!0,this._cache.remove(j))}N&&this._onDidChange.fire()}readConfiguration(T){if(!this._cache.has(T)){let N=V._actualReadConfiguration(T);(N.typicalHalfwidthCharacterWidth<=2||N.typicalFullwidthCharacterWidth<=2||N.spaceWidth<=2||N.maxDigitWidth<=2)&&(N=new C.b({zoomLevel:h.d(),fontFamily:N.fontFamily,fontWeight:N.fontWeight,fontSize:N.fontSize,fontFeatureSettings:N.fontFeatureSettings,lineHeight:N.lineHeight,letterSpacing:N.letterSpacing,isMonospace:N.isMonospace,typicalHalfwidthCharacterWidth:Math.max(N.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(N.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:N.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(N.spaceWidth,5),middotWidth:Math.max(N.middotWidth,5),wsmiddotWidth:Math.max(N.wsmiddotWidth,5),maxDigitWidth:Math.max(N.maxDigitWidth,5)},!1)),this._writeToCache(T,N)}return this._cache.get(T)}static createRequest(T,N,b,g){let j=new E(T,N);return b.push(j),g&&g.push(j),j}static _actualReadConfiguration(T){let N=[],b=[],g=this.createRequest("n",0,N,b),j=this.createRequest("\uFF4D",0,N,null),ie=this.createRequest(" ",0,N,b),U=this.createRequest("0",0,N,b),q=this.createRequest("1",0,N,b),B=this.createRequest("2",0,N,b),se=this.createRequest("3",0,N,b),ke=this.createRequest("4",0,N,b),xe=this.createRequest("5",0,N,b),Y=this.createRequest("6",0,N,b),Z=this.createRequest("7",0,N,b),te=this.createRequest("8",0,N,b),he=this.createRequest("9",0,N,b),Ce=this.createRequest("\u2192",0,N,b),Ae=this.createRequest("\uFFEB",0,N,null),L=this.createRequest("\xB7",0,N,b),nt=this.createRequest(String.fromCharCode(11825),0,N,null);this.createRequest("|",0,N,b),this.createRequest("/",0,N,b),this.createRequest("-",0,N,b),this.createRequest("_",0,N,b),this.createRequest("i",0,N,b),this.createRequest("l",0,N,b),this.createRequest("m",0,N,b),this.createRequest("|",1,N,b),this.createRequest("_",1,N,b),this.createRequest("i",1,N,b),this.createRequest("l",1,N,b),this.createRequest("m",1,N,b),this.createRequest("n",1,N,b),this.createRequest("|",2,N,b),this.createRequest("_",2,N,b),this.createRequest("i",2,N,b),this.createRequest("l",2,N,b),this.createRequest("m",2,N,b),this.createRequest("n",2,N,b),function(G,z){new ge(G,z).read()}(T,N);let ct=Math.max(U.width,q.width,B.width,se.width,ke.width,xe.width,Y.width,Z.width,te.width,he.width),Ye=T.fontFeatureSettings===y.e.OFF,ht=b[0].width;for(let G=1,z=b.length;Ye&&G<z;G++){let J=ht-b[G].width;if(J<-.001||J>.001){Ye=!1;break}}let fe=!0;Ye&&Ae.width!==ht&&(fe=!1),Ae.width>Ce.width&&(fe=!1);let $=h.b()>2e3;return new C.b({zoomLevel:h.d(),fontFamily:T.fontFamily,fontWeight:T.fontWeight,fontSize:T.fontSize,fontFeatureSettings:T.fontFeatureSettings,lineHeight:T.lineHeight,letterSpacing:T.letterSpacing,isMonospace:Ye,typicalHalfwidthCharacterWidth:g.width,typicalFullwidthCharacterWidth:j.width,canUseHalfwidthRightwardsArrow:fe,spaceWidth:ie.width,middotWidth:L.width,wsmiddotWidth:nt.width,maxDigitWidth:ct},$)}}V.INSTANCE=new V;class k extends Q.a{constructor(T,N,b=null,g){super(T,N),this.accessibilityService=g,this._elementSizeObserver=this._register(new W.a(b,N.dimension,()=>this._onReferenceDomElementSizeChanged())),this._register(V.INSTANCE.onDidChange(()=>this._onCSSBasedConfigurationChanged())),this._validatedOptions.get(9)&&this._elementSizeObserver.startObserving(),this._register(h.n(j=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(T,N){T.style.fontFamily=N.getMassagedFontFamily(),T.style.fontWeight=N.fontWeight,T.style.fontSize=N.fontSize+"px",T.style.fontFeatureSettings=N.fontFeatureSettings,T.style.lineHeight=N.lineHeight+"px",T.style.letterSpacing=N.letterSpacing+"px"}static applyFontInfo(T,N){T.setFontFamily(N.getMassagedFontFamily()),T.setFontWeight(N.fontWeight),T.setFontSize(N.fontSize),T.setFontFeatureSettings(N.fontFeatureSettings),T.setLineHeight(N.lineHeight),T.setLetterSpacing(N.letterSpacing)}_onReferenceDomElementSizeChanged(){this._recomputeOptions()}_onCSSBasedConfigurationChanged(){this._recomputeOptions()}observeReferenceElement(T){this._elementSizeObserver.observe(T)}dispose(){super.dispose()}_getExtraEditorClassName(){let T="";return h.j||h.m||(T+="no-user-select "),H.f&&(T+="mac "),T}_getEnvConfiguration(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:h.l||h.h,pixelRatio:h.a(),zoomLevel:h.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(T){return V.INSTANCE.readConfiguration(T)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return V}),o.d(w,"b",function(){return k}),o.d(w,"d",function(){return l}),o.d(w,"c",function(){return T});var h=o(8),f=o(3),D=o(25),H=o(2),E=o(4),ge=o(10),W=o(53),Q=o(18),y=o(115);let C=Object(Q.c)("IEditorCancelService"),S=new ge.c("cancellableOperation",!1);Object(y.b)(C,class{constructor(){this._tokens=new WeakMap}add(N,b){let g,j=this._tokens.get(N);return j||(j=N.invokeWithinContext(ie=>({key:S.bindTo(ie.get(ge.b)),tokens:new W.a})),this._tokens.set(N,j)),j.key.set(!0),g=j.tokens.push(b),()=>{g&&(g(),j.key.set(!j.tokens.isEmpty()),g=void 0)}}cancel(N){let b=this._tokens.get(N);if(!b)return;let g=b.tokens.pop();g&&(g.cancel(),b.key.set(!b.tokens.isEmpty()))}},!0);class P extends D.b{constructor(b,g){super(g),this.editor=b,this._unregister=b.invokeWithinContext(j=>j.get(C).add(b,this))}dispose(){this._unregister(),super.dispose()}}Object(E.l)(new class extends E.c{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:S})}runEditorCommand(N,b){N.get(C).cancel(b)}});class V{constructor(b,g){if(this.flags=g,(1&this.flags)!=0){let j=b.getModel();this.modelVersionId=j?h.x("{0}#{1}",j.uri.toString(),j.getVersionId()):null}else this.modelVersionId=null;(4&this.flags)!=0?this.position=b.getPosition():this.position=null,(2&this.flags)!=0?this.selection=b.getSelection():this.selection=null,(8&this.flags)!=0?(this.scrollLeft=b.getScrollLeft(),this.scrollTop=b.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(b){if(!(b instanceof V))return!1;let g=b;return this.modelVersionId===g.modelVersionId&&this.scrollLeft===g.scrollLeft&&this.scrollTop===g.scrollTop&&!(!this.position&&g.position||this.position&&!g.position||this.position&&g.position&&!this.position.equals(g.position))&&!(!this.selection&&g.selection||this.selection&&!g.selection||this.selection&&g.selection&&!this.selection.equalsRange(g.selection))}validate(b){return this._equals(new V(b,this.flags))}}class k extends P{constructor(b,g,j,ie){super(b,ie),this.editor=b,this._listener=new H.b,4&g&&this._listener.add(b.onDidChangeCursorPosition(U=>{j&&f.a.containsPosition(j,U.position)||this.cancel()})),2&g&&this._listener.add(b.onDidChangeCursorSelection(U=>{j&&f.a.containsRange(j,U.selection)||this.cancel()})),8&g&&this._listener.add(b.onDidScrollChange(U=>this.cancel())),1&g&&(this._listener.add(b.onDidChangeModel(U=>this.cancel())),this._listener.add(b.onDidChangeModelContent(U=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class l extends D.b{constructor(b,g){super(g),this._listener=b.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}class T{constructor(b,g,j){this._visiblePosition=b,this._visiblePositionScrollDelta=g,this._cursorPosition=j}static capture(b){let g=null,j=0;if(b.getScrollTop()!==0){let ie=b.getVisibleRanges();if(ie.length>0){g=ie[0].getStartPosition();let U=b.getTopForPosition(g.lineNumber,g.column);j=b.getScrollTop()-U}}return new T(g,j,b.getPosition())}restore(b){if(this._visiblePosition){let g=b.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);b.setScrollTop(g+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(b){let g=b.getPosition();if(!this._cursorPosition||!g)return;let j=b.getTopForLineNumber(g.lineNumber)-b.getTopForLineNumber(this._cursorPosition.lineNumber);b.setScrollTop(b.getScrollTop()+j)}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return f}),o.d(w,"c",function(){return E}),o.d(w,"a",function(){return y});var h=o(8);function f(C){return D(C,0)}function D(C,S){switch(typeof C){case"object":return C===null?H(349,S):Array.isArray(C)?(P=C,V=H(104579,V=S),P.reduce((k,l)=>D(l,k),V)):function(k,l){return l=H(181387,l),Object.keys(k).sort().reduce((T,N)=>(T=E(N,T),D(k[N],T)),l)}(C,S);case"string":return E(C,S);case"boolean":return function(k,l){return H(k?433:863,l)}(C,S);case"number":return H(C,S);case"undefined":return H(937,S);default:return H(617,S)}var P,V}function H(C,S){return(S<<5)-S+C|0}function E(C,S){S=H(149417,S);for(let P=0,V=C.length;P<V;P++)S=H(C.charCodeAt(P),S);return S}function ge(C,S,P=32){let V=P-S;return(C<<S|(~((1<<V)-1)&C)>>>V)>>>0}function W(C,S=0,P=C.byteLength,V=0){for(let k=0;k<P;k++)C[S+k]=V}function Q(C,S=32){return function(P,V,k="0"){for(;P.length<V;)P=k+P;return P}((C>>>0).toString(16),S/4)}class y{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(S){let P=S.length;if(P===0)return;let V=this._buff,k,l,T=this._buffLen,N=this._leftoverHighSurrogate;for(N!==0?(k=N,l=-1,N=0):(k=S.charCodeAt(0),l=0);;){let b=k;if(h.F(k)){if(!(l+1<P)){N=k;break}{let g=S.charCodeAt(l+1);h.G(g)?(l++,b=h.j(k,g)):b=65533}}else h.G(k)&&(b=65533);if(T=this._push(V,T,b),l++,!(l<P))break;k=S.charCodeAt(l)}this._buffLen=T,this._leftoverHighSurrogate=N}_push(S,P,V){return V<128?S[P++]=V:V<2048?(S[P++]=192|(1984&V)>>>6,S[P++]=128|(63&V)>>>0):V<65536?(S[P++]=224|(61440&V)>>>12,S[P++]=128|(4032&V)>>>6,S[P++]=128|(63&V)>>>0):(S[P++]=240|(1835008&V)>>>18,S[P++]=128|(258048&V)>>>12,S[P++]=128|(4032&V)>>>6,S[P++]=128|(63&V)>>>0),P>=64&&(this._step(),P-=64,this._totalLen+=64,S[0]=S[64],S[1]=S[65],S[2]=S[66]),P}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Q(this._h0)+Q(this._h1)+Q(this._h2)+Q(this._h3)+Q(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,W(this._buff,this._buffLen),this._buffLen>56&&(this._step(),W(this._buff));let S=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(S/4294967296),!1),this._buffDV.setUint32(60,S%4294967296,!1),this._step()}_step(){let S=y._bigBlock32,P=this._buffDV;for(let ie=0;ie<64;ie+=4)S.setUint32(ie,P.getUint32(ie,!1),!1);for(let ie=64;ie<320;ie+=4)S.setUint32(ie,ge(S.getUint32(ie-12,!1)^S.getUint32(ie-32,!1)^S.getUint32(ie-56,!1)^S.getUint32(ie-64,!1),1),!1);let V,k,l,T=this._h0,N=this._h1,b=this._h2,g=this._h3,j=this._h4;for(let ie=0;ie<80;ie++)ie<20?(V=N&b|~N&g,k=1518500249):ie<40?(V=N^b^g,k=1859775393):ie<60?(V=N&b|N&g|b&g,k=2400959708):(V=N^b^g,k=3395469782),l=ge(T,5)+V+j+k+S.getUint32(4*ie,!1)&4294967295,j=g,g=b,b=ge(N,30),N=T,T=l;this._h0=this._h0+T&4294967295,this._h1=this._h1+N&4294967295,this._h2=this._h2+b&4294967295,this._h3=this._h3+g&4294967295,this._h4=this._h4+j&4294967295}}y._bigBlock32=new DataView(new ArrayBuffer(320))},function(Ie,w,o){"use strict";o.d(w,"c",function(){return D}),o.d(w,"b",function(){return H}),o.d(w,"a",function(){return E}),o.d(w,"d",function(){return ge}),o.d(w,"e",function(){return W});var h=o(77),f=o(12);let D=new class{clone(){return this}equals(Q){return this===Q}},H="vs.editor.nullMode",E=new f.r(H,0);function ge(Q,y,C,S){return new h.b([new h.a(S,"",Q)],C)}function W(Q,y,C,S){let P=new Uint32Array(2);return P[0]=S,P[1]=(16384|Q<<0|2<<23)>>>0,new h.c(P,C===null?D:C)}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return E}),o.d(w,"c",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"d",function(){return y}),o.d(w,"e",function(){return S});var h=o(8),f=o(132),D=o(155);class H{constructor(k,l,T){this.endIndex=k,this.type=l,this.metadata=T}isWhitespace(){return!!(1&this.metadata)}}class E{constructor(k,l){this.startOffset=k,this.endOffset=l}equals(k){return this.startOffset===k.startOffset&&this.endOffset===k.endOffset}}class ge{constructor(k,l,T,N,b,g,j,ie,U,q,B,se,ke,xe,Y,Z,te,he,Ce){this.useMonospaceOptimizations=k,this.canUseHalfwidthRightwardsArrow=l,this.lineContent=T,this.continuesWithWrappedLine=N,this.isBasicASCII=b,this.containsRTL=g,this.fauxIndentLength=j,this.lineTokens=ie,this.lineDecorations=U,this.tabSize=q,this.startVisibleColumn=B,this.spaceWidth=se,this.stopRenderingLineAfter=Y,this.renderWhitespace=Z==="all"?4:Z==="boundary"?1:Z==="selection"?2:Z==="trailing"?3:0,this.renderControlCharacters=te,this.fontLigatures=he,this.selectionsOnLine=Ce&&Ce.sort((Ae,L)=>Ae.startOffset<L.startOffset?-1:1),Math.abs(xe-se)<Math.abs(ke-se)?(this.renderSpaceWidth=xe,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=ke,this.renderSpaceCharCode=183)}sameSelection(k){if(this.selectionsOnLine===null)return k===null;if(k===null||k.length!==this.selectionsOnLine.length)return!1;for(let l=0;l<this.selectionsOnLine.length;l++)if(!this.selectionsOnLine[l].equals(k[l]))return!1;return!0}equals(k){return this.useMonospaceOptimizations===k.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===k.canUseHalfwidthRightwardsArrow&&this.lineContent===k.lineContent&&this.continuesWithWrappedLine===k.continuesWithWrappedLine&&this.isBasicASCII===k.isBasicASCII&&this.containsRTL===k.containsRTL&&this.fauxIndentLength===k.fauxIndentLength&&this.tabSize===k.tabSize&&this.startVisibleColumn===k.startVisibleColumn&&this.spaceWidth===k.spaceWidth&&this.renderSpaceWidth===k.renderSpaceWidth&&this.renderSpaceCharCode===k.renderSpaceCharCode&&this.stopRenderingLineAfter===k.stopRenderingLineAfter&&this.renderWhitespace===k.renderWhitespace&&this.renderControlCharacters===k.renderControlCharacters&&this.fontLigatures===k.fontLigatures&&D.a.equalsArr(this.lineDecorations,k.lineDecorations)&&this.lineTokens.equals(k.lineTokens)&&this.sameSelection(k.selectionsOnLine)}}class W{constructor(k,l){this.length=k,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(k){return(4294901760&k)>>>16}static getCharIndex(k){return(65535&k)>>>0}setPartData(k,l,T,N){let b=(l<<16|T<<0)>>>0;this._data[k]=b,this._absoluteOffsets[k]=N+T}getAbsoluteOffsets(){return this._absoluteOffsets}charOffsetToPartData(k){return this.length===0?0:k<0?this._data[0]:k>=this.length?this._data[this.length-1]:this._data[k]}partDataToCharOffset(k,l,T){if(this.length===0)return 0;let N=(k<<16|T<<0)>>>0,b=0,g=this.length-1;for(;b+1<g;){let se=b+g>>>1,ke=this._data[se];if(ke===N)return se;ke>N?g=se:b=se}if(b===g)return b;let j=this._data[b],ie=this._data[g];if(j===N)return b;if(ie===N)return g;let U,q=W.getPartIndex(j),B=W.getCharIndex(j);return U=q!==W.getPartIndex(ie)?l:W.getCharIndex(ie),T-B<=U-T?b:g}}class Q{constructor(k,l,T){this.characterMapping=k,this.containsRTL=l,this.containsForeignElements=T}}function y(V,k){if(V.lineContent.length===0){let l=0,T="<span><span></span></span>";if(V.lineDecorations.length>0){let N=[],b=[];for(let g=0,j=V.lineDecorations.length;g<j;g++){let ie=V.lineDecorations[g];ie.type===1&&(N.push(V.lineDecorations[g].className),l|=1),ie.type===2&&(b.push(V.lineDecorations[g].className),l|=2)}l!==0&&(T=`<span>${N.length>0?`<span class="${N.join(" ")}"></span>`:""}${b.length>0?`<span class="${b.join(" ")}"></span>`:""}</span>`)}return k.appendASCIIString(T),new Q(new W(0,0),!1,l)}return function(l,T){let N=l.fontIsMonospace,b=l.canUseHalfwidthRightwardsArrow,g=l.containsForeignElements,j=l.lineContent,ie=l.len,U=l.isOverflowing,q=l.parts,B=l.fauxIndentLength,se=l.tabSize,ke=l.startVisibleColumn,xe=l.containsRTL,Y=l.spaceWidth,Z=l.renderSpaceCharCode,te=l.renderWhitespace,he=l.renderControlCharacters,Ce=new W(ie+1,q.length),Ae=0,L=ke,nt=0,ct=0,Ye=0,ht=0;xe?T.appendASCIIString('<span dir="ltr">'):T.appendASCIIString("<span>");for(let fe=0,$=q.length;fe<$;fe++){ht+=Ye;let G=q[fe],z=G.endIndex,J=G.type,Se=te!==0&&G.isWhitespace(),A=Se&&!N&&(J==="mtkw"||!g),ee=Ae===z&&G.metadata===4;if(nt=0,T.appendASCIIString('<span class="'),T.appendASCIIString(A?"mtkz":J),T.appendASCII(34),Se){let de=0;{let Oe=Ae,$e=L;for(;Oe<z;Oe++){let pt=0|(j.charCodeAt(Oe)===9?se-$e%se:1);de+=pt,Oe>=B&&($e+=pt)}}for(A&&(T.appendASCIIString(' style="width:'),T.appendASCIIString(String(Y*de)),T.appendASCIIString('px"')),T.appendASCII(62);Ae<z;Ae++){Ce.setPartData(Ae,fe-ct,nt,ht),ct=0;let Oe;if(j.charCodeAt(Ae)===9){Oe=se-L%se|0,!b||Oe>1?T.write1(8594):T.write1(65515);for(let $e=2;$e<=Oe;$e++)T.write1(160)}else Oe=1,T.write1(Z);nt+=Oe,Ae>=B&&(L+=Oe)}Ye=de}else{let de=0;for(T.appendASCII(62);Ae<z;Ae++){Ce.setPartData(Ae,fe-ct,nt,ht),ct=0;let Oe=j.charCodeAt(Ae),$e=1,pt=1;switch(Oe){case 9:$e=se-L%se,pt=$e;for(let it=1;it<=$e;it++)T.write1(160);break;case 32:T.write1(160);break;case 60:T.appendASCIIString("<");break;case 62:T.appendASCIIString(">");break;case 38:T.appendASCIIString("&");break;case 0:T.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:T.write1(65533);break;default:h.E(Oe)&&pt++,he&&Oe<32?T.write1(9216+Oe):T.write1(Oe)}nt+=$e,de+=$e,Ae>=B&&(L+=pt)}Ye=de}ee?ct++:ct=0,T.appendASCIIString("</span>")}return Ce.setPartData(ie,q.length-1,nt,ht),U&&T.appendASCIIString("<span>…</span>"),T.appendASCIIString("</span>"),new Q(Ce,xe,g)}(function(l){let T=l.lineContent,N,b;l.stopRenderingLineAfter!==-1&&l.stopRenderingLineAfter<T.length?(N=!0,b=l.stopRenderingLineAfter):(N=!1,b=T.length);let g=function(ie,U,q){let B=[],se=0;U>0&&(B[se++]=new H(U,"",0));for(let ke=0,xe=ie.getCount();ke<xe;ke++){let Y=ie.getEndOffset(ke);if(Y<=U)continue;let Z=ie.getClassName(ke);if(Y>=q){B[se++]=new H(q,Z,0);break}B[se++]=new H(Y,Z,0)}return B}(l.lineTokens,l.fauxIndentLength,b);(l.renderWhitespace===4||l.renderWhitespace===1||l.renderWhitespace===2&&l.selectionsOnLine||l.renderWhitespace===3)&&(g=function(ie,U,q,B){let se=ie.continuesWithWrappedLine,ke=ie.fauxIndentLength,xe=ie.tabSize,Y=ie.startVisibleColumn,Z=ie.useMonospaceOptimizations,te=ie.selectionsOnLine,he=ie.renderWhitespace===1,Ce=ie.renderWhitespace===3,Ae=ie.renderSpaceWidth!==ie.spaceWidth,L=[],nt=0,ct=0,Ye=B[ct].type,ht=B[ct].endIndex,fe=B.length,$,G=!1,z=h.w(U);z===-1?(G=!0,z=q,$=q):$=h.J(U);let J=!1,Se=0,A=te&&te[Se],ee=Y%xe;for(let Oe=ke;Oe<q;Oe++){let $e=U.charCodeAt(Oe),pt;if(A&&Oe>=A.endOffset&&(Se++,A=te&&te[Se]),Oe<z||Oe>$)pt=!0;else if($e===9)pt=!0;else if($e===32)if(he)if(J)pt=!0;else{let it=Oe+1<q?U.charCodeAt(Oe+1):0;pt=it===32||it===9}else pt=!0;else pt=!1;if(pt&&te&&(pt=!!A&&A.startOffset<=Oe&&A.endOffset>Oe),pt&&Ce&&(pt=G||Oe>$),J){if(!pt||!Z&&ee>=xe){if(Ae)for(let it=(nt>0?L[nt-1].endIndex:ke)+1;it<=Oe;it++)L[nt++]=new H(it,"mtkw",1);else L[nt++]=new H(Oe,"mtkw",1);ee%=xe}}else(Oe===ht||pt&&Oe>ke)&&(L[nt++]=new H(Oe,Ye,0),ee%=xe);for($e===9?ee=xe:h.E($e)?ee+=2:ee++,J=pt;Oe===ht;)ct++,ct<fe&&(Ye=B[ct].type,ht=B[ct].endIndex)}let de=!1;if(J)if(se&&he){let Oe=q>0?U.charCodeAt(q-1):0,$e=q>1?U.charCodeAt(q-2):0;Oe===32&&$e!==32&&$e!==9||(de=!0)}else de=!0;if(de)if(Ae)for(let Oe=(nt>0?L[nt-1].endIndex:ke)+1;Oe<=q;Oe++)L[nt++]=new H(Oe,"mtkw",1);else L[nt++]=new H(q,"mtkw",1);else L[nt++]=new H(q,Ye,0);return L}(l,T,b,g));let j=0;if(l.lineDecorations.length>0){for(let ie=0,U=l.lineDecorations.length;ie<U;ie++){let q=l.lineDecorations[ie];q.type===3||q.type===1?j|=1:q.type===2&&(j|=2)}g=function(ie,U,q,B){B.sort(D.a.compare);let se=D.b.normalize(ie,B),ke=se.length,xe=0,Y=[],Z=0,te=0;for(let Ce=0,Ae=q.length;Ce<Ae;Ce++){let L=q[Ce],nt=L.endIndex,ct=L.type,Ye=L.metadata;for(;xe<ke&&se[xe].startOffset<nt;){let ht=se[xe];if(ht.startOffset>te&&(te=ht.startOffset,Y[Z++]=new H(te,ct,Ye)),!(ht.endOffset+1<=nt)){te=nt,Y[Z++]=new H(te,ct+" "+ht.className,Ye|ht.metadata);break}te=ht.endOffset+1,Y[Z++]=new H(te,ct+" "+ht.className,Ye|ht.metadata),xe++}nt>te&&(te=nt,Y[Z++]=new H(te,ct,Ye))}let he=q[q.length-1].endIndex;if(xe<ke&&se[xe].startOffset===he){let Ce=[],Ae=0;for(;xe<ke&&se[xe].startOffset===he;)Ce.push(se[xe].className),Ae|=se[xe].metadata,xe++;Y[Z++]=new H(te,Ce.join(" "),Ae)}return Y}(T,0,g,l.lineDecorations)}return l.containsRTL||(g=function(ie,U,q){let B=0,se=[],ke=0;if(q)for(let xe=0,Y=U.length;xe<Y;xe++){let Z=U[xe],te=Z.endIndex;if(B+50<te){let he=Z.type,Ce=Z.metadata,Ae=-1,L=B;for(let nt=B;nt<te;nt++)ie.charCodeAt(nt)===32&&(Ae=nt),Ae!==-1&&nt-L>=50&&(se[ke++]=new H(Ae+1,he,Ce),L=Ae+1,Ae=-1);L!==te&&(se[ke++]=new H(te,he,Ce))}else se[ke++]=Z;B=te}else for(let xe=0,Y=U.length;xe<Y;xe++){let Z=U[xe],te=Z.endIndex,he=te-B;if(he>50){let Ce=Z.type,Ae=Z.metadata,L=Math.ceil(he/50);for(let nt=1;nt<L;nt++){let ct=B+50*nt;se[ke++]=new H(ct,Ce,Ae)}se[ke++]=new H(te,Ce,Ae)}else se[ke++]=Z;B=te}return se}(T,g,!l.isBasicASCII||l.fontLigatures)),new P(l.useMonospaceOptimizations,l.canUseHalfwidthRightwardsArrow,T,b,N,g,j,l.fauxIndentLength,l.tabSize,l.startVisibleColumn,l.containsRTL,l.spaceWidth,l.renderSpaceCharCode,l.renderWhitespace,l.renderControlCharacters)}(V),k)}class C{constructor(k,l,T,N){this.characterMapping=k,this.html=l,this.containsRTL=T,this.containsForeignElements=N}}function S(V){let k=Object(f.a)(1e4),l=y(V,k);return new C(l.characterMapping,k.build(),l.containsRTL,l.containsForeignElements)}class P{constructor(k,l,T,N,b,g,j,ie,U,q,B,se,ke,xe,Y){this.fontIsMonospace=k,this.canUseHalfwidthRightwardsArrow=l,this.lineContent=T,this.len=N,this.isOverflowing=b,this.parts=g,this.containsForeignElements=j,this.fauxIndentLength=ie,this.tabSize=U,this.startVisibleColumn=q,this.containsRTL=B,this.spaceWidth=se,this.renderSpaceCharCode=ke,this.renderWhitespace=xe,this.renderControlCharacters=Y}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge});var h=o(43),f=o(11),D=o(27),H=o(56);class E{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(y){if(f.a===1){if(y&&y.win)return y.win}else if(f.a===2){if(y&&y.mac)return y.mac}else if(y&&y.linux)return y.linux;return y}registerKeybindingRule(y){let C=E.bindToCurrentPlatform(y);if(C&&C.primary){let S=Object(h.f)(C.primary,f.a);S&&this._registerDefaultKeybinding(S,y.id,y.args,y.weight,0,y.when)}if(C&&Array.isArray(C.secondary))for(let S=0,P=C.secondary.length;S<P;S++){let V=C.secondary[S],k=Object(h.f)(V,f.a);k&&this._registerDefaultKeybinding(k,y.id,y.args,y.weight,-S-1,y.when)}}registerCommandAndKeybindingRule(y){this.registerKeybindingRule(y),D.a.registerCommand(y)}static _mightProduceChar(y){return y>=21&&y<=30||y>=31&&y<=56||y===80||y===81||y===82||y===83||y===84||y===85||y===86||y===110||y===111||y===87||y===88||y===89||y===90||y===91||y===92}_assertNoCtrlAlt(y,C){y.ctrlKey&&y.altKey&&!y.metaKey&&E._mightProduceChar(y.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",y," for ",C)}_registerDefaultKeybinding(y,C,S,P,V,k){f.a===1&&this._assertNoCtrlAlt(y.parts[0],C),this._coreKeybindings.push({keybinding:y,command:C,commandArgs:S,when:k,weight1:P,weight2:V,extensionId:null}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(W)),this._cachedMergedKeybindings.slice(0)}}let ge=new E;function W(Q,y){return Q.weight1!==y.weight1?Q.weight1-y.weight1:Q.command<y.command?-1:Q.command>y.command?1:Q.weight2-y.weight2}H.a.add("platform.keybindingsRegistry",ge)},function(Ie,w,o){"use strict";o.d(w,"d",function(){return f}),o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E}),o.d(w,"e",function(){return ge}),o.d(w,"c",function(){return Q});var h=o(5);function f(y,C){let S=Object.create(null);for(let P in C){let V=C[P];V&&(S[P]=Object(h.hc)(V,y))}return S}function D(y,C,S){function P(V){let k=f(y.getColorTheme(),C);typeof S=="function"?S(k):S.style(k)}return P(y.getColorTheme()),y.onDidColorThemeChange(P)}function H(y,C,S){return D(C,{badgeBackground:S&&S.badgeBackground||h.c,badgeForeground:S&&S.badgeForeground||h.d,badgeBorder:h.h},y)}function E(y,C,S){return D(C,Object.assign(Object.assign({},ge),S||{}),y)}let ge={listFocusBackground:h.xb,listFocusForeground:h.yb,listActiveSelectionBackground:Object(h.i)(h.rb,.1),listActiveSelectionForeground:h.sb,listFocusAndSelectionBackground:h.rb,listFocusAndSelectionForeground:h.sb,listInactiveSelectionBackground:h.Db,listInactiveSelectionForeground:h.Eb,listInactiveFocusBackground:h.Cb,listHoverBackground:h.Ab,listHoverForeground:h.Bb,listDropBackground:h.tb,listFocusOutline:h.b,listSelectionOutline:h.b,listHoverOutline:h.b,listFilterWidgetBackground:h.ub,listFilterWidgetOutline:h.wb,listFilterWidgetNoMatchesOutline:h.vb,listMatchesShadow:h.uc,treeIndentGuidesStroke:h.tc},W={shadowColor:h.uc,borderColor:h.Gb,foregroundColor:h.Hb,backgroundColor:h.Fb,selectionForegroundColor:h.Kb,selectionBackgroundColor:h.Ib,selectionBorderColor:h.Jb,separatorColor:h.Lb};function Q(y,C,S){return D(C,Object.assign(Object.assign({},W),S),y)}},function(Ie,w,o){"use strict";o.d(w,"c",function(){return ge}),o.d(w,"a",function(){return Q}),o.d(w,"b",function(){return y});var h=o(13),f=o(2),D=o(11),H=o(14);let E=!1;function ge(C){D.h&&(E||(E=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(C.message))}class W{constructor(S){this._workerId=-1,this._handler=S,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(S){this._workerId=S}sendMessage(S,P){let V=String(++this._lastSentReq);return new Promise((k,l)=>{this._pendingReplies[V]={resolve:k,reject:l},this._send({vsWorker:this._workerId,req:V,method:S,args:P})})}handleMessage(S){S&&S.vsWorker&&(this._workerId!==-1&&S.vsWorker!==this._workerId||this._handleMessage(S))}_handleMessage(S){if(S.seq){let k=S;if(!this._pendingReplies[k.seq])return void console.warn("Got reply to unknown seq");let l=this._pendingReplies[k.seq];if(delete this._pendingReplies[k.seq],k.err){let T=k.err;return k.err.$isError&&(T=new Error,T.name=k.err.name,T.message=k.err.message,T.stack=k.err.stack),void l.reject(T)}return void l.resolve(k.res)}let P=S,V=P.req;this._handler.handleMessage(P.method,P.args).then(k=>{this._send({vsWorker:this._workerId,seq:V,res:k,err:void 0})},k=>{k.detail instanceof Error&&(k.detail=Object(h.g)(k.detail)),this._send({vsWorker:this._workerId,seq:V,res:void 0,err:Object(h.g)(k)})})}_send(S){let P=[];if(S.req){let V=S;for(let k=0;k<V.args.length;k++)V.args[k]instanceof ArrayBuffer&&P.push(V.args[k])}else{let V=S;V.res instanceof ArrayBuffer&&P.push(V.res)}this._handler.sendMessage(S,P)}}class Q extends f.a{constructor(S,P,V){super();let k=null;this._worker=this._register(S.create("vs/base/common/worker/simpleWorker",b=>{this._protocol.handleMessage(b)},b=>{k&&k(b)})),this._protocol=new W({sendMessage:(b,g)=>{this._worker.postMessage(b,g)},handleMessage:(b,g)=>{if(typeof V[b]!="function")return Promise.reject(new Error("Missing method "+b+" on main thread host."));try{return Promise.resolve(V[b].apply(V,g))}catch(j){return Promise.reject(j)}}}),this._protocol.setWorkerId(this._worker.getId());let l=null;self.require!==void 0&&typeof self.require.getConfig=="function"?l=self.require.getConfig():self.requirejs!==void 0&&(l=self.requirejs.s.contexts._.config);let T=H.d(V);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(l)),P,T]);let N=(b,g)=>this._request(b,g);this._lazyProxy=new Promise((b,g)=>{k=g,this._onModuleLoaded.then(j=>{b(H.c(j,N))},j=>{g(j),this._onError("Worker failed to load "+P,j)})})}getProxyObject(){return this._lazyProxy}_request(S,P){return new Promise((V,k)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(S,P).then(V,k)},k)})}_onError(S,P){console.error(S),console.info(P)}}class y{constructor(S,P){this._requestHandlerFactory=P,this._requestHandler=null,this._protocol=new W({sendMessage:(V,k)=>{S(V,k)},handleMessage:(V,k)=>this._handleMessage(V,k)})}onmessage(S){this._protocol.handleMessage(S)}_handleMessage(S,P){if(S==="$initialize")return this.initialize(P[0],P[1],P[2],P[3]);if(!this._requestHandler||typeof this._requestHandler[S]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+S));try{return Promise.resolve(this._requestHandler[S].apply(this._requestHandler,P))}catch(V){return Promise.reject(V)}}initialize(S,P,V,k){this._protocol.setWorkerId(S);let l=H.c(k,(T,N)=>this._protocol.sendMessage(T,N));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(l),Promise.resolve(H.d(this._requestHandler))):(P&&(P.baseUrl!==void 0&&delete P.baseUrl,P.paths!==void 0&&P.paths.vs!==void 0&&delete P.paths.vs,P.catchError=!0,self.require.config(P)),new Promise((T,N)=>{self.require([V],b=>{this._requestHandler=b.create(l),this._requestHandler?T(H.d(this._requestHandler)):N(new Error("No RequestHandler!"))},N)}))}}},function(Ie,w,o){"use strict";var h=o(108);o.d(w,"a",function(){return h.n})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("editorWorkerService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return E}),o.d(w,"c",function(){return ge}),o.d(w,"b",function(){return W});var h=o(18),f=o(6),D=o(2),H=o(14);let E=Object(h.c)("storageService");var ge;(function(Q){Q[Q.NONE=0]="NONE",Q[Q.SHUTDOWN=1]="SHUTDOWN"})(ge||(ge={}));class W extends D.a{constructor(){super(...arguments),this._onDidChangeStorage=this._register(new f.a),this._onWillSaveState=this._register(new f.a),this.onWillSaveState=this._onWillSaveState.event,this.globalCache=new Map,this.workspaceCache=new Map}getCache(y){return y===0?this.globalCache:this.workspaceCache}get(y,C,S){let P=this.getCache(C).get(y);return Object(H.l)(P)?S:P}getBoolean(y,C,S){let P=this.getCache(C).get(y);return Object(H.l)(P)?S:P==="true"}getNumber(y,C,S){let P=this.getCache(C).get(y);return Object(H.l)(P)?S:parseInt(P,10)}store(y,C,S){if(Object(H.l)(C))return this.remove(y,S);let P=String(C);return this.getCache(S).get(y)===P||(this.getCache(S).set(y,P),this._onDidChangeStorage.fire({scope:S,key:y})),Promise.resolve()}remove(y,C){return this.getCache(C).delete(y)&&this._onDidChangeStorage.fire({scope:C,key:y}),Promise.resolve()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});let h=0;function f(D,H,E){return function(){let ge="$memoize"+h++,W,Q=function(y,C,S){let P=null,V=null;if(typeof S.value=="function"?(P="value",V=S.value,V.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof S.get=="function"&&(P="get",V=S.get),!V)throw new Error("not supported");let k=`${ge}:${C}`;S[P]=function(...l){return W=this,this.hasOwnProperty(k)||Object.defineProperty(this,k,{configurable:!0,enumerable:!1,writable:!0,value:V.apply(this,l)}),this[k]}};return Q.clear=()=>{W!==void 0&&Object.getOwnPropertyNames(W).forEach(y=>{y.indexOf(ge)===0&&delete W[y]})},Q}()(D,H,E)}},function(Ie,w,o){"use strict";var h;o.d(w,"a",function(){return h}),function(f){function D(E,ge){if(E.start>=ge.end||ge.start>=E.end)return{start:0,end:0};let W=Math.max(E.start,ge.start),Q=Math.min(E.end,ge.end);return Q-W<=0?{start:0,end:0}:{start:W,end:Q}}function H(E){return E.end-E.start<=0}f.intersect=D,f.isEmpty=H,f.intersects=function(E,ge){return!H(D(E,ge))},f.relativeComplement=function(E,ge){let W=[],Q={start:E.start,end:Math.min(ge.start,E.end)},y={start:Math.max(ge.end,E.start),end:E.end};return H(Q)||W.push(Q),H(y)||W.push(y),W}}(h||(h={}))},function(Ie,w,o){"use strict";o.d(w,"a",function(){return S});var h=o(25),f=o(6),D=o(43),H=o(23),E=o(9),ge=o(3),W=o(21),Q=o(77),y=o(40);class C{static chord(V,k){return Object(D.a)(V,k)}}function S(){return{editor:void 0,languages:void 0,CancellationTokenSource:h.b,Emitter:f.a,KeyCode:y.o,KeyMod:C,Position:E.a,Range:ge.a,Selection:W.a,SelectionDirection:y.z,MarkerSeverity:y.p,MarkerTag:y.q,Uri:H.a,Token:Q.a}}C.CtrlCmd=2048,C.Shift=1024,C.Alt=512,C.WinCtrl=256},function(Ie,w,o){"use strict";o.d(w,"b",function(){return f}),o.d(w,"a",function(){return D});var h=o(36);class f{constructor(E,ge){this.index=E,this.remainder=ge}}class D{constructor(E){this.values=E,this.prefixSum=new Uint32Array(E.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(E,ge){E=Object(h.a)(E);let W=this.values,Q=this.prefixSum,y=ge.length;return y!==0&&(this.values=new Uint32Array(W.length+y),this.values.set(W.subarray(0,E),0),this.values.set(W.subarray(E),E+y),this.values.set(ge,E),E-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=E-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(Q.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(E,ge){return E=Object(h.a)(E),ge=Object(h.a)(ge),this.values[E]!==ge&&(this.values[E]=ge,E-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=E-1),!0)}removeValues(E,ge){E=Object(h.a)(E),ge=Object(h.a)(ge);let W=this.values,Q=this.prefixSum;if(E>=W.length)return!1;let y=W.length-E;return ge>=y&&(ge=y),ge!==0&&(this.values=new Uint32Array(W.length-ge),this.values.set(W.subarray(0,E),0),this.values.set(W.subarray(E+ge),E),this.prefixSum=new Uint32Array(this.values.length),E-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=E-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(Q.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(E){return E<0?0:(E=Object(h.a)(E),this._getAccumulatedValue(E))}_getAccumulatedValue(E){if(E<=this.prefixSumValidIndex[0])return this.prefixSum[E];let ge=this.prefixSumValidIndex[0]+1;ge===0&&(this.prefixSum[0]=this.values[0],ge++),E>=this.values.length&&(E=this.values.length-1);for(let W=ge;W<=E;W++)this.prefixSum[W]=this.prefixSum[W-1]+this.values[W];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],E),this.prefixSum[E]}getIndexOf(E){E=Math.floor(E),this.getTotalValue();let ge=0,W=this.values.length-1,Q=0,y=0,C=0;for(;ge<=W;)if(Q=ge+(W-ge)/2|0,y=this.prefixSum[Q],C=y-this.values[Q],E<C)W=Q-1;else{if(!(E>=y))break;ge=Q+1}return new f(Q,E-C)}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return H}),o.d(w,"c",function(){return E}),o.d(w,"a",function(){return Q});var h=o(18),f=o(2),D=o(6);let H=Object(h.c)("logService");var E;(function(y){y[y.Trace=0]="Trace",y[y.Debug=1]="Debug",y[y.Info=2]="Info",y[y.Warning=3]="Warning",y[y.Error=4]="Error",y[y.Critical=5]="Critical",y[y.Off=6]="Off"})(E||(E={}));let ge=E.Info;class W extends f.a{constructor(){super(...arguments),this.level=ge,this._onDidChangeLogLevel=this._register(new D.a)}setLevel(C){this.level!==C&&(this.level=C,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class Q extends W{constructor(C=ge){super(),this.setLevel(C)}trace(C,...S){this.getLevel()<=E.Trace&&console.log("%cTRACE","color: #888",C,...S)}info(C,...S){this.getLevel()<=E.Info&&console.log("%c INFO","color: #33f",C,...S)}error(C,...S){this.getLevel()<=E.Error&&console.log("%c ERR","color: #f33",C,...S)}dispose(){}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return W}),o.d(w,"a",function(){return Q});var h=o(1),f=o(11),D=o(177),H=o(69),E=o(2),ge=o(138);function W(y,C){let S=new H.a(C);return S.preventDefault(),{leftButton:S.leftButton,buttons:S.buttons,posx:S.posx,posy:S.posy}}class Q{constructor(){this._hooks=new E.b,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(C){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;let S=this._onStopCallback;this._onStopCallback=null,C&&S&&S()}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(C,S,P,V,k){if(this.isMonitoring())return;this._mouseMoveEventMerger=P,this._mouseMoveCallback=V,this._onStopCallback=k;let l=D.a.getSameOriginWindowChain(),T=f.c&&ge.a.pointerEvents?"pointermove":"mousemove",N=f.c&&ge.a.pointerEvents?"pointerup":"mouseup",b=l.map(j=>j.window.document),g=h.E(C);g&&b.unshift(g);for(let j of b)this._hooks.add(h.l(j,T,ie=>{ie.buttons===S?this._mouseMoveCallback(ie):this.stopMonitoring(!0)},(ie,U)=>this._mouseMoveEventMerger(ie,U))),this._hooks.add(h.i(j,N,ie=>this.stopMonitoring(!0)));if(D.a.hasDifferentOriginAncestor()){let j=l[l.length-1];this._hooks.add(h.i(j.window.document,"mouseout",ie=>{new H.a(ie).target.tagName.toLowerCase()==="html"&&this.stopMonitoring(!0)})),this._hooks.add(h.i(j.window.document,"mouseover",ie=>{new H.a(ie).target.tagName.toLowerCase()==="html"&&this.stopMonitoring(!0)})),this._hooks.add(h.i(j.window.document.body,"mouseleave",ie=>{this.stopMonitoring(!0)}))}}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Ye});var h=o(15);class f{constructor(fe,$,G,z){this.originalStart=fe,this.originalLength=$,this.modifiedStart=G,this.modifiedLength=z}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var D=o(89);class H{constructor(fe){this.source=fe}getElements(){let fe=this.source,$=new Int32Array(fe.length);for(let G=0,z=fe.length;G<z;G++)$[G]=fe.charCodeAt(G);return $}}function E(ht,fe,$){return new y(new H(ht),new H(fe)).ComputeDiff($).changes}class ge{static Assert(fe,$){if(!fe)throw new Error($)}}class W{static Copy(fe,$,G,z,J){for(let Se=0;Se<J;Se++)G[z+Se]=fe[$+Se]}static Copy2(fe,$,G,z,J){for(let Se=0;Se<J;Se++)G[z+Se]=fe[$+Se]}}class Q{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new f(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(fe,$){this.m_originalStart=Math.min(this.m_originalStart,fe),this.m_modifiedStart=Math.min(this.m_modifiedStart,$),this.m_originalCount++}AddModifiedElement(fe,$){this.m_originalStart=Math.min(this.m_originalStart,fe),this.m_modifiedStart=Math.min(this.m_modifiedStart,$),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class y{constructor(fe,$,G=null){this.ContinueProcessingPredicate=G;let[z,J,Se]=y._getElements(fe),[A,ee,de]=y._getElements($);this._hasStrings=Se&&de,this._originalStringElements=z,this._originalElementsOrHash=J,this._modifiedStringElements=A,this._modifiedElementsOrHash=ee,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(fe){return fe.length>0&&typeof fe[0]=="string"}static _getElements(fe){let $=fe.getElements();if(y._isStringArray($)){let G=new Int32Array($.length);for(let z=0,J=$.length;z<J;z++)G[z]=Object(D.c)($[z],0);return[$,G,!0]}return $ instanceof Int32Array?[[],$,!1]:[[],new Int32Array($),!1]}ElementsAreEqual(fe,$){return this._originalElementsOrHash[fe]===this._modifiedElementsOrHash[$]&&(!this._hasStrings||this._originalStringElements[fe]===this._modifiedStringElements[$])}OriginalElementsAreEqual(fe,$){return this._originalElementsOrHash[fe]===this._originalElementsOrHash[$]&&(!this._hasStrings||this._originalStringElements[fe]===this._originalStringElements[$])}ModifiedElementsAreEqual(fe,$){return this._modifiedElementsOrHash[fe]===this._modifiedElementsOrHash[$]&&(!this._hasStrings||this._modifiedStringElements[fe]===this._modifiedStringElements[$])}ComputeDiff(fe){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,fe)}_ComputeDiff(fe,$,G,z,J){let Se=[!1],A=this.ComputeDiffRecursive(fe,$,G,z,Se);return J&&(A=this.PrettifyChanges(A)),{quitEarly:Se[0],changes:A}}ComputeDiffRecursive(fe,$,G,z,J){for(J[0]=!1;fe<=$&&G<=z&&this.ElementsAreEqual(fe,G);)fe++,G++;for(;$>=fe&&z>=G&&this.ElementsAreEqual($,z);)$--,z--;if(fe>$||G>z){let $e;return G<=z?(ge.Assert(fe===$+1,"originalStart should only be one more than originalEnd"),$e=[new f(fe,0,G,z-G+1)]):fe<=$?(ge.Assert(G===z+1,"modifiedStart should only be one more than modifiedEnd"),$e=[new f(fe,$-fe+1,G,0)]):(ge.Assert(fe===$+1,"originalStart should only be one more than originalEnd"),ge.Assert(G===z+1,"modifiedStart should only be one more than modifiedEnd"),$e=[]),$e}let Se=[0],A=[0],ee=this.ComputeRecursionPoint(fe,$,G,z,Se,A,J),de=Se[0],Oe=A[0];if(ee!==null)return ee;if(!J[0]){let $e=this.ComputeDiffRecursive(fe,de,G,Oe,J),pt=[];return pt=J[0]?[new f(de+1,$-(de+1)+1,Oe+1,z-(Oe+1)+1)]:this.ComputeDiffRecursive(de+1,$,Oe+1,z,J),this.ConcatenateChanges($e,pt)}return[new f(fe,$-fe+1,G,z-G+1)]}WALKTRACE(fe,$,G,z,J,Se,A,ee,de,Oe,$e,pt,it,At,Nt,_i,wt,Ni){let pi=null,et=null,Wt=new Q,Li=$,Ii=G,Ai=it[0]-_i[0]-z,Zi=-1073741824,Bi=this.m_forwardHistory.length-1;do{let Lt=Ai+fe;Lt===Li||Lt<Ii&&de[Lt-1]<de[Lt+1]?(At=($e=de[Lt+1])-Ai-z,$e<Zi&&Wt.MarkNextChange(),Zi=$e,Wt.AddModifiedElement($e+1,At),Ai=Lt+1-fe):(At=($e=de[Lt-1]+1)-Ai-z,$e<Zi&&Wt.MarkNextChange(),Zi=$e-1,Wt.AddOriginalElement($e,At+1),Ai=Lt-1-fe),Bi>=0&&(fe=(de=this.m_forwardHistory[Bi])[0],Li=1,Ii=de.length-1)}while(--Bi>=-1);if(pi=Wt.getReverseChanges(),Ni[0]){let Lt=it[0]+1,Di=_i[0]+1;if(pi!==null&&pi.length>0){let gt=pi[pi.length-1];Lt=Math.max(Lt,gt.getOriginalEnd()),Di=Math.max(Di,gt.getModifiedEnd())}et=[new f(Lt,pt-Lt+1,Di,Nt-Di+1)]}else{Wt=new Q,Li=Se,Ii=A,Ai=it[0]-_i[0]-ee,Zi=1073741824,Bi=wt?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let Lt=Ai+J;Lt===Li||Lt<Ii&&Oe[Lt-1]>=Oe[Lt+1]?(At=($e=Oe[Lt+1]-1)-Ai-ee,$e>Zi&&Wt.MarkNextChange(),Zi=$e+1,Wt.AddOriginalElement($e+1,At+1),Ai=Lt+1-J):(At=($e=Oe[Lt-1])-Ai-ee,$e>Zi&&Wt.MarkNextChange(),Zi=$e,Wt.AddModifiedElement($e+1,At+1),Ai=Lt-1-J),Bi>=0&&(J=(Oe=this.m_reverseHistory[Bi])[0],Li=1,Ii=Oe.length-1)}while(--Bi>=-1);et=Wt.getChanges()}return this.ConcatenateChanges(pi,et)}ComputeRecursionPoint(fe,$,G,z,J,Se,A){let ee=0,de=0,Oe=0,$e=0,pt=0,it=0;fe--,G--,J[0]=0,Se[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let At=$-fe+(z-G),Nt=At+1,_i=new Int32Array(Nt),wt=new Int32Array(Nt),Ni=z-G,pi=$-fe,et=fe-G,Wt=$-z,Li=(pi-Ni)%2==0;_i[Ni]=fe,wt[pi]=$,A[0]=!1;for(let Ii=1;Ii<=At/2+1;Ii++){let Ai=0,Zi=0;Oe=this.ClipDiagonalBound(Ni-Ii,Ii,Ni,Nt),$e=this.ClipDiagonalBound(Ni+Ii,Ii,Ni,Nt);for(let Lt=Oe;Lt<=$e;Lt+=2){ee=Lt===Oe||Lt<$e&&_i[Lt-1]<_i[Lt+1]?_i[Lt+1]:_i[Lt-1]+1,de=ee-(Lt-Ni)-et;let Di=ee;for(;ee<$&&de<z&&this.ElementsAreEqual(ee+1,de+1);)ee++,de++;if(_i[Lt]=ee,ee+de>Ai+Zi&&(Ai=ee,Zi=de),!Li&&Math.abs(Lt-pi)<=Ii-1&&ee>=wt[Lt])return J[0]=ee,Se[0]=de,Di<=wt[Lt]&&Ii<=1448?this.WALKTRACE(Ni,Oe,$e,et,pi,pt,it,Wt,_i,wt,ee,$,J,de,z,Se,Li,A):null}let Bi=(Ai-fe+(Zi-G)-Ii)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(Ai,Bi))return A[0]=!0,J[0]=Ai,Se[0]=Zi,Bi>0&&Ii<=1448?this.WALKTRACE(Ni,Oe,$e,et,pi,pt,it,Wt,_i,wt,ee,$,J,de,z,Se,Li,A):(fe++,G++,[new f(fe,$-fe+1,G,z-G+1)]);pt=this.ClipDiagonalBound(pi-Ii,Ii,pi,Nt),it=this.ClipDiagonalBound(pi+Ii,Ii,pi,Nt);for(let Lt=pt;Lt<=it;Lt+=2){ee=Lt===pt||Lt<it&&wt[Lt-1]>=wt[Lt+1]?wt[Lt+1]-1:wt[Lt-1],de=ee-(Lt-pi)-Wt;let Di=ee;for(;ee>fe&&de>G&&this.ElementsAreEqual(ee,de);)ee--,de--;if(wt[Lt]=ee,Li&&Math.abs(Lt-Ni)<=Ii&&ee<=_i[Lt])return J[0]=ee,Se[0]=de,Di>=_i[Lt]&&Ii<=1448?this.WALKTRACE(Ni,Oe,$e,et,pi,pt,it,Wt,_i,wt,ee,$,J,de,z,Se,Li,A):null}if(Ii<=1447){let Lt=new Int32Array($e-Oe+2);Lt[0]=Ni-Oe+1,W.Copy2(_i,Oe,Lt,1,$e-Oe+1),this.m_forwardHistory.push(Lt),Lt=new Int32Array(it-pt+2),Lt[0]=pi-pt+1,W.Copy2(wt,pt,Lt,1,it-pt+1),this.m_reverseHistory.push(Lt)}}return this.WALKTRACE(Ni,Oe,$e,et,pi,pt,it,Wt,_i,wt,ee,$,J,de,z,Se,Li,A)}PrettifyChanges(fe){for(let $=0;$<fe.length;$++){let G=fe[$],z=$<fe.length-1?fe[$+1].originalStart:this._originalElementsOrHash.length,J=$<fe.length-1?fe[$+1].modifiedStart:this._modifiedElementsOrHash.length,Se=G.originalLength>0,A=G.modifiedLength>0;for(;G.originalStart+G.originalLength<z&&G.modifiedStart+G.modifiedLength<J&&(!Se||this.OriginalElementsAreEqual(G.originalStart,G.originalStart+G.originalLength))&&(!A||this.ModifiedElementsAreEqual(G.modifiedStart,G.modifiedStart+G.modifiedLength));)G.originalStart++,G.modifiedStart++;let ee=[null];$<fe.length-1&&this.ChangesOverlap(fe[$],fe[$+1],ee)&&(fe[$]=ee[0],fe.splice($+1,1),$--)}for(let $=fe.length-1;$>=0;$--){let G=fe[$],z=0,J=0;if($>0){let Oe=fe[$-1];Oe.originalLength>0&&(z=Oe.originalStart+Oe.originalLength),Oe.modifiedLength>0&&(J=Oe.modifiedStart+Oe.modifiedLength)}let Se=G.originalLength>0,A=G.modifiedLength>0,ee=0,de=this._boundaryScore(G.originalStart,G.originalLength,G.modifiedStart,G.modifiedLength);for(let Oe=1;;Oe++){let $e=G.originalStart-Oe,pt=G.modifiedStart-Oe;if($e<z||pt<J||Se&&!this.OriginalElementsAreEqual($e,$e+G.originalLength)||A&&!this.ModifiedElementsAreEqual(pt,pt+G.modifiedLength))break;let it=this._boundaryScore($e,G.originalLength,pt,G.modifiedLength);it>de&&(de=it,ee=Oe)}G.originalStart-=ee,G.modifiedStart-=ee}return fe}_OriginalIsBoundary(fe){return fe<=0||fe>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[fe])}_OriginalRegionIsBoundary(fe,$){if(this._OriginalIsBoundary(fe)||this._OriginalIsBoundary(fe-1))return!0;if($>0){let G=fe+$;if(this._OriginalIsBoundary(G-1)||this._OriginalIsBoundary(G))return!0}return!1}_ModifiedIsBoundary(fe){return fe<=0||fe>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[fe])}_ModifiedRegionIsBoundary(fe,$){if(this._ModifiedIsBoundary(fe)||this._ModifiedIsBoundary(fe-1))return!0;if($>0){let G=fe+$;if(this._ModifiedIsBoundary(G-1)||this._ModifiedIsBoundary(G))return!0}return!1}_boundaryScore(fe,$,G,z){return(this._OriginalRegionIsBoundary(fe,$)?1:0)+(this._ModifiedRegionIsBoundary(G,z)?1:0)}ConcatenateChanges(fe,$){let G=[];if(fe.length===0||$.length===0)return $.length>0?$:fe;if(this.ChangesOverlap(fe[fe.length-1],$[0],G)){let z=new Array(fe.length+$.length-1);return W.Copy(fe,0,z,0,fe.length-1),z[fe.length-1]=G[0],W.Copy($,1,z,fe.length,$.length-1),z}{let z=new Array(fe.length+$.length);return W.Copy(fe,0,z,0,fe.length),W.Copy($,0,z,fe.length,$.length),z}}ChangesOverlap(fe,$,G){if(ge.Assert(fe.originalStart<=$.originalStart,"Left change is not less than or equal to right change"),ge.Assert(fe.modifiedStart<=$.modifiedStart,"Left change is not less than or equal to right change"),fe.originalStart+fe.originalLength>=$.originalStart||fe.modifiedStart+fe.modifiedLength>=$.modifiedStart){let z=fe.originalStart,J=fe.originalLength,Se=fe.modifiedStart,A=fe.modifiedLength;return fe.originalStart+fe.originalLength>=$.originalStart&&(J=$.originalStart+$.originalLength-fe.originalStart),fe.modifiedStart+fe.modifiedLength>=$.modifiedStart&&(A=$.modifiedStart+$.modifiedLength-fe.modifiedStart),G[0]=new f(z,J,Se,A),!0}return G[0]=null,!1}ClipDiagonalBound(fe,$,G,z){if(fe>=0&&fe<z)return fe;let J=$%2==0;return fe<0?J===(G%2==0)?0:1:J===((z-G-1)%2==0)?z-1:z-2}}var C=o(11),S=o(23),P=o(9),V=o(3),k=o(8);function l(ht,fe,$,G){return new y(ht,fe,$).ComputeDiff(G)}class T{constructor(fe){let $=[],G=[];for(let z=0,J=fe.length;z<J;z++)$[z]=ie(fe[z],1),G[z]=U(fe[z],1);this.lines=fe,this._startColumns=$,this._endColumns=G}getElements(){let fe=[];for(let $=0,G=this.lines.length;$<G;$++)fe[$]=this.lines[$].substring(this._startColumns[$]-1,this._endColumns[$]-1);return fe}getStartLineNumber(fe){return fe+1}getEndLineNumber(fe){return fe+1}createCharSequence(fe,$,G){let z=[],J=[],Se=[],A=0;for(let ee=$;ee<=G;ee++){let de=this.lines[ee],Oe=fe?this._startColumns[ee]:1,$e=fe?this._endColumns[ee]:de.length+1;for(let pt=Oe;pt<$e;pt++)z[A]=de.charCodeAt(pt-1),J[A]=ee+1,Se[A]=pt,A++}return new N(z,J,Se)}}class N{constructor(fe,$,G){this._charCodes=fe,this._lineNumbers=$,this._columns=G}getElements(){return this._charCodes}getStartLineNumber(fe){return this._lineNumbers[fe]}getStartColumn(fe){return this._columns[fe]}getEndLineNumber(fe){return this._lineNumbers[fe]}getEndColumn(fe){return this._columns[fe]+1}}class b{constructor(fe,$,G,z,J,Se,A,ee){this.originalStartLineNumber=fe,this.originalStartColumn=$,this.originalEndLineNumber=G,this.originalEndColumn=z,this.modifiedStartLineNumber=J,this.modifiedStartColumn=Se,this.modifiedEndLineNumber=A,this.modifiedEndColumn=ee}static createFromDiffChange(fe,$,G){let z,J,Se,A,ee,de,Oe,$e;return fe.originalLength===0?(z=0,J=0,Se=0,A=0):(z=$.getStartLineNumber(fe.originalStart),J=$.getStartColumn(fe.originalStart),Se=$.getEndLineNumber(fe.originalStart+fe.originalLength-1),A=$.getEndColumn(fe.originalStart+fe.originalLength-1)),fe.modifiedLength===0?(ee=0,de=0,Oe=0,$e=0):(ee=G.getStartLineNumber(fe.modifiedStart),de=G.getStartColumn(fe.modifiedStart),Oe=G.getEndLineNumber(fe.modifiedStart+fe.modifiedLength-1),$e=G.getEndColumn(fe.modifiedStart+fe.modifiedLength-1)),new b(z,J,Se,A,ee,de,Oe,$e)}}class g{constructor(fe,$,G,z,J){this.originalStartLineNumber=fe,this.originalEndLineNumber=$,this.modifiedStartLineNumber=G,this.modifiedEndLineNumber=z,this.charChanges=J}static createFromDiffResult(fe,$,G,z,J,Se,A){let ee,de,Oe,$e,pt;if($.originalLength===0?(ee=G.getStartLineNumber($.originalStart)-1,de=0):(ee=G.getStartLineNumber($.originalStart),de=G.getEndLineNumber($.originalStart+$.originalLength-1)),$.modifiedLength===0?(Oe=z.getStartLineNumber($.modifiedStart)-1,$e=0):(Oe=z.getStartLineNumber($.modifiedStart),$e=z.getEndLineNumber($.modifiedStart+$.modifiedLength-1)),Se&&$.originalLength>0&&$.originalLength<20&&$.modifiedLength>0&&$.modifiedLength<20&&J()){let it=G.createCharSequence(fe,$.originalStart,$.originalStart+$.originalLength-1),At=z.createCharSequence(fe,$.modifiedStart,$.modifiedStart+$.modifiedLength-1),Nt=l(it,At,J,!0).changes;A&&(Nt=function(_i){if(_i.length<=1)return _i;let wt=[_i[0]],Ni=wt[0];for(let pi=1,et=_i.length;pi<et;pi++){let Wt=_i[pi],Li=Wt.originalStart-(Ni.originalStart+Ni.originalLength),Ii=Wt.modifiedStart-(Ni.modifiedStart+Ni.modifiedLength);Math.min(Li,Ii)<3?(Ni.originalLength=Wt.originalStart+Wt.originalLength-Ni.originalStart,Ni.modifiedLength=Wt.modifiedStart+Wt.modifiedLength-Ni.modifiedStart):(wt.push(Wt),Ni=Wt)}return wt}(Nt)),pt=[];for(let _i=0,wt=Nt.length;_i<wt;_i++)pt.push(b.createFromDiffChange(Nt[_i],it,At))}return new g(ee,de,Oe,$e,pt)}}class j{constructor(fe,$,G){this.shouldComputeCharChanges=G.shouldComputeCharChanges,this.shouldPostProcessCharChanges=G.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=G.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=G.shouldMakePrettyDiff,this.originalLines=fe,this.modifiedLines=$,this.original=new T(fe),this.modified=new T($),this.continueLineDiff=q(G.maxComputationTime),this.continueCharDiff=q(G.maxComputationTime===0?0:Math.min(G.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};let fe=l(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),$=fe.changes,G=fe.quitEarly;if(this.shouldIgnoreTrimWhitespace){let A=[];for(let ee=0,de=$.length;ee<de;ee++)A.push(g.createFromDiffResult(this.shouldIgnoreTrimWhitespace,$[ee],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:G,changes:A}}let z=[],J=0,Se=0;for(let A=-1,ee=$.length;A<ee;A++){let de=A+1<ee?$[A+1]:null,Oe=de?de.originalStart:this.originalLines.length,$e=de?de.modifiedStart:this.modifiedLines.length;for(;J<Oe&&Se<$e;){let pt=this.originalLines[J],it=this.modifiedLines[Se];if(pt!==it){{let At=ie(pt,1),Nt=ie(it,1);for(;At>1&&Nt>1&&pt.charCodeAt(At-2)===it.charCodeAt(Nt-2);)At--,Nt--;(At>1||Nt>1)&&this._pushTrimWhitespaceCharChange(z,J+1,1,At,Se+1,1,Nt)}{let At=U(pt,1),Nt=U(it,1),_i=pt.length+1,wt=it.length+1;for(;At<_i&&Nt<wt&&pt.charCodeAt(At-1)===pt.charCodeAt(Nt-1);)At++,Nt++;(At<_i||Nt<wt)&&this._pushTrimWhitespaceCharChange(z,J+1,At,_i,Se+1,Nt,wt)}}J++,Se++}de&&(z.push(g.createFromDiffResult(this.shouldIgnoreTrimWhitespace,de,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),J+=de.originalLength,Se+=de.modifiedLength)}return{quitEarly:G,changes:z}}_pushTrimWhitespaceCharChange(fe,$,G,z,J,Se,A){if(this._mergeTrimWhitespaceCharChange(fe,$,G,z,J,Se,A))return;let ee;this.shouldComputeCharChanges&&(ee=[new b($,G,$,z,J,Se,J,A)]),fe.push(new g($,$,J,J,ee))}_mergeTrimWhitespaceCharChange(fe,$,G,z,J,Se,A){let ee=fe.length;if(ee===0)return!1;let de=fe[ee-1];return de.originalEndLineNumber!==0&&de.modifiedEndLineNumber!==0&&de.originalEndLineNumber+1===$&&de.modifiedEndLineNumber+1===J&&(de.originalEndLineNumber=$,de.modifiedEndLineNumber=J,this.shouldComputeCharChanges&&de.charChanges&&de.charChanges.push(new b($,G,$,z,J,Se,J,A)),!0)}}function ie(ht,fe){let $=k.w(ht);return $===-1?fe:$+1}function U(ht,fe){let $=k.J(ht);return $===-1?fe:$+2}function q(ht){if(ht===0)return()=>!0;let fe=Date.now();return()=>Date.now()-fe<ht}var B=o(101),se=o(73),ke=o(76);class xe{constructor(fe,$,G){let z=new Uint8Array(fe*$);for(let J=0,Se=fe*$;J<Se;J++)z[J]=G;this._data=z,this.rows=fe,this.cols=$}get(fe,$){return this._data[fe*this.cols+$]}set(fe,$,G){this._data[fe*this.cols+$]=G}}class Y{constructor(fe){let $=0,G=0;for(let J=0,Se=fe.length;J<Se;J++){let[A,ee,de]=fe[J];ee>$&&($=ee),A>G&&(G=A),de>G&&(G=de)}$++,G++;let z=new xe(G,$,0);for(let J=0,Se=fe.length;J<Se;J++){let[A,ee,de]=fe[J];z.set(A,ee,de)}this._states=z,this._maxCharCode=$}nextState(fe,$){return $<0||$>=this._maxCharCode?0:this._states.get(fe,$)}}let Z=null,te=null;class he{static _createLink(fe,$,G,z,J){let Se=J-1;do{let A=$.charCodeAt(Se);if(fe.get(A)!==2)break;Se--}while(Se>z);if(z>0){let A=$.charCodeAt(z-1),ee=$.charCodeAt(Se);(A===40&&ee===41||A===91&&ee===93||A===123&&ee===125)&&Se--}return{range:{startLineNumber:G,startColumn:z+1,endLineNumber:G,endColumn:Se+2},url:$.substring(z,Se+1)}}static computeLinks(fe,$=function(){return Z===null&&(Z=new Y([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Z}()){let G=function(){if(te===null){te=new ke.a(0);let J=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`;for(let A=0;A<J.length;A++)te.set(J.charCodeAt(A),1);let Se=".,;";for(let A=0;A<Se.length;A++)te.set(Se.charCodeAt(A),2)}return te}(),z=[];for(let J=1,Se=fe.getLineCount();J<=Se;J++){let A=fe.getLineContent(J),ee=A.length,de=0,Oe=0,$e=0,pt=1,it=!1,At=!1,Nt=!1,_i=!1;for(;de<ee;){let wt=!1,Ni=A.charCodeAt(de);if(pt===13){let pi;switch(Ni){case 40:it=!0,pi=0;break;case 41:pi=it?0:1;break;case 91:Nt=!0,At=!0,pi=0;break;case 93:Nt=!1,pi=At?0:1;break;case 123:_i=!0,pi=0;break;case 125:pi=_i?0:1;break;case 39:pi=$e===34||$e===96?0:1;break;case 34:pi=$e===39||$e===96?0:1;break;case 96:pi=$e===39||$e===34?0:1;break;case 42:pi=$e===42?1:0;break;case 124:pi=$e===124?1:0;break;case 32:pi=Nt?0:1;break;default:pi=G.get(Ni)}pi===1&&(z.push(he._createLink(G,A,J,Oe,de)),wt=!0)}else if(pt===12){let pi;Ni===91?(At=!0,pi=0):pi=G.get(Ni),pi===1?wt=!0:pt=13}else pt=$.nextState(pt,Ni),pt===0&&(wt=!0);wt&&(pt=1,it=!1,At=!1,_i=!1,Oe=de+1,$e=Ni),de++}pt===13&&z.push(he._createLink(G,A,J,Oe,ee))}return z}}class Ce{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(fe,$,G,z,J){if(fe&&$){let Se=this.doNavigateValueSet($,J);if(Se)return{range:fe,value:Se}}if(G&&z){let Se=this.doNavigateValueSet(z,J);if(Se)return{range:G,value:Se}}return null}doNavigateValueSet(fe,$){let G=this.numberReplace(fe,$);return G!==null?G:this.textReplace(fe,$)}numberReplace(fe,$){let G=Math.pow(10,fe.length-(fe.lastIndexOf(".")+1)),z=Number(fe),J=parseFloat(fe);return isNaN(z)||isNaN(J)||z!==J?null:z!==0||$?(z=Math.floor(z*G),z+=$?G:-G,String(z/G)):null}textReplace(fe,$){return this.valueSetsReplace(this._defaultValueSet,fe,$)}valueSetsReplace(fe,$,G){let z=null;for(let J=0,Se=fe.length;z===null&&J<Se;J++)z=this.valueSetReplace(fe[J],$,G);return z}valueSetReplace(fe,$,G){let z=fe.indexOf($);return z>=0?(z+=G?1:-1,z<0?z=fe.length-1:z%=fe.length,fe[z]):null}}Ce.INSTANCE=new Ce;var Ae=o(100),L=o(14),nt=function(ht,fe,$,G){return new($||($=Promise))(function(z,J){function Se(de){try{ee(G.next(de))}catch(Oe){J(Oe)}}function A(de){try{ee(G.throw(de))}catch(Oe){J(Oe)}}function ee(de){var Oe;de.done?z(de.value):(Oe=de.value,Oe instanceof $?Oe:new $(function($e){$e(Oe)})).then(Se,A)}ee((G=G.apply(ht,fe||[])).next())})};class ct extends class{constructor(fe,$,G,z){this._uri=fe,this._lines=$,this._eol=G,this._versionId=z,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(fe){fe.eol&&fe.eol!==this._eol&&(this._eol=fe.eol,this._lineStarts=null);let $=fe.changes;for(let G of $)this._acceptDeleteRange(G.range),this._acceptInsertText(new P.a(G.range.startLineNumber,G.range.startColumn),G.text);this._versionId=fe.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let fe=this._eol.length,$=this._lines.length,G=new Uint32Array($);for(let z=0;z<$;z++)G[z]=this._lines[z].length+fe;this._lineStarts=new B.a(G)}}_setLineText(fe,$){this._lines[fe]=$,this._lineStarts&&this._lineStarts.changeValue(fe,this._lines[fe].length+this._eol.length)}_acceptDeleteRange(fe){if(fe.startLineNumber!==fe.endLineNumber)this._setLineText(fe.startLineNumber-1,this._lines[fe.startLineNumber-1].substring(0,fe.startColumn-1)+this._lines[fe.endLineNumber-1].substring(fe.endColumn-1)),this._lines.splice(fe.startLineNumber,fe.endLineNumber-fe.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(fe.startLineNumber,fe.endLineNumber-fe.startLineNumber);else{if(fe.startColumn===fe.endColumn)return;this._setLineText(fe.startLineNumber-1,this._lines[fe.startLineNumber-1].substring(0,fe.startColumn-1)+this._lines[fe.startLineNumber-1].substring(fe.endColumn-1))}}_acceptInsertText(fe,$){if($.length===0)return;let G=$.split(/\r\n|\r|\n/);if(G.length===1)return void this._setLineText(fe.lineNumber-1,this._lines[fe.lineNumber-1].substring(0,fe.column-1)+G[0]+this._lines[fe.lineNumber-1].substring(fe.column-1));G[G.length-1]+=this._lines[fe.lineNumber-1].substring(fe.column-1),this._setLineText(fe.lineNumber-1,this._lines[fe.lineNumber-1].substring(0,fe.column-1)+G[0]);let z=new Uint32Array(G.length-1);for(let J=1;J<G.length;J++)this._lines.splice(fe.lineNumber+J-1,0,G[J]),z[J-1]=G[J].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(fe.lineNumber,z)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(fe){return this._lines[fe-1]}getWordAtPosition(fe,$){let G=Object(se.d)(fe.column,Object(se.c)($),this._lines[fe.lineNumber-1],0);return G?new V.a(fe.lineNumber,G.startColumn,fe.lineNumber,G.endColumn):null}words(fe){let $=this._lines,G=this._wordenize.bind(this),z=0,J="",Se=0,A=[];return{*[Symbol.iterator](){for(;;)if(Se<A.length){let ee=J.substring(A[Se].start,A[Se].end);Se+=1,yield ee}else{if(!(z<$.length))break;J=$[z],A=G(J,fe),Se=0,z+=1}}}}getLineWords(fe,$){let G=this._lines[fe-1],z=this._wordenize(G,$),J=[];for(let Se of z)J.push({word:G.substring(Se.start,Se.end),startColumn:Se.start+1,endColumn:Se.end+1});return J}_wordenize(fe,$){let G=[],z;for($.lastIndex=0;(z=$.exec(fe))&&z[0].length!==0;)G.push({start:z.index,end:z.index+z[0].length});return G}getValueInRange(fe){if((fe=this._validateRange(fe)).startLineNumber===fe.endLineNumber)return this._lines[fe.startLineNumber-1].substring(fe.startColumn-1,fe.endColumn-1);let $=this._eol,G=fe.startLineNumber-1,z=fe.endLineNumber-1,J=[];J.push(this._lines[G].substring(fe.startColumn-1));for(let Se=G+1;Se<z;Se++)J.push(this._lines[Se]);return J.push(this._lines[z].substring(0,fe.endColumn-1)),J.join($)}offsetAt(fe){return fe=this._validatePosition(fe),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(fe.lineNumber-2)+(fe.column-1)}positionAt(fe){fe=Math.floor(fe),fe=Math.max(0,fe),this._ensureLineStarts();let $=this._lineStarts.getIndexOf(fe),G=this._lines[$.index].length;return{lineNumber:1+$.index,column:1+Math.min($.remainder,G)}}_validateRange(fe){let $=this._validatePosition({lineNumber:fe.startLineNumber,column:fe.startColumn}),G=this._validatePosition({lineNumber:fe.endLineNumber,column:fe.endColumn});return $.lineNumber!==fe.startLineNumber||$.column!==fe.startColumn||G.lineNumber!==fe.endLineNumber||G.column!==fe.endColumn?{startLineNumber:$.lineNumber,startColumn:$.column,endLineNumber:G.lineNumber,endColumn:G.column}:fe}_validatePosition(fe){if(!P.a.isIPosition(fe))throw new Error("bad position");let{lineNumber:$,column:G}=fe,z=!1;if($<1)$=1,G=1,z=!0;else if($>this._lines.length)$=this._lines.length,G=this._lines[$-1].length+1,z=!0;else{let J=this._lines[$-1].length+1;G<1?(G=1,z=!0):G>J&&(G=J,z=!0)}return z?{lineNumber:$,column:G}:fe}}class Ye{constructor(fe,$){this._host=fe,this._models=Object.create(null),this._foreignModuleFactory=$,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(fe){return this._models[fe]}_getModels(){let fe=[];return Object.keys(this._models).forEach($=>fe.push(this._models[$])),fe}acceptNewModel(fe){this._models[fe.url]=new ct(S.a.parse(fe.url),fe.lines,fe.EOL,fe.versionId)}acceptModelChanged(fe,$){!this._models[fe]||this._models[fe].onEvents($)}acceptRemovedModel(fe){this._models[fe]&&delete this._models[fe]}computeDiff(fe,$,G,z){return nt(this,void 0,void 0,function*(){let J=this._getModel(fe),Se=this._getModel($);if(!J||!Se)return null;let A=J.getLinesContent(),ee=Se.getLinesContent(),de=new j(A,ee,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:G,shouldMakePrettyDiff:!0,maxComputationTime:z}).computeDiff(),Oe=!(de.changes.length>0)&&this._modelsAreIdentical(J,Se);return{quitEarly:de.quitEarly,identical:Oe,changes:de.changes}})}_modelsAreIdentical(fe,$){let G=fe.getLineCount();if(G!==$.getLineCount())return!1;for(let z=1;z<=G;z++)if(fe.getLineContent(z)!==$.getLineContent(z))return!1;return!0}computeMoreMinimalEdits(fe,$){return nt(this,void 0,void 0,function*(){let G=this._getModel(fe);if(!G)return $;let z=[],J;$=Object(h.p)($,(Se,A)=>Se.range&&A.range?V.a.compareRangesUsingStarts(Se.range,A.range):(Se.range?0:1)-(A.range?0:1));for(let{range:Se,text:A,eol:ee}of $){if(typeof ee=="number"&&(J=ee),V.a.isEmpty(Se)&&!A)continue;let de=G.getValueInRange(Se);if(A=A.replace(/\r\n|\n|\r/g,G.eol),de===A)continue;if(Math.max(A.length,de.length)>Ye._diffLimit){z.push({range:Se,text:A});continue}let Oe=E(de,A,!1),$e=G.offsetAt(V.a.lift(Se).getStartPosition());for(let pt of Oe){let it=G.positionAt($e+pt.originalStart),At=G.positionAt($e+pt.originalStart+pt.originalLength),Nt={text:A.substr(pt.modifiedStart,pt.modifiedLength),range:{startLineNumber:it.lineNumber,startColumn:it.column,endLineNumber:At.lineNumber,endColumn:At.column}};G.getValueInRange(Nt.range)!==Nt.text&&z.push(Nt)}}return typeof J=="number"&&z.push({eol:J,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),z})}computeLinks(fe){return nt(this,void 0,void 0,function*(){let $=this._getModel(fe);return $?function(G){return G&&typeof G.getLineCount=="function"&&typeof G.getLineContent=="function"?he.computeLinks(G):[]}($):null})}textualSuggest(fe,$,G,z){return nt(this,void 0,void 0,function*(){let J=this._getModel(fe);if(!J)return null;let Se=[],A=new Set,ee=new RegExp(G,z),de=J.getWordAtPosition($,ee);de&&A.add(J.getValueInRange(de));for(let Oe of J.words(ee))if(!A.has(Oe)&&(A.add(Oe),isNaN(Number(Oe))&&(Se.push(Oe),A.size>Ye._suggestionsLimit)))break;return Se})}computeWordRanges(fe,$,G,z){return nt(this,void 0,void 0,function*(){let J=this._getModel(fe);if(!J)return Object.create(null);let Se=new RegExp(G,z),A=Object.create(null);for(let ee=$.startLineNumber;ee<$.endLineNumber;ee++){let de=J.getLineWords(ee,Se);for(let Oe of de){if(!isNaN(Number(Oe.word)))continue;let $e=A[Oe.word];$e||($e=[],A[Oe.word]=$e),$e.push({startLineNumber:ee,startColumn:Oe.startColumn,endLineNumber:ee,endColumn:Oe.endColumn})}}return A})}navigateValueSet(fe,$,G,z,J){return nt(this,void 0,void 0,function*(){let Se=this._getModel(fe);if(!Se)return null;let A=new RegExp(z,J);$.startColumn===$.endColumn&&($={startLineNumber:$.startLineNumber,startColumn:$.startColumn,endLineNumber:$.endLineNumber,endColumn:$.endColumn+1});let ee=Se.getValueInRange($),de=Se.getWordAtPosition({lineNumber:$.startLineNumber,column:$.startColumn},A);if(!de)return null;let Oe=Se.getValueInRange(de);return Ce.INSTANCE.navigateValueSet($,ee,de,Oe,G)})}loadForeignModule(fe,$,G){let z={host:L.c(G,(J,Se)=>this._host.fhr(J,Se)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(z,$),Promise.resolve(L.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(fe,$){if(!this._foreignModule||typeof this._foreignModule[fe]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+fe));try{return Promise.resolve(this._foreignModule[fe].apply(this._foreignModule,$))}catch(G){return Promise.reject(G)}}}Ye._diffLimit=1e5,Ye._suggestionsLimit=1e4,typeof importScripts=="function"&&(C.b.monaco=Object(Ae.a)())},function(Ie,w,o){"use strict";o.d(w,"b",function(){return ke}),o.d(w,"c",function(){return xe}),o.d(w,"a",function(){return Y}),o(220);var h=o(1),f=o(35),D=o(69),H=o(103),E=o(82),ge=o(20);class W extends E.a{constructor(te){super(),this._onActivate=te.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=te.bgWidth+"px",this.bgDomNode.style.height=te.bgHeight+"px",te.top!==void 0&&(this.bgDomNode.style.top="0px"),te.left!==void 0&&(this.bgDomNode.style.left="0px"),te.bottom!==void 0&&(this.bgDomNode.style.bottom="0px"),te.right!==void 0&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=te.className,Object(h.f)(this.domNode,te.icon.classNames),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",te.top!==void 0&&(this.domNode.style.top=te.top+"px"),te.left!==void 0&&(this.domNode.style.left=te.left+"px"),te.bottom!==void 0&&(this.domNode.style.bottom=te.bottom+"px"),te.right!==void 0&&(this.domNode.style.right=te.right+"px"),this._mouseMoveMonitor=this._register(new H.a),this.onmousedown(this.bgDomNode,he=>this._arrowMouseDown(he)),this.onmousedown(this.domNode,he=>this._arrowMouseDown(he)),this._mousedownRepeatTimer=this._register(new ge.c),this._mousedownScheduleRepeatTimer=this._register(new ge.e)}_arrowMouseDown(te){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._mouseMoveMonitor.startMonitoring(te.target,te.buttons,H.b,he=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),te.preventDefault()}}var Q=o(2);class y extends Q.a{constructor(te,he,Ce){super(),this._visibility=te,this._visibleClassName=he,this._invisibleClassName=Ce,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new ge.e)}applyVisibilitySetting(te){return this._visibility!==2&&(this._visibility===3||te)}setShouldBeVisible(te){let he=this.applyVisibilitySetting(te);this._shouldBeVisible!==he&&(this._shouldBeVisible=he,this.ensureVisibility())}setIsNeeded(te){this._isNeeded!==te&&(this._isNeeded=te,this.ensureVisibility())}setDomNode(te){this._domNode=te,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(te){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(te?" fade":"")))}}var C=o(11);class S extends E.a{constructor(te){super(),this._lazyRender=te.lazyRender,this._host=te.host,this._scrollable=te.scrollable,this._scrollbarState=te.scrollbarState,this._visibilityController=this._register(new y(te.visibility,"visible scrollbar "+te.extraScrollbarClassName,"invisible scrollbar "+te.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new H.a),this._shouldRender=!0,this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,he=>this._domNodeMouseDown(he))}_createArrow(te){let he=this._register(new W(te));this.domNode.domNode.appendChild(he.bgDomNode),this.domNode.domNode.appendChild(he.domNode)}_createSlider(te,he,Ce,Ae){this.slider=Object(f.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(te),this.slider.setLeft(he),typeof Ce=="number"&&this.slider.setWidth(Ce),typeof Ae=="number"&&this.slider.setHeight(Ae),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,L=>{L.leftButton&&(L.preventDefault(),this._sliderMouseDown(L,()=>{}))}),this.onclick(this.slider.domNode,L=>{L.leftButton&&L.stopPropagation()})}_onElementSize(te){return this._scrollbarState.setVisibleSize(te)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(te){return this._scrollbarState.setScrollSize(te)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(te){return this._scrollbarState.setScrollPosition(te)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(te){te.target===this.domNode.domNode&&this._onMouseDown(te)}delegateMouseDown(te){let he=this.domNode.domNode.getClientRects()[0].top,Ce=he+this._scrollbarState.getSliderPosition(),Ae=he+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),L=this._sliderMousePosition(te);Ce<=L&&L<=Ae?te.leftButton&&(te.preventDefault(),this._sliderMouseDown(te,()=>{})):this._onMouseDown(te)}_onMouseDown(te){let he,Ce;if(te.target===this.domNode.domNode&&typeof te.browserEvent.offsetX=="number"&&typeof te.browserEvent.offsetY=="number")he=te.browserEvent.offsetX,Ce=te.browserEvent.offsetY;else{let Ae=h.C(this.domNode.domNode);he=te.posx-Ae.left,Ce=te.posy-Ae.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(he,Ce))),te.leftButton&&(te.preventDefault(),this._sliderMouseDown(te,()=>{}))}_sliderMouseDown(te,he){let Ce=this._sliderMousePosition(te),Ae=this._sliderOrthogonalMousePosition(te),L=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(te.target,te.buttons,H.b,nt=>{let ct=this._sliderOrthogonalMousePosition(nt),Ye=Math.abs(ct-Ae);if(C.i&&Ye>140)return void this._setDesiredScrollPositionNow(L.getScrollPosition());let ht=this._sliderMousePosition(nt)-Ce;this._setDesiredScrollPositionNow(L.getDesiredScrollPositionFromDelta(ht))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),he()}),this._host.onDragStart()}_setDesiredScrollPositionNow(te){let he={};this.writeScrollPosition(he,te),this._scrollable.setScrollPositionNow(he)}updateScrollbarSize(te){this._updateScrollbarSize(te),this._scrollbarState.setScrollbarSize(te),this._shouldRender=!0,this._lazyRender||this.render()}}class P{constructor(te,he,Ce,Ae,L,nt){this._scrollbarSize=Math.round(he),this._oppositeScrollbarSize=Math.round(Ce),this._arrowSize=Math.round(te),this._visibleSize=Ae,this._scrollSize=L,this._scrollPosition=nt,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new P(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(te){let he=Math.round(te);return this._visibleSize!==he&&(this._visibleSize=he,this._refreshComputedValues(),!0)}setScrollSize(te){let he=Math.round(te);return this._scrollSize!==he&&(this._scrollSize=he,this._refreshComputedValues(),!0)}setScrollPosition(te){let he=Math.round(te);return this._scrollPosition!==he&&(this._scrollPosition=he,this._refreshComputedValues(),!0)}setScrollbarSize(te){this._scrollbarSize=te}static _computeValues(te,he,Ce,Ae,L){let nt=Math.max(0,Ce-te),ct=Math.max(0,nt-2*he),Ye=Ae>0&&Ae>Ce;if(!Ye)return{computedAvailableSize:Math.round(nt),computedIsNeeded:Ye,computedSliderSize:Math.round(ct),computedSliderRatio:0,computedSliderPosition:0};let ht=Math.round(Math.max(20,Math.floor(Ce*ct/Ae))),fe=(ct-ht)/(Ae-Ce),$=L*fe;return{computedAvailableSize:Math.round(nt),computedIsNeeded:Ye,computedSliderSize:Math.round(ht),computedSliderRatio:fe,computedSliderPosition:Math.round($)}}_refreshComputedValues(){let te=P._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=te.computedAvailableSize,this._computedIsNeeded=te.computedIsNeeded,this._computedSliderSize=te.computedSliderSize,this._computedSliderRatio=te.computedSliderRatio,this._computedSliderPosition=te.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(te){if(!this._computedIsNeeded)return 0;let he=te-this._arrowSize-this._computedSliderSize/2;return Math.round(he/this._computedSliderRatio)}getDesiredScrollPositionFromDelta(te){if(!this._computedIsNeeded)return 0;let he=this._computedSliderPosition+te;return Math.round(he/this._computedSliderRatio)}}var V=o(17);let k=Object(V.e)("scrollbar-button-left",V.a.triangleLeft),l=Object(V.e)("scrollbar-button-right",V.a.triangleRight);class T extends S{constructor(te,he,Ce){let Ae=te.getScrollDimensions(),L=te.getCurrentScrollPosition();if(super({lazyRender:he.lazyRender,host:Ce,scrollbarState:new P(he.horizontalHasArrows?he.arrowSize:0,he.horizontal===2?0:he.horizontalScrollbarSize,he.vertical===2?0:he.verticalScrollbarSize,Ae.width,Ae.scrollWidth,L.scrollLeft),visibility:he.horizontal,extraScrollbarClassName:"horizontal",scrollable:te}),he.horizontalHasArrows){let nt=(he.arrowSize-11)/2,ct=(he.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:k,top:ct,left:nt,bottom:void 0,right:void 0,bgWidth:he.arrowSize,bgHeight:he.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new D.b(null,1,0))}),this._createArrow({className:"scra",icon:l,top:ct,left:void 0,bottom:void 0,right:nt,bgWidth:he.arrowSize,bgHeight:he.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new D.b(null,-1,0))})}this._createSlider(Math.floor((he.horizontalScrollbarSize-he.horizontalSliderSize)/2),0,void 0,he.horizontalSliderSize)}_updateSlider(te,he){this.slider.setWidth(te),this.slider.setLeft(he)}_renderDomNode(te,he){this.domNode.setWidth(te),this.domNode.setHeight(he),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(te){return this._shouldRender=this._onElementScrollSize(te.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(te.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(te.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(te,he){return te}_sliderMousePosition(te){return te.posx}_sliderOrthogonalMousePosition(te){return te.posy}_updateScrollbarSize(te){this.slider.setHeight(te)}writeScrollPosition(te,he){te.scrollLeft=he}}let N=Object(V.e)("scrollbar-button-up",V.a.triangleUp),b=Object(V.e)("scrollbar-button-down",V.a.triangleDown);class g extends S{constructor(te,he,Ce){let Ae=te.getScrollDimensions(),L=te.getCurrentScrollPosition();if(super({lazyRender:he.lazyRender,host:Ce,scrollbarState:new P(he.verticalHasArrows?he.arrowSize:0,he.vertical===2?0:he.verticalScrollbarSize,0,Ae.height,Ae.scrollHeight,L.scrollTop),visibility:he.vertical,extraScrollbarClassName:"vertical",scrollable:te}),he.verticalHasArrows){let nt=(he.arrowSize-11)/2,ct=(he.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:N,top:nt,left:ct,bottom:void 0,right:void 0,bgWidth:he.verticalScrollbarSize,bgHeight:he.arrowSize,onActivate:()=>this._host.onMouseWheel(new D.b(null,0,1))}),this._createArrow({className:"scra",icon:b,top:void 0,left:ct,bottom:nt,right:void 0,bgWidth:he.verticalScrollbarSize,bgHeight:he.arrowSize,onActivate:()=>this._host.onMouseWheel(new D.b(null,0,-1))})}this._createSlider(0,Math.floor((he.verticalScrollbarSize-he.verticalSliderSize)/2),he.verticalSliderSize,void 0)}_updateSlider(te,he){this.slider.setHeight(te),this.slider.setTop(he)}_renderDomNode(te,he){this.domNode.setWidth(he),this.domNode.setHeight(te),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(te){return this._shouldRender=this._onElementScrollSize(te.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(te.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(te.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(te,he){return he}_sliderMousePosition(te){return te.posy}_sliderOrthogonalMousePosition(te){return te.posx}_updateScrollbarSize(te){this.slider.setWidth(te)}writeScrollPosition(te,he){te.scrollTop=he}}var j=o(6),ie=o(170),U=o(34);class q{constructor(te,he,Ce){this.timestamp=te,this.deltaX=he,this.deltaY=Ce,this.score=0}}class B{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let te=1,he=0,Ce=1,Ae=this._rear;for(;;){let L=Ae===this._front?te:Math.pow(2,-Ce);if(te-=L,he+=this._memory[Ae].score*L,Ae===this._front)break;Ae=(this._capacity+Ae-1)%this._capacity,Ce++}return he<=.5}accept(te,he,Ce){let Ae=new q(te,he,Ce);Ae.score=this._computeScore(Ae),this._front===-1&&this._rear===-1?(this._memory[0]=Ae,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=Ae)}_computeScore(te){if(Math.abs(te.deltaX)>0&&Math.abs(te.deltaY)>0)return 1;let he=.5;return this._front===-1&&this._rear===-1||this._memory[this._rear],this._isAlmostInt(te.deltaX)&&this._isAlmostInt(te.deltaY)||(he+=.25),Math.min(Math.max(he,0),1)}_isAlmostInt(te){return Math.abs(Math.round(te)-te)<.01}}B.INSTANCE=new B;class se extends E.a{constructor(te,he,Ce){super(),this._onScroll=this._register(new j.a),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new j.a),te.style.overflow="hidden",this._options=function(L){let nt={lazyRender:L.lazyRender!==void 0&&L.lazyRender,className:L.className!==void 0?L.className:"",useShadows:L.useShadows===void 0||L.useShadows,handleMouseWheel:L.handleMouseWheel===void 0||L.handleMouseWheel,flipAxes:L.flipAxes!==void 0&&L.flipAxes,alwaysConsumeMouseWheel:L.alwaysConsumeMouseWheel!==void 0&&L.alwaysConsumeMouseWheel,scrollYToX:L.scrollYToX!==void 0&&L.scrollYToX,mouseWheelScrollSensitivity:L.mouseWheelScrollSensitivity!==void 0?L.mouseWheelScrollSensitivity:1,fastScrollSensitivity:L.fastScrollSensitivity!==void 0?L.fastScrollSensitivity:5,scrollPredominantAxis:L.scrollPredominantAxis===void 0||L.scrollPredominantAxis,mouseWheelSmoothScroll:L.mouseWheelSmoothScroll===void 0||L.mouseWheelSmoothScroll,arrowSize:L.arrowSize!==void 0?L.arrowSize:11,listenOnDomNode:L.listenOnDomNode!==void 0?L.listenOnDomNode:null,horizontal:L.horizontal!==void 0?L.horizontal:1,horizontalScrollbarSize:L.horizontalScrollbarSize!==void 0?L.horizontalScrollbarSize:10,horizontalSliderSize:L.horizontalSliderSize!==void 0?L.horizontalSliderSize:0,horizontalHasArrows:L.horizontalHasArrows!==void 0&&L.horizontalHasArrows,vertical:L.vertical!==void 0?L.vertical:1,verticalScrollbarSize:L.verticalScrollbarSize!==void 0?L.verticalScrollbarSize:10,verticalHasArrows:L.verticalHasArrows!==void 0&&L.verticalHasArrows,verticalSliderSize:L.verticalSliderSize!==void 0?L.verticalSliderSize:0};return nt.horizontalSliderSize=L.horizontalSliderSize!==void 0?L.horizontalSliderSize:nt.horizontalScrollbarSize,nt.verticalSliderSize=L.verticalSliderSize!==void 0?L.verticalSliderSize:nt.verticalScrollbarSize,C.f&&(nt.className+=" mac"),nt}(he),this._scrollable=Ce,this._register(this._scrollable.onScroll(L=>{this._onWillScroll.fire(L),this._onDidScroll(L),this._onScroll.fire(L)}));let Ae={onMouseWheel:L=>this._onMouseWheel(L),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new g(this._scrollable,this._options,Ae)),this._horizontalScrollbar=this._register(new T(this._scrollable,this._options,Ae)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(te),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=Object(f.b)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=Object(f.b)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=Object(f.b)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,L=>this._onMouseOver(L)),this.onnonbubblingmouseout(this._listenOnDomNode,L=>this._onMouseOut(L)),this._hideTimeout=this._register(new ge.e),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=Object(Q.f)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(te){this._verticalScrollbar.delegateMouseDown(te)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(te){this._scrollable.setScrollDimensions(te,!1)}updateClassName(te){this._options.className=te,C.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(te){te.handleMouseWheel!==void 0&&(this._options.handleMouseWheel=te.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),te.mouseWheelScrollSensitivity!==void 0&&(this._options.mouseWheelScrollSensitivity=te.mouseWheelScrollSensitivity),te.fastScrollSensitivity!==void 0&&(this._options.fastScrollSensitivity=te.fastScrollSensitivity),te.scrollPredominantAxis!==void 0&&(this._options.scrollPredominantAxis=te.scrollPredominantAxis),te.horizontalScrollbarSize!==void 0&&this._horizontalScrollbar.updateScrollbarSize(te.horizontalScrollbarSize),this._options.lazyRender||this._render()}_setListeningToMouseWheel(te){if(this._mouseWheelToDispose.length>0!==te&&(this._mouseWheelToDispose=Object(Q.f)(this._mouseWheelToDispose),te)){let he=Ce=>{this._onMouseWheel(new D.b(Ce))};this._mouseWheelToDispose.push(h.i(this._listenOnDomNode,h.c.MOUSE_WHEEL,he,{passive:!1}))}}_onMouseWheel(te){let he=B.INSTANCE;{let Ce=window.devicePixelRatio/Object(U.c)();C.i||C.d?he.accept(Date.now(),te.deltaX/Ce,te.deltaY/Ce):he.accept(Date.now(),te.deltaX,te.deltaY)}if(te.deltaY||te.deltaX){let Ce=te.deltaY*this._options.mouseWheelScrollSensitivity,Ae=te.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(Ce)>=Math.abs(Ae)?Ae=0:Ce=0),this._options.flipAxes&&([Ce,Ae]=[Ae,Ce]);let L=!C.f&&te.browserEvent&&te.browserEvent.shiftKey;!this._options.scrollYToX&&!L||Ae||(Ae=Ce,Ce=0),te.browserEvent&&te.browserEvent.altKey&&(Ae*=this._options.fastScrollSensitivity,Ce*=this._options.fastScrollSensitivity);let nt=this._scrollable.getFutureScrollPosition(),ct={};if(Ce){let Ye=nt.scrollTop-50*Ce;this._verticalScrollbar.writeScrollPosition(ct,Ye)}if(Ae){let Ye=nt.scrollLeft-50*Ae;this._horizontalScrollbar.writeScrollPosition(ct,Ye)}ct=this._scrollable.validateScrollPosition(ct),(nt.scrollLeft!==ct.scrollLeft||nt.scrollTop!==ct.scrollTop)&&(this._options.mouseWheelSmoothScroll&&he.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(ct):this._scrollable.setScrollPositionNow(ct),this._shouldRender=!0)}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(te.preventDefault(),te.stopPropagation())}_onDidScroll(te){this._shouldRender=this._horizontalScrollbar.onDidScroll(te)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(te)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){let te=this._scrollable.getCurrentScrollPosition(),he=te.scrollTop>0,Ce=te.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(Ce?" left":"")),this._topShadowDomNode.setClassName("shadow"+(he?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(he?" top":"")+(Ce?" left":""))}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(te){this._mouseIsOver=!1,this._hide()}_onMouseOver(te){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class ke extends se{constructor(te,he){(he=he||{}).mouseWheelSmoothScroll=!1;let Ce=new ie.a(0,Ae=>h.Y(Ae));super(te,he,Ce),this._register(Ce)}setScrollPosition(te){this._scrollable.setScrollPositionNow(te)}}class xe extends se{constructor(te,he,Ce){super(te,he,Ce)}setScrollPosition(te){this._scrollable.setScrollPositionNow(te)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class Y extends ke{constructor(te,he){super(te,he),this._element=te,this.onScroll(Ce=>{Ce.scrollTopChanged&&(this._element.scrollTop=Ce.scrollTop),Ce.scrollLeftChanged&&(this._element.scrollLeft=Ce.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o.d(w,"d",function(){return Q}),o.d(w,"c",function(){return C}),o.d(w,"e",function(){return S}),o.d(w,"b",function(){return P});var h=o(8),f=o(117),D=o(9),H=o(3),E=o(58);class ge{constructor(k,l,T,N){this.searchString=k,this.isRegex=l,this.matchCase=T,this.wordSeparators=N}parseSearchRequest(){if(this.searchString==="")return null;let k;k=this.isRegex?function(N){if(!N||N.length===0)return!1;for(let b=0,g=N.length;b<g;b++)if(N.charCodeAt(b)===92){if(b++,b>=g)break;let j=N.charCodeAt(b);if(j===110||j===114||j===87||j===119)return!0}return!1}(this.searchString):this.searchString.indexOf(` +`)>=0;let l=null;try{l=h.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:k,global:!0,unicode:!0})}catch(N){return null}if(!l)return null;let T=!this.isRegex&&!k;return T&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(T=this.matchCase),new W(l,this.wordSeparators?Object(f.a)(this.wordSeparators):null,T?this.searchString:null)}}class W{constructor(k,l,T){this.regex=k,this.wordSeparators=l,this.simpleSearch=T}}function Q(V,k,l){if(!l)return new E.b(V,null);let T=[];for(let N=0,b=k.length;N<b;N++)T[N]=k[N];return new E.b(V,T)}class y{constructor(k){let l=[],T=0;for(let N=0,b=k.length;N<b;N++)k.charCodeAt(N)===10&&(l[T++]=N);this._lineFeedsOffsets=l}findLineFeedCountBeforeOffset(k){let l=this._lineFeedsOffsets,T=0,N=l.length-1;if(N===-1||k<=l[0])return 0;for(;T<N;){let b=T+((N-T)/2>>0);l[b]>=k?N=b-1:l[b+1]>=k?(T=b,N=b):T=b+1}return T+1}}class C{static findMatches(k,l,T,N,b){let g=l.parseSearchRequest();return g?g.regex.multiline?this._doFindMatchesMultiline(k,T,new P(g.wordSeparators,g.regex),N,b):this._doFindMatchesLineByLine(k,T,g,N,b):[]}static _getMultilineMatchRange(k,l,T,N,b,g){let j,ie,U=0;if(N?(U=N.findLineFeedCountBeforeOffset(b),j=l+b+U):j=l+b,N){let se=N.findLineFeedCountBeforeOffset(b+g.length)-U;ie=j+g.length+se}else ie=j+g.length;let q=k.getPositionAt(j),B=k.getPositionAt(ie);return new H.a(q.lineNumber,q.column,B.lineNumber,B.column)}static _doFindMatchesMultiline(k,l,T,N,b){let g=k.getOffsetAt(l.getStartPosition()),j=k.getValueInRange(l,1),ie=k.getEOL()===`\r +`?new y(j):null,U=[],q,B=0;for(T.reset(0);q=T.next(j);)if(U[B++]=Q(this._getMultilineMatchRange(k,g,j,ie,q.index,q[0]),q,N),B>=b)return U;return U}static _doFindMatchesLineByLine(k,l,T,N,b){let g=[],j=0;if(l.startLineNumber===l.endLineNumber){let U=k.getLineContent(l.startLineNumber).substring(l.startColumn-1,l.endColumn-1);return j=this._findMatchesInLine(T,U,l.startLineNumber,l.startColumn-1,j,g,N,b),g}let ie=k.getLineContent(l.startLineNumber).substring(l.startColumn-1);j=this._findMatchesInLine(T,ie,l.startLineNumber,l.startColumn-1,j,g,N,b);for(let U=l.startLineNumber+1;U<l.endLineNumber&&j<b;U++)j=this._findMatchesInLine(T,k.getLineContent(U),U,0,j,g,N,b);if(j<b){let U=k.getLineContent(l.endLineNumber).substring(0,l.endColumn-1);j=this._findMatchesInLine(T,U,l.endLineNumber,0,j,g,N,b)}return g}static _findMatchesInLine(k,l,T,N,b,g,j,ie){let U=k.wordSeparators;if(!j&&k.simpleSearch){let se=k.simpleSearch,ke=se.length,xe=l.length,Y=-ke;for(;(Y=l.indexOf(se,Y+ke))!==-1;)if((!U||S(U,l,xe,Y,ke))&&(g[b++]=new E.b(new H.a(T,Y+1+N,T,Y+1+ke+N),null),b>=ie))return b;return b}let q=new P(k.wordSeparators,k.regex),B;q.reset(0);do if(B=q.next(l),B&&(g[b++]=Q(new H.a(T,B.index+1+N,T,B.index+1+B[0].length+N),B,j),b>=ie))return b;while(B);return b}static findNextMatch(k,l,T,N){let b=l.parseSearchRequest();if(!b)return null;let g=new P(b.wordSeparators,b.regex);return b.regex.multiline?this._doFindNextMatchMultiline(k,T,g,N):this._doFindNextMatchLineByLine(k,T,g,N)}static _doFindNextMatchMultiline(k,l,T,N){let b=new D.a(l.lineNumber,1),g=k.getOffsetAt(b),j=k.getLineCount(),ie=k.getValueInRange(new H.a(b.lineNumber,b.column,j,k.getLineMaxColumn(j)),1),U=k.getEOL()===`\r +`?new y(ie):null;T.reset(l.column-1);let q=T.next(ie);return q?Q(this._getMultilineMatchRange(k,g,ie,U,q.index,q[0]),q,N):l.lineNumber!==1||l.column!==1?this._doFindNextMatchMultiline(k,new D.a(1,1),T,N):null}static _doFindNextMatchLineByLine(k,l,T,N){let b=k.getLineCount(),g=l.lineNumber,j=k.getLineContent(g),ie=this._findFirstMatchInLine(T,j,g,l.column,N);if(ie)return ie;for(let U=1;U<=b;U++){let q=(g+U-1)%b,B=k.getLineContent(q+1),se=this._findFirstMatchInLine(T,B,q+1,1,N);if(se)return se}return null}static _findFirstMatchInLine(k,l,T,N,b){k.reset(N-1);let g=k.next(l);return g?Q(new H.a(T,g.index+1,T,g.index+1+g[0].length),g,b):null}static findPreviousMatch(k,l,T,N){let b=l.parseSearchRequest();if(!b)return null;let g=new P(b.wordSeparators,b.regex);return b.regex.multiline?this._doFindPreviousMatchMultiline(k,T,g,N):this._doFindPreviousMatchLineByLine(k,T,g,N)}static _doFindPreviousMatchMultiline(k,l,T,N){let b=this._doFindMatchesMultiline(k,new H.a(1,1,l.lineNumber,l.column),T,N,9990);if(b.length>0)return b[b.length-1];let g=k.getLineCount();return l.lineNumber!==g||l.column!==k.getLineMaxColumn(g)?this._doFindPreviousMatchMultiline(k,new D.a(g,k.getLineMaxColumn(g)),T,N):null}static _doFindPreviousMatchLineByLine(k,l,T,N){let b=k.getLineCount(),g=l.lineNumber,j=k.getLineContent(g).substring(0,l.column-1),ie=this._findLastMatchInLine(T,j,g,N);if(ie)return ie;for(let U=1;U<=b;U++){let q=(b+g-U-1)%b,B=k.getLineContent(q+1),se=this._findLastMatchInLine(T,B,q+1,N);if(se)return se}return null}static _findLastMatchInLine(k,l,T,N){let b,g=null;for(k.reset(0);b=k.next(l);)g=Q(new H.a(T,b.index+1,T,b.index+1+b[0].length),b,N);return g}}function S(V,k,l,T,N){return function(b,g,j,ie,U){if(ie===0)return!0;let q=g.charCodeAt(ie-1);if(b.get(q)!==0||q===13||q===10)return!0;if(U>0){let B=g.charCodeAt(ie);if(b.get(B)!==0)return!0}return!1}(V,k,0,T,N)&&function(b,g,j,ie,U){if(ie+U===j)return!0;let q=g.charCodeAt(ie+U);if(b.get(q)!==0||q===13||q===10)return!0;if(U>0){let B=g.charCodeAt(ie+U-1);if(b.get(B)!==0)return!0}return!1}(V,k,l,T,N)}class P{constructor(k,l){this._wordSeparators=k,this._searchRegex=l,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(k){this._searchRegex.lastIndex=k,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(k){let l=k.length,T;do{if(this._prevMatchStartIndex+this._prevMatchLength===l||(T=this._searchRegex.exec(k),!T))return null;let N=T.index,b=T[0].length;if(N===this._prevMatchStartIndex&&b===this._prevMatchLength){if(b===0){h.A(k,l,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=N,this._prevMatchLength=b,!this._wordSeparators||S(this._wordSeparators,k,l,N,b))return T}while(T);return null}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return j}),o.d(w,"a",function(){return se});var h=o(0),f=o(14),D=o(4),H=o(41),E=o(22),ge=o(9),W=o(3);class Q{static columnSelect(Z,te,he,Ce,Ae,L){let nt=Math.abs(Ae-he)+1,ct=he>Ae,Ye=Ce>L,ht=Ce<L,fe=[];for(let $=0;$<nt;$++){let G=he+(ct?-$:$),z=E.a.columnFromVisibleColumn2(Z,te,G,Ce),J=E.a.columnFromVisibleColumn2(Z,te,G,L),Se=E.a.visibleColumnFromColumn2(Z,te,new ge.a(G,z)),A=E.a.visibleColumnFromColumn2(Z,te,new ge.a(G,J));ht&&(Se>L||A<Ce)||Ye&&(A>Ce||Se<L)||fe.push(new E.f(new W.a(G,z,G,z),0,new ge.a(G,J),0))}if(fe.length===0)for(let $=0;$<nt;$++){let G=he+(ct?-$:$),z=te.getLineMaxColumn(G);fe.push(new E.f(new W.a(G,z,G,z),0,new ge.a(G,z),0))}return{viewStates:fe,reversed:ct,fromLineNumber:he,fromVisualColumn:Ce,toLineNumber:Ae,toVisualColumn:L}}static columnSelectLeft(Z,te,he){let Ce=he.toViewVisualColumn;return Ce>1&&Ce--,Q.columnSelect(Z,te,he.fromViewLineNumber,he.fromViewVisualColumn,he.toViewLineNumber,Ce)}static columnSelectRight(Z,te,he){let Ce=0,Ae=Math.min(he.fromViewLineNumber,he.toViewLineNumber),L=Math.max(he.fromViewLineNumber,he.toViewLineNumber);for(let ct=Ae;ct<=L;ct++){let Ye=te.getLineMaxColumn(ct),ht=E.a.visibleColumnFromColumn2(Z,te,new ge.a(ct,Ye));Ce=Math.max(Ce,ht)}let nt=he.toViewVisualColumn;return nt<Ce&&nt++,this.columnSelect(Z,te,he.fromViewLineNumber,he.fromViewVisualColumn,he.toViewLineNumber,nt)}static columnSelectUp(Z,te,he,Ce){let Ae=Ce?Z.pageSize:1,L=Math.max(1,he.toViewLineNumber-Ae);return this.columnSelect(Z,te,he.fromViewLineNumber,he.fromViewVisualColumn,L,he.toViewVisualColumn)}static columnSelectDown(Z,te,he,Ce){let Ae=Ce?Z.pageSize:1,L=Math.min(te.getLineCount(),he.toViewLineNumber+Ae);return this.columnSelect(Z,te,he.fromViewLineNumber,he.fromViewVisualColumn,L,he.toViewVisualColumn)}}var y=o(181),C=o(85),S=o(126),P=o(7),V=o(10),k=o(92);class l extends D.c{runEditorCommand(Z,te,he){let Ce=te._getViewModel();Ce&&this.runCoreEditorCommand(Ce,he||{})}}var T,N,b,g,j;(N=T||(T={})).description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:function(Y){if(!f.i(Y))return!1;let Z=Y;return!(!f.j(Z.to)||!f.k(Z.by)&&!f.j(Z.by)||!f.k(Z.value)&&!f.h(Z.value)||!f.k(Z.revealCursor)&&!f.f(Z.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},N.RawDirection={Up:"up",Down:"down"},N.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},N.parse=function(Y){let Z,te;switch(Y.to){case N.RawDirection.Up:Z=1;break;case N.RawDirection.Down:Z=2;break;default:return null}switch(Y.by){case N.RawUnit.Line:te=1;break;case N.RawUnit.WrappedLine:te=2;break;case N.RawUnit.Page:te=3;break;case N.RawUnit.HalfPage:te=4;break;default:te=2}return{direction:Z,unit:te,value:Math.floor(Y.value||1),revealCursor:!!Y.revealCursor,select:!!Y.select}},(g=b||(b={})).description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed .\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:function(Y){if(!f.i(Y))return!1;let Z=Y;return!(!f.h(Z.lineNumber)||!f.k(Z.at)&&!f.j(Z.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},g.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"};class ie{constructor(Z){Z.addImplementation(1e4,(te,he)=>{let Ce=te.get(H.a).getFocusedCodeEditor();return!(!Ce||!Ce.hasTextFocus())&&(this.runEditorCommand(te,Ce,he),!0)}),Z.addImplementation(1e3,(te,he)=>{let Ce=document.activeElement;return!!(Ce&&["input","textarea"].indexOf(Ce.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)}),Z.addImplementation(0,(te,he)=>{let Ce=te.get(H.a).getActiveCodeEditor();return!!Ce&&(Ce.focus(),this.runEditorCommand(te,Ce,he),!0)})}}(function(Y){class Z extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,[C.b.moveTo(ee,ee.getPrimaryCursorState(),this._inSelectionMode,de.position,de.viewPosition)]),ee.revealPrimaryCursor(de.source,!0)}}Y.MoveTo=Object(D.l)(new Z({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),Y.MoveToSelect=Object(D.l)(new Z({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class te extends l{runCoreEditorCommand(ee,de){ee.model.pushStackElement();let Oe=this._getColumnSelectResult(ee,ee.getPrimaryCursorState(),ee.getCursorColumnSelectData(),de);ee.setCursorStates(de.source,3,Oe.viewStates.map($e=>E.d.fromViewState($e))),ee.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:Oe.fromLineNumber,fromViewVisualColumn:Oe.fromVisualColumn,toViewLineNumber:Oe.toLineNumber,toViewVisualColumn:Oe.toVisualColumn}),Oe.reversed?ee.revealTopMostCursor(de.source):ee.revealBottomMostCursor(de.source)}}Y.ColumnSelect=Object(D.l)(new class extends te{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(A,ee,de,Oe){let $e=A.model.validatePosition(Oe.position),pt=A.coordinatesConverter.validateViewPosition(new ge.a(Oe.viewPosition.lineNumber,Oe.viewPosition.column),$e),it=Oe.doColumnSelect?de.fromViewLineNumber:pt.lineNumber,At=Oe.doColumnSelect?de.fromViewVisualColumn:Oe.mouseColumn-1;return Q.columnSelect(A.cursorConfig,A,it,At,pt.lineNumber,Oe.mouseColumn-1)}}),Y.CursorColumnSelectLeft=Object(D.l)(new class extends te{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(A,ee,de,Oe){return Q.columnSelectLeft(A.cursorConfig,A,de)}}),Y.CursorColumnSelectRight=Object(D.l)(new class extends te{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(A,ee,de,Oe){return Q.columnSelectRight(A.cursorConfig,A,de)}});class he extends te{constructor(ee){super(ee),this._isPaged=ee.isPaged}_getColumnSelectResult(ee,de,Oe,$e){return Q.columnSelectUp(ee.cursorConfig,ee,Oe,this._isPaged)}}Y.CursorColumnSelectUp=Object(D.l)(new he({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3600,linux:{primary:0}}})),Y.CursorColumnSelectPageUp=Object(D.l)(new he({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3595,linux:{primary:0}}}));class Ce extends te{constructor(ee){super(ee),this._isPaged=ee.isPaged}_getColumnSelectResult(ee,de,Oe,$e){return Q.columnSelectDown(ee.cursorConfig,ee,Oe,this._isPaged)}}Y.CursorColumnSelectDown=Object(D.l)(new Ce({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3602,linux:{primary:0}}})),Y.CursorColumnSelectPageDown=Object(D.l)(new Ce({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3596,linux:{primary:0}}}));class Ae extends l{constructor(){super({id:"cursorMove",precondition:void 0,description:C.a.description})}runCoreEditorCommand(ee,de){let Oe=C.a.parse(de);Oe&&this._runCursorMove(ee,de.source,Oe)}_runCursorMove(ee,de,Oe){ee.model.pushStackElement(),ee.setCursorStates(de,3,Ae._move(ee,ee.getCursorStates(),Oe)),ee.revealPrimaryCursor(de,!0)}static _move(ee,de,Oe){let $e=Oe.select,pt=Oe.value;switch(Oe.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return C.b.simpleMove(ee,de,Oe.direction,$e,pt,Oe.unit);case 9:case 11:case 10:case 12:return C.b.viewportMove(ee,de,Oe.direction,$e,pt);default:return null}}}Y.CursorMoveImpl=Ae,Y.CursorMove=Object(D.l)(new Ae);class L extends l{constructor(ee){super(ee),this._staticArgs=ee.args}runCoreEditorCommand(ee,de){let Oe=this._staticArgs;this._staticArgs.value===-1&&(Oe={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:ee.cursorConfig.pageSize}),ee.model.pushStackElement(),ee.setCursorStates(de.source,3,C.b.simpleMove(ee,ee.getCursorStates(),Oe.direction,Oe.select,Oe.value,Oe.unit)),ee.revealPrimaryCursor(de.source,!0)}}Y.CursorLeft=Object(D.l)(new L({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),Y.CursorLeftSelect=Object(D.l)(new L({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1039}})),Y.CursorRight=Object(D.l)(new L({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),Y.CursorRightSelect=Object(D.l)(new L({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1041}})),Y.CursorUp=Object(D.l)(new L({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),Y.CursorUpSelect=Object(D.l)(new L({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),Y.CursorPageUp=Object(D.l)(new L({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:11}})),Y.CursorPageUpSelect=Object(D.l)(new L({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1035}})),Y.CursorDown=Object(D.l)(new L({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),Y.CursorDownSelect=Object(D.l)(new L({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),Y.CursorPageDown=Object(D.l)(new L({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:12}})),Y.CursorPageDownSelect=Object(D.l)(new L({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1036}})),Y.CreateCursor=Object(D.l)(new class extends l{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(A,ee){let de;de=ee.wholeLine?C.b.line(A,A.getPrimaryCursorState(),!1,ee.position,ee.viewPosition):C.b.moveTo(A,A.getPrimaryCursorState(),!1,ee.position,ee.viewPosition);let Oe=A.getCursorStates();if(Oe.length>1){let $e=de.modelState?de.modelState.position:null,pt=de.viewState?de.viewState.position:null;for(let it=0,At=Oe.length;it<At;it++){let Nt=Oe[it];if((!$e||Nt.modelState.selection.containsPosition($e))&&(!pt||Nt.viewState.selection.containsPosition(pt)))return Oe.splice(it,1),A.model.pushStackElement(),void A.setCursorStates(ee.source,3,Oe)}}Oe.push(de),A.model.pushStackElement(),A.setCursorStates(ee.source,3,Oe)}}),Y.LastCursorMoveToSelect=Object(D.l)(new class extends l{constructor(){super({id:"_lastCursorMoveToSelect",precondition:void 0})}runCoreEditorCommand(A,ee){let de=A.getLastAddedCursorIndex(),Oe=A.getCursorStates(),$e=Oe.slice(0);$e[de]=C.b.moveTo(A,Oe[de],!0,ee.position,ee.viewPosition),A.model.pushStackElement(),A.setCursorStates(ee.source,3,$e)}});class nt extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,C.b.moveToBeginningOfLine(ee,ee.getCursorStates(),this._inSelectionMode)),ee.revealPrimaryCursor(de.source,!0)}}Y.CursorHome=Object(D.l)(new nt({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),Y.CursorHomeSelect=Object(D.l)(new nt({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class ct extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,this._exec(ee.getCursorStates())),ee.revealPrimaryCursor(de.source,!0)}_exec(ee){let de=[];for(let Oe=0,$e=ee.length;Oe<$e;Oe++){let pt=ee[Oe],it=pt.modelState.position.lineNumber;de[Oe]=E.d.fromModelState(pt.modelState.move(this._inSelectionMode,it,1,0))}return de}}Y.CursorLineStart=Object(D.l)(new ct({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:0,mac:{primary:287}}})),Y.CursorLineStartSelect=Object(D.l)(new ct({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:0,mac:{primary:1311}}}));class Ye extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,C.b.moveToEndOfLine(ee,ee.getCursorStates(),this._inSelectionMode,de.sticky||!1)),ee.revealPrimaryCursor(de.source,!0)}}Y.CursorEnd=Object(D.l)(new Ye({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:P.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:h.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),Y.CursorEndSelect=Object(D.l)(new Ye({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:P.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:h.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));class ht extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,this._exec(ee,ee.getCursorStates())),ee.revealPrimaryCursor(de.source,!0)}_exec(ee,de){let Oe=[];for(let $e=0,pt=de.length;$e<pt;$e++){let it=de[$e],At=it.modelState.position.lineNumber,Nt=ee.model.getLineMaxColumn(At);Oe[$e]=E.d.fromModelState(it.modelState.move(this._inSelectionMode,At,Nt,0))}return Oe}}Y.CursorLineEnd=Object(D.l)(new ht({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:0,mac:{primary:291}}})),Y.CursorLineEndSelect=Object(D.l)(new ht({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:0,mac:{primary:1315}}}));class fe extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,C.b.moveToBeginningOfBuffer(ee,ee.getCursorStates(),this._inSelectionMode)),ee.revealPrimaryCursor(de.source,!0)}}Y.CursorTop=Object(D.l)(new fe({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2062,mac:{primary:2064}}})),Y.CursorTopSelect=Object(D.l)(new fe({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3086,mac:{primary:3088}}}));class $ extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,C.b.moveToEndOfBuffer(ee,ee.getCursorStates(),this._inSelectionMode)),ee.revealPrimaryCursor(de.source,!0)}}Y.CursorBottom=Object(D.l)(new $({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2061,mac:{primary:2066}}})),Y.CursorBottomSelect=Object(D.l)(new $({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:3085,mac:{primary:3090}}}));class G extends l{constructor(){super({id:"editorScroll",precondition:void 0,description:T.description})}runCoreEditorCommand(ee,de){let Oe=T.parse(de);Oe&&this._runEditorScroll(ee,de.source,Oe)}_runEditorScroll(ee,de,Oe){let $e=this._computeDesiredScrollTop(ee,Oe);if(Oe.revealCursor){let pt=ee.getCompletelyVisibleViewRangeAtScrollTop($e);ee.setCursorStates(de,3,[C.b.findPositionInViewportIfOutside(ee,ee.getPrimaryCursorState(),pt,Oe.select)])}ee.setScrollTop($e,0)}_computeDesiredScrollTop(ee,de){if(de.unit===1){let pt=ee.getCompletelyVisibleViewRange(),it=ee.coordinatesConverter.convertViewRangeToModelRange(pt),At;At=de.direction===1?Math.max(1,it.startLineNumber-de.value):Math.min(ee.model.getLineCount(),it.startLineNumber+de.value);let Nt=ee.coordinatesConverter.convertModelPositionToViewPosition(new ge.a(At,1));return ee.getVerticalOffsetForLineNumber(Nt.lineNumber)}let Oe;Oe=de.unit===3?ee.cursorConfig.pageSize*de.value:de.unit===4?Math.round(ee.cursorConfig.pageSize/2)*de.value:de.value;let $e=(de.direction===1?-1:1)*Oe;return ee.getScrollTop()+$e*ee.cursorConfig.lineHeight}}Y.EditorScrollImpl=G,Y.EditorScroll=Object(D.l)(new G),Y.ScrollLineUp=Object(D.l)(new class extends l{constructor(){super({id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(A,ee){Y.EditorScroll._runEditorScroll(A,ee.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}),Y.ScrollPageUp=Object(D.l)(new class extends l{constructor(){super({id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(A,ee){Y.EditorScroll._runEditorScroll(A,ee.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}),Y.ScrollLineDown=Object(D.l)(new class extends l{constructor(){super({id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(A,ee){Y.EditorScroll._runEditorScroll(A,ee.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}),Y.ScrollPageDown=Object(D.l)(new class extends l{constructor(){super({id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(A,ee){Y.EditorScroll._runEditorScroll(A,ee.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}});class z extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,[C.b.word(ee,ee.getPrimaryCursorState(),this._inSelectionMode,de.position)]),ee.revealPrimaryCursor(de.source,!0)}}Y.WordSelect=Object(D.l)(new z({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),Y.WordSelectDrag=Object(D.l)(new z({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),Y.LastCursorWordSelect=Object(D.l)(new class extends l{constructor(){super({id:"lastCursorWordSelect",precondition:void 0})}runCoreEditorCommand(A,ee){let de=A.getLastAddedCursorIndex(),Oe=A.getCursorStates(),$e=Oe.slice(0),pt=Oe[de];$e[de]=C.b.word(A,pt,pt.modelState.hasSelection(),ee.position),A.model.pushStackElement(),A.setCursorStates(ee.source,3,$e)}});class J extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){ee.model.pushStackElement(),ee.setCursorStates(de.source,3,[C.b.line(ee,ee.getPrimaryCursorState(),this._inSelectionMode,de.position,de.viewPosition)]),ee.revealPrimaryCursor(de.source,!1)}}Y.LineSelect=Object(D.l)(new J({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),Y.LineSelectDrag=Object(D.l)(new J({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));class Se extends l{constructor(ee){super(ee),this._inSelectionMode=ee.inSelectionMode}runCoreEditorCommand(ee,de){let Oe=ee.getLastAddedCursorIndex(),$e=ee.getCursorStates(),pt=$e.slice(0);pt[Oe]=C.b.line(ee,$e[Oe],this._inSelectionMode,de.position,de.viewPosition),ee.model.pushStackElement(),ee.setCursorStates(de.source,3,pt)}}Y.LastCursorLineSelect=Object(D.l)(new Se({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),Y.LastCursorLineSelectDrag=Object(D.l)(new Se({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),Y.ExpandLineSelection=Object(D.l)(new class extends l{constructor(){super({id:"expandLineSelection",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:2090}})}runCoreEditorCommand(A,ee){A.model.pushStackElement(),A.setCursorStates(ee.source,3,C.b.expandLineSelection(A,A.getCursorStates())),A.revealPrimaryCursor(ee.source,!0)}}),Y.CancelSelection=Object(D.l)(new class extends l{constructor(){super({id:"cancelSelection",precondition:P.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(A,ee){A.model.pushStackElement(),A.setCursorStates(ee.source,3,[C.b.cancelSelection(A,A.getPrimaryCursorState())]),A.revealPrimaryCursor(ee.source,!0)}}),Y.RemoveSecondaryCursors=Object(D.l)(new class extends l{constructor(){super({id:"removeSecondaryCursors",precondition:P.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:P.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(A,ee){A.model.pushStackElement(),A.setCursorStates(ee.source,3,[A.getPrimaryCursorState()]),A.revealPrimaryCursor(ee.source,!0)}}),Y.RevealLine=Object(D.l)(new class extends l{constructor(){super({id:"revealLine",precondition:void 0,description:b.description})}runCoreEditorCommand(A,ee){let de=ee,Oe=(de.lineNumber||0)+1;Oe<1&&(Oe=1);let $e=A.model.getLineCount();Oe>$e&&(Oe=$e);let pt=new W.a(Oe,1,Oe,A.model.getLineMaxColumn(Oe)),it=0;if(de.at)switch(de.at){case b.RawAtArgument.Top:it=3;break;case b.RawAtArgument.Center:it=1;break;case b.RawAtArgument.Bottom:it=4}let At=A.coordinatesConverter.convertModelRangeToViewRange(pt);A.revealRange(ee.source,!1,At,it,0)}}),Y.SelectAll=new class extends ie{constructor(){super(D.h)}runDOMCommand(){document.execCommand("selectAll")}runEditorCommand(A,ee,de){let Oe=ee._getViewModel();Oe&&this.runCoreEditorCommand(Oe,de)}runCoreEditorCommand(A,ee){A.model.pushStackElement(),A.setCursorStates("keyboard",3,[C.b.selectAll(A,A.getPrimaryCursorState())])}},Y.SetSelection=Object(D.l)(new class extends l{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(A,ee){A.model.pushStackElement(),A.setCursorStates(ee.source,3,[E.d.fromModelSelection(ee.selection)])}})})(j||(j={}));let U=V.a.and(P.a.textInputFocus,P.a.columnSelection);function q(Y,Z){k.a.registerKeybindingRule({id:Y,primary:Z,when:U,weight:1})}function B(Y){return Y.register(),Y}var se;q(j.CursorColumnSelectLeft.id,1039),q(j.CursorColumnSelectRight.id,1041),q(j.CursorColumnSelectUp.id,1040),q(j.CursorColumnSelectPageUp.id,1035),q(j.CursorColumnSelectDown.id,1042),q(j.CursorColumnSelectPageDown.id,1036),function(Y){class Z extends D.c{runEditorCommand(he,Ce,Ae){let L=Ce._getViewModel();L&&this.runCoreEditingCommand(Ce,L,Ae||{})}}Y.CoreEditingCommand=Z,Y.LineBreakInsert=Object(D.l)(new class extends Z{constructor(){super({id:"lineBreakInsert",precondition:P.a.writable,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(te,he,Ce){te.pushUndoStop(),te.executeCommands(this.id,S.a.lineBreakInsert(he.cursorConfig,he.model,he.getCursorStates().map(Ae=>Ae.modelState.selection)))}}),Y.Outdent=Object(D.l)(new class extends Z{constructor(){super({id:"outdent",precondition:P.a.writable,kbOpts:{weight:0,kbExpr:V.a.and(P.a.editorTextFocus,P.a.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(te,he,Ce){te.pushUndoStop(),te.executeCommands(this.id,S.a.outdent(he.cursorConfig,he.model,he.getCursorStates().map(Ae=>Ae.modelState.selection))),te.pushUndoStop()}}),Y.Tab=Object(D.l)(new class extends Z{constructor(){super({id:"tab",precondition:P.a.writable,kbOpts:{weight:0,kbExpr:V.a.and(P.a.editorTextFocus,P.a.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(te,he,Ce){te.pushUndoStop(),te.executeCommands(this.id,S.a.tab(he.cursorConfig,he.model,he.getCursorStates().map(Ae=>Ae.modelState.selection))),te.pushUndoStop()}}),Y.DeleteLeft=Object(D.l)(new class extends Z{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(te,he,Ce){let[Ae,L]=y.a.deleteLeft(he.getPrevEditOperationType(),he.cursorConfig,he.model,he.getCursorStates().map(nt=>nt.modelState.selection));Ae&&te.pushUndoStop(),te.executeCommands(this.id,L),he.setPrevEditOperationType(2)}}),Y.DeleteRight=Object(D.l)(new class extends Z{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:P.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(te,he,Ce){let[Ae,L]=y.a.deleteRight(he.getPrevEditOperationType(),he.cursorConfig,he.model,he.getCursorStates().map(nt=>nt.modelState.selection));Ae&&te.pushUndoStop(),te.executeCommands(this.id,L),he.setPrevEditOperationType(3)}}),Y.Undo=new class extends ie{constructor(){super(D.i)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(te,he,Ce){he.hasModel()&&he.getOption(72)!==!0&&he.getModel().undo()}},Y.Redo=new class extends ie{constructor(){super(D.g)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(te,he,Ce){he.hasModel()&&he.getOption(72)!==!0&&he.getModel().redo()}}}(se||(se={}));class ke extends D.a{constructor(Z,te,he){super({id:Z,precondition:void 0,description:he}),this._handlerId=te}runCommand(Z,te){let he=Z.get(H.a).getFocusedCodeEditor();he&&he.trigger("keyboard",this._handlerId,te)}}function xe(Y,Z){B(new ke("default:"+Y,Y)),B(new ke(Y,Y,Z))}xe("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),xe("replacePreviousChar"),xe("compositionStart"),xe("compositionEnd"),xe("paste"),xe("cut")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Ll}),o.d(w,"b",function(){return Fr}),o.d(w,"c",function(){return vs}),o.d(w,"d",function(){return Ps}),o.d(w,"g",function(){return Qd}),o.d(w,"h",function(){return Jd}),o.d(w,"i",function(){return eh}),o.d(w,"j",function(){return ic}),o.d(w,"e",function(){return th}),o.d(w,"f",function(){return ih}),o.d(w,"l",function(){return nh}),o.d(w,"k",function(){return oh}),o.d(w,"m",function(){return rh}),o.d(w,"n",function(){return ma});var h,f=o(26),D=o(100),H=(o(200),o(41)),E=o(1),ge=o(53),W=o(178),Q=o(45),y=o(51),C=o(23),S=o(27),P=o(79);(function(me){me[me.API=0]="API",me[me.USER=1]="USER"})(h||(h={}));var V=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},k=function(me,s){return function(v,M){s(v,M,me)}},l=function(me,s,v,M){return new(v||(v=Promise))(function(be,Ne){function De(It){try{mt(M.next(It))}catch(Qt){Ne(Qt)}}function je(It){try{mt(M.throw(It))}catch(Qt){Ne(Qt)}}function mt(It){var Qt;It.done?be(It.value):(Qt=It.value,Qt instanceof v?Qt:new v(function(Oi){Oi(Qt)})).then(De,je)}mt((M=M.apply(me,s||[])).next())})};let T=class{constructor(me){this._commandService=me}open(me){return l(this,void 0,void 0,function*(){if(!Object(P.c)(me,Q.b.command))return!1;typeof me=="string"&&(me=C.a.parse(me));let s=[];try{s=Object(W.a)(decodeURIComponent(me.query))}catch(v){try{s=Object(W.a)(me.query)}catch(M){}}return Array.isArray(s)||(s=[s]),yield this._commandService.executeCommand(me.path,...s),!0})}};T=V([k(0,S.b)],T);let N=class{constructor(me){this._editorService=me}open(me,s){return l(this,void 0,void 0,function*(){typeof me=="string"&&(me=C.a.parse(me));let v,M=/^L?(\d+)(?:,(\d+))?/.exec(me.fragment);return M&&(v={startLineNumber:parseInt(M[1]),startColumn:M[2]?parseInt(M[2]):1},me=me.with({fragment:""})),me.scheme===Q.b.file&&(me=Object(y.h)(me)),yield this._editorService.openCodeEditor({resource:me,options:{selection:v,context:(s==null?void 0:s.fromUserGesture)?h.USER:h.API}},this._editorService.getFocusedCodeEditor(),s==null?void 0:s.openToSide),!0})}};N=V([k(0,H.a)],N);let b=class{constructor(me,s){this._openers=new ge.a,this._validators=new ge.a,this._resolvers=new ge.a,this._externalOpener={openExternal:v=>(Object(P.c)(v,Q.b.http)||Object(P.c)(v,Q.b.https)?E.cb(v):window.location.href=v,Promise.resolve(!0))},this._openers.push({open:(v,M)=>l(this,void 0,void 0,function*(){return!!((M==null?void 0:M.openExternal)||Object(P.c)(v,Q.b.mailto)||Object(P.c)(v,Q.b.http)||Object(P.c)(v,Q.b.https))&&(yield this._doOpenExternal(v,M),!0)})}),this._openers.push(new T(s)),this._openers.push(new N(me))}open(me,s){return l(this,void 0,void 0,function*(){for(let v of this._validators.toArray())if(!(yield v.shouldOpen(me)))return!1;for(let v of this._openers.toArray())if(yield v.open(me,s))return!0;return!1})}resolveExternalUri(me,s){return l(this,void 0,void 0,function*(){for(let v of this._resolvers.toArray()){let M=yield v.resolveExternalUri(me,s);if(M)return M}return{resolved:me,dispose:()=>{}}})}_doOpenExternal(me,s){return l(this,void 0,void 0,function*(){let v=typeof me=="string"?C.a.parse(me):me,{resolved:M}=yield this.resolveExternalUri(v,s);return typeof me=="string"&&v.toString()===M.toString()?this._externalOpener.openExternal(me):this._externalOpener.openExternal(encodeURI(M.toString(!0)))})}dispose(){this._validators.clear()}};b=V([k(0,H.a),k(1,S.b)],b);var g=o(193),j=o(160),ie=o(143),U=o(58),q=o(12),B=o(90),se=o(96),ke=o(122),xe=o(20),Y=o(2),Z=o(94),te=o(11);class he{constructor(s,v,M,be,Ne){this.id=v;let De=function(je,mt){if(te.b.MonacoEnvironment){if(typeof te.b.MonacoEnvironment.getWorker=="function")return te.b.MonacoEnvironment.getWorker(je,mt);if(typeof te.b.MonacoEnvironment.getWorkerUrl=="function")return new Worker(te.b.MonacoEnvironment.getWorkerUrl(je,mt))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",M);typeof De.then=="function"?this.worker=De:this.worker=Promise.resolve(De),this.postMessage(s,[]),this.worker.then(je=>{je.onmessage=function(mt){be(mt.data)},je.onmessageerror=Ne,typeof je.addEventListener=="function"&&je.addEventListener("error",Ne)})}getId(){return this.id}postMessage(s,v){this.worker&&this.worker.then(M=>M.postMessage(s,v))}dispose(){this.worker&&this.worker.then(s=>s.terminate()),this.worker=null}}class Ce{constructor(s){this._label=s,this._webWorkerFailedBeforeError=!1}create(s,v,M){let be=++Ce.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new he(s,be,this._label||"anonymous"+be,v,Ne=>{Object(Z.c)(Ne),this._webWorkerFailedBeforeError=Ne,M(Ne)})}}Ce.LAST_WORKER_ID=0;var Ae=o(3),L=o(39),nt=o(104),ct=o(64),Ye=o(152),ht=o(8),fe=o(15),$=o(102),G=o(158),z=o(13),J=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},Se=function(me,s){return function(v,M){s(v,M,me)}},A=function(me,s,v,M){return new(v||(v=Promise))(function(be,Ne){function De(It){try{mt(M.next(It))}catch(Qt){Ne(Qt)}}function je(It){try{mt(M.throw(It))}catch(Qt){Ne(Qt)}}function mt(It){var Qt;It.done?be(It.value):(Qt=It.value,Qt instanceof v?Qt:new v(function(Oi){Oi(Qt)})).then(De,je)}mt((M=M.apply(me,s||[])).next())})};function ee(me,s){let v=me.getModel(s);return!!v&&!v.isTooLargeForSyncing()}let de=class extends Y.a{constructor(me,s,v){super(),this._modelService=me,this._workerManager=this._register(new $e(this._modelService)),this._logService=v,this._register(q.s.register("*",{provideLinks:(M,be)=>ee(this._modelService,M.uri)?this._workerManager.withWorker().then(Ne=>Ne.computeLinks(M.uri)).then(Ne=>Ne&&{links:Ne}):Promise.resolve({links:[]})})),this._register(q.d.register("*",new Oe(this._workerManager,s,this._modelService)))}dispose(){super.dispose()}canComputeDiff(me,s){return ee(this._modelService,me)&&ee(this._modelService,s)}computeDiff(me,s,v,M){return this._workerManager.withWorker().then(be=>be.computeDiff(me,s,v,M))}computeMoreMinimalEdits(me,s){if(Object(fe.o)(s)){if(!ee(this._modelService,me))return Promise.resolve(s);let v=G.a.create(!0),M=this._workerManager.withWorker().then(be=>be.computeMoreMinimalEdits(me,s));return M.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",me.toString(!0),v.elapsed())),M}return Promise.resolve(void 0)}canNavigateValueSet(me){return ee(this._modelService,me)}navigateValueSet(me,s,v){return this._workerManager.withWorker().then(M=>M.navigateValueSet(me,s,v))}canComputeWordRanges(me){return ee(this._modelService,me)}computeWordRanges(me,s){return this._workerManager.withWorker().then(v=>v.computeWordRanges(me,s))}};de=J([Se(0,ct.a),Se(1,Ye.a),Se(2,$.b)],de);class Oe{constructor(s,v,M){this._debugDisplayName="wordbasedCompletions",this._workerManager=s,this._configurationService=v,this._modelService=M}provideCompletionItems(s,v){return A(this,void 0,void 0,function*(){let{wordBasedSuggestions:M}=this._configurationService.getValue(s.uri,v,"editor");if(!M||!ee(this._modelService,s.uri))return;let be=s.getWordAtPosition(v),Ne=be?new Ae.a(v.lineNumber,be.startColumn,v.lineNumber,be.endColumn):Ae.a.fromPositions(v),De=Ne.setEndPosition(v.lineNumber,v.column),je=yield this._workerManager.withWorker(),mt=yield je.textualSuggest(s.uri,v);return mt?{suggestions:mt.map(It=>({kind:18,label:It,insertText:It,range:{insert:De,replace:Ne}}))}:void 0})}}class $e extends Y.a{constructor(s){super(),this._modelService=s,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new xe.c).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(v=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){!this._editorWorkerClient||this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){!this._editorWorkerClient||new Date().getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new Nt(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class pt extends Y.a{constructor(s,v,M){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=s,this._modelService=v,!M){let be=new xe.c;be.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(be)}}dispose(){for(let s in this._syncedModels)Object(Y.f)(this._syncedModels[s]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(s){for(let v of s){let M=v.toString();this._syncedModels[M]||this._beginModelSync(v),this._syncedModels[M]&&(this._syncedModelsLastUsedTime[M]=new Date().getTime())}}_checkStopModelSync(){let s=new Date().getTime(),v=[];for(let M in this._syncedModelsLastUsedTime)s-this._syncedModelsLastUsedTime[M]>6e4&&v.push(M);for(let M of v)this._stopModelSync(M)}_beginModelSync(s){let v=this._modelService.getModel(s);if(!v||v.isTooLargeForSyncing())return;let M=s.toString();this._proxy.acceptNewModel({url:v.uri.toString(),lines:v.getLinesContent(),EOL:v.getEOL(),versionId:v.getVersionId()});let be=new Y.b;be.add(v.onDidChangeContent(Ne=>{this._proxy.acceptModelChanged(M.toString(),Ne)})),be.add(v.onWillDispose(()=>{this._stopModelSync(M)})),be.add(Object(Y.h)(()=>{this._proxy.acceptRemovedModel(M)})),this._syncedModels[M]=be}_stopModelSync(s){let v=this._syncedModels[s];delete this._syncedModels[s],delete this._syncedModelsLastUsedTime[s],Object(Y.f)(v)}}class it{constructor(s){this._instance=s,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class At{constructor(s){this._workerClient=s}fhr(s,v){return this._workerClient.fhr(s,v)}}class Nt extends Y.a{constructor(s,v,M){super(),this._disposed=!1,this._modelService=s,this._keepIdleModels=v,this._workerFactory=new Ce(M),this._worker=null,this._modelManager=null}fhr(s,v){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new Z.a(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new At(this)))}catch(s){Object(Z.c)(s),this._worker=new it(new nt.a(new At(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,s=>(Object(Z.c)(s),this._worker=new it(new nt.a(new At(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(s){return this._modelManager||(this._modelManager=this._register(new pt(s,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(s){return this._disposed?Promise.reject(Object(z.a)()):this._getProxy().then(v=>(this._getOrCreateModelManager(v).ensureSyncedResources(s),v))}computeDiff(s,v,M,be){return this._withSyncedResources([s,v]).then(Ne=>Ne.computeDiff(s.toString(),v.toString(),M,be))}computeMoreMinimalEdits(s,v){return this._withSyncedResources([s]).then(M=>M.computeMoreMinimalEdits(s.toString(),v))}computeLinks(s){return this._withSyncedResources([s]).then(v=>v.computeLinks(s.toString()))}textualSuggest(s,v){return this._withSyncedResources([s]).then(M=>{let be=this._modelService.getModel(s);if(!be)return null;let Ne=L.a.getWordDefinition(be.getLanguageIdentifier().id),De=Ne.source,je=Object(ht.O)(Ne);return M.textualSuggest(s.toString(),v,De,je)})}computeWordRanges(s,v){return this._withSyncedResources([s]).then(M=>{let be=this._modelService.getModel(s);if(!be)return Promise.resolve(null);let Ne=L.a.getWordDefinition(be.getLanguageIdentifier().id),De=Ne.source,je=Object(ht.O)(Ne);return M.computeWordRanges(s.toString(),v,De,je)})}navigateValueSet(s,v,M){return this._withSyncedResources([s]).then(be=>{let Ne=this._modelService.getModel(s);if(!Ne)return null;let De=L.a.getWordDefinition(Ne.getLanguageIdentifier().id),je=De.source,mt=Object(ht.O)(De);return be.navigateValueSet(s.toString(),v,M,je,mt)})}dispose(){super.dispose(),this._disposed=!0}}var _i=o(14);class wt extends Nt{constructor(s,v){super(s,v.keepIdleModels||!1,v.label),this._foreignModuleId=v.moduleId,this._foreignModuleCreateData=v.createData||null,this._foreignModuleHost=v.host||null,this._foreignProxy=null}fhr(s,v){if(!this._foreignModuleHost||typeof this._foreignModuleHost[s]!="function")return Promise.reject(new Error("Missing method "+s+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[s].apply(this._foreignModuleHost,v))}catch(M){return Promise.reject(M)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(s=>{let v=this._foreignModuleHost?_i.d(this._foreignModuleHost):[];return s.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,v).then(M=>{this._foreignModuleCreateData=null;let be=(je,mt)=>s.fmr(je,mt),Ne=(je,mt)=>function(){let It=Array.prototype.slice.call(arguments,0);return mt(je,It)},De={};for(let je of M)De[je]=Ne(je,be);return De})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(s){return this._withSyncedResources(s).then(v=>this.getProxy())}}var Ni=o(40),pi=o(111),et=o(91),Wt=o(74),Li=o(77);function Ii(me){return!function(s){return Array.isArray(s)}(me)}function Ai(me){return typeof me=="string"}function Zi(me){return!Ai(me)}function Bi(me){return!me}function Lt(me,s){return me.ignoreCase&&s?s.toLowerCase():s}function Di(me){return me.replace(/[&<>'"_]/g,"-")}function gt(me,s){return new Error(`${me.languageId}: ${s}`)}function vi(me,s,v,M,be){let Ne=null;return s.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(De,je,mt,It,Qt,Oi,en,tn,kn){return Bi(mt)?Bi(It)?!Bi(Qt)&&Qt<M.length?Lt(me,M[Qt]):!Bi(en)&&me&&typeof me[en]=="string"?me[en]:(Ne===null&&(Ne=be.split("."),Ne.unshift(be)),!Bi(Oi)&&Oi<Ne.length?Lt(me,Ne[Oi]):""):Lt(me,v):"$"})}function Rt(me,s){let v=s;for(;v&&v.length>0;){let M=me.tokenizer[v];if(M)return M;let be=v.lastIndexOf(".");v=be<0?null:v.substr(0,be)}return null}class vt{constructor(s){this._maxCacheDepth=s,this._entries=Object.create(null)}static create(s,v){return this._INSTANCE.create(s,v)}create(s,v){if(s!==null&&s.depth>=this._maxCacheDepth)return new Ue(s,v);let M=Ue.getStackElementId(s);M.length>0&&(M+="|"),M+=v;let be=this._entries[M];return be||(be=new Ue(s,v),this._entries[M]=be,be)}}vt._INSTANCE=new vt(5);class Ue{constructor(s,v){this.parent=s,this.state=v,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(s){let v="";for(;s!==null;)v.length>0&&(v+="|"),v+=s.state,s=s.parent;return v}static _equals(s,v){for(;s!==null&&v!==null;){if(s===v)return!0;if(s.state!==v.state)return!1;s=s.parent,v=v.parent}return s===null&&v===null}equals(s){return Ue._equals(this,s)}push(s){return vt.create(this,s)}pop(){return this.parent}popall(){let s=this;for(;s.parent;)s=s.parent;return s}switchTo(s){return vt.create(this.parent,s)}}class ut{constructor(s,v){this.modeId=s,this.state=v}equals(s){return this.modeId===s.modeId&&this.state.equals(s.state)}clone(){return this.state.clone()===this.state?this:new ut(this.modeId,this.state)}}class ze{constructor(s){this._maxCacheDepth=s,this._entries=Object.create(null)}static create(s,v){return this._INSTANCE.create(s,v)}create(s,v){if(v!==null)return new st(s,v);if(s!==null&&s.depth>=this._maxCacheDepth)return new st(s,v);let M=Ue.getStackElementId(s),be=this._entries[M];return be||(be=new st(s,null),this._entries[M]=be,be)}}ze._INSTANCE=new ze(5);class st{constructor(s,v){this.stack=s,this.embeddedModeData=v}clone(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:ze.create(this.stack,this.embeddedModeData)}equals(s){return s instanceof st&&!!this.stack.equals(s.stack)&&(this.embeddedModeData===null&&s.embeddedModeData===null||this.embeddedModeData!==null&&s.embeddedModeData!==null&&this.embeddedModeData.equals(s.embeddedModeData))}}class _t{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(s,v){this._language=v}emit(s,v){this._lastTokenType===v&&this._lastTokenLanguage===this._language||(this._lastTokenType=v,this._lastTokenLanguage=this._language,this._tokens.push(new Li.a(s,v,this._language)))}nestedModeTokenize(s,v,M){let be=v.modeId,Ne=v.state,De=q.C.get(be);if(!De)return this.enterMode(M,be),this.emit(M,""),Ne;let je=De.tokenize(s,Ne,M);return this._tokens=this._tokens.concat(je.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,je.endState}finalize(s){return new Li.b(this._tokens,s)}}class oi{constructor(s,v){this._modeService=s,this._theme=v,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(s,v){this._currentLanguageId=this._modeService.getLanguageIdentifier(v).id}emit(s,v){let M=this._theme.match(this._currentLanguageId,v);this._lastTokenMetadata!==M&&(this._lastTokenMetadata=M,this._tokens.push(s),this._tokens.push(M))}static _merge(s,v,M){let be=s!==null?s.length:0,Ne=v.length,De=M!==null?M.length:0;if(be===0&&Ne===0&&De===0)return new Uint32Array(0);if(be===0&&Ne===0)return M;if(Ne===0&&De===0)return s;let je=new Uint32Array(be+Ne+De);s!==null&&je.set(s);for(let mt=0;mt<Ne;mt++)je[be+mt]=v[mt];return M!==null&&je.set(M,be+Ne),je}nestedModeTokenize(s,v,M){let be=v.modeId,Ne=v.state,De=q.C.get(be);if(!De)return this.enterMode(M,be),this.emit(M,""),Ne;let je=De.tokenize2(s,Ne,M);return this._prependTokens=oi._merge(this._prependTokens,this._tokens,je.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,je.endState}finalize(s){return new Li.c(oi._merge(this._prependTokens,this._tokens,null),s)}}class li{constructor(s,v,M,be){this._modeService=s,this._standaloneThemeService=v,this._modeId=M,this._lexer=be,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let Ne=!1;this._tokenizationRegistryListener=q.C.onDidChange(De=>{if(Ne)return;let je=!1;for(let mt=0,It=De.changedLanguages.length;mt<It;mt++){let Qt=De.changedLanguages[mt];if(this._embeddedModes[Qt]){je=!0;break}}je&&(Ne=!0,q.C.fire([this._modeId]),Ne=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let s=[];for(let v in this._embeddedModes){let M=q.C.get(v);if(M){if(M instanceof li){let Ne=M.getLoadStatus();Ne.loaded===!1&&s.push(Ne.promise)}continue}let be=q.C.getPromise(v);be&&s.push(be)}return s.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(s).then(v=>{})}}getInitialState(){let s=vt.create(null,this._lexer.start);return ze.create(s,null)}tokenize(s,v,M){let be=new _t,Ne=this._tokenize(s,v,M,be);return be.finalize(Ne)}tokenize2(s,v,M){let be=new oi(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme),Ne=this._tokenize(s,v,M,be);return be.finalize(Ne)}_tokenize(s,v,M,be){return v.embeddedModeData?this._nestedTokenize(s,v,M,be):this._myTokenize(s,v,M,be)}_findLeavingNestedModeOffset(s,v){let M=this._lexer.tokenizer[v.stack.state];if(!M&&(M=Rt(this._lexer,v.stack.state),!M))throw gt(this._lexer,"tokenizer state is not defined: "+v.stack.state);let be=-1,Ne=!1;for(let De of M){if(!Zi(De.action)||De.action.nextEmbedded!=="@pop")continue;Ne=!0;let je=De.regex,mt=De.regex.source;if(mt.substr(0,4)==="^(?:"&&mt.substr(mt.length-1,1)===")"){let Qt=(je.ignoreCase?"i":"")+(je.unicode?"u":"");je=new RegExp(mt.substr(4,mt.length-5),Qt)}let It=s.search(je);It===-1||It!==0&&De.matchOnlyAtLineStart||(be===-1||It<be)&&(be=It)}if(!Ne)throw gt(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+v.stack.state);return be}_nestedTokenize(s,v,M,be){let Ne=this._findLeavingNestedModeOffset(s,v);if(Ne===-1){let mt=be.nestedModeTokenize(s,v.embeddedModeData,M);return ze.create(v.stack,new ut(v.embeddedModeData.modeId,mt))}let De=s.substring(0,Ne);De.length>0&&be.nestedModeTokenize(De,v.embeddedModeData,M);let je=s.substring(Ne);return this._myTokenize(je,v,M+Ne,be)}_safeRuleName(s){return s?s.name:"(unknown)"}_myTokenize(s,v,M,be){be.enterMode(M,this._modeId);let Ne=s.length,De=v.embeddedModeData,je=v.stack,mt=0,It=null,Qt=!0;for(;Qt||mt<Ne;){let tn=mt,kn=je.depth,no=It?It.groups.length:0,lo=je.state,uo=null,oo=null,io=null,mr=null,Fa=null;if(It){uo=It.matches;let go=It.groups.shift();oo=go.matched,io=go.action,mr=It.rule,It.groups.length===0&&(It=null)}else{if(!Qt&&mt>=Ne)break;Qt=!1;let go=this._lexer.tokenizer[lo];if(!go&&(go=Rt(this._lexer,lo),!go))throw gt(this._lexer,"tokenizer state is not defined: "+lo);let Zn=s.substr(mt);for(let Zo of go)if((mt===0||!Zo.matchOnlyAtLineStart)&&(uo=Zn.match(Zo.regex),uo)){oo=uo[0],io=Zo.action;break}}if(uo||(uo=[""],oo=""),io||(mt<Ne&&(uo=[s.charAt(mt)],oo=uo[0]),io=this._lexer.defaultToken),oo===null)break;for(mt+=oo.length;Ii(io)&&Zi(io)&&io.test;)io=io.test(oo,uo,lo,mt===Ne);let Yo=null;if(typeof io=="string"||Array.isArray(io))Yo=io;else if(io.group)Yo=io.group;else if(io.token!==null&&io.token!==void 0){if(Yo=io.tokenSubst?vi(this._lexer,io.token,oo,uo,lo):io.token,io.nextEmbedded)if(io.nextEmbedded==="@pop"){if(!De)throw gt(this._lexer,"cannot pop embedded mode if not inside one");De=null}else{if(De)throw gt(this._lexer,"cannot enter embedded mode from within an embedded mode");Fa=vi(this._lexer,io.nextEmbedded,oo,uo,lo)}if(io.goBack&&(mt=Math.max(0,mt-io.goBack)),io.switchTo&&typeof io.switchTo=="string"){let go=vi(this._lexer,io.switchTo,oo,uo,lo);if(go[0]==="@"&&(go=go.substr(1)),!Rt(this._lexer,go))throw gt(this._lexer,"trying to switch to a state '"+go+"' that is undefined in rule: "+this._safeRuleName(mr));je=je.switchTo(go)}else{if(io.transform&&typeof io.transform=="function")throw gt(this._lexer,"action.transform not supported");if(io.next)if(io.next==="@push"){if(je.depth>=this._lexer.maxStack)throw gt(this._lexer,"maximum tokenizer stack size reached: ["+je.state+","+je.parent.state+",...]");je=je.push(lo)}else if(io.next==="@pop"){if(je.depth<=1)throw gt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(mr));je=je.pop()}else if(io.next==="@popall")je=je.popall();else{let go=vi(this._lexer,io.next,oo,uo,lo);if(go[0]==="@"&&(go=go.substr(1)),!Rt(this._lexer,go))throw gt(this._lexer,"trying to set a next state '"+go+"' that is undefined in rule: "+this._safeRuleName(mr));je=je.push(go)}}io.log&&typeof io.log=="string"&&(Oi=this._lexer,en=this._lexer.languageId+": "+vi(this._lexer,io.log,oo,uo,lo),console.log(`${Oi.languageId}: ${en}`))}if(Yo===null)throw gt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(mr));let Er=go=>{let Zn=this._modeService.getModeIdForLanguageName(go);Zn&&(go=Zn);let Zo=this._getNestedEmbeddedModeData(go);if(mt<Ne){let ws=s.substr(mt);return this._nestedTokenize(ws,ze.create(je,Zo),M+mt,be)}return ze.create(je,Zo)};if(Array.isArray(Yo)){if(It&&It.groups.length>0)throw gt(this._lexer,"groups cannot be nested: "+this._safeRuleName(mr));if(uo.length!==Yo.length+1)throw gt(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(mr));let go=0;for(let Zn=1;Zn<uo.length;Zn++)go+=uo[Zn].length;if(go!==oo.length)throw gt(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(mr));It={rule:mr,matches:uo,groups:[]};for(let Zn=0;Zn<Yo.length;Zn++)It.groups[Zn]={action:Yo[Zn],matched:uo[Zn+1]};mt-=oo.length}else{{if(Yo==="@rematch"&&(mt-=oo.length,oo="",uo=null,Yo="",Fa!==null))return Er(Fa);if(oo.length===0){if(Ne===0||kn!==je.depth||lo!==je.state||(It?It.groups.length:0)!==no)continue;throw gt(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(mr))}let go=null;if(Ai(Yo)&&Yo.indexOf("@brackets")===0){let Zn=Yo.substr("@brackets".length),Zo=gi(this._lexer,oo);if(!Zo)throw gt(this._lexer,"@brackets token returned but no bracket defined as: "+oo);go=Di(Zo.token+Zn)}else go=Di(Yo===""?"":Yo+this._lexer.tokenPostfix);be.emit(tn+M,go)}if(Fa!==null)return Er(Fa)}}var Oi,en;return ze.create(je,De)}_getNestedEmbeddedModeData(s){let v=this._locateMode(s);if(v){let M=q.C.get(v);if(M)return new ut(v,M.getInitialState())}return new ut(v||B.b,B.c)}_locateMode(s){if(!s||!this._modeService.isRegisteredMode(s))return null;if(s===this._modeId)return s;let v=this._modeService.getModeId(s);return v&&(this._modeService.triggerMode(v),this._embeddedModes[v]=!0),v}}function gi(me,s){if(!s)return null;s=Lt(me,s);let v=me.brackets;for(let M of v){if(M.open===s)return{token:M.token,bracketType:1};if(M.close===s)return{token:M.token,bracketType:-1}}return null}class ki{static colorizeElement(s,v,M,be){let Ne=(be=be||{}).theme||"vs",De=be.mimeType||M.getAttribute("lang")||M.getAttribute("data-lang");if(!De)return console.error("Mode not detected"),Promise.resolve();s.setTheme(Ne);let je=M.firstChild?M.firstChild.nodeValue:"";return M.className+=" "+Ne,this.colorize(v,je||"",De,be).then(mt=>{M.innerHTML=mt},mt=>console.error(mt))}static colorize(s,v,M,be){let Ne=4;be&&typeof be.tabSize=="number"&&(Ne=be.tabSize),ht.U(v)&&(v=v.substr(1));let De=v.split(/\r\n|\r|\n/),je=s.getModeId(M);if(!je)return Promise.resolve($i(De,Ne));s.triggerMode(je);let mt=q.C.get(je);if(mt)return Ri(De,Ne,mt);let It=q.C.getPromise(je);return new Promise(It?(Qt,Oi)=>{It.then(en=>{Ri(De,Ne,en).then(Qt,Oi)},Oi)}:(Qt,Oi)=>{let en=null,tn=null,kn=()=>{en&&(en.dispose(),en=null),tn&&(tn.dispose(),tn=null);let no=q.C.get(je);no?Ri(De,Ne,no).then(Qt,Oi):Qt($i(De,Ne))};tn=new xe.e,tn.cancelAndSet(kn,500),en=q.C.onDidChange(no=>{no.changedLanguages.indexOf(je)>=0&&kn()})})}static colorizeLine(s,v,M,be,Ne=4){let De=Wt.d.isBasicASCII(s,v),je=Wt.d.containsRTL(s,De,M);return Object(et.e)(new et.c(!1,!0,s,!1,De,je,0,be,[],Ne,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(s,v,M=4){let be=s.getLineContent(v);s.forceTokenization(v);let Ne=s.getLineTokens(v).inflate();return this.colorizeLine(be,s.mightContainNonBasicASCII(),s.mightContainRTL(),Ne,M)}}function Ri(me,s,v){return new Promise((M,be)=>{let Ne=()=>{let De=function(je,mt,It){let Qt=[],Oi=It.getInitialState();for(let en=0,tn=je.length;en<tn;en++){let kn=je[en],no=It.tokenize2(kn,Oi,0);pi.a.convertToEndOffset(no.tokens,kn.length);let lo=new pi.a(no.tokens,kn),uo=Wt.d.isBasicASCII(kn,!0),oo=Wt.d.containsRTL(kn,uo,!0),io=Object(et.e)(new et.c(!1,!0,kn,!1,uo,oo,0,lo.inflate(),[],mt,0,0,0,0,-1,"none",!1,!1,null));Qt=Qt.concat(io.html),Qt.push("<br/>"),Oi=no.endState}return Qt.join("")}(me,s,v);if(v instanceof li){let je=v.getLoadStatus();if(je.loaded===!1)return void je.promise.then(Ne,be)}M(De)};Ne()})}function $i(me,s){let v=[],M=new Uint32Array(2);M[0]=0,M[1]=16793600;for(let be=0,Ne=me.length;be<Ne;be++){let De=me[be];M[0]=De.length;let je=new pi.a(M,De),mt=Wt.d.isBasicASCII(De,!0),It=Wt.d.containsRTL(De,mt,!0),Qt=Object(et.e)(new et.c(!1,!0,De,!1,mt,It,0,je,[],s,0,0,0,0,-1,"none",!1,!1,null));v=v.concat(Qt.html),v.push("<br/>")}return v.join("")}var Hi=o(67),yi=o(6),kt=o(43),Et=o(68),si=o(112),Si=o(148),Pi=o(161),Wi=o(70),xn=o(9),un=o(54),bn=o(78),Fn=o(46),Mn=o(128);class Nn{constructor(s={},v=[],M=[]){this._contents=s,this._keys=v,this._overrides=M,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(s){return s?Object(un.d)(this.contents,s):this.contents}override(s){let v=this.getContentsForOverrideIdentifer(s);if(!v||typeof v!="object"||!Object.keys(v).length)return this;let M={};for(let be of fe.e([...Object.keys(this.contents),...Object.keys(v)])){let Ne=this.contents[be],De=v[be];De&&(typeof Ne=="object"&&typeof De=="object"?(Ne=Fn.c(Ne),this.mergeContents(Ne,De)):Ne=De),M[be]=Ne}return new Nn(M,this.keys,this.overrides)}merge(...s){let v=Fn.c(this.contents),M=Fn.c(this.overrides),be=[...this.keys];for(let Ne of s){this.mergeContents(v,Ne.contents);for(let De of Ne.overrides){let[je]=M.filter(mt=>fe.g(mt.identifiers,De.identifiers));je?this.mergeContents(je.contents,De.contents):M.push(Fn.c(De))}for(let De of Ne.keys)be.indexOf(De)===-1&&be.push(De)}return new Nn(v,be,M)}freeze(){return this.isFrozen=!0,this}mergeContents(s,v){for(let M of Object.keys(v))M in s&&_i.i(s[M])&&_i.i(v[M])?this.mergeContents(s[M],v[M]):s[M]=Fn.c(v[M])}checkAndFreeze(s){return this.isFrozen&&!Object.isFrozen(s)?Fn.d(s):s}getContentsForOverrideIdentifer(s){for(let v of this.overrides)if(v.identifiers.indexOf(s)!==-1)return v.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(s,v){this.addKey(s),Object(un.b)(this.contents,s,v,M=>{throw new Error(M)})}removeValue(s){this.removeKey(s)&&Object(un.f)(this.contents,s)}addKey(s){let v=this.keys.length;for(let M=0;M<v;M++)s.indexOf(this.keys[M])===0&&(v=M);this.keys.splice(v,1,s)}removeKey(s){let v=this.keys.indexOf(s);return v!==-1&&(this.keys.splice(v,1),!0)}}class Hn extends Nn{constructor(){let s=Object(un.e)(),v=Object(un.c)(),M=[];for(let be of Object.keys(s))Mn.b.test(be)&&M.push({identifiers:[Object(Mn.c)(be).trim()],keys:Object.keys(s[be]),contents:Object(un.g)(s[be],Ne=>console.error("Conflict in default settings file: "+Ne))});super(s,v,M)}}class Jn{constructor(s,v,M=new Nn,be=new Nn,Ne=new bn.b,De=new Nn,je=new bn.b,mt=!0){this._defaultConfiguration=s,this._localUserConfiguration=v,this._remoteUserConfiguration=M,this._workspaceConfiguration=be,this._folderConfigurations=Ne,this._memoryConfiguration=De,this._memoryConfigurationByResource=je,this._freeze=mt,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new bn.b,this._userConfiguration=null}getValue(s,v,M){return this.getConsolidateConfigurationModel(v,M).getValue(s)}updateValue(s,v,M={}){let be;M.resource?(be=this._memoryConfigurationByResource.get(M.resource),be||(be=new Nn,this._memoryConfigurationByResource.set(M.resource,be))):be=this._memoryConfiguration,v===void 0?be.removeValue(s):be.setValue(s,v),M.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(s,v){let M=this.getConsolidatedConfigurationModelForResource(s,v);return s.overrideIdentifier?M.override(s.overrideIdentifier):M}getConsolidatedConfigurationModelForResource({resource:s},v){let M=this.getWorkspaceConsolidatedConfiguration();if(v&&s){let be=v.getFolder(s);be&&(M=this.getFolderConsolidatedConfiguration(be.uri)||M);let Ne=this._memoryConfigurationByResource.get(s);Ne&&(M=M.merge(Ne))}return M}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(s){let v=this._foldersConsolidatedConfigurations.get(s);if(!v){let M=this.getWorkspaceConsolidatedConfiguration(),be=this._folderConfigurations.get(s);be?(v=M.merge(be),this._freeze&&(v=v.freeze()),this._foldersConsolidatedConfigurations.set(s,v)):v=M}return v}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((s,v)=>{let{contents:M,overrides:be,keys:Ne}=this._folderConfigurations.get(v);return s.push([v,{contents:M,overrides:be,keys:Ne}]),s},[])}}static parse(s){let v=this.parseConfigurationModel(s.defaults),M=this.parseConfigurationModel(s.user),be=this.parseConfigurationModel(s.workspace),Ne=s.folders.reduce((De,je)=>(De.set(C.a.revive(je[0]),this.parseConfigurationModel(je[1])),De),new bn.b);return new Jn(v,M,new Nn,be,Ne,new Nn,new bn.b,!1)}static parseConfigurationModel(s){return new Nn(s.contents,s.keys,s.overrides).freeze()}}class _o{constructor(s,v,M,be){this.change=s,this.previous=v,this.currentConfiguraiton=M,this.currentWorkspace=be,this._previousConfiguration=void 0;let Ne=new Set;s.keys.forEach(je=>Ne.add(je)),s.overrides.forEach(([,je])=>je.forEach(mt=>Ne.add(mt))),this.affectedKeys=[...Ne.values()];let De=new Nn;this.affectedKeys.forEach(je=>De.setValue(je,{})),this.affectedKeysTree=De.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=Jn.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(s,v){var M;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,s)){if(v){let be=this.previousConfiguration?this.previousConfiguration.getValue(s,v,(M=this.previous)===null||M===void 0?void 0:M.workspace):void 0,Ne=this.currentConfiguraiton.getValue(s,v,this.currentWorkspace);return!Fn.e(be,Ne)}return!0}return!1}doesAffectedKeysTreeContains(s,v){let M,be=Object(un.g)({[v]:!0},()=>{});for(;typeof be=="object"&&(M=Object.keys(be)[0]);){if(!(s=s[M]))return!1;be=be[M]}return!0}}var pn=o(0);class Gn extends Y.a{constructor(s,v,M,be,Ne){super(),this._contextKeyService=s,this._commandService=v,this._telemetryService=M,this._notificationService=be,this._logService=Ne,this._onDidUpdateKeybindings=this._register(new yi.a),this._currentChord=null,this._currentChordChecker=new xe.c,this._currentChordStatusMessage=null,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:yi.b.None}dispose(){super.dispose()}_log(s){this._logging&&this._logService.info("[KeybindingService]: "+s)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybindings(s){return fe.d(this._getResolver().lookupKeybindings(s).map(v=>v.resolvedKeybinding))}lookupKeybinding(s){let v=this._getResolver().lookupPrimaryKeybinding(s);if(v)return v.resolvedKeybinding}dispatchEvent(s,v){return this._dispatch(s,v)}softDispatch(s,v){let M=this.resolveKeyboardEvent(s);if(M.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;let[be]=M.getDispatchParts();if(be===null)return null;let Ne=this._contextKeyService.getContext(v),De=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(Ne,De,be)}_enterChordMode(s,v){this._currentChord={keypress:s,label:v},this._currentChordStatusMessage=this._notificationService.status(pn.a("first.chord","({0}) was pressed. Waiting for second key of chord...",v));let M=Date.now();this._currentChordChecker.cancelAndSet(()=>{this._documentHasFocus()?Date.now()-M>5e3&&this._leaveChordMode():this._leaveChordMode()},500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(s,v){return this._doDispatch(this.resolveKeyboardEvent(s),v)}_doDispatch(s,v){let M=!1;if(s.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;let[be]=s.getDispatchParts();if(be===null)return this._log("\\ Keyboard event cannot be dispatched."),M;let Ne=this._contextKeyService.getContext(v),De=this._currentChord?this._currentChord.keypress:null,je=s.getLabel(),mt=this._getResolver().resolve(Ne,De,be);return this._logService.trace("KeybindingService#dispatch",je,mt==null?void 0:mt.commandId),mt&&mt.enterChord?(M=!0,this._enterChordMode(be,je),M):(this._currentChord&&(mt&&mt.commandId||(this._notificationService.status(pn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,je),{hideAfter:1e4}),M=!0)),this._leaveChordMode(),mt&&mt.commandId&&(mt.bubble||(M=!0),mt.commandArgs===void 0?this._commandService.executeCommand(mt.commandId).then(void 0,It=>this._notificationService.warn(It)):this._commandService.executeCommand(mt.commandId,mt.commandArgs).then(void 0,It=>this._notificationService.warn(It)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:mt.commandId,from:"keybinding"})),M)}mightProducePrintableCharacter(s){return!s.ctrlKey&&!s.metaKey&&(s.keyCode>=31&&s.keyCode<=56||s.keyCode>=21&&s.keyCode<=30)}}class on{constructor(s,v,M){this._log=M,this._defaultKeybindings=s,this._defaultBoundCommands=new Map;for(let be=0,Ne=s.length;be<Ne;be++){let De=s[be].command;De&&this._defaultBoundCommands.set(De,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=on.combine(s,v);for(let be=0,Ne=this._keybindings.length;be<Ne;be++){let De=this._keybindings[be];De.keypressParts.length!==0&&(De.when&&De.when.type===0||this._addKeyPress(De.keypressParts[0],De))}}static _isTargetedForRemoval(s,v,M,be,Ne){return!(s.command!==be||v&&s.keypressParts[0]!==v||M&&s.keypressParts[1]!==M||Ne&&(!s.when||!Ne.equals(s.when)))}static combine(s,v){s=s.slice(0);let M=[];for(let be of v){if(!be.command||be.command.length===0||be.command.charAt(0)!=="-"){M.push(be);continue}let Ne=be.command.substr(1),De=be.keypressParts[0],je=be.keypressParts[1],mt=be.when;for(let It=s.length-1;It>=0;It--)this._isTargetedForRemoval(s[It],De,je,Ne,mt)&&s.splice(It,1)}return s.concat(M)}_addKeyPress(s,v){let M=this._map.get(s);if(M===void 0)return this._map.set(s,[v]),void this._addToLookupMap(v);for(let be=M.length-1;be>=0;be--){let Ne=M[be];if(Ne.command===v.command)continue;let De=Ne.keypressParts.length>1,je=v.keypressParts.length>1;De&&je&&Ne.keypressParts[1]!==v.keypressParts[1]||on.whenIsEntirelyIncluded(Ne.when,v.when)&&this._removeFromLookupMap(Ne)}M.push(v),this._addToLookupMap(v)}_addToLookupMap(s){if(!s.command)return;let v=this._lookupMap.get(s.command);v===void 0?(v=[s],this._lookupMap.set(s.command,v)):v.push(s)}_removeFromLookupMap(s){if(!s.command)return;let v=this._lookupMap.get(s.command);if(v!==void 0){for(let M=0,be=v.length;M<be;M++)if(v[M]===s)return void v.splice(M,1)}}static whenIsEntirelyIncluded(s,v){return!v||!!s&&this._implies(s,v)}static _implies(s,v){let M=Ne=>Ne.type===9?Ne.expr:[Ne],be=M(s.negate()).concat(M(v));for(let Ne=0;Ne<be.length;Ne++){let De=be[Ne].negate();for(let je=Ne+1;je<be.length;je++){let mt=be[je];if(De.equals(mt))return!0}}return!1}getKeybindings(){return this._keybindings}lookupKeybindings(s){let v=this._lookupMap.get(s);if(v===void 0||v.length===0)return[];let M=[],be=0;for(let Ne=v.length-1;Ne>=0;Ne--)M[be++]=v[Ne];return M}lookupPrimaryKeybinding(s){let v=this._lookupMap.get(s);return v===void 0||v.length===0?null:v[v.length-1]}resolve(s,v,M){this._log(`| Resolving ${M}${v?" chorded from "+v:""}`);let be=null;if(v!==null){let De=this._map.get(v);if(De===void 0)return this._log("\\ No keybinding entries."),null;be=[];for(let je=0,mt=De.length;je<mt;je++){let It=De[je];It.keypressParts[1]===M&&be.push(It)}}else{let De=this._map.get(M);if(De===void 0)return this._log("\\ No keybinding entries."),null;be=De}let Ne=this._findCommand(s,be);return Ne?v===null&&Ne.keypressParts.length>1&&Ne.keypressParts[1]!==null?(this._log(`\\ From ${be.length} keybinding entries, matched chord, when: ${ho(Ne.when)}, source: ${On(Ne)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${be.length} keybinding entries, matched ${Ne.command}, when: ${ho(Ne.when)}, source: ${On(Ne)}.`),{enterChord:!1,leaveChord:Ne.keypressParts.length>1,commandId:Ne.command,commandArgs:Ne.commandArgs,bubble:Ne.bubble}):(this._log(`\\ From ${be.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(s,v){for(let M=v.length-1;M>=0;M--){let be=v[M];if(on.contextMatchesRules(s,be.when))return be}return null}static contextMatchesRules(s,v){return!v||v.evaluate(s)}}function ho(me){return me?""+me.serialize():"no when condition"}function On(me){return me.isDefault?me.extensionId?"built-in extension "+me.extensionId:"built-in":me.extensionId?"user extension "+me.extensionId:"user"}var Dn=o(92);class qt{constructor(s,v,M,be,Ne,De){this.resolvedKeybinding=s,this.keypressParts=s?function(je){let mt=[];for(let It=0,Qt=je.length;It<Qt;It++){let Oi=je[It];if(!Oi)return mt;mt.push(Oi)}return mt}(s.getDispatchParts()):[],this.bubble=!!v&&v.charCodeAt(0)===94,this.command=this.bubble?v.substr(1):v,this.commandArgs=M,this.when=be,this.isDefault=Ne,this.extensionId=De}}class I{constructor(s,v,M=v){this.modifierLabels=[null],this.modifierLabels[2]=s,this.modifierLabels[1]=v,this.modifierLabels[3]=M}toLabel(s,v,M){if(v.length===0)return null;let be=[];for(let Ne=0,De=v.length;Ne<De;Ne++){let je=v[Ne],mt=M(je);if(mt===null)return null;be[Ne]=Fe(je,mt,this.modifierLabels[s])}return be.join(" ")}}let ne=new I({ctrlKey:"\u2303",shiftKey:"\u21E7",altKey:"\u2325",metaKey:"\u2318",separator:""},{ctrlKey:pn.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:pn.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:pn.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:pn.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:pn.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:pn.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:pn.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:pn.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),_e=new I({ctrlKey:pn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:pn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:pn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:pn.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:pn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:pn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:pn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:pn.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:pn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:pn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:pn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:pn.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function Fe(me,s,v){if(s===null)return"";let M=[];return me.ctrlKey&&M.push(v.ctrlKey),me.shiftKey&&M.push(v.shiftKey),me.altKey&&M.push(v.altKey),me.metaKey&&M.push(v.metaKey),s!==""&&M.push(s),M.join(v.separator)}class Xe extends kt.c{constructor(s,v){if(super(),v.length===0)throw Object(z.b)("parts");this._os=s,this._parts=v}getLabel(){return ne.toLabel(this._os,this._parts,s=>this._getLabel(s))}getAriaLabel(){return _e.toLabel(this._os,this._parts,s=>this._getAriaLabel(s))}isChord(){return this._parts.length>1}getParts(){return this._parts.map(s=>this._getPart(s))}_getPart(s){return new kt.d(s.ctrlKey,s.shiftKey,s.altKey,s.metaKey,this._getLabel(s),this._getAriaLabel(s))}getDispatchParts(){return this._parts.map(s=>this._getDispatchPart(s))}}class ot extends Xe{constructor(s,v){super(v,s.parts)}_keyCodeToUILabel(s){if(this._os===2)switch(s){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return kt.b.toString(s)}_getLabel(s){return s.isDuplicateModifierCase()?"":this._keyCodeToUILabel(s.keyCode)}_getAriaLabel(s){return s.isDuplicateModifierCase()?"":kt.b.toString(s.keyCode)}_getDispatchPart(s){return ot.getDispatchStr(s)}static getDispatchStr(s){if(s.isModifierKey())return null;let v="";return s.ctrlKey&&(v+="ctrl+"),s.shiftKey&&(v+="shift+"),s.altKey&&(v+="alt+"),s.metaKey&&(v+="meta+"),v+=kt.b.toString(s.keyCode),v}}var Mt=o(49),Ot=o(169),Tt=o(55),Ht=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},jt=function(me,s){return function(v,M){s(v,M,me)}},Kt=function(me,s,v,M){return new(v||(v=Promise))(function(be,Ne){function De(It){try{mt(M.next(It))}catch(Qt){Ne(Qt)}}function je(It){try{mt(M.throw(It))}catch(Qt){Ne(Qt)}}function mt(It){var Qt;It.done?be(It.value):(Qt=It.value,Qt instanceof v?Qt:new v(function(Oi){Oi(Qt)})).then(De,je)}mt((M=M.apply(me,s||[])).next())})};class wi{constructor(s){this.disposed=!1,this.model=s,this._onDispose=new yi.a}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onDispose.fire()}}let Ti=class{constructor(me){this.modelService=me}setEditor(me){this.editor=me}createModelReference(me){let s=null;var v,M,be;return this.editor&&(v=this.editor,M=Ne=>this.findModel(Ne,me),be=Ne=>this.findModel(Ne.getOriginalEditor(),me)||this.findModel(Ne.getModifiedEditor(),me),s=Object(si.b)(v)?M(v):be(v)),s?Promise.resolve(new Y.c(new wi(s))):Promise.reject(new Error("Model not found"))}findModel(me,s){let v=this.modelService.getModel(s);return v&&v.uri.toString()!==s.toString()?null:v}};Ti=Ht([jt(0,ct.a)],Ti);class ft{show(){return ft.NULL_PROGRESS_RUNNER}showWhile(s,v){return Promise.resolve(void 0)}}ft.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class X{confirm(s){return this.doConfirm(s).then(v=>({confirmed:v,checkboxChecked:!1}))}doConfirm(s){let v=s.message;return s.detail&&(v=v+` -`+h.detail),Promise.resolve(window.confirm(n))}show(h,n,E,ca){return Promise.resolve({choice:0})}}class qa{info(h){return this.notify({severity:zb.a.Info,message:h})}warn(h){return this.notify({severity:zb.a.Warning,message:h})}error(h){return this.notify({severity:zb.a.Error,message:h})}notify(h){switch(h.severity){case zb.a.Error:console.error(h.message);break;case zb.a.Warning:console.warn(h.message);break;default:console.log(h.message)}return qa.NO_OP}status(h,n){return N.a.None}}qa.NO_OP=new Bb.b();class mb{constructor(h){this._onWillExecuteCommand=new xc.a(),this._onDidExecuteCommand=new xc.a(),this._instantiationService=h}executeCommand(h,...n){const E=D.a.getCommand(h);if(!E)return Promise.reject(new Error(`command '${h}' not found`));try{this._onWillExecuteCommand.fire({commandId:h,args:n});const ca=this._instantiationService.invokeFunction.apply(this._instantiationService,[E.handler,...n]);return this._onDidExecuteCommand.fire({commandId:h,args:n}),Promise.resolve(ca)}catch(ca){return Promise.reject(ca)}}}class ub extends Qd{constructor(h,n,E,ca,Ca,Ma){super(h,n,E,ca,Ca),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(P.i(Ma,P.c.KEY_DOWN,Ea=>{let eb=new Ic.a(Ea);this._dispatch(eb,eb.target)&&(eb.preventDefault(),eb.stopPropagation())}))}addDynamicKeybinding(h,n,E,ca){const Ca=Object(nb.f)(n,ma.a),Ma=new N.b();return Ca&&(this._dynamicKeybindings.push({keybinding:Ca,command:h,when:ca,weight1:1e3,weight2:0,extensionId:null}),Ma.add(Object(N.h)(()=>{for(let Ea=0;Ea<this._dynamicKeybindings.length;Ea++)if(this._dynamicKeybindings[Ea].command===h)return this._dynamicKeybindings.splice(Ea,1),void this.updateResolver({source:1})}))),Ma.add(D.a.registerCommand(h,E)),this.updateResolver({source:1}),Ma}updateResolver(h){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(h)}_getResolver(){if(!this._cachedResolver){const h=this._toNormalizedKeybindingItems(xd.a.getDefaultKeybindings(),!0),n=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new jd(h,n,E=>this._log(E))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(h,n){let E=[],ca=0;for(const Ca of h){const Ma=Ca.when||void 0,Ea=Ca.keybinding;if(Ea){const eb=this.resolveKeybinding(Ea);for(const Cb of eb)E[ca++]=new K(Cb,Ca.command,Ca.commandArgs,Ma,n,null)}else E[ca++]=new K(void 0,Ca.command,Ca.commandArgs,Ma,n,null)}return E}resolveKeybinding(h){return[new yb(h,ma.a)]}resolveKeyboardEvent(h){let n=new nb.e(h.ctrlKey,h.shiftKey,h.altKey,h.metaKey,h.keyCode).toChord();return new yb(n,ma.a)}}function Rb(h){return h&&"object"==typeof h&&(!h.overrideIdentifier||"string"==typeof h.overrideIdentifier)&&(!h.resource||h.resource instanceof z.a)}class jc{constructor(){this._onDidChangeConfiguration=new xc.a(),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new _d(new ce(),new Dd())}getValue(h,n){const E="string"==typeof h?h:void 0,ca=Rb(h)?h:Rb(n)?n:{};return this._configuration.getValue(E,ca,void 0)}updateValues(h){const n={data:this._configuration.toData()};let E=[];for(const ca of h){const[Ca,Ma]=ca;this.getValue(Ca)!==Ma&&(this._configuration.updateValue(Ca,Ma),E.push(Ca))}if(E.length>0){const ca=new oe({keys:E,overrides:[]},n,this._configuration);ca.source=7,ca.sourceConfig=null,this._onDidChangeConfiguration.fire(ca)}return Promise.resolve()}}class Xb{constructor(h){this.configurationService=h,this._onDidChangeConfiguration=new xc.a(),this.configurationService.onDidChangeConfiguration(n=>{this._onDidChangeConfiguration.fire({affectedKeys:n.affectedKeys,affectsConfiguration:(E,ca)=>n.affectsConfiguration(ca)})})}getValue(h,n,E){const ca=(Ed.a.isIPosition(n)?n:null)?"string"==typeof E?E:void 0:"string"==typeof n?n:void 0;return void 0===ca?this.configurationService.getValue():this.configurationService.getValue(ca)}}let wa=class{constructor(h){this.configurationService=h}getEOL(h,n){const E=this.configurationService.getValue("files.eol",{overrideIdentifier:n,resource:h});return E&&"auto"!==E?E:ma.d||ma.f?` +`+s.detail),Promise.resolve(window.confirm(v))}show(s,v,M,be){return Promise.resolve({choice:0})}}class ae{info(s){return this.notify({severity:Et.a.Info,message:s})}warn(s){return this.notify({severity:Et.a.Warning,message:s})}error(s){return this.notify({severity:Et.a.Error,message:s})}notify(s){switch(s.severity){case Et.a.Error:console.error(s.message);break;case Et.a.Warning:console.warn(s.message);break;default:console.log(s.message)}return ae.NO_OP}status(s,v){return Y.a.None}}ae.NO_OP=new Mt.b;class Ge{constructor(s){this._onWillExecuteCommand=new yi.a,this._onDidExecuteCommand=new yi.a,this._instantiationService=s}executeCommand(s,...v){let M=S.a.getCommand(s);if(!M)return Promise.reject(new Error(`command '${s}' not found`));try{this._onWillExecuteCommand.fire({commandId:s,args:v});let be=this._instantiationService.invokeFunction.apply(this._instantiationService,[M.handler,...v]);return this._onDidExecuteCommand.fire({commandId:s,args:v}),Promise.resolve(be)}catch(be){return Promise.reject(be)}}}class lt extends Gn{constructor(s,v,M,be,Ne,De){super(s,v,M,be,Ne),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(E.i(De,E.c.KEY_DOWN,je=>{let mt=new Hi.a(je);this._dispatch(mt,mt.target)&&(mt.preventDefault(),mt.stopPropagation())}))}addDynamicKeybinding(s,v,M,be){let Ne=Object(kt.f)(v,te.a),De=new Y.b;return Ne&&(this._dynamicKeybindings.push({keybinding:Ne,command:s,when:be,weight1:1e3,weight2:0,extensionId:null}),De.add(Object(Y.h)(()=>{for(let je=0;je<this._dynamicKeybindings.length;je++)if(this._dynamicKeybindings[je].command===s)return this._dynamicKeybindings.splice(je,1),void this.updateResolver({source:1})}))),De.add(S.a.registerCommand(s,M)),this.updateResolver({source:1}),De}updateResolver(s){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(s)}_getResolver(){if(!this._cachedResolver){let s=this._toNormalizedKeybindingItems(Dn.a.getDefaultKeybindings(),!0),v=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new on(s,v,M=>this._log(M))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(s,v){let M=[],be=0;for(let Ne of s){let De=Ne.when||void 0,je=Ne.keybinding;if(je){let mt=this.resolveKeybinding(je);for(let It of mt)M[be++]=new qt(It,Ne.command,Ne.commandArgs,De,v,null)}else M[be++]=new qt(void 0,Ne.command,Ne.commandArgs,De,v,null)}return M}resolveKeybinding(s){return[new ot(s,te.a)]}resolveKeyboardEvent(s){let v=new kt.e(s.ctrlKey,s.shiftKey,s.altKey,s.metaKey,s.keyCode).toChord();return new ot(v,te.a)}}function Dt(me){return me&&typeof me=="object"&&(!me.overrideIdentifier||typeof me.overrideIdentifier=="string")&&(!me.resource||me.resource instanceof C.a)}class Gt{constructor(){this._onDidChangeConfiguration=new yi.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new Jn(new Hn,new Nn)}getValue(s,v){let M=typeof s=="string"?s:void 0,be=Dt(s)?s:Dt(v)?v:{};return this._configuration.getValue(M,be,void 0)}updateValues(s){let v={data:this._configuration.toData()},M=[];for(let be of s){let[Ne,De]=be;this.getValue(Ne)!==De&&(this._configuration.updateValue(Ne,De),M.push(Ne))}if(M.length>0){let be=new _o({keys:M,overrides:[]},v,this._configuration);be.source=7,be.sourceConfig=null,this._onDidChangeConfiguration.fire(be)}return Promise.resolve()}}class ti{constructor(s){this.configurationService=s,this._onDidChangeConfiguration=new yi.a,this.configurationService.onDidChangeConfiguration(v=>{this._onDidChangeConfiguration.fire({affectedKeys:v.affectedKeys,affectsConfiguration:(M,be)=>v.affectsConfiguration(be)})})}getValue(s,v,M){let be=(xn.a.isIPosition(v)?v:null)?typeof M=="string"?M:void 0:typeof v=="string"?v:void 0;return be===void 0?this.configurationService.getValue():this.configurationService.getValue(be)}}let ye=class{constructor(me){this.configurationService=me}getEOL(me,s){let v=this.configurationService.getValue("files.eol",{overrideIdentifier:s,resource:me});return v&&v!=="auto"?v:te.d||te.f?` `:`\r -`}};wa=Lb([Ub(0,ad.a)],wa);class fa{publicLog(h,n){return Promise.resolve(void 0)}publicLog2(h,n){return this.publicLog(h,n)}}class ra{constructor(){const h=z.a.from({scheme:ra.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new Jb.b({uri:h,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(h){return h&&h.scheme===ra.SCHEME?this.workspace.folders[0]:null}}function Ra(h,n,E){if(!n)return;if(!(h instanceof jc))return;let ca=[];Object.keys(n).forEach(Ca=>{Object(Pc.d)(Ca)&&ca.push(["editor."+Ca,n[Ca]]),E&&Object(Pc.c)(Ca)&&ca.push(["diffEditor."+Ca,n[Ca]])}),ca.length>0&&h.updateValues(ca)}ra.SCHEME="inmemory";class ab{constructor(h){this._modelService=h}hasPreviewHandler(){return!1}apply(h,n){return pc(this,void 0,void 0,function*(){const E=new Map();for(let Ma of h){if(!(Ma instanceof Dc.c))throw new Error("bad edit - only text edits are supported");const Ea=this._modelService.getModel(Ma.resource);if(!Ea)throw new Error("bad edit - model not found");if("number"==typeof Ma.versionId&&Ea.getVersionId()!==Ma.versionId)throw new Error("bad state - model changed in the meantime");let eb=E.get(Ea);eb||(eb=[],E.set(Ea,eb)),eb.push(Nc.a.replaceMove(Ka.a.lift(Ma.textEdit.range),Ma.textEdit.text))}let ca=0,Ca=0;for(const[Ma,Ea]of E)Ma.pushStackElement(),Ma.pushEditOperations([],Ea,()=>[]),Ma.pushStackElement(),Ca+=1,ca+=Ea.length;return{ariaSummary:za.x(xb.g.bulkEditServiceSummary,ca,Ca)}})}}class Ya{getUriLabel(h,n){return"file"===h.scheme?h.fsPath:h.path}}class jb{constructor(h,n){this._codeEditorService=h,this._container=n,this.onLayout=xc.b.None}get dimension(){return this._dimension||(this._dimension=P.y(window.document.body)),this._dimension}get container(){return this._container}focus(){var h;null===(h=this._codeEditorService.getFocusedCodeEditor())||void 0===h||h.focus()}}var Sb=f(66),Yb=f(164),rc=f(194),zc=f(191),_b=f(139),qc=f(24),nc=f(10),Aa=f(84),ya=f(18),pa=f(50),Ja=f(19),Na=f(80),Pa=f(121),Fa=f(83),Xa=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},lb=function(h,n){return function(E,ca){n(E,ca,h)}};let sb=0,vb=!1,Vb=class extends Yb.a{constructor(h,n,E,ca,Ca,Ma,Ea,eb,Cb,bc){(n=n||{}).ariaLabel=n.ariaLabel||xb.h.editorViewAccessibleLabel,n.ariaLabel=n.ariaLabel+";"+xb.h.accessibilityHelpMessage,super(h,n,{},E,ca,Ca,Ma,eb,Cb,bc),this._standaloneKeybindingService=Ea instanceof ub?Ea:null,vb||(vb=!0,Sb.b(document.body))}addCommand(h,n,E){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let ca="DYNAMIC_"+ ++sb,Ca=nc.a.deserialize(E);return this._standaloneKeybindingService.addDynamicKeybinding(ca,h,n,Ca),ca}createContextKey(h,n){return this._contextKeyService.createKey(h,n)}addAction(h){if("string"!=typeof h.id||"string"!=typeof h.label||"function"!=typeof h.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),N.a.None;const n=h.id,E=h.label,ca=nc.a.and(nc.a.equals("editorId",this.getId()),nc.a.deserialize(h.precondition)),Ca=h.keybindings,Ma=nc.a.and(ca,nc.a.deserialize(h.keybindingContext)),Ea=h.contextMenuGroupId||null,eb=h.contextMenuOrder||0,Cb=(ed,...td)=>Promise.resolve(h.run(this,...td)),bc=new N.b(),ic=this.getId()+":"+n;if(bc.add(D.a.registerCommand(ic,Cb)),Ea){let ed={command:{id:ic,title:E},when:ca,group:Ea,order:eb};bc.add(qc.d.appendMenuItem(qc.b.EditorContext,ed))}if(Array.isArray(Ca))for(const ed of Ca)bc.add(this._standaloneKeybindingService.addDynamicKeybinding(ic,ed,Cb,Ma));let Mc=new zc.a(ic,E,E,ca,Cb,this._contextKeyService);return this._actions[n]=Mc,bc.add(Object(N.h)(()=>{delete this._actions[n]})),bc}};Vb=Xa([lb(2,ya.a),lb(3,F.a),lb(4,D.b),lb(5,nc.b),lb(6,pa.a),lb(7,Ja.c),lb(8,Bb.a),lb(9,Na.b)],Vb);let hc=class extends Vb{constructor(h,n,E,ca,Ca,Ma,Ea,eb,Cb,bc,ic,Mc,ed){Ra(Mc,n,!1);const td=bc.registerEditorContainer(h);"string"==typeof(n=n||{}).theme&&bc.setTheme(n.theme);let Bd,$d=n.model;if(delete n.model,super(h,n,ca,Ca,Ma,Ea,eb,bc,ic,ed),this._contextViewService=Cb,this._configurationService=Mc,this._standaloneThemeService=bc,this._register(E),this._register(td),void 0===$d?(Bd=self.monaco.editor.createModel(n.value||"",n.language||"text/plain"),this._ownsModel=!0):(Bd=$d,this._ownsModel=!1),this._attachModel(Bd),Bd){let ae={oldModelUrl:null,newModelUrl:Bd.uri};this._onDidChangeModel.fire(ae)}}dispose(){super.dispose()}updateOptions(h){Ra(this._configurationService,h,!1),"string"==typeof h.theme&&this._standaloneThemeService.setTheme(h.theme),super.updateOptions(h)}_attachModel(h){super._attachModel(h),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(h){super._postDetachModelCleanup(h),h&&this._ownsModel&&(h.dispose(),this._ownsModel=!1)}};hc=Xa([lb(3,ya.a),lb(4,F.a),lb(5,D.b),lb(6,nc.b),lb(7,pa.a),lb(8,Aa.b),lb(9,_b.a),lb(10,Bb.a),lb(11,ad.a),lb(12,Na.b)],hc);let Tb=class extends rc.a{constructor(h,n,E,ca,Ca,Ma,Ea,eb,Cb,bc,ic,Mc,ed,td,Bd){Ra(Mc,n,!0);const $d=bc.registerEditorContainer(h);"string"==typeof(n=n||{}).theme&&(n.theme=bc.setTheme(n.theme)),super(h,n,Bd,eb,Ca,ca,Cb,bc,ic,ed,td),this._contextViewService=Ea,this._configurationService=Mc,this._standaloneThemeService=bc,this._register(E),this._register($d),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(h){Ra(this._configurationService,h,!0),"string"==typeof h.theme&&this._standaloneThemeService.setTheme(h.theme),super.updateOptions(h)}_createInnerEditor(h,n,E){return h.createInstance(Vb,n,E)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(h,n,E){return this.getModifiedEditor().addCommand(h,n,E)}createContextKey(h,n){return this.getModifiedEditor().createContextKey(h,n)}addAction(h){return this.getModifiedEditor().addAction(h)}};Tb=Xa([lb(3,ya.a),lb(4,nc.b),lb(5,pa.a),lb(6,Aa.b),lb(7,oa.a),lb(8,F.a),lb(9,_b.a),lb(10,Bb.a),lb(11,ad.a),lb(12,Aa.a),lb(13,Fa.a),lb(14,Pa.a)],Tb);var cc=f(109);class Rc{constructor(h){this._languageIdentifier=h}getId(){return this._languageIdentifier.language}}var gd=f(42),od=f(187);let Wb=[],Zb=[],kc=[];function hd(h,n=!1){const E=function(ca){return{id:ca.id,mime:ca.mime,filename:ca.filename,extension:ca.extension,filepattern:ca.filepattern,firstline:ca.firstline,userConfigured:ca.userConfigured,filenameLowercase:ca.filename?ca.filename.toLowerCase():void 0,extensionLowercase:ca.extension?ca.extension.toLowerCase():void 0,filepatternLowercase:ca.filepattern?ca.filepattern.toLowerCase():void 0,filepatternOnPath:!!ca.filepattern&&ca.filepattern.indexOf(gd.e.sep)>=0}}(h);Wb.push(E),E.userConfigured?kc.push(E):Zb.push(E),n&&!E.userConfigured&&Wb.forEach(ca=>{ca.mime===E.mime||ca.userConfigured||(E.extension&&ca.extension===E.extension&&console.warn(`Overwriting extension <<${E.extension}>> to now point to mime <<${E.mime}>>`),E.filename&&ca.filename===E.filename&&console.warn(`Overwriting filename <<${E.filename}>> to now point to mime <<${E.mime}>>`),E.filepattern&&ca.filepattern===E.filepattern&&console.warn(`Overwriting filepattern <<${E.filepattern}>> to now point to mime <<${E.mime}>>`),E.firstline&&ca.firstline===E.firstline&&console.warn(`Overwriting firstline <<${E.firstline}>> to now point to mime <<${E.mime}>>`))})}function ld(h,n){let E;if(h)switch(h.scheme){case L.b.file:E=h.fsPath;break;case L.b.data:E=s.a.parseMetaData(h).get(s.a.META_DATA_LABEL);break;default:E=h.path}if(!E)return["application/unknown"];E=E.toLowerCase();const ca=Object(gd.a)(E),Ca=fd(E,ca,kc);if(Ca)return[Ca,"text/plain"];const Ma=fd(E,ca,Zb);if(Ma)return[Ma,"text/plain"];if(n){const Ea=function(eb){Object(za.U)(eb)&&(eb=eb.substr(1));if(eb.length>0)for(let Cb=Wb.length-1;Cb>=0;Cb--){const bc=Wb[Cb];if(!bc.firstline)continue;const ic=eb.match(bc.firstline);if(ic&&ic.length>0)return bc.mime}return null}(n);if(Ea)return[Ea,"text/plain"]}return["application/unknown"]}function fd(h,n,E){let ca=null,Ca=null,Ma=null;for(let Ea=E.length-1;Ea>=0;Ea--){const eb=E[Ea];if(n===eb.filenameLowercase){ca=eb;break}if(eb.filepattern&&(!Ca||eb.filepattern.length>Ca.filepattern.length)){const Cb=eb.filepatternOnPath?h:n;Object(od.a)(eb.filepatternLowercase,Cb)&&(Ca=eb)}eb.extension&&(!Ma||eb.extension.length>Ma.extension.length)&&n.endsWith(eb.extensionLowercase)&&(Ma=eb)}return ca?ca.mime:Ca?Ca.mime:Ma?Ma.mime:null}var md=f(146),rd=f(56);const yd=Object.prototype.hasOwnProperty;class Vd extends N.a{constructor(h=!0,n=!1){super(),this._onDidChange=this._register(new xc.a()),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=n,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},h&&(this._initializeFromRegistry(),this._register(md.a.onDidChangeLanguages(E=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};const h=md.a.getLanguages();this._registerLanguages(h)}_registerLanguages(h){for(const n of h)this._registerLanguage(n);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(n=>{let E=this._languages[n];E.name&&(this._nameMap[E.name]=E.identifier),E.aliases.forEach(ca=>{this._lowercaseNameMap[ca.toLowerCase()]=E.identifier}),E.mimetypes.forEach(ca=>{this._mimeTypesMap[ca]=E.identifier})}),rd.a.as(wd.a.Configuration).registerOverrideIdentifiers(md.a.getLanguages().map(n=>n.id)),this._onDidChange.fire()}_getLanguageId(h){if(this._languageToLanguageId[h])return this._languageToLanguageId[h];const n=this._nextLanguageId2++;return this._languageIdToLanguage[n]=h,this._languageToLanguageId[h]=n,n}_registerLanguage(h){const n=h.id;let E;if(yd.call(this._languages,n))E=this._languages[n];else{const ca=this._getLanguageId(n);E={identifier:new H.r(n,ca),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[n]=E}this._mergeLanguage(E,h)}_mergeLanguage(h,n){const E=n.id;let ca=null;if(Array.isArray(n.mimetypes)&&n.mimetypes.length>0&&(h.mimetypes.push(...n.mimetypes),ca=n.mimetypes[0]),ca||(ca="text/x-"+E,h.mimetypes.push(ca)),Array.isArray(n.extensions)){n.configuration?h.extensions=n.extensions.concat(h.extensions):h.extensions=h.extensions.concat(n.extensions);for(let Ea of n.extensions)hd({id:E,mime:ca,extension:Ea},this._warnOnOverwrite)}if(Array.isArray(n.filenames))for(let Ea of n.filenames)hd({id:E,mime:ca,filename:Ea},this._warnOnOverwrite),h.filenames.push(Ea);if(Array.isArray(n.filenamePatterns))for(let Ea of n.filenamePatterns)hd({id:E,mime:ca,filepattern:Ea},this._warnOnOverwrite);if("string"==typeof n.firstLine&&n.firstLine.length>0){let Ea=n.firstLine;"^"!==Ea.charAt(0)&&(Ea="^"+Ea);try{let eb=new RegExp(Ea);za.P(eb)||hd({id:E,mime:ca,firstline:eb},this._warnOnOverwrite)}catch(eb){Object(S.e)(eb)}}h.aliases.push(E);let Ca=null;if(void 0!==n.aliases&&Array.isArray(n.aliases)&&(Ca=0===n.aliases.length?[null]:n.aliases),null!==Ca)for(const Ea of Ca)Ea&&0!==Ea.length&&h.aliases.push(Ea);let Ma=null!==Ca&&Ca.length>0;if(!(Ma&&null===Ca[0])){let Ea=(Ma?Ca[0]:null)||E;!Ma&&h.name||(h.name=Ea)}n.configuration&&h.configurationFiles.push(n.configuration)}isRegisteredMode(h){return!!yd.call(this._mimeTypesMap,h)||yd.call(this._languages,h)}getModeIdForLanguageNameLowercase(h){return yd.call(this._lowercaseNameMap,h)?this._lowercaseNameMap[h].language:null}extractModeIds(h){return h?h.split(",").map(n=>n.trim()).map(n=>yd.call(this._mimeTypesMap,n)?this._mimeTypesMap[n].language:n).filter(n=>yd.call(this._languages,n)):[]}getLanguageIdentifier(h){if(h===ea.b||0===h)return ea.a;let n;if("string"==typeof h)n=h;else if(n=this._languageIdToLanguage[h],!n)return null;return yd.call(this._languages,n)?this._languages[n].identifier:null}getModeIdsFromFilepathOrFirstLine(h,n){if(!h&&!n)return[];let E=ld(h,n);return this.extractModeIds(E.join(","))}}class Sd extends N.a{constructor(h,n){super(),this._onDidChange=this._register(new xc.a()),this.onDidChange=this._onDidChange.event,this._selector=n,this.languageIdentifier=this._selector(),this._register(h(()=>this._evaluate()))}_evaluate(){let h=this._selector();h.id!==this.languageIdentifier.id&&(this.languageIdentifier=h,this._onDidChange.fire(this.languageIdentifier))}}class Ae{constructor(h=!1){this._onDidCreateMode=new xc.a(),this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new xc.a(),this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Vd(!0,h),this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire())}isRegisteredMode(h){return this._registry.isRegisteredMode(h)}getModeIdForLanguageName(h){return this._registry.getModeIdForLanguageNameLowercase(h)}getModeIdByFilepathOrFirstLine(h,n){const E=this._registry.getModeIdsFromFilepathOrFirstLine(h,n);return Object(ua.k)(E,null)}getModeId(h){const n=this._registry.extractModeIds(h);return Object(ua.k)(n,null)}getLanguageIdentifier(h){return this._registry.getLanguageIdentifier(h)}create(h){return new Sd(this.onLanguagesMaybeChanged,()=>{const n=this.getModeId(h);return this._createModeAndGetLanguageIdentifier(n)})}createByFilepathOrFirstLine(h,n){return new Sd(this.onLanguagesMaybeChanged,()=>{const E=this.getModeIdByFilepathOrFirstLine(h,n);return this._createModeAndGetLanguageIdentifier(E)})}_createModeAndGetLanguageIdentifier(h){const n=this.getLanguageIdentifier(h||"plaintext")||ea.a;return this._getOrCreateMode(n.language),n}triggerMode(h){const n=this.getModeId(h);this._getOrCreateMode(n||"plaintext")}_getOrCreateMode(h){if(!this._instantiatedModes.hasOwnProperty(h)){let n=this.getLanguageIdentifier(h)||ea.a;this._instantiatedModes[h]=new Rc(n),this._onDidCreateMode.fire(this._instantiatedModes[h])}return this._instantiatedModes[h]}}var Ce=f(183);class Cd extends N.a{constructor(){super(),this._onCodeEditorAdd=this._register(new xc.a()),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new xc.a()),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new xc.a()),this._onDiffEditorRemove=this._register(new xc.a()),this._modelProperties=new Map(),this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(h){this._codeEditors[h.getId()]=h,this._onCodeEditorAdd.fire(h)}removeCodeEditor(h){delete this._codeEditors[h.getId()]&&this._onCodeEditorRemove.fire(h)}listCodeEditors(){return Object.keys(this._codeEditors).map(h=>this._codeEditors[h])}addDiffEditor(h){this._diffEditors[h.getId()]=h,this._onDiffEditorAdd.fire(h)}removeDiffEditor(h){delete this._diffEditors[h.getId()]&&this._onDiffEditorRemove.fire(h)}listDiffEditors(){return Object.keys(this._diffEditors).map(h=>this._diffEditors[h])}getFocusedCodeEditor(){let h=null;const n=this.listCodeEditors();for(const E of n){if(E.hasTextFocus())return E;E.hasWidgetFocus()&&(h=E)}return h}setModelProperty(h,n,E){const ca=h.toString();let Ca;this._modelProperties.has(ca)?Ca=this._modelProperties.get(ca):(Ca=new Map(),this._modelProperties.set(ca,Ca)),Ca.set(n,E)}getModelProperty(h,n){const E=h.toString();if(this._modelProperties.has(E))return this._modelProperties.get(E).get(n)}}var Fd=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Wd=function(h,n){return function(E,ca){n(E,ca,h)}};class pe{constructor(h,n,E){this._parent=h,this._editorId=n,this._styleSheet=E,this._refCount=0}ref(){this._refCount++}unref(){var h;this._refCount--,0===this._refCount&&(null===(h=this._styleSheet.parentNode)||void 0===h||h.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(h,n){this._styleSheet.sheet.insertRule(h,n)}removeRulesContainingSelector(h){P.P(h,this._styleSheet)}}class De{constructor(h){this._styleSheet=h}ref(){}unref(){}insertRule(h,n){this._styleSheet.sheet.insertRule(h,n)}removeRulesContainingSelector(h){P.P(h,this._styleSheet)}}let ue=class extends Cd{constructor(h,n=null){super(),this._decorationOptionProviders=new Map(),this._editorStyleSheets=new Map(),this._globalStyleSheet=n||null,this._themeService=h}_getOrCreateGlobalStyleSheet(){return this._globalStyleSheet||(this._globalStyleSheet=new De(P.v())),this._globalStyleSheet}_getOrCreateStyleSheet(h){if(!h)return this._getOrCreateGlobalStyleSheet();const n=h.getContainerDomNode();if(!P.O(n))return this._getOrCreateGlobalStyleSheet();const E=h.getId();if(!this._editorStyleSheets.has(E)){const ca=new pe(this,E,P.v(n));this._editorStyleSheets.set(E,ca)}return this._editorStyleSheets.get(E)}_removeEditorStyleSheets(h){this._editorStyleSheets.delete(h)}registerDecorationType(h,n,E,ca){let Ca=this._decorationOptionProviders.get(h);if(!Ca){const Ma=this._getOrCreateStyleSheet(ca),Ea={styleSheet:Ma,key:h,parentTypeKey:E,options:n||Object.create(null)};Ca=E?new ve(this._themeService,Ma,Ea):new je(this._themeService,Ma,Ea),this._decorationOptionProviders.set(h,Ca)}Ca.refCount++}removeDecorationType(h){const n=this._decorationOptionProviders.get(h);n&&(n.refCount--,n.refCount<=0&&(this._decorationOptionProviders.delete(h),n.dispose(),this.listCodeEditors().forEach(E=>E.removeDecorations(h))))}resolveDecorationOptions(h,n){const E=this._decorationOptionProviders.get(h);if(!E)throw new Error("Unknown decoration type key: "+h);return E.getOptions(this,n)}};ue=Fd([Wd(0,Ja.c)],ue);class ve{constructor(h,n,E){this._styleSheet=n,this._styleSheet.ref(),this._parentTypeKey=E.parentTypeKey,this.refCount=0,this._beforeContentRules=new ye(3,E,h),this._afterContentRules=new ye(4,E,h)}getOptions(h,n){const E=h.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(E.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(E.afterContentClassName=this._afterContentRules.className),E}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class je{constructor(h,n,E){this._disposables=new N.b(),this._styleSheet=n,this._styleSheet.ref(),this.refCount=0;const ca=Cb=>{const bc=new ye(Cb,E,h);if(this._disposables.add(bc),bc.hasContent)return bc.className};this.className=ca(0);const Ca=(Cb=>{const bc=new ye(Cb,E,h);return this._disposables.add(bc),bc.hasContent?{className:bc.className,hasLetterSpacing:bc.hasLetterSpacing}:null})(1);Ca&&(this.inlineClassName=Ca.className,this.inlineClassNameAffectsLetterSpacing=Ca.hasLetterSpacing),this.beforeContentClassName=ca(3),this.afterContentClassName=ca(4),this.glyphMarginClassName=ca(2);const Ma=E.options;this.isWholeLine=Boolean(Ma.isWholeLine),this.stickiness=Ma.rangeBehavior;const Ea=Ma.light&&Ma.light.overviewRulerColor||Ma.overviewRulerColor,eb=Ma.dark&&Ma.dark.overviewRulerColor||Ma.overviewRulerColor;void 0===Ea&&void 0===eb||(this.overviewRuler={color:Ea||eb,darkColor:eb||Ea,position:Ma.overviewRulerLane||Z.d.Center})}getOptions(h,n){return n?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}const zd={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"};class ye{constructor(h,n,E){this._theme=E.getColorTheme(),this._ruleType=h,this._providerArgs=n,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let ca=Pe.getClassName(this._providerArgs.key,h);this._providerArgs.parentTypeKey&&(ca=ca+" "+Pe.getClassName(this._providerArgs.parentTypeKey,h)),this._className=ca,this._unThemedSelector=Pe.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,h),this._buildCSS(),this._usesThemeColors?this._themeListener=E.onDidColorThemeChange(Ca=>{this._theme=E.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){const h=this._providerArgs.options;let n,E,ca;switch(this._ruleType){case 0:n=this.getCSSTextForModelDecorationClassName(h),E=this.getCSSTextForModelDecorationClassName(h.light),ca=this.getCSSTextForModelDecorationClassName(h.dark);break;case 1:n=this.getCSSTextForModelDecorationInlineClassName(h),E=this.getCSSTextForModelDecorationInlineClassName(h.light),ca=this.getCSSTextForModelDecorationInlineClassName(h.dark);break;case 2:n=this.getCSSTextForModelDecorationGlyphMarginClassName(h),E=this.getCSSTextForModelDecorationGlyphMarginClassName(h.light),ca=this.getCSSTextForModelDecorationGlyphMarginClassName(h.dark);break;case 3:n=this.getCSSTextForModelDecorationContentClassName(h.before),E=this.getCSSTextForModelDecorationContentClassName(h.light&&h.light.before),ca=this.getCSSTextForModelDecorationContentClassName(h.dark&&h.dark.before);break;case 4:n=this.getCSSTextForModelDecorationContentClassName(h.after),E=this.getCSSTextForModelDecorationContentClassName(h.light&&h.light.after),ca=this.getCSSTextForModelDecorationContentClassName(h.dark&&h.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}const Ca=this._providerArgs.styleSheet;let Ma=!1;n.length>0&&(Ca.insertRule(`${this._unThemedSelector} {${n}}`,0),Ma=!0),E.length>0&&(Ca.insertRule(`.vs${this._unThemedSelector} {${E}}`,0),Ma=!0),ca.length>0&&(Ca.insertRule(`.vs-dark${this._unThemedSelector}, .hc-black${this._unThemedSelector} {${ca}}`,0),Ma=!0),this._hasContent=Ma}_removeCSS(){this._providerArgs.styleSheet.removeRulesContainingSelector(this._unThemedSelector)}getCSSTextForModelDecorationClassName(h){if(!h)return"";const n=[];return this.collectCSSText(h,["backgroundColor"],n),this.collectCSSText(h,["outline","outlineColor","outlineStyle","outlineWidth"],n),this.collectBorderSettingsCSSText(h,n),n.join("")}getCSSTextForModelDecorationInlineClassName(h){if(!h)return"";const n=[];return this.collectCSSText(h,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],n),h.letterSpacing&&(this._hasLetterSpacing=!0),n.join("")}getCSSTextForModelDecorationContentClassName(h){if(!h)return"";const n=[];if(void 0!==h){if(this.collectBorderSettingsCSSText(h,n),void 0!==h.contentIconPath&&n.push(za.x(zd.contentIconPath,P.q(z.a.revive(h.contentIconPath)))),"string"==typeof h.contentText){const E=h.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");n.push(za.x(zd.contentText,E))}this.collectCSSText(h,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],n),this.collectCSSText(h,["width","height"],n)&&n.push("display:inline-block;")}return n.join("")}getCSSTextForModelDecorationGlyphMarginClassName(h){if(!h)return"";const n=[];return void 0!==h.gutterIconPath&&(n.push(za.x(zd.gutterIconPath,P.q(z.a.revive(h.gutterIconPath)))),void 0!==h.gutterIconSize&&n.push(za.x(zd.gutterIconSize,h.gutterIconSize))),n.join("")}collectBorderSettingsCSSText(h,n){return!!this.collectCSSText(h,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],n)&&(n.push(za.x("box-sizing: border-box;")),!0)}collectCSSText(h,n,E){const ca=E.length;for(let Ca of n){const Ma=this.resolveValue(h[Ca]);"string"==typeof Ma&&E.push(za.x(zd[Ca],Ma))}return E.length!==ca}resolveValue(h){if(Object(da.b)(h)){this._usesThemeColors=!0;const n=this._theme.getColor(h.id);return n?n.toString():"transparent"}return h}}class Pe{static getClassName(h,n){return"ced-"+h+"-"+n}static getSelector(h,n,E){let ca=".monaco-editor ."+this.getClassName(h,E);return n&&(ca=ca+"."+this.getClassName(n,E)),3===E?ca+="::before":4===E&&(ca+="::after"),ca}}class kf extends ue{getActiveCodeEditor(){return null}openCodeEditor(h,n,E){return n?Promise.resolve(this.doOpenEditor(n,h)):Promise.resolve(null)}doOpenEditor(h,n){if(!this.findModel(h,n.resource)){if(n.resource){const ca=n.resource.scheme;if(ca===L.b.http||ca===L.b.https)return Object(P.cb)(n.resource.toString()),h}return null}const E=n.options?n.options.selection:null;if(E)if("number"==typeof E.endLineNumber&&"number"==typeof E.endColumn)h.setSelection(E),h.revealRangeInCenter(E,1);else{const ca={lineNumber:E.startLineNumber,column:E.startColumn};h.setPosition(ca),h.revealPositionInCenter(ca,1)}return h}findModel(h,n){const E=h.getModel();return E&&E.uri.toString()!==n.toString()?null:E}}var qe=f(16);class _f{constructor(h,n,E,ca,Ca){this.token=h,this.index=n,this.fontStyle=E,this.foreground=ca,this.background=Ca}}const Ff=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class Rd{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map()}getId(h){if(null===h)return 0;const n=h.match(Ff);if(!n)throw new Error("Illegal value for token color: "+h);h=n[1].toUpperCase();let E=this._color2id.get(h);return E||(E=++this._lastColorId,this._color2id.set(h,E),this._id2color[E]=qe.a.fromHex("#"+h),E)}getColorMap(){return this._id2color.slice(0)}}class rf{constructor(h,n){this._colorMap=h,this._root=n,this._cache=new Map()}static createFromRawTokenTheme(h,n){return this.createFromParsedTokenTheme(function(E){if(!E||!Array.isArray(E))return[];let ca=[],Ca=0;for(let Ma=0,Ea=E.length;Ma<Ea;Ma++){let eb=E[Ma],Cb=-1;if("string"==typeof eb.fontStyle){Cb=0;let Mc=eb.fontStyle.split(" ");for(let ed=0,td=Mc.length;ed<td;ed++)switch(Mc[ed]){case"italic":Cb|=1;break;case"bold":Cb|=2;break;case"underline":Cb|=4}}let bc=null;"string"==typeof eb.foreground&&(bc=eb.foreground);let ic=null;"string"==typeof eb.background&&(ic=eb.background),ca[Ca++]=new _f(eb.token||"",Ma,Cb,bc,ic)}return ca}(h),n)}static createFromParsedTokenTheme(h,n){return function(E,ca){E.sort((ed,td)=>{let Bd=function($d,ae){return $d<ae?-1:$d>ae?1:0}(ed.token,td.token);return 0!==Bd?Bd:ed.index-td.index});let Ca=0,Ma="000000",Ea="ffffff";for(;E.length>=1&&""===E[0].token;){let ed=E.shift();-1!==ed.fontStyle&&(Ca=ed.fontStyle),null!==ed.foreground&&(Ma=ed.foreground),null!==ed.background&&(Ea=ed.background)}let eb=new Rd();for(let ed of ca)eb.getId(ed);let Cb=eb.getId(Ma),bc=eb.getId(Ea),ic=new Gf(Ca,Cb,bc),Mc=new $f(ic);for(let ed=0,td=E.length;ed<td;ed++){let Bd=E[ed];Mc.insert(Bd.token,Bd.fontStyle,eb.getId(Bd.foreground),eb.getId(Bd.background))}return new rf(eb,Mc)}(h,n)}getColorMap(){return this._colorMap.getColorMap()}_match(h){return this._root.match(h)}match(h,n){let E=this._cache.get(n);if(void 0===E){let ca=this._match(n),Ca=function(Ma){let Ea=Ma.match(xe);if(!Ea)return 0;switch(Ea[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(n);E=(ca.metadata|Ca<<8)>>>0,this._cache.set(n,E)}return(E|h<<0)>>>0}}const xe=/\b(comment|string|regex|regexp)\b/;class Gf{constructor(h,n,E){this._fontStyle=h,this._foreground=n,this._background=E,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new Gf(this._fontStyle,this._foreground,this._background)}acceptOverwrite(h,n,E){-1!==h&&(this._fontStyle=h),0!==n&&(this._foreground=n),0!==E&&(this._background=E),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class $f{constructor(h){this._mainRule=h,this._children=new Map()}match(h){if(""===h)return this._mainRule;let n,E,ca=h.indexOf(".");-1===ca?(n=h,E=""):(n=h.substring(0,ca),E=h.substring(ca+1));let Ca=this._children.get(n);return void 0!==Ca?Ca.match(E):this._mainRule}insert(h,n,E,ca){if(""===h)return void this._mainRule.acceptOverwrite(n,E,ca);let Ca,Ma,Ea=h.indexOf(".");-1===Ea?(Ca=h,Ma=""):(Ca=h.substring(0,Ea),Ma=h.substring(Ea+1));let eb=this._children.get(Ca);void 0===eb&&(eb=new $f(this._mainRule.clone()),this._children.set(Ca,eb)),eb.insert(Ma,n,E,ca)}}var Qe=f(57),qd=f(5);const Be={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[qd.s]:"#FFFFFE",[qd.B]:"#000000",[qd.J]:"#E5EBF1",[Qe.h]:"#D3D3D3",[Qe.a]:"#939393",[qd.Q]:"#ADD6FF4D"}},Ge={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[qd.s]:"#1E1E1E",[qd.B]:"#D4D4D4",[qd.J]:"#3A3D41",[Qe.h]:"#404040",[Qe.a]:"#707070",[qd.Q]:"#ADD6FF26"}},sf={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[qd.s]:"#000000",[qd.B]:"#FFFFFF",[Qe.h]:"#FFFFFF",[Qe.a]:"#FFFFFF"}};var Kd=f(154);const Yd=rd.a.as(qd.a.ColorContribution),lf=rd.a.as(Ja.a.ThemingContribution);class lh{constructor(h,n){this.semanticHighlighting=!1,this.themeData=n;let E=n.base;h.length>0?(this.id=E+" "+h,this.themeName=h):(this.id=E,this.themeName=E),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const h=new Map();for(let n in this.themeData.colors)h.set(n,qe.a.fromHex(this.themeData.colors[n]));if(this.themeData.inherit){let n=Hf(this.themeData.base);for(let E in n.colors)h.has(E)||h.set(E,qe.a.fromHex(n.colors[E]))}this.colors=h}return this.colors}getColor(h,n){const E=this.getColors().get(h);return E||(!1!==n?this.getDefault(h):void 0)}getDefault(h){let n=this.defaultColors[h];return n||(n=Yd.resolveDefaultColor(h,this),this.defaultColors[h]=n,n)}defines(h){return Object.prototype.hasOwnProperty.call(this.getColors(),h)}get type(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}}get tokenTheme(){if(!this._tokenTheme){let h=[],n=[];if(this.themeData.inherit){let E=Hf(this.themeData.base);h=E.rules,E.encodedTokensColors&&(n=E.encodedTokensColors)}h=h.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(n=this.themeData.encodedTokensColors),this._tokenTheme=rf.createFromRawTokenTheme(h,n)}return this._tokenTheme}getTokenStyleMetadata(h,n,E){const ca=this.tokenTheme._match([h].concat(n).join(".")).metadata,Ca=H.B.getForeground(ca),Ma=H.B.getFontStyle(ca);return{foreground:Ca,italic:Boolean(1&Ma),bold:Boolean(2&Ma),underline:Boolean(4&Ma)}}}function Uf(h){return"vs"===h||"vs-dark"===h||"hc-black"===h}function Hf(h){switch(h){case"vs":return Be;case"vs-dark":return Ge;case"hc-black":return sf}}function If(h){let n=Hf(h);return new lh(h,n)}class Vf extends N.a{constructor(){super(),this._onColorThemeChange=this._register(new xc.a()),this.onDidColorThemeChange=this._onColorThemeChange.event,this._environment=Object.create(null),this._knownThemes=new Map(),this._knownThemes.set("vs",If("vs")),this._knownThemes.set("vs-dark",If("vs-dark")),this._knownThemes.set("hc-black",If("hc-black")),this._codiconCSS=Kd.a.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this.setTheme("vs"),Kd.a.onDidChange(()=>{this._codiconCSS=Kd.a.getCSS(),this._updateCSS()})}registerEditorContainer(h){return P.O(h)?this._registerShadowDomContainer(h):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=P.v(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._allCSS,this._styleElements.push(this._globalStyleElement)),N.a.None}_registerShadowDomContainer(h){const n=P.v(h);return n.className="monaco-colors",n.innerHTML=this._allCSS,this._styleElements.push(n),{dispose:()=>{for(let E=0;E<this._styleElements.length;E++)if(this._styleElements[E]===n)return void this._styleElements.splice(E,1)}}}defineTheme(h,n){if(!/^[a-z0-9\-]+$/i.test(h))throw new Error("Illegal theme name!");if(!Uf(n.base)&&!Uf(h))throw new Error("Illegal theme base!");this._knownThemes.set(h,new lh(h,n)),Uf(h)&&this._knownThemes.forEach(E=>{E.base===h&&E.notifyBaseUpdated()}),this._theme&&this._theme.themeName===h&&this.setTheme(h)}getColorTheme(){return this._theme}setTheme(h){let n;if(n=this._knownThemes.has(h)?this._knownThemes.get(h):this._knownThemes.get("vs"),this._theme===n)return n.id;this._theme=n;let E=[],ca={},Ca={addRule:Ea=>{ca[Ea]||(E.push(Ea),ca[Ea]=!0)}};lf.getThemingParticipants().forEach(Ea=>Ea(n,Ca,this._environment));let Ma=n.tokenTheme.getColorMap();return Ca.addRule(function(Ea){let eb=[];for(let Cb=1,bc=Ea.length;Cb<bc;Cb++){let ic=Ea[Cb];eb[Cb]=`.mtk${Cb} { color: ${ic}; }`}return eb.push(".mtki { font-style: italic; }"),eb.push(".mtkb { font-weight: bold; }"),eb.push(".mtku { text-decoration: underline; text-underline-position: under; }"),eb.join(` -`)}(Ma)),this._themeCSS=E.join(` -`),this._updateCSS(),H.C.setColorMap(Ma),this._onColorThemeChange.fire(n),n.id}_updateCSS(){this._allCSS=`${this._codiconCSS} -${this._themeCSS}`,this._styleElements.forEach(h=>h.innerHTML=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var Xg=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},ag=function(h,n){return function(E,ca){n(E,ca,h)}};class Jf{constructor(h,n){this._id=h,this._parent=n,this._value=Object.create(null),this._value._contextId=h}setValue(h,n){return this._value[h]!==n&&(this._value[h]=n,!0)}removeValue(h){return h in this._value&&(delete this._value[h],!0)}getValue(h){const n=this._value[h];return void 0===n&&this._parent?this._parent.getValue(h):n}}class bg extends Jf{constructor(){super(-1,null)}setValue(h,n){return!1}removeValue(h){return!1}getValue(h){}}bg.INSTANCE=new bg();class mf extends Jf{constructor(h,n,E){super(h,null),this._configurationService=n,this._values=new Map(),this._listener=this._configurationService.onDidChangeConfiguration(ca=>{if(6===ca.source){const Ca=Array.from(this._values.keys());this._values.clear(),E.fire(new mh(Ca))}else{const Ca=[];for(const Ma of ca.affectedKeys){const Ea="config."+Ma;this._values.has(Ea)&&(this._values.delete(Ea),Ca.push(Ea))}E.fire(new mh(Ca))}})}dispose(){this._listener.dispose()}getValue(h){if(0!==h.indexOf(mf._keyPrefix))return super.getValue(h);if(this._values.has(h))return this._values.get(h);const n=h.substr(mf._keyPrefix.length),E=this._configurationService.getValue(n);let ca;switch(typeof E){case"number":case"boolean":case"string":ca=E;break;default:Array.isArray(E)&&(ca=JSON.stringify(E))}return this._values.set(h,ca),ca}setValue(h,n){return super.setValue(h,n)}removeValue(h){return super.removeValue(h)}}mf._keyPrefix="config.";class $e{constructor(h,n,E){this._service=h,this._key=n,this._defaultValue=E,this.reset()}set(h){this._service.setContext(this._key,h)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class tf{constructor(h){this.key=h}affectsSome(h){return h.has(this.key)}}class mh{constructor(h){this.keys=h}affectsSome(h){for(const n of this.keys)if(h.has(n))return!0;return!1}}class Je{constructor(h){this.events=h}affectsSome(h){for(const n of this.events)if(n.affectsSome(h))return!0;return!1}}class pg{constructor(h){this._onDidChangeContext=new xc.d({merge:n=>new Je(n)}),this._isDisposed=!1,this._myContextId=h}createKey(h,n){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new $e(this,h,n)}get onDidChangeContext(){return this._onDidChangeContext.event}bufferChangeEvents(h){this._onDidChangeContext.pause();try{h()}finally{this._onDidChangeContext.resume()}}createScoped(h){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new nh(this,h)}contextMatchesRules(h){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const n=this.getContextValuesContainer(this._myContextId);return jd.contextMatchesRules(n,h)}getContextKeyValue(h){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(h)}setContext(h,n){if(this._isDisposed)return;const E=this.getContextValuesContainer(this._myContextId);E&&E.setValue(h,n)&&this._onDidChangeContext.fire(new tf(h))}removeContext(h){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(h)&&this._onDidChangeContext.fire(new tf(h))}getContext(h){return this._isDisposed?bg.INSTANCE:this.getContextValuesContainer(function(n){for(;n;){if(n.hasAttribute("data-keybinding-context")){const E=n.getAttribute("data-keybinding-context");return E?parseInt(E,10):NaN}n=n.parentElement}return 0}(h))}}let Kf=class extends pg{constructor(h){super(0),this._contexts=new Map(),this._toDispose=new N.b(),this._lastContextId=0;const n=new mf(this._myContextId,h,this._onDidChangeContext);this._contexts.set(this._myContextId,n),this._toDispose.add(n)}dispose(){this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(h){return this._isDisposed?bg.INSTANCE:this._contexts.get(h)||bg.INSTANCE}createChildContext(h=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let n=++this._lastContextId;return this._contexts.set(n,new Jf(n,this.getContextValuesContainer(h))),n}disposeContext(h){this._isDisposed||this._contexts.delete(h)}};Kf=Xg([ag(0,ad.a)],Kf);class nh extends pg{constructor(h,n){super(h.createChildContext()),this._parent=h,n&&(this._domNode=n,this._domNode.setAttribute("data-keybinding-context",String(this._myContextId)))}dispose(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute("data-keybinding-context"),this._domNode=void 0)}get onDidChangeContext(){return xc.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)}getContextValuesContainer(h){return this._isDisposed?bg.INSTANCE:this._parent.getContextValuesContainer(h)}createChildContext(h=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(h)}disposeContext(h){this._isDisposed||this._parent.disposeContext(h)}}D.a.registerCommand(nc.d,function(h,n,E){h.get(nc.b).createKey(String(n),E)}),f(259);var nf=f(60),cg=f(116),Yg=f(105),uf=(f(261),f(99)),dg=f(138);function Oc(h,n,E){const ca=E.offset+E.size;return 0===E.position?n<=h-ca?ca:n<=E.offset?E.offset-n:Math.max(h-n,0):n<=E.offset?E.offset-n:n<=h-ca?ca:0}class ef extends N.a{constructor(h,n){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=N.a.None,this.toDisposeOnSetContainer=N.a.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=P.a(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,P.K(this.view),this.setContainer(h,n),this._register(Object(N.h)(()=>this.setContainer(null,1)))}setContainer(h,n){if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,P.S(this.shadowRootHostElement),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),h){this.container=h,this.useFixedPosition=1!==n,this.useShadowDOM=3===n,this.useShadowDOM?(this.shadowRootHostElement=P.a(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=` +`}};ye=Ht([jt(0,un.a)],ye);class le{publicLog(s,v){return Promise.resolve(void 0)}publicLog2(s,v){return this.publicLog(s,v)}}class ue{constructor(){let s=C.a.from({scheme:ue.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new Ot.b({uri:s,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(s){return s&&s.scheme===ue.SCHEME?this.workspace.folders[0]:null}}function qe(me,s,v){if(!s||!(me instanceof Gt))return;let M=[];Object.keys(s).forEach(be=>{Object(Pi.d)(be)&&M.push(["editor."+be,s[be]]),v&&Object(Pi.c)(be)&&M.push(["diffEditor."+be,s[be]])}),M.length>0&&me.updateValues(M)}ue.SCHEME="inmemory";class Ze{constructor(s){this._modelService=s}hasPreviewHandler(){return!1}apply(s,v){return Kt(this,void 0,void 0,function*(){let M=new Map;for(let De of s){if(!(De instanceof Si.c))throw new Error("bad edit - only text edits are supported");let je=this._modelService.getModel(De.resource);if(!je)throw new Error("bad edit - model not found");if(typeof De.versionId=="number"&&je.getVersionId()!==De.versionId)throw new Error("bad state - model changed in the meantime");let mt=M.get(je);mt||(mt=[],M.set(je,mt)),mt.push(Wi.a.replaceMove(Ae.a.lift(De.textEdit.range),De.textEdit.text))}let be=0,Ne=0;for(let[De,je]of M)De.pushStackElement(),De.pushEditOperations([],je,()=>[]),De.pushStackElement(),Ne+=1,be+=je.length;return{ariaSummary:ht.x(Tt.g.bulkEditServiceSummary,be,Ne)}})}}class tt{getUriLabel(s,v){return s.scheme==="file"?s.fsPath:s.path}}class rt{constructor(s,v){this._codeEditorService=s,this._container=v,this.onLayout=yi.b.None}get dimension(){return this._dimension||(this._dimension=E.y(window.document.body)),this._dimension}get container(){return this._container}focus(){var s;(s=this._codeEditorService.getFocusedCodeEditor())===null||s===void 0||s.focus()}}var zt=o(66),Jt=o(164),xi=o(194),Ei=o(191),ai=o(139),fi=o(24),ui=o(10),Te=o(84),Ee=o(18),ve=o(50),Re=o(19),We=o(80),Be=o(121),Le=o(83),Ke=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},dt=function(me,s){return function(v,M){s(v,M,me)}};let yt=0,xt=!1,Xt=class extends Jt.a{constructor(me,s,v,M,be,Ne,De,je,mt,It){(s=s||{}).ariaLabel=s.ariaLabel||Tt.h.editorViewAccessibleLabel,s.ariaLabel=s.ariaLabel+";"+Tt.h.accessibilityHelpMessage,super(me,s,{},v,M,be,Ne,je,mt,It),this._standaloneKeybindingService=De instanceof lt?De:null,xt||(xt=!0,zt.b(document.body))}addCommand(me,s,v){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let M="DYNAMIC_"+ ++yt,be=ui.a.deserialize(v);return this._standaloneKeybindingService.addDynamicKeybinding(M,me,s,be),M}createContextKey(me,s){return this._contextKeyService.createKey(me,s)}addAction(me){if(typeof me.id!="string"||typeof me.label!="string"||typeof me.run!="function")throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),Y.a.None;let s=me.id,v=me.label,M=ui.a.and(ui.a.equals("editorId",this.getId()),ui.a.deserialize(me.precondition)),be=me.keybindings,Ne=ui.a.and(M,ui.a.deserialize(me.keybindingContext)),De=me.contextMenuGroupId||null,je=me.contextMenuOrder||0,mt=(en,...tn)=>Promise.resolve(me.run(this,...tn)),It=new Y.b,Qt=this.getId()+":"+s;if(It.add(S.a.registerCommand(Qt,mt)),De){let en={command:{id:Qt,title:v},when:M,group:De,order:je};It.add(fi.d.appendMenuItem(fi.b.EditorContext,en))}if(Array.isArray(be))for(let en of be)It.add(this._standaloneKeybindingService.addDynamicKeybinding(Qt,en,mt,Ne));let Oi=new Ei.a(Qt,v,v,M,mt,this._contextKeyService);return this._actions[s]=Oi,It.add(Object(Y.h)(()=>{delete this._actions[s]})),It}};Xt=Ke([dt(2,Ee.a),dt(3,H.a),dt(4,S.b),dt(5,ui.b),dt(6,ve.a),dt(7,Re.c),dt(8,Mt.a),dt(9,We.b)],Xt);let mi=class extends Xt{constructor(me,s,v,M,be,Ne,De,je,mt,It,Qt,Oi,en){qe(Oi,s,!1);let tn=It.registerEditorContainer(me);typeof(s=s||{}).theme=="string"&&It.setTheme(s.theme);let kn,no=s.model;if(delete s.model,super(me,s,M,be,Ne,De,je,It,Qt,en),this._contextViewService=mt,this._configurationService=Oi,this._standaloneThemeService=It,this._register(v),this._register(tn),no===void 0?(kn=self.monaco.editor.createModel(s.value||"",s.language||"text/plain"),this._ownsModel=!0):(kn=no,this._ownsModel=!1),this._attachModel(kn),kn){let lo={oldModelUrl:null,newModelUrl:kn.uri};this._onDidChangeModel.fire(lo)}}dispose(){super.dispose()}updateOptions(me){qe(this._configurationService,me,!1),typeof me.theme=="string"&&this._standaloneThemeService.setTheme(me.theme),super.updateOptions(me)}_attachModel(me){super._attachModel(me),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(me){super._postDetachModelCleanup(me),me&&this._ownsModel&&(me.dispose(),this._ownsModel=!1)}};mi=Ke([dt(3,Ee.a),dt(4,H.a),dt(5,S.b),dt(6,ui.b),dt(7,ve.a),dt(8,Te.b),dt(9,ai.a),dt(10,Mt.a),dt(11,un.a),dt(12,We.b)],mi);let Yt=class extends xi.a{constructor(me,s,v,M,be,Ne,De,je,mt,It,Qt,Oi,en,tn,kn){qe(Oi,s,!0);let no=It.registerEditorContainer(me);typeof(s=s||{}).theme=="string"&&(s.theme=It.setTheme(s.theme)),super(me,s,kn,je,be,M,mt,It,Qt,en,tn),this._contextViewService=De,this._configurationService=Oi,this._standaloneThemeService=It,this._register(v),this._register(no),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(me){qe(this._configurationService,me,!0),typeof me.theme=="string"&&this._standaloneThemeService.setTheme(me.theme),super.updateOptions(me)}_createInnerEditor(me,s,v){return me.createInstance(Xt,s,v)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(me,s,v){return this.getModifiedEditor().addCommand(me,s,v)}createContextKey(me,s){return this.getModifiedEditor().createContextKey(me,s)}addAction(me){return this.getModifiedEditor().addAction(me)}};Yt=Ke([dt(3,Ee.a),dt(4,ui.b),dt(5,ve.a),dt(6,Te.b),dt(7,se.a),dt(8,H.a),dt(9,ai.a),dt(10,Mt.a),dt(11,un.a),dt(12,Te.a),dt(13,Le.a),dt(14,Be.a)],Yt);var ri=o(109);class qi{constructor(s){this._languageIdentifier=s}getId(){return this._languageIdentifier.language}}var an=o(42),_n=o(187);let ei=[],ii=[],bi=[];function ln(me,s=!1){let v=function(M){return{id:M.id,mime:M.mime,filename:M.filename,extension:M.extension,filepattern:M.filepattern,firstline:M.firstline,userConfigured:M.userConfigured,filenameLowercase:M.filename?M.filename.toLowerCase():void 0,extensionLowercase:M.extension?M.extension.toLowerCase():void 0,filepatternLowercase:M.filepattern?M.filepattern.toLowerCase():void 0,filepatternOnPath:!!M.filepattern&&M.filepattern.indexOf(an.e.sep)>=0}}(me);ei.push(v),v.userConfigured?bi.push(v):ii.push(v),s&&!v.userConfigured&&ei.forEach(M=>{M.mime===v.mime||M.userConfigured||(v.extension&&M.extension===v.extension&&console.warn(`Overwriting extension <<${v.extension}>> to now point to mime <<${v.mime}>>`),v.filename&&M.filename===v.filename&&console.warn(`Overwriting filename <<${v.filename}>> to now point to mime <<${v.mime}>>`),v.filepattern&&M.filepattern===v.filepattern&&console.warn(`Overwriting filepattern <<${v.filepattern}>> to now point to mime <<${v.mime}>>`),v.firstline&&M.firstline===v.firstline&&console.warn(`Overwriting firstline <<${v.firstline}>> to now point to mime <<${v.mime}>>`))})}function mn(me,s){let v;if(me)switch(me.scheme){case Q.b.file:v=me.fsPath;break;case Q.b.data:v=y.a.parseMetaData(me).get(y.a.META_DATA_LABEL);break;default:v=me.path}if(!v)return["application/unknown"];v=v.toLowerCase();let M=Object(an.a)(v),be=sn(v,M,bi);if(be)return[be,"text/plain"];let Ne=sn(v,M,ii);if(Ne)return[Ne,"text/plain"];if(s){let De=function(je){if(Object(ht.U)(je)&&(je=je.substr(1)),je.length>0)for(let mt=ei.length-1;mt>=0;mt--){let It=ei[mt];if(!It.firstline)continue;let Qt=je.match(It.firstline);if(Qt&&Qt.length>0)return It.mime}return null}(s);if(De)return[De,"text/plain"]}return["application/unknown"]}function sn(me,s,v){let M=null,be=null,Ne=null;for(let De=v.length-1;De>=0;De--){let je=v[De];if(s===je.filenameLowercase){M=je;break}if(je.filepattern&&(!be||je.filepattern.length>be.filepattern.length)){let mt=je.filepatternOnPath?me:s;Object(_n.a)(je.filepatternLowercase,mt)&&(be=je)}je.extension&&(!Ne||je.extension.length>Ne.extension.length)&&s.endsWith(je.extensionLowercase)&&(Ne=je)}return M?M.mime:be?be.mime:Ne?Ne.mime:null}var gn=o(146),Sn=o(56);let En=Object.prototype.hasOwnProperty;class Xn extends Y.a{constructor(s=!0,v=!1){super(),this._onDidChange=this._register(new yi.a),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=v,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},s&&(this._initializeFromRegistry(),this._register(gn.a.onDidChangeLanguages(M=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};let s=gn.a.getLanguages();this._registerLanguages(s)}_registerLanguages(s){for(let v of s)this._registerLanguage(v);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(v=>{let M=this._languages[v];M.name&&(this._nameMap[M.name]=M.identifier),M.aliases.forEach(be=>{this._lowercaseNameMap[be.toLowerCase()]=M.identifier}),M.mimetypes.forEach(be=>{this._mimeTypesMap[be]=M.identifier})}),Sn.a.as(Mn.a.Configuration).registerOverrideIdentifiers(gn.a.getLanguages().map(v=>v.id)),this._onDidChange.fire()}_getLanguageId(s){if(this._languageToLanguageId[s])return this._languageToLanguageId[s];let v=this._nextLanguageId2++;return this._languageIdToLanguage[v]=s,this._languageToLanguageId[s]=v,v}_registerLanguage(s){let v=s.id,M;if(En.call(this._languages,v))M=this._languages[v];else{let be=this._getLanguageId(v);M={identifier:new q.r(v,be),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[v]=M}this._mergeLanguage(M,s)}_mergeLanguage(s,v){let M=v.id,be=null;if(Array.isArray(v.mimetypes)&&v.mimetypes.length>0&&(s.mimetypes.push(...v.mimetypes),be=v.mimetypes[0]),be||(be="text/x-"+M,s.mimetypes.push(be)),Array.isArray(v.extensions)){v.configuration?s.extensions=v.extensions.concat(s.extensions):s.extensions=s.extensions.concat(v.extensions);for(let je of v.extensions)ln({id:M,mime:be,extension:je},this._warnOnOverwrite)}if(Array.isArray(v.filenames))for(let je of v.filenames)ln({id:M,mime:be,filename:je},this._warnOnOverwrite),s.filenames.push(je);if(Array.isArray(v.filenamePatterns))for(let je of v.filenamePatterns)ln({id:M,mime:be,filepattern:je},this._warnOnOverwrite);if(typeof v.firstLine=="string"&&v.firstLine.length>0){let je=v.firstLine;je.charAt(0)!=="^"&&(je="^"+je);try{let mt=new RegExp(je);ht.P(mt)||ln({id:M,mime:be,firstline:mt},this._warnOnOverwrite)}catch(mt){Object(z.e)(mt)}}s.aliases.push(M);let Ne=null;if(v.aliases!==void 0&&Array.isArray(v.aliases)&&(Ne=v.aliases.length===0?[null]:v.aliases),Ne!==null)for(let je of Ne)je&&je.length!==0&&s.aliases.push(je);let De=Ne!==null&&Ne.length>0;if(!(De&&Ne[0]===null)){let je=(De?Ne[0]:null)||M;!De&&s.name||(s.name=je)}v.configuration&&s.configurationFiles.push(v.configuration)}isRegisteredMode(s){return!!En.call(this._mimeTypesMap,s)||En.call(this._languages,s)}getModeIdForLanguageNameLowercase(s){return En.call(this._lowercaseNameMap,s)?this._lowercaseNameMap[s].language:null}extractModeIds(s){return s?s.split(",").map(v=>v.trim()).map(v=>En.call(this._mimeTypesMap,v)?this._mimeTypesMap[v].language:v).filter(v=>En.call(this._languages,v)):[]}getLanguageIdentifier(s){if(s===B.b||s===0)return B.a;let v;if(typeof s=="string")v=s;else if(v=this._languageIdToLanguage[s],!v)return null;return En.call(this._languages,v)?this._languages[v].identifier:null}getModeIdsFromFilepathOrFirstLine(s,v){if(!s&&!v)return[];let M=mn(s,v);return this.extractModeIds(M.join(","))}}class Yn extends Y.a{constructor(s,v){super(),this._onDidChange=this._register(new yi.a),this.onDidChange=this._onDidChange.event,this._selector=v,this.languageIdentifier=this._selector(),this._register(s(()=>this._evaluate()))}_evaluate(){let s=this._selector();s.id!==this.languageIdentifier.id&&(this.languageIdentifier=s,this._onDidChange.fire(this.languageIdentifier))}}class Io{constructor(s=!1){this._onDidCreateMode=new yi.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new yi.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Xn(!0,s),this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire())}isRegisteredMode(s){return this._registry.isRegisteredMode(s)}getModeIdForLanguageName(s){return this._registry.getModeIdForLanguageNameLowercase(s)}getModeIdByFilepathOrFirstLine(s,v){let M=this._registry.getModeIdsFromFilepathOrFirstLine(s,v);return Object(fe.k)(M,null)}getModeId(s){let v=this._registry.extractModeIds(s);return Object(fe.k)(v,null)}getLanguageIdentifier(s){return this._registry.getLanguageIdentifier(s)}create(s){return new Yn(this.onLanguagesMaybeChanged,()=>{let v=this.getModeId(s);return this._createModeAndGetLanguageIdentifier(v)})}createByFilepathOrFirstLine(s,v){return new Yn(this.onLanguagesMaybeChanged,()=>{let M=this.getModeIdByFilepathOrFirstLine(s,v);return this._createModeAndGetLanguageIdentifier(M)})}_createModeAndGetLanguageIdentifier(s){let v=this.getLanguageIdentifier(s||"plaintext")||B.a;return this._getOrCreateMode(v.language),v}triggerMode(s){let v=this.getModeId(s);this._getOrCreateMode(v||"plaintext")}_getOrCreateMode(s){if(!this._instantiatedModes.hasOwnProperty(s)){let v=this.getLanguageIdentifier(s)||B.a;this._instantiatedModes[s]=new qi(v),this._onDidCreateMode.fire(this._instantiatedModes[s])}return this._instantiatedModes[s]}}var Ro=o(183);class In extends Y.a{constructor(){super(),this._onCodeEditorAdd=this._register(new yi.a),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new yi.a),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new yi.a),this._onDiffEditorRemove=this._register(new yi.a),this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(s){this._codeEditors[s.getId()]=s,this._onCodeEditorAdd.fire(s)}removeCodeEditor(s){delete this._codeEditors[s.getId()]&&this._onCodeEditorRemove.fire(s)}listCodeEditors(){return Object.keys(this._codeEditors).map(s=>this._codeEditors[s])}addDiffEditor(s){this._diffEditors[s.getId()]=s,this._onDiffEditorAdd.fire(s)}removeDiffEditor(s){delete this._diffEditors[s.getId()]&&this._onDiffEditorRemove.fire(s)}listDiffEditors(){return Object.keys(this._diffEditors).map(s=>this._diffEditors[s])}getFocusedCodeEditor(){let s=null,v=this.listCodeEditors();for(let M of v){if(M.hasTextFocus())return M;M.hasWidgetFocus()&&(s=M)}return s}setModelProperty(s,v,M){let be=s.toString(),Ne;this._modelProperties.has(be)?Ne=this._modelProperties.get(be):(Ne=new Map,this._modelProperties.set(be,Ne)),Ne.set(v,M)}getModelProperty(s,v){let M=s.toString();if(this._modelProperties.has(M))return this._modelProperties.get(M).get(v)}}var Rn=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},Qn=function(me,s){return function(v,M){s(v,M,me)}};class vo{constructor(s,v,M){this._parent=s,this._editorId=v,this._styleSheet=M,this._refCount=0}ref(){this._refCount++}unref(){var s;this._refCount--,this._refCount===0&&((s=this._styleSheet.parentNode)===null||s===void 0||s.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(s,v){this._styleSheet.sheet.insertRule(s,v)}removeRulesContainingSelector(s){E.P(s,this._styleSheet)}}class Mo{constructor(s){this._styleSheet=s}ref(){}unref(){}insertRule(s,v){this._styleSheet.sheet.insertRule(s,v)}removeRulesContainingSelector(s){E.P(s,this._styleSheet)}}let So=class extends In{constructor(me,s=null){super(),this._decorationOptionProviders=new Map,this._editorStyleSheets=new Map,this._globalStyleSheet=s||null,this._themeService=me}_getOrCreateGlobalStyleSheet(){return this._globalStyleSheet||(this._globalStyleSheet=new Mo(E.v())),this._globalStyleSheet}_getOrCreateStyleSheet(me){if(!me)return this._getOrCreateGlobalStyleSheet();let s=me.getContainerDomNode();if(!E.O(s))return this._getOrCreateGlobalStyleSheet();let v=me.getId();if(!this._editorStyleSheets.has(v)){let M=new vo(this,v,E.v(s));this._editorStyleSheets.set(v,M)}return this._editorStyleSheets.get(v)}_removeEditorStyleSheets(me){this._editorStyleSheets.delete(me)}registerDecorationType(me,s,v,M){let be=this._decorationOptionProviders.get(me);if(!be){let Ne=this._getOrCreateStyleSheet(M),De={styleSheet:Ne,key:me,parentTypeKey:v,options:s||Object.create(null)};be=v?new ko(this._themeService,Ne,De):new po(this._themeService,Ne,De),this._decorationOptionProviders.set(me,be)}be.refCount++}removeDecorationType(me){let s=this._decorationOptionProviders.get(me);s&&(s.refCount--,s.refCount<=0&&(this._decorationOptionProviders.delete(me),s.dispose(),this.listCodeEditors().forEach(v=>v.removeDecorations(me))))}resolveDecorationOptions(me,s){let v=this._decorationOptionProviders.get(me);if(!v)throw new Error("Unknown decoration type key: "+me);return v.getOptions(this,s)}};So=Rn([Qn(0,Re.c)],So);class ko{constructor(s,v,M){this._styleSheet=v,this._styleSheet.ref(),this._parentTypeKey=M.parentTypeKey,this.refCount=0,this._beforeContentRules=new No(3,M,s),this._afterContentRules=new No(4,M,s)}getOptions(s,v){let M=s.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(M.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(M.afterContentClassName=this._afterContentRules.className),M}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class po{constructor(s,v,M){this._disposables=new Y.b,this._styleSheet=v,this._styleSheet.ref(),this.refCount=0;let be=It=>{let Qt=new No(It,M,s);if(this._disposables.add(Qt),Qt.hasContent)return Qt.className};this.className=be(0);let Ne=(It=>{let Qt=new No(It,M,s);return this._disposables.add(Qt),Qt.hasContent?{className:Qt.className,hasLetterSpacing:Qt.hasLetterSpacing}:null})(1);Ne&&(this.inlineClassName=Ne.className,this.inlineClassNameAffectsLetterSpacing=Ne.hasLetterSpacing),this.beforeContentClassName=be(3),this.afterContentClassName=be(4),this.glyphMarginClassName=be(2);let De=M.options;this.isWholeLine=Boolean(De.isWholeLine),this.stickiness=De.rangeBehavior;let je=De.light&&De.light.overviewRulerColor||De.overviewRulerColor,mt=De.dark&&De.dark.overviewRulerColor||De.overviewRulerColor;je===void 0&&mt===void 0||(this.overviewRuler={color:je||mt,darkColor:mt||je,position:De.overviewRulerLane||U.d.Center})}getOptions(s,v){return v?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}let Tn={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"};class No{constructor(s,v,M){this._theme=M.getColorTheme(),this._ruleType=s,this._providerArgs=v,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let be=Ho.getClassName(this._providerArgs.key,s);this._providerArgs.parentTypeKey&&(be=be+" "+Ho.getClassName(this._providerArgs.parentTypeKey,s)),this._className=be,this._unThemedSelector=Ho.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,s),this._buildCSS(),this._usesThemeColors?this._themeListener=M.onDidColorThemeChange(Ne=>{this._theme=M.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){let s=this._providerArgs.options,v,M,be;switch(this._ruleType){case 0:v=this.getCSSTextForModelDecorationClassName(s),M=this.getCSSTextForModelDecorationClassName(s.light),be=this.getCSSTextForModelDecorationClassName(s.dark);break;case 1:v=this.getCSSTextForModelDecorationInlineClassName(s),M=this.getCSSTextForModelDecorationInlineClassName(s.light),be=this.getCSSTextForModelDecorationInlineClassName(s.dark);break;case 2:v=this.getCSSTextForModelDecorationGlyphMarginClassName(s),M=this.getCSSTextForModelDecorationGlyphMarginClassName(s.light),be=this.getCSSTextForModelDecorationGlyphMarginClassName(s.dark);break;case 3:v=this.getCSSTextForModelDecorationContentClassName(s.before),M=this.getCSSTextForModelDecorationContentClassName(s.light&&s.light.before),be=this.getCSSTextForModelDecorationContentClassName(s.dark&&s.dark.before);break;case 4:v=this.getCSSTextForModelDecorationContentClassName(s.after),M=this.getCSSTextForModelDecorationContentClassName(s.light&&s.light.after),be=this.getCSSTextForModelDecorationContentClassName(s.dark&&s.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}let Ne=this._providerArgs.styleSheet,De=!1;v.length>0&&(Ne.insertRule(`${this._unThemedSelector} {${v}}`,0),De=!0),M.length>0&&(Ne.insertRule(`.vs${this._unThemedSelector} {${M}}`,0),De=!0),be.length>0&&(Ne.insertRule(`.vs-dark${this._unThemedSelector}, .hc-black${this._unThemedSelector} {${be}}`,0),De=!0),this._hasContent=De}_removeCSS(){this._providerArgs.styleSheet.removeRulesContainingSelector(this._unThemedSelector)}getCSSTextForModelDecorationClassName(s){if(!s)return"";let v=[];return this.collectCSSText(s,["backgroundColor"],v),this.collectCSSText(s,["outline","outlineColor","outlineStyle","outlineWidth"],v),this.collectBorderSettingsCSSText(s,v),v.join("")}getCSSTextForModelDecorationInlineClassName(s){if(!s)return"";let v=[];return this.collectCSSText(s,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],v),s.letterSpacing&&(this._hasLetterSpacing=!0),v.join("")}getCSSTextForModelDecorationContentClassName(s){if(!s)return"";let v=[];if(s!==void 0){if(this.collectBorderSettingsCSSText(s,v),s.contentIconPath!==void 0&&v.push(ht.x(Tn.contentIconPath,E.q(C.a.revive(s.contentIconPath)))),typeof s.contentText=="string"){let M=s.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");v.push(ht.x(Tn.contentText,M))}this.collectCSSText(s,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],v),this.collectCSSText(s,["width","height"],v)&&v.push("display:inline-block;")}return v.join("")}getCSSTextForModelDecorationGlyphMarginClassName(s){if(!s)return"";let v=[];return s.gutterIconPath!==void 0&&(v.push(ht.x(Tn.gutterIconPath,E.q(C.a.revive(s.gutterIconPath)))),s.gutterIconSize!==void 0&&v.push(ht.x(Tn.gutterIconSize,s.gutterIconSize))),v.join("")}collectBorderSettingsCSSText(s,v){return!!this.collectCSSText(s,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],v)&&(v.push(ht.x("box-sizing: border-box;")),!0)}collectCSSText(s,v,M){let be=M.length;for(let Ne of v){let De=this.resolveValue(s[Ne]);typeof De=="string"&&M.push(ht.x(Tn[Ne],De))}return M.length!==be}resolveValue(s){if(Object(ie.b)(s)){this._usesThemeColors=!0;let v=this._theme.getColor(s.id);return v?v.toString():"transparent"}return s}}class Ho{static getClassName(s,v){return"ced-"+s+"-"+v}static getSelector(s,v,M){let be=".monaco-editor ."+this.getClassName(s,M);return v&&(be=be+"."+this.getClassName(v,M)),M===3?be+="::before":M===4&&(be+="::after"),be}}class gr extends So{getActiveCodeEditor(){return null}openCodeEditor(s,v,M){return v?Promise.resolve(this.doOpenEditor(v,s)):Promise.resolve(null)}doOpenEditor(s,v){if(!this.findModel(s,v.resource)){if(v.resource){let be=v.resource.scheme;if(be===Q.b.http||be===Q.b.https)return Object(E.cb)(v.resource.toString()),s}return null}let M=v.options?v.options.selection:null;if(M)if(typeof M.endLineNumber=="number"&&typeof M.endColumn=="number")s.setSelection(M),s.revealRangeInCenter(M,1);else{let be={lineNumber:M.startLineNumber,column:M.startColumn};s.setPosition(be),s.revealPositionInCenter(be,1)}return s}findModel(s,v){let M=s.getModel();return M&&M.uri.toString()!==v.toString()?null:M}}var wo=o(16);class ls{constructor(s,v,M,be,Ne){this.token=s,this.index=v,this.fontStyle=M,this.foreground=be,this.background=Ne}}let Br=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class Kn{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(s){if(s===null)return 0;let v=s.match(Br);if(!v)throw new Error("Illegal value for token color: "+s);s=v[1].toUpperCase();let M=this._color2id.get(s);return M||(M=++this._lastColorId,this._color2id.set(s,M),this._id2color[M]=wo.a.fromHex("#"+s),M)}getColorMap(){return this._id2color.slice(0)}}class cr{constructor(s,v){this._colorMap=s,this._root=v,this._cache=new Map}static createFromRawTokenTheme(s,v){return this.createFromParsedTokenTheme(function(M){if(!M||!Array.isArray(M))return[];let be=[],Ne=0;for(let De=0,je=M.length;De<je;De++){let mt=M[De],It=-1;if(typeof mt.fontStyle=="string"){It=0;let en=mt.fontStyle.split(" ");for(let tn=0,kn=en.length;tn<kn;tn++)switch(en[tn]){case"italic":It|=1;break;case"bold":It|=2;break;case"underline":It|=4}}let Qt=null;typeof mt.foreground=="string"&&(Qt=mt.foreground);let Oi=null;typeof mt.background=="string"&&(Oi=mt.background),be[Ne++]=new ls(mt.token||"",De,It,Qt,Oi)}return be}(s),v)}static createFromParsedTokenTheme(s,v){return function(M,be){M.sort((tn,kn)=>{let no=function(lo,uo){return lo<uo?-1:lo>uo?1:0}(tn.token,kn.token);return no!==0?no:tn.index-kn.index});let Ne=0,De="000000",je="ffffff";for(;M.length>=1&&M[0].token==="";){let tn=M.shift();tn.fontStyle!==-1&&(Ne=tn.fontStyle),tn.foreground!==null&&(De=tn.foreground),tn.background!==null&&(je=tn.background)}let mt=new Kn;for(let tn of be)mt.getId(tn);let It=mt.getId(De),Qt=mt.getId(je),Oi=new Lr(Ne,It,Qt),en=new jr(Oi);for(let tn=0,kn=M.length;tn<kn;tn++){let no=M[tn];en.insert(no.token,no.fontStyle,mt.getId(no.foreground),mt.getId(no.background))}return new cr(mt,en)}(s,v)}getColorMap(){return this._colorMap.getColorMap()}_match(s){return this._root.match(s)}match(s,v){let M=this._cache.get(v);if(M===void 0){let be=this._match(v),Ne=function(De){let je=De.match(Eo);if(!je)return 0;switch(je[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(v);M=(be.metadata|Ne<<8)>>>0,this._cache.set(v,M)}return(M|s<<0)>>>0}}let Eo=/\b(comment|string|regex|regexp)\b/;class Lr{constructor(s,v,M){this._fontStyle=s,this._foreground=v,this._background=M,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new Lr(this._fontStyle,this._foreground,this._background)}acceptOverwrite(s,v,M){s!==-1&&(this._fontStyle=s),v!==0&&(this._foreground=v),M!==0&&(this._background=M),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class jr{constructor(s){this._mainRule=s,this._children=new Map}match(s){if(s==="")return this._mainRule;let v,M,be=s.indexOf(".");be===-1?(v=s,M=""):(v=s.substring(0,be),M=s.substring(be+1));let Ne=this._children.get(v);return Ne!==void 0?Ne.match(M):this._mainRule}insert(s,v,M,be){if(s==="")return void this._mainRule.acceptOverwrite(v,M,be);let Ne,De,je=s.indexOf(".");je===-1?(Ne=s,De=""):(Ne=s.substring(0,je),De=s.substring(je+1));let mt=this._children.get(Ne);mt===void 0&&(mt=new jr(this._mainRule.clone()),this._children.set(Ne,mt)),mt.insert(De,v,M,be)}}var Ko=o(57),Cn=o(5);let Oo={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Cn.s]:"#FFFFFE",[Cn.B]:"#000000",[Cn.J]:"#E5EBF1",[Ko.h]:"#D3D3D3",[Ko.a]:"#939393",[Cn.Q]:"#ADD6FF4D"}},Do={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Cn.s]:"#1E1E1E",[Cn.B]:"#D4D4D4",[Cn.J]:"#3A3D41",[Ko.h]:"#404040",[Ko.a]:"#707070",[Cn.Q]:"#ADD6FF26"}},fr={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Cn.s]:"#000000",[Cn.B]:"#FFFFFF",[Ko.h]:"#FFFFFF",[Ko.a]:"#FFFFFF"}};var zn=o(154);let eo=Sn.a.as(Cn.a.ColorContribution),br=Sn.a.as(Re.a.ThemingContribution);class va{constructor(s,v){this.semanticHighlighting=!1,this.themeData=v;let M=v.base;s.length>0?(this.id=M+" "+s,this.themeName=s):(this.id=M,this.themeName=M),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){let s=new Map;for(let v in this.themeData.colors)s.set(v,wo.a.fromHex(this.themeData.colors[v]));if(this.themeData.inherit){let v=Vr(this.themeData.base);for(let M in v.colors)s.has(M)||s.set(M,wo.a.fromHex(v.colors[M]))}this.colors=s}return this.colors}getColor(s,v){return this.getColors().get(s)||(v!==!1?this.getDefault(s):void 0)}getDefault(s){let v=this.defaultColors[s];return v||(v=eo.resolveDefaultColor(s,this),this.defaultColors[s]=v,v)}defines(s){return Object.prototype.hasOwnProperty.call(this.getColors(),s)}get type(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}}get tokenTheme(){if(!this._tokenTheme){let s=[],v=[];if(this.themeData.inherit){let M=Vr(this.themeData.base);s=M.rules,M.encodedTokensColors&&(v=M.encodedTokensColors)}s=s.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(v=this.themeData.encodedTokensColors),this._tokenTheme=cr.createFromRawTokenTheme(s,v)}return this._tokenTheme}getTokenStyleMetadata(s,v,M){let be=this.tokenTheme._match([s].concat(v).join(".")).metadata,Ne=q.B.getForeground(be),De=q.B.getFontStyle(be);return{foreground:Ne,italic:Boolean(1&De),bold:Boolean(2&De),underline:Boolean(4&De)}}}function es(me){return me==="vs"||me==="vs-dark"||me==="hc-black"}function Vr(me){switch(me){case"vs":return Oo;case"vs-dark":return Do;case"hc-black":return fr}}function Nr(me){let s=Vr(me);return new va(me,s)}class ts extends Y.a{constructor(){super(),this._onColorThemeChange=this._register(new yi.a),this.onDidColorThemeChange=this._onColorThemeChange.event,this._environment=Object.create(null),this._knownThemes=new Map,this._knownThemes.set("vs",Nr("vs")),this._knownThemes.set("vs-dark",Nr("vs-dark")),this._knownThemes.set("hc-black",Nr("hc-black")),this._codiconCSS=zn.a.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS} +${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this.setTheme("vs"),zn.a.onDidChange(()=>{this._codiconCSS=zn.a.getCSS(),this._updateCSS()})}registerEditorContainer(s){return E.O(s)?this._registerShadowDomContainer(s):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=E.v(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._allCSS,this._styleElements.push(this._globalStyleElement)),Y.a.None}_registerShadowDomContainer(s){let v=E.v(s);return v.className="monaco-colors",v.innerHTML=this._allCSS,this._styleElements.push(v),{dispose:()=>{for(let M=0;M<this._styleElements.length;M++)if(this._styleElements[M]===v)return void this._styleElements.splice(M,1)}}}defineTheme(s,v){if(!/^[a-z0-9\-]+$/i.test(s))throw new Error("Illegal theme name!");if(!es(v.base)&&!es(s))throw new Error("Illegal theme base!");this._knownThemes.set(s,new va(s,v)),es(s)&&this._knownThemes.forEach(M=>{M.base===s&&M.notifyBaseUpdated()}),this._theme&&this._theme.themeName===s&&this.setTheme(s)}getColorTheme(){return this._theme}setTheme(s){let v;if(v=this._knownThemes.has(s)?this._knownThemes.get(s):this._knownThemes.get("vs"),this._theme===v)return v.id;this._theme=v;let M=[],be={},Ne={addRule:je=>{be[je]||(M.push(je),be[je]=!0)}};br.getThemingParticipants().forEach(je=>je(v,Ne,this._environment));let De=v.tokenTheme.getColorMap();return Ne.addRule(function(je){let mt=[];for(let It=1,Qt=je.length;It<Qt;It++){let Oi=je[It];mt[It]=`.mtk${It} { color: ${Oi}; }`}return mt.push(".mtki { font-style: italic; }"),mt.push(".mtkb { font-weight: bold; }"),mt.push(".mtku { text-decoration: underline; text-underline-position: under; }"),mt.join(` +`)}(De)),this._themeCSS=M.join(` +`),this._updateCSS(),q.C.setColorMap(De),this._onColorThemeChange.fire(v),v.id}_updateCSS(){this._allCSS=`${this._codiconCSS} +${this._themeCSS}`,this._styleElements.forEach(s=>s.innerHTML=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var na=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},is=function(me,s){return function(v,M){s(v,M,me)}};class Ur{constructor(s,v){this._id=s,this._parent=v,this._value=Object.create(null),this._value._contextId=s}setValue(s,v){return this._value[s]!==v&&(this._value[s]=v,!0)}removeValue(s){return s in this._value&&(delete this._value[s],!0)}getValue(s){let v=this._value[s];return v===void 0&&this._parent?this._parent.getValue(s):v}}class cs extends Ur{constructor(){super(-1,null)}setValue(s,v){return!1}removeValue(s){return!1}getValue(s){}}cs.INSTANCE=new cs;class dr extends Ur{constructor(s,v,M){super(s,null),this._configurationService=v,this._values=new Map,this._listener=this._configurationService.onDidChangeConfiguration(be=>{if(be.source===6){let Ne=Array.from(this._values.keys());this._values.clear(),M.fire(new wa(Ne))}else{let Ne=[];for(let De of be.affectedKeys){let je="config."+De;this._values.has(je)&&(this._values.delete(je),Ne.push(je))}M.fire(new wa(Ne))}})}dispose(){this._listener.dispose()}getValue(s){if(s.indexOf(dr._keyPrefix)!==0)return super.getValue(s);if(this._values.has(s))return this._values.get(s);let v=s.substr(dr._keyPrefix.length),M=this._configurationService.getValue(v),be;switch(typeof M){case"number":case"boolean":case"string":be=M;break;default:Array.isArray(M)&&(be=JSON.stringify(M))}return this._values.set(s,be),be}setValue(s,v){return super.setValue(s,v)}removeValue(s){return super.removeValue(s)}}dr._keyPrefix="config.";class nr{constructor(s,v,M){this._service=s,this._key=v,this._defaultValue=M,this.reset()}set(s){this._service.setContext(this._key,s)}reset(){this._defaultValue===void 0?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class _r{constructor(s){this.key=s}affectsSome(s){return s.has(this.key)}}class wa{constructor(s){this.keys=s}affectsSome(s){for(let v of this.keys)if(s.has(v))return!0;return!1}}class zo{constructor(s){this.events=s}affectsSome(s){for(let v of this.events)if(v.affectsSome(s))return!0;return!1}}class Cs{constructor(s){this._onDidChangeContext=new yi.d({merge:v=>new zo(v)}),this._isDisposed=!1,this._myContextId=s}createKey(s,v){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new nr(this,s,v)}get onDidChangeContext(){return this._onDidChangeContext.event}bufferChangeEvents(s){this._onDidChangeContext.pause();try{s()}finally{this._onDidChangeContext.resume()}}createScoped(s){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new ya(this,s)}contextMatchesRules(s){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");let v=this.getContextValuesContainer(this._myContextId);return on.contextMatchesRules(v,s)}getContextKeyValue(s){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(s)}setContext(s,v){if(this._isDisposed)return;let M=this.getContextValuesContainer(this._myContextId);M&&M.setValue(s,v)&&this._onDidChangeContext.fire(new _r(s))}removeContext(s){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(s)&&this._onDidChangeContext.fire(new _r(s))}getContext(s){return this._isDisposed?cs.INSTANCE:this.getContextValuesContainer(function(v){for(;v;){if(v.hasAttribute("data-keybinding-context")){let M=v.getAttribute("data-keybinding-context");return M?parseInt(M,10):NaN}v=v.parentElement}return 0}(s))}}let Hr=class extends Cs{constructor(me){super(0),this._contexts=new Map,this._toDispose=new Y.b,this._lastContextId=0;let s=new dr(this._myContextId,me,this._onDidChangeContext);this._contexts.set(this._myContextId,s),this._toDispose.add(s)}dispose(){this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(me){return this._isDisposed?cs.INSTANCE:this._contexts.get(me)||cs.INSTANCE}createChildContext(me=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let s=++this._lastContextId;return this._contexts.set(s,new Ur(s,this.getContextValuesContainer(me))),s}disposeContext(me){this._isDisposed||this._contexts.delete(me)}};Hr=na([is(0,un.a)],Hr);class ya extends Cs{constructor(s,v){super(s.createChildContext()),this._parent=s,v&&(this._domNode=v,this._domNode.setAttribute("data-keybinding-context",String(this._myContextId)))}dispose(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute("data-keybinding-context"),this._domNode=void 0)}get onDidChangeContext(){return yi.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)}getContextValuesContainer(s){return this._isDisposed?cs.INSTANCE:this._parent.getContextValuesContainer(s)}createChildContext(s=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(s)}disposeContext(s){this._isDisposed||this._parent.disposeContext(s)}}S.a.registerCommand(ui.d,function(me,s,v){me.get(ui.b).createKey(String(s),v)}),o(259);var vr=o(60),ds=o(116),oa=o(105),wr=(o(261),o(99)),ns=o(138);function Ui(me,s,v){let M=v.offset+v.size;return v.position===0?s<=me-M?M:s<=v.offset?v.offset-s:Math.max(me-s,0):s<=v.offset?v.offset-s:s<=me-M?M:0}class or extends Y.a{constructor(s,v){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=Y.a.None,this.toDisposeOnSetContainer=Y.a.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=E.a(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,E.K(this.view),this.setContainer(s,v),this._register(Object(Y.h)(()=>this.setContainer(null,1)))}setContainer(s,v){if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,E.S(this.shadowRootHostElement),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),s){this.container=s,this.useFixedPosition=v!==1,this.useShadowDOM=v===3,this.useShadowDOM?(this.shadowRootHostElement=E.a(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=` <style> - ${qg} + ${xs} </style> - `,this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(P.a("slot"))):this.container.appendChild(this.view);const E=new N.b();ef.BUBBLE_UP_EVENTS.forEach(ca=>{E.add(P.n(this.container,ca,Ca=>{this.onDOMEvent(Ca,!1)}))}),ef.BUBBLE_DOWN_EVENTS.forEach(ca=>{E.add(P.n(this.container,ca,Ca=>{this.onDOMEvent(Ca,!0)},!0))}),this.toDisposeOnSetContainer=E}}show(h){this.isVisible()&&this.hide(),P.s(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",P.Z(this.view),this.toDisposeOnClean=h.render(this.view)||N.a.None,this.delegate=h,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||ma.c&&dg.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let h,n=this.delegate.getAnchor();if(P.M(n)){let Mc=P.C(n);h={top:Mc.top,left:Mc.left,width:Mc.width,height:Mc.height}}else h={top:n.y,left:n.x,width:n.width||1,height:n.height||2};const E=P.H(this.view),ca=P.G(this.view),Ca=this.delegate.anchorPosition||0,Ma=this.delegate.anchorAlignment||0,Ea={offset:h.top-window.pageYOffset,size:h.height,position:0===Ca?0:1};let eb;eb=0===Ma?{offset:h.left,size:0,position:0}:{offset:h.left+h.width,size:0,position:1};const Cb=Oc(window.innerHeight,ca,Ea)+window.pageYOffset;uf.a.intersects({start:Cb,end:Cb+ca},{start:Ea.offset,end:Ea.offset+Ea.size})&&(eb.size=h.width,1===Ma&&(eb.offset=h.left));const bc=Oc(window.innerWidth,E,eb);P.R(this.view,"top","bottom","left","right"),P.e(this.view,0===Ca?"bottom":"top"),P.e(this.view,0===Ma?"left":"right"),P.ab(this.view,"fixed",this.useFixedPosition);const ic=P.C(this.container);this.view.style.top=Cb-(this.useFixedPosition?P.C(this.view).top:ic.top)+"px",this.view.style.left=bc-(this.useFixedPosition?P.C(this.view).left:ic.left)+"px",this.view.style.width="initial"}hide(h){const n=this.delegate;this.delegate=null,(null==n?void 0:n.onHide)&&n.onHide(h),this.toDisposeOnClean.dispose(),P.K(this.view)}isVisible(){return!!this.delegate}onDOMEvent(h,n){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(h,document.activeElement):n&&!P.L(h.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}ef.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],ef.BUBBLE_DOWN_EVENTS=["click"];let qg=` + `,this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(E.a("slot"))):this.container.appendChild(this.view);let M=new Y.b;or.BUBBLE_UP_EVENTS.forEach(be=>{M.add(E.n(this.container,be,Ne=>{this.onDOMEvent(Ne,!1)}))}),or.BUBBLE_DOWN_EVENTS.forEach(be=>{M.add(E.n(this.container,be,Ne=>{this.onDOMEvent(Ne,!0)},!0))}),this.toDisposeOnSetContainer=M}}show(s){this.isVisible()&&this.hide(),E.s(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",E.Z(this.view),this.toDisposeOnClean=s.render(this.view)||Y.a.None,this.delegate=s,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(this.delegate.canRelayout!==!1||te.c&&ns.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let s,v=this.delegate.getAnchor();if(E.M(v)){let en=E.C(v);s={top:en.top,left:en.left,width:en.width,height:en.height}}else s={top:v.y,left:v.x,width:v.width||1,height:v.height||2};let M=E.H(this.view),be=E.G(this.view),Ne=this.delegate.anchorPosition||0,De=this.delegate.anchorAlignment||0,je={offset:s.top-window.pageYOffset,size:s.height,position:Ne===0?0:1},mt;mt=De===0?{offset:s.left,size:0,position:0}:{offset:s.left+s.width,size:0,position:1};let It=Ui(window.innerHeight,be,je)+window.pageYOffset;wr.a.intersects({start:It,end:It+be},{start:je.offset,end:je.offset+je.size})&&(mt.size=s.width,De===1&&(mt.offset=s.left));let Qt=Ui(window.innerWidth,M,mt);E.R(this.view,"top","bottom","left","right"),E.e(this.view,Ne===0?"bottom":"top"),E.e(this.view,De===0?"left":"right"),E.ab(this.view,"fixed",this.useFixedPosition);let Oi=E.C(this.container);this.view.style.top=It-(this.useFixedPosition?E.C(this.view).top:Oi.top)+"px",this.view.style.left=Qt-(this.useFixedPosition?E.C(this.view).left:Oi.left)+"px",this.view.style.width="initial"}hide(s){let v=this.delegate;this.delegate=null,(v==null?void 0:v.onHide)&&v.onHide(s),this.toDisposeOnClean.dispose(),E.K(this.view)}isVisible(){return!!this.delegate}onDOMEvent(s,v){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(s,document.activeElement):v&&!E.L(s.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}or.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],or.BUBBLE_DOWN_EVENTS=["click"];let xs=` :host { all: initial; /* 1st rule so subsequent properties are reset. */ } @@ -624,14 +624,14 @@ ${this._themeCSS}`,this._styleElements.forEach(h=>h.innerHTML=this._allCSS)}getF :host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; } :host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; } :host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; } -`;var of=f(17),Lf=f(123),rg=f(34),eg=f(69);const fg=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,oh=/(&)?(&)([^\s&])/g,ph=Object(of.e)("menu-selection",of.a.check),sg=Object(of.e)("menu-submenu",of.a.chevronRight);var vf;!function(h){h[h.Right=0]="Right",h[h.Left=1]="Left"}(vf||(vf={}));class Wf extends cg.a{constructor(h,n,E={}){Object(P.e)(h,"monaco-menu-container"),h.setAttribute("role","presentation");const ca=document.createElement("div");Object(P.e)(ca,"monaco-menu"),ca.setAttribute("role","presentation"),super(ca,{orientation:2,actionViewItemProvider:Ea=>this.doGetActionViewItem(Ea,E,Ca),context:E.context,actionRunner:E.actionRunner,ariaLabel:E.ariaLabel,triggerKeys:{keys:[3,...ma.f||ma.d?[10]:[]],keyDown:!0}}),this.menuElement=ca,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new N.b()),this.initializeStyleSheet(h),Object(P.i)(ca,P.c.KEY_DOWN,Ea=>{new Ic.a(Ea).equals(2)&&Ea.preventDefault()}),E.enableMnemonics&&this.menuDisposables.add(Object(P.i)(ca,P.c.KEY_DOWN,Ea=>{const eb=Ea.key.toLocaleLowerCase();if(this.mnemonics.has(eb)){P.b.stop(Ea,!0);const Cb=this.mnemonics.get(eb);if(1===Cb.length&&(Cb[0]instanceof tg&&Cb[0].container&&this.focusItemByElement(Cb[0].container),Cb[0].onClick(Ea)),Cb.length>1){const bc=Cb.shift();bc&&bc.container&&(this.focusItemByElement(bc.container),Cb.push(bc)),this.mnemonics.set(eb,Cb)}}})),ma.d&&this._register(Object(P.i)(ca,P.c.KEY_DOWN,Ea=>{const eb=new Ic.a(Ea);eb.equals(14)||eb.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),P.b.stop(Ea,!0)):(eb.equals(13)||eb.equals(12))&&(this.focusedItem=0,this.focusPrevious(),P.b.stop(Ea,!0))})),this._register(Object(P.i)(this.domNode,P.c.MOUSE_OUT,Ea=>{let eb=Ea.relatedTarget;Object(P.L)(eb,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),Ea.stopPropagation())})),this._register(Object(P.i)(this.actionsList,P.c.MOUSE_OVER,Ea=>{let eb=Ea.target;if(eb&&Object(P.L)(eb,this.actionsList)&&eb!==this.actionsList){for(;eb.parentElement!==this.actionsList&&null!==eb.parentElement;)eb=eb.parentElement;if(Object(P.I)(eb,"action-item")){const Cb=this.focusedItem;this.setFocusedItem(eb),Cb!==this.focusedItem&&this.updateFocus()}}}));let Ca={parent:this};this.mnemonics=new Map(),this.scrollableElement=this._register(new Yg.a(ca,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const Ma=this.scrollableElement.getDomNode();Ma.style.position="",this._register(Object(P.i)(Ma,P.c.MOUSE_UP,Ea=>{Ea.preventDefault()})),ca.style.maxHeight=Math.max(10,window.innerHeight-h.getBoundingClientRect().top-35)+"px",n=n.filter(Ea=>{var eb;return!(null===(eb=E.submenuIds)||void 0===eb?void 0:eb.has(Ea.id))||(console.warn("Found submenu cycle: "+Ea.id),!1)}),this.push(n,{icon:!0,label:!0,isMenu:!0}),h.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(Ea=>!(Ea instanceof ug)).forEach((Ea,eb,Cb)=>{Ea.updatePositionInSet(eb+1,Cb.length)})}initializeStyleSheet(h){Object(P.O)(h)?(this.styleSheet=Object(P.v)(h),this.styleSheet.innerHTML=Hg):(Wf.globalStyleSheet||(Wf.globalStyleSheet=Object(P.v)(),Wf.globalStyleSheet.innerHTML=Hg),this.styleSheet=Wf.globalStyleSheet)}style(h){const n=this.getContainer(),E=h.foregroundColor?""+h.foregroundColor:"",ca=h.backgroundColor?""+h.backgroundColor:"",Ca=h.borderColor?"1px solid "+h.borderColor:"",Ma=h.shadowColor?"0 2px 4px "+h.shadowColor:"";n.style.border=Ca,this.domNode.style.color=E,this.domNode.style.backgroundColor=ca,n.style.boxShadow=Ma,this.viewItems&&this.viewItems.forEach(Ea=>{(Ea instanceof Gg||Ea instanceof ug)&&Ea.style(h)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(h){const n=this.focusedItem;this.setFocusedItem(h),n!==this.focusedItem&&this.updateFocus()}setFocusedItem(h){for(let n=0;n<this.actionsList.children.length;n++)if(h===this.actionsList.children[n]){this.focusedItem=n;break}}updateFocus(h){super.updateFocus(h,!0),void 0!==this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(h,n,E){if(h instanceof nf.c)return new ug(n.context,h,{icon:!0});if(h instanceof nf.d){const ca=new tg(h,h.actions,E,Object.assign(Object.assign({},n),{submenuIds:new Set([...n.submenuIds||[],h.id])}));if(n.enableMnemonics){const Ca=ca.getMnemonic();if(Ca&&ca.isEnabled()){let Ma=[];this.mnemonics.has(Ca)&&(Ma=this.mnemonics.get(Ca)),Ma.push(ca),this.mnemonics.set(Ca,Ma)}}return ca}{const ca={enableMnemonics:n.enableMnemonics,useEventAsContext:n.useEventAsContext};if(n.getKeyBinding){const Ma=n.getKeyBinding(h);if(Ma){const Ea=Ma.getLabel();Ea&&(ca.keybinding=Ea)}}const Ca=new Gg(n.context,h,ca);if(n.enableMnemonics){const Ma=Ca.getMnemonic();if(Ma&&Ca.isEnabled()){let Ea=[];this.mnemonics.has(Ma)&&(Ea=this.mnemonics.get(Ma)),Ea.push(Ca),this.mnemonics.set(Ma,Ea)}}return Ca}}}class Gg extends Lf.b{constructor(h,n,E={}){if(E.isMenu=!0,super(n,n,E),this.options=E,this.options.icon=void 0!==E.icon&&E.icon,this.options.label=void 0===E.label||E.label,this.cssClass="",this.options.label&&E.enableMnemonics){let ca=this.getAction().label;if(ca){let Ca=fg.exec(ca);Ca&&(this.mnemonic=(Ca[1]?Ca[1]:Ca[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new Ba.d(()=>{this.element&&(this._register(Object(P.i)(this.element,P.c.MOUSE_UP,ca=>{if(P.b.stop(ca,!0),rg.h){if(new eg.a(ca).rightButton)return;this.onClick(ca)}setTimeout(()=>{this.onClick(ca)},0)})),this._register(Object(P.i)(this.element,P.c.CONTEXT_MENU,ca=>{P.b.stop(ca,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(h){super.render(h),this.element&&(this.container=h,this.item=Object(P.p)(this.element,Object(P.a)("a.action-menu-item")),this._action.id===nf.c.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(P.p)(this.item,Object(P.a)("span.menu-item-check"+ph.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(P.p)(this.item,Object(P.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(P.p)(this.item,Object(P.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(h,n){this.item&&(this.item.setAttribute("aria-posinset",""+h),this.item.setAttribute("aria-setsize",""+n))}updateLabel(){if(this.label&&this.options.label){Object(P.s)(this.label);let h=Object(of.h)(this.getAction().label);if(h){const n=function(ca){const Ca=fg,Ma=Ca.exec(ca);if(!Ma)return ca;const Ea=!Ma[1];return ca.replace(Ca,Ea?"$2$3":"").trim()}(h);this.options.enableMnemonics||(h=n),this.label.setAttribute("aria-label",n.replace(/&&/g,"&"));const E=fg.exec(h);if(E){h=za.u(h),oh.lastIndex=0;let ca=oh.exec(h);for(;ca&&ca[1];)ca=oh.exec(h);const Ca=Ma=>Ma.replace(/&&/g,"&");ca?this.label.append(za.K(Ca(h.substr(0,ca.index))," "),Object(P.a)("u",{"aria-hidden":"true"},ca[3]),za.Q(Ca(h.substr(ca.index+ca[0].length))," ")):this.label.innerText=Ca(h).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(E[1]?E[1]:E[3]).toLocaleLowerCase())}else this.label.innerText=h.replace(/&&/g,"&").trim()}}}updateTooltip(){let h=null;this.getAction().tooltip?h=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(h=this.getAction().label,this.options.keybinding&&(h=nd.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",h,this.options.keybinding))),h&&this.item&&(this.item.title=h)}updateClass(){this.cssClass&&this.item&&Object(P.R)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(P.e)(this.label,"icon"),this.cssClass&&Object(P.f)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(P.Q)(this.label,"icon")}updateEnabled(){this.getAction().enabled?(this.element&&Object(P.Q)(this.element,"disabled"),this.item&&(Object(P.Q)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(P.e)(this.element,"disabled"),this.item&&(Object(P.e)(this.item,"disabled"),Object(P.T)(this.item)))}updateChecked(){this.item&&(this.getAction().checked?(Object(P.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(P.Q)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const h=this.element&&Object(P.I)(this.element,"focused"),n=h&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,E=h&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,ca=h&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=n?n.toString():"",this.item.style.backgroundColor=E?E.toString():""),this.check&&(this.check.style.color=n?n.toString():""),this.container&&(this.container.style.border=ca)}style(h){this.menuStyle=h,this.applyStyle()}}class tg extends Gg{constructor(h,n,E,ca){super(h,h,ca),this.submenuActions=n,this.parentData=E,this.submenuOptions=ca,this.mysubmenu=null,this.submenuDisposables=this._register(new N.b()),this.mouseOver=!1,this.expandDirection=ca&&void 0!==ca.expandDirection?ca.expandDirection:vf.Right,this.showScheduler=new Ba.d(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new Ba.d(()=>{this.element&&!Object(P.L)(Object(P.x)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(h){super.render(h),this.element&&(this.item&&(Object(P.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(P.p)(this.item,Object(P.a)("span.submenu-indicator"+sg.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(P.i)(this.element,P.c.KEY_UP,n=>{let E=new Ic.a(n);(E.equals(17)||E.equals(3))&&(P.b.stop(n,!0),this.createSubmenu(!0))})),this._register(Object(P.i)(this.element,P.c.KEY_DOWN,n=>{let E=new Ic.a(n);Object(P.x)()===this.item&&(E.equals(17)||E.equals(3))&&P.b.stop(n,!0)})),this._register(Object(P.i)(this.element,P.c.MOUSE_OVER,n=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(Object(P.i)(this.element,P.c.MOUSE_LEAVE,n=>{this.mouseOver=!1})),this._register(Object(P.i)(this.element,P.c.FOCUS_OUT,n=>{this.element&&!Object(P.L)(Object(P.x)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}onClick(h){P.b.stop(h,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(h){if(this.parentData.submenu&&(h||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(n){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(h,n,E,ca){const Ca={top:0,left:0};return Ca.left=Oc(h.width,n.width,{position:ca===vf.Right?0:1,offset:E.left,size:E.width}),Ca.left>=E.left&&Ca.left<E.left+E.width&&(E.left+10+n.width<=h.width&&(Ca.left=E.left+10),E.top+=10,E.height=0),Ca.top=Oc(h.height,n.height,{position:0,offset:E.top,size:0}),Ca.top+n.height===E.top&&Ca.top+E.height+n.height<=h.height&&(Ca.top+=E.height),Ca}createSubmenu(h=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(P.p)(this.element,Object(P.a)("div.monaco-submenu")),Object(P.f)(this.submenuContainer,"menubar-menu-items-holder","context-view");const n=getComputedStyle(this.parentData.parent.domNode),E=parseFloat(n.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new Wf(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const ca=this.element.getBoundingClientRect(),Ca={top:ca.top-E,left:ca.left,height:ca.height+2*E,width:ca.width},Ma=this.submenuContainer.getBoundingClientRect(),{top:Ea,left:eb}=this.calculateSubmenuMenuLayout({height:window.innerHeight,width:window.innerWidth},Ma,Ca,this.expandDirection);this.submenuContainer.style.left=eb+"px",this.submenuContainer.style.top=Ea+"px",this.submenuDisposables.add(Object(P.i)(this.submenuContainer,P.c.KEY_UP,Cb=>{new Ic.a(Cb).equals(15)&&(P.b.stop(Cb,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(P.i)(this.submenuContainer,P.c.KEY_DOWN,Cb=>{new Ic.a(Cb).equals(15)&&P.b.stop(Cb,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(h),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(h){var n;this.item&&(null===(n=this.item)||void 0===n||n.setAttribute("aria-expanded",h))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;const h=this.element&&Object(P.I)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=h?""+h:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class ug extends Lf.a{style(h){this.label&&(this.label.style.borderBottomColor=h.separatorColor?""+h.separatorColor:"")}}let Hg=` +`;var yr=o(17),qr=o(123),Ss=o(34),hs=o(69);let us=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,Ca=/(&)?(&)([^\s&])/g,xa=Object(yr.e)("menu-selection",yr.a.check),ks=Object(yr.e)("menu-submenu",yr.a.chevronRight);var Ir;(function(me){me[me.Right=0]="Right",me[me.Left=1]="Left"})(Ir||(Ir={}));class $r extends ds.a{constructor(s,v,M={}){Object(E.e)(s,"monaco-menu-container"),s.setAttribute("role","presentation");let be=document.createElement("div");Object(E.e)(be,"monaco-menu"),be.setAttribute("role","presentation"),super(be,{orientation:2,actionViewItemProvider:je=>this.doGetActionViewItem(je,M,Ne),context:M.context,actionRunner:M.actionRunner,ariaLabel:M.ariaLabel,triggerKeys:{keys:[3,...te.f||te.d?[10]:[]],keyDown:!0}}),this.menuElement=be,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new Y.b),this.initializeStyleSheet(s),Object(E.i)(be,E.c.KEY_DOWN,je=>{new Hi.a(je).equals(2)&&je.preventDefault()}),M.enableMnemonics&&this.menuDisposables.add(Object(E.i)(be,E.c.KEY_DOWN,je=>{let mt=je.key.toLocaleLowerCase();if(this.mnemonics.has(mt)){E.b.stop(je,!0);let It=this.mnemonics.get(mt);if(It.length===1&&(It[0]instanceof Es&&It[0].container&&this.focusItemByElement(It[0].container),It[0].onClick(je)),It.length>1){let Qt=It.shift();Qt&&Qt.container&&(this.focusItemByElement(Qt.container),It.push(Qt)),this.mnemonics.set(mt,It)}}})),te.d&&this._register(Object(E.i)(be,E.c.KEY_DOWN,je=>{let mt=new Hi.a(je);mt.equals(14)||mt.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),E.b.stop(je,!0)):(mt.equals(13)||mt.equals(12))&&(this.focusedItem=0,this.focusPrevious(),E.b.stop(je,!0))})),this._register(Object(E.i)(this.domNode,E.c.MOUSE_OUT,je=>{let mt=je.relatedTarget;Object(E.L)(mt,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),je.stopPropagation())})),this._register(Object(E.i)(this.actionsList,E.c.MOUSE_OVER,je=>{let mt=je.target;if(mt&&Object(E.L)(mt,this.actionsList)&&mt!==this.actionsList){for(;mt.parentElement!==this.actionsList&&mt.parentElement!==null;)mt=mt.parentElement;if(Object(E.I)(mt,"action-item")){let It=this.focusedItem;this.setFocusedItem(mt),It!==this.focusedItem&&this.updateFocus()}}}));let Ne={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new oa.a(be,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));let De=this.scrollableElement.getDomNode();De.style.position="",this._register(Object(E.i)(De,E.c.MOUSE_UP,je=>{je.preventDefault()})),be.style.maxHeight=Math.max(10,window.innerHeight-s.getBoundingClientRect().top-35)+"px",v=v.filter(je=>{var mt;return!((mt=M.submenuIds)===null||mt===void 0?void 0:mt.has(je.id))||(console.warn("Found submenu cycle: "+je.id),!1)}),this.push(v,{icon:!0,label:!0,isMenu:!0}),s.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(je=>!(je instanceof ps)).forEach((je,mt,It)=>{je.updatePositionInSet(mt+1,It.length)})}initializeStyleSheet(s){Object(E.O)(s)?(this.styleSheet=Object(E.v)(s),this.styleSheet.innerHTML=Us):($r.globalStyleSheet||($r.globalStyleSheet=Object(E.v)(),$r.globalStyleSheet.innerHTML=Us),this.styleSheet=$r.globalStyleSheet)}style(s){let v=this.getContainer(),M=s.foregroundColor?""+s.foregroundColor:"",be=s.backgroundColor?""+s.backgroundColor:"",Ne=s.borderColor?"1px solid "+s.borderColor:"",De=s.shadowColor?"0 2px 4px "+s.shadowColor:"";v.style.border=Ne,this.domNode.style.color=M,this.domNode.style.backgroundColor=be,v.style.boxShadow=De,this.viewItems&&this.viewItems.forEach(je=>{(je instanceof Vs||je instanceof ps)&&je.style(s)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(s){let v=this.focusedItem;this.setFocusedItem(s),v!==this.focusedItem&&this.updateFocus()}setFocusedItem(s){for(let v=0;v<this.actionsList.children.length;v++)if(s===this.actionsList.children[v]){this.focusedItem=v;break}}updateFocus(s){super.updateFocus(s,!0),this.focusedItem!==void 0&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(s,v,M){if(s instanceof vr.c)return new ps(v.context,s,{icon:!0});if(s instanceof vr.d){let be=new Es(s,s.actions,M,Object.assign(Object.assign({},v),{submenuIds:new Set([...v.submenuIds||[],s.id])}));if(v.enableMnemonics){let Ne=be.getMnemonic();if(Ne&&be.isEnabled()){let De=[];this.mnemonics.has(Ne)&&(De=this.mnemonics.get(Ne)),De.push(be),this.mnemonics.set(Ne,De)}}return be}{let be={enableMnemonics:v.enableMnemonics,useEventAsContext:v.useEventAsContext};if(v.getKeyBinding){let De=v.getKeyBinding(s);if(De){let je=De.getLabel();je&&(be.keybinding=je)}}let Ne=new Vs(v.context,s,be);if(v.enableMnemonics){let De=Ne.getMnemonic();if(De&&Ne.isEnabled()){let je=[];this.mnemonics.has(De)&&(je=this.mnemonics.get(De)),je.push(Ne),this.mnemonics.set(De,je)}}return Ne}}}class Vs extends qr.b{constructor(s,v,M={}){if(M.isMenu=!0,super(v,v,M),this.options=M,this.options.icon=M.icon!==void 0&&M.icon,this.options.label=M.label===void 0||M.label,this.cssClass="",this.options.label&&M.enableMnemonics){let be=this.getAction().label;if(be){let Ne=us.exec(be);Ne&&(this.mnemonic=(Ne[1]?Ne[1]:Ne[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new xe.d(()=>{this.element&&(this._register(Object(E.i)(this.element,E.c.MOUSE_UP,be=>{if(E.b.stop(be,!0),Ss.h){if(new hs.a(be).rightButton)return;this.onClick(be)}setTimeout(()=>{this.onClick(be)},0)})),this._register(Object(E.i)(this.element,E.c.CONTEXT_MENU,be=>{E.b.stop(be,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(s){super.render(s),this.element&&(this.container=s,this.item=Object(E.p)(this.element,Object(E.a)("a.action-menu-item")),this._action.id===vr.c.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(E.p)(this.item,Object(E.a)("span.menu-item-check"+xa.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(E.p)(this.item,Object(E.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(E.p)(this.item,Object(E.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(s,v){this.item&&(this.item.setAttribute("aria-posinset",""+s),this.item.setAttribute("aria-setsize",""+v))}updateLabel(){if(this.label&&this.options.label){Object(E.s)(this.label);let s=Object(yr.h)(this.getAction().label);if(s){let v=function(be){let Ne=us,De=Ne.exec(be);if(!De)return be;let je=!De[1];return be.replace(Ne,je?"$2$3":"").trim()}(s);this.options.enableMnemonics||(s=v),this.label.setAttribute("aria-label",v.replace(/&&/g,"&"));let M=us.exec(s);if(M){s=ht.u(s),Ca.lastIndex=0;let be=Ca.exec(s);for(;be&&be[1];)be=Ca.exec(s);let Ne=De=>De.replace(/&&/g,"&");be?this.label.append(ht.K(Ne(s.substr(0,be.index))," "),Object(E.a)("u",{"aria-hidden":"true"},be[3]),ht.Q(Ne(s.substr(be.index+be[0].length))," ")):this.label.innerText=Ne(s).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(M[1]?M[1]:M[3]).toLocaleLowerCase())}else this.label.innerText=s.replace(/&&/g,"&").trim()}}}updateTooltip(){let s=null;this.getAction().tooltip?s=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(s=this.getAction().label,this.options.keybinding&&(s=pn.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",s,this.options.keybinding))),s&&this.item&&(this.item.title=s)}updateClass(){this.cssClass&&this.item&&Object(E.R)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(E.e)(this.label,"icon"),this.cssClass&&Object(E.f)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(E.Q)(this.label,"icon")}updateEnabled(){this.getAction().enabled?(this.element&&Object(E.Q)(this.element,"disabled"),this.item&&(Object(E.Q)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(E.e)(this.element,"disabled"),this.item&&(Object(E.e)(this.item,"disabled"),Object(E.T)(this.item)))}updateChecked(){this.item&&(this.getAction().checked?(Object(E.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(E.Q)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;let s=this.element&&Object(E.I)(this.element,"focused"),v=s&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,M=s&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,be=s&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=v?v.toString():"",this.item.style.backgroundColor=M?M.toString():""),this.check&&(this.check.style.color=v?v.toString():""),this.container&&(this.container.style.border=be)}style(s){this.menuStyle=s,this.applyStyle()}}class Es extends Vs{constructor(s,v,M,be){super(s,s,be),this.submenuActions=v,this.parentData=M,this.submenuOptions=be,this.mysubmenu=null,this.submenuDisposables=this._register(new Y.b),this.mouseOver=!1,this.expandDirection=be&&be.expandDirection!==void 0?be.expandDirection:Ir.Right,this.showScheduler=new xe.d(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new xe.d(()=>{this.element&&!Object(E.L)(Object(E.x)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(s){super.render(s),this.element&&(this.item&&(Object(E.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(E.p)(this.item,Object(E.a)("span.submenu-indicator"+ks.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(E.i)(this.element,E.c.KEY_UP,v=>{let M=new Hi.a(v);(M.equals(17)||M.equals(3))&&(E.b.stop(v,!0),this.createSubmenu(!0))})),this._register(Object(E.i)(this.element,E.c.KEY_DOWN,v=>{let M=new Hi.a(v);Object(E.x)()===this.item&&(M.equals(17)||M.equals(3))&&E.b.stop(v,!0)})),this._register(Object(E.i)(this.element,E.c.MOUSE_OVER,v=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(Object(E.i)(this.element,E.c.MOUSE_LEAVE,v=>{this.mouseOver=!1})),this._register(Object(E.i)(this.element,E.c.FOCUS_OUT,v=>{this.element&&!Object(E.L)(Object(E.x)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}onClick(s){E.b.stop(s,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(s){if(this.parentData.submenu&&(s||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(v){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(s,v,M,be){let Ne={top:0,left:0};return Ne.left=Ui(s.width,v.width,{position:be===Ir.Right?0:1,offset:M.left,size:M.width}),Ne.left>=M.left&&Ne.left<M.left+M.width&&(M.left+10+v.width<=s.width&&(Ne.left=M.left+10),M.top+=10,M.height=0),Ne.top=Ui(s.height,v.height,{position:0,offset:M.top,size:0}),Ne.top+v.height===M.top&&Ne.top+M.height+v.height<=s.height&&(Ne.top+=M.height),Ne}createSubmenu(s=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(E.p)(this.element,Object(E.a)("div.monaco-submenu")),Object(E.f)(this.submenuContainer,"menubar-menu-items-holder","context-view");let v=getComputedStyle(this.parentData.parent.domNode),M=parseFloat(v.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new $r(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);let be=this.element.getBoundingClientRect(),Ne={top:be.top-M,left:be.left,height:be.height+2*M,width:be.width},De=this.submenuContainer.getBoundingClientRect(),{top:je,left:mt}=this.calculateSubmenuMenuLayout({height:window.innerHeight,width:window.innerWidth},De,Ne,this.expandDirection);this.submenuContainer.style.left=mt+"px",this.submenuContainer.style.top=je+"px",this.submenuDisposables.add(Object(E.i)(this.submenuContainer,E.c.KEY_UP,It=>{new Hi.a(It).equals(15)&&(E.b.stop(It,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(E.i)(this.submenuContainer,E.c.KEY_DOWN,It=>{new Hi.a(It).equals(15)&&E.b.stop(It,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(s),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(s){var v;this.item&&((v=this.item)===null||v===void 0||v.setAttribute("aria-expanded",s))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;let s=this.element&&Object(E.I)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=s?""+s:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class ps extends qr.a{style(s){this.label&&(this.label.style.borderBottomColor=s.separatorColor?""+s.separatorColor:"")}}let Us=` .monaco-menu { font-size: 13px; } -${Object(Kd.b)(ph)} -${Object(Kd.b)(sg)} +${Object(zn.b)(xa)} +${Object(zn.b)(ks)} .monaco-menu .monaco-action-bar { text-align: right; @@ -667,7 +667,7 @@ ${Object(Kd.b)(sg)} } .monaco-menu .monaco-action-bar.animated .action-item.active { - transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */ + transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ } .monaco-menu .monaco-action-bar .action-item .icon, @@ -1019,121 +1019,120 @@ ${Object(Kd.b)(sg)} :host-context(.hc-black) .monaco-scrollable-element .shadow.top.left { box-shadow: none; } -`;var Mf=f(93),Xf=f(44);class Ig{constructor(h,n,E,ca,Ca){this.contextViewService=h,this.telemetryService=n,this.notificationService=E,this.keybindingService=ca,this.themeService=Ca,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(h){this.options=h}showContextMenu(h){const n=h.getActions();if(!n.length)return;let E;this.focusToReturn=document.activeElement;let ca=Object(P.M)(h.domForShadowRoot)?h.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>h.getAnchor(),canRelayout:!1,anchorAlignment:h.anchorAlignment,render:Ca=>{let Ma=h.getMenuClassName?h.getMenuClassName():"";Ma&&(Ca.className+=" "+Ma),this.options.blockMouse&&(this.block=Ca.appendChild(Object(P.a)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",Object(Xf.a)(this.block,P.c.MOUSE_DOWN)(Cb=>Cb.stopPropagation()));const Ea=new N.b(),eb=h.actionRunner||new nf.b();return eb.onDidBeforeRun(this.onActionRun,this,Ea),eb.onDidRun(this.onDidActionRun,this,Ea),E=new Wf(Ca,n,{actionViewItemProvider:h.getActionViewItem,context:h.getActionsContext?h.getActionsContext():null,actionRunner:eb,getKeyBinding:h.getKeyBinding?h.getKeyBinding:Cb=>this.keybindingService.lookupKeybinding(Cb.id)}),Ea.add(Object(Mf.c)(E,this.themeService)),E.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,Ea),E.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,Ea),Object(Xf.a)(window,P.c.BLUR)(()=>{this.contextViewService.hideContextView(!0)},null,Ea),Object(Xf.a)(window,P.c.MOUSE_DOWN)(Cb=>{if(Cb.defaultPrevented)return;let bc=new eg.a(Cb),ic=bc.target;if(!bc.rightButton){for(;ic;){if(ic===Ca)return;ic=ic.parentElement}this.contextViewService.hideContextView(!0)}},null,Ea),Object(N.e)(Ea,E)},focus:()=>{E&&E.focus(!!h.autoSelectFirstItem)},onHide:Ca=>{h.onHide&&h.onHide(!!Ca),this.block&&(Object(P.S)(this.block),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},ca,!!ca)}onActionRun(h){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:h.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(h){h.error&&this.notificationService&&this.notificationService.error(h.error)}}var gg=f(120),hg=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Nf=function(h,n){return function(E,ca){n(E,ca,h)}};let Te=class extends N.a{constructor(h,n,E,ca,Ca){super(),this._onDidContextMenu=this._register(new xc.a()),this.onDidContextMenu=this._onDidContextMenu.event,this.contextMenuHandler=new Ig(E,h,n,ca,Ca)}configure(h){this.contextMenuHandler.configure(h)}showContextMenu(h){this.contextMenuHandler.showContextMenu(h),this._onDidContextMenu.fire()}};Te=hg([Nf(0,gg.a),Nf(1,Bb.a),Nf(2,Aa.b),Nf(3,pa.a),Nf(4,Ja.c)],Te);const af=Object(ya.c)("layoutService");var qh=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Jg=function(h,n){return function(E,ca){n(E,ca,h)}};let wf=class extends N.a{constructor(h){super(),this.layoutService=h,this.currentViewDisposable=N.a.None,this.container=h.container,this.contextView=this._register(new ef(this.container,1)),this.layout(),this._register(h.onLayout(()=>this.layout()))}setContainer(h,n){this.contextView.setContainer(h,n||1)}showContextView(h,n,E){n?n!==this.container&&(this.container=n,this.setContainer(n,E?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(h);const ca=Object(N.h)(()=>{this.currentViewDisposable===ca&&this.hideContextView()});return this.currentViewDisposable=ca,ca}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(h){this.contextView.hide(h)}};wf=qh([Jg(0,af)],wf);var xf=f(171);class Kg{constructor(h){this.incoming=new Map(),this.outgoing=new Map(),this.data=h}}class rh{constructor(h){this._hashFn=h,this._nodes=new Map()}roots(){const h=[];for(let n of this._nodes.values())0===n.outgoing.size&&h.push(n);return h}insertEdge(h,n){const E=this.lookupOrInsertNode(h),ca=this.lookupOrInsertNode(n);E.outgoing.set(this._hashFn(n),ca),ca.incoming.set(this._hashFn(h),E)}removeNode(h){const n=this._hashFn(h);this._nodes.delete(n);for(let E of this._nodes.values())E.outgoing.delete(n),E.incoming.delete(n)}lookupOrInsertNode(h){const n=this._hashFn(h);let E=this._nodes.get(n);return E||(E=new Kg(h),this._nodes.set(n,E)),E}isEmpty(){return 0===this._nodes.size}toString(){let h=[];for(let[n,E]of this._nodes)h.push(`${n}, (incoming)[${[...E.incoming.keys()].join(", ")}], (outgoing)[${[...E.outgoing.keys()].join(",")}]`);return h.join(` -`)}}var ff=f(163),Lg=f(149);class Mg extends Error{constructor(h){super("cyclic dependency between services"),this.message=h.toString()}}class We{constructor(h=new Lg.a(),n=!1,E){this._services=h,this._strict=n,this._parent=E,this._services.set(ya.a,this)}createChild(h){return new We(h,this._strict,this)}invokeFunction(h,...n){let E=gf.traceInvocation(h),ca=!1;try{return h({get:(Ca,Ma)=>{if(ca)throw Object(S.c)("service accessor is only valid during the invocation of its target method");const Ea=this._getOrCreateServiceInstance(Ca,E);if(!Ea&&Ma!==ya.d)throw new Error(`[invokeFunction] unknown service '${Ca}'`);return Ea}},...n)}finally{ca=!0,E.stop()}}createInstance(h,...n){let E,ca;return h instanceof ff.a?(E=gf.traceCreation(h.ctor),ca=this._createInstance(h.ctor,h.staticArguments.concat(n),E)):(E=gf.traceCreation(h),ca=this._createInstance(h,n,E)),E.stop(),ca}_createInstance(h,n=[],E){let ca=ya.b.getServiceDependencies(h).sort((Ea,eb)=>Ea.index-eb.index),Ca=[];for(const Ea of ca){let eb=this._getOrCreateServiceInstance(Ea.id,E);if(!eb&&this._strict&&!Ea.optional)throw new Error(`[createInstance] ${h.name} depends on UNKNOWN service ${Ea.id}.`);Ca.push(eb)}let Ma=ca.length>0?ca[0].index:n.length;if(n.length!==Ma){console.warn(`[createInstance] First service dependency of ${h.name} at position ${Ma+1} conflicts with ${n.length} static arguments`);let Ea=Ma-n.length;n=Ea>0?n.concat(new Array(Ea)):n.slice(0,Ma)}return new h(...[...n,...Ca])}_setServiceInstance(h,n){if(this._services.get(h)instanceof ff.a)this._services.set(h,n);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(h,n)}}_getServiceInstanceOrDescriptor(h){let n=this._services.get(h);return!n&&this._parent?this._parent._getServiceInstanceOrDescriptor(h):n}_getOrCreateServiceInstance(h,n){let E=this._getServiceInstanceOrDescriptor(h);return E instanceof ff.a?this._createAndCacheServiceInstance(h,E,n.branch(h,!0)):(n.branch(h,!1),E)}_createAndCacheServiceInstance(h,n,E){const ca=new rh(Ea=>Ea.id.toString());let Ca=0;const Ma=[{id:h,desc:n,_trace:E}];for(;Ma.length;){const Ea=Ma.pop();if(ca.lookupOrInsertNode(Ea),Ca++>1e3)throw new Mg(ca);for(let eb of ya.b.getServiceDependencies(Ea.desc.ctor)){let Cb=this._getServiceInstanceOrDescriptor(eb.id);if(Cb||eb.optional||console.warn(`[createInstance] ${h} depends on ${eb.id} which is NOT registered.`),Cb instanceof ff.a){const bc={id:eb.id,desc:Cb,_trace:Ea._trace.branch(eb.id,!0)};ca.insertEdge(Ea,bc),Ma.push(bc)}}}for(;;){const Ea=ca.roots();if(0===Ea.length){if(!ca.isEmpty())throw new Mg(ca);break}for(const{data:eb}of Ea){const Cb=this._createServiceInstanceWithOwner(eb.id,eb.desc.ctor,eb.desc.staticArguments,eb.desc.supportsDelayedInstantiation,eb._trace);this._setServiceInstance(eb.id,Cb),ca.removeNode(eb)}}return this._getServiceInstanceOrDescriptor(h)}_createServiceInstanceWithOwner(h,n,E=[],ca,Ca){if(this._services.get(h)instanceof ff.a)return this._createServiceInstance(n,E,ca,Ca);if(this._parent)return this._parent._createServiceInstanceWithOwner(h,n,E,ca,Ca);throw new Error("illegalState - creating UNKNOWN service instance "+n.name)}_createServiceInstance(h,n=[],E,ca){if(E){const Ca=new Ba.b(()=>this._createInstance(h,n,ca));return new Proxy(Object.create(null),{get(Ma,Ea){if(Ea in Ma)return Ma[Ea];let eb=Ca.value,Cb=eb[Ea];return"function"!=typeof Cb||(Cb=Cb.bind(eb),Ma[Ea]=Cb),Cb},set:(Ma,Ea,eb)=>(Ca.value[Ea]=eb,!0)})}return this._createInstance(h,n,ca)}}class gf{constructor(h,n){this.type=h,this.name=n,this._start=Date.now(),this._dep=[]}static traceInvocation(h){return gf._None}static traceCreation(h){return gf._None}branch(h,n){let E=new gf(2,h.toString());return this._dep.push([h,n,E]),E}stop(){let h=Date.now()-this._start;gf._totals+=h;let n=!1,E=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,""+function ca(Ca,Ma){let Ea=[],eb=new Array(Ca+1).join(" ");for(const[Cb,bc,ic]of Ma._dep)if(bc&&ic){n=!0,Ea.push(`${eb}CREATES -> ${Cb}`);let Mc=ca(Ca+1,ic);Mc&&Ea.push(Mc)}else Ea.push(`${eb}uses -> ${Cb}`);return Ea.join(` -`)}(1,this),`DONE, took ${h.toFixed(2)}ms (grand total ${gf._totals.toFixed(2)}ms)`];(h>2||n)&&console.log(E.join(` -`))}}gf._None=new class extends gf{constructor(){super(-1,null)}stop(){}branch(){return this}}(),gf._totals=0;var Zg=f(159),vg=f(136),Me=f(63),wg=f(37);class bf{constructor(){this._byResource=new ud.b(),this._byOwner=new Map()}set(h,n,E){let ca=this._byResource.get(h);ca||(ca=new Map(),this._byResource.set(h,ca)),ca.set(n,E);let Ca=this._byOwner.get(n);Ca||(Ca=new ud.b(),this._byOwner.set(n,Ca)),Ca.set(h,E)}get(h,n){let E=this._byResource.get(h);return null==E?void 0:E.get(n)}delete(h,n){let E=!1,ca=!1,Ca=this._byResource.get(h);Ca&&(E=Ca.delete(n));let Ma=this._byOwner.get(n);if(Ma&&(ca=Ma.delete(h)),E!==ca)throw new Error("illegal state");return E&&ca}values(h){var n,E,ca,Ca;return"string"==typeof h?null!==(E=null===(n=this._byOwner.get(h))||void 0===n?void 0:n.values())&&void 0!==E?E:wg.a.empty():z.a.isUri(h)?null!==(Ca=null===(ca=this._byResource.get(h))||void 0===ca?void 0:ca.values())&&void 0!==Ca?Ca:wg.a.empty():wg.a.map(wg.a.concat(...this._byOwner.values()),Ma=>Ma[1])}}class d{constructor(h){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new ud.b(),this._service=h,this._subscription=h.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(h){for(const n of h){const E=this._data.get(n);E&&this._substract(E);const ca=this._resourceStats(n);this._add(ca),this._data.set(n,ca)}}_resourceStats(h){const n={errors:0,warnings:0,infos:0,unknowns:0};if(h.scheme===L.b.inMemory||h.scheme===L.b.walkThrough||h.scheme===L.b.walkThroughSnippet)return n;for(const{severity:E}of this._service.read({resource:h}))E===Me.c.Error?n.errors+=1:E===Me.c.Warning?n.warnings+=1:E===Me.c.Info?n.infos+=1:n.unknowns+=1;return n}_substract(h){this.errors-=h.errors,this.warnings-=h.warnings,this.infos-=h.infos,this.unknowns-=h.unknowns}_add(h){this.errors+=h.errors,this.warnings+=h.warnings,this.infos+=h.infos,this.unknowns+=h.unknowns}}class g{constructor(){this._onMarkerChanged=new xc.a(),this.onMarkerChanged=xc.b.debounce(this._onMarkerChanged.event,g._debouncer,0),this._data=new bf(),this._stats=new d(this)}dispose(){this._stats.dispose()}remove(h,n){for(const E of n||[])this.changeOne(h,E,[])}changeOne(h,n,E){if(Object(ua.n)(E))this._data.delete(n,h)&&this._onMarkerChanged.fire([n]);else{const ca=[];for(const Ca of E){const Ma=g._toMarker(h,n,Ca);Ma&&ca.push(Ma)}this._data.set(n,h,ca),this._onMarkerChanged.fire([n])}}static _toMarker(h,n,E){let{code:ca,severity:Ca,message:Ma,source:Ea,startLineNumber:eb,startColumn:Cb,endLineNumber:bc,endColumn:ic,relatedInformation:Mc,tags:ed}=E;if(Ma)return eb=eb>0?eb:1,Cb=Cb>0?Cb:1,bc=bc>=eb?bc:eb,ic=ic>0?ic:Cb,{resource:n,owner:h,code:ca,severity:Ca,message:Ma,source:Ea,startLineNumber:eb,startColumn:Cb,endLineNumber:bc,endColumn:ic,relatedInformation:Mc,tags:ed}}read(h=Object.create(null)){let{owner:n,resource:E,severities:ca,take:Ca}=h;if((!Ca||Ca<0)&&(Ca=-1),n&&E){const Ma=this._data.get(E,n);if(Ma){const Ea=[];for(const eb of Ma)if(g._accept(eb,ca)){const Cb=Ea.push(eb);if(Ca>0&&Cb===Ca)break}return Ea}return[]}if(n||E){const Ma=this._data.values(null!=E?E:n),Ea=[];for(const eb of Ma)for(const Cb of eb)if(g._accept(Cb,ca)){const bc=Ea.push(Cb);if(Ca>0&&bc===Ca)return Ea}return Ea}{const Ma=[];for(let Ea of this._data.values())for(let eb of Ea)if(g._accept(eb,ca)){const Cb=Ma.push(eb);if(Ca>0&&Cb===Ca)return Ma}return Ma}}static _accept(h,n){return void 0===n||(n&h.severity)===h.severity}static _debouncer(h,n){h||(g._dedupeMap=new ud.b(),h=[]);for(const E of n)g._dedupeMap.has(E)||(g._dedupeMap.set(E,!0),h.push(E));return h}}var o=f(97),J=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},T=function(h,n){return function(E,ca){n(E,ca,h)}};let sa=class{constructor(h){this._commandService=h}createMenu(h,n){return new Ia(h,this._commandService,n,this)}};sa=J([T(0,D.b)],sa);let Ia=class h{constructor(n,E,ca,Ca){this._id=n,this._commandService=E,this._contextKeyService=ca,this._menuService=Ca,this._onDidChange=new xc.a(),this._dispoables=new N.b(),this._menuGroups=[],this._contextKeys=new Set(),this._build(),this._dispoables.add(xc.b.debounce(xc.b.filter(qc.d.onDidChangeMenu,Ma=>Ma.has(this._id)),()=>{},50)(this._build,this)),this._dispoables.add(xc.b.debounce(this._contextKeyService.onDidChangeContext,(Ma,Ea)=>Ma||Ea.affectsSome(this._contextKeys),50)(Ma=>Ma&&this._onDidChange.fire(void 0),this))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const n=qc.d.getMenuItems(this._id);let E;n.sort(h._compareMenuItems);for(let ca of n){const Ca=ca.group||"";if(E&&E[0]===Ca||(E=[Ca,[]],this._menuGroups.push(E)),E[1].push(ca),h._fillInKbExprKeys(ca.when,this._contextKeys),Object(qc.f)(ca)&&ca.command.precondition&&h._fillInKbExprKeys(ca.command.precondition,this._contextKeys),Object(qc.f)(ca)&&ca.command.toggled){const Ma=ca.command.toggled.condition||ca.command.toggled;h._fillInKbExprKeys(Ma,this._contextKeys)}}this._onDidChange.fire(this)}get onDidChange(){return this._onDidChange.event}getActions(n){const E=[];for(let ca of this._menuGroups){const[Ca,Ma]=ca,Ea=[];for(const eb of Ma)if(this._contextKeyService.contextMatchesRules(eb.when)){const Cb=Object(qc.f)(eb)?new qc.c(eb.command,eb.alt,n,this._contextKeyService,this._commandService):new qc.e(eb,this._menuService,this._contextKeyService,n);Ea.push(Cb)}Ea.length>0&&E.push([Ca,Ea])}return E}static _fillInKbExprKeys(n,E){if(n)for(let ca of n.keys())E.add(ca)}static _compareMenuItems(n,E){let ca=n.group,Ca=E.group;if(ca!==Ca){if(!ca)return 1;if(!Ca)return-1;if("navigation"===ca)return-1;if("navigation"===Ca)return 1;let eb=ca.localeCompare(Ca);if(0!==eb)return eb}let Ma=n.order||0,Ea=E.order||0;return Ma<Ea?-1:Ma>Ea?1:h._compareTitles(Object(qc.f)(n)?n.command.title:n.title,Object(qc.f)(E)?E.command.title:E.title)}static _compareTitles(n,E){const ca="string"==typeof n?n:n.value,Ca="string"==typeof E?E:E.value;return ca.localeCompare(Ca)}};Ia=J([T(1,D.b),T(2,nc.b),T(3,qc.a)],Ia);var Sa=f(192),bb=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},ib=function(h,n){return function(E,ca){n(E,ca,h)}};function ob(h){return h.toString()}class Mb extends N.a{constructor(h){super(),this.model=h,this._markersData=new Map(),this._register(Object(N.h)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(h,n){const E=[...this._markersData.keys()];this._markersData.clear();const ca=this.model.deltaDecorations(E,n);for(let Ca=0;Ca<ca.length;Ca++)this._markersData.set(ca[Ca],h[Ca]);return 0!==E.length||0!==ca.length}getMarker(h){return this._markersData.get(h.id)}}let Gb=class extends N.a{constructor(h,n){super(),this._markerService=n,this._onDidChangeMarker=this._register(new xc.a()),this._markerDecorations=new Map(),h.getModels().forEach(E=>this._onModelAdded(E)),this._register(h.onModelAdded(this._onModelAdded,this)),this._register(h.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(h=>h.dispose()),this._markerDecorations.clear()}getMarker(h,n){const E=this._markerDecorations.get(ob(h.uri));return E&&E.getMarker(n)||null}_handleMarkerChange(h){h.forEach(n=>{const E=this._markerDecorations.get(ob(n));E&&this._updateDecorations(E)})}_onModelAdded(h){const n=new Mb(h);this._markerDecorations.set(ob(h.uri),n),this._updateDecorations(n)}_onModelRemoved(h){const n=this._markerDecorations.get(ob(h.uri));n&&(n.dispose(),this._markerDecorations.delete(ob(h.uri))),h.uri.scheme!==L.b.inMemory&&h.uri.scheme!==L.b.internal&&h.uri.scheme!==L.b.vscode||this._markerService&&this._markerService.read({resource:h.uri}).map(E=>E.owner).forEach(E=>this._markerService.remove(E,[h.uri]))}_updateDecorations(h){const n=this._markerService.read({resource:h.model.uri,take:500});let E=n.map(ca=>({range:this._createDecorationRange(h.model,ca),options:this._createDecorationOption(ca)}));h.update(n,E)&&this._onDidChangeMarker.fire(h.model)}_createDecorationRange(h,n){let E=Ka.a.lift(n);if(n.severity!==Me.c.Hint||this._hasMarkerTag(n,1)||this._hasMarkerTag(n,2)||(E=E.setEndPosition(E.startLineNumber,E.startColumn+2)),E=h.validateRange(E),E.isEmpty()){let ca=h.getWordAtPosition(E.getStartPosition());if(ca)E=new Ka.a(E.startLineNumber,ca.startColumn,E.endLineNumber,ca.endColumn);else{let Ca=h.getLineLastNonWhitespaceColumn(E.startLineNumber)||h.getLineMaxColumn(E.startLineNumber);1===Ca||(E=E.endColumn>=Ca?new Ka.a(E.startLineNumber,Ca-1,E.endLineNumber,Ca):new Ka.a(E.startLineNumber,E.startColumn,E.endLineNumber,E.endColumn+1))}}else if(n.endColumn===Number.MAX_VALUE&&1===n.startColumn&&E.startLineNumber===E.endLineNumber){let ca=h.getLineFirstNonWhitespaceColumn(n.startLineNumber);ca<E.endColumn&&(E=new Ka.a(E.startLineNumber,ca,E.endLineNumber,E.endColumn),n.startColumn=ca)}return E}_createDecorationOption(h){let n,E,ca,Ca,Ma;switch(h.severity){case Me.c.Hint:n=this._hasMarkerTag(h,2)?void 0:this._hasMarkerTag(h,1)?"squiggly-unnecessary":"squiggly-hint",E=0;break;case Me.c.Warning:n="squiggly-warning",Ca=Object(Ja.h)(Qe.t),E=20,ca={color:Object(Ja.h)(qd.Tb),position:Z.c.Inline};break;case Me.c.Info:n="squiggly-info",Ca=Object(Ja.h)(Qe.r),E=10;break;case Me.c.Error:default:n="squiggly-error",Ca=Object(Ja.h)(Qe.q),E=30,ca={color:Object(Ja.h)(qd.Nb),position:Z.c.Inline}}return h.tags&&(-1!==h.tags.indexOf(1)&&(Ma="squiggly-inline-unnecessary"),-1!==h.tags.indexOf(2)&&(Ma="squiggly-inline-deprecated")),{stickiness:1,className:n,showIfCollapsed:!0,overviewRuler:{color:Ca,position:Z.d.Right},minimap:ca,zIndex:E,inlineClassName:Ma}}_hasMarkerTag(h,n){return!!h.tags&&h.tags.indexOf(n)>=0}};Gb=bb([ib(0,_a.a),ib(1,Me.b)],Gb);var ac=f(115),gc=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Gc=function(h,n){return function(E,ca){n(E,ca,h)}};let Qc=class extends N.a{constructor(h,n){super(),this._contextKeyService=h,this._configurationService=n,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new xc.a(),this._accessibilityModeEnabledContext=Na.a.bindTo(this._contextKeyService);const E=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(ca=>{ca.affectsConfiguration("editor.accessibilitySupport")&&(E(),this._onDidChangeScreenReaderOptimized.fire())})),E(),this.onDidChangeScreenReaderOptimized(()=>E())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const h=this._configurationService.getValue("editor.accessibilitySupport");return"on"===h||"auto"===h&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};Qc=gc([Gc(0,nc.b),Gc(1,ad.a)],Qc);var Jc=function(h,n,E,ca){return new(E||(E=Promise))(function(Ca,Ma){function Ea(bc){try{Cb(ca.next(bc))}catch(ic){Ma(ic)}}function eb(bc){try{Cb(ca.throw(bc))}catch(ic){Ma(ic)}}function Cb(bc){var ic;bc.done?Ca(bc.value):(ic=bc.value,ic instanceof E?ic:new E(function(Mc){Mc(ic)})).then(Ea,eb)}Cb((ca=ca.apply(h,n||[])).next())})};class Wc{constructor(){this.mapTextToType=new Map(),this.findText=""}writeText(h,n){return Jc(this,void 0,void 0,function*(){if(n)return void this.mapTextToType.set(n,h);try{return yield navigator.clipboard.writeText(h)}catch(Ca){console.error(Ca)}const E=document.activeElement,ca=document.body.appendChild(Object(P.a)("textarea",{"aria-hidden":!0}));ca.style.height="1px",ca.style.width="1px",ca.style.position="absolute",ca.value=h,ca.focus(),ca.select(),document.execCommand("copy"),E instanceof HTMLElement&&E.focus(),document.body.removeChild(ca)})}readText(h){return Jc(this,void 0,void 0,function*(){if(h)return this.mapTextToType.get(h)||"";try{return yield navigator.clipboard.readText()}catch(n){return console.error(n),""}})}readFindText(){return Jc(this,void 0,void 0,function*(){return this.findText})}writeFindText(h){return Jc(this,void 0,void 0,function*(){this.findText=h})}}var _c=f(150),Zc=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},bd=function(h,n){return function(E,ca){n(E,ca,h)}},Id=function(h,n,E,ca){return new(E||(E=Promise))(function(Ca,Ma){function Ea(bc){try{Cb(ca.next(bc))}catch(ic){Ma(ic)}}function eb(bc){try{Cb(ca.throw(bc))}catch(ic){Ma(ic)}}function Cb(bc){var ic;bc.done?Ca(bc.value):(ic=bc.value,ic instanceof E?ic:new E(function(Mc){Mc(ic)})).then(Ea,eb)}Cb((ca=ca.apply(h,n||[])).next())})};function sd(h){return h.scheme===L.b.file?h.fsPath:h.path}let Pd=0;class be{constructor(h,n,E){this.id=++Pd,this.type=0,this.actual=h,this.label=h.label,this.resourceLabel=n,this.strResource=E,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.isValid=!0}setValid(h){this.isValid=h}toString(){return`[${this.id}] [${this.isValid?"VALID":"INVALID"}] ${this.actual}`}}class me{constructor(h,n){this.resourceLabel=h,this.reason=n}}class Td{constructor(){this.elements=new Map()}createMessage(){const h=[],n=[];for(const[,ca]of this.elements)(0===ca.reason?h:n).push(ca.resourceLabel);let E=[];return h.length>0&&E.push(nd.a({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",h.join(", "))),n.length>0&&E.push(nd.a({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",n.join(", "))),E.join(` -`)}get size(){return this.elements.size}has(h){return this.elements.has(h)}set(h,n){this.elements.set(h,n)}delete(h){return this.elements.delete(h)}}class ze{constructor(h,n,E){this.id=++Pd,this.type=1,this.actual=h,this.label=h.label,this.resourceLabels=n,this.strResources=E,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(h,n,E){this.removedResources||(this.removedResources=new Td()),this.removedResources.has(n)||this.removedResources.set(n,new me(h,E))}setValid(h,n,E){E?this.invalidatedResources&&(this.invalidatedResources.delete(n),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new Td()),this.invalidatedResources.has(n)||this.invalidatedResources.set(n,new me(h,0)))}toString(){return`[${this.id}] [${this.invalidatedResources?"INVALID":"VALID"}] ${this.actual}`}}class Re{constructor(h,n){this.resourceLabel=h,this.strResource=n,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const h of this._past)1===h.type&&h.removeResource(this.resourceLabel,this.strResource,0);for(const h of this._future)1===h.type&&h.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let h=[];h.push(`* ${this.strResource}:`);for(let n=0;n<this._past.length;n++)h.push(" * [UNDO] "+this._past[n]);for(let n=this._future.length-1;n>=0;n--)h.push(" * [REDO] "+this._future[n]);return h.join(` -`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(h,n){1===h.type?h.setValid(this.resourceLabel,this.strResource,n):h.setValid(n)}setElementsValidFlag(h,n){for(const E of this._past)n(E.actual)&&this._setElementValidFlag(E,h);for(const E of this._future)n(E.actual)&&this._setElementValidFlag(E,h)}pushElement(h){for(const n of this._future)1===n.type&&n.removeResource(this.resourceLabel,this.strResource,1);if(this._future=[],this._past.length>0){const n=this._past[this._past.length-1];0!==n.type||n.isValid||(this._past=[])}this._past.push(h),this.versionId++}createSnapshot(h){const n=[];for(let E=0,ca=this._past.length;E<ca;E++)n.push(this._past[E].id);for(let E=this._future.length-1;E>=0;E--)n.push(this._future[E].id);return new _c.b(h,n)}restoreSnapshot(h){const n=h.elements.length;let E=!0,ca=0,Ca=-1;for(let Ea=0,eb=this._past.length;Ea<eb;Ea++,ca++){const Cb=this._past[Ea];E&&(ca>=n||Cb.id!==h.elements[ca])&&(E=!1,Ca=0),E||1!==Cb.type||Cb.removeResource(this.resourceLabel,this.strResource,0)}let Ma=-1;for(let Ea=this._future.length-1;Ea>=0;Ea--,ca++){const eb=this._future[Ea];E&&(ca>=n||eb.id!==h.elements[ca])&&(E=!1,Ma=Ea),E||1!==eb.type||eb.removeResource(this.resourceLabel,this.strResource,0)}-1!==Ca&&(this._past=this._past.slice(0,Ca)),-1!==Ma&&(this._future=this._future.slice(Ma+1)),this.versionId++}getElements(){const h=[],n=[];for(const E of this._past)h.push(E.actual);for(const E of this._future)n.push(E.actual);return{past:h,future:n}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(h,n){for(let E=this._past.length-1;E>=0;E--)if(this._past[E]===h){n.has(this.strResource)?this._past[E]=n.get(this.strResource):this._past.splice(E,1);break}this.versionId++}splitFutureWorkspaceElement(h,n){for(let E=this._future.length-1;E>=0;E--)if(this._future[E]===h){n.has(this.strResource)?this._future[E]=n.get(this.strResource):this._future.splice(E,1);break}this.versionId++}moveBackward(h){this._past.pop(),this._future.push(h),this.versionId++}moveForward(h){this._future.pop(),this._past.push(h),this.versionId++}}class cf{constructor(h){this.editStacks=h,this._versionIds=[];for(let n=0,E=this.editStacks.length;n<E;n++)this._versionIds[n]=this.editStacks[n].versionId}isValid(){for(let h=0,n=this.editStacks.length;h<n;h++)if(this._versionIds[h]!==this.editStacks[h].versionId)return!1;return!0}}const Ne=new Re("","");Ne.locked=!0;let Oe=class{constructor(h,n){this._dialogService=h,this._notificationService=n,this._editStacks=new Map(),this._uriComparisonKeyComputers=[]}getUriComparisonKey(h){for(const n of this._uriComparisonKeyComputers)if(n[0]===h.scheme)return n[1].getComparisonKey(h);return h.toString()}_print(h){console.log("------------------------------------"),console.log(`AFTER ${h}: `);let n=[];for(const E of this._editStacks)n.push(E[1].toString());console.log(n.join(` -`))}pushElement(h){if(0===h.type){const n=sd(h.resource),E=this.getUriComparisonKey(h.resource);this._pushElement(new be(h,n,E))}else{const n=new Set(),E=[],ca=[];for(const Ca of h.resources){const Ma=sd(Ca),Ea=this.getUriComparisonKey(Ca);n.has(Ea)||(n.add(Ea),E.push(Ma),ca.push(Ea))}1===E.length?this._pushElement(new be(h,E[0],ca[0])):this._pushElement(new ze(h,E,ca))}}_pushElement(h){for(let n=0,E=h.strResources.length;n<E;n++){const ca=h.resourceLabels[n],Ca=h.strResources[n];let Ma;this._editStacks.has(Ca)?Ma=this._editStacks.get(Ca):(Ma=new Re(ca,Ca),this._editStacks.set(Ca,Ma)),Ma.pushElement(h)}}getLastElement(h){const n=this.getUriComparisonKey(h);if(this._editStacks.has(n)){const E=this._editStacks.get(n);if(E.hasFutureElements())return null;const ca=E.getClosestPastElement();return ca?ca.actual:null}return null}_splitPastWorkspaceElement(h,n){const E=h.actual.split(),ca=new Map();for(const Ca of E){const Ma=sd(Ca.resource),Ea=this.getUriComparisonKey(Ca.resource),eb=new be(Ca,Ma,Ea);ca.set(eb.strResource,eb)}for(const Ca of h.strResources){if(n&&n.has(Ca))continue;this._editStacks.get(Ca).splitPastWorkspaceElement(h,ca)}}_splitFutureWorkspaceElement(h,n){const E=h.actual.split(),ca=new Map();for(const Ca of E){const Ma=sd(Ca.resource),Ea=this.getUriComparisonKey(Ca.resource),eb=new be(Ca,Ma,Ea);ca.set(eb.strResource,eb)}for(const Ca of h.strResources){if(n&&n.has(Ca))continue;this._editStacks.get(Ca).splitFutureWorkspaceElement(h,ca)}}removeElements(h){const n="string"==typeof h?h:this.getUriComparisonKey(h);this._editStacks.has(n)&&(this._editStacks.get(n).dispose(),this._editStacks.delete(n))}setElementsValidFlag(h,n,E){const ca=this.getUriComparisonKey(h);this._editStacks.has(ca)&&this._editStacks.get(ca).setElementsValidFlag(n,E)}createSnapshot(h){const n=this.getUriComparisonKey(h);return this._editStacks.has(n)?this._editStacks.get(n).createSnapshot(h):new _c.b(h,[])}restoreSnapshot(h){const n=this.getUriComparisonKey(h.resource);if(this._editStacks.has(n)){const E=this._editStacks.get(n);E.restoreSnapshot(h),E.hasPastElements()||E.hasFutureElements()||(E.dispose(),this._editStacks.delete(n))}}getElements(h){const n=this.getUriComparisonKey(h);return this._editStacks.has(n)?this._editStacks.get(n).getElements():{past:[],future:[]}}canUndo(h){const n=this.getUriComparisonKey(h);return this._editStacks.has(n)?this._editStacks.get(n).hasPastElements():!1}_onError(h,n){Object(S.e)(h);for(const E of n.strResources)this.removeElements(E);this._notificationService.error(h)}_acquireLocks(h){for(const n of h.editStacks)if(n.locked)throw new Error("Cannot acquire edit stack lock");for(const n of h.editStacks)n.locked=!0;return()=>{for(const n of h.editStacks)n.locked=!1}}_safeInvokeWithLocks(h,n,E,ca=N.a.None){const Ca=this._acquireLocks(E);let Ma;try{Ma=n()}catch(Ea){return Ca(),ca.dispose(),this._onError(Ea,h)}if(Ma)return Ma.then(()=>{Ca(),ca.dispose()},Ea=>(Ca(),ca.dispose(),this._onError(Ea,h)));Ca(),ca.dispose()}_invokeWorkspacePrepare(h){return Id(this,void 0,void 0,function*(){if(void 0===h.actual.prepareUndoRedo)return N.a.None;const n=h.actual.prepareUndoRedo();return void 0===n?N.a.None:n})}_invokeResourcePrepare(h,n){if(1!==h.actual.type||void 0===h.actual.prepareUndoRedo)return void n(N.a.None);const E=h.actual.prepareUndoRedo();if(E){if(!Object(N.g)(E))return E.then(ca=>{n(ca)});n(E)}else n(N.a.None)}_getAffectedEditStacks(h){const n=[];for(const E of h.strResources)n.push(this._editStacks.get(E)||Ne);return new cf(n)}_tryToSplitAndUndo(h,n,E,ca){if(n.canSplit())return this._splitPastWorkspaceElement(n,E),this._notificationService.info(ca),new Ee(this.undo(h));for(const Ca of n.strResources)this.removeElements(Ca);return this._notificationService.info(ca),new Ee()}_checkWorkspaceUndo(h,n,E,ca){if(n.removedResources)return this._tryToSplitAndUndo(h,n,n.removedResources,nd.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",n.label,n.removedResources.createMessage()));if(ca&&n.invalidatedResources)return this._tryToSplitAndUndo(h,n,n.invalidatedResources,nd.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",n.label,n.invalidatedResources.createMessage()));const Ca=[];for(const Ea of E.editStacks)Ea.getClosestPastElement()!==n&&Ca.push(Ea.resourceLabel);if(Ca.length>0)return this._tryToSplitAndUndo(h,n,null,nd.a({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",n.label,Ca.join(", ")));const Ma=[];for(const Ea of E.editStacks)Ea.locked&&Ma.push(Ea.resourceLabel);return Ma.length>0?this._tryToSplitAndUndo(h,n,null,nd.a({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",n.label,Ma.join(", "))):E.isValid()?null:this._tryToSplitAndUndo(h,n,null,nd.a({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",n.label))}_workspaceUndo(h,n){const E=this._getAffectedEditStacks(n),ca=this._checkWorkspaceUndo(h,n,E,!1);return ca?ca.returnValue:this._confirmAndExecuteWorkspaceUndo(h,n,E)}_confirmAndExecuteWorkspaceUndo(h,n,E){return Id(this,void 0,void 0,function*(){if(n.canSplit()){const Ma=yield this._dialogService.show(zb.a.Info,nd.a("confirmWorkspace","Would you like to undo '{0}' across all files?",n.label),[nd.a({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",E.editStacks.length),nd.a("nok","Undo this File"),nd.a("cancel","Cancel")],{cancelId:2});if(2===Ma.choice)return;if(1===Ma.choice)return this._splitPastWorkspaceElement(n,null),this.undo(h);const Ea=this._checkWorkspaceUndo(h,n,E,!1);if(Ea)return Ea.returnValue}let ca;try{ca=yield this._invokeWorkspacePrepare(n)}catch(Ma){return this._onError(Ma,n)}const Ca=this._checkWorkspaceUndo(h,n,E,!0);if(Ca)return ca.dispose(),Ca.returnValue;for(const Ma of E.editStacks)Ma.moveBackward(n);return this._safeInvokeWithLocks(n,()=>n.actual.undo(),E,ca)})}_resourceUndo(h,n){if(n.isValid){if(!h.locked)return this._invokeResourcePrepare(n,E=>(h.moveBackward(n),this._safeInvokeWithLocks(n,()=>n.actual.undo(),new cf([h]),E)));{const E=nd.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",n.label);this._notificationService.info(E)}}else h.flushAllElements()}undo(h){const n="string"==typeof h?h:this.getUriComparisonKey(h);if(!this._editStacks.has(n))return;const E=this._editStacks.get(n),ca=E.getClosestPastElement();if(ca)try{return 1===ca.type?this._workspaceUndo(n,ca):this._resourceUndo(E,ca)}finally{}}canRedo(h){const n=this.getUriComparisonKey(h);return this._editStacks.has(n)?this._editStacks.get(n).hasFutureElements():!1}_tryToSplitAndRedo(h,n,E,ca){if(n.canSplit())return this._splitFutureWorkspaceElement(n,E),this._notificationService.info(ca),new Ee(this.redo(h));for(const Ca of n.strResources)this.removeElements(Ca);return this._notificationService.info(ca),new Ee()}_checkWorkspaceRedo(h,n,E,ca){if(n.removedResources)return this._tryToSplitAndRedo(h,n,n.removedResources,nd.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",n.label,n.removedResources.createMessage()));if(ca&&n.invalidatedResources)return this._tryToSplitAndRedo(h,n,n.invalidatedResources,nd.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",n.label,n.invalidatedResources.createMessage()));const Ca=[];for(const Ea of E.editStacks)Ea.getClosestFutureElement()!==n&&Ca.push(Ea.resourceLabel);if(Ca.length>0)return this._tryToSplitAndRedo(h,n,null,nd.a({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",n.label,Ca.join(", ")));const Ma=[];for(const Ea of E.editStacks)Ea.locked&&Ma.push(Ea.resourceLabel);return Ma.length>0?this._tryToSplitAndRedo(h,n,null,nd.a({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",n.label,Ma.join(", "))):E.isValid()?null:this._tryToSplitAndRedo(h,n,null,nd.a({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",n.label))}_workspaceRedo(h,n){const E=this._getAffectedEditStacks(n),ca=this._checkWorkspaceRedo(h,n,E,!1);return ca?ca.returnValue:this._executeWorkspaceRedo(h,n,E)}_executeWorkspaceRedo(h,n,E){return Id(this,void 0,void 0,function*(){let ca;try{ca=yield this._invokeWorkspacePrepare(n)}catch(Ma){return this._onError(Ma,n)}const Ca=this._checkWorkspaceRedo(h,n,E,!0);if(Ca)return ca.dispose(),Ca.returnValue;for(const Ma of E.editStacks)Ma.moveForward(n);return this._safeInvokeWithLocks(n,()=>n.actual.redo(),E,ca)})}_resourceRedo(h,n){if(n.isValid){if(!h.locked)return this._invokeResourcePrepare(n,E=>(h.moveForward(n),this._safeInvokeWithLocks(n,()=>n.actual.redo(),new cf([h]),E)));{const E=nd.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",n.label);this._notificationService.info(E)}}else h.flushAllElements()}redo(h){const n="string"==typeof h?h:this.getUriComparisonKey(h);if(!this._editStacks.has(n))return;const E=this._editStacks.get(n),ca=E.getClosestFutureElement();if(ca)try{return 1===ca.type?this._workspaceRedo(n,ca):this._resourceRedo(E,ca)}finally{}}};Oe=Zc([bd(0,xf.a),bd(1,Bb.a)],Oe);class Ee{constructor(h){this.returnValue=h}}Object(ac.b)(_c.a,Oe),f(266);var yf=f(4),Fe=f(25),Of=(f(186),f(141)),xg=f(151);const _g=new Ba.b(()=>{const h=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:h,collatorIsNumeric:h.resolvedOptions().numeric}});function $g(h,n,E){const ca=h.toLowerCase(),Ca=n.toLowerCase(),Ma=function(Cb,bc,ic){const Mc=Cb.toLowerCase(),ed=bc.toLowerCase(),td=Mc.startsWith(ic),Bd=ed.startsWith(ic);if(td!==Bd)return td?-1:1;if(td&&Bd){if(Mc.length<ed.length)return-1;if(Mc.length>ed.length)return 1}return 0}(h,n,E);if(Ma)return Ma;const Ea=ca.endsWith(E);if(Ea!==Ca.endsWith(E))return Ea?-1:1;const eb=function(Cb,bc,ic=!1){const Mc=Cb||"",ed=bc||"",td=_g.value.collator.compare(Mc,ed);return _g.value.collatorIsNumeric&&0===td&&Mc!==ed?Mc<ed?-1:1:td}(ca,Ca);return 0!==eb?eb:ca.localeCompare(Ca)}var ji=f(172),Oi=f(156),zf=f(98),yg=f(147);const Gh={},hf=new yg.a("quick-input-button-icon-");function sh(h){if(!h)return;let n;const E=h.dark.toString();return Gh[E]?n=Gh[E]:(n=hf.nextId(),P.u("."+n,"background-image: "+P.q(h.light||h.dark)),P.u(`.vs-dark .${n}, .hc-black .${n}`,"background-image: "+P.q(h.dark)),Gh[E]=n),n}f(271);const ig=P.a;class Pi{constructor(h,n,E){this.os=n,this.options=E,this.domNode=P.p(h,ig(".monaco-keybinding")),this.didEverRender=!1,h.appendChild(this.domNode)}set(h,n){this.didEverRender&&this.keybinding===h&&Pi.areSame(this.matches,n)||(this.keybinding=h,this.matches=n,this.render())}render(){if(P.s(this.domNode),this.keybinding){let[h,n]=this.keybinding.getParts();h&&this.renderPart(this.domNode,h,this.matches?this.matches.firstPart:null),n&&(P.p(this.domNode,ig("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,n,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}renderPart(h,n,E){const ca=ia.modifierLabels[this.os];n.ctrlKey&&this.renderKey(h,ca.ctrlKey,Boolean(null==E?void 0:E.ctrlKey),ca.separator),n.shiftKey&&this.renderKey(h,ca.shiftKey,Boolean(null==E?void 0:E.shiftKey),ca.separator),n.altKey&&this.renderKey(h,ca.altKey,Boolean(null==E?void 0:E.altKey),ca.separator),n.metaKey&&this.renderKey(h,ca.metaKey,Boolean(null==E?void 0:E.metaKey),ca.separator);const Ca=n.keyLabel;Ca&&this.renderKey(h,Ca,Boolean(null==E?void 0:E.keyCode),"")}renderKey(h,n,E,ca){P.p(h,ig("span.monaco-keybinding-key"+(E?".highlight":""),void 0,n)),ca&&P.p(h,ig("span.monaco-keybinding-key-separator",void 0,ca))}renderUnbound(h){P.p(h,ig("span.monaco-keybinding-key",void 0,Object(nd.a)("unbound","Unbound")))}static areSame(h,n){return h===n||!h&&!n||!!h&&!!n&&Object(Od.e)(h.firstPart,n.firstPart)&&Object(Od.e)(h.chordPart,n.chordPart)}}var th=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea};const Pf=P.a;class ki{constructor(h){this.hidden=!1,this._onChecked=new xc.a(),this.onChecked=this._onChecked.event,Object(Od.a)(this,h)}get checked(){return!!this._checked}set checked(h){h!==this._checked&&(this._checked=h,this._onChecked.fire(h))}dispose(){this._onChecked.dispose()}}class Af{get templateId(){return Af.ID}renderTemplate(h){const n=Object.create(null);n.toDisposeElement=[],n.toDisposeTemplate=[],n.entry=P.p(h,Pf(".quick-input-list-entry"));const E=P.p(n.entry,Pf("label.quick-input-list-label"));n.toDisposeTemplate.push(P.n(E,P.c.CLICK,Cb=>{n.checkbox.offsetParent||Cb.preventDefault()})),n.checkbox=P.p(E,Pf("input.quick-input-list-checkbox")),n.checkbox.type="checkbox",n.toDisposeTemplate.push(P.n(n.checkbox,P.c.CHANGE,Cb=>{n.element.checked=n.checkbox.checked}));const ca=P.p(E,Pf(".quick-input-list-rows")),Ca=P.p(ca,Pf(".quick-input-list-row")),Ma=P.p(ca,Pf(".quick-input-list-row"));n.label=new ji.a(Ca,{supportHighlights:!0,supportDescriptionHighlights:!0,supportCodicons:!0});const Ea=P.p(Ca,Pf(".quick-input-list-entry-keybinding"));n.keybinding=new Pi(Ea,ma.a);const eb=P.p(Ma,Pf(".quick-input-list-label-meta"));return n.detail=new Oi.a(eb,!0),n.separator=P.p(n.entry,Pf(".quick-input-list-separator")),n.actionBar=new cg.a(n.entry),n.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),n.toDisposeTemplate.push(n.actionBar),n}renderElement(h,n,E){E.toDisposeElement=Object(N.f)(E.toDisposeElement),E.element=h,E.checkbox.checked=h.checked,E.toDisposeElement.push(h.onChecked(Cb=>E.checkbox.checked=Cb));const{labelHighlights:ca,descriptionHighlights:Ca,detailHighlights:Ma}=h,Ea=Object.create(null);Ea.matches=ca||[],Ea.descriptionTitle=h.saneDescription,Ea.descriptionMatches=Ca||[],Ea.extraClasses=h.item.iconClasses,Ea.italic=h.item.italic,Ea.strikethrough=h.item.strikethrough,E.label.setLabel(h.saneLabel,h.saneDescription,Ea),E.keybinding.set(h.item.keybinding),E.detail.set(h.saneDetail,Ma),h.separator&&h.separator.label?(E.separator.textContent=h.separator.label,E.separator.style.display=""):E.separator.style.display="none",h.separator?P.e(E.entry,"quick-input-list-separator-border"):P.Q(E.entry,"quick-input-list-separator-border"),E.actionBar.clear();const eb=h.item.buttons;eb&&eb.length?(E.actionBar.push(eb.map((Cb,bc)=>{let ic=Cb.iconClass||(Cb.iconPath?sh(Cb.iconPath):void 0);Cb.alwaysVisible&&(ic=ic?ic+" always-visible":"always-visible");const Mc=new nf.a("id-"+bc,"",ic,!0,()=>(h.fireButtonTriggered({button:Cb,item:h.item}),Promise.resolve()));return Mc.tooltip=Cb.tooltip||"",Mc}),{icon:!0,label:!1}),P.e(E.entry,"has-actions")):P.Q(E.entry,"has-actions")}disposeElement(h,n,E){E.toDisposeElement=Object(N.f)(E.toDisposeElement)}disposeTemplate(h){h.toDisposeElement=Object(N.f)(h.toDisposeElement),h.toDisposeTemplate=Object(N.f)(h.toDisposeTemplate)}}Af.ID="listelement";class li{getHeight(h){return h.saneDetail?44:22}getTemplateId(h){return Af.ID}}var ee;!function(h){h[h.First=1]="First",h[h.Second=2]="Second",h[h.Last=3]="Last",h[h.Next=4]="Next",h[h.Previous=5]="Previous",h[h.NextPage=6]="NextPage",h[h.PreviousPage=7]="PreviousPage"}(ee||(ee={}));class Zd{constructor(h,n,E){this.parent=h,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map(),this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new xc.a(),this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new xc.a(),this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new xc.a(),this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new xc.a(),this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new xc.a(),this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new xc.a(),this.onKeyDown=this._onKeyDown.event,this._onLeave=new xc.a(),this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=n,this.container=P.p(this.parent,Pf(".quick-input-list"));const ca=new li(),Ca=new ah();this.list=E.createList("QuickInput",this.container,ca,[new Af()],{identityProvider:{getId:Ma=>Ma.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:Ca}),this.list.getHTMLElement().id=n,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(Ma=>{const Ea=new Ic.a(Ma);switch(Ea.keyCode){case 10:this.toggleCheckbox();break;case 31:(ma.f?Ma.metaKey:Ma.ctrlKey)&&this.list.setFocus(Object(ua.s)(this.list.length));break;case 16:const eb=this.list.getFocus();1===eb.length&&0===eb[0]&&this._onLeave.fire();break;case 18:const Cb=this.list.getFocus();1===Cb.length&&Cb[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(Ea)})),this.disposables.push(this.list.onMouseDown(Ma=>{2!==Ma.browserEvent.button&&Ma.browserEvent.preventDefault()})),this.disposables.push(P.i(this.container,P.c.CLICK,Ma=>{(Ma.x||Ma.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(Ma=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(Ma=>{"number"==typeof Ma.index&&(Ma.browserEvent.preventDefault(),this.list.setSelection([Ma.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return xc.b.map(this.list.onDidChangeFocus,h=>h.elements.map(n=>n.item))}get onDidChangeSelection(){return xc.b.map(this.list.onDidChangeSelection,h=>({items:h.elements.map(n=>n.item),event:h.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(h,n=!0){for(let E=0,ca=h.length;E<ca;E++){const Ca=h[E];if(!Ca.hidden){if(!Ca.checked)return!1;n=!0}}return n}getCheckedCount(){let h=0;const n=this.elements;for(let E=0,ca=n.length;E<ca;E++)n[E].checked&&h++;return h}getVisibleCount(){let h=0;const n=this.elements;for(let E=0,ca=n.length;E<ca;E++)n[E].hidden||h++;return h}setAllVisibleChecked(h){try{this._fireCheckedEvents=!1,this.elements.forEach(n=>{n.hidden||(n.checked=h)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(h){this.elementDisposables=Object(N.f)(this.elementDisposables);const n=E=>this.fireButtonTriggered(E);this.inputElements=h,this.elements=h.reduce((E,ca,Ca)=>{var Ma,Ea,eb;if("separator"!==ca.type){const Cb=Ca&&h[Ca-1],bc=ca.label&&ca.label.replace(/\r?\n/g," "),ic=ca.description&&ca.description.replace(/\r?\n/g," "),Mc=ca.detail&&ca.detail.replace(/\r?\n/g," "),ed=ca.ariaLabel||[bc,ic,Mc].map(td=>td&&Object(xg.c)(td).text).filter(td=>!!td).join(", ");E.push(new ki({index:Ca,item:ca,saneLabel:bc,saneAriaLabel:ed,saneDescription:ic,saneDetail:Mc,labelHighlights:null===(Ma=ca.highlights)||void 0===Ma?void 0:Ma.label,descriptionHighlights:null===(Ea=ca.highlights)||void 0===Ea?void 0:Ea.description,detailHighlights:null===(eb=ca.highlights)||void 0===eb?void 0:eb.detail,checked:!1,separator:Cb&&"separator"===Cb.type?Cb:void 0,fireButtonTriggered:n}))}return E},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(E=>E.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((E,ca,Ca)=>(E.set(ca.item,Ca),E),new Map()),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(h=>h.item)}setFocusedElements(h){if(this.list.setFocus(h.filter(n=>this.elementsToIndexes.has(n)).map(n=>this.elementsToIndexes.get(n))),h.length>0){const n=this.list.getFocus()[0];"number"==typeof n&&this.list.reveal(n)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(h){this.list.setSelection(h.filter(n=>this.elementsToIndexes.has(n)).map(n=>this.elementsToIndexes.get(n)))}getCheckedElements(){return this.elements.filter(h=>h.checked).map(h=>h.item)}setCheckedElements(h){try{this._fireCheckedEvents=!1;const n=new Set();for(const E of h)n.add(E);for(const E of this.elements)E.checked=n.has(E.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(h){this.list.getHTMLElement().style.pointerEvents=h?"":"none"}focus(h){if(!this.list.length)return;switch(h===ee.Next&&this.list.getFocus()[0]===this.list.length-1&&(h=ee.First),h===ee.Previous&&0===this.list.getFocus()[0]&&(h=ee.Last),h===ee.Second&&this.list.length<2&&(h=ee.First),h){case ee.First:this.list.focusFirst();break;case ee.Second:this.list.focusNth(1);break;case ee.Last:this.list.focusLast();break;case ee.Next:this.list.focusNext();break;case ee.Previous:this.list.focusPrevious();break;case ee.NextPage:this.list.focusNextPage();break;case ee.PreviousPage:this.list.focusPreviousPage()}const n=this.list.getFocus()[0];"number"==typeof n&&this.list.reveal(n)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(h){this.list.getHTMLElement().style.maxHeight=h?`calc(${44*Math.floor(h/44)}px)`:"",this.list.layout()}filter(h){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;(h=h.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)?this.elements.forEach(E=>{const ca=this.matchOnLabel?Object(tc.n)(Object(xg.b)(h,Object(xg.c)(E.saneLabel))):void 0,Ca=this.matchOnDescription?Object(tc.n)(Object(xg.b)(h,Object(xg.c)(E.saneDescription||""))):void 0,Ma=this.matchOnDetail?Object(tc.n)(Object(xg.b)(h,Object(xg.c)(E.saneDetail||""))):void 0;ca||Ca||Ma?(E.labelHighlights=ca,E.descriptionHighlights=Ca,E.detailHighlights=Ma,E.hidden=!1):(E.labelHighlights=void 0,E.descriptionHighlights=void 0,E.detailHighlights=void 0,E.hidden=!E.item.alwaysShow),E.separator=void 0}):this.elements.forEach(E=>{E.labelHighlights=void 0,E.descriptionHighlights=void 0,E.detailHighlights=void 0,E.hidden=!1;const ca=E.index&&this.inputElements[E.index-1];E.separator=ca&&"separator"===ca.type?ca:void 0});const n=this.elements.filter(E=>!E.hidden);if(this.sortByLabel&&h){const E=h.toLowerCase();n.sort((ca,Ca)=>function(Ma,Ea,eb){const Cb=Ma.labelHighlights||[],bc=Ea.labelHighlights||[];return Cb.length&&!bc.length?-1:!Cb.length&&bc.length?1:0===Cb.length&&0===bc.length?0:$g(Ma.saneLabel,Ea.saneLabel,eb)}(ca,Ca,E))}return this.elementsToIndexes=n.reduce((E,ca,Ca)=>(E.set(ca.item,Ca),E),new Map()),this.list.splice(0,this.list.length,n),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(n.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const h=this.list.getFocusedElements(),n=this.allVisibleChecked(h);for(const E of h)E.checked=!n}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(h){this.container.style.display=h?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=Object(N.f)(this.elementDisposables),this.disposables=Object(N.f)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(h){this._onButtonTriggered.fire(h)}style(h){this.list.style(h)}}th([zf.a],Zd.prototype,"onDidChangeFocus",null),th([zf.a],Zd.prototype,"onDidChangeSelection",null);class ah{getWidgetAriaLabel(){return Object(nd.a)("quickInput","Quick Input")}getAriaLabel(h){return h.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var Qi=f(173);const Ri=P.a;class jg extends N.a{constructor(h){super(),this.parent=h,this.onKeyDown=n=>P.i(this.inputBox.inputElement,P.c.KEY_DOWN,E=>{n(new Ic.a(E))}),this.onMouseDown=n=>P.i(this.inputBox.inputElement,P.c.MOUSE_DOWN,E=>{n(new eg.a(E))}),this.onDidChange=n=>this.inputBox.onDidChange(n),this.container=P.p(this.parent,Ri(".quick-input-box")),this.inputBox=this._register(new Qi.b(this.container,void 0))}get value(){return this.inputBox.value}set value(h){this.inputBox.value=h}select(h=null){this.inputBox.select(h)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(h){this.inputBox.setPlaceHolder(h)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(h){this.inputBox.setAriaLabel(h)}get password(){return"password"===this.inputBox.inputElement.type}set password(h){this.inputBox.inputElement.type=h?"password":"text"}setAttribute(h,n){this.inputBox.inputElement.setAttribute(h,n)}removeAttribute(h){this.inputBox.inputElement.removeAttribute(h)}showDecoration(h){h===zb.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:h===zb.a.Info?1:h===zb.a.Warning?2:3,content:""})}stylesForType(h){return this.inputBox.stylesForType(h===zb.a.Info?1:h===zb.a.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(h){this.inputBox.style(h)}}var Hh=f(185);f(277);const uh={progressBarBackground:qe.a.fromHex("#0E70C0")};class vh extends N.a{constructor(h,n){super(),this.options=n||Object.create(null),Object(Od.g)(this.options,uh,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new Ba.d(()=>Object(P.Z)(this.element),0)),this.create(h)}create(h){this.element=document.createElement("div"),Object(P.e)(this.element,"monaco-progress-container"),h.appendChild(this.element),this.bit=document.createElement("div"),Object(P.e)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(P.R)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(h){return Object(P.e)(this.element,"done"),Object(P.I)(this.element,"infinite")?(this.bit.style.opacity="0",h?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",h?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",Object(P.R)(this.element,"discrete","done"),Object(P.f)(this.element,"active","infinite"),this}getContainer(){return this.element}style(h){this.progressBarBackground=h.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const h=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=h}}}f(279);var bh=f(61);const mi={buttonBackground:qe.a.fromHex("#0E639C"),buttonHoverBackground:qe.a.fromHex("#006BB3"),buttonForeground:qe.a.white};class Bf extends N.a{constructor(h,n){super(),this._onDidClick=this._register(new xc.a()),this.options=n||Object.create(null),Object(Od.g)(this.options,mi,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),P.e(this._element,"monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),h.appendChild(this._element),this._register(bh.b.addTarget(this._element)),[P.c.CLICK,bh.a.Tap].forEach(E=>{this._register(P.i(this._element,E,ca=>{this.enabled?this._onDidClick.fire(ca):P.b.stop(ca)}))}),this._register(P.i(this._element,P.c.KEY_DOWN,E=>{const ca=new Ic.a(E);let Ca=!1;this.enabled&&(ca.equals(3)||ca.equals(10))?(this._onDidClick.fire(E),Ca=!0):ca.equals(9)&&(this._element.blur(),Ca=!0),Ca&&P.b.stop(ca,!0)})),this._register(P.i(this._element,P.c.MOUSE_OVER,E=>{P.I(this._element,"disabled")||this.setHoverBackground()})),this._register(P.i(this._element,P.c.MOUSE_OUT,E=>{this.applyStyles()})),this.focusTracker=this._register(P.bb(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let h;h=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,h&&(this._element.style.backgroundColor=h)}style(h){this.buttonForeground=h.buttonForeground,this.buttonBackground=h.buttonBackground,this.buttonHoverBackground=h.buttonHoverBackground,this.buttonSecondaryForeground=h.buttonSecondaryForeground,this.buttonSecondaryBackground=h.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=h.buttonSecondaryHoverBackground,this.buttonBorder=h.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let h,n;this.options.secondary?(n=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",h=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(n=this.buttonForeground?this.buttonForeground.toString():"",h=this.buttonBackground?this.buttonBackground.toString():"");const E=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=n,this._element.style.backgroundColor=h,this._element.style.borderWidth=E?"1px":"",this._element.style.borderStyle=E?"solid":"",this._element.style.borderColor=E}}get element(){return this._element}set label(h){P.I(this._element,"monaco-text-button")||P.e(this._element,"monaco-text-button"),this.options.supportCodicons?P.U(this._element,...function(n){const E=new Array();let ca,Ca=0,Ma=0;for(;null!==(ca=of.g.exec(n));){Ma=ca.index||0,E.push(n.substring(Ca,Ma)),Ca=(ca.index||0)+ca[0].length;const[,Ea,eb,Cb,bc]=ca;E.push(Ea?`$(${eb})`:P.a(`span.codicon.codicon-${Cb}${bc?".codicon-animation-"+bc:""}`))}return Ca<n.length&&E.push(n.substring(Ca)),E}(h)):this._element.textContent=h,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=h)}set enabled(h){h?(P.Q(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(P.e(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!0)),P.T(this._element))}get enabled(){return!P.I(this._element,"disabled")}}var Si=function(h,n,E,ca){return new(E||(E=Promise))(function(Ca,Ma){function Ea(bc){try{Cb(ca.next(bc))}catch(ic){Ma(ic)}}function eb(bc){try{Cb(ca.throw(bc))}catch(ic){Ma(ic)}}function Cb(bc){var ic;bc.done?Ca(bc.value):(ic=bc.value,ic instanceof E?ic:new E(function(Mc){Mc(ic)})).then(Ea,eb)}Cb((ca=ca.apply(h,n||[])).next())})};const Xc=P.a,ni={iconClass:Object(of.e)("quick-input-back",of.a.arrowLeft).classNames,tooltip:Object(nd.a)("quickInput.back","Back"),handle:-1};class Ti extends N.a{constructor(h){super(),this.ui=h,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new xc.a()),this.onDidHideEmitter=this._register(new xc.a()),this.onDisposeEmitter=this._register(new xc.a()),this.visibleDisposables=this._register(new N.b()),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(h){this._title=h,this.update()}get description(){return this._description}set description(h){this._description=h,this.update()}get step(){return this._steps}set step(h){this._steps=h,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(h){this._totalSteps=h,this.update()}get enabled(){return this._enabled}set enabled(h){this._enabled=h,this.update()}get contextKey(){return this._contextKey}set contextKey(h){this._contextKey=h,this.update()}get busy(){return this._busy}set busy(h){this._busy=h,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(h){this._ignoreFocusOut=h,this.update()}get buttons(){return this._buttons}set buttons(h){this._buttons=h,this.buttonsUpdated=!0,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(h=>{-1!==this.buttons.indexOf(h)&&this.onDidTriggerButtonEmitter.fire(h)})),this.ui.show(this),this.visible=!0,this.update())}hide(){this.visible&&this.ui.hide()}didHide(){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire()}update(){if(!this.visible)return;const h=this.getTitle();h&&this.ui.title.textContent!==h?this.ui.title.textContent=h:h||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" ;");const n=this.getDescription();if(this.ui.description.textContent!==n&&(this.ui.description.textContent=n),this.busy&&!this.busyDelay&&(this.busyDelay=new Ba.e(),this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const E=this.buttons.filter(Ca=>Ca===ni);this.ui.leftActionBar.push(E.map((Ca,Ma)=>{const Ea=new nf.a("id-"+Ma,"",Ca.iconClass||sh(Ca.iconPath),!0,()=>Si(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(Ca)}));return Ea.tooltip=Ca.tooltip||"",Ea}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const ca=this.buttons.filter(Ca=>Ca!==ni);this.ui.rightActionBar.push(ca.map((Ca,Ma)=>{const Ea=new nf.a("id-"+Ma,"",Ca.iconClass||sh(Ca.iconPath),!0,()=>Si(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(Ca)}));return Ea.tooltip=Ca.tooltip||"",Ea}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey)}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?Object(nd.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(h){if(this.ui.inputBox.showDecoration(h),h===zb.a.Error){const n=this.ui.inputBox.stylesForType(h);this.ui.message.style.color=n.foreground?""+n.foreground:"",this.ui.message.style.backgroundColor=n.background?""+n.background:"",this.ui.message.style.border=n.border?"1px solid "+n.border:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}class Ih extends Ti{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new xc.a()),this.onDidAcceptEmitter=this._register(new xc.a()),this.onDidCustomEmitter=this._register(new xc.a()),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?Of.a.NONE:Of.a.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new xc.a()),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new xc.a()),this.onDidTriggerItemButtonEmitter=this._register(new xc.a()),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=h=>h,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(h){this._quickNavigate=h,this.update()}get value(){return this._value}set value(h){this._value=h||"",this.update()}set ariaLabel(h){this._ariaLabel=h,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(h){this._placeholder=h,this.update()}get items(){return this._items}set items(h){this._items=h,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(h){this._canSelectMany=h,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(h){this._canAcceptInBackground=h}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(h){this._matchOnDescription=h,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(h){this._matchOnDetail=h,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(h){this._matchOnLabel=h,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(h){this._sortByLabel=h,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(h){this._autoFocusOnList=h,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(h){this._itemActivation=h}get activeItems(){return this._activeItems}set activeItems(h){this._activeItems=h,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(h){this._selectedItems=h,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Of.b:this.ui.keyMods}set valueSelection(h){this._valueSelection=h,this.valueSelectionUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(h){this._validationMessage=h,this.update()}get customButton(){return this._customButton}set customButton(h){this._customButton=h,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(h){this._customButtonLabel=h,this.update()}get customHover(){return this._customButtonHover}set customHover(h){this._customButtonHover=h,this.update()}get ok(){return this._ok}set ok(h){this._ok=h,this.update()}get hideInput(){return!!this._hideInput}set hideInput(h){this._hideInput=h,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(ee.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(h=>{if(h===this.value)return;this._value=h,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(h)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(h=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(h=>{switch(h.keyCode){case 18:this.ui.list.focus(ee.Next),this.canSelectMany&&this.ui.list.domFocus(),P.b.stop(h,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(ee.Previous):this.ui.list.focus(ee.Last),this.canSelectMany&&this.ui.list.domFocus(),P.b.stop(h,!0);break;case 12:this.ui.list.focus(ee.NextPage),this.canSelectMany&&this.ui.list.domFocus(),P.b.stop(h,!0);break;case 11:this.ui.list.focus(ee.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),P.b.stop(h,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:!h.ctrlKey&&!h.metaKey||h.shiftKey||h.altKey||(this.ui.list.focus(ee.First),P.b.stop(h,!0));break;case 13:!h.ctrlKey&&!h.metaKey||h.shiftKey||h.altKey||(this.ui.list.focus(ee.Last),P.b.stop(h,!0))}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.onDidAcceptEmitter.fire({inBackground:!1})})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(h=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Object(ua.g)(h,this._activeItems,(n,E)=>n===E)||(this._activeItems=h,this.onDidChangeActiveEmitter.fire(h))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:h,event:n})=>{this.canSelectMany?h.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Object(ua.g)(h,this._selectedItems,(E,ca)=>E===ca)||(this._selectedItems=h,this.onDidChangeSelectionEmitter.fire(h),h.length&&this.onDidAcceptEmitter.fire({inBackground:n instanceof MouseEvent&&1===n.button}))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(h=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&Object(ua.g)(h,this._selectedItems,(n,E)=>n===E)||(this._selectedItems=h,this.onDidChangeSelectionEmitter.fire(h)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(h=>this.onDidTriggerItemButtonEmitter.fire(h))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}registerQuickNavigation(){return P.i(this.ui.container,P.c.KEY_UP,h=>{if(this.canSelectMany||!this._quickNavigate)return;const n=new Ic.a(h),E=n.keyCode;this._quickNavigate.keybindings.some(ca=>{const[Ca,Ma]=ca.getParts();return!Ma&&(Ca.shiftKey&&4===E?!(n.ctrlKey||n.altKey||n.metaKey):!(!Ca.altKey||6!==E)||(!(!Ca.ctrlKey||5!==E)||!(!Ca.metaKey||57!==E)))})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!1})),this._quickNavigate=void 0)})}update(){if(!this.visible)return;let h=!1,n=!1;this._hideInput&&this._items.length>0&&(this.ui.isScreenReaderOptimized()?n=!0:h=!0),P.ab(this.ui.container,"hidden-input",h);const E={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany,inputBox:!h,progressBar:!h,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};if(this.ui.setVisibilities(E),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),n)this.ui.inputBox.ariaLabel="";else{const ca=this.ariaLabel||this.placeholder||Ih.DEFAULT_ARIA_LABEL;this.ui.inputBox.ariaLabel!==ca&&(this.ui.inputBox.ariaLabel=ca)}if(this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Of.a.NONE:this._itemActivation=Of.a.FIRST;break;case Of.a.SECOND:this.ui.list.focus(ee.Second),this._itemActivation=Of.a.FIRST;break;case Of.a.LAST:this.ui.list.focus(ee.Last),this._itemActivation=Of.a.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.validationMessage?(this.ui.message.textContent=this.validationMessage,this.showMessageDecoration(zb.a.Error)):(this.ui.message.textContent=null,this.showMessageDecoration(zb.a.Ignore)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),E.inputBox||this.ui.list.domFocus()}}Ih.DEFAULT_ARIA_LABEL=Object(nd.a)("quickInputBox.ariaLabel","Type to narrow down results.");class Jh extends N.a{constructor(h){super(),this.options=h,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new xc.a()),this.onDidCustomEmitter=this._register(new xc.a()),this.onDidTriggerButtonEmitter=this._register(new xc.a()),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new xc.a()),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new xc.a()),this.onHide=this.onHideEmitter.event,this.idPrefix=h.idPrefix,this.parentElement=h.container,this.styles=h.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const h=n=>{this.keyMods.ctrlCmd=n.ctrlKey||n.metaKey,this.keyMods.alt=n.altKey};this._register(P.i(window,P.c.KEY_DOWN,h,!0)),this._register(P.i(window,P.c.KEY_UP,h,!0)),this._register(P.i(window,P.c.MOUSE_DOWN,h,!0))}getUI(){if(this.ui)return this.ui;const h=P.p(this.parentElement,Xc(".quick-input-widget.show-file-icons"));h.tabIndex=-1,h.style.display="none";const n=P.v(h),E=P.p(h,Xc(".quick-input-titlebar")),ca=this._register(new cg.a(E));ca.domNode.classList.add("quick-input-left-action-bar");const Ca=P.p(E,Xc(".quick-input-title")),Ma=this._register(new cg.a(E));Ma.domNode.classList.add("quick-input-right-action-bar");const Ea=P.p(h,Xc(".quick-input-description")),eb=P.p(h,Xc(".quick-input-header")),Cb=P.p(eb,Xc("input.quick-input-check-all"));Cb.type="checkbox",this._register(P.n(Cb,P.c.CHANGE,Xd=>{const Ke=Cb.checked;Rf.setAllVisibleChecked(Ke)})),this._register(P.i(Cb,P.c.CLICK,Xd=>{(Xd.x||Xd.y)&&Mc.setFocus()}));const bc=P.p(eb,Xc(".quick-input-and-message")),ic=P.p(bc,Xc(".quick-input-filter")),Mc=this._register(new jg(ic));Mc.setAttribute("aria-describedby",this.idPrefix+"message");const ed=P.p(ic,Xc(".quick-input-visible-count"));ed.setAttribute("aria-live","polite"),ed.setAttribute("aria-atomic","true");const td=new Hh.a(ed,{countFormat:Object(nd.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),Bd=P.p(ic,Xc(".quick-input-count"));Bd.setAttribute("aria-live","polite");const $d=new Hh.a(Bd,{countFormat:Object(nd.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),ae=P.p(eb,Xc(".quick-input-action")),ge=new Bf(ae);ge.label=Object(nd.a)("ok","OK"),this._register(ge.onDidClick(Xd=>{this.onDidAcceptEmitter.fire()}));const Ud=P.p(eb,Xc(".quick-input-action")),Se=new Bf(Ud);Se.label=Object(nd.a)("custom","Custom"),this._register(Se.onDidClick(Xd=>{this.onDidCustomEmitter.fire()}));const Tg=P.p(bc,Xc(`#${this.idPrefix}message.quick-input-message`)),Ze=new vh(h);P.e(Ze.getContainer(),"quick-input-progress");const Rf=this._register(new Zd(h,this.idPrefix+"list",this.options));this._register(Rf.onChangedAllVisibleChecked(Xd=>{Cb.checked=Xd})),this._register(Rf.onChangedVisibleCount(Xd=>{td.setCount(Xd)})),this._register(Rf.onChangedCheckedCount(Xd=>{$d.setCount(Xd)})),this._register(Rf.onLeave(()=>{setTimeout(()=>{Mc.setFocus(),this.controller instanceof Ih&&this.controller.canSelectMany&&Rf.clearFocus()},0)})),this._register(Rf.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));const he=P.bb(h);return this._register(he),this._register(P.i(h,P.c.FOCUS,Xd=>{this.previousFocusElement=Xd.relatedTarget instanceof HTMLElement?Xd.relatedTarget:void 0},!0)),this._register(he.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(),this.previousFocusElement=void 0})),this._register(P.i(h,P.c.FOCUS,Xd=>{Mc.setFocus()})),this._register(P.i(h,P.c.KEY_DOWN,Xd=>{const Ke=new Ic.a(Xd);switch(Ke.keyCode){case 3:P.b.stop(Xd,!0),this.onDidAcceptEmitter.fire();break;case 9:P.b.stop(Xd,!0),this.hide();break;case 2:if(!Ke.altKey&&!Ke.ctrlKey&&!Ke.metaKey){const Vh=[".action-label.codicon"];h.classList.contains("show-checkboxes")?Vh.push("input"):Vh.push("input[type=text]"),this.getUI().list.isDisplayed()&&Vh.push(".monaco-list");const ng=h.querySelectorAll(Vh.join(", "));Ke.shiftKey&&Ke.target===ng[0]?(P.b.stop(Xd,!0),ng[ng.length-1].focus()):Ke.shiftKey||Ke.target!==ng[ng.length-1]||(P.b.stop(Xd,!0),ng[0].focus())}}})),this.ui={container:h,styleSheet:n,leftActionBar:ca,titleBar:E,title:Ca,description:Ea,rightActionBar:Ma,checkAll:Cb,filterContainer:ic,inputBox:Mc,visibleCountContainer:ed,visibleCount:td,countContainer:Bd,count:$d,okContainer:ae,ok:ge,message:Tg,customButtonContainer:Ud,customButton:Se,progressBar:Ze,list:Rf,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:Xd=>this.show(Xd),hide:()=>this.hide(),setVisibilities:Xd=>this.setVisibilities(Xd),setComboboxAccessibility:Xd=>this.setComboboxAccessibility(Xd),setEnabled:Xd=>this.setEnabled(Xd),setContextKey:Xd=>this.options.setContextKey(Xd)},this.updateStyles(),this.ui}pick(h,n={},E=Fe.a.None){return new Promise((ca,Ca)=>{let Ma=bc=>{Ma=ca,n.onKeyMods&&n.onKeyMods(Ea.keyMods),ca(bc)};if(E.isCancellationRequested)return void Ma(void 0);const Ea=this.createQuickPick();let eb;const Cb=[Ea,Ea.onDidAccept(()=>{if(Ea.canSelectMany)Ma(Ea.selectedItems.slice()),Ea.hide();else{const bc=Ea.activeItems[0];bc&&(Ma(bc),Ea.hide())}}),Ea.onDidChangeActive(bc=>{const ic=bc[0];ic&&n.onDidFocus&&n.onDidFocus(ic)}),Ea.onDidChangeSelection(bc=>{if(!Ea.canSelectMany){const ic=bc[0];ic&&(Ma(ic),Ea.hide())}}),Ea.onDidTriggerItemButton(bc=>n.onDidTriggerItemButton&&n.onDidTriggerItemButton(Object.assign(Object.assign({},bc),{removeItem:()=>{const ic=Ea.items.indexOf(bc.item);if(-1!==ic){const Mc=Ea.items.slice();Mc.splice(ic,1),Ea.items=Mc}}}))),Ea.onDidChangeValue(bc=>{!eb||bc||1===Ea.activeItems.length&&Ea.activeItems[0]===eb||(Ea.activeItems=[eb])}),E.onCancellationRequested(()=>{Ea.hide()}),Ea.onDidHide(()=>{Object(N.f)(Cb),Ma(void 0)})];Ea.canSelectMany=!!n.canPickMany,Ea.placeholder=n.placeHolder,Ea.ignoreFocusOut=!!n.ignoreFocusLost,Ea.matchOnDescription=!!n.matchOnDescription,Ea.matchOnDetail=!!n.matchOnDetail,Ea.matchOnLabel=void 0===n.matchOnLabel||n.matchOnLabel,Ea.autoFocusOnList=void 0===n.autoFocusOnList||n.autoFocusOnList,Ea.quickNavigate=n.quickNavigate,Ea.contextKey=n.contextKey,Ea.busy=!0,Promise.all([h,n.activeItem]).then(([bc,ic])=>{eb=ic,Ea.busy=!1,Ea.items=bc,Ea.canSelectMany&&(Ea.selectedItems=bc.filter(Mc=>"separator"!==Mc.type&&Mc.picked)),eb&&(Ea.activeItems=[eb])}),Ea.show(),Promise.resolve(h).then(void 0,bc=>{Ca(bc),Ea.hide()})})}createQuickPick(){const h=this.getUI();return new Ih(h)}show(h){const n=this.getUI();this.onShowEmitter.fire();const E=this.controller;this.controller=h,E&&E.didHide(),this.setEnabled(!0),n.leftActionBar.clear(),n.title.textContent="",n.description.textContent="",n.rightActionBar.clear(),n.checkAll.checked=!1,n.inputBox.placeholder="",n.inputBox.password=!1,n.inputBox.showDecoration(zb.a.Ignore),n.visibleCount.setCount(0),n.count.setCount(0),n.message.textContent="",n.progressBar.stop(),n.list.setElements([]),n.list.matchOnDescription=!1,n.list.matchOnDetail=!1,n.list.matchOnLabel=!0,n.list.sortByLabel=!0,n.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),n.inputBox.ariaLabel="";const ca=this.options.backKeybindingLabel();ni.tooltip=ca?Object(nd.a)("quickInput.backWithKeybinding","Back ({0})",ca):Object(nd.a)("quickInput.back","Back"),n.container.style.display="",this.updateLayout(),n.inputBox.setFocus()}setVisibilities(h){const n=this.getUI();n.title.style.display=h.title?"":"none",n.description.style.display=h.description?"":"none",n.checkAll.style.display=h.checkAll?"":"none",n.filterContainer.style.display=h.inputBox?"":"none",n.visibleCountContainer.style.display=h.visibleCount?"":"none",n.countContainer.style.display=h.count?"":"none",n.okContainer.style.display=h.ok?"":"none",n.customButtonContainer.style.display=h.customButton?"":"none",n.message.style.display=h.message?"":"none",n.progressBar.getContainer().style.display=h.progressBar?"":"none",n.list.display(!!h.list),n.container.classList[h.checkAll?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(h){if(h!==this.comboboxAccessibility){const n=this.getUI();this.comboboxAccessibility=h,this.comboboxAccessibility?(n.inputBox.setAttribute("role","combobox"),n.inputBox.setAttribute("aria-haspopup","true"),n.inputBox.setAttribute("aria-autocomplete","list"),n.inputBox.setAttribute("aria-activedescendant",n.list.getActiveDescendant()||"")):(n.inputBox.removeAttribute("role"),n.inputBox.removeAttribute("aria-haspopup"),n.inputBox.removeAttribute("aria-autocomplete"),n.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(h){if(h!==this.enabled){this.enabled=h;for(const n of this.getUI().leftActionBar.viewItems)n.getAction().enabled=h;for(const n of this.getUI().rightActionBar.viewItems)n.getAction().enabled=h;this.getUI().checkAll.disabled=!h,this.getUI().ok.enabled=h,this.getUI().list.enabled=h}}hide(){var h;const n=this.controller;if(n){const E=!(null===(h=this.ui)||void 0===h?void 0:h.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",E||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),n.didHide()}}layout(h,n){this.dimension=h,this.titleBarOffset=n,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";const h=this.ui.container.style,n=Math.min(.62*this.dimension.width,Jh.MAX_WIDTH);h.width=n+"px",h.marginLeft="-"+n/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(h){this.styles=h,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:h,quickInputBackground:n,quickInputForeground:E,contrastBorder:ca,widgetShadow:Ca}=this.styles.widget;this.ui.titleBar.style.backgroundColor=h?h.toString():"",this.ui.container.style.backgroundColor=n?n.toString():"",this.ui.container.style.color=E?E.toString():"",this.ui.container.style.border=ca?"1px solid "+ca:"",this.ui.container.style.boxShadow=Ca?"0 5px 8px "+Ca:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const Ma=[];this.styles.list.listInactiveFocusForeground&&(Ma.push(`.monaco-list .monaco-list-row.focused { color: ${this.styles.list.listInactiveFocusForeground}; }`),Ma.push(`.monaco-list .monaco-list-row.focused:hover { color: ${this.styles.list.listInactiveFocusForeground}; }`)),this.styles.list.pickerGroupBorder&&Ma.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&Ma.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`);const Ea=Ma.join(` -`);Ea!==this.ui.styleSheet.innerHTML&&(this.ui.styleSheet.innerHTML=Ea)}}}Jh.MAX_WIDTH=600;var oi=f(110),pi=f(134),Ui=f(133),qi=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Kh=function(h,n){return function(E,ca){n(E,ca,h)}};let jf=class extends N.a{constructor(h,n){super(),this.quickInputService=h,this.instantiationService=n,this.registry=rd.a.as(pi.b.Quickaccess),this.mapProviderToDescriptor=new Map(),this.lastAcceptedPickerValues=new Map(),this.visibleQuickAccess=void 0}show(h="",n){var E;const[ca,Ca]=this.getOrInstantiateProvider(h),Ma=this.visibleQuickAccess,Ea=null==Ma?void 0:Ma.descriptor;if(Ma&&Ca&&Ea===Ca)return h===Ca.prefix||(null==n?void 0:n.preserveValue)||(Ma.picker.value=h),void this.adjustValueSelection(Ma.picker,Ca,n);if(Ca&&!(null==n?void 0:n.preserveValue)){let ic;if(Ma&&Ea&&Ea!==Ca){const Mc=Ma.value.substr(Ea.prefix.length);Mc&&(ic=`${Ca.prefix}${Mc}`)}if(!ic){const Mc=null==ca?void 0:ca.defaultFilterValue;Mc===pi.a.LAST?ic=this.lastAcceptedPickerValues.get(Ca):"string"==typeof Mc&&(ic=`${Ca.prefix}${Mc}`)}"string"==typeof ic&&(h=ic)}const eb=new N.b(),Cb=eb.add(this.quickInputService.createQuickPick());Cb.value=h,this.adjustValueSelection(Cb,Ca,n),Cb.placeholder=null==Ca?void 0:Ca.placeholder,Cb.quickNavigate=null==n?void 0:n.quickNavigateConfiguration,Cb.hideInput=!!Cb.quickNavigate&&!Ma,("number"==typeof(null==n?void 0:n.itemActivation)||(null==n?void 0:n.quickNavigateConfiguration))&&(Cb.itemActivation=null!==(E=null==n?void 0:n.itemActivation)&&void 0!==E?E:oi.b.SECOND),Cb.contextKey=null==Ca?void 0:Ca.contextKey,Cb.filterValue=ic=>ic.substring(Ca?Ca.prefix.length:0),(null==Ca?void 0:Ca.placeholder)&&(Cb.ariaLabel=null==Ca?void 0:Ca.placeholder);const bc=this.registerPickerListeners(Cb,ca,Ca,h,eb);ca&&eb.add(ca.provide(Cb,bc)),Cb.show()}adjustValueSelection(h,n,E){var ca;let Ca;Ca=(null==E?void 0:E.preserveValue)?[h.value.length,h.value.length]:[null!==(ca=null==n?void 0:n.prefix.length)&&void 0!==ca?ca:0,h.value.length],h.valueSelection=Ca}registerPickerListeners(h,n,E,ca,Ca){const Ma=this.visibleQuickAccess={picker:h,descriptor:E,value:ca};Ca.add(Object(N.h)(()=>{Ma===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),Ca.add(h.onDidChangeValue(eb=>{const[Cb]=this.getOrInstantiateProvider(eb);Cb!==n?this.show(eb,{preserveValue:!0}):Ma.value=eb})),E&&Ca.add(h.onDidAccept(()=>{this.lastAcceptedPickerValues.set(E,h.value)}));const Ea=Ca.add(new Fe.b());return Object(Ui.a)(h.onDidHide)(()=>{0===h.selectedItems.length&&Ea.cancel(),Ca.dispose()}),Ea.token}getOrInstantiateProvider(h){const n=this.registry.getQuickAccessProvider(h);if(!n)return[void 0,void 0];let E=this.mapProviderToDescriptor.get(n);return E||(E=this.instantiationService.createInstance(n.ctor),this.mapProviderToDescriptor.set(n,E)),[E,n]}};jf=qi([Kh(0,oi.a),Kh(1,ya.a)],jf);var zg=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Xe=function(h,n){return function(E,ca){n(E,ca,h)}};let Lh=class extends Ja.d{constructor(h,n,E,ca,Ca){super(E),this.instantiationService=h,this.contextKeyService=n,this.accessibilityService=ca,this.layoutService=Ca,this.contexts=new Map()}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(jf))),this._quickAccess}createController(h=this.layoutService,n){var E,ca;const Ca={idPrefix:"quickInput_",container:h.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:Ea=>this.setContextKey(Ea),returnFocus:()=>h.focus(),createList:(Ea,eb,Cb,bc,ic)=>this.instantiationService.createInstance(vg.d,Ea,eb,Cb,bc,ic),styles:this.computeStyles()},Ma=this._register(new Jh(Object.assign(Object.assign({},Ca),n)));return Ma.layout(h.dimension,null!==(ca=null===(E=h.offset)||void 0===E?void 0:E.top)&&void 0!==ca?ca:0),this._register(h.onLayout(Ea=>{var eb,Cb;return Ma.layout(Ea,null!==(Cb=null===(eb=h.offset)||void 0===eb?void 0:eb.top)&&void 0!==Cb?Cb:0)})),this._register(Ma.onShow(()=>this.resetContextKeys())),this._register(Ma.onHide(()=>this.resetContextKeys())),Ma}setContextKey(h){let n;h&&(n=this.contexts.get(h),n||(n=new nc.c(h,!1).bindTo(this.contextKeyService),this.contexts.set(h,n))),n&&n.get()||(this.resetContextKeys(),n&&n.set(!0))}resetContextKeys(){this.contexts.forEach(h=>{h.get()&&h.reset()})}pick(h,n={},E=Fe.a.None){return this.controller.pick(h,n,E)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(Mf.d)(this.theme,{quickInputBackground:qd.dc,quickInputForeground:qd.ec,quickInputTitleBackground:qd.fc,contrastBorder:qd.h,widgetShadow:qd.uc})),inputBox:Object(Mf.d)(this.theme,{inputForeground:qd.hb,inputBackground:qd.fb,inputBorder:qd.gb,inputValidationInfoBackground:qd.lb,inputValidationInfoForeground:qd.nb,inputValidationInfoBorder:qd.mb,inputValidationWarningBackground:qd.ob,inputValidationWarningForeground:qd.qb,inputValidationWarningBorder:qd.pb,inputValidationErrorBackground:qd.ib,inputValidationErrorForeground:qd.kb,inputValidationErrorBorder:qd.jb}),countBadge:Object(Mf.d)(this.theme,{badgeBackground:qd.c,badgeForeground:qd.d,badgeBorder:qd.h}),button:Object(Mf.d)(this.theme,{buttonForeground:qd.f,buttonBackground:qd.e,buttonHoverBackground:qd.g,buttonBorder:qd.h}),progressBar:Object(Mf.d)(this.theme,{progressBarBackground:qd.cc}),list:Object(Mf.d)(this.theme,{listBackground:qd.dc,listInactiveFocusForeground:qd.yb,listInactiveFocusBackground:qd.xb,listFocusOutline:qd.b,listInactiveFocusOutline:qd.b,pickerGroupBorder:qd.Xb,pickerGroupForeground:qd.Yb})}}};Lh=zg([Xe(0,ya.a),Xe(1,nc.b),Xe(2,Ja.c),Xe(3,Na.b),Xe(4,af)],Lh);var Ng=function(h,n,E,ca){var Ca,Ma=arguments.length,Ea=Ma<3?n:null===ca?ca=Object.getOwnPropertyDescriptor(n,E):ca;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ea=Reflect.decorate(h,n,E,ca);else for(var eb=h.length-1;eb>=0;eb--)(Ca=h[eb])&&(Ea=(Ma<3?Ca(Ea):Ma>3?Ca(n,E,Ea):Ca(n,E))||Ea);return Ma>3&&Ea&&Object.defineProperty(n,E,Ea),Ea},Og=function(h,n){return function(E,ca){n(E,ca,h)}};let Ld=class extends Lh{constructor(h,n,E,ca,Ca,Ma){super(n,E,ca,Ca,Ma),this.host=void 0;const Ea=wh.get(h);this.host={_serviceBrand:void 0,get container(){return Ea.widget.getDomNode()},get dimension(){return h.getLayoutInfo()},get onLayout(){return h.onDidLayoutChange},focus:()=>h.focus()}}createController(){return super.createController(this.host)}};Ld=Ng([Og(1,ya.a),Og(2,nc.b),Og(3,Ja.c),Og(4,Na.b),Og(5,af)],Ld);let Pg=class{constructor(h,n){this.instantiationService=h,this.codeEditorService=n,this.mapEditorToService=new Map()}get activeService(){const h=this.codeEditorService.getFocusedCodeEditor();if(!h)throw new Error("Quick input service needs a focused editor to work.");let n=this.mapEditorToService.get(h);if(!n){const E=n=this.instantiationService.createInstance(Ld,h);this.mapEditorToService.set(h,n),Object(Ui.a)(h.onDidDispose)(()=>{E.dispose(),this.mapEditorToService.delete(h)})}return n}get quickAccess(){return this.activeService.quickAccess}pick(h,n={},E=Fe.a.None){return this.activeService.pick(h,n,E)}createQuickPick(){return this.activeService.createQuickPick()}};Pg=Ng([Og(0,ya.a),Og(1,F.a)],Pg);class wh{constructor(h){this.editor=h,this.widget=new Mh(this.editor)}static get(h){return h.getContribution(wh.ID)}dispose(){this.widget.dispose()}}wh.ID="editor.controller.quickInput";class Mh{constructor(h){this.codeEditor=h,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return Mh.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}Mh.ID="editor.contrib.quickInputWidget",Object(yf.m)(wh.ID,wh);var fe,Qg=f(166);!function(h){const n=new Lg.a();class E{constructor(Ea,eb){this._serviceId=Ea,this._factory=eb,this._value=null}get id(){return this._serviceId}get(Ea){if(!this._value){if(Ea&&(this._value=Ea[this._serviceId.toString()]),this._value||(this._value=this._factory(Ea)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");n.set(this._serviceId,this._value)}return this._value}}h.LazyStaticService=E;let ca=[];function Ca(Ea,eb){let Cb=new E(Ea,eb);return ca.push(Cb),Cb}h.init=function(Ea){let eb=new Lg.a();for(const[bc,ic]of Object(ac.a)())eb.set(bc,ic);for(let bc in Ea)Ea.hasOwnProperty(bc)&&eb.set(Object(ya.c)(bc),Ea[bc]);ca.forEach(bc=>eb.set(bc.id,bc.get(Ea)));let Cb=new We(eb,!0);return eb.set(ya.a,Cb),[eb,Cb]},h.instantiationService=Ca(ya.a,()=>new We(n,!0));const Ma=new jc();h.configurationService=Ca(ad.a,()=>Ma),h.resourceConfigurationService=Ca(fb.a,()=>new Xb(Ma)),h.resourcePropertiesService=Ca(fb.b,()=>new wa(Ma)),h.contextService=Ca(Jb.a,()=>new ra()),h.labelService=Ca(Zg.a,()=>new Ya()),h.telemetryService=Ca(gg.a,()=>new fa()),h.dialogService=Ca(xf.a,()=>new xa()),h.notificationService=Ca(Bb.a,()=>new qa()),h.markerService=Ca(Me.b,()=>new g()),h.modeService=Ca(cc.a,Ea=>new Ae()),h.standaloneThemeService=Ca(_b.a,()=>new Vf()),h.logService=Ca(ba.b,()=>new ba.a()),h.undoRedoService=Ca(_c.a,Ea=>new Oe(h.dialogService.get(Ea),h.notificationService.get(Ea))),h.modelService=Ca(_a.a,Ea=>new Ce.a(h.configurationService.get(Ea),h.resourcePropertiesService.get(Ea),h.standaloneThemeService.get(Ea),h.logService.get(Ea),h.undoRedoService.get(Ea))),h.markerDecorationsService=Ca(Sa.a,Ea=>new Gb(h.modelService.get(Ea),h.markerService.get(Ea))),h.codeEditorService=Ca(F.a,Ea=>new kf(h.standaloneThemeService.get(Ea))),h.editorProgressService=Ca(Fa.a,()=>new X()),h.storageService=Ca(o.a,()=>new o.b()),h.storageSyncService=Ca(Qg.a,()=>new Qg.b()),h.editorWorkerService=Ca(oa.a,Ea=>new va(h.modelService.get(Ea),h.resourceConfigurationService.get(Ea),h.logService.get(Ea)))}(fe||(fe={}));class Ag extends N.a{constructor(h,n){super();const[E,ca]=fe.init(n);this._serviceCollection=E,this._instantiationService=ca;const Ca=this.get(ad.a),Ma=this.get(Bb.a),Ea=this.get(gg.a),eb=this.get(Ja.c),Cb=this.get(ba.b);let bc=($d,ae)=>{let ge=null;return n&&(ge=n[$d.toString()]),ge||(ge=ae()),this._serviceCollection.set($d,ge),ge},ic=bc(nc.b,()=>this._register(new Kf(Ca)));bc(Na.b,()=>new Qc(ic,Ca)),bc(vg.a,()=>new vg.b(eb));let Mc=bc(D.b,()=>new mb(this._instantiationService)),ed=bc(pa.a,()=>this._register(new ub(ic,Mc,Ea,Ma,Cb,h))),td=bc(af,()=>new jb(fe.codeEditorService.get(F.a),h));bc(oi.a,()=>new Pg(ca,fe.codeEditorService.get(F.a)));let Bd=bc(Aa.b,()=>this._register(new wf(td)));bc(Pa.a,()=>new Wc()),bc(Aa.a,()=>{const $d=new Te(Ea,Ma,Bd,ed,eb);return $d.configure({blockMouse:!1}),this._register($d)}),bc(qc.a,()=>new sa(Mc)),bc(Dc.a,()=>new ab(fe.modelService.get(_a.a)))}get(h){let n=this._serviceCollection.get(h);if(!n)throw new Error("Missing service "+h);return n}set(h,n){this._serviceCollection.set(h,n)}has(h){return this._serviceCollection.has(h)}}var Qf=f(87);function ch(h,n,E){let ca=new Ag(h,n),Ca=null;ca.has(ga.a)||(Ca=new Ec(fe.modelService.get()),ca.set(ga.a,Ca)),ca.has(Q.a)||ca.set(Q.a,new u(ca.get(F.a),ca.get(D.b)));let Ma=E(ca);return Ca&&Ca.setEditor(Ma),Ma}function xh(h,n,E){return ch(h,E||{},ca=>new hc(h,n,ca,ca.get(ya.a),ca.get(F.a),ca.get(D.b),ca.get(nc.b),ca.get(pa.a),ca.get(Aa.b),ca.get(_b.a),ca.get(Bb.a),ca.get(ad.a),ca.get(Na.b)))}function ri(h){return fe.codeEditorService.get().onCodeEditorAdd(n=>{h(n)})}function Nh(h,n,E){return ch(h,E||{},ca=>new Tb(h,n,ca,ca.get(ya.a),ca.get(nc.b),ca.get(pa.a),ca.get(Aa.b),ca.get(oa.a),ca.get(F.a),ca.get(_b.a),ca.get(Bb.a),ca.get(ad.a),ca.get(Aa.a),ca.get(Fa.a),ca.get(Pa.a)))}function Rg(h,n){return new A.a(h,n)}function Oh(h,n,E){return fe.modelService.get().createModel(h,n,E)}function Vi(h,n,E){if(h=h||"",!n){let ca=h.indexOf(` -`),Ca=h;return-1!==ca&&(Ca=h.substring(0,ca)),Oh(h,fe.modeService.get().createByFilepathOrFirstLine(E||null,Ca),E)}return Oh(h,fe.modeService.get().create(n),E)}function dh(h,n){fe.modelService.get().setMode(h,fe.modeService.get().create(n))}function Ph(h,n,E){h&&fe.markerService.get().changeOne(n,h.uri,E)}function vj(h){return fe.markerService.get().read(h)}function wj(h){return fe.modelService.get().getModel(h)}function xj(){return fe.modelService.get().getModels()}function v(h){return fe.modelService.get().onModelAdded(h)}function j(h){return fe.modelService.get().onModelRemoved(h)}function m(h){return fe.modelService.get().onModelModeChanged(n=>{h({model:n.model,oldLanguage:n.oldModeId})})}function M(h){return function(n,E){return new rb(n,E)}(fe.modelService.get(),h)}function na(h,n){const E=fe.standaloneThemeService.get();return E.registerEditorContainer(h),Hc.colorizeElement(E,fe.modeService.get(),h,n)}function Ua(h,n,E){return fe.standaloneThemeService.get().registerEditorContainer(document.body),Hc.colorize(fe.modeService.get(),h,n,E)}function Za(h,n,E=4){return fe.standaloneThemeService.get().registerEditorContainer(document.body),Hc.colorizeModelLine(h,n,E)}function Kb(h,n){fe.modeService.get().triggerMode(n);let E=function(Ea){let eb=H.C.get(Ea);return eb||{getInitialState:()=>ea.c,tokenize:(Cb,bc,ic)=>Object(ea.d)(Ea,Cb,bc,ic)}}(n),ca=h.split(/\r\n|\r|\n/),Ca=[],Ma=E.getInitialState();for(let Ea=0,eb=ca.length;Ea<eb;Ea++){let Cb=ca[Ea],bc=E.tokenize(Cb,Ma,0);Ca[Ea]=bc.tokens,Ma=bc.endState}return Ca}function Qb(h,n){fe.standaloneThemeService.get().defineTheme(h,n)}function fc(h){fe.standaloneThemeService.get().setTheme(h)}function Ib(){Object(Qf.b)()}function Lc(h,n){return"boolean"==typeof h?h:n}function id(h,n){return"string"==typeof h?h:n}function pd(h,n=!1){n&&(h=h.map(function(ca){return ca.toLowerCase()}));const E=function(ca){const Ca={};for(const Ma of ca)Ca[Ma]=!0;return Ca}(h);return n?function(ca){return void 0!==E[ca.toLowerCase()]&&E.hasOwnProperty(ca.toLowerCase())}:function(ca){return void 0!==E[ca]&&E.hasOwnProperty(ca)}}function cd(h,n){let E=0;for(;n.indexOf("@")>=0&&E<5;)E++,n=n.replace(/@(\w+)/g,function(Ca,Ma){let Ea="";if("string"==typeof h[Ma])Ea=h[Ma];else{if(!(h[Ma]&&h[Ma]instanceof RegExp))throw void 0===h[Ma]?pb(h,"language definition does not contain attribute '"+Ma+"', used at: "+n):pb(h,"attribute reference '"+Ma+"' must be a string, used at: "+n);Ea=h[Ma].source}return sc(Ea)?"":"(?:"+Ea+")"});let ca=(h.ignoreCase?"i":"")+(h.unicode?"u":"");return new RegExp(n,ca)}function Hd(h,n,E,ca){let Ca=-1,Ma=E,Ea=E.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);Ea&&(Ea[3]&&(Ca=parseInt(Ea[3]),Ea[2]&&(Ca+=100)),Ma=Ea[4]);let eb,Cb="~",bc=Ma;if(Ma&&0!==Ma.length?/^\w*$/.test(bc)?Cb="==":(Ea=Ma.match(/^(@|!@|~|!~|==|!=)(.*)$/),Ea&&(Cb=Ea[1],bc=Ea[2])):(Cb="!=",bc=""),"~"!==Cb&&"!~"!==Cb||!/^(\w|\|)*$/.test(bc))if("@"===Cb||"!@"===Cb){let ic=h[bc];if(!ic)throw pb(h,"the @ match target '"+bc+"' is not defined, in rule: "+n);if(!function(ed,td){if(!td)return!1;if(!Array.isArray(td))return!1;for(const Bd of td)if(!ed(Bd))return!1;return!0}(function(ed){return"string"==typeof ed},ic))throw pb(h,"the @ match target '"+bc+"' must be an array of strings, in rule: "+n);let Mc=pd(ic,h.ignoreCase);eb=function(ed){return"@"===Cb?Mc(ed):!Mc(ed)}}else if("~"===Cb||"!~"===Cb)if(bc.indexOf("$")<0){let ic=cd(h,"^"+bc+"$");eb=function(Mc){return"~"===Cb?ic.test(Mc):!ic.test(Mc)}}else eb=function(ic,Mc,ed,td){return cd(h,"^"+mc(h,bc,Mc,ed,td)+"$").test(ic)};else if(bc.indexOf("$")<0){let ic=Nb(h,bc);eb=function(Mc){return"=="===Cb?Mc===ic:Mc!==ic}}else{let ic=Nb(h,bc);eb=function(Mc,ed,td,Bd,$d){let ae=mc(h,ic,ed,td,Bd);return"=="===Cb?Mc===ae:Mc!==ae}}else{let ic=pd(bc.split("|"),h.ignoreCase);eb=function(Mc){return"~"===Cb?ic(Mc):!ic(Mc)}}return-1===Ca?{name:E,value:ca,test:function(ic,Mc,ed,td){return eb(ic,ic,Mc,ed,td)}}:{name:E,value:ca,test:function(ic,Mc,ed,td){let Bd=function($d,ae,ge,Ud){if(Ud<0)return $d;if(Ud<ae.length)return ae[Ud];if(Ud>=100){Ud-=100;let Se=ge.split(".");if(Se.unshift(ge),Ud<Se.length)return Se[Ud]}return null}(ic,Mc,ed,Ca);return eb(Bd||"",ic,Mc,ed,td)}}}class Md{constructor(h){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=h}setRegex(h,n){let E;if("string"==typeof n)E=n;else{if(!(n instanceof RegExp))throw pb(h,"rules must start with a match string or regular expression: "+this.name);E=n.source}this.matchOnlyAtLineStart=E.length>0&&"^"===E[0],this.name=this.name+": "+E,this.regex=cd(h,"^(?:"+(this.matchOnlyAtLineStart?E.substr(1):E)+")")}setAction(h,n){this.action=function E(ca,Ca,Ma){if(Ma){if("string"==typeof Ma)return Ma;if(Ma.token||""===Ma.token){if("string"!=typeof Ma.token)throw pb(ca,"a 'token' attribute must be of type string, in rule: "+Ca);{let Ea={token:Ma.token};if(Ma.token.indexOf("$")>=0&&(Ea.tokenSubst=!0),"string"==typeof Ma.bracket)if("@open"===Ma.bracket)Ea.bracket=1;else{if("@close"!==Ma.bracket)throw pb(ca,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+Ca);Ea.bracket=-1}if(Ma.next){if("string"!=typeof Ma.next)throw pb(ca,"the next state must be a string value in rule: "+Ca);{let eb=Ma.next;if(!/^(@pop|@push|@popall)$/.test(eb)&&("@"===eb[0]&&(eb=eb.substr(1)),eb.indexOf("$")<0&&!function(Cb,bc){let ic=bc;for(;ic&&ic.length>0;){if(Cb.stateNames[ic])return!0;const Mc=ic.lastIndexOf(".");ic=Mc<0?null:ic.substr(0,Mc)}return!1}(ca,mc(ca,eb,"",[],""))))throw pb(ca,"the next state '"+Ma.next+"' is not defined in rule: "+Ca);Ea.next=eb}}return"number"==typeof Ma.goBack&&(Ea.goBack=Ma.goBack),"string"==typeof Ma.switchTo&&(Ea.switchTo=Ma.switchTo),"string"==typeof Ma.log&&(Ea.log=Ma.log),"string"==typeof Ma.nextEmbedded&&(Ea.nextEmbedded=Ma.nextEmbedded,ca.usesEmbedded=!0),Ea}}if(Array.isArray(Ma)){let Ea=[];for(let eb=0,Cb=Ma.length;eb<Cb;eb++)Ea[eb]=E(ca,Ca,Ma[eb]);return{group:Ea}}if(Ma.cases){let Ea=[];for(let Cb in Ma.cases)if(Ma.cases.hasOwnProperty(Cb)){const bc=E(ca,Ca,Ma.cases[Cb]);"@default"===Cb||"@"===Cb||""===Cb?Ea.push({test:void 0,value:bc,name:Cb}):"@eos"===Cb?Ea.push({test:function(ic,Mc,ed,td){return td},value:bc,name:Cb}):Ea.push(Hd(ca,Ca,Cb,bc))}const eb=ca.defaultToken;return{test:function(Cb,bc,ic,Mc){for(const ed of Ea)if(!ed.test||ed.test(Cb,bc,ic,Mc))return ed.value;return eb}}}throw pb(ca,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+Ca)}return{token:""}}(h,this.name,n)}}function Nd(h){md.a.registerLanguage(h)}function Ad(){let h=[];return h=h.concat(md.a.getLanguages()),h}function ke(h){let n=fe.modeService.get().getLanguageIdentifier(h);return n?n.id:0}function re(h,n){let E=fe.modeService.get().onDidCreateMode(ca=>{ca.getId()===h&&(E.dispose(),n())});return E}function ne(h,n){let E=fe.modeService.get().getLanguageIdentifier(h);if(!E)throw new Error("Cannot set configuration for unknown language "+h);return G.a.register(E,n)}class we{constructor(h){this._actual=h}getInitialState(){return this._actual.getInitialState()}tokenize(h,n,E){throw new Error("Not supported!")}tokenize2(h,n){let E=this._actual.tokenizeEncoded(h,n);return new uc.c(E.tokens,E.endState)}}class se{constructor(h,n,E){this._standaloneThemeService=h,this._languageIdentifier=n,this._actual=E}getInitialState(){return this._actual.getInitialState()}_toClassicTokens(h,n,E){let ca=[],Ca=0;for(let Ma=0,Ea=h.length;Ma<Ea;Ma++){const eb=h[Ma];let Cb=eb.startIndex;0===Ma?Cb=0:Cb<Ca&&(Cb=Ca),ca[Ma]=new uc.a(Cb+E,eb.scopes,n),Ca=Cb}return ca}tokenize(h,n,E){let ca,Ca=this._actual.tokenize(h,n),Ma=this._toClassicTokens(Ca.tokens,this._languageIdentifier.language,E);return ca=Ca.endState.equals(n)?n:Ca.endState,new uc.b(Ma,ca)}_toBinaryTokens(h,n){const E=this._languageIdentifier.id,ca=this._standaloneThemeService.getColorTheme().tokenTheme;let Ca=[],Ma=0,Ea=0;for(let Cb=0,bc=h.length;Cb<bc;Cb++){const ic=h[Cb],Mc=ca.match(E,ic.scopes);if(Ma>0&&Ca[Ma-1]===Mc)continue;let ed=ic.startIndex;0===Cb?ed=0:ed<Ea&&(ed=Ea),Ca[Ma++]=ed+n,Ca[Ma++]=Mc,Ea=ed}let eb=new Uint32Array(Ma);for(let Cb=0;Cb<Ma;Cb++)eb[Cb]=Ca[Cb];return eb}tokenize2(h,n,E){let ca,Ca=this._actual.tokenize(h,n),Ma=this._toBinaryTokens(Ca.tokens,E);return ca=Ca.endState.equals(n)?n:Ca.endState,new uc.c(Ma,ca)}}function He(h){return h&&"function"==typeof h.then}function pf(h,n){let E=fe.modeService.get().getLanguageIdentifier(h);if(!E)throw new Error("Cannot set tokens provider for unknown language "+h);const ca=Ca=>function(Ma){return"tokenizeEncoded"in Ma}(Ca)?new we(Ca):new se(fe.standaloneThemeService.get(),E,Ca);return He(n)?H.C.registerPromise(h,n.then(Ca=>ca(Ca))):H.C.register(h,ca(n))}function kg(h,n){const E=ca=>function(Ca,Ma,Ea,eb){return new ec(Ca,Ma,Ea,eb)}(fe.modeService.get(),fe.standaloneThemeService.get(),h,function(Ca,Ma){if(!Ma||"object"!=typeof Ma)throw new Error("Monarch: expecting a language definition object");let Ea={};Ea.languageId=Ca,Ea.noThrow=!1,Ea.maxStack=100,Ea.start="string"==typeof Ma.start?Ma.start:null,Ea.ignoreCase=Lc(Ma.ignoreCase,!1),Ea.unicode=Lc(Ma.unicode,!1),Ea.tokenPostfix=id(Ma.tokenPostfix,"."+Ea.languageId),Ea.defaultToken=id(Ma.defaultToken,"source"),Ea.usesEmbedded=!1;let eb=Ma;function Cb(ic,Mc,ed){for(const td of ed){let Bd=td.include;if(Bd){if("string"!=typeof Bd)throw pb(Ea,"an 'include' attribute must be a string at: "+ic);if("@"===Bd[0]&&(Bd=Bd.substr(1)),!Ma.tokenizer[Bd])throw pb(Ea,"include target '"+Bd+"' is not defined at: "+ic);Cb(ic+"."+Bd,Mc,Ma.tokenizer[Bd])}else{const $d=new Md(ic);if(Array.isArray(td)&&td.length>=1&&td.length<=3)if($d.setRegex(eb,td[0]),td.length>=3)if("string"==typeof td[1])$d.setAction(eb,{token:td[1],next:td[2]});else{if("object"!=typeof td[1])throw pb(Ea,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+ic);{const ae=td[1];ae.next=td[2],$d.setAction(eb,ae)}}else $d.setAction(eb,td[1]);else{if(!td.regex)throw pb(Ea,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+ic);td.name&&"string"==typeof td.name&&($d.name=td.name),td.matchOnlyAtStart&&($d.matchOnlyAtLineStart=Lc(td.matchOnlyAtLineStart,!1)),$d.setRegex(eb,td.regex),$d.setAction(eb,td.action)}Mc.push($d)}}}if(eb.languageId=Ca,eb.ignoreCase=Ea.ignoreCase,eb.unicode=Ea.unicode,eb.noThrow=Ea.noThrow,eb.usesEmbedded=Ea.usesEmbedded,eb.stateNames=Ma.tokenizer,eb.defaultToken=Ea.defaultToken,!Ma.tokenizer||"object"!=typeof Ma.tokenizer)throw pb(Ea,"a language definition must define the 'tokenizer' attribute as an object");Ea.tokenizer=[];for(let ic in Ma.tokenizer)if(Ma.tokenizer.hasOwnProperty(ic)){Ea.start||(Ea.start=ic);const Mc=Ma.tokenizer[ic];Ea.tokenizer[ic]=new Array(),Cb("tokenizer."+ic,Ea.tokenizer[ic],Mc)}if(Ea.usesEmbedded=eb.usesEmbedded,Ma.brackets){if(!Array.isArray(Ma.brackets))throw pb(Ea,"the 'brackets' attribute must be defined as an array")}else Ma.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let bc=[];for(let ic of Ma.brackets){let Mc=ic;if(Mc&&Array.isArray(Mc)&&3===Mc.length&&(Mc={token:Mc[2],open:Mc[0],close:Mc[1]}),Mc.open===Mc.close)throw pb(Ea,"open and close brackets in a 'brackets' attribute must be different: "+Mc.open+` - hint: use the 'bracket' attribute if matching on equal brackets is required.`);if("string"!=typeof Mc.open||"string"!=typeof Mc.token||"string"!=typeof Mc.close)throw pb(Ea,"every element in the 'brackets' array must be a '{open,close,token}' object or array");bc.push({token:Mc.token+Ea.tokenPostfix,open:Nb(Ea,Mc.open),close:Nb(Ea,Mc.close)})}return Ea.brackets=bc,Ea.noThrow=!0,Ea}(h,ca));return He(n)?H.C.registerPromise(h,n.then(ca=>E(ca))):H.C.register(h,E(n))}function yh(h,n){return H.v.register(h,n)}function lg(h,n){return H.w.register(h,n)}function Ye(h,n){return H.y.register(h,n)}function eh(h,n){return H.p.register(h,{provideHover:(E,ca,Ca)=>{let Ma=E.getWordAtPosition(ca);return Promise.resolve(n.provideHover(E,ca,Ca)).then(Ea=>{if(Ea)return!Ea.range&&Ma&&(Ea.range=new Ka.a(ca.lineNumber,Ma.startColumn,ca.lineNumber,Ma.endColumn)),Ea.range||(Ea.range=new Ka.a(ca.lineNumber,ca.column,ca.lineNumber,ca.column)),Ea})}})}function Wi(h,n){return H.m.register(h,n)}function Sg(h,n){return H.i.register(h,n)}function Cf(h,n){return H.u.register(h,n)}function Qh(h,n){return H.f.register(h,n)}function zh(h,n){return H.q.register(h,n)}function Ah(h,n){return H.D.register(h,n)}function fh(h,n){return H.b.register(h,n)}function si(h,n){return H.a.register(h,{provideCodeActions:(E,ca,Ca,Ma)=>{let Ea=fe.markerService.get().read({resource:E.uri}).filter(eb=>Ka.a.areIntersectingOrTouching(eb,ca));return n.provideCodeActions(E,ca,{markers:Ea,only:Ca.only},Ma)}})}function Bg(h,n){return H.g.register(h,n)}function Bh(h,n){return H.j.register(h,n)}function Rh(h,n){return H.t.register(h,n)}function Xi(h,n){return H.s.register(h,n)}function ti(h,n){return H.d.register(h,n)}function Sh(h,n){return H.c.register(h,n)}function Ue(h,n){return H.o.register(h,n)}function Th(h,n){return H.e.register(h,n)}function gh(h,n){return H.x.register(h,n)}function ui(h,n){return H.l.register(h,n)}function Uh(h,n){return H.k.register(h,n)}const qf=self;q.g.wrappingIndent.defaultValue=0,q.g.glyphMargin.defaultValue=!1,q.g.autoIndent.defaultValue=3,q.g.overviewRulerLanes.defaultValue=2;const Le=Object(y.a)();Le.editor={create:xh,onDidCreateEditor:ri,createDiffEditor:Nh,createDiffNavigator:Rg,createModel:Vi,setModelLanguage:dh,setModelMarkers:Ph,getModelMarkers:vj,getModels:xj,getModel:wj,onDidCreateModel:v,onWillDisposeModel:j,onDidChangeModelLanguage:m,createWebWorker:M,colorizeElement:na,colorize:Ua,colorizeModelLine:Za,tokenize:Kb,defineTheme:Qb,setTheme:fc,remeasureFonts:Ib,AccessibilitySupport:wc.a,ContentWidgetPositionPreference:wc.f,CursorChangeReason:wc.g,DefaultEndOfLine:wc.h,EditorAutoIndentStrategy:wc.j,EditorOption:wc.k,EndOfLinePreference:wc.l,EndOfLineSequence:wc.m,MinimapPosition:wc.r,MouseTargetType:wc.s,OverlayWidgetPositionPreference:wc.t,OverviewRulerLane:wc.u,RenderLineNumbersType:wc.v,RenderMinimap:wc.w,ScrollbarVisibility:wc.y,ScrollType:wc.x,TextEditorCursorBlinkingStyle:wc.D,TextEditorCursorStyle:wc.E,TrackedRangeStickiness:wc.F,WrappingIndent:wc.G,ConfigurationChangedEvent:q.b,BareFontInfo:U.a,FontInfo:U.b,TextModelResolvedOptions:Z.e,FindMatch:Z.b,EditorType:da.a,EditorOptions:q.g},Le.languages={register:Nd,getLanguages:Ad,onLanguage:re,getEncodedLanguageId:ke,setLanguageConfiguration:ne,setTokensProvider:pf,setMonarchTokensProvider:kg,registerReferenceProvider:yh,registerRenameProvider:lg,registerCompletionItemProvider:ti,registerSignatureHelpProvider:Ye,registerHoverProvider:eh,registerDocumentSymbolProvider:Wi,registerDocumentHighlightProvider:Sg,registerOnTypeRenameProvider:Cf,registerDefinitionProvider:Qh,registerImplementationProvider:zh,registerTypeDefinitionProvider:Ah,registerCodeLensProvider:fh,registerCodeActionProvider:si,registerDocumentFormattingEditProvider:Bg,registerDocumentRangeFormattingEditProvider:Bh,registerOnTypeFormattingEditProvider:Rh,registerLinkProvider:Xi,registerColorProvider:Sh,registerFoldingRangeProvider:Ue,registerDeclarationProvider:Th,registerSelectionRangeProvider:gh,registerDocumentSemanticTokensProvider:ui,registerDocumentRangeSemanticTokensProvider:Uh,DocumentHighlightKind:wc.i,CompletionItemKind:wc.c,CompletionItemTag:wc.d,CompletionItemInsertTextRule:wc.b,SymbolKind:wc.B,SymbolTag:wc.C,IndentAction:wc.n,CompletionTriggerKind:wc.e,SignatureHelpTriggerKind:wc.A,FoldingRangeKind:H.n};const vi=Le.CancellationTokenSource,Df=Le.Emitter,mg=Le.KeyCode,Cg=Le.KeyMod,wk=Le.Position,xk=Le.Range,yk=Le.Selection,Yi=Le.SelectionDirection,zk=Le.MarkerSeverity,Ak=Le.MarkerTag,Bk=Le.Uri,Ck=Le.Token,Dk=Le.editor,hh=Le.languages;qf.monaco=Le,void 0!==qf.require&&"function"==typeof qf.require.config&&qf.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("modeService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(18),q=f(141);f.d(t,"b",function(){return q.a});const y=Object(l.c)("quickInputService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(12);class q{constructor(F,P){this._tokens=F,this._tokensCount=this._tokens.length>>>1,this._text=P}equals(F){return F instanceof q&&this.slicedEquals(F,0,this._tokensCount)}slicedEquals(F,P,Y){if(this._text!==F._text)return!1;if(this._tokensCount!==F._tokensCount)return!1;const R=P<<1,L=R+(Y<<1);for(let s=R;s<L;s++)if(this._tokens[s]!==F._tokens[s])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(F){return F>0?this._tokens[F-1<<1]:0}getMetadata(F){return this._tokens[1+(F<<1)]}getLanguageId(F){const P=this._tokens[1+(F<<1)];return l.B.getLanguageId(P)}getStandardTokenType(F){const P=this._tokens[1+(F<<1)];return l.B.getTokenType(P)}getForeground(F){const P=this._tokens[1+(F<<1)];return l.B.getForeground(P)}getClassName(F){const P=this._tokens[1+(F<<1)];return l.B.getClassNameFromMetadata(P)}getInlineStyle(F,P){const Y=this._tokens[1+(F<<1)];return l.B.getInlineStyleFromMetadata(Y,P)}getEndOffset(F){return this._tokens[F<<1]}findTokenIndexAtOffset(F){return q.findIndexInTokensArray(this._tokens,F)}inflate(){return this}sliceAndInflate(F,P,Y){return new y(this,F,P,Y)}static convertToEndOffset(F,P){const Y=(F.length>>>1)-1;for(let R=0;R<Y;R++)F[R<<1]=F[R+1<<1];F[Y<<1]=P}static findIndexInTokensArray(F,P){if(F.length<=2)return 0;let Y=0,R=(F.length>>>1)-1;for(;Y<R;){const L=Y+Math.floor((R-Y)/2),s=F[L<<1];if(s===P)return L+1;s<P?Y=L+1:s>P&&(R=L)}return Y}}class y{constructor(F,P,Y,R){this._source=F,this._startOffset=P,this._endOffset=Y,this._deltaOffset=R,this._firstTokenIndex=F.findTokenIndexAtOffset(P),this._tokensCount=0;for(let L=this._firstTokenIndex,s=F.getCount();L<s;L++){if(F.getStartOffset(L)>=Y)break;this._tokensCount++}}equals(F){return F instanceof y&&(this._startOffset===F._startOffset&&this._endOffset===F._endOffset&&this._deltaOffset===F._deltaOffset&&this._source.slicedEquals(F._source,this._firstTokenIndex,this._tokensCount))}getCount(){return this._tokensCount}getForeground(F){return this._source.getForeground(this._firstTokenIndex+F)}getEndOffset(F){const P=this._source.getEndOffset(this._firstTokenIndex+F);return Math.min(this._endOffset,P)-this._startOffset+this._deltaOffset}getClassName(F){return this._source.getClassName(this._firstTokenIndex+F)}getInlineStyle(F,P){return this._source.getInlineStyle(this._firstTokenIndex+F,P)}findTokenIndexAtOffset(F){return this._source.findTokenIndexAtOffset(F+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return q}),f.d(t,"c",function(){return y}),f.d(t,"a",function(){return F});var l=f(143);function q(P){return!(!P||"function"!=typeof P.getEditorType)&&P.getEditorType()===l.a.ICodeEditor}function y(P){return!(!P||"function"!=typeof P.getEditorType)&&P.getEditorType()===l.a.IDiffEditor}function F(P){return q(P)?P:y(P)?P.getModifiedEditor():null}},function(Ga,t,f){"use strict";f.d(t,"e",function(){return oa}),f.d(t,"f",function(){return ga}),f.d(t,"a",function(){return N}),f.d(t,"h",function(){return ta}),f.d(t,"g",function(){return Da}),f.d(t,"d",function(){return G}),f.d(t,"b",function(){return hb}),f.d(t,"c",function(){return aa}),f(197);var l=f(2),q=f(14),y=f(15),F=f(98),P=f(1),Y=f(11),R=f(61),L=f(67),s=f(6),z=f(44);class D extends Error{constructor(_,I){super(`ListError [${_}] ${I}`)}}var Q=f(162),B=f(16),C=f(46);class k{constructor(_){this.spliceables=_}splice(_,I,ka){this.spliceables.forEach(va=>va.splice(_,I,ka))}}var w,x=f(118),u=f(71),A=f(66),U=function(_,I,ka,va){var La,$a=arguments.length,Ab=$a<3?I:null===va?va=Object.getOwnPropertyDescriptor(I,ka):va;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ab=Reflect.decorate(_,I,ka,va);else for(var gb=_.length-1;gb>=0;gb--)(La=_[gb])&&(Ab=($a<3?La(Ab):$a>3?La(I,ka,Ab):La(I,ka))||Ab);return $a>3&&Ab&&Object.defineProperty(I,ka,Ab),Ab};class da{constructor(_){this.trait=_,this.renderedElements=[]}get templateId(){return"template:"+this.trait.trait}renderTemplate(_){return _}renderElement(_,I,ka){const va=Object(y.j)(this.renderedElements,La=>La.templateData===ka);if(va>=0){const La=this.renderedElements[va];this.trait.unrender(ka),La.index=I}else{const La={index:I,templateData:ka};this.renderedElements.push(La)}this.trait.renderIndex(I,ka)}splice(_,I,ka){const va=[];for(const La of this.renderedElements)La.index<_?va.push(La):La.index>=_+I&&va.push({index:La.index+ka-I,templateData:La.templateData});this.renderedElements=va}renderIndexes(_){for(const{index:I,templateData:ka}of this.renderedElements)_.indexOf(I)>-1&&this.trait.renderIndex(I,ka)}disposeTemplate(_){const I=Object(y.j)(this.renderedElements,ka=>ka.templateData===_);I<0||this.renderedElements.splice(I,1)}}class Z{constructor(_){this._trait=_,this.indexes=[],this.sortedIndexes=[],this._onChange=new s.a(),this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new da(this)}splice(_,I,ka){const va=ka.length-I,La=_+I,$a=[...this.sortedIndexes.filter(Ab=>Ab<_),...ka.map((Ab,gb)=>Ab?gb+_:-1).filter(Ab=>-1!==Ab),...this.sortedIndexes.filter(Ab=>Ab>=La).map(Ab=>Ab+va)];this.renderer.splice(_,I,ka.length),this._set($a,$a)}renderIndex(_,I){P.ab(I,this._trait,this.contains(_))}unrender(_){P.Q(_,this._trait)}set(_,I){return this._set(_,[..._].sort(ua),I)}_set(_,I,ka){const va=this.indexes,La=this.sortedIndexes;this.indexes=_,this.sortedIndexes=I;const $a=za(La,_);return this.renderer.renderIndexes($a),this._onChange.fire({indexes:_,browserEvent:ka}),va}get(){return this.indexes}contains(_){return Object(y.c)(this.sortedIndexes,_,ua)>=0}dispose(){Object(l.f)(this._onChange)}}U([F.a],Z.prototype,"renderer",null);class H extends Z{constructor(_){super("selected"),this.setAriaSelected=_}renderIndex(_,I){super.renderIndex(_,I),this.setAriaSelected&&(this.contains(_)?I.setAttribute("aria-selected","true"):I.setAttribute("aria-selected","false"))}}class ea{constructor(_,I,ka){this.trait=_,this.view=I,this.identityProvider=ka}splice(_,I,ka){if(!this.identityProvider)return this.trait.splice(_,I,ka.map(()=>!1));const va=this.trait.get().map($a=>this.identityProvider.getId(this.view.element($a)).toString()),La=ka.map($a=>va.indexOf(this.identityProvider.getId($a).toString())>-1);this.trait.splice(_,I,La)}}function oa(_){return"INPUT"===_.tagName||"TEXTAREA"===_.tagName}function ga(_){return!!P.I(_,"monaco-editor")||!P.I(_,"monaco-list")&&(!!_.parentElement&&ga(_.parentElement))}class Ba{constructor(_,I,ka){this.list=_,this.view=I,this.disposables=new l.b();const va=!1!==ka.multipleSelectionSupport,La=s.b.chain(Object(z.a)(I.domNode,"keydown")).filter($a=>!oa($a.target)).map($a=>new L.a($a));La.filter($a=>3===$a.keyCode).on(this.onEnter,this,this.disposables),La.filter($a=>16===$a.keyCode).on(this.onUpArrow,this,this.disposables),La.filter($a=>18===$a.keyCode).on(this.onDownArrow,this,this.disposables),La.filter($a=>11===$a.keyCode).on(this.onPageUpArrow,this,this.disposables),La.filter($a=>12===$a.keyCode).on(this.onPageDownArrow,this,this.disposables),La.filter($a=>9===$a.keyCode).on(this.onEscape,this,this.disposables),va&&La.filter($a=>(Y.f?$a.metaKey:$a.ctrlKey)&&31===$a.keyCode).on(this.onCtrlA,this,this.disposables)}onEnter(_){_.preventDefault(),_.stopPropagation(),this.list.setSelection(this.list.getFocus(),_.browserEvent)}onUpArrow(_){_.preventDefault(),_.stopPropagation(),this.list.focusPrevious(1,!1,_.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(_){_.preventDefault(),_.stopPropagation(),this.list.focusNext(1,!1,_.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(_){_.preventDefault(),_.stopPropagation(),this.list.focusPreviousPage(_.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(_){_.preventDefault(),_.stopPropagation(),this.list.focusNextPage(_.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(_){_.preventDefault(),_.stopPropagation(),this.list.setSelection(Object(y.s)(this.list.length),_.browserEvent),this.view.domNode.focus()}onEscape(_){_.preventDefault(),_.stopPropagation(),this.list.setSelection([],_.browserEvent),this.view.domNode.focus()}dispose(){this.disposables.dispose()}}!function(_){_[_.Idle=0]="Idle",_[_.Typing=1]="Typing"}(w||(w={}));const N=new class{mightProducePrintableCharacter(_){return!(_.ctrlKey||_.metaKey||_.altKey)&&(_.keyCode>=31&&_.keyCode<=56||_.keyCode>=21&&_.keyCode<=30||_.keyCode>=93&&_.keyCode<=102||_.keyCode>=80&&_.keyCode<=90)}}();class V{constructor(_,I,ka,va){this.list=_,this.view=I,this.keyboardNavigationLabelProvider=ka,this.delegate=va,this.enabled=!1,this.state=w.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new l.b(),this.disposables=new l.b(),this.updateOptions(_.options)}updateOptions(_){void 0===_.enableKeyboardNavigation||!!_.enableKeyboardNavigation?this.enable():this.disable(),void 0!==_.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=_.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const _=s.b.chain(Object(z.a)(this.view.domNode,"keydown")).filter(ka=>!oa(ka.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(ka=>new L.a(ka)).filter(ka=>this.delegate.mightProducePrintableCharacter(ka)).forEach(ka=>{ka.stopPropagation(),ka.preventDefault()}).map(ka=>ka.browserEvent.key).event,I=s.b.debounce(_,()=>null,800);s.b.reduce(s.b.any(_,I),(ka,va)=>null===va?null:(ka||"")+va)(this.onInput,this,this.enabledDisposables),I(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var _;const I=this.list.getFocus();if(I.length>0&&I[0]===this.previouslyFocused){const ka=null===(_=this.list.options.accessibilityProvider)||void 0===_?void 0:_.getAriaLabel(this.list.element(I[0]));ka&&Object(A.a)(ka)}this.previouslyFocused=-1}onInput(_){if(!_)return this.state=w.Idle,void(this.triggered=!1);const I=this.list.getFocus(),ka=I.length>0?I[0]:0,va=this.state===w.Idle?1:0;this.state=w.Typing;for(let La=0;La<this.list.length;La++){const $a=(ka+La+va)%this.list.length,Ab=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element($a)),gb=Ab&&Ab.toString();if(void 0===gb||Object(u.h)(_,gb))return this.previouslyFocused=ka,this.list.setFocus([$a]),void this.list.reveal($a)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class ma{constructor(_,I){this.list=_,this.view=I,this.disposables=new l.b(),s.b.chain(Object(z.a)(I.domNode,"keydown")).filter(ka=>!oa(ka.target)).map(ka=>new L.a(ka)).filter(ka=>!(2!==ka.keyCode||ka.ctrlKey||ka.metaKey||ka.shiftKey||ka.altKey)).on(this.onTab,this,this.disposables)}onTab(_){if(_.target!==this.view.domNode)return;const I=this.list.getFocus();if(0===I.length)return;const ka=this.view.domElement(I[0]);if(!ka)return;const va=ka.querySelector("[tabIndex]");if(!(va&&va instanceof HTMLElement&&-1!==va.tabIndex))return;const La=window.getComputedStyle(va);"hidden"!==La.visibility&&"none"!==La.display&&(_.preventDefault(),_.stopPropagation(),va.focus())}dispose(){this.disposables.dispose()}}function ta(_){return Y.f?_.browserEvent.metaKey:_.browserEvent.ctrlKey}function Da(_){return _.browserEvent.shiftKey}const Ka={isSelectionSingleChangeEvent:ta,isSelectionRangeChangeEvent:Da};class G{constructor(_){this.list=_,this.disposables=new l.b(),this._onPointer=new s.a(),this.onPointer=this._onPointer.event,this.multipleSelectionSupport=!(!1===_.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=_.options.multipleSelectionController||Ka),this.mouseSupport=void 0===_.options.mouseSupport||!!_.options.mouseSupport,this.mouseSupport&&(_.onMouseDown(this.onMouseDown,this,this.disposables),_.onContextMenu(this.onContextMenu,this,this.disposables),_.onMouseDblClick(this.onDoubleClick,this,this.disposables),_.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(R.b.addTarget(_.getHTMLElement()))),s.b.any(_.onMouseClick,_.onMouseMiddleClick,_.onTap)(this.onViewPointer,this,this.disposables)}isSelectionSingleChangeEvent(_){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(_):Y.f?_.browserEvent.metaKey:_.browserEvent.ctrlKey}isSelectionRangeChangeEvent(_){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(_):_.browserEvent.shiftKey}isSelectionChangeEvent(_){return this.isSelectionSingleChangeEvent(_)||this.isSelectionRangeChangeEvent(_)}onMouseDown(_){ga(_.browserEvent.target)||document.activeElement!==_.browserEvent.target&&this.list.domFocus()}onContextMenu(_){if(ga(_.browserEvent.target))return;const I=void 0===_.index?[]:[_.index];this.list.setFocus(I,_.browserEvent)}onViewPointer(_){if(!this.mouseSupport)return;if(oa(_.browserEvent.target)||ga(_.browserEvent.target))return;let I=this.list.getFocus()[0];const ka=this.list.getSelection();I=void 0===I?ka[0]:I;const va=_.index;return void 0===va?(this.list.setFocus([],_.browserEvent),void this.list.setSelection([],_.browserEvent)):this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(_)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(_)?this.changeSelection(_,I):(this.list.setFocus([va],_.browserEvent),(La=_.browserEvent)instanceof MouseEvent&&2===La.button||this.list.setSelection([va],_.browserEvent),void this._onPointer.fire(_));var La}onDoubleClick(_){if(oa(_.browserEvent.target)||ga(_.browserEvent.target))return;if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(_))return;const I=this.list.getFocus();this.list.setSelection(I,_.browserEvent)}changeSelection(_,I){const ka=_.index;if(this.isSelectionRangeChangeEvent(_)&&void 0!==I){const va=Math.min(I,ka),La=Math.max(I,ka),$a=Object(y.s)(va,La+1),Ab=this.list.getSelection(),gb=function(wb,tc){const rb=wb.indexOf(tc);if(-1===rb)return[];const wc=[];let vc=rb-1;for(;vc>=0&&wb[vc]===tc-(rb-vc);)wc.push(wb[vc--]);for(wc.reverse(),vc=rb;vc<wb.length&&wb[vc]===tc+(vc-rb);)wc.push(wb[vc++]);return wc}(za(Ab,[I]),I);if(0===gb.length)return;const Fb=za($a,function(wb,tc){const rb=[];let wc=0,vc=0;for(;wc<wb.length||vc<tc.length;)if(wc>=wb.length)rb.push(tc[vc++]);else if(vc>=tc.length)rb.push(wb[wc++]);else{if(wb[wc]===tc[vc]){wc++,vc++;continue}wb[wc]<tc[vc]?rb.push(wb[wc++]):vc++}return rb}(Ab,gb));this.list.setSelection(Fb,_.browserEvent)}else if(this.isSelectionSingleChangeEvent(_)){const va=this.list.getSelection(),La=va.filter($a=>$a!==ka);this.list.setFocus([ka]),va.length===La.length?this.list.setSelection([...La,ka],_.browserEvent):this.list.setSelection(La,_.browserEvent)}}dispose(){this.disposables.dispose()}}class hb{constructor(_,I){this.styleElement=_,this.selectorSuffix=I}style(_){const I=this.selectorSuffix&&"."+this.selectorSuffix,ka=[];_.listBackground&&(_.listBackground.isOpaque()?ka.push(`.monaco-list${I} .monaco-list-rows { background: ${_.listBackground}; }`):Y.f||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),_.listFocusBackground&&(ka.push(`.monaco-list${I}:focus .monaco-list-row.focused { background-color: ${_.listFocusBackground}; }`),ka.push(`.monaco-list${I}:focus .monaco-list-row.focused:hover { background-color: ${_.listFocusBackground}; }`)),_.listFocusForeground&&ka.push(`.monaco-list${I}:focus .monaco-list-row.focused { color: ${_.listFocusForeground}; }`),_.listActiveSelectionBackground&&(ka.push(`.monaco-list${I}:focus .monaco-list-row.selected { background-color: ${_.listActiveSelectionBackground}; }`),ka.push(`.monaco-list${I}:focus .monaco-list-row.selected:hover { background-color: ${_.listActiveSelectionBackground}; }`)),_.listActiveSelectionForeground&&ka.push(`.monaco-list${I}:focus .monaco-list-row.selected { color: ${_.listActiveSelectionForeground}; }`),_.listFocusAndSelectionBackground&&ka.push(` +`;var Kr=o(93),os=o(44);class Hs{constructor(s,v,M,be,Ne){this.contextViewService=s,this.telemetryService=v,this.notificationService=M,this.keybindingService=be,this.themeService=Ne,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(s){this.options=s}showContextMenu(s){let v=s.getActions();if(!v.length)return;let M;this.focusToReturn=document.activeElement;let be=Object(E.M)(s.domForShadowRoot)?s.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>s.getAnchor(),canRelayout:!1,anchorAlignment:s.anchorAlignment,render:Ne=>{let De=s.getMenuClassName?s.getMenuClassName():"";De&&(Ne.className+=" "+De),this.options.blockMouse&&(this.block=Ne.appendChild(Object(E.a)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",Object(os.a)(this.block,E.c.MOUSE_DOWN)(It=>It.stopPropagation()));let je=new Y.b,mt=s.actionRunner||new vr.b;return mt.onDidBeforeRun(this.onActionRun,this,je),mt.onDidRun(this.onDidActionRun,this,je),M=new $r(Ne,v,{actionViewItemProvider:s.getActionViewItem,context:s.getActionsContext?s.getActionsContext():null,actionRunner:mt,getKeyBinding:s.getKeyBinding?s.getKeyBinding:It=>this.keybindingService.lookupKeybinding(It.id)}),je.add(Object(Kr.c)(M,this.themeService)),M.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,je),M.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,je),Object(os.a)(window,E.c.BLUR)(()=>{this.contextViewService.hideContextView(!0)},null,je),Object(os.a)(window,E.c.MOUSE_DOWN)(It=>{if(It.defaultPrevented)return;let Qt=new hs.a(It),Oi=Qt.target;if(!Qt.rightButton){for(;Oi;){if(Oi===Ne)return;Oi=Oi.parentElement}this.contextViewService.hideContextView(!0)}},null,je),Object(Y.e)(je,M)},focus:()=>{M&&M.focus(!!s.autoSelectFirstItem)},onHide:Ne=>{s.onHide&&s.onHide(!!Ne),this.block&&(Object(E.S)(this.block),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},be,!!be)}onActionRun(s){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:s.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(s){s.error&&this.notificationService&&this.notificationService.error(s.error)}}var ms=o(120),gs=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},Or=function(me,s){return function(v,M){s(v,M,me)}};let Go=class extends Y.a{constructor(me,s,v,M,be){super(),this._onDidContextMenu=this._register(new yi.a),this.onDidContextMenu=this._onDidContextMenu.event,this.contextMenuHandler=new Hs(v,me,s,M,be)}configure(me){this.contextMenuHandler.configure(me)}showContextMenu(me){this.contextMenuHandler.showContextMenu(me),this._onDidContextMenu.fire()}};Go=gs([Or(0,ms.a),Or(1,Mt.a),Or(2,Te.b),Or(3,ve.a),Or(4,Re.c)],Go);let rr=Object(Ee.c)("layoutService");var Sa=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},qs=function(me,s){return function(v,M){s(v,M,me)}};let Dr=class extends Y.a{constructor(me){super(),this.layoutService=me,this.currentViewDisposable=Y.a.None,this.container=me.container,this.contextView=this._register(new or(this.container,1)),this.layout(),this._register(me.onLayout(()=>this.layout()))}setContainer(me,s){this.contextView.setContainer(me,s||1)}showContextView(me,s,v){s?s!==this.container&&(this.container=s,this.setContainer(s,v?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(me);let M=Object(Y.h)(()=>{this.currentViewDisposable===M&&this.hideContextView()});return this.currentViewDisposable=M,M}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(me){this.contextView.hide(me)}};Dr=Sa([qs(0,rr)],Dr);var Ar=o(171);class $s{constructor(s){this.incoming=new Map,this.outgoing=new Map,this.data=s}}class ka{constructor(s){this._hashFn=s,this._nodes=new Map}roots(){let s=[];for(let v of this._nodes.values())v.outgoing.size===0&&s.push(v);return s}insertEdge(s,v){let M=this.lookupOrInsertNode(s),be=this.lookupOrInsertNode(v);M.outgoing.set(this._hashFn(v),be),be.incoming.set(this._hashFn(s),M)}removeNode(s){let v=this._hashFn(s);this._nodes.delete(v);for(let M of this._nodes.values())M.outgoing.delete(v),M.incoming.delete(v)}lookupOrInsertNode(s){let v=this._hashFn(s),M=this._nodes.get(v);return M||(M=new $s(s),this._nodes.set(v,M)),M}isEmpty(){return this._nodes.size===0}toString(){let s=[];for(let[v,M]of this._nodes)s.push(`${v}, (incoming)[${[...M.incoming.keys()].join(", ")}], (outgoing)[${[...M.outgoing.keys()].join(",")}]`);return s.join(` +`)}}var hr=o(163),Ks=o(149);class Ts extends Error{constructor(s){super("cyclic dependency between services"),this.message=s.toString()}}class Qo{constructor(s=new Ks.a,v=!1,M){this._services=s,this._strict=v,this._parent=M,this._services.set(Ee.a,this)}createChild(s){return new Qo(s,this._strict,this)}invokeFunction(s,...v){let M=sr.traceInvocation(s),be=!1;try{return s({get:(Ne,De)=>{if(be)throw Object(z.c)("service accessor is only valid during the invocation of its target method");let je=this._getOrCreateServiceInstance(Ne,M);if(!je&&De!==Ee.d)throw new Error(`[invokeFunction] unknown service '${Ne}'`);return je}},...v)}finally{be=!0,M.stop()}}createInstance(s,...v){let M,be;return s instanceof hr.a?(M=sr.traceCreation(s.ctor),be=this._createInstance(s.ctor,s.staticArguments.concat(v),M)):(M=sr.traceCreation(s),be=this._createInstance(s,v,M)),M.stop(),be}_createInstance(s,v=[],M){let be=Ee.b.getServiceDependencies(s).sort((je,mt)=>je.index-mt.index),Ne=[];for(let je of be){let mt=this._getOrCreateServiceInstance(je.id,M);if(!mt&&this._strict&&!je.optional)throw new Error(`[createInstance] ${s.name} depends on UNKNOWN service ${je.id}.`);Ne.push(mt)}let De=be.length>0?be[0].index:v.length;if(v.length!==De){console.warn(`[createInstance] First service dependency of ${s.name} at position ${De+1} conflicts with ${v.length} static arguments`);let je=De-v.length;v=je>0?v.concat(new Array(je)):v.slice(0,De)}return new s(...[...v,...Ne])}_setServiceInstance(s,v){if(this._services.get(s)instanceof hr.a)this._services.set(s,v);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(s,v)}}_getServiceInstanceOrDescriptor(s){let v=this._services.get(s);return!v&&this._parent?this._parent._getServiceInstanceOrDescriptor(s):v}_getOrCreateServiceInstance(s,v){let M=this._getServiceInstanceOrDescriptor(s);return M instanceof hr.a?this._createAndCacheServiceInstance(s,M,v.branch(s,!0)):(v.branch(s,!1),M)}_createAndCacheServiceInstance(s,v,M){let be=new ka(je=>je.id.toString()),Ne=0,De=[{id:s,desc:v,_trace:M}];for(;De.length;){let je=De.pop();if(be.lookupOrInsertNode(je),Ne++>1e3)throw new Ts(be);for(let mt of Ee.b.getServiceDependencies(je.desc.ctor)){let It=this._getServiceInstanceOrDescriptor(mt.id);if(It||mt.optional||console.warn(`[createInstance] ${s} depends on ${mt.id} which is NOT registered.`),It instanceof hr.a){let Qt={id:mt.id,desc:It,_trace:je._trace.branch(mt.id,!0)};be.insertEdge(je,Qt),De.push(Qt)}}}for(;;){let je=be.roots();if(je.length===0){if(!be.isEmpty())throw new Ts(be);break}for(let{data:mt}of je){let It=this._createServiceInstanceWithOwner(mt.id,mt.desc.ctor,mt.desc.staticArguments,mt.desc.supportsDelayedInstantiation,mt._trace);this._setServiceInstance(mt.id,It),be.removeNode(mt)}}return this._getServiceInstanceOrDescriptor(s)}_createServiceInstanceWithOwner(s,v,M=[],be,Ne){if(this._services.get(s)instanceof hr.a)return this._createServiceInstance(v,M,be,Ne);if(this._parent)return this._parent._createServiceInstanceWithOwner(s,v,M,be,Ne);throw new Error("illegalState - creating UNKNOWN service instance "+v.name)}_createServiceInstance(s,v=[],M,be){if(M){let Ne=new xe.b(()=>this._createInstance(s,v,be));return new Proxy(Object.create(null),{get(De,je){if(je in De)return De[je];let mt=Ne.value,It=mt[je];return typeof It!="function"||(It=It.bind(mt),De[je]=It),It},set:(De,je,mt)=>(Ne.value[je]=mt,!0)})}return this._createInstance(s,v,be)}}class sr{constructor(s,v){this.type=s,this.name=v,this._start=Date.now(),this._dep=[]}static traceInvocation(s){return sr._None}static traceCreation(s){return sr._None}branch(s,v){let M=new sr(2,s.toString());return this._dep.push([s,v,M]),M}stop(){let s=Date.now()-this._start;sr._totals+=s;let v=!1,M=[`${this.type===0?"CREATE":"CALL"} ${this.name}`,""+function be(Ne,De){let je=[],mt=new Array(Ne+1).join(" ");for(let[It,Qt,Oi]of De._dep)if(Qt&&Oi){v=!0,je.push(`${mt}CREATES -> ${It}`);let en=be(Ne+1,Oi);en&&je.push(en)}else je.push(`${mt}uses -> ${It}`);return je.join(` +`)}(1,this),`DONE, took ${s.toFixed(2)}ms (grand total ${sr._totals.toFixed(2)}ms)`];(s>2||v)&&console.log(M.join(` +`))}}sr._None=new class extends sr{constructor(){super(-1,null)}stop(){}branch(){return this}},sr._totals=0;var ra=o(159),Ls=o(136),qo=o(63),Ns=o(37);class ar{constructor(){this._byResource=new bn.b,this._byOwner=new Map}set(s,v,M){let be=this._byResource.get(s);be||(be=new Map,this._byResource.set(s,be)),be.set(v,M);let Ne=this._byOwner.get(v);Ne||(Ne=new bn.b,this._byOwner.set(v,Ne)),Ne.set(s,M)}get(s,v){let M=this._byResource.get(s);return M==null?void 0:M.get(v)}delete(s,v){let M=!1,be=!1,Ne=this._byResource.get(s);Ne&&(M=Ne.delete(v));let De=this._byOwner.get(v);if(De&&(be=De.delete(s)),M!==be)throw new Error("illegal state");return M&&be}values(s){var v,M,be,Ne;return typeof s=="string"?(M=(v=this._byOwner.get(s))===null||v===void 0?void 0:v.values())!==null&&M!==void 0?M:Ns.a.empty():C.a.isUri(s)?(Ne=(be=this._byResource.get(s))===null||be===void 0?void 0:be.values())!==null&&Ne!==void 0?Ne:Ns.a.empty():Ns.a.map(Ns.a.concat(...this._byOwner.values()),De=>De[1])}}class Zt{constructor(s){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new bn.b,this._service=s,this._subscription=s.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(s){for(let v of s){let M=this._data.get(v);M&&this._substract(M);let be=this._resourceStats(v);this._add(be),this._data.set(v,be)}}_resourceStats(s){let v={errors:0,warnings:0,infos:0,unknowns:0};if(s.scheme===Q.b.inMemory||s.scheme===Q.b.walkThrough||s.scheme===Q.b.walkThroughSnippet)return v;for(let{severity:M}of this._service.read({resource:s}))M===qo.c.Error?v.errors+=1:M===qo.c.Warning?v.warnings+=1:M===qo.c.Info?v.infos+=1:v.unknowns+=1;return v}_substract(s){this.errors-=s.errors,this.warnings-=s.warnings,this.infos-=s.infos,this.unknowns-=s.unknowns}_add(s){this.errors+=s.errors,this.warnings+=s.warnings,this.infos+=s.infos,this.unknowns+=s.unknowns}}class i{constructor(){this._onMarkerChanged=new yi.a,this.onMarkerChanged=yi.b.debounce(this._onMarkerChanged.event,i._debouncer,0),this._data=new ar,this._stats=new Zt(this)}dispose(){this._stats.dispose()}remove(s,v){for(let M of v||[])this.changeOne(s,M,[])}changeOne(s,v,M){if(Object(fe.n)(M))this._data.delete(v,s)&&this._onMarkerChanged.fire([v]);else{let be=[];for(let Ne of M){let De=i._toMarker(s,v,Ne);De&&be.push(De)}this._data.set(v,s,be),this._onMarkerChanged.fire([v])}}static _toMarker(s,v,M){let{code:be,severity:Ne,message:De,source:je,startLineNumber:mt,startColumn:It,endLineNumber:Qt,endColumn:Oi,relatedInformation:en,tags:tn}=M;if(De)return mt=mt>0?mt:1,It=It>0?It:1,Qt=Qt>=mt?Qt:mt,Oi=Oi>0?Oi:It,{resource:v,owner:s,code:be,severity:Ne,message:De,source:je,startLineNumber:mt,startColumn:It,endLineNumber:Qt,endColumn:Oi,relatedInformation:en,tags:tn}}read(s=Object.create(null)){let{owner:v,resource:M,severities:be,take:Ne}=s;if((!Ne||Ne<0)&&(Ne=-1),v&&M){let De=this._data.get(M,v);if(De){let je=[];for(let mt of De)if(i._accept(mt,be)){let It=je.push(mt);if(Ne>0&&It===Ne)break}return je}return[]}if(v||M){let De=this._data.values(M??v),je=[];for(let mt of De)for(let It of mt)if(i._accept(It,be)){let Qt=je.push(It);if(Ne>0&&Qt===Ne)return je}return je}{let De=[];for(let je of this._data.values())for(let mt of je)if(i._accept(mt,be)){let It=De.push(mt);if(Ne>0&&It===Ne)return De}return De}}static _accept(s,v){return v===void 0||(v&s.severity)===s.severity}static _debouncer(s,v){s||(i._dedupeMap=new bn.b,s=[]);for(let M of v)i._dedupeMap.has(M)||(i._dedupeMap.set(M,!0),s.push(M));return s}}var a=o(97),_=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},R=function(me,s){return function(v,M){s(v,M,me)}};let K=class{constructor(me){this._commandService=me}createMenu(me,s){return new we(me,this._commandService,s,this)}};K=_([R(0,S.b)],K);let we=class Lc{constructor(s,v,M,be){this._id=s,this._commandService=v,this._contextKeyService=M,this._menuService=be,this._onDidChange=new yi.a,this._dispoables=new Y.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(yi.b.debounce(yi.b.filter(fi.d.onDidChangeMenu,Ne=>Ne.has(this._id)),()=>{},50)(this._build,this)),this._dispoables.add(yi.b.debounce(this._contextKeyService.onDidChangeContext,(Ne,De)=>Ne||De.affectsSome(this._contextKeys),50)(Ne=>Ne&&this._onDidChange.fire(void 0),this))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();let s=fi.d.getMenuItems(this._id),v;s.sort(Lc._compareMenuItems);for(let M of s){let be=M.group||"";if(v&&v[0]===be||(v=[be,[]],this._menuGroups.push(v)),v[1].push(M),Lc._fillInKbExprKeys(M.when,this._contextKeys),Object(fi.f)(M)&&M.command.precondition&&Lc._fillInKbExprKeys(M.command.precondition,this._contextKeys),Object(fi.f)(M)&&M.command.toggled){let Ne=M.command.toggled.condition||M.command.toggled;Lc._fillInKbExprKeys(Ne,this._contextKeys)}}this._onDidChange.fire(this)}get onDidChange(){return this._onDidChange.event}getActions(s){let v=[];for(let M of this._menuGroups){let[be,Ne]=M,De=[];for(let je of Ne)if(this._contextKeyService.contextMatchesRules(je.when)){let mt=Object(fi.f)(je)?new fi.c(je.command,je.alt,s,this._contextKeyService,this._commandService):new fi.e(je,this._menuService,this._contextKeyService,s);De.push(mt)}De.length>0&&v.push([be,De])}return v}static _fillInKbExprKeys(s,v){if(s)for(let M of s.keys())v.add(M)}static _compareMenuItems(s,v){let M=s.group,be=v.group;if(M!==be){if(!M)return 1;if(!be||M==="navigation")return-1;if(be==="navigation")return 1;let je=M.localeCompare(be);if(je!==0)return je}let Ne=s.order||0,De=v.order||0;return Ne<De?-1:Ne>De?1:Lc._compareTitles(Object(fi.f)(s)?s.command.title:s.title,Object(fi.f)(v)?v.command.title:v.title)}static _compareTitles(s,v){let M=typeof s=="string"?s:s.value,be=typeof v=="string"?v:v.value;return M.localeCompare(be)}};we=_([R(1,S.b),R(2,ui.b),R(3,fi.a)],we);var Pe=o(192),Ve=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},Je=function(me,s){return function(v,M){s(v,M,me)}};function at(me){return me.toString()}class bt extends Y.a{constructor(s){super(),this.model=s,this._markersData=new Map,this._register(Object(Y.h)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(s,v){let M=[...this._markersData.keys()];this._markersData.clear();let be=this.model.deltaDecorations(M,v);for(let Ne=0;Ne<be.length;Ne++)this._markersData.set(be[Ne],s[Ne]);return M.length!==0||be.length!==0}getMarker(s){return this._markersData.get(s.id)}}let Bt=class extends Y.a{constructor(me,s){super(),this._markerService=s,this._onDidChangeMarker=this._register(new yi.a),this._markerDecorations=new Map,me.getModels().forEach(v=>this._onModelAdded(v)),this._register(me.onModelAdded(this._onModelAdded,this)),this._register(me.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(me=>me.dispose()),this._markerDecorations.clear()}getMarker(me,s){let v=this._markerDecorations.get(at(me.uri));return v&&v.getMarker(s)||null}_handleMarkerChange(me){me.forEach(s=>{let v=this._markerDecorations.get(at(s));v&&this._updateDecorations(v)})}_onModelAdded(me){let s=new bt(me);this._markerDecorations.set(at(me.uri),s),this._updateDecorations(s)}_onModelRemoved(me){let s=this._markerDecorations.get(at(me.uri));s&&(s.dispose(),this._markerDecorations.delete(at(me.uri))),me.uri.scheme!==Q.b.inMemory&&me.uri.scheme!==Q.b.internal&&me.uri.scheme!==Q.b.vscode||this._markerService&&this._markerService.read({resource:me.uri}).map(v=>v.owner).forEach(v=>this._markerService.remove(v,[me.uri]))}_updateDecorations(me){let s=this._markerService.read({resource:me.model.uri,take:500}),v=s.map(M=>({range:this._createDecorationRange(me.model,M),options:this._createDecorationOption(M)}));me.update(s,v)&&this._onDidChangeMarker.fire(me.model)}_createDecorationRange(me,s){let v=Ae.a.lift(s);if(s.severity!==qo.c.Hint||this._hasMarkerTag(s,1)||this._hasMarkerTag(s,2)||(v=v.setEndPosition(v.startLineNumber,v.startColumn+2)),v=me.validateRange(v),v.isEmpty()){let M=me.getWordAtPosition(v.getStartPosition());if(M)v=new Ae.a(v.startLineNumber,M.startColumn,v.endLineNumber,M.endColumn);else{let be=me.getLineLastNonWhitespaceColumn(v.startLineNumber)||me.getLineMaxColumn(v.startLineNumber);be===1||(v=v.endColumn>=be?new Ae.a(v.startLineNumber,be-1,v.endLineNumber,be):new Ae.a(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn+1))}}else if(s.endColumn===Number.MAX_VALUE&&s.startColumn===1&&v.startLineNumber===v.endLineNumber){let M=me.getLineFirstNonWhitespaceColumn(s.startLineNumber);M<v.endColumn&&(v=new Ae.a(v.startLineNumber,M,v.endLineNumber,v.endColumn),s.startColumn=M)}return v}_createDecorationOption(me){let s,v,M,be,Ne;switch(me.severity){case qo.c.Hint:s=this._hasMarkerTag(me,2)?void 0:this._hasMarkerTag(me,1)?"squiggly-unnecessary":"squiggly-hint",v=0;break;case qo.c.Warning:s="squiggly-warning",be=Object(Re.h)(Ko.t),v=20,M={color:Object(Re.h)(Cn.Tb),position:U.c.Inline};break;case qo.c.Info:s="squiggly-info",be=Object(Re.h)(Ko.r),v=10;break;case qo.c.Error:default:s="squiggly-error",be=Object(Re.h)(Ko.q),v=30,M={color:Object(Re.h)(Cn.Nb),position:U.c.Inline}}return me.tags&&(me.tags.indexOf(1)!==-1&&(Ne="squiggly-inline-unnecessary"),me.tags.indexOf(2)!==-1&&(Ne="squiggly-inline-deprecated")),{stickiness:1,className:s,showIfCollapsed:!0,overviewRuler:{color:be,position:U.d.Right},minimap:M,zIndex:v,inlineClassName:Ne}}_hasMarkerTag(me,s){return!!me.tags&&me.tags.indexOf(s)>=0}};Bt=Ve([Je(0,ct.a),Je(1,qo.b)],Bt);var Pt=o(115),ni=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},Ci=function(me,s){return function(v,M){s(v,M,me)}};let Vi=class extends Y.a{constructor(me,s){super(),this._contextKeyService=me,this._configurationService=s,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new yi.a,this._accessibilityModeEnabledContext=We.a.bindTo(this._contextKeyService);let v=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(M=>{M.affectsConfiguration("editor.accessibilitySupport")&&(v(),this._onDidChangeScreenReaderOptimized.fire())})),v(),this.onDidChangeScreenReaderOptimized(()=>v())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){let me=this._configurationService.getValue("editor.accessibilitySupport");return me==="on"||me==="auto"&&this._accessibilitySupport===2}getAccessibilitySupport(){return this._accessibilitySupport}};Vi=ni([Ci(0,ui.b),Ci(1,un.a)],Vi);var Mi=function(me,s,v,M){return new(v||(v=Promise))(function(be,Ne){function De(It){try{mt(M.next(It))}catch(Qt){Ne(Qt)}}function je(It){try{mt(M.throw(It))}catch(Qt){Ne(Qt)}}function mt(It){var Qt;It.done?be(It.value):(Qt=It.value,Qt instanceof v?Qt:new v(function(Oi){Oi(Qt)})).then(De,je)}mt((M=M.apply(me,s||[])).next())})};class zi{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(s,v){return Mi(this,void 0,void 0,function*(){if(v)return void this.mapTextToType.set(v,s);try{return yield navigator.clipboard.writeText(s)}catch(Ne){console.error(Ne)}let M=document.activeElement,be=document.body.appendChild(Object(E.a)("textarea",{"aria-hidden":!0}));be.style.height="1px",be.style.width="1px",be.style.position="absolute",be.value=s,be.focus(),be.select(),document.execCommand("copy"),M instanceof HTMLElement&&M.focus(),document.body.removeChild(be)})}readText(s){return Mi(this,void 0,void 0,function*(){if(s)return this.mapTextToType.get(s)||"";try{return yield navigator.clipboard.readText()}catch(v){return console.error(v),""}})}readFindText(){return Mi(this,void 0,void 0,function*(){return this.findText})}writeFindText(s){return Mi(this,void 0,void 0,function*(){this.findText=s})}}var Yi=o(150),Gi=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},wn=function(me,s){return function(v,M){s(v,M,me)}},nn=function(me,s,v,M){return new(v||(v=Promise))(function(be,Ne){function De(It){try{mt(M.next(It))}catch(Qt){Ne(Qt)}}function je(It){try{mt(M.throw(It))}catch(Qt){Ne(Qt)}}function mt(It){var Qt;It.done?be(It.value):(Qt=It.value,Qt instanceof v?Qt:new v(function(Oi){Oi(Qt)})).then(De,je)}mt((M=M.apply(me,s||[])).next())})};function Wn(me){return me.scheme===Q.b.file?me.fsPath:me.path}let An=0;class qn{constructor(s,v,M){this.id=++An,this.type=0,this.actual=s,this.label=s.label,this.resourceLabel=v,this.strResource=M,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.isValid=!0}setValid(s){this.isValid=s}toString(){return`[${this.id}] [${this.isValid?"VALID":"INVALID"}] ${this.actual}`}}class ro{constructor(s,v){this.resourceLabel=s,this.reason=v}}class Un{constructor(){this.elements=new Map}createMessage(){let s=[],v=[];for(let[,be]of this.elements)(be.reason===0?s:v).push(be.resourceLabel);let M=[];return s.length>0&&M.push(pn.a({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",s.join(", "))),v.length>0&&M.push(pn.a({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",v.join(", "))),M.join(` +`)}get size(){return this.elements.size}has(s){return this.elements.has(s)}set(s,v){this.elements.set(s,v)}delete(s){return this.elements.delete(s)}}class Lo{constructor(s,v,M){this.id=++An,this.type=1,this.actual=s,this.label=s.label,this.resourceLabels=v,this.strResources=M,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split=="function"}removeResource(s,v,M){this.removedResources||(this.removedResources=new Un),this.removedResources.has(v)||this.removedResources.set(v,new ro(s,M))}setValid(s,v,M){M?this.invalidatedResources&&(this.invalidatedResources.delete(v),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new Un),this.invalidatedResources.has(v)||this.invalidatedResources.set(v,new ro(s,0)))}toString(){return`[${this.id}] [${this.invalidatedResources?"INVALID":"VALID"}] ${this.actual}`}}class Ao{constructor(s,v){this.resourceLabel=s,this.strResource=v,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(let s of this._past)s.type===1&&s.removeResource(this.resourceLabel,this.strResource,0);for(let s of this._future)s.type===1&&s.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let s=[];s.push(`* ${this.strResource}:`);for(let v=0;v<this._past.length;v++)s.push(" * [UNDO] "+this._past[v]);for(let v=this._future.length-1;v>=0;v--)s.push(" * [REDO] "+this._future[v]);return s.join(` +`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(s,v){s.type===1?s.setValid(this.resourceLabel,this.strResource,v):s.setValid(v)}setElementsValidFlag(s,v){for(let M of this._past)v(M.actual)&&this._setElementValidFlag(M,s);for(let M of this._future)v(M.actual)&&this._setElementValidFlag(M,s)}pushElement(s){for(let v of this._future)v.type===1&&v.removeResource(this.resourceLabel,this.strResource,1);if(this._future=[],this._past.length>0){let v=this._past[this._past.length-1];v.type!==0||v.isValid||(this._past=[])}this._past.push(s),this.versionId++}createSnapshot(s){let v=[];for(let M=0,be=this._past.length;M<be;M++)v.push(this._past[M].id);for(let M=this._future.length-1;M>=0;M--)v.push(this._future[M].id);return new Yi.b(s,v)}restoreSnapshot(s){let v=s.elements.length,M=!0,be=0,Ne=-1;for(let je=0,mt=this._past.length;je<mt;je++,be++){let It=this._past[je];M&&(be>=v||It.id!==s.elements[be])&&(M=!1,Ne=0),M||It.type!==1||It.removeResource(this.resourceLabel,this.strResource,0)}let De=-1;for(let je=this._future.length-1;je>=0;je--,be++){let mt=this._future[je];M&&(be>=v||mt.id!==s.elements[be])&&(M=!1,De=je),M||mt.type!==1||mt.removeResource(this.resourceLabel,this.strResource,0)}Ne!==-1&&(this._past=this._past.slice(0,Ne)),De!==-1&&(this._future=this._future.slice(De+1)),this.versionId++}getElements(){let s=[],v=[];for(let M of this._past)s.push(M.actual);for(let M of this._future)v.push(M.actual);return{past:s,future:v}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(s,v){for(let M=this._past.length-1;M>=0;M--)if(this._past[M]===s){v.has(this.strResource)?this._past[M]=v.get(this.strResource):this._past.splice(M,1);break}this.versionId++}splitFutureWorkspaceElement(s,v){for(let M=this._future.length-1;M>=0;M--)if(this._future[M]===s){v.has(this.strResource)?this._future[M]=v.get(this.strResource):this._future.splice(M,1);break}this.versionId++}moveBackward(s){this._past.pop(),this._future.push(s),this.versionId++}moveForward(s){this._future.pop(),this._past.push(s),this.versionId++}}class Bo{constructor(s){this.editStacks=s,this._versionIds=[];for(let v=0,M=this.editStacks.length;v<M;v++)this._versionIds[v]=this.editStacks[v].versionId}isValid(){for(let s=0,v=this.editStacks.length;s<v;s++)if(this._versionIds[s]!==this.editStacks[s].versionId)return!1;return!0}}let jo=new Ao("","");jo.locked=!0;let $o=class{constructor(me,s){this._dialogService=me,this._notificationService=s,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(me){for(let s of this._uriComparisonKeyComputers)if(s[0]===me.scheme)return s[1].getComparisonKey(me);return me.toString()}_print(me){console.log("------------------------------------"),console.log(`AFTER ${me}: `);let s=[];for(let v of this._editStacks)s.push(v[1].toString());console.log(s.join(` +`))}pushElement(me){if(me.type===0){let s=Wn(me.resource),v=this.getUriComparisonKey(me.resource);this._pushElement(new qn(me,s,v))}else{let s=new Set,v=[],M=[];for(let be of me.resources){let Ne=Wn(be),De=this.getUriComparisonKey(be);s.has(De)||(s.add(De),v.push(Ne),M.push(De))}v.length===1?this._pushElement(new qn(me,v[0],M[0])):this._pushElement(new Lo(me,v,M))}}_pushElement(me){for(let s=0,v=me.strResources.length;s<v;s++){let M=me.resourceLabels[s],be=me.strResources[s],Ne;this._editStacks.has(be)?Ne=this._editStacks.get(be):(Ne=new Ao(M,be),this._editStacks.set(be,Ne)),Ne.pushElement(me)}}getLastElement(me){let s=this.getUriComparisonKey(me);if(this._editStacks.has(s)){let v=this._editStacks.get(s);if(v.hasFutureElements())return null;let M=v.getClosestPastElement();return M?M.actual:null}return null}_splitPastWorkspaceElement(me,s){let v=me.actual.split(),M=new Map;for(let be of v){let Ne=Wn(be.resource),De=this.getUriComparisonKey(be.resource),je=new qn(be,Ne,De);M.set(je.strResource,je)}for(let be of me.strResources)s&&s.has(be)||this._editStacks.get(be).splitPastWorkspaceElement(me,M)}_splitFutureWorkspaceElement(me,s){let v=me.actual.split(),M=new Map;for(let be of v){let Ne=Wn(be.resource),De=this.getUriComparisonKey(be.resource),je=new qn(be,Ne,De);M.set(je.strResource,je)}for(let be of me.strResources)s&&s.has(be)||this._editStacks.get(be).splitFutureWorkspaceElement(me,M)}removeElements(me){let s=typeof me=="string"?me:this.getUriComparisonKey(me);this._editStacks.has(s)&&(this._editStacks.get(s).dispose(),this._editStacks.delete(s))}setElementsValidFlag(me,s,v){let M=this.getUriComparisonKey(me);this._editStacks.has(M)&&this._editStacks.get(M).setElementsValidFlag(s,v)}createSnapshot(me){let s=this.getUriComparisonKey(me);return this._editStacks.has(s)?this._editStacks.get(s).createSnapshot(me):new Yi.b(me,[])}restoreSnapshot(me){let s=this.getUriComparisonKey(me.resource);if(this._editStacks.has(s)){let v=this._editStacks.get(s);v.restoreSnapshot(me),v.hasPastElements()||v.hasFutureElements()||(v.dispose(),this._editStacks.delete(s))}}getElements(me){let s=this.getUriComparisonKey(me);return this._editStacks.has(s)?this._editStacks.get(s).getElements():{past:[],future:[]}}canUndo(me){let s=this.getUriComparisonKey(me);return this._editStacks.has(s)?this._editStacks.get(s).hasPastElements():!1}_onError(me,s){Object(z.e)(me);for(let v of s.strResources)this.removeElements(v);this._notificationService.error(me)}_acquireLocks(me){for(let s of me.editStacks)if(s.locked)throw new Error("Cannot acquire edit stack lock");for(let s of me.editStacks)s.locked=!0;return()=>{for(let s of me.editStacks)s.locked=!1}}_safeInvokeWithLocks(me,s,v,M=Y.a.None){let be=this._acquireLocks(v),Ne;try{Ne=s()}catch(De){return be(),M.dispose(),this._onError(De,me)}if(Ne)return Ne.then(()=>{be(),M.dispose()},De=>(be(),M.dispose(),this._onError(De,me)));be(),M.dispose()}_invokeWorkspacePrepare(me){return nn(this,void 0,void 0,function*(){if(me.actual.prepareUndoRedo===void 0)return Y.a.None;let s=me.actual.prepareUndoRedo();return s===void 0?Y.a.None:s})}_invokeResourcePrepare(me,s){if(me.actual.type!==1||me.actual.prepareUndoRedo===void 0)return void s(Y.a.None);let v=me.actual.prepareUndoRedo();if(v){if(!Object(Y.g)(v))return v.then(M=>{s(M)});s(v)}else s(Y.a.None)}_getAffectedEditStacks(me){let s=[];for(let v of me.strResources)s.push(this._editStacks.get(v)||jo);return new Bo(s)}_tryToSplitAndUndo(me,s,v,M){if(s.canSplit())return this._splitPastWorkspaceElement(s,v),this._notificationService.info(M),new Po(this.undo(me));for(let be of s.strResources)this.removeElements(be);return this._notificationService.info(M),new Po}_checkWorkspaceUndo(me,s,v,M){if(s.removedResources)return this._tryToSplitAndUndo(me,s,s.removedResources,pn.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",s.label,s.removedResources.createMessage()));if(M&&s.invalidatedResources)return this._tryToSplitAndUndo(me,s,s.invalidatedResources,pn.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",s.label,s.invalidatedResources.createMessage()));let be=[];for(let De of v.editStacks)De.getClosestPastElement()!==s&&be.push(De.resourceLabel);if(be.length>0)return this._tryToSplitAndUndo(me,s,null,pn.a({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",s.label,be.join(", ")));let Ne=[];for(let De of v.editStacks)De.locked&&Ne.push(De.resourceLabel);return Ne.length>0?this._tryToSplitAndUndo(me,s,null,pn.a({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",s.label,Ne.join(", "))):v.isValid()?null:this._tryToSplitAndUndo(me,s,null,pn.a({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",s.label))}_workspaceUndo(me,s){let v=this._getAffectedEditStacks(s),M=this._checkWorkspaceUndo(me,s,v,!1);return M?M.returnValue:this._confirmAndExecuteWorkspaceUndo(me,s,v)}_confirmAndExecuteWorkspaceUndo(me,s,v){return nn(this,void 0,void 0,function*(){if(s.canSplit()){let Ne=yield this._dialogService.show(Et.a.Info,pn.a("confirmWorkspace","Would you like to undo '{0}' across all files?",s.label),[pn.a({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",v.editStacks.length),pn.a("nok","Undo this File"),pn.a("cancel","Cancel")],{cancelId:2});if(Ne.choice===2)return;if(Ne.choice===1)return this._splitPastWorkspaceElement(s,null),this.undo(me);let De=this._checkWorkspaceUndo(me,s,v,!1);if(De)return De.returnValue}let M;try{M=yield this._invokeWorkspacePrepare(s)}catch(Ne){return this._onError(Ne,s)}let be=this._checkWorkspaceUndo(me,s,v,!0);if(be)return M.dispose(),be.returnValue;for(let Ne of v.editStacks)Ne.moveBackward(s);return this._safeInvokeWithLocks(s,()=>s.actual.undo(),v,M)})}_resourceUndo(me,s){if(s.isValid){if(!me.locked)return this._invokeResourcePrepare(s,v=>(me.moveBackward(s),this._safeInvokeWithLocks(s,()=>s.actual.undo(),new Bo([me]),v)));{let v=pn.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",s.label);this._notificationService.info(v)}}else me.flushAllElements()}undo(me){let s=typeof me=="string"?me:this.getUriComparisonKey(me);if(!this._editStacks.has(s))return;let v=this._editStacks.get(s),M=v.getClosestPastElement();if(M)try{return M.type===1?this._workspaceUndo(s,M):this._resourceUndo(v,M)}finally{}}canRedo(me){let s=this.getUriComparisonKey(me);return this._editStacks.has(s)?this._editStacks.get(s).hasFutureElements():!1}_tryToSplitAndRedo(me,s,v,M){if(s.canSplit())return this._splitFutureWorkspaceElement(s,v),this._notificationService.info(M),new Po(this.redo(me));for(let be of s.strResources)this.removeElements(be);return this._notificationService.info(M),new Po}_checkWorkspaceRedo(me,s,v,M){if(s.removedResources)return this._tryToSplitAndRedo(me,s,s.removedResources,pn.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",s.label,s.removedResources.createMessage()));if(M&&s.invalidatedResources)return this._tryToSplitAndRedo(me,s,s.invalidatedResources,pn.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",s.label,s.invalidatedResources.createMessage()));let be=[];for(let De of v.editStacks)De.getClosestFutureElement()!==s&&be.push(De.resourceLabel);if(be.length>0)return this._tryToSplitAndRedo(me,s,null,pn.a({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",s.label,be.join(", ")));let Ne=[];for(let De of v.editStacks)De.locked&&Ne.push(De.resourceLabel);return Ne.length>0?this._tryToSplitAndRedo(me,s,null,pn.a({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",s.label,Ne.join(", "))):v.isValid()?null:this._tryToSplitAndRedo(me,s,null,pn.a({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",s.label))}_workspaceRedo(me,s){let v=this._getAffectedEditStacks(s),M=this._checkWorkspaceRedo(me,s,v,!1);return M?M.returnValue:this._executeWorkspaceRedo(me,s,v)}_executeWorkspaceRedo(me,s,v){return nn(this,void 0,void 0,function*(){let M;try{M=yield this._invokeWorkspacePrepare(s)}catch(Ne){return this._onError(Ne,s)}let be=this._checkWorkspaceRedo(me,s,v,!0);if(be)return M.dispose(),be.returnValue;for(let Ne of v.editStacks)Ne.moveForward(s);return this._safeInvokeWithLocks(s,()=>s.actual.redo(),v,M)})}_resourceRedo(me,s){if(s.isValid){if(!me.locked)return this._invokeResourcePrepare(s,v=>(me.moveForward(s),this._safeInvokeWithLocks(s,()=>s.actual.redo(),new Bo([me]),v)));{let v=pn.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",s.label);this._notificationService.info(v)}}else me.flushAllElements()}redo(me){let s=typeof me=="string"?me:this.getUriComparisonKey(me);if(!this._editStacks.has(s))return;let v=this._editStacks.get(s),M=v.getClosestFutureElement();if(M)try{return M.type===1?this._workspaceRedo(s,M):this._resourceRedo(v,M)}finally{}}};$o=Gi([wn(0,Ar.a),wn(1,Mt.a)],$o);class Po{constructor(s){this.returnValue=s}}Object(Pt.b)(Yi.a,$o),o(266);var Rr=o(4),Fo=o(25),Gr=(o(186),o(141)),Is=o(151);let Gs=new xe.b(()=>{let me=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:me,collatorIsNumeric:me.resolvedOptions().numeric}});function sa(me,s,v){let M=me.toLowerCase(),be=s.toLowerCase(),Ne=function(mt,It,Qt){let Oi=mt.toLowerCase(),en=It.toLowerCase(),tn=Oi.startsWith(Qt),kn=en.startsWith(Qt);if(tn!==kn)return tn?-1:1;if(tn&&kn){if(Oi.length<en.length)return-1;if(Oi.length>en.length)return 1}return 0}(me,s,v);if(Ne)return Ne;let De=M.endsWith(v);if(De!==be.endsWith(v))return De?-1:1;let je=function(mt,It,Qt=!1){let Oi=mt||"",en=It||"",tn=Gs.value.collator.compare(Oi,en);return Gs.value.collatorIsNumeric&&tn===0&&Oi!==en?Oi<en?-1:1:tn}(M,be);return je!==0?je:M.localeCompare(be)}var gl=o(172),Kl=o(156),Mr=o(98),Os=o(147);let Ua={},ur=new Os.a("quick-input-button-icon-");function Ea(me){if(!me)return;let s,v=me.dark.toString();return Ua[v]?s=Ua[v]:(s=ur.nextId(),E.u("."+s,"background-image: "+E.q(me.light||me.dark)),E.u(`.vs-dark .${s}, .hc-black .${s}`,"background-image: "+E.q(me.dark)),Ua[v]=s),s}o(271);let fs=E.a;class fl{constructor(s,v,M){this.os=v,this.options=M,this.domNode=E.p(s,fs(".monaco-keybinding")),this.didEverRender=!1,s.appendChild(this.domNode)}set(s,v){this.didEverRender&&this.keybinding===s&&fl.areSame(this.matches,v)||(this.keybinding=s,this.matches=v,this.render())}render(){if(E.s(this.domNode),this.keybinding){let[s,v]=this.keybinding.getParts();s&&this.renderPart(this.domNode,s,this.matches?this.matches.firstPart:null),v&&(E.p(this.domNode,fs("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,v,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}renderPart(s,v,M){let be=ne.modifierLabels[this.os];v.ctrlKey&&this.renderKey(s,be.ctrlKey,Boolean(M==null?void 0:M.ctrlKey),be.separator),v.shiftKey&&this.renderKey(s,be.shiftKey,Boolean(M==null?void 0:M.shiftKey),be.separator),v.altKey&&this.renderKey(s,be.altKey,Boolean(M==null?void 0:M.altKey),be.separator),v.metaKey&&this.renderKey(s,be.metaKey,Boolean(M==null?void 0:M.metaKey),be.separator);let Ne=v.keyLabel;Ne&&this.renderKey(s,Ne,Boolean(M==null?void 0:M.keyCode),"")}renderKey(s,v,M,be){E.p(s,fs("span.monaco-keybinding-key"+(M?".highlight":""),void 0,v)),be&&E.p(s,fs("span.monaco-keybinding-key-separator",void 0,be))}renderUnbound(s){E.p(s,fs("span.monaco-keybinding-key",void 0,Object(pn.a)("unbound","Unbound")))}static areSame(s,v){return s===v||!s&&!v||!!s&&!!v&&Object(Fn.e)(s.firstPart,v.firstPart)&&Object(Fn.e)(s.chordPart,v.chordPart)}}var Ta=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De};let Yr=E.a;class bl{constructor(s){this.hidden=!1,this._onChecked=new yi.a,this.onChecked=this._onChecked.event,Object(Fn.a)(this,s)}get checked(){return!!this._checked}set checked(s){s!==this._checked&&(this._checked=s,this._onChecked.fire(s))}dispose(){this._onChecked.dispose()}}class Cr{get templateId(){return Cr.ID}renderTemplate(s){let v=Object.create(null);v.toDisposeElement=[],v.toDisposeTemplate=[],v.entry=E.p(s,Yr(".quick-input-list-entry"));let M=E.p(v.entry,Yr("label.quick-input-list-label"));v.toDisposeTemplate.push(E.n(M,E.c.CLICK,It=>{v.checkbox.offsetParent||It.preventDefault()})),v.checkbox=E.p(M,Yr("input.quick-input-list-checkbox")),v.checkbox.type="checkbox",v.toDisposeTemplate.push(E.n(v.checkbox,E.c.CHANGE,It=>{v.element.checked=v.checkbox.checked}));let be=E.p(M,Yr(".quick-input-list-rows")),Ne=E.p(be,Yr(".quick-input-list-row")),De=E.p(be,Yr(".quick-input-list-row"));v.label=new gl.a(Ne,{supportHighlights:!0,supportDescriptionHighlights:!0,supportCodicons:!0});let je=E.p(Ne,Yr(".quick-input-list-entry-keybinding"));v.keybinding=new fl(je,te.a);let mt=E.p(De,Yr(".quick-input-list-label-meta"));return v.detail=new Kl.a(mt,!0),v.separator=E.p(v.entry,Yr(".quick-input-list-separator")),v.actionBar=new ds.a(v.entry),v.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),v.toDisposeTemplate.push(v.actionBar),v}renderElement(s,v,M){M.toDisposeElement=Object(Y.f)(M.toDisposeElement),M.element=s,M.checkbox.checked=s.checked,M.toDisposeElement.push(s.onChecked(It=>M.checkbox.checked=It));let{labelHighlights:be,descriptionHighlights:Ne,detailHighlights:De}=s,je=Object.create(null);je.matches=be||[],je.descriptionTitle=s.saneDescription,je.descriptionMatches=Ne||[],je.extraClasses=s.item.iconClasses,je.italic=s.item.italic,je.strikethrough=s.item.strikethrough,M.label.setLabel(s.saneLabel,s.saneDescription,je),M.keybinding.set(s.item.keybinding),M.detail.set(s.saneDetail,De),s.separator&&s.separator.label?(M.separator.textContent=s.separator.label,M.separator.style.display=""):M.separator.style.display="none",s.separator?E.e(M.entry,"quick-input-list-separator-border"):E.Q(M.entry,"quick-input-list-separator-border"),M.actionBar.clear();let mt=s.item.buttons;mt&&mt.length?(M.actionBar.push(mt.map((It,Qt)=>{let Oi=It.iconClass||(It.iconPath?Ea(It.iconPath):void 0);It.alwaysVisible&&(Oi=Oi?Oi+" always-visible":"always-visible");let en=new vr.a("id-"+Qt,"",Oi,!0,()=>(s.fireButtonTriggered({button:It,item:s.item}),Promise.resolve()));return en.tooltip=It.tooltip||"",en}),{icon:!0,label:!1}),E.e(M.entry,"has-actions")):E.Q(M.entry,"has-actions")}disposeElement(s,v,M){M.toDisposeElement=Object(Y.f)(M.toDisposeElement)}disposeTemplate(s){s.toDisposeElement=Object(Y.f)(s.toDisposeElement),s.toDisposeTemplate=Object(Y.f)(s.toDisposeTemplate)}}Cr.ID="listelement";class _l{getHeight(s){return s.saneDetail?44:22}getTemplateId(s){return Cr.ID}}var so;(function(me){me[me.First=1]="First",me[me.Second=2]="Second",me[me.Last=3]="Last",me[me.Next=4]="Next",me[me.Previous=5]="Previous",me[me.NextPage=6]="NextPage",me[me.PreviousPage=7]="PreviousPage"})(so||(so={}));class to{constructor(s,v,M){this.parent=s,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new yi.a,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new yi.a,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new yi.a,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new yi.a,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new yi.a,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new yi.a,this.onKeyDown=this._onKeyDown.event,this._onLeave=new yi.a,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=v,this.container=E.p(this.parent,Yr(".quick-input-list"));let be=new _l,Ne=new aa;this.list=M.createList("QuickInput",this.container,be,[new Cr],{identityProvider:{getId:De=>De.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:Ne}),this.list.getHTMLElement().id=v,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(De=>{let je=new Hi.a(De);switch(je.keyCode){case 10:this.toggleCheckbox();break;case 31:(te.f?De.metaKey:De.ctrlKey)&&this.list.setFocus(Object(fe.s)(this.list.length));break;case 16:let mt=this.list.getFocus();mt.length===1&&mt[0]===0&&this._onLeave.fire();break;case 18:let It=this.list.getFocus();It.length===1&&It[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(je)})),this.disposables.push(this.list.onMouseDown(De=>{De.browserEvent.button!==2&&De.browserEvent.preventDefault()})),this.disposables.push(E.i(this.container,E.c.CLICK,De=>{(De.x||De.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(De=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(De=>{typeof De.index=="number"&&(De.browserEvent.preventDefault(),this.list.setSelection([De.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return yi.b.map(this.list.onDidChangeFocus,s=>s.elements.map(v=>v.item))}get onDidChangeSelection(){return yi.b.map(this.list.onDidChangeSelection,s=>({items:s.elements.map(v=>v.item),event:s.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(s,v=!0){for(let M=0,be=s.length;M<be;M++){let Ne=s[M];if(!Ne.hidden){if(!Ne.checked)return!1;v=!0}}return v}getCheckedCount(){let s=0,v=this.elements;for(let M=0,be=v.length;M<be;M++)v[M].checked&&s++;return s}getVisibleCount(){let s=0,v=this.elements;for(let M=0,be=v.length;M<be;M++)v[M].hidden||s++;return s}setAllVisibleChecked(s){try{this._fireCheckedEvents=!1,this.elements.forEach(v=>{v.hidden||(v.checked=s)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(s){this.elementDisposables=Object(Y.f)(this.elementDisposables);let v=M=>this.fireButtonTriggered(M);this.inputElements=s,this.elements=s.reduce((M,be,Ne)=>{var De,je,mt;if(be.type!=="separator"){let It=Ne&&s[Ne-1],Qt=be.label&&be.label.replace(/\r?\n/g," "),Oi=be.description&&be.description.replace(/\r?\n/g," "),en=be.detail&&be.detail.replace(/\r?\n/g," "),tn=be.ariaLabel||[Qt,Oi,en].map(kn=>kn&&Object(Is.c)(kn).text).filter(kn=>!!kn).join(", ");M.push(new bl({index:Ne,item:be,saneLabel:Qt,saneAriaLabel:tn,saneDescription:Oi,saneDetail:en,labelHighlights:(De=be.highlights)===null||De===void 0?void 0:De.label,descriptionHighlights:(je=be.highlights)===null||je===void 0?void 0:je.description,detailHighlights:(mt=be.highlights)===null||mt===void 0?void 0:mt.detail,checked:!1,separator:It&&It.type==="separator"?It:void 0,fireButtonTriggered:v}))}return M},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(M=>M.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((M,be,Ne)=>(M.set(be.item,Ne),M),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(s=>s.item)}setFocusedElements(s){if(this.list.setFocus(s.filter(v=>this.elementsToIndexes.has(v)).map(v=>this.elementsToIndexes.get(v))),s.length>0){let v=this.list.getFocus()[0];typeof v=="number"&&this.list.reveal(v)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(s){this.list.setSelection(s.filter(v=>this.elementsToIndexes.has(v)).map(v=>this.elementsToIndexes.get(v)))}getCheckedElements(){return this.elements.filter(s=>s.checked).map(s=>s.item)}setCheckedElements(s){try{this._fireCheckedEvents=!1;let v=new Set;for(let M of s)v.add(M);for(let M of this.elements)M.checked=v.has(M.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(s){this.list.getHTMLElement().style.pointerEvents=s?"":"none"}focus(s){if(!this.list.length)return;switch(s===so.Next&&this.list.getFocus()[0]===this.list.length-1&&(s=so.First),s===so.Previous&&this.list.getFocus()[0]===0&&(s=so.Last),s===so.Second&&this.list.length<2&&(s=so.First),s){case so.First:this.list.focusFirst();break;case so.Second:this.list.focusNth(1);break;case so.Last:this.list.focusLast();break;case so.Next:this.list.focusNext();break;case so.Previous:this.list.focusPrevious();break;case so.NextPage:this.list.focusNextPage();break;case so.PreviousPage:this.list.focusPreviousPage()}let v=this.list.getFocus()[0];typeof v=="number"&&this.list.reveal(v)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(s){this.list.getHTMLElement().style.maxHeight=s?`calc(${44*Math.floor(s/44)}px)`:"",this.list.layout()}filter(s){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;(s=s.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)?this.elements.forEach(M=>{let be=this.matchOnLabel?Object(_i.n)(Object(Is.b)(s,Object(Is.c)(M.saneLabel))):void 0,Ne=this.matchOnDescription?Object(_i.n)(Object(Is.b)(s,Object(Is.c)(M.saneDescription||""))):void 0,De=this.matchOnDetail?Object(_i.n)(Object(Is.b)(s,Object(Is.c)(M.saneDetail||""))):void 0;be||Ne||De?(M.labelHighlights=be,M.descriptionHighlights=Ne,M.detailHighlights=De,M.hidden=!1):(M.labelHighlights=void 0,M.descriptionHighlights=void 0,M.detailHighlights=void 0,M.hidden=!M.item.alwaysShow),M.separator=void 0}):this.elements.forEach(M=>{M.labelHighlights=void 0,M.descriptionHighlights=void 0,M.detailHighlights=void 0,M.hidden=!1;let be=M.index&&this.inputElements[M.index-1];M.separator=be&&be.type==="separator"?be:void 0});let v=this.elements.filter(M=>!M.hidden);if(this.sortByLabel&&s){let M=s.toLowerCase();v.sort((be,Ne)=>function(De,je,mt){let It=De.labelHighlights||[],Qt=je.labelHighlights||[];return It.length&&!Qt.length?-1:!It.length&&Qt.length?1:It.length===0&&Qt.length===0?0:sa(De.saneLabel,je.saneLabel,mt)}(be,Ne,M))}return this.elementsToIndexes=v.reduce((M,be,Ne)=>(M.set(be.item,Ne),M),new Map),this.list.splice(0,this.list.length,v),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(v.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;let s=this.list.getFocusedElements(),v=this.allVisibleChecked(s);for(let M of s)M.checked=!v}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(s){this.container.style.display=s?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=Object(Y.f)(this.elementDisposables),this.disposables=Object(Y.f)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(s){this._onButtonTriggered.fire(s)}style(s){this.list.style(s)}}Ta([Mr.a],to.prototype,"onDidChangeFocus",null),Ta([Mr.a],to.prototype,"onDidChangeSelection",null);class aa{getWidgetAriaLabel(){return Object(pn.a)("quickInput","Quick Input")}getAriaLabel(s){return s.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var Gl=o(173);let Yl=E.a;class bs extends Y.a{constructor(s){super(),this.parent=s,this.onKeyDown=v=>E.i(this.inputBox.inputElement,E.c.KEY_DOWN,M=>{v(new Hi.a(M))}),this.onMouseDown=v=>E.i(this.inputBox.inputElement,E.c.MOUSE_DOWN,M=>{v(new hs.a(M))}),this.onDidChange=v=>this.inputBox.onDidChange(v),this.container=E.p(this.parent,Yl(".quick-input-box")),this.inputBox=this._register(new Gl.b(this.container,void 0))}get value(){return this.inputBox.value}set value(s){this.inputBox.value=s}select(s=null){this.inputBox.select(s)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(s){this.inputBox.setPlaceHolder(s)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(s){this.inputBox.setAriaLabel(s)}get password(){return this.inputBox.inputElement.type==="password"}set password(s){this.inputBox.inputElement.type=s?"password":"text"}setAttribute(s,v){this.inputBox.inputElement.setAttribute(s,v)}removeAttribute(s){this.inputBox.inputElement.removeAttribute(s)}showDecoration(s){s===Et.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:s===Et.a.Info?1:s===Et.a.Warning?2:3,content:""})}stylesForType(s){return this.inputBox.stylesForType(s===Et.a.Info?1:s===Et.a.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(s){this.inputBox.style(s)}}var Ha=o(185);o(277);let La={progressBarBackground:wo.a.fromHex("#0E70C0")};class Na extends Y.a{constructor(s,v){super(),this.options=v||Object.create(null),Object(Fn.g)(this.options,La,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new xe.d(()=>Object(E.Z)(this.element),0)),this.create(s)}create(s){this.element=document.createElement("div"),Object(E.e)(this.element,"monaco-progress-container"),s.appendChild(this.element),this.bit=document.createElement("div"),Object(E.e)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(E.R)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(s){return Object(E.e)(this.element,"done"),Object(E.I)(this.element,"infinite")?(this.bit.style.opacity="0",s?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",s?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",Object(E.R)(this.element,"discrete","done"),Object(E.f)(this.element,"active","infinite"),this}getContainer(){return this.element}style(s){this.progressBarBackground=s.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){let s=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=s}}}o(279);var la=o(61);let vl={buttonBackground:wo.a.fromHex("#0E639C"),buttonHoverBackground:wo.a.fromHex("#006BB3"),buttonForeground:wo.a.white};class xr extends Y.a{constructor(s,v){super(),this._onDidClick=this._register(new yi.a),this.options=v||Object.create(null),Object(Fn.g)(this.options,vl,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),E.e(this._element,"monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),s.appendChild(this._element),this._register(la.b.addTarget(this._element)),[E.c.CLICK,la.a.Tap].forEach(M=>{this._register(E.i(this._element,M,be=>{this.enabled?this._onDidClick.fire(be):E.b.stop(be)}))}),this._register(E.i(this._element,E.c.KEY_DOWN,M=>{let be=new Hi.a(M),Ne=!1;this.enabled&&(be.equals(3)||be.equals(10))?(this._onDidClick.fire(M),Ne=!0):be.equals(9)&&(this._element.blur(),Ne=!0),Ne&&E.b.stop(be,!0)})),this._register(E.i(this._element,E.c.MOUSE_OVER,M=>{E.I(this._element,"disabled")||this.setHoverBackground()})),this._register(E.i(this._element,E.c.MOUSE_OUT,M=>{this.applyStyles()})),this.focusTracker=this._register(E.bb(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let s;s=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,s&&(this._element.style.backgroundColor=s)}style(s){this.buttonForeground=s.buttonForeground,this.buttonBackground=s.buttonBackground,this.buttonHoverBackground=s.buttonHoverBackground,this.buttonSecondaryForeground=s.buttonSecondaryForeground,this.buttonSecondaryBackground=s.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=s.buttonSecondaryHoverBackground,this.buttonBorder=s.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let s,v;this.options.secondary?(v=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",s=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(v=this.buttonForeground?this.buttonForeground.toString():"",s=this.buttonBackground?this.buttonBackground.toString():"");let M=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=v,this._element.style.backgroundColor=s,this._element.style.borderWidth=M?"1px":"",this._element.style.borderStyle=M?"solid":"",this._element.style.borderColor=M}}get element(){return this._element}set label(s){E.I(this._element,"monaco-text-button")||E.e(this._element,"monaco-text-button"),this.options.supportCodicons?E.U(this._element,...function(v){let M=new Array,be,Ne=0,De=0;for(;(be=yr.g.exec(v))!==null;){De=be.index||0,M.push(v.substring(Ne,De)),Ne=(be.index||0)+be[0].length;let[,je,mt,It,Qt]=be;M.push(je?`$(${mt})`:E.a(`span.codicon.codicon-${It}${Qt?".codicon-animation-"+Qt:""}`))}return Ne<v.length&&M.push(v.substring(Ne)),M}(s)):this._element.textContent=s,typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=s)}set enabled(s){s?(E.Q(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(E.e(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!0)),E.T(this._element))}get enabled(){return!E.I(this._element,"disabled")}}var Zl=function(me,s,v,M){return new(v||(v=Promise))(function(be,Ne){function De(It){try{mt(M.next(It))}catch(Qt){Ne(Qt)}}function je(It){try{mt(M.throw(It))}catch(Qt){Ne(Qt)}}function mt(It){var Qt;It.done?be(It.value):(Qt=It.value,Qt instanceof v?Qt:new v(function(Oi){Oi(Qt)})).then(De,je)}mt((M=M.apply(me,s||[])).next())})};let Xi=E.a,wl={iconClass:Object(yr.e)("quick-input-back",yr.a.arrowLeft).classNames,tooltip:Object(pn.a)("quickInput.back","Back"),handle:-1};class Xl extends Y.a{constructor(s){super(),this.ui=s,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new yi.a),this.onDidHideEmitter=this._register(new yi.a),this.onDisposeEmitter=this._register(new yi.a),this.visibleDisposables=this._register(new Y.b),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(s){this._title=s,this.update()}get description(){return this._description}set description(s){this._description=s,this.update()}get step(){return this._steps}set step(s){this._steps=s,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(s){this._totalSteps=s,this.update()}get enabled(){return this._enabled}set enabled(s){this._enabled=s,this.update()}get contextKey(){return this._contextKey}set contextKey(s){this._contextKey=s,this.update()}get busy(){return this._busy}set busy(s){this._busy=s,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(s){this._ignoreFocusOut=s,this.update()}get buttons(){return this._buttons}set buttons(s){this._buttons=s,this.buttonsUpdated=!0,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(s=>{this.buttons.indexOf(s)!==-1&&this.onDidTriggerButtonEmitter.fire(s)})),this.ui.show(this),this.visible=!0,this.update())}hide(){this.visible&&this.ui.hide()}didHide(){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire()}update(){if(!this.visible)return;let s=this.getTitle();s&&this.ui.title.textContent!==s?this.ui.title.textContent=s:s||this.ui.title.innerHTML===" "||(this.ui.title.innerText="\xA0;");let v=this.getDescription();if(this.ui.description.textContent!==v&&(this.ui.description.textContent=v),this.busy&&!this.busyDelay&&(this.busyDelay=new xe.e,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();let M=this.buttons.filter(Ne=>Ne===wl);this.ui.leftActionBar.push(M.map((Ne,De)=>{let je=new vr.a("id-"+De,"",Ne.iconClass||Ea(Ne.iconPath),!0,()=>Zl(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(Ne)}));return je.tooltip=Ne.tooltip||"",je}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();let be=this.buttons.filter(Ne=>Ne!==wl);this.ui.rightActionBar.push(be.map((Ne,De)=>{let je=new vr.a("id-"+De,"",Ne.iconClass||Ea(Ne.iconPath),!0,()=>Zl(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(Ne)}));return je.tooltip=Ne.tooltip||"",je}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey)}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?Object(pn.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(s){if(this.ui.inputBox.showDecoration(s),s===Et.a.Error){let v=this.ui.inputBox.stylesForType(s);this.ui.message.style.color=v.foreground?""+v.foreground:"",this.ui.message.style.backgroundColor=v.background?""+v.background:"",this.ui.message.style.border=v.border?"1px solid "+v.border:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}class Ia extends Xl{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new yi.a),this.onDidAcceptEmitter=this._register(new yi.a),this.onDidCustomEmitter=this._register(new yi.a),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?Gr.a.NONE:Gr.a.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new yi.a),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new yi.a),this.onDidTriggerItemButtonEmitter=this._register(new yi.a),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=s=>s,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(s){this._quickNavigate=s,this.update()}get value(){return this._value}set value(s){this._value=s||"",this.update()}set ariaLabel(s){this._ariaLabel=s,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(s){this._placeholder=s,this.update()}get items(){return this._items}set items(s){this._items=s,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(s){this._canSelectMany=s,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(s){this._canAcceptInBackground=s}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(s){this._matchOnDescription=s,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(s){this._matchOnDetail=s,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(s){this._matchOnLabel=s,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(s){this._sortByLabel=s,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(s){this._autoFocusOnList=s,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(s){this._itemActivation=s}get activeItems(){return this._activeItems}set activeItems(s){this._activeItems=s,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(s){this._selectedItems=s,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Gr.b:this.ui.keyMods}set valueSelection(s){this._valueSelection=s,this.valueSelectionUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(s){this._validationMessage=s,this.update()}get customButton(){return this._customButton}set customButton(s){this._customButton=s,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(s){this._customButtonLabel=s,this.update()}get customHover(){return this._customButtonHover}set customHover(s){this._customButtonHover=s,this.update()}get ok(){return this._ok}set ok(s){this._ok=s,this.update()}get hideInput(){return!!this._hideInput}set hideInput(s){this._hideInput=s,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(so.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(s=>{s!==this.value&&(this._value=s,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(s))})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(s=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(s=>{switch(s.keyCode){case 18:this.ui.list.focus(so.Next),this.canSelectMany&&this.ui.list.domFocus(),E.b.stop(s,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(so.Previous):this.ui.list.focus(so.Last),this.canSelectMany&&this.ui.list.domFocus(),E.b.stop(s,!0);break;case 12:this.ui.list.focus(so.NextPage),this.canSelectMany&&this.ui.list.domFocus(),E.b.stop(s,!0);break;case 11:this.ui.list.focus(so.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),E.b.stop(s,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:!s.ctrlKey&&!s.metaKey||s.shiftKey||s.altKey||(this.ui.list.focus(so.First),E.b.stop(s,!0));break;case 13:!s.ctrlKey&&!s.metaKey||s.shiftKey||s.altKey||(this.ui.list.focus(so.Last),E.b.stop(s,!0))}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.onDidAcceptEmitter.fire({inBackground:!1})})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(s=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Object(fe.g)(s,this._activeItems,(v,M)=>v===M)||(this._activeItems=s,this.onDidChangeActiveEmitter.fire(s))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:s,event:v})=>{this.canSelectMany?s.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Object(fe.g)(s,this._selectedItems,(M,be)=>M===be)||(this._selectedItems=s,this.onDidChangeSelectionEmitter.fire(s),s.length&&this.onDidAcceptEmitter.fire({inBackground:v instanceof MouseEvent&&v.button===1}))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(s=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&Object(fe.g)(s,this._selectedItems,(v,M)=>v===M)||(this._selectedItems=s,this.onDidChangeSelectionEmitter.fire(s)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(s=>this.onDidTriggerItemButtonEmitter.fire(s))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}registerQuickNavigation(){return E.i(this.ui.container,E.c.KEY_UP,s=>{if(this.canSelectMany||!this._quickNavigate)return;let v=new Hi.a(s),M=v.keyCode;this._quickNavigate.keybindings.some(be=>{let[Ne,De]=be.getParts();return!De&&(Ne.shiftKey&&M===4?!(v.ctrlKey||v.altKey||v.metaKey):!(!Ne.altKey||M!==6)||!(!Ne.ctrlKey||M!==5)||!(!Ne.metaKey||M!==57))})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!1})),this._quickNavigate=void 0)})}update(){if(!this.visible)return;let s=!1,v=!1;this._hideInput&&this._items.length>0&&(this.ui.isScreenReaderOptimized()?v=!0:s=!0),E.ab(this.ui.container,"hidden-input",s);let M={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany,inputBox:!s,progressBar:!s,visibleCount:!0,count:this.canSelectMany,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};if(this.ui.setVisibilities(M),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),v)this.ui.inputBox.ariaLabel="";else{let be=this.ariaLabel||this.placeholder||Ia.DEFAULT_ARIA_LABEL;this.ui.inputBox.ariaLabel!==be&&(this.ui.inputBox.ariaLabel=be)}if(this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Gr.a.NONE:this._itemActivation=Gr.a.FIRST;break;case Gr.a.SECOND:this.ui.list.focus(so.Second),this._itemActivation=Gr.a.FIRST;break;case Gr.a.LAST:this.ui.list.focus(so.Last),this._itemActivation=Gr.a.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.validationMessage?(this.ui.message.textContent=this.validationMessage,this.showMessageDecoration(Et.a.Error)):(this.ui.message.textContent=null,this.showMessageDecoration(Et.a.Ignore)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),M.inputBox||this.ui.list.domFocus()}}Ia.DEFAULT_ARIA_LABEL=Object(pn.a)("quickInputBox.ariaLabel","Type to narrow down results.");class Oa extends Y.a{constructor(s){super(),this.options=s,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new yi.a),this.onDidCustomEmitter=this._register(new yi.a),this.onDidTriggerButtonEmitter=this._register(new yi.a),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new yi.a),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new yi.a),this.onHide=this.onHideEmitter.event,this.idPrefix=s.idPrefix,this.parentElement=s.container,this.styles=s.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){let s=v=>{this.keyMods.ctrlCmd=v.ctrlKey||v.metaKey,this.keyMods.alt=v.altKey};this._register(E.i(window,E.c.KEY_DOWN,s,!0)),this._register(E.i(window,E.c.KEY_UP,s,!0)),this._register(E.i(window,E.c.MOUSE_DOWN,s,!0))}getUI(){if(this.ui)return this.ui;let s=E.p(this.parentElement,Xi(".quick-input-widget.show-file-icons"));s.tabIndex=-1,s.style.display="none";let v=E.v(s),M=E.p(s,Xi(".quick-input-titlebar")),be=this._register(new ds.a(M));be.domNode.classList.add("quick-input-left-action-bar");let Ne=E.p(M,Xi(".quick-input-title")),De=this._register(new ds.a(M));De.domNode.classList.add("quick-input-right-action-bar");let je=E.p(s,Xi(".quick-input-description")),mt=E.p(s,Xi(".quick-input-header")),It=E.p(mt,Xi("input.quick-input-check-all"));It.type="checkbox",this._register(E.n(It,E.c.CHANGE,Zn=>{let Zo=It.checked;Er.setAllVisibleChecked(Zo)})),this._register(E.i(It,E.c.CLICK,Zn=>{(Zn.x||Zn.y)&&en.setFocus()}));let Qt=E.p(mt,Xi(".quick-input-and-message")),Oi=E.p(Qt,Xi(".quick-input-filter")),en=this._register(new bs(Oi));en.setAttribute("aria-describedby",this.idPrefix+"message");let tn=E.p(Oi,Xi(".quick-input-visible-count"));tn.setAttribute("aria-live","polite"),tn.setAttribute("aria-atomic","true");let kn=new Ha.a(tn,{countFormat:Object(pn.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),no=E.p(Oi,Xi(".quick-input-count"));no.setAttribute("aria-live","polite");let lo=new Ha.a(no,{countFormat:Object(pn.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),uo=E.p(mt,Xi(".quick-input-action")),oo=new xr(uo);oo.label=Object(pn.a)("ok","OK"),this._register(oo.onDidClick(Zn=>{this.onDidAcceptEmitter.fire()}));let io=E.p(mt,Xi(".quick-input-action")),mr=new xr(io);mr.label=Object(pn.a)("custom","Custom"),this._register(mr.onDidClick(Zn=>{this.onDidCustomEmitter.fire()}));let Fa=E.p(Qt,Xi(`#${this.idPrefix}message.quick-input-message`)),Yo=new Na(s);E.e(Yo.getContainer(),"quick-input-progress");let Er=this._register(new to(s,this.idPrefix+"list",this.options));this._register(Er.onChangedAllVisibleChecked(Zn=>{It.checked=Zn})),this._register(Er.onChangedVisibleCount(Zn=>{kn.setCount(Zn)})),this._register(Er.onChangedCheckedCount(Zn=>{lo.setCount(Zn)})),this._register(Er.onLeave(()=>{setTimeout(()=>{en.setFocus(),this.controller instanceof Ia&&this.controller.canSelectMany&&Er.clearFocus()},0)})),this._register(Er.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));let go=E.bb(s);return this._register(go),this._register(E.i(s,E.c.FOCUS,Zn=>{this.previousFocusElement=Zn.relatedTarget instanceof HTMLElement?Zn.relatedTarget:void 0},!0)),this._register(go.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(),this.previousFocusElement=void 0})),this._register(E.i(s,E.c.FOCUS,Zn=>{en.setFocus()})),this._register(E.i(s,E.c.KEY_DOWN,Zn=>{let Zo=new Hi.a(Zn);switch(Zo.keyCode){case 3:E.b.stop(Zn,!0),this.onDidAcceptEmitter.fire();break;case 9:E.b.stop(Zn,!0),this.hide();break;case 2:if(!Zo.altKey&&!Zo.ctrlKey&&!Zo.metaKey){let ws=[".action-label.codicon"];s.classList.contains("show-checkboxes")?ws.push("input"):ws.push("input[type=text]"),this.getUI().list.isDisplayed()&&ws.push(".monaco-list");let tl=s.querySelectorAll(ws.join(", "));Zo.shiftKey&&Zo.target===tl[0]?(E.b.stop(Zn,!0),tl[tl.length-1].focus()):Zo.shiftKey||Zo.target!==tl[tl.length-1]||(E.b.stop(Zn,!0),tl[0].focus())}}})),this.ui={container:s,styleSheet:v,leftActionBar:be,titleBar:M,title:Ne,description:je,rightActionBar:De,checkAll:It,filterContainer:Oi,inputBox:en,visibleCountContainer:tn,visibleCount:kn,countContainer:no,count:lo,okContainer:uo,ok:oo,message:Fa,customButtonContainer:io,customButton:mr,progressBar:Yo,list:Er,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:Zn=>this.show(Zn),hide:()=>this.hide(),setVisibilities:Zn=>this.setVisibilities(Zn),setComboboxAccessibility:Zn=>this.setComboboxAccessibility(Zn),setEnabled:Zn=>this.setEnabled(Zn),setContextKey:Zn=>this.options.setContextKey(Zn)},this.updateStyles(),this.ui}pick(s,v={},M=Fo.a.None){return new Promise((be,Ne)=>{let De=Qt=>{De=be,v.onKeyMods&&v.onKeyMods(je.keyMods),be(Qt)};if(M.isCancellationRequested)return void De(void 0);let je=this.createQuickPick(),mt,It=[je,je.onDidAccept(()=>{if(je.canSelectMany)De(je.selectedItems.slice()),je.hide();else{let Qt=je.activeItems[0];Qt&&(De(Qt),je.hide())}}),je.onDidChangeActive(Qt=>{let Oi=Qt[0];Oi&&v.onDidFocus&&v.onDidFocus(Oi)}),je.onDidChangeSelection(Qt=>{if(!je.canSelectMany){let Oi=Qt[0];Oi&&(De(Oi),je.hide())}}),je.onDidTriggerItemButton(Qt=>v.onDidTriggerItemButton&&v.onDidTriggerItemButton(Object.assign(Object.assign({},Qt),{removeItem:()=>{let Oi=je.items.indexOf(Qt.item);if(Oi!==-1){let en=je.items.slice();en.splice(Oi,1),je.items=en}}}))),je.onDidChangeValue(Qt=>{!mt||Qt||je.activeItems.length===1&&je.activeItems[0]===mt||(je.activeItems=[mt])}),M.onCancellationRequested(()=>{je.hide()}),je.onDidHide(()=>{Object(Y.f)(It),De(void 0)})];je.canSelectMany=!!v.canPickMany,je.placeholder=v.placeHolder,je.ignoreFocusOut=!!v.ignoreFocusLost,je.matchOnDescription=!!v.matchOnDescription,je.matchOnDetail=!!v.matchOnDetail,je.matchOnLabel=v.matchOnLabel===void 0||v.matchOnLabel,je.autoFocusOnList=v.autoFocusOnList===void 0||v.autoFocusOnList,je.quickNavigate=v.quickNavigate,je.contextKey=v.contextKey,je.busy=!0,Promise.all([s,v.activeItem]).then(([Qt,Oi])=>{mt=Oi,je.busy=!1,je.items=Qt,je.canSelectMany&&(je.selectedItems=Qt.filter(en=>en.type!=="separator"&&en.picked)),mt&&(je.activeItems=[mt])}),je.show(),Promise.resolve(s).then(void 0,Qt=>{Ne(Qt),je.hide()})})}createQuickPick(){let s=this.getUI();return new Ia(s)}show(s){let v=this.getUI();this.onShowEmitter.fire();let M=this.controller;this.controller=s,M&&M.didHide(),this.setEnabled(!0),v.leftActionBar.clear(),v.title.textContent="",v.description.textContent="",v.rightActionBar.clear(),v.checkAll.checked=!1,v.inputBox.placeholder="",v.inputBox.password=!1,v.inputBox.showDecoration(Et.a.Ignore),v.visibleCount.setCount(0),v.count.setCount(0),v.message.textContent="",v.progressBar.stop(),v.list.setElements([]),v.list.matchOnDescription=!1,v.list.matchOnDetail=!1,v.list.matchOnLabel=!0,v.list.sortByLabel=!0,v.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),v.inputBox.ariaLabel="";let be=this.options.backKeybindingLabel();wl.tooltip=be?Object(pn.a)("quickInput.backWithKeybinding","Back ({0})",be):Object(pn.a)("quickInput.back","Back"),v.container.style.display="",this.updateLayout(),v.inputBox.setFocus()}setVisibilities(s){let v=this.getUI();v.title.style.display=s.title?"":"none",v.description.style.display=s.description?"":"none",v.checkAll.style.display=s.checkAll?"":"none",v.filterContainer.style.display=s.inputBox?"":"none",v.visibleCountContainer.style.display=s.visibleCount?"":"none",v.countContainer.style.display=s.count?"":"none",v.okContainer.style.display=s.ok?"":"none",v.customButtonContainer.style.display=s.customButton?"":"none",v.message.style.display=s.message?"":"none",v.progressBar.getContainer().style.display=s.progressBar?"":"none",v.list.display(!!s.list),v.container.classList[s.checkAll?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(s){if(s!==this.comboboxAccessibility){let v=this.getUI();this.comboboxAccessibility=s,this.comboboxAccessibility?(v.inputBox.setAttribute("role","combobox"),v.inputBox.setAttribute("aria-haspopup","true"),v.inputBox.setAttribute("aria-autocomplete","list"),v.inputBox.setAttribute("aria-activedescendant",v.list.getActiveDescendant()||"")):(v.inputBox.removeAttribute("role"),v.inputBox.removeAttribute("aria-haspopup"),v.inputBox.removeAttribute("aria-autocomplete"),v.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(s){if(s!==this.enabled){this.enabled=s;for(let v of this.getUI().leftActionBar.viewItems)v.getAction().enabled=s;for(let v of this.getUI().rightActionBar.viewItems)v.getAction().enabled=s;this.getUI().checkAll.disabled=!s,this.getUI().ok.enabled=s,this.getUI().list.enabled=s}}hide(){var s;let v=this.controller;if(v){let M=!((s=this.ui)===null||s===void 0?void 0:s.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",M||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),v.didHide()}}layout(s,v){this.dimension=s,this.titleBarOffset=v,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";let s=this.ui.container.style,v=Math.min(.62*this.dimension.width,Oa.MAX_WIDTH);s.width=v+"px",s.marginLeft="-"+v/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(s){this.styles=s,this.updateStyles()}updateStyles(){if(this.ui){let{quickInputTitleBackground:s,quickInputBackground:v,quickInputForeground:M,contrastBorder:be,widgetShadow:Ne}=this.styles.widget;this.ui.titleBar.style.backgroundColor=s?s.toString():"",this.ui.container.style.backgroundColor=v?v.toString():"",this.ui.container.style.color=M?M.toString():"",this.ui.container.style.border=be?"1px solid "+be:"",this.ui.container.style.boxShadow=Ne?"0 5px 8px "+Ne:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);let De=[];this.styles.list.listInactiveFocusForeground&&(De.push(`.monaco-list .monaco-list-row.focused { color: ${this.styles.list.listInactiveFocusForeground}; }`),De.push(`.monaco-list .monaco-list-row.focused:hover { color: ${this.styles.list.listInactiveFocusForeground}; }`)),this.styles.list.pickerGroupBorder&&De.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&De.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`);let je=De.join(` +`);je!==this.ui.styleSheet.innerHTML&&(this.ui.styleSheet.innerHTML=je)}}}Oa.MAX_WIDTH=600;var yl=o(110),Cl=o(134),Ql=o(133),xl=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},qa=function(me,s){return function(v,M){s(v,M,me)}};let pr=class extends Y.a{constructor(me,s){super(),this.quickInputService=me,this.instantiationService=s,this.registry=Sn.a.as(Cl.b.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(me="",s){var v;let[M,be]=this.getOrInstantiateProvider(me),Ne=this.visibleQuickAccess,De=Ne==null?void 0:Ne.descriptor;if(Ne&&be&&De===be)return me===be.prefix||(s==null?void 0:s.preserveValue)||(Ne.picker.value=me),void this.adjustValueSelection(Ne.picker,be,s);if(be&&!(s==null?void 0:s.preserveValue)){let Qt;if(Ne&&De&&De!==be){let Oi=Ne.value.substr(De.prefix.length);Oi&&(Qt=`${be.prefix}${Oi}`)}if(!Qt){let Oi=M==null?void 0:M.defaultFilterValue;Oi===Cl.a.LAST?Qt=this.lastAcceptedPickerValues.get(be):typeof Oi=="string"&&(Qt=`${be.prefix}${Oi}`)}typeof Qt=="string"&&(me=Qt)}let je=new Y.b,mt=je.add(this.quickInputService.createQuickPick());mt.value=me,this.adjustValueSelection(mt,be,s),mt.placeholder=be==null?void 0:be.placeholder,mt.quickNavigate=s==null?void 0:s.quickNavigateConfiguration,mt.hideInput=!!mt.quickNavigate&&!Ne,(typeof(s==null?void 0:s.itemActivation)=="number"||(s==null?void 0:s.quickNavigateConfiguration))&&(mt.itemActivation=(v=s==null?void 0:s.itemActivation)!==null&&v!==void 0?v:yl.b.SECOND),mt.contextKey=be==null?void 0:be.contextKey,mt.filterValue=Qt=>Qt.substring(be?be.prefix.length:0),(be==null?void 0:be.placeholder)&&(mt.ariaLabel=be==null?void 0:be.placeholder);let It=this.registerPickerListeners(mt,M,be,me,je);M&&je.add(M.provide(mt,It)),mt.show()}adjustValueSelection(me,s,v){var M;let be;be=(v==null?void 0:v.preserveValue)?[me.value.length,me.value.length]:[(M=s==null?void 0:s.prefix.length)!==null&&M!==void 0?M:0,me.value.length],me.valueSelection=be}registerPickerListeners(me,s,v,M,be){let Ne=this.visibleQuickAccess={picker:me,descriptor:v,value:M};be.add(Object(Y.h)(()=>{Ne===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),be.add(me.onDidChangeValue(je=>{let[mt]=this.getOrInstantiateProvider(je);mt!==s?this.show(je,{preserveValue:!0}):Ne.value=je})),v&&be.add(me.onDidAccept(()=>{this.lastAcceptedPickerValues.set(v,me.value)}));let De=be.add(new Fo.b);return Object(Ql.a)(me.onDidHide)(()=>{me.selectedItems.length===0&&De.cancel(),be.dispose()}),De.token}getOrInstantiateProvider(me){let s=this.registry.getQuickAccessProvider(me);if(!s)return[void 0,void 0];let v=this.mapProviderToDescriptor.get(s);return v||(v=this.instantiationService.createInstance(s.ctor),this.mapProviderToDescriptor.set(s,v)),[v,s]}};pr=xl([qa(0,yl.a),qa(1,Ee.a)],pr);var Ds=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},er=function(me,s){return function(v,M){s(v,M,me)}};let $a=class extends Re.d{constructor(me,s,v,M,be){super(v),this.instantiationService=me,this.contextKeyService=s,this.accessibilityService=M,this.layoutService=be,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(pr))),this._quickAccess}createController(me=this.layoutService,s){var v,M;let be={idPrefix:"quickInput_",container:me.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:De=>this.setContextKey(De),returnFocus:()=>me.focus(),createList:(De,je,mt,It,Qt)=>this.instantiationService.createInstance(Ls.d,De,je,mt,It,Qt),styles:this.computeStyles()},Ne=this._register(new Oa(Object.assign(Object.assign({},be),s)));return Ne.layout(me.dimension,(M=(v=me.offset)===null||v===void 0?void 0:v.top)!==null&&M!==void 0?M:0),this._register(me.onLayout(De=>{var je,mt;return Ne.layout(De,(mt=(je=me.offset)===null||je===void 0?void 0:je.top)!==null&&mt!==void 0?mt:0)})),this._register(Ne.onShow(()=>this.resetContextKeys())),this._register(Ne.onHide(()=>this.resetContextKeys())),Ne}setContextKey(me){let s;me&&(s=this.contexts.get(me),s||(s=new ui.c(me,!1).bindTo(this.contextKeyService),this.contexts.set(me,s))),s&&s.get()||(this.resetContextKeys(),s&&s.set(!0))}resetContextKeys(){this.contexts.forEach(me=>{me.get()&&me.reset()})}pick(me,s={},v=Fo.a.None){return this.controller.pick(me,s,v)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(Kr.d)(this.theme,{quickInputBackground:Cn.dc,quickInputForeground:Cn.ec,quickInputTitleBackground:Cn.fc,contrastBorder:Cn.h,widgetShadow:Cn.uc})),inputBox:Object(Kr.d)(this.theme,{inputForeground:Cn.hb,inputBackground:Cn.fb,inputBorder:Cn.gb,inputValidationInfoBackground:Cn.lb,inputValidationInfoForeground:Cn.nb,inputValidationInfoBorder:Cn.mb,inputValidationWarningBackground:Cn.ob,inputValidationWarningForeground:Cn.qb,inputValidationWarningBorder:Cn.pb,inputValidationErrorBackground:Cn.ib,inputValidationErrorForeground:Cn.kb,inputValidationErrorBorder:Cn.jb}),countBadge:Object(Kr.d)(this.theme,{badgeBackground:Cn.c,badgeForeground:Cn.d,badgeBorder:Cn.h}),button:Object(Kr.d)(this.theme,{buttonForeground:Cn.f,buttonBackground:Cn.e,buttonHoverBackground:Cn.g,buttonBorder:Cn.h}),progressBar:Object(Kr.d)(this.theme,{progressBarBackground:Cn.cc}),list:Object(Kr.d)(this.theme,{listBackground:Cn.dc,listInactiveFocusForeground:Cn.yb,listInactiveFocusBackground:Cn.xb,listFocusOutline:Cn.b,listInactiveFocusOutline:Cn.b,pickerGroupBorder:Cn.Xb,pickerGroupForeground:Cn.Yb})}}};$a=Ds([er(0,Ee.a),er(1,ui.b),er(2,Re.c),er(3,We.b),er(4,rr)],$a);var As=function(me,s,v,M){var be,Ne=arguments.length,De=Ne<3?s:M===null?M=Object.getOwnPropertyDescriptor(s,v):M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")De=Reflect.decorate(me,s,v,M);else for(var je=me.length-1;je>=0;je--)(be=me[je])&&(De=(Ne<3?be(De):Ne>3?be(s,v,De):be(s,v))||De);return Ne>3&&De&&Object.defineProperty(s,v,De),De},Ys=function(me,s){return function(v,M){s(v,M,me)}};let Bn=class extends $a{constructor(me,s,v,M,be,Ne){super(s,v,M,be,Ne),this.host=void 0;let De=ca.get(me);this.host={_serviceBrand:void 0,get container(){return De.widget.getDomNode()},get dimension(){return me.getLayoutInfo()},get onLayout(){return me.onDidLayoutChange},focus:()=>me.focus()}}createController(){return super.createController(this.host)}};Bn=As([Ys(1,Ee.a),Ys(2,ui.b),Ys(3,Re.c),Ys(4,We.b),Ys(5,rr)],Bn);let Zs=class{constructor(me,s){this.instantiationService=me,this.codeEditorService=s,this.mapEditorToService=new Map}get activeService(){let me=this.codeEditorService.getFocusedCodeEditor();if(!me)throw new Error("Quick input service needs a focused editor to work.");let s=this.mapEditorToService.get(me);if(!s){let v=s=this.instantiationService.createInstance(Bn,me);this.mapEditorToService.set(me,s),Object(Ql.a)(me.onDidDispose)(()=>{v.dispose(),this.mapEditorToService.delete(me)})}return s}get quickAccess(){return this.activeService.quickAccess}pick(me,s={},v=Fo.a.None){return this.activeService.pick(me,s,v)}createQuickPick(){return this.activeService.createQuickPick()}};Zs=As([Ys(0,Ee.a),Ys(1,H.a)],Zs);class ca{constructor(s){this.editor=s,this.widget=new Da(this.editor)}static get(s){return s.getContribution(ca.ID)}dispose(){this.widget.dispose()}}ca.ID="editor.controller.quickInput";class Da{constructor(s){this.codeEditor=s,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return Da.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}Da.ID="editor.contrib.quickInputWidget",Object(Rr.m)(ca.ID,ca);var ao,Xs=o(166);(function(me){let s=new Ks.a;class v{constructor(je,mt){this._serviceId=je,this._factory=mt,this._value=null}get id(){return this._serviceId}get(je){if(!this._value){if(je&&(this._value=je[this._serviceId.toString()]),this._value||(this._value=this._factory(je)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");s.set(this._serviceId,this._value)}return this._value}}me.LazyStaticService=v;let M=[];function be(De,je){let mt=new v(De,je);return M.push(mt),mt}me.init=function(De){let je=new Ks.a;for(let[It,Qt]of Object(Pt.a)())je.set(It,Qt);for(let It in De)De.hasOwnProperty(It)&&je.set(Object(Ee.c)(It),De[It]);M.forEach(It=>je.set(It.id,It.get(De)));let mt=new Qo(je,!0);return je.set(Ee.a,mt),[je,mt]},me.instantiationService=be(Ee.a,()=>new Qo(s,!0));let Ne=new Gt;me.configurationService=be(un.a,()=>Ne),me.resourceConfigurationService=be(Ye.a,()=>new ti(Ne)),me.resourcePropertiesService=be(Ye.b,()=>new ye(Ne)),me.contextService=be(Ot.a,()=>new ue),me.labelService=be(ra.a,()=>new tt),me.telemetryService=be(ms.a,()=>new le),me.dialogService=be(Ar.a,()=>new X),me.notificationService=be(Mt.a,()=>new ae),me.markerService=be(qo.b,()=>new i),me.modeService=be(ri.a,De=>new Io),me.standaloneThemeService=be(ai.a,()=>new ts),me.logService=be($.b,()=>new $.a),me.undoRedoService=be(Yi.a,De=>new $o(me.dialogService.get(De),me.notificationService.get(De))),me.modelService=be(ct.a,De=>new Ro.a(me.configurationService.get(De),me.resourcePropertiesService.get(De),me.standaloneThemeService.get(De),me.logService.get(De),me.undoRedoService.get(De))),me.markerDecorationsService=be(Pe.a,De=>new Bt(me.modelService.get(De),me.markerService.get(De))),me.codeEditorService=be(H.a,De=>new gr(me.standaloneThemeService.get(De))),me.editorProgressService=be(Le.a,()=>new ft),me.storageService=be(a.a,()=>new a.b),me.storageSyncService=be(Xs.a,()=>new Xs.b),me.editorWorkerService=be(se.a,De=>new de(me.modelService.get(De),me.resourceConfigurationService.get(De),me.logService.get(De)))})(ao||(ao={}));class Rs extends Y.a{constructor(s,v){super();let[M,be]=ao.init(v);this._serviceCollection=M,this._instantiationService=be;let Ne=this.get(un.a),De=this.get(Mt.a),je=this.get(ms.a),mt=this.get(Re.c),It=this.get($.b),Qt=(lo,uo)=>{let oo=null;return v&&(oo=v[lo.toString()]),oo||(oo=uo()),this._serviceCollection.set(lo,oo),oo},Oi=Qt(ui.b,()=>this._register(new Hr(Ne)));Qt(We.b,()=>new Vi(Oi,Ne)),Qt(Ls.a,()=>new Ls.b(mt));let en=Qt(S.b,()=>new Ge(this._instantiationService)),tn=Qt(ve.a,()=>this._register(new lt(Oi,en,je,De,It,s))),kn=Qt(rr,()=>new rt(ao.codeEditorService.get(H.a),s));Qt(yl.a,()=>new Zs(be,ao.codeEditorService.get(H.a)));let no=Qt(Te.b,()=>this._register(new Dr(kn)));Qt(Be.a,()=>new zi),Qt(Te.a,()=>{let lo=new Go(je,De,no,tn,mt);return lo.configure({blockMouse:!1}),this._register(lo)}),Qt(fi.a,()=>new K(en)),Qt(Si.a,()=>new Ze(ao.modelService.get(ct.a)))}get(s){let v=this._serviceCollection.get(s);if(!v)throw new Error("Missing service "+s);return v}set(s,v){this._serviceCollection.set(s,v)}has(s){return this._serviceCollection.has(s)}}var Zr=o(87);function Qs(me,s,v){let M=new Rs(me,s),be=null;M.has(ke.a)||(be=new Ti(ao.modelService.get()),M.set(ke.a,be)),M.has(P.a)||M.set(P.a,new b(M.get(H.a),M.get(S.b)));let Ne=v(M);return be&&be.setEditor(Ne),Ne}function Aa(me,s,v){return Qs(me,v||{},M=>new mi(me,s,M,M.get(Ee.a),M.get(H.a),M.get(S.b),M.get(ui.b),M.get(ve.a),M.get(Te.b),M.get(ai.a),M.get(Mt.a),M.get(un.a),M.get(We.b)))}function Sl(me){return ao.codeEditorService.get().onCodeEditorAdd(s=>{me(s)})}function Ka(me,s,v){return Qs(me,v||{},M=>new Yt(me,s,M,M.get(Ee.a),M.get(ui.b),M.get(ve.a),M.get(Te.b),M.get(se.a),M.get(H.a),M.get(ai.a),M.get(Mt.a),M.get(un.a),M.get(Te.a),M.get(Le.a),M.get(Be.a)))}function Js(me,s){return new g.a(me,s)}function Ga(me,s,v){return ao.modelService.get().createModel(me,s,v)}function Jl(me,s,v){if(me=me||"",!s){let M=me.indexOf(` +`),be=me;return M!==-1&&(be=me.substring(0,M)),Ga(me,ao.modeService.get().createByFilepathOrFirstLine(v||null,be),v)}return Ga(me,ao.modeService.get().create(s),v)}function ea(me,s){ao.modelService.get().setMode(me,ao.modeService.get().create(s))}function Ya(me,s,v){me&&ao.markerService.get().changeOne(s,me.uri,v)}function Nc(me){return ao.markerService.get().read(me)}function Ic(me){return ao.modelService.get().getModel(me)}function Oc(){return ao.modelService.get().getModels()}function x(me){return ao.modelService.get().onModelAdded(me)}function c(me){return ao.modelService.get().onModelRemoved(me)}function p(me){return ao.modelService.get().onModelModeChanged(s=>{me({model:s.model,oldLanguage:s.oldModeId})})}function F(me){return function(s,v){return new wt(s,v)}(ao.modelService.get(),me)}function pe(me,s){let v=ao.standaloneThemeService.get();return v.registerEditorContainer(me),ki.colorizeElement(v,ao.modeService.get(),me,s)}function He(me,s,v){return ao.standaloneThemeService.get().registerEditorContainer(document.body),ki.colorize(ao.modeService.get(),me,s,v)}function Qe(me,s,v=4){return ao.standaloneThemeService.get().registerEditorContainer(document.body),ki.colorizeModelLine(me,s,v)}function Vt(me,s){ao.modeService.get().triggerMode(s);let v=function(De){return q.C.get(De)||{getInitialState:()=>B.c,tokenize:(mt,It,Qt)=>Object(B.d)(De,mt,It,Qt)}}(s),M=me.split(/\r\n|\r|\n/),be=[],Ne=v.getInitialState();for(let De=0,je=M.length;De<je;De++){let mt=M[De],It=v.tokenize(mt,Ne,0);be[De]=It.tokens,Ne=It.endState}return be}function $t(me,s){ao.standaloneThemeService.get().defineTheme(me,s)}function ci(me){ao.standaloneThemeService.get().setTheme(me)}function Ft(){Object(Zr.b)()}function Fi(me,s){return typeof me=="boolean"?me:s}function cn(me,s){return typeof me=="string"?me:s}function vn(me,s=!1){s&&(me=me.map(function(M){return M.toLowerCase()}));let v=function(M){let be={};for(let Ne of M)be[Ne]=!0;return be}(me);return s?function(M){return v[M.toLowerCase()]!==void 0&&v.hasOwnProperty(M.toLowerCase())}:function(M){return v[M]!==void 0&&v.hasOwnProperty(M)}}function rn(me,s){let v=0;for(;s.indexOf("@")>=0&&v<5;)v++,s=s.replace(/@(\w+)/g,function(be,Ne){let De="";if(typeof me[Ne]=="string")De=me[Ne];else{if(!(me[Ne]&&me[Ne]instanceof RegExp))throw me[Ne]===void 0?gt(me,"language definition does not contain attribute '"+Ne+"', used at: "+s):gt(me,"attribute reference '"+Ne+"' must be a string, used at: "+s);De=me[Ne].source}return Bi(De)?"":"(?:"+De+")"});let M=(me.ignoreCase?"i":"")+(me.unicode?"u":"");return new RegExp(s,M)}function Pn(me,s,v,M){let be=-1,Ne=v,De=v.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);De&&(De[3]&&(be=parseInt(De[3]),De[2]&&(be+=100)),Ne=De[4]);let je,mt="~",It=Ne;if(Ne&&Ne.length!==0?/^\w*$/.test(It)?mt="==":(De=Ne.match(/^(@|!@|~|!~|==|!=)(.*)$/),De&&(mt=De[1],It=De[2])):(mt="!=",It=""),mt!=="~"&&mt!=="!~"||!/^(\w|\|)*$/.test(It))if(mt==="@"||mt==="!@"){let Qt=me[It];if(!Qt)throw gt(me,"the @ match target '"+It+"' is not defined, in rule: "+s);if(!function(en,tn){if(!tn||!Array.isArray(tn))return!1;for(let kn of tn)if(!en(kn))return!1;return!0}(function(en){return typeof en=="string"},Qt))throw gt(me,"the @ match target '"+It+"' must be an array of strings, in rule: "+s);let Oi=vn(Qt,me.ignoreCase);je=function(en){return mt==="@"?Oi(en):!Oi(en)}}else if(mt==="~"||mt==="!~")if(It.indexOf("$")<0){let Qt=rn(me,"^"+It+"$");je=function(Oi){return mt==="~"?Qt.test(Oi):!Qt.test(Oi)}}else je=function(Qt,Oi,en,tn){return rn(me,"^"+vi(me,It,Oi,en,tn)+"$").test(Qt)};else if(It.indexOf("$")<0){let Qt=Lt(me,It);je=function(Oi){return mt==="=="?Oi===Qt:Oi!==Qt}}else{let Qt=Lt(me,It);je=function(Oi,en,tn,kn,no){let lo=vi(me,Qt,en,tn,kn);return mt==="=="?Oi===lo:Oi!==lo}}else{let Qt=vn(It.split("|"),me.ignoreCase);je=function(Oi){return mt==="~"?Qt(Oi):!Qt(Oi)}}return be===-1?{name:v,value:M,test:function(Qt,Oi,en,tn){return je(Qt,Qt,Oi,en,tn)}}:{name:v,value:M,test:function(Qt,Oi,en,tn){let kn=function(no,lo,uo,oo){if(oo<0)return no;if(oo<lo.length)return lo[oo];if(oo>=100){oo-=100;let io=uo.split(".");if(io.unshift(uo),oo<io.length)return io[oo]}return null}(Qt,Oi,en,be);return je(kn||"",Qt,Oi,en,tn)}}}class jn{constructor(s){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=s}setRegex(s,v){let M;if(typeof v=="string")M=v;else{if(!(v instanceof RegExp))throw gt(s,"rules must start with a match string or regular expression: "+this.name);M=v.source}this.matchOnlyAtLineStart=M.length>0&&M[0]==="^",this.name=this.name+": "+M,this.regex=rn(s,"^(?:"+(this.matchOnlyAtLineStart?M.substr(1):M)+")")}setAction(s,v){this.action=function M(be,Ne,De){if(De){if(typeof De=="string")return De;if(De.token||De.token===""){if(typeof De.token!="string")throw gt(be,"a 'token' attribute must be of type string, in rule: "+Ne);{let je={token:De.token};if(De.token.indexOf("$")>=0&&(je.tokenSubst=!0),typeof De.bracket=="string")if(De.bracket==="@open")je.bracket=1;else{if(De.bracket!=="@close")throw gt(be,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+Ne);je.bracket=-1}if(De.next){if(typeof De.next!="string")throw gt(be,"the next state must be a string value in rule: "+Ne);{let mt=De.next;if(!/^(@pop|@push|@popall)$/.test(mt)&&(mt[0]==="@"&&(mt=mt.substr(1)),mt.indexOf("$")<0&&!function(It,Qt){let Oi=Qt;for(;Oi&&Oi.length>0;){if(It.stateNames[Oi])return!0;let en=Oi.lastIndexOf(".");Oi=en<0?null:Oi.substr(0,en)}return!1}(be,vi(be,mt,"",[],""))))throw gt(be,"the next state '"+De.next+"' is not defined in rule: "+Ne);je.next=mt}}return typeof De.goBack=="number"&&(je.goBack=De.goBack),typeof De.switchTo=="string"&&(je.switchTo=De.switchTo),typeof De.log=="string"&&(je.log=De.log),typeof De.nextEmbedded=="string"&&(je.nextEmbedded=De.nextEmbedded,be.usesEmbedded=!0),je}}if(Array.isArray(De)){let je=[];for(let mt=0,It=De.length;mt<It;mt++)je[mt]=M(be,Ne,De[mt]);return{group:je}}if(De.cases){let je=[];for(let It in De.cases)if(De.cases.hasOwnProperty(It)){let Qt=M(be,Ne,De.cases[It]);It==="@default"||It==="@"||It===""?je.push({test:void 0,value:Qt,name:It}):It==="@eos"?je.push({test:function(Oi,en,tn,kn){return kn},value:Qt,name:It}):je.push(Pn(be,Ne,It,Qt))}let mt=be.defaultToken;return{test:function(It,Qt,Oi,en){for(let tn of je)if(!tn.test||tn.test(It,Qt,Oi,en))return tn.value;return mt}}}throw gt(be,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+Ne)}return{token:""}}(s,this.name,v)}}function Vn(me){gn.a.registerLanguage(me)}function Ln(){let me=[];return me=me.concat(gn.a.getLanguages()),me}function mo(me){let s=ao.modeService.get().getLanguageIdentifier(me);return s?s.id:0}function yo(me,s){let v=ao.modeService.get().onDidCreateMode(M=>{M.getId()===me&&(v.dispose(),s())});return v}function fo(me,s){let v=ao.modeService.get().getLanguageIdentifier(me);if(!v)throw new Error("Cannot set configuration for unknown language "+me);return L.a.register(v,s)}class To{constructor(s){this._actual=s}getInitialState(){return this._actual.getInitialState()}tokenize(s,v,M){throw new Error("Not supported!")}tokenize2(s,v){let M=this._actual.tokenizeEncoded(s,v);return new Li.c(M.tokens,M.endState)}}class Co{constructor(s,v,M){this._standaloneThemeService=s,this._languageIdentifier=v,this._actual=M}getInitialState(){return this._actual.getInitialState()}_toClassicTokens(s,v,M){let be=[],Ne=0;for(let De=0,je=s.length;De<je;De++){let mt=s[De],It=mt.startIndex;De===0?It=0:It<Ne&&(It=Ne),be[De]=new Li.a(It+M,mt.scopes,v),Ne=It}return be}tokenize(s,v,M){let be,Ne=this._actual.tokenize(s,v),De=this._toClassicTokens(Ne.tokens,this._languageIdentifier.language,M);return be=Ne.endState.equals(v)?v:Ne.endState,new Li.b(De,be)}_toBinaryTokens(s,v){let M=this._languageIdentifier.id,be=this._standaloneThemeService.getColorTheme().tokenTheme,Ne=[],De=0,je=0;for(let It=0,Qt=s.length;It<Qt;It++){let Oi=s[It],en=be.match(M,Oi.scopes);if(De>0&&Ne[De-1]===en)continue;let tn=Oi.startIndex;It===0?tn=0:tn<je&&(tn=je),Ne[De++]=tn+v,Ne[De++]=en,je=tn}let mt=new Uint32Array(De);for(let It=0;It<De;It++)mt[It]=Ne[It];return mt}tokenize2(s,v,M){let be,Ne=this._actual.tokenize(s,v),De=this._toBinaryTokens(Ne.tokens,M);return be=Ne.endState.equals(v)?v:Ne.endState,new Li.c(De,be)}}function Wo(me){return me&&typeof me.then=="function"}function Sr(me,s){let v=ao.modeService.get().getLanguageIdentifier(me);if(!v)throw new Error("Cannot set tokens provider for unknown language "+me);let M=be=>function(Ne){return"tokenizeEncoded"in Ne}(be)?new To(be):new Co(ao.standaloneThemeService.get(),v,be);return Wo(s)?q.C.registerPromise(me,s.then(be=>M(be))):q.C.register(me,M(s))}function _s(me,s){let v=M=>function(be,Ne,De,je){return new li(be,Ne,De,je)}(ao.modeService.get(),ao.standaloneThemeService.get(),me,function(be,Ne){if(!Ne||typeof Ne!="object")throw new Error("Monarch: expecting a language definition object");let De={};De.languageId=be,De.noThrow=!1,De.maxStack=100,De.start=typeof Ne.start=="string"?Ne.start:null,De.ignoreCase=Fi(Ne.ignoreCase,!1),De.unicode=Fi(Ne.unicode,!1),De.tokenPostfix=cn(Ne.tokenPostfix,"."+De.languageId),De.defaultToken=cn(Ne.defaultToken,"source"),De.usesEmbedded=!1;let je=Ne;function mt(Qt,Oi,en){for(let tn of en){let kn=tn.include;if(kn){if(typeof kn!="string")throw gt(De,"an 'include' attribute must be a string at: "+Qt);if(kn[0]==="@"&&(kn=kn.substr(1)),!Ne.tokenizer[kn])throw gt(De,"include target '"+kn+"' is not defined at: "+Qt);mt(Qt+"."+kn,Oi,Ne.tokenizer[kn])}else{let no=new jn(Qt);if(Array.isArray(tn)&&tn.length>=1&&tn.length<=3)if(no.setRegex(je,tn[0]),tn.length>=3)if(typeof tn[1]=="string")no.setAction(je,{token:tn[1],next:tn[2]});else{if(typeof tn[1]!="object")throw gt(De,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+Qt);{let lo=tn[1];lo.next=tn[2],no.setAction(je,lo)}}else no.setAction(je,tn[1]);else{if(!tn.regex)throw gt(De,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+Qt);tn.name&&typeof tn.name=="string"&&(no.name=tn.name),tn.matchOnlyAtStart&&(no.matchOnlyAtLineStart=Fi(tn.matchOnlyAtLineStart,!1)),no.setRegex(je,tn.regex),no.setAction(je,tn.action)}Oi.push(no)}}}if(je.languageId=be,je.ignoreCase=De.ignoreCase,je.unicode=De.unicode,je.noThrow=De.noThrow,je.usesEmbedded=De.usesEmbedded,je.stateNames=Ne.tokenizer,je.defaultToken=De.defaultToken,!Ne.tokenizer||typeof Ne.tokenizer!="object")throw gt(De,"a language definition must define the 'tokenizer' attribute as an object");De.tokenizer=[];for(let Qt in Ne.tokenizer)if(Ne.tokenizer.hasOwnProperty(Qt)){De.start||(De.start=Qt);let Oi=Ne.tokenizer[Qt];De.tokenizer[Qt]=new Array,mt("tokenizer."+Qt,De.tokenizer[Qt],Oi)}if(De.usesEmbedded=je.usesEmbedded,Ne.brackets){if(!Array.isArray(Ne.brackets))throw gt(De,"the 'brackets' attribute must be defined as an array")}else Ne.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let It=[];for(let Qt of Ne.brackets){let Oi=Qt;if(Oi&&Array.isArray(Oi)&&Oi.length===3&&(Oi={token:Oi[2],open:Oi[0],close:Oi[1]}),Oi.open===Oi.close)throw gt(De,"open and close brackets in a 'brackets' attribute must be different: "+Oi.open+` + hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof Oi.open!="string"||typeof Oi.token!="string"||typeof Oi.close!="string")throw gt(De,"every element in the 'brackets' array must be a '{open,close,token}' object or array");It.push({token:Oi.token+De.tokenPostfix,open:Lt(De,Oi.open),close:Lt(De,Oi.close)})}return De.brackets=It,De.noThrow=!0,De}(me,M));return Wo(s)?q.C.registerPromise(me,s.then(M=>v(M))):q.C.register(me,v(s))}function Ra(me,s){return q.v.register(me,s)}function rs(me,s){return q.w.register(me,s)}function tr(me,s){return q.y.register(me,s)}function da(me,s){return q.p.register(me,{provideHover:(v,M,be)=>{let Ne=v.getWordAtPosition(M);return Promise.resolve(s.provideHover(v,M,be)).then(De=>{if(De)return!De.range&&Ne&&(De.range=new Ae.a(M.lineNumber,Ne.startColumn,M.lineNumber,Ne.endColumn)),De.range||(De.range=new Ae.a(M.lineNumber,M.column,M.lineNumber,M.column)),De})}})}function ec(me,s){return q.m.register(me,s)}function ta(me,s){return q.i.register(me,s)}function Pr(me,s){return q.u.register(me,s)}function Za(me,s){return q.f.register(me,s)}function Ma(me,s){return q.q.register(me,s)}function ha(me,s){return q.D.register(me,s)}function ua(me,s){return q.b.register(me,s)}function kl(me,s){return q.a.register(me,{provideCodeActions:(v,M,be,Ne)=>{let De=ao.markerService.get().read({resource:v.uri}).filter(je=>Ae.a.areIntersectingOrTouching(je,M));return s.provideCodeActions(v,M,{markers:De,only:be.only},Ne)}})}function Ms(me,s){return q.g.register(me,s)}function Pa(me,s){return q.j.register(me,s)}function Xa(me,s){return q.t.register(me,s)}function tc(me,s){return q.s.register(me,s)}function El(me,s){return q.d.register(me,s)}function Qa(me,s){return q.c.register(me,s)}function Jo(me,s){return q.o.register(me,s)}function Ja(me,s){return q.e.register(me,s)}function pa(me,s){return q.x.register(me,s)}function Tl(me,s){return q.l.register(me,s)}function el(me,s){return q.k.register(me,s)}let kr=self;f.g.wrappingIndent.defaultValue=0,f.g.glyphMargin.defaultValue=!1,f.g.autoIndent.defaultValue=3,f.g.overviewRulerLanes.defaultValue=2;let Vo=Object(D.a)();Vo.editor={create:Aa,onDidCreateEditor:Sl,createDiffEditor:Ka,createDiffNavigator:Js,createModel:Jl,setModelLanguage:ea,setModelMarkers:Ya,getModelMarkers:Nc,getModels:Oc,getModel:Ic,onDidCreateModel:x,onWillDisposeModel:c,onDidChangeModelLanguage:p,createWebWorker:F,colorizeElement:pe,colorize:He,colorizeModelLine:Qe,tokenize:Vt,defineTheme:$t,setTheme:ci,remeasureFonts:Ft,AccessibilitySupport:Ni.a,ContentWidgetPositionPreference:Ni.f,CursorChangeReason:Ni.g,DefaultEndOfLine:Ni.h,EditorAutoIndentStrategy:Ni.j,EditorOption:Ni.k,EndOfLinePreference:Ni.l,EndOfLineSequence:Ni.m,MinimapPosition:Ni.r,MouseTargetType:Ni.s,OverlayWidgetPositionPreference:Ni.t,OverviewRulerLane:Ni.u,RenderLineNumbersType:Ni.v,RenderMinimap:Ni.w,ScrollbarVisibility:Ni.y,ScrollType:Ni.x,TextEditorCursorBlinkingStyle:Ni.D,TextEditorCursorStyle:Ni.E,TrackedRangeStickiness:Ni.F,WrappingIndent:Ni.G,ConfigurationChangedEvent:f.b,BareFontInfo:j.a,FontInfo:j.b,TextModelResolvedOptions:U.e,FindMatch:U.b,EditorType:ie.a,EditorOptions:f.g},Vo.languages={register:Vn,getLanguages:Ln,onLanguage:yo,getEncodedLanguageId:mo,setLanguageConfiguration:fo,setTokensProvider:Sr,setMonarchTokensProvider:_s,registerReferenceProvider:Ra,registerRenameProvider:rs,registerCompletionItemProvider:El,registerSignatureHelpProvider:tr,registerHoverProvider:da,registerDocumentSymbolProvider:ec,registerDocumentHighlightProvider:ta,registerOnTypeRenameProvider:Pr,registerDefinitionProvider:Za,registerImplementationProvider:Ma,registerTypeDefinitionProvider:ha,registerCodeLensProvider:ua,registerCodeActionProvider:kl,registerDocumentFormattingEditProvider:Ms,registerDocumentRangeFormattingEditProvider:Pa,registerOnTypeFormattingEditProvider:Xa,registerLinkProvider:tc,registerColorProvider:Qa,registerFoldingRangeProvider:Jo,registerDeclarationProvider:Ja,registerSelectionRangeProvider:pa,registerDocumentSemanticTokensProvider:Tl,registerDocumentRangeSemanticTokensProvider:el,DocumentHighlightKind:Ni.i,CompletionItemKind:Ni.c,CompletionItemTag:Ni.d,CompletionItemInsertTextRule:Ni.b,SymbolKind:Ni.B,SymbolTag:Ni.C,IndentAction:Ni.n,CompletionTriggerKind:Ni.e,SignatureHelpTriggerKind:Ni.A,FoldingRangeKind:q.n};let Ll=Vo.CancellationTokenSource,Fr=Vo.Emitter,vs=Vo.KeyCode,Ps=Vo.KeyMod,Qd=Vo.Position,Jd=Vo.Range,eh=Vo.Selection,ic=Vo.SelectionDirection,th=Vo.MarkerSeverity,ih=Vo.MarkerTag,nh=Vo.Uri,oh=Vo.Token,rh=Vo.editor,ma=Vo.languages;kr.monaco=Vo,kr.require!==void 0&&typeof kr.require.config=="function"&&kr.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("modeService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(18),f=o(141);o.d(w,"b",function(){return f.a});let D=Object(h.c)("quickInputService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(12);class f{constructor(E,ge){this._tokens=E,this._tokensCount=this._tokens.length>>>1,this._text=ge}equals(E){return E instanceof f&&this.slicedEquals(E,0,this._tokensCount)}slicedEquals(E,ge,W){if(this._text!==E._text||this._tokensCount!==E._tokensCount)return!1;let Q=ge<<1,y=Q+(W<<1);for(let C=Q;C<y;C++)if(this._tokens[C]!==E._tokens[C])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(E){return E>0?this._tokens[E-1<<1]:0}getMetadata(E){return this._tokens[1+(E<<1)]}getLanguageId(E){let ge=this._tokens[1+(E<<1)];return h.B.getLanguageId(ge)}getStandardTokenType(E){let ge=this._tokens[1+(E<<1)];return h.B.getTokenType(ge)}getForeground(E){let ge=this._tokens[1+(E<<1)];return h.B.getForeground(ge)}getClassName(E){let ge=this._tokens[1+(E<<1)];return h.B.getClassNameFromMetadata(ge)}getInlineStyle(E,ge){let W=this._tokens[1+(E<<1)];return h.B.getInlineStyleFromMetadata(W,ge)}getEndOffset(E){return this._tokens[E<<1]}findTokenIndexAtOffset(E){return f.findIndexInTokensArray(this._tokens,E)}inflate(){return this}sliceAndInflate(E,ge,W){return new D(this,E,ge,W)}static convertToEndOffset(E,ge){let W=(E.length>>>1)-1;for(let Q=0;Q<W;Q++)E[Q<<1]=E[Q+1<<1];E[W<<1]=ge}static findIndexInTokensArray(E,ge){if(E.length<=2)return 0;let W=0,Q=(E.length>>>1)-1;for(;W<Q;){let y=W+Math.floor((Q-W)/2),C=E[y<<1];if(C===ge)return y+1;C<ge?W=y+1:C>ge&&(Q=y)}return W}}class D{constructor(E,ge,W,Q){this._source=E,this._startOffset=ge,this._endOffset=W,this._deltaOffset=Q,this._firstTokenIndex=E.findTokenIndexAtOffset(ge),this._tokensCount=0;for(let y=this._firstTokenIndex,C=E.getCount();y<C&&!(E.getStartOffset(y)>=W);y++)this._tokensCount++}equals(E){return E instanceof D&&this._startOffset===E._startOffset&&this._endOffset===E._endOffset&&this._deltaOffset===E._deltaOffset&&this._source.slicedEquals(E._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getForeground(E){return this._source.getForeground(this._firstTokenIndex+E)}getEndOffset(E){let ge=this._source.getEndOffset(this._firstTokenIndex+E);return Math.min(this._endOffset,ge)-this._startOffset+this._deltaOffset}getClassName(E){return this._source.getClassName(this._firstTokenIndex+E)}getInlineStyle(E,ge){return this._source.getInlineStyle(this._firstTokenIndex+E,ge)}findTokenIndexAtOffset(E){return this._source.findTokenIndexAtOffset(E+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return f}),o.d(w,"c",function(){return D}),o.d(w,"a",function(){return H});var h=o(143);function f(E){return!(!E||typeof E.getEditorType!="function")&&E.getEditorType()===h.a.ICodeEditor}function D(E){return!(!E||typeof E.getEditorType!="function")&&E.getEditorType()===h.a.IDiffEditor}function H(E){return f(E)?E:D(E)?E.getModifiedEditor():null}},function(Ie,w,o){"use strict";o.d(w,"e",function(){return se}),o.d(w,"f",function(){return ke}),o.d(w,"a",function(){return Y}),o.d(w,"h",function(){return he}),o.d(w,"g",function(){return Ce}),o.d(w,"d",function(){return L}),o.d(w,"b",function(){return nt}),o.d(w,"c",function(){return J}),o(197);var h=o(2),f=o(14),D=o(15),H=o(98),E=o(1),ge=o(11),W=o(61),Q=o(67),y=o(6),C=o(44);class S extends Error{constructor(A,ee){super(`ListError [${A}] ${ee}`)}}var P=o(162),V=o(16),k=o(46);class l{constructor(A){this.spliceables=A}splice(A,ee,de){this.spliceables.forEach(Oe=>Oe.splice(A,ee,de))}}var T,N=o(118),b=o(71),g=o(66),j=function(Se,A,ee,de){var Oe,$e=arguments.length,pt=$e<3?A:de===null?de=Object.getOwnPropertyDescriptor(A,ee):de;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")pt=Reflect.decorate(Se,A,ee,de);else for(var it=Se.length-1;it>=0;it--)(Oe=Se[it])&&(pt=($e<3?Oe(pt):$e>3?Oe(A,ee,pt):Oe(A,ee))||pt);return $e>3&&pt&&Object.defineProperty(A,ee,pt),pt};class ie{constructor(A){this.trait=A,this.renderedElements=[]}get templateId(){return"template:"+this.trait.trait}renderTemplate(A){return A}renderElement(A,ee,de){let Oe=Object(D.j)(this.renderedElements,$e=>$e.templateData===de);if(Oe>=0){let $e=this.renderedElements[Oe];this.trait.unrender(de),$e.index=ee}else{let $e={index:ee,templateData:de};this.renderedElements.push($e)}this.trait.renderIndex(ee,de)}splice(A,ee,de){let Oe=[];for(let $e of this.renderedElements)$e.index<A?Oe.push($e):$e.index>=A+ee&&Oe.push({index:$e.index+de-ee,templateData:$e.templateData});this.renderedElements=Oe}renderIndexes(A){for(let{index:ee,templateData:de}of this.renderedElements)A.indexOf(ee)>-1&&this.trait.renderIndex(ee,de)}disposeTemplate(A){let ee=Object(D.j)(this.renderedElements,de=>de.templateData===A);ee<0||this.renderedElements.splice(ee,1)}}class U{constructor(A){this._trait=A,this.indexes=[],this.sortedIndexes=[],this._onChange=new y.a,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new ie(this)}splice(A,ee,de){let Oe=de.length-ee,$e=A+ee,pt=[...this.sortedIndexes.filter(it=>it<A),...de.map((it,At)=>it?At+A:-1).filter(it=>it!==-1),...this.sortedIndexes.filter(it=>it>=$e).map(it=>it+Oe)];this.renderer.splice(A,ee,de.length),this._set(pt,pt)}renderIndex(A,ee){E.ab(ee,this._trait,this.contains(A))}unrender(A){E.Q(A,this._trait)}set(A,ee){return this._set(A,[...A].sort(fe),ee)}_set(A,ee,de){let Oe=this.indexes,$e=this.sortedIndexes;this.indexes=A,this.sortedIndexes=ee;let pt=ht($e,A);return this.renderer.renderIndexes(pt),this._onChange.fire({indexes:A,browserEvent:de}),Oe}get(){return this.indexes}contains(A){return Object(D.c)(this.sortedIndexes,A,fe)>=0}dispose(){Object(h.f)(this._onChange)}}j([H.a],U.prototype,"renderer",null);class q extends U{constructor(A){super("selected"),this.setAriaSelected=A}renderIndex(A,ee){super.renderIndex(A,ee),this.setAriaSelected&&(this.contains(A)?ee.setAttribute("aria-selected","true"):ee.setAttribute("aria-selected","false"))}}class B{constructor(A,ee,de){this.trait=A,this.view=ee,this.identityProvider=de}splice(A,ee,de){if(!this.identityProvider)return this.trait.splice(A,ee,de.map(()=>!1));let Oe=this.trait.get().map(pt=>this.identityProvider.getId(this.view.element(pt)).toString()),$e=de.map(pt=>Oe.indexOf(this.identityProvider.getId(pt).toString())>-1);this.trait.splice(A,ee,$e)}}function se(Se){return Se.tagName==="INPUT"||Se.tagName==="TEXTAREA"}function ke(Se){return!!E.I(Se,"monaco-editor")||!E.I(Se,"monaco-list")&&!!Se.parentElement&&ke(Se.parentElement)}class xe{constructor(A,ee,de){this.list=A,this.view=ee,this.disposables=new h.b;let Oe=de.multipleSelectionSupport!==!1,$e=y.b.chain(Object(C.a)(ee.domNode,"keydown")).filter(pt=>!se(pt.target)).map(pt=>new Q.a(pt));$e.filter(pt=>pt.keyCode===3).on(this.onEnter,this,this.disposables),$e.filter(pt=>pt.keyCode===16).on(this.onUpArrow,this,this.disposables),$e.filter(pt=>pt.keyCode===18).on(this.onDownArrow,this,this.disposables),$e.filter(pt=>pt.keyCode===11).on(this.onPageUpArrow,this,this.disposables),$e.filter(pt=>pt.keyCode===12).on(this.onPageDownArrow,this,this.disposables),$e.filter(pt=>pt.keyCode===9).on(this.onEscape,this,this.disposables),Oe&&$e.filter(pt=>(ge.f?pt.metaKey:pt.ctrlKey)&&pt.keyCode===31).on(this.onCtrlA,this,this.disposables)}onEnter(A){A.preventDefault(),A.stopPropagation(),this.list.setSelection(this.list.getFocus(),A.browserEvent)}onUpArrow(A){A.preventDefault(),A.stopPropagation(),this.list.focusPrevious(1,!1,A.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(A){A.preventDefault(),A.stopPropagation(),this.list.focusNext(1,!1,A.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(A){A.preventDefault(),A.stopPropagation(),this.list.focusPreviousPage(A.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(A){A.preventDefault(),A.stopPropagation(),this.list.focusNextPage(A.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(A){A.preventDefault(),A.stopPropagation(),this.list.setSelection(Object(D.s)(this.list.length),A.browserEvent),this.view.domNode.focus()}onEscape(A){A.preventDefault(),A.stopPropagation(),this.list.setSelection([],A.browserEvent),this.view.domNode.focus()}dispose(){this.disposables.dispose()}}(function(Se){Se[Se.Idle=0]="Idle",Se[Se.Typing=1]="Typing"})(T||(T={}));let Y=new class{mightProducePrintableCharacter(Se){return!(Se.ctrlKey||Se.metaKey||Se.altKey)&&(Se.keyCode>=31&&Se.keyCode<=56||Se.keyCode>=21&&Se.keyCode<=30||Se.keyCode>=93&&Se.keyCode<=102||Se.keyCode>=80&&Se.keyCode<=90)}};class Z{constructor(A,ee,de,Oe){this.list=A,this.view=ee,this.keyboardNavigationLabelProvider=de,this.delegate=Oe,this.enabled=!1,this.state=T.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new h.b,this.disposables=new h.b,this.updateOptions(A.options)}updateOptions(A){A.enableKeyboardNavigation===void 0||!!A.enableKeyboardNavigation?this.enable():this.disable(),A.automaticKeyboardNavigation!==void 0&&(this.automaticKeyboardNavigation=A.automaticKeyboardNavigation)}enable(){if(this.enabled)return;let A=y.b.chain(Object(C.a)(this.view.domNode,"keydown")).filter(de=>!se(de.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(de=>new Q.a(de)).filter(de=>this.delegate.mightProducePrintableCharacter(de)).forEach(de=>{de.stopPropagation(),de.preventDefault()}).map(de=>de.browserEvent.key).event,ee=y.b.debounce(A,()=>null,800);y.b.reduce(y.b.any(A,ee),(de,Oe)=>Oe===null?null:(de||"")+Oe)(this.onInput,this,this.enabledDisposables),ee(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var A;let ee=this.list.getFocus();if(ee.length>0&&ee[0]===this.previouslyFocused){let de=(A=this.list.options.accessibilityProvider)===null||A===void 0?void 0:A.getAriaLabel(this.list.element(ee[0]));de&&Object(g.a)(de)}this.previouslyFocused=-1}onInput(A){if(!A)return this.state=T.Idle,void(this.triggered=!1);let ee=this.list.getFocus(),de=ee.length>0?ee[0]:0,Oe=this.state===T.Idle?1:0;this.state=T.Typing;for(let $e=0;$e<this.list.length;$e++){let pt=(de+$e+Oe)%this.list.length,it=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(pt)),At=it&&it.toString();if(At===void 0||Object(b.h)(A,At))return this.previouslyFocused=de,this.list.setFocus([pt]),void this.list.reveal(pt)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class te{constructor(A,ee){this.list=A,this.view=ee,this.disposables=new h.b,y.b.chain(Object(C.a)(ee.domNode,"keydown")).filter(de=>!se(de.target)).map(de=>new Q.a(de)).filter(de=>!(de.keyCode!==2||de.ctrlKey||de.metaKey||de.shiftKey||de.altKey)).on(this.onTab,this,this.disposables)}onTab(A){if(A.target!==this.view.domNode)return;let ee=this.list.getFocus();if(ee.length===0)return;let de=this.view.domElement(ee[0]);if(!de)return;let Oe=de.querySelector("[tabIndex]");if(!(Oe&&Oe instanceof HTMLElement&&Oe.tabIndex!==-1))return;let $e=window.getComputedStyle(Oe);$e.visibility!=="hidden"&&$e.display!=="none"&&(A.preventDefault(),A.stopPropagation(),Oe.focus())}dispose(){this.disposables.dispose()}}function he(Se){return ge.f?Se.browserEvent.metaKey:Se.browserEvent.ctrlKey}function Ce(Se){return Se.browserEvent.shiftKey}let Ae={isSelectionSingleChangeEvent:he,isSelectionRangeChangeEvent:Ce};class L{constructor(A){this.list=A,this.disposables=new h.b,this._onPointer=new y.a,this.onPointer=this._onPointer.event,this.multipleSelectionSupport=A.options.multipleSelectionSupport!==!1,this.multipleSelectionSupport&&(this.multipleSelectionController=A.options.multipleSelectionController||Ae),this.mouseSupport=A.options.mouseSupport===void 0||!!A.options.mouseSupport,this.mouseSupport&&(A.onMouseDown(this.onMouseDown,this,this.disposables),A.onContextMenu(this.onContextMenu,this,this.disposables),A.onMouseDblClick(this.onDoubleClick,this,this.disposables),A.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(W.b.addTarget(A.getHTMLElement()))),y.b.any(A.onMouseClick,A.onMouseMiddleClick,A.onTap)(this.onViewPointer,this,this.disposables)}isSelectionSingleChangeEvent(A){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(A):ge.f?A.browserEvent.metaKey:A.browserEvent.ctrlKey}isSelectionRangeChangeEvent(A){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(A):A.browserEvent.shiftKey}isSelectionChangeEvent(A){return this.isSelectionSingleChangeEvent(A)||this.isSelectionRangeChangeEvent(A)}onMouseDown(A){ke(A.browserEvent.target)||document.activeElement!==A.browserEvent.target&&this.list.domFocus()}onContextMenu(A){if(ke(A.browserEvent.target))return;let ee=A.index===void 0?[]:[A.index];this.list.setFocus(ee,A.browserEvent)}onViewPointer(A){if(!this.mouseSupport||se(A.browserEvent.target)||ke(A.browserEvent.target))return;let ee=this.list.getFocus()[0],de=this.list.getSelection();ee=ee===void 0?de[0]:ee;let Oe=A.index;return Oe===void 0?(this.list.setFocus([],A.browserEvent),void this.list.setSelection([],A.browserEvent)):this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(A)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(A)?this.changeSelection(A,ee):(this.list.setFocus([Oe],A.browserEvent),($e=A.browserEvent)instanceof MouseEvent&&$e.button===2||this.list.setSelection([Oe],A.browserEvent),void this._onPointer.fire(A));var $e}onDoubleClick(A){if(se(A.browserEvent.target)||ke(A.browserEvent.target)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(A))return;let ee=this.list.getFocus();this.list.setSelection(ee,A.browserEvent)}changeSelection(A,ee){let de=A.index;if(this.isSelectionRangeChangeEvent(A)&&ee!==void 0){let Oe=Math.min(ee,de),$e=Math.max(ee,de),pt=Object(D.s)(Oe,$e+1),it=this.list.getSelection(),At=function(_i,wt){let Ni=_i.indexOf(wt);if(Ni===-1)return[];let pi=[],et=Ni-1;for(;et>=0&&_i[et]===wt-(Ni-et);)pi.push(_i[et--]);for(pi.reverse(),et=Ni;et<_i.length&&_i[et]===wt+(et-Ni);)pi.push(_i[et++]);return pi}(ht(it,[ee]),ee);if(At.length===0)return;let Nt=ht(pt,function(_i,wt){let Ni=[],pi=0,et=0;for(;pi<_i.length||et<wt.length;)if(pi>=_i.length)Ni.push(wt[et++]);else if(et>=wt.length)Ni.push(_i[pi++]);else{if(_i[pi]===wt[et]){pi++,et++;continue}_i[pi]<wt[et]?Ni.push(_i[pi++]):et++}return Ni}(it,At));this.list.setSelection(Nt,A.browserEvent)}else if(this.isSelectionSingleChangeEvent(A)){let Oe=this.list.getSelection(),$e=Oe.filter(pt=>pt!==de);this.list.setFocus([de]),Oe.length===$e.length?this.list.setSelection([...$e,de],A.browserEvent):this.list.setSelection($e,A.browserEvent)}}dispose(){this.disposables.dispose()}}class nt{constructor(A,ee){this.styleElement=A,this.selectorSuffix=ee}style(A){let ee=this.selectorSuffix&&"."+this.selectorSuffix,de=[];A.listBackground&&(A.listBackground.isOpaque()?de.push(`.monaco-list${ee} .monaco-list-rows { background: ${A.listBackground}; }`):ge.f||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),A.listFocusBackground&&(de.push(`.monaco-list${ee}:focus .monaco-list-row.focused { background-color: ${A.listFocusBackground}; }`),de.push(`.monaco-list${ee}:focus .monaco-list-row.focused:hover { background-color: ${A.listFocusBackground}; }`)),A.listFocusForeground&&de.push(`.monaco-list${ee}:focus .monaco-list-row.focused { color: ${A.listFocusForeground}; }`),A.listActiveSelectionBackground&&(de.push(`.monaco-list${ee}:focus .monaco-list-row.selected { background-color: ${A.listActiveSelectionBackground}; }`),de.push(`.monaco-list${ee}:focus .monaco-list-row.selected:hover { background-color: ${A.listActiveSelectionBackground}; }`)),A.listActiveSelectionForeground&&de.push(`.monaco-list${ee}:focus .monaco-list-row.selected { color: ${A.listActiveSelectionForeground}; }`),A.listFocusAndSelectionBackground&&de.push(` .monaco-drag-image, - .monaco-list${I}:focus .monaco-list-row.selected.focused { background-color: ${_.listFocusAndSelectionBackground}; } - `),_.listFocusAndSelectionForeground&&ka.push(` + .monaco-list${ee}:focus .monaco-list-row.selected.focused { background-color: ${A.listFocusAndSelectionBackground}; } + `),A.listFocusAndSelectionForeground&&de.push(` .monaco-drag-image, - .monaco-list${I}:focus .monaco-list-row.selected.focused { color: ${_.listFocusAndSelectionForeground}; } - `),_.listInactiveFocusBackground&&(ka.push(`.monaco-list${I} .monaco-list-row.focused { background-color: ${_.listInactiveFocusBackground}; }`),ka.push(`.monaco-list${I} .monaco-list-row.focused:hover { background-color: ${_.listInactiveFocusBackground}; }`)),_.listInactiveSelectionBackground&&(ka.push(`.monaco-list${I} .monaco-list-row.selected { background-color: ${_.listInactiveSelectionBackground}; }`),ka.push(`.monaco-list${I} .monaco-list-row.selected:hover { background-color: ${_.listInactiveSelectionBackground}; }`)),_.listInactiveSelectionForeground&&ka.push(`.monaco-list${I} .monaco-list-row.selected { color: ${_.listInactiveSelectionForeground}; }`),_.listHoverBackground&&ka.push(`.monaco-list${I}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${_.listHoverBackground}; }`),_.listHoverForeground&&ka.push(`.monaco-list${I} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${_.listHoverForeground}; }`),_.listSelectionOutline&&ka.push(`.monaco-list${I} .monaco-list-row.selected { outline: 1px dotted ${_.listSelectionOutline}; outline-offset: -1px; }`),_.listFocusOutline&&ka.push(` + .monaco-list${ee}:focus .monaco-list-row.selected.focused { color: ${A.listFocusAndSelectionForeground}; } + `),A.listInactiveFocusBackground&&(de.push(`.monaco-list${ee} .monaco-list-row.focused { background-color: ${A.listInactiveFocusBackground}; }`),de.push(`.monaco-list${ee} .monaco-list-row.focused:hover { background-color: ${A.listInactiveFocusBackground}; }`)),A.listInactiveSelectionBackground&&(de.push(`.monaco-list${ee} .monaco-list-row.selected { background-color: ${A.listInactiveSelectionBackground}; }`),de.push(`.monaco-list${ee} .monaco-list-row.selected:hover { background-color: ${A.listInactiveSelectionBackground}; }`)),A.listInactiveSelectionForeground&&de.push(`.monaco-list${ee} .monaco-list-row.selected { color: ${A.listInactiveSelectionForeground}; }`),A.listHoverBackground&&de.push(`.monaco-list${ee}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${A.listHoverBackground}; }`),A.listHoverForeground&&de.push(`.monaco-list${ee} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${A.listHoverForeground}; }`),A.listSelectionOutline&&de.push(`.monaco-list${ee} .monaco-list-row.selected { outline: 1px dotted ${A.listSelectionOutline}; outline-offset: -1px; }`),A.listFocusOutline&&de.push(` .monaco-drag-image, - .monaco-list${I}:focus .monaco-list-row.focused { outline: 1px solid ${_.listFocusOutline}; outline-offset: -1px; } - `),_.listInactiveFocusOutline&&ka.push(`.monaco-list${I} .monaco-list-row.focused { outline: 1px dotted ${_.listInactiveFocusOutline}; outline-offset: -1px; }`),_.listHoverOutline&&ka.push(`.monaco-list${I} .monaco-list-row:hover { outline: 1px dashed ${_.listHoverOutline}; outline-offset: -1px; }`),_.listDropBackground&&ka.push(` - .monaco-list${I}.drop-target, - .monaco-list${I} .monaco-list-rows.drop-target, - .monaco-list${I} .monaco-list-row.drop-target { background-color: ${_.listDropBackground} !important; color: inherit !important; } - `),_.listFilterWidgetBackground&&ka.push(`.monaco-list-type-filter { background-color: ${_.listFilterWidgetBackground} }`),_.listFilterWidgetOutline&&ka.push(`.monaco-list-type-filter { border: 1px solid ${_.listFilterWidgetOutline}; }`),_.listFilterWidgetNoMatchesOutline&&ka.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${_.listFilterWidgetNoMatchesOutline}; }`),_.listMatchesShadow&&ka.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${_.listMatchesShadow}; }`);const va=ka.join(` -`);va!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=va)}}const _a={listFocusBackground:B.a.fromHex("#7FB0D0"),listActiveSelectionBackground:B.a.fromHex("#0E639C"),listActiveSelectionForeground:B.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:B.a.fromHex("#094771"),listFocusAndSelectionForeground:B.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:B.a.fromHex("#3F3F46"),listHoverBackground:B.a.fromHex("#2A2D2E"),listDropBackground:B.a.fromHex("#383B3D"),treeIndentGuidesStroke:B.a.fromHex("#a9a9a9")},fb={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function za(_,I){const ka=[];let va=0,La=0;for(;va<_.length||La<I.length;)if(va>=_.length)ka.push(I[La++]);else if(La>=I.length)ka.push(_[va++]);else{if(_[va]===I[La]){ka.push(_[va]),va++,La++;continue}_[va]<I[La]?ka.push(_[va++]):ka.push(I[La++])}return ka}const ua=(_,I)=>_-I;class ba{constructor(_,I){this._templateId=_,this.renderers=I}get templateId(){return this._templateId}renderTemplate(_){return this.renderers.map(I=>I.renderTemplate(_))}renderElement(_,I,ka,va){let La=0;for(const $a of this.renderers)$a.renderElement(_,I,ka[La++],va)}disposeElement(_,I,ka,va){let La=0;for(const $a of this.renderers)$a.disposeElement&&$a.disposeElement(_,I,ka[La],va),La+=1}disposeTemplate(_){let I=0;for(const ka of this.renderers)ka.disposeTemplate(_[I++])}}class ${constructor(_){this.accessibilityProvider=_,this.templateId="a18n"}renderTemplate(_){return _}renderElement(_,I,ka){const va=this.accessibilityProvider.getAriaLabel(_);va?ka.setAttribute("aria-label",va):ka.removeAttribute("aria-label");const La=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(_);"number"==typeof La?ka.setAttribute("aria-level",""+La):ka.removeAttribute("aria-level")}disposeTemplate(_){}}class S{constructor(_,I){this.list=_,this.dnd=I}getDragElements(_){const I=this.list.getSelectedElements();return I.indexOf(_)>-1?I:[_]}getDragURI(_){return this.dnd.getDragURI(_)}getDragLabel(_,I){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(_,I)}onDragStart(_,I){this.dnd.onDragStart&&this.dnd.onDragStart(_,I)}onDragOver(_,I,ka,va){return this.dnd.onDragOver(_,I,ka,va)}onDragEnd(_){this.dnd.onDragEnd&&this.dnd.onDragEnd(_)}drop(_,I,ka,va){this.dnd.drop(_,I,ka,va)}}class aa{constructor(_,I,ka,va,La=fb){var $a;this.user=_,this._options=La,this.eventBufferer=new s.c(),this._ariaLabel="",this.disposables=new l.b(),this.didJustPressContextMenuKey=!1,this._onDidDispose=new s.a(),this.onDidDispose=this._onDidDispose.event;const Ab=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===($a=this._options.accessibilityProvider)||void 0===$a?void 0:$a.getWidgetRole():"list";this.selection=new H("listbox"!==Ab),this.focus=new Z("focused"),Object(C.g)(La,_a,!1);const gb=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=La.accessibilityProvider,this.accessibilityProvider&&(gb.push(new $(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),va=va.map(wb=>new ba(wb.templateId,[...gb,wb]));const Fb=Object.assign(Object.assign({},La),{dnd:La.dnd&&new S(this,La.dnd)});if(this.view=new Q.b(I,ka,va,Fb),this.view.domNode.setAttribute("role",Ab),La.styleController)this.styleController=La.styleController(this.view.domId);else{const wb=P.v(this.view.domNode);this.styleController=new hb(wb,this.view.domId)}if(this.spliceable=new k([new ea(this.focus,this.view,La.identityProvider),new ea(this.selection,this.view,La.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=s.b.map(Object(z.a)(this.view.domNode,"focus",!0),()=>null),this.onDidBlur=s.b.map(Object(z.a)(this.view.domNode,"blur",!0),()=>null),this.disposables.add(new ma(this,this.view)),"boolean"!=typeof La.keyboardSupport||La.keyboardSupport){const wb=new Ba(this,this.view,La);this.disposables.add(wb)}if(La.keyboardNavigationLabelProvider){const wb=La.keyboardNavigationDelegate||N;this.typeLabelController=new V(this,this.view,La.keyboardNavigationLabelProvider,wb),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(La),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),La.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return s.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),_=>this.toListEvent(_))}get onDidChangeSelection(){return s.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),_=>this.toListEvent(_))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){const _=s.b.chain(Object(z.a)(this.view.domNode,"keydown")).map(va=>new L.a(va)).filter(va=>this.didJustPressContextMenuKey=58===va.keyCode||va.shiftKey&&68===va.keyCode).filter(va=>(va.preventDefault(),va.stopPropagation(),!1)).event,I=s.b.chain(Object(z.a)(this.view.domNode,"keyup")).filter(()=>{const va=this.didJustPressContextMenuKey;return this.didJustPressContextMenuKey=!1,va}).filter(()=>this.getFocus().length>0&&!!this.view.domElement(this.getFocus()[0])).map(va=>{const La=this.getFocus()[0];return{index:La,element:this.view.element(La),anchor:this.view.domElement(La),browserEvent:va}}).event,ka=s.b.chain(this.view.onContextMenu).filter(()=>!this.didJustPressContextMenuKey).map(({element:va,index:La,browserEvent:$a})=>({element:va,index:La,anchor:{x:$a.clientX+1,y:$a.clientY},browserEvent:$a})).event;return s.b.any(_,I,ka)}get onKeyDown(){return Object(z.a)(this.view.domNode,"keydown")}createMouseController(_){return new G(this)}updateOptions(_={}){this._options=Object.assign(Object.assign({},this._options),_),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(_)}get options(){return this._options}splice(_,I,ka=[]){if(_<0||_>this.view.length)throw new D(this.user,"Invalid start index: "+_);if(I<0)throw new D(this.user,"Invalid delete count: "+I);0===I&&0===ka.length||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(_,I,ka))}rerender(){this.view.rerender()}element(_){return this.view.element(_)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(_){this.view.setScrollTop(_)}get ariaLabel(){return this._ariaLabel}set ariaLabel(_){this._ariaLabel=_,this.view.domNode.setAttribute("aria-label",_)}domFocus(){this.view.domNode.focus()}layout(_,I){this.view.layout(_,I)}setSelection(_,I){for(const ka of _)if(ka<0||ka>=this.length)throw new D(this.user,"Invalid index "+ka);this.selection.set(_,I)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(_=>this.view.element(_))}setFocus(_,I){for(const ka of _)if(ka<0||ka>=this.length)throw new D(this.user,"Invalid index "+ka);this.focus.set(_,I)}focusNext(_=1,I=!1,ka,va){if(0===this.length)return;const La=this.focus.get(),$a=this.findNextIndex(La.length>0?La[0]+_:0,I,va);$a>-1&&this.setFocus([$a],ka)}focusPrevious(_=1,I=!1,ka,va){if(0===this.length)return;const La=this.focus.get(),$a=this.findPreviousIndex(La.length>0?La[0]-_:0,I,va);$a>-1&&this.setFocus([$a],ka)}focusNextPage(_,I){let ka=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);ka=0===ka?0:ka-1;const va=this.view.element(ka),La=this.getFocusedElements()[0];if(La!==va){const $a=this.findPreviousIndex(ka,!1,I);$a>-1&&La!==this.view.element($a)?this.setFocus([$a],_):this.setFocus([ka],_)}else{const $a=this.view.getScrollTop();this.view.setScrollTop($a+this.view.renderHeight-this.view.elementHeight(ka)),this.view.getScrollTop()!==$a&&setTimeout(()=>this.focusNextPage(_,I),0)}}focusPreviousPage(_,I){let ka;const va=this.view.getScrollTop();ka=0===va?this.view.indexAt(va):this.view.indexAfter(va-1);const La=this.view.element(ka),$a=this.getFocusedElements()[0];if($a!==La){const Ab=this.findNextIndex(ka,!1,I);Ab>-1&&$a!==this.view.element(Ab)?this.setFocus([Ab],_):this.setFocus([ka],_)}else{const Ab=va;this.view.setScrollTop(va-this.view.renderHeight),this.view.getScrollTop()!==Ab&&setTimeout(()=>this.focusPreviousPage(_,I),0)}}focusLast(_,I){if(0===this.length)return;const ka=this.findPreviousIndex(this.length-1,!1,I);ka>-1&&this.setFocus([ka],_)}focusFirst(_,I){this.focusNth(0,_,I)}focusNth(_,I,ka){if(0===this.length)return;const va=this.findNextIndex(_,!1,ka);va>-1&&this.setFocus([va],I)}findNextIndex(_,I=!1,ka){for(let va=0;va<this.length;va++){if(_>=this.length&&!I)return-1;if(_%=this.length,!ka||ka(this.element(_)))return _;_++}return-1}findPreviousIndex(_,I=!1,ka){for(let va=0;va<this.length;va++){if(_<0&&!I)return-1;if(_=(this.length+_%this.length)%this.length,!ka||ka(this.element(_)))return _;_--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map(_=>this.view.element(_))}reveal(_,I){if(_<0||_>=this.length)throw new D(this.user,"Invalid index "+_);const ka=this.view.getScrollTop(),va=this.view.elementTop(_),La=this.view.elementHeight(_);if(Object(q.h)(I)){const $a=La-this.view.renderHeight;this.view.setScrollTop($a*Object(x.b)(I,0,1)+va)}else{const $a=va+La,Ab=ka+this.view.renderHeight;va<ka&&$a>=Ab||(va<ka?this.view.setScrollTop(va):$a>=Ab&&this.view.setScrollTop($a-this.view.renderHeight))}}getRelativeTop(_){if(_<0||_>=this.length)throw new D(this.user,"Invalid index "+_);const I=this.view.getScrollTop(),ka=this.view.elementTop(_),va=this.view.elementHeight(_);if(ka<I||ka+va>I+this.view.renderHeight)return null;const La=va-this.view.renderHeight;return Math.abs((I-ka)/La)}getHTMLElement(){return this.view.domNode}style(_){this.styleController.style(_)}toListEvent({indexes:_,browserEvent:I}){return{indexes:_,elements:_.map(ka=>this.view.element(ka)),browserEvent:I}}_onFocusChange(){const _=this.focus.get();P.ab(this.view.domNode,"element-focused",_.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var _;const I=this.focus.get();if(I.length>0){let ka;(null===(_=this.accessibilityProvider)||void 0===_?void 0:_.getActiveDescendantId)&&(ka=this.accessibilityProvider.getActiveDescendantId(this.view.element(I[0]))),this.view.domNode.setAttribute("aria-activedescendant",ka||this.view.getElementDomId(I[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const _=this.selection.get();P.ab(this.view.domNode,"selection-none",0===_.length),P.ab(this.view.domNode,"selection-single",1===_.length),P.ab(this.view.domNode,"selection-multiple",_.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}U([F.a],aa.prototype,"onDidChangeFocus",null),U([F.a],aa.prototype,"onDidChangeSelection",null),U([F.a],aa.prototype,"onContextMenu",null)},function(Ga,t,f){"use strict";function l(F,P){let Y=F.getCount(),R=F.findTokenIndexAtOffset(P),L=F.getLanguageId(R),s=R;for(;s+1<Y&&F.getLanguageId(s+1)===L;)s++;let z=R;for(;z>0&&F.getLanguageId(z-1)===L;)z--;return new q(F,L,z,s+1,F.getStartOffset(z),F.getEndOffset(s))}f.d(t,"a",function(){return l}),f.d(t,"b",function(){return y});class q{constructor(F,P,Y,R,L,s){this._actual=F,this.languageId=P,this._firstTokenIndex=Y,this._lastTokenIndex=R,this.firstCharOffset=L,this._lastCharOffset=s}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(F){return this._actual.getLineContent().substring(0,this.firstCharOffset+F)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(F){return this._actual.findTokenIndexAtOffset(F+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(F){return this._actual.getStandardTokenType(F+this._firstTokenIndex)}}function y(F){return 0!=(7&F)}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return y}),f.d(t,"a",function(){return F});var l=f(163);const q=[];function y(P,Y,R){q.push([P,new l.a(Y,[],R)])}function F(){return q}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return L}),f(196);var l=f(2),q=f(60),y=f(1),F=f(14),P=f(67),Y=f(6),R=f(123);class L extends l.a{constructor(s,z={}){var D,Q,B;let C,k;switch(super(),this._onDidBlur=this._register(new Y.a()),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new Y.a()),this.onDidCancel=this._onDidCancel.event,this._onDidRun=this._register(new Y.a()),this.onDidRun=this._onDidRun.event,this._onDidBeforeRun=this._register(new Y.a()),this.onDidBeforeRun=this._onDidBeforeRun.event,this.options=z,this._context=null!==(D=z.context)&&void 0!==D?D:null,this._orientation=null!==(Q=this.options.orientation)&&void 0!==Q?Q:0,this._triggerKeys=null!==(B=this.options.triggerKeys)&&void 0!==B?B:{keys:[3,10],keyDown:!1},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new q.b(),this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(w=>this._onDidRun.fire(w))),this._register(this._actionRunner.onDidBeforeRun(w=>this._onDidBeforeRun.fire(w))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==z.animated&&y.e(this.domNode,"animated"),this._orientation){case 0:C=15,k=17;break;case 1:C=17,k=15,this.domNode.className+=" reverse";break;case 2:C=16,k=18,this.domNode.className+=" vertical";break;case 3:C=18,k=16,this.domNode.className+=" vertical reverse"}this._register(y.i(this.domNode,y.c.KEY_DOWN,w=>{const x=new P.a(w);let u=!0;x.equals(C)?u=this.focusPrevious():x.equals(k)?u=this.focusNext():x.equals(9)?this._onDidCancel.fire():this.isTriggerKeyEvent(x)?this._triggerKeys.keyDown&&this.doTrigger(x):u=!1,u&&(x.preventDefault(),x.stopPropagation())})),this._register(y.i(this.domNode,y.c.KEY_UP,w=>{const x=new P.a(w);this.isTriggerKeyEvent(x)?(this._triggerKeys.keyDown||this.doTrigger(x),x.preventDefault(),x.stopPropagation()):(x.equals(2)||x.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(y.bb(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{y.x()!==this.domNode&&y.L(y.x(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),s.appendChild(this.domNode)}isTriggerKeyEvent(s){let z=!1;return this._triggerKeys.keys.forEach(D=>{z=z||s.equals(D)}),z}updateFocusedItem(){for(let s=0;s<this.actionsList.children.length;s++){const z=this.actionsList.children[s];if(y.L(y.x(),z)){this.focusedItem=s;break}}}get context(){return this._context}set context(s){this._context=s,this.viewItems.forEach(z=>z.setActionContext(s))}get actionRunner(){return this._actionRunner}set actionRunner(s){s&&(this._actionRunner=s,this.viewItems.forEach(z=>z.actionRunner=s))}getContainer(){return this.domNode}push(s,z={}){const D=Array.isArray(s)?s:[s];let Q=F.h(z.index)?z.index:null;D.forEach(B=>{const C=document.createElement("li");let k;C.className="action-item",C.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(y.i(C,y.c.CONTEXT_MENU,w=>{y.b.stop(w,!0)})),this.options.actionViewItemProvider&&(k=this.options.actionViewItemProvider(B)),k||(k=new R.a(this.context,B,z)),k.actionRunner=this._actionRunner,k.setActionContext(this.context),k.render(C),null===Q||Q<0||Q>=this.actionsList.children.length?(this.actionsList.appendChild(C),this.viewItems.push(k)):(this.actionsList.insertBefore(C,this.actionsList.children[Q]),this.viewItems.splice(Q,0,k),Q++)}),this.focusedItem&&this.focus(this.focusedItem)}clear(){Object(l.f)(this.viewItems),this.viewItems=[],y.s(this.actionsList)}focus(s){let z=!1,D;void 0===s?z=!0:"number"==typeof s?D=s:"boolean"==typeof s&&(z=s),z&&void 0===this.focusedItem?(this.focusedItem=-1,this.focusNext()):(void 0!==D&&(this.focusedItem=D),this.updateFocus())}focusNext(){void 0===this.focusedItem&&(this.focusedItem=this.viewItems.length-1);const s=this.focusedItem;let z;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=s,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,z=this.viewItems[this.focusedItem]}while(this.focusedItem!==s&&!z.isEnabled());return this.focusedItem!==s||z.isEnabled()||(this.focusedItem=void 0),this.updateFocus(),!0}focusPrevious(){void 0===this.focusedItem&&(this.focusedItem=0);const s=this.focusedItem;let z;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=s,!1;this.focusedItem=this.viewItems.length-1}z=this.viewItems[this.focusedItem]}while(this.focusedItem!==s&&!z.isEnabled());return this.focusedItem!==s||z.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0),!0}updateFocus(s,z){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:z});for(let D=0;D<this.viewItems.length;D++){const Q=this.viewItems[D];D===this.focusedItem?F.g(Q.isEnabled)&&(Q.isEnabled()&&F.g(Q.focus)?Q.focus(s):this.actionsList.focus({preventScroll:z})):F.g(Q.blur)&&Q.blur()}}doTrigger(s){if(void 0===this.focusedItem)return;const z=this.viewItems[this.focusedItem];if(z instanceof R.b){const D=null===z._context||void 0===z._context?s:z._context;this.run(z._action,D)}}run(s,z){return this._actionRunner.run(s,z)}dispose(){Object(l.f)(this.viewItems),this.viewItems=[],y.S(this.getContainer()),super.dispose()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(76);class q extends l.a{constructor(F){super(0);for(let P=0,Y=F.length;P<Y;P++)this.set(F.charCodeAt(P),2);this.set(32,1),this.set(9,1)}}const y=function(F){let P={};return Y=>(P.hasOwnProperty(Y)||(P[Y]=F(Y)),P[Y])}(F=>new q(F))},function(Ga,t,f){"use strict";function l(y,F,P){return Math.min(Math.max(y,F),P)}f.d(t,"b",function(){return l}),f.d(t,"a",function(){return q});class q{constructor(){this._n=1,this._val=0}update(y){return this._val=this._val+(y-this._val)/this._n,this._n+=1,this}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return P}),f.d(t,"a",function(){return Q});var l=f(8),q=f(132),y=f(3);class F{constructor(B,C,k,w,x,u){this.languageIdentifier=B,this.index=C,this.open=k,this.close=w,this.forwardRegex=x,this.reversedRegex=u,this._openSet=F._toSet(this.open),this._closeSet=F._toSet(this.close)}isOpen(B){return this._openSet.has(B)}isClose(B){return this._closeSet.has(B)}static _toSet(B){const C=new Set();for(const k of B)C.add(k);return C}}class P{constructor(B,C){const k=function(w){const x=w.length;w=w.map(Z=>[Z[0].toLowerCase(),Z[1].toLowerCase()]);const u=[];for(let Z=0;Z<x;Z++)u[Z]=Z;const A=(Z,H)=>{const[ea,oa]=Z,[ga,Ba]=H;return ea===ga||ea===Ba||oa===ga||oa===Ba},U=(Z,H)=>{const ea=Math.min(Z,H),oa=Math.max(Z,H);for(let ga=0;ga<x;ga++)u[ga]===oa&&(u[ga]=ea)};for(let Z=0;Z<x;Z++){const H=w[Z];for(let ea=Z+1;ea<x;ea++)A(H,w[ea])&&U(u[Z],u[ea])}const da=[];for(let Z=0;Z<x;Z++){let H=[],ea=[];for(let oa=0;oa<x;oa++)if(u[oa]===Z){const[ga,Ba]=w[oa];H.push(ga),ea.push(Ba)}H.length>0&&da.push({open:H,close:ea})}return da}(C);this.brackets=k.map((w,x)=>new F(B,x,w.open,w.close,function(u,A,U,da){let Z=[];Z=Z.concat(u),Z=Z.concat(A);for(let H=0,ea=Z.length;H<ea;H++)Y(Z[H],U,da,Z);return Z=L(Z),Z.sort(R),Z.reverse(),z(Z)}(w.open,w.close,k,x),function(u,A,U,da){let Z=[];Z=Z.concat(u),Z=Z.concat(A);for(let H=0,ea=Z.length;H<ea;H++)Y(Z[H],U,da,Z);return Z=L(Z),Z.sort(R),Z.reverse(),z(Z.map(D))}(w.open,w.close,k,x))),this.forwardRegex=function(w){let x=[];for(const u of w){for(const A of u.open)x.push(A);for(const A of u.close)x.push(A)}return x=L(x),z(x)}(this.brackets),this.reversedRegex=function(w){let x=[];for(const u of w){for(const A of u.open)x.push(A);for(const A of u.close)x.push(A)}return x=L(x),z(x.map(D))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const w of this.brackets){for(const x of w.open)this.textIsBracket[x]=w,this.textIsOpenBracket[x]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,x.length);for(const x of w.close)this.textIsBracket[x]=w,this.textIsOpenBracket[x]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,x.length)}}}function Y(B,C,k,w){for(let x=0,u=C.length;x<u;x++){if(x===k)continue;const A=C[x];for(const U of A.open)U.indexOf(B)>=0&&w.push(U);for(const U of A.close)U.indexOf(B)>=0&&w.push(U)}}function R(B,C){return B.length-C.length}function L(B){if(B.length<=1)return B;const C=[],k=new Set();for(const w of B)k.has(w)||(C.push(w),k.add(w));return C}function s(B){const C=/^[\w ]+$/.test(B);return B=l.v(B),C?`\\b${B}\\b`:B}function z(B){let C=`(${B.map(s).join(")|(")})`;return l.q(C,!0)}const D=function(){let B=null,C=null;return function(k){return B!==k&&(B=k,C=function(w){if(q.d){const x=new Uint16Array(w.length);let u=0;for(let A=w.length-1;A>=0;A--)x[u++]=w.charCodeAt(A);return q.c().decode(x)}{let x=[],u=0;for(let A=w.length-1;A>=0;A--)x[u++]=w.charAt(A);return x.join("")}}(B)),C}}();class Q{static _findPrevBracketInText(B,C,k,w){let x=k.match(B);if(!x)return null;let u=k.length-(x.index||0),A=x[0].length,U=w+u;return new y.a(C,U-A+1,C,U+1)}static findPrevBracketInRange(B,C,k,w,x){const u=D(k).substring(k.length-x,k.length-w);return this._findPrevBracketInText(B,C,u,w)}static findNextBracketInText(B,C,k,w){let x=k.match(B);if(!x)return null;let u=x.index||0,A=x[0].length;if(0===A)return null;let U=w+u;return new y.a(C,U+1,C,U+1+A)}static findNextBracketInRange(B,C,k,w,x){const u=k.substring(w,x);return this.findNextBracketInText(B,C,u,w)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("telemetryService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("clipboardService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("textModelService")},function(Ga,t,f){"use strict";f.d(t,"b",function(){return z}),f.d(t,"a",function(){return D}),f(196);var l=f(11),q=f(0),y=f(2),F=f(60),P=f(1),Y=f(14),R=f(61),L=f(125),s=f(34);class z extends y.a{constructor(Q,B,C={}){super(),this.options=C,this._context=Q||this,this._action=B,B instanceof F.a&&this._register(B.onDidChange(k=>{this.element&&this.handleActionChangeEvent(k)}))}handleActionChangeEvent(Q){void 0!==Q.enabled&&this.updateEnabled(),void 0!==Q.checked&&this.updateChecked(),void 0!==Q.class&&this.updateClass(),void 0!==Q.label&&(this.updateLabel(),this.updateTooltip()),void 0!==Q.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new F.b())),this._actionRunner}set actionRunner(Q){this._actionRunner=Q}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(Q){this._context=Q}render(Q){const B=this.element=Q;this._register(R.b.addTarget(Q));const C=this.options&&this.options.draggable;C&&(Q.draggable=!0,s.h&&this._register(P.i(Q,P.c.DRAG_START,k=>{var w;return null===(w=k.dataTransfer)||void 0===w?void 0:w.setData(L.a.TEXT,this._action.label)}))),this._register(P.i(B,R.a.Tap,k=>this.onClick(k))),this._register(P.i(B,P.c.MOUSE_DOWN,k=>{C||P.b.stop(k,!0),this._action.enabled&&0===k.button&&P.e(B,"active")})),l.f&&this._register(P.i(B,P.c.CONTEXT_MENU,k=>{0===k.button&&!0===k.ctrlKey&&this.onClick(k)})),this._register(P.i(B,P.c.CLICK,k=>{P.b.stop(k,!0),this.options&&this.options.isMenu||l.j(()=>this.onClick(k))})),this._register(P.i(B,P.c.DBLCLICK,k=>{P.b.stop(k,!0)})),[P.c.MOUSE_UP,P.c.MOUSE_OUT].forEach(k=>{this._register(P.i(B,k,w=>{P.b.stop(w),P.Q(B,"active")}))})}onClick(Q){var B;P.b.stop(Q,!0);const C=Y.l(this._context)?(null===(B=this.options)||void 0===B?void 0:B.useEventAsContext)?Q:void 0:this._context;this.actionRunner.run(this._action,C)}focus(){this.element&&(this.element.focus(),P.e(this.element,"focused"))}blur(){this.element&&(this.element.blur(),P.Q(this.element,"focused"))}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(P.S(this.element),this.element=void 0),super.dispose()}}class D extends z{constructor(Q,B,C={}){super(Q,B,C),this.options=C,this.options.icon=void 0!==C.icon&&C.icon,this.options.label=void 0===C.label||C.label,this.cssClass=""}render(Q){super.render(Q),this.element&&(this.label=P.p(this.element,P.a("a.action-label"))),this.label&&(this._action.id===F.c.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(P.p(this.element,P.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){super.focus(),this.label&&this.label.focus()}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let Q=null;this.getAction().tooltip?Q=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(Q=this.getAction().label,this.options.keybinding&&(Q=q.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",Q,this.options.keybinding))),Q&&this.label&&(this.label.title=Q)}updateClass(){this.cssClass&&this.label&&P.R(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(P.e(this.label,"codicon"),this.cssClass&&P.f(this.label,this.cssClass)),this.updateEnabled()):this.label&&P.Q(this.label,"codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),P.Q(this.label,"disabled"),this.label.tabIndex=0),this.element&&P.Q(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),P.e(this.label,"disabled"),P.T(this.label)),this.element&&P.e(this.element,"disabled"))}updateChecked(){this.label&&(this.getAction().checked?P.e(this.label,"checked"):P.Q(this.label,"checked"))}}},function(Ga,t,f){"use strict";f.d(t,"f",function(){return Y}),f.d(t,"b",function(){return s}),f.d(t,"c",function(){return z}),f.d(t,"a",function(){return Q}),f.d(t,"e",function(){return k}),f.d(t,"d",function(){return w});var l=f(15),q=f(111),y=f(9),F=f(3),P=f(12);function Y(x){let u=0,A=0,U=0,da=0;for(let Z=0,H=x.length;Z<H;Z++){const ea=x.charCodeAt(Z);13===ea?(0===u&&(A=Z),u++,Z+1<H&&10===x.charCodeAt(Z+1)?(da|=2,Z++):da|=3,U=Z+1):10===ea&&(da|=1,0===u&&(A=Z),u++,U=Z+1)}return 0===u&&(A=x.length),[u,A,x.length-U,da]}function R(x){return(16384|x<<0|2<<23)>>>0}const L=new Uint32Array(0).buffer;class s{constructor(){this.tokens=[]}add(x,u){if(this.tokens.length>0){const A=this.tokens[this.tokens.length-1];if(A.startLineNumber+A.tokens.length-1+1===x)return void A.tokens.push(u)}this.tokens.push(new B(x,[u]))}}class z{constructor(x){this._tokens=x,this._tokenCount=x.length/4}toString(x){let u=[];for(let A=0;A<this._tokenCount;A++)u.push(`(${this._getDeltaLine(A)+x},${this._getStartCharacter(A)}-${this._getEndCharacter(A)})`);return`[${u.join(",")}]`}getMaxDeltaLine(){const x=this._getTokenCount();return 0===x?-1:this._getDeltaLine(x-1)}getRange(){const x=this._getTokenCount();if(0===x)return null;const u=this._getStartCharacter(0),A=this._getDeltaLine(x-1),U=this._getEndCharacter(x-1);return new F.a(0,u+1,A,U+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(x){return this._tokens[4*x]}_getStartCharacter(x){return this._tokens[4*x+1]}_getEndCharacter(x){return this._tokens[4*x+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(x){let u=0,A=this._getTokenCount()-1;for(;u<A;){const U=u+Math.floor((A-u)/2),da=this._getDeltaLine(U);if(da<x)u=U+1;else{if(!(da>x)){let Z=U;for(;Z>u&&this._getDeltaLine(Z-1)===x;)Z--;let H=U;for(;H<A&&this._getDeltaLine(H+1)===x;)H++;return new D(this._tokens.subarray(4*Z,4*H+4))}A=U-1}}return this._getDeltaLine(u)===x?new D(this._tokens.subarray(4*u,4*u+4)):null}clear(){this._tokenCount=0}removeTokens(x,u,A,U){const da=this._tokens,Z=this._tokenCount;let H=0,ea=!1,oa=0;for(let ga=0;ga<Z;ga++){const Ba=4*ga,N=da[Ba],V=da[Ba+1],ma=da[Ba+2],ta=da[Ba+3];if((N>x||N===x&&ma>=u)&&(N<A||N===A&&V<=U))ea=!0;else{if(0===H&&(oa=N),ea){const Da=4*H;da[Da]=N-oa,da[Da+1]=V,da[Da+2]=ma,da[Da+3]=ta}H++}}return this._tokenCount=H,oa}split(x,u,A,U){const da=this._tokens,Z=this._tokenCount;let H=[],ea=[],oa=H,ga=0,Ba=0;for(let N=0;N<Z;N++){const V=4*N,ma=da[V],ta=da[V+1],Da=da[V+2],Ka=da[V+3];if(ma>x||ma===x&&Da>=u){if(ma<A||ma===A&&ta<=U)continue;oa!==ea&&(oa=ea,ga=0,Ba=ma)}oa[ga++]=ma-Ba,oa[ga++]=ta,oa[ga++]=Da,oa[ga++]=Ka}return[new z(new Uint32Array(H)),new z(new Uint32Array(ea)),Ba]}acceptDeleteRange(x,u,A,U,da){const Z=this._tokens,H=this._tokenCount,ea=U-u;let oa=0,ga=!1;for(let Ba=0;Ba<H;Ba++){const N=4*Ba;let V=Z[N],ma=Z[N+1],ta=Z[N+2];const Da=Z[N+3];if(V<u||V===u&&ta<=A){oa++;continue}if(V===u&&ma<A)V===U&&ta>da?ta-=da-A:ta=A;else if(V===u&&ma===A){if(!(V===U&&ta>da)){ga=!0;continue}ta-=da-A}else if(V<U||V===U&&ma<da){if(!(V===U&&ta>da)){ga=!0;continue}V===u?(ma=A,ta=ma+(ta-da)):(ma=0,ta=ma+(ta-da))}else if(V>U){if(0===ea&&!ga){oa=H;break}V-=ea}else{if(!(V===U&&ma>=da))throw new Error("Not possible!");x&&0===V&&(ma+=x,ta+=x),V-=ea,ma-=da-A,ta-=da-A}const Ka=4*oa;Z[Ka]=V,Z[Ka+1]=ma,Z[Ka+2]=ta,Z[Ka+3]=Da,oa++}this._tokenCount=oa}acceptInsertText(x,u,A,U,da,Z){const H=0===A&&1===U&&(Z>=48&&Z<=57||Z>=65&&Z<=90||Z>=97&&Z<=122),ea=this._tokens,oa=this._tokenCount;for(let ga=0;ga<oa;ga++){const Ba=4*ga;let N=ea[Ba],V=ea[Ba+1],ma=ea[Ba+2];if(!(N<x||N===x&&ma<u)){if(N===x&&ma===u){if(!H)continue;ma+=1}else if(N===x&&V<u&&u<ma)0===A?ma+=U:ma=u;else{if(N===x&&V===u&&H)continue;if(N===x)if(N+=A,0===A)V+=U,ma+=U;else{const ta=ma-V;V=da+(V-u),ma=V+ta}else N+=A}ea[Ba]=N,ea[Ba+1]=V,ea[Ba+2]=ma}}}}class D{constructor(x){this._tokens=x}getCount(){return this._tokens.length/4}getStartCharacter(x){return this._tokens[4*x+1]}getEndCharacter(x){return this._tokens[4*x+2]}getMetadata(x){return this._tokens[4*x+3]}}class Q{constructor(x,u){this.startLineNumber=x,this.tokens=u,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}toString(){return this.tokens.toString(this.startLineNumber)}_updateEndLineNumber(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}isEmpty(){return this.tokens.isEmpty()}getLineTokens(x){return this.startLineNumber<=x&&x<=this.endLineNumber?this.tokens.getLineTokens(x-this.startLineNumber):null}getRange(){const x=this.tokens.getRange();return x?new F.a(this.startLineNumber+x.startLineNumber,x.startColumn,this.startLineNumber+x.endLineNumber,x.endColumn):x}removeTokens(x){const u=x.startLineNumber-this.startLineNumber,A=x.endLineNumber-this.startLineNumber;this.startLineNumber+=this.tokens.removeTokens(u,x.startColumn-1,A,x.endColumn-1),this._updateEndLineNumber()}split(x){const u=x.startLineNumber-this.startLineNumber,A=x.endLineNumber-this.startLineNumber,[U,da,Z]=this.tokens.split(u,x.startColumn-1,A,x.endColumn-1);return[new Q(this.startLineNumber,U),new Q(this.startLineNumber+Z,da)]}applyEdit(x,u){const[A,U,da]=Y(u);this.acceptEdit(x,A,U,da,u.length>0?u.charCodeAt(0):0)}acceptEdit(x,u,A,U,da){this._acceptDeleteRange(x),this._acceptInsertText(new y.a(x.startLineNumber,x.startColumn),u,A,U,da),this._updateEndLineNumber()}_acceptDeleteRange(x){if(x.startLineNumber===x.endLineNumber&&x.startColumn===x.endColumn)return;const u=x.startLineNumber-this.startLineNumber,A=x.endLineNumber-this.startLineNumber;if(A<0){const da=A-u;return void(this.startLineNumber-=da)}const U=this.tokens.getMaxDeltaLine();if(!(u>=U+1)){if(u<0&&A>=U+1)return this.startLineNumber=0,void this.tokens.clear();if(u<0){const da=-u;this.startLineNumber-=da,this.tokens.acceptDeleteRange(x.startColumn-1,0,0,A,x.endColumn-1)}else this.tokens.acceptDeleteRange(0,u,x.startColumn-1,A,x.endColumn-1)}}_acceptInsertText(x,u,A,U,da){if(0===u&&0===A)return;const Z=x.lineNumber-this.startLineNumber;if(Z<0)return void(this.startLineNumber+=u);Z>=this.tokens.getMaxDeltaLine()+1||this.tokens.acceptInsertText(Z,x.column-1,u,A,U,da)}}class B{constructor(x,u){this.startLineNumber=x,this.tokens=u}}function C(x){return x instanceof Uint32Array?x:new Uint32Array(x)}class k{constructor(){this._pieces=[],this._isComplete=!1}flush(){this._pieces=[],this._isComplete=!1}set(x,u){this._pieces=x||[],this._isComplete=u}setPartial(x,u){let A=x;if(u.length>0){const da=u[0].getRange(),Z=u[u.length-1].getRange();if(!da||!Z)return x;A=x.plusRange(da).plusRange(Z)}let U=null;for(let da=0,Z=this._pieces.length;da<Z;da++){const H=this._pieces[da];if(H.endLineNumber<A.startLineNumber)continue;if(H.startLineNumber>A.endLineNumber){U=U||{index:da};break}if(H.removeTokens(A),H.isEmpty()){this._pieces.splice(da,1),da--,Z--;continue}if(H.endLineNumber<A.startLineNumber)continue;if(H.startLineNumber>A.endLineNumber){U=U||{index:da};continue}const[ea,oa]=H.split(A);ea.isEmpty()?U=U||{index:da}:oa.isEmpty()||(this._pieces.splice(da,1,ea,oa),da++,Z++,U=U||{index:da})}return U=U||{index:this._pieces.length},u.length>0&&(this._pieces=l.a(this._pieces,U.index,u)),A}isComplete(){return this._isComplete}addSemanticTokens(x,u){const A=this._pieces;if(0===A.length)return u;const U=A[k._findFirstPieceWithLine(A,x)].getLineTokens(x);if(!U)return u;const da=u.getCount(),Z=U.getCount();let H=0,ea=[],oa=0,ga=0;const Ba=(N,V)=>{N!==ga&&(ga=N,ea[oa++]=N,ea[oa++]=V)};for(let N=0;N<Z;N++){const V=U.getStartCharacter(N),ma=U.getEndCharacter(N),ta=U.getMetadata(N),Da=((1&ta?2048:0)|(2&ta?4096:0)|(4&ta?8192:0)|(8&ta?8372224:0)|(16&ta?4286578688:0))>>>0,Ka=~Da>>>0;for(;H<da&&u.getEndOffset(H)<=V;)Ba(u.getEndOffset(H),u.getMetadata(H)),H++;for(H<da&&u.getStartOffset(H)<V&&Ba(V,u.getMetadata(H));H<da&&u.getEndOffset(H)<ma;)Ba(u.getEndOffset(H),u.getMetadata(H)&Ka|ta&Da),H++;if(H<da)Ba(ma,u.getMetadata(H)&Ka|ta&Da),u.getEndOffset(H)===ma&&H++;else{const G=Math.min(Math.max(0,H-1),da-1);Ba(ma,u.getMetadata(G)&Ka|ta&Da)}}for(;H<da;)Ba(u.getEndOffset(H),u.getMetadata(H)),H++;return new q.a(new Uint32Array(ea),u.getLineContent())}static _findFirstPieceWithLine(x,u){let A=0,U=x.length-1;for(;A<U;){let da=A+Math.floor((U-A)/2);if(x[da].endLineNumber<u)A=da+1;else{if(!(x[da].startLineNumber>u)){for(;da>A&&x[da-1].startLineNumber<=u&&u<=x[da-1].endLineNumber;)da--;return da}U=da-1}}return A}acceptEdit(x,u,A,U,da){for(const Z of this._pieces)Z.acceptEdit(x,u,A,U,da)}}class w{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(x,u,A){let U=null;if(u<this._len&&(U=this._lineTokens[u]),null!==U&&U!==L)return new q.a(C(U),A);let da=new Uint32Array(2);return da[0]=A.length,da[1]=R(x),new q.a(da,A)}static _massageTokens(x,u,A){const U=A?C(A):null;if(0===u){let da=!1;if(U&&U.length>1&&(da=P.B.getLanguageId(U[1])!==x),!da)return L}if(!U||0===U.length){const da=new Uint32Array(2);return da[0]=u,da[1]=R(x),da.buffer}return U[U.length-2]=u,0===U.byteOffset&&U.byteLength===U.buffer.byteLength?U.buffer:U}_ensureLine(x){for(;x>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(x,u){0!==u&&(x+u>this._len&&(u=this._len-x),this._lineTokens.splice(x,u),this._len-=u)}_insertLines(x,u){if(0===u)return;let A=[];for(let U=0;U<u;U++)A[U]=null;this._lineTokens=l.a(this._lineTokens,x,A),this._len+=u}setTokens(x,u,A,U,da){const Z=w._massageTokens(x,A,U);this._ensureLine(u);const H=this._lineTokens[u];return this._lineTokens[u]=Z,!!da&&!w._equals(H,Z)}static _equals(x,u){if(!x||!u)return!x&&!u;const A=C(x),U=C(u);if(A.length!==U.length)return!1;for(let da=0,Z=A.length;da<Z;da++)if(A[da]!==U[da])return!1;return!0}acceptEdit(x,u,A){this._acceptDeleteRange(x),this._acceptInsertText(new y.a(x.startLineNumber,x.startColumn),u,A)}_acceptDeleteRange(x){const u=x.startLineNumber-1;if(u>=this._len)return;if(x.startLineNumber===x.endLineNumber)return x.startColumn===x.endColumn?void 0:void(this._lineTokens[u]=w._delete(this._lineTokens[u],x.startColumn-1,x.endColumn-1));this._lineTokens[u]=w._deleteEnding(this._lineTokens[u],x.startColumn-1);const A=x.endLineNumber-1;let U=null;A<this._len&&(U=w._deleteBeginning(this._lineTokens[A],x.endColumn-1)),this._lineTokens[u]=w._append(this._lineTokens[u],U),this._deleteLines(x.startLineNumber,x.endLineNumber-x.startLineNumber)}_acceptInsertText(x,u,A){if(0===u&&0===A)return;const U=x.lineNumber-1;U>=this._len||(0!==u?(this._lineTokens[U]=w._deleteEnding(this._lineTokens[U],x.column-1),this._lineTokens[U]=w._insert(this._lineTokens[U],x.column-1,A),this._insertLines(x.lineNumber,u)):this._lineTokens[U]=w._insert(this._lineTokens[U],x.column-1,A))}static _deleteBeginning(x,u){return null===x||x===L?x:w._delete(x,0,u)}static _deleteEnding(x,u){if(null===x||x===L)return x;const A=C(x),U=A[A.length-2];return w._delete(x,u,U)}static _delete(x,u,A){if(null===x||x===L||u===A)return x;const U=C(x),da=U.length>>>1;if(0===u&&U[U.length-2]===A)return L;const Z=q.a.findIndexInTokensArray(U,u),H=Z>0?U[Z-1<<1]:0;if(A<U[Z<<1]){const N=A-u;for(let V=Z;V<da;V++)U[V<<1]-=N;return x}let ea,oa;H!==u?(U[Z<<1]=u,ea=Z+1<<1,oa=u):(ea=Z<<1,oa=H);const ga=A-u;for(let N=Z+1;N<da;N++){const V=U[N<<1]-ga;V>oa&&(U[ea++]=V,U[ea++]=U[1+(N<<1)],oa=V)}if(ea===U.length)return x;let Ba=new Uint32Array(ea);return Ba.set(U.subarray(0,ea),0),Ba.buffer}static _append(x,u){if(u===L)return x;if(x===L)return u;if(null===x)return x;if(null===u)return null;const A=C(x),U=C(u),da=U.length>>>1;let Z=new Uint32Array(A.length+U.length);Z.set(A,0);let H=A.length;const ea=A[A.length-2];for(let oa=0;oa<da;oa++)Z[H++]=U[oa<<1]+ea,Z[H++]=U[1+(oa<<1)];return Z.buffer}static _insert(x,u,A){if(null===x||x===L)return x;const U=C(x),da=U.length>>>1;let Z=q.a.findIndexInTokensArray(U,u);Z>0&&(U[Z-1<<1]===u&&Z--);for(let H=Z;H<da;H++)U[H<<1]+=A;return x}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f.d(t,"b",function(){return q}),f.d(t,"c",function(){return y});const l={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};class q{constructor(F){this.data=F}update(){}getData(){return this.data}}const y={CurrentDragAndDropData:void 0}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Q}),f.d(t,"b",function(){return B});var l=f(13),q=f(8),y=f(62),F=f(130),P=f(3),Y=f(21);class R{constructor(C,k,w){this._range=C,this._charBeforeSelection=k,this._charAfterSelection=w}getEditOperations(C,k){k.addTrackedEditOperation(new P.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),k.addTrackedEditOperation(new P.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(C,k){let w=k.getInverseEditOperations(),x=w[0].range,u=w[1].range;return new Y.a(x.endLineNumber,x.endColumn,u.endLineNumber,u.endColumn-this._charAfterSelection.length)}}var L=f(22),s=f(117),z=f(75),D=f(39);class Q{static indent(C,k,w){if(null===k||null===w)return[];let x=[];for(let u=0,A=w.length;u<A;u++)x[u]=new F.a(w[u],{isUnshift:!1,tabSize:C.tabSize,indentSize:C.indentSize,insertSpaces:C.insertSpaces,useTabStops:C.useTabStops,autoIndent:C.autoIndent});return x}static outdent(C,k,w){let x=[];for(let u=0,A=w.length;u<A;u++)x[u]=new F.a(w[u],{isUnshift:!0,tabSize:C.tabSize,indentSize:C.indentSize,insertSpaces:C.insertSpaces,useTabStops:C.useTabStops,autoIndent:C.autoIndent});return x}static shiftIndent(C,k,w){return w=w||1,F.a.shiftIndent(k,k.length+w,C.tabSize,C.indentSize,C.insertSpaces)}static unshiftIndent(C,k,w){return w=w||1,F.a.unshiftIndent(k,k.length+w,C.tabSize,C.indentSize,C.insertSpaces)}static _distributedPaste(C,k,w,x){let u=[];for(let A=0,U=w.length;A<U;A++)u[A]=new y.a(w[A],x[A]);return new L.e(0,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(C,k,w,x,u){let A=[];for(let U=0,da=w.length;U<da;U++){const Z=w[U];let H=Z.getPosition();if(u&&!Z.isEmpty()&&(u=!1),u&&x.indexOf(` -`)!==x.length-1&&(u=!1),u){let ea=new P.a(H.lineNumber,1,H.lineNumber,1);A[U]=new y.b(ea,x,Z,!0)}else A[U]=new y.a(Z,x)}return new L.e(0,A,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(C,k,w,x,u){if(x)return null;if(1===k.length)return null;if(u&&u.length===k.length)return u;if("spread"===C.multiCursorPaste){10===w.charCodeAt(w.length-1)&&(w=w.substr(0,w.length-1)),13===w.charCodeAt(w.length-1)&&(w=w.substr(0,w.length-1));let A=w.split(/\r\n|\r|\n/);if(A.length===k.length)return A}return null}static paste(C,k,w,x,u,A){const U=this._distributePasteToCursors(C,w,x,u,A);return U?(w=w.sort(P.a.compareRangesUsingStarts),this._distributedPaste(C,k,w,U)):this._simplePaste(C,k,w,x,u)}static _goodIndentForLine(C,k,w){let x=null,u="";const A=D.a.getInheritIndentForLine(C.autoIndent,k,w,!1);if(A)x=A.action,u=A.indentation;else if(w>1){let U;for(U=w-1;U>=1;U--){const H=k.getLineContent(U);if(q.J(H)>=0)break}if(U<1)return null;const da=k.getLineMaxColumn(U),Z=D.a.getEnterAction(C.autoIndent,k,new P.a(U,da,U,da));Z&&(u=Z.indentation+Z.appendText)}return x&&(x===z.a.Indent&&(u=Q.shiftIndent(C,u)),x===z.a.Outdent&&(u=Q.unshiftIndent(C,u)),u=C.normalizeIndentation(u)),u||null}static _replaceJumpToNextIndent(C,k,w,x){let u="",A=w.getStartPosition();if(C.insertSpaces){let U=L.a.visibleColumnFromColumn2(C,k,A),da=C.indentSize,Z=da-U%da;for(let H=0;H<Z;H++)u+=" "}else u=" ";return new y.a(w,u,x)}static tab(C,k,w){let x=[];for(let u=0,A=w.length;u<A;u++){const U=w[u];if(U.isEmpty()){let da=k.getLineContent(U.startLineNumber);if(/^\s*$/.test(da)&&k.isCheapToTokenize(U.startLineNumber)){let Z=this._goodIndentForLine(C,k,U.startLineNumber);Z=Z||" ";let H=C.normalizeIndentation(Z);if(!q.S(da,H)){x[u]=new y.a(new P.a(U.startLineNumber,1,U.startLineNumber,da.length+1),H,!0);continue}}x[u]=this._replaceJumpToNextIndent(C,k,U,!0)}else{if(U.startLineNumber===U.endLineNumber){let da=k.getLineMaxColumn(U.startLineNumber);if(1!==U.startColumn||U.endColumn!==da){x[u]=this._replaceJumpToNextIndent(C,k,U,!1);continue}}x[u]=new F.a(U,{isUnshift:!1,tabSize:C.tabSize,indentSize:C.indentSize,insertSpaces:C.insertSpaces,useTabStops:C.useTabStops,autoIndent:C.autoIndent})}}return x}static replacePreviousChar(C,k,w,x,u,A){let U=[];for(let da=0,Z=x.length;da<Z;da++){const H=x[da];if(!H.isEmpty()){U[da]=null;continue}const ea=H.getPosition(),oa=Math.max(1,ea.column-A),ga=new P.a(ea.lineNumber,oa,ea.lineNumber,ea.column);w.getValueInRange(ga)!==u?U[da]=new y.a(ga,u):U[da]=null}return new L.e(1,U,{shouldPushStackElementBefore:1!==C,shouldPushStackElementAfter:!1})}static _typeCommand(C,k,w){return w?new y.e(C,k,!0):new y.a(C,k,!0)}static _enter(C,k,w,x){if(0===C.autoIndent)return Q._typeCommand(x,` -`,w);if(!k.isCheapToTokenize(x.getStartPosition().lineNumber)||1===C.autoIndent){let da=k.getLineContent(x.startLineNumber),Z=q.z(da).substring(0,x.startColumn-1);return Q._typeCommand(x,` -`+C.normalizeIndentation(Z),w)}const u=D.a.getEnterAction(C.autoIndent,k,x);if(u){if(u.indentAction===z.a.None)return Q._typeCommand(x,` -`+C.normalizeIndentation(u.indentation+u.appendText),w);if(u.indentAction===z.a.Indent)return Q._typeCommand(x,` -`+C.normalizeIndentation(u.indentation+u.appendText),w);if(u.indentAction===z.a.IndentOutdent){const da=C.normalizeIndentation(u.indentation),Z=C.normalizeIndentation(u.indentation+u.appendText),H=` -`+Z+` -`+da;return w?new y.e(x,H,!0):new y.d(x,H,-1,Z.length-da.length,!0)}if(u.indentAction===z.a.Outdent){const da=Q.unshiftIndent(C,u.indentation);return Q._typeCommand(x,` -`+C.normalizeIndentation(da+u.appendText),w)}}const A=k.getLineContent(x.startLineNumber),U=q.z(A).substring(0,x.startColumn-1);if(C.autoIndent>=4){const da=D.a.getIndentForEnter(C.autoIndent,k,x,{unshiftIndent:Z=>Q.unshiftIndent(C,Z),shiftIndent:Z=>Q.shiftIndent(C,Z),normalizeIndentation:Z=>C.normalizeIndentation(Z)});if(da){let Z=L.a.visibleColumnFromColumn2(C,k,x.getEndPosition());const H=x.endColumn;let ea=` -`;U!==C.normalizeIndentation(da.beforeEnter)&&(ea=C.normalizeIndentation(da.beforeEnter)+A.substring(U.length,x.startColumn-1)+` -`,x=new P.a(x.startLineNumber,1,x.endLineNumber,x.endColumn));const oa=k.getLineContent(x.endLineNumber),ga=q.w(oa);if(x=ga>=0?x.setEndPosition(x.endLineNumber,Math.max(x.endColumn,ga+1)):x.setEndPosition(x.endLineNumber,k.getLineMaxColumn(x.endLineNumber)),w)return new y.e(x,ea+C.normalizeIndentation(da.afterEnter),!0);{let Ba=0;return H<=ga+1&&(C.insertSpaces||(Z=Math.ceil(Z/C.indentSize)),Ba=Math.min(Z+1-C.normalizeIndentation(da.afterEnter).length-1,0)),new y.d(x,ea+C.normalizeIndentation(da.afterEnter),0,Ba,!0)}}}return Q._typeCommand(x,` -`+C.normalizeIndentation(U),w)}static _isAutoIndentType(C,k,w){if(C.autoIndent<4)return!1;for(let x=0,u=w.length;x<u;x++)if(!k.isCheapToTokenize(w[x].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(C,k,w,x){const u=D.a.getIndentationAtPosition(k,w.startLineNumber,w.startColumn),A=D.a.getIndentActionForType(C.autoIndent,k,w,x,{shiftIndent:U=>Q.shiftIndent(C,U),unshiftIndent:U=>Q.unshiftIndent(C,U)});if(null===A)return null;if(A!==C.normalizeIndentation(u)){const U=k.getLineFirstNonWhitespaceColumn(w.startLineNumber);return 0===U?Q._typeCommand(new P.a(w.startLineNumber,0,w.endLineNumber,w.endColumn),C.normalizeIndentation(A)+x,!1):Q._typeCommand(new P.a(w.startLineNumber,0,w.endLineNumber,w.endColumn),C.normalizeIndentation(A)+k.getLineContent(w.startLineNumber).substring(U-1,w.startColumn-1)+x,!1)}return null}static _isAutoClosingOvertype(C,k,w,x,u){if("never"===C.autoClosingOvertype)return!1;if(!C.autoClosingPairsClose2.has(u))return!1;for(let A=0,U=w.length;A<U;A++){const da=w[A];if(!da.isEmpty())return!1;const Z=da.getPosition(),H=k.getLineContent(Z.lineNumber);if(H.charAt(Z.column-1)!==u)return!1;const ea=Object(L.g)(u);if(92===(Z.column>2?H.charCodeAt(Z.column-2):0)&&ea)return!1;if("auto"===C.autoClosingOvertype){let oa=!1;for(let ga=0,Ba=x.length;ga<Ba;ga++){const N=x[ga];if(Z.lineNumber===N.startLineNumber&&Z.column===N.startColumn){oa=!0;break}}if(!oa)return!1}}return!0}static _runAutoClosingOvertype(C,k,w,x,u){let A=[];for(let U=0,da=x.length;U<da;U++){const Z=x[U].getPosition(),H=new P.a(Z.lineNumber,Z.column,Z.lineNumber,Z.column+1);A[U]=new y.a(H,u)}return new L.e(1,A,{shouldPushStackElementBefore:1!==C,shouldPushStackElementAfter:!1})}static _autoClosingPairIsSymmetric(C){const{open:k,close:w}=C;return k.indexOf(w)>=0||w.indexOf(k)>=0}static _isBeforeClosingBrace(C,k,w){const x=C.autoClosingPairsClose2.get(w);if(!x)return!1;const u=Q._autoClosingPairIsSymmetric(k);for(const A of x){const U=Q._autoClosingPairIsSymmetric(A);if(u||!U)return!0}return!1}static _findAutoClosingPairOpen(C,k,w,x){const u=C.autoClosingPairsOpen2.get(x);if(!u)return null;let A=null;for(const U of u)if(null===A||U.open.length>A.open.length){let da=!0;for(const Z of w)if(k.getValueInRange(new P.a(Z.lineNumber,Z.column-U.open.length+1,Z.lineNumber,Z.column))+x!==U.open){da=!1;break}da&&(A=U)}return A}static _isAutoClosingOpenCharType(C,k,w,x,u){const A=Object(L.g)(x),U=A?C.autoClosingQuotes:C.autoClosingBrackets;if("never"===U)return null;const da=this._findAutoClosingPairOpen(C,k,w.map(H=>H.getPosition()),x);if(!da)return null;const Z=A?C.shouldAutoCloseBefore.quote:C.shouldAutoCloseBefore.bracket;for(let H=0,ea=w.length;H<ea;H++){const oa=w[H];if(!oa.isEmpty())return null;const ga=oa.getPosition(),Ba=k.getLineContent(ga.lineNumber);if(Ba.length>ga.column-1){const ma=Ba.charAt(ga.column-1);if(!Q._isBeforeClosingBrace(C,da,ma)&&!Z(ma))return null}if(!k.isCheapToTokenize(ga.lineNumber))return null;if(1===da.open.length&&A&&"always"!==U){const ma=Object(s.a)(C.wordSeparators);if(u&&ga.column>1&&0===ma.get(Ba.charCodeAt(ga.column-2)))return null;if(!u&&ga.column>2&&0===ma.get(Ba.charCodeAt(ga.column-3)))return null}k.forceTokenization(ga.lineNumber);const N=k.getLineTokens(ga.lineNumber);let V=!1;try{V=D.a.shouldAutoClosePair(da,N,u?ga.column:ga.column-1)}catch(ma){Object(l.e)(ma)}if(!V)return null}return da}static _runAutoClosingOpenCharType(C,k,w,x,u,A,U){let da=[];for(let Z=0,H=x.length;Z<H;Z++){const ea=x[Z];da[Z]=new B(ea,u,A,U.close)}return new L.e(1,da,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(C,k){return Object(L.g)(k)?"quotes"===C.autoSurround||"languageDefined"===C.autoSurround:"brackets"===C.autoSurround||"languageDefined"===C.autoSurround}static _isSurroundSelectionType(C,k,w,x){if(!Q._shouldSurroundChar(C,x)||!C.surroundingPairs.hasOwnProperty(x))return!1;const u=Object(L.g)(x);for(let A=0,U=w.length;A<U;A++){const da=w[A];if(da.isEmpty())return!1;let Z=!0;for(let H=da.startLineNumber;H<=da.endLineNumber;H++){const ea=k.getLineContent(H),oa=H===da.startLineNumber?da.startColumn-1:0,ga=H===da.endLineNumber?da.endColumn-1:ea.length,Ba=ea.substring(oa,ga);if(/[^ \t]/.test(Ba)){Z=!1;break}}if(Z)return!1;if(u&&da.startLineNumber===da.endLineNumber&&da.startColumn+1===da.endColumn){const H=k.getValueInRange(da);if(Object(L.g)(H))return!1}}return!0}static _runSurroundSelectionType(C,k,w,x,u){let A=[];for(let U=0,da=x.length;U<da;U++){const Z=x[U],H=k.surroundingPairs[u];A[U]=new R(Z,u,H)}return new L.e(0,A,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(C,k,w){return!(1!==w.length||!k.isCheapToTokenize(w[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(C,k,w,x,u){if(!k.electricChars.hasOwnProperty(u)||!x.isEmpty())return null;let A=x.getPosition();w.forceTokenization(A.lineNumber);let U,da=w.getLineTokens(A.lineNumber);try{U=D.a.onElectricCharacter(u,da,A.column)}catch(Z){return Object(l.e)(Z),null}if(!U)return null;if(U.matchOpenBracket){let Z=(da.getLineContent()+u).lastIndexOf(U.matchOpenBracket)+1,H=w.findMatchingBracketUp(U.matchOpenBracket,{lineNumber:A.lineNumber,column:Z});if(H){if(H.startLineNumber===A.lineNumber)return null;let ea=w.getLineContent(H.startLineNumber),oa=q.z(ea),ga=k.normalizeIndentation(oa),Ba=w.getLineContent(A.lineNumber),N=w.getLineFirstNonWhitespaceColumn(A.lineNumber)||A.column,V=ga+Ba.substring(N-1,A.column-1)+u,ma=new P.a(A.lineNumber,1,A.lineNumber,A.column);const ta=new y.a(ma,V);return new L.e(1,[ta],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(C,k,w,x,u,A){if(!x||Y.a.selectionsArrEqual(x,u))return null;let U=null;for(const Z of u){if(!Z.isEmpty())return null;const H=Z.getPosition(),ea=w.getValueInRange(new P.a(H.lineNumber,H.column-1,H.lineNumber,H.column));if(null===U)U=ea;else if(U!==ea)return null}if(!U)return null;if(this._isAutoClosingOvertype(k,w,u,A,U)){const Z=u.map(H=>new y.a(new P.a(H.positionLineNumber,H.positionColumn,H.positionLineNumber,H.positionColumn+1),"",!1));return new L.e(1,Z,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const da=this._isAutoClosingOpenCharType(k,w,u,U,!1);return da?this._runAutoClosingOpenCharType(C,k,w,u,U,!1,da):null}static typeWithInterceptors(C,k,w,x,u,A,U){if(!C&&` -`===U){let H=[];for(let ea=0,oa=u.length;ea<oa;ea++)H[ea]=Q._enter(w,x,!1,u[ea]);return new L.e(1,H,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!C&&this._isAutoIndentType(w,x,u)){let H=[],ea=!1;for(let oa=0,ga=u.length;oa<ga;oa++)if(H[oa]=this._runAutoIndentType(w,x,u[oa],U),!H[oa]){ea=!0;break}if(!ea)return new L.e(1,H,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!C&&this._isAutoClosingOvertype(w,x,u,A,U))return this._runAutoClosingOvertype(k,w,x,u,U);if(!C){const H=this._isAutoClosingOpenCharType(w,x,u,U,!0);if(H)return this._runAutoClosingOpenCharType(k,w,x,u,U,!0,H)}if(this._isSurroundSelectionType(w,x,u,U))return this._runSurroundSelectionType(k,w,x,u,U);if(!C&&this._isTypeInterceptorElectricChar(w,x,u)){const H=this._typeInterceptorElectricChar(k,w,x,u[0],U);if(H)return H}let da=[];for(let H=0,ea=u.length;H<ea;H++)da[H]=new y.a(u[H],U);let Z=1!==k;return" "===U&&(Z=!0),new L.e(1,da,{shouldPushStackElementBefore:Z,shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(C,k,w,x,u){let A=[];for(let U=0,da=x.length;U<da;U++)A[U]=new y.a(x[U],u);return new L.e(1,A,{shouldPushStackElementBefore:1!==C,shouldPushStackElementAfter:!1})}static lineInsertBefore(C,k,w){if(null===k||null===w)return[];let x=[];for(let u=0,A=w.length;u<A;u++){let U=w[u].positionLineNumber;if(1===U)x[u]=new y.e(new P.a(1,1,1,1),` -`);else{U--;let da=k.getLineMaxColumn(U);x[u]=this._enter(C,k,!1,new P.a(U,da,U,da))}}return x}static lineInsertAfter(C,k,w){if(null===k||null===w)return[];let x=[];for(let u=0,A=w.length;u<A;u++){const U=w[u].positionLineNumber;let da=k.getLineMaxColumn(U);x[u]=this._enter(C,k,!1,new P.a(U,da,U,da))}return x}static lineBreakInsert(C,k,w){let x=[];for(let u=0,A=w.length;u<A;u++)x[u]=this._enter(C,k,!0,w[u]);return x}}class B extends y.d{constructor(C,k,w,x){super(C,(w?k:"")+x,0,-x.length),this._openCharacter=k,this._closeCharacter=x,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(C,k){let w=k.getInverseEditOperations()[0].range;return this.closeCharacterRange=new P.a(w.startLineNumber,w.endColumn-this._closeCharacter.length,w.endLineNumber,w.endColumn),this.enclosingRange=new P.a(w.startLineNumber,w.endColumn-this._openCharacter.length-this._closeCharacter.length,w.endLineNumber,w.endColumn),super.computeCursorState(C,k)}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return F}),f.d(t,"a",function(){return P});var l=f(8),q=f(9),y=f(3);class F{constructor(Y,R,L,s,z){this.value=Y,this.selectionStart=R,this.selectionEnd=L,this.selectionStartPosition=s,this.selectionEndPosition=z}toString(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(Y){return new F(Y.getValue(),Y.getSelectionStart(),Y.getSelectionEnd(),null,null)}collapseSelection(){return new F(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(Y,R,L){R.setValue(Y,this.value),L&&R.setSelectionRange(Y,this.selectionStart,this.selectionEnd)}deduceEditorPosition(Y){if(Y<=this.selectionStart){const s=this.value.substring(Y,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,s,-1)}if(Y>=this.selectionEnd){const s=this.value.substring(this.selectionEnd,Y);return this._finishDeduceEditorPosition(this.selectionEndPosition,s,1)}const R=this.value.substring(this.selectionStart,Y);if(-1===R.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,R,1);const L=this.value.substring(Y,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,L,-1)}_finishDeduceEditorPosition(Y,R,L){let s=0,z=-1;for(;-1!==(z=R.indexOf(` -`,z+1));)s++;return[Y,L*R.length,s]}static selectedText(Y){return new F(Y,0,Y.length,null,null)}static deduceInput(Y,R,L){if(!Y)return{text:"",replaceCharCnt:0};let s=Y.value,z=Y.selectionStart,D=Y.selectionEnd,Q=R.value,B=R.selectionStart,C=R.selectionEnd;const k=s.substring(D),w=Q.substring(C),x=l.e(k,w);Q=Q.substring(0,Q.length-x),s=s.substring(0,s.length-x);const u=s.substring(0,z),A=Q.substring(0,B),U=l.d(u,A);if(Q=Q.substring(U),s=s.substring(U),B-=U,z-=U,C-=U,D-=U,L&&B===C&&s.length>0){let da=null;if(B===Q.length?l.S(Q,s)&&(da=Q.substring(s.length)):l.s(Q,s)&&(da=Q.substring(0,Q.length-s.length)),null!==da&&da.length>0&&(/\uFE0F/.test(da)||l.k(da)))return{text:da,replaceCharCnt:0}}return B===C?s===Q&&0===z&&D===s.length&&B===Q.length&&-1===Q.indexOf(` -`)&&l.l(Q)?{text:"",replaceCharCnt:0}:{text:Q,replaceCharCnt:u.length-U}:{text:Q,replaceCharCnt:D-z}}}F.EMPTY=new F("",0,0,null,null);class P{static _getPageOfLine(Y,R){return Math.floor((Y-1)/R)}static _getRangeForPage(Y,R){const L=Y*R,s=L+1,z=L+R;return new y.a(s,1,z+1,1)}static fromEditorSelection(Y,R,L,s,z){const D=P._getPageOfLine(L.startLineNumber,s),Q=P._getRangeForPage(D,s),B=P._getPageOfLine(L.endLineNumber,s),C=P._getRangeForPage(B,s),k=Q.intersectRanges(new y.a(1,1,L.startLineNumber,L.startColumn));let w=R.getValueInRange(k,1);const x=R.getLineCount(),u=R.getLineMaxColumn(x),A=C.intersectRanges(new y.a(L.endLineNumber,L.endColumn,x,u));let U,da=R.getValueInRange(A,1);if(D===B||D+1===B)U=R.getValueInRange(L,1);else{const Z=Q.intersectRanges(L),H=C.intersectRanges(L);U=R.getValueInRange(Z,1)+String.fromCharCode(8230)+R.getValueInRange(H,1)}if(z){const Z=500;w.length>Z&&(w=w.substring(w.length-Z,w.length)),da.length>Z&&(da=da.substring(0,Z)),U.length>2*Z&&(U=U.substring(0,Z)+String.fromCharCode(8230)+U.substring(U.length-Z,U.length))}return new F(w+U+da,w.length,w.length+U.length,new q.a(L.startLineNumber,L.startColumn),new q.a(L.endLineNumber,L.endColumn))}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f.d(t,"b",function(){return C}),f.d(t,"c",function(){return k});var l=f(0),q=f(6),y=f(56),F=f(14),P=f(188);const Y={Configuration:"base.contributions.configuration"},R={properties:{},patternProperties:{}},L={properties:{},patternProperties:{}},s={properties:{},patternProperties:{}},z={properties:{},patternProperties:{}},D={properties:{},patternProperties:{}},Q={properties:{},patternProperties:{}},B=y.a.as(P.a.JSONContribution),C=new RegExp("\\[.*\\]$");function k(u){return u.substring(1,u.length-1)}const w=new class{constructor(){this.overrideIdentifiers=new Set(),this._onDidSchemaChange=new q.a(),this._onDidUpdateConfiguration=new q.a(),this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:l.a("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},B.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}registerConfiguration(u,A=!0){this.registerConfigurations([u],A)}registerConfigurations(u,A=!0){const U=[];u.forEach(da=>{U.push(...this.validateAndRegisterProperties(da,A)),this.configurationContributors.push(da),this.registerJSONConfiguration(da)}),B.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(U)}registerOverrideIdentifiers(u){for(const A of u)this.overrideIdentifiers.add(A);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(u,A=!0,U=3){U=F.l(u.scope)?U:u.scope;let da=[],Z=u.properties;if(Z)for(let ea in Z){if(A&&x(ea)){delete Z[ea];continue}const oa=Z[ea];this.updatePropertyDefaultValue(ea,oa),C.test(ea)?oa.scope=void 0:oa.scope=F.l(oa.scope)?U:oa.scope,!Z[ea].hasOwnProperty("included")||Z[ea].included?(this.configurationProperties[ea]=Z[ea],!Z[ea].deprecationMessage&&Z[ea].markdownDeprecationMessage&&(Z[ea].deprecationMessage=Z[ea].markdownDeprecationMessage),da.push(ea)):(this.excludedConfigurationProperties[ea]=Z[ea],delete Z[ea])}let H=u.allOf;if(H)for(let ea of H)da.push(...this.validateAndRegisterProperties(ea,A,U));return da}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(u){const A=U=>{let da=U.properties;if(da)for(const H in da)this.updateSchema(H,da[H]);let Z=U.allOf;Z&&Z.forEach(A)};A(u)}updateSchema(u,A){switch(R.properties[u]=A,A.scope){case 1:L.properties[u]=A;break;case 2:s.properties[u]=A;break;case 6:z.properties[u]=A;break;case 3:D.properties[u]=A;break;case 4:Q.properties[u]=A;break;case 5:Q.properties[u]=A,this.resourceLanguageSettingsSchema.properties[u]=A}}updateOverridePropertyPatternKey(){for(const u of this.overrideIdentifiers.values()){const A=`[${u}]`,U={type:"object",description:l.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:l.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:"vscode://schemas/settings/resourceLanguage"};this.updatePropertyDefaultValue(A,U),R.properties[A]=U,L.properties[A]=U,s.properties[A]=U,z.properties[A]=U,D.properties[A]=U,Q.properties[A]=U}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(u,A){let U=this.defaultValues[u];F.k(U)&&(U=A.default),F.k(U)&&(U=function(da){switch(Array.isArray(da)?da[0]:da){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(A.type)),A.default=U}}();function x(u){return C.test(u)?l.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",u):void 0!==w.getConfigurationProperties()[u]?l.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",u):null}y.a.add(Y.Configuration,w)},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f.d(t,"b",function(){return R});var l=f(8),q=f(22),y=f(117),F=f(9),P=f(3);class Y{static _createWord(s,z,D,Q,B){return{start:Q,end:B,wordType:z,nextCharClass:D}}static _findPreviousWordOnLine(s,z,D){let Q=z.getLineContent(D.lineNumber);return this._doFindPreviousWordOnLine(Q,s,D)}static _doFindPreviousWordOnLine(s,z,D){let Q=0;for(let B=D.column-2;B>=0;B--){let C=s.charCodeAt(B),k=z.get(C);if(0===k){if(2===Q)return this._createWord(s,Q,k,B+1,this._findEndOfWord(s,z,Q,B+1));Q=1}else if(2===k){if(1===Q)return this._createWord(s,Q,k,B+1,this._findEndOfWord(s,z,Q,B+1));Q=2}else if(1===k&&0!==Q)return this._createWord(s,Q,k,B+1,this._findEndOfWord(s,z,Q,B+1))}return 0!==Q?this._createWord(s,Q,1,0,this._findEndOfWord(s,z,Q,0)):null}static _findEndOfWord(s,z,D,Q){let B=s.length;for(let C=Q;C<B;C++){let k=s.charCodeAt(C),w=z.get(k);if(1===w)return C;if(1===D&&2===w)return C;if(2===D&&0===w)return C}return B}static _findNextWordOnLine(s,z,D){let Q=z.getLineContent(D.lineNumber);return this._doFindNextWordOnLine(Q,s,D)}static _doFindNextWordOnLine(s,z,D){let Q=0,B=s.length;for(let C=D.column-1;C<B;C++){let k=s.charCodeAt(C),w=z.get(k);if(0===w){if(2===Q)return this._createWord(s,Q,w,this._findStartOfWord(s,z,Q,C-1),C);Q=1}else if(2===w){if(1===Q)return this._createWord(s,Q,w,this._findStartOfWord(s,z,Q,C-1),C);Q=2}else if(1===w&&0!==Q)return this._createWord(s,Q,w,this._findStartOfWord(s,z,Q,C-1),C)}return 0!==Q?this._createWord(s,Q,1,this._findStartOfWord(s,z,Q,B-1),B):null}static _findStartOfWord(s,z,D,Q){for(let B=Q;B>=0;B--){let C=s.charCodeAt(B),k=z.get(C);if(1===k)return B+1;if(1===D&&2===k)return B+1;if(2===D&&0===k)return B+1}return 0}static moveWordLeft(s,z,D,Q){let B=D.lineNumber,C=D.column;1===C&&B>1&&(B-=1,C=z.getLineMaxColumn(B));let k=Y._findPreviousWordOnLine(s,z,new F.a(B,C));if(0===Q)return new F.a(B,k?k.start+1:1);if(1===Q)return k&&2===k.wordType&&k.end-k.start==1&&0===k.nextCharClass&&(k=Y._findPreviousWordOnLine(s,z,new F.a(B,k.start+1))),new F.a(B,k?k.start+1:1);if(3===Q){for(;k&&2===k.wordType;)k=Y._findPreviousWordOnLine(s,z,new F.a(B,k.start+1));return new F.a(B,k?k.start+1:1)}return k&&C<=k.end+1&&(k=Y._findPreviousWordOnLine(s,z,new F.a(B,k.start+1))),new F.a(B,k?k.end+1:1)}static _moveWordPartLeft(s,z){const D=z.lineNumber,Q=s.getLineMaxColumn(D);if(1===z.column)return D>1?new F.a(D-1,s.getLineMaxColumn(D-1)):z;const B=s.getLineContent(D);for(let C=z.column-1;C>1;C--){const k=B.charCodeAt(C-2),w=B.charCodeAt(C-1);if(95===k&&95!==w)return new F.a(D,C);if(l.H(k)&&l.I(w))return new F.a(D,C);if(l.I(k)&&l.I(w)&&C+1<Q){const x=B.charCodeAt(C);if(l.H(x))return new F.a(D,C)}}return new F.a(D,1)}static moveWordRight(s,z,D,Q){let B=D.lineNumber,C=D.column,k=!1;C===z.getLineMaxColumn(B)&&B<z.getLineCount()&&(k=!0,B+=1,C=1);let w=Y._findNextWordOnLine(s,z,new F.a(B,C));if(2===Q)w&&2===w.wordType&&w.end-w.start==1&&0===w.nextCharClass&&(w=Y._findNextWordOnLine(s,z,new F.a(B,w.end+1))),C=w?w.end+1:z.getLineMaxColumn(B);else if(3===Q){for(k&&(C=0);w&&(2===w.wordType||w.start+1<=C);)w=Y._findNextWordOnLine(s,z,new F.a(B,w.end+1));C=w?w.start+1:z.getLineMaxColumn(B)}else w&&!k&&C>=w.start+1&&(w=Y._findNextWordOnLine(s,z,new F.a(B,w.end+1))),C=w?w.start+1:z.getLineMaxColumn(B);return new F.a(B,C)}static _moveWordPartRight(s,z){const D=z.lineNumber,Q=s.getLineMaxColumn(D);if(z.column===Q)return D<s.getLineCount()?new F.a(D+1,1):z;const B=s.getLineContent(D);for(let C=z.column+1;C<Q;C++){const k=B.charCodeAt(C-2),w=B.charCodeAt(C-1);if(95!==k&&95===w)return new F.a(D,C);if(l.H(k)&&l.I(w))return new F.a(D,C);if(l.I(k)&&l.I(w)&&C+1<Q){const x=B.charCodeAt(C);if(l.H(x))return new F.a(D,C)}}return new F.a(D,Q)}static _deleteWordLeftWhitespace(s,z){const D=s.getLineContent(z.lineNumber),Q=z.column-2,B=l.J(D,Q);return B+1<Q?new P.a(z.lineNumber,B+2,z.lineNumber,z.column):null}static deleteWordLeft(s,z,D,Q,B){if(!D.isEmpty())return D;const C=new F.a(D.positionLineNumber,D.positionColumn);let k=C.lineNumber,w=C.column;if(1===k&&1===w)return null;if(Q){let u=this._deleteWordLeftWhitespace(z,C);if(u)return u}let x=Y._findPreviousWordOnLine(s,z,C);return 0===B?x?w=x.start+1:w>1?w=1:(k--,w=z.getLineMaxColumn(k)):(x&&w<=x.end+1&&(x=Y._findPreviousWordOnLine(s,z,new F.a(k,x.start+1))),x?w=x.end+1:w>1?w=1:(k--,w=z.getLineMaxColumn(k))),new P.a(k,w,C.lineNumber,C.column)}static _deleteWordPartLeft(s,z){if(!z.isEmpty())return z;const D=z.getPosition(),Q=Y._moveWordPartLeft(s,D);return new P.a(D.lineNumber,D.column,Q.lineNumber,Q.column)}static _findFirstNonWhitespaceChar(s,z){let D=s.length;for(let Q=z;Q<D;Q++){let B=s.charAt(Q);if(" "!==B&&" "!==B)return Q}return D}static _deleteWordRightWhitespace(s,z){const D=s.getLineContent(z.lineNumber),Q=z.column-1,B=this._findFirstNonWhitespaceChar(D,Q);return Q+1<B?new P.a(z.lineNumber,z.column,z.lineNumber,B+1):null}static deleteWordRight(s,z,D,Q,B){if(!D.isEmpty())return D;const C=new F.a(D.positionLineNumber,D.positionColumn);let k=C.lineNumber,w=C.column;const x=z.getLineCount(),u=z.getLineMaxColumn(k);if(k===x&&w===u)return null;if(Q){let U=this._deleteWordRightWhitespace(z,C);if(U)return U}let A=Y._findNextWordOnLine(s,z,C);return 2===B?A?w=A.end+1:w<u||k===x?w=u:(k++,A=Y._findNextWordOnLine(s,z,new F.a(k,1)),w=A?A.start+1:z.getLineMaxColumn(k)):(A&&w>=A.start+1&&(A=Y._findNextWordOnLine(s,z,new F.a(k,A.end+1))),A?w=A.start+1:w<u||k===x?w=u:(k++,A=Y._findNextWordOnLine(s,z,new F.a(k,1)),w=A?A.start+1:z.getLineMaxColumn(k))),new P.a(k,w,C.lineNumber,C.column)}static _deleteWordPartRight(s,z){if(!z.isEmpty())return z;const D=z.getPosition(),Q=Y._moveWordPartRight(s,D);return new P.a(D.lineNumber,D.column,Q.lineNumber,Q.column)}static _createWordAtPosition(s,z,D){const Q=new P.a(z,D.start+1,z,D.end+1);return{word:s.getValueInRange(Q),startColumn:Q.startColumn,endColumn:Q.endColumn}}static getWordAtPosition(s,z,D){const Q=Object(y.a)(z),B=Y._findPreviousWordOnLine(Q,s,D);if(B&&1===B.wordType&&B.start<=D.column-1&&D.column-1<=B.end)return Y._createWordAtPosition(s,D.lineNumber,B);const C=Y._findNextWordOnLine(Q,s,D);return C&&1===C.wordType&&C.start<=D.column-1&&D.column-1<=C.end?Y._createWordAtPosition(s,D.lineNumber,C):null}static word(s,z,D,Q,B){const C=Object(y.a)(s.wordSeparators);let k,w,x=Y._findPreviousWordOnLine(C,z,B),u=Y._findNextWordOnLine(C,z,B);if(!Q){let da,Z;return x&&1===x.wordType&&x.start<=B.column-1&&B.column-1<=x.end?(da=x.start+1,Z=x.end+1):u&&1===u.wordType&&u.start<=B.column-1&&B.column-1<=u.end?(da=u.start+1,Z=u.end+1):(da=x?x.end+1:1,Z=u?u.start+1:z.getLineMaxColumn(B.lineNumber)),new q.f(new P.a(B.lineNumber,da,B.lineNumber,Z),0,new F.a(B.lineNumber,Z),0)}x&&1===x.wordType&&x.start<B.column-1&&B.column-1<x.end?(k=x.start+1,w=x.end+1):u&&1===u.wordType&&u.start<B.column-1&&B.column-1<u.end?(k=u.start+1,w=u.end+1):(k=B.column,w=B.column);let A,U=B.lineNumber;if(D.selectionStart.containsPosition(B))A=D.selectionStart.endColumn;else if(B.isBeforeOrEqual(D.selectionStart.getStartPosition())){A=k;let da=new F.a(U,A);D.selectionStart.containsPosition(da)&&(A=D.selectionStart.endColumn)}else{A=w;let da=new F.a(U,A);D.selectionStart.containsPosition(da)&&(A=D.selectionStart.startColumn)}return D.move(!0,U,A,0)}}class R extends Y{static deleteWordPartLeft(s,z,D,Q){const B=L([Y.deleteWordLeft(s,z,D,Q,0),Y.deleteWordLeft(s,z,D,Q,2),Y._deleteWordPartLeft(z,D)]);return B.sort(P.a.compareRangesUsingEnds),B[2]}static deleteWordPartRight(s,z,D,Q){const B=L([Y.deleteWordRight(s,z,D,Q,0),Y.deleteWordRight(s,z,D,Q,2),Y._deleteWordPartRight(z,D)]);return B.sort(P.a.compareRangesUsingStarts),B[0]}static moveWordPartLeft(s,z,D){const Q=L([Y.moveWordLeft(s,z,D,0),Y.moveWordLeft(s,z,D,2),Y._moveWordPartLeft(z,D)]);return Q.sort(F.a.compare),Q[2]}static moveWordPartRight(s,z,D){const Q=L([Y.moveWordRight(s,z,D,0),Y.moveWordRight(s,z,D,2),Y._moveWordPartRight(z,D)]);return Q.sort(F.a.compare),Q[0]}}function L(s){return s.filter(z=>Boolean(z))}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return L});var l=f(8),q=f(22),y=f(3),F=f(21),P=f(39);const Y=Object.create(null);function R(s,z){Y[s]||(Y[s]=["",s]);const D=Y[s];for(let Q=D.length;Q<=z;Q++)D[Q]=D[Q-1]+s;return D[z]}class L{constructor(s,z){this._opts=z,this._selection=s,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(s,z,D,Q,B){const C=q.a.visibleColumnFromColumn(s,z,D);if(B){const k=R(" ",Q);return R(k,q.a.prevIndentTabStop(C,Q)/Q)}return R(" ",q.a.prevRenderTabStop(C,D)/D)}static shiftIndent(s,z,D,Q,B){const C=q.a.visibleColumnFromColumn(s,z,D);if(B){const k=R(" ",Q);return R(k,q.a.nextIndentTabStop(C,Q)/Q)}return R(" ",q.a.nextRenderTabStop(C,D)/D)}_addEditOperation(s,z,D){this._useLastEditRangeForCursorEndPosition?s.addTrackedEditOperation(z,D):s.addEditOperation(z,D)}getEditOperations(s,z){const D=this._selection.startLineNumber;let Q=this._selection.endLineNumber;1===this._selection.endColumn&&D!==Q&&(Q-=1);const{tabSize:B,indentSize:C,insertSpaces:k}=this._opts,w=D===Q;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(s.getLineContent(D))&&(this._useLastEditRangeForCursorEndPosition=!0);let x=0,u=0;for(let A=D;A<=Q;A++,x=u){u=0;let U,da=s.getLineContent(A),Z=l.w(da);if((!this._opts.isUnshift||0!==da.length&&0!==Z)&&(w||this._opts.isUnshift||0!==da.length)){if(-1===Z&&(Z=da.length),A>1){if(q.a.visibleColumnFromColumn(da,Z+1,B)%C!=0&&s.isCheapToTokenize(A-1)){let H=P.a.getEnterAction(this._opts.autoIndent,s,new y.a(A-1,s.getLineMaxColumn(A-1),A-1,s.getLineMaxColumn(A-1)));if(H){if(u=x,H.appendText)for(let ea=0,oa=H.appendText.length;ea<oa&&u<C&&32===H.appendText.charCodeAt(ea);ea++)u++;H.removeText&&(u=Math.max(0,u-H.removeText));for(let ea=0;ea<u&&(0!==Z&&32===da.charCodeAt(Z-1));ea++)Z--}}}this._opts.isUnshift&&0===Z||(U=this._opts.isUnshift?L.unshiftIndent(da,Z+1,B,C,k):L.shiftIndent(da,Z+1,B,C,k),this._addEditOperation(z,new y.a(A,1,A,Z+1),U),A!==D||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=Z+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===s.getLineLength(D)&&(this._useLastEditRangeForCursorEndPosition=!0);const x=k?R(" ",C):" ";for(let u=D;u<=Q;u++){const A=s.getLineContent(u);let U=l.w(A);if((!this._opts.isUnshift||0!==A.length&&0!==U)&&((w||this._opts.isUnshift||0!==A.length)&&(-1===U&&(U=A.length),!this._opts.isUnshift||0!==U)))if(this._opts.isUnshift){U=Math.min(U,C);for(let da=0;da<U;da++)if(9===A.charCodeAt(da)){U=da+1;break}this._addEditOperation(z,new y.a(u,1,u,U+1),"")}else this._addEditOperation(z,new y.a(u,1,u,1),x),u!==D||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=z.trackSelection(this._selection)}computeCursorState(s,z){if(this._useLastEditRangeForCursorEndPosition){let Q=z.getInverseEditOperations()[0];return new F.a(Q.range.endLineNumber,Q.range.endColumn,Q.range.endLineNumber,Q.range.endColumn)}const D=z.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){let Q=this._selection.startColumn;return D.startColumn<=Q?D:0===D.getDirection()?new F.a(D.startLineNumber,Q,D.endLineNumber,D.endColumn):new F.a(D.endLineNumber,D.endColumn,D.startLineNumber,Q)}return D}}},,function(Ga,t,f){"use strict";f.d(t,"c",function(){return P}),f.d(t,"d",function(){return Y}),f.d(t,"a",function(){return R}),f.d(t,"b",function(){return L});var l=f(8),q=f(11),y=f(72);let F;function P(){return F||(F=new TextDecoder(q.e()?"UTF-16LE":"UTF-16BE")),F}const Y="undefined"!=typeof TextDecoder;let R,L;Y?(R=D=>new s(D),L=function(D,Q,B){const C=new Uint16Array(D.buffer,Q,B);return P().decode(C)}):(R=D=>new z(),L=function(D,Q,B){let C=[],k=0;for(let w=0;w<B;w++){const x=y.b(D,Q);Q+=2,C[k++]=String.fromCharCode(x)}return C.join("")});class s{constructor(D){this._capacity=0|D,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const D=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return P().decode(D)}_flushBuffer(){const D=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[D]:this._completedStrings[this._completedStrings.length]=D}write1(D){const Q=this._capacity-this._bufferLength;Q<=1&&(0===Q||l.F(D))&&this._flushBuffer(),this._buffer[this._bufferLength++]=D}appendASCII(D){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=D}appendASCIIString(D){const Q=D.length;if(this._bufferLength+Q>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=D);for(let B=0;B<Q;B++)this._buffer[this._bufferLength++]=D.charCodeAt(B)}}class z{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(D){this._pieces[this._piecesLen++]=String.fromCharCode(D)}appendASCII(D){this._pieces[this._piecesLen++]=String.fromCharCode(D)}appendASCIIString(D){this._pieces[this._piecesLen++]=D}}},function(Ga,t,f){"use strict";function l(q){const y=this;let F,P=!1;return function(){return P||(P=!0,F=q.apply(y,arguments)),F}}f.d(t,"a",function(){return l})},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f.d(t,"b",function(){return P});var l,q=f(56),y=f(15),F=f(2);!function(Y){Y[Y.PRESERVE=0]="PRESERVE",Y[Y.LAST=1]="LAST"}(l||(l={}));const P={Quickaccess:"workbench.contributions.quickaccess"};q.a.add(P.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(Y){return 0===Y.prefix.length?this.defaultProvider=Y:this.providers.push(Y),this.providers.sort((R,L)=>L.prefix.length-R.prefix.length),Object(F.h)(()=>{this.providers.splice(this.providers.indexOf(Y),1),this.defaultProvider===Y&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(y.d)([this.defaultProvider,...this.providers])}getQuickAccessProvider(Y){return Y&&this.providers.find(R=>Y.startsWith(R.prefix))||void 0||this.defaultProvider}}())},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(6);const q=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new l.a(),this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(y){y=Math.min(Math.max(-5,y),20),this._zoomLevel!==y&&(this._zoomLevel=y,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}()},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Ed}),f.d(t,"b",function(){return ad}),f.d(t,"e",function(){return wd}),f.d(t,"d",function(){return Ha}),f.d(t,"c",function(){return Ub});var l=f(1),q=(f(197),f(2)),y=f(15),F=f(113),P=f(6),Y=f(25);class R{constructor(X,xa){this.renderer=X,this.modelProvider=xa}get templateId(){return this.renderer.templateId}renderTemplate(X){return{data:this.renderer.renderTemplate(X),disposable:q.a.None}}renderElement(X,xa,qa,mb){if(qa.disposable&&qa.disposable.dispose(),!qa.data)return;const ub=this.modelProvider();if(ub.isResolved(X))return this.renderer.renderElement(ub.get(X),X,qa.data,mb);const Rb=new Y.b(),jc=ub.resolve(X,Rb.token);qa.disposable={dispose:()=>Rb.cancel()},this.renderer.renderPlaceholder(X,qa.data),jc.then(Xb=>this.renderer.renderElement(Xb,X,qa.data,mb))}disposeTemplate(X){X.disposable&&(X.disposable.dispose(),X.disposable=void 0),X.data&&(this.renderer.disposeTemplate(X.data),X.data=void 0)}}class L{constructor(X,xa){this.modelProvider=X,this.accessibilityProvider=xa}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(X){const xa=this.modelProvider();return xa.isResolved(X)?this.accessibilityProvider.getAriaLabel(xa.get(X)):null}}var s=f(0),z=f(54),D=f(128),Q=f(10),B=f(18),C=f(50),k=f(56),w=f(93),x=f(19),u,A=f(37),U=(f(264),f(67));!function(X){X[X.Unknown=0]="Unknown",X[X.Twistie=1]="Twistie",X[X.Element=2]="Element"}(u||(u={}));class da extends Error{constructor(X,xa){super(`TreeError [${X}] ${xa}`)}}class Z{constructor(X){this.fn=X,this._map=new WeakMap()}map(X){let xa=this._map.get(X);return xa||(xa=this.fn(X),this._map.set(X,xa)),xa}}var H=f(125),ea=f(162),oa=f(44),ga=f(71);function Ba(X){return"object"==typeof X&&"visibility"in X&&"data"in X}function N(X){switch(X){case!0:return 1;case!1:return 0;default:return X}}function V(X){return"boolean"==typeof X.collapsible}class ma{constructor(X,xa,qa,mb={}){this.user=X,this.list=xa,this.rootRef=[],this.eventBufferer=new P.c(),this._onDidChangeCollapseState=new P.a(),this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new P.a(),this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new P.a(),this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==mb.collapseByDefault&&mb.collapseByDefault,this.filter=mb.filter,this.autoExpandSingleChildren=void 0!==mb.autoExpandSingleChildren&&mb.autoExpandSingleChildren,this.root={parent:void 0,element:qa,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(X,xa,qa=A.a.empty(),mb,ub){if(0===X.length)throw new da(this.user,"Invalid tree location");const{parentNode:Rb,listIndex:jc,revealed:Xb,visible:wa}=this.getParentNodeWithListIndex(X),fa=[],ra=A.a.map(qa,_b=>this.createTreeNode(_b,Rb,Rb.visible?1:0,Xb,fa,mb)),Ra=X[X.length-1];let ab=0;for(let _b=Ra;_b>=0&&_b<Rb.children.length;_b--){const qc=Rb.children[_b];if(qc.visible){ab=qc.visibleChildIndex;break}}const Ya=[];let jb=0,Sb=0;for(const _b of ra)Ya.push(_b),Sb+=_b.renderNodeCount,_b.visible&&(_b.visibleChildIndex=ab+jb++);const Yb=Rb.children.splice(Ra,xa,...Ya);let rc=0;for(const _b of Yb)_b.visible&&rc++;if(0!==rc)for(let _b=Ra+Ya.length;_b<Rb.children.length;_b++){const qc=Rb.children[_b];qc.visible&&(qc.visibleChildIndex-=rc)}if(Rb.visibleChildrenCount+=jb-rc,Xb&&wa){const _b=Yb.reduce((qc,nc)=>qc+(nc.visible?nc.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(Rb,Sb-_b),this.list.splice(jc,_b,fa)}if(Yb.length>0&&ub){const _b=qc=>{ub(qc),qc.children.forEach(_b)};Yb.forEach(_b)}this._onDidSplice.fire({insertedNodes:Ya,deletedNodes:Yb});let zc=Rb;for(;zc;){if(2===zc.visibility){this.refilter();break}zc=zc.parent}}rerender(X){if(0===X.length)throw new da(this.user,"Invalid tree location");const{node:xa,listIndex:qa,revealed:mb}=this.getTreeNodeWithListIndex(X);xa.visible&&mb&&this.list.splice(qa,1,[xa])}has(X){return this.hasTreeNode(X)}getListIndex(X){const{listIndex:xa,visible:qa,revealed:mb}=this.getTreeNodeWithListIndex(X);return qa&&mb?xa:-1}getListRenderCount(X){return this.getTreeNode(X).renderNodeCount}isCollapsible(X){return this.getTreeNode(X).collapsible}setCollapsible(X,xa){const qa=this.getTreeNode(X);void 0===xa&&(xa=!qa.collapsible);const mb={collapsible:xa};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(X,mb))}isCollapsed(X){return this.getTreeNode(X).collapsed}setCollapsed(X,xa,qa){const mb=this.getTreeNode(X);void 0===xa&&(xa=!mb.collapsed);const ub={collapsed:xa,recursive:qa||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(X,ub))}_setCollapseState(X,xa){const{node:qa,listIndex:mb,revealed:ub}=this.getTreeNodeWithListIndex(X),Rb=this._setListNodeCollapseState(qa,mb,ub,xa);if(qa!==this.root&&this.autoExpandSingleChildren&&Rb&&!V(xa)&&qa.collapsible&&!qa.collapsed&&!xa.recursive){let jc=-1;for(let Xb=0;Xb<qa.children.length;Xb++)if(qa.children[Xb].visible){if(jc>-1){jc=-1;break}jc=Xb}jc>-1&&this._setCollapseState([...X,jc],xa)}return Rb}_setListNodeCollapseState(X,xa,qa,mb){const ub=this._setNodeCollapseState(X,mb,!1);if(!qa||!X.visible||!ub)return ub;const Rb=X.renderNodeCount,jc=this.updateNodeAfterCollapseChange(X),Xb=Rb-(-1===xa?0:1);return this.list.splice(xa+1,Xb,jc.slice(1)),ub}_setNodeCollapseState(X,xa,qa){let mb;if(X===this.root?mb=!1:(V(xa)?(mb=X.collapsible!==xa.collapsible,X.collapsible=xa.collapsible):X.collapsible?(mb=X.collapsed!==xa.collapsed,X.collapsed=xa.collapsed):mb=!1,mb&&this._onDidChangeCollapseState.fire({node:X,deep:qa})),!V(xa)&&xa.recursive)for(const ub of X.children)mb=this._setNodeCollapseState(ub,xa,!0)||mb;return mb}expandTo(X){this.eventBufferer.bufferEvents(()=>{let xa=this.getTreeNode(X);for(;xa.parent;)xa=xa.parent,X=X.slice(0,X.length-1),xa.collapsed&&this._setCollapseState(X,{collapsed:!1,recursive:!1})})}refilter(){const X=this.root.renderNodeCount,xa=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,X,xa)}createTreeNode(X,xa,qa,mb,ub,Rb){const jc={parent:xa,element:X.element,children:[],depth:xa.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof X.collapsible?X.collapsible:void 0!==X.collapsed,collapsed:void 0===X.collapsed?this.collapseByDefault:X.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},Xb=this._filterNode(jc,qa);jc.visibility=Xb,mb&&ub.push(jc);const wa=X.children||A.a.empty(),fa=mb&&0!==Xb&&!jc.collapsed,ra=A.a.map(wa,Ya=>this.createTreeNode(Ya,jc,Xb,fa,ub,Rb));let Ra=0,ab=1;for(const Ya of ra)jc.children.push(Ya),ab+=Ya.renderNodeCount,Ya.visible&&(Ya.visibleChildIndex=Ra++);return jc.collapsible=jc.collapsible||jc.children.length>0,jc.visibleChildrenCount=Ra,jc.visible=2===Xb?Ra>0:1===Xb,jc.visible?jc.collapsed||(jc.renderNodeCount=ab):(jc.renderNodeCount=0,mb&&ub.pop()),Rb&&Rb(jc),jc}updateNodeAfterCollapseChange(X){const xa=X.renderNodeCount,qa=[];return this._updateNodeAfterCollapseChange(X,qa),this._updateAncestorsRenderNodeCount(X.parent,qa.length-xa),qa}_updateNodeAfterCollapseChange(X,xa){if(!1===X.visible)return 0;if(xa.push(X),X.renderNodeCount=1,!X.collapsed)for(const qa of X.children)X.renderNodeCount+=this._updateNodeAfterCollapseChange(qa,xa);return this._onDidChangeRenderNodeCount.fire(X),X.renderNodeCount}updateNodeAfterFilterChange(X){const xa=X.renderNodeCount,qa=[];return this._updateNodeAfterFilterChange(X,X.visible?1:0,qa),this._updateAncestorsRenderNodeCount(X.parent,qa.length-xa),qa}_updateNodeAfterFilterChange(X,xa,qa,mb=!0){let ub;if(X!==this.root){if(ub=this._filterNode(X,xa),0===ub)return X.visible=!1,X.renderNodeCount=0,!1;mb&&qa.push(X)}const Rb=qa.length;X.renderNodeCount=X===this.root?0:1;let jc=!1;if(X.collapsed&&0===ub)X.visibleChildrenCount=0;else{let Xb=0;for(const wa of X.children)jc=this._updateNodeAfterFilterChange(wa,ub,qa,mb&&!X.collapsed)||jc,wa.visible&&(wa.visibleChildIndex=Xb++);X.visibleChildrenCount=Xb}return X!==this.root&&(X.visible=2===ub?jc:1===ub),X.visible?X.collapsed||(X.renderNodeCount+=qa.length-Rb):(X.renderNodeCount=0,mb&&qa.pop()),this._onDidChangeRenderNodeCount.fire(X),X.visible}_updateAncestorsRenderNodeCount(X,xa){if(0!==xa)for(;X;)X.renderNodeCount+=xa,this._onDidChangeRenderNodeCount.fire(X),X=X.parent}_filterNode(X,xa){const qa=this.filter?this.filter.filter(X.element,xa):1;return"boolean"==typeof qa?(X.filterData=void 0,qa?1:0):Ba(qa)?(X.filterData=qa.data,N(qa.visibility)):(X.filterData=void 0,N(qa))}hasTreeNode(X,xa=this.root){if(!X||0===X.length)return!0;const[qa,...mb]=X;return!(qa<0||qa>xa.children.length)&&this.hasTreeNode(mb,xa.children[qa])}getTreeNode(X,xa=this.root){if(!X||0===X.length)return xa;const[qa,...mb]=X;if(qa<0||qa>xa.children.length)throw new da(this.user,"Invalid tree location");return this.getTreeNode(mb,xa.children[qa])}getTreeNodeWithListIndex(X){if(0===X.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:xa,listIndex:qa,revealed:mb,visible:ub}=this.getParentNodeWithListIndex(X),Rb=X[X.length-1];if(Rb<0||Rb>xa.children.length)throw new da(this.user,"Invalid tree location");const jc=xa.children[Rb];return{node:jc,listIndex:qa,revealed:mb,visible:ub&&jc.visible}}getParentNodeWithListIndex(X,xa=this.root,qa=0,mb=!0,ub=!0){const[Rb,...jc]=X;if(Rb<0||Rb>xa.children.length)throw new da(this.user,"Invalid tree location");for(let Xb=0;Xb<Rb;Xb++)qa+=xa.children[Xb].renderNodeCount;return mb=mb&&!xa.collapsed,ub=ub&&xa.visible,0===jc.length?{parentNode:xa,listIndex:qa,revealed:mb,visible:ub}:this.getParentNodeWithListIndex(jc,xa.children[Rb],qa+1,mb,ub)}getNode(X=[]){return this.getTreeNode(X)}getNodeLocation(X){const xa=[];let qa=X;for(;qa.parent;)xa.push(qa.parent.children.indexOf(qa)),qa=qa.parent;return xa.reverse()}getParentNodeLocation(X){return 0===X.length?void 0:1===X.length?[]:Object(y.u)(X)[0]}}var ta=f(20),Da=f(11),Ka=f(118),G=f(189),hb=f(17);const _a=Object(hb.e)("tree-item-expanded",hb.a.chevronDown),fb=Object(hb.e)("tree-filter-on-type-on",hb.a.listFilter),za=Object(hb.e)("tree-filter-on-type-off",hb.a.listSelection),ua=Object(hb.e)("tree-filter-clear",hb.a.close),ba=Object(hb.e)("tree-item-loading",hb.a.loading);class $ extends ea.a{constructor(X){super(X.elements.map(xa=>xa.element)),this.data=X}}function S(X){return X instanceof ea.a?new $(X):X}class aa{constructor(X,xa){this.modelProvider=X,this.dnd=xa,this.autoExpandDisposable=q.a.None}getDragURI(X){return this.dnd.getDragURI(X.element)}getDragLabel(X,xa){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(X.map(qa=>qa.element),xa)}onDragStart(X,xa){this.dnd.onDragStart&&this.dnd.onDragStart(S(X),xa)}onDragOver(X,xa,qa,mb,ub=!0){const Rb=this.dnd.onDragOver(S(X),xa&&xa.element,qa,mb),jc=this.autoExpandNode!==xa;if(jc&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=xa),void 0===xa)return Rb;if(jc&&"boolean"!=typeof Rb&&Rb.autoExpand&&(this.autoExpandDisposable=Object(ta.g)(()=>{const Ra=this.modelProvider(),ab=Ra.getNodeLocation(xa);Ra.isCollapsed(ab)&&Ra.setCollapsed(ab,!1),this.autoExpandNode=void 0},500)),"boolean"==typeof Rb||!Rb.accept||void 0===Rb.bubble||Rb.feedback)return ub?Rb:{accept:"boolean"==typeof Rb?Rb:Rb.accept,effect:"boolean"==typeof Rb?void 0:Rb.effect,feedback:[qa]};if(1===Rb.bubble){const Ra=this.modelProvider(),ab=Ra.getNodeLocation(xa),Ya=Ra.getParentNodeLocation(ab),jb=Ra.getNode(Ya),Sb=Ya&&Ra.getListIndex(Ya);return this.onDragOver(X,jb,Sb,mb,!1)}const Xb=this.modelProvider(),wa=Xb.getNodeLocation(xa),fa=Xb.getListIndex(wa),ra=Xb.getListRenderCount(wa);return Object.assign(Object.assign({},Rb),{feedback:Object(y.s)(fa,fa+ra)})}drop(X,xa,qa,mb){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(S(X),xa&&xa.element,qa,mb)}onDragEnd(X){this.dnd.onDragEnd&&this.dnd.onDragEnd(X)}}class _{constructor(X){this.delegate=X}getHeight(X){return this.delegate.getHeight(X.element)}getTemplateId(X){return this.delegate.getTemplateId(X.element)}hasDynamicHeight(X){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(X.element)}setDynamicHeight(X,xa){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(X.element,xa)}}var I;!function(X){X.None="none",X.OnHover="onHover",X.Always="always"}(I||(I={}));class ka{constructor(X,xa=[]){this._elements=xa,this.onDidChange=P.b.forEach(X,qa=>this._elements=qa)}get elements(){return this._elements}}class va{constructor(X,xa,qa,mb,ub={}){this.renderer=X,this.modelProvider=xa,this.activeNodes=mb,this.renderedElements=new Map(),this.renderedNodes=new Map(),this.indent=va.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new G.a(),this.activeIndentNodes=new Set(),this.indentGuidesDisposable=q.a.None,this.disposables=new q.b(),this.templateId=X.templateId,this.updateOptions(ub),P.b.map(qa,Rb=>Rb.node)(this.onDidChangeNodeTwistieState,this,this.disposables),X.onDidChangeTwistieState&&X.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(X={}){if(void 0!==X.indent&&(this.indent=Object(Ka.b)(X.indent,0,40)),void 0!==X.renderIndentGuides){const xa=X.renderIndentGuides!==I.None;if(xa!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=xa,this.indentGuidesDisposable.dispose(),xa)){const qa=new q.b();this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,qa),this.indentGuidesDisposable=qa,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==X.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=X.hideTwistiesOfChildlessElements)}renderTemplate(X){const xa=Object(l.p)(X,Object(l.a)(".monaco-tl-row")),qa=Object(l.p)(xa,Object(l.a)(".monaco-tl-indent")),mb=Object(l.p)(xa,Object(l.a)(".monaco-tl-twistie")),ub=Object(l.p)(xa,Object(l.a)(".monaco-tl-contents")),Rb=this.renderer.renderTemplate(ub);return{container:X,indent:qa,twistie:mb,indentGuidesDisposable:q.a.None,templateData:Rb}}renderElement(X,xa,qa,mb){"number"==typeof mb&&(this.renderedNodes.set(X,{templateData:qa,height:mb}),this.renderedElements.set(X.element,X));const ub=va.DefaultIndent+(X.depth-1)*this.indent;qa.twistie.style.paddingLeft=ub+"px",qa.indent.style.width=ub+this.indent-16+"px",this.renderTwistie(X,qa),"number"==typeof mb&&this.renderIndentGuides(X,qa),this.renderer.renderElement(X,xa,qa.templateData,mb)}disposeElement(X,xa,qa,mb){qa.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(X,xa,qa.templateData,mb),"number"==typeof mb&&(this.renderedNodes.delete(X),this.renderedElements.delete(X.element))}disposeTemplate(X){this.renderer.disposeTemplate(X.templateData)}onDidChangeTwistieState(X){const xa=this.renderedElements.get(X);xa&&this.onDidChangeNodeTwistieState(xa)}onDidChangeNodeTwistieState(X){const xa=this.renderedNodes.get(X);xa&&(this.renderTwistie(X,xa.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(X,xa.templateData))}renderTwistie(X,xa){this.renderer.renderTwistie&&this.renderer.renderTwistie(X.element,xa.twistie),X.collapsible&&(!this.hideTwistiesOfChildlessElements||X.visibleChildrenCount>0)?(Object(l.f)(xa.twistie,_a.classNames,"collapsible"),Object(l.ab)(xa.twistie,"collapsed",X.collapsed)):Object(l.R)(xa.twistie,_a.classNames,"collapsible","collapsed"),X.collapsible?xa.container.setAttribute("aria-expanded",String(!X.collapsed)):xa.container.removeAttribute("aria-expanded")}renderIndentGuides(X,xa){if(Object(l.s)(xa.indent),xa.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const qa=new q.b(),mb=this.modelProvider();let ub=X;for(;;){const Rb=mb.getNodeLocation(ub),jc=mb.getParentNodeLocation(Rb);if(!jc)break;const Xb=mb.getNode(jc),wa=Object(l.a)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(Xb)&&Object(l.e)(wa,"active"),0===xa.indent.childElementCount?xa.indent.appendChild(wa):xa.indent.insertBefore(wa,xa.indent.firstElementChild),this.renderedIndentGuides.add(Xb,wa),qa.add(Object(q.h)(()=>this.renderedIndentGuides.delete(Xb,wa))),ub=Xb}xa.indentGuidesDisposable=qa}_onDidChangeActiveNodes(X){if(!this.shouldRenderIndentGuides)return;const xa=new Set(),qa=this.modelProvider();X.forEach(mb=>{const ub=qa.getNodeLocation(mb);try{const Rb=qa.getParentNodeLocation(ub);mb.collapsible&&mb.children.length>0&&!mb.collapsed?xa.add(mb):Rb&&xa.add(qa.getNode(Rb))}catch(Rb){}}),this.activeIndentNodes.forEach(mb=>{xa.has(mb)||this.renderedIndentGuides.forEach(mb,ub=>Object(l.Q)(ub,"active"))}),xa.forEach(mb=>{this.activeIndentNodes.has(mb)||this.renderedIndentGuides.forEach(mb,ub=>Object(l.e)(ub,"active"))}),this.activeIndentNodes=xa}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(q.f)(this.disposables)}}va.DefaultIndent=8;class La{constructor(X,xa,qa){this.tree=X,this.keyboardNavigationLabelProvider=xa,this._filter=qa,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new q.b(),X.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(X){this._pattern=X,this._lowercasePattern=X.toLowerCase()}filter(X,xa){if(this._filter){const Rb=this._filter.filter(X,xa);if(this.tree.options.simpleKeyboardNavigation)return Rb;let jc;if(jc="boolean"==typeof Rb?Rb?1:0:Ba(Rb)?N(Rb.visibility):Rb,0===jc)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:ga.a.Default,visibility:!0};const qa=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(X),mb=qa&&qa.toString();if(void 0===mb)return{data:ga.a.Default,visibility:!0};const ub=Object(ga.d)(this._pattern,this._lowercasePattern,0,mb,mb.toLowerCase(),0,!0);return ub?(this._matchCount++,{data:ub,visibility:!0}):this.tree.options.filterOnType?2:{data:ga.a.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){Object(q.f)(this.disposables)}}class $a{constructor(X,xa,qa,mb,ub){this.tree=X,this.view=qa,this.filter=mb,this.keyboardNavigationDelegate=ub,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new P.a(),this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new P.a(),this.enabledDisposables=new q.b(),this.disposables=new q.b(),this.domNode=Object(l.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(oa.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(l.p)(qa.getHTMLElement(),Object(l.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(l.p)(this.domNode,Object(l.a)("span.label"));const Rb=Object(l.p)(this.domNode,Object(l.a)(".controls"));this._filterOnType=!!X.options.filterOnType,this.filterOnTypeDomNode=Object(l.p)(Rb,Object(l.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),Object(oa.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(l.p)(Rb,Object(l.a)("button.clear"+ua.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(s.a)("clear","Clear"),this.keyboardNavigationEventFilter=X.options.keyboardNavigationEventFilter,xa.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(X.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(X){X.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==X.filterOnType&&(this._filterOnType=!!X.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==X.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=X.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;const X=P.b.chain(Object(oa.a)(this.view.getHTMLElement(),"keydown")).filter(qa=>!Object(F.e)(qa.target)||qa.target===this.filterOnTypeDomNode).filter(qa=>"Dead"!==qa.key&&!/^Media/.test(qa.key)).map(qa=>new U.a(qa)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(qa=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(qa)&&!(18===qa.keyCode||16===qa.keyCode||15===qa.keyCode||17===qa.keyCode)||(this.pattern.length>0||this.triggered)&&(9===qa.keyCode||1===qa.keyCode)&&!qa.altKey&&!qa.ctrlKey&&!qa.metaKey||1===qa.keyCode&&(Da.f?qa.altKey&&!qa.metaKey:qa.ctrlKey)&&!qa.shiftKey).forEach(qa=>{qa.stopPropagation(),qa.preventDefault()}).event,xa=Object(oa.a)(this.clearDomNode,"click");P.b.chain(P.b.any(X,xa)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(X){"string"==typeof X?this.onInput(X):X instanceof MouseEvent||9===X.keyCode||1===X.keyCode&&(Da.f?X.altKey:X.ctrlKey)?this.onInput(""):1===X.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+X.browserEvent.key)}onInput(X){const xa=this.view.getHTMLElement();X&&!this.domNode.parentElement?xa.append(this.domNode):!X&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=X,this._onDidChangePattern.fire(X),this.filter.pattern=X,this.tree.refilter(),X&&this.tree.focusNext(0,!0,void 0,mb=>!ga.a.isDefault(mb.filterData));const qa=this.tree.getFocus();if(qa.length>0){const mb=qa[0];null===this.tree.getRelativeTop(mb)&&this.tree.reveal(mb,.5)}this.render(),X||(this.triggered=!1)}onDragStart(){const X=this.view.getHTMLElement(),{left:xa}=Object(l.C)(X),qa=X.clientWidth,mb=qa/2,ub=this.domNode.clientWidth,Rb=new q.b();let jc=this.positionClassName;const Xb=()=>{switch(jc){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=qa-ub-6+"px"}};Xb(),Object(l.Q)(this.domNode,jc),Object(l.e)(this.domNode,"dragging"),Rb.add(Object(q.h)(()=>Object(l.Q)(this.domNode,"dragging"))),Object(oa.a)(document,"dragover")(wa=>{wa.preventDefault();const fa=wa.screenX-xa;wa.dataTransfer&&(wa.dataTransfer.dropEffect="none"),jc=fa<mb?"nw":"ne",Xb()},null,Rb),Object(oa.a)(this.domNode,"dragend")(()=>{this.positionClassName=jc,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",Object(q.f)(Rb)},null,Rb),H.c.CurrentDragAndDropData=new H.b("vscode-ui"),Rb.add(Object(q.h)(()=>H.c.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(Object(l.R)(this.filterOnTypeDomNode,za.classNames),Object(l.f)(this.filterOnTypeDomNode,fb.classNames),this.filterOnTypeDomNode.title=Object(s.a)("disable filter on type","Disable Filter on Type")):(Object(l.R)(this.filterOnTypeDomNode,fb.classNames),Object(l.f)(this.filterOnTypeDomNode,za.classNames),this.filterOnTypeDomNode.title=Object(s.a)("enable filter on type","Enable Filter on Type"))}render(){const X=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&X?(this.messageDomNode.textContent=Object(s.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),Object(l.ab)(this.domNode,"no-matches",X),this.domNode.title=Object(s.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(X){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!ga.a.isDefault(X.filterData))}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(q.f)(this.disposables)}}function Ab(X){let xa=u.Unknown;return Object(l.J)(X.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?xa=u.Twistie:Object(l.J)(X.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(xa=u.Element),{browserEvent:X.browserEvent,element:X.element?X.element.element:null,target:xa}}function gb(X,xa){xa(X),X.children.forEach(qa=>gb(qa,xa))}class Fb{constructor(X){this.identityProvider=X,this.nodes=[],this._onDidChange=new P.a(),this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(X,xa){Object(y.g)(this.nodes,X)||this._set(X,!1,xa)}_set(X,xa,qa){if(this.nodes=[...X],this.elements=void 0,this._nodeSet=void 0,!xa){const mb=this;this._onDidChange.fire({get elements(){return mb.get()},browserEvent:qa})}}get(){return this.elements||(this.elements=this.nodes.map(X=>X.element)),[...this.elements]}getNodes(){return this.nodes}has(X){return this.nodeSet.has(X)}onDidModelSplice({insertedNodes:X,deletedNodes:xa}){if(!this.identityProvider){const Xb=this.createNodeSet(),wa=fa=>Xb.delete(fa);return xa.forEach(fa=>gb(fa,wa)),void this.set([...Xb.values()])}const qa=new Set(),mb=Xb=>qa.add(this.identityProvider.getId(Xb.element).toString());xa.forEach(Xb=>gb(Xb,mb));const ub=new Map(),Rb=Xb=>ub.set(this.identityProvider.getId(Xb.element).toString(),Xb);X.forEach(Xb=>gb(Xb,Rb));const jc=[];for(const Xb of this.nodes){const wa=this.identityProvider.getId(Xb.element).toString();if(qa.has(wa)){const fa=ub.get(wa);fa&&jc.push(fa)}else jc.push(Xb)}this._set(jc,!0)}createNodeSet(){const X=new Set();for(const xa of this.nodes)X.add(xa);return X}}class wb extends F.d{constructor(X,xa){super(X),this.tree=xa}onViewPointer(X){if(Object(F.e)(X.browserEvent.target)||Object(F.f)(X.browserEvent.target))return;const xa=X.element;if(!xa)return super.onViewPointer(X);if(this.isSelectionRangeChangeEvent(X)||this.isSelectionSingleChangeEvent(X))return super.onViewPointer(X);const qa=X.browserEvent.target,mb=Object(l.I)(qa,"monaco-tl-twistie")||Object(l.I)(qa,"monaco-icon-label")&&Object(l.I)(qa,"folder-icon")&&X.browserEvent.offsetX<16;let ub=!1;if(ub="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(xa.element):!!this.tree.expandOnlyOnTwistieClick,ub&&!mb)return super.onViewPointer(X);if(this.tree.expandOnlyOnDoubleClick&&2!==X.browserEvent.detail&&!mb)return super.onViewPointer(X);if(xa.collapsible){const Rb=this.tree.model,jc=Rb.getNodeLocation(xa),Xb=X.browserEvent.altKey;if(Rb.setCollapsed(jc,void 0,Xb),ub&&mb)return}super.onViewPointer(X)}onDoubleClick(X){Object(l.I)(X.browserEvent.target,"monaco-tl-twistie")||super.onDoubleClick(X)}}class tc extends F.c{constructor(X,xa,qa,mb,ub,Rb,jc){super(X,xa,qa,mb,jc),this.focusTrait=ub,this.selectionTrait=Rb}createMouseController(X){return new wb(this,X.tree)}splice(X,xa,qa=[]){if(super.splice(X,xa,qa),0===qa.length)return;const mb=[],ub=[];qa.forEach((Rb,jc)=>{this.focusTrait.has(Rb)&&mb.push(X+jc),this.selectionTrait.has(Rb)&&ub.push(X+jc)}),mb.length>0&&super.setFocus(Object(y.f)([...super.getFocus(),...mb])),ub.length>0&&super.setSelection(Object(y.f)([...super.getSelection(),...ub]))}setFocus(X,xa,qa=!1){super.setFocus(X,xa),qa||this.focusTrait.set(X.map(mb=>this.element(mb)),xa)}setSelection(X,xa,qa=!1){super.setSelection(X,xa),qa||this.selectionTrait.set(X.map(mb=>this.element(mb)),xa)}}class rb{constructor(X,xa,qa,mb,ub={}){this._options=ub,this.eventBufferer=new P.c(),this.disposables=new q.b(),this._onWillRefilter=new P.a(),this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new P.a();const Rb=new _(qa),jc=new P.e(),Xb=new P.e(),wa=new ka(Xb.event);this.renderers=mb.map(Ya=>new va(Ya,()=>this.model,jc.event,wa,ub));for(let Ya of this.renderers)this.disposables.add(Ya);let fa;var ra,Ra;ub.keyboardNavigationLabelProvider&&(fa=new La(this,ub.keyboardNavigationLabelProvider,ub.filter),ub=Object.assign(Object.assign({},ub),{filter:fa}),this.disposables.add(fa)),this.focus=new Fb(ub.identityProvider),this.selection=new Fb(ub.identityProvider),this.view=new tc(X,xa,Rb,this.renderers,this.focus,this.selection,Object.assign(Object.assign({},(ra=()=>this.model,(Ra=ub)&&Object.assign(Object.assign({},Ra),{identityProvider:Ra.identityProvider&&{getId:Ya=>Ra.identityProvider.getId(Ya.element)},dnd:Ra.dnd&&new aa(ra,Ra.dnd),multipleSelectionController:Ra.multipleSelectionController&&{isSelectionSingleChangeEvent:Ya=>Ra.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},Ya),{element:Ya.element})),isSelectionRangeChangeEvent:Ya=>Ra.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},Ya),{element:Ya.element}))},accessibilityProvider:Ra.accessibilityProvider&&Object.assign(Object.assign({},Ra.accessibilityProvider),{getSetSize(Ya){const jb=ra(),Sb=jb.getNodeLocation(Ya),Yb=jb.getParentNodeLocation(Sb);return jb.getNode(Yb).visibleChildrenCount},getPosInSet:Ya=>Ya.visibleChildIndex+1,isChecked:Ra.accessibilityProvider&&Ra.accessibilityProvider.isChecked?Ya=>Ra.accessibilityProvider.isChecked(Ya.element):void 0,getRole:Ra.accessibilityProvider&&Ra.accessibilityProvider.getRole?Ya=>Ra.accessibilityProvider.getRole(Ya.element):()=>"treeitem",getAriaLabel:Ya=>Ra.accessibilityProvider.getAriaLabel(Ya.element),getWidgetAriaLabel:()=>Ra.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:Ra.accessibilityProvider&&Ra.accessibilityProvider.getWidgetRole?()=>Ra.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:Ya=>Ya.depth,getActiveDescendantId:Ra.accessibilityProvider.getActiveDescendantId&&(Ya=>Ra.accessibilityProvider.getActiveDescendantId(Ya.element))}),keyboardNavigationLabelProvider:Ra.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},Ra.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:Ya=>Ra.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(Ya.element)}),enableKeyboardNavigation:Ra.simpleKeyboardNavigation}))),{tree:this})),this.model=this.createModel(X,this.view,ub),jc.input=this.model.onDidChangeCollapseState;const ab=P.b.forEach(this.model.onDidSplice,Ya=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(Ya),this.selection.onDidModelSplice(Ya)})});if(ab(()=>null,null,this.disposables),Xb.input=P.b.chain(P.b.any(ab,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const Ya=new Set();for(const jb of this.focus.getNodes())Ya.add(jb);for(const jb of this.selection.getNodes())Ya.add(jb);return[...Ya.values()]}).event,!1!==ub.keyboardSupport){const Ya=P.b.chain(this.view.onKeyDown).filter(jb=>!Object(F.e)(jb.target)).map(jb=>new U.a(jb));Ya.filter(jb=>15===jb.keyCode).on(this.onLeftArrow,this,this.disposables),Ya.filter(jb=>17===jb.keyCode).on(this.onRightArrow,this,this.disposables),Ya.filter(jb=>10===jb.keyCode).on(this.onSpace,this,this.disposables)}if(ub.keyboardNavigationLabelProvider){const Ya=ub.keyboardNavigationDelegate||F.a;this.typeFilterController=new $a(this,this.model,this.view,fa,Ya),this.focusNavigationFilter=jb=>this.typeFilterController.shouldAllowFocus(jb),this.disposables.add(this.typeFilterController)}this.styleElement=Object(l.v)(this.view.getHTMLElement()),Object(l.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===I.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return P.b.map(this.view.onMouseDblClick,Ab)}get onPointer(){return P.b.map(this.view.onPointer,Ab)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnlyOnDoubleClick(){var X;return null!==(X=this._options.expandOnlyOnDoubleClick)&&void 0!==X&&X}get expandOnlyOnTwistieClick(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(X={}){this._options=Object.assign(Object.assign({},this._options),X);for(const xa of this.renderers)xa.updateOptions(X);this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(l.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===I.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(X){this.view.scrollTop=X}domFocus(){this.view.domFocus()}layout(X,xa){this.view.layout(X,xa)}style(X){const xa="."+this.view.domId,qa=[];X.treeIndentGuidesStroke&&(qa.push(`.monaco-list${xa}:hover .monaco-tl-indent > .indent-guide, .monaco-list${xa}.always .monaco-tl-indent > .indent-guide { border-color: ${X.treeIndentGuidesStroke.transparent(.4)}; }`),qa.push(`.monaco-list${xa} .monaco-tl-indent > .indent-guide.active { border-color: ${X.treeIndentGuidesStroke}; }`));const mb=qa.join(` -`);mb!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=mb),this.view.style(X)}collapse(X,xa=!1){return this.model.setCollapsed(X,!0,xa)}expand(X,xa=!1){return this.model.setCollapsed(X,!1,xa)}isCollapsible(X){return this.model.isCollapsible(X)}setCollapsible(X,xa){return this.model.setCollapsible(X,xa)}isCollapsed(X){return this.model.isCollapsed(X)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(X,xa){const qa=X.map(ub=>this.model.getNode(ub));this.selection.set(qa,xa);const mb=X.map(ub=>this.model.getListIndex(ub)).filter(ub=>ub>-1);this.view.setSelection(mb,xa,!0)}getSelection(){return this.selection.get()}setFocus(X,xa){const qa=X.map(ub=>this.model.getNode(ub));this.focus.set(qa,xa);const mb=X.map(ub=>this.model.getListIndex(ub)).filter(ub=>ub>-1);this.view.setFocus(mb,xa,!0)}focusNext(X=1,xa=!1,qa,mb=this.focusNavigationFilter){this.view.focusNext(X,xa,qa,mb)}getFocus(){return this.focus.get()}reveal(X,xa){this.model.expandTo(X);const qa=this.model.getListIndex(X);-1!==qa&&this.view.reveal(qa,xa)}getRelativeTop(X){const xa=this.model.getListIndex(X);return-1===xa?null:this.view.getRelativeTop(xa)}onLeftArrow(X){X.preventDefault(),X.stopPropagation();const xa=this.view.getFocusedElements();if(0===xa.length)return;const qa=xa[0],mb=this.model.getNodeLocation(qa);if(!this.model.setCollapsed(mb,!0)){const ub=this.model.getParentNodeLocation(mb);if(!ub)return;const Rb=this.model.getListIndex(ub);this.view.reveal(Rb),this.view.setFocus([Rb])}}onRightArrow(X){X.preventDefault(),X.stopPropagation();const xa=this.view.getFocusedElements();if(0===xa.length)return;const qa=xa[0],mb=this.model.getNodeLocation(qa);if(!this.model.setCollapsed(mb,!1)){if(!qa.children.some(jc=>jc.visible))return;const[ub]=this.view.getFocus(),Rb=ub+1;this.view.reveal(Rb),this.view.setFocus([Rb])}}onSpace(X){X.preventDefault(),X.stopPropagation();const xa=this.view.getFocusedElements();if(0===xa.length)return;const qa=xa[0],mb=this.model.getNodeLocation(qa),ub=X.browserEvent.altKey;this.model.setCollapsed(mb,void 0,ub)}dispose(){Object(q.f)(this.disposables),this.view.dispose()}}class wc{constructor(X,xa,qa={}){this.user=X,this.rootRef=null,this.nodes=new Map(),this.nodesByIdentity=new Map(),this.model=new ma(X,xa,null,qa),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,qa.sorter&&(this.sorter={compare:(mb,ub)=>qa.sorter.compare(mb.element,ub.element)}),this.identityProvider=qa.identityProvider}setChildren(X,xa=A.a.empty(),qa,mb){const ub=this.getElementLocation(X);this._setChildren(ub,this.preserveCollapseState(xa),qa,mb)}_setChildren(X,xa=A.a.empty(),qa,mb){const ub=new Set(),Rb=new Set();this.model.splice([...X,0],Number.MAX_VALUE,xa,jc=>{if(null===jc.element)return;const Xb=jc;if(ub.add(Xb.element),this.nodes.set(Xb.element,Xb),this.identityProvider){const wa=this.identityProvider.getId(Xb.element).toString();Rb.add(wa),this.nodesByIdentity.set(wa,Xb)}qa&&qa(Xb)},jc=>{if(null===jc.element)return;const Xb=jc;if(ub.has(Xb.element)||this.nodes.delete(Xb.element),this.identityProvider){const wa=this.identityProvider.getId(Xb.element).toString();Rb.has(wa)||this.nodesByIdentity.delete(wa)}mb&&mb(Xb)})}preserveCollapseState(X=A.a.empty()){return this.sorter&&(X=Object(y.p)([...X],this.sorter.compare.bind(this.sorter))),A.a.map(X,xa=>{let qa=this.nodes.get(xa.element);if(!qa&&this.identityProvider){const Rb=this.identityProvider.getId(xa.element).toString();qa=this.nodesByIdentity.get(Rb)}if(!qa)return Object.assign(Object.assign({},xa),{children:this.preserveCollapseState(xa.children)});const mb="boolean"==typeof xa.collapsible?xa.collapsible:qa.collapsible,ub=void 0!==xa.collapsed?xa.collapsed:qa.collapsed;return Object.assign(Object.assign({},xa),{collapsible:mb,collapsed:ub,children:this.preserveCollapseState(xa.children)})})}rerender(X){const xa=this.getElementLocation(X);this.model.rerender(xa)}has(X){return this.nodes.has(X)}getListIndex(X){const xa=this.getElementLocation(X);return this.model.getListIndex(xa)}getListRenderCount(X){const xa=this.getElementLocation(X);return this.model.getListRenderCount(xa)}isCollapsible(X){const xa=this.getElementLocation(X);return this.model.isCollapsible(xa)}setCollapsible(X,xa){const qa=this.getElementLocation(X);return this.model.setCollapsible(qa,xa)}isCollapsed(X){const xa=this.getElementLocation(X);return this.model.isCollapsed(xa)}setCollapsed(X,xa,qa){const mb=this.getElementLocation(X);return this.model.setCollapsed(mb,xa,qa)}expandTo(X){const xa=this.getElementLocation(X);this.model.expandTo(xa)}refilter(){this.model.refilter()}getNode(X=null){if(null===X)return this.model.getNode(this.model.rootRef);const xa=this.nodes.get(X);if(!xa)throw new da(this.user,"Tree element not found: "+X);return xa}getNodeLocation(X){return X.element}getParentNodeLocation(X){if(null===X)throw new da(this.user,"Invalid getParentNodeLocation call");const xa=this.nodes.get(X);if(!xa)throw new da(this.user,"Tree element not found: "+X);const qa=this.model.getNodeLocation(xa),mb=this.model.getParentNodeLocation(qa);return this.model.getNode(mb).element}getElementLocation(X){if(null===X)return[];const xa=this.nodes.get(X);if(!xa)throw new da(this.user,"Tree element not found: "+X);return this.model.getNodeLocation(xa)}}function vc(X){return{element:{elements:[X.element],incompressible:X.incompressible||!1},children:A.a.map(A.a.from(X.children),vc),collapsible:X.collapsible,collapsed:X.collapsed}}function cb(X){const xa=[X.element],qa=X.incompressible||!1;let mb,ub;for(;[ub,mb]=A.a.consume(A.a.from(X.children),2),1===ub.length&&!(X=ub[0]).incompressible;)xa.push(X.element);return{element:{elements:xa,incompressible:qa},children:A.a.map(A.a.concat(ub,mb),cb),collapsible:X.collapsible,collapsed:X.collapsed}}function Ob(X){return function xa(qa,mb=0){let ub;return ub=mb<qa.element.elements.length-1?[xa(qa,mb+1)]:A.a.map(A.a.from(qa.children),Rb=>xa(Rb,0)),0===mb&&qa.element.incompressible?{element:qa.element.elements[mb],children:ub,incompressible:!0,collapsible:qa.collapsible,collapsed:qa.collapsed}:{element:qa.element.elements[mb],children:ub,collapsible:qa.collapsible,collapsed:qa.collapsed}}(X,0)}class uc{constructor(X,xa,qa={}){this.user=X,this.rootRef=null,this.nodes=new Map(),this.model=new wc(X,xa,qa),this.enabled=void 0===qa.compressionEnabled||qa.compressionEnabled}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(X,xa=A.a.empty()){if(null===X){const fa=A.a.map(xa,this.enabled?cb:vc);return void this._setChildren(null,fa)}const qa=this.nodes.get(X);if(!qa)throw new Error("Unknown compressed tree node");const mb=this.model.getNode(qa),ub=this.model.getParentNodeLocation(qa),Rb=this.model.getNode(ub),jc=function fa(ra,Ra,ab){return ra.element===Ra?Object.assign(Object.assign({},ra),{children:ab}):Object.assign(Object.assign({},ra),{children:A.a.map(A.a.from(ra.children),Ya=>fa(Ya,Ra,ab))})}(Ob(mb),X,xa),Xb=(this.enabled?cb:vc)(jc),wa=Rb.children.map(fa=>fa===mb?Xb:fa);this._setChildren(Rb.element,wa)}setCompressionEnabled(X){if(X===this.enabled)return;this.enabled=X;const xa=this.model.getNode().children,qa=A.a.map(xa,Ob),mb=A.a.map(qa,X?cb:vc);this._setChildren(null,mb)}_setChildren(X,xa){const qa=new Set();this.model.setChildren(X,xa,mb=>{for(const ub of mb.element.elements)qa.add(ub),this.nodes.set(ub,mb.element)},mb=>{for(const ub of mb.element.elements)qa.has(ub)||this.nodes.delete(ub)})}has(X){return this.nodes.has(X)}getListIndex(X){const xa=this.getCompressedNode(X);return this.model.getListIndex(xa)}getListRenderCount(X){const xa=this.getCompressedNode(X);return this.model.getListRenderCount(xa)}getNode(X){if(void 0===X)return this.model.getNode();const xa=this.getCompressedNode(X);return this.model.getNode(xa)}getNodeLocation(X){const xa=this.model.getNodeLocation(X);return null===xa?null:xa.elements[xa.elements.length-1]}getParentNodeLocation(X){const xa=this.getCompressedNode(X),qa=this.model.getParentNodeLocation(xa);return null===qa?null:qa.elements[qa.elements.length-1]}isCollapsible(X){const xa=this.getCompressedNode(X);return this.model.isCollapsible(xa)}setCollapsible(X,xa){const qa=this.getCompressedNode(X);return this.model.setCollapsible(qa,xa)}isCollapsed(X){const xa=this.getCompressedNode(X);return this.model.isCollapsed(xa)}setCollapsed(X,xa,qa){const mb=this.getCompressedNode(X);return this.model.setCollapsed(mb,xa,qa)}expandTo(X){const xa=this.getCompressedNode(X);this.model.expandTo(xa)}rerender(X){const xa=this.getCompressedNode(X);this.model.rerender(xa)}refilter(){this.model.refilter()}getCompressedNode(X){if(null===X)return null;const xa=this.nodes.get(X);if(!xa)throw new da(this.user,"Tree element not found: "+X);return xa}}const Cc=X=>X[X.length-1];class Kc{constructor(X,xa){this.unwrapper=X,this.node=xa}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(X=>new Kc(this.unwrapper,X))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Yc{constructor(X,xa,qa={}){this.rootRef=null,this.elementMapper=qa.elementMapper||Cc;const mb=ub=>this.elementMapper(ub.elements);this.nodeMapper=new Z(ub=>new Kc(mb,ub)),this.model=new uc(X,function(ub,Rb){return{splice(jc,Xb,wa){Rb.splice(jc,Xb,wa.map(fa=>ub.map(fa)))},updateElementHeight(jc,Xb){Rb.updateElementHeight(jc,Xb)}}}(this.nodeMapper,xa),function(ub,Rb){return Object.assign(Object.assign({},Rb),{sorter:Rb.sorter&&{compare:(jc,Xb)=>Rb.sorter.compare(jc.elements[0],Xb.elements[0])},identityProvider:Rb.identityProvider&&{getId:jc=>Rb.identityProvider.getId(ub(jc))},filter:Rb.filter&&{filter:(jc,Xb)=>Rb.filter.filter(ub(jc),Xb)}})}(mb,qa))}get onDidSplice(){return P.b.map(this.model.onDidSplice,({insertedNodes:X,deletedNodes:xa})=>({insertedNodes:X.map(qa=>this.nodeMapper.map(qa)),deletedNodes:xa.map(qa=>this.nodeMapper.map(qa))}))}get onDidChangeCollapseState(){return P.b.map(this.model.onDidChangeCollapseState,({node:X,deep:xa})=>({node:this.nodeMapper.map(X),deep:xa}))}get onDidChangeRenderNodeCount(){return P.b.map(this.model.onDidChangeRenderNodeCount,X=>this.nodeMapper.map(X))}setChildren(X,xa=A.a.empty()){this.model.setChildren(X,xa)}setCompressionEnabled(X){this.model.setCompressionEnabled(X)}has(X){return this.model.has(X)}getListIndex(X){return this.model.getListIndex(X)}getListRenderCount(X){return this.model.getListRenderCount(X)}getNode(X){return this.nodeMapper.map(this.model.getNode(X))}getNodeLocation(X){return X.element}getParentNodeLocation(X){return this.model.getParentNodeLocation(X)}isCollapsible(X){return this.model.isCollapsible(X)}setCollapsible(X,xa){return this.model.setCollapsible(X,xa)}isCollapsed(X){return this.model.isCollapsed(X)}setCollapsed(X,xa,qa){return this.model.setCollapsed(X,xa,qa)}expandTo(X){return this.model.expandTo(X)}rerender(X){return this.model.rerender(X)}refilter(){return this.model.refilter()}getCompressedTreeNode(X=null){return this.model.getNode(X)}}var sc=f(98),Nb=function(X,xa,qa,mb){var ub,Rb=arguments.length,jc=Rb<3?xa:null===mb?mb=Object.getOwnPropertyDescriptor(xa,qa):mb;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)jc=Reflect.decorate(X,xa,qa,mb);else for(var Xb=X.length-1;Xb>=0;Xb--)(ub=X[Xb])&&(jc=(Rb<3?ub(jc):Rb>3?ub(xa,qa,jc):ub(xa,qa))||jc);return Rb>3&&jc&&Object.defineProperty(xa,qa,jc),jc};class Fc extends rb{constructor(X,xa,qa,mb,ub={}){super(X,xa,qa,mb,ub)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(X,xa=A.a.empty()){this.model.setChildren(X,xa)}rerender(X){void 0!==X?this.model.rerender(X):this.view.rerender()}hasElement(X){return this.model.has(X)}createModel(X,xa,qa){return new wc(X,xa,qa)}}class pb{constructor(X,xa){this._compressedTreeNodeProvider=X,this.renderer=xa,this.templateId=xa.templateId,xa.onDidChangeTwistieState&&(this.onDidChangeTwistieState=xa.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(X){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(X)}}renderElement(X,xa,qa,mb){const ub=this.compressedTreeNodeProvider.getCompressedTreeNode(X.element);1===ub.element.elements.length?(qa.compressedTreeNode=void 0,this.renderer.renderElement(X,xa,qa.data,mb)):(qa.compressedTreeNode=ub,this.renderer.renderCompressedElements(ub,xa,qa.data,mb))}disposeElement(X,xa,qa,mb){qa.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(qa.compressedTreeNode,xa,qa.data,mb):this.renderer.disposeElement&&this.renderer.disposeElement(X,xa,qa.data,mb)}disposeTemplate(X){this.renderer.disposeTemplate(X.data)}renderTwistie(X,xa){this.renderer.renderTwistie&&this.renderer.renderTwistie(X,xa)}}Nb([sc.a],pb.prototype,"compressedTreeNodeProvider",null);class mc extends Fc{constructor(X,xa,qa,mb,ub={}){const Rb=()=>this;super(X,xa,qa,mb.map(jc=>new pb(Rb,jc)),function(jc,Xb){return Xb&&Object.assign(Object.assign({},Xb),{keyboardNavigationLabelProvider:Xb.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(wa){let fa;try{fa=jc().getCompressedTreeNode(wa)}catch(ra){return Xb.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(wa)}return 1===fa.element.elements.length?Xb.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(wa):Xb.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(fa.element.elements)}}})}(Rb,ub))}setChildren(X,xa=A.a.empty()){this.model.setChildren(X,xa)}createModel(X,xa,qa){return new Yc(X,xa,qa)}updateOptions(X={}){super.updateOptions(X),void 0!==X.compressionEnabled&&this.model.setCompressionEnabled(X.compressionEnabled)}getCompressedTreeNode(X=null){return this.model.getCompressedTreeNode(X)}}var Eb=f(13),qb=function(X,xa,qa,mb){return new(qa||(qa=Promise))(function(ub,Rb){function jc(fa){try{wa(mb.next(fa))}catch(ra){Rb(ra)}}function Xb(fa){try{wa(mb.throw(fa))}catch(ra){Rb(ra)}}function wa(fa){var ra;fa.done?ub(fa.value):(ra=fa.value,ra instanceof qa?ra:new qa(function(Ra){Ra(ra)})).then(jc,Xb)}wa((mb=mb.apply(X,xa||[])).next())})};function Va(X){return Object.assign(Object.assign({},X),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function Oa(X,xa){return!!xa.parent&&(xa.parent===X||Oa(X,xa.parent))}class Qa{constructor(X){this.node=X}get element(){return this.node.element.element}get children(){return this.node.children.map(X=>new Qa(X))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class kb{constructor(X,xa,qa){this.renderer=X,this.nodeMapper=xa,this.onDidChangeTwistieState=qa,this.renderedNodes=new Map(),this.templateId=X.templateId}renderTemplate(X){return{templateData:this.renderer.renderTemplate(X)}}renderElement(X,xa,qa,mb){this.renderer.renderElement(this.nodeMapper.map(X),xa,qa.templateData,mb)}renderTwistie(X,xa){return X.slow?Object(l.f)(xa,ba.classNames):Object(l.R)(xa,ba.classNames),!1}disposeElement(X,xa,qa,mb){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(X),xa,qa.templateData,mb)}disposeTemplate(X){this.renderer.disposeTemplate(X.templateData)}dispose(){this.renderedNodes.clear()}}function tb(X){return{browserEvent:X.browserEvent,elements:X.elements.map(xa=>xa.element)}}function oc(X){return{browserEvent:X.browserEvent,element:X.element&&X.element.element,target:X.target}}class ec extends ea.a{constructor(X){super(X.elements.map(xa=>xa.element)),this.data=X}}function $b(X){return X instanceof ea.a?new ec(X):X}class Hc{constructor(X){this.dnd=X}getDragURI(X){return this.dnd.getDragURI(X.element)}getDragLabel(X,xa){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(X.map(qa=>qa.element),xa)}onDragStart(X,xa){this.dnd.onDragStart&&this.dnd.onDragStart($b(X),xa)}onDragOver(X,xa,qa,mb,ub=!0){return this.dnd.onDragOver($b(X),xa&&xa.element,qa,mb)}drop(X,xa,qa,mb){this.dnd.drop($b(X),xa&&xa.element,qa,mb)}onDragEnd(X){this.dnd.onDragEnd&&this.dnd.onDragEnd(X)}}function Bc(X){return X&&Object.assign(Object.assign({},X),{collapseByDefault:!0,identityProvider:X.identityProvider&&{getId:xa=>X.identityProvider.getId(xa.element)},dnd:X.dnd&&new Hc(X.dnd),multipleSelectionController:X.multipleSelectionController&&{isSelectionSingleChangeEvent:xa=>X.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},xa),{element:xa.element})),isSelectionRangeChangeEvent:xa=>X.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},xa),{element:xa.element}))},accessibilityProvider:X.accessibilityProvider&&Object.assign(Object.assign({},X.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:X.accessibilityProvider.getRole?xa=>X.accessibilityProvider.getRole(xa.element):()=>"treeitem",isChecked:X.accessibilityProvider.isChecked?xa=>{var qa;return!!(null===(qa=X.accessibilityProvider)||void 0===qa?void 0:qa.isChecked(xa.element))}:void 0,getAriaLabel:xa=>X.accessibilityProvider.getAriaLabel(xa.element),getWidgetAriaLabel:()=>X.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:X.accessibilityProvider.getWidgetRole?()=>X.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:X.accessibilityProvider.getAriaLevel&&(xa=>X.accessibilityProvider.getAriaLevel(xa.element)),getActiveDescendantId:X.accessibilityProvider.getActiveDescendantId&&(xa=>X.accessibilityProvider.getActiveDescendantId(xa.element))}),filter:X.filter&&{filter:(xa,qa)=>X.filter.filter(xa.element,qa)},keyboardNavigationLabelProvider:X.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},X.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:xa=>X.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(xa.element)}),sorter:void 0,expandOnlyOnTwistieClick:void 0===X.expandOnlyOnTwistieClick?void 0:"function"!=typeof X.expandOnlyOnTwistieClick?X.expandOnlyOnTwistieClick:xa=>X.expandOnlyOnTwistieClick(xa.element),additionalScrollHeight:X.additionalScrollHeight})}function Vc(X,xa){xa(X),X.children.forEach(qa=>Vc(qa,xa))}class Ic{constructor(X,xa,qa,mb,ub,Rb={}){this.user=X,this.dataSource=ub,this.nodes=new Map(),this.subTreeRefreshPromises=new Map(),this.refreshPromises=new Map(),this._onDidRender=new P.a(),this._onDidChangeNodeSlowState=new P.a(),this.nodeMapper=new Z(jc=>new Qa(jc)),this.disposables=new q.b(),this.identityProvider=Rb.identityProvider,this.autoExpandSingleChildren=void 0!==Rb.autoExpandSingleChildren&&Rb.autoExpandSingleChildren,this.sorter=Rb.sorter,this.collapseByDefault=Rb.collapseByDefault,this.tree=this.createTree(X,xa,qa,mb,Rb),this.root=Va({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return P.b.map(this.tree.onDidChangeFocus,tb)}get onDidChangeSelection(){return P.b.map(this.tree.onDidChangeSelection,tb)}get onMouseDblClick(){return P.b.map(this.tree.onMouseDblClick,oc)}get onPointer(){return P.b.map(this.tree.onPointer,oc)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(X,xa,qa,mb,ub){const Rb=new _(qa),jc=mb.map(wa=>new kb(wa,this.nodeMapper,this._onDidChangeNodeSlowState.event)),Xb=Bc(ub)||{};return new Fc(X,xa,Rb,jc,Xb)}updateOptions(X={}){this.tree.updateOptions(X)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(X){this.tree.scrollTop=X}domFocus(){this.tree.domFocus()}layout(X,xa){this.tree.layout(X,xa)}style(X){this.tree.style(X)}getInput(){return this.root.element}setInput(X,xa){return qb(this,void 0,void 0,function*(){this.refreshPromises.forEach(mb=>mb.cancel()),this.refreshPromises.clear(),this.root.element=X;const qa=xa&&{viewState:xa,focus:[],selection:[]};yield this._updateChildren(X,!0,!1,qa),qa&&(this.tree.setFocus(qa.focus),this.tree.setSelection(qa.selection)),xa&&"number"==typeof xa.scrollTop&&(this.scrollTop=xa.scrollTop)})}_updateChildren(X=this.root.element,xa=!0,qa=!1,mb){return qb(this,void 0,void 0,function*(){if(void 0===this.root.element)throw new da(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield P.b.toPromise(this._onDidRender.event));const ub=this.getDataNode(X);if(yield this.refreshAndRenderNode(ub,xa,mb),qa)try{this.tree.rerender(ub)}catch(Rb){}})}rerender(X){if(void 0===X||X===this.root.element)return void this.tree.rerender();const xa=this.getDataNode(X);this.tree.rerender(xa)}collapse(X,xa=!1){const qa=this.getDataNode(X);return this.tree.collapse(qa===this.root?null:qa,xa)}expand(X,xa=!1){return qb(this,void 0,void 0,function*(){if(void 0===this.root.element)throw new da(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield P.b.toPromise(this._onDidRender.event));const qa=this.getDataNode(X);if(this.tree.hasElement(qa)&&!this.tree.isCollapsible(qa))return!1;if(qa.refreshPromise&&(yield this.root.refreshPromise,yield P.b.toPromise(this._onDidRender.event)),qa!==this.root&&!qa.refreshPromise&&!this.tree.isCollapsed(qa))return!1;const mb=this.tree.expand(qa===this.root?null:qa,xa);return qa.refreshPromise&&(yield this.root.refreshPromise,yield P.b.toPromise(this._onDidRender.event)),mb})}setSelection(X,xa){const qa=X.map(mb=>this.getDataNode(mb));this.tree.setSelection(qa,xa)}getSelection(){return this.tree.getSelection().map(X=>X.element)}setFocus(X,xa){const qa=X.map(mb=>this.getDataNode(mb));this.tree.setFocus(qa,xa)}getFocus(){return this.tree.getFocus().map(X=>X.element)}reveal(X,xa){this.tree.reveal(this.getDataNode(X),xa)}getDataNode(X){const xa=this.nodes.get(X===this.root.element?null:X);if(!xa)throw new da(this.user,"Data tree node not found: "+X);return xa}refreshAndRenderNode(X,xa,qa){return qb(this,void 0,void 0,function*(){yield this.refreshNode(X,xa,qa),this.render(X,qa)})}refreshNode(X,xa,qa){return qb(this,void 0,void 0,function*(){let mb;return this.subTreeRefreshPromises.forEach((ub,Rb)=>{!mb&&function(jc,Xb){return jc===Xb||Oa(jc,Xb)||Oa(Xb,jc)}(Rb,X)&&(mb=ub.then(()=>this.refreshNode(X,xa,qa)))}),mb||this.doRefreshSubTree(X,xa,qa)})}doRefreshSubTree(X,xa,qa){return qb(this,void 0,void 0,function*(){let mb;X.refreshPromise=new Promise(ub=>mb=ub),this.subTreeRefreshPromises.set(X,X.refreshPromise),X.refreshPromise.finally(()=>{X.refreshPromise=void 0,this.subTreeRefreshPromises.delete(X)});try{const ub=yield this.doRefreshNode(X,xa,qa);X.stale=!1,yield Promise.all(ub.map(Rb=>this.doRefreshSubTree(Rb,xa,qa)))}finally{mb()}})}doRefreshNode(X,xa,qa){return qb(this,void 0,void 0,function*(){let mb;if(X.hasChildren=!!this.dataSource.hasChildren(X.element),X.hasChildren){const ub=Object(ta.l)(800);ub.then(()=>{X.slow=!0,this._onDidChangeNodeSlowState.fire(X)},Rb=>null),mb=this.doGetChildren(X).finally(()=>ub.cancel())}else mb=Promise.resolve(A.a.empty());try{const ub=yield mb;return this.setChildren(X,ub,xa,qa)}catch(ub){if(X!==this.root&&this.tree.collapse(X===this.root?null:X),Object(Eb.d)(ub))return[];throw ub}finally{X.slow&&(X.slow=!1,this._onDidChangeNodeSlowState.fire(X))}})}doGetChildren(X){let xa=this.refreshPromises.get(X);return xa||(xa=Object(ta.f)(()=>qb(this,void 0,void 0,function*(){const qa=yield this.dataSource.getChildren(X.element);return this.processChildren(qa)})),this.refreshPromises.set(X,xa),xa.finally(()=>{this.refreshPromises.delete(X)}))}_onDidChangeCollapseState({node:X,deep:xa}){null!==X.element&&!X.collapsed&&X.element.stale&&(xa?this.collapse(X.element.element):this.refreshAndRenderNode(X.element,!1).catch(Eb.e))}setChildren(X,xa,qa,mb){const ub=[...xa];if(0===X.children.length&&0===ub.length)return[];const Rb=new Map(),jc=new Map();for(const fa of X.children)if(Rb.set(fa.element,fa),this.identityProvider){const ra=this.tree.isCollapsed(fa);jc.set(fa.id,{node:fa,collapsed:ra})}const Xb=[],wa=ub.map(fa=>{const ra=!!this.dataSource.hasChildren(fa);if(!this.identityProvider){const jb=Va({element:fa,parent:X,hasChildren:ra});return ra&&this.collapseByDefault&&!this.collapseByDefault(fa)&&(jb.collapsedByDefault=!1,Xb.push(jb)),jb}const Ra=this.identityProvider.getId(fa).toString(),ab=jc.get(Ra);if(ab){const jb=ab.node;return Rb.delete(jb.element),this.nodes.delete(jb.element),this.nodes.set(fa,jb),jb.element=fa,jb.hasChildren=ra,qa?ab.collapsed?(jb.children.forEach(Sb=>Vc(Sb,Yb=>this.nodes.delete(Yb.element))),jb.children.splice(0,jb.children.length),jb.stale=!0):Xb.push(jb):ra&&this.collapseByDefault&&!this.collapseByDefault(fa)&&(jb.collapsedByDefault=!1,Xb.push(jb)),jb}const Ya=Va({element:fa,parent:X,id:Ra,hasChildren:ra});return mb&&mb.viewState.focus&&mb.viewState.focus.indexOf(Ra)>-1&&mb.focus.push(Ya),mb&&mb.viewState.selection&&mb.viewState.selection.indexOf(Ra)>-1&&mb.selection.push(Ya),mb&&mb.viewState.expanded&&mb.viewState.expanded.indexOf(Ra)>-1?Xb.push(Ya):ra&&this.collapseByDefault&&!this.collapseByDefault(fa)&&(Ya.collapsedByDefault=!1,Xb.push(Ya)),Ya});for(const fa of Rb.values())Vc(fa,ra=>this.nodes.delete(ra.element));for(const fa of wa)this.nodes.set(fa.element,fa);return X.children.splice(0,X.children.length,...wa),X!==this.root&&this.autoExpandSingleChildren&&1===wa.length&&0===Xb.length&&(wa[0].collapsedByDefault=!1,Xb.push(wa[0])),Xb}render(X,xa){const qa=X.children.map(mb=>this.asTreeElement(mb,xa));this.tree.setChildren(X===this.root?null:X,qa),X!==this.root&&this.tree.setCollapsible(X,X.hasChildren),this._onDidRender.fire()}asTreeElement(X,xa){if(X.stale)return{element:X,collapsible:X.hasChildren,collapsed:!0};let qa;return qa=!(xa&&xa.viewState.expanded&&X.id&&xa.viewState.expanded.indexOf(X.id)>-1)&&X.collapsedByDefault,X.collapsedByDefault=void 0,{element:X,children:X.hasChildren?A.a.map(X.children,mb=>this.asTreeElement(mb,xa)):[],collapsible:X.hasChildren,collapsed:qa}}processChildren(X){return this.sorter&&(X=[...X].sort(this.sorter.compare.bind(this.sorter))),X}dispose(){this.disposables.dispose()}}class xc{constructor(X){this.node=X}get element(){return{elements:this.node.element.elements.map(X=>X.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(X=>new xc(X))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class nb{constructor(X,xa,qa,mb){this.renderer=X,this.nodeMapper=xa,this.compressibleNodeMapperProvider=qa,this.onDidChangeTwistieState=mb,this.renderedNodes=new Map(),this.disposables=[],this.templateId=X.templateId}renderTemplate(X){return{templateData:this.renderer.renderTemplate(X)}}renderElement(X,xa,qa,mb){this.renderer.renderElement(this.nodeMapper.map(X),xa,qa.templateData,mb)}renderCompressedElements(X,xa,qa,mb){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(X),xa,qa.templateData,mb)}renderTwistie(X,xa){return X.slow?Object(l.f)(xa,ba.classNames):Object(l.R)(xa,ba.classNames),!1}disposeElement(X,xa,qa,mb){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(X),xa,qa.templateData,mb)}disposeCompressedElements(X,xa,qa,mb){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(X),xa,qa.templateData,mb)}disposeTemplate(X){this.renderer.disposeTemplate(X.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=Object(q.f)(this.disposables)}}class zb extends Ic{constructor(X,xa,qa,mb,ub,Rb,jc={}){super(X,xa,qa,ub,Rb,jc),this.compressionDelegate=mb,this.compressibleNodeMapper=new Z(Xb=>new xc(Xb)),this.filter=jc.filter}createTree(X,xa,qa,mb,ub){const Rb=new _(qa),jc=mb.map(wa=>new nb(wa,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),Xb=function(wa){const fa=wa&&Bc(wa);return fa&&Object.assign(Object.assign({},fa),{keyboardNavigationLabelProvider:fa.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},fa.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:ra=>wa.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(ra.map(Ra=>Ra.element))})})}(ub)||{};return new mc(X,xa,Rb,jc,Xb)}asTreeElement(X,xa){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(X.element)},super.asTreeElement(X,xa))}updateOptions(X={}){this.tree.updateOptions(X)}render(X,xa){if(!this.identityProvider)return super.render(X,xa);const qa=Ra=>this.identityProvider.getId(Ra).toString(),mb=Ra=>{const ab=new Set();for(const Ya of Ra){const jb=this.tree.getCompressedTreeNode(Ya===this.root?null:Ya);if(jb.element)for(const Sb of jb.element.elements)ab.add(qa(Sb.element))}return ab},ub=mb(this.tree.getSelection()),Rb=mb(this.tree.getFocus());super.render(X,xa);const jc=this.getSelection();let Xb=!1;const wa=this.getFocus();let fa=!1;const ra=Ra=>{const ab=Ra.element;if(ab)for(let Ya=0;Ya<ab.elements.length;Ya++){const jb=qa(ab.elements[Ya].element),Sb=ab.elements[ab.elements.length-1].element;ub.has(jb)&&-1===jc.indexOf(Sb)&&(jc.push(Sb),Xb=!0),Rb.has(jb)&&-1===wa.indexOf(Sb)&&(wa.push(Sb),fa=!0)}Ra.children.forEach(ra)};ra(this.tree.getCompressedTreeNode(X===this.root?null:X)),Xb&&this.setSelection(jc),fa&&this.setFocus(wa)}processChildren(X){return this.filter&&(X=A.a.filter(X,xa=>{const qa=this.filter.filter(xa,1),mb="boolean"==typeof(ub=qa)?ub?1:0:Ba(ub)?N(ub.visibility):N(ub);var ub;if(2===mb)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===mb})),super.processChildren(X)}}class dc extends rb{constructor(X,xa,qa,mb,ub,Rb={}){super(X,xa,qa,mb,Rb),this.user=X,this.dataSource=ub,this.identityProvider=Rb.identityProvider}createModel(X,xa,qa){return new wc(X,xa,qa)}}var Dc=f(80),Pc=function(X,xa,qa,mb){var ub,Rb=arguments.length,jc=Rb<3?xa:null===mb?mb=Object.getOwnPropertyDescriptor(xa,qa):mb;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)jc=Reflect.decorate(X,xa,qa,mb);else for(var Xb=X.length-1;Xb>=0;Xb--)(ub=X[Xb])&&(jc=(Rb<3?ub(jc):Rb>3?ub(xa,qa,jc):ub(xa,qa))||jc);return Rb>3&&jc&&Object.defineProperty(xa,qa,jc),jc},Nc=function(X,xa){return function(qa,mb){xa(qa,mb,X)}};const Ed=Object(B.c)("listService");let ad=class{constructor(X){this._themeService=X,this.disposables=new q.b(),this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}register(X,xa){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const mb=new F.b(Object(l.v)(),"");this.disposables.add(Object(w.b)(mb,this._themeService))}if(this.lists.some(mb=>mb.widget===X))throw new Error("Cannot register the same widget multiple times");const qa={widget:X,extraContextKeys:xa};return this.lists.push(qa),X.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=X),Object(q.e)(X.onDidFocus(()=>this._lastFocusedWidget=X),Object(q.h)(()=>this.lists.splice(this.lists.indexOf(qa),1)),X.onDidDispose(()=>{this.lists=this.lists.filter(mb=>mb!==qa),this._lastFocusedWidget===X&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};ad=Pc([Nc(0,x.c)],ad);const ud=new Q.c("listFocus",!0),Od=new Q.c("listSupportsMultiselect",!0),wd=Q.a.and(ud,Q.a.not("inputFocus")),Dd=new Q.c("listHasSelectionOrFocus",!1),ce=new Q.c("listDoubleSelection",!1),_d=new Q.c("listMultiSelection",!1),oe=new Q.c("listSupportsKeyboardNavigation",!0),nd=new Q.c("listAutomaticKeyboardNavigation",!0);let Qd=!1;function jd(X,xa){const qa=X.createScoped(xa.getHTMLElement());return ud.bindTo(qa),qa}const de="workbench.list.horizontalScrolling",Gd="workbench.tree.indent",xd="workbench.list.smoothScrolling";function K(X){return"alt"===X.getValue("workbench.list.multiSelectModifier")}class W extends q.a{constructor(X){super(),this.configurationService=X,this.useAltAsMultipleSelectionModifier=K(X),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(X=>{X.affectsConfiguration("workbench.list.multiSelectModifier")&&(this.useAltAsMultipleSelectionModifier=K(this.configurationService))}))}isSelectionSingleChangeEvent(X){return this.useAltAsMultipleSelectionModifier?X.browserEvent.altKey:Object(F.h)(X)}isSelectionRangeChangeEvent(X){return Object(F.g)(X)}}function ia(X,xa,qa){const mb=new q.b(),ub=Object.assign({},X);if(!1!==X.multipleSelectionSupport&&!X.multipleSelectionController){const Rb=new W(xa);ub.multipleSelectionController=Rb,mb.add(Rb)}return ub.keyboardNavigationDelegate={mightProducePrintableCharacter:Rb=>qa.mightProducePrintableCharacter(Rb)},ub.smoothScrolling=xa.getValue(xd),[ub,mb]}let Ha=class extends F.c{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa){const ra=void 0!==ub.horizontalScrolling?ub.horizontalScrolling:wa.getValue(de),[Ra,ab]=ia(ub,wa,fa);super(X,xa,qa,mb,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(w.d)(Xb.getColorTheme(),w.e)),Ra),{horizontalScrolling:ra})),this.disposables.add(ab),this.contextKeyService=jd(Rb,this),this.themeService=Xb,Od.bindTo(this.contextKeyService).set(!(!1===ub.multipleSelectionSupport)),this.listHasSelectionOrFocus=Dd.bindTo(this.contextKeyService),this.listDoubleSelection=ce.bindTo(this.contextKeyService),this.listMultiSelection=_d.bindTo(this.contextKeyService),this.horizontalScrolling=ub.horizontalScrolling,this._useAltAsMultipleSelectionModifier=K(wa),this.disposables.add(this.contextKeyService),this.disposables.add(jc.register(this)),ub.overrideStyles&&this.updateStyles(ub.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const Ya=this.getSelection(),jb=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(Ya.length>0||jb.length>0),this.listMultiSelection.set(Ya.length>1),this.listDoubleSelection.set(2===Ya.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{const Ya=this.getSelection(),jb=this.getFocus();this.listHasSelectionOrFocus.set(Ya.length>0||jb.length>0)})),this.disposables.add(wa.onDidChangeConfiguration(Ya=>{Ya.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=K(wa));let jb={};if(Ya.affectsConfiguration(de)&&void 0===this.horizontalScrolling){const Sb=wa.getValue(de);jb=Object.assign(Object.assign({},jb),{horizontalScrolling:Sb})}if(Ya.affectsConfiguration(xd)){const Sb=wa.getValue(xd);jb=Object.assign(Object.assign({},jb),{smoothScrolling:Sb})}Object.keys(jb).length>0&&this.updateOptions(jb)}))}updateOptions(X){super.updateOptions(X),X.overrideStyles&&this.updateStyles(X.overrideStyles)}dispose(){super.dispose(),this._styler&&this._styler.dispose()}updateStyles(X){this._styler&&this._styler.dispose(),this._styler=Object(w.b)(this,this.themeService,X)}};Ha=Pc([Nc(5,Q.b),Nc(6,Ed),Nc(7,x.c),Nc(8,z.a),Nc(9,C.a)],Ha);let Ta=class extends class{constructor(X,xa,qa,mb,ub={}){const Rb=()=>this.model,jc=mb.map(Xb=>new R(Xb,Rb));this.list=new F.c(X,xa,qa,jc,function(Xb,wa){return Object.assign(Object.assign({},wa),{accessibilityProvider:wa.accessibilityProvider&&new L(Xb,wa.accessibilityProvider)})}(Rb,ub))}updateOptions(X){this.list.updateOptions(X)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return P.b.map(this.list.onMouseDblClick,({element:X,index:xa,browserEvent:qa})=>({element:void 0===X?void 0:this._model.get(X),index:xa,browserEvent:qa}))}get onPointer(){return P.b.map(this.list.onPointer,({element:X,index:xa,browserEvent:qa})=>({element:void 0===X?void 0:this._model.get(X),index:xa,browserEvent:qa}))}get onDidChangeFocus(){return P.b.map(this.list.onDidChangeFocus,({elements:X,indexes:xa,browserEvent:qa})=>({elements:X.map(mb=>this._model.get(mb)),indexes:xa,browserEvent:qa}))}get onDidChangeSelection(){return P.b.map(this.list.onDidChangeSelection,({elements:X,indexes:xa,browserEvent:qa})=>({elements:X.map(mb=>this._model.get(mb)),indexes:xa,browserEvent:qa}))}get model(){return this._model}set model(X){this._model=X,this.list.splice(0,this.list.length,Object(y.s)(X.length))}getFocus(){return this.list.getFocus()}setSelection(X,xa){this.list.setSelection(X,xa)}getSelection(){return this.list.getSelection()}style(X){this.list.style(X)}dispose(){this.list.dispose()}}{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa){const ra=void 0!==ub.horizontalScrolling?ub.horizontalScrolling:wa.getValue(de),[Ra,ab]=ia(ub,wa,fa);super(X,xa,qa,mb,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(w.d)(Xb.getColorTheme(),w.e)),Ra),{horizontalScrolling:ra})),this.disposables=new q.b(),this.disposables.add(ab),this.contextKeyService=jd(Rb,this),this.horizontalScrolling=ub.horizontalScrolling,Od.bindTo(this.contextKeyService).set(!(!1===ub.multipleSelectionSupport)),this._useAltAsMultipleSelectionModifier=K(wa),this.disposables.add(this.contextKeyService),this.disposables.add(jc.register(this)),ub.overrideStyles&&this.disposables.add(Object(w.b)(this,Xb,ub.overrideStyles)),this.disposables.add(wa.onDidChangeConfiguration(Ya=>{Ya.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=K(wa));let jb={};if(Ya.affectsConfiguration(de)&&void 0===this.horizontalScrolling){const Sb=wa.getValue(de);jb=Object.assign(Object.assign({},jb),{horizontalScrolling:Sb})}if(Ya.affectsConfiguration(xd)){const Sb=wa.getValue(xd);jb=Object.assign(Object.assign({},jb),{smoothScrolling:Sb})}Object.keys(jb).length>0&&this.updateOptions(jb)}))}dispose(){super.dispose(),this.disposables.dispose()}};Ta=Pc([Nc(5,Q.b),Nc(6,Ed),Nc(7,x.c),Nc(8,z.a),Nc(9,C.a)],Ta);class db extends q.a{constructor(X,xa){var qa,mb;super(),this.widget=X,this._onDidOpen=new P.a(),this.onDidOpen=this._onDidOpen.event,this.openOnFocus=null!==(qa=null==xa?void 0:xa.openOnFocus)&&void 0!==qa&&qa,this._register(P.b.filter(this.widget.onDidChangeSelection,ub=>ub.browserEvent instanceof KeyboardEvent)(ub=>this.onSelectionFromKeyboard(ub))),this._register(this.widget.onPointer(ub=>this.onPointer(ub.browserEvent))),this._register(this.widget.onMouseDblClick(ub=>this.onMouseDblClick(ub.browserEvent))),this.openOnFocus&&this._register(P.b.filter(this.widget.onDidChangeFocus,ub=>ub.browserEvent instanceof KeyboardEvent)(ub=>this.onFocusFromKeyboard(ub))),"boolean"!=typeof(null==xa?void 0:xa.openOnSingleClick)&&(null==xa?void 0:xa.configurationService)?(this.openOnSingleClick="doubleClick"!==(null==xa?void 0:xa.configurationService.getValue("workbench.list.openMode")),this._register(null==xa?void 0:xa.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null==xa?void 0:xa.configurationService.getValue("workbench.list.openMode"))}))):this.openOnSingleClick=null===(mb=null==xa?void 0:xa.openOnSingleClick)||void 0===mb||mb}onFocusFromKeyboard(X){const xa=this.widget.getFocus();this.widget.setSelection(xa,X.browserEvent);const qa="boolean"!=typeof X.browserEvent.preserveFocus||X.browserEvent.preserveFocus;this._open(qa,!1,!1,X.browserEvent)}onSelectionFromKeyboard(X){if(1!==X.elements.length)return;const xa="boolean"!=typeof X.browserEvent.preserveFocus||X.browserEvent.preserveFocus;this._open(xa,!1,!1,X.browserEvent)}onPointer(X){if(!this.openOnSingleClick)return;if(2===X.detail)return;const xa=1===X.button,qa=X.ctrlKey||X.metaKey||X.altKey;this._open(!0,xa,qa,X)}onMouseDblClick(X){if(!X)return;const xa=X.ctrlKey||X.metaKey||X.altKey;this._open(!1,!0,xa,X)}_open(X,xa,qa,mb){this._onDidOpen.fire({editorOptions:{preserveFocus:X,pinned:xa,revealIfVisible:!0},sideBySide:qa,element:this.widget.getSelection()[0],browserEvent:mb})}}class yb extends db{constructor(X,xa){super(X,xa)}}function Bb(X,xa){let qa=!1;return mb=>{if(qa)return qa=!1,!1;const ub=xa.softDispatch(mb,X);return ub&&ub.enterChord?(qa=!0,!1):(qa=!1,!0)}}let Jb=class extends Fc{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa,ra){const{options:Ra,getAutomaticKeyboardNavigation:ab,disposable:Ya}=yc(xa,ub,Rb,wa,fa,ra);super(X,xa,qa,mb,Ra),this.disposables.add(Ya),this.internals=new Ec(this,ub,ab,ub.overrideStyles,Rb,jc,Xb,wa,ra),this.disposables.add(this.internals)}};Jb=Pc([Nc(5,Q.b),Nc(6,Ed),Nc(7,x.c),Nc(8,z.a),Nc(9,C.a),Nc(10,Dc.b)],Jb);let xb=class extends mc{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa,ra){const{options:Ra,getAutomaticKeyboardNavigation:ab,disposable:Ya}=yc(xa,ub,Rb,wa,fa,ra);super(X,xa,qa,mb,Ra),this.disposables.add(Ya),this.internals=new Ec(this,ub,ab,ub.overrideStyles,Rb,jc,Xb,wa,ra),this.disposables.add(this.internals)}updateOptions(X={}){super.updateOptions(X),X.overrideStyles&&this.internals.updateStyleOverrides(X.overrideStyles)}};xb=Pc([Nc(5,Q.b),Nc(6,Ed),Nc(7,x.c),Nc(8,z.a),Nc(9,C.a),Nc(10,Dc.b)],xb);let Lb=class extends dc{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa,ra,Ra){const{options:ab,getAutomaticKeyboardNavigation:Ya,disposable:jb}=yc(xa,Rb,jc,fa,ra,Ra);super(X,xa,qa,mb,ub,ab),this.disposables.add(jb),this.internals=new Ec(this,Rb,Ya,Rb.overrideStyles,jc,Xb,wa,fa,Ra),this.disposables.add(this.internals)}updateOptions(X={}){super.updateOptions(X),X.overrideStyles&&this.internals.updateStyleOverrides(X.overrideStyles)}};Lb=Pc([Nc(6,Q.b),Nc(7,Ed),Nc(8,x.c),Nc(9,z.a),Nc(10,C.a),Nc(11,Dc.b)],Lb);let Ub=class extends Ic{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa,ra,Ra){const{options:ab,getAutomaticKeyboardNavigation:Ya,disposable:jb}=yc(xa,Rb,jc,fa,ra,Ra);super(X,xa,qa,mb,ub,ab),this.disposables.add(jb),this.internals=new Ec(this,Rb,Ya,Rb.overrideStyles,jc,Xb,wa,fa,Ra),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(X={}){super.updateOptions(X),X.overrideStyles&&this.internals.updateStyleOverrides(X.overrideStyles)}};Ub=Pc([Nc(6,Q.b),Nc(7,Ed),Nc(8,x.c),Nc(9,z.a),Nc(10,C.a),Nc(11,Dc.b)],Ub);let pc=class extends zb{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa,fa,ra,Ra,ab){const{options:Ya,getAutomaticKeyboardNavigation:jb,disposable:Sb}=yc(xa,jc,Xb,ra,Ra,ab);super(X,xa,qa,mb,ub,Rb,Ya),this.disposables.add(Sb),this.internals=new Ec(this,jc,jb,jc.overrideStyles,Xb,wa,fa,ra,ab),this.disposables.add(this.internals)}};function yc(X,xa,qa,mb,ub,Rb){oe.bindTo(qa),Qd||(nd.bindTo(qa),Qd=!0);const jc=()=>{let ab=qa.getContextKeyValue("listAutomaticKeyboardNavigation");return ab&&(ab=mb.getValue("workbench.list.automaticKeyboardNavigation")),ab},Xb=Rb.isScreenReaderOptimized()?"simple":mb.getValue("workbench.list.keyboardNavigation"),wa=void 0!==xa.horizontalScrolling?xa.horizontalScrolling:mb.getValue(de),[fa,ra]=ia(xa,mb,ub),Ra=xa.additionalScrollHeight;return{getAutomaticKeyboardNavigation:jc,disposable:ra,options:Object.assign(Object.assign({keyboardSupport:!1},fa),{indent:mb.getValue(Gd),renderIndentGuides:mb.getValue("workbench.tree.renderIndentGuides"),smoothScrolling:mb.getValue(xd),automaticKeyboardNavigation:jc(),simpleKeyboardNavigation:"simple"===Xb,filterOnType:"filter"===Xb,horizontalScrolling:wa,keyboardNavigationEventFilter:Bb(X,ub),additionalScrollHeight:Ra,hideTwistiesOfChildlessElements:xa.hideTwistiesOfChildlessElements,expandOnlyOnDoubleClick:"doubleClick"===mb.getValue("workbench.list.openMode")})}}pc=Pc([Nc(7,Q.b),Nc(8,Ed),Nc(9,x.c),Nc(10,z.a),Nc(11,C.a),Nc(12,Dc.b)],pc);let Ec=class{constructor(X,xa,qa,mb,ub,Rb,jc,Xb,wa){this.tree=X,this.themeService=jc,this.disposables=[],this.contextKeyService=jd(ub,X),Od.bindTo(this.contextKeyService).set(!(!1===xa.multipleSelectionSupport)),this.hasSelectionOrFocus=Dd.bindTo(this.contextKeyService),this.hasDoubleSelection=ce.bindTo(this.contextKeyService),this.hasMultiSelection=_d.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=K(Xb);const fa=new Set();fa.add("listAutomaticKeyboardNavigation");const ra=()=>{const Ra=wa.isScreenReaderOptimized()?"simple":Xb.getValue("workbench.list.keyboardNavigation");X.updateOptions({simpleKeyboardNavigation:"simple"===Ra,filterOnType:"filter"===Ra})};this.updateStyleOverrides(mb),this.disposables.push(this.contextKeyService,Rb.register(X),X.onDidChangeSelection(()=>{const Ra=X.getSelection(),ab=X.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(Ra.length>0||ab.length>0),this.hasMultiSelection.set(Ra.length>1),this.hasDoubleSelection.set(2===Ra.length)})}),X.onDidChangeFocus(()=>{const Ra=X.getSelection(),ab=X.getFocus();this.hasSelectionOrFocus.set(Ra.length>0||ab.length>0)}),Xb.onDidChangeConfiguration(Ra=>{let ab={};if(Ra.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=K(Xb)),Ra.affectsConfiguration(Gd)){const Ya=Xb.getValue(Gd);ab=Object.assign(Object.assign({},ab),{indent:Ya})}if(Ra.affectsConfiguration("workbench.tree.renderIndentGuides")){const Ya=Xb.getValue("workbench.tree.renderIndentGuides");ab=Object.assign(Object.assign({},ab),{renderIndentGuides:Ya})}if(Ra.affectsConfiguration(xd)){const Ya=Xb.getValue(xd);ab=Object.assign(Object.assign({},ab),{smoothScrolling:Ya})}if(Ra.affectsConfiguration("workbench.list.keyboardNavigation")&&ra(),Ra.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&(ab=Object.assign(Object.assign({},ab),{automaticKeyboardNavigation:qa()})),Ra.affectsConfiguration(de)&&void 0===xa.horizontalScrolling){const Ya=Xb.getValue(de);ab=Object.assign(Object.assign({},ab),{horizontalScrolling:Ya})}Ra.affectsConfiguration("workbench.list.openMode")&&(ab=Object.assign(Object.assign({},ab),{expandOnlyOnDoubleClick:"doubleClick"===Xb.getValue("workbench.list.openMode")})),Object.keys(ab).length>0&&X.updateOptions(ab)}),this.contextKeyService.onDidChangeContext(Ra=>{Ra.affectsSome(fa)&&X.updateOptions({automaticKeyboardNavigation:qa()})}),wa.onDidChangeScreenReaderOptimized(()=>ra())),this.navigator=new yb(X,Object.assign({configurationService:Xb},xa)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateStyleOverrides(X){Object(q.f)(this.styler),this.styler=X?Object(w.b)(this.tree,this.themeService,X):q.a.None}dispose(){this.disposables=Object(q.f)(this.disposables),Object(q.f)(this.styler),this.styler=void 0}};Ec=Pc([Nc(4,Q.b),Nc(5,Ed),Nc(6,x.c),Nc(7,z.a),Nc(8,Dc.b)],Ec),k.a.as(D.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(s.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{"workbench.list.multiSelectModifier":{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(s.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(s.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(s.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},"workbench.list.openMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(s.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},[de]:{type:"boolean",default:!1,description:Object(s.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[Gd]:{type:"number",default:8,minimum:0,maximum:40,description:Object(s.a)("tree indent setting","Controls tree indentation in pixels.")},"workbench.tree.renderIndentGuides":{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(s.a)("render tree indent guides","Controls whether the tree should render indent guides.")},[xd]:{type:"boolean",default:!1,description:Object(s.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},"workbench.list.keyboardNavigation":{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(s.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(s.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(s.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(s.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},"workbench.list.automaticKeyboardNavigation":{type:"boolean",default:!0,markdownDescription:Object(s.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")}}})},function(Ga,t){var f;f=function(){return this}();try{f=f||new Function("return this")()}catch(l){"object"==typeof window&&(f=window)}Ga.exports=f},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(34),q=f(11);const y={clipboard:{writeText:q.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:q.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(l.f){let F=navigator.userAgent.indexOf("Edge/"),P=parseInt(navigator.userAgent.substring(F+5,navigator.userAgent.indexOf(".",F)),10);if(!P||P>=12&&P<=16)return!1}return!0})()},keyboard:q.g||l.k?0:navigator.keyboard||l.j?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("themeService")},function(Ga,t,f){"use strict";(function(l){f.d(t,"a",function(){return Q});var q,y,F,P=(q=function(Z,H){return(q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ea,oa){ea.__proto__=oa}||function(ea,oa){for(var ga in oa)oa.hasOwnProperty(ga)&&(ea[ga]=oa[ga])})(Z,H)},function(Z,H){function ea(){this.constructor=Z}q(Z,H),Z.prototype=null===H?Object.create(H):(ea.prototype=H.prototype,new ea())});if("object"==typeof l)F="win32"===l.platform;else if("object"==typeof navigator){var Y=navigator.userAgent;F=Y.indexOf("Windows")>=0}var R=/^\w[\w\d+.-]*$/,L=/^\//,s=/^\/\//,z="/",D=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Q=function(){function Z(H,ea,oa,ga,Ba,N){void 0===N&&(N=!1),"object"==typeof H?(this.scheme=H.scheme||"",this.authority=H.authority||"",this.path=H.path||"",this.query=H.query||"",this.fragment=H.fragment||""):(this.scheme=function(V,ma){return V||ma?V:"file"}(H,N),this.authority=ea||"",this.path=function(V,ma){switch(V){case"https":case"http":case"file":ma?ma[0]!==z&&(ma=z+ma):ma=z}return ma}(this.scheme,oa||""),this.query=ga||"",this.fragment=Ba||"",function(V,ma){if(!V.scheme&&ma)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+V.authority+'", path: "'+V.path+'", query: "'+V.query+'", fragment: "'+V.fragment+'"}');if(V.scheme&&!R.test(V.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(V.path){if(V.authority){if(!L.test(V.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(V.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,N))}return Z.isUri=function(H){return H instanceof Z||!!H&&("string"==typeof H.authority&&"string"==typeof H.fragment&&"string"==typeof H.path&&"string"==typeof H.query&&"string"==typeof H.scheme&&"function"==typeof H.fsPath&&"function"==typeof H.with&&"function"==typeof H.toString)},Object.defineProperty(Z.prototype,"fsPath",{get:function(){return u(this,!1)},enumerable:!0,configurable:!0}),Z.prototype.with=function(H){if(!H)return this;var ea=H.scheme,oa=H.authority,ga=H.path,Ba=H.query,N=H.fragment;return void 0===ea?ea=this.scheme:null===ea&&(ea=""),void 0===oa?oa=this.authority:null===oa&&(oa=""),void 0===ga?ga=this.path:null===ga&&(ga=""),void 0===Ba?Ba=this.query:null===Ba&&(Ba=""),void 0===N?N=this.fragment:null===N&&(N=""),ea===this.scheme&&oa===this.authority&&ga===this.path&&Ba===this.query&&N===this.fragment?this:new C(ea,oa,ga,Ba,N)},Z.parse=function(H,ea){void 0===ea&&(ea=!1);var oa=D.exec(H);return oa?new C(oa[2]||"",da(oa[4]||""),da(oa[5]||""),da(oa[7]||""),da(oa[9]||""),ea):new C("","","","","")},Z.file=function(H){var ea="";if(F&&(H=H.replace(/\\/g,z)),H[0]===z&&H[1]===z){var oa=H.indexOf(z,2);-1===oa?(ea=H.substring(2),H=z):(ea=H.substring(2,oa),H=H.substring(oa)||z)}return new C("file",ea,H,"","")},Z.from=function(H){return new C(H.scheme,H.authority,H.path,H.query,H.fragment)},Z.prototype.toString=function(H){return void 0===H&&(H=!1),A(this,H)},Z.prototype.toJSON=function(){return this},Z.revive=function(H){if(H){if(H instanceof Z)return H;var ea=new C(H);return ea._formatted=H.external,ea._fsPath=H._sep===B?H.fsPath:null,ea}return H},Z}(),B=F?1:void 0,C=function(Z){function H(){var ea=null!==Z&&Z.apply(this,arguments)||this;return ea._formatted=null,ea._fsPath=null,ea}return P(H,Z),Object.defineProperty(H.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=u(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),H.prototype.toString=function(ea){return void 0===ea&&(ea=!1),ea?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)},H.prototype.toJSON=function(){var ea={$mid:1};return this._fsPath&&(ea.fsPath=this._fsPath,ea._sep=B),this._formatted&&(ea.external=this._formatted),this.path&&(ea.path=this.path),this.scheme&&(ea.scheme=this.scheme),this.authority&&(ea.authority=this.authority),this.query&&(ea.query=this.query),this.fragment&&(ea.fragment=this.fragment),ea},H}(Q),k=((y={})[58]="%3A",y[47]="%2F",y[63]="%3F",y[35]="%23",y[91]="%5B",y[93]="%5D",y[64]="%40",y[33]="%21",y[36]="%24",y[38]="%26",y[39]="%27",y[40]="%28",y[41]="%29",y[42]="%2A",y[43]="%2B",y[44]="%2C",y[59]="%3B",y[61]="%3D",y[32]="%20",y);function w(Z,H){for(var ea=void 0,oa=-1,ga=0;ga<Z.length;ga++){var Ba=Z.charCodeAt(ga);if(Ba>=97&&Ba<=122||Ba>=65&&Ba<=90||Ba>=48&&Ba<=57||45===Ba||46===Ba||95===Ba||126===Ba||H&&47===Ba)-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa,ga)),oa=-1),void 0!==ea&&(ea+=Z.charAt(ga));else{void 0===ea&&(ea=Z.substr(0,ga));var N=k[Ba];void 0!==N?(-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa,ga)),oa=-1),ea+=N):-1===oa&&(oa=ga)}}return-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa))),void 0!==ea?ea:Z}function x(Z){for(var H=void 0,ea=0;ea<Z.length;ea++){var oa=Z.charCodeAt(ea);35===oa||63===oa?(void 0===H&&(H=Z.substr(0,ea)),H+=k[oa]):void 0!==H&&(H+=Z[ea])}return void 0!==H?H:Z}function u(Z,H){var ea;return ea=Z.authority&&Z.path.length>1&&"file"===Z.scheme?"//"+Z.authority+Z.path:47===Z.path.charCodeAt(0)&&(Z.path.charCodeAt(1)>=65&&Z.path.charCodeAt(1)<=90||Z.path.charCodeAt(1)>=97&&Z.path.charCodeAt(1)<=122)&&58===Z.path.charCodeAt(2)?H?Z.path.substr(1):Z.path[1].toLowerCase()+Z.path.substr(2):Z.path,F&&(ea=ea.replace(/\//g,"\\")),ea}function A(Z,H){var ea=H?x:w,oa="",ga=Z.scheme,Ba=Z.authority,N=Z.path,V=Z.query,ma=Z.fragment;if(ga&&(oa+=ga,oa+=":"),(Ba||"file"===ga)&&(oa+=z,oa+=z),Ba){var ta=Ba.indexOf("@");if(-1!==ta){var Da=Ba.substr(0,ta);Ba=Ba.substr(ta+1),-1===(ta=Da.indexOf(":"))?oa+=ea(Da,!1):(oa+=ea(Da.substr(0,ta),!1),oa+=":",oa+=ea(Da.substr(ta+1),!1)),oa+="@"}-1===(ta=(Ba=Ba.toLowerCase()).indexOf(":"))?oa+=ea(Ba,!1):(oa+=ea(Ba.substr(0,ta),!1),oa+=Ba.substr(ta))}if(N){if(N.length>=3&&47===N.charCodeAt(0)&&58===N.charCodeAt(2))(Ka=N.charCodeAt(1))>=65&&Ka<=90&&(N="/"+String.fromCharCode(Ka+32)+":"+N.substr(3));else if(N.length>=2&&58===N.charCodeAt(1)){var Ka;(Ka=N.charCodeAt(0))>=65&&Ka<=90&&(N=String.fromCharCode(Ka+32)+":"+N.substr(2))}oa+=ea(N,!0)}return V&&(oa+="?",oa+=ea(V,!1)),ma&&(oa+="#",oa+=H?ma:w(ma,!1)),oa}var U=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function da(Z){return Z.match(U)?Z.replace(U,function(H){return function ea(oa){try{return decodeURIComponent(oa)}catch(ga){return oa.length>3?oa.substr(0,3)+ea(oa.substr(3)):oa}}(H)}):Z}}).call(this,f(86))},function(Ga,t,f){"use strict";f.d(t,"b",function(){return l}),f.d(t,"a",function(){return q});const l={ctrlCmd:!1,alt:!1};var q;!function(y){y[y.NONE=0]="NONE",y[y.FIRST=1]="FIRST",y[y.SECOND=2]="SECOND",y[y.LAST=3]="LAST"}(q||(q={}))},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return q}),f.d(t,"language",function(){return y});var l=f(95),q={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:l.a.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:l.a.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:l.a.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:l.a.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},y={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}},function(Ga,t,f){"use strict";function l(y){return y&&"string"==typeof y.id}f.d(t,"b",function(){return l}),f.d(t,"a",function(){return q});const q={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},function(Ga,t,f){"use strict";(function(l){f.d(t,"a",function(){return Q});var q,y,F,P=(q=function(Z,H){return(q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ea,oa){ea.__proto__=oa}||function(ea,oa){for(var ga in oa)oa.hasOwnProperty(ga)&&(ea[ga]=oa[ga])})(Z,H)},function(Z,H){function ea(){this.constructor=Z}q(Z,H),Z.prototype=null===H?Object.create(H):(ea.prototype=H.prototype,new ea())});if("object"==typeof l)F="win32"===l.platform;else if("object"==typeof navigator){var Y=navigator.userAgent;F=Y.indexOf("Windows")>=0}var R=/^\w[\w\d+.-]*$/,L=/^\//,s=/^\/\//,z="/",D=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Q=function(){function Z(H,ea,oa,ga,Ba,N){void 0===N&&(N=!1),"object"==typeof H?(this.scheme=H.scheme||"",this.authority=H.authority||"",this.path=H.path||"",this.query=H.query||"",this.fragment=H.fragment||""):(this.scheme=function(V,ma){return V||ma?V:"file"}(H,N),this.authority=ea||"",this.path=function(V,ma){switch(V){case"https":case"http":case"file":ma?ma[0]!==z&&(ma=z+ma):ma=z}return ma}(this.scheme,oa||""),this.query=ga||"",this.fragment=Ba||"",function(V,ma){if(!V.scheme&&ma)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+V.authority+'", path: "'+V.path+'", query: "'+V.query+'", fragment: "'+V.fragment+'"}');if(V.scheme&&!R.test(V.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(V.path){if(V.authority){if(!L.test(V.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(V.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,N))}return Z.isUri=function(H){return H instanceof Z||!!H&&("string"==typeof H.authority&&"string"==typeof H.fragment&&"string"==typeof H.path&&"string"==typeof H.query&&"string"==typeof H.scheme&&"function"==typeof H.fsPath&&"function"==typeof H.with&&"function"==typeof H.toString)},Object.defineProperty(Z.prototype,"fsPath",{get:function(){return u(this,!1)},enumerable:!0,configurable:!0}),Z.prototype.with=function(H){if(!H)return this;var ea=H.scheme,oa=H.authority,ga=H.path,Ba=H.query,N=H.fragment;return void 0===ea?ea=this.scheme:null===ea&&(ea=""),void 0===oa?oa=this.authority:null===oa&&(oa=""),void 0===ga?ga=this.path:null===ga&&(ga=""),void 0===Ba?Ba=this.query:null===Ba&&(Ba=""),void 0===N?N=this.fragment:null===N&&(N=""),ea===this.scheme&&oa===this.authority&&ga===this.path&&Ba===this.query&&N===this.fragment?this:new C(ea,oa,ga,Ba,N)},Z.parse=function(H,ea){void 0===ea&&(ea=!1);var oa=D.exec(H);return oa?new C(oa[2]||"",da(oa[4]||""),da(oa[5]||""),da(oa[7]||""),da(oa[9]||""),ea):new C("","","","","")},Z.file=function(H){var ea="";if(F&&(H=H.replace(/\\/g,z)),H[0]===z&&H[1]===z){var oa=H.indexOf(z,2);-1===oa?(ea=H.substring(2),H=z):(ea=H.substring(2,oa),H=H.substring(oa)||z)}return new C("file",ea,H,"","")},Z.from=function(H){return new C(H.scheme,H.authority,H.path,H.query,H.fragment)},Z.prototype.toString=function(H){return void 0===H&&(H=!1),A(this,H)},Z.prototype.toJSON=function(){return this},Z.revive=function(H){if(H){if(H instanceof Z)return H;var ea=new C(H);return ea._formatted=H.external,ea._fsPath=H._sep===B?H.fsPath:null,ea}return H},Z}(),B=F?1:void 0,C=function(Z){function H(){var ea=null!==Z&&Z.apply(this,arguments)||this;return ea._formatted=null,ea._fsPath=null,ea}return P(H,Z),Object.defineProperty(H.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=u(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),H.prototype.toString=function(ea){return void 0===ea&&(ea=!1),ea?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)},H.prototype.toJSON=function(){var ea={$mid:1};return this._fsPath&&(ea.fsPath=this._fsPath,ea._sep=B),this._formatted&&(ea.external=this._formatted),this.path&&(ea.path=this.path),this.scheme&&(ea.scheme=this.scheme),this.authority&&(ea.authority=this.authority),this.query&&(ea.query=this.query),this.fragment&&(ea.fragment=this.fragment),ea},H}(Q),k=((y={})[58]="%3A",y[47]="%2F",y[63]="%3F",y[35]="%23",y[91]="%5B",y[93]="%5D",y[64]="%40",y[33]="%21",y[36]="%24",y[38]="%26",y[39]="%27",y[40]="%28",y[41]="%29",y[42]="%2A",y[43]="%2B",y[44]="%2C",y[59]="%3B",y[61]="%3D",y[32]="%20",y);function w(Z,H){for(var ea=void 0,oa=-1,ga=0;ga<Z.length;ga++){var Ba=Z.charCodeAt(ga);if(Ba>=97&&Ba<=122||Ba>=65&&Ba<=90||Ba>=48&&Ba<=57||45===Ba||46===Ba||95===Ba||126===Ba||H&&47===Ba)-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa,ga)),oa=-1),void 0!==ea&&(ea+=Z.charAt(ga));else{void 0===ea&&(ea=Z.substr(0,ga));var N=k[Ba];void 0!==N?(-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa,ga)),oa=-1),ea+=N):-1===oa&&(oa=ga)}}return-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa))),void 0!==ea?ea:Z}function x(Z){for(var H=void 0,ea=0;ea<Z.length;ea++){var oa=Z.charCodeAt(ea);35===oa||63===oa?(void 0===H&&(H=Z.substr(0,ea)),H+=k[oa]):void 0!==H&&(H+=Z[ea])}return void 0!==H?H:Z}function u(Z,H){var ea;return ea=Z.authority&&Z.path.length>1&&"file"===Z.scheme?"//"+Z.authority+Z.path:47===Z.path.charCodeAt(0)&&(Z.path.charCodeAt(1)>=65&&Z.path.charCodeAt(1)<=90||Z.path.charCodeAt(1)>=97&&Z.path.charCodeAt(1)<=122)&&58===Z.path.charCodeAt(2)?H?Z.path.substr(1):Z.path[1].toLowerCase()+Z.path.substr(2):Z.path,F&&(ea=ea.replace(/\//g,"\\")),ea}function A(Z,H){var ea=H?x:w,oa="",ga=Z.scheme,Ba=Z.authority,N=Z.path,V=Z.query,ma=Z.fragment;if(ga&&(oa+=ga,oa+=":"),(Ba||"file"===ga)&&(oa+=z,oa+=z),Ba){var ta=Ba.indexOf("@");if(-1!==ta){var Da=Ba.substr(0,ta);Ba=Ba.substr(ta+1),-1===(ta=Da.indexOf(":"))?oa+=ea(Da,!1):(oa+=ea(Da.substr(0,ta),!1),oa+=":",oa+=ea(Da.substr(ta+1),!1)),oa+="@"}-1===(ta=(Ba=Ba.toLowerCase()).indexOf(":"))?oa+=ea(Ba,!1):(oa+=ea(Ba.substr(0,ta),!1),oa+=Ba.substr(ta))}if(N){if(N.length>=3&&47===N.charCodeAt(0)&&58===N.charCodeAt(2))(Ka=N.charCodeAt(1))>=65&&Ka<=90&&(N="/"+String.fromCharCode(Ka+32)+":"+N.substr(3));else if(N.length>=2&&58===N.charCodeAt(1)){var Ka;(Ka=N.charCodeAt(0))>=65&&Ka<=90&&(N=String.fromCharCode(Ka+32)+":"+N.substr(2))}oa+=ea(N,!0)}return V&&(oa+="?",oa+=ea(V,!1)),ma&&(oa+="#",oa+=H?ma:w(ma,!1)),oa}var U=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function da(Z){return Z.match(U)?Z.replace(U,function(H){return function ea(oa){try{return decodeURIComponent(oa)}catch(ga){return oa.length>3?oa.substr(0,3)+ea(oa.substr(3)):oa}}(H)}):Z}}).call(this,f(86))},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f(214);const l="monaco-mouse-cursor-text"},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f.d(t,"c",function(){return R}),f.d(t,"b",function(){return L});var l=f(0),q=f(6),y=f(12),F=f(39),P=f(56);const Y=new class{constructor(){this._onDidChangeLanguages=new q.a(),this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(s){return this._languages.push(s),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let z=0,D=this._languages.length;z<D;z++)if(this._languages[z]===s)return void this._languages.splice(z,1)}}}getLanguages(){return[].concat(this._languages).concat(this._dynamicLanguages)}}();P.a.add("editor.modesRegistry",Y);const R="plaintext",L=new y.r(R,1);Y.registerLanguage({id:R,extensions:[".txt"],aliases:[l.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),F.a.register(L,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l}),f.d(t,"b",function(){return q});class l{constructor(y){this._prefix=y,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const q=new l("id#")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P}),f.d(t,"c",function(){return Y});var l=f(18),q=f(23),y=f(14);const F=Object(l.c)("IWorkspaceEditService");class P{constructor(L){this.metadata=L}static convert(L){return L.edits.map(s=>{if(z=s,Object(y.i)(z)&&q.a.isUri(z.resource)&&Object(y.i)(z.edit))return new Y(s.resource,s.edit,s.modelVersionId,s.metadata);var z;if(function(D){return Object(y.i)(D)&&(Boolean(D.newUri)||Boolean(D.oldUri))}(s))return new R(s.oldUri,s.newUri,s.options,s.metadata);throw new Error("Unsupported edit")})}}class Y extends P{constructor(L,s,z,D){super(D),this.resource=L,this.textEdit=s,this.versionId=z,this.metadata=D}}class R extends P{constructor(L,s,z,D){super(D),this.oldResource=L,this.newResource=s,this.options=z,this.metadata=D}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l});class l{constructor(...q){this._entries=new Map();for(let[y,F]of q)this.set(y,F)}set(q,y){const F=this._entries.get(q);return this._entries.set(q,y),F}has(q){return this._entries.has(q)}get(q){return this._entries.get(q)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});var l=f(18);const q=Object(l.c)("undoRedoService");class y{constructor(F,P){this.resource=F,this.elements=P}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y}),f.d(t,"c",function(){return F}),f.d(t,"b",function(){return P});var l=f(71),q=f(8);const y="$(";function F(Y){const R=Y.indexOf(y);return-1===R?{text:Y}:function(L,s){const z=[];let D="";function Q(U){if(U){D+=U;for(const da of U)z.push(x)}}let B,C,k=-1,w="",x=0,u=s;const A=L.length;for(Q(L.substr(0,s));u<A;)(B=L[u],C=L[u+1],B===y[0]&&C===y[1])?(k=u,Q(w),w=y,u++):")"===B&&-1!==k?(x+=u-k+1,k=-1,w=""):-1!==k?/^[a-z0-9\-]$/i.test(B)?w+=B:(Q(w),k=-1,w=""):Q(B),u++;return Q(w),{text:D,codiconOffsets:z}}(Y,R)}function P(Y,R,L=!1){const{text:s,codiconOffsets:z}=R;if(!z||0===z.length)return Object(l.g)(Y,s,L);const D=Object(q.K)(s," "),Q=s.length-D.length,B=Object(l.g)(Y,D,L);if(B)for(const C of B){const k=z[C.start+Q]+Q;C.start+=k,C.end+=k}return B}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});var l=f(18);const q=Object(l.c)("textResourceConfigurationService"),y=Object(l.c)("textResourcePropertiesService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return z}),f(246);var l=f(2),q=f(11),y=f(14),F=f(61),P=f(69),Y=f(6),R=f(1),L=f(44);const s=new Y.a();class z extends l.a{constructor(D,Q,B){super(),this._state=3,this._onDidEnablementChange=this._register(new Y.a()),this.onDidEnablementChange=this._onDidEnablementChange.event,this._onDidStart=this._register(new Y.a()),this.onDidStart=this._onDidStart.event,this._onDidChange=this._register(new Y.a()),this.onDidChange=this._onDidChange.event,this._onDidReset=this._register(new Y.a()),this.onDidReset=this._onDidReset.event,this._onDidEnd=this._register(new Y.a()),this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.orthogonalStartSashDisposables=this._register(new l.b()),this.orthogonalEndSashDisposables=this._register(new l.b()),this.el=Object(R.p)(D,Object(R.a)(".monaco-sash")),q.f&&Object(R.e)(this.el,"mac"),this._register(Object(L.a)(this.el,"mousedown")(this.onMouseDown,this)),this._register(Object(L.a)(this.el,"dblclick")(this.onMouseDoubleClick,this)),this._register(F.b.addTarget(this.el)),this._register(Object(L.a)(this.el,F.a.Start)(this.onTouchStart,this)),"number"==typeof B.size?(this.size=B.size,0===B.orientation?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=4,this._register(s.event(C=>{this.size=C,this.layout()}))),this.hidden=!1,this.layoutProvider=Q,this.orthogonalStartSash=B.orthogonalStartSash,this.orthogonalEndSash=B.orthogonalEndSash,this.orientation=B.orientation||0,1===this.orientation?(Object(R.e)(this.el,"horizontal"),Object(R.Q)(this.el,"vertical")):(Object(R.Q)(this.el,"horizontal"),Object(R.e)(this.el,"vertical")),Object(R.ab)(this.el,"debug",!1),this.layout()}get state(){return this._state}set state(D){this._state!==D&&(Object(R.ab)(this.el,"disabled",0===D),Object(R.ab)(this.el,"minimum",1===D),Object(R.ab)(this.el,"maximum",2===D),this._state=D,this._onDidEnablementChange.fire(D))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(D){this.orthogonalStartSashDisposables.clear(),D?(this.orthogonalStartSashDisposables.add(D.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(D.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=D}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(D){this.orthogonalEndSashDisposables.clear(),D?(this.orthogonalEndSashDisposables.add(D.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(D.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=D}onMouseDown(D){R.b.stop(D,!1);let Q=!1;if(!D.__orthogonalSashEvent){const Z=this.getOrthogonalSash(D);Z&&(Q=!0,D.__orthogonalSashEvent=!0,Z.onMouseDown(D))}if(this.linkedSash&&!D.__linkedSashEvent&&(D.__linkedSashEvent=!0,this.linkedSash.onMouseDown(D)),!this.state)return;const B=[...Object(R.D)("iframe"),...Object(R.D)("webview")];for(const Z of B)Z.style.pointerEvents="none";const C=new P.a(D),k=C.posx,w=C.posy,x=C.altKey,u={startX:k,currentX:k,startY:w,currentY:w,altKey:x};Object(R.e)(this.el,"active"),this._onDidStart.fire(u);const A=Object(R.v)(this.el),U=()=>{let Z="";Z=Q?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":q.f?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":q.f?"col-resize":"ew-resize",A.innerHTML=`* { cursor: ${Z} !important; }`},da=new l.b();U(),Q||this.onDidEnablementChange(U,null,da),Object(L.a)(window,"mousemove")(Z=>{R.b.stop(Z,!1);const H=new P.a(Z),ea={startX:k,currentX:H.posx,startY:w,currentY:H.posy,altKey:x};this._onDidChange.fire(ea)},null,da),Object(L.a)(window,"mouseup")(Z=>{R.b.stop(Z,!1),this.el.removeChild(A),Object(R.Q)(this.el,"active"),this._onDidEnd.fire(),da.dispose();for(const H of B)H.style.pointerEvents="auto"},null,da)}onMouseDoubleClick(D){const Q=this.getOrthogonalSash(D);Q&&Q._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}onTouchStart(D){R.b.stop(D);const Q=[],B=D.pageX,C=D.pageY,k=D.altKey;this._onDidStart.fire({startX:B,currentX:B,startY:C,currentY:C,altKey:k}),Q.push(Object(R.i)(this.el,F.a.Change,w=>{y.h(w.pageX)&&y.h(w.pageY)&&this._onDidChange.fire({startX:B,currentX:w.pageX,startY:C,currentY:w.pageY,altKey:k})})),Q.push(Object(R.i)(this.el,F.a.End,w=>{this._onDidEnd.fire(),Object(l.f)(Q)}))}layout(){if(0===this.orientation){const D=this.layoutProvider;this.el.style.left=D.getVerticalSashLeft(this)-this.size/2+"px",D.getVerticalSashTop&&(this.el.style.top=D.getVerticalSashTop(this)+"px"),D.getVerticalSashHeight&&(this.el.style.height=D.getVerticalSashHeight(this)+"px")}else{const D=this.layoutProvider;this.el.style.top=D.getHorizontalSashTop(this)-this.size/2+"px",D.getHorizontalSashLeft&&(this.el.style.left=D.getHorizontalSashLeft(this)+"px"),D.getHorizontalSashWidth&&(this.el.style.width=D.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}onOrthogonalStartSashEnablementChange(D){Object(R.ab)(this.el,"orthogonal-start",0!==D)}onOrthogonalEndSashEnablementChange(D){Object(R.ab)(this.el,"orthogonal-end",0!==D)}getOrthogonalSash(D){if(0===this.orientation){if(D.offsetY<=this.size)return this.orthogonalStartSash;if(D.offsetY>=this.el.clientHeight-this.size)return this.orthogonalEndSash}else{if(D.offsetX<=this.size)return this.orthogonalStartSash;if(D.offsetX>=this.el.clientWidth-this.size)return this.orthogonalEndSash}}dispose(){super.dispose(),this.el.remove()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y}),f(251),f(255),f(257);var l=f(17);const q=new class{constructor(){this.onDidChange=l.c.onDidRegister}getCSS(){const F=[];for(let P of l.c.all)F.push(y(P));return F.join(` -`)}}();function y(F){let P=F.definition;for(;P instanceof l.a;)P=P.definition;return`.codicon-${F.id}:before { content: '${P.character}'; }`}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return P});var l=f(8);class q{constructor(Y,R,L,s){this.startColumn=Y,this.endColumn=R,this.className=L,this.type=s}static _equals(Y,R){return Y.startColumn===R.startColumn&&Y.endColumn===R.endColumn&&Y.className===R.className&&Y.type===R.type}static equalsArr(Y,R){const L=Y.length;if(L!==R.length)return!1;for(let s=0;s<L;s++)if(!q._equals(Y[s],R[s]))return!1;return!0}static filter(Y,R,L,s){if(0===Y.length)return[];let z=[],D=0;for(let Q=0,B=Y.length;Q<B;Q++){const C=Y[Q],k=C.range;if(k.endLineNumber<R||k.startLineNumber>R)continue;if(k.isEmpty()&&(0===C.type||3===C.type))continue;const w=k.startLineNumber===R?k.startColumn:L,x=k.endLineNumber===R?k.endColumn:s;z[D++]=new q(w,x,C.inlineClassName,C.type)}return z}static _typeCompare(Y,R){const L=[2,0,1,3];return L[Y]-L[R]}static compare(Y,R){if(Y.startColumn===R.startColumn){if(Y.endColumn===R.endColumn){const L=q._typeCompare(Y.type,R.type);return 0===L?Y.className<R.className?-1:Y.className>R.className?1:0:L}return Y.endColumn-R.endColumn}return Y.startColumn-R.startColumn}}class y{constructor(Y,R,L,s){this.startOffset=Y,this.endOffset=R,this.className=L,this.metadata=s}}class F{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(Y){let R=0;for(let L=0,s=Y.length;L<s;L++)R|=Y[L];return R}consumeLowerThan(Y,R,L){for(;this.count>0&&this.stopOffsets[0]<Y;){let s=0;for(;s+1<this.count&&this.stopOffsets[s]===this.stopOffsets[s+1];)s++;L.push(new y(R,this.stopOffsets[s],this.classNames.join(" "),F._metadata(this.metadata))),R=this.stopOffsets[s]+1,this.stopOffsets.splice(0,s+1),this.classNames.splice(0,s+1),this.metadata.splice(0,s+1),this.count-=s+1}return this.count>0&&R<Y&&(L.push(new y(R,Y-1,this.classNames.join(" "),F._metadata(this.metadata))),R=Y),R}insert(Y,R,L){if(0===this.count||this.stopOffsets[this.count-1]<=Y)this.stopOffsets.push(Y),this.classNames.push(R),this.metadata.push(L);else for(let s=0;s<this.count;s++)if(this.stopOffsets[s]>=Y){this.stopOffsets.splice(s,0,Y),this.classNames.splice(s,0,R),this.metadata.splice(s,0,L);break}this.count++}}class P{static normalize(Y,R){if(0===R.length)return[];let L=[];const s=new F();let z=0;for(let D=0,Q=R.length;D<Q;D++){const B=R[D];let C=B.startColumn,k=B.endColumn;const w=B.className,x=1===B.type?2:2===B.type?4:0;if(C>1){const U=Y.charCodeAt(C-2);l.F(U)&&C--}if(k>1){const U=Y.charCodeAt(k-2);l.F(U)&&k--}const u=C-1,A=k-2;z=s.consumeLowerThan(u,z,L),0===s.count&&(z=u),s.insert(A,w,x)}return s.consumeLowerThan(1073741824,z,L),L}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F});var l=f(46),q=f(17),y=f(8);class F{constructor(P,Y){this.supportCodicons=Y,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",P.appendChild(this.domNode)}get element(){return this.domNode}set(P,Y=[],R="",L){P||(P=""),L&&(P=F.escapeNewLines(P,Y)),this.didEverRender&&this.text===P&&this.title===R&&l.e(this.highlights,Y)||(Array.isArray(Y)||(Y=[]),this.text=P,this.title=R,this.highlights=Y,this.render())}render(){let P="",Y=0;for(const R of this.highlights){if(R.end===R.start)continue;if(Y<R.start){P+="<span>";const s=this.text.substring(Y,R.start);P+=this.supportCodicons?Object(q.f)(Object(y.u)(s)):Object(y.u)(s),P+="</span>",Y=R.end}R.extraClasses?P+=`<span class="highlight ${R.extraClasses}">`:P+='<span class="highlight">';const L=this.text.substring(R.start,R.end);P+=this.supportCodicons?Object(q.f)(Object(y.u)(L)):Object(y.u)(L),P+="</span>",Y=R.end}if(Y<this.text.length){P+="<span>";const R=this.text.substring(Y);P+=this.supportCodicons?Object(q.f)(Object(y.u)(R)):Object(y.u)(R),P+="</span>"}this.domNode.innerHTML=P,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(P,Y){let R=0,L=0;return P.replace(/\r\n|\r|\n/g,(s,z)=>{L=`\r -`===s?-1:0,z+=R;for(const D of Y)D.end<=z||(D.start>=z&&(D.start+=L),D.end>=z&&(D.end+=L));return R+=L,"⏎"})}}},,function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(11);const q=l.b.performance&&"function"==typeof l.b.performance.now;class y{constructor(F){this._highResolution=q&&F,this._startTime=this._now(),this._stopTime=-1}static create(F=!0){return new y(F)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?l.b.performance.now():new Date().getTime()}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("labelService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P});var l=f(11),q=f(135);const y=l.f?1.5:1.35;class F{constructor(Y){this.zoomLevel=Y.zoomLevel,this.fontFamily=String(Y.fontFamily),this.fontWeight=String(Y.fontWeight),this.fontSize=Y.fontSize,this.fontFeatureSettings=Y.fontFeatureSettings,this.lineHeight=0|Y.lineHeight,this.letterSpacing=Y.letterSpacing}static createFromValidatedSettings(Y,R,L){const s=Y.get(35),z=Y.get(39),D=Y.get(38),Q=Y.get(37),B=Y.get(51),C=Y.get(48);return F._create(s,z,D,Q,B,C,R,L)}static _create(Y,R,L,s,z,D,Q,B){0===z?z=Math.round(y*L):z<8&&(z=8);const C=1+(B?0:.1*q.a.getZoomLevel());return new F({zoomLevel:Q,fontFamily:Y,fontWeight:R,fontSize:L*=C,fontFeatureSettings:s,lineHeight:z*=C,letterSpacing:D})}getId(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?`"${this.fontFamily}"`:this.fontFamily}}class P extends F{constructor(Y,R){super(Y),this.isTrusted=R,this.isMonospace=Y.isMonospace,this.typicalHalfwidthCharacterWidth=Y.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=Y.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=Y.canUseHalfwidthRightwardsArrow,this.spaceWidth=Y.spaceWidth,this.middotWidth=Y.middotWidth,this.wsmiddotWidth=Y.wsmiddotWidth,this.maxDigitWidth=Y.maxDigitWidth}equals(Y){return this.fontFamily===Y.fontFamily&&this.fontWeight===Y.fontWeight&&this.fontSize===Y.fontSize&&this.fontFeatureSettings===Y.fontFeatureSettings&&this.lineHeight===Y.lineHeight&&this.letterSpacing===Y.letterSpacing&&this.typicalHalfwidthCharacterWidth===Y.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===Y.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===Y.canUseHalfwidthRightwardsArrow&&this.spaceWidth===Y.spaceWidth&&this.middotWidth===Y.middotWidth&&this.wsmiddotWidth===Y.wsmiddotWidth&&this.maxDigitWidth===Y.maxDigitWidth}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return Q}),f.d(t,"a",function(){return u}),f.d(t,"d",function(){return oa}),f.d(t,"c",function(){return ga});var l=f(0),q=f(6),y=f(2),F=f(46),P=f(15),Y=f(26),R=f(135),L=f(160),s=f(128),z=f(56),D=f(189);const Q=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new q.a(),this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(Ba){this._tabFocus!==Ba&&(this._tabFocus=Ba,this._onDidChangeTabFocus.fire(this._tabFocus))}}(),B=Object.hasOwnProperty;class C{constructor(){this._values=[]}_read(Ba){return this._values[Ba]}get(Ba){return this._values[Ba]}_write(Ba,N){this._values[Ba]=N}}class k{constructor(){this._values=[]}_read(Ba){return this._values[Ba]}_write(Ba,N){this._values[Ba]=N}}class w{static readOptions(Ba){const N=Ba,V=new k();for(const ma of Y.k){const ta="_never_"===ma.name?void 0:N[ma.name];V._write(ma.id,ta)}return V}static validateOptions(Ba){const N=new Y.j();for(const V of Y.k)N._write(V.id,V.validate(Ba._read(V.id)));return N}static computeOptions(Ba,N){const V=new C();for(const ma of Y.k)V._write(ma.id,ma.compute(N,V,Ba._read(ma.id)));return V}static _deepEquals(Ba,N){if("object"!=typeof Ba||"object"!=typeof N)return Ba===N;if(Array.isArray(Ba)||Array.isArray(N))return!(!Array.isArray(Ba)||!Array.isArray(N))&&P.g(Ba,N);for(let V in Ba)if(!w._deepEquals(Ba[V],N[V]))return!1;return!0}static checkEquals(Ba,N){const V=[];let ma=!1;for(const ta of Y.k){const Da=!w._deepEquals(Ba._read(ta.id),N._read(ta.id));V[ta.id]=Da,Da&&(ma=!0)}return ma?new Y.b(V):null}}function x(Ba){const N=F.c(Ba);return function(V){const ma=V.wordWrap;!0===ma?V.wordWrap="on":!1===ma&&(V.wordWrap="off");const ta=V.lineNumbers;!0===ta?V.lineNumbers="on":!1===ta&&(V.lineNumbers="off"),!1===V.autoClosingBrackets&&(V.autoClosingBrackets="never",V.autoClosingQuotes="never",V.autoSurround="never"),"visible"===V.cursorBlinking&&(V.cursorBlinking="solid");const Da=V.renderWhitespace;!0===Da?V.renderWhitespace="boundary":!1===Da&&(V.renderWhitespace="none");const Ka=V.renderLineHighlight;!0===Ka?V.renderLineHighlight="line":!1===Ka&&(V.renderLineHighlight="none");const G=V.acceptSuggestionOnEnter;!0===G?V.acceptSuggestionOnEnter="on":!1===G&&(V.acceptSuggestionOnEnter="off");const hb=V.tabCompletion;!1===hb?V.tabCompletion="off":!0===hb&&(V.tabCompletion="onlySnippets");const _a=V.suggest;if(_a&&"object"==typeof _a.filteredTypes&&_a.filteredTypes){const $={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(D.b)($,S=>{const aa=_a.filteredTypes[S.key];!1===aa&&(_a[S.value]=aa)})}const fb=V.hover;!0===fb?V.hover={enabled:!0}:!1===fb&&(V.hover={enabled:!1});const za=V.parameterHints;!0===za?V.parameterHints={enabled:!0}:!1===za&&(V.parameterHints={enabled:!1});const ua=V.autoIndent;!0===ua?V.autoIndent="full":!1===ua&&(V.autoIndent="advanced");const ba=V.matchBrackets;!0===ba?V.matchBrackets="always":!1===ba&&(V.matchBrackets="never")}(N),N}class u extends y.a{constructor(Ba,N){super(),this._onDidChange=this._register(new q.a()),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new q.a()),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=Ba,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new Y.a(),this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=x(N),this._readOptions=w.readOptions(this._rawOptions),this._validatedOptions=w.validateOptions(this._readOptions),this._register(R.a.onDidChangeZoomLevel(V=>this._recomputeOptions())),this._register(Q.onDidChangeTabFocus(V=>this._recomputeOptions()))}observeReferenceElement(Ba){}dispose(){super.dispose()}_recomputeOptions(){const Ba=this.options,N=this._computeInternalOptions();if(Ba){const V=w.checkEquals(Ba,N);if(null===V)return;this.options=N,this._onDidChangeFast.fire(V),this._onDidChange.fire(V)}else this.options=N}getRawOptions(){return this._rawOptions}_computeInternalOptions(){const Ba=this._getEnvConfiguration(),N=L.a.createFromValidatedSettings(this._validatedOptions,Ba.zoomLevel,this.isSimpleWidget),V={memory:this._computeOptionsMemory,outerWidth:Ba.outerWidth,outerHeight:Ba.outerHeight,fontInfo:this.readConfiguration(N),extraEditorClassName:Ba.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:Ba.emptySelectionClipboard,pixelRatio:Ba.pixelRatio,tabFocusMode:Q.getTabFocusMode(),accessibilitySupport:Ba.accessibilitySupport};return w.computeOptions(this._validatedOptions,V)}static _subsetEquals(Ba,N){for(const V in N)if(B.call(N,V)){const ma=N[V],ta=Ba[V];if(ta===ma)continue;if(Array.isArray(ta)&&Array.isArray(ma)){if(!P.g(ta,ma))return!1;continue}if(ta&&"object"==typeof ta&&ma&&"object"==typeof ma){if(!this._subsetEquals(ta,ma))return!1;continue}return!1}return!0}updateOptions(Ba){if(void 0===Ba)return;const N=x(Ba);u._subsetEquals(this._rawOptions,N)||(this._rawOptions=F.g(this._rawOptions,N||{}),this._readOptions=w.readOptions(this._rawOptions),this._validatedOptions=w.validateOptions(this._readOptions),this._recomputeOptions())}setIsDominatedByLongLines(Ba){this._isDominatedByLongLines=Ba,this._recomputeOptions()}setMaxLineNumber(Ba){const N=u._digitCount(Ba);this._lineNumbersDigitCount!==N&&(this._lineNumbersDigitCount=N,this._recomputeOptions())}setViewLineCount(Ba){this._viewLineCount!==Ba&&(this._viewLineCount=Ba,this._recomputeOptions())}static _digitCount(Ba){let N=0;for(;Ba;)Ba=Math.floor(Ba/10),N++;return N||1}}const A=Object.freeze({id:"editor",order:5,type:"object",title:l.a("editorConfigurationTitle","Editor"),scope:5}),U=z.a.as(s.a.Configuration),da=Object.assign(Object.assign({},A),{properties:{"editor.tabSize":{type:"number",default:Y.d.tabSize,minimum:1,markdownDescription:l.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:Y.d.insertSpaces,markdownDescription:l.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:Y.d.detectIndentation,markdownDescription:l.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:Y.d.trimAutoWhitespace,description:l.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:Y.d.largeFileOptimizations,description:l.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:l.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[l.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),l.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),l.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:l.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:l.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:l.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:l.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:l.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:l.a("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:l.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:l.a("codeLens","Controls whether the editor shows CodeLens.")}}});for(const Ba of Y.k){const N=Ba.schema;if(void 0!==N)if(void 0!==(Z=N).type||void 0!==Z.anyOf)da.properties["editor."+Ba.name]=N;else for(let V in N)B.call(N,V)&&(da.properties[V]=N[V])}var Z;let H=null;function ea(){return null===H&&(H=Object.create(null),Object.keys(da.properties).forEach(Ba=>{H[Ba]=!0})),H}function oa(Ba){return ea()["editor."+Ba]||!1}function ga(Ba){return ea()["diffEditor."+Ba]||!1}U.registerConfiguration(da)},function(Ga,t,f){"use strict";f.d(t,"a",function(){return da}),f.d(t,"b",function(){return oa});var l=f(46),q=f(2),y=f(61),F=f(1),P=f(6),Y=f(44),R=f(105),L=f(170),s=f(99);function z(ga,Ba){const N=[];for(let V of Ba){if(ga.start>=V.range.end)continue;if(ga.end<V.range.start)break;const ma=s.a.intersect(ga,V.range);s.a.isEmpty(ma)||N.push({range:ma,size:V.size})}return N}function D({start:ga,end:Ba},N){return{start:ga+N,end:Ba+N}}class Q{constructor(){this.groups=[],this._size=0}splice(ga,Ba,N=[]){const V=N.length-Ba,ma=z({start:0,end:ga},this.groups),ta=z({start:ga+Ba,end:Number.POSITIVE_INFINITY},this.groups).map(Ka=>({range:D(Ka.range,V),size:Ka.size})),Da=N.map((Ka,G)=>({range:{start:ga+G,end:ga+G+1},size:Ka.size}));this.groups=function(...Ka){return function(G){const hb=[];let _a=null;for(let fb of G){const za=fb.range.start,ua=fb.range.end,ba=fb.size;_a&&ba===_a.size?_a.range.end=ua:(_a={range:{start:za,end:ua},size:ba},hb.push(_a))}return hb}(Ka.reduce((G,hb)=>G.concat(hb),[]))}(ma,Da,ta),this._size=this.groups.reduce((Ka,G)=>Ka+G.size*(G.range.end-G.range.start),0)}get count(){const ga=this.groups.length;return ga?this.groups[ga-1].range.end:0}get size(){return this._size}indexAt(ga){if(ga<0)return-1;let Ba=0,N=0;for(let V of this.groups){const ma=V.range.end-V.range.start,ta=N+ma*V.size;if(ga<ta)return Ba+Math.floor((ga-N)/V.size);Ba+=ma,N=ta}return Ba}indexAfter(ga){return Math.min(this.indexAt(ga)+1,this.count)}positionAt(ga){if(ga<0)return-1;let Ba=0,N=0;for(let V of this.groups){const ma=V.range.end-V.range.start,ta=N+ma;if(ga<ta)return Ba+(ga-N)*V.size;Ba+=ma*V.size,N=ta}return-1}}class B{constructor(ga){this.renderers=ga,this.cache=new Map()}alloc(ga){let Ba=this.getTemplateCache(ga).pop();if(!Ba){const N=Object(F.a)(".monaco-list-row");Ba={domNode:N,templateId:ga,templateData:this.getRenderer(ga).renderTemplate(N)}}return Ba}release(ga){ga&&this.releaseRow(ga)}releaseRow(ga){const{domNode:Ba,templateId:N}=ga;Ba&&(Object(F.Q)(Ba,"scrolling"),function(V){try{V.parentElement&&V.parentElement.removeChild(V)}catch(ma){}}(Ba)),this.getTemplateCache(N).push(ga)}getTemplateCache(ga){let Ba=this.cache.get(ga);return Ba||(Ba=[],this.cache.set(ga,Ba)),Ba}dispose(){this.cache.forEach((ga,Ba)=>{for(const N of ga)this.getRenderer(Ba).disposeTemplate(N.templateData),N.domNode=null,N.templateData=null}),this.cache.clear()}getRenderer(ga){const Ba=this.renderers.get(ga);if(!Ba)throw new Error("No renderer found for "+ga);return Ba}}var C=f(98),k=f(15),w=f(125),x=f(20),u=f(34),A=function(ga,Ba,N,V){var ma,ta=arguments.length,Da=ta<3?Ba:null===V?V=Object.getOwnPropertyDescriptor(Ba,N):V;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Da=Reflect.decorate(ga,Ba,N,V);else for(var Ka=ga.length-1;Ka>=0;Ka--)(ma=ga[Ka])&&(Da=(ta<3?ma(Da):ta>3?ma(Ba,N,Da):ma(Ba,N))||Da);return ta>3&&Da&&Object.defineProperty(Ba,N,Da),Da};const U={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:ga=>[ga],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0};class da{constructor(ga){this.elements=ga}update(){}getData(){return this.elements}}class Z{constructor(ga){this.elements=ga}update(){}getData(){return this.elements}}class H{constructor(){this.types=[],this.files=[]}update(ga){if(ga.types&&this.types.splice(0,this.types.length,...ga.types),ga.files){this.files.splice(0,this.files.length);for(let Ba=0;Ba<ga.files.length;Ba++){const N=ga.files.item(Ba);N&&(N.size||N.type)&&this.files.push(N)}}}getData(){return{types:this.types,files:this.files}}}class ea{constructor(ga){(null==ga?void 0:ga.getSetSize)?this.getSetSize=ga.getSetSize.bind(ga):this.getSetSize=(Ba,N,V)=>V,(null==ga?void 0:ga.getPosInSet)?this.getPosInSet=ga.getPosInSet.bind(ga):this.getPosInSet=(Ba,N)=>N+1,(null==ga?void 0:ga.getRole)?this.getRole=ga.getRole.bind(ga):this.getRole=Ba=>"listitem",(null==ga?void 0:ga.isChecked)?this.isChecked=ga.isChecked.bind(ga):this.isChecked=Ba=>{}}}class oa{constructor(ga,Ba,N,V=U){if(this.virtualDelegate=Ba,this.domId="list_id_"+ ++oa.InstanceCount,this.renderers=new Map(),this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new x.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=q.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=q.a.None,this.onDragLeaveTimeout=q.a.None,this.disposables=new q.b(),this._onDidChangeContentHeight=new P.a(),this._horizontalScrolling=!1,V.horizontalScrolling&&V.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new Q();for(const ma of N)this.renderers.set(ma.templateId,ma);this.cache=this.disposables.add(new B(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",F.e(this.domNode,this.domId),this.domNode.tabIndex=0,F.ab(this.domNode,"mouse-support","boolean"!=typeof V.mouseSupport||V.mouseSupport),this._horizontalScrolling=Object(l.f)(V,ma=>ma.horizontalScrolling,U.horizontalScrolling),F.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===V.additionalScrollHeight?0:V.additionalScrollHeight,this.accessibilityProvider=new ea(V.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",Object(l.f)(V,ma=>ma.transformOptimization,U.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(y.b.addTarget(this.rowsContainer)),this.scrollable=new L.a(Object(l.f)(V,ma=>ma.smoothScrolling,!1)?125:0,ma=>F.Y(ma)),this.scrollableElement=this.disposables.add(new R.c(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:1,vertical:Object(l.f)(V,ma=>ma.verticalScrollMode,U.verticalScrollMode),useShadows:Object(l.f)(V,ma=>ma.useShadows,U.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),ga.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(Y.a)(this.rowsContainer,y.a.Change)(this.onTouchChange,this,this.disposables),Object(Y.a)(this.scrollableElement.getDomNode(),"scroll")(ma=>ma.target.scrollTop=0,null,this.disposables),P.b.map(Object(Y.a)(this.domNode,"dragover"),ma=>this.toDragEvent(ma))(this.onDragOver,this,this.disposables),P.b.map(Object(Y.a)(this.domNode,"drop"),ma=>this.toDragEvent(ma))(this.onDrop,this,this.disposables),Object(Y.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(Y.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(l.f)(V,ma=>ma.setRowLineHeight,U.setRowLineHeight),this.setRowHeight=Object(l.f)(V,ma=>ma.setRowHeight,U.setRowHeight),this.supportDynamicHeights=Object(l.f)(V,ma=>ma.supportDynamicHeights,U.supportDynamicHeights),this.dnd=Object(l.f)(V,ma=>ma.dnd,U.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(ga){if(ga!==this._horizontalScrolling){if(ga&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=ga,F.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const Ba of this.items)this.measureItemWidth(Ba);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:F.B(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(ga){void 0!==ga.additionalScrollHeight&&(this.additionalScrollHeight=ga.additionalScrollHeight),void 0!==ga.smoothScrolling&&this.scrollable.setSmoothScrollDuration(ga.smoothScrolling?125:0),void 0!==ga.horizontalScrolling&&(this.horizontalScrolling=ga.horizontalScrolling)}splice(ga,Ba,N=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(ga,Ba,N)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(ga,Ba,N=[]){const V=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),ma={start:ga,end:ga+Ba},ta=s.a.intersect(V,ma);for(let I=ta.start;I<ta.end;I++)this.removeItemFromDOM(I);const Da={start:ga+Ba,end:this.items.length},Ka=s.a.intersect(Da,V),G=s.a.relativeComplement(Da,V),hb=N.map(I=>({id:String(this.itemId++),element:I,templateId:this.virtualDelegate.getTemplateId(I),size:this.virtualDelegate.getHeight(I),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(I),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:q.a.None}));let _a;0===ga&&Ba>=this.items.length?(this.rangeMap=new Q(),this.rangeMap.splice(0,0,hb),this.items=hb,_a=[]):(this.rangeMap.splice(ga,Ba,hb),_a=this.items.splice(ga,Ba,...hb));const fb=N.length-Ba,za=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),ua=D(Ka,fb),ba=s.a.intersect(za,ua);for(let I=ba.start;I<ba.end;I++)this.updateItemInDOM(this.items[I],I);const $=s.a.relativeComplement(ua,za);for(const I of $)for(let ka=I.start;ka<I.end;ka++)this.removeItemFromDOM(ka);const S=G.map(I=>D(I,fb)),aa=[{start:ga,end:ga+N.length},...S].map(I=>s.a.intersect(za,I)),_=this.getNextToLastElement(aa);for(const I of aa)for(let ka=I.start;ka<I.end;ka++)this.insertItemInDOM(ka,_);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),_a.map(I=>I.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=F.Y(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let ga=0;for(const Ba of this.items)void 0!==Ba.width&&(ga=Math.max(ga,Ba.width));this.scrollWidth=ga,this.scrollableElement.setScrollDimensions({scrollWidth:0===ga?0:ga+10})}rerender(){if(this.supportDynamicHeights){for(const ga of this.items)ga.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(ga){return this.items[ga].element}domElement(ga){const Ba=this.items[ga].row;return Ba&&Ba.domNode}elementHeight(ga){return this.items[ga].size}elementTop(ga){return this.rangeMap.positionAt(ga)}indexAt(ga){return this.rangeMap.indexAt(ga)}indexAfter(ga){return this.rangeMap.indexAfter(ga)}layout(ga,Ba){let N={height:"number"==typeof ga?ga:F.A(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,N.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(N),void 0!==Ba&&(this.renderWidth=Ba,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof Ba?Ba:F.B(this.domNode)}))}render(ga,Ba,N,V,ma,ta=!1){const Da=this.getRenderRange(Ba,N),Ka=s.a.relativeComplement(Da,ga),G=s.a.relativeComplement(ga,Da),hb=this.getNextToLastElement(Ka);if(ta){const _a=s.a.intersect(ga,Da);for(let fb=_a.start;fb<_a.end;fb++)this.updateItemInDOM(this.items[fb],fb)}for(const _a of Ka)for(let fb=_a.start;fb<_a.end;fb++)this.insertItemInDOM(fb,hb);for(const _a of G)for(let fb=_a.start;fb<_a.end;fb++)this.removeItemFromDOM(fb);void 0!==V&&(this.rowsContainer.style.left=`-${V}px`),this.rowsContainer.style.top=`-${Ba}px`,this.horizontalScrolling&&void 0!==ma&&(this.rowsContainer.style.width=Math.max(ma,this.renderWidth)+"px"),this.lastRenderTop=Ba,this.lastRenderHeight=N}insertItemInDOM(ga,Ba){const N=this.items[ga];if(!N.row){N.row=this.cache.alloc(N.templateId);const ta=this.accessibilityProvider.getRole(N.element)||"listitem";N.row.domNode.setAttribute("role",ta);const Da=this.accessibilityProvider.isChecked(N.element);void 0!==Da&&N.row.domNode.setAttribute("aria-checked",String(!!Da))}N.row.domNode.parentElement||(Ba?this.rowsContainer.insertBefore(N.row.domNode,Ba):this.rowsContainer.appendChild(N.row.domNode)),this.updateItemInDOM(N,ga);const V=this.renderers.get(N.templateId);if(!V)throw new Error("No renderer found for template id "+N.templateId);V&&V.renderElement(N.element,ga,N.row.templateData,N.size);const ma=this.dnd.getDragURI(N.element);if(N.dragStartDisposable.dispose(),N.row.domNode.draggable=!!ma,ma){const ta=Object(Y.a)(N.row.domNode,"dragstart");N.dragStartDisposable=ta(Da=>this.onDragStart(N.element,ma,Da))}this.horizontalScrolling&&(this.measureItemWidth(N),this.eventuallyUpdateScrollWidth())}measureItemWidth(ga){if(!ga.row||!ga.row.domNode)return;ga.row.domNode.style.width=u.h?"-moz-fit-content":"fit-content",ga.width=F.B(ga.row.domNode);const Ba=window.getComputedStyle(ga.row.domNode);Ba.paddingLeft&&(ga.width+=parseFloat(Ba.paddingLeft)),Ba.paddingRight&&(ga.width+=parseFloat(Ba.paddingRight)),ga.row.domNode.style.width=""}updateItemInDOM(ga,Ba){ga.row.domNode.style.top=this.elementTop(Ba)+"px",this.setRowHeight&&(ga.row.domNode.style.height=ga.size+"px"),this.setRowLineHeight&&(ga.row.domNode.style.lineHeight=ga.size+"px"),ga.row.domNode.setAttribute("data-index",""+Ba),ga.row.domNode.setAttribute("data-last-element",Ba===this.length-1?"true":"false"),ga.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(ga.element,Ba,this.length))),ga.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(ga.element,Ba))),ga.row.domNode.setAttribute("id",this.getElementDomId(Ba)),F.ab(ga.row.domNode,"drop-target",ga.dropTarget)}removeItemFromDOM(ga){const Ba=this.items[ga];Ba.dragStartDisposable.dispose();const N=this.renderers.get(Ba.templateId);Ba.row&&N&&N.disposeElement&&N.disposeElement(Ba.element,ga,Ba.row.templateData,Ba.size),this.cache.release(Ba.row),Ba.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(ga){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:ga})}get scrollTop(){return this.getScrollTop()}set scrollTop(ga){this.setScrollTop(ga)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return P.b.map(Object(Y.a)(this.domNode,"click"),ga=>this.toMouseEvent(ga))}get onMouseDblClick(){return P.b.map(Object(Y.a)(this.domNode,"dblclick"),ga=>this.toMouseEvent(ga))}get onMouseMiddleClick(){return P.b.filter(P.b.map(Object(Y.a)(this.domNode,"auxclick"),ga=>this.toMouseEvent(ga)),ga=>1===ga.browserEvent.button)}get onMouseDown(){return P.b.map(Object(Y.a)(this.domNode,"mousedown"),ga=>this.toMouseEvent(ga))}get onContextMenu(){return P.b.map(Object(Y.a)(this.domNode,"contextmenu"),ga=>this.toMouseEvent(ga))}get onTouchStart(){return P.b.map(Object(Y.a)(this.domNode,"touchstart"),ga=>this.toTouchEvent(ga))}get onTap(){return P.b.map(Object(Y.a)(this.rowsContainer,y.a.Tap),ga=>this.toGestureEvent(ga))}toMouseEvent(ga){const Ba=this.getItemIndexFromEventTarget(ga.target||null),N=void 0===Ba?void 0:this.items[Ba];return{browserEvent:ga,index:Ba,element:N&&N.element}}toTouchEvent(ga){const Ba=this.getItemIndexFromEventTarget(ga.target||null),N=void 0===Ba?void 0:this.items[Ba];return{browserEvent:ga,index:Ba,element:N&&N.element}}toGestureEvent(ga){const Ba=this.getItemIndexFromEventTarget(ga.initialTarget||null),N=void 0===Ba?void 0:this.items[Ba];return{browserEvent:ga,index:Ba,element:N&&N.element}}toDragEvent(ga){const Ba=this.getItemIndexFromEventTarget(ga.target||null),N=void 0===Ba?void 0:this.items[Ba];return{browserEvent:ga,index:Ba,element:N&&N.element}}onScroll(ga){try{const Ba=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(Ba,ga.scrollTop,ga.height,ga.scrollLeft,ga.scrollWidth),this.supportDynamicHeights&&this._rerender(ga.scrollTop,ga.height)}catch(Ba){throw console.error("Got bad scroll event:",ga),Ba}}onTouchChange(ga){ga.preventDefault(),ga.stopPropagation(),this.scrollTop-=ga.translationY}onDragStart(ga,Ba,N){if(!N.dataTransfer)return;const V=this.dnd.getDragElements(ga);if(N.dataTransfer.effectAllowed="copyMove",N.dataTransfer.setData(w.a.RESOURCES,JSON.stringify([Ba])),N.dataTransfer.setDragImage){let ma;this.dnd.getDragLabel&&(ma=this.dnd.getDragLabel(V,N)),void 0===ma&&(ma=String(V.length));const ta=F.a(".monaco-drag-image");ta.textContent=ma,document.body.appendChild(ta),N.dataTransfer.setDragImage(ta,-10,-10),setTimeout(()=>document.body.removeChild(ta),0)}this.currentDragData=new da(V),w.c.CurrentDragAndDropData=new Z(V),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,N)}onDragOver(ga){if(ga.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),w.c.CurrentDragAndDropData&&"vscode-ui"===w.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(ga.browserEvent),!ga.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(w.c.CurrentDragAndDropData)this.currentDragData=w.c.CurrentDragAndDropData;else{if(!ga.browserEvent.dataTransfer.types)return!1;this.currentDragData=new H()}const Ba=this.dnd.onDragOver(this.currentDragData,ga.element,ga.index,ga.browserEvent);if(this.canDrop="boolean"==typeof Ba?Ba:Ba.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let N;if(ga.browserEvent.dataTransfer.dropEffect="boolean"!=typeof Ba&&0===Ba.effect?"copy":"move",N="boolean"!=typeof Ba&&Ba.feedback?Ba.feedback:void 0===ga.index?[-1]:[ga.index],N=Object(k.e)(N).filter(ta=>ta>=-1&&ta<this.length).sort((ta,Da)=>ta-Da),N=-1===N[0]?[-1]:N,V=this.currentDragFeedback,ma=N,Array.isArray(V)&&Array.isArray(ma)?Object(k.g)(V,ma):V===ma)return!0;var V,ma;if(this.currentDragFeedback=N,this.currentDragFeedbackDisposable.dispose(),-1===N[0])F.e(this.domNode,"drop-target"),F.e(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(q.h)(()=>{F.Q(this.domNode,"drop-target"),F.Q(this.rowsContainer,"drop-target")});else{for(const ta of N){const Da=this.items[ta];Da.dropTarget=!0,Da.row&&Da.row.domNode&&F.e(Da.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(q.h)(()=>{for(const ta of N){const Da=this.items[ta];Da.dropTarget=!1,Da.row&&Da.row.domNode&&F.Q(Da.row.domNode,"drop-target")}})}return!0}onDragLeave(){this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(x.g)(()=>this.clearDragOverFeedback(),100)}onDrop(ga){if(!this.canDrop)return;const Ba=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,w.c.CurrentDragAndDropData=void 0,Ba&&ga.browserEvent.dataTransfer&&(ga.browserEvent.preventDefault(),Ba.update(ga.browserEvent.dataTransfer),this.dnd.drop(Ba,ga.element,ga.index,ga.browserEvent))}onDragEnd(ga){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,w.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(ga)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=q.a.None}setupDragAndDropScrollTopAnimation(ga){if(!this.dragOverAnimationDisposable){const Ba=F.F(this.domNode).top;this.dragOverAnimationDisposable=F.o(this.animateDragAndDropScrollTop.bind(this,Ba))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(x.g)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=ga.pageY}animateDragAndDropScrollTop(ga){if(void 0===this.dragOverMouseY)return;const Ba=this.dragOverMouseY-ga,N=this.renderHeight-35;Ba<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(Ba-35))):Ba>N&&(this.scrollTop+=Math.min(14,Math.floor(.3*(Ba-N))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(ga){const Ba=this.scrollableElement.getDomNode();let N=ga;for(;N instanceof HTMLElement&&N!==this.rowsContainer&&Ba.contains(N);){const V=N.getAttribute("data-index");if(V){const ma=Number(V);if(!isNaN(ma))return ma}N=N.parentElement}}getRenderRange(ga,Ba){return{start:this.rangeMap.indexAt(ga),end:this.rangeMap.indexAfter(ga+Ba-1)}}_rerender(ga,Ba){const N=this.getRenderRange(ga,Ba);let V,ma;ga===this.elementTop(N.start)?(V=N.start,ma=0):N.end-N.start>1&&(V=N.start+1,ma=this.elementTop(V)-ga);let ta=0;for(;;){const Da=this.getRenderRange(ga,Ba);let Ka=!1;for(let G=Da.start;G<Da.end;G++){const hb=this.probeDynamicHeight(G);0!==hb&&this.rangeMap.splice(G,1,[this.items[G]]),ta+=hb,Ka=Ka||0!==hb}if(!Ka){0!==ta&&this.eventuallyUpdateScrollDimensions();const G=s.a.relativeComplement(N,Da);for(const _a of G)for(let fb=_a.start;fb<_a.end;fb++)this.items[fb].row&&this.removeItemFromDOM(fb);const hb=s.a.relativeComplement(Da,N);for(const _a of hb)for(let fb=_a.start;fb<_a.end;fb++){const za=fb+1,ua=za<this.items.length?this.items[za].row:null,ba=ua?ua.domNode:null;this.insertItemInDOM(fb,ba)}for(let _a=Da.start;_a<Da.end;_a++)this.items[_a].row&&this.updateItemInDOM(this.items[_a],_a);return"number"==typeof V&&(this.scrollTop=this.elementTop(V)-ma),void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(ga){const Ba=this.items[ga];if(!Ba.hasDynamicHeight||Ba.lastDynamicHeightWidth===this.renderWidth)return 0;if(this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(Ba.element))return 0;const N=Ba.size;if(!this.setRowHeight&&Ba.row&&Ba.row.domNode){let ta=Ba.row.domNode.offsetHeight;return Ba.size=ta,Ba.lastDynamicHeightWidth=this.renderWidth,ta-N}const V=this.cache.alloc(Ba.templateId);V.domNode.style.height="",this.rowsContainer.appendChild(V.domNode);const ma=this.renderers.get(Ba.templateId);return ma&&(ma.renderElement(Ba.element,ga,V.templateData,void 0),ma.disposeElement&&ma.disposeElement(Ba.element,ga,V.templateData,void 0)),Ba.size=V.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(Ba.element,Ba.size),Ba.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(V.domNode),this.cache.release(V),Ba.size-N}getNextToLastElement(ga){const Ba=ga[ga.length-1];if(!Ba)return null;const N=this.items[Ba.end];return N&&N.row?N.row.domNode:null}getElementDomId(ga){return`${this.domId}_${ga}`}dispose(){if(this.items){for(const ga of this.items)if(ga.row){const Ba=this.renderers.get(ga.row.templateId);Ba&&Ba.disposeTemplate(ga.row.templateData)}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(q.f)(this.disposables)}}oa.InstanceCount=0,A([C.a],oa.prototype,"onMouseClick",null),A([C.a],oa.prototype,"onMouseDblClick",null),A([C.a],oa.prototype,"onMouseMiddleClick",null),A([C.a],oa.prototype,"onMouseDown",null),A([C.a],oa.prototype,"onContextMenu",null),A([C.a],oa.prototype,"onTouchStart",null),A([C.a],oa.prototype,"onTap",null)},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l});class l{constructor(q,y=[],F=!1){this.ctor=q,this.staticArguments=y,this.supportsDelayedInstantiation=F}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return ff}),f(208);var l=f(0),q=f(1),y=f(13),F=f(6),P=f(2),Y=f(45),R=f(87),L=f(4),s=f(41),z=f(21),D=f(35),Q=f(11),B=f(61),C=f(69),k=f(20),w=f(34),x=f(103);class u{constructor(d,g){this.x=d,this.y=g}toClientCoordinates(){return new A(this.x-q.d.scrollX,this.y-q.d.scrollY)}}class A{constructor(d,g){this.clientX=d,this.clientY=g}toPageCoordinates(){return new u(this.clientX+q.d.scrollX,this.clientY+q.d.scrollY)}}class U{constructor(d,g,o,J){this.x=d,this.y=g,this.width=o,this.height=J}}function da(d){const g=q.C(d);return new U(g.left,g.top,g.width,g.height)}class Z extends C.a{constructor(d,g){super(d),this.pos=new u(this.posx,this.posy),this.editorPos=da(g)}}class H{constructor(d){this._editorViewDomNode=d}_create(d){return new Z(d,this._editorViewDomNode)}onContextMenu(d,g){return q.i(d,"contextmenu",o=>{g(this._create(o))})}onMouseUp(d,g){return q.i(d,"mouseup",o=>{g(this._create(o))})}onMouseDown(d,g){return q.i(d,"mousedown",o=>{g(this._create(o))})}onMouseLeave(d,g){return q.j(d,o=>{g(this._create(o))})}onMouseMoveThrottled(d,g,o,J){return q.l(d,"mousemove",g,(T,sa)=>o(T,this._create(sa)),J)}}class ea{constructor(d){this._editorViewDomNode=d}_create(d){return new Z(d,this._editorViewDomNode)}onPointerUp(d,g){return q.i(d,"pointerup",o=>{g(this._create(o))})}onPointerDown(d,g){return q.i(d,"pointerdown",o=>{g(this._create(o))})}onPointerLeave(d,g){return q.k(d,o=>{g(this._create(o))})}onPointerMoveThrottled(d,g,o,J){return q.l(d,"pointermove",g,(T,sa)=>o(T,this._create(sa)),J)}}class oa extends P.a{constructor(d){super(),this._editorViewDomNode=d,this._globalMouseMoveMonitor=this._register(new x.a()),this._keydownListener=null}startMonitoring(d,g,o,J,T){this._keydownListener=q.n(document,"keydown",sa=>{sa.toKeybinding().isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0)},!0),this._globalMouseMoveMonitor.startMonitoring(d,g,(sa,Ia)=>o(sa,new Z(Ia,this._editorViewDomNode)),J,()=>{this._keydownListener.dispose(),T()})}}class ga extends P.a{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onConfigurationChanged(d){return!1}onCursorStateChanged(d){return!1}onDecorationsChanged(d){return!1}onFlushed(d){return!1}onFocusChanged(d){return!1}onLanguageConfigurationChanged(d){return!1}onLineMappingChanged(d){return!1}onLinesChanged(d){return!1}onLinesDeleted(d){return!1}onLinesInserted(d){return!1}onRevealRangeRequest(d){return!1}onScrollChanged(d){return!1}onThemeChanged(d){return!1}onTokensChanged(d){return!1}onTokensColorsChanged(d){return!1}onZonesChanged(d){return!1}handleEvents(d){let g=!1;for(let o=0,J=d.length;o<J;o++){let T=d[o];switch(T.type){case 0:this.onConfigurationChanged(T)&&(g=!0);break;case 1:this.onCursorStateChanged(T)&&(g=!0);break;case 2:this.onDecorationsChanged(T)&&(g=!0);break;case 3:this.onFlushed(T)&&(g=!0);break;case 4:this.onFocusChanged(T)&&(g=!0);break;case 5:this.onLanguageConfigurationChanged(T)&&(g=!0);break;case 6:this.onLineMappingChanged(T)&&(g=!0);break;case 7:this.onLinesChanged(T)&&(g=!0);break;case 8:this.onLinesDeleted(T)&&(g=!0);break;case 9:this.onLinesInserted(T)&&(g=!0);break;case 10:this.onRevealRangeRequest(T)&&(g=!0);break;case 11:this.onScrollChanged(T)&&(g=!0);break;case 13:this.onTokensChanged(T)&&(g=!0);break;case 12:this.onThemeChanged(T)&&(g=!0);break;case 14:this.onTokensColorsChanged(T)&&(g=!0);break;case 15:this.onZonesChanged(T)&&(g=!0);break;default:console.info("View received unknown event: "),console.info(T)}}g&&(this._shouldRender=!0)}}class Ba extends ga{constructor(d){super(),this._context=d,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class N{static write(d,g){D.a,d.setAttribute("data-mprt",String(g))}static read(d){const g=d.getAttribute("data-mprt");return null===g?0:parseInt(g,10)}static collect(d,g){let o=[],J=0;for(;d&&d!==document.body&&d!==g;)d.nodeType===d.ELEMENT_NODE&&(o[J++]=this.read(d)),d=d.parentElement;const T=new Uint8Array(J);for(let sa=0;sa<J;sa++)T[sa]=o[J-sa-1];return T}}class V extends class{constructor(d,g){this._viewLayout=d,this.viewportData=g,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const o=this._viewLayout.getCurrentViewport();this.scrollTop=o.top,this.scrollLeft=o.left,this.viewportWidth=o.width,this.viewportHeight=o.height}getScrolledTopFromAbsoluteTop(d){return d-this.scrollTop}getVerticalOffsetForLineNumber(d){return this._viewLayout.getVerticalOffsetForLineNumber(d)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}{constructor(d,g,o){super(d,g),this._viewLines=o}linesVisibleRangesForRange(d,g){return this._viewLines.linesVisibleRangesForRange(d,g)}visibleRangeForPosition(d){return this._viewLines.visibleRangeForPosition(d)}}class ma{constructor(d,g,o){this.outsideRenderedLine=d,this.lineNumber=g,this.ranges=o}}class ta{constructor(d,g){this.left=Math.round(d),this.width=Math.round(g)}toString(){return`[${this.left},${this.width}]`}}class Da{constructor(d,g){this.outsideRenderedLine=d,this.left=Math.round(g)}}class Ka{constructor(d,g){this.outsideRenderedLine=d,this.ranges=g}}class G{constructor(d,g){this.left=d,this.width=g}toString(){return`[${this.left},${this.width}]`}static compare(d,g){return d.left-g.left}}class hb{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(d,g){d.selectNodeContents(g)}static _readClientRects(d,g,o,J,T){const sa=this._createRange();try{return sa.setStart(d,g),sa.setEnd(o,J),sa.getClientRects()}catch(Ia){return null}finally{this._detachRange(sa,T)}}static _mergeAdjacentRanges(d){if(1===d.length)return[new ta(d[0].left,d[0].width)];d.sort(G.compare);let g=[],o=0,J=d[0].left,T=d[0].width;for(let sa=1,Ia=d.length;sa<Ia;sa++){const Sa=d[sa],bb=Sa.left,ib=Sa.width;J+T+.9>=bb?T=Math.max(T,bb+ib-J):(g[o++]=new ta(J,T),J=bb,T=ib)}return g[o++]=new ta(J,T),g}static _createHorizontalRangesFromClientRects(d,g){if(!d||0===d.length)return null;const o=[];for(let J=0,T=d.length;J<T;J++){const sa=d[J];o[J]=new G(Math.max(0,sa.left-g),sa.width)}return this._mergeAdjacentRanges(o)}static readHorizontalRanges(d,g,o,J,T,sa,Ia){const Sa=d.children.length-1;if(0>Sa)return null;if((g=Math.min(Sa,Math.max(0,g)))===(J=Math.min(Sa,Math.max(0,J)))&&o===T&&0===o){const Mb=d.children[g].getClientRects();return this._createHorizontalRangesFromClientRects(Mb,sa)}g!==J&&J>0&&0===T&&(J--,T=1073741824);let bb=d.children[g].firstChild,ib=d.children[J].firstChild;if(bb&&ib||(!bb&&0===o&&g>0&&(bb=d.children[g-1].firstChild,o=1073741824),!ib&&0===T&&J>0&&(ib=d.children[J-1].firstChild,T=1073741824)),!bb||!ib)return null;o=Math.min(bb.textContent.length,Math.max(0,o)),T=Math.min(ib.textContent.length,Math.max(0,T));const ob=this._readClientRects(bb,o,ib,T,Ia);return this._createHorizontalRangesFromClientRects(ob,sa)}}var _a=f(155),fb=f(91),za=f(19),ua=f(26);const ba=!!Q.g||!(Q.d||w.h||w.j);let $=!0;const S=w.f;class aa{constructor(d,g){this._domNode=d,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=g}get clientRectDeltaLeft(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft}}class _{constructor(d,g){this.themeType=g;const o=d.options,J=o.get(36);this.renderWhitespace=o.get(80),this.renderControlCharacters=o.get(74),this.spaceWidth=J.spaceWidth,this.middotWidth=J.middotWidth,this.wsmiddotWidth=J.wsmiddotWidth,this.useMonospaceOptimizations=J.isMonospace&&!o.get(24),this.canUseHalfwidthRightwardsArrow=J.canUseHalfwidthRightwardsArrow,this.lineHeight=o.get(51),this.stopRenderingLineAfter=o.get(95),this.fontLigatures=o.get(37)}equals(d){return this.themeType===d.themeType&&this.renderWhitespace===d.renderWhitespace&&this.renderControlCharacters===d.renderControlCharacters&&this.spaceWidth===d.spaceWidth&&this.middotWidth===d.middotWidth&&this.wsmiddotWidth===d.wsmiddotWidth&&this.useMonospaceOptimizations===d.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===d.canUseHalfwidthRightwardsArrow&&this.lineHeight===d.lineHeight&&this.stopRenderingLineAfter===d.stopRenderingLineAfter&&this.fontLigatures===d.fontLigatures}}class I{constructor(d){this._options=d,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(d){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(D.b)(d)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(d){this._isMaybeInvalid=!0,this._options=d}onSelectionChanged(){return!(!S&&this._options.themeType!==za.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(d,g,o,J){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;const T=o.getViewLineRenderingData(d),sa=this._options,Ia=_a.a.filter(T.inlineDecorations,d,T.minColumn,T.maxColumn);let Sa=null;if(S||sa.themeType===za.b||"selection"===this._options.renderWhitespace){const Mb=o.selections;for(const Gb of Mb){if(Gb.endLineNumber<d||Gb.startLineNumber>d)continue;const ac=Gb.startLineNumber===d?Gb.startColumn:T.minColumn,gc=Gb.endLineNumber===d?Gb.endColumn:T.maxColumn;ac<gc&&(sa.themeType===za.b||"selection"!==this._options.renderWhitespace?Ia.push(new _a.a(ac,gc,"inline-selected-text",0)):(Sa||(Sa=[]),Sa.push(new fb.b(ac-1,gc-1))))}}const bb=new fb.c(sa.useMonospaceOptimizations,sa.canUseHalfwidthRightwardsArrow,T.content,T.continuesWithWrappedLine,T.isBasicASCII,T.containsRTL,T.minColumn-1,T.tokens,Ia,T.tabSize,T.startVisibleColumn,sa.spaceWidth,sa.middotWidth,sa.wsmiddotWidth,sa.stopRenderingLineAfter,sa.renderWhitespace,sa.renderControlCharacters,sa.fontLigatures!==ua.e.OFF,Sa);if(this._renderedViewLine&&this._renderedViewLine.input.equals(bb))return!1;J.appendASCIIString('<div style="top:'),J.appendASCIIString(String(g)),J.appendASCIIString("px;height:"),J.appendASCIIString(String(this._options.lineHeight)),J.appendASCIIString('px;" class="'),J.appendASCIIString(I.CLASS_NAME),J.appendASCIIString('">');const ib=Object(fb.d)(bb,J);J.appendASCIIString("</div>");let ob=null;return $&&ba&&T.isBasicASCII&&sa.useMonospaceOptimizations&&0===ib.containsForeignElements&&T.content.length<300&&bb.lineTokens.getCount()<100&&(ob=new ka(this._renderedViewLine?this._renderedViewLine.domNode:null,bb,ib.characterMapping)),ob||(ob=$a(this._renderedViewLine?this._renderedViewLine.domNode:null,bb,ib.characterMapping,ib.containsRTL,ib.containsForeignElements)),this._renderedViewLine=ob,!0}layoutLine(d,g){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(g),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof ka}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof ka?this._renderedViewLine.monospaceAssumptionsAreValid():$}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof ka&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(d,g,o){if(!this._renderedViewLine)return null;d|=0,g|=0,d=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,d)),g=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,g));const J=0|this._renderedViewLine.input.stopRenderingLineAfter;let T=!1;-1!==J&&d>J+1&&g>J+1&&(T=!0),-1!==J&&d>J+1&&(d=J+1),-1!==J&&g>J+1&&(g=J+1);const sa=this._renderedViewLine.getVisibleRangesForRange(d,g,o);return sa&&sa.length>0?new Ka(T,sa):null}getColumnOfNodeOffset(d,g,o){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(d,g,o):1}}I.CLASS_NAME="view-line";class ka{constructor(d,g,o){this.domNode=d,this.input=g,this._characterMapping=o,this._charWidth=g.spaceWidth}getWidth(){return this._getCharPosition(this._characterMapping.length)}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return $;const d=this.getWidth(),g=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(d-g)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),$=!1),$}toSlowRenderedLine(){return $a(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(d,g,o){const J=this._getCharPosition(d),T=this._getCharPosition(g);return[new ta(J,T-J)]}_getCharPosition(d){const g=this._characterMapping.getAbsoluteOffsets();return 0===g.length?0:Math.round(this._charWidth*g[d-1])}getColumnOfNodeOffset(d,g,o){const J=g.textContent.length;let T=-1;for(;g;)g=g.previousSibling,T++;return this._characterMapping.partDataToCharOffset(T,J,o)+1}}class va{constructor(d,g,o,J,T){if(this.domNode=d,this.input=g,this._characterMapping=o,this._isWhitespaceOnly=/^\s*$/.test(g.lineContent),this._containsForeignElements=T,this._cachedWidth=-1,this._pixelOffsetCache=null,!J||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(let sa=0,Ia=this._characterMapping.length;sa<=Ia;sa++)this._pixelOffsetCache[sa]=-1}}_getReadingTarget(d){return d.domNode.firstChild}getWidth(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return-1!==this._cachedWidth}getVisibleRangesForRange(d,g,o){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){const J=this._readPixelOffset(this.domNode,d,o);if(-1===J)return null;const T=this._readPixelOffset(this.domNode,g,o);return-1===T?null:[new ta(J,T-J)]}return this._readVisibleRangesForRange(this.domNode,d,g,o)}_readVisibleRangesForRange(d,g,o,J){if(g===o){const T=this._readPixelOffset(d,g,J);return-1===T?null:[new ta(T,0)]}return this._readRawVisibleRangesForRange(d,g,o,J)}_readPixelOffset(d,g,o){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();const J=this._getReadingTarget(d);return J.firstChild?J.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){const J=this._pixelOffsetCache[g];if(-1!==J)return J;const T=this._actualReadPixelOffset(d,g,o);return this._pixelOffsetCache[g]=T,T}return this._actualReadPixelOffset(d,g,o)}_actualReadPixelOffset(d,g,o){if(0===this._characterMapping.length){const bb=hb.readHorizontalRanges(this._getReadingTarget(d),0,0,0,0,o.clientRectDeltaLeft,o.endNode);return bb&&0!==bb.length?bb[0].left:-1}if(g===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();const J=this._characterMapping.charOffsetToPartData(g-1),T=fb.a.getPartIndex(J),sa=fb.a.getCharIndex(J),Ia=hb.readHorizontalRanges(this._getReadingTarget(d),T,sa,T,sa,o.clientRectDeltaLeft,o.endNode);if(!Ia||0===Ia.length)return-1;const Sa=Ia[0].left;if(this.input.isBasicASCII){const bb=this._characterMapping.getAbsoluteOffsets(),ib=Math.round(this.input.spaceWidth*bb[g-1]);if(Math.abs(ib-Sa)<=1)return ib}return Sa}_readRawVisibleRangesForRange(d,g,o,J){if(1===g&&o===this._characterMapping.length)return[new ta(0,this.getWidth())];const T=this._characterMapping.charOffsetToPartData(g-1),sa=fb.a.getPartIndex(T),Ia=fb.a.getCharIndex(T),Sa=this._characterMapping.charOffsetToPartData(o-1),bb=fb.a.getPartIndex(Sa),ib=fb.a.getCharIndex(Sa);return hb.readHorizontalRanges(this._getReadingTarget(d),sa,Ia,bb,ib,J.clientRectDeltaLeft,J.endNode)}getColumnOfNodeOffset(d,g,o){const J=g.textContent.length;let T=-1;for(;g;)g=g.previousSibling,T++;return this._characterMapping.partDataToCharOffset(T,J,o)+1}}class La extends va{_readVisibleRangesForRange(d,g,o,J){const T=super._readVisibleRangesForRange(d,g,o,J);if(!T||0===T.length||g===o||1===g&&o===this._characterMapping.length)return T;if(!this.input.containsRTL){const sa=this._readPixelOffset(d,o,J);if(-1!==sa){const Ia=T[T.length-1];Ia.left<sa&&(Ia.width=sa-Ia.left)}}return T}}const $a=w.l?Ab:gb;function Ab(d,g,o,J,T){return new La(d,g,o,J,T)}function gb(d,g,o,J,T){return new va(d,g,o,J,T)}var Fb=f(9),wb=f(3),tc=f(22);class rb{constructor(d,g){this.lastViewCursorsRenderData=d,this.lastTextareaPosition=g}}class wc{constructor(d,g,o=0,J=null,T=null,sa=null){this.element=d,this.type=g,this.mouseColumn=o,this.position=J,!T&&J&&(T=new wb.a(J.lineNumber,J.column,J.lineNumber,J.column)),this.range=T,this.detail=sa}static _typeToString(d){return 1===d?"TEXTAREA":2===d?"GUTTER_GLYPH_MARGIN":3===d?"GUTTER_LINE_NUMBERS":4===d?"GUTTER_LINE_DECORATIONS":5===d?"GUTTER_VIEW_ZONE":6===d?"CONTENT_TEXT":7===d?"CONTENT_EMPTY":8===d?"CONTENT_VIEW_ZONE":9===d?"CONTENT_WIDGET":10===d?"OVERVIEW_RULER":11===d?"SCROLLBAR":12===d?"OVERLAY_WIDGET":"UNKNOWN"}static toString(d){return this._typeToString(d.type)+": "+d.position+" - "+d.range+" - "+d.detail}toString(){return wc.toString(this)}}class vc{static isTextArea(d){return 2===d.length&&3===d[0]&&6===d[1]}static isChildOfViewLines(d){return d.length>=4&&3===d[0]&&7===d[3]}static isStrictChildOfViewLines(d){return d.length>4&&3===d[0]&&7===d[3]}static isChildOfScrollableElement(d){return d.length>=2&&3===d[0]&&5===d[1]}static isChildOfMinimap(d){return d.length>=2&&3===d[0]&&8===d[1]}static isChildOfContentWidgets(d){return d.length>=4&&3===d[0]&&1===d[3]}static isChildOfOverflowingContentWidgets(d){return d.length>=1&&2===d[0]}static isChildOfOverlayWidgets(d){return d.length>=2&&3===d[0]&&4===d[1]}}class cb{constructor(d,g,o){this.model=d.model;const J=d.configuration.options;this.layoutInfo=J.get(117),this.viewDomNode=g.viewDomNode,this.lineHeight=J.get(51),this.typicalHalfwidthCharacterWidth=J.get(36).typicalHalfwidthCharacterWidth,this.lastRenderData=o,this._context=d,this._viewHelper=g}getZoneAtCoord(d){return cb.getZoneAtCoord(this._context,d)}static getZoneAtCoord(d,g){const o=d.viewLayout.getWhitespaceAtVerticalOffset(g);if(o){let J,T=o.verticalOffset+o.height/2,sa=d.model.getLineCount(),Ia=null,Sa=null;return o.afterLineNumber!==sa&&(Sa=new Fb.a(o.afterLineNumber+1,1)),o.afterLineNumber>0&&(Ia=new Fb.a(o.afterLineNumber,d.model.getLineMaxColumn(o.afterLineNumber))),J=null===Sa?Ia:null===Ia?Sa:g<T?Ia:Sa,{viewZoneId:o.id,afterLineNumber:o.afterLineNumber,positionBefore:Ia,positionAfter:Sa,position:J}}return null}getFullLineRangeAtCoord(d){if(this._context.viewLayout.isAfterLines(d)){const J=this._context.model.getLineCount(),T=this._context.model.getLineMaxColumn(J);return{range:new wb.a(J,T,J,T),isAfterLines:!0}}const g=this._context.viewLayout.getLineNumberAtVerticalOffset(d),o=this._context.model.getLineMaxColumn(g);return{range:new wb.a(g,1,g,o),isAfterLines:!1}}getLineNumberAtVerticalOffset(d){return this._context.viewLayout.getLineNumberAtVerticalOffset(d)}isAfterLines(d){return this._context.viewLayout.isAfterLines(d)}getVerticalOffsetForLineNumber(d){return this._context.viewLayout.getVerticalOffsetForLineNumber(d)}findAttribute(d,g){return cb._findAttribute(d,g,this._viewHelper.viewDomNode)}static _findAttribute(d,g,o){for(;d&&d!==document.body;){if(d.hasAttribute&&d.hasAttribute(g))return d.getAttribute(g);if(d===o)return null;d=d.parentNode}return null}getLineWidth(d){return this._viewHelper.getLineWidth(d)}visibleRangeForPosition(d,g){return this._viewHelper.visibleRangeForPosition(d,g)}getPositionFromDOMInfo(d,g){return this._viewHelper.getPositionFromDOMInfo(d,g)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class Ob extends class{constructor(d,g,o){this.editorPos=g,this.pos=o,this.mouseVerticalOffset=Math.max(0,d.getCurrentScrollTop()+o.y-g.y),this.mouseContentHorizontalOffset=d.getCurrentScrollLeft()+o.x-g.x-d.layoutInfo.contentLeft,this.isInMarginArea=o.x-g.x<d.layoutInfo.contentLeft&&o.x-g.x>=d.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,Kc._getMouseColumn(this.mouseContentHorizontalOffset,d.typicalHalfwidthCharacterWidth))}}{constructor(d,g,o,J){super(d,g,o),this._ctx=d,J?(this.target=J,this.targetPath=N.collect(J,d.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} - target: ${this.target?this.target.outerHTML:null}`}fulfill(d,g=null,o=null,J=null){let T=this.mouseColumn;return g&&g.column<this._ctx.model.getLineMaxColumn(g.lineNumber)&&(T=tc.a.visibleColumnFromColumn(this._ctx.model.getLineContent(g.lineNumber),g.column,this._ctx.model.getTextModelOptions().tabSize)+1),new wc(this.target,d,T,g,o,J)}withTarget(d){return new Ob(this._ctx,this.editorPos,this.pos,d)}}const uc={isAfterLines:!0};function Cc(d){return{isAfterLines:!1,horizontalDistanceToText:d}}class Kc{constructor(d,g){this._context=d,this._viewHelper=g}mouseTargetIsWidget(d){const g=d.target,o=N.collect(g,this._viewHelper.viewDomNode);return!(!vc.isChildOfContentWidgets(o)&&!vc.isChildOfOverflowingContentWidgets(o))||!!vc.isChildOfOverlayWidgets(o)}createMouseTarget(d,g,o,J){const T=new cb(this._context,this._viewHelper,d),sa=new Ob(T,g,o,J);try{return Kc._createMouseTarget(T,sa,!1)}catch(Ia){return sa.fulfill(0)}}static _createMouseTarget(d,g,o){if(null===g.target){if(o)return g.fulfill(0);const sa=Kc._doHitTest(d,g);return sa.position?Kc.createMouseTargetFromHitTestPosition(d,g,sa.position.lineNumber,sa.position.column):this._createMouseTarget(d,g.withTarget(sa.hitTarget),!0)}const J=g;let T=null;return T=T||Kc._hitTestContentWidget(d,J),T=T||Kc._hitTestOverlayWidget(d,J),T=T||Kc._hitTestMinimap(d,J),T=T||Kc._hitTestScrollbarSlider(d,J),T=T||Kc._hitTestViewZone(d,J),T=T||Kc._hitTestMargin(d,J),T=T||Kc._hitTestViewCursor(d,J),T=T||Kc._hitTestTextArea(d,J),T=T||Kc._hitTestViewLines(d,J,o),T=T||Kc._hitTestScrollbar(d,J),T||g.fulfill(0)}static _hitTestContentWidget(d,g){if(vc.isChildOfContentWidgets(g.targetPath)||vc.isChildOfOverflowingContentWidgets(g.targetPath)){const o=d.findAttribute(g.target,"widgetId");return o?g.fulfill(9,null,null,o):g.fulfill(0)}return null}static _hitTestOverlayWidget(d,g){if(vc.isChildOfOverlayWidgets(g.targetPath)){const o=d.findAttribute(g.target,"widgetId");return o?g.fulfill(12,null,null,o):g.fulfill(0)}return null}static _hitTestViewCursor(d,g){if(g.target){const o=d.lastRenderData.lastViewCursorsRenderData;for(const J of o)if(g.target===J.domNode)return g.fulfill(6,J.position)}if(g.isInContentArea){const o=d.lastRenderData.lastViewCursorsRenderData,J=g.mouseContentHorizontalOffset,T=g.mouseVerticalOffset;for(const sa of o){if(J<sa.contentLeft)continue;if(J>sa.contentLeft+sa.width)continue;const Ia=d.getVerticalOffsetForLineNumber(sa.position.lineNumber);if(Ia<=T&&T<=Ia+sa.height)return g.fulfill(6,sa.position)}}return null}static _hitTestViewZone(d,g){const o=d.getZoneAtCoord(g.mouseVerticalOffset);if(o){const J=g.isInContentArea?8:5;return g.fulfill(J,o.position,null,o)}return null}static _hitTestTextArea(d,g){return vc.isTextArea(g.targetPath)?d.lastRenderData.lastTextareaPosition?g.fulfill(6,d.lastRenderData.lastTextareaPosition):g.fulfill(1,d.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(d,g){if(g.isInMarginArea){const o=d.getFullLineRangeAtCoord(g.mouseVerticalOffset),J=o.range.getStartPosition();let T=Math.abs(g.pos.x-g.editorPos.x);const sa={isAfterLines:o.isAfterLines,glyphMarginLeft:d.layoutInfo.glyphMarginLeft,glyphMarginWidth:d.layoutInfo.glyphMarginWidth,lineNumbersWidth:d.layoutInfo.lineNumbersWidth,offsetX:T};return T-=d.layoutInfo.glyphMarginLeft,T<=d.layoutInfo.glyphMarginWidth?g.fulfill(2,J,o.range,sa):(T-=d.layoutInfo.glyphMarginWidth,T<=d.layoutInfo.lineNumbersWidth?g.fulfill(3,J,o.range,sa):(T-=d.layoutInfo.lineNumbersWidth,g.fulfill(4,J,o.range,sa)))}return null}static _hitTestViewLines(d,g,o){if(!vc.isChildOfViewLines(g.targetPath))return null;if(d.isAfterLines(g.mouseVerticalOffset)){const T=d.model.getLineCount(),sa=d.model.getLineMaxColumn(T);return g.fulfill(7,new Fb.a(T,sa),void 0,uc)}if(o){if(vc.isStrictChildOfViewLines(g.targetPath)){const T=d.getLineNumberAtVerticalOffset(g.mouseVerticalOffset);if(0===d.model.getLineLength(T)){const Ia=d.getLineWidth(T),Sa=Cc(g.mouseContentHorizontalOffset-Ia);return g.fulfill(7,new Fb.a(T,1),void 0,Sa)}const sa=d.getLineWidth(T);if(g.mouseContentHorizontalOffset>=sa){const Ia=Cc(g.mouseContentHorizontalOffset-sa),Sa=new Fb.a(T,d.model.getLineMaxColumn(T));return g.fulfill(7,Sa,void 0,Ia)}}return g.fulfill(0)}const J=Kc._doHitTest(d,g);return J.position?Kc.createMouseTargetFromHitTestPosition(d,g,J.position.lineNumber,J.position.column):this._createMouseTarget(d,g.withTarget(J.hitTarget),!0)}static _hitTestMinimap(d,g){if(vc.isChildOfMinimap(g.targetPath)){const o=d.getLineNumberAtVerticalOffset(g.mouseVerticalOffset),J=d.model.getLineMaxColumn(o);return g.fulfill(11,new Fb.a(o,J))}return null}static _hitTestScrollbarSlider(d,g){if(vc.isChildOfScrollableElement(g.targetPath)&&g.target&&1===g.target.nodeType){const o=g.target.className;if(o&&/\b(slider|scrollbar)\b/.test(o)){const J=d.getLineNumberAtVerticalOffset(g.mouseVerticalOffset),T=d.model.getLineMaxColumn(J);return g.fulfill(11,new Fb.a(J,T))}}return null}static _hitTestScrollbar(d,g){if(vc.isChildOfScrollableElement(g.targetPath)){const o=d.getLineNumberAtVerticalOffset(g.mouseVerticalOffset),J=d.model.getLineMaxColumn(o);return g.fulfill(11,new Fb.a(o,J))}return null}getMouseColumn(d,g){const o=this._context.configuration.options,J=o.get(117),T=this._context.viewLayout.getCurrentScrollLeft()+g.x-d.x-J.contentLeft;return Kc._getMouseColumn(T,o.get(36).typicalHalfwidthCharacterWidth)}static _getMouseColumn(d,g){return d<0?1:Math.round(d/g)+1}static createMouseTargetFromHitTestPosition(d,g,o,J){const T=new Fb.a(o,J),sa=d.getLineWidth(o);if(g.mouseContentHorizontalOffset>sa){if(w.f&&1===T.column){const ob=Cc(g.mouseContentHorizontalOffset-sa);return g.fulfill(7,new Fb.a(o,d.model.getLineMaxColumn(o)),void 0,ob)}const ib=Cc(g.mouseContentHorizontalOffset-sa);return g.fulfill(7,T,void 0,ib)}const Ia=d.visibleRangeForPosition(o,J);if(!Ia)return g.fulfill(0,T);const Sa=Ia.left;if(g.mouseContentHorizontalOffset===Sa)return g.fulfill(6,T);const bb=[];if(bb.push({offset:Ia.left,column:J}),J>1){const ib=d.visibleRangeForPosition(o,J-1);ib&&bb.push({offset:ib.left,column:J-1})}if(J<d.model.getLineMaxColumn(o)){const ib=d.visibleRangeForPosition(o,J+1);ib&&bb.push({offset:ib.left,column:J+1})}bb.sort((ib,ob)=>ib.offset-ob.offset);for(let ib=1;ib<bb.length;ib++){const ob=bb[ib-1],Mb=bb[ib];if(ob.offset<=g.mouseContentHorizontalOffset&&g.mouseContentHorizontalOffset<=Mb.offset){const Gb=new wb.a(o,ob.column,o,Mb.column);return g.fulfill(6,T,Gb)}}return g.fulfill(6,T)}static _doHitTestWithCaretRangeFromPoint(d,g){const o=d.getLineNumberAtVerticalOffset(g.mouseVerticalOffset),J=d.getVerticalOffsetForLineNumber(o)+Math.floor(d.lineHeight/2);let T=g.pos.y+(J-g.mouseVerticalOffset);T<=g.editorPos.y&&(T=g.editorPos.y+1),T>=g.editorPos.y+d.layoutInfo.height&&(T=g.editorPos.y+d.layoutInfo.height-1);const sa=new u(g.pos.x,T),Ia=this._actualDoHitTestWithCaretRangeFromPoint(d,sa.toClientCoordinates());return Ia.position?Ia:this._actualDoHitTestWithCaretRangeFromPoint(d,g.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(d,g){const o=q.E(d.viewDomNode);let J;if(J=o?void 0===o.caretRangeFromPoint?function(Ia,Sa,bb){const ib=document.createRange();let ob=Ia.elementFromPoint(Sa,bb);if(null!==ob){for(;ob&&ob.firstChild&&ob.firstChild.nodeType!==ob.firstChild.TEXT_NODE;)ob=ob.lastChild;const Mb=ob.getBoundingClientRect(),Gb=window.getComputedStyle(ob,null).getPropertyValue("font"),ac=ob.innerText;let gc,Gc=Mb.left,Qc=0;if(Sa>Mb.left+Mb.width)Qc=ac.length;else{const Jc=Yc.getInstance();for(let Wc=0;Wc<ac.length+1;Wc++){if(gc=Jc.getCharWidth(ac.charAt(Wc),Gb)/2,Gc+=gc,Sa<Gc){Qc=Wc;break}Gc+=gc}}ib.setStart(ob.firstChild,Qc),ib.setEnd(ob.firstChild,Qc)}return ib}(o,g.clientX,g.clientY):o.caretRangeFromPoint(g.clientX,g.clientY):document.caretRangeFromPoint(g.clientX,g.clientY),!J||!J.startContainer)return{position:null,hitTarget:null};const T=J.startContainer;let sa=null;if(T.nodeType===T.TEXT_NODE){const Ia=T.parentNode,Sa=Ia?Ia.parentNode:null,bb=Sa?Sa.parentNode:null;if((bb&&bb.nodeType===bb.ELEMENT_NODE?bb.className:null)===I.CLASS_NAME)return{position:d.getPositionFromDOMInfo(Ia,J.startOffset),hitTarget:null};sa=T.parentNode}else if(T.nodeType===T.ELEMENT_NODE){const Ia=T.parentNode,Sa=Ia?Ia.parentNode:null;if((Sa&&Sa.nodeType===Sa.ELEMENT_NODE?Sa.className:null)===I.CLASS_NAME)return{position:d.getPositionFromDOMInfo(T,T.textContent.length),hitTarget:null};sa=T}return{position:null,hitTarget:sa}}static _doHitTestWithCaretPositionFromPoint(d,g){const o=document.caretPositionFromPoint(g.clientX,g.clientY);if(o.offsetNode.nodeType===o.offsetNode.TEXT_NODE){const J=o.offsetNode.parentNode,T=J?J.parentNode:null,sa=T?T.parentNode:null;return(sa&&sa.nodeType===sa.ELEMENT_NODE?sa.className:null)===I.CLASS_NAME?{position:d.getPositionFromDOMInfo(o.offsetNode.parentNode,o.offset),hitTarget:null}:{position:null,hitTarget:o.offsetNode.parentNode}}if(o.offsetNode.nodeType===o.offsetNode.ELEMENT_NODE){const J=o.offsetNode.parentNode;if((J&&J.nodeType===J.ELEMENT_NODE?J.className:null)===I.CLASS_NAME){const T=o.offsetNode.childNodes[Math.min(o.offset,o.offsetNode.childNodes.length-1)];if(T)return{position:d.getPositionFromDOMInfo(T,0),hitTarget:null}}}return{position:null,hitTarget:o.offsetNode}}static _doHitTestWithMoveToPoint(d,g){let o=null,J=null;const T=document.body.createTextRange();try{T.moveToPoint(g.clientX,g.clientY)}catch(bb){return{position:null,hitTarget:null}}T.collapse(!0);const sa=T?T.parentElement():null,Ia=sa?sa.parentNode:null,Sa=Ia?Ia.parentNode:null;if((Sa&&Sa.nodeType===Sa.ELEMENT_NODE?Sa.className:"")===I.CLASS_NAME){const bb=T.duplicate();bb.moveToElementText(sa),bb.setEndPoint("EndToStart",T),o=d.getPositionFromDOMInfo(sa,bb.text.length),bb.moveToElementText(d.viewDomNode)}else J=sa;return T.moveToElementText(d.viewDomNode),{position:o,hitTarget:J}}static _doHitTest(d,g){return"function"==typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(d,g):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(d,g.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(d,g.pos.toClientCoordinates()):{position:null,hitTarget:null}}}class Yc{constructor(){this._cache={},this._canvas=document.createElement("canvas")}static getInstance(){return Yc._INSTANCE||(Yc._INSTANCE=new Yc()),Yc._INSTANCE}getCharWidth(d,g){const o=d+g;if(this._cache[o])return this._cache[o];const J=this._canvas.getContext("2d");J.font=g;const T=J.measureText(d).width;return this._cache[o]=T,T}}Yc._INSTANCE=null;var sc=f(135);function Nb(d){return function(g,o){let J=!1;return d&&(J=d.mouseTargetIsWidget(o)),J||o.preventDefault(),o}}class Fc extends ga{constructor(d,g,o){super(),this._context=d,this.viewController=g,this.viewHelper=o,this.mouseTargetFactory=new Kc(this._context,o),this._mouseDownOperation=this._register(new pb(this._context,this.viewController,this.viewHelper,(T,sa)=>this._createMouseTarget(T,sa),T=>this._getMouseColumn(T))),this.lastMouseLeaveTime=-1;const J=new H(this.viewHelper.viewDomNode);this._register(J.onContextMenu(this.viewHelper.viewDomNode,T=>this._onContextMenu(T,!0))),this._register(J.onMouseMoveThrottled(this.viewHelper.viewDomNode,T=>this._onMouseMove(T),Nb(this.mouseTargetFactory),Fc.MOUSE_MOVE_MINIMUM_TIME)),this._register(J.onMouseUp(this.viewHelper.viewDomNode,T=>this._onMouseUp(T))),this._register(J.onMouseLeave(this.viewHelper.viewDomNode,T=>this._onMouseLeave(T))),this._register(J.onMouseDown(this.viewHelper.viewDomNode,T=>this._onMouseDown(T))),this._register(q.i(this.viewHelper.viewDomNode,q.c.MOUSE_WHEEL,T=>{if(this.viewController.emitMouseWheel(T),!this._context.configuration.options.get(59))return;const sa=new C.b(T);if(sa.browserEvent.ctrlKey||sa.browserEvent.metaKey){const Ia=sc.a.getZoomLevel(),Sa=sa.deltaY>0?1:-1;sc.a.setZoomLevel(Ia+Sa),sa.preventDefault(),sa.stopPropagation()}},{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onCursorStateChanged(d){return this._mouseDownOperation.onCursorStateChanged(d),!1}onFocusChanged(d){return!1}onScrollChanged(d){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(d,g){const o=new A(d,g).toPageCoordinates(),J=da(this.viewHelper.viewDomNode);return o.y<J.y||o.y>J.y+J.height||o.x<J.x||o.x>J.x+J.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),J,o,null)}_createMouseTarget(d,g){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),d.editorPos,d.pos,g?d.target:null)}_getMouseColumn(d){return this.mouseTargetFactory.getMouseColumn(d.editorPos,d.pos)}_onContextMenu(d,g){this.viewController.emitContextMenu({event:d,target:this._createMouseTarget(d,g)})}_onMouseMove(d){if(this._mouseDownOperation.isActive())return;d.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:d,target:this._createMouseTarget(d,!0)})}_onMouseLeave(d){this.lastMouseLeaveTime=new Date().getTime(),this.viewController.emitMouseLeave({event:d,target:null})}_onMouseUp(d){this.viewController.emitMouseUp({event:d,target:this._createMouseTarget(d,!0)})}_onMouseDown(d){const g=this._createMouseTarget(d,!0),o=6===g.type||7===g.type,J=2===g.type||3===g.type||4===g.type,T=3===g.type,sa=this._context.configuration.options.get(90),Ia=8===g.type||5===g.type,Sa=9===g.type;let bb=d.leftButton||d.middleButton;Q.f&&d.leftButton&&d.ctrlKey&&(bb=!1);const ib=()=>{d.preventDefault(),this.viewHelper.focusTextArea()};if(bb&&(o||T&&sa))ib(),this._mouseDownOperation.start(g.type,d);else if(J)d.preventDefault();else if(Ia){const ob=g.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(ob.viewZoneId)&&(ib(),this._mouseDownOperation.start(g.type,d),d.preventDefault())}else Sa&&this.viewHelper.shouldSuppressMouseDownOnWidget(g.detail)&&(ib(),d.preventDefault());this.viewController.emitMouseDown({event:d,target:g})}}Fc.MOUSE_MOVE_MINIMUM_TIME=100;class pb extends P.a{constructor(d,g,o,J,T){super(),this._context=d,this._viewController=g,this._viewHelper=o,this._createMouseTarget=J,this._getMouseColumn=T,this._mouseMoveMonitor=this._register(new oa(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new k.e()),this._mouseState=new mc(),this._currentSelection=new z.a(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(d){this._lastMouseEvent=d,this._mouseState.setModifiers(d);const g=this._findMousePosition(d,!0);g&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:d,target:g}):this._dispatchMouse(g,!0))}start(d,g){this._lastMouseEvent=g,this._mouseState.setStartedOnLineNumbers(3===d),this._mouseState.setStartButtons(g),this._mouseState.setModifiers(g);const o=this._findMousePosition(g,!0);if(!o||!o.position)return;this._mouseState.trySetCount(g.detail,o.position),g.detail=this._mouseState.count;const J=this._context.configuration.options;if(!J.get(72)&&J.get(25)&&!J.get(13)&&!this._mouseState.altKey&&g.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===o.type&&o.position&&this._currentSelection.containsPosition(o.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(g.target,g.buttons,Nb(null),T=>this._onMouseDownThenMove(T),()=>{const T=this._findMousePosition(this._lastMouseEvent,!0);this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:T?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});this._mouseState.isDragAndDrop=!1,this._dispatchMouse(o,g.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(g.target,g.buttons,Nb(null),T=>this._onMouseDownThenMove(T),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;const d=this._findMousePosition(this._lastMouseEvent,!1);d&&(this._mouseState.isDragAndDrop||this._dispatchMouse(d,!0))},10)}onCursorStateChanged(d){this._currentSelection=d.selections[0]}_getPositionOutsideEditor(d){const g=d.editorPos,o=this._context.model,J=this._context.viewLayout,T=this._getMouseColumn(d);if(d.posy<g.y){const Ia=Math.max(J.getCurrentScrollTop()-(g.y-d.posy),0),Sa=cb.getZoneAtCoord(this._context,Ia);if(Sa){const ib=this._helpPositionJumpOverViewZone(Sa);if(ib)return new wc(null,13,T,ib)}const bb=J.getLineNumberAtVerticalOffset(Ia);return new wc(null,13,T,new Fb.a(bb,1))}if(d.posy>g.y+g.height){const Ia=J.getCurrentScrollTop()+(d.posy-g.y),Sa=cb.getZoneAtCoord(this._context,Ia);if(Sa){const ib=this._helpPositionJumpOverViewZone(Sa);if(ib)return new wc(null,13,T,ib)}const bb=J.getLineNumberAtVerticalOffset(Ia);return new wc(null,13,T,new Fb.a(bb,o.getLineMaxColumn(bb)))}const sa=J.getLineNumberAtVerticalOffset(J.getCurrentScrollTop()+(d.posy-g.y));return d.posx<g.x?new wc(null,13,T,new Fb.a(sa,1)):d.posx>g.x+g.width?new wc(null,13,T,new Fb.a(sa,o.getLineMaxColumn(sa))):null}_findMousePosition(d,g){const o=this._getPositionOutsideEditor(d);if(o)return o;const J=this._createMouseTarget(d,g);if(!J.position)return null;if(8===J.type||5===J.type){const T=this._helpPositionJumpOverViewZone(J.detail);if(T)return new wc(J.element,J.type,J.mouseColumn,T,null,J.detail)}return J}_helpPositionJumpOverViewZone(d){const g=new Fb.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),o=d.positionBefore,J=d.positionAfter;return o&&J?o.isBefore(g)?o:J:null}_dispatchMouse(d,g){d.position&&this._viewController.dispatchMouse({position:d.position,mouseColumn:d.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:g,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class mc{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(d){this._altKey=d.altKey,this._ctrlKey=d.ctrlKey,this._metaKey=d.metaKey,this._shiftKey=d.shiftKey}setStartButtons(d){this._leftButton=d.leftButton,this._middleButton=d.middleButton}setStartedOnLineNumbers(d){this._startedOnLineNumbers=d}trySetCount(d,g){const o=new Date().getTime();o-this._lastSetMouseDownCountTime>mc.CLEAR_MOUSE_DOWN_COUNT_TIME&&(d=1),this._lastSetMouseDownCountTime=o,d>this._lastMouseDownCount+1&&(d=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(g)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=g,this._lastMouseDownCount=Math.min(d,this._lastMouseDownPositionEqualCount)}}mc.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var Eb=f(138);function qb(d,g){const o={translationY:g.translationY,translationX:g.translationX};return d&&(o.translationY+=d.translationY,o.translationX+=d.translationX),o}class Va extends Fc{constructor(d,g,o){super(d,g,o),this.viewHelper.linesContentDomNode.style.touchAction="none",this._installGestureHandlerTimeout=window.setTimeout(()=>{if(this._installGestureHandlerTimeout=-1,window.MSGesture){const J=new MSGesture(),T=new MSGesture();J.target=this.viewHelper.linesContentDomNode,T.target=this.viewHelper.linesContentDomNode,this.viewHelper.linesContentDomNode.addEventListener("pointerdown",sa=>{const Ia=sa.pointerType;"mouse"!==Ia?"touch"===Ia?(this._lastPointerType="touch",J.addPointer(sa.pointerId)):(this._lastPointerType="pen",T.addPointer(sa.pointerId)):this._lastPointerType="mouse"}),this._register(q.l(this.viewHelper.linesContentDomNode,"MSGestureChange",sa=>this._onGestureChange(sa),qb)),this._register(q.i(this.viewHelper.linesContentDomNode,"MSGestureTap",sa=>this._onCaptureGestureTap(sa),!0))}},100),this._lastPointerType="mouse"}_onMouseDown(d){"mouse"===this._lastPointerType&&super._onMouseDown(d)}_onCaptureGestureTap(d){const g=new Z(d,this.viewHelper.viewDomNode),o=this._createMouseTarget(g,!1);o.position&&this.viewController.moveTo(o.position),g.browserEvent.fromElement?(g.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(()=>{this.viewHelper.focusTextArea()})}_onGestureChange(d){this._context.model.deltaScrollNow(-d.translationX,-d.translationY)}dispose(){window.clearTimeout(this._installGestureHandlerTimeout),super.dispose()}}class Oa extends Fc{constructor(d,g,o){super(d,g,o),this._register(B.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(q.i(this.viewHelper.linesContentDomNode,B.a.Tap,T=>this.onTap(T))),this._register(q.i(this.viewHelper.linesContentDomNode,B.a.Change,T=>this.onChange(T))),this._register(q.i(this.viewHelper.linesContentDomNode,B.a.Contextmenu,T=>this._onContextMenu(new Z(T,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(q.i(this.viewHelper.linesContentDomNode,"pointerdown",T=>{const sa=T.pointerType;this._lastPointerType="mouse"!==sa?"touch"===sa?"touch":"pen":"mouse"}));const J=new ea(this.viewHelper.viewDomNode);this._register(J.onPointerMoveThrottled(this.viewHelper.viewDomNode,T=>this._onMouseMove(T),Nb(this.mouseTargetFactory),Fc.MOUSE_MOVE_MINIMUM_TIME)),this._register(J.onPointerUp(this.viewHelper.viewDomNode,T=>this._onMouseUp(T))),this._register(J.onPointerLeave(this.viewHelper.viewDomNode,T=>this._onMouseLeave(T))),this._register(J.onPointerDown(this.viewHelper.viewDomNode,T=>this._onMouseDown(T)))}onTap(d){if(!d.initialTarget||!this.viewHelper.linesContentDomNode.contains(d.initialTarget))return;d.preventDefault(),this.viewHelper.focusTextArea();const g=this._createMouseTarget(new Z(d,this.viewHelper.viewDomNode),!1);g.position&&this.viewController.dispatchMouse({position:g.position,mouseColumn:g.position.column,startedOnLineNumbers:!1,mouseDownCount:d.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}onChange(d){"touch"===this._lastPointerType&&this._context.model.deltaScrollNow(-d.translationX,-d.translationY)}_onMouseDown(d){d.target&&this.viewHelper.linesContentDomNode.contains(d.target)&&"touch"===this._lastPointerType||super._onMouseDown(d)}}class Qa extends Fc{constructor(d,g,o){super(d,g,o),this._register(B.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(q.i(this.viewHelper.linesContentDomNode,B.a.Tap,J=>this.onTap(J))),this._register(q.i(this.viewHelper.linesContentDomNode,B.a.Change,J=>this.onChange(J))),this._register(q.i(this.viewHelper.linesContentDomNode,B.a.Contextmenu,J=>this._onContextMenu(new Z(J,this.viewHelper.viewDomNode),!1)))}onTap(d){d.preventDefault(),this.viewHelper.focusTextArea();const g=this._createMouseTarget(new Z(d,this.viewHelper.viewDomNode),!1);g.position&&this.viewController.moveTo(g.position)}onChange(d){this._context.model.deltaScrollNow(-d.translationX,-d.translationY)}}class kb extends P.a{constructor(d,g,o){super(),Q.c&&Eb.a.pointerEvents?this.handler=this._register(new Oa(d,g,o)):window.TouchEvent?this.handler=this._register(new Qa(d,g,o)):window.navigator.pointerEnabled||window.PointerEvent?this.handler=this._register(new Va(d,g,o)):this.handler=this._register(new Fc(d,g,o))}getTargetAtClientPoint(d,g){return this.handler.getTargetAtClientPoint(d,g)}}f(210);var tb=f(8),oc=f(167),ec=f(127);f(212);class $b extends ga{}var Hc=f(57);class Bc extends $b{constructor(d){super(),this._context=d,this._readConfig(),this._lastCursorModelPosition=new Fb.a(1,1),this._renderResult=null,this._context.addEventHandler(this)}_readConfig(){const d=this._context.configuration.options;this._lineHeight=d.get(51);const g=d.get(52);this._renderLineNumbers=g.renderType,this._renderCustomLineNumbers=g.renderFn,this._renderFinalNewline=d.get(76);const o=d.get(117);this._lineNumbersLeft=o.lineNumbersLeft,this._lineNumbersWidth=o.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){return this._readConfig(),!0}onCursorStateChanged(d){const g=d.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(g),2===this._renderLineNumbers||3===this._renderLineNumbers}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged}onZonesChanged(d){return!0}_getLineRenderLineNumber(d){const g=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(d,1));if(1!==g.column)return"";const o=g.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(o);if(2===this._renderLineNumbers){const J=Math.abs(this._lastCursorModelPosition.lineNumber-o);return 0===J?'<span class="relative-current-line-number">'+o+"</span>":String(J)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===o||o%10==0?String(o):"":String(o)}prepareRender(d){if(0===this._renderLineNumbers)return void(this._renderResult=null);const g=Q.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",o=d.visibleRange.startLineNumber,J=d.visibleRange.endLineNumber,T='<div class="'+Bc.CLASS_NAME+g+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',sa=this._context.model.getLineCount(),Ia=[];for(let Sa=o;Sa<=J;Sa++){const bb=Sa-o;if(!this._renderFinalNewline&&Sa===sa&&0===this._context.model.getLineLength(Sa)){Ia[bb]="";continue}const ib=this._getLineRenderLineNumber(Sa);Ia[bb]=ib?T+ib+"</div>":""}this._renderResult=Ia}render(d,g){if(!this._renderResult)return"";const o=g-d;return o<0||o>=this._renderResult.length?"":this._renderResult[o]}}Bc.CLASS_NAME="line-numbers",Object(za.g)((d,g)=>{const o=d.getColor(Hc.k);o&&g.addRule(`.monaco-editor .line-numbers { color: ${o}; }`);const J=d.getColor(Hc.b);J&&g.addRule(`.monaco-editor .current-line ~ .line-numbers { color: ${J}; }`)});class Vc extends Ba{constructor(d){super(d);const g=this._context.configuration.options,o=g.get(117);this._canUseLayerHinting=!g.get(23),this._contentLeft=o.contentLeft,this._glyphMarginLeft=o.glyphMarginLeft,this._glyphMarginWidth=o.glyphMarginWidth,this._domNode=Object(D.b)(document.createElement("div")),this._domNode.setClassName(Vc.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(D.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(Vc.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(117);return this._canUseLayerHinting=!g.get(23),this._contentLeft=o.contentLeft,this._glyphMarginLeft=o.glyphMarginLeft,this._glyphMarginWidth=o.glyphMarginWidth,!0}onScrollChanged(d){return super.onScrollChanged(d)||d.scrollTopChanged}prepareRender(d){}render(d){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");const g=d.scrollTop-d.bigNumbersDelta;this._domNode.setTop(-g);const o=Math.min(d.scrollHeight,1e6);this._domNode.setHeight(o),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(o)}}Vc.CLASS_NAME="glyph-margin",Vc.OUTER_CLASS_NAME="margin";var Ic=f(117),xc=f(145);class nb{constructor(d,g,o){this.top=d,this.left=g,this.width=o}setWidth(d){return new nb(this.top,this.left,d)}}const zb=w.f||w.h;class dc extends Ba{constructor(d,g,o){super(d),this._primaryCursorPosition=new Fb.a(1,1),this._primaryCursorVisibleRange=null,this._viewController=g,this._viewHelper=o,this._scrollLeft=0,this._scrollTop=0;const J=this._context.configuration.options,T=J.get(117);this._setAccessibilityOptions(J),this._contentLeft=T.contentLeft,this._contentWidth=T.contentWidth,this._contentHeight=T.height,this._fontInfo=J.get(36),this._lineHeight=J.get(51),this._emptySelectionClipboard=J.get(26),this._copyWithSyntaxHighlighting=J.get(16),this._visibleTextArea=null,this._selections=[new z.a(1,1,1,1)],this._modelSelections=[new z.a(1,1,1,1)],this._lastRenderPosition=null,this.textArea=Object(D.b)(document.createElement("textarea")),N.write(this.textArea,6),this.textArea.setClassName("inputarea "+xc.a),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(J)),this.textArea.setAttribute("tabindex",String(J.get(102))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",l.a("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),Q.h&&J.get(72)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=Object(D.b)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const sa={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:Sa=>this._context.model.getLineMaxColumn(Sa),getValueInRange:(Sa,bb)=>this._context.model.getValueInRange(Sa,bb)},Ia={getDataToCopy:Sa=>{const bb=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,Q.i),ib=this._context.model.getEOL(),ob=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),Mb=Array.isArray(bb)?bb:null,Gb=Array.isArray(bb)?bb.join(ib):bb;let ac,gc=null;if(Sa&&(oc.a.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&Gb.length<65536)){const Gc=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);Gc&&(ac=Gc.html,gc=Gc.mode)}return{isFromEmptySelection:ob,multicursorText:Mb,text:Gb,html:ac,mode:gc}},getScreenReaderContent:Sa=>{if(1===this._accessibilitySupport){if(Q.f){const bb=this._selections[0];if(bb.isEmpty()){const ib=bb.getStartPosition();let ob=this._getWordBeforePosition(ib);if(0===ob.length&&(ob=this._getCharacterBeforePosition(ib)),ob.length>0)return new ec.b(ob,ob.length,ob.length,ib,ib)}}return ec.b.EMPTY}return ec.a.fromEditorSelection(Sa,sa,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(Sa,bb,ib)=>this._context.model.deduceModelPositionRelativeToViewPosition(Sa,bb,ib)};this._textAreaInput=this._register(new oc.c(Ia,this.textArea)),this._register(this._textAreaInput.onKeyDown(Sa=>{this._viewController.emitKeyDown(Sa)})),this._register(this._textAreaInput.onKeyUp(Sa=>{this._viewController.emitKeyUp(Sa)})),this._register(this._textAreaInput.onPaste(Sa=>{let bb=!1,ib=null,ob=null;Sa.metadata&&(bb=this._emptySelectionClipboard&&!!Sa.metadata.isFromEmptySelection,ib=void 0!==Sa.metadata.multicursorText?Sa.metadata.multicursorText:null,ob=Sa.metadata.mode),this._viewController.paste(Sa.text,bb,ib,ob)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(Sa=>{Sa.replaceCharCnt?this._viewController.replacePreviousChar(Sa.text,Sa.replaceCharCnt):this._viewController.type(Sa.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(Sa=>{this._viewController.setSelection(Sa)})),this._register(this._textAreaInput.onCompositionStart(Sa=>{const bb=this._selections[0].startLineNumber,ib=this._selections[0].startColumn-(Sa.moveOneCharacterLeft?1:0);this._context.model.revealRange("keyboard",!0,new wb.a(bb,ib,bb,ib),0,1);const ob=this._viewHelper.visibleRangeForPositionRelativeToEditor(bb,ib);ob&&(this._visibleTextArea=new nb(this._context.viewLayout.getVerticalOffsetForLineNumber(bb),ob.left,zb?0:1),this._render()),this.textArea.setClassName(`inputarea ${xc.a} ime-input`),this._viewController.compositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(Sa=>{w.f?this._visibleTextArea=this._visibleTextArea.setWidth(0):this._visibleTextArea=this._visibleTextArea.setWidth(function(bb,ib){const ob=document.createElement("canvas").getContext("2d");ob.font=(Mb=ib,Gb="normal",ac=Mb.fontWeight,gc=Mb.fontSize,Gc=Mb.lineHeight,Qc=Mb.fontFamily,`${Gb} normal ${ac} ${gc}px / ${Gc}px ${Qc}`);var Mb,Gb,ac,gc,Gc,Qc;const Jc=ob.measureText(bb);return w.h?Jc.width+2:Jc.width}(Sa.data,this._fontInfo)),this._render()})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+xc.a),this._viewController.compositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getWordBeforePosition(d){const g=this._context.model.getLineContent(d.lineNumber),o=Object(Ic.a)(this._context.configuration.options.get(105));let J=d.column,T=0;for(;J>1;){const sa=g.charCodeAt(J-2);if(0!==o.get(sa)||T>50)return g.substring(J-1,d.column-1);T++,J--}return g.substring(0,d.column-1)}_getCharacterBeforePosition(d){if(d.column>1){const g=this._context.model.getLineContent(d.lineNumber).charAt(d.column-2);if(!tb.F(g.charCodeAt(0)))return g}return""}_getAriaLabel(d){return 1===d.get(2)?l.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",Q.d?"Shift+Alt+F1":"Alt+F1"):d.get(4)}_setAccessibilityOptions(d){this._accessibilitySupport=d.get(2);const g=d.get(3);2===this._accessibilitySupport&&g===ua.g.accessibilityPageSize.defaultValue?this._accessibilityPageSize=100:this._accessibilityPageSize=g}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(117);return this._setAccessibilityOptions(g),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._contentHeight=o.height,this._fontInfo=g.get(36),this._lineHeight=g.get(51),this._emptySelectionClipboard=g.get(26),this._copyWithSyntaxHighlighting=g.get(16),this.textArea.setAttribute("aria-label",this._getAriaLabel(g)),this.textArea.setAttribute("tabindex",String(g.get(102))),Q.h&&d.hasChanged(72)&&(g.get(72)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),d.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(d){return this._selections=d.selections.slice(0),this._modelSelections=d.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return this._scrollLeft=d.scrollLeft,this._scrollTop=d.scrollTop,!0}onZonesChanged(d){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(d){d.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",d.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),d.role&&this.textArea.setAttribute("role",d.role)}prepareRender(d){this._primaryCursorPosition=new Fb.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=d.visibleRangeForPosition(this._primaryCursorPosition)}render(d){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea)return void this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();const d=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(d<this._contentLeft||d>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();const g=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;g<0||g>this._contentHeight?this._renderAtTopLeft():Q.f?this._renderInsideEditor(this._primaryCursorPosition,g,d,zb?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,g,d,zb?0:1,zb?0:1)}_renderInsideEditor(d,g,o,J,T){this._lastRenderPosition=d;const sa=this.textArea,Ia=this.textAreaCover;R.a.applyFontInfo(sa,this._fontInfo),sa.setTop(g),sa.setLeft(o),sa.setWidth(J),sa.setHeight(T),Ia.setTop(0),Ia.setLeft(0),Ia.setWidth(0),Ia.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;const d=this.textArea,g=this.textAreaCover;if(R.a.applyFontInfo(d,this._fontInfo),d.setTop(0),d.setLeft(0),g.setTop(0),g.setLeft(0),zb)return d.setWidth(0),d.setHeight(0),g.setWidth(0),void g.setHeight(0);d.setWidth(1),d.setHeight(1),g.setWidth(1),g.setHeight(1);const o=this._context.configuration.options;o.get(42)?g.setClassName("monaco-editor-background textAreaCover "+Vc.OUTER_CLASS_NAME):0!==o.get(52).renderType?g.setClassName("monaco-editor-background textAreaCover "+Bc.CLASS_NAME):g.setClassName("monaco-editor-background textAreaCover")}}var Dc=f(107);class Pc{constructor(d,g,o,J){this.configuration=d,this.viewModel=g,this.userInputEvents=o,this.commandDelegate=J}paste(d,g,o,J){this.commandDelegate.paste(d,g,o,J)}type(d){this.commandDelegate.type(d)}replacePreviousChar(d,g){this.commandDelegate.replacePreviousChar(d,g)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(d){Dc.b.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:d})}_validateViewColumn(d){const g=this.viewModel.getLineMinColumn(d.lineNumber);return d.column<g?new Fb.a(d.lineNumber,g):d}_hasMulticursorModifier(d){switch(this.configuration.options.get(61)){case"altKey":return d.altKey;case"ctrlKey":return d.ctrlKey;case"metaKey":return d.metaKey;default:return!1}}_hasNonMulticursorModifier(d){switch(this.configuration.options.get(61)){case"altKey":return d.ctrlKey||d.metaKey;case"ctrlKey":return d.altKey||d.metaKey;case"metaKey":return d.ctrlKey||d.altKey;default:return!1}}dispatchMouse(d){const g=this.configuration.options,o=Q.d&&g.get(88),J=g.get(13);d.middleButton&&!o?this._columnSelect(d.position,d.mouseColumn,d.inSelectionMode):d.startedOnLineNumbers?this._hasMulticursorModifier(d)?d.inSelectionMode?this._lastCursorLineSelect(d.position):this._createCursor(d.position,!0):d.inSelectionMode?this._lineSelectDrag(d.position):this._lineSelect(d.position):d.mouseDownCount>=4?this._selectAll():3===d.mouseDownCount?this._hasMulticursorModifier(d)?d.inSelectionMode?this._lastCursorLineSelectDrag(d.position):this._lastCursorLineSelect(d.position):d.inSelectionMode?this._lineSelectDrag(d.position):this._lineSelect(d.position):2===d.mouseDownCount?this._hasMulticursorModifier(d)?this._lastCursorWordSelect(d.position):d.inSelectionMode?this._wordSelectDrag(d.position):this._wordSelect(d.position):this._hasMulticursorModifier(d)?this._hasNonMulticursorModifier(d)||(d.shiftKey?this._columnSelect(d.position,d.mouseColumn,!0):d.inSelectionMode?this._lastCursorMoveToSelect(d.position):this._createCursor(d.position,!1)):d.inSelectionMode?d.altKey||J?this._columnSelect(d.position,d.mouseColumn,!0):this._moveToSelect(d.position):this.moveTo(d.position)}_usualArgs(d){return d=this._validateViewColumn(d),{source:"mouse",position:this._convertViewToModelPosition(d),viewPosition:d}}moveTo(d){Dc.b.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_moveToSelect(d){Dc.b.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_columnSelect(d,g,o){d=this._validateViewColumn(d),Dc.b.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(d),viewPosition:d,mouseColumn:g,doColumnSelect:o})}_createCursor(d,g){d=this._validateViewColumn(d),Dc.b.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(d),viewPosition:d,wholeLine:g})}_lastCursorMoveToSelect(d){Dc.b.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_wordSelect(d){Dc.b.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_wordSelectDrag(d){Dc.b.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_lastCursorWordSelect(d){Dc.b.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_lineSelect(d){Dc.b.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_lineSelectDrag(d){Dc.b.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_lastCursorLineSelect(d){Dc.b.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_lastCursorLineSelectDrag(d){Dc.b.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(d))}_selectAll(){Dc.b.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(d){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(d)}emitKeyDown(d){this.userInputEvents.emitKeyDown(d)}emitKeyUp(d){this.userInputEvents.emitKeyUp(d)}emitContextMenu(d){this.userInputEvents.emitContextMenu(d)}emitMouseMove(d){this.userInputEvents.emitMouseMove(d)}emitMouseLeave(d){this.userInputEvents.emitMouseLeave(d)}emitMouseUp(d){this.userInputEvents.emitMouseUp(d)}emitMouseDown(d){this.userInputEvents.emitMouseDown(d)}emitMouseDrag(d){this.userInputEvents.emitMouseDrag(d)}emitMouseDrop(d){this.userInputEvents.emitMouseDrop(d)}emitMouseWheel(d){this.userInputEvents.emitMouseWheel(d)}}class Nc{constructor(d){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseWheel=null,this._coordinatesConverter=d}emitKeyDown(d){this.onKeyDown&&this.onKeyDown(d)}emitKeyUp(d){this.onKeyUp&&this.onKeyUp(d)}emitContextMenu(d){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(d))}emitMouseMove(d){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(d))}emitMouseLeave(d){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(d))}emitMouseDown(d){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(d))}emitMouseUp(d){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(d))}emitMouseDrag(d){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(d))}emitMouseDrop(d){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(d))}emitMouseWheel(d){this.onMouseWheel&&this.onMouseWheel(d)}_convertViewToModelMouseEvent(d){return d.target?{event:d.event,target:this._convertViewToModelMouseTarget(d.target)}:d}_convertViewToModelMouseTarget(d){return Nc.convertViewToModelMouseTarget(d,this._coordinatesConverter)}static convertViewToModelMouseTarget(d,g){return new Ed(d.element,d.type,d.mouseColumn,d.position?g.convertViewPositionToModelPosition(d.position):null,d.range?g.convertViewRangeToModelRange(d.range):null,d.detail)}}class Ed{constructor(d,g,o,J,T,sa){this.element=d,this.type=g,this.mouseColumn=o,this.position=J,this.range=T,this.detail=sa}toString(){return wc.toString(this)}}var ad=f(132);class ud{constructor(d){this._createLine=d,this._set(1,[])}flush(){this._set(1,[])}_set(d,g){this._lines=g,this._rendLineNumberStart=d}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(d){const g=d-this._rendLineNumberStart;if(g<0||g>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[g]}onLinesDeleted(d,g){if(0===this.getCount())return null;const o=this.getStartLineNumber(),J=this.getEndLineNumber();if(g<o){const Ia=g-d+1;return this._rendLineNumberStart-=Ia,null}if(d>J)return null;let T=0,sa=0;for(let Ia=o;Ia<=J;Ia++){const Sa=Ia-this._rendLineNumberStart;d<=Ia&&Ia<=g&&(0===sa?(T=Sa,sa=1):sa++)}if(d<o){let Ia=0;Ia=g<o?g-d+1:o-d,this._rendLineNumberStart-=Ia}return this._lines.splice(T,sa)}onLinesChanged(d,g){if(0===this.getCount())return!1;const o=this.getStartLineNumber(),J=this.getEndLineNumber();let T=!1;for(let sa=d;sa<=g;sa++)sa>=o&&sa<=J&&(this._lines[sa-this._rendLineNumberStart].onContentChanged(),T=!0);return T}onLinesInserted(d,g){if(0===this.getCount())return null;const o=g-d+1,J=this.getStartLineNumber(),T=this.getEndLineNumber();if(d<=J)return this._rendLineNumberStart+=o,null;if(d>T)return null;if(o+d>T)return this._lines.splice(d-this._rendLineNumberStart,T-d+1);const sa=[];for(let ob=0;ob<o;ob++)sa[ob]=this._createLine();const Ia=d-this._rendLineNumberStart,Sa=this._lines.slice(0,Ia),bb=this._lines.slice(Ia,this._lines.length-o),ib=this._lines.slice(this._lines.length-o,this._lines.length);return this._lines=Sa.concat(sa).concat(bb),ib}onTokensChanged(d){if(0===this.getCount())return!1;const g=this.getStartLineNumber(),o=this.getEndLineNumber();let J=!1;for(let T=0,sa=d.length;T<sa;T++){const Ia=d[T];if(Ia.toLineNumber<g||Ia.fromLineNumber>o)continue;const Sa=Math.max(g,Ia.fromLineNumber),bb=Math.min(o,Ia.toLineNumber);for(let ib=Sa;ib<=bb;ib++){const ob=ib-this._rendLineNumberStart;this._lines[ob].onTokensChanged(),J=!0}}return J}}class Od{constructor(d){this._host=d,this.domNode=this._createDomNode(),this._linesCollection=new ud(()=>this._host.createVisibleLine())}_createDomNode(){const d=Object(D.b)(document.createElement("div"));return d.setClassName("view-layer"),d.setPosition("absolute"),d.domNode.setAttribute("role","presentation"),d.domNode.setAttribute("aria-hidden","true"),d}onConfigurationChanged(d){return!!d.hasChanged(117)}onFlushed(d){return this._linesCollection.flush(),!0}onLinesChanged(d){return this._linesCollection.onLinesChanged(d.fromLineNumber,d.toLineNumber)}onLinesDeleted(d){const g=this._linesCollection.onLinesDeleted(d.fromLineNumber,d.toLineNumber);if(g)for(let o=0,J=g.length;o<J;o++){const T=g[o].getDomNode();T&&this.domNode.domNode.removeChild(T)}return!0}onLinesInserted(d){const g=this._linesCollection.onLinesInserted(d.fromLineNumber,d.toLineNumber);if(g)for(let o=0,J=g.length;o<J;o++){const T=g[o].getDomNode();T&&this.domNode.domNode.removeChild(T)}return!0}onScrollChanged(d){return d.scrollTopChanged}onTokensChanged(d){return this._linesCollection.onTokensChanged(d.ranges)}onZonesChanged(d){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(d){return this._linesCollection.getLine(d)}renderLines(d){const g=this._linesCollection._get(),o=new wd(this.domNode.domNode,this._host,d),J={rendLineNumberStart:g.rendLineNumberStart,lines:g.lines,linesLength:g.lines.length},T=o.render(J,d.startLineNumber,d.endLineNumber,d.relativeVerticalOffset);this._linesCollection._set(T.rendLineNumberStart,T.lines)}}class wd{constructor(d,g,o){this.domNode=d,this.host=g,this.viewportData=o}render(d,g,o,J){const T={rendLineNumberStart:d.rendLineNumberStart,lines:d.lines.slice(0),linesLength:d.linesLength};if(T.rendLineNumberStart+T.linesLength-1<g||o<T.rendLineNumberStart){T.rendLineNumberStart=g,T.linesLength=o-g+1,T.lines=[];for(let sa=g;sa<=o;sa++)T.lines[sa-g]=this.host.createVisibleLine();return this._finishRendering(T,!0,J),T}if(this._renderUntouchedLines(T,Math.max(g-T.rendLineNumberStart,0),Math.min(o-T.rendLineNumberStart,T.linesLength-1),J,g),T.rendLineNumberStart>g){const sa=g,Ia=Math.min(o,T.rendLineNumberStart-1);sa<=Ia&&(this._insertLinesBefore(T,sa,Ia,J,g),T.linesLength+=Ia-sa+1)}else if(T.rendLineNumberStart<g){const sa=Math.min(T.linesLength,g-T.rendLineNumberStart);sa>0&&(this._removeLinesBefore(T,sa),T.linesLength-=sa)}if(T.rendLineNumberStart=g,T.rendLineNumberStart+T.linesLength-1<o){const sa=T.rendLineNumberStart+T.linesLength,Ia=o;sa<=Ia&&(this._insertLinesAfter(T,sa,Ia,J,g),T.linesLength+=Ia-sa+1)}else if(T.rendLineNumberStart+T.linesLength-1>o){const sa=Math.max(0,o-T.rendLineNumberStart+1),Ia=T.linesLength-1-sa+1;Ia>0&&(this._removeLinesAfter(T,Ia),T.linesLength-=Ia)}return this._finishRendering(T,!1,J),T}_renderUntouchedLines(d,g,o,J,T){const sa=d.rendLineNumberStart,Ia=d.lines;for(let Sa=g;Sa<=o;Sa++){const bb=sa+Sa;Ia[Sa].layoutLine(bb,J[bb-T])}}_insertLinesBefore(d,g,o,J,T){const sa=[];let Ia=0;for(let Sa=g;Sa<=o;Sa++)sa[Ia++]=this.host.createVisibleLine();d.lines=sa.concat(d.lines)}_removeLinesBefore(d,g){for(let o=0;o<g;o++){const J=d.lines[o].getDomNode();J&&this.domNode.removeChild(J)}d.lines.splice(0,g)}_insertLinesAfter(d,g,o,J,T){const sa=[];let Ia=0;for(let Sa=g;Sa<=o;Sa++)sa[Ia++]=this.host.createVisibleLine();d.lines=d.lines.concat(sa)}_removeLinesAfter(d,g){const o=d.linesLength-g;for(let J=0;J<g;J++){const T=d.lines[o+J].getDomNode();T&&this.domNode.removeChild(T)}d.lines.splice(o,g)}_finishRenderingNewLines(d,g,o,J){const T=this.domNode.lastChild;g||!T?this.domNode.innerHTML=o:T.insertAdjacentHTML("afterend",o);let sa=this.domNode.lastChild;for(let Ia=d.linesLength-1;Ia>=0;Ia--){const Sa=d.lines[Ia];J[Ia]&&(Sa.setDomNode(sa),sa=sa.previousSibling)}}_finishRenderingInvalidLines(d,g,o){const J=document.createElement("div");J.innerHTML=g;for(let T=0;T<d.linesLength;T++){const sa=d.lines[T];if(o[T]){const Ia=J.firstChild,Sa=sa.getDomNode();Sa.parentNode.replaceChild(Ia,Sa),sa.setDomNode(Ia)}}}_finishRendering(d,g,o){const J=wd._sb,T=d.linesLength,sa=d.lines,Ia=d.rendLineNumberStart,Sa=[];{J.reset();let bb=!1;for(let ib=0;ib<T;ib++){const ob=sa[ib];Sa[ib]=!1;if(ob.getDomNode())continue;ob.renderLine(ib+Ia,o[ib],this.viewportData,J)&&(Sa[ib]=!0,bb=!0)}bb&&this._finishRenderingNewLines(d,g,J.build(),Sa)}{J.reset();let bb=!1;const ib=[];for(let ob=0;ob<T;ob++){const Mb=sa[ob];if(ib[ob]=!1,Sa[ob])continue;Mb.renderLine(ob+Ia,o[ob],this.viewportData,J)&&(ib[ob]=!0,bb=!0)}bb&&this._finishRenderingInvalidLines(d,J.build(),ib)}}}wd._sb=Object(ad.a)(1e5);class Dd extends Ba{constructor(d){super(d),this._visibleLines=new Od(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let d=0,g=this._dynamicOverlays.length;d<g;d++)if(this._dynamicOverlays[d].shouldRender())return!0;return!1}dispose(){super.dispose();for(let d=0,g=this._dynamicOverlays.length;d<g;d++)this._dynamicOverlays[d].dispose();this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new ce(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(d){this._dynamicOverlays.push(d)}onConfigurationChanged(d){this._visibleLines.onConfigurationChanged(d);const g=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let J=g;J<=o;J++)this._visibleLines.getVisibleLine(J).onConfigurationChanged(d);return!0}onFlushed(d){return this._visibleLines.onFlushed(d)}onFocusChanged(d){return this._isFocused=d.isFocused,!0}onLinesChanged(d){return this._visibleLines.onLinesChanged(d)}onLinesDeleted(d){return this._visibleLines.onLinesDeleted(d)}onLinesInserted(d){return this._visibleLines.onLinesInserted(d)}onScrollChanged(d){return this._visibleLines.onScrollChanged(d)||!0}onTokensChanged(d){return this._visibleLines.onTokensChanged(d)}onZonesChanged(d){return this._visibleLines.onZonesChanged(d)}prepareRender(d){const g=this._dynamicOverlays.filter(o=>o.shouldRender());for(let o=0,J=g.length;o<J;o++){const T=g[o];T.prepareRender(d),T.onDidRender()}}render(d){this._viewOverlaysRender(d),this.domNode.toggleClassName("focused",this._isFocused)}_viewOverlaysRender(d){this._visibleLines.renderLines(d.viewportData)}}class ce{constructor(d,g){this._configuration=d,this._lineHeight=this._configuration.options.get(51),this._dynamicOverlays=g,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(d){this._domNode=Object(D.b)(d)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(d){this._lineHeight=this._configuration.options.get(51)}renderLine(d,g,o,J){let T="";for(let sa=0,Ia=this._dynamicOverlays.length;sa<Ia;sa++)T+=this._dynamicOverlays[sa].render(o.startLineNumber,d);return this._renderedContent!==T&&(this._renderedContent=T,J.appendASCIIString('<div style="position:absolute;top:'),J.appendASCIIString(String(g)),J.appendASCIIString("px;width:100%;height:"),J.appendASCIIString(String(this._lineHeight)),J.appendASCIIString('px;">'),J.appendASCIIString(T),J.appendASCIIString("</div>"),!0)}layoutLine(d,g){this._domNode&&(this._domNode.setTop(g),this._domNode.setHeight(this._lineHeight))}}class _d extends Dd{constructor(d){super(d);const g=this._context.configuration.options.get(117);this._contentWidth=g.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(d){const g=this._context.configuration.options.get(117);return this._contentWidth=g.contentWidth,super.onConfigurationChanged(d)||!0}onScrollChanged(d){return super.onScrollChanged(d)||d.scrollWidthChanged}_viewOverlaysRender(d){super._viewOverlaysRender(d),this.domNode.setWidth(Math.max(d.scrollWidth,this._contentWidth))}}class oe extends Dd{constructor(d){super(d);const g=this._context.configuration.options,o=g.get(117);this._contentLeft=o.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),R.a.applyFontInfo(this.domNode,g.get(36))}onConfigurationChanged(d){const g=this._context.configuration.options;R.a.applyFontInfo(this.domNode,g.get(36));const o=g.get(117);return this._contentLeft=o.contentLeft,super.onConfigurationChanged(d)||!0}onScrollChanged(d){return super.onScrollChanged(d)||d.scrollHeightChanged}_viewOverlaysRender(d){super._viewOverlaysRender(d);const g=Math.min(d.scrollHeight,1e6);this.domNode.setHeight(g),this.domNode.setWidth(this._contentLeft)}}class nd{constructor(d,g){this.top=d,this.left=g}}class Qd extends Ba{constructor(d,g){super(d),this._viewDomNode=g,this._widgets={},this.domNode=Object(D.b)(document.createElement("div")),N.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=Object(D.b)(document.createElement("div")),N.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(d){const g=Object.keys(this._widgets);for(const o of g)this._widgets[o].onConfigurationChanged(d);return!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLineMappingChanged(d){const g=Object.keys(this._widgets);for(const o of g)this._widgets[o].onLineMappingChanged(d);return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return!0}onZonesChanged(d){return!0}addWidget(d){const g=new jd(this._context,this._viewDomNode,d);this._widgets[g.id]=g,g.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(g.domNode):this.domNode.appendChild(g.domNode),this.setShouldRender()}setWidgetPosition(d,g,o){this._widgets[d.getId()].setPosition(g,o),this.setShouldRender()}removeWidget(d){const g=d.getId();if(this._widgets.hasOwnProperty(g)){const o=this._widgets[g];delete this._widgets[g];const J=o.domNode.domNode;J.parentNode.removeChild(J),J.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(d){return!!this._widgets.hasOwnProperty(d)&&this._widgets[d].suppressMouseDown}onBeforeRender(d){const g=Object.keys(this._widgets);for(const o of g)this._widgets[o].onBeforeRender(d)}prepareRender(d){const g=Object.keys(this._widgets);for(const o of g)this._widgets[o].prepareRender(d)}render(d){const g=Object.keys(this._widgets);for(const o of g)this._widgets[o].render(d)}}class jd{constructor(d,g,o){this._context=d,this._viewDomNode=g,this._actual=o,this.domNode=Object(D.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const J=this._context.configuration.options,T=J.get(117);this._fixedOverflowWidgets=J.get(30),this._contentWidth=T.contentWidth,this._contentLeft=T.contentLeft,this._lineHeight=J.get(51),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(d){const g=this._context.configuration.options;if(this._lineHeight=g.get(51),d.hasChanged(117)){const o=g.get(117);this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(d){this._setPosition(this._range)}_setPosition(d){if(this._range=d,this._viewRange=null,this._range){const g=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(g.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(g.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(g))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(d,g){this._setPosition(d),this._preference=g,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(d,g,o,J,T){const sa=d.top,Ia=sa,Sa=g.top+this._lineHeight,bb=sa-J,ib=Ia>=J,ob=Sa,Mb=T.viewportHeight-Sa>=J;let Gb=d.left,ac=g.left;return Gb+o>T.scrollLeft+T.viewportWidth&&(Gb=T.scrollLeft+T.viewportWidth-o),ac+o>T.scrollLeft+T.viewportWidth&&(ac=T.scrollLeft+T.viewportWidth-o),Gb<T.scrollLeft&&(Gb=T.scrollLeft),ac<T.scrollLeft&&(ac=T.scrollLeft),{fitsAbove:ib,aboveTop:bb,aboveLeft:Gb,fitsBelow:Mb,belowTop:ob,belowLeft:ac}}_layoutHorizontalSegmentInPage(d,g,o,J){const T=Math.max(0,g.left-J),sa=Math.min(g.left+g.width+J,d.width);let Ia=g.left+o-q.d.scrollX;if(Ia+J>sa){const Sa=Ia-(sa-J);Ia-=Sa,o-=Sa}if(Ia<T){const Sa=Ia-T;Ia-=Sa,o-=Sa}return[o,Ia]}_layoutBoxInPage(d,g,o,J,T){const sa=d.top-J,Ia=g.top+this._lineHeight,Sa=q.C(this._viewDomNode.domNode),bb=Sa.top+sa-q.d.scrollY,ib=Sa.top+Ia-q.d.scrollY,ob=q.y(document.body),[Mb,Gb]=this._layoutHorizontalSegmentInPage(ob,Sa,d.left-T.scrollLeft+this._contentLeft,o),[ac,gc]=this._layoutHorizontalSegmentInPage(ob,Sa,g.left-T.scrollLeft+this._contentLeft,o),Gc=bb>=22,Qc=ib+J<=ob.height-22;return this._fixedOverflowWidgets?{fitsAbove:Gc,aboveTop:Math.max(bb,22),aboveLeft:Gb,fitsBelow:Qc,belowTop:ib,belowLeft:gc}:{fitsAbove:Gc,aboveTop:sa,aboveLeft:Mb,fitsBelow:Qc,belowTop:Ia,belowLeft:ac}}_prepareRenderWidgetAtExactPositionOverflowing(d){return new nd(d.top,d.left+this._contentLeft)}_getTopAndBottomLeft(d){if(!this._viewRange)return[null,null];const g=d.linesVisibleRangesForRange(this._viewRange,!1);if(!g||0===g.length)return[null,null];let o=g[0],J=g[0];for(const ib of g)ib.lineNumber<o.lineNumber&&(o=ib),ib.lineNumber>J.lineNumber&&(J=ib);let T=1073741824;for(const ib of o.ranges)ib.left<T&&(T=ib.left);let sa=1073741824;for(const ib of J.ranges)ib.left<sa&&(sa=ib.left);const Ia=d.getVerticalOffsetForLineNumber(o.lineNumber)-d.scrollTop,Sa=new nd(Ia,T),bb=d.getVerticalOffsetForLineNumber(J.lineNumber)-d.scrollTop;return[Sa,new nd(bb,sa)]}_prepareRenderWidget(d){const[g,o]=this._getTopAndBottomLeft(d);if(!g||!o)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){const T=this.domNode.domNode;this._cachedDomNodeClientWidth=T.clientWidth,this._cachedDomNodeClientHeight=T.clientHeight}let J;if(J=this.allowEditorOverflow?this._layoutBoxInPage(g,o,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,d):this._layoutBoxInViewport(g,o,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,d),this._preference)for(let T=1;T<=2;T++)for(const sa of this._preference)if(1===sa){if(!J)return null;if(2===T||J.fitsAbove)return new nd(J.aboveTop,J.aboveLeft)}else{if(2!==sa)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(g):g;if(!J)return null;if(2===T||J.fitsBelow)return new nd(J.belowTop,J.belowLeft)}return null}onBeforeRender(d){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<d.startLineNumber||this._viewRange.startLineNumber>d.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(d){this._renderData=this._prepareRenderWidget(d)}render(d){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+d.scrollTop-d.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))}}f(216);var de=f(15);let Gd=!0;class xd extends $b{constructor(d){super(),this._context=d;const g=this._context.configuration.options,o=g.get(117);this._lineHeight=g.get(51),this._renderLineHighlight=g.get(77),this._renderLineHightlightOnlyWhenFocus=g.get(78),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[],this._selections=[],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let d=!1;const g=Gd?this._selections.slice(0,1):this._selections,o=g.map(T=>T.positionLineNumber);o.sort((T,sa)=>T-sa),de.g(this._cursorLineNumbers,o)||(this._cursorLineNumbers=o,d=!0);const J=g.every(T=>T.isEmpty());return this._selectionIsEmpty!==J&&(this._selectionIsEmpty=J,d=!0),d}onThemeChanged(d){return this._readFromSelections()}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(117);return this._lineHeight=g.get(51),this._renderLineHighlight=g.get(77),this._renderLineHightlightOnlyWhenFocus=g.get(78),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,!0}onCursorStateChanged(d){return this._selections=d.selections,this._readFromSelections()}onFlushed(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollWidthChanged||d.scrollTopChanged}onZonesChanged(d){return!0}onFocusChanged(d){return!!this._renderLineHightlightOnlyWhenFocus&&(this._focused=d.isFocused,!0)}prepareRender(d){if(!this._shouldRenderThis())return void(this._renderData=null);const g=this._renderOne(d),o=d.visibleRange.startLineNumber,J=d.visibleRange.endLineNumber,T=this._cursorLineNumbers.length;let sa=0;const Ia=[];for(let Sa=o;Sa<=J;Sa++){const bb=Sa-o;for(;sa<T&&this._cursorLineNumbers[sa]<Sa;)sa++;sa<T&&this._cursorLineNumbers[sa]===Sa?Ia[bb]=g:Ia[bb]=""}this._renderData=Ia}render(d,g){if(!this._renderData)return"";const o=g-d;return o>=this._renderData.length?"":this._renderData[o]}}class K extends xd{_renderOne(d){return`<div class="${"current-line"+(this._shouldRenderOther()?" current-line-both":"")}" style="width:${Math.max(d.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}class W extends xd{_renderOne(d){return`<div class="${"current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"")}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}Object(za.g)((d,g)=>{Gd=!1;const o=d.getColor(Hc.i);if(o&&(g.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${o}; }`),g.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${o}; border: none; }`)),!o||o.isTransparent()||d.defines(Hc.j)){const J=d.getColor(Hc.j);J&&(Gd=!0,g.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${J}; }`),g.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${J}; }`),"hc"===d.type&&(g.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),g.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}),f(218);class ia extends $b{constructor(d){super(),this._context=d;const g=this._context.configuration.options;this._lineHeight=g.get(51),this._typicalHalfwidthCharacterWidth=g.get(36).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options;return this._lineHeight=g.get(51),this._typicalHalfwidthCharacterWidth=g.get(36).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged||d.scrollWidthChanged}onZonesChanged(d){return!0}prepareRender(d){const g=d.getDecorationsInViewport();let o=[],J=0;for(let Sa=0,bb=g.length;Sa<bb;Sa++){const ib=g[Sa];ib.options.className&&(o[J++]=ib)}o=o.sort((Sa,bb)=>{if(Sa.options.zIndex<bb.options.zIndex)return-1;if(Sa.options.zIndex>bb.options.zIndex)return 1;const ib=Sa.options.className,ob=bb.options.className;return ib<ob?-1:ib>ob?1:wb.a.compareRangesUsingStarts(Sa.range,bb.range)});const T=d.visibleRange.startLineNumber,sa=d.visibleRange.endLineNumber,Ia=[];for(let Sa=T;Sa<=sa;Sa++)Ia[Sa-T]="";this._renderWholeLineDecorations(d,o,Ia),this._renderNormalDecorations(d,o,Ia),this._renderResult=Ia}_renderWholeLineDecorations(d,g,o){const J=String(this._lineHeight),T=d.visibleRange.startLineNumber,sa=d.visibleRange.endLineNumber;for(let Ia=0,Sa=g.length;Ia<Sa;Ia++){const bb=g[Ia];if(!bb.options.isWholeLine)continue;const ib='<div class="cdr '+bb.options.className+'" style="left:0;width:100%;height:'+J+'px;"></div>',ob=Math.max(bb.range.startLineNumber,T),Mb=Math.min(bb.range.endLineNumber,sa);for(let Gb=ob;Gb<=Mb;Gb++)o[Gb-T]+=ib}}_renderNormalDecorations(d,g,o){const J=String(this._lineHeight),T=d.visibleRange.startLineNumber;let sa=null,Ia=!1,Sa=null;for(let bb=0,ib=g.length;bb<ib;bb++){const ob=g[bb];if(ob.options.isWholeLine)continue;const Mb=ob.options.className,Gb=Boolean(ob.options.showIfCollapsed);let ac=ob.range;Gb&&1===ac.endColumn&&ac.endLineNumber!==ac.startLineNumber&&(ac=new wb.a(ac.startLineNumber,ac.startColumn,ac.endLineNumber-1,this._context.model.getLineMaxColumn(ac.endLineNumber-1))),sa===Mb&&Ia===Gb&&wb.a.areIntersectingOrTouching(Sa,ac)?Sa=wb.a.plusRange(Sa,ac):(null!==sa&&this._renderNormalDecoration(d,Sa,sa,Ia,J,T,o),sa=Mb,Ia=Gb,Sa=ac)}null!==sa&&this._renderNormalDecoration(d,Sa,sa,Ia,J,T,o)}_renderNormalDecoration(d,g,o,J,T,sa,Ia){const Sa=d.linesVisibleRangesForRange(g,"findMatch"===o);if(Sa)for(let bb=0,ib=Sa.length;bb<ib;bb++){const ob=Sa[bb];if(ob.outsideRenderedLine)continue;const Mb=ob.lineNumber-sa;if(J&&1===ob.ranges.length){const Gb=ob.ranges[0];0===Gb.width&&(ob.ranges[0]=new ta(Gb.left,this._typicalHalfwidthCharacterWidth))}for(let Gb=0,ac=ob.ranges.length;Gb<ac;Gb++){const gc=ob.ranges[Gb],Gc='<div class="cdr '+o+'" style="left:'+String(gc.left)+"px;width:"+String(gc.width)+"px;height:"+T+'px;"></div>';Ia[Mb]+=Gc}}}render(d,g){if(!this._renderResult)return"";const o=g-d;return o<0||o>=this._renderResult.length?"":this._renderResult[o]}}var Ha=f(105);class Ta extends Ba{constructor(d,g,o,J){super(d);const T=this._context.configuration.options,sa=T.get(84),Ia=T.get(58),Sa=T.get(28),bb=T.get(87),ib={listenOnDomNode:o.domNode,className:"editor-scrollable "+Object(za.f)(d.theme.type),useShadows:!1,lazyRender:!0,vertical:sa.vertical,horizontal:sa.horizontal,verticalHasArrows:sa.verticalHasArrows,horizontalHasArrows:sa.horizontalHasArrows,verticalScrollbarSize:sa.verticalScrollbarSize,verticalSliderSize:sa.verticalSliderSize,horizontalScrollbarSize:sa.horizontalScrollbarSize,horizontalSliderSize:sa.horizontalSliderSize,handleMouseWheel:sa.handleMouseWheel,alwaysConsumeMouseWheel:sa.alwaysConsumeMouseWheel,arrowSize:sa.arrowSize,mouseWheelScrollSensitivity:Ia,fastScrollSensitivity:Sa,scrollPredominantAxis:bb};this.scrollbar=this._register(new Ha.c(g.domNode,ib,this._context.viewLayout.getScrollable())),N.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=Object(D.b)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const ob=(Mb,Gb,ac)=>{const gc={};if(Gb){const Gc=Mb.scrollTop;Gc&&(gc.scrollTop=this._context.viewLayout.getCurrentScrollTop()+Gc,Mb.scrollTop=0)}if(ac){const Gc=Mb.scrollLeft;Gc&&(gc.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+Gc,Mb.scrollLeft=0)}this._context.model.setScrollPosition(gc,1)};this._register(q.i(o.domNode,"scroll",Mb=>ob(o.domNode,!0,!0))),this._register(q.i(g.domNode,"scroll",Mb=>ob(g.domNode,!0,!1))),this._register(q.i(J.domNode,"scroll",Mb=>ob(J.domNode,!0,!1))),this._register(q.i(this.scrollbarDomNode.domNode,"scroll",Mb=>ob(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const d=this._context.configuration.options,g=d.get(117);this.scrollbarDomNode.setLeft(g.contentLeft),"right"===d.get(56).side?this.scrollbarDomNode.setWidth(g.contentWidth+g.minimap.minimapWidth):this.scrollbarDomNode.setWidth(g.contentWidth),this.scrollbarDomNode.setHeight(g.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(d){this.scrollbar.delegateVerticalScrollbarMouseDown(d)}onConfigurationChanged(d){if(d.hasChanged(84)||d.hasChanged(58)||d.hasChanged(28)){const g=this._context.configuration.options,o=g.get(84),J=g.get(58),T=g.get(28),sa=g.get(87),Ia={handleMouseWheel:o.handleMouseWheel,mouseWheelScrollSensitivity:J,fastScrollSensitivity:T,scrollPredominantAxis:sa};this.scrollbar.updateOptions(Ia)}return d.hasChanged(117)&&this._setLayout(),!0}onScrollChanged(d){return!0}onThemeChanged(d){return this.scrollbar.updateClassName("editor-scrollable "+Object(za.f)(this._context.theme.type)),!0}prepareRender(d){}render(d){this.scrollbar.renderNow()}}f(222);class db{constructor(d,g,o){this.startLineNumber=+d,this.endLineNumber=+g,this.className=String(o)}}class yb extends $b{_render(d,g,o){const J=[];for(let Ia=d;Ia<=g;Ia++)J[Ia-d]=[];if(0===o.length)return J;o.sort((Ia,Sa)=>Ia.className===Sa.className?Ia.startLineNumber===Sa.startLineNumber?Ia.endLineNumber-Sa.endLineNumber:Ia.startLineNumber-Sa.startLineNumber:Ia.className<Sa.className?-1:1);let T=null,sa=0;for(let Ia=0,Sa=o.length;Ia<Sa;Ia++){const bb=o[Ia],ib=bb.className;let ob=Math.max(bb.startLineNumber,d)-d;const Mb=Math.min(bb.endLineNumber,g)-d;T===ib?(ob=Math.max(sa+1,ob),sa=Math.max(sa,Mb)):(T=ib,sa=Mb);for(let Gb=ob;Gb<=sa;Gb++)J[Gb].push(T)}return J}}class Bb extends yb{constructor(d){super(),this._context=d;const g=this._context.configuration.options,o=g.get(117);this._lineHeight=g.get(51),this._glyphMargin=g.get(42),this._glyphMarginLeft=o.glyphMarginLeft,this._glyphMarginWidth=o.glyphMarginWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(117);return this._lineHeight=g.get(51),this._glyphMargin=g.get(42),this._glyphMarginLeft=o.glyphMarginLeft,this._glyphMarginWidth=o.glyphMarginWidth,!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged}onZonesChanged(d){return!0}_getDecorations(d){const g=d.getDecorationsInViewport();let o=[],J=0;for(let T=0,sa=g.length;T<sa;T++){const Ia=g[T],Sa=Ia.options.glyphMarginClassName;Sa&&(o[J++]=new db(Ia.range.startLineNumber,Ia.range.endLineNumber,Sa))}return o}prepareRender(d){if(!this._glyphMargin)return void(this._renderResult=null);const g=d.visibleRange.startLineNumber,o=d.visibleRange.endLineNumber,J=this._render(g,o,this._getDecorations(d)),T=this._lineHeight.toString(),sa='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+T+'px;"></div>',Ia=[];for(let Sa=g;Sa<=o;Sa++){const bb=Sa-g,ib=J[bb];0===ib.length?Ia[bb]="":Ia[bb]='<div class="cgmr codicon '+ib.join(" ")+sa}this._renderResult=Ia}render(d,g){if(!this._renderResult)return"";const o=g-d;return o<0||o>=this._renderResult.length?"":this._renderResult[o]}}f(224);class Jb extends $b{constructor(d){super(),this._context=d,this._primaryLineNumber=0;const g=this._context.configuration.options,o=g.get(118),J=g.get(36);this._lineHeight=g.get(51),this._spaceWidth=J.spaceWidth,this._enabled=g.get(75),this._activeIndentEnabled=g.get(45),this._maxIndentLeft=-1===o.wrappingColumn?-1:o.wrappingColumn*J.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(118),J=g.get(36);return this._lineHeight=g.get(51),this._spaceWidth=J.spaceWidth,this._enabled=g.get(75),this._activeIndentEnabled=g.get(45),this._maxIndentLeft=-1===o.wrappingColumn?-1:o.wrappingColumn*J.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(d){const g=d.selections[0],o=g.isEmpty()?g.positionLineNumber:0;return this._primaryLineNumber!==o&&(this._primaryLineNumber=o,!0)}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged}onZonesChanged(d){return!0}onLanguageConfigurationChanged(d){return!0}prepareRender(d){if(!this._enabled)return void(this._renderResult=null);const g=d.visibleRange.startLineNumber,o=d.visibleRange.endLineNumber,{indentSize:J}=this._context.model.getTextModelOptions(),T=J*this._spaceWidth,sa=d.scrollWidth,Ia=this._lineHeight,Sa=this._context.model.getLinesIndentGuides(g,o);let bb=0,ib=0,ob=0;if(this._activeIndentEnabled&&this._primaryLineNumber){const Gb=this._context.model.getActiveIndentGuide(this._primaryLineNumber,g,o);bb=Gb.startLineNumber,ib=Gb.endLineNumber,ob=Gb.indent}const Mb=[];for(let Gb=g;Gb<=o;Gb++){const ac=bb<=Gb&&Gb<=ib,gc=Gb-g,Gc=Sa[gc];let Qc="";if(Gc>=1){const Jc=d.visibleRangeForPosition(new Fb.a(Gb,1));let Wc=Jc?Jc.left:0;for(let _c=1;_c<=Gc;_c++)if(Qc+=`<div class="${ac&&_c===ob?"cigra":"cigr"}" style="left:${Wc}px;height:${Ia}px;width:${T}px"></div>`,Wc+=T,Wc>sa||this._maxIndentLeft>0&&Wc>this._maxIndentLeft)break}Mb[gc]=Qc}this._renderResult=Mb}render(d,g){if(!this._renderResult)return"";const o=g-d;return o<0||o>=this._renderResult.length?"":this._renderResult[o]}}Object(za.g)((d,g)=>{const o=d.getColor(Hc.h);o&&g.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${o} inset; }`);const J=d.getColor(Hc.a)||o;J&&g.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${J} inset; }`)}),f(226);class xb{constructor(){this._currentVisibleRange=new wb.a(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(d){this._currentVisibleRange=d}}class Lb{constructor(d,g,o,J,T,sa){this.lineNumber=d,this.startColumn=g,this.endColumn=o,this.startScrollTop=J,this.stopScrollTop=T,this.scrollType=sa,this.type="range",this.minLineNumber=d,this.maxLineNumber=d}}class Ub{constructor(d,g,o,J){this.selections=d,this.startScrollTop=g,this.stopScrollTop=o,this.scrollType=J,this.type="selections";let T=d[0].startLineNumber,sa=d[0].endLineNumber;for(let Ia=1,Sa=d.length;Ia<Sa;Ia++){const bb=d[Ia];T=Math.min(T,bb.startLineNumber),sa=Math.max(sa,bb.endLineNumber)}this.minLineNumber=T,this.maxLineNumber=sa}}class pc extends Ba{constructor(d,g){super(d),this._linesContent=g,this._textRangeRestingSpot=document.createElement("div"),this._visibleLines=new Od(this),this.domNode=this._visibleLines.domNode;const o=this._context.configuration,J=this._context.configuration.options,T=J.get(36),sa=J.get(118);this._lineHeight=J.get(51),this._typicalHalfwidthCharacterWidth=T.typicalHalfwidthCharacterWidth,this._isViewportWrapping=sa.isViewportWrapping,this._revealHorizontalRightPadding=J.get(81),this._cursorSurroundingLines=J.get(20),this._cursorSurroundingLinesStyle=J.get(21),this._canUseLayerHinting=!J.get(23),this._viewLineOptions=new _(o,this._context.theme.type),N.write(this.domNode,7),this.domNode.setClassName("view-lines "+xc.a),R.a.applyFontInfo(this.domNode,T),this._maxLineWidth=0,this._asyncUpdateLineWidths=new k.d(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new k.d(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new xb(),this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new I(this._viewLineOptions)}onConfigurationChanged(d){this._visibleLines.onConfigurationChanged(d),d.hasChanged(118)&&(this._maxLineWidth=0);const g=this._context.configuration.options,o=g.get(36),J=g.get(118);return this._lineHeight=g.get(51),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=J.isViewportWrapping,this._revealHorizontalRightPadding=g.get(81),this._cursorSurroundingLines=g.get(20),this._cursorSurroundingLinesStyle=g.get(21),this._canUseLayerHinting=!g.get(23),R.a.applyFontInfo(this.domNode,o),this._onOptionsMaybeChanged(),d.hasChanged(117)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const d=this._context.configuration,g=new _(d,this._context.theme.type);if(!this._viewLineOptions.equals(g)){this._viewLineOptions=g;const o=this._visibleLines.getStartLineNumber(),J=this._visibleLines.getEndLineNumber();for(let T=o;T<=J;T++)this._visibleLines.getVisibleLine(T).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(d){const g=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let J=!1;for(let T=g;T<=o;T++)J=this._visibleLines.getVisibleLine(T).onSelectionChanged()||J;return J}onDecorationsChanged(d){{const g=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let J=g;J<=o;J++)this._visibleLines.getVisibleLine(J).onDecorationsChanged()}return!0}onFlushed(d){const g=this._visibleLines.onFlushed(d);return this._maxLineWidth=0,g}onLinesChanged(d){return this._visibleLines.onLinesChanged(d)}onLinesDeleted(d){return this._visibleLines.onLinesDeleted(d)}onLinesInserted(d){return this._visibleLines.onLinesInserted(d)}onRevealRangeRequest(d){const g=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),d.source,d.range,d.selections,d.verticalType);if(-1===g)return!1;let o=this._context.viewLayout.validateScrollPosition({scrollTop:g});d.revealHorizontal?d.range&&d.range.startLineNumber!==d.range.endLineNumber?o={scrollTop:o.scrollTop,scrollLeft:0}:d.range?this._horizontalRevealRequest=new Lb(d.range.startLineNumber,d.range.startColumn,d.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,d.scrollType):d.selections&&d.selections.length>0&&(this._horizontalRevealRequest=new Ub(d.selections,this._context.viewLayout.getCurrentScrollTop(),o.scrollTop,d.scrollType)):this._horizontalRevealRequest=null;const J=Math.abs(this._context.viewLayout.getCurrentScrollTop()-o.scrollTop)<=this._lineHeight?1:d.scrollType;return this._context.model.setScrollPosition(o,J),!0}onScrollChanged(d){if(this._horizontalRevealRequest&&d.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&d.scrollTopChanged){const g=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),o=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(d.scrollTop<g||d.scrollTop>o)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(d.scrollWidth),this._visibleLines.onScrollChanged(d)||!0}onTokensChanged(d){return this._visibleLines.onTokensChanged(d)}onZonesChanged(d){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(d)}onThemeChanged(d){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(d,g){const o=this._getViewLineDomNode(d);if(null===o)return null;const J=this._getLineNumberFor(o);if(-1===J)return null;if(J<1||J>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(J))return new Fb.a(J,1);const T=this._visibleLines.getStartLineNumber(),sa=this._visibleLines.getEndLineNumber();if(J<T||J>sa)return null;let Ia=this._visibleLines.getVisibleLine(J).getColumnOfNodeOffset(J,d,g);const Sa=this._context.model.getLineMinColumn(J);return Ia<Sa&&(Ia=Sa),new Fb.a(J,Ia)}_getViewLineDomNode(d){for(;d&&1===d.nodeType;){if(d.className===I.CLASS_NAME)return d;d=d.parentElement}return null}_getLineNumberFor(d){const g=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let J=g;J<=o;J++)if(d===this._visibleLines.getVisibleLine(J).getDomNode())return J;return-1}getLineWidth(d){const g=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();return d<g||d>o?-1:this._visibleLines.getVisibleLine(d).getWidth()}linesVisibleRangesForRange(d,g){if(this.shouldRender())return null;const o=d.endLineNumber,J=wb.a.intersectRanges(d,this._lastRenderedData.getCurrentVisibleRange());if(!J)return null;let T=[],sa=0;const Ia=new aa(this.domNode.domNode,this._textRangeRestingSpot);let Sa=0;g&&(Sa=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(J.startLineNumber,1)).lineNumber);const bb=this._visibleLines.getStartLineNumber(),ib=this._visibleLines.getEndLineNumber();for(let ob=J.startLineNumber;ob<=J.endLineNumber;ob++){if(ob<bb||ob>ib)continue;const Mb=ob===J.startLineNumber?J.startColumn:1,Gb=ob===J.endLineNumber?J.endColumn:this._context.model.getLineMaxColumn(ob),ac=this._visibleLines.getVisibleLine(ob).getVisibleRangesForRange(Mb,Gb,Ia);if(ac){if(g&&ob<o){const gc=Sa;Sa=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(ob+1,1)).lineNumber,gc!==Sa&&(ac.ranges[ac.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}T[sa++]=new ma(ac.outsideRenderedLine,ob,ac.ranges)}}return 0===sa?null:T}_visibleRangesForLineRange(d,g,o){return this.shouldRender()||d<this._visibleLines.getStartLineNumber()||d>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(d).getVisibleRangesForRange(g,o,new aa(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(d){const g=this._visibleRangesForLineRange(d.lineNumber,d.column,d.column);return g?new Da(g.outsideRenderedLine,g.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(d){const g=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();let J=1,T=!0;for(let sa=g;sa<=o;sa++){const Ia=this._visibleLines.getVisibleLine(sa);!d||Ia.getWidthIsFast()?J=Math.max(J,Ia.getWidth()):T=!1}return T&&1===g&&o===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(J),T}_checkMonospaceFontAssumptions(){let d=-1,g=-1;const o=this._visibleLines.getStartLineNumber(),J=this._visibleLines.getEndLineNumber();for(let T=o;T<=J;T++){const sa=this._visibleLines.getVisibleLine(T);if(sa.needsMonospaceFontCheck()){const Ia=sa.getWidth();Ia>g&&(g=Ia,d=T)}}if(-1!==d&&!this._visibleLines.getVisibleLine(d).monospaceAssumptionsAreValid())for(let T=o;T<=J;T++)this._visibleLines.getVisibleLine(T).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(d){if(this._visibleLines.renderLines(d),this._lastRenderedData.setCurrentVisibleRange(d.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const o=this._horizontalRevealRequest;if(d.startLineNumber<=o.minLineNumber&&o.maxLineNumber<=d.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const J=this._computeScrollLeftToReveal(o);J&&(this._isViewportWrapping||this._ensureMaxLineWidth(J.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:J.scrollLeft},o.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),Q.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const o=this._visibleLines.getStartLineNumber(),J=this._visibleLines.getEndLineNumber();for(let T=o;T<=J;T++)if(this._visibleLines.getVisibleLine(T).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const g=this._context.viewLayout.getCurrentScrollTop()-d.bigNumbersDelta;this._linesContent.setTop(-g),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(d){const g=Math.ceil(d);this._maxLineWidth<g&&(this._maxLineWidth=g,this._context.model.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(d,g,o,J,T){const sa=d.top,Ia=d.height,Sa=sa+Ia;let bb,ib,ob;if(J&&J.length>0){let Gb=J[0].startLineNumber,ac=J[0].endLineNumber;for(let gc=1,Gc=J.length;gc<Gc;gc++){const Qc=J[gc];Gb=Math.min(Gb,Qc.startLineNumber),ac=Math.max(ac,Qc.endLineNumber)}bb=!1,ib=this._context.viewLayout.getVerticalOffsetForLineNumber(Gb),ob=this._context.viewLayout.getVerticalOffsetForLineNumber(ac)+this._lineHeight}else{if(!o)return-1;bb=!0,ib=this._context.viewLayout.getVerticalOffsetForLineNumber(o.startLineNumber),ob=this._context.viewLayout.getVerticalOffsetForLineNumber(o.endLineNumber)+this._lineHeight}if(!("mouse"===g&&"default"===this._cursorSurroundingLinesStyle)){const Gb=Math.min(Ia/this._lineHeight/2,this._cursorSurroundingLines);ib-=Gb*this._lineHeight,ob+=Math.max(0,Gb-1)*this._lineHeight}let Mb;if(0!==T&&4!==T||(ob+=this._lineHeight),ob-ib>Ia){if(!bb)return-1;Mb=ib}else if(5===T||6===T)if(6===T&&sa<=ib&&ob<=Sa)Mb=sa;else{const Gb=ib-Math.max(5*this._lineHeight,.2*Ia),ac=ob-Ia;Mb=Math.max(ac,Gb)}else if(1===T||2===T)if(2===T&&sa<=ib&&ob<=Sa)Mb=sa;else{const Gb=(ib+ob)/2;Mb=Math.max(0,Gb-Ia/2)}else Mb=this._computeMinimumScrolling(sa,Sa,ib,ob,3===T,4===T);return Mb}_computeScrollLeftToReveal(d){const g=this._context.viewLayout.getCurrentViewport(),o=g.left,J=o+g.width;let T=1073741824,sa=0;if("range"===d.type){const Ia=this._visibleRangesForLineRange(d.lineNumber,d.startColumn,d.endColumn);if(!Ia)return null;for(const Sa of Ia.ranges)T=Math.min(T,Sa.left),sa=Math.max(sa,Sa.left+Sa.width)}else for(const Ia of d.selections){if(Ia.startLineNumber!==Ia.endLineNumber)return null;const Sa=this._visibleRangesForLineRange(Ia.startLineNumber,Ia.startColumn,Ia.endColumn);if(!Sa)return null;for(const bb of Sa.ranges)T=Math.min(T,bb.left),sa=Math.max(sa,bb.left+bb.width)}return(T=Math.max(0,T-pc.HORIZONTAL_EXTRA_PX),sa+=this._revealHorizontalRightPadding,"selections"===d.type&&sa-T>g.width)?null:{scrollLeft:this._computeMinimumScrolling(o,J,T,sa),maxHorizontalOffset:sa}}_computeMinimumScrolling(d,g,o,J,T,sa){T=!!T,sa=!!sa;const Ia=(g|=0)-(d|=0);return(J|=0)-(o|=0)<Ia?T?o:sa?Math.max(0,J-Ia):o<d?o:J>g?Math.max(0,J-Ia):d:o}}pc.HORIZONTAL_EXTRA_PX=30,f(228);class yc extends yb{constructor(d){super(),this._context=d;const g=this._context.configuration.options.get(117);this._decorationsLeft=g.decorationsLeft,this._decorationsWidth=g.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options.get(117);return this._decorationsLeft=g.decorationsLeft,this._decorationsWidth=g.decorationsWidth,!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged}onZonesChanged(d){return!0}_getDecorations(d){const g=d.getDecorationsInViewport();let o=[],J=0;for(let T=0,sa=g.length;T<sa;T++){const Ia=g[T],Sa=Ia.options.linesDecorationsClassName;Sa&&(o[J++]=new db(Ia.range.startLineNumber,Ia.range.endLineNumber,Sa));const bb=Ia.options.firstLineDecorationClassName;bb&&(o[J++]=new db(Ia.range.startLineNumber,Ia.range.startLineNumber,bb))}return o}prepareRender(d){const g=d.visibleRange.startLineNumber,o=d.visibleRange.endLineNumber,J=this._render(g,o,this._getDecorations(d)),T='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',sa=[];for(let Ia=g;Ia<=o;Ia++){const Sa=Ia-g,bb=J[Sa];let ib="";for(let ob=0,Mb=bb.length;ob<Mb;ob++)ib+='<div class="cldr '+bb[ob]+T;sa[Sa]=ib}this._renderResult=sa}render(d,g){return this._renderResult?this._renderResult[g-d]:""}}f(230);class Ec extends yb{constructor(d){super(),this._context=d,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){return!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged}onZonesChanged(d){return!0}_getDecorations(d){const g=d.getDecorationsInViewport();let o=[],J=0;for(let T=0,sa=g.length;T<sa;T++){const Ia=g[T],Sa=Ia.options.marginClassName;Sa&&(o[J++]=new db(Ia.range.startLineNumber,Ia.range.endLineNumber,Sa))}return o}prepareRender(d){const g=d.visibleRange.startLineNumber,o=d.visibleRange.endLineNumber,J=this._render(g,o,this._getDecorations(d)),T=[];for(let sa=g;sa<=o;sa++){const Ia=sa-g,Sa=J[Ia];let bb="";for(let ib=0,ob=Sa.length;ib<ob;ib++)bb+='<div class="cmdr '+Sa[ib]+'" style=""></div>';T[Ia]=bb}this._renderResult=T}render(d,g){return this._renderResult?this._renderResult[g-d]:""}}f(232);class X{constructor(d,g,o,J){this.r=X._clamp(d),this.g=X._clamp(g),this.b=X._clamp(o),this.a=X._clamp(J)}equals(d){return this.r===d.r&&this.g===d.g&&this.b===d.b&&this.a===d.a}static _clamp(d){return d<0?0:d>255?255:0|d}}X.Empty=new X(0,0,0,0);var xa=f(12);class qa{constructor(){this._onDidChange=new F.a(),this.onDidChange=this._onDidChange.event,this._updateColorMap(),xa.C.onDidChange(d=>{d.changedColorMap&&this._updateColorMap()})}static getInstance(){return this._INSTANCE||(this._INSTANCE=new qa()),this._INSTANCE}_updateColorMap(){const d=xa.C.getColorMap();if(!d)return this._colors=[X.Empty],void(this._backgroundIsLight=!0);this._colors=[X.Empty];for(let o=1;o<d.length;o++){const J=d[o].rgba;this._colors[o]=new X(J.r,J.g,J.b,Math.round(255*J.a))}let g=d[2].getRelativeLuminance();this._backgroundIsLight=g>=.5,this._onDidChange.fire(void 0)}getColor(d){return(d<1||d>=this._colors.length)&&(d=2),this._colors[d]}backgroundIsLight(){return this._backgroundIsLight}}qa._INSTANCE=null;var mb=f(74),ub=f(5);const Rb=(()=>{const d=[];for(let g=32;g<=126;g++)d.push(g);return d.push(65533),d})();var jc=f(36);class Xb{constructor(d,g){this.scale=g,this.charDataNormal=Xb.soften(d,.8),this.charDataLight=Xb.soften(d,50/60)}static soften(d,g){let o=new Uint8ClampedArray(d.length);for(let J=0,T=d.length;J<T;J++)o[J]=Object(jc.b)(d[J]*g);return o}renderChar(d,g,o,J,T,sa,Ia,Sa,bb){const ib=1*this.scale,ob=2*this.scale,Mb=bb?1:ob;if(g+ib>d.width||o+Mb>d.height)return void console.warn("bad render request outside image data");const Gb=Sa?this.charDataLight:this.charDataNormal,ac=((Pd,be)=>(Pd-=32)<0||Pd>96?be<=2?(Pd+96)%96:95:Pd)(J,Ia),gc=4*d.width,Gc=sa.r,Qc=sa.g,Jc=sa.b,Wc=T.r-Gc,_c=T.g-Qc,Zc=T.b-Jc,bd=d.data;let Id=ac*ib*ob,sd=o*gc+4*g;for(let Pd=0;Pd<Mb;Pd++){let be=sd;for(let me=0;me<ib;me++){const Td=Gb[Id++]/255;bd[be++]=Gc+Wc*Td,bd[be++]=Qc+_c*Td,bd[be++]=Jc+Zc*Td,be++}sd+=gc}}blockRenderChar(d,g,o,J,T,sa,Ia){const Sa=1*this.scale,bb=2*this.scale,ib=Ia?1:bb;if(g+Sa>d.width||o+ib>d.height)return void console.warn("bad render request outside image data");const ob=4*d.width,Mb=T.r,Gb=T.g,ac=T.b,gc=Mb+.5*(J.r-Mb),Gc=Gb+.5*(J.g-Gb),Qc=ac+.5*(J.b-ac),Jc=d.data;let Wc=o*ob+4*g;for(let _c=0;_c<ib;_c++){let Zc=Wc;for(let bd=0;bd<Sa;bd++)Jc[Zc++]=gc,Jc[Zc++]=Gc,Jc[Zc++]=Qc,Zc++;Wc+=ob}}}var wa=f(133);const fa={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},ra=d=>{const g=new Uint8ClampedArray(d.length/2);for(let o=0;o<d.length;o+=2)g[o>>1]=fa[d[o]]<<4|15&fa[d[o+1]];return g},Ra={1:Object(wa.a)(()=>ra("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:Object(wa.a)(()=>ra("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class ab{static create(d,g){if(this.lastCreated&&d===this.lastCreated.scale&&g===this.lastFontFamily)return this.lastCreated;let o;return o=Ra[d]?new Xb(Ra[d](),d):ab.createFromSampleData(ab.createSampleData(g).data,d),this.lastFontFamily=g,this.lastCreated=o,o}static createSampleData(d){const g=document.createElement("canvas"),o=g.getContext("2d");g.style.height="16px",g.height=16,g.width=960,g.style.width="960px",o.fillStyle="#ffffff",o.font="bold 16px "+d,o.textBaseline="middle";let J=0;for(const T of Rb)o.fillText(String.fromCharCode(T),J,8),J+=10;return o.getImageData(0,0,960,16)}static createFromSampleData(d,g){if(61440!==d.length)throw new Error("Unexpected source in MinimapCharRenderer");let o=ab._downsample(d,g);return new Xb(o,g)}static _downsampleChar(d,g,o,J,T){const sa=1*T,Ia=2*T;let Sa=J,bb=0;for(let ib=0;ib<Ia;ib++){const ob=ib/Ia*16,Mb=(ib+1)/Ia*16;for(let Gb=0;Gb<sa;Gb++){const ac=Gb/sa*10,gc=(Gb+1)/sa*10;let Gc=0,Qc=0;for(let Wc=ob;Wc<Mb;Wc++){const _c=g+3840*Math.floor(Wc),Zc=1-(Wc-Math.floor(Wc));for(let bd=ac;bd<gc;bd++){const Id=1-(bd-Math.floor(bd)),sd=_c+4*Math.floor(bd),Pd=Id*Zc;Qc+=Pd,Gc+=d[sd]*d[sd+3]/255*Pd}}const Jc=Gc/Qc;bb=Math.max(bb,Jc),o[Sa++]=Object(jc.b)(Jc)}}return bb}static _downsample(d,g){const o=2*g*1*g,J=96*o,T=new Uint8ClampedArray(J);let sa=0,Ia=0,Sa=0;for(let bb=0;bb<96;bb++)Sa=Math.max(Sa,this._downsampleChar(d,Ia,T,sa,g)),sa+=o,Ia+=40;if(Sa>0){const bb=255/Sa;for(let ib=0;ib<J;ib++)T[ib]*=bb}return T}}var Ya=f(58);class jb{constructor(d,g,o){const J=d.options,T=J.get(115),sa=J.get(117),Ia=sa.minimap,Sa=J.get(36),bb=J.get(56);this.renderMinimap=Ia.renderMinimap,this.size=bb.size,this.minimapHeightIsEditorHeight=Ia.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=J.get(86),this.showSlider=bb.showSlider,this.pixelRatio=T,this.typicalHalfwidthCharacterWidth=Sa.typicalHalfwidthCharacterWidth,this.lineHeight=J.get(51),this.minimapLeft=Ia.minimapLeft,this.minimapWidth=Ia.minimapWidth,this.minimapHeight=sa.height,this.canvasInnerWidth=Ia.minimapCanvasInnerWidth,this.canvasInnerHeight=Ia.minimapCanvasInnerHeight,this.canvasOuterWidth=Ia.minimapCanvasOuterWidth,this.canvasOuterHeight=Ia.minimapCanvasOuterHeight,this.isSampling=Ia.minimapIsSampling,this.editorHeight=sa.height,this.fontScale=Ia.minimapScale,this.minimapLineHeight=Ia.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=Object(wa.a)(()=>ab.create(this.fontScale,Sa.fontFamily)),this.backgroundColor=jb._getMinimapBackground(g,o)}static _getMinimapBackground(d,g){const o=d.getColor(ub.Mb);return o?new X(o.rgba.r,o.rgba.g,o.rgba.b,o.rgba.a):g.getColor(2)}equals(d){return this.renderMinimap===d.renderMinimap&&this.size===d.size&&this.minimapHeightIsEditorHeight===d.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===d.scrollBeyondLastLine&&this.showSlider===d.showSlider&&this.pixelRatio===d.pixelRatio&&this.typicalHalfwidthCharacterWidth===d.typicalHalfwidthCharacterWidth&&this.lineHeight===d.lineHeight&&this.minimapLeft===d.minimapLeft&&this.minimapWidth===d.minimapWidth&&this.minimapHeight===d.minimapHeight&&this.canvasInnerWidth===d.canvasInnerWidth&&this.canvasInnerHeight===d.canvasInnerHeight&&this.canvasOuterWidth===d.canvasOuterWidth&&this.canvasOuterHeight===d.canvasOuterHeight&&this.isSampling===d.isSampling&&this.editorHeight===d.editorHeight&&this.fontScale===d.fontScale&&this.minimapLineHeight===d.minimapLineHeight&&this.minimapCharWidth===d.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(d.backgroundColor)}}class Sb{constructor(d,g,o,J,T,sa,Ia,Sa){this.scrollTop=d,this.scrollHeight=g,this.sliderNeeded=o,this._computedSliderRatio=J,this.sliderTop=T,this.sliderHeight=sa,this.startLineNumber=Ia,this.endLineNumber=Sa}getDesiredScrollTopFromDelta(d){const g=this.sliderTop+d;return Math.round(g/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(d){return Math.round((d-this.sliderHeight/2)/this._computedSliderRatio)}static create(d,g,o,J,T,sa,Ia,Sa,bb,ib){const ob=d.pixelRatio,Mb=d.minimapLineHeight,Gb=Math.floor(d.canvasInnerHeight/Mb),ac=d.lineHeight;if(d.minimapHeightIsEditorHeight){const _c=Ia*d.lineHeight+(d.scrollBeyondLastLine?J-d.lineHeight:0),Zc=Math.max(1,Math.floor(J*J/_c)),bd=Math.max(0,d.minimapHeight-Zc),Id=bd/(bb-J),sd=Sa*Id,Pd=bd>0,be=Math.floor(d.canvasInnerHeight/d.minimapLineHeight);return new Sb(Sa,bb,Pd,Id,sd,Zc,1,Math.min(sa,be))}let gc,Gc;if(T&&o!==sa){const _c=o-g+1;gc=Math.floor(_c*Mb/ob)}else{const _c=J/ac;gc=Math.floor(_c*Mb/ob)}Gc=d.scrollBeyondLastLine?(sa-1)*Mb/ob:Math.max(0,sa*Mb/ob-gc),Gc=Math.min(d.minimapHeight-gc,Gc);const Qc=Gc/(bb-J),Jc=Sa*Qc;let Wc=0;d.scrollBeyondLastLine&&(Wc=J/ac-1);if(Gb>=sa+Wc)return new Sb(Sa,bb,Gc>0,Qc,Jc,gc,1,sa);{let _c=Math.max(1,Math.floor(g-Jc*ob/Mb));ib&&ib.scrollHeight===bb&&(ib.scrollTop>Sa&&(_c=Math.min(_c,ib.startLineNumber)),ib.scrollTop<Sa&&(_c=Math.max(_c,ib.startLineNumber)));const Zc=Math.min(sa,_c+Gb-1);return new Sb(Sa,bb,!0,Qc,Jc,gc,_c,Zc)}}}class Yb{constructor(d){this.dy=d}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}Yb.INVALID=new Yb(-1);class rc{constructor(d,g,o){this.renderedLayout=d,this._imageData=g,this._renderedLines=new ud(()=>Yb.INVALID),this._renderedLines._set(d.startLineNumber,o)}linesEquals(d){if(!this.scrollEquals(d))return!1;const g=this._renderedLines._get().lines;for(let o=0,J=g.length;o<J;o++)if(-1===g[o].dy)return!1;return!0}scrollEquals(d){return this.renderedLayout.startLineNumber===d.startLineNumber&&this.renderedLayout.endLineNumber===d.endLineNumber}_get(){const d=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:d.rendLineNumberStart,lines:d.lines}}onLinesChanged(d,g){return this._renderedLines.onLinesChanged(d,g)}onLinesDeleted(d,g){this._renderedLines.onLinesDeleted(d,g)}onLinesInserted(d,g){this._renderedLines.onLinesInserted(d,g)}onTokensChanged(d){return this._renderedLines.onTokensChanged(d)}}class zc{constructor(d,g,o,J){this._backgroundFillData=zc._createBackgroundFillData(g,o,J),this._buffers=[d.createImageData(g,o),d.createImageData(g,o)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;const d=this._buffers[this._lastUsedBuffer];return d.data.set(this._backgroundFillData),d}static _createBackgroundFillData(d,g,o){const J=o.r,T=o.g,sa=o.b,Ia=new Uint8ClampedArray(d*g*4);let Sa=0;for(let bb=0;bb<g;bb++)for(let ib=0;ib<d;ib++)Ia[Sa]=J,Ia[Sa+1]=T,Ia[Sa+2]=sa,Ia[Sa+3]=255,Sa+=4;return Ia}}class _b{constructor(d,g){this.samplingRatio=d,this.minimapLines=g}static compute(d,g,o){if(0===d.renderMinimap||!d.isSampling)return[null,[]];const J=d.pixelRatio,T=d.lineHeight,sa=d.scrollBeyondLastLine,{minimapLineCount:Ia}=ua.f.computeContainedMinimapLineCount({viewLineCount:g,scrollBeyondLastLine:sa,height:d.editorHeight,lineHeight:T,pixelRatio:J}),Sa=g/Ia,bb=Sa/2;if(!o||0===o.minimapLines.length){let Jc=[];if(Jc[0]=1,Ia>1){for(let Wc=0,_c=Ia-1;Wc<_c;Wc++)Jc[Wc]=Math.round(Wc*Sa+bb);Jc[Ia-1]=g}return[new _b(Sa,Jc),[]]}const ib=o.minimapLines,ob=ib.length;let Mb=[],Gb=0,ac=0,gc=1,Gc=[],Qc=null;for(let Jc=0;Jc<Ia;Jc++){const Wc=Math.max(gc,Math.round(Jc*Sa)),_c=Math.max(Wc,Math.round((Jc+1)*Sa));for(;Gb<ob&&ib[Gb]<Wc;){if(Gc.length<10){const bd=Gb+1+ac;Qc&&"deleted"===Qc.type&&Qc._oldIndex===Gb-1?Qc.deleteToLineNumber++:(Qc={type:"deleted",_oldIndex:Gb,deleteFromLineNumber:bd,deleteToLineNumber:bd},Gc.push(Qc)),ac--}Gb++}let Zc;if(Gb<ob&&ib[Gb]<=_c)Zc=ib[Gb],Gb++;else if(Zc=0===Jc?1:Jc+1===Ia?g:Math.round(Jc*Sa+bb),Gc.length<10){const bd=Gb+1+ac;Qc&&"inserted"===Qc.type&&Qc._i===Jc-1?Qc.insertToLineNumber++:(Qc={type:"inserted",_i:Jc,insertFromLineNumber:bd,insertToLineNumber:bd},Gc.push(Qc)),ac++}Mb[Jc]=Zc,gc=Zc}if(Gc.length<10)for(;Gb<ob;){const Jc=Gb+1+ac;Qc&&"deleted"===Qc.type&&Qc._oldIndex===Gb-1?Qc.deleteToLineNumber++:(Qc={type:"deleted",_oldIndex:Gb,deleteFromLineNumber:Jc,deleteToLineNumber:Jc},Gc.push(Qc)),ac--,Gb++}else Gc=[{type:"flush"}];return[new _b(Sa,Mb),Gc]}modelLineToMinimapLine(d){return Math.min(this.minimapLines.length,Math.max(1,Math.round(d/this.samplingRatio)))}modelLineRangeToMinimapLineRange(d,g){let o=this.modelLineToMinimapLine(d)-1;for(;o>0&&this.minimapLines[o-1]>=d;)o--;let J=this.modelLineToMinimapLine(g)-1;for(;J+1<this.minimapLines.length&&this.minimapLines[J+1]<=g;)J++;if(o===J){const T=this.minimapLines[o];if(T<d||T>g)return null}return[o+1,J+1]}decorationLineRangeToMinimapLineRange(d,g){let o=this.modelLineToMinimapLine(d),J=this.modelLineToMinimapLine(g);return d!==g&&J===o&&(J===this.minimapLines.length?o>1&&o--:J++),[o,J]}onLinesDeleted(d){const g=d.toLineNumber-d.fromLineNumber+1;let o=this.minimapLines.length,J=0;for(let T=this.minimapLines.length-1;T>=0&&!(this.minimapLines[T]<d.fromLineNumber);T--)this.minimapLines[T]<=d.toLineNumber?(this.minimapLines[T]=Math.max(1,d.fromLineNumber-1),o=Math.min(o,T),J=Math.max(J,T)):this.minimapLines[T]-=g;return[o,J]}onLinesInserted(d){const g=d.toLineNumber-d.fromLineNumber+1;for(let o=this.minimapLines.length-1;o>=0&&!(this.minimapLines[o]<d.fromLineNumber);o--)this.minimapLines[o]+=g}}class qc extends Ba{constructor(d){super(d),this.tokensColorTracker=qa.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new jb(this._context.configuration,this._context.theme,this.tokensColorTracker);const[g]=_b.compute(this.options,this._context.model.getLineCount(),null);this._samplingState=g,this._shouldCheckSampling=!1,this._actual=new nc(d.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const d=new jb(this._context.configuration,this._context.theme,this.tokensColorTracker);return!this.options.equals(d)&&(this.options=d,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(d){return this._onOptionsMaybeChanged()}onCursorStateChanged(d){return this._selections=d.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(d){return!!d.affectsMinimap&&this._actual.onDecorationsChanged()}onFlushed(d){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(d){if(this._samplingState){const g=this._samplingState.modelLineRangeToMinimapLineRange(d.fromLineNumber,d.toLineNumber);return!!g&&this._actual.onLinesChanged(g[0],g[1])}return this._actual.onLinesChanged(d.fromLineNumber,d.toLineNumber)}onLinesDeleted(d){if(this._samplingState){const[g,o]=this._samplingState.onLinesDeleted(d);return g<=o&&this._actual.onLinesChanged(g+1,o+1),this._shouldCheckSampling=!0,!0}return this._actual.onLinesDeleted(d.fromLineNumber,d.toLineNumber)}onLinesInserted(d){return this._samplingState?(this._samplingState.onLinesInserted(d),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(d.fromLineNumber,d.toLineNumber)}onScrollChanged(d){return this._actual.onScrollChanged()}onThemeChanged(d){return this._context.model.invalidateMinimapColorCache(),this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(d){if(this._samplingState){let g=[];for(const o of d.ranges){const J=this._samplingState.modelLineRangeToMinimapLineRange(o.fromLineNumber,o.toLineNumber);J&&g.push({fromLineNumber:J[0],toLineNumber:J[1]})}return!!g.length&&this._actual.onTokensChanged(g)}return this._actual.onTokensChanged(d.ranges)}onTokensColorsChanged(d){return this._actual.onTokensColorsChanged()}onZonesChanged(d){return this._actual.onZonesChanged()}prepareRender(d){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(d){let g=d.visibleRange.startLineNumber,o=d.visibleRange.endLineNumber;this._samplingState&&(g=this._samplingState.modelLineToMinimapLine(g),o=this._samplingState.modelLineToMinimapLine(o));const J={viewportContainsWhitespaceGaps:d.viewportData.whitespaceViewportData.length>0,scrollWidth:d.scrollWidth,scrollHeight:d.scrollHeight,viewportStartLineNumber:g,viewportEndLineNumber:o,scrollTop:d.scrollTop,scrollLeft:d.scrollLeft,viewportWidth:d.viewportWidth,viewportHeight:d.viewportHeight};this._actual.render(J)}_recreateLineSampling(){this._minimapSelections=null;const d=Boolean(this._samplingState),[g,o]=_b.compute(this.options,this._context.model.getLineCount(),this._samplingState);if(this._samplingState=g,d&&this._samplingState)for(const J of o)switch(J.type){case"deleted":this._actual.onLinesDeleted(J.deleteFromLineNumber,J.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(J.insertFromLineNumber,J.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.model.getLineCount()}getRealLineCount(){return this._context.model.getLineCount()}getLineContent(d){return this._samplingState?this._context.model.getLineContent(this._samplingState.minimapLines[d-1]):this._context.model.getLineContent(d)}getMinimapLinesRenderingData(d,g,o){if(this._samplingState){let J=[];for(let T=0,sa=g-d+1;T<sa;T++)o[T]?J[T]=this._context.model.getViewLineData(this._samplingState.minimapLines[d+T-1]):J[T]=null;return J}return this._context.model.getMinimapLinesRenderingData(d,g,o).data}getSelections(){if(null===this._minimapSelections)if(this._samplingState){this._minimapSelections=[];for(const d of this._selections){const[g,o]=this._samplingState.decorationLineRangeToMinimapLineRange(d.startLineNumber,d.endLineNumber);this._minimapSelections.push(new z.a(g,d.startColumn,o,d.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(d,g){let o;if(this._samplingState){const T=this._samplingState.minimapLines[d-1],sa=this._samplingState.minimapLines[g-1];o=new wb.a(T,1,sa,this._context.model.getLineMaxColumn(sa))}else o=new wb.a(d,1,g,this._context.model.getLineMaxColumn(g));const J=this._context.model.getDecorationsInViewport(o);if(this._samplingState){let T=[];for(const sa of J){if(!sa.options.minimap)continue;const Ia=sa.range,Sa=this._samplingState.modelLineToMinimapLine(Ia.startLineNumber),bb=this._samplingState.modelLineToMinimapLine(Ia.endLineNumber);T.push(new mb.e(new wb.a(Sa,Ia.startColumn,bb,Ia.endColumn),sa.options))}return T}return J}getOptions(){return this._context.model.getTextModelOptions()}revealLineNumber(d){this._samplingState&&(d=this._samplingState.minimapLines[d-1]),this._context.model.revealRange("mouse",!1,new wb.a(d,1,d,1),1,0)}setScrollTop(d){this._context.model.setScrollPosition({scrollTop:d},1)}}class nc extends P.a{constructor(d,g){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=d,this._model=g,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(ub.Pb),this._domNode=Object(D.b)(document.createElement("div")),N.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=Object(D.b)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=Object(D.b)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=Object(D.b)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=Object(D.b)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=Object(D.b)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=q.n(this._domNode.domNode,"mousedown",o=>{o.preventDefault();if(0===this._model.options.renderMinimap)return;if(!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(o.leftButton&&this._lastRenderData){const Ia=q.C(this._slider.domNode),Sa=Ia.top+Ia.height/2;this._startSliderDragging(o.buttons,o.posx,Sa,o.posy,this._lastRenderData.renderedLayout)}return}const J=this._model.options.minimapLineHeight,T=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*o.browserEvent.offsetY;let sa=Math.floor(T/J)+this._lastRenderData.renderedLayout.startLineNumber;sa=Math.min(sa,this._model.getLineCount()),this._model.revealLineNumber(sa)}),this._sliderMouseMoveMonitor=new x.a(),this._sliderMouseDownListener=q.n(this._slider.domNode,"mousedown",o=>{o.preventDefault(),o.stopPropagation(),o.leftButton&&this._lastRenderData&&this._startSliderDragging(o.buttons,o.posx,o.posy,o.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=B.b.addTarget(this._domNode.domNode),this._sliderTouchStartListener=q.i(this._domNode.domNode,B.a.Start,o=>{o.preventDefault(),o.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(o))},{passive:!1}),this._sliderTouchMoveListener=q.i(this._domNode.domNode,B.a.Change,o=>{o.preventDefault(),o.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(o)},{passive:!1}),this._sliderTouchEndListener=q.n(this._domNode.domNode,B.a.End,o=>{o.preventDefault(),o.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(d,g,o,J,T){this._slider.toggleClassName("active",!0);const sa=(Ia,Sa)=>{const bb=Math.abs(Sa-g);if(Q.i&&bb>140)return void this._model.setScrollTop(T.scrollTop);const ib=Ia-o;this._model.setScrollTop(T.getDesiredScrollTopFromDelta(ib))};J!==o&&sa(J,g),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,d,x.b,Ia=>sa(Ia.posy,Ia.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(d){const g=this._domNode.domNode.getBoundingClientRect().top,o=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(d.pageY-g);this._model.setScrollTop(o)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new zc(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(d,g){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(d,g)}onLinesDeleted(d,g){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(d,g),!0}onLinesInserted(d,g){return this._lastRenderData&&this._lastRenderData.onLinesInserted(d,g),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(ub.Pb),this._renderDecorations=!0,!0}onTokensChanged(d){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(d)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(d){if(0===this._model.options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);d.scrollLeft+d.viewportWidth>=d.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const g=Sb.create(this._model.options,d.viewportStartLineNumber,d.viewportEndLineNumber,d.viewportHeight,d.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),d.scrollTop,d.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(g.sliderNeeded?"block":"none"),this._slider.setTop(g.sliderTop),this._slider.setHeight(g.sliderHeight);const o=d.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,J=Math.min(this._model.options.minimapWidth,Math.round(o*this._model.options.minimapCharWidth/this._model.options.pixelRatio));this._sliderHorizontal.setLeft(J),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-J),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(g.sliderHeight),this.renderDecorations(g),this._lastRenderData=this.renderLines(g)}renderDecorations(d){if(this._renderDecorations){this._renderDecorations=!1;const g=this._model.getSelections(),o=this._model.getMinimapDecorationsInViewport(d.startLineNumber,d.endLineNumber),{canvasInnerWidth:J,canvasInnerHeight:T}=this._model.options,sa=this._model.options.minimapLineHeight,Ia=this._model.options.minimapCharWidth,Sa=this._model.getOptions().tabSize,bb=this._decorationsCanvas.domNode.getContext("2d");bb.clearRect(0,0,J,T);const ib=new Map();for(let ob=0;ob<g.length;ob++){const Mb=g[ob];for(let Gb=Mb.startLineNumber;Gb<=Mb.endLineNumber;Gb++)this.renderDecorationOnLine(bb,ib,Mb,this._selectionColor,d,Gb,sa,sa,Sa,Ia)}for(let ob=0;ob<o.length;ob++){const Mb=o[ob];if(!Mb.options.minimap)continue;const Gb=Mb.options.minimap.getColor(this._theme);for(let ac=Mb.range.startLineNumber;ac<=Mb.range.endLineNumber;ac++)switch(Mb.options.minimap.position){case Ya.c.Inline:this.renderDecorationOnLine(bb,ib,Mb.range,Gb,d,ac,sa,sa,Sa,Ia);continue;case Ya.c.Gutter:const gc=(ac-d.startLineNumber)*sa,Gc=2;this.renderDecoration(bb,Gb,Gc,gc,2,sa);continue}}}}renderDecorationOnLine(d,g,o,J,T,sa,Ia,Sa,bb,ib){const ob=(sa-T.startLineNumber)*Sa;if(ob+Ia<0||ob>this._model.options.canvasInnerHeight)return;let Mb=g.get(sa);const Gb=!Mb;if(!Mb){const _c=this._model.getLineContent(sa);Mb=[ua.h];for(let Zc=1;Zc<_c.length+1;Zc++){const bd=_c.charCodeAt(Zc-1),Id=9===bd?bb*ib:tb.E(bd)?2*ib:ib;Mb[Zc]=Mb[Zc-1]+Id}g.set(sa,Mb)}const{startColumn:ac,endColumn:gc,startLineNumber:Gc,endLineNumber:Qc}=o,Jc=Gc===sa?Mb[ac-1]:ua.h,Wc=Qc>sa?Mb.length-1:gc-1;if(Wc>0){const _c=Mb[Wc]-Jc||2;this.renderDecoration(d,J,Jc,ob,_c,Ia)}Gb&&this.renderLineHighlight(d,J,ob,Ia)}renderLineHighlight(d,g,o,J){d.fillStyle=g&&g.transparent(.5).toString()||"",d.fillRect(ua.h,o,d.canvas.width,J)}renderDecoration(d,g,o,J,T,sa){d.fillStyle=g&&g.toString()||"",d.fillRect(o,J,T,sa)}renderLines(d){const g=d.startLineNumber,o=d.endLineNumber,J=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(d)){const sd=this._lastRenderData._get();return new rc(d,sd.imageData,sd.lines)}const T=this._getBuffer();if(!T)return null;let[sa,Ia,Sa]=nc._renderUntouchedLines(T,g,o,J,this._lastRenderData);const bb=this._model.getMinimapLinesRenderingData(g,o,Sa),ib=this._model.getOptions().tabSize,ob=this._model.options.backgroundColor,Mb=this._model.tokensColorTracker,Gb=Mb.backgroundIsLight(),ac=this._model.options.renderMinimap,gc=this._model.options.charRenderer(),Gc=this._model.options.fontScale,Qc=this._model.options.minimapCharWidth,Jc=(1===ac?2:3)*Gc,Wc=J>Jc?Math.floor((J-Jc)/2):0;let _c=0;const Zc=[];for(let sd=0,Pd=o-g+1;sd<Pd;sd++)Sa[sd]&&nc._renderLine(T,ob,Gb,ac,Qc,Mb,gc,_c,Wc,ib,bb[sd],Gc,J),Zc[sd]=new Yb(_c),_c+=J;const bd=-1===sa?0:sa,Id=(-1===Ia?T.height:Ia)-bd;return this._canvas.domNode.getContext("2d").putImageData(T,0,0,0,bd,T.width,Id),new rc(d,T,Zc)}static _renderUntouchedLines(d,g,o,J,T){const sa=[];if(!T){for(let bd=0,Id=o-g+1;bd<Id;bd++)sa[bd]=!0;return[-1,-1,sa]}const Ia=T._get(),Sa=Ia.imageData.data,bb=Ia.rendLineNumberStart,ib=Ia.lines,ob=ib.length,Mb=d.width,Gb=d.data,ac=(o-g+1)*J*Mb*4;let gc=-1,Gc=-1,Qc=-1,Jc=-1,Wc=-1,_c=-1,Zc=0;for(let bd=g;bd<=o;bd++){const Id=bd-g,sd=bd-bb,Pd=sd>=0&&sd<ob?ib[sd].dy:-1;if(-1===Pd){sa[Id]=!0,Zc+=J;continue}const be=Pd*Mb*4,me=(Pd+J)*Mb*4,Td=Zc*Mb*4,ze=(Zc+J)*Mb*4;Jc===be&&_c===Td?(Jc=me,_c=ze):(-1!==Qc&&(Gb.set(Sa.subarray(Qc,Jc),Wc),-1===gc&&0===Qc&&Qc===Wc&&(gc=Jc),-1===Gc&&Jc===ac&&Qc===Wc&&(Gc=Qc)),Qc=be,Jc=me,Wc=Td,_c=ze),sa[Id]=!1,Zc+=J}return-1!==Qc&&(Gb.set(Sa.subarray(Qc,Jc),Wc),-1===gc&&0===Qc&&Qc===Wc&&(gc=Jc),-1===Gc&&Jc===ac&&Qc===Wc&&(Gc=Qc)),[-1===gc?-1:gc/(4*Mb),-1===Gc?-1:Gc/(4*Mb),sa]}static _renderLine(d,g,o,J,T,sa,Ia,Sa,bb,ib,ob,Mb,Gb){const ac=ob.content,gc=ob.tokens,Gc=d.width-T,Qc=1===Gb;let Jc=ua.h,Wc=0,_c=0;for(let Zc=0,bd=gc.getCount();Zc<bd;Zc++){const Id=gc.getEndOffset(Zc),sd=gc.getForeground(Zc),Pd=sa.getColor(sd);for(;Wc<Id;Wc++){if(Jc>Gc)return;const be=ac.charCodeAt(Wc);if(9===be){const me=ib-(Wc+_c)%ib;_c+=me-1,Jc+=me*T}else if(32===be)Jc+=T;else{const me=tb.E(be)?2:1;for(let Td=0;Td<me;Td++)if(2===J?Ia.blockRenderChar(d,Jc,Sa+bb,Pd,g,o,Qc):Ia.renderChar(d,Jc,Sa+bb,be,Pd,g,Mb,o,Qc),Jc+=T,Jc>Gc)return}}}}}Object(za.g)((d,g)=>{const o=d.getColor(ub.Mb);o&&g.addRule(`.monaco-editor .minimap > canvas { opacity: ${o.rgba.a}; will-change: opacity; }`);const J=d.getColor(ub.Rb);J&&g.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${J}; }`);const T=d.getColor(ub.Sb);T&&g.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${T}; }`);const sa=d.getColor(ub.Qb);sa&&g.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${sa}; }`);const Ia=d.getColor(ub.ic);Ia&&g.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${Ia} -6px 0 6px -6px inset; }`)}),f(234);class Aa extends Ba{constructor(d){super(d);const g=this._context.configuration.options.get(117);this._widgets={},this._verticalScrollbarWidth=g.verticalScrollbarWidth,this._minimapWidth=g.minimap.minimapWidth,this._horizontalScrollbarHeight=g.horizontalScrollbarHeight,this._editorHeight=g.height,this._editorWidth=g.width,this._domNode=Object(D.b)(document.createElement("div")),N.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(d){const g=this._context.configuration.options.get(117);return this._verticalScrollbarWidth=g.verticalScrollbarWidth,this._minimapWidth=g.minimap.minimapWidth,this._horizontalScrollbarHeight=g.horizontalScrollbarHeight,this._editorHeight=g.height,this._editorWidth=g.width,!0}addWidget(d){const g=Object(D.b)(d.getDomNode());this._widgets[d.getId()]={widget:d,preference:null,domNode:g},g.setPosition("absolute"),g.setAttribute("widgetId",d.getId()),this._domNode.appendChild(g),this.setShouldRender()}setWidgetPosition(d,g){const o=this._widgets[d.getId()];return o.preference!==g&&(o.preference=g,this.setShouldRender(),!0)}removeWidget(d){const g=d.getId();if(this._widgets.hasOwnProperty(g)){const o=this._widgets[g].domNode.domNode;delete this._widgets[g],o.parentNode.removeChild(o),this.setShouldRender()}}_renderWidget(d){const g=d.domNode;if(null!==d.preference)if(0===d.preference)g.setTop(0),g.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===d.preference){const o=g.domNode.clientHeight;g.setTop(this._editorHeight-o-2*this._horizontalScrollbarHeight),g.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===d.preference&&(g.setTop(0),g.domNode.style.right="50%");else g.unsetTop()}prepareRender(d){}render(d){this._domNode.setWidth(this._editorWidth);const g=Object.keys(this._widgets);for(let o=0,J=g.length;o<J;o++){const T=g[o];this._renderWidget(this._widgets[T])}}}var ya=f(16);class pa{constructor(d,g){const o=d.options;this.lineHeight=o.get(51),this.pixelRatio=o.get(115),this.overviewRulerLanes=o.get(65),this.renderBorder=o.get(64);const J=g.getColor(Hc.m);this.borderColor=J?J.toString():null,this.hideCursor=o.get(44);const T=g.getColor(Hc.g);this.cursorColor=T?T.transparent(.7).toString():null,this.themeType=g.type;const sa=o.get(56),Ia=sa.enabled,Sa=sa.side,bb=Ia?g.getColor(Hc.l)||xa.C.getDefaultBackground():null;this.backgroundColor=null===bb||"left"===Sa?null:ya.a.Format.CSS.formatHex(bb);const ib=o.get(117).overviewRuler;this.top=ib.top,this.right=ib.right,this.domWidth=ib.width,this.domHeight=ib.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[ob,Mb]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=ob,this.w=Mb}_initLanes(d,g,o){const J=g-d;if(o>=3){const T=Math.floor(J/3),sa=Math.floor(J/3),Ia=J-T-sa,Sa=d+T;return[[0,d,Sa,d,d+T+Ia,d,Sa,d],[0,T,Ia,T+Ia,sa,T+Ia+sa,Ia+sa,T+Ia+sa]]}if(2===o){const T=Math.floor(J/2),sa=J-T;return[[0,d,d,d,d+T,d,d,d],[0,T,T,T,sa,T+sa,T+sa,T+sa]]}return[[0,d,d,d,d,d,d,d],[0,J,J,J,J,J,J,J]]}equals(d){return this.lineHeight===d.lineHeight&&this.pixelRatio===d.pixelRatio&&this.overviewRulerLanes===d.overviewRulerLanes&&this.renderBorder===d.renderBorder&&this.borderColor===d.borderColor&&this.hideCursor===d.hideCursor&&this.cursorColor===d.cursorColor&&this.themeType===d.themeType&&this.backgroundColor===d.backgroundColor&&this.top===d.top&&this.right===d.right&&this.domWidth===d.domWidth&&this.domHeight===d.domHeight&&this.canvasWidth===d.canvasWidth&&this.canvasHeight===d.canvasHeight}}class Ja extends Ba{constructor(d){super(d),this._domNode=Object(D.b)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=xa.C.onDidChange(g=>{g.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(d){const g=new pa(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(g))&&(this._settings=g,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,d&&this._render(),!0)}onConfigurationChanged(d){return this._updateSettings(!1)}onCursorStateChanged(d){this._cursorPositions=[];for(let g=0,o=d.selections.length;g<o;g++)this._cursorPositions[g]=d.selections[g].getPosition();return this._cursorPositions.sort(Fb.a.compare),!0}onDecorationsChanged(d){return!!d.affectsOverviewRuler}onFlushed(d){return!0}onScrollChanged(d){return d.scrollHeightChanged}onZonesChanged(d){return!0}onThemeChanged(d){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(d){}render(d){this._render()}_render(){if(0===this._settings.overviewRulerLanes)return void this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"");const d=this._settings.canvasWidth,g=this._settings.canvasHeight,o=this._settings.lineHeight,J=this._context.viewLayout,T=g/this._context.viewLayout.getScrollHeight(),sa=this._context.model.getAllOverviewRulerDecorations(this._context.theme),Ia=6*this._settings.pixelRatio|0,Sa=Ia/2|0,bb=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?bb.clearRect(0,0,d,g):(bb.fillStyle=this._settings.backgroundColor,bb.fillRect(0,0,d,g));const ib=this._settings.x,ob=this._settings.w,Mb=Object.keys(sa);Mb.sort();for(let Gb=0,ac=Mb.length;Gb<ac;Gb++){const gc=Mb[Gb],Gc=sa[gc];bb.fillStyle=gc;let Qc=0,Jc=0,Wc=0;for(let _c=0,Zc=Gc.length;_c<Zc;_c++){const bd=Gc[3*_c],Id=Gc[3*_c+1],sd=Gc[3*_c+2];let Pd=J.getVerticalOffsetForLineNumber(Id)*T|0,be=(J.getVerticalOffsetForLineNumber(sd)+o)*T|0;if(be-Pd<Ia){let me=(Pd+be)/2|0;me<Sa?me=Sa:me+Sa>g&&(me=g-Sa),Pd=me-Sa,be=me+Sa}Pd>Wc+1||bd!==Qc?(0!==_c&&bb.fillRect(ib[Qc],Jc,ob[Qc],Wc-Jc),Qc=bd,Jc=Pd,Wc=be):be>Wc&&(Wc=be)}bb.fillRect(ib[Qc],Jc,ob[Qc],Wc-Jc)}if(!this._settings.hideCursor&&this._settings.cursorColor){const Gb=2*this._settings.pixelRatio|0,ac=Gb/2|0,gc=this._settings.x[7],Gc=this._settings.w[7];bb.fillStyle=this._settings.cursorColor;let Qc=-100,Jc=-100;for(let Wc=0,_c=this._cursorPositions.length;Wc<_c;Wc++){const Zc=this._cursorPositions[Wc];let bd=J.getVerticalOffsetForLineNumber(Zc.lineNumber)*T|0;bd<ac?bd=ac:bd+ac>g&&(bd=g-ac);const Id=bd-ac,sd=Id+Gb;Id>Jc+1?(0!==Wc&&bb.fillRect(gc,Qc,Gc,Jc-Qc),Qc=Id,Jc=sd):sd>Jc&&(Jc=sd)}bb.fillRect(gc,Qc,Gc,Jc-Qc)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(bb.beginPath(),bb.lineWidth=1,bb.strokeStyle=this._settings.borderColor,bb.moveTo(0,0),bb.lineTo(0,g),bb.stroke(),bb.moveTo(0,0),bb.lineTo(d,0),bb.stroke())}}var Na=f(168);class Pa extends ga{constructor(d,g){super(),this._context=d;const o=this._context.configuration.options;this._domNode=Object(D.b)(document.createElement("canvas")),this._domNode.setClassName(g),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new Na.b(J=>this._context.viewLayout.getVerticalOffsetForLineNumber(J)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(o.get(51)),this._zoneManager.setPixelRatio(o.get(115)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options;return d.hasChanged(51)&&(this._zoneManager.setLineHeight(g.get(51)),this._render()),d.hasChanged(115)&&(this._zoneManager.setPixelRatio(g.get(115)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(d){return this._render(),!0}onScrollChanged(d){return d.scrollHeightChanged&&(this._zoneManager.setOuterHeight(d.scrollHeight),this._render()),!0}onZonesChanged(d){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(d){this._domNode.setTop(d.top),this._domNode.setRight(d.right);let g=!1;g=this._zoneManager.setDOMWidth(d.width)||g,g=this._zoneManager.setDOMHeight(d.height)||g,g&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(d){this._zoneManager.setZones(d),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;const d=this._zoneManager.getCanvasWidth(),g=this._zoneManager.getCanvasHeight(),o=this._zoneManager.resolveColorZones(),J=this._zoneManager.getId2Color(),T=this._domNode.domNode.getContext("2d");return T.clearRect(0,0,d,g),o.length>0&&this._renderOneLane(T,o,J,d),!0}_renderOneLane(d,g,o,J){let T=0,sa=0,Ia=0;for(const Sa of g){const bb=Sa.colorId,ib=Sa.from,ob=Sa.to;bb!==T?(d.fillRect(0,sa,J,Ia-sa),T=bb,d.fillStyle=o[T],sa=ib,Ia=ob):Ia>=ib?Ia=Math.max(Ia,ob):(d.fillRect(0,sa,J,Ia-sa),sa=ib,Ia=ob)}d.fillRect(0,sa,J,Ia-sa)}}f(236);class Fa extends Ba{constructor(d){super(d),this.domNode=Object(D.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const g=this._context.configuration.options;this._rulers=g.get(83),this._typicalHalfwidthCharacterWidth=g.get(36).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options;return this._rulers=g.get(83),this._typicalHalfwidthCharacterWidth=g.get(36).typicalHalfwidthCharacterWidth,!0}onScrollChanged(d){return d.scrollHeightChanged}prepareRender(d){}_ensureRulersCount(){const d=this._renderedRulers.length,g=this._rulers.length;if(d===g)return;if(d<g){const{tabSize:J}=this._context.model.getTextModelOptions(),T=J;let sa=g-d;for(;sa>0;){const Ia=Object(D.b)(document.createElement("div"));Ia.setClassName("view-ruler"),Ia.setWidth(T),this.domNode.appendChild(Ia),this._renderedRulers.push(Ia),sa--}return}let o=d-g;for(;o>0;){const J=this._renderedRulers.pop();this.domNode.removeChild(J),o--}}render(d){this._ensureRulersCount();for(let g=0,o=this._rulers.length;g<o;g++){const J=this._renderedRulers[g],T=this._rulers[g];J.setBoxShadow(T.color?`1px 0 0 0 ${T.color} inset`:""),J.setHeight(Math.min(d.scrollHeight,1e6)),J.setLeft(T.column*this._typicalHalfwidthCharacterWidth)}}}Object(za.g)((d,g)=>{const o=d.getColor(Hc.n);o&&g.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${o} inset; }`)}),f(238);class Xa extends Ba{constructor(d){super(d),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const g=this._context.configuration.options.get(84);this._useShadows=g.useShadows,this._domNode=Object(D.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const d=this._useShadows&&this._scrollTop>0;return this._shouldShow!==d&&(this._shouldShow=d,!0)}getDomNode(){return this._domNode}_updateWidth(){const d=this._context.configuration.options.get(117);0===d.minimap.renderMinimap||d.minimap.minimapWidth>0&&0===d.minimap.minimapLeft?this._width=d.width:this._width=d.width-d.minimap.minimapWidth-d.verticalScrollbarWidth}onConfigurationChanged(d){const g=this._context.configuration.options.get(84);return this._useShadows=g.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(d){return this._scrollTop=d.scrollTop,this._updateShouldShow()}prepareRender(d){}render(d){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}Object(za.g)((d,g)=>{const o=d.getColor(ub.ic);o&&g.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${o} 0 6px 6px -6px inset; }`)}),f(240);class lb{constructor(d){this.left=d.left,this.width=d.width,this.startStyle=null,this.endStyle=null}}class sb{constructor(d,g){this.lineNumber=d,this.ranges=g}}function vb(d){return new lb(d)}function Vb(d){return new sb(d.lineNumber,d.ranges.map(vb))}const hc=w.f;class Tb extends $b{constructor(d){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=d;const g=this._context.configuration.options;this._lineHeight=g.get(51),this._roundedSelection=g.get(82),this._typicalHalfwidthCharacterWidth=g.get(36).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(d){const g=this._context.configuration.options;return this._lineHeight=g.get(51),this._roundedSelection=g.get(82),this._typicalHalfwidthCharacterWidth=g.get(36).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(d){return this._selections=d.selections.slice(0),!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return d.scrollTopChanged}onZonesChanged(d){return!0}_visibleRangesHaveGaps(d){for(let g=0,o=d.length;g<o;g++)if(d[g].ranges.length>1)return!0;return!1}_enrichVisibleRangesWithStyle(d,g,o){const J=this._typicalHalfwidthCharacterWidth/4;let T=null,sa=null;if(o&&o.length>0&&g.length>0){const Ia=g[0].lineNumber;if(Ia===d.startLineNumber)for(let bb=0;!T&&bb<o.length;bb++)o[bb].lineNumber===Ia&&(T=o[bb].ranges[0]);const Sa=g[g.length-1].lineNumber;if(Sa===d.endLineNumber)for(let bb=o.length-1;!sa&&bb>=0;bb--)o[bb].lineNumber===Sa&&(sa=o[bb].ranges[0]);T&&!T.startStyle&&(T=null),sa&&!sa.startStyle&&(sa=null)}for(let Ia=0,Sa=g.length;Ia<Sa;Ia++){const bb=g[Ia].ranges[0],ib=bb.left,ob=bb.left+bb.width,Mb={top:0,bottom:0},Gb={top:0,bottom:0};if(Ia>0){const ac=g[Ia-1].ranges[0].left,gc=g[Ia-1].ranges[0].left+g[Ia-1].ranges[0].width;cc(ib-ac)<J?Mb.top=2:ib>ac&&(Mb.top=1),cc(ob-gc)<J?Gb.top=2:ac<ob&&ob<gc&&(Gb.top=1)}else T&&(Mb.top=T.startStyle.top,Gb.top=T.endStyle.top);if(Ia+1<Sa){const ac=g[Ia+1].ranges[0].left,gc=g[Ia+1].ranges[0].left+g[Ia+1].ranges[0].width;cc(ib-ac)<J?Mb.bottom=2:ac<ib&&ib<gc&&(Mb.bottom=1),cc(ob-gc)<J?Gb.bottom=2:ob<gc&&(Gb.bottom=1)}else sa&&(Mb.bottom=sa.startStyle.bottom,Gb.bottom=sa.endStyle.bottom);bb.startStyle=Mb,bb.endStyle=Gb}}_getVisibleRangesWithStyle(d,g,o){const J=(g.linesVisibleRangesForRange(d,!0)||[]).map(Vb),T=this._visibleRangesHaveGaps(J);return hc||T||!this._roundedSelection||this._enrichVisibleRangesWithStyle(g.visibleRange,J,o),J}_createSelectionPiece(d,g,o,J,T){return'<div class="cslr '+o+'" style="top:'+d.toString()+"px;left:"+J.toString()+"px;width:"+T.toString()+"px;height:"+g+'px;"></div>'}_actualRenderOneSelection(d,g,o,J){if(0===J.length)return;const T=!!J[0].ranges[0].startStyle,sa=this._lineHeight.toString(),Ia=(this._lineHeight-1).toString(),Sa=J[0].lineNumber,bb=J[J.length-1].lineNumber;for(let ib=0,ob=J.length;ib<ob;ib++){const Mb=J[ib],Gb=Mb.lineNumber,ac=Gb-g,gc=o&&(Gb===bb||Gb===Sa)?Ia:sa,Gc=o&&Gb===Sa?1:0;let Qc="",Jc="";for(let Wc=0,_c=Mb.ranges.length;Wc<_c;Wc++){const Zc=Mb.ranges[Wc];if(T){const Id=Zc.startStyle,sd=Zc.endStyle;if(1===Id.top||1===Id.bottom){Qc+=this._createSelectionPiece(Gc,gc,Tb.SELECTION_CLASS_NAME,Zc.left-Tb.ROUNDED_PIECE_WIDTH,Tb.ROUNDED_PIECE_WIDTH);let Pd=Tb.EDITOR_BACKGROUND_CLASS_NAME;1===Id.top&&(Pd+=" "+Tb.SELECTION_TOP_RIGHT),1===Id.bottom&&(Pd+=" "+Tb.SELECTION_BOTTOM_RIGHT),Qc+=this._createSelectionPiece(Gc,gc,Pd,Zc.left-Tb.ROUNDED_PIECE_WIDTH,Tb.ROUNDED_PIECE_WIDTH)}if(1===sd.top||1===sd.bottom){Qc+=this._createSelectionPiece(Gc,gc,Tb.SELECTION_CLASS_NAME,Zc.left+Zc.width,Tb.ROUNDED_PIECE_WIDTH);let Pd=Tb.EDITOR_BACKGROUND_CLASS_NAME;1===sd.top&&(Pd+=" "+Tb.SELECTION_TOP_LEFT),1===sd.bottom&&(Pd+=" "+Tb.SELECTION_BOTTOM_LEFT),Qc+=this._createSelectionPiece(Gc,gc,Pd,Zc.left+Zc.width,Tb.ROUNDED_PIECE_WIDTH)}}let bd=Tb.SELECTION_CLASS_NAME;if(T){const Id=Zc.startStyle,sd=Zc.endStyle;0===Id.top&&(bd+=" "+Tb.SELECTION_TOP_LEFT),0===Id.bottom&&(bd+=" "+Tb.SELECTION_BOTTOM_LEFT),0===sd.top&&(bd+=" "+Tb.SELECTION_TOP_RIGHT),0===sd.bottom&&(bd+=" "+Tb.SELECTION_BOTTOM_RIGHT)}Jc+=this._createSelectionPiece(Gc,gc,bd,Zc.left,Zc.width)}d[ac][0]+=Qc,d[ac][1]+=Jc}}prepareRender(d){const g=[],o=d.visibleRange.startLineNumber,J=d.visibleRange.endLineNumber;for(let sa=o;sa<=J;sa++)g[sa-o]=["",""];const T=[];for(let sa=0,Ia=this._selections.length;sa<Ia;sa++){const Sa=this._selections[sa];if(Sa.isEmpty()){T[sa]=null;continue}const bb=this._getVisibleRangesWithStyle(Sa,d,this._previousFrameVisibleRangesWithStyle[sa]);T[sa]=bb,this._actualRenderOneSelection(g,o,this._selections.length>1,bb)}this._previousFrameVisibleRangesWithStyle=T,this._renderResult=g.map(([sa,Ia])=>sa+Ia)}render(d,g){if(!this._renderResult)return"";const o=g-d;return o<0||o>=this._renderResult.length?"":this._renderResult[o]}}function cc(d){return d<0?-d:d}Tb.SELECTION_CLASS_NAME="selected-text",Tb.SELECTION_TOP_LEFT="top-left-radius",Tb.SELECTION_BOTTOM_LEFT="bottom-left-radius",Tb.SELECTION_TOP_RIGHT="top-right-radius",Tb.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Tb.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Tb.ROUNDED_PIECE_WIDTH=10,Object(za.g)((d,g)=>{const o=d.getColor(ub.O);o&&g.addRule(`.monaco-editor .focused .selected-text { background-color: ${o}; }`);const J=d.getColor(ub.J);J&&g.addRule(`.monaco-editor .selected-text { background-color: ${J}; }`);const T=d.getColor(ub.P);T&&!T.isTransparent()&&g.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${T}; }`)}),f(242);class Rc{constructor(d,g,o,J,T,sa){this.top=d,this.left=g,this.width=o,this.height=J,this.textContent=T,this.textContentClassName=sa}}class gd{constructor(d){this._context=d;const g=this._context.configuration.options,o=g.get(36);this._cursorStyle=g.get(19),this._lineHeight=g.get(51),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(g.get(22),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(D.b)(document.createElement("div")),this._domNode.setClassName("cursor "+xc.a),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),R.a.applyFontInfo(this._domNode,o),this._domNode.setDisplay("none"),this._position=new Fb.a(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(36);return this._cursorStyle=g.get(19),this._lineHeight=g.get(51),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(g.get(22),this._typicalHalfwidthCharacterWidth),R.a.applyFontInfo(this._domNode,o),!0}onCursorPositionChanged(d){return this._position=d,!0}_prepareRender(d){let g="";if(this._cursorStyle===ua.i.Line||this._cursorStyle===ua.i.LineThin){const Mb=d.visibleRangeForPosition(this._position);if(!Mb||Mb.outsideRenderedLine)return null;let Gb;if(this._cursorStyle===ua.i.Line){if(Gb=q.t(this._lineCursorWidth>0?this._lineCursorWidth:2),Gb>2){const Gc=this._context.model.getLineContent(this._position.lineNumber),Qc=tb.L(Gc,this._position.column-1);g=Gc.substr(this._position.column-1,Qc)}}else Gb=q.t(1);let ac=Mb.left;Gb>=2&&ac>=1&&(ac-=1);const gc=d.getVerticalOffsetForLineNumber(this._position.lineNumber)-d.bigNumbersDelta;return new Rc(gc,ac,Gb,this._lineHeight,g,"")}const o=this._context.model.getLineContent(this._position.lineNumber),J=tb.L(o,this._position.column-1),T=d.linesVisibleRangesForRange(new wb.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+J),!1);if(!T||0===T.length)return null;const sa=T[0];if(sa.outsideRenderedLine||0===sa.ranges.length)return null;const Ia=sa.ranges[0],Sa=Ia.width<1?this._typicalHalfwidthCharacterWidth:Ia.width;let bb="";if(this._cursorStyle===ua.i.Block){const Mb=this._context.model.getViewLineData(this._position.lineNumber);g=o.substr(this._position.column-1,J);const Gb=Mb.tokens.findTokenIndexAtOffset(this._position.column-1);bb=Mb.tokens.getClassName(Gb)}let ib=d.getVerticalOffsetForLineNumber(this._position.lineNumber)-d.bigNumbersDelta,ob=this._lineHeight;return this._cursorStyle!==ua.i.Underline&&this._cursorStyle!==ua.i.UnderlineThin||(ib+=this._lineHeight-2,ob=2),new Rc(ib,Ia.left,Sa,ob,g,bb)}prepareRender(d){this._renderData=this._prepareRender(d)}render(d){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${xc.a} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class od extends Ba{constructor(d){super(d);const g=this._context.configuration.options;this._readOnly=g.get(72),this._cursorBlinking=g.get(17),this._cursorStyle=g.get(19),this._cursorSmoothCaretAnimation=g.get(18),this._selectionIsEmpty=!0,this._isVisible=!1,this._primaryCursor=new gd(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=Object(D.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new k.e(),this._cursorFlatBlinkInterval=new k.c(),this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(d){const g=this._context.configuration.options;this._readOnly=g.get(72),this._cursorBlinking=g.get(17),this._cursorStyle=g.get(19),this._cursorSmoothCaretAnimation=g.get(18),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(d);for(let o=0,J=this._secondaryCursors.length;o<J;o++)this._secondaryCursors[o].onConfigurationChanged(d);return!0}_onCursorPositionChanged(d,g){if(this._primaryCursor.onCursorPositionChanged(d),this._updateBlinking(),this._secondaryCursors.length<g.length){const o=g.length-this._secondaryCursors.length;for(let J=0;J<o;J++){const T=new gd(this._context);this._domNode.domNode.insertBefore(T.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(T)}}else if(this._secondaryCursors.length>g.length){const o=this._secondaryCursors.length-g.length;for(let J=0;J<o;J++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let o=0;o<g.length;o++)this._secondaryCursors[o].onCursorPositionChanged(g[o])}onCursorStateChanged(d){const g=[];for(let J=0,T=d.selections.length;J<T;J++)g[J]=d.selections[J].getPosition();this._onCursorPositionChanged(g[0],g.slice(1));const o=d.selections[0].isEmpty();return this._selectionIsEmpty!==o&&(this._selectionIsEmpty=o,this._updateDomClassName()),!0}onDecorationsChanged(d){return!0}onFlushed(d){return!0}onFocusChanged(d){return this._editorHasFocus=d.isFocused,this._updateBlinking(),!1}onLinesChanged(d){return!0}onLinesDeleted(d){return!0}onLinesInserted(d){return!0}onScrollChanged(d){return!0}onTokensChanged(d){const g=o=>{for(let J=0,T=d.ranges.length;J<T;J++)if(d.ranges[J].fromLineNumber<=o.lineNumber&&o.lineNumber<=d.ranges[J].toLineNumber)return!0;return!1};if(g(this._primaryCursor.getPosition()))return!0;for(const o of this._secondaryCursors)if(g(o.getPosition()))return!0;return!1}onZonesChanged(d){return!0}_getCursorBlinking(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();const d=this._getCursorBlinking(),g=0===d,o=5===d;g?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),g||o||(1===d?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},od.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},od.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let d="cursors-layer";switch(this._selectionIsEmpty||(d+=" has-selection"),this._cursorStyle){case ua.i.Line:d+=" cursor-line-style";break;case ua.i.Block:d+=" cursor-block-style";break;case ua.i.Underline:d+=" cursor-underline-style";break;case ua.i.LineThin:d+=" cursor-line-thin-style";break;case ua.i.BlockOutline:d+=" cursor-block-outline-style";break;case ua.i.UnderlineThin:d+=" cursor-underline-thin-style";break;default:d+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:d+=" cursor-blink";break;case 2:d+=" cursor-smooth";break;case 3:d+=" cursor-phase";break;case 4:d+=" cursor-expand";break;case 5:d+=" cursor-solid";break;default:d+=" cursor-solid"}else d+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(d+=" cursor-smooth-caret-animation"),d}_show(){this._primaryCursor.show();for(let d=0,g=this._secondaryCursors.length;d<g;d++)this._secondaryCursors[d].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let d=0,g=this._secondaryCursors.length;d<g;d++)this._secondaryCursors[d].hide();this._isVisible=!1}prepareRender(d){this._primaryCursor.prepareRender(d);for(let g=0,o=this._secondaryCursors.length;g<o;g++)this._secondaryCursors[g].prepareRender(d)}render(d){let g=[],o=0;const J=this._primaryCursor.render(d);J&&(g[o++]=J);for(let T=0,sa=this._secondaryCursors.length;T<sa;T++){const Ia=this._secondaryCursors[T].render(d);Ia&&(g[o++]=Ia)}this._renderData=g}getLastRenderData(){return this._renderData}}od.BLINK_INTERVAL=500,Object(za.g)((d,g)=>{const o=d.getColor(Hc.g);if(o){let J=d.getColor(Hc.f);J||(J=o.opposite()),g.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${o}; border-color: ${o}; color: ${J}; }`),"hc"===d.type&&g.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${J}; border-right: 1px solid ${J}; }`)}});const Wb=()=>{throw new Error("Invalid change accessor")};class Zb extends Ba{constructor(d){super(d);const g=this._context.configuration.options,o=g.get(117);this._lineHeight=g.get(51),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this.domNode=Object(D.b)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=Object(D.b)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const d=this._context.viewLayout.getWhitespaces(),g=new Map();for(const J of d)g.set(J.id,J);let o=!1;return this._context.model.changeWhitespace(J=>{const T=Object.keys(this._zones);for(let sa=0,Ia=T.length;sa<Ia;sa++){const Sa=T[sa],bb=this._zones[Sa],ib=this._computeWhitespaceProps(bb.delegate),ob=g.get(Sa);!ob||ob.afterLineNumber===ib.afterViewLineNumber&&ob.height===ib.heightInPx||(J.changeOneWhitespace(Sa,ib.afterViewLineNumber,ib.heightInPx),this._safeCallOnComputedHeight(bb.delegate,ib.heightInPx),o=!0)}}),o}onConfigurationChanged(d){const g=this._context.configuration.options,o=g.get(117);return this._lineHeight=g.get(51),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,d.hasChanged(51)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(d){return this._recomputeWhitespacesProps()}onLinesDeleted(d){return!0}onScrollChanged(d){return d.scrollTopChanged||d.scrollWidthChanged}onZonesChanged(d){return!0}onLinesInserted(d){return!0}_getZoneOrdinal(d){return void 0!==d.afterColumn?d.afterColumn:1e4}_computeWhitespaceProps(d){if(0===d.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(d),minWidthInPx:this._minWidthInPixels(d)};let g,o;if(void 0!==d.afterColumn)g=this._context.model.validateModelPosition({lineNumber:d.afterLineNumber,column:d.afterColumn});else{const sa=this._context.model.validateModelPosition({lineNumber:d.afterLineNumber,column:1}).lineNumber;g=new Fb.a(sa,this._context.model.getModelLineMaxColumn(sa))}o=g.column===this._context.model.getModelLineMaxColumn(g.lineNumber)?this._context.model.validateModelPosition({lineNumber:g.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:g.lineNumber,column:g.column+1});const J=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(g),T=this._context.model.coordinatesConverter.modelPositionIsVisible(o);return{afterViewLineNumber:J.lineNumber,heightInPx:T?this._heightInPixels(d):0,minWidthInPx:this._minWidthInPixels(d)}}changeViewZones(d){let g=!1;return this._context.model.changeWhitespace(o=>{const J={addZone:T=>(g=!0,this._addZone(o,T)),removeZone:T=>{T&&(g=this._removeZone(o,T)||g)},layoutZone:T=>{T&&(g=this._layoutZone(o,T)||g)}};!function(T,sa){try{T(sa)}catch(Ia){Object(y.e)(Ia)}}(d,J),J.addZone=Wb,J.removeZone=Wb,J.layoutZone=Wb}),g}_addZone(d,g){const o=this._computeWhitespaceProps(g),J={whitespaceId:d.insertWhitespace(o.afterViewLineNumber,this._getZoneOrdinal(g),o.heightInPx,o.minWidthInPx),delegate:g,isVisible:!1,domNode:Object(D.b)(g.domNode),marginDomNode:g.marginDomNode?Object(D.b)(g.marginDomNode):null};return this._safeCallOnComputedHeight(J.delegate,o.heightInPx),J.domNode.setPosition("absolute"),J.domNode.domNode.style.width="100%",J.domNode.setDisplay("none"),J.domNode.setAttribute("monaco-view-zone",J.whitespaceId),this.domNode.appendChild(J.domNode),J.marginDomNode&&(J.marginDomNode.setPosition("absolute"),J.marginDomNode.domNode.style.width="100%",J.marginDomNode.setDisplay("none"),J.marginDomNode.setAttribute("monaco-view-zone",J.whitespaceId),this.marginDomNode.appendChild(J.marginDomNode)),this._zones[J.whitespaceId]=J,this.setShouldRender(),J.whitespaceId}_removeZone(d,g){if(this._zones.hasOwnProperty(g)){const o=this._zones[g];return delete this._zones[g],d.removeWhitespace(o.whitespaceId),o.domNode.removeAttribute("monaco-visible-view-zone"),o.domNode.removeAttribute("monaco-view-zone"),o.domNode.domNode.parentNode.removeChild(o.domNode.domNode),o.marginDomNode&&(o.marginDomNode.removeAttribute("monaco-visible-view-zone"),o.marginDomNode.removeAttribute("monaco-view-zone"),o.marginDomNode.domNode.parentNode.removeChild(o.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(d,g){if(this._zones.hasOwnProperty(g)){const o=this._zones[g],J=this._computeWhitespaceProps(o.delegate);return d.changeOneWhitespace(o.whitespaceId,J.afterViewLineNumber,J.heightInPx),this._safeCallOnComputedHeight(o.delegate,J.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(d){if(this._zones.hasOwnProperty(d)){const g=this._zones[d];return Boolean(g.delegate.suppressMouseDown)}return!1}_heightInPixels(d){return"number"==typeof d.heightInPx?d.heightInPx:"number"==typeof d.heightInLines?this._lineHeight*d.heightInLines:this._lineHeight}_minWidthInPixels(d){return"number"==typeof d.minWidthInPx?d.minWidthInPx:0}_safeCallOnComputedHeight(d,g){if("function"==typeof d.onComputedHeight)try{d.onComputedHeight(g)}catch(o){Object(y.e)(o)}}_safeCallOnDomNodeTop(d,g){if("function"==typeof d.onDomNodeTop)try{d.onDomNodeTop(g)}catch(o){Object(y.e)(o)}}prepareRender(d){}render(d){const g=d.viewportData.whitespaceViewportData,o={};let J=!1;for(let sa=0,Ia=g.length;sa<Ia;sa++)o[g[sa].id]=g[sa],J=!0;const T=Object.keys(this._zones);for(let sa=0,Ia=T.length;sa<Ia;sa++){const Sa=T[sa],bb=this._zones[Sa];let ib=0,ob=0,Mb="none";o.hasOwnProperty(Sa)?(ib=o[Sa].verticalOffset-d.bigNumbersDelta,ob=o[Sa].height,Mb="block",bb.isVisible||(bb.domNode.setAttribute("monaco-visible-view-zone","true"),bb.isVisible=!0),this._safeCallOnDomNodeTop(bb.delegate,d.getScrolledTopFromAbsoluteTop(o[Sa].verticalOffset))):(bb.isVisible&&(bb.domNode.removeAttribute("monaco-visible-view-zone"),bb.isVisible=!1),this._safeCallOnDomNodeTop(bb.delegate,d.getScrolledTopFromAbsoluteTop(-1e6))),bb.domNode.setTop(ib),bb.domNode.setHeight(ob),bb.domNode.setDisplay(Mb),bb.marginDomNode&&(bb.marginDomNode.setTop(ib),bb.marginDomNode.setHeight(ob),bb.marginDomNode.setDisplay(Mb))}J&&(this.domNode.setWidth(Math.max(d.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}class kc{constructor(d){this._theme=d}get type(){return this._theme.type}update(d){this._theme=d}getColor(d){return this._theme.getColor(d)}}class hd{constructor(d,g,o){this.configuration=d,this.theme=new kc(g),this.model=o,this.viewLayout=o.viewLayout}addEventHandler(d){this.model.addViewEventHandler(d)}removeEventHandler(d){this.model.removeViewEventHandler(d)}}class ld{constructor(d,g,o,J){this.selections=d,this.startLineNumber=0|g.startLineNumber,this.endLineNumber=0|g.endLineNumber,this.relativeVerticalOffset=g.relativeVerticalOffset,this.bigNumbersDelta=0|g.bigNumbersDelta,this.whitespaceViewportData=o,this._model=J,this.visibleRange=new wb.a(g.startLineNumber,this._model.getLineMinColumn(g.startLineNumber),g.endLineNumber,this._model.getLineMaxColumn(g.endLineNumber))}getViewLineRenderingData(d){return this._model.getViewLineRenderingData(this.visibleRange,d)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class fd extends ga{constructor(d,g,o,J,T,sa){super(),this._selections=[new z.a(1,1,1,1)],this._renderAnimationFrame=null;const Ia=new Pc(g,J,T,d);this._context=new hd(g,o.getColorTheme(),J),this._context.addEventHandler(this),this._register(o.onDidColorThemeChange(gc=>{this._context.theme.update(gc),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new dc(this._context,Ia,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=Object(D.b)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=Object(D.b)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=Object(D.b)(document.createElement("div")),N.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new Ta(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new pc(this._context,this._linesContent),this._viewZones=new Zb(this._context),this._viewParts.push(this._viewZones);const Sa=new Ja(this._context);this._viewParts.push(Sa);const bb=new Xa(this._context);this._viewParts.push(bb);const ib=new _d(this._context);this._viewParts.push(ib),ib.addDynamicOverlay(new K(this._context)),ib.addDynamicOverlay(new Tb(this._context)),ib.addDynamicOverlay(new Jb(this._context)),ib.addDynamicOverlay(new ia(this._context));const ob=new oe(this._context);this._viewParts.push(ob),ob.addDynamicOverlay(new W(this._context)),ob.addDynamicOverlay(new Bb(this._context)),ob.addDynamicOverlay(new Ec(this._context)),ob.addDynamicOverlay(new yc(this._context)),ob.addDynamicOverlay(new Bc(this._context));const Mb=new Vc(this._context);Mb.getDomNode().appendChild(this._viewZones.marginDomNode),Mb.getDomNode().appendChild(ob.getDomNode()),this._viewParts.push(Mb),this._contentWidgets=new Qd(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new od(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new Aa(this._context),this._viewParts.push(this._overlayWidgets);const Gb=new Fa(this._context);this._viewParts.push(Gb);const ac=new qc(this._context);if(this._viewParts.push(ac),Sa){const gc=this._scrollbar.getOverviewRulerLayoutInfo();gc.parent.insertBefore(Sa.getDomNode(),gc.insertBefore)}this._linesContent.appendChild(ib.getDomNode()),this._linesContent.appendChild(Gb.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(Mb.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(bb.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(ac.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),sa?sa.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new kb(this._context,Ia,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},getLastRenderData:()=>{const d=this._viewCursors.getLastRenderData()||[],g=this._textAreaHandler.getLastRenderData();return new rb(d,g)},shouldSuppressMouseDownOnViewZone:d=>this._viewZones.shouldSuppressMouseDownOnViewZone(d),shouldSuppressMouseDownOnWidget:d=>this._contentWidgets.shouldSuppressMouseDownOnWidget(d),getPositionFromDOMInfo:(d,g)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(d,g)),visibleRangeForPosition:(d,g)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new Fb.a(d,g))),getLineWidth:d=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(d))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(d,g)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new Fb.a(d,g)))}}_applyLayout(){const d=this._context.configuration.options.get(117);this.domNode.setWidth(d.width),this.domNode.setHeight(d.height),this._overflowGuardContainer.setWidth(d.width),this._overflowGuardContainer.setHeight(d.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const d=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(114)+" "+Object(za.f)(this._context.theme.type)+d}handleEvents(d){super.handleEvents(d),this._scheduleRender()}onConfigurationChanged(d){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(d){return this._selections=d.selections,!1}onFocusChanged(d){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(d){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(let d=0,g=this._viewParts.length;d<g;d++)this._viewParts[d].dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=q.W(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){!function(d){try{d()}catch(g){Object(y.e)(g)}}(()=>this._actualRender())}_getViewPartsToRender(){let d=[],g=0;for(let o=0,J=this._viewParts.length;o<J;o++){const T=this._viewParts[o];T.shouldRender()&&(d[g++]=T)}return d}_actualRender(){if(!q.N(this.domNode.domNode))return;let d=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===d.length)return;const g=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(g.startLineNumber,g.endLineNumber,g.centeredLineNumber);const o=new ld(this._selections,g,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(o),this._viewLines.shouldRender()&&(this._viewLines.renderText(o),this._viewLines.onDidRender(),d=this._getViewPartsToRender());const J=new V(this._context.viewLayout,o,this._viewLines);for(let T=0,sa=d.length;T<sa;T++)d[T].prepareRender(J);for(let T=0,sa=d.length;T<sa;T++){const Ia=d[T];Ia.render(J),Ia.onDidRender()}}delegateVerticalScrollbarMouseDown(d){this._scrollbar.delegateVerticalScrollbarMouseDown(d)}restoreState(d){this._context.model.setScrollPosition({scrollTop:d.scrollTop},1),this._context.model.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.model.setScrollPosition({scrollLeft:d.scrollLeft},1)}getOffsetForColumn(d,g){const o=this._context.model.validateModelPosition({lineNumber:d,column:g}),J=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(o);this._flushAccumulatedAndRenderNow();const T=this._viewLines.visibleRangeForPosition(new Fb.a(J.lineNumber,J.column));return T?T.left:-1}getTargetAtClientPoint(d,g){const o=this._pointerHandler.getTargetAtClientPoint(d,g);return o?Nc.convertViewToModelMouseTarget(o,this._context.model.coordinatesConverter):null}createOverviewRuler(d){return new Pa(this._context,d)}change(d){this._viewZones.changeViewZones(d),this._scheduleRender()}render(d,g){if(g){this._viewLines.forceShouldRender();for(let o=0,J=this._viewParts.length;o<J;o++)this._viewParts[o].forceShouldRender()}d?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(d){this._textAreaHandler.setAriaOptions(d)}addContentWidget(d){this._contentWidgets.addWidget(d.widget),this.layoutContentWidget(d),this._scheduleRender()}layoutContentWidget(d){let g=d.position&&d.position.range||null;if(null===g){const J=d.position?d.position.position:null;null!==J&&(g=new wb.a(J.lineNumber,J.column,J.lineNumber,J.column))}const o=d.position?d.position.preference:null;this._contentWidgets.setWidgetPosition(d.widget,g,o),this._scheduleRender()}removeContentWidget(d){this._contentWidgets.removeWidget(d.widget),this._scheduleRender()}addOverlayWidget(d){this._overlayWidgets.addWidget(d.widget),this.layoutOverlayWidget(d),this._scheduleRender()}layoutOverlayWidget(d){const g=d.position?d.position.preference:null;this._overlayWidgets.setWidgetPosition(d.widget,g)&&this._scheduleRender()}removeOverlayWidget(d){this._overlayWidgets.removeWidget(d.widget),this._scheduleRender()}}class md{constructor(d){this._selTrackedRange=null,this._trackSelection=!0,this._setState(d,new tc.f(new wb.a(1,1,1,1),0,new Fb.a(1,1),0),new tc.f(new wb.a(1,1,1,1),0,new Fb.a(1,1),0))}dispose(d){this._removeTrackedRange(d)}startTrackingSelection(d){this._trackSelection=!0,this._updateTrackedRange(d)}stopTrackingSelection(d){this._trackSelection=!1,this._removeTrackedRange(d)}_updateTrackedRange(d){this._trackSelection&&(this._selTrackedRange=d.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(d){this._selTrackedRange=d.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new tc.d(this.modelState,this.viewState)}readSelectionFromMarkers(d){const g=d.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new z.a(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn):new z.a(g.endLineNumber,g.endColumn,g.startLineNumber,g.startColumn)}ensureValidState(d){this._setState(d,this.modelState,this.viewState)}setState(d,g,o){this._setState(d,g,o)}_setState(d,g,o){if(g){const J=d.model.validateRange(g.selectionStart),T=g.selectionStart.equalsRange(J)?g.selectionStartLeftoverVisibleColumns:0,sa=d.model.validatePosition(g.position),Ia=g.position.equals(sa)?g.leftoverVisibleColumns:0;g=new tc.f(J,T,sa,Ia)}else{if(!o)return;const J=d.model.validateRange(d.coordinatesConverter.convertViewRangeToModelRange(o.selectionStart)),T=d.model.validatePosition(d.coordinatesConverter.convertViewPositionToModelPosition(o.position));g=new tc.f(J,o.selectionStartLeftoverVisibleColumns,T,o.leftoverVisibleColumns)}if(o){const J=d.coordinatesConverter.validateViewRange(o.selectionStart,g.selectionStart),T=d.coordinatesConverter.validateViewPosition(o.position,g.position);o=new tc.f(J,g.selectionStartLeftoverVisibleColumns,T,g.leftoverVisibleColumns)}else{const J=d.coordinatesConverter.convertModelPositionToViewPosition(new Fb.a(g.selectionStart.startLineNumber,g.selectionStart.startColumn)),T=d.coordinatesConverter.convertModelPositionToViewPosition(new Fb.a(g.selectionStart.endLineNumber,g.selectionStart.endColumn)),sa=new wb.a(J.lineNumber,J.column,T.lineNumber,T.column),Ia=d.coordinatesConverter.convertModelPositionToViewPosition(g.position);o=new tc.f(sa,g.selectionStartLeftoverVisibleColumns,Ia,g.leftoverVisibleColumns)}this.modelState=g,this.viewState=o,this._updateTrackedRange(d)}}class rd{constructor(d){this.context=d,this.primaryCursor=new md(d),this.secondaryCursors=[],this.lastAddedCursorIndex=0}dispose(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()}startTrackingSelections(){this.primaryCursor.startTrackingSelection(this.context);for(let d=0,g=this.secondaryCursors.length;d<g;d++)this.secondaryCursors[d].startTrackingSelection(this.context)}stopTrackingSelections(){this.primaryCursor.stopTrackingSelection(this.context);for(let d=0,g=this.secondaryCursors.length;d<g;d++)this.secondaryCursors[d].stopTrackingSelection(this.context)}updateContext(d){this.context=d}ensureValidState(){this.primaryCursor.ensureValidState(this.context);for(let d=0,g=this.secondaryCursors.length;d<g;d++)this.secondaryCursors[d].ensureValidState(this.context)}readSelectionFromMarkers(){let d=[];d[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(let g=0,o=this.secondaryCursors.length;g<o;g++)d[g+1]=this.secondaryCursors[g].readSelectionFromMarkers(this.context);return d}getAll(){let d=[];d[0]=this.primaryCursor.asCursorState();for(let g=0,o=this.secondaryCursors.length;g<o;g++)d[g+1]=this.secondaryCursors[g].asCursorState();return d}getViewPositions(){let d=[];d[0]=this.primaryCursor.viewState.position;for(let g=0,o=this.secondaryCursors.length;g<o;g++)d[g+1]=this.secondaryCursors[g].viewState.position;return d}getTopMostViewPosition(){let d=this.primaryCursor.viewState.position;for(let g=0,o=this.secondaryCursors.length;g<o;g++){const J=this.secondaryCursors[g].viewState.position;J.isBefore(d)&&(d=J)}return d}getBottomMostViewPosition(){let d=this.primaryCursor.viewState.position;for(let g=0,o=this.secondaryCursors.length;g<o;g++){const J=this.secondaryCursors[g].viewState.position;d.isBeforeOrEqual(J)&&(d=J)}return d}getSelections(){let d=[];d[0]=this.primaryCursor.modelState.selection;for(let g=0,o=this.secondaryCursors.length;g<o;g++)d[g+1]=this.secondaryCursors[g].modelState.selection;return d}getViewSelections(){let d=[];d[0]=this.primaryCursor.viewState.selection;for(let g=0,o=this.secondaryCursors.length;g<o;g++)d[g+1]=this.secondaryCursors[g].viewState.selection;return d}setSelections(d){this.setStates(tc.d.fromModelSelections(d))}getPrimaryCursor(){return this.primaryCursor.asCursorState()}setStates(d){null!==d&&(this.primaryCursor.setState(this.context,d[0].modelState,d[0].viewState),this._setSecondaryStates(d.slice(1)))}_setSecondaryStates(d){const g=this.secondaryCursors.length,o=d.length;if(g<o){let J=o-g;for(let T=0;T<J;T++)this._addSecondaryCursor()}else if(g>o){let J=g-o;for(let T=0;T<J;T++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(let J=0;J<o;J++)this.secondaryCursors[J].setState(this.context,d[J].modelState,d[J].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.secondaryCursors.push(new md(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length}getLastAddedCursorIndex(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex}_removeSecondaryCursor(d){this.lastAddedCursorIndex>=d+1&&this.lastAddedCursorIndex--,this.secondaryCursors[d].dispose(this.context),this.secondaryCursors.splice(d,1)}_getAll(){let d=[];d[0]=this.primaryCursor;for(let g=0,o=this.secondaryCursors.length;g<o;g++)d[g+1]=this.secondaryCursors[g];return d}normalize(){if(0===this.secondaryCursors.length)return;let d=this._getAll(),g=[];for(let o=0,J=d.length;o<J;o++)g.push({index:o,selection:d[o].modelState.selection});g.sort((o,J)=>o.selection.startLineNumber===J.selection.startLineNumber?o.selection.startColumn-J.selection.startColumn:o.selection.startLineNumber-J.selection.startLineNumber);for(let o=0;o<g.length-1;o++){const J=g[o],T=g[o+1],sa=J.selection,Ia=T.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let Sa;if(Sa=Ia.isEmpty()||sa.isEmpty()?Ia.getStartPosition().isBeforeOrEqual(sa.getEndPosition()):Ia.getStartPosition().isBefore(sa.getEndPosition()),Sa){const bb=J.index<T.index?o:o+1,ib=J.index<T.index?o+1:o,ob=g[ib].index,Mb=g[bb].index,Gb=g[ib].selection,ac=g[bb].selection;if(!Gb.equalsSelection(ac)){const gc=Gb.plusRange(ac),Gc=Gb.selectionStartLineNumber===Gb.startLineNumber&&Gb.selectionStartColumn===Gb.startColumn,Qc=ac.selectionStartLineNumber===ac.startLineNumber&&ac.selectionStartColumn===ac.startColumn;let Jc,Wc;ob===this.lastAddedCursorIndex?(Jc=Gc,this.lastAddedCursorIndex=Mb):Jc=Qc,Wc=Jc?new z.a(gc.startLineNumber,gc.startColumn,gc.endLineNumber,gc.endColumn):new z.a(gc.endLineNumber,gc.endColumn,gc.startLineNumber,gc.startColumn),g[bb].selection=Wc;const _c=tc.d.fromModelSelection(Wc);d[Mb].setState(this.context,_c.modelState,_c.viewState)}for(const gc of g)gc.index>ob&&gc.index--;d.splice(ob,1),g.splice(ib,1),this._removeSecondaryCursor(ob-1),o--}}}}var yd=f(181),Vd=f(126);class Sd{constructor(d){this.type=0,this._source=d}hasChanged(d){return this._source.hasChanged(d)}}class Ae{constructor(d,g){this.type=1,this.selections=d,this.modelSelections=g}}class Ce{constructor(d){this.type=2,d?(this.affectsMinimap=d.affectsMinimap,this.affectsOverviewRuler=d.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class Cd{constructor(){this.type=3}}class Fd{constructor(d){this.type=4,this.isFocused=d}}class Wd{constructor(){this.type=5}}class pe{constructor(){this.type=6}}class De{constructor(d,g){this.type=7,this.fromLineNumber=d,this.toLineNumber=g}}class ue{constructor(d,g){this.type=8,this.fromLineNumber=d,this.toLineNumber=g}}class ve{constructor(d,g){this.type=9,this.fromLineNumber=d,this.toLineNumber=g}}class je{constructor(d,g,o,J,T,sa){this.type=10,this.source=d,this.range=g,this.selections=o,this.verticalType=J,this.revealHorizontal=T,this.scrollType=sa}}class zd{constructor(d){this.type=11,this.scrollWidth=d.scrollWidth,this.scrollLeft=d.scrollLeft,this.scrollHeight=d.scrollHeight,this.scrollTop=d.scrollTop,this.scrollWidthChanged=d.scrollWidthChanged,this.scrollLeftChanged=d.scrollLeftChanged,this.scrollHeightChanged=d.scrollHeightChanged,this.scrollTopChanged=d.scrollTopChanged}}class ye{constructor(){this.type=12}}class Pe{constructor(d){this.type=13,this.ranges=d}}class kf{constructor(){this.type=14}}class qe{constructor(){this.type=15}}class _f extends P.a{constructor(){super(),this._onEvent=this._register(new F.a()),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(d){this._addOutgoingEvent(d),this._emitOugoingEvents()}_addOutgoingEvent(d){for(let g=0,o=this._outgoingEvents.length;g<o;g++)if(this._outgoingEvents[g].kind===d.kind)return void(this._outgoingEvents[g]=this._outgoingEvents[g].merge(d));this._outgoingEvents.push(d)}_emitOugoingEvents(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;const d=this._outgoingEvents.shift();d.isNoOp()||this._onEvent.fire(d)}}addViewEventHandler(d){for(let g=0,o=this._eventHandlers.length;g<o;g++)this._eventHandlers[g]===d&&console.warn("Detected duplicate listener in ViewEventDispatcher",d);this._eventHandlers.push(d)}removeViewEventHandler(d){for(let g=0;g<this._eventHandlers.length;g++)if(this._eventHandlers[g]===d){this._eventHandlers.splice(g,1);break}}beginEmitViewEvents(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new Ff()),this._collector}endEmitViewEvents(){if(this._collectorCnt--,0===this._collectorCnt){const d=this._collector.outgoingEvents,g=this._collector.viewEvents;this._collector=null;for(const o of d)this._addOutgoingEvent(o);g.length>0&&this._emitMany(g)}this._emitOugoingEvents()}emitSingleViewEvent(d){try{this.beginEmitViewEvents().emitViewEvent(d)}finally{this.endEmitViewEvents()}}_emitMany(d){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(d):this._viewEventQueue=d,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const d=this._viewEventQueue;this._viewEventQueue=null;const g=this._eventHandlers.slice(0);for(const o of g)o.handleEvents(d)}}}class Ff{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(d){this.viewEvents.push(d)}emitOutgoingEvent(d){this.outgoingEvents.push(d)}}class Rd{constructor(d,g,o,J){this.kind=0,this._oldContentWidth=d,this._oldContentHeight=g,this.contentWidth=o,this.contentHeight=J,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(d){return 0!==d.kind?this:new Rd(this._oldContentWidth,this._oldContentHeight,d.contentWidth,d.contentHeight)}}class rf{constructor(d,g){this.kind=1,this.oldHasFocus=d,this.hasFocus=g}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(d){return 1!==d.kind?this:new rf(this.oldHasFocus,d.hasFocus)}}class xe{constructor(d,g,o,J,T,sa,Ia,Sa){this.kind=2,this._oldScrollWidth=d,this._oldScrollLeft=g,this._oldScrollHeight=o,this._oldScrollTop=J,this.scrollWidth=T,this.scrollLeft=sa,this.scrollHeight=Ia,this.scrollTop=Sa,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!(this.scrollWidthChanged||this.scrollLeftChanged||this.scrollHeightChanged||this.scrollTopChanged)}merge(d){return 2!==d.kind?this:new xe(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,d.scrollWidth,d.scrollLeft,d.scrollHeight,d.scrollTop)}}class Gf{constructor(){this.kind=3}isNoOp(){return!1}merge(d){return this}}class $f{constructor(d,g,o,J,T,sa,Ia){this.kind=5,this.oldSelections=d,this.selections=g,this.oldModelVersionId=o,this.modelVersionId=J,this.source=T,this.reason=sa,this.reachedMaxCursorCount=Ia}static _selectionsAreEqual(d,g){if(!d&&!g)return!0;if(!d||!g)return!1;const o=d.length;if(o!==g.length)return!1;for(let J=0;J<o;J++)if(!d[J].equalsSelection(g[J]))return!1;return!0}isNoOp(){return $f._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(d){return 5!==d.kind?this:new $f(this.oldSelections,d.selections,this.oldModelVersionId,d.modelVersionId,d.source,d.reason,this.reachedMaxCursorCount||d.reachedMaxCursorCount)}}class Qe{constructor(){this.kind=4}isNoOp(){return!1}merge(d){return this}}class qd{constructor(d,g){this.modelVersionId=d.getVersionId(),this.cursorState=g.getCursorStates()}equals(d){if(!d)return!1;if(this.modelVersionId!==d.modelVersionId)return!1;if(this.cursorState.length!==d.cursorState.length)return!1;for(let g=0,o=this.cursorState.length;g<o;g++)if(!this.cursorState[g].equals(d.cursorState[g]))return!1;return!0}}class Be{constructor(d,g,o){this._model=d,this._autoClosedCharactersDecorations=g,this._autoClosedEnclosingDecorations=o}static getAllAutoClosedCharacters(d){let g=[];for(const o of d)g=g.concat(o.getAutoClosedCharactersRanges());return g}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){let d=[];for(let g=0;g<this._autoClosedCharactersDecorations.length;g++){const o=this._model.getDecorationRange(this._autoClosedCharactersDecorations[g]);o&&d.push(o)}return d}isValid(d){let g=[];for(let o=0;o<this._autoClosedEnclosingDecorations.length;o++){const J=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[o]);if(J&&(g.push(J),J.startLineNumber!==J.endLineNumber))return!1}g.sort(wb.a.compareRangesUsingStarts),d.sort(wb.a.compareRangesUsingStarts);for(let o=0;o<d.length;o++){if(o>=g.length)return!1;if(!g[o].strictContainsRange(d[o]))return!1}return!0}}class Ge extends P.a{constructor(d,g,o,J){super(),this._model=d,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=g,this._coordinatesConverter=o,this.context=new tc.c(this._model,this._coordinatesConverter,J),this._cursors=new rd(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=Object(P.f)(this._autoClosedActions),super.dispose()}updateConfiguration(d){this.context=new tc.c(this._model,this._coordinatesConverter,d),this._cursors.updateContext(this.context)}onLineMappingChanged(d){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(d,"viewModel",0,this.getCursorStates())}setHasFocus(d){this._hasFocus=d}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){let d=this._cursors.getSelections();for(let g=0;g<this._autoClosedActions.length;g++){const o=this._autoClosedActions[g];o.isValid(d)||(o.dispose(),this._autoClosedActions.splice(g,1),g--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(d,g,o,J){let T=!1;null!==J&&J.length>Ge.MAX_CURSOR_COUNT&&(J=J.slice(0,Ge.MAX_CURSOR_COUNT),T=!0);const sa=new qd(this._model,this);return this._cursors.setStates(J),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(d,g,o,sa,T)}setCursorColumnSelectData(d){this._columnSelectData=d}revealPrimary(d,g,o,J){const T=this._cursors.getViewPositions();if(T.length>1)this._emitCursorRevealRange(d,g,null,this._cursors.getViewSelections(),0,o,J);else{const sa=T[0],Ia=new wb.a(sa.lineNumber,sa.column,sa.lineNumber,sa.column);this._emitCursorRevealRange(d,g,Ia,null,0,o,J)}}_revealPrimaryCursor(d,g,o,J,T){const sa=this._cursors.getViewPositions();if(sa.length>1)this._emitCursorRevealRange(d,g,null,this._cursors.getViewSelections(),o,J,T);else{const Ia=sa[0],Sa=new wb.a(Ia.lineNumber,Ia.column,Ia.lineNumber,Ia.column);this._emitCursorRevealRange(d,g,Sa,null,o,J,T)}}_emitCursorRevealRange(d,g,o,J,T,sa,Ia){d.emitViewEvent(new je(g,o,J,T,sa,Ia))}saveState(){let d=[];const g=this._cursors.getSelections();for(let o=0,J=g.length;o<J;o++){const T=g[o];d.push({inSelectionMode:!T.isEmpty(),selectionStart:{lineNumber:T.selectionStartLineNumber,column:T.selectionStartColumn},position:{lineNumber:T.positionLineNumber,column:T.positionColumn}})}return d}restoreState(d,g){let o=[];for(let J=0,T=g.length;J<T;J++){const sa=g[J];let Ia=1,Sa=1;sa.position&&sa.position.lineNumber&&(Ia=sa.position.lineNumber),sa.position&&sa.position.column&&(Sa=sa.position.column);let bb=Ia,ib=Sa;sa.selectionStart&&sa.selectionStart.lineNumber&&(bb=sa.selectionStart.lineNumber),sa.selectionStart&&sa.selectionStart.column&&(ib=sa.selectionStart.column),o.push({selectionStartLineNumber:bb,selectionStartColumn:ib,positionLineNumber:Ia,positionColumn:Sa})}this.setStates(d,"restoreState",0,tc.d.fromModelSelections(o)),this.revealPrimary(d,"restoreState",!0,1)}onModelContentChanged(d,g){if(this._knownModelVersionId=g.versionId,this._isHandling)return;const o=g.containsEvent(1);if(this._prevEditOperationType=0,o)this._cursors.dispose(),this._cursors=new rd(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(d,"model",1,null,!1);else if(this._hasFocus&&g.resultingSelection&&g.resultingSelection.length>0){const J=tc.d.fromModelSelections(g.resultingSelection);this.setStates(d,"modelChange",g.isUndoing?5:g.isRedoing?6:2,J)&&this._revealPrimaryCursor(d,"modelChange",0,!0,0)}else{const J=this._cursors.readSelectionFromMarkers();this.setStates(d,"modelChange",2,tc.d.fromModelSelections(J))}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const d=this._cursors.getPrimaryCursor(),g=d.viewState.selectionStart.getStartPosition(),o=d.viewState.position;return{isReal:!1,fromViewLineNumber:g.lineNumber,fromViewVisualColumn:tc.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,g),toViewLineNumber:o.lineNumber,toViewVisualColumn:tc.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,o)}}getSelections(){return this._cursors.getSelections()}setSelections(d,g,o){this.setStates(d,g,0,tc.d.fromModelSelections(o))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(d){this._prevEditOperationType=d}_pushAutoClosedAction(d,g){let o=[],J=[];for(let Ia=0,Sa=d.length;Ia<Sa;Ia++)o.push({range:d[Ia],options:{inlineClassName:"auto-closed-character",stickiness:1}}),J.push({range:g[Ia],options:{stickiness:1}});const T=this._model.deltaDecorations([],o),sa=this._model.deltaDecorations([],J);this._autoClosedActions.push(new Be(this._model,T,sa))}_executeEditOperation(d){if(!d)return;d.shouldPushStackElementBefore&&this._model.pushStackElement();const g=class{static executeCommands(o,J,T){const sa={model:o,selectionsBefore:J,trackedRanges:[],trackedRangesDirection:[]},Ia=this._innerExecuteCommands(sa,T);for(let Sa=0,bb=sa.trackedRanges.length;Sa<bb;Sa++)sa.model._setTrackedRange(sa.trackedRanges[Sa],null,0);return Ia}static _innerExecuteCommands(o,J){if(this._arrayIsEmpty(J))return null;const T=this._getEditOperations(o,J);if(0===T.operations.length)return null;const sa=T.operations,Ia=this._getLoserCursorMap(sa);if(Ia.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;let Sa=[];for(let ob=0,Mb=sa.length;ob<Mb;ob++)Ia.hasOwnProperty(sa[ob].identifier.major.toString())||Sa.push(sa[ob]);T.hadTrackedEditOperation&&Sa.length>0&&(Sa[0]._isTracked=!0);let bb=o.model.pushEditOperations(o.selectionsBefore,Sa,ob=>{let Mb=[];for(let gc=0;gc<o.selectionsBefore.length;gc++)Mb[gc]=[];for(const gc of ob)gc.identifier&&Mb[gc.identifier.major].push(gc);const Gb=(gc,Gc)=>gc.identifier.minor-Gc.identifier.minor;let ac=[];for(let gc=0;gc<o.selectionsBefore.length;gc++)Mb[gc].length>0?(Mb[gc].sort(Gb),ac[gc]=J[gc].computeCursorState(o.model,{getInverseEditOperations:()=>Mb[gc],getTrackedSelection:Gc=>{const Qc=parseInt(Gc,10),Jc=o.model._getTrackedRange(o.trackedRanges[Qc]);return 0===o.trackedRangesDirection[Qc]?new z.a(Jc.startLineNumber,Jc.startColumn,Jc.endLineNumber,Jc.endColumn):new z.a(Jc.endLineNumber,Jc.endColumn,Jc.startLineNumber,Jc.startColumn)}})):ac[gc]=o.selectionsBefore[gc];return ac});bb||(bb=o.selectionsBefore);let ib=[];for(let ob in Ia)Ia.hasOwnProperty(ob)&&ib.push(parseInt(ob,10));ib.sort((ob,Mb)=>Mb-ob);for(const ob of ib)bb.splice(ob,1);return bb}static _arrayIsEmpty(o){for(let J=0,T=o.length;J<T;J++)if(o[J])return!1;return!0}static _getEditOperations(o,J){let T=[],sa=!1;for(let Ia=0,Sa=J.length;Ia<Sa;Ia++){const bb=J[Ia];if(bb){const ib=this._getEditOperationsFromCommand(o,Ia,bb);T=T.concat(ib.operations),sa=sa||ib.hadTrackedEditOperation}}return{operations:T,hadTrackedEditOperation:sa}}static _getEditOperationsFromCommand(o,J,T){let sa=[],Ia=0;const Sa=(ob,Mb,Gb=!1)=>{wb.a.isEmpty(ob)&&""===Mb||sa.push({identifier:{major:J,minor:Ia++},range:ob,text:Mb,forceMoveMarkers:Gb,isAutoWhitespaceEdit:T.insertsAutoWhitespace})};let bb=!1;const ib={addEditOperation:Sa,addTrackedEditOperation:(ob,Mb,Gb)=>{bb=!0,Sa(ob,Mb,Gb)},trackSelection:(ob,Mb)=>{const Gb=z.a.liftSelection(ob);let ac;if(Gb.isEmpty())if("boolean"==typeof Mb)ac=Mb?2:3;else{const Qc=o.model.getLineMaxColumn(Gb.startLineNumber);ac=Gb.startColumn===Qc?2:3}else ac=1;const gc=o.trackedRanges.length,Gc=o.model._setTrackedRange(null,Gb,ac);return o.trackedRanges[gc]=Gc,o.trackedRangesDirection[gc]=Gb.getDirection(),gc.toString()}};try{T.getEditOperations(o.model,ib)}catch(ob){return Object(y.e)(ob),{operations:[],hadTrackedEditOperation:!1}}return{operations:sa,hadTrackedEditOperation:bb}}static _getLoserCursorMap(o){(o=o.slice(0)).sort((T,sa)=>-wb.a.compareRangesUsingEnds(T.range,sa.range));let J={};for(let T=1;T<o.length;T++){const sa=o[T-1],Ia=o[T];if(wb.a.getStartPosition(sa.range).isBefore(wb.a.getEndPosition(Ia.range))){let Sa;Sa=sa.identifier.major>Ia.identifier.major?sa.identifier.major:Ia.identifier.major,J[Sa.toString()]=!0;for(let bb=0;bb<o.length;bb++)o[bb].identifier.major===Sa&&(o.splice(bb,1),bb<T&&T--,bb--);T>0&&T--}}return J}}.executeCommands(this._model,this._cursors.getSelections(),d.commands);if(g){this._interpretCommandResult(g);let o=[],J=[];for(let T=0;T<d.commands.length;T++){const sa=d.commands[T];sa instanceof Vd.b&&sa.enclosingRange&&sa.closeCharacterRange&&(o.push(sa.closeCharacterRange),J.push(sa.enclosingRange))}o.length>0&&this._pushAutoClosedAction(o,J),this._prevEditOperationType=d.type}d.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(d){d&&0!==d.length||(d=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(d),this._cursors.normalize()}_emitStateChangedIfNecessary(d,g,o,J,T){const sa=new qd(this._model,this);if(sa.equals(J))return!1;const Ia=this._cursors.getSelections(),Sa=this._cursors.getViewSelections();if(d.emitViewEvent(new Ae(Sa,Ia)),!J||J.cursorState.length!==sa.cursorState.length||sa.cursorState.some((bb,ib)=>!bb.modelState.equals(J.cursorState[ib].modelState))){const bb=J?J.cursorState.map(ob=>ob.modelState.selection):null,ib=J?J.modelVersionId:0;d.emitOutgoingEvent(new $f(bb,Ia,ib,sa.modelVersionId,g||"keyboard",o,T))}return!0}_findAutoClosingPairs(d){if(!d.length)return null;let g=[];for(let o=0,J=d.length;o<J;o++){const T=d[o];if(!T.text||T.text.indexOf(` -`)>=0)return null;const sa=T.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!sa)return null;const Ia=sa[1],Sa=this.context.cursorConfig.autoClosingPairsClose2.get(Ia);if(!Sa||1!==Sa.length)return null;const bb=Sa[0].open,ib=T.text.length-sa[2].length-1,ob=T.text.lastIndexOf(bb,ib-1);if(-1===ob)return null;g.push([ob,ib])}return g}executeEdits(d,g,o,J){let T=null;"snippet"===g&&(T=this._findAutoClosingPairs(o)),T&&(o[0]._isTracked=!0);let sa=[],Ia=[];const Sa=this._model.pushEditOperations(this.getSelections(),o,bb=>{if(T)for(let ob=0,Mb=T.length;ob<Mb;ob++){const[Gb,ac]=T[ob],gc=bb[ob],Gc=gc.range.startLineNumber,Qc=gc.range.startColumn-1+Gb,Jc=gc.range.startColumn-1+ac;sa.push(new wb.a(Gc,Jc+1,Gc,Jc+2)),Ia.push(new wb.a(Gc,Qc+1,Gc,Jc+2))}const ib=J(bb);return ib&&(this._isHandling=!0),ib});Sa&&(this._isHandling=!1,this.setSelections(d,g,Sa)),sa.length>0&&this._pushAutoClosedAction(sa,Ia)}_executeEdit(d,g,o,J=0){if(this.context.cursorConfig.readOnly)return;const T=new qd(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),d()}catch(sa){Object(y.e)(sa)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(g,o,J,T,!1)&&this._revealPrimaryCursor(g,o,0,!0,0)}setIsDoingComposition(d){this._isDoingComposition=d}startComposition(d){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(d,g){this._executeEdit(()=>{if("keyboard"===g){const o=Be.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(Vd.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),o)),this._selectionsWhenCompositionStarted=null}},d,g)}type(d,g,o){this._executeEdit(()=>{if("keyboard"===o){const J=g.length;let T=0;for(;T<J;){const sa=tb.L(g,T),Ia=g.substr(T,sa),Sa=Be.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(Vd.a.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),Sa,Ia)),T+=sa}}else this._executeEditOperation(Vd.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),g))},d,o)}replacePreviousChar(d,g,o,J){this._executeEdit(()=>{this._executeEditOperation(Vd.a.replacePreviousChar(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),g,o))},d,J)}paste(d,g,o,J,T){this._executeEdit(()=>{this._executeEditOperation(Vd.a.paste(this.context.cursorConfig,this._model,this.getSelections(),g,o,J||[]))},d,T,4)}cut(d,g){this._executeEdit(()=>{this._executeEditOperation(yd.a.cut(this.context.cursorConfig,this._model,this.getSelections()))},d,g)}executeCommand(d,g,o){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new tc.e(0,[g],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},d,o)}executeCommands(d,g,o){this._executeEdit(()=>{this._executeEditOperation(new tc.e(0,g,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},d,o)}}Ge.MAX_CURSOR_COUNT=1e4;var sf=f(191),Kd=f(143),Yd=f(7),lf=f(182),lh=f(170);class Uf{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(d){this._hasPending=!0,this._inserts.push(d)}change(d){this._hasPending=!0,this._changes.push(d)}remove(d){this._hasPending=!0,this._removes.push(d)}mustCommit(){return this._hasPending}commit(d){if(!this._hasPending)return;const g=this._inserts,o=this._changes,J=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],d._commitPendingChanges(g,o,J)}}class Hf{constructor(d,g,o,J,T){this.id=d,this.afterLineNumber=g,this.ordinal=o,this.height=J,this.minWidth=T,this.prefixSum=0}}class If{constructor(d,g,o,J){this._instanceId=tb.R(++If.INSTANCE_COUNT),this._pendingChanges=new Uf(),this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=d,this._lineHeight=g,this._paddingTop=o,this._paddingBottom=J}static findInsertionIndex(d,g,o){let J=0,T=d.length;for(;J<T;){const sa=J+T>>>1;g===d[sa].afterLineNumber?o<d[sa].ordinal?T=sa:J=sa+1:g<d[sa].afterLineNumber?T=sa:J=sa+1}return J}setLineHeight(d){this._checkPendingChanges(),this._lineHeight=d}setPadding(d,g){this._paddingTop=d,this._paddingBottom=g}onFlushed(d){this._checkPendingChanges(),this._lineCount=d}changeWhitespace(d){let g=!1;try{d({insertWhitespace:(o,J,T,sa)=>{g=!0,o|=0,J|=0,T|=0,sa|=0;const Ia=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Hf(Ia,o,J,T,sa)),Ia},changeOneWhitespace:(o,J,T)=>{g=!0,J|=0,T|=0,this._pendingChanges.change({id:o,newAfterLineNumber:J,newHeight:T})},removeWhitespace:o=>{g=!0,this._pendingChanges.remove({id:o})}})}finally{this._pendingChanges.commit(this)}return g}_commitPendingChanges(d,g,o){if((d.length>0||o.length>0)&&(this._minWidth=-1),d.length+g.length+o.length<=1){for(const Sa of d)this._insertWhitespace(Sa);for(const Sa of g)this._changeOneWhitespace(Sa.id,Sa.newAfterLineNumber,Sa.newHeight);for(const Sa of o){const bb=this._findWhitespaceIndex(Sa.id);-1!==bb&&this._removeWhitespace(bb)}return}const J=new Set();for(const Sa of o)J.add(Sa.id);const T=new Map();for(const Sa of g)T.set(Sa.id,Sa);const sa=Sa=>{let bb=[];for(const ib of Sa)if(!J.has(ib.id)){if(T.has(ib.id)){const ob=T.get(ib.id);ib.afterLineNumber=ob.newAfterLineNumber,ib.height=ob.newHeight}bb.push(ib)}return bb},Ia=sa(this._arr).concat(sa(d));Ia.sort((Sa,bb)=>Sa.afterLineNumber===bb.afterLineNumber?Sa.ordinal-bb.ordinal:Sa.afterLineNumber-bb.afterLineNumber),this._arr=Ia,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(d){const g=If.findInsertionIndex(this._arr,d.afterLineNumber,d.ordinal);this._arr.splice(g,0,d),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,g-1)}_findWhitespaceIndex(d){const g=this._arr;for(let o=0,J=g.length;o<J;o++)if(g[o].id===d)return o;return-1}_changeOneWhitespace(d,g,o){const J=this._findWhitespaceIndex(d);if(-1!==J&&(this._arr[J].height!==o&&(this._arr[J].height=o,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,J-1)),this._arr[J].afterLineNumber!==g)){const T=this._arr[J];this._removeWhitespace(J),T.afterLineNumber=g,this._insertWhitespace(T)}}_removeWhitespace(d){this._arr.splice(d,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,d-1)}onLinesDeleted(d,g){this._checkPendingChanges(),d|=0,g|=0,this._lineCount-=g-d+1;for(let o=0,J=this._arr.length;o<J;o++){const T=this._arr[o].afterLineNumber;d<=T&&T<=g?this._arr[o].afterLineNumber=d-1:T>g&&(this._arr[o].afterLineNumber-=g-d+1)}}onLinesInserted(d,g){this._checkPendingChanges(),d|=0,g|=0,this._lineCount+=g-d+1;for(let o=0,J=this._arr.length;o<J;o++)d<=this._arr[o].afterLineNumber&&(this._arr[o].afterLineNumber+=g-d+1)}getWhitespacesTotalHeight(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(d){this._checkPendingChanges(),d|=0;let g=Math.max(0,this._prefixSumValidIndex+1);0===g&&(this._arr[0].prefixSum=this._arr[0].height,g++);for(let o=g;o<=d;o++)this._arr[o].prefixSum=this._arr[o-1].prefixSum+this._arr[o].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,d),this._arr[d].prefixSum}getLinesTotalHeight(){return this._checkPendingChanges(),this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(d){this._checkPendingChanges(),d|=0;const g=this._findLastWhitespaceBeforeLineNumber(d);return-1===g?0:this.getWhitespacesAccumulatedHeight(g)}_findLastWhitespaceBeforeLineNumber(d){d|=0;const g=this._arr;let o=0,J=g.length-1;for(;o<=J;){const T=o+((J-o|0)/2|0)|0;if(g[T].afterLineNumber<d){if(T+1>=g.length||g[T+1].afterLineNumber>=d)return T;o=T+1|0}else J=T-1|0}return-1}_findFirstWhitespaceAfterLineNumber(d){d|=0;const g=this._findLastWhitespaceBeforeLineNumber(d)+1;return g<this._arr.length?g:-1}getFirstWhitespaceIndexAfterLineNumber(d){return this._checkPendingChanges(),d|=0,this._findFirstWhitespaceAfterLineNumber(d)}getVerticalOffsetForLineNumber(d){let g;return this._checkPendingChanges(),g=(d|=0)>1?this._lineHeight*(d-1):0,g+this.getWhitespaceAccumulatedHeightBeforeLineNumber(d)+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let d=0;for(let g=0,o=this._arr.length;g<o;g++)d=Math.max(d,this._arr[g].minWidth);this._minWidth=d}return this._minWidth}isAfterLines(d){return this._checkPendingChanges(),d>this.getLinesTotalHeight()}getLineNumberAtOrAfterVerticalOffset(d){if(this._checkPendingChanges(),(d|=0)<0)return 1;const g=0|this._lineCount,o=this._lineHeight;let J=1,T=g;for(;J<T;){const sa=(J+T)/2|0,Ia=0|this.getVerticalOffsetForLineNumber(sa);if(d>=Ia+o)J=sa+1;else{if(d>=Ia)return sa;T=sa}}return J>g?g:J}getLinesViewportData(d,g){this._checkPendingChanges(),d|=0,g|=0;const o=this._lineHeight,J=0|this.getLineNumberAtOrAfterVerticalOffset(d),T=0|this.getVerticalOffsetForLineNumber(J);let sa=0|this._lineCount,Ia=0|this.getFirstWhitespaceIndexAfterLineNumber(J);const Sa=0|this.getWhitespacesCount();let bb,ib;-1===Ia?(Ia=Sa,ib=sa+1,bb=0):(ib=0|this.getAfterLineNumberForWhitespaceIndex(Ia),bb=0|this.getHeightForWhitespaceIndex(Ia));let ob=T,Mb=ob,Gb=0;T>=5e5&&(Gb=5e5*Math.floor(T/5e5),Gb=Math.floor(Gb/o)*o,Mb-=Gb);const ac=[],gc=d+(g-d)/2;let Gc=-1;for(let _c=J;_c<=sa;_c++){if(-1===Gc){const Zc=ob,bd=ob+o;(Zc<=gc&&gc<bd||Zc>gc)&&(Gc=_c)}for(ob+=o,ac[_c-J]=Mb,Mb+=o;ib===_c;)Mb+=bb,ob+=bb,Ia++,Ia>=Sa?ib=sa+1:(ib=0|this.getAfterLineNumberForWhitespaceIndex(Ia),bb=0|this.getHeightForWhitespaceIndex(Ia));if(ob>=g){sa=_c;break}}-1===Gc&&(Gc=sa);const Qc=0|this.getVerticalOffsetForLineNumber(sa);let Jc=J,Wc=sa;return Jc<Wc&&T<d&&Jc++,Jc<Wc&&Qc+o>g&&Wc--,{bigNumbersDelta:Gb,startLineNumber:J,endLineNumber:sa,relativeVerticalOffset:ac,centeredLineNumber:Gc,completelyVisibleStartLineNumber:Jc,completelyVisibleEndLineNumber:Wc}}getVerticalOffsetForWhitespaceIndex(d){this._checkPendingChanges(),d|=0;const g=this.getAfterLineNumberForWhitespaceIndex(d);let o,J;return o=g>=1?this._lineHeight*g:0,J=d>0?this.getWhitespacesAccumulatedHeight(d-1):0,o+J+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(d){this._checkPendingChanges(),d|=0;let g=0,o=this.getWhitespacesCount()-1;if(o<0)return-1;if(d>=this.getVerticalOffsetForWhitespaceIndex(o)+this.getHeightForWhitespaceIndex(o))return-1;for(;g<o;){const J=Math.floor((g+o)/2),T=this.getVerticalOffsetForWhitespaceIndex(J);if(d>=T+this.getHeightForWhitespaceIndex(J))g=J+1;else{if(d>=T)return J;o=J}}return g}getWhitespaceAtVerticalOffset(d){this._checkPendingChanges(),d|=0;const g=this.getWhitespaceIndexAtOrAfterVerticallOffset(d);if(g<0)return null;if(g>=this.getWhitespacesCount())return null;const o=this.getVerticalOffsetForWhitespaceIndex(g);if(o>d)return null;const J=this.getHeightForWhitespaceIndex(g);return{id:this.getIdForWhitespaceIndex(g),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(g),verticalOffset:o,height:J}}getWhitespaceViewportData(d,g){this._checkPendingChanges(),d|=0,g|=0;const o=this.getWhitespaceIndexAtOrAfterVerticallOffset(d),J=this.getWhitespacesCount()-1;if(o<0)return[];let T=[];for(let sa=o;sa<=J;sa++){const Ia=this.getVerticalOffsetForWhitespaceIndex(sa),Sa=this.getHeightForWhitespaceIndex(sa);if(Ia>=g)break;T.push({id:this.getIdForWhitespaceIndex(sa),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(sa),verticalOffset:Ia,height:Sa})}return T}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(d){return this._checkPendingChanges(),d|=0,this._arr[d].id}getAfterLineNumberForWhitespaceIndex(d){return this._checkPendingChanges(),d|=0,this._arr[d].afterLineNumber}getHeightForWhitespaceIndex(d){return this._checkPendingChanges(),d|=0,this._arr[d].height}}If.INSTANCE_COUNT=0;class Vf{constructor(d,g,o,J){(d|=0)<0&&(d=0),(g|=0)<0&&(g=0),(o|=0)<0&&(o=0),(J|=0)<0&&(J=0),this.width=d,this.contentWidth=g,this.scrollWidth=Math.max(d,g),this.height=o,this.contentHeight=J,this.scrollHeight=Math.max(o,J)}equals(d){return this.width===d.width&&this.contentWidth===d.contentWidth&&this.height===d.height&&this.contentHeight===d.contentHeight}}class Xg extends P.a{constructor(d,g){super(),this._onDidContentSizeChange=this._register(new F.a()),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new Vf(0,0,0,0),this._scrollable=this._register(new lh.a(d,g)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(d){this._scrollable.setSmoothScrollDuration(d)}validateScrollPosition(d){return this._scrollable.validateScrollPosition(d)}getScrollDimensions(){return this._dimensions}setScrollDimensions(d){if(this._dimensions.equals(d))return;const g=this._dimensions;this._dimensions=d,this._scrollable.setScrollDimensions({width:d.width,scrollWidth:d.scrollWidth,height:d.height,scrollHeight:d.scrollHeight},!0);const o=g.contentWidth!==d.contentWidth,J=g.contentHeight!==d.contentHeight;(o||J)&&this._onDidContentSizeChange.fire(new Rd(g.contentWidth,g.contentHeight,d.contentWidth,d.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(d){this._scrollable.setScrollPositionNow(d)}setScrollPositionSmooth(d){this._scrollable.setScrollPositionSmooth(d)}}class ag extends P.a{constructor(d,g,o){super(),this._configuration=d;const J=this._configuration.options,T=J.get(117),sa=J.get(66);this._linesLayout=new If(g,J.get(51),sa.top,sa.bottom),this._scrollable=this._register(new Xg(0,o)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new Vf(T.contentWidth,0,T.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(94)?125:0)}onConfigurationChanged(d){const g=this._configuration.options;if(d.hasChanged(51)&&this._linesLayout.setLineHeight(g.get(51)),d.hasChanged(66)){const o=g.get(66);this._linesLayout.setPadding(o.top,o.bottom)}if(d.hasChanged(117)){const o=g.get(117),J=o.contentWidth,T=o.height,sa=this._scrollable.getScrollDimensions(),Ia=sa.contentWidth;this._scrollable.setScrollDimensions(new Vf(J,sa.contentWidth,T,this._getContentHeight(J,T,Ia)))}else this._updateHeight();d.hasChanged(94)&&this._configureSmoothScrollDuration()}onFlushed(d){this._linesLayout.onFlushed(d)}onLinesDeleted(d,g){this._linesLayout.onLinesDeleted(d,g)}onLinesInserted(d,g){this._linesLayout.onLinesInserted(d,g)}_getHorizontalScrollbarHeight(d,g){const o=this._configuration.options.get(84);return 2===o.horizontal||d>=g?0:o.horizontalScrollbarSize}_getContentHeight(d,g,o){const J=this._configuration.options;let T=this._linesLayout.getLinesTotalHeight();return J.get(86)?T+=g-J.get(51):T+=this._getHorizontalScrollbarHeight(d,o),T}_updateHeight(){const d=this._scrollable.getScrollDimensions(),g=d.width,o=d.height,J=d.contentWidth;this._scrollable.setScrollDimensions(new Vf(g,d.contentWidth,o,this._getContentHeight(g,o,J)))}getCurrentViewport(){const d=this._scrollable.getScrollDimensions(),g=this._scrollable.getCurrentScrollPosition();return new mb.f(g.scrollTop,g.scrollLeft,d.width,d.height)}getFutureViewport(){const d=this._scrollable.getScrollDimensions(),g=this._scrollable.getFutureScrollPosition();return new mb.f(g.scrollTop,g.scrollLeft,d.width,d.height)}_computeContentWidth(d){const g=this._configuration.options,o=g.get(118),J=g.get(36);if(o.isViewportWrapping){const T=g.get(117),sa=g.get(56);return d>T.contentWidth+J.typicalHalfwidthCharacterWidth&&sa.enabled&&"right"===sa.side?d+T.verticalScrollbarWidth:d}{const T=g.get(85)*J.typicalHalfwidthCharacterWidth,sa=this._linesLayout.getWhitespaceMinWidth();return Math.max(d+T,sa)}}setMaxLineWidth(d){const g=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Vf(g.width,this._computeContentWidth(d),g.height,g.contentHeight)),this._updateHeight()}saveState(){const d=this._scrollable.getFutureScrollPosition();let g=d.scrollTop,o=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(g);return{scrollTop:g,scrollTopWithoutViewZones:g-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(o),scrollLeft:d.scrollLeft}}changeWhitespace(d){const g=this._linesLayout.changeWhitespace(d);return g&&this.onHeightMaybeChanged(),g}getVerticalOffsetForLineNumber(d){return this._linesLayout.getVerticalOffsetForLineNumber(d)}isAfterLines(d){return this._linesLayout.isAfterLines(d)}getLineNumberAtVerticalOffset(d){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(d)}getWhitespaceAtVerticalOffset(d){return this._linesLayout.getWhitespaceAtVerticalOffset(d)}getLinesViewportData(){const d=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(d.top,d.top+d.height)}getLinesViewportDataAtScrollTop(d){const g=this._scrollable.getScrollDimensions();return d+g.height>g.scrollHeight&&(d=g.scrollHeight-g.height),d<0&&(d=0),this._linesLayout.getLinesViewportData(d,d+g.height)}getWhitespaceViewportData(){const d=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(d.top,d.top+d.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(d){return this._scrollable.validateScrollPosition(d)}setScrollPosition(d,g){1===g?this._scrollable.setScrollPositionNow(d):this._scrollable.setScrollPositionSmooth(d)}deltaScrollNow(d,g){const o=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:o.scrollLeft+d,scrollTop:o.scrollTop+g})}}var Jf=f(30),bg=f(101);class mf{constructor(d,g){this.outputLineIndex=d,this.outputOffset=g}}class $e{constructor(d,g,o){this.breakOffsets=d,this.breakOffsetsVisibleColumn=g,this.wrappedTextIndentLength=o}static getInputOffsetOfOutputPosition(d,g,o){return 0===g?o:d[g-1]+o}static getOutputPositionOfInputOffset(d,g){let o=0,J=d.length-1,T=0,sa=0;for(;o<=J;){T=o+(J-o)/2|0;const Ia=d[T];if(sa=T>0?d[T-1]:0,g<sa)J=T-1;else{if(!(g>=Ia))break;o=T+1}}return new mf(T,g-sa)}}class tf{constructor(d){this._lines=d}convertViewPositionToModelPosition(d){return this._lines.convertViewPositionToModelPosition(d.lineNumber,d.column)}convertViewRangeToModelRange(d){return this._lines.convertViewRangeToModelRange(d)}validateViewPosition(d,g){return this._lines.validateViewPosition(d.lineNumber,d.column,g)}validateViewRange(d,g){return this._lines.validateViewRange(d,g)}convertModelPositionToViewPosition(d){return this._lines.convertModelPositionToViewPosition(d.lineNumber,d.column)}convertModelRangeToViewRange(d){return this._lines.convertModelRangeToViewRange(d)}modelPositionIsVisible(d){return this._lines.modelPositionIsVisible(d.lineNumber,d.column)}}class mh{constructor(d){this._counts=d,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(d){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,d-1)}_ensureValid(){if(!this._isValid){for(let d=this._validEndIndex+1,g=this._counts.length;d<g;d++){const o=this._counts[d],J=d>0?this._modelToView[d-1]:0;this._modelToView[d]=J+o;for(let T=0;T<o;T++)this._viewToModel[J+T]=d}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}}changeValue(d,g){this._counts[d]!==g&&(this._counts[d]=g,this._invalidate(d))}removeValues(d,g){this._counts.splice(d,g),this._invalidate(d)}insertValues(d,g){this._counts=de.a(this._counts,d,g),this._invalidate(d)}getTotalValue(){return this._ensureValid(),this._viewToModel.length}getAccumulatedValue(d){return this._ensureValid(),this._modelToView[d]}getIndexOf(d){this._ensureValid();const g=this._viewToModel[d],o=g>0?this._modelToView[g-1]:0;return new bg.b(g,d-o)}}class Je{constructor(d,g,o,J,T,sa,Ia,Sa){this.model=d,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=g,this._monospaceLineBreaksComputerFactory=o,this.fontInfo=J,this.tabSize=T,this.wrappingStrategy=sa,this.wrappingColumn=Ia,this.wrappingIndent=Sa,this._constructLines(!0,null)}dispose(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])}createCoordinatesConverter(){return new tf(this)}_constructLines(d,g){this.lines=[],d&&(this.hiddenAreasIds=[]);let o=this.model.getLinesContent();const J=o.length,T=this.createLineBreaksComputer();for(let Gb=0;Gb<J;Gb++)T.addRequest(o[Gb],g?g[Gb]:null);const sa=T.finalize();let Ia=[],Sa=this.hiddenAreasIds.map(Gb=>this.model.getDecorationRange(Gb)).sort(wb.a.compareRangesUsingStarts),bb=1,ib=0,ob=-1,Mb=ob+1<Sa.length?ib+1:J+2;for(let Gb=0;Gb<J;Gb++){let ac=Gb+1;ac===Mb&&(ob++,bb=Sa[ob].startLineNumber,ib=Sa[ob].endLineNumber,Mb=ob+1<Sa.length?ib+1:J+2);let gc=ac>=bb&&ac<=ib,Gc=uf(sa[Gb],!gc);Ia[Gb]=Gc.getViewLineCount(),this.lines[Gb]=Gc}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new mh(Ia)}getHiddenAreas(){return this.hiddenAreasIds.map(d=>this.model.getDecorationRange(d))}_reduceRanges(d){if(0===d.length)return[];let g=d.map(sa=>this.model.validateRange(sa)).sort(wb.a.compareRangesUsingStarts),o=[],J=g[0].startLineNumber,T=g[0].endLineNumber;for(let sa=1,Ia=g.length;sa<Ia;sa++){let Sa=g[sa];Sa.startLineNumber>T+1?(o.push(new wb.a(J,1,T,1)),J=Sa.startLineNumber,T=Sa.endLineNumber):Sa.endLineNumber>T&&(T=Sa.endLineNumber)}return o.push(new wb.a(J,1,T,1)),o}setHiddenAreas(d){let g=this._reduceRanges(d),o=this.hiddenAreasIds.map(ob=>this.model.getDecorationRange(ob)).sort(wb.a.compareRangesUsingStarts);if(g.length===o.length){let ob=!1;for(let Mb=0;Mb<g.length;Mb++)if(!g[Mb].equalsRange(o[Mb])){ob=!0;break}if(!ob)return!1}let J=[];for(const ob of g)J.push({range:ob,options:Jf.a.EMPTY});this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,J);let T=g,sa=1,Ia=0,Sa=-1,bb=Sa+1<T.length?Ia+1:this.lines.length+2,ib=!1;for(let ob=0;ob<this.lines.length;ob++){let Mb=ob+1;Mb===bb&&(Sa++,sa=T[Sa].startLineNumber,Ia=T[Sa].endLineNumber,bb=Sa+1<T.length?Ia+1:this.lines.length+2);let Gb=!1;if(Mb>=sa&&Mb<=Ia?this.lines[ob].isVisible()&&(this.lines[ob]=this.lines[ob].setVisible(!1),Gb=!0):(ib=!0,this.lines[ob].isVisible()||(this.lines[ob]=this.lines[ob].setVisible(!0),Gb=!0)),Gb){let ac=this.lines[ob].getViewLineCount();this.prefixSumComputer.changeValue(ob,ac)}}return ib||this.setHiddenAreas([]),!0}modelPositionIsVisible(d,g){return!(d<1||d>this.lines.length)&&this.lines[d-1].isVisible()}setTabSize(d){return this.tabSize!==d&&(this.tabSize=d,this._constructLines(!1,null),!0)}setWrappingSettings(d,g,o,J){const T=this.fontInfo.equals(d),sa=this.wrappingStrategy===g,Ia=this.wrappingColumn===o,Sa=this.wrappingIndent===J;if(T&&sa&&Ia&&Sa)return!1;const bb=T&&sa&&!Ia&&Sa;this.fontInfo=d,this.wrappingStrategy=g,this.wrappingColumn=o,this.wrappingIndent=J;let ib=null;if(bb){ib=[];for(let ob=0,Mb=this.lines.length;ob<Mb;ob++)ib[ob]=this.lines[ob].getLineBreakData()}return this._constructLines(!1,ib),!0}createLineBreaksComputer(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(d,g,o){if(d<=this._validModelVersionId)return null;let J=1===g?1:this.prefixSumComputer.getAccumulatedValue(g-2)+1,T=this.prefixSumComputer.getAccumulatedValue(o-1);return this.lines.splice(g-1,o-g+1),this.prefixSumComputer.removeValues(g-1,o-g+1),new ue(J,T)}onModelLinesInserted(d,g,o,J){if(d<=this._validModelVersionId)return null;let T=this.getHiddenAreas(),sa=!1,Ia=new Fb.a(g,1);for(const Mb of T)if(Mb.containsPosition(Ia)){sa=!0;break}let Sa=1===g?1:this.prefixSumComputer.getAccumulatedValue(g-2)+1,bb=0,ib=[],ob=[];for(let Mb=0,Gb=J.length;Mb<Gb;Mb++){let ac=uf(J[Mb],!sa);ib.push(ac);let gc=ac.getViewLineCount();bb+=gc,ob[Mb]=gc}return this.lines=this.lines.slice(0,g-1).concat(ib).concat(this.lines.slice(g-1)),this.prefixSumComputer.insertValues(g-1,ob),new ve(Sa,Sa+bb-1)}onModelLineChanged(d,g,o){if(d<=this._validModelVersionId)return[!1,null,null,null];let J=g-1,T=this.lines[J].getViewLineCount(),sa=uf(o,this.lines[J].isVisible());this.lines[J]=sa;let Ia=this.lines[J].getViewLineCount(),Sa=!1,bb=0,ib=-1,ob=0,Mb=-1,Gb=0,ac=-1;return T>Ia?(bb=1===g?1:this.prefixSumComputer.getAccumulatedValue(g-2)+1,ib=bb+Ia-1,Gb=ib+1,ac=Gb+(T-Ia)-1,Sa=!0):T<Ia?(bb=1===g?1:this.prefixSumComputer.getAccumulatedValue(g-2)+1,ib=bb+T-1,ob=ib+1,Mb=ob+(Ia-T)-1,Sa=!0):(bb=1===g?1:this.prefixSumComputer.getAccumulatedValue(g-2)+1,ib=bb+Ia-1),this.prefixSumComputer.changeValue(J,Ia),[Sa,bb<=ib?new De(bb,ib):null,ob<=Mb?new ve(ob,Mb):null,Gb<=ac?new ue(Gb,ac):null]}acceptVersionId(d){this._validModelVersionId=d,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])}getViewLineCount(){return this.prefixSumComputer.getTotalValue()}_toValidViewLineNumber(d){if(d<1)return 1;const g=this.getViewLineCount();return d>g?g:0|d}getActiveIndentGuide(d,g,o){d=this._toValidViewLineNumber(d),g=this._toValidViewLineNumber(g),o=this._toValidViewLineNumber(o);const J=this.convertViewPositionToModelPosition(d,this.getViewLineMinColumn(d)),T=this.convertViewPositionToModelPosition(g,this.getViewLineMinColumn(g)),sa=this.convertViewPositionToModelPosition(o,this.getViewLineMinColumn(o)),Ia=this.model.getActiveIndentGuide(J.lineNumber,T.lineNumber,sa.lineNumber),Sa=this.convertModelPositionToViewPosition(Ia.startLineNumber,1),bb=this.convertModelPositionToViewPosition(Ia.endLineNumber,this.model.getLineMaxColumn(Ia.endLineNumber));return{startLineNumber:Sa.lineNumber,endLineNumber:bb.lineNumber,indent:Ia.indent}}getViewLinesIndentGuides(d,g){d=this._toValidViewLineNumber(d),g=this._toValidViewLineNumber(g);const o=this.convertViewPositionToModelPosition(d,this.getViewLineMinColumn(d)),J=this.convertViewPositionToModelPosition(g,this.getViewLineMaxColumn(g));let T=[],sa=[],Ia=[];const Sa=o.lineNumber-1,bb=J.lineNumber-1;let ib=null;for(let ac=Sa;ac<=bb;ac++){const gc=this.lines[ac];if(gc.isVisible()){let Gc=gc.getViewLineNumberOfModelPosition(0,ac===Sa?o.column:1),Qc=gc.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(ac+1)),Jc=Qc-Gc+1,Wc=0;Jc>1&&1===gc.getViewLineMinColumn(this.model,ac+1,Qc)&&(Wc=0===Gc?1:2),sa.push(Jc),Ia.push(Wc),null===ib&&(ib=new Fb.a(ac+1,0))}else null!==ib&&(T=T.concat(this.model.getLinesIndentGuides(ib.lineNumber,ac)),ib=null)}null!==ib&&(T=T.concat(this.model.getLinesIndentGuides(ib.lineNumber,J.lineNumber)),ib=null);const ob=g-d+1;let Mb=new Array(ob),Gb=0;for(let ac=0,gc=T.length;ac<gc;ac++){let Gc,Qc=T[ac],Jc=Math.min(ob-Gb,sa[ac]),Wc=Ia[ac];Gc=2===Wc?0:1===Wc?1:Jc;for(let _c=0;_c<Jc;_c++)_c===Gc&&(Qc=0),Mb[Gb++]=Qc}return Mb}getViewLineContent(d){d=this._toValidViewLineNumber(d);let g=this.prefixSumComputer.getIndexOf(d-1),o=g.index,J=g.remainder;return this.lines[o].getViewLineContent(this.model,o+1,J)}getViewLineLength(d){d=this._toValidViewLineNumber(d);let g=this.prefixSumComputer.getIndexOf(d-1),o=g.index,J=g.remainder;return this.lines[o].getViewLineLength(this.model,o+1,J)}getViewLineMinColumn(d){d=this._toValidViewLineNumber(d);let g=this.prefixSumComputer.getIndexOf(d-1),o=g.index,J=g.remainder;return this.lines[o].getViewLineMinColumn(this.model,o+1,J)}getViewLineMaxColumn(d){d=this._toValidViewLineNumber(d);let g=this.prefixSumComputer.getIndexOf(d-1),o=g.index,J=g.remainder;return this.lines[o].getViewLineMaxColumn(this.model,o+1,J)}getViewLineData(d){d=this._toValidViewLineNumber(d);let g=this.prefixSumComputer.getIndexOf(d-1),o=g.index,J=g.remainder;return this.lines[o].getViewLineData(this.model,o+1,J)}getViewLinesData(d,g,o){d=this._toValidViewLineNumber(d),g=this._toValidViewLineNumber(g);let J=this.prefixSumComputer.getIndexOf(d-1),T=d,sa=J.index,Ia=J.remainder,Sa=[];for(let bb=sa,ib=this.model.getLineCount();bb<ib;bb++){let ob=this.lines[bb];if(!ob.isVisible())continue;let Mb=bb===sa?Ia:0,Gb=ob.getViewLineCount()-Mb,ac=!1;T+Gb>g&&(ac=!0,Gb=g-T+1);let gc=Mb+Gb;if(ob.getViewLinesData(this.model,bb+1,Mb,gc,T-d,o,Sa),T+=Gb,ac)break}return Sa}validateViewPosition(d,g,o){d=this._toValidViewLineNumber(d);let J=this.prefixSumComputer.getIndexOf(d-1),T=J.index,sa=J.remainder,Ia=this.lines[T],Sa=Ia.getViewLineMinColumn(this.model,T+1,sa),bb=Ia.getViewLineMaxColumn(this.model,T+1,sa);g<Sa&&(g=Sa),g>bb&&(g=bb);let ib=Ia.getModelColumnOfViewPosition(sa,g);return this.model.validatePosition(new Fb.a(T+1,ib)).equals(o)?new Fb.a(d,g):this.convertModelPositionToViewPosition(o.lineNumber,o.column)}validateViewRange(d,g){const o=this.validateViewPosition(d.startLineNumber,d.startColumn,g.getStartPosition()),J=this.validateViewPosition(d.endLineNumber,d.endColumn,g.getEndPosition());return new wb.a(o.lineNumber,o.column,J.lineNumber,J.column)}convertViewPositionToModelPosition(d,g){d=this._toValidViewLineNumber(d);let o=this.prefixSumComputer.getIndexOf(d-1),J=o.index,T=o.remainder,sa=this.lines[J].getModelColumnOfViewPosition(T,g);return this.model.validatePosition(new Fb.a(J+1,sa))}convertViewRangeToModelRange(d){const g=this.convertViewPositionToModelPosition(d.startLineNumber,d.startColumn),o=this.convertViewPositionToModelPosition(d.endLineNumber,d.endColumn);return new wb.a(g.lineNumber,g.column,o.lineNumber,o.column)}convertModelPositionToViewPosition(d,g){const o=this.model.validatePosition(new Fb.a(d,g)),J=o.lineNumber,T=o.column;let sa=J-1,Ia=!1;for(;sa>0&&!this.lines[sa].isVisible();)sa--,Ia=!0;if(0===sa&&!this.lines[sa].isVisible())return new Fb.a(1,1);const Sa=1+(0===sa?0:this.prefixSumComputer.getAccumulatedValue(sa-1));let bb;return bb=Ia?this.lines[sa].getViewPositionOfModelPosition(Sa,this.model.getLineMaxColumn(sa+1)):this.lines[J-1].getViewPositionOfModelPosition(Sa,T),bb}convertModelRangeToViewRange(d){let g=this.convertModelPositionToViewPosition(d.startLineNumber,d.startColumn),o=this.convertModelPositionToViewPosition(d.endLineNumber,d.endColumn);return d.startLineNumber===d.endLineNumber&&g.lineNumber!==o.lineNumber&&o.column===this.getViewLineMinColumn(o.lineNumber)?new wb.a(g.lineNumber,g.column,o.lineNumber-1,this.getViewLineMaxColumn(o.lineNumber-1)):new wb.a(g.lineNumber,g.column,o.lineNumber,o.column)}_getViewLineNumberForModelPosition(d,g){let o=d-1;if(this.lines[o].isVisible()){const T=1+(0===o?0:this.prefixSumComputer.getAccumulatedValue(o-1));return this.lines[o].getViewLineNumberOfModelPosition(T,g)}for(;o>0&&!this.lines[o].isVisible();)o--;if(0===o&&!this.lines[o].isVisible())return 1;const J=1+(0===o?0:this.prefixSumComputer.getAccumulatedValue(o-1));return this.lines[o].getViewLineNumberOfModelPosition(J,this.model.getLineMaxColumn(o+1))}getAllOverviewRulerDecorations(d,g,o){const J=this.model.getOverviewRulerDecorations(d,g),T=new ef();for(const sa of J){const Ia=sa.options.overviewRuler,Sa=Ia?Ia.position:0;if(0===Sa)continue;const bb=Ia.getColor(o),ib=this._getViewLineNumberForModelPosition(sa.range.startLineNumber,sa.range.startColumn),ob=this._getViewLineNumberForModelPosition(sa.range.endLineNumber,sa.range.endColumn);T.accept(bb,ib,ob,Sa)}return T.result}getDecorationsInRange(d,g,o){const J=this.convertViewPositionToModelPosition(d.startLineNumber,d.startColumn),T=this.convertViewPositionToModelPosition(d.endLineNumber,d.endColumn);if(T.lineNumber-J.lineNumber<=d.endLineNumber-d.startLineNumber)return this.model.getDecorationsInRange(new wb.a(J.lineNumber,1,T.lineNumber,T.column),g,o);let sa=[];const Ia=J.lineNumber-1,Sa=T.lineNumber-1;let bb=null;for(let Gb=Ia;Gb<=Sa;Gb++)if(this.lines[Gb].isVisible())null===bb&&(bb=new Fb.a(Gb+1,Gb===Ia?J.column:1));else if(null!==bb){const ac=this.model.getLineMaxColumn(Gb);sa=sa.concat(this.model.getDecorationsInRange(new wb.a(bb.lineNumber,bb.column,Gb,ac),g,o)),bb=null}null!==bb&&(sa=sa.concat(this.model.getDecorationsInRange(new wb.a(bb.lineNumber,bb.column,T.lineNumber,T.column),g,o)),bb=null),sa.sort((Gb,ac)=>{const gc=wb.a.compareRangesUsingStarts(Gb.range,ac.range);return 0===gc?Gb.id<ac.id?-1:Gb.id>ac.id?1:0:gc});let ib=[],ob=0,Mb=null;for(const Gb of sa){const ac=Gb.id;Mb!==ac&&(Mb=ac,ib[ob++]=Gb)}return ib}}class pg{constructor(){}isVisible(){return!0}setVisible(d){return d?this:Kf.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(d,g,o){return d.getLineContent(g)}getViewLineLength(d,g,o){return d.getLineLength(g)}getViewLineMinColumn(d,g,o){return d.getLineMinColumn(g)}getViewLineMaxColumn(d,g,o){return d.getLineMaxColumn(g)}getViewLineData(d,g,o){let J=d.getLineTokens(g),T=J.getLineContent();return new mb.c(T,!1,1,T.length+1,0,J.inflate())}getViewLinesData(d,g,o,J,T,sa,Ia){sa[T]?Ia[T]=this.getViewLineData(d,g,0):Ia[T]=null}getModelColumnOfViewPosition(d,g){return g}getViewPositionOfModelPosition(d,g){return new Fb.a(d,g)}getViewLineNumberOfModelPosition(d,g){return d}}pg.INSTANCE=new pg();class Kf{constructor(){}isVisible(){return!1}setVisible(d){return d?pg.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(d,g,o){throw new Error("Not supported")}getViewLineLength(d,g,o){throw new Error("Not supported")}getViewLineMinColumn(d,g,o){throw new Error("Not supported")}getViewLineMaxColumn(d,g,o){throw new Error("Not supported")}getViewLineData(d,g,o){throw new Error("Not supported")}getViewLinesData(d,g,o,J,T,sa,Ia){throw new Error("Not supported")}getModelColumnOfViewPosition(d,g){throw new Error("Not supported")}getViewPositionOfModelPosition(d,g){throw new Error("Not supported")}getViewLineNumberOfModelPosition(d,g){throw new Error("Not supported")}}Kf.INSTANCE=new Kf();class nh{constructor(d,g){this._lineBreakData=d,this._isVisible=g}isVisible(){return this._isVisible}setVisible(d){return this._isVisible=d,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(d){return $e.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,d,0)}getInputEndOffsetOfOutputLineIndex(d,g,o){return o+1===this._lineBreakData.breakOffsets.length?d.getLineMaxColumn(g)-1:$e.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,o+1,0)}getViewLineContent(d,g,o){if(!this._isVisible)throw new Error("Not supported");let J=this.getInputStartOffsetOfOutputLineIndex(o),T=this.getInputEndOffsetOfOutputLineIndex(d,g,o),sa=d.getValueInRange({startLineNumber:g,startColumn:J+1,endLineNumber:g,endColumn:T+1});return o>0&&(sa=cg(this._lineBreakData.wrappedTextIndentLength)+sa),sa}getViewLineLength(d,g,o){if(!this._isVisible)throw new Error("Not supported");let J=this.getInputStartOffsetOfOutputLineIndex(o),T=this.getInputEndOffsetOfOutputLineIndex(d,g,o)-J;return o>0&&(T=this._lineBreakData.wrappedTextIndentLength+T),T}getViewLineMinColumn(d,g,o){if(!this._isVisible)throw new Error("Not supported");return o>0?this._lineBreakData.wrappedTextIndentLength+1:1}getViewLineMaxColumn(d,g,o){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(d,g,o).length+1}getViewLineData(d,g,o){if(!this._isVisible)throw new Error("Not supported");let J=this.getInputStartOffsetOfOutputLineIndex(o),T=this.getInputEndOffsetOfOutputLineIndex(d,g,o),sa=d.getValueInRange({startLineNumber:g,startColumn:J+1,endLineNumber:g,endColumn:T+1});o>0&&(sa=cg(this._lineBreakData.wrappedTextIndentLength)+sa);let Ia=o>0?this._lineBreakData.wrappedTextIndentLength+1:1,Sa=sa.length+1,bb=o+1<this.getViewLineCount(),ib=0;o>0&&(ib=this._lineBreakData.wrappedTextIndentLength);let ob=d.getLineTokens(g);const Mb=0===o?0:this._lineBreakData.breakOffsetsVisibleColumn[o-1];return new mb.c(sa,bb,Ia,Sa,Mb,ob.sliceAndInflate(J,T,ib))}getViewLinesData(d,g,o,J,T,sa,Ia){if(!this._isVisible)throw new Error("Not supported");for(let Sa=o;Sa<J;Sa++){let bb=T+Sa-o;sa[bb]?Ia[bb]=this.getViewLineData(d,g,Sa):Ia[bb]=null}}getModelColumnOfViewPosition(d,g){if(!this._isVisible)throw new Error("Not supported");let o=g-1;return d>0&&(o<this._lineBreakData.wrappedTextIndentLength?o=0:o-=this._lineBreakData.wrappedTextIndentLength),$e.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,d,o)+1}getViewPositionOfModelPosition(d,g){if(!this._isVisible)throw new Error("Not supported");let o=$e.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,g-1),J=o.outputLineIndex,T=o.outputOffset+1;return J>0&&(T+=this._lineBreakData.wrappedTextIndentLength),new Fb.a(d+J,T)}getViewLineNumberOfModelPosition(d,g){if(!this._isVisible)throw new Error("Not supported");return d+$e.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,g-1).outputLineIndex}}let nf=[""];function cg(d){if(d>=nf.length)for(let g=1;g<=d;g++)nf[g]=Yg(g);return nf[d]}function Yg(d){return new Array(d+1).join(" ")}function uf(d,g){return null===d?g?pg.INSTANCE:Kf.INSTANCE:new nh(d,g)}class dg{constructor(d){this._lines=d}_validPosition(d){return this._lines.model.validatePosition(d)}_validRange(d){return this._lines.model.validateRange(d)}convertViewPositionToModelPosition(d){return this._validPosition(d)}convertViewRangeToModelRange(d){return this._validRange(d)}validateViewPosition(d,g){return this._validPosition(g)}validateViewRange(d,g){return this._validRange(g)}convertModelPositionToViewPosition(d){return this._validPosition(d)}convertModelRangeToViewRange(d){return this._validRange(d)}modelPositionIsVisible(d){const g=this._lines.model.getLineCount();return!(d.lineNumber<1||d.lineNumber>g)}}class Oc{constructor(d){this.model=d}dispose(){}createCoordinatesConverter(){return new dg(this)}getHiddenAreas(){return[]}setHiddenAreas(d){return!1}setTabSize(d){return!1}setWrappingSettings(d,g,o,J){return!1}createLineBreaksComputer(){let d=[];return{addRequest:(g,o)=>{d.push(null)},finalize:()=>d}}onModelFlushed(){}onModelLinesDeleted(d,g,o){return new ue(g,o)}onModelLinesInserted(d,g,o,J){return new ve(g,o)}onModelLineChanged(d,g,o){return[!1,new De(g,g),null,null]}acceptVersionId(d){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(d,g,o){return{startLineNumber:d,endLineNumber:d,indent:0}}getViewLinesIndentGuides(d,g){const o=g-d+1;let J=new Array(o);for(let T=0;T<o;T++)J[T]=0;return J}getViewLineContent(d){return this.model.getLineContent(d)}getViewLineLength(d){return this.model.getLineLength(d)}getViewLineMinColumn(d){return this.model.getLineMinColumn(d)}getViewLineMaxColumn(d){return this.model.getLineMaxColumn(d)}getViewLineData(d){let g=this.model.getLineTokens(d),o=g.getLineContent();return new mb.c(o,!1,1,o.length+1,0,g.inflate())}getViewLinesData(d,g,o){const J=this.model.getLineCount();d=Math.min(Math.max(1,d),J),g=Math.min(Math.max(1,g),J);let T=[];for(let sa=d;sa<=g;sa++){let Ia=sa-d;o[Ia]||(T[Ia]=null),T[Ia]=this.getViewLineData(sa)}return T}getAllOverviewRulerDecorations(d,g,o){const J=this.model.getOverviewRulerDecorations(d,g),T=new ef();for(const sa of J){const Ia=sa.options.overviewRuler,Sa=Ia?Ia.position:0;if(0===Sa)continue;const bb=Ia.getColor(o),ib=sa.range.startLineNumber,ob=sa.range.endLineNumber;T.accept(bb,ib,ob,Sa)}return T.result}getDecorationsInRange(d,g,o){return this.model.getDecorationsInRange(d,g,o)}}class ef{constructor(){this.result=Object.create(null)}accept(d,g,o,J){let T=this.result[d];if(T){const sa=T[T.length-3],Ia=T[T.length-1];if(sa===J&&Ia+1>=g)return void(o>Ia&&(T[T.length-1]=o));T.push(J,g,o)}else this.result[d]=[J,g,o]}}class qg{constructor(d,g,o,J,T){this.editorId=d,this.model=g,this.configuration=o,this._linesCollection=J,this._coordinatesConverter=T,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(d){const g=d.id;let o=this._decorationsCache[g];if(!o){const J=d.range,T=d.options;let sa;if(T.isWholeLine){const Ia=this._coordinatesConverter.convertModelPositionToViewPosition(new Fb.a(J.startLineNumber,1)),Sa=this._coordinatesConverter.convertModelPositionToViewPosition(new Fb.a(J.endLineNumber,this.model.getLineMaxColumn(J.endLineNumber)));sa=new wb.a(Ia.lineNumber,Ia.column,Sa.lineNumber,Sa.column)}else sa=this._coordinatesConverter.convertModelRangeToViewRange(J);o=new mb.e(sa,T),this._decorationsCache[g]=o}return o}getDecorationsViewportData(d){let g=null!==this._cachedModelDecorationsResolver;return g=g&&d.equalsRange(this._cachedModelDecorationsResolverViewRange),g||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(d),this._cachedModelDecorationsResolverViewRange=d),this._cachedModelDecorationsResolver}_getDecorationsViewportData(d){const g=this._linesCollection.getDecorationsInRange(d,this.editorId,Object(ua.l)(this.configuration.options)),o=d.startLineNumber,J=d.endLineNumber;let T=[],sa=0,Ia=[];for(let Sa=o;Sa<=J;Sa++)Ia[Sa-o]=[];for(let Sa=0,bb=g.length;Sa<bb;Sa++){let ib=g[Sa],ob=ib.options,Mb=this._getOrCreateViewModelDecoration(ib),Gb=Mb.range;if(T[sa++]=Mb,ob.inlineClassName){let ac=new mb.a(Gb,ob.inlineClassName,ob.inlineClassNameAffectsLetterSpacing?3:0),gc=Math.max(o,Gb.startLineNumber),Gc=Math.min(J,Gb.endLineNumber);for(let Qc=gc;Qc<=Gc;Qc++)Ia[Qc-o].push(ac)}if(ob.beforeContentClassName&&o<=Gb.startLineNumber&&Gb.startLineNumber<=J){let ac=new mb.a(new wb.a(Gb.startLineNumber,Gb.startColumn,Gb.startLineNumber,Gb.startColumn),ob.beforeContentClassName,1);Ia[Gb.startLineNumber-o].push(ac)}if(ob.afterContentClassName&&o<=Gb.endLineNumber&&Gb.endLineNumber<=J){let ac=new mb.a(new wb.a(Gb.endLineNumber,Gb.endColumn,Gb.endLineNumber,Gb.endColumn),ob.afterContentClassName,2);Ia[Gb.endLineNumber-o].push(ac)}}return{decorations:T,inlineDecorations:Ia}}}class of extends P.a{constructor(d,g,o,J,T,sa){if(super(),this._editorId=d,this._configuration=g,this.model=o,this._eventDispatcher=new _f(),this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new tc.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._tokenizeViewportSoon=this._register(new k.d(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new k.d(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new Oc(this.model);else{const Ia=this._configuration.options,Sa=Ia.get(36),bb=Ia.get(112),ib=Ia.get(118),ob=Ia.get(111);this._lines=new Je(this.model,J,T,Sa,this.model.getOptions().tabSize,bb,ib.wrappingColumn,ob)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new Ge(o,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new ag(this._configuration,this.getLineCount(),sa)),this._register(this.viewLayout.onDidScroll(Ia=>{Ia.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new zd(Ia)),this._eventDispatcher.emitOutgoingEvent(new xe(Ia.oldScrollWidth,Ia.oldScrollLeft,Ia.oldScrollHeight,Ia.oldScrollTop,Ia.scrollWidth,Ia.scrollLeft,Ia.scrollHeight,Ia.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(Ia=>{this._eventDispatcher.emitOutgoingEvent(Ia)})),this._decorations=new qg(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(Ia=>{try{const Sa=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(Sa,Ia)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(qa.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new kf())})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}addViewEventHandler(d){this._eventDispatcher.addViewEventHandler(d)}removeViewEventHandler(d){this._eventDispatcher.removeViewEventHandler(d)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){const d=this.viewLayout.getLinesViewportData(),g=this.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(d.startLineNumber,1)),o=this.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(d.endLineNumber,1));this.model.tokenizeViewport(g.lineNumber,o.lineNumber)}setHasFocus(d){this._hasFocus=d,this._cursor.setHasFocus(d),this._eventDispatcher.emitSingleViewEvent(new Fd(d)),this._eventDispatcher.emitOutgoingEvent(new rf(!d,d))}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new ye())}_onConfigurationChanged(d,g){let o=null;if(-1!==this._viewportStartLine){let ib=new Fb.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));o=this.coordinatesConverter.convertViewPositionToModelPosition(ib)}let J=!1;const T=this._configuration.options,sa=T.get(36),Ia=T.get(112),Sa=T.get(118),bb=T.get(111);if(this._lines.setWrappingSettings(sa,Ia,Sa.wrappingColumn,bb)&&(d.emitViewEvent(new Cd()),d.emitViewEvent(new pe()),d.emitViewEvent(new Ce(null)),this._cursor.onLineMappingChanged(d),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(J=!0),this._updateConfigurationViewLineCount.schedule()),g.hasChanged(72)&&(this._decorations.reset(),d.emitViewEvent(new Ce(null))),d.emitViewEvent(new Sd(g)),this.viewLayout.onConfigurationChanged(g),J&&o){const ib=this.coordinatesConverter.convertModelPositionToViewPosition(o),ob=this.viewLayout.getVerticalOffsetForLineNumber(ib.lineNumber);this.viewLayout.setScrollPosition({scrollTop:ob+this._viewportStartLineDelta},1)}tc.b.shouldRecreate(g)&&(this.cursorConfig=new tc.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeRawContentFast(d=>{try{const g=this._eventDispatcher.beginEmitViewEvents();let o=!1,J=!1;const T=d.changes,sa=d.versionId,Ia=this._lines.createLineBreaksComputer();for(const ib of T)switch(ib.changeType){case 4:for(const ob of ib.detail)Ia.addRequest(ob,null);break;case 2:Ia.addRequest(ib.detail,null)}const Sa=Ia.finalize();let bb=0;for(const ib of T)switch(ib.changeType){case 1:this._lines.onModelFlushed(),g.emitViewEvent(new Cd()),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),o=!0;break;case 3:{const ob=this._lines.onModelLinesDeleted(sa,ib.fromLineNumber,ib.toLineNumber);null!==ob&&(g.emitViewEvent(ob),this.viewLayout.onLinesDeleted(ob.fromLineNumber,ob.toLineNumber)),o=!0;break}case 4:{const ob=Sa.slice(bb,bb+ib.detail.length);bb+=ib.detail.length;const Mb=this._lines.onModelLinesInserted(sa,ib.fromLineNumber,ib.toLineNumber,ob);null!==Mb&&(g.emitViewEvent(Mb),this.viewLayout.onLinesInserted(Mb.fromLineNumber,Mb.toLineNumber)),o=!0;break}case 2:{const ob=Sa[bb];bb++;const[Mb,Gb,ac,gc]=this._lines.onModelLineChanged(sa,ib.lineNumber,ob);J=Mb,Gb&&g.emitViewEvent(Gb),ac&&(g.emitViewEvent(ac),this.viewLayout.onLinesInserted(ac.fromLineNumber,ac.toLineNumber)),gc&&(g.emitViewEvent(gc),this.viewLayout.onLinesDeleted(gc.fromLineNumber,gc.toLineNumber));break}}this._lines.acceptVersionId(sa),this.viewLayout.onHeightMaybeChanged(),!o&&J&&(g.emitViewEvent(new pe()),g.emitViewEvent(new Ce(null)),this._cursor.onLineMappingChanged(g),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){const g=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(g){const o=this.coordinatesConverter.convertModelPositionToViewPosition(g.getStartPosition()),J=this.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber);this.viewLayout.setScrollPosition({scrollTop:J+this._viewportStartLineDelta},1)}}try{const g=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(g,d)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(d=>{let g=[];for(let o=0,J=d.ranges.length;o<J;o++){const T=d.ranges[o],sa=this.coordinatesConverter.convertModelPositionToViewPosition(new Fb.a(T.fromLineNumber,1)).lineNumber,Ia=this.coordinatesConverter.convertModelPositionToViewPosition(new Fb.a(T.toLineNumber,this.model.getLineMaxColumn(T.toLineNumber))).lineNumber;g[o]={fromLineNumber:sa,toLineNumber:Ia}}this._eventDispatcher.emitSingleViewEvent(new Pe(g)),d.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(d=>{this._eventDispatcher.emitSingleViewEvent(new Wd()),this.cursorConfig=new tc.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(d=>{this.cursorConfig=new tc.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(d=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const g=this._eventDispatcher.beginEmitViewEvents();g.emitViewEvent(new Cd()),g.emitViewEvent(new pe()),g.emitViewEvent(new Ce(null)),this._cursor.onLineMappingChanged(g),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new tc.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(d=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new Ce(d))}))}setHiddenAreas(d){try{const g=this._eventDispatcher.beginEmitViewEvents();this._lines.setHiddenAreas(d)&&(g.emitViewEvent(new Cd()),g.emitViewEvent(new pe()),g.emitViewEvent(new Ce(null)),this._cursor.onLineMappingChanged(g),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){const d=this._configuration.options.get(117),g=this._configuration.options.get(51),o=Math.max(20,Math.round(d.height/g)),J=this.viewLayout.getLinesViewportData(),T=Math.max(1,J.completelyVisibleStartLineNumber-o),sa=Math.min(this.getLineCount(),J.completelyVisibleEndLineNumber+o);return this._toModelVisibleRanges(new wb.a(T,this.getLineMinColumn(T),sa,this.getLineMaxColumn(sa)))}getVisibleRanges(){const d=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(d)}_toModelVisibleRanges(d){const g=this.coordinatesConverter.convertViewRangeToModelRange(d),o=this._lines.getHiddenAreas();if(0===o.length)return[g];let J=[],T=0,sa=g.startLineNumber,Ia=g.startColumn,Sa=g.endLineNumber,bb=g.endColumn;for(let ib=0,ob=o.length;ib<ob;ib++){const Mb=o[ib].startLineNumber,Gb=o[ib].endLineNumber;Gb<sa||(Mb>Sa||(sa<Mb&&(J[T++]=new wb.a(sa,Ia,Mb-1,this.model.getLineMaxColumn(Mb-1))),sa=Gb+1,Ia=1))}return(sa<Sa||sa===Sa&&Ia<bb)&&(J[T++]=new wb.a(sa,Ia,Sa,bb)),J}getCompletelyVisibleViewRange(){const d=this.viewLayout.getLinesViewportData(),g=d.completelyVisibleStartLineNumber,o=d.completelyVisibleEndLineNumber;return new wb.a(g,this.getLineMinColumn(g),o,this.getLineMaxColumn(o))}getCompletelyVisibleViewRangeAtScrollTop(d){const g=this.viewLayout.getLinesViewportDataAtScrollTop(d),o=g.completelyVisibleStartLineNumber,J=g.completelyVisibleEndLineNumber;return new wb.a(o,this.getLineMinColumn(o),J,this.getLineMaxColumn(J))}saveState(){const d=this.viewLayout.saveState(),g=d.scrollTop,o=this.viewLayout.getLineNumberAtVerticalOffset(g),J=this.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(o,this.getLineMinColumn(o))),T=this.viewLayout.getVerticalOffsetForLineNumber(o)-g;return{scrollLeft:d.scrollLeft,firstPosition:J,firstPositionDeltaTop:T}}reduceRestoreState(d){if(void 0===d.firstPosition)return this._reduceRestoreStateCompatibility(d);const g=this.model.validatePosition(d.firstPosition),o=this.coordinatesConverter.convertModelPositionToViewPosition(g),J=this.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber)-d.firstPositionDeltaTop;return{scrollLeft:d.scrollLeft,scrollTop:J}}_reduceRestoreStateCompatibility(d){return{scrollLeft:d.scrollLeft,scrollTop:d.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getTextModelOptions(){return this.model.getOptions()}getLineCount(){return this._lines.getViewLineCount()}setViewport(d,g,o){this._viewportStartLine=d;let J=this.coordinatesConverter.convertViewPositionToModelPosition(new Fb.a(d,this.getLineMinColumn(d)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new wb.a(J.lineNumber,J.column,J.lineNumber,J.column),1);const T=this.viewLayout.getVerticalOffsetForLineNumber(d),sa=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=sa-T}getActiveIndentGuide(d,g,o){return this._lines.getActiveIndentGuide(d,g,o)}getLinesIndentGuides(d,g){return this._lines.getViewLinesIndentGuides(d,g)}getLineContent(d){return this._lines.getViewLineContent(d)}getLineLength(d){return this._lines.getViewLineLength(d)}getLineMinColumn(d){return this._lines.getViewLineMinColumn(d)}getLineMaxColumn(d){return this._lines.getViewLineMaxColumn(d)}getLineFirstNonWhitespaceColumn(d){const g=tb.w(this.getLineContent(d));return-1===g?0:g+1}getLineLastNonWhitespaceColumn(d){const g=tb.J(this.getLineContent(d));return-1===g?0:g+2}getDecorationsInViewport(d){return this._decorations.getDecorationsViewportData(d).decorations}getViewLineRenderingData(d,g){let o=this.model.mightContainRTL(),J=this.model.mightContainNonBasicASCII(),T=this.getTabSize(),sa=this._lines.getViewLineData(g),Ia=this._decorations.getDecorationsViewportData(d).inlineDecorations[g-d.startLineNumber];return new mb.d(sa.minColumn,sa.maxColumn,sa.content,sa.continuesWithWrappedLine,o,J,sa.tokens,Ia,T,sa.startVisibleColumn)}getViewLineData(d){return this._lines.getViewLineData(d)}getMinimapLinesRenderingData(d,g,o){let J=this._lines.getViewLinesData(d,g,o);return new mb.b(this.getTabSize(),J)}getAllOverviewRulerDecorations(d){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(ua.l)(this._configuration.options),d)}invalidateOverviewRulerColorCache(){const d=this.model.getOverviewRulerDecorations();for(const g of d){const o=g.options.overviewRuler;o&&o.invalidateCachedColor()}}invalidateMinimapColorCache(){const d=this.model.getAllDecorations();for(const g of d){const o=g.options.minimap;o&&o.invalidateCachedColor()}}getValueInRange(d,g){const o=this.coordinatesConverter.convertViewRangeToModelRange(d);return this.model.getValueInRange(o,g)}getModelLineMaxColumn(d){return this.model.getLineMaxColumn(d)}validateModelPosition(d){return this.model.validatePosition(d)}validateModelRange(d){return this.model.validateRange(d)}deduceModelPositionRelativeToViewPosition(d,g,o){const J=this.coordinatesConverter.convertViewPositionToModelPosition(d);2===this.model.getEOL().length&&(g<0?g-=o:g+=o);const T=this.model.getOffsetAt(J)+g;return this.model.getPositionAt(T)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(d,g,o){const J=o?`\r -`:this.model.getEOL();(d=d.slice(0)).sort(wb.a.compareRangesUsingStarts);let T=!1,sa=!1;for(const Sa of d)Sa.isEmpty()?T=!0:sa=!0;if(!sa){if(!g)return"";const Sa=d.map(ib=>ib.startLineNumber);let bb="";for(let ib=0;ib<Sa.length;ib++)ib>0&&Sa[ib-1]===Sa[ib]||(bb+=this.model.getLineContent(Sa[ib])+J);return bb}if(T&&g){let Sa=[],bb=0;for(const ib of d){const ob=ib.startLineNumber;ib.isEmpty()?ob!==bb&&Sa.push(this.model.getLineContent(ob)):Sa.push(this.model.getValueInRange(ib,o?2:0)),bb=ob}return 1===Sa.length?Sa[0]:Sa}let Ia=[];for(const Sa of d)Sa.isEmpty()||Ia.push(this.model.getValueInRange(Sa,o?2:0));return 1===Ia.length?Ia[0]:Ia}getRichTextToCopy(d,g){const o=this.model.getLanguageIdentifier();if(1===o.id)return null;if(1!==d.length)return null;let J=d[0];if(J.isEmpty()){if(!g)return null;const Sa=J.startLineNumber;J=new wb.a(Sa,this.model.getLineMinColumn(Sa),Sa,this.model.getLineMaxColumn(Sa))}const T=this._configuration.options.get(36),sa=this._getColorMap(),Ia=T.fontFamily===ua.c.fontFamily?T.fontFamily:`'${T.fontFamily}', ${ua.c.fontFamily}`;return{mode:o.language,html:`<div style="color: ${sa[1]};background-color: ${sa[2]};font-family: ${Ia};font-weight: ${T.fontWeight};font-size: ${T.fontSize}px;line-height: ${T.lineHeight}px;white-space: pre;">`+this._getHTMLToCopy(J,sa)+"</div>"}}_getHTMLToCopy(d,g){const o=d.startLineNumber,J=d.startColumn,T=d.endLineNumber,sa=d.endColumn,Ia=this.getTabSize();let Sa="";for(let bb=o;bb<=T;bb++){const ib=this.model.getLineTokens(bb),ob=ib.getLineContent(),Mb=bb===o?J-1:0,Gb=bb===T?sa-1:ob.length;Sa+=""===ob?"<br>":Object(lf.a)(ob,ib.inflate(),g,Mb,Gb,Ia,Q.i)}return Sa}_getColorMap(){let d=xa.C.getColorMap(),g=["#000000"];if(d)for(let o=1,J=d.length;o<J;o++)g[o]=ya.a.Format.CSS.formatHex(d[o]);return g}pushStackElement(){this.model.pushStackElement()}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(d,g,o){this._withViewEventsCollector(J=>this._cursor.setStates(J,d,g,o))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}setCursorColumnSelectData(d){this._cursor.setCursorColumnSelectData(d)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(d){this._cursor.setPrevEditOperationType(d)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(d,g){this._withViewEventsCollector(o=>this._cursor.setSelections(o,d,g))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(d){this._withViewEventsCollector(g=>this._cursor.restoreState(g,d))}_executeCursorEdit(d){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Qe()):this._withViewEventsCollector(d)}executeEdits(d,g,o){this._executeCursorEdit(J=>this._cursor.executeEdits(J,d,g,o))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(d=>this._cursor.startComposition(d))}endComposition(d){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(g=>this._cursor.endComposition(g,d))}type(d,g){this._executeCursorEdit(o=>this._cursor.type(o,d,g))}replacePreviousChar(d,g,o){this._executeCursorEdit(J=>this._cursor.replacePreviousChar(J,d,g,o))}paste(d,g,o,J){this._executeCursorEdit(T=>this._cursor.paste(T,d,g,o,J))}cut(d){this._executeCursorEdit(g=>this._cursor.cut(g,d))}executeCommand(d,g){this._executeCursorEdit(o=>this._cursor.executeCommand(o,d,g))}executeCommands(d,g){this._executeCursorEdit(o=>this._cursor.executeCommands(o,d,g))}revealPrimaryCursor(d,g){this._withViewEventsCollector(o=>this._cursor.revealPrimary(o,d,g,0))}revealTopMostCursor(d){const g=this._cursor.getTopMostViewPosition(),o=new wb.a(g.lineNumber,g.column,g.lineNumber,g.column);this._withViewEventsCollector(J=>J.emitViewEvent(new je(d,o,null,0,!0,0)))}revealBottomMostCursor(d){const g=this._cursor.getBottomMostViewPosition(),o=new wb.a(g.lineNumber,g.column,g.lineNumber,g.column);this._withViewEventsCollector(J=>J.emitViewEvent(new je(d,o,null,0,!0,0)))}revealRange(d,g,o,J,T){this._withViewEventsCollector(sa=>sa.emitViewEvent(new je(d,o,null,J,g,T)))}getVerticalOffsetForLineNumber(d){return this.viewLayout.getVerticalOffsetForLineNumber(d)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(d,g){this.viewLayout.setScrollPosition({scrollTop:d},g)}setScrollPosition(d,g){this.viewLayout.setScrollPosition(d,g)}deltaScrollNow(d,g){this.viewLayout.deltaScrollNow(d,g)}changeWhitespace(d){this.viewLayout.changeWhitespace(d)&&(this._eventDispatcher.emitSingleViewEvent(new qe()),this._eventDispatcher.emitOutgoingEvent(new Gf()))}setMaxLineWidth(d){this.viewLayout.setMaxLineWidth(d)}_withViewEventsCollector(d){try{d(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}}var Lf=f(27),rg=f(10),eg=f(18),fg=f(149),oh=f(49),ph=f(80),sg=f(14),vf=f(76);class Wf extends vf.a{constructor(d,g){super(0);for(let o=0;o<d.length;o++)this.set(d.charCodeAt(o),1);for(let o=0;o<g.length;o++)this.set(g.charCodeAt(o),2)}get(d){return d>=0&&d<256?this._asciiMap[d]:d>=12352&&d<=12543||d>=13312&&d<=19903||d>=19968&&d<=40959?3:this._map.get(d)||this._defaultValue}}let Gg=[],tg=[];class ug{constructor(d,g){this.classifier=new Wf(d,g)}static create(d){return new ug(d.get(108),d.get(107))}createLineBreaksComputer(d,g,o,J){g|=0,o=+o;let T=[],sa=[];return{addRequest:(Ia,Sa)=>{T.push(Ia),sa.push(Sa)},finalize:()=>{const Ia=d.typicalFullwidthCharacterWidth/d.typicalHalfwidthCharacterWidth;let Sa=[];for(let bb=0,ib=T.length;bb<ib;bb++){const ob=sa[bb];Sa[bb]=ob?Hg(this.classifier,ob,T[bb],g,o,Ia,J):Mf(this.classifier,T[bb],g,o,Ia,J)}return Gg.length=0,tg.length=0,Sa}}}}function Hg(d,g,o,J,T,sa,Ia){if(-1===T)return null;const Sa=o.length;if(Sa<=1)return null;const bb=g.breakOffsets,ib=g.breakOffsetsVisibleColumn,ob=hg(o,J,T,sa,Ia),Mb=T-ob;let Gb=Gg,ac=tg,gc=0,Gc=0,Qc=0,Jc=T;const Wc=bb.length;let _c=0;if(_c>=0){let Zc=Math.abs(ib[_c]-Jc);for(;_c+1<Wc;){const bd=Math.abs(ib[_c+1]-Jc);if(bd>=Zc)break;Zc=bd,_c++}}for(;_c<Wc;){let Zc=_c<0?0:bb[_c],bd=_c<0?0:ib[_c];Gc>Zc&&(Zc=Gc,bd=Qc);let Id=0,sd=0,Pd=0,be=0;if(bd<=Jc){let Td=bd,ze=0===Zc?0:o.charCodeAt(Zc-1),Re=0===Zc?0:d.get(ze),cf=!0;for(let Ne=Zc;Ne<Sa;Ne++){const Oe=Ne,Ee=o.charCodeAt(Ne);let yf,Fe;if(tb.F(Ee)?(Ne++,yf=0,Fe=2):(yf=d.get(Ee),Fe=Xf(Ee,Td,J,sa)),Oe>Gc&&gg(ze,Re,Ee,yf)&&(Id=Oe,sd=Td),Td+=Fe,Td>Jc){Oe>Gc?(Pd=Oe,be=Td-Fe):(Pd=Ne+1,be=Td),Td-sd>Mb&&(Id=0),cf=!1;break}ze=Ee,Re=yf}if(cf){gc>0&&(Gb[gc]=bb[bb.length-1],ac[gc]=ib[bb.length-1],gc++);break}}if(0===Id){let Td=bd,ze=o.charCodeAt(Zc),Re=d.get(ze),cf=!1;for(let Ne=Zc-1;Ne>=Gc;Ne--){const Oe=Ne+1,Ee=o.charCodeAt(Ne);if(9===Ee){cf=!0;break}let yf,Fe;if(tb.G(Ee)?(Ne--,yf=0,Fe=2):(yf=d.get(Ee),Fe=tb.E(Ee)?sa:1),Td<=Jc){if(0===Pd&&(Pd=Oe,be=Td),Td<=Jc-Mb)break;if(gg(Ee,yf,ze,Re)){Id=Oe,sd=Td;break}}Td-=Fe,ze=Ee,Re=yf}if(0!==Id){const Ne=Mb-(be-sd);if(Ne<=J){const Oe=o.charCodeAt(Pd);let Ee;Ee=tb.F(Oe)?2:Xf(Oe,be,J,sa),Ne-Ee<0&&(Id=0)}}if(cf){_c--;continue}}for(0===Id&&(Id=Pd,sd=be),Gc=Id,Gb[gc]=Id,Qc=sd,ac[gc]=sd,gc++,Jc=sd+Mb;_c<0||_c<Wc&&ib[_c]<sd;)_c++;let me=Math.abs(ib[_c]-Jc);for(;_c+1<Wc;){const Td=Math.abs(ib[_c+1]-Jc);if(Td>=me)break;me=Td,_c++}}return 0===gc?null:(Gb.length=gc,ac.length=gc,Gg=g.breakOffsets,tg=g.breakOffsetsVisibleColumn,g.breakOffsets=Gb,g.breakOffsetsVisibleColumn=ac,g.wrappedTextIndentLength=ob,g)}function Mf(d,g,o,J,T,sa){if(-1===J)return null;const Ia=g.length;if(Ia<=1)return null;const Sa=hg(g,o,J,T,sa),bb=J-Sa;let ib=[],ob=[],Mb=0,Gb=0,ac=0,gc=J,Gc=g.charCodeAt(0),Qc=d.get(Gc),Jc=Xf(Gc,0,o,T),Wc=1;tb.F(Gc)&&(Jc+=1,Gc=g.charCodeAt(1),Qc=d.get(Gc),Wc++);for(let _c=Wc;_c<Ia;_c++){const Zc=_c,bd=g.charCodeAt(_c);let Id,sd;tb.F(bd)?(_c++,Id=0,sd=2):(Id=d.get(bd),sd=Xf(bd,Jc,o,T)),gg(Gc,Qc,bd,Id)&&(Gb=Zc,ac=Jc),Jc+=sd,Jc>gc&&((0===Gb||Jc-ac>bb)&&(Gb=Zc,ac=Jc-sd),ib[Mb]=Gb,ob[Mb]=ac,Mb++,gc=ac+bb,Gb=0),Gc=bd,Qc=Id}return 0===Mb?null:(ib[Mb]=Ia,ob[Mb]=Jc,new $e(ib,ob,Sa))}function Xf(d,g,o,J){return 9===d?o-g%o:tb.E(d)?J:1}function Ig(d,g){return g-d%g}function gg(d,g,o,J){return 32!==o&&(2===g||3===g&&2!==J||1===J||3===J&&1!==g)}function hg(d,g,o,J,T){let sa=0;if(0!==T){const Ia=tb.w(d);if(-1!==Ia){for(let bb=0;bb<Ia;bb++)sa+=9===d.charCodeAt(bb)?Ig(sa,g):1;const Sa=3===T?2:2===T?1:0;for(let bb=0;bb<Sa;bb++)sa+=Ig(sa,g);sa+J>o&&(sa=0)}}return sa}class Nf{static create(){return new Nf()}constructor(){}createLineBreaksComputer(d,g,o,J){g|=0,o=+o;let T=[];return{addRequest:(sa,Ia)=>{T.push(sa)},finalize:()=>function(sa,Ia,Sa,bb,ib){if(-1===bb){const bd=[];for(let Id=0,sd=sa.length;Id<sd;Id++)bd[Id]=null;return bd}const ob=Math.round(bb*Ia.typicalHalfwidthCharacterWidth);2!==ib&&3!==ib||(ib=1);const Mb=document.createElement("div");R.a.applyFontInfoSlow(Mb,Ia);const Gb=Object(ad.a)(1e4),ac=[],gc=[],Gc=[],Qc=[],Jc=[];for(let bd=0;bd<sa.length;bd++){const Id=sa[bd];let sd=0,Pd=0,be=ob;if(0!==ib)if(sd=tb.w(Id),-1===sd)sd=0;else{for(let Re=0;Re<sd;Re++){const cf=9===Id.charCodeAt(Re)?Sa-Pd%Sa:1;Pd+=cf}const ze=Math.ceil(Ia.spaceWidth*Pd);ze+Ia.typicalFullwidthCharacterWidth>ob?(sd=0,Pd=0):be=ob-ze}const me=Id.substr(sd),Td=Te(me,Pd,Sa,be,Gb);ac[bd]=sd,gc[bd]=Pd,Gc[bd]=me,Qc[bd]=Td[0],Jc[bd]=Td[1]}Mb.innerHTML=Gb.build(),Mb.style.position="absolute",Mb.style.top="10000",Mb.style.wordWrap="break-word",document.body.appendChild(Mb);let Wc=document.createRange();const _c=Array.prototype.slice.call(Mb.children,0);let Zc=[];for(let bd=0;bd<sa.length;bd++){const Id=_c[bd],sd=af(Wc,Id,Gc[bd],Qc[bd]);if(null===sd){Zc[bd]=null;continue}const Pd=ac[bd],be=gc[bd],me=Jc[bd],Td=[];for(let ze=0,Re=sd.length;ze<Re;ze++)Td[ze]=me[sd[ze]];if(0!==Pd)for(let ze=0,Re=sd.length;ze<Re;ze++)sd[ze]+=Pd;Zc[bd]=new $e(sd,Td,be)}return document.body.removeChild(Mb),Zc}(T,d,g,o,J)}}}function Te(d,g,o,J,T){T.appendASCIIString('<div style="width:'),T.appendASCIIString(String(J)),T.appendASCIIString('px;">');const sa=d.length;let Ia=g,Sa=0,bb=[],ib=[],ob=0<sa?d.charCodeAt(0):0;T.appendASCIIString("<span>");for(let Mb=0;Mb<sa;Mb++){0!==Mb&&Mb%16384==0&&T.appendASCIIString("</span><span>"),bb[Mb]=Sa,ib[Mb]=Ia;const Gb=ob;ob=Mb+1<sa?d.charCodeAt(Mb+1):0;let ac=1,gc=1;switch(Gb){case 9:ac=o-Ia%o,gc=ac;for(let Gc=1;Gc<=ac;Gc++)Gc<ac?T.write1(160):T.appendASCII(32);break;case 32:32===ob?T.write1(160):T.appendASCII(32);break;case 60:T.appendASCIIString("<");break;case 62:T.appendASCIIString(">");break;case 38:T.appendASCIIString("&");break;case 0:T.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:T.write1(65533);break;default:tb.E(Gb)&&gc++,T.write1(Gb)}Sa+=ac,Ia+=gc}return T.appendASCIIString("</span>"),bb[d.length]=Sa,ib[d.length]=Ia,T.appendASCIIString("</div>"),[bb,ib]}function af(d,g,o,J){if(o.length<=1)return null;const T=Array.prototype.slice.call(g.children,0),sa=[];try{!function Ia(Sa,bb,ib,ob,Mb,Gb,ac,gc){if(ob===Gb)return;if(Mb=Mb||qh(Sa,bb,ib[ob],ib[ob+1]),ac=ac||qh(Sa,bb,ib[Gb],ib[Gb+1]),Math.abs(Mb[0].top-ac[0].top)<=.1)return;if(ob+1===Gb)return void gc.push(Gb);const Gc=ob+(Gb-ob)/2|0,Qc=qh(Sa,bb,ib[Gc],ib[Gc+1]);Ia(Sa,bb,ib,ob,Mb,Gc,Qc,gc),Ia(Sa,bb,ib,Gc,Qc,Gb,ac,gc)}(d,T,J,0,null,o.length-1,null,sa)}catch(Ia){return console.log(Ia),null}return 0===sa.length?null:(sa.push(o.length),sa)}function qh(d,g,o,J){return d.setStart(g[o/16384|0].firstChild,o%16384),d.setEnd(g[J/16384|0].firstChild,J%16384),d.getClientRects()}var Jg=f(129),wf=function(d,g,o,J){var T,sa=arguments.length,Ia=sa<3?g:null===J?J=Object.getOwnPropertyDescriptor(g,o):J;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ia=Reflect.decorate(d,g,o,J);else for(var Sa=d.length-1;Sa>=0;Sa--)(T=d[Sa])&&(Ia=(sa<3?T(Ia):sa>3?T(g,o,Ia):T(g,o))||Ia);return sa>3&&Ia&&Object.defineProperty(g,o,Ia),Ia},xf=function(d,g){return function(o,J){g(o,J,d)}};let Kg=0;class rh{constructor(d,g,o,J,T){this.model=d,this.viewModel=g,this.view=o,this.hasRealView=J,this.listenersToRemove=T}dispose(){Object(P.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let ff=class d extends P.a{constructor(g,o,J,T,sa,Ia,Sa,bb,ib,ob){let Mb;super(),this._onDidDispose=this._register(new F.a()),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new F.a()),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new F.a()),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new F.a()),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new F.a()),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new F.a()),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new F.a()),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new F.a()),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new F.a()),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new F.a()),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new F.a()),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new F.a()),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new Lg()),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new Lg()),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new F.a()),this.onWillType=this._onWillType.event,this._onDidType=this._register(new F.a()),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new F.a()),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new F.a()),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new F.a()),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new F.a()),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new F.a()),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new F.a()),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new F.a()),this.onMouseDrop=this._onMouseDrop.event,this._onContextMenu=this._register(new F.a()),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new F.a()),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new F.a()),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new F.a()),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new F.a()),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new F.a()),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new F.a()),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new F.a()),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new F.a()),this.onDidChangeViewZones=this._onDidChangeViewZones.event,o=o||{},this._domElement=g,this._overflowWidgetsDomNode=o.overflowWidgetsDomNode,this._id=++Kg,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this.isSimpleWidget=J.isSimpleWidget||!1,this._telemetryData=J.telemetryData,this._configuration=this._register(this._createConfiguration(o,ob)),this._register(this._configuration.onDidChange(Gb=>{this._onDidChangeConfiguration.fire(Gb);const ac=this._configuration.options;if(Gb.hasChanged(117)){const gc=ac.get(117);this._onDidLayoutChange.fire(gc)}})),this._contextKeyService=this._register(Sa.createScoped(this._domElement)),this._notificationService=ib,this._codeEditorService=sa,this._commandService=Ia,this._themeService=bb,this._register(new Mg(this,this._contextKeyService)),this._register(new We(this,this._contextKeyService)),this._instantiationService=T.createChild(new fg.a([rg.b,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new gf(g),this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())}),this._contentWidgets={},this._overlayWidgets={},Mb=Array.isArray(J.contributions)?J.contributions:L.d.getEditorContributions();for(const Gb of Mb)try{const ac=this._instantiationService.createInstance(Gb.ctor,this);this._contributions[Gb.id]=ac}catch(ac){Object(y.e)(ac)}L.d.getEditorActions().forEach(Gb=>{const ac=new sf.a(Gb.id,Gb.label,Gb.alias,Object(sg.n)(Gb.precondition),()=>this._instantiationService.invokeFunction(gc=>Promise.resolve(Gb.runEditorCommand(gc,this,null))),this._contextKeyService);this._actions[ac.id]=ac}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(g,o){return new R.a(this.isSimpleWidget,g,this._domElement,o)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return Kd.a.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();const g=Object.keys(this._contributions);for(let o=0,J=g.length;o<J;o++){const T=g[o];this._contributions[T].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(g){return this._instantiationService.invokeFunction(g)}updateOptions(g){this._configuration.updateOptions(g)}getOptions(){return this._configuration.options}getOption(g){return this._configuration.options.get(g)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(g){return this._modelData?Jg.a.getWordAtPosition(this._modelData.model,this._configuration.options.get(105),g):null}getValue(g=null){if(!this._modelData)return"";const o=!(!g||!g.preserveBOM);let J=0;return g&&g.lineEnding&&` -`===g.lineEnding?J=1:g&&g.lineEnding&&`\r -`===g.lineEnding&&(J=2),this._modelData.model.getValue(J,o)}setValue(g){this._modelData&&this._modelData.model.setValue(g)}getModel(){return this._modelData?this._modelData.model:null}setModel(g=null){const o=g;if(null===this._modelData&&null===o)return;if(this._modelData&&this._modelData.model===o)return;const J=this.hasTextFocus(),T=this._detachModel();this._attachModel(o),J&&this.hasModel()&&this.focus();const sa={oldModelUrl:T?T.uri:null,newModelUrl:o?o.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(sa),this._postDetachModelCleanup(T)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let g in this._decorationTypeSubtypes){const o=this._decorationTypeSubtypes[g];for(let J in o)this._removeDecorationType(g+"-"+J)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetForPosition(g,o,J){const T=g.model.validatePosition({lineNumber:o,column:J}),sa=g.viewModel.coordinatesConverter.convertModelPositionToViewPosition(T);return g.viewModel.viewLayout.getVerticalOffsetForLineNumber(sa.lineNumber)}getTopForLineNumber(g){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,g,1):-1}getTopForPosition(g,o){return this._modelData?d._getVerticalOffsetForPosition(this._modelData,g,o):-1}setHiddenAreas(g){this._modelData&&this._modelData.viewModel.setHiddenAreas(g.map(o=>wb.a.lift(o)))}getVisibleColumnFromPosition(g){if(!this._modelData)return g.column;const o=this._modelData.model.validatePosition(g),J=this._modelData.model.getOptions().tabSize;return tc.a.visibleColumnFromColumn(this._modelData.model.getLineContent(o.lineNumber),o.column,J)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(g){if(this._modelData){if(!Fb.a.isIPosition(g))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:g.lineNumber,selectionStartColumn:g.column,positionLineNumber:g.lineNumber,positionColumn:g.column}])}}_sendRevealRange(g,o,J,T){if(!this._modelData)return;if(!wb.a.isIRange(g))throw new Error("Invalid arguments");const sa=this._modelData.model.validateRange(g),Ia=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(sa);this._modelData.viewModel.revealRange("api",J,Ia,o,T)}revealLine(g,o=0){this._revealLine(g,0,o)}revealLineInCenter(g,o=0){this._revealLine(g,1,o)}revealLineInCenterIfOutsideViewport(g,o=0){this._revealLine(g,2,o)}revealLineNearTop(g,o=0){this._revealLine(g,5,o)}_revealLine(g,o,J){if("number"!=typeof g)throw new Error("Invalid arguments");this._sendRevealRange(new wb.a(g,1,g,1),o,!1,J)}revealPosition(g,o=0){this._revealPosition(g,0,!0,o)}revealPositionInCenter(g,o=0){this._revealPosition(g,1,!0,o)}revealPositionInCenterIfOutsideViewport(g,o=0){this._revealPosition(g,2,!0,o)}revealPositionNearTop(g,o=0){this._revealPosition(g,5,!0,o)}_revealPosition(g,o,J,T){if(!Fb.a.isIPosition(g))throw new Error("Invalid arguments");this._sendRevealRange(new wb.a(g.lineNumber,g.column,g.lineNumber,g.column),o,J,T)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(g){const o=z.a.isISelection(g),J=wb.a.isIRange(g);if(!o&&!J)throw new Error("Invalid arguments");if(o)this._setSelectionImpl(g);else if(J){const T={selectionStartLineNumber:g.startLineNumber,selectionStartColumn:g.startColumn,positionLineNumber:g.endLineNumber,positionColumn:g.endColumn};this._setSelectionImpl(T)}}_setSelectionImpl(g){if(!this._modelData)return;const o=new z.a(g.selectionStartLineNumber,g.selectionStartColumn,g.positionLineNumber,g.positionColumn);this._modelData.viewModel.setSelections("api",[o])}revealLines(g,o,J=0){this._revealLines(g,o,0,J)}revealLinesInCenter(g,o,J=0){this._revealLines(g,o,1,J)}revealLinesInCenterIfOutsideViewport(g,o,J=0){this._revealLines(g,o,2,J)}revealLinesNearTop(g,o,J=0){this._revealLines(g,o,5,J)}_revealLines(g,o,J,T){if("number"!=typeof g||"number"!=typeof o)throw new Error("Invalid arguments");this._sendRevealRange(new wb.a(g,1,o,1),J,!1,T)}revealRange(g,o=0,J=!1,T=!0){this._revealRange(g,J?1:0,T,o)}revealRangeInCenter(g,o=0){this._revealRange(g,1,!0,o)}revealRangeInCenterIfOutsideViewport(g,o=0){this._revealRange(g,2,!0,o)}revealRangeNearTop(g,o=0){this._revealRange(g,5,!0,o)}revealRangeNearTopIfOutsideViewport(g,o=0){this._revealRange(g,6,!0,o)}revealRangeAtTop(g,o=0){this._revealRange(g,3,!0,o)}_revealRange(g,o,J,T){if(!wb.a.isIRange(g))throw new Error("Invalid arguments");this._sendRevealRange(wb.a.lift(g),o,J,T)}setSelections(g,o="api"){if(this._modelData){if(!g||0===g.length)throw new Error("Invalid arguments");for(let J=0,T=g.length;J<T;J++)if(!z.a.isISelection(g[J]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(o,g)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(g,o=1){if(this._modelData){if("number"!=typeof g)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollLeft:g},o)}}setScrollTop(g,o=1){if(this._modelData){if("number"!=typeof g)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollTop:g},o)}}setScrollPosition(g,o=1){this._modelData&&this._modelData.viewModel.setScrollPosition(g,o)}saveViewState(){if(!this._modelData)return null;const g={},o=Object.keys(this._contributions);for(const J of o){const T=this._contributions[J];"function"==typeof T.saveViewState&&(g[J]=T.saveViewState())}return{cursorState:this._modelData.viewModel.saveCursorState(),viewState:this._modelData.viewModel.saveState(),contributionsState:g}}restoreViewState(g){if(!this._modelData||!this._modelData.hasRealView)return;const o=g;if(o&&o.cursorState&&o.viewState){const J=o.cursorState;Array.isArray(J)?this._modelData.viewModel.restoreCursorState(J):this._modelData.viewModel.restoreCursorState([J]);const T=o.contributionsState||{},sa=Object.keys(this._contributions);for(let Sa=0,bb=sa.length;Sa<bb;Sa++){const ib=sa[Sa],ob=this._contributions[ib];"function"==typeof ob.restoreViewState&&ob.restoreViewState(T[ib])}const Ia=this._modelData.viewModel.reduceRestoreState(o.viewState);this._modelData.view.restoreState(Ia)}}getContribution(g){return this._contributions[g]||null}getActions(){const g=[],o=Object.keys(this._actions);for(let J=0,T=o.length;J<T;J++){const sa=o[J];g.push(this._actions[sa])}return g}getSupportedActions(){let g=this.getActions();return g=g.filter(o=>o.isSupported()),g}getAction(g){return this._actions[g]||null}trigger(g,o,J){switch(J=J||{},o){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(g);case"type":{const sa=J;return void this._type(g,sa.text||"")}case"replacePreviousChar":{const sa=J;return void this._replacePreviousChar(g,sa.text||"",sa.replaceCharCnt||0)}case"paste":{const sa=J;return void this._paste(g,sa.text||"",sa.pasteOnNewLine||!1,sa.multicursorText||null,sa.mode||null)}case"cut":return void this._cut(g)}const T=this.getAction(o);T?Promise.resolve(T.run()).then(void 0,y.e):this._modelData&&this._triggerEditorCommand(g,o,J)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(g){this._modelData&&(this._modelData.viewModel.endComposition(g),this._onDidCompositionEnd.fire())}_type(g,o){this._modelData&&0!==o.length&&("keyboard"===g&&this._onWillType.fire(o),this._modelData.viewModel.type(o,g),"keyboard"===g&&this._onDidType.fire(o))}_replacePreviousChar(g,o,J){this._modelData&&this._modelData.viewModel.replacePreviousChar(o,J,g)}_paste(g,o,J,T,sa){if(!this._modelData||0===o.length)return;const Ia=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(o,J,T,g);const Sa=this._modelData.viewModel.getSelection().getStartPosition();"keyboard"===g&&this._onDidPaste.fire({range:new wb.a(Ia.lineNumber,Ia.column,Sa.lineNumber,Sa.column),mode:sa})}_cut(g){this._modelData&&this._modelData.viewModel.cut(g)}_triggerEditorCommand(g,o,J){const T=L.d.getEditorCommand(o);return!!T&&((J=J||{}).source=g,this._instantiationService.invokeFunction(sa=>{Promise.resolve(T.runEditorCommand(sa,this,J)).then(void 0,y.e)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&(!this._configuration.options.get(72)&&(this._modelData.model.pushStackElement(),!0))}executeEdits(g,o,J){if(!this._modelData)return!1;if(this._configuration.options.get(72))return!1;let T;return T=J?Array.isArray(J)?()=>J:J:()=>null,this._modelData.viewModel.executeEdits(g,o,T),!0}executeCommand(g,o){this._modelData&&this._modelData.viewModel.executeCommand(o,g)}executeCommands(g,o){this._modelData&&this._modelData.viewModel.executeCommands(o,g)}changeDecorations(g){return this._modelData?this._modelData.model.changeDecorations(g,this._id):null}getLineDecorations(g){return this._modelData?this._modelData.model.getLineDecorations(g,this._id,Object(ua.l)(this._configuration.options)):null}deltaDecorations(g,o){return this._modelData?0===g.length&&0===o.length?g:this._modelData.model.deltaDecorations(g,o,this._id):[]}removeDecorations(g){const o=this._decorationTypeKeysToIds[g];o&&this.deltaDecorations(o,[]),this._decorationTypeKeysToIds.hasOwnProperty(g)&&delete this._decorationTypeKeysToIds[g],this._decorationTypeSubtypes.hasOwnProperty(g)&&delete this._decorationTypeSubtypes[g]}getLayoutInfo(){return this._configuration.options.get(117)}createOverviewRuler(g){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(g):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(g){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(g)}layout(g){this._configuration.observeReferenceElement(g),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(g){const o={widget:g,position:g.getPosition()};this._contentWidgets.hasOwnProperty(g.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[g.getId()]=o,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(o)}layoutContentWidget(g){const o=g.getId();if(this._contentWidgets.hasOwnProperty(o)){const J=this._contentWidgets[o];J.position=g.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(J)}}removeContentWidget(g){const o=g.getId();if(this._contentWidgets.hasOwnProperty(o)){const J=this._contentWidgets[o];delete this._contentWidgets[o],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(J)}}addOverlayWidget(g){const o={widget:g,position:g.getPosition()};this._overlayWidgets.hasOwnProperty(g.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[g.getId()]=o,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(o)}layoutOverlayWidget(g){const o=g.getId();if(this._overlayWidgets.hasOwnProperty(o)){const J=this._overlayWidgets[o];J.position=g.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(J)}}removeOverlayWidget(g){const o=g.getId();if(this._overlayWidgets.hasOwnProperty(o)){const J=this._overlayWidgets[o];delete this._overlayWidgets[o],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(J)}}changeViewZones(g){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(g)}getTargetAtClientPoint(g,o){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(g,o):null}getScrolledVisiblePosition(g){if(!this._modelData||!this._modelData.hasRealView)return null;const o=this._modelData.model.validatePosition(g),J=this._configuration.options,T=J.get(117);return{top:d._getVerticalOffsetForPosition(this._modelData,o.lineNumber,o.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(o.lineNumber,o.column)+T.glyphMarginWidth+T.lineNumbersWidth+T.decorationsWidth-this.getScrollLeft(),height:J.get(51)}}getOffsetForColumn(g,o){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(g,o):-1}render(g=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,g)}setAriaOptions(g){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(g)}applyFontInfo(g){R.a.applyFontInfoSlow(g,this._configuration.options.get(36))}_attachModel(g){if(!g)return void(this._modelData=null);const o=[];this._domElement.setAttribute("data-mode-id",g.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(g.isDominatedByLongLines()),this._configuration.setMaxLineNumber(g.getLineCount()),g.onBeforeAttached();const J=new of(this._id,this._configuration,g,Nf.create(),ug.create(this._configuration.options),Ia=>q.Y(Ia));o.push(g.onDidChangeDecorations(Ia=>this._onDidChangeModelDecorations.fire(Ia))),o.push(g.onDidChangeLanguage(Ia=>{this._domElement.setAttribute("data-mode-id",g.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(Ia)})),o.push(g.onDidChangeLanguageConfiguration(Ia=>this._onDidChangeModelLanguageConfiguration.fire(Ia))),o.push(g.onDidChangeContent(Ia=>this._onDidChangeModelContent.fire(Ia))),o.push(g.onDidChangeOptions(Ia=>this._onDidChangeModelOptions.fire(Ia))),o.push(g.onWillDispose(()=>this.setModel(null))),o.push(J.onEvent(Ia=>{switch(Ia.kind){case 0:this._onDidContentSizeChange.fire(Ia);break;case 1:this._editorTextFocus.setValue(Ia.hasFocus);break;case 2:this._onDidScrollChange.fire(Ia);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{Ia.reachedMaxCursorCount&&this._notificationService.warn(l.a("cursors.maximum","The number of cursors has been limited to {0}.",Ge.MAX_CURSOR_COUNT));const Sa=[];for(let ob=0,Mb=Ia.selections.length;ob<Mb;ob++)Sa[ob]=Ia.selections[ob].getPosition();const bb={position:Sa[0],secondaryPositions:Sa.slice(1),reason:Ia.reason,source:Ia.source};this._onDidChangeCursorPosition.fire(bb);const ib={selection:Ia.selections[0],secondarySelections:Ia.selections.slice(1),modelVersionId:Ia.modelVersionId,oldSelections:Ia.oldSelections,oldModelVersionId:Ia.oldModelVersionId,source:Ia.source,reason:Ia.reason};this._onDidChangeCursorSelection.fire(ib);break}}}));const[T,sa]=this._createView(J);if(sa){this._domElement.appendChild(T.domNode.domNode);let Ia=Object.keys(this._contentWidgets);for(let Sa=0,bb=Ia.length;Sa<bb;Sa++){const ib=Ia[Sa];T.addContentWidget(this._contentWidgets[ib])}Ia=Object.keys(this._overlayWidgets);for(let Sa=0,bb=Ia.length;Sa<bb;Sa++){const ib=Ia[Sa];T.addOverlayWidget(this._overlayWidgets[ib])}T.render(!1,!0),T.domNode.domNode.setAttribute("data-uri",g.uri.toString())}this._modelData=new rh(g,J,T,sa,o)}_createView(g){let o;o=this.isSimpleWidget?{paste:(T,sa,Ia,Sa)=>{this._paste("keyboard",T,sa,Ia,Sa)},type:T=>{this._type("keyboard",T)},replacePreviousChar:(T,sa)=>{this._replacePreviousChar("keyboard",T,sa)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(T,sa,Ia,Sa)=>{const bb={text:T,pasteOnNewLine:sa,multicursorText:Ia,mode:Sa};this._commandService.executeCommand("paste",bb)},type:T=>{const sa={text:T};this._commandService.executeCommand("type",sa)},replacePreviousChar:(T,sa)=>{const Ia={text:T,replaceCharCnt:sa};this._commandService.executeCommand("replacePreviousChar",Ia)},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const J=new Nc(g.coordinatesConverter);return J.onKeyDown=T=>this._onKeyDown.fire(T),J.onKeyUp=T=>this._onKeyUp.fire(T),J.onContextMenu=T=>this._onContextMenu.fire(T),J.onMouseMove=T=>this._onMouseMove.fire(T),J.onMouseLeave=T=>this._onMouseLeave.fire(T),J.onMouseDown=T=>this._onMouseDown.fire(T),J.onMouseUp=T=>this._onMouseUp.fire(T),J.onMouseDrag=T=>this._onMouseDrag.fire(T),J.onMouseDrop=T=>this._onMouseDrop.fire(T),J.onMouseWheel=T=>this._onMouseWheel.fire(T),[new fd(o,this._configuration,this._themeService,g,J,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(g){g&&g.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const g=this._modelData.model,o=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),o&&this._domElement.contains(o)&&this._domElement.removeChild(o),g}_removeDecorationType(g){this._codeEditorService.removeDecorationType(g)}hasModel(){return null!==this._modelData}};ff=wf([xf(3,eg.a),xf(4,s.a),xf(5,Lf.b),xf(6,rg.b),xf(7,za.c),xf(8,oh.a),xf(9,ph.b)],ff);class Lg extends P.a{constructor(){super(),this._onDidChangeToTrue=this._register(new F.a()),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new F.a()),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(d){const g=d?2:1;this._value!==g&&(this._value=g,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class Mg extends P.a{constructor(d,g){super(),this._editor=d,g.createKey("editorId",d.getId()),this._editorSimpleInput=Yd.a.editorSimpleInput.bindTo(g),this._editorFocus=Yd.a.focus.bindTo(g),this._textInputFocus=Yd.a.textInputFocus.bindTo(g),this._editorTextFocus=Yd.a.editorTextFocus.bindTo(g),this._editorTabMovesFocus=Yd.a.tabMovesFocus.bindTo(g),this._editorReadonly=Yd.a.readOnly.bindTo(g),this._editorColumnSelection=Yd.a.columnSelection.bindTo(g),this._hasMultipleSelections=Yd.a.hasMultipleSelections.bindTo(g),this._hasNonEmptySelection=Yd.a.hasNonEmptySelection.bindTo(g),this._canUndo=Yd.a.canUndo.bindTo(g),this._canRedo=Yd.a.canRedo.bindTo(g),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const d=this._editor.getOptions();this._editorTabMovesFocus.set(d.get(116)),this._editorReadonly.set(d.get(72)),this._editorColumnSelection.set(d.get(13))}_updateFromSelection(){const d=this._editor.getSelections();d?(this._hasMultipleSelections.set(d.length>1),this._hasNonEmptySelection.set(d.some(g=>!g.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const d=this._editor.getModel();this._canUndo.set(Boolean(d&&d.canUndo())),this._canRedo.set(Boolean(d&&d.canRedo()))}}class We extends P.a{constructor(d,g){super(),this._editor=d,this._contextKeyService=g,this._langId=Yd.a.languageId.bindTo(g),this._hasCompletionItemProvider=Yd.a.hasCompletionItemProvider.bindTo(g),this._hasCodeActionsProvider=Yd.a.hasCodeActionsProvider.bindTo(g),this._hasCodeLensProvider=Yd.a.hasCodeLensProvider.bindTo(g),this._hasDefinitionProvider=Yd.a.hasDefinitionProvider.bindTo(g),this._hasDeclarationProvider=Yd.a.hasDeclarationProvider.bindTo(g),this._hasImplementationProvider=Yd.a.hasImplementationProvider.bindTo(g),this._hasTypeDefinitionProvider=Yd.a.hasTypeDefinitionProvider.bindTo(g),this._hasHoverProvider=Yd.a.hasHoverProvider.bindTo(g),this._hasDocumentHighlightProvider=Yd.a.hasDocumentHighlightProvider.bindTo(g),this._hasDocumentSymbolProvider=Yd.a.hasDocumentSymbolProvider.bindTo(g),this._hasReferenceProvider=Yd.a.hasReferenceProvider.bindTo(g),this._hasRenameProvider=Yd.a.hasRenameProvider.bindTo(g),this._hasSignatureHelpProvider=Yd.a.hasSignatureHelpProvider.bindTo(g),this._hasDocumentFormattingProvider=Yd.a.hasDocumentFormattingProvider.bindTo(g),this._hasDocumentSelectionFormattingProvider=Yd.a.hasDocumentSelectionFormattingProvider.bindTo(g),this._hasMultipleDocumentFormattingProvider=Yd.a.hasMultipleDocumentFormattingProvider.bindTo(g),this._hasMultipleDocumentSelectionFormattingProvider=Yd.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(g),this._isInWalkThrough=Yd.a.isInWalkThroughSnippet.bindTo(g);const o=()=>this._update();this._register(d.onDidChangeModel(o)),this._register(d.onDidChangeModelLanguage(o)),this._register(xa.d.onDidChange(o)),this._register(xa.a.onDidChange(o)),this._register(xa.b.onDidChange(o)),this._register(xa.f.onDidChange(o)),this._register(xa.e.onDidChange(o)),this._register(xa.q.onDidChange(o)),this._register(xa.D.onDidChange(o)),this._register(xa.p.onDidChange(o)),this._register(xa.i.onDidChange(o)),this._register(xa.m.onDidChange(o)),this._register(xa.v.onDidChange(o)),this._register(xa.w.onDidChange(o)),this._register(xa.g.onDidChange(o)),this._register(xa.j.onDidChange(o)),this._register(xa.y.onDidChange(o)),o()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const d=this._editor.getModel();d?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(d.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(xa.d.has(d)),this._hasCodeActionsProvider.set(xa.a.has(d)),this._hasCodeLensProvider.set(xa.b.has(d)),this._hasDefinitionProvider.set(xa.f.has(d)),this._hasDeclarationProvider.set(xa.e.has(d)),this._hasImplementationProvider.set(xa.q.has(d)),this._hasTypeDefinitionProvider.set(xa.D.has(d)),this._hasHoverProvider.set(xa.p.has(d)),this._hasDocumentHighlightProvider.set(xa.i.has(d)),this._hasDocumentSymbolProvider.set(xa.m.has(d)),this._hasReferenceProvider.set(xa.v.has(d)),this._hasRenameProvider.set(xa.w.has(d)),this._hasSignatureHelpProvider.set(xa.y.has(d)),this._hasDocumentFormattingProvider.set(xa.g.has(d)||xa.j.has(d)),this._hasDocumentSelectionFormattingProvider.set(xa.j.has(d)),this._hasMultipleDocumentFormattingProvider.set(xa.g.all(d).length+xa.j.all(d).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(xa.j.all(d).length>1),this._isInWalkThrough.set(d.uri.scheme===Y.b.walkThroughSnippet)}):this.reset()}}class gf extends P.a{constructor(d){super(),this._onChange=this._register(new F.a()),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(q.bb(d)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const Zg=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),vg=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Me(d){return Zg+encodeURIComponent(d.toString())+vg}const wg=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),bf=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(za.g)((d,g)=>{const o=d.getColor(ub.t);o&&g.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${o}; }`);const J=d.getColor(ub.u);J&&g.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${Me(J)}") repeat-x bottom left; }`);const T=d.getColor(ub.S);T&&g.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${T}; }`);const sa=d.getColor(ub.T);sa&&g.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${Me(sa)}") repeat-x bottom left; }`);const Ia=d.getColor(ub.K);Ia&&g.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${Ia}; }`);const Sa=d.getColor(ub.L);Sa&&g.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${Me(Sa)}") repeat-x bottom left; }`);const bb=d.getColor(ub.C);bb&&g.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${bb}; }`);const ib=d.getColor(ub.D);var ob;ib&&g.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${ob=ib,wg+encodeURIComponent(ob.toString())+bf}") no-repeat bottom left; }`);const Mb=d.getColor(Hc.p);Mb&&g.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${Mb.rgba.a}; }`);const Gb=d.getColor(Hc.o);Gb&&g.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${Gb}; }`);const ac=d.getColor(ub.B)||"inherit";g.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${ac}}`)})},function(Ga,t,f){"use strict";f.d(t,"c",function(){return q}),f.d(t,"b",function(){return y}),f.d(t,"a",function(){return F});var l=f(1);function q(R,L={}){const s=F(L);return s.textContent=R,s}function y(R,L={}){const s=F(L);return function z(D,Q,B){let C;if(2===Q.type)C=document.createTextNode(Q.content||"");else if(3===Q.type)C=document.createElement("b");else if(4===Q.type)C=document.createElement("i");else if(5===Q.type&&B){const k=document.createElement("a");k.href="#",B.disposeables.add(l.n(k,"click",w=>{B.callback(String(Q.index),w)})),C=k}else 7===Q.type?C=document.createElement("br"):1===Q.type&&(C=D);C&&D!==C&&D.appendChild(C),C&&Array.isArray(Q.children)&&Q.children.forEach(k=>{z(C,k,B)})}(s,function(z){const D={type:1,children:[]};let Q=0,B=D;const C=[],k=new P(z);for(;!k.eos();){let w=k.next();const x="\\"===w&&0!==Y(k.peek());if(x&&(w=k.next()),x||0===Y(w)||w!==k.peek())if(` -`===w)2===B.type&&(B=C.pop()),B.children.push({type:7});else if(2!==B.type){const u={type:2,content:w};B.children.push(u),C.push(B),B=u}else B.content+=w;else{k.advance(),2===B.type&&(B=C.pop());const u=Y(w);if(B.type===u||5===B.type&&6===u)B=C.pop();else{const A={type:u,children:[]};5===u&&(A.index=Q,Q++),B.children.push(A),C.push(B),B=A}}}return 2===B.type&&(B=C.pop()),C.length,D}(R),L.actionHandler),s}function F(R){const L=R.inline?"span":"div",s=document.createElement(L);return R.className&&(s.className=R.className),s}class P{constructor(R){this.source=R,this.index=0}eos(){return this.index>=this.source.length}next(){const R=this.peek();return this.advance(),R}peek(){return this.source[this.index]}advance(){this.index++}}function Y(R){switch(R){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P});var l=f(6),q=f(2),y=f(18);const F=Object(y.c)("IStorageKeysSyncRegistryService");class P extends q.a{constructor(){super(),this._storageKeys=new Map(),this._onDidChangeStorageKeys=this._register(new l.a()),this._register(Object(q.h)(()=>this._storageKeys.clear()))}get storageKeys(){return[...this._storageKeys.values()]}registerStorageKey(Y){this._storageKeys.has(Y.key)||(this._storageKeys.set(Y.key,Y),this._onDidChangeStorageKeys.fire(this.storageKeys))}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Q}),f.d(t,"b",function(){return B}),f.d(t,"c",function(){return C});var l=f(34),q=f(1),y=f(20),F=f(6),P=f(2),Y=f(11),R=f(8),L=f(127),s=f(9),z=f(21),D=f(138);const Q={forceCopyWithSyntaxHighlighting:!1};class B{constructor(){this._lastState=null}set(x,u){this._lastState={lastCopiedValue:x,data:u}}get(x){return this._lastState&&this._lastState.lastCopiedValue===x?this._lastState.data:(this._lastState=null,null)}}B.INSTANCE=new B();class C extends P.a{constructor(x,u){super(),this.textArea=u,this._onFocus=this._register(new F.a()),this.onFocus=this._onFocus.event,this._onBlur=this._register(new F.a()),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new F.a()),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new F.a()),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new F.a()),this.onCut=this._onCut.event,this._onPaste=this._register(new F.a()),this.onPaste=this._onPaste.event,this._onType=this._register(new F.a()),this.onType=this._onType.event,this._onCompositionStart=this._register(new F.a()),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new F.a()),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new F.a()),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new F.a()),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._host=x,this._textArea=this._register(new w(u)),this._asyncTriggerCut=this._register(new y.d(()=>this._onCut.fire(),0)),this._textAreaState=L.b.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let A=null;this._register(q.n(u.domNode,"keydown",H=>{(109===H.keyCode||this._isDoingComposition&&1===H.keyCode)&&H.stopPropagation(),H.equals(9)&&H.preventDefault(),A=H,this._onKeyDown.fire(H)})),this._register(q.n(u.domNode,"keyup",H=>{this._onKeyUp.fire(H)})),this._register(q.i(u.domNode,"compositionstart",H=>{if(this._isDoingComposition)return;this._isDoingComposition=!0;let ea=!1;Y.f&&A&&A.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===H.data&&("ArrowRight"!==A.code&&"ArrowLeft"!==A.code||(ea=!0)),ea?this._textAreaState=new L.b(this._textAreaState.value,this._textAreaState.selectionStart-1,this._textAreaState.selectionEnd,this._textAreaState.selectionStartPosition?new s.a(this._textAreaState.selectionStartPosition.lineNumber,this._textAreaState.selectionStartPosition.column-1):null,this._textAreaState.selectionEndPosition):l.f||this._setAndWriteTextAreaState("compositionstart",L.b.EMPTY),this._onCompositionStart.fire({moveOneCharacterLeft:ea})}));const U=H=>{const ea=this._textAreaState,oa=L.b.readFromTextArea(this._textArea);return[oa,L.b.deduceInput(ea,oa,H)]},da=H=>{const ea=this._textAreaState,oa=L.b.selectedText(H);return[oa,{text:oa.value,replaceCharCnt:ea.selectionEnd-ea.selectionStart}]},Z=H=>!(!l.f||"ja"!==H);this._register(q.i(u.domNode,"compositionupdate",H=>{if(Z(H.locale)){const[ga,Ba]=U(!1);return this._textAreaState=ga,this._onType.fire(Ba),void this._onCompositionUpdate.fire(H)}const[ea,oa]=da(H.data||"");this._textAreaState=ea,this._onType.fire(oa),this._onCompositionUpdate.fire(H)})),this._register(q.i(u.domNode,"compositionend",H=>{if(this._isDoingComposition){if(Z(H.locale)){const[ea,oa]=U(!1);this._textAreaState=ea,this._onType.fire(oa)}else{const[ea,oa]=da(H.data||"");this._textAreaState=ea,this._onType.fire(oa)}(l.f||l.e)&&(this._textAreaState=L.b.readFromTextArea(this._textArea)),this._isDoingComposition&&(this._isDoingComposition=!1,this._onCompositionEnd.fire())}})),this._register(q.i(u.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),this._isDoingComposition)return;const[H,ea]=U(Y.f);0===ea.replaceCharCnt&&1===ea.text.length&&R.F(ea.text.charCodeAt(0))||(this._textAreaState=H,0===this._nextCommand?""!==ea.text&&this._onType.fire(ea):(""===ea.text&&0===ea.replaceCharCnt||this._firePaste(ea.text,null),this._nextCommand=0))})),this._register(q.i(u.domNode,"cut",H=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(H),this._asyncTriggerCut.schedule()})),this._register(q.i(u.domNode,"copy",H=>{this._ensureClipboardGetsEditorSelection(H)})),this._register(q.i(u.domNode,"paste",H=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),k.canUseTextData(H)){const[ea,oa]=k.getTextData(H);""!==ea&&this._firePaste(ea,oa)}else this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",L.b.EMPTY),this._nextCommand=1})),this._register(q.i(u.domNode,"focus",()=>{this._setHasFocus(!0)})),this._register(q.i(u.domNode,"blur",()=>{this._setHasFocus(!1)}))}_installSelectionChangeListener(){let x=0;return q.i(document,"selectionchange",u=>{if(!this._hasFocus)return;if(this._isDoingComposition)return;if(!l.e)return;const A=Date.now(),U=A-x;if(x=A,U<5)return;const da=A-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),da<100)return;if(!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const Z=this._textArea.getValue();if(this._textAreaState.value!==Z)return;const H=this._textArea.getSelectionStart(),ea=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===H&&this._textAreaState.selectionEnd===ea)return;const oa=this._textAreaState.deduceEditorPosition(H),ga=this._host.deduceModelPosition(oa[0],oa[1],oa[2]),Ba=this._textAreaState.deduceEditorPosition(ea),N=this._host.deduceModelPosition(Ba[0],Ba[1],Ba[2]),V=new z.a(ga.lineNumber,ga.column,N.lineNumber,N.column);this._onSelectionChangeRequest.fire(V)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){const x=q.E(this.textArea.domNode);x?this._setHasFocus(x.activeElement===this.textArea.domNode):q.N(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(x){this._hasFocus!==x&&(this._hasFocus=x,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(l.f?this._setAndWriteTextAreaState("focusgain",L.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(x,u){this._hasFocus||(u=u.collapseSelection()),u.writeToTextArea(x,this._textArea,this._hasFocus),this._textAreaState=u}writeScreenReaderContent(x){this._isDoingComposition||this._setAndWriteTextAreaState(x,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(x){const u=this._host.getDataToCopy(k.canUseTextData(x)&&D.a.clipboard.richText),A={version:1,isFromEmptySelection:u.isFromEmptySelection,multicursorText:u.multicursorText,mode:u.mode};B.INSTANCE.set(l.h?u.text.replace(/\r\n/g,` -`):u.text,A),k.canUseTextData(x)?k.setTextData(x,u.text,u.html,A):this._setAndWriteTextAreaState("copy or cut",L.b.selectedText(u.text))}_firePaste(x,u){u||(u=B.INSTANCE.get(x)),this._onPaste.fire({text:x,metadata:u})}}class k{static canUseTextData(x){return!!x.clipboardData||!!window.clipboardData}static getTextData(x){if(x.clipboardData){x.preventDefault();const u=x.clipboardData.getData("text/plain");let A=null;const U=x.clipboardData.getData("vscode-editor-data");if("string"==typeof U)try{A=JSON.parse(U),1!==A.version&&(A=null)}catch(da){}return[u,A]}if(window.clipboardData)return x.preventDefault(),[window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(x,u,A,U){if(x.clipboardData)return x.clipboardData.setData("text/plain",u),"string"==typeof A&&x.clipboardData.setData("text/html",A),x.clipboardData.setData("vscode-editor-data",JSON.stringify(U)),void x.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",u),void x.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")}}class w extends P.a{constructor(x){super(),this._actual=x,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(x){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(x,u){const A=this._actual.domNode;A.value!==u&&(this.setIgnoreSelectionChangeTime("setValue"),A.value=u)}getSelectionStart(){return this._actual.domNode.selectionStart}getSelectionEnd(){return this._actual.domNode.selectionEnd}setSelectionRange(x,u,A){const U=this._actual.domNode;let da=null;const Z=q.E(U);da=Z?Z.activeElement:document.activeElement;const H=da===U,ea=U.selectionStart,oa=U.selectionEnd;if(H&&ea===u&&oa===A)l.h&&window.parent!==window&&U.focus();else{if(H)return this.setIgnoreSelectionChangeTime("setSelectionRange"),U.setSelectionRange(u,A),void(l.h&&window.parent!==window&&U.focus());try{const ga=q.X(U);this.setIgnoreSelectionChangeTime("setSelectionRange"),U.focus(),U.setSelectionRange(u,A),q.V(U,ga)}catch(ga){}}}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q}),f.d(t,"b",function(){return y});class l{constructor(F,P,Y){this.from=0|F,this.to=0|P,this.colorId=0|Y}static compare(F,P){return F.colorId===P.colorId?F.from===P.from?F.to-P.to:F.from-P.from:F.colorId-P.colorId}}class q{constructor(F,P,Y){this.startLineNumber=F,this.endLineNumber=P,this.color=Y,this._colorZone=null}static compare(F,P){return F.color===P.color?F.startLineNumber===P.startLineNumber?F.endLineNumber-P.endLineNumber:F.startLineNumber-P.startLineNumber:F.color<P.color?-1:1}setColorZone(F){this._colorZone=F}getColorZones(){return this._colorZone}}class y{constructor(F){this._getVerticalOffsetForLine=F,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(F){this._zones=F,this._zones.sort(q.compare)}setLineHeight(F){return this._lineHeight!==F&&(this._lineHeight=F,this._colorZonesInvalid=!0,!0)}setPixelRatio(F){this._pixelRatio=F,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(F){return this._domWidth!==F&&(this._domWidth=F,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(F){return this._domHeight!==F&&(this._domHeight=F,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(F){return this._outerHeight!==F&&(this._outerHeight=F,this._colorZonesInvalid=!0,!0)}resolveColorZones(){const F=this._colorZonesInvalid,P=Math.floor(this._lineHeight),Y=Math.floor(this.getCanvasHeight()),R=Y/Math.floor(this._outerHeight),L=Math.floor(4*this._pixelRatio/2);let s=[];for(let z=0,D=this._zones.length;z<D;z++){const Q=this._zones[z];if(!F){const U=Q.getColorZones();if(U){s.push(U);continue}}const B=Math.floor(R*this._getVerticalOffsetForLine(Q.startLineNumber)),C=Math.floor(R*(this._getVerticalOffsetForLine(Q.endLineNumber)+P));let k=Math.floor((B+C)/2),w=C-k;w<L&&(w=L),k-w<0&&(k=w),k+w>Y&&(k=Y-w);const x=Q.color;let u=this._color2Id[x];u||(u=++this._lastAssignedId,this._color2Id[x]=u,this._id2Color[u]=x);const A=new l(k-w,k+w,u);Q.setColorZone(A),s.push(A)}return this._colorZonesInvalid=!1,s.sort(l.compare),s}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return R});var l=f(23),q=f(51),y=f(18);f(78);const F=Object(y.c)("contextService");var P,Y;!function(L){L.isIWorkspace=function(s){return!(!s||"object"!=typeof s||"string"!=typeof s.id||!Array.isArray(s.folders))}}(P||(P={})),function(L){L.isIWorkspaceFolder=function(s){return!(!s||"object"!=typeof s||!l.a.isUri(s.uri)||"string"!=typeof s.name||"function"!=typeof s.toResource)}}(Y||(Y={}));class R{constructor(L,s){this.raw=s,this.uri=L.uri,this.index=L.index,this.name=L.name}toResource(L){return q.g(this.uri,L)}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F});var l=f(6),q=f(2);class y{constructor(L,s,z,D,Q,B){L|=0,s|=0,z|=0,D|=0,Q|=0,B|=0,this.rawScrollLeft=z,this.rawScrollTop=B,L<0&&(L=0),z+L>s&&(z=s-L),z<0&&(z=0),D<0&&(D=0),B+D>Q&&(B=Q-D),B<0&&(B=0),this.width=L,this.scrollWidth=s,this.scrollLeft=z,this.height=D,this.scrollHeight=Q,this.scrollTop=B}equals(L){return this.rawScrollLeft===L.rawScrollLeft&&this.rawScrollTop===L.rawScrollTop&&this.width===L.width&&this.scrollWidth===L.scrollWidth&&this.scrollLeft===L.scrollLeft&&this.height===L.height&&this.scrollHeight===L.scrollHeight&&this.scrollTop===L.scrollTop}withScrollDimensions(L,s){return new y(void 0!==L.width?L.width:this.width,void 0!==L.scrollWidth?L.scrollWidth:this.scrollWidth,s?this.rawScrollLeft:this.scrollLeft,void 0!==L.height?L.height:this.height,void 0!==L.scrollHeight?L.scrollHeight:this.scrollHeight,s?this.rawScrollTop:this.scrollTop)}withScrollPosition(L){return new y(this.width,this.scrollWidth,void 0!==L.scrollLeft?L.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==L.scrollTop?L.scrollTop:this.rawScrollTop)}createScrollEvent(L){const s=this.width!==L.width,z=this.scrollWidth!==L.scrollWidth,D=this.scrollLeft!==L.scrollLeft,Q=this.height!==L.height,B=this.scrollHeight!==L.scrollHeight,C=this.scrollTop!==L.scrollTop;return{oldWidth:L.width,oldScrollWidth:L.scrollWidth,oldScrollLeft:L.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:L.height,oldScrollHeight:L.scrollHeight,oldScrollTop:L.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:s,scrollWidthChanged:z,scrollLeftChanged:D,heightChanged:Q,scrollHeightChanged:B,scrollTopChanged:C}}}class F extends q.a{constructor(L,s){super(),this._onScroll=this._register(new l.a()),this.onScroll=this._onScroll.event,this._smoothScrollDuration=L,this._scheduleAtNextAnimationFrame=s,this._state=new y(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(L){this._smoothScrollDuration=L}validateScrollPosition(L){return this._state.withScrollPosition(L)}getScrollDimensions(){return this._state}setScrollDimensions(L,s){const z=this._state.withScrollDimensions(L,s);this._setState(z),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(L){const s=this._state.withScrollPosition(L);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(s)}setScrollPositionSmooth(L){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(L);if(this._smoothScrolling){L={scrollLeft:void 0===L.scrollLeft?this._smoothScrolling.to.scrollLeft:L.scrollLeft,scrollTop:void 0===L.scrollTop?this._smoothScrolling.to.scrollTop:L.scrollTop};const s=this._state.withScrollPosition(L);if(this._smoothScrolling.to.scrollLeft===s.scrollLeft&&this._smoothScrolling.to.scrollTop===s.scrollTop)return;const z=this._smoothScrolling.combine(this._state,s,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=z}else{const s=this._state.withScrollPosition(L);this._smoothScrolling=R.start(this._state,s,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;const L=this._smoothScrolling.tick(),s=this._state.withScrollPosition(L);return this._setState(s),this._smoothScrolling?L.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})):void 0}_setState(L){const s=this._state;s.equals(L)||(this._state=L,this._onScroll.fire(this._state.createScrollEvent(s)))}}class P{constructor(L,s,z){this.scrollLeft=L,this.scrollTop=s,this.isDone=z}}function Y(L,s){const z=s-L;return function(D){return L+z*(1-function(Q){return Math.pow(Q,3)}(1-D))}}class R{constructor(L,s,z,D){this.from=L,this.to=s,this.duration=D,this._startTime=z,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(L,s,z){if(Math.abs(L-s)>2.5*z){let C,k;return L<s?(C=L+.75*z,k=s-.75*z):(C=L-.75*z,k=s+.75*z),D=Y(L,C),Q=Y(k,s),B=.33,function(w){return w<B?D(w/B):Q((w-B)/(1-B))}}var D,Q,B;return Y(L,s)}dispose(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(L){this.to=L.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(L){const s=(L-this._startTime)/this.duration;if(s<1){const z=this.scrollLeft(s),D=this.scrollTop(s);return new P(z,D,!1)}return new P(this.to.scrollLeft,this.to.scrollTop,!0)}combine(L,s,z){return R.start(L,s,z)}static start(L,s,z){z+=10;const D=Date.now()-10;return new R(L,s,D,z)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("dialogService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return R}),f(269);var l=f(1),q=f(156),y=f(2),F=f(99),P=f(46);class Y{constructor(z){this._element=z}get element(){return this._element}set textContent(z){this.disposed||z===this._textContent||(this._textContent=z,this._element.textContent=z)}set className(z){this.disposed||z===this._className||(this._className=z,this._element.className=z)}set title(z){this.disposed||z===this._title||(this._title=z,this._title?this._element.title=z:this._element.removeAttribute("title"))}set empty(z){this.disposed||z===this._empty||(this._empty=z,this._element.style.marginLeft=z?"0":"")}dispose(){this.disposed=!0}}class R extends y.a{constructor(z,D){super(),this.domNode=this._register(new Y(l.p(z,l.a(".monaco-icon-label"))));const Q=l.p(this.domNode.element,l.a(".monaco-icon-label-container")),B=l.p(Q,l.a("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new Y(l.p(Q,l.a("span.monaco-icon-description-container")))),(null==D?void 0:D.supportHighlights)?this.nameNode=new s(B,!!D.supportCodicons):this.nameNode=new L(B),(null==D?void 0:D.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new q.a(l.p(this.descriptionContainer.element,l.a("span.label-description")),!!D.supportCodicons):this.descriptionNodeFactory=()=>this._register(new Y(l.p(this.descriptionContainer.element,l.a("span.label-description"))))}setLabel(z,D,Q){const B=["monaco-icon-label"];Q&&(Q.extraClasses&&B.push(...Q.extraClasses),Q.italic&&B.push("italic"),Q.strikethrough&&B.push("strikethrough")),this.domNode.className=B.join(" "),this.domNode.title=(null==Q?void 0:Q.title)||"",this.nameNode.setLabel(z,Q),(D||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof q.a?(this.descriptionNode.set(D||"",Q?Q.descriptionMatches:void 0),(null==Q?void 0:Q.descriptionTitle)?this.descriptionNode.element.title=Q.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=D||"",this.descriptionNode.title=(null==Q?void 0:Q.descriptionTitle)||"",this.descriptionNode.empty=!D))}}class L{constructor(z){this.container=z,this.label=void 0,this.singleLabel=void 0}setLabel(z,D){if(this.label!==z||!Object(P.e)(this.options,D))if(this.label=z,this.options=D,"string"==typeof z)this.singleLabel||(this.container.innerText="",l.Q(this.container,"multiple"),this.singleLabel=l.p(this.container,l.a("a.label-name",{id:null==D?void 0:D.domId}))),this.singleLabel.textContent=z;else{this.container.innerText="",l.e(this.container,"multiple"),this.singleLabel=void 0;for(let Q=0;Q<z.length;Q++){const B=z[Q],C=(null==D?void 0:D.domId)&&`${null==D?void 0:D.domId}_${Q}`;l.p(this.container,l.a("a.label-name",{id:C,"data-icon-label-count":z.length,"data-icon-label-index":Q,role:"treeitem"},B)),Q<z.length-1&&l.p(this.container,l.a("span.label-separator",void 0,(null==D?void 0:D.separator)||"/"))}}}}class s{constructor(z,D){this.container=z,this.supportCodicons=D,this.label=void 0,this.singleLabel=void 0}setLabel(z,D){if(this.label!==z||!Object(P.e)(this.options,D))if(this.label=z,this.options=D,"string"==typeof z)this.singleLabel||(this.container.innerText="",l.Q(this.container,"multiple"),this.singleLabel=new q.a(l.p(this.container,l.a("a.label-name",{id:null==D?void 0:D.domId})),this.supportCodicons)),this.singleLabel.set(z,null==D?void 0:D.matches,null==D?void 0:D.title,null==D?void 0:D.labelEscapeNewLines);else{this.container.innerText="",l.e(this.container,"multiple"),this.singleLabel=void 0;const Q=(null==D?void 0:D.separator)||"/",B=function(C,k,w){if(!w)return;let x=0;return C.map(u=>{const A={start:x,end:x+u.length},U=w.map(da=>F.a.intersect(A,da)).filter(da=>!F.a.isEmpty(da)).map(({start:da,end:Z})=>({start:da-x,end:Z-x}));return x=A.end+k.length,U})}(z,Q,null==D?void 0:D.matches);for(let C=0;C<z.length;C++){const k=z[C],w=B?B[C]:void 0,x=(null==D?void 0:D.domId)&&`${null==D?void 0:D.domId}_${C}`,u=l.a("a.label-name",{id:x,"data-icon-label-count":z.length,"data-icon-label-index":C,role:"treeitem"});new q.a(l.p(this.container,u),this.supportCodicons).set(k,w,null==D?void 0:D.title,null==D?void 0:D.labelEscapeNewLines),C<z.length-1&&l.p(u,l.a("span.label-separator",void 0,Q))}}}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return w}),f.d(t,"a",function(){return x}),f(273);var l=f(0),q=f(1),y=f(165),F=f(66),P=f(116),Y=f(6),R=f(82),L=f(16),s=f(46);class z{constructor(u,A=0,U=u.length,da=A-1){this.items=u,this.start=A,this.end=U,this.index=da}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class D{constructor(u=[],A=10){this._initialize(u),this._limit=A,this._onChange()}add(u){this._history.delete(u),this._history.add(u),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(u){return this._history.has(u)}_onChange(){this._reduceToLimit();const u=this._elements;this._navigator=new z(u,0,u.length,u.length)}_reduceToLimit(){const u=this._elements;u.length>this._limit&&this._initialize(u.slice(u.length-this._limit))}_currentPosition(){const u=this._navigator.current();return u?this._elements.indexOf(u):-1}_initialize(u){this._history=new Set();for(const A of u)this._history.add(A)}get _elements(){const u=[];return this._history.forEach(A=>u.push(A)),u}}var Q=f(105),B=f(44);const C=q.a,k={inputBackground:L.a.fromHex("#3C3C3C"),inputForeground:L.a.fromHex("#CCCCCC"),inputValidationInfoBorder:L.a.fromHex("#55AAFF"),inputValidationInfoBackground:L.a.fromHex("#063B49"),inputValidationWarningBorder:L.a.fromHex("#B89500"),inputValidationWarningBackground:L.a.fromHex("#352A05"),inputValidationErrorBorder:L.a.fromHex("#BE1100"),inputValidationErrorBackground:L.a.fromHex("#5A1D1D")};class w extends R.a{constructor(u,A,U){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new Y.a()),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new Y.a()),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=A,this.options=U||Object.create(null),Object(s.g)(this.options,k,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=q.p(u,C(".monaco-inputbox.idle"));let da=this.options.flexibleHeight?"textarea":"input",Z=q.p(this.element,C(".wrapper"));if(this.input=q.p(Z,C(da+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=q.p(Z,C("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new Q.b(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),q.p(u,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(ea=>this.input.scrollTop=ea.scrollTop));const H=Y.b.filter(Object(B.a)(document,"selectionchange"),()=>{const ea=document.getSelection();return(null==ea?void 0:ea.anchorNode)===Z});this._register(H(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&this.setPlaceHolder(this.placeholder),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new P.a(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage()}onFocus(){this._showMessage()}setPlaceHolder(u){this.placeholder=u,this.input.setAttribute("placeholder",u),this.input.title=u}setAriaLabel(u){this.ariaLabel=u,u?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(u){this.input.value!==u&&(this.input.value=u,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:q.G(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(u=null){this.input.select(),u&&this.input.setSelectionRange(u.start,u.end)}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return q.H(this.input)}set width(u){if(this.options.flexibleHeight&&this.options.flexibleWidth){let A=0;this.mirror&&(A=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)),this.input.style.width=u-A+"px"}else this.input.style.width=u+"px";this.mirror&&(this.mirror.style.width=u+"px")}set paddingRight(u){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${u}px)`:this.input.style.paddingRight=u+"px",this.mirror&&(this.mirror.style.paddingRight=u+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;const u=this.cachedContentHeight,A=this.cachedHeight,U=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:u,height:A}),this.scrollableElement.setScrollPosition({scrollTop:U})}showMessage(u,A){this.message=u,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(u.type));const U=this.stylesForType(this.message.type);this.element.style.border=U.border?"1px solid "+U.border:"",(this.hasFocus()||A)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let u=null;return this.validation&&(u=this.validation(this.value),u?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(u)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!u}stylesForType(u){switch(u){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(u){switch(u){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let u,A,U=()=>u.style.width=q.H(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:da=>{if(!this.message)return null;u=q.p(da,C(".monaco-inputbox-container")),U();const Z={inline:!0,className:"monaco-inputbox-message"},H=this.message.formatContent?Object(y.b)(this.message.content,Z):Object(y.c)(this.message.content,Z);H.classList.add(this.classForType(this.message.type));const ea=this.stylesForType(this.message.type);return H.style.backgroundColor=ea.background?ea.background.toString():"",H.style.color=ea.foreground?ea.foreground.toString():"",H.style.border=ea.border?"1px solid "+ea.border:"",q.p(u,H),null},onHide:()=>{this.state="closed"},layout:U}),A=3===this.message.type?l.a("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?l.a("alertWarningMessage","Warning: {0}",this.message.content):l.a("alertInfoMessage","Info: {0}",this.message.content),F.a(A),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const u=this.value,A=10===u.charCodeAt(u.length-1)?" ":"";u+A?this.mirror.textContent=u+A:this.mirror.innerText=" ",this.layout()}style(u){this.inputBackground=u.inputBackground,this.inputForeground=u.inputForeground,this.inputBorder=u.inputBorder,this.inputValidationInfoBackground=u.inputValidationInfoBackground,this.inputValidationInfoForeground=u.inputValidationInfoForeground,this.inputValidationInfoBorder=u.inputValidationInfoBorder,this.inputValidationWarningBackground=u.inputValidationWarningBackground,this.inputValidationWarningForeground=u.inputValidationWarningForeground,this.inputValidationWarningBorder=u.inputValidationWarningBorder,this.inputValidationErrorBackground=u.inputValidationErrorBackground,this.inputValidationErrorForeground=u.inputValidationErrorForeground,this.inputValidationErrorBorder=u.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const u=this.inputBackground?this.inputBackground.toString():"",A=this.inputForeground?this.inputForeground.toString():"",U=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=u,this.element.style.color=A,this.input.style.backgroundColor="inherit",this.input.style.color=A,this.element.style.borderWidth=U?"1px":"",this.element.style.borderStyle=U?"solid":"",this.element.style.borderColor=U}layout(){if(!this.mirror)return;const u=this.cachedContentHeight;this.cachedContentHeight=q.G(this.mirror),u!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(u){const A=this.inputElement,U=A.selectionStart,da=A.selectionEnd,Z=A.value;null!==U&&null!==da&&(this.value=Z.substr(0,U)+u+Z.substr(da),A.setSelectionRange(U+1,U+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class x extends w{constructor(u,A,U){super(u,A,U),this.history=new D(U.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let u=this.getNextValue();u&&(u=u===this.value?this.getNextValue():u),u&&(this.value=u,F.c(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let u=this.getPreviousValue();u&&(u=u===this.value?this.getPreviousValue():u),u&&(this.value=u,F.c(this.value))}getCurrentValue(){let u=this.history.current();return u||(u=this.history.last(),this.history.next()),u}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},function(Ga,t,f){"use strict";function l(q,y){if(!q)throw new Error(y?`Assertion failed (${y})`:"Assertion Failed")}f.d(t,"a",function(){return l})},function(Ga,t,f){"use strict";f.d(t,"b",function(){return D}),f.d(t,"a",function(){return Q});var l=f(0),q=f(13),y=f(21),F=f(23),P=f(180),Y=f(72);function R(B){return B.toString()}class L{constructor(B,C,k,w,x,u,A){this.beforeVersionId=B,this.afterVersionId=C,this.beforeEOL=k,this.afterEOL=w,this.beforeCursorState=x,this.afterCursorState=u,this.changes=A}static create(B,C){const k=B.getAlternativeVersionId(),w=z(B);return new L(k,k,w,w,C,C,[])}append(B,C,k,w,x){C.length>0&&(this.changes=Object(P.b)(this.changes,C)),this.afterEOL=k,this.afterVersionId=w,this.afterCursorState=x}static _writeSelectionsSize(B){return 4+16*(B?B.length:0)}static _writeSelections(B,C,k){if(Y.f(B,C?C.length:0,k),k+=4,C)for(const w of C)Y.f(B,w.selectionStartLineNumber,k),k+=4,Y.f(B,w.selectionStartColumn,k),k+=4,Y.f(B,w.positionLineNumber,k),k+=4,Y.f(B,w.positionColumn,k),k+=4;return k}static _readSelections(B,C,k){const w=Y.c(B,C);C+=4;for(let x=0;x<w;x++){const u=Y.c(B,C);C+=4;const A=Y.c(B,C);C+=4;const U=Y.c(B,C);C+=4;const da=Y.c(B,C);C+=4,k.push(new y.a(u,A,U,da))}return C}serialize(){let B=10+L._writeSelectionsSize(this.beforeCursorState)+L._writeSelectionsSize(this.afterCursorState)+4;for(const w of this.changes)B+=w.writeSize();const C=new Uint8Array(B);let k=0;Y.f(C,this.beforeVersionId,k),k+=4,Y.f(C,this.afterVersionId,k),k+=4,Y.g(C,this.beforeEOL,k),k+=1,Y.g(C,this.afterEOL,k),k+=1,k=L._writeSelections(C,this.beforeCursorState,k),k=L._writeSelections(C,this.afterCursorState,k),Y.f(C,this.changes.length,k),k+=4;for(const w of this.changes)k=w.write(C,k);return C.buffer}static deserialize(B){const C=new Uint8Array(B);let k=0;const w=Y.c(C,k);k+=4;const x=Y.c(C,k);k+=4;const u=Y.d(C,k);k+=1;const A=Y.d(C,k);k+=1;const U=[];k=L._readSelections(C,k,U);const da=[];k=L._readSelections(C,k,da);const Z=Y.c(C,k);k+=4;const H=[];for(let ea=0;ea<Z;ea++)k=P.a.read(C,k,H);return new L(w,x,u,A,U,da,H)}}class s{constructor(B,C){this.model=B,this._data=L.create(B,C)}get type(){return 0}get resource(){return F.a.isUri(this.model)?this.model:this.model.uri}get label(){return l.a("edit","Typing")}toString(){return(this._data instanceof L?this._data:L.deserialize(this._data)).changes.map(B=>B.toString()).join(", ")}matchesResource(B){return(F.a.isUri(this.model)?this.model:this.model.uri).toString()===B.toString()}setModel(B){this.model=B}canAppend(B){return this.model===B&&this._data instanceof L}append(B,C,k,w,x){this._data instanceof L&&this._data.append(B,C,k,w,x)}close(){this._data instanceof L&&(this._data=this._data.serialize())}undo(){if(F.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof L&&(this._data=this._data.serialize());const B=L.deserialize(this._data);this.model._applyUndo(B.changes,B.beforeEOL,B.beforeVersionId,B.beforeCursorState)}redo(){if(F.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof L&&(this._data=this._data.serialize());const B=L.deserialize(this._data);this.model._applyRedo(B.changes,B.afterEOL,B.afterVersionId,B.afterCursorState)}}function z(B){return` -`===B.getEOL()?0:1}function D(B){return!!B&&(B instanceof s||B instanceof class{constructor(C,k){this.type=1,this.label=C,this._isOpen=!0,this._editStackElementsArr=k.slice(0),this._editStackElementsMap=new Map();for(const w of this._editStackElementsArr){const x=R(w.resource);this._editStackElementsMap.set(x,w)}this._delegate=null}get resources(){return this._editStackElementsArr.map(C=>C.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(C){const k=R(C);return this._editStackElementsMap.has(k)}setModel(C){const k=R(F.a.isUri(C)?C:C.uri);this._editStackElementsMap.has(k)&&this._editStackElementsMap.get(k).setModel(C)}canAppend(C){if(!this._isOpen)return!1;const k=R(C.uri);return this._editStackElementsMap.has(k)?this._editStackElementsMap.get(k).canAppend(C):!1}append(C,k,w,x,u){const A=R(C.uri);this._editStackElementsMap.get(A).append(C,k,w,x,u)}close(){this._isOpen=!1}undo(){this._isOpen=!1;for(const C of this._editStackElementsArr)C.undo()}redo(){for(const C of this._editStackElementsArr)C.redo()}split(){return this._editStackElementsArr}})}class Q{constructor(B,C){this._model=B,this._undoRedoService=C}pushStackElement(){const B=this._undoRedoService.getLastElement(this._model.uri);D(B)&&B.close()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(B){const C=this._undoRedoService.getLastElement(this._model.uri);if(D(C)&&C.canAppend(this._model))return C;const k=new s(this._model,B);return this._undoRedoService.pushElement(k),k}pushEOL(B){const C=this._getOrCreateEditStackElement(null);this._model.setEOL(B),C.append(this._model,[],z(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(B,C,k){const w=this._getOrCreateEditStackElement(B),x=this._model.applyEdits(C,!0),u=Q._computeCursorState(k,x),A=x.map((U,da)=>({index:da,textChange:U.textChange}));return A.sort((U,da)=>U.textChange.oldPosition===da.textChange.oldPosition?U.index-da.index:U.textChange.oldPosition-da.textChange.oldPosition),w.append(this._model,A.map(U=>U.textChange),z(this._model),this._model.getAlternativeVersionId(),u),u}static _computeCursorState(B,C){try{return B?B(C):null}catch(k){return Object(q.e)(k),null}}}},function(Ga,t,f){"use strict";(function(l){f.d(t,"a",function(){return Q});var q,y,F,P=(q=function(Z,H){return(q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ea,oa){ea.__proto__=oa}||function(ea,oa){for(var ga in oa)oa.hasOwnProperty(ga)&&(ea[ga]=oa[ga])})(Z,H)},function(Z,H){function ea(){this.constructor=Z}q(Z,H),Z.prototype=null===H?Object.create(H):(ea.prototype=H.prototype,new ea())});if("object"==typeof l)F="win32"===l.platform;else if("object"==typeof navigator){var Y=navigator.userAgent;F=Y.indexOf("Windows")>=0}var R=/^\w[\w\d+.-]*$/,L=/^\//,s=/^\/\//,z="/",D=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Q=function(){function Z(H,ea,oa,ga,Ba,N){void 0===N&&(N=!1),"object"==typeof H?(this.scheme=H.scheme||"",this.authority=H.authority||"",this.path=H.path||"",this.query=H.query||"",this.fragment=H.fragment||""):(this.scheme=function(V,ma){return V||ma?V:"file"}(H,N),this.authority=ea||"",this.path=function(V,ma){switch(V){case"https":case"http":case"file":ma?ma[0]!==z&&(ma=z+ma):ma=z}return ma}(this.scheme,oa||""),this.query=ga||"",this.fragment=Ba||"",function(V,ma){if(!V.scheme&&ma)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+V.authority+'", path: "'+V.path+'", query: "'+V.query+'", fragment: "'+V.fragment+'"}');if(V.scheme&&!R.test(V.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(V.path){if(V.authority){if(!L.test(V.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(V.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,N))}return Z.isUri=function(H){return H instanceof Z||!!H&&("string"==typeof H.authority&&"string"==typeof H.fragment&&"string"==typeof H.path&&"string"==typeof H.query&&"string"==typeof H.scheme&&"function"==typeof H.fsPath&&"function"==typeof H.with&&"function"==typeof H.toString)},Object.defineProperty(Z.prototype,"fsPath",{get:function(){return u(this,!1)},enumerable:!0,configurable:!0}),Z.prototype.with=function(H){if(!H)return this;var ea=H.scheme,oa=H.authority,ga=H.path,Ba=H.query,N=H.fragment;return void 0===ea?ea=this.scheme:null===ea&&(ea=""),void 0===oa?oa=this.authority:null===oa&&(oa=""),void 0===ga?ga=this.path:null===ga&&(ga=""),void 0===Ba?Ba=this.query:null===Ba&&(Ba=""),void 0===N?N=this.fragment:null===N&&(N=""),ea===this.scheme&&oa===this.authority&&ga===this.path&&Ba===this.query&&N===this.fragment?this:new C(ea,oa,ga,Ba,N)},Z.parse=function(H,ea){void 0===ea&&(ea=!1);var oa=D.exec(H);return oa?new C(oa[2]||"",da(oa[4]||""),da(oa[5]||""),da(oa[7]||""),da(oa[9]||""),ea):new C("","","","","")},Z.file=function(H){var ea="";if(F&&(H=H.replace(/\\/g,z)),H[0]===z&&H[1]===z){var oa=H.indexOf(z,2);-1===oa?(ea=H.substring(2),H=z):(ea=H.substring(2,oa),H=H.substring(oa)||z)}return new C("file",ea,H,"","")},Z.from=function(H){return new C(H.scheme,H.authority,H.path,H.query,H.fragment)},Z.prototype.toString=function(H){return void 0===H&&(H=!1),A(this,H)},Z.prototype.toJSON=function(){return this},Z.revive=function(H){if(H){if(H instanceof Z)return H;var ea=new C(H);return ea._formatted=H.external,ea._fsPath=H._sep===B?H.fsPath:null,ea}return H},Z}(),B=F?1:void 0,C=function(Z){function H(){var ea=null!==Z&&Z.apply(this,arguments)||this;return ea._formatted=null,ea._fsPath=null,ea}return P(H,Z),Object.defineProperty(H.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=u(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),H.prototype.toString=function(ea){return void 0===ea&&(ea=!1),ea?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)},H.prototype.toJSON=function(){var ea={$mid:1};return this._fsPath&&(ea.fsPath=this._fsPath,ea._sep=B),this._formatted&&(ea.external=this._formatted),this.path&&(ea.path=this.path),this.scheme&&(ea.scheme=this.scheme),this.authority&&(ea.authority=this.authority),this.query&&(ea.query=this.query),this.fragment&&(ea.fragment=this.fragment),ea},H}(Q),k=((y={})[58]="%3A",y[47]="%2F",y[63]="%3F",y[35]="%23",y[91]="%5B",y[93]="%5D",y[64]="%40",y[33]="%21",y[36]="%24",y[38]="%26",y[39]="%27",y[40]="%28",y[41]="%29",y[42]="%2A",y[43]="%2B",y[44]="%2C",y[59]="%3B",y[61]="%3D",y[32]="%20",y);function w(Z,H){for(var ea=void 0,oa=-1,ga=0;ga<Z.length;ga++){var Ba=Z.charCodeAt(ga);if(Ba>=97&&Ba<=122||Ba>=65&&Ba<=90||Ba>=48&&Ba<=57||45===Ba||46===Ba||95===Ba||126===Ba||H&&47===Ba)-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa,ga)),oa=-1),void 0!==ea&&(ea+=Z.charAt(ga));else{void 0===ea&&(ea=Z.substr(0,ga));var N=k[Ba];void 0!==N?(-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa,ga)),oa=-1),ea+=N):-1===oa&&(oa=ga)}}return-1!==oa&&(ea+=encodeURIComponent(Z.substring(oa))),void 0!==ea?ea:Z}function x(Z){for(var H=void 0,ea=0;ea<Z.length;ea++){var oa=Z.charCodeAt(ea);35===oa||63===oa?(void 0===H&&(H=Z.substr(0,ea)),H+=k[oa]):void 0!==H&&(H+=Z[ea])}return void 0!==H?H:Z}function u(Z,H){var ea;return ea=Z.authority&&Z.path.length>1&&"file"===Z.scheme?"//"+Z.authority+Z.path:47===Z.path.charCodeAt(0)&&(Z.path.charCodeAt(1)>=65&&Z.path.charCodeAt(1)<=90||Z.path.charCodeAt(1)>=97&&Z.path.charCodeAt(1)<=122)&&58===Z.path.charCodeAt(2)?H?Z.path.substr(1):Z.path[1].toLowerCase()+Z.path.substr(2):Z.path,F&&(ea=ea.replace(/\//g,"\\")),ea}function A(Z,H){var ea=H?x:w,oa="",ga=Z.scheme,Ba=Z.authority,N=Z.path,V=Z.query,ma=Z.fragment;if(ga&&(oa+=ga,oa+=":"),(Ba||"file"===ga)&&(oa+=z,oa+=z),Ba){var ta=Ba.indexOf("@");if(-1!==ta){var Da=Ba.substr(0,ta);Ba=Ba.substr(ta+1),-1===(ta=Da.indexOf(":"))?oa+=ea(Da,!1):(oa+=ea(Da.substr(0,ta),!1),oa+=":",oa+=ea(Da.substr(ta+1),!1)),oa+="@"}-1===(ta=(Ba=Ba.toLowerCase()).indexOf(":"))?oa+=ea(Ba,!1):(oa+=ea(Ba.substr(0,ta),!1),oa+=Ba.substr(ta))}if(N){if(N.length>=3&&47===N.charCodeAt(0)&&58===N.charCodeAt(2))(Ka=N.charCodeAt(1))>=65&&Ka<=90&&(N="/"+String.fromCharCode(Ka+32)+":"+N.substr(3));else if(N.length>=2&&58===N.charCodeAt(1)){var Ka;(Ka=N.charCodeAt(0))>=65&&Ka<=90&&(N=String.fromCharCode(Ka+32)+":"+N.substr(2))}oa+=ea(N,!0)}return V&&(oa+="?",oa+=ea(V,!1)),ma&&(oa+="#",oa+=H?ma:w(ma,!1)),oa}var U=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function da(Z){return Z.match(U)?Z.replace(U,function(H){return function ea(oa){try{return decodeURIComponent(oa)}catch(ga){return oa.length>3?oa.substr(0,3)+ea(oa.substr(3)):oa}}(H)}):Z}}).call(this,f(86))},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F});let l=!1,q=null;function y(P){if(!P.parent||P.parent===P)return null;try{let Y=P.location,R=P.parent.location;if("null"!==Y.origin&&"null"!==R.origin&&(Y.protocol!==R.protocol||Y.hostname!==R.hostname||Y.port!==R.port))return l=!0,null}catch(Y){return l=!0,null}return P.parent}class F{static getSameOriginWindowChain(){if(!q){q=[];let P,Y=window;do P=y(Y),P?q.push({window:Y,iframeElement:Y.frameElement||null}):q.push({window:Y,iframeElement:null}),Y=P;while(Y)}return q.slice(0)}static hasDifferentOriginAncestor(){return q||this.getSameOriginWindowChain(),l}static getPositionOfChildWindowRelativeToAncestorWindow(P,Y){if(!Y||P===Y)return{top:0,left:0};let R=0,L=0,s=this.getSameOriginWindowChain();for(const z of s){if(R+=z.window.scrollY,L+=z.window.scrollX,z.window===Y)break;if(!z.iframeElement)break;let D=z.iframeElement.getBoundingClientRect();R+=D.top,L+=D.left}return{top:R,left:L}}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(72),q=f(23);function y(F){let P=JSON.parse(F);return P=function Y(R,L=0){if(!R||L>200)return R;if("object"==typeof R){switch(R.$mid){case 1:return q.a.revive(R);case 2:return new RegExp(R.source,R.flags)}if(R instanceof l.a||R instanceof Uint8Array)return R;if(Array.isArray(R))for(let s=0;s<R.length;++s)R[s]=Y(R[s],L+1);else for(const s in R)Object.hasOwnProperty.call(R,s)&&(R[s]=Y(R[s],L+1))}return R}(P),P}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return y}),f.d(t,"a",function(){return F});var l=f(8),q=f(42);function y(P){return P.replace(/[\\/]/g,q.e.sep)}function F(P,Y,R,L=q.h){if(P===Y)return!0;if(!P||!Y)return!1;if(Y.length>P.length)return!1;if(R){if(!Object(l.T)(P,Y))return!1;if(Y.length===P.length)return!0;let s=Y.length;return Y.charAt(Y.length-1)===L&&s--,P.charAt(s)===L}return Y.charAt(Y.length-1)!==L&&(Y+=L),0===P.indexOf(Y)}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y}),f.d(t,"b",function(){return F});var l=f(72),q=f(132);class y{constructor(Y,R,L,s){this.oldPosition=Y,this.oldText=R,this.newPosition=L,this.newText=s}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${this.newText}")`:0===this.newText.length?`(delete@${this.oldPosition} "${this.oldText}")`:`(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`}static _writeStringSize(Y){return 4+2*Y.length}static _writeString(Y,R,L){const s=R.length;l.f(Y,s,L),L+=4;for(let z=0;z<s;z++)l.e(Y,R.charCodeAt(z),L),L+=2;return L}static _readString(Y,R){const L=l.c(Y,R);return R+=4,Object(q.b)(Y,R,L)}writeSize(){return 8+y._writeStringSize(this.oldText)+y._writeStringSize(this.newText)}write(Y,R){return l.f(Y,this.oldPosition,R),R+=4,l.f(Y,this.newPosition,R),R+=4,R=y._writeString(Y,this.oldText,R),R=y._writeString(Y,this.newText,R)}static read(Y,R,L){const s=l.c(Y,R);R+=4;const z=l.c(Y,R);R+=4;const D=y._readString(Y,R);R+=y._writeStringSize(D);const Q=y._readString(Y,R);return R+=y._writeStringSize(Q),L.push(new y(s,D,z,Q)),R}}function F(Y,R){return null===Y||0===Y.length?R:new P(Y,R).compress()}class P{constructor(Y,R){this._prevEdits=Y,this._currEdits=R,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let Y=0,R=0,L=this._getPrev(Y),s=this._getCurr(R);for(;Y<this._prevLen||R<this._currLen;){if(null===L){this._acceptCurr(s),s=this._getCurr(++R);continue}if(null===s){this._acceptPrev(L),L=this._getPrev(++Y);continue}if(s.oldEnd<=L.newPosition){this._acceptCurr(s),s=this._getCurr(++R);continue}if(L.newEnd<=s.oldPosition){this._acceptPrev(L),L=this._getPrev(++Y);continue}if(s.oldPosition<L.newPosition){const[B,C]=P._splitCurr(s,L.newPosition-s.oldPosition);this._acceptCurr(B),s=C;continue}if(L.newPosition<s.oldPosition){const[B,C]=P._splitPrev(L,s.oldPosition-L.newPosition);this._acceptPrev(B),L=C;continue}let D,Q;if(s.oldEnd===L.newEnd)D=L,Q=s,L=this._getPrev(++Y),s=this._getCurr(++R);else if(s.oldEnd<L.newEnd){const[B,C]=P._splitPrev(L,s.oldLength);D=B,Q=s,L=C,s=this._getCurr(++R)}else{const[B,C]=P._splitCurr(s,L.newLength);D=L,Q=B,L=this._getPrev(++Y),s=C}this._result[this._resultLen++]=new y(D.oldPosition,D.oldText,Q.newPosition,Q.newText),this._prevDeltaOffset+=D.newLength-D.oldLength,this._currDeltaOffset+=Q.newLength-Q.oldLength}const z=P._merge(this._result);return P._removeNoOps(z)}_acceptCurr(Y){this._result[this._resultLen++]=P._rebaseCurr(this._prevDeltaOffset,Y),this._currDeltaOffset+=Y.newLength-Y.oldLength}_getCurr(Y){return Y<this._currLen?this._currEdits[Y]:null}_acceptPrev(Y){this._result[this._resultLen++]=P._rebasePrev(this._currDeltaOffset,Y),this._prevDeltaOffset+=Y.newLength-Y.oldLength}_getPrev(Y){return Y<this._prevLen?this._prevEdits[Y]:null}static _rebaseCurr(Y,R){return new y(R.oldPosition-Y,R.oldText,R.newPosition,R.newText)}static _rebasePrev(Y,R){return new y(R.oldPosition,R.oldText,R.newPosition+Y,R.newText)}static _splitPrev(Y,R){const L=Y.newText.substr(0,R),s=Y.newText.substr(R);return[new y(Y.oldPosition,Y.oldText,Y.newPosition,L),new y(Y.oldEnd,"",Y.newPosition+R,s)]}static _splitCurr(Y,R){const L=Y.oldText.substr(0,R),s=Y.oldText.substr(R);return[new y(Y.oldPosition,L,Y.newPosition,Y.newText),new y(Y.oldPosition+R,s,Y.newEnd,"")]}static _merge(Y){if(0===Y.length)return Y;let R=[],L=0,s=Y[0];for(let z=1;z<Y.length;z++){const D=Y[z];s.oldEnd===D.oldPosition?s=new y(s.oldPosition,s.oldText+D.oldText,s.newPosition,s.newText+D.newText):(R[L++]=s,s=D)}return R[L++]=s,R}static _removeNoOps(Y){if(0===Y.length)return Y;let R=[],L=0;for(let s=0;s<Y.length;s++){const z=Y[s];z.oldText!==z.newText&&(R[L++]=z)}return R}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y});var l=f(8),q=f(62),y=f(22),F=f(81),P=f(3);class Y{static deleteRight(R,L,s,z){let D=[],Q=3!==R;for(let B=0,C=z.length;B<C;B++){const k=z[B];let w=k;if(w.isEmpty()){let x=k.getPosition(),u=F.a.right(L,s,x.lineNumber,x.column);w=new P.a(u.lineNumber,u.column,x.lineNumber,x.column)}w.isEmpty()?D[B]=null:(w.startLineNumber!==w.endLineNumber&&(Q=!0),D[B]=new q.a(w,""))}return[Q,D]}static _isAutoClosingPairDelete(R,L,s){if("never"===R.autoClosingBrackets&&"never"===R.autoClosingQuotes)return!1;for(let z=0,D=s.length;z<D;z++){const Q=s[z],B=Q.getPosition();if(!Q.isEmpty())return!1;const C=L.getLineContent(B.lineNumber),k=C[B.column-2],w=R.autoClosingPairsOpen2.get(k);if(!w)return!1;if(Object(y.g)(k)){if("never"===R.autoClosingQuotes)return!1}else if("never"===R.autoClosingBrackets)return!1;const x=C[B.column-1];let u=!1;for(const A of w)A.open===k&&A.close===x&&(u=!0);if(!u)return!1}return!0}static _runAutoClosingPairDelete(R,L,s){let z=[];for(let D=0,Q=s.length;D<Q;D++){const B=s[D].getPosition(),C=new P.a(B.lineNumber,B.column-1,B.lineNumber,B.column+1);z[D]=new q.a(C,"")}return[!0,z]}static deleteLeft(R,L,s,z){if(this._isAutoClosingPairDelete(L,s,z))return this._runAutoClosingPairDelete(L,s,z);let D=[],Q=2!==R;for(let B=0,C=z.length;B<C;B++){const k=z[B];let w=k;if(w.isEmpty()){let x=k.getPosition();if(L.useTabStops&&x.column>1){let u=s.getLineContent(x.lineNumber),A=l.w(u),U=-1===A?u.length+1:A+1;if(x.column<=U){let da=y.a.visibleColumnFromColumn2(L,s,x),Z=y.a.prevIndentTabStop(da,L.indentSize),H=y.a.columnFromVisibleColumn2(L,s,x.lineNumber,Z);w=new P.a(x.lineNumber,H,x.lineNumber,x.column)}else w=new P.a(x.lineNumber,x.column-1,x.lineNumber,x.column)}else{let u=F.a.left(L,s,x.lineNumber,x.column);w=new P.a(u.lineNumber,u.column,x.lineNumber,x.column)}}w.isEmpty()?D[B]=null:(w.startLineNumber!==w.endLineNumber&&(Q=!0),D[B]=new q.a(w,""))}return[Q,D]}static cut(R,L,s){let z=[];for(let D=0,Q=s.length;D<Q;D++){const B=s[D];if(B.isEmpty())if(R.emptySelectionClipboard){let C,k,w,x,u=B.getPosition();u.lineNumber<L.getLineCount()?(C=u.lineNumber,k=1,w=u.lineNumber+1,x=1):u.lineNumber>1?(C=u.lineNumber-1,k=L.getLineMaxColumn(u.lineNumber-1),w=u.lineNumber,x=L.getLineMaxColumn(u.lineNumber)):(C=u.lineNumber,k=1,w=u.lineNumber,x=L.getLineMaxColumn(u.lineNumber));let A=new P.a(C,k,w,x);A.isEmpty()?z[D]=null:z[D]=new q.a(A,"")}else z[D]=null;else z[D]=new q.a(B,"")}return new y.e(0,z,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},function(Ga,t,f){"use strict";f.d(t,"b",function(){return P}),f.d(t,"a",function(){return Y});var l=f(8),q=f(111),y=f(90);const F={getInitialState:()=>y.c,tokenize2:(R,L,s)=>Object(y.e)(0,R,L,s)};function P(R,L=F){return function(s,z){let D='<div class="monaco-tokenized-source">',Q=s.split(/\r\n|\r|\n/),B=z.getInitialState();for(let C=0,k=Q.length;C<k;C++){let w=Q[C];C>0&&(D+="<br/>");let x=z.tokenize2(w,B,0);q.a.convertToEndOffset(x.tokens,w.length);let u=new q.a(x.tokens,w).inflate(),A=0;for(let U=0,da=u.getCount();U<da;U++){const Z=u.getClassName(U),H=u.getEndOffset(U);D+=`<span class="${Z}">${l.u(w.substring(A,H))}</span>`,A=H}B=x.endState}return D+="</div>",D}(R,L||F)}function Y(R,L,s,z,D,Q,B){let C="<div>",k=z,w=0;for(let x=0,u=L.getCount();x<u;x++){const A=L.getEndOffset(x);if(A<=z)continue;let U="";for(;k<A&&k<D;k++){const da=R.charCodeAt(k);switch(da){case 9:let Z=Q-(k+w)%Q;for(w+=Z-1;Z>0;)U+=B?" ":" ",Z--;break;case 60:U+="<";break;case 62:U+=">";break;case 38:U+="&";break;case 0:U+="�";break;case 65279:case 8232:case 8233:case 133:U+="�";break;case 13:U+="​";break;case 32:U+=B?" ":" ";break;default:U+=String.fromCharCode(da)}}if(C+=`<span style="${L.getInlineStyle(x,s)}">${U}</span>`,A>D||k>=D)break}return C+="</div>",C}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return ea}),f.d(t,"b",function(){return oa}),f.d(t,"c",function(){return ga});var l=f(6),q=f(2),y=f(11),F=f(13),P=f(26),Y=f(30),R=f(12),L=f(146),s=f(152),z=f(54),D=f(20),Q=f(25),B=f(19),C=f(102),k=f(150),w=f(89),x=f(175),u=f(184),A=function(ta,Da,Ka,G){var hb,_a=arguments.length,fb=_a<3?Da:null===G?G=Object.getOwnPropertyDescriptor(Da,Ka):G;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)fb=Reflect.decorate(ta,Da,Ka,G);else for(var za=ta.length-1;za>=0;za--)(hb=ta[za])&&(fb=(_a<3?hb(fb):_a>3?hb(Da,Ka,fb):hb(Da,Ka))||fb);return _a>3&&fb&&Object.defineProperty(Da,Ka,fb),fb},U=function(ta,Da){return function(Ka,G){Da(Ka,G,ta)}};function da(ta){return ta.toString()}class Z{constructor(ta,Da,Ka){this._modelEventListeners=new q.b(),this.model=ta,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(ta.onWillDispose(()=>Da(ta))),this._modelEventListeners.add(ta.onDidChangeLanguage(G=>Ka(ta,G)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(ta){this._disposeLanguageSelection(),this._languageSelection=ta,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(ta.languageIdentifier)),this.model.setMode(ta.languageIdentifier)}}const H=y.d||y.f?1:2;let ea=class ta extends q.a{constructor(Da,Ka,G,hb,_a){super(),this._configurationService=Da,this._resourcePropertiesService=Ka,this._themeService=G,this._logService=hb,this._undoRedoService=_a,this._onModelAdded=this._register(new l.a()),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new l.a()),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new l.a()),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map(),this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new N(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new Ba(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(Da,Ka){let G=P.d.tabSize;if(Da.editor&&void 0!==Da.editor.tabSize){const S=parseInt(Da.editor.tabSize,10);isNaN(S)||(G=S),G<1&&(G=1)}let hb=G;if(Da.editor&&void 0!==Da.editor.indentSize&&"tabSize"!==Da.editor.indentSize){const S=parseInt(Da.editor.indentSize,10);isNaN(S)||(hb=S),hb<1&&(hb=1)}let _a=P.d.insertSpaces;Da.editor&&void 0!==Da.editor.insertSpaces&&(_a="false"!==Da.editor.insertSpaces&&Boolean(Da.editor.insertSpaces));let fb=H;const za=Da.eol;`\r -`===za?fb=2:` -`===za&&(fb=1);let ua=P.d.trimAutoWhitespace;Da.editor&&void 0!==Da.editor.trimAutoWhitespace&&(ua="false"!==Da.editor.trimAutoWhitespace&&Boolean(Da.editor.trimAutoWhitespace));let ba=P.d.detectIndentation;Da.editor&&void 0!==Da.editor.detectIndentation&&(ba="false"!==Da.editor.detectIndentation&&Boolean(Da.editor.detectIndentation));let $=P.d.largeFileOptimizations;return Da.editor&&void 0!==Da.editor.largeFileOptimizations&&($="false"!==Da.editor.largeFileOptimizations&&Boolean(Da.editor.largeFileOptimizations)),{isForSimpleWidget:Ka,tabSize:G,indentSize:hb,insertSpaces:_a,detectIndentation:ba,defaultEOL:fb,trimAutoWhitespace:ua,largeFileOptimizations:$}}_getEOL(Da,Ka){if(Da)return this._resourcePropertiesService.getEOL(Da,Ka);const G=this._configurationService.getValue("files.eol",{overrideIdentifier:Ka});return G&&"auto"!==G?G:3===y.a||2===y.a?` + .monaco-list${ee}:focus .monaco-list-row.focused { outline: 1px solid ${A.listFocusOutline}; outline-offset: -1px; } + `),A.listInactiveFocusOutline&&de.push(`.monaco-list${ee} .monaco-list-row.focused { outline: 1px dotted ${A.listInactiveFocusOutline}; outline-offset: -1px; }`),A.listHoverOutline&&de.push(`.monaco-list${ee} .monaco-list-row:hover { outline: 1px dashed ${A.listHoverOutline}; outline-offset: -1px; }`),A.listDropBackground&&de.push(` + .monaco-list${ee}.drop-target, + .monaco-list${ee} .monaco-list-rows.drop-target, + .monaco-list${ee} .monaco-list-row.drop-target { background-color: ${A.listDropBackground} !important; color: inherit !important; } + `),A.listFilterWidgetBackground&&de.push(`.monaco-list-type-filter { background-color: ${A.listFilterWidgetBackground} }`),A.listFilterWidgetOutline&&de.push(`.monaco-list-type-filter { border: 1px solid ${A.listFilterWidgetOutline}; }`),A.listFilterWidgetNoMatchesOutline&&de.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${A.listFilterWidgetNoMatchesOutline}; }`),A.listMatchesShadow&&de.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${A.listMatchesShadow}; }`);let Oe=de.join(` +`);Oe!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=Oe)}}let ct={listFocusBackground:V.a.fromHex("#7FB0D0"),listActiveSelectionBackground:V.a.fromHex("#0E639C"),listActiveSelectionForeground:V.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:V.a.fromHex("#094771"),listFocusAndSelectionForeground:V.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:V.a.fromHex("#3F3F46"),listHoverBackground:V.a.fromHex("#2A2D2E"),listDropBackground:V.a.fromHex("#383B3D"),treeIndentGuidesStroke:V.a.fromHex("#a9a9a9")},Ye={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function ht(Se,A){let ee=[],de=0,Oe=0;for(;de<Se.length||Oe<A.length;)if(de>=Se.length)ee.push(A[Oe++]);else if(Oe>=A.length)ee.push(Se[de++]);else{if(Se[de]===A[Oe]){ee.push(Se[de]),de++,Oe++;continue}Se[de]<A[Oe]?ee.push(Se[de++]):ee.push(A[Oe++])}return ee}let fe=(Se,A)=>Se-A;class ${constructor(A,ee){this._templateId=A,this.renderers=ee}get templateId(){return this._templateId}renderTemplate(A){return this.renderers.map(ee=>ee.renderTemplate(A))}renderElement(A,ee,de,Oe){let $e=0;for(let pt of this.renderers)pt.renderElement(A,ee,de[$e++],Oe)}disposeElement(A,ee,de,Oe){let $e=0;for(let pt of this.renderers)pt.disposeElement&&pt.disposeElement(A,ee,de[$e],Oe),$e+=1}disposeTemplate(A){let ee=0;for(let de of this.renderers)de.disposeTemplate(A[ee++])}}class G{constructor(A){this.accessibilityProvider=A,this.templateId="a18n"}renderTemplate(A){return A}renderElement(A,ee,de){let Oe=this.accessibilityProvider.getAriaLabel(A);Oe?de.setAttribute("aria-label",Oe):de.removeAttribute("aria-label");let $e=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(A);typeof $e=="number"?de.setAttribute("aria-level",""+$e):de.removeAttribute("aria-level")}disposeTemplate(A){}}class z{constructor(A,ee){this.list=A,this.dnd=ee}getDragElements(A){let ee=this.list.getSelectedElements();return ee.indexOf(A)>-1?ee:[A]}getDragURI(A){return this.dnd.getDragURI(A)}getDragLabel(A,ee){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(A,ee)}onDragStart(A,ee){this.dnd.onDragStart&&this.dnd.onDragStart(A,ee)}onDragOver(A,ee,de,Oe){return this.dnd.onDragOver(A,ee,de,Oe)}onDragEnd(A){this.dnd.onDragEnd&&this.dnd.onDragEnd(A)}drop(A,ee,de,Oe){this.dnd.drop(A,ee,de,Oe)}}class J{constructor(A,ee,de,Oe,$e=Ye){var pt;this.user=A,this._options=$e,this.eventBufferer=new y.c,this._ariaLabel="",this.disposables=new h.b,this.didJustPressContextMenuKey=!1,this._onDidDispose=new y.a,this.onDidDispose=this._onDidDispose.event;let it=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(pt=this._options.accessibilityProvider)===null||pt===void 0?void 0:pt.getWidgetRole():"list";this.selection=new q(it!=="listbox"),this.focus=new U("focused"),Object(k.g)($e,ct,!1);let At=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=$e.accessibilityProvider,this.accessibilityProvider&&(At.push(new G(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),Oe=Oe.map(_i=>new $(_i.templateId,[...At,_i]));let Nt=Object.assign(Object.assign({},$e),{dnd:$e.dnd&&new z(this,$e.dnd)});if(this.view=new P.b(ee,de,Oe,Nt),this.view.domNode.setAttribute("role",it),$e.styleController)this.styleController=$e.styleController(this.view.domId);else{let _i=E.v(this.view.domNode);this.styleController=new nt(_i,this.view.domId)}if(this.spliceable=new l([new B(this.focus,this.view,$e.identityProvider),new B(this.selection,this.view,$e.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=y.b.map(Object(C.a)(this.view.domNode,"focus",!0),()=>null),this.onDidBlur=y.b.map(Object(C.a)(this.view.domNode,"blur",!0),()=>null),this.disposables.add(new te(this,this.view)),typeof $e.keyboardSupport!="boolean"||$e.keyboardSupport){let _i=new xe(this,this.view,$e);this.disposables.add(_i)}if($e.keyboardNavigationLabelProvider){let _i=$e.keyboardNavigationDelegate||Y;this.typeLabelController=new Z(this,this.view,$e.keyboardNavigationLabelProvider,_i),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController($e),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),$e.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return y.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),A=>this.toListEvent(A))}get onDidChangeSelection(){return y.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),A=>this.toListEvent(A))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let A=y.b.chain(Object(C.a)(this.view.domNode,"keydown")).map(Oe=>new Q.a(Oe)).filter(Oe=>this.didJustPressContextMenuKey=Oe.keyCode===58||Oe.shiftKey&&Oe.keyCode===68).filter(Oe=>(Oe.preventDefault(),Oe.stopPropagation(),!1)).event,ee=y.b.chain(Object(C.a)(this.view.domNode,"keyup")).filter(()=>{let Oe=this.didJustPressContextMenuKey;return this.didJustPressContextMenuKey=!1,Oe}).filter(()=>this.getFocus().length>0&&!!this.view.domElement(this.getFocus()[0])).map(Oe=>{let $e=this.getFocus()[0];return{index:$e,element:this.view.element($e),anchor:this.view.domElement($e),browserEvent:Oe}}).event,de=y.b.chain(this.view.onContextMenu).filter(()=>!this.didJustPressContextMenuKey).map(({element:Oe,index:$e,browserEvent:pt})=>({element:Oe,index:$e,anchor:{x:pt.clientX+1,y:pt.clientY},browserEvent:pt})).event;return y.b.any(A,ee,de)}get onKeyDown(){return Object(C.a)(this.view.domNode,"keydown")}createMouseController(A){return new L(this)}updateOptions(A={}){this._options=Object.assign(Object.assign({},this._options),A),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(A)}get options(){return this._options}splice(A,ee,de=[]){if(A<0||A>this.view.length)throw new S(this.user,"Invalid start index: "+A);if(ee<0)throw new S(this.user,"Invalid delete count: "+ee);ee===0&&de.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(A,ee,de))}rerender(){this.view.rerender()}element(A){return this.view.element(A)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(A){this.view.setScrollTop(A)}get ariaLabel(){return this._ariaLabel}set ariaLabel(A){this._ariaLabel=A,this.view.domNode.setAttribute("aria-label",A)}domFocus(){this.view.domNode.focus()}layout(A,ee){this.view.layout(A,ee)}setSelection(A,ee){for(let de of A)if(de<0||de>=this.length)throw new S(this.user,"Invalid index "+de);this.selection.set(A,ee)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(A=>this.view.element(A))}setFocus(A,ee){for(let de of A)if(de<0||de>=this.length)throw new S(this.user,"Invalid index "+de);this.focus.set(A,ee)}focusNext(A=1,ee=!1,de,Oe){if(this.length===0)return;let $e=this.focus.get(),pt=this.findNextIndex($e.length>0?$e[0]+A:0,ee,Oe);pt>-1&&this.setFocus([pt],de)}focusPrevious(A=1,ee=!1,de,Oe){if(this.length===0)return;let $e=this.focus.get(),pt=this.findPreviousIndex($e.length>0?$e[0]-A:0,ee,Oe);pt>-1&&this.setFocus([pt],de)}focusNextPage(A,ee){let de=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);de=de===0?0:de-1;let Oe=this.view.element(de),$e=this.getFocusedElements()[0];if($e!==Oe){let pt=this.findPreviousIndex(de,!1,ee);pt>-1&&$e!==this.view.element(pt)?this.setFocus([pt],A):this.setFocus([de],A)}else{let pt=this.view.getScrollTop();this.view.setScrollTop(pt+this.view.renderHeight-this.view.elementHeight(de)),this.view.getScrollTop()!==pt&&setTimeout(()=>this.focusNextPage(A,ee),0)}}focusPreviousPage(A,ee){let de,Oe=this.view.getScrollTop();de=Oe===0?this.view.indexAt(Oe):this.view.indexAfter(Oe-1);let $e=this.view.element(de),pt=this.getFocusedElements()[0];if(pt!==$e){let it=this.findNextIndex(de,!1,ee);it>-1&&pt!==this.view.element(it)?this.setFocus([it],A):this.setFocus([de],A)}else{let it=Oe;this.view.setScrollTop(Oe-this.view.renderHeight),this.view.getScrollTop()!==it&&setTimeout(()=>this.focusPreviousPage(A,ee),0)}}focusLast(A,ee){if(this.length===0)return;let de=this.findPreviousIndex(this.length-1,!1,ee);de>-1&&this.setFocus([de],A)}focusFirst(A,ee){this.focusNth(0,A,ee)}focusNth(A,ee,de){if(this.length===0)return;let Oe=this.findNextIndex(A,!1,de);Oe>-1&&this.setFocus([Oe],ee)}findNextIndex(A,ee=!1,de){for(let Oe=0;Oe<this.length;Oe++){if(A>=this.length&&!ee)return-1;if(A%=this.length,!de||de(this.element(A)))return A;A++}return-1}findPreviousIndex(A,ee=!1,de){for(let Oe=0;Oe<this.length;Oe++){if(A<0&&!ee)return-1;if(A=(this.length+A%this.length)%this.length,!de||de(this.element(A)))return A;A--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map(A=>this.view.element(A))}reveal(A,ee){if(A<0||A>=this.length)throw new S(this.user,"Invalid index "+A);let de=this.view.getScrollTop(),Oe=this.view.elementTop(A),$e=this.view.elementHeight(A);if(Object(f.h)(ee)){let pt=$e-this.view.renderHeight;this.view.setScrollTop(pt*Object(N.b)(ee,0,1)+Oe)}else{let pt=Oe+$e,it=de+this.view.renderHeight;Oe<de&&pt>=it||(Oe<de?this.view.setScrollTop(Oe):pt>=it&&this.view.setScrollTop(pt-this.view.renderHeight))}}getRelativeTop(A){if(A<0||A>=this.length)throw new S(this.user,"Invalid index "+A);let ee=this.view.getScrollTop(),de=this.view.elementTop(A),Oe=this.view.elementHeight(A);if(de<ee||de+Oe>ee+this.view.renderHeight)return null;let $e=Oe-this.view.renderHeight;return Math.abs((ee-de)/$e)}getHTMLElement(){return this.view.domNode}style(A){this.styleController.style(A)}toListEvent({indexes:A,browserEvent:ee}){return{indexes:A,elements:A.map(de=>this.view.element(de)),browserEvent:ee}}_onFocusChange(){let A=this.focus.get();E.ab(this.view.domNode,"element-focused",A.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var A;let ee=this.focus.get();if(ee.length>0){let de;((A=this.accessibilityProvider)===null||A===void 0?void 0:A.getActiveDescendantId)&&(de=this.accessibilityProvider.getActiveDescendantId(this.view.element(ee[0]))),this.view.domNode.setAttribute("aria-activedescendant",de||this.view.getElementDomId(ee[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){let A=this.selection.get();E.ab(this.view.domNode,"selection-none",A.length===0),E.ab(this.view.domNode,"selection-single",A.length===1),E.ab(this.view.domNode,"selection-multiple",A.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}j([H.a],J.prototype,"onDidChangeFocus",null),j([H.a],J.prototype,"onDidChangeSelection",null),j([H.a],J.prototype,"onContextMenu",null)},function(Ie,w,o){"use strict";function h(H,E){let ge=H.getCount(),W=H.findTokenIndexAtOffset(E),Q=H.getLanguageId(W),y=W;for(;y+1<ge&&H.getLanguageId(y+1)===Q;)y++;let C=W;for(;C>0&&H.getLanguageId(C-1)===Q;)C--;return new f(H,Q,C,y+1,H.getStartOffset(C),H.getEndOffset(y))}o.d(w,"a",function(){return h}),o.d(w,"b",function(){return D});class f{constructor(E,ge,W,Q,y,C){this._actual=E,this.languageId=ge,this._firstTokenIndex=W,this._lastTokenIndex=Q,this.firstCharOffset=y,this._lastCharOffset=C}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(E){return this._actual.getLineContent().substring(0,this.firstCharOffset+E)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(E){return this._actual.findTokenIndexAtOffset(E+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(E){return this._actual.getStandardTokenType(E+this._firstTokenIndex)}}function D(H){return(7&H)!=0}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return D}),o.d(w,"a",function(){return H});var h=o(163);let f=[];function D(E,ge,W){f.push([E,new h.a(ge,[],W)])}function H(){return f}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Q}),o(196);var h=o(2),f=o(60),D=o(1),H=o(14),E=o(67),ge=o(6),W=o(123);class Q extends h.a{constructor(C,S={}){var P,V,k;let l,T;switch(super(),this._onDidBlur=this._register(new ge.a),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new ge.a),this.onDidCancel=this._onDidCancel.event,this._onDidRun=this._register(new ge.a),this.onDidRun=this._onDidRun.event,this._onDidBeforeRun=this._register(new ge.a),this.onDidBeforeRun=this._onDidBeforeRun.event,this.options=S,this._context=(P=S.context)!==null&&P!==void 0?P:null,this._orientation=(V=this.options.orientation)!==null&&V!==void 0?V:0,this._triggerKeys=(k=this.options.triggerKeys)!==null&&k!==void 0?k:{keys:[3,10],keyDown:!1},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new f.b,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(N=>this._onDidRun.fire(N))),this._register(this._actionRunner.onDidBeforeRun(N=>this._onDidBeforeRun.fire(N))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",S.animated!==!1&&D.e(this.domNode,"animated"),this._orientation){case 0:l=15,T=17;break;case 1:l=17,T=15,this.domNode.className+=" reverse";break;case 2:l=16,T=18,this.domNode.className+=" vertical";break;case 3:l=18,T=16,this.domNode.className+=" vertical reverse"}this._register(D.i(this.domNode,D.c.KEY_DOWN,N=>{let b=new E.a(N),g=!0;b.equals(l)?g=this.focusPrevious():b.equals(T)?g=this.focusNext():b.equals(9)?this._onDidCancel.fire():this.isTriggerKeyEvent(b)?this._triggerKeys.keyDown&&this.doTrigger(b):g=!1,g&&(b.preventDefault(),b.stopPropagation())})),this._register(D.i(this.domNode,D.c.KEY_UP,N=>{let b=new E.a(N);this.isTriggerKeyEvent(b)?(this._triggerKeys.keyDown||this.doTrigger(b),b.preventDefault(),b.stopPropagation()):(b.equals(2)||b.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(D.bb(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{D.x()!==this.domNode&&D.L(D.x(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),C.appendChild(this.domNode)}isTriggerKeyEvent(C){let S=!1;return this._triggerKeys.keys.forEach(P=>{S=S||C.equals(P)}),S}updateFocusedItem(){for(let C=0;C<this.actionsList.children.length;C++){let S=this.actionsList.children[C];if(D.L(D.x(),S)){this.focusedItem=C;break}}}get context(){return this._context}set context(C){this._context=C,this.viewItems.forEach(S=>S.setActionContext(C))}get actionRunner(){return this._actionRunner}set actionRunner(C){C&&(this._actionRunner=C,this.viewItems.forEach(S=>S.actionRunner=C))}getContainer(){return this.domNode}push(C,S={}){let P=Array.isArray(C)?C:[C],V=H.h(S.index)?S.index:null;P.forEach(k=>{let l=document.createElement("li"),T;l.className="action-item",l.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(D.i(l,D.c.CONTEXT_MENU,N=>{D.b.stop(N,!0)})),this.options.actionViewItemProvider&&(T=this.options.actionViewItemProvider(k)),T||(T=new W.a(this.context,k,S)),T.actionRunner=this._actionRunner,T.setActionContext(this.context),T.render(l),V===null||V<0||V>=this.actionsList.children.length?(this.actionsList.appendChild(l),this.viewItems.push(T)):(this.actionsList.insertBefore(l,this.actionsList.children[V]),this.viewItems.splice(V,0,T),V++)}),this.focusedItem&&this.focus(this.focusedItem)}clear(){Object(h.f)(this.viewItems),this.viewItems=[],D.s(this.actionsList)}focus(C){let S=!1,P;C===void 0?S=!0:typeof C=="number"?P=C:typeof C=="boolean"&&(S=C),S&&this.focusedItem===void 0?(this.focusedItem=-1,this.focusNext()):(P!==void 0&&(this.focusedItem=P),this.updateFocus())}focusNext(){this.focusedItem===void 0&&(this.focusedItem=this.viewItems.length-1);let C=this.focusedItem,S;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=C,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,S=this.viewItems[this.focusedItem]}while(this.focusedItem!==C&&!S.isEnabled());return this.focusedItem!==C||S.isEnabled()||(this.focusedItem=void 0),this.updateFocus(),!0}focusPrevious(){this.focusedItem===void 0&&(this.focusedItem=0);let C=this.focusedItem,S;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=C,!1;this.focusedItem=this.viewItems.length-1}S=this.viewItems[this.focusedItem]}while(this.focusedItem!==C&&!S.isEnabled());return this.focusedItem!==C||S.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0),!0}updateFocus(C,S){this.focusedItem===void 0&&this.actionsList.focus({preventScroll:S});for(let P=0;P<this.viewItems.length;P++){let V=this.viewItems[P];P===this.focusedItem?H.g(V.isEnabled)&&(V.isEnabled()&&H.g(V.focus)?V.focus(C):this.actionsList.focus({preventScroll:S})):H.g(V.blur)&&V.blur()}}doTrigger(C){if(this.focusedItem===void 0)return;let S=this.viewItems[this.focusedItem];if(S instanceof W.b){let P=S._context===null||S._context===void 0?C:S._context;this.run(S._action,P)}}run(C,S){return this._actionRunner.run(C,S)}dispose(){Object(h.f)(this.viewItems),this.viewItems=[],D.S(this.getContainer()),super.dispose()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(76);class f extends h.a{constructor(E){super(0);for(let ge=0,W=E.length;ge<W;ge++)this.set(E.charCodeAt(ge),2);this.set(32,1),this.set(9,1)}}let D=function(H){let E={};return ge=>(E.hasOwnProperty(ge)||(E[ge]=H(ge)),E[ge])}(H=>new f(H))},function(Ie,w,o){"use strict";function h(D,H,E){return Math.min(Math.max(D,H),E)}o.d(w,"b",function(){return h}),o.d(w,"a",function(){return f});class f{constructor(){this._n=1,this._val=0}update(H){return this._val=this._val+(H-this._val)/this._n,this._n+=1,this}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return E}),o.d(w,"a",function(){return P});var h=o(8),f=o(132),D=o(3);class H{constructor(k,l,T,N,b,g){this.languageIdentifier=k,this.index=l,this.open=T,this.close=N,this.forwardRegex=b,this.reversedRegex=g,this._openSet=H._toSet(this.open),this._closeSet=H._toSet(this.close)}isOpen(k){return this._openSet.has(k)}isClose(k){return this._closeSet.has(k)}static _toSet(k){let l=new Set;for(let T of k)l.add(T);return l}}class E{constructor(k,l){let T=function(N){let b=N.length;N=N.map(q=>[q[0].toLowerCase(),q[1].toLowerCase()]);let g=[];for(let q=0;q<b;q++)g[q]=q;let j=(q,B)=>{let[se,ke]=q,[xe,Y]=B;return se===xe||se===Y||ke===xe||ke===Y},ie=(q,B)=>{let se=Math.min(q,B),ke=Math.max(q,B);for(let xe=0;xe<b;xe++)g[xe]===ke&&(g[xe]=se)};for(let q=0;q<b;q++){let B=N[q];for(let se=q+1;se<b;se++)j(B,N[se])&&ie(g[q],g[se])}let U=[];for(let q=0;q<b;q++){let B=[],se=[];for(let ke=0;ke<b;ke++)if(g[ke]===q){let[xe,Y]=N[ke];B.push(xe),se.push(Y)}B.length>0&&U.push({open:B,close:se})}return U}(l);this.brackets=T.map((N,b)=>new H(k,b,N.open,N.close,function(g,j,ie,U){let q=[];q=q.concat(g),q=q.concat(j);for(let B=0,se=q.length;B<se;B++)ge(q[B],ie,U,q);return q=Q(q),q.sort(W),q.reverse(),C(q)}(N.open,N.close,T,b),function(g,j,ie,U){let q=[];q=q.concat(g),q=q.concat(j);for(let B=0,se=q.length;B<se;B++)ge(q[B],ie,U,q);return q=Q(q),q.sort(W),q.reverse(),C(q.map(S))}(N.open,N.close,T,b))),this.forwardRegex=function(N){let b=[];for(let g of N){for(let j of g.open)b.push(j);for(let j of g.close)b.push(j)}return b=Q(b),C(b)}(this.brackets),this.reversedRegex=function(N){let b=[];for(let g of N){for(let j of g.open)b.push(j);for(let j of g.close)b.push(j)}return b=Q(b),C(b.map(S))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(let N of this.brackets){for(let b of N.open)this.textIsBracket[b]=N,this.textIsOpenBracket[b]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,b.length);for(let b of N.close)this.textIsBracket[b]=N,this.textIsOpenBracket[b]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,b.length)}}}function ge(V,k,l,T){for(let N=0,b=k.length;N<b;N++){if(N===l)continue;let g=k[N];for(let j of g.open)j.indexOf(V)>=0&&T.push(j);for(let j of g.close)j.indexOf(V)>=0&&T.push(j)}}function W(V,k){return V.length-k.length}function Q(V){if(V.length<=1)return V;let k=[],l=new Set;for(let T of V)l.has(T)||(k.push(T),l.add(T));return k}function y(V){let k=/^[\w ]+$/.test(V);return V=h.v(V),k?`\\b${V}\\b`:V}function C(V){let k=`(${V.map(y).join(")|(")})`;return h.q(k,!0)}let S=function(){let V=null,k=null;return function(l){return V!==l&&(V=l,k=function(T){if(f.d){let N=new Uint16Array(T.length),b=0;for(let g=T.length-1;g>=0;g--)N[b++]=T.charCodeAt(g);return f.c().decode(N)}{let N=[],b=0;for(let g=T.length-1;g>=0;g--)N[b++]=T.charAt(g);return N.join("")}}(V)),k}}();class P{static _findPrevBracketInText(k,l,T,N){let b=T.match(k);if(!b)return null;let g=T.length-(b.index||0),j=b[0].length,ie=N+g;return new D.a(l,ie-j+1,l,ie+1)}static findPrevBracketInRange(k,l,T,N,b){let g=S(T).substring(T.length-b,T.length-N);return this._findPrevBracketInText(k,l,g,N)}static findNextBracketInText(k,l,T,N){let b=T.match(k);if(!b)return null;let g=b.index||0,j=b[0].length;if(j===0)return null;let ie=N+g;return new D.a(l,ie+1,l,ie+1+j)}static findNextBracketInRange(k,l,T,N,b){let g=T.substring(N,b);return this.findNextBracketInText(k,l,g,N)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("telemetryService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("clipboardService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("textModelService")},function(Ie,w,o){"use strict";o.d(w,"b",function(){return C}),o.d(w,"a",function(){return S}),o(196);var h=o(11),f=o(0),D=o(2),H=o(60),E=o(1),ge=o(14),W=o(61),Q=o(125),y=o(34);class C extends D.a{constructor(V,k,l={}){super(),this.options=l,this._context=V||this,this._action=k,k instanceof H.a&&this._register(k.onDidChange(T=>{this.element&&this.handleActionChangeEvent(T)}))}handleActionChangeEvent(V){V.enabled!==void 0&&this.updateEnabled(),V.checked!==void 0&&this.updateChecked(),V.class!==void 0&&this.updateClass(),V.label!==void 0&&(this.updateLabel(),this.updateTooltip()),V.tooltip!==void 0&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new H.b)),this._actionRunner}set actionRunner(V){this._actionRunner=V}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(V){this._context=V}render(V){let k=this.element=V;this._register(W.b.addTarget(V));let l=this.options&&this.options.draggable;l&&(V.draggable=!0,y.h&&this._register(E.i(V,E.c.DRAG_START,T=>{var N;return(N=T.dataTransfer)===null||N===void 0?void 0:N.setData(Q.a.TEXT,this._action.label)}))),this._register(E.i(k,W.a.Tap,T=>this.onClick(T))),this._register(E.i(k,E.c.MOUSE_DOWN,T=>{l||E.b.stop(T,!0),this._action.enabled&&T.button===0&&E.e(k,"active")})),h.f&&this._register(E.i(k,E.c.CONTEXT_MENU,T=>{T.button===0&&T.ctrlKey===!0&&this.onClick(T)})),this._register(E.i(k,E.c.CLICK,T=>{E.b.stop(T,!0),this.options&&this.options.isMenu||h.j(()=>this.onClick(T))})),this._register(E.i(k,E.c.DBLCLICK,T=>{E.b.stop(T,!0)})),[E.c.MOUSE_UP,E.c.MOUSE_OUT].forEach(T=>{this._register(E.i(k,T,N=>{E.b.stop(N),E.Q(k,"active")}))})}onClick(V){var k;E.b.stop(V,!0);let l=ge.l(this._context)?((k=this.options)===null||k===void 0?void 0:k.useEventAsContext)?V:void 0:this._context;this.actionRunner.run(this._action,l)}focus(){this.element&&(this.element.focus(),E.e(this.element,"focused"))}blur(){this.element&&(this.element.blur(),E.Q(this.element,"focused"))}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(E.S(this.element),this.element=void 0),super.dispose()}}class S extends C{constructor(V,k,l={}){super(V,k,l),this.options=l,this.options.icon=l.icon!==void 0&&l.icon,this.options.label=l.label===void 0||l.label,this.cssClass=""}render(V){super.render(V),this.element&&(this.label=E.p(this.element,E.a("a.action-label"))),this.label&&(this._action.id===H.c.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(E.p(this.element,E.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){super.focus(),this.label&&this.label.focus()}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let V=null;this.getAction().tooltip?V=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(V=this.getAction().label,this.options.keybinding&&(V=f.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",V,this.options.keybinding))),V&&this.label&&(this.label.title=V)}updateClass(){this.cssClass&&this.label&&E.R(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(E.e(this.label,"codicon"),this.cssClass&&E.f(this.label,this.cssClass)),this.updateEnabled()):this.label&&E.Q(this.label,"codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),E.Q(this.label,"disabled"),this.label.tabIndex=0),this.element&&E.Q(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),E.e(this.label,"disabled"),E.T(this.label)),this.element&&E.e(this.element,"disabled"))}updateChecked(){this.label&&(this.getAction().checked?E.e(this.label,"checked"):E.Q(this.label,"checked"))}}},function(Ie,w,o){"use strict";o.d(w,"f",function(){return ge}),o.d(w,"b",function(){return y}),o.d(w,"c",function(){return C}),o.d(w,"a",function(){return P}),o.d(w,"e",function(){return l}),o.d(w,"d",function(){return T});var h=o(15),f=o(111),D=o(9),H=o(3),E=o(12);function ge(N){let b=0,g=0,j=0,ie=0;for(let U=0,q=N.length;U<q;U++){let B=N.charCodeAt(U);B===13?(b===0&&(g=U),b++,U+1<q&&N.charCodeAt(U+1)===10?(ie|=2,U++):ie|=3,j=U+1):B===10&&(ie|=1,b===0&&(g=U),b++,j=U+1)}return b===0&&(g=N.length),[b,g,N.length-j,ie]}function W(N){return(16384|N<<0|2<<23)>>>0}let Q=new Uint32Array(0).buffer;class y{constructor(){this.tokens=[]}add(b,g){if(this.tokens.length>0){let j=this.tokens[this.tokens.length-1];if(j.startLineNumber+j.tokens.length-1+1===b)return void j.tokens.push(g)}this.tokens.push(new V(b,[g]))}}class C{constructor(b){this._tokens=b,this._tokenCount=b.length/4}toString(b){let g=[];for(let j=0;j<this._tokenCount;j++)g.push(`(${this._getDeltaLine(j)+b},${this._getStartCharacter(j)}-${this._getEndCharacter(j)})`);return`[${g.join(",")}]`}getMaxDeltaLine(){let b=this._getTokenCount();return b===0?-1:this._getDeltaLine(b-1)}getRange(){let b=this._getTokenCount();if(b===0)return null;let g=this._getStartCharacter(0),j=this._getDeltaLine(b-1),ie=this._getEndCharacter(b-1);return new H.a(0,g+1,j,ie+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(b){return this._tokens[4*b]}_getStartCharacter(b){return this._tokens[4*b+1]}_getEndCharacter(b){return this._tokens[4*b+2]}isEmpty(){return this._getTokenCount()===0}getLineTokens(b){let g=0,j=this._getTokenCount()-1;for(;g<j;){let ie=g+Math.floor((j-g)/2),U=this._getDeltaLine(ie);if(U<b)g=ie+1;else{if(!(U>b)){let q=ie;for(;q>g&&this._getDeltaLine(q-1)===b;)q--;let B=ie;for(;B<j&&this._getDeltaLine(B+1)===b;)B++;return new S(this._tokens.subarray(4*q,4*B+4))}j=ie-1}}return this._getDeltaLine(g)===b?new S(this._tokens.subarray(4*g,4*g+4)):null}clear(){this._tokenCount=0}removeTokens(b,g,j,ie){let U=this._tokens,q=this._tokenCount,B=0,se=!1,ke=0;for(let xe=0;xe<q;xe++){let Y=4*xe,Z=U[Y],te=U[Y+1],he=U[Y+2],Ce=U[Y+3];if((Z>b||Z===b&&he>=g)&&(Z<j||Z===j&&te<=ie))se=!0;else{if(B===0&&(ke=Z),se){let Ae=4*B;U[Ae]=Z-ke,U[Ae+1]=te,U[Ae+2]=he,U[Ae+3]=Ce}B++}}return this._tokenCount=B,ke}split(b,g,j,ie){let U=this._tokens,q=this._tokenCount,B=[],se=[],ke=B,xe=0,Y=0;for(let Z=0;Z<q;Z++){let te=4*Z,he=U[te],Ce=U[te+1],Ae=U[te+2],L=U[te+3];if(he>b||he===b&&Ae>=g){if(he<j||he===j&&Ce<=ie)continue;ke!==se&&(ke=se,xe=0,Y=he)}ke[xe++]=he-Y,ke[xe++]=Ce,ke[xe++]=Ae,ke[xe++]=L}return[new C(new Uint32Array(B)),new C(new Uint32Array(se)),Y]}acceptDeleteRange(b,g,j,ie,U){let q=this._tokens,B=this._tokenCount,se=ie-g,ke=0,xe=!1;for(let Y=0;Y<B;Y++){let Z=4*Y,te=q[Z],he=q[Z+1],Ce=q[Z+2],Ae=q[Z+3];if(te<g||te===g&&Ce<=j){ke++;continue}if(te===g&&he<j)te===ie&&Ce>U?Ce-=U-j:Ce=j;else if(te===g&&he===j){if(!(te===ie&&Ce>U)){xe=!0;continue}Ce-=U-j}else if(te<ie||te===ie&&he<U){if(!(te===ie&&Ce>U)){xe=!0;continue}te===g?(he=j,Ce=he+(Ce-U)):(he=0,Ce=he+(Ce-U))}else if(te>ie){if(se===0&&!xe){ke=B;break}te-=se}else{if(!(te===ie&&he>=U))throw new Error("Not possible!");b&&te===0&&(he+=b,Ce+=b),te-=se,he-=U-j,Ce-=U-j}let L=4*ke;q[L]=te,q[L+1]=he,q[L+2]=Ce,q[L+3]=Ae,ke++}this._tokenCount=ke}acceptInsertText(b,g,j,ie,U,q){let B=j===0&&ie===1&&(q>=48&&q<=57||q>=65&&q<=90||q>=97&&q<=122),se=this._tokens,ke=this._tokenCount;for(let xe=0;xe<ke;xe++){let Y=4*xe,Z=se[Y],te=se[Y+1],he=se[Y+2];if(!(Z<b||Z===b&&he<g)){if(Z===b&&he===g){if(!B)continue;he+=1}else if(Z===b&&te<g&&g<he)j===0?he+=ie:he=g;else{if(Z===b&&te===g&&B)continue;if(Z===b)if(Z+=j,j===0)te+=ie,he+=ie;else{let Ce=he-te;te=U+(te-g),he=te+Ce}else Z+=j}se[Y]=Z,se[Y+1]=te,se[Y+2]=he}}}}class S{constructor(b){this._tokens=b}getCount(){return this._tokens.length/4}getStartCharacter(b){return this._tokens[4*b+1]}getEndCharacter(b){return this._tokens[4*b+2]}getMetadata(b){return this._tokens[4*b+3]}}class P{constructor(b,g){this.startLineNumber=b,this.tokens=g,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}toString(){return this.tokens.toString(this.startLineNumber)}_updateEndLineNumber(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}isEmpty(){return this.tokens.isEmpty()}getLineTokens(b){return this.startLineNumber<=b&&b<=this.endLineNumber?this.tokens.getLineTokens(b-this.startLineNumber):null}getRange(){let b=this.tokens.getRange();return b&&new H.a(this.startLineNumber+b.startLineNumber,b.startColumn,this.startLineNumber+b.endLineNumber,b.endColumn)}removeTokens(b){let g=b.startLineNumber-this.startLineNumber,j=b.endLineNumber-this.startLineNumber;this.startLineNumber+=this.tokens.removeTokens(g,b.startColumn-1,j,b.endColumn-1),this._updateEndLineNumber()}split(b){let g=b.startLineNumber-this.startLineNumber,j=b.endLineNumber-this.startLineNumber,[ie,U,q]=this.tokens.split(g,b.startColumn-1,j,b.endColumn-1);return[new P(this.startLineNumber,ie),new P(this.startLineNumber+q,U)]}applyEdit(b,g){let[j,ie,U]=ge(g);this.acceptEdit(b,j,ie,U,g.length>0?g.charCodeAt(0):0)}acceptEdit(b,g,j,ie,U){this._acceptDeleteRange(b),this._acceptInsertText(new D.a(b.startLineNumber,b.startColumn),g,j,ie,U),this._updateEndLineNumber()}_acceptDeleteRange(b){if(b.startLineNumber===b.endLineNumber&&b.startColumn===b.endColumn)return;let g=b.startLineNumber-this.startLineNumber,j=b.endLineNumber-this.startLineNumber;if(j<0){let U=j-g;return void(this.startLineNumber-=U)}let ie=this.tokens.getMaxDeltaLine();if(!(g>=ie+1)){if(g<0&&j>=ie+1)return this.startLineNumber=0,void this.tokens.clear();if(g<0){let U=-g;this.startLineNumber-=U,this.tokens.acceptDeleteRange(b.startColumn-1,0,0,j,b.endColumn-1)}else this.tokens.acceptDeleteRange(0,g,b.startColumn-1,j,b.endColumn-1)}}_acceptInsertText(b,g,j,ie,U){if(g===0&&j===0)return;let q=b.lineNumber-this.startLineNumber;if(q<0)return void(this.startLineNumber+=g);q>=this.tokens.getMaxDeltaLine()+1||this.tokens.acceptInsertText(q,b.column-1,g,j,ie,U)}}class V{constructor(b,g){this.startLineNumber=b,this.tokens=g}}function k(N){return N instanceof Uint32Array?N:new Uint32Array(N)}class l{constructor(){this._pieces=[],this._isComplete=!1}flush(){this._pieces=[],this._isComplete=!1}set(b,g){this._pieces=b||[],this._isComplete=g}setPartial(b,g){let j=b;if(g.length>0){let U=g[0].getRange(),q=g[g.length-1].getRange();if(!U||!q)return b;j=b.plusRange(U).plusRange(q)}let ie=null;for(let U=0,q=this._pieces.length;U<q;U++){let B=this._pieces[U];if(B.endLineNumber<j.startLineNumber)continue;if(B.startLineNumber>j.endLineNumber){ie=ie||{index:U};break}if(B.removeTokens(j),B.isEmpty()){this._pieces.splice(U,1),U--,q--;continue}if(B.endLineNumber<j.startLineNumber)continue;if(B.startLineNumber>j.endLineNumber){ie=ie||{index:U};continue}let[se,ke]=B.split(j);se.isEmpty()?ie=ie||{index:U}:ke.isEmpty()||(this._pieces.splice(U,1,se,ke),U++,q++,ie=ie||{index:U})}return ie=ie||{index:this._pieces.length},g.length>0&&(this._pieces=h.a(this._pieces,ie.index,g)),j}isComplete(){return this._isComplete}addSemanticTokens(b,g){let j=this._pieces;if(j.length===0)return g;let ie=j[l._findFirstPieceWithLine(j,b)].getLineTokens(b);if(!ie)return g;let U=g.getCount(),q=ie.getCount(),B=0,se=[],ke=0,xe=0,Y=(Z,te)=>{Z!==xe&&(xe=Z,se[ke++]=Z,se[ke++]=te)};for(let Z=0;Z<q;Z++){let te=ie.getStartCharacter(Z),he=ie.getEndCharacter(Z),Ce=ie.getMetadata(Z),Ae=((1&Ce?2048:0)|(2&Ce?4096:0)|(4&Ce?8192:0)|(8&Ce?8372224:0)|(16&Ce?4286578688:0))>>>0,L=~Ae>>>0;for(;B<U&&g.getEndOffset(B)<=te;)Y(g.getEndOffset(B),g.getMetadata(B)),B++;for(B<U&&g.getStartOffset(B)<te&&Y(te,g.getMetadata(B));B<U&&g.getEndOffset(B)<he;)Y(g.getEndOffset(B),g.getMetadata(B)&L|Ce&Ae),B++;if(B<U)Y(he,g.getMetadata(B)&L|Ce&Ae),g.getEndOffset(B)===he&&B++;else{let nt=Math.min(Math.max(0,B-1),U-1);Y(he,g.getMetadata(nt)&L|Ce&Ae)}}for(;B<U;)Y(g.getEndOffset(B),g.getMetadata(B)),B++;return new f.a(new Uint32Array(se),g.getLineContent())}static _findFirstPieceWithLine(b,g){let j=0,ie=b.length-1;for(;j<ie;){let U=j+Math.floor((ie-j)/2);if(b[U].endLineNumber<g)j=U+1;else{if(!(b[U].startLineNumber>g)){for(;U>j&&b[U-1].startLineNumber<=g&&g<=b[U-1].endLineNumber;)U--;return U}ie=U-1}}return j}acceptEdit(b,g,j,ie,U){for(let q of this._pieces)q.acceptEdit(b,g,j,ie,U)}}class T{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(b,g,j){let ie=null;if(g<this._len&&(ie=this._lineTokens[g]),ie!==null&&ie!==Q)return new f.a(k(ie),j);let U=new Uint32Array(2);return U[0]=j.length,U[1]=W(b),new f.a(U,j)}static _massageTokens(b,g,j){let ie=j?k(j):null;if(g===0){let U=!1;if(ie&&ie.length>1&&(U=E.B.getLanguageId(ie[1])!==b),!U)return Q}if(!ie||ie.length===0){let U=new Uint32Array(2);return U[0]=g,U[1]=W(b),U.buffer}return ie[ie.length-2]=g,ie.byteOffset===0&&ie.byteLength===ie.buffer.byteLength?ie.buffer:ie}_ensureLine(b){for(;b>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(b,g){g!==0&&(b+g>this._len&&(g=this._len-b),this._lineTokens.splice(b,g),this._len-=g)}_insertLines(b,g){if(g===0)return;let j=[];for(let ie=0;ie<g;ie++)j[ie]=null;this._lineTokens=h.a(this._lineTokens,b,j),this._len+=g}setTokens(b,g,j,ie,U){let q=T._massageTokens(b,j,ie);this._ensureLine(g);let B=this._lineTokens[g];return this._lineTokens[g]=q,!!U&&!T._equals(B,q)}static _equals(b,g){if(!b||!g)return!b&&!g;let j=k(b),ie=k(g);if(j.length!==ie.length)return!1;for(let U=0,q=j.length;U<q;U++)if(j[U]!==ie[U])return!1;return!0}acceptEdit(b,g,j){this._acceptDeleteRange(b),this._acceptInsertText(new D.a(b.startLineNumber,b.startColumn),g,j)}_acceptDeleteRange(b){let g=b.startLineNumber-1;if(g>=this._len)return;if(b.startLineNumber===b.endLineNumber)return b.startColumn===b.endColumn?void 0:void(this._lineTokens[g]=T._delete(this._lineTokens[g],b.startColumn-1,b.endColumn-1));this._lineTokens[g]=T._deleteEnding(this._lineTokens[g],b.startColumn-1);let j=b.endLineNumber-1,ie=null;j<this._len&&(ie=T._deleteBeginning(this._lineTokens[j],b.endColumn-1)),this._lineTokens[g]=T._append(this._lineTokens[g],ie),this._deleteLines(b.startLineNumber,b.endLineNumber-b.startLineNumber)}_acceptInsertText(b,g,j){if(g===0&&j===0)return;let ie=b.lineNumber-1;ie>=this._len||(g!==0?(this._lineTokens[ie]=T._deleteEnding(this._lineTokens[ie],b.column-1),this._lineTokens[ie]=T._insert(this._lineTokens[ie],b.column-1,j),this._insertLines(b.lineNumber,g)):this._lineTokens[ie]=T._insert(this._lineTokens[ie],b.column-1,j))}static _deleteBeginning(b,g){return b===null||b===Q?b:T._delete(b,0,g)}static _deleteEnding(b,g){if(b===null||b===Q)return b;let j=k(b),ie=j[j.length-2];return T._delete(b,g,ie)}static _delete(b,g,j){if(b===null||b===Q||g===j)return b;let ie=k(b),U=ie.length>>>1;if(g===0&&ie[ie.length-2]===j)return Q;let q=f.a.findIndexInTokensArray(ie,g),B=q>0?ie[q-1<<1]:0;if(j<ie[q<<1]){let Z=j-g;for(let te=q;te<U;te++)ie[te<<1]-=Z;return b}let se,ke;B!==g?(ie[q<<1]=g,se=q+1<<1,ke=g):(se=q<<1,ke=B);let xe=j-g;for(let Z=q+1;Z<U;Z++){let te=ie[Z<<1]-xe;te>ke&&(ie[se++]=te,ie[se++]=ie[1+(Z<<1)],ke=te)}if(se===ie.length)return b;let Y=new Uint32Array(se);return Y.set(ie.subarray(0,se),0),Y.buffer}static _append(b,g){if(g===Q)return b;if(b===Q)return g;if(b===null)return b;if(g===null)return null;let j=k(b),ie=k(g),U=ie.length>>>1,q=new Uint32Array(j.length+ie.length);q.set(j,0);let B=j.length,se=j[j.length-2];for(let ke=0;ke<U;ke++)q[B++]=ie[ke<<1]+se,q[B++]=ie[1+(ke<<1)];return q.buffer}static _insert(b,g,j){if(b===null||b===Q)return b;let ie=k(b),U=ie.length>>>1,q=f.a.findIndexInTokensArray(ie,g);q>0&&ie[q-1<<1]===g&&q--;for(let B=q;B<U;B++)ie[B<<1]+=j;return b}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o.d(w,"b",function(){return f}),o.d(w,"c",function(){return D});let h={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};class f{constructor(E){this.data=E}update(){}getData(){return this.data}}let D={CurrentDragAndDropData:void 0}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return P}),o.d(w,"b",function(){return V});var h=o(13),f=o(8),D=o(62),H=o(130),E=o(3),ge=o(21);class W{constructor(l,T,N){this._range=l,this._charBeforeSelection=T,this._charAfterSelection=N}getEditOperations(l,T){T.addTrackedEditOperation(new E.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),T.addTrackedEditOperation(new E.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(l,T){let N=T.getInverseEditOperations(),b=N[0].range,g=N[1].range;return new ge.a(b.endLineNumber,b.endColumn,g.endLineNumber,g.endColumn-this._charAfterSelection.length)}}var Q=o(22),y=o(117),C=o(75),S=o(39);class P{static indent(l,T,N){if(T===null||N===null)return[];let b=[];for(let g=0,j=N.length;g<j;g++)b[g]=new H.a(N[g],{isUnshift:!1,tabSize:l.tabSize,indentSize:l.indentSize,insertSpaces:l.insertSpaces,useTabStops:l.useTabStops,autoIndent:l.autoIndent});return b}static outdent(l,T,N){let b=[];for(let g=0,j=N.length;g<j;g++)b[g]=new H.a(N[g],{isUnshift:!0,tabSize:l.tabSize,indentSize:l.indentSize,insertSpaces:l.insertSpaces,useTabStops:l.useTabStops,autoIndent:l.autoIndent});return b}static shiftIndent(l,T,N){return N=N||1,H.a.shiftIndent(T,T.length+N,l.tabSize,l.indentSize,l.insertSpaces)}static unshiftIndent(l,T,N){return N=N||1,H.a.unshiftIndent(T,T.length+N,l.tabSize,l.indentSize,l.insertSpaces)}static _distributedPaste(l,T,N,b){let g=[];for(let j=0,ie=N.length;j<ie;j++)g[j]=new D.a(N[j],b[j]);return new Q.e(0,g,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(l,T,N,b,g){let j=[];for(let ie=0,U=N.length;ie<U;ie++){let q=N[ie],B=q.getPosition();if(g&&!q.isEmpty()&&(g=!1),g&&b.indexOf(` +`)!==b.length-1&&(g=!1),g){let se=new E.a(B.lineNumber,1,B.lineNumber,1);j[ie]=new D.b(se,b,q,!0)}else j[ie]=new D.a(q,b)}return new Q.e(0,j,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(l,T,N,b,g){if(b||T.length===1)return null;if(g&&g.length===T.length)return g;if(l.multiCursorPaste==="spread"){N.charCodeAt(N.length-1)===10&&(N=N.substr(0,N.length-1)),N.charCodeAt(N.length-1)===13&&(N=N.substr(0,N.length-1));let j=N.split(/\r\n|\r|\n/);if(j.length===T.length)return j}return null}static paste(l,T,N,b,g,j){let ie=this._distributePasteToCursors(l,N,b,g,j);return ie?(N=N.sort(E.a.compareRangesUsingStarts),this._distributedPaste(l,T,N,ie)):this._simplePaste(l,T,N,b,g)}static _goodIndentForLine(l,T,N){let b=null,g="",j=S.a.getInheritIndentForLine(l.autoIndent,T,N,!1);if(j)b=j.action,g=j.indentation;else if(N>1){let ie;for(ie=N-1;ie>=1;ie--){let B=T.getLineContent(ie);if(f.J(B)>=0)break}if(ie<1)return null;let U=T.getLineMaxColumn(ie),q=S.a.getEnterAction(l.autoIndent,T,new E.a(ie,U,ie,U));q&&(g=q.indentation+q.appendText)}return b&&(b===C.a.Indent&&(g=P.shiftIndent(l,g)),b===C.a.Outdent&&(g=P.unshiftIndent(l,g)),g=l.normalizeIndentation(g)),g||null}static _replaceJumpToNextIndent(l,T,N,b){let g="",j=N.getStartPosition();if(l.insertSpaces){let ie=Q.a.visibleColumnFromColumn2(l,T,j),U=l.indentSize,q=U-ie%U;for(let B=0;B<q;B++)g+=" "}else g=" ";return new D.a(N,g,b)}static tab(l,T,N){let b=[];for(let g=0,j=N.length;g<j;g++){let ie=N[g];if(ie.isEmpty()){let U=T.getLineContent(ie.startLineNumber);if(/^\s*$/.test(U)&&T.isCheapToTokenize(ie.startLineNumber)){let q=this._goodIndentForLine(l,T,ie.startLineNumber);q=q||" ";let B=l.normalizeIndentation(q);if(!f.S(U,B)){b[g]=new D.a(new E.a(ie.startLineNumber,1,ie.startLineNumber,U.length+1),B,!0);continue}}b[g]=this._replaceJumpToNextIndent(l,T,ie,!0)}else{if(ie.startLineNumber===ie.endLineNumber){let U=T.getLineMaxColumn(ie.startLineNumber);if(ie.startColumn!==1||ie.endColumn!==U){b[g]=this._replaceJumpToNextIndent(l,T,ie,!1);continue}}b[g]=new H.a(ie,{isUnshift:!1,tabSize:l.tabSize,indentSize:l.indentSize,insertSpaces:l.insertSpaces,useTabStops:l.useTabStops,autoIndent:l.autoIndent})}}return b}static replacePreviousChar(l,T,N,b,g,j){let ie=[];for(let U=0,q=b.length;U<q;U++){let B=b[U];if(!B.isEmpty()){ie[U]=null;continue}let se=B.getPosition(),ke=Math.max(1,se.column-j),xe=new E.a(se.lineNumber,ke,se.lineNumber,se.column);N.getValueInRange(xe)!==g?ie[U]=new D.a(xe,g):ie[U]=null}return new Q.e(1,ie,{shouldPushStackElementBefore:l!==1,shouldPushStackElementAfter:!1})}static _typeCommand(l,T,N){return N?new D.e(l,T,!0):new D.a(l,T,!0)}static _enter(l,T,N,b){if(l.autoIndent===0)return P._typeCommand(b,` +`,N);if(!T.isCheapToTokenize(b.getStartPosition().lineNumber)||l.autoIndent===1){let U=T.getLineContent(b.startLineNumber),q=f.z(U).substring(0,b.startColumn-1);return P._typeCommand(b,` +`+l.normalizeIndentation(q),N)}let g=S.a.getEnterAction(l.autoIndent,T,b);if(g){if(g.indentAction===C.a.None||g.indentAction===C.a.Indent)return P._typeCommand(b,` +`+l.normalizeIndentation(g.indentation+g.appendText),N);if(g.indentAction===C.a.IndentOutdent){let U=l.normalizeIndentation(g.indentation),q=l.normalizeIndentation(g.indentation+g.appendText),B=` +`+q+` +`+U;return N?new D.e(b,B,!0):new D.d(b,B,-1,q.length-U.length,!0)}if(g.indentAction===C.a.Outdent){let U=P.unshiftIndent(l,g.indentation);return P._typeCommand(b,` +`+l.normalizeIndentation(U+g.appendText),N)}}let j=T.getLineContent(b.startLineNumber),ie=f.z(j).substring(0,b.startColumn-1);if(l.autoIndent>=4){let U=S.a.getIndentForEnter(l.autoIndent,T,b,{unshiftIndent:q=>P.unshiftIndent(l,q),shiftIndent:q=>P.shiftIndent(l,q),normalizeIndentation:q=>l.normalizeIndentation(q)});if(U){let q=Q.a.visibleColumnFromColumn2(l,T,b.getEndPosition()),B=b.endColumn,se=` +`;ie!==l.normalizeIndentation(U.beforeEnter)&&(se=l.normalizeIndentation(U.beforeEnter)+j.substring(ie.length,b.startColumn-1)+` +`,b=new E.a(b.startLineNumber,1,b.endLineNumber,b.endColumn));let ke=T.getLineContent(b.endLineNumber),xe=f.w(ke);if(b=xe>=0?b.setEndPosition(b.endLineNumber,Math.max(b.endColumn,xe+1)):b.setEndPosition(b.endLineNumber,T.getLineMaxColumn(b.endLineNumber)),N)return new D.e(b,se+l.normalizeIndentation(U.afterEnter),!0);{let Y=0;return B<=xe+1&&(l.insertSpaces||(q=Math.ceil(q/l.indentSize)),Y=Math.min(q+1-l.normalizeIndentation(U.afterEnter).length-1,0)),new D.d(b,se+l.normalizeIndentation(U.afterEnter),0,Y,!0)}}}return P._typeCommand(b,` +`+l.normalizeIndentation(ie),N)}static _isAutoIndentType(l,T,N){if(l.autoIndent<4)return!1;for(let b=0,g=N.length;b<g;b++)if(!T.isCheapToTokenize(N[b].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(l,T,N,b){let g=S.a.getIndentationAtPosition(T,N.startLineNumber,N.startColumn),j=S.a.getIndentActionForType(l.autoIndent,T,N,b,{shiftIndent:ie=>P.shiftIndent(l,ie),unshiftIndent:ie=>P.unshiftIndent(l,ie)});if(j===null)return null;if(j!==l.normalizeIndentation(g)){let ie=T.getLineFirstNonWhitespaceColumn(N.startLineNumber);return ie===0?P._typeCommand(new E.a(N.startLineNumber,0,N.endLineNumber,N.endColumn),l.normalizeIndentation(j)+b,!1):P._typeCommand(new E.a(N.startLineNumber,0,N.endLineNumber,N.endColumn),l.normalizeIndentation(j)+T.getLineContent(N.startLineNumber).substring(ie-1,N.startColumn-1)+b,!1)}return null}static _isAutoClosingOvertype(l,T,N,b,g){if(l.autoClosingOvertype==="never"||!l.autoClosingPairsClose2.has(g))return!1;for(let j=0,ie=N.length;j<ie;j++){let U=N[j];if(!U.isEmpty())return!1;let q=U.getPosition(),B=T.getLineContent(q.lineNumber);if(B.charAt(q.column-1)!==g)return!1;let se=Object(Q.g)(g);if((q.column>2?B.charCodeAt(q.column-2):0)===92&&se)return!1;if(l.autoClosingOvertype==="auto"){let ke=!1;for(let xe=0,Y=b.length;xe<Y;xe++){let Z=b[xe];if(q.lineNumber===Z.startLineNumber&&q.column===Z.startColumn){ke=!0;break}}if(!ke)return!1}}return!0}static _runAutoClosingOvertype(l,T,N,b,g){let j=[];for(let ie=0,U=b.length;ie<U;ie++){let q=b[ie].getPosition(),B=new E.a(q.lineNumber,q.column,q.lineNumber,q.column+1);j[ie]=new D.a(B,g)}return new Q.e(1,j,{shouldPushStackElementBefore:l!==1,shouldPushStackElementAfter:!1})}static _autoClosingPairIsSymmetric(l){let{open:T,close:N}=l;return T.indexOf(N)>=0||N.indexOf(T)>=0}static _isBeforeClosingBrace(l,T,N){let b=l.autoClosingPairsClose2.get(N);if(!b)return!1;let g=P._autoClosingPairIsSymmetric(T);for(let j of b){let ie=P._autoClosingPairIsSymmetric(j);if(g||!ie)return!0}return!1}static _findAutoClosingPairOpen(l,T,N,b){let g=l.autoClosingPairsOpen2.get(b);if(!g)return null;let j=null;for(let ie of g)if(j===null||ie.open.length>j.open.length){let U=!0;for(let q of N)if(T.getValueInRange(new E.a(q.lineNumber,q.column-ie.open.length+1,q.lineNumber,q.column))+b!==ie.open){U=!1;break}U&&(j=ie)}return j}static _isAutoClosingOpenCharType(l,T,N,b,g){let j=Object(Q.g)(b),ie=j?l.autoClosingQuotes:l.autoClosingBrackets;if(ie==="never")return null;let U=this._findAutoClosingPairOpen(l,T,N.map(B=>B.getPosition()),b);if(!U)return null;let q=j?l.shouldAutoCloseBefore.quote:l.shouldAutoCloseBefore.bracket;for(let B=0,se=N.length;B<se;B++){let ke=N[B];if(!ke.isEmpty())return null;let xe=ke.getPosition(),Y=T.getLineContent(xe.lineNumber);if(Y.length>xe.column-1){let he=Y.charAt(xe.column-1);if(!P._isBeforeClosingBrace(l,U,he)&&!q(he))return null}if(!T.isCheapToTokenize(xe.lineNumber))return null;if(U.open.length===1&&j&&ie!=="always"){let he=Object(y.a)(l.wordSeparators);if(g&&xe.column>1&&he.get(Y.charCodeAt(xe.column-2))===0||!g&&xe.column>2&&he.get(Y.charCodeAt(xe.column-3))===0)return null}T.forceTokenization(xe.lineNumber);let Z=T.getLineTokens(xe.lineNumber),te=!1;try{te=S.a.shouldAutoClosePair(U,Z,g?xe.column:xe.column-1)}catch(he){Object(h.e)(he)}if(!te)return null}return U}static _runAutoClosingOpenCharType(l,T,N,b,g,j,ie){let U=[];for(let q=0,B=b.length;q<B;q++){let se=b[q];U[q]=new V(se,g,j,ie.close)}return new Q.e(1,U,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(l,T){return Object(Q.g)(T)?l.autoSurround==="quotes"||l.autoSurround==="languageDefined":l.autoSurround==="brackets"||l.autoSurround==="languageDefined"}static _isSurroundSelectionType(l,T,N,b){if(!P._shouldSurroundChar(l,b)||!l.surroundingPairs.hasOwnProperty(b))return!1;let g=Object(Q.g)(b);for(let j=0,ie=N.length;j<ie;j++){let U=N[j];if(U.isEmpty())return!1;let q=!0;for(let B=U.startLineNumber;B<=U.endLineNumber;B++){let se=T.getLineContent(B),ke=B===U.startLineNumber?U.startColumn-1:0,xe=B===U.endLineNumber?U.endColumn-1:se.length,Y=se.substring(ke,xe);if(/[^ \t]/.test(Y)){q=!1;break}}if(q)return!1;if(g&&U.startLineNumber===U.endLineNumber&&U.startColumn+1===U.endColumn){let B=T.getValueInRange(U);if(Object(Q.g)(B))return!1}}return!0}static _runSurroundSelectionType(l,T,N,b,g){let j=[];for(let ie=0,U=b.length;ie<U;ie++){let q=b[ie],B=T.surroundingPairs[g];j[ie]=new W(q,g,B)}return new Q.e(0,j,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(l,T,N){return!(N.length!==1||!T.isCheapToTokenize(N[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(l,T,N,b,g){if(!T.electricChars.hasOwnProperty(g)||!b.isEmpty())return null;let j=b.getPosition();N.forceTokenization(j.lineNumber);let ie,U=N.getLineTokens(j.lineNumber);try{ie=S.a.onElectricCharacter(g,U,j.column)}catch(q){return Object(h.e)(q),null}if(!ie)return null;if(ie.matchOpenBracket){let q=(U.getLineContent()+g).lastIndexOf(ie.matchOpenBracket)+1,B=N.findMatchingBracketUp(ie.matchOpenBracket,{lineNumber:j.lineNumber,column:q});if(B){if(B.startLineNumber===j.lineNumber)return null;let se=N.getLineContent(B.startLineNumber),ke=f.z(se),xe=T.normalizeIndentation(ke),Y=N.getLineContent(j.lineNumber),Z=N.getLineFirstNonWhitespaceColumn(j.lineNumber)||j.column,te=xe+Y.substring(Z-1,j.column-1)+g,he=new E.a(j.lineNumber,1,j.lineNumber,j.column),Ce=new D.a(he,te);return new Q.e(1,[Ce],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(l,T,N,b,g,j){if(!b||ge.a.selectionsArrEqual(b,g))return null;let ie=null;for(let q of g){if(!q.isEmpty())return null;let B=q.getPosition(),se=N.getValueInRange(new E.a(B.lineNumber,B.column-1,B.lineNumber,B.column));if(ie===null)ie=se;else if(ie!==se)return null}if(!ie)return null;if(this._isAutoClosingOvertype(T,N,g,j,ie)){let q=g.map(B=>new D.a(new E.a(B.positionLineNumber,B.positionColumn,B.positionLineNumber,B.positionColumn+1),"",!1));return new Q.e(1,q,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}let U=this._isAutoClosingOpenCharType(T,N,g,ie,!1);return U?this._runAutoClosingOpenCharType(l,T,N,g,ie,!1,U):null}static typeWithInterceptors(l,T,N,b,g,j,ie){if(!l&&ie===` +`){let B=[];for(let se=0,ke=g.length;se<ke;se++)B[se]=P._enter(N,b,!1,g[se]);return new Q.e(1,B,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!l&&this._isAutoIndentType(N,b,g)){let B=[],se=!1;for(let ke=0,xe=g.length;ke<xe;ke++)if(B[ke]=this._runAutoIndentType(N,b,g[ke],ie),!B[ke]){se=!0;break}if(!se)return new Q.e(1,B,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!l&&this._isAutoClosingOvertype(N,b,g,j,ie))return this._runAutoClosingOvertype(T,N,b,g,ie);if(!l){let B=this._isAutoClosingOpenCharType(N,b,g,ie,!0);if(B)return this._runAutoClosingOpenCharType(T,N,b,g,ie,!0,B)}if(this._isSurroundSelectionType(N,b,g,ie))return this._runSurroundSelectionType(T,N,b,g,ie);if(!l&&this._isTypeInterceptorElectricChar(N,b,g)){let B=this._typeInterceptorElectricChar(T,N,b,g[0],ie);if(B)return B}let U=[];for(let B=0,se=g.length;B<se;B++)U[B]=new D.a(g[B],ie);let q=T!==1;return ie===" "&&(q=!0),new Q.e(1,U,{shouldPushStackElementBefore:q,shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(l,T,N,b,g){let j=[];for(let ie=0,U=b.length;ie<U;ie++)j[ie]=new D.a(b[ie],g);return new Q.e(1,j,{shouldPushStackElementBefore:l!==1,shouldPushStackElementAfter:!1})}static lineInsertBefore(l,T,N){if(T===null||N===null)return[];let b=[];for(let g=0,j=N.length;g<j;g++){let ie=N[g].positionLineNumber;if(ie===1)b[g]=new D.e(new E.a(1,1,1,1),` +`);else{ie--;let U=T.getLineMaxColumn(ie);b[g]=this._enter(l,T,!1,new E.a(ie,U,ie,U))}}return b}static lineInsertAfter(l,T,N){if(T===null||N===null)return[];let b=[];for(let g=0,j=N.length;g<j;g++){let ie=N[g].positionLineNumber,U=T.getLineMaxColumn(ie);b[g]=this._enter(l,T,!1,new E.a(ie,U,ie,U))}return b}static lineBreakInsert(l,T,N){let b=[];for(let g=0,j=N.length;g<j;g++)b[g]=this._enter(l,T,!0,N[g]);return b}}class V extends D.d{constructor(l,T,N,b){super(l,(N?T:"")+b,0,-b.length),this._openCharacter=T,this._closeCharacter=b,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(l,T){let N=T.getInverseEditOperations()[0].range;return this.closeCharacterRange=new E.a(N.startLineNumber,N.endColumn-this._closeCharacter.length,N.endLineNumber,N.endColumn),this.enclosingRange=new E.a(N.startLineNumber,N.endColumn-this._openCharacter.length-this._closeCharacter.length,N.endLineNumber,N.endColumn),super.computeCursorState(l,T)}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return H}),o.d(w,"a",function(){return E});var h=o(8),f=o(9),D=o(3);class H{constructor(W,Q,y,C,S){this.value=W,this.selectionStart=Q,this.selectionEnd=y,this.selectionStartPosition=C,this.selectionEndPosition=S}toString(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(W){return new H(W.getValue(),W.getSelectionStart(),W.getSelectionEnd(),null,null)}collapseSelection(){return new H(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(W,Q,y){Q.setValue(W,this.value),y&&Q.setSelectionRange(W,this.selectionStart,this.selectionEnd)}deduceEditorPosition(W){if(W<=this.selectionStart){let C=this.value.substring(W,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,C,-1)}if(W>=this.selectionEnd){let C=this.value.substring(this.selectionEnd,W);return this._finishDeduceEditorPosition(this.selectionEndPosition,C,1)}let Q=this.value.substring(this.selectionStart,W);if(Q.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,Q,1);let y=this.value.substring(W,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,y,-1)}_finishDeduceEditorPosition(W,Q,y){let C=0,S=-1;for(;(S=Q.indexOf(` +`,S+1))!==-1;)C++;return[W,y*Q.length,C]}static selectedText(W){return new H(W,0,W.length,null,null)}static deduceInput(W,Q,y){if(!W)return{text:"",replaceCharCnt:0};let C=W.value,S=W.selectionStart,P=W.selectionEnd,V=Q.value,k=Q.selectionStart,l=Q.selectionEnd,T=C.substring(P),N=V.substring(l),b=h.e(T,N);V=V.substring(0,V.length-b),C=C.substring(0,C.length-b);let g=C.substring(0,S),j=V.substring(0,k),ie=h.d(g,j);if(V=V.substring(ie),C=C.substring(ie),k-=ie,S-=ie,l-=ie,P-=ie,y&&k===l&&C.length>0){let U=null;if(k===V.length?h.S(V,C)&&(U=V.substring(C.length)):h.s(V,C)&&(U=V.substring(0,V.length-C.length)),U!==null&&U.length>0&&(/\uFE0F/.test(U)||h.k(U)))return{text:U,replaceCharCnt:0}}return k===l?C===V&&S===0&&P===C.length&&k===V.length&&V.indexOf(` +`)===-1&&h.l(V)?{text:"",replaceCharCnt:0}:{text:V,replaceCharCnt:g.length-ie}:{text:V,replaceCharCnt:P-S}}}H.EMPTY=new H("",0,0,null,null);class E{static _getPageOfLine(W,Q){return Math.floor((W-1)/Q)}static _getRangeForPage(W,Q){let y=W*Q,C=y+1,S=y+Q;return new D.a(C,1,S+1,1)}static fromEditorSelection(W,Q,y,C,S){let P=E._getPageOfLine(y.startLineNumber,C),V=E._getRangeForPage(P,C),k=E._getPageOfLine(y.endLineNumber,C),l=E._getRangeForPage(k,C),T=V.intersectRanges(new D.a(1,1,y.startLineNumber,y.startColumn)),N=Q.getValueInRange(T,1),b=Q.getLineCount(),g=Q.getLineMaxColumn(b),j=l.intersectRanges(new D.a(y.endLineNumber,y.endColumn,b,g)),ie,U=Q.getValueInRange(j,1);if(P===k||P+1===k)ie=Q.getValueInRange(y,1);else{let q=V.intersectRanges(y),B=l.intersectRanges(y);ie=Q.getValueInRange(q,1)+String.fromCharCode(8230)+Q.getValueInRange(B,1)}if(S){let q=500;N.length>q&&(N=N.substring(N.length-q,N.length)),U.length>q&&(U=U.substring(0,q)),ie.length>2*q&&(ie=ie.substring(0,q)+String.fromCharCode(8230)+ie.substring(ie.length-q,ie.length))}return new H(N+ie+U,N.length,N.length+ie.length,new f.a(y.startLineNumber,y.startColumn),new f.a(y.endLineNumber,y.endColumn))}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o.d(w,"b",function(){return k}),o.d(w,"c",function(){return l});var h=o(0),f=o(6),D=o(56),H=o(14),E=o(188);let ge={Configuration:"base.contributions.configuration"},W={properties:{},patternProperties:{}},Q={properties:{},patternProperties:{}},y={properties:{},patternProperties:{}},C={properties:{},patternProperties:{}},S={properties:{},patternProperties:{}},P={properties:{},patternProperties:{}},V=D.a.as(E.a.JSONContribution),k=new RegExp("\\[.*\\]$");function l(b){return b.substring(1,b.length-1)}let T=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new f.a,this._onDidUpdateConfiguration=new f.a,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:h.a("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},V.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}registerConfiguration(b,g=!0){this.registerConfigurations([b],g)}registerConfigurations(b,g=!0){let j=[];b.forEach(ie=>{j.push(...this.validateAndRegisterProperties(ie,g)),this.configurationContributors.push(ie),this.registerJSONConfiguration(ie)}),V.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(j)}registerOverrideIdentifiers(b){for(let g of b)this.overrideIdentifiers.add(g);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(b,g=!0,j=3){j=H.l(b.scope)?j:b.scope;let ie=[],U=b.properties;if(U)for(let B in U){if(g&&N(B)){delete U[B];continue}let se=U[B];this.updatePropertyDefaultValue(B,se),k.test(B)?se.scope=void 0:se.scope=H.l(se.scope)?j:se.scope,!U[B].hasOwnProperty("included")||U[B].included?(this.configurationProperties[B]=U[B],!U[B].deprecationMessage&&U[B].markdownDeprecationMessage&&(U[B].deprecationMessage=U[B].markdownDeprecationMessage),ie.push(B)):(this.excludedConfigurationProperties[B]=U[B],delete U[B])}let q=b.allOf;if(q)for(let B of q)ie.push(...this.validateAndRegisterProperties(B,g,j));return ie}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(b){let g=j=>{let ie=j.properties;if(ie)for(let q in ie)this.updateSchema(q,ie[q]);let U=j.allOf;U&&U.forEach(g)};g(b)}updateSchema(b,g){switch(W.properties[b]=g,g.scope){case 1:Q.properties[b]=g;break;case 2:y.properties[b]=g;break;case 6:C.properties[b]=g;break;case 3:S.properties[b]=g;break;case 4:P.properties[b]=g;break;case 5:P.properties[b]=g,this.resourceLanguageSettingsSchema.properties[b]=g}}updateOverridePropertyPatternKey(){for(let b of this.overrideIdentifiers.values()){let g=`[${b}]`,j={type:"object",description:h.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:h.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:"vscode://schemas/settings/resourceLanguage"};this.updatePropertyDefaultValue(g,j),W.properties[g]=j,Q.properties[g]=j,y.properties[g]=j,C.properties[g]=j,S.properties[g]=j,P.properties[g]=j}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(b,g){let j=this.defaultValues[b];H.k(j)&&(j=g.default),H.k(j)&&(j=function(ie){switch(Array.isArray(ie)?ie[0]:ie){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(g.type)),g.default=j}};function N(b){return k.test(b)?h.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",b):T.getConfigurationProperties()[b]!==void 0?h.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",b):null}D.a.add(ge.Configuration,T)},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o.d(w,"b",function(){return W});var h=o(8),f=o(22),D=o(117),H=o(9),E=o(3);class ge{static _createWord(C,S,P,V,k){return{start:V,end:k,wordType:S,nextCharClass:P}}static _findPreviousWordOnLine(C,S,P){let V=S.getLineContent(P.lineNumber);return this._doFindPreviousWordOnLine(V,C,P)}static _doFindPreviousWordOnLine(C,S,P){let V=0;for(let k=P.column-2;k>=0;k--){let l=C.charCodeAt(k),T=S.get(l);if(T===0){if(V===2)return this._createWord(C,V,T,k+1,this._findEndOfWord(C,S,V,k+1));V=1}else if(T===2){if(V===1)return this._createWord(C,V,T,k+1,this._findEndOfWord(C,S,V,k+1));V=2}else if(T===1&&V!==0)return this._createWord(C,V,T,k+1,this._findEndOfWord(C,S,V,k+1))}return V!==0?this._createWord(C,V,1,0,this._findEndOfWord(C,S,V,0)):null}static _findEndOfWord(C,S,P,V){let k=C.length;for(let l=V;l<k;l++){let T=C.charCodeAt(l),N=S.get(T);if(N===1||P===1&&N===2||P===2&&N===0)return l}return k}static _findNextWordOnLine(C,S,P){let V=S.getLineContent(P.lineNumber);return this._doFindNextWordOnLine(V,C,P)}static _doFindNextWordOnLine(C,S,P){let V=0,k=C.length;for(let l=P.column-1;l<k;l++){let T=C.charCodeAt(l),N=S.get(T);if(N===0){if(V===2)return this._createWord(C,V,N,this._findStartOfWord(C,S,V,l-1),l);V=1}else if(N===2){if(V===1)return this._createWord(C,V,N,this._findStartOfWord(C,S,V,l-1),l);V=2}else if(N===1&&V!==0)return this._createWord(C,V,N,this._findStartOfWord(C,S,V,l-1),l)}return V!==0?this._createWord(C,V,1,this._findStartOfWord(C,S,V,k-1),k):null}static _findStartOfWord(C,S,P,V){for(let k=V;k>=0;k--){let l=C.charCodeAt(k),T=S.get(l);if(T===1||P===1&&T===2||P===2&&T===0)return k+1}return 0}static moveWordLeft(C,S,P,V){let k=P.lineNumber,l=P.column;l===1&&k>1&&(k-=1,l=S.getLineMaxColumn(k));let T=ge._findPreviousWordOnLine(C,S,new H.a(k,l));if(V===0)return new H.a(k,T?T.start+1:1);if(V===1)return T&&T.wordType===2&&T.end-T.start==1&&T.nextCharClass===0&&(T=ge._findPreviousWordOnLine(C,S,new H.a(k,T.start+1))),new H.a(k,T?T.start+1:1);if(V===3){for(;T&&T.wordType===2;)T=ge._findPreviousWordOnLine(C,S,new H.a(k,T.start+1));return new H.a(k,T?T.start+1:1)}return T&&l<=T.end+1&&(T=ge._findPreviousWordOnLine(C,S,new H.a(k,T.start+1))),new H.a(k,T?T.end+1:1)}static _moveWordPartLeft(C,S){let P=S.lineNumber,V=C.getLineMaxColumn(P);if(S.column===1)return P>1?new H.a(P-1,C.getLineMaxColumn(P-1)):S;let k=C.getLineContent(P);for(let l=S.column-1;l>1;l--){let T=k.charCodeAt(l-2),N=k.charCodeAt(l-1);if(T===95&&N!==95)return new H.a(P,l);if(h.H(T)&&h.I(N))return new H.a(P,l);if(h.I(T)&&h.I(N)&&l+1<V){let b=k.charCodeAt(l);if(h.H(b))return new H.a(P,l)}}return new H.a(P,1)}static moveWordRight(C,S,P,V){let k=P.lineNumber,l=P.column,T=!1;l===S.getLineMaxColumn(k)&&k<S.getLineCount()&&(T=!0,k+=1,l=1);let N=ge._findNextWordOnLine(C,S,new H.a(k,l));if(V===2)N&&N.wordType===2&&N.end-N.start==1&&N.nextCharClass===0&&(N=ge._findNextWordOnLine(C,S,new H.a(k,N.end+1))),l=N?N.end+1:S.getLineMaxColumn(k);else if(V===3){for(T&&(l=0);N&&(N.wordType===2||N.start+1<=l);)N=ge._findNextWordOnLine(C,S,new H.a(k,N.end+1));l=N?N.start+1:S.getLineMaxColumn(k)}else N&&!T&&l>=N.start+1&&(N=ge._findNextWordOnLine(C,S,new H.a(k,N.end+1))),l=N?N.start+1:S.getLineMaxColumn(k);return new H.a(k,l)}static _moveWordPartRight(C,S){let P=S.lineNumber,V=C.getLineMaxColumn(P);if(S.column===V)return P<C.getLineCount()?new H.a(P+1,1):S;let k=C.getLineContent(P);for(let l=S.column+1;l<V;l++){let T=k.charCodeAt(l-2),N=k.charCodeAt(l-1);if(T!==95&&N===95)return new H.a(P,l);if(h.H(T)&&h.I(N))return new H.a(P,l);if(h.I(T)&&h.I(N)&&l+1<V){let b=k.charCodeAt(l);if(h.H(b))return new H.a(P,l)}}return new H.a(P,V)}static _deleteWordLeftWhitespace(C,S){let P=C.getLineContent(S.lineNumber),V=S.column-2,k=h.J(P,V);return k+1<V?new E.a(S.lineNumber,k+2,S.lineNumber,S.column):null}static deleteWordLeft(C,S,P,V,k){if(!P.isEmpty())return P;let l=new H.a(P.positionLineNumber,P.positionColumn),T=l.lineNumber,N=l.column;if(T===1&&N===1)return null;if(V){let g=this._deleteWordLeftWhitespace(S,l);if(g)return g}let b=ge._findPreviousWordOnLine(C,S,l);return k===0?b?N=b.start+1:N>1?N=1:(T--,N=S.getLineMaxColumn(T)):(b&&N<=b.end+1&&(b=ge._findPreviousWordOnLine(C,S,new H.a(T,b.start+1))),b?N=b.end+1:N>1?N=1:(T--,N=S.getLineMaxColumn(T))),new E.a(T,N,l.lineNumber,l.column)}static _deleteWordPartLeft(C,S){if(!S.isEmpty())return S;let P=S.getPosition(),V=ge._moveWordPartLeft(C,P);return new E.a(P.lineNumber,P.column,V.lineNumber,V.column)}static _findFirstNonWhitespaceChar(C,S){let P=C.length;for(let V=S;V<P;V++){let k=C.charAt(V);if(k!==" "&&k!==" ")return V}return P}static _deleteWordRightWhitespace(C,S){let P=C.getLineContent(S.lineNumber),V=S.column-1,k=this._findFirstNonWhitespaceChar(P,V);return V+1<k?new E.a(S.lineNumber,S.column,S.lineNumber,k+1):null}static deleteWordRight(C,S,P,V,k){if(!P.isEmpty())return P;let l=new H.a(P.positionLineNumber,P.positionColumn),T=l.lineNumber,N=l.column,b=S.getLineCount(),g=S.getLineMaxColumn(T);if(T===b&&N===g)return null;if(V){let ie=this._deleteWordRightWhitespace(S,l);if(ie)return ie}let j=ge._findNextWordOnLine(C,S,l);return k===2?j?N=j.end+1:N<g||T===b?N=g:(T++,j=ge._findNextWordOnLine(C,S,new H.a(T,1)),N=j?j.start+1:S.getLineMaxColumn(T)):(j&&N>=j.start+1&&(j=ge._findNextWordOnLine(C,S,new H.a(T,j.end+1))),j?N=j.start+1:N<g||T===b?N=g:(T++,j=ge._findNextWordOnLine(C,S,new H.a(T,1)),N=j?j.start+1:S.getLineMaxColumn(T))),new E.a(T,N,l.lineNumber,l.column)}static _deleteWordPartRight(C,S){if(!S.isEmpty())return S;let P=S.getPosition(),V=ge._moveWordPartRight(C,P);return new E.a(P.lineNumber,P.column,V.lineNumber,V.column)}static _createWordAtPosition(C,S,P){let V=new E.a(S,P.start+1,S,P.end+1);return{word:C.getValueInRange(V),startColumn:V.startColumn,endColumn:V.endColumn}}static getWordAtPosition(C,S,P){let V=Object(D.a)(S),k=ge._findPreviousWordOnLine(V,C,P);if(k&&k.wordType===1&&k.start<=P.column-1&&P.column-1<=k.end)return ge._createWordAtPosition(C,P.lineNumber,k);let l=ge._findNextWordOnLine(V,C,P);return l&&l.wordType===1&&l.start<=P.column-1&&P.column-1<=l.end?ge._createWordAtPosition(C,P.lineNumber,l):null}static word(C,S,P,V,k){let l=Object(D.a)(C.wordSeparators),T,N,b=ge._findPreviousWordOnLine(l,S,k),g=ge._findNextWordOnLine(l,S,k);if(!V){let U,q;return b&&b.wordType===1&&b.start<=k.column-1&&k.column-1<=b.end?(U=b.start+1,q=b.end+1):g&&g.wordType===1&&g.start<=k.column-1&&k.column-1<=g.end?(U=g.start+1,q=g.end+1):(U=b?b.end+1:1,q=g?g.start+1:S.getLineMaxColumn(k.lineNumber)),new f.f(new E.a(k.lineNumber,U,k.lineNumber,q),0,new H.a(k.lineNumber,q),0)}b&&b.wordType===1&&b.start<k.column-1&&k.column-1<b.end?(T=b.start+1,N=b.end+1):g&&g.wordType===1&&g.start<k.column-1&&k.column-1<g.end?(T=g.start+1,N=g.end+1):(T=k.column,N=k.column);let j,ie=k.lineNumber;if(P.selectionStart.containsPosition(k))j=P.selectionStart.endColumn;else if(k.isBeforeOrEqual(P.selectionStart.getStartPosition())){j=T;let U=new H.a(ie,j);P.selectionStart.containsPosition(U)&&(j=P.selectionStart.endColumn)}else{j=N;let U=new H.a(ie,j);P.selectionStart.containsPosition(U)&&(j=P.selectionStart.startColumn)}return P.move(!0,ie,j,0)}}class W extends ge{static deleteWordPartLeft(C,S,P,V){let k=Q([ge.deleteWordLeft(C,S,P,V,0),ge.deleteWordLeft(C,S,P,V,2),ge._deleteWordPartLeft(S,P)]);return k.sort(E.a.compareRangesUsingEnds),k[2]}static deleteWordPartRight(C,S,P,V){let k=Q([ge.deleteWordRight(C,S,P,V,0),ge.deleteWordRight(C,S,P,V,2),ge._deleteWordPartRight(S,P)]);return k.sort(E.a.compareRangesUsingStarts),k[0]}static moveWordPartLeft(C,S,P){let V=Q([ge.moveWordLeft(C,S,P,0),ge.moveWordLeft(C,S,P,2),ge._moveWordPartLeft(S,P)]);return V.sort(H.a.compare),V[2]}static moveWordPartRight(C,S,P){let V=Q([ge.moveWordRight(C,S,P,0),ge.moveWordRight(C,S,P,2),ge._moveWordPartRight(S,P)]);return V.sort(H.a.compare),V[0]}}function Q(y){return y.filter(C=>Boolean(C))}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Q});var h=o(8),f=o(22),D=o(3),H=o(21),E=o(39);let ge=Object.create(null);function W(y,C){ge[y]||(ge[y]=["",y]);let S=ge[y];for(let P=S.length;P<=C;P++)S[P]=S[P-1]+y;return S[C]}class Q{constructor(C,S){this._opts=S,this._selection=C,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(C,S,P,V,k){let l=f.a.visibleColumnFromColumn(C,S,P);if(k){let T=W(" ",V);return W(T,f.a.prevIndentTabStop(l,V)/V)}return W(" ",f.a.prevRenderTabStop(l,P)/P)}static shiftIndent(C,S,P,V,k){let l=f.a.visibleColumnFromColumn(C,S,P);if(k){let T=W(" ",V);return W(T,f.a.nextIndentTabStop(l,V)/V)}return W(" ",f.a.nextRenderTabStop(l,P)/P)}_addEditOperation(C,S,P){this._useLastEditRangeForCursorEndPosition?C.addTrackedEditOperation(S,P):C.addEditOperation(S,P)}getEditOperations(C,S){let P=this._selection.startLineNumber,V=this._selection.endLineNumber;this._selection.endColumn===1&&P!==V&&(V-=1);let{tabSize:k,indentSize:l,insertSpaces:T}=this._opts,N=P===V;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(C.getLineContent(P))&&(this._useLastEditRangeForCursorEndPosition=!0);let b=0,g=0;for(let j=P;j<=V;j++,b=g){g=0;let ie,U=C.getLineContent(j),q=h.w(U);if((!this._opts.isUnshift||U.length!==0&&q!==0)&&(N||this._opts.isUnshift||U.length!==0)){if(q===-1&&(q=U.length),j>1&&f.a.visibleColumnFromColumn(U,q+1,k)%l!=0&&C.isCheapToTokenize(j-1)){let B=E.a.getEnterAction(this._opts.autoIndent,C,new D.a(j-1,C.getLineMaxColumn(j-1),j-1,C.getLineMaxColumn(j-1)));if(B){if(g=b,B.appendText)for(let se=0,ke=B.appendText.length;se<ke&&g<l&&B.appendText.charCodeAt(se)===32;se++)g++;B.removeText&&(g=Math.max(0,g-B.removeText));for(let se=0;se<g&&q!==0&&U.charCodeAt(q-1)===32;se++)q--}}this._opts.isUnshift&&q===0||(ie=this._opts.isUnshift?Q.unshiftIndent(U,q+1,k,l,T):Q.shiftIndent(U,q+1,k,l,T),this._addEditOperation(S,new D.a(j,1,j,q+1),ie),j!==P||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=q+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&C.getLineLength(P)===0&&(this._useLastEditRangeForCursorEndPosition=!0);let b=T?W(" ",l):" ";for(let g=P;g<=V;g++){let j=C.getLineContent(g),ie=h.w(j);if((!this._opts.isUnshift||j.length!==0&&ie!==0)&&(N||this._opts.isUnshift||j.length!==0)&&(ie===-1&&(ie=j.length),!this._opts.isUnshift||ie!==0))if(this._opts.isUnshift){ie=Math.min(ie,l);for(let U=0;U<ie;U++)if(j.charCodeAt(U)===9){ie=U+1;break}this._addEditOperation(S,new D.a(g,1,g,ie+1),"")}else this._addEditOperation(S,new D.a(g,1,g,1),b),g!==P||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn===1)}}this._selectionId=S.trackSelection(this._selection)}computeCursorState(C,S){if(this._useLastEditRangeForCursorEndPosition){let V=S.getInverseEditOperations()[0];return new H.a(V.range.endLineNumber,V.range.endColumn,V.range.endLineNumber,V.range.endColumn)}let P=S.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){let V=this._selection.startColumn;return P.startColumn<=V?P:P.getDirection()===0?new H.a(P.startLineNumber,V,P.endLineNumber,P.endColumn):new H.a(P.endLineNumber,P.endColumn,P.startLineNumber,V)}return P}}},,function(Ie,w,o){"use strict";o.d(w,"c",function(){return E}),o.d(w,"d",function(){return ge}),o.d(w,"a",function(){return W}),o.d(w,"b",function(){return Q});var h=o(8),f=o(11),D=o(72);let H;function E(){return H||(H=new TextDecoder(f.e()?"UTF-16LE":"UTF-16BE")),H}let ge=typeof TextDecoder!="undefined",W,Q;ge?(W=S=>new y(S),Q=function(S,P,V){let k=new Uint16Array(S.buffer,P,V);return E().decode(k)}):(W=S=>new C,Q=function(S,P,V){let k=[],l=0;for(let T=0;T<V;T++){let N=D.b(S,P);P+=2,k[l++]=String.fromCharCode(N)}return k.join("")});class y{constructor(P){this._capacity=0|P,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return this._completedStrings!==null?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(this._bufferLength===0)return"";let P=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return E().decode(P)}_flushBuffer(){let P=this._buildBuffer();this._bufferLength=0,this._completedStrings===null?this._completedStrings=[P]:this._completedStrings[this._completedStrings.length]=P}write1(P){let V=this._capacity-this._bufferLength;V<=1&&(V===0||h.F(P))&&this._flushBuffer(),this._buffer[this._bufferLength++]=P}appendASCII(P){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=P}appendASCIIString(P){let V=P.length;if(this._bufferLength+V>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=P);for(let k=0;k<V;k++)this._buffer[this._bufferLength++]=P.charCodeAt(k)}}class C{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(P){this._pieces[this._piecesLen++]=String.fromCharCode(P)}appendASCII(P){this._pieces[this._piecesLen++]=String.fromCharCode(P)}appendASCIIString(P){this._pieces[this._piecesLen++]=P}}},function(Ie,w,o){"use strict";function h(f){let D=this,H,E=!1;return function(){return E||(E=!0,H=f.apply(D,arguments)),H}}o.d(w,"a",function(){return h})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o.d(w,"b",function(){return E});var h,f=o(56),D=o(15),H=o(2);(function(ge){ge[ge.PRESERVE=0]="PRESERVE",ge[ge.LAST=1]="LAST"})(h||(h={}));let E={Quickaccess:"workbench.contributions.quickaccess"};f.a.add(E.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(ge){return ge.prefix.length===0?this.defaultProvider=ge:this.providers.push(ge),this.providers.sort((W,Q)=>Q.prefix.length-W.prefix.length),Object(H.h)(()=>{this.providers.splice(this.providers.indexOf(ge),1),this.defaultProvider===ge&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(D.d)([this.defaultProvider,...this.providers])}getQuickAccessProvider(ge){return ge&&this.providers.find(W=>ge.startsWith(W.prefix))||void 0||this.defaultProvider}})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(6);let f=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new h.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(D){D=Math.min(Math.max(-5,D),20),this._zoomLevel!==D&&(this._zoomLevel=D,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return xn}),o.d(w,"b",function(){return un}),o.d(w,"e",function(){return Mn}),o.d(w,"d",function(){return _e}),o.d(w,"c",function(){return jt});var h=o(1),f=(o(197),o(2)),D=o(15),H=o(113),E=o(6),ge=o(25);class W{constructor(X,ae){this.renderer=X,this.modelProvider=ae}get templateId(){return this.renderer.templateId}renderTemplate(X){return{data:this.renderer.renderTemplate(X),disposable:f.a.None}}renderElement(X,ae,Ge,lt){if(Ge.disposable&&Ge.disposable.dispose(),!Ge.data)return;let Dt=this.modelProvider();if(Dt.isResolved(X))return this.renderer.renderElement(Dt.get(X),X,Ge.data,lt);let Gt=new ge.b,ti=Dt.resolve(X,Gt.token);Ge.disposable={dispose:()=>Gt.cancel()},this.renderer.renderPlaceholder(X,Ge.data),ti.then(ye=>this.renderer.renderElement(ye,X,Ge.data,lt))}disposeTemplate(X){X.disposable&&(X.disposable.dispose(),X.disposable=void 0),X.data&&(this.renderer.disposeTemplate(X.data),X.data=void 0)}}class Q{constructor(X,ae){this.modelProvider=X,this.accessibilityProvider=ae}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(X){let ae=this.modelProvider();return ae.isResolved(X)?this.accessibilityProvider.getAriaLabel(ae.get(X)):null}}var y=o(0),C=o(54),S=o(128),P=o(10),V=o(18),k=o(50),l=o(56),T=o(93),N=o(19),b,g=o(37),j=(o(264),o(67));(function(ft){ft[ft.Unknown=0]="Unknown",ft[ft.Twistie=1]="Twistie",ft[ft.Element=2]="Element"})(b||(b={}));class ie extends Error{constructor(X,ae){super(`TreeError [${X}] ${ae}`)}}class U{constructor(X){this.fn=X,this._map=new WeakMap}map(X){let ae=this._map.get(X);return ae||(ae=this.fn(X),this._map.set(X,ae)),ae}}var q=o(125),B=o(162),se=o(44),ke=o(71);function xe(ft){return typeof ft=="object"&&"visibility"in ft&&"data"in ft}function Y(ft){switch(ft){case!0:return 1;case!1:return 0;default:return ft}}function Z(ft){return typeof ft.collapsible=="boolean"}class te{constructor(X,ae,Ge,lt={}){this.user=X,this.list=ae,this.rootRef=[],this.eventBufferer=new E.c,this._onDidChangeCollapseState=new E.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new E.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new E.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=lt.collapseByDefault!==void 0&<.collapseByDefault,this.filter=lt.filter,this.autoExpandSingleChildren=lt.autoExpandSingleChildren!==void 0&<.autoExpandSingleChildren,this.root={parent:void 0,element:Ge,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(X,ae,Ge=g.a.empty(),lt,Dt){if(X.length===0)throw new ie(this.user,"Invalid tree location");let{parentNode:Gt,listIndex:ti,revealed:ye,visible:le}=this.getParentNodeWithListIndex(X),ue=[],qe=g.a.map(Ge,fi=>this.createTreeNode(fi,Gt,Gt.visible?1:0,ye,ue,lt)),Ze=X[X.length-1],tt=0;for(let fi=Ze;fi>=0&&fi<Gt.children.length;fi--){let ui=Gt.children[fi];if(ui.visible){tt=ui.visibleChildIndex;break}}let rt=[],zt=0,Jt=0;for(let fi of qe)rt.push(fi),Jt+=fi.renderNodeCount,fi.visible&&(fi.visibleChildIndex=tt+zt++);let xi=Gt.children.splice(Ze,ae,...rt),Ei=0;for(let fi of xi)fi.visible&&Ei++;if(Ei!==0)for(let fi=Ze+rt.length;fi<Gt.children.length;fi++){let ui=Gt.children[fi];ui.visible&&(ui.visibleChildIndex-=Ei)}if(Gt.visibleChildrenCount+=zt-Ei,ye&&le){let fi=xi.reduce((ui,Te)=>ui+(Te.visible?Te.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(Gt,Jt-fi),this.list.splice(ti,fi,ue)}if(xi.length>0&&Dt){let fi=ui=>{Dt(ui),ui.children.forEach(fi)};xi.forEach(fi)}this._onDidSplice.fire({insertedNodes:rt,deletedNodes:xi});let ai=Gt;for(;ai;){if(ai.visibility===2){this.refilter();break}ai=ai.parent}}rerender(X){if(X.length===0)throw new ie(this.user,"Invalid tree location");let{node:ae,listIndex:Ge,revealed:lt}=this.getTreeNodeWithListIndex(X);ae.visible&<&&this.list.splice(Ge,1,[ae])}has(X){return this.hasTreeNode(X)}getListIndex(X){let{listIndex:ae,visible:Ge,revealed:lt}=this.getTreeNodeWithListIndex(X);return Ge&<?ae:-1}getListRenderCount(X){return this.getTreeNode(X).renderNodeCount}isCollapsible(X){return this.getTreeNode(X).collapsible}setCollapsible(X,ae){let Ge=this.getTreeNode(X);ae===void 0&&(ae=!Ge.collapsible);let lt={collapsible:ae};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(X,lt))}isCollapsed(X){return this.getTreeNode(X).collapsed}setCollapsed(X,ae,Ge){let lt=this.getTreeNode(X);ae===void 0&&(ae=!lt.collapsed);let Dt={collapsed:ae,recursive:Ge||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(X,Dt))}_setCollapseState(X,ae){let{node:Ge,listIndex:lt,revealed:Dt}=this.getTreeNodeWithListIndex(X),Gt=this._setListNodeCollapseState(Ge,lt,Dt,ae);if(Ge!==this.root&&this.autoExpandSingleChildren&&Gt&&!Z(ae)&&Ge.collapsible&&!Ge.collapsed&&!ae.recursive){let ti=-1;for(let ye=0;ye<Ge.children.length;ye++)if(Ge.children[ye].visible){if(ti>-1){ti=-1;break}ti=ye}ti>-1&&this._setCollapseState([...X,ti],ae)}return Gt}_setListNodeCollapseState(X,ae,Ge,lt){let Dt=this._setNodeCollapseState(X,lt,!1);if(!Ge||!X.visible||!Dt)return Dt;let Gt=X.renderNodeCount,ti=this.updateNodeAfterCollapseChange(X),ye=Gt-(ae===-1?0:1);return this.list.splice(ae+1,ye,ti.slice(1)),Dt}_setNodeCollapseState(X,ae,Ge){let lt;if(X===this.root?lt=!1:(Z(ae)?(lt=X.collapsible!==ae.collapsible,X.collapsible=ae.collapsible):X.collapsible?(lt=X.collapsed!==ae.collapsed,X.collapsed=ae.collapsed):lt=!1,lt&&this._onDidChangeCollapseState.fire({node:X,deep:Ge})),!Z(ae)&&ae.recursive)for(let Dt of X.children)lt=this._setNodeCollapseState(Dt,ae,!0)||lt;return lt}expandTo(X){this.eventBufferer.bufferEvents(()=>{let ae=this.getTreeNode(X);for(;ae.parent;)ae=ae.parent,X=X.slice(0,X.length-1),ae.collapsed&&this._setCollapseState(X,{collapsed:!1,recursive:!1})})}refilter(){let X=this.root.renderNodeCount,ae=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,X,ae)}createTreeNode(X,ae,Ge,lt,Dt,Gt){let ti={parent:ae,element:X.element,children:[],depth:ae.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof X.collapsible=="boolean"?X.collapsible:X.collapsed!==void 0,collapsed:X.collapsed===void 0?this.collapseByDefault:X.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},ye=this._filterNode(ti,Ge);ti.visibility=ye,lt&&Dt.push(ti);let le=X.children||g.a.empty(),ue=lt&&ye!==0&&!ti.collapsed,qe=g.a.map(le,rt=>this.createTreeNode(rt,ti,ye,ue,Dt,Gt)),Ze=0,tt=1;for(let rt of qe)ti.children.push(rt),tt+=rt.renderNodeCount,rt.visible&&(rt.visibleChildIndex=Ze++);return ti.collapsible=ti.collapsible||ti.children.length>0,ti.visibleChildrenCount=Ze,ti.visible=ye===2?Ze>0:ye===1,ti.visible?ti.collapsed||(ti.renderNodeCount=tt):(ti.renderNodeCount=0,lt&&Dt.pop()),Gt&&Gt(ti),ti}updateNodeAfterCollapseChange(X){let ae=X.renderNodeCount,Ge=[];return this._updateNodeAfterCollapseChange(X,Ge),this._updateAncestorsRenderNodeCount(X.parent,Ge.length-ae),Ge}_updateNodeAfterCollapseChange(X,ae){if(X.visible===!1)return 0;if(ae.push(X),X.renderNodeCount=1,!X.collapsed)for(let Ge of X.children)X.renderNodeCount+=this._updateNodeAfterCollapseChange(Ge,ae);return this._onDidChangeRenderNodeCount.fire(X),X.renderNodeCount}updateNodeAfterFilterChange(X){let ae=X.renderNodeCount,Ge=[];return this._updateNodeAfterFilterChange(X,X.visible?1:0,Ge),this._updateAncestorsRenderNodeCount(X.parent,Ge.length-ae),Ge}_updateNodeAfterFilterChange(X,ae,Ge,lt=!0){let Dt;if(X!==this.root){if(Dt=this._filterNode(X,ae),Dt===0)return X.visible=!1,X.renderNodeCount=0,!1;lt&&Ge.push(X)}let Gt=Ge.length;X.renderNodeCount=X===this.root?0:1;let ti=!1;if(X.collapsed&&Dt===0)X.visibleChildrenCount=0;else{let ye=0;for(let le of X.children)ti=this._updateNodeAfterFilterChange(le,Dt,Ge,lt&&!X.collapsed)||ti,le.visible&&(le.visibleChildIndex=ye++);X.visibleChildrenCount=ye}return X!==this.root&&(X.visible=Dt===2?ti:Dt===1),X.visible?X.collapsed||(X.renderNodeCount+=Ge.length-Gt):(X.renderNodeCount=0,lt&&Ge.pop()),this._onDidChangeRenderNodeCount.fire(X),X.visible}_updateAncestorsRenderNodeCount(X,ae){if(ae!==0)for(;X;)X.renderNodeCount+=ae,this._onDidChangeRenderNodeCount.fire(X),X=X.parent}_filterNode(X,ae){let Ge=this.filter?this.filter.filter(X.element,ae):1;return typeof Ge=="boolean"?(X.filterData=void 0,Ge?1:0):xe(Ge)?(X.filterData=Ge.data,Y(Ge.visibility)):(X.filterData=void 0,Y(Ge))}hasTreeNode(X,ae=this.root){if(!X||X.length===0)return!0;let[Ge,...lt]=X;return!(Ge<0||Ge>ae.children.length)&&this.hasTreeNode(lt,ae.children[Ge])}getTreeNode(X,ae=this.root){if(!X||X.length===0)return ae;let[Ge,...lt]=X;if(Ge<0||Ge>ae.children.length)throw new ie(this.user,"Invalid tree location");return this.getTreeNode(lt,ae.children[Ge])}getTreeNodeWithListIndex(X){if(X.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};let{parentNode:ae,listIndex:Ge,revealed:lt,visible:Dt}=this.getParentNodeWithListIndex(X),Gt=X[X.length-1];if(Gt<0||Gt>ae.children.length)throw new ie(this.user,"Invalid tree location");let ti=ae.children[Gt];return{node:ti,listIndex:Ge,revealed:lt,visible:Dt&&ti.visible}}getParentNodeWithListIndex(X,ae=this.root,Ge=0,lt=!0,Dt=!0){let[Gt,...ti]=X;if(Gt<0||Gt>ae.children.length)throw new ie(this.user,"Invalid tree location");for(let ye=0;ye<Gt;ye++)Ge+=ae.children[ye].renderNodeCount;return lt=lt&&!ae.collapsed,Dt=Dt&&ae.visible,ti.length===0?{parentNode:ae,listIndex:Ge,revealed:lt,visible:Dt}:this.getParentNodeWithListIndex(ti,ae.children[Gt],Ge+1,lt,Dt)}getNode(X=[]){return this.getTreeNode(X)}getNodeLocation(X){let ae=[],Ge=X;for(;Ge.parent;)ae.push(Ge.parent.children.indexOf(Ge)),Ge=Ge.parent;return ae.reverse()}getParentNodeLocation(X){return X.length===0?void 0:X.length===1?[]:Object(D.u)(X)[0]}}var he=o(20),Ce=o(11),Ae=o(118),L=o(189),nt=o(17);let ct=Object(nt.e)("tree-item-expanded",nt.a.chevronDown),Ye=Object(nt.e)("tree-filter-on-type-on",nt.a.listFilter),ht=Object(nt.e)("tree-filter-on-type-off",nt.a.listSelection),fe=Object(nt.e)("tree-filter-clear",nt.a.close),$=Object(nt.e)("tree-item-loading",nt.a.loading);class G extends B.a{constructor(X){super(X.elements.map(ae=>ae.element)),this.data=X}}function z(ft){return ft instanceof B.a?new G(ft):ft}class J{constructor(X,ae){this.modelProvider=X,this.dnd=ae,this.autoExpandDisposable=f.a.None}getDragURI(X){return this.dnd.getDragURI(X.element)}getDragLabel(X,ae){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(X.map(Ge=>Ge.element),ae)}onDragStart(X,ae){this.dnd.onDragStart&&this.dnd.onDragStart(z(X),ae)}onDragOver(X,ae,Ge,lt,Dt=!0){let Gt=this.dnd.onDragOver(z(X),ae&&ae.element,Ge,lt),ti=this.autoExpandNode!==ae;if(ti&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=ae),ae===void 0)return Gt;if(ti&&typeof Gt!="boolean"&&Gt.autoExpand&&(this.autoExpandDisposable=Object(he.g)(()=>{let Ze=this.modelProvider(),tt=Ze.getNodeLocation(ae);Ze.isCollapsed(tt)&&Ze.setCollapsed(tt,!1),this.autoExpandNode=void 0},500)),typeof Gt=="boolean"||!Gt.accept||Gt.bubble===void 0||Gt.feedback)return Dt?Gt:{accept:typeof Gt=="boolean"?Gt:Gt.accept,effect:typeof Gt=="boolean"?void 0:Gt.effect,feedback:[Ge]};if(Gt.bubble===1){let Ze=this.modelProvider(),tt=Ze.getNodeLocation(ae),rt=Ze.getParentNodeLocation(tt),zt=Ze.getNode(rt),Jt=rt&&Ze.getListIndex(rt);return this.onDragOver(X,zt,Jt,lt,!1)}let ye=this.modelProvider(),le=ye.getNodeLocation(ae),ue=ye.getListIndex(le),qe=ye.getListRenderCount(le);return Object.assign(Object.assign({},Gt),{feedback:Object(D.s)(ue,ue+qe)})}drop(X,ae,Ge,lt){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(z(X),ae&&ae.element,Ge,lt)}onDragEnd(X){this.dnd.onDragEnd&&this.dnd.onDragEnd(X)}}class Se{constructor(X){this.delegate=X}getHeight(X){return this.delegate.getHeight(X.element)}getTemplateId(X){return this.delegate.getTemplateId(X.element)}hasDynamicHeight(X){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(X.element)}setDynamicHeight(X,ae){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(X.element,ae)}}var A;(function(ft){ft.None="none",ft.OnHover="onHover",ft.Always="always"})(A||(A={}));class ee{constructor(X,ae=[]){this._elements=ae,this.onDidChange=E.b.forEach(X,Ge=>this._elements=Ge)}get elements(){return this._elements}}class de{constructor(X,ae,Ge,lt,Dt={}){this.renderer=X,this.modelProvider=ae,this.activeNodes=lt,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=de.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new L.a,this.activeIndentNodes=new Set,this.indentGuidesDisposable=f.a.None,this.disposables=new f.b,this.templateId=X.templateId,this.updateOptions(Dt),E.b.map(Ge,Gt=>Gt.node)(this.onDidChangeNodeTwistieState,this,this.disposables),X.onDidChangeTwistieState&&X.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(X={}){if(X.indent!==void 0&&(this.indent=Object(Ae.b)(X.indent,0,40)),X.renderIndentGuides!==void 0){let ae=X.renderIndentGuides!==A.None;if(ae!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=ae,this.indentGuidesDisposable.dispose(),ae)){let Ge=new f.b;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,Ge),this.indentGuidesDisposable=Ge,this._onDidChangeActiveNodes(this.activeNodes.elements)}}X.hideTwistiesOfChildlessElements!==void 0&&(this.hideTwistiesOfChildlessElements=X.hideTwistiesOfChildlessElements)}renderTemplate(X){let ae=Object(h.p)(X,Object(h.a)(".monaco-tl-row")),Ge=Object(h.p)(ae,Object(h.a)(".monaco-tl-indent")),lt=Object(h.p)(ae,Object(h.a)(".monaco-tl-twistie")),Dt=Object(h.p)(ae,Object(h.a)(".monaco-tl-contents")),Gt=this.renderer.renderTemplate(Dt);return{container:X,indent:Ge,twistie:lt,indentGuidesDisposable:f.a.None,templateData:Gt}}renderElement(X,ae,Ge,lt){typeof lt=="number"&&(this.renderedNodes.set(X,{templateData:Ge,height:lt}),this.renderedElements.set(X.element,X));let Dt=de.DefaultIndent+(X.depth-1)*this.indent;Ge.twistie.style.paddingLeft=Dt+"px",Ge.indent.style.width=Dt+this.indent-16+"px",this.renderTwistie(X,Ge),typeof lt=="number"&&this.renderIndentGuides(X,Ge),this.renderer.renderElement(X,ae,Ge.templateData,lt)}disposeElement(X,ae,Ge,lt){Ge.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(X,ae,Ge.templateData,lt),typeof lt=="number"&&(this.renderedNodes.delete(X),this.renderedElements.delete(X.element))}disposeTemplate(X){this.renderer.disposeTemplate(X.templateData)}onDidChangeTwistieState(X){let ae=this.renderedElements.get(X);ae&&this.onDidChangeNodeTwistieState(ae)}onDidChangeNodeTwistieState(X){let ae=this.renderedNodes.get(X);ae&&(this.renderTwistie(X,ae.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(X,ae.templateData))}renderTwistie(X,ae){this.renderer.renderTwistie&&this.renderer.renderTwistie(X.element,ae.twistie),X.collapsible&&(!this.hideTwistiesOfChildlessElements||X.visibleChildrenCount>0)?(Object(h.f)(ae.twistie,ct.classNames,"collapsible"),Object(h.ab)(ae.twistie,"collapsed",X.collapsed)):Object(h.R)(ae.twistie,ct.classNames,"collapsible","collapsed"),X.collapsible?ae.container.setAttribute("aria-expanded",String(!X.collapsed)):ae.container.removeAttribute("aria-expanded")}renderIndentGuides(X,ae){if(Object(h.s)(ae.indent),ae.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;let Ge=new f.b,lt=this.modelProvider(),Dt=X;for(;;){let Gt=lt.getNodeLocation(Dt),ti=lt.getParentNodeLocation(Gt);if(!ti)break;let ye=lt.getNode(ti),le=Object(h.a)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(ye)&&Object(h.e)(le,"active"),ae.indent.childElementCount===0?ae.indent.appendChild(le):ae.indent.insertBefore(le,ae.indent.firstElementChild),this.renderedIndentGuides.add(ye,le),Ge.add(Object(f.h)(()=>this.renderedIndentGuides.delete(ye,le))),Dt=ye}ae.indentGuidesDisposable=Ge}_onDidChangeActiveNodes(X){if(!this.shouldRenderIndentGuides)return;let ae=new Set,Ge=this.modelProvider();X.forEach(lt=>{let Dt=Ge.getNodeLocation(lt);try{let Gt=Ge.getParentNodeLocation(Dt);lt.collapsible&<.children.length>0&&!lt.collapsed?ae.add(lt):Gt&&ae.add(Ge.getNode(Gt))}catch(Gt){}}),this.activeIndentNodes.forEach(lt=>{ae.has(lt)||this.renderedIndentGuides.forEach(lt,Dt=>Object(h.Q)(Dt,"active"))}),ae.forEach(lt=>{this.activeIndentNodes.has(lt)||this.renderedIndentGuides.forEach(lt,Dt=>Object(h.e)(Dt,"active"))}),this.activeIndentNodes=ae}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(f.f)(this.disposables)}}de.DefaultIndent=8;class Oe{constructor(X,ae,Ge){this.tree=X,this.keyboardNavigationLabelProvider=ae,this._filter=Ge,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new f.b,X.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(X){this._pattern=X,this._lowercasePattern=X.toLowerCase()}filter(X,ae){if(this._filter){let Gt=this._filter.filter(X,ae);if(this.tree.options.simpleKeyboardNavigation)return Gt;let ti;if(ti=typeof Gt=="boolean"?Gt?1:0:xe(Gt)?Y(Gt.visibility):Gt,ti===0)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:ke.a.Default,visibility:!0};let Ge=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(X),lt=Ge&&Ge.toString();if(lt===void 0)return{data:ke.a.Default,visibility:!0};let Dt=Object(ke.d)(this._pattern,this._lowercasePattern,0,lt,lt.toLowerCase(),0,!0);return Dt?(this._matchCount++,{data:Dt,visibility:!0}):this.tree.options.filterOnType?2:{data:ke.a.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){Object(f.f)(this.disposables)}}class $e{constructor(X,ae,Ge,lt,Dt){this.tree=X,this.view=Ge,this.filter=lt,this.keyboardNavigationDelegate=Dt,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new E.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new E.a,this.enabledDisposables=new f.b,this.disposables=new f.b,this.domNode=Object(h.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(se.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(h.p)(Ge.getHTMLElement(),Object(h.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(h.p)(this.domNode,Object(h.a)("span.label"));let Gt=Object(h.p)(this.domNode,Object(h.a)(".controls"));this._filterOnType=!!X.options.filterOnType,this.filterOnTypeDomNode=Object(h.p)(Gt,Object(h.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),Object(se.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(h.p)(Gt,Object(h.a)("button.clear"+fe.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(y.a)("clear","Clear"),this.keyboardNavigationEventFilter=X.options.keyboardNavigationEventFilter,ae.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(X.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(X){X.simpleKeyboardNavigation?this.disable():this.enable(),X.filterOnType!==void 0&&(this._filterOnType=!!X.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),X.automaticKeyboardNavigation!==void 0&&(this.automaticKeyboardNavigation=X.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;let X=E.b.chain(Object(se.a)(this.view.getHTMLElement(),"keydown")).filter(Ge=>!Object(H.e)(Ge.target)||Ge.target===this.filterOnTypeDomNode).filter(Ge=>Ge.key!=="Dead"&&!/^Media/.test(Ge.key)).map(Ge=>new j.a(Ge)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(Ge=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(Ge)&&!(Ge.keyCode===18||Ge.keyCode===16||Ge.keyCode===15||Ge.keyCode===17)||(this.pattern.length>0||this.triggered)&&(Ge.keyCode===9||Ge.keyCode===1)&&!Ge.altKey&&!Ge.ctrlKey&&!Ge.metaKey||Ge.keyCode===1&&(Ce.f?Ge.altKey&&!Ge.metaKey:Ge.ctrlKey)&&!Ge.shiftKey).forEach(Ge=>{Ge.stopPropagation(),Ge.preventDefault()}).event,ae=Object(se.a)(this.clearDomNode,"click");E.b.chain(E.b.any(X,ae)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(X){typeof X=="string"?this.onInput(X):X instanceof MouseEvent||X.keyCode===9||X.keyCode===1&&(Ce.f?X.altKey:X.ctrlKey)?this.onInput(""):X.keyCode===1?this.onInput(this.pattern.length===0?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+X.browserEvent.key)}onInput(X){let ae=this.view.getHTMLElement();X&&!this.domNode.parentElement?ae.append(this.domNode):!X&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=X,this._onDidChangePattern.fire(X),this.filter.pattern=X,this.tree.refilter(),X&&this.tree.focusNext(0,!0,void 0,lt=>!ke.a.isDefault(lt.filterData));let Ge=this.tree.getFocus();if(Ge.length>0){let lt=Ge[0];this.tree.getRelativeTop(lt)===null&&this.tree.reveal(lt,.5)}this.render(),X||(this.triggered=!1)}onDragStart(){let X=this.view.getHTMLElement(),{left:ae}=Object(h.C)(X),Ge=X.clientWidth,lt=Ge/2,Dt=this.domNode.clientWidth,Gt=new f.b,ti=this.positionClassName,ye=()=>{switch(ti){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=Ge-Dt-6+"px"}};ye(),Object(h.Q)(this.domNode,ti),Object(h.e)(this.domNode,"dragging"),Gt.add(Object(f.h)(()=>Object(h.Q)(this.domNode,"dragging"))),Object(se.a)(document,"dragover")(le=>{le.preventDefault();let ue=le.screenX-ae;le.dataTransfer&&(le.dataTransfer.dropEffect="none"),ti=ue<lt?"nw":"ne",ye()},null,Gt),Object(se.a)(this.domNode,"dragend")(()=>{this.positionClassName=ti,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",Object(f.f)(Gt)},null,Gt),q.c.CurrentDragAndDropData=new q.b("vscode-ui"),Gt.add(Object(f.h)(()=>q.c.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&this.pattern.length!==0&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(Object(h.R)(this.filterOnTypeDomNode,ht.classNames),Object(h.f)(this.filterOnTypeDomNode,Ye.classNames),this.filterOnTypeDomNode.title=Object(y.a)("disable filter on type","Disable Filter on Type")):(Object(h.R)(this.filterOnTypeDomNode,Ye.classNames),Object(h.f)(this.filterOnTypeDomNode,ht.classNames),this.filterOnTypeDomNode.title=Object(y.a)("enable filter on type","Enable Filter on Type"))}render(){let X=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&this.tree.options.filterOnType&&X?(this.messageDomNode.textContent=Object(y.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),Object(h.ab)(this.domNode,"no-matches",X),this.domNode.title=Object(y.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"\u2026"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(X){return!(this.enabled&&this.pattern&&!this.filterOnType)||this.filter.totalCount>0&&this.filter.matchCount<=1||!ke.a.isDefault(X.filterData)}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(f.f)(this.disposables)}}function pt(ft){let X=b.Unknown;return Object(h.J)(ft.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?X=b.Twistie:Object(h.J)(ft.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(X=b.Element),{browserEvent:ft.browserEvent,element:ft.element?ft.element.element:null,target:X}}function it(ft,X){X(ft),ft.children.forEach(ae=>it(ae,X))}class At{constructor(X){this.identityProvider=X,this.nodes=[],this._onDidChange=new E.a,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(X,ae){Object(D.g)(this.nodes,X)||this._set(X,!1,ae)}_set(X,ae,Ge){if(this.nodes=[...X],this.elements=void 0,this._nodeSet=void 0,!ae){let lt=this;this._onDidChange.fire({get elements(){return lt.get()},browserEvent:Ge})}}get(){return this.elements||(this.elements=this.nodes.map(X=>X.element)),[...this.elements]}getNodes(){return this.nodes}has(X){return this.nodeSet.has(X)}onDidModelSplice({insertedNodes:X,deletedNodes:ae}){if(!this.identityProvider){let ye=this.createNodeSet(),le=ue=>ye.delete(ue);return ae.forEach(ue=>it(ue,le)),void this.set([...ye.values()])}let Ge=new Set,lt=ye=>Ge.add(this.identityProvider.getId(ye.element).toString());ae.forEach(ye=>it(ye,lt));let Dt=new Map,Gt=ye=>Dt.set(this.identityProvider.getId(ye.element).toString(),ye);X.forEach(ye=>it(ye,Gt));let ti=[];for(let ye of this.nodes){let le=this.identityProvider.getId(ye.element).toString();if(Ge.has(le)){let ue=Dt.get(le);ue&&ti.push(ue)}else ti.push(ye)}this._set(ti,!0)}createNodeSet(){let X=new Set;for(let ae of this.nodes)X.add(ae);return X}}class Nt extends H.d{constructor(X,ae){super(X),this.tree=ae}onViewPointer(X){if(Object(H.e)(X.browserEvent.target)||Object(H.f)(X.browserEvent.target))return;let ae=X.element;if(!ae)return super.onViewPointer(X);if(this.isSelectionRangeChangeEvent(X)||this.isSelectionSingleChangeEvent(X))return super.onViewPointer(X);let Ge=X.browserEvent.target,lt=Object(h.I)(Ge,"monaco-tl-twistie")||Object(h.I)(Ge,"monaco-icon-label")&&Object(h.I)(Ge,"folder-icon")&&X.browserEvent.offsetX<16,Dt=!1;if(Dt=typeof this.tree.expandOnlyOnTwistieClick=="function"?this.tree.expandOnlyOnTwistieClick(ae.element):!!this.tree.expandOnlyOnTwistieClick,Dt&&!lt)return super.onViewPointer(X);if(this.tree.expandOnlyOnDoubleClick&&X.browserEvent.detail!==2&&!lt)return super.onViewPointer(X);if(ae.collapsible){let Gt=this.tree.model,ti=Gt.getNodeLocation(ae),ye=X.browserEvent.altKey;if(Gt.setCollapsed(ti,void 0,ye),Dt&<)return}super.onViewPointer(X)}onDoubleClick(X){Object(h.I)(X.browserEvent.target,"monaco-tl-twistie")||super.onDoubleClick(X)}}class _i extends H.c{constructor(X,ae,Ge,lt,Dt,Gt,ti){super(X,ae,Ge,lt,ti),this.focusTrait=Dt,this.selectionTrait=Gt}createMouseController(X){return new Nt(this,X.tree)}splice(X,ae,Ge=[]){if(super.splice(X,ae,Ge),Ge.length===0)return;let lt=[],Dt=[];Ge.forEach((Gt,ti)=>{this.focusTrait.has(Gt)&<.push(X+ti),this.selectionTrait.has(Gt)&&Dt.push(X+ti)}),lt.length>0&&super.setFocus(Object(D.f)([...super.getFocus(),...lt])),Dt.length>0&&super.setSelection(Object(D.f)([...super.getSelection(),...Dt]))}setFocus(X,ae,Ge=!1){super.setFocus(X,ae),Ge||this.focusTrait.set(X.map(lt=>this.element(lt)),ae)}setSelection(X,ae,Ge=!1){super.setSelection(X,ae),Ge||this.selectionTrait.set(X.map(lt=>this.element(lt)),ae)}}class wt{constructor(X,ae,Ge,lt,Dt={}){this._options=Dt,this.eventBufferer=new E.c,this.disposables=new f.b,this._onWillRefilter=new E.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new E.a;let Gt=new Se(Ge),ti=new E.e,ye=new E.e,le=new ee(ye.event);this.renderers=lt.map(rt=>new de(rt,()=>this.model,ti.event,le,Dt));for(let rt of this.renderers)this.disposables.add(rt);let ue;var qe,Ze;Dt.keyboardNavigationLabelProvider&&(ue=new Oe(this,Dt.keyboardNavigationLabelProvider,Dt.filter),Dt=Object.assign(Object.assign({},Dt),{filter:ue}),this.disposables.add(ue)),this.focus=new At(Dt.identityProvider),this.selection=new At(Dt.identityProvider),this.view=new _i(X,ae,Gt,this.renderers,this.focus,this.selection,Object.assign(Object.assign({},(qe=()=>this.model,(Ze=Dt)&&Object.assign(Object.assign({},Ze),{identityProvider:Ze.identityProvider&&{getId:rt=>Ze.identityProvider.getId(rt.element)},dnd:Ze.dnd&&new J(qe,Ze.dnd),multipleSelectionController:Ze.multipleSelectionController&&{isSelectionSingleChangeEvent:rt=>Ze.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},rt),{element:rt.element})),isSelectionRangeChangeEvent:rt=>Ze.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},rt),{element:rt.element}))},accessibilityProvider:Ze.accessibilityProvider&&Object.assign(Object.assign({},Ze.accessibilityProvider),{getSetSize(rt){let zt=qe(),Jt=zt.getNodeLocation(rt),xi=zt.getParentNodeLocation(Jt);return zt.getNode(xi).visibleChildrenCount},getPosInSet:rt=>rt.visibleChildIndex+1,isChecked:Ze.accessibilityProvider&&Ze.accessibilityProvider.isChecked?rt=>Ze.accessibilityProvider.isChecked(rt.element):void 0,getRole:Ze.accessibilityProvider&&Ze.accessibilityProvider.getRole?rt=>Ze.accessibilityProvider.getRole(rt.element):()=>"treeitem",getAriaLabel:rt=>Ze.accessibilityProvider.getAriaLabel(rt.element),getWidgetAriaLabel:()=>Ze.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:Ze.accessibilityProvider&&Ze.accessibilityProvider.getWidgetRole?()=>Ze.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:rt=>rt.depth,getActiveDescendantId:Ze.accessibilityProvider.getActiveDescendantId&&(rt=>Ze.accessibilityProvider.getActiveDescendantId(rt.element))}),keyboardNavigationLabelProvider:Ze.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},Ze.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:rt=>Ze.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(rt.element)}),enableKeyboardNavigation:Ze.simpleKeyboardNavigation}))),{tree:this})),this.model=this.createModel(X,this.view,Dt),ti.input=this.model.onDidChangeCollapseState;let tt=E.b.forEach(this.model.onDidSplice,rt=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(rt),this.selection.onDidModelSplice(rt)})});if(tt(()=>null,null,this.disposables),ye.input=E.b.chain(E.b.any(tt,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{let rt=new Set;for(let zt of this.focus.getNodes())rt.add(zt);for(let zt of this.selection.getNodes())rt.add(zt);return[...rt.values()]}).event,Dt.keyboardSupport!==!1){let rt=E.b.chain(this.view.onKeyDown).filter(zt=>!Object(H.e)(zt.target)).map(zt=>new j.a(zt));rt.filter(zt=>zt.keyCode===15).on(this.onLeftArrow,this,this.disposables),rt.filter(zt=>zt.keyCode===17).on(this.onRightArrow,this,this.disposables),rt.filter(zt=>zt.keyCode===10).on(this.onSpace,this,this.disposables)}if(Dt.keyboardNavigationLabelProvider){let rt=Dt.keyboardNavigationDelegate||H.a;this.typeFilterController=new $e(this,this.model,this.view,ue,rt),this.focusNavigationFilter=zt=>this.typeFilterController.shouldAllowFocus(zt),this.disposables.add(this.typeFilterController)}this.styleElement=Object(h.v)(this.view.getHTMLElement()),Object(h.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===A.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return E.b.map(this.view.onMouseDblClick,pt)}get onPointer(){return E.b.map(this.view.onPointer,pt)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnlyOnDoubleClick(){var X;return(X=this._options.expandOnlyOnDoubleClick)!==null&&X!==void 0&&X}get expandOnlyOnTwistieClick(){return this._options.expandOnlyOnTwistieClick!==void 0&&this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(X={}){this._options=Object.assign(Object.assign({},this._options),X);for(let ae of this.renderers)ae.updateOptions(X);this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(h.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===A.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(X){this.view.scrollTop=X}domFocus(){this.view.domFocus()}layout(X,ae){this.view.layout(X,ae)}style(X){let ae="."+this.view.domId,Ge=[];X.treeIndentGuidesStroke&&(Ge.push(`.monaco-list${ae}:hover .monaco-tl-indent > .indent-guide, .monaco-list${ae}.always .monaco-tl-indent > .indent-guide { border-color: ${X.treeIndentGuidesStroke.transparent(.4)}; }`),Ge.push(`.monaco-list${ae} .monaco-tl-indent > .indent-guide.active { border-color: ${X.treeIndentGuidesStroke}; }`));let lt=Ge.join(` +`);lt!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=lt),this.view.style(X)}collapse(X,ae=!1){return this.model.setCollapsed(X,!0,ae)}expand(X,ae=!1){return this.model.setCollapsed(X,!1,ae)}isCollapsible(X){return this.model.isCollapsible(X)}setCollapsible(X,ae){return this.model.setCollapsible(X,ae)}isCollapsed(X){return this.model.isCollapsed(X)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(X,ae){let Ge=X.map(Dt=>this.model.getNode(Dt));this.selection.set(Ge,ae);let lt=X.map(Dt=>this.model.getListIndex(Dt)).filter(Dt=>Dt>-1);this.view.setSelection(lt,ae,!0)}getSelection(){return this.selection.get()}setFocus(X,ae){let Ge=X.map(Dt=>this.model.getNode(Dt));this.focus.set(Ge,ae);let lt=X.map(Dt=>this.model.getListIndex(Dt)).filter(Dt=>Dt>-1);this.view.setFocus(lt,ae,!0)}focusNext(X=1,ae=!1,Ge,lt=this.focusNavigationFilter){this.view.focusNext(X,ae,Ge,lt)}getFocus(){return this.focus.get()}reveal(X,ae){this.model.expandTo(X);let Ge=this.model.getListIndex(X);Ge!==-1&&this.view.reveal(Ge,ae)}getRelativeTop(X){let ae=this.model.getListIndex(X);return ae===-1?null:this.view.getRelativeTop(ae)}onLeftArrow(X){X.preventDefault(),X.stopPropagation();let ae=this.view.getFocusedElements();if(ae.length===0)return;let Ge=ae[0],lt=this.model.getNodeLocation(Ge);if(!this.model.setCollapsed(lt,!0)){let Dt=this.model.getParentNodeLocation(lt);if(!Dt)return;let Gt=this.model.getListIndex(Dt);this.view.reveal(Gt),this.view.setFocus([Gt])}}onRightArrow(X){X.preventDefault(),X.stopPropagation();let ae=this.view.getFocusedElements();if(ae.length===0)return;let Ge=ae[0],lt=this.model.getNodeLocation(Ge);if(!this.model.setCollapsed(lt,!1)){if(!Ge.children.some(ti=>ti.visible))return;let[Dt]=this.view.getFocus(),Gt=Dt+1;this.view.reveal(Gt),this.view.setFocus([Gt])}}onSpace(X){X.preventDefault(),X.stopPropagation();let ae=this.view.getFocusedElements();if(ae.length===0)return;let Ge=ae[0],lt=this.model.getNodeLocation(Ge),Dt=X.browserEvent.altKey;this.model.setCollapsed(lt,void 0,Dt)}dispose(){Object(f.f)(this.disposables),this.view.dispose()}}class Ni{constructor(X,ae,Ge={}){this.user=X,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new te(X,ae,null,Ge),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,Ge.sorter&&(this.sorter={compare:(lt,Dt)=>Ge.sorter.compare(lt.element,Dt.element)}),this.identityProvider=Ge.identityProvider}setChildren(X,ae=g.a.empty(),Ge,lt){let Dt=this.getElementLocation(X);this._setChildren(Dt,this.preserveCollapseState(ae),Ge,lt)}_setChildren(X,ae=g.a.empty(),Ge,lt){let Dt=new Set,Gt=new Set;this.model.splice([...X,0],Number.MAX_VALUE,ae,ti=>{if(ti.element===null)return;let ye=ti;if(Dt.add(ye.element),this.nodes.set(ye.element,ye),this.identityProvider){let le=this.identityProvider.getId(ye.element).toString();Gt.add(le),this.nodesByIdentity.set(le,ye)}Ge&&Ge(ye)},ti=>{if(ti.element===null)return;let ye=ti;if(Dt.has(ye.element)||this.nodes.delete(ye.element),this.identityProvider){let le=this.identityProvider.getId(ye.element).toString();Gt.has(le)||this.nodesByIdentity.delete(le)}lt&<(ye)})}preserveCollapseState(X=g.a.empty()){return this.sorter&&(X=Object(D.p)([...X],this.sorter.compare.bind(this.sorter))),g.a.map(X,ae=>{let Ge=this.nodes.get(ae.element);if(!Ge&&this.identityProvider){let Gt=this.identityProvider.getId(ae.element).toString();Ge=this.nodesByIdentity.get(Gt)}if(!Ge)return Object.assign(Object.assign({},ae),{children:this.preserveCollapseState(ae.children)});let lt=typeof ae.collapsible=="boolean"?ae.collapsible:Ge.collapsible,Dt=ae.collapsed!==void 0?ae.collapsed:Ge.collapsed;return Object.assign(Object.assign({},ae),{collapsible:lt,collapsed:Dt,children:this.preserveCollapseState(ae.children)})})}rerender(X){let ae=this.getElementLocation(X);this.model.rerender(ae)}has(X){return this.nodes.has(X)}getListIndex(X){let ae=this.getElementLocation(X);return this.model.getListIndex(ae)}getListRenderCount(X){let ae=this.getElementLocation(X);return this.model.getListRenderCount(ae)}isCollapsible(X){let ae=this.getElementLocation(X);return this.model.isCollapsible(ae)}setCollapsible(X,ae){let Ge=this.getElementLocation(X);return this.model.setCollapsible(Ge,ae)}isCollapsed(X){let ae=this.getElementLocation(X);return this.model.isCollapsed(ae)}setCollapsed(X,ae,Ge){let lt=this.getElementLocation(X);return this.model.setCollapsed(lt,ae,Ge)}expandTo(X){let ae=this.getElementLocation(X);this.model.expandTo(ae)}refilter(){this.model.refilter()}getNode(X=null){if(X===null)return this.model.getNode(this.model.rootRef);let ae=this.nodes.get(X);if(!ae)throw new ie(this.user,"Tree element not found: "+X);return ae}getNodeLocation(X){return X.element}getParentNodeLocation(X){if(X===null)throw new ie(this.user,"Invalid getParentNodeLocation call");let ae=this.nodes.get(X);if(!ae)throw new ie(this.user,"Tree element not found: "+X);let Ge=this.model.getNodeLocation(ae),lt=this.model.getParentNodeLocation(Ge);return this.model.getNode(lt).element}getElementLocation(X){if(X===null)return[];let ae=this.nodes.get(X);if(!ae)throw new ie(this.user,"Tree element not found: "+X);return this.model.getNodeLocation(ae)}}function pi(ft){return{element:{elements:[ft.element],incompressible:ft.incompressible||!1},children:g.a.map(g.a.from(ft.children),pi),collapsible:ft.collapsible,collapsed:ft.collapsed}}function et(ft){let X=[ft.element],ae=ft.incompressible||!1,Ge,lt;for(;[lt,Ge]=g.a.consume(g.a.from(ft.children),2),lt.length===1&&!(ft=lt[0]).incompressible;)X.push(ft.element);return{element:{elements:X,incompressible:ae},children:g.a.map(g.a.concat(lt,Ge),et),collapsible:ft.collapsible,collapsed:ft.collapsed}}function Wt(ft){return function X(ae,Ge=0){let lt;return lt=Ge<ae.element.elements.length-1?[X(ae,Ge+1)]:g.a.map(g.a.from(ae.children),Dt=>X(Dt,0)),Ge===0&&ae.element.incompressible?{element:ae.element.elements[Ge],children:lt,incompressible:!0,collapsible:ae.collapsible,collapsed:ae.collapsed}:{element:ae.element.elements[Ge],children:lt,collapsible:ae.collapsible,collapsed:ae.collapsed}}(ft,0)}class Li{constructor(X,ae,Ge={}){this.user=X,this.rootRef=null,this.nodes=new Map,this.model=new Ni(X,ae,Ge),this.enabled=Ge.compressionEnabled===void 0||Ge.compressionEnabled}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(X,ae=g.a.empty()){if(X===null){let ue=g.a.map(ae,this.enabled?et:pi);return void this._setChildren(null,ue)}let Ge=this.nodes.get(X);if(!Ge)throw new Error("Unknown compressed tree node");let lt=this.model.getNode(Ge),Dt=this.model.getParentNodeLocation(Ge),Gt=this.model.getNode(Dt),ti=function ue(qe,Ze,tt){return qe.element===Ze?Object.assign(Object.assign({},qe),{children:tt}):Object.assign(Object.assign({},qe),{children:g.a.map(g.a.from(qe.children),rt=>ue(rt,Ze,tt))})}(Wt(lt),X,ae),ye=(this.enabled?et:pi)(ti),le=Gt.children.map(ue=>ue===lt?ye:ue);this._setChildren(Gt.element,le)}setCompressionEnabled(X){if(X===this.enabled)return;this.enabled=X;let ae=this.model.getNode().children,Ge=g.a.map(ae,Wt),lt=g.a.map(Ge,X?et:pi);this._setChildren(null,lt)}_setChildren(X,ae){let Ge=new Set;this.model.setChildren(X,ae,lt=>{for(let Dt of lt.element.elements)Ge.add(Dt),this.nodes.set(Dt,lt.element)},lt=>{for(let Dt of lt.element.elements)Ge.has(Dt)||this.nodes.delete(Dt)})}has(X){return this.nodes.has(X)}getListIndex(X){let ae=this.getCompressedNode(X);return this.model.getListIndex(ae)}getListRenderCount(X){let ae=this.getCompressedNode(X);return this.model.getListRenderCount(ae)}getNode(X){if(X===void 0)return this.model.getNode();let ae=this.getCompressedNode(X);return this.model.getNode(ae)}getNodeLocation(X){let ae=this.model.getNodeLocation(X);return ae===null?null:ae.elements[ae.elements.length-1]}getParentNodeLocation(X){let ae=this.getCompressedNode(X),Ge=this.model.getParentNodeLocation(ae);return Ge===null?null:Ge.elements[Ge.elements.length-1]}isCollapsible(X){let ae=this.getCompressedNode(X);return this.model.isCollapsible(ae)}setCollapsible(X,ae){let Ge=this.getCompressedNode(X);return this.model.setCollapsible(Ge,ae)}isCollapsed(X){let ae=this.getCompressedNode(X);return this.model.isCollapsed(ae)}setCollapsed(X,ae,Ge){let lt=this.getCompressedNode(X);return this.model.setCollapsed(lt,ae,Ge)}expandTo(X){let ae=this.getCompressedNode(X);this.model.expandTo(ae)}rerender(X){let ae=this.getCompressedNode(X);this.model.rerender(ae)}refilter(){this.model.refilter()}getCompressedNode(X){if(X===null)return null;let ae=this.nodes.get(X);if(!ae)throw new ie(this.user,"Tree element not found: "+X);return ae}}let Ii=ft=>ft[ft.length-1];class Ai{constructor(X,ae){this.unwrapper=X,this.node=ae}get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(X=>new Ai(this.unwrapper,X))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Zi{constructor(X,ae,Ge={}){this.rootRef=null,this.elementMapper=Ge.elementMapper||Ii;let lt=Dt=>this.elementMapper(Dt.elements);this.nodeMapper=new U(Dt=>new Ai(lt,Dt)),this.model=new Li(X,function(Dt,Gt){return{splice(ti,ye,le){Gt.splice(ti,ye,le.map(ue=>Dt.map(ue)))},updateElementHeight(ti,ye){Gt.updateElementHeight(ti,ye)}}}(this.nodeMapper,ae),function(Dt,Gt){return Object.assign(Object.assign({},Gt),{sorter:Gt.sorter&&{compare:(ti,ye)=>Gt.sorter.compare(ti.elements[0],ye.elements[0])},identityProvider:Gt.identityProvider&&{getId:ti=>Gt.identityProvider.getId(Dt(ti))},filter:Gt.filter&&{filter:(ti,ye)=>Gt.filter.filter(Dt(ti),ye)}})}(lt,Ge))}get onDidSplice(){return E.b.map(this.model.onDidSplice,({insertedNodes:X,deletedNodes:ae})=>({insertedNodes:X.map(Ge=>this.nodeMapper.map(Ge)),deletedNodes:ae.map(Ge=>this.nodeMapper.map(Ge))}))}get onDidChangeCollapseState(){return E.b.map(this.model.onDidChangeCollapseState,({node:X,deep:ae})=>({node:this.nodeMapper.map(X),deep:ae}))}get onDidChangeRenderNodeCount(){return E.b.map(this.model.onDidChangeRenderNodeCount,X=>this.nodeMapper.map(X))}setChildren(X,ae=g.a.empty()){this.model.setChildren(X,ae)}setCompressionEnabled(X){this.model.setCompressionEnabled(X)}has(X){return this.model.has(X)}getListIndex(X){return this.model.getListIndex(X)}getListRenderCount(X){return this.model.getListRenderCount(X)}getNode(X){return this.nodeMapper.map(this.model.getNode(X))}getNodeLocation(X){return X.element}getParentNodeLocation(X){return this.model.getParentNodeLocation(X)}isCollapsible(X){return this.model.isCollapsible(X)}setCollapsible(X,ae){return this.model.setCollapsible(X,ae)}isCollapsed(X){return this.model.isCollapsed(X)}setCollapsed(X,ae,Ge){return this.model.setCollapsed(X,ae,Ge)}expandTo(X){return this.model.expandTo(X)}rerender(X){return this.model.rerender(X)}refilter(){return this.model.refilter()}getCompressedTreeNode(X=null){return this.model.getNode(X)}}var Bi=o(98),Lt=function(ft,X,ae,Ge){var lt,Dt=arguments.length,Gt=Dt<3?X:Ge===null?Ge=Object.getOwnPropertyDescriptor(X,ae):Ge;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Gt=Reflect.decorate(ft,X,ae,Ge);else for(var ti=ft.length-1;ti>=0;ti--)(lt=ft[ti])&&(Gt=(Dt<3?lt(Gt):Dt>3?lt(X,ae,Gt):lt(X,ae))||Gt);return Dt>3&&Gt&&Object.defineProperty(X,ae,Gt),Gt};class Di extends wt{constructor(X,ae,Ge,lt,Dt={}){super(X,ae,Ge,lt,Dt)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(X,ae=g.a.empty()){this.model.setChildren(X,ae)}rerender(X){X!==void 0?this.model.rerender(X):this.view.rerender()}hasElement(X){return this.model.has(X)}createModel(X,ae,Ge){return new Ni(X,ae,Ge)}}class gt{constructor(X,ae){this._compressedTreeNodeProvider=X,this.renderer=ae,this.templateId=ae.templateId,ae.onDidChangeTwistieState&&(this.onDidChangeTwistieState=ae.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(X){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(X)}}renderElement(X,ae,Ge,lt){let Dt=this.compressedTreeNodeProvider.getCompressedTreeNode(X.element);Dt.element.elements.length===1?(Ge.compressedTreeNode=void 0,this.renderer.renderElement(X,ae,Ge.data,lt)):(Ge.compressedTreeNode=Dt,this.renderer.renderCompressedElements(Dt,ae,Ge.data,lt))}disposeElement(X,ae,Ge,lt){Ge.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(Ge.compressedTreeNode,ae,Ge.data,lt):this.renderer.disposeElement&&this.renderer.disposeElement(X,ae,Ge.data,lt)}disposeTemplate(X){this.renderer.disposeTemplate(X.data)}renderTwistie(X,ae){this.renderer.renderTwistie&&this.renderer.renderTwistie(X,ae)}}Lt([Bi.a],gt.prototype,"compressedTreeNodeProvider",null);class vi extends Di{constructor(X,ae,Ge,lt,Dt={}){let Gt=()=>this;super(X,ae,Ge,lt.map(ti=>new gt(Gt,ti)),function(ti,ye){return ye&&Object.assign(Object.assign({},ye),{keyboardNavigationLabelProvider:ye.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(le){let ue;try{ue=ti().getCompressedTreeNode(le)}catch(qe){return ye.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(le)}return ue.element.elements.length===1?ye.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(le):ye.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(ue.element.elements)}}})}(Gt,Dt))}setChildren(X,ae=g.a.empty()){this.model.setChildren(X,ae)}createModel(X,ae,Ge){return new Zi(X,ae,Ge)}updateOptions(X={}){super.updateOptions(X),X.compressionEnabled!==void 0&&this.model.setCompressionEnabled(X.compressionEnabled)}getCompressedTreeNode(X=null){return this.model.getCompressedTreeNode(X)}}var Rt=o(13),vt=function(ft,X,ae,Ge){return new(ae||(ae=Promise))(function(lt,Dt){function Gt(le){try{ye(Ge.next(le))}catch(ue){Dt(ue)}}function ti(le){try{ye(Ge.throw(le))}catch(ue){Dt(ue)}}function ye(le){var ue;le.done?lt(le.value):(ue=le.value,ue instanceof ae?ue:new ae(function(qe){qe(ue)})).then(Gt,ti)}ye((Ge=Ge.apply(ft,X||[])).next())})};function Ue(ft){return Object.assign(Object.assign({},ft),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function ut(ft,X){return!!X.parent&&(X.parent===ft||ut(ft,X.parent))}class ze{constructor(X){this.node=X}get element(){return this.node.element.element}get children(){return this.node.children.map(X=>new ze(X))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class st{constructor(X,ae,Ge){this.renderer=X,this.nodeMapper=ae,this.onDidChangeTwistieState=Ge,this.renderedNodes=new Map,this.templateId=X.templateId}renderTemplate(X){return{templateData:this.renderer.renderTemplate(X)}}renderElement(X,ae,Ge,lt){this.renderer.renderElement(this.nodeMapper.map(X),ae,Ge.templateData,lt)}renderTwistie(X,ae){return X.slow?Object(h.f)(ae,$.classNames):Object(h.R)(ae,$.classNames),!1}disposeElement(X,ae,Ge,lt){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(X),ae,Ge.templateData,lt)}disposeTemplate(X){this.renderer.disposeTemplate(X.templateData)}dispose(){this.renderedNodes.clear()}}function _t(ft){return{browserEvent:ft.browserEvent,elements:ft.elements.map(X=>X.element)}}function oi(ft){return{browserEvent:ft.browserEvent,element:ft.element&&ft.element.element,target:ft.target}}class li extends B.a{constructor(X){super(X.elements.map(ae=>ae.element)),this.data=X}}function gi(ft){return ft instanceof B.a?new li(ft):ft}class ki{constructor(X){this.dnd=X}getDragURI(X){return this.dnd.getDragURI(X.element)}getDragLabel(X,ae){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(X.map(Ge=>Ge.element),ae)}onDragStart(X,ae){this.dnd.onDragStart&&this.dnd.onDragStart(gi(X),ae)}onDragOver(X,ae,Ge,lt,Dt=!0){return this.dnd.onDragOver(gi(X),ae&&ae.element,Ge,lt)}drop(X,ae,Ge,lt){this.dnd.drop(gi(X),ae&&ae.element,Ge,lt)}onDragEnd(X){this.dnd.onDragEnd&&this.dnd.onDragEnd(X)}}function Ri(ft){return ft&&Object.assign(Object.assign({},ft),{collapseByDefault:!0,identityProvider:ft.identityProvider&&{getId:X=>ft.identityProvider.getId(X.element)},dnd:ft.dnd&&new ki(ft.dnd),multipleSelectionController:ft.multipleSelectionController&&{isSelectionSingleChangeEvent:X=>ft.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},X),{element:X.element})),isSelectionRangeChangeEvent:X=>ft.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},X),{element:X.element}))},accessibilityProvider:ft.accessibilityProvider&&Object.assign(Object.assign({},ft.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:ft.accessibilityProvider.getRole?X=>ft.accessibilityProvider.getRole(X.element):()=>"treeitem",isChecked:ft.accessibilityProvider.isChecked?X=>{var ae;return!!((ae=ft.accessibilityProvider)===null||ae===void 0?void 0:ae.isChecked(X.element))}:void 0,getAriaLabel:X=>ft.accessibilityProvider.getAriaLabel(X.element),getWidgetAriaLabel:()=>ft.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:ft.accessibilityProvider.getWidgetRole?()=>ft.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:ft.accessibilityProvider.getAriaLevel&&(X=>ft.accessibilityProvider.getAriaLevel(X.element)),getActiveDescendantId:ft.accessibilityProvider.getActiveDescendantId&&(X=>ft.accessibilityProvider.getActiveDescendantId(X.element))}),filter:ft.filter&&{filter:(X,ae)=>ft.filter.filter(X.element,ae)},keyboardNavigationLabelProvider:ft.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},ft.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:X=>ft.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(X.element)}),sorter:void 0,expandOnlyOnTwistieClick:ft.expandOnlyOnTwistieClick===void 0?void 0:typeof ft.expandOnlyOnTwistieClick!="function"?ft.expandOnlyOnTwistieClick:X=>ft.expandOnlyOnTwistieClick(X.element),additionalScrollHeight:ft.additionalScrollHeight})}function $i(ft,X){X(ft),ft.children.forEach(ae=>$i(ae,X))}class Hi{constructor(X,ae,Ge,lt,Dt,Gt={}){this.user=X,this.dataSource=Dt,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new E.a,this._onDidChangeNodeSlowState=new E.a,this.nodeMapper=new U(ti=>new ze(ti)),this.disposables=new f.b,this.identityProvider=Gt.identityProvider,this.autoExpandSingleChildren=Gt.autoExpandSingleChildren!==void 0&&Gt.autoExpandSingleChildren,this.sorter=Gt.sorter,this.collapseByDefault=Gt.collapseByDefault,this.tree=this.createTree(X,ae,Ge,lt,Gt),this.root=Ue({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return E.b.map(this.tree.onDidChangeFocus,_t)}get onDidChangeSelection(){return E.b.map(this.tree.onDidChangeSelection,_t)}get onMouseDblClick(){return E.b.map(this.tree.onMouseDblClick,oi)}get onPointer(){return E.b.map(this.tree.onPointer,oi)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(X,ae,Ge,lt,Dt){let Gt=new Se(Ge),ti=lt.map(le=>new st(le,this.nodeMapper,this._onDidChangeNodeSlowState.event)),ye=Ri(Dt)||{};return new Di(X,ae,Gt,ti,ye)}updateOptions(X={}){this.tree.updateOptions(X)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(X){this.tree.scrollTop=X}domFocus(){this.tree.domFocus()}layout(X,ae){this.tree.layout(X,ae)}style(X){this.tree.style(X)}getInput(){return this.root.element}setInput(X,ae){return vt(this,void 0,void 0,function*(){this.refreshPromises.forEach(lt=>lt.cancel()),this.refreshPromises.clear(),this.root.element=X;let Ge=ae&&{viewState:ae,focus:[],selection:[]};yield this._updateChildren(X,!0,!1,Ge),Ge&&(this.tree.setFocus(Ge.focus),this.tree.setSelection(Ge.selection)),ae&&typeof ae.scrollTop=="number"&&(this.scrollTop=ae.scrollTop)})}_updateChildren(X=this.root.element,ae=!0,Ge=!1,lt){return vt(this,void 0,void 0,function*(){if(this.root.element===void 0)throw new ie(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield E.b.toPromise(this._onDidRender.event));let Dt=this.getDataNode(X);if(yield this.refreshAndRenderNode(Dt,ae,lt),Ge)try{this.tree.rerender(Dt)}catch(Gt){}})}rerender(X){if(X===void 0||X===this.root.element)return void this.tree.rerender();let ae=this.getDataNode(X);this.tree.rerender(ae)}collapse(X,ae=!1){let Ge=this.getDataNode(X);return this.tree.collapse(Ge===this.root?null:Ge,ae)}expand(X,ae=!1){return vt(this,void 0,void 0,function*(){if(this.root.element===void 0)throw new ie(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield E.b.toPromise(this._onDidRender.event));let Ge=this.getDataNode(X);if(this.tree.hasElement(Ge)&&!this.tree.isCollapsible(Ge)||(Ge.refreshPromise&&(yield this.root.refreshPromise,yield E.b.toPromise(this._onDidRender.event)),Ge!==this.root&&!Ge.refreshPromise&&!this.tree.isCollapsed(Ge)))return!1;let lt=this.tree.expand(Ge===this.root?null:Ge,ae);return Ge.refreshPromise&&(yield this.root.refreshPromise,yield E.b.toPromise(this._onDidRender.event)),lt})}setSelection(X,ae){let Ge=X.map(lt=>this.getDataNode(lt));this.tree.setSelection(Ge,ae)}getSelection(){return this.tree.getSelection().map(X=>X.element)}setFocus(X,ae){let Ge=X.map(lt=>this.getDataNode(lt));this.tree.setFocus(Ge,ae)}getFocus(){return this.tree.getFocus().map(X=>X.element)}reveal(X,ae){this.tree.reveal(this.getDataNode(X),ae)}getDataNode(X){let ae=this.nodes.get(X===this.root.element?null:X);if(!ae)throw new ie(this.user,"Data tree node not found: "+X);return ae}refreshAndRenderNode(X,ae,Ge){return vt(this,void 0,void 0,function*(){yield this.refreshNode(X,ae,Ge),this.render(X,Ge)})}refreshNode(X,ae,Ge){return vt(this,void 0,void 0,function*(){let lt;return this.subTreeRefreshPromises.forEach((Dt,Gt)=>{!lt&&function(ti,ye){return ti===ye||ut(ti,ye)||ut(ye,ti)}(Gt,X)&&(lt=Dt.then(()=>this.refreshNode(X,ae,Ge)))}),lt||this.doRefreshSubTree(X,ae,Ge)})}doRefreshSubTree(X,ae,Ge){return vt(this,void 0,void 0,function*(){let lt;X.refreshPromise=new Promise(Dt=>lt=Dt),this.subTreeRefreshPromises.set(X,X.refreshPromise),X.refreshPromise.finally(()=>{X.refreshPromise=void 0,this.subTreeRefreshPromises.delete(X)});try{let Dt=yield this.doRefreshNode(X,ae,Ge);X.stale=!1,yield Promise.all(Dt.map(Gt=>this.doRefreshSubTree(Gt,ae,Ge)))}finally{lt()}})}doRefreshNode(X,ae,Ge){return vt(this,void 0,void 0,function*(){let lt;if(X.hasChildren=!!this.dataSource.hasChildren(X.element),X.hasChildren){let Dt=Object(he.l)(800);Dt.then(()=>{X.slow=!0,this._onDidChangeNodeSlowState.fire(X)},Gt=>null),lt=this.doGetChildren(X).finally(()=>Dt.cancel())}else lt=Promise.resolve(g.a.empty());try{let Dt=yield lt;return this.setChildren(X,Dt,ae,Ge)}catch(Dt){if(X!==this.root&&this.tree.collapse(X===this.root?null:X),Object(Rt.d)(Dt))return[];throw Dt}finally{X.slow&&(X.slow=!1,this._onDidChangeNodeSlowState.fire(X))}})}doGetChildren(X){let ae=this.refreshPromises.get(X);return ae||(ae=Object(he.f)(()=>vt(this,void 0,void 0,function*(){let Ge=yield this.dataSource.getChildren(X.element);return this.processChildren(Ge)})),this.refreshPromises.set(X,ae),ae.finally(()=>{this.refreshPromises.delete(X)}))}_onDidChangeCollapseState({node:X,deep:ae}){X.element!==null&&!X.collapsed&&X.element.stale&&(ae?this.collapse(X.element.element):this.refreshAndRenderNode(X.element,!1).catch(Rt.e))}setChildren(X,ae,Ge,lt){let Dt=[...ae];if(X.children.length===0&&Dt.length===0)return[];let Gt=new Map,ti=new Map;for(let ue of X.children)if(Gt.set(ue.element,ue),this.identityProvider){let qe=this.tree.isCollapsed(ue);ti.set(ue.id,{node:ue,collapsed:qe})}let ye=[],le=Dt.map(ue=>{let qe=!!this.dataSource.hasChildren(ue);if(!this.identityProvider){let zt=Ue({element:ue,parent:X,hasChildren:qe});return qe&&this.collapseByDefault&&!this.collapseByDefault(ue)&&(zt.collapsedByDefault=!1,ye.push(zt)),zt}let Ze=this.identityProvider.getId(ue).toString(),tt=ti.get(Ze);if(tt){let zt=tt.node;return Gt.delete(zt.element),this.nodes.delete(zt.element),this.nodes.set(ue,zt),zt.element=ue,zt.hasChildren=qe,Ge?tt.collapsed?(zt.children.forEach(Jt=>$i(Jt,xi=>this.nodes.delete(xi.element))),zt.children.splice(0,zt.children.length),zt.stale=!0):ye.push(zt):qe&&this.collapseByDefault&&!this.collapseByDefault(ue)&&(zt.collapsedByDefault=!1,ye.push(zt)),zt}let rt=Ue({element:ue,parent:X,id:Ze,hasChildren:qe});return lt&<.viewState.focus&<.viewState.focus.indexOf(Ze)>-1&<.focus.push(rt),lt&<.viewState.selection&<.viewState.selection.indexOf(Ze)>-1&<.selection.push(rt),lt&<.viewState.expanded&<.viewState.expanded.indexOf(Ze)>-1?ye.push(rt):qe&&this.collapseByDefault&&!this.collapseByDefault(ue)&&(rt.collapsedByDefault=!1,ye.push(rt)),rt});for(let ue of Gt.values())$i(ue,qe=>this.nodes.delete(qe.element));for(let ue of le)this.nodes.set(ue.element,ue);return X.children.splice(0,X.children.length,...le),X!==this.root&&this.autoExpandSingleChildren&&le.length===1&&ye.length===0&&(le[0].collapsedByDefault=!1,ye.push(le[0])),ye}render(X,ae){let Ge=X.children.map(lt=>this.asTreeElement(lt,ae));this.tree.setChildren(X===this.root?null:X,Ge),X!==this.root&&this.tree.setCollapsible(X,X.hasChildren),this._onDidRender.fire()}asTreeElement(X,ae){if(X.stale)return{element:X,collapsible:X.hasChildren,collapsed:!0};let Ge;return Ge=!(ae&&ae.viewState.expanded&&X.id&&ae.viewState.expanded.indexOf(X.id)>-1)&&X.collapsedByDefault,X.collapsedByDefault=void 0,{element:X,children:X.hasChildren?g.a.map(X.children,lt=>this.asTreeElement(lt,ae)):[],collapsible:X.hasChildren,collapsed:Ge}}processChildren(X){return this.sorter&&(X=[...X].sort(this.sorter.compare.bind(this.sorter))),X}dispose(){this.disposables.dispose()}}class yi{constructor(X){this.node=X}get element(){return{elements:this.node.element.elements.map(X=>X.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(X=>new yi(X))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class kt{constructor(X,ae,Ge,lt){this.renderer=X,this.nodeMapper=ae,this.compressibleNodeMapperProvider=Ge,this.onDidChangeTwistieState=lt,this.renderedNodes=new Map,this.disposables=[],this.templateId=X.templateId}renderTemplate(X){return{templateData:this.renderer.renderTemplate(X)}}renderElement(X,ae,Ge,lt){this.renderer.renderElement(this.nodeMapper.map(X),ae,Ge.templateData,lt)}renderCompressedElements(X,ae,Ge,lt){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(X),ae,Ge.templateData,lt)}renderTwistie(X,ae){return X.slow?Object(h.f)(ae,$.classNames):Object(h.R)(ae,$.classNames),!1}disposeElement(X,ae,Ge,lt){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(X),ae,Ge.templateData,lt)}disposeCompressedElements(X,ae,Ge,lt){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(X),ae,Ge.templateData,lt)}disposeTemplate(X){this.renderer.disposeTemplate(X.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=Object(f.f)(this.disposables)}}class Et extends Hi{constructor(X,ae,Ge,lt,Dt,Gt,ti={}){super(X,ae,Ge,Dt,Gt,ti),this.compressionDelegate=lt,this.compressibleNodeMapper=new U(ye=>new yi(ye)),this.filter=ti.filter}createTree(X,ae,Ge,lt,Dt){let Gt=new Se(Ge),ti=lt.map(le=>new kt(le,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),ye=function(le){let ue=le&&Ri(le);return ue&&Object.assign(Object.assign({},ue),{keyboardNavigationLabelProvider:ue.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},ue.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:qe=>le.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(qe.map(Ze=>Ze.element))})})}(Dt)||{};return new vi(X,ae,Gt,ti,ye)}asTreeElement(X,ae){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(X.element)},super.asTreeElement(X,ae))}updateOptions(X={}){this.tree.updateOptions(X)}render(X,ae){if(!this.identityProvider)return super.render(X,ae);let Ge=Ze=>this.identityProvider.getId(Ze).toString(),lt=Ze=>{let tt=new Set;for(let rt of Ze){let zt=this.tree.getCompressedTreeNode(rt===this.root?null:rt);if(zt.element)for(let Jt of zt.element.elements)tt.add(Ge(Jt.element))}return tt},Dt=lt(this.tree.getSelection()),Gt=lt(this.tree.getFocus());super.render(X,ae);let ti=this.getSelection(),ye=!1,le=this.getFocus(),ue=!1,qe=Ze=>{let tt=Ze.element;if(tt)for(let rt=0;rt<tt.elements.length;rt++){let zt=Ge(tt.elements[rt].element),Jt=tt.elements[tt.elements.length-1].element;Dt.has(zt)&&ti.indexOf(Jt)===-1&&(ti.push(Jt),ye=!0),Gt.has(zt)&&le.indexOf(Jt)===-1&&(le.push(Jt),ue=!0)}Ze.children.forEach(qe)};qe(this.tree.getCompressedTreeNode(X===this.root?null:X)),ye&&this.setSelection(ti),ue&&this.setFocus(le)}processChildren(X){return this.filter&&(X=g.a.filter(X,ae=>{let Ge=this.filter.filter(ae,1),lt=typeof(Dt=Ge)=="boolean"?Dt?1:0:xe(Dt)?Y(Dt.visibility):Y(Dt);var Dt;if(lt===2)throw new Error("Recursive tree visibility not supported in async data compressed trees");return lt===1})),super.processChildren(X)}}class si extends wt{constructor(X,ae,Ge,lt,Dt,Gt={}){super(X,ae,Ge,lt,Gt),this.user=X,this.dataSource=Dt,this.identityProvider=Gt.identityProvider}createModel(X,ae,Ge){return new Ni(X,ae,Ge)}}var Si=o(80),Pi=function(ft,X,ae,Ge){var lt,Dt=arguments.length,Gt=Dt<3?X:Ge===null?Ge=Object.getOwnPropertyDescriptor(X,ae):Ge;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Gt=Reflect.decorate(ft,X,ae,Ge);else for(var ti=ft.length-1;ti>=0;ti--)(lt=ft[ti])&&(Gt=(Dt<3?lt(Gt):Dt>3?lt(X,ae,Gt):lt(X,ae))||Gt);return Dt>3&&Gt&&Object.defineProperty(X,ae,Gt),Gt},Wi=function(ft,X){return function(ae,Ge){X(ae,Ge,ft)}};let xn=Object(V.c)("listService"),un=class{constructor(ft){this._themeService=ft,this.disposables=new f.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}register(ft,X){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;let Ge=new H.b(Object(h.v)(),"");this.disposables.add(Object(T.b)(Ge,this._themeService))}if(this.lists.some(Ge=>Ge.widget===ft))throw new Error("Cannot register the same widget multiple times");let ae={widget:ft,extraContextKeys:X};return this.lists.push(ae),ft.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=ft),Object(f.e)(ft.onDidFocus(()=>this._lastFocusedWidget=ft),Object(f.h)(()=>this.lists.splice(this.lists.indexOf(ae),1)),ft.onDidDispose(()=>{this.lists=this.lists.filter(Ge=>Ge!==ae),this._lastFocusedWidget===ft&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};un=Pi([Wi(0,N.c)],un);let bn=new P.c("listFocus",!0),Fn=new P.c("listSupportsMultiselect",!0),Mn=P.a.and(bn,P.a.not("inputFocus")),Nn=new P.c("listHasSelectionOrFocus",!1),Hn=new P.c("listDoubleSelection",!1),Jn=new P.c("listMultiSelection",!1),_o=new P.c("listSupportsKeyboardNavigation",!0),pn=new P.c("listAutomaticKeyboardNavigation",!0),Gn=!1;function on(ft,X){let ae=ft.createScoped(X.getHTMLElement());return bn.bindTo(ae),ae}let ho="workbench.list.horizontalScrolling",On="workbench.tree.indent",Dn="workbench.list.smoothScrolling";function qt(ft){return ft.getValue("workbench.list.multiSelectModifier")==="alt"}class I extends f.a{constructor(X){super(),this.configurationService=X,this.useAltAsMultipleSelectionModifier=qt(X),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(X=>{X.affectsConfiguration("workbench.list.multiSelectModifier")&&(this.useAltAsMultipleSelectionModifier=qt(this.configurationService))}))}isSelectionSingleChangeEvent(X){return this.useAltAsMultipleSelectionModifier?X.browserEvent.altKey:Object(H.h)(X)}isSelectionRangeChangeEvent(X){return Object(H.g)(X)}}function ne(ft,X,ae){let Ge=new f.b,lt=Object.assign({},ft);if(ft.multipleSelectionSupport!==!1&&!ft.multipleSelectionController){let Dt=new I(X);lt.multipleSelectionController=Dt,Ge.add(Dt)}return lt.keyboardNavigationDelegate={mightProducePrintableCharacter:Dt=>ae.mightProducePrintableCharacter(Dt)},lt.smoothScrolling=X.getValue(Dn),[lt,Ge]}let _e=class extends H.c{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le){let ue=lt.horizontalScrolling!==void 0?lt.horizontalScrolling:ye.getValue(ho),[qe,Ze]=ne(lt,ye,le);super(ft,X,ae,Ge,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(T.d)(ti.getColorTheme(),T.e)),qe),{horizontalScrolling:ue})),this.disposables.add(Ze),this.contextKeyService=on(Dt,this),this.themeService=ti,Fn.bindTo(this.contextKeyService).set(lt.multipleSelectionSupport!==!1),this.listHasSelectionOrFocus=Nn.bindTo(this.contextKeyService),this.listDoubleSelection=Hn.bindTo(this.contextKeyService),this.listMultiSelection=Jn.bindTo(this.contextKeyService),this.horizontalScrolling=lt.horizontalScrolling,this._useAltAsMultipleSelectionModifier=qt(ye),this.disposables.add(this.contextKeyService),this.disposables.add(Gt.register(this)),lt.overrideStyles&&this.updateStyles(lt.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{let tt=this.getSelection(),rt=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(tt.length>0||rt.length>0),this.listMultiSelection.set(tt.length>1),this.listDoubleSelection.set(tt.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{let tt=this.getSelection(),rt=this.getFocus();this.listHasSelectionOrFocus.set(tt.length>0||rt.length>0)})),this.disposables.add(ye.onDidChangeConfiguration(tt=>{tt.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=qt(ye));let rt={};if(tt.affectsConfiguration(ho)&&this.horizontalScrolling===void 0){let zt=ye.getValue(ho);rt=Object.assign(Object.assign({},rt),{horizontalScrolling:zt})}if(tt.affectsConfiguration(Dn)){let zt=ye.getValue(Dn);rt=Object.assign(Object.assign({},rt),{smoothScrolling:zt})}Object.keys(rt).length>0&&this.updateOptions(rt)}))}updateOptions(ft){super.updateOptions(ft),ft.overrideStyles&&this.updateStyles(ft.overrideStyles)}dispose(){super.dispose(),this._styler&&this._styler.dispose()}updateStyles(ft){this._styler&&this._styler.dispose(),this._styler=Object(T.b)(this,this.themeService,ft)}};_e=Pi([Wi(5,P.b),Wi(6,xn),Wi(7,N.c),Wi(8,C.a),Wi(9,k.a)],_e);let Fe=class extends class{constructor(ft,X,ae,Ge,lt={}){let Dt=()=>this.model,Gt=Ge.map(ti=>new W(ti,Dt));this.list=new H.c(ft,X,ae,Gt,function(ti,ye){return Object.assign(Object.assign({},ye),{accessibilityProvider:ye.accessibilityProvider&&new Q(ti,ye.accessibilityProvider)})}(Dt,lt))}updateOptions(ft){this.list.updateOptions(ft)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return E.b.map(this.list.onMouseDblClick,({element:ft,index:X,browserEvent:ae})=>({element:ft===void 0?void 0:this._model.get(ft),index:X,browserEvent:ae}))}get onPointer(){return E.b.map(this.list.onPointer,({element:ft,index:X,browserEvent:ae})=>({element:ft===void 0?void 0:this._model.get(ft),index:X,browserEvent:ae}))}get onDidChangeFocus(){return E.b.map(this.list.onDidChangeFocus,({elements:ft,indexes:X,browserEvent:ae})=>({elements:ft.map(Ge=>this._model.get(Ge)),indexes:X,browserEvent:ae}))}get onDidChangeSelection(){return E.b.map(this.list.onDidChangeSelection,({elements:ft,indexes:X,browserEvent:ae})=>({elements:ft.map(Ge=>this._model.get(Ge)),indexes:X,browserEvent:ae}))}get model(){return this._model}set model(ft){this._model=ft,this.list.splice(0,this.list.length,Object(D.s)(ft.length))}getFocus(){return this.list.getFocus()}setSelection(ft,X){this.list.setSelection(ft,X)}getSelection(){return this.list.getSelection()}style(ft){this.list.style(ft)}dispose(){this.list.dispose()}}{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le){let ue=lt.horizontalScrolling!==void 0?lt.horizontalScrolling:ye.getValue(ho),[qe,Ze]=ne(lt,ye,le);super(ft,X,ae,Ge,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(T.d)(ti.getColorTheme(),T.e)),qe),{horizontalScrolling:ue})),this.disposables=new f.b,this.disposables.add(Ze),this.contextKeyService=on(Dt,this),this.horizontalScrolling=lt.horizontalScrolling,Fn.bindTo(this.contextKeyService).set(lt.multipleSelectionSupport!==!1),this._useAltAsMultipleSelectionModifier=qt(ye),this.disposables.add(this.contextKeyService),this.disposables.add(Gt.register(this)),lt.overrideStyles&&this.disposables.add(Object(T.b)(this,ti,lt.overrideStyles)),this.disposables.add(ye.onDidChangeConfiguration(tt=>{tt.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=qt(ye));let rt={};if(tt.affectsConfiguration(ho)&&this.horizontalScrolling===void 0){let zt=ye.getValue(ho);rt=Object.assign(Object.assign({},rt),{horizontalScrolling:zt})}if(tt.affectsConfiguration(Dn)){let zt=ye.getValue(Dn);rt=Object.assign(Object.assign({},rt),{smoothScrolling:zt})}Object.keys(rt).length>0&&this.updateOptions(rt)}))}dispose(){super.dispose(),this.disposables.dispose()}};Fe=Pi([Wi(5,P.b),Wi(6,xn),Wi(7,N.c),Wi(8,C.a),Wi(9,k.a)],Fe);class Xe extends f.a{constructor(X,ae){var Ge,lt;super(),this.widget=X,this._onDidOpen=new E.a,this.onDidOpen=this._onDidOpen.event,this.openOnFocus=(Ge=ae==null?void 0:ae.openOnFocus)!==null&&Ge!==void 0&&Ge,this._register(E.b.filter(this.widget.onDidChangeSelection,Dt=>Dt.browserEvent instanceof KeyboardEvent)(Dt=>this.onSelectionFromKeyboard(Dt))),this._register(this.widget.onPointer(Dt=>this.onPointer(Dt.browserEvent))),this._register(this.widget.onMouseDblClick(Dt=>this.onMouseDblClick(Dt.browserEvent))),this.openOnFocus&&this._register(E.b.filter(this.widget.onDidChangeFocus,Dt=>Dt.browserEvent instanceof KeyboardEvent)(Dt=>this.onFocusFromKeyboard(Dt))),typeof(ae==null?void 0:ae.openOnSingleClick)!="boolean"&&(ae==null?void 0:ae.configurationService)?(this.openOnSingleClick=(ae==null?void 0:ae.configurationService.getValue("workbench.list.openMode"))!=="doubleClick",this._register(ae==null?void 0:ae.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick=(ae==null?void 0:ae.configurationService.getValue("workbench.list.openMode"))!=="doubleClick"}))):this.openOnSingleClick=(lt=ae==null?void 0:ae.openOnSingleClick)===null||lt===void 0||lt}onFocusFromKeyboard(X){let ae=this.widget.getFocus();this.widget.setSelection(ae,X.browserEvent);let Ge=typeof X.browserEvent.preserveFocus!="boolean"||X.browserEvent.preserveFocus;this._open(Ge,!1,!1,X.browserEvent)}onSelectionFromKeyboard(X){if(X.elements.length!==1)return;let ae=typeof X.browserEvent.preserveFocus!="boolean"||X.browserEvent.preserveFocus;this._open(ae,!1,!1,X.browserEvent)}onPointer(X){if(!this.openOnSingleClick||X.detail===2)return;let ae=X.button===1,Ge=X.ctrlKey||X.metaKey||X.altKey;this._open(!0,ae,Ge,X)}onMouseDblClick(X){if(!X)return;let ae=X.ctrlKey||X.metaKey||X.altKey;this._open(!1,!0,ae,X)}_open(X,ae,Ge,lt){this._onDidOpen.fire({editorOptions:{preserveFocus:X,pinned:ae,revealIfVisible:!0},sideBySide:Ge,element:this.widget.getSelection()[0],browserEvent:lt})}}class ot extends Xe{constructor(X,ae){super(X,ae)}}function Mt(ft,X){let ae=!1;return Ge=>{if(ae)return ae=!1,!1;let lt=X.softDispatch(Ge,ft);return lt&<.enterChord?(ae=!0,!1):(ae=!1,!0)}}let Ot=class extends Di{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le,ue){let{options:qe,getAutomaticKeyboardNavigation:Ze,disposable:tt}=wi(X,lt,Dt,ye,le,ue);super(ft,X,ae,Ge,qe),this.disposables.add(tt),this.internals=new Ti(this,lt,Ze,lt.overrideStyles,Dt,Gt,ti,ye,ue),this.disposables.add(this.internals)}};Ot=Pi([Wi(5,P.b),Wi(6,xn),Wi(7,N.c),Wi(8,C.a),Wi(9,k.a),Wi(10,Si.b)],Ot);let Tt=class extends vi{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le,ue){let{options:qe,getAutomaticKeyboardNavigation:Ze,disposable:tt}=wi(X,lt,Dt,ye,le,ue);super(ft,X,ae,Ge,qe),this.disposables.add(tt),this.internals=new Ti(this,lt,Ze,lt.overrideStyles,Dt,Gt,ti,ye,ue),this.disposables.add(this.internals)}updateOptions(ft={}){super.updateOptions(ft),ft.overrideStyles&&this.internals.updateStyleOverrides(ft.overrideStyles)}};Tt=Pi([Wi(5,P.b),Wi(6,xn),Wi(7,N.c),Wi(8,C.a),Wi(9,k.a),Wi(10,Si.b)],Tt);let Ht=class extends si{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le,ue,qe){let{options:Ze,getAutomaticKeyboardNavigation:tt,disposable:rt}=wi(X,Dt,Gt,le,ue,qe);super(ft,X,ae,Ge,lt,Ze),this.disposables.add(rt),this.internals=new Ti(this,Dt,tt,Dt.overrideStyles,Gt,ti,ye,le,qe),this.disposables.add(this.internals)}updateOptions(ft={}){super.updateOptions(ft),ft.overrideStyles&&this.internals.updateStyleOverrides(ft.overrideStyles)}};Ht=Pi([Wi(6,P.b),Wi(7,xn),Wi(8,N.c),Wi(9,C.a),Wi(10,k.a),Wi(11,Si.b)],Ht);let jt=class extends Hi{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le,ue,qe){let{options:Ze,getAutomaticKeyboardNavigation:tt,disposable:rt}=wi(X,Dt,Gt,le,ue,qe);super(ft,X,ae,Ge,lt,Ze),this.disposables.add(rt),this.internals=new Ti(this,Dt,tt,Dt.overrideStyles,Gt,ti,ye,le,qe),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(ft={}){super.updateOptions(ft),ft.overrideStyles&&this.internals.updateStyleOverrides(ft.overrideStyles)}};jt=Pi([Wi(6,P.b),Wi(7,xn),Wi(8,N.c),Wi(9,C.a),Wi(10,k.a),Wi(11,Si.b)],jt);let Kt=class extends Et{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye,le,ue,qe,Ze){let{options:tt,getAutomaticKeyboardNavigation:rt,disposable:zt}=wi(X,Gt,ti,ue,qe,Ze);super(ft,X,ae,Ge,lt,Dt,tt),this.disposables.add(zt),this.internals=new Ti(this,Gt,rt,Gt.overrideStyles,ti,ye,le,ue,Ze),this.disposables.add(this.internals)}};function wi(ft,X,ae,Ge,lt,Dt){_o.bindTo(ae),Gn||(pn.bindTo(ae),Gn=!0);let Gt=()=>{let Ze=ae.getContextKeyValue("listAutomaticKeyboardNavigation");return Ze&&(Ze=Ge.getValue("workbench.list.automaticKeyboardNavigation")),Ze},ti=Dt.isScreenReaderOptimized()?"simple":Ge.getValue("workbench.list.keyboardNavigation"),ye=X.horizontalScrolling!==void 0?X.horizontalScrolling:Ge.getValue(ho),[le,ue]=ne(X,Ge,lt),qe=X.additionalScrollHeight;return{getAutomaticKeyboardNavigation:Gt,disposable:ue,options:Object.assign(Object.assign({keyboardSupport:!1},le),{indent:Ge.getValue(On),renderIndentGuides:Ge.getValue("workbench.tree.renderIndentGuides"),smoothScrolling:Ge.getValue(Dn),automaticKeyboardNavigation:Gt(),simpleKeyboardNavigation:ti==="simple",filterOnType:ti==="filter",horizontalScrolling:ye,keyboardNavigationEventFilter:Mt(ft,lt),additionalScrollHeight:qe,hideTwistiesOfChildlessElements:X.hideTwistiesOfChildlessElements,expandOnlyOnDoubleClick:Ge.getValue("workbench.list.openMode")==="doubleClick"})}}Kt=Pi([Wi(7,P.b),Wi(8,xn),Wi(9,N.c),Wi(10,C.a),Wi(11,k.a),Wi(12,Si.b)],Kt);let Ti=class{constructor(ft,X,ae,Ge,lt,Dt,Gt,ti,ye){this.tree=ft,this.themeService=Gt,this.disposables=[],this.contextKeyService=on(lt,ft),Fn.bindTo(this.contextKeyService).set(X.multipleSelectionSupport!==!1),this.hasSelectionOrFocus=Nn.bindTo(this.contextKeyService),this.hasDoubleSelection=Hn.bindTo(this.contextKeyService),this.hasMultiSelection=Jn.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=qt(ti);let le=new Set;le.add("listAutomaticKeyboardNavigation");let ue=()=>{let qe=ye.isScreenReaderOptimized()?"simple":ti.getValue("workbench.list.keyboardNavigation");ft.updateOptions({simpleKeyboardNavigation:qe==="simple",filterOnType:qe==="filter"})};this.updateStyleOverrides(Ge),this.disposables.push(this.contextKeyService,Dt.register(ft),ft.onDidChangeSelection(()=>{let qe=ft.getSelection(),Ze=ft.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(qe.length>0||Ze.length>0),this.hasMultiSelection.set(qe.length>1),this.hasDoubleSelection.set(qe.length===2)})}),ft.onDidChangeFocus(()=>{let qe=ft.getSelection(),Ze=ft.getFocus();this.hasSelectionOrFocus.set(qe.length>0||Ze.length>0)}),ti.onDidChangeConfiguration(qe=>{let Ze={};if(qe.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=qt(ti)),qe.affectsConfiguration(On)){let tt=ti.getValue(On);Ze=Object.assign(Object.assign({},Ze),{indent:tt})}if(qe.affectsConfiguration("workbench.tree.renderIndentGuides")){let tt=ti.getValue("workbench.tree.renderIndentGuides");Ze=Object.assign(Object.assign({},Ze),{renderIndentGuides:tt})}if(qe.affectsConfiguration(Dn)){let tt=ti.getValue(Dn);Ze=Object.assign(Object.assign({},Ze),{smoothScrolling:tt})}if(qe.affectsConfiguration("workbench.list.keyboardNavigation")&&ue(),qe.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&(Ze=Object.assign(Object.assign({},Ze),{automaticKeyboardNavigation:ae()})),qe.affectsConfiguration(ho)&&X.horizontalScrolling===void 0){let tt=ti.getValue(ho);Ze=Object.assign(Object.assign({},Ze),{horizontalScrolling:tt})}qe.affectsConfiguration("workbench.list.openMode")&&(Ze=Object.assign(Object.assign({},Ze),{expandOnlyOnDoubleClick:ti.getValue("workbench.list.openMode")==="doubleClick"})),Object.keys(Ze).length>0&&ft.updateOptions(Ze)}),this.contextKeyService.onDidChangeContext(qe=>{qe.affectsSome(le)&&ft.updateOptions({automaticKeyboardNavigation:ae()})}),ye.onDidChangeScreenReaderOptimized(()=>ue())),this.navigator=new ot(ft,Object.assign({configurationService:ti},X)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateStyleOverrides(ft){Object(f.f)(this.styler),this.styler=ft?Object(T.b)(this.tree,this.themeService,ft):f.a.None}dispose(){this.disposables=Object(f.f)(this.disposables),Object(f.f)(this.styler),this.styler=void 0}};Ti=Pi([Wi(4,P.b),Wi(5,xn),Wi(6,N.c),Wi(7,C.a),Wi(8,Si.b)],Ti),l.a.as(S.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(y.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{"workbench.list.multiSelectModifier":{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(y.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(y.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(y.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},"workbench.list.openMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(y.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},[ho]:{type:"boolean",default:!1,description:Object(y.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[On]:{type:"number",default:8,minimum:0,maximum:40,description:Object(y.a)("tree indent setting","Controls tree indentation in pixels.")},"workbench.tree.renderIndentGuides":{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(y.a)("render tree indent guides","Controls whether the tree should render indent guides.")},[Dn]:{type:"boolean",default:!1,description:Object(y.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},"workbench.list.keyboardNavigation":{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(y.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(y.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(y.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(y.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},"workbench.list.automaticKeyboardNavigation":{type:"boolean",default:!0,markdownDescription:Object(y.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")}}})},function(Ie,w){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(h){typeof window=="object"&&(o=window)}Ie.exports=o},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(34),f=o(11);let D={clipboard:{writeText:f.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:f.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(h.f){let H=navigator.userAgent.indexOf("Edge/"),E=parseInt(navigator.userAgent.substring(H+5,navigator.userAgent.indexOf(".",H)),10);if(!E||E>=12&&E<=16)return!1}return!0})()},keyboard:f.g||h.k?0:navigator.keyboard||h.j?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("themeService")},function(Ie,w,o){"use strict";(function(h){o.d(w,"a",function(){return P});var f,D,H,E=(f=function(U,q){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,se){B.__proto__=se}||function(B,se){for(var ke in se)se.hasOwnProperty(ke)&&(B[ke]=se[ke])})(U,q)},function(U,q){function B(){this.constructor=U}f(U,q),U.prototype=q===null?Object.create(q):(B.prototype=q.prototype,new B)});if(typeof h=="object")H=h.platform==="win32";else if(typeof navigator=="object"){var ge=navigator.userAgent;H=ge.indexOf("Windows")>=0}var W=/^\w[\w\d+.-]*$/,Q=/^\//,y=/^\/\//,C="/",S=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,P=function(){function U(q,B,se,ke,xe,Y){Y===void 0&&(Y=!1),typeof q=="object"?(this.scheme=q.scheme||"",this.authority=q.authority||"",this.path=q.path||"",this.query=q.query||"",this.fragment=q.fragment||""):(this.scheme=function(Z,te){return Z||te?Z:"file"}(q,Y),this.authority=B||"",this.path=function(Z,te){switch(Z){case"https":case"http":case"file":te?te[0]!==C&&(te=C+te):te=C}return te}(this.scheme,se||""),this.query=ke||"",this.fragment=xe||"",function(Z,te){if(!Z.scheme&&te)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+Z.authority+'", path: "'+Z.path+'", query: "'+Z.query+'", fragment: "'+Z.fragment+'"}');if(Z.scheme&&!W.test(Z.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Z.path){if(Z.authority){if(!Q.test(Z.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(y.test(Z.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,Y))}return U.isUri=function(q){return q instanceof U||!!q&&typeof q.authority=="string"&&typeof q.fragment=="string"&&typeof q.path=="string"&&typeof q.query=="string"&&typeof q.scheme=="string"&&typeof q.fsPath=="function"&&typeof q.with=="function"&&typeof q.toString=="function"},Object.defineProperty(U.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!0,configurable:!0}),U.prototype.with=function(q){if(!q)return this;var B=q.scheme,se=q.authority,ke=q.path,xe=q.query,Y=q.fragment;return B===void 0?B=this.scheme:B===null&&(B=""),se===void 0?se=this.authority:se===null&&(se=""),ke===void 0?ke=this.path:ke===null&&(ke=""),xe===void 0?xe=this.query:xe===null&&(xe=""),Y===void 0?Y=this.fragment:Y===null&&(Y=""),B===this.scheme&&se===this.authority&&ke===this.path&&xe===this.query&&Y===this.fragment?this:new k(B,se,ke,xe,Y)},U.parse=function(q,B){B===void 0&&(B=!1);var se=S.exec(q);return se?new k(se[2]||"",ie(se[4]||""),ie(se[5]||""),ie(se[7]||""),ie(se[9]||""),B):new k("","","","","")},U.file=function(q){var B="";if(H&&(q=q.replace(/\\/g,C)),q[0]===C&&q[1]===C){var se=q.indexOf(C,2);se===-1?(B=q.substring(2),q=C):(B=q.substring(2,se),q=q.substring(se)||C)}return new k("file",B,q,"","")},U.from=function(q){return new k(q.scheme,q.authority,q.path,q.query,q.fragment)},U.prototype.toString=function(q){return q===void 0&&(q=!1),g(this,q)},U.prototype.toJSON=function(){return this},U.revive=function(q){if(q){if(q instanceof U)return q;var B=new k(q);return B._formatted=q.external,B._fsPath=q._sep===V?q.fsPath:null,B}return q},U}(),V=H?1:void 0,k=function(U){function q(){var B=U!==null&&U.apply(this,arguments)||this;return B._formatted=null,B._fsPath=null,B}return E(q,U),Object.defineProperty(q.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),q.prototype.toString=function(B){return B===void 0&&(B=!1),B?g(this,!0):(this._formatted||(this._formatted=g(this,!1)),this._formatted)},q.prototype.toJSON=function(){var B={$mid:1};return this._fsPath&&(B.fsPath=this._fsPath,B._sep=V),this._formatted&&(B.external=this._formatted),this.path&&(B.path=this.path),this.scheme&&(B.scheme=this.scheme),this.authority&&(B.authority=this.authority),this.query&&(B.query=this.query),this.fragment&&(B.fragment=this.fragment),B},q}(P),l=((D={})[58]="%3A",D[47]="%2F",D[63]="%3F",D[35]="%23",D[91]="%5B",D[93]="%5D",D[64]="%40",D[33]="%21",D[36]="%24",D[38]="%26",D[39]="%27",D[40]="%28",D[41]="%29",D[42]="%2A",D[43]="%2B",D[44]="%2C",D[59]="%3B",D[61]="%3D",D[32]="%20",D);function T(U,q){for(var B=void 0,se=-1,ke=0;ke<U.length;ke++){var xe=U.charCodeAt(ke);if(xe>=97&&xe<=122||xe>=65&&xe<=90||xe>=48&&xe<=57||xe===45||xe===46||xe===95||xe===126||q&&xe===47)se!==-1&&(B+=encodeURIComponent(U.substring(se,ke)),se=-1),B!==void 0&&(B+=U.charAt(ke));else{B===void 0&&(B=U.substr(0,ke));var Y=l[xe];Y!==void 0?(se!==-1&&(B+=encodeURIComponent(U.substring(se,ke)),se=-1),B+=Y):se===-1&&(se=ke)}}return se!==-1&&(B+=encodeURIComponent(U.substring(se))),B!==void 0?B:U}function N(U){for(var q=void 0,B=0;B<U.length;B++){var se=U.charCodeAt(B);se===35||se===63?(q===void 0&&(q=U.substr(0,B)),q+=l[se]):q!==void 0&&(q+=U[B])}return q!==void 0?q:U}function b(U,q){var B;return B=U.authority&&U.path.length>1&&U.scheme==="file"?"//"+U.authority+U.path:U.path.charCodeAt(0)===47&&(U.path.charCodeAt(1)>=65&&U.path.charCodeAt(1)<=90||U.path.charCodeAt(1)>=97&&U.path.charCodeAt(1)<=122)&&U.path.charCodeAt(2)===58?q?U.path.substr(1):U.path[1].toLowerCase()+U.path.substr(2):U.path,H&&(B=B.replace(/\//g,"\\")),B}function g(U,q){var B=q?N:T,se="",ke=U.scheme,xe=U.authority,Y=U.path,Z=U.query,te=U.fragment;if(ke&&(se+=ke,se+=":"),(xe||ke==="file")&&(se+=C,se+=C),xe){var he=xe.indexOf("@");if(he!==-1){var Ce=xe.substr(0,he);xe=xe.substr(he+1),(he=Ce.indexOf(":"))===-1?se+=B(Ce,!1):(se+=B(Ce.substr(0,he),!1),se+=":",se+=B(Ce.substr(he+1),!1)),se+="@"}(he=(xe=xe.toLowerCase()).indexOf(":"))===-1?se+=B(xe,!1):(se+=B(xe.substr(0,he),!1),se+=xe.substr(he))}if(Y){if(Y.length>=3&&Y.charCodeAt(0)===47&&Y.charCodeAt(2)===58)(Ae=Y.charCodeAt(1))>=65&&Ae<=90&&(Y="/"+String.fromCharCode(Ae+32)+":"+Y.substr(3));else if(Y.length>=2&&Y.charCodeAt(1)===58){var Ae;(Ae=Y.charCodeAt(0))>=65&&Ae<=90&&(Y=String.fromCharCode(Ae+32)+":"+Y.substr(2))}se+=B(Y,!0)}return Z&&(se+="?",se+=B(Z,!1)),te&&(se+="#",se+=q?te:T(te,!1)),se}var j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ie(U){return U.match(j)?U.replace(j,function(q){return function B(se){try{return decodeURIComponent(se)}catch(ke){return se.length>3?se.substr(0,3)+B(se.substr(3)):se}}(q)}):U}}).call(this,o(86))},function(Ie,w,o){"use strict";o.d(w,"b",function(){return h}),o.d(w,"a",function(){return f});let h={ctrlCmd:!1,alt:!1};var f;(function(D){D[D.NONE=0]="NONE",D[D.FIRST=1]="FIRST",D[D.SECOND=2]="SECOND",D[D.LAST=3]="LAST"})(f||(f={}))},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return f}),o.d(w,"language",function(){return D});var h=o(95),f={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:h.a.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:h.a.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:h.a.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:h.a.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},D={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}},function(Ie,w,o){"use strict";function h(D){return D&&typeof D.id=="string"}o.d(w,"b",function(){return h}),o.d(w,"a",function(){return f});let f={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},function(Ie,w,o){"use strict";(function(h){o.d(w,"a",function(){return P});var f,D,H,E=(f=function(U,q){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,se){B.__proto__=se}||function(B,se){for(var ke in se)se.hasOwnProperty(ke)&&(B[ke]=se[ke])})(U,q)},function(U,q){function B(){this.constructor=U}f(U,q),U.prototype=q===null?Object.create(q):(B.prototype=q.prototype,new B)});if(typeof h=="object")H=h.platform==="win32";else if(typeof navigator=="object"){var ge=navigator.userAgent;H=ge.indexOf("Windows")>=0}var W=/^\w[\w\d+.-]*$/,Q=/^\//,y=/^\/\//,C="/",S=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,P=function(){function U(q,B,se,ke,xe,Y){Y===void 0&&(Y=!1),typeof q=="object"?(this.scheme=q.scheme||"",this.authority=q.authority||"",this.path=q.path||"",this.query=q.query||"",this.fragment=q.fragment||""):(this.scheme=function(Z,te){return Z||te?Z:"file"}(q,Y),this.authority=B||"",this.path=function(Z,te){switch(Z){case"https":case"http":case"file":te?te[0]!==C&&(te=C+te):te=C}return te}(this.scheme,se||""),this.query=ke||"",this.fragment=xe||"",function(Z,te){if(!Z.scheme&&te)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+Z.authority+'", path: "'+Z.path+'", query: "'+Z.query+'", fragment: "'+Z.fragment+'"}');if(Z.scheme&&!W.test(Z.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Z.path){if(Z.authority){if(!Q.test(Z.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(y.test(Z.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,Y))}return U.isUri=function(q){return q instanceof U||!!q&&typeof q.authority=="string"&&typeof q.fragment=="string"&&typeof q.path=="string"&&typeof q.query=="string"&&typeof q.scheme=="string"&&typeof q.fsPath=="function"&&typeof q.with=="function"&&typeof q.toString=="function"},Object.defineProperty(U.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!0,configurable:!0}),U.prototype.with=function(q){if(!q)return this;var B=q.scheme,se=q.authority,ke=q.path,xe=q.query,Y=q.fragment;return B===void 0?B=this.scheme:B===null&&(B=""),se===void 0?se=this.authority:se===null&&(se=""),ke===void 0?ke=this.path:ke===null&&(ke=""),xe===void 0?xe=this.query:xe===null&&(xe=""),Y===void 0?Y=this.fragment:Y===null&&(Y=""),B===this.scheme&&se===this.authority&&ke===this.path&&xe===this.query&&Y===this.fragment?this:new k(B,se,ke,xe,Y)},U.parse=function(q,B){B===void 0&&(B=!1);var se=S.exec(q);return se?new k(se[2]||"",ie(se[4]||""),ie(se[5]||""),ie(se[7]||""),ie(se[9]||""),B):new k("","","","","")},U.file=function(q){var B="";if(H&&(q=q.replace(/\\/g,C)),q[0]===C&&q[1]===C){var se=q.indexOf(C,2);se===-1?(B=q.substring(2),q=C):(B=q.substring(2,se),q=q.substring(se)||C)}return new k("file",B,q,"","")},U.from=function(q){return new k(q.scheme,q.authority,q.path,q.query,q.fragment)},U.prototype.toString=function(q){return q===void 0&&(q=!1),g(this,q)},U.prototype.toJSON=function(){return this},U.revive=function(q){if(q){if(q instanceof U)return q;var B=new k(q);return B._formatted=q.external,B._fsPath=q._sep===V?q.fsPath:null,B}return q},U}(),V=H?1:void 0,k=function(U){function q(){var B=U!==null&&U.apply(this,arguments)||this;return B._formatted=null,B._fsPath=null,B}return E(q,U),Object.defineProperty(q.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),q.prototype.toString=function(B){return B===void 0&&(B=!1),B?g(this,!0):(this._formatted||(this._formatted=g(this,!1)),this._formatted)},q.prototype.toJSON=function(){var B={$mid:1};return this._fsPath&&(B.fsPath=this._fsPath,B._sep=V),this._formatted&&(B.external=this._formatted),this.path&&(B.path=this.path),this.scheme&&(B.scheme=this.scheme),this.authority&&(B.authority=this.authority),this.query&&(B.query=this.query),this.fragment&&(B.fragment=this.fragment),B},q}(P),l=((D={})[58]="%3A",D[47]="%2F",D[63]="%3F",D[35]="%23",D[91]="%5B",D[93]="%5D",D[64]="%40",D[33]="%21",D[36]="%24",D[38]="%26",D[39]="%27",D[40]="%28",D[41]="%29",D[42]="%2A",D[43]="%2B",D[44]="%2C",D[59]="%3B",D[61]="%3D",D[32]="%20",D);function T(U,q){for(var B=void 0,se=-1,ke=0;ke<U.length;ke++){var xe=U.charCodeAt(ke);if(xe>=97&&xe<=122||xe>=65&&xe<=90||xe>=48&&xe<=57||xe===45||xe===46||xe===95||xe===126||q&&xe===47)se!==-1&&(B+=encodeURIComponent(U.substring(se,ke)),se=-1),B!==void 0&&(B+=U.charAt(ke));else{B===void 0&&(B=U.substr(0,ke));var Y=l[xe];Y!==void 0?(se!==-1&&(B+=encodeURIComponent(U.substring(se,ke)),se=-1),B+=Y):se===-1&&(se=ke)}}return se!==-1&&(B+=encodeURIComponent(U.substring(se))),B!==void 0?B:U}function N(U){for(var q=void 0,B=0;B<U.length;B++){var se=U.charCodeAt(B);se===35||se===63?(q===void 0&&(q=U.substr(0,B)),q+=l[se]):q!==void 0&&(q+=U[B])}return q!==void 0?q:U}function b(U,q){var B;return B=U.authority&&U.path.length>1&&U.scheme==="file"?"//"+U.authority+U.path:U.path.charCodeAt(0)===47&&(U.path.charCodeAt(1)>=65&&U.path.charCodeAt(1)<=90||U.path.charCodeAt(1)>=97&&U.path.charCodeAt(1)<=122)&&U.path.charCodeAt(2)===58?q?U.path.substr(1):U.path[1].toLowerCase()+U.path.substr(2):U.path,H&&(B=B.replace(/\//g,"\\")),B}function g(U,q){var B=q?N:T,se="",ke=U.scheme,xe=U.authority,Y=U.path,Z=U.query,te=U.fragment;if(ke&&(se+=ke,se+=":"),(xe||ke==="file")&&(se+=C,se+=C),xe){var he=xe.indexOf("@");if(he!==-1){var Ce=xe.substr(0,he);xe=xe.substr(he+1),(he=Ce.indexOf(":"))===-1?se+=B(Ce,!1):(se+=B(Ce.substr(0,he),!1),se+=":",se+=B(Ce.substr(he+1),!1)),se+="@"}(he=(xe=xe.toLowerCase()).indexOf(":"))===-1?se+=B(xe,!1):(se+=B(xe.substr(0,he),!1),se+=xe.substr(he))}if(Y){if(Y.length>=3&&Y.charCodeAt(0)===47&&Y.charCodeAt(2)===58)(Ae=Y.charCodeAt(1))>=65&&Ae<=90&&(Y="/"+String.fromCharCode(Ae+32)+":"+Y.substr(3));else if(Y.length>=2&&Y.charCodeAt(1)===58){var Ae;(Ae=Y.charCodeAt(0))>=65&&Ae<=90&&(Y=String.fromCharCode(Ae+32)+":"+Y.substr(2))}se+=B(Y,!0)}return Z&&(se+="?",se+=B(Z,!1)),te&&(se+="#",se+=q?te:T(te,!1)),se}var j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ie(U){return U.match(j)?U.replace(j,function(q){return function B(se){try{return decodeURIComponent(se)}catch(ke){return se.length>3?se.substr(0,3)+B(se.substr(3)):se}}(q)}):U}}).call(this,o(86))},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o(214);let h="monaco-mouse-cursor-text"},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o.d(w,"c",function(){return W}),o.d(w,"b",function(){return Q});var h=o(0),f=o(6),D=o(12),H=o(39),E=o(56);let ge=new class{constructor(){this._onDidChangeLanguages=new f.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(y){return this._languages.push(y),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let C=0,S=this._languages.length;C<S;C++)if(this._languages[C]===y)return void this._languages.splice(C,1)}}}getLanguages(){return[].concat(this._languages).concat(this._dynamicLanguages)}};E.a.add("editor.modesRegistry",ge);let W="plaintext",Q=new D.r(W,1);ge.registerLanguage({id:W,extensions:[".txt"],aliases:[h.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),H.a.register(Q,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h}),o.d(w,"b",function(){return f});class h{constructor(H){this._prefix=H,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}let f=new h("id#")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E}),o.d(w,"c",function(){return ge});var h=o(18),f=o(23),D=o(14);let H=Object(h.c)("IWorkspaceEditService");class E{constructor(y){this.metadata=y}static convert(y){return y.edits.map(C=>{if(S=C,Object(D.i)(S)&&f.a.isUri(S.resource)&&Object(D.i)(S.edit))return new ge(C.resource,C.edit,C.modelVersionId,C.metadata);var S;if(function(P){return Object(D.i)(P)&&(Boolean(P.newUri)||Boolean(P.oldUri))}(C))return new W(C.oldUri,C.newUri,C.options,C.metadata);throw new Error("Unsupported edit")})}}class ge extends E{constructor(y,C,S,P){super(P),this.resource=y,this.textEdit=C,this.versionId=S,this.metadata=P}}class W extends E{constructor(y,C,S,P){super(P),this.oldResource=y,this.newResource=C,this.options=S,this.metadata=P}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h});class h{constructor(...D){this._entries=new Map;for(let[H,E]of D)this.set(H,E)}set(D,H){let E=this._entries.get(D);return this._entries.set(D,H),E}has(D){return this._entries.has(D)}get(D){return this._entries.get(D)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});var h=o(18);let f=Object(h.c)("undoRedoService");class D{constructor(E,ge){this.resource=E,this.elements=ge}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D}),o.d(w,"c",function(){return H}),o.d(w,"b",function(){return E});var h=o(71),f=o(8);let D="$(";function H(ge){let W=ge.indexOf(D);return W===-1?{text:ge}:function(Q,y){let C=[],S="";function P(j){if(j){S+=j;for(let ie of j)C.push(N)}}let V,k,l=-1,T="",N=0,b=y,g=Q.length;for(P(Q.substr(0,y));b<g;)V=Q[b],k=Q[b+1],V===D[0]&&k===D[1]?(l=b,P(T),T=D,b++):V===")"&&l!==-1?(N+=b-l+1,l=-1,T=""):l!==-1?/^[a-z0-9\-]$/i.test(V)?T+=V:(P(T),l=-1,T=""):P(V),b++;return P(T),{text:S,codiconOffsets:C}}(ge,W)}function E(ge,W,Q=!1){let{text:y,codiconOffsets:C}=W;if(!C||C.length===0)return Object(h.g)(ge,y,Q);let S=Object(f.K)(y," "),P=y.length-S.length,V=Object(h.g)(ge,S,Q);if(V)for(let k of V){let l=C[k.start+P]+P;k.start+=l,k.end+=l}return V}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});var h=o(18);let f=Object(h.c)("textResourceConfigurationService"),D=Object(h.c)("textResourcePropertiesService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return C}),o(246);var h=o(2),f=o(11),D=o(14),H=o(61),E=o(69),ge=o(6),W=o(1),Q=o(44);let y=new ge.a;class C extends h.a{constructor(P,V,k){super(),this._state=3,this._onDidEnablementChange=this._register(new ge.a),this.onDidEnablementChange=this._onDidEnablementChange.event,this._onDidStart=this._register(new ge.a),this.onDidStart=this._onDidStart.event,this._onDidChange=this._register(new ge.a),this.onDidChange=this._onDidChange.event,this._onDidReset=this._register(new ge.a),this.onDidReset=this._onDidReset.event,this._onDidEnd=this._register(new ge.a),this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.orthogonalStartSashDisposables=this._register(new h.b),this.orthogonalEndSashDisposables=this._register(new h.b),this.el=Object(W.p)(P,Object(W.a)(".monaco-sash")),f.f&&Object(W.e)(this.el,"mac"),this._register(Object(Q.a)(this.el,"mousedown")(this.onMouseDown,this)),this._register(Object(Q.a)(this.el,"dblclick")(this.onMouseDoubleClick,this)),this._register(H.b.addTarget(this.el)),this._register(Object(Q.a)(this.el,H.a.Start)(this.onTouchStart,this)),typeof k.size=="number"?(this.size=k.size,k.orientation===0?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=4,this._register(y.event(l=>{this.size=l,this.layout()}))),this.hidden=!1,this.layoutProvider=V,this.orthogonalStartSash=k.orthogonalStartSash,this.orthogonalEndSash=k.orthogonalEndSash,this.orientation=k.orientation||0,this.orientation===1?(Object(W.e)(this.el,"horizontal"),Object(W.Q)(this.el,"vertical")):(Object(W.Q)(this.el,"horizontal"),Object(W.e)(this.el,"vertical")),Object(W.ab)(this.el,"debug",!1),this.layout()}get state(){return this._state}set state(P){this._state!==P&&(Object(W.ab)(this.el,"disabled",P===0),Object(W.ab)(this.el,"minimum",P===1),Object(W.ab)(this.el,"maximum",P===2),this._state=P,this._onDidEnablementChange.fire(P))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(P){this.orthogonalStartSashDisposables.clear(),P?(this.orthogonalStartSashDisposables.add(P.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(P.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=P}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(P){this.orthogonalEndSashDisposables.clear(),P?(this.orthogonalEndSashDisposables.add(P.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(P.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=P}onMouseDown(P){W.b.stop(P,!1);let V=!1;if(!P.__orthogonalSashEvent){let q=this.getOrthogonalSash(P);q&&(V=!0,P.__orthogonalSashEvent=!0,q.onMouseDown(P))}if(this.linkedSash&&!P.__linkedSashEvent&&(P.__linkedSashEvent=!0,this.linkedSash.onMouseDown(P)),!this.state)return;let k=[...Object(W.D)("iframe"),...Object(W.D)("webview")];for(let q of k)q.style.pointerEvents="none";let l=new E.a(P),T=l.posx,N=l.posy,b=l.altKey,g={startX:T,currentX:T,startY:N,currentY:N,altKey:b};Object(W.e)(this.el,"active"),this._onDidStart.fire(g);let j=Object(W.v)(this.el),ie=()=>{let q="";q=V?"all-scroll":this.orientation===1?this.state===1?"s-resize":this.state===2?"n-resize":f.f?"row-resize":"ns-resize":this.state===1?"e-resize":this.state===2?"w-resize":f.f?"col-resize":"ew-resize",j.innerHTML=`* { cursor: ${q} !important; }`},U=new h.b;ie(),V||this.onDidEnablementChange(ie,null,U),Object(Q.a)(window,"mousemove")(q=>{W.b.stop(q,!1);let B=new E.a(q),se={startX:T,currentX:B.posx,startY:N,currentY:B.posy,altKey:b};this._onDidChange.fire(se)},null,U),Object(Q.a)(window,"mouseup")(q=>{W.b.stop(q,!1),this.el.removeChild(j),Object(W.Q)(this.el,"active"),this._onDidEnd.fire(),U.dispose();for(let B of k)B.style.pointerEvents="auto"},null,U)}onMouseDoubleClick(P){let V=this.getOrthogonalSash(P);V&&V._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}onTouchStart(P){W.b.stop(P);let V=[],k=P.pageX,l=P.pageY,T=P.altKey;this._onDidStart.fire({startX:k,currentX:k,startY:l,currentY:l,altKey:T}),V.push(Object(W.i)(this.el,H.a.Change,N=>{D.h(N.pageX)&&D.h(N.pageY)&&this._onDidChange.fire({startX:k,currentX:N.pageX,startY:l,currentY:N.pageY,altKey:T})})),V.push(Object(W.i)(this.el,H.a.End,N=>{this._onDidEnd.fire(),Object(h.f)(V)}))}layout(){if(this.orientation===0){let P=this.layoutProvider;this.el.style.left=P.getVerticalSashLeft(this)-this.size/2+"px",P.getVerticalSashTop&&(this.el.style.top=P.getVerticalSashTop(this)+"px"),P.getVerticalSashHeight&&(this.el.style.height=P.getVerticalSashHeight(this)+"px")}else{let P=this.layoutProvider;this.el.style.top=P.getHorizontalSashTop(this)-this.size/2+"px",P.getHorizontalSashLeft&&(this.el.style.left=P.getHorizontalSashLeft(this)+"px"),P.getHorizontalSashWidth&&(this.el.style.width=P.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}onOrthogonalStartSashEnablementChange(P){Object(W.ab)(this.el,"orthogonal-start",P!==0)}onOrthogonalEndSashEnablementChange(P){Object(W.ab)(this.el,"orthogonal-end",P!==0)}getOrthogonalSash(P){if(this.orientation===0){if(P.offsetY<=this.size)return this.orthogonalStartSash;if(P.offsetY>=this.el.clientHeight-this.size)return this.orthogonalEndSash}else{if(P.offsetX<=this.size)return this.orthogonalStartSash;if(P.offsetX>=this.el.clientWidth-this.size)return this.orthogonalEndSash}}dispose(){super.dispose(),this.el.remove()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D}),o(251),o(255),o(257);var h=o(17);let f=new class{constructor(){this.onDidChange=h.c.onDidRegister}getCSS(){let H=[];for(let E of h.c.all)H.push(D(E));return H.join(` +`)}};function D(H){let E=H.definition;for(;E instanceof h.a;)E=E.definition;return`.codicon-${H.id}:before { content: '${E.character}'; }`}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return E});var h=o(8);class f{constructor(W,Q,y,C){this.startColumn=W,this.endColumn=Q,this.className=y,this.type=C}static _equals(W,Q){return W.startColumn===Q.startColumn&&W.endColumn===Q.endColumn&&W.className===Q.className&&W.type===Q.type}static equalsArr(W,Q){let y=W.length;if(y!==Q.length)return!1;for(let C=0;C<y;C++)if(!f._equals(W[C],Q[C]))return!1;return!0}static filter(W,Q,y,C){if(W.length===0)return[];let S=[],P=0;for(let V=0,k=W.length;V<k;V++){let l=W[V],T=l.range;if(T.endLineNumber<Q||T.startLineNumber>Q||T.isEmpty()&&(l.type===0||l.type===3))continue;let N=T.startLineNumber===Q?T.startColumn:y,b=T.endLineNumber===Q?T.endColumn:C;S[P++]=new f(N,b,l.inlineClassName,l.type)}return S}static _typeCompare(W,Q){let y=[2,0,1,3];return y[W]-y[Q]}static compare(W,Q){if(W.startColumn===Q.startColumn){if(W.endColumn===Q.endColumn){let y=f._typeCompare(W.type,Q.type);return y===0?W.className<Q.className?-1:W.className>Q.className?1:0:y}return W.endColumn-Q.endColumn}return W.startColumn-Q.startColumn}}class D{constructor(W,Q,y,C){this.startOffset=W,this.endOffset=Q,this.className=y,this.metadata=C}}class H{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(W){let Q=0;for(let y=0,C=W.length;y<C;y++)Q|=W[y];return Q}consumeLowerThan(W,Q,y){for(;this.count>0&&this.stopOffsets[0]<W;){let C=0;for(;C+1<this.count&&this.stopOffsets[C]===this.stopOffsets[C+1];)C++;y.push(new D(Q,this.stopOffsets[C],this.classNames.join(" "),H._metadata(this.metadata))),Q=this.stopOffsets[C]+1,this.stopOffsets.splice(0,C+1),this.classNames.splice(0,C+1),this.metadata.splice(0,C+1),this.count-=C+1}return this.count>0&&Q<W&&(y.push(new D(Q,W-1,this.classNames.join(" "),H._metadata(this.metadata))),Q=W),Q}insert(W,Q,y){if(this.count===0||this.stopOffsets[this.count-1]<=W)this.stopOffsets.push(W),this.classNames.push(Q),this.metadata.push(y);else for(let C=0;C<this.count;C++)if(this.stopOffsets[C]>=W){this.stopOffsets.splice(C,0,W),this.classNames.splice(C,0,Q),this.metadata.splice(C,0,y);break}this.count++}}class E{static normalize(W,Q){if(Q.length===0)return[];let y=[],C=new H,S=0;for(let P=0,V=Q.length;P<V;P++){let k=Q[P],l=k.startColumn,T=k.endColumn,N=k.className,b=k.type===1?2:k.type===2?4:0;if(l>1){let ie=W.charCodeAt(l-2);h.F(ie)&&l--}if(T>1){let ie=W.charCodeAt(T-2);h.F(ie)&&T--}let g=l-1,j=T-2;S=C.consumeLowerThan(g,S,y),C.count===0&&(S=g),C.insert(j,N,b)}return C.consumeLowerThan(1073741824,S,y),y}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H});var h=o(46),f=o(17),D=o(8);class H{constructor(ge,W){this.supportCodicons=W,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",ge.appendChild(this.domNode)}get element(){return this.domNode}set(ge,W=[],Q="",y){ge||(ge=""),y&&(ge=H.escapeNewLines(ge,W)),this.didEverRender&&this.text===ge&&this.title===Q&&h.e(this.highlights,W)||(Array.isArray(W)||(W=[]),this.text=ge,this.title=Q,this.highlights=W,this.render())}render(){let ge="",W=0;for(let Q of this.highlights){if(Q.end===Q.start)continue;if(W<Q.start){ge+="<span>";let C=this.text.substring(W,Q.start);ge+=this.supportCodicons?Object(f.f)(Object(D.u)(C)):Object(D.u)(C),ge+="</span>",W=Q.end}Q.extraClasses?ge+=`<span class="highlight ${Q.extraClasses}">`:ge+='<span class="highlight">';let y=this.text.substring(Q.start,Q.end);ge+=this.supportCodicons?Object(f.f)(Object(D.u)(y)):Object(D.u)(y),ge+="</span>",W=Q.end}if(W<this.text.length){ge+="<span>";let Q=this.text.substring(W);ge+=this.supportCodicons?Object(f.f)(Object(D.u)(Q)):Object(D.u)(Q),ge+="</span>"}this.domNode.innerHTML=ge,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(ge,W){let Q=0,y=0;return ge.replace(/\r\n|\r|\n/g,(C,S)=>{y=C===`\r +`?-1:0,S+=Q;for(let P of W)P.end<=S||(P.start>=S&&(P.start+=y),P.end>=S&&(P.end+=y));return Q+=y,"\u23CE"})}}},,function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(11);let f=h.b.performance&&typeof h.b.performance.now=="function";class D{constructor(E){this._highResolution=f&&E,this._startTime=this._now(),this._stopTime=-1}static create(E=!0){return new D(E)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?h.b.performance.now():new Date().getTime()}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("labelService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E});var h=o(11),f=o(135);let D=h.f?1.5:1.35;class H{constructor(W){this.zoomLevel=W.zoomLevel,this.fontFamily=String(W.fontFamily),this.fontWeight=String(W.fontWeight),this.fontSize=W.fontSize,this.fontFeatureSettings=W.fontFeatureSettings,this.lineHeight=0|W.lineHeight,this.letterSpacing=W.letterSpacing}static createFromValidatedSettings(W,Q,y){let C=W.get(35),S=W.get(39),P=W.get(38),V=W.get(37),k=W.get(51),l=W.get(48);return H._create(C,S,P,V,k,l,Q,y)}static _create(W,Q,y,C,S,P,V,k){S===0?S=Math.round(D*y):S<8&&(S=8);let l=1+(k?0:.1*f.a.getZoomLevel());return new H({zoomLevel:V,fontFamily:W,fontWeight:Q,fontSize:y*=l,fontFeatureSettings:C,lineHeight:S*=l,letterSpacing:P})}getId(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?`"${this.fontFamily}"`:this.fontFamily}}class E extends H{constructor(W,Q){super(W),this.isTrusted=Q,this.isMonospace=W.isMonospace,this.typicalHalfwidthCharacterWidth=W.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=W.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=W.canUseHalfwidthRightwardsArrow,this.spaceWidth=W.spaceWidth,this.middotWidth=W.middotWidth,this.wsmiddotWidth=W.wsmiddotWidth,this.maxDigitWidth=W.maxDigitWidth}equals(W){return this.fontFamily===W.fontFamily&&this.fontWeight===W.fontWeight&&this.fontSize===W.fontSize&&this.fontFeatureSettings===W.fontFeatureSettings&&this.lineHeight===W.lineHeight&&this.letterSpacing===W.letterSpacing&&this.typicalHalfwidthCharacterWidth===W.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===W.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===W.canUseHalfwidthRightwardsArrow&&this.spaceWidth===W.spaceWidth&&this.middotWidth===W.middotWidth&&this.wsmiddotWidth===W.wsmiddotWidth&&this.maxDigitWidth===W.maxDigitWidth}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return P}),o.d(w,"a",function(){return b}),o.d(w,"d",function(){return se}),o.d(w,"c",function(){return ke});var h=o(0),f=o(6),D=o(2),H=o(46),E=o(15),ge=o(26),W=o(135),Q=o(160),y=o(128),C=o(56),S=o(189);let P=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new f.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(xe){this._tabFocus!==xe&&(this._tabFocus=xe,this._onDidChangeTabFocus.fire(this._tabFocus))}},V=Object.hasOwnProperty;class k{constructor(){this._values=[]}_read(Y){return this._values[Y]}get(Y){return this._values[Y]}_write(Y,Z){this._values[Y]=Z}}class l{constructor(){this._values=[]}_read(Y){return this._values[Y]}_write(Y,Z){this._values[Y]=Z}}class T{static readOptions(Y){let Z=Y,te=new l;for(let he of ge.k){let Ce=he.name==="_never_"?void 0:Z[he.name];te._write(he.id,Ce)}return te}static validateOptions(Y){let Z=new ge.j;for(let te of ge.k)Z._write(te.id,te.validate(Y._read(te.id)));return Z}static computeOptions(Y,Z){let te=new k;for(let he of ge.k)te._write(he.id,he.compute(Z,te,Y._read(he.id)));return te}static _deepEquals(Y,Z){if(typeof Y!="object"||typeof Z!="object")return Y===Z;if(Array.isArray(Y)||Array.isArray(Z))return!(!Array.isArray(Y)||!Array.isArray(Z))&&E.g(Y,Z);for(let te in Y)if(!T._deepEquals(Y[te],Z[te]))return!1;return!0}static checkEquals(Y,Z){let te=[],he=!1;for(let Ce of ge.k){let Ae=!T._deepEquals(Y._read(Ce.id),Z._read(Ce.id));te[Ce.id]=Ae,Ae&&(he=!0)}return he?new ge.b(te):null}}function N(xe){let Y=H.c(xe);return function(Z){let te=Z.wordWrap;te===!0?Z.wordWrap="on":te===!1&&(Z.wordWrap="off");let he=Z.lineNumbers;he===!0?Z.lineNumbers="on":he===!1&&(Z.lineNumbers="off"),Z.autoClosingBrackets===!1&&(Z.autoClosingBrackets="never",Z.autoClosingQuotes="never",Z.autoSurround="never"),Z.cursorBlinking==="visible"&&(Z.cursorBlinking="solid");let Ce=Z.renderWhitespace;Ce===!0?Z.renderWhitespace="boundary":Ce===!1&&(Z.renderWhitespace="none");let Ae=Z.renderLineHighlight;Ae===!0?Z.renderLineHighlight="line":Ae===!1&&(Z.renderLineHighlight="none");let L=Z.acceptSuggestionOnEnter;L===!0?Z.acceptSuggestionOnEnter="on":L===!1&&(Z.acceptSuggestionOnEnter="off");let nt=Z.tabCompletion;nt===!1?Z.tabCompletion="off":nt===!0&&(Z.tabCompletion="onlySnippets");let ct=Z.suggest;if(ct&&typeof ct.filteredTypes=="object"&&ct.filteredTypes){let G={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(S.b)(G,z=>{let J=ct.filteredTypes[z.key];J===!1&&(ct[z.value]=J)})}let Ye=Z.hover;Ye===!0?Z.hover={enabled:!0}:Ye===!1&&(Z.hover={enabled:!1});let ht=Z.parameterHints;ht===!0?Z.parameterHints={enabled:!0}:ht===!1&&(Z.parameterHints={enabled:!1});let fe=Z.autoIndent;fe===!0?Z.autoIndent="full":fe===!1&&(Z.autoIndent="advanced");let $=Z.matchBrackets;$===!0?Z.matchBrackets="always":$===!1&&(Z.matchBrackets="never")}(Y),Y}class b extends D.a{constructor(Y,Z){super(),this._onDidChange=this._register(new f.a),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new f.a),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=Y,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new ge.a,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=N(Z),this._readOptions=T.readOptions(this._rawOptions),this._validatedOptions=T.validateOptions(this._readOptions),this._register(W.a.onDidChangeZoomLevel(te=>this._recomputeOptions())),this._register(P.onDidChangeTabFocus(te=>this._recomputeOptions()))}observeReferenceElement(Y){}dispose(){super.dispose()}_recomputeOptions(){let Y=this.options,Z=this._computeInternalOptions();if(Y){let te=T.checkEquals(Y,Z);if(te===null)return;this.options=Z,this._onDidChangeFast.fire(te),this._onDidChange.fire(te)}else this.options=Z}getRawOptions(){return this._rawOptions}_computeInternalOptions(){let Y=this._getEnvConfiguration(),Z=Q.a.createFromValidatedSettings(this._validatedOptions,Y.zoomLevel,this.isSimpleWidget),te={memory:this._computeOptionsMemory,outerWidth:Y.outerWidth,outerHeight:Y.outerHeight,fontInfo:this.readConfiguration(Z),extraEditorClassName:Y.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:Y.emptySelectionClipboard,pixelRatio:Y.pixelRatio,tabFocusMode:P.getTabFocusMode(),accessibilitySupport:Y.accessibilitySupport};return T.computeOptions(this._validatedOptions,te)}static _subsetEquals(Y,Z){for(let te in Z)if(V.call(Z,te)){let he=Z[te],Ce=Y[te];if(Ce===he)continue;if(Array.isArray(Ce)&&Array.isArray(he)){if(!E.g(Ce,he))return!1;continue}if(Ce&&typeof Ce=="object"&&he&&typeof he=="object"){if(!this._subsetEquals(Ce,he))return!1;continue}return!1}return!0}updateOptions(Y){if(Y===void 0)return;let Z=N(Y);b._subsetEquals(this._rawOptions,Z)||(this._rawOptions=H.g(this._rawOptions,Z||{}),this._readOptions=T.readOptions(this._rawOptions),this._validatedOptions=T.validateOptions(this._readOptions),this._recomputeOptions())}setIsDominatedByLongLines(Y){this._isDominatedByLongLines=Y,this._recomputeOptions()}setMaxLineNumber(Y){let Z=b._digitCount(Y);this._lineNumbersDigitCount!==Z&&(this._lineNumbersDigitCount=Z,this._recomputeOptions())}setViewLineCount(Y){this._viewLineCount!==Y&&(this._viewLineCount=Y,this._recomputeOptions())}static _digitCount(Y){let Z=0;for(;Y;)Y=Math.floor(Y/10),Z++;return Z||1}}let g=Object.freeze({id:"editor",order:5,type:"object",title:h.a("editorConfigurationTitle","Editor"),scope:5}),j=C.a.as(y.a.Configuration),ie=Object.assign(Object.assign({},g),{properties:{"editor.tabSize":{type:"number",default:ge.d.tabSize,minimum:1,markdownDescription:h.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:ge.d.insertSpaces,markdownDescription:h.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:ge.d.detectIndentation,markdownDescription:h.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:ge.d.trimAutoWhitespace,description:h.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:ge.d.largeFileOptimizations,description:h.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:h.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[h.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),h.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),h.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:h.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:h.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:h.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:h.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:h.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:h.a("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:h.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:h.a("codeLens","Controls whether the editor shows CodeLens.")}}});for(let xe of ge.k){let Y=xe.schema;if(Y!==void 0)if((U=Y).type!==void 0||U.anyOf!==void 0)ie.properties["editor."+xe.name]=Y;else for(let Z in Y)V.call(Y,Z)&&(ie.properties[Z]=Y[Z])}var U;let q=null;function B(){return q===null&&(q=Object.create(null),Object.keys(ie.properties).forEach(xe=>{q[xe]=!0})),q}function se(xe){return B()["editor."+xe]||!1}function ke(xe){return B()["diffEditor."+xe]||!1}j.registerConfiguration(ie)},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ie}),o.d(w,"b",function(){return se});var h=o(46),f=o(2),D=o(61),H=o(1),E=o(6),ge=o(44),W=o(105),Q=o(170),y=o(99);function C(ke,xe){let Y=[];for(let Z of xe){if(ke.start>=Z.range.end)continue;if(ke.end<Z.range.start)break;let te=y.a.intersect(ke,Z.range);y.a.isEmpty(te)||Y.push({range:te,size:Z.size})}return Y}function S({start:ke,end:xe},Y){return{start:ke+Y,end:xe+Y}}class P{constructor(){this.groups=[],this._size=0}splice(xe,Y,Z=[]){let te=Z.length-Y,he=C({start:0,end:xe},this.groups),Ce=C({start:xe+Y,end:Number.POSITIVE_INFINITY},this.groups).map(L=>({range:S(L.range,te),size:L.size})),Ae=Z.map((L,nt)=>({range:{start:xe+nt,end:xe+nt+1},size:L.size}));this.groups=function(...L){return function(nt){let ct=[],Ye=null;for(let ht of nt){let fe=ht.range.start,$=ht.range.end,G=ht.size;Ye&&G===Ye.size?Ye.range.end=$:(Ye={range:{start:fe,end:$},size:G},ct.push(Ye))}return ct}(L.reduce((nt,ct)=>nt.concat(ct),[]))}(he,Ae,Ce),this._size=this.groups.reduce((L,nt)=>L+nt.size*(nt.range.end-nt.range.start),0)}get count(){let xe=this.groups.length;return xe?this.groups[xe-1].range.end:0}get size(){return this._size}indexAt(xe){if(xe<0)return-1;let Y=0,Z=0;for(let te of this.groups){let he=te.range.end-te.range.start,Ce=Z+he*te.size;if(xe<Ce)return Y+Math.floor((xe-Z)/te.size);Y+=he,Z=Ce}return Y}indexAfter(xe){return Math.min(this.indexAt(xe)+1,this.count)}positionAt(xe){if(xe<0)return-1;let Y=0,Z=0;for(let te of this.groups){let he=te.range.end-te.range.start,Ce=Z+he;if(xe<Ce)return Y+(xe-Z)*te.size;Y+=he*te.size,Z=Ce}return-1}}class V{constructor(xe){this.renderers=xe,this.cache=new Map}alloc(xe){let Y=this.getTemplateCache(xe).pop();if(!Y){let Z=Object(H.a)(".monaco-list-row");Y={domNode:Z,templateId:xe,templateData:this.getRenderer(xe).renderTemplate(Z)}}return Y}release(xe){xe&&this.releaseRow(xe)}releaseRow(xe){let{domNode:Y,templateId:Z}=xe;Y&&(Object(H.Q)(Y,"scrolling"),function(te){try{te.parentElement&&te.parentElement.removeChild(te)}catch(he){}}(Y)),this.getTemplateCache(Z).push(xe)}getTemplateCache(xe){let Y=this.cache.get(xe);return Y||(Y=[],this.cache.set(xe,Y)),Y}dispose(){this.cache.forEach((xe,Y)=>{for(let Z of xe)this.getRenderer(Y).disposeTemplate(Z.templateData),Z.domNode=null,Z.templateData=null}),this.cache.clear()}getRenderer(xe){let Y=this.renderers.get(xe);if(!Y)throw new Error("No renderer found for "+xe);return Y}}var k=o(98),l=o(15),T=o(125),N=o(20),b=o(34),g=function(ke,xe,Y,Z){var te,he=arguments.length,Ce=he<3?xe:Z===null?Z=Object.getOwnPropertyDescriptor(xe,Y):Z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ce=Reflect.decorate(ke,xe,Y,Z);else for(var Ae=ke.length-1;Ae>=0;Ae--)(te=ke[Ae])&&(Ce=(he<3?te(Ce):he>3?te(xe,Y,Ce):te(xe,Y))||Ce);return he>3&&Ce&&Object.defineProperty(xe,Y,Ce),Ce};let j={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:ke=>[ke],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0};class ie{constructor(xe){this.elements=xe}update(){}getData(){return this.elements}}class U{constructor(xe){this.elements=xe}update(){}getData(){return this.elements}}class q{constructor(){this.types=[],this.files=[]}update(xe){if(xe.types&&this.types.splice(0,this.types.length,...xe.types),xe.files){this.files.splice(0,this.files.length);for(let Y=0;Y<xe.files.length;Y++){let Z=xe.files.item(Y);Z&&(Z.size||Z.type)&&this.files.push(Z)}}}getData(){return{types:this.types,files:this.files}}}class B{constructor(xe){(xe==null?void 0:xe.getSetSize)?this.getSetSize=xe.getSetSize.bind(xe):this.getSetSize=(Y,Z,te)=>te,(xe==null?void 0:xe.getPosInSet)?this.getPosInSet=xe.getPosInSet.bind(xe):this.getPosInSet=(Y,Z)=>Z+1,(xe==null?void 0:xe.getRole)?this.getRole=xe.getRole.bind(xe):this.getRole=Y=>"listitem",(xe==null?void 0:xe.isChecked)?this.isChecked=xe.isChecked.bind(xe):this.isChecked=Y=>{}}}class se{constructor(xe,Y,Z,te=j){if(this.virtualDelegate=Y,this.domId="list_id_"+ ++se.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new N.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=f.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=f.a.None,this.onDragLeaveTimeout=f.a.None,this.disposables=new f.b,this._onDidChangeContentHeight=new E.a,this._horizontalScrolling=!1,te.horizontalScrolling&&te.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new P;for(let he of Z)this.renderers.set(he.templateId,he);this.cache=this.disposables.add(new V(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",H.e(this.domNode,this.domId),this.domNode.tabIndex=0,H.ab(this.domNode,"mouse-support",typeof te.mouseSupport!="boolean"||te.mouseSupport),this._horizontalScrolling=Object(h.f)(te,he=>he.horizontalScrolling,j.horizontalScrolling),H.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=te.additionalScrollHeight===void 0?0:te.additionalScrollHeight,this.accessibilityProvider=new B(te.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",Object(h.f)(te,he=>he.transformOptimization,j.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(D.b.addTarget(this.rowsContainer)),this.scrollable=new Q.a(Object(h.f)(te,he=>he.smoothScrolling,!1)?125:0,he=>H.Y(he)),this.scrollableElement=this.disposables.add(new W.c(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:1,vertical:Object(h.f)(te,he=>he.verticalScrollMode,j.verticalScrollMode),useShadows:Object(h.f)(te,he=>he.useShadows,j.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),xe.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(ge.a)(this.rowsContainer,D.a.Change)(this.onTouchChange,this,this.disposables),Object(ge.a)(this.scrollableElement.getDomNode(),"scroll")(he=>he.target.scrollTop=0,null,this.disposables),E.b.map(Object(ge.a)(this.domNode,"dragover"),he=>this.toDragEvent(he))(this.onDragOver,this,this.disposables),E.b.map(Object(ge.a)(this.domNode,"drop"),he=>this.toDragEvent(he))(this.onDrop,this,this.disposables),Object(ge.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(ge.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(h.f)(te,he=>he.setRowLineHeight,j.setRowLineHeight),this.setRowHeight=Object(h.f)(te,he=>he.setRowHeight,j.setRowHeight),this.supportDynamicHeights=Object(h.f)(te,he=>he.supportDynamicHeights,j.supportDynamicHeights),this.dnd=Object(h.f)(te,he=>he.dnd,j.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(xe){if(xe!==this._horizontalScrolling){if(xe&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=xe,H.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(let Y of this.items)this.measureItemWidth(Y);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:H.B(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(xe){xe.additionalScrollHeight!==void 0&&(this.additionalScrollHeight=xe.additionalScrollHeight),xe.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(xe.smoothScrolling?125:0),xe.horizontalScrolling!==void 0&&(this.horizontalScrolling=xe.horizontalScrolling)}splice(xe,Y,Z=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(xe,Y,Z)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(xe,Y,Z=[]){let te=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),he={start:xe,end:xe+Y},Ce=y.a.intersect(te,he);for(let ee=Ce.start;ee<Ce.end;ee++)this.removeItemFromDOM(ee);let Ae={start:xe+Y,end:this.items.length},L=y.a.intersect(Ae,te),nt=y.a.relativeComplement(Ae,te),ct=Z.map(ee=>({id:String(this.itemId++),element:ee,templateId:this.virtualDelegate.getTemplateId(ee),size:this.virtualDelegate.getHeight(ee),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(ee),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:f.a.None})),Ye;xe===0&&Y>=this.items.length?(this.rangeMap=new P,this.rangeMap.splice(0,0,ct),this.items=ct,Ye=[]):(this.rangeMap.splice(xe,Y,ct),Ye=this.items.splice(xe,Y,...ct));let ht=Z.length-Y,fe=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),$=S(L,ht),G=y.a.intersect(fe,$);for(let ee=G.start;ee<G.end;ee++)this.updateItemInDOM(this.items[ee],ee);let z=y.a.relativeComplement($,fe);for(let ee of z)for(let de=ee.start;de<ee.end;de++)this.removeItemFromDOM(de);let J=nt.map(ee=>S(ee,ht)),Se=[{start:xe,end:xe+Z.length},...J].map(ee=>y.a.intersect(fe,ee)),A=this.getNextToLastElement(Se);for(let ee of Se)for(let de=ee.start;de<ee.end;de++)this.insertItemInDOM(de,A);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),Ye.map(ee=>ee.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=H.Y(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let xe=0;for(let Y of this.items)Y.width!==void 0&&(xe=Math.max(xe,Y.width));this.scrollWidth=xe,this.scrollableElement.setScrollDimensions({scrollWidth:xe===0?0:xe+10})}rerender(){if(this.supportDynamicHeights){for(let xe of this.items)xe.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(xe){return this.items[xe].element}domElement(xe){let Y=this.items[xe].row;return Y&&Y.domNode}elementHeight(xe){return this.items[xe].size}elementTop(xe){return this.rangeMap.positionAt(xe)}indexAt(xe){return this.rangeMap.indexAt(xe)}indexAfter(xe){return this.rangeMap.indexAfter(xe)}layout(xe,Y){let Z={height:typeof xe=="number"?xe:H.A(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,Z.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(Z),Y!==void 0&&(this.renderWidth=Y,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:typeof Y=="number"?Y:H.B(this.domNode)}))}render(xe,Y,Z,te,he,Ce=!1){let Ae=this.getRenderRange(Y,Z),L=y.a.relativeComplement(Ae,xe),nt=y.a.relativeComplement(xe,Ae),ct=this.getNextToLastElement(L);if(Ce){let Ye=y.a.intersect(xe,Ae);for(let ht=Ye.start;ht<Ye.end;ht++)this.updateItemInDOM(this.items[ht],ht)}for(let Ye of L)for(let ht=Ye.start;ht<Ye.end;ht++)this.insertItemInDOM(ht,ct);for(let Ye of nt)for(let ht=Ye.start;ht<Ye.end;ht++)this.removeItemFromDOM(ht);te!==void 0&&(this.rowsContainer.style.left=`-${te}px`),this.rowsContainer.style.top=`-${Y}px`,this.horizontalScrolling&&he!==void 0&&(this.rowsContainer.style.width=Math.max(he,this.renderWidth)+"px"),this.lastRenderTop=Y,this.lastRenderHeight=Z}insertItemInDOM(xe,Y){let Z=this.items[xe];if(!Z.row){Z.row=this.cache.alloc(Z.templateId);let Ce=this.accessibilityProvider.getRole(Z.element)||"listitem";Z.row.domNode.setAttribute("role",Ce);let Ae=this.accessibilityProvider.isChecked(Z.element);Ae!==void 0&&Z.row.domNode.setAttribute("aria-checked",String(!!Ae))}Z.row.domNode.parentElement||(Y?this.rowsContainer.insertBefore(Z.row.domNode,Y):this.rowsContainer.appendChild(Z.row.domNode)),this.updateItemInDOM(Z,xe);let te=this.renderers.get(Z.templateId);if(!te)throw new Error("No renderer found for template id "+Z.templateId);te&&te.renderElement(Z.element,xe,Z.row.templateData,Z.size);let he=this.dnd.getDragURI(Z.element);if(Z.dragStartDisposable.dispose(),Z.row.domNode.draggable=!!he,he){let Ce=Object(ge.a)(Z.row.domNode,"dragstart");Z.dragStartDisposable=Ce(Ae=>this.onDragStart(Z.element,he,Ae))}this.horizontalScrolling&&(this.measureItemWidth(Z),this.eventuallyUpdateScrollWidth())}measureItemWidth(xe){if(!xe.row||!xe.row.domNode)return;xe.row.domNode.style.width=b.h?"-moz-fit-content":"fit-content",xe.width=H.B(xe.row.domNode);let Y=window.getComputedStyle(xe.row.domNode);Y.paddingLeft&&(xe.width+=parseFloat(Y.paddingLeft)),Y.paddingRight&&(xe.width+=parseFloat(Y.paddingRight)),xe.row.domNode.style.width=""}updateItemInDOM(xe,Y){xe.row.domNode.style.top=this.elementTop(Y)+"px",this.setRowHeight&&(xe.row.domNode.style.height=xe.size+"px"),this.setRowLineHeight&&(xe.row.domNode.style.lineHeight=xe.size+"px"),xe.row.domNode.setAttribute("data-index",""+Y),xe.row.domNode.setAttribute("data-last-element",Y===this.length-1?"true":"false"),xe.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(xe.element,Y,this.length))),xe.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(xe.element,Y))),xe.row.domNode.setAttribute("id",this.getElementDomId(Y)),H.ab(xe.row.domNode,"drop-target",xe.dropTarget)}removeItemFromDOM(xe){let Y=this.items[xe];Y.dragStartDisposable.dispose();let Z=this.renderers.get(Y.templateId);Y.row&&Z&&Z.disposeElement&&Z.disposeElement(Y.element,xe,Y.row.templateData,Y.size),this.cache.release(Y.row),Y.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(xe){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:xe})}get scrollTop(){return this.getScrollTop()}set scrollTop(xe){this.setScrollTop(xe)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return E.b.map(Object(ge.a)(this.domNode,"click"),xe=>this.toMouseEvent(xe))}get onMouseDblClick(){return E.b.map(Object(ge.a)(this.domNode,"dblclick"),xe=>this.toMouseEvent(xe))}get onMouseMiddleClick(){return E.b.filter(E.b.map(Object(ge.a)(this.domNode,"auxclick"),xe=>this.toMouseEvent(xe)),xe=>xe.browserEvent.button===1)}get onMouseDown(){return E.b.map(Object(ge.a)(this.domNode,"mousedown"),xe=>this.toMouseEvent(xe))}get onContextMenu(){return E.b.map(Object(ge.a)(this.domNode,"contextmenu"),xe=>this.toMouseEvent(xe))}get onTouchStart(){return E.b.map(Object(ge.a)(this.domNode,"touchstart"),xe=>this.toTouchEvent(xe))}get onTap(){return E.b.map(Object(ge.a)(this.rowsContainer,D.a.Tap),xe=>this.toGestureEvent(xe))}toMouseEvent(xe){let Y=this.getItemIndexFromEventTarget(xe.target||null),Z=Y===void 0?void 0:this.items[Y];return{browserEvent:xe,index:Y,element:Z&&Z.element}}toTouchEvent(xe){let Y=this.getItemIndexFromEventTarget(xe.target||null),Z=Y===void 0?void 0:this.items[Y];return{browserEvent:xe,index:Y,element:Z&&Z.element}}toGestureEvent(xe){let Y=this.getItemIndexFromEventTarget(xe.initialTarget||null),Z=Y===void 0?void 0:this.items[Y];return{browserEvent:xe,index:Y,element:Z&&Z.element}}toDragEvent(xe){let Y=this.getItemIndexFromEventTarget(xe.target||null),Z=Y===void 0?void 0:this.items[Y];return{browserEvent:xe,index:Y,element:Z&&Z.element}}onScroll(xe){try{let Y=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(Y,xe.scrollTop,xe.height,xe.scrollLeft,xe.scrollWidth),this.supportDynamicHeights&&this._rerender(xe.scrollTop,xe.height)}catch(Y){throw console.error("Got bad scroll event:",xe),Y}}onTouchChange(xe){xe.preventDefault(),xe.stopPropagation(),this.scrollTop-=xe.translationY}onDragStart(xe,Y,Z){if(!Z.dataTransfer)return;let te=this.dnd.getDragElements(xe);if(Z.dataTransfer.effectAllowed="copyMove",Z.dataTransfer.setData(T.a.RESOURCES,JSON.stringify([Y])),Z.dataTransfer.setDragImage){let he;this.dnd.getDragLabel&&(he=this.dnd.getDragLabel(te,Z)),he===void 0&&(he=String(te.length));let Ce=H.a(".monaco-drag-image");Ce.textContent=he,document.body.appendChild(Ce),Z.dataTransfer.setDragImage(Ce,-10,-10),setTimeout(()=>document.body.removeChild(Ce),0)}this.currentDragData=new ie(te),T.c.CurrentDragAndDropData=new U(te),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,Z)}onDragOver(xe){if(xe.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),T.c.CurrentDragAndDropData&&T.c.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(xe.browserEvent),!xe.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(T.c.CurrentDragAndDropData)this.currentDragData=T.c.CurrentDragAndDropData;else{if(!xe.browserEvent.dataTransfer.types)return!1;this.currentDragData=new q}let Y=this.dnd.onDragOver(this.currentDragData,xe.element,xe.index,xe.browserEvent);if(this.canDrop=typeof Y=="boolean"?Y:Y.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let Z;if(xe.browserEvent.dataTransfer.dropEffect=typeof Y!="boolean"&&Y.effect===0?"copy":"move",Z=typeof Y!="boolean"&&Y.feedback?Y.feedback:xe.index===void 0?[-1]:[xe.index],Z=Object(l.e)(Z).filter(Ce=>Ce>=-1&&Ce<this.length).sort((Ce,Ae)=>Ce-Ae),Z=Z[0]===-1?[-1]:Z,te=this.currentDragFeedback,he=Z,Array.isArray(te)&&Array.isArray(he)?Object(l.g)(te,he):te===he)return!0;var te,he;if(this.currentDragFeedback=Z,this.currentDragFeedbackDisposable.dispose(),Z[0]===-1)H.e(this.domNode,"drop-target"),H.e(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(f.h)(()=>{H.Q(this.domNode,"drop-target"),H.Q(this.rowsContainer,"drop-target")});else{for(let Ce of Z){let Ae=this.items[Ce];Ae.dropTarget=!0,Ae.row&&Ae.row.domNode&&H.e(Ae.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(f.h)(()=>{for(let Ce of Z){let Ae=this.items[Ce];Ae.dropTarget=!1,Ae.row&&Ae.row.domNode&&H.Q(Ae.row.domNode,"drop-target")}})}return!0}onDragLeave(){this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(N.g)(()=>this.clearDragOverFeedback(),100)}onDrop(xe){if(!this.canDrop)return;let Y=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,T.c.CurrentDragAndDropData=void 0,Y&&xe.browserEvent.dataTransfer&&(xe.browserEvent.preventDefault(),Y.update(xe.browserEvent.dataTransfer),this.dnd.drop(Y,xe.element,xe.index,xe.browserEvent))}onDragEnd(xe){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,T.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(xe)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=f.a.None}setupDragAndDropScrollTopAnimation(xe){if(!this.dragOverAnimationDisposable){let Y=H.F(this.domNode).top;this.dragOverAnimationDisposable=H.o(this.animateDragAndDropScrollTop.bind(this,Y))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(N.g)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=xe.pageY}animateDragAndDropScrollTop(xe){if(this.dragOverMouseY===void 0)return;let Y=this.dragOverMouseY-xe,Z=this.renderHeight-35;Y<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(Y-35))):Y>Z&&(this.scrollTop+=Math.min(14,Math.floor(.3*(Y-Z))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(xe){let Y=this.scrollableElement.getDomNode(),Z=xe;for(;Z instanceof HTMLElement&&Z!==this.rowsContainer&&Y.contains(Z);){let te=Z.getAttribute("data-index");if(te){let he=Number(te);if(!isNaN(he))return he}Z=Z.parentElement}}getRenderRange(xe,Y){return{start:this.rangeMap.indexAt(xe),end:this.rangeMap.indexAfter(xe+Y-1)}}_rerender(xe,Y){let Z=this.getRenderRange(xe,Y),te,he;xe===this.elementTop(Z.start)?(te=Z.start,he=0):Z.end-Z.start>1&&(te=Z.start+1,he=this.elementTop(te)-xe);let Ce=0;for(;;){let Ae=this.getRenderRange(xe,Y),L=!1;for(let nt=Ae.start;nt<Ae.end;nt++){let ct=this.probeDynamicHeight(nt);ct!==0&&this.rangeMap.splice(nt,1,[this.items[nt]]),Ce+=ct,L=L||ct!==0}if(!L){Ce!==0&&this.eventuallyUpdateScrollDimensions();let nt=y.a.relativeComplement(Z,Ae);for(let Ye of nt)for(let ht=Ye.start;ht<Ye.end;ht++)this.items[ht].row&&this.removeItemFromDOM(ht);let ct=y.a.relativeComplement(Ae,Z);for(let Ye of ct)for(let ht=Ye.start;ht<Ye.end;ht++){let fe=ht+1,$=fe<this.items.length?this.items[fe].row:null,G=$?$.domNode:null;this.insertItemInDOM(ht,G)}for(let Ye=Ae.start;Ye<Ae.end;Ye++)this.items[Ye].row&&this.updateItemInDOM(this.items[Ye],Ye);return typeof te=="number"&&(this.scrollTop=this.elementTop(te)-he),void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(xe){let Y=this.items[xe];if(!Y.hasDynamicHeight||Y.lastDynamicHeightWidth===this.renderWidth||this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(Y.element))return 0;let Z=Y.size;if(!this.setRowHeight&&Y.row&&Y.row.domNode){let Ce=Y.row.domNode.offsetHeight;return Y.size=Ce,Y.lastDynamicHeightWidth=this.renderWidth,Ce-Z}let te=this.cache.alloc(Y.templateId);te.domNode.style.height="",this.rowsContainer.appendChild(te.domNode);let he=this.renderers.get(Y.templateId);return he&&(he.renderElement(Y.element,xe,te.templateData,void 0),he.disposeElement&&he.disposeElement(Y.element,xe,te.templateData,void 0)),Y.size=te.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(Y.element,Y.size),Y.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(te.domNode),this.cache.release(te),Y.size-Z}getNextToLastElement(xe){let Y=xe[xe.length-1];if(!Y)return null;let Z=this.items[Y.end];return Z&&Z.row?Z.row.domNode:null}getElementDomId(xe){return`${this.domId}_${xe}`}dispose(){if(this.items){for(let xe of this.items)if(xe.row){let Y=this.renderers.get(xe.row.templateId);Y&&Y.disposeTemplate(xe.row.templateData)}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(f.f)(this.disposables)}}se.InstanceCount=0,g([k.a],se.prototype,"onMouseClick",null),g([k.a],se.prototype,"onMouseDblClick",null),g([k.a],se.prototype,"onMouseMiddleClick",null),g([k.a],se.prototype,"onMouseDown",null),g([k.a],se.prototype,"onContextMenu",null),g([k.a],se.prototype,"onTouchStart",null),g([k.a],se.prototype,"onTap",null)},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h});class h{constructor(D,H=[],E=!1){this.ctor=D,this.staticArguments=H,this.supportsDelayedInstantiation=E}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return hr}),o(208);var h=o(0),f=o(1),D=o(13),H=o(6),E=o(2),ge=o(45),W=o(87),Q=o(4),y=o(41),C=o(21),S=o(35),P=o(11),V=o(61),k=o(69),l=o(20),T=o(34),N=o(103);class b{constructor(i,a){this.x=i,this.y=a}toClientCoordinates(){return new g(this.x-f.d.scrollX,this.y-f.d.scrollY)}}class g{constructor(i,a){this.clientX=i,this.clientY=a}toPageCoordinates(){return new b(this.clientX+f.d.scrollX,this.clientY+f.d.scrollY)}}class j{constructor(i,a,_,R){this.x=i,this.y=a,this.width=_,this.height=R}}function ie(Zt){let i=f.C(Zt);return new j(i.left,i.top,i.width,i.height)}class U extends k.a{constructor(i,a){super(i),this.pos=new b(this.posx,this.posy),this.editorPos=ie(a)}}class q{constructor(i){this._editorViewDomNode=i}_create(i){return new U(i,this._editorViewDomNode)}onContextMenu(i,a){return f.i(i,"contextmenu",_=>{a(this._create(_))})}onMouseUp(i,a){return f.i(i,"mouseup",_=>{a(this._create(_))})}onMouseDown(i,a){return f.i(i,"mousedown",_=>{a(this._create(_))})}onMouseLeave(i,a){return f.j(i,_=>{a(this._create(_))})}onMouseMoveThrottled(i,a,_,R){return f.l(i,"mousemove",a,(K,we)=>_(K,this._create(we)),R)}}class B{constructor(i){this._editorViewDomNode=i}_create(i){return new U(i,this._editorViewDomNode)}onPointerUp(i,a){return f.i(i,"pointerup",_=>{a(this._create(_))})}onPointerDown(i,a){return f.i(i,"pointerdown",_=>{a(this._create(_))})}onPointerLeave(i,a){return f.k(i,_=>{a(this._create(_))})}onPointerMoveThrottled(i,a,_,R){return f.l(i,"pointermove",a,(K,we)=>_(K,this._create(we)),R)}}class se extends E.a{constructor(i){super(),this._editorViewDomNode=i,this._globalMouseMoveMonitor=this._register(new N.a),this._keydownListener=null}startMonitoring(i,a,_,R,K){this._keydownListener=f.n(document,"keydown",we=>{we.toKeybinding().isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0)},!0),this._globalMouseMoveMonitor.startMonitoring(i,a,(we,Pe)=>_(we,new U(Pe,this._editorViewDomNode)),R,()=>{this._keydownListener.dispose(),K()})}}class ke extends E.a{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onConfigurationChanged(i){return!1}onCursorStateChanged(i){return!1}onDecorationsChanged(i){return!1}onFlushed(i){return!1}onFocusChanged(i){return!1}onLanguageConfigurationChanged(i){return!1}onLineMappingChanged(i){return!1}onLinesChanged(i){return!1}onLinesDeleted(i){return!1}onLinesInserted(i){return!1}onRevealRangeRequest(i){return!1}onScrollChanged(i){return!1}onThemeChanged(i){return!1}onTokensChanged(i){return!1}onTokensColorsChanged(i){return!1}onZonesChanged(i){return!1}handleEvents(i){let a=!1;for(let _=0,R=i.length;_<R;_++){let K=i[_];switch(K.type){case 0:this.onConfigurationChanged(K)&&(a=!0);break;case 1:this.onCursorStateChanged(K)&&(a=!0);break;case 2:this.onDecorationsChanged(K)&&(a=!0);break;case 3:this.onFlushed(K)&&(a=!0);break;case 4:this.onFocusChanged(K)&&(a=!0);break;case 5:this.onLanguageConfigurationChanged(K)&&(a=!0);break;case 6:this.onLineMappingChanged(K)&&(a=!0);break;case 7:this.onLinesChanged(K)&&(a=!0);break;case 8:this.onLinesDeleted(K)&&(a=!0);break;case 9:this.onLinesInserted(K)&&(a=!0);break;case 10:this.onRevealRangeRequest(K)&&(a=!0);break;case 11:this.onScrollChanged(K)&&(a=!0);break;case 13:this.onTokensChanged(K)&&(a=!0);break;case 12:this.onThemeChanged(K)&&(a=!0);break;case 14:this.onTokensColorsChanged(K)&&(a=!0);break;case 15:this.onZonesChanged(K)&&(a=!0);break;default:console.info("View received unknown event: "),console.info(K)}}a&&(this._shouldRender=!0)}}class xe extends ke{constructor(i){super(),this._context=i,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class Y{static write(i,a){S.a,i.setAttribute("data-mprt",String(a))}static read(i){let a=i.getAttribute("data-mprt");return a===null?0:parseInt(a,10)}static collect(i,a){let _=[],R=0;for(;i&&i!==document.body&&i!==a;)i.nodeType===i.ELEMENT_NODE&&(_[R++]=this.read(i)),i=i.parentElement;let K=new Uint8Array(R);for(let we=0;we<R;we++)K[we]=_[R-we-1];return K}}class Z extends class{constructor(i,a){this._viewLayout=i,this.viewportData=a,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;let _=this._viewLayout.getCurrentViewport();this.scrollTop=_.top,this.scrollLeft=_.left,this.viewportWidth=_.width,this.viewportHeight=_.height}getScrolledTopFromAbsoluteTop(i){return i-this.scrollTop}getVerticalOffsetForLineNumber(i){return this._viewLayout.getVerticalOffsetForLineNumber(i)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}{constructor(i,a,_){super(i,a),this._viewLines=_}linesVisibleRangesForRange(i,a){return this._viewLines.linesVisibleRangesForRange(i,a)}visibleRangeForPosition(i){return this._viewLines.visibleRangeForPosition(i)}}class te{constructor(i,a,_){this.outsideRenderedLine=i,this.lineNumber=a,this.ranges=_}}class he{constructor(i,a){this.left=Math.round(i),this.width=Math.round(a)}toString(){return`[${this.left},${this.width}]`}}class Ce{constructor(i,a){this.outsideRenderedLine=i,this.left=Math.round(a)}}class Ae{constructor(i,a){this.outsideRenderedLine=i,this.ranges=a}}class L{constructor(i,a){this.left=i,this.width=a}toString(){return`[${this.left},${this.width}]`}static compare(i,a){return i.left-a.left}}class nt{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(i,a){i.selectNodeContents(a)}static _readClientRects(i,a,_,R,K){let we=this._createRange();try{return we.setStart(i,a),we.setEnd(_,R),we.getClientRects()}catch(Pe){return null}finally{this._detachRange(we,K)}}static _mergeAdjacentRanges(i){if(i.length===1)return[new he(i[0].left,i[0].width)];i.sort(L.compare);let a=[],_=0,R=i[0].left,K=i[0].width;for(let we=1,Pe=i.length;we<Pe;we++){let Ve=i[we],Je=Ve.left,at=Ve.width;R+K+.9>=Je?K=Math.max(K,Je+at-R):(a[_++]=new he(R,K),R=Je,K=at)}return a[_++]=new he(R,K),a}static _createHorizontalRangesFromClientRects(i,a){if(!i||i.length===0)return null;let _=[];for(let R=0,K=i.length;R<K;R++){let we=i[R];_[R]=new L(Math.max(0,we.left-a),we.width)}return this._mergeAdjacentRanges(_)}static readHorizontalRanges(i,a,_,R,K,we,Pe){let Ve=i.children.length-1;if(0>Ve)return null;if((a=Math.min(Ve,Math.max(0,a)))===(R=Math.min(Ve,Math.max(0,R)))&&_===K&&_===0){let Bt=i.children[a].getClientRects();return this._createHorizontalRangesFromClientRects(Bt,we)}a!==R&&R>0&&K===0&&(R--,K=1073741824);let Je=i.children[a].firstChild,at=i.children[R].firstChild;if(Je&&at||(!Je&&_===0&&a>0&&(Je=i.children[a-1].firstChild,_=1073741824),!at&&K===0&&R>0&&(at=i.children[R-1].firstChild,K=1073741824)),!Je||!at)return null;_=Math.min(Je.textContent.length,Math.max(0,_)),K=Math.min(at.textContent.length,Math.max(0,K));let bt=this._readClientRects(Je,_,at,K,Pe);return this._createHorizontalRangesFromClientRects(bt,we)}}var ct=o(155),Ye=o(91),ht=o(19),fe=o(26);let $=!!P.g||!(P.d||T.h||T.j),G=!0,z=T.f;class J{constructor(i,a){this._domNode=i,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=a}get clientRectDeltaLeft(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft}}class Se{constructor(i,a){this.themeType=a;let _=i.options,R=_.get(36);this.renderWhitespace=_.get(80),this.renderControlCharacters=_.get(74),this.spaceWidth=R.spaceWidth,this.middotWidth=R.middotWidth,this.wsmiddotWidth=R.wsmiddotWidth,this.useMonospaceOptimizations=R.isMonospace&&!_.get(24),this.canUseHalfwidthRightwardsArrow=R.canUseHalfwidthRightwardsArrow,this.lineHeight=_.get(51),this.stopRenderingLineAfter=_.get(95),this.fontLigatures=_.get(37)}equals(i){return this.themeType===i.themeType&&this.renderWhitespace===i.renderWhitespace&&this.renderControlCharacters===i.renderControlCharacters&&this.spaceWidth===i.spaceWidth&&this.middotWidth===i.middotWidth&&this.wsmiddotWidth===i.wsmiddotWidth&&this.useMonospaceOptimizations===i.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===i.canUseHalfwidthRightwardsArrow&&this.lineHeight===i.lineHeight&&this.stopRenderingLineAfter===i.stopRenderingLineAfter&&this.fontLigatures===i.fontLigatures}}class A{constructor(i){this._options=i,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(i){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(S.b)(i)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(i){this._isMaybeInvalid=!0,this._options=i}onSelectionChanged(){return!(!z&&this._options.themeType!==ht.b&&this._options.renderWhitespace!=="selection")&&(this._isMaybeInvalid=!0,!0)}renderLine(i,a,_,R){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;let K=_.getViewLineRenderingData(i),we=this._options,Pe=ct.a.filter(K.inlineDecorations,i,K.minColumn,K.maxColumn),Ve=null;if(z||we.themeType===ht.b||this._options.renderWhitespace==="selection"){let Bt=_.selections;for(let Pt of Bt){if(Pt.endLineNumber<i||Pt.startLineNumber>i)continue;let ni=Pt.startLineNumber===i?Pt.startColumn:K.minColumn,Ci=Pt.endLineNumber===i?Pt.endColumn:K.maxColumn;ni<Ci&&(we.themeType===ht.b||this._options.renderWhitespace!=="selection"?Pe.push(new ct.a(ni,Ci,"inline-selected-text",0)):(Ve||(Ve=[]),Ve.push(new Ye.b(ni-1,Ci-1))))}}let Je=new Ye.c(we.useMonospaceOptimizations,we.canUseHalfwidthRightwardsArrow,K.content,K.continuesWithWrappedLine,K.isBasicASCII,K.containsRTL,K.minColumn-1,K.tokens,Pe,K.tabSize,K.startVisibleColumn,we.spaceWidth,we.middotWidth,we.wsmiddotWidth,we.stopRenderingLineAfter,we.renderWhitespace,we.renderControlCharacters,we.fontLigatures!==fe.e.OFF,Ve);if(this._renderedViewLine&&this._renderedViewLine.input.equals(Je))return!1;R.appendASCIIString('<div style="top:'),R.appendASCIIString(String(a)),R.appendASCIIString("px;height:"),R.appendASCIIString(String(this._options.lineHeight)),R.appendASCIIString('px;" class="'),R.appendASCIIString(A.CLASS_NAME),R.appendASCIIString('">');let at=Object(Ye.d)(Je,R);R.appendASCIIString("</div>");let bt=null;return G&&$&&K.isBasicASCII&&we.useMonospaceOptimizations&&at.containsForeignElements===0&&K.content.length<300&&Je.lineTokens.getCount()<100&&(bt=new ee(this._renderedViewLine?this._renderedViewLine.domNode:null,Je,at.characterMapping)),bt||(bt=$e(this._renderedViewLine?this._renderedViewLine.domNode:null,Je,at.characterMapping,at.containsRTL,at.containsForeignElements)),this._renderedViewLine=bt,!0}layoutLine(i,a){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(a),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof ee}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof ee?this._renderedViewLine.monospaceAssumptionsAreValid():G}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof ee&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(i,a,_){if(!this._renderedViewLine)return null;i|=0,a|=0,i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i)),a=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,a));let R=0|this._renderedViewLine.input.stopRenderingLineAfter,K=!1;R!==-1&&i>R+1&&a>R+1&&(K=!0),R!==-1&&i>R+1&&(i=R+1),R!==-1&&a>R+1&&(a=R+1);let we=this._renderedViewLine.getVisibleRangesForRange(i,a,_);return we&&we.length>0?new Ae(K,we):null}getColumnOfNodeOffset(i,a,_){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(i,a,_):1}}A.CLASS_NAME="view-line";class ee{constructor(i,a,_){this.domNode=i,this.input=a,this._characterMapping=_,this._charWidth=a.spaceWidth}getWidth(){return this._getCharPosition(this._characterMapping.length)}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return G;let i=this.getWidth(),a=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(i-a)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),G=!1),G}toSlowRenderedLine(){return $e(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(i,a,_){let R=this._getCharPosition(i),K=this._getCharPosition(a);return[new he(R,K-R)]}_getCharPosition(i){let a=this._characterMapping.getAbsoluteOffsets();return a.length===0?0:Math.round(this._charWidth*a[i-1])}getColumnOfNodeOffset(i,a,_){let R=a.textContent.length,K=-1;for(;a;)a=a.previousSibling,K++;return this._characterMapping.partDataToCharOffset(K,R,_)+1}}class de{constructor(i,a,_,R,K){if(this.domNode=i,this.input=a,this._characterMapping=_,this._isWhitespaceOnly=/^\s*$/.test(a.lineContent),this._containsForeignElements=K,this._cachedWidth=-1,this._pixelOffsetCache=null,!R||this._characterMapping.length===0){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(let we=0,Pe=this._characterMapping.length;we<=Pe;we++)this._pixelOffsetCache[we]=-1}}_getReadingTarget(i){return i.domNode.firstChild}getWidth(){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(i,a,_){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){let R=this._readPixelOffset(this.domNode,i,_);if(R===-1)return null;let K=this._readPixelOffset(this.domNode,a,_);return K===-1?null:[new he(R,K-R)]}return this._readVisibleRangesForRange(this.domNode,i,a,_)}_readVisibleRangesForRange(i,a,_,R){if(a===_){let K=this._readPixelOffset(i,a,R);return K===-1?null:[new he(K,0)]}return this._readRawVisibleRangesForRange(i,a,_,R)}_readPixelOffset(i,a,_){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth();let R=this._getReadingTarget(i);return R.firstChild?R.firstChild.offsetWidth:0}if(this._pixelOffsetCache!==null){let R=this._pixelOffsetCache[a];if(R!==-1)return R;let K=this._actualReadPixelOffset(i,a,_);return this._pixelOffsetCache[a]=K,K}return this._actualReadPixelOffset(i,a,_)}_actualReadPixelOffset(i,a,_){if(this._characterMapping.length===0){let Je=nt.readHorizontalRanges(this._getReadingTarget(i),0,0,0,0,_.clientRectDeltaLeft,_.endNode);return Je&&Je.length!==0?Je[0].left:-1}if(a===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth();let R=this._characterMapping.charOffsetToPartData(a-1),K=Ye.a.getPartIndex(R),we=Ye.a.getCharIndex(R),Pe=nt.readHorizontalRanges(this._getReadingTarget(i),K,we,K,we,_.clientRectDeltaLeft,_.endNode);if(!Pe||Pe.length===0)return-1;let Ve=Pe[0].left;if(this.input.isBasicASCII){let Je=this._characterMapping.getAbsoluteOffsets(),at=Math.round(this.input.spaceWidth*Je[a-1]);if(Math.abs(at-Ve)<=1)return at}return Ve}_readRawVisibleRangesForRange(i,a,_,R){if(a===1&&_===this._characterMapping.length)return[new he(0,this.getWidth())];let K=this._characterMapping.charOffsetToPartData(a-1),we=Ye.a.getPartIndex(K),Pe=Ye.a.getCharIndex(K),Ve=this._characterMapping.charOffsetToPartData(_-1),Je=Ye.a.getPartIndex(Ve),at=Ye.a.getCharIndex(Ve);return nt.readHorizontalRanges(this._getReadingTarget(i),we,Pe,Je,at,R.clientRectDeltaLeft,R.endNode)}getColumnOfNodeOffset(i,a,_){let R=a.textContent.length,K=-1;for(;a;)a=a.previousSibling,K++;return this._characterMapping.partDataToCharOffset(K,R,_)+1}}class Oe extends de{_readVisibleRangesForRange(i,a,_,R){let K=super._readVisibleRangesForRange(i,a,_,R);if(!K||K.length===0||a===_||a===1&&_===this._characterMapping.length)return K;if(!this.input.containsRTL){let we=this._readPixelOffset(i,_,R);if(we!==-1){let Pe=K[K.length-1];Pe.left<we&&(Pe.width=we-Pe.left)}}return K}}let $e=T.l?pt:it;function pt(Zt,i,a,_,R){return new Oe(Zt,i,a,_,R)}function it(Zt,i,a,_,R){return new de(Zt,i,a,_,R)}var At=o(9),Nt=o(3),_i=o(22);class wt{constructor(i,a){this.lastViewCursorsRenderData=i,this.lastTextareaPosition=a}}class Ni{constructor(i,a,_=0,R=null,K=null,we=null){this.element=i,this.type=a,this.mouseColumn=_,this.position=R,!K&&R&&(K=new Nt.a(R.lineNumber,R.column,R.lineNumber,R.column)),this.range=K,this.detail=we}static _typeToString(i){return i===1?"TEXTAREA":i===2?"GUTTER_GLYPH_MARGIN":i===3?"GUTTER_LINE_NUMBERS":i===4?"GUTTER_LINE_DECORATIONS":i===5?"GUTTER_VIEW_ZONE":i===6?"CONTENT_TEXT":i===7?"CONTENT_EMPTY":i===8?"CONTENT_VIEW_ZONE":i===9?"CONTENT_WIDGET":i===10?"OVERVIEW_RULER":i===11?"SCROLLBAR":i===12?"OVERLAY_WIDGET":"UNKNOWN"}static toString(i){return this._typeToString(i.type)+": "+i.position+" - "+i.range+" - "+i.detail}toString(){return Ni.toString(this)}}class pi{static isTextArea(i){return i.length===2&&i[0]===3&&i[1]===6}static isChildOfViewLines(i){return i.length>=4&&i[0]===3&&i[3]===7}static isStrictChildOfViewLines(i){return i.length>4&&i[0]===3&&i[3]===7}static isChildOfScrollableElement(i){return i.length>=2&&i[0]===3&&i[1]===5}static isChildOfMinimap(i){return i.length>=2&&i[0]===3&&i[1]===8}static isChildOfContentWidgets(i){return i.length>=4&&i[0]===3&&i[3]===1}static isChildOfOverflowingContentWidgets(i){return i.length>=1&&i[0]===2}static isChildOfOverlayWidgets(i){return i.length>=2&&i[0]===3&&i[1]===4}}class et{constructor(i,a,_){this.model=i.model;let R=i.configuration.options;this.layoutInfo=R.get(117),this.viewDomNode=a.viewDomNode,this.lineHeight=R.get(51),this.typicalHalfwidthCharacterWidth=R.get(36).typicalHalfwidthCharacterWidth,this.lastRenderData=_,this._context=i,this._viewHelper=a}getZoneAtCoord(i){return et.getZoneAtCoord(this._context,i)}static getZoneAtCoord(i,a){let _=i.viewLayout.getWhitespaceAtVerticalOffset(a);if(_){let R,K=_.verticalOffset+_.height/2,we=i.model.getLineCount(),Pe=null,Ve=null;return _.afterLineNumber!==we&&(Ve=new At.a(_.afterLineNumber+1,1)),_.afterLineNumber>0&&(Pe=new At.a(_.afterLineNumber,i.model.getLineMaxColumn(_.afterLineNumber))),R=Ve===null?Pe:Pe===null?Ve:a<K?Pe:Ve,{viewZoneId:_.id,afterLineNumber:_.afterLineNumber,positionBefore:Pe,positionAfter:Ve,position:R}}return null}getFullLineRangeAtCoord(i){if(this._context.viewLayout.isAfterLines(i)){let R=this._context.model.getLineCount(),K=this._context.model.getLineMaxColumn(R);return{range:new Nt.a(R,K,R,K),isAfterLines:!0}}let a=this._context.viewLayout.getLineNumberAtVerticalOffset(i),_=this._context.model.getLineMaxColumn(a);return{range:new Nt.a(a,1,a,_),isAfterLines:!1}}getLineNumberAtVerticalOffset(i){return this._context.viewLayout.getLineNumberAtVerticalOffset(i)}isAfterLines(i){return this._context.viewLayout.isAfterLines(i)}getVerticalOffsetForLineNumber(i){return this._context.viewLayout.getVerticalOffsetForLineNumber(i)}findAttribute(i,a){return et._findAttribute(i,a,this._viewHelper.viewDomNode)}static _findAttribute(i,a,_){for(;i&&i!==document.body;){if(i.hasAttribute&&i.hasAttribute(a))return i.getAttribute(a);if(i===_)return null;i=i.parentNode}return null}getLineWidth(i){return this._viewHelper.getLineWidth(i)}visibleRangeForPosition(i,a){return this._viewHelper.visibleRangeForPosition(i,a)}getPositionFromDOMInfo(i,a){return this._viewHelper.getPositionFromDOMInfo(i,a)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class Wt extends class{constructor(i,a,_){this.editorPos=a,this.pos=_,this.mouseVerticalOffset=Math.max(0,i.getCurrentScrollTop()+_.y-a.y),this.mouseContentHorizontalOffset=i.getCurrentScrollLeft()+_.x-a.x-i.layoutInfo.contentLeft,this.isInMarginArea=_.x-a.x<i.layoutInfo.contentLeft&&_.x-a.x>=i.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,Ai._getMouseColumn(this.mouseContentHorizontalOffset,i.typicalHalfwidthCharacterWidth))}}{constructor(i,a,_,R){super(i,a,_),this._ctx=i,R?(this.target=R,this.targetPath=Y.collect(R,i.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset} + target: ${this.target?this.target.outerHTML:null}`}fulfill(i,a=null,_=null,R=null){let K=this.mouseColumn;return a&&a.column<this._ctx.model.getLineMaxColumn(a.lineNumber)&&(K=_i.a.visibleColumnFromColumn(this._ctx.model.getLineContent(a.lineNumber),a.column,this._ctx.model.getTextModelOptions().tabSize)+1),new Ni(this.target,i,K,a,_,R)}withTarget(i){return new Wt(this._ctx,this.editorPos,this.pos,i)}}let Li={isAfterLines:!0};function Ii(Zt){return{isAfterLines:!1,horizontalDistanceToText:Zt}}class Ai{constructor(i,a){this._context=i,this._viewHelper=a}mouseTargetIsWidget(i){let a=i.target,_=Y.collect(a,this._viewHelper.viewDomNode);return!(!pi.isChildOfContentWidgets(_)&&!pi.isChildOfOverflowingContentWidgets(_))||!!pi.isChildOfOverlayWidgets(_)}createMouseTarget(i,a,_,R){let K=new et(this._context,this._viewHelper,i),we=new Wt(K,a,_,R);try{return Ai._createMouseTarget(K,we,!1)}catch(Pe){return we.fulfill(0)}}static _createMouseTarget(i,a,_){if(a.target===null){if(_)return a.fulfill(0);let we=Ai._doHitTest(i,a);return we.position?Ai.createMouseTargetFromHitTestPosition(i,a,we.position.lineNumber,we.position.column):this._createMouseTarget(i,a.withTarget(we.hitTarget),!0)}let R=a,K=null;return K=K||Ai._hitTestContentWidget(i,R),K=K||Ai._hitTestOverlayWidget(i,R),K=K||Ai._hitTestMinimap(i,R),K=K||Ai._hitTestScrollbarSlider(i,R),K=K||Ai._hitTestViewZone(i,R),K=K||Ai._hitTestMargin(i,R),K=K||Ai._hitTestViewCursor(i,R),K=K||Ai._hitTestTextArea(i,R),K=K||Ai._hitTestViewLines(i,R,_),K=K||Ai._hitTestScrollbar(i,R),K||a.fulfill(0)}static _hitTestContentWidget(i,a){if(pi.isChildOfContentWidgets(a.targetPath)||pi.isChildOfOverflowingContentWidgets(a.targetPath)){let _=i.findAttribute(a.target,"widgetId");return _?a.fulfill(9,null,null,_):a.fulfill(0)}return null}static _hitTestOverlayWidget(i,a){if(pi.isChildOfOverlayWidgets(a.targetPath)){let _=i.findAttribute(a.target,"widgetId");return _?a.fulfill(12,null,null,_):a.fulfill(0)}return null}static _hitTestViewCursor(i,a){if(a.target){let _=i.lastRenderData.lastViewCursorsRenderData;for(let R of _)if(a.target===R.domNode)return a.fulfill(6,R.position)}if(a.isInContentArea){let _=i.lastRenderData.lastViewCursorsRenderData,R=a.mouseContentHorizontalOffset,K=a.mouseVerticalOffset;for(let we of _){if(R<we.contentLeft||R>we.contentLeft+we.width)continue;let Pe=i.getVerticalOffsetForLineNumber(we.position.lineNumber);if(Pe<=K&&K<=Pe+we.height)return a.fulfill(6,we.position)}}return null}static _hitTestViewZone(i,a){let _=i.getZoneAtCoord(a.mouseVerticalOffset);if(_){let R=a.isInContentArea?8:5;return a.fulfill(R,_.position,null,_)}return null}static _hitTestTextArea(i,a){return pi.isTextArea(a.targetPath)?i.lastRenderData.lastTextareaPosition?a.fulfill(6,i.lastRenderData.lastTextareaPosition):a.fulfill(1,i.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(i,a){if(a.isInMarginArea){let _=i.getFullLineRangeAtCoord(a.mouseVerticalOffset),R=_.range.getStartPosition(),K=Math.abs(a.pos.x-a.editorPos.x),we={isAfterLines:_.isAfterLines,glyphMarginLeft:i.layoutInfo.glyphMarginLeft,glyphMarginWidth:i.layoutInfo.glyphMarginWidth,lineNumbersWidth:i.layoutInfo.lineNumbersWidth,offsetX:K};return K-=i.layoutInfo.glyphMarginLeft,K<=i.layoutInfo.glyphMarginWidth?a.fulfill(2,R,_.range,we):(K-=i.layoutInfo.glyphMarginWidth,K<=i.layoutInfo.lineNumbersWidth?a.fulfill(3,R,_.range,we):(K-=i.layoutInfo.lineNumbersWidth,a.fulfill(4,R,_.range,we)))}return null}static _hitTestViewLines(i,a,_){if(!pi.isChildOfViewLines(a.targetPath))return null;if(i.isAfterLines(a.mouseVerticalOffset)){let K=i.model.getLineCount(),we=i.model.getLineMaxColumn(K);return a.fulfill(7,new At.a(K,we),void 0,Li)}if(_){if(pi.isStrictChildOfViewLines(a.targetPath)){let K=i.getLineNumberAtVerticalOffset(a.mouseVerticalOffset);if(i.model.getLineLength(K)===0){let Pe=i.getLineWidth(K),Ve=Ii(a.mouseContentHorizontalOffset-Pe);return a.fulfill(7,new At.a(K,1),void 0,Ve)}let we=i.getLineWidth(K);if(a.mouseContentHorizontalOffset>=we){let Pe=Ii(a.mouseContentHorizontalOffset-we),Ve=new At.a(K,i.model.getLineMaxColumn(K));return a.fulfill(7,Ve,void 0,Pe)}}return a.fulfill(0)}let R=Ai._doHitTest(i,a);return R.position?Ai.createMouseTargetFromHitTestPosition(i,a,R.position.lineNumber,R.position.column):this._createMouseTarget(i,a.withTarget(R.hitTarget),!0)}static _hitTestMinimap(i,a){if(pi.isChildOfMinimap(a.targetPath)){let _=i.getLineNumberAtVerticalOffset(a.mouseVerticalOffset),R=i.model.getLineMaxColumn(_);return a.fulfill(11,new At.a(_,R))}return null}static _hitTestScrollbarSlider(i,a){if(pi.isChildOfScrollableElement(a.targetPath)&&a.target&&a.target.nodeType===1){let _=a.target.className;if(_&&/\b(slider|scrollbar)\b/.test(_)){let R=i.getLineNumberAtVerticalOffset(a.mouseVerticalOffset),K=i.model.getLineMaxColumn(R);return a.fulfill(11,new At.a(R,K))}}return null}static _hitTestScrollbar(i,a){if(pi.isChildOfScrollableElement(a.targetPath)){let _=i.getLineNumberAtVerticalOffset(a.mouseVerticalOffset),R=i.model.getLineMaxColumn(_);return a.fulfill(11,new At.a(_,R))}return null}getMouseColumn(i,a){let _=this._context.configuration.options,R=_.get(117),K=this._context.viewLayout.getCurrentScrollLeft()+a.x-i.x-R.contentLeft;return Ai._getMouseColumn(K,_.get(36).typicalHalfwidthCharacterWidth)}static _getMouseColumn(i,a){return i<0?1:Math.round(i/a)+1}static createMouseTargetFromHitTestPosition(i,a,_,R){let K=new At.a(_,R),we=i.getLineWidth(_);if(a.mouseContentHorizontalOffset>we){if(T.f&&K.column===1){let bt=Ii(a.mouseContentHorizontalOffset-we);return a.fulfill(7,new At.a(_,i.model.getLineMaxColumn(_)),void 0,bt)}let at=Ii(a.mouseContentHorizontalOffset-we);return a.fulfill(7,K,void 0,at)}let Pe=i.visibleRangeForPosition(_,R);if(!Pe)return a.fulfill(0,K);let Ve=Pe.left;if(a.mouseContentHorizontalOffset===Ve)return a.fulfill(6,K);let Je=[];if(Je.push({offset:Pe.left,column:R}),R>1){let at=i.visibleRangeForPosition(_,R-1);at&&Je.push({offset:at.left,column:R-1})}if(R<i.model.getLineMaxColumn(_)){let at=i.visibleRangeForPosition(_,R+1);at&&Je.push({offset:at.left,column:R+1})}Je.sort((at,bt)=>at.offset-bt.offset);for(let at=1;at<Je.length;at++){let bt=Je[at-1],Bt=Je[at];if(bt.offset<=a.mouseContentHorizontalOffset&&a.mouseContentHorizontalOffset<=Bt.offset){let Pt=new Nt.a(_,bt.column,_,Bt.column);return a.fulfill(6,K,Pt)}}return a.fulfill(6,K)}static _doHitTestWithCaretRangeFromPoint(i,a){let _=i.getLineNumberAtVerticalOffset(a.mouseVerticalOffset),R=i.getVerticalOffsetForLineNumber(_)+Math.floor(i.lineHeight/2),K=a.pos.y+(R-a.mouseVerticalOffset);K<=a.editorPos.y&&(K=a.editorPos.y+1),K>=a.editorPos.y+i.layoutInfo.height&&(K=a.editorPos.y+i.layoutInfo.height-1);let we=new b(a.pos.x,K),Pe=this._actualDoHitTestWithCaretRangeFromPoint(i,we.toClientCoordinates());return Pe.position?Pe:this._actualDoHitTestWithCaretRangeFromPoint(i,a.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(i,a){let _=f.E(i.viewDomNode),R;if(R=_?_.caretRangeFromPoint===void 0?function(Pe,Ve,Je){let at=document.createRange(),bt=Pe.elementFromPoint(Ve,Je);if(bt!==null){for(;bt&&bt.firstChild&&bt.firstChild.nodeType!==bt.firstChild.TEXT_NODE;)bt=bt.lastChild;let Bt=bt.getBoundingClientRect(),Pt=window.getComputedStyle(bt,null).getPropertyValue("font"),ni=bt.innerText,Ci,Vi=Bt.left,Mi=0;if(Ve>Bt.left+Bt.width)Mi=ni.length;else{let zi=Zi.getInstance();for(let Yi=0;Yi<ni.length+1;Yi++){if(Ci=zi.getCharWidth(ni.charAt(Yi),Pt)/2,Vi+=Ci,Ve<Vi){Mi=Yi;break}Vi+=Ci}}at.setStart(bt.firstChild,Mi),at.setEnd(bt.firstChild,Mi)}return at}(_,a.clientX,a.clientY):_.caretRangeFromPoint(a.clientX,a.clientY):document.caretRangeFromPoint(a.clientX,a.clientY),!R||!R.startContainer)return{position:null,hitTarget:null};let K=R.startContainer,we=null;if(K.nodeType===K.TEXT_NODE){let Pe=K.parentNode,Ve=Pe?Pe.parentNode:null,Je=Ve?Ve.parentNode:null;if((Je&&Je.nodeType===Je.ELEMENT_NODE?Je.className:null)===A.CLASS_NAME)return{position:i.getPositionFromDOMInfo(Pe,R.startOffset),hitTarget:null};we=K.parentNode}else if(K.nodeType===K.ELEMENT_NODE){let Pe=K.parentNode,Ve=Pe?Pe.parentNode:null;if((Ve&&Ve.nodeType===Ve.ELEMENT_NODE?Ve.className:null)===A.CLASS_NAME)return{position:i.getPositionFromDOMInfo(K,K.textContent.length),hitTarget:null};we=K}return{position:null,hitTarget:we}}static _doHitTestWithCaretPositionFromPoint(i,a){let _=document.caretPositionFromPoint(a.clientX,a.clientY);if(_.offsetNode.nodeType===_.offsetNode.TEXT_NODE){let R=_.offsetNode.parentNode,K=R?R.parentNode:null,we=K?K.parentNode:null;return(we&&we.nodeType===we.ELEMENT_NODE?we.className:null)===A.CLASS_NAME?{position:i.getPositionFromDOMInfo(_.offsetNode.parentNode,_.offset),hitTarget:null}:{position:null,hitTarget:_.offsetNode.parentNode}}if(_.offsetNode.nodeType===_.offsetNode.ELEMENT_NODE){let R=_.offsetNode.parentNode;if((R&&R.nodeType===R.ELEMENT_NODE?R.className:null)===A.CLASS_NAME){let K=_.offsetNode.childNodes[Math.min(_.offset,_.offsetNode.childNodes.length-1)];if(K)return{position:i.getPositionFromDOMInfo(K,0),hitTarget:null}}}return{position:null,hitTarget:_.offsetNode}}static _doHitTestWithMoveToPoint(i,a){let _=null,R=null,K=document.body.createTextRange();try{K.moveToPoint(a.clientX,a.clientY)}catch(Je){return{position:null,hitTarget:null}}K.collapse(!0);let we=K?K.parentElement():null,Pe=we?we.parentNode:null,Ve=Pe?Pe.parentNode:null;if((Ve&&Ve.nodeType===Ve.ELEMENT_NODE?Ve.className:"")===A.CLASS_NAME){let Je=K.duplicate();Je.moveToElementText(we),Je.setEndPoint("EndToStart",K),_=i.getPositionFromDOMInfo(we,Je.text.length),Je.moveToElementText(i.viewDomNode)}else R=we;return K.moveToElementText(i.viewDomNode),{position:_,hitTarget:R}}static _doHitTest(i,a){return typeof document.caretRangeFromPoint=="function"?this._doHitTestWithCaretRangeFromPoint(i,a):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(i,a.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(i,a.pos.toClientCoordinates()):{position:null,hitTarget:null}}}class Zi{constructor(){this._cache={},this._canvas=document.createElement("canvas")}static getInstance(){return Zi._INSTANCE||(Zi._INSTANCE=new Zi),Zi._INSTANCE}getCharWidth(i,a){let _=i+a;if(this._cache[_])return this._cache[_];let R=this._canvas.getContext("2d");R.font=a;let K=R.measureText(i).width;return this._cache[_]=K,K}}Zi._INSTANCE=null;var Bi=o(135);function Lt(Zt){return function(i,a){let _=!1;return Zt&&(_=Zt.mouseTargetIsWidget(a)),_||a.preventDefault(),a}}class Di extends ke{constructor(i,a,_){super(),this._context=i,this.viewController=a,this.viewHelper=_,this.mouseTargetFactory=new Ai(this._context,_),this._mouseDownOperation=this._register(new gt(this._context,this.viewController,this.viewHelper,(K,we)=>this._createMouseTarget(K,we),K=>this._getMouseColumn(K))),this.lastMouseLeaveTime=-1;let R=new q(this.viewHelper.viewDomNode);this._register(R.onContextMenu(this.viewHelper.viewDomNode,K=>this._onContextMenu(K,!0))),this._register(R.onMouseMoveThrottled(this.viewHelper.viewDomNode,K=>this._onMouseMove(K),Lt(this.mouseTargetFactory),Di.MOUSE_MOVE_MINIMUM_TIME)),this._register(R.onMouseUp(this.viewHelper.viewDomNode,K=>this._onMouseUp(K))),this._register(R.onMouseLeave(this.viewHelper.viewDomNode,K=>this._onMouseLeave(K))),this._register(R.onMouseDown(this.viewHelper.viewDomNode,K=>this._onMouseDown(K))),this._register(f.i(this.viewHelper.viewDomNode,f.c.MOUSE_WHEEL,K=>{if(this.viewController.emitMouseWheel(K),!this._context.configuration.options.get(59))return;let we=new k.b(K);if(we.browserEvent.ctrlKey||we.browserEvent.metaKey){let Pe=Bi.a.getZoomLevel(),Ve=we.deltaY>0?1:-1;Bi.a.setZoomLevel(Pe+Ve),we.preventDefault(),we.stopPropagation()}},{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onCursorStateChanged(i){return this._mouseDownOperation.onCursorStateChanged(i),!1}onFocusChanged(i){return!1}onScrollChanged(i){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(i,a){let _=new g(i,a).toPageCoordinates(),R=ie(this.viewHelper.viewDomNode);return _.y<R.y||_.y>R.y+R.height||_.x<R.x||_.x>R.x+R.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),R,_,null)}_createMouseTarget(i,a){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i.editorPos,i.pos,a?i.target:null)}_getMouseColumn(i){return this.mouseTargetFactory.getMouseColumn(i.editorPos,i.pos)}_onContextMenu(i,a){this.viewController.emitContextMenu({event:i,target:this._createMouseTarget(i,a)})}_onMouseMove(i){this._mouseDownOperation.isActive()||i.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:i,target:this._createMouseTarget(i,!0)})}_onMouseLeave(i){this.lastMouseLeaveTime=new Date().getTime(),this.viewController.emitMouseLeave({event:i,target:null})}_onMouseUp(i){this.viewController.emitMouseUp({event:i,target:this._createMouseTarget(i,!0)})}_onMouseDown(i){let a=this._createMouseTarget(i,!0),_=a.type===6||a.type===7,R=a.type===2||a.type===3||a.type===4,K=a.type===3,we=this._context.configuration.options.get(90),Pe=a.type===8||a.type===5,Ve=a.type===9,Je=i.leftButton||i.middleButton;P.f&&i.leftButton&&i.ctrlKey&&(Je=!1);let at=()=>{i.preventDefault(),this.viewHelper.focusTextArea()};if(Je&&(_||K&&we))at(),this._mouseDownOperation.start(a.type,i);else if(R)i.preventDefault();else if(Pe){let bt=a.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(bt.viewZoneId)&&(at(),this._mouseDownOperation.start(a.type,i),i.preventDefault())}else Ve&&this.viewHelper.shouldSuppressMouseDownOnWidget(a.detail)&&(at(),i.preventDefault());this.viewController.emitMouseDown({event:i,target:a})}}Di.MOUSE_MOVE_MINIMUM_TIME=100;class gt extends E.a{constructor(i,a,_,R,K){super(),this._context=i,this._viewController=a,this._viewHelper=_,this._createMouseTarget=R,this._getMouseColumn=K,this._mouseMoveMonitor=this._register(new se(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new l.e),this._mouseState=new vi,this._currentSelection=new C.a(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(i){this._lastMouseEvent=i,this._mouseState.setModifiers(i);let a=this._findMousePosition(i,!0);a&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:i,target:a}):this._dispatchMouse(a,!0))}start(i,a){this._lastMouseEvent=a,this._mouseState.setStartedOnLineNumbers(i===3),this._mouseState.setStartButtons(a),this._mouseState.setModifiers(a);let _=this._findMousePosition(a,!0);if(!_||!_.position)return;this._mouseState.trySetCount(a.detail,_.position),a.detail=this._mouseState.count;let R=this._context.configuration.options;if(!R.get(72)&&R.get(25)&&!R.get(13)&&!this._mouseState.altKey&&a.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&_.type===6&&_.position&&this._currentSelection.containsPosition(_.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(a.target,a.buttons,Lt(null),K=>this._onMouseDownThenMove(K),()=>{let K=this._findMousePosition(this._lastMouseEvent,!0);this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:K?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});this._mouseState.isDragAndDrop=!1,this._dispatchMouse(_,a.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(a.target,a.buttons,Lt(null),K=>this._onMouseDownThenMove(K),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;let i=this._findMousePosition(this._lastMouseEvent,!1);i&&(this._mouseState.isDragAndDrop||this._dispatchMouse(i,!0))},10)}onCursorStateChanged(i){this._currentSelection=i.selections[0]}_getPositionOutsideEditor(i){let a=i.editorPos,_=this._context.model,R=this._context.viewLayout,K=this._getMouseColumn(i);if(i.posy<a.y){let Pe=Math.max(R.getCurrentScrollTop()-(a.y-i.posy),0),Ve=et.getZoneAtCoord(this._context,Pe);if(Ve){let at=this._helpPositionJumpOverViewZone(Ve);if(at)return new Ni(null,13,K,at)}let Je=R.getLineNumberAtVerticalOffset(Pe);return new Ni(null,13,K,new At.a(Je,1))}if(i.posy>a.y+a.height){let Pe=R.getCurrentScrollTop()+(i.posy-a.y),Ve=et.getZoneAtCoord(this._context,Pe);if(Ve){let at=this._helpPositionJumpOverViewZone(Ve);if(at)return new Ni(null,13,K,at)}let Je=R.getLineNumberAtVerticalOffset(Pe);return new Ni(null,13,K,new At.a(Je,_.getLineMaxColumn(Je)))}let we=R.getLineNumberAtVerticalOffset(R.getCurrentScrollTop()+(i.posy-a.y));return i.posx<a.x?new Ni(null,13,K,new At.a(we,1)):i.posx>a.x+a.width?new Ni(null,13,K,new At.a(we,_.getLineMaxColumn(we))):null}_findMousePosition(i,a){let _=this._getPositionOutsideEditor(i);if(_)return _;let R=this._createMouseTarget(i,a);if(!R.position)return null;if(R.type===8||R.type===5){let K=this._helpPositionJumpOverViewZone(R.detail);if(K)return new Ni(R.element,R.type,R.mouseColumn,K,null,R.detail)}return R}_helpPositionJumpOverViewZone(i){let a=new At.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),_=i.positionBefore,R=i.positionAfter;return _&&R?_.isBefore(a)?_:R:null}_dispatchMouse(i,a){i.position&&this._viewController.dispatchMouse({position:i.position,mouseColumn:i.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:a,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class vi{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(i){this._altKey=i.altKey,this._ctrlKey=i.ctrlKey,this._metaKey=i.metaKey,this._shiftKey=i.shiftKey}setStartButtons(i){this._leftButton=i.leftButton,this._middleButton=i.middleButton}setStartedOnLineNumbers(i){this._startedOnLineNumbers=i}trySetCount(i,a){let _=new Date().getTime();_-this._lastSetMouseDownCountTime>vi.CLEAR_MOUSE_DOWN_COUNT_TIME&&(i=1),this._lastSetMouseDownCountTime=_,i>this._lastMouseDownCount+1&&(i=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(a)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=a,this._lastMouseDownCount=Math.min(i,this._lastMouseDownPositionEqualCount)}}vi.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var Rt=o(138);function vt(Zt,i){let a={translationY:i.translationY,translationX:i.translationX};return Zt&&(a.translationY+=Zt.translationY,a.translationX+=Zt.translationX),a}class Ue extends Di{constructor(i,a,_){super(i,a,_),this.viewHelper.linesContentDomNode.style.touchAction="none",this._installGestureHandlerTimeout=window.setTimeout(()=>{if(this._installGestureHandlerTimeout=-1,window.MSGesture){let R=new MSGesture,K=new MSGesture;R.target=this.viewHelper.linesContentDomNode,K.target=this.viewHelper.linesContentDomNode,this.viewHelper.linesContentDomNode.addEventListener("pointerdown",we=>{let Pe=we.pointerType;Pe!=="mouse"?Pe==="touch"?(this._lastPointerType="touch",R.addPointer(we.pointerId)):(this._lastPointerType="pen",K.addPointer(we.pointerId)):this._lastPointerType="mouse"}),this._register(f.l(this.viewHelper.linesContentDomNode,"MSGestureChange",we=>this._onGestureChange(we),vt)),this._register(f.i(this.viewHelper.linesContentDomNode,"MSGestureTap",we=>this._onCaptureGestureTap(we),!0))}},100),this._lastPointerType="mouse"}_onMouseDown(i){this._lastPointerType==="mouse"&&super._onMouseDown(i)}_onCaptureGestureTap(i){let a=new U(i,this.viewHelper.viewDomNode),_=this._createMouseTarget(a,!1);_.position&&this.viewController.moveTo(_.position),a.browserEvent.fromElement?(a.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(()=>{this.viewHelper.focusTextArea()})}_onGestureChange(i){this._context.model.deltaScrollNow(-i.translationX,-i.translationY)}dispose(){window.clearTimeout(this._installGestureHandlerTimeout),super.dispose()}}class ut extends Di{constructor(i,a,_){super(i,a,_),this._register(V.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(f.i(this.viewHelper.linesContentDomNode,V.a.Tap,K=>this.onTap(K))),this._register(f.i(this.viewHelper.linesContentDomNode,V.a.Change,K=>this.onChange(K))),this._register(f.i(this.viewHelper.linesContentDomNode,V.a.Contextmenu,K=>this._onContextMenu(new U(K,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(f.i(this.viewHelper.linesContentDomNode,"pointerdown",K=>{let we=K.pointerType;this._lastPointerType=we!=="mouse"?we==="touch"?"touch":"pen":"mouse"}));let R=new B(this.viewHelper.viewDomNode);this._register(R.onPointerMoveThrottled(this.viewHelper.viewDomNode,K=>this._onMouseMove(K),Lt(this.mouseTargetFactory),Di.MOUSE_MOVE_MINIMUM_TIME)),this._register(R.onPointerUp(this.viewHelper.viewDomNode,K=>this._onMouseUp(K))),this._register(R.onPointerLeave(this.viewHelper.viewDomNode,K=>this._onMouseLeave(K))),this._register(R.onPointerDown(this.viewHelper.viewDomNode,K=>this._onMouseDown(K)))}onTap(i){if(!i.initialTarget||!this.viewHelper.linesContentDomNode.contains(i.initialTarget))return;i.preventDefault(),this.viewHelper.focusTextArea();let a=this._createMouseTarget(new U(i,this.viewHelper.viewDomNode),!1);a.position&&this.viewController.dispatchMouse({position:a.position,mouseColumn:a.position.column,startedOnLineNumbers:!1,mouseDownCount:i.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}onChange(i){this._lastPointerType==="touch"&&this._context.model.deltaScrollNow(-i.translationX,-i.translationY)}_onMouseDown(i){i.target&&this.viewHelper.linesContentDomNode.contains(i.target)&&this._lastPointerType==="touch"||super._onMouseDown(i)}}class ze extends Di{constructor(i,a,_){super(i,a,_),this._register(V.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(f.i(this.viewHelper.linesContentDomNode,V.a.Tap,R=>this.onTap(R))),this._register(f.i(this.viewHelper.linesContentDomNode,V.a.Change,R=>this.onChange(R))),this._register(f.i(this.viewHelper.linesContentDomNode,V.a.Contextmenu,R=>this._onContextMenu(new U(R,this.viewHelper.viewDomNode),!1)))}onTap(i){i.preventDefault(),this.viewHelper.focusTextArea();let a=this._createMouseTarget(new U(i,this.viewHelper.viewDomNode),!1);a.position&&this.viewController.moveTo(a.position)}onChange(i){this._context.model.deltaScrollNow(-i.translationX,-i.translationY)}}class st extends E.a{constructor(i,a,_){super(),P.c&&Rt.a.pointerEvents?this.handler=this._register(new ut(i,a,_)):window.TouchEvent?this.handler=this._register(new ze(i,a,_)):window.navigator.pointerEnabled||window.PointerEvent?this.handler=this._register(new Ue(i,a,_)):this.handler=this._register(new Di(i,a,_))}getTargetAtClientPoint(i,a){return this.handler.getTargetAtClientPoint(i,a)}}o(210);var _t=o(8),oi=o(167),li=o(127);o(212);class gi extends ke{}var ki=o(57);class Ri extends gi{constructor(i){super(),this._context=i,this._readConfig(),this._lastCursorModelPosition=new At.a(1,1),this._renderResult=null,this._context.addEventHandler(this)}_readConfig(){let i=this._context.configuration.options;this._lineHeight=i.get(51);let a=i.get(52);this._renderLineNumbers=a.renderType,this._renderCustomLineNumbers=a.renderFn,this._renderFinalNewline=i.get(76);let _=i.get(117);this._lineNumbersLeft=_.lineNumbersLeft,this._lineNumbersWidth=_.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){return this._readConfig(),!0}onCursorStateChanged(i){let a=i.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(a),this._renderLineNumbers===2||this._renderLineNumbers===3}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_getLineRenderLineNumber(i){let a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new At.a(i,1));if(a.column!==1)return"";let _=a.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(_);if(this._renderLineNumbers===2){let R=Math.abs(this._lastCursorModelPosition.lineNumber-_);return R===0?'<span class="relative-current-line-number">'+_+"</span>":String(R)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===_||_%10==0?String(_):"":String(_)}prepareRender(i){if(this._renderLineNumbers===0)return void(this._renderResult=null);let a=P.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",_=i.visibleRange.startLineNumber,R=i.visibleRange.endLineNumber,K='<div class="'+Ri.CLASS_NAME+a+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',we=this._context.model.getLineCount(),Pe=[];for(let Ve=_;Ve<=R;Ve++){let Je=Ve-_;if(!this._renderFinalNewline&&Ve===we&&this._context.model.getLineLength(Ve)===0){Pe[Je]="";continue}let at=this._getLineRenderLineNumber(Ve);Pe[Je]=at?K+at+"</div>":""}this._renderResult=Pe}render(i,a){if(!this._renderResult)return"";let _=a-i;return _<0||_>=this._renderResult.length?"":this._renderResult[_]}}Ri.CLASS_NAME="line-numbers",Object(ht.g)((Zt,i)=>{let a=Zt.getColor(ki.k);a&&i.addRule(`.monaco-editor .line-numbers { color: ${a}; }`);let _=Zt.getColor(ki.b);_&&i.addRule(`.monaco-editor .current-line ~ .line-numbers { color: ${_}; }`)});class $i extends xe{constructor(i){super(i);let a=this._context.configuration.options,_=a.get(117);this._canUseLayerHinting=!a.get(23),this._contentLeft=_.contentLeft,this._glyphMarginLeft=_.glyphMarginLeft,this._glyphMarginWidth=_.glyphMarginWidth,this._domNode=Object(S.b)(document.createElement("div")),this._domNode.setClassName($i.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(S.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName($i.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(117);return this._canUseLayerHinting=!a.get(23),this._contentLeft=_.contentLeft,this._glyphMarginLeft=_.glyphMarginLeft,this._glyphMarginWidth=_.glyphMarginWidth,!0}onScrollChanged(i){return super.onScrollChanged(i)||i.scrollTopChanged}prepareRender(i){}render(i){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");let a=i.scrollTop-i.bigNumbersDelta;this._domNode.setTop(-a);let _=Math.min(i.scrollHeight,1e6);this._domNode.setHeight(_),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(_)}}$i.CLASS_NAME="glyph-margin",$i.OUTER_CLASS_NAME="margin";var Hi=o(117),yi=o(145);class kt{constructor(i,a,_){this.top=i,this.left=a,this.width=_}setWidth(i){return new kt(this.top,this.left,i)}}let Et=T.f||T.h;class si extends xe{constructor(i,a,_){super(i),this._primaryCursorPosition=new At.a(1,1),this._primaryCursorVisibleRange=null,this._viewController=a,this._viewHelper=_,this._scrollLeft=0,this._scrollTop=0;let R=this._context.configuration.options,K=R.get(117);this._setAccessibilityOptions(R),this._contentLeft=K.contentLeft,this._contentWidth=K.contentWidth,this._contentHeight=K.height,this._fontInfo=R.get(36),this._lineHeight=R.get(51),this._emptySelectionClipboard=R.get(26),this._copyWithSyntaxHighlighting=R.get(16),this._visibleTextArea=null,this._selections=[new C.a(1,1,1,1)],this._modelSelections=[new C.a(1,1,1,1)],this._lastRenderPosition=null,this.textArea=Object(S.b)(document.createElement("textarea")),Y.write(this.textArea,6),this.textArea.setClassName("inputarea "+yi.a),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(R)),this.textArea.setAttribute("tabindex",String(R.get(102))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",h.a("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),P.h&&R.get(72)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=Object(S.b)(document.createElement("div")),this.textAreaCover.setPosition("absolute");let we={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:Ve=>this._context.model.getLineMaxColumn(Ve),getValueInRange:(Ve,Je)=>this._context.model.getValueInRange(Ve,Je)},Pe={getDataToCopy:Ve=>{let Je=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,P.i),at=this._context.model.getEOL(),bt=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),Bt=Array.isArray(Je)?Je:null,Pt=Array.isArray(Je)?Je.join(at):Je,ni,Ci=null;if(Ve&&(oi.a.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&Pt.length<65536)){let Vi=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);Vi&&(ni=Vi.html,Ci=Vi.mode)}return{isFromEmptySelection:bt,multicursorText:Bt,text:Pt,html:ni,mode:Ci}},getScreenReaderContent:Ve=>{if(this._accessibilitySupport===1){if(P.f){let Je=this._selections[0];if(Je.isEmpty()){let at=Je.getStartPosition(),bt=this._getWordBeforePosition(at);if(bt.length===0&&(bt=this._getCharacterBeforePosition(at)),bt.length>0)return new li.b(bt,bt.length,bt.length,at,at)}}return li.b.EMPTY}return li.a.fromEditorSelection(Ve,we,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(Ve,Je,at)=>this._context.model.deduceModelPositionRelativeToViewPosition(Ve,Je,at)};this._textAreaInput=this._register(new oi.c(Pe,this.textArea)),this._register(this._textAreaInput.onKeyDown(Ve=>{this._viewController.emitKeyDown(Ve)})),this._register(this._textAreaInput.onKeyUp(Ve=>{this._viewController.emitKeyUp(Ve)})),this._register(this._textAreaInput.onPaste(Ve=>{let Je=!1,at=null,bt=null;Ve.metadata&&(Je=this._emptySelectionClipboard&&!!Ve.metadata.isFromEmptySelection,at=Ve.metadata.multicursorText!==void 0?Ve.metadata.multicursorText:null,bt=Ve.metadata.mode),this._viewController.paste(Ve.text,Je,at,bt)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(Ve=>{Ve.replaceCharCnt?this._viewController.replacePreviousChar(Ve.text,Ve.replaceCharCnt):this._viewController.type(Ve.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(Ve=>{this._viewController.setSelection(Ve)})),this._register(this._textAreaInput.onCompositionStart(Ve=>{let Je=this._selections[0].startLineNumber,at=this._selections[0].startColumn-(Ve.moveOneCharacterLeft?1:0);this._context.model.revealRange("keyboard",!0,new Nt.a(Je,at,Je,at),0,1);let bt=this._viewHelper.visibleRangeForPositionRelativeToEditor(Je,at);bt&&(this._visibleTextArea=new kt(this._context.viewLayout.getVerticalOffsetForLineNumber(Je),bt.left,Et?0:1),this._render()),this.textArea.setClassName(`inputarea ${yi.a} ime-input`),this._viewController.compositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(Ve=>{T.f?this._visibleTextArea=this._visibleTextArea.setWidth(0):this._visibleTextArea=this._visibleTextArea.setWidth(function(Je,at){let bt=document.createElement("canvas").getContext("2d");bt.font=(Bt=at,Pt="normal",ni=Bt.fontWeight,Ci=Bt.fontSize,Vi=Bt.lineHeight,Mi=Bt.fontFamily,`${Pt} normal ${ni} ${Ci}px / ${Vi}px ${Mi}`);var Bt,Pt,ni,Ci,Vi,Mi;let zi=bt.measureText(Je);return T.h?zi.width+2:zi.width}(Ve.data,this._fontInfo)),this._render()})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+yi.a),this._viewController.compositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getWordBeforePosition(i){let a=this._context.model.getLineContent(i.lineNumber),_=Object(Hi.a)(this._context.configuration.options.get(105)),R=i.column,K=0;for(;R>1;){let we=a.charCodeAt(R-2);if(_.get(we)!==0||K>50)return a.substring(R-1,i.column-1);K++,R--}return a.substring(0,i.column-1)}_getCharacterBeforePosition(i){if(i.column>1){let a=this._context.model.getLineContent(i.lineNumber).charAt(i.column-2);if(!_t.F(a.charCodeAt(0)))return a}return""}_getAriaLabel(i){return i.get(2)===1?h.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",P.d?"Shift+Alt+F1":"Alt+F1"):i.get(4)}_setAccessibilityOptions(i){this._accessibilitySupport=i.get(2);let a=i.get(3);this._accessibilitySupport===2&&a===fe.g.accessibilityPageSize.defaultValue?this._accessibilityPageSize=100:this._accessibilityPageSize=a}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(117);return this._setAccessibilityOptions(a),this._contentLeft=_.contentLeft,this._contentWidth=_.contentWidth,this._contentHeight=_.height,this._fontInfo=a.get(36),this._lineHeight=a.get(51),this._emptySelectionClipboard=a.get(26),this._copyWithSyntaxHighlighting=a.get(16),this.textArea.setAttribute("aria-label",this._getAriaLabel(a)),this.textArea.setAttribute("tabindex",String(a.get(102))),P.h&&i.hasChanged(72)&&(a.get(72)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),i.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(i){return this._selections=i.selections.slice(0),this._modelSelections=i.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return this._scrollLeft=i.scrollLeft,this._scrollTop=i.scrollTop,!0}onZonesChanged(i){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(i){i.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",i.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),i.role&&this.textArea.setAttribute("role",i.role)}prepareRender(i){this._primaryCursorPosition=new At.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=i.visibleRangeForPosition(this._primaryCursorPosition)}render(i){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea)return void this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();let i=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(i<this._contentLeft||i>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();let a=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;a<0||a>this._contentHeight?this._renderAtTopLeft():P.f?this._renderInsideEditor(this._primaryCursorPosition,a,i,Et?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,a,i,Et?0:1,Et?0:1)}_renderInsideEditor(i,a,_,R,K){this._lastRenderPosition=i;let we=this.textArea,Pe=this.textAreaCover;W.a.applyFontInfo(we,this._fontInfo),we.setTop(a),we.setLeft(_),we.setWidth(R),we.setHeight(K),Pe.setTop(0),Pe.setLeft(0),Pe.setWidth(0),Pe.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;let i=this.textArea,a=this.textAreaCover;if(W.a.applyFontInfo(i,this._fontInfo),i.setTop(0),i.setLeft(0),a.setTop(0),a.setLeft(0),Et)return i.setWidth(0),i.setHeight(0),a.setWidth(0),void a.setHeight(0);i.setWidth(1),i.setHeight(1),a.setWidth(1),a.setHeight(1);let _=this._context.configuration.options;_.get(42)?a.setClassName("monaco-editor-background textAreaCover "+$i.OUTER_CLASS_NAME):_.get(52).renderType!==0?a.setClassName("monaco-editor-background textAreaCover "+Ri.CLASS_NAME):a.setClassName("monaco-editor-background textAreaCover")}}var Si=o(107);class Pi{constructor(i,a,_,R){this.configuration=i,this.viewModel=a,this.userInputEvents=_,this.commandDelegate=R}paste(i,a,_,R){this.commandDelegate.paste(i,a,_,R)}type(i){this.commandDelegate.type(i)}replacePreviousChar(i,a){this.commandDelegate.replacePreviousChar(i,a)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(i){Si.b.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:i})}_validateViewColumn(i){let a=this.viewModel.getLineMinColumn(i.lineNumber);return i.column<a?new At.a(i.lineNumber,a):i}_hasMulticursorModifier(i){switch(this.configuration.options.get(61)){case"altKey":return i.altKey;case"ctrlKey":return i.ctrlKey;case"metaKey":return i.metaKey;default:return!1}}_hasNonMulticursorModifier(i){switch(this.configuration.options.get(61)){case"altKey":return i.ctrlKey||i.metaKey;case"ctrlKey":return i.altKey||i.metaKey;case"metaKey":return i.ctrlKey||i.altKey;default:return!1}}dispatchMouse(i){let a=this.configuration.options,_=P.d&&a.get(88),R=a.get(13);i.middleButton&&!_?this._columnSelect(i.position,i.mouseColumn,i.inSelectionMode):i.startedOnLineNumbers?this._hasMulticursorModifier(i)?i.inSelectionMode?this._lastCursorLineSelect(i.position):this._createCursor(i.position,!0):i.inSelectionMode?this._lineSelectDrag(i.position):this._lineSelect(i.position):i.mouseDownCount>=4?this._selectAll():i.mouseDownCount===3?this._hasMulticursorModifier(i)?i.inSelectionMode?this._lastCursorLineSelectDrag(i.position):this._lastCursorLineSelect(i.position):i.inSelectionMode?this._lineSelectDrag(i.position):this._lineSelect(i.position):i.mouseDownCount===2?this._hasMulticursorModifier(i)?this._lastCursorWordSelect(i.position):i.inSelectionMode?this._wordSelectDrag(i.position):this._wordSelect(i.position):this._hasMulticursorModifier(i)?this._hasNonMulticursorModifier(i)||(i.shiftKey?this._columnSelect(i.position,i.mouseColumn,!0):i.inSelectionMode?this._lastCursorMoveToSelect(i.position):this._createCursor(i.position,!1)):i.inSelectionMode?i.altKey||R?this._columnSelect(i.position,i.mouseColumn,!0):this._moveToSelect(i.position):this.moveTo(i.position)}_usualArgs(i){return i=this._validateViewColumn(i),{source:"mouse",position:this._convertViewToModelPosition(i),viewPosition:i}}moveTo(i){Si.b.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_moveToSelect(i){Si.b.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_columnSelect(i,a,_){i=this._validateViewColumn(i),Si.b.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(i),viewPosition:i,mouseColumn:a,doColumnSelect:_})}_createCursor(i,a){i=this._validateViewColumn(i),Si.b.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(i),viewPosition:i,wholeLine:a})}_lastCursorMoveToSelect(i){Si.b.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_wordSelect(i){Si.b.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_wordSelectDrag(i){Si.b.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_lastCursorWordSelect(i){Si.b.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_lineSelect(i){Si.b.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_lineSelectDrag(i){Si.b.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_lastCursorLineSelect(i){Si.b.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_lastCursorLineSelectDrag(i){Si.b.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(i))}_selectAll(){Si.b.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(i){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(i)}emitKeyDown(i){this.userInputEvents.emitKeyDown(i)}emitKeyUp(i){this.userInputEvents.emitKeyUp(i)}emitContextMenu(i){this.userInputEvents.emitContextMenu(i)}emitMouseMove(i){this.userInputEvents.emitMouseMove(i)}emitMouseLeave(i){this.userInputEvents.emitMouseLeave(i)}emitMouseUp(i){this.userInputEvents.emitMouseUp(i)}emitMouseDown(i){this.userInputEvents.emitMouseDown(i)}emitMouseDrag(i){this.userInputEvents.emitMouseDrag(i)}emitMouseDrop(i){this.userInputEvents.emitMouseDrop(i)}emitMouseWheel(i){this.userInputEvents.emitMouseWheel(i)}}class Wi{constructor(i){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseWheel=null,this._coordinatesConverter=i}emitKeyDown(i){this.onKeyDown&&this.onKeyDown(i)}emitKeyUp(i){this.onKeyUp&&this.onKeyUp(i)}emitContextMenu(i){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(i))}emitMouseMove(i){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(i))}emitMouseLeave(i){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(i))}emitMouseDown(i){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(i))}emitMouseUp(i){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(i))}emitMouseDrag(i){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(i))}emitMouseDrop(i){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(i))}emitMouseWheel(i){this.onMouseWheel&&this.onMouseWheel(i)}_convertViewToModelMouseEvent(i){return i.target?{event:i.event,target:this._convertViewToModelMouseTarget(i.target)}:i}_convertViewToModelMouseTarget(i){return Wi.convertViewToModelMouseTarget(i,this._coordinatesConverter)}static convertViewToModelMouseTarget(i,a){return new xn(i.element,i.type,i.mouseColumn,i.position?a.convertViewPositionToModelPosition(i.position):null,i.range?a.convertViewRangeToModelRange(i.range):null,i.detail)}}class xn{constructor(i,a,_,R,K,we){this.element=i,this.type=a,this.mouseColumn=_,this.position=R,this.range=K,this.detail=we}toString(){return Ni.toString(this)}}var un=o(132);class bn{constructor(i){this._createLine=i,this._set(1,[])}flush(){this._set(1,[])}_set(i,a){this._lines=a,this._rendLineNumberStart=i}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(i){let a=i-this._rendLineNumberStart;if(a<0||a>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[a]}onLinesDeleted(i,a){if(this.getCount()===0)return null;let _=this.getStartLineNumber(),R=this.getEndLineNumber();if(a<_){let Pe=a-i+1;return this._rendLineNumberStart-=Pe,null}if(i>R)return null;let K=0,we=0;for(let Pe=_;Pe<=R;Pe++){let Ve=Pe-this._rendLineNumberStart;i<=Pe&&Pe<=a&&(we===0?(K=Ve,we=1):we++)}if(i<_){let Pe=0;Pe=a<_?a-i+1:_-i,this._rendLineNumberStart-=Pe}return this._lines.splice(K,we)}onLinesChanged(i,a){if(this.getCount()===0)return!1;let _=this.getStartLineNumber(),R=this.getEndLineNumber(),K=!1;for(let we=i;we<=a;we++)we>=_&&we<=R&&(this._lines[we-this._rendLineNumberStart].onContentChanged(),K=!0);return K}onLinesInserted(i,a){if(this.getCount()===0)return null;let _=a-i+1,R=this.getStartLineNumber(),K=this.getEndLineNumber();if(i<=R)return this._rendLineNumberStart+=_,null;if(i>K)return null;if(_+i>K)return this._lines.splice(i-this._rendLineNumberStart,K-i+1);let we=[];for(let bt=0;bt<_;bt++)we[bt]=this._createLine();let Pe=i-this._rendLineNumberStart,Ve=this._lines.slice(0,Pe),Je=this._lines.slice(Pe,this._lines.length-_),at=this._lines.slice(this._lines.length-_,this._lines.length);return this._lines=Ve.concat(we).concat(Je),at}onTokensChanged(i){if(this.getCount()===0)return!1;let a=this.getStartLineNumber(),_=this.getEndLineNumber(),R=!1;for(let K=0,we=i.length;K<we;K++){let Pe=i[K];if(Pe.toLineNumber<a||Pe.fromLineNumber>_)continue;let Ve=Math.max(a,Pe.fromLineNumber),Je=Math.min(_,Pe.toLineNumber);for(let at=Ve;at<=Je;at++){let bt=at-this._rendLineNumberStart;this._lines[bt].onTokensChanged(),R=!0}}return R}}class Fn{constructor(i){this._host=i,this.domNode=this._createDomNode(),this._linesCollection=new bn(()=>this._host.createVisibleLine())}_createDomNode(){let i=Object(S.b)(document.createElement("div"));return i.setClassName("view-layer"),i.setPosition("absolute"),i.domNode.setAttribute("role","presentation"),i.domNode.setAttribute("aria-hidden","true"),i}onConfigurationChanged(i){return!!i.hasChanged(117)}onFlushed(i){return this._linesCollection.flush(),!0}onLinesChanged(i){return this._linesCollection.onLinesChanged(i.fromLineNumber,i.toLineNumber)}onLinesDeleted(i){let a=this._linesCollection.onLinesDeleted(i.fromLineNumber,i.toLineNumber);if(a)for(let _=0,R=a.length;_<R;_++){let K=a[_].getDomNode();K&&this.domNode.domNode.removeChild(K)}return!0}onLinesInserted(i){let a=this._linesCollection.onLinesInserted(i.fromLineNumber,i.toLineNumber);if(a)for(let _=0,R=a.length;_<R;_++){let K=a[_].getDomNode();K&&this.domNode.domNode.removeChild(K)}return!0}onScrollChanged(i){return i.scrollTopChanged}onTokensChanged(i){return this._linesCollection.onTokensChanged(i.ranges)}onZonesChanged(i){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(i){return this._linesCollection.getLine(i)}renderLines(i){let a=this._linesCollection._get(),_=new Mn(this.domNode.domNode,this._host,i),R={rendLineNumberStart:a.rendLineNumberStart,lines:a.lines,linesLength:a.lines.length},K=_.render(R,i.startLineNumber,i.endLineNumber,i.relativeVerticalOffset);this._linesCollection._set(K.rendLineNumberStart,K.lines)}}class Mn{constructor(i,a,_){this.domNode=i,this.host=a,this.viewportData=_}render(i,a,_,R){let K={rendLineNumberStart:i.rendLineNumberStart,lines:i.lines.slice(0),linesLength:i.linesLength};if(K.rendLineNumberStart+K.linesLength-1<a||_<K.rendLineNumberStart){K.rendLineNumberStart=a,K.linesLength=_-a+1,K.lines=[];for(let we=a;we<=_;we++)K.lines[we-a]=this.host.createVisibleLine();return this._finishRendering(K,!0,R),K}if(this._renderUntouchedLines(K,Math.max(a-K.rendLineNumberStart,0),Math.min(_-K.rendLineNumberStart,K.linesLength-1),R,a),K.rendLineNumberStart>a){let we=a,Pe=Math.min(_,K.rendLineNumberStart-1);we<=Pe&&(this._insertLinesBefore(K,we,Pe,R,a),K.linesLength+=Pe-we+1)}else if(K.rendLineNumberStart<a){let we=Math.min(K.linesLength,a-K.rendLineNumberStart);we>0&&(this._removeLinesBefore(K,we),K.linesLength-=we)}if(K.rendLineNumberStart=a,K.rendLineNumberStart+K.linesLength-1<_){let we=K.rendLineNumberStart+K.linesLength,Pe=_;we<=Pe&&(this._insertLinesAfter(K,we,Pe,R,a),K.linesLength+=Pe-we+1)}else if(K.rendLineNumberStart+K.linesLength-1>_){let we=Math.max(0,_-K.rendLineNumberStart+1),Pe=K.linesLength-1-we+1;Pe>0&&(this._removeLinesAfter(K,Pe),K.linesLength-=Pe)}return this._finishRendering(K,!1,R),K}_renderUntouchedLines(i,a,_,R,K){let we=i.rendLineNumberStart,Pe=i.lines;for(let Ve=a;Ve<=_;Ve++){let Je=we+Ve;Pe[Ve].layoutLine(Je,R[Je-K])}}_insertLinesBefore(i,a,_,R,K){let we=[],Pe=0;for(let Ve=a;Ve<=_;Ve++)we[Pe++]=this.host.createVisibleLine();i.lines=we.concat(i.lines)}_removeLinesBefore(i,a){for(let _=0;_<a;_++){let R=i.lines[_].getDomNode();R&&this.domNode.removeChild(R)}i.lines.splice(0,a)}_insertLinesAfter(i,a,_,R,K){let we=[],Pe=0;for(let Ve=a;Ve<=_;Ve++)we[Pe++]=this.host.createVisibleLine();i.lines=i.lines.concat(we)}_removeLinesAfter(i,a){let _=i.linesLength-a;for(let R=0;R<a;R++){let K=i.lines[_+R].getDomNode();K&&this.domNode.removeChild(K)}i.lines.splice(_,a)}_finishRenderingNewLines(i,a,_,R){let K=this.domNode.lastChild;a||!K?this.domNode.innerHTML=_:K.insertAdjacentHTML("afterend",_);let we=this.domNode.lastChild;for(let Pe=i.linesLength-1;Pe>=0;Pe--){let Ve=i.lines[Pe];R[Pe]&&(Ve.setDomNode(we),we=we.previousSibling)}}_finishRenderingInvalidLines(i,a,_){let R=document.createElement("div");R.innerHTML=a;for(let K=0;K<i.linesLength;K++){let we=i.lines[K];if(_[K]){let Pe=R.firstChild,Ve=we.getDomNode();Ve.parentNode.replaceChild(Pe,Ve),we.setDomNode(Pe)}}}_finishRendering(i,a,_){let R=Mn._sb,K=i.linesLength,we=i.lines,Pe=i.rendLineNumberStart,Ve=[];{R.reset();let Je=!1;for(let at=0;at<K;at++){let bt=we[at];Ve[at]=!1,!bt.getDomNode()&&bt.renderLine(at+Pe,_[at],this.viewportData,R)&&(Ve[at]=!0,Je=!0)}Je&&this._finishRenderingNewLines(i,a,R.build(),Ve)}{R.reset();let Je=!1,at=[];for(let bt=0;bt<K;bt++){let Bt=we[bt];at[bt]=!1,!Ve[bt]&&Bt.renderLine(bt+Pe,_[bt],this.viewportData,R)&&(at[bt]=!0,Je=!0)}Je&&this._finishRenderingInvalidLines(i,R.build(),at)}}}Mn._sb=Object(un.a)(1e5);class Nn extends xe{constructor(i){super(i),this._visibleLines=new Fn(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let i=0,a=this._dynamicOverlays.length;i<a;i++)if(this._dynamicOverlays[i].shouldRender())return!0;return!1}dispose(){super.dispose();for(let i=0,a=this._dynamicOverlays.length;i<a;i++)this._dynamicOverlays[i].dispose();this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new Hn(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(i){this._dynamicOverlays.push(i)}onConfigurationChanged(i){this._visibleLines.onConfigurationChanged(i);let a=this._visibleLines.getStartLineNumber(),_=this._visibleLines.getEndLineNumber();for(let R=a;R<=_;R++)this._visibleLines.getVisibleLine(R).onConfigurationChanged(i);return!0}onFlushed(i){return this._visibleLines.onFlushed(i)}onFocusChanged(i){return this._isFocused=i.isFocused,!0}onLinesChanged(i){return this._visibleLines.onLinesChanged(i)}onLinesDeleted(i){return this._visibleLines.onLinesDeleted(i)}onLinesInserted(i){return this._visibleLines.onLinesInserted(i)}onScrollChanged(i){return this._visibleLines.onScrollChanged(i)||!0}onTokensChanged(i){return this._visibleLines.onTokensChanged(i)}onZonesChanged(i){return this._visibleLines.onZonesChanged(i)}prepareRender(i){let a=this._dynamicOverlays.filter(_=>_.shouldRender());for(let _=0,R=a.length;_<R;_++){let K=a[_];K.prepareRender(i),K.onDidRender()}}render(i){this._viewOverlaysRender(i),this.domNode.toggleClassName("focused",this._isFocused)}_viewOverlaysRender(i){this._visibleLines.renderLines(i.viewportData)}}class Hn{constructor(i,a){this._configuration=i,this._lineHeight=this._configuration.options.get(51),this._dynamicOverlays=a,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(i){this._domNode=Object(S.b)(i)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(i){this._lineHeight=this._configuration.options.get(51)}renderLine(i,a,_,R){let K="";for(let we=0,Pe=this._dynamicOverlays.length;we<Pe;we++)K+=this._dynamicOverlays[we].render(_.startLineNumber,i);return this._renderedContent!==K&&(this._renderedContent=K,R.appendASCIIString('<div style="position:absolute;top:'),R.appendASCIIString(String(a)),R.appendASCIIString("px;width:100%;height:"),R.appendASCIIString(String(this._lineHeight)),R.appendASCIIString('px;">'),R.appendASCIIString(K),R.appendASCIIString("</div>"),!0)}layoutLine(i,a){this._domNode&&(this._domNode.setTop(a),this._domNode.setHeight(this._lineHeight))}}class Jn extends Nn{constructor(i){super(i);let a=this._context.configuration.options.get(117);this._contentWidth=a.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(i){let a=this._context.configuration.options.get(117);return this._contentWidth=a.contentWidth,super.onConfigurationChanged(i)||!0}onScrollChanged(i){return super.onScrollChanged(i)||i.scrollWidthChanged}_viewOverlaysRender(i){super._viewOverlaysRender(i),this.domNode.setWidth(Math.max(i.scrollWidth,this._contentWidth))}}class _o extends Nn{constructor(i){super(i);let a=this._context.configuration.options,_=a.get(117);this._contentLeft=_.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),W.a.applyFontInfo(this.domNode,a.get(36))}onConfigurationChanged(i){let a=this._context.configuration.options;W.a.applyFontInfo(this.domNode,a.get(36));let _=a.get(117);return this._contentLeft=_.contentLeft,super.onConfigurationChanged(i)||!0}onScrollChanged(i){return super.onScrollChanged(i)||i.scrollHeightChanged}_viewOverlaysRender(i){super._viewOverlaysRender(i);let a=Math.min(i.scrollHeight,1e6);this.domNode.setHeight(a),this.domNode.setWidth(this._contentLeft)}}class pn{constructor(i,a){this.top=i,this.left=a}}class Gn extends xe{constructor(i,a){super(i),this._viewDomNode=a,this._widgets={},this.domNode=Object(S.b)(document.createElement("div")),Y.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=Object(S.b)(document.createElement("div")),Y.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(i){let a=Object.keys(this._widgets);for(let _ of a)this._widgets[_].onConfigurationChanged(i);return!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLineMappingChanged(i){let a=Object.keys(this._widgets);for(let _ of a)this._widgets[_].onLineMappingChanged(i);return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return!0}onZonesChanged(i){return!0}addWidget(i){let a=new on(this._context,this._viewDomNode,i);this._widgets[a.id]=a,a.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(a.domNode):this.domNode.appendChild(a.domNode),this.setShouldRender()}setWidgetPosition(i,a,_){this._widgets[i.getId()].setPosition(a,_),this.setShouldRender()}removeWidget(i){let a=i.getId();if(this._widgets.hasOwnProperty(a)){let _=this._widgets[a];delete this._widgets[a];let R=_.domNode.domNode;R.parentNode.removeChild(R),R.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(i){return!!this._widgets.hasOwnProperty(i)&&this._widgets[i].suppressMouseDown}onBeforeRender(i){let a=Object.keys(this._widgets);for(let _ of a)this._widgets[_].onBeforeRender(i)}prepareRender(i){let a=Object.keys(this._widgets);for(let _ of a)this._widgets[_].prepareRender(i)}render(i){let a=Object.keys(this._widgets);for(let _ of a)this._widgets[_].render(i)}}class on{constructor(i,a,_){this._context=i,this._viewDomNode=a,this._actual=_,this.domNode=Object(S.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;let R=this._context.configuration.options,K=R.get(117);this._fixedOverflowWidgets=R.get(30),this._contentWidth=K.contentWidth,this._contentLeft=K.contentLeft,this._lineHeight=R.get(51),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(i){let a=this._context.configuration.options;if(this._lineHeight=a.get(51),i.hasChanged(117)){let _=a.get(117);this._contentLeft=_.contentLeft,this._contentWidth=_.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(i){this._setPosition(this._range)}_setPosition(i){if(this._range=i,this._viewRange=null,this._range){let a=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(a.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(a.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(a))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(i,a){this._setPosition(i),this._preference=a,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(i,a,_,R,K){let we=i.top,Pe=we,Ve=a.top+this._lineHeight,Je=we-R,at=Pe>=R,bt=Ve,Bt=K.viewportHeight-Ve>=R,Pt=i.left,ni=a.left;return Pt+_>K.scrollLeft+K.viewportWidth&&(Pt=K.scrollLeft+K.viewportWidth-_),ni+_>K.scrollLeft+K.viewportWidth&&(ni=K.scrollLeft+K.viewportWidth-_),Pt<K.scrollLeft&&(Pt=K.scrollLeft),ni<K.scrollLeft&&(ni=K.scrollLeft),{fitsAbove:at,aboveTop:Je,aboveLeft:Pt,fitsBelow:Bt,belowTop:bt,belowLeft:ni}}_layoutHorizontalSegmentInPage(i,a,_,R){let K=Math.max(0,a.left-R),we=Math.min(a.left+a.width+R,i.width),Pe=a.left+_-f.d.scrollX;if(Pe+R>we){let Ve=Pe-(we-R);Pe-=Ve,_-=Ve}if(Pe<K){let Ve=Pe-K;Pe-=Ve,_-=Ve}return[_,Pe]}_layoutBoxInPage(i,a,_,R,K){let we=i.top-R,Pe=a.top+this._lineHeight,Ve=f.C(this._viewDomNode.domNode),Je=Ve.top+we-f.d.scrollY,at=Ve.top+Pe-f.d.scrollY,bt=f.y(document.body),[Bt,Pt]=this._layoutHorizontalSegmentInPage(bt,Ve,i.left-K.scrollLeft+this._contentLeft,_),[ni,Ci]=this._layoutHorizontalSegmentInPage(bt,Ve,a.left-K.scrollLeft+this._contentLeft,_),Vi=Je>=22,Mi=at+R<=bt.height-22;return this._fixedOverflowWidgets?{fitsAbove:Vi,aboveTop:Math.max(Je,22),aboveLeft:Pt,fitsBelow:Mi,belowTop:at,belowLeft:Ci}:{fitsAbove:Vi,aboveTop:we,aboveLeft:Bt,fitsBelow:Mi,belowTop:Pe,belowLeft:ni}}_prepareRenderWidgetAtExactPositionOverflowing(i){return new pn(i.top,i.left+this._contentLeft)}_getTopAndBottomLeft(i){if(!this._viewRange)return[null,null];let a=i.linesVisibleRangesForRange(this._viewRange,!1);if(!a||a.length===0)return[null,null];let _=a[0],R=a[0];for(let at of a)at.lineNumber<_.lineNumber&&(_=at),at.lineNumber>R.lineNumber&&(R=at);let K=1073741824;for(let at of _.ranges)at.left<K&&(K=at.left);let we=1073741824;for(let at of R.ranges)at.left<we&&(we=at.left);let Pe=i.getVerticalOffsetForLineNumber(_.lineNumber)-i.scrollTop,Ve=new pn(Pe,K),Je=i.getVerticalOffsetForLineNumber(R.lineNumber)-i.scrollTop;return[Ve,new pn(Je,we)]}_prepareRenderWidget(i){let[a,_]=this._getTopAndBottomLeft(i);if(!a||!_)return null;if(this._cachedDomNodeClientWidth===-1||this._cachedDomNodeClientHeight===-1){let K=this.domNode.domNode;this._cachedDomNodeClientWidth=K.clientWidth,this._cachedDomNodeClientHeight=K.clientHeight}let R;if(R=this.allowEditorOverflow?this._layoutBoxInPage(a,_,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,i):this._layoutBoxInViewport(a,_,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,i),this._preference)for(let K=1;K<=2;K++)for(let we of this._preference)if(we===1){if(!R)return null;if(K===2||R.fitsAbove)return new pn(R.aboveTop,R.aboveLeft)}else{if(we!==2)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(a):a;if(!R)return null;if(K===2||R.fitsBelow)return new pn(R.belowTop,R.belowLeft)}return null}onBeforeRender(i){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<i.startLineNumber||this._viewRange.startLineNumber>i.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(i){this._renderData=this._prepareRenderWidget(i)}render(i){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+i.scrollTop-i.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))}}o(216);var ho=o(15);let On=!0;class Dn extends gi{constructor(i){super(),this._context=i;let a=this._context.configuration.options,_=a.get(117);this._lineHeight=a.get(51),this._renderLineHighlight=a.get(77),this._renderLineHightlightOnlyWhenFocus=a.get(78),this._contentLeft=_.contentLeft,this._contentWidth=_.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[],this._selections=[],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let i=!1,a=On?this._selections.slice(0,1):this._selections,_=a.map(K=>K.positionLineNumber);_.sort((K,we)=>K-we),ho.g(this._cursorLineNumbers,_)||(this._cursorLineNumbers=_,i=!0);let R=a.every(K=>K.isEmpty());return this._selectionIsEmpty!==R&&(this._selectionIsEmpty=R,i=!0),i}onThemeChanged(i){return this._readFromSelections()}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(117);return this._lineHeight=a.get(51),this._renderLineHighlight=a.get(77),this._renderLineHightlightOnlyWhenFocus=a.get(78),this._contentLeft=_.contentLeft,this._contentWidth=_.contentWidth,!0}onCursorStateChanged(i){return this._selections=i.selections,this._readFromSelections()}onFlushed(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollWidthChanged||i.scrollTopChanged}onZonesChanged(i){return!0}onFocusChanged(i){return!!this._renderLineHightlightOnlyWhenFocus&&(this._focused=i.isFocused,!0)}prepareRender(i){if(!this._shouldRenderThis())return void(this._renderData=null);let a=this._renderOne(i),_=i.visibleRange.startLineNumber,R=i.visibleRange.endLineNumber,K=this._cursorLineNumbers.length,we=0,Pe=[];for(let Ve=_;Ve<=R;Ve++){let Je=Ve-_;for(;we<K&&this._cursorLineNumbers[we]<Ve;)we++;we<K&&this._cursorLineNumbers[we]===Ve?Pe[Je]=a:Pe[Je]=""}this._renderData=Pe}render(i,a){if(!this._renderData)return"";let _=a-i;return _>=this._renderData.length?"":this._renderData[_]}}class qt extends Dn{_renderOne(i){return`<div class="${"current-line"+(this._shouldRenderOther()?" current-line-both":"")}" style="width:${Math.max(i.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}class I extends Dn{_renderOne(i){return`<div class="${"current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"")}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}Object(ht.g)((Zt,i)=>{On=!1;let a=Zt.getColor(ki.i);if(a&&(i.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${a}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${a}; border: none; }`)),!a||a.isTransparent()||Zt.defines(ki.j)){let _=Zt.getColor(ki.j);_&&(On=!0,i.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${_}; }`),i.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${_}; }`),Zt.type==="hc"&&(i.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),i.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}),o(218);class ne extends gi{constructor(i){super(),this._context=i;let a=this._context.configuration.options;this._lineHeight=a.get(51),this._typicalHalfwidthCharacterWidth=a.get(36).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options;return this._lineHeight=a.get(51),this._typicalHalfwidthCharacterWidth=a.get(36).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged||i.scrollWidthChanged}onZonesChanged(i){return!0}prepareRender(i){let a=i.getDecorationsInViewport(),_=[],R=0;for(let Ve=0,Je=a.length;Ve<Je;Ve++){let at=a[Ve];at.options.className&&(_[R++]=at)}_=_.sort((Ve,Je)=>{if(Ve.options.zIndex<Je.options.zIndex)return-1;if(Ve.options.zIndex>Je.options.zIndex)return 1;let at=Ve.options.className,bt=Je.options.className;return at<bt?-1:at>bt?1:Nt.a.compareRangesUsingStarts(Ve.range,Je.range)});let K=i.visibleRange.startLineNumber,we=i.visibleRange.endLineNumber,Pe=[];for(let Ve=K;Ve<=we;Ve++)Pe[Ve-K]="";this._renderWholeLineDecorations(i,_,Pe),this._renderNormalDecorations(i,_,Pe),this._renderResult=Pe}_renderWholeLineDecorations(i,a,_){let R=String(this._lineHeight),K=i.visibleRange.startLineNumber,we=i.visibleRange.endLineNumber;for(let Pe=0,Ve=a.length;Pe<Ve;Pe++){let Je=a[Pe];if(!Je.options.isWholeLine)continue;let at='<div class="cdr '+Je.options.className+'" style="left:0;width:100%;height:'+R+'px;"></div>',bt=Math.max(Je.range.startLineNumber,K),Bt=Math.min(Je.range.endLineNumber,we);for(let Pt=bt;Pt<=Bt;Pt++)_[Pt-K]+=at}}_renderNormalDecorations(i,a,_){let R=String(this._lineHeight),K=i.visibleRange.startLineNumber,we=null,Pe=!1,Ve=null;for(let Je=0,at=a.length;Je<at;Je++){let bt=a[Je];if(bt.options.isWholeLine)continue;let Bt=bt.options.className,Pt=Boolean(bt.options.showIfCollapsed),ni=bt.range;Pt&&ni.endColumn===1&&ni.endLineNumber!==ni.startLineNumber&&(ni=new Nt.a(ni.startLineNumber,ni.startColumn,ni.endLineNumber-1,this._context.model.getLineMaxColumn(ni.endLineNumber-1))),we===Bt&&Pe===Pt&&Nt.a.areIntersectingOrTouching(Ve,ni)?Ve=Nt.a.plusRange(Ve,ni):(we!==null&&this._renderNormalDecoration(i,Ve,we,Pe,R,K,_),we=Bt,Pe=Pt,Ve=ni)}we!==null&&this._renderNormalDecoration(i,Ve,we,Pe,R,K,_)}_renderNormalDecoration(i,a,_,R,K,we,Pe){let Ve=i.linesVisibleRangesForRange(a,_==="findMatch");if(Ve)for(let Je=0,at=Ve.length;Je<at;Je++){let bt=Ve[Je];if(bt.outsideRenderedLine)continue;let Bt=bt.lineNumber-we;if(R&&bt.ranges.length===1){let Pt=bt.ranges[0];Pt.width===0&&(bt.ranges[0]=new he(Pt.left,this._typicalHalfwidthCharacterWidth))}for(let Pt=0,ni=bt.ranges.length;Pt<ni;Pt++){let Ci=bt.ranges[Pt],Vi='<div class="cdr '+_+'" style="left:'+String(Ci.left)+"px;width:"+String(Ci.width)+"px;height:"+K+'px;"></div>';Pe[Bt]+=Vi}}}render(i,a){if(!this._renderResult)return"";let _=a-i;return _<0||_>=this._renderResult.length?"":this._renderResult[_]}}var _e=o(105);class Fe extends xe{constructor(i,a,_,R){super(i);let K=this._context.configuration.options,we=K.get(84),Pe=K.get(58),Ve=K.get(28),Je=K.get(87),at={listenOnDomNode:_.domNode,className:"editor-scrollable "+Object(ht.f)(i.theme.type),useShadows:!1,lazyRender:!0,vertical:we.vertical,horizontal:we.horizontal,verticalHasArrows:we.verticalHasArrows,horizontalHasArrows:we.horizontalHasArrows,verticalScrollbarSize:we.verticalScrollbarSize,verticalSliderSize:we.verticalSliderSize,horizontalScrollbarSize:we.horizontalScrollbarSize,horizontalSliderSize:we.horizontalSliderSize,handleMouseWheel:we.handleMouseWheel,alwaysConsumeMouseWheel:we.alwaysConsumeMouseWheel,arrowSize:we.arrowSize,mouseWheelScrollSensitivity:Pe,fastScrollSensitivity:Ve,scrollPredominantAxis:Je};this.scrollbar=this._register(new _e.c(a.domNode,at,this._context.viewLayout.getScrollable())),Y.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=Object(S.b)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();let bt=(Bt,Pt,ni)=>{let Ci={};if(Pt){let Vi=Bt.scrollTop;Vi&&(Ci.scrollTop=this._context.viewLayout.getCurrentScrollTop()+Vi,Bt.scrollTop=0)}if(ni){let Vi=Bt.scrollLeft;Vi&&(Ci.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+Vi,Bt.scrollLeft=0)}this._context.model.setScrollPosition(Ci,1)};this._register(f.i(_.domNode,"scroll",Bt=>bt(_.domNode,!0,!0))),this._register(f.i(a.domNode,"scroll",Bt=>bt(a.domNode,!0,!1))),this._register(f.i(R.domNode,"scroll",Bt=>bt(R.domNode,!0,!1))),this._register(f.i(this.scrollbarDomNode.domNode,"scroll",Bt=>bt(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){let i=this._context.configuration.options,a=i.get(117);this.scrollbarDomNode.setLeft(a.contentLeft),i.get(56).side==="right"?this.scrollbarDomNode.setWidth(a.contentWidth+a.minimap.minimapWidth):this.scrollbarDomNode.setWidth(a.contentWidth),this.scrollbarDomNode.setHeight(a.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(i){this.scrollbar.delegateVerticalScrollbarMouseDown(i)}onConfigurationChanged(i){if(i.hasChanged(84)||i.hasChanged(58)||i.hasChanged(28)){let a=this._context.configuration.options,_=a.get(84),R=a.get(58),K=a.get(28),we=a.get(87),Pe={handleMouseWheel:_.handleMouseWheel,mouseWheelScrollSensitivity:R,fastScrollSensitivity:K,scrollPredominantAxis:we};this.scrollbar.updateOptions(Pe)}return i.hasChanged(117)&&this._setLayout(),!0}onScrollChanged(i){return!0}onThemeChanged(i){return this.scrollbar.updateClassName("editor-scrollable "+Object(ht.f)(this._context.theme.type)),!0}prepareRender(i){}render(i){this.scrollbar.renderNow()}}o(222);class Xe{constructor(i,a,_){this.startLineNumber=+i,this.endLineNumber=+a,this.className=String(_)}}class ot extends gi{_render(i,a,_){let R=[];for(let Pe=i;Pe<=a;Pe++)R[Pe-i]=[];if(_.length===0)return R;_.sort((Pe,Ve)=>Pe.className===Ve.className?Pe.startLineNumber===Ve.startLineNumber?Pe.endLineNumber-Ve.endLineNumber:Pe.startLineNumber-Ve.startLineNumber:Pe.className<Ve.className?-1:1);let K=null,we=0;for(let Pe=0,Ve=_.length;Pe<Ve;Pe++){let Je=_[Pe],at=Je.className,bt=Math.max(Je.startLineNumber,i)-i,Bt=Math.min(Je.endLineNumber,a)-i;K===at?(bt=Math.max(we+1,bt),we=Math.max(we,Bt)):(K=at,we=Bt);for(let Pt=bt;Pt<=we;Pt++)R[Pt].push(K)}return R}}class Mt extends ot{constructor(i){super(),this._context=i;let a=this._context.configuration.options,_=a.get(117);this._lineHeight=a.get(51),this._glyphMargin=a.get(42),this._glyphMarginLeft=_.glyphMarginLeft,this._glyphMarginWidth=_.glyphMarginWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(117);return this._lineHeight=a.get(51),this._glyphMargin=a.get(42),this._glyphMarginLeft=_.glyphMarginLeft,this._glyphMarginWidth=_.glyphMarginWidth,!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_getDecorations(i){let a=i.getDecorationsInViewport(),_=[],R=0;for(let K=0,we=a.length;K<we;K++){let Pe=a[K],Ve=Pe.options.glyphMarginClassName;Ve&&(_[R++]=new Xe(Pe.range.startLineNumber,Pe.range.endLineNumber,Ve))}return _}prepareRender(i){if(!this._glyphMargin)return void(this._renderResult=null);let a=i.visibleRange.startLineNumber,_=i.visibleRange.endLineNumber,R=this._render(a,_,this._getDecorations(i)),K=this._lineHeight.toString(),we='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+K+'px;"></div>',Pe=[];for(let Ve=a;Ve<=_;Ve++){let Je=Ve-a,at=R[Je];at.length===0?Pe[Je]="":Pe[Je]='<div class="cgmr codicon '+at.join(" ")+we}this._renderResult=Pe}render(i,a){if(!this._renderResult)return"";let _=a-i;return _<0||_>=this._renderResult.length?"":this._renderResult[_]}}o(224);class Ot extends gi{constructor(i){super(),this._context=i,this._primaryLineNumber=0;let a=this._context.configuration.options,_=a.get(118),R=a.get(36);this._lineHeight=a.get(51),this._spaceWidth=R.spaceWidth,this._enabled=a.get(75),this._activeIndentEnabled=a.get(45),this._maxIndentLeft=_.wrappingColumn===-1?-1:_.wrappingColumn*R.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(118),R=a.get(36);return this._lineHeight=a.get(51),this._spaceWidth=R.spaceWidth,this._enabled=a.get(75),this._activeIndentEnabled=a.get(45),this._maxIndentLeft=_.wrappingColumn===-1?-1:_.wrappingColumn*R.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(i){let a=i.selections[0],_=a.isEmpty()?a.positionLineNumber:0;return this._primaryLineNumber!==_&&(this._primaryLineNumber=_,!0)}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}onLanguageConfigurationChanged(i){return!0}prepareRender(i){if(!this._enabled)return void(this._renderResult=null);let a=i.visibleRange.startLineNumber,_=i.visibleRange.endLineNumber,{indentSize:R}=this._context.model.getTextModelOptions(),K=R*this._spaceWidth,we=i.scrollWidth,Pe=this._lineHeight,Ve=this._context.model.getLinesIndentGuides(a,_),Je=0,at=0,bt=0;if(this._activeIndentEnabled&&this._primaryLineNumber){let Pt=this._context.model.getActiveIndentGuide(this._primaryLineNumber,a,_);Je=Pt.startLineNumber,at=Pt.endLineNumber,bt=Pt.indent}let Bt=[];for(let Pt=a;Pt<=_;Pt++){let ni=Je<=Pt&&Pt<=at,Ci=Pt-a,Vi=Ve[Ci],Mi="";if(Vi>=1){let zi=i.visibleRangeForPosition(new At.a(Pt,1)),Yi=zi?zi.left:0;for(let Gi=1;Gi<=Vi&&(Mi+=`<div class="${ni&&Gi===bt?"cigra":"cigr"}" style="left:${Yi}px;height:${Pe}px;width:${K}px"></div>`,Yi+=K,!(Yi>we||this._maxIndentLeft>0&&Yi>this._maxIndentLeft));Gi++);}Bt[Ci]=Mi}this._renderResult=Bt}render(i,a){if(!this._renderResult)return"";let _=a-i;return _<0||_>=this._renderResult.length?"":this._renderResult[_]}}Object(ht.g)((Zt,i)=>{let a=Zt.getColor(ki.h);a&&i.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${a} inset; }`);let _=Zt.getColor(ki.a)||a;_&&i.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${_} inset; }`)}),o(226);class Tt{constructor(){this._currentVisibleRange=new Nt.a(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(i){this._currentVisibleRange=i}}class Ht{constructor(i,a,_,R,K,we){this.lineNumber=i,this.startColumn=a,this.endColumn=_,this.startScrollTop=R,this.stopScrollTop=K,this.scrollType=we,this.type="range",this.minLineNumber=i,this.maxLineNumber=i}}class jt{constructor(i,a,_,R){this.selections=i,this.startScrollTop=a,this.stopScrollTop=_,this.scrollType=R,this.type="selections";let K=i[0].startLineNumber,we=i[0].endLineNumber;for(let Pe=1,Ve=i.length;Pe<Ve;Pe++){let Je=i[Pe];K=Math.min(K,Je.startLineNumber),we=Math.max(we,Je.endLineNumber)}this.minLineNumber=K,this.maxLineNumber=we}}class Kt extends xe{constructor(i,a){super(i),this._linesContent=a,this._textRangeRestingSpot=document.createElement("div"),this._visibleLines=new Fn(this),this.domNode=this._visibleLines.domNode;let _=this._context.configuration,R=this._context.configuration.options,K=R.get(36),we=R.get(118);this._lineHeight=R.get(51),this._typicalHalfwidthCharacterWidth=K.typicalHalfwidthCharacterWidth,this._isViewportWrapping=we.isViewportWrapping,this._revealHorizontalRightPadding=R.get(81),this._cursorSurroundingLines=R.get(20),this._cursorSurroundingLinesStyle=R.get(21),this._canUseLayerHinting=!R.get(23),this._viewLineOptions=new Se(_,this._context.theme.type),Y.write(this.domNode,7),this.domNode.setClassName("view-lines "+yi.a),W.a.applyFontInfo(this.domNode,K),this._maxLineWidth=0,this._asyncUpdateLineWidths=new l.d(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new l.d(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new Tt,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new A(this._viewLineOptions)}onConfigurationChanged(i){this._visibleLines.onConfigurationChanged(i),i.hasChanged(118)&&(this._maxLineWidth=0);let a=this._context.configuration.options,_=a.get(36),R=a.get(118);return this._lineHeight=a.get(51),this._typicalHalfwidthCharacterWidth=_.typicalHalfwidthCharacterWidth,this._isViewportWrapping=R.isViewportWrapping,this._revealHorizontalRightPadding=a.get(81),this._cursorSurroundingLines=a.get(20),this._cursorSurroundingLinesStyle=a.get(21),this._canUseLayerHinting=!a.get(23),W.a.applyFontInfo(this.domNode,_),this._onOptionsMaybeChanged(),i.hasChanged(117)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){let i=this._context.configuration,a=new Se(i,this._context.theme.type);if(!this._viewLineOptions.equals(a)){this._viewLineOptions=a;let _=this._visibleLines.getStartLineNumber(),R=this._visibleLines.getEndLineNumber();for(let K=_;K<=R;K++)this._visibleLines.getVisibleLine(K).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(i){let a=this._visibleLines.getStartLineNumber(),_=this._visibleLines.getEndLineNumber(),R=!1;for(let K=a;K<=_;K++)R=this._visibleLines.getVisibleLine(K).onSelectionChanged()||R;return R}onDecorationsChanged(i){{let a=this._visibleLines.getStartLineNumber(),_=this._visibleLines.getEndLineNumber();for(let R=a;R<=_;R++)this._visibleLines.getVisibleLine(R).onDecorationsChanged()}return!0}onFlushed(i){let a=this._visibleLines.onFlushed(i);return this._maxLineWidth=0,a}onLinesChanged(i){return this._visibleLines.onLinesChanged(i)}onLinesDeleted(i){return this._visibleLines.onLinesDeleted(i)}onLinesInserted(i){return this._visibleLines.onLinesInserted(i)}onRevealRangeRequest(i){let a=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),i.source,i.range,i.selections,i.verticalType);if(a===-1)return!1;let _=this._context.viewLayout.validateScrollPosition({scrollTop:a});i.revealHorizontal?i.range&&i.range.startLineNumber!==i.range.endLineNumber?_={scrollTop:_.scrollTop,scrollLeft:0}:i.range?this._horizontalRevealRequest=new Ht(i.range.startLineNumber,i.range.startColumn,i.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),_.scrollTop,i.scrollType):i.selections&&i.selections.length>0&&(this._horizontalRevealRequest=new jt(i.selections,this._context.viewLayout.getCurrentScrollTop(),_.scrollTop,i.scrollType)):this._horizontalRevealRequest=null;let R=Math.abs(this._context.viewLayout.getCurrentScrollTop()-_.scrollTop)<=this._lineHeight?1:i.scrollType;return this._context.model.setScrollPosition(_,R),!0}onScrollChanged(i){if(this._horizontalRevealRequest&&i.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&i.scrollTopChanged){let a=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),_=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(i.scrollTop<a||i.scrollTop>_)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(i.scrollWidth),this._visibleLines.onScrollChanged(i)||!0}onTokensChanged(i){return this._visibleLines.onTokensChanged(i)}onZonesChanged(i){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(i)}onThemeChanged(i){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(i,a){let _=this._getViewLineDomNode(i);if(_===null)return null;let R=this._getLineNumberFor(_);if(R===-1||R<1||R>this._context.model.getLineCount())return null;if(this._context.model.getLineMaxColumn(R)===1)return new At.a(R,1);let K=this._visibleLines.getStartLineNumber(),we=this._visibleLines.getEndLineNumber();if(R<K||R>we)return null;let Pe=this._visibleLines.getVisibleLine(R).getColumnOfNodeOffset(R,i,a),Ve=this._context.model.getLineMinColumn(R);return Pe<Ve&&(Pe=Ve),new At.a(R,Pe)}_getViewLineDomNode(i){for(;i&&i.nodeType===1;){if(i.className===A.CLASS_NAME)return i;i=i.parentElement}return null}_getLineNumberFor(i){let a=this._visibleLines.getStartLineNumber(),_=this._visibleLines.getEndLineNumber();for(let R=a;R<=_;R++)if(i===this._visibleLines.getVisibleLine(R).getDomNode())return R;return-1}getLineWidth(i){let a=this._visibleLines.getStartLineNumber(),_=this._visibleLines.getEndLineNumber();return i<a||i>_?-1:this._visibleLines.getVisibleLine(i).getWidth()}linesVisibleRangesForRange(i,a){if(this.shouldRender())return null;let _=i.endLineNumber,R=Nt.a.intersectRanges(i,this._lastRenderedData.getCurrentVisibleRange());if(!R)return null;let K=[],we=0,Pe=new J(this.domNode.domNode,this._textRangeRestingSpot),Ve=0;a&&(Ve=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new At.a(R.startLineNumber,1)).lineNumber);let Je=this._visibleLines.getStartLineNumber(),at=this._visibleLines.getEndLineNumber();for(let bt=R.startLineNumber;bt<=R.endLineNumber;bt++){if(bt<Je||bt>at)continue;let Bt=bt===R.startLineNumber?R.startColumn:1,Pt=bt===R.endLineNumber?R.endColumn:this._context.model.getLineMaxColumn(bt),ni=this._visibleLines.getVisibleLine(bt).getVisibleRangesForRange(Bt,Pt,Pe);if(ni){if(a&&bt<_){let Ci=Ve;Ve=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new At.a(bt+1,1)).lineNumber,Ci!==Ve&&(ni.ranges[ni.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}K[we++]=new te(ni.outsideRenderedLine,bt,ni.ranges)}}return we===0?null:K}_visibleRangesForLineRange(i,a,_){return this.shouldRender()||i<this._visibleLines.getStartLineNumber()||i>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(i).getVisibleRangesForRange(a,_,new J(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(i){let a=this._visibleRangesForLineRange(i.lineNumber,i.column,i.column);return a?new Ce(a.outsideRenderedLine,a.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(i){let a=this._visibleLines.getStartLineNumber(),_=this._visibleLines.getEndLineNumber(),R=1,K=!0;for(let we=a;we<=_;we++){let Pe=this._visibleLines.getVisibleLine(we);!i||Pe.getWidthIsFast()?R=Math.max(R,Pe.getWidth()):K=!1}return K&&a===1&&_===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(R),K}_checkMonospaceFontAssumptions(){let i=-1,a=-1,_=this._visibleLines.getStartLineNumber(),R=this._visibleLines.getEndLineNumber();for(let K=_;K<=R;K++){let we=this._visibleLines.getVisibleLine(K);if(we.needsMonospaceFontCheck()){let Pe=we.getWidth();Pe>a&&(a=Pe,i=K)}}if(i!==-1&&!this._visibleLines.getVisibleLine(i).monospaceAssumptionsAreValid())for(let K=_;K<=R;K++)this._visibleLines.getVisibleLine(K).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(i){if(this._visibleLines.renderLines(i),this._lastRenderedData.setCurrentVisibleRange(i.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){let _=this._horizontalRevealRequest;if(i.startLineNumber<=_.minLineNumber&&_.maxLineNumber<=i.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();let R=this._computeScrollLeftToReveal(_);R&&(this._isViewportWrapping||this._ensureMaxLineWidth(R.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:R.scrollLeft},_.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),P.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){let _=this._visibleLines.getStartLineNumber(),R=this._visibleLines.getEndLineNumber();for(let K=_;K<=R;K++)if(this._visibleLines.getVisibleLine(K).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");let a=this._context.viewLayout.getCurrentScrollTop()-i.bigNumbersDelta;this._linesContent.setTop(-a),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(i){let a=Math.ceil(i);this._maxLineWidth<a&&(this._maxLineWidth=a,this._context.model.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(i,a,_,R,K){let we=i.top,Pe=i.height,Ve=we+Pe,Je,at,bt;if(R&&R.length>0){let Pt=R[0].startLineNumber,ni=R[0].endLineNumber;for(let Ci=1,Vi=R.length;Ci<Vi;Ci++){let Mi=R[Ci];Pt=Math.min(Pt,Mi.startLineNumber),ni=Math.max(ni,Mi.endLineNumber)}Je=!1,at=this._context.viewLayout.getVerticalOffsetForLineNumber(Pt),bt=this._context.viewLayout.getVerticalOffsetForLineNumber(ni)+this._lineHeight}else{if(!_)return-1;Je=!0,at=this._context.viewLayout.getVerticalOffsetForLineNumber(_.startLineNumber),bt=this._context.viewLayout.getVerticalOffsetForLineNumber(_.endLineNumber)+this._lineHeight}if(!(a==="mouse"&&this._cursorSurroundingLinesStyle==="default")){let Pt=Math.min(Pe/this._lineHeight/2,this._cursorSurroundingLines);at-=Pt*this._lineHeight,bt+=Math.max(0,Pt-1)*this._lineHeight}let Bt;if(K!==0&&K!==4||(bt+=this._lineHeight),bt-at>Pe){if(!Je)return-1;Bt=at}else if(K===5||K===6)if(K===6&&we<=at&&bt<=Ve)Bt=we;else{let Pt=at-Math.max(5*this._lineHeight,.2*Pe),ni=bt-Pe;Bt=Math.max(ni,Pt)}else if(K===1||K===2)if(K===2&&we<=at&&bt<=Ve)Bt=we;else{let Pt=(at+bt)/2;Bt=Math.max(0,Pt-Pe/2)}else Bt=this._computeMinimumScrolling(we,Ve,at,bt,K===3,K===4);return Bt}_computeScrollLeftToReveal(i){let a=this._context.viewLayout.getCurrentViewport(),_=a.left,R=_+a.width,K=1073741824,we=0;if(i.type==="range"){let Pe=this._visibleRangesForLineRange(i.lineNumber,i.startColumn,i.endColumn);if(!Pe)return null;for(let Ve of Pe.ranges)K=Math.min(K,Ve.left),we=Math.max(we,Ve.left+Ve.width)}else for(let Pe of i.selections){if(Pe.startLineNumber!==Pe.endLineNumber)return null;let Ve=this._visibleRangesForLineRange(Pe.startLineNumber,Pe.startColumn,Pe.endColumn);if(!Ve)return null;for(let Je of Ve.ranges)K=Math.min(K,Je.left),we=Math.max(we,Je.left+Je.width)}return K=Math.max(0,K-Kt.HORIZONTAL_EXTRA_PX),we+=this._revealHorizontalRightPadding,i.type==="selections"&&we-K>a.width?null:{scrollLeft:this._computeMinimumScrolling(_,R,K,we),maxHorizontalOffset:we}}_computeMinimumScrolling(i,a,_,R,K,we){K=!!K,we=!!we;let Pe=(a|=0)-(i|=0);return(R|=0)-(_|=0)<Pe?K?_:we?Math.max(0,R-Pe):_<i?_:R>a?Math.max(0,R-Pe):i:_}}Kt.HORIZONTAL_EXTRA_PX=30,o(228);class wi extends ot{constructor(i){super(),this._context=i;let a=this._context.configuration.options.get(117);this._decorationsLeft=a.decorationsLeft,this._decorationsWidth=a.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options.get(117);return this._decorationsLeft=a.decorationsLeft,this._decorationsWidth=a.decorationsWidth,!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_getDecorations(i){let a=i.getDecorationsInViewport(),_=[],R=0;for(let K=0,we=a.length;K<we;K++){let Pe=a[K],Ve=Pe.options.linesDecorationsClassName;Ve&&(_[R++]=new Xe(Pe.range.startLineNumber,Pe.range.endLineNumber,Ve));let Je=Pe.options.firstLineDecorationClassName;Je&&(_[R++]=new Xe(Pe.range.startLineNumber,Pe.range.startLineNumber,Je))}return _}prepareRender(i){let a=i.visibleRange.startLineNumber,_=i.visibleRange.endLineNumber,R=this._render(a,_,this._getDecorations(i)),K='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',we=[];for(let Pe=a;Pe<=_;Pe++){let Ve=Pe-a,Je=R[Ve],at="";for(let bt=0,Bt=Je.length;bt<Bt;bt++)at+='<div class="cldr '+Je[bt]+K;we[Ve]=at}this._renderResult=we}render(i,a){return this._renderResult?this._renderResult[a-i]:""}}o(230);class Ti extends ot{constructor(i){super(),this._context=i,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){return!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_getDecorations(i){let a=i.getDecorationsInViewport(),_=[],R=0;for(let K=0,we=a.length;K<we;K++){let Pe=a[K],Ve=Pe.options.marginClassName;Ve&&(_[R++]=new Xe(Pe.range.startLineNumber,Pe.range.endLineNumber,Ve))}return _}prepareRender(i){let a=i.visibleRange.startLineNumber,_=i.visibleRange.endLineNumber,R=this._render(a,_,this._getDecorations(i)),K=[];for(let we=a;we<=_;we++){let Pe=we-a,Ve=R[Pe],Je="";for(let at=0,bt=Ve.length;at<bt;at++)Je+='<div class="cmdr '+Ve[at]+'" style=""></div>';K[Pe]=Je}this._renderResult=K}render(i,a){return this._renderResult?this._renderResult[a-i]:""}}o(232);class ft{constructor(i,a,_,R){this.r=ft._clamp(i),this.g=ft._clamp(a),this.b=ft._clamp(_),this.a=ft._clamp(R)}equals(i){return this.r===i.r&&this.g===i.g&&this.b===i.b&&this.a===i.a}static _clamp(i){return i<0?0:i>255?255:0|i}}ft.Empty=new ft(0,0,0,0);var X=o(12);class ae{constructor(){this._onDidChange=new H.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),X.C.onDidChange(i=>{i.changedColorMap&&this._updateColorMap()})}static getInstance(){return this._INSTANCE||(this._INSTANCE=new ae),this._INSTANCE}_updateColorMap(){let i=X.C.getColorMap();if(!i)return this._colors=[ft.Empty],void(this._backgroundIsLight=!0);this._colors=[ft.Empty];for(let _=1;_<i.length;_++){let R=i[_].rgba;this._colors[_]=new ft(R.r,R.g,R.b,Math.round(255*R.a))}let a=i[2].getRelativeLuminance();this._backgroundIsLight=a>=.5,this._onDidChange.fire(void 0)}getColor(i){return(i<1||i>=this._colors.length)&&(i=2),this._colors[i]}backgroundIsLight(){return this._backgroundIsLight}}ae._INSTANCE=null;var Ge=o(74),lt=o(5);let Dt=(()=>{let Zt=[];for(let i=32;i<=126;i++)Zt.push(i);return Zt.push(65533),Zt})();var Gt=o(36);class ti{constructor(i,a){this.scale=a,this.charDataNormal=ti.soften(i,.8),this.charDataLight=ti.soften(i,50/60)}static soften(i,a){let _=new Uint8ClampedArray(i.length);for(let R=0,K=i.length;R<K;R++)_[R]=Object(Gt.b)(i[R]*a);return _}renderChar(i,a,_,R,K,we,Pe,Ve,Je){let at=1*this.scale,bt=2*this.scale,Bt=Je?1:bt;if(a+at>i.width||_+Bt>i.height)return void console.warn("bad render request outside image data");let Pt=Ve?this.charDataLight:this.charDataNormal,ni=((qn,ro)=>(qn-=32)<0||qn>96?ro<=2?(qn+96)%96:95:qn)(R,Pe),Ci=4*i.width,Vi=we.r,Mi=we.g,zi=we.b,Yi=K.r-Vi,Gi=K.g-Mi,wn=K.b-zi,nn=i.data,Wn=ni*at*bt,An=_*Ci+4*a;for(let qn=0;qn<Bt;qn++){let ro=An;for(let Un=0;Un<at;Un++){let Lo=Pt[Wn++]/255;nn[ro++]=Vi+Yi*Lo,nn[ro++]=Mi+Gi*Lo,nn[ro++]=zi+wn*Lo,ro++}An+=Ci}}blockRenderChar(i,a,_,R,K,we,Pe){let Ve=1*this.scale,Je=2*this.scale,at=Pe?1:Je;if(a+Ve>i.width||_+at>i.height)return void console.warn("bad render request outside image data");let bt=4*i.width,Bt=K.r,Pt=K.g,ni=K.b,Ci=Bt+.5*(R.r-Bt),Vi=Pt+.5*(R.g-Pt),Mi=ni+.5*(R.b-ni),zi=i.data,Yi=_*bt+4*a;for(let Gi=0;Gi<at;Gi++){let wn=Yi;for(let nn=0;nn<Ve;nn++)zi[wn++]=Ci,zi[wn++]=Vi,zi[wn++]=Mi,wn++;Yi+=bt}}}var ye=o(133);let le={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},ue=Zt=>{let i=new Uint8ClampedArray(Zt.length/2);for(let a=0;a<Zt.length;a+=2)i[a>>1]=le[Zt[a]]<<4|15&le[Zt[a+1]];return i},qe={1:Object(ye.a)(()=>ue("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:Object(ye.a)(()=>ue("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class Ze{static create(i,a){if(this.lastCreated&&i===this.lastCreated.scale&&a===this.lastFontFamily)return this.lastCreated;let _;return _=qe[i]?new ti(qe[i](),i):Ze.createFromSampleData(Ze.createSampleData(a).data,i),this.lastFontFamily=a,this.lastCreated=_,_}static createSampleData(i){let a=document.createElement("canvas"),_=a.getContext("2d");a.style.height="16px",a.height=16,a.width=960,a.style.width="960px",_.fillStyle="#ffffff",_.font="bold 16px "+i,_.textBaseline="middle";let R=0;for(let K of Dt)_.fillText(String.fromCharCode(K),R,8),R+=10;return _.getImageData(0,0,960,16)}static createFromSampleData(i,a){if(i.length!==61440)throw new Error("Unexpected source in MinimapCharRenderer");let _=Ze._downsample(i,a);return new ti(_,a)}static _downsampleChar(i,a,_,R,K){let we=1*K,Pe=2*K,Ve=R,Je=0;for(let at=0;at<Pe;at++){let bt=at/Pe*16,Bt=(at+1)/Pe*16;for(let Pt=0;Pt<we;Pt++){let ni=Pt/we*10,Ci=(Pt+1)/we*10,Vi=0,Mi=0;for(let Yi=bt;Yi<Bt;Yi++){let Gi=a+3840*Math.floor(Yi),wn=1-(Yi-Math.floor(Yi));for(let nn=ni;nn<Ci;nn++){let Wn=1-(nn-Math.floor(nn)),An=Gi+4*Math.floor(nn),qn=Wn*wn;Mi+=qn,Vi+=i[An]*i[An+3]/255*qn}}let zi=Vi/Mi;Je=Math.max(Je,zi),_[Ve++]=Object(Gt.b)(zi)}}return Je}static _downsample(i,a){let _=2*a*1*a,R=96*_,K=new Uint8ClampedArray(R),we=0,Pe=0,Ve=0;for(let Je=0;Je<96;Je++)Ve=Math.max(Ve,this._downsampleChar(i,Pe,K,we,a)),we+=_,Pe+=40;if(Ve>0){let Je=255/Ve;for(let at=0;at<R;at++)K[at]*=Je}return K}}var tt=o(58);class rt{constructor(i,a,_){let R=i.options,K=R.get(115),we=R.get(117),Pe=we.minimap,Ve=R.get(36),Je=R.get(56);this.renderMinimap=Pe.renderMinimap,this.size=Je.size,this.minimapHeightIsEditorHeight=Pe.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=R.get(86),this.showSlider=Je.showSlider,this.pixelRatio=K,this.typicalHalfwidthCharacterWidth=Ve.typicalHalfwidthCharacterWidth,this.lineHeight=R.get(51),this.minimapLeft=Pe.minimapLeft,this.minimapWidth=Pe.minimapWidth,this.minimapHeight=we.height,this.canvasInnerWidth=Pe.minimapCanvasInnerWidth,this.canvasInnerHeight=Pe.minimapCanvasInnerHeight,this.canvasOuterWidth=Pe.minimapCanvasOuterWidth,this.canvasOuterHeight=Pe.minimapCanvasOuterHeight,this.isSampling=Pe.minimapIsSampling,this.editorHeight=we.height,this.fontScale=Pe.minimapScale,this.minimapLineHeight=Pe.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=Object(ye.a)(()=>Ze.create(this.fontScale,Ve.fontFamily)),this.backgroundColor=rt._getMinimapBackground(a,_)}static _getMinimapBackground(i,a){let _=i.getColor(lt.Mb);return _?new ft(_.rgba.r,_.rgba.g,_.rgba.b,_.rgba.a):a.getColor(2)}equals(i){return this.renderMinimap===i.renderMinimap&&this.size===i.size&&this.minimapHeightIsEditorHeight===i.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===i.scrollBeyondLastLine&&this.showSlider===i.showSlider&&this.pixelRatio===i.pixelRatio&&this.typicalHalfwidthCharacterWidth===i.typicalHalfwidthCharacterWidth&&this.lineHeight===i.lineHeight&&this.minimapLeft===i.minimapLeft&&this.minimapWidth===i.minimapWidth&&this.minimapHeight===i.minimapHeight&&this.canvasInnerWidth===i.canvasInnerWidth&&this.canvasInnerHeight===i.canvasInnerHeight&&this.canvasOuterWidth===i.canvasOuterWidth&&this.canvasOuterHeight===i.canvasOuterHeight&&this.isSampling===i.isSampling&&this.editorHeight===i.editorHeight&&this.fontScale===i.fontScale&&this.minimapLineHeight===i.minimapLineHeight&&this.minimapCharWidth===i.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(i.backgroundColor)}}class zt{constructor(i,a,_,R,K,we,Pe,Ve){this.scrollTop=i,this.scrollHeight=a,this.sliderNeeded=_,this._computedSliderRatio=R,this.sliderTop=K,this.sliderHeight=we,this.startLineNumber=Pe,this.endLineNumber=Ve}getDesiredScrollTopFromDelta(i){let a=this.sliderTop+i;return Math.round(a/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(i){return Math.round((i-this.sliderHeight/2)/this._computedSliderRatio)}static create(i,a,_,R,K,we,Pe,Ve,Je,at){let bt=i.pixelRatio,Bt=i.minimapLineHeight,Pt=Math.floor(i.canvasInnerHeight/Bt),ni=i.lineHeight;if(i.minimapHeightIsEditorHeight){let Gi=Pe*i.lineHeight+(i.scrollBeyondLastLine?R-i.lineHeight:0),wn=Math.max(1,Math.floor(R*R/Gi)),nn=Math.max(0,i.minimapHeight-wn),Wn=nn/(Je-R),An=Ve*Wn,qn=nn>0,ro=Math.floor(i.canvasInnerHeight/i.minimapLineHeight);return new zt(Ve,Je,qn,Wn,An,wn,1,Math.min(we,ro))}let Ci,Vi;if(K&&_!==we){let Gi=_-a+1;Ci=Math.floor(Gi*Bt/bt)}else{let Gi=R/ni;Ci=Math.floor(Gi*Bt/bt)}Vi=i.scrollBeyondLastLine?(we-1)*Bt/bt:Math.max(0,we*Bt/bt-Ci),Vi=Math.min(i.minimapHeight-Ci,Vi);let Mi=Vi/(Je-R),zi=Ve*Mi,Yi=0;if(i.scrollBeyondLastLine&&(Yi=R/ni-1),Pt>=we+Yi)return new zt(Ve,Je,Vi>0,Mi,zi,Ci,1,we);{let Gi=Math.max(1,Math.floor(a-zi*bt/Bt));at&&at.scrollHeight===Je&&(at.scrollTop>Ve&&(Gi=Math.min(Gi,at.startLineNumber)),at.scrollTop<Ve&&(Gi=Math.max(Gi,at.startLineNumber)));let wn=Math.min(we,Gi+Pt-1);return new zt(Ve,Je,!0,Mi,zi,Ci,Gi,wn)}}}class Jt{constructor(i){this.dy=i}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}Jt.INVALID=new Jt(-1);class xi{constructor(i,a,_){this.renderedLayout=i,this._imageData=a,this._renderedLines=new bn(()=>Jt.INVALID),this._renderedLines._set(i.startLineNumber,_)}linesEquals(i){if(!this.scrollEquals(i))return!1;let a=this._renderedLines._get().lines;for(let _=0,R=a.length;_<R;_++)if(a[_].dy===-1)return!1;return!0}scrollEquals(i){return this.renderedLayout.startLineNumber===i.startLineNumber&&this.renderedLayout.endLineNumber===i.endLineNumber}_get(){let i=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:i.rendLineNumberStart,lines:i.lines}}onLinesChanged(i,a){return this._renderedLines.onLinesChanged(i,a)}onLinesDeleted(i,a){this._renderedLines.onLinesDeleted(i,a)}onLinesInserted(i,a){this._renderedLines.onLinesInserted(i,a)}onTokensChanged(i){return this._renderedLines.onTokensChanged(i)}}class Ei{constructor(i,a,_,R){this._backgroundFillData=Ei._createBackgroundFillData(a,_,R),this._buffers=[i.createImageData(a,_),i.createImageData(a,_)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;let i=this._buffers[this._lastUsedBuffer];return i.data.set(this._backgroundFillData),i}static _createBackgroundFillData(i,a,_){let R=_.r,K=_.g,we=_.b,Pe=new Uint8ClampedArray(i*a*4),Ve=0;for(let Je=0;Je<a;Je++)for(let at=0;at<i;at++)Pe[Ve]=R,Pe[Ve+1]=K,Pe[Ve+2]=we,Pe[Ve+3]=255,Ve+=4;return Pe}}class ai{constructor(i,a){this.samplingRatio=i,this.minimapLines=a}static compute(i,a,_){if(i.renderMinimap===0||!i.isSampling)return[null,[]];let R=i.pixelRatio,K=i.lineHeight,we=i.scrollBeyondLastLine,{minimapLineCount:Pe}=fe.f.computeContainedMinimapLineCount({viewLineCount:a,scrollBeyondLastLine:we,height:i.editorHeight,lineHeight:K,pixelRatio:R}),Ve=a/Pe,Je=Ve/2;if(!_||_.minimapLines.length===0){let zi=[];if(zi[0]=1,Pe>1){for(let Yi=0,Gi=Pe-1;Yi<Gi;Yi++)zi[Yi]=Math.round(Yi*Ve+Je);zi[Pe-1]=a}return[new ai(Ve,zi),[]]}let at=_.minimapLines,bt=at.length,Bt=[],Pt=0,ni=0,Ci=1,Vi=[],Mi=null;for(let zi=0;zi<Pe;zi++){let Yi=Math.max(Ci,Math.round(zi*Ve)),Gi=Math.max(Yi,Math.round((zi+1)*Ve));for(;Pt<bt&&at[Pt]<Yi;){if(Vi.length<10){let nn=Pt+1+ni;Mi&&Mi.type==="deleted"&&Mi._oldIndex===Pt-1?Mi.deleteToLineNumber++:(Mi={type:"deleted",_oldIndex:Pt,deleteFromLineNumber:nn,deleteToLineNumber:nn},Vi.push(Mi)),ni--}Pt++}let wn;if(Pt<bt&&at[Pt]<=Gi)wn=at[Pt],Pt++;else if(wn=zi===0?1:zi+1===Pe?a:Math.round(zi*Ve+Je),Vi.length<10){let nn=Pt+1+ni;Mi&&Mi.type==="inserted"&&Mi._i===zi-1?Mi.insertToLineNumber++:(Mi={type:"inserted",_i:zi,insertFromLineNumber:nn,insertToLineNumber:nn},Vi.push(Mi)),ni++}Bt[zi]=wn,Ci=wn}if(Vi.length<10)for(;Pt<bt;){let zi=Pt+1+ni;Mi&&Mi.type==="deleted"&&Mi._oldIndex===Pt-1?Mi.deleteToLineNumber++:(Mi={type:"deleted",_oldIndex:Pt,deleteFromLineNumber:zi,deleteToLineNumber:zi},Vi.push(Mi)),ni--,Pt++}else Vi=[{type:"flush"}];return[new ai(Ve,Bt),Vi]}modelLineToMinimapLine(i){return Math.min(this.minimapLines.length,Math.max(1,Math.round(i/this.samplingRatio)))}modelLineRangeToMinimapLineRange(i,a){let _=this.modelLineToMinimapLine(i)-1;for(;_>0&&this.minimapLines[_-1]>=i;)_--;let R=this.modelLineToMinimapLine(a)-1;for(;R+1<this.minimapLines.length&&this.minimapLines[R+1]<=a;)R++;if(_===R){let K=this.minimapLines[_];if(K<i||K>a)return null}return[_+1,R+1]}decorationLineRangeToMinimapLineRange(i,a){let _=this.modelLineToMinimapLine(i),R=this.modelLineToMinimapLine(a);return i!==a&&R===_&&(R===this.minimapLines.length?_>1&&_--:R++),[_,R]}onLinesDeleted(i){let a=i.toLineNumber-i.fromLineNumber+1,_=this.minimapLines.length,R=0;for(let K=this.minimapLines.length-1;K>=0&&!(this.minimapLines[K]<i.fromLineNumber);K--)this.minimapLines[K]<=i.toLineNumber?(this.minimapLines[K]=Math.max(1,i.fromLineNumber-1),_=Math.min(_,K),R=Math.max(R,K)):this.minimapLines[K]-=a;return[_,R]}onLinesInserted(i){let a=i.toLineNumber-i.fromLineNumber+1;for(let _=this.minimapLines.length-1;_>=0&&!(this.minimapLines[_]<i.fromLineNumber);_--)this.minimapLines[_]+=a}}class fi extends xe{constructor(i){super(i),this.tokensColorTracker=ae.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new rt(this._context.configuration,this._context.theme,this.tokensColorTracker);let[a]=ai.compute(this.options,this._context.model.getLineCount(),null);this._samplingState=a,this._shouldCheckSampling=!1,this._actual=new ui(i.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){let i=new rt(this._context.configuration,this._context.theme,this.tokensColorTracker);return!this.options.equals(i)&&(this.options=i,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(i){return this._onOptionsMaybeChanged()}onCursorStateChanged(i){return this._selections=i.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(i){return!!i.affectsMinimap&&this._actual.onDecorationsChanged()}onFlushed(i){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(i){if(this._samplingState){let a=this._samplingState.modelLineRangeToMinimapLineRange(i.fromLineNumber,i.toLineNumber);return!!a&&this._actual.onLinesChanged(a[0],a[1])}return this._actual.onLinesChanged(i.fromLineNumber,i.toLineNumber)}onLinesDeleted(i){if(this._samplingState){let[a,_]=this._samplingState.onLinesDeleted(i);return a<=_&&this._actual.onLinesChanged(a+1,_+1),this._shouldCheckSampling=!0,!0}return this._actual.onLinesDeleted(i.fromLineNumber,i.toLineNumber)}onLinesInserted(i){return this._samplingState?(this._samplingState.onLinesInserted(i),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(i.fromLineNumber,i.toLineNumber)}onScrollChanged(i){return this._actual.onScrollChanged()}onThemeChanged(i){return this._context.model.invalidateMinimapColorCache(),this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(i){if(this._samplingState){let a=[];for(let _ of i.ranges){let R=this._samplingState.modelLineRangeToMinimapLineRange(_.fromLineNumber,_.toLineNumber);R&&a.push({fromLineNumber:R[0],toLineNumber:R[1]})}return!!a.length&&this._actual.onTokensChanged(a)}return this._actual.onTokensChanged(i.ranges)}onTokensColorsChanged(i){return this._actual.onTokensColorsChanged()}onZonesChanged(i){return this._actual.onZonesChanged()}prepareRender(i){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(i){let a=i.visibleRange.startLineNumber,_=i.visibleRange.endLineNumber;this._samplingState&&(a=this._samplingState.modelLineToMinimapLine(a),_=this._samplingState.modelLineToMinimapLine(_));let R={viewportContainsWhitespaceGaps:i.viewportData.whitespaceViewportData.length>0,scrollWidth:i.scrollWidth,scrollHeight:i.scrollHeight,viewportStartLineNumber:a,viewportEndLineNumber:_,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft,viewportWidth:i.viewportWidth,viewportHeight:i.viewportHeight};this._actual.render(R)}_recreateLineSampling(){this._minimapSelections=null;let i=Boolean(this._samplingState),[a,_]=ai.compute(this.options,this._context.model.getLineCount(),this._samplingState);if(this._samplingState=a,i&&this._samplingState)for(let R of _)switch(R.type){case"deleted":this._actual.onLinesDeleted(R.deleteFromLineNumber,R.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(R.insertFromLineNumber,R.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.model.getLineCount()}getRealLineCount(){return this._context.model.getLineCount()}getLineContent(i){return this._samplingState?this._context.model.getLineContent(this._samplingState.minimapLines[i-1]):this._context.model.getLineContent(i)}getMinimapLinesRenderingData(i,a,_){if(this._samplingState){let R=[];for(let K=0,we=a-i+1;K<we;K++)_[K]?R[K]=this._context.model.getViewLineData(this._samplingState.minimapLines[i+K-1]):R[K]=null;return R}return this._context.model.getMinimapLinesRenderingData(i,a,_).data}getSelections(){if(this._minimapSelections===null)if(this._samplingState){this._minimapSelections=[];for(let i of this._selections){let[a,_]=this._samplingState.decorationLineRangeToMinimapLineRange(i.startLineNumber,i.endLineNumber);this._minimapSelections.push(new C.a(a,i.startColumn,_,i.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(i,a){let _;if(this._samplingState){let K=this._samplingState.minimapLines[i-1],we=this._samplingState.minimapLines[a-1];_=new Nt.a(K,1,we,this._context.model.getLineMaxColumn(we))}else _=new Nt.a(i,1,a,this._context.model.getLineMaxColumn(a));let R=this._context.model.getDecorationsInViewport(_);if(this._samplingState){let K=[];for(let we of R){if(!we.options.minimap)continue;let Pe=we.range,Ve=this._samplingState.modelLineToMinimapLine(Pe.startLineNumber),Je=this._samplingState.modelLineToMinimapLine(Pe.endLineNumber);K.push(new Ge.e(new Nt.a(Ve,Pe.startColumn,Je,Pe.endColumn),we.options))}return K}return R}getOptions(){return this._context.model.getTextModelOptions()}revealLineNumber(i){this._samplingState&&(i=this._samplingState.minimapLines[i-1]),this._context.model.revealRange("mouse",!1,new Nt.a(i,1,i,1),1,0)}setScrollTop(i){this._context.model.setScrollPosition({scrollTop:i},1)}}class ui extends E.a{constructor(i,a){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=i,this._model=a,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(lt.Pb),this._domNode=Object(S.b)(document.createElement("div")),Y.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=Object(S.b)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=Object(S.b)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=Object(S.b)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=Object(S.b)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=Object(S.b)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=f.n(this._domNode.domNode,"mousedown",_=>{if(_.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!=="proportional"){if(_.leftButton&&this._lastRenderData){let Pe=f.C(this._slider.domNode),Ve=Pe.top+Pe.height/2;this._startSliderDragging(_.buttons,_.posx,Ve,_.posy,this._lastRenderData.renderedLayout)}return}let R=this._model.options.minimapLineHeight,K=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*_.browserEvent.offsetY,we=Math.floor(K/R)+this._lastRenderData.renderedLayout.startLineNumber;we=Math.min(we,this._model.getLineCount()),this._model.revealLineNumber(we)}),this._sliderMouseMoveMonitor=new N.a,this._sliderMouseDownListener=f.n(this._slider.domNode,"mousedown",_=>{_.preventDefault(),_.stopPropagation(),_.leftButton&&this._lastRenderData&&this._startSliderDragging(_.buttons,_.posx,_.posy,_.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=V.b.addTarget(this._domNode.domNode),this._sliderTouchStartListener=f.i(this._domNode.domNode,V.a.Start,_=>{_.preventDefault(),_.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(_))},{passive:!1}),this._sliderTouchMoveListener=f.i(this._domNode.domNode,V.a.Change,_=>{_.preventDefault(),_.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(_)},{passive:!1}),this._sliderTouchEndListener=f.n(this._domNode.domNode,V.a.End,_=>{_.preventDefault(),_.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(i,a,_,R,K){this._slider.toggleClassName("active",!0);let we=(Pe,Ve)=>{let Je=Math.abs(Ve-a);if(P.i&&Je>140)return void this._model.setScrollTop(K.scrollTop);let at=Pe-_;this._model.setScrollTop(K.getDesiredScrollTopFromDelta(at))};R!==_&&we(R,a),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,i,N.b,Pe=>we(Pe.posy,Pe.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(i){let a=this._domNode.domNode.getBoundingClientRect().top,_=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(i.pageY-a);this._model.setScrollTop(_)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return this._model.options.showSlider==="always"?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new Ei(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(i,a){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(i,a)}onLinesDeleted(i,a){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(i,a),!0}onLinesInserted(i,a){return this._lastRenderData&&this._lastRenderData.onLinesInserted(i,a),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(lt.Pb),this._renderDecorations=!0,!0}onTokensChanged(i){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(i)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(i){if(this._model.options.renderMinimap===0)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);i.scrollLeft+i.viewportWidth>=i.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");let a=zt.create(this._model.options,i.viewportStartLineNumber,i.viewportEndLineNumber,i.viewportHeight,i.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),i.scrollTop,i.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(a.sliderNeeded?"block":"none"),this._slider.setTop(a.sliderTop),this._slider.setHeight(a.sliderHeight);let _=i.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,R=Math.min(this._model.options.minimapWidth,Math.round(_*this._model.options.minimapCharWidth/this._model.options.pixelRatio));this._sliderHorizontal.setLeft(R),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-R),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(a.sliderHeight),this.renderDecorations(a),this._lastRenderData=this.renderLines(a)}renderDecorations(i){if(this._renderDecorations){this._renderDecorations=!1;let a=this._model.getSelections(),_=this._model.getMinimapDecorationsInViewport(i.startLineNumber,i.endLineNumber),{canvasInnerWidth:R,canvasInnerHeight:K}=this._model.options,we=this._model.options.minimapLineHeight,Pe=this._model.options.minimapCharWidth,Ve=this._model.getOptions().tabSize,Je=this._decorationsCanvas.domNode.getContext("2d");Je.clearRect(0,0,R,K);let at=new Map;for(let bt=0;bt<a.length;bt++){let Bt=a[bt];for(let Pt=Bt.startLineNumber;Pt<=Bt.endLineNumber;Pt++)this.renderDecorationOnLine(Je,at,Bt,this._selectionColor,i,Pt,we,we,Ve,Pe)}for(let bt=0;bt<_.length;bt++){let Bt=_[bt];if(!Bt.options.minimap)continue;let Pt=Bt.options.minimap.getColor(this._theme);for(let ni=Bt.range.startLineNumber;ni<=Bt.range.endLineNumber;ni++)switch(Bt.options.minimap.position){case tt.c.Inline:this.renderDecorationOnLine(Je,at,Bt.range,Pt,i,ni,we,we,Ve,Pe);continue;case tt.c.Gutter:let Ci=(ni-i.startLineNumber)*we,Vi=2;this.renderDecoration(Je,Pt,Vi,Ci,2,we);continue}}}}renderDecorationOnLine(i,a,_,R,K,we,Pe,Ve,Je,at){let bt=(we-K.startLineNumber)*Ve;if(bt+Pe<0||bt>this._model.options.canvasInnerHeight)return;let Bt=a.get(we),Pt=!Bt;if(!Bt){let Gi=this._model.getLineContent(we);Bt=[fe.h];for(let wn=1;wn<Gi.length+1;wn++){let nn=Gi.charCodeAt(wn-1),Wn=nn===9?Je*at:_t.E(nn)?2*at:at;Bt[wn]=Bt[wn-1]+Wn}a.set(we,Bt)}let{startColumn:ni,endColumn:Ci,startLineNumber:Vi,endLineNumber:Mi}=_,zi=Vi===we?Bt[ni-1]:fe.h,Yi=Mi>we?Bt.length-1:Ci-1;if(Yi>0){let Gi=Bt[Yi]-zi||2;this.renderDecoration(i,R,zi,bt,Gi,Pe)}Pt&&this.renderLineHighlight(i,R,bt,Pe)}renderLineHighlight(i,a,_,R){i.fillStyle=a&&a.transparent(.5).toString()||"",i.fillRect(fe.h,_,i.canvas.width,R)}renderDecoration(i,a,_,R,K,we){i.fillStyle=a&&a.toString()||"",i.fillRect(_,R,K,we)}renderLines(i){let a=i.startLineNumber,_=i.endLineNumber,R=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(i)){let An=this._lastRenderData._get();return new xi(i,An.imageData,An.lines)}let K=this._getBuffer();if(!K)return null;let[we,Pe,Ve]=ui._renderUntouchedLines(K,a,_,R,this._lastRenderData),Je=this._model.getMinimapLinesRenderingData(a,_,Ve),at=this._model.getOptions().tabSize,bt=this._model.options.backgroundColor,Bt=this._model.tokensColorTracker,Pt=Bt.backgroundIsLight(),ni=this._model.options.renderMinimap,Ci=this._model.options.charRenderer(),Vi=this._model.options.fontScale,Mi=this._model.options.minimapCharWidth,zi=(ni===1?2:3)*Vi,Yi=R>zi?Math.floor((R-zi)/2):0,Gi=0,wn=[];for(let An=0,qn=_-a+1;An<qn;An++)Ve[An]&&ui._renderLine(K,bt,Pt,ni,Mi,Bt,Ci,Gi,Yi,at,Je[An],Vi,R),wn[An]=new Jt(Gi),Gi+=R;let nn=we===-1?0:we,Wn=(Pe===-1?K.height:Pe)-nn;return this._canvas.domNode.getContext("2d").putImageData(K,0,0,0,nn,K.width,Wn),new xi(i,K,wn)}static _renderUntouchedLines(i,a,_,R,K){let we=[];if(!K){for(let nn=0,Wn=_-a+1;nn<Wn;nn++)we[nn]=!0;return[-1,-1,we]}let Pe=K._get(),Ve=Pe.imageData.data,Je=Pe.rendLineNumberStart,at=Pe.lines,bt=at.length,Bt=i.width,Pt=i.data,ni=(_-a+1)*R*Bt*4,Ci=-1,Vi=-1,Mi=-1,zi=-1,Yi=-1,Gi=-1,wn=0;for(let nn=a;nn<=_;nn++){let Wn=nn-a,An=nn-Je,qn=An>=0&&An<bt?at[An].dy:-1;if(qn===-1){we[Wn]=!0,wn+=R;continue}let ro=qn*Bt*4,Un=(qn+R)*Bt*4,Lo=wn*Bt*4,Ao=(wn+R)*Bt*4;zi===ro&&Gi===Lo?(zi=Un,Gi=Ao):(Mi!==-1&&(Pt.set(Ve.subarray(Mi,zi),Yi),Ci===-1&&Mi===0&&Mi===Yi&&(Ci=zi),Vi===-1&&zi===ni&&Mi===Yi&&(Vi=Mi)),Mi=ro,zi=Un,Yi=Lo,Gi=Ao),we[Wn]=!1,wn+=R}return Mi!==-1&&(Pt.set(Ve.subarray(Mi,zi),Yi),Ci===-1&&Mi===0&&Mi===Yi&&(Ci=zi),Vi===-1&&zi===ni&&Mi===Yi&&(Vi=Mi)),[Ci===-1?-1:Ci/(4*Bt),Vi===-1?-1:Vi/(4*Bt),we]}static _renderLine(i,a,_,R,K,we,Pe,Ve,Je,at,bt,Bt,Pt){let ni=bt.content,Ci=bt.tokens,Vi=i.width-K,Mi=Pt===1,zi=fe.h,Yi=0,Gi=0;for(let wn=0,nn=Ci.getCount();wn<nn;wn++){let Wn=Ci.getEndOffset(wn),An=Ci.getForeground(wn),qn=we.getColor(An);for(;Yi<Wn;Yi++){if(zi>Vi)return;let ro=ni.charCodeAt(Yi);if(ro===9){let Un=at-(Yi+Gi)%at;Gi+=Un-1,zi+=Un*K}else if(ro===32)zi+=K;else{let Un=_t.E(ro)?2:1;for(let Lo=0;Lo<Un;Lo++)if(R===2?Pe.blockRenderChar(i,zi,Ve+Je,qn,a,_,Mi):Pe.renderChar(i,zi,Ve+Je,ro,qn,a,Bt,_,Mi),zi+=K,zi>Vi)return}}}}}Object(ht.g)((Zt,i)=>{let a=Zt.getColor(lt.Mb);a&&i.addRule(`.monaco-editor .minimap > canvas { opacity: ${a.rgba.a}; will-change: opacity; }`);let _=Zt.getColor(lt.Rb);_&&i.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${_}; }`);let R=Zt.getColor(lt.Sb);R&&i.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${R}; }`);let K=Zt.getColor(lt.Qb);K&&i.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${K}; }`);let we=Zt.getColor(lt.ic);we&&i.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${we} -6px 0 6px -6px inset; }`)}),o(234);class Te extends xe{constructor(i){super(i);let a=this._context.configuration.options.get(117);this._widgets={},this._verticalScrollbarWidth=a.verticalScrollbarWidth,this._minimapWidth=a.minimap.minimapWidth,this._horizontalScrollbarHeight=a.horizontalScrollbarHeight,this._editorHeight=a.height,this._editorWidth=a.width,this._domNode=Object(S.b)(document.createElement("div")),Y.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(i){let a=this._context.configuration.options.get(117);return this._verticalScrollbarWidth=a.verticalScrollbarWidth,this._minimapWidth=a.minimap.minimapWidth,this._horizontalScrollbarHeight=a.horizontalScrollbarHeight,this._editorHeight=a.height,this._editorWidth=a.width,!0}addWidget(i){let a=Object(S.b)(i.getDomNode());this._widgets[i.getId()]={widget:i,preference:null,domNode:a},a.setPosition("absolute"),a.setAttribute("widgetId",i.getId()),this._domNode.appendChild(a),this.setShouldRender()}setWidgetPosition(i,a){let _=this._widgets[i.getId()];return _.preference!==a&&(_.preference=a,this.setShouldRender(),!0)}removeWidget(i){let a=i.getId();if(this._widgets.hasOwnProperty(a)){let _=this._widgets[a].domNode.domNode;delete this._widgets[a],_.parentNode.removeChild(_),this.setShouldRender()}}_renderWidget(i){let a=i.domNode;if(i.preference!==null)if(i.preference===0)a.setTop(0),a.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(i.preference===1){let _=a.domNode.clientHeight;a.setTop(this._editorHeight-_-2*this._horizontalScrollbarHeight),a.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else i.preference===2&&(a.setTop(0),a.domNode.style.right="50%");else a.unsetTop()}prepareRender(i){}render(i){this._domNode.setWidth(this._editorWidth);let a=Object.keys(this._widgets);for(let _=0,R=a.length;_<R;_++){let K=a[_];this._renderWidget(this._widgets[K])}}}var Ee=o(16);class ve{constructor(i,a){let _=i.options;this.lineHeight=_.get(51),this.pixelRatio=_.get(115),this.overviewRulerLanes=_.get(65),this.renderBorder=_.get(64);let R=a.getColor(ki.m);this.borderColor=R?R.toString():null,this.hideCursor=_.get(44);let K=a.getColor(ki.g);this.cursorColor=K?K.transparent(.7).toString():null,this.themeType=a.type;let we=_.get(56),Pe=we.enabled,Ve=we.side,Je=Pe?a.getColor(ki.l)||X.C.getDefaultBackground():null;this.backgroundColor=Je===null||Ve==="left"?null:Ee.a.Format.CSS.formatHex(Je);let at=_.get(117).overviewRuler;this.top=at.top,this.right=at.right,this.domWidth=at.width,this.domHeight=at.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);let[bt,Bt]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=bt,this.w=Bt}_initLanes(i,a,_){let R=a-i;if(_>=3){let K=Math.floor(R/3),we=Math.floor(R/3),Pe=R-K-we,Ve=i+K;return[[0,i,Ve,i,i+K+Pe,i,Ve,i],[0,K,Pe,K+Pe,we,K+Pe+we,Pe+we,K+Pe+we]]}if(_===2){let K=Math.floor(R/2),we=R-K;return[[0,i,i,i,i+K,i,i,i],[0,K,K,K,we,K+we,K+we,K+we]]}return[[0,i,i,i,i,i,i,i],[0,R,R,R,R,R,R,R]]}equals(i){return this.lineHeight===i.lineHeight&&this.pixelRatio===i.pixelRatio&&this.overviewRulerLanes===i.overviewRulerLanes&&this.renderBorder===i.renderBorder&&this.borderColor===i.borderColor&&this.hideCursor===i.hideCursor&&this.cursorColor===i.cursorColor&&this.themeType===i.themeType&&this.backgroundColor===i.backgroundColor&&this.top===i.top&&this.right===i.right&&this.domWidth===i.domWidth&&this.domHeight===i.domHeight&&this.canvasWidth===i.canvasWidth&&this.canvasHeight===i.canvasHeight}}class Re extends xe{constructor(i){super(i),this._domNode=Object(S.b)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=X.C.onDidChange(a=>{a.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(i){let a=new ve(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(a))&&(this._settings=a,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,i&&this._render(),!0)}onConfigurationChanged(i){return this._updateSettings(!1)}onCursorStateChanged(i){this._cursorPositions=[];for(let a=0,_=i.selections.length;a<_;a++)this._cursorPositions[a]=i.selections[a].getPosition();return this._cursorPositions.sort(At.a.compare),!0}onDecorationsChanged(i){return!!i.affectsOverviewRuler}onFlushed(i){return!0}onScrollChanged(i){return i.scrollHeightChanged}onZonesChanged(i){return!0}onThemeChanged(i){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(i){}render(i){this._render()}_render(){if(this._settings.overviewRulerLanes===0)return void this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"");let i=this._settings.canvasWidth,a=this._settings.canvasHeight,_=this._settings.lineHeight,R=this._context.viewLayout,K=a/this._context.viewLayout.getScrollHeight(),we=this._context.model.getAllOverviewRulerDecorations(this._context.theme),Pe=6*this._settings.pixelRatio|0,Ve=Pe/2|0,Je=this._domNode.domNode.getContext("2d");this._settings.backgroundColor===null?Je.clearRect(0,0,i,a):(Je.fillStyle=this._settings.backgroundColor,Je.fillRect(0,0,i,a));let at=this._settings.x,bt=this._settings.w,Bt=Object.keys(we);Bt.sort();for(let Pt=0,ni=Bt.length;Pt<ni;Pt++){let Ci=Bt[Pt],Vi=we[Ci];Je.fillStyle=Ci;let Mi=0,zi=0,Yi=0;for(let Gi=0,wn=Vi.length;Gi<wn;Gi++){let nn=Vi[3*Gi],Wn=Vi[3*Gi+1],An=Vi[3*Gi+2],qn=R.getVerticalOffsetForLineNumber(Wn)*K|0,ro=(R.getVerticalOffsetForLineNumber(An)+_)*K|0;if(ro-qn<Pe){let Un=(qn+ro)/2|0;Un<Ve?Un=Ve:Un+Ve>a&&(Un=a-Ve),qn=Un-Ve,ro=Un+Ve}qn>Yi+1||nn!==Mi?(Gi!==0&&Je.fillRect(at[Mi],zi,bt[Mi],Yi-zi),Mi=nn,zi=qn,Yi=ro):ro>Yi&&(Yi=ro)}Je.fillRect(at[Mi],zi,bt[Mi],Yi-zi)}if(!this._settings.hideCursor&&this._settings.cursorColor){let Pt=2*this._settings.pixelRatio|0,ni=Pt/2|0,Ci=this._settings.x[7],Vi=this._settings.w[7];Je.fillStyle=this._settings.cursorColor;let Mi=-100,zi=-100;for(let Yi=0,Gi=this._cursorPositions.length;Yi<Gi;Yi++){let wn=this._cursorPositions[Yi],nn=R.getVerticalOffsetForLineNumber(wn.lineNumber)*K|0;nn<ni?nn=ni:nn+ni>a&&(nn=a-ni);let Wn=nn-ni,An=Wn+Pt;Wn>zi+1?(Yi!==0&&Je.fillRect(Ci,Mi,Vi,zi-Mi),Mi=Wn,zi=An):An>zi&&(zi=An)}Je.fillRect(Ci,Mi,Vi,zi-Mi)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(Je.beginPath(),Je.lineWidth=1,Je.strokeStyle=this._settings.borderColor,Je.moveTo(0,0),Je.lineTo(0,a),Je.stroke(),Je.moveTo(0,0),Je.lineTo(i,0),Je.stroke())}}var We=o(168);class Be extends ke{constructor(i,a){super(),this._context=i;let _=this._context.configuration.options;this._domNode=Object(S.b)(document.createElement("canvas")),this._domNode.setClassName(a),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new We.b(R=>this._context.viewLayout.getVerticalOffsetForLineNumber(R)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(_.get(51)),this._zoneManager.setPixelRatio(_.get(115)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options;return i.hasChanged(51)&&(this._zoneManager.setLineHeight(a.get(51)),this._render()),i.hasChanged(115)&&(this._zoneManager.setPixelRatio(a.get(115)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(i){return this._render(),!0}onScrollChanged(i){return i.scrollHeightChanged&&(this._zoneManager.setOuterHeight(i.scrollHeight),this._render()),!0}onZonesChanged(i){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(i){this._domNode.setTop(i.top),this._domNode.setRight(i.right);let a=!1;a=this._zoneManager.setDOMWidth(i.width)||a,a=this._zoneManager.setDOMHeight(i.height)||a,a&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(i){this._zoneManager.setZones(i),this._render()}_render(){if(this._zoneManager.getOuterHeight()===0)return!1;let i=this._zoneManager.getCanvasWidth(),a=this._zoneManager.getCanvasHeight(),_=this._zoneManager.resolveColorZones(),R=this._zoneManager.getId2Color(),K=this._domNode.domNode.getContext("2d");return K.clearRect(0,0,i,a),_.length>0&&this._renderOneLane(K,_,R,i),!0}_renderOneLane(i,a,_,R){let K=0,we=0,Pe=0;for(let Ve of a){let Je=Ve.colorId,at=Ve.from,bt=Ve.to;Je!==K?(i.fillRect(0,we,R,Pe-we),K=Je,i.fillStyle=_[K],we=at,Pe=bt):Pe>=at?Pe=Math.max(Pe,bt):(i.fillRect(0,we,R,Pe-we),we=at,Pe=bt)}i.fillRect(0,we,R,Pe-we)}}o(236);class Le extends xe{constructor(i){super(i),this.domNode=Object(S.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];let a=this._context.configuration.options;this._rulers=a.get(83),this._typicalHalfwidthCharacterWidth=a.get(36).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options;return this._rulers=a.get(83),this._typicalHalfwidthCharacterWidth=a.get(36).typicalHalfwidthCharacterWidth,!0}onScrollChanged(i){return i.scrollHeightChanged}prepareRender(i){}_ensureRulersCount(){let i=this._renderedRulers.length,a=this._rulers.length;if(i===a)return;if(i<a){let{tabSize:R}=this._context.model.getTextModelOptions(),K=R,we=a-i;for(;we>0;){let Pe=Object(S.b)(document.createElement("div"));Pe.setClassName("view-ruler"),Pe.setWidth(K),this.domNode.appendChild(Pe),this._renderedRulers.push(Pe),we--}return}let _=i-a;for(;_>0;){let R=this._renderedRulers.pop();this.domNode.removeChild(R),_--}}render(i){this._ensureRulersCount();for(let a=0,_=this._rulers.length;a<_;a++){let R=this._renderedRulers[a],K=this._rulers[a];R.setBoxShadow(K.color?`1px 0 0 0 ${K.color} inset`:""),R.setHeight(Math.min(i.scrollHeight,1e6)),R.setLeft(K.column*this._typicalHalfwidthCharacterWidth)}}}Object(ht.g)((Zt,i)=>{let a=Zt.getColor(ki.n);a&&i.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${a} inset; }`)}),o(238);class Ke extends xe{constructor(i){super(i),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;let a=this._context.configuration.options.get(84);this._useShadows=a.useShadows,this._domNode=Object(S.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){let i=this._useShadows&&this._scrollTop>0;return this._shouldShow!==i&&(this._shouldShow=i,!0)}getDomNode(){return this._domNode}_updateWidth(){let i=this._context.configuration.options.get(117);i.minimap.renderMinimap===0||i.minimap.minimapWidth>0&&i.minimap.minimapLeft===0?this._width=i.width:this._width=i.width-i.minimap.minimapWidth-i.verticalScrollbarWidth}onConfigurationChanged(i){let a=this._context.configuration.options.get(84);return this._useShadows=a.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(i){return this._scrollTop=i.scrollTop,this._updateShouldShow()}prepareRender(i){}render(i){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}Object(ht.g)((Zt,i)=>{let a=Zt.getColor(lt.ic);a&&i.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${a} 0 6px 6px -6px inset; }`)}),o(240);class dt{constructor(i){this.left=i.left,this.width=i.width,this.startStyle=null,this.endStyle=null}}class yt{constructor(i,a){this.lineNumber=i,this.ranges=a}}function xt(Zt){return new dt(Zt)}function Xt(Zt){return new yt(Zt.lineNumber,Zt.ranges.map(xt))}let mi=T.f;class Yt extends gi{constructor(i){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=i;let a=this._context.configuration.options;this._lineHeight=a.get(51),this._roundedSelection=a.get(82),this._typicalHalfwidthCharacterWidth=a.get(36).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(i){let a=this._context.configuration.options;return this._lineHeight=a.get(51),this._roundedSelection=a.get(82),this._typicalHalfwidthCharacterWidth=a.get(36).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(i){return this._selections=i.selections.slice(0),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return i.scrollTopChanged}onZonesChanged(i){return!0}_visibleRangesHaveGaps(i){for(let a=0,_=i.length;a<_;a++)if(i[a].ranges.length>1)return!0;return!1}_enrichVisibleRangesWithStyle(i,a,_){let R=this._typicalHalfwidthCharacterWidth/4,K=null,we=null;if(_&&_.length>0&&a.length>0){let Pe=a[0].lineNumber;if(Pe===i.startLineNumber)for(let Je=0;!K&&Je<_.length;Je++)_[Je].lineNumber===Pe&&(K=_[Je].ranges[0]);let Ve=a[a.length-1].lineNumber;if(Ve===i.endLineNumber)for(let Je=_.length-1;!we&&Je>=0;Je--)_[Je].lineNumber===Ve&&(we=_[Je].ranges[0]);K&&!K.startStyle&&(K=null),we&&!we.startStyle&&(we=null)}for(let Pe=0,Ve=a.length;Pe<Ve;Pe++){let Je=a[Pe].ranges[0],at=Je.left,bt=Je.left+Je.width,Bt={top:0,bottom:0},Pt={top:0,bottom:0};if(Pe>0){let ni=a[Pe-1].ranges[0].left,Ci=a[Pe-1].ranges[0].left+a[Pe-1].ranges[0].width;ri(at-ni)<R?Bt.top=2:at>ni&&(Bt.top=1),ri(bt-Ci)<R?Pt.top=2:ni<bt&&bt<Ci&&(Pt.top=1)}else K&&(Bt.top=K.startStyle.top,Pt.top=K.endStyle.top);if(Pe+1<Ve){let ni=a[Pe+1].ranges[0].left,Ci=a[Pe+1].ranges[0].left+a[Pe+1].ranges[0].width;ri(at-ni)<R?Bt.bottom=2:ni<at&&at<Ci&&(Bt.bottom=1),ri(bt-Ci)<R?Pt.bottom=2:bt<Ci&&(Pt.bottom=1)}else we&&(Bt.bottom=we.startStyle.bottom,Pt.bottom=we.endStyle.bottom);Je.startStyle=Bt,Je.endStyle=Pt}}_getVisibleRangesWithStyle(i,a,_){let R=(a.linesVisibleRangesForRange(i,!0)||[]).map(Xt),K=this._visibleRangesHaveGaps(R);return mi||K||!this._roundedSelection||this._enrichVisibleRangesWithStyle(a.visibleRange,R,_),R}_createSelectionPiece(i,a,_,R,K){return'<div class="cslr '+_+'" style="top:'+i.toString()+"px;left:"+R.toString()+"px;width:"+K.toString()+"px;height:"+a+'px;"></div>'}_actualRenderOneSelection(i,a,_,R){if(R.length===0)return;let K=!!R[0].ranges[0].startStyle,we=this._lineHeight.toString(),Pe=(this._lineHeight-1).toString(),Ve=R[0].lineNumber,Je=R[R.length-1].lineNumber;for(let at=0,bt=R.length;at<bt;at++){let Bt=R[at],Pt=Bt.lineNumber,ni=Pt-a,Ci=_&&(Pt===Je||Pt===Ve)?Pe:we,Vi=_&&Pt===Ve?1:0,Mi="",zi="";for(let Yi=0,Gi=Bt.ranges.length;Yi<Gi;Yi++){let wn=Bt.ranges[Yi];if(K){let Wn=wn.startStyle,An=wn.endStyle;if(Wn.top===1||Wn.bottom===1){Mi+=this._createSelectionPiece(Vi,Ci,Yt.SELECTION_CLASS_NAME,wn.left-Yt.ROUNDED_PIECE_WIDTH,Yt.ROUNDED_PIECE_WIDTH);let qn=Yt.EDITOR_BACKGROUND_CLASS_NAME;Wn.top===1&&(qn+=" "+Yt.SELECTION_TOP_RIGHT),Wn.bottom===1&&(qn+=" "+Yt.SELECTION_BOTTOM_RIGHT),Mi+=this._createSelectionPiece(Vi,Ci,qn,wn.left-Yt.ROUNDED_PIECE_WIDTH,Yt.ROUNDED_PIECE_WIDTH)}if(An.top===1||An.bottom===1){Mi+=this._createSelectionPiece(Vi,Ci,Yt.SELECTION_CLASS_NAME,wn.left+wn.width,Yt.ROUNDED_PIECE_WIDTH);let qn=Yt.EDITOR_BACKGROUND_CLASS_NAME;An.top===1&&(qn+=" "+Yt.SELECTION_TOP_LEFT),An.bottom===1&&(qn+=" "+Yt.SELECTION_BOTTOM_LEFT),Mi+=this._createSelectionPiece(Vi,Ci,qn,wn.left+wn.width,Yt.ROUNDED_PIECE_WIDTH)}}let nn=Yt.SELECTION_CLASS_NAME;if(K){let Wn=wn.startStyle,An=wn.endStyle;Wn.top===0&&(nn+=" "+Yt.SELECTION_TOP_LEFT),Wn.bottom===0&&(nn+=" "+Yt.SELECTION_BOTTOM_LEFT),An.top===0&&(nn+=" "+Yt.SELECTION_TOP_RIGHT),An.bottom===0&&(nn+=" "+Yt.SELECTION_BOTTOM_RIGHT)}zi+=this._createSelectionPiece(Vi,Ci,nn,wn.left,wn.width)}i[ni][0]+=Mi,i[ni][1]+=zi}}prepareRender(i){let a=[],_=i.visibleRange.startLineNumber,R=i.visibleRange.endLineNumber;for(let we=_;we<=R;we++)a[we-_]=["",""];let K=[];for(let we=0,Pe=this._selections.length;we<Pe;we++){let Ve=this._selections[we];if(Ve.isEmpty()){K[we]=null;continue}let Je=this._getVisibleRangesWithStyle(Ve,i,this._previousFrameVisibleRangesWithStyle[we]);K[we]=Je,this._actualRenderOneSelection(a,_,this._selections.length>1,Je)}this._previousFrameVisibleRangesWithStyle=K,this._renderResult=a.map(([we,Pe])=>we+Pe)}render(i,a){if(!this._renderResult)return"";let _=a-i;return _<0||_>=this._renderResult.length?"":this._renderResult[_]}}function ri(Zt){return Zt<0?-Zt:Zt}Yt.SELECTION_CLASS_NAME="selected-text",Yt.SELECTION_TOP_LEFT="top-left-radius",Yt.SELECTION_BOTTOM_LEFT="bottom-left-radius",Yt.SELECTION_TOP_RIGHT="top-right-radius",Yt.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Yt.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Yt.ROUNDED_PIECE_WIDTH=10,Object(ht.g)((Zt,i)=>{let a=Zt.getColor(lt.O);a&&i.addRule(`.monaco-editor .focused .selected-text { background-color: ${a}; }`);let _=Zt.getColor(lt.J);_&&i.addRule(`.monaco-editor .selected-text { background-color: ${_}; }`);let R=Zt.getColor(lt.P);R&&!R.isTransparent()&&i.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${R}; }`)}),o(242);class qi{constructor(i,a,_,R,K,we){this.top=i,this.left=a,this.width=_,this.height=R,this.textContent=K,this.textContentClassName=we}}class an{constructor(i){this._context=i;let a=this._context.configuration.options,_=a.get(36);this._cursorStyle=a.get(19),this._lineHeight=a.get(51),this._typicalHalfwidthCharacterWidth=_.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(a.get(22),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(S.b)(document.createElement("div")),this._domNode.setClassName("cursor "+yi.a),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),W.a.applyFontInfo(this._domNode,_),this._domNode.setDisplay("none"),this._position=new At.a(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(36);return this._cursorStyle=a.get(19),this._lineHeight=a.get(51),this._typicalHalfwidthCharacterWidth=_.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(a.get(22),this._typicalHalfwidthCharacterWidth),W.a.applyFontInfo(this._domNode,_),!0}onCursorPositionChanged(i){return this._position=i,!0}_prepareRender(i){let a="";if(this._cursorStyle===fe.i.Line||this._cursorStyle===fe.i.LineThin){let Bt=i.visibleRangeForPosition(this._position);if(!Bt||Bt.outsideRenderedLine)return null;let Pt;if(this._cursorStyle===fe.i.Line){if(Pt=f.t(this._lineCursorWidth>0?this._lineCursorWidth:2),Pt>2){let Vi=this._context.model.getLineContent(this._position.lineNumber),Mi=_t.L(Vi,this._position.column-1);a=Vi.substr(this._position.column-1,Mi)}}else Pt=f.t(1);let ni=Bt.left;Pt>=2&&ni>=1&&(ni-=1);let Ci=i.getVerticalOffsetForLineNumber(this._position.lineNumber)-i.bigNumbersDelta;return new qi(Ci,ni,Pt,this._lineHeight,a,"")}let _=this._context.model.getLineContent(this._position.lineNumber),R=_t.L(_,this._position.column-1),K=i.linesVisibleRangesForRange(new Nt.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+R),!1);if(!K||K.length===0)return null;let we=K[0];if(we.outsideRenderedLine||we.ranges.length===0)return null;let Pe=we.ranges[0],Ve=Pe.width<1?this._typicalHalfwidthCharacterWidth:Pe.width,Je="";if(this._cursorStyle===fe.i.Block){let Bt=this._context.model.getViewLineData(this._position.lineNumber);a=_.substr(this._position.column-1,R);let Pt=Bt.tokens.findTokenIndexAtOffset(this._position.column-1);Je=Bt.tokens.getClassName(Pt)}let at=i.getVerticalOffsetForLineNumber(this._position.lineNumber)-i.bigNumbersDelta,bt=this._lineHeight;return this._cursorStyle!==fe.i.Underline&&this._cursorStyle!==fe.i.UnderlineThin||(at+=this._lineHeight-2,bt=2),new qi(at,Pe.left,Ve,bt,a,Je)}prepareRender(i){this._renderData=this._prepareRender(i)}render(i){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${yi.a} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class _n extends xe{constructor(i){super(i);let a=this._context.configuration.options;this._readOnly=a.get(72),this._cursorBlinking=a.get(17),this._cursorStyle=a.get(19),this._cursorSmoothCaretAnimation=a.get(18),this._selectionIsEmpty=!0,this._isVisible=!1,this._primaryCursor=new an(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=Object(S.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new l.e,this._cursorFlatBlinkInterval=new l.c,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(i){let a=this._context.configuration.options;this._readOnly=a.get(72),this._cursorBlinking=a.get(17),this._cursorStyle=a.get(19),this._cursorSmoothCaretAnimation=a.get(18),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(i);for(let _=0,R=this._secondaryCursors.length;_<R;_++)this._secondaryCursors[_].onConfigurationChanged(i);return!0}_onCursorPositionChanged(i,a){if(this._primaryCursor.onCursorPositionChanged(i),this._updateBlinking(),this._secondaryCursors.length<a.length){let _=a.length-this._secondaryCursors.length;for(let R=0;R<_;R++){let K=new an(this._context);this._domNode.domNode.insertBefore(K.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(K)}}else if(this._secondaryCursors.length>a.length){let _=this._secondaryCursors.length-a.length;for(let R=0;R<_;R++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let _=0;_<a.length;_++)this._secondaryCursors[_].onCursorPositionChanged(a[_])}onCursorStateChanged(i){let a=[];for(let R=0,K=i.selections.length;R<K;R++)a[R]=i.selections[R].getPosition();this._onCursorPositionChanged(a[0],a.slice(1));let _=i.selections[0].isEmpty();return this._selectionIsEmpty!==_&&(this._selectionIsEmpty=_,this._updateDomClassName()),!0}onDecorationsChanged(i){return!0}onFlushed(i){return!0}onFocusChanged(i){return this._editorHasFocus=i.isFocused,this._updateBlinking(),!1}onLinesChanged(i){return!0}onLinesDeleted(i){return!0}onLinesInserted(i){return!0}onScrollChanged(i){return!0}onTokensChanged(i){let a=_=>{for(let R=0,K=i.ranges.length;R<K;R++)if(i.ranges[R].fromLineNumber<=_.lineNumber&&_.lineNumber<=i.ranges[R].toLineNumber)return!0;return!1};if(a(this._primaryCursor.getPosition()))return!0;for(let _ of this._secondaryCursors)if(a(_.getPosition()))return!0;return!1}onZonesChanged(i){return!0}_getCursorBlinking(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();let i=this._getCursorBlinking(),a=i===0,_=i===5;a?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),a||_||(i===1?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},_n.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},_n.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let i="cursors-layer";switch(this._selectionIsEmpty||(i+=" has-selection"),this._cursorStyle){case fe.i.Line:i+=" cursor-line-style";break;case fe.i.Block:i+=" cursor-block-style";break;case fe.i.Underline:i+=" cursor-underline-style";break;case fe.i.LineThin:i+=" cursor-line-thin-style";break;case fe.i.BlockOutline:i+=" cursor-block-outline-style";break;case fe.i.UnderlineThin:i+=" cursor-underline-thin-style";break;default:i+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:i+=" cursor-blink";break;case 2:i+=" cursor-smooth";break;case 3:i+=" cursor-phase";break;case 4:i+=" cursor-expand";break;case 5:i+=" cursor-solid";break;default:i+=" cursor-solid"}else i+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(i+=" cursor-smooth-caret-animation"),i}_show(){this._primaryCursor.show();for(let i=0,a=this._secondaryCursors.length;i<a;i++)this._secondaryCursors[i].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let i=0,a=this._secondaryCursors.length;i<a;i++)this._secondaryCursors[i].hide();this._isVisible=!1}prepareRender(i){this._primaryCursor.prepareRender(i);for(let a=0,_=this._secondaryCursors.length;a<_;a++)this._secondaryCursors[a].prepareRender(i)}render(i){let a=[],_=0,R=this._primaryCursor.render(i);R&&(a[_++]=R);for(let K=0,we=this._secondaryCursors.length;K<we;K++){let Pe=this._secondaryCursors[K].render(i);Pe&&(a[_++]=Pe)}this._renderData=a}getLastRenderData(){return this._renderData}}_n.BLINK_INTERVAL=500,Object(ht.g)((Zt,i)=>{let a=Zt.getColor(ki.g);if(a){let _=Zt.getColor(ki.f);_||(_=a.opposite()),i.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${a}; border-color: ${a}; color: ${_}; }`),Zt.type==="hc"&&i.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${_}; border-right: 1px solid ${_}; }`)}});let ei=()=>{throw new Error("Invalid change accessor")};class ii extends xe{constructor(i){super(i);let a=this._context.configuration.options,_=a.get(117);this._lineHeight=a.get(51),this._contentWidth=_.contentWidth,this._contentLeft=_.contentLeft,this.domNode=Object(S.b)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=Object(S.b)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){let i=this._context.viewLayout.getWhitespaces(),a=new Map;for(let R of i)a.set(R.id,R);let _=!1;return this._context.model.changeWhitespace(R=>{let K=Object.keys(this._zones);for(let we=0,Pe=K.length;we<Pe;we++){let Ve=K[we],Je=this._zones[Ve],at=this._computeWhitespaceProps(Je.delegate),bt=a.get(Ve);!bt||bt.afterLineNumber===at.afterViewLineNumber&&bt.height===at.heightInPx||(R.changeOneWhitespace(Ve,at.afterViewLineNumber,at.heightInPx),this._safeCallOnComputedHeight(Je.delegate,at.heightInPx),_=!0)}}),_}onConfigurationChanged(i){let a=this._context.configuration.options,_=a.get(117);return this._lineHeight=a.get(51),this._contentWidth=_.contentWidth,this._contentLeft=_.contentLeft,i.hasChanged(51)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(i){return this._recomputeWhitespacesProps()}onLinesDeleted(i){return!0}onScrollChanged(i){return i.scrollTopChanged||i.scrollWidthChanged}onZonesChanged(i){return!0}onLinesInserted(i){return!0}_getZoneOrdinal(i){return i.afterColumn!==void 0?i.afterColumn:1e4}_computeWhitespaceProps(i){if(i.afterLineNumber===0)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(i),minWidthInPx:this._minWidthInPixels(i)};let a,_;if(i.afterColumn!==void 0)a=this._context.model.validateModelPosition({lineNumber:i.afterLineNumber,column:i.afterColumn});else{let we=this._context.model.validateModelPosition({lineNumber:i.afterLineNumber,column:1}).lineNumber;a=new At.a(we,this._context.model.getModelLineMaxColumn(we))}_=a.column===this._context.model.getModelLineMaxColumn(a.lineNumber)?this._context.model.validateModelPosition({lineNumber:a.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:a.lineNumber,column:a.column+1});let R=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(a),K=this._context.model.coordinatesConverter.modelPositionIsVisible(_);return{afterViewLineNumber:R.lineNumber,heightInPx:K?this._heightInPixels(i):0,minWidthInPx:this._minWidthInPixels(i)}}changeViewZones(i){let a=!1;return this._context.model.changeWhitespace(_=>{let R={addZone:K=>(a=!0,this._addZone(_,K)),removeZone:K=>{K&&(a=this._removeZone(_,K)||a)},layoutZone:K=>{K&&(a=this._layoutZone(_,K)||a)}};(function(K,we){try{K(we)}catch(Pe){Object(D.e)(Pe)}})(i,R),R.addZone=ei,R.removeZone=ei,R.layoutZone=ei}),a}_addZone(i,a){let _=this._computeWhitespaceProps(a),R={whitespaceId:i.insertWhitespace(_.afterViewLineNumber,this._getZoneOrdinal(a),_.heightInPx,_.minWidthInPx),delegate:a,isVisible:!1,domNode:Object(S.b)(a.domNode),marginDomNode:a.marginDomNode?Object(S.b)(a.marginDomNode):null};return this._safeCallOnComputedHeight(R.delegate,_.heightInPx),R.domNode.setPosition("absolute"),R.domNode.domNode.style.width="100%",R.domNode.setDisplay("none"),R.domNode.setAttribute("monaco-view-zone",R.whitespaceId),this.domNode.appendChild(R.domNode),R.marginDomNode&&(R.marginDomNode.setPosition("absolute"),R.marginDomNode.domNode.style.width="100%",R.marginDomNode.setDisplay("none"),R.marginDomNode.setAttribute("monaco-view-zone",R.whitespaceId),this.marginDomNode.appendChild(R.marginDomNode)),this._zones[R.whitespaceId]=R,this.setShouldRender(),R.whitespaceId}_removeZone(i,a){if(this._zones.hasOwnProperty(a)){let _=this._zones[a];return delete this._zones[a],i.removeWhitespace(_.whitespaceId),_.domNode.removeAttribute("monaco-visible-view-zone"),_.domNode.removeAttribute("monaco-view-zone"),_.domNode.domNode.parentNode.removeChild(_.domNode.domNode),_.marginDomNode&&(_.marginDomNode.removeAttribute("monaco-visible-view-zone"),_.marginDomNode.removeAttribute("monaco-view-zone"),_.marginDomNode.domNode.parentNode.removeChild(_.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(i,a){if(this._zones.hasOwnProperty(a)){let _=this._zones[a],R=this._computeWhitespaceProps(_.delegate);return i.changeOneWhitespace(_.whitespaceId,R.afterViewLineNumber,R.heightInPx),this._safeCallOnComputedHeight(_.delegate,R.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(i){if(this._zones.hasOwnProperty(i)){let a=this._zones[i];return Boolean(a.delegate.suppressMouseDown)}return!1}_heightInPixels(i){return typeof i.heightInPx=="number"?i.heightInPx:typeof i.heightInLines=="number"?this._lineHeight*i.heightInLines:this._lineHeight}_minWidthInPixels(i){return typeof i.minWidthInPx=="number"?i.minWidthInPx:0}_safeCallOnComputedHeight(i,a){if(typeof i.onComputedHeight=="function")try{i.onComputedHeight(a)}catch(_){Object(D.e)(_)}}_safeCallOnDomNodeTop(i,a){if(typeof i.onDomNodeTop=="function")try{i.onDomNodeTop(a)}catch(_){Object(D.e)(_)}}prepareRender(i){}render(i){let a=i.viewportData.whitespaceViewportData,_={},R=!1;for(let we=0,Pe=a.length;we<Pe;we++)_[a[we].id]=a[we],R=!0;let K=Object.keys(this._zones);for(let we=0,Pe=K.length;we<Pe;we++){let Ve=K[we],Je=this._zones[Ve],at=0,bt=0,Bt="none";_.hasOwnProperty(Ve)?(at=_[Ve].verticalOffset-i.bigNumbersDelta,bt=_[Ve].height,Bt="block",Je.isVisible||(Je.domNode.setAttribute("monaco-visible-view-zone","true"),Je.isVisible=!0),this._safeCallOnDomNodeTop(Je.delegate,i.getScrolledTopFromAbsoluteTop(_[Ve].verticalOffset))):(Je.isVisible&&(Je.domNode.removeAttribute("monaco-visible-view-zone"),Je.isVisible=!1),this._safeCallOnDomNodeTop(Je.delegate,i.getScrolledTopFromAbsoluteTop(-1e6))),Je.domNode.setTop(at),Je.domNode.setHeight(bt),Je.domNode.setDisplay(Bt),Je.marginDomNode&&(Je.marginDomNode.setTop(at),Je.marginDomNode.setHeight(bt),Je.marginDomNode.setDisplay(Bt))}R&&(this.domNode.setWidth(Math.max(i.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}class bi{constructor(i){this._theme=i}get type(){return this._theme.type}update(i){this._theme=i}getColor(i){return this._theme.getColor(i)}}class ln{constructor(i,a,_){this.configuration=i,this.theme=new bi(a),this.model=_,this.viewLayout=_.viewLayout}addEventHandler(i){this.model.addViewEventHandler(i)}removeEventHandler(i){this.model.removeViewEventHandler(i)}}class mn{constructor(i,a,_,R){this.selections=i,this.startLineNumber=0|a.startLineNumber,this.endLineNumber=0|a.endLineNumber,this.relativeVerticalOffset=a.relativeVerticalOffset,this.bigNumbersDelta=0|a.bigNumbersDelta,this.whitespaceViewportData=_,this._model=R,this.visibleRange=new Nt.a(a.startLineNumber,this._model.getLineMinColumn(a.startLineNumber),a.endLineNumber,this._model.getLineMaxColumn(a.endLineNumber))}getViewLineRenderingData(i){return this._model.getViewLineRenderingData(this.visibleRange,i)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class sn extends ke{constructor(i,a,_,R,K,we){super(),this._selections=[new C.a(1,1,1,1)],this._renderAnimationFrame=null;let Pe=new Pi(a,R,K,i);this._context=new ln(a,_.getColorTheme(),R),this._context.addEventHandler(this),this._register(_.onDidColorThemeChange(Ci=>{this._context.theme.update(Ci),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new si(this._context,Pe,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=Object(S.b)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=Object(S.b)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=Object(S.b)(document.createElement("div")),Y.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new Fe(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new Kt(this._context,this._linesContent),this._viewZones=new ii(this._context),this._viewParts.push(this._viewZones);let Ve=new Re(this._context);this._viewParts.push(Ve);let Je=new Ke(this._context);this._viewParts.push(Je);let at=new Jn(this._context);this._viewParts.push(at),at.addDynamicOverlay(new qt(this._context)),at.addDynamicOverlay(new Yt(this._context)),at.addDynamicOverlay(new Ot(this._context)),at.addDynamicOverlay(new ne(this._context));let bt=new _o(this._context);this._viewParts.push(bt),bt.addDynamicOverlay(new I(this._context)),bt.addDynamicOverlay(new Mt(this._context)),bt.addDynamicOverlay(new Ti(this._context)),bt.addDynamicOverlay(new wi(this._context)),bt.addDynamicOverlay(new Ri(this._context));let Bt=new $i(this._context);Bt.getDomNode().appendChild(this._viewZones.marginDomNode),Bt.getDomNode().appendChild(bt.getDomNode()),this._viewParts.push(Bt),this._contentWidgets=new Gn(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new _n(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new Te(this._context),this._viewParts.push(this._overlayWidgets);let Pt=new Le(this._context);this._viewParts.push(Pt);let ni=new fi(this._context);if(this._viewParts.push(ni),Ve){let Ci=this._scrollbar.getOverviewRulerLayoutInfo();Ci.parent.insertBefore(Ve.getDomNode(),Ci.insertBefore)}this._linesContent.appendChild(at.getDomNode()),this._linesContent.appendChild(Pt.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(Bt.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(Je.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(ni.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),we?we.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new st(this._context,Pe,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},getLastRenderData:()=>{let i=this._viewCursors.getLastRenderData()||[],a=this._textAreaHandler.getLastRenderData();return new wt(i,a)},shouldSuppressMouseDownOnViewZone:i=>this._viewZones.shouldSuppressMouseDownOnViewZone(i),shouldSuppressMouseDownOnWidget:i=>this._contentWidgets.shouldSuppressMouseDownOnWidget(i),getPositionFromDOMInfo:(i,a)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(i,a)),visibleRangeForPosition:(i,a)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new At.a(i,a))),getLineWidth:i=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(i))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(i,a)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new At.a(i,a)))}}_applyLayout(){let i=this._context.configuration.options.get(117);this.domNode.setWidth(i.width),this.domNode.setHeight(i.height),this._overflowGuardContainer.setWidth(i.width),this._overflowGuardContainer.setHeight(i.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){let i=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(114)+" "+Object(ht.f)(this._context.theme.type)+i}handleEvents(i){super.handleEvents(i),this._scheduleRender()}onConfigurationChanged(i){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(i){return this._selections=i.selections,!1}onFocusChanged(i){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(i){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(let i=0,a=this._viewParts.length;i<a;i++)this._viewParts[i].dispose();super.dispose()}_scheduleRender(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=f.W(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){(function(i){try{i()}catch(a){Object(D.e)(a)}})(()=>this._actualRender())}_getViewPartsToRender(){let i=[],a=0;for(let _=0,R=this._viewParts.length;_<R;_++){let K=this._viewParts[_];K.shouldRender()&&(i[a++]=K)}return i}_actualRender(){if(!f.N(this.domNode.domNode))return;let i=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&i.length===0)return;let a=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(a.startLineNumber,a.endLineNumber,a.centeredLineNumber);let _=new mn(this._selections,a,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(_),this._viewLines.shouldRender()&&(this._viewLines.renderText(_),this._viewLines.onDidRender(),i=this._getViewPartsToRender());let R=new Z(this._context.viewLayout,_,this._viewLines);for(let K=0,we=i.length;K<we;K++)i[K].prepareRender(R);for(let K=0,we=i.length;K<we;K++){let Pe=i[K];Pe.render(R),Pe.onDidRender()}}delegateVerticalScrollbarMouseDown(i){this._scrollbar.delegateVerticalScrollbarMouseDown(i)}restoreState(i){this._context.model.setScrollPosition({scrollTop:i.scrollTop},1),this._context.model.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.model.setScrollPosition({scrollLeft:i.scrollLeft},1)}getOffsetForColumn(i,a){let _=this._context.model.validateModelPosition({lineNumber:i,column:a}),R=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(_);this._flushAccumulatedAndRenderNow();let K=this._viewLines.visibleRangeForPosition(new At.a(R.lineNumber,R.column));return K?K.left:-1}getTargetAtClientPoint(i,a){let _=this._pointerHandler.getTargetAtClientPoint(i,a);return _?Wi.convertViewToModelMouseTarget(_,this._context.model.coordinatesConverter):null}createOverviewRuler(i){return new Be(this._context,i)}change(i){this._viewZones.changeViewZones(i),this._scheduleRender()}render(i,a){if(a){this._viewLines.forceShouldRender();for(let _=0,R=this._viewParts.length;_<R;_++)this._viewParts[_].forceShouldRender()}i?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(i){this._textAreaHandler.setAriaOptions(i)}addContentWidget(i){this._contentWidgets.addWidget(i.widget),this.layoutContentWidget(i),this._scheduleRender()}layoutContentWidget(i){let a=i.position&&i.position.range||null;if(a===null){let R=i.position?i.position.position:null;R!==null&&(a=new Nt.a(R.lineNumber,R.column,R.lineNumber,R.column))}let _=i.position?i.position.preference:null;this._contentWidgets.setWidgetPosition(i.widget,a,_),this._scheduleRender()}removeContentWidget(i){this._contentWidgets.removeWidget(i.widget),this._scheduleRender()}addOverlayWidget(i){this._overlayWidgets.addWidget(i.widget),this.layoutOverlayWidget(i),this._scheduleRender()}layoutOverlayWidget(i){let a=i.position?i.position.preference:null;this._overlayWidgets.setWidgetPosition(i.widget,a)&&this._scheduleRender()}removeOverlayWidget(i){this._overlayWidgets.removeWidget(i.widget),this._scheduleRender()}}class gn{constructor(i){this._selTrackedRange=null,this._trackSelection=!0,this._setState(i,new _i.f(new Nt.a(1,1,1,1),0,new At.a(1,1),0),new _i.f(new Nt.a(1,1,1,1),0,new At.a(1,1),0))}dispose(i){this._removeTrackedRange(i)}startTrackingSelection(i){this._trackSelection=!0,this._updateTrackedRange(i)}stopTrackingSelection(i){this._trackSelection=!1,this._removeTrackedRange(i)}_updateTrackedRange(i){this._trackSelection&&(this._selTrackedRange=i.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(i){this._selTrackedRange=i.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new _i.d(this.modelState,this.viewState)}readSelectionFromMarkers(i){let a=i.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.getDirection()===0?new C.a(a.startLineNumber,a.startColumn,a.endLineNumber,a.endColumn):new C.a(a.endLineNumber,a.endColumn,a.startLineNumber,a.startColumn)}ensureValidState(i){this._setState(i,this.modelState,this.viewState)}setState(i,a,_){this._setState(i,a,_)}_setState(i,a,_){if(a){let R=i.model.validateRange(a.selectionStart),K=a.selectionStart.equalsRange(R)?a.selectionStartLeftoverVisibleColumns:0,we=i.model.validatePosition(a.position),Pe=a.position.equals(we)?a.leftoverVisibleColumns:0;a=new _i.f(R,K,we,Pe)}else{if(!_)return;let R=i.model.validateRange(i.coordinatesConverter.convertViewRangeToModelRange(_.selectionStart)),K=i.model.validatePosition(i.coordinatesConverter.convertViewPositionToModelPosition(_.position));a=new _i.f(R,_.selectionStartLeftoverVisibleColumns,K,_.leftoverVisibleColumns)}if(_){let R=i.coordinatesConverter.validateViewRange(_.selectionStart,a.selectionStart),K=i.coordinatesConverter.validateViewPosition(_.position,a.position);_=new _i.f(R,a.selectionStartLeftoverVisibleColumns,K,a.leftoverVisibleColumns)}else{let R=i.coordinatesConverter.convertModelPositionToViewPosition(new At.a(a.selectionStart.startLineNumber,a.selectionStart.startColumn)),K=i.coordinatesConverter.convertModelPositionToViewPosition(new At.a(a.selectionStart.endLineNumber,a.selectionStart.endColumn)),we=new Nt.a(R.lineNumber,R.column,K.lineNumber,K.column),Pe=i.coordinatesConverter.convertModelPositionToViewPosition(a.position);_=new _i.f(we,a.selectionStartLeftoverVisibleColumns,Pe,a.leftoverVisibleColumns)}this.modelState=a,this.viewState=_,this._updateTrackedRange(i)}}class Sn{constructor(i){this.context=i,this.primaryCursor=new gn(i),this.secondaryCursors=[],this.lastAddedCursorIndex=0}dispose(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()}startTrackingSelections(){this.primaryCursor.startTrackingSelection(this.context);for(let i=0,a=this.secondaryCursors.length;i<a;i++)this.secondaryCursors[i].startTrackingSelection(this.context)}stopTrackingSelections(){this.primaryCursor.stopTrackingSelection(this.context);for(let i=0,a=this.secondaryCursors.length;i<a;i++)this.secondaryCursors[i].stopTrackingSelection(this.context)}updateContext(i){this.context=i}ensureValidState(){this.primaryCursor.ensureValidState(this.context);for(let i=0,a=this.secondaryCursors.length;i<a;i++)this.secondaryCursors[i].ensureValidState(this.context)}readSelectionFromMarkers(){let i=[];i[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(let a=0,_=this.secondaryCursors.length;a<_;a++)i[a+1]=this.secondaryCursors[a].readSelectionFromMarkers(this.context);return i}getAll(){let i=[];i[0]=this.primaryCursor.asCursorState();for(let a=0,_=this.secondaryCursors.length;a<_;a++)i[a+1]=this.secondaryCursors[a].asCursorState();return i}getViewPositions(){let i=[];i[0]=this.primaryCursor.viewState.position;for(let a=0,_=this.secondaryCursors.length;a<_;a++)i[a+1]=this.secondaryCursors[a].viewState.position;return i}getTopMostViewPosition(){let i=this.primaryCursor.viewState.position;for(let a=0,_=this.secondaryCursors.length;a<_;a++){let R=this.secondaryCursors[a].viewState.position;R.isBefore(i)&&(i=R)}return i}getBottomMostViewPosition(){let i=this.primaryCursor.viewState.position;for(let a=0,_=this.secondaryCursors.length;a<_;a++){let R=this.secondaryCursors[a].viewState.position;i.isBeforeOrEqual(R)&&(i=R)}return i}getSelections(){let i=[];i[0]=this.primaryCursor.modelState.selection;for(let a=0,_=this.secondaryCursors.length;a<_;a++)i[a+1]=this.secondaryCursors[a].modelState.selection;return i}getViewSelections(){let i=[];i[0]=this.primaryCursor.viewState.selection;for(let a=0,_=this.secondaryCursors.length;a<_;a++)i[a+1]=this.secondaryCursors[a].viewState.selection;return i}setSelections(i){this.setStates(_i.d.fromModelSelections(i))}getPrimaryCursor(){return this.primaryCursor.asCursorState()}setStates(i){i!==null&&(this.primaryCursor.setState(this.context,i[0].modelState,i[0].viewState),this._setSecondaryStates(i.slice(1)))}_setSecondaryStates(i){let a=this.secondaryCursors.length,_=i.length;if(a<_){let R=_-a;for(let K=0;K<R;K++)this._addSecondaryCursor()}else if(a>_){let R=a-_;for(let K=0;K<R;K++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(let R=0;R<_;R++)this.secondaryCursors[R].setState(this.context,i[R].modelState,i[R].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.secondaryCursors.push(new gn(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length}getLastAddedCursorIndex(){return this.secondaryCursors.length===0||this.lastAddedCursorIndex===0?0:this.lastAddedCursorIndex}_removeSecondaryCursor(i){this.lastAddedCursorIndex>=i+1&&this.lastAddedCursorIndex--,this.secondaryCursors[i].dispose(this.context),this.secondaryCursors.splice(i,1)}_getAll(){let i=[];i[0]=this.primaryCursor;for(let a=0,_=this.secondaryCursors.length;a<_;a++)i[a+1]=this.secondaryCursors[a];return i}normalize(){if(this.secondaryCursors.length===0)return;let i=this._getAll(),a=[];for(let _=0,R=i.length;_<R;_++)a.push({index:_,selection:i[_].modelState.selection});a.sort((_,R)=>_.selection.startLineNumber===R.selection.startLineNumber?_.selection.startColumn-R.selection.startColumn:_.selection.startLineNumber-R.selection.startLineNumber);for(let _=0;_<a.length-1;_++){let R=a[_],K=a[_+1],we=R.selection,Pe=K.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let Ve;if(Ve=Pe.isEmpty()||we.isEmpty()?Pe.getStartPosition().isBeforeOrEqual(we.getEndPosition()):Pe.getStartPosition().isBefore(we.getEndPosition()),Ve){let Je=R.index<K.index?_:_+1,at=R.index<K.index?_+1:_,bt=a[at].index,Bt=a[Je].index,Pt=a[at].selection,ni=a[Je].selection;if(!Pt.equalsSelection(ni)){let Ci=Pt.plusRange(ni),Vi=Pt.selectionStartLineNumber===Pt.startLineNumber&&Pt.selectionStartColumn===Pt.startColumn,Mi=ni.selectionStartLineNumber===ni.startLineNumber&&ni.selectionStartColumn===ni.startColumn,zi,Yi;bt===this.lastAddedCursorIndex?(zi=Vi,this.lastAddedCursorIndex=Bt):zi=Mi,Yi=zi?new C.a(Ci.startLineNumber,Ci.startColumn,Ci.endLineNumber,Ci.endColumn):new C.a(Ci.endLineNumber,Ci.endColumn,Ci.startLineNumber,Ci.startColumn),a[Je].selection=Yi;let Gi=_i.d.fromModelSelection(Yi);i[Bt].setState(this.context,Gi.modelState,Gi.viewState)}for(let Ci of a)Ci.index>bt&&Ci.index--;i.splice(bt,1),a.splice(at,1),this._removeSecondaryCursor(bt-1),_--}}}}var En=o(181),Xn=o(126);class Yn{constructor(i){this.type=0,this._source=i}hasChanged(i){return this._source.hasChanged(i)}}class Io{constructor(i,a){this.type=1,this.selections=i,this.modelSelections=a}}class Ro{constructor(i){this.type=2,i?(this.affectsMinimap=i.affectsMinimap,this.affectsOverviewRuler=i.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class In{constructor(){this.type=3}}class Rn{constructor(i){this.type=4,this.isFocused=i}}class Qn{constructor(){this.type=5}}class vo{constructor(){this.type=6}}class Mo{constructor(i,a){this.type=7,this.fromLineNumber=i,this.toLineNumber=a}}class So{constructor(i,a){this.type=8,this.fromLineNumber=i,this.toLineNumber=a}}class ko{constructor(i,a){this.type=9,this.fromLineNumber=i,this.toLineNumber=a}}class po{constructor(i,a,_,R,K,we){this.type=10,this.source=i,this.range=a,this.selections=_,this.verticalType=R,this.revealHorizontal=K,this.scrollType=we}}class Tn{constructor(i){this.type=11,this.scrollWidth=i.scrollWidth,this.scrollLeft=i.scrollLeft,this.scrollHeight=i.scrollHeight,this.scrollTop=i.scrollTop,this.scrollWidthChanged=i.scrollWidthChanged,this.scrollLeftChanged=i.scrollLeftChanged,this.scrollHeightChanged=i.scrollHeightChanged,this.scrollTopChanged=i.scrollTopChanged}}class No{constructor(){this.type=12}}class Ho{constructor(i){this.type=13,this.ranges=i}}class gr{constructor(){this.type=14}}class wo{constructor(){this.type=15}}class ls extends E.a{constructor(){super(),this._onEvent=this._register(new H.a),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(i){this._addOutgoingEvent(i),this._emitOugoingEvents()}_addOutgoingEvent(i){for(let a=0,_=this._outgoingEvents.length;a<_;a++)if(this._outgoingEvents[a].kind===i.kind)return void(this._outgoingEvents[a]=this._outgoingEvents[a].merge(i));this._outgoingEvents.push(i)}_emitOugoingEvents(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;let i=this._outgoingEvents.shift();i.isNoOp()||this._onEvent.fire(i)}}addViewEventHandler(i){for(let a=0,_=this._eventHandlers.length;a<_;a++)this._eventHandlers[a]===i&&console.warn("Detected duplicate listener in ViewEventDispatcher",i);this._eventHandlers.push(i)}removeViewEventHandler(i){for(let a=0;a<this._eventHandlers.length;a++)if(this._eventHandlers[a]===i){this._eventHandlers.splice(a,1);break}}beginEmitViewEvents(){return this._collectorCnt++,this._collectorCnt===1&&(this._collector=new Br),this._collector}endEmitViewEvents(){if(this._collectorCnt--,this._collectorCnt===0){let i=this._collector.outgoingEvents,a=this._collector.viewEvents;this._collector=null;for(let _ of i)this._addOutgoingEvent(_);a.length>0&&this._emitMany(a)}this._emitOugoingEvents()}emitSingleViewEvent(i){try{this.beginEmitViewEvents().emitViewEvent(i)}finally{this.endEmitViewEvents()}}_emitMany(i){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(i):this._viewEventQueue=i,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){let i=this._viewEventQueue;this._viewEventQueue=null;let a=this._eventHandlers.slice(0);for(let _ of a)_.handleEvents(i)}}}class Br{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(i){this.viewEvents.push(i)}emitOutgoingEvent(i){this.outgoingEvents.push(i)}}class Kn{constructor(i,a,_,R){this.kind=0,this._oldContentWidth=i,this._oldContentHeight=a,this.contentWidth=_,this.contentHeight=R,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(i){return i.kind!==0?this:new Kn(this._oldContentWidth,this._oldContentHeight,i.contentWidth,i.contentHeight)}}class cr{constructor(i,a){this.kind=1,this.oldHasFocus=i,this.hasFocus=a}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(i){return i.kind!==1?this:new cr(this.oldHasFocus,i.hasFocus)}}class Eo{constructor(i,a,_,R,K,we,Pe,Ve){this.kind=2,this._oldScrollWidth=i,this._oldScrollLeft=a,this._oldScrollHeight=_,this._oldScrollTop=R,this.scrollWidth=K,this.scrollLeft=we,this.scrollHeight=Pe,this.scrollTop=Ve,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!(this.scrollWidthChanged||this.scrollLeftChanged||this.scrollHeightChanged||this.scrollTopChanged)}merge(i){return i.kind!==2?this:new Eo(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,i.scrollWidth,i.scrollLeft,i.scrollHeight,i.scrollTop)}}class Lr{constructor(){this.kind=3}isNoOp(){return!1}merge(i){return this}}class jr{constructor(i,a,_,R,K,we,Pe){this.kind=5,this.oldSelections=i,this.selections=a,this.oldModelVersionId=_,this.modelVersionId=R,this.source=K,this.reason=we,this.reachedMaxCursorCount=Pe}static _selectionsAreEqual(i,a){if(!i&&!a)return!0;if(!i||!a)return!1;let _=i.length;if(_!==a.length)return!1;for(let R=0;R<_;R++)if(!i[R].equalsSelection(a[R]))return!1;return!0}isNoOp(){return jr._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(i){return i.kind!==5?this:new jr(this.oldSelections,i.selections,this.oldModelVersionId,i.modelVersionId,i.source,i.reason,this.reachedMaxCursorCount||i.reachedMaxCursorCount)}}class Ko{constructor(){this.kind=4}isNoOp(){return!1}merge(i){return this}}class Cn{constructor(i,a){this.modelVersionId=i.getVersionId(),this.cursorState=a.getCursorStates()}equals(i){if(!i||this.modelVersionId!==i.modelVersionId||this.cursorState.length!==i.cursorState.length)return!1;for(let a=0,_=this.cursorState.length;a<_;a++)if(!this.cursorState[a].equals(i.cursorState[a]))return!1;return!0}}class Oo{constructor(i,a,_){this._model=i,this._autoClosedCharactersDecorations=a,this._autoClosedEnclosingDecorations=_}static getAllAutoClosedCharacters(i){let a=[];for(let _ of i)a=a.concat(_.getAutoClosedCharactersRanges());return a}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){let i=[];for(let a=0;a<this._autoClosedCharactersDecorations.length;a++){let _=this._model.getDecorationRange(this._autoClosedCharactersDecorations[a]);_&&i.push(_)}return i}isValid(i){let a=[];for(let _=0;_<this._autoClosedEnclosingDecorations.length;_++){let R=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[_]);if(R&&(a.push(R),R.startLineNumber!==R.endLineNumber))return!1}a.sort(Nt.a.compareRangesUsingStarts),i.sort(Nt.a.compareRangesUsingStarts);for(let _=0;_<i.length;_++)if(_>=a.length||!a[_].strictContainsRange(i[_]))return!1;return!0}}class Do extends E.a{constructor(i,a,_,R){super(),this._model=i,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=a,this._coordinatesConverter=_,this.context=new _i.c(this._model,this._coordinatesConverter,R),this._cursors=new Sn(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=Object(E.f)(this._autoClosedActions),super.dispose()}updateConfiguration(i){this.context=new _i.c(this._model,this._coordinatesConverter,i),this._cursors.updateContext(this.context)}onLineMappingChanged(i){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(i,"viewModel",0,this.getCursorStates())}setHasFocus(i){this._hasFocus=i}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){let i=this._cursors.getSelections();for(let a=0;a<this._autoClosedActions.length;a++){let _=this._autoClosedActions[a];_.isValid(i)||(_.dispose(),this._autoClosedActions.splice(a,1),a--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(i,a,_,R){let K=!1;R!==null&&R.length>Do.MAX_CURSOR_COUNT&&(R=R.slice(0,Do.MAX_CURSOR_COUNT),K=!0);let we=new Cn(this._model,this);return this._cursors.setStates(R),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(i,a,_,we,K)}setCursorColumnSelectData(i){this._columnSelectData=i}revealPrimary(i,a,_,R){let K=this._cursors.getViewPositions();if(K.length>1)this._emitCursorRevealRange(i,a,null,this._cursors.getViewSelections(),0,_,R);else{let we=K[0],Pe=new Nt.a(we.lineNumber,we.column,we.lineNumber,we.column);this._emitCursorRevealRange(i,a,Pe,null,0,_,R)}}_revealPrimaryCursor(i,a,_,R,K){let we=this._cursors.getViewPositions();if(we.length>1)this._emitCursorRevealRange(i,a,null,this._cursors.getViewSelections(),_,R,K);else{let Pe=we[0],Ve=new Nt.a(Pe.lineNumber,Pe.column,Pe.lineNumber,Pe.column);this._emitCursorRevealRange(i,a,Ve,null,_,R,K)}}_emitCursorRevealRange(i,a,_,R,K,we,Pe){i.emitViewEvent(new po(a,_,R,K,we,Pe))}saveState(){let i=[],a=this._cursors.getSelections();for(let _=0,R=a.length;_<R;_++){let K=a[_];i.push({inSelectionMode:!K.isEmpty(),selectionStart:{lineNumber:K.selectionStartLineNumber,column:K.selectionStartColumn},position:{lineNumber:K.positionLineNumber,column:K.positionColumn}})}return i}restoreState(i,a){let _=[];for(let R=0,K=a.length;R<K;R++){let we=a[R],Pe=1,Ve=1;we.position&&we.position.lineNumber&&(Pe=we.position.lineNumber),we.position&&we.position.column&&(Ve=we.position.column);let Je=Pe,at=Ve;we.selectionStart&&we.selectionStart.lineNumber&&(Je=we.selectionStart.lineNumber),we.selectionStart&&we.selectionStart.column&&(at=we.selectionStart.column),_.push({selectionStartLineNumber:Je,selectionStartColumn:at,positionLineNumber:Pe,positionColumn:Ve})}this.setStates(i,"restoreState",0,_i.d.fromModelSelections(_)),this.revealPrimary(i,"restoreState",!0,1)}onModelContentChanged(i,a){if(this._knownModelVersionId=a.versionId,this._isHandling)return;let _=a.containsEvent(1);if(this._prevEditOperationType=0,_)this._cursors.dispose(),this._cursors=new Sn(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(i,"model",1,null,!1);else if(this._hasFocus&&a.resultingSelection&&a.resultingSelection.length>0){let R=_i.d.fromModelSelections(a.resultingSelection);this.setStates(i,"modelChange",a.isUndoing?5:a.isRedoing?6:2,R)&&this._revealPrimaryCursor(i,"modelChange",0,!0,0)}else{let R=this._cursors.readSelectionFromMarkers();this.setStates(i,"modelChange",2,_i.d.fromModelSelections(R))}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;let i=this._cursors.getPrimaryCursor(),a=i.viewState.selectionStart.getStartPosition(),_=i.viewState.position;return{isReal:!1,fromViewLineNumber:a.lineNumber,fromViewVisualColumn:_i.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,a),toViewLineNumber:_.lineNumber,toViewVisualColumn:_i.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,_)}}getSelections(){return this._cursors.getSelections()}setSelections(i,a,_){this.setStates(i,a,0,_i.d.fromModelSelections(_))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(i){this._prevEditOperationType=i}_pushAutoClosedAction(i,a){let _=[],R=[];for(let Pe=0,Ve=i.length;Pe<Ve;Pe++)_.push({range:i[Pe],options:{inlineClassName:"auto-closed-character",stickiness:1}}),R.push({range:a[Pe],options:{stickiness:1}});let K=this._model.deltaDecorations([],_),we=this._model.deltaDecorations([],R);this._autoClosedActions.push(new Oo(this._model,K,we))}_executeEditOperation(i){if(!i)return;i.shouldPushStackElementBefore&&this._model.pushStackElement();let a=class{static executeCommands(_,R,K){let we={model:_,selectionsBefore:R,trackedRanges:[],trackedRangesDirection:[]},Pe=this._innerExecuteCommands(we,K);for(let Ve=0,Je=we.trackedRanges.length;Ve<Je;Ve++)we.model._setTrackedRange(we.trackedRanges[Ve],null,0);return Pe}static _innerExecuteCommands(_,R){if(this._arrayIsEmpty(R))return null;let K=this._getEditOperations(_,R);if(K.operations.length===0)return null;let we=K.operations,Pe=this._getLoserCursorMap(we);if(Pe.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;let Ve=[];for(let bt=0,Bt=we.length;bt<Bt;bt++)Pe.hasOwnProperty(we[bt].identifier.major.toString())||Ve.push(we[bt]);K.hadTrackedEditOperation&&Ve.length>0&&(Ve[0]._isTracked=!0);let Je=_.model.pushEditOperations(_.selectionsBefore,Ve,bt=>{let Bt=[];for(let Ci=0;Ci<_.selectionsBefore.length;Ci++)Bt[Ci]=[];for(let Ci of bt)Ci.identifier&&Bt[Ci.identifier.major].push(Ci);let Pt=(Ci,Vi)=>Ci.identifier.minor-Vi.identifier.minor,ni=[];for(let Ci=0;Ci<_.selectionsBefore.length;Ci++)Bt[Ci].length>0?(Bt[Ci].sort(Pt),ni[Ci]=R[Ci].computeCursorState(_.model,{getInverseEditOperations:()=>Bt[Ci],getTrackedSelection:Vi=>{let Mi=parseInt(Vi,10),zi=_.model._getTrackedRange(_.trackedRanges[Mi]);return _.trackedRangesDirection[Mi]===0?new C.a(zi.startLineNumber,zi.startColumn,zi.endLineNumber,zi.endColumn):new C.a(zi.endLineNumber,zi.endColumn,zi.startLineNumber,zi.startColumn)}})):ni[Ci]=_.selectionsBefore[Ci];return ni});Je||(Je=_.selectionsBefore);let at=[];for(let bt in Pe)Pe.hasOwnProperty(bt)&&at.push(parseInt(bt,10));at.sort((bt,Bt)=>Bt-bt);for(let bt of at)Je.splice(bt,1);return Je}static _arrayIsEmpty(_){for(let R=0,K=_.length;R<K;R++)if(_[R])return!1;return!0}static _getEditOperations(_,R){let K=[],we=!1;for(let Pe=0,Ve=R.length;Pe<Ve;Pe++){let Je=R[Pe];if(Je){let at=this._getEditOperationsFromCommand(_,Pe,Je);K=K.concat(at.operations),we=we||at.hadTrackedEditOperation}}return{operations:K,hadTrackedEditOperation:we}}static _getEditOperationsFromCommand(_,R,K){let we=[],Pe=0,Ve=(bt,Bt,Pt=!1)=>{Nt.a.isEmpty(bt)&&Bt===""||we.push({identifier:{major:R,minor:Pe++},range:bt,text:Bt,forceMoveMarkers:Pt,isAutoWhitespaceEdit:K.insertsAutoWhitespace})},Je=!1,at={addEditOperation:Ve,addTrackedEditOperation:(bt,Bt,Pt)=>{Je=!0,Ve(bt,Bt,Pt)},trackSelection:(bt,Bt)=>{let Pt=C.a.liftSelection(bt),ni;if(Pt.isEmpty())if(typeof Bt=="boolean")ni=Bt?2:3;else{let Mi=_.model.getLineMaxColumn(Pt.startLineNumber);ni=Pt.startColumn===Mi?2:3}else ni=1;let Ci=_.trackedRanges.length,Vi=_.model._setTrackedRange(null,Pt,ni);return _.trackedRanges[Ci]=Vi,_.trackedRangesDirection[Ci]=Pt.getDirection(),Ci.toString()}};try{K.getEditOperations(_.model,at)}catch(bt){return Object(D.e)(bt),{operations:[],hadTrackedEditOperation:!1}}return{operations:we,hadTrackedEditOperation:Je}}static _getLoserCursorMap(_){(_=_.slice(0)).sort((K,we)=>-Nt.a.compareRangesUsingEnds(K.range,we.range));let R={};for(let K=1;K<_.length;K++){let we=_[K-1],Pe=_[K];if(Nt.a.getStartPosition(we.range).isBefore(Nt.a.getEndPosition(Pe.range))){let Ve;Ve=we.identifier.major>Pe.identifier.major?we.identifier.major:Pe.identifier.major,R[Ve.toString()]=!0;for(let Je=0;Je<_.length;Je++)_[Je].identifier.major===Ve&&(_.splice(Je,1),Je<K&&K--,Je--);K>0&&K--}}return R}}.executeCommands(this._model,this._cursors.getSelections(),i.commands);if(a){this._interpretCommandResult(a);let _=[],R=[];for(let K=0;K<i.commands.length;K++){let we=i.commands[K];we instanceof Xn.b&&we.enclosingRange&&we.closeCharacterRange&&(_.push(we.closeCharacterRange),R.push(we.enclosingRange))}_.length>0&&this._pushAutoClosedAction(_,R),this._prevEditOperationType=i.type}i.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(i){i&&i.length!==0||(i=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(i),this._cursors.normalize()}_emitStateChangedIfNecessary(i,a,_,R,K){let we=new Cn(this._model,this);if(we.equals(R))return!1;let Pe=this._cursors.getSelections(),Ve=this._cursors.getViewSelections();if(i.emitViewEvent(new Io(Ve,Pe)),!R||R.cursorState.length!==we.cursorState.length||we.cursorState.some((Je,at)=>!Je.modelState.equals(R.cursorState[at].modelState))){let Je=R?R.cursorState.map(bt=>bt.modelState.selection):null,at=R?R.modelVersionId:0;i.emitOutgoingEvent(new jr(Je,Pe,at,we.modelVersionId,a||"keyboard",_,K))}return!0}_findAutoClosingPairs(i){if(!i.length)return null;let a=[];for(let _=0,R=i.length;_<R;_++){let K=i[_];if(!K.text||K.text.indexOf(` +`)>=0)return null;let we=K.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!we)return null;let Pe=we[1],Ve=this.context.cursorConfig.autoClosingPairsClose2.get(Pe);if(!Ve||Ve.length!==1)return null;let Je=Ve[0].open,at=K.text.length-we[2].length-1,bt=K.text.lastIndexOf(Je,at-1);if(bt===-1)return null;a.push([bt,at])}return a}executeEdits(i,a,_,R){let K=null;a==="snippet"&&(K=this._findAutoClosingPairs(_)),K&&(_[0]._isTracked=!0);let we=[],Pe=[],Ve=this._model.pushEditOperations(this.getSelections(),_,Je=>{if(K)for(let bt=0,Bt=K.length;bt<Bt;bt++){let[Pt,ni]=K[bt],Ci=Je[bt],Vi=Ci.range.startLineNumber,Mi=Ci.range.startColumn-1+Pt,zi=Ci.range.startColumn-1+ni;we.push(new Nt.a(Vi,zi+1,Vi,zi+2)),Pe.push(new Nt.a(Vi,Mi+1,Vi,zi+2))}let at=R(Je);return at&&(this._isHandling=!0),at});Ve&&(this._isHandling=!1,this.setSelections(i,a,Ve)),we.length>0&&this._pushAutoClosedAction(we,Pe)}_executeEdit(i,a,_,R=0){if(this.context.cursorConfig.readOnly)return;let K=new Cn(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),i()}catch(we){Object(D.e)(we)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(a,_,R,K,!1)&&this._revealPrimaryCursor(a,_,0,!0,0)}setIsDoingComposition(i){this._isDoingComposition=i}startComposition(i){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(i,a){this._executeEdit(()=>{if(a==="keyboard"){let _=Oo.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(Xn.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),_)),this._selectionsWhenCompositionStarted=null}},i,a)}type(i,a,_){this._executeEdit(()=>{if(_==="keyboard"){let R=a.length,K=0;for(;K<R;){let we=_t.L(a,K),Pe=a.substr(K,we),Ve=Oo.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(Xn.a.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),Ve,Pe)),K+=we}}else this._executeEditOperation(Xn.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),a))},i,_)}replacePreviousChar(i,a,_,R){this._executeEdit(()=>{this._executeEditOperation(Xn.a.replacePreviousChar(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),a,_))},i,R)}paste(i,a,_,R,K){this._executeEdit(()=>{this._executeEditOperation(Xn.a.paste(this.context.cursorConfig,this._model,this.getSelections(),a,_,R||[]))},i,K,4)}cut(i,a){this._executeEdit(()=>{this._executeEditOperation(En.a.cut(this.context.cursorConfig,this._model,this.getSelections()))},i,a)}executeCommand(i,a,_){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new _i.e(0,[a],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},i,_)}executeCommands(i,a,_){this._executeEdit(()=>{this._executeEditOperation(new _i.e(0,a,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},i,_)}}Do.MAX_CURSOR_COUNT=1e4;var fr=o(191),zn=o(143),eo=o(7),br=o(182),va=o(170);class es{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(i){this._hasPending=!0,this._inserts.push(i)}change(i){this._hasPending=!0,this._changes.push(i)}remove(i){this._hasPending=!0,this._removes.push(i)}mustCommit(){return this._hasPending}commit(i){if(!this._hasPending)return;let a=this._inserts,_=this._changes,R=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],i._commitPendingChanges(a,_,R)}}class Vr{constructor(i,a,_,R,K){this.id=i,this.afterLineNumber=a,this.ordinal=_,this.height=R,this.minWidth=K,this.prefixSum=0}}class Nr{constructor(i,a,_,R){this._instanceId=_t.R(++Nr.INSTANCE_COUNT),this._pendingChanges=new es,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=i,this._lineHeight=a,this._paddingTop=_,this._paddingBottom=R}static findInsertionIndex(i,a,_){let R=0,K=i.length;for(;R<K;){let we=R+K>>>1;a===i[we].afterLineNumber?_<i[we].ordinal?K=we:R=we+1:a<i[we].afterLineNumber?K=we:R=we+1}return R}setLineHeight(i){this._checkPendingChanges(),this._lineHeight=i}setPadding(i,a){this._paddingTop=i,this._paddingBottom=a}onFlushed(i){this._checkPendingChanges(),this._lineCount=i}changeWhitespace(i){let a=!1;try{i({insertWhitespace:(_,R,K,we)=>{a=!0,_|=0,R|=0,K|=0,we|=0;let Pe=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Vr(Pe,_,R,K,we)),Pe},changeOneWhitespace:(_,R,K)=>{a=!0,R|=0,K|=0,this._pendingChanges.change({id:_,newAfterLineNumber:R,newHeight:K})},removeWhitespace:_=>{a=!0,this._pendingChanges.remove({id:_})}})}finally{this._pendingChanges.commit(this)}return a}_commitPendingChanges(i,a,_){if((i.length>0||_.length>0)&&(this._minWidth=-1),i.length+a.length+_.length<=1){for(let Ve of i)this._insertWhitespace(Ve);for(let Ve of a)this._changeOneWhitespace(Ve.id,Ve.newAfterLineNumber,Ve.newHeight);for(let Ve of _){let Je=this._findWhitespaceIndex(Ve.id);Je!==-1&&this._removeWhitespace(Je)}return}let R=new Set;for(let Ve of _)R.add(Ve.id);let K=new Map;for(let Ve of a)K.set(Ve.id,Ve);let we=Ve=>{let Je=[];for(let at of Ve)if(!R.has(at.id)){if(K.has(at.id)){let bt=K.get(at.id);at.afterLineNumber=bt.newAfterLineNumber,at.height=bt.newHeight}Je.push(at)}return Je},Pe=we(this._arr).concat(we(i));Pe.sort((Ve,Je)=>Ve.afterLineNumber===Je.afterLineNumber?Ve.ordinal-Je.ordinal:Ve.afterLineNumber-Je.afterLineNumber),this._arr=Pe,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(i){let a=Nr.findInsertionIndex(this._arr,i.afterLineNumber,i.ordinal);this._arr.splice(a,0,i),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,a-1)}_findWhitespaceIndex(i){let a=this._arr;for(let _=0,R=a.length;_<R;_++)if(a[_].id===i)return _;return-1}_changeOneWhitespace(i,a,_){let R=this._findWhitespaceIndex(i);if(R!==-1&&(this._arr[R].height!==_&&(this._arr[R].height=_,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,R-1)),this._arr[R].afterLineNumber!==a)){let K=this._arr[R];this._removeWhitespace(R),K.afterLineNumber=a,this._insertWhitespace(K)}}_removeWhitespace(i){this._arr.splice(i,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)}onLinesDeleted(i,a){this._checkPendingChanges(),i|=0,a|=0,this._lineCount-=a-i+1;for(let _=0,R=this._arr.length;_<R;_++){let K=this._arr[_].afterLineNumber;i<=K&&K<=a?this._arr[_].afterLineNumber=i-1:K>a&&(this._arr[_].afterLineNumber-=a-i+1)}}onLinesInserted(i,a){this._checkPendingChanges(),i|=0,a|=0,this._lineCount+=a-i+1;for(let _=0,R=this._arr.length;_<R;_++)i<=this._arr[_].afterLineNumber&&(this._arr[_].afterLineNumber+=a-i+1)}getWhitespacesTotalHeight(){return this._checkPendingChanges(),this._arr.length===0?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(i){this._checkPendingChanges(),i|=0;let a=Math.max(0,this._prefixSumValidIndex+1);a===0&&(this._arr[0].prefixSum=this._arr[0].height,a++);for(let _=a;_<=i;_++)this._arr[_].prefixSum=this._arr[_-1].prefixSum+this._arr[_].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,i),this._arr[i].prefixSum}getLinesTotalHeight(){return this._checkPendingChanges(),this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(i){this._checkPendingChanges(),i|=0;let a=this._findLastWhitespaceBeforeLineNumber(i);return a===-1?0:this.getWhitespacesAccumulatedHeight(a)}_findLastWhitespaceBeforeLineNumber(i){i|=0;let a=this._arr,_=0,R=a.length-1;for(;_<=R;){let K=_+((R-_|0)/2|0)|0;if(a[K].afterLineNumber<i){if(K+1>=a.length||a[K+1].afterLineNumber>=i)return K;_=K+1|0}else R=K-1|0}return-1}_findFirstWhitespaceAfterLineNumber(i){i|=0;let a=this._findLastWhitespaceBeforeLineNumber(i)+1;return a<this._arr.length?a:-1}getFirstWhitespaceIndexAfterLineNumber(i){return this._checkPendingChanges(),i|=0,this._findFirstWhitespaceAfterLineNumber(i)}getVerticalOffsetForLineNumber(i){let a;return this._checkPendingChanges(),a=(i|=0)>1?this._lineHeight*(i-1):0,a+this.getWhitespaceAccumulatedHeightBeforeLineNumber(i)+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let i=0;for(let a=0,_=this._arr.length;a<_;a++)i=Math.max(i,this._arr[a].minWidth);this._minWidth=i}return this._minWidth}isAfterLines(i){return this._checkPendingChanges(),i>this.getLinesTotalHeight()}getLineNumberAtOrAfterVerticalOffset(i){if(this._checkPendingChanges(),(i|=0)<0)return 1;let a=0|this._lineCount,_=this._lineHeight,R=1,K=a;for(;R<K;){let we=(R+K)/2|0,Pe=0|this.getVerticalOffsetForLineNumber(we);if(i>=Pe+_)R=we+1;else{if(i>=Pe)return we;K=we}}return R>a?a:R}getLinesViewportData(i,a){this._checkPendingChanges(),i|=0,a|=0;let _=this._lineHeight,R=0|this.getLineNumberAtOrAfterVerticalOffset(i),K=0|this.getVerticalOffsetForLineNumber(R),we=0|this._lineCount,Pe=0|this.getFirstWhitespaceIndexAfterLineNumber(R),Ve=0|this.getWhitespacesCount(),Je,at;Pe===-1?(Pe=Ve,at=we+1,Je=0):(at=0|this.getAfterLineNumberForWhitespaceIndex(Pe),Je=0|this.getHeightForWhitespaceIndex(Pe));let bt=K,Bt=bt,Pt=0;K>=5e5&&(Pt=5e5*Math.floor(K/5e5),Pt=Math.floor(Pt/_)*_,Bt-=Pt);let ni=[],Ci=i+(a-i)/2,Vi=-1;for(let Gi=R;Gi<=we;Gi++){if(Vi===-1){let wn=bt,nn=bt+_;(wn<=Ci&&Ci<nn||wn>Ci)&&(Vi=Gi)}for(bt+=_,ni[Gi-R]=Bt,Bt+=_;at===Gi;)Bt+=Je,bt+=Je,Pe++,Pe>=Ve?at=we+1:(at=0|this.getAfterLineNumberForWhitespaceIndex(Pe),Je=0|this.getHeightForWhitespaceIndex(Pe));if(bt>=a){we=Gi;break}}Vi===-1&&(Vi=we);let Mi=0|this.getVerticalOffsetForLineNumber(we),zi=R,Yi=we;return zi<Yi&&K<i&&zi++,zi<Yi&&Mi+_>a&&Yi--,{bigNumbersDelta:Pt,startLineNumber:R,endLineNumber:we,relativeVerticalOffset:ni,centeredLineNumber:Vi,completelyVisibleStartLineNumber:zi,completelyVisibleEndLineNumber:Yi}}getVerticalOffsetForWhitespaceIndex(i){this._checkPendingChanges(),i|=0;let a=this.getAfterLineNumberForWhitespaceIndex(i),_,R;return _=a>=1?this._lineHeight*a:0,R=i>0?this.getWhitespacesAccumulatedHeight(i-1):0,_+R+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(i){this._checkPendingChanges(),i|=0;let a=0,_=this.getWhitespacesCount()-1;if(_<0||i>=this.getVerticalOffsetForWhitespaceIndex(_)+this.getHeightForWhitespaceIndex(_))return-1;for(;a<_;){let R=Math.floor((a+_)/2),K=this.getVerticalOffsetForWhitespaceIndex(R);if(i>=K+this.getHeightForWhitespaceIndex(R))a=R+1;else{if(i>=K)return R;_=R}}return a}getWhitespaceAtVerticalOffset(i){this._checkPendingChanges(),i|=0;let a=this.getWhitespaceIndexAtOrAfterVerticallOffset(i);if(a<0||a>=this.getWhitespacesCount())return null;let _=this.getVerticalOffsetForWhitespaceIndex(a);if(_>i)return null;let R=this.getHeightForWhitespaceIndex(a);return{id:this.getIdForWhitespaceIndex(a),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(a),verticalOffset:_,height:R}}getWhitespaceViewportData(i,a){this._checkPendingChanges(),i|=0,a|=0;let _=this.getWhitespaceIndexAtOrAfterVerticallOffset(i),R=this.getWhitespacesCount()-1;if(_<0)return[];let K=[];for(let we=_;we<=R;we++){let Pe=this.getVerticalOffsetForWhitespaceIndex(we),Ve=this.getHeightForWhitespaceIndex(we);if(Pe>=a)break;K.push({id:this.getIdForWhitespaceIndex(we),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(we),verticalOffset:Pe,height:Ve})}return K}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(i){return this._checkPendingChanges(),i|=0,this._arr[i].id}getAfterLineNumberForWhitespaceIndex(i){return this._checkPendingChanges(),i|=0,this._arr[i].afterLineNumber}getHeightForWhitespaceIndex(i){return this._checkPendingChanges(),i|=0,this._arr[i].height}}Nr.INSTANCE_COUNT=0;class ts{constructor(i,a,_,R){(i|=0)<0&&(i=0),(a|=0)<0&&(a=0),(_|=0)<0&&(_=0),(R|=0)<0&&(R=0),this.width=i,this.contentWidth=a,this.scrollWidth=Math.max(i,a),this.height=_,this.contentHeight=R,this.scrollHeight=Math.max(_,R)}equals(i){return this.width===i.width&&this.contentWidth===i.contentWidth&&this.height===i.height&&this.contentHeight===i.contentHeight}}class na extends E.a{constructor(i,a){super(),this._onDidContentSizeChange=this._register(new H.a),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new ts(0,0,0,0),this._scrollable=this._register(new va.a(i,a)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(i){this._scrollable.setSmoothScrollDuration(i)}validateScrollPosition(i){return this._scrollable.validateScrollPosition(i)}getScrollDimensions(){return this._dimensions}setScrollDimensions(i){if(this._dimensions.equals(i))return;let a=this._dimensions;this._dimensions=i,this._scrollable.setScrollDimensions({width:i.width,scrollWidth:i.scrollWidth,height:i.height,scrollHeight:i.scrollHeight},!0);let _=a.contentWidth!==i.contentWidth,R=a.contentHeight!==i.contentHeight;(_||R)&&this._onDidContentSizeChange.fire(new Kn(a.contentWidth,a.contentHeight,i.contentWidth,i.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(i){this._scrollable.setScrollPositionNow(i)}setScrollPositionSmooth(i){this._scrollable.setScrollPositionSmooth(i)}}class is extends E.a{constructor(i,a,_){super(),this._configuration=i;let R=this._configuration.options,K=R.get(117),we=R.get(66);this._linesLayout=new Nr(a,R.get(51),we.top,we.bottom),this._scrollable=this._register(new na(0,_)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new ts(K.contentWidth,0,K.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(94)?125:0)}onConfigurationChanged(i){let a=this._configuration.options;if(i.hasChanged(51)&&this._linesLayout.setLineHeight(a.get(51)),i.hasChanged(66)){let _=a.get(66);this._linesLayout.setPadding(_.top,_.bottom)}if(i.hasChanged(117)){let _=a.get(117),R=_.contentWidth,K=_.height,we=this._scrollable.getScrollDimensions(),Pe=we.contentWidth;this._scrollable.setScrollDimensions(new ts(R,we.contentWidth,K,this._getContentHeight(R,K,Pe)))}else this._updateHeight();i.hasChanged(94)&&this._configureSmoothScrollDuration()}onFlushed(i){this._linesLayout.onFlushed(i)}onLinesDeleted(i,a){this._linesLayout.onLinesDeleted(i,a)}onLinesInserted(i,a){this._linesLayout.onLinesInserted(i,a)}_getHorizontalScrollbarHeight(i,a){let _=this._configuration.options.get(84);return _.horizontal===2||i>=a?0:_.horizontalScrollbarSize}_getContentHeight(i,a,_){let R=this._configuration.options,K=this._linesLayout.getLinesTotalHeight();return R.get(86)?K+=a-R.get(51):K+=this._getHorizontalScrollbarHeight(i,_),K}_updateHeight(){let i=this._scrollable.getScrollDimensions(),a=i.width,_=i.height,R=i.contentWidth;this._scrollable.setScrollDimensions(new ts(a,i.contentWidth,_,this._getContentHeight(a,_,R)))}getCurrentViewport(){let i=this._scrollable.getScrollDimensions(),a=this._scrollable.getCurrentScrollPosition();return new Ge.f(a.scrollTop,a.scrollLeft,i.width,i.height)}getFutureViewport(){let i=this._scrollable.getScrollDimensions(),a=this._scrollable.getFutureScrollPosition();return new Ge.f(a.scrollTop,a.scrollLeft,i.width,i.height)}_computeContentWidth(i){let a=this._configuration.options,_=a.get(118),R=a.get(36);if(_.isViewportWrapping){let K=a.get(117),we=a.get(56);return i>K.contentWidth+R.typicalHalfwidthCharacterWidth&&we.enabled&&we.side==="right"?i+K.verticalScrollbarWidth:i}{let K=a.get(85)*R.typicalHalfwidthCharacterWidth,we=this._linesLayout.getWhitespaceMinWidth();return Math.max(i+K,we)}}setMaxLineWidth(i){let a=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new ts(a.width,this._computeContentWidth(i),a.height,a.contentHeight)),this._updateHeight()}saveState(){let i=this._scrollable.getFutureScrollPosition(),a=i.scrollTop,_=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(a);return{scrollTop:a,scrollTopWithoutViewZones:a-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(_),scrollLeft:i.scrollLeft}}changeWhitespace(i){let a=this._linesLayout.changeWhitespace(i);return a&&this.onHeightMaybeChanged(),a}getVerticalOffsetForLineNumber(i){return this._linesLayout.getVerticalOffsetForLineNumber(i)}isAfterLines(i){return this._linesLayout.isAfterLines(i)}getLineNumberAtVerticalOffset(i){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(i)}getWhitespaceAtVerticalOffset(i){return this._linesLayout.getWhitespaceAtVerticalOffset(i)}getLinesViewportData(){let i=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(i.top,i.top+i.height)}getLinesViewportDataAtScrollTop(i){let a=this._scrollable.getScrollDimensions();return i+a.height>a.scrollHeight&&(i=a.scrollHeight-a.height),i<0&&(i=0),this._linesLayout.getLinesViewportData(i,i+a.height)}getWhitespaceViewportData(){let i=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(i.top,i.top+i.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(i){return this._scrollable.validateScrollPosition(i)}setScrollPosition(i,a){a===1?this._scrollable.setScrollPositionNow(i):this._scrollable.setScrollPositionSmooth(i)}deltaScrollNow(i,a){let _=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:_.scrollLeft+i,scrollTop:_.scrollTop+a})}}var Ur=o(30),cs=o(101);class dr{constructor(i,a){this.outputLineIndex=i,this.outputOffset=a}}class nr{constructor(i,a,_){this.breakOffsets=i,this.breakOffsetsVisibleColumn=a,this.wrappedTextIndentLength=_}static getInputOffsetOfOutputPosition(i,a,_){return a===0?_:i[a-1]+_}static getOutputPositionOfInputOffset(i,a){let _=0,R=i.length-1,K=0,we=0;for(;_<=R;){K=_+(R-_)/2|0;let Pe=i[K];if(we=K>0?i[K-1]:0,a<we)R=K-1;else{if(!(a>=Pe))break;_=K+1}}return new dr(K,a-we)}}class _r{constructor(i){this._lines=i}convertViewPositionToModelPosition(i){return this._lines.convertViewPositionToModelPosition(i.lineNumber,i.column)}convertViewRangeToModelRange(i){return this._lines.convertViewRangeToModelRange(i)}validateViewPosition(i,a){return this._lines.validateViewPosition(i.lineNumber,i.column,a)}validateViewRange(i,a){return this._lines.validateViewRange(i,a)}convertModelPositionToViewPosition(i){return this._lines.convertModelPositionToViewPosition(i.lineNumber,i.column)}convertModelRangeToViewRange(i){return this._lines.convertModelRangeToViewRange(i)}modelPositionIsVisible(i){return this._lines.modelPositionIsVisible(i.lineNumber,i.column)}}class wa{constructor(i){this._counts=i,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(i){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,i-1)}_ensureValid(){if(!this._isValid){for(let i=this._validEndIndex+1,a=this._counts.length;i<a;i++){let _=this._counts[i],R=i>0?this._modelToView[i-1]:0;this._modelToView[i]=R+_;for(let K=0;K<_;K++)this._viewToModel[R+K]=i}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}}changeValue(i,a){this._counts[i]!==a&&(this._counts[i]=a,this._invalidate(i))}removeValues(i,a){this._counts.splice(i,a),this._invalidate(i)}insertValues(i,a){this._counts=ho.a(this._counts,i,a),this._invalidate(i)}getTotalValue(){return this._ensureValid(),this._viewToModel.length}getAccumulatedValue(i){return this._ensureValid(),this._modelToView[i]}getIndexOf(i){this._ensureValid();let a=this._viewToModel[i],_=a>0?this._modelToView[a-1]:0;return new cs.b(a,i-_)}}class zo{constructor(i,a,_,R,K,we,Pe,Ve){this.model=i,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=a,this._monospaceLineBreaksComputerFactory=_,this.fontInfo=R,this.tabSize=K,this.wrappingStrategy=we,this.wrappingColumn=Pe,this.wrappingIndent=Ve,this._constructLines(!0,null)}dispose(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])}createCoordinatesConverter(){return new _r(this)}_constructLines(i,a){this.lines=[],i&&(this.hiddenAreasIds=[]);let _=this.model.getLinesContent(),R=_.length,K=this.createLineBreaksComputer();for(let Pt=0;Pt<R;Pt++)K.addRequest(_[Pt],a?a[Pt]:null);let we=K.finalize(),Pe=[],Ve=this.hiddenAreasIds.map(Pt=>this.model.getDecorationRange(Pt)).sort(Nt.a.compareRangesUsingStarts),Je=1,at=0,bt=-1,Bt=bt+1<Ve.length?at+1:R+2;for(let Pt=0;Pt<R;Pt++){let ni=Pt+1;ni===Bt&&(bt++,Je=Ve[bt].startLineNumber,at=Ve[bt].endLineNumber,Bt=bt+1<Ve.length?at+1:R+2);let Ci=ni>=Je&&ni<=at,Vi=wr(we[Pt],!Ci);Pe[Pt]=Vi.getViewLineCount(),this.lines[Pt]=Vi}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new wa(Pe)}getHiddenAreas(){return this.hiddenAreasIds.map(i=>this.model.getDecorationRange(i))}_reduceRanges(i){if(i.length===0)return[];let a=i.map(we=>this.model.validateRange(we)).sort(Nt.a.compareRangesUsingStarts),_=[],R=a[0].startLineNumber,K=a[0].endLineNumber;for(let we=1,Pe=a.length;we<Pe;we++){let Ve=a[we];Ve.startLineNumber>K+1?(_.push(new Nt.a(R,1,K,1)),R=Ve.startLineNumber,K=Ve.endLineNumber):Ve.endLineNumber>K&&(K=Ve.endLineNumber)}return _.push(new Nt.a(R,1,K,1)),_}setHiddenAreas(i){let a=this._reduceRanges(i),_=this.hiddenAreasIds.map(bt=>this.model.getDecorationRange(bt)).sort(Nt.a.compareRangesUsingStarts);if(a.length===_.length){let bt=!1;for(let Bt=0;Bt<a.length;Bt++)if(!a[Bt].equalsRange(_[Bt])){bt=!0;break}if(!bt)return!1}let R=[];for(let bt of a)R.push({range:bt,options:Ur.a.EMPTY});this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,R);let K=a,we=1,Pe=0,Ve=-1,Je=Ve+1<K.length?Pe+1:this.lines.length+2,at=!1;for(let bt=0;bt<this.lines.length;bt++){let Bt=bt+1;Bt===Je&&(Ve++,we=K[Ve].startLineNumber,Pe=K[Ve].endLineNumber,Je=Ve+1<K.length?Pe+1:this.lines.length+2);let Pt=!1;if(Bt>=we&&Bt<=Pe?this.lines[bt].isVisible()&&(this.lines[bt]=this.lines[bt].setVisible(!1),Pt=!0):(at=!0,this.lines[bt].isVisible()||(this.lines[bt]=this.lines[bt].setVisible(!0),Pt=!0)),Pt){let ni=this.lines[bt].getViewLineCount();this.prefixSumComputer.changeValue(bt,ni)}}return at||this.setHiddenAreas([]),!0}modelPositionIsVisible(i,a){return!(i<1||i>this.lines.length)&&this.lines[i-1].isVisible()}setTabSize(i){return this.tabSize!==i&&(this.tabSize=i,this._constructLines(!1,null),!0)}setWrappingSettings(i,a,_,R){let K=this.fontInfo.equals(i),we=this.wrappingStrategy===a,Pe=this.wrappingColumn===_,Ve=this.wrappingIndent===R;if(K&&we&&Pe&&Ve)return!1;let Je=K&&we&&!Pe&&Ve;this.fontInfo=i,this.wrappingStrategy=a,this.wrappingColumn=_,this.wrappingIndent=R;let at=null;if(Je){at=[];for(let bt=0,Bt=this.lines.length;bt<Bt;bt++)at[bt]=this.lines[bt].getLineBreakData()}return this._constructLines(!1,at),!0}createLineBreaksComputer(){return(this.wrappingStrategy==="advanced"?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(i,a,_){if(i<=this._validModelVersionId)return null;let R=a===1?1:this.prefixSumComputer.getAccumulatedValue(a-2)+1,K=this.prefixSumComputer.getAccumulatedValue(_-1);return this.lines.splice(a-1,_-a+1),this.prefixSumComputer.removeValues(a-1,_-a+1),new So(R,K)}onModelLinesInserted(i,a,_,R){if(i<=this._validModelVersionId)return null;let K=this.getHiddenAreas(),we=!1,Pe=new At.a(a,1);for(let Bt of K)if(Bt.containsPosition(Pe)){we=!0;break}let Ve=a===1?1:this.prefixSumComputer.getAccumulatedValue(a-2)+1,Je=0,at=[],bt=[];for(let Bt=0,Pt=R.length;Bt<Pt;Bt++){let ni=wr(R[Bt],!we);at.push(ni);let Ci=ni.getViewLineCount();Je+=Ci,bt[Bt]=Ci}return this.lines=this.lines.slice(0,a-1).concat(at).concat(this.lines.slice(a-1)),this.prefixSumComputer.insertValues(a-1,bt),new ko(Ve,Ve+Je-1)}onModelLineChanged(i,a,_){if(i<=this._validModelVersionId)return[!1,null,null,null];let R=a-1,K=this.lines[R].getViewLineCount(),we=wr(_,this.lines[R].isVisible());this.lines[R]=we;let Pe=this.lines[R].getViewLineCount(),Ve=!1,Je=0,at=-1,bt=0,Bt=-1,Pt=0,ni=-1;return K>Pe?(Je=a===1?1:this.prefixSumComputer.getAccumulatedValue(a-2)+1,at=Je+Pe-1,Pt=at+1,ni=Pt+(K-Pe)-1,Ve=!0):K<Pe?(Je=a===1?1:this.prefixSumComputer.getAccumulatedValue(a-2)+1,at=Je+K-1,bt=at+1,Bt=bt+(Pe-K)-1,Ve=!0):(Je=a===1?1:this.prefixSumComputer.getAccumulatedValue(a-2)+1,at=Je+Pe-1),this.prefixSumComputer.changeValue(R,Pe),[Ve,Je<=at?new Mo(Je,at):null,bt<=Bt?new ko(bt,Bt):null,Pt<=ni?new So(Pt,ni):null]}acceptVersionId(i){this._validModelVersionId=i,this.lines.length!==1||this.lines[0].isVisible()||this.setHiddenAreas([])}getViewLineCount(){return this.prefixSumComputer.getTotalValue()}_toValidViewLineNumber(i){if(i<1)return 1;let a=this.getViewLineCount();return i>a?a:0|i}getActiveIndentGuide(i,a,_){i=this._toValidViewLineNumber(i),a=this._toValidViewLineNumber(a),_=this._toValidViewLineNumber(_);let R=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),K=this.convertViewPositionToModelPosition(a,this.getViewLineMinColumn(a)),we=this.convertViewPositionToModelPosition(_,this.getViewLineMinColumn(_)),Pe=this.model.getActiveIndentGuide(R.lineNumber,K.lineNumber,we.lineNumber),Ve=this.convertModelPositionToViewPosition(Pe.startLineNumber,1),Je=this.convertModelPositionToViewPosition(Pe.endLineNumber,this.model.getLineMaxColumn(Pe.endLineNumber));return{startLineNumber:Ve.lineNumber,endLineNumber:Je.lineNumber,indent:Pe.indent}}getViewLinesIndentGuides(i,a){i=this._toValidViewLineNumber(i),a=this._toValidViewLineNumber(a);let _=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),R=this.convertViewPositionToModelPosition(a,this.getViewLineMaxColumn(a)),K=[],we=[],Pe=[],Ve=_.lineNumber-1,Je=R.lineNumber-1,at=null;for(let ni=Ve;ni<=Je;ni++){let Ci=this.lines[ni];if(Ci.isVisible()){let Vi=Ci.getViewLineNumberOfModelPosition(0,ni===Ve?_.column:1),Mi=Ci.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(ni+1)),zi=Mi-Vi+1,Yi=0;zi>1&&Ci.getViewLineMinColumn(this.model,ni+1,Mi)===1&&(Yi=Vi===0?1:2),we.push(zi),Pe.push(Yi),at===null&&(at=new At.a(ni+1,0))}else at!==null&&(K=K.concat(this.model.getLinesIndentGuides(at.lineNumber,ni)),at=null)}at!==null&&(K=K.concat(this.model.getLinesIndentGuides(at.lineNumber,R.lineNumber)),at=null);let bt=a-i+1,Bt=new Array(bt),Pt=0;for(let ni=0,Ci=K.length;ni<Ci;ni++){let Vi,Mi=K[ni],zi=Math.min(bt-Pt,we[ni]),Yi=Pe[ni];Vi=Yi===2?0:Yi===1?1:zi;for(let Gi=0;Gi<zi;Gi++)Gi===Vi&&(Mi=0),Bt[Pt++]=Mi}return Bt}getViewLineContent(i){i=this._toValidViewLineNumber(i);let a=this.prefixSumComputer.getIndexOf(i-1),_=a.index,R=a.remainder;return this.lines[_].getViewLineContent(this.model,_+1,R)}getViewLineLength(i){i=this._toValidViewLineNumber(i);let a=this.prefixSumComputer.getIndexOf(i-1),_=a.index,R=a.remainder;return this.lines[_].getViewLineLength(this.model,_+1,R)}getViewLineMinColumn(i){i=this._toValidViewLineNumber(i);let a=this.prefixSumComputer.getIndexOf(i-1),_=a.index,R=a.remainder;return this.lines[_].getViewLineMinColumn(this.model,_+1,R)}getViewLineMaxColumn(i){i=this._toValidViewLineNumber(i);let a=this.prefixSumComputer.getIndexOf(i-1),_=a.index,R=a.remainder;return this.lines[_].getViewLineMaxColumn(this.model,_+1,R)}getViewLineData(i){i=this._toValidViewLineNumber(i);let a=this.prefixSumComputer.getIndexOf(i-1),_=a.index,R=a.remainder;return this.lines[_].getViewLineData(this.model,_+1,R)}getViewLinesData(i,a,_){i=this._toValidViewLineNumber(i),a=this._toValidViewLineNumber(a);let R=this.prefixSumComputer.getIndexOf(i-1),K=i,we=R.index,Pe=R.remainder,Ve=[];for(let Je=we,at=this.model.getLineCount();Je<at;Je++){let bt=this.lines[Je];if(!bt.isVisible())continue;let Bt=Je===we?Pe:0,Pt=bt.getViewLineCount()-Bt,ni=!1;K+Pt>a&&(ni=!0,Pt=a-K+1);let Ci=Bt+Pt;if(bt.getViewLinesData(this.model,Je+1,Bt,Ci,K-i,_,Ve),K+=Pt,ni)break}return Ve}validateViewPosition(i,a,_){i=this._toValidViewLineNumber(i);let R=this.prefixSumComputer.getIndexOf(i-1),K=R.index,we=R.remainder,Pe=this.lines[K],Ve=Pe.getViewLineMinColumn(this.model,K+1,we),Je=Pe.getViewLineMaxColumn(this.model,K+1,we);a<Ve&&(a=Ve),a>Je&&(a=Je);let at=Pe.getModelColumnOfViewPosition(we,a);return this.model.validatePosition(new At.a(K+1,at)).equals(_)?new At.a(i,a):this.convertModelPositionToViewPosition(_.lineNumber,_.column)}validateViewRange(i,a){let _=this.validateViewPosition(i.startLineNumber,i.startColumn,a.getStartPosition()),R=this.validateViewPosition(i.endLineNumber,i.endColumn,a.getEndPosition());return new Nt.a(_.lineNumber,_.column,R.lineNumber,R.column)}convertViewPositionToModelPosition(i,a){i=this._toValidViewLineNumber(i);let _=this.prefixSumComputer.getIndexOf(i-1),R=_.index,K=_.remainder,we=this.lines[R].getModelColumnOfViewPosition(K,a);return this.model.validatePosition(new At.a(R+1,we))}convertViewRangeToModelRange(i){let a=this.convertViewPositionToModelPosition(i.startLineNumber,i.startColumn),_=this.convertViewPositionToModelPosition(i.endLineNumber,i.endColumn);return new Nt.a(a.lineNumber,a.column,_.lineNumber,_.column)}convertModelPositionToViewPosition(i,a){let _=this.model.validatePosition(new At.a(i,a)),R=_.lineNumber,K=_.column,we=R-1,Pe=!1;for(;we>0&&!this.lines[we].isVisible();)we--,Pe=!0;if(we===0&&!this.lines[we].isVisible())return new At.a(1,1);let Ve=1+(we===0?0:this.prefixSumComputer.getAccumulatedValue(we-1)),Je;return Je=Pe?this.lines[we].getViewPositionOfModelPosition(Ve,this.model.getLineMaxColumn(we+1)):this.lines[R-1].getViewPositionOfModelPosition(Ve,K),Je}convertModelRangeToViewRange(i){let a=this.convertModelPositionToViewPosition(i.startLineNumber,i.startColumn),_=this.convertModelPositionToViewPosition(i.endLineNumber,i.endColumn);return i.startLineNumber===i.endLineNumber&&a.lineNumber!==_.lineNumber&&_.column===this.getViewLineMinColumn(_.lineNumber)?new Nt.a(a.lineNumber,a.column,_.lineNumber-1,this.getViewLineMaxColumn(_.lineNumber-1)):new Nt.a(a.lineNumber,a.column,_.lineNumber,_.column)}_getViewLineNumberForModelPosition(i,a){let _=i-1;if(this.lines[_].isVisible()){let K=1+(_===0?0:this.prefixSumComputer.getAccumulatedValue(_-1));return this.lines[_].getViewLineNumberOfModelPosition(K,a)}for(;_>0&&!this.lines[_].isVisible();)_--;if(_===0&&!this.lines[_].isVisible())return 1;let R=1+(_===0?0:this.prefixSumComputer.getAccumulatedValue(_-1));return this.lines[_].getViewLineNumberOfModelPosition(R,this.model.getLineMaxColumn(_+1))}getAllOverviewRulerDecorations(i,a,_){let R=this.model.getOverviewRulerDecorations(i,a),K=new or;for(let we of R){let Pe=we.options.overviewRuler,Ve=Pe?Pe.position:0;if(Ve===0)continue;let Je=Pe.getColor(_),at=this._getViewLineNumberForModelPosition(we.range.startLineNumber,we.range.startColumn),bt=this._getViewLineNumberForModelPosition(we.range.endLineNumber,we.range.endColumn);K.accept(Je,at,bt,Ve)}return K.result}getDecorationsInRange(i,a,_){let R=this.convertViewPositionToModelPosition(i.startLineNumber,i.startColumn),K=this.convertViewPositionToModelPosition(i.endLineNumber,i.endColumn);if(K.lineNumber-R.lineNumber<=i.endLineNumber-i.startLineNumber)return this.model.getDecorationsInRange(new Nt.a(R.lineNumber,1,K.lineNumber,K.column),a,_);let we=[],Pe=R.lineNumber-1,Ve=K.lineNumber-1,Je=null;for(let Pt=Pe;Pt<=Ve;Pt++)if(this.lines[Pt].isVisible())Je===null&&(Je=new At.a(Pt+1,Pt===Pe?R.column:1));else if(Je!==null){let ni=this.model.getLineMaxColumn(Pt);we=we.concat(this.model.getDecorationsInRange(new Nt.a(Je.lineNumber,Je.column,Pt,ni),a,_)),Je=null}Je!==null&&(we=we.concat(this.model.getDecorationsInRange(new Nt.a(Je.lineNumber,Je.column,K.lineNumber,K.column),a,_)),Je=null),we.sort((Pt,ni)=>{let Ci=Nt.a.compareRangesUsingStarts(Pt.range,ni.range);return Ci===0?Pt.id<ni.id?-1:Pt.id>ni.id?1:0:Ci});let at=[],bt=0,Bt=null;for(let Pt of we){let ni=Pt.id;Bt!==ni&&(Bt=ni,at[bt++]=Pt)}return at}}class Cs{constructor(){}isVisible(){return!0}setVisible(i){return i?this:Hr.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(i,a,_){return i.getLineContent(a)}getViewLineLength(i,a,_){return i.getLineLength(a)}getViewLineMinColumn(i,a,_){return i.getLineMinColumn(a)}getViewLineMaxColumn(i,a,_){return i.getLineMaxColumn(a)}getViewLineData(i,a,_){let R=i.getLineTokens(a),K=R.getLineContent();return new Ge.c(K,!1,1,K.length+1,0,R.inflate())}getViewLinesData(i,a,_,R,K,we,Pe){we[K]?Pe[K]=this.getViewLineData(i,a,0):Pe[K]=null}getModelColumnOfViewPosition(i,a){return a}getViewPositionOfModelPosition(i,a){return new At.a(i,a)}getViewLineNumberOfModelPosition(i,a){return i}}Cs.INSTANCE=new Cs;class Hr{constructor(){}isVisible(){return!1}setVisible(i){return i?Cs.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(i,a,_){throw new Error("Not supported")}getViewLineLength(i,a,_){throw new Error("Not supported")}getViewLineMinColumn(i,a,_){throw new Error("Not supported")}getViewLineMaxColumn(i,a,_){throw new Error("Not supported")}getViewLineData(i,a,_){throw new Error("Not supported")}getViewLinesData(i,a,_,R,K,we,Pe){throw new Error("Not supported")}getModelColumnOfViewPosition(i,a){throw new Error("Not supported")}getViewPositionOfModelPosition(i,a){throw new Error("Not supported")}getViewLineNumberOfModelPosition(i,a){throw new Error("Not supported")}}Hr.INSTANCE=new Hr;class ya{constructor(i,a){this._lineBreakData=i,this._isVisible=a}isVisible(){return this._isVisible}setVisible(i){return this._isVisible=i,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(i){return nr.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,i,0)}getInputEndOffsetOfOutputLineIndex(i,a,_){return _+1===this._lineBreakData.breakOffsets.length?i.getLineMaxColumn(a)-1:nr.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,_+1,0)}getViewLineContent(i,a,_){if(!this._isVisible)throw new Error("Not supported");let R=this.getInputStartOffsetOfOutputLineIndex(_),K=this.getInputEndOffsetOfOutputLineIndex(i,a,_),we=i.getValueInRange({startLineNumber:a,startColumn:R+1,endLineNumber:a,endColumn:K+1});return _>0&&(we=ds(this._lineBreakData.wrappedTextIndentLength)+we),we}getViewLineLength(i,a,_){if(!this._isVisible)throw new Error("Not supported");let R=this.getInputStartOffsetOfOutputLineIndex(_),K=this.getInputEndOffsetOfOutputLineIndex(i,a,_)-R;return _>0&&(K=this._lineBreakData.wrappedTextIndentLength+K),K}getViewLineMinColumn(i,a,_){if(!this._isVisible)throw new Error("Not supported");return _>0?this._lineBreakData.wrappedTextIndentLength+1:1}getViewLineMaxColumn(i,a,_){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(i,a,_).length+1}getViewLineData(i,a,_){if(!this._isVisible)throw new Error("Not supported");let R=this.getInputStartOffsetOfOutputLineIndex(_),K=this.getInputEndOffsetOfOutputLineIndex(i,a,_),we=i.getValueInRange({startLineNumber:a,startColumn:R+1,endLineNumber:a,endColumn:K+1});_>0&&(we=ds(this._lineBreakData.wrappedTextIndentLength)+we);let Pe=_>0?this._lineBreakData.wrappedTextIndentLength+1:1,Ve=we.length+1,Je=_+1<this.getViewLineCount(),at=0;_>0&&(at=this._lineBreakData.wrappedTextIndentLength);let bt=i.getLineTokens(a),Bt=_===0?0:this._lineBreakData.breakOffsetsVisibleColumn[_-1];return new Ge.c(we,Je,Pe,Ve,Bt,bt.sliceAndInflate(R,K,at))}getViewLinesData(i,a,_,R,K,we,Pe){if(!this._isVisible)throw new Error("Not supported");for(let Ve=_;Ve<R;Ve++){let Je=K+Ve-_;we[Je]?Pe[Je]=this.getViewLineData(i,a,Ve):Pe[Je]=null}}getModelColumnOfViewPosition(i,a){if(!this._isVisible)throw new Error("Not supported");let _=a-1;return i>0&&(_<this._lineBreakData.wrappedTextIndentLength?_=0:_-=this._lineBreakData.wrappedTextIndentLength),nr.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,i,_)+1}getViewPositionOfModelPosition(i,a){if(!this._isVisible)throw new Error("Not supported");let _=nr.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,a-1),R=_.outputLineIndex,K=_.outputOffset+1;return R>0&&(K+=this._lineBreakData.wrappedTextIndentLength),new At.a(i+R,K)}getViewLineNumberOfModelPosition(i,a){if(!this._isVisible)throw new Error("Not supported");return i+nr.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,a-1).outputLineIndex}}let vr=[""];function ds(Zt){if(Zt>=vr.length)for(let i=1;i<=Zt;i++)vr[i]=oa(i);return vr[Zt]}function oa(Zt){return new Array(Zt+1).join(" ")}function wr(Zt,i){return Zt===null?i?Cs.INSTANCE:Hr.INSTANCE:new ya(Zt,i)}class ns{constructor(i){this._lines=i}_validPosition(i){return this._lines.model.validatePosition(i)}_validRange(i){return this._lines.model.validateRange(i)}convertViewPositionToModelPosition(i){return this._validPosition(i)}convertViewRangeToModelRange(i){return this._validRange(i)}validateViewPosition(i,a){return this._validPosition(a)}validateViewRange(i,a){return this._validRange(a)}convertModelPositionToViewPosition(i){return this._validPosition(i)}convertModelRangeToViewRange(i){return this._validRange(i)}modelPositionIsVisible(i){let a=this._lines.model.getLineCount();return!(i.lineNumber<1||i.lineNumber>a)}}class Ui{constructor(i){this.model=i}dispose(){}createCoordinatesConverter(){return new ns(this)}getHiddenAreas(){return[]}setHiddenAreas(i){return!1}setTabSize(i){return!1}setWrappingSettings(i,a,_,R){return!1}createLineBreaksComputer(){let i=[];return{addRequest:(a,_)=>{i.push(null)},finalize:()=>i}}onModelFlushed(){}onModelLinesDeleted(i,a,_){return new So(a,_)}onModelLinesInserted(i,a,_,R){return new ko(a,_)}onModelLineChanged(i,a,_){return[!1,new Mo(a,a),null,null]}acceptVersionId(i){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(i,a,_){return{startLineNumber:i,endLineNumber:i,indent:0}}getViewLinesIndentGuides(i,a){let _=a-i+1,R=new Array(_);for(let K=0;K<_;K++)R[K]=0;return R}getViewLineContent(i){return this.model.getLineContent(i)}getViewLineLength(i){return this.model.getLineLength(i)}getViewLineMinColumn(i){return this.model.getLineMinColumn(i)}getViewLineMaxColumn(i){return this.model.getLineMaxColumn(i)}getViewLineData(i){let a=this.model.getLineTokens(i),_=a.getLineContent();return new Ge.c(_,!1,1,_.length+1,0,a.inflate())}getViewLinesData(i,a,_){let R=this.model.getLineCount();i=Math.min(Math.max(1,i),R),a=Math.min(Math.max(1,a),R);let K=[];for(let we=i;we<=a;we++){let Pe=we-i;_[Pe]||(K[Pe]=null),K[Pe]=this.getViewLineData(we)}return K}getAllOverviewRulerDecorations(i,a,_){let R=this.model.getOverviewRulerDecorations(i,a),K=new or;for(let we of R){let Pe=we.options.overviewRuler,Ve=Pe?Pe.position:0;if(Ve===0)continue;let Je=Pe.getColor(_),at=we.range.startLineNumber,bt=we.range.endLineNumber;K.accept(Je,at,bt,Ve)}return K.result}getDecorationsInRange(i,a,_){return this.model.getDecorationsInRange(i,a,_)}}class or{constructor(){this.result=Object.create(null)}accept(i,a,_,R){let K=this.result[i];if(K){let we=K[K.length-3],Pe=K[K.length-1];if(we===R&&Pe+1>=a)return void(_>Pe&&(K[K.length-1]=_));K.push(R,a,_)}else this.result[i]=[R,a,_]}}class xs{constructor(i,a,_,R,K){this.editorId=i,this.model=a,this.configuration=_,this._linesCollection=R,this._coordinatesConverter=K,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(i){let a=i.id,_=this._decorationsCache[a];if(!_){let R=i.range,K=i.options,we;if(K.isWholeLine){let Pe=this._coordinatesConverter.convertModelPositionToViewPosition(new At.a(R.startLineNumber,1)),Ve=this._coordinatesConverter.convertModelPositionToViewPosition(new At.a(R.endLineNumber,this.model.getLineMaxColumn(R.endLineNumber)));we=new Nt.a(Pe.lineNumber,Pe.column,Ve.lineNumber,Ve.column)}else we=this._coordinatesConverter.convertModelRangeToViewRange(R);_=new Ge.e(we,K),this._decorationsCache[a]=_}return _}getDecorationsViewportData(i){let a=this._cachedModelDecorationsResolver!==null;return a=a&&i.equalsRange(this._cachedModelDecorationsResolverViewRange),a||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(i),this._cachedModelDecorationsResolverViewRange=i),this._cachedModelDecorationsResolver}_getDecorationsViewportData(i){let a=this._linesCollection.getDecorationsInRange(i,this.editorId,Object(fe.l)(this.configuration.options)),_=i.startLineNumber,R=i.endLineNumber,K=[],we=0,Pe=[];for(let Ve=_;Ve<=R;Ve++)Pe[Ve-_]=[];for(let Ve=0,Je=a.length;Ve<Je;Ve++){let at=a[Ve],bt=at.options,Bt=this._getOrCreateViewModelDecoration(at),Pt=Bt.range;if(K[we++]=Bt,bt.inlineClassName){let ni=new Ge.a(Pt,bt.inlineClassName,bt.inlineClassNameAffectsLetterSpacing?3:0),Ci=Math.max(_,Pt.startLineNumber),Vi=Math.min(R,Pt.endLineNumber);for(let Mi=Ci;Mi<=Vi;Mi++)Pe[Mi-_].push(ni)}if(bt.beforeContentClassName&&_<=Pt.startLineNumber&&Pt.startLineNumber<=R){let ni=new Ge.a(new Nt.a(Pt.startLineNumber,Pt.startColumn,Pt.startLineNumber,Pt.startColumn),bt.beforeContentClassName,1);Pe[Pt.startLineNumber-_].push(ni)}if(bt.afterContentClassName&&_<=Pt.endLineNumber&&Pt.endLineNumber<=R){let ni=new Ge.a(new Nt.a(Pt.endLineNumber,Pt.endColumn,Pt.endLineNumber,Pt.endColumn),bt.afterContentClassName,2);Pe[Pt.endLineNumber-_].push(ni)}}return{decorations:K,inlineDecorations:Pe}}}class yr extends E.a{constructor(i,a,_,R,K,we){if(super(),this._editorId=i,this._configuration=a,this.model=_,this._eventDispatcher=new ls,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new _i.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._tokenizeViewportSoon=this._register(new l.d(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new l.d(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new Ui(this.model);else{let Pe=this._configuration.options,Ve=Pe.get(36),Je=Pe.get(112),at=Pe.get(118),bt=Pe.get(111);this._lines=new zo(this.model,R,K,Ve,this.model.getOptions().tabSize,Je,at.wrappingColumn,bt)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new Do(_,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new is(this._configuration,this.getLineCount(),we)),this._register(this.viewLayout.onDidScroll(Pe=>{Pe.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new Tn(Pe)),this._eventDispatcher.emitOutgoingEvent(new Eo(Pe.oldScrollWidth,Pe.oldScrollLeft,Pe.oldScrollHeight,Pe.oldScrollTop,Pe.scrollWidth,Pe.scrollLeft,Pe.scrollHeight,Pe.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(Pe=>{this._eventDispatcher.emitOutgoingEvent(Pe)})),this._decorations=new xs(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(Pe=>{try{let Ve=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(Ve,Pe)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(ae.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new gr)})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}addViewEventHandler(i){this._eventDispatcher.addViewEventHandler(i)}removeViewEventHandler(i){this._eventDispatcher.removeViewEventHandler(i)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){let i=this.viewLayout.getLinesViewportData(),a=this.coordinatesConverter.convertViewPositionToModelPosition(new At.a(i.startLineNumber,1)),_=this.coordinatesConverter.convertViewPositionToModelPosition(new At.a(i.endLineNumber,1));this.model.tokenizeViewport(a.lineNumber,_.lineNumber)}setHasFocus(i){this._hasFocus=i,this._cursor.setHasFocus(i),this._eventDispatcher.emitSingleViewEvent(new Rn(i)),this._eventDispatcher.emitOutgoingEvent(new cr(!i,i))}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new No)}_onConfigurationChanged(i,a){let _=null;if(this._viewportStartLine!==-1){let at=new At.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));_=this.coordinatesConverter.convertViewPositionToModelPosition(at)}let R=!1,K=this._configuration.options,we=K.get(36),Pe=K.get(112),Ve=K.get(118),Je=K.get(111);if(this._lines.setWrappingSettings(we,Pe,Ve.wrappingColumn,Je)&&(i.emitViewEvent(new In),i.emitViewEvent(new vo),i.emitViewEvent(new Ro(null)),this._cursor.onLineMappingChanged(i),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.getCurrentScrollTop()!==0&&(R=!0),this._updateConfigurationViewLineCount.schedule()),a.hasChanged(72)&&(this._decorations.reset(),i.emitViewEvent(new Ro(null))),i.emitViewEvent(new Yn(a)),this.viewLayout.onConfigurationChanged(a),R&&_){let at=this.coordinatesConverter.convertModelPositionToViewPosition(_),bt=this.viewLayout.getVerticalOffsetForLineNumber(at.lineNumber);this.viewLayout.setScrollPosition({scrollTop:bt+this._viewportStartLineDelta},1)}_i.b.shouldRecreate(a)&&(this.cursorConfig=new _i.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeRawContentFast(i=>{try{let a=this._eventDispatcher.beginEmitViewEvents(),_=!1,R=!1,K=i.changes,we=i.versionId,Pe=this._lines.createLineBreaksComputer();for(let at of K)switch(at.changeType){case 4:for(let bt of at.detail)Pe.addRequest(bt,null);break;case 2:Pe.addRequest(at.detail,null)}let Ve=Pe.finalize(),Je=0;for(let at of K)switch(at.changeType){case 1:this._lines.onModelFlushed(),a.emitViewEvent(new In),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),_=!0;break;case 3:{let bt=this._lines.onModelLinesDeleted(we,at.fromLineNumber,at.toLineNumber);bt!==null&&(a.emitViewEvent(bt),this.viewLayout.onLinesDeleted(bt.fromLineNumber,bt.toLineNumber)),_=!0;break}case 4:{let bt=Ve.slice(Je,Je+at.detail.length);Je+=at.detail.length;let Bt=this._lines.onModelLinesInserted(we,at.fromLineNumber,at.toLineNumber,bt);Bt!==null&&(a.emitViewEvent(Bt),this.viewLayout.onLinesInserted(Bt.fromLineNumber,Bt.toLineNumber)),_=!0;break}case 2:{let bt=Ve[Je];Je++;let[Bt,Pt,ni,Ci]=this._lines.onModelLineChanged(we,at.lineNumber,bt);R=Bt,Pt&&a.emitViewEvent(Pt),ni&&(a.emitViewEvent(ni),this.viewLayout.onLinesInserted(ni.fromLineNumber,ni.toLineNumber)),Ci&&(a.emitViewEvent(Ci),this.viewLayout.onLinesDeleted(Ci.fromLineNumber,Ci.toLineNumber));break}}this._lines.acceptVersionId(we),this.viewLayout.onHeightMaybeChanged(),!_&&R&&(a.emitViewEvent(new vo),a.emitViewEvent(new Ro(null)),this._cursor.onLineMappingChanged(a),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){let a=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(a){let _=this.coordinatesConverter.convertModelPositionToViewPosition(a.getStartPosition()),R=this.viewLayout.getVerticalOffsetForLineNumber(_.lineNumber);this.viewLayout.setScrollPosition({scrollTop:R+this._viewportStartLineDelta},1)}}try{let a=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(a,i)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(i=>{let a=[];for(let _=0,R=i.ranges.length;_<R;_++){let K=i.ranges[_],we=this.coordinatesConverter.convertModelPositionToViewPosition(new At.a(K.fromLineNumber,1)).lineNumber,Pe=this.coordinatesConverter.convertModelPositionToViewPosition(new At.a(K.toLineNumber,this.model.getLineMaxColumn(K.toLineNumber))).lineNumber;a[_]={fromLineNumber:we,toLineNumber:Pe}}this._eventDispatcher.emitSingleViewEvent(new Ho(a)),i.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(i=>{this._eventDispatcher.emitSingleViewEvent(new Qn),this.cursorConfig=new _i.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(i=>{this.cursorConfig=new _i.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(i=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{let a=this._eventDispatcher.beginEmitViewEvents();a.emitViewEvent(new In),a.emitViewEvent(new vo),a.emitViewEvent(new Ro(null)),this._cursor.onLineMappingChanged(a),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new _i.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(i=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new Ro(i))}))}setHiddenAreas(i){try{let a=this._eventDispatcher.beginEmitViewEvents();this._lines.setHiddenAreas(i)&&(a.emitViewEvent(new In),a.emitViewEvent(new vo),a.emitViewEvent(new Ro(null)),this._cursor.onLineMappingChanged(a),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){let i=this._configuration.options.get(117),a=this._configuration.options.get(51),_=Math.max(20,Math.round(i.height/a)),R=this.viewLayout.getLinesViewportData(),K=Math.max(1,R.completelyVisibleStartLineNumber-_),we=Math.min(this.getLineCount(),R.completelyVisibleEndLineNumber+_);return this._toModelVisibleRanges(new Nt.a(K,this.getLineMinColumn(K),we,this.getLineMaxColumn(we)))}getVisibleRanges(){let i=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(i)}_toModelVisibleRanges(i){let a=this.coordinatesConverter.convertViewRangeToModelRange(i),_=this._lines.getHiddenAreas();if(_.length===0)return[a];let R=[],K=0,we=a.startLineNumber,Pe=a.startColumn,Ve=a.endLineNumber,Je=a.endColumn;for(let at=0,bt=_.length;at<bt;at++){let Bt=_[at].startLineNumber,Pt=_[at].endLineNumber;Pt<we||Bt>Ve||(we<Bt&&(R[K++]=new Nt.a(we,Pe,Bt-1,this.model.getLineMaxColumn(Bt-1))),we=Pt+1,Pe=1)}return(we<Ve||we===Ve&&Pe<Je)&&(R[K++]=new Nt.a(we,Pe,Ve,Je)),R}getCompletelyVisibleViewRange(){let i=this.viewLayout.getLinesViewportData(),a=i.completelyVisibleStartLineNumber,_=i.completelyVisibleEndLineNumber;return new Nt.a(a,this.getLineMinColumn(a),_,this.getLineMaxColumn(_))}getCompletelyVisibleViewRangeAtScrollTop(i){let a=this.viewLayout.getLinesViewportDataAtScrollTop(i),_=a.completelyVisibleStartLineNumber,R=a.completelyVisibleEndLineNumber;return new Nt.a(_,this.getLineMinColumn(_),R,this.getLineMaxColumn(R))}saveState(){let i=this.viewLayout.saveState(),a=i.scrollTop,_=this.viewLayout.getLineNumberAtVerticalOffset(a),R=this.coordinatesConverter.convertViewPositionToModelPosition(new At.a(_,this.getLineMinColumn(_))),K=this.viewLayout.getVerticalOffsetForLineNumber(_)-a;return{scrollLeft:i.scrollLeft,firstPosition:R,firstPositionDeltaTop:K}}reduceRestoreState(i){if(i.firstPosition===void 0)return this._reduceRestoreStateCompatibility(i);let a=this.model.validatePosition(i.firstPosition),_=this.coordinatesConverter.convertModelPositionToViewPosition(a),R=this.viewLayout.getVerticalOffsetForLineNumber(_.lineNumber)-i.firstPositionDeltaTop;return{scrollLeft:i.scrollLeft,scrollTop:R}}_reduceRestoreStateCompatibility(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getTextModelOptions(){return this.model.getOptions()}getLineCount(){return this._lines.getViewLineCount()}setViewport(i,a,_){this._viewportStartLine=i;let R=this.coordinatesConverter.convertViewPositionToModelPosition(new At.a(i,this.getLineMinColumn(i)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new Nt.a(R.lineNumber,R.column,R.lineNumber,R.column),1);let K=this.viewLayout.getVerticalOffsetForLineNumber(i),we=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=we-K}getActiveIndentGuide(i,a,_){return this._lines.getActiveIndentGuide(i,a,_)}getLinesIndentGuides(i,a){return this._lines.getViewLinesIndentGuides(i,a)}getLineContent(i){return this._lines.getViewLineContent(i)}getLineLength(i){return this._lines.getViewLineLength(i)}getLineMinColumn(i){return this._lines.getViewLineMinColumn(i)}getLineMaxColumn(i){return this._lines.getViewLineMaxColumn(i)}getLineFirstNonWhitespaceColumn(i){let a=_t.w(this.getLineContent(i));return a===-1?0:a+1}getLineLastNonWhitespaceColumn(i){let a=_t.J(this.getLineContent(i));return a===-1?0:a+2}getDecorationsInViewport(i){return this._decorations.getDecorationsViewportData(i).decorations}getViewLineRenderingData(i,a){let _=this.model.mightContainRTL(),R=this.model.mightContainNonBasicASCII(),K=this.getTabSize(),we=this._lines.getViewLineData(a),Pe=this._decorations.getDecorationsViewportData(i).inlineDecorations[a-i.startLineNumber];return new Ge.d(we.minColumn,we.maxColumn,we.content,we.continuesWithWrappedLine,_,R,we.tokens,Pe,K,we.startVisibleColumn)}getViewLineData(i){return this._lines.getViewLineData(i)}getMinimapLinesRenderingData(i,a,_){let R=this._lines.getViewLinesData(i,a,_);return new Ge.b(this.getTabSize(),R)}getAllOverviewRulerDecorations(i){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(fe.l)(this._configuration.options),i)}invalidateOverviewRulerColorCache(){let i=this.model.getOverviewRulerDecorations();for(let a of i){let _=a.options.overviewRuler;_&&_.invalidateCachedColor()}}invalidateMinimapColorCache(){let i=this.model.getAllDecorations();for(let a of i){let _=a.options.minimap;_&&_.invalidateCachedColor()}}getValueInRange(i,a){let _=this.coordinatesConverter.convertViewRangeToModelRange(i);return this.model.getValueInRange(_,a)}getModelLineMaxColumn(i){return this.model.getLineMaxColumn(i)}validateModelPosition(i){return this.model.validatePosition(i)}validateModelRange(i){return this.model.validateRange(i)}deduceModelPositionRelativeToViewPosition(i,a,_){let R=this.coordinatesConverter.convertViewPositionToModelPosition(i);this.model.getEOL().length===2&&(a<0?a-=_:a+=_);let K=this.model.getOffsetAt(R)+a;return this.model.getPositionAt(K)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(i,a,_){let R=_?`\r +`:this.model.getEOL();(i=i.slice(0)).sort(Nt.a.compareRangesUsingStarts);let K=!1,we=!1;for(let Ve of i)Ve.isEmpty()?K=!0:we=!0;if(!we){if(!a)return"";let Ve=i.map(at=>at.startLineNumber),Je="";for(let at=0;at<Ve.length;at++)at>0&&Ve[at-1]===Ve[at]||(Je+=this.model.getLineContent(Ve[at])+R);return Je}if(K&&a){let Ve=[],Je=0;for(let at of i){let bt=at.startLineNumber;at.isEmpty()?bt!==Je&&Ve.push(this.model.getLineContent(bt)):Ve.push(this.model.getValueInRange(at,_?2:0)),Je=bt}return Ve.length===1?Ve[0]:Ve}let Pe=[];for(let Ve of i)Ve.isEmpty()||Pe.push(this.model.getValueInRange(Ve,_?2:0));return Pe.length===1?Pe[0]:Pe}getRichTextToCopy(i,a){let _=this.model.getLanguageIdentifier();if(_.id===1||i.length!==1)return null;let R=i[0];if(R.isEmpty()){if(!a)return null;let Ve=R.startLineNumber;R=new Nt.a(Ve,this.model.getLineMinColumn(Ve),Ve,this.model.getLineMaxColumn(Ve))}let K=this._configuration.options.get(36),we=this._getColorMap(),Pe=K.fontFamily===fe.c.fontFamily?K.fontFamily:`'${K.fontFamily}', ${fe.c.fontFamily}`;return{mode:_.language,html:`<div style="color: ${we[1]};background-color: ${we[2]};font-family: ${Pe};font-weight: ${K.fontWeight};font-size: ${K.fontSize}px;line-height: ${K.lineHeight}px;white-space: pre;">`+this._getHTMLToCopy(R,we)+"</div>"}}_getHTMLToCopy(i,a){let _=i.startLineNumber,R=i.startColumn,K=i.endLineNumber,we=i.endColumn,Pe=this.getTabSize(),Ve="";for(let Je=_;Je<=K;Je++){let at=this.model.getLineTokens(Je),bt=at.getLineContent(),Bt=Je===_?R-1:0,Pt=Je===K?we-1:bt.length;Ve+=bt===""?"<br>":Object(br.a)(bt,at.inflate(),a,Bt,Pt,Pe,P.i)}return Ve}_getColorMap(){let i=X.C.getColorMap(),a=["#000000"];if(i)for(let _=1,R=i.length;_<R;_++)a[_]=Ee.a.Format.CSS.formatHex(i[_]);return a}pushStackElement(){this.model.pushStackElement()}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(i,a,_){this._withViewEventsCollector(R=>this._cursor.setStates(R,i,a,_))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}setCursorColumnSelectData(i){this._cursor.setCursorColumnSelectData(i)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(i){this._cursor.setPrevEditOperationType(i)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(i,a){this._withViewEventsCollector(_=>this._cursor.setSelections(_,i,a))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(i){this._withViewEventsCollector(a=>this._cursor.restoreState(a,i))}_executeCursorEdit(i){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Ko):this._withViewEventsCollector(i)}executeEdits(i,a,_){this._executeCursorEdit(R=>this._cursor.executeEdits(R,i,a,_))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(i=>this._cursor.startComposition(i))}endComposition(i){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(a=>this._cursor.endComposition(a,i))}type(i,a){this._executeCursorEdit(_=>this._cursor.type(_,i,a))}replacePreviousChar(i,a,_){this._executeCursorEdit(R=>this._cursor.replacePreviousChar(R,i,a,_))}paste(i,a,_,R){this._executeCursorEdit(K=>this._cursor.paste(K,i,a,_,R))}cut(i){this._executeCursorEdit(a=>this._cursor.cut(a,i))}executeCommand(i,a){this._executeCursorEdit(_=>this._cursor.executeCommand(_,i,a))}executeCommands(i,a){this._executeCursorEdit(_=>this._cursor.executeCommands(_,i,a))}revealPrimaryCursor(i,a){this._withViewEventsCollector(_=>this._cursor.revealPrimary(_,i,a,0))}revealTopMostCursor(i){let a=this._cursor.getTopMostViewPosition(),_=new Nt.a(a.lineNumber,a.column,a.lineNumber,a.column);this._withViewEventsCollector(R=>R.emitViewEvent(new po(i,_,null,0,!0,0)))}revealBottomMostCursor(i){let a=this._cursor.getBottomMostViewPosition(),_=new Nt.a(a.lineNumber,a.column,a.lineNumber,a.column);this._withViewEventsCollector(R=>R.emitViewEvent(new po(i,_,null,0,!0,0)))}revealRange(i,a,_,R,K){this._withViewEventsCollector(we=>we.emitViewEvent(new po(i,_,null,R,a,K)))}getVerticalOffsetForLineNumber(i){return this.viewLayout.getVerticalOffsetForLineNumber(i)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(i,a){this.viewLayout.setScrollPosition({scrollTop:i},a)}setScrollPosition(i,a){this.viewLayout.setScrollPosition(i,a)}deltaScrollNow(i,a){this.viewLayout.deltaScrollNow(i,a)}changeWhitespace(i){this.viewLayout.changeWhitespace(i)&&(this._eventDispatcher.emitSingleViewEvent(new wo),this._eventDispatcher.emitOutgoingEvent(new Lr))}setMaxLineWidth(i){this.viewLayout.setMaxLineWidth(i)}_withViewEventsCollector(i){try{i(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}}var qr=o(27),Ss=o(10),hs=o(18),us=o(149),Ca=o(49),xa=o(80),ks=o(14),Ir=o(76);class $r extends Ir.a{constructor(i,a){super(0);for(let _=0;_<i.length;_++)this.set(i.charCodeAt(_),1);for(let _=0;_<a.length;_++)this.set(a.charCodeAt(_),2)}get(i){return i>=0&&i<256?this._asciiMap[i]:i>=12352&&i<=12543||i>=13312&&i<=19903||i>=19968&&i<=40959?3:this._map.get(i)||this._defaultValue}}let Vs=[],Es=[];class ps{constructor(i,a){this.classifier=new $r(i,a)}static create(i){return new ps(i.get(108),i.get(107))}createLineBreaksComputer(i,a,_,R){a|=0,_=+_;let K=[],we=[];return{addRequest:(Pe,Ve)=>{K.push(Pe),we.push(Ve)},finalize:()=>{let Pe=i.typicalFullwidthCharacterWidth/i.typicalHalfwidthCharacterWidth,Ve=[];for(let Je=0,at=K.length;Je<at;Je++){let bt=we[Je];Ve[Je]=bt?Us(this.classifier,bt,K[Je],a,_,Pe,R):Kr(this.classifier,K[Je],a,_,Pe,R)}return Vs.length=0,Es.length=0,Ve}}}}function Us(Zt,i,a,_,R,K,we){if(R===-1)return null;let Pe=a.length;if(Pe<=1)return null;let Ve=i.breakOffsets,Je=i.breakOffsetsVisibleColumn,at=gs(a,_,R,K,we),bt=R-at,Bt=Vs,Pt=Es,ni=0,Ci=0,Vi=0,Mi=R,zi=Ve.length,Yi=0;if(Yi>=0){let Gi=Math.abs(Je[Yi]-Mi);for(;Yi+1<zi;){let wn=Math.abs(Je[Yi+1]-Mi);if(wn>=Gi)break;Gi=wn,Yi++}}for(;Yi<zi;){let Gi=Yi<0?0:Ve[Yi],wn=Yi<0?0:Je[Yi];Ci>Gi&&(Gi=Ci,wn=Vi);let nn=0,Wn=0,An=0,qn=0;if(wn<=Mi){let Un=wn,Lo=Gi===0?0:a.charCodeAt(Gi-1),Ao=Gi===0?0:Zt.get(Lo),Bo=!0;for(let jo=Gi;jo<Pe;jo++){let $o=jo,Po=a.charCodeAt(jo),Rr,Fo;if(_t.F(Po)?(jo++,Rr=0,Fo=2):(Rr=Zt.get(Po),Fo=os(Po,Un,_,K)),$o>Ci&&ms(Lo,Ao,Po,Rr)&&(nn=$o,Wn=Un),Un+=Fo,Un>Mi){$o>Ci?(An=$o,qn=Un-Fo):(An=jo+1,qn=Un),Un-Wn>bt&&(nn=0),Bo=!1;break}Lo=Po,Ao=Rr}if(Bo){ni>0&&(Bt[ni]=Ve[Ve.length-1],Pt[ni]=Je[Ve.length-1],ni++);break}}if(nn===0){let Un=wn,Lo=a.charCodeAt(Gi),Ao=Zt.get(Lo),Bo=!1;for(let jo=Gi-1;jo>=Ci;jo--){let $o=jo+1,Po=a.charCodeAt(jo);if(Po===9){Bo=!0;break}let Rr,Fo;if(_t.G(Po)?(jo--,Rr=0,Fo=2):(Rr=Zt.get(Po),Fo=_t.E(Po)?K:1),Un<=Mi){if(An===0&&(An=$o,qn=Un),Un<=Mi-bt)break;if(ms(Po,Rr,Lo,Ao)){nn=$o,Wn=Un;break}}Un-=Fo,Lo=Po,Ao=Rr}if(nn!==0){let jo=bt-(qn-Wn);if(jo<=_){let $o=a.charCodeAt(An),Po;Po=_t.F($o)?2:os($o,qn,_,K),jo-Po<0&&(nn=0)}}if(Bo){Yi--;continue}}for(nn===0&&(nn=An,Wn=qn),Ci=nn,Bt[ni]=nn,Vi=Wn,Pt[ni]=Wn,ni++,Mi=Wn+bt;Yi<0||Yi<zi&&Je[Yi]<Wn;)Yi++;let ro=Math.abs(Je[Yi]-Mi);for(;Yi+1<zi;){let Un=Math.abs(Je[Yi+1]-Mi);if(Un>=ro)break;ro=Un,Yi++}}return ni===0?null:(Bt.length=ni,Pt.length=ni,Vs=i.breakOffsets,Es=i.breakOffsetsVisibleColumn,i.breakOffsets=Bt,i.breakOffsetsVisibleColumn=Pt,i.wrappedTextIndentLength=at,i)}function Kr(Zt,i,a,_,R,K){if(_===-1)return null;let we=i.length;if(we<=1)return null;let Pe=gs(i,a,_,R,K),Ve=_-Pe,Je=[],at=[],bt=0,Bt=0,Pt=0,ni=_,Ci=i.charCodeAt(0),Vi=Zt.get(Ci),Mi=os(Ci,0,a,R),zi=1;_t.F(Ci)&&(Mi+=1,Ci=i.charCodeAt(1),Vi=Zt.get(Ci),zi++);for(let Yi=zi;Yi<we;Yi++){let Gi=Yi,wn=i.charCodeAt(Yi),nn,Wn;_t.F(wn)?(Yi++,nn=0,Wn=2):(nn=Zt.get(wn),Wn=os(wn,Mi,a,R)),ms(Ci,Vi,wn,nn)&&(Bt=Gi,Pt=Mi),Mi+=Wn,Mi>ni&&((Bt===0||Mi-Pt>Ve)&&(Bt=Gi,Pt=Mi-Wn),Je[bt]=Bt,at[bt]=Pt,bt++,ni=Pt+Ve,Bt=0),Ci=wn,Vi=nn}return bt===0?null:(Je[bt]=we,at[bt]=Mi,new nr(Je,at,Pe))}function os(Zt,i,a,_){return Zt===9?a-i%a:_t.E(Zt)?_:1}function Hs(Zt,i){return i-Zt%i}function ms(Zt,i,a,_){return a!==32&&(i===2||i===3&&_!==2||_===1||_===3&&i!==1)}function gs(Zt,i,a,_,R){let K=0;if(R!==0){let we=_t.w(Zt);if(we!==-1){for(let Ve=0;Ve<we;Ve++)K+=Zt.charCodeAt(Ve)===9?Hs(K,i):1;let Pe=R===3?2:R===2?1:0;for(let Ve=0;Ve<Pe;Ve++)K+=Hs(K,i);K+_>a&&(K=0)}}return K}class Or{static create(){return new Or}constructor(){}createLineBreaksComputer(i,a,_,R){a|=0,_=+_;let K=[];return{addRequest:(we,Pe)=>{K.push(we)},finalize:()=>function(we,Pe,Ve,Je,at){if(Je===-1){let nn=[];for(let Wn=0,An=we.length;Wn<An;Wn++)nn[Wn]=null;return nn}let bt=Math.round(Je*Pe.typicalHalfwidthCharacterWidth);at!==2&&at!==3||(at=1);let Bt=document.createElement("div");W.a.applyFontInfoSlow(Bt,Pe);let Pt=Object(un.a)(1e4),ni=[],Ci=[],Vi=[],Mi=[],zi=[];for(let nn=0;nn<we.length;nn++){let Wn=we[nn],An=0,qn=0,ro=bt;if(at!==0)if(An=_t.w(Wn),An===-1)An=0;else{for(let Bo=0;Bo<An;Bo++)qn+=Wn.charCodeAt(Bo)===9?Ve-qn%Ve:1;let Ao=Math.ceil(Pe.spaceWidth*qn);Ao+Pe.typicalFullwidthCharacterWidth>bt?(An=0,qn=0):ro=bt-Ao}let Un=Wn.substr(An),Lo=Go(Un,qn,Ve,ro,Pt);ni[nn]=An,Ci[nn]=qn,Vi[nn]=Un,Mi[nn]=Lo[0],zi[nn]=Lo[1]}Bt.innerHTML=Pt.build(),Bt.style.position="absolute",Bt.style.top="10000",Bt.style.wordWrap="break-word",document.body.appendChild(Bt);let Yi=document.createRange(),Gi=Array.prototype.slice.call(Bt.children,0),wn=[];for(let nn=0;nn<we.length;nn++){let Wn=Gi[nn],An=rr(Yi,Wn,Vi[nn],Mi[nn]);if(An===null){wn[nn]=null;continue}let qn=ni[nn],ro=Ci[nn],Un=zi[nn],Lo=[];for(let Ao=0,Bo=An.length;Ao<Bo;Ao++)Lo[Ao]=Un[An[Ao]];if(qn!==0)for(let Ao=0,Bo=An.length;Ao<Bo;Ao++)An[Ao]+=qn;wn[nn]=new nr(An,Lo,ro)}return document.body.removeChild(Bt),wn}(K,i,a,_,R)}}}function Go(Zt,i,a,_,R){R.appendASCIIString('<div style="width:'),R.appendASCIIString(String(_)),R.appendASCIIString('px;">');let K=Zt.length,we=i,Pe=0,Ve=[],Je=[],at=0<K?Zt.charCodeAt(0):0;R.appendASCIIString("<span>");for(let bt=0;bt<K;bt++){bt!==0&&bt%16384==0&&R.appendASCIIString("</span><span>"),Ve[bt]=Pe,Je[bt]=we;let Bt=at;at=bt+1<K?Zt.charCodeAt(bt+1):0;let Pt=1,ni=1;switch(Bt){case 9:Pt=a-we%a,ni=Pt;for(let Ci=1;Ci<=Pt;Ci++)Ci<Pt?R.write1(160):R.appendASCII(32);break;case 32:at===32?R.write1(160):R.appendASCII(32);break;case 60:R.appendASCIIString("<");break;case 62:R.appendASCIIString(">");break;case 38:R.appendASCIIString("&");break;case 0:R.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:R.write1(65533);break;default:_t.E(Bt)&&ni++,R.write1(Bt)}Pe+=Pt,we+=ni}return R.appendASCIIString("</span>"),Ve[Zt.length]=Pe,Je[Zt.length]=we,R.appendASCIIString("</div>"),[Ve,Je]}function rr(Zt,i,a,_){if(a.length<=1)return null;let R=Array.prototype.slice.call(i.children,0),K=[];try{(function we(Pe,Ve,Je,at,bt,Bt,Pt,ni){if(at===Bt||(bt=bt||Sa(Pe,Ve,Je[at],Je[at+1]),Pt=Pt||Sa(Pe,Ve,Je[Bt],Je[Bt+1]),Math.abs(bt[0].top-Pt[0].top)<=.1))return;if(at+1===Bt)return void ni.push(Bt);let Ci=at+(Bt-at)/2|0,Vi=Sa(Pe,Ve,Je[Ci],Je[Ci+1]);we(Pe,Ve,Je,at,bt,Ci,Vi,ni),we(Pe,Ve,Je,Ci,Vi,Bt,Pt,ni)})(Zt,R,_,0,null,a.length-1,null,K)}catch(we){return console.log(we),null}return K.length===0?null:(K.push(a.length),K)}function Sa(Zt,i,a,_){return Zt.setStart(i[a/16384|0].firstChild,a%16384),Zt.setEnd(i[_/16384|0].firstChild,_%16384),Zt.getClientRects()}var qs=o(129),Dr=function(Zt,i,a,_){var R,K=arguments.length,we=K<3?i:_===null?_=Object.getOwnPropertyDescriptor(i,a):_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")we=Reflect.decorate(Zt,i,a,_);else for(var Pe=Zt.length-1;Pe>=0;Pe--)(R=Zt[Pe])&&(we=(K<3?R(we):K>3?R(i,a,we):R(i,a))||we);return K>3&&we&&Object.defineProperty(i,a,we),we},Ar=function(Zt,i){return function(a,_){i(a,_,Zt)}};let $s=0;class ka{constructor(i,a,_,R,K){this.model=i,this.viewModel=a,this.view=_,this.hasRealView=R,this.listenersToRemove=K}dispose(){Object(E.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let hr=class Ud extends E.a{constructor(i,a,_,R,K,we,Pe,Ve,Je,at){let bt;super(),this._onDidDispose=this._register(new H.a),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new H.a),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new H.a),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new H.a),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new H.a),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new H.a),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new H.a),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new H.a),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new H.a),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new H.a),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new H.a),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new H.a),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new Ks),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new Ks),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new H.a),this.onWillType=this._onWillType.event,this._onDidType=this._register(new H.a),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new H.a),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new H.a),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new H.a),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new H.a),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new H.a),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new H.a),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new H.a),this.onMouseDrop=this._onMouseDrop.event,this._onContextMenu=this._register(new H.a),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new H.a),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new H.a),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new H.a),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new H.a),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new H.a),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new H.a),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new H.a),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new H.a),this.onDidChangeViewZones=this._onDidChangeViewZones.event,a=a||{},this._domElement=i,this._overflowWidgetsDomNode=a.overflowWidgetsDomNode,this._id=++$s,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this.isSimpleWidget=_.isSimpleWidget||!1,this._telemetryData=_.telemetryData,this._configuration=this._register(this._createConfiguration(a,at)),this._register(this._configuration.onDidChange(Bt=>{this._onDidChangeConfiguration.fire(Bt);let Pt=this._configuration.options;if(Bt.hasChanged(117)){let ni=Pt.get(117);this._onDidLayoutChange.fire(ni)}})),this._contextKeyService=this._register(Pe.createScoped(this._domElement)),this._notificationService=Je,this._codeEditorService=K,this._commandService=we,this._themeService=Ve,this._register(new Ts(this,this._contextKeyService)),this._register(new Qo(this,this._contextKeyService)),this._instantiationService=R.createChild(new us.a([Ss.b,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new sr(i),this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())}),this._contentWidgets={},this._overlayWidgets={},bt=Array.isArray(_.contributions)?_.contributions:Q.d.getEditorContributions();for(let Bt of bt)try{let Pt=this._instantiationService.createInstance(Bt.ctor,this);this._contributions[Bt.id]=Pt}catch(Pt){Object(D.e)(Pt)}Q.d.getEditorActions().forEach(Bt=>{let Pt=new fr.a(Bt.id,Bt.label,Bt.alias,Object(ks.n)(Bt.precondition),()=>this._instantiationService.invokeFunction(ni=>Promise.resolve(Bt.runEditorCommand(ni,this,null))),this._contextKeyService);this._actions[Pt.id]=Pt}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(i,a){return new W.a(this.isSimpleWidget,i,this._domElement,a)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return zn.a.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();let i=Object.keys(this._contributions);for(let a=0,_=i.length;a<_;a++){let R=i[a];this._contributions[R].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(i){return this._instantiationService.invokeFunction(i)}updateOptions(i){this._configuration.updateOptions(i)}getOptions(){return this._configuration.options}getOption(i){return this._configuration.options.get(i)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(i){return this._modelData?qs.a.getWordAtPosition(this._modelData.model,this._configuration.options.get(105),i):null}getValue(i=null){if(!this._modelData)return"";let a=!(!i||!i.preserveBOM),_=0;return i&&i.lineEnding&&i.lineEnding===` +`?_=1:i&&i.lineEnding&&i.lineEnding===`\r +`&&(_=2),this._modelData.model.getValue(_,a)}setValue(i){this._modelData&&this._modelData.model.setValue(i)}getModel(){return this._modelData?this._modelData.model:null}setModel(i=null){let a=i;if(this._modelData===null&&a===null||this._modelData&&this._modelData.model===a)return;let _=this.hasTextFocus(),R=this._detachModel();this._attachModel(a),_&&this.hasModel()&&this.focus();let K={oldModelUrl:R?R.uri:null,newModelUrl:a?a.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(K),this._postDetachModelCleanup(R)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let i in this._decorationTypeSubtypes){let a=this._decorationTypeSubtypes[i];for(let _ in a)this._removeDecorationType(i+"-"+_)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetForPosition(i,a,_){let R=i.model.validatePosition({lineNumber:a,column:_}),K=i.viewModel.coordinatesConverter.convertModelPositionToViewPosition(R);return i.viewModel.viewLayout.getVerticalOffsetForLineNumber(K.lineNumber)}getTopForLineNumber(i){return this._modelData?Ud._getVerticalOffsetForPosition(this._modelData,i,1):-1}getTopForPosition(i,a){return this._modelData?Ud._getVerticalOffsetForPosition(this._modelData,i,a):-1}setHiddenAreas(i){this._modelData&&this._modelData.viewModel.setHiddenAreas(i.map(a=>Nt.a.lift(a)))}getVisibleColumnFromPosition(i){if(!this._modelData)return i.column;let a=this._modelData.model.validatePosition(i),_=this._modelData.model.getOptions().tabSize;return _i.a.visibleColumnFromColumn(this._modelData.model.getLineContent(a.lineNumber),a.column,_)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(i){if(this._modelData){if(!At.a.isIPosition(i))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:i.lineNumber,selectionStartColumn:i.column,positionLineNumber:i.lineNumber,positionColumn:i.column}])}}_sendRevealRange(i,a,_,R){if(!this._modelData)return;if(!Nt.a.isIRange(i))throw new Error("Invalid arguments");let K=this._modelData.model.validateRange(i),we=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(K);this._modelData.viewModel.revealRange("api",_,we,a,R)}revealLine(i,a=0){this._revealLine(i,0,a)}revealLineInCenter(i,a=0){this._revealLine(i,1,a)}revealLineInCenterIfOutsideViewport(i,a=0){this._revealLine(i,2,a)}revealLineNearTop(i,a=0){this._revealLine(i,5,a)}_revealLine(i,a,_){if(typeof i!="number")throw new Error("Invalid arguments");this._sendRevealRange(new Nt.a(i,1,i,1),a,!1,_)}revealPosition(i,a=0){this._revealPosition(i,0,!0,a)}revealPositionInCenter(i,a=0){this._revealPosition(i,1,!0,a)}revealPositionInCenterIfOutsideViewport(i,a=0){this._revealPosition(i,2,!0,a)}revealPositionNearTop(i,a=0){this._revealPosition(i,5,!0,a)}_revealPosition(i,a,_,R){if(!At.a.isIPosition(i))throw new Error("Invalid arguments");this._sendRevealRange(new Nt.a(i.lineNumber,i.column,i.lineNumber,i.column),a,_,R)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(i){let a=C.a.isISelection(i),_=Nt.a.isIRange(i);if(!a&&!_)throw new Error("Invalid arguments");if(a)this._setSelectionImpl(i);else if(_){let R={selectionStartLineNumber:i.startLineNumber,selectionStartColumn:i.startColumn,positionLineNumber:i.endLineNumber,positionColumn:i.endColumn};this._setSelectionImpl(R)}}_setSelectionImpl(i){if(!this._modelData)return;let a=new C.a(i.selectionStartLineNumber,i.selectionStartColumn,i.positionLineNumber,i.positionColumn);this._modelData.viewModel.setSelections("api",[a])}revealLines(i,a,_=0){this._revealLines(i,a,0,_)}revealLinesInCenter(i,a,_=0){this._revealLines(i,a,1,_)}revealLinesInCenterIfOutsideViewport(i,a,_=0){this._revealLines(i,a,2,_)}revealLinesNearTop(i,a,_=0){this._revealLines(i,a,5,_)}_revealLines(i,a,_,R){if(typeof i!="number"||typeof a!="number")throw new Error("Invalid arguments");this._sendRevealRange(new Nt.a(i,1,a,1),_,!1,R)}revealRange(i,a=0,_=!1,R=!0){this._revealRange(i,_?1:0,R,a)}revealRangeInCenter(i,a=0){this._revealRange(i,1,!0,a)}revealRangeInCenterIfOutsideViewport(i,a=0){this._revealRange(i,2,!0,a)}revealRangeNearTop(i,a=0){this._revealRange(i,5,!0,a)}revealRangeNearTopIfOutsideViewport(i,a=0){this._revealRange(i,6,!0,a)}revealRangeAtTop(i,a=0){this._revealRange(i,3,!0,a)}_revealRange(i,a,_,R){if(!Nt.a.isIRange(i))throw new Error("Invalid arguments");this._sendRevealRange(Nt.a.lift(i),a,_,R)}setSelections(i,a="api"){if(this._modelData){if(!i||i.length===0)throw new Error("Invalid arguments");for(let _=0,R=i.length;_<R;_++)if(!C.a.isISelection(i[_]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(a,i)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(i,a=1){if(this._modelData){if(typeof i!="number")throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollLeft:i},a)}}setScrollTop(i,a=1){if(this._modelData){if(typeof i!="number")throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollTop:i},a)}}setScrollPosition(i,a=1){this._modelData&&this._modelData.viewModel.setScrollPosition(i,a)}saveViewState(){if(!this._modelData)return null;let i={},a=Object.keys(this._contributions);for(let _ of a){let R=this._contributions[_];typeof R.saveViewState=="function"&&(i[_]=R.saveViewState())}return{cursorState:this._modelData.viewModel.saveCursorState(),viewState:this._modelData.viewModel.saveState(),contributionsState:i}}restoreViewState(i){if(!this._modelData||!this._modelData.hasRealView)return;let a=i;if(a&&a.cursorState&&a.viewState){let _=a.cursorState;Array.isArray(_)?this._modelData.viewModel.restoreCursorState(_):this._modelData.viewModel.restoreCursorState([_]);let R=a.contributionsState||{},K=Object.keys(this._contributions);for(let Pe=0,Ve=K.length;Pe<Ve;Pe++){let Je=K[Pe],at=this._contributions[Je];typeof at.restoreViewState=="function"&&at.restoreViewState(R[Je])}let we=this._modelData.viewModel.reduceRestoreState(a.viewState);this._modelData.view.restoreState(we)}}getContribution(i){return this._contributions[i]||null}getActions(){let i=[],a=Object.keys(this._actions);for(let _=0,R=a.length;_<R;_++){let K=a[_];i.push(this._actions[K])}return i}getSupportedActions(){let i=this.getActions();return i=i.filter(a=>a.isSupported()),i}getAction(i){return this._actions[i]||null}trigger(i,a,_){switch(_=_||{},a){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(i);case"type":{let K=_;return void this._type(i,K.text||"")}case"replacePreviousChar":{let K=_;return void this._replacePreviousChar(i,K.text||"",K.replaceCharCnt||0)}case"paste":{let K=_;return void this._paste(i,K.text||"",K.pasteOnNewLine||!1,K.multicursorText||null,K.mode||null)}case"cut":return void this._cut(i)}let R=this.getAction(a);R?Promise.resolve(R.run()).then(void 0,D.e):this._modelData&&this._triggerEditorCommand(i,a,_)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(i){this._modelData&&(this._modelData.viewModel.endComposition(i),this._onDidCompositionEnd.fire())}_type(i,a){this._modelData&&a.length!==0&&(i==="keyboard"&&this._onWillType.fire(a),this._modelData.viewModel.type(a,i),i==="keyboard"&&this._onDidType.fire(a))}_replacePreviousChar(i,a,_){this._modelData&&this._modelData.viewModel.replacePreviousChar(a,_,i)}_paste(i,a,_,R,K){if(!this._modelData||a.length===0)return;let we=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(a,_,R,i);let Pe=this._modelData.viewModel.getSelection().getStartPosition();i==="keyboard"&&this._onDidPaste.fire({range:new Nt.a(we.lineNumber,we.column,Pe.lineNumber,Pe.column),mode:K})}_cut(i){this._modelData&&this._modelData.viewModel.cut(i)}_triggerEditorCommand(i,a,_){let R=Q.d.getEditorCommand(a);return!!R&&((_=_||{}).source=i,this._instantiationService.invokeFunction(K=>{Promise.resolve(R.runEditorCommand(K,this,_)).then(void 0,D.e)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&!this._configuration.options.get(72)&&(this._modelData.model.pushStackElement(),!0)}executeEdits(i,a,_){if(!this._modelData||this._configuration.options.get(72))return!1;let R;return R=_?Array.isArray(_)?()=>_:_:()=>null,this._modelData.viewModel.executeEdits(i,a,R),!0}executeCommand(i,a){this._modelData&&this._modelData.viewModel.executeCommand(a,i)}executeCommands(i,a){this._modelData&&this._modelData.viewModel.executeCommands(a,i)}changeDecorations(i){return this._modelData?this._modelData.model.changeDecorations(i,this._id):null}getLineDecorations(i){return this._modelData?this._modelData.model.getLineDecorations(i,this._id,Object(fe.l)(this._configuration.options)):null}deltaDecorations(i,a){return this._modelData?i.length===0&&a.length===0?i:this._modelData.model.deltaDecorations(i,a,this._id):[]}removeDecorations(i){let a=this._decorationTypeKeysToIds[i];a&&this.deltaDecorations(a,[]),this._decorationTypeKeysToIds.hasOwnProperty(i)&&delete this._decorationTypeKeysToIds[i],this._decorationTypeSubtypes.hasOwnProperty(i)&&delete this._decorationTypeSubtypes[i]}getLayoutInfo(){return this._configuration.options.get(117)}createOverviewRuler(i){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(i):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(i){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(i)}layout(i){this._configuration.observeReferenceElement(i),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(i){let a={widget:i,position:i.getPosition()};this._contentWidgets.hasOwnProperty(i.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[i.getId()]=a,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(a)}layoutContentWidget(i){let a=i.getId();if(this._contentWidgets.hasOwnProperty(a)){let _=this._contentWidgets[a];_.position=i.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(_)}}removeContentWidget(i){let a=i.getId();if(this._contentWidgets.hasOwnProperty(a)){let _=this._contentWidgets[a];delete this._contentWidgets[a],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(_)}}addOverlayWidget(i){let a={widget:i,position:i.getPosition()};this._overlayWidgets.hasOwnProperty(i.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[i.getId()]=a,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(a)}layoutOverlayWidget(i){let a=i.getId();if(this._overlayWidgets.hasOwnProperty(a)){let _=this._overlayWidgets[a];_.position=i.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(_)}}removeOverlayWidget(i){let a=i.getId();if(this._overlayWidgets.hasOwnProperty(a)){let _=this._overlayWidgets[a];delete this._overlayWidgets[a],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(_)}}changeViewZones(i){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(i)}getTargetAtClientPoint(i,a){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(i,a):null}getScrolledVisiblePosition(i){if(!this._modelData||!this._modelData.hasRealView)return null;let a=this._modelData.model.validatePosition(i),_=this._configuration.options,R=_.get(117);return{top:Ud._getVerticalOffsetForPosition(this._modelData,a.lineNumber,a.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(a.lineNumber,a.column)+R.glyphMarginWidth+R.lineNumbersWidth+R.decorationsWidth-this.getScrollLeft(),height:_.get(51)}}getOffsetForColumn(i,a){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(i,a):-1}render(i=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,i)}setAriaOptions(i){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(i)}applyFontInfo(i){W.a.applyFontInfoSlow(i,this._configuration.options.get(36))}_attachModel(i){if(!i)return void(this._modelData=null);let a=[];this._domElement.setAttribute("data-mode-id",i.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(i.isDominatedByLongLines()),this._configuration.setMaxLineNumber(i.getLineCount()),i.onBeforeAttached();let _=new yr(this._id,this._configuration,i,Or.create(),ps.create(this._configuration.options),we=>f.Y(we));a.push(i.onDidChangeDecorations(we=>this._onDidChangeModelDecorations.fire(we))),a.push(i.onDidChangeLanguage(we=>{this._domElement.setAttribute("data-mode-id",i.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(we)})),a.push(i.onDidChangeLanguageConfiguration(we=>this._onDidChangeModelLanguageConfiguration.fire(we))),a.push(i.onDidChangeContent(we=>this._onDidChangeModelContent.fire(we))),a.push(i.onDidChangeOptions(we=>this._onDidChangeModelOptions.fire(we))),a.push(i.onWillDispose(()=>this.setModel(null))),a.push(_.onEvent(we=>{switch(we.kind){case 0:this._onDidContentSizeChange.fire(we);break;case 1:this._editorTextFocus.setValue(we.hasFocus);break;case 2:this._onDidScrollChange.fire(we);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{we.reachedMaxCursorCount&&this._notificationService.warn(h.a("cursors.maximum","The number of cursors has been limited to {0}.",Do.MAX_CURSOR_COUNT));let Pe=[];for(let at=0,bt=we.selections.length;at<bt;at++)Pe[at]=we.selections[at].getPosition();let Ve={position:Pe[0],secondaryPositions:Pe.slice(1),reason:we.reason,source:we.source};this._onDidChangeCursorPosition.fire(Ve);let Je={selection:we.selections[0],secondarySelections:we.selections.slice(1),modelVersionId:we.modelVersionId,oldSelections:we.oldSelections,oldModelVersionId:we.oldModelVersionId,source:we.source,reason:we.reason};this._onDidChangeCursorSelection.fire(Je);break}}}));let[R,K]=this._createView(_);if(K){this._domElement.appendChild(R.domNode.domNode);let we=Object.keys(this._contentWidgets);for(let Pe=0,Ve=we.length;Pe<Ve;Pe++){let Je=we[Pe];R.addContentWidget(this._contentWidgets[Je])}we=Object.keys(this._overlayWidgets);for(let Pe=0,Ve=we.length;Pe<Ve;Pe++){let Je=we[Pe];R.addOverlayWidget(this._overlayWidgets[Je])}R.render(!1,!0),R.domNode.domNode.setAttribute("data-uri",i.uri.toString())}this._modelData=new ka(i,_,R,K,a)}_createView(i){let a;a=this.isSimpleWidget?{paste:(R,K,we,Pe)=>{this._paste("keyboard",R,K,we,Pe)},type:R=>{this._type("keyboard",R)},replacePreviousChar:(R,K)=>{this._replacePreviousChar("keyboard",R,K)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(R,K,we,Pe)=>{let Ve={text:R,pasteOnNewLine:K,multicursorText:we,mode:Pe};this._commandService.executeCommand("paste",Ve)},type:R=>{let K={text:R};this._commandService.executeCommand("type",K)},replacePreviousChar:(R,K)=>{let we={text:R,replaceCharCnt:K};this._commandService.executeCommand("replacePreviousChar",we)},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};let _=new Wi(i.coordinatesConverter);return _.onKeyDown=R=>this._onKeyDown.fire(R),_.onKeyUp=R=>this._onKeyUp.fire(R),_.onContextMenu=R=>this._onContextMenu.fire(R),_.onMouseMove=R=>this._onMouseMove.fire(R),_.onMouseLeave=R=>this._onMouseLeave.fire(R),_.onMouseDown=R=>this._onMouseDown.fire(R),_.onMouseUp=R=>this._onMouseUp.fire(R),_.onMouseDrag=R=>this._onMouseDrag.fire(R),_.onMouseDrop=R=>this._onMouseDrop.fire(R),_.onMouseWheel=R=>this._onMouseWheel.fire(R),[new sn(a,this._configuration,this._themeService,i,_,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(i){i&&i.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;let i=this._modelData.model,a=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),a&&this._domElement.contains(a)&&this._domElement.removeChild(a),i}_removeDecorationType(i){this._codeEditorService.removeDecorationType(i)}hasModel(){return this._modelData!==null}};hr=Dr([Ar(3,hs.a),Ar(4,y.a),Ar(5,qr.b),Ar(6,Ss.b),Ar(7,ht.c),Ar(8,Ca.a),Ar(9,xa.b)],hr);class Ks extends E.a{constructor(){super(),this._onDidChangeToTrue=this._register(new H.a),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new H.a),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(i){let a=i?2:1;this._value!==a&&(this._value=a,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}class Ts extends E.a{constructor(i,a){super(),this._editor=i,a.createKey("editorId",i.getId()),this._editorSimpleInput=eo.a.editorSimpleInput.bindTo(a),this._editorFocus=eo.a.focus.bindTo(a),this._textInputFocus=eo.a.textInputFocus.bindTo(a),this._editorTextFocus=eo.a.editorTextFocus.bindTo(a),this._editorTabMovesFocus=eo.a.tabMovesFocus.bindTo(a),this._editorReadonly=eo.a.readOnly.bindTo(a),this._editorColumnSelection=eo.a.columnSelection.bindTo(a),this._hasMultipleSelections=eo.a.hasMultipleSelections.bindTo(a),this._hasNonEmptySelection=eo.a.hasNonEmptySelection.bindTo(a),this._canUndo=eo.a.canUndo.bindTo(a),this._canRedo=eo.a.canRedo.bindTo(a),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){let i=this._editor.getOptions();this._editorTabMovesFocus.set(i.get(116)),this._editorReadonly.set(i.get(72)),this._editorColumnSelection.set(i.get(13))}_updateFromSelection(){let i=this._editor.getSelections();i?(this._hasMultipleSelections.set(i.length>1),this._hasNonEmptySelection.set(i.some(a=>!a.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){let i=this._editor.getModel();this._canUndo.set(Boolean(i&&i.canUndo())),this._canRedo.set(Boolean(i&&i.canRedo()))}}class Qo extends E.a{constructor(i,a){super(),this._editor=i,this._contextKeyService=a,this._langId=eo.a.languageId.bindTo(a),this._hasCompletionItemProvider=eo.a.hasCompletionItemProvider.bindTo(a),this._hasCodeActionsProvider=eo.a.hasCodeActionsProvider.bindTo(a),this._hasCodeLensProvider=eo.a.hasCodeLensProvider.bindTo(a),this._hasDefinitionProvider=eo.a.hasDefinitionProvider.bindTo(a),this._hasDeclarationProvider=eo.a.hasDeclarationProvider.bindTo(a),this._hasImplementationProvider=eo.a.hasImplementationProvider.bindTo(a),this._hasTypeDefinitionProvider=eo.a.hasTypeDefinitionProvider.bindTo(a),this._hasHoverProvider=eo.a.hasHoverProvider.bindTo(a),this._hasDocumentHighlightProvider=eo.a.hasDocumentHighlightProvider.bindTo(a),this._hasDocumentSymbolProvider=eo.a.hasDocumentSymbolProvider.bindTo(a),this._hasReferenceProvider=eo.a.hasReferenceProvider.bindTo(a),this._hasRenameProvider=eo.a.hasRenameProvider.bindTo(a),this._hasSignatureHelpProvider=eo.a.hasSignatureHelpProvider.bindTo(a),this._hasDocumentFormattingProvider=eo.a.hasDocumentFormattingProvider.bindTo(a),this._hasDocumentSelectionFormattingProvider=eo.a.hasDocumentSelectionFormattingProvider.bindTo(a),this._hasMultipleDocumentFormattingProvider=eo.a.hasMultipleDocumentFormattingProvider.bindTo(a),this._hasMultipleDocumentSelectionFormattingProvider=eo.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(a),this._isInWalkThrough=eo.a.isInWalkThroughSnippet.bindTo(a);let _=()=>this._update();this._register(i.onDidChangeModel(_)),this._register(i.onDidChangeModelLanguage(_)),this._register(X.d.onDidChange(_)),this._register(X.a.onDidChange(_)),this._register(X.b.onDidChange(_)),this._register(X.f.onDidChange(_)),this._register(X.e.onDidChange(_)),this._register(X.q.onDidChange(_)),this._register(X.D.onDidChange(_)),this._register(X.p.onDidChange(_)),this._register(X.i.onDidChange(_)),this._register(X.m.onDidChange(_)),this._register(X.v.onDidChange(_)),this._register(X.w.onDidChange(_)),this._register(X.g.onDidChange(_)),this._register(X.j.onDidChange(_)),this._register(X.y.onDidChange(_)),_()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){let i=this._editor.getModel();i?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(i.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(X.d.has(i)),this._hasCodeActionsProvider.set(X.a.has(i)),this._hasCodeLensProvider.set(X.b.has(i)),this._hasDefinitionProvider.set(X.f.has(i)),this._hasDeclarationProvider.set(X.e.has(i)),this._hasImplementationProvider.set(X.q.has(i)),this._hasTypeDefinitionProvider.set(X.D.has(i)),this._hasHoverProvider.set(X.p.has(i)),this._hasDocumentHighlightProvider.set(X.i.has(i)),this._hasDocumentSymbolProvider.set(X.m.has(i)),this._hasReferenceProvider.set(X.v.has(i)),this._hasRenameProvider.set(X.w.has(i)),this._hasSignatureHelpProvider.set(X.y.has(i)),this._hasDocumentFormattingProvider.set(X.g.has(i)||X.j.has(i)),this._hasDocumentSelectionFormattingProvider.set(X.j.has(i)),this._hasMultipleDocumentFormattingProvider.set(X.g.all(i).length+X.j.all(i).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(X.j.all(i).length>1),this._isInWalkThrough.set(i.uri.scheme===ge.b.walkThroughSnippet)}):this.reset()}}class sr extends E.a{constructor(i){super(),this._onChange=this._register(new H.a),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(f.bb(i)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}let ra=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Ls=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function qo(Zt){return ra+encodeURIComponent(Zt.toString())+Ls}let Ns=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),ar=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(ht.g)((Zt,i)=>{let a=Zt.getColor(lt.t);a&&i.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${a}; }`);let _=Zt.getColor(lt.u);_&&i.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${qo(_)}") repeat-x bottom left; }`);let R=Zt.getColor(lt.S);R&&i.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${R}; }`);let K=Zt.getColor(lt.T);K&&i.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${qo(K)}") repeat-x bottom left; }`);let we=Zt.getColor(lt.K);we&&i.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${we}; }`);let Pe=Zt.getColor(lt.L);Pe&&i.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${qo(Pe)}") repeat-x bottom left; }`);let Ve=Zt.getColor(lt.C);Ve&&i.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${Ve}; }`);let Je=Zt.getColor(lt.D);var at;Je&&i.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${at=Je,Ns+encodeURIComponent(at.toString())+ar}") no-repeat bottom left; }`);let bt=Zt.getColor(ki.p);bt&&i.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${bt.rgba.a}; }`);let Bt=Zt.getColor(ki.o);Bt&&i.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${Bt}; }`);let Pt=Zt.getColor(lt.B)||"inherit";i.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${Pt}}`)})},function(Ie,w,o){"use strict";o.d(w,"c",function(){return f}),o.d(w,"b",function(){return D}),o.d(w,"a",function(){return H});var h=o(1);function f(W,Q={}){let y=H(Q);return y.textContent=W,y}function D(W,Q={}){let y=H(Q);return function C(S,P,V){let k;if(P.type===2)k=document.createTextNode(P.content||"");else if(P.type===3)k=document.createElement("b");else if(P.type===4)k=document.createElement("i");else if(P.type===5&&V){let l=document.createElement("a");l.href="#",V.disposeables.add(h.n(l,"click",T=>{V.callback(String(P.index),T)})),k=l}else P.type===7?k=document.createElement("br"):P.type===1&&(k=S);k&&S!==k&&S.appendChild(k),k&&Array.isArray(P.children)&&P.children.forEach(l=>{C(k,l,V)})}(y,function(C){let S={type:1,children:[]},P=0,V=S,k=[],l=new E(C);for(;!l.eos();){let T=l.next(),N=T==="\\"&&ge(l.peek())!==0;if(N&&(T=l.next()),N||ge(T)===0||T!==l.peek())if(T===` +`)V.type===2&&(V=k.pop()),V.children.push({type:7});else if(V.type!==2){let b={type:2,content:T};V.children.push(b),k.push(V),V=b}else V.content+=T;else{l.advance(),V.type===2&&(V=k.pop());let b=ge(T);if(V.type===b||V.type===5&&b===6)V=k.pop();else{let g={type:b,children:[]};b===5&&(g.index=P,P++),V.children.push(g),k.push(V),V=g}}}return V.type===2&&(V=k.pop()),k.length,S}(W),Q.actionHandler),y}function H(W){let Q=W.inline?"span":"div",y=document.createElement(Q);return W.className&&(y.className=W.className),y}class E{constructor(Q){this.source=Q,this.index=0}eos(){return this.index>=this.source.length}next(){let Q=this.peek();return this.advance(),Q}peek(){return this.source[this.index]}advance(){this.index++}}function ge(W){switch(W){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E});var h=o(6),f=o(2),D=o(18);let H=Object(D.c)("IStorageKeysSyncRegistryService");class E extends f.a{constructor(){super(),this._storageKeys=new Map,this._onDidChangeStorageKeys=this._register(new h.a),this._register(Object(f.h)(()=>this._storageKeys.clear()))}get storageKeys(){return[...this._storageKeys.values()]}registerStorageKey(W){this._storageKeys.has(W.key)||(this._storageKeys.set(W.key,W),this._onDidChangeStorageKeys.fire(this.storageKeys))}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return P}),o.d(w,"b",function(){return V}),o.d(w,"c",function(){return k});var h=o(34),f=o(1),D=o(20),H=o(6),E=o(2),ge=o(11),W=o(8),Q=o(127),y=o(9),C=o(21),S=o(138);let P={forceCopyWithSyntaxHighlighting:!1};class V{constructor(){this._lastState=null}set(b,g){this._lastState={lastCopiedValue:b,data:g}}get(b){return this._lastState&&this._lastState.lastCopiedValue===b?this._lastState.data:(this._lastState=null,null)}}V.INSTANCE=new V;class k extends E.a{constructor(b,g){super(),this.textArea=g,this._onFocus=this._register(new H.a),this.onFocus=this._onFocus.event,this._onBlur=this._register(new H.a),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new H.a),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new H.a),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new H.a),this.onCut=this._onCut.event,this._onPaste=this._register(new H.a),this.onPaste=this._onPaste.event,this._onType=this._register(new H.a),this.onType=this._onType.event,this._onCompositionStart=this._register(new H.a),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new H.a),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new H.a),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new H.a),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._host=b,this._textArea=this._register(new T(g)),this._asyncTriggerCut=this._register(new D.d(()=>this._onCut.fire(),0)),this._textAreaState=Q.b.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let j=null;this._register(f.n(g.domNode,"keydown",B=>{(B.keyCode===109||this._isDoingComposition&&B.keyCode===1)&&B.stopPropagation(),B.equals(9)&&B.preventDefault(),j=B,this._onKeyDown.fire(B)})),this._register(f.n(g.domNode,"keyup",B=>{this._onKeyUp.fire(B)})),this._register(f.i(g.domNode,"compositionstart",B=>{if(this._isDoingComposition)return;this._isDoingComposition=!0;let se=!1;ge.f&&j&&j.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===B.data&&(j.code!=="ArrowRight"&&j.code!=="ArrowLeft"||(se=!0)),se?this._textAreaState=new Q.b(this._textAreaState.value,this._textAreaState.selectionStart-1,this._textAreaState.selectionEnd,this._textAreaState.selectionStartPosition?new y.a(this._textAreaState.selectionStartPosition.lineNumber,this._textAreaState.selectionStartPosition.column-1):null,this._textAreaState.selectionEndPosition):h.f||this._setAndWriteTextAreaState("compositionstart",Q.b.EMPTY),this._onCompositionStart.fire({moveOneCharacterLeft:se})}));let ie=B=>{let se=this._textAreaState,ke=Q.b.readFromTextArea(this._textArea);return[ke,Q.b.deduceInput(se,ke,B)]},U=B=>{let se=this._textAreaState,ke=Q.b.selectedText(B);return[ke,{text:ke.value,replaceCharCnt:se.selectionEnd-se.selectionStart}]},q=B=>!(!h.f||B!=="ja");this._register(f.i(g.domNode,"compositionupdate",B=>{if(q(B.locale)){let[xe,Y]=ie(!1);return this._textAreaState=xe,this._onType.fire(Y),void this._onCompositionUpdate.fire(B)}let[se,ke]=U(B.data||"");this._textAreaState=se,this._onType.fire(ke),this._onCompositionUpdate.fire(B)})),this._register(f.i(g.domNode,"compositionend",B=>{if(this._isDoingComposition){if(q(B.locale)){let[se,ke]=ie(!1);this._textAreaState=se,this._onType.fire(ke)}else{let[se,ke]=U(B.data||"");this._textAreaState=se,this._onType.fire(ke)}(h.f||h.e)&&(this._textAreaState=Q.b.readFromTextArea(this._textArea)),this._isDoingComposition&&(this._isDoingComposition=!1,this._onCompositionEnd.fire())}})),this._register(f.i(g.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),this._isDoingComposition)return;let[B,se]=ie(ge.f);se.replaceCharCnt===0&&se.text.length===1&&W.F(se.text.charCodeAt(0))||(this._textAreaState=B,this._nextCommand===0?se.text!==""&&this._onType.fire(se):(se.text===""&&se.replaceCharCnt===0||this._firePaste(se.text,null),this._nextCommand=0))})),this._register(f.i(g.domNode,"cut",B=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(B),this._asyncTriggerCut.schedule()})),this._register(f.i(g.domNode,"copy",B=>{this._ensureClipboardGetsEditorSelection(B)})),this._register(f.i(g.domNode,"paste",B=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),l.canUseTextData(B)){let[se,ke]=l.getTextData(B);se!==""&&this._firePaste(se,ke)}else this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",Q.b.EMPTY),this._nextCommand=1})),this._register(f.i(g.domNode,"focus",()=>{this._setHasFocus(!0)})),this._register(f.i(g.domNode,"blur",()=>{this._setHasFocus(!1)}))}_installSelectionChangeListener(){let b=0;return f.i(document,"selectionchange",g=>{if(!this._hasFocus||this._isDoingComposition||!h.e)return;let j=Date.now(),ie=j-b;if(b=j,ie<5)return;let U=j-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),U<100||!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;let q=this._textArea.getValue();if(this._textAreaState.value!==q)return;let B=this._textArea.getSelectionStart(),se=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===B&&this._textAreaState.selectionEnd===se)return;let ke=this._textAreaState.deduceEditorPosition(B),xe=this._host.deduceModelPosition(ke[0],ke[1],ke[2]),Y=this._textAreaState.deduceEditorPosition(se),Z=this._host.deduceModelPosition(Y[0],Y[1],Y[2]),te=new C.a(xe.lineNumber,xe.column,Z.lineNumber,Z.column);this._onSelectionChangeRequest.fire(te)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){let b=f.E(this.textArea.domNode);b?this._setHasFocus(b.activeElement===this.textArea.domNode):f.N(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(b){this._hasFocus!==b&&(this._hasFocus=b,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(h.f?this._setAndWriteTextAreaState("focusgain",Q.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(b,g){this._hasFocus||(g=g.collapseSelection()),g.writeToTextArea(b,this._textArea,this._hasFocus),this._textAreaState=g}writeScreenReaderContent(b){this._isDoingComposition||this._setAndWriteTextAreaState(b,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(b){let g=this._host.getDataToCopy(l.canUseTextData(b)&&S.a.clipboard.richText),j={version:1,isFromEmptySelection:g.isFromEmptySelection,multicursorText:g.multicursorText,mode:g.mode};V.INSTANCE.set(h.h?g.text.replace(/\r\n/g,` +`):g.text,j),l.canUseTextData(b)?l.setTextData(b,g.text,g.html,j):this._setAndWriteTextAreaState("copy or cut",Q.b.selectedText(g.text))}_firePaste(b,g){g||(g=V.INSTANCE.get(b)),this._onPaste.fire({text:b,metadata:g})}}class l{static canUseTextData(b){return!!b.clipboardData||!!window.clipboardData}static getTextData(b){if(b.clipboardData){b.preventDefault();let g=b.clipboardData.getData("text/plain"),j=null,ie=b.clipboardData.getData("vscode-editor-data");if(typeof ie=="string")try{j=JSON.parse(ie),j.version!==1&&(j=null)}catch(U){}return[g,j]}if(window.clipboardData)return b.preventDefault(),[window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(b,g,j,ie){if(b.clipboardData)return b.clipboardData.setData("text/plain",g),typeof j=="string"&&b.clipboardData.setData("text/html",j),b.clipboardData.setData("vscode-editor-data",JSON.stringify(ie)),void b.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",g),void b.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")}}class T extends E.a{constructor(b){super(),this._actual=b,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(b){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(b,g){let j=this._actual.domNode;j.value!==g&&(this.setIgnoreSelectionChangeTime("setValue"),j.value=g)}getSelectionStart(){return this._actual.domNode.selectionStart}getSelectionEnd(){return this._actual.domNode.selectionEnd}setSelectionRange(b,g,j){let ie=this._actual.domNode,U=null,q=f.E(ie);U=q?q.activeElement:document.activeElement;let B=U===ie,se=ie.selectionStart,ke=ie.selectionEnd;if(B&&se===g&&ke===j)h.h&&window.parent!==window&&ie.focus();else{if(B)return this.setIgnoreSelectionChangeTime("setSelectionRange"),ie.setSelectionRange(g,j),void(h.h&&window.parent!==window&&ie.focus());try{let xe=f.X(ie);this.setIgnoreSelectionChangeTime("setSelectionRange"),ie.focus(),ie.setSelectionRange(g,j),f.V(ie,xe)}catch(xe){}}}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f}),o.d(w,"b",function(){return D});class h{constructor(E,ge,W){this.from=0|E,this.to=0|ge,this.colorId=0|W}static compare(E,ge){return E.colorId===ge.colorId?E.from===ge.from?E.to-ge.to:E.from-ge.from:E.colorId-ge.colorId}}class f{constructor(E,ge,W){this.startLineNumber=E,this.endLineNumber=ge,this.color=W,this._colorZone=null}static compare(E,ge){return E.color===ge.color?E.startLineNumber===ge.startLineNumber?E.endLineNumber-ge.endLineNumber:E.startLineNumber-ge.startLineNumber:E.color<ge.color?-1:1}setColorZone(E){this._colorZone=E}getColorZones(){return this._colorZone}}class D{constructor(E){this._getVerticalOffsetForLine=E,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(E){this._zones=E,this._zones.sort(f.compare)}setLineHeight(E){return this._lineHeight!==E&&(this._lineHeight=E,this._colorZonesInvalid=!0,!0)}setPixelRatio(E){this._pixelRatio=E,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(E){return this._domWidth!==E&&(this._domWidth=E,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(E){return this._domHeight!==E&&(this._domHeight=E,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(E){return this._outerHeight!==E&&(this._outerHeight=E,this._colorZonesInvalid=!0,!0)}resolveColorZones(){let E=this._colorZonesInvalid,ge=Math.floor(this._lineHeight),W=Math.floor(this.getCanvasHeight()),Q=W/Math.floor(this._outerHeight),y=Math.floor(4*this._pixelRatio/2),C=[];for(let S=0,P=this._zones.length;S<P;S++){let V=this._zones[S];if(!E){let ie=V.getColorZones();if(ie){C.push(ie);continue}}let k=Math.floor(Q*this._getVerticalOffsetForLine(V.startLineNumber)),l=Math.floor(Q*(this._getVerticalOffsetForLine(V.endLineNumber)+ge)),T=Math.floor((k+l)/2),N=l-T;N<y&&(N=y),T-N<0&&(T=N),T+N>W&&(T=W-N);let b=V.color,g=this._color2Id[b];g||(g=++this._lastAssignedId,this._color2Id[b]=g,this._id2Color[g]=b);let j=new h(T-N,T+N,g);V.setColorZone(j),C.push(j)}return this._colorZonesInvalid=!1,C.sort(h.compare),C}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return W});var h=o(23),f=o(51),D=o(18);o(78);let H=Object(D.c)("contextService");var E,ge;(function(Q){Q.isIWorkspace=function(y){return!(!y||typeof y!="object"||typeof y.id!="string"||!Array.isArray(y.folders))}})(E||(E={})),function(Q){Q.isIWorkspaceFolder=function(y){return!(!y||typeof y!="object"||!h.a.isUri(y.uri)||typeof y.name!="string"||typeof y.toResource!="function")}}(ge||(ge={}));class W{constructor(y,C){this.raw=C,this.uri=y.uri,this.index=y.index,this.name=y.name}toResource(y){return f.g(this.uri,y)}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H});var h=o(6),f=o(2);class D{constructor(y,C,S,P,V,k){y|=0,C|=0,S|=0,P|=0,V|=0,k|=0,this.rawScrollLeft=S,this.rawScrollTop=k,y<0&&(y=0),S+y>C&&(S=C-y),S<0&&(S=0),P<0&&(P=0),k+P>V&&(k=V-P),k<0&&(k=0),this.width=y,this.scrollWidth=C,this.scrollLeft=S,this.height=P,this.scrollHeight=V,this.scrollTop=k}equals(y){return this.rawScrollLeft===y.rawScrollLeft&&this.rawScrollTop===y.rawScrollTop&&this.width===y.width&&this.scrollWidth===y.scrollWidth&&this.scrollLeft===y.scrollLeft&&this.height===y.height&&this.scrollHeight===y.scrollHeight&&this.scrollTop===y.scrollTop}withScrollDimensions(y,C){return new D(y.width!==void 0?y.width:this.width,y.scrollWidth!==void 0?y.scrollWidth:this.scrollWidth,C?this.rawScrollLeft:this.scrollLeft,y.height!==void 0?y.height:this.height,y.scrollHeight!==void 0?y.scrollHeight:this.scrollHeight,C?this.rawScrollTop:this.scrollTop)}withScrollPosition(y){return new D(this.width,this.scrollWidth,y.scrollLeft!==void 0?y.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,y.scrollTop!==void 0?y.scrollTop:this.rawScrollTop)}createScrollEvent(y){let C=this.width!==y.width,S=this.scrollWidth!==y.scrollWidth,P=this.scrollLeft!==y.scrollLeft,V=this.height!==y.height,k=this.scrollHeight!==y.scrollHeight,l=this.scrollTop!==y.scrollTop;return{oldWidth:y.width,oldScrollWidth:y.scrollWidth,oldScrollLeft:y.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:y.height,oldScrollHeight:y.scrollHeight,oldScrollTop:y.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:C,scrollWidthChanged:S,scrollLeftChanged:P,heightChanged:V,scrollHeightChanged:k,scrollTopChanged:l}}}class H extends f.a{constructor(y,C){super(),this._onScroll=this._register(new h.a),this.onScroll=this._onScroll.event,this._smoothScrollDuration=y,this._scheduleAtNextAnimationFrame=C,this._state=new D(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(y){this._smoothScrollDuration=y}validateScrollPosition(y){return this._state.withScrollPosition(y)}getScrollDimensions(){return this._state}setScrollDimensions(y,C){let S=this._state.withScrollDimensions(y,C);this._setState(S),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(y){let C=this._state.withScrollPosition(y);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(C)}setScrollPositionSmooth(y){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(y);if(this._smoothScrolling){y={scrollLeft:y.scrollLeft===void 0?this._smoothScrolling.to.scrollLeft:y.scrollLeft,scrollTop:y.scrollTop===void 0?this._smoothScrolling.to.scrollTop:y.scrollTop};let C=this._state.withScrollPosition(y);if(this._smoothScrolling.to.scrollLeft===C.scrollLeft&&this._smoothScrolling.to.scrollTop===C.scrollTop)return;let S=this._smoothScrolling.combine(this._state,C,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=S}else{let C=this._state.withScrollPosition(y);this._smoothScrolling=W.start(this._state,C,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;let y=this._smoothScrolling.tick(),C=this._state.withScrollPosition(y);return this._setState(C),this._smoothScrolling?y.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})):void 0}_setState(y){let C=this._state;C.equals(y)||(this._state=y,this._onScroll.fire(this._state.createScrollEvent(C)))}}class E{constructor(y,C,S){this.scrollLeft=y,this.scrollTop=C,this.isDone=S}}function ge(Q,y){let C=y-Q;return function(S){return Q+C*(1-function(P){return Math.pow(P,3)}(1-S))}}class W{constructor(y,C,S,P){this.from=y,this.to=C,this.duration=P,this._startTime=S,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(y,C,S){if(Math.abs(y-C)>2.5*S){let l,T;return y<C?(l=y+.75*S,T=C-.75*S):(l=y-.75*S,T=C+.75*S),P=ge(y,l),V=ge(T,C),k=.33,function(N){return N<k?P(N/k):V((N-k)/(1-k))}}var P,V,k;return ge(y,C)}dispose(){this.animationFrameDisposable!==null&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(y){this.to=y.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(y){let C=(y-this._startTime)/this.duration;if(C<1){let S=this.scrollLeft(C),P=this.scrollTop(C);return new E(S,P,!1)}return new E(this.to.scrollLeft,this.to.scrollTop,!0)}combine(y,C,S){return W.start(y,C,S)}static start(y,C,S){S+=10;let P=Date.now()-10;return new W(y,C,P,S)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("dialogService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return W}),o(269);var h=o(1),f=o(156),D=o(2),H=o(99),E=o(46);class ge{constructor(S){this._element=S}get element(){return this._element}set textContent(S){this.disposed||S===this._textContent||(this._textContent=S,this._element.textContent=S)}set className(S){this.disposed||S===this._className||(this._className=S,this._element.className=S)}set title(S){this.disposed||S===this._title||(this._title=S,this._title?this._element.title=S:this._element.removeAttribute("title"))}set empty(S){this.disposed||S===this._empty||(this._empty=S,this._element.style.marginLeft=S?"0":"")}dispose(){this.disposed=!0}}class W extends D.a{constructor(S,P){super(),this.domNode=this._register(new ge(h.p(S,h.a(".monaco-icon-label"))));let V=h.p(this.domNode.element,h.a(".monaco-icon-label-container")),k=h.p(V,h.a("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new ge(h.p(V,h.a("span.monaco-icon-description-container")))),(P==null?void 0:P.supportHighlights)?this.nameNode=new y(k,!!P.supportCodicons):this.nameNode=new Q(k),(P==null?void 0:P.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new f.a(h.p(this.descriptionContainer.element,h.a("span.label-description")),!!P.supportCodicons):this.descriptionNodeFactory=()=>this._register(new ge(h.p(this.descriptionContainer.element,h.a("span.label-description"))))}setLabel(S,P,V){let k=["monaco-icon-label"];V&&(V.extraClasses&&k.push(...V.extraClasses),V.italic&&k.push("italic"),V.strikethrough&&k.push("strikethrough")),this.domNode.className=k.join(" "),this.domNode.title=(V==null?void 0:V.title)||"",this.nameNode.setLabel(S,V),(P||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof f.a?(this.descriptionNode.set(P||"",V?V.descriptionMatches:void 0),(V==null?void 0:V.descriptionTitle)?this.descriptionNode.element.title=V.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=P||"",this.descriptionNode.title=(V==null?void 0:V.descriptionTitle)||"",this.descriptionNode.empty=!P))}}class Q{constructor(S){this.container=S,this.label=void 0,this.singleLabel=void 0}setLabel(S,P){if(this.label!==S||!Object(E.e)(this.options,P))if(this.label=S,this.options=P,typeof S=="string")this.singleLabel||(this.container.innerText="",h.Q(this.container,"multiple"),this.singleLabel=h.p(this.container,h.a("a.label-name",{id:P==null?void 0:P.domId}))),this.singleLabel.textContent=S;else{this.container.innerText="",h.e(this.container,"multiple"),this.singleLabel=void 0;for(let V=0;V<S.length;V++){let k=S[V],l=(P==null?void 0:P.domId)&&`${P==null?void 0:P.domId}_${V}`;h.p(this.container,h.a("a.label-name",{id:l,"data-icon-label-count":S.length,"data-icon-label-index":V,role:"treeitem"},k)),V<S.length-1&&h.p(this.container,h.a("span.label-separator",void 0,(P==null?void 0:P.separator)||"/"))}}}}class y{constructor(S,P){this.container=S,this.supportCodicons=P,this.label=void 0,this.singleLabel=void 0}setLabel(S,P){if(this.label!==S||!Object(E.e)(this.options,P))if(this.label=S,this.options=P,typeof S=="string")this.singleLabel||(this.container.innerText="",h.Q(this.container,"multiple"),this.singleLabel=new f.a(h.p(this.container,h.a("a.label-name",{id:P==null?void 0:P.domId})),this.supportCodicons)),this.singleLabel.set(S,P==null?void 0:P.matches,P==null?void 0:P.title,P==null?void 0:P.labelEscapeNewLines);else{this.container.innerText="",h.e(this.container,"multiple"),this.singleLabel=void 0;let V=(P==null?void 0:P.separator)||"/",k=function(l,T,N){if(!N)return;let b=0;return l.map(g=>{let j={start:b,end:b+g.length},ie=N.map(U=>H.a.intersect(j,U)).filter(U=>!H.a.isEmpty(U)).map(({start:U,end:q})=>({start:U-b,end:q-b}));return b=j.end+T.length,ie})}(S,V,P==null?void 0:P.matches);for(let l=0;l<S.length;l++){let T=S[l],N=k?k[l]:void 0,b=(P==null?void 0:P.domId)&&`${P==null?void 0:P.domId}_${l}`,g=h.a("a.label-name",{id:b,"data-icon-label-count":S.length,"data-icon-label-index":l,role:"treeitem"});new f.a(h.p(this.container,g),this.supportCodicons).set(T,N,P==null?void 0:P.title,P==null?void 0:P.labelEscapeNewLines),l<S.length-1&&h.p(g,h.a("span.label-separator",void 0,V))}}}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return T}),o.d(w,"a",function(){return N}),o(273);var h=o(0),f=o(1),D=o(165),H=o(66),E=o(116),ge=o(6),W=o(82),Q=o(16),y=o(46);class C{constructor(g,j=0,ie=g.length,U=j-1){this.items=g,this.start=j,this.end=ie,this.index=U}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class S{constructor(g=[],j=10){this._initialize(g),this._limit=j,this._onChange()}add(g){this._history.delete(g),this._history.add(g),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(g){return this._history.has(g)}_onChange(){this._reduceToLimit();let g=this._elements;this._navigator=new C(g,0,g.length,g.length)}_reduceToLimit(){let g=this._elements;g.length>this._limit&&this._initialize(g.slice(g.length-this._limit))}_currentPosition(){let g=this._navigator.current();return g?this._elements.indexOf(g):-1}_initialize(g){this._history=new Set;for(let j of g)this._history.add(j)}get _elements(){let g=[];return this._history.forEach(j=>g.push(j)),g}}var P=o(105),V=o(44);let k=f.a,l={inputBackground:Q.a.fromHex("#3C3C3C"),inputForeground:Q.a.fromHex("#CCCCCC"),inputValidationInfoBorder:Q.a.fromHex("#55AAFF"),inputValidationInfoBackground:Q.a.fromHex("#063B49"),inputValidationWarningBorder:Q.a.fromHex("#B89500"),inputValidationWarningBackground:Q.a.fromHex("#352A05"),inputValidationErrorBorder:Q.a.fromHex("#BE1100"),inputValidationErrorBackground:Q.a.fromHex("#5A1D1D")};class T extends W.a{constructor(g,j,ie){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new ge.a),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new ge.a),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=j,this.options=ie||Object.create(null),Object(y.g)(this.options,l,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=f.p(g,k(".monaco-inputbox.idle"));let U=this.options.flexibleHeight?"textarea":"input",q=f.p(this.element,k(".wrapper"));if(this.input=f.p(q,k(U+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight=typeof this.options.flexibleMaxHeight=="number"?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=f.p(q,k("div.mirror")),this.mirror.innerText="\xA0",this.scrollableElement=new P.b(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),f.p(g,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(se=>this.input.scrollTop=se.scrollTop));let B=ge.b.filter(Object(V.a)(document,"selectionchange"),()=>{let se=document.getSelection();return(se==null?void 0:se.anchorNode)===q});this._register(B(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&this.setPlaceHolder(this.placeholder),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new E.a(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage()}onFocus(){this._showMessage()}setPlaceHolder(g){this.placeholder=g,this.input.setAttribute("placeholder",g),this.input.title=g}setAriaLabel(g){this.ariaLabel=g,g?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(g){this.input.value!==g&&(this.input.value=g,this.onValueChange())}get height(){return typeof this.cachedHeight=="number"?this.cachedHeight:f.G(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(g=null){this.input.select(),g&&this.input.setSelectionRange(g.start,g.end)}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return f.H(this.input)}set width(g){if(this.options.flexibleHeight&&this.options.flexibleWidth){let j=0;this.mirror&&(j=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)),this.input.style.width=g-j+"px"}else this.input.style.width=g+"px";this.mirror&&(this.mirror.style.width=g+"px")}set paddingRight(g){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${g}px)`:this.input.style.paddingRight=g+"px",this.mirror&&(this.mirror.style.paddingRight=g+"px")}updateScrollDimensions(){if(typeof this.cachedContentHeight!="number"||typeof this.cachedHeight!="number"||!this.scrollableElement)return;let g=this.cachedContentHeight,j=this.cachedHeight,ie=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:g,height:j}),this.scrollableElement.setScrollPosition({scrollTop:ie})}showMessage(g,j){this.message=g,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(g.type));let ie=this.stylesForType(this.message.type);this.element.style.border=ie.border?"1px solid "+ie.border:"",(this.hasFocus()||j)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let g=null;return this.validation&&(g=this.validation(this.value),g?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(g)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!g}stylesForType(g){switch(g){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(g){switch(g){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let g,j,ie=()=>g.style.width=f.H(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:U=>{if(!this.message)return null;g=f.p(U,k(".monaco-inputbox-container")),ie();let q={inline:!0,className:"monaco-inputbox-message"},B=this.message.formatContent?Object(D.b)(this.message.content,q):Object(D.c)(this.message.content,q);B.classList.add(this.classForType(this.message.type));let se=this.stylesForType(this.message.type);return B.style.backgroundColor=se.background?se.background.toString():"",B.style.color=se.foreground?se.foreground.toString():"",B.style.border=se.border?"1px solid "+se.border:"",f.p(g,B),null},onHide:()=>{this.state="closed"},layout:ie}),j=this.message.type===3?h.a("alertErrorMessage","Error: {0}",this.message.content):this.message.type===2?h.a("alertWarningMessage","Warning: {0}",this.message.content):h.a("alertInfoMessage","Info: {0}",this.message.content),H.a(j),this.state="open"}_hideMessage(){this.contextViewProvider&&(this.state==="open"&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),this.state==="open"&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;let g=this.value,j=g.charCodeAt(g.length-1)===10?" ":"";g+j?this.mirror.textContent=g+j:this.mirror.innerText="\xA0",this.layout()}style(g){this.inputBackground=g.inputBackground,this.inputForeground=g.inputForeground,this.inputBorder=g.inputBorder,this.inputValidationInfoBackground=g.inputValidationInfoBackground,this.inputValidationInfoForeground=g.inputValidationInfoForeground,this.inputValidationInfoBorder=g.inputValidationInfoBorder,this.inputValidationWarningBackground=g.inputValidationWarningBackground,this.inputValidationWarningForeground=g.inputValidationWarningForeground,this.inputValidationWarningBorder=g.inputValidationWarningBorder,this.inputValidationErrorBackground=g.inputValidationErrorBackground,this.inputValidationErrorForeground=g.inputValidationErrorForeground,this.inputValidationErrorBorder=g.inputValidationErrorBorder,this.applyStyles()}applyStyles(){let g=this.inputBackground?this.inputBackground.toString():"",j=this.inputForeground?this.inputForeground.toString():"",ie=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=g,this.element.style.color=j,this.input.style.backgroundColor="inherit",this.input.style.color=j,this.element.style.borderWidth=ie?"1px":"",this.element.style.borderStyle=ie?"solid":"",this.element.style.borderColor=ie}layout(){if(!this.mirror)return;let g=this.cachedContentHeight;this.cachedContentHeight=f.G(this.mirror),g!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(g){let j=this.inputElement,ie=j.selectionStart,U=j.selectionEnd,q=j.value;ie!==null&&U!==null&&(this.value=q.substr(0,ie)+g+q.substr(U),j.setSelectionRange(ie+1,ie+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class N extends T{constructor(g,j,ie){super(g,j,ie),this.history=new S(ie.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let g=this.getNextValue();g&&(g=g===this.value?this.getNextValue():g),g&&(this.value=g,H.c(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let g=this.getPreviousValue();g&&(g=g===this.value?this.getPreviousValue():g),g&&(this.value=g,H.c(this.value))}getCurrentValue(){let g=this.history.current();return g||(g=this.history.last(),this.history.next()),g}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},function(Ie,w,o){"use strict";function h(f,D){if(!f)throw new Error(D?`Assertion failed (${D})`:"Assertion Failed")}o.d(w,"a",function(){return h})},function(Ie,w,o){"use strict";o.d(w,"b",function(){return S}),o.d(w,"a",function(){return P});var h=o(0),f=o(13),D=o(21),H=o(23),E=o(180),ge=o(72);function W(V){return V.toString()}class Q{constructor(k,l,T,N,b,g,j){this.beforeVersionId=k,this.afterVersionId=l,this.beforeEOL=T,this.afterEOL=N,this.beforeCursorState=b,this.afterCursorState=g,this.changes=j}static create(k,l){let T=k.getAlternativeVersionId(),N=C(k);return new Q(T,T,N,N,l,l,[])}append(k,l,T,N,b){l.length>0&&(this.changes=Object(E.b)(this.changes,l)),this.afterEOL=T,this.afterVersionId=N,this.afterCursorState=b}static _writeSelectionsSize(k){return 4+16*(k?k.length:0)}static _writeSelections(k,l,T){if(ge.f(k,l?l.length:0,T),T+=4,l)for(let N of l)ge.f(k,N.selectionStartLineNumber,T),T+=4,ge.f(k,N.selectionStartColumn,T),T+=4,ge.f(k,N.positionLineNumber,T),T+=4,ge.f(k,N.positionColumn,T),T+=4;return T}static _readSelections(k,l,T){let N=ge.c(k,l);l+=4;for(let b=0;b<N;b++){let g=ge.c(k,l);l+=4;let j=ge.c(k,l);l+=4;let ie=ge.c(k,l);l+=4;let U=ge.c(k,l);l+=4,T.push(new D.a(g,j,ie,U))}return l}serialize(){let k=10+Q._writeSelectionsSize(this.beforeCursorState)+Q._writeSelectionsSize(this.afterCursorState)+4;for(let N of this.changes)k+=N.writeSize();let l=new Uint8Array(k),T=0;ge.f(l,this.beforeVersionId,T),T+=4,ge.f(l,this.afterVersionId,T),T+=4,ge.g(l,this.beforeEOL,T),T+=1,ge.g(l,this.afterEOL,T),T+=1,T=Q._writeSelections(l,this.beforeCursorState,T),T=Q._writeSelections(l,this.afterCursorState,T),ge.f(l,this.changes.length,T),T+=4;for(let N of this.changes)T=N.write(l,T);return l.buffer}static deserialize(k){let l=new Uint8Array(k),T=0,N=ge.c(l,T);T+=4;let b=ge.c(l,T);T+=4;let g=ge.d(l,T);T+=1;let j=ge.d(l,T);T+=1;let ie=[];T=Q._readSelections(l,T,ie);let U=[];T=Q._readSelections(l,T,U);let q=ge.c(l,T);T+=4;let B=[];for(let se=0;se<q;se++)T=E.a.read(l,T,B);return new Q(N,b,g,j,ie,U,B)}}class y{constructor(k,l){this.model=k,this._data=Q.create(k,l)}get type(){return 0}get resource(){return H.a.isUri(this.model)?this.model:this.model.uri}get label(){return h.a("edit","Typing")}toString(){return(this._data instanceof Q?this._data:Q.deserialize(this._data)).changes.map(k=>k.toString()).join(", ")}matchesResource(k){return(H.a.isUri(this.model)?this.model:this.model.uri).toString()===k.toString()}setModel(k){this.model=k}canAppend(k){return this.model===k&&this._data instanceof Q}append(k,l,T,N,b){this._data instanceof Q&&this._data.append(k,l,T,N,b)}close(){this._data instanceof Q&&(this._data=this._data.serialize())}undo(){if(H.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof Q&&(this._data=this._data.serialize());let k=Q.deserialize(this._data);this.model._applyUndo(k.changes,k.beforeEOL,k.beforeVersionId,k.beforeCursorState)}redo(){if(H.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof Q&&(this._data=this._data.serialize());let k=Q.deserialize(this._data);this.model._applyRedo(k.changes,k.afterEOL,k.afterVersionId,k.afterCursorState)}}function C(V){return V.getEOL()===` +`?0:1}function S(V){return!!V&&(V instanceof y||V instanceof class{constructor(k,l){this.type=1,this.label=k,this._isOpen=!0,this._editStackElementsArr=l.slice(0),this._editStackElementsMap=new Map;for(let T of this._editStackElementsArr){let N=W(T.resource);this._editStackElementsMap.set(N,T)}this._delegate=null}get resources(){return this._editStackElementsArr.map(k=>k.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(k){let l=W(k);return this._editStackElementsMap.has(l)}setModel(k){let l=W(H.a.isUri(k)?k:k.uri);this._editStackElementsMap.has(l)&&this._editStackElementsMap.get(l).setModel(k)}canAppend(k){if(!this._isOpen)return!1;let l=W(k.uri);return this._editStackElementsMap.has(l)?this._editStackElementsMap.get(l).canAppend(k):!1}append(k,l,T,N,b){let g=W(k.uri);this._editStackElementsMap.get(g).append(k,l,T,N,b)}close(){this._isOpen=!1}undo(){this._isOpen=!1;for(let k of this._editStackElementsArr)k.undo()}redo(){for(let k of this._editStackElementsArr)k.redo()}split(){return this._editStackElementsArr}})}class P{constructor(k,l){this._model=k,this._undoRedoService=l}pushStackElement(){let k=this._undoRedoService.getLastElement(this._model.uri);S(k)&&k.close()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(k){let l=this._undoRedoService.getLastElement(this._model.uri);if(S(l)&&l.canAppend(this._model))return l;let T=new y(this._model,k);return this._undoRedoService.pushElement(T),T}pushEOL(k){let l=this._getOrCreateEditStackElement(null);this._model.setEOL(k),l.append(this._model,[],C(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(k,l,T){let N=this._getOrCreateEditStackElement(k),b=this._model.applyEdits(l,!0),g=P._computeCursorState(T,b),j=b.map((ie,U)=>({index:U,textChange:ie.textChange}));return j.sort((ie,U)=>ie.textChange.oldPosition===U.textChange.oldPosition?ie.index-U.index:ie.textChange.oldPosition-U.textChange.oldPosition),N.append(this._model,j.map(ie=>ie.textChange),C(this._model),this._model.getAlternativeVersionId(),g),g}static _computeCursorState(k,l){try{return k?k(l):null}catch(T){return Object(f.e)(T),null}}}},function(Ie,w,o){"use strict";(function(h){o.d(w,"a",function(){return P});var f,D,H,E=(f=function(U,q){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,se){B.__proto__=se}||function(B,se){for(var ke in se)se.hasOwnProperty(ke)&&(B[ke]=se[ke])})(U,q)},function(U,q){function B(){this.constructor=U}f(U,q),U.prototype=q===null?Object.create(q):(B.prototype=q.prototype,new B)});if(typeof h=="object")H=h.platform==="win32";else if(typeof navigator=="object"){var ge=navigator.userAgent;H=ge.indexOf("Windows")>=0}var W=/^\w[\w\d+.-]*$/,Q=/^\//,y=/^\/\//,C="/",S=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,P=function(){function U(q,B,se,ke,xe,Y){Y===void 0&&(Y=!1),typeof q=="object"?(this.scheme=q.scheme||"",this.authority=q.authority||"",this.path=q.path||"",this.query=q.query||"",this.fragment=q.fragment||""):(this.scheme=function(Z,te){return Z||te?Z:"file"}(q,Y),this.authority=B||"",this.path=function(Z,te){switch(Z){case"https":case"http":case"file":te?te[0]!==C&&(te=C+te):te=C}return te}(this.scheme,se||""),this.query=ke||"",this.fragment=xe||"",function(Z,te){if(!Z.scheme&&te)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+Z.authority+'", path: "'+Z.path+'", query: "'+Z.query+'", fragment: "'+Z.fragment+'"}');if(Z.scheme&&!W.test(Z.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Z.path){if(Z.authority){if(!Q.test(Z.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(y.test(Z.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}(this,Y))}return U.isUri=function(q){return q instanceof U||!!q&&typeof q.authority=="string"&&typeof q.fragment=="string"&&typeof q.path=="string"&&typeof q.query=="string"&&typeof q.scheme=="string"&&typeof q.fsPath=="function"&&typeof q.with=="function"&&typeof q.toString=="function"},Object.defineProperty(U.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!0,configurable:!0}),U.prototype.with=function(q){if(!q)return this;var B=q.scheme,se=q.authority,ke=q.path,xe=q.query,Y=q.fragment;return B===void 0?B=this.scheme:B===null&&(B=""),se===void 0?se=this.authority:se===null&&(se=""),ke===void 0?ke=this.path:ke===null&&(ke=""),xe===void 0?xe=this.query:xe===null&&(xe=""),Y===void 0?Y=this.fragment:Y===null&&(Y=""),B===this.scheme&&se===this.authority&&ke===this.path&&xe===this.query&&Y===this.fragment?this:new k(B,se,ke,xe,Y)},U.parse=function(q,B){B===void 0&&(B=!1);var se=S.exec(q);return se?new k(se[2]||"",ie(se[4]||""),ie(se[5]||""),ie(se[7]||""),ie(se[9]||""),B):new k("","","","","")},U.file=function(q){var B="";if(H&&(q=q.replace(/\\/g,C)),q[0]===C&&q[1]===C){var se=q.indexOf(C,2);se===-1?(B=q.substring(2),q=C):(B=q.substring(2,se),q=q.substring(se)||C)}return new k("file",B,q,"","")},U.from=function(q){return new k(q.scheme,q.authority,q.path,q.query,q.fragment)},U.prototype.toString=function(q){return q===void 0&&(q=!1),g(this,q)},U.prototype.toJSON=function(){return this},U.revive=function(q){if(q){if(q instanceof U)return q;var B=new k(q);return B._formatted=q.external,B._fsPath=q._sep===V?q.fsPath:null,B}return q},U}(),V=H?1:void 0,k=function(U){function q(){var B=U!==null&&U.apply(this,arguments)||this;return B._formatted=null,B._fsPath=null,B}return E(q,U),Object.defineProperty(q.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),q.prototype.toString=function(B){return B===void 0&&(B=!1),B?g(this,!0):(this._formatted||(this._formatted=g(this,!1)),this._formatted)},q.prototype.toJSON=function(){var B={$mid:1};return this._fsPath&&(B.fsPath=this._fsPath,B._sep=V),this._formatted&&(B.external=this._formatted),this.path&&(B.path=this.path),this.scheme&&(B.scheme=this.scheme),this.authority&&(B.authority=this.authority),this.query&&(B.query=this.query),this.fragment&&(B.fragment=this.fragment),B},q}(P),l=((D={})[58]="%3A",D[47]="%2F",D[63]="%3F",D[35]="%23",D[91]="%5B",D[93]="%5D",D[64]="%40",D[33]="%21",D[36]="%24",D[38]="%26",D[39]="%27",D[40]="%28",D[41]="%29",D[42]="%2A",D[43]="%2B",D[44]="%2C",D[59]="%3B",D[61]="%3D",D[32]="%20",D);function T(U,q){for(var B=void 0,se=-1,ke=0;ke<U.length;ke++){var xe=U.charCodeAt(ke);if(xe>=97&&xe<=122||xe>=65&&xe<=90||xe>=48&&xe<=57||xe===45||xe===46||xe===95||xe===126||q&&xe===47)se!==-1&&(B+=encodeURIComponent(U.substring(se,ke)),se=-1),B!==void 0&&(B+=U.charAt(ke));else{B===void 0&&(B=U.substr(0,ke));var Y=l[xe];Y!==void 0?(se!==-1&&(B+=encodeURIComponent(U.substring(se,ke)),se=-1),B+=Y):se===-1&&(se=ke)}}return se!==-1&&(B+=encodeURIComponent(U.substring(se))),B!==void 0?B:U}function N(U){for(var q=void 0,B=0;B<U.length;B++){var se=U.charCodeAt(B);se===35||se===63?(q===void 0&&(q=U.substr(0,B)),q+=l[se]):q!==void 0&&(q+=U[B])}return q!==void 0?q:U}function b(U,q){var B;return B=U.authority&&U.path.length>1&&U.scheme==="file"?"//"+U.authority+U.path:U.path.charCodeAt(0)===47&&(U.path.charCodeAt(1)>=65&&U.path.charCodeAt(1)<=90||U.path.charCodeAt(1)>=97&&U.path.charCodeAt(1)<=122)&&U.path.charCodeAt(2)===58?q?U.path.substr(1):U.path[1].toLowerCase()+U.path.substr(2):U.path,H&&(B=B.replace(/\//g,"\\")),B}function g(U,q){var B=q?N:T,se="",ke=U.scheme,xe=U.authority,Y=U.path,Z=U.query,te=U.fragment;if(ke&&(se+=ke,se+=":"),(xe||ke==="file")&&(se+=C,se+=C),xe){var he=xe.indexOf("@");if(he!==-1){var Ce=xe.substr(0,he);xe=xe.substr(he+1),(he=Ce.indexOf(":"))===-1?se+=B(Ce,!1):(se+=B(Ce.substr(0,he),!1),se+=":",se+=B(Ce.substr(he+1),!1)),se+="@"}(he=(xe=xe.toLowerCase()).indexOf(":"))===-1?se+=B(xe,!1):(se+=B(xe.substr(0,he),!1),se+=xe.substr(he))}if(Y){if(Y.length>=3&&Y.charCodeAt(0)===47&&Y.charCodeAt(2)===58)(Ae=Y.charCodeAt(1))>=65&&Ae<=90&&(Y="/"+String.fromCharCode(Ae+32)+":"+Y.substr(3));else if(Y.length>=2&&Y.charCodeAt(1)===58){var Ae;(Ae=Y.charCodeAt(0))>=65&&Ae<=90&&(Y=String.fromCharCode(Ae+32)+":"+Y.substr(2))}se+=B(Y,!0)}return Z&&(se+="?",se+=B(Z,!1)),te&&(se+="#",se+=q?te:T(te,!1)),se}var j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ie(U){return U.match(j)?U.replace(j,function(q){return function B(se){try{return decodeURIComponent(se)}catch(ke){return se.length>3?se.substr(0,3)+B(se.substr(3)):se}}(q)}):U}}).call(this,o(86))},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H});let h=!1,f=null;function D(E){if(!E.parent||E.parent===E)return null;try{let ge=E.location,W=E.parent.location;if(ge.origin!=="null"&&W.origin!=="null"&&(ge.protocol!==W.protocol||ge.hostname!==W.hostname||ge.port!==W.port))return h=!0,null}catch(ge){return h=!0,null}return E.parent}class H{static getSameOriginWindowChain(){if(!f){f=[];let ge,W=window;do ge=D(W),ge?f.push({window:W,iframeElement:W.frameElement||null}):f.push({window:W,iframeElement:null}),W=ge;while(W)}return f.slice(0)}static hasDifferentOriginAncestor(){return f||this.getSameOriginWindowChain(),h}static getPositionOfChildWindowRelativeToAncestorWindow(ge,W){if(!W||ge===W)return{top:0,left:0};let Q=0,y=0,C=this.getSameOriginWindowChain();for(let S of C){if(Q+=S.window.scrollY,y+=S.window.scrollX,S.window===W||!S.iframeElement)break;let P=S.iframeElement.getBoundingClientRect();Q+=P.top,y+=P.left}return{top:Q,left:y}}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(72),f=o(23);function D(H){let E=JSON.parse(H);return E=function ge(W,Q=0){if(!W||Q>200)return W;if(typeof W=="object"){switch(W.$mid){case 1:return f.a.revive(W);case 2:return new RegExp(W.source,W.flags)}if(W instanceof h.a||W instanceof Uint8Array)return W;if(Array.isArray(W))for(let y=0;y<W.length;++y)W[y]=ge(W[y],Q+1);else for(let y in W)Object.hasOwnProperty.call(W,y)&&(W[y]=ge(W[y],Q+1))}return W}(E),E}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return D}),o.d(w,"a",function(){return H});var h=o(8),f=o(42);function D(E){return E.replace(/[\\/]/g,f.e.sep)}function H(E,ge,W,Q=f.h){if(E===ge)return!0;if(!E||!ge||ge.length>E.length)return!1;if(W){if(!Object(h.T)(E,ge))return!1;if(ge.length===E.length)return!0;let y=ge.length;return ge.charAt(ge.length-1)===Q&&y--,E.charAt(y)===Q}return ge.charAt(ge.length-1)!==Q&&(ge+=Q),E.indexOf(ge)===0}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D}),o.d(w,"b",function(){return H});var h=o(72),f=o(132);class D{constructor(W,Q,y,C){this.oldPosition=W,this.oldText=Q,this.newPosition=y,this.newText=C}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} "${this.newText}")`:this.newText.length===0?`(delete@${this.oldPosition} "${this.oldText}")`:`(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`}static _writeStringSize(W){return 4+2*W.length}static _writeString(W,Q,y){let C=Q.length;h.f(W,C,y),y+=4;for(let S=0;S<C;S++)h.e(W,Q.charCodeAt(S),y),y+=2;return y}static _readString(W,Q){let y=h.c(W,Q);return Q+=4,Object(f.b)(W,Q,y)}writeSize(){return 8+D._writeStringSize(this.oldText)+D._writeStringSize(this.newText)}write(W,Q){return h.f(W,this.oldPosition,Q),Q+=4,h.f(W,this.newPosition,Q),Q+=4,Q=D._writeString(W,this.oldText,Q),Q=D._writeString(W,this.newText,Q)}static read(W,Q,y){let C=h.c(W,Q);Q+=4;let S=h.c(W,Q);Q+=4;let P=D._readString(W,Q);Q+=D._writeStringSize(P);let V=D._readString(W,Q);return Q+=D._writeStringSize(V),y.push(new D(C,P,S,V)),Q}}function H(ge,W){return ge===null||ge.length===0?W:new E(ge,W).compress()}class E{constructor(W,Q){this._prevEdits=W,this._currEdits=Q,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let W=0,Q=0,y=this._getPrev(W),C=this._getCurr(Q);for(;W<this._prevLen||Q<this._currLen;){if(y===null){this._acceptCurr(C),C=this._getCurr(++Q);continue}if(C===null){this._acceptPrev(y),y=this._getPrev(++W);continue}if(C.oldEnd<=y.newPosition){this._acceptCurr(C),C=this._getCurr(++Q);continue}if(y.newEnd<=C.oldPosition){this._acceptPrev(y),y=this._getPrev(++W);continue}if(C.oldPosition<y.newPosition){let[k,l]=E._splitCurr(C,y.newPosition-C.oldPosition);this._acceptCurr(k),C=l;continue}if(y.newPosition<C.oldPosition){let[k,l]=E._splitPrev(y,C.oldPosition-y.newPosition);this._acceptPrev(k),y=l;continue}let P,V;if(C.oldEnd===y.newEnd)P=y,V=C,y=this._getPrev(++W),C=this._getCurr(++Q);else if(C.oldEnd<y.newEnd){let[k,l]=E._splitPrev(y,C.oldLength);P=k,V=C,y=l,C=this._getCurr(++Q)}else{let[k,l]=E._splitCurr(C,y.newLength);P=y,V=k,y=this._getPrev(++W),C=l}this._result[this._resultLen++]=new D(P.oldPosition,P.oldText,V.newPosition,V.newText),this._prevDeltaOffset+=P.newLength-P.oldLength,this._currDeltaOffset+=V.newLength-V.oldLength}let S=E._merge(this._result);return E._removeNoOps(S)}_acceptCurr(W){this._result[this._resultLen++]=E._rebaseCurr(this._prevDeltaOffset,W),this._currDeltaOffset+=W.newLength-W.oldLength}_getCurr(W){return W<this._currLen?this._currEdits[W]:null}_acceptPrev(W){this._result[this._resultLen++]=E._rebasePrev(this._currDeltaOffset,W),this._prevDeltaOffset+=W.newLength-W.oldLength}_getPrev(W){return W<this._prevLen?this._prevEdits[W]:null}static _rebaseCurr(W,Q){return new D(Q.oldPosition-W,Q.oldText,Q.newPosition,Q.newText)}static _rebasePrev(W,Q){return new D(Q.oldPosition,Q.oldText,Q.newPosition+W,Q.newText)}static _splitPrev(W,Q){let y=W.newText.substr(0,Q),C=W.newText.substr(Q);return[new D(W.oldPosition,W.oldText,W.newPosition,y),new D(W.oldEnd,"",W.newPosition+Q,C)]}static _splitCurr(W,Q){let y=W.oldText.substr(0,Q),C=W.oldText.substr(Q);return[new D(W.oldPosition,y,W.newPosition,W.newText),new D(W.oldPosition+Q,C,W.newEnd,"")]}static _merge(W){if(W.length===0)return W;let Q=[],y=0,C=W[0];for(let S=1;S<W.length;S++){let P=W[S];C.oldEnd===P.oldPosition?C=new D(C.oldPosition,C.oldText+P.oldText,C.newPosition,C.newText+P.newText):(Q[y++]=C,C=P)}return Q[y++]=C,Q}static _removeNoOps(W){if(W.length===0)return W;let Q=[],y=0;for(let C=0;C<W.length;C++){let S=W[C];S.oldText!==S.newText&&(Q[y++]=S)}return Q}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge});var h=o(8),f=o(62),D=o(22),H=o(81),E=o(3);class ge{static deleteRight(Q,y,C,S){let P=[],V=Q!==3;for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T;if(N.isEmpty()){let b=T.getPosition(),g=H.a.right(y,C,b.lineNumber,b.column);N=new E.a(g.lineNumber,g.column,b.lineNumber,b.column)}N.isEmpty()?P[k]=null:(N.startLineNumber!==N.endLineNumber&&(V=!0),P[k]=new f.a(N,""))}return[V,P]}static _isAutoClosingPairDelete(Q,y,C){if(Q.autoClosingBrackets==="never"&&Q.autoClosingQuotes==="never")return!1;for(let S=0,P=C.length;S<P;S++){let V=C[S],k=V.getPosition();if(!V.isEmpty())return!1;let l=y.getLineContent(k.lineNumber),T=l[k.column-2],N=Q.autoClosingPairsOpen2.get(T);if(!N)return!1;if(Object(D.g)(T)){if(Q.autoClosingQuotes==="never")return!1}else if(Q.autoClosingBrackets==="never")return!1;let b=l[k.column-1],g=!1;for(let j of N)j.open===T&&j.close===b&&(g=!0);if(!g)return!1}return!0}static _runAutoClosingPairDelete(Q,y,C){let S=[];for(let P=0,V=C.length;P<V;P++){let k=C[P].getPosition(),l=new E.a(k.lineNumber,k.column-1,k.lineNumber,k.column+1);S[P]=new f.a(l,"")}return[!0,S]}static deleteLeft(Q,y,C,S){if(this._isAutoClosingPairDelete(y,C,S))return this._runAutoClosingPairDelete(y,C,S);let P=[],V=Q!==2;for(let k=0,l=S.length;k<l;k++){let T=S[k],N=T;if(N.isEmpty()){let b=T.getPosition();if(y.useTabStops&&b.column>1){let g=C.getLineContent(b.lineNumber),j=h.w(g),ie=j===-1?g.length+1:j+1;if(b.column<=ie){let U=D.a.visibleColumnFromColumn2(y,C,b),q=D.a.prevIndentTabStop(U,y.indentSize),B=D.a.columnFromVisibleColumn2(y,C,b.lineNumber,q);N=new E.a(b.lineNumber,B,b.lineNumber,b.column)}else N=new E.a(b.lineNumber,b.column-1,b.lineNumber,b.column)}else{let g=H.a.left(y,C,b.lineNumber,b.column);N=new E.a(g.lineNumber,g.column,b.lineNumber,b.column)}}N.isEmpty()?P[k]=null:(N.startLineNumber!==N.endLineNumber&&(V=!0),P[k]=new f.a(N,""))}return[V,P]}static cut(Q,y,C){let S=[];for(let P=0,V=C.length;P<V;P++){let k=C[P];if(k.isEmpty())if(Q.emptySelectionClipboard){let l,T,N,b,g=k.getPosition();g.lineNumber<y.getLineCount()?(l=g.lineNumber,T=1,N=g.lineNumber+1,b=1):g.lineNumber>1?(l=g.lineNumber-1,T=y.getLineMaxColumn(g.lineNumber-1),N=g.lineNumber,b=y.getLineMaxColumn(g.lineNumber)):(l=g.lineNumber,T=1,N=g.lineNumber,b=y.getLineMaxColumn(g.lineNumber));let j=new E.a(l,T,N,b);j.isEmpty()?S[P]=null:S[P]=new f.a(j,"")}else S[P]=null;else S[P]=new f.a(k,"")}return new D.e(0,S,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},function(Ie,w,o){"use strict";o.d(w,"b",function(){return E}),o.d(w,"a",function(){return ge});var h=o(8),f=o(111),D=o(90);let H={getInitialState:()=>D.c,tokenize2:(W,Q,y)=>Object(D.e)(0,W,Q,y)};function E(W,Q=H){return function(y,C){let S='<div class="monaco-tokenized-source">',P=y.split(/\r\n|\r|\n/),V=C.getInitialState();for(let k=0,l=P.length;k<l;k++){let T=P[k];k>0&&(S+="<br/>");let N=C.tokenize2(T,V,0);f.a.convertToEndOffset(N.tokens,T.length);let b=new f.a(N.tokens,T).inflate(),g=0;for(let j=0,ie=b.getCount();j<ie;j++){let U=b.getClassName(j),q=b.getEndOffset(j);S+=`<span class="${U}">${h.u(T.substring(g,q))}</span>`,g=q}V=N.endState}return S+="</div>",S}(W,Q||H)}function ge(W,Q,y,C,S,P,V){let k="<div>",l=C,T=0;for(let N=0,b=Q.getCount();N<b;N++){let g=Q.getEndOffset(N);if(g<=C)continue;let j="";for(;l<g&&l<S;l++){let ie=W.charCodeAt(l);switch(ie){case 9:let U=P-(l+T)%P;for(T+=U-1;U>0;)j+=V?" ":" ",U--;break;case 60:j+="<";break;case 62:j+=">";break;case 38:j+="&";break;case 0:j+="�";break;case 65279:case 8232:case 8233:case 133:j+="\uFFFD";break;case 13:j+="​";break;case 32:j+=V?" ":" ";break;default:j+=String.fromCharCode(ie)}}if(k+=`<span style="${Q.getInlineStyle(N,y)}">${j}</span>`,g>S||l>=S)break}return k+="</div>",k}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return B}),o.d(w,"b",function(){return se}),o.d(w,"c",function(){return ke});var h=o(6),f=o(2),D=o(11),H=o(13),E=o(26),ge=o(30),W=o(12),Q=o(146),y=o(152),C=o(54),S=o(20),P=o(25),V=o(19),k=o(102),l=o(150),T=o(89),N=o(175),b=o(184),g=function(he,Ce,Ae,L){var nt,ct=arguments.length,Ye=ct<3?Ce:L===null?L=Object.getOwnPropertyDescriptor(Ce,Ae):L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ye=Reflect.decorate(he,Ce,Ae,L);else for(var ht=he.length-1;ht>=0;ht--)(nt=he[ht])&&(Ye=(ct<3?nt(Ye):ct>3?nt(Ce,Ae,Ye):nt(Ce,Ae))||Ye);return ct>3&&Ye&&Object.defineProperty(Ce,Ae,Ye),Ye},j=function(he,Ce){return function(Ae,L){Ce(Ae,L,he)}};function ie(he){return he.toString()}class U{constructor(Ce,Ae,L){this._modelEventListeners=new f.b,this.model=Ce,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(Ce.onWillDispose(()=>Ae(Ce))),this._modelEventListeners.add(Ce.onDidChangeLanguage(nt=>L(Ce,nt)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(Ce){this._disposeLanguageSelection(),this._languageSelection=Ce,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(Ce.languageIdentifier)),this.model.setMode(Ce.languageIdentifier)}}let q=D.d||D.f?1:2,B=class Hd extends f.a{constructor(Ce,Ae,L,nt,ct){super(),this._configurationService=Ce,this._resourcePropertiesService=Ae,this._themeService=L,this._logService=nt,this._undoRedoService=ct,this._onModelAdded=this._register(new h.a),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new h.a),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new h.a),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new Y(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new xe(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(Ce,Ae){let L=E.d.tabSize;if(Ce.editor&&Ce.editor.tabSize!==void 0){let z=parseInt(Ce.editor.tabSize,10);isNaN(z)||(L=z),L<1&&(L=1)}let nt=L;if(Ce.editor&&Ce.editor.indentSize!==void 0&&Ce.editor.indentSize!=="tabSize"){let z=parseInt(Ce.editor.indentSize,10);isNaN(z)||(nt=z),nt<1&&(nt=1)}let ct=E.d.insertSpaces;Ce.editor&&Ce.editor.insertSpaces!==void 0&&(ct=Ce.editor.insertSpaces!=="false"&&Boolean(Ce.editor.insertSpaces));let Ye=q,ht=Ce.eol;ht===`\r +`?Ye=2:ht===` +`&&(Ye=1);let fe=E.d.trimAutoWhitespace;Ce.editor&&Ce.editor.trimAutoWhitespace!==void 0&&(fe=Ce.editor.trimAutoWhitespace!=="false"&&Boolean(Ce.editor.trimAutoWhitespace));let $=E.d.detectIndentation;Ce.editor&&Ce.editor.detectIndentation!==void 0&&($=Ce.editor.detectIndentation!=="false"&&Boolean(Ce.editor.detectIndentation));let G=E.d.largeFileOptimizations;return Ce.editor&&Ce.editor.largeFileOptimizations!==void 0&&(G=Ce.editor.largeFileOptimizations!=="false"&&Boolean(Ce.editor.largeFileOptimizations)),{isForSimpleWidget:Ae,tabSize:L,indentSize:nt,insertSpaces:ct,detectIndentation:$,defaultEOL:Ye,trimAutoWhitespace:fe,largeFileOptimizations:G}}_getEOL(Ce,Ae){if(Ce)return this._resourcePropertiesService.getEOL(Ce,Ae);let L=this._configurationService.getValue("files.eol",{overrideIdentifier:Ae});return L&&L!=="auto"?L:D.a===3||D.a===2?` `:`\r -`}getCreationOptions(Da,Ka,G){let hb=this._modelCreationOptionsByLanguageAndResource[Da+Ka];if(!hb){const _a=this._configurationService.getValue("editor",{overrideIdentifier:Da,resource:Ka}),fb=this._getEOL(Ka,Da);hb=ta._readModelOptions({editor:_a,eol:fb},G),this._modelCreationOptionsByLanguageAndResource[Da+Ka]=hb}return hb}_updateModelOptions(){const Da=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const Ka=Object.keys(this._models);for(let G=0,hb=Ka.length;G<hb;G++){const _a=Ka[G],fb=this._models[_a],za=fb.model.getLanguageIdentifier().language,ua=fb.model.uri,ba=Da[za+ua],$=this.getCreationOptions(za,ua,fb.model.isForSimpleWidget);ta._setModelOptionsForModel(fb.model,$,ba)}}static _setModelOptionsForModel(Da,Ka,G){G&&G.defaultEOL!==Ka.defaultEOL&&1===Da.getLineCount()&&Da.setEOL(1===Ka.defaultEOL?0:1),G&&G.detectIndentation===Ka.detectIndentation&&G.insertSpaces===Ka.insertSpaces&&G.tabSize===Ka.tabSize&&G.indentSize===Ka.indentSize&&G.trimAutoWhitespace===Ka.trimAutoWhitespace||(Ka.detectIndentation?(Da.detectIndentation(Ka.insertSpaces,Ka.tabSize),Da.updateOptions({trimAutoWhitespace:Ka.trimAutoWhitespace})):Da.updateOptions({insertSpaces:Ka.insertSpaces,tabSize:Ka.tabSize,indentSize:Ka.indentSize,trimAutoWhitespace:Ka.trimAutoWhitespace}))}_removeDisposedModel(Da){const Ka=this._disposedModels.get(da(Da));return Ka&&(this._disposedModelsHeapSize-=Ka.heapSize),this._disposedModels.delete(da(Da)),Ka}_createModelData(Da,Ka,G,hb){const _a=this.getCreationOptions(Ka.language,G,hb),fb=new Y.b(Da,_a,Ka,G,this._undoRedoService);if(G&&this._disposedModels.has(da(G))){const ba=this._removeDisposedModel(G),$=this._undoRedoService.getElements(G),S=function(aa){const _=new w.a(),I=aa.createSnapshot();let ka;for(;ka=I.read();)_.update(ka);return _.digest()}(fb)===ba.sha1;if(S||ba.sharesUndoRedoStack){for(const aa of $.past)Object(x.b)(aa)&&aa.matchesResource(G)&&aa.setModel(fb);for(const aa of $.future)Object(x.b)(aa)&&aa.matchesResource(G)&&aa.setModel(fb);this._undoRedoService.setElementsValidFlag(G,!0,aa=>Object(x.b)(aa)&&aa.matchesResource(G)),S&&(fb._overwriteVersionId(ba.versionId),fb._overwriteAlternativeVersionId(ba.alternativeVersionId),fb._overwriteInitialUndoRedoSnapshot(ba.initialUndoRedoSnapshot))}else null!==ba.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(ba.initialUndoRedoSnapshot)}const za=da(fb.uri);if(this._models[za])throw new Error("ModelService: Cannot add model because it already exists!");const ua=new Z(fb,ba=>this._onWillDispose(ba),(ba,$)=>this._onDidChangeLanguage(ba,$));return this._models[za]=ua,ua}createModel(Da,Ka,G,hb=!1){let _a;return Ka?(_a=this._createModelData(Da,Ka.languageIdentifier,G,hb),this.setMode(_a.model,Ka)):_a=this._createModelData(Da,L.b,G,hb),this._onModelAdded.fire(_a.model),_a.model}setMode(Da,Ka){if(!Ka)return;const G=this._models[da(Da.uri)];G&&G.setLanguage(Ka)}getModels(){const Da=[],Ka=Object.keys(this._models);for(let G=0,hb=Ka.length;G<hb;G++){const _a=Ka[G];Da.push(this._models[_a].model)}return Da}getModel(Da){const Ka=da(Da),G=this._models[Ka];return G?G.model:null}getSemanticTokensProviderStyling(Da){return this._semanticStyling.get(Da)}_onWillDispose(Da){const Ka=da(Da.uri),G=this._models[Ka];delete this._models[Ka],G.dispose(),delete this._modelCreationOptionsByLanguageAndResource[Da.getLanguageIdentifier().language+Da.uri],this._onModelRemoved.fire(Da)}_onDidChangeLanguage(Da,Ka){const G=Ka.oldLanguage,hb=Da.getLanguageIdentifier().language,_a=this.getCreationOptions(G,Da.uri,Da.isForSimpleWidget),fb=this.getCreationOptions(hb,Da.uri,Da.isForSimpleWidget);ta._setModelOptionsForModel(Da,fb,_a),this._onModelModeChanged.fire({model:Da,oldModeId:G})}};ea=A([U(0,z.a),U(1,s.b),U(2,B.c),U(3,C.b),U(4,k.a)],ea);const oa="editor.semanticHighlighting";function ga(ta,Da,Ka){var G;const hb=null===(G=Ka.getValue(oa,{overrideIdentifier:ta.getLanguageIdentifier().language,resource:ta.uri}))||void 0===G?void 0:G.enabled;return"boolean"==typeof hb?hb:Da.getColorTheme().semanticHighlighting}class Ba extends q.a{constructor(ta,Da,Ka,G){super(),this._watchers=Object.create(null),this._semanticStyling=G;const hb=za=>{this._watchers[za.uri.toString()]=new ma(za,Da,this._semanticStyling)},_a=(za,ua)=>{ua.dispose(),delete this._watchers[za.uri.toString()]},fb=()=>{for(let za of ta.getModels()){const ua=this._watchers[za.uri.toString()];ga(za,Da,Ka)?ua||hb(za):ua&&_a(za,ua)}};this._register(ta.onModelAdded(za=>{ga(za,Da,Ka)&&hb(za)})),this._register(ta.onModelRemoved(za=>{const ua=this._watchers[za.uri.toString()];ua&&_a(za,ua)})),this._register(Ka.onDidChangeConfiguration(za=>{za.affectsConfiguration(oa)&&fb()})),this._register(Da.onDidColorThemeChange(fb))}}class N extends q.a{constructor(ta,Da){super(),this._themeService=ta,this._logService=Da,this._caches=new WeakMap(),this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap()}))}get(ta){return this._caches.has(ta)||this._caches.set(ta,new u.a(ta.getLegend(),this._themeService,this._logService)),this._caches.get(ta)}}class V{constructor(ta,Da,Ka){this._provider=ta,this.resultId=Da,this.data=Ka}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class ma extends q.a{constructor(ta,Da,Ka){super(),this._isDisposed=!1,this._model=ta,this._semanticStyling=Ka,this._fetchDocumentSemanticTokens=this._register(new D.d(()=>this._fetchDocumentSemanticTokensNow(),300)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}));const G=()=>{Object(q.f)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const hb of R.l.all(ta))"function"==typeof hb.onDidChange&&this._documentProvidersChangeListeners.push(hb.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};G(),this._register(R.l.onDidChange(()=>{G(),this._fetchDocumentSemanticTokens.schedule()})),this._register(Da.onDidColorThemeChange(hb=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;const ta=this._getSemanticColoringProvider();if(!ta)return;this._currentDocumentRequestCancellationTokenSource=new Q.b();const Da=[],Ka=this._model.onDidChangeContent(_a=>{Da.push(_a)}),G=this._semanticStyling.get(ta),hb=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null;Promise.resolve(ta.provideDocumentSemanticTokens(this._model,hb,this._currentDocumentRequestCancellationTokenSource.token)).then(_a=>{this._currentDocumentRequestCancellationTokenSource=null,Ka.dispose(),this._setDocumentSemanticTokens(ta,_a||null,G,Da)},_a=>{_a&&"string"==typeof _a.message&&-1!==_a.message.indexOf("busy")||F.e(_a),this._currentDocumentRequestCancellationTokenSource=null,Ka.dispose(),Da.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule())})}static _isSemanticTokens(ta){return ta&&!!ta.data}static _isSemanticTokensEdits(ta){return ta&&Array.isArray(ta.edits)}static _copy(ta,Da,Ka,G,hb){for(let _a=0;_a<hb;_a++)Ka[G+_a]=ta[Da+_a]}_setDocumentSemanticTokens(ta,Da,Ka,G){const hb=this._currentDocumentResponse;if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)ta&&Da&&ta.releaseDocumentSemanticTokens(Da.resultId);else if(ta&&Ka)if(Da){if(ma._isSemanticTokensEdits(Da)){if(!hb)return void this._model.setSemanticTokens(null,!0);if(0===Da.edits.length)Da={resultId:Da.resultId,data:hb.data};else{let _a=0;for(const $ of Da.edits)_a+=($.data?$.data.length:0)-$.deleteCount;const fb=hb.data,za=new Uint32Array(fb.length+_a);let ua=fb.length,ba=za.length;for(let $=Da.edits.length-1;$>=0;$--){const S=Da.edits[$],aa=ua-(S.start+S.deleteCount);aa>0&&(ma._copy(fb,ua-aa,za,ba-aa,aa),ba-=aa),S.data&&(ma._copy(S.data,0,za,ba-S.data.length,S.data.length),ba-=S.data.length),ua=S.start}ua>0&&ma._copy(fb,0,za,0,ua),Da={resultId:Da.resultId,data:za}}}if(ma._isSemanticTokens(Da)){this._currentDocumentResponse=new V(ta,Da.resultId,Da.data);const _a=Object(u.b)(Da,Ka,this._model.getLanguageIdentifier());if(G.length>0){for(const fb of G)for(const za of _a)for(const ua of fb.changes)za.applyEdit(ua.range,ua.text);this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}this._model.setSemanticTokens(_a,!0)}else this._model.setSemanticTokens(null,!0)}else this._model.setSemanticTokens(null,!0);else this._model.setSemanticTokens(null,!1)}_getSemanticColoringProvider(){const ta=R.l.ordered(this._model);return ta.length>0?ta[0]:null}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return F}),f.d(t,"b",function(){return P});var l=f(12),q=f(102),y=f(124);class F{constructor(L,s,z){this._legend=L,this._themeService=s,this._logService=z,this._hashTable=new R()}getMetadata(L,s,z){const D=this._hashTable.get(L,s,z.id);let Q;if(D)Q=D.metadata,this._logService.getLevel()===q.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${L} / ${s}: foreground ${l.B.getForeground(Q)}, fontStyle ${l.B.getFontStyle(Q).toString(2)}`);else{let B=this._legend.tokenTypes[L];const C=[];if(B){let k=s;for(let x=0;k>0&&x<this._legend.tokenModifiers.length;x++)1&k&&C.push(this._legend.tokenModifiers[x]),k>>=1;k>0&&this._logService.getLevel()===q.c.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${s.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),C.push("not-in-legend"));const w=this._themeService.getColorTheme().getTokenStyleMetadata(B,C,z.language);void 0===w?Q=2147483647:((Q=0,void 0!==w.italic)&&(Q|=1|(w.italic?1:0)<<11),void 0!==w.bold&&(Q|=2|(w.bold?2:0)<<11),void 0!==w.underline&&(Q|=4|(w.underline?4:0)<<11),w.foreground&&(Q|=8|w.foreground<<14),0===Q&&(Q=2147483647))}else this._logService.getLevel()===q.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${L} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),Q=2147483647,B="not-in-legend";this._hashTable.add(L,s,z.id,Q),this._logService.getLevel()===q.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${L} (${B}) / ${s} (${C.join(" ")}): foreground ${l.B.getForeground(Q)}, fontStyle ${l.B.getFontStyle(Q).toString(2)}`)}return Q}}function P(L,s,z){const D=L.data,Q=L.data.length/5|0,B=Math.max(Math.ceil(Q/1024),400),C=[];let k=0,w=1,x=0;for(;k<Q;){const u=k;let A=Math.min(u+B,Q);if(A<Q){let ea=A;for(;ea-1>u&&0===D[5*ea];)ea--;if(ea-1===u){let oa=A;for(;oa+1<Q&&0===D[5*oa];)oa++;A=oa}else A=ea}let U=new Uint32Array(4*(A-u)),da=0,Z=0;for(;k<A;){const ea=5*k,oa=D[ea],ga=D[ea+1],Ba=w+oa,N=0===oa?x+ga:ga,V=D[ea+2],ma=D[ea+3],ta=D[ea+4],Da=s.getMetadata(ma,ta,z);2147483647!==Da&&(0===Z&&(Z=Ba),U[da]=Ba-Z,U[da+1]=N,U[da+2]=N+V,U[da+3]=Da,da+=4),w=Ba,x=N,k++}da!==U.length&&(U=U.subarray(0,da));const H=new y.a(Z,new y.c(U));C.push(H)}return C}class Y{constructor(L,s,z,D){this.tokenTypeIndex=L,this.tokenModifierSet=s,this.languageId=z,this.metadata=D,this.next=null}}class R{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=R._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<R._SIZES.length?2/3*this._currentLength:0),this._elements=[],R._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(L,s){for(let z=0;z<s;z++)L[z]=null}_hash2(L,s){return(L<<5)-L+s|0}_hashFunc(L,s,z){return this._hash2(this._hash2(L,s),z)%this._currentLength}get(L,s,z){const D=this._hashFunc(L,s,z);let Q=this._elements[D];for(;Q;){if(Q.tokenTypeIndex===L&&Q.tokenModifierSet===s&&Q.languageId===z)return Q;Q=Q.next}return null}add(L,s,z,D){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const Q=this._elements;this._currentLengthIndex++,this._currentLength=R._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<R._SIZES.length?2/3*this._currentLength:0),this._elements=[],R._nullOutEntries(this._elements,this._currentLength);for(const B of Q){let C=B;for(;C;){const k=C.next;C.next=null,this._add(C),C=k}}}this._add(new Y(L,s,z,D))}_add(L){const s=this._hashFunc(L.tokenTypeIndex,L.tokenModifierSet,L.languageId);L.next=this._elements[s],this._elements[s]=L}}R._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},function(Ga,t,f){"use strict";f.d(t,"a",function(){return Y}),f(275);var l=f(1),q=f(8),y=f(16),F=f(46);const P={badgeBackground:y.a.fromHex("#4D4D4D"),badgeForeground:y.a.fromHex("#FFFFFF")};class Y{constructor(R,L){this.count=0,this.options=L||Object.create(null),Object(F.g)(this.options,P,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(l.p)(R,Object(l.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(R){this.count=R,this.render()}setTitleFormat(R){this.titleFormat=R,this.render()}render(){this.element.textContent=Object(q.x)(this.countFormat,this.count),this.element.title=Object(q.x)(this.titleFormat,this.count),this.applyStyles()}style(R){this.badgeBackground=R.badgeBackground,this.badgeForeground=R.badgeForeground,this.badgeBorder=R.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const R=this.badgeBackground?this.badgeBackground.toString():"",L=this.badgeForeground?this.badgeForeground.toString():"",s=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=R,this.element.style.color=L,this.element.style.borderWidth=s?"1px":"",this.element.style.borderStyle=s?"solid":"",this.element.style.borderColor=s}}}},function(Ga,t,f){var l=f(32),q=f(268);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return H});var l=f(15),q=f(8),y=f(179),F=f(42),P=f(78),Y=f(20);const R=/\//g;function L(oa){switch(oa){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function s(oa,ga){if(!oa)return[];const Ba=[];let N=!1,V=!1,ma="";for(const ta of oa){switch(ta){case ga:if(!N&&!V){Ba.push(ma),ma="";continue}break;case"{":N=!0;break;case"}":N=!1;break;case"[":V=!0;break;case"]":V=!1}ma+=ta}return ma&&Ba.push(ma),Ba}const z=/^\*\*\/\*\.[\w\.-]+$/,D=/^\*\*\/([\w\.-]+)\/?$/,Q=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,B=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,C=/^\*\*((\/[\w\.-]+)+)\/?$/,k=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,w=new P.a(1e4),x=function(){return!1},u=function(){return null};function A(oa,ga){if(!oa)return u;let Ba;Ba="string"!=typeof oa?oa.pattern:oa,Ba=Ba.trim();const N=`${Ba}_${!!ga.trimForExclusions}`;let V,ma=w.get(N);if(ma)return U(ma,oa);if(z.test(Ba)){const ta=Ba.substr(4);ma=function(Da,Ka){return"string"==typeof Da&&Da.endsWith(ta)?Ba:null}}else ma=(V=D.exec(da(Ba,ga)))?function(ta,Da){const Ka="/"+ta,G="\\"+ta,hb=function(fb,za){return"string"!=typeof fb?null:za?za===ta?Da:null:fb===ta||fb.endsWith(Ka)||fb.endsWith(G)?Da:null},_a=[ta];return hb.basenames=_a,hb.patterns=[Da],hb.allBasenames=_a,hb}(V[1],Ba):(ga.trimForExclusions?B:Q).test(Ba)?function(ta,Da){const Ka=ea(ta.slice(1,-1).split(",").map(za=>A(za,Da)).filter(za=>za!==u),ta),G=Ka.length;if(!G)return u;if(1===G)return Ka[0];const hb=function(za,ua){for(let ba=0,$=Ka.length;ba<$;ba++)if(Ka[ba](za,ua))return ta;return null},_a=l.i(Ka,za=>!!za.allBasenames);_a&&(hb.allBasenames=_a.allBasenames);const fb=Ka.reduce((za,ua)=>ua.allPaths?za.concat(ua.allPaths):za,[]);return fb.length&&(hb.allPaths=fb),hb}(Ba,ga):(V=C.exec(da(Ba,ga)))?Z(V[1].substr(1),Ba,!0):(V=k.exec(da(Ba,ga)))?Z(V[1],Ba,!1):function(ta){try{const Da=new RegExp(`^${function Ka(G){if(!G)return"";let hb="";const _a=s(G,"/");if(_a.every(fb=>"**"===fb))hb=".*";else{let fb=!1;_a.forEach((za,ua)=>{if("**"===za)return void(fb||(hb+=L(2),fb=!0));let ba=!1,$="",S=!1,aa="";for(const _ of za)if("}"!==_&&ba)$+=_;else if(!S||"]"===_&&aa)switch(_){case"{":ba=!0;continue;case"[":S=!0;continue;case"}":const I=`(?:${s($,",").map(ka=>Ka(ka)).join("|")})`;hb+=I,ba=!1,$="";break;case"]":hb+="["+aa+"]",S=!1,aa="";break;case"?":hb+="[^/\\\\]";continue;case"*":hb+=L(1);continue;default:hb+=q.v(_)}else{let I;I="-"===_?_:"^"!==_&&"!"!==_||aa?"/"===_?"":q.v(_):"^",aa+=I}ua<_a.length-1&&("**"!==_a[ua+1]||ua+2<_a.length)&&(hb+="[/\\\\]"),fb=!1})}return hb}(ta)}$`);return function(Ka){return Da.lastIndex=0,"string"==typeof Ka&&Da.test(Ka)?ta:null}}catch(Da){return u}}(Ba);return w.set(N,ma),U(ma,oa)}function U(oa,ga){return"string"==typeof ga?oa:function(Ba,N){return y.a(Ba,ga.base)?oa(F.f(ga.base,Ba),N):null}}function da(oa,ga){return ga.trimForExclusions&&oa.endsWith("/**")?oa.substr(0,oa.length-2):oa}function Z(oa,ga,Ba){const N=F.h!==F.e.sep?oa.replace(R,F.h):oa,V=F.h+N,ma=Ba?function(ta,Da){return"string"!=typeof ta||ta!==N&&!ta.endsWith(V)?null:ga}:function(ta,Da){return"string"==typeof ta&&ta===N?ga:null};return ma.allPaths=[(Ba?"*/":"./")+oa],ma}function H(oa,ga,Ba){return!(!oa||"string"!=typeof ga)&&function(N,V={}){if(!N)return x;if("string"==typeof N||function(ma){const ta=ma;return ta&&"string"==typeof ta.base&&"string"==typeof ta.pattern}(N)){const ma=A(N,V);if(ma===u)return x;const ta=function(Da,Ka){return!!ma(Da,Ka)};return ma.allBasenames&&(ta.allBasenames=ma.allBasenames),ma.allPaths&&(ta.allPaths=ma.allPaths),ta}return function(ma,ta){const Da=ea(Object.getOwnPropertyNames(ma).map(fb=>function(za,ua,ba){if(!1===ua)return u;const $=A(za,ba);if($===u)return u;if("boolean"==typeof ua)return $;if(ua){const S=ua.when;if("string"==typeof S){const aa=(_,I,ka,va)=>{if(!va||!$(_,I))return null;const La=va(S.replace("$(basename)",ka));return Object(Y.i)(La)?La.then($a=>$a?za:null):La?za:null};return aa.requiresSiblings=!0,aa}}return $}(fb,ma[fb],ta)).filter(fb=>fb!==u)),Ka=Da.length;if(!Ka)return u;if(!Da.some(fb=>!!fb.requiresSiblings)){if(1===Ka)return Da[0];const fb=function(ba,$){for(let S=0,aa=Da.length;S<aa;S++){const _=Da[S](ba,$);if(_)return _}return null},za=l.i(Da,ba=>!!ba.allBasenames);za&&(fb.allBasenames=za.allBasenames);const ua=Da.reduce((ba,$)=>$.allPaths?ba.concat($.allPaths):ba,[]);return ua.length&&(fb.allPaths=ua),fb}const G=function(fb,za,ua){let ba;for(let $=0,S=Da.length;$<S;$++){const aa=Da[$];aa.requiresSiblings&&ua&&(za||(za=F.a(fb)),ba||(ba=za.substr(0,za.length-F.c(fb).length)));const _=aa(fb,za,ba,ua);if(_)return _}return null},hb=l.i(Da,fb=>!!fb.allBasenames);hb&&(G.allBasenames=hb.allBasenames);const _a=Da.reduce((fb,za)=>za.allPaths?fb.concat(za.allPaths):fb,[]);return _a.length&&(G.allPaths=_a),G}(N,V)}(oa)(ga,void 0,Ba)}function ea(oa,ga){const Ba=oa.filter(Da=>!!Da.basenames);if(Ba.length<2)return oa;const N=Ba.reduce((Da,Ka)=>{const G=Ka.basenames;return G?Da.concat(G):Da},[]);let V;if(ga){V=[];for(let Da=0,Ka=N.length;Da<Ka;Da++)V.push(ga)}else V=Ba.reduce((Da,Ka)=>{const G=Ka.patterns;return G?Da.concat(G):Da},[]);const ma=function(Da,Ka){if("string"!=typeof Da)return null;if(!Ka){let hb;for(hb=Da.length;hb>0;hb--){const _a=Da.charCodeAt(hb-1);if(47===_a||92===_a)break}Ka=Da.substr(hb)}const G=N.indexOf(Ka);return-1!==G?V[G]:null};ma.basenames=N,ma.patterns=V,ma.allBasenames=N;const ta=oa.filter(Da=>!Da.basenames);return ta.push(ma),ta}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return y});var l=f(56),q=f(6);const y={JSONContribution:"base.contributions.json"},F=new class{constructor(){this._onDidChangeSchema=new q.a(),this.schemasById={}}registerSchema(P,Y){var R;this.schemasById[R=P,R.length>0&&"#"===R.charAt(R.length-1)?R.substring(0,R.length-1):R]=Y,this._onDidChangeSchema.fire(P)}notifySchemaChanged(P){this._onDidChangeSchema.fire(P)}}();l.a.add(y.JSONContribution,F)},function(Ga,t,f){"use strict";f.d(t,"b",function(){return q}),f.d(t,"a",function(){return y});const l=Object.prototype.hasOwnProperty;function q(F,P){for(let Y in F)if(l.call(F,Y)){if(!1===P({key:Y,value:F[Y]},function(){delete F[Y]}))return}}class y{constructor(){this.map=new Map()}add(F,P){let Y=this.map.get(F);Y||(Y=new Set(),this.map.set(F,Y)),Y.add(P)}delete(F,P){const Y=this.map.get(F);Y&&(Y.delete(P),0===Y.size&&this.map.delete(F))}forEach(F,P){const Y=this.map.get(F);Y&&Y.forEach(P)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(2);class q extends l.a{constructor(y,F,P){super(),this.referenceDomElement=y,this.changeCallback=P,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,F)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){"undefined"!=typeof ResizeObserver?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(y=>{y&&y[0]&&y[0].contentRect?this.observe({width:y[0].contentRect.width,height:y[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(y){this.measureReferenceDomElement(!0,y)}measureReferenceDomElement(y,F){let P=0,Y=0;F?(P=F.width,Y=F.height):this.referenceDomElement&&(P=this.referenceDomElement.clientWidth,Y=this.referenceDomElement.clientHeight),P=Math.max(5,P),Y=Math.max(5,Y),this.width===P&&this.height===Y||(this.width=P,this.height=Y,y&&this.changeCallback())}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return l});class l{constructor(q,y,F,P,Y,R){this.id=q,this.label=y,this.alias=F,this._precondition=P,this._run=Y,this._contextKeyService=R}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return q});var l=f(18);const q=Object(l.c)("markerDecorationsService")},function(Ga,t,f){"use strict";f.d(t,"a",function(){return R});var l=f(174),q=f(6),y=f(2),F=f(46),P=f(3);const Y={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class R extends y.a{constructor(L,s={}){super(),this._onDidUpdate=this._register(new q.a()),this._editor=L,this._options=F.g(s,Y,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(z=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(z=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(L){this.ranges=[],L&&L.forEach(s=>{!this._options.ignoreCharChanges&&s.charChanges?s.charChanges.forEach(z=>{this.ranges.push({rhs:!0,range:new P.a(z.modifiedStartLineNumber,z.modifiedStartColumn,z.modifiedEndLineNumber,z.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new P.a(s.modifiedStartLineNumber,1,s.modifiedStartLineNumber,1)})}),this.ranges.sort((s,z)=>s.range.getStartPosition().isBeforeOrEqual(z.range.getStartPosition())?-1:z.range.getStartPosition().isBeforeOrEqual(s.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(L){let s=!1,z=this._editor.getPosition();if(z){for(let D=0,Q=this.ranges.length;D<Q&&!s;D++){let B=this.ranges[D].range;z.isBeforeOrEqual(B.getStartPosition())&&(this.nextIdx=D+(L?0:-1),s=!0)}s||(this.nextIdx=L?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0}_move(L,s){if(l.a(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;-1===this.nextIdx?this._initIdx(L):L?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let z=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let D=z.range.getStartPosition();this._editor.setPosition(D),this._editor.revealPositionInCenter(D,s)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(L=0){this._move(!0,L)}previous(L=0){this._move(!1,L)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}},function(Ga,t,f){"use strict";f.d(t,"a",function(){return uc}),f(244);var l=f(0),q=f(1),y=f(35),F=f(153),P=f(20),Y=f(6),R=f(2),L=f(46),s=f(87),z=f(88),D=f(41),Q=f(164),B=(f(248),f(116)),C=f(105),k=f(60),w=f(4),x=f(26),u=f(111),A=f(9),U=f(57),da=f(91),Z=f(74),H=f(10),ea=f(5),oa=f(19),ga=f(17);class Ba{constructor(Oa,Qa,kb,tb){this.originalLineStart=Oa,this.originalLineEnd=Qa,this.modifiedLineStart=kb,this.modifiedLineEnd=tb}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class N{constructor(Oa){this.entries=Oa}}const V=Object(ga.e)("diff-review-insert",ga.a.add),ma=Object(ga.e)("diff-review-remove",ga.a.remove),ta=Object(ga.e)("diff-review-close",ga.a.close);class Da extends R.a{constructor(Oa){super(),this._width=0,this._diffEditor=Oa,this._isVisible=!1,this.shadow=Object(y.b)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=Object(y.b)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new B.a(this.actionBarContainer.domNode)),this._actionBar.push(new k.a("diffreview.close",l.a("label.close","Close"),"close-diff-review "+ta.classNames,!0,()=>(this.hide(),Promise.resolve(null))),{label:!1,icon:!0}),this.domNode=Object(y.b)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=Object(y.b)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new C.a(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(Oa.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(Oa.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(q.n(this.domNode.domNode,"click",Qa=>{Qa.preventDefault();let kb=q.w(Qa.target,"diff-review-row");kb&&this._goToRow(kb)})),this._register(q.n(this.domNode.domNode,"keydown",Qa=>{(Qa.equals(18)||Qa.equals(2066)||Qa.equals(530))&&(Qa.preventDefault(),this._goToRow(this._getNextRow())),(Qa.equals(16)||Qa.equals(2064)||Qa.equals(528))&&(Qa.preventDefault(),this._goToRow(this._getPrevRow())),(Qa.equals(9)||Qa.equals(2057)||Qa.equals(521)||Qa.equals(1033))&&(Qa.preventDefault(),this.hide()),(Qa.equals(10)||Qa.equals(3))&&(Qa.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let Oa=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let kb=-1;for(let tb=0,oc=this._diffs.length;tb<oc;tb++)if(this._diffs[tb]===this._currentDiff){kb=tb;break}Oa=this._diffs.length+kb-1}else Oa=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;Oa%=this._diffs.length;const Qa=this._diffs[Oa].entries;this._diffEditor.setPosition(new A.a(Qa[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:Qa[0].modifiedLineStart,endColumn:1073741824,endLineNumber:Qa[Qa.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let Oa=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let kb=-1;for(let tb=0,oc=this._diffs.length;tb<oc;tb++)if(this._diffs[tb]===this._currentDiff){kb=tb;break}Oa=kb+1}else Oa=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;Oa%=this._diffs.length;const Qa=this._diffs[Oa].entries;this._diffEditor.setPosition(new A.a(Qa[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:Qa[0].modifiedLineStart,endColumn:1073741824,endLineNumber:Qa[Qa.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let Oa=-1,Qa=this._getCurrentFocusedRow();if(Qa){let kb=parseInt(Qa.getAttribute("data-line"),10);isNaN(kb)||(Oa=kb)}this.hide(),-1!==Oa&&(this._diffEditor.setPosition(new A.a(Oa,1)),this._diffEditor.revealPosition(new A.a(Oa,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){let Oa=this._getCurrentFocusedRow();return Oa?Oa.previousElementSibling?Oa.previousElementSibling:Oa:this._getFirstRow()}_getNextRow(){let Oa=this._getCurrentFocusedRow();return Oa?Oa.nextElementSibling?Oa.nextElementSibling:Oa:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(".diff-review-row")}_getCurrentFocusedRow(){let Oa=document.activeElement;return Oa&&/diff-review-row/.test(Oa.className)?Oa:null}_goToRow(Oa){let Qa=this._getCurrentFocusedRow();Oa.tabIndex=0,Oa.focus(),Qa&&Qa!==Oa&&(Qa.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(Oa,Qa,kb){this._width=Qa,this.shadow.setTop(Oa-6),this.shadow.setWidth(Qa),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(Oa),this.domNode.setWidth(Qa),this.domNode.setHeight(kb),this._content.setHeight(kb),this._content.setWidth(Qa),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}_compute(){const Oa=this._diffEditor.getLineChanges();if(!Oa||0===Oa.length)return[];const Qa=this._diffEditor.getOriginalEditor().getModel(),kb=this._diffEditor.getModifiedEditor().getModel();return Qa&&kb?Da._mergeAdjacent(Oa,Qa.getLineCount(),kb.getLineCount()):[]}static _mergeAdjacent(Oa,Qa,kb){if(!Oa||0===Oa.length)return[];let tb=[],oc=0;for(let Bc=0,Vc=Oa.length;Bc<Vc;Bc++){const Ic=Oa[Bc],xc=Ic.originalStartLineNumber,nb=Ic.originalEndLineNumber,zb=Ic.modifiedStartLineNumber,dc=Ic.modifiedEndLineNumber;let Dc=[],Pc=0;{const Nc=0===nb?xc:xc-1,Ed=0===dc?zb:zb-1;let ad=1,ud=1;if(Bc>0){const Dd=Oa[Bc-1];ad=0===Dd.originalEndLineNumber?Dd.originalStartLineNumber+1:Dd.originalEndLineNumber+1,ud=0===Dd.modifiedEndLineNumber?Dd.modifiedStartLineNumber+1:Dd.modifiedEndLineNumber+1}let Od=Nc-3+1,wd=Ed-3+1;if(Od<ad){const Dd=ad-Od;Od+=Dd,wd+=Dd}if(wd<ud){const Dd=ud-wd;Od+=Dd,wd+=Dd}Dc[Pc++]=new Ba(Od,Nc,wd,Ed)}0!==nb&&(Dc[Pc++]=new Ba(xc,nb,0,0)),0!==dc&&(Dc[Pc++]=new Ba(0,0,zb,dc));{const Nc=0===nb?xc+1:nb+1,Ed=0===dc?zb+1:dc+1;let ad=Qa,ud=kb;if(Bc+1<Vc){const Dd=Oa[Bc+1];ad=0===Dd.originalEndLineNumber?Dd.originalStartLineNumber:Dd.originalStartLineNumber-1,ud=0===Dd.modifiedEndLineNumber?Dd.modifiedStartLineNumber:Dd.modifiedStartLineNumber-1}let Od=Nc+3-1,wd=Ed+3-1;if(Od>ad){const Dd=ad-Od;Od+=Dd,wd+=Dd}if(wd>ud){const Dd=ud-wd;Od+=Dd,wd+=Dd}Dc[Pc++]=new Ba(Nc,Od,Ed,wd)}tb[oc++]=new N(Dc)}let ec=tb[0].entries,$b=[],Hc=0;for(let Bc=1,Vc=tb.length;Bc<Vc;Bc++){const Ic=tb[Bc].entries,xc=ec[ec.length-1],nb=Ic[0];0===xc.getType()&&0===nb.getType()&&nb.originalLineStart<=xc.originalLineEnd?(ec[ec.length-1]=new Ba(xc.originalLineStart,nb.originalLineEnd,xc.modifiedLineStart,nb.modifiedLineEnd),ec=ec.concat(Ic.slice(1))):($b[Hc++]=new N(ec),ec=Ic)}return $b[Hc++]=new N(ec),$b}_findDiffIndex(Oa){const Qa=Oa.lineNumber;for(let kb=0,tb=this._diffs.length;kb<tb;kb++){const oc=this._diffs[kb].entries;if(Qa<=oc[oc.length-1].modifiedLineEnd)return kb}return 0}_render(){const Oa=this._diffEditor.getOriginalEditor().getOptions(),Qa=this._diffEditor.getModifiedEditor().getOptions(),kb=this._diffEditor.getOriginalEditor().getModel(),tb=this._diffEditor.getModifiedEditor().getModel(),oc=kb.getOptions(),ec=tb.getOptions();if(!this._isVisible||!kb||!tb)return q.s(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();this._diffEditor.updateOptions({readOnly:!0});const $b=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[$b]===this._currentDiff)return;this._currentDiff=this._diffs[$b];const Hc=this._diffs[$b].entries;let Bc=document.createElement("div");Bc.className="diff-review-table",Bc.setAttribute("role","list"),Bc.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),s.a.applyFontInfoSlow(Bc,Qa.get(36));let Vc=0,Ic=0,xc=0,nb=0;for(let wd=0,Dd=Hc.length;wd<Dd;wd++){const ce=Hc[wd],_d=ce.originalLineStart,oe=ce.originalLineEnd,nd=ce.modifiedLineStart,Qd=ce.modifiedLineEnd;0!==_d&&(0===Vc||_d<Vc)&&(Vc=_d),0!==oe&&(0===Ic||oe>Ic)&&(Ic=oe),0!==nd&&(0===xc||nd<xc)&&(xc=nd),0!==Qd&&(0===nb||Qd>nb)&&(nb=Qd)}let zb=document.createElement("div");zb.className="diff-review-row";let dc=document.createElement("div");dc.className="diff-review-cell diff-review-summary";const Dc=Ic-Vc+1,Pc=nb-xc+1;dc.appendChild(document.createTextNode(`${$b+1}/${this._diffs.length}: @@ -${Vc},${Dc} +${xc},${Pc} @@`)),zb.setAttribute("data-line",String(xc));const Nc=wd=>0===wd?l.a("no_lines_changed","no lines changed"):1===wd?l.a("one_line_changed","1 line changed"):l.a("more_lines_changed","{0} lines changed",wd),Ed=Nc(Dc),ad=Nc(Pc);zb.setAttribute("aria-label",l.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",$b+1,this._diffs.length,Vc,Ed,xc,ad)),zb.appendChild(dc),zb.setAttribute("role","listitem"),Bc.appendChild(zb);const ud=Qa.get(51);let Od=xc;for(let wd=0,Dd=Hc.length;wd<Dd;wd++){const ce=Hc[wd];Da._renderSection(Bc,ce,Od,ud,this._width,Oa,kb,oc,Qa,tb,ec),0!==ce.modifiedLineStart&&(Od=ce.modifiedLineEnd)}q.s(this._content.domNode),this._content.domNode.appendChild(Bc),this.scrollbar.scanDomNode()}static _renderSection(Oa,Qa,kb,tb,oc,ec,$b,Hc,Bc,Vc,Ic){const xc=Qa.getType();let nb="diff-review-row",zb="",dc=null;switch(xc){case 1:nb="diff-review-row line-insert",zb=" char-insert",dc=V;break;case 2:nb="diff-review-row line-delete",zb=" char-delete",dc=ma}const Dc=Qa.originalLineStart,Pc=Qa.originalLineEnd,Nc=Qa.modifiedLineStart,Ed=Qa.modifiedLineEnd,ad=Math.max(Ed-Nc,Pc-Dc),ud=ec.get(117),Od=ud.glyphMarginWidth+ud.lineNumbersWidth,wd=Bc.get(117),Dd=10+wd.glyphMarginWidth+wd.lineNumbersWidth;for(let ce=0;ce<=ad;ce++){const _d=0===Dc?0:Dc+ce,oe=0===Nc?0:Nc+ce,nd=document.createElement("div");nd.style.minWidth=oc+"px",nd.className=nb,nd.setAttribute("role","listitem"),0!==oe&&(kb=oe),nd.setAttribute("data-line",String(kb));let Qd=document.createElement("div");Qd.className="diff-review-cell",Qd.style.height=tb+"px",nd.appendChild(Qd);const jd=document.createElement("span");jd.style.width=Od+"px",jd.style.minWidth=Od+"px",jd.className="diff-review-line-number"+zb,0!==_d?jd.appendChild(document.createTextNode(String(_d))):jd.innerText=" ",Qd.appendChild(jd);const de=document.createElement("span");de.style.width=Dd+"px",de.style.minWidth=Dd+"px",de.style.paddingRight="10px",de.className="diff-review-line-number"+zb,0!==oe?de.appendChild(document.createTextNode(String(oe))):de.innerText=" ",Qd.appendChild(de);const Gd=document.createElement("span");if(Gd.className="diff-review-spacer",dc){const W=document.createElement("span");W.className=dc.classNames,W.innerText="  ",Gd.appendChild(W)}else Gd.innerText="  ";let xd;Qd.appendChild(Gd),0!==oe?(Qd.insertAdjacentHTML("beforeend",this._renderLine(Vc,Bc,Ic.tabSize,oe)),xd=Vc.getLineContent(oe)):(Qd.insertAdjacentHTML("beforeend",this._renderLine($b,ec,Hc.tabSize,_d)),xd=$b.getLineContent(_d)),0===xd.length&&(xd=l.a("blankLine","blank"));let K="";switch(xc){case 0:K=_d===oe?l.a({key:"unchangedLine",comment:["The placholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",xd,_d):l.a("equalLine","{0} original line {1} modified line {2}",xd,_d,oe);break;case 1:K=l.a("insertLine","+ {0} modified line {1}",xd,oe);break;case 2:K=l.a("deleteLine","- {0} original line {1}",xd,_d)}nd.setAttribute("aria-label",K),Oa.appendChild(nd)}}static _renderLine(Oa,Qa,kb,tb){const oc=Oa.getLineContent(tb),ec=Qa.get(36),$b=new Uint32Array(2);$b[0]=oc.length,$b[1]=16793600;const Hc=new u.a($b,oc),Bc=Z.d.isBasicASCII(oc,Oa.mightContainNonBasicASCII()),Vc=Z.d.containsRTL(oc,Bc,Oa.mightContainRTL());return Object(da.e)(new da.c(ec.isMonospace&&!Qa.get(24),ec.canUseHalfwidthRightwardsArrow,oc,!1,Bc,Vc,0,Hc,[],kb,0,ec.spaceWidth,ec.middotWidth,ec.wsmiddotWidth,Qa.get(95),Qa.get(80),Qa.get(74),Qa.get(37)!==x.e.OFF,null)).html}}Object(oa.g)((Oa,Qa)=>{const kb=Oa.getColor(U.k);kb&&Qa.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${kb}; }`);const tb=Oa.getColor(ea.ic);tb&&Qa.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${tb} 0 -6px 6px -6px inset; }`)});class Ka extends w.b{constructor(){super({id:"editor.action.diffReview.next",label:l.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:H.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(Oa,Qa){const kb=hb(Oa);kb&&kb.diffReviewNext()}}class G extends w.b{constructor(){super({id:"editor.action.diffReview.prev",label:l.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:H.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(Oa,Qa){const kb=hb(Oa);kb&&kb.diffReviewPrev()}}function hb(Oa){const Qa=Oa.get(D.a),kb=Qa.listDiffEditors(),tb=Qa.getActiveCodeEditor();if(!tb)return null;for(let oc=0,ec=kb.length;oc<ec;oc++){const $b=kb[oc];if($b.getModifiedEditor().getId()===tb.getId()||$b.getOriginalEditor().getId()===tb.getId())return $b}return null}Object(w.k)(Ka),Object(w.k)(G);var _a=f(3),fb=f(132),za=f(143),ua=f(30),ba=f(96),$=f(168),S=f(155),aa=f(18),_=f(149),I=f(49),ka=f(84),va=function(Oa,Qa,kb,tb){return new(kb||(kb=Promise))(function(oc,ec){function $b(Vc){try{Bc(tb.next(Vc))}catch(Ic){ec(Ic)}}function Hc(Vc){try{Bc(tb.throw(Vc))}catch(Ic){ec(Ic)}}function Bc(Vc){var Ic;Vc.done?oc(Vc.value):(Ic=Vc.value,Ic instanceof kb?Ic:new kb(function(xc){xc(Ic)})).then($b,Hc)}Bc((tb=tb.apply(Oa,Qa||[])).next())})};class La extends R.a{constructor(Oa,Qa,kb,tb,oc,ec){super(),this._viewZoneId=Oa,this._marginDomNode=Qa,this.editor=kb,this.diff=tb,this._contextMenuService=oc,this._clipboardService=ec,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=ga.a.lightBulb.classNames+" lightbulb-glyph",this._diffActions.style.position="absolute";const $b=kb.getOption(51),Hc=kb.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=$b+"px",this._diffActions.style.lineHeight=$b+"px",this._marginDomNode.appendChild(this._diffActions);const Bc=[];Bc.push(new k.a("diff.clipboard.copyDeletedContent",tb.originalEndLineNumber>tb.modifiedStartLineNumber?l.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):l.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>va(this,void 0,void 0,function*(){yield this._clipboardService.writeText(tb.originalContent.join(Hc)+Hc)})));let Vc=0,Ic;tb.originalEndLineNumber>tb.modifiedStartLineNumber&&(Ic=new k.a("diff.clipboard.copyDeletedLineContent",l.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",tb.originalStartLineNumber),void 0,!0,()=>va(this,void 0,void 0,function*(){yield this._clipboardService.writeText(tb.originalContent[Vc])})),Bc.push(Ic)),kb.getOption(72)||Bc.push(new k.a("diff.inline.revertChange",l.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>va(this,void 0,void 0,function*(){if(0===tb.modifiedEndLineNumber){const nb=kb.getModel().getLineMaxColumn(tb.modifiedStartLineNumber);kb.executeEdits("diffEditor",[{range:new _a.a(tb.modifiedStartLineNumber,nb,tb.modifiedStartLineNumber,nb),text:Hc+tb.originalContent.join(Hc)}])}else{const nb=kb.getModel().getLineMaxColumn(tb.modifiedEndLineNumber);kb.executeEdits("diffEditor",[{range:new _a.a(tb.modifiedStartLineNumber,1,tb.modifiedEndLineNumber,nb),text:tb.originalContent.join(Hc)}])}})));const xc=(nb,zb)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:nb,y:zb}),getActions:()=>(Ic&&(Ic.label=l.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",tb.originalStartLineNumber+Vc)),Bc),autoSelectFirstItem:!0})};this._register(q.n(this._diffActions,"mousedown",nb=>{const{top:zb,height:dc}=q.C(this._diffActions);let Dc=Math.floor($b/3);nb.preventDefault(),xc(nb.posx,zb+dc+Dc)})),this._register(kb.onMouseMove(nb=>{8===nb.target.type||5===nb.target.type?nb.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,Vc=this._updateLightBulbPosition(this._marginDomNode,nb.event.browserEvent.y,$b)):this.visibility=!1:this.visibility=!1})),this._register(kb.onMouseDown(nb=>{nb.event.rightButton&&(8===nb.target.type||5===nb.target.type)&&(nb.target.detail.viewZoneId===this._viewZoneId&&(nb.event.preventDefault(),Vc=this._updateLightBulbPosition(this._marginDomNode,nb.event.browserEvent.y,$b),xc(nb.event.posx,nb.event.posy+$b)))}))}get visibility(){return this._visibility}set visibility(Oa){this._visibility!==Oa&&(this._visibility=Oa,this._diffActions.style.visibility=Oa?"visible":"hidden")}_updateLightBulbPosition(Oa,Qa,kb){const{top:tb}=q.C(Oa),oc=Qa-tb,ec=Math.floor(oc/kb),$b=ec*kb;return this._diffActions.style.top=$b+"px",ec}}var $a=f(121),Ab=f(13),gb=f(83),Fb=f(190),wb=f(145),tc=function(Oa,Qa,kb,tb){var oc,ec=arguments.length,$b=ec<3?Qa:null===tb?tb=Object.getOwnPropertyDescriptor(Qa,kb):tb;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)$b=Reflect.decorate(Oa,Qa,kb,tb);else for(var Hc=Oa.length-1;Hc>=0;Hc--)(oc=Oa[Hc])&&($b=(ec<3?oc($b):ec>3?oc(Qa,kb,$b):oc(Qa,kb))||$b);return ec>3&&$b&&Object.defineProperty(Qa,kb,$b),$b},rb=function(Oa,Qa){return function(kb,tb){Qa(kb,tb,Oa)}};class wc{constructor(Oa,Qa){this._contextMenuService=Oa,this._clipboardService=Qa,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(Oa){return Oa.filter(Qa=>!this._zonesMap[String(Qa.id)])}clean(Oa){this._zones.length>0&&Oa.changeViewZones(Qa=>{for(let kb=0,tb=this._zones.length;kb<tb;kb++)Qa.removeZone(this._zones[kb])}),this._zones=[],this._zonesMap={},this._decorations=Oa.deltaDecorations(this._decorations,[])}apply(Oa,Qa,kb,tb){const oc=tb?z.c.capture(Oa):null;Oa.changeViewZones(ec=>{for(let $b=0,Hc=this._zones.length;$b<Hc;$b++)ec.removeZone(this._zones[$b]);for(let $b=0,Hc=this.inlineDiffMargins.length;$b<Hc;$b++)this.inlineDiffMargins[$b].dispose();this._zones=[],this._zonesMap={},this.inlineDiffMargins=[];for(let $b=0,Hc=kb.zones.length;$b<Hc;$b++){const Bc=kb.zones[$b];Bc.suppressMouseDown=!0;let Vc=ec.addZone(Bc);this._zones.push(Vc),this._zonesMap[String(Vc)]=!0,kb.zones[$b].diff&&Bc.marginDomNode&&(Bc.suppressMouseDown=!1,this.inlineDiffMargins.push(new La(Vc,Bc.marginDomNode,Oa,kb.zones[$b].diff,this._contextMenuService,this._clipboardService)))}}),oc&&oc.restore(Oa),this._decorations=Oa.deltaDecorations(this._decorations,kb.decorations),Qa&&Qa.setZones(kb.overviewZones)}}let vc=0;const cb=Object(ga.e)("diff-insert",ga.a.add),Ob=Object(ga.e)("diff-remove",ga.a.remove);let uc=class Oa extends R.a{constructor(Qa,kb,tb,oc,ec,$b,Hc,Bc,Vc,Ic,xc){super(),this._editorProgressService=xc,this._onDidDispose=this._register(new Y.a()),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new Y.a()),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new Y.a()),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=oc,this._codeEditorService=Hc,this._contextKeyService=this._register(ec.createScoped(Qa)),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=Bc,this._notificationService=Vc,this.id=++vc,this._state=0,this._updatingDiffProgress=null,this._domElement=Qa,kb=kb||{},this._renderSideBySide=!0,void 0!==kb.renderSideBySide&&(this._renderSideBySide=kb.renderSideBySide),this._maxComputationTime=5e3,void 0!==kb.maxComputationTime&&(this._maxComputationTime=kb.maxComputationTime),this._ignoreTrimWhitespace=!0,void 0!==kb.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=kb.ignoreTrimWhitespace),this._renderIndicators=!0,void 0!==kb.renderIndicators&&(this._renderIndicators=kb.renderIndicators),this._originalIsEditable=!1,void 0!==kb.originalEditable&&(this._originalIsEditable=Boolean(kb.originalEditable)),this._originalCodeLens=!1,void 0!==kb.originalCodeLens&&(this._originalCodeLens=Boolean(kb.originalCodeLens)),this._modifiedCodeLens=!1,void 0!==kb.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(kb.modifiedCodeLens)),this._updateDecorationsRunner=this._register(new P.d(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=Oa._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=Object(y.b)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(q.n(this._overviewDomElement,"mousedown",ad=>{this.modifiedEditor.delegateVerticalScrollbarMouseDown(ad)})),this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new wc(Ic,tb),this._modifiedEditorState=new wc(Ic,tb),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new Fb.a(this._containerDomElement,void 0,()=>this._onDidContainerSizeChanged())),kb.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null;const nb=this._contextKeyService.createScoped(),zb=new _.a();zb.set(H.b,nb);const dc=$b.createChild(zb),Dc=this._contextKeyService.createScoped(),Pc=new _.a();Pc.set(H.b,Dc);const Nc=$b.createChild(Pc);this.originalEditor=this._createLeftHandSideEditor(kb,dc,nb),this.modifiedEditor=this._createRightHandSideEditor(kb,Nc,Dc),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new Da(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,void 0!==kb.enableSplitViewResizing&&(this._enableSplitViewResizing=kb.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new Fc(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new mc(this._createDataSource(),this._enableSplitViewResizing)),this._register(Bc.onDidColorThemeChange(ad=>{this._strategy&&this._strategy.applyColors(ad)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=Oa._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));const Ed=w.d.getDiffEditorContributions();for(const ad of Ed)try{this._register($b.createInstance(ad.ctor,this))}catch(ud){Object(Ab.e)(ud)}this._codeEditorService.addDiffEditor(this)}_setState(Qa){this._state!==Qa&&(this._state=Qa,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(Qa,kb){let tb="monaco-diff-editor monaco-editor-background ";return kb&&(tb+="side-by-side "),tb+=Object(oa.f)(Qa.type),tb}_recreateOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()}_createLeftHandSideEditor(Qa,kb,tb){const oc=this._createInnerEditor(kb,this._originalDomNode,this._adjustOptionsForLeftHandSide(Qa,this._originalIsEditable,this._originalCodeLens));this._register(oc.onDidScrollChange($b=>{this._isHandlingScrollEvent||($b.scrollTopChanged||$b.scrollLeftChanged||$b.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.modifiedEditor.setScrollPosition({scrollLeft:$b.scrollLeft,scrollTop:$b.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(oc.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(oc.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const ec=tb.createKey("isInDiffLeftEditor",void 0);return this._register(oc.onDidFocusEditorWidget(()=>ec.set(!0))),this._register(oc.onDidBlurEditorWidget(()=>ec.set(!1))),this._register(oc.onDidContentSizeChange($b=>{const Hc=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+Oa.ONE_OVERVIEW_WIDTH,Bc=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Bc,contentWidth:Hc,contentHeightChanged:$b.contentHeightChanged,contentWidthChanged:$b.contentWidthChanged})})),oc}_createRightHandSideEditor(Qa,kb,tb){const oc=this._createInnerEditor(kb,this._modifiedDomNode,this._adjustOptionsForRightHandSide(Qa,this._modifiedCodeLens));this._register(oc.onDidScrollChange($b=>{this._isHandlingScrollEvent||($b.scrollTopChanged||$b.scrollLeftChanged||$b.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.originalEditor.setScrollPosition({scrollLeft:$b.scrollLeft,scrollTop:$b.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(oc.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(oc.onDidChangeConfiguration($b=>{$b.hasChanged(36)&&oc.getModel()&&this._onViewZonesChanged()})),this._register(oc.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(oc.onDidChangeModelOptions($b=>{$b.tabSize&&this._updateDecorationsRunner.schedule()}));const ec=tb.createKey("isInDiffRightEditor",void 0);return this._register(oc.onDidFocusEditorWidget(()=>ec.set(!0))),this._register(oc.onDidBlurEditorWidget(()=>ec.set(!1))),this._register(oc.onDidContentSizeChange($b=>{const Hc=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+Oa.ONE_OVERVIEW_WIDTH,Bc=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Bc,contentWidth:Hc,contentHeightChanged:$b.contentHeightChanged,contentWidthChanged:$b.contentWidthChanged})})),oc}_createInnerEditor(Qa,kb,tb){return Qa.createInstance(Q.a,kb,tb,{})}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this.id}getEditorType(){return za.a.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this.originalEditor}getModifiedEditor(){return this.modifiedEditor}updateOptions(Qa){let kb=!1;void 0!==Qa.renderSideBySide&&this._renderSideBySide!==Qa.renderSideBySide&&(this._renderSideBySide=Qa.renderSideBySide,kb=!0),void 0!==Qa.maxComputationTime&&(this._maxComputationTime=Qa.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());let tb=!1;void 0!==Qa.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==Qa.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=Qa.ignoreTrimWhitespace,tb=!0),void 0!==Qa.renderIndicators&&this._renderIndicators!==Qa.renderIndicators&&(this._renderIndicators=Qa.renderIndicators,tb=!0),tb&&this._beginUpdateDecorations(),void 0!==Qa.originalEditable&&(this._originalIsEditable=Boolean(Qa.originalEditable)),void 0!==Qa.originalCodeLens&&(this._originalCodeLens=Boolean(Qa.originalCodeLens)),void 0!==Qa.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(Qa.modifiedCodeLens)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(Qa,this._modifiedCodeLens)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(Qa,this._originalIsEditable,this._originalCodeLens)),void 0!==Qa.enableSplitViewResizing&&(this._enableSplitViewResizing=Qa.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),kb&&(this._renderSideBySide?this._setStrategy(new Fc(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new mc(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=Oa._getClassName(this._themeService.getColorTheme(),this._renderSideBySide))}getModel(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}}setModel(Qa){if(Qa&&(!Qa.original||!Qa.modified))throw new Error(Qa.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(Qa?Qa.original:null),this.modifiedEditor.setModel(Qa?Qa.modified:null),this._updateDecorationsRunner.cancel(),Qa&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),Qa&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(Qa){return this.modifiedEditor.getVisibleColumnFromPosition(Qa)}getPosition(){return this.modifiedEditor.getPosition()}setPosition(Qa){this.modifiedEditor.setPosition(Qa)}revealLine(Qa,kb=0){this.modifiedEditor.revealLine(Qa,kb)}revealLineInCenter(Qa,kb=0){this.modifiedEditor.revealLineInCenter(Qa,kb)}revealLineInCenterIfOutsideViewport(Qa,kb=0){this.modifiedEditor.revealLineInCenterIfOutsideViewport(Qa,kb)}revealLineNearTop(Qa,kb=0){this.modifiedEditor.revealLineNearTop(Qa,kb)}revealPosition(Qa,kb=0){this.modifiedEditor.revealPosition(Qa,kb)}revealPositionInCenter(Qa,kb=0){this.modifiedEditor.revealPositionInCenter(Qa,kb)}revealPositionInCenterIfOutsideViewport(Qa,kb=0){this.modifiedEditor.revealPositionInCenterIfOutsideViewport(Qa,kb)}revealPositionNearTop(Qa,kb=0){this.modifiedEditor.revealPositionNearTop(Qa,kb)}getSelection(){return this.modifiedEditor.getSelection()}getSelections(){return this.modifiedEditor.getSelections()}setSelection(Qa){this.modifiedEditor.setSelection(Qa)}setSelections(Qa){this.modifiedEditor.setSelections(Qa)}revealLines(Qa,kb,tb=0){this.modifiedEditor.revealLines(Qa,kb,tb)}revealLinesInCenter(Qa,kb,tb=0){this.modifiedEditor.revealLinesInCenter(Qa,kb,tb)}revealLinesInCenterIfOutsideViewport(Qa,kb,tb=0){this.modifiedEditor.revealLinesInCenterIfOutsideViewport(Qa,kb,tb)}revealLinesNearTop(Qa,kb,tb=0){this.modifiedEditor.revealLinesNearTop(Qa,kb,tb)}revealRange(Qa,kb=0,tb=!1,oc=!0){this.modifiedEditor.revealRange(Qa,kb,tb,oc)}revealRangeInCenter(Qa,kb=0){this.modifiedEditor.revealRangeInCenter(Qa,kb)}revealRangeInCenterIfOutsideViewport(Qa,kb=0){this.modifiedEditor.revealRangeInCenterIfOutsideViewport(Qa,kb)}revealRangeNearTop(Qa,kb=0){this.modifiedEditor.revealRangeNearTop(Qa,kb)}revealRangeNearTopIfOutsideViewport(Qa,kb=0){this.modifiedEditor.revealRangeNearTopIfOutsideViewport(Qa,kb)}revealRangeAtTop(Qa,kb=0){this.modifiedEditor.revealRangeAtTop(Qa,kb)}getSupportedActions(){return this.modifiedEditor.getSupportedActions()}saveViewState(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}}restoreViewState(Qa){if(Qa.original&&Qa.modified){let kb=Qa;this.originalEditor.restoreViewState(kb.original),this.modifiedEditor.restoreViewState(kb.modified)}}layout(Qa){this._elementSizeObserver.observe(Qa)}focus(){this.modifiedEditor.focus()}hasTextFocus(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()}trigger(Qa,kb,tb){this.modifiedEditor.trigger(Qa,kb,tb)}changeDecorations(Qa){return this.modifiedEditor.changeDecorations(Qa)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const Qa=this._elementSizeObserver.getHeight(),kb=this._getReviewHeight();let tb=Oa.ENTIRE_DIFF_OVERVIEW_WIDTH-2*Oa.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:Oa.ONE_OVERVIEW_WIDTH,right:tb+Oa.ONE_OVERVIEW_WIDTH,height:Qa-kb}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:Oa.ONE_OVERVIEW_WIDTH,height:Qa-kb}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),Oa.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(Qa,kb){return!Qa&&!kb||!(!Qa||!kb)&&Qa.toString()===kb.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const Qa=this.originalEditor.getModel(),kb=this.modifiedEditor.getModel();if(!Qa||!kb)return;this._diffComputationToken++;let tb=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(Qa.uri,kb.uri)?this._editorWorkerService.computeDiff(Qa.uri,kb.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(oc=>{tb===this._diffComputationToken&&Qa===this.originalEditor.getModel()&&kb===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=oc,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},oc=>{tb===this._diffComputationToken&&Qa===this.originalEditor.getModel()&&kb===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):Oa._equals(Qa.uri,this._lastOriginalWarning)&&Oa._equals(kb.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=Qa.uri,this._lastModifiedWarning=kb.uri,this._notificationService.warn(l.a("diff.tooLarge","Cannot compare files because one file is too large.")))}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)}_updateDecorations(){if(!(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler))return;const Qa=this._diffComputationResult?this._diffComputationResult.changes:[];let kb=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),tb=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),oc=this._strategy.getEditorsDiffDecorations(Qa,this._ignoreTrimWhitespace,this._renderIndicators,kb,tb,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,oc.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,oc.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(Qa){let kb=L.c(Qa||{});return kb.inDiffEditor=!0,kb.wordWrap="off",kb.wordWrapMinified=!1,kb.automaticLayout=!1,kb.scrollbar=kb.scrollbar||{},kb.scrollbar.vertical="visible",kb.folding=!1,kb.codeLens=!1,kb.fixedOverflowWidgets=!0,kb.overflowWidgetsDomNode=Qa.overflowWidgetsDomNode,kb.minimap||(kb.minimap={}),kb.minimap.enabled=!1,kb}_adjustOptionsForLeftHandSide(Qa,kb,tb){let oc=this._adjustOptionsForSubEditor(Qa);return tb&&(oc.codeLens=!0),oc.readOnly=!kb,oc.extraEditorClassName="original-in-monaco-diff-editor",oc}_adjustOptionsForRightHandSide(Qa,kb){let tb=this._adjustOptionsForSubEditor(Qa);return kb&&(tb.codeLens=!0),tb.revealHorizontalRightPadding=x.g.revealHorizontalRightPadding.defaultValue+Oa.ENTIRE_DIFF_OVERVIEW_WIDTH,tb.scrollbar.verticalHasArrows=!1,tb.extraEditorClassName="modified-in-monaco-diff-editor",tb}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const Qa=this._elementSizeObserver.getWidth(),kb=this._elementSizeObserver.getHeight(),tb=this._getReviewHeight();let oc=this._strategy.layout();this._originalDomNode.style.width=oc+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=Qa-oc+"px",this._modifiedDomNode.style.left=oc+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=kb-tb+"px",this._overviewDomElement.style.width=Oa.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=Qa-Oa.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(Oa.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:oc,height:kb-tb}),this.modifiedEditor.layout({width:Qa-oc-Oa.ENTIRE_DIFF_OVERVIEW_WIDTH,height:kb-tb}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(kb-tb,Qa,tb),this._layoutOverviewViewport()}_layoutOverviewViewport(){let Qa=this._computeOverviewViewport();Qa?(this._overviewViewportDomElement.setTop(Qa.top),this._overviewViewportDomElement.setHeight(Qa.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){let Qa=this.modifiedEditor.getLayoutInfo();if(!Qa)return null;let kb=this.modifiedEditor.getScrollTop(),tb=this.modifiedEditor.getScrollHeight(),oc=Math.max(0,Qa.height),ec=Math.max(0,oc-0),$b=tb>0?ec/tb:0;return{height:Math.max(0,Math.floor(Qa.height*$b)),top:Math.floor(kb*$b)}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this.originalEditor,getModifiedEditor:()=>this.modifiedEditor}}_setStrategy(Qa){this._strategy&&this._strategy.dispose(),this._strategy=Qa,Qa.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(Qa,kb){const tb=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===tb.length||Qa<kb(tb[0]))return null;let oc=0,ec=tb.length-1;for(;oc<ec;){let $b=Math.floor((oc+ec)/2),Hc=kb(tb[$b]),Bc=$b+1<=ec?kb(tb[$b+1]):1073741824;Qa<Hc?ec=$b-1:Qa>=Bc?oc=$b+1:(oc=$b,ec=$b)}return tb[oc]}_getEquivalentLineForOriginalLineNumber(Qa){let kb=this._getLineChangeAtOrBeforeLineNumber(Qa,Bc=>Bc.originalStartLineNumber);if(!kb)return Qa;let tb=kb.originalStartLineNumber+(kb.originalEndLineNumber>0?-1:0),oc=kb.modifiedStartLineNumber+(kb.modifiedEndLineNumber>0?-1:0),ec=kb.originalEndLineNumber>0?kb.originalEndLineNumber-kb.originalStartLineNumber+1:0,$b=kb.modifiedEndLineNumber>0?kb.modifiedEndLineNumber-kb.modifiedStartLineNumber+1:0,Hc=Qa-tb;return Hc<=ec?oc+Math.min(Hc,$b):oc+$b-ec+Hc}_getEquivalentLineForModifiedLineNumber(Qa){let kb=this._getLineChangeAtOrBeforeLineNumber(Qa,Bc=>Bc.modifiedStartLineNumber);if(!kb)return Qa;let tb=kb.originalStartLineNumber+(kb.originalEndLineNumber>0?-1:0),oc=kb.modifiedStartLineNumber+(kb.modifiedEndLineNumber>0?-1:0),ec=kb.originalEndLineNumber>0?kb.originalEndLineNumber-kb.originalStartLineNumber+1:0,$b=kb.modifiedEndLineNumber>0?kb.modifiedEndLineNumber-kb.modifiedStartLineNumber+1:0,Hc=Qa-oc;return Hc<=$b?tb+Math.min(Hc,ec):tb+ec-$b+Hc}getDiffLineInformationForOriginal(Qa){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(Qa)}:null}getDiffLineInformationForModified(Qa){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(Qa)}:null}};uc.ONE_OVERVIEW_WIDTH=15,uc.ENTIRE_DIFF_OVERVIEW_WIDTH=30,uc.UPDATE_DIFF_DECORATIONS_DELAY=200,uc=tc([rb(2,$a.a),rb(3,ba.a),rb(4,H.b),rb(5,aa.a),rb(6,D.a),rb(7,oa.c),rb(8,I.a),rb(9,ka.a),rb(10,gb.a)],uc);class Cc extends R.a{constructor(Oa){super(),this._dataSource=Oa,this._insertColor=null,this._removeColor=null}applyColors(Oa){let Qa=(Oa.getColor(ea.n)||ea.j).transparent(2),kb=(Oa.getColor(ea.p)||ea.k).transparent(2),tb=!Qa.equals(this._insertColor)||!kb.equals(this._removeColor);return this._insertColor=Qa,this._removeColor=kb,tb}getEditorsDiffDecorations(Oa,Qa,kb,tb,oc,ec,$b){oc=oc.sort((Ic,xc)=>Ic.afterLineNumber-xc.afterLineNumber),tb=tb.sort((Ic,xc)=>Ic.afterLineNumber-xc.afterLineNumber);let Hc=this._getViewZones(Oa,tb,oc,ec,$b,kb),Bc=this._getOriginalEditorDecorations(Oa,Qa,kb,ec,$b),Vc=this._getModifiedEditorDecorations(Oa,Qa,kb,ec,$b);return{original:{decorations:Bc.decorations,overviewZones:Bc.overviewZones,zones:Hc.original},modified:{decorations:Vc.decorations,overviewZones:Vc.overviewZones,zones:Hc.modified}}}}class Kc{constructor(Oa){this._source=Oa,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class Yc{constructor(Oa,Qa,kb,tb,oc){this.lineChanges=Oa,this.originalForeignVZ=Qa,this.originalLineHeight=kb,this.modifiedForeignVZ=tb,this.modifiedLineHeight=oc}getViewZones(){let Oa=[],Qa=[],kb=0,tb=0,oc=0,ec=0,$b=0,Hc=0,Bc=(nb,zb)=>nb.afterLineNumber-zb.afterLineNumber,Vc=(nb,zb)=>{if(null===zb.domNode&&nb.length>0){let dc=nb[nb.length-1];if(dc.afterLineNumber===zb.afterLineNumber&&null===dc.domNode)return void(dc.heightInLines+=zb.heightInLines)}nb.push(zb)},Ic=new Kc(this.modifiedForeignVZ),xc=new Kc(this.originalForeignVZ);for(let nb=0,zb=this.lineChanges.length;nb<=zb;nb++){let dc=nb<zb?this.lineChanges[nb]:null;null!==dc?(oc=dc.originalStartLineNumber+(dc.originalEndLineNumber>0?-1:0),ec=dc.modifiedStartLineNumber+(dc.modifiedEndLineNumber>0?-1:0),tb=dc.originalEndLineNumber>0?dc.originalEndLineNumber-dc.originalStartLineNumber+1:0,kb=dc.modifiedEndLineNumber>0?dc.modifiedEndLineNumber-dc.modifiedStartLineNumber+1:0,$b=Math.max(dc.originalStartLineNumber,dc.originalEndLineNumber),Hc=Math.max(dc.modifiedStartLineNumber,dc.modifiedEndLineNumber)):(oc+=1e7+tb,ec+=1e7+kb,$b=oc,Hc=ec);let Dc=[],Pc=[];for(;Ic.current&&Ic.current.afterLineNumber<=Hc;){let ad;ad=Ic.current.afterLineNumber<=ec?oc-ec+Ic.current.afterLineNumber:$b;let ud=null;dc&&dc.modifiedStartLineNumber<=Ic.current.afterLineNumber&&Ic.current.afterLineNumber<=dc.modifiedEndLineNumber&&(ud=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),Dc.push({afterLineNumber:ad,heightInLines:Ic.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:ud}),Ic.advance()}for(;xc.current&&xc.current.afterLineNumber<=$b;){let ad;ad=xc.current.afterLineNumber<=oc?ec-oc+xc.current.afterLineNumber:Hc,Pc.push({afterLineNumber:ad,heightInLines:xc.current.height/this.originalLineHeight,domNode:null}),xc.advance()}if(null!==dc&&qb(dc)){let ad=this._produceOriginalFromDiff(dc,tb,kb);ad&&Dc.push(ad)}if(null!==dc&&Va(dc)){let ad=this._produceModifiedFromDiff(dc,tb,kb);ad&&Pc.push(ad)}let Nc=0,Ed=0;for(Dc=Dc.sort(Bc),Pc=Pc.sort(Bc);Nc<Dc.length&&Ed<Pc.length;){let ad=Dc[Nc],ud=Pc[Ed],Od=ad.afterLineNumber-oc,wd=ud.afterLineNumber-ec;Od<wd?(Vc(Oa,ad),Nc++):wd<Od?(Vc(Qa,ud),Ed++):ad.shouldNotShrink?(Vc(Oa,ad),Nc++):ud.shouldNotShrink?(Vc(Qa,ud),Ed++):ad.heightInLines>=ud.heightInLines?(ad.heightInLines-=ud.heightInLines,Ed++):(ud.heightInLines-=ad.heightInLines,Nc++)}for(;Nc<Dc.length;)Vc(Oa,Dc[Nc]),Nc++;for(;Ed<Pc.length;)Vc(Qa,Pc[Ed]),Ed++}return{original:Yc._ensureDomNodes(Oa),modified:Yc._ensureDomNodes(Qa)}}static _ensureDomNodes(Oa){return Oa.map(Qa=>(Qa.domNode||(Qa.domNode=function(){let kb=document.createElement("div");return kb.className="diagonal-fill",kb}()),Qa))}}function sc(Oa,Qa,kb,tb,oc){return{range:new _a.a(Oa,Qa,kb,tb),options:oc}}const Nb={charDelete:ua.a.register({className:"char-delete"}),charDeleteWholeLine:ua.a.register({className:"char-delete",isWholeLine:!0}),charInsert:ua.a.register({className:"char-insert"}),charInsertWholeLine:ua.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:ua.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:ua.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign "+cb.classNames,marginClassName:"line-insert",isWholeLine:!0}),lineDelete:ua.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:ua.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign "+Ob.classNames,marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:ua.a.register({marginClassName:"line-delete"})};class Fc extends Cc{constructor(Oa,Qa){super(Oa),this._disableSash=!1===Qa,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new F.a(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this.onSashDragStart()),this._sash.onDidChange(kb=>this.onSashDrag(kb)),this._sash.onDidEnd(()=>this.onSashDragEnd()),this._sash.onDidReset(()=>this.onSashReset())}setEnableSplitViewResizing(Oa){let Qa=!1===Oa;this._disableSash!==Qa&&(this._disableSash=Qa,this._sash.state=this._disableSash?0:3)}layout(Oa=this._sashRatio){let Qa=this._dataSource.getWidth()-uc.ENTIRE_DIFF_OVERVIEW_WIDTH,kb=Math.floor((Oa||.5)*Qa),tb=Math.floor(.5*Qa);return kb=this._disableSash?tb:kb||tb,Qa>2*Fc.MINIMUM_EDITOR_WIDTH?(kb<Fc.MINIMUM_EDITOR_WIDTH&&(kb=Fc.MINIMUM_EDITOR_WIDTH),kb>Qa-Fc.MINIMUM_EDITOR_WIDTH&&(kb=Qa-Fc.MINIMUM_EDITOR_WIDTH)):kb=tb,this._sashPosition!==kb&&(this._sashPosition=kb,this._sash.layout()),this._sashPosition}onSashDragStart(){this._startSashPosition=this._sashPosition}onSashDrag(Oa){let Qa=this._dataSource.getWidth()-uc.ENTIRE_DIFF_OVERVIEW_WIDTH,kb=this.layout((this._startSashPosition+(Oa.currentX-Oa.startX))/Qa);this._sashRatio=kb/Qa,this._dataSource.relayoutEditors()}onSashDragEnd(){this._sash.layout()}onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(Oa){return 0}getVerticalSashLeft(Oa){return this._sashPosition}getVerticalSashHeight(Oa){return this._dataSource.getHeight()}_getViewZones(Oa,Qa,kb,tb,oc){return new pb(Oa,Qa,tb.getOption(51),kb,oc.getOption(51)).getViewZones()}_getOriginalEditorDecorations(Oa,Qa,kb,tb,oc){const ec=String(this._removeColor);let $b={decorations:[],overviewZones:[]},Hc=tb.getModel();for(let Bc=0,Vc=Oa.length;Bc<Vc;Bc++){let Ic=Oa[Bc];if(Va(Ic)&&($b.decorations.push({range:new _a.a(Ic.originalStartLineNumber,1,Ic.originalEndLineNumber,1073741824),options:kb?Nb.lineDeleteWithSign:Nb.lineDelete}),qb(Ic)&&Ic.charChanges||$b.decorations.push(sc(Ic.originalStartLineNumber,1,Ic.originalEndLineNumber,1073741824,Nb.charDeleteWholeLine)),$b.overviewZones.push(new $.a(Ic.originalStartLineNumber,Ic.originalEndLineNumber,ec)),Ic.charChanges))for(let xc=0,nb=Ic.charChanges.length;xc<nb;xc++){let zb=Ic.charChanges[xc];if(Va(zb))if(Qa)for(let dc=zb.originalStartLineNumber;dc<=zb.originalEndLineNumber;dc++){let Dc,Pc;Dc=dc===zb.originalStartLineNumber?zb.originalStartColumn:Hc.getLineFirstNonWhitespaceColumn(dc),Pc=dc===zb.originalEndLineNumber?zb.originalEndColumn:Hc.getLineLastNonWhitespaceColumn(dc),$b.decorations.push(sc(dc,Dc,dc,Pc,Nb.charDelete))}else $b.decorations.push(sc(zb.originalStartLineNumber,zb.originalStartColumn,zb.originalEndLineNumber,zb.originalEndColumn,Nb.charDelete))}}return $b}_getModifiedEditorDecorations(Oa,Qa,kb,tb,oc){const ec=String(this._insertColor);let $b={decorations:[],overviewZones:[]},Hc=oc.getModel();for(let Bc=0,Vc=Oa.length;Bc<Vc;Bc++){let Ic=Oa[Bc];if(qb(Ic)&&($b.decorations.push({range:new _a.a(Ic.modifiedStartLineNumber,1,Ic.modifiedEndLineNumber,1073741824),options:kb?Nb.lineInsertWithSign:Nb.lineInsert}),Va(Ic)&&Ic.charChanges||$b.decorations.push(sc(Ic.modifiedStartLineNumber,1,Ic.modifiedEndLineNumber,1073741824,Nb.charInsertWholeLine)),$b.overviewZones.push(new $.a(Ic.modifiedStartLineNumber,Ic.modifiedEndLineNumber,ec)),Ic.charChanges))for(let xc=0,nb=Ic.charChanges.length;xc<nb;xc++){let zb=Ic.charChanges[xc];if(qb(zb))if(Qa)for(let dc=zb.modifiedStartLineNumber;dc<=zb.modifiedEndLineNumber;dc++){let Dc,Pc;Dc=dc===zb.modifiedStartLineNumber?zb.modifiedStartColumn:Hc.getLineFirstNonWhitespaceColumn(dc),Pc=dc===zb.modifiedEndLineNumber?zb.modifiedEndColumn:Hc.getLineLastNonWhitespaceColumn(dc),$b.decorations.push(sc(dc,Dc,dc,Pc,Nb.charInsert))}else $b.decorations.push(sc(zb.modifiedStartLineNumber,zb.modifiedStartColumn,zb.modifiedEndLineNumber,zb.modifiedEndColumn,Nb.charInsert))}}return $b}}Fc.MINIMUM_EDITOR_WIDTH=100;class pb extends Yc{constructor(Oa,Qa,kb,tb,oc){super(Oa,Qa,kb,tb,oc)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(Oa,Qa,kb){return kb>Qa?{afterLineNumber:Math.max(Oa.originalStartLineNumber,Oa.originalEndLineNumber),heightInLines:kb-Qa,domNode:null}:null}_produceModifiedFromDiff(Oa,Qa,kb){return Qa>kb?{afterLineNumber:Math.max(Oa.modifiedStartLineNumber,Oa.modifiedEndLineNumber),heightInLines:Qa-kb,domNode:null}:null}}class mc extends Cc{constructor(Oa,Qa){super(Oa),this.decorationsLeft=Oa.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(Oa.getOriginalEditor().onDidLayoutChange(kb=>{this.decorationsLeft!==kb.decorationsLeft&&(this.decorationsLeft=kb.decorationsLeft,Oa.relayoutEditors())}))}setEnableSplitViewResizing(Oa){}_getViewZones(Oa,Qa,kb,tb,oc,ec){return new Eb(Oa,Qa,kb,tb,oc,ec).getViewZones()}_getOriginalEditorDecorations(Oa,Qa,kb,tb,oc){const ec=String(this._removeColor);let $b={decorations:[],overviewZones:[]};for(let Hc=0,Bc=Oa.length;Hc<Bc;Hc++){let Vc=Oa[Hc];Va(Vc)&&($b.decorations.push({range:new _a.a(Vc.originalStartLineNumber,1,Vc.originalEndLineNumber,1073741824),options:Nb.lineDeleteMargin}),$b.overviewZones.push(new $.a(Vc.originalStartLineNumber,Vc.originalEndLineNumber,ec)))}return $b}_getModifiedEditorDecorations(Oa,Qa,kb,tb,oc){const ec=String(this._insertColor);let $b={decorations:[],overviewZones:[]},Hc=oc.getModel();for(let Bc=0,Vc=Oa.length;Bc<Vc;Bc++){let Ic=Oa[Bc];if(qb(Ic))if($b.decorations.push({range:new _a.a(Ic.modifiedStartLineNumber,1,Ic.modifiedEndLineNumber,1073741824),options:kb?Nb.lineInsertWithSign:Nb.lineInsert}),$b.overviewZones.push(new $.a(Ic.modifiedStartLineNumber,Ic.modifiedEndLineNumber,ec)),Ic.charChanges)for(let xc=0,nb=Ic.charChanges.length;xc<nb;xc++){let zb=Ic.charChanges[xc];if(qb(zb))if(Qa)for(let dc=zb.modifiedStartLineNumber;dc<=zb.modifiedEndLineNumber;dc++){let Dc,Pc;Dc=dc===zb.modifiedStartLineNumber?zb.modifiedStartColumn:Hc.getLineFirstNonWhitespaceColumn(dc),Pc=dc===zb.modifiedEndLineNumber?zb.modifiedEndColumn:Hc.getLineLastNonWhitespaceColumn(dc),$b.decorations.push(sc(dc,Dc,dc,Pc,Nb.charInsert))}else $b.decorations.push(sc(zb.modifiedStartLineNumber,zb.modifiedStartColumn,zb.modifiedEndLineNumber,zb.modifiedEndColumn,Nb.charInsert))}else $b.decorations.push(sc(Ic.modifiedStartLineNumber,1,Ic.modifiedEndLineNumber,1073741824,Nb.charInsertWholeLine))}return $b}layout(){return Math.max(5,this.decorationsLeft)}}class Eb extends Yc{constructor(Oa,Qa,kb,tb,oc,ec){super(Oa,Qa,tb.getOption(51),kb,oc.getOption(51)),this.originalModel=tb.getModel(),this.modifiedEditorOptions=oc.getOptions(),this.modifiedEditorTabSize=oc.getModel().getOptions().tabSize,this.renderIndicators=ec}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){let Oa=document.createElement("div");return Oa.className="inline-added-margin-view-zone",Oa}_produceOriginalFromDiff(Oa,Qa,kb){let tb=document.createElement("div");return tb.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(Oa.originalStartLineNumber,Oa.originalEndLineNumber),heightInLines:kb,domNode:document.createElement("div"),marginDomNode:tb}}_produceModifiedFromDiff(Oa,Qa,kb){let tb=[];if(Oa.charChanges)for(let Dc=0,Pc=Oa.charChanges.length;Dc<Pc;Dc++){let Nc=Oa.charChanges[Dc];Va(Nc)&&tb.push(new Z.a(new _a.a(Nc.originalStartLineNumber,Nc.originalStartColumn,Nc.originalEndLineNumber,Nc.originalEndColumn),"char-delete",0))}let oc=Object(fb.a)(1e4),ec=[];const $b=this.modifiedEditorOptions.get(117),Hc=this.modifiedEditorOptions.get(36),Bc=$b.decorationsWidth;let Vc=this.modifiedEditorOptions.get(51);const Ic=Hc.typicalHalfwidthCharacterWidth;let xc=0;const nb=[];for(let Dc=Oa.originalStartLineNumber;Dc<=Oa.originalEndLineNumber;Dc++)if(xc=Math.max(xc,this._renderOriginalLine(Dc-Oa.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,Dc,tb,oc)),nb.push(this.originalModel.getLineContent(Dc)),this.renderIndicators){let Pc=Dc-Oa.originalStartLineNumber;ec=ec.concat([`<div class="delete-sign ${Ob.classNames}" style="position:absolute;top:${Pc*Vc}px;width:${Bc}px;height:${Vc}px;right:0;"></div>`])}xc+=this.modifiedEditorOptions.get(85);let zb=document.createElement("div");zb.className="view-lines line-delete "+wb.a,zb.innerHTML=oc.build(),s.a.applyFontInfoSlow(zb,Hc);let dc=document.createElement("div");return dc.className="inline-deleted-margin-view-zone",dc.innerHTML=ec.join(""),s.a.applyFontInfoSlow(dc,Hc),{shouldNotShrink:!0,afterLineNumber:0===Oa.modifiedEndLineNumber?Oa.modifiedStartLineNumber:Oa.modifiedStartLineNumber-1,heightInLines:Qa,minWidthInPx:xc*Ic,domNode:zb,marginDomNode:dc,diff:{originalStartLineNumber:Oa.originalStartLineNumber,originalEndLineNumber:Oa.originalEndLineNumber,modifiedStartLineNumber:Oa.modifiedStartLineNumber,modifiedEndLineNumber:Oa.modifiedEndLineNumber,originalContent:nb}}}_renderOriginalLine(Oa,Qa,kb,tb,oc,ec,$b){const Hc=Qa.getLineTokens(oc),Bc=Hc.getLineContent(),Vc=kb.get(36),Ic=S.a.filter(ec,oc,1,Bc.length+1);$b.appendASCIIString('<div class="view-line'),0===ec.length&&$b.appendASCIIString(" char-delete"),$b.appendASCIIString('" style="top:'),$b.appendASCIIString(String(Oa*kb.get(51))),$b.appendASCIIString('px;width:1000000px;">');const xc=Z.d.isBasicASCII(Bc,Qa.mightContainNonBasicASCII()),nb=Z.d.containsRTL(Bc,xc,Qa.mightContainRTL()),zb=Object(da.d)(new da.c(Vc.isMonospace&&!kb.get(24),Vc.canUseHalfwidthRightwardsArrow,Bc,!1,xc,nb,0,Hc,Ic,tb,0,Vc.spaceWidth,Vc.middotWidth,Vc.wsmiddotWidth,kb.get(95),kb.get(80),kb.get(74),kb.get(37)!==x.e.OFF,null),$b);$b.appendASCIIString("</div>");const dc=zb.characterMapping.getAbsoluteOffsets();return dc.length>0?dc[dc.length-1]:0}}function qb(Oa){return Oa.modifiedEndLineNumber>0}function Va(Oa){return Oa.originalEndLineNumber>0}Object(oa.g)((Oa,Qa)=>{const kb=Oa.getColor(ea.n);kb&&(Qa.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${kb}; }`),Qa.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${kb}; }`),Qa.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${kb}; }`));const tb=Oa.getColor(ea.p);tb&&(Qa.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${tb}; }`),Qa.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${tb}; }`),Qa.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${tb}; }`));const oc=Oa.getColor(ea.o);oc&&Qa.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===Oa.type?"dashed":"solid"} ${oc}; }`);const ec=Oa.getColor(ea.q);ec&&Qa.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===Oa.type?"dashed":"solid"} ${ec}; }`);const $b=Oa.getColor(ea.ic);$b&&Qa.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${$b}; }`);const Hc=Oa.getColor(ea.l);Hc&&Qa.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${Hc}; }`);const Bc=Oa.getColor(ea.kc);Bc&&Qa.addRule(` +`}getCreationOptions(Ce,Ae,L){let nt=this._modelCreationOptionsByLanguageAndResource[Ce+Ae];if(!nt){let ct=this._configurationService.getValue("editor",{overrideIdentifier:Ce,resource:Ae}),Ye=this._getEOL(Ae,Ce);nt=Hd._readModelOptions({editor:ct,eol:Ye},L),this._modelCreationOptionsByLanguageAndResource[Ce+Ae]=nt}return nt}_updateModelOptions(){let Ce=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);let Ae=Object.keys(this._models);for(let L=0,nt=Ae.length;L<nt;L++){let ct=Ae[L],Ye=this._models[ct],ht=Ye.model.getLanguageIdentifier().language,fe=Ye.model.uri,$=Ce[ht+fe],G=this.getCreationOptions(ht,fe,Ye.model.isForSimpleWidget);Hd._setModelOptionsForModel(Ye.model,G,$)}}static _setModelOptionsForModel(Ce,Ae,L){L&&L.defaultEOL!==Ae.defaultEOL&&Ce.getLineCount()===1&&Ce.setEOL(Ae.defaultEOL===1?0:1),L&&L.detectIndentation===Ae.detectIndentation&&L.insertSpaces===Ae.insertSpaces&&L.tabSize===Ae.tabSize&&L.indentSize===Ae.indentSize&&L.trimAutoWhitespace===Ae.trimAutoWhitespace||(Ae.detectIndentation?(Ce.detectIndentation(Ae.insertSpaces,Ae.tabSize),Ce.updateOptions({trimAutoWhitespace:Ae.trimAutoWhitespace})):Ce.updateOptions({insertSpaces:Ae.insertSpaces,tabSize:Ae.tabSize,indentSize:Ae.indentSize,trimAutoWhitespace:Ae.trimAutoWhitespace}))}_removeDisposedModel(Ce){let Ae=this._disposedModels.get(ie(Ce));return Ae&&(this._disposedModelsHeapSize-=Ae.heapSize),this._disposedModels.delete(ie(Ce)),Ae}_createModelData(Ce,Ae,L,nt){let ct=this.getCreationOptions(Ae.language,L,nt),Ye=new ge.b(Ce,ct,Ae,L,this._undoRedoService);if(L&&this._disposedModels.has(ie(L))){let $=this._removeDisposedModel(L),G=this._undoRedoService.getElements(L),z=function(J){let Se=new T.a,A=J.createSnapshot(),ee;for(;ee=A.read();)Se.update(ee);return Se.digest()}(Ye)===$.sha1;if(z||$.sharesUndoRedoStack){for(let J of G.past)Object(N.b)(J)&&J.matchesResource(L)&&J.setModel(Ye);for(let J of G.future)Object(N.b)(J)&&J.matchesResource(L)&&J.setModel(Ye);this._undoRedoService.setElementsValidFlag(L,!0,J=>Object(N.b)(J)&&J.matchesResource(L)),z&&(Ye._overwriteVersionId($.versionId),Ye._overwriteAlternativeVersionId($.alternativeVersionId),Ye._overwriteInitialUndoRedoSnapshot($.initialUndoRedoSnapshot))}else $.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot($.initialUndoRedoSnapshot)}let ht=ie(Ye.uri);if(this._models[ht])throw new Error("ModelService: Cannot add model because it already exists!");let fe=new U(Ye,$=>this._onWillDispose($),($,G)=>this._onDidChangeLanguage($,G));return this._models[ht]=fe,fe}createModel(Ce,Ae,L,nt=!1){let ct;return Ae?(ct=this._createModelData(Ce,Ae.languageIdentifier,L,nt),this.setMode(ct.model,Ae)):ct=this._createModelData(Ce,Q.b,L,nt),this._onModelAdded.fire(ct.model),ct.model}setMode(Ce,Ae){if(!Ae)return;let L=this._models[ie(Ce.uri)];L&&L.setLanguage(Ae)}getModels(){let Ce=[],Ae=Object.keys(this._models);for(let L=0,nt=Ae.length;L<nt;L++){let ct=Ae[L];Ce.push(this._models[ct].model)}return Ce}getModel(Ce){let Ae=ie(Ce),L=this._models[Ae];return L?L.model:null}getSemanticTokensProviderStyling(Ce){return this._semanticStyling.get(Ce)}_onWillDispose(Ce){let Ae=ie(Ce.uri),L=this._models[Ae];delete this._models[Ae],L.dispose(),delete this._modelCreationOptionsByLanguageAndResource[Ce.getLanguageIdentifier().language+Ce.uri],this._onModelRemoved.fire(Ce)}_onDidChangeLanguage(Ce,Ae){let L=Ae.oldLanguage,nt=Ce.getLanguageIdentifier().language,ct=this.getCreationOptions(L,Ce.uri,Ce.isForSimpleWidget),Ye=this.getCreationOptions(nt,Ce.uri,Ce.isForSimpleWidget);Hd._setModelOptionsForModel(Ce,Ye,ct),this._onModelModeChanged.fire({model:Ce,oldModeId:L})}};B=g([j(0,C.a),j(1,y.b),j(2,V.c),j(3,k.b),j(4,l.a)],B);let se="editor.semanticHighlighting";function ke(he,Ce,Ae){var L;let nt=(L=Ae.getValue(se,{overrideIdentifier:he.getLanguageIdentifier().language,resource:he.uri}))===null||L===void 0?void 0:L.enabled;return typeof nt=="boolean"?nt:Ce.getColorTheme().semanticHighlighting}class xe extends f.a{constructor(Ce,Ae,L,nt){super(),this._watchers=Object.create(null),this._semanticStyling=nt;let ct=fe=>{this._watchers[fe.uri.toString()]=new te(fe,Ae,this._semanticStyling)},Ye=(fe,$)=>{$.dispose(),delete this._watchers[fe.uri.toString()]},ht=()=>{for(let fe of Ce.getModels()){let $=this._watchers[fe.uri.toString()];ke(fe,Ae,L)?$||ct(fe):$&&Ye(fe,$)}};this._register(Ce.onModelAdded(fe=>{ke(fe,Ae,L)&&ct(fe)})),this._register(Ce.onModelRemoved(fe=>{let $=this._watchers[fe.uri.toString()];$&&Ye(fe,$)})),this._register(L.onDidChangeConfiguration(fe=>{fe.affectsConfiguration(se)&&ht()})),this._register(Ae.onDidColorThemeChange(ht))}}class Y extends f.a{constructor(Ce,Ae){super(),this._themeService=Ce,this._logService=Ae,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(Ce){return this._caches.has(Ce)||this._caches.set(Ce,new b.a(Ce.getLegend(),this._themeService,this._logService)),this._caches.get(Ce)}}class Z{constructor(Ce,Ae,L){this._provider=Ce,this.resultId=Ae,this.data=L}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class te extends f.a{constructor(Ce,Ae,L){super(),this._isDisposed=!1,this._model=Ce,this._semanticStyling=L,this._fetchDocumentSemanticTokens=this._register(new S.d(()=>this._fetchDocumentSemanticTokensNow(),300)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}));let nt=()=>{Object(f.f)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(let ct of W.l.all(Ce))typeof ct.onDidChange=="function"&&this._documentProvidersChangeListeners.push(ct.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};nt(),this._register(W.l.onDidChange(()=>{nt(),this._fetchDocumentSemanticTokens.schedule()})),this._register(Ae.onDidColorThemeChange(ct=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;let Ce=this._getSemanticColoringProvider();if(!Ce)return;this._currentDocumentRequestCancellationTokenSource=new P.b;let Ae=[],L=this._model.onDidChangeContent(Ye=>{Ae.push(Ye)}),nt=this._semanticStyling.get(Ce),ct=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null;Promise.resolve(Ce.provideDocumentSemanticTokens(this._model,ct,this._currentDocumentRequestCancellationTokenSource.token)).then(Ye=>{this._currentDocumentRequestCancellationTokenSource=null,L.dispose(),this._setDocumentSemanticTokens(Ce,Ye||null,nt,Ae)},Ye=>{Ye&&typeof Ye.message=="string"&&Ye.message.indexOf("busy")!==-1||H.e(Ye),this._currentDocumentRequestCancellationTokenSource=null,L.dispose(),Ae.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule())})}static _isSemanticTokens(Ce){return Ce&&!!Ce.data}static _isSemanticTokensEdits(Ce){return Ce&&Array.isArray(Ce.edits)}static _copy(Ce,Ae,L,nt,ct){for(let Ye=0;Ye<ct;Ye++)L[nt+Ye]=Ce[Ae+Ye]}_setDocumentSemanticTokens(Ce,Ae,L,nt){let ct=this._currentDocumentResponse;if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)Ce&&Ae&&Ce.releaseDocumentSemanticTokens(Ae.resultId);else if(Ce&&L)if(Ae){if(te._isSemanticTokensEdits(Ae)){if(!ct)return void this._model.setSemanticTokens(null,!0);if(Ae.edits.length===0)Ae={resultId:Ae.resultId,data:ct.data};else{let Ye=0;for(let z of Ae.edits)Ye+=(z.data?z.data.length:0)-z.deleteCount;let ht=ct.data,fe=new Uint32Array(ht.length+Ye),$=ht.length,G=fe.length;for(let z=Ae.edits.length-1;z>=0;z--){let J=Ae.edits[z],Se=$-(J.start+J.deleteCount);Se>0&&(te._copy(ht,$-Se,fe,G-Se,Se),G-=Se),J.data&&(te._copy(J.data,0,fe,G-J.data.length,J.data.length),G-=J.data.length),$=J.start}$>0&&te._copy(ht,0,fe,0,$),Ae={resultId:Ae.resultId,data:fe}}}if(te._isSemanticTokens(Ae)){this._currentDocumentResponse=new Z(Ce,Ae.resultId,Ae.data);let Ye=Object(b.b)(Ae,L,this._model.getLanguageIdentifier());if(nt.length>0){for(let ht of nt)for(let fe of Ye)for(let $ of ht.changes)fe.applyEdit($.range,$.text);this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}this._model.setSemanticTokens(Ye,!0)}else this._model.setSemanticTokens(null,!0)}else this._model.setSemanticTokens(null,!0);else this._model.setSemanticTokens(null,!1)}_getSemanticColoringProvider(){let Ce=W.l.ordered(this._model);return Ce.length>0?Ce[0]:null}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return H}),o.d(w,"b",function(){return E});var h=o(12),f=o(102),D=o(124);class H{constructor(y,C,S){this._legend=y,this._themeService=C,this._logService=S,this._hashTable=new W}getMetadata(y,C,S){let P=this._hashTable.get(y,C,S.id),V;if(P)V=P.metadata,this._logService.getLevel()===f.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${y} / ${C}: foreground ${h.B.getForeground(V)}, fontStyle ${h.B.getFontStyle(V).toString(2)}`);else{let k=this._legend.tokenTypes[y],l=[];if(k){let T=C;for(let b=0;T>0&&b<this._legend.tokenModifiers.length;b++)1&T&&l.push(this._legend.tokenModifiers[b]),T>>=1;T>0&&this._logService.getLevel()===f.c.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${C.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),l.push("not-in-legend"));let N=this._themeService.getColorTheme().getTokenStyleMetadata(k,l,S.language);N===void 0?V=2147483647:(V=0,N.italic!==void 0&&(V|=1|(N.italic?1:0)<<11),N.bold!==void 0&&(V|=2|(N.bold?2:0)<<11),N.underline!==void 0&&(V|=4|(N.underline?4:0)<<11),N.foreground&&(V|=8|N.foreground<<14),V===0&&(V=2147483647))}else this._logService.getLevel()===f.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${y} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),V=2147483647,k="not-in-legend";this._hashTable.add(y,C,S.id,V),this._logService.getLevel()===f.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${y} (${k}) / ${C} (${l.join(" ")}): foreground ${h.B.getForeground(V)}, fontStyle ${h.B.getFontStyle(V).toString(2)}`)}return V}}function E(Q,y,C){let S=Q.data,P=Q.data.length/5|0,V=Math.max(Math.ceil(P/1024),400),k=[],l=0,T=1,N=0;for(;l<P;){let b=l,g=Math.min(b+V,P);if(g<P){let B=g;for(;B-1>b&&S[5*B]===0;)B--;if(B-1===b){let se=g;for(;se+1<P&&S[5*se]===0;)se++;g=se}else g=B}let j=new Uint32Array(4*(g-b)),ie=0,U=0;for(;l<g;){let B=5*l,se=S[B],ke=S[B+1],xe=T+se,Y=se===0?N+ke:ke,Z=S[B+2],te=S[B+3],he=S[B+4],Ce=y.getMetadata(te,he,C);Ce!==2147483647&&(U===0&&(U=xe),j[ie]=xe-U,j[ie+1]=Y,j[ie+2]=Y+Z,j[ie+3]=Ce,ie+=4),T=xe,N=Y,l++}ie!==j.length&&(j=j.subarray(0,ie));let q=new D.a(U,new D.c(j));k.push(q)}return k}class ge{constructor(y,C,S,P){this.tokenTypeIndex=y,this.tokenModifierSet=C,this.languageId=S,this.metadata=P,this.next=null}}class W{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=W._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<W._SIZES.length?2/3*this._currentLength:0),this._elements=[],W._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(y,C){for(let S=0;S<C;S++)y[S]=null}_hash2(y,C){return(y<<5)-y+C|0}_hashFunc(y,C,S){return this._hash2(this._hash2(y,C),S)%this._currentLength}get(y,C,S){let P=this._hashFunc(y,C,S),V=this._elements[P];for(;V;){if(V.tokenTypeIndex===y&&V.tokenModifierSet===C&&V.languageId===S)return V;V=V.next}return null}add(y,C,S,P){if(this._elementsCount++,this._growCount!==0&&this._elementsCount>=this._growCount){let V=this._elements;this._currentLengthIndex++,this._currentLength=W._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<W._SIZES.length?2/3*this._currentLength:0),this._elements=[],W._nullOutEntries(this._elements,this._currentLength);for(let k of V){let l=k;for(;l;){let T=l.next;l.next=null,this._add(l),l=T}}}this._add(new ge(y,C,S,P))}_add(y){let C=this._hashFunc(y.tokenTypeIndex,y.tokenModifierSet,y.languageId);y.next=this._elements[C],this._elements[C]=y}}W._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},function(Ie,w,o){"use strict";o.d(w,"a",function(){return ge}),o(275);var h=o(1),f=o(8),D=o(16),H=o(46);let E={badgeBackground:D.a.fromHex("#4D4D4D"),badgeForeground:D.a.fromHex("#FFFFFF")};class ge{constructor(Q,y){this.count=0,this.options=y||Object.create(null),Object(H.g)(this.options,E,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(h.p)(Q,Object(h.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(Q){this.count=Q,this.render()}setTitleFormat(Q){this.titleFormat=Q,this.render()}render(){this.element.textContent=Object(f.x)(this.countFormat,this.count),this.element.title=Object(f.x)(this.titleFormat,this.count),this.applyStyles()}style(Q){this.badgeBackground=Q.badgeBackground,this.badgeForeground=Q.badgeForeground,this.badgeBorder=Q.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){let Q=this.badgeBackground?this.badgeBackground.toString():"",y=this.badgeForeground?this.badgeForeground.toString():"",C=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=Q,this.element.style.color=y,this.element.style.borderWidth=C?"1px":"",this.element.style.borderStyle=C?"solid":"",this.element.style.borderColor=C}}}},function(Ie,w,o){var h=o(32),f=o(268);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return q});var h=o(15),f=o(8),D=o(179),H=o(42),E=o(78),ge=o(20);let W=/\//g;function Q(se){switch(se){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function y(se,ke){if(!se)return[];let xe=[],Y=!1,Z=!1,te="";for(let he of se){switch(he){case ke:if(!Y&&!Z){xe.push(te),te="";continue}break;case"{":Y=!0;break;case"}":Y=!1;break;case"[":Z=!0;break;case"]":Z=!1}te+=he}return te&&xe.push(te),xe}let C=/^\*\*\/\*\.[\w\.-]+$/,S=/^\*\*\/([\w\.-]+)\/?$/,P=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,V=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,k=/^\*\*((\/[\w\.-]+)+)\/?$/,l=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,T=new E.a(1e4),N=function(){return!1},b=function(){return null};function g(se,ke){if(!se)return b;let xe;xe=typeof se!="string"?se.pattern:se,xe=xe.trim();let Y=`${xe}_${!!ke.trimForExclusions}`,Z,te=T.get(Y);if(te)return j(te,se);if(C.test(xe)){let he=xe.substr(4);te=function(Ce,Ae){return typeof Ce=="string"&&Ce.endsWith(he)?xe:null}}else te=(Z=S.exec(ie(xe,ke)))?function(he,Ce){let Ae="/"+he,L="\\"+he,nt=function(Ye,ht){return typeof Ye!="string"?null:ht?ht===he?Ce:null:Ye===he||Ye.endsWith(Ae)||Ye.endsWith(L)?Ce:null},ct=[he];return nt.basenames=ct,nt.patterns=[Ce],nt.allBasenames=ct,nt}(Z[1],xe):(ke.trimForExclusions?V:P).test(xe)?function(he,Ce){let Ae=B(he.slice(1,-1).split(",").map(ht=>g(ht,Ce)).filter(ht=>ht!==b),he),L=Ae.length;if(!L)return b;if(L===1)return Ae[0];let nt=function(ht,fe){for(let $=0,G=Ae.length;$<G;$++)if(Ae[$](ht,fe))return he;return null},ct=h.i(Ae,ht=>!!ht.allBasenames);ct&&(nt.allBasenames=ct.allBasenames);let Ye=Ae.reduce((ht,fe)=>fe.allPaths?ht.concat(fe.allPaths):ht,[]);return Ye.length&&(nt.allPaths=Ye),nt}(xe,ke):(Z=k.exec(ie(xe,ke)))?U(Z[1].substr(1),xe,!0):(Z=l.exec(ie(xe,ke)))?U(Z[1],xe,!1):function(he){try{let Ce=new RegExp(`^${function Ae(L){if(!L)return"";let nt="",ct=y(L,"/");if(ct.every(Ye=>Ye==="**"))nt=".*";else{let Ye=!1;ct.forEach((ht,fe)=>{if(ht==="**")return void(Ye||(nt+=Q(2),Ye=!0));let $=!1,G="",z=!1,J="";for(let Se of ht)if(Se!=="}"&&$)G+=Se;else if(!z||Se==="]"&&J)switch(Se){case"{":$=!0;continue;case"[":z=!0;continue;case"}":nt+=`(?:${y(G,",").map(ee=>Ae(ee)).join("|")})`,$=!1,G="";break;case"]":nt+="["+J+"]",z=!1,J="";break;case"?":nt+="[^/\\\\]";continue;case"*":nt+=Q(1);continue;default:nt+=f.v(Se)}else{let A;A=Se==="-"?Se:Se!=="^"&&Se!=="!"||J?Se==="/"?"":f.v(Se):"^",J+=A}fe<ct.length-1&&(ct[fe+1]!=="**"||fe+2<ct.length)&&(nt+="[/\\\\]"),Ye=!1})}return nt}(he)}$`);return function(Ae){return Ce.lastIndex=0,typeof Ae=="string"&&Ce.test(Ae)?he:null}}catch(Ce){return b}}(xe);return T.set(Y,te),j(te,se)}function j(se,ke){return typeof ke=="string"?se:function(xe,Y){return D.a(xe,ke.base)?se(H.f(ke.base,xe),Y):null}}function ie(se,ke){return ke.trimForExclusions&&se.endsWith("/**")?se.substr(0,se.length-2):se}function U(se,ke,xe){let Y=H.h!==H.e.sep?se.replace(W,H.h):se,Z=H.h+Y,te=xe?function(he,Ce){return typeof he!="string"||he!==Y&&!he.endsWith(Z)?null:ke}:function(he,Ce){return typeof he=="string"&&he===Y?ke:null};return te.allPaths=[(xe?"*/":"./")+se],te}function q(se,ke,xe){return!(!se||typeof ke!="string")&&function(Y,Z={}){if(!Y)return N;if(typeof Y=="string"||function(te){let he=te;return he&&typeof he.base=="string"&&typeof he.pattern=="string"}(Y)){let te=g(Y,Z);if(te===b)return N;let he=function(Ce,Ae){return!!te(Ce,Ae)};return te.allBasenames&&(he.allBasenames=te.allBasenames),te.allPaths&&(he.allPaths=te.allPaths),he}return function(te,he){let Ce=B(Object.getOwnPropertyNames(te).map(Ye=>function(ht,fe,$){if(fe===!1)return b;let G=g(ht,$);if(G===b)return b;if(typeof fe=="boolean")return G;if(fe){let z=fe.when;if(typeof z=="string"){let J=(Se,A,ee,de)=>{if(!de||!G(Se,A))return null;let Oe=de(z.replace("$(basename)",ee));return Object(ge.i)(Oe)?Oe.then($e=>$e?ht:null):Oe?ht:null};return J.requiresSiblings=!0,J}}return G}(Ye,te[Ye],he)).filter(Ye=>Ye!==b)),Ae=Ce.length;if(!Ae)return b;if(!Ce.some(Ye=>!!Ye.requiresSiblings)){if(Ae===1)return Ce[0];let Ye=function($,G){for(let z=0,J=Ce.length;z<J;z++){let Se=Ce[z]($,G);if(Se)return Se}return null},ht=h.i(Ce,$=>!!$.allBasenames);ht&&(Ye.allBasenames=ht.allBasenames);let fe=Ce.reduce(($,G)=>G.allPaths?$.concat(G.allPaths):$,[]);return fe.length&&(Ye.allPaths=fe),Ye}let L=function(Ye,ht,fe){let $;for(let G=0,z=Ce.length;G<z;G++){let J=Ce[G];J.requiresSiblings&&fe&&(ht||(ht=H.a(Ye)),$||($=ht.substr(0,ht.length-H.c(Ye).length)));let Se=J(Ye,ht,$,fe);if(Se)return Se}return null},nt=h.i(Ce,Ye=>!!Ye.allBasenames);nt&&(L.allBasenames=nt.allBasenames);let ct=Ce.reduce((Ye,ht)=>ht.allPaths?Ye.concat(ht.allPaths):Ye,[]);return ct.length&&(L.allPaths=ct),L}(Y,Z)}(se)(ke,void 0,xe)}function B(se,ke){let xe=se.filter(Ce=>!!Ce.basenames);if(xe.length<2)return se;let Y=xe.reduce((Ce,Ae)=>{let L=Ae.basenames;return L?Ce.concat(L):Ce},[]),Z;if(ke){Z=[];for(let Ce=0,Ae=Y.length;Ce<Ae;Ce++)Z.push(ke)}else Z=xe.reduce((Ce,Ae)=>{let L=Ae.patterns;return L?Ce.concat(L):Ce},[]);let te=function(Ce,Ae){if(typeof Ce!="string")return null;if(!Ae){let nt;for(nt=Ce.length;nt>0;nt--){let ct=Ce.charCodeAt(nt-1);if(ct===47||ct===92)break}Ae=Ce.substr(nt)}let L=Y.indexOf(Ae);return L!==-1?Z[L]:null};te.basenames=Y,te.patterns=Z,te.allBasenames=Y;let he=se.filter(Ce=>!Ce.basenames);return he.push(te),he}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return D});var h=o(56),f=o(6);let D={JSONContribution:"base.contributions.json"},H=new class{constructor(){this._onDidChangeSchema=new f.a,this.schemasById={}}registerSchema(E,ge){var W;this.schemasById[W=E,W.length>0&&W.charAt(W.length-1)==="#"?W.substring(0,W.length-1):W]=ge,this._onDidChangeSchema.fire(E)}notifySchemaChanged(E){this._onDidChangeSchema.fire(E)}};h.a.add(D.JSONContribution,H)},function(Ie,w,o){"use strict";o.d(w,"b",function(){return f}),o.d(w,"a",function(){return D});let h=Object.prototype.hasOwnProperty;function f(H,E){for(let ge in H)if(h.call(H,ge)&&E({key:ge,value:H[ge]},function(){delete H[ge]})===!1)return}class D{constructor(){this.map=new Map}add(E,ge){let W=this.map.get(E);W||(W=new Set,this.map.set(E,W)),W.add(ge)}delete(E,ge){let W=this.map.get(E);W&&(W.delete(ge),W.size===0&&this.map.delete(E))}forEach(E,ge){let W=this.map.get(E);W&&W.forEach(ge)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(2);class f extends h.a{constructor(H,E,ge){super(),this.referenceDomElement=H,this.changeCallback=ge,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,E)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){typeof ResizeObserver!="undefined"?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(H=>{H&&H[0]&&H[0].contentRect?this.observe({width:H[0].contentRect.width,height:H[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):this.measureReferenceDomElementToken===-1&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.measureReferenceDomElementToken!==-1&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(H){this.measureReferenceDomElement(!0,H)}measureReferenceDomElement(H,E){let ge=0,W=0;E?(ge=E.width,W=E.height):this.referenceDomElement&&(ge=this.referenceDomElement.clientWidth,W=this.referenceDomElement.clientHeight),ge=Math.max(5,ge),W=Math.max(5,W),this.width===ge&&this.height===W||(this.width=ge,this.height=W,H&&this.changeCallback())}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return h});class h{constructor(D,H,E,ge,W,Q){this.id=D,this.label=H,this.alias=E,this._precondition=ge,this._run=W,this._contextKeyService=Q}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return f});var h=o(18);let f=Object(h.c)("markerDecorationsService")},function(Ie,w,o){"use strict";o.d(w,"a",function(){return W});var h=o(174),f=o(6),D=o(2),H=o(46),E=o(3);let ge={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class W extends D.a{constructor(y,C={}){super(),this._onDidUpdate=this._register(new f.a),this._editor=y,this._options=H.g(C,ge,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(S=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(S=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(y){this.ranges=[],y&&y.forEach(C=>{!this._options.ignoreCharChanges&&C.charChanges?C.charChanges.forEach(S=>{this.ranges.push({rhs:!0,range:new E.a(S.modifiedStartLineNumber,S.modifiedStartColumn,S.modifiedEndLineNumber,S.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new E.a(C.modifiedStartLineNumber,1,C.modifiedStartLineNumber,1)})}),this.ranges.sort((C,S)=>C.range.getStartPosition().isBeforeOrEqual(S.range.getStartPosition())?-1:S.range.getStartPosition().isBeforeOrEqual(C.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(y){let C=!1,S=this._editor.getPosition();if(S){for(let P=0,V=this.ranges.length;P<V&&!C;P++){let k=this.ranges[P].range;S.isBeforeOrEqual(k.getStartPosition())&&(this.nextIdx=P+(y?0:-1),C=!0)}C||(this.nextIdx=y?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0}_move(y,C){if(h.a(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;this.nextIdx===-1?this._initIdx(y):y?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let S=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let P=S.range.getStartPosition();this._editor.setPosition(P),this._editor.revealPositionInCenter(P,C)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(y=0){this._move(!0,y)}previous(y=0){this._move(!1,y)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}},function(Ie,w,o){"use strict";o.d(w,"a",function(){return Li}),o(244);var h=o(0),f=o(1),D=o(35),H=o(153),E=o(20),ge=o(6),W=o(2),Q=o(46),y=o(87),C=o(88),S=o(41),P=o(164),V=(o(248),o(116)),k=o(105),l=o(60),T=o(4),N=o(26),b=o(111),g=o(9),j=o(57),ie=o(91),U=o(74),q=o(10),B=o(5),se=o(19),ke=o(17);class xe{constructor(ze,st,_t,oi){this.originalLineStart=ze,this.originalLineEnd=st,this.modifiedLineStart=_t,this.modifiedLineEnd=oi}getType(){return this.originalLineStart===0?1:this.modifiedLineStart===0?2:0}}class Y{constructor(ze){this.entries=ze}}let Z=Object(ke.e)("diff-review-insert",ke.a.add),te=Object(ke.e)("diff-review-remove",ke.a.remove),he=Object(ke.e)("diff-review-close",ke.a.close);class Ce extends W.a{constructor(ze){super(),this._width=0,this._diffEditor=ze,this._isVisible=!1,this.shadow=Object(D.b)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=Object(D.b)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new V.a(this.actionBarContainer.domNode)),this._actionBar.push(new l.a("diffreview.close",h.a("label.close","Close"),"close-diff-review "+he.classNames,!0,()=>(this.hide(),Promise.resolve(null))),{label:!1,icon:!0}),this.domNode=Object(D.b)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=Object(D.b)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new k.a(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(ze.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(ze.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(f.n(this.domNode.domNode,"click",st=>{st.preventDefault();let _t=f.w(st.target,"diff-review-row");_t&&this._goToRow(_t)})),this._register(f.n(this.domNode.domNode,"keydown",st=>{(st.equals(18)||st.equals(2066)||st.equals(530))&&(st.preventDefault(),this._goToRow(this._getNextRow())),(st.equals(16)||st.equals(2064)||st.equals(528))&&(st.preventDefault(),this._goToRow(this._getPrevRow())),(st.equals(9)||st.equals(2057)||st.equals(521)||st.equals(1033))&&(st.preventDefault(),this.hide()),(st.equals(10)||st.equals(3))&&(st.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let ze=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let _t=-1;for(let oi=0,li=this._diffs.length;oi<li;oi++)if(this._diffs[oi]===this._currentDiff){_t=oi;break}ze=this._diffs.length+_t-1}else ze=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs.length===0)return;ze%=this._diffs.length;let st=this._diffs[ze].entries;this._diffEditor.setPosition(new g.a(st[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:st[0].modifiedLineStart,endColumn:1073741824,endLineNumber:st[st.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let ze=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let _t=-1;for(let oi=0,li=this._diffs.length;oi<li;oi++)if(this._diffs[oi]===this._currentDiff){_t=oi;break}ze=_t+1}else ze=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs.length===0)return;ze%=this._diffs.length;let st=this._diffs[ze].entries;this._diffEditor.setPosition(new g.a(st[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:st[0].modifiedLineStart,endColumn:1073741824,endLineNumber:st[st.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let ze=-1,st=this._getCurrentFocusedRow();if(st){let _t=parseInt(st.getAttribute("data-line"),10);isNaN(_t)||(ze=_t)}this.hide(),ze!==-1&&(this._diffEditor.setPosition(new g.a(ze,1)),this._diffEditor.revealPosition(new g.a(ze,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){let ze=this._getCurrentFocusedRow();return ze?ze.previousElementSibling?ze.previousElementSibling:ze:this._getFirstRow()}_getNextRow(){let ze=this._getCurrentFocusedRow();return ze?ze.nextElementSibling?ze.nextElementSibling:ze:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(".diff-review-row")}_getCurrentFocusedRow(){let ze=document.activeElement;return ze&&/diff-review-row/.test(ze.className)?ze:null}_goToRow(ze){let st=this._getCurrentFocusedRow();ze.tabIndex=0,ze.focus(),st&&st!==ze&&(st.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(ze,st,_t){this._width=st,this.shadow.setTop(ze-6),this.shadow.setWidth(st),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(ze),this.domNode.setWidth(st),this.domNode.setHeight(_t),this._content.setHeight(_t),this._content.setWidth(st),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}_compute(){let ze=this._diffEditor.getLineChanges();if(!ze||ze.length===0)return[];let st=this._diffEditor.getOriginalEditor().getModel(),_t=this._diffEditor.getModifiedEditor().getModel();return st&&_t?Ce._mergeAdjacent(ze,st.getLineCount(),_t.getLineCount()):[]}static _mergeAdjacent(ze,st,_t){if(!ze||ze.length===0)return[];let oi=[],li=0;for(let $i=0,Hi=ze.length;$i<Hi;$i++){let yi=ze[$i],kt=yi.originalStartLineNumber,Et=yi.originalEndLineNumber,si=yi.modifiedStartLineNumber,Si=yi.modifiedEndLineNumber,Pi=[],Wi=0;{let xn=Et===0?kt:kt-1,un=Si===0?si:si-1,bn=1,Fn=1;if($i>0){let Hn=ze[$i-1];bn=Hn.originalEndLineNumber===0?Hn.originalStartLineNumber+1:Hn.originalEndLineNumber+1,Fn=Hn.modifiedEndLineNumber===0?Hn.modifiedStartLineNumber+1:Hn.modifiedEndLineNumber+1}let Mn=xn-3+1,Nn=un-3+1;if(Mn<bn){let Hn=bn-Mn;Mn+=Hn,Nn+=Hn}if(Nn<Fn){let Hn=Fn-Nn;Mn+=Hn,Nn+=Hn}Pi[Wi++]=new xe(Mn,xn,Nn,un)}Et!==0&&(Pi[Wi++]=new xe(kt,Et,0,0)),Si!==0&&(Pi[Wi++]=new xe(0,0,si,Si));{let xn=Et===0?kt+1:Et+1,un=Si===0?si+1:Si+1,bn=st,Fn=_t;if($i+1<Hi){let Hn=ze[$i+1];bn=Hn.originalEndLineNumber===0?Hn.originalStartLineNumber:Hn.originalStartLineNumber-1,Fn=Hn.modifiedEndLineNumber===0?Hn.modifiedStartLineNumber:Hn.modifiedStartLineNumber-1}let Mn=xn+3-1,Nn=un+3-1;if(Mn>bn){let Hn=bn-Mn;Mn+=Hn,Nn+=Hn}if(Nn>Fn){let Hn=Fn-Nn;Mn+=Hn,Nn+=Hn}Pi[Wi++]=new xe(xn,Mn,un,Nn)}oi[li++]=new Y(Pi)}let gi=oi[0].entries,ki=[],Ri=0;for(let $i=1,Hi=oi.length;$i<Hi;$i++){let yi=oi[$i].entries,kt=gi[gi.length-1],Et=yi[0];kt.getType()===0&&Et.getType()===0&&Et.originalLineStart<=kt.originalLineEnd?(gi[gi.length-1]=new xe(kt.originalLineStart,Et.originalLineEnd,kt.modifiedLineStart,Et.modifiedLineEnd),gi=gi.concat(yi.slice(1))):(ki[Ri++]=new Y(gi),gi=yi)}return ki[Ri++]=new Y(gi),ki}_findDiffIndex(ze){let st=ze.lineNumber;for(let _t=0,oi=this._diffs.length;_t<oi;_t++){let li=this._diffs[_t].entries;if(st<=li[li.length-1].modifiedLineEnd)return _t}return 0}_render(){let ze=this._diffEditor.getOriginalEditor().getOptions(),st=this._diffEditor.getModifiedEditor().getOptions(),_t=this._diffEditor.getOriginalEditor().getModel(),oi=this._diffEditor.getModifiedEditor().getModel(),li=_t.getOptions(),gi=oi.getOptions();if(!this._isVisible||!_t||!oi)return f.s(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();this._diffEditor.updateOptions({readOnly:!0});let ki=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[ki]===this._currentDiff)return;this._currentDiff=this._diffs[ki];let Ri=this._diffs[ki].entries,$i=document.createElement("div");$i.className="diff-review-table",$i.setAttribute("role","list"),$i.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),y.a.applyFontInfoSlow($i,st.get(36));let Hi=0,yi=0,kt=0,Et=0;for(let Nn=0,Hn=Ri.length;Nn<Hn;Nn++){let Jn=Ri[Nn],_o=Jn.originalLineStart,pn=Jn.originalLineEnd,Gn=Jn.modifiedLineStart,on=Jn.modifiedLineEnd;_o!==0&&(Hi===0||_o<Hi)&&(Hi=_o),pn!==0&&(yi===0||pn>yi)&&(yi=pn),Gn!==0&&(kt===0||Gn<kt)&&(kt=Gn),on!==0&&(Et===0||on>Et)&&(Et=on)}let si=document.createElement("div");si.className="diff-review-row";let Si=document.createElement("div");Si.className="diff-review-cell diff-review-summary";let Pi=yi-Hi+1,Wi=Et-kt+1;Si.appendChild(document.createTextNode(`${ki+1}/${this._diffs.length}: @@ -${Hi},${Pi} +${kt},${Wi} @@`)),si.setAttribute("data-line",String(kt));let xn=Nn=>Nn===0?h.a("no_lines_changed","no lines changed"):Nn===1?h.a("one_line_changed","1 line changed"):h.a("more_lines_changed","{0} lines changed",Nn),un=xn(Pi),bn=xn(Wi);si.setAttribute("aria-label",h.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",ki+1,this._diffs.length,Hi,un,kt,bn)),si.appendChild(Si),si.setAttribute("role","listitem"),$i.appendChild(si);let Fn=st.get(51),Mn=kt;for(let Nn=0,Hn=Ri.length;Nn<Hn;Nn++){let Jn=Ri[Nn];Ce._renderSection($i,Jn,Mn,Fn,this._width,ze,_t,li,st,oi,gi),Jn.modifiedLineStart!==0&&(Mn=Jn.modifiedLineEnd)}f.s(this._content.domNode),this._content.domNode.appendChild($i),this.scrollbar.scanDomNode()}static _renderSection(ze,st,_t,oi,li,gi,ki,Ri,$i,Hi,yi){let kt=st.getType(),Et="diff-review-row",si="",Si=null;switch(kt){case 1:Et="diff-review-row line-insert",si=" char-insert",Si=Z;break;case 2:Et="diff-review-row line-delete",si=" char-delete",Si=te}let Pi=st.originalLineStart,Wi=st.originalLineEnd,xn=st.modifiedLineStart,un=st.modifiedLineEnd,bn=Math.max(un-xn,Wi-Pi),Fn=gi.get(117),Mn=Fn.glyphMarginWidth+Fn.lineNumbersWidth,Nn=$i.get(117),Hn=10+Nn.glyphMarginWidth+Nn.lineNumbersWidth;for(let Jn=0;Jn<=bn;Jn++){let _o=Pi===0?0:Pi+Jn,pn=xn===0?0:xn+Jn,Gn=document.createElement("div");Gn.style.minWidth=li+"px",Gn.className=Et,Gn.setAttribute("role","listitem"),pn!==0&&(_t=pn),Gn.setAttribute("data-line",String(_t));let on=document.createElement("div");on.className="diff-review-cell",on.style.height=oi+"px",Gn.appendChild(on);let ho=document.createElement("span");ho.style.width=Mn+"px",ho.style.minWidth=Mn+"px",ho.className="diff-review-line-number"+si,_o!==0?ho.appendChild(document.createTextNode(String(_o))):ho.innerText="\xA0",on.appendChild(ho);let On=document.createElement("span");On.style.width=Hn+"px",On.style.minWidth=Hn+"px",On.style.paddingRight="10px",On.className="diff-review-line-number"+si,pn!==0?On.appendChild(document.createTextNode(String(pn))):On.innerText="\xA0",on.appendChild(On);let Dn=document.createElement("span");if(Dn.className="diff-review-spacer",Si){let ne=document.createElement("span");ne.className=Si.classNames,ne.innerText="\xA0\xA0",Dn.appendChild(ne)}else Dn.innerText="\xA0\xA0";let qt;on.appendChild(Dn),pn!==0?(on.insertAdjacentHTML("beforeend",this._renderLine(Hi,$i,yi.tabSize,pn)),qt=Hi.getLineContent(pn)):(on.insertAdjacentHTML("beforeend",this._renderLine(ki,gi,Ri.tabSize,_o)),qt=ki.getLineContent(_o)),qt.length===0&&(qt=h.a("blankLine","blank"));let I="";switch(kt){case 0:I=_o===pn?h.a({key:"unchangedLine",comment:["The placholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",qt,_o):h.a("equalLine","{0} original line {1} modified line {2}",qt,_o,pn);break;case 1:I=h.a("insertLine","+ {0} modified line {1}",qt,pn);break;case 2:I=h.a("deleteLine","- {0} original line {1}",qt,_o)}Gn.setAttribute("aria-label",I),ze.appendChild(Gn)}}static _renderLine(ze,st,_t,oi){let li=ze.getLineContent(oi),gi=st.get(36),ki=new Uint32Array(2);ki[0]=li.length,ki[1]=16793600;let Ri=new b.a(ki,li),$i=U.d.isBasicASCII(li,ze.mightContainNonBasicASCII()),Hi=U.d.containsRTL(li,$i,ze.mightContainRTL());return Object(ie.e)(new ie.c(gi.isMonospace&&!st.get(24),gi.canUseHalfwidthRightwardsArrow,li,!1,$i,Hi,0,Ri,[],_t,0,gi.spaceWidth,gi.middotWidth,gi.wsmiddotWidth,st.get(95),st.get(80),st.get(74),st.get(37)!==N.e.OFF,null)).html}}Object(se.g)((ut,ze)=>{let st=ut.getColor(j.k);st&&ze.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${st}; }`);let _t=ut.getColor(B.ic);_t&&ze.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${_t} 0 -6px 6px -6px inset; }`)});class Ae extends T.b{constructor(){super({id:"editor.action.diffReview.next",label:h.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:q.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(ze,st){let _t=nt(ze);_t&&_t.diffReviewNext()}}class L extends T.b{constructor(){super({id:"editor.action.diffReview.prev",label:h.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:q.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(ze,st){let _t=nt(ze);_t&&_t.diffReviewPrev()}}function nt(ut){let ze=ut.get(S.a),st=ze.listDiffEditors(),_t=ze.getActiveCodeEditor();if(!_t)return null;for(let oi=0,li=st.length;oi<li;oi++){let gi=st[oi];if(gi.getModifiedEditor().getId()===_t.getId()||gi.getOriginalEditor().getId()===_t.getId())return gi}return null}Object(T.k)(Ae),Object(T.k)(L);var ct=o(3),Ye=o(132),ht=o(143),fe=o(30),$=o(96),G=o(168),z=o(155),J=o(18),Se=o(149),A=o(49),ee=o(84),de=function(ut,ze,st,_t){return new(st||(st=Promise))(function(oi,li){function gi($i){try{Ri(_t.next($i))}catch(Hi){li(Hi)}}function ki($i){try{Ri(_t.throw($i))}catch(Hi){li(Hi)}}function Ri($i){var Hi;$i.done?oi($i.value):(Hi=$i.value,Hi instanceof st?Hi:new st(function(yi){yi(Hi)})).then(gi,ki)}Ri((_t=_t.apply(ut,ze||[])).next())})};class Oe extends W.a{constructor(ze,st,_t,oi,li,gi){super(),this._viewZoneId=ze,this._marginDomNode=st,this.editor=_t,this.diff=oi,this._contextMenuService=li,this._clipboardService=gi,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=ke.a.lightBulb.classNames+" lightbulb-glyph",this._diffActions.style.position="absolute";let ki=_t.getOption(51),Ri=_t.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=ki+"px",this._diffActions.style.lineHeight=ki+"px",this._marginDomNode.appendChild(this._diffActions);let $i=[];$i.push(new l.a("diff.clipboard.copyDeletedContent",oi.originalEndLineNumber>oi.modifiedStartLineNumber?h.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):h.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>de(this,void 0,void 0,function*(){yield this._clipboardService.writeText(oi.originalContent.join(Ri)+Ri)})));let Hi=0,yi;oi.originalEndLineNumber>oi.modifiedStartLineNumber&&(yi=new l.a("diff.clipboard.copyDeletedLineContent",h.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",oi.originalStartLineNumber),void 0,!0,()=>de(this,void 0,void 0,function*(){yield this._clipboardService.writeText(oi.originalContent[Hi])})),$i.push(yi)),_t.getOption(72)||$i.push(new l.a("diff.inline.revertChange",h.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>de(this,void 0,void 0,function*(){if(oi.modifiedEndLineNumber===0){let Et=_t.getModel().getLineMaxColumn(oi.modifiedStartLineNumber);_t.executeEdits("diffEditor",[{range:new ct.a(oi.modifiedStartLineNumber,Et,oi.modifiedStartLineNumber,Et),text:Ri+oi.originalContent.join(Ri)}])}else{let Et=_t.getModel().getLineMaxColumn(oi.modifiedEndLineNumber);_t.executeEdits("diffEditor",[{range:new ct.a(oi.modifiedStartLineNumber,1,oi.modifiedEndLineNumber,Et),text:oi.originalContent.join(Ri)}])}})));let kt=(Et,si)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:Et,y:si}),getActions:()=>(yi&&(yi.label=h.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",oi.originalStartLineNumber+Hi)),$i),autoSelectFirstItem:!0})};this._register(f.n(this._diffActions,"mousedown",Et=>{let{top:si,height:Si}=f.C(this._diffActions),Pi=Math.floor(ki/3);Et.preventDefault(),kt(Et.posx,si+Si+Pi)})),this._register(_t.onMouseMove(Et=>{Et.target.type===8||Et.target.type===5?Et.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,Hi=this._updateLightBulbPosition(this._marginDomNode,Et.event.browserEvent.y,ki)):this.visibility=!1:this.visibility=!1})),this._register(_t.onMouseDown(Et=>{Et.event.rightButton&&(Et.target.type===8||Et.target.type===5)&&Et.target.detail.viewZoneId===this._viewZoneId&&(Et.event.preventDefault(),Hi=this._updateLightBulbPosition(this._marginDomNode,Et.event.browserEvent.y,ki),kt(Et.event.posx,Et.event.posy+ki))}))}get visibility(){return this._visibility}set visibility(ze){this._visibility!==ze&&(this._visibility=ze,this._diffActions.style.visibility=ze?"visible":"hidden")}_updateLightBulbPosition(ze,st,_t){let{top:oi}=f.C(ze),li=st-oi,gi=Math.floor(li/_t),ki=gi*_t;return this._diffActions.style.top=ki+"px",gi}}var $e=o(121),pt=o(13),it=o(83),At=o(190),Nt=o(145),_i=function(ut,ze,st,_t){var oi,li=arguments.length,gi=li<3?ze:_t===null?_t=Object.getOwnPropertyDescriptor(ze,st):_t;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")gi=Reflect.decorate(ut,ze,st,_t);else for(var ki=ut.length-1;ki>=0;ki--)(oi=ut[ki])&&(gi=(li<3?oi(gi):li>3?oi(ze,st,gi):oi(ze,st))||gi);return li>3&&gi&&Object.defineProperty(ze,st,gi),gi},wt=function(ut,ze){return function(st,_t){ze(st,_t,ut)}};class Ni{constructor(ze,st){this._contextMenuService=ze,this._clipboardService=st,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(ze){return ze.filter(st=>!this._zonesMap[String(st.id)])}clean(ze){this._zones.length>0&&ze.changeViewZones(st=>{for(let _t=0,oi=this._zones.length;_t<oi;_t++)st.removeZone(this._zones[_t])}),this._zones=[],this._zonesMap={},this._decorations=ze.deltaDecorations(this._decorations,[])}apply(ze,st,_t,oi){let li=oi?C.c.capture(ze):null;ze.changeViewZones(gi=>{for(let ki=0,Ri=this._zones.length;ki<Ri;ki++)gi.removeZone(this._zones[ki]);for(let ki=0,Ri=this.inlineDiffMargins.length;ki<Ri;ki++)this.inlineDiffMargins[ki].dispose();this._zones=[],this._zonesMap={},this.inlineDiffMargins=[];for(let ki=0,Ri=_t.zones.length;ki<Ri;ki++){let $i=_t.zones[ki];$i.suppressMouseDown=!0;let Hi=gi.addZone($i);this._zones.push(Hi),this._zonesMap[String(Hi)]=!0,_t.zones[ki].diff&&$i.marginDomNode&&($i.suppressMouseDown=!1,this.inlineDiffMargins.push(new Oe(Hi,$i.marginDomNode,ze,_t.zones[ki].diff,this._contextMenuService,this._clipboardService)))}}),li&&li.restore(ze),this._decorations=ze.deltaDecorations(this._decorations,_t.decorations),st&&st.setZones(_t.overviewZones)}}let pi=0,et=Object(ke.e)("diff-insert",ke.a.add),Wt=Object(ke.e)("diff-remove",ke.a.remove),Li=class lr extends W.a{constructor(ze,st,_t,oi,li,gi,ki,Ri,$i,Hi,yi){super(),this._editorProgressService=yi,this._onDidDispose=this._register(new ge.a),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new ge.a),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new ge.a),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=oi,this._codeEditorService=ki,this._contextKeyService=this._register(li.createScoped(ze)),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=Ri,this._notificationService=$i,this.id=++pi,this._state=0,this._updatingDiffProgress=null,this._domElement=ze,st=st||{},this._renderSideBySide=!0,st.renderSideBySide!==void 0&&(this._renderSideBySide=st.renderSideBySide),this._maxComputationTime=5e3,st.maxComputationTime!==void 0&&(this._maxComputationTime=st.maxComputationTime),this._ignoreTrimWhitespace=!0,st.ignoreTrimWhitespace!==void 0&&(this._ignoreTrimWhitespace=st.ignoreTrimWhitespace),this._renderIndicators=!0,st.renderIndicators!==void 0&&(this._renderIndicators=st.renderIndicators),this._originalIsEditable=!1,st.originalEditable!==void 0&&(this._originalIsEditable=Boolean(st.originalEditable)),this._originalCodeLens=!1,st.originalCodeLens!==void 0&&(this._originalCodeLens=Boolean(st.originalCodeLens)),this._modifiedCodeLens=!1,st.modifiedCodeLens!==void 0&&(this._modifiedCodeLens=Boolean(st.modifiedCodeLens)),this._updateDecorationsRunner=this._register(new E.d(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=lr._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=Object(D.b)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(f.n(this._overviewDomElement,"mousedown",un=>{this.modifiedEditor.delegateVerticalScrollbarMouseDown(un)})),this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new Ni(Hi,_t),this._modifiedEditorState=new Ni(Hi,_t),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new At.a(this._containerDomElement,void 0,()=>this._onDidContainerSizeChanged())),st.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null;let kt=this._contextKeyService.createScoped(),Et=new Se.a;Et.set(q.b,kt);let si=gi.createChild(Et),Si=this._contextKeyService.createScoped(),Pi=new Se.a;Pi.set(q.b,Si);let Wi=gi.createChild(Pi);this.originalEditor=this._createLeftHandSideEditor(st,si,kt),this.modifiedEditor=this._createRightHandSideEditor(st,Wi,Si),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new Ce(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,st.enableSplitViewResizing!==void 0&&(this._enableSplitViewResizing=st.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new Di(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new vi(this._createDataSource(),this._enableSplitViewResizing)),this._register(Ri.onDidColorThemeChange(un=>{this._strategy&&this._strategy.applyColors(un)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=lr._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));let xn=T.d.getDiffEditorContributions();for(let un of xn)try{this._register(gi.createInstance(un.ctor,this))}catch(bn){Object(pt.e)(bn)}this._codeEditorService.addDiffEditor(this)}_setState(ze){this._state!==ze&&(this._state=ze,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),this._state===1&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(ze,st){let _t="monaco-diff-editor monaco-editor-background ";return st&&(_t+="side-by-side "),_t+=Object(se.f)(ze.type),_t}_recreateOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()}_createLeftHandSideEditor(ze,st,_t){let oi=this._createInnerEditor(st,this._originalDomNode,this._adjustOptionsForLeftHandSide(ze,this._originalIsEditable,this._originalCodeLens));this._register(oi.onDidScrollChange(gi=>{this._isHandlingScrollEvent||(gi.scrollTopChanged||gi.scrollLeftChanged||gi.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.modifiedEditor.setScrollPosition({scrollLeft:gi.scrollLeft,scrollTop:gi.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(oi.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(oi.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));let li=_t.createKey("isInDiffLeftEditor",void 0);return this._register(oi.onDidFocusEditorWidget(()=>li.set(!0))),this._register(oi.onDidBlurEditorWidget(()=>li.set(!1))),this._register(oi.onDidContentSizeChange(gi=>{let ki=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+lr.ONE_OVERVIEW_WIDTH,Ri=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ri,contentWidth:ki,contentHeightChanged:gi.contentHeightChanged,contentWidthChanged:gi.contentWidthChanged})})),oi}_createRightHandSideEditor(ze,st,_t){let oi=this._createInnerEditor(st,this._modifiedDomNode,this._adjustOptionsForRightHandSide(ze,this._modifiedCodeLens));this._register(oi.onDidScrollChange(gi=>{this._isHandlingScrollEvent||(gi.scrollTopChanged||gi.scrollLeftChanged||gi.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.originalEditor.setScrollPosition({scrollLeft:gi.scrollLeft,scrollTop:gi.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(oi.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(oi.onDidChangeConfiguration(gi=>{gi.hasChanged(36)&&oi.getModel()&&this._onViewZonesChanged()})),this._register(oi.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(oi.onDidChangeModelOptions(gi=>{gi.tabSize&&this._updateDecorationsRunner.schedule()}));let li=_t.createKey("isInDiffRightEditor",void 0);return this._register(oi.onDidFocusEditorWidget(()=>li.set(!0))),this._register(oi.onDidBlurEditorWidget(()=>li.set(!1))),this._register(oi.onDidContentSizeChange(gi=>{let ki=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+lr.ONE_OVERVIEW_WIDTH,Ri=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:Ri,contentWidth:ki,contentHeightChanged:gi.contentHeightChanged,contentWidthChanged:gi.contentWidthChanged})})),oi}_createInnerEditor(ze,st,_t){return ze.createInstance(P.a,st,_t,{})}dispose(){this._codeEditorService.removeDiffEditor(this),this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this.id}getEditorType(){return ht.a.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this.originalEditor}getModifiedEditor(){return this.modifiedEditor}updateOptions(ze){let st=!1;ze.renderSideBySide!==void 0&&this._renderSideBySide!==ze.renderSideBySide&&(this._renderSideBySide=ze.renderSideBySide,st=!0),ze.maxComputationTime!==void 0&&(this._maxComputationTime=ze.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());let _t=!1;ze.ignoreTrimWhitespace!==void 0&&this._ignoreTrimWhitespace!==ze.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=ze.ignoreTrimWhitespace,_t=!0),ze.renderIndicators!==void 0&&this._renderIndicators!==ze.renderIndicators&&(this._renderIndicators=ze.renderIndicators,_t=!0),_t&&this._beginUpdateDecorations(),ze.originalEditable!==void 0&&(this._originalIsEditable=Boolean(ze.originalEditable)),ze.originalCodeLens!==void 0&&(this._originalCodeLens=Boolean(ze.originalCodeLens)),ze.modifiedCodeLens!==void 0&&(this._modifiedCodeLens=Boolean(ze.modifiedCodeLens)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(ze,this._modifiedCodeLens)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(ze,this._originalIsEditable,this._originalCodeLens)),ze.enableSplitViewResizing!==void 0&&(this._enableSplitViewResizing=ze.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),st&&(this._renderSideBySide?this._setStrategy(new Di(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new vi(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=lr._getClassName(this._themeService.getColorTheme(),this._renderSideBySide))}getModel(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}}setModel(ze){if(ze&&(!ze.original||!ze.modified))throw new Error(ze.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(ze?ze.original:null),this.modifiedEditor.setModel(ze?ze.modified:null),this._updateDecorationsRunner.cancel(),ze&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),ze&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(ze){return this.modifiedEditor.getVisibleColumnFromPosition(ze)}getPosition(){return this.modifiedEditor.getPosition()}setPosition(ze){this.modifiedEditor.setPosition(ze)}revealLine(ze,st=0){this.modifiedEditor.revealLine(ze,st)}revealLineInCenter(ze,st=0){this.modifiedEditor.revealLineInCenter(ze,st)}revealLineInCenterIfOutsideViewport(ze,st=0){this.modifiedEditor.revealLineInCenterIfOutsideViewport(ze,st)}revealLineNearTop(ze,st=0){this.modifiedEditor.revealLineNearTop(ze,st)}revealPosition(ze,st=0){this.modifiedEditor.revealPosition(ze,st)}revealPositionInCenter(ze,st=0){this.modifiedEditor.revealPositionInCenter(ze,st)}revealPositionInCenterIfOutsideViewport(ze,st=0){this.modifiedEditor.revealPositionInCenterIfOutsideViewport(ze,st)}revealPositionNearTop(ze,st=0){this.modifiedEditor.revealPositionNearTop(ze,st)}getSelection(){return this.modifiedEditor.getSelection()}getSelections(){return this.modifiedEditor.getSelections()}setSelection(ze){this.modifiedEditor.setSelection(ze)}setSelections(ze){this.modifiedEditor.setSelections(ze)}revealLines(ze,st,_t=0){this.modifiedEditor.revealLines(ze,st,_t)}revealLinesInCenter(ze,st,_t=0){this.modifiedEditor.revealLinesInCenter(ze,st,_t)}revealLinesInCenterIfOutsideViewport(ze,st,_t=0){this.modifiedEditor.revealLinesInCenterIfOutsideViewport(ze,st,_t)}revealLinesNearTop(ze,st,_t=0){this.modifiedEditor.revealLinesNearTop(ze,st,_t)}revealRange(ze,st=0,_t=!1,oi=!0){this.modifiedEditor.revealRange(ze,st,_t,oi)}revealRangeInCenter(ze,st=0){this.modifiedEditor.revealRangeInCenter(ze,st)}revealRangeInCenterIfOutsideViewport(ze,st=0){this.modifiedEditor.revealRangeInCenterIfOutsideViewport(ze,st)}revealRangeNearTop(ze,st=0){this.modifiedEditor.revealRangeNearTop(ze,st)}revealRangeNearTopIfOutsideViewport(ze,st=0){this.modifiedEditor.revealRangeNearTopIfOutsideViewport(ze,st)}revealRangeAtTop(ze,st=0){this.modifiedEditor.revealRangeAtTop(ze,st)}getSupportedActions(){return this.modifiedEditor.getSupportedActions()}saveViewState(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}}restoreViewState(ze){if(ze.original&&ze.modified){let st=ze;this.originalEditor.restoreViewState(st.original),this.modifiedEditor.restoreViewState(st.modified)}}layout(ze){this._elementSizeObserver.observe(ze)}focus(){this.modifiedEditor.focus()}hasTextFocus(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()}trigger(ze,st,_t){this.modifiedEditor.trigger(ze,st,_t)}changeDecorations(ze){return this.modifiedEditor.changeDecorations(ze)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;let ze=this._elementSizeObserver.getHeight(),st=this._getReviewHeight(),_t=lr.ENTIRE_DIFF_OVERVIEW_WIDTH-2*lr.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:lr.ONE_OVERVIEW_WIDTH,right:_t+lr.ONE_OVERVIEW_WIDTH,height:ze-st}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:lr.ONE_OVERVIEW_WIDTH,height:ze-st}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),lr.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(ze,st){return!ze&&!st||!(!ze||!st)&&ze.toString()===st.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;let ze=this.originalEditor.getModel(),st=this.modifiedEditor.getModel();if(!ze||!st)return;this._diffComputationToken++;let _t=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(ze.uri,st.uri)?this._editorWorkerService.computeDiff(ze.uri,st.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(oi=>{_t===this._diffComputationToken&&ze===this.originalEditor.getModel()&&st===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=oi,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},oi=>{_t===this._diffComputationToken&&ze===this.originalEditor.getModel()&&st===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):lr._equals(ze.uri,this._lastOriginalWarning)&&lr._equals(st.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=ze.uri,this._lastModifiedWarning=st.uri,this._notificationService.warn(h.a("diff.tooLarge","Cannot compare files because one file is too large.")))}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)}_updateDecorations(){if(!(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler))return;let ze=this._diffComputationResult?this._diffComputationResult.changes:[],st=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),_t=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),oi=this._strategy.getEditorsDiffDecorations(ze,this._ignoreTrimWhitespace,this._renderIndicators,st,_t,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,oi.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,oi.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(ze){let st=Q.c(ze||{});return st.inDiffEditor=!0,st.wordWrap="off",st.wordWrapMinified=!1,st.automaticLayout=!1,st.scrollbar=st.scrollbar||{},st.scrollbar.vertical="visible",st.folding=!1,st.codeLens=!1,st.fixedOverflowWidgets=!0,st.overflowWidgetsDomNode=ze.overflowWidgetsDomNode,st.minimap||(st.minimap={}),st.minimap.enabled=!1,st}_adjustOptionsForLeftHandSide(ze,st,_t){let oi=this._adjustOptionsForSubEditor(ze);return _t&&(oi.codeLens=!0),oi.readOnly=!st,oi.extraEditorClassName="original-in-monaco-diff-editor",oi}_adjustOptionsForRightHandSide(ze,st){let _t=this._adjustOptionsForSubEditor(ze);return st&&(_t.codeLens=!0),_t.revealHorizontalRightPadding=N.g.revealHorizontalRightPadding.defaultValue+lr.ENTIRE_DIFF_OVERVIEW_WIDTH,_t.scrollbar.verticalHasArrows=!1,_t.extraEditorClassName="modified-in-monaco-diff-editor",_t}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){let ze=this._elementSizeObserver.getWidth(),st=this._elementSizeObserver.getHeight(),_t=this._getReviewHeight(),oi=this._strategy.layout();this._originalDomNode.style.width=oi+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=ze-oi+"px",this._modifiedDomNode.style.left=oi+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=st-_t+"px",this._overviewDomElement.style.width=lr.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=ze-lr.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(lr.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:oi,height:st-_t}),this.modifiedEditor.layout({width:ze-oi-lr.ENTIRE_DIFF_OVERVIEW_WIDTH,height:st-_t}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(st-_t,ze,_t),this._layoutOverviewViewport()}_layoutOverviewViewport(){let ze=this._computeOverviewViewport();ze?(this._overviewViewportDomElement.setTop(ze.top),this._overviewViewportDomElement.setHeight(ze.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){let ze=this.modifiedEditor.getLayoutInfo();if(!ze)return null;let st=this.modifiedEditor.getScrollTop(),_t=this.modifiedEditor.getScrollHeight(),oi=Math.max(0,ze.height),li=Math.max(0,oi-0),gi=_t>0?li/_t:0;return{height:Math.max(0,Math.floor(ze.height*gi)),top:Math.floor(st*gi)}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this.originalEditor,getModifiedEditor:()=>this.modifiedEditor}}_setStrategy(ze){this._strategy&&this._strategy.dispose(),this._strategy=ze,ze.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(ze,st){let _t=this._diffComputationResult?this._diffComputationResult.changes:[];if(_t.length===0||ze<st(_t[0]))return null;let oi=0,li=_t.length-1;for(;oi<li;){let gi=Math.floor((oi+li)/2),ki=st(_t[gi]),Ri=gi+1<=li?st(_t[gi+1]):1073741824;ze<ki?li=gi-1:ze>=Ri?oi=gi+1:(oi=gi,li=gi)}return _t[oi]}_getEquivalentLineForOriginalLineNumber(ze){let st=this._getLineChangeAtOrBeforeLineNumber(ze,Ri=>Ri.originalStartLineNumber);if(!st)return ze;let _t=st.originalStartLineNumber+(st.originalEndLineNumber>0?-1:0),oi=st.modifiedStartLineNumber+(st.modifiedEndLineNumber>0?-1:0),li=st.originalEndLineNumber>0?st.originalEndLineNumber-st.originalStartLineNumber+1:0,gi=st.modifiedEndLineNumber>0?st.modifiedEndLineNumber-st.modifiedStartLineNumber+1:0,ki=ze-_t;return ki<=li?oi+Math.min(ki,gi):oi+gi-li+ki}_getEquivalentLineForModifiedLineNumber(ze){let st=this._getLineChangeAtOrBeforeLineNumber(ze,Ri=>Ri.modifiedStartLineNumber);if(!st)return ze;let _t=st.originalStartLineNumber+(st.originalEndLineNumber>0?-1:0),oi=st.modifiedStartLineNumber+(st.modifiedEndLineNumber>0?-1:0),li=st.originalEndLineNumber>0?st.originalEndLineNumber-st.originalStartLineNumber+1:0,gi=st.modifiedEndLineNumber>0?st.modifiedEndLineNumber-st.modifiedStartLineNumber+1:0,ki=ze-oi;return ki<=gi?_t+Math.min(ki,li):_t+li-gi+ki}getDiffLineInformationForOriginal(ze){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(ze)}:null}getDiffLineInformationForModified(ze){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(ze)}:null}};Li.ONE_OVERVIEW_WIDTH=15,Li.ENTIRE_DIFF_OVERVIEW_WIDTH=30,Li.UPDATE_DIFF_DECORATIONS_DELAY=200,Li=_i([wt(2,$e.a),wt(3,$.a),wt(4,q.b),wt(5,J.a),wt(6,S.a),wt(7,se.c),wt(8,A.a),wt(9,ee.a),wt(10,it.a)],Li);class Ii extends W.a{constructor(ze){super(),this._dataSource=ze,this._insertColor=null,this._removeColor=null}applyColors(ze){let st=(ze.getColor(B.n)||B.j).transparent(2),_t=(ze.getColor(B.p)||B.k).transparent(2),oi=!st.equals(this._insertColor)||!_t.equals(this._removeColor);return this._insertColor=st,this._removeColor=_t,oi}getEditorsDiffDecorations(ze,st,_t,oi,li,gi,ki){li=li.sort((yi,kt)=>yi.afterLineNumber-kt.afterLineNumber),oi=oi.sort((yi,kt)=>yi.afterLineNumber-kt.afterLineNumber);let Ri=this._getViewZones(ze,oi,li,gi,ki,_t),$i=this._getOriginalEditorDecorations(ze,st,_t,gi,ki),Hi=this._getModifiedEditorDecorations(ze,st,_t,gi,ki);return{original:{decorations:$i.decorations,overviewZones:$i.overviewZones,zones:Ri.original},modified:{decorations:Hi.decorations,overviewZones:Hi.overviewZones,zones:Ri.modified}}}}class Ai{constructor(ze){this._source=ze,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class Zi{constructor(ze,st,_t,oi,li){this.lineChanges=ze,this.originalForeignVZ=st,this.originalLineHeight=_t,this.modifiedForeignVZ=oi,this.modifiedLineHeight=li}getViewZones(){let ze=[],st=[],_t=0,oi=0,li=0,gi=0,ki=0,Ri=0,$i=(Et,si)=>Et.afterLineNumber-si.afterLineNumber,Hi=(Et,si)=>{if(si.domNode===null&&Et.length>0){let Si=Et[Et.length-1];if(Si.afterLineNumber===si.afterLineNumber&&Si.domNode===null)return void(Si.heightInLines+=si.heightInLines)}Et.push(si)},yi=new Ai(this.modifiedForeignVZ),kt=new Ai(this.originalForeignVZ);for(let Et=0,si=this.lineChanges.length;Et<=si;Et++){let Si=Et<si?this.lineChanges[Et]:null;Si!==null?(li=Si.originalStartLineNumber+(Si.originalEndLineNumber>0?-1:0),gi=Si.modifiedStartLineNumber+(Si.modifiedEndLineNumber>0?-1:0),oi=Si.originalEndLineNumber>0?Si.originalEndLineNumber-Si.originalStartLineNumber+1:0,_t=Si.modifiedEndLineNumber>0?Si.modifiedEndLineNumber-Si.modifiedStartLineNumber+1:0,ki=Math.max(Si.originalStartLineNumber,Si.originalEndLineNumber),Ri=Math.max(Si.modifiedStartLineNumber,Si.modifiedEndLineNumber)):(li+=1e7+oi,gi+=1e7+_t,ki=li,Ri=gi);let Pi=[],Wi=[];for(;yi.current&&yi.current.afterLineNumber<=Ri;){let bn;bn=yi.current.afterLineNumber<=gi?li-gi+yi.current.afterLineNumber:ki;let Fn=null;Si&&Si.modifiedStartLineNumber<=yi.current.afterLineNumber&&yi.current.afterLineNumber<=Si.modifiedEndLineNumber&&(Fn=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),Pi.push({afterLineNumber:bn,heightInLines:yi.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:Fn}),yi.advance()}for(;kt.current&&kt.current.afterLineNumber<=ki;){let bn;bn=kt.current.afterLineNumber<=li?gi-li+kt.current.afterLineNumber:Ri,Wi.push({afterLineNumber:bn,heightInLines:kt.current.height/this.originalLineHeight,domNode:null}),kt.advance()}if(Si!==null&&vt(Si)){let bn=this._produceOriginalFromDiff(Si,oi,_t);bn&&Pi.push(bn)}if(Si!==null&&Ue(Si)){let bn=this._produceModifiedFromDiff(Si,oi,_t);bn&&Wi.push(bn)}let xn=0,un=0;for(Pi=Pi.sort($i),Wi=Wi.sort($i);xn<Pi.length&&un<Wi.length;){let bn=Pi[xn],Fn=Wi[un],Mn=bn.afterLineNumber-li,Nn=Fn.afterLineNumber-gi;Mn<Nn?(Hi(ze,bn),xn++):Nn<Mn?(Hi(st,Fn),un++):bn.shouldNotShrink?(Hi(ze,bn),xn++):Fn.shouldNotShrink?(Hi(st,Fn),un++):bn.heightInLines>=Fn.heightInLines?(bn.heightInLines-=Fn.heightInLines,un++):(Fn.heightInLines-=bn.heightInLines,xn++)}for(;xn<Pi.length;)Hi(ze,Pi[xn]),xn++;for(;un<Wi.length;)Hi(st,Wi[un]),un++}return{original:Zi._ensureDomNodes(ze),modified:Zi._ensureDomNodes(st)}}static _ensureDomNodes(ze){return ze.map(st=>(st.domNode||(st.domNode=function(){let _t=document.createElement("div");return _t.className="diagonal-fill",_t}()),st))}}function Bi(ut,ze,st,_t,oi){return{range:new ct.a(ut,ze,st,_t),options:oi}}let Lt={charDelete:fe.a.register({className:"char-delete"}),charDeleteWholeLine:fe.a.register({className:"char-delete",isWholeLine:!0}),charInsert:fe.a.register({className:"char-insert"}),charInsertWholeLine:fe.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:fe.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:fe.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign "+et.classNames,marginClassName:"line-insert",isWholeLine:!0}),lineDelete:fe.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:fe.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign "+Wt.classNames,marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:fe.a.register({marginClassName:"line-delete"})};class Di extends Ii{constructor(ze,st){super(ze),this._disableSash=st===!1,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new H.a(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this.onSashDragStart()),this._sash.onDidChange(_t=>this.onSashDrag(_t)),this._sash.onDidEnd(()=>this.onSashDragEnd()),this._sash.onDidReset(()=>this.onSashReset())}setEnableSplitViewResizing(ze){let st=ze===!1;this._disableSash!==st&&(this._disableSash=st,this._sash.state=this._disableSash?0:3)}layout(ze=this._sashRatio){let st=this._dataSource.getWidth()-Li.ENTIRE_DIFF_OVERVIEW_WIDTH,_t=Math.floor((ze||.5)*st),oi=Math.floor(.5*st);return _t=this._disableSash?oi:_t||oi,st>2*Di.MINIMUM_EDITOR_WIDTH?(_t<Di.MINIMUM_EDITOR_WIDTH&&(_t=Di.MINIMUM_EDITOR_WIDTH),_t>st-Di.MINIMUM_EDITOR_WIDTH&&(_t=st-Di.MINIMUM_EDITOR_WIDTH)):_t=oi,this._sashPosition!==_t&&(this._sashPosition=_t,this._sash.layout()),this._sashPosition}onSashDragStart(){this._startSashPosition=this._sashPosition}onSashDrag(ze){let st=this._dataSource.getWidth()-Li.ENTIRE_DIFF_OVERVIEW_WIDTH,_t=this.layout((this._startSashPosition+(ze.currentX-ze.startX))/st);this._sashRatio=_t/st,this._dataSource.relayoutEditors()}onSashDragEnd(){this._sash.layout()}onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(ze){return 0}getVerticalSashLeft(ze){return this._sashPosition}getVerticalSashHeight(ze){return this._dataSource.getHeight()}_getViewZones(ze,st,_t,oi,li){return new gt(ze,st,oi.getOption(51),_t,li.getOption(51)).getViewZones()}_getOriginalEditorDecorations(ze,st,_t,oi,li){let gi=String(this._removeColor),ki={decorations:[],overviewZones:[]},Ri=oi.getModel();for(let $i=0,Hi=ze.length;$i<Hi;$i++){let yi=ze[$i];if(Ue(yi)&&(ki.decorations.push({range:new ct.a(yi.originalStartLineNumber,1,yi.originalEndLineNumber,1073741824),options:_t?Lt.lineDeleteWithSign:Lt.lineDelete}),vt(yi)&&yi.charChanges||ki.decorations.push(Bi(yi.originalStartLineNumber,1,yi.originalEndLineNumber,1073741824,Lt.charDeleteWholeLine)),ki.overviewZones.push(new G.a(yi.originalStartLineNumber,yi.originalEndLineNumber,gi)),yi.charChanges))for(let kt=0,Et=yi.charChanges.length;kt<Et;kt++){let si=yi.charChanges[kt];if(Ue(si))if(st)for(let Si=si.originalStartLineNumber;Si<=si.originalEndLineNumber;Si++){let Pi,Wi;Pi=Si===si.originalStartLineNumber?si.originalStartColumn:Ri.getLineFirstNonWhitespaceColumn(Si),Wi=Si===si.originalEndLineNumber?si.originalEndColumn:Ri.getLineLastNonWhitespaceColumn(Si),ki.decorations.push(Bi(Si,Pi,Si,Wi,Lt.charDelete))}else ki.decorations.push(Bi(si.originalStartLineNumber,si.originalStartColumn,si.originalEndLineNumber,si.originalEndColumn,Lt.charDelete))}}return ki}_getModifiedEditorDecorations(ze,st,_t,oi,li){let gi=String(this._insertColor),ki={decorations:[],overviewZones:[]},Ri=li.getModel();for(let $i=0,Hi=ze.length;$i<Hi;$i++){let yi=ze[$i];if(vt(yi)&&(ki.decorations.push({range:new ct.a(yi.modifiedStartLineNumber,1,yi.modifiedEndLineNumber,1073741824),options:_t?Lt.lineInsertWithSign:Lt.lineInsert}),Ue(yi)&&yi.charChanges||ki.decorations.push(Bi(yi.modifiedStartLineNumber,1,yi.modifiedEndLineNumber,1073741824,Lt.charInsertWholeLine)),ki.overviewZones.push(new G.a(yi.modifiedStartLineNumber,yi.modifiedEndLineNumber,gi)),yi.charChanges))for(let kt=0,Et=yi.charChanges.length;kt<Et;kt++){let si=yi.charChanges[kt];if(vt(si))if(st)for(let Si=si.modifiedStartLineNumber;Si<=si.modifiedEndLineNumber;Si++){let Pi,Wi;Pi=Si===si.modifiedStartLineNumber?si.modifiedStartColumn:Ri.getLineFirstNonWhitespaceColumn(Si),Wi=Si===si.modifiedEndLineNumber?si.modifiedEndColumn:Ri.getLineLastNonWhitespaceColumn(Si),ki.decorations.push(Bi(Si,Pi,Si,Wi,Lt.charInsert))}else ki.decorations.push(Bi(si.modifiedStartLineNumber,si.modifiedStartColumn,si.modifiedEndLineNumber,si.modifiedEndColumn,Lt.charInsert))}}return ki}}Di.MINIMUM_EDITOR_WIDTH=100;class gt extends Zi{constructor(ze,st,_t,oi,li){super(ze,st,_t,oi,li)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(ze,st,_t){return _t>st?{afterLineNumber:Math.max(ze.originalStartLineNumber,ze.originalEndLineNumber),heightInLines:_t-st,domNode:null}:null}_produceModifiedFromDiff(ze,st,_t){return st>_t?{afterLineNumber:Math.max(ze.modifiedStartLineNumber,ze.modifiedEndLineNumber),heightInLines:st-_t,domNode:null}:null}}class vi extends Ii{constructor(ze,st){super(ze),this.decorationsLeft=ze.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(ze.getOriginalEditor().onDidLayoutChange(_t=>{this.decorationsLeft!==_t.decorationsLeft&&(this.decorationsLeft=_t.decorationsLeft,ze.relayoutEditors())}))}setEnableSplitViewResizing(ze){}_getViewZones(ze,st,_t,oi,li,gi){return new Rt(ze,st,_t,oi,li,gi).getViewZones()}_getOriginalEditorDecorations(ze,st,_t,oi,li){let gi=String(this._removeColor),ki={decorations:[],overviewZones:[]};for(let Ri=0,$i=ze.length;Ri<$i;Ri++){let Hi=ze[Ri];Ue(Hi)&&(ki.decorations.push({range:new ct.a(Hi.originalStartLineNumber,1,Hi.originalEndLineNumber,1073741824),options:Lt.lineDeleteMargin}),ki.overviewZones.push(new G.a(Hi.originalStartLineNumber,Hi.originalEndLineNumber,gi)))}return ki}_getModifiedEditorDecorations(ze,st,_t,oi,li){let gi=String(this._insertColor),ki={decorations:[],overviewZones:[]},Ri=li.getModel();for(let $i=0,Hi=ze.length;$i<Hi;$i++){let yi=ze[$i];if(vt(yi))if(ki.decorations.push({range:new ct.a(yi.modifiedStartLineNumber,1,yi.modifiedEndLineNumber,1073741824),options:_t?Lt.lineInsertWithSign:Lt.lineInsert}),ki.overviewZones.push(new G.a(yi.modifiedStartLineNumber,yi.modifiedEndLineNumber,gi)),yi.charChanges)for(let kt=0,Et=yi.charChanges.length;kt<Et;kt++){let si=yi.charChanges[kt];if(vt(si))if(st)for(let Si=si.modifiedStartLineNumber;Si<=si.modifiedEndLineNumber;Si++){let Pi,Wi;Pi=Si===si.modifiedStartLineNumber?si.modifiedStartColumn:Ri.getLineFirstNonWhitespaceColumn(Si),Wi=Si===si.modifiedEndLineNumber?si.modifiedEndColumn:Ri.getLineLastNonWhitespaceColumn(Si),ki.decorations.push(Bi(Si,Pi,Si,Wi,Lt.charInsert))}else ki.decorations.push(Bi(si.modifiedStartLineNumber,si.modifiedStartColumn,si.modifiedEndLineNumber,si.modifiedEndColumn,Lt.charInsert))}else ki.decorations.push(Bi(yi.modifiedStartLineNumber,1,yi.modifiedEndLineNumber,1073741824,Lt.charInsertWholeLine))}return ki}layout(){return Math.max(5,this.decorationsLeft)}}class Rt extends Zi{constructor(ze,st,_t,oi,li,gi){super(ze,st,oi.getOption(51),_t,li.getOption(51)),this.originalModel=oi.getModel(),this.modifiedEditorOptions=li.getOptions(),this.modifiedEditorTabSize=li.getModel().getOptions().tabSize,this.renderIndicators=gi}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){let ze=document.createElement("div");return ze.className="inline-added-margin-view-zone",ze}_produceOriginalFromDiff(ze,st,_t){let oi=document.createElement("div");return oi.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(ze.originalStartLineNumber,ze.originalEndLineNumber),heightInLines:_t,domNode:document.createElement("div"),marginDomNode:oi}}_produceModifiedFromDiff(ze,st,_t){let oi=[];if(ze.charChanges)for(let Pi=0,Wi=ze.charChanges.length;Pi<Wi;Pi++){let xn=ze.charChanges[Pi];Ue(xn)&&oi.push(new U.a(new ct.a(xn.originalStartLineNumber,xn.originalStartColumn,xn.originalEndLineNumber,xn.originalEndColumn),"char-delete",0))}let li=Object(Ye.a)(1e4),gi=[],ki=this.modifiedEditorOptions.get(117),Ri=this.modifiedEditorOptions.get(36),$i=ki.decorationsWidth,Hi=this.modifiedEditorOptions.get(51),yi=Ri.typicalHalfwidthCharacterWidth,kt=0,Et=[];for(let Pi=ze.originalStartLineNumber;Pi<=ze.originalEndLineNumber;Pi++)if(kt=Math.max(kt,this._renderOriginalLine(Pi-ze.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,Pi,oi,li)),Et.push(this.originalModel.getLineContent(Pi)),this.renderIndicators){let Wi=Pi-ze.originalStartLineNumber;gi=gi.concat([`<div class="delete-sign ${Wt.classNames}" style="position:absolute;top:${Wi*Hi}px;width:${$i}px;height:${Hi}px;right:0;"></div>`])}kt+=this.modifiedEditorOptions.get(85);let si=document.createElement("div");si.className="view-lines line-delete "+Nt.a,si.innerHTML=li.build(),y.a.applyFontInfoSlow(si,Ri);let Si=document.createElement("div");return Si.className="inline-deleted-margin-view-zone",Si.innerHTML=gi.join(""),y.a.applyFontInfoSlow(Si,Ri),{shouldNotShrink:!0,afterLineNumber:ze.modifiedEndLineNumber===0?ze.modifiedStartLineNumber:ze.modifiedStartLineNumber-1,heightInLines:st,minWidthInPx:kt*yi,domNode:si,marginDomNode:Si,diff:{originalStartLineNumber:ze.originalStartLineNumber,originalEndLineNumber:ze.originalEndLineNumber,modifiedStartLineNumber:ze.modifiedStartLineNumber,modifiedEndLineNumber:ze.modifiedEndLineNumber,originalContent:Et}}}_renderOriginalLine(ze,st,_t,oi,li,gi,ki){let Ri=st.getLineTokens(li),$i=Ri.getLineContent(),Hi=_t.get(36),yi=z.a.filter(gi,li,1,$i.length+1);ki.appendASCIIString('<div class="view-line'),gi.length===0&&ki.appendASCIIString(" char-delete"),ki.appendASCIIString('" style="top:'),ki.appendASCIIString(String(ze*_t.get(51))),ki.appendASCIIString('px;width:1000000px;">');let kt=U.d.isBasicASCII($i,st.mightContainNonBasicASCII()),Et=U.d.containsRTL($i,kt,st.mightContainRTL()),si=Object(ie.d)(new ie.c(Hi.isMonospace&&!_t.get(24),Hi.canUseHalfwidthRightwardsArrow,$i,!1,kt,Et,0,Ri,yi,oi,0,Hi.spaceWidth,Hi.middotWidth,Hi.wsmiddotWidth,_t.get(95),_t.get(80),_t.get(74),_t.get(37)!==N.e.OFF,null),ki);ki.appendASCIIString("</div>");let Si=si.characterMapping.getAbsoluteOffsets();return Si.length>0?Si[Si.length-1]:0}}function vt(ut){return ut.modifiedEndLineNumber>0}function Ue(ut){return ut.originalEndLineNumber>0}Object(se.g)((ut,ze)=>{let st=ut.getColor(B.n);st&&(ze.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${st}; }`),ze.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${st}; }`),ze.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${st}; }`));let _t=ut.getColor(B.p);_t&&(ze.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${_t}; }`),ze.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${_t}; }`),ze.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${_t}; }`));let oi=ut.getColor(B.o);oi&&ze.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${ut.type==="hc"?"dashed":"solid"} ${oi}; }`);let li=ut.getColor(B.q);li&&ze.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${ut.type==="hc"?"dashed":"solid"} ${li}; }`);let gi=ut.getColor(B.ic);gi&&ze.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${gi}; }`);let ki=ut.getColor(B.l);ki&&ze.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${ki}; }`);let Ri=ut.getColor(B.kc);Ri&&ze.addRule(` .monaco-diff-editor .diffViewport { - background: ${Bc}; + background: ${Ri}; } - `);const Vc=Oa.getColor(ea.lc);Vc&&Qa.addRule(` + `);let $i=ut.getColor(B.lc);$i&&ze.addRule(` .monaco-diff-editor .diffViewport:hover { - background: ${Vc}; + background: ${$i}; } - `);const Ic=Oa.getColor(ea.jc);Ic&&Qa.addRule(` + `);let Hi=ut.getColor(B.jc);Hi&&ze.addRule(` .monaco-diff-editor .diffViewport:active { - background: ${Ic}; + background: ${Hi}; } - `);const xc=Oa.getColor(ea.m);Qa.addRule(` + `);let yi=ut.getColor(B.m);ze.addRule(` .monaco-editor .diagonal-fill { background-image: linear-gradient( -45deg, - ${xc} 12.5%, + ${yi} 12.5%, #0000 12.5%, #0000 50%, - ${xc} 50%, ${xc} 62.5%, + ${yi} 50%, ${yi} 62.5%, #0000 62.5%, #0000 100% ); background-size: 8px 8px; } - `)})},function(Ga,t,f){Ga.exports=function(){"use strict";function l(pb,mc){for(var Eb=0;Eb<mc.length;Eb++){var qb=mc[Eb];qb.enumerable=qb.enumerable||!1,qb.configurable=!0,"value"in qb&&(qb.writable=!0),Object.defineProperty(pb,qb.key,qb)}}function q(pb,mc){(null==mc||mc>pb.length)&&(mc=pb.length);for(var Eb=0,qb=new Array(mc);Eb<mc;Eb++)qb[Eb]=pb[Eb];return qb}function y(pb,mc){var Eb;if("undefined"==typeof Symbol||null==pb[Symbol.iterator]){if(Array.isArray(pb)||(Eb=function(Va,Oa){if(Va){if("string"==typeof Va)return q(Va,Oa);var Qa=Object.prototype.toString.call(Va).slice(8,-1);return"Object"===Qa&&Va.constructor&&(Qa=Va.constructor.name),"Map"===Qa||"Set"===Qa?Array.from(Va):"Arguments"===Qa||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Qa)?q(Va,Oa):void 0}}(pb))||mc&&pb&&"number"==typeof pb.length){Eb&&(pb=Eb);var qb=0;return function(){return qb>=pb.length?{done:!0}:{done:!1,value:pb[qb++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(Eb=pb[Symbol.iterator]()).next.bind(Eb)}var F=function(pb,mc){return pb(mc={exports:{}},mc.exports),mc.exports}(function(pb){function mc(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}pb.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:mc,changeDefaults:function(Eb){pb.exports.defaults=Eb}}}),P=(F.defaults,F.getDefaults,F.changeDefaults,/[&<>"']/),Y=/[&<>"']/g,R=/[<>"']|&(?!#?\w+;)/,L=/[<>"']|&(?!#?\w+;)/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"},z=function(pb){return s[pb]},D=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Q(pb){return pb.replace(D,function(mc,Eb){return"colon"===(Eb=Eb.toLowerCase())?":":"#"===Eb.charAt(0)?"x"===Eb.charAt(1)?String.fromCharCode(parseInt(Eb.substring(2),16)):String.fromCharCode(+Eb.substring(1)):""})}var B=/(^|[^\[])\^/g,C=/[^\w:]/g,k=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,w={},x=/^[^:]+:\/*[^/]*$/,u=/^([^:]+:)[\s\S]*$/,A=/^([^:]+:\/*[^/]*)[\s\S]*$/;function U(pb,mc){w[" "+pb]||(x.test(pb)?w[" "+pb]=pb+"/":w[" "+pb]=da(pb,"/",!0));var Eb=-1===(pb=w[" "+pb]).indexOf(":");return"//"===mc.substring(0,2)?Eb?mc:pb.replace(u,"$1")+mc:"/"===mc.charAt(0)?Eb?mc:pb.replace(A,"$1")+mc:pb+mc}function da(pb,mc,Eb){var qb=pb.length;if(0===qb)return"";for(var Va=0;Va<qb;){var Oa=pb.charAt(qb-Va-1);if(Oa!==mc||Eb){if(Oa===mc||!Eb)break;Va++}else Va++}return pb.substr(0,qb-Va)}var Z=function(pb,mc){if(mc){if(P.test(pb))return pb.replace(Y,z)}else if(R.test(pb))return pb.replace(L,z);return pb},H=Q,ea=function(pb,mc){pb=pb.source||pb,mc=mc||"";var Eb={replace:function(qb,Va){return Va=(Va=Va.source||Va).replace(B,"$1"),pb=pb.replace(qb,Va),Eb},getRegex:function(){return new RegExp(pb,mc)}};return Eb},oa=function(pb,mc,Eb){if(pb){var qb;try{qb=decodeURIComponent(Q(Eb)).replace(C,"").toLowerCase()}catch(Va){return null}if(0===qb.indexOf("javascript:")||0===qb.indexOf("vbscript:")||0===qb.indexOf("data:"))return null}mc&&!k.test(Eb)&&(Eb=U(mc,Eb));try{Eb=encodeURI(Eb).replace(/%25/g,"%")}catch(Va){return null}return Eb},ga={exec:function(){}},Ba=function(pb){for(var mc,Eb,qb=1;qb<arguments.length;qb++)for(Eb in mc=arguments[qb])Object.prototype.hasOwnProperty.call(mc,Eb)&&(pb[Eb]=mc[Eb]);return pb},N=function(pb,mc){var Eb=pb.replace(/\|/g,function(Va,Oa,Qa){for(var kb=!1,tb=Oa;--tb>=0&&"\\"===Qa[tb];)kb=!kb;return kb?"|":" |"}).split(/ \|/),qb=0;if(Eb.length>mc)Eb.splice(mc);else for(;Eb.length<mc;)Eb.push("");for(;qb<Eb.length;qb++)Eb[qb]=Eb[qb].trim().replace(/\\\|/g,"|");return Eb},V=da,ma=function(pb,mc){if(-1===pb.indexOf(mc[1]))return-1;for(var Eb=pb.length,qb=0,Va=0;Va<Eb;Va++)if("\\"===pb[Va])Va++;else if(pb[Va]===mc[0])qb++;else if(pb[Va]===mc[1]&&--qb<0)return Va;return-1},ta=function(pb){pb&&pb.sanitize&&pb.silent},Da=F.defaults,Ka=V,G=N,hb=Z,_a=ma;function fb(pb,mc,Eb){var qb=mc.href,Va=mc.title?hb(mc.title):null,Oa=pb[1].replace(/\\([\[\]])/g,"$1");return"!"!==pb[0].charAt(0)?{type:"link",raw:Eb,href:qb,title:Va,text:Oa}:{type:"image",raw:Eb,href:qb,title:Va,text:hb(Oa)}}var za=function(){function pb(Eb){this.options=Eb||Da}var mc=pb.prototype;return mc.space=function(Eb){var qb=this.rules.block.newline.exec(Eb);if(qb)return qb[0].length>1?{type:"space",raw:qb[0]}:{raw:` -`}},mc.code=function(Eb,qb){var Va=this.rules.block.code.exec(Eb);if(Va){var Oa=qb[qb.length-1];if(Oa&&"paragraph"===Oa.type)return{raw:Va[0],text:Va[0].trimRight()};var Qa=Va[0].replace(/^ {4}/gm,"");return{type:"code",raw:Va[0],codeBlockStyle:"indented",text:this.options.pedantic?Qa:Ka(Qa,` -`)}}},mc.fences=function(Eb){var qb=this.rules.block.fences.exec(Eb);if(qb){var Va=qb[0],Oa=function(Qa,kb){var tb=Qa.match(/^(\s+)(?:```)/);if(null===tb)return kb;var oc=tb[1];return kb.split(` -`).map(function(ec){var $b=ec.match(/^\s+/);return null===$b?ec:$b[0].length>=oc.length?ec.slice(oc.length):ec}).join(` -`)}(Va,qb[3]||"");return{type:"code",raw:Va,lang:qb[2]?qb[2].trim():qb[2],text:Oa}}},mc.heading=function(Eb){var qb=this.rules.block.heading.exec(Eb);if(qb)return{type:"heading",raw:qb[0],depth:qb[1].length,text:qb[2]}},mc.nptable=function(Eb){var qb=this.rules.block.nptable.exec(Eb);if(qb){var Va={type:"table",header:G(qb[1].replace(/^ *| *\| *$/g,"")),align:qb[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:qb[3]?qb[3].replace(/\n$/,"").split(` -`):[],raw:qb[0]};if(Va.header.length===Va.align.length){var Oa,Qa=Va.align.length;for(Oa=0;Oa<Qa;Oa++)/^ *-+: *$/.test(Va.align[Oa])?Va.align[Oa]="right":/^ *:-+: *$/.test(Va.align[Oa])?Va.align[Oa]="center":/^ *:-+ *$/.test(Va.align[Oa])?Va.align[Oa]="left":Va.align[Oa]=null;for(Qa=Va.cells.length,Oa=0;Oa<Qa;Oa++)Va.cells[Oa]=G(Va.cells[Oa],Va.header.length);return Va}}},mc.hr=function(Eb){var qb=this.rules.block.hr.exec(Eb);if(qb)return{type:"hr",raw:qb[0]}},mc.blockquote=function(Eb){var qb=this.rules.block.blockquote.exec(Eb);if(qb){var Va=qb[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:qb[0],text:Va}}},mc.list=function(Eb){var qb=this.rules.block.list.exec(Eb);if(qb){for(var Va,Oa,Qa,kb,tb,oc,ec,$b=qb[0],Hc=qb[2],Bc=Hc.length>1,Vc=")"===Hc[Hc.length-1],Ic={type:"list",raw:$b,ordered:Bc,start:Bc?+Hc.slice(0,-1):"",loose:!1,items:[]},xc=qb[0].match(this.rules.block.item),nb=!1,zb=xc.length,dc=0;dc<zb;dc++)$b=Va=xc[dc],Oa=Va.length,~(Va=Va.replace(/^ *([*+-]|\d+[.)]) */,"")).indexOf(` - `)&&(Oa-=Va.length,Va=this.options.pedantic?Va.replace(/^ {1,4}/gm,""):Va.replace(new RegExp("^ {1,"+Oa+"}","gm"),"")),dc!==zb-1&&(Qa=this.rules.block.bullet.exec(xc[dc+1])[0],(Bc?1===Qa.length||!Vc&&")"===Qa[Qa.length-1]:Qa.length>1||this.options.smartLists&&Qa!==Hc)&&(kb=xc.slice(dc+1).join(` -`),Ic.raw=Ic.raw.substring(0,Ic.raw.length-kb.length),dc=zb-1)),tb=nb||/\n\n(?!\s*$)/.test(Va),dc!==zb-1&&(nb=` -`===Va.charAt(Va.length-1),tb||(tb=nb)),tb&&(Ic.loose=!0),ec=void 0,(oc=/^\[[ xX]\] /.test(Va))&&(ec=" "!==Va[1],Va=Va.replace(/^\[[ xX]\] +/,"")),Ic.items.push({type:"list_item",raw:$b,task:oc,checked:ec,loose:tb,text:Va});return Ic}},mc.html=function(Eb){var qb=this.rules.block.html.exec(Eb);if(qb)return{type:this.options.sanitize?"paragraph":"html",raw:qb[0],pre:!this.options.sanitizer&&("pre"===qb[1]||"script"===qb[1]||"style"===qb[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qb[0]):hb(qb[0]):qb[0]}},mc.def=function(Eb){var qb=this.rules.block.def.exec(Eb);if(qb)return qb[3]&&(qb[3]=qb[3].substring(1,qb[3].length-1)),{tag:qb[1].toLowerCase().replace(/\s+/g," "),raw:qb[0],href:qb[2],title:qb[3]}},mc.table=function(Eb){var qb=this.rules.block.table.exec(Eb);if(qb){var Va={type:"table",header:G(qb[1].replace(/^ *| *\| *$/g,"")),align:qb[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:qb[3]?qb[3].replace(/\n$/,"").split(` -`):[]};if(Va.header.length===Va.align.length){Va.raw=qb[0];var Oa,Qa=Va.align.length;for(Oa=0;Oa<Qa;Oa++)/^ *-+: *$/.test(Va.align[Oa])?Va.align[Oa]="right":/^ *:-+: *$/.test(Va.align[Oa])?Va.align[Oa]="center":/^ *:-+ *$/.test(Va.align[Oa])?Va.align[Oa]="left":Va.align[Oa]=null;for(Qa=Va.cells.length,Oa=0;Oa<Qa;Oa++)Va.cells[Oa]=G(Va.cells[Oa].replace(/^ *\| *| *\| *$/g,""),Va.header.length);return Va}}},mc.lheading=function(Eb){var qb=this.rules.block.lheading.exec(Eb);if(qb)return{type:"heading",raw:qb[0],depth:"="===qb[2].charAt(0)?1:2,text:qb[1]}},mc.paragraph=function(Eb){var qb=this.rules.block.paragraph.exec(Eb);if(qb)return{type:"paragraph",raw:qb[0],text:` -`===qb[1].charAt(qb[1].length-1)?qb[1].slice(0,-1):qb[1]}},mc.text=function(Eb,qb){var Va=this.rules.block.text.exec(Eb);if(Va){var Oa=qb[qb.length-1];return Oa&&"text"===Oa.type?{raw:Va[0],text:Va[0]}:{type:"text",raw:Va[0],text:Va[0]}}},mc.escape=function(Eb){var qb=this.rules.inline.escape.exec(Eb);if(qb)return{type:"escape",raw:qb[0],text:hb(qb[1])}},mc.tag=function(Eb,qb,Va){var Oa=this.rules.inline.tag.exec(Eb);if(Oa)return!qb&&/^<a /i.test(Oa[0])?qb=!0:qb&&/^<\/a>/i.test(Oa[0])&&(qb=!1),!Va&&/^<(pre|code|kbd|script)(\s|>)/i.test(Oa[0])?Va=!0:Va&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Oa[0])&&(Va=!1),{type:this.options.sanitize?"text":"html",raw:Oa[0],inLink:qb,inRawBlock:Va,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Oa[0]):hb(Oa[0]):Oa[0]}},mc.link=function(Eb){var qb=this.rules.inline.link.exec(Eb);if(qb){var Va=_a(qb[2],"()");if(Va>-1){var Oa=(0===qb[0].indexOf("!")?5:4)+qb[1].length+Va;qb[2]=qb[2].substring(0,Va),qb[0]=qb[0].substring(0,Oa).trim(),qb[3]=""}var Qa=qb[2],kb="";if(this.options.pedantic){var tb=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Qa);tb?(Qa=tb[1],kb=tb[3]):kb=""}else kb=qb[3]?qb[3].slice(1,-1):"";return fb(qb,{href:(Qa=Qa.trim().replace(/^<([\s\S]*)>$/,"$1"))?Qa.replace(this.rules.inline._escapes,"$1"):Qa,title:kb?kb.replace(this.rules.inline._escapes,"$1"):kb},qb[0])}},mc.reflink=function(Eb,qb){var Va;if((Va=this.rules.inline.reflink.exec(Eb))||(Va=this.rules.inline.nolink.exec(Eb))){var Oa=(Va[2]||Va[1]).replace(/\s+/g," ");if(!(Oa=qb[Oa.toLowerCase()])||!Oa.href){var Qa=Va[0].charAt(0);return{type:"text",raw:Qa,text:Qa}}return fb(Va,Oa,Va[0])}},mc.strong=function(Eb,qb,Va){void 0===Va&&(Va="");var Oa=this.rules.inline.strong.start.exec(Eb);if(Oa&&(!Oa[1]||Oa[1]&&(""===Va||this.rules.inline.punctuation.exec(Va)))){qb=qb.slice(-1*Eb.length);var Qa,kb="**"===Oa[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(kb.lastIndex=0;null!=(Oa=kb.exec(qb));)if(Qa=this.rules.inline.strong.middle.exec(qb.slice(0,Oa.index+3)))return{type:"strong",raw:Eb.slice(0,Qa[0].length),text:Eb.slice(2,Qa[0].length-2)}}},mc.em=function(Eb,qb,Va){void 0===Va&&(Va="");var Oa=this.rules.inline.em.start.exec(Eb);if(Oa&&(!Oa[1]||Oa[1]&&(""===Va||this.rules.inline.punctuation.exec(Va)))){qb=qb.slice(-1*Eb.length);var Qa,kb="*"===Oa[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(kb.lastIndex=0;null!=(Oa=kb.exec(qb));)if(Qa=this.rules.inline.em.middle.exec(qb.slice(0,Oa.index+2)))return{type:"em",raw:Eb.slice(0,Qa[0].length),text:Eb.slice(1,Qa[0].length-1)}}},mc.codespan=function(Eb){var qb=this.rules.inline.code.exec(Eb);if(qb){var Va=qb[2].replace(/\n/g," "),Oa=/[^ ]/.test(Va),Qa=Va.startsWith(" ")&&Va.endsWith(" ");return Oa&&Qa&&(Va=Va.substring(1,Va.length-1)),Va=hb(Va,!0),{type:"codespan",raw:qb[0],text:Va}}},mc.br=function(Eb){var qb=this.rules.inline.br.exec(Eb);if(qb)return{type:"br",raw:qb[0]}},mc.del=function(Eb){var qb=this.rules.inline.del.exec(Eb);if(qb)return{type:"del",raw:qb[0],text:qb[1]}},mc.autolink=function(Eb,qb){var Va,Oa,Qa=this.rules.inline.autolink.exec(Eb);if(Qa)return Oa="@"===Qa[2]?"mailto:"+(Va=hb(this.options.mangle?qb(Qa[1]):Qa[1])):Va=hb(Qa[1]),{type:"link",raw:Qa[0],text:Va,href:Oa,tokens:[{type:"text",raw:Va,text:Va}]}},mc.url=function(Eb,qb){var Va;if(Va=this.rules.inline.url.exec(Eb)){var Oa,Qa;if("@"===Va[2])Qa="mailto:"+(Oa=hb(this.options.mangle?qb(Va[0]):Va[0]));else{var kb;do kb=Va[0],Va[0]=this.rules.inline._backpedal.exec(Va[0])[0];while(kb!==Va[0]);Oa=hb(Va[0]),Qa="www."===Va[1]?"http://"+Oa:Oa}return{type:"link",raw:Va[0],text:Oa,href:Qa,tokens:[{type:"text",raw:Oa,text:Oa}]}}},mc.inlineText=function(Eb,qb,Va){var Oa,Qa=this.rules.inline.text.exec(Eb);if(Qa)return Oa=qb?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Qa[0]):hb(Qa[0]):Qa[0]:hb(this.options.smartypants?Va(Qa[0]):Qa[0]),{type:"text",raw:Qa[0],text:Oa}},pb}(),ua=ga,ba=ea,$=Ba,S={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:ua,table:ua,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};S.def=ba(S.def).replace("label",S._label).replace("title",S._title).getRegex(),S.bullet=/(?:[*+-]|\d{1,9}[.)])/,S.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,S.item=ba(S.item,"gm").replace(/bull/g,S.bullet).getRegex(),S.list=ba(S.list).replace(/bull/g,S.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+S.def.source+")").getRegex(),S._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",S._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,S.html=ba(S.html,"i").replace("comment",S._comment).replace("tag",S._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),S.paragraph=ba(S._paragraph).replace("hr",S.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",S._tag).getRegex(),S.blockquote=ba(S.blockquote).replace("paragraph",S.paragraph).getRegex(),S.normal=$({},S),S.gfm=$({},S.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),S.gfm.nptable=ba(S.gfm.nptable).replace("hr",S.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",S._tag).getRegex(),S.gfm.table=ba(S.gfm.table).replace("hr",S.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",S._tag).getRegex(),S.pedantic=$({},S.normal,{html:ba(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",S._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:ua,paragraph:ba(S.normal._paragraph).replace("hr",S.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",S.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var aa={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ua,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ua,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};aa.punctuation=ba(aa.punctuation).replace(/punctuation/g,aa._punctuation).getRegex(),aa._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",aa._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",aa._comment=ba(S._comment).replace("(?:-->|$)","-->").getRegex(),aa.em.start=ba(aa.em.start).replace(/punctuation/g,aa._punctuation).getRegex(),aa.em.middle=ba(aa.em.middle).replace(/punctuation/g,aa._punctuation).replace(/overlapSkip/g,aa._overlapSkip).getRegex(),aa.em.endAst=ba(aa.em.endAst,"g").replace(/punctuation/g,aa._punctuation).getRegex(),aa.em.endUnd=ba(aa.em.endUnd,"g").replace(/punctuation/g,aa._punctuation).getRegex(),aa.strong.start=ba(aa.strong.start).replace(/punctuation/g,aa._punctuation).getRegex(),aa.strong.middle=ba(aa.strong.middle).replace(/punctuation/g,aa._punctuation).replace(/blockSkip/g,aa._blockSkip).getRegex(),aa.strong.endAst=ba(aa.strong.endAst,"g").replace(/punctuation/g,aa._punctuation).getRegex(),aa.strong.endUnd=ba(aa.strong.endUnd,"g").replace(/punctuation/g,aa._punctuation).getRegex(),aa.blockSkip=ba(aa._blockSkip,"g").getRegex(),aa.overlapSkip=ba(aa._overlapSkip,"g").getRegex(),aa._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,aa._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,aa._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,aa.autolink=ba(aa.autolink).replace("scheme",aa._scheme).replace("email",aa._email).getRegex(),aa._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,aa.tag=ba(aa.tag).replace("comment",aa._comment).replace("attribute",aa._attribute).getRegex(),aa._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,aa._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,aa._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,aa.link=ba(aa.link).replace("label",aa._label).replace("href",aa._href).replace("title",aa._title).getRegex(),aa.reflink=ba(aa.reflink).replace("label",aa._label).getRegex(),aa.reflinkSearch=ba(aa.reflinkSearch,"g").replace("reflink",aa.reflink).replace("nolink",aa.nolink).getRegex(),aa.normal=$({},aa),aa.pedantic=$({},aa.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ba(/^!?\[(label)\]\((.*?)\)/).replace("label",aa._label).getRegex(),reflink:ba(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",aa._label).getRegex()}),aa.gfm=$({},aa.normal,{escape:ba(aa.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),aa.gfm.url=ba(aa.gfm.url,"i").replace("email",aa.gfm._extended_email).getRegex(),aa.breaks=$({},aa.gfm,{br:ba(aa.br).replace("{2,}","*").getRegex(),text:ba(aa.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var _={block:S,inline:aa},I=F.defaults,ka=_.block,va=_.inline;function La(pb){return pb.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function $a(pb){var mc,Eb,qb="",Va=pb.length;for(mc=0;mc<Va;mc++)Eb=pb.charCodeAt(mc),Math.random()>.5&&(Eb="x"+Eb.toString(16)),qb+="&#"+Eb+";";return qb}var Ab=function(){function pb(Oa){this.tokens=[],this.tokens.links=Object.create(null),this.options=Oa||I,this.options.tokenizer=this.options.tokenizer||new za(),this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Qa={block:ka.normal,inline:va.normal};this.options.pedantic?(Qa.block=ka.pedantic,Qa.inline=va.pedantic):this.options.gfm&&(Qa.block=ka.gfm,this.options.breaks?Qa.inline=va.breaks:Qa.inline=va.gfm),this.tokenizer.rules=Qa}pb.lex=function(Oa,Qa){return new pb(Qa).lex(Oa)};var mc,Eb,qb,Va=pb.prototype;return Va.lex=function(Oa){return Oa=Oa.replace(/\r\n|\r/g,` -`).replace(/\t/g," "),this.blockTokens(Oa,this.tokens,!0),this.inline(this.tokens),this.tokens},Va.blockTokens=function(Oa,Qa,kb){var tb,oc,ec,$b;for(void 0===Qa&&(Qa=[]),void 0===kb&&(kb=!0),Oa=Oa.replace(/^ +$/gm,"");Oa;)if(tb=this.tokenizer.space(Oa))Oa=Oa.substring(tb.raw.length),tb.type&&Qa.push(tb);else if(tb=this.tokenizer.code(Oa,Qa))Oa=Oa.substring(tb.raw.length),tb.type?Qa.push(tb):(($b=Qa[Qa.length-1]).raw+=` -`+tb.raw,$b.text+=` -`+tb.text);else if(tb=this.tokenizer.fences(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(tb=this.tokenizer.heading(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(tb=this.tokenizer.nptable(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(tb=this.tokenizer.hr(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(tb=this.tokenizer.blockquote(Oa))Oa=Oa.substring(tb.raw.length),tb.tokens=this.blockTokens(tb.text,[],kb),Qa.push(tb);else if(tb=this.tokenizer.list(Oa)){for(Oa=Oa.substring(tb.raw.length),ec=tb.items.length,oc=0;oc<ec;oc++)tb.items[oc].tokens=this.blockTokens(tb.items[oc].text,[],!1);Qa.push(tb)}else if(tb=this.tokenizer.html(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(kb&&(tb=this.tokenizer.def(Oa)))Oa=Oa.substring(tb.raw.length),this.tokens.links[tb.tag]||(this.tokens.links[tb.tag]={href:tb.href,title:tb.title});else if(tb=this.tokenizer.table(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(tb=this.tokenizer.lheading(Oa))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(kb&&(tb=this.tokenizer.paragraph(Oa)))Oa=Oa.substring(tb.raw.length),Qa.push(tb);else if(tb=this.tokenizer.text(Oa,Qa))Oa=Oa.substring(tb.raw.length),tb.type?Qa.push(tb):(($b=Qa[Qa.length-1]).raw+=` -`+tb.raw,$b.text+=` -`+tb.text);else if(Oa){var Hc="Infinite loop on byte: "+Oa.charCodeAt(0);if(this.options.silent){console.error(Hc);break}throw new Error(Hc)}return Qa},Va.inline=function(Oa){var Qa,kb,tb,oc,ec,$b,Hc=Oa.length;for(Qa=0;Qa<Hc;Qa++)switch(($b=Oa[Qa]).type){case"paragraph":case"text":case"heading":$b.tokens=[],this.inlineTokens($b.text,$b.tokens);break;case"table":for($b.tokens={header:[],cells:[]},oc=$b.header.length,kb=0;kb<oc;kb++)$b.tokens.header[kb]=[],this.inlineTokens($b.header[kb],$b.tokens.header[kb]);for(oc=$b.cells.length,kb=0;kb<oc;kb++)for(ec=$b.cells[kb],$b.tokens.cells[kb]=[],tb=0;tb<ec.length;tb++)$b.tokens.cells[kb][tb]=[],this.inlineTokens(ec[tb],$b.tokens.cells[kb][tb]);break;case"blockquote":this.inline($b.tokens);break;case"list":for(oc=$b.items.length,kb=0;kb<oc;kb++)this.inline($b.items[kb].tokens)}return Oa},Va.inlineTokens=function(Oa,Qa,kb,tb,oc){var ec;void 0===Qa&&(Qa=[]),void 0===kb&&(kb=!1),void 0===tb&&(tb=!1),void 0===oc&&(oc="");var $b,Hc=Oa;if(this.tokens.links){var Bc=Object.keys(this.tokens.links);if(Bc.length>0)for(;null!=($b=this.tokenizer.rules.inline.reflinkSearch.exec(Hc));)Bc.includes($b[0].slice($b[0].lastIndexOf("[")+1,-1))&&(Hc=Hc.slice(0,$b.index)+"["+"a".repeat($b[0].length-2)+"]"+Hc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=($b=this.tokenizer.rules.inline.blockSkip.exec(Hc));)Hc=Hc.slice(0,$b.index)+"["+"a".repeat($b[0].length-2)+"]"+Hc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Oa;)if(ec=this.tokenizer.escape(Oa))Oa=Oa.substring(ec.raw.length),Qa.push(ec);else if(ec=this.tokenizer.tag(Oa,kb,tb))Oa=Oa.substring(ec.raw.length),kb=ec.inLink,tb=ec.inRawBlock,Qa.push(ec);else if(ec=this.tokenizer.link(Oa))Oa=Oa.substring(ec.raw.length),"link"===ec.type&&(ec.tokens=this.inlineTokens(ec.text,[],!0,tb)),Qa.push(ec);else if(ec=this.tokenizer.reflink(Oa,this.tokens.links))Oa=Oa.substring(ec.raw.length),"link"===ec.type&&(ec.tokens=this.inlineTokens(ec.text,[],!0,tb)),Qa.push(ec);else if(ec=this.tokenizer.strong(Oa,Hc,oc))Oa=Oa.substring(ec.raw.length),ec.tokens=this.inlineTokens(ec.text,[],kb,tb),Qa.push(ec);else if(ec=this.tokenizer.em(Oa,Hc,oc))Oa=Oa.substring(ec.raw.length),ec.tokens=this.inlineTokens(ec.text,[],kb,tb),Qa.push(ec);else if(ec=this.tokenizer.codespan(Oa))Oa=Oa.substring(ec.raw.length),Qa.push(ec);else if(ec=this.tokenizer.br(Oa))Oa=Oa.substring(ec.raw.length),Qa.push(ec);else if(ec=this.tokenizer.del(Oa))Oa=Oa.substring(ec.raw.length),ec.tokens=this.inlineTokens(ec.text,[],kb,tb),Qa.push(ec);else if(ec=this.tokenizer.autolink(Oa,$a))Oa=Oa.substring(ec.raw.length),Qa.push(ec);else if(kb||!(ec=this.tokenizer.url(Oa,$a))){if(ec=this.tokenizer.inlineText(Oa,tb,La))Oa=Oa.substring(ec.raw.length),oc=ec.raw.slice(-1),Qa.push(ec);else if(Oa){var Vc="Infinite loop on byte: "+Oa.charCodeAt(0);if(this.options.silent){console.error(Vc);break}throw new Error(Vc)}}else Oa=Oa.substring(ec.raw.length),Qa.push(ec);return Qa},mc=pb,qb=[{key:"rules",get:function(){return{block:ka,inline:va}}}],(Eb=null)&&l(mc.prototype,Eb),qb&&l(mc,qb),pb}(),gb=F.defaults,Fb=oa,wb=Z,tc=function(){function pb(Eb){this.options=Eb||gb}var mc=pb.prototype;return mc.code=function(Eb,qb,Va){var Oa=(qb||"").match(/\S*/)[0];if(this.options.highlight){var Qa=this.options.highlight(Eb,Oa);null!=Qa&&Qa!==Eb&&(Va=!0,Eb=Qa)}return Oa?'<pre><code class="'+this.options.langPrefix+wb(Oa,!0)+'">'+(Va?Eb:wb(Eb,!0))+`</code></pre> -`:"<pre><code>"+(Va?Eb:wb(Eb,!0))+`</code></pre> -`},mc.blockquote=function(Eb){return`<blockquote> -`+Eb+`</blockquote> -`},mc.html=function(Eb){return Eb},mc.heading=function(Eb,qb,Va,Oa){return this.options.headerIds?"<h"+qb+' id="'+this.options.headerPrefix+Oa.slug(Va)+'">'+Eb+"</h"+qb+`> -`:"<h"+qb+">"+Eb+"</h"+qb+`> -`},mc.hr=function(){return this.options.xhtml?`<hr/> + `)})},function(Ie,w,o){Ie.exports=function(){"use strict";function h(gt,vi){for(var Rt=0;Rt<vi.length;Rt++){var vt=vi[Rt];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,"value"in vt&&(vt.writable=!0),Object.defineProperty(gt,vt.key,vt)}}function f(gt,vi){(vi==null||vi>gt.length)&&(vi=gt.length);for(var Rt=0,vt=new Array(vi);Rt<vi;Rt++)vt[Rt]=gt[Rt];return vt}function D(gt,vi){var Rt;if(typeof Symbol=="undefined"||gt[Symbol.iterator]==null){if(Array.isArray(gt)||(Rt=function(Ue,ut){if(Ue){if(typeof Ue=="string")return f(Ue,ut);var ze=Object.prototype.toString.call(Ue).slice(8,-1);return ze==="Object"&&Ue.constructor&&(ze=Ue.constructor.name),ze==="Map"||ze==="Set"?Array.from(Ue):ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ze)?f(Ue,ut):void 0}}(gt))||vi&>&&typeof gt.length=="number"){Rt&&(gt=Rt);var vt=0;return function(){return vt>=gt.length?{done:!0}:{done:!1,value:gt[vt++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(Rt=gt[Symbol.iterator]()).next.bind(Rt)}var H=function(gt,vi){return gt(vi={exports:{}},vi.exports),vi.exports}(function(gt){function vi(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}gt.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:vi,changeDefaults:function(Rt){gt.exports.defaults=Rt}}}),E=(H.defaults,H.getDefaults,H.changeDefaults,/[&<>"']/),ge=/[&<>"']/g,W=/[<>"']|&(?!#?\w+;)/,Q=/[<>"']|&(?!#?\w+;)/g,y={"&":"&","<":"<",">":">",'"':""","'":"'"},C=function(gt){return y[gt]},S=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function P(gt){return gt.replace(S,function(vi,Rt){return(Rt=Rt.toLowerCase())==="colon"?":":Rt.charAt(0)==="#"?Rt.charAt(1)==="x"?String.fromCharCode(parseInt(Rt.substring(2),16)):String.fromCharCode(+Rt.substring(1)):""})}var V=/(^|[^\[])\^/g,k=/[^\w:]/g,l=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,T={},N=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,g=/^([^:]+:\/*[^/]*)[\s\S]*$/;function j(gt,vi){T[" "+gt]||(N.test(gt)?T[" "+gt]=gt+"/":T[" "+gt]=ie(gt,"/",!0));var Rt=(gt=T[" "+gt]).indexOf(":")===-1;return vi.substring(0,2)==="//"?Rt?vi:gt.replace(b,"$1")+vi:vi.charAt(0)==="/"?Rt?vi:gt.replace(g,"$1")+vi:gt+vi}function ie(gt,vi,Rt){var vt=gt.length;if(vt===0)return"";for(var Ue=0;Ue<vt;){var ut=gt.charAt(vt-Ue-1);if(ut!==vi||Rt){if(ut===vi||!Rt)break;Ue++}else Ue++}return gt.substr(0,vt-Ue)}var U=function(gt,vi){if(vi){if(E.test(gt))return gt.replace(ge,C)}else if(W.test(gt))return gt.replace(Q,C);return gt},q=P,B=function(gt,vi){gt=gt.source||gt,vi=vi||"";var Rt={replace:function(vt,Ue){return Ue=(Ue=Ue.source||Ue).replace(V,"$1"),gt=gt.replace(vt,Ue),Rt},getRegex:function(){return new RegExp(gt,vi)}};return Rt},se=function(gt,vi,Rt){if(gt){var vt;try{vt=decodeURIComponent(P(Rt)).replace(k,"").toLowerCase()}catch(Ue){return null}if(vt.indexOf("javascript:")===0||vt.indexOf("vbscript:")===0||vt.indexOf("data:")===0)return null}vi&&!l.test(Rt)&&(Rt=j(vi,Rt));try{Rt=encodeURI(Rt).replace(/%25/g,"%")}catch(Ue){return null}return Rt},ke={exec:function(){}},xe=function(gt){for(var vi,Rt,vt=1;vt<arguments.length;vt++)for(Rt in vi=arguments[vt])Object.prototype.hasOwnProperty.call(vi,Rt)&&(gt[Rt]=vi[Rt]);return gt},Y=function(gt,vi){var Rt=gt.replace(/\|/g,function(Ue,ut,ze){for(var st=!1,_t=ut;--_t>=0&&ze[_t]==="\\";)st=!st;return st?"|":" |"}).split(/ \|/),vt=0;if(Rt.length>vi)Rt.splice(vi);else for(;Rt.length<vi;)Rt.push("");for(;vt<Rt.length;vt++)Rt[vt]=Rt[vt].trim().replace(/\\\|/g,"|");return Rt},Z=ie,te=function(gt,vi){if(gt.indexOf(vi[1])===-1)return-1;for(var Rt=gt.length,vt=0,Ue=0;Ue<Rt;Ue++)if(gt[Ue]==="\\")Ue++;else if(gt[Ue]===vi[0])vt++;else if(gt[Ue]===vi[1]&&--vt<0)return Ue;return-1},he=function(gt){gt&>.sanitize&>.silent},Ce=H.defaults,Ae=Z,L=Y,nt=U,ct=te;function Ye(gt,vi,Rt){var vt=vi.href,Ue=vi.title?nt(vi.title):null,ut=gt[1].replace(/\\([\[\]])/g,"$1");return gt[0].charAt(0)!=="!"?{type:"link",raw:Rt,href:vt,title:Ue,text:ut}:{type:"image",raw:Rt,href:vt,title:Ue,text:nt(ut)}}var ht=function(){function gt(Rt){this.options=Rt||Ce}var vi=gt.prototype;return vi.space=function(Rt){var vt=this.rules.block.newline.exec(Rt);if(vt)return vt[0].length>1?{type:"space",raw:vt[0]}:{raw:` +`}},vi.code=function(Rt,vt){var Ue=this.rules.block.code.exec(Rt);if(Ue){var ut=vt[vt.length-1];if(ut&&ut.type==="paragraph")return{raw:Ue[0],text:Ue[0].trimRight()};var ze=Ue[0].replace(/^ {4}/gm,"");return{type:"code",raw:Ue[0],codeBlockStyle:"indented",text:this.options.pedantic?ze:Ae(ze,` +`)}}},vi.fences=function(Rt){var vt=this.rules.block.fences.exec(Rt);if(vt){var Ue=vt[0],ut=function(ze,st){var _t=ze.match(/^(\s+)(?:```)/);if(_t===null)return st;var oi=_t[1];return st.split(` +`).map(function(li){var gi=li.match(/^\s+/);return gi===null?li:gi[0].length>=oi.length?li.slice(oi.length):li}).join(` +`)}(Ue,vt[3]||"");return{type:"code",raw:Ue,lang:vt[2]?vt[2].trim():vt[2],text:ut}}},vi.heading=function(Rt){var vt=this.rules.block.heading.exec(Rt);if(vt)return{type:"heading",raw:vt[0],depth:vt[1].length,text:vt[2]}},vi.nptable=function(Rt){var vt=this.rules.block.nptable.exec(Rt);if(vt){var Ue={type:"table",header:L(vt[1].replace(/^ *| *\| *$/g,"")),align:vt[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:vt[3]?vt[3].replace(/\n$/,"").split(` +`):[],raw:vt[0]};if(Ue.header.length===Ue.align.length){var ut,ze=Ue.align.length;for(ut=0;ut<ze;ut++)/^ *-+: *$/.test(Ue.align[ut])?Ue.align[ut]="right":/^ *:-+: *$/.test(Ue.align[ut])?Ue.align[ut]="center":/^ *:-+ *$/.test(Ue.align[ut])?Ue.align[ut]="left":Ue.align[ut]=null;for(ze=Ue.cells.length,ut=0;ut<ze;ut++)Ue.cells[ut]=L(Ue.cells[ut],Ue.header.length);return Ue}}},vi.hr=function(Rt){var vt=this.rules.block.hr.exec(Rt);if(vt)return{type:"hr",raw:vt[0]}},vi.blockquote=function(Rt){var vt=this.rules.block.blockquote.exec(Rt);if(vt){var Ue=vt[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:vt[0],text:Ue}}},vi.list=function(Rt){var vt=this.rules.block.list.exec(Rt);if(vt){for(var Ue,ut,ze,st,_t,oi,li,gi=vt[0],ki=vt[2],Ri=ki.length>1,$i=ki[ki.length-1]===")",Hi={type:"list",raw:gi,ordered:Ri,start:Ri?+ki.slice(0,-1):"",loose:!1,items:[]},yi=vt[0].match(this.rules.block.item),kt=!1,Et=yi.length,si=0;si<Et;si++)gi=Ue=yi[si],ut=Ue.length,~(Ue=Ue.replace(/^ *([*+-]|\d+[.)]) */,"")).indexOf(` + `)&&(ut-=Ue.length,Ue=this.options.pedantic?Ue.replace(/^ {1,4}/gm,""):Ue.replace(new RegExp("^ {1,"+ut+"}","gm"),"")),si!==Et-1&&(ze=this.rules.block.bullet.exec(yi[si+1])[0],(Ri?ze.length===1||!$i&&ze[ze.length-1]===")":ze.length>1||this.options.smartLists&&ze!==ki)&&(st=yi.slice(si+1).join(` +`),Hi.raw=Hi.raw.substring(0,Hi.raw.length-st.length),si=Et-1)),_t=kt||/\n\n(?!\s*$)/.test(Ue),si!==Et-1&&(kt=Ue.charAt(Ue.length-1)===` +`,_t||(_t=kt)),_t&&(Hi.loose=!0),li=void 0,(oi=/^\[[ xX]\] /.test(Ue))&&(li=Ue[1]!==" ",Ue=Ue.replace(/^\[[ xX]\] +/,"")),Hi.items.push({type:"list_item",raw:gi,task:oi,checked:li,loose:_t,text:Ue});return Hi}},vi.html=function(Rt){var vt=this.rules.block.html.exec(Rt);if(vt)return{type:this.options.sanitize?"paragraph":"html",raw:vt[0],pre:!this.options.sanitizer&&(vt[1]==="pre"||vt[1]==="script"||vt[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(vt[0]):nt(vt[0]):vt[0]}},vi.def=function(Rt){var vt=this.rules.block.def.exec(Rt);if(vt)return vt[3]&&(vt[3]=vt[3].substring(1,vt[3].length-1)),{tag:vt[1].toLowerCase().replace(/\s+/g," "),raw:vt[0],href:vt[2],title:vt[3]}},vi.table=function(Rt){var vt=this.rules.block.table.exec(Rt);if(vt){var Ue={type:"table",header:L(vt[1].replace(/^ *| *\| *$/g,"")),align:vt[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:vt[3]?vt[3].replace(/\n$/,"").split(` +`):[]};if(Ue.header.length===Ue.align.length){Ue.raw=vt[0];var ut,ze=Ue.align.length;for(ut=0;ut<ze;ut++)/^ *-+: *$/.test(Ue.align[ut])?Ue.align[ut]="right":/^ *:-+: *$/.test(Ue.align[ut])?Ue.align[ut]="center":/^ *:-+ *$/.test(Ue.align[ut])?Ue.align[ut]="left":Ue.align[ut]=null;for(ze=Ue.cells.length,ut=0;ut<ze;ut++)Ue.cells[ut]=L(Ue.cells[ut].replace(/^ *\| *| *\| *$/g,""),Ue.header.length);return Ue}}},vi.lheading=function(Rt){var vt=this.rules.block.lheading.exec(Rt);if(vt)return{type:"heading",raw:vt[0],depth:vt[2].charAt(0)==="="?1:2,text:vt[1]}},vi.paragraph=function(Rt){var vt=this.rules.block.paragraph.exec(Rt);if(vt)return{type:"paragraph",raw:vt[0],text:vt[1].charAt(vt[1].length-1)===` +`?vt[1].slice(0,-1):vt[1]}},vi.text=function(Rt,vt){var Ue=this.rules.block.text.exec(Rt);if(Ue){var ut=vt[vt.length-1];return ut&&ut.type==="text"?{raw:Ue[0],text:Ue[0]}:{type:"text",raw:Ue[0],text:Ue[0]}}},vi.escape=function(Rt){var vt=this.rules.inline.escape.exec(Rt);if(vt)return{type:"escape",raw:vt[0],text:nt(vt[1])}},vi.tag=function(Rt,vt,Ue){var ut=this.rules.inline.tag.exec(Rt);if(ut)return!vt&&/^<a /i.test(ut[0])?vt=!0:vt&&/^<\/a>/i.test(ut[0])&&(vt=!1),!Ue&&/^<(pre|code|kbd|script)(\s|>)/i.test(ut[0])?Ue=!0:Ue&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(ut[0])&&(Ue=!1),{type:this.options.sanitize?"text":"html",raw:ut[0],inLink:vt,inRawBlock:Ue,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ut[0]):nt(ut[0]):ut[0]}},vi.link=function(Rt){var vt=this.rules.inline.link.exec(Rt);if(vt){var Ue=ct(vt[2],"()");if(Ue>-1){var ut=(vt[0].indexOf("!")===0?5:4)+vt[1].length+Ue;vt[2]=vt[2].substring(0,Ue),vt[0]=vt[0].substring(0,ut).trim(),vt[3]=""}var ze=vt[2],st="";if(this.options.pedantic){var _t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ze);_t?(ze=_t[1],st=_t[3]):st=""}else st=vt[3]?vt[3].slice(1,-1):"";return Ye(vt,{href:(ze=ze.trim().replace(/^<([\s\S]*)>$/,"$1"))?ze.replace(this.rules.inline._escapes,"$1"):ze,title:st&&st.replace(this.rules.inline._escapes,"$1")},vt[0])}},vi.reflink=function(Rt,vt){var Ue;if((Ue=this.rules.inline.reflink.exec(Rt))||(Ue=this.rules.inline.nolink.exec(Rt))){var ut=(Ue[2]||Ue[1]).replace(/\s+/g," ");if(!(ut=vt[ut.toLowerCase()])||!ut.href){var ze=Ue[0].charAt(0);return{type:"text",raw:ze,text:ze}}return Ye(Ue,ut,Ue[0])}},vi.strong=function(Rt,vt,Ue){Ue===void 0&&(Ue="");var ut=this.rules.inline.strong.start.exec(Rt);if(ut&&(!ut[1]||ut[1]&&(Ue===""||this.rules.inline.punctuation.exec(Ue)))){vt=vt.slice(-1*Rt.length);var ze,st=ut[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(st.lastIndex=0;(ut=st.exec(vt))!=null;)if(ze=this.rules.inline.strong.middle.exec(vt.slice(0,ut.index+3)))return{type:"strong",raw:Rt.slice(0,ze[0].length),text:Rt.slice(2,ze[0].length-2)}}},vi.em=function(Rt,vt,Ue){Ue===void 0&&(Ue="");var ut=this.rules.inline.em.start.exec(Rt);if(ut&&(!ut[1]||ut[1]&&(Ue===""||this.rules.inline.punctuation.exec(Ue)))){vt=vt.slice(-1*Rt.length);var ze,st=ut[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(st.lastIndex=0;(ut=st.exec(vt))!=null;)if(ze=this.rules.inline.em.middle.exec(vt.slice(0,ut.index+2)))return{type:"em",raw:Rt.slice(0,ze[0].length),text:Rt.slice(1,ze[0].length-1)}}},vi.codespan=function(Rt){var vt=this.rules.inline.code.exec(Rt);if(vt){var Ue=vt[2].replace(/\n/g," "),ut=/[^ ]/.test(Ue),ze=Ue.startsWith(" ")&&Ue.endsWith(" ");return ut&&ze&&(Ue=Ue.substring(1,Ue.length-1)),Ue=nt(Ue,!0),{type:"codespan",raw:vt[0],text:Ue}}},vi.br=function(Rt){var vt=this.rules.inline.br.exec(Rt);if(vt)return{type:"br",raw:vt[0]}},vi.del=function(Rt){var vt=this.rules.inline.del.exec(Rt);if(vt)return{type:"del",raw:vt[0],text:vt[1]}},vi.autolink=function(Rt,vt){var Ue,ut,ze=this.rules.inline.autolink.exec(Rt);if(ze)return ut=ze[2]==="@"?"mailto:"+(Ue=nt(this.options.mangle?vt(ze[1]):ze[1])):Ue=nt(ze[1]),{type:"link",raw:ze[0],text:Ue,href:ut,tokens:[{type:"text",raw:Ue,text:Ue}]}},vi.url=function(Rt,vt){var Ue;if(Ue=this.rules.inline.url.exec(Rt)){var ut,ze;if(Ue[2]==="@")ze="mailto:"+(ut=nt(this.options.mangle?vt(Ue[0]):Ue[0]));else{var st;do st=Ue[0],Ue[0]=this.rules.inline._backpedal.exec(Ue[0])[0];while(st!==Ue[0]);ut=nt(Ue[0]),ze=Ue[1]==="www."?"http://"+ut:ut}return{type:"link",raw:Ue[0],text:ut,href:ze,tokens:[{type:"text",raw:ut,text:ut}]}}},vi.inlineText=function(Rt,vt,Ue){var ut,ze=this.rules.inline.text.exec(Rt);if(ze)return ut=vt?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ze[0]):nt(ze[0]):ze[0]:nt(this.options.smartypants?Ue(ze[0]):ze[0]),{type:"text",raw:ze[0],text:ut}},gt}(),fe=ke,$=B,G=xe,z={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:fe,table:fe,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};z.def=$(z.def).replace("label",z._label).replace("title",z._title).getRegex(),z.bullet=/(?:[*+-]|\d{1,9}[.)])/,z.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,z.item=$(z.item,"gm").replace(/bull/g,z.bullet).getRegex(),z.list=$(z.list).replace(/bull/g,z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+z.def.source+")").getRegex(),z._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",z._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,z.html=$(z.html,"i").replace("comment",z._comment).replace("tag",z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),z.paragraph=$(z._paragraph).replace("hr",z.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",z._tag).getRegex(),z.blockquote=$(z.blockquote).replace("paragraph",z.paragraph).getRegex(),z.normal=G({},z),z.gfm=G({},z.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),z.gfm.nptable=$(z.gfm.nptable).replace("hr",z.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",z._tag).getRegex(),z.gfm.table=$(z.gfm.table).replace("hr",z.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",z._tag).getRegex(),z.pedantic=G({},z.normal,{html:$(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",z._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:fe,paragraph:$(z.normal._paragraph).replace("hr",z.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",z.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var J={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:fe,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:fe,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};J.punctuation=$(J.punctuation).replace(/punctuation/g,J._punctuation).getRegex(),J._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",J._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",J._comment=$(z._comment).replace("(?:-->|$)","-->").getRegex(),J.em.start=$(J.em.start).replace(/punctuation/g,J._punctuation).getRegex(),J.em.middle=$(J.em.middle).replace(/punctuation/g,J._punctuation).replace(/overlapSkip/g,J._overlapSkip).getRegex(),J.em.endAst=$(J.em.endAst,"g").replace(/punctuation/g,J._punctuation).getRegex(),J.em.endUnd=$(J.em.endUnd,"g").replace(/punctuation/g,J._punctuation).getRegex(),J.strong.start=$(J.strong.start).replace(/punctuation/g,J._punctuation).getRegex(),J.strong.middle=$(J.strong.middle).replace(/punctuation/g,J._punctuation).replace(/blockSkip/g,J._blockSkip).getRegex(),J.strong.endAst=$(J.strong.endAst,"g").replace(/punctuation/g,J._punctuation).getRegex(),J.strong.endUnd=$(J.strong.endUnd,"g").replace(/punctuation/g,J._punctuation).getRegex(),J.blockSkip=$(J._blockSkip,"g").getRegex(),J.overlapSkip=$(J._overlapSkip,"g").getRegex(),J._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,J._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,J._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,J.autolink=$(J.autolink).replace("scheme",J._scheme).replace("email",J._email).getRegex(),J._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,J.tag=$(J.tag).replace("comment",J._comment).replace("attribute",J._attribute).getRegex(),J._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,J._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,J._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,J.link=$(J.link).replace("label",J._label).replace("href",J._href).replace("title",J._title).getRegex(),J.reflink=$(J.reflink).replace("label",J._label).getRegex(),J.reflinkSearch=$(J.reflinkSearch,"g").replace("reflink",J.reflink).replace("nolink",J.nolink).getRegex(),J.normal=G({},J),J.pedantic=G({},J.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:$(/^!?\[(label)\]\((.*?)\)/).replace("label",J._label).getRegex(),reflink:$(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",J._label).getRegex()}),J.gfm=G({},J.normal,{escape:$(J.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),J.gfm.url=$(J.gfm.url,"i").replace("email",J.gfm._extended_email).getRegex(),J.breaks=G({},J.gfm,{br:$(J.br).replace("{2,}","*").getRegex(),text:$(J.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Se={block:z,inline:J},A=H.defaults,ee=Se.block,de=Se.inline;function Oe(gt){return gt.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function $e(gt){var vi,Rt,vt="",Ue=gt.length;for(vi=0;vi<Ue;vi++)Rt=gt.charCodeAt(vi),Math.random()>.5&&(Rt="x"+Rt.toString(16)),vt+="&#"+Rt+";";return vt}var pt=function(){function gt(ut){this.tokens=[],this.tokens.links=Object.create(null),this.options=ut||A,this.options.tokenizer=this.options.tokenizer||new ht,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ze={block:ee.normal,inline:de.normal};this.options.pedantic?(ze.block=ee.pedantic,ze.inline=de.pedantic):this.options.gfm&&(ze.block=ee.gfm,this.options.breaks?ze.inline=de.breaks:ze.inline=de.gfm),this.tokenizer.rules=ze}gt.lex=function(ut,ze){return new gt(ze).lex(ut)};var vi,Rt,vt,Ue=gt.prototype;return Ue.lex=function(ut){return ut=ut.replace(/\r\n|\r/g,` +`).replace(/\t/g," "),this.blockTokens(ut,this.tokens,!0),this.inline(this.tokens),this.tokens},Ue.blockTokens=function(ut,ze,st){var _t,oi,li,gi;for(ze===void 0&&(ze=[]),st===void 0&&(st=!0),ut=ut.replace(/^ +$/gm,"");ut;)if(_t=this.tokenizer.space(ut))ut=ut.substring(_t.raw.length),_t.type&&ze.push(_t);else if(_t=this.tokenizer.code(ut,ze))ut=ut.substring(_t.raw.length),_t.type?ze.push(_t):((gi=ze[ze.length-1]).raw+=` +`+_t.raw,gi.text+=` +`+_t.text);else if(_t=this.tokenizer.fences(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(_t=this.tokenizer.heading(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(_t=this.tokenizer.nptable(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(_t=this.tokenizer.hr(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(_t=this.tokenizer.blockquote(ut))ut=ut.substring(_t.raw.length),_t.tokens=this.blockTokens(_t.text,[],st),ze.push(_t);else if(_t=this.tokenizer.list(ut)){for(ut=ut.substring(_t.raw.length),li=_t.items.length,oi=0;oi<li;oi++)_t.items[oi].tokens=this.blockTokens(_t.items[oi].text,[],!1);ze.push(_t)}else if(_t=this.tokenizer.html(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(st&&(_t=this.tokenizer.def(ut)))ut=ut.substring(_t.raw.length),this.tokens.links[_t.tag]||(this.tokens.links[_t.tag]={href:_t.href,title:_t.title});else if(_t=this.tokenizer.table(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(_t=this.tokenizer.lheading(ut))ut=ut.substring(_t.raw.length),ze.push(_t);else if(st&&(_t=this.tokenizer.paragraph(ut)))ut=ut.substring(_t.raw.length),ze.push(_t);else if(_t=this.tokenizer.text(ut,ze))ut=ut.substring(_t.raw.length),_t.type?ze.push(_t):((gi=ze[ze.length-1]).raw+=` +`+_t.raw,gi.text+=` +`+_t.text);else if(ut){var ki="Infinite loop on byte: "+ut.charCodeAt(0);if(this.options.silent){console.error(ki);break}throw new Error(ki)}return ze},Ue.inline=function(ut){var ze,st,_t,oi,li,gi,ki=ut.length;for(ze=0;ze<ki;ze++)switch((gi=ut[ze]).type){case"paragraph":case"text":case"heading":gi.tokens=[],this.inlineTokens(gi.text,gi.tokens);break;case"table":for(gi.tokens={header:[],cells:[]},oi=gi.header.length,st=0;st<oi;st++)gi.tokens.header[st]=[],this.inlineTokens(gi.header[st],gi.tokens.header[st]);for(oi=gi.cells.length,st=0;st<oi;st++)for(li=gi.cells[st],gi.tokens.cells[st]=[],_t=0;_t<li.length;_t++)gi.tokens.cells[st][_t]=[],this.inlineTokens(li[_t],gi.tokens.cells[st][_t]);break;case"blockquote":this.inline(gi.tokens);break;case"list":for(oi=gi.items.length,st=0;st<oi;st++)this.inline(gi.items[st].tokens)}return ut},Ue.inlineTokens=function(ut,ze,st,_t,oi){var li;ze===void 0&&(ze=[]),st===void 0&&(st=!1),_t===void 0&&(_t=!1),oi===void 0&&(oi="");var gi,ki=ut;if(this.tokens.links){var Ri=Object.keys(this.tokens.links);if(Ri.length>0)for(;(gi=this.tokenizer.rules.inline.reflinkSearch.exec(ki))!=null;)Ri.includes(gi[0].slice(gi[0].lastIndexOf("[")+1,-1))&&(ki=ki.slice(0,gi.index)+"["+"a".repeat(gi[0].length-2)+"]"+ki.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(gi=this.tokenizer.rules.inline.blockSkip.exec(ki))!=null;)ki=ki.slice(0,gi.index)+"["+"a".repeat(gi[0].length-2)+"]"+ki.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;ut;)if(li=this.tokenizer.escape(ut))ut=ut.substring(li.raw.length),ze.push(li);else if(li=this.tokenizer.tag(ut,st,_t))ut=ut.substring(li.raw.length),st=li.inLink,_t=li.inRawBlock,ze.push(li);else if(li=this.tokenizer.link(ut))ut=ut.substring(li.raw.length),li.type==="link"&&(li.tokens=this.inlineTokens(li.text,[],!0,_t)),ze.push(li);else if(li=this.tokenizer.reflink(ut,this.tokens.links))ut=ut.substring(li.raw.length),li.type==="link"&&(li.tokens=this.inlineTokens(li.text,[],!0,_t)),ze.push(li);else if(li=this.tokenizer.strong(ut,ki,oi))ut=ut.substring(li.raw.length),li.tokens=this.inlineTokens(li.text,[],st,_t),ze.push(li);else if(li=this.tokenizer.em(ut,ki,oi))ut=ut.substring(li.raw.length),li.tokens=this.inlineTokens(li.text,[],st,_t),ze.push(li);else if(li=this.tokenizer.codespan(ut))ut=ut.substring(li.raw.length),ze.push(li);else if(li=this.tokenizer.br(ut))ut=ut.substring(li.raw.length),ze.push(li);else if(li=this.tokenizer.del(ut))ut=ut.substring(li.raw.length),li.tokens=this.inlineTokens(li.text,[],st,_t),ze.push(li);else if(li=this.tokenizer.autolink(ut,$e))ut=ut.substring(li.raw.length),ze.push(li);else if(st||!(li=this.tokenizer.url(ut,$e))){if(li=this.tokenizer.inlineText(ut,_t,Oe))ut=ut.substring(li.raw.length),oi=li.raw.slice(-1),ze.push(li);else if(ut){var $i="Infinite loop on byte: "+ut.charCodeAt(0);if(this.options.silent){console.error($i);break}throw new Error($i)}}else ut=ut.substring(li.raw.length),ze.push(li);return ze},vi=gt,vt=[{key:"rules",get:function(){return{block:ee,inline:de}}}],(Rt=null)&&h(vi.prototype,Rt),vt&&h(vi,vt),gt}(),it=H.defaults,At=se,Nt=U,_i=function(){function gt(Rt){this.options=Rt||it}var vi=gt.prototype;return vi.code=function(Rt,vt,Ue){var ut=(vt||"").match(/\S*/)[0];if(this.options.highlight){var ze=this.options.highlight(Rt,ut);ze!=null&&ze!==Rt&&(Ue=!0,Rt=ze)}return ut?'<pre><code class="'+this.options.langPrefix+Nt(ut,!0)+'">'+(Ue?Rt:Nt(Rt,!0))+`</code></pre> +`:"<pre><code>"+(Ue?Rt:Nt(Rt,!0))+`</code></pre> +`},vi.blockquote=function(Rt){return`<blockquote> +`+Rt+`</blockquote> +`},vi.html=function(Rt){return Rt},vi.heading=function(Rt,vt,Ue,ut){return this.options.headerIds?"<h"+vt+' id="'+this.options.headerPrefix+ut.slug(Ue)+'">'+Rt+"</h"+vt+`> +`:"<h"+vt+">"+Rt+"</h"+vt+`> +`},vi.hr=function(){return this.options.xhtml?`<hr/> `:`<hr> -`},mc.list=function(Eb,qb,Va){var Oa=qb?"ol":"ul";return"<"+Oa+(qb&&1!==Va?' start="'+Va+'"':"")+`> -`+Eb+"</"+Oa+`> -`},mc.listitem=function(Eb){return"<li>"+Eb+`</li> -`},mc.checkbox=function(Eb){return"<input "+(Eb?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},mc.paragraph=function(Eb){return"<p>"+Eb+`</p> -`},mc.table=function(Eb,qb){return qb&&(qb="<tbody>"+qb+"</tbody>"),`<table> +`},vi.list=function(Rt,vt,Ue){var ut=vt?"ol":"ul";return"<"+ut+(vt&&Ue!==1?' start="'+Ue+'"':"")+`> +`+Rt+"</"+ut+`> +`},vi.listitem=function(Rt){return"<li>"+Rt+`</li> +`},vi.checkbox=function(Rt){return"<input "+(Rt?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},vi.paragraph=function(Rt){return"<p>"+Rt+`</p> +`},vi.table=function(Rt,vt){return vt&&(vt="<tbody>"+vt+"</tbody>"),`<table> <thead> -`+Eb+`</thead> -`+qb+`</table> -`},mc.tablerow=function(Eb){return`<tr> -`+Eb+`</tr> -`},mc.tablecell=function(Eb,qb){var Va=qb.header?"th":"td";return(qb.align?"<"+Va+' align="'+qb.align+'">':"<"+Va+">")+Eb+"</"+Va+`> -`},mc.strong=function(Eb){return"<strong>"+Eb+"</strong>"},mc.em=function(Eb){return"<em>"+Eb+"</em>"},mc.codespan=function(Eb){return"<code>"+Eb+"</code>"},mc.br=function(){return this.options.xhtml?"<br/>":"<br>"},mc.del=function(Eb){return"<del>"+Eb+"</del>"},mc.link=function(Eb,qb,Va){if(null===(Eb=Fb(this.options.sanitize,this.options.baseUrl,Eb)))return Va;var Oa='<a href="'+wb(Eb)+'"';return qb&&(Oa+=' title="'+qb+'"'),Oa+=">"+Va+"</a>"},mc.image=function(Eb,qb,Va){if(null===(Eb=Fb(this.options.sanitize,this.options.baseUrl,Eb)))return Va;var Oa='<img src="'+Eb+'" alt="'+Va+'"';return qb&&(Oa+=' title="'+qb+'"'),Oa+=this.options.xhtml?"/>":">"},mc.text=function(Eb){return Eb},pb}(),rb=function(){function pb(){}var mc=pb.prototype;return mc.strong=function(Eb){return Eb},mc.em=function(Eb){return Eb},mc.codespan=function(Eb){return Eb},mc.del=function(Eb){return Eb},mc.html=function(Eb){return Eb},mc.text=function(Eb){return Eb},mc.link=function(Eb,qb,Va){return""+Va},mc.image=function(Eb,qb,Va){return""+Va},mc.br=function(){return""},pb}(),wc=function(){function pb(){this.seen={}}var mc=pb.prototype;return mc.serialize=function(Eb){return Eb.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},mc.getNextSafeSlug=function(Eb,qb){var Va=Eb,Oa=0;if(this.seen.hasOwnProperty(Va)){Oa=this.seen[Eb];do Va=Eb+"-"+ ++Oa;while(this.seen.hasOwnProperty(Va))}return qb||(this.seen[Eb]=Oa,this.seen[Va]=0),Va},mc.slug=function(Eb,qb){void 0===qb&&(qb={});var Va=this.serialize(Eb);return this.getNextSafeSlug(Va,qb.dryrun)},pb}(),vc=F.defaults,cb=H,Ob=function(){function pb(Eb){this.options=Eb||vc,this.options.renderer=this.options.renderer||new tc(),this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new rb(),this.slugger=new wc()}pb.parse=function(Eb,qb){return new pb(qb).parse(Eb)};var mc=pb.prototype;return mc.parse=function(Eb,qb){void 0===qb&&(qb=!0);var Va,Oa,Qa,kb,tb,oc,ec,$b,Hc,Bc,Vc,Ic,xc,nb,zb,dc,Dc,Pc,Nc="",Ed=Eb.length;for(Va=0;Va<Ed;Va++)switch((Bc=Eb[Va]).type){case"space":continue;case"hr":Nc+=this.renderer.hr();continue;case"heading":Nc+=this.renderer.heading(this.parseInline(Bc.tokens),Bc.depth,cb(this.parseInline(Bc.tokens,this.textRenderer)),this.slugger);continue;case"code":Nc+=this.renderer.code(Bc.text,Bc.lang,Bc.escaped);continue;case"table":for($b="",ec="",kb=Bc.header.length,Oa=0;Oa<kb;Oa++)ec+=this.renderer.tablecell(this.parseInline(Bc.tokens.header[Oa]),{header:!0,align:Bc.align[Oa]});for($b+=this.renderer.tablerow(ec),Hc="",kb=Bc.cells.length,Oa=0;Oa<kb;Oa++){for(ec="",tb=(oc=Bc.tokens.cells[Oa]).length,Qa=0;Qa<tb;Qa++)ec+=this.renderer.tablecell(this.parseInline(oc[Qa]),{header:!1,align:Bc.align[Qa]});Hc+=this.renderer.tablerow(ec)}Nc+=this.renderer.table($b,Hc);continue;case"blockquote":Hc=this.parse(Bc.tokens),Nc+=this.renderer.blockquote(Hc);continue;case"list":for(Vc=Bc.ordered,Ic=Bc.start,xc=Bc.loose,kb=Bc.items.length,Hc="",Oa=0;Oa<kb;Oa++)dc=(zb=Bc.items[Oa]).checked,Dc=zb.task,nb="",zb.task&&(Pc=this.renderer.checkbox(dc),xc?zb.tokens.length>0&&"text"===zb.tokens[0].type?(zb.tokens[0].text=Pc+" "+zb.tokens[0].text,zb.tokens[0].tokens&&zb.tokens[0].tokens.length>0&&"text"===zb.tokens[0].tokens[0].type&&(zb.tokens[0].tokens[0].text=Pc+" "+zb.tokens[0].tokens[0].text)):zb.tokens.unshift({type:"text",text:Pc}):nb+=Pc),nb+=this.parse(zb.tokens,xc),Hc+=this.renderer.listitem(nb,Dc,dc);Nc+=this.renderer.list(Hc,Vc,Ic);continue;case"html":Nc+=this.renderer.html(Bc.text);continue;case"paragraph":Nc+=this.renderer.paragraph(this.parseInline(Bc.tokens));continue;case"text":for(Hc=Bc.tokens?this.parseInline(Bc.tokens):Bc.text;Va+1<Ed&&"text"===Eb[Va+1].type;)Hc+=` -`+((Bc=Eb[++Va]).tokens?this.parseInline(Bc.tokens):Bc.text);Nc+=qb?this.renderer.paragraph(Hc):Hc;continue;default:var ad='Token with "'+Bc.type+'" type was not found.';if(this.options.silent)return void console.error(ad);throw new Error(ad)}return Nc},mc.parseInline=function(Eb,qb){qb=qb||this.renderer;var Va,Oa,Qa="",kb=Eb.length;for(Va=0;Va<kb;Va++)switch((Oa=Eb[Va]).type){case"escape":Qa+=qb.text(Oa.text);break;case"html":Qa+=qb.html(Oa.text);break;case"link":Qa+=qb.link(Oa.href,Oa.title,this.parseInline(Oa.tokens,qb));break;case"image":Qa+=qb.image(Oa.href,Oa.title,Oa.text);break;case"strong":Qa+=qb.strong(this.parseInline(Oa.tokens,qb));break;case"em":Qa+=qb.em(this.parseInline(Oa.tokens,qb));break;case"codespan":Qa+=qb.codespan(Oa.text);break;case"br":Qa+=qb.br();break;case"del":Qa+=qb.del(this.parseInline(Oa.tokens,qb));break;case"text":Qa+=qb.text(Oa.text);break;default:var tb='Token with "'+Oa.type+'" type was not found.';if(this.options.silent)return void console.error(tb);throw new Error(tb)}return Qa},pb}(),uc=Ba,Cc=ta,Kc=Z,Yc=F.getDefaults,sc=F.changeDefaults,Nb=F.defaults;function Fc(pb,mc,Eb){if(null==pb)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof pb)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(pb)+", string expected");if("function"==typeof mc&&(Eb=mc,mc=null),mc=uc({},Fc.defaults,mc||{}),Cc(mc),Eb){var qb,Va=mc.highlight;try{qb=Ab.lex(pb,mc)}catch(tb){return Eb(tb)}var Oa=function(tb){var oc;if(!tb)try{oc=Ob.parse(qb,mc)}catch(ec){tb=ec}return mc.highlight=Va,tb?Eb(tb):Eb(null,oc)};if(!Va||Va.length<3)return Oa();if(delete mc.highlight,!qb.length)return Oa();var Qa=0;return Fc.walkTokens(qb,function(tb){"code"===tb.type&&(Qa++,setTimeout(function(){Va(tb.text,tb.lang,function(oc,ec){if(oc)return Oa(oc);null!=ec&&ec!==tb.text&&(tb.text=ec,tb.escaped=!0),0==--Qa&&Oa()})},0))}),void(0===Qa&&Oa())}try{var kb=Ab.lex(pb,mc);return mc.walkTokens&&Fc.walkTokens(kb,mc.walkTokens),Ob.parse(kb,mc)}catch(tb){if(tb.message+=` -Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>An error occurred:</p><pre>"+Kc(tb.message+"",!0)+"</pre>";throw tb}}return Fc.options=Fc.setOptions=function(pb){return uc(Fc.defaults,pb),sc(Fc.defaults),Fc},Fc.getDefaults=Yc,Fc.defaults=Nb,Fc.use=function(pb){var mc=uc({},pb);if(pb.renderer&&function(){var qb=Fc.defaults.renderer||new tc(),Va=function(Qa){var kb=qb[Qa];qb[Qa]=function(){for(var tb=arguments.length,oc=new Array(tb),ec=0;ec<tb;ec++)oc[ec]=arguments[ec];var $b=pb.renderer[Qa].apply(qb,oc);return!1===$b&&($b=kb.apply(qb,oc)),$b}};for(var Oa in pb.renderer)Va(Oa);mc.renderer=qb}(),pb.tokenizer&&function(){var qb=Fc.defaults.tokenizer||new za(),Va=function(Qa){var kb=qb[Qa];qb[Qa]=function(){for(var tb=arguments.length,oc=new Array(tb),ec=0;ec<tb;ec++)oc[ec]=arguments[ec];var $b=pb.tokenizer[Qa].apply(qb,oc);return!1===$b&&($b=kb.apply(qb,oc)),$b}};for(var Oa in pb.tokenizer)Va(Oa);mc.tokenizer=qb}(),pb.walkTokens){var Eb=Fc.defaults.walkTokens;mc.walkTokens=function(qb){pb.walkTokens(qb),Eb&&Eb(qb)}}Fc.setOptions(mc)},Fc.walkTokens=function(pb,mc){for(var Eb,qb=y(pb);!(Eb=qb()).done;){var Va=Eb.value;switch(mc(Va),Va.type){case"table":for(var Oa,Qa=y(Va.tokens.header);!(Oa=Qa()).done;){var kb=Oa.value;Fc.walkTokens(kb,mc)}for(var tb,oc=y(Va.tokens.cells);!(tb=oc()).done;)for(var ec,$b=y(tb.value);!(ec=$b()).done;){var Hc=ec.value;Fc.walkTokens(Hc,mc)}break;case"list":Fc.walkTokens(Va.items,mc);break;default:Va.tokens&&Fc.walkTokens(Va.tokens,mc)}}},Fc.Parser=Ob,Fc.parser=Ob.parse,Fc.Renderer=tc,Fc.TextRenderer=rb,Fc.Lexer=Ab,Fc.lexer=Ab.lex,Fc.Tokenizer=za,Fc.Slugger=wc,Fc.parse=Fc,Fc}()},function(Ga,t,f){var l=f(32),q=f(250);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){var l=f(32),q=f(263);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){var l=f(32),q=f(297);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){var l=f(32),q=f(304);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){var l=f(32),q=f(201);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`+Rt+`</thead> +`+vt+`</table> +`},vi.tablerow=function(Rt){return`<tr> +`+Rt+`</tr> +`},vi.tablecell=function(Rt,vt){var Ue=vt.header?"th":"td";return(vt.align?"<"+Ue+' align="'+vt.align+'">':"<"+Ue+">")+Rt+"</"+Ue+`> +`},vi.strong=function(Rt){return"<strong>"+Rt+"</strong>"},vi.em=function(Rt){return"<em>"+Rt+"</em>"},vi.codespan=function(Rt){return"<code>"+Rt+"</code>"},vi.br=function(){return this.options.xhtml?"<br/>":"<br>"},vi.del=function(Rt){return"<del>"+Rt+"</del>"},vi.link=function(Rt,vt,Ue){if((Rt=At(this.options.sanitize,this.options.baseUrl,Rt))===null)return Ue;var ut='<a href="'+Nt(Rt)+'"';return vt&&(ut+=' title="'+vt+'"'),ut+=">"+Ue+"</a>"},vi.image=function(Rt,vt,Ue){if((Rt=At(this.options.sanitize,this.options.baseUrl,Rt))===null)return Ue;var ut='<img src="'+Rt+'" alt="'+Ue+'"';return vt&&(ut+=' title="'+vt+'"'),ut+=this.options.xhtml?"/>":">"},vi.text=function(Rt){return Rt},gt}(),wt=function(){function gt(){}var vi=gt.prototype;return vi.strong=function(Rt){return Rt},vi.em=function(Rt){return Rt},vi.codespan=function(Rt){return Rt},vi.del=function(Rt){return Rt},vi.html=function(Rt){return Rt},vi.text=function(Rt){return Rt},vi.link=function(Rt,vt,Ue){return""+Ue},vi.image=function(Rt,vt,Ue){return""+Ue},vi.br=function(){return""},gt}(),Ni=function(){function gt(){this.seen={}}var vi=gt.prototype;return vi.serialize=function(Rt){return Rt.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},vi.getNextSafeSlug=function(Rt,vt){var Ue=Rt,ut=0;if(this.seen.hasOwnProperty(Ue)){ut=this.seen[Rt];do Ue=Rt+"-"+ ++ut;while(this.seen.hasOwnProperty(Ue))}return vt||(this.seen[Rt]=ut,this.seen[Ue]=0),Ue},vi.slug=function(Rt,vt){vt===void 0&&(vt={});var Ue=this.serialize(Rt);return this.getNextSafeSlug(Ue,vt.dryrun)},gt}(),pi=H.defaults,et=q,Wt=function(){function gt(Rt){this.options=Rt||pi,this.options.renderer=this.options.renderer||new _i,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new wt,this.slugger=new Ni}gt.parse=function(Rt,vt){return new gt(vt).parse(Rt)};var vi=gt.prototype;return vi.parse=function(Rt,vt){vt===void 0&&(vt=!0);var Ue,ut,ze,st,_t,oi,li,gi,ki,Ri,$i,Hi,yi,kt,Et,si,Si,Pi,Wi="",xn=Rt.length;for(Ue=0;Ue<xn;Ue++)switch((Ri=Rt[Ue]).type){case"space":continue;case"hr":Wi+=this.renderer.hr();continue;case"heading":Wi+=this.renderer.heading(this.parseInline(Ri.tokens),Ri.depth,et(this.parseInline(Ri.tokens,this.textRenderer)),this.slugger);continue;case"code":Wi+=this.renderer.code(Ri.text,Ri.lang,Ri.escaped);continue;case"table":for(gi="",li="",st=Ri.header.length,ut=0;ut<st;ut++)li+=this.renderer.tablecell(this.parseInline(Ri.tokens.header[ut]),{header:!0,align:Ri.align[ut]});for(gi+=this.renderer.tablerow(li),ki="",st=Ri.cells.length,ut=0;ut<st;ut++){for(li="",_t=(oi=Ri.tokens.cells[ut]).length,ze=0;ze<_t;ze++)li+=this.renderer.tablecell(this.parseInline(oi[ze]),{header:!1,align:Ri.align[ze]});ki+=this.renderer.tablerow(li)}Wi+=this.renderer.table(gi,ki);continue;case"blockquote":ki=this.parse(Ri.tokens),Wi+=this.renderer.blockquote(ki);continue;case"list":for($i=Ri.ordered,Hi=Ri.start,yi=Ri.loose,st=Ri.items.length,ki="",ut=0;ut<st;ut++)si=(Et=Ri.items[ut]).checked,Si=Et.task,kt="",Et.task&&(Pi=this.renderer.checkbox(si),yi?Et.tokens.length>0&&Et.tokens[0].type==="text"?(Et.tokens[0].text=Pi+" "+Et.tokens[0].text,Et.tokens[0].tokens&&Et.tokens[0].tokens.length>0&&Et.tokens[0].tokens[0].type==="text"&&(Et.tokens[0].tokens[0].text=Pi+" "+Et.tokens[0].tokens[0].text)):Et.tokens.unshift({type:"text",text:Pi}):kt+=Pi),kt+=this.parse(Et.tokens,yi),ki+=this.renderer.listitem(kt,Si,si);Wi+=this.renderer.list(ki,$i,Hi);continue;case"html":Wi+=this.renderer.html(Ri.text);continue;case"paragraph":Wi+=this.renderer.paragraph(this.parseInline(Ri.tokens));continue;case"text":for(ki=Ri.tokens?this.parseInline(Ri.tokens):Ri.text;Ue+1<xn&&Rt[Ue+1].type==="text";)ki+=` +`+((Ri=Rt[++Ue]).tokens?this.parseInline(Ri.tokens):Ri.text);Wi+=vt?this.renderer.paragraph(ki):ki;continue;default:var un='Token with "'+Ri.type+'" type was not found.';if(this.options.silent)return void console.error(un);throw new Error(un)}return Wi},vi.parseInline=function(Rt,vt){vt=vt||this.renderer;var Ue,ut,ze="",st=Rt.length;for(Ue=0;Ue<st;Ue++)switch((ut=Rt[Ue]).type){case"escape":ze+=vt.text(ut.text);break;case"html":ze+=vt.html(ut.text);break;case"link":ze+=vt.link(ut.href,ut.title,this.parseInline(ut.tokens,vt));break;case"image":ze+=vt.image(ut.href,ut.title,ut.text);break;case"strong":ze+=vt.strong(this.parseInline(ut.tokens,vt));break;case"em":ze+=vt.em(this.parseInline(ut.tokens,vt));break;case"codespan":ze+=vt.codespan(ut.text);break;case"br":ze+=vt.br();break;case"del":ze+=vt.del(this.parseInline(ut.tokens,vt));break;case"text":ze+=vt.text(ut.text);break;default:var _t='Token with "'+ut.type+'" type was not found.';if(this.options.silent)return void console.error(_t);throw new Error(_t)}return ze},gt}(),Li=xe,Ii=he,Ai=U,Zi=H.getDefaults,Bi=H.changeDefaults,Lt=H.defaults;function Di(gt,vi,Rt){if(gt==null)throw new Error("marked(): input parameter is undefined or null");if(typeof gt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(gt)+", string expected");if(typeof vi=="function"&&(Rt=vi,vi=null),vi=Li({},Di.defaults,vi||{}),Ii(vi),Rt){var vt,Ue=vi.highlight;try{vt=pt.lex(gt,vi)}catch(_t){return Rt(_t)}var ut=function(_t){var oi;if(!_t)try{oi=Wt.parse(vt,vi)}catch(li){_t=li}return vi.highlight=Ue,_t?Rt(_t):Rt(null,oi)};if(!Ue||Ue.length<3||(delete vi.highlight,!vt.length))return ut();var ze=0;return Di.walkTokens(vt,function(_t){_t.type==="code"&&(ze++,setTimeout(function(){Ue(_t.text,_t.lang,function(oi,li){if(oi)return ut(oi);li!=null&&li!==_t.text&&(_t.text=li,_t.escaped=!0),--ze==0&&ut()})},0))}),void(ze===0&&ut())}try{var st=pt.lex(gt,vi);return vi.walkTokens&&Di.walkTokens(st,vi.walkTokens),Wt.parse(st,vi)}catch(_t){if(_t.message+=` +Please report this to https://github.com/markedjs/marked.`,vi.silent)return"<p>An error occurred:</p><pre>"+Ai(_t.message+"",!0)+"</pre>";throw _t}}return Di.options=Di.setOptions=function(gt){return Li(Di.defaults,gt),Bi(Di.defaults),Di},Di.getDefaults=Zi,Di.defaults=Lt,Di.use=function(gt){var vi=Li({},gt);if(gt.renderer&&function(){var vt=Di.defaults.renderer||new _i,Ue=function(ze){var st=vt[ze];vt[ze]=function(){for(var _t=arguments.length,oi=new Array(_t),li=0;li<_t;li++)oi[li]=arguments[li];var gi=gt.renderer[ze].apply(vt,oi);return gi===!1&&(gi=st.apply(vt,oi)),gi}};for(var ut in gt.renderer)Ue(ut);vi.renderer=vt}(),gt.tokenizer&&function(){var vt=Di.defaults.tokenizer||new ht,Ue=function(ze){var st=vt[ze];vt[ze]=function(){for(var _t=arguments.length,oi=new Array(_t),li=0;li<_t;li++)oi[li]=arguments[li];var gi=gt.tokenizer[ze].apply(vt,oi);return gi===!1&&(gi=st.apply(vt,oi)),gi}};for(var ut in gt.tokenizer)Ue(ut);vi.tokenizer=vt}(),gt.walkTokens){var Rt=Di.defaults.walkTokens;vi.walkTokens=function(vt){gt.walkTokens(vt),Rt&&Rt(vt)}}Di.setOptions(vi)},Di.walkTokens=function(gt,vi){for(var Rt,vt=D(gt);!(Rt=vt()).done;){var Ue=Rt.value;switch(vi(Ue),Ue.type){case"table":for(var ut,ze=D(Ue.tokens.header);!(ut=ze()).done;){var st=ut.value;Di.walkTokens(st,vi)}for(var _t,oi=D(Ue.tokens.cells);!(_t=oi()).done;)for(var li,gi=D(_t.value);!(li=gi()).done;){var ki=li.value;Di.walkTokens(ki,vi)}break;case"list":Di.walkTokens(Ue.items,vi);break;default:Ue.tokens&&Di.walkTokens(Ue.tokens,vi)}}},Di.Parser=Wt,Di.parser=Wt.parse,Di.Renderer=_i,Di.TextRenderer=wt,Di.Lexer=pt,Di.lexer=pt.lex,Di.Tokenizer=ht,Di.Slugger=Ni,Di.parse=Di,Di}()},function(Ie,w,o){var h=o(32),f=o(250);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){var h=o(32),f=o(263);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){var h=o(32),f=o(297);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){var h=o(32),f=o(304);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){var h=o(32),f=o(201);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1369,7 +1368,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A outline-offset: -1px; opacity: 1 !important; }*/ -`,""]),Ga.exports=t},function(Ga,t,f){"use strict";(function(l){var q=f(203),y=f(204),F=f(205);function P(){return R.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Y(S,aa){if(P()<aa)throw new RangeError("Invalid typed array length");return R.TYPED_ARRAY_SUPPORT?(S=new Uint8Array(aa)).__proto__=R.prototype:(null===S&&(S=new R(aa)),S.length=aa),S}function R(S,aa,_){if(!(R.TYPED_ARRAY_SUPPORT||this instanceof R))return new R(S,aa,_);if("number"==typeof S){if("string"==typeof aa)throw new Error("If encoding is specified then the first argument must be a string");return z(this,S)}return L(this,S,aa,_)}function L(S,aa,_,I){if("number"==typeof aa)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&aa instanceof ArrayBuffer?function(ka,va,La,$a){if(va.byteLength,La<0||va.byteLength<La)throw new RangeError("'offset' is out of bounds");if(va.byteLength<La+($a||0))throw new RangeError("'length' is out of bounds");return va=void 0===La&&void 0===$a?new Uint8Array(va):void 0===$a?new Uint8Array(va,La):new Uint8Array(va,La,$a),R.TYPED_ARRAY_SUPPORT?(ka=va).__proto__=R.prototype:ka=D(ka,va),ka}(S,aa,_,I):"string"==typeof aa?function(ka,va,La){"string"==typeof La&&""!==La||(La="utf8");if(!R.isEncoding(La))throw new TypeError('"encoding" must be a valid string encoding');var $a=0|B(va,La),Ab=(ka=Y(ka,$a)).write(va,La);return Ab!==$a&&(ka=ka.slice(0,Ab)),ka}(S,aa,_):function(ka,va){if(R.isBuffer(va)){var La=0|Q(va.length);return 0===(ka=Y(ka,La)).length||va.copy(ka,0,0,La),ka}if(va){if("undefined"!=typeof ArrayBuffer&&va.buffer instanceof ArrayBuffer||"length"in va)return"number"!=typeof va.length||($a=va.length)!=$a?Y(ka,0):D(ka,va);if("Buffer"===va.type&&F(va.data))return D(ka,va.data)}var $a;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(S,aa)}function s(S){if("number"!=typeof S)throw new TypeError('"size" argument must be a number');if(S<0)throw new RangeError('"size" argument must not be negative')}function z(S,aa){if(s(aa),S=Y(S,aa<0?0:0|Q(aa)),!R.TYPED_ARRAY_SUPPORT)for(var _=0;_<aa;++_)S[_]=0;return S}function D(S,aa){var _=aa.length<0?0:0|Q(aa.length);S=Y(S,_);for(var I=0;I<_;I+=1)S[I]=255&aa[I];return S}function Q(S){if(S>=P())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P().toString(16)+" bytes");return 0|S}function B(S,aa){if(R.isBuffer(S))return S.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(S)||S instanceof ArrayBuffer))return S.byteLength;"string"!=typeof S&&(S=""+S);var _=S.length;if(0===_)return 0;for(var I=!1;;)switch(aa){case"ascii":case"latin1":case"binary":return _;case"utf8":case"utf-8":case void 0:return ua(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*_;case"hex":return _>>>1;case"base64":return ba(S).length;default:if(I)return ua(S).length;aa=(""+aa).toLowerCase(),I=!0}}function C(S,aa,_){var I=!1;if((void 0===aa||aa<0)&&(aa=0),aa>this.length)return"";if((void 0===_||_>this.length)&&(_=this.length),_<=0)return"";if((_>>>=0)<=(aa>>>=0))return"";for(S||(S="utf8");;)switch(S){case"hex":return N(this,aa,_);case"utf8":case"utf-8":return oa(this,aa,_);case"ascii":return ga(this,aa,_);case"latin1":case"binary":return Ba(this,aa,_);case"base64":return ea(this,aa,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,aa,_);default:if(I)throw new TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),I=!0}}function k(S,aa,_){var I=S[aa];S[aa]=S[_],S[_]=I}function w(S,aa,_,I,ka){if(0===S.length)return-1;if("string"==typeof _?(I=_,_=0):_>2147483647?_=2147483647:_<-2147483648&&(_=-2147483648),_=+_,isNaN(_)&&(_=ka?0:S.length-1),_<0&&(_=S.length+_),_>=S.length){if(ka)return-1;_=S.length-1}else if(_<0){if(!ka)return-1;_=0}if("string"==typeof aa&&(aa=R.from(aa,I)),R.isBuffer(aa))return 0===aa.length?-1:x(S,aa,_,I,ka);if("number"==typeof aa)return aa&=255,R.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?ka?Uint8Array.prototype.indexOf.call(S,aa,_):Uint8Array.prototype.lastIndexOf.call(S,aa,_):x(S,[aa],_,I,ka);throw new TypeError("val must be string, number or Buffer")}function x(S,aa,_,I,ka){var va,La=1,$a=S.length,Ab=aa.length;if(void 0!==I&&("ucs2"===(I=String(I).toLowerCase())||"ucs-2"===I||"utf16le"===I||"utf-16le"===I)){if(S.length<2||aa.length<2)return-1;La=2,$a/=2,Ab/=2,_/=2}function gb(rb,wc){return 1===La?rb[wc]:rb.readUInt16BE(wc*La)}if(ka){var Fb=-1;for(va=_;va<$a;va++)if(gb(S,va)===gb(aa,-1===Fb?0:va-Fb)){if(-1===Fb&&(Fb=va),va-Fb+1===Ab)return Fb*La}else-1!==Fb&&(va-=va-Fb),Fb=-1}else for(_+Ab>$a&&(_=$a-Ab),va=_;va>=0;va--){for(var wb=!0,tc=0;tc<Ab;tc++)if(gb(S,va+tc)!==gb(aa,tc)){wb=!1;break}if(wb)return va}return-1}function u(S,aa,_,I){_=Number(_)||0;var ka=S.length-_;I?(I=Number(I))>ka&&(I=ka):I=ka;var va=aa.length;if(va%2!=0)throw new TypeError("Invalid hex string");I>va/2&&(I=va/2);for(var La=0;La<I;++La){var $a=parseInt(aa.substr(2*La,2),16);if(isNaN($a))return La;S[_+La]=$a}return La}function A(S,aa,_,I){return $(ua(aa,S.length-_),S,_,I)}function U(S,aa,_,I){return $(function(ka){for(var va=[],La=0;La<ka.length;++La)va.push(255&ka.charCodeAt(La));return va}(aa),S,_,I)}function da(S,aa,_,I){return U(S,aa,_,I)}function Z(S,aa,_,I){return $(ba(aa),S,_,I)}function H(S,aa,_,I){return $(function(ka,va){for(var La,$a,Ab,gb=[],Fb=0;Fb<ka.length&&!((va-=2)<0);++Fb)La=ka.charCodeAt(Fb),$a=La>>8,Ab=La%256,gb.push(Ab),gb.push($a);return gb}(aa,S.length-_),S,_,I)}function ea(S,aa,_){return 0===aa&&_===S.length?q.fromByteArray(S):q.fromByteArray(S.slice(aa,_))}function oa(S,aa,_){_=Math.min(S.length,_);for(var I=[],ka=aa;ka<_;){var va,La,$a,Ab,gb=S[ka],Fb=null,wb=gb>239?4:gb>223?3:gb>191?2:1;if(ka+wb<=_)switch(wb){case 1:gb<128&&(Fb=gb);break;case 2:128==(192&(va=S[ka+1]))&&(Ab=(31&gb)<<6|63&va)>127&&(Fb=Ab);break;case 3:va=S[ka+1],La=S[ka+2],128==(192&va)&&128==(192&La)&&(Ab=(15&gb)<<12|(63&va)<<6|63&La)>2047&&(Ab<55296||Ab>57343)&&(Fb=Ab);break;case 4:va=S[ka+1],La=S[ka+2],$a=S[ka+3],128==(192&va)&&128==(192&La)&&128==(192&$a)&&(Ab=(15&gb)<<18|(63&va)<<12|(63&La)<<6|63&$a)>65535&&Ab<1114112&&(Fb=Ab)}null===Fb?(Fb=65533,wb=1):Fb>65535&&(Fb-=65536,I.push(Fb>>>10&1023|55296),Fb=56320|1023&Fb),I.push(Fb),ka+=wb}return function(tc){var rb=tc.length;if(rb<=4096)return String.fromCharCode.apply(String,tc);for(var wc="",vc=0;vc<rb;)wc+=String.fromCharCode.apply(String,tc.slice(vc,vc+=4096));return wc}(I)}t.Buffer=R,t.SlowBuffer=function(S){return+S!=S&&(S=0),R.alloc(+S)},t.INSPECT_MAX_BYTES=50,R.TYPED_ARRAY_SUPPORT=void 0!==l.TYPED_ARRAY_SUPPORT?l.TYPED_ARRAY_SUPPORT:function(){try{var S=new Uint8Array(1);return S.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===S.foo()&&"function"==typeof S.subarray&&0===S.subarray(1,1).byteLength}catch(aa){return!1}}(),t.kMaxLength=P(),R.poolSize=8192,R._augment=function(S){return S.__proto__=R.prototype,S},R.from=function(S,aa,_){return L(null,S,aa,_)},R.TYPED_ARRAY_SUPPORT&&(R.prototype.__proto__=Uint8Array.prototype,R.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&R[Symbol.species]===R&&Object.defineProperty(R,Symbol.species,{value:null,configurable:!0})),R.alloc=function(S,aa,_){return function(I,ka,va,La){return s(ka),ka<=0?Y(I,ka):void 0!==va?"string"==typeof La?Y(I,ka).fill(va,La):Y(I,ka).fill(va):Y(I,ka)}(null,S,aa,_)},R.allocUnsafe=function(S){return z(null,S)},R.allocUnsafeSlow=function(S){return z(null,S)},R.isBuffer=function(S){return!(null==S||!S._isBuffer)},R.compare=function(S,aa){if(!R.isBuffer(S)||!R.isBuffer(aa))throw new TypeError("Arguments must be Buffers");if(S===aa)return 0;for(var _=S.length,I=aa.length,ka=0,va=Math.min(_,I);ka<va;++ka)if(S[ka]!==aa[ka]){_=S[ka],I=aa[ka];break}return _<I?-1:I<_?1:0},R.isEncoding=function(S){switch(String(S).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}},R.concat=function(S,aa){if(!F(S))throw new TypeError('"list" argument must be an Array of Buffers');if(0===S.length)return R.alloc(0);var _;if(void 0===aa)for(aa=0,_=0;_<S.length;++_)aa+=S[_].length;var I=R.allocUnsafe(aa),ka=0;for(_=0;_<S.length;++_){var va=S[_];if(!R.isBuffer(va))throw new TypeError('"list" argument must be an Array of Buffers');va.copy(I,ka),ka+=va.length}return I},R.byteLength=B,R.prototype._isBuffer=!0,R.prototype.swap16=function(){var S=this.length;if(S%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var aa=0;aa<S;aa+=2)k(this,aa,aa+1);return this},R.prototype.swap32=function(){var S=this.length;if(S%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var aa=0;aa<S;aa+=4)k(this,aa,aa+3),k(this,aa+1,aa+2);return this},R.prototype.swap64=function(){var S=this.length;if(S%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var aa=0;aa<S;aa+=8)k(this,aa,aa+7),k(this,aa+1,aa+6),k(this,aa+2,aa+5),k(this,aa+3,aa+4);return this},R.prototype.toString=function(){var S=0|this.length;return 0===S?"":0===arguments.length?oa(this,0,S):C.apply(this,arguments)},R.prototype.equals=function(S){if(!R.isBuffer(S))throw new TypeError("Argument must be a Buffer");return this===S||0===R.compare(this,S)},R.prototype.inspect=function(){var S="",aa=t.INSPECT_MAX_BYTES;return this.length>0&&(S=this.toString("hex",0,aa).match(/.{2}/g).join(" "),this.length>aa&&(S+=" ... ")),"<Buffer "+S+">"},R.prototype.compare=function(S,aa,_,I,ka){if(!R.isBuffer(S))throw new TypeError("Argument must be a Buffer");if(void 0===aa&&(aa=0),void 0===_&&(_=S?S.length:0),void 0===I&&(I=0),void 0===ka&&(ka=this.length),aa<0||_>S.length||I<0||ka>this.length)throw new RangeError("out of range index");if(I>=ka&&aa>=_)return 0;if(I>=ka)return-1;if(aa>=_)return 1;if(this===S)return 0;for(var va=(ka>>>=0)-(I>>>=0),La=(_>>>=0)-(aa>>>=0),$a=Math.min(va,La),Ab=this.slice(I,ka),gb=S.slice(aa,_),Fb=0;Fb<$a;++Fb)if(Ab[Fb]!==gb[Fb]){va=Ab[Fb],La=gb[Fb];break}return va<La?-1:La<va?1:0},R.prototype.includes=function(S,aa,_){return-1!==this.indexOf(S,aa,_)},R.prototype.indexOf=function(S,aa,_){return w(this,S,aa,_,!0)},R.prototype.lastIndexOf=function(S,aa,_){return w(this,S,aa,_,!1)},R.prototype.write=function(S,aa,_,I){if(void 0===aa)I="utf8",_=this.length,aa=0;else if(void 0===_&&"string"==typeof aa)I=aa,_=this.length,aa=0;else{if(!isFinite(aa))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");aa|=0,isFinite(_)?(_|=0,void 0===I&&(I="utf8")):(I=_,_=void 0)}var ka=this.length-aa;if((void 0===_||_>ka)&&(_=ka),S.length>0&&(_<0||aa<0)||aa>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");for(var va=!1;;)switch(I){case"hex":return u(this,S,aa,_);case"utf8":case"utf-8":return A(this,S,aa,_);case"ascii":return U(this,S,aa,_);case"latin1":case"binary":return da(this,S,aa,_);case"base64":return Z(this,S,aa,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,S,aa,_);default:if(va)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),va=!0}},R.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ga(S,aa,_){var I="";_=Math.min(S.length,_);for(var ka=aa;ka<_;++ka)I+=String.fromCharCode(127&S[ka]);return I}function Ba(S,aa,_){var I="";_=Math.min(S.length,_);for(var ka=aa;ka<_;++ka)I+=String.fromCharCode(S[ka]);return I}function N(S,aa,_){var I=S.length;(!aa||aa<0)&&(aa=0),(!_||_<0||_>I)&&(_=I);for(var ka="",va=aa;va<_;++va)ka+=za(S[va]);return ka}function V(S,aa,_){for(var I=S.slice(aa,_),ka="",va=0;va<I.length;va+=2)ka+=String.fromCharCode(I[va]+256*I[va+1]);return ka}function ma(S,aa,_){if(S%1!=0||S<0)throw new RangeError("offset is not uint");if(S+aa>_)throw new RangeError("Trying to access beyond buffer length")}function ta(S,aa,_,I,ka,va){if(!R.isBuffer(S))throw new TypeError('"buffer" argument must be a Buffer instance');if(aa>ka||aa<va)throw new RangeError('"value" argument is out of bounds');if(_+I>S.length)throw new RangeError("Index out of range")}function Da(S,aa,_,I){aa<0&&(aa=65535+aa+1);for(var ka=0,va=Math.min(S.length-_,2);ka<va;++ka)S[_+ka]=(aa&255<<8*(I?ka:1-ka))>>>8*(I?ka:1-ka)}function Ka(S,aa,_,I){aa<0&&(aa=4294967295+aa+1);for(var ka=0,va=Math.min(S.length-_,4);ka<va;++ka)S[_+ka]=aa>>>8*(I?ka:3-ka)&255}function G(S,aa,_,I,ka,va){if(_+I>S.length)throw new RangeError("Index out of range");if(_<0)throw new RangeError("Index out of range")}function hb(S,aa,_,I,ka){return ka||G(S,0,_,4),y.write(S,aa,_,I,23,4),_+4}function _a(S,aa,_,I,ka){return ka||G(S,0,_,8),y.write(S,aa,_,I,52,8),_+8}R.prototype.slice=function(S,aa){var _,I=this.length;if((S=~~S)<0?(S+=I)<0&&(S=0):S>I&&(S=I),(aa=void 0===aa?I:~~aa)<0?(aa+=I)<0&&(aa=0):aa>I&&(aa=I),aa<S&&(aa=S),R.TYPED_ARRAY_SUPPORT)(_=this.subarray(S,aa)).__proto__=R.prototype;else{var ka=aa-S;_=new R(ka,void 0);for(var va=0;va<ka;++va)_[va]=this[va+S]}return _},R.prototype.readUIntLE=function(S,aa,_){S|=0,aa|=0,_||ma(S,aa,this.length);for(var I=this[S],ka=1,va=0;++va<aa&&(ka*=256);)I+=this[S+va]*ka;return I},R.prototype.readUIntBE=function(S,aa,_){S|=0,aa|=0,_||ma(S,aa,this.length);for(var I=this[S+--aa],ka=1;aa>0&&(ka*=256);)I+=this[S+--aa]*ka;return I},R.prototype.readUInt8=function(S,aa){return aa||ma(S,1,this.length),this[S]},R.prototype.readUInt16LE=function(S,aa){return aa||ma(S,2,this.length),this[S]|this[S+1]<<8},R.prototype.readUInt16BE=function(S,aa){return aa||ma(S,2,this.length),this[S]<<8|this[S+1]},R.prototype.readUInt32LE=function(S,aa){return aa||ma(S,4,this.length),(this[S]|this[S+1]<<8|this[S+2]<<16)+16777216*this[S+3]},R.prototype.readUInt32BE=function(S,aa){return aa||ma(S,4,this.length),16777216*this[S]+(this[S+1]<<16|this[S+2]<<8|this[S+3])},R.prototype.readIntLE=function(S,aa,_){S|=0,aa|=0,_||ma(S,aa,this.length);for(var I=this[S],ka=1,va=0;++va<aa&&(ka*=256);)I+=this[S+va]*ka;return I>=(ka*=128)&&(I-=Math.pow(2,8*aa)),I},R.prototype.readIntBE=function(S,aa,_){S|=0,aa|=0,_||ma(S,aa,this.length);for(var I=aa,ka=1,va=this[S+--I];I>0&&(ka*=256);)va+=this[S+--I]*ka;return va>=(ka*=128)&&(va-=Math.pow(2,8*aa)),va},R.prototype.readInt8=function(S,aa){return aa||ma(S,1,this.length),128&this[S]?-1*(255-this[S]+1):this[S]},R.prototype.readInt16LE=function(S,aa){aa||ma(S,2,this.length);var _=this[S]|this[S+1]<<8;return 32768&_?4294901760|_:_},R.prototype.readInt16BE=function(S,aa){aa||ma(S,2,this.length);var _=this[S+1]|this[S]<<8;return 32768&_?4294901760|_:_},R.prototype.readInt32LE=function(S,aa){return aa||ma(S,4,this.length),this[S]|this[S+1]<<8|this[S+2]<<16|this[S+3]<<24},R.prototype.readInt32BE=function(S,aa){return aa||ma(S,4,this.length),this[S]<<24|this[S+1]<<16|this[S+2]<<8|this[S+3]},R.prototype.readFloatLE=function(S,aa){return aa||ma(S,4,this.length),y.read(this,S,!0,23,4)},R.prototype.readFloatBE=function(S,aa){return aa||ma(S,4,this.length),y.read(this,S,!1,23,4)},R.prototype.readDoubleLE=function(S,aa){return aa||ma(S,8,this.length),y.read(this,S,!0,52,8)},R.prototype.readDoubleBE=function(S,aa){return aa||ma(S,8,this.length),y.read(this,S,!1,52,8)},R.prototype.writeUIntLE=function(S,aa,_,I){(S=+S,aa|=0,_|=0,I)||ta(this,S,aa,_,Math.pow(2,8*_)-1,0);var ka=1,va=0;for(this[aa]=255&S;++va<_&&(ka*=256);)this[aa+va]=S/ka&255;return aa+_},R.prototype.writeUIntBE=function(S,aa,_,I){(S=+S,aa|=0,_|=0,I)||ta(this,S,aa,_,Math.pow(2,8*_)-1,0);var ka=_-1,va=1;for(this[aa+ka]=255&S;--ka>=0&&(va*=256);)this[aa+ka]=S/va&255;return aa+_},R.prototype.writeUInt8=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,1,255,0),R.TYPED_ARRAY_SUPPORT||(S=Math.floor(S)),this[aa]=255&S,aa+1},R.prototype.writeUInt16LE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,2,65535,0),R.TYPED_ARRAY_SUPPORT?(this[aa]=255&S,this[aa+1]=S>>>8):Da(this,S,aa,!0),aa+2},R.prototype.writeUInt16BE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,2,65535,0),R.TYPED_ARRAY_SUPPORT?(this[aa]=S>>>8,this[aa+1]=255&S):Da(this,S,aa,!1),aa+2},R.prototype.writeUInt32LE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[aa+3]=S>>>24,this[aa+2]=S>>>16,this[aa+1]=S>>>8,this[aa]=255&S):Ka(this,S,aa,!0),aa+4},R.prototype.writeUInt32BE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,4,4294967295,0),R.TYPED_ARRAY_SUPPORT?(this[aa]=S>>>24,this[aa+1]=S>>>16,this[aa+2]=S>>>8,this[aa+3]=255&S):Ka(this,S,aa,!1),aa+4},R.prototype.writeIntLE=function(S,aa,_,I){if(S=+S,aa|=0,!I){var ka=Math.pow(2,8*_-1);ta(this,S,aa,_,ka-1,-ka)}var va=0,La=1,$a=0;for(this[aa]=255&S;++va<_&&(La*=256);)S<0&&0===$a&&0!==this[aa+va-1]&&($a=1),this[aa+va]=(S/La>>0)-$a&255;return aa+_},R.prototype.writeIntBE=function(S,aa,_,I){if(S=+S,aa|=0,!I){var ka=Math.pow(2,8*_-1);ta(this,S,aa,_,ka-1,-ka)}var va=_-1,La=1,$a=0;for(this[aa+va]=255&S;--va>=0&&(La*=256);)S<0&&0===$a&&0!==this[aa+va+1]&&($a=1),this[aa+va]=(S/La>>0)-$a&255;return aa+_},R.prototype.writeInt8=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,1,127,-128),R.TYPED_ARRAY_SUPPORT||(S=Math.floor(S)),S<0&&(S=255+S+1),this[aa]=255&S,aa+1},R.prototype.writeInt16LE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[aa]=255&S,this[aa+1]=S>>>8):Da(this,S,aa,!0),aa+2},R.prototype.writeInt16BE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,2,32767,-32768),R.TYPED_ARRAY_SUPPORT?(this[aa]=S>>>8,this[aa+1]=255&S):Da(this,S,aa,!1),aa+2},R.prototype.writeInt32LE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,4,2147483647,-2147483648),R.TYPED_ARRAY_SUPPORT?(this[aa]=255&S,this[aa+1]=S>>>8,this[aa+2]=S>>>16,this[aa+3]=S>>>24):Ka(this,S,aa,!0),aa+4},R.prototype.writeInt32BE=function(S,aa,_){return S=+S,aa|=0,_||ta(this,S,aa,4,2147483647,-2147483648),S<0&&(S=4294967295+S+1),R.TYPED_ARRAY_SUPPORT?(this[aa]=S>>>24,this[aa+1]=S>>>16,this[aa+2]=S>>>8,this[aa+3]=255&S):Ka(this,S,aa,!1),aa+4},R.prototype.writeFloatLE=function(S,aa,_){return hb(this,S,aa,!0,_)},R.prototype.writeFloatBE=function(S,aa,_){return hb(this,S,aa,!1,_)},R.prototype.writeDoubleLE=function(S,aa,_){return _a(this,S,aa,!0,_)},R.prototype.writeDoubleBE=function(S,aa,_){return _a(this,S,aa,!1,_)},R.prototype.copy=function(S,aa,_,I){if(_||(_=0),I||0===I||(I=this.length),aa>=S.length&&(aa=S.length),aa||(aa=0),I>0&&I<_&&(I=_),I===_)return 0;if(0===S.length||0===this.length)return 0;if(aa<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("sourceStart out of bounds");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),S.length-aa<I-_&&(I=S.length-aa+_);var ka,va=I-_;if(this===S&&_<aa&&aa<I)for(ka=va-1;ka>=0;--ka)S[ka+aa]=this[ka+_];else if(va<1e3||!R.TYPED_ARRAY_SUPPORT)for(ka=0;ka<va;++ka)S[ka+aa]=this[ka+_];else Uint8Array.prototype.set.call(S,this.subarray(_,_+va),aa);return va},R.prototype.fill=function(S,aa,_,I){if("string"==typeof S){if("string"==typeof aa?(I=aa,aa=0,_=this.length):"string"==typeof _&&(I=_,_=this.length),1===S.length){var ka=S.charCodeAt(0);ka<256&&(S=ka)}if(void 0!==I&&"string"!=typeof I)throw new TypeError("encoding must be a string");if("string"==typeof I&&!R.isEncoding(I))throw new TypeError("Unknown encoding: "+I)}else"number"==typeof S&&(S&=255);if(aa<0||this.length<aa||this.length<_)throw new RangeError("Out of range index");if(_<=aa)return this;var va;if(aa>>>=0,_=void 0===_?this.length:_>>>0,S||(S=0),"number"==typeof S)for(va=aa;va<_;++va)this[va]=S;else{var La=R.isBuffer(S)?S:ua(new R(S,I).toString()),$a=La.length;for(va=0;va<_-aa;++va)this[va+aa]=La[va%$a]}return this};var fb=/[^+\/0-9A-Za-z-_]/g;function za(S){return S<16?"0"+S.toString(16):S.toString(16)}function ua(S,aa){var _;aa=aa||1/0;for(var I=S.length,ka=null,va=[],La=0;La<I;++La){if((_=S.charCodeAt(La))>55295&&_<57344){if(!ka){if(_>56319){(aa-=3)>-1&&va.push(239,191,189);continue}if(La+1===I){(aa-=3)>-1&&va.push(239,191,189);continue}ka=_;continue}if(_<56320){(aa-=3)>-1&&va.push(239,191,189),ka=_;continue}_=65536+(ka-55296<<10|_-56320)}else ka&&(aa-=3)>-1&&va.push(239,191,189);if(ka=null,_<128){if((aa-=1)<0)break;va.push(_)}else if(_<2048){if((aa-=2)<0)break;va.push(_>>6|192,63&_|128)}else if(_<65536){if((aa-=3)<0)break;va.push(_>>12|224,_>>6&63|128,63&_|128)}else{if(!(_<1114112))throw new Error("Invalid code point");if((aa-=4)<0)break;va.push(_>>18|240,_>>12&63|128,_>>6&63|128,63&_|128)}}return va}function ba(S){return q.toByteArray(function(aa){if((aa=function(_){return _.trim?_.trim():_.replace(/^\s+|\s+$/g,"")}(aa).replace(fb,"")).length<2)return"";for(;aa.length%4!=0;)aa+="=";return aa}(S))}function $(S,aa,_,I){for(var ka=0;ka<I&&!(ka+_>=aa.length||ka>=S.length);++ka)aa[ka+_]=S[ka];return ka}}).call(this,f(137))},function(Ga,t,f){"use strict";t.byteLength=function(s){var z=R(s),D=z[0],Q=z[1];return 3*(D+Q)/4-Q},t.toByteArray=function(s){var z,D,Q=R(s),B=Q[0],C=Q[1],k=new y(function(u,A,U){return 3*(A+U)/4-U}(0,B,C)),w=0,x=C>0?B-4:B;for(D=0;D<x;D+=4)z=q[s.charCodeAt(D)]<<18|q[s.charCodeAt(D+1)]<<12|q[s.charCodeAt(D+2)]<<6|q[s.charCodeAt(D+3)],k[w++]=z>>16&255,k[w++]=z>>8&255,k[w++]=255&z;return 2===C&&(z=q[s.charCodeAt(D)]<<2|q[s.charCodeAt(D+1)]>>4,k[w++]=255&z),1===C&&(z=q[s.charCodeAt(D)]<<10|q[s.charCodeAt(D+1)]<<4|q[s.charCodeAt(D+2)]>>2,k[w++]=z>>8&255,k[w++]=255&z),k},t.fromByteArray=function(s){for(var z,D=s.length,Q=D%3,B=[],C=0,k=D-Q;C<k;C+=16383)B.push(L(s,C,C+16383>k?k:C+16383));return 1===Q?(z=s[D-1],B.push(l[z>>2]+l[z<<4&63]+"==")):2===Q&&(z=(s[D-2]<<8)+s[D-1],B.push(l[z>>10]+l[z>>4&63]+l[z<<2&63]+"=")),B.join("")};for(var l=[],q=[],y="undefined"!=typeof Uint8Array?Uint8Array:Array,F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=0,Y=F.length;P<Y;++P)l[P]=F[P],q[F.charCodeAt(P)]=P;function R(s){var z=s.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var D=s.indexOf("=");return-1===D&&(D=z),[D,D===z?0:4-D%4]}function L(s,z,D){for(var Q,B,C=[],k=z;k<D;k+=3)Q=(s[k]<<16&16711680)+(s[k+1]<<8&65280)+(255&s[k+2]),C.push(l[(B=Q)>>18&63]+l[B>>12&63]+l[B>>6&63]+l[63&B]);return C.join("")}q["-".charCodeAt(0)]=62,q["_".charCodeAt(0)]=63},function(Ga,t){t.read=function(f,l,q,y,F){var P,Y,R=8*F-y-1,L=(1<<R)-1,s=L>>1,z=-7,D=q?F-1:0,Q=q?-1:1,B=f[l+D];for(D+=Q,P=B&(1<<-z)-1,B>>=-z,z+=R;z>0;P=256*P+f[l+D],D+=Q,z-=8);for(Y=P&(1<<-z)-1,P>>=-z,z+=y;z>0;Y=256*Y+f[l+D],D+=Q,z-=8);if(0===P)P=1-s;else{if(P===L)return Y?NaN:1/0*(B?-1:1);Y+=Math.pow(2,y),P-=s}return(B?-1:1)*Y*Math.pow(2,P-y)},t.write=function(f,l,q,y,F,P){var Y,R,L,s=8*P-F-1,z=(1<<s)-1,D=z>>1,Q=23===F?Math.pow(2,-24)-Math.pow(2,-77):0,B=y?0:P-1,C=y?1:-1,k=l<0||0===l&&1/l<0?1:0;for(l=Math.abs(l),isNaN(l)||l===1/0?(R=isNaN(l)?1:0,Y=z):(Y=Math.floor(Math.log(l)/Math.LN2),l*(L=Math.pow(2,-Y))<1&&(Y--,L*=2),(l+=Y+D>=1?Q/L:Q*Math.pow(2,1-D))*L>=2&&(Y++,L/=2),Y+D>=z?(R=0,Y=z):Y+D>=1?(R=(l*L-1)*Math.pow(2,F),Y+=D):(R=l*Math.pow(2,D-1)*Math.pow(2,F),Y=0));F>=8;f[q+B]=255&R,B+=C,R/=256,F-=8);for(Y=Y<<F|R,s+=F;s>0;f[q+B]=255&Y,B+=C,Y/=256,s-=8);f[q+B-C]|=128*k}},function(Ga,t){var f={}.toString;Ga.exports=Array.isArray||function(l){return"[object Array]"==f.call(l)}},function(Ga,t,f){var l=f(32),q=f(207);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){"use strict";(function(h){var f=o(203),D=o(204),H=o(205);function E(){return W.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ge(z,J){if(E()<J)throw new RangeError("Invalid typed array length");return W.TYPED_ARRAY_SUPPORT?(z=new Uint8Array(J)).__proto__=W.prototype:(z===null&&(z=new W(J)),z.length=J),z}function W(z,J,Se){if(!(W.TYPED_ARRAY_SUPPORT||this instanceof W))return new W(z,J,Se);if(typeof z=="number"){if(typeof J=="string")throw new Error("If encoding is specified then the first argument must be a string");return C(this,z)}return Q(this,z,J,Se)}function Q(z,J,Se,A){if(typeof J=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&J instanceof ArrayBuffer?function(ee,de,Oe,$e){if(de.byteLength,Oe<0||de.byteLength<Oe)throw new RangeError("'offset' is out of bounds");if(de.byteLength<Oe+($e||0))throw new RangeError("'length' is out of bounds");return de=Oe===void 0&&$e===void 0?new Uint8Array(de):$e===void 0?new Uint8Array(de,Oe):new Uint8Array(de,Oe,$e),W.TYPED_ARRAY_SUPPORT?(ee=de).__proto__=W.prototype:ee=S(ee,de),ee}(z,J,Se,A):typeof J=="string"?function(ee,de,Oe){if(typeof Oe=="string"&&Oe!==""||(Oe="utf8"),!W.isEncoding(Oe))throw new TypeError('"encoding" must be a valid string encoding');var $e=0|V(de,Oe),pt=(ee=ge(ee,$e)).write(de,Oe);return pt!==$e&&(ee=ee.slice(0,pt)),ee}(z,J,Se):function(ee,de){if(W.isBuffer(de)){var Oe=0|P(de.length);return(ee=ge(ee,Oe)).length===0||de.copy(ee,0,0,Oe),ee}if(de){if(typeof ArrayBuffer!="undefined"&&de.buffer instanceof ArrayBuffer||"length"in de)return typeof de.length!="number"||($e=de.length)!=$e?ge(ee,0):S(ee,de);if(de.type==="Buffer"&&H(de.data))return S(ee,de.data)}var $e;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(z,J)}function y(z){if(typeof z!="number")throw new TypeError('"size" argument must be a number');if(z<0)throw new RangeError('"size" argument must not be negative')}function C(z,J){if(y(J),z=ge(z,J<0?0:0|P(J)),!W.TYPED_ARRAY_SUPPORT)for(var Se=0;Se<J;++Se)z[Se]=0;return z}function S(z,J){var Se=J.length<0?0:0|P(J.length);z=ge(z,Se);for(var A=0;A<Se;A+=1)z[A]=255&J[A];return z}function P(z){if(z>=E())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+E().toString(16)+" bytes");return 0|z}function V(z,J){if(W.isBuffer(z))return z.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(z)||z instanceof ArrayBuffer))return z.byteLength;typeof z!="string"&&(z=""+z);var Se=z.length;if(Se===0)return 0;for(var A=!1;;)switch(J){case"ascii":case"latin1":case"binary":return Se;case"utf8":case"utf-8":case void 0:return fe(z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Se;case"hex":return Se>>>1;case"base64":return $(z).length;default:if(A)return fe(z).length;J=(""+J).toLowerCase(),A=!0}}function k(z,J,Se){var A=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((Se===void 0||Se>this.length)&&(Se=this.length),Se<=0)||(Se>>>=0)<=(J>>>=0))return"";for(z||(z="utf8");;)switch(z){case"hex":return Y(this,J,Se);case"utf8":case"utf-8":return se(this,J,Se);case"ascii":return ke(this,J,Se);case"latin1":case"binary":return xe(this,J,Se);case"base64":return B(this,J,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,J,Se);default:if(A)throw new TypeError("Unknown encoding: "+z);z=(z+"").toLowerCase(),A=!0}}function l(z,J,Se){var A=z[J];z[J]=z[Se],z[Se]=A}function T(z,J,Se,A,ee){if(z.length===0)return-1;if(typeof Se=="string"?(A=Se,Se=0):Se>2147483647?Se=2147483647:Se<-2147483648&&(Se=-2147483648),Se=+Se,isNaN(Se)&&(Se=ee?0:z.length-1),Se<0&&(Se=z.length+Se),Se>=z.length){if(ee)return-1;Se=z.length-1}else if(Se<0){if(!ee)return-1;Se=0}if(typeof J=="string"&&(J=W.from(J,A)),W.isBuffer(J))return J.length===0?-1:N(z,J,Se,A,ee);if(typeof J=="number")return J&=255,W.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ee?Uint8Array.prototype.indexOf.call(z,J,Se):Uint8Array.prototype.lastIndexOf.call(z,J,Se):N(z,[J],Se,A,ee);throw new TypeError("val must be string, number or Buffer")}function N(z,J,Se,A,ee){var de,Oe=1,$e=z.length,pt=J.length;if(A!==void 0&&((A=String(A).toLowerCase())==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(z.length<2||J.length<2)return-1;Oe=2,$e/=2,pt/=2,Se/=2}function it(wt,Ni){return Oe===1?wt[Ni]:wt.readUInt16BE(Ni*Oe)}if(ee){var At=-1;for(de=Se;de<$e;de++)if(it(z,de)===it(J,At===-1?0:de-At)){if(At===-1&&(At=de),de-At+1===pt)return At*Oe}else At!==-1&&(de-=de-At),At=-1}else for(Se+pt>$e&&(Se=$e-pt),de=Se;de>=0;de--){for(var Nt=!0,_i=0;_i<pt;_i++)if(it(z,de+_i)!==it(J,_i)){Nt=!1;break}if(Nt)return de}return-1}function b(z,J,Se,A){Se=Number(Se)||0;var ee=z.length-Se;A?(A=Number(A))>ee&&(A=ee):A=ee;var de=J.length;if(de%2!=0)throw new TypeError("Invalid hex string");A>de/2&&(A=de/2);for(var Oe=0;Oe<A;++Oe){var $e=parseInt(J.substr(2*Oe,2),16);if(isNaN($e))return Oe;z[Se+Oe]=$e}return Oe}function g(z,J,Se,A){return G(fe(J,z.length-Se),z,Se,A)}function j(z,J,Se,A){return G(function(ee){for(var de=[],Oe=0;Oe<ee.length;++Oe)de.push(255&ee.charCodeAt(Oe));return de}(J),z,Se,A)}function ie(z,J,Se,A){return j(z,J,Se,A)}function U(z,J,Se,A){return G($(J),z,Se,A)}function q(z,J,Se,A){return G(function(ee,de){for(var Oe,$e,pt,it=[],At=0;At<ee.length&&!((de-=2)<0);++At)Oe=ee.charCodeAt(At),$e=Oe>>8,pt=Oe%256,it.push(pt),it.push($e);return it}(J,z.length-Se),z,Se,A)}function B(z,J,Se){return J===0&&Se===z.length?f.fromByteArray(z):f.fromByteArray(z.slice(J,Se))}function se(z,J,Se){Se=Math.min(z.length,Se);for(var A=[],ee=J;ee<Se;){var de,Oe,$e,pt,it=z[ee],At=null,Nt=it>239?4:it>223?3:it>191?2:1;if(ee+Nt<=Se)switch(Nt){case 1:it<128&&(At=it);break;case 2:(192&(de=z[ee+1]))==128&&(pt=(31&it)<<6|63&de)>127&&(At=pt);break;case 3:de=z[ee+1],Oe=z[ee+2],(192&de)==128&&(192&Oe)==128&&(pt=(15&it)<<12|(63&de)<<6|63&Oe)>2047&&(pt<55296||pt>57343)&&(At=pt);break;case 4:de=z[ee+1],Oe=z[ee+2],$e=z[ee+3],(192&de)==128&&(192&Oe)==128&&(192&$e)==128&&(pt=(15&it)<<18|(63&de)<<12|(63&Oe)<<6|63&$e)>65535&&pt<1114112&&(At=pt)}At===null?(At=65533,Nt=1):At>65535&&(At-=65536,A.push(At>>>10&1023|55296),At=56320|1023&At),A.push(At),ee+=Nt}return function(_i){var wt=_i.length;if(wt<=4096)return String.fromCharCode.apply(String,_i);for(var Ni="",pi=0;pi<wt;)Ni+=String.fromCharCode.apply(String,_i.slice(pi,pi+=4096));return Ni}(A)}w.Buffer=W,w.SlowBuffer=function(z){return+z!=z&&(z=0),W.alloc(+z)},w.INSPECT_MAX_BYTES=50,W.TYPED_ARRAY_SUPPORT=h.TYPED_ARRAY_SUPPORT!==void 0?h.TYPED_ARRAY_SUPPORT:function(){try{var z=new Uint8Array(1);return z.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},z.foo()===42&&typeof z.subarray=="function"&&z.subarray(1,1).byteLength===0}catch(J){return!1}}(),w.kMaxLength=E(),W.poolSize=8192,W._augment=function(z){return z.__proto__=W.prototype,z},W.from=function(z,J,Se){return Q(null,z,J,Se)},W.TYPED_ARRAY_SUPPORT&&(W.prototype.__proto__=Uint8Array.prototype,W.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&W[Symbol.species]===W&&Object.defineProperty(W,Symbol.species,{value:null,configurable:!0})),W.alloc=function(z,J,Se){return function(A,ee,de,Oe){return y(ee),ee<=0?ge(A,ee):de!==void 0?typeof Oe=="string"?ge(A,ee).fill(de,Oe):ge(A,ee).fill(de):ge(A,ee)}(null,z,J,Se)},W.allocUnsafe=function(z){return C(null,z)},W.allocUnsafeSlow=function(z){return C(null,z)},W.isBuffer=function(z){return!(z==null||!z._isBuffer)},W.compare=function(z,J){if(!W.isBuffer(z)||!W.isBuffer(J))throw new TypeError("Arguments must be Buffers");if(z===J)return 0;for(var Se=z.length,A=J.length,ee=0,de=Math.min(Se,A);ee<de;++ee)if(z[ee]!==J[ee]){Se=z[ee],A=J[ee];break}return Se<A?-1:A<Se?1:0},W.isEncoding=function(z){switch(String(z).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}},W.concat=function(z,J){if(!H(z))throw new TypeError('"list" argument must be an Array of Buffers');if(z.length===0)return W.alloc(0);var Se;if(J===void 0)for(J=0,Se=0;Se<z.length;++Se)J+=z[Se].length;var A=W.allocUnsafe(J),ee=0;for(Se=0;Se<z.length;++Se){var de=z[Se];if(!W.isBuffer(de))throw new TypeError('"list" argument must be an Array of Buffers');de.copy(A,ee),ee+=de.length}return A},W.byteLength=V,W.prototype._isBuffer=!0,W.prototype.swap16=function(){var z=this.length;if(z%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var J=0;J<z;J+=2)l(this,J,J+1);return this},W.prototype.swap32=function(){var z=this.length;if(z%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var J=0;J<z;J+=4)l(this,J,J+3),l(this,J+1,J+2);return this},W.prototype.swap64=function(){var z=this.length;if(z%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var J=0;J<z;J+=8)l(this,J,J+7),l(this,J+1,J+6),l(this,J+2,J+5),l(this,J+3,J+4);return this},W.prototype.toString=function(){var z=0|this.length;return z===0?"":arguments.length===0?se(this,0,z):k.apply(this,arguments)},W.prototype.equals=function(z){if(!W.isBuffer(z))throw new TypeError("Argument must be a Buffer");return this===z||W.compare(this,z)===0},W.prototype.inspect=function(){var z="",J=w.INSPECT_MAX_BYTES;return this.length>0&&(z=this.toString("hex",0,J).match(/.{2}/g).join(" "),this.length>J&&(z+=" ... ")),"<Buffer "+z+">"},W.prototype.compare=function(z,J,Se,A,ee){if(!W.isBuffer(z))throw new TypeError("Argument must be a Buffer");if(J===void 0&&(J=0),Se===void 0&&(Se=z?z.length:0),A===void 0&&(A=0),ee===void 0&&(ee=this.length),J<0||Se>z.length||A<0||ee>this.length)throw new RangeError("out of range index");if(A>=ee&&J>=Se)return 0;if(A>=ee)return-1;if(J>=Se)return 1;if(this===z)return 0;for(var de=(ee>>>=0)-(A>>>=0),Oe=(Se>>>=0)-(J>>>=0),$e=Math.min(de,Oe),pt=this.slice(A,ee),it=z.slice(J,Se),At=0;At<$e;++At)if(pt[At]!==it[At]){de=pt[At],Oe=it[At];break}return de<Oe?-1:Oe<de?1:0},W.prototype.includes=function(z,J,Se){return this.indexOf(z,J,Se)!==-1},W.prototype.indexOf=function(z,J,Se){return T(this,z,J,Se,!0)},W.prototype.lastIndexOf=function(z,J,Se){return T(this,z,J,Se,!1)},W.prototype.write=function(z,J,Se,A){if(J===void 0)A="utf8",Se=this.length,J=0;else if(Se===void 0&&typeof J=="string")A=J,Se=this.length,J=0;else{if(!isFinite(J))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");J|=0,isFinite(Se)?(Se|=0,A===void 0&&(A="utf8")):(A=Se,Se=void 0)}var ee=this.length-J;if((Se===void 0||Se>ee)&&(Se=ee),z.length>0&&(Se<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");A||(A="utf8");for(var de=!1;;)switch(A){case"hex":return b(this,z,J,Se);case"utf8":case"utf-8":return g(this,z,J,Se);case"ascii":return j(this,z,J,Se);case"latin1":case"binary":return ie(this,z,J,Se);case"base64":return U(this,z,J,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,z,J,Se);default:if(de)throw new TypeError("Unknown encoding: "+A);A=(""+A).toLowerCase(),de=!0}},W.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ke(z,J,Se){var A="";Se=Math.min(z.length,Se);for(var ee=J;ee<Se;++ee)A+=String.fromCharCode(127&z[ee]);return A}function xe(z,J,Se){var A="";Se=Math.min(z.length,Se);for(var ee=J;ee<Se;++ee)A+=String.fromCharCode(z[ee]);return A}function Y(z,J,Se){var A=z.length;(!J||J<0)&&(J=0),(!Se||Se<0||Se>A)&&(Se=A);for(var ee="",de=J;de<Se;++de)ee+=ht(z[de]);return ee}function Z(z,J,Se){for(var A=z.slice(J,Se),ee="",de=0;de<A.length;de+=2)ee+=String.fromCharCode(A[de]+256*A[de+1]);return ee}function te(z,J,Se){if(z%1!=0||z<0)throw new RangeError("offset is not uint");if(z+J>Se)throw new RangeError("Trying to access beyond buffer length")}function he(z,J,Se,A,ee,de){if(!W.isBuffer(z))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ee||J<de)throw new RangeError('"value" argument is out of bounds');if(Se+A>z.length)throw new RangeError("Index out of range")}function Ce(z,J,Se,A){J<0&&(J=65535+J+1);for(var ee=0,de=Math.min(z.length-Se,2);ee<de;++ee)z[Se+ee]=(J&255<<8*(A?ee:1-ee))>>>8*(A?ee:1-ee)}function Ae(z,J,Se,A){J<0&&(J=4294967295+J+1);for(var ee=0,de=Math.min(z.length-Se,4);ee<de;++ee)z[Se+ee]=J>>>8*(A?ee:3-ee)&255}function L(z,J,Se,A,ee,de){if(Se+A>z.length)throw new RangeError("Index out of range");if(Se<0)throw new RangeError("Index out of range")}function nt(z,J,Se,A,ee){return ee||L(z,0,Se,4),D.write(z,J,Se,A,23,4),Se+4}function ct(z,J,Se,A,ee){return ee||L(z,0,Se,8),D.write(z,J,Se,A,52,8),Se+8}W.prototype.slice=function(z,J){var Se,A=this.length;if((z=~~z)<0?(z+=A)<0&&(z=0):z>A&&(z=A),(J=J===void 0?A:~~J)<0?(J+=A)<0&&(J=0):J>A&&(J=A),J<z&&(J=z),W.TYPED_ARRAY_SUPPORT)(Se=this.subarray(z,J)).__proto__=W.prototype;else{var ee=J-z;Se=new W(ee,void 0);for(var de=0;de<ee;++de)Se[de]=this[de+z]}return Se},W.prototype.readUIntLE=function(z,J,Se){z|=0,J|=0,Se||te(z,J,this.length);for(var A=this[z],ee=1,de=0;++de<J&&(ee*=256);)A+=this[z+de]*ee;return A},W.prototype.readUIntBE=function(z,J,Se){z|=0,J|=0,Se||te(z,J,this.length);for(var A=this[z+--J],ee=1;J>0&&(ee*=256);)A+=this[z+--J]*ee;return A},W.prototype.readUInt8=function(z,J){return J||te(z,1,this.length),this[z]},W.prototype.readUInt16LE=function(z,J){return J||te(z,2,this.length),this[z]|this[z+1]<<8},W.prototype.readUInt16BE=function(z,J){return J||te(z,2,this.length),this[z]<<8|this[z+1]},W.prototype.readUInt32LE=function(z,J){return J||te(z,4,this.length),(this[z]|this[z+1]<<8|this[z+2]<<16)+16777216*this[z+3]},W.prototype.readUInt32BE=function(z,J){return J||te(z,4,this.length),16777216*this[z]+(this[z+1]<<16|this[z+2]<<8|this[z+3])},W.prototype.readIntLE=function(z,J,Se){z|=0,J|=0,Se||te(z,J,this.length);for(var A=this[z],ee=1,de=0;++de<J&&(ee*=256);)A+=this[z+de]*ee;return A>=(ee*=128)&&(A-=Math.pow(2,8*J)),A},W.prototype.readIntBE=function(z,J,Se){z|=0,J|=0,Se||te(z,J,this.length);for(var A=J,ee=1,de=this[z+--A];A>0&&(ee*=256);)de+=this[z+--A]*ee;return de>=(ee*=128)&&(de-=Math.pow(2,8*J)),de},W.prototype.readInt8=function(z,J){return J||te(z,1,this.length),128&this[z]?-1*(255-this[z]+1):this[z]},W.prototype.readInt16LE=function(z,J){J||te(z,2,this.length);var Se=this[z]|this[z+1]<<8;return 32768&Se?4294901760|Se:Se},W.prototype.readInt16BE=function(z,J){J||te(z,2,this.length);var Se=this[z+1]|this[z]<<8;return 32768&Se?4294901760|Se:Se},W.prototype.readInt32LE=function(z,J){return J||te(z,4,this.length),this[z]|this[z+1]<<8|this[z+2]<<16|this[z+3]<<24},W.prototype.readInt32BE=function(z,J){return J||te(z,4,this.length),this[z]<<24|this[z+1]<<16|this[z+2]<<8|this[z+3]},W.prototype.readFloatLE=function(z,J){return J||te(z,4,this.length),D.read(this,z,!0,23,4)},W.prototype.readFloatBE=function(z,J){return J||te(z,4,this.length),D.read(this,z,!1,23,4)},W.prototype.readDoubleLE=function(z,J){return J||te(z,8,this.length),D.read(this,z,!0,52,8)},W.prototype.readDoubleBE=function(z,J){return J||te(z,8,this.length),D.read(this,z,!1,52,8)},W.prototype.writeUIntLE=function(z,J,Se,A){z=+z,J|=0,Se|=0,A||he(this,z,J,Se,Math.pow(2,8*Se)-1,0);var ee=1,de=0;for(this[J]=255&z;++de<Se&&(ee*=256);)this[J+de]=z/ee&255;return J+Se},W.prototype.writeUIntBE=function(z,J,Se,A){z=+z,J|=0,Se|=0,A||he(this,z,J,Se,Math.pow(2,8*Se)-1,0);var ee=Se-1,de=1;for(this[J+ee]=255&z;--ee>=0&&(de*=256);)this[J+ee]=z/de&255;return J+Se},W.prototype.writeUInt8=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,1,255,0),W.TYPED_ARRAY_SUPPORT||(z=Math.floor(z)),this[J]=255&z,J+1},W.prototype.writeUInt16LE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,2,65535,0),W.TYPED_ARRAY_SUPPORT?(this[J]=255&z,this[J+1]=z>>>8):Ce(this,z,J,!0),J+2},W.prototype.writeUInt16BE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,2,65535,0),W.TYPED_ARRAY_SUPPORT?(this[J]=z>>>8,this[J+1]=255&z):Ce(this,z,J,!1),J+2},W.prototype.writeUInt32LE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,4,4294967295,0),W.TYPED_ARRAY_SUPPORT?(this[J+3]=z>>>24,this[J+2]=z>>>16,this[J+1]=z>>>8,this[J]=255&z):Ae(this,z,J,!0),J+4},W.prototype.writeUInt32BE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,4,4294967295,0),W.TYPED_ARRAY_SUPPORT?(this[J]=z>>>24,this[J+1]=z>>>16,this[J+2]=z>>>8,this[J+3]=255&z):Ae(this,z,J,!1),J+4},W.prototype.writeIntLE=function(z,J,Se,A){if(z=+z,J|=0,!A){var ee=Math.pow(2,8*Se-1);he(this,z,J,Se,ee-1,-ee)}var de=0,Oe=1,$e=0;for(this[J]=255&z;++de<Se&&(Oe*=256);)z<0&&$e===0&&this[J+de-1]!==0&&($e=1),this[J+de]=(z/Oe>>0)-$e&255;return J+Se},W.prototype.writeIntBE=function(z,J,Se,A){if(z=+z,J|=0,!A){var ee=Math.pow(2,8*Se-1);he(this,z,J,Se,ee-1,-ee)}var de=Se-1,Oe=1,$e=0;for(this[J+de]=255&z;--de>=0&&(Oe*=256);)z<0&&$e===0&&this[J+de+1]!==0&&($e=1),this[J+de]=(z/Oe>>0)-$e&255;return J+Se},W.prototype.writeInt8=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,1,127,-128),W.TYPED_ARRAY_SUPPORT||(z=Math.floor(z)),z<0&&(z=255+z+1),this[J]=255&z,J+1},W.prototype.writeInt16LE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,2,32767,-32768),W.TYPED_ARRAY_SUPPORT?(this[J]=255&z,this[J+1]=z>>>8):Ce(this,z,J,!0),J+2},W.prototype.writeInt16BE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,2,32767,-32768),W.TYPED_ARRAY_SUPPORT?(this[J]=z>>>8,this[J+1]=255&z):Ce(this,z,J,!1),J+2},W.prototype.writeInt32LE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,4,2147483647,-2147483648),W.TYPED_ARRAY_SUPPORT?(this[J]=255&z,this[J+1]=z>>>8,this[J+2]=z>>>16,this[J+3]=z>>>24):Ae(this,z,J,!0),J+4},W.prototype.writeInt32BE=function(z,J,Se){return z=+z,J|=0,Se||he(this,z,J,4,2147483647,-2147483648),z<0&&(z=4294967295+z+1),W.TYPED_ARRAY_SUPPORT?(this[J]=z>>>24,this[J+1]=z>>>16,this[J+2]=z>>>8,this[J+3]=255&z):Ae(this,z,J,!1),J+4},W.prototype.writeFloatLE=function(z,J,Se){return nt(this,z,J,!0,Se)},W.prototype.writeFloatBE=function(z,J,Se){return nt(this,z,J,!1,Se)},W.prototype.writeDoubleLE=function(z,J,Se){return ct(this,z,J,!0,Se)},W.prototype.writeDoubleBE=function(z,J,Se){return ct(this,z,J,!1,Se)},W.prototype.copy=function(z,J,Se,A){if(Se||(Se=0),A||A===0||(A=this.length),J>=z.length&&(J=z.length),J||(J=0),A>0&&A<Se&&(A=Se),A===Se||z.length===0||this.length===0)return 0;if(J<0)throw new RangeError("targetStart out of bounds");if(Se<0||Se>=this.length)throw new RangeError("sourceStart out of bounds");if(A<0)throw new RangeError("sourceEnd out of bounds");A>this.length&&(A=this.length),z.length-J<A-Se&&(A=z.length-J+Se);var ee,de=A-Se;if(this===z&&Se<J&&J<A)for(ee=de-1;ee>=0;--ee)z[ee+J]=this[ee+Se];else if(de<1e3||!W.TYPED_ARRAY_SUPPORT)for(ee=0;ee<de;++ee)z[ee+J]=this[ee+Se];else Uint8Array.prototype.set.call(z,this.subarray(Se,Se+de),J);return de},W.prototype.fill=function(z,J,Se,A){if(typeof z=="string"){if(typeof J=="string"?(A=J,J=0,Se=this.length):typeof Se=="string"&&(A=Se,Se=this.length),z.length===1){var ee=z.charCodeAt(0);ee<256&&(z=ee)}if(A!==void 0&&typeof A!="string")throw new TypeError("encoding must be a string");if(typeof A=="string"&&!W.isEncoding(A))throw new TypeError("Unknown encoding: "+A)}else typeof z=="number"&&(z&=255);if(J<0||this.length<J||this.length<Se)throw new RangeError("Out of range index");if(Se<=J)return this;var de;if(J>>>=0,Se=Se===void 0?this.length:Se>>>0,z||(z=0),typeof z=="number")for(de=J;de<Se;++de)this[de]=z;else{var Oe=W.isBuffer(z)?z:fe(new W(z,A).toString()),$e=Oe.length;for(de=0;de<Se-J;++de)this[de+J]=Oe[de%$e]}return this};var Ye=/[^+\/0-9A-Za-z-_]/g;function ht(z){return z<16?"0"+z.toString(16):z.toString(16)}function fe(z,J){var Se;J=J||1/0;for(var A=z.length,ee=null,de=[],Oe=0;Oe<A;++Oe){if((Se=z.charCodeAt(Oe))>55295&&Se<57344){if(!ee){if(Se>56319){(J-=3)>-1&&de.push(239,191,189);continue}if(Oe+1===A){(J-=3)>-1&&de.push(239,191,189);continue}ee=Se;continue}if(Se<56320){(J-=3)>-1&&de.push(239,191,189),ee=Se;continue}Se=65536+(ee-55296<<10|Se-56320)}else ee&&(J-=3)>-1&&de.push(239,191,189);if(ee=null,Se<128){if((J-=1)<0)break;de.push(Se)}else if(Se<2048){if((J-=2)<0)break;de.push(Se>>6|192,63&Se|128)}else if(Se<65536){if((J-=3)<0)break;de.push(Se>>12|224,Se>>6&63|128,63&Se|128)}else{if(!(Se<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;de.push(Se>>18|240,Se>>12&63|128,Se>>6&63|128,63&Se|128)}}return de}function $(z){return f.toByteArray(function(J){if((J=function(Se){return Se.trim?Se.trim():Se.replace(/^\s+|\s+$/g,"")}(J).replace(Ye,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(z))}function G(z,J,Se,A){for(var ee=0;ee<A&&!(ee+Se>=J.length||ee>=z.length);++ee)J[ee+Se]=z[ee];return ee}}).call(this,o(137))},function(Ie,w,o){"use strict";w.byteLength=function(y){var C=W(y),S=C[0],P=C[1];return 3*(S+P)/4-P},w.toByteArray=function(y){var C,S,P=W(y),V=P[0],k=P[1],l=new D(function(b,g,j){return 3*(g+j)/4-j}(0,V,k)),T=0,N=k>0?V-4:V;for(S=0;S<N;S+=4)C=f[y.charCodeAt(S)]<<18|f[y.charCodeAt(S+1)]<<12|f[y.charCodeAt(S+2)]<<6|f[y.charCodeAt(S+3)],l[T++]=C>>16&255,l[T++]=C>>8&255,l[T++]=255&C;return k===2&&(C=f[y.charCodeAt(S)]<<2|f[y.charCodeAt(S+1)]>>4,l[T++]=255&C),k===1&&(C=f[y.charCodeAt(S)]<<10|f[y.charCodeAt(S+1)]<<4|f[y.charCodeAt(S+2)]>>2,l[T++]=C>>8&255,l[T++]=255&C),l},w.fromByteArray=function(y){for(var C,S=y.length,P=S%3,V=[],k=0,l=S-P;k<l;k+=16383)V.push(Q(y,k,k+16383>l?l:k+16383));return P===1?(C=y[S-1],V.push(h[C>>2]+h[C<<4&63]+"==")):P===2&&(C=(y[S-2]<<8)+y[S-1],V.push(h[C>>10]+h[C>>4&63]+h[C<<2&63]+"=")),V.join("")};for(var h=[],f=[],D=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E=0,ge=H.length;E<ge;++E)h[E]=H[E],f[H.charCodeAt(E)]=E;function W(y){var C=y.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var S=y.indexOf("=");return S===-1&&(S=C),[S,S===C?0:4-S%4]}function Q(y,C,S){for(var P,V,k=[],l=C;l<S;l+=3)P=(y[l]<<16&16711680)+(y[l+1]<<8&65280)+(255&y[l+2]),k.push(h[(V=P)>>18&63]+h[V>>12&63]+h[V>>6&63]+h[63&V]);return k.join("")}f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},function(Ie,w){w.read=function(o,h,f,D,H){var E,ge,W=8*H-D-1,Q=(1<<W)-1,y=Q>>1,C=-7,S=f?H-1:0,P=f?-1:1,V=o[h+S];for(S+=P,E=V&(1<<-C)-1,V>>=-C,C+=W;C>0;E=256*E+o[h+S],S+=P,C-=8);for(ge=E&(1<<-C)-1,E>>=-C,C+=D;C>0;ge=256*ge+o[h+S],S+=P,C-=8);if(E===0)E=1-y;else{if(E===Q)return ge?NaN:1/0*(V?-1:1);ge+=Math.pow(2,D),E-=y}return(V?-1:1)*ge*Math.pow(2,E-D)},w.write=function(o,h,f,D,H,E){var ge,W,Q,y=8*E-H-1,C=(1<<y)-1,S=C>>1,P=H===23?Math.pow(2,-24)-Math.pow(2,-77):0,V=D?0:E-1,k=D?1:-1,l=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(W=isNaN(h)?1:0,ge=C):(ge=Math.floor(Math.log(h)/Math.LN2),h*(Q=Math.pow(2,-ge))<1&&(ge--,Q*=2),(h+=ge+S>=1?P/Q:P*Math.pow(2,1-S))*Q>=2&&(ge++,Q/=2),ge+S>=C?(W=0,ge=C):ge+S>=1?(W=(h*Q-1)*Math.pow(2,H),ge+=S):(W=h*Math.pow(2,S-1)*Math.pow(2,H),ge=0));H>=8;o[f+V]=255&W,V+=k,W/=256,H-=8);for(ge=ge<<H|W,y+=H;y>0;o[f+V]=255&ge,V+=k,ge/=256,y-=8);o[f+V-k]|=128*l}},function(Ie,w){var o={}.toString;Ie.exports=Array.isArray||function(h){return o.call(h)=="[object Array]"}},function(Ie,w,o){var h=o(32),f=o(207);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1377,7 +1376,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-aria-container { position: absolute; /* try to hide from window but not from screen readers */ left:-999em; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(209);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(209);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1419,7 +1418,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A opacity: 0.3; } */ -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(211);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(211);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1453,7 +1452,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .inputarea.ime-input { z-index: 10; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(213);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(213);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1478,7 +1477,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .margin-view-overlays .line-numbers.lh-odd { margin-top: 1px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(215);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(215);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1492,7 +1491,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .vs-dark.mac .monaco-mouse-cursor-text, .hc-black.mac .monaco-mouse-cursor-text { cursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(217);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(217);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1516,7 +1515,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both { border-right: 0; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(219);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(219);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1527,7 +1526,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A */ .monaco-editor .lines-content .cdr { position: absolute; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(221);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(221);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1638,7 +1637,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .hc-black .monaco-scrollable-element .shadow.top.left { box-shadow: none; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(223);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(223);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1658,7 +1657,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A align-items: center; justify-content: center; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(225);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(225);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1673,7 +1672,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .lines-content .cigra { position: absolute; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(227);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(227);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1716,7 +1715,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A min-height: inherit; margin-left: inherit; }*/ -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(229);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(229);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1733,7 +1732,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .margin-view-overlays .cldr { position: absolute; height: 100%; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(231);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(231);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1747,7 +1746,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A left: 0; width: 100%; height: 100%; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(233);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(233);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1774,7 +1773,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A left: -6px; width: 6px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(235);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(235);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1782,7 +1781,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A position: absolute; top: 0; left:0; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(237);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(237);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1790,7 +1789,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .view-ruler { position: absolute; top: 0; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(239);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(239);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1800,7 +1799,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A top: 0; left: 0; height: 6px; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(241);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(241);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1822,7 +1821,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor.hc-black .bottom-left-radius { border-bottom-left-radius: 0; } .monaco-editor.hc-black .top-right-radius { border-top-right-radius: 0; } .monaco-editor.hc-black .bottom-right-radius { border-bottom-right-radius: 0; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(243);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(243);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1909,7 +1908,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .cursor-expand > .cursor { animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(245);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(245);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -1971,7 +1970,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .margin-view-zones .lightbulb-glyph:hover { cursor: pointer; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(247);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(247);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2029,7 +2028,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-sash.debug:not(.disabled).orthogonal-end::after { background: red; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(249);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(249);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2090,7 +2089,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A height: 16px; margin: 2px 0; } -`,""]),Ga.exports=t},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2128,7 +2127,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A } .monaco-action-bar.animated .action-item.active { - transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */ + transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */ } .monaco-action-bar .action-item .icon, @@ -2188,14 +2187,14 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A justify-content: center; margin-right: 10px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(252);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){var l=f(33),q=f(253),y=f(254);t=l(!1);var F=q(y);t.push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(252);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){var h=o(33),f=o(253),D=o(254);w=h(!1);var H=f(D);w.push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @font-face { font-family: "codicon"; - src: url(`+F+`) format("truetype"); + src: url(`+H+`) format("truetype"); } .codicon[class*='codicon-'] { @@ -2212,7 +2211,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A } /* icon rules are dynamically created in codiconStyles */ -`,""]),Ga.exports=t},function(Ga,t,f){"use strict";Ga.exports=function(l,q){return q||(q={}),"string"!=typeof(l=l&&l.__esModule?l.default:l)?l:(/^['"].*['"]$/.test(l)&&(l=l.slice(1,-1)),q.hash&&(l+=q.hash),/["'() \t\n]/.test(l)||q.needQuotes?'"'.concat(l.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):l)}},function(Ga,t,f){"use strict";f.r(t),t.default=f.p+"b3726f0165bf67ac68494ee7a1b9f6ce.ttf"},function(Ga,t,f){var l=f(32),q=f(256);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){"use strict";Ie.exports=function(h,f){return f||(f={}),typeof(h=h&&h.__esModule?h.default:h)!="string"?h:(/^['"].*['"]$/.test(h)&&(h=h.slice(1,-1)),f.hash&&(h+=f.hash),/["'() \t\n]/.test(h)||f.needQuotes?'"'.concat(h.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):h)}},function(Ie,w,o){"use strict";o.r(w),w.default=o.p+"b3726f0165bf67ac68494ee7a1b9f6ce.ttf"},function(Ie,w,o){var h=o(32),f=o(256);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2220,7 +2219,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .codicon-wrench-subaction { opacity: 0.5; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(258);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(258);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2235,7 +2234,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A /* Use steps to throttle FPS to reduce CPU usage */ animation: codicon-spin 1.5s steps(30) infinite; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(260);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(260);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2244,7 +2243,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A min-width: 130px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(262);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(262);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2262,7 +2261,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A z-index: 2500; color: inherit; } -`,""]),Ga.exports=t},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2424,7 +2423,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-list-type-filter.dragging { cursor: grabbing; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(265);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(265);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2490,7 +2489,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A /* Use steps to throttle FPS to reduce CPU usage */ animation: codicon-spin 1.25s steps(30) infinite; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(267);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(267);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2513,7 +2512,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .hc-black .quick-input-widget .monaco-highlighted-label .highlight { color: #F38518; } -`,""]),Ga.exports=t},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2789,7 +2788,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label { display: flex; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(270);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(270);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2879,7 +2878,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-list-row.selected .label-description { opacity: .8; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(272);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(272);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -2927,7 +2926,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-keybinding > .monaco-keybinding-key-chord-separator { width: 6px; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(274);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(274);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3039,7 +3038,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A width: 16px; height: 16px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(276);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(276);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3063,7 +3062,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A min-height: auto; line-height: normal; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(278);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(278);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3111,7 +3110,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A * 100%: 50 * 100 - 50 (do not overflow): 4950% */ @keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4950%) scaleX(1) } } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(280);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(280);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3141,7 +3140,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A margin: 0 0.2em; color: inherit !important; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(282);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(282);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3150,7 +3149,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A background-color: #007ACC; width: 2px !important; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(284);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(284);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3158,7 +3157,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .bracket-match { box-sizing: border-box; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(286);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(286);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3197,7 +3196,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A border-width: 8px; position: absolute; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(288);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(288);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3217,7 +3216,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A cursor: pointer; /* transform: scale(1.3, 1.3); */ } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(290);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(290);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3262,7 +3261,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .codelens-decoration.fadein { animation: fadein 0.1s linear; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(292);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(292);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3289,7 +3288,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor.vs-dark.mac.mouse-copy .view-lines, .monaco-editor.hc-black.mac.mouse-copy .view-lines { cursor: copy; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(294);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(294);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3339,7 +3338,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-custom-checkbox.monaco-simple-checkbox.unchecked:not(.checked)::before { visibility: hidden;; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(296);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(296);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3552,7 +3551,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A top: 1px; left: 2px; } -`,""]),Ga.exports=t},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3616,7 +3615,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A 0% { background: rgba(255, 255, 255, 0.44); } /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/ 99% { background: transparent; } -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(299);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(299);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3642,12 +3641,12 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .inline-folded:after { color: grey; margin: 0.1em 0.2em 0 0.2em; - content: "⋯"; + content: "\u22EF"; display: inline; line-height: 1em; cursor: pointer; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(301);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(301);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3729,7 +3728,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .peekview-widget .head .peekview-title .codicon { margin-right: 4px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(303);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(303);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3746,7 +3745,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A border-bottom-width: 0; position: relative; } -`,""]),Ga.exports=t},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3760,7 +3759,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A cursor: pointer; height: 100%; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(306);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(306);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3812,7 +3811,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file { font-weight: bold; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(308);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(308);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3877,7 +3876,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A height: 1px; width: 100%; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(310);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(310);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3885,7 +3884,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .goto-definition-link { text-decoration: underline; cursor: pointer; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(312);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(312);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -3956,7 +3955,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .marker-widget .descriptioncontainer .filename { cursor: pointer; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(314);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(314);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4076,7 +4075,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A height: 150px; pointer-events: none; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(316);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(316);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4209,7 +4208,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A border-bottom: 1px solid transparent; text-underline-position: under; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(318);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(318);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4222,7 +4221,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .detected-link-active { cursor: pointer; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(320);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(320);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4333,7 +4332,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A font-weight: bold; margin-right: 0.5em; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(322);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(322);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4343,7 +4342,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A /* So border can be transparent */ background-clip: padding-box; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(324);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(324);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4370,7 +4369,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .rename-box.preview .rename-label { display: inherit; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(326);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(326);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4385,7 +4384,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A outline-style: solid; outline-width: 1px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(328);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(328);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4800,7 +4799,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A font-style: italic; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(330);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(330);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4835,7 +4834,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label { width: 100%; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(332);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(332);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4876,7 +4875,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-list .outline-element .outline-element-icon { margin-right: 4px; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(334);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(334);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4885,7 +4884,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A text-decoration: line-through; opacity: 0.66; } -`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(336);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(336);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4894,7 +4893,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A padding: 10px; vertical-align: middle; overflow: scroll; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(338);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(338);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4917,7 +4916,7 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor.vs-dark .iPadShowKeyboard { background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") center center no-repeat; border: 4px solid #252526; -}`,""]),Ga.exports=t},function(Ga,t,f){var l=f(32),q=f(340);"string"==typeof(q=q.__esModule?q.default:q)&&(q=[[Ga.i,q,""]]);var y={insert:"head",singleton:!1};l(q,y),Ga.exports=q.locals||{}},function(Ga,t,f){(t=f(33)(!1)).push([Ga.i,`/*--------------------------------------------------------------------------------------------- +}`,""]),Ie.exports=w},function(Ie,w,o){var h=o(32),f=o(340);typeof(f=f.__esModule?f.default:f)=="string"&&(f=[[Ie.i,f,""]]);var D={insert:"head",singleton:!1};h(f,D),Ie.exports=f.locals||{}},function(Ie,w,o){(w=o(33)(!1)).push([Ie.i,`/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ @@ -4957,102 +4956,111 @@ Please report this to https://github.com/markedjs/marked.`,mc.silent)return"<p>A .monaco-editor .tokens-inspect-widget .tm-token-type { font-family: var(--monaco-monospace-font); } -`,""]),Ga.exports=t},,function(Ga,t,f){"use strict";f.r(t),f.d(t,"CancellationTokenSource",function(){return Y.a}),f.d(t,"Emitter",function(){return Y.b}),f.d(t,"KeyCode",function(){return Y.c}),f.d(t,"KeyMod",function(){return Y.d}),f.d(t,"Position",function(){return Y.g}),f.d(t,"Range",function(){return Y.h}),f.d(t,"Selection",function(){return Y.i}),f.d(t,"SelectionDirection",function(){return Y.j}),f.d(t,"MarkerSeverity",function(){return Y.e}),f.d(t,"MarkerTag",function(){return Y.f}),f.d(t,"Uri",function(){return Y.l}),f.d(t,"Token",function(){return Y.k}),f.d(t,"editor",function(){return Y.m}),f.d(t,"languages",function(){return Y.n});var l,q,y,F,P,Y=f(108),R=f(29);!function(a){a[a.None=0]="None",a[a.CommonJS=1]="CommonJS",a[a.AMD=2]="AMD",a[a.UMD=3]="UMD",a[a.System=4]="System",a[a.ES2015=5]="ES2015",a[a.ESNext=99]="ESNext"}(l||(l={})),function(a){a[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative"}(q||(q={})),function(a){a[a.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",a[a.LineFeed=1]="LineFeed"}(y||(y={})),function(a){a[a.ES3=0]="ES3",a[a.ES5=1]="ES5",a[a.ES2015=2]="ES2015",a[a.ES2016=3]="ES2016",a[a.ES2017=4]="ES2017",a[a.ES2018=5]="ES2018",a[a.ES2019=6]="ES2019",a[a.ES2020=7]="ES2020",a[a.ESNext=99]="ESNext",a[a.JSON=100]="JSON",a[a.Latest=99]="Latest"}(F||(F={})),function(a){a[a.Classic=1]="Classic",a[a.NodeJs=2]="NodeJs"}(P||(P={}));var L=function(){function a(b,c,e){this._onDidChange=new R.a(),this._onDidExtraLibsChange=new R.a(),this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(b),this.setDiagnosticsOptions(c),this.setWorkerOptions(e),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(a.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),a.prototype.getExtraLibs=function(){return this._extraLibs},a.prototype.addExtraLib=function(b,c){var e,i=this;if(e=void 0===c?"ts:extralib-"+Math.random().toString(36).substring(2,15):c,this._extraLibs[e]&&this._extraLibs[e].content===b)return{dispose:function(){}};var p=1;return this._removedExtraLibs[e]&&(p=this._removedExtraLibs[e]+1),this._extraLibs[e]&&(p=this._extraLibs[e].version+1),this._extraLibs[e]={content:b,version:p},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var r=i._extraLibs[e];r&&r.version===p&&(delete i._extraLibs[e],i._removedExtraLibs[e]=p,i._fireOnDidExtraLibsChangeSoon())}}},a.prototype.setExtraLibs=function(b){for(var c in this._extraLibs)this._removedExtraLibs[c]=this._extraLibs[c].version;if(this._extraLibs=Object.create(null),b&&b.length>0)for(var e=0,i=b;e<i.length;e++){var p=i[e],r=(c=p.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),p.content),O=1;this._removedExtraLibs[c]&&(O=this._removedExtraLibs[c]+1),this._extraLibs[c]={content:r,version:O}}this._fireOnDidExtraLibsChangeSoon()},a.prototype._fireOnDidExtraLibsChangeSoon=function(){var b=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout(function(){b._onDidExtraLibsChangeTimeout=-1,b._onDidExtraLibsChange.fire(void 0)},0))},a.prototype.getCompilerOptions=function(){return this._compilerOptions},a.prototype.setCompilerOptions=function(b){this._compilerOptions=b||Object.create(null),this._onDidChange.fire(void 0)},a.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},a.prototype.setDiagnosticsOptions=function(b){this._diagnosticsOptions=b||Object.create(null),this._onDidChange.fire(void 0)},a.prototype.setWorkerOptions=function(b){this._workerOptions=b||Object.create(null),this._onDidChange.fire(void 0)},a.prototype.setMaximumWorkerIdleTime=function(b){},a.prototype.setEagerModelSync=function(b){this._eagerModelSync=b},a.prototype.getEagerModelSync=function(){return this._eagerModelSync},a}(),s=new L({allowNonTsExtensions:!0,target:F.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{}),z=new L({allowNonTsExtensions:!0,allowJs:!0,target:F.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1},{});function D(){return Promise.resolve().then(f.bind(null,412))}R.g.typescript={ModuleKind:l,JsxEmit:q,NewLineKind:y,ScriptTarget:F,ModuleResolutionKind:P,typescriptVersion:"4.0.3",typescriptDefaults:s,javascriptDefaults:z,getTypeScriptWorker:function(){return D().then(function(a){return a.getTypeScriptWorker()})},getJavaScriptWorker:function(){return D().then(function(a){return a.getJavaScriptWorker()})}},R.g.onLanguage("typescript",function(){return D().then(function(a){return a.setupTypeScript(s)})}),R.g.onLanguage("javascript",function(){return D().then(function(a){return a.setupJavaScript(z)})});var Q=f(52),B=function(){function a(b,c,e){this._onDidChange=new Q.a(),this._languageId=b,this.setDiagnosticsOptions(c),this.setModeConfiguration(e)}return Object.defineProperty(a.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),a.prototype.setDiagnosticsOptions=function(b){this._diagnosticsOptions=b||Object.create(null),this._onDidChange.fire(this)},a.prototype.setModeConfiguration=function(b){this._modeConfiguration=b||Object.create(null),this._onDidChange.fire(this)},a}(),C={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},k={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},w=new B("css",C,k),x=new B("scss",C,k),u=new B("less",C,k);function A(){return Promise.resolve().then(f.bind(null,414))}Q.f.css={cssDefaults:w,lessDefaults:u,scssDefaults:x},Q.f.onLanguage("less",function(){A().then(function(a){return a.setupMode(u)})}),Q.f.onLanguage("scss",function(){A().then(function(a){return a.setupMode(x)})}),Q.f.onLanguage("css",function(){A().then(function(a){return a.setupMode(w)})});var U=f(59),da=new(function(){function a(b,c,e){this._onDidChange=new U.a(),this._languageId=b,this.setDiagnosticsOptions(c),this.setModeConfiguration(e)}return Object.defineProperty(a.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),a.prototype.setDiagnosticsOptions=function(b){this._diagnosticsOptions=b||Object.create(null),this._onDidChange.fire(this)},a.prototype.setModeConfiguration=function(b){this._modeConfiguration=b||Object.create(null),this._onDidChange.fire(this)},a}())("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});U.f.json={jsonDefaults:da},U.f.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),U.f.onLanguage("json",function(){Promise.resolve().then(f.bind(null,413)).then(function(a){return a.setupMode(da)})});var Z=f(47),H=function(){function a(b,c,e){this._onDidChange=new Z.a(),this._languageId=b,this.setOptions(c),this.setModeConfiguration(e)}return Object.defineProperty(a.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),a.prototype.setOptions=function(b){this._options=b||Object.create(null),this._onDidChange.fire(this)},a.prototype.setModeConfiguration=function(b){this._modeConfiguration=b||Object.create(null),this._onDidChange.fire(this)},a}(),ea={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},oa={format:ea,suggest:{html5:!0}},ga={format:ea,suggest:{html5:!0,razor:!0}};function Ba(a){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:a===N,documentFormattingEdits:a===N,documentRangeFormattingEdits:a===N}}var N="html",V=new H(N,{format:ea,suggest:{html5:!0,angular1:!0,ionic:!0}},Ba(N)),ma=new H("handlebars",oa,Ba("handlebars")),ta=new H("razor",ga,Ba("razor"));function Da(){return Promise.resolve().then(f.bind(null,415))}Z.f.html={htmlDefaults:V,razorDefaults:ta,handlebarDefaults:ma},Z.f.onLanguage(N,function(){Da().then(function(a){return a.setupMode(V)})}),Z.f.onLanguage("handlebars",function(){Da().then(function(a){return a.setupMode(ma)})}),Z.f.onLanguage("razor",function(){Da().then(function(a){return a.setupMode(ta)})});var Ka=f(95),G={},hb={},_a=function(){function a(b){var c=this;this._languageId=b,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(e,i){c._lazyLoadPromiseResolve=e,c._lazyLoadPromiseReject=i})}return a.getOrCreate=function(b){return hb[b]||(hb[b]=new a(b)),hb[b]},a.prototype.whenLoaded=function(){return this._lazyLoadPromise},a.prototype.load=function(){var b=this;return this._loadingTriggered||(this._loadingTriggered=!0,G[this._languageId].loader().then(function(c){return b._lazyLoadPromiseResolve(c)},function(c){return b._lazyLoadPromiseReject(c)})),this._lazyLoadPromise},a}();function fb(a){var b=a.id;G[b]=a,Ka.a.register(a);var c=_a.getOrCreate(b);Ka.a.setMonarchTokensProvider(b,c.whenLoaded().then(function(e){return e.language})),Ka.a.onLanguage(b,function(){c.load().then(function(e){Ka.a.setLanguageConfiguration(b,e.conf)})})}fb({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return Promise.resolve().then(f.bind(null,347))}}),fb({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return Promise.resolve().then(f.bind(null,348))}}),fb({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return Promise.resolve().then(f.bind(null,349))}}),fb({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return Promise.resolve().then(f.bind(null,350))}}),fb({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return Promise.resolve().then(f.bind(null,351))}}),fb({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return Promise.resolve().then(f.bind(null,352))}}),fb({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return Promise.resolve().then(f.bind(null,353))}}),fb({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return Promise.resolve().then(f.bind(null,354))}}),fb({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return Promise.resolve().then(f.bind(null,354))}}),fb({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return Promise.resolve().then(f.bind(null,355))}}),fb({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return Promise.resolve().then(f.bind(null,356))}}),fb({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return Promise.resolve().then(f.bind(null,357))}}),fb({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return Promise.resolve().then(f.bind(null,358))}}),fb({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return Promise.resolve().then(f.bind(null,359))}}),fb({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return Promise.resolve().then(f.bind(null,360))}}),fb({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return Promise.resolve().then(f.bind(null,361))}}),fb({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return Promise.resolve().then(f.bind(null,362))}}),fb({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return Promise.resolve().then(f.bind(null,363))}}),fb({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return Promise.resolve().then(f.bind(null,364))}}),fb({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return Promise.resolve().then(f.bind(null,365))}}),fb({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return Promise.resolve().then(f.bind(null,366))}}),fb({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return Promise.resolve().then(f.bind(null,367))}}),fb({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return Promise.resolve().then(f.bind(null,368))}}),fb({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return Promise.resolve().then(f.bind(null,369))}}),fb({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return Promise.resolve().then(f.bind(null,370))}}),fb({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return Promise.resolve().then(f.bind(null,371))}}),fb({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return Promise.resolve().then(f.bind(null,372))}}),fb({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return Promise.resolve().then(f.bind(null,373))}}),fb({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return Promise.resolve().then(f.bind(null,374))}}),fb({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return Promise.resolve().then(f.bind(null,375))}}),fb({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return Promise.resolve().then(f.bind(null,376))}}),fb({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return Promise.resolve().then(f.bind(null,377))}}),fb({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return Promise.resolve().then(f.bind(null,378))}}),fb({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return Promise.resolve().then(f.bind(null,379))}}),fb({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return Promise.resolve().then(f.bind(null,380))}}),fb({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return Promise.resolve().then(f.bind(null,381))}}),fb({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return Promise.resolve().then(f.bind(null,382))}}),fb({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return Promise.resolve().then(f.bind(null,383))}}),fb({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return Promise.resolve().then(f.bind(null,384))}}),fb({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return Promise.resolve().then(f.bind(null,385))}}),fb({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return Promise.resolve().then(f.bind(null,386))}}),fb({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return Promise.resolve().then(f.bind(null,387))}}),fb({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return Promise.resolve().then(f.bind(null,388))}}),fb({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return Promise.resolve().then(f.bind(null,389))}}),fb({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return Promise.resolve().then(f.bind(null,390))}}),fb({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return Promise.resolve().then(f.bind(null,391))}}),fb({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return Promise.resolve().then(f.bind(null,392))}}),fb({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return Promise.resolve().then(f.bind(null,393))}}),fb({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return Promise.resolve().then(f.bind(null,394))}}),fb({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return Promise.resolve().then(f.bind(null,395))}}),fb({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return Promise.resolve().then(f.bind(null,396))}}),fb({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return Promise.resolve().then(f.bind(null,397))}}),fb({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return Promise.resolve().then(f.bind(null,398))}}),fb({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return Promise.resolve().then(f.bind(null,399))}}),fb({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return Promise.resolve().then(f.bind(null,400))}}),fb({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return Promise.resolve().then(f.bind(null,401))}}),fb({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return Promise.resolve().then(f.bind(null,402))}}),fb({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return Promise.resolve().then(f.bind(null,403))}}),fb({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return Promise.resolve().then(f.bind(null,404))}}),fb({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return Promise.resolve().then(f.bind(null,405))}}),fb({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return Promise.resolve().then(f.bind(null,406))}}),fb({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return Promise.resolve().then(f.bind(null,406))}}),fb({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return Promise.resolve().then(f.bind(null,407))}}),fb({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return Promise.resolve().then(f.bind(null,408))}}),fb({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return Promise.resolve().then(f.bind(null,142))}}),fb({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return Promise.resolve().then(f.bind(null,409))}}),fb({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return Promise.resolve().then(f.bind(null,410))}}),fb({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return Promise.resolve().then(f.bind(null,411))}});var za=f(107),ua=f(164),ba=(f(194),f(193),f(281),f(4)),$=f(0),S=f(7),aa=f(21),_=f(43),I=f(10),ka=f(15),va=f(17),La=f(13);class $a{constructor(a="",b=!1){var c,e;if(this._value=a,"string"!=typeof this._value)throw Object(La.b)("value");"boolean"==typeof b?(this._isTrusted=b,this._supportThemeIcons=!1):(this._isTrusted=null!==(c=b.isTrusted)&&void 0!==c&&c,this._supportThemeIcons=null!==(e=b.supportThemeIcons)&&void 0!==e&&e)}get value(){return this._value}get isTrusted(){return this._isTrusted}get supportThemeIcons(){return this._supportThemeIcons}appendText(a){return this._value+=(this._supportThemeIcons?Object(va.b)(a):a).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace(/\n/g,` - -`),this}appendMarkdown(a){return this._value+=a,this}appendCodeblock(a,b){return this._value+="\n```",this._value+=a,this._value+=` -`,this._value+=b,this._value+="\n```\n",this}}function Ab(a){return gb(a)?!a.value:!Array.isArray(a)||a.every(Ab)}function gb(a){return a instanceof $a||!(!a||"object"!=typeof a)&&!("string"!=typeof a.value||"boolean"!=typeof a.isTrusted&&void 0!==a.isTrusted||"boolean"!=typeof a.supportThemeIcons&&void 0!==a.supportThemeIcons)}function Fb(a,b){return a===b||!(!a||!b)&&(a.value===b.value&&a.isTrusted===b.isTrusted&&a.supportThemeIcons===b.supportThemeIcons)}function wb(a){return a?a.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):a}var tc=f(66),rb=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},wc=function(a,b){return function(c,e){b(c,e,a)}},vc=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const cb=new I.c("selectionAnchorSet",!1);let Ob=class a{constructor(b,c){this.editor=b,this.selectionAnchorSetContextKey=cb.bindTo(c),this.modelChangeListener=b.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(b){return b.getContribution(a.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const b=this.editor.getPosition(),c=this.decorationId?[this.decorationId]:[],e=this.editor.deltaDecorations(c,[{range:aa.a.fromPositions(b,b),options:{stickiness:1,hoverMessage:new $a().appendText(Object($.a)("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=e[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Object(tc.a)(Object($.a)("anchorSet","Anchor set at {0}:{1}",b.lineNumber,b.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const b=this.editor.getModel().getDecorationRange(this.decorationId);b&&this.editor.setPosition(b.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const b=this.editor.getModel().getDecorationRange(this.decorationId);if(b){const c=this.editor.getPosition();this.editor.setSelection(aa.a.fromPositions(b.getStartPosition(),c)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Ob.ID="editor.contrib.selectionAnchorController",Ob=rb([wc(1,I.b)],Ob);class uc extends ba.b{constructor(){super({id:"editor.action.setSelectionAnchor",label:Object($.a)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2080),weight:100}})}run(a,b){return vc(this,void 0,void 0,function*(){Ob.get(b).setSelectionAnchor()})}}class Cc extends ba.b{constructor(){super({id:"editor.action.goToSelectionAnchor",label:Object($.a)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:cb})}run(a,b){return vc(this,void 0,void 0,function*(){Ob.get(b).goToSelectionAnchor()})}}class Kc extends ba.b{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:Object($.a)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:cb,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2089),weight:100}})}run(a,b){return vc(this,void 0,void 0,function*(){Ob.get(b).selectFromAnchorToCursor()})}}class Yc extends ba.b{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:Object($.a)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:cb,kbOpts:{kbExpr:S.a.editorTextFocus,primary:9,weight:100}})}run(a,b){return vc(this,void 0,void 0,function*(){Ob.get(b).cancelSelectionAnchor()})}}Object(ba.m)(Ob.ID,Ob),Object(ba.k)(uc),Object(ba.k)(Cc),Object(ba.k)(Kc),Object(ba.k)(Yc),f(283);var sc=f(20),Nb=f(2),Fc=f(9),pb=f(3),mc=f(58),Eb=f(30),qb=f(57),Va=f(5),Oa=f(19),Qa=f(24);const kb=Object(Va.gc)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},$.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class tb extends ba.b{constructor(){super({id:"editor.action.jumpToBracket",label:$.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3160,weight:100}})}run(a,b){let c=$b.get(b);c&&c.jumpToBracket()}}class oc extends ba.b{constructor(){super({id:"editor.action.selectToBracket",label:$.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(a,b,c){const e=$b.get(b);if(!e)return;let i=!0;c&&!1===c.selectBrackets&&(i=!1),e.selectToBracket(i)}}class ec{constructor(a,b,c){this.position=a,this.brackets=b,this.options=c}}class $b extends Nb.a{constructor(a){super(),this._editor=a,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new sc.d(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(55),this._updateBracketsSoon.schedule(),this._register(a.onDidChangeCursorPosition(b=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeModelContent(b=>{this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeModel(b=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeModelLanguageConfiguration(b=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(a.onDidChangeConfiguration(b=>{b.hasChanged(55)&&(this._matchBrackets=this._editor.getOption(55),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))}static get(a){return a.getContribution($b.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const a=this._editor.getModel(),b=this._editor.getSelections().map(c=>{const e=c.getStartPosition(),i=a.matchBracket(e);let p=null;if(i)i[0].containsPosition(e)?p=i[1].getStartPosition():i[1].containsPosition(e)&&(p=i[0].getStartPosition());else{const r=a.findEnclosingBrackets(e);if(r)p=r[0].getStartPosition();else{const O=a.findNextBracket(e);O&&O.range&&(p=O.range.getStartPosition())}}return p?new aa.a(p.lineNumber,p.column,p.lineNumber,p.column):new aa.a(e.lineNumber,e.column,e.lineNumber,e.column)});this._editor.setSelections(b),this._editor.revealRange(b[0])}selectToBracket(a){if(!this._editor.hasModel())return;const b=this._editor.getModel(),c=[];this._editor.getSelections().forEach(e=>{const i=e.getStartPosition();let p=b.matchBracket(i);if(!p&&(p=b.findEnclosingBrackets(i),!p)){const ha=b.findNextBracket(i);ha&&ha.range&&(p=b.matchBracket(ha.range.getStartPosition()))}let r=null,O=null;if(p){p.sort(pb.a.compareRangesUsingStarts);const[ha,ja]=p;r=a?ha.getStartPosition():ha.getEndPosition(),O=a?ja.getEndPosition():ja.getStartPosition()}r&&O&&c.push(new aa.a(r.lineNumber,r.column,O.lineNumber,O.column))}),c.length>0&&(this._editor.setSelections(c),this._editor.revealRange(c[0]))}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let a=[],b=0;for(const c of this._lastBracketsData){let e=c.brackets;e&&(a[b++]={range:e[0],options:c.options},a[b++]={range:e[1],options:c.options})}this._decorations=this._editor.deltaDecorations(this._decorations,a)}_recomputeBrackets(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);const a=this._editor.getSelections();if(a.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);const b=this._editor.getModel(),c=b.getVersionId();let e=[];this._lastVersionId===c&&(e=this._lastBracketsData);let i=[],p=0;for(let la=0,Wa=a.length;la<Wa;la++){let Db=a[la];Db.isEmpty()&&(i[p++]=Db.getStartPosition())}i.length>1&&i.sort(Fc.a.compare);let r=[],O=0,ha=0,ja=e.length;for(let la=0,Wa=i.length;la<Wa;la++){let Db=i[la];for(;ha<ja&&e[ha].position.isBefore(Db);)ha++;if(ha<ja&&e[ha].position.equals(Db))r[O++]=e[ha];else{let Hb=b.matchBracket(Db),Pb=$b._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;Hb||"always"!==this._matchBrackets||(Hb=b.findEnclosingBrackets(Db,20),Pb=$b._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),r[O++]=new ec(Db,Hb,Pb)}}this._lastBracketsData=r,this._lastVersionId=c}}$b.ID="editor.contrib.bracketMatchingController",$b._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Eb.a.register({stickiness:1,className:"bracket-match",overviewRuler:{color:Object(Oa.h)(kb),position:mc.d.Center}}),$b._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Eb.a.register({stickiness:1,className:"bracket-match"}),Object(ba.m)($b.ID,$b),Object(ba.k)(oc),Object(ba.k)(tb),Object(Oa.g)((a,b)=>{const c=a.getColor(qb.c);c&&b.addRule(`.monaco-editor .bracket-match { background-color: ${c}; }`);const e=a.getColor(qb.d);e&&b.addRule(`.monaco-editor .bracket-match { border: 1px solid ${e}; }`)}),Qa.d.appendMenuItem(Qa.b.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:$.a({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class Hc{constructor(a,b){this._selection=a,this._isMovingLeft=b}getEditOperations(a,b){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const c=this._selection.startLineNumber,e=this._selection.startColumn,i=this._selection.endColumn;if((!this._isMovingLeft||1!==e)&&(this._isMovingLeft||i!==a.getLineMaxColumn(c)))if(this._isMovingLeft){const p=new pb.a(c,e-1,c,e),r=a.getValueInRange(p);b.addEditOperation(p,null),b.addEditOperation(new pb.a(c,i,c,i),r)}else{const p=new pb.a(c,i,c,i+1),r=a.getValueInRange(p);b.addEditOperation(p,null),b.addEditOperation(new pb.a(c,e,c,e),r)}}computeCursorState(a,b){return this._isMovingLeft?new aa.a(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new aa.a(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class Bc extends ba.b{constructor(a,b){super(b),this.left=a}run(a,b){if(!b.hasModel())return;let c=[],e=b.getSelections();for(const i of e)c.push(new Hc(i,this.left));b.pushUndoStop(),b.executeCommands(this.id,c),b.pushUndoStop()}}Object(ba.k)(class extends Bc{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:$.a("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:S.a.writable})}}),Object(ba.k)(class extends Bc{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:$.a("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:S.a.writable})}});var Vc=f(62),Ic=f(81);class xc extends ba.b{constructor(){super({id:"editor.action.transposeLetters",label:$.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(a,b){if(!b.hasModel())return;let c=b.getModel(),e=[],i=b.getSelections();for(let p of i){if(!p.isEmpty())continue;let r=p.startLineNumber,O=p.startColumn,ha=c.getLineMaxColumn(r);if(1===r&&(1===O||2===O&&2===ha))continue;let ja=O===ha?p.getPosition():Ic.a.rightPosition(c,p.getPosition().lineNumber,p.getPosition().column),la=Ic.a.leftPosition(c,ja.lineNumber,ja.column),Wa=Ic.a.leftPosition(c,la.lineNumber,la.column),Db=c.getValueInRange(pb.a.fromPositions(Wa,la)),Hb=c.getValueInRange(pb.a.fromPositions(la,ja)),Pb=pb.a.fromPositions(Wa,ja);e.push(new Vc.a(Pb,Hb+Db))}e.length>0&&(b.pushUndoStop(),b.executeCommands(this.id,e),b.pushUndoStop())}}Object(ba.k)(xc);var nb=f(34),zb=f(11),dc=f(167),Dc=f(41),Pc=f(121),Nc=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const Ed=zb.g||document.queryCommandSupported("cut"),ad=zb.g||document.queryCommandSupported("copy"),ud=ad&&!nb.f,Od=!nb.h||document.queryCommandSupported("paste");function wd(a){return a.register(),a}const Dd=Ed?wd(new ba.e({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:zb.g?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:Qa.b.MenubarEditMenu,group:"2_ccp",title:$.a({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:Qa.b.EditorContext,group:"9_cutcopypaste",title:$.a("actions.clipboard.cutLabel","Cut"),when:S.a.writable,order:1},{menuId:Qa.b.CommandPalette,group:"",title:$.a("actions.clipboard.cutLabel","Cut"),order:1}]})):void 0,ce=ad?wd(new ba.e({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:zb.g?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:Qa.b.MenubarEditMenu,group:"2_ccp",title:$.a({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:Qa.b.EditorContext,group:"9_cutcopypaste",title:$.a("actions.clipboard.copyLabel","Copy"),order:2},{menuId:Qa.b.CommandPalette,group:"",title:$.a("actions.clipboard.copyLabel","Copy"),order:1}]})):void 0,_d=Od?wd(new ba.e({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:zb.g?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:Qa.b.MenubarEditMenu,group:"2_ccp",title:$.a({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3},{menuId:Qa.b.EditorContext,group:"9_cutcopypaste",title:$.a("actions.clipboard.pasteLabel","Paste"),when:S.a.writable,order:3},{menuId:Qa.b.CommandPalette,group:"",title:$.a("actions.clipboard.pasteLabel","Paste"),order:1}]})):void 0;class oe extends ba.b{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:$.a("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,weight:100}})}run(a,b){if(!b.hasModel())return;!b.getOption(26)&&b.getSelection().isEmpty()||(dc.a.forceCopyWithSyntaxHighlighting=!0,b.focus(),document.execCommand("copy"),dc.a.forceCopyWithSyntaxHighlighting=!1)}}function nd(a,b){a&&(a.addImplementation(1e4,(c,e)=>{const i=c.get(Dc.a).getFocusedCodeEditor();if(i&&i.hasTextFocus()){const p=i.getOption(26),r=i.getSelection();return r&&r.isEmpty()&&!p||document.execCommand(b),!0}return!1}),a.addImplementation(0,(c,e)=>(document.execCommand(b),!0)))}nd(Dd,"cut"),nd(ce,"copy"),_d&&(_d.addImplementation(1e4,(a,b)=>{const c=a.get(Dc.a),e=a.get(Pc.a),i=c.getFocusedCodeEditor();return i&&i.hasTextFocus()?!(!document.execCommand("paste")&&zb.h)||(Nc(void 0,void 0,void 0,function*(){const p=yield e.readText();if(""!==p){const r=dc.b.INSTANCE.get(p);let O=!1,ha=null,ja=null;r&&(O=i.getOption(26)&&!!r.isFromEmptySelection,ha=void 0!==r.multicursorText?r.multicursorText:null,ja=r.mode),i.trigger("keyboard","paste",{text:p,pasteOnNewLine:O,multicursorText:ha,mode:ja})}}),!0):!1}),_d.addImplementation(0,(a,b)=>(document.execCommand("paste"),!0))),ud&&Object(ba.k)(oe);class Qd{constructor(a){this.executor=a,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(a){this._error=a}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var jd=f(8),de=f(148),Gd=f(25),xd=f(23),K=f(88),W=f(12),ia=f(64);class Ha{constructor(a){this.value=a}equals(a){return this.value===a.value}contains(a){return this.equals(a)||""===this.value||Object(jd.S)(a.value,this.value+Ha.sep)}intersects(a){return this.contains(a)||a.contains(this)}append(a){return new Ha(this.value+Ha.sep+a)}}function Ta(a,b,c){return!!b.contains(a)&&(!c||!b.contains(c))}Ha.sep=".",Ha.None=new Ha("@@none@@"),Ha.Empty=new Ha(""),Ha.QuickFix=new Ha("quickfix"),Ha.Refactor=new Ha("refactor"),Ha.Source=new Ha("source"),Ha.SourceOrganizeImports=Ha.Source.append("organizeImports"),Ha.SourceFixAll=Ha.Source.append("fixAll");class db{constructor(a,b,c){this.kind=a,this.apply=b,this.preferred=c}static fromUser(a,b){return a&&"object"==typeof a?new db(db.getKindFromUser(a,b.kind),db.getApplyFromUser(a,b.apply),db.getPreferredUser(a)):new db(b.kind,b.apply,!1)}static getApplyFromUser(a,b){switch("string"==typeof a.apply?a.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return b}}static getKindFromUser(a,b){return"string"==typeof a.kind?new Ha(a.kind):b}static getPreferredUser(a){return"boolean"==typeof a.preferred&&a.preferred}}var yb=f(83),Bb=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Jb extends Nb.a{constructor(a,b,c){super(),this.documentation=b,this._register(c),this.allActions=Object(ka.p)([...a],Jb.codeActionsComparator),this.validActions=this.allActions.filter(e=>!e.disabled)}static codeActionsComparator(a,b){return a.isPreferred&&!b.isPreferred?-1:!a.isPreferred&&b.isPreferred?1:Object(ka.o)(a.diagnostics)?Object(ka.o)(b.diagnostics)?a.diagnostics[0].message.localeCompare(b.diagnostics[0].message):-1:Object(ka.o)(b.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(a=>!!a.kind&&Ha.QuickFix.contains(new Ha(a.kind))&&!!a.isPreferred)}}const xb={actions:[],documentation:void 0};function Lb(a,b,c,e,i){var p;const r=c.filter||{},O={only:null===(p=r.include)||void 0===p?void 0:p.value,trigger:c.type},ha=new K.d(a,i),ja=function(Hb,Pb){return W.a.all(Hb).filter(lc=>!lc.providedCodeActionKinds||lc.providedCodeActionKinds.some(Ac=>function(Tc,$c){return!(Tc.include&&!Tc.include.intersects($c))&&((!Tc.excludes||!Tc.excludes.some(Uc=>Ta($c,Uc,Tc.include)))&&!(!Tc.includeSourceActions&&Ha.Source.contains($c)))}(Pb,new Ha(Ac))))}(a,r),la=new Nb.b(),Wa=ja.map(Hb=>Bb(this,void 0,void 0,function*(){try{e.report(Hb);const Pb=yield Hb.provideCodeActions(a,b,O,ha.token);if(Pb&&la.add(Pb),ha.token.isCancellationRequested)return xb;const lc=((null==Pb?void 0:Pb.actions)||[]).filter(Ac=>Ac&&function(Tc,$c){const Uc=$c.kind?new Ha($c.kind):void 0;return!!(!Tc.include||Uc&&Tc.include.contains(Uc))&&(!(Tc.excludes&&Uc&&Tc.excludes.some(dd=>Ta(Uc,dd,Tc.include)))&&(!(!Tc.includeSourceActions&&Uc&&Ha.Source.contains(Uc))&&!(Tc.onlyIncludePreferredActions&&!$c.isPreferred)))}(r,Ac));return{actions:lc,documentation:function(Ac,Tc,$c){if(!Ac.documentation)return;const Uc=Ac.documentation.map(dd=>({kind:new Ha(dd.kind),command:dd.command}));if($c){let dd;for(const Jd of Uc)Jd.kind.contains($c)&&(dd?dd.kind.contains(Jd.kind)&&(dd=Jd):dd=Jd);if(dd)return null==dd?void 0:dd.command}for(const dd of Tc)if(dd.kind){for(const Jd of Uc)if(Jd.kind.contains(new Ha(dd.kind)))return Jd.command}return}(Hb,lc,r.include)}}catch(Pb){if(Object(La.d)(Pb))throw Pb;return Object(La.f)(Pb),xb}})),Db=W.a.onDidChange(()=>{const Hb=W.a.all(a);Object(ka.g)(Hb,ja)||ha.cancel()});return Promise.all(Wa).then(Hb=>{const Pb=Object(ka.l)(Hb.map(Ac=>Ac.actions)),lc=Object(ka.d)(Hb.map(Ac=>Ac.documentation));return new Jb(Pb,lc,la)}).finally(()=>{Db.dispose(),ha.dispose()})}Object(ba.o)("_executeCodeActionProvider",function(a,b){return Bb(this,void 0,void 0,function*(){const{resource:c,rangeOrSelection:e,kind:i}=b;if(!(c instanceof xd.a))throw Object(La.b)();const p=a.get(ia.a).getModel(c);if(!p)throw Object(La.b)();const r=aa.a.isISelection(e)?aa.a.liftSelection(e):pb.a.isIRange(e)?p.validateRange(e):void 0;if(!r)throw Object(La.b)();const O=yield Lb(p,r,{type:2,filter:{includeSourceActions:!0,include:i&&i.value?new Ha(i.value):void 0}},yb.b.None,Gd.a.None);return setTimeout(()=>O.dispose(),100),O.validActions})}),f(285);var Ub=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},pc=function(a,b){return function(c,e){b(c,e,a)}};let yc=class a extends Nb.a{constructor(b,c){super(),this._messageWidget=this._register(new Nb.d()),this._messageListeners=this._register(new Nb.b()),this._editor=b,this._visible=a.MESSAGE_VISIBLE.bindTo(c),this._register(this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}static get(b){return b.getContribution(a.ID)}dispose(){super.dispose(),this._visible.reset()}showMessage(b,c){let e;Object(tc.a)(b),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new X(this._editor,c,b),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new sc.e(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(i=>{i.target.position&&(e?e.containsPosition(i.target.position)||this.closeMessage():e=new pb.a(c.lineNumber-3,1,i.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(X.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage($.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};yc.ID="editor.contrib.messageController",yc.MESSAGE_VISIBLE=new I.c("messageVisible",!1),yc=Ub([pc(1,I.b)],yc);const Ec=ba.c.bindToContribution(yc.get);Object(ba.l)(new Ec({id:"leaveEditorMessage",precondition:yc.MESSAGE_VISIBLE,handler:a=>a.closeMessage(),kbOpts:{weight:130,primary:9}}));class X{constructor(a,{lineNumber:b,column:c},e){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=a,this._editor.revealLinesInCenterIfOutsideViewport(b,b,0),this._position={lineNumber:b,column:c-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const i=document.createElement("div");i.classList.add("message"),i.textContent=e,this._domNode.appendChild(i);const p=document.createElement("div");p.classList.add("anchor"),this._domNode.appendChild(p),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(a){let b;const c=()=>{a.dispose(),clearTimeout(b),a.getDomNode().removeEventListener("animationend",c)};return b=setTimeout(c,110),a.getDomNode().addEventListener("animationend",c),a.getDomNode().classList.add("fadeOut"),{dispose:c}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}}Object(ba.m)(yc.ID,yc),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.mb);if(c){let p=a.type===Oa.b?2:1;b.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: ${c}; }`),b.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${p}px solid ${c}; }`)}const e=a.getColor(Va.lb);e&&b.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${e}; }`);const i=a.getColor(Va.nb);i&&b.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${i}; }`)});var xa=f(18),qa=f(1),mb=f(60),ub=f(84),Rb=f(50),jc=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Xb=function(a,b){return function(c,e){b(c,e,a)}},wa=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class fa extends mb.a{constructor(a,b){super(a.command?a.command.id:a.title,a.title,void 0,!a.disabled,b),this.action=a}}let ra=class extends Nb.a{constructor(a,b,c,e){super(),this._editor=a,this._delegate=b,this._contextMenuService=c,this._visible=!1,this._showingActions=this._register(new Nb.d()),this._keybindingResolver=new Ra({getKeybindings:()=>e.getKeybindings()})}get isVisible(){return this._visible}show(a,b,c,e){return wa(this,void 0,void 0,function*(){const i=e.includeDisabledActions?b.allActions:b.validActions;if(!i.length)return void(this._visible=!1);if(!this._editor.getDomNode())throw this._visible=!1,Object(La.a)();this._visible=!0,this._showingActions.value=b;const p=this.getMenuActions(a,i,b.documentation),r=Fc.a.isIPosition(c)?this._toCoords(c):c||{x:0,y:0},O=this._keybindingResolver.getResolver();this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>r,getActions:()=>p,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:ha=>ha instanceof fa?O(ha.action):void 0})})}getMenuActions(a,b,c){var e,i;const p=ja=>new fa(ja,()=>this._delegate.onSelectCodeAction(ja)),r=b.map(p),O=[...c],ha=this._editor.getModel();if(ha&&r.length)for(const ja of W.a.all(ha))ja._getAdditionalMenuItems&&O.push(...ja._getAdditionalMenuItems({trigger:a.type,only:null===(i=null===(e=a.filter)||void 0===e?void 0:e.include)||void 0===i?void 0:i.value},b));return O.length&&r.push(new mb.c(),...O.map(ja=>p({title:ja.title,command:ja}))),r}_toCoords(a){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(a,1),this._editor.render();const b=this._editor.getScrolledVisiblePosition(a),c=Object(qa.C)(this._editor.getDomNode());return{x:c.left+b.left,y:c.top+b.top+b.height}}};ra=jc([Xb(2,ub.a),Xb(3,Rb.a)],ra);class Ra{constructor(a){this._keybindingProvider=a}getResolver(){const a=new Qd(()=>this._keybindingProvider.getKeybindings().filter(b=>Ra.codeActionCommands.indexOf(b.command)>=0).filter(b=>b.resolvedKeybinding).map(b=>{let c=b.commandArgs;return"editor.action.organizeImports"===b.command?c={kind:Ha.SourceOrganizeImports.value}:"editor.action.fixAll"===b.command&&(c={kind:Ha.SourceFixAll.value}),Object.assign({resolvedKeybinding:b.resolvedKeybinding},db.fromUser(c,{kind:Ha.None,apply:"never"}))}));return b=>{if(b.kind){const c=this.bestKeybindingForCodeAction(b,a.getValue());return null==c?void 0:c.resolvedKeybinding}}}bestKeybindingForCodeAction(a,b){if(!a.kind)return;const c=new Ha(a.kind);return b.filter(e=>e.kind.contains(c)).filter(e=>!e.preferred||a.isPreferred).reduceRight((e,i)=>e?e.kind.contains(i.kind)?i:e:i,void 0)}}Ra.codeActionCommands=["editor.action.refactor","editor.action.codeAction","editor.action.sourceAction","editor.action.organizeImports","editor.action.fixAll"];var ab,Ya=f(103),jb=f(6),Sb=(f(287),f(61)),Yb=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},rc=function(a,b){return function(c,e){b(c,e,a)}};!function(a){a.Hidden={type:0},a.Showing=class{constructor(b,c,e,i){this.actions=b,this.trigger=c,this.editorPosition=e,this.widgetPosition=i,this.type=1}}}(ab||(ab={}));let zc=class a extends Nb.a{constructor(b,c,e,i){super(),this._editor=b,this._quickFixActionId=c,this._preferredFixActionId=e,this._keybindingService=i,this._onClick=this._register(new jb.a()),this.onClick=this._onClick.event,this._state=ab.Hidden,this._domNode=document.createElement("div"),this._domNode.className=va.a.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(p=>{const r=this._editor.getModel();(1!==this.state.type||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),Sb.b.ignoreTarget(this._domNode),this._register(qa.m(this._domNode,p=>{if(1!==this.state.type)return;this._editor.focus(),p.preventDefault();const{top:r,height:O}=qa.C(this._domNode),ha=this._editor.getOption(51);let ja=Math.floor(ha/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(ja+=ha),this._onClick.fire({x:p.posx,y:r+O+ja,actions:this.state.actions,trigger:this.state.trigger})})),this._register(qa.i(this._domNode,"mouseenter",p=>{if(1!=(1&p.buttons))return;this.hide();const r=new Ya.a();r.startMonitoring(p.target,p.buttons,Ya.b,()=>{},()=>{r.dispose()})})),this._register(this._editor.onDidChangeConfiguration(p=>{p.hasChanged(49)&&!this._editor.getOption(49).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(b,c,e){if(b.validActions.length<=0)return this.hide();const i=this._editor.getOptions();if(!i.get(49).enabled)return this.hide();const p=this._editor.getModel();if(!p)return this.hide();const{lineNumber:r,column:O}=p.validatePosition(e),ha=p.getOptions().tabSize,ja=i.get(36),la=p.getLineContent(r),Wa=Eb.b.computeIndentLevel(la,ha),Db=Pb=>Pb>2&&this._editor.getTopForLineNumber(Pb)===this._editor.getTopForLineNumber(Pb-1);let Hb=r;if(!(ja.spaceWidth*Wa>22))if(r>1&&!Db(r-1))Hb-=1;else if(Db(r+1)){if(O*ja.spaceWidth<22)return this.hide()}else Hb+=1;this.state=new ab.Showing(b,c,e,{position:{lineNumber:Hb,column:1},preference:a._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=ab.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(b){this._state=b,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(1===this.state.type&&this.state.actions.hasAutoFix){qa.R(this._domNode,va.a.lightBulb.classNames),qa.f(this._domNode,va.a.lightbulbAutofix.classNames);const c=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(c)return void(this.title=$.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",c.getLabel()))}qa.R(this._domNode,va.a.lightbulbAutofix.classNames),qa.f(this._domNode,va.a.lightBulb.classNames);const b=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=b?$.a("quickFixWithKb","Show Fixes ({0})",b.getLabel()):$.a("quickFix","Show Fixes")}set title(b){this._domNode.title=b}};zc._posPref=[0],zc=Yb([rc(3,Rb.a)],zc),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.N);c&&b.addRule(` - .monaco-editor .contentWidgets ${va.a.lightBulb.cssSelector} { - color: ${c}; - }`);const e=a.getColor(Va.M);e&&b.addRule(` - .monaco-editor .contentWidgets ${va.a.lightbulbAutofix.cssSelector} { - color: ${e}; - }`)});var _b=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},qc=function(a,b){return function(c,e){b(c,e,a)}},nc=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let Aa=class extends Nb.a{constructor(a,b,c,e,i){super(),this._editor=a,this.delegate=e,this._activeCodeActions=this._register(new Nb.d()),this._codeActionWidget=new Qd(()=>this._register(i.createInstance(ra,this._editor,{onSelectCodeAction:p=>nc(this,void 0,void 0,function*(){this.delegate.applyCodeAction(p,!0)})}))),this._lightBulbWidget=new Qd(()=>{const p=this._register(i.createInstance(zc,this._editor,b,c));return this._register(p.onClick(r=>this.showCodeActionList(r.trigger,r.actions,r,{includeDisabledActions:!1}))),p})}update(a){var b,c,e;return nc(this,void 0,void 0,function*(){if(1!==a.type)return void(null===(b=this._lightBulbWidget.rawValue)||void 0===b||b.hide());let i;try{i=yield a.actions}catch(p){return void Object(La.e)(p)}if(this._lightBulbWidget.getValue().update(i,a.trigger,a.position),2===a.trigger.type){if(null===(c=a.trigger.filter)||void 0===c?void 0:c.include){const r=this.tryGetValidActionToApply(a.trigger,i);if(r){try{yield this.delegate.applyCodeAction(r,!1)}finally{i.dispose()}return}if(a.trigger.context){const O=this.getInvalidActionThatWouldHaveBeenApplied(a.trigger,i);if(O&&O.disabled)return yc.get(this._editor).showMessage(O.disabled,a.trigger.context.position),void i.dispose()}}const p=!!(null===(e=a.trigger.filter)||void 0===e?void 0:e.include);if(a.trigger.context&&(!i.allActions.length||!p&&!i.validActions.length))return yc.get(this._editor).showMessage(a.trigger.context.notAvailableMessage,a.trigger.context.position),this._activeCodeActions.value=i,void i.dispose();this._activeCodeActions.value=i,this._codeActionWidget.getValue().show(a.trigger,i,a.position,{includeDisabledActions:p})}else this._codeActionWidget.getValue().isVisible?i.dispose():this._activeCodeActions.value=i})}getInvalidActionThatWouldHaveBeenApplied(a,b){if(b.allActions.length)return"first"===a.autoApply&&0===b.validActions.length||"ifSingle"===a.autoApply&&1===b.allActions.length?b.allActions.find(c=>c.disabled):void 0}tryGetValidActionToApply(a,b){if(b.validActions.length)return"first"===a.autoApply&&b.validActions.length>0||"ifSingle"===a.autoApply&&1===b.validActions.length?b.validActions[0]:void 0}showCodeActionList(a,b,c,e){return nc(this,void 0,void 0,function*(){this._codeActionWidget.getValue().show(a,b,c,e)})}};Aa=_b([qc(4,xa.a)],Aa);var ya=f(27),pa=f(63),Ja=f(49),Na=f(120),Pa=f(51);const Fa=new I.c("supportedCodeAction","");class Xa extends Nb.a{constructor(a,b,c,e=250){super(),this._editor=a,this._markerService=b,this._signalChange=c,this._delay=e,this._autoTriggerTimer=this._register(new sc.e()),this._register(this._markerService.onMarkerChanged(i=>this._onMarkerChanges(i))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(a){const b=this._getRangeOfSelectionUnlessWhitespaceEnclosed(a);return this._createEventAndSignalChange(a,b)}_onMarkerChanges(a){const b=this._editor.getModel();b&&a.some(c=>Object(Pa.f)(c,b.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_getRangeOfMarker(a){const b=this._editor.getModel();if(b)for(const c of this._markerService.read({resource:b.uri})){const e=b.validateRange(c);if(pb.a.intersectRanges(e,a))return pb.a.lift(e)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(a){if(!this._editor.hasModel())return;const b=this._editor.getModel(),c=this._editor.getSelection();if(c.isEmpty()&&1===a.type){const{lineNumber:e,column:i}=c.getPosition(),p=b.getLineContent(e);if(0===p.length)return;if(1===i){if(/\s/.test(p[0]))return}else if(i===b.getLineMaxColumn(e)){if(/\s/.test(p[p.length-1]))return}else if(/\s/.test(p[i-2])&&/\s/.test(p[i-1]))return}return c}_createEventAndSignalChange(a,b){const c=this._editor.getModel();if(!b||!c)return void this._signalChange(void 0);const e=this._getRangeOfMarker(b),i=e?e.getStartPosition():b.getStartPosition(),p={trigger:a,selection:b,position:i};return this._signalChange(p),p}}var lb;!function(a){a.Empty={type:0},a.Triggered=class{constructor(b,c,e,i){this.trigger=b,this.rangeOrSelection=c,this.position=e,this.actions=i,this.type=1}}}(lb||(lb={}));class sb extends Nb.a{constructor(a,b,c,e){super(),this._editor=a,this._markerService=b,this._progressService=e,this._codeActionOracle=this._register(new Nb.d()),this._state=lb.Empty,this._onDidChangeState=this._register(new jb.a()),this.onDidChangeState=this._onDidChangeState.event,this._supportedCodeActions=Fa.bindTo(c),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(W.a.onDidChange(()=>this._update())),this._update()}dispose(){super.dispose(),this.setState(lb.Empty,!0)}_update(){this._codeActionOracle.value=void 0,this.setState(lb.Empty);const a=this._editor.getModel();if(a&&W.a.has(a)&&!this._editor.getOption(72)){const b=[];for(const c of W.a.all(a))Array.isArray(c.providedCodeActionKinds)&&b.push(...c.providedCodeActionKinds);this._supportedCodeActions.set(b.join(" ")),this._codeActionOracle.value=new Xa(this._editor,this._markerService,c=>{var e;if(!c)return void this.setState(lb.Empty);const i=Object(sc.f)(p=>Lb(a,c.selection,c.trigger,yb.b.None,p));2===c.trigger.type&&(null===(e=this._progressService)||void 0===e||e.showWhile(i,250)),this.setState(new lb.Triggered(c.trigger,c.selection,c.position,i))},void 0),this._codeActionOracle.value.trigger({type:1})}else this._supportedCodeActions.reset()}trigger(a){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(a)}setState(a,b){a!==this._state&&(1===this._state.type&&this._state.actions.cancel(),this._state=a,b||this._onDidChangeState.fire(a))}}var vb=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Vb=function(a,b){return function(c,e){b(c,e,a)}},hc=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};function Tb(a){return I.a.regex(Fa.keys()[0],new RegExp("(\\s|^)"+Object(jd.v)(a.value)+"\\b"))}const cc={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:$.a("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:$.a("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[$.a("args.schema.apply.first","Always apply the first returned code action."),$.a("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),$.a("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:$.a("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};let Rc=class a extends Nb.a{constructor(b,c,e,i,p){super(),this._instantiationService=p,this._editor=b,this._model=this._register(new sb(this._editor,c,e,i)),this._register(this._model.onDidChangeState(r=>this.update(r))),this._ui=new Qd(()=>this._register(new Aa(b,Wb.Id,md.Id,{applyCodeAction:(r,O)=>hc(this,void 0,void 0,function*(){try{yield this._applyCodeAction(r)}finally{O&&this._trigger({type:1,filter:{}})}})},this._instantiationService)))}static get(b){return b.getContribution(a.ID)}update(b){this._ui.getValue().update(b)}showCodeActions(b,c,e){return this._ui.getValue().showCodeActionList(b,c,e,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(b,c,e){if(!this._editor.hasModel())return;yc.get(this._editor).closeMessage();const i=this._editor.getPosition();this._trigger({type:2,filter:c,autoApply:e,context:{notAvailableMessage:b,position:i}})}_trigger(b){return this._model.trigger(b)}_applyCodeAction(b){return this._instantiationService.invokeFunction(gd,b,this._editor)}};function gd(a,b,c){return hc(this,void 0,void 0,function*(){const e=a.get(de.a),i=a.get(ya.b),p=a.get(Na.a),r=a.get(Ja.a);if(p.publicLog2("codeAction.applyCodeAction",{codeActionTitle:b.title,codeActionKind:b.kind,codeActionIsPreferred:!!b.isPreferred}),b.edit&&(yield e.apply(de.b.convert(b.edit),{editor:c,label:b.title})),b.command)try{yield i.executeCommand(b.command.id,...b.command.arguments||[])}catch(O){const ha=function(ja){return"string"==typeof ja?ja:ja instanceof Error&&"string"==typeof ja.message?ja.message:void 0}(O);r.error("string"==typeof ha?ha:$.a("applyCodeActionFailed","An unknown error occurred while applying the code action"))}})}function od(a,b,c,e){if(a.hasModel()){const i=Rc.get(a);i&&i.manualTriggerAtCurrentPosition(b,c,e)}}Rc.ID="editor.contrib.quickFixController",Rc=vb([Vb(1,pa.b),Vb(2,I.b),Vb(3,yb.a),Vb(4,xa.a)],Rc);class Wb extends ba.b{constructor(){super({id:Wb.Id,label:$.a("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:I.a.and(S.a.writable,S.a.hasCodeActionsProvider),kbOpts:{kbExpr:S.a.editorTextFocus,primary:2132,weight:100}})}run(a,b){return od(b,$.a("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}Wb.Id="editor.action.quickFix";class Zb extends ba.c{constructor(){super({id:"editor.action.codeAction",precondition:I.a.and(S.a.writable,S.a.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:cc}]}})}runEditorCommand(a,b,c){const e=db.fromUser(c,{kind:Ha.Empty,apply:"ifSingle"});return od(b,"string"==typeof(null==c?void 0:c.kind)?e.preferred?$.a("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",c.kind):$.a("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",c.kind):e.preferred?$.a("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):$.a("editor.action.codeAction.noneMessage","No code actions available"),{include:e.kind,includeSourceActions:!0,onlyIncludePreferredActions:e.preferred},e.apply)}}class kc extends ba.b{constructor(){super({id:"editor.action.refactor",label:$.a("refactor.label","Refactor..."),alias:"Refactor...",precondition:I.a.and(S.a.writable,S.a.hasCodeActionsProvider),kbOpts:{kbExpr:S.a.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:I.a.and(S.a.writable,Tb(Ha.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:cc}]}})}run(a,b,c){const e=db.fromUser(c,{kind:Ha.Refactor,apply:"never"});return od(b,"string"==typeof(null==c?void 0:c.kind)?e.preferred?$.a("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",c.kind):$.a("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",c.kind):e.preferred?$.a("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):$.a("editor.action.refactor.noneMessage","No refactorings available"),{include:Ha.Refactor.contains(e.kind)?e.kind:Ha.None,onlyIncludePreferredActions:e.preferred},e.apply)}}class hd extends ba.b{constructor(){super({id:"editor.action.sourceAction",label:$.a("source.label","Source Action..."),alias:"Source Action...",precondition:I.a.and(S.a.writable,S.a.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:I.a.and(S.a.writable,Tb(Ha.Source))},description:{description:"Source Action...",args:[{name:"args",schema:cc}]}})}run(a,b,c){const e=db.fromUser(c,{kind:Ha.Source,apply:"never"});return od(b,"string"==typeof(null==c?void 0:c.kind)?e.preferred?$.a("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",c.kind):$.a("editor.action.source.noneMessage.kind","No source actions for '{0}' available",c.kind):e.preferred?$.a("editor.action.source.noneMessage.preferred","No preferred source actions available"):$.a("editor.action.source.noneMessage","No source actions available"),{include:Ha.Source.contains(e.kind)?e.kind:Ha.None,includeSourceActions:!0,onlyIncludePreferredActions:e.preferred},e.apply)}}class ld extends ba.b{constructor(){super({id:"editor.action.organizeImports",label:$.a("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:I.a.and(S.a.writable,Tb(Ha.SourceOrganizeImports)),kbOpts:{kbExpr:S.a.editorTextFocus,primary:1581,weight:100}})}run(a,b){return od(b,$.a("editor.action.organize.noneMessage","No organize imports action available"),{include:Ha.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class fd extends ba.b{constructor(){super({id:"editor.action.fixAll",label:$.a("fixAll.label","Fix All"),alias:"Fix All",precondition:I.a.and(S.a.writable,Tb(Ha.SourceFixAll))})}run(a,b){return od(b,$.a("fixAll.noneMessage","No fix all action available"),{include:Ha.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class md extends ba.b{constructor(){super({id:md.Id,label:$.a("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:I.a.and(S.a.writable,Tb(Ha.QuickFix)),kbOpts:{kbExpr:S.a.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(a,b){return od(b,$.a("editor.action.autoFix.noneMessage","No auto fixes available"),{include:Ha.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}md.Id="editor.action.autoFix",Object(ba.m)(Rc.ID,Rc),Object(ba.k)(Wb),Object(ba.k)(kc),Object(ba.k)(hd),Object(ba.k)(ld),Object(ba.k)(md),Object(ba.k)(fd),Object(ba.l)(new Zb());class rd{constructor(){this.lenses=[],this._disposables=new Nb.b()}dispose(){this._disposables.dispose()}add(a,b){this._disposables.add(a);for(const c of a.lenses)this.lenses.push({symbol:c,provider:b})}}function yd(a,b){const c=W.b.ordered(a),e=new Map(),i=new rd(),p=c.map((r,O)=>(e.set(r,O),Promise.resolve(r.provideCodeLenses(a,b)).then(ha=>ha&&i.add(ha,r)).catch(La.f)));return Promise.all(p).then(()=>(i.lenses=Object(ka.p)(i.lenses,(r,O)=>r.symbol.range.startLineNumber<O.symbol.range.startLineNumber?-1:r.symbol.range.startLineNumber>O.symbol.range.startLineNumber?1:e.get(r.provider)<e.get(O.provider)?-1:e.get(r.provider)>e.get(O.provider)?1:r.symbol.range.startColumn<O.symbol.range.startColumn?-1:r.symbol.range.startColumn>O.symbol.range.startColumn?1:0),i))}Object(ba.o)("_executeCodeLensProvider",function(a,b){let{resource:c,itemResolveCount:e}=b;if(!(c instanceof xd.a))throw Object(La.b)();const i=a.get(ia.a).getModel(c);if(!i)throw Object(La.b)();const p=[],r=new Nb.b();return yd(i,Gd.a.None).then(O=>{r.add(O);let ha=[];for(const ja of O.lenses)void 0===e||Boolean(ja.symbol.command)?p.push(ja.symbol):e-- >0&&ja.provider.resolveCodeLens&&ha.push(Promise.resolve(ja.provider.resolveCodeLens(i,ja.symbol,Gd.a.None)).then(la=>p.push(la||ja.symbol)));return Promise.all(ha)}).then(()=>p).finally(()=>{setTimeout(()=>r.dispose(),100)})}),f(289);class Vd{constructor(a,b){this.afterLineNumber=a,this._onHeight=b,this.heightInLines=1,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(a){void 0===this._lastHeight?this._lastHeight=a:this._lastHeight!==a&&(this._lastHeight=a,this._onHeight())}}class Sd{constructor(a,b,c){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map(),this._isEmpty=!0,this._editor=a,this._id="codelens.widget-"+Sd._idPool++,this.updatePosition(c),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration "+b}withCommands(a,b){this._commands.clear();let c="",e=!1;for(let i=0;i<a.length;i++){const p=a[i];if(p&&(e=!0,p.command)){const r=Object(va.f)(Object(jd.u)(p.command.title));p.command.id?(c+=`<a id=${i}>${r}</a>`,this._commands.set(String(i),p.command)):c+=`<span>${r}</span>`,i+1<a.length&&(c+="<span> | </span>")}}e?(c||(c=" "),this._domNode.innerHTML=c,this._isEmpty&&b&&this._domNode.classList.add("fadein"),this._isEmpty=!1):this._domNode.innerHTML="<span>no commands</span>"}getCommand(a){return a.parentElement===this._domNode?this._commands.get(a.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(a){const b=this._editor.getModel().getLineFirstNonWhitespaceColumn(a);this._widgetPosition={position:{lineNumber:a,column:b},preference:[1]}}getPosition(){return this._widgetPosition||null}}Sd._idPool=0;class Ae{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(a,b){this._addDecorations.push(a),this._addDecorationsCallbacks.push(b)}removeDecoration(a){this._removeDecorations.push(a)}commit(a){let b=a.deltaDecorations(this._removeDecorations,this._addDecorations);for(let c=0,e=b.length;c<e;c++)this._addDecorationsCallbacks[c](b[c])}}class Ce{constructor(a,b,c,e,i,p){let r;this._isDisposed=!1,this._editor=b,this._className=c,this._data=a,this._decorationIds=[];let O=[];this._data.forEach((ha,ja)=>{ha.symbol.command&&O.push(ha.symbol),e.addDecoration({range:ha.symbol.range,options:Eb.a.EMPTY},la=>this._decorationIds[ja]=la),r=r?pb.a.plusRange(r,ha.symbol.range):pb.a.lift(ha.symbol.range)}),this._viewZone=new Vd(r.startLineNumber-1,p),this._viewZoneId=i.addZone(this._viewZone),O.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(O,!1))}_createContentWidgetIfNecessary(){this._contentWidget||(this._contentWidget=new Sd(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(a,b){this._decorationIds.forEach(a.removeDecoration,a),this._decorationIds=[],b&&b.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((a,b)=>{const c=this._editor.getModel().getDecorationRange(a),e=this._data[b].symbol;return!(!c||pb.a.isEmpty(e.range)!==c.isEmpty())})}updateCodeLensSymbols(a,b){this._decorationIds.forEach(b.removeDecoration,b),this._decorationIds=[],this._data=a,this._data.forEach((c,e)=>{b.addDecoration({range:c.symbol.range,options:Eb.a.EMPTY},i=>this._decorationIds[e]=i)})}computeIfNecessary(a){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let b=0;b<this._decorationIds.length;b++){const c=a.getDecorationRange(this._decorationIds[b]);c&&(this._data[b].symbol.range=c)}return this._data}updateCommands(a){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(a,!0);for(let b=0;b<this._data.length;b++){const c=a[b];if(c){const{symbol:e}=this._data[b];e.command=c.command||e.command}}}getCommand(a){var b;return null===(b=this._contentWidget)||void 0===b?void 0:b.getCommand(a)}getLineNumber(){const a=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return a?a.startLineNumber:-1}update(a){if(this.isValid()){const b=this._editor.getModel().getDecorationRange(this._decorationIds[0]);b&&(this._viewZone.afterLineNumber=b.startLineNumber-1,a.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(b.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}getItems(){return this._data}}Object(Oa.g)((a,b)=>{const c=a.getColor(qb.e);c&&(b.addRule(`.monaco-editor .codelens-decoration { color: ${c}; }`),b.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${c}; }`));const e=a.getColor(Va.r);e&&(b.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${e} !important; }`),b.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${e} !important; }`))});var Cd=f(115),Fd=f(78),Wd=f(97),pe=f(133),De=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ue=function(a,b){return function(c,e){b(c,e,a)}};const ve=Object(xa.c)("ICodeLensCache");class je{constructor(a,b){this.lineCount=a,this.data=b}}let zd=class{constructor(a){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}}(),this._cache=new Fd.a(20,.75),Object(sc.k)(()=>a.remove("codelens/cache",1));const b="codelens/cache2",c=a.get(b,1,"{}");this._deserialize(c),Object(pe.a)(a.onWillSaveState)(e=>{e.reason===Wd.c.SHUTDOWN&&a.store(b,this._serialize(),1)})}put(a,b){const c=b.lenses.map(p=>{var r;return{range:p.symbol.range,command:p.symbol.command&&{id:"",title:null===(r=p.symbol.command)||void 0===r?void 0:r.title}}}),e=new rd();e.add({lenses:c,dispose:()=>{}},this._fakeProvider);const i=new je(a.getLineCount(),e);this._cache.set(a.uri.toString(),i)}get(a){const b=this._cache.get(a.uri.toString());return b&&b.lineCount===a.getLineCount()?b.data:void 0}delete(a){this._cache.delete(a.uri.toString())}_serialize(){const a=Object.create(null);for(const[b,c]of this._cache){const e=new Set();for(const i of c.data.lenses)e.add(i.symbol.range.startLineNumber);a[b]={lineCount:c.lineCount,lines:[...e.values()]}}return JSON.stringify(a)}_deserialize(a){try{const b=JSON.parse(a);for(const c in b){const e=b[c],i=[];for(const r of e.lines)i.push({range:new pb.a(r,1,r,11)});const p=new rd();p.add({lenses:i,dispose(){}},this._fakeProvider),this._cache.set(c,new je(e.lineCount,p))}}catch(b){}}};zd=De([ue(0,Wd.a)],zd),Object(Cd.b)(ve,zd);var ye=f(89),Pe=f(110),kf=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},qe=function(a,b){return function(c,e){b(c,e,a)}},_f=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let Ff=class{constructor(a,b,c,e){this._editor=a,this._commandService=b,this._notificationService=c,this._codeLensCache=e,this._globalToDispose=new Nb.b(),this._localToDispose=new Nb.b(),this._lenses=[],this._oldCodeLensModels=new Nb.b(),this._modelChangeCounter=0,this._isEnabled=this._editor.getOption(11),this._globalToDispose.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeConfiguration(()=>{const i=this._isEnabled;this._isEnabled=this._editor.getOption(11),i!==this._isEnabled&&this._onModelChange()})),this._globalToDispose.add(W.b.onDidChange(this._onModelChange,this)),this._globalToDispose.add(this._editor.onDidChangeConfiguration(i=>{i.hasChanged(36)&&this._updateLensStyle()})),this._onModelChange(),this._styleClassName="_"+Object(ye.b)(this._editor.getId()).toString(16),this._styleElement=qa.v(qa.O(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){this._localDispose(),this._globalToDispose.dispose(),this._oldCodeLensModels.dispose(),Object(Nb.f)(this._currentCodeLensModel)}_updateLensStyle(){const a=this._editor.getOptions(),b=a.get(36),c=a.get(51),e=Math.round(1.1*c),i=Math.round(.9*b.fontSize),p=` - .monaco-editor .codelens-decoration.${this._styleClassName} { height: ${e}px; line-height: ${c}px; font-size: ${i}px; padding-right: ${Math.round(.45*b.fontSize)}px;} - .monaco-editor .codelens-decoration.${this._styleClassName} > a > .codicon { line-height: ${c}px; font-size: ${i}px; } - `;this._styleElement.textContent=p}_localDispose(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=void 0,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0),this._localToDispose.clear(),this._oldCodeLensModels.clear(),Object(Nb.f)(this._currentCodeLensModel)}_onModelChange(){this._localDispose();const a=this._editor.getModel();if(!a)return;if(!this._isEnabled)return;const b=this._codeLensCache.get(a);if(b&&this._renderCodeLensSymbols(b),!W.b.has(a))return void(b&&this._localToDispose.add(Object(sc.g)(()=>{const i=this._codeLensCache.get(a);b===i&&(this._codeLensCache.delete(a),this._onModelChange())},3e4)));for(const i of W.b.all(a))if("function"==typeof i.onDidChange){let p=i.onDidChange(()=>e.schedule());this._localToDispose.add(p)}const c=this._detectVisibleLenses=new sc.d(()=>this._onViewportChanged(),250),e=new sc.d(()=>{const i=++this._modelChangeCounter;this._currentFindCodeLensSymbolsPromise&&this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=Object(sc.f)(p=>yd(a,p)),this._currentFindCodeLensSymbolsPromise.then(p=>{i===this._modelChangeCounter&&(this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=p,this._codeLensCache.put(a,p),this._renderCodeLensSymbols(p),c.schedule())},La.e)},250);this._localToDispose.add(e),this._localToDispose.add(c),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(i=>{this._editor.changeViewZones(p=>{let r=[],O=-1;this._lenses.forEach(ja=>{ja.isValid()&&O!==ja.getLineNumber()?(ja.update(p),O=ja.getLineNumber()):r.push(ja)});let ha=new Ae();r.forEach(ja=>{ja.dispose(ha,p),this._lenses.splice(this._lenses.indexOf(ja),1)}),ha.commit(i)})}),c.schedule(),e.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(i=>{i.scrollTopChanged&&this._lenses.length>0&&c.schedule()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{c.schedule()})),this._localToDispose.add(Object(Nb.h)(()=>{if(this._editor.getModel()){const i=K.c.capture(this._editor);this._editor.changeDecorations(p=>{this._editor.changeViewZones(r=>{this._disposeAllLenses(p,r)})}),i.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseUp(i=>{if(9!==i.target.type)return;let p=i.target.element;if("SPAN"===(null==p?void 0:p.tagName)&&(p=p.parentElement),"A"===(null==p?void 0:p.tagName))for(const r of this._lenses){let O=r.getCommand(p);if(O){this._commandService.executeCommand(O.id,...O.arguments||[]).catch(ha=>this._notificationService.error(ha));break}}})),e.schedule()}_disposeAllLenses(a,b){const c=new Ae();for(const e of this._lenses)e.dispose(c,b);a&&c.commit(a),this._lenses=[]}_renderCodeLensSymbols(a){if(!this._editor.hasModel())return;let b,c=this._editor.getModel().getLineCount(),e=[];for(let p of a.lenses){let r=p.symbol.range.startLineNumber;r<1||r>c||(b&&b[b.length-1].symbol.range.startLineNumber===r?b.push(p):(b=[p],e.push(b)))}const i=K.c.capture(this._editor);this._editor.changeDecorations(p=>{this._editor.changeViewZones(r=>{const O=new Ae();let ha=0,ja=0;for(;ja<e.length&&ha<this._lenses.length;){let la=e[ja][0].symbol.range.startLineNumber,Wa=this._lenses[ha].getLineNumber();Wa<la?(this._lenses[ha].dispose(O,r),this._lenses.splice(ha,1)):Wa===la?(this._lenses[ha].updateCodeLensSymbols(e[ja],O),ja++,ha++):(this._lenses.splice(ha,0,new Ce(e[ja],this._editor,this._styleClassName,O,r,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),ha++,ja++)}for(;ha<this._lenses.length;)this._lenses[ha].dispose(O,r),this._lenses.splice(ha,1);for(;ja<e.length;)this._lenses.push(new Ce(e[ja],this._editor,this._styleClassName,O,r,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),ja++;O.commit(p)})}),i.restore(this._editor)}_onViewportChanged(){this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0);const a=this._editor.getModel();if(!a)return;const b=[],c=[];if(this._lenses.forEach(i=>{const p=i.computeIfNecessary(a);p&&(b.push(p),c.push(i))}),0===b.length)return;const e=Object(sc.f)(i=>{const p=b.map((r,O)=>{const ha=new Array(r.length),ja=r.map((la,Wa)=>la.symbol.command||"function"!=typeof la.provider.resolveCodeLens?(ha[Wa]=la.symbol,Promise.resolve(void 0)):Promise.resolve(la.provider.resolveCodeLens(a,la.symbol,i)).then(Db=>{ha[Wa]=Db},La.f));return Promise.all(ja).then(()=>{i.isCancellationRequested||c[O].isDisposed()||c[O].updateCommands(ha)})});return Promise.all(p)});this._currentResolveCodeLensSymbolsPromise=e,this._currentResolveCodeLensSymbolsPromise.then(()=>{this._currentCodeLensModel&&this._codeLensCache.put(a,this._currentCodeLensModel),this._oldCodeLensModels.clear(),e===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)},i=>{Object(La.e)(i),e===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)})}getLenses(){return this._lenses}};Ff.ID="css.editor.codeLens",Ff=kf([qe(1,ya.b),qe(2,Ja.a),qe(3,ve)],Ff),Object(ba.m)(Ff.ID,Ff),Object(ba.k)(class extends ba.b{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:S.a.hasCodeLensProvider,label:Object($.a)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(a,b){return _f(this,void 0,void 0,function*(){if(!b.hasModel())return;const c=a.get(Pe.a),e=a.get(ya.b),i=a.get(Ja.a),p=b.getSelection().positionLineNumber,r=b.getContribution(Ff.ID),O=[];for(let ja of r.getLenses())if(ja.getLineNumber()===p)for(let la of ja.getItems()){const{command:Wa}=la.symbol;Wa&&O.push({label:Wa.title,command:Wa})}if(0===O.length)return;const ha=yield c.pick(O,{canPickMany:!1});if(ha)try{yield e.executeCommand(ha.command.id,...ha.command.arguments||[])}catch(ja){i.error(ja)}})}});var Rd=f(16);function rf(a,b,c,e){return Promise.resolve(c.provideColorPresentations(a,b,e))}Object(ba.o)("_executeDocumentColorProvider",function(a,b){const{resource:c}=b;if(!(c instanceof xd.a))throw Object(La.b)();const e=a.get(ia.a).getModel(c);if(!e)throw Object(La.b)();const i=[],p=W.c.ordered(e).reverse().map(r=>Promise.resolve(r.provideDocumentColors(e,Gd.a.None)).then(O=>{if(Array.isArray(O))for(let ha of O)i.push({range:ha.range,color:[ha.color.red,ha.color.green,ha.color.blue,ha.color.alpha]})}));return Promise.all(p).then(()=>i)}),Object(ba.o)("_executeColorPresentationProvider",function(a,b){const{resource:c,color:e,range:i}=b;if(!(c instanceof xd.a&&Array.isArray(e)&&4===e.length&&pb.a.isIRange(i)))throw Object(La.b)();const[p,r,O,ha]=e,ja=a.get(ia.a).getModel(c);if(!ja)throw Object(La.b)();const la={range:i,color:{red:p,green:r,blue:O,alpha:ha}},Wa=[],Db=W.c.ordered(ja).reverse().map(Hb=>Promise.resolve(Hb.provideColorPresentations(ja,la,Gd.a.None)).then(Pb=>{Array.isArray(Pb)&&Wa.push(...Pb)}));return Promise.all(Db).then(()=>Wa)});var xe=f(54),Gf=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},$f=function(a,b){return function(c,e){b(c,e,a)}};let Qe=class a extends Nb.a{constructor(b,c,e){super(),this._editor=b,this._codeEditorService=c,this._configurationService=e,this._localToDispose=this._register(new Nb.b()),this._decorationsIds=[],this._colorDatas=new Map(),this._colorDecoratorIds=[],this._decorationsTypes=new Set(),this._register(b.onDidChangeModel(i=>{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(b.onDidChangeModelLanguage(i=>this.onModelChanged())),this._register(W.c.onDidChange(i=>this.onModelChanged())),this._register(b.onDidChangeConfiguration(i=>{let p=this._isEnabled;this._isEnabled=this.isEnabled(),p!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const b=this._editor.getModel();if(!b)return!1;const c=b.getLanguageIdentifier(),e=this._configurationService.getValue(c.language);if(e){const i=e.colorDecorators;if(i&&void 0!==i.enable&&!i.enable)return i.enable}return this._editor.getOption(12)}static get(b){return b.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;const b=this._editor.getModel();b&&W.c.has(b)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(c=>{this._timeoutTimer||(this._timeoutTimer=new sc.e(),this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},a.RECOMPUTE_TIME))})),this.beginCompute())}beginCompute(){this._computePromise=Object(sc.f)(b=>{const c=this._editor.getModel();return c?function(e,i){const p=[],r=W.c.ordered(e).reverse().map(O=>Promise.resolve(O.provideDocumentColors(e,i)).then(ha=>{if(Array.isArray(ha))for(let ja of ha)p.push({colorInfo:ja,provider:O})}));return Promise.all(r).then(()=>p)}(c,b):Promise.resolve([])}),this._computePromise.then(b=>{this.updateDecorations(b),this.updateColorDecorators(b),this._computePromise=null},La.e)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(b){const c=b.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:Eb.a.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,c),this._colorDatas=new Map(),this._decorationsIds.forEach((e,i)=>this._colorDatas.set(e,b[i]))}updateColorDecorators(b){let c=[],e={};for(let i=0;i<b.length&&c.length<500;i++){const{red:p,green:r,blue:O,alpha:ha}=b[i].colorInfo.color,ja=new Rd.c(Math.round(255*p),Math.round(255*r),Math.round(255*O),ha);let la=Object(ye.b)(`rgba(${ja.r},${ja.g},${ja.b},${ja.a})`).toString(16),Wa=`rgba(${ja.r}, ${ja.g}, ${ja.b}, ${ja.a})`,Db="colorBox-"+la;this._decorationsTypes.has(Db)||e[Db]||this._codeEditorService.registerDecorationType(Db,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:Wa},dark:{before:{border:"solid 0.1em #eee"}}},void 0,this._editor),e[Db]=!0,c.push({range:{startLineNumber:b[i].colorInfo.range.startLineNumber,startColumn:b[i].colorInfo.range.startColumn,endLineNumber:b[i].colorInfo.range.endLineNumber,endColumn:b[i].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(Db,!0)})}this._decorationsTypes.forEach(i=>{e[i]||this._codeEditorService.removeDecorationType(i)}),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,c)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach(b=>{this._codeEditorService.removeDecorationType(b)})}getColorData(b){const c=this._editor.getModel();if(!c)return null;const e=c.getDecorationsInRange(pb.a.fromPositions(b,b)).filter(i=>this._colorDatas.has(i.id));return 0===e.length?null:this._colorDatas.get(e[0].id)}};Qe.ID="editor.contrib.colorDetector",Qe.RECOMPUTE_TIME=1e3,Qe=Gf([$f(1,Dc.a),$f(2,xe.a)],Qe),Object(ba.m)(Qe.ID,Qe);var qd=f(70),Be=f(39);class Ge{constructor(a,b){this._selection=a,this._insertSpace=b,this._usedEndToken=null}static _haystackHasNeedleAtOffset(a,b,c){if(c<0)return!1;const e=b.length;if(c+e>a.length)return!1;for(let i=0;i<e;i++){const p=a.charCodeAt(c+i),r=b.charCodeAt(i);if(p!==r&&!(p>=65&&p<=90&&p+32===r||r>=65&&r<=90&&r+32===p))return!1}return!0}_createOperationsForBlockComment(a,b,c,e,i,p){const r=a.startLineNumber,O=a.startColumn,ha=a.endLineNumber,ja=a.endColumn,la=i.getLineContent(r),Wa=i.getLineContent(ha);let Db,Hb=la.lastIndexOf(b,O-1+b.length),Pb=Wa.indexOf(c,ja-1-c.length);if(-1!==Hb&&-1!==Pb)if(r===ha)la.substring(Hb+b.length,Pb).indexOf(c)>=0&&(Hb=-1,Pb=-1);else{const lc=la.substring(Hb+b.length),Ac=Wa.substring(0,Pb);(lc.indexOf(c)>=0||Ac.indexOf(c)>=0)&&(Hb=-1,Pb=-1)}-1!==Hb&&-1!==Pb?(e&&Hb+b.length<la.length&&32===la.charCodeAt(Hb+b.length)&&(b+=" "),e&&Pb>0&&32===Wa.charCodeAt(Pb-1)&&(c=" "+c,Pb-=1),Db=Ge._createRemoveBlockCommentOperations(new pb.a(r,Hb+b.length+1,ha,Pb+1),b,c)):(Db=Ge._createAddBlockCommentOperations(a,b,c,this._insertSpace),this._usedEndToken=1===Db.length?c:null);for(const lc of Db)p.addTrackedEditOperation(lc.range,lc.text)}static _createRemoveBlockCommentOperations(a,b,c){let e=[];return pb.a.isEmpty(a)?e.push(qd.a.delete(new pb.a(a.startLineNumber,a.startColumn-b.length,a.endLineNumber,a.endColumn+c.length))):(e.push(qd.a.delete(new pb.a(a.startLineNumber,a.startColumn-b.length,a.startLineNumber,a.startColumn))),e.push(qd.a.delete(new pb.a(a.endLineNumber,a.endColumn,a.endLineNumber,a.endColumn+c.length)))),e}static _createAddBlockCommentOperations(a,b,c,e){let i=[];return pb.a.isEmpty(a)?i.push(qd.a.replace(new pb.a(a.startLineNumber,a.startColumn,a.endLineNumber,a.endColumn),b+" "+c)):(i.push(qd.a.insert(new Fc.a(a.startLineNumber,a.startColumn),b+(e?" ":""))),i.push(qd.a.insert(new Fc.a(a.endLineNumber,a.endColumn),(e?" ":"")+c))),i}getEditOperations(a,b){const c=this._selection.startLineNumber,e=this._selection.startColumn;a.tokenizeIfCheap(c);const i=a.getLanguageIdAtPosition(c,e),p=Be.a.getComments(i);p&&p.blockCommentStartToken&&p.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,p.blockCommentStartToken,p.blockCommentEndToken,this._insertSpace,a,b)}computeCursorState(a,b){const c=b.getInverseEditOperations();if(2===c.length){const e=c[0],i=c[1];return new aa.a(e.range.endLineNumber,e.range.endColumn,i.range.startLineNumber,i.range.startColumn)}{const e=c[0].range,i=this._usedEndToken?-this._usedEndToken.length-1:0;return new aa.a(e.endLineNumber,e.endColumn+i,e.endLineNumber,e.endColumn+i)}}}class sf{constructor(a,b,c,e,i){this._selection=a,this._tabSize=b,this._type=c,this._insertSpace=e,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=i}static _gatherPreflightCommentStrings(a,b,c){a.tokenizeIfCheap(b);const e=a.getLanguageIdAtPosition(b,1),i=Be.a.getComments(e),p=i?i.lineCommentToken:null;if(!p)return null;let r=[];for(let O=0,ha=c-b+1;O<ha;O++)r[O]={ignore:!1,commentStr:p,commentStrOffset:0,commentStrLength:p.length};return r}static _analyzeLines(a,b,c,e,i,p){let r,O=!0;r=0===a||1!==a;for(let ha=0,ja=e.length;ha<ja;ha++){const la=e[ha],Wa=i+ha,Db=c.getLineContent(Wa),Hb=jd.w(Db);if(-1!==Hb){if(O=!1,la.ignore=!1,la.commentStrOffset=Hb,r&&!Ge._haystackHasNeedleAtOffset(Db,la.commentStr,Hb)&&(0===a?r=!1:1===a||(la.ignore=!0)),r&&b){const Pb=Hb+la.commentStrLength;Pb<Db.length&&32===Db.charCodeAt(Pb)&&(la.commentStrLength+=1)}}else la.ignore=p,la.commentStrOffset=Db.length}if(0===a&&O){r=!1;for(let ha=0,ja=e.length;ha<ja;ha++)e[ha].ignore=!1}return{supported:!0,shouldRemoveComments:r,lines:e}}static _gatherPreflightData(a,b,c,e,i,p){const r=sf._gatherPreflightCommentStrings(c,e,i);return null===r?{supported:!1}:sf._analyzeLines(a,b,c,r,e,p)}_executeLineComments(a,b,c,e){let i;c.shouldRemoveComments?i=sf._createRemoveLineCommentsOperations(c.lines,e.startLineNumber):(sf._normalizeInsertionPoint(a,c.lines,e.startLineNumber,this._tabSize),i=this._createAddLineCommentsOperations(c.lines,e.startLineNumber));const p=new Fc.a(e.positionLineNumber,e.positionColumn);for(let r=0,O=i.length;r<O;r++)(b.addEditOperation(i[r].range,i[r].text),pb.a.isEmpty(i[r].range)&&pb.a.getStartPosition(i[r].range).equals(p))&&(a.getLineContent(p.lineNumber).length+1===p.column&&(this._deltaColumn=(i[r].text||"").length));this._selectionId=b.trackSelection(e)}_attemptRemoveBlockComment(a,b,c,e){let i=b.startLineNumber,p=b.endLineNumber,r=e.length+Math.max(a.getLineFirstNonWhitespaceColumn(b.startLineNumber),b.startColumn),O=a.getLineContent(i).lastIndexOf(c,r-1),ha=a.getLineContent(p).indexOf(e,b.endColumn-1-c.length);return-1!==O&&-1===ha&&(ha=a.getLineContent(i).indexOf(e,O+c.length),p=i),-1===O&&-1!==ha&&(O=a.getLineContent(p).lastIndexOf(c,ha),i=p),!b.isEmpty()||-1!==O&&-1!==ha||(O=a.getLineContent(i).indexOf(c),-1!==O&&(ha=a.getLineContent(i).indexOf(e,O+c.length))),-1!==O&&32===a.getLineContent(i).charCodeAt(O+c.length)&&(c+=" "),-1!==ha&&32===a.getLineContent(p).charCodeAt(ha-1)&&(e=" "+e,ha-=1),-1!==O&&-1!==ha?Ge._createRemoveBlockCommentOperations(new pb.a(i,O+c.length+1,p,ha+1),c,e):null}_executeBlockComment(a,b,c){a.tokenizeIfCheap(c.startLineNumber);let e=a.getLanguageIdAtPosition(c.startLineNumber,1),i=Be.a.getComments(e);if(!i||!i.blockCommentStartToken||!i.blockCommentEndToken)return;const p=i.blockCommentStartToken,r=i.blockCommentEndToken;let O=this._attemptRemoveBlockComment(a,c,p,r);if(!O){if(c.isEmpty()){const ha=a.getLineContent(c.startLineNumber);let ja=jd.w(ha);-1===ja&&(ja=ha.length),O=Ge._createAddBlockCommentOperations(new pb.a(c.startLineNumber,ja+1,c.startLineNumber,ha.length+1),p,r,this._insertSpace)}else O=Ge._createAddBlockCommentOperations(new pb.a(c.startLineNumber,a.getLineFirstNonWhitespaceColumn(c.startLineNumber),c.endLineNumber,a.getLineMaxColumn(c.endLineNumber)),p,r,this._insertSpace);1===O.length&&(this._deltaColumn=p.length+1)}this._selectionId=b.trackSelection(c);for(const ha of O)b.addEditOperation(ha.range,ha.text)}getEditOperations(a,b){let c=this._selection;this._moveEndPositionDown=!1,c.startLineNumber<c.endLineNumber&&1===c.endColumn&&(this._moveEndPositionDown=!0,c=c.setEndPosition(c.endLineNumber-1,a.getLineMaxColumn(c.endLineNumber-1)));const e=sf._gatherPreflightData(this._type,this._insertSpace,a,c.startLineNumber,c.endLineNumber,this._ignoreEmptyLines);return e.supported?this._executeLineComments(a,b,e,c):this._executeBlockComment(a,b,c)}computeCursorState(a,b){let c=b.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(c=c.setEndPosition(c.endLineNumber+1,1)),new aa.a(c.selectionStartLineNumber,c.selectionStartColumn+this._deltaColumn,c.positionLineNumber,c.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(a,b){let c=[];for(let e=0,i=a.length;e<i;e++){const p=a[e];p.ignore||c.push(qd.a.delete(new pb.a(b+e,p.commentStrOffset+1,b+e,p.commentStrOffset+p.commentStrLength+1)))}return c}_createAddLineCommentsOperations(a,b){let c=[];const e=this._insertSpace?" ":"";for(let i=0,p=a.length;i<p;i++){const r=a[i];r.ignore||c.push(qd.a.insert(new Fc.a(b+i,r.commentStrOffset+1),r.commentStr+e))}return c}static nextVisibleColumn(a,b,c,e){return c?a+(b-a%b):a+e}static _normalizeInsertionPoint(a,b,c,e){let i,p,r=1073741824;for(let O=0,ha=b.length;O<ha;O++){if(b[O].ignore)continue;const ja=a.getLineContent(c+O);let la=0;for(let Wa=0,Db=b[O].commentStrOffset;la<r&&Wa<Db;Wa++)la=sf.nextVisibleColumn(la,e,9===ja.charCodeAt(Wa),1);la<r&&(r=la)}r=Math.floor(r/e)*e;for(let O=0,ha=b.length;O<ha;O++){if(b[O].ignore)continue;const ja=a.getLineContent(c+O);let la=0;for(i=0,p=b[O].commentStrOffset;la<r&&i<p;i++)la=sf.nextVisibleColumn(la,e,9===ja.charCodeAt(i),1);b[O].commentStrOffset=la>r?i-1:i}}}class Kd extends ba.b{constructor(a,b){super(b),this._type=a}run(a,b){if(!b.hasModel())return;const c=b.getModel(),e=[],i=b.getSelections(),p=c.getOptions(),r=b.getOption(14);for(const O of i)e.push(new sf(O,p.tabSize,this._type,r.insertSpace,r.ignoreEmptyLines));b.pushUndoStop(),b.executeCommands(this.id,e),b.pushUndoStop()}}class Yd extends ba.b{constructor(){super({id:"editor.action.blockComment",label:$.a("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:Qa.b.MenubarEditMenu,group:"5_insert",title:$.a({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(a,b){if(!b.hasModel())return;const c=b.getOption(14),e=[],i=b.getSelections();for(const p of i)e.push(new Ge(p,c.insertSpace));b.pushUndoStop(),b.executeCommands(this.id,e),b.pushUndoStop()}}Object(ba.k)(class extends Kd{constructor(){super(0,{id:"editor.action.commentLine",label:$.a("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:Qa.b.MenubarEditMenu,group:"5_insert",title:$.a({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),Object(ba.k)(class extends Kd{constructor(){super(1,{id:"editor.action.addCommentLine",label:$.a("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2081),weight:100}})}}),Object(ba.k)(class extends Kd{constructor(){super(2,{id:"editor.action.removeCommentLine",label:$.a("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2099),weight:100}})}}),Object(ba.k)(Yd);var lf=f(123),lh=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Uf=function(a,b){return function(c,e){b(c,e,a)}};let Hf=class a{constructor(b,c,e,i,p,r){this._contextMenuService=c,this._contextViewService=e,this._contextKeyService=i,this._keybindingService=p,this._menuService=r,this._toDispose=new Nb.b(),this._contextMenuIsBeingShownCount=0,this._editor=b,this._toDispose.add(this._editor.onContextMenu(O=>this._onContextMenu(O))),this._toDispose.add(this._editor.onMouseWheel(O=>{if(this._contextMenuIsBeingShownCount>0){const ha=this._contextViewService.getContextViewElement(),ja=O.srcElement;ja.shadowRoot&&qa.E(ha)===ja.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(O=>{58===O.keyCode&&(O.preventDefault(),O.stopPropagation(),this.showContextMenu())}))}static get(b){return b.getContribution(a.ID)}_onContextMenu(b){if(!this._editor.hasModel())return;if(!this._editor.getOption(15))return this._editor.focus(),void(b.target.position&&!this._editor.getSelection().containsPosition(b.target.position)&&this._editor.setPosition(b.target.position));if(12===b.target.type)return;if(b.event.preventDefault(),6!==b.target.type&&7!==b.target.type&&1!==b.target.type)return;if(this._editor.focus(),b.target.position){let e=!1;for(const i of this._editor.getSelections())if(i.containsPosition(b.target.position)){e=!0;break}e||this._editor.setPosition(b.target.position)}let c=null;1!==b.target.type&&(c={x:b.event.posx-1,width:2,y:b.event.posy-1,height:2}),this.showContextMenu(c)}showContextMenu(b){if(!this._editor.getOption(15))return;if(!this._editor.hasModel())return;if(!this._contextMenuService)return void this._editor.focus();const c=this._getMenuActions(this._editor.getModel(),Qa.b.EditorContext);c.length>0&&this._doShowContextMenu(c,b)}_getMenuActions(b,c){const e=[],i=this._menuService.createMenu(c,this._contextKeyService),p=i.getActions({arg:b.uri});i.dispose();for(let r of p){const[,O]=r;let ha=0;for(const ja of O)if(ja instanceof Qa.e){const la=this._getMenuActions(b,ja.item.submenu);la.length>0&&(e.push(new mb.d(ja.id,ja.label,la)),ha++)}else e.push(ja),ha++;ha&&e.push(new mb.c())}return e.length&&e.pop(),e}_doShowContextMenu(b,c=null){if(!this._editor.hasModel())return;const e=this._editor.getOption(46);if(this._editor.updateOptions({hover:{enabled:!1}}),!c){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const i=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),p=qa.C(this._editor.getDomNode()),r=p.left+i.left,O=p.top+i.top+i.height;c={x:r,y:O}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>c,getActions:()=>b,getActionViewItem:i=>{const p=this._keybindingFor(i);if(p)return new lf.a(i,i,{label:!0,keybinding:p.getLabel(),isMenu:!0});const r=i;return"function"==typeof r.getActionViewItem?r.getActionViewItem():new lf.a(i,i,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:i=>this._keybindingFor(i),onHide:i=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:e})}})}_keybindingFor(b){return this._keybindingService.lookupKeybinding(b.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Hf.ID="editor.contrib.contextmenu",Hf=lh([Uf(1,ub.a),Uf(2,ub.b),Uf(3,I.b),Uf(4,Rb.a),Uf(5,Qa.a)],Hf);class If extends ba.b{constructor(){super({id:"editor.action.showContextMenu",label:$.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:1092,weight:100}})}run(a,b){Hf.get(b).showContextMenu()}}Object(ba.m)(Hf.ID,Hf),Object(ba.k)(If);class Vf{constructor(a){this.selections=a}equals(a){const b=this.selections.length;if(b!==a.selections.length)return!1;for(let c=0;c<b;c++)if(!this.selections[c].equalsSelection(a.selections[c]))return!1;return!0}}class Xg{constructor(a,b,c){this.cursorState=a,this.scrollTop=b,this.scrollLeft=c}}class ag extends Nb.a{constructor(a){super(),this._editor=a,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(a.onDidChangeModel(b=>{this._undoStack=[],this._redoStack=[]})),this._register(a.onDidChangeModelContent(b=>{this._undoStack=[],this._redoStack=[]})),this._register(a.onDidChangeCursorSelection(b=>{if(this._isCursorUndoRedo)return;if(!b.oldSelections)return;if(b.oldModelVersionId!==b.modelVersionId)return;const c=new Vf(b.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(c)||(this._undoStack.push(new Xg(c,a.getScrollTop(),a.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}static get(a){return a.getContribution(ag.ID)}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new Xg(new Vf(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new Xg(new Vf(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(a){this._isCursorUndoRedo=!0,this._editor.setSelections(a.cursorState.selections),this._editor.setScrollPosition({scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),this._isCursorUndoRedo=!1}}ag.ID="editor.contrib.cursorUndoRedoController";class Jf extends ba.b{constructor(){super({id:"cursorUndo",label:$.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:2099,weight:100}})}run(a,b,c){ag.get(b).cursorUndo()}}class bg extends ba.b{constructor(){super({id:"cursorRedo",label:$.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(a,b,c){ag.get(b).cursorRedo()}}Object(ba.m)(ag.ID,ag),Object(ba.k)(Jf),Object(ba.k)(bg),f(291);class mf{constructor(a,b,c){this.selection=a,this.targetPosition=b,this.copy=c,this.targetSelection=null}getEditOperations(a,b){let c=a.getValueInRange(this.selection);this.copy||b.addEditOperation(this.selection,null),b.addEditOperation(new pb.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),c),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new aa.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new aa.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber<this.selection.endLineNumber?this.targetSelection=new aa.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new aa.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,(this.selection.startLineNumber,this.selection.endLineNumber,this.targetPosition.column-this.selection.endColumn+this.selection.startColumn),this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new aa.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn):this.targetSelection=this.selection}computeCursorState(a,b){return this.targetSelection}}function $e(a){return zb.f?a.altKey:a.ctrlKey}class tf extends Nb.a{constructor(a){super(),this._editor=a,this._register(this._editor.onMouseDown(b=>this._onEditorMouseDown(b))),this._register(this._editor.onMouseUp(b=>this._onEditorMouseUp(b))),this._register(this._editor.onMouseDrag(b=>this._onEditorMouseDrag(b))),this._register(this._editor.onMouseDrop(b=>this._onEditorMouseDrop(b))),this._register(this._editor.onKeyDown(b=>this.onEditorKeyDown(b))),this._register(this._editor.onKeyUp(b=>this.onEditorKeyUp(b))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(a){this._editor.getOption(25)&&!this._editor.getOption(13)&&($e(a)&&(this._modifierPressed=!0),this._mouseDown&&$e(a)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(a){this._editor.getOption(25)&&!this._editor.getOption(13)&&($e(a)&&(this._modifierPressed=!1),this._mouseDown&&a.keyCode===tf.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(a){this._mouseDown=!0}_onEditorMouseUp(a){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(a){let b=a.target;if(null===this._dragSelection){let c=(this._editor.getSelections()||[]).filter(e=>b.position&&e.containsPosition(b.position));if(1!==c.length)return;this._dragSelection=c[0]}$e(a.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),b.position&&(this._dragSelection.containsPosition(b.position)?this._removeDecoration():this.showAt(b.position))}_onEditorMouseDrop(a){if(a.target&&(this._hitContent(a.target)||this._hitMargin(a.target))&&a.target.position){let b=new Fc.a(a.target.position.lineNumber,a.target.position.column);if(null===this._dragSelection){let c=null;if(a.event.shiftKey){let e=this._editor.getSelection();if(e){const{selectionStartLineNumber:i,selectionStartColumn:p}=e;c=[new aa.a(i,p,b.lineNumber,b.column)]}}else c=(this._editor.getSelections()||[]).map(e=>e.containsPosition(b)?new aa.a(b.lineNumber,b.column,b.lineNumber,b.column):e);this._editor.setSelections(c||[],"mouse")}else(!this._dragSelection.containsPosition(b)||($e(a.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(b)||this._dragSelection.getStartPosition().equals(b)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(tf.ID,new mf(this._dragSelection,b,$e(a.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(a){let b=[{range:new pb.a(a.lineNumber,a.column,a.lineNumber,a.column),options:tf._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,b),this._editor.revealPosition(a,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(a){return 6===a.type||7===a.type}_hitMargin(a){return 2===a.type||3===a.type||4===a.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}tf.ID="editor.contrib.dragAndDrop",tf.TRIGGER_KEY_VALUE=zb.f?6:5,tf._DECORATION_OPTIONS=Eb.a.register({className:"dnd-target"}),Object(ba.m)(tf.ID,tf);var mh=f(106);class Je{constructor(a){this._editor=a,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const a=this._findScopeDecorationIds.map(b=>this._editor.getModel().getDecorationRange(b)).filter(b=>!!b);if(a.length)return a}return null}getStartPosition(){return this._startPosition}setStartPosition(a){this._startPosition=a,this.setCurrentFindMatch(null)}_getDecorationIndex(a){const b=this._decorations.indexOf(a);return b>=0?b+1:1}getCurrentMatchesPosition(a){let b=this._editor.getModel().getDecorationsInRange(a);for(const c of b){const e=c.options;if(e===Je._FIND_MATCH_DECORATION||e===Je._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(c.id)}return 0}setCurrentFindMatch(a){let b=null,c=0;if(a)for(let e=0,i=this._decorations.length;e<i;e++){let p=this._editor.getModel().getDecorationRange(this._decorations[e]);if(a.equalsRange(p)){b=this._decorations[e],c=e+1;break}}return null===this._highlightedDecorationId&&null===b||this._editor.changeDecorations(e=>{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,Je._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==b&&(this._highlightedDecorationId=b,e.changeDecorationOptions(this._highlightedDecorationId,Je._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==b){let i=this._editor.getModel().getDecorationRange(b);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){let p=i.endLineNumber-1,r=this._editor.getModel().getLineMaxColumn(p);i=new pb.a(i.startLineNumber,i.startColumn,p,r)}this._rangeHighlightDecorationId=e.addDecoration(i,Je._RANGE_HIGHLIGHT_DECORATION)}}),c}set(a,b){this._editor.changeDecorations(c=>{let e=Je._FIND_MATCH_DECORATION,i=[];if(a.length>1e3){e=Je._FIND_MATCH_NO_OVERVIEW_DECORATION;const r=this._editor.getModel().getLineCount(),O=this._editor.getLayoutInfo().height/r,ha=Math.max(2,Math.ceil(3/O));let ja=a[0].range.startLineNumber,la=a[0].range.endLineNumber;for(let Wa=1,Db=a.length;Wa<Db;Wa++){const Hb=a[Wa].range;la+ha>=Hb.startLineNumber?Hb.endLineNumber>la&&(la=Hb.endLineNumber):(i.push({range:new pb.a(ja,1,la,1),options:Je._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),ja=Hb.startLineNumber,la=Hb.endLineNumber)}i.push({range:new pb.a(ja,1,la,1),options:Je._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let p=new Array(a.length);for(let r=0,O=a.length;r<O;r++)p[r]={range:a[r].range,options:e};this._decorations=c.deltaDecorations(this._decorations,p),this._overviewRulerApproximateDecorations=c.deltaDecorations(this._overviewRulerApproximateDecorations,i),this._rangeHighlightDecorationId&&(c.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach(r=>c.removeDecoration(r)),this._findScopeDecorationIds=[]),(null==b?void 0:b.length)&&(this._findScopeDecorationIds=b.map(r=>c.addDecoration(r,Je._FIND_SCOPE_DECORATION)))})}matchBeforePosition(a){if(0===this._decorations.length)return null;for(let b=this._decorations.length-1;b>=0;b--){let c=this._decorations[b],e=this._editor.getModel().getDecorationRange(c);if(e&&!(e.endLineNumber>a.lineNumber)){if(e.endLineNumber<a.lineNumber)return e;if(!(e.endColumn>a.column))return e}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(a){if(0===this._decorations.length)return null;for(let b=0,c=this._decorations.length;b<c;b++){let e=this._decorations[b],i=this._editor.getModel().getDecorationRange(e);if(i&&!(i.startLineNumber<a.lineNumber)){if(i.startLineNumber>a.lineNumber)return i;if(!(i.startColumn<a.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let a=[];return a=a.concat(this._decorations),a=a.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&a.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&a.push(this._rangeHighlightDecorationId),a}}Je._CURRENT_FIND_MATCH_DECORATION=Eb.a.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(Oa.h)(Va.Vb),position:mc.d.Center},minimap:{color:Object(Oa.h)(Va.Ob),position:mc.c.Inline}}),Je._FIND_MATCH_DECORATION=Eb.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(Oa.h)(Va.Vb),position:mc.d.Center},minimap:{color:Object(Oa.h)(Va.Ob),position:mc.c.Inline}}),Je._FIND_MATCH_NO_OVERVIEW_DECORATION=Eb.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),Je._FIND_MATCH_ONLY_OVERVIEW_DECORATION=Eb.a.register({stickiness:1,overviewRuler:{color:Object(Oa.h)(Va.Vb),position:mc.d.Center}}),Je._RANGE_HIGHLIGHT_DECORATION=Eb.a.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),Je._FIND_SCOPE_DECORATION=Eb.a.register({className:"findScope",isWholeLine:!0});class pg{constructor(a,b,c){this._editorSelection=a,this._ranges=b,this._replaceStrings=c,this._trackedEditorSelectionId=null}getEditOperations(a,b){if(this._ranges.length>0){let c=[];for(let p=0;p<this._ranges.length;p++)c.push({range:this._ranges[p],text:this._replaceStrings[p]});c.sort((p,r)=>pb.a.compareRangesUsingStarts(p.range,r.range));let e=[],i=c[0];for(let p=1;p<c.length;p++)i.range.endLineNumber===c[p].range.startLineNumber&&i.range.endColumn===c[p].range.startColumn?(i.range=i.range.plusRange(c[p].range),i.text=i.text+c[p].text):(e.push(i),i=c[p]);e.push(i);for(const p of e)b.addEditOperation(p.range,p.text)}this._trackedEditorSelectionId=b.trackSelection(this._editorSelection)}computeCursorState(a,b){return b.getTrackedSelection(this._trackedEditorSelectionId)}}function Kf(a,b){if(a&&""!==a[0]){const c=nh(a,b,"-"),e=nh(a,b,"_");return c&&!e?nf(a,b,"-"):!c&&e?nf(a,b,"_"):a[0].toUpperCase()===a[0]?b.toUpperCase():a[0].toLowerCase()===a[0]?b.toLowerCase():jd.o(a[0][0])&&b.length>0?b[0].toUpperCase()+b.substr(1):b}return b}function nh(a,b,c){return-1!==a[0].indexOf(c)&&-1!==b.indexOf(c)&&a[0].split(c).length===b.split(c).length}function nf(a,b,c){const e=b.split(c),i=a[0].split(c);let p="";return e.forEach((r,O)=>{p+=Kf([i[O]],r)+c}),p.slice(0,-1)}class cg{constructor(a){this.staticValue=a,this.kind=0}}class Yg{constructor(a){this.pieces=a,this.kind=1}}class uf{constructor(a){a&&0!==a.length?1===a.length&&null!==a[0].staticValue?this._state=new cg(a[0].staticValue):this._state=new Yg(a):this._state=new cg("")}static fromStaticValue(a){return new uf([dg.staticValue(a)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(a,b){if(0===this._state.kind)return b?Kf(a,this._state.staticValue):this._state.staticValue;let c="";for(let e=0,i=this._state.pieces.length;e<i;e++){let p=this._state.pieces[e];if(null!==p.staticValue){c+=p.staticValue;continue}let r=uf._substitute(p.matchIndex,a);if(null!==p.caseOps&&p.caseOps.length>0){let O=[],ha=p.caseOps.length,ja=0;for(let la=0,Wa=r.length;la<Wa;la++){if(ja>=ha){O.push(r.slice(la));break}switch(p.caseOps[ja]){case"U":O.push(r[la].toUpperCase());break;case"u":O.push(r[la].toUpperCase()),ja++;break;case"L":O.push(r[la].toLowerCase());break;case"l":O.push(r[la].toLowerCase()),ja++;break;default:O.push(r[la])}}r=O.join("")}c+=r}return c}static _substitute(a,b){if(null===b)return"";if(0===a)return b[0];let c="";for(;a>0;){if(a<b.length)return(b[a]||"")+c;c=String(a%10)+c,a=Math.floor(a/10)}return"$"+c}}class dg{constructor(a,b,c){this.staticValue=a,this.matchIndex=b,c&&0!==c.length?this.caseOps=c.slice(0):this.caseOps=null}static staticValue(a){return new dg(a,-1,null)}static caseOps(a,b){return new dg(null,a,b)}}class Oc{constructor(a){this._source=a,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(a){this._emitStatic(this._source.substring(this._lastCharIndex,a)),this._lastCharIndex=a}emitStatic(a,b){this._emitStatic(a),this._lastCharIndex=b}_emitStatic(a){0!==a.length&&(this._currentStaticPiece+=a)}emitMatchIndex(a,b,c){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=dg.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=dg.caseOps(a,c),this._lastCharIndex=b}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=dg.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new uf(this._result)}}const ef=new I.c("findWidgetVisible",!1),qg=new I.c("findInputFocussed",!1),of=new I.c("replaceInputFocussed",!1),Lf={primary:545,mac:{primary:2593}},rg={primary:565,mac:{primary:2613}},eg={primary:560,mac:{primary:2608}},fg={primary:554,mac:{primary:2602}},oh="actions.find",ph="actions.findWithSelection",sg="editor.action.nextMatchFindAction",vf="editor.action.previousMatchFindAction",Wf="editor.action.nextSelectionMatchFindAction",Gg="editor.action.previousSelectionMatchFindAction",tg="editor.action.startFindReplaceAction",ug="closeFindWidget",Hg="toggleFindCaseSensitive",Mf="toggleFindWholeWord",Xf="toggleFindRegex",Ig="toggleFindInSelection",gg="editor.action.replaceOne",hg="editor.action.replaceAll",Nf="editor.action.selectAllMatches";class Te{constructor(a,b){this._toDispose=new Nb.b(),this._editor=a,this._state=b,this._isDisposed=!1,this._startSearchingTimer=new sc.e(),this._decorations=new Je(a),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new sc.d(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(c=>{3!==c.reason&&5!==c.reason&&6!==c.reason||this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(c=>{this._ignoreModelContentChanged||(c.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(c=>this._onStateChanged(c))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,Object(Nb.f)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(a){!this._isDisposed&&this._editor.hasModel()&&(a.searchString||a.isReplaceRevealed||a.isRegex||a.wholeWord||a.matchCase||a.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{a.searchScope?this.research(a.moveCursor,this._state.searchScope):this.research(a.moveCursor)},240)):a.searchScope?this.research(a.moveCursor,this._state.searchScope):this.research(a.moveCursor))}static _getSearchRange(a,b){return b||a.getFullModelRange()}research(a,b){let c=null;void 0!==b?null!==b&&(c=Array.isArray(b)?b:[b]):c=this._decorations.getFindScopes(),null!==c&&(c=c.map(r=>{if(r.startLineNumber!==r.endLineNumber){let O=r.endLineNumber;return 1===r.endColumn&&(O-=1),new pb.a(r.startLineNumber,1,O,this._editor.getModel().getLineMaxColumn(O))}return r}));let e=this._findMatches(c,!1,19999);this._decorations.set(e,c);const i=this._editor.getSelection();let p=this._decorations.getCurrentMatchesPosition(i);if(0===p&&e.length>0){const r=Object(ka.h)(e.map(O=>O.range),O=>pb.a.compareRangesUsingStarts(O,i)>=0);p=r>0?r-1+1:p}this._state.changeMatchInfo(p,this._decorations.getCount(),void 0),a&&this._editor.getOption(29).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let a=this._decorations.getFindScope();return a&&this._editor.revealRangeInCenterIfOutsideViewport(a,0),!0}return!1}_setCurrentFindMatch(a){let b=this._decorations.setCurrentFindMatch(a);this._state.changeMatchInfo(b,this._decorations.getCount(),a),this._editor.setSelection(a),this._editor.revealRangeInCenterIfOutsideViewport(a,0)}_prevSearchPosition(a){let b=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:c,column:e}=a,i=this._editor.getModel();return b||1===e?(1===c?c=i.getLineCount():c--,e=i.getLineMaxColumn(c)):e--,new Fc.a(c,e)}_moveToPrevMatch(a,b=!1){if(!this._state.canNavigateBack()){const ja=this._decorations.matchAfterPosition(a);return void(ja&&this._setCurrentFindMatch(ja))}if(this._decorations.getCount()<19999){let ja=this._decorations.matchBeforePosition(a);return ja&&ja.isEmpty()&&ja.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),ja=this._decorations.matchBeforePosition(a)),void(ja&&this._setCurrentFindMatch(ja))}if(this._cannotFind())return;let c=this._decorations.getFindScope(),e=Te._getSearchRange(this._editor.getModel(),c);e.getEndPosition().isBefore(a)&&(a=e.getEndPosition()),a.isBefore(e.getStartPosition())&&(a=e.getEndPosition());let{lineNumber:i,column:p}=a,r=this._editor.getModel(),O=new Fc.a(i,p),ha=r.findPreviousMatch(this._state.searchString,O,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1);return ha&&ha.range.isEmpty()&&ha.range.getStartPosition().equals(O)&&(O=this._prevSearchPosition(O),ha=r.findPreviousMatch(this._state.searchString,O,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1)),ha?b||e.containsRange(ha.range)?void this._setCurrentFindMatch(ha.range):this._moveToPrevMatch(ha.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(a){let b=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:c,column:e}=a,i=this._editor.getModel();return b||e===i.getLineMaxColumn(c)?(c===i.getLineCount()?c=1:c++,e=1):e++,new Fc.a(c,e)}_moveToNextMatch(a){if(!this._state.canNavigateForward()){const c=this._decorations.matchBeforePosition(a);return void(c&&this._setCurrentFindMatch(c))}if(this._decorations.getCount()<19999){let c=this._decorations.matchAfterPosition(a);return c&&c.isEmpty()&&c.getStartPosition().equals(a)&&(a=this._nextSearchPosition(a),c=this._decorations.matchAfterPosition(a)),void(c&&this._setCurrentFindMatch(c))}let b=this._getNextMatch(a,!1,!0);b&&this._setCurrentFindMatch(b.range)}_getNextMatch(a,b,c,e=!1){if(this._cannotFind())return null;let i=this._decorations.getFindScope(),p=Te._getSearchRange(this._editor.getModel(),i);p.getEndPosition().isBefore(a)&&(a=p.getStartPosition()),a.isBefore(p.getStartPosition())&&(a=p.getStartPosition());let{lineNumber:r,column:O}=a,ha=this._editor.getModel(),ja=new Fc.a(r,O),la=ha.findNextMatch(this._state.searchString,ja,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,b);return c&&la&&la.range.isEmpty()&&la.range.getStartPosition().equals(ja)&&(ja=this._nextSearchPosition(ja),la=ha.findNextMatch(this._state.searchString,ja,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,b)),la?e||p.containsRange(la.range)?la:this._getNextMatch(la.range.getEndPosition(),b,c,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(a){if(!a||0===a.length)return new uf(null);let b=[],c=new Oc(a);for(let e=0,i=a.length;e<i;e++){let p=a.charCodeAt(e);if(92!==p){if(36===p){if(e++,e>=i)break;let r=a.charCodeAt(e);if(36===r){c.emitUnchanged(e-1),c.emitStatic("$",e+1);continue}if(48===r||38===r){c.emitUnchanged(e-1),c.emitMatchIndex(0,e+1,b),b.length=0;continue}if(49<=r&&r<=57){let O=r-48;if(e+1<i){let ha=a.charCodeAt(e+1);if(48<=ha&&ha<=57){e++,O=10*O+(ha-48),c.emitUnchanged(e-2),c.emitMatchIndex(O,e+1,b),b.length=0;continue}}c.emitUnchanged(e-1),c.emitMatchIndex(O,e+1,b),b.length=0;continue}}}else{if(e++,e>=i)break;let r=a.charCodeAt(e);switch(r){case 92:c.emitUnchanged(e-1),c.emitStatic("\\",e+1);break;case 110:c.emitUnchanged(e-1),c.emitStatic(` -`,e+1);break;case 116:c.emitUnchanged(e-1),c.emitStatic(" ",e+1);break;case 117:case 85:case 108:case 76:c.emitUnchanged(e-1),c.emitStatic("",e+1),b.push(String.fromCharCode(r))}}}return c.finalize()}(this._state.replaceString):uf.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let a=this._getReplacePattern(),b=this._editor.getSelection(),c=this._getNextMatch(b.getStartPosition(),!0,!1);if(c)if(b.equalsRange(c.range)){let e=a.buildReplaceString(c.matches,this._state.preserveCase),i=new Vc.a(b,e);this._executeEditorCommand("replace",i),this._decorations.setStartPosition(new Fc.a(b.startLineNumber,b.startColumn+e.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(c.range)}_findMatches(a,b,c){const e=(a||[null]).map(i=>Te._getSearchRange(this._editor.getModel(),i));return this._editor.getModel().findMatches(this._state.searchString,e,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,b,c)}replaceAll(){if(!this._hasMatches())return;const a=this._decorations.getFindScopes();null===a&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(a),this.research(!1)}_largeReplaceAll(){const a=new mh.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null).parseSearchRequest();if(!a)return;let b=a.regex;if(!b.multiline){let ja="mu";b.ignoreCase&&(ja+="i"),b.global&&(ja+="g"),b=new RegExp(b.source,ja)}const c=this._editor.getModel(),e=c.getValue(1),i=c.getFullModelRange(),p=this._getReplacePattern();let r;const O=this._state.preserveCase;r=p.hasReplacementPatterns||O?e.replace(b,function(){return p.buildReplaceString(arguments,O)}):e.replace(b,p.buildReplaceString(null,O));let ha=new Vc.b(i,r,this._editor.getSelection());this._executeEditorCommand("replaceAll",ha)}_regularReplaceAll(a){const b=this._getReplacePattern();let c=this._findMatches(a,b.hasReplacementPatterns||this._state.preserveCase,1073741824),e=[];for(let p=0,r=c.length;p<r;p++)e[p]=b.buildReplaceString(c[p].matches,this._state.preserveCase);let i=new pg(this._editor.getSelection(),c.map(p=>p.range),e);this._executeEditorCommand("replaceAll",i)}selectAllMatches(){if(!this._hasMatches())return;let a=this._decorations.getFindScopes(),b=this._findMatches(a,!1,1073741824).map(e=>new aa.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),c=this._editor.getSelection();for(let e=0,i=b.length;e<i;e++)if(b[e].equalsRange(c)){b=[c].concat(b.slice(0,e)).concat(b.slice(e+1));break}this._editor.setSelections(b)}_executeEditorCommand(a,b){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(a,b),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}f(293);var af=f(82);const qh={inputActiveOptionBorder:Rd.a.fromHex("#007ACC00"),inputActiveOptionForeground:Rd.a.fromHex("#FFFFFF"),inputActiveOptionBackground:Rd.a.fromHex("#0E639C50")};class Jg extends af.a{constructor(a){super(),this._onChange=this._register(new jb.a()),this.onChange=this._onChange.event,this._onKeyDown=this._register(new jb.a()),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},qh),a),this._checked=this._opts.isChecked;const b=["monaco-custom-checkbox"];this._opts.icon?b.push(this._opts.icon.classNames):b.push("codicon"),this._opts.actionClassName&&b.push(this._opts.actionClassName),b.push(this._checked?"checked":"unchecked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.className=b.join(" "),this.domNode.tabIndex=0,this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,c=>{this.checked=!this._checked,this._onChange.fire(!1),c.preventDefault()}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,c=>{if(10===c.keyCode||3===c.keyCode)return this.checked=!this._checked,this._onChange.fire(!0),void c.preventDefault();this._onKeyDown.fire(c)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(a){this._checked=a,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()}width(){return 22}style(a){a.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=a.inputActiveOptionBorder),a.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=a.inputActiveOptionForeground),a.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=a.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))}disable(){qa.T(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))}}const wf=$.a("caseDescription","Match Case"),xf=$.a("wordsDescription","Match Whole Word"),Kg=$.a("regexDescription","Use Regular Expression");class rh extends Jg{constructor(a){super({icon:va.a.caseSensitive,title:wf+a.appendTitle,isChecked:a.isChecked,inputActiveOptionBorder:a.inputActiveOptionBorder,inputActiveOptionForeground:a.inputActiveOptionForeground,inputActiveOptionBackground:a.inputActiveOptionBackground})}}class ff extends Jg{constructor(a){super({icon:va.a.wholeWord,title:xf+a.appendTitle,isChecked:a.isChecked,inputActiveOptionBorder:a.inputActiveOptionBorder,inputActiveOptionForeground:a.inputActiveOptionForeground,inputActiveOptionBackground:a.inputActiveOptionBackground})}}class Lg extends Jg{constructor(a){super({icon:va.a.regex,title:Kg+a.appendTitle,isChecked:a.isChecked,inputActiveOptionBorder:a.inputActiveOptionBorder,inputActiveOptionForeground:a.inputActiveOptionForeground,inputActiveOptionBackground:a.inputActiveOptionBackground})}}class Mg extends af.a{constructor(a,b,c,e){super(),this._hideSoon=this._register(new sc.d(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=a,this._state=b,this._keybindingService=c,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const i=e.getColorTheme().getColor(Va.db),p=e.getColorTheme().getColor(Va.eb),r=e.getColorTheme().getColor(Va.cb);this.caseSensitive=this._register(new rh({appendTitle:this._keybindingLabelFor(Hg),isChecked:this._state.matchCase,inputActiveOptionBorder:i,inputActiveOptionForeground:p,inputActiveOptionBackground:r})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new ff({appendTitle:this._keybindingLabelFor(Mf),isChecked:this._state.wholeWord,inputActiveOptionBorder:i,inputActiveOptionForeground:p,inputActiveOptionBackground:r})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Lg({appendTitle:this._keybindingLabelFor(Xf),isChecked:this._state.isRegex,inputActiveOptionBorder:i,inputActiveOptionForeground:p,inputActiveOptionBackground:r})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(O=>{let ha=!1;O.isRegex&&(this.regex.checked=this._state.isRegex,ha=!0),O.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,ha=!0),O.matchCase&&(this.caseSensitive.checked=this._state.matchCase,ha=!0),!this._state.isRevealed&&ha&&this._revealTemporarily()})),this._register(qa.j(this._domNode,O=>this._onMouseOut())),this._register(qa.i(this._domNode,"mouseover",O=>this._onMouseOver())),this._applyTheme(e.getColorTheme()),this._register(e.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(a){let b=this._keybindingService.lookupKeybinding(a);return b?` (${b.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Mg.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(a){let b={inputActiveOptionBorder:a.getColor(Va.db),inputActiveOptionForeground:a.getColor(Va.eb),inputActiveOptionBackground:a.getColor(Va.cb)};this.caseSensitive.style(b),this.wholeWords.style(b),this.regex.style(b)}}function We(a,b){return 1===a||2!==a&&b}Mg.ID="editor.contrib.findOptionsWidget",Object(Oa.g)((a,b)=>{const c=a.getColor(Va.U);c&&b.addRule(`.monaco-editor .findOptionsWidget { background-color: ${c}; }`);const e=a.getColor(Va.W);e&&b.addRule(`.monaco-editor .findOptionsWidget { color: ${e}; }`);const i=a.getColor(Va.uc);i&&b.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px ${i}; }`);const p=a.getColor(Va.h);p&&b.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${p}; }`)});class gf extends Nb.a{constructor(){super(),this._onFindReplaceStateChange=this._register(new jb.a()),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return We(this._isRegexOverride,this._isRegex)}get wholeWord(){return We(this._wholeWordOverride,this._wholeWord)}get matchCase(){return We(this._matchCaseOverride,this._matchCase)}get preserveCase(){return We(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(a,b,c){let e={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},i=!1;0===b&&(a=0),a>b&&(a=b),this._matchesPosition!==a&&(this._matchesPosition=a,e.matchesPosition=!0,i=!0),this._matchesCount!==b&&(this._matchesCount=b,e.matchesCount=!0,i=!0),void 0!==c&&(pb.a.equalsRange(this._currentMatch,c)||(this._currentMatch=c,e.currentMatch=!0,i=!0)),i&&this._onFindReplaceStateChange.fire(e)}change(a,b,c=!0){var e;let i={moveCursor:b,updateHistory:c,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},p=!1;const r=this.isRegex,O=this.wholeWord,ha=this.matchCase,ja=this.preserveCase;void 0!==a.searchString&&this._searchString!==a.searchString&&(this._searchString=a.searchString,i.searchString=!0,p=!0),void 0!==a.replaceString&&this._replaceString!==a.replaceString&&(this._replaceString=a.replaceString,i.replaceString=!0,p=!0),void 0!==a.isRevealed&&this._isRevealed!==a.isRevealed&&(this._isRevealed=a.isRevealed,i.isRevealed=!0,p=!0),void 0!==a.isReplaceRevealed&&this._isReplaceRevealed!==a.isReplaceRevealed&&(this._isReplaceRevealed=a.isReplaceRevealed,i.isReplaceRevealed=!0,p=!0),void 0!==a.isRegex&&(this._isRegex=a.isRegex),void 0!==a.wholeWord&&(this._wholeWord=a.wholeWord),void 0!==a.matchCase&&(this._matchCase=a.matchCase),void 0!==a.preserveCase&&(this._preserveCase=a.preserveCase),void 0!==a.searchScope&&((null===(e=a.searchScope)||void 0===e?void 0:e.every(la=>{var Wa;return null===(Wa=this._searchScope)||void 0===Wa?void 0:Wa.some(Db=>!pb.a.equalsRange(Db,la))}))||(this._searchScope=a.searchScope,i.searchScope=!0,p=!0)),void 0!==a.loop&&this._loop!==a.loop&&(this._loop=a.loop,i.loop=!0,p=!0),this._isRegexOverride=void 0!==a.isRegexOverride?a.isRegexOverride:0,this._wholeWordOverride=void 0!==a.wholeWordOverride?a.wholeWordOverride:0,this._matchCaseOverride=void 0!==a.matchCaseOverride?a.matchCaseOverride:0,this._preserveCaseOverride=void 0!==a.preserveCaseOverride?a.preserveCaseOverride:0,r!==this.isRegex&&(p=!0,i.isRegex=!0),O!==this.wholeWord&&(p=!0,i.wholeWord=!0),ha!==this.matchCase&&(p=!0,i.matchCase=!0),ja!==this.preserveCase&&(p=!0,i.preserveCase=!0),p&&this._onFindReplaceStateChange.fire(i)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=19999}}f(295);var Zg=f(153),vg=(f(198),f(173));const Me=$.a("defaultLabel","input");class wg extends af.a{constructor(a,b,c,e){super(),this._showOptionButtons=c,this.fixFocusOnOptionClickEnabled=!0,this._onDidOptionChange=this._register(new jb.a()),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new jb.a()),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new jb.a()),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new jb.a()),this._onKeyUp=this._register(new jb.a()),this._onCaseSensitiveKeyDown=this._register(new jb.a()),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new jb.a()),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=b,this.placeholder=e.placeholder||"",this.validation=e.validation,this.label=e.label||Me,this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground;const i=e.appendCaseSensitiveLabel||"",p=e.appendWholeWordsLabel||"",r=e.appendRegexLabel||"",O=e.history||[],ha=!!e.flexibleHeight,ja=!!e.flexibleWidth,la=e.flexibleMaxHeight;this.domNode=document.createElement("div"),qa.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new vg.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:O,flexibleHeight:ha,flexibleWidth:ja,flexibleMaxHeight:la})),this.regex=this._register(new Lg({appendTitle:r,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(Hb=>{this._onDidOptionChange.fire(Hb),!Hb&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(Hb=>{this._onRegexKeyDown.fire(Hb)})),this.wholeWords=this._register(new ff({appendTitle:p,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(Hb=>{this._onDidOptionChange.fire(Hb),!Hb&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new rh({appendTitle:i,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(Hb=>{this._onDidOptionChange.fire(Hb),!Hb&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(Hb=>{this._onCaseSensitiveKeyDown.fire(Hb)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let Wa=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,Hb=>{if(Hb.equals(15)||Hb.equals(17)||Hb.equals(9)){let Pb=Wa.indexOf(document.activeElement);if(Pb>=0){let lc=-1;Hb.equals(17)?lc=(Pb+1)%Wa.length:Hb.equals(15)&&(lc=0===Pb?Wa.length-1:Pb-1),Hb.equals(9)?Wa[Pb].blur():lc>=0&&Wa[lc].focus(),qa.b.stop(Hb,!0)}}});let Db=document.createElement("div");Db.className="controls",Db.style.display=this._showOptionButtons?"block":"none",Db.appendChild(this.caseSensitive.domNode),Db.appendChild(this.wholeWords.domNode),Db.appendChild(this.regex.domNode),this.domNode.appendChild(Db),a&&a.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,Hb=>this._onKeyDown.fire(Hb)),this.onkeyup(this.inputBox.inputElement,Hb=>this._onKeyUp.fire(Hb)),this.oninput(this.inputBox.inputElement,Hb=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,Hb=>this._onMouseDown.fire(Hb))}enable(){qa.Q(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){qa.e(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(a){this.fixFocusOnOptionClickEnabled=a}setEnabled(a){a?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(a){this.inputBox.value!==a&&(this.inputBox.value=a)}style(a){this.inputActiveOptionBorder=a.inputActiveOptionBorder,this.inputActiveOptionForeground=a.inputActiveOptionForeground,this.inputActiveOptionBackground=a.inputActiveOptionBackground,this.inputBackground=a.inputBackground,this.inputForeground=a.inputForeground,this.inputBorder=a.inputBorder,this.inputValidationInfoBackground=a.inputValidationInfoBackground,this.inputValidationInfoForeground=a.inputValidationInfoForeground,this.inputValidationInfoBorder=a.inputValidationInfoBorder,this.inputValidationWarningBackground=a.inputValidationWarningBackground,this.inputValidationWarningForeground=a.inputValidationWarningForeground,this.inputValidationWarningBorder=a.inputValidationWarningBorder,this.inputValidationErrorBackground=a.inputValidationErrorBackground,this.inputValidationErrorForeground=a.inputValidationErrorForeground,this.inputValidationErrorBorder=a.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const a={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(a),this.wholeWords.style(a),this.caseSensitive.style(a);const b={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(b)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(a){this.caseSensitive.checked=a}getWholeWords(){return this.wholeWords.checked}setWholeWords(a){this.wholeWords.checked=a}getRegex(){return this.regex.checked}setRegex(a){this.regex.checked=a,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){qa.Q(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,qa.e(this.domNode,"highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}var bf=f(92);const d=$.a("defaultLabel","input"),g=$.a("label.preserveCaseCheckbox","Preserve Case");class o extends Jg{constructor(a){super({icon:va.a.preserveCase,title:g+a.appendTitle,isChecked:a.isChecked,inputActiveOptionBorder:a.inputActiveOptionBorder,inputActiveOptionForeground:a.inputActiveOptionForeground,inputActiveOptionBackground:a.inputActiveOptionBackground})}}class J extends af.a{constructor(a,b,c,e){super(),this._showOptionButtons=c,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new jb.a()),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new jb.a()),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new jb.a()),this._onInput=this._register(new jb.a()),this._onKeyUp=this._register(new jb.a()),this._onPreserveCaseKeyDown=this._register(new jb.a()),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=b,this.placeholder=e.placeholder||"",this.validation=e.validation,this.label=e.label||d,this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground;const i=e.history||[],p=!!e.flexibleHeight,r=!!e.flexibleWidth,O=e.flexibleMaxHeight;this.domNode=document.createElement("div"),qa.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new vg.a(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:i,flexibleHeight:p,flexibleWidth:r,flexibleMaxHeight:O})),this.preserveCase=this._register(new o({appendTitle:"",isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(la=>{this._onDidOptionChange.fire(la),!la&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(la=>{this._onPreserveCaseKeyDown.fire(la)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let ha=[this.preserveCase.domNode];this.onkeydown(this.domNode,la=>{if(la.equals(15)||la.equals(17)||la.equals(9)){let Wa=ha.indexOf(document.activeElement);if(Wa>=0){let Db=-1;la.equals(17)?Db=(Wa+1)%ha.length:la.equals(15)&&(Db=0===Wa?ha.length-1:Wa-1),la.equals(9)?ha[Wa].blur():Db>=0&&ha[Db].focus(),qa.b.stop(la,!0)}}});let ja=document.createElement("div");ja.className="controls",ja.style.display=this._showOptionButtons?"block":"none",ja.appendChild(this.preserveCase.domNode),this.domNode.appendChild(ja),a&&a.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,la=>this._onKeyDown.fire(la)),this.onkeyup(this.inputBox.inputElement,la=>this._onKeyUp.fire(la)),this.oninput(this.inputBox.inputElement,la=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,la=>this._onMouseDown.fire(la))}enable(){qa.Q(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){qa.e(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(a){a?this.enable():this.disable()}style(a){this.inputActiveOptionBorder=a.inputActiveOptionBorder,this.inputActiveOptionForeground=a.inputActiveOptionForeground,this.inputActiveOptionBackground=a.inputActiveOptionBackground,this.inputBackground=a.inputBackground,this.inputForeground=a.inputForeground,this.inputBorder=a.inputBorder,this.inputValidationInfoBackground=a.inputValidationInfoBackground,this.inputValidationInfoForeground=a.inputValidationInfoForeground,this.inputValidationInfoBorder=a.inputValidationInfoBorder,this.inputValidationWarningBackground=a.inputValidationWarningBackground,this.inputValidationWarningForeground=a.inputValidationWarningForeground,this.inputValidationWarningBorder=a.inputValidationWarningBorder,this.inputValidationErrorBackground=a.inputValidationErrorBackground,this.inputValidationErrorForeground=a.inputValidationErrorForeground,this.inputValidationErrorBorder=a.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const a={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(a);const b={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(b)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(a){this.preserveCase.checked=a}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(a){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=a,this.domNode.style.width=a+"px"}dispose(){super.dispose()}}var T=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},sa=function(a,b){return function(c,e){b(c,e,a)}};function Ia(a,b){return a.getContext(document.activeElement).getValue(b)}function Sa(a,b){const c=function(e,i){return e.createScoped(i.target)}(a,b);return!function(e,i,p){new I.c(p,i).bindTo(e)}(c,b,"historyNavigationWidget"),{scopedContextKeyService:c,historyNavigationEnablement:new I.c("historyNavigationEnabled",!0).bindTo(c)}}let bb=class extends wg{constructor(a,b,c,e,i=!1){super(a,b,i,c),this._register(Sa(e,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};bb=T([sa(3,I.b)],bb);let ib=class extends J{constructor(a,b,c,e,i=!1){super(a,b,i,c),this._register(Sa(e,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};ib=T([sa(3,I.b)],ib),bf.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:I.a.and(I.a.has("historyNavigationWidget"),I.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:(a,b)=>{const c=Ia(a.get(I.b),"historyNavigationWidget");c&&c.historyNavigator.showPreviousValue()}}),bf.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:I.a.and(I.a.has("historyNavigationWidget"),I.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:(a,b)=>{const c=Ia(a.get(I.b),"historyNavigationWidget");c&&c.historyNavigator.showNextValue()}});var ob=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const Mb=Object(va.e)("find-selection",va.a.selection),Gb=Object(va.e)("find-collapsed",va.a.chevronRight),ac=Object(va.e)("find-expanded",va.a.chevronDown),gc=Object(va.e)("find-close",va.a.close),Gc=Object(va.e)("find-replace",va.a.replace),Qc=Object(va.e)("find-replace-all",va.a.replaceAll),Jc=Object(va.e)("find-previous-match",va.a.arrowUp),Wc=Object(va.e)("find-next-match",va.a.arrowDown),_c=$.a("label.find","Find"),Zc=$.a("placeholder.find","Find"),bd=$.a("label.previousMatchButton","Previous match"),Id=$.a("label.nextMatchButton","Next match"),sd=$.a("label.toggleSelectionFind","Find in selection"),Pd=$.a("label.closeButton","Close"),be=$.a("label.replace","Replace"),me=$.a("placeholder.replace","Replace"),Td=$.a("label.replaceButton","Replace"),ze=$.a("label.replaceAllButton","Replace All"),Re=$.a("label.toggleReplaceButton","Toggle Replace mode"),cf=$.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),Ne=$.a("label.matchesLocation","{0} of {1}"),Oe=$.a("label.noResults","No results");let Ee=69;const yf=zb.f?256:2048;class Fe{constructor(a){this.afterLineNumber=a,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function Of(a,b,c){const e=!!b.match(/\n/);c&&e&&c.selectionStart>0&&a.stopPropagation()}function xg(a,b,c){const e=!!b.match(/\n/);c&&e&&c.selectionEnd<c.value.length&&a.stopPropagation()}class _g extends af.a{constructor(a,b,c,e,i,p,r,O,ha,ja){super(),this._cachedHeight=null,this._codeEditor=a,this._controller=b,this._state=c,this._contextViewProvider=e,this._keybindingService=i,this._contextKeyService=p,this._storageService=O,this._notificationService=ha,ja.registerStorageKey({key:"ctrlEnterReplaceAll.windows.donotask",version:1}),this._ctrlEnterReplaceAllWarningPrompted=!!O.getBoolean("ctrlEnterReplaceAll.windows.donotask",0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new sc.a(500),this._register(Object(Nb.h)(()=>this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(la=>this._onStateChanged(la))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(la=>{if(la.hasChanged(72)&&(this._codeEditor.getOption(72)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),la.hasChanged(117)&&this._tryUpdateWidgetWidth(),la.hasChanged(2)&&this.updateAccessibilitySupport(),la.hasChanged(29)){const Wa=this._codeEditor.getOption(29).addExtraSpaceOnTop;Wa&&!this._viewZone&&(this._viewZone=new Fe(0),this._showViewZone()),!Wa&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>ob(this,void 0,void 0,function*(){if(this._isVisible){let la=yield this._controller.getGlobalBufferTerm();la&&la!==this._state.searchString&&(this._state.change({searchString:la},!0),this._findInput.select())}}))),this._findInputFocused=qg.bindTo(p),this._findFocusTracker=this._register(qa.bb(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=of.bindTo(p),this._replaceFocusTracker=this._register(qa.bb(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(29).addExtraSpaceOnTop&&(this._viewZone=new Fe(0)),this._applyTheme(r.getColorTheme()),this._register(r.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(la=>{la.scrollTopChanged?this._layoutViewZone():setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return _g.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(a){if(a.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(a.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),a.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),a.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(72)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=qa.H(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(a.isRevealed||a.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),a.isRegex&&this._findInput.setRegex(this._state.isRegex),a.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),a.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),a.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),a.searchString||a.matchesCount||a.matchesPosition){let b=this._state.searchString.length>0&&0===this._state.matchesCount;qa.ab(this._domNode,"no-results",b),this._updateMatchesCount(),this._updateButtons()}(a.searchString||a.currentMatch)&&this._layoutViewZone(),a.updateHistory&&this._delayedUpdateHistory(),a.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let a;if(this._matchesCount.style.minWidth=Ee+"px",this._state.matchesCount>=19999?this._matchesCount.title=cf:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let b=String(this._state.matchesCount);this._state.matchesCount>=19999&&(b+="+");let c=String(this._state.matchesPosition);"0"===c&&(c="?"),a=jd.x(Ne,c,b)}else a=Oe;this._matchesCount.appendChild(document.createTextNode(a)),Object(tc.a)(this._getAriaLabel(a,this._state.currentMatch,this._state.searchString)),Ee=Math.max(Ee,this._matchesCount.clientWidth)}_getAriaLabel(a,b,c){if(a===Oe)return""===c?$.a("ariaSearchNoResultEmpty","{0} found",a):$.a("ariaSearchNoResult","{0} found for '{1}'",a,c);if(b){const e=$.a("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",a,c,b.startLineNumber+":"+b.startColumn),i=this._codeEditor.getModel();return i&&b.startLineNumber<=i.getLineCount()&&b.startLineNumber>=1?`${i.getLineContent(b.startLineNumber)}, ${e}`:e}return $.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",a,c)}_updateToggleSelectionFindButton(){let a=this._codeEditor.getSelection(),b=!!a&&(a.startLineNumber!==a.endLineNumber||a.startColumn!==a.endColumn),c=this._toggleSelectionFind.checked;this._isVisible&&(c||b)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let a=this._state.searchString.length>0,b=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&a&&b&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&a&&b&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&a),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&a),qa.ab(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let c=!this._codeEditor.getOption(72);this._toggleReplaceBtn.setEnabled(this._isVisible&&c)}_reveal(){if(!this._isVisible){this._isVisible=!0;const a=this._codeEditor.getSelection();switch(this._codeEditor.getOption(29).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":const c=!!a&&a.startLineNumber!==a.endLineNumber;this._toggleSelectionFind.checked=c}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(()=>{qa.e(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","false")},0),setTimeout(()=>{this._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);let b=!0;if(this._codeEditor.getOption(29).seedSearchStringFromSelection&&a){const c=this._codeEditor.getDomNode();if(c){const e=qa.C(c),i=this._codeEditor.getScrolledVisiblePosition(a.getStartPosition()),p=e.left+(i?i.left:0),r=i?i.top:0;if(this._viewZone&&r<this._viewZone.heightInPx){a.endLineNumber>a.startLineNumber&&(b=!1);const O=qa.F(this._domNode).left;p>O&&(b=!1);const ha=this._codeEditor.getScrolledVisiblePosition(a.getEndPosition());e.left+(ha?ha.left:0)>O&&(b=!1)}}}this._showViewZone(b)}}_hide(a){this._isVisible&&(this._isVisible=!1,this._updateButtons(),qa.Q(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),a&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(){if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;const a=this._viewZone;void 0===this._viewZoneId&&a&&this._codeEditor.changeViewZones(b=>{a.heightInPx=this._getHeight(),this._viewZoneId=b.addZone(a),this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+a.heightInPx)})}_showViewZone(a=!0){if(!this._isVisible)return;if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return;void 0===this._viewZone&&(this._viewZone=new Fe(0));const b=this._viewZone;this._codeEditor.changeViewZones(c=>{if(void 0!==this._viewZoneId){const e=this._getHeight();if(e===b.heightInPx)return;let i=e-b.heightInPx;return b.heightInPx=e,c.layoutZone(this._viewZoneId),void(a&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+i))}{let e=this._getHeight();if(e-=this._codeEditor.getOption(66).top,e<=0)return;b.heightInPx=e,this._viewZoneId=c.addZone(b),a&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+e)}})}_removeViewZone(){this._codeEditor.changeViewZones(a=>{void 0!==this._viewZoneId&&(a.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(a){let b={inputActiveOptionBorder:a.getColor(Va.db),inputActiveOptionBackground:a.getColor(Va.cb),inputActiveOptionForeground:a.getColor(Va.eb),inputBackground:a.getColor(Va.fb),inputForeground:a.getColor(Va.hb),inputBorder:a.getColor(Va.gb),inputValidationInfoBackground:a.getColor(Va.lb),inputValidationInfoForeground:a.getColor(Va.nb),inputValidationInfoBorder:a.getColor(Va.mb),inputValidationWarningBackground:a.getColor(Va.ob),inputValidationWarningForeground:a.getColor(Va.qb),inputValidationWarningBorder:a.getColor(Va.pb),inputValidationErrorBackground:a.getColor(Va.ib),inputValidationErrorForeground:a.getColor(Va.kb),inputValidationErrorBorder:a.getColor(Va.jb)};this._findInput.style(b),this._replaceInput.style(b),this._toggleSelectionFind.style(b)}_tryUpdateWidgetWidth(){if(!this._isVisible)return;if(!qa.N(this._domNode))return;const a=this._codeEditor.getLayoutInfo();if(a.contentWidth<=0)return void qa.e(this._domNode,"hiddenEditor");qa.I(this._domNode,"hiddenEditor")&&qa.Q(this._domNode,"hiddenEditor");const b=a.width,c=a.minimap.minimapWidth;let e=!1,i=!1,p=!1;if(this._resized){if(qa.H(this._domNode)>419)return this._domNode.style.maxWidth=b-28-c-15+"px",void(this._replaceInput.width=qa.H(this._findInput.domNode))}if(447+c>=b&&(i=!0),447+c-Ee>=b&&(p=!0),447+c-Ee>=b+50&&(e=!0),qa.ab(this._domNode,"collapsed-find-widget",e),qa.ab(this._domNode,"narrow-find-widget",p),qa.ab(this._domNode,"reduced-find-widget",i),p||e||(this._domNode.style.maxWidth=b-28-c-15+"px"),this._resized){this._findInput.inputBox.layout();let r=this._findInput.inputBox.element.clientWidth;r>0&&(this._replaceInput.width=r)}else this._isReplaceVisible&&(this._replaceInput.width=qa.H(this._findInput.domNode))}_getHeight(){let a=0;return a+=4,a+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(a+=4,a+=this._replaceInput.inputBox.height+2),a+=4,a}_tryUpdateHeight(){const a=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==a)&&(this._cachedHeight=a,this._domNode.style.height=a+"px",!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let a=this._codeEditor.getSelections();a.map(b=>{1===b.endColumn&&b.endLineNumber>b.startLineNumber&&(b=b.setEndPosition(b.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(b.endLineNumber-1)));const c=this._state.currentMatch;return b.startLineNumber===b.endLineNumber||pb.a.equalsRange(b,c)?null:b}).filter(b=>!!b),a.length&&this._state.change({searchScope:a},!0)}}_onFindInputMouseDown(a){a.middleButton&&a.stopPropagation()}_onFindInputKeyDown(a){return a.equals(3|yf)?(this._findInput.inputBox.insertAtCursor(` -`),void a.preventDefault()):a.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void a.preventDefault()):a.equals(2066)?(this._codeEditor.focus(),void a.preventDefault()):a.equals(16)?Of(a,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):a.equals(18)?xg(a,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(a){return a.equals(3|yf)?(zb.i&&zb.g&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info($.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor(` -`),void a.preventDefault()):a.equals(2)?(this._findInput.focusOnCaseSensitive(),void a.preventDefault()):a.equals(1026)?(this._findInput.focus(),void a.preventDefault()):a.equals(2066)?(this._codeEditor.focus(),void a.preventDefault()):a.equals(16)?Of(a,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):a.equals(18)?xg(a,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(a){return 0}_keybindingLabelFor(a){let b=this._keybindingService.lookupKeybinding(a);return b?` (${b.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new bb(null,this._contextViewProvider,{width:221,label:_c,placeholder:Zc,appendCaseSensitiveLabel:this._keybindingLabelFor(Hg),appendWholeWordsLabel:this._keybindingLabelFor(Mf),appendRegexLabel:this._keybindingLabelFor(Xf),validation:p=>{if(0===p.length||!this._findInput.getRegex())return null;try{return new RegExp(p,"gu"),null}catch(r){return{content:r.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(p=>this._onFindInputKeyDown(p))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(p=>{p.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),p.preventDefault())})),this._register(this._findInput.onRegexKeyDown(p=>{p.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),p.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(p=>{this._tryUpdateHeight()&&this._showViewZone()})),zb.d&&this._register(this._findInput.onMouseDown(p=>this._onFindInputMouseDown(p))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new $g({label:bd+this._keybindingLabelFor(vf),className:Jc.classNames,onTrigger:()=>{this._codeEditor.getAction(vf).run().then(void 0,La.e)}})),this._nextBtn=this._register(new $g({label:Id+this._keybindingLabelFor(sg),className:Wc.classNames,onTrigger:()=>{this._codeEditor.getAction(sg).run().then(void 0,La.e)}}));let a=document.createElement("div");a.className="find-part",a.appendChild(this._findInput.domNode);const b=document.createElement("div");b.className="find-actions",a.appendChild(b),b.appendChild(this._matchesCount),b.appendChild(this._prevBtn.domNode),b.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Jg({icon:Mb,title:sd+this._keybindingLabelFor(Ig),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let p=this._codeEditor.getSelections();p.map(r=>(1===r.endColumn&&r.endLineNumber>r.startLineNumber&&(r=r.setEndPosition(r.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(r.endLineNumber-1))),r.isEmpty()?null:r)).filter(r=>!!r),p.length&&this._state.change({searchScope:p},!0)}}else this._state.change({searchScope:null},!0)})),b.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new $g({label:Pd+this._keybindingLabelFor(ug),className:gc.classNames,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:p=>{p.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),p.preventDefault())}})),b.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ib(null,void 0,{label:be,placeholder:me,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(p=>this._onReplaceInputKeyDown(p))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(p=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(p=>{p.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),p.preventDefault())})),this._replaceBtn=this._register(new $g({label:Td+this._keybindingLabelFor(gg),className:Gc.classNames,onTrigger:()=>{this._controller.replace()},onKeyDown:p=>{p.equals(1026)&&(this._closeBtn.focus(),p.preventDefault())}})),this._replaceAllBtn=this._register(new $g({label:ze+this._keybindingLabelFor(hg),className:Qc.classNames,onTrigger:()=>{this._controller.replaceAll()}}));let c=document.createElement("div");c.className="replace-part",c.appendChild(this._replaceInput.domNode);const e=document.createElement("div");e.className="replace-actions",c.appendChild(e),e.appendChild(this._replaceBtn.domNode),e.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new $g({label:Re,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=qa.H(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(a),this._domNode.appendChild(c),this._resizeSash=new Zg.a(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let i=419;this._register(this._resizeSash.onDidStart(()=>{i=qa.H(this._domNode)})),this._register(this._resizeSash.onDidChange(p=>{this._resized=!0;let r=i+p.startX-p.currentX;if(r<419)return;r>(parseFloat(qa.z(this._domNode).maxWidth)||0)||(this._domNode.style.width=r+"px",this._isReplaceVisible&&(this._replaceInput.width=qa.H(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const p=qa.H(this._domNode);if(p<419)return;let r=419;if(!this._resized||419===p){const O=this._codeEditor.getLayoutInfo();r=O.width-28-O.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=r+"px",this._isReplaceVisible&&(this._replaceInput.width=qa.H(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){const a=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==a)}}_g.ID="editor.contrib.findWidget";class $g extends af.a{constructor(a){super(),this._opts=a,this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className="button "+this._opts.className,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,b=>{this._opts.onTrigger(),b.preventDefault()}),this.onkeydown(this._domNode,b=>{if(b.equals(10)||b.equals(3))return this._opts.onTrigger(),void b.preventDefault();this._opts.onKeyDown&&this._opts.onKeyDown(b)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(a){qa.ab(this._domNode,"disabled",!a),this._domNode.setAttribute("aria-disabled",String(!a)),this._domNode.tabIndex=a?0:-1}setExpanded(a){this._domNode.setAttribute("aria-expanded",String(!!a)),a?(qa.R(this._domNode,Gb.classNames),qa.f(this._domNode,ac.classNames)):(qa.R(this._domNode,ac.classNames),qa.f(this._domNode,Gb.classNames))}}Object(Oa.g)((a,b)=>{const c=(Db,Hb)=>{Hb&&b.addRule(`.monaco-editor ${Db} { background-color: ${Hb}; }`)};c(".findMatch",a.getColor(Va.x)),c(".currentFindMatch",a.getColor(Va.v)),c(".findScope",a.getColor(Va.z)),c(".find-widget",a.getColor(Va.U));const e=a.getColor(Va.uc);e&&b.addRule(`.monaco-editor .find-widget { box-shadow: 0 2px 8px ${e}; }`);const i=a.getColor(Va.y);i&&b.addRule(`.monaco-editor .findMatch { border: 1px ${"hc"===a.type?"dotted":"solid"} ${i}; box-sizing: border-box; }`);const p=a.getColor(Va.w);p&&b.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${p}; padding: 1px; box-sizing: border-box; }`);const r=a.getColor(Va.A);r&&b.addRule(`.monaco-editor .findScope { border: 1px ${"hc"===a.type?"dashed":"solid"} ${r}; }`);const O=a.getColor(Va.h);O&&b.addRule(`.monaco-editor .find-widget { border: 1px solid ${O}; }`);const ha=a.getColor(Va.W);ha&&b.addRule(`.monaco-editor .find-widget { color: ${ha}; }`);const ja=a.getColor(Va.Y);ja&&b.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${ja}; }`);const la=a.getColor(Va.X);if(la)b.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${la}; }`);else{const Db=a.getColor(Va.V);Db&&b.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${Db}; }`)}const Wa=a.getColor(Va.Z);Wa&&b.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${Wa}; }`)});var ji=f(166),Oi=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},zf=function(a,b){return function(c,e){b(c,e,a)}},yg=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};function Gh(a){if(!a.hasModel())return null;const b=a.getSelection();if(b.startLineNumber===b.endLineNumber){if(b.isEmpty()){const c=a.getConfiguredWordAtPosition(b.getStartPosition());if(c)return c.word}else if(a.getModel().getValueLengthInRange(b)<524288)return a.getModel().getValueInRange(b)}return null}let hf=class a extends Nb.a{constructor(b,c,e,i){super(),this._editor=b,this._findWidgetVisible=ef.bindTo(c),this._contextKeyService=c,this._storageService=e,this._clipboardService=i,this._updateHistoryDelayer=new sc.a(500),this._state=this._register(new gf()),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(p=>this._onStateChanged(p))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let p=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),p&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(29).loop})}))}static get(b){return b.getContribution(a.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(b){this.saveQueryState(b),b.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),b.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(b){b.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),b.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),b.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),b.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!qg.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let b=this._editor.getSelections();b.map(c=>(1===c.endColumn&&c.endLineNumber>c.startLineNumber&&(c=c.setEndPosition(c.endLineNumber-1,this._editor.getModel().getLineMaxColumn(c.endLineNumber-1))),c.isEmpty()?null:c)).filter(c=>!!c),b.length&&this._state.change({searchScope:b},!0)}}setSearchString(b){this._state.isRegex&&(b=jd.v(b)),this._state.change({searchString:b},!1)}highlightFindOptions(){}_start(b){return yg(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;let c={isRevealed:!0};if(b.seedSearchStringFromSelection){let e=Gh(this._editor);e&&(this._state.isRegex?c.searchString=jd.v(e):c.searchString=e)}if(!c.searchString&&b.seedSearchStringFromGlobalClipboard){let e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(c.searchString=e)}if(b.forceRevealReplace?c.isReplaceRevealed=!0:this._findWidgetVisible.get()||(c.isReplaceRevealed=!1),b.updateSearchScope){let e=this._editor.getSelections();e.some(i=>!i.isEmpty())&&(c.searchScope=e)}c.loop=b.loop,this._state.change(c,!1),this._model||(this._model=new Te(this._editor,this._state))})}start(b){return this._start(b)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return yg(this,void 0,void 0,function*(){return this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(b){this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(b)}};hf.ID="editor.contrib.findController",hf=Oi([zf(1,I.b),zf(2,Wd.a),zf(3,Pc.a)],hf);let sh=class extends hf{constructor(a,b,c,e,i,p,r,O,ha){super(a,c,r,ha),this._contextViewService=b,this._keybindingService=e,this._themeService=i,this._notificationService=p,this._storageKeysSyncRegistryService=O,this._widget=null,this._findOptionsWidget=null}_start(a){const b=Object.create(null,{_start:{get:()=>super._start}});return yg(this,void 0,void 0,function*(){this._widget||this._createFindWidget();const c=this._editor.getSelection();let e=!1;switch(this._editor.getOption(29).autoFindInSelection){case"always":e=!0;break;case"never":e=!1;break;case"multiline":e=!!c&&c.startLineNumber!==c.endLineNumber}a.updateSearchScope=e,yield b._start.call(this,a),this._widget&&(2===a.shouldFocus?this._widget.focusReplaceInput():1===a.shouldFocus&&this._widget.focusFindInput())})}highlightFindOptions(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new _g(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._storageKeysSyncRegistryService)),this._findOptionsWidget=this._register(new Mg(this._editor,this._state,this._keybindingService,this._themeService))}};sh=Oi([zf(1,ub.b),zf(2,I.b),zf(3,Rb.a),zf(4,Oa.c),zf(5,Ja.a),zf(6,Wd.a),zf(7,ji.a),zf(8,Pc.a)],sh);class ig extends ba.f{constructor(){super({id:oh,label:$.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:Qa.b.MenubarEditMenu,group:"3_find",title:$.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})}run(a,b){return yg(this,void 0,void 0,function*(){let c=hf.get(b);c&&(yield c.start({forceRevealReplace:!1,seedSearchStringFromSelection:b.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:b.getOption(29).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:b.getOption(29).loop}))})}}class Pi extends ba.b{constructor(){super({id:ph,label:$.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(a,b){return yg(this,void 0,void 0,function*(){let c=hf.get(b);c&&(yield c.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:b.getOption(29).loop}),c.setGlobalBufferTerm(c.getState().searchString))})}}class th extends ba.b{run(a,b){return yg(this,void 0,void 0,function*(){let c=hf.get(b);c&&!this._run(c)&&(yield c.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===c.getState().searchString.length&&b.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:b.getOption(29).loop}),this._run(c))})}}class Pf extends ba.b{run(a,b){return yg(this,void 0,void 0,function*(){let c=hf.get(b);if(!c)return;let e=Gh(b);e&&c.setSearchString(e),this._run(c)||(yield c.start({forceRevealReplace:!1,seedSearchStringFromSelection:b.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:b.getOption(29).loop}),this._run(c))})}}class ki extends ba.f{constructor(){super({id:tg,label:$.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:Qa.b.MenubarEditMenu,group:"3_find",title:$.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})}run(a,b){return yg(this,void 0,void 0,function*(){if(!b.hasModel()||b.getOption(72))return;let c=hf.get(b),e=b.getSelection(),i=c.isFindInputFocused(),p=!e.isEmpty()&&e.startLineNumber===e.endLineNumber&&b.getOption(29).seedSearchStringFromSelection&&!i,r=i||p?2:1;c&&(yield c.start({forceRevealReplace:!0,seedSearchStringFromSelection:p,seedSearchStringFromGlobalClipboard:b.getOption(29).seedSearchStringFromSelection,shouldFocus:r,shouldAnimate:!0,updateSearchScope:!1,loop:b.getOption(29).loop}))})}}Object(ba.m)(hf.ID,sh);const Af=new ig();Object(ba.r)(Af),Object(ba.k)(Pi),Object(ba.k)(class extends th{constructor(){super({id:sg,label:$.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})}_run(a){return a.moveToNextMatch()}}),Object(ba.k)(class extends th{constructor(){super({id:sg,label:$.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:I.a.and(S.a.focus,qg),primary:3,weight:100}})}_run(a){return a.moveToNextMatch()}}),Object(ba.k)(class extends th{constructor(){super({id:vf,label:$.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})}_run(a){return a.moveToPrevMatch()}}),Object(ba.k)(class extends th{constructor(){super({id:vf,label:$.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:I.a.and(S.a.focus,qg),primary:1027,weight:100}})}_run(a){return a.moveToPrevMatch()}}),Object(ba.k)(class extends Pf{constructor(){super({id:Wf,label:$.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:2109,weight:100}})}_run(a){return a.moveToNextMatch()}}),Object(ba.k)(class extends Pf{constructor(){super({id:Gg,label:$.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:3133,weight:100}})}_run(a){return a.moveToPrevMatch()}});const li=new ki();Object(ba.r)(li);const ee=ba.c.bindToContribution(hf.get);Object(ba.l)(new ee({id:ug,precondition:ef,handler:a=>a.closeFindWidget(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:9,secondary:[1033]}})),Object(ba.l)(new ee({id:Hg,precondition:void 0,handler:a=>a.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:Lf.primary,mac:Lf.mac,win:Lf.win,linux:Lf.linux}})),Object(ba.l)(new ee({id:Mf,precondition:void 0,handler:a=>a.toggleWholeWords(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:rg.primary,mac:rg.mac,win:rg.win,linux:rg.linux}})),Object(ba.l)(new ee({id:Xf,precondition:void 0,handler:a=>a.toggleRegex(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:eg.primary,mac:eg.mac,win:eg.win,linux:eg.linux}})),Object(ba.l)(new ee({id:Ig,precondition:void 0,handler:a=>a.toggleSearchScope(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:fg.primary,mac:fg.mac,win:fg.win,linux:fg.linux}})),Object(ba.l)(new ee({id:gg,precondition:ef,handler:a=>a.replace(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:3094}})),Object(ba.l)(new ee({id:gg,precondition:ef,handler:a=>a.replace(),kbOpts:{weight:105,kbExpr:I.a.and(S.a.focus,of),primary:3}})),Object(ba.l)(new ee({id:hg,precondition:ef,handler:a=>a.replaceAll(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:2563}})),Object(ba.l)(new ee({id:hg,precondition:ef,handler:a=>a.replaceAll(),kbOpts:{weight:105,kbExpr:I.a.and(S.a.focus,of),primary:void 0,mac:{primary:2051}}})),Object(ba.l)(new ee({id:Nf,precondition:ef,handler:a=>a.selectAllMatches(),kbOpts:{weight:105,kbExpr:S.a.focus,primary:515}})),f(298);var Zd=f(14);class ah{constructor(a,b,c){if(a.length!==b.length||a.length>65535)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=a,this._endIndexes=b,this._collapseStates=new Uint32Array(Math.ceil(a.length/32)),this._types=c,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let a=[],b=(c,e)=>{let i=a[a.length-1];return this.getStartLineNumber(i)<=c&&this.getEndLineNumber(i)>=e};for(let c=0,e=this._startIndexes.length;c<e;c++){let i=this._startIndexes[c],p=this._endIndexes[c];if(i>16777215||p>16777215)throw new Error("startLineNumber or endLineNumber must not exceed 16777215");for(;a.length>0&&!b(i,p);)a.pop();let r=a.length>0?a[a.length-1]:-1;a.push(c),this._startIndexes[c]=i+((255&r)<<24),this._endIndexes[c]=p+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(a){return 16777215&this._startIndexes[a]}getEndLineNumber(a){return 16777215&this._endIndexes[a]}getType(a){return this._types?this._types[a]:void 0}hasTypes(){return!!this._types}isCollapsed(a){let b=a/32|0,c=a%32;return 0!=(this._collapseStates[b]&1<<c)}setCollapsed(a,b){let c=a/32|0,e=a%32,i=this._collapseStates[c];this._collapseStates[c]=b?i|1<<e:i&~(1<<e)}toRegion(a){return new Qi(this,a)}getParentIndex(a){this.ensureParentIndices();let b=((4278190080&this._startIndexes[a])>>>24)+((4278190080&this._endIndexes[a])>>>16);return 65535===b?-1:b}contains(a,b){return this.getStartLineNumber(a)<=b&&this.getEndLineNumber(a)>=b}findIndex(a){let b=0,c=this._startIndexes.length;if(0===c)return-1;for(;b<c;){let e=Math.floor((b+c)/2);a<this.getStartLineNumber(e)?c=e:b=e+1}return b-1}findRange(a){let b=this.findIndex(a);if(b>=0){if(this.getEndLineNumber(b)>=a)return b;for(b=this.getParentIndex(b);-1!==b;){if(this.contains(b,a))return b;b=this.getParentIndex(b)}}return-1}toString(){let a=[];for(let b=0;b<this.length;b++)a[b]=`[${this.isCollapsed(b)?"+":"-"}] ${this.getStartLineNumber(b)}/${this.getEndLineNumber(b)}`;return a.join(", ")}}class Qi{constructor(a,b){this.ranges=a,this.index=b}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(a){return a.startLineNumber<=this.startLineNumber&&a.endLineNumber>=this.endLineNumber}containsLine(a){return this.startLineNumber<=a&&a<=this.endLineNumber}}class Ri{constructor(a,b){this._updateEventEmitter=new jb.a(),this.onDidChange=this._updateEventEmitter.event,this._textModel=a,this._decorationProvider=b,this._regions=new ah(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(a){if(!a.length)return;a=a.sort((c,e)=>c.regionIndex-e.regionIndex);const b={};this._decorationProvider.changeDecorations(c=>{let e=0,i=-1,p=-1;const r=O=>{for(;e<O;){const ha=this._regions.getEndLineNumber(e),ja=this._regions.isCollapsed(e);ha<=i&&c.changeDecorationOptions(this._editorDecorationIds[e],this._decorationProvider.getDecorationOption(ja,ha<=p)),ja&&ha>p&&(p=ha),e++}};for(let O of a){let ha=O.regionIndex,ja=this._editorDecorationIds[ha];if(ja&&!b[ja]){b[ja]=!0,r(ha);let la=!this._regions.isCollapsed(ha);this._regions.setCollapsed(ha,la),i=Math.max(i,this._regions.getEndLineNumber(ha))}}r(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:a})}update(a,b=[]){let c=[],e=-1,i=(ja,la)=>{const Wa=a.getStartLineNumber(ja),Db=a.getEndLineNumber(ja);la&&((lc,Ac)=>{for(let Tc of b)if(lc<Tc&&Tc<=Ac)return!0;return!1})(Wa,Db)&&(la=!1),a.setCollapsed(ja,la);const Hb=this._textModel.getLineMaxColumn(Wa),Pb={startLineNumber:Wa,startColumn:Hb,endLineNumber:Wa,endColumn:Hb};c.push({range:Pb,options:this._decorationProvider.getDecorationOption(la,Db<=e)}),la&&Db>e&&(e=Db)},p=0,r=()=>{for(;p<this._regions.length;){let ja=this._regions.isCollapsed(p);if(p++,ja)return p-1}return-1},O=0,ha=r();for(;-1!==ha&&O<a.length;){let ja=this._textModel.getDecorationRange(this._editorDecorationIds[ha]);if(ja){let la=ja.startLineNumber;if(this._textModel.getLineMaxColumn(la)===ja.startColumn)for(;O<a.length;){let Wa=a.getStartLineNumber(O);if(!(la>=Wa))break;i(O,la===Wa),O++}}ha=r()}for(;O<a.length;)i(O,!1),O++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,c),this._regions=a,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})}getMemento(){let a=[];for(let b=0;b<this._regions.length;b++)if(this._regions.isCollapsed(b)){let c=this._textModel.getDecorationRange(this._editorDecorationIds[b]);if(c){let e=c.startLineNumber,i=c.endLineNumber+this._regions.getEndLineNumber(b)-this._regions.getStartLineNumber(b);a.push({startLineNumber:e,endLineNumber:i})}}if(a.length>0)return a}applyMemento(a){if(!Array.isArray(a))return;let b=[];for(let c of a){let e=this.getRegionAtLine(c.startLineNumber);e&&!e.isCollapsed&&b.push(e)}this.toggleCollapseState(b)}dispose(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])}getAllRegionsAtLine(a,b){let c=[];if(this._regions){let e=this._regions.findRange(a),i=1;for(;e>=0;){let p=this._regions.toRegion(e);b&&!b(p,i)||c.push(p),i++,e=p.parentIndex}}return c}getRegionAtLine(a){if(this._regions){let b=this._regions.findRange(a);if(b>=0)return this._regions.toRegion(b)}return null}getRegionsInside(a,b){let c=[],e=a?a.regionIndex+1:0,i=a?a.endLineNumber:Number.MAX_VALUE;if(b&&2===b.length){const p=[];for(let r=e,O=this._regions.length;r<O;r++){let ha=this._regions.toRegion(r);if(!(this._regions.getStartLineNumber(r)<i))break;for(;p.length>0&&!ha.containedBy(p[p.length-1]);)p.pop();p.push(ha),b(ha,p.length)&&c.push(ha)}}else for(let p=e,r=this._regions.length;p<r;p++){let O=this._regions.toRegion(p);if(!(this._regions.getStartLineNumber(p)<i))break;b&&!b(O)||c.push(O)}return c}}function jg(a,b,c=Number.MAX_VALUE,e){let i=[];if(e&&e.length>0)for(let p of e){let r=a.getRegionAtLine(p);if(r&&(r.isCollapsed!==b&&i.push(r),c>1)){let O=a.getRegionsInside(r,(ha,ja)=>ha.isCollapsed!==b&&ja<c);i.push(...O)}}else{let p=a.getRegionsInside(null,(r,O)=>r.isCollapsed!==b&&O<c);i.push(...p)}a.toggleCollapseState(i)}function Hh(a,b,c,e){let i=[];for(let p of e){let r=a.getAllRegionsAtLine(p,(O,ha)=>O.isCollapsed!==b&&ha<=c);i.push(...r)}a.toggleCollapseState(i)}function uh(a,b,c){let e=a.textModel,i=a.regions,p=[];for(let r=i.length-1;r>=0;r--)if(c!==i.isCollapsed(r)){let O=i.getStartLineNumber(r);b.test(e.getLineContent(O))&&p.push(i.toRegion(r))}a.toggleCollapseState(p)}function vh(a,b,c){let e=a.regions,i=[];for(let p=e.length-1;p>=0;p--)c!==e.isCollapsed(p)&&b===e.getType(p)&&i.push(e.toRegion(p));a.toggleCollapseState(i)}const bh=Object(va.e)("folding-expanded",va.a.chevronDown),mi=Object(va.e)("folding-collapsed",va.a.chevronRight);class Bf{constructor(a){this.editor=a,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(a,b){return b?Bf.HIDDEN_RANGE_DECORATION:a?this.showFoldingHighlights?Bf.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:Bf.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?Bf.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:Bf.EXPANDED_VISUAL_DECORATION}deltaDecorations(a,b){return this.editor.deltaDecorations(a,b)}changeDecorations(a){return this.editor.changeDecorations(a)}}Bf.COLLAPSED_VISUAL_DECORATION=Eb.a.register({stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:mi.classNames}),Bf.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=Eb.a.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:mi.classNames}),Bf.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=Eb.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:bh.classNames}),Bf.EXPANDED_VISUAL_DECORATION=Eb.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+bh.classNames}),Bf.HIDDEN_RANGE_DECORATION=Eb.a.register({stickiness:1});class Si{constructor(a){this._updateEventEmitter=new jb.a(),this._foldingModel=a,this._foldingModelListener=a.onDidChange(b=>this.updateHiddenRanges()),this._hiddenRanges=[],a.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let a=!1,b=[],c=0,e=0,i=Number.MAX_VALUE,p=-1,r=this._foldingModel.regions;for(;c<r.length;c++){if(!r.isCollapsed(c))continue;let O=r.getStartLineNumber(c)+1,ha=r.getEndLineNumber(c);i<=O&&ha<=p||(!a&&e<this._hiddenRanges.length&&this._hiddenRanges[e].startLineNumber===O&&this._hiddenRanges[e].endLineNumber===ha?(b.push(this._hiddenRanges[e]),e++):(a=!0,b.push(new pb.a(O,1,ha,1))),i=O,p=ha)}(a||e<this._hiddenRanges.length)&&this.applyHiddenRanges(b)}applyMemento(a){if(!Array.isArray(a)||0===a.length)return!1;let b=[];for(let c of a){if(!c.startLineNumber||!c.endLineNumber)return!1;b.push(new pb.a(c.startLineNumber+1,1,c.endLineNumber,1))}return this.applyHiddenRanges(b),!0}getMemento(){return this._hiddenRanges.map(a=>({startLineNumber:a.startLineNumber-1,endLineNumber:a.endLineNumber}))}applyHiddenRanges(a){this._hiddenRanges=a,this._updateEventEmitter.fire(a)}hasRanges(){return this._hiddenRanges.length>0}isHidden(a){return null!==Xc(this._hiddenRanges,a)}adjustSelections(a){let b=!1,c=this._foldingModel.textModel,e=null,i=p=>(e&&function(r,O){return r>=O.startLineNumber&&r<=O.endLineNumber}(p,e)||(e=Xc(this._hiddenRanges,p)),e?e.startLineNumber-1:null);for(let p=0,r=a.length;p<r;p++){let O=a[p],ha=i(O.startLineNumber);ha&&(O=O.setStartPosition(ha,c.getLineMaxColumn(ha)),b=!0);let ja=i(O.endLineNumber);ja&&(O=O.setEndPosition(ja,c.getLineMaxColumn(ja)),b=!0),a[p]=O}return b}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function Xc(a,b){let c=Object(ka.h)(a,e=>b<e.startLineNumber)-1;return c>=0&&a[c].endLineNumber>=b?a[c]:null}class ni{constructor(a){this.editorModel=a,this.id="indent"}dispose(){}compute(a){let b=Be.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),c=b&&!!b.offSide,e=b&&b.markers;return Promise.resolve(function(i,p,r,O=5e3){const ha=i.getOptions().tabSize;let ja=new Ti(O),la;r&&(la=new RegExp(`(${r.start.source})|(?:${r.end.source})`));let Wa=[],Db=i.getLineCount()+1;Wa.push({indent:-1,endAbove:Db,line:Db});for(let Hb=i.getLineCount();Hb>0;Hb--){let Pb,lc=i.getLineContent(Hb),Ac=Eb.b.computeIndentLevel(lc,ha),Tc=Wa[Wa.length-1];if(-1!==Ac){if(la&&(Pb=lc.match(la))){if(!Pb[1]){Wa.push({indent:-2,endAbove:Hb,line:Hb});continue}{let $c=Wa.length-1;for(;$c>0&&-2!==Wa[$c].indent;)$c--;if($c>0){Wa.length=$c+1,Tc=Wa[$c],ja.insertFirst(Hb,Tc.line,Ac),Tc.line=Hb,Tc.indent=Ac,Tc.endAbove=Hb;continue}}}if(Tc.indent>Ac){do Wa.pop(),Tc=Wa[Wa.length-1];while(Tc.indent>Ac);let $c=Tc.endAbove-1;$c-Hb>=1&&ja.insertFirst(Hb,$c,Ac)}Tc.indent===Ac?Tc.endAbove=Hb:Wa.push({indent:Ac,endAbove:Hb,line:Hb})}else p&&(Tc.endAbove=Hb)}return ja.toIndentRanges(i)}(this.editorModel,c,e))}}class Ti{constructor(a){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=a}insertFirst(a,b,c){if(a>16777215||b>16777215)return;let e=this._length;this._startIndexes[e]=a,this._endIndexes[e]=b,this._length++,c<1e3&&(this._indentOccurrences[c]=(this._indentOccurrences[c]||0)+1)}toIndentRanges(a){if(this._length<=this._foldingRangesLimit){let b=new Uint32Array(this._length),c=new Uint32Array(this._length);for(let e=this._length-1,i=0;e>=0;e--,i++)b[i]=this._startIndexes[e],c[i]=this._endIndexes[e];return new ah(b,c)}{let b=0,c=this._indentOccurrences.length;for(let r=0;r<this._indentOccurrences.length;r++){let O=this._indentOccurrences[r];if(O){if(O+b>this._foldingRangesLimit){c=r;break}b+=O}}const e=a.getOptions().tabSize;let i=new Uint32Array(this._foldingRangesLimit),p=new Uint32Array(this._foldingRangesLimit);for(let r=this._length-1,O=0;r>=0;r--){let ha=this._startIndexes[r],ja=a.getLineContent(ha),la=Eb.b.computeIndentLevel(ja,e);(la<c||la===c&&b++<this._foldingRangesLimit)&&(i[O]=ha,p[O]=this._endIndexes[r],O++)}return new ah(i,p)}}}const Ih={};class Jh{constructor(a,b,c=5e3){this.editorModel=a,this.providers=b,this.limit=c,this.id="syntax"}compute(a){return function(b,c,e){let i=null,p=b.map((r,O)=>Promise.resolve(r.provideFoldingRanges(c,Ih,e)).then(ha=>{if(!e.isCancellationRequested&&Array.isArray(ha)){Array.isArray(i)||(i=[]);let ja=c.getLineCount();for(let la of ha)la.start>0&&la.end>la.start&&la.end<=ja&&i.push({start:la.start,end:la.end,rank:O,kind:la.kind})}},La.f));return Promise.all(p).then(r=>i)}(this.providers,this.editorModel,a).then(b=>b?pi(b,this.limit):null)}dispose(){}}class oi{constructor(a){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=a}add(a,b,c,e){if(a>16777215||b>16777215)return;let i=this._length;this._startIndexes[i]=a,this._endIndexes[i]=b,this._nestingLevels[i]=e,this._types[i]=c,this._length++,e<30&&(this._nestingLevelCounts[e]=(this._nestingLevelCounts[e]||0)+1)}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let a=new Uint32Array(this._length),b=new Uint32Array(this._length);for(let c=0;c<this._length;c++)a[c]=this._startIndexes[c],b[c]=this._endIndexes[c];return new ah(a,b,this._types)}{let a=0,b=this._nestingLevelCounts.length;for(let p=0;p<this._nestingLevelCounts.length;p++){let r=this._nestingLevelCounts[p];if(r){if(r+a>this._foldingRangesLimit){b=p;break}a+=r}}let c=new Uint32Array(this._foldingRangesLimit),e=new Uint32Array(this._foldingRangesLimit),i=[];for(let p=0,r=0;p<this._length;p++){let O=this._nestingLevels[p];(O<b||O===b&&a++<this._foldingRangesLimit)&&(c[r]=this._startIndexes[p],e[r]=this._endIndexes[p],i[r]=this._types[p],r++)}return new ah(c,e,i)}}}function pi(a,b){let c=a.sort((r,O)=>{let ha=r.start-O.start;return 0===ha&&(ha=r.rank-O.rank),ha}),e=new oi(b),i,p=[];for(let r of c)if(i){if(r.start>i.start)if(r.end<=i.end)p.push(i),i=r,e.add(r.start,r.end,r.kind&&r.kind.value,p.length);else{if(r.start>i.end){do i=p.pop();while(i&&r.start>i.end);i&&p.push(i),i=r}e.add(r.start,r.end,r.kind&&r.kind.value,p.length)}}else i=r,e.add(r.start,r.end,r.kind&&r.kind.value,p.length);return e.toIndentRanges()}class Ui{constructor(a,b,c,e){if(this.editorModel=a,this.id="init",b.length){let i=p=>({range:{startLineNumber:p.startLineNumber,startColumn:0,endLineNumber:p.endLineNumber,endColumn:a.getLineLength(p.endLineNumber)},options:{stickiness:1}});this.decorationIds=a.deltaDecorations([],b.map(i)),this.timeout=setTimeout(c,e)}}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(a){let b=[];if(this.decorationIds)for(let c of this.decorationIds){let e=this.editorModel.getDecorationRange(c);e&&b.push({start:e.startLineNumber,end:e.endLineNumber,rank:1})}return Promise.resolve(pi(b,Number.MAX_VALUE))}}var qi=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Kh=function(a,b){return function(c,e){b(c,e,a)}};const jf=new I.c("foldingEnabled",!1);let zg=class a extends Nb.a{constructor(b,c){super(),this.contextKeyService=c,this.localToDispose=this._register(new Nb.b()),this.editor=b;const e=this.editor.getOptions();this._isEnabled=e.get(31),this._useFoldingProviders="indentation"!==e.get(32),this._unfoldOnClickAfterEndOfLine=e.get(34),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingStateMemento=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new Bf(b),this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===e.get(91),this.foldingDecorationProvider.showFoldingHighlights=e.get(33),this.foldingEnabled=jf.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(i=>{if(i.hasChanged(31)&&(this._isEnabled=this.editor.getOptions().get(31),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),i.hasChanged(91)||i.hasChanged(33)){const p=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===p.get(91),this.foldingDecorationProvider.showFoldingHighlights=p.get(33),this.onModelContentChanged()}i.hasChanged(32)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(32),this.onFoldingStrategyChanged()),i.hasChanged(34)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(34))})),this.onModelChanged()}static get(b){return b.getContribution(a.ID)}saveViewState(){let b=this.editor.getModel();if(!b||!this._isEnabled||b.isTooLargeForTokenization())return{};if(this.foldingModel){let c=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),e=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:c,lineCount:b.getLineCount(),provider:e}}}restoreViewState(b){let c=this.editor.getModel();if(!c||!this._isEnabled||c.isTooLargeForTokenization()||!this.hiddenRangeModel)return;if(!b||!b.collapsedRegions||b.lineCount!==c.getLineCount())return;"syntax"!==b.provider&&"init"!==b.provider||(this.foldingStateMemento=b);const e=b.collapsedRegions;if(this.hiddenRangeModel.applyMemento(e)){const i=this.getFoldingModel();i&&i.then(p=>{p&&p.applyMemento(e)}).then(void 0,La.e)}}onModelChanged(){this.localToDispose.clear();let b=this.editor.getModel();this._isEnabled&&b&&!b.isTooLargeForTokenization()&&(this.foldingModel=new Ri(b,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new Si(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(c=>this.onHiddenRangesChanges(c))),this.updateScheduler=new sc.a(200),this.cursorChangedScheduler=new sc.d(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(W.o.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(()=>this.onModelContentChanged())),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(c=>this.onEditorMouseDown(c))),this.localToDispose.add(this.editor.onMouseUp(c=>this.onEditorMouseUp(c))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(b){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new ni(b),this._useFoldingProviders&&this.foldingModel){let c=W.o.ordered(this.foldingModel.textModel);if(0===c.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions)return this.rangeProvider=new Ui(b,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4);c.length>0&&(this.rangeProvider=new Jh(b,c))}return this.foldingStateMemento=null,this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const b=this.foldingModel;if(!b)return null;let c=this.foldingRegionPromise=Object(sc.f)(e=>this.getRangeProvider(b.textModel).compute(e));return c.then(e=>{if(e&&c===this.foldingRegionPromise){let i=this.editor.getSelections(),p=i?i.map(r=>r.startLineNumber):[];b.update(e,p)}return b})}).then(void 0,b=>(Object(La.e)(b),null)))}onHiddenRangesChanges(b){if(this.hiddenRangeModel&&b.length){let c=this.editor.getSelections();c&&this.hiddenRangeModel.adjustSelections(c)&&this.editor.setSelections(c)}this.editor.setHiddenAreas(b)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const b=this.getFoldingModel();b&&b.then(c=>{if(c){let e=this.editor.getSelections();if(e&&e.length>0){let i=[];for(let p of e){let r=p.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(r)&&i.push(...c.getAllRegionsAtLine(r,O=>O.isCollapsed&&r>O.startLineNumber))}i.length&&(c.toggleCollapseState(i),this.reveal(e[0].getPosition()))}}}).then(void 0,La.e)}onEditorMouseDown(b){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!b.target||!b.target.range)return;if(!b.event.leftButton&&!b.event.middleButton)return;const c=b.target.range;let e=!1;switch(b.target.type){case 4:const i=b.target.detail,p=b.target.element.offsetLeft;if(i.offsetX-p<5)return;e=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){if(!b.target.detail.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let r=this.editor.getModel();if(r&&c.startColumn===r.getLineMaxColumn(c.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:c.startLineNumber,iconClicked:e}}onEditorMouseUp(b){const c=this.getFoldingModel();if(!c||!this.mouseDownInfo||!b.target)return;let e=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,p=b.target.range;if(p&&p.startLineNumber===e){if(i){if(4!==b.target.type)return}else{let r=this.editor.getModel();if(!r||p.startColumn!==r.getLineMaxColumn(e))return}c.then(r=>{if(r){let O=r.getRegionAtLine(e);if(O&&O.startLineNumber===e){let ha=O.isCollapsed;if(i||ha){let ja=[],la=b.event.middleButton||b.event.shiftKey;if(la)for(const Wa of r.getRegionsInside(O))Wa.isCollapsed===ha&&ja.push(Wa);!ha&&la&&0!==ja.length||ja.push(O),r.toggleCollapseState(ja),this.reveal({lineNumber:e,column:1})}}}}).then(void 0,La.e)}}reveal(b){this.editor.revealPositionInCenterIfOutsideViewport(b,0)}};zg.ID="editor.contrib.folding",zg=qi([Kh(1,I.b)],zg);class Xe extends ba.b{runEditorCommand(a,b,c){let e=zg.get(b);if(!e)return;let i=e.getFoldingModel();return i?(this.reportTelemetry(a,b),i.then(p=>{if(p){this.invoke(e,p,b,c);const r=b.getSelection();r&&e.reveal(r.getStartPosition())}})):void 0}getSelectedLines(a){let b=a.getSelections();return b?b.map(c=>c.startLineNumber):[]}getLineNumbers(a,b){return a&&a.selectionLines?a.selectionLines.map(c=>c+1):this.getSelectedLines(b)}run(a,b){}}function Lh(a){if(!Zd.k(a)){if(!Zd.i(a))return!1;const b=a;if(!Zd.k(b.levels)&&!Zd.h(b.levels))return!1;if(!Zd.k(b.direction)&&!Zd.j(b.direction))return!1;if(!(Zd.k(b.selectionLines)||Zd.e(b.selectionLines)&&b.selectionLines.every(Zd.h)))return!1}return!0}class Ng extends Xe{getFoldingLevel(){return parseInt(this.id.substr(Ng.ID_PREFIX.length))}invoke(a,b,c){!function(e,i,p,r){let O=e.getRegionsInside(null,(ha,ja)=>ja===i&&ha.isCollapsed!==p&&!r.some(la=>ha.containsLine(la)));e.toggleCollapseState(O)}(b,this.getFoldingLevel(),!0,this.getSelectedLines(c))}}Ng.ID_PREFIX="editor.foldLevel",Ng.ID=a=>Ng.ID_PREFIX+a,Object(ba.m)(zg.ID,zg),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.unfold",label:$.a("unfoldAction.label","Unfold"),alias:"Unfold",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: +`,""]),Ie.exports=w},,function(Ie,w,o){"use strict";o.r(w),o.d(w,"CancellationTokenSource",function(){return ge.a}),o.d(w,"Emitter",function(){return ge.b}),o.d(w,"KeyCode",function(){return ge.c}),o.d(w,"KeyMod",function(){return ge.d}),o.d(w,"Position",function(){return ge.g}),o.d(w,"Range",function(){return ge.h}),o.d(w,"Selection",function(){return ge.i}),o.d(w,"SelectionDirection",function(){return ge.j}),o.d(w,"MarkerSeverity",function(){return ge.e}),o.d(w,"MarkerTag",function(){return ge.f}),o.d(w,"Uri",function(){return ge.l}),o.d(w,"Token",function(){return ge.k}),o.d(w,"editor",function(){return ge.m}),o.d(w,"languages",function(){return ge.n});var h,f,D,H,E,ge=o(108),W=o(29);(function(u){u[u.None=0]="None",u[u.CommonJS=1]="CommonJS",u[u.AMD=2]="AMD",u[u.UMD=3]="UMD",u[u.System=4]="System",u[u.ES2015=5]="ES2015",u[u.ESNext=99]="ESNext"})(h||(h={})),function(u){u[u.None=0]="None",u[u.Preserve=1]="Preserve",u[u.React=2]="React",u[u.ReactNative=3]="ReactNative"}(f||(f={})),function(u){u[u.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",u[u.LineFeed=1]="LineFeed"}(D||(D={})),function(u){u[u.ES3=0]="ES3",u[u.ES5=1]="ES5",u[u.ES2015=2]="ES2015",u[u.ES2016=3]="ES2016",u[u.ES2017=4]="ES2017",u[u.ES2018=5]="ES2018",u[u.ES2019=6]="ES2019",u[u.ES2020=7]="ES2020",u[u.ESNext=99]="ESNext",u[u.JSON=100]="JSON",u[u.Latest=99]="Latest"}(H||(H={})),function(u){u[u.Classic=1]="Classic",u[u.NodeJs=2]="NodeJs"}(E||(E={}));var Q=function(){function u(e,t,n){this._onDidChange=new W.a,this._onDidExtraLibsChange=new W.a,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(n),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(u.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),u.prototype.getExtraLibs=function(){return this._extraLibs},u.prototype.addExtraLib=function(e,t){var n,r=this;if(n=t===void 0?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var d=1;return this._removedExtraLibs[n]&&(d=this._removedExtraLibs[n]+1),this._extraLibs[n]&&(d=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:d},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var m=r._extraLibs[n];m&&m.version===d&&(delete r._extraLibs[n],r._removedExtraLibs[n]=d,r._fireOnDidExtraLibsChangeSoon())}}},u.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var n=0,r=e;n<r.length;n++){var d=r[n],m=(t=d.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),d.content),O=1;this._removedExtraLibs[t]&&(O=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:m,version:O}}this._fireOnDidExtraLibsChangeSoon()},u.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=setTimeout(function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)},0))},u.prototype.getCompilerOptions=function(){return this._compilerOptions},u.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},u.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},u.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},u.prototype.setWorkerOptions=function(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},u.prototype.setMaximumWorkerIdleTime=function(e){},u.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},u.prototype.getEagerModelSync=function(){return this._eagerModelSync},u}(),y=new Q({allowNonTsExtensions:!0,target:H.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{}),C=new Q({allowNonTsExtensions:!0,allowJs:!0,target:H.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1},{});function S(){return Promise.resolve().then(o.bind(null,412))}W.g.typescript={ModuleKind:h,JsxEmit:f,NewLineKind:D,ScriptTarget:H,ModuleResolutionKind:E,typescriptVersion:"4.0.3",typescriptDefaults:y,javascriptDefaults:C,getTypeScriptWorker:function(){return S().then(function(u){return u.getTypeScriptWorker()})},getJavaScriptWorker:function(){return S().then(function(u){return u.getJavaScriptWorker()})}},W.g.onLanguage("typescript",function(){return S().then(function(u){return u.setupTypeScript(y)})}),W.g.onLanguage("javascript",function(){return S().then(function(u){return u.setupJavaScript(C)})});var P=o(52),V=function(){function u(e,t,n){this._onDidChange=new P.a,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(u.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),u.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},u.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},u}(),k={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},l={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},T=new V("css",k,l),N=new V("scss",k,l),b=new V("less",k,l);function g(){return Promise.resolve().then(o.bind(null,414))}P.f.css={cssDefaults:T,lessDefaults:b,scssDefaults:N},P.f.onLanguage("less",function(){g().then(function(u){return u.setupMode(b)})}),P.f.onLanguage("scss",function(){g().then(function(u){return u.setupMode(N)})}),P.f.onLanguage("css",function(){g().then(function(u){return u.setupMode(T)})});var j=o(59),ie=new(function(){function u(e,t,n){this._onDidChange=new j.a,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(u.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),u.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},u.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},u}())("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});j.f.json={jsonDefaults:ie},j.f.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),j.f.onLanguage("json",function(){Promise.resolve().then(o.bind(null,413)).then(function(u){return u.setupMode(ie)})});var U=o(47),q=function(){function u(e,t,n){this._onDidChange=new U.a,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(u.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),u.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},u.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},u}(),B={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},se={format:B,suggest:{html5:!0}},ke={format:B,suggest:{html5:!0,razor:!0}};function xe(u){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:u===Y,documentFormattingEdits:u===Y,documentRangeFormattingEdits:u===Y}}var Y="html",Z=new q(Y,{format:B,suggest:{html5:!0,angular1:!0,ionic:!0}},xe(Y)),te=new q("handlebars",se,xe("handlebars")),he=new q("razor",ke,xe("razor"));function Ce(){return Promise.resolve().then(o.bind(null,415))}U.f.html={htmlDefaults:Z,razorDefaults:he,handlebarDefaults:te},U.f.onLanguage(Y,function(){Ce().then(function(u){return u.setupMode(Z)})}),U.f.onLanguage("handlebars",function(){Ce().then(function(u){return u.setupMode(te)})}),U.f.onLanguage("razor",function(){Ce().then(function(u){return u.setupMode(he)})});var Ae=o(95),L={},nt={},ct=function(){function u(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(n,r){t._lazyLoadPromiseResolve=n,t._lazyLoadPromiseReject=r})}return u.getOrCreate=function(e){return nt[e]||(nt[e]=new u(e)),nt[e]},u.prototype.whenLoaded=function(){return this._lazyLoadPromise},u.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,L[this._languageId].loader().then(function(t){return e._lazyLoadPromiseResolve(t)},function(t){return e._lazyLoadPromiseReject(t)})),this._lazyLoadPromise},u}();function Ye(u){var e=u.id;L[e]=u,Ae.a.register(u);var t=ct.getOrCreate(e);Ae.a.setMonarchTokensProvider(e,t.whenLoaded().then(function(n){return n.language})),Ae.a.onLanguage(e,function(){t.load().then(function(n){Ae.a.setLanguageConfiguration(e,n.conf)})})}Ye({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return Promise.resolve().then(o.bind(null,347))}}),Ye({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return Promise.resolve().then(o.bind(null,348))}}),Ye({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return Promise.resolve().then(o.bind(null,349))}}),Ye({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return Promise.resolve().then(o.bind(null,350))}}),Ye({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return Promise.resolve().then(o.bind(null,351))}}),Ye({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return Promise.resolve().then(o.bind(null,352))}}),Ye({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return Promise.resolve().then(o.bind(null,353))}}),Ye({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return Promise.resolve().then(o.bind(null,354))}}),Ye({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return Promise.resolve().then(o.bind(null,354))}}),Ye({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return Promise.resolve().then(o.bind(null,355))}}),Ye({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return Promise.resolve().then(o.bind(null,356))}}),Ye({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return Promise.resolve().then(o.bind(null,357))}}),Ye({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return Promise.resolve().then(o.bind(null,358))}}),Ye({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return Promise.resolve().then(o.bind(null,359))}}),Ye({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return Promise.resolve().then(o.bind(null,360))}}),Ye({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return Promise.resolve().then(o.bind(null,361))}}),Ye({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return Promise.resolve().then(o.bind(null,362))}}),Ye({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return Promise.resolve().then(o.bind(null,363))}}),Ye({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return Promise.resolve().then(o.bind(null,364))}}),Ye({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return Promise.resolve().then(o.bind(null,365))}}),Ye({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return Promise.resolve().then(o.bind(null,366))}}),Ye({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return Promise.resolve().then(o.bind(null,367))}}),Ye({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return Promise.resolve().then(o.bind(null,368))}}),Ye({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return Promise.resolve().then(o.bind(null,369))}}),Ye({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return Promise.resolve().then(o.bind(null,370))}}),Ye({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return Promise.resolve().then(o.bind(null,371))}}),Ye({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return Promise.resolve().then(o.bind(null,372))}}),Ye({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return Promise.resolve().then(o.bind(null,373))}}),Ye({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return Promise.resolve().then(o.bind(null,374))}}),Ye({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return Promise.resolve().then(o.bind(null,375))}}),Ye({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return Promise.resolve().then(o.bind(null,376))}}),Ye({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return Promise.resolve().then(o.bind(null,377))}}),Ye({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return Promise.resolve().then(o.bind(null,378))}}),Ye({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return Promise.resolve().then(o.bind(null,379))}}),Ye({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return Promise.resolve().then(o.bind(null,380))}}),Ye({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return Promise.resolve().then(o.bind(null,381))}}),Ye({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return Promise.resolve().then(o.bind(null,382))}}),Ye({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return Promise.resolve().then(o.bind(null,383))}}),Ye({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return Promise.resolve().then(o.bind(null,384))}}),Ye({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return Promise.resolve().then(o.bind(null,385))}}),Ye({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return Promise.resolve().then(o.bind(null,386))}}),Ye({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return Promise.resolve().then(o.bind(null,387))}}),Ye({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return Promise.resolve().then(o.bind(null,388))}}),Ye({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return Promise.resolve().then(o.bind(null,389))}}),Ye({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return Promise.resolve().then(o.bind(null,390))}}),Ye({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return Promise.resolve().then(o.bind(null,391))}}),Ye({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return Promise.resolve().then(o.bind(null,392))}}),Ye({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return Promise.resolve().then(o.bind(null,393))}}),Ye({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return Promise.resolve().then(o.bind(null,394))}}),Ye({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return Promise.resolve().then(o.bind(null,395))}}),Ye({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return Promise.resolve().then(o.bind(null,396))}}),Ye({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return Promise.resolve().then(o.bind(null,397))}}),Ye({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return Promise.resolve().then(o.bind(null,398))}}),Ye({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return Promise.resolve().then(o.bind(null,399))}}),Ye({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return Promise.resolve().then(o.bind(null,400))}}),Ye({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return Promise.resolve().then(o.bind(null,401))}}),Ye({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return Promise.resolve().then(o.bind(null,402))}}),Ye({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return Promise.resolve().then(o.bind(null,403))}}),Ye({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return Promise.resolve().then(o.bind(null,404))}}),Ye({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return Promise.resolve().then(o.bind(null,405))}}),Ye({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return Promise.resolve().then(o.bind(null,406))}}),Ye({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return Promise.resolve().then(o.bind(null,406))}}),Ye({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return Promise.resolve().then(o.bind(null,407))}}),Ye({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return Promise.resolve().then(o.bind(null,408))}}),Ye({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return Promise.resolve().then(o.bind(null,142))}}),Ye({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return Promise.resolve().then(o.bind(null,409))}}),Ye({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return Promise.resolve().then(o.bind(null,410))}}),Ye({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return Promise.resolve().then(o.bind(null,411))}});var ht=o(107),fe=o(164),$=(o(194),o(193),o(281),o(4)),G=o(0),z=o(7),J=o(21),Se=o(43),A=o(10),ee=o(15),de=o(17),Oe=o(13);class $e{constructor(e="",t=!1){var n,r;if(this._value=e,typeof this._value!="string")throw Object(Oe.b)("value");typeof t=="boolean"?(this._isTrusted=t,this._supportThemeIcons=!1):(this._isTrusted=(n=t.isTrusted)!==null&&n!==void 0&&n,this._supportThemeIcons=(r=t.supportThemeIcons)!==null&&r!==void 0&&r)}get value(){return this._value}get isTrusted(){return this._isTrusted}get supportThemeIcons(){return this._supportThemeIcons}appendText(e){return this._value+=(this._supportThemeIcons?Object(de.b)(e):e).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace(/\n/g,` + +`),this}appendMarkdown(e){return this._value+=e,this}appendCodeblock(e,t){return this._value+="\n```",this._value+=e,this._value+=` +`,this._value+=t,this._value+="\n```\n",this}}function pt(u){return it(u)?!u.value:!Array.isArray(u)||u.every(pt)}function it(u){return u instanceof $e||!(!u||typeof u!="object")&&!(typeof u.value!="string"||typeof u.isTrusted!="boolean"&&u.isTrusted!==void 0||typeof u.supportThemeIcons!="boolean"&&u.supportThemeIcons!==void 0)}function At(u,e){return u===e||!(!u||!e)&&u.value===e.value&&u.isTrusted===e.isTrusted&&u.supportThemeIcons===e.supportThemeIcons}function Nt(u){return u&&u.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}var _i=o(66),wt=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Ni=function(u,e){return function(t,n){e(t,n,u)}},pi=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let et=new A.c("selectionAnchorSet",!1),Wt=class tm{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=et.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(tm.ID)}setSelectionAnchor(){if(this.editor.hasModel()){let e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],n=this.editor.deltaDecorations(t,[{range:J.a.fromPositions(e,e),options:{stickiness:1,hoverMessage:new $e().appendText(Object(G.a)("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=n[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Object(_i.a)(Object(G.a)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){let e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){let t=this.editor.getPosition();this.editor.setSelection(J.a.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Wt.ID="editor.contrib.selectionAnchorController",Wt=wt([Ni(1,A.b)],Wt);class Li extends $.b{constructor(){super({id:"editor.action.setSelectionAnchor",label:Object(G.a)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2080),weight:100}})}run(e,t){return pi(this,void 0,void 0,function*(){Wt.get(t).setSelectionAnchor()})}}class Ii extends $.b{constructor(){super({id:"editor.action.goToSelectionAnchor",label:Object(G.a)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:et})}run(e,t){return pi(this,void 0,void 0,function*(){Wt.get(t).goToSelectionAnchor()})}}class Ai extends $.b{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:Object(G.a)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:et,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2089),weight:100}})}run(e,t){return pi(this,void 0,void 0,function*(){Wt.get(t).selectFromAnchorToCursor()})}}class Zi extends $.b{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:Object(G.a)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:et,kbOpts:{kbExpr:z.a.editorTextFocus,primary:9,weight:100}})}run(e,t){return pi(this,void 0,void 0,function*(){Wt.get(t).cancelSelectionAnchor()})}}Object($.m)(Wt.ID,Wt),Object($.k)(Li),Object($.k)(Ii),Object($.k)(Ai),Object($.k)(Zi),o(283);var Bi=o(20),Lt=o(2),Di=o(9),gt=o(3),vi=o(58),Rt=o(30),vt=o(57),Ue=o(5),ut=o(19),ze=o(24);let st=Object(Ue.gc)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},G.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class _t extends $.b{constructor(){super({id:"editor.action.jumpToBracket",label:G.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3160,weight:100}})}run(e,t){let n=gi.get(t);n&&n.jumpToBracket()}}class oi extends $.b{constructor(){super({id:"editor.action.selectToBracket",label:G.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,n){let r=gi.get(t);if(!r)return;let d=!0;n&&n.selectBrackets===!1&&(d=!1),r.selectToBracket(d)}}class li{constructor(e,t,n){this.position=e,this.brackets=t,this.options=n}}class gi extends Lt.a{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new Bi.d(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(55),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(55)&&(this._matchBrackets=this._editor.getOption(55),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))}static get(e){return e.getContribution(gi.ID)}jumpToBracket(){if(!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getSelections().map(n=>{let r=n.getStartPosition(),d=e.matchBracket(r),m=null;if(d)d[0].containsPosition(r)?m=d[1].getStartPosition():d[1].containsPosition(r)&&(m=d[0].getStartPosition());else{let O=e.findEnclosingBrackets(r);if(O)m=O[0].getStartPosition();else{let re=e.findNextBracket(r);re&&re.range&&(m=re.range.getStartPosition())}}return m?new J.a(m.lineNumber,m.column,m.lineNumber,m.column):new J.a(r.lineNumber,r.column,r.lineNumber,r.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),n=[];this._editor.getSelections().forEach(r=>{let d=r.getStartPosition(),m=t.matchBracket(d);if(!m&&(m=t.findEnclosingBrackets(d),!m)){let oe=t.findNextBracket(d);oe&&oe.range&&(m=t.matchBracket(oe.range.getStartPosition()))}let O=null,re=null;if(m){m.sort(gt.a.compareRangesUsingStarts);let[oe,ce]=m;O=e?oe.getStartPosition():oe.getEndPosition(),re=e?ce.getEndPosition():ce.getStartPosition()}O&&re&&n.push(new J.a(O.lineNumber,O.column,re.lineNumber,re.column))}),n.length>0&&(this._editor.setSelections(n),this._editor.revealRange(n[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();let e=[],t=0;for(let n of this._lastBracketsData){let r=n.brackets;r&&(e[t++]={range:r[0],options:n.options},e[t++]={range:r[1],options:n.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);let e=this._editor.getSelections();if(e.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);let t=this._editor.getModel(),n=t.getVersionId(),r=[];this._lastVersionId===n&&(r=this._lastBracketsData);let d=[],m=0;for(let Me=0,Ct=e.length;Me<Ct;Me++){let Ut=e[Me];Ut.isEmpty()&&(d[m++]=Ut.getStartPosition())}d.length>1&&d.sort(Di.a.compare);let O=[],re=0,oe=0,ce=r.length;for(let Me=0,Ct=d.length;Me<Ct;Me++){let Ut=d[Me];for(;oe<ce&&r[oe].position.isBefore(Ut);)oe++;if(oe<ce&&r[oe].position.equals(Ut))O[re++]=r[oe];else{let St=t.matchBracket(Ut),di=gi._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;St||this._matchBrackets!=="always"||(St=t.findEnclosingBrackets(Ut,20),di=gi._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),O[re++]=new li(Ut,St,di)}}this._lastBracketsData=O,this._lastVersionId=n}}gi.ID="editor.contrib.bracketMatchingController",gi._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=Rt.a.register({stickiness:1,className:"bracket-match",overviewRuler:{color:Object(ut.h)(st),position:vi.d.Center}}),gi._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=Rt.a.register({stickiness:1,className:"bracket-match"}),Object($.m)(gi.ID,gi),Object($.k)(oi),Object($.k)(_t),Object(ut.g)((u,e)=>{let t=u.getColor(vt.c);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);let n=u.getColor(vt.d);n&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${n}; }`)}),ze.d.appendMenuItem(ze.b.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:G.a({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class ki{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;let n=this._selection.startLineNumber,r=this._selection.startColumn,d=this._selection.endColumn;if((!this._isMovingLeft||r!==1)&&(this._isMovingLeft||d!==e.getLineMaxColumn(n)))if(this._isMovingLeft){let m=new gt.a(n,r-1,n,r),O=e.getValueInRange(m);t.addEditOperation(m,null),t.addEditOperation(new gt.a(n,d,n,d),O)}else{let m=new gt.a(n,d,n,d+1),O=e.getValueInRange(m);t.addEditOperation(m,null),t.addEditOperation(new gt.a(n,r,n,r),O)}}computeCursorState(e,t){return this._isMovingLeft?new J.a(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new J.a(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class Ri extends $.b{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let n=[],r=t.getSelections();for(let d of r)n.push(new ki(d,this.left));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}Object($.k)(class extends Ri{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:G.a("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:z.a.writable})}}),Object($.k)(class extends Ri{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:G.a("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:z.a.writable})}});var $i=o(62),Hi=o(81);class yi extends $.b{constructor(){super({id:"editor.action.transposeLetters",label:G.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let n=t.getModel(),r=[],d=t.getSelections();for(let m of d){if(!m.isEmpty())continue;let O=m.startLineNumber,re=m.startColumn,oe=n.getLineMaxColumn(O);if(O===1&&(re===1||re===2&&oe===2))continue;let ce=re===oe?m.getPosition():Hi.a.rightPosition(n,m.getPosition().lineNumber,m.getPosition().column),Me=Hi.a.leftPosition(n,ce.lineNumber,ce.column),Ct=Hi.a.leftPosition(n,Me.lineNumber,Me.column),Ut=n.getValueInRange(gt.a.fromPositions(Ct,Me)),St=n.getValueInRange(gt.a.fromPositions(Me,ce)),di=gt.a.fromPositions(Ct,ce);r.push(new $i.a(di,St+Ut))}r.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop())}}Object($.k)(yi);var kt=o(34),Et=o(11),si=o(167),Si=o(41),Pi=o(121),Wi=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let xn=Et.g||document.queryCommandSupported("cut"),un=Et.g||document.queryCommandSupported("copy"),bn=un&&!kt.f,Fn=!kt.h||document.queryCommandSupported("paste");function Mn(u){return u.register(),u}let Nn=xn?Mn(new $.e({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:Et.g?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:ze.b.MenubarEditMenu,group:"2_ccp",title:G.a({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:ze.b.EditorContext,group:"9_cutcopypaste",title:G.a("actions.clipboard.cutLabel","Cut"),when:z.a.writable,order:1},{menuId:ze.b.CommandPalette,group:"",title:G.a("actions.clipboard.cutLabel","Cut"),order:1}]})):void 0,Hn=un?Mn(new $.e({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:Et.g?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:ze.b.MenubarEditMenu,group:"2_ccp",title:G.a({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:ze.b.EditorContext,group:"9_cutcopypaste",title:G.a("actions.clipboard.copyLabel","Copy"),order:2},{menuId:ze.b.CommandPalette,group:"",title:G.a("actions.clipboard.copyLabel","Copy"),order:1}]})):void 0,Jn=Fn?Mn(new $.e({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:Et.g?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:ze.b.MenubarEditMenu,group:"2_ccp",title:G.a({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3},{menuId:ze.b.EditorContext,group:"9_cutcopypaste",title:G.a("actions.clipboard.pasteLabel","Paste"),when:z.a.writable,order:3},{menuId:ze.b.CommandPalette,group:"",title:G.a("actions.clipboard.pasteLabel","Paste"),order:1}]})):void 0;class _o extends $.b{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:G.a("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(26)&&t.getSelection().isEmpty()||(si.a.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),si.a.forceCopyWithSyntaxHighlighting=!1)}}function pn(u,e){u&&(u.addImplementation(1e4,(t,n)=>{let r=t.get(Si.a).getFocusedCodeEditor();if(r&&r.hasTextFocus()){let d=r.getOption(26),m=r.getSelection();return m&&m.isEmpty()&&!d||document.execCommand(e),!0}return!1}),u.addImplementation(0,(t,n)=>(document.execCommand(e),!0)))}pn(Nn,"cut"),pn(Hn,"copy"),Jn&&(Jn.addImplementation(1e4,(u,e)=>{let t=u.get(Si.a),n=u.get(Pi.a),r=t.getFocusedCodeEditor();return r&&r.hasTextFocus()?!(!document.execCommand("paste")&&Et.h)||(Wi(void 0,void 0,void 0,function*(){let d=yield n.readText();if(d!==""){let m=si.b.INSTANCE.get(d),O=!1,re=null,oe=null;m&&(O=r.getOption(26)&&!!m.isFromEmptySelection,re=m.multicursorText!==void 0?m.multicursorText:null,oe=m.mode),r.trigger("keyboard","paste",{text:d,pasteOnNewLine:O,multicursorText:re,mode:oe})}}),!0):!1}),Jn.addImplementation(0,(u,e)=>(document.execCommand("paste"),!0))),bn&&Object($.k)(_o);class Gn{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var on=o(8),ho=o(148),On=o(25),Dn=o(23),qt=o(88),I=o(12),ne=o(64);class _e{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||Object(on.S)(e.value,this.value+_e.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new _e(this.value+_e.sep+e)}}function Fe(u,e,t){return!!e.contains(u)&&(!t||!e.contains(t))}_e.sep=".",_e.None=new _e("@@none@@"),_e.Empty=new _e(""),_e.QuickFix=new _e("quickfix"),_e.Refactor=new _e("refactor"),_e.Source=new _e("source"),_e.SourceOrganizeImports=_e.Source.append("organizeImports"),_e.SourceFixAll=_e.Source.append("fixAll");class Xe{constructor(e,t,n){this.kind=e,this.apply=t,this.preferred=n}static fromUser(e,t){return e&&typeof e=="object"?new Xe(Xe.getKindFromUser(e,t.kind),Xe.getApplyFromUser(e,t.apply),Xe.getPreferredUser(e)):new Xe(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new _e(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"&&e.preferred}}var ot=o(83),Mt=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class Ot extends Lt.a{constructor(e,t,n){super(),this.documentation=t,this._register(n),this.allActions=Object(ee.p)([...e],Ot.codeActionsComparator),this.validActions=this.allActions.filter(r=>!r.disabled)}static codeActionsComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Object(ee.o)(e.diagnostics)?Object(ee.o)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(ee.o)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(e=>!!e.kind&&_e.QuickFix.contains(new _e(e.kind))&&!!e.isPreferred)}}let Tt={actions:[],documentation:void 0};function Ht(u,e,t,n,r){var d;let m=t.filter||{},O={only:(d=m.include)===null||d===void 0?void 0:d.value,trigger:t.type},re=new qt.d(u,r),oe=function(Ut,St){return I.a.all(Ut).filter(di=>!di.providedCodeActionKinds||di.providedCodeActionKinds.some(hi=>function(ji,Ji){return!(ji.include&&!ji.include.intersects(Ji))&&(!ji.excludes||!ji.excludes.some(dn=>Fe(Ji,dn,ji.include)))&&!(!ji.includeSourceActions&&_e.Source.contains(Ji))}(St,new _e(hi))))}(u,m),ce=new Lt.b,Me=oe.map(Ut=>Mt(this,void 0,void 0,function*(){try{n.report(Ut);let St=yield Ut.provideCodeActions(u,e,O,re.token);if(St&&ce.add(St),re.token.isCancellationRequested)return Tt;let di=((St==null?void 0:St.actions)||[]).filter(hi=>hi&&function(ji,Ji){let dn=Ji.kind?new _e(Ji.kind):void 0;return!!(!ji.include||dn&&ji.include.contains(dn))&&!(ji.excludes&&dn&&ji.excludes.some(Ki=>Fe(dn,Ki,ji.include)))&&!(!ji.includeSourceActions&&dn&&_e.Source.contains(dn))&&!(ji.onlyIncludePreferredActions&&!Ji.isPreferred)}(m,hi));return{actions:di,documentation:function(hi,ji,Ji){if(!hi.documentation)return;let dn=hi.documentation.map(Ki=>({kind:new _e(Ki.kind),command:Ki.command}));if(Ji){let Ki;for(let yn of dn)yn.kind.contains(Ji)&&(Ki?Ki.kind.contains(yn.kind)&&(Ki=yn):Ki=yn);if(Ki)return Ki==null?void 0:Ki.command}for(let Ki of ji)if(Ki.kind){for(let yn of dn)if(yn.kind.contains(new _e(Ki.kind)))return yn.command}}(Ut,di,m.include)}}catch(St){if(Object(Oe.d)(St))throw St;return Object(Oe.f)(St),Tt}})),Ct=I.a.onDidChange(()=>{let Ut=I.a.all(u);Object(ee.g)(Ut,oe)||re.cancel()});return Promise.all(Me).then(Ut=>{let St=Object(ee.l)(Ut.map(hi=>hi.actions)),di=Object(ee.d)(Ut.map(hi=>hi.documentation));return new Ot(St,di,ce)}).finally(()=>{Ct.dispose(),re.dispose()})}Object($.o)("_executeCodeActionProvider",function(u,e){return Mt(this,void 0,void 0,function*(){let{resource:t,rangeOrSelection:n,kind:r}=e;if(!(t instanceof Dn.a))throw Object(Oe.b)();let d=u.get(ne.a).getModel(t);if(!d)throw Object(Oe.b)();let m=J.a.isISelection(n)?J.a.liftSelection(n):gt.a.isIRange(n)?d.validateRange(n):void 0;if(!m)throw Object(Oe.b)();let O=yield Ht(d,m,{type:2,filter:{includeSourceActions:!0,include:r&&r.value?new _e(r.value):void 0}},ot.b.None,On.a.None);return setTimeout(()=>O.dispose(),100),O.validActions})}),o(285);var jt=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Kt=function(u,e){return function(t,n){e(t,n,u)}};let wi=class Zh extends Lt.a{constructor(e,t){super(),this._messageWidget=this._register(new Lt.d),this._messageListeners=this._register(new Lt.b),this._editor=e,this._visible=Zh.MESSAGE_VISIBLE.bindTo(t),this._register(this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}static get(e){return e.getContribution(Zh.ID)}dispose(){super.dispose(),this._visible.reset()}showMessage(e,t){let n;Object(_i.a)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new ft(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new Bi.e(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(r=>{r.target.position&&(n?n.containsPosition(r.target.position)||this.closeMessage():n=new gt.a(t.lineNumber-3,1,r.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(ft.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(G.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};wi.ID="editor.contrib.messageController",wi.MESSAGE_VISIBLE=new A.c("messageVisible",!1),wi=jt([Kt(1,A.b)],wi);let Ti=$.c.bindToContribution(wi.get);Object($.l)(new Ti({id:"leaveEditorMessage",precondition:wi.MESSAGE_VISIBLE,handler:u=>u.closeMessage(),kbOpts:{weight:130,primary:9}}));class ft{constructor(e,{lineNumber:t,column:n},r){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:n-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");let d=document.createElement("div");d.classList.add("message"),d.textContent=r,this._domNode.appendChild(d);let m=document.createElement("div");m.classList.add("anchor"),this._domNode.appendChild(m),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t,n=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener("animationend",n),e.getDomNode().classList.add("fadeOut"),{dispose:n}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}}Object($.m)(wi.ID,wi),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.mb);if(t){let d=u.type===ut.b?2:1;e.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: ${t}; }`),e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${d}px solid ${t}; }`)}let n=u.getColor(Ue.lb);n&&e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${n}; }`);let r=u.getColor(Ue.nb);r&&e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${r}; }`)});var X=o(18),ae=o(1),Ge=o(60),lt=o(84),Dt=o(50),Gt=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},ti=function(u,e){return function(t,n){e(t,n,u)}},ye=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class le extends Ge.a{constructor(e,t){super(e.command?e.command.id:e.title,e.title,void 0,!e.disabled,t),this.action=e}}let ue=class extends Lt.a{constructor(u,e,t,n){super(),this._editor=u,this._delegate=e,this._contextMenuService=t,this._visible=!1,this._showingActions=this._register(new Lt.d),this._keybindingResolver=new qe({getKeybindings:()=>n.getKeybindings()})}get isVisible(){return this._visible}show(u,e,t,n){return ye(this,void 0,void 0,function*(){let r=n.includeDisabledActions?e.allActions:e.validActions;if(!r.length)return void(this._visible=!1);if(!this._editor.getDomNode())throw this._visible=!1,Object(Oe.a)();this._visible=!0,this._showingActions.value=e;let d=this.getMenuActions(u,r,e.documentation),m=Di.a.isIPosition(t)?this._toCoords(t):t||{x:0,y:0},O=this._keybindingResolver.getResolver();this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>m,getActions:()=>d,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:re=>re instanceof le?O(re.action):void 0})})}getMenuActions(u,e,t){var n,r;let d=oe=>new le(oe,()=>this._delegate.onSelectCodeAction(oe)),m=e.map(d),O=[...t],re=this._editor.getModel();if(re&&m.length)for(let oe of I.a.all(re))oe._getAdditionalMenuItems&&O.push(...oe._getAdditionalMenuItems({trigger:u.type,only:(r=(n=u.filter)===null||n===void 0?void 0:n.include)===null||r===void 0?void 0:r.value},e));return O.length&&m.push(new Ge.c,...O.map(oe=>d({title:oe.title,command:oe}))),m}_toCoords(u){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(u,1),this._editor.render();let e=this._editor.getScrolledVisiblePosition(u),t=Object(ae.C)(this._editor.getDomNode());return{x:t.left+e.left,y:t.top+e.top+e.height}}};ue=Gt([ti(2,lt.a),ti(3,Dt.a)],ue);class qe{constructor(e){this._keybindingProvider=e}getResolver(){let e=new Gn(()=>this._keybindingProvider.getKeybindings().filter(t=>qe.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let n=t.commandArgs;return t.command==="editor.action.organizeImports"?n={kind:_e.SourceOrganizeImports.value}:t.command==="editor.action.fixAll"&&(n={kind:_e.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},Xe.fromUser(n,{kind:_e.None,apply:"never"}))}));return t=>{if(t.kind){let n=this.bestKeybindingForCodeAction(t,e.getValue());return n==null?void 0:n.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;let n=new _e(e.kind);return t.filter(r=>r.kind.contains(n)).filter(r=>!r.preferred||e.isPreferred).reduceRight((r,d)=>r?r.kind.contains(d.kind)?d:r:d,void 0)}}qe.codeActionCommands=["editor.action.refactor","editor.action.codeAction","editor.action.sourceAction","editor.action.organizeImports","editor.action.fixAll"];var Ze,tt=o(103),rt=o(6),zt=(o(287),o(61)),Jt=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},xi=function(u,e){return function(t,n){e(t,n,u)}};(function(u){u.Hidden={type:0},u.Showing=class{constructor(e,t,n,r){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=r,this.type=1}}})(Ze||(Ze={}));let Ei=class im extends Lt.a{constructor(e,t,n,r){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=n,this._keybindingService=r,this._onClick=this._register(new rt.a),this.onClick=this._onClick.event,this._state=Ze.Hidden,this._domNode=document.createElement("div"),this._domNode.className=de.a.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(d=>{let m=this._editor.getModel();(this.state.type!==1||!m||this.state.editorPosition.lineNumber>=m.getLineCount())&&this.hide()})),zt.b.ignoreTarget(this._domNode),this._register(ae.m(this._domNode,d=>{if(this.state.type!==1)return;this._editor.focus(),d.preventDefault();let{top:m,height:O}=ae.C(this._domNode),re=this._editor.getOption(51),oe=Math.floor(re/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(oe+=re),this._onClick.fire({x:d.posx,y:m+O+oe,actions:this.state.actions,trigger:this.state.trigger})})),this._register(ae.i(this._domNode,"mouseenter",d=>{if((1&d.buttons)!=1)return;this.hide();let m=new tt.a;m.startMonitoring(d.target,d.buttons,tt.b,()=>{},()=>{m.dispose()})})),this._register(this._editor.onDidChangeConfiguration(d=>{d.hasChanged(49)&&!this._editor.getOption(49).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,n){if(e.validActions.length<=0)return this.hide();let r=this._editor.getOptions();if(!r.get(49).enabled)return this.hide();let d=this._editor.getModel();if(!d)return this.hide();let{lineNumber:m,column:O}=d.validatePosition(n),re=d.getOptions().tabSize,oe=r.get(36),ce=d.getLineContent(m),Me=Rt.b.computeIndentLevel(ce,re),Ct=St=>St>2&&this._editor.getTopForLineNumber(St)===this._editor.getTopForLineNumber(St-1),Ut=m;if(!(oe.spaceWidth*Me>22))if(m>1&&!Ct(m-1))Ut-=1;else if(Ct(m+1)){if(O*oe.spaceWidth<22)return this.hide()}else Ut+=1;this.state=new Ze.Showing(e,t,n,{position:{lineNumber:Ut,column:1},preference:im._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=Ze.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){ae.R(this._domNode,de.a.lightBulb.classNames),ae.f(this._domNode,de.a.lightbulbAutofix.classNames);let t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t)return void(this.title=G.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",t.getLabel()))}ae.R(this._domNode,de.a.lightbulbAutofix.classNames),ae.f(this._domNode,de.a.lightBulb.classNames);let e=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=e?G.a("quickFixWithKb","Show Fixes ({0})",e.getLabel()):G.a("quickFix","Show Fixes")}set title(e){this._domNode.title=e}};Ei._posPref=[0],Ei=Jt([xi(3,Dt.a)],Ei),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.N);t&&e.addRule(` + .monaco-editor .contentWidgets ${de.a.lightBulb.cssSelector} { + color: ${t}; + }`);let n=u.getColor(Ue.M);n&&e.addRule(` + .monaco-editor .contentWidgets ${de.a.lightbulbAutofix.cssSelector} { + color: ${n}; + }`)});var ai=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},fi=function(u,e){return function(t,n){e(t,n,u)}},ui=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let Te=class extends Lt.a{constructor(u,e,t,n,r){super(),this._editor=u,this.delegate=n,this._activeCodeActions=this._register(new Lt.d),this._codeActionWidget=new Gn(()=>this._register(r.createInstance(ue,this._editor,{onSelectCodeAction:d=>ui(this,void 0,void 0,function*(){this.delegate.applyCodeAction(d,!0)})}))),this._lightBulbWidget=new Gn(()=>{let d=this._register(r.createInstance(Ei,this._editor,e,t));return this._register(d.onClick(m=>this.showCodeActionList(m.trigger,m.actions,m,{includeDisabledActions:!1}))),d})}update(u){var e,t,n;return ui(this,void 0,void 0,function*(){if(u.type!==1)return void((e=this._lightBulbWidget.rawValue)===null||e===void 0||e.hide());let r;try{r=yield u.actions}catch(d){return void Object(Oe.e)(d)}if(this._lightBulbWidget.getValue().update(r,u.trigger,u.position),u.trigger.type===2){if((t=u.trigger.filter)===null||t===void 0?void 0:t.include){let m=this.tryGetValidActionToApply(u.trigger,r);if(m){try{yield this.delegate.applyCodeAction(m,!1)}finally{r.dispose()}return}if(u.trigger.context){let O=this.getInvalidActionThatWouldHaveBeenApplied(u.trigger,r);if(O&&O.disabled)return wi.get(this._editor).showMessage(O.disabled,u.trigger.context.position),void r.dispose()}}let d=!!((n=u.trigger.filter)===null||n===void 0?void 0:n.include);if(u.trigger.context&&(!r.allActions.length||!d&&!r.validActions.length))return wi.get(this._editor).showMessage(u.trigger.context.notAvailableMessage,u.trigger.context.position),this._activeCodeActions.value=r,void r.dispose();this._activeCodeActions.value=r,this._codeActionWidget.getValue().show(u.trigger,r,u.position,{includeDisabledActions:d})}else this._codeActionWidget.getValue().isVisible?r.dispose():this._activeCodeActions.value=r})}getInvalidActionThatWouldHaveBeenApplied(u,e){if(e.allActions.length)return u.autoApply==="first"&&e.validActions.length===0||u.autoApply==="ifSingle"&&e.allActions.length===1?e.allActions.find(t=>t.disabled):void 0}tryGetValidActionToApply(u,e){if(e.validActions.length)return u.autoApply==="first"&&e.validActions.length>0||u.autoApply==="ifSingle"&&e.validActions.length===1?e.validActions[0]:void 0}showCodeActionList(u,e,t,n){return ui(this,void 0,void 0,function*(){this._codeActionWidget.getValue().show(u,e,t,n)})}};Te=ai([fi(4,X.a)],Te);var Ee=o(27),ve=o(63),Re=o(49),We=o(120),Be=o(51);let Le=new A.c("supportedCodeAction","");class Ke extends Lt.a{constructor(e,t,n,r=250){super(),this._editor=e,this._markerService=t,this._signalChange=n,this._delay=r,this._autoTriggerTimer=this._register(new Bi.e),this._register(this._markerService.onMarkerChanged(d=>this._onMarkerChanges(d))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){let t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){let t=this._editor.getModel();t&&e.some(n=>Object(Be.f)(n,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_getRangeOfMarker(e){let t=this._editor.getModel();if(t)for(let n of this._markerService.read({resource:t.uri})){let r=t.validateRange(n);if(gt.a.intersectRanges(r,e))return gt.a.lift(r)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),n=this._editor.getSelection();if(n.isEmpty()&&e.type===1){let{lineNumber:r,column:d}=n.getPosition(),m=t.getLineContent(r);if(m.length===0)return;if(d===1){if(/\s/.test(m[0]))return}else if(d===t.getLineMaxColumn(r)){if(/\s/.test(m[m.length-1]))return}else if(/\s/.test(m[d-2])&&/\s/.test(m[d-1]))return}return n}_createEventAndSignalChange(e,t){let n=this._editor.getModel();if(!t||!n)return void this._signalChange(void 0);let r=this._getRangeOfMarker(t),d=r?r.getStartPosition():t.getStartPosition(),m={trigger:e,selection:t,position:d};return this._signalChange(m),m}}var dt;(function(u){u.Empty={type:0},u.Triggered=class{constructor(e,t,n,r){this.trigger=e,this.rangeOrSelection=t,this.position=n,this.actions=r,this.type=1}}})(dt||(dt={}));class yt extends Lt.a{constructor(e,t,n,r){super(),this._editor=e,this._markerService=t,this._progressService=r,this._codeActionOracle=this._register(new Lt.d),this._state=dt.Empty,this._onDidChangeState=this._register(new rt.a),this.onDidChangeState=this._onDidChangeState.event,this._supportedCodeActions=Le.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(I.a.onDidChange(()=>this._update())),this._update()}dispose(){super.dispose(),this.setState(dt.Empty,!0)}_update(){this._codeActionOracle.value=void 0,this.setState(dt.Empty);let e=this._editor.getModel();if(e&&I.a.has(e)&&!this._editor.getOption(72)){let t=[];for(let n of I.a.all(e))Array.isArray(n.providedCodeActionKinds)&&t.push(...n.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new Ke(this._editor,this._markerService,n=>{var r;if(!n)return void this.setState(dt.Empty);let d=Object(Bi.f)(m=>Ht(e,n.selection,n.trigger,ot.b.None,m));n.trigger.type===2&&((r=this._progressService)===null||r===void 0||r.showWhile(d,250)),this.setState(new dt.Triggered(n.trigger,n.selection,n.position,d))},void 0),this._codeActionOracle.value.trigger({type:1})}else this._supportedCodeActions.reset()}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(this._state.type===1&&this._state.actions.cancel(),this._state=e,t||this._onDidChangeState.fire(e))}}var xt=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Xt=function(u,e){return function(t,n){e(t,n,u)}},mi=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};function Yt(u){return A.a.regex(Le.keys()[0],new RegExp("(\\s|^)"+Object(on.v)(u.value)+"\\b"))}let ri={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:G.a("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:G.a("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[G.a("args.schema.apply.first","Always apply the first returned code action."),G.a("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),G.a("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:G.a("args.schema.preferred","Controls if only preferred code actions should be returned.")}}},qi=class nm extends Lt.a{constructor(e,t,n,r,d){super(),this._instantiationService=d,this._editor=e,this._model=this._register(new yt(this._editor,t,n,r)),this._register(this._model.onDidChangeState(m=>this.update(m))),this._ui=new Gn(()=>this._register(new Te(e,ei.Id,gn.Id,{applyCodeAction:(m,O)=>mi(this,void 0,void 0,function*(){try{yield this._applyCodeAction(m)}finally{O&&this._trigger({type:1,filter:{}})}})},this._instantiationService)))}static get(e){return e.getContribution(nm.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,n){return this._ui.getValue().showCodeActionList(e,t,n,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,n){if(!this._editor.hasModel())return;wi.get(this._editor).closeMessage();let r=this._editor.getPosition();this._trigger({type:2,filter:t,autoApply:n,context:{notAvailableMessage:e,position:r}})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(an,e,this._editor)}};function an(u,e,t){return mi(this,void 0,void 0,function*(){let n=u.get(ho.a),r=u.get(Ee.b),d=u.get(We.a),m=u.get(Re.a);if(d.publicLog2("codeAction.applyCodeAction",{codeActionTitle:e.title,codeActionKind:e.kind,codeActionIsPreferred:!!e.isPreferred}),e.edit&&(yield n.apply(ho.b.convert(e.edit),{editor:t,label:e.title})),e.command)try{yield r.executeCommand(e.command.id,...e.command.arguments||[])}catch(O){let re=function(oe){return typeof oe=="string"?oe:oe instanceof Error&&typeof oe.message=="string"?oe.message:void 0}(O);m.error(typeof re=="string"?re:G.a("applyCodeActionFailed","An unknown error occurred while applying the code action"))}})}function _n(u,e,t,n){if(u.hasModel()){let r=qi.get(u);r&&r.manualTriggerAtCurrentPosition(e,t,n)}}qi.ID="editor.contrib.quickFixController",qi=xt([Xt(1,ve.b),Xt(2,A.b),Xt(3,ot.a),Xt(4,X.a)],qi);class ei extends $.b{constructor(){super({id:ei.Id,label:G.a("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:A.a.and(z.a.writable,z.a.hasCodeActionsProvider),kbOpts:{kbExpr:z.a.editorTextFocus,primary:2132,weight:100}})}run(e,t){return _n(t,G.a("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}ei.Id="editor.action.quickFix";class ii extends $.c{constructor(){super({id:"editor.action.codeAction",precondition:A.a.and(z.a.writable,z.a.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:ri}]}})}runEditorCommand(e,t,n){let r=Xe.fromUser(n,{kind:_e.Empty,apply:"ifSingle"});return _n(t,typeof(n==null?void 0:n.kind)=="string"?r.preferred?G.a("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",n.kind):G.a("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",n.kind):r.preferred?G.a("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):G.a("editor.action.codeAction.noneMessage","No code actions available"),{include:r.kind,includeSourceActions:!0,onlyIncludePreferredActions:r.preferred},r.apply)}}class bi extends $.b{constructor(){super({id:"editor.action.refactor",label:G.a("refactor.label","Refactor..."),alias:"Refactor...",precondition:A.a.and(z.a.writable,z.a.hasCodeActionsProvider),kbOpts:{kbExpr:z.a.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:A.a.and(z.a.writable,Yt(_e.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:ri}]}})}run(e,t,n){let r=Xe.fromUser(n,{kind:_e.Refactor,apply:"never"});return _n(t,typeof(n==null?void 0:n.kind)=="string"?r.preferred?G.a("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",n.kind):G.a("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",n.kind):r.preferred?G.a("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):G.a("editor.action.refactor.noneMessage","No refactorings available"),{include:_e.Refactor.contains(r.kind)?r.kind:_e.None,onlyIncludePreferredActions:r.preferred},r.apply)}}class ln extends $.b{constructor(){super({id:"editor.action.sourceAction",label:G.a("source.label","Source Action..."),alias:"Source Action...",precondition:A.a.and(z.a.writable,z.a.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:A.a.and(z.a.writable,Yt(_e.Source))},description:{description:"Source Action...",args:[{name:"args",schema:ri}]}})}run(e,t,n){let r=Xe.fromUser(n,{kind:_e.Source,apply:"never"});return _n(t,typeof(n==null?void 0:n.kind)=="string"?r.preferred?G.a("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",n.kind):G.a("editor.action.source.noneMessage.kind","No source actions for '{0}' available",n.kind):r.preferred?G.a("editor.action.source.noneMessage.preferred","No preferred source actions available"):G.a("editor.action.source.noneMessage","No source actions available"),{include:_e.Source.contains(r.kind)?r.kind:_e.None,includeSourceActions:!0,onlyIncludePreferredActions:r.preferred},r.apply)}}class mn extends $.b{constructor(){super({id:"editor.action.organizeImports",label:G.a("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:A.a.and(z.a.writable,Yt(_e.SourceOrganizeImports)),kbOpts:{kbExpr:z.a.editorTextFocus,primary:1581,weight:100}})}run(e,t){return _n(t,G.a("editor.action.organize.noneMessage","No organize imports action available"),{include:_e.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class sn extends $.b{constructor(){super({id:"editor.action.fixAll",label:G.a("fixAll.label","Fix All"),alias:"Fix All",precondition:A.a.and(z.a.writable,Yt(_e.SourceFixAll))})}run(e,t){return _n(t,G.a("fixAll.noneMessage","No fix all action available"),{include:_e.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class gn extends $.b{constructor(){super({id:gn.Id,label:G.a("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:A.a.and(z.a.writable,Yt(_e.QuickFix)),kbOpts:{kbExpr:z.a.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return _n(t,G.a("editor.action.autoFix.noneMessage","No auto fixes available"),{include:_e.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}gn.Id="editor.action.autoFix",Object($.m)(qi.ID,qi),Object($.k)(ei),Object($.k)(bi),Object($.k)(ln),Object($.k)(mn),Object($.k)(gn),Object($.k)(sn),Object($.l)(new ii);class Sn{constructor(){this.lenses=[],this._disposables=new Lt.b}dispose(){this._disposables.dispose()}add(e,t){this._disposables.add(e);for(let n of e.lenses)this.lenses.push({symbol:n,provider:t})}}function En(u,e){let t=I.b.ordered(u),n=new Map,r=new Sn,d=t.map((m,O)=>(n.set(m,O),Promise.resolve(m.provideCodeLenses(u,e)).then(re=>re&&r.add(re,m)).catch(Oe.f)));return Promise.all(d).then(()=>(r.lenses=Object(ee.p)(r.lenses,(m,O)=>m.symbol.range.startLineNumber<O.symbol.range.startLineNumber?-1:m.symbol.range.startLineNumber>O.symbol.range.startLineNumber?1:n.get(m.provider)<n.get(O.provider)?-1:n.get(m.provider)>n.get(O.provider)?1:m.symbol.range.startColumn<O.symbol.range.startColumn?-1:m.symbol.range.startColumn>O.symbol.range.startColumn?1:0),r))}Object($.o)("_executeCodeLensProvider",function(u,e){let{resource:t,itemResolveCount:n}=e;if(!(t instanceof Dn.a))throw Object(Oe.b)();let r=u.get(ne.a).getModel(t);if(!r)throw Object(Oe.b)();let d=[],m=new Lt.b;return En(r,On.a.None).then(O=>{m.add(O);let re=[];for(let oe of O.lenses)n===void 0||Boolean(oe.symbol.command)?d.push(oe.symbol):n-- >0&&oe.provider.resolveCodeLens&&re.push(Promise.resolve(oe.provider.resolveCodeLens(r,oe.symbol,On.a.None)).then(ce=>d.push(ce||oe.symbol)));return Promise.all(re)}).then(()=>d).finally(()=>{setTimeout(()=>m.dispose(),100)})}),o(289);class Xn{constructor(e,t){this.afterLineNumber=e,this._onHeight=t,this.heightInLines=1,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){this._lastHeight===void 0?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}}class Yn{constructor(e,t,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+Yn._idPool++,this.updatePosition(n),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration "+t}withCommands(e,t){this._commands.clear();let n="",r=!1;for(let d=0;d<e.length;d++){let m=e[d];if(m&&(r=!0,m.command)){let O=Object(de.f)(Object(on.u)(m.command.title));m.command.id?(n+=`<a id=${d}>${O}</a>`,this._commands.set(String(d),m.command)):n+=`<span>${O}</span>`,d+1<e.length&&(n+="<span> | </span>")}}r?(n||(n="\xA0"),this._domNode.innerHTML=n,this._isEmpty&&t&&this._domNode.classList.add("fadein"),this._isEmpty=!1):this._domNode.innerHTML="<span>no commands</span>"}getCommand(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(e){let t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}}getPosition(){return this._widgetPosition||null}}Yn._idPool=0;class Io{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)}removeDecoration(e){this._removeDecorations.push(e)}commit(e){let t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let n=0,r=t.length;n<r;n++)this._addDecorationsCallbacks[n](t[n])}}class Ro{constructor(e,t,n,r,d,m){let O;this._isDisposed=!1,this._editor=t,this._className=n,this._data=e,this._decorationIds=[];let re=[];this._data.forEach((oe,ce)=>{oe.symbol.command&&re.push(oe.symbol),r.addDecoration({range:oe.symbol.range,options:Rt.a.EMPTY},Me=>this._decorationIds[ce]=Me),O=O?gt.a.plusRange(O,oe.symbol.range):gt.a.lift(oe.symbol.range)}),this._viewZone=new Xn(O.startLineNumber-1,m),this._viewZoneId=d.addZone(this._viewZone),re.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(re,!1))}_createContentWidgetIfNecessary(){this._contentWidget||(this._contentWidget=new Yn(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t&&t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{let n=this._editor.getModel().getDecorationRange(e),r=this._data[t].symbol;return!(!n||gt.a.isEmpty(r.range)!==n.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((n,r)=>{t.addDecoration({range:n.symbol.range,options:Rt.a.EMPTY},d=>this._decorationIds[r]=d)})}computeIfNecessary(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let t=0;t<this._decorationIds.length;t++){let n=e.getDecorationRange(this._decorationIds[t]);n&&(this._data[t].symbol.range=n)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){let n=e[t];if(n){let{symbol:r}=this._data[t];r.command=n.command||r.command}}}getCommand(e){var t;return(t=this._contentWidget)===null||t===void 0?void 0:t.getCommand(e)}getLineNumber(){let e=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return e?e.startLineNumber:-1}update(e){if(this.isValid()){let t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);t&&(this._viewZone.afterLineNumber=t.startLineNumber-1,e.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(t.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}getItems(){return this._data}}Object(ut.g)((u,e)=>{let t=u.getColor(vt.e);t&&(e.addRule(`.monaco-editor .codelens-decoration { color: ${t}; }`),e.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${t}; }`));let n=u.getColor(Ue.r);n&&(e.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${n} !important; }`),e.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${n} !important; }`))});var In=o(115),Rn=o(78),Qn=o(97),vo=o(133),Mo=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},So=function(u,e){return function(t,n){e(t,n,u)}};let ko=Object(X.c)("ICodeLensCache");class po{constructor(e,t){this.lineCount=e,this.data=t}}let Tn=class{constructor(u){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new Rn.a(20,.75),Object(Bi.k)(()=>u.remove("codelens/cache",1));let e="codelens/cache2",t=u.get(e,1,"{}");this._deserialize(t),Object(vo.a)(u.onWillSaveState)(n=>{n.reason===Qn.c.SHUTDOWN&&u.store(e,this._serialize(),1)})}put(u,e){let t=e.lenses.map(d=>{var m;return{range:d.symbol.range,command:d.symbol.command&&{id:"",title:(m=d.symbol.command)===null||m===void 0?void 0:m.title}}}),n=new Sn;n.add({lenses:t,dispose:()=>{}},this._fakeProvider);let r=new po(u.getLineCount(),n);this._cache.set(u.uri.toString(),r)}get(u){let e=this._cache.get(u.uri.toString());return e&&e.lineCount===u.getLineCount()?e.data:void 0}delete(u){this._cache.delete(u.uri.toString())}_serialize(){let u=Object.create(null);for(let[e,t]of this._cache){let n=new Set;for(let r of t.data.lenses)n.add(r.symbol.range.startLineNumber);u[e]={lineCount:t.lineCount,lines:[...n.values()]}}return JSON.stringify(u)}_deserialize(u){try{let e=JSON.parse(u);for(let t in e){let n=e[t],r=[];for(let m of n.lines)r.push({range:new gt.a(m,1,m,11)});let d=new Sn;d.add({lenses:r,dispose(){}},this._fakeProvider),this._cache.set(t,new po(n.lineCount,d))}}catch(e){}}};Tn=Mo([So(0,Qn.a)],Tn),Object(In.b)(ko,Tn);var No=o(89),Ho=o(110),gr=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},wo=function(u,e){return function(t,n){e(t,n,u)}},ls=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let Br=class{constructor(u,e,t,n){this._editor=u,this._commandService=e,this._notificationService=t,this._codeLensCache=n,this._globalToDispose=new Lt.b,this._localToDispose=new Lt.b,this._lenses=[],this._oldCodeLensModels=new Lt.b,this._modelChangeCounter=0,this._isEnabled=this._editor.getOption(11),this._globalToDispose.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeConfiguration(()=>{let r=this._isEnabled;this._isEnabled=this._editor.getOption(11),r!==this._isEnabled&&this._onModelChange()})),this._globalToDispose.add(I.b.onDidChange(this._onModelChange,this)),this._globalToDispose.add(this._editor.onDidChangeConfiguration(r=>{r.hasChanged(36)&&this._updateLensStyle()})),this._onModelChange(),this._styleClassName="_"+Object(No.b)(this._editor.getId()).toString(16),this._styleElement=ae.v(ae.O(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){this._localDispose(),this._globalToDispose.dispose(),this._oldCodeLensModels.dispose(),Object(Lt.f)(this._currentCodeLensModel)}_updateLensStyle(){let u=this._editor.getOptions(),e=u.get(36),t=u.get(51),n=Math.round(1.1*t),r=Math.round(.9*e.fontSize),d=` + .monaco-editor .codelens-decoration.${this._styleClassName} { height: ${n}px; line-height: ${t}px; font-size: ${r}px; padding-right: ${Math.round(.45*e.fontSize)}px;} + .monaco-editor .codelens-decoration.${this._styleClassName} > a > .codicon { line-height: ${t}px; font-size: ${r}px; } + `;this._styleElement.textContent=d}_localDispose(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=void 0,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0),this._localToDispose.clear(),this._oldCodeLensModels.clear(),Object(Lt.f)(this._currentCodeLensModel)}_onModelChange(){this._localDispose();let u=this._editor.getModel();if(!u||!this._isEnabled)return;let e=this._codeLensCache.get(u);if(e&&this._renderCodeLensSymbols(e),!I.b.has(u))return void(e&&this._localToDispose.add(Object(Bi.g)(()=>{let r=this._codeLensCache.get(u);e===r&&(this._codeLensCache.delete(u),this._onModelChange())},3e4)));for(let r of I.b.all(u))if(typeof r.onDidChange=="function"){let d=r.onDidChange(()=>n.schedule());this._localToDispose.add(d)}let t=this._detectVisibleLenses=new Bi.d(()=>this._onViewportChanged(),250),n=new Bi.d(()=>{let r=++this._modelChangeCounter;this._currentFindCodeLensSymbolsPromise&&this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=Object(Bi.f)(d=>En(u,d)),this._currentFindCodeLensSymbolsPromise.then(d=>{r===this._modelChangeCounter&&(this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=d,this._codeLensCache.put(u,d),this._renderCodeLensSymbols(d),t.schedule())},Oe.e)},250);this._localToDispose.add(n),this._localToDispose.add(t),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(r=>{this._editor.changeViewZones(d=>{let m=[],O=-1;this._lenses.forEach(oe=>{oe.isValid()&&O!==oe.getLineNumber()?(oe.update(d),O=oe.getLineNumber()):m.push(oe)});let re=new Io;m.forEach(oe=>{oe.dispose(re,d),this._lenses.splice(this._lenses.indexOf(oe),1)}),re.commit(r)})}),t.schedule(),n.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(r=>{r.scrollTopChanged&&this._lenses.length>0&&t.schedule()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{t.schedule()})),this._localToDispose.add(Object(Lt.h)(()=>{if(this._editor.getModel()){let r=qt.c.capture(this._editor);this._editor.changeDecorations(d=>{this._editor.changeViewZones(m=>{this._disposeAllLenses(d,m)})}),r.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseUp(r=>{if(r.target.type!==9)return;let d=r.target.element;if((d==null?void 0:d.tagName)==="SPAN"&&(d=d.parentElement),(d==null?void 0:d.tagName)==="A")for(let m of this._lenses){let O=m.getCommand(d);if(O){this._commandService.executeCommand(O.id,...O.arguments||[]).catch(re=>this._notificationService.error(re));break}}})),n.schedule()}_disposeAllLenses(u,e){let t=new Io;for(let n of this._lenses)n.dispose(t,e);u&&t.commit(u),this._lenses=[]}_renderCodeLensSymbols(u){if(!this._editor.hasModel())return;let e,t=this._editor.getModel().getLineCount(),n=[];for(let d of u.lenses){let m=d.symbol.range.startLineNumber;m<1||m>t||(e&&e[e.length-1].symbol.range.startLineNumber===m?e.push(d):(e=[d],n.push(e)))}let r=qt.c.capture(this._editor);this._editor.changeDecorations(d=>{this._editor.changeViewZones(m=>{let O=new Io,re=0,oe=0;for(;oe<n.length&&re<this._lenses.length;){let ce=n[oe][0].symbol.range.startLineNumber,Me=this._lenses[re].getLineNumber();Me<ce?(this._lenses[re].dispose(O,m),this._lenses.splice(re,1)):Me===ce?(this._lenses[re].updateCodeLensSymbols(n[oe],O),oe++,re++):(this._lenses.splice(re,0,new Ro(n[oe],this._editor,this._styleClassName,O,m,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),re++,oe++)}for(;re<this._lenses.length;)this._lenses[re].dispose(O,m),this._lenses.splice(re,1);for(;oe<n.length;)this._lenses.push(new Ro(n[oe],this._editor,this._styleClassName,O,m,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),oe++;O.commit(d)})}),r.restore(this._editor)}_onViewportChanged(){this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0);let u=this._editor.getModel();if(!u)return;let e=[],t=[];if(this._lenses.forEach(r=>{let d=r.computeIfNecessary(u);d&&(e.push(d),t.push(r))}),e.length===0)return;let n=Object(Bi.f)(r=>{let d=e.map((m,O)=>{let re=new Array(m.length),oe=m.map((ce,Me)=>ce.symbol.command||typeof ce.provider.resolveCodeLens!="function"?(re[Me]=ce.symbol,Promise.resolve(void 0)):Promise.resolve(ce.provider.resolveCodeLens(u,ce.symbol,r)).then(Ct=>{re[Me]=Ct},Oe.f));return Promise.all(oe).then(()=>{r.isCancellationRequested||t[O].isDisposed()||t[O].updateCommands(re)})});return Promise.all(d)});this._currentResolveCodeLensSymbolsPromise=n,this._currentResolveCodeLensSymbolsPromise.then(()=>{this._currentCodeLensModel&&this._codeLensCache.put(u,this._currentCodeLensModel),this._oldCodeLensModels.clear(),n===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)},r=>{Object(Oe.e)(r),n===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)})}getLenses(){return this._lenses}};Br.ID="css.editor.codeLens",Br=gr([wo(1,Ee.b),wo(2,Re.a),wo(3,ko)],Br),Object($.m)(Br.ID,Br),Object($.k)(class extends $.b{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:z.a.hasCodeLensProvider,label:Object(G.a)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(u,e){return ls(this,void 0,void 0,function*(){if(!e.hasModel())return;let t=u.get(Ho.a),n=u.get(Ee.b),r=u.get(Re.a),d=e.getSelection().positionLineNumber,m=e.getContribution(Br.ID),O=[];for(let oe of m.getLenses())if(oe.getLineNumber()===d)for(let ce of oe.getItems()){let{command:Me}=ce.symbol;Me&&O.push({label:Me.title,command:Me})}if(O.length===0)return;let re=yield t.pick(O,{canPickMany:!1});if(re)try{yield n.executeCommand(re.command.id,...re.command.arguments||[])}catch(oe){r.error(oe)}})}});var Kn=o(16);function cr(u,e,t,n){return Promise.resolve(t.provideColorPresentations(u,e,n))}Object($.o)("_executeDocumentColorProvider",function(u,e){let{resource:t}=e;if(!(t instanceof Dn.a))throw Object(Oe.b)();let n=u.get(ne.a).getModel(t);if(!n)throw Object(Oe.b)();let r=[],d=I.c.ordered(n).reverse().map(m=>Promise.resolve(m.provideDocumentColors(n,On.a.None)).then(O=>{if(Array.isArray(O))for(let re of O)r.push({range:re.range,color:[re.color.red,re.color.green,re.color.blue,re.color.alpha]})}));return Promise.all(d).then(()=>r)}),Object($.o)("_executeColorPresentationProvider",function(u,e){let{resource:t,color:n,range:r}=e;if(!(t instanceof Dn.a&&Array.isArray(n)&&n.length===4&>.a.isIRange(r)))throw Object(Oe.b)();let[d,m,O,re]=n,oe=u.get(ne.a).getModel(t);if(!oe)throw Object(Oe.b)();let ce={range:r,color:{red:d,green:m,blue:O,alpha:re}},Me=[],Ct=I.c.ordered(oe).reverse().map(Ut=>Promise.resolve(Ut.provideColorPresentations(oe,ce,On.a.None)).then(St=>{Array.isArray(St)&&Me.push(...St)}));return Promise.all(Ct).then(()=>Me)});var Eo=o(54),Lr=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},jr=function(u,e){return function(t,n){e(t,n,u)}};let Ko=class om extends Lt.a{constructor(e,t,n){super(),this._editor=e,this._codeEditorService=t,this._configurationService=n,this._localToDispose=this._register(new Lt.b),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=[],this._decorationsTypes=new Set,this._register(e.onDidChangeModel(r=>{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(e.onDidChangeModelLanguage(r=>this.onModelChanged())),this._register(I.c.onDidChange(r=>this.onModelChanged())),this._register(e.onDidChangeConfiguration(r=>{let d=this._isEnabled;this._isEnabled=this.isEnabled(),d!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){let e=this._editor.getModel();if(!e)return!1;let t=e.getLanguageIdentifier(),n=this._configurationService.getValue(t.language);if(n){let r=n.colorDecorators;if(r&&r.enable!==void 0&&!r.enable)return r.enable}return this._editor.getOption(12)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;let e=this._editor.getModel();e&&I.c.has(e)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(t=>{this._timeoutTimer||(this._timeoutTimer=new Bi.e,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},om.RECOMPUTE_TIME))})),this.beginCompute())}beginCompute(){this._computePromise=Object(Bi.f)(e=>{let t=this._editor.getModel();return t?function(n,r){let d=[],m=I.c.ordered(n).reverse().map(O=>Promise.resolve(O.provideDocumentColors(n,r)).then(re=>{if(Array.isArray(re))for(let oe of re)d.push({colorInfo:oe,provider:O})}));return Promise.all(m).then(()=>d)}(t,e):Promise.resolve([])}),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},Oe.e)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){let t=e.map(n=>({range:{startLineNumber:n.colorInfo.range.startLineNumber,startColumn:n.colorInfo.range.startColumn,endLineNumber:n.colorInfo.range.endLineNumber,endColumn:n.colorInfo.range.endColumn},options:Rt.a.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((n,r)=>this._colorDatas.set(n,e[r]))}updateColorDecorators(e){let t=[],n={};for(let r=0;r<e.length&&t.length<500;r++){let{red:d,green:m,blue:O,alpha:re}=e[r].colorInfo.color,oe=new Kn.c(Math.round(255*d),Math.round(255*m),Math.round(255*O),re),ce=Object(No.b)(`rgba(${oe.r},${oe.g},${oe.b},${oe.a})`).toString(16),Me=`rgba(${oe.r}, ${oe.g}, ${oe.b}, ${oe.a})`,Ct="colorBox-"+ce;this._decorationsTypes.has(Ct)||n[Ct]||this._codeEditorService.registerDecorationType(Ct,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:Me},dark:{before:{border:"solid 0.1em #eee"}}},void 0,this._editor),n[Ct]=!0,t.push({range:{startLineNumber:e[r].colorInfo.range.startLineNumber,startColumn:e[r].colorInfo.range.startColumn,endLineNumber:e[r].colorInfo.range.endLineNumber,endColumn:e[r].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(Ct,!0)})}this._decorationsTypes.forEach(r=>{n[r]||this._codeEditorService.removeDecorationType(r)}),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,t)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach(e=>{this._codeEditorService.removeDecorationType(e)})}getColorData(e){let t=this._editor.getModel();if(!t)return null;let n=t.getDecorationsInRange(gt.a.fromPositions(e,e)).filter(r=>this._colorDatas.has(r.id));return n.length===0?null:this._colorDatas.get(n[0].id)}};Ko.ID="editor.contrib.colorDetector",Ko.RECOMPUTE_TIME=1e3,Ko=Lr([jr(1,Si.a),jr(2,Eo.a)],Ko),Object($.m)(Ko.ID,Ko);var Cn=o(70),Oo=o(39);class Do{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,n){if(n<0)return!1;let r=t.length;if(n+r>e.length)return!1;for(let d=0;d<r;d++){let m=e.charCodeAt(n+d),O=t.charCodeAt(d);if(m!==O&&!(m>=65&&m<=90&&m+32===O||O>=65&&O<=90&&O+32===m))return!1}return!0}_createOperationsForBlockComment(e,t,n,r,d,m){let O=e.startLineNumber,re=e.startColumn,oe=e.endLineNumber,ce=e.endColumn,Me=d.getLineContent(O),Ct=d.getLineContent(oe),Ut,St=Me.lastIndexOf(t,re-1+t.length),di=Ct.indexOf(n,ce-1-n.length);if(St!==-1&&di!==-1)if(O===oe)Me.substring(St+t.length,di).indexOf(n)>=0&&(St=-1,di=-1);else{let hi=Me.substring(St+t.length),ji=Ct.substring(0,di);(hi.indexOf(n)>=0||ji.indexOf(n)>=0)&&(St=-1,di=-1)}St!==-1&&di!==-1?(r&&St+t.length<Me.length&&Me.charCodeAt(St+t.length)===32&&(t+=" "),r&&di>0&&Ct.charCodeAt(di-1)===32&&(n=" "+n,di-=1),Ut=Do._createRemoveBlockCommentOperations(new gt.a(O,St+t.length+1,oe,di+1),t,n)):(Ut=Do._createAddBlockCommentOperations(e,t,n,this._insertSpace),this._usedEndToken=Ut.length===1?n:null);for(let hi of Ut)m.addTrackedEditOperation(hi.range,hi.text)}static _createRemoveBlockCommentOperations(e,t,n){let r=[];return gt.a.isEmpty(e)?r.push(Cn.a.delete(new gt.a(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+n.length))):(r.push(Cn.a.delete(new gt.a(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),r.push(Cn.a.delete(new gt.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+n.length)))),r}static _createAddBlockCommentOperations(e,t,n,r){let d=[];return gt.a.isEmpty(e)?d.push(Cn.a.replace(new gt.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+n)):(d.push(Cn.a.insert(new Di.a(e.startLineNumber,e.startColumn),t+(r?" ":""))),d.push(Cn.a.insert(new Di.a(e.endLineNumber,e.endColumn),(r?" ":"")+n))),d}getEditOperations(e,t){let n=this._selection.startLineNumber,r=this._selection.startColumn;e.tokenizeIfCheap(n);let d=e.getLanguageIdAtPosition(n,r),m=Oo.a.getComments(d);m&&m.blockCommentStartToken&&m.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,m.blockCommentStartToken,m.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){let n=t.getInverseEditOperations();if(n.length===2){let r=n[0],d=n[1];return new J.a(r.range.endLineNumber,r.range.endColumn,d.range.startLineNumber,d.range.startColumn)}{let r=n[0].range,d=this._usedEndToken?-this._usedEndToken.length-1:0;return new J.a(r.endLineNumber,r.endColumn+d,r.endLineNumber,r.endColumn+d)}}}class fr{constructor(e,t,n,r,d){this._selection=e,this._tabSize=t,this._type=n,this._insertSpace=r,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=d}static _gatherPreflightCommentStrings(e,t,n){e.tokenizeIfCheap(t);let r=e.getLanguageIdAtPosition(t,1),d=Oo.a.getComments(r),m=d?d.lineCommentToken:null;if(!m)return null;let O=[];for(let re=0,oe=n-t+1;re<oe;re++)O[re]={ignore:!1,commentStr:m,commentStrOffset:0,commentStrLength:m.length};return O}static _analyzeLines(e,t,n,r,d,m){let O,re=!0;O=e===0||e!==1;for(let oe=0,ce=r.length;oe<ce;oe++){let Me=r[oe],Ct=d+oe,Ut=n.getLineContent(Ct),St=on.w(Ut);if(St!==-1){if(re=!1,Me.ignore=!1,Me.commentStrOffset=St,O&&!Do._haystackHasNeedleAtOffset(Ut,Me.commentStr,St)&&(e===0?O=!1:e===1||(Me.ignore=!0)),O&&t){let di=St+Me.commentStrLength;di<Ut.length&&Ut.charCodeAt(di)===32&&(Me.commentStrLength+=1)}}else Me.ignore=m,Me.commentStrOffset=Ut.length}if(e===0&&re){O=!1;for(let oe=0,ce=r.length;oe<ce;oe++)r[oe].ignore=!1}return{supported:!0,shouldRemoveComments:O,lines:r}}static _gatherPreflightData(e,t,n,r,d,m){let O=fr._gatherPreflightCommentStrings(n,r,d);return O===null?{supported:!1}:fr._analyzeLines(e,t,n,O,r,m)}_executeLineComments(e,t,n,r){let d;n.shouldRemoveComments?d=fr._createRemoveLineCommentsOperations(n.lines,r.startLineNumber):(fr._normalizeInsertionPoint(e,n.lines,r.startLineNumber,this._tabSize),d=this._createAddLineCommentsOperations(n.lines,r.startLineNumber));let m=new Di.a(r.positionLineNumber,r.positionColumn);for(let O=0,re=d.length;O<re;O++)t.addEditOperation(d[O].range,d[O].text),gt.a.isEmpty(d[O].range)&>.a.getStartPosition(d[O].range).equals(m)&&e.getLineContent(m.lineNumber).length+1===m.column&&(this._deltaColumn=(d[O].text||"").length);this._selectionId=t.trackSelection(r)}_attemptRemoveBlockComment(e,t,n,r){let d=t.startLineNumber,m=t.endLineNumber,O=r.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),re=e.getLineContent(d).lastIndexOf(n,O-1),oe=e.getLineContent(m).indexOf(r,t.endColumn-1-n.length);return re!==-1&&oe===-1&&(oe=e.getLineContent(d).indexOf(r,re+n.length),m=d),re===-1&&oe!==-1&&(re=e.getLineContent(m).lastIndexOf(n,oe),d=m),!t.isEmpty()||re!==-1&&oe!==-1||(re=e.getLineContent(d).indexOf(n),re!==-1&&(oe=e.getLineContent(d).indexOf(r,re+n.length))),re!==-1&&e.getLineContent(d).charCodeAt(re+n.length)===32&&(n+=" "),oe!==-1&&e.getLineContent(m).charCodeAt(oe-1)===32&&(r=" "+r,oe-=1),re!==-1&&oe!==-1?Do._createRemoveBlockCommentOperations(new gt.a(d,re+n.length+1,m,oe+1),n,r):null}_executeBlockComment(e,t,n){e.tokenizeIfCheap(n.startLineNumber);let r=e.getLanguageIdAtPosition(n.startLineNumber,1),d=Oo.a.getComments(r);if(!d||!d.blockCommentStartToken||!d.blockCommentEndToken)return;let m=d.blockCommentStartToken,O=d.blockCommentEndToken,re=this._attemptRemoveBlockComment(e,n,m,O);if(!re){if(n.isEmpty()){let oe=e.getLineContent(n.startLineNumber),ce=on.w(oe);ce===-1&&(ce=oe.length),re=Do._createAddBlockCommentOperations(new gt.a(n.startLineNumber,ce+1,n.startLineNumber,oe.length+1),m,O,this._insertSpace)}else re=Do._createAddBlockCommentOperations(new gt.a(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),m,O,this._insertSpace);re.length===1&&(this._deltaColumn=m.length+1)}this._selectionId=t.trackSelection(n);for(let oe of re)t.addEditOperation(oe.range,oe.text)}getEditOperations(e,t){let n=this._selection;this._moveEndPositionDown=!1,n.startLineNumber<n.endLineNumber&&n.endColumn===1&&(this._moveEndPositionDown=!0,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));let r=fr._gatherPreflightData(this._type,this._insertSpace,e,n.startLineNumber,n.endLineNumber,this._ignoreEmptyLines);return r.supported?this._executeLineComments(e,t,r,n):this._executeBlockComment(e,t,n)}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new J.a(n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){let n=[];for(let r=0,d=e.length;r<d;r++){let m=e[r];m.ignore||n.push(Cn.a.delete(new gt.a(t+r,m.commentStrOffset+1,t+r,m.commentStrOffset+m.commentStrLength+1)))}return n}_createAddLineCommentsOperations(e,t){let n=[],r=this._insertSpace?" ":"";for(let d=0,m=e.length;d<m;d++){let O=e[d];O.ignore||n.push(Cn.a.insert(new Di.a(t+d,O.commentStrOffset+1),O.commentStr+r))}return n}static nextVisibleColumn(e,t,n,r){return n?e+(t-e%t):e+r}static _normalizeInsertionPoint(e,t,n,r){let d,m,O=1073741824;for(let re=0,oe=t.length;re<oe;re++){if(t[re].ignore)continue;let ce=e.getLineContent(n+re),Me=0;for(let Ct=0,Ut=t[re].commentStrOffset;Me<O&&Ct<Ut;Ct++)Me=fr.nextVisibleColumn(Me,r,ce.charCodeAt(Ct)===9,1);Me<O&&(O=Me)}O=Math.floor(O/r)*r;for(let re=0,oe=t.length;re<oe;re++){if(t[re].ignore)continue;let ce=e.getLineContent(n+re),Me=0;for(d=0,m=t[re].commentStrOffset;Me<O&&d<m;d++)Me=fr.nextVisibleColumn(Me,r,ce.charCodeAt(d)===9,1);t[re].commentStrOffset=Me>O?d-1:d}}}class zn extends $.b{constructor(e,t){super(t),this._type=e}run(e,t){if(!t.hasModel())return;let n=t.getModel(),r=[],d=t.getSelections(),m=n.getOptions(),O=t.getOption(14);for(let re of d)r.push(new fr(re,m.tabSize,this._type,O.insertSpace,O.ignoreEmptyLines));t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}class eo extends $.b{constructor(){super({id:"editor.action.blockComment",label:G.a("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:ze.b.MenubarEditMenu,group:"5_insert",title:G.a({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){if(!t.hasModel())return;let n=t.getOption(14),r=[],d=t.getSelections();for(let m of d)r.push(new Do(m,n.insertSpace));t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}Object($.k)(class extends zn{constructor(){super(0,{id:"editor.action.commentLine",label:G.a("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:ze.b.MenubarEditMenu,group:"5_insert",title:G.a({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),Object($.k)(class extends zn{constructor(){super(1,{id:"editor.action.addCommentLine",label:G.a("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2081),weight:100}})}}),Object($.k)(class extends zn{constructor(){super(2,{id:"editor.action.removeCommentLine",label:G.a("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2099),weight:100}})}}),Object($.k)(eo);var br=o(123),va=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},es=function(u,e){return function(t,n){e(t,n,u)}};let Vr=class rm{constructor(e,t,n,r,d,m){this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=r,this._keybindingService=d,this._menuService=m,this._toDispose=new Lt.b,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(O=>this._onContextMenu(O))),this._toDispose.add(this._editor.onMouseWheel(O=>{if(this._contextMenuIsBeingShownCount>0){let re=this._contextViewService.getContextViewElement(),oe=O.srcElement;oe.shadowRoot&&ae.E(re)===oe.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(O=>{O.keyCode===58&&(O.preventDefault(),O.stopPropagation(),this.showContextMenu())}))}static get(e){return e.getContribution(rm.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(15))return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(e.target.type===12||(e.event.preventDefault(),e.target.type!==6&&e.target.type!==7&&e.target.type!==1))return;if(this._editor.focus(),e.target.position){let n=!1;for(let r of this._editor.getSelections())if(r.containsPosition(e.target.position)){n=!0;break}n||this._editor.setPosition(e.target.position)}let t=null;e.target.type!==1&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(15)||!this._editor.hasModel())return;if(!this._contextMenuService)return void this._editor.focus();let t=this._getMenuActions(this._editor.getModel(),ze.b.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){let n=[],r=this._menuService.createMenu(t,this._contextKeyService),d=r.getActions({arg:e.uri});r.dispose();for(let m of d){let[,O]=m,re=0;for(let oe of O)if(oe instanceof ze.e){let ce=this._getMenuActions(e,oe.item.submenu);ce.length>0&&(n.push(new Ge.d(oe.id,oe.label,ce)),re++)}else n.push(oe),re++;re&&n.push(new Ge.c)}return n.length&&n.pop(),n}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;let n=this._editor.getOption(46);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();let r=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),d=ae.C(this._editor.getDomNode()),m=d.left+r.left,O=d.top+r.top+r.height;t={x:m,y:O}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>t,getActions:()=>e,getActionViewItem:r=>{let d=this._keybindingFor(r);if(d)return new br.a(r,r,{label:!0,keybinding:d.getLabel(),isMenu:!0});let m=r;return typeof m.getActionViewItem=="function"?m.getActionViewItem():new br.a(r,r,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:r=>this._keybindingFor(r),onHide:r=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:n})}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Vr.ID="editor.contrib.contextmenu",Vr=va([es(1,lt.a),es(2,lt.b),es(3,A.b),es(4,Dt.a),es(5,ze.a)],Vr);class Nr extends $.b{constructor(){super({id:"editor.action.showContextMenu",label:G.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:1092,weight:100}})}run(e,t){Vr.get(t).showContextMenu()}}Object($.m)(Vr.ID,Vr),Object($.k)(Nr);class ts{constructor(e){this.selections=e}equals(e){let t=this.selections.length;if(t!==e.selections.length)return!1;for(let n=0;n<t;n++)if(!this.selections[n].equalsSelection(e.selections[n]))return!1;return!0}}class na{constructor(e,t,n){this.cursorState=e,this.scrollTop=t,this.scrollLeft=n}}class is extends Lt.a{constructor(e){super(),this._editor=e,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(e.onDidChangeModel(t=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(t=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo||!t.oldSelections||t.oldModelVersionId!==t.modelVersionId)return;let n=new ts(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(n)||(this._undoStack.push(new na(n,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}static get(e){return e.getContribution(is.ID)}cursorUndo(){this._editor.hasModel()&&this._undoStack.length!==0&&(this._redoStack.push(new na(new ts(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&this._redoStack.length!==0&&(this._undoStack.push(new na(new ts(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}is.ID="editor.contrib.cursorUndoRedoController";class Ur extends $.b{constructor(){super({id:"cursorUndo",label:G.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:2099,weight:100}})}run(e,t,n){is.get(t).cursorUndo()}}class cs extends $.b{constructor(){super({id:"cursorRedo",label:G.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,n){is.get(t).cursorRedo()}}Object($.m)(is.ID,is),Object($.k)(Ur),Object($.k)(cs),o(291);class dr{constructor(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}getEditOperations(e,t){let n=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new gt.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new J.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new J.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber<this.selection.endLineNumber?this.targetSelection=new J.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new J.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,(this.selection.startLineNumber,this.selection.endLineNumber,this.targetPosition.column-this.selection.endColumn+this.selection.startColumn),this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new J.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn):this.targetSelection=this.selection}computeCursorState(e,t){return this.targetSelection}}function nr(u){return Et.f?u.altKey:u.ctrlKey}class _r extends Lt.a{constructor(e){super(),this._editor=e,this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(t))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(t))),this._register(this._editor.onMouseDrag(t=>this._onEditorMouseDrag(t))),this._register(this._editor.onMouseDrop(t=>this._onEditorMouseDrop(t))),this._register(this._editor.onKeyDown(t=>this.onEditorKeyDown(t))),this._register(this._editor.onKeyUp(t=>this.onEditorKeyUp(t))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(25)&&!this._editor.getOption(13)&&(nr(e)&&(this._modifierPressed=!0),this._mouseDown&&nr(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(25)&&!this._editor.getOption(13)&&(nr(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===_r.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(this._dragSelection===null){let n=(this._editor.getSelections()||[]).filter(r=>t.position&&r.containsPosition(t.position));if(n.length!==1)return;this._dragSelection=n[0]}nr(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new Di.a(e.target.position.lineNumber,e.target.position.column);if(this._dragSelection===null){let n=null;if(e.event.shiftKey){let r=this._editor.getSelection();if(r){let{selectionStartLineNumber:d,selectionStartColumn:m}=r;n=[new J.a(d,m,t.lineNumber,t.column)]}}else n=(this._editor.getSelections()||[]).map(r=>r.containsPosition(t)?new J.a(t.lineNumber,t.column,t.lineNumber,t.column):r);this._editor.setSelections(n||[],"mouse")}else(!this._dragSelection.containsPosition(t)||(nr(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(_r.ID,new dr(this._dragSelection,t,nr(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){let t=[{range:new gt.a(e.lineNumber,e.column,e.lineNumber,e.column),options:_r._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(e){return e.type===6||e.type===7}_hitMargin(e){return e.type===2||e.type===3||e.type===4}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}_r.ID="editor.contrib.dragAndDrop",_r.TRIGGER_KEY_VALUE=Et.f?6:5,_r._DECORATION_OPTIONS=Rt.a.register({className:"dnd-target"}),Object($.m)(_r.ID,_r);var wa=o(106);class zo{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){let e=this._findScopeDecorationIds.map(t=>this._editor.getModel().getDecorationRange(t)).filter(t=>!!t);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){let t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){let t=this._editor.getModel().getDecorationsInRange(e);for(let n of t){let r=n.options;if(r===zo._FIND_MATCH_DECORATION||r===zo._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(n.id)}return 0}setCurrentFindMatch(e){let t=null,n=0;if(e)for(let r=0,d=this._decorations.length;r<d;r++){let m=this._editor.getModel().getDecorationRange(this._decorations[r]);if(e.equalsRange(m)){t=this._decorations[r],n=r+1;break}}return this._highlightedDecorationId===null&&t===null||this._editor.changeDecorations(r=>{if(this._highlightedDecorationId!==null&&(r.changeDecorationOptions(this._highlightedDecorationId,zo._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),t!==null&&(this._highlightedDecorationId=t,r.changeDecorationOptions(this._highlightedDecorationId,zo._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(r.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),t!==null){let d=this._editor.getModel().getDecorationRange(t);if(d.startLineNumber!==d.endLineNumber&&d.endColumn===1){let m=d.endLineNumber-1,O=this._editor.getModel().getLineMaxColumn(m);d=new gt.a(d.startLineNumber,d.startColumn,m,O)}this._rangeHighlightDecorationId=r.addDecoration(d,zo._RANGE_HIGHLIGHT_DECORATION)}}),n}set(e,t){this._editor.changeDecorations(n=>{let r=zo._FIND_MATCH_DECORATION,d=[];if(e.length>1e3){r=zo._FIND_MATCH_NO_OVERVIEW_DECORATION;let O=this._editor.getModel().getLineCount(),re=this._editor.getLayoutInfo().height/O,oe=Math.max(2,Math.ceil(3/re)),ce=e[0].range.startLineNumber,Me=e[0].range.endLineNumber;for(let Ct=1,Ut=e.length;Ct<Ut;Ct++){let St=e[Ct].range;Me+oe>=St.startLineNumber?St.endLineNumber>Me&&(Me=St.endLineNumber):(d.push({range:new gt.a(ce,1,Me,1),options:zo._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),ce=St.startLineNumber,Me=St.endLineNumber)}d.push({range:new gt.a(ce,1,Me,1),options:zo._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let m=new Array(e.length);for(let O=0,re=e.length;O<re;O++)m[O]={range:e[O].range,options:r};this._decorations=n.deltaDecorations(this._decorations,m),this._overviewRulerApproximateDecorations=n.deltaDecorations(this._overviewRulerApproximateDecorations,d),this._rangeHighlightDecorationId&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach(O=>n.removeDecoration(O)),this._findScopeDecorationIds=[]),(t==null?void 0:t.length)&&(this._findScopeDecorationIds=t.map(O=>n.addDecoration(O,zo._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(this._decorations.length===0)return null;for(let t=this._decorations.length-1;t>=0;t--){let n=this._decorations[t],r=this._editor.getModel().getDecorationRange(n);if(r&&!(r.endLineNumber>e.lineNumber)&&(r.endLineNumber<e.lineNumber||!(r.endColumn>e.column)))return r}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(this._decorations.length===0)return null;for(let t=0,n=this._decorations.length;t<n;t++){let r=this._decorations[t],d=this._editor.getModel().getDecorationRange(r);if(d&&!(d.startLineNumber<e.lineNumber)&&(d.startLineNumber>e.lineNumber||!(d.startColumn<e.column)))return d}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}zo._CURRENT_FIND_MATCH_DECORATION=Rt.a.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(ut.h)(Ue.Vb),position:vi.d.Center},minimap:{color:Object(ut.h)(Ue.Ob),position:vi.c.Inline}}),zo._FIND_MATCH_DECORATION=Rt.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(ut.h)(Ue.Vb),position:vi.d.Center},minimap:{color:Object(ut.h)(Ue.Ob),position:vi.c.Inline}}),zo._FIND_MATCH_NO_OVERVIEW_DECORATION=Rt.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),zo._FIND_MATCH_ONLY_OVERVIEW_DECORATION=Rt.a.register({stickiness:1,overviewRuler:{color:Object(ut.h)(Ue.Vb),position:vi.d.Center}}),zo._RANGE_HIGHLIGHT_DECORATION=Rt.a.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),zo._FIND_SCOPE_DECORATION=Rt.a.register({className:"findScope",isWholeLine:!0});class Cs{constructor(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){let n=[];for(let m=0;m<this._ranges.length;m++)n.push({range:this._ranges[m],text:this._replaceStrings[m]});n.sort((m,O)=>gt.a.compareRangesUsingStarts(m.range,O.range));let r=[],d=n[0];for(let m=1;m<n.length;m++)d.range.endLineNumber===n[m].range.startLineNumber&&d.range.endColumn===n[m].range.startColumn?(d.range=d.range.plusRange(n[m].range),d.text=d.text+n[m].text):(r.push(d),d=n[m]);r.push(d);for(let m of r)t.addEditOperation(m.range,m.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}function Hr(u,e){if(u&&u[0]!==""){let t=ya(u,e,"-"),n=ya(u,e,"_");return t&&!n?vr(u,e,"-"):!t&&n?vr(u,e,"_"):u[0].toUpperCase()===u[0]?e.toUpperCase():u[0].toLowerCase()===u[0]?e.toLowerCase():on.o(u[0][0])&&e.length>0?e[0].toUpperCase()+e.substr(1):e}return e}function ya(u,e,t){return u[0].indexOf(t)!==-1&&e.indexOf(t)!==-1&&u[0].split(t).length===e.split(t).length}function vr(u,e,t){let n=e.split(t),r=u[0].split(t),d="";return n.forEach((m,O)=>{d+=Hr([r[O]],m)+t}),d.slice(0,-1)}class ds{constructor(e){this.staticValue=e,this.kind=0}}class oa{constructor(e){this.pieces=e,this.kind=1}}class wr{constructor(e){e&&e.length!==0?e.length===1&&e[0].staticValue!==null?this._state=new ds(e[0].staticValue):this._state=new oa(e):this._state=new ds("")}static fromStaticValue(e){return new wr([ns.staticValue(e)])}get hasReplacementPatterns(){return this._state.kind===1}buildReplaceString(e,t){if(this._state.kind===0)return t?Hr(e,this._state.staticValue):this._state.staticValue;let n="";for(let r=0,d=this._state.pieces.length;r<d;r++){let m=this._state.pieces[r];if(m.staticValue!==null){n+=m.staticValue;continue}let O=wr._substitute(m.matchIndex,e);if(m.caseOps!==null&&m.caseOps.length>0){let re=[],oe=m.caseOps.length,ce=0;for(let Me=0,Ct=O.length;Me<Ct;Me++){if(ce>=oe){re.push(O.slice(Me));break}switch(m.caseOps[ce]){case"U":re.push(O[Me].toUpperCase());break;case"u":re.push(O[Me].toUpperCase()),ce++;break;case"L":re.push(O[Me].toLowerCase());break;case"l":re.push(O[Me].toLowerCase()),ce++;break;default:re.push(O[Me])}}O=re.join("")}n+=O}return n}static _substitute(e,t){if(t===null)return"";if(e===0)return t[0];let n="";for(;e>0;){if(e<t.length)return(t[e]||"")+n;n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n}}class ns{constructor(e,t,n){this.staticValue=e,this.matchIndex=t,n&&n.length!==0?this.caseOps=n.slice(0):this.caseOps=null}static staticValue(e){return new ns(e,-1,null)}static caseOps(e,t){return new ns(null,e,t)}}class Ui{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){e.length!==0&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,n){this._currentStaticPiece.length!==0&&(this._result[this._resultLen++]=ns.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=ns.caseOps(e,n),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),this._currentStaticPiece.length!==0&&(this._result[this._resultLen++]=ns.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new wr(this._result)}}let or=new A.c("findWidgetVisible",!1),xs=new A.c("findInputFocussed",!1),yr=new A.c("replaceInputFocussed",!1),qr={primary:545,mac:{primary:2593}},Ss={primary:565,mac:{primary:2613}},hs={primary:560,mac:{primary:2608}},us={primary:554,mac:{primary:2602}},Ca="actions.find",xa="actions.findWithSelection",ks="editor.action.nextMatchFindAction",Ir="editor.action.previousMatchFindAction",$r="editor.action.nextSelectionMatchFindAction",Vs="editor.action.previousSelectionMatchFindAction",Es="editor.action.startFindReplaceAction",ps="closeFindWidget",Us="toggleFindCaseSensitive",Kr="toggleFindWholeWord",os="toggleFindRegex",Hs="toggleFindInSelection",ms="editor.action.replaceOne",gs="editor.action.replaceAll",Or="editor.action.selectAllMatches";class Go{constructor(e,t){this._toDispose=new Lt.b,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new Bi.e,this._decorations=new zo(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new Bi.d(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(n=>{n.reason!==3&&n.reason!==5&&n.reason!==6||this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(n=>{this._ignoreModelContentChanged||(n.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(n=>this._onStateChanged(n))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,Object(Lt.f)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor))}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let n=null;t!==void 0?t!==null&&(n=Array.isArray(t)?t:[t]):n=this._decorations.getFindScopes(),n!==null&&(n=n.map(O=>{if(O.startLineNumber!==O.endLineNumber){let re=O.endLineNumber;return O.endColumn===1&&(re-=1),new gt.a(O.startLineNumber,1,re,this._editor.getModel().getLineMaxColumn(re))}return O}));let r=this._findMatches(n,!1,19999);this._decorations.set(r,n);let d=this._editor.getSelection(),m=this._decorations.getCurrentMatchesPosition(d);if(m===0&&r.length>0){let O=Object(ee.h)(r.map(re=>re.range),re=>gt.a.compareRangesUsingStarts(re,d)>=0);m=O>0?O-1+1:m}this._state.changeMatchInfo(m,this._decorations.getCount(),void 0),e&&this._editor.getOption(29).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:r}=e,d=this._editor.getModel();return t||r===1?(n===1?n=d.getLineCount():n--,r=d.getLineMaxColumn(n)):r--,new Di.a(n,r)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){let ce=this._decorations.matchAfterPosition(e);return void(ce&&this._setCurrentFindMatch(ce))}if(this._decorations.getCount()<19999){let ce=this._decorations.matchBeforePosition(e);return ce&&ce.isEmpty()&&ce.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),ce=this._decorations.matchBeforePosition(e)),void(ce&&this._setCurrentFindMatch(ce))}if(this._cannotFind())return;let n=this._decorations.getFindScope(),r=Go._getSearchRange(this._editor.getModel(),n);r.getEndPosition().isBefore(e)&&(e=r.getEndPosition()),e.isBefore(r.getStartPosition())&&(e=r.getEndPosition());let{lineNumber:d,column:m}=e,O=this._editor.getModel(),re=new Di.a(d,m),oe=O.findPreviousMatch(this._state.searchString,re,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1);return oe&&oe.range.isEmpty()&&oe.range.getStartPosition().equals(re)&&(re=this._prevSearchPosition(re),oe=O.findPreviousMatch(this._state.searchString,re,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1)),oe?t||r.containsRange(oe.range)?void this._setCurrentFindMatch(oe.range):this._moveToPrevMatch(oe.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:r}=e,d=this._editor.getModel();return t||r===d.getLineMaxColumn(n)?(n===d.getLineCount()?n=1:n++,r=1):r++,new Di.a(n,r)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){let n=this._decorations.matchBeforePosition(e);return void(n&&this._setCurrentFindMatch(n))}if(this._decorations.getCount()<19999){let n=this._decorations.matchAfterPosition(e);return n&&n.isEmpty()&&n.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),n=this._decorations.matchAfterPosition(e)),void(n&&this._setCurrentFindMatch(n))}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,n,r=!1){if(this._cannotFind())return null;let d=this._decorations.getFindScope(),m=Go._getSearchRange(this._editor.getModel(),d);m.getEndPosition().isBefore(e)&&(e=m.getStartPosition()),e.isBefore(m.getStartPosition())&&(e=m.getStartPosition());let{lineNumber:O,column:re}=e,oe=this._editor.getModel(),ce=new Di.a(O,re),Me=oe.findNextMatch(this._state.searchString,ce,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t);return n&&Me&&Me.range.isEmpty()&&Me.range.getStartPosition().equals(ce)&&(ce=this._nextSearchPosition(ce),Me=oe.findNextMatch(this._state.searchString,ce,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t)),Me?r||m.containsRange(Me.range)?Me:this._getNextMatch(Me.range.getEndPosition(),t,n,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||e.length===0)return new wr(null);let t=[],n=new Ui(e);for(let r=0,d=e.length;r<d;r++){let m=e.charCodeAt(r);if(m!==92){if(m===36){if(r++,r>=d)break;let O=e.charCodeAt(r);if(O===36){n.emitUnchanged(r-1),n.emitStatic("$",r+1);continue}if(O===48||O===38){n.emitUnchanged(r-1),n.emitMatchIndex(0,r+1,t),t.length=0;continue}if(49<=O&&O<=57){let re=O-48;if(r+1<d){let oe=e.charCodeAt(r+1);if(48<=oe&&oe<=57){r++,re=10*re+(oe-48),n.emitUnchanged(r-2),n.emitMatchIndex(re,r+1,t),t.length=0;continue}}n.emitUnchanged(r-1),n.emitMatchIndex(re,r+1,t),t.length=0;continue}}}else{if(r++,r>=d)break;let O=e.charCodeAt(r);switch(O){case 92:n.emitUnchanged(r-1),n.emitStatic("\\",r+1);break;case 110:n.emitUnchanged(r-1),n.emitStatic(` +`,r+1);break;case 116:n.emitUnchanged(r-1),n.emitStatic(" ",r+1);break;case 117:case 85:case 108:case 76:n.emitUnchanged(r-1),n.emitStatic("",r+1),t.push(String.fromCharCode(O))}}}return n.finalize()}(this._state.replaceString):wr.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){let r=e.buildReplaceString(n.matches,this._state.preserveCase),d=new $i.a(t,r);this._executeEditorCommand("replace",d),this._decorations.setStartPosition(new Di.a(t.startLineNumber,t.startColumn+r.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}_findMatches(e,t,n){let r=(e||[null]).map(d=>Go._getSearchRange(this._editor.getModel(),d));return this._editor.getModel().findMatches(this._state.searchString,r,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t,n)}replaceAll(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes();e===null&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){let e=new wa.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null).parseSearchRequest();if(!e)return;let t=e.regex;if(!t.multiline){let ce="mu";t.ignoreCase&&(ce+="i"),t.global&&(ce+="g"),t=new RegExp(t.source,ce)}let n=this._editor.getModel(),r=n.getValue(1),d=n.getFullModelRange(),m=this._getReplacePattern(),O,re=this._state.preserveCase;O=m.hasReplacementPatterns||re?r.replace(t,function(){return m.buildReplaceString(arguments,re)}):r.replace(t,m.buildReplaceString(null,re));let oe=new $i.b(d,O,this._editor.getSelection());this._executeEditorCommand("replaceAll",oe)}_regularReplaceAll(e){let t=this._getReplacePattern(),n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),r=[];for(let m=0,O=n.length;m<O;m++)r[m]=t.buildReplaceString(n[m].matches,this._state.preserveCase);let d=new Cs(this._editor.getSelection(),n.map(m=>m.range),r);this._executeEditorCommand("replaceAll",d)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824).map(r=>new J.a(r.range.startLineNumber,r.range.startColumn,r.range.endLineNumber,r.range.endColumn)),n=this._editor.getSelection();for(let r=0,d=t.length;r<d;r++)if(t[r].equalsRange(n)){t=[n].concat(t.slice(0,r)).concat(t.slice(r+1));break}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}o(293);var rr=o(82);let Sa={inputActiveOptionBorder:Kn.a.fromHex("#007ACC00"),inputActiveOptionForeground:Kn.a.fromHex("#FFFFFF"),inputActiveOptionBackground:Kn.a.fromHex("#0E639C50")};class qs extends rr.a{constructor(e){super(),this._onChange=this._register(new rt.a),this.onChange=this._onChange.event,this._onKeyDown=this._register(new rt.a),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},Sa),e),this._checked=this._opts.isChecked;let t=["monaco-custom-checkbox"];this._opts.icon?t.push(this._opts.icon.classNames):t.push("codicon"),this._opts.actionClassName&&t.push(this._opts.actionClassName),t.push(this._checked?"checked":"unchecked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.className=t.join(" "),this.domNode.tabIndex=0,this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,n=>{this.checked=!this._checked,this._onChange.fire(!1),n.preventDefault()}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,n=>{if(n.keyCode===10||n.keyCode===3)return this.checked=!this._checked,this._onChange.fire(!0),void n.preventDefault();this._onKeyDown.fire(n)})}get enabled(){return this.domNode.getAttribute("aria-disabled")!=="true"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))}disable(){ae.T(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))}}let Dr=G.a("caseDescription","Match Case"),Ar=G.a("wordsDescription","Match Whole Word"),$s=G.a("regexDescription","Use Regular Expression");class ka extends qs{constructor(e){super({icon:de.a.caseSensitive,title:Dr+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class hr extends qs{constructor(e){super({icon:de.a.wholeWord,title:Ar+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Ks extends qs{constructor(e){super({icon:de.a.regex,title:$s+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Ts extends rr.a{constructor(e,t,n,r){super(),this._hideSoon=this._register(new Bi.d(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=n,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");let d=r.getColorTheme().getColor(Ue.db),m=r.getColorTheme().getColor(Ue.eb),O=r.getColorTheme().getColor(Ue.cb);this.caseSensitive=this._register(new ka({appendTitle:this._keybindingLabelFor(Us),isChecked:this._state.matchCase,inputActiveOptionBorder:d,inputActiveOptionForeground:m,inputActiveOptionBackground:O})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new hr({appendTitle:this._keybindingLabelFor(Kr),isChecked:this._state.wholeWord,inputActiveOptionBorder:d,inputActiveOptionForeground:m,inputActiveOptionBackground:O})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Ks({appendTitle:this._keybindingLabelFor(os),isChecked:this._state.isRegex,inputActiveOptionBorder:d,inputActiveOptionForeground:m,inputActiveOptionBackground:O})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(re=>{let oe=!1;re.isRegex&&(this.regex.checked=this._state.isRegex,oe=!0),re.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,oe=!0),re.matchCase&&(this.caseSensitive.checked=this._state.matchCase,oe=!0),!this._state.isRevealed&&oe&&this._revealTemporarily()})),this._register(ae.j(this._domNode,re=>this._onMouseOut())),this._register(ae.i(this._domNode,"mouseover",re=>this._onMouseOver())),this._applyTheme(r.getColorTheme()),this._register(r.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Ts.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(Ue.db),inputActiveOptionForeground:e.getColor(Ue.eb),inputActiveOptionBackground:e.getColor(Ue.cb)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}function Qo(u,e){return u===1||u!==2&&e}Ts.ID="editor.contrib.findOptionsWidget",Object(ut.g)((u,e)=>{let t=u.getColor(Ue.U);t&&e.addRule(`.monaco-editor .findOptionsWidget { background-color: ${t}; }`);let n=u.getColor(Ue.W);n&&e.addRule(`.monaco-editor .findOptionsWidget { color: ${n}; }`);let r=u.getColor(Ue.uc);r&&e.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px ${r}; }`);let d=u.getColor(Ue.h);d&&e.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${d}; }`)});class sr extends Lt.a{constructor(){super(),this._onFindReplaceStateChange=this._register(new rt.a),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return Qo(this._isRegexOverride,this._isRegex)}get wholeWord(){return Qo(this._wholeWordOverride,this._wholeWord)}get matchCase(){return Qo(this._matchCaseOverride,this._matchCase)}get preserveCase(){return Qo(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,n){let r={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},d=!1;t===0&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,r.matchesPosition=!0,d=!0),this._matchesCount!==t&&(this._matchesCount=t,r.matchesCount=!0,d=!0),n!==void 0&&(gt.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,r.currentMatch=!0,d=!0)),d&&this._onFindReplaceStateChange.fire(r)}change(e,t,n=!0){var r;let d={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},m=!1,O=this.isRegex,re=this.wholeWord,oe=this.matchCase,ce=this.preserveCase;e.searchString!==void 0&&this._searchString!==e.searchString&&(this._searchString=e.searchString,d.searchString=!0,m=!0),e.replaceString!==void 0&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,d.replaceString=!0,m=!0),e.isRevealed!==void 0&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,d.isRevealed=!0,m=!0),e.isReplaceRevealed!==void 0&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,d.isReplaceRevealed=!0,m=!0),e.isRegex!==void 0&&(this._isRegex=e.isRegex),e.wholeWord!==void 0&&(this._wholeWord=e.wholeWord),e.matchCase!==void 0&&(this._matchCase=e.matchCase),e.preserveCase!==void 0&&(this._preserveCase=e.preserveCase),e.searchScope!==void 0&&(((r=e.searchScope)===null||r===void 0?void 0:r.every(Me=>{var Ct;return(Ct=this._searchScope)===null||Ct===void 0?void 0:Ct.some(Ut=>!gt.a.equalsRange(Ut,Me))}))||(this._searchScope=e.searchScope,d.searchScope=!0,m=!0)),e.loop!==void 0&&this._loop!==e.loop&&(this._loop=e.loop,d.loop=!0,m=!0),this._isRegexOverride=e.isRegexOverride!==void 0?e.isRegexOverride:0,this._wholeWordOverride=e.wholeWordOverride!==void 0?e.wholeWordOverride:0,this._matchCaseOverride=e.matchCaseOverride!==void 0?e.matchCaseOverride:0,this._preserveCaseOverride=e.preserveCaseOverride!==void 0?e.preserveCaseOverride:0,O!==this.isRegex&&(m=!0,d.isRegex=!0),re!==this.wholeWord&&(m=!0,d.wholeWord=!0),oe!==this.matchCase&&(m=!0,d.matchCase=!0),ce!==this.preserveCase&&(m=!0,d.preserveCase=!0),m&&this._onFindReplaceStateChange.fire(d)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=19999}}o(295);var ra=o(153),Ls=(o(198),o(173));let qo=G.a("defaultLabel","input");class Ns extends rr.a{constructor(e,t,n,r){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this._onDidOptionChange=this._register(new rt.a),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new rt.a),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new rt.a),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new rt.a),this._onKeyUp=this._register(new rt.a),this._onCaseSensitiveKeyDown=this._register(new rt.a),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new rt.a),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=r.placeholder||"",this.validation=r.validation,this.label=r.label||qo,this.inputActiveOptionBorder=r.inputActiveOptionBorder,this.inputActiveOptionForeground=r.inputActiveOptionForeground,this.inputActiveOptionBackground=r.inputActiveOptionBackground,this.inputBackground=r.inputBackground,this.inputForeground=r.inputForeground,this.inputBorder=r.inputBorder,this.inputValidationInfoBorder=r.inputValidationInfoBorder,this.inputValidationInfoBackground=r.inputValidationInfoBackground,this.inputValidationInfoForeground=r.inputValidationInfoForeground,this.inputValidationWarningBorder=r.inputValidationWarningBorder,this.inputValidationWarningBackground=r.inputValidationWarningBackground,this.inputValidationWarningForeground=r.inputValidationWarningForeground,this.inputValidationErrorBorder=r.inputValidationErrorBorder,this.inputValidationErrorBackground=r.inputValidationErrorBackground,this.inputValidationErrorForeground=r.inputValidationErrorForeground;let d=r.appendCaseSensitiveLabel||"",m=r.appendWholeWordsLabel||"",O=r.appendRegexLabel||"",re=r.history||[],oe=!!r.flexibleHeight,ce=!!r.flexibleWidth,Me=r.flexibleMaxHeight;this.domNode=document.createElement("div"),ae.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new Ls.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:re,flexibleHeight:oe,flexibleWidth:ce,flexibleMaxHeight:Me})),this.regex=this._register(new Ks({appendTitle:O,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(St=>{this._onDidOptionChange.fire(St),!St&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(St=>{this._onRegexKeyDown.fire(St)})),this.wholeWords=this._register(new hr({appendTitle:m,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(St=>{this._onDidOptionChange.fire(St),!St&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new ka({appendTitle:d,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(St=>{this._onDidOptionChange.fire(St),!St&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(St=>{this._onCaseSensitiveKeyDown.fire(St)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let Ct=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,St=>{if(St.equals(15)||St.equals(17)||St.equals(9)){let di=Ct.indexOf(document.activeElement);if(di>=0){let hi=-1;St.equals(17)?hi=(di+1)%Ct.length:St.equals(15)&&(hi=di===0?Ct.length-1:di-1),St.equals(9)?Ct[di].blur():hi>=0&&Ct[hi].focus(),ae.b.stop(St,!0)}}});let Ut=document.createElement("div");Ut.className="controls",Ut.style.display=this._showOptionButtons?"block":"none",Ut.appendChild(this.caseSensitive.domNode),Ut.appendChild(this.wholeWords.domNode),Ut.appendChild(this.regex.domNode),this.domNode.appendChild(Ut),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,St=>this._onKeyDown.fire(St)),this.onkeyup(this.inputBox.inputElement,St=>this._onKeyUp.fire(St)),this.oninput(this.inputBox.inputElement,St=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,St=>this._onMouseDown.fire(St))}enable(){ae.Q(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){ae.e(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){let e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);let t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){ae.Q(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,ae.e(this.domNode,"highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}var ar=o(92);let Zt=G.a("defaultLabel","input"),i=G.a("label.preserveCaseCheckbox","Preserve Case");class a extends qs{constructor(e){super({icon:de.a.preserveCase,title:i+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class _ extends rr.a{constructor(e,t,n,r){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new rt.a),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new rt.a),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new rt.a),this._onInput=this._register(new rt.a),this._onKeyUp=this._register(new rt.a),this._onPreserveCaseKeyDown=this._register(new rt.a),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=r.placeholder||"",this.validation=r.validation,this.label=r.label||Zt,this.inputActiveOptionBorder=r.inputActiveOptionBorder,this.inputActiveOptionForeground=r.inputActiveOptionForeground,this.inputActiveOptionBackground=r.inputActiveOptionBackground,this.inputBackground=r.inputBackground,this.inputForeground=r.inputForeground,this.inputBorder=r.inputBorder,this.inputValidationInfoBorder=r.inputValidationInfoBorder,this.inputValidationInfoBackground=r.inputValidationInfoBackground,this.inputValidationInfoForeground=r.inputValidationInfoForeground,this.inputValidationWarningBorder=r.inputValidationWarningBorder,this.inputValidationWarningBackground=r.inputValidationWarningBackground,this.inputValidationWarningForeground=r.inputValidationWarningForeground,this.inputValidationErrorBorder=r.inputValidationErrorBorder,this.inputValidationErrorBackground=r.inputValidationErrorBackground,this.inputValidationErrorForeground=r.inputValidationErrorForeground;let d=r.history||[],m=!!r.flexibleHeight,O=!!r.flexibleWidth,re=r.flexibleMaxHeight;this.domNode=document.createElement("div"),ae.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new Ls.a(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:d,flexibleHeight:m,flexibleWidth:O,flexibleMaxHeight:re})),this.preserveCase=this._register(new a({appendTitle:"",isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(Me=>{this._onDidOptionChange.fire(Me),!Me&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(Me=>{this._onPreserveCaseKeyDown.fire(Me)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let oe=[this.preserveCase.domNode];this.onkeydown(this.domNode,Me=>{if(Me.equals(15)||Me.equals(17)||Me.equals(9)){let Ct=oe.indexOf(document.activeElement);if(Ct>=0){let Ut=-1;Me.equals(17)?Ut=(Ct+1)%oe.length:Me.equals(15)&&(Ut=Ct===0?oe.length-1:Ct-1),Me.equals(9)?oe[Ct].blur():Ut>=0&&oe[Ut].focus(),ae.b.stop(Me,!0)}}});let ce=document.createElement("div");ce.className="controls",ce.style.display=this._showOptionButtons?"block":"none",ce.appendChild(this.preserveCase.domNode),this.domNode.appendChild(ce),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,Me=>this._onKeyDown.fire(Me)),this.onkeyup(this.inputBox.inputElement,Me=>this._onKeyUp.fire(Me)),this.oninput(this.inputBox.inputElement,Me=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,Me=>this._onMouseDown.fire(Me))}enable(){ae.Q(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){ae.e(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){let e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);let t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var R=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},K=function(u,e){return function(t,n){e(t,n,u)}};function we(u,e){return u.getContext(document.activeElement).getValue(e)}function Pe(u,e){let t=function(n,r){return n.createScoped(r.target)}(u,e);return function(n,r,d){new A.c(d,r).bindTo(n)}(t,e,"historyNavigationWidget"),{scopedContextKeyService:t,historyNavigationEnablement:new A.c("historyNavigationEnabled",!0).bindTo(t)}}let Ve=class extends Ns{constructor(u,e,t,n,r=!1){super(u,e,r,t),this._register(Pe(n,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};Ve=R([K(3,A.b)],Ve);let Je=class extends _{constructor(u,e,t,n,r=!1){super(u,e,r,t),this._register(Pe(n,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};Je=R([K(3,A.b)],Je),ar.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:A.a.and(A.a.has("historyNavigationWidget"),A.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:(u,e)=>{let t=we(u.get(A.b),"historyNavigationWidget");t&&t.historyNavigator.showPreviousValue()}}),ar.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:A.a.and(A.a.has("historyNavigationWidget"),A.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:(u,e)=>{let t=we(u.get(A.b),"historyNavigationWidget");t&&t.historyNavigator.showNextValue()}});var at=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let bt=Object(de.e)("find-selection",de.a.selection),Bt=Object(de.e)("find-collapsed",de.a.chevronRight),Pt=Object(de.e)("find-expanded",de.a.chevronDown),ni=Object(de.e)("find-close",de.a.close),Ci=Object(de.e)("find-replace",de.a.replace),Vi=Object(de.e)("find-replace-all",de.a.replaceAll),Mi=Object(de.e)("find-previous-match",de.a.arrowUp),zi=Object(de.e)("find-next-match",de.a.arrowDown),Yi=G.a("label.find","Find"),Gi=G.a("placeholder.find","Find"),wn=G.a("label.previousMatchButton","Previous match"),nn=G.a("label.nextMatchButton","Next match"),Wn=G.a("label.toggleSelectionFind","Find in selection"),An=G.a("label.closeButton","Close"),qn=G.a("label.replace","Replace"),ro=G.a("placeholder.replace","Replace"),Un=G.a("label.replaceButton","Replace"),Lo=G.a("label.replaceAllButton","Replace All"),Ao=G.a("label.toggleReplaceButton","Toggle Replace mode"),Bo=G.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),jo=G.a("label.matchesLocation","{0} of {1}"),$o=G.a("label.noResults","No results"),Po=69,Rr=Et.f?256:2048;class Fo{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function Gr(u,e,t){let n=!!e.match(/\n/);t&&n&&t.selectionStart>0&&u.stopPropagation()}function Is(u,e,t){let n=!!e.match(/\n/);t&&n&&t.selectionEnd<t.value.length&&u.stopPropagation()}class Gs extends rr.a{constructor(e,t,n,r,d,m,O,re,oe,ce){super(),this._cachedHeight=null,this._codeEditor=e,this._controller=t,this._state=n,this._contextViewProvider=r,this._keybindingService=d,this._contextKeyService=m,this._storageService=re,this._notificationService=oe,ce.registerStorageKey({key:"ctrlEnterReplaceAll.windows.donotask",version:1}),this._ctrlEnterReplaceAllWarningPrompted=!!re.getBoolean("ctrlEnterReplaceAll.windows.donotask",0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new Bi.a(500),this._register(Object(Lt.h)(()=>this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(Me=>this._onStateChanged(Me))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(Me=>{if(Me.hasChanged(72)&&(this._codeEditor.getOption(72)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),Me.hasChanged(117)&&this._tryUpdateWidgetWidth(),Me.hasChanged(2)&&this.updateAccessibilitySupport(),Me.hasChanged(29)){let Ct=this._codeEditor.getOption(29).addExtraSpaceOnTop;Ct&&!this._viewZone&&(this._viewZone=new Fo(0),this._showViewZone()),!Ct&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>at(this,void 0,void 0,function*(){if(this._isVisible){let Me=yield this._controller.getGlobalBufferTerm();Me&&Me!==this._state.searchString&&(this._state.change({searchString:Me},!0),this._findInput.select())}}))),this._findInputFocused=xs.bindTo(m),this._findFocusTracker=this._register(ae.bb(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=yr.bindTo(m),this._replaceFocusTracker=this._register(ae.bb(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(29).addExtraSpaceOnTop&&(this._viewZone=new Fo(0)),this._applyTheme(O.getColorTheme()),this._register(O.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(Me=>{Me.scrollTopChanged?this._layoutViewZone():setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return Gs.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(72)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=ae.H(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let t=this._state.searchString.length>0&&this._state.matchesCount===0;ae.ab(this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=Po+"px",this._state.matchesCount>=19999?this._matchesCount.title=Bo:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let n=String(this._state.matchesPosition);n==="0"&&(n="?"),e=on.x(jo,n,t)}else e=$o;this._matchesCount.appendChild(document.createTextNode(e)),Object(_i.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),Po=Math.max(Po,this._matchesCount.clientWidth)}_getAriaLabel(e,t,n){if(e===$o)return n===""?G.a("ariaSearchNoResultEmpty","{0} found",e):G.a("ariaSearchNoResult","{0} found for '{1}'",e,n);if(t){let r=G.a("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,n,t.startLineNumber+":"+t.startColumn),d=this._codeEditor.getModel();return d&&t.startLineNumber<=d.getLineCount()&&t.startLineNumber>=1?`${d.getLineContent(t.startLineNumber)}, ${r}`:r}return G.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,n)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),ae.ab(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let n=!this._codeEditor.getOption(72);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)}_reveal(){if(!this._isVisible){this._isVisible=!0;let e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(29).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":let n=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=n}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(()=>{ae.e(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","false")},0),setTimeout(()=>{this._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(29).seedSearchStringFromSelection&&e){let n=this._codeEditor.getDomNode();if(n){let r=ae.C(n),d=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),m=r.left+(d?d.left:0),O=d?d.top:0;if(this._viewZone&&O<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);let re=ae.F(this._domNode).left;m>re&&(t=!1);let oe=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());r.left+(oe?oe.left:0)>re&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),ae.Q(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(){if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;let e=this._viewZone;this._viewZoneId===void 0&&e&&this._codeEditor.changeViewZones(t=>{e.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(e),this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+e.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible||!this._codeEditor.getOption(29).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new Fo(0));let t=this._viewZone;this._codeEditor.changeViewZones(n=>{if(this._viewZoneId!==void 0){let r=this._getHeight();if(r===t.heightInPx)return;let d=r-t.heightInPx;return t.heightInPx=r,n.layoutZone(this._viewZoneId),void(e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+d))}{let r=this._getHeight();if(r-=this._codeEditor.getOption(66).top,r<=0)return;t.heightInPx=r,this._viewZoneId=n.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+r)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{this._viewZoneId!==void 0&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(Ue.db),inputActiveOptionBackground:e.getColor(Ue.cb),inputActiveOptionForeground:e.getColor(Ue.eb),inputBackground:e.getColor(Ue.fb),inputForeground:e.getColor(Ue.hb),inputBorder:e.getColor(Ue.gb),inputValidationInfoBackground:e.getColor(Ue.lb),inputValidationInfoForeground:e.getColor(Ue.nb),inputValidationInfoBorder:e.getColor(Ue.mb),inputValidationWarningBackground:e.getColor(Ue.ob),inputValidationWarningForeground:e.getColor(Ue.qb),inputValidationWarningBorder:e.getColor(Ue.pb),inputValidationErrorBackground:e.getColor(Ue.ib),inputValidationErrorForeground:e.getColor(Ue.kb),inputValidationErrorBorder:e.getColor(Ue.jb)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible||!ae.N(this._domNode))return;let e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)return void ae.e(this._domNode,"hiddenEditor");ae.I(this._domNode,"hiddenEditor")&&ae.Q(this._domNode,"hiddenEditor");let t=e.width,n=e.minimap.minimapWidth,r=!1,d=!1,m=!1;if(this._resized&&ae.H(this._domNode)>419)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=ae.H(this._findInput.domNode));if(447+n>=t&&(d=!0),447+n-Po>=t&&(m=!0),447+n-Po>=t+50&&(r=!0),ae.ab(this._domNode,"collapsed-find-widget",r),ae.ab(this._domNode,"narrow-find-widget",m),ae.ab(this._domNode,"reduced-find-widget",d),m||r||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();let O=this._findInput.inputBox.element.clientWidth;O>0&&(this._replaceInput.width=O)}else this._isReplaceVisible&&(this._replaceInput.width=ae.H(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){let e=this._getHeight();return(this._cachedHeight===null||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(t=>{t.endColumn===1&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1)));let n=this._state.currentMatch;return t.startLineNumber===t.endLineNumber||gt.a.equalsRange(t,n)?null:t}).filter(t=>!!t),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){return e.equals(3|Rr)?(this._findInput.inputBox.insertAtCursor(` +`),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Gr(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?Is(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){return e.equals(3|Rr)?(Et.i&&Et.g&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(G.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor(` +`),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Gr(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?Is(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new Ve(null,this._contextViewProvider,{width:221,label:Yi,placeholder:Gi,appendCaseSensitiveLabel:this._keybindingLabelFor(Us),appendWholeWordsLabel:this._keybindingLabelFor(Kr),appendRegexLabel:this._keybindingLabelFor(os),validation:m=>{if(m.length===0||!this._findInput.getRegex())return null;try{return new RegExp(m,"gu"),null}catch(O){return{content:O.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(m=>this._onFindInputKeyDown(m))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(m=>{m.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),m.preventDefault())})),this._register(this._findInput.onRegexKeyDown(m=>{m.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),m.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(m=>{this._tryUpdateHeight()&&this._showViewZone()})),Et.d&&this._register(this._findInput.onMouseDown(m=>this._onFindInputMouseDown(m))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new sa({label:wn+this._keybindingLabelFor(Ir),className:Mi.classNames,onTrigger:()=>{this._codeEditor.getAction(Ir).run().then(void 0,Oe.e)}})),this._nextBtn=this._register(new sa({label:nn+this._keybindingLabelFor(ks),className:zi.classNames,onTrigger:()=>{this._codeEditor.getAction(ks).run().then(void 0,Oe.e)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);let t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new qs({icon:bt,title:Wn+this._keybindingLabelFor(Hs),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let m=this._codeEditor.getSelections();m.map(O=>(O.endColumn===1&&O.endLineNumber>O.startLineNumber&&(O=O.setEndPosition(O.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(O.endLineNumber-1))),O.isEmpty()?null:O)).filter(O=>!!O),m.length&&this._state.change({searchScope:m},!0)}}else this._state.change({searchScope:null},!0)})),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new sa({label:An+this._keybindingLabelFor(ps),className:ni.classNames,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:m=>{m.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),m.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new Je(null,void 0,{label:qn,placeholder:ro,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(m=>this._onReplaceInputKeyDown(m))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(m=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(m=>{m.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),m.preventDefault())})),this._replaceBtn=this._register(new sa({label:Un+this._keybindingLabelFor(ms),className:Ci.classNames,onTrigger:()=>{this._controller.replace()},onKeyDown:m=>{m.equals(1026)&&(this._closeBtn.focus(),m.preventDefault())}})),this._replaceAllBtn=this._register(new sa({label:Lo+this._keybindingLabelFor(gs),className:Vi.classNames,onTrigger:()=>{this._controller.replaceAll()}}));let n=document.createElement("div");n.className="replace-part",n.appendChild(this._replaceInput.domNode);let r=document.createElement("div");r.className="replace-actions",n.appendChild(r),r.appendChild(this._replaceBtn.domNode),r.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new sa({label:Ao,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=ae.H(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(n),this._resizeSash=new ra.a(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let d=419;this._register(this._resizeSash.onDidStart(()=>{d=ae.H(this._domNode)})),this._register(this._resizeSash.onDidChange(m=>{this._resized=!0;let O=d+m.startX-m.currentX;O<419||O>(parseFloat(ae.z(this._domNode).maxWidth)||0)||(this._domNode.style.width=O+"px",this._isReplaceVisible&&(this._replaceInput.width=ae.H(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{let m=ae.H(this._domNode);if(m<419)return;let O=419;if(!this._resized||m===419){let re=this._codeEditor.getLayoutInfo();O=re.width-28-re.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=O+"px",this._isReplaceVisible&&(this._replaceInput.width=ae.H(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){let e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(e!==2)}}Gs.ID="editor.contrib.findWidget";class sa extends rr.a{constructor(e){super(),this._opts=e,this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className="button "+this._opts.className,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,t=>{this._opts.onTrigger(),t.preventDefault()}),this.onkeydown(this._domNode,t=>{if(t.equals(10)||t.equals(3))return this._opts.onTrigger(),void t.preventDefault();this._opts.onKeyDown&&this._opts.onKeyDown(t)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){ae.ab(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(ae.R(this._domNode,Bt.classNames),ae.f(this._domNode,Pt.classNames)):(ae.R(this._domNode,Pt.classNames),ae.f(this._domNode,Bt.classNames))}}Object(ut.g)((u,e)=>{let t=(Ct,Ut)=>{Ut&&e.addRule(`.monaco-editor ${Ct} { background-color: ${Ut}; }`)};t(".findMatch",u.getColor(Ue.x)),t(".currentFindMatch",u.getColor(Ue.v)),t(".findScope",u.getColor(Ue.z)),t(".find-widget",u.getColor(Ue.U));let n=u.getColor(Ue.uc);n&&e.addRule(`.monaco-editor .find-widget { box-shadow: 0 2px 8px ${n}; }`);let r=u.getColor(Ue.y);r&&e.addRule(`.monaco-editor .findMatch { border: 1px ${u.type==="hc"?"dotted":"solid"} ${r}; box-sizing: border-box; }`);let d=u.getColor(Ue.w);d&&e.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${d}; padding: 1px; box-sizing: border-box; }`);let m=u.getColor(Ue.A);m&&e.addRule(`.monaco-editor .findScope { border: 1px ${u.type==="hc"?"dashed":"solid"} ${m}; }`);let O=u.getColor(Ue.h);O&&e.addRule(`.monaco-editor .find-widget { border: 1px solid ${O}; }`);let re=u.getColor(Ue.W);re&&e.addRule(`.monaco-editor .find-widget { color: ${re}; }`);let oe=u.getColor(Ue.Y);oe&&e.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${oe}; }`);let ce=u.getColor(Ue.X);if(ce)e.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${ce}; }`);else{let Ct=u.getColor(Ue.V);Ct&&e.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${Ct}; }`)}let Me=u.getColor(Ue.Z);Me&&e.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${Me}; }`)});var gl=o(166),Kl=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Mr=function(u,e){return function(t,n){e(t,n,u)}},Os=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};function Ua(u){if(!u.hasModel())return null;let e=u.getSelection();if(e.startLineNumber===e.endLineNumber){if(e.isEmpty()){let t=u.getConfiguredWordAtPosition(e.getStartPosition());if(t)return t.word}else if(u.getModel().getValueLengthInRange(e)<524288)return u.getModel().getValueInRange(e)}return null}let ur=class sm extends Lt.a{constructor(e,t,n,r){super(),this._editor=e,this._findWidgetVisible=or.bindTo(t),this._contextKeyService=t,this._storageService=n,this._clipboardService=r,this._updateHistoryDelayer=new Bi.a(500),this._state=this._register(new sr),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(d=>this._onStateChanged(d))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let d=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),d&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(29).loop})}))}static get(e){return e.getContribution(sm.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!xs.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map(t=>(t.endColumn===1&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,this._editor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()?null:t)).filter(t=>!!t),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=on.v(e)),this._state.change({searchString:e},!1)}highlightFindOptions(){}_start(e){return Os(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;let t={isRevealed:!0};if(e.seedSearchStringFromSelection){let n=Ua(this._editor);n&&(this._state.isRegex?t.searchString=on.v(n):t.searchString=n)}if(!t.searchString&&e.seedSearchStringFromGlobalClipboard){let n=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;n&&(t.searchString=n)}if(e.forceRevealReplace?t.isReplaceRevealed=!0:this._findWidgetVisible.get()||(t.isReplaceRevealed=!1),e.updateSearchScope){let n=this._editor.getSelections();n.some(r=>!r.isEmpty())&&(t.searchScope=n)}t.loop=e.loop,this._state.change(t,!1),this._model||(this._model=new Go(this._editor,this._state))})}start(e){return this._start(e)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return Os(this,void 0,void 0,function*(){return this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""})}setGlobalBufferTerm(e){this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};ur.ID="editor.contrib.findController",ur=Kl([Mr(1,A.b),Mr(2,Qn.a),Mr(3,Pi.a)],ur);let Ea=class extends ur{constructor(u,e,t,n,r,d,m,O,re){super(u,t,m,re),this._contextViewService=e,this._keybindingService=n,this._themeService=r,this._notificationService=d,this._storageKeysSyncRegistryService=O,this._widget=null,this._findOptionsWidget=null}_start(u){let e=Object.create(null,{_start:{get:()=>super._start}});return Os(this,void 0,void 0,function*(){this._widget||this._createFindWidget();let t=this._editor.getSelection(),n=!1;switch(this._editor.getOption(29).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":n=!!t&&t.startLineNumber!==t.endLineNumber}u.updateSearchScope=n,yield e._start.call(this,u),this._widget&&(u.shouldFocus===2?this._widget.focusReplaceInput():u.shouldFocus===1&&this._widget.focusFindInput())})}highlightFindOptions(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Gs(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._storageKeysSyncRegistryService)),this._findOptionsWidget=this._register(new Ts(this._editor,this._state,this._keybindingService,this._themeService))}};Ea=Kl([Mr(1,lt.b),Mr(2,A.b),Mr(3,Dt.a),Mr(4,ut.c),Mr(5,Re.a),Mr(6,Qn.a),Mr(7,gl.a),Mr(8,Pi.a)],Ea);class fs extends $.f{constructor(){super({id:Ca,label:G.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:ze.b.MenubarEditMenu,group:"3_find",title:G.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})}run(e,t){return Os(this,void 0,void 0,function*(){let n=ur.get(t);n&&(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(29).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}))})}}class fl extends $.b{constructor(){super({id:xa,label:G.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return Os(this,void 0,void 0,function*(){let n=ur.get(t);n&&(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),n.setGlobalBufferTerm(n.getState().searchString))})}}class Ta extends $.b{run(e,t){return Os(this,void 0,void 0,function*(){let n=ur.get(t);n&&!this._run(n)&&(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:n.getState().searchString.length===0&&t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),this._run(n))})}}class Yr extends $.b{run(e,t){return Os(this,void 0,void 0,function*(){let n=ur.get(t);if(!n)return;let r=Ua(t);r&&n.setSearchString(r),this._run(n)||(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),this._run(n))})}}class bl extends $.f{constructor(){super({id:Es,label:G.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:ze.b.MenubarEditMenu,group:"3_find",title:G.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})}run(e,t){return Os(this,void 0,void 0,function*(){if(!t.hasModel()||t.getOption(72))return;let n=ur.get(t),r=t.getSelection(),d=n.isFindInputFocused(),m=!r.isEmpty()&&r.startLineNumber===r.endLineNumber&&t.getOption(29).seedSearchStringFromSelection&&!d,O=d||m?2:1;n&&(yield n.start({forceRevealReplace:!0,seedSearchStringFromSelection:m,seedSearchStringFromGlobalClipboard:t.getOption(29).seedSearchStringFromSelection,shouldFocus:O,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}))})}}Object($.m)(ur.ID,Ea);let Cr=new fs;Object($.r)(Cr),Object($.k)(fl),Object($.k)(class extends Ta{constructor(){super({id:ks,label:G.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})}_run(u){return u.moveToNextMatch()}}),Object($.k)(class extends Ta{constructor(){super({id:ks,label:G.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:A.a.and(z.a.focus,xs),primary:3,weight:100}})}_run(u){return u.moveToNextMatch()}}),Object($.k)(class extends Ta{constructor(){super({id:Ir,label:G.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})}_run(u){return u.moveToPrevMatch()}}),Object($.k)(class extends Ta{constructor(){super({id:Ir,label:G.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:A.a.and(z.a.focus,xs),primary:1027,weight:100}})}_run(u){return u.moveToPrevMatch()}}),Object($.k)(class extends Yr{constructor(){super({id:$r,label:G.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2109,weight:100}})}_run(u){return u.moveToNextMatch()}}),Object($.k)(class extends Yr{constructor(){super({id:Vs,label:G.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:3133,weight:100}})}_run(u){return u.moveToPrevMatch()}});let _l=new bl;Object($.r)(_l);let so=$.c.bindToContribution(ur.get);Object($.l)(new so({id:ps,precondition:or,handler:u=>u.closeFindWidget(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:9,secondary:[1033]}})),Object($.l)(new so({id:Us,precondition:void 0,handler:u=>u.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:qr.primary,mac:qr.mac,win:qr.win,linux:qr.linux}})),Object($.l)(new so({id:Kr,precondition:void 0,handler:u=>u.toggleWholeWords(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:Ss.primary,mac:Ss.mac,win:Ss.win,linux:Ss.linux}})),Object($.l)(new so({id:os,precondition:void 0,handler:u=>u.toggleRegex(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:hs.primary,mac:hs.mac,win:hs.win,linux:hs.linux}})),Object($.l)(new so({id:Hs,precondition:void 0,handler:u=>u.toggleSearchScope(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:us.primary,mac:us.mac,win:us.win,linux:us.linux}})),Object($.l)(new so({id:ms,precondition:or,handler:u=>u.replace(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:3094}})),Object($.l)(new so({id:ms,precondition:or,handler:u=>u.replace(),kbOpts:{weight:105,kbExpr:A.a.and(z.a.focus,yr),primary:3}})),Object($.l)(new so({id:gs,precondition:or,handler:u=>u.replaceAll(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:2563}})),Object($.l)(new so({id:gs,precondition:or,handler:u=>u.replaceAll(),kbOpts:{weight:105,kbExpr:A.a.and(z.a.focus,yr),primary:void 0,mac:{primary:2051}}})),Object($.l)(new so({id:Or,precondition:or,handler:u=>u.selectAllMatches(),kbOpts:{weight:105,kbExpr:z.a.focus,primary:515}})),o(298);var to=o(14);class aa{constructor(e,t,n){if(e.length!==t.length||e.length>65535)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(n,r)=>{let d=e[e.length-1];return this.getStartLineNumber(d)<=n&&this.getEndLineNumber(d)>=r};for(let n=0,r=this._startIndexes.length;n<r;n++){let d=this._startIndexes[n],m=this._endIndexes[n];if(d>16777215||m>16777215)throw new Error("startLineNumber or endLineNumber must not exceed 16777215");for(;e.length>0&&!t(d,m);)e.pop();let O=e.length>0?e[e.length-1]:-1;e.push(n),this._startIndexes[n]=d+((255&O)<<24),this._endIndexes[n]=m+((65280&O)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return 16777215&this._startIndexes[e]}getEndLineNumber(e){return 16777215&this._endIndexes[e]}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){let t=e/32|0,n=e%32;return(this._collapseStates[t]&1<<n)!=0}setCollapsed(e,t){let n=e/32|0,r=e%32,d=this._collapseStates[n];this._collapseStates[n]=t?d|1<<r:d&~(1<<r)}toRegion(e){return new Gl(this,e)}getParentIndex(e){this.ensureParentIndices();let t=((4278190080&this._startIndexes[e])>>>24)+((4278190080&this._endIndexes[e])>>>16);return t===65535?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,n=this._startIndexes.length;if(n===0)return-1;for(;t<n;){let r=Math.floor((t+n)/2);e<this.getStartLineNumber(r)?n=r:t=r+1}return t-1}findRange(e){let t=this.findIndex(e);if(t>=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);t!==-1;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1}toString(){let e=[];for(let t=0;t<this.length;t++)e[t]=`[${this.isCollapsed(t)?"+":"-"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(", ")}}class Gl{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class Yl{constructor(e,t){this._updateEventEmitter=new rt.a,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new aa(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(!e.length)return;e=e.sort((n,r)=>n.regionIndex-r.regionIndex);let t={};this._decorationProvider.changeDecorations(n=>{let r=0,d=-1,m=-1,O=re=>{for(;r<re;){let oe=this._regions.getEndLineNumber(r),ce=this._regions.isCollapsed(r);oe<=d&&n.changeDecorationOptions(this._editorDecorationIds[r],this._decorationProvider.getDecorationOption(ce,oe<=m)),ce&&oe>m&&(m=oe),r++}};for(let re of e){let oe=re.regionIndex,ce=this._editorDecorationIds[oe];if(ce&&!t[ce]){t[ce]=!0,O(oe);let Me=!this._regions.isCollapsed(oe);this._regions.setCollapsed(oe,Me),d=Math.max(d,this._regions.getEndLineNumber(oe))}}O(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}update(e,t=[]){let n=[],r=-1,d=(ce,Me)=>{let Ct=e.getStartLineNumber(ce),Ut=e.getEndLineNumber(ce);Me&&((hi,ji)=>{for(let Ji of t)if(hi<Ji&&Ji<=ji)return!0;return!1})(Ct,Ut)&&(Me=!1),e.setCollapsed(ce,Me);let St=this._textModel.getLineMaxColumn(Ct),di={startLineNumber:Ct,startColumn:St,endLineNumber:Ct,endColumn:St};n.push({range:di,options:this._decorationProvider.getDecorationOption(Me,Ut<=r)}),Me&&Ut>r&&(r=Ut)},m=0,O=()=>{for(;m<this._regions.length;){let ce=this._regions.isCollapsed(m);if(m++,ce)return m-1}return-1},re=0,oe=O();for(;oe!==-1&&re<e.length;){let ce=this._textModel.getDecorationRange(this._editorDecorationIds[oe]);if(ce){let Me=ce.startLineNumber;if(this._textModel.getLineMaxColumn(Me)===ce.startColumn)for(;re<e.length;){let Ct=e.getStartLineNumber(re);if(!(Me>=Ct))break;d(re,Me===Ct),re++}}oe=O()}for(;re<e.length;)d(re,!1),re++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,n),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})}getMemento(){let e=[];for(let t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){let n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){let r=n.startLineNumber,d=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:r,endLineNumber:d})}}if(e.length>0)return e}applyMemento(e){if(!Array.isArray(e))return;let t=[];for(let n of e){let r=this.getRegionAtLine(n.startLineNumber);r&&!r.isCollapsed&&t.push(r)}this.toggleCollapseState(t)}dispose(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])}getAllRegionsAtLine(e,t){let n=[];if(this._regions){let r=this._regions.findRange(e),d=1;for(;r>=0;){let m=this._regions.toRegion(r);t&&!t(m,d)||n.push(m),d++,r=m.parentIndex}}return n}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let n=[],r=e?e.regionIndex+1:0,d=e?e.endLineNumber:Number.MAX_VALUE;if(t&&t.length===2){let m=[];for(let O=r,re=this._regions.length;O<re;O++){let oe=this._regions.toRegion(O);if(!(this._regions.getStartLineNumber(O)<d))break;for(;m.length>0&&!oe.containedBy(m[m.length-1]);)m.pop();m.push(oe),t(oe,m.length)&&n.push(oe)}}else for(let m=r,O=this._regions.length;m<O;m++){let re=this._regions.toRegion(m);if(!(this._regions.getStartLineNumber(m)<d))break;t&&!t(re)||n.push(re)}return n}}function bs(u,e,t=Number.MAX_VALUE,n){let r=[];if(n&&n.length>0)for(let d of n){let m=u.getRegionAtLine(d);if(m&&(m.isCollapsed!==e&&r.push(m),t>1)){let O=u.getRegionsInside(m,(re,oe)=>re.isCollapsed!==e&&oe<t);r.push(...O)}}else{let d=u.getRegionsInside(null,(m,O)=>m.isCollapsed!==e&&O<t);r.push(...d)}u.toggleCollapseState(r)}function Ha(u,e,t,n){let r=[];for(let d of n){let m=u.getAllRegionsAtLine(d,(O,re)=>O.isCollapsed!==e&&re<=t);r.push(...m)}u.toggleCollapseState(r)}function La(u,e,t){let n=u.textModel,r=u.regions,d=[];for(let m=r.length-1;m>=0;m--)if(t!==r.isCollapsed(m)){let O=r.getStartLineNumber(m);e.test(n.getLineContent(O))&&d.push(r.toRegion(m))}u.toggleCollapseState(d)}function Na(u,e,t){let n=u.regions,r=[];for(let d=n.length-1;d>=0;d--)t!==n.isCollapsed(d)&&e===n.getType(d)&&r.push(n.toRegion(d));u.toggleCollapseState(r)}let la=Object(de.e)("folding-expanded",de.a.chevronDown),vl=Object(de.e)("folding-collapsed",de.a.chevronRight);class xr{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?xr.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?xr.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:xr.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?xr.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:xr.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}xr.COLLAPSED_VISUAL_DECORATION=Rt.a.register({stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:vl.classNames}),xr.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=Rt.a.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:vl.classNames}),xr.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=Rt.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:la.classNames}),xr.EXPANDED_VISUAL_DECORATION=Rt.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+la.classNames}),xr.HIDDEN_RANGE_DECORATION=Rt.a.register({stickiness:1});class Zl{constructor(e){this._updateEventEmitter=new rt.a,this._foldingModel=e,this._foldingModelListener=e.onDidChange(t=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let e=!1,t=[],n=0,r=0,d=Number.MAX_VALUE,m=-1,O=this._foldingModel.regions;for(;n<O.length;n++){if(!O.isCollapsed(n))continue;let re=O.getStartLineNumber(n)+1,oe=O.getEndLineNumber(n);d<=re&&oe<=m||(!e&&r<this._hiddenRanges.length&&this._hiddenRanges[r].startLineNumber===re&&this._hiddenRanges[r].endLineNumber===oe?(t.push(this._hiddenRanges[r]),r++):(e=!0,t.push(new gt.a(re,1,oe,1))),d=re,m=oe)}(e||r<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyMemento(e){if(!Array.isArray(e)||e.length===0)return!1;let t=[];for(let n of e){if(!n.startLineNumber||!n.endLineNumber)return!1;t.push(new gt.a(n.startLineNumber+1,1,n.endLineNumber,1))}return this.applyHiddenRanges(t),!0}getMemento(){return this._hiddenRanges.map(e=>({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}))}applyHiddenRanges(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return Xi(this._hiddenRanges,e)!==null}adjustSelections(e){let t=!1,n=this._foldingModel.textModel,r=null,d=m=>(r&&function(O,re){return O>=re.startLineNumber&&O<=re.endLineNumber}(m,r)||(r=Xi(this._hiddenRanges,m)),r?r.startLineNumber-1:null);for(let m=0,O=e.length;m<O;m++){let re=e[m],oe=d(re.startLineNumber);oe&&(re=re.setStartPosition(oe,n.getLineMaxColumn(oe)),t=!0);let ce=d(re.endLineNumber);ce&&(re=re.setEndPosition(ce,n.getLineMaxColumn(ce)),t=!0),e[m]=re}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function Xi(u,e){let t=Object(ee.h)(u,n=>e<n.startLineNumber)-1;return t>=0&&u[t].endLineNumber>=e?u[t]:null}class wl{constructor(e){this.editorModel=e,this.id="indent"}dispose(){}compute(e){let t=Oo.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=t&&!!t.offSide,r=t&&t.markers;return Promise.resolve(function(d,m,O,re=5e3){let oe=d.getOptions().tabSize,ce=new Xl(re),Me;O&&(Me=new RegExp(`(${O.start.source})|(?:${O.end.source})`));let Ct=[],Ut=d.getLineCount()+1;Ct.push({indent:-1,endAbove:Ut,line:Ut});for(let St=d.getLineCount();St>0;St--){let di,hi=d.getLineContent(St),ji=Rt.b.computeIndentLevel(hi,oe),Ji=Ct[Ct.length-1];if(ji!==-1){if(Me&&(di=hi.match(Me))){if(!di[1]){Ct.push({indent:-2,endAbove:St,line:St});continue}{let dn=Ct.length-1;for(;dn>0&&Ct[dn].indent!==-2;)dn--;if(dn>0){Ct.length=dn+1,Ji=Ct[dn],ce.insertFirst(St,Ji.line,ji),Ji.line=St,Ji.indent=ji,Ji.endAbove=St;continue}}}if(Ji.indent>ji){do Ct.pop(),Ji=Ct[Ct.length-1];while(Ji.indent>ji);let dn=Ji.endAbove-1;dn-St>=1&&ce.insertFirst(St,dn,ji)}Ji.indent===ji?Ji.endAbove=St:Ct.push({indent:ji,endAbove:St,line:St})}else m&&(Ji.endAbove=St)}return ce.toIndentRanges(d)}(this.editorModel,n,r))}}class Xl{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,n){if(e>16777215||t>16777215)return;let r=this._length;this._startIndexes[r]=e,this._endIndexes[r]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let t=new Uint32Array(this._length),n=new Uint32Array(this._length);for(let r=this._length-1,d=0;r>=0;r--,d++)t[d]=this._startIndexes[r],n[d]=this._endIndexes[r];return new aa(t,n)}{let t=0,n=this._indentOccurrences.length;for(let O=0;O<this._indentOccurrences.length;O++){let re=this._indentOccurrences[O];if(re){if(re+t>this._foldingRangesLimit){n=O;break}t+=re}}let r=e.getOptions().tabSize,d=new Uint32Array(this._foldingRangesLimit),m=new Uint32Array(this._foldingRangesLimit);for(let O=this._length-1,re=0;O>=0;O--){let oe=this._startIndexes[O],ce=e.getLineContent(oe),Me=Rt.b.computeIndentLevel(ce,r);(Me<n||Me===n&&t++<this._foldingRangesLimit)&&(d[re]=oe,m[re]=this._endIndexes[O],re++)}return new aa(d,m)}}}let Ia={};class Oa{constructor(e,t,n=5e3){this.editorModel=e,this.providers=t,this.limit=n,this.id="syntax"}compute(e){return function(t,n,r){let d=null,m=t.map((O,re)=>Promise.resolve(O.provideFoldingRanges(n,Ia,r)).then(oe=>{if(!r.isCancellationRequested&&Array.isArray(oe)){Array.isArray(d)||(d=[]);let ce=n.getLineCount();for(let Me of oe)Me.start>0&&Me.end>Me.start&&Me.end<=ce&&d.push({start:Me.start,end:Me.end,rank:re,kind:Me.kind})}},Oe.f));return Promise.all(m).then(O=>d)}(this.providers,this.editorModel,e).then(t=>t?Cl(t,this.limit):null)}dispose(){}}class yl{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,n,r){if(e>16777215||t>16777215)return;let d=this._length;this._startIndexes[d]=e,this._endIndexes[d]=t,this._nestingLevels[d]=r,this._types[d]=n,this._length++,r<30&&(this._nestingLevelCounts[r]=(this._nestingLevelCounts[r]||0)+1)}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new aa(e,t,this._types)}{let e=0,t=this._nestingLevelCounts.length;for(let m=0;m<this._nestingLevelCounts.length;m++){let O=this._nestingLevelCounts[m];if(O){if(O+e>this._foldingRangesLimit){t=m;break}e+=O}}let n=new Uint32Array(this._foldingRangesLimit),r=new Uint32Array(this._foldingRangesLimit),d=[];for(let m=0,O=0;m<this._length;m++){let re=this._nestingLevels[m];(re<t||re===t&&e++<this._foldingRangesLimit)&&(n[O]=this._startIndexes[m],r[O]=this._endIndexes[m],d[O]=this._types[m],O++)}return new aa(n,r,d)}}}function Cl(u,e){let t=u.sort((m,O)=>{let re=m.start-O.start;return re===0&&(re=m.rank-O.rank),re}),n=new yl(e),r,d=[];for(let m of t)if(r){if(m.start>r.start)if(m.end<=r.end)d.push(r),r=m,n.add(m.start,m.end,m.kind&&m.kind.value,d.length);else{if(m.start>r.end){do r=d.pop();while(r&&m.start>r.end);r&&d.push(r),r=m}n.add(m.start,m.end,m.kind&&m.kind.value,d.length)}}else r=m,n.add(m.start,m.end,m.kind&&m.kind.value,d.length);return n.toIndentRanges()}class Ql{constructor(e,t,n,r){if(this.editorModel=e,this.id="init",t.length){let d=m=>({range:{startLineNumber:m.startLineNumber,startColumn:0,endLineNumber:m.endLineNumber,endColumn:e.getLineLength(m.endLineNumber)},options:{stickiness:1}});this.decorationIds=e.deltaDecorations([],t.map(d)),this.timeout=setTimeout(n,r)}}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),typeof this.timeout=="number"&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(let n of this.decorationIds){let r=this.editorModel.getDecorationRange(n);r&&t.push({start:r.startLineNumber,end:r.endLineNumber,rank:1})}return Promise.resolve(Cl(t,Number.MAX_VALUE))}}var xl=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},qa=function(u,e){return function(t,n){e(t,n,u)}};let pr=new A.c("foldingEnabled",!1),Ds=class am extends Lt.a{constructor(e,t){super(),this.contextKeyService=t,this.localToDispose=this._register(new Lt.b),this.editor=e;let n=this.editor.getOptions();this._isEnabled=n.get(31),this._useFoldingProviders=n.get(32)!=="indentation",this._unfoldOnClickAfterEndOfLine=n.get(34),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingStateMemento=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new xr(e),this.foldingDecorationProvider.autoHideFoldingControls=n.get(91)==="mouseover",this.foldingDecorationProvider.showFoldingHighlights=n.get(33),this.foldingEnabled=pr.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(r=>{if(r.hasChanged(31)&&(this._isEnabled=this.editor.getOptions().get(31),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),r.hasChanged(91)||r.hasChanged(33)){let d=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls=d.get(91)==="mouseover",this.foldingDecorationProvider.showFoldingHighlights=d.get(33),this.onModelContentChanged()}r.hasChanged(32)&&(this._useFoldingProviders=this.editor.getOptions().get(32)!=="indentation",this.onFoldingStrategyChanged()),r.hasChanged(34)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(34))})),this.onModelChanged()}static get(e){return e.getContribution(am.ID)}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n}}}restoreViewState(e){let t=this.editor.getModel();if(!t||!this._isEnabled||t.isTooLargeForTokenization()||!this.hiddenRangeModel||!e||!e.collapsedRegions||e.lineCount!==t.getLineCount())return;e.provider!=="syntax"&&e.provider!=="init"||(this.foldingStateMemento=e);let n=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(n)){let r=this.getFoldingModel();r&&r.then(d=>{d&&d.applyMemento(n)}).then(void 0,Oe.e)}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this.foldingModel=new Yl(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new Zl(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(t=>this.onHiddenRangesChanges(t))),this.updateScheduler=new Bi.a(200),this.cursorChangedScheduler=new Bi.d(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(I.o.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(()=>this.onModelContentChanged())),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(t=>this.onEditorMouseDown(t))),this.localToDispose.add(this.editor.onMouseUp(t=>this.onEditorMouseUp(t))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new wl(e),this._useFoldingProviders&&this.foldingModel){let t=I.o.ordered(this.foldingModel.textModel);if(t.length===0&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions)return this.rangeProvider=new Ql(e,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4);t.length>0&&(this.rangeProvider=new Oa(e,t))}return this.foldingStateMemento=null,this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{let e=this.foldingModel;if(!e)return null;let t=this.foldingRegionPromise=Object(Bi.f)(n=>this.getRangeProvider(e.textModel).compute(n));return t.then(n=>{if(n&&t===this.foldingRegionPromise){let r=this.editor.getSelections(),d=r?r.map(m=>m.startLineNumber):[];e.update(n,d)}return e})}).then(void 0,e=>(Object(Oe.e)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length){let t=this.editor.getSelections();t&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){let e=this.getFoldingModel();e&&e.then(t=>{if(t){let n=this.editor.getSelections();if(n&&n.length>0){let r=[];for(let d of n){let m=d.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(m)&&r.push(...t.getAllRegionsAtLine(m,O=>O.isCollapsed&&m>O.startLineNumber))}r.length&&(t.toggleCollapseState(r),this.reveal(n[0].getPosition()))}}}).then(void 0,Oe.e)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range||!e.event.leftButton&&!e.event.middleButton)return;let t=e.target.range,n=!1;switch(e.target.type){case 4:let r=e.target.detail,d=e.target.element.offsetLeft;if(r.offsetX-d<5)return;n=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!e.target.detail.isAfterLines)break;return;case 6:if(this.hiddenRangeModel.hasRanges()){let m=this.editor.getModel();if(m&&t.startColumn===m.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}onEditorMouseUp(e){let t=this.getFoldingModel();if(!t||!this.mouseDownInfo||!e.target)return;let n=this.mouseDownInfo.lineNumber,r=this.mouseDownInfo.iconClicked,d=e.target.range;if(d&&d.startLineNumber===n){if(r){if(e.target.type!==4)return}else{let m=this.editor.getModel();if(!m||d.startColumn!==m.getLineMaxColumn(n))return}t.then(m=>{if(m){let O=m.getRegionAtLine(n);if(O&&O.startLineNumber===n){let re=O.isCollapsed;if(r||re){let oe=[],ce=e.event.middleButton||e.event.shiftKey;if(ce)for(let Me of m.getRegionsInside(O))Me.isCollapsed===re&&oe.push(Me);!re&&ce&&oe.length!==0||oe.push(O),m.toggleCollapseState(oe),this.reveal({lineNumber:n,column:1})}}}}).then(void 0,Oe.e)}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};Ds.ID="editor.contrib.folding",Ds=xl([qa(1,A.b)],Ds);class er extends $.b{runEditorCommand(e,t,n){let r=Ds.get(t);if(!r)return;let d=r.getFoldingModel();return d?(this.reportTelemetry(e,t),d.then(m=>{if(m){this.invoke(r,m,t,n);let O=t.getSelection();O&&r.reveal(O.getStartPosition())}})):void 0}getSelectedLines(e){let t=e.getSelections();return t?t.map(n=>n.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(n=>n+1):this.getSelectedLines(t)}run(e,t){}}function $a(u){if(!to.k(u)){if(!to.i(u))return!1;let e=u;if(!to.k(e.levels)&&!to.h(e.levels)||!to.k(e.direction)&&!to.j(e.direction)||!(to.k(e.selectionLines)||to.e(e.selectionLines)&&e.selectionLines.every(to.h)))return!1}return!0}class As extends er{getFoldingLevel(){return parseInt(this.id.substr(As.ID_PREFIX.length))}invoke(e,t,n){(function(r,d,m,O){let re=r.getRegionsInside(null,(oe,ce)=>ce===d&&oe.isCollapsed!==m&&!O.some(Me=>oe.containsLine(Me)));r.toggleCollapseState(re)})(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))}}As.ID_PREFIX="editor.foldLevel",As.ID=u=>As.ID_PREFIX+u,Object($.m)(Ds.ID,Ds),Object($.k)(class extends er{constructor(){super({id:"editor.unfold",label:G.a("unfoldAction.label","Unfold"),alias:"Unfold",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:`Property-value pairs that can be passed through this argument: * 'levels': Number of levels to unfold. If not set, defaults to 1. * 'direction': If 'up', unfold given number of levels up otherwise unfolds down. * 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used. - `,constraint:Lh,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(a,b,c,e){let i=e&&e.levels||1,p=this.getLineNumbers(e,c);e&&"up"===e.direction?Hh(b,!1,i,p):jg(b,!1,i,p)}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.unfoldRecursively",label:$.a("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2137),weight:100}})}invoke(a,b,c,e){jg(b,!1,Number.MAX_VALUE,this.getSelectedLines(c))}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.fold",label:$.a("foldAction.label","Fold"),alias:"Fold",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: + `,constraint:$a,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(u,e,t,n){let r=n&&n.levels||1,d=this.getLineNumbers(n,t);n&&n.direction==="up"?Ha(e,!1,r,d):bs(e,!1,r,d)}}),Object($.k)(class extends er{constructor(){super({id:"editor.unfoldRecursively",label:G.a("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2137),weight:100}})}invoke(u,e,t,n){bs(e,!1,Number.MAX_VALUE,this.getSelectedLines(t))}}),Object($.k)(class extends er{constructor(){super({id:"editor.fold",label:G.a("foldAction.label","Fold"),alias:"Fold",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:`Property-value pairs that can be passed through this argument: * 'levels': Number of levels to fold. * 'direction': If 'up', folds given number of levels up otherwise folds down. * 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used. If no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead. - `,constraint:Lh,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(a,b,c,e){let i=this.getLineNumbers(e,c);const p=e&&e.levels,r=e&&e.direction;"number"!=typeof p&&"string"!=typeof r?function(O,ha,ja){let la=[];for(let Wa of ja){let Db=O.getAllRegionsAtLine(Wa,Hb=>Hb.isCollapsed!==ha);Db.length>0&&la.push(Db[0])}O.toggleCollapseState(la)}(b,!0,i):"up"===r?Hh(b,!0,p||1,i):jg(b,!0,p||1,i)}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.foldRecursively",label:$.a("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2135),weight:100}})}invoke(a,b,c){let e=this.getSelectedLines(c);jg(b,!0,Number.MAX_VALUE,e)}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.foldAll",label:$.a("foldAllAction.label","Fold All"),alias:"Fold All",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2069),weight:100}})}invoke(a,b,c){jg(b,!0)}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.unfoldAll",label:$.a("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2088),weight:100}})}invoke(a,b,c){jg(b,!1)}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.foldAllBlockComments",label:$.a("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2133),weight:100}})}invoke(a,b,c){if(b.regions.hasTypes())vh(b,W.n.Comment.value,!0);else{const e=c.getModel();if(!e)return;let i=Be.a.getComments(e.getLanguageIdentifier().id);i&&i.blockCommentStartToken&&uh(b,new RegExp("^\\s*"+Object(jd.v)(i.blockCommentStartToken)),!0)}}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.foldAllMarkerRegions",label:$.a("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2077),weight:100}})}invoke(a,b,c){if(b.regions.hasTypes())vh(b,W.n.Region.value,!0);else{const e=c.getModel();if(!e)return;let i=Be.a.getFoldingRules(e.getLanguageIdentifier().id);i&&i.markers&&i.markers.start&&uh(b,new RegExp(i.markers.start),!0)}}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:$.a("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2078),weight:100}})}invoke(a,b,c){if(b.regions.hasTypes())vh(b,W.n.Region.value,!1);else{const e=c.getModel();if(!e)return;let i=Be.a.getFoldingRules(e.getLanguageIdentifier().id);i&&i.markers&&i.markers.start&&uh(b,new RegExp(i.markers.start),!1)}}}),Object(ba.k)(class extends Xe{constructor(){super({id:"editor.toggleFold",label:$.a("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2090),weight:100}})}invoke(a,b,c){!function(e,i,p){let r=[];for(let O of p){let ha=e.getRegionAtLine(O);if(ha){const ja=!ha.isCollapsed;if(r.push(ha),i>1){let la=e.getRegionsInside(ha,(Wa,Db)=>Wa.isCollapsed!==ja&&Db<i);r.push(...la)}}}e.toggleCollapseState(r)}(b,1,this.getSelectedLines(c))}});for(let a=1;a<=7;a++)Object(ba.n)(new Ng({id:Ng.ID(a),label:$.a("foldLevelAction.label","Fold Level {0}",a),alias:"Fold Level "+a,precondition:jf,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2048|21+a),weight:100}}));const Og=Object(Va.gc)("editor.foldBackground",{light:Object(Va.sc)(Va.O,.3),dark:Object(Va.sc)(Va.O,.3),hc:null},$.a("foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),Ld=Object(Va.gc)("editorGutter.foldingControlForeground",{dark:Va.bb,light:Va.bb,hc:Va.bb},$.a("editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));Object(Oa.g)((a,b)=>{const c=a.getColor(Og);c&&b.addRule(`.monaco-editor .folded-background { background-color: ${c}; }`);const e=a.getColor(Ld);e&&b.addRule(` - .monaco-editor .cldr${bh.cssSelector}, - .monaco-editor .cldr${mi.cssSelector} { - color: ${e} !important; + `,constraint:$a,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(u,e,t,n){let r=this.getLineNumbers(n,t),d=n&&n.levels,m=n&&n.direction;typeof d!="number"&&typeof m!="string"?function(O,re,oe){let ce=[];for(let Me of oe){let Ct=O.getAllRegionsAtLine(Me,Ut=>Ut.isCollapsed!==re);Ct.length>0&&ce.push(Ct[0])}O.toggleCollapseState(ce)}(e,!0,r):m==="up"?Ha(e,!0,d||1,r):bs(e,!0,d||1,r)}}),Object($.k)(class extends er{constructor(){super({id:"editor.foldRecursively",label:G.a("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2135),weight:100}})}invoke(u,e,t){let n=this.getSelectedLines(t);bs(e,!0,Number.MAX_VALUE,n)}}),Object($.k)(class extends er{constructor(){super({id:"editor.foldAll",label:G.a("foldAllAction.label","Fold All"),alias:"Fold All",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2069),weight:100}})}invoke(u,e,t){bs(e,!0)}}),Object($.k)(class extends er{constructor(){super({id:"editor.unfoldAll",label:G.a("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2088),weight:100}})}invoke(u,e,t){bs(e,!1)}}),Object($.k)(class extends er{constructor(){super({id:"editor.foldAllBlockComments",label:G.a("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2133),weight:100}})}invoke(u,e,t){if(e.regions.hasTypes())Na(e,I.n.Comment.value,!0);else{let n=t.getModel();if(!n)return;let r=Oo.a.getComments(n.getLanguageIdentifier().id);r&&r.blockCommentStartToken&&La(e,new RegExp("^\\s*"+Object(on.v)(r.blockCommentStartToken)),!0)}}}),Object($.k)(class extends er{constructor(){super({id:"editor.foldAllMarkerRegions",label:G.a("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2077),weight:100}})}invoke(u,e,t){if(e.regions.hasTypes())Na(e,I.n.Region.value,!0);else{let n=t.getModel();if(!n)return;let r=Oo.a.getFoldingRules(n.getLanguageIdentifier().id);r&&r.markers&&r.markers.start&&La(e,new RegExp(r.markers.start),!0)}}}),Object($.k)(class extends er{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:G.a("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2078),weight:100}})}invoke(u,e,t){if(e.regions.hasTypes())Na(e,I.n.Region.value,!1);else{let n=t.getModel();if(!n)return;let r=Oo.a.getFoldingRules(n.getLanguageIdentifier().id);r&&r.markers&&r.markers.start&&La(e,new RegExp(r.markers.start),!1)}}}),Object($.k)(class extends er{constructor(){super({id:"editor.toggleFold",label:G.a("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2090),weight:100}})}invoke(u,e,t){(function(n,r,d){let m=[];for(let O of d){let re=n.getRegionAtLine(O);if(re){let oe=!re.isCollapsed;if(m.push(re),r>1){let ce=n.getRegionsInside(re,(Me,Ct)=>Me.isCollapsed!==oe&&Ct<r);m.push(...ce)}}}n.toggleCollapseState(m)})(e,1,this.getSelectedLines(t))}});for(let u=1;u<=7;u++)Object($.n)(new As({id:As.ID(u),label:G.a("foldLevelAction.label","Fold Level {0}",u),alias:"Fold Level "+u,precondition:pr,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2048|21+u),weight:100}}));let Ys=Object(Ue.gc)("editor.foldBackground",{light:Object(Ue.sc)(Ue.O,.3),dark:Object(Ue.sc)(Ue.O,.3),hc:null},G.a("foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),Bn=Object(Ue.gc)("editorGutter.foldingControlForeground",{dark:Ue.bb,light:Ue.bb,hc:Ue.bb},G.a("editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));Object(ut.g)((u,e)=>{let t=u.getColor(Ys);t&&e.addRule(`.monaco-editor .folded-background { background-color: ${t}; }`);let n=u.getColor(Bn);n&&e.addRule(` + .monaco-editor .cldr${la.cssSelector}, + .monaco-editor .cldr${vl.cssSelector} { + color: ${n} !important; } - `)});var Pg=f(135);class wh extends ba.b{constructor(){super({id:"editor.action.fontZoomIn",label:$.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})}run(a,b){Pg.a.setZoomLevel(Pg.a.getZoomLevel()+1)}}class Mh extends ba.b{constructor(){super({id:"editor.action.fontZoomOut",label:$.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})}run(a,b){Pg.a.setZoomLevel(Pg.a.getZoomLevel()-1)}}class fe extends ba.b{constructor(){super({id:"editor.action.fontZoomReset",label:$.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})}run(a,b){Pg.a.setZoomLevel(0)}}Object(ba.k)(wh),Object(ba.k)(Mh),Object(ba.k)(fe);var Qg=f(76),Ag=f(96),Qf=f(112);class ch{static _handleEolEdits(a,b){let c,e=[];for(let i of b)"number"==typeof i.eol&&(c=i.eol),i.range&&"string"==typeof i.text&&e.push(i);return"number"==typeof c&&a.hasModel()&&a.getModel().pushEOL(c),e}static _isFullModelReplaceEdit(a,b){if(!a.hasModel())return!1;const c=a.getModel(),e=c.validateRange(b.range);return c.getFullModelRange().equalsRange(e)}static execute(a,b,c){c&&a.pushUndoStop();const e=ch._handleEolEdits(a,b);1===e.length&&ch._isFullModelReplaceEdit(a,e[0])?a.executeEdits("formatEditsCommand",e.map(i=>qd.a.replace(pb.a.lift(i.range),i.text))):a.executeEdits("formatEditsCommand",e.map(i=>qd.a.replaceMove(pb.a.lift(i.range),i.text))),c&&a.pushUndoStop()}}class xh{constructor(a){this.value=a,this._lower=a.toLowerCase()}static toKey(a){return"string"==typeof a?a.toLowerCase():a._lower}}var ri=f(53),Nh=f(37),Rg=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};function Oh(a){if(!(a=a.filter(i=>i.range)).length)return;let{range:b}=a[0];for(let i=1;i<a.length;i++)b=pb.a.plusRange(b,a[i].range);const{startLineNumber:c,endLineNumber:e}=b;c===e?1===a.length?Object(tc.a)($.a("hint11","Made 1 formatting edit on line {0}",c)):Object(tc.a)($.a("hintn1","Made {0} formatting edits on line {1}",a.length,c)):1===a.length?Object(tc.a)($.a("hint1n","Made 1 formatting edit between lines {0} and {1}",c,e)):Object(tc.a)($.a("hintnn","Made {0} formatting edits between lines {1} and {2}",a.length,c,e))}function Vi(a){const b=[],c=new Set(),e=W.g.ordered(a);for(const p of e)b.push(p),p.extensionId&&c.add(xh.toKey(p.extensionId));const i=W.j.ordered(a);for(const p of i){if(p.extensionId){if(c.has(xh.toKey(p.extensionId)))continue;c.add(xh.toKey(p.extensionId))}b.push({displayName:p.displayName,extensionId:p.extensionId,provideDocumentFormattingEdits:(r,O,ha)=>p.provideDocumentRangeFormattingEdits(r,r.getFullModelRange(),O,ha)})}return b}class dh{static select(a,b,c){return Rg(this,void 0,void 0,function*(){if(0===a.length)return;const e=Nh.a.first(dh._selectors);return e?yield e(a,b,c):a[0]})}}function Ph(a,b,c,e,i,p){return Rg(this,void 0,void 0,function*(){const r=a.get(xa.a),O=Object(Qf.b)(b)?b.getModel():b,ha=W.j.ordered(O),ja=yield dh.select(ha,O,e);ja&&(i.report(ja),yield r.invokeFunction(vj,ja,b,c,p))})}function vj(a,b,c,e,i){return Rg(this,void 0,void 0,function*(){const p=a.get(Ag.a);let r,O;Object(Qf.b)(c)?(r=c.getModel(),O=new K.b(c,5,void 0,i)):(r=c,O=new K.d(c,i));let ha=[],ja=0;for(let Wa of Object(ka.b)(e).sort(pb.a.compareRangesUsingStarts))ja>0&&pb.a.areIntersectingOrTouching(ha[ja-1],Wa)?ha[ja-1]=pb.a.fromPositions(ha[ja-1].getStartPosition(),Wa.getEndPosition()):ja=ha.push(Wa);const la=[];for(let Wa of ha)try{const Db=yield b.provideDocumentRangeFormattingEdits(r,Wa,r.getFormattingOptions(),O.token),Hb=yield p.computeMoreMinimalEdits(r.uri,Db);if(Hb&&la.push(...Hb),O.token.isCancellationRequested)return!0}finally{O.dispose()}if(0===la.length)return!1;if(Object(Qf.b)(c))ch.execute(c,la,!0),Oh(la),c.revealPositionInCenterIfOutsideViewport(c.getPosition(),1);else{const[{range:Wa}]=la,Db=new aa.a(Wa.startLineNumber,Wa.startColumn,Wa.endLineNumber,Wa.endColumn);r.pushEditOperations([Db],la.map(Hb=>({text:Hb.text,range:pb.a.lift(Hb.range),forceMoveMarkers:!0})),Hb=>{for(const{range:Pb}of Hb)if(pb.a.areIntersectingOrTouching(Pb,Db))return[new aa.a(Pb.startLineNumber,Pb.startColumn,Pb.endLineNumber,Pb.endColumn)];return null})}return!0})}function wj(a,b,c,e,i){return Rg(this,void 0,void 0,function*(){const p=a.get(xa.a),r=Object(Qf.b)(b)?b.getModel():b,O=Vi(r),ha=yield dh.select(O,r,c);ha&&(e.report(ha),yield p.invokeFunction(xj,ha,b,c,i))})}function xj(a,b,c,e,i){return Rg(this,void 0,void 0,function*(){const p=a.get(Ag.a);let r,O,ha;Object(Qf.b)(c)?(r=c.getModel(),O=new K.b(c,5,void 0,i)):(r=c,O=new K.d(c,i));try{const ja=yield b.provideDocumentFormattingEdits(r,r.getFormattingOptions(),O.token);if(ha=yield p.computeMoreMinimalEdits(r.uri,ja),O.token.isCancellationRequested)return!0}finally{O.dispose()}if(!ha||0===ha.length)return!1;if(Object(Qf.b)(c))ch.execute(c,ha,2!==e),2!==e&&(Oh(ha),c.revealPositionInCenterIfOutsideViewport(c.getPosition(),1));else{const[{range:ja}]=ha,la=new aa.a(ja.startLineNumber,ja.startColumn,ja.endLineNumber,ja.endColumn);r.pushEditOperations([la],ha.map(Wa=>({text:Wa.text,range:pb.a.lift(Wa.range),forceMoveMarkers:!0})),Wa=>{for(const{range:Db}of Wa)if(pb.a.areIntersectingOrTouching(Db,la))return[new aa.a(Db.startLineNumber,Db.startColumn,Db.endLineNumber,Db.endColumn)];return null})}return!0})}function v(a,b,c,e,i){const p=W.t.ordered(b);return 0===p.length||p[0].autoFormatTriggerCharacters.indexOf(e)<0?Promise.resolve(void 0):Promise.resolve(p[0].provideOnTypeFormattingEdits(b,c,e,i,Gd.a.None)).catch(La.f).then(r=>a.computeMoreMinimalEdits(b.uri,r))}dh._selectors=new ri.a(),ya.a.registerCommand("_executeFormatRangeProvider",function(a,...b){const[c,e,i]=b;Object(Zd.b)(xd.a.isUri(c)),Object(Zd.b)(pb.a.isIRange(e));const p=a.get(ia.a).getModel(c);if(!p)throw Object(La.b)("resource");return function(r,O,ha,ja,la){return Rg(this,void 0,void 0,function*(){const Wa=W.j.ordered(O);for(const Db of Wa){let Hb=yield Promise.resolve(Db.provideDocumentRangeFormattingEdits(O,ha,ja,la)).catch(La.f);if(Object(ka.o)(Hb))return yield r.computeMoreMinimalEdits(O.uri,Hb)}})}(a.get(Ag.a),p,pb.a.lift(e),i,Gd.a.None)}),ya.a.registerCommand("_executeFormatDocumentProvider",function(a,...b){const[c,e]=b;Object(Zd.b)(xd.a.isUri(c));const i=a.get(ia.a).getModel(c);if(!i)throw Object(La.b)("resource");return function(p,r,O,ha){return Rg(this,void 0,void 0,function*(){const ja=Vi(r);for(const la of ja){let Wa=yield Promise.resolve(la.provideDocumentFormattingEdits(r,O,ha)).catch(La.f);if(Object(ka.o)(Wa))return yield p.computeMoreMinimalEdits(r.uri,Wa)}})}(a.get(Ag.a),i,e,Gd.a.None)}),ya.a.registerCommand("_executeFormatOnTypeProvider",function(a,...b){const[c,e,i,p]=b;Object(Zd.b)(xd.a.isUri(c)),Object(Zd.b)(Fc.a.isIPosition(e)),Object(Zd.b)("string"==typeof i);const r=a.get(ia.a).getModel(c);if(!r)throw Object(La.b)("resource");return v(a.get(Ag.a),r,Fc.a.lift(e),i,p)});var j=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},m=function(a,b){return function(c,e){b(c,e,a)}},M=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let na=class{constructor(a,b){this._workerService=b,this._callOnDispose=new Nb.b(),this._callOnModel=new Nb.b(),this._editor=a,this._callOnDispose.add(a.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(a.onDidChangeModel(()=>this._update())),this._callOnDispose.add(a.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(W.t.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),!this._editor.getOption(41))return;if(!this._editor.hasModel())return;const a=this._editor.getModel(),[b]=W.t.ordered(a);if(!b||!b.autoFormatTriggerCharacters)return;let c=new Qg.b();for(let e of b.autoFormatTriggerCharacters)c.add(e.charCodeAt(0));this._callOnModel.add(this._editor.onDidType(e=>{let i=e.charCodeAt(e.length-1);c.has(i)&&this._trigger(String.fromCharCode(i))}))}_trigger(a){if(!this._editor.hasModel())return;if(this._editor.getSelections().length>1)return;const b=this._editor.getModel(),c=this._editor.getPosition();let e=!1;const i=this._editor.onDidChangeModelContent(p=>{if(p.isFlush)return e=!0,void i.dispose();for(let r=0,O=p.changes.length;r<O;r++)if(p.changes[r].range.endLineNumber<=c.lineNumber)return e=!0,void i.dispose()});v(this._workerService,b,c,a,b.getFormattingOptions()).then(p=>{i.dispose(),e||Object(ka.o)(p)&&(ch.execute(this._editor,p,!0),Oh(p))},p=>{throw i.dispose(),p})}};na.ID="editor.contrib.autoFormat",na=j([m(1,Ag.a)],na);let Ua=class{constructor(a,b){this.editor=a,this._instantiationService=b,this._callOnDispose=new Nb.b(),this._callOnModel=new Nb.b(),this._callOnDispose.add(a.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(a.onDidChangeModel(()=>this._update())),this._callOnDispose.add(a.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(W.j.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(40)&&this.editor.hasModel()&&W.j.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:a})=>this._trigger(a)))}_trigger(a){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(Ph,this.editor,a,2,yb.b.None,Gd.a.None).catch(La.e))}};Ua.ID="editor.contrib.formatOnPaste",Ua=j([m(1,xa.a)],Ua);class Za extends ba.b{constructor(){super({id:"editor.action.formatDocument",label:$.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:I.a.and(S.a.notInCompositeEditor,S.a.writable,S.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:I.a.and(S.a.editorTextFocus,S.a.hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{when:S.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})}run(a,b){return M(this,void 0,void 0,function*(){if(b.hasModel()){const c=a.get(xa.a),e=a.get(yb.a);yield e.showWhile(c.invokeFunction(wj,b,1,yb.b.None,Gd.a.None),250)}})}}class Kb extends ba.b{constructor(){super({id:"editor.action.formatSelection",label:$.a("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:I.a.and(S.a.writable,S.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:I.a.and(S.a.editorTextFocus,S.a.hasDocumentSelectionFormattingProvider),primary:Object(_.a)(2089,2084),weight:100},contextMenuOpts:{when:I.a.and(S.a.hasDocumentSelectionFormattingProvider,S.a.hasNonEmptySelection),group:"1_modification",order:1.31}})}run(a,b){return M(this,void 0,void 0,function*(){if(!b.hasModel())return;const c=a.get(xa.a),e=b.getModel(),i=b.getSelections().map(r=>r.isEmpty()?new pb.a(r.startLineNumber,1,r.startLineNumber,e.getLineMaxColumn(r.startLineNumber)):r),p=a.get(yb.a);yield p.showWhile(c.invokeFunction(Ph,b,i,1,yb.b.None,Gd.a.None),250)})}}Object(ba.m)(na.ID,na),Object(ba.m)(Ua.ID,Ua),Object(ba.k)(Za),Object(ba.k)(Kb),ya.a.registerCommand("editor.action.format",a=>M(void 0,void 0,void 0,function*(){const b=a.get(Dc.a).getFocusedCodeEditor();if(!b||!b.hasModel())return;const c=a.get(ya.b);b.getSelection().isEmpty()?yield c.executeCommand("editor.action.formatDocument"):yield c.executeCommand("editor.action.formatSelection")}));var Qb=f(122),fc=f(118);class Ib{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(a,b){let c;"string"==typeof a?c=`${b.id}/${a}`:(c=`${b.id}/${a.name}`,void 0!==b.children.get(c)&&(c=`${b.id}/${a.name}_${a.range.startLineNumber}_${a.range.startColumn}`));let e=c;for(let i=0;void 0!==b.children.get(e);i++)e=`${c}_${i}`;return e}static empty(a){return 0===a.children.size}}class Lc extends Ib{constructor(a,b,c){super(),this.id=a,this.parent=b,this.symbol=c,this.children=new Map()}}class id extends Ib{constructor(a,b,c,e){super(),this.id=a,this.parent=b,this.label=c,this.order=e,this.children=new Map()}}class pd extends Ib{constructor(a){super(),this.uri=a,this.id="root",this.parent=void 0,this._groups=new Map(),this.children=new Map(),this.id="root",this.parent=void 0}static create(a,b){let c=this._keys.for(a,!0),e=pd._requests.get(c);if(!e){let i=new Gd.b();e={promiseCnt:0,source:i,promise:pd._create(a,i.token),model:void 0},pd._requests.set(c,e);const p=Date.now();e.promise.then(()=>{let r=this._keys.for(a,!1),O=this._requestDurations.get(r);O||(O=new fc.a(),this._requestDurations.set(r,O)),O.update(Date.now()-p)})}return e.model?Promise.resolve(e.model):(e.promiseCnt+=1,b.onCancellationRequested(()=>{0==--e.promiseCnt&&(e.source.cancel(),pd._requests.delete(c))}),new Promise((i,p)=>{e.promise.then(r=>{e.model=r,i(r)},r=>{pd._requests.delete(c),p(r)})}))}static _create(a,b){const c=new Gd.b(b),e=new pd(a.uri),i=W.m.ordered(a),p=i.map((O,ha)=>{var ja;let la=Ib.findId("provider_"+ha,e),Wa=new id(la,e,null!==(ja=O.displayName)&&void 0!==ja?ja:"Unknown Outline Provider",ha);return Promise.resolve(O.provideDocumentSymbols(a,c.token)).then(Db=>{for(const Hb of Db||[])pd._makeOutlineElement(Hb,Wa);return Wa},Db=>(Object(La.f)(Db),Wa)).then(Db=>{Ib.empty(Db)?Db.remove():e._groups.set(la,Db)})}),r=W.m.onDidChange(()=>{const O=W.m.ordered(a);Object(ka.g)(O,i)||c.cancel()});return Promise.all(p).then(()=>c.token.isCancellationRequested&&!b.isCancellationRequested?pd._create(a,b):e._compact()).finally(()=>{r.dispose()})}static _makeOutlineElement(a,b){let c=Ib.findId(a,b),e=new Lc(c,b,a);if(a.children)for(const i of a.children)pd._makeOutlineElement(i,e);b.children.set(e.id,e)}_compact(){let a=0;for(const[b,c]of this._groups)0===c.children.size?this._groups.delete(b):a+=1;if(1!==a)this.children=this._groups;else{let b=Nh.a.first(this._groups.values());for(let[,c]of b.children)c.parent=this,this.children.set(c.id,c)}return this}}pd._requestDurations=new Fd.a(50,.7),pd._requests=new Fd.a(9,.75),pd._keys=new class{constructor(){this._counter=1,this._data=new WeakMap()}for(a,b){return`${a.id}/${b?a.getVersionId():""}/${this._hash(W.m.all(a))}`}_hash(a){let b="";for(const c of a){let e=this._data.get(c);void 0===e&&(e=this._counter++,this._data.set(c,e)),b+=e}return b}}();var cd=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};function Hd(a,b,c){return cd(this,void 0,void 0,function*(){const e=yield pd.create(a,c),i=[];for(const r of e.children.values())r instanceof Lc?i.push(r.symbol):i.push(...Nh.a.map(r.children.values(),O=>O.symbol));let p=[];return c.isCancellationRequested?p:(b?function r(O,ha,ja){for(let la of ha)O.push({kind:la.kind,tags:la.tags,name:la.name,detail:la.detail,containerName:la.containerName||ja,range:la.range,selectionRange:la.selectionRange,children:void 0}),la.children&&r(O,la.children,la.name)}(p,i,""):p=i,p.sort(Md))})}function Md(a,b){return pb.a.compareRangesUsingStarts(a.range,b.range)}ya.a.registerCommand("_executeDocumentSymbolProvider",function(a,...b){return cd(this,void 0,void 0,function*(){const[c]=b;Object(Zd.b)(xd.a.isUri(c));const e=a.get(ia.a).getModel(c);if(e)return Hd(e,!1,Gd.a.None);const i=yield a.get(Qb.a).createModelReference(c);try{return yield Hd(i.object.textEditorModel,!1,Gd.a.None)}finally{i.dispose()}})}),f(300);var Nd=f(116),Ad=f(46),ke=f(80),re=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ne=function(a,b){return function(c,e){b(c,e,a)}};let we=class extends ua.a{constructor(a,b,c,e,i,p,r,O,ha,ja){super(a,Object.assign(Object.assign({},c.getRawOptions()),{overflowWidgetsDomNode:c.getOverflowWidgetsDomNode()}),{},e,i,p,r,O,ha,ja),this._parentEditor=c,this._overwriteOptions=b,super.updateOptions(this._overwriteOptions),this._register(c.onDidChangeConfiguration(la=>this._onParentConfigurationChanged(la)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(a){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(a){Ad.g(this._overwriteOptions,a,!0),super.updateOptions(this._overwriteOptions)}};we=re([ne(3,xa.a),ne(4,Dc.a),ne(5,ya.b),ne(6,I.b),ne(7,Oa.c),ne(8,Ja.a),ne(9,ke.b)],we),f(302);var se=f(147);const He=new Rd.a(new Rd.c(0,122,204)),pf={showArrow:!0,showFrame:!0,className:"",frameColor:He,arrowColor:He,keepEditorSelection:!1};class kg{constructor(a,b,c,e,i,p){this.id="",this.domNode=a,this.afterLineNumber=b,this.afterColumn=c,this.heightInLines=e,this._onDomNodeTop=i,this._onComputedHeight=p}onDomNodeTop(a){this._onDomNodeTop(a)}onComputedHeight(a){this._onComputedHeight(a)}}class yh{constructor(a,b){this._id=a,this._domNode=b}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class lg{constructor(a){this._editor=a,this._ruleName=lg._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),qa.P(this._ruleName)}set color(a){this._color!==a&&(this._color=a,this._updateStyle())}set height(a){this._height!==a&&(this._height=a,this._updateStyle())}_updateStyle(){qa.P(this._ruleName),qa.u(".monaco-editor "+this._ruleName,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(a){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:pb.a.fromPositions(a),options:{className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}lg._IdGenerator=new se.a(".arrow-decoration-");var Ye=f(44),eh=(f(199),f(67));class Wi extends mb.b{constructor(a,b){super(),this._onDidChangeVisibility=new jb.a(),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Object(qa.p)(a,Object(qa.a)(".monaco-dropdown")),this._label=Object(qa.p)(this._element,Object(qa.a)(".dropdown-label"));let c=b.labelRenderer;c||(c=i=>(i.textContent=b.label||"",null));for(const i of[qa.c.CLICK,qa.c.MOUSE_DOWN,Sb.a.Tap])this._register(Object(qa.i)(this.element,i,p=>qa.b.stop(p,!0)));for(const i of[qa.c.MOUSE_DOWN,Sb.a.Tap])this._register(Object(qa.i)(this._label,i,p=>{p instanceof MouseEvent&&p.detail>1||(this.visible?this.hide():this.show())}));this._register(Object(qa.i)(this._label,qa.c.KEY_UP,i=>{const p=new eh.a(i);(p.equals(3)||p.equals(10))&&(qa.b.stop(i,!0),this.visible?this.hide():this.show())}));const e=c(this._label);e&&this._register(e),this._register(Sb.b.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class Sg extends Wi{constructor(a,b){super(a,b),this._actions=[],this._contextMenuProvider=b.contextMenuProvider,this.actions=b.actions||[],this.actionProvider=b.actionProvider,this.menuClassName=b.menuClassName||"",this.menuAsChild=!!b.menuAsChild}set menuOptions(a){this._menuOptions=a}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(a){this._actions=a}show(){super.show(),Object(qa.e)(this.element,"active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:a=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(a):void 0,getKeyBinding:a=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(a):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),Object(qa.Q)(this.element,"active")}}class Cf extends lf.b{constructor(a,b,c,e={}){super(null,a,e),this.options=e,this._onDidChangeVisibility=this._register(new jb.a()),this.menuActionsOrProvider=b,this.contextMenuProvider=c,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(a){const b={contextMenuProvider:this.contextMenuProvider,labelRenderer:c=>{this.element=Object(qa.p)(c,Object(qa.a)("a.action-label"));const e=this.options.classNames?Object(ka.b)(this.options.classNames):[];return e.find(i=>"icon"===i)||e.push("codicon"),Object(qa.f)(this.element,...e),this.element.tabIndex=0,this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild};if(Array.isArray(this.menuActionsOrProvider)?b.actions=this.menuActionsOrProvider:b.actionProvider=this.menuActionsOrProvider,this.dropdownMenu=this._register(new Sg(a,b)),this._register(this.dropdownMenu.onDidChangeVisibility(c=>{var e;null===(e=this.element)||void 0===e||e.setAttribute("aria-expanded",""+c),this._onDidChangeVisibility.fire(c)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const c=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return c.options.anchorAlignmentProvider()}})}}setActionContext(a){super.setActionContext(a),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=a:this.dropdownMenu.menuOptions={context:a})}}var Qh=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},zh=function(a,b){return function(c,e){b(c,e,a)}};class Ah extends jb.a{constructor(a){super(),this._subscriptions=new Nb.b(),this._isPressed=!1,this._suppressAltKeyUp=!1,this._subscriptions.add(Object(Ye.a)(document.body,"keydown")(b=>{this.isPressed=b.altKey||(zb.i||zb.d)&&b.shiftKey})),this._subscriptions.add(Object(Ye.a)(document.body,"keyup")(b=>{this.isPressed&&this._suppressAltKeyUp&&b.preventDefault(),this._suppressAltKeyUp=!1,this.isPressed=!1})),this._subscriptions.add(Object(Ye.a)(document.body,"mouseleave")(b=>this.isPressed=!1)),this._subscriptions.add(Object(Ye.a)(document.body,"blur")(b=>this.isPressed=!1)),this._subscriptions.add(a.onDidContextMenu(()=>this.isPressed=!1))}get isPressed(){return this._isPressed}set isPressed(a){this._isPressed=a,this.fire(this._isPressed)}suppressAltKeyUp(){this._suppressAltKeyUp=!0}static getInstance(a){return Ah.instance||(Ah.instance=new Ah(a)),Ah.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function fh(a,b,c,e){const i=a.getActions(b);return function(p,r,O,ha=ja=>"navigation"===ja){for(let ja of p){let[la,Wa]=ja;if(O&&(Wa=Wa.map(Db=>Db instanceof Qa.c&&Db.alt?Db.alt:Db)),ha(la))(Array.isArray(r)?r:r.primary).unshift(...Wa);else{const Db=Array.isArray(r)?r:r.secondary;Db.length>0&&Db.push(new mb.c()),Db.push(...Wa)}}}(i,c,!1,e),function(p){const r=new Nb.b();for(const[,O]of p)for(const ha of O)r.add(ha);return r}(i)}const si=new se.a("menu-item-action-item-icon-"),Bg=new Map();let Bh=class extends lf.a{constructor(a,b,c,e){super(void 0,a,{icon:!(!a.class&&!a.item.icon),label:!a.class&&!a.item.icon}),this._action=a,this._keybindingService=b,this._notificationService=c,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new Nb.d()),this._altKey=Ah.getInstance(e)}get _commandAction(){return this._wantsAltCommand&&this._action.alt||this._action}onClick(a){a.preventDefault(),a.stopPropagation(),this._altKey.isPressed&&this._altKey.suppressAltKeyUp(),this.actionRunner.run(this._commandAction,this._context).then(void 0,b=>this._notificationService.error(b))}render(a){super.render(a),this._updateItemClass(this._action.item);let b=!1,c=this._altKey.isPressed;const e=()=>{const i=b&&c;i!==this._wantsAltCommand&&(this._wantsAltCommand=i,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._action.alt&&this._register(this._altKey.event(i=>{c=i,e()})),this._register(Object(Ye.a)(a,"mouseleave")(i=>{b=!1,e()})),this._register(Object(Ye.a)(a,"mouseenter")(i=>{b=!0,e()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const a=this._keybindingService.lookupKeybinding(this._commandAction.id),b=a&&a.getLabel(),c=this._commandAction.tooltip||this._commandAction.label;this.label.title=b?Object($.a)("titleAndKb","{0} ({1})",c,b):c}}updateClass(){this.options.icon&&(this._commandAction!==this._action?this._action.alt&&this._updateItemClass(this._action.alt.item):this._action.alt&&this._updateItemClass(this._action.item))}_updateItemClass(a){var b,c;this._itemClassDispose.value=void 0;const e=this._commandAction.checked&&(null===(b=a.toggled)||void 0===b?void 0:b.icon)?a.toggled.icon:a.icon;if(Oa.e.isThemeIcon(e)){const i=Oa.e.asClassName(e);this.label&&i&&(Object(qa.f)(this.label,i),this._itemClassDispose.value=Object(Nb.h)(()=>{this.label&&Object(qa.R)(this.label,i)}))}else if(e){let i;if(null===(c=e.dark)||void 0===c?void 0:c.scheme){const p=e.dark.toString();Bg.has(p)?i=Bg.get(p):(i=si.nextId(),Object(qa.u)(".icon."+i,"background-image: "+Object(qa.q)(e.light||e.dark)),Object(qa.u)(`.vs-dark .icon.${i}, .hc-black .icon.${i}`,"background-image: "+Object(qa.q)(e.dark)),Bg.set(p,i)),this.label&&(Object(qa.f)(this.label,"icon",i),this._itemClassDispose.value=Object(Nb.h)(()=>{this.label&&Object(qa.R)(this.label,"icon",i)}))}}}};Bh=Qh([zh(1,Rb.a),zh(2,Ja.a),zh(3,ub.a)],Bh);let Rh=class extends Cf{constructor(a,b,c){var e;const i=[];if(a.item.icon){if(Oa.e.isThemeIcon(a.item.icon))i.push(Oa.e.asClassName(a.item.icon));else if(null===(e=a.item.icon.dark)||void 0===e?void 0:e.scheme){const p=a.item.icon.dark.toString();if(Bg.has(p))i.push("icon",Bg.get(p));else{const r=si.nextId();i.push("icon",r),Object(qa.u)(".icon."+r,"background-image: "+Object(qa.q)(a.item.icon.light||a.item.icon.dark)),Object(qa.u)(`.vs-dark .icon.${r}, .hc-black .icon.${r}`,"background-image: "+Object(qa.q)(a.item.icon.dark)),Bg.set(p,r)}}}super(a,a.actions,c,{classNames:i})}};Rh=Qh([zh(1,Ja.a),zh(2,ub.a)],Rh);var Xi=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ti=function(a,b){return function(c,e){b(c,e,a)}};const Sh=Object(xa.c)("IPeekViewService");var Ue,Th;Object(Cd.b)(Sh,class{constructor(){this._widgets=new Map()}addExclusiveWidget(a,b){const c=this._widgets.get(a);c&&(c.listener.dispose(),c.widget.dispose()),this._widgets.set(a,{widget:b,listener:b.onDidClose(()=>{const e=this._widgets.get(a);e&&e.widget===b&&(e.listener.dispose(),this._widgets.delete(a))})})}}),(Th=Ue||(Ue={})).inPeekEditor=new I.c("inReferenceSearchEditor",!0),Th.notInPeekEditor=Th.inPeekEditor.toNegated();let gh=class{constructor(a,b){a instanceof we&&Ue.inPeekEditor.bindTo(b)}dispose(){}};gh.ID="editor.contrib.referenceController",gh=Xi([ti(1,I.b)],gh),Object(ba.m)(gh.ID,gh);const ui={headerBackgroundColor:Rd.a.white,primaryHeadingColor:Rd.a.fromHex("#333333"),secondaryHeadingColor:Rd.a.fromHex("#6c6c6cb3")};let Uh=class extends class{constructor(a,b={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new Nb.b(),this.container=null,this._isShowing=!1,this.editor=a,this.options=Ad.c(b),Ad.g(this.options,pf,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(c=>{const e=this._getWidth(c);this.domNode.style.width=e+"px",this.domNode.style.left=this._getLeft(c)+"px",this._onWidth(e)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(a=>{this._viewZone&&a.removeZone(this._viewZone.id),this._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new lg(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(a){a.frameColor&&(this.options.frameColor=a.frameColor),a.arrowColor&&(this.options.arrowColor=a.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let a=this.options.frameColor.toString();this.container.style.borderTopColor=a,this.container.style.borderBottomColor=a}if(this._arrow&&this.options.arrowColor){let a=this.options.arrowColor.toString();this._arrow.color=a}}_getWidth(a){return a.width-a.minimap.minimapWidth-a.verticalScrollbarWidth}_getLeft(a){return a.minimap.minimapWidth>0&&0===a.minimap.minimapLeft?a.minimap.minimapWidth:0}_onViewZoneTop(a){this.domNode.style.top=a+"px"}_onViewZoneHeight(a){if(this.domNode.style.height=a+"px",this.container){let b=a-this._decoratingElementsHeight();this.container.style.height=b+"px";const c=this.editor.getLayoutInfo();this._doLayout(b,this._getWidth(c))}this._resizeSash&&this._resizeSash.layout()}get position(){const[a]=this._positionMarkerId;if(!a)return;const b=this.editor.getModel();if(!b)return;const c=b.getDecorationRange(a);return c?c.getStartPosition():void 0}show(a,b){const c=pb.a.isIRange(a)?pb.a.lift(a):pb.a.fromPositions(a);this._isShowing=!0,this._showImpl(c,b),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:c,options:Eb.a.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones(a=>{this._viewZone&&a.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let a=this.editor.getOption(51),b=0;return this.options.showArrow&&(b+=2*Math.round(a/3)),this.options.showFrame&&(b+=2*Math.round(a/9)),b}_showImpl(a,b){const c=a.getStartPosition(),e=this.editor.getLayoutInfo(),i=this._getWidth(e);this.domNode.style.width=i+"px",this.domNode.style.left=this._getLeft(e)+"px";const p=document.createElement("div");p.style.overflow="hidden";const r=this.editor.getOption(51),O=Math.max(12,this.editor.getLayoutInfo().height/r*.8);b=Math.min(b,O);let ha=0,ja=0;if(this._arrow&&this.options.showArrow&&(ha=Math.round(r/3),this._arrow.height=ha,this._arrow.show(c)),this.options.showFrame&&(ja=Math.round(r/9)),this.editor.changeViewZones(Db=>{this._viewZone&&Db.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new kg(p,c.lineNumber,c.column,b,Hb=>this._onViewZoneTop(Hb),Hb=>this._onViewZoneHeight(Hb)),this._viewZone.id=Db.addZone(this._viewZone),this._overlayWidget=new yh("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const Db=this.options.frameWidth?this.options.frameWidth:ja;this.container.style.borderTopWidth=Db+"px",this.container.style.borderBottomWidth=Db+"px"}let la=b*r-this._decoratingElementsHeight();this.container&&(this.container.style.top=ha+"px",this.container.style.height=la+"px",this.container.style.overflow="hidden"),this._doLayout(la,i),this.options.keepEditorSelection||this.editor.setSelection(a);const Wa=this.editor.getModel();if(Wa){const Db=a.endLineNumber+1;Db<=Wa.getLineCount()?this.revealLine(Db,!1):this.revealLine(Wa.getLineCount(),!0)}}revealLine(a,b){b?this.editor.revealLineInCenter(a,0):this.editor.revealLine(a,0)}setCssClass(a,b){this.container&&(b&&this.container.classList.remove(b),qa.e(this.container,a))}_onWidth(a){}_doLayout(a,b){}_relayout(a){this._viewZone&&this._viewZone.heightInLines!==a&&this.editor.changeViewZones(b=>{this._viewZone&&(this._viewZone.heightInLines=a,b.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;let a;this._resizeSash=this._disposables.add(new Zg.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(b=>{this._viewZone&&(a={startY:b.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{a=void 0})),this._disposables.add(this._resizeSash.onDidChange(b=>{if(a){let c=(b.currentY-a.startY)/this.editor.getOption(51),e=c<0?Math.ceil(c):Math.floor(c),i=a.heightInLines+e;i>5&&i<35&&this._relayout(i)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const a=this.editor.getLayoutInfo();return a.width-a.minimap.minimapWidth}}{constructor(a,b,c){super(a,b),this.instantiationService=c,this._onDidClose=new jb.a(),this.onDidClose=this._onDidClose.event,Ad.g(this.options,ui,!1)}dispose(){super.dispose(),this._onDidClose.fire(this)}style(a){let b=this.options;a.headerBackgroundColor&&(b.headerBackgroundColor=a.headerBackgroundColor),a.primaryHeadingColor&&(b.primaryHeadingColor=a.primaryHeadingColor),a.secondaryHeadingColor&&(b.secondaryHeadingColor=a.secondaryHeadingColor),super.style(a)}_applyStyles(){super._applyStyles();let a=this.options;this._headElement&&a.headerBackgroundColor&&(this._headElement.style.backgroundColor=a.headerBackgroundColor.toString()),this._primaryHeading&&a.primaryHeadingColor&&(this._primaryHeading.style.color=a.primaryHeadingColor.toString()),this._secondaryHeading&&a.secondaryHeadingColor&&(this._secondaryHeading.style.color=a.secondaryHeadingColor.toString()),this._bodyElement&&a.frameColor&&(this._bodyElement.style.borderColor=a.frameColor.toString())}_fillContainer(a){this.setCssClass("peekview-widget"),this._headElement=qa.a(".head"),this._bodyElement=qa.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),a.appendChild(this._headElement),a.appendChild(this._bodyElement)}_fillHead(a,b){const c=qa.a(".peekview-title");qa.p(this._headElement,c),qa.n(c,"click",p=>this._onTitleClick(p)),this._fillTitleIcon(c),this._primaryHeading=qa.a("span.filename"),this._secondaryHeading=qa.a("span.dirname"),this._metaHeading=qa.a("span.meta"),qa.p(c,this._primaryHeading,this._secondaryHeading,this._metaHeading);const e=qa.a(".peekview-actions");qa.p(this._headElement,e);const i=this._getActionBarOptions();this._actionbarWidget=new Nd.a(e,i),this._disposables.add(this._actionbarWidget),b||this._actionbarWidget.push(new mb.a("peekview.close",$.a("label.close","Close"),va.a.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(a){}_getActionBarOptions(){return{actionViewItemProvider:a=>a instanceof Qa.c?this.instantiationService.createInstance(Bh,a):a instanceof Qa.e?this.instantiationService.createInstance(Rh,a):void 0}}_onTitleClick(a){}setTitle(a,b){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=a,this._primaryHeading.setAttribute("aria-label",a),b?this._secondaryHeading.innerText=b:qa.s(this._secondaryHeading))}setMetaTitle(a){this._metaHeading&&(a?(this._metaHeading.innerText=a,qa.Z(this._metaHeading)):qa.K(this._metaHeading))}_doLayout(a,b){if(!this._isShowing&&a<0)return void this.dispose();const c=Math.ceil(1.2*this.editor.getOption(51)),e=Math.round(a-(c+2));this._doLayoutHead(c,b),this._doLayoutBody(e,b)}_doLayoutHead(a,b){this._headElement&&(this._headElement.style.height=a+"px",this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(a,b){this._bodyElement&&(this._bodyElement.style.height=a+"px")}};Uh=Xi([ti(2,xa.a)],Uh);const qf=Object(Va.gc)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},$.a("peekViewTitleBackground","Background color of the peek view title area.")),Le=Object(Va.gc)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},$.a("peekViewTitleForeground","Color of the peek view title.")),vi=Object(Va.gc)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},$.a("peekViewTitleInfoForeground","Color of the peek view title info.")),Df=Object(Va.gc)("peekView.border",{dark:"#007acc",light:"#007acc",hc:Va.h},$.a("peekViewBorder","Color of the peek view borders and arrow.")),mg=Object(Va.gc)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:Rd.a.black},$.a("peekViewResultsBackground","Background color of the peek view result list.")),Cg=Object(Va.gc)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:Rd.a.white},$.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),wk=Object(Va.gc)("peekViewResult.fileForeground",{dark:Rd.a.white,light:"#1E1E1E",hc:Rd.a.white},$.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),xk=Object(Va.gc)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},$.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),yk=Object(Va.gc)("peekViewResult.selectionForeground",{dark:Rd.a.white,light:"#6C6C6C",hc:Rd.a.white},$.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),Yi=Object(Va.gc)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:Rd.a.black},$.a("peekViewEditorBackground","Background color of the peek view editor.")),zk=Object(Va.gc)("peekViewEditorGutter.background",{dark:Yi,light:Yi,hc:Yi},$.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),Ak=Object(Va.gc)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},$.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),Bk=Object(Va.gc)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},$.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),Ck=Object(Va.gc)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:Va.b},$.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));var Dk=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class hh{constructor(a,b,c,e,i){this.isProviderFirst=a,this.parent=b,this.uri=c,this._range=e,this._rangeCallback=i,this.id=se.b.nextId()}get range(){return this._range}set range(a){this._range=a,this._rangeCallback(this)}get ariaMessage(){return Object($.a)("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(Pa.b)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class h{constructor(a){this._modelReference=a}dispose(){this._modelReference.dispose()}preview(a,b=8){const c=this._modelReference.object.textEditorModel;if(!c)return;const{startLineNumber:e,startColumn:i,endLineNumber:p,endColumn:r}=a,O=c.getWordUntilPosition({lineNumber:e,column:i-b}),ha=new pb.a(e,O.startColumn,e,i),ja=new pb.a(p,r,p,1073741824),la=c.getValueInRange(ha).replace(/^\s+/,""),Wa=c.getValueInRange(a);return{value:la+Wa+c.getValueInRange(ja).replace(/\s+$/,""),highlight:{start:la.length,end:la.length+Wa.length}}}}class n{constructor(a,b){this.parent=a,this.uri=b,this.children=[],this._previews=new Fd.b()}dispose(){Object(Nb.f)(this._previews.values()),this._previews.clear()}getPreview(a){return this._previews.get(a.uri)}get ariaMessage(){const a=this.children.length;return 1===a?Object($.a)("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(Pa.b)(this.uri),this.uri.fsPath):Object($.a)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",a,Object(Pa.b)(this.uri),this.uri.fsPath)}resolve(a){return Dk(this,void 0,void 0,function*(){if(0!==this._previews.size)return this;for(let b of this.children)if(!this._previews.has(b.uri))try{const c=yield a.createModelReference(b.uri);this._previews.set(b.uri,new h(c))}catch(c){Object(La.e)(c)}return this})}}class E{constructor(a,b){this._disposables=new Nb.b(),this.groups=[],this.references=[],this._onDidChangeReferenceRange=new jb.a(),this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=a,this._title=b;const[c]=a;let e;a.sort(E._compareReferences);for(let i of a)if(e&&Pa.e.isEqual(e.uri,i.uri,!0)||(e=new n(this,i.uri),this.groups.push(e)),0===e.children.length||0!==E._compareReferences(i,e.children[e.children.length-1])){const p=new hh(c===i,e,i.uri,i.targetSelectionRange||i.range,r=>this._onDidChangeReferenceRange.fire(r));this.references.push(p),e.children.push(p)}}dispose(){Object(Nb.f)(this.groups),this._disposables.dispose(),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new E(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?Object($.a)("aria.result.0","No results found"):1===this.references.length?Object($.a)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?Object($.a)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object($.a)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(a,b){let{parent:c}=a,e=c.children.indexOf(a),i=c.children.length,p=c.parent.groups.length;return 1===p||b&&e+1<i||!b&&e>0?(e=b?(e+1)%i:(e+i-1)%i,c.children[e]):(e=c.parent.groups.indexOf(c),b?(e=(e+1)%p,c.parent.groups[e].children[0]):(e=(e+p-1)%p,c.parent.groups[e].children[c.parent.groups[e].children.length-1]))}nearestReference(a,b){const c=this.references.map((e,i)=>({idx:i,prefixLen:jd.d(e.uri.toString(),a.toString()),offsetDist:100*Math.abs(e.range.startLineNumber-b.lineNumber)+Math.abs(e.range.startColumn-b.column)})).sort((e,i)=>e.prefixLen>i.prefixLen?-1:e.prefixLen<i.prefixLen?1:e.offsetDist<i.offsetDist?-1:e.offsetDist>i.offsetDist?1:0)[0];if(c)return this.references[c.idx]}referenceAt(a,b){for(const c of this.references)if(c.uri.toString()===a.toString()&&pb.a.containsPosition(c.range,b))return c}firstReference(){for(const a of this.references)if(a.isProviderFirst)return a;return this.references[0]}static _compareReferences(a,b){return Pa.e.compare(a.uri,b.uri)||pb.a.compareRangesUsingStarts(a.range,b.range)}}f(305);var ca=f(45),Ca=f(172),Ma=f(185),Ea=f(159),eb=f(93),Cb=f(42);function bc(a,b,c){if("string"==typeof a&&(a=xd.a.file(a)),c){const i=c.getWorkspaceFolder(a);if(i){const p=c.getWorkspace().folders.length>1;let r;if(r=Object(Pa.f)(i.uri,a)?"":Object(Pa.j)(i.uri,a),p){const O=i.name?i.name:Object(Pa.b)(i.uri);r=r?O+" • "+r:O}return r}}if(a.scheme!==ca.b.file&&a.scheme!==ca.b.untitled)return a.with({query:null,fragment:null}).toString(!0);if(Mc(a.fsPath))return Object(Cb.d)(ed(a.fsPath));let e=Object(Cb.d)(a.fsPath);return!zb.i&&(null==b?void 0:b.userHome)&&(e=function(i,p){if(zb.i||!i||!p)return i;let r=td.original===p?td.normalized:void 0;return r||(r=`${Object(jd.Q)(p,Cb.e.sep)}${Cb.e.sep}`,td={original:p,normalized:r}),(zb.d?i.startsWith(r):Object(jd.T)(i,r))&&(i="~/"+i.substr(r.length)),i}(e,b.userHome.fsPath)),e}function ic(a){if(!a)return;"string"==typeof a&&(a=xd.a.file(a));const b=Object(Pa.b)(a)||(a.scheme===ca.b.file?a.fsPath:a.path);return Mc(b)?ed(b):b}function Mc(a){return!(!zb.i||!a||":"!==a[1])}function ed(a){return Mc(a)?a.charAt(0).toUpperCase()+a.slice(1):a}let td=Object.create(null);var Bd=f(71),$d=f(156),ae=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ge=function(a,b){return function(c,e){b(c,e,a)}};let Ud=class{constructor(a){this._resolverService=a}hasChildren(a){return a instanceof E||a instanceof n}getChildren(a){if(a instanceof E)return a.groups;if(a instanceof n)return a.resolve(this._resolverService).then(b=>b.children);throw new Error("bad tree")}};Ud=ae([ge(0,Qb.a)],Ud);class Se{getHeight(){return 23}getTemplateId(a){return a instanceof n?he.id:Ke.id}}let Tg=class{constructor(a){this._keybindingService=a}getKeyboardNavigationLabel(a){var b;if(a instanceof hh){const c=null===(b=a.parent.getPreview(a))||void 0===b?void 0:b.preview(a.range);if(c)return c.value}return Object(Pa.b)(a.uri)}};Tg=ae([ge(0,Rb.a)],Tg);class Ze{getId(a){return a instanceof hh?a.id:a.uri}}let Rf=class extends Nb.a{constructor(a,b,c){super(),this._uriLabel=b;const e=document.createElement("div");e.classList.add("reference-file"),this.file=this._register(new Ca.a(e,{supportHighlights:!0})),this.badge=new Ma.a(qa.p(e,qa.a(".count"))),this._register(Object(eb.a)(this.badge,c)),a.appendChild(e)}set(a,b){let c=Object(Pa.d)(a.uri);this.file.setLabel(ic(a.uri),this._uriLabel.getUriLabel(c,{relative:!0}),{title:this._uriLabel.getUriLabel(a.uri),matches:b});const e=a.children.length;this.badge.setCount(e),e>1?this.badge.setTitleFormat(Object($.a)("referencesCount","{0} references",e)):this.badge.setTitleFormat(Object($.a)("referenceCount","{0} reference",e))}};Rf=ae([ge(1,Ea.a),ge(2,Oa.c)],Rf);let he=class a{constructor(b){this._instantiationService=b,this.templateId=a.id}renderTemplate(b){return this._instantiationService.createInstance(Rf,b)}renderElement(b,c,e){e.set(b.element,Object(Bd.c)(b.filterData))}disposeTemplate(b){b.dispose()}};he.id="FileReferencesRenderer",he=ae([ge(0,xa.a)],he);class Xd{constructor(a){this.label=new $d.a(a,!1)}set(a,b){var c;const e=null===(c=a.parent.getPreview(a))||void 0===c?void 0:c.preview(a.range);if(e&&e.value){const{value:i,highlight:p}=e;b&&!Bd.a.isDefault(b)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(i,Object(Bd.c)(b))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(i,[p]))}else this.label.set(`${Object(Pa.b)(a.uri)}:${a.range.startLineNumber+1}:${a.range.startColumn+1}`)}}class Ke{constructor(){this.templateId=Ke.id}renderTemplate(a){return new Xd(a)}renderElement(a,b,c){c.set(a.element,a.filterData)}disposeTemplate(){}}Ke.id="OneReferenceRenderer";class Vh{getWidgetAriaLabel(){return Object($.a)("treeAriaLabel","References")}getAriaLabel(a){return a.ariaMessage}}var ng=f(136);f(307);const Hn={separatorBorder:Rd.a.transparent};class Hl{constructor(a,b,c,e){this.container=a,this.view=b,this.disposable=e,this._cachedVisibleSize=void 0,"number"==typeof c?(this._size=c,this._cachedVisibleSize=void 0,qa.e(a,"visible")):(this._size=0,this._cachedVisibleSize=c.cachedVisibleSize)}set size(a){this._size=a}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(a,b){a!==this.visible&&(a?(this.size=Object(fc.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof b?b:this.size,this.size=0),qa.ab(this.container,"visible",a),this.view.setVisible&&this.view.setVisible(a))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(a){this.container.style.pointerEvents=a?"":"none"}layout(a,b){this.layoutContainer(a),this.view.layout(this.size,a,b)}dispose(){return this.disposable.dispose(),this.view}}class In extends Hl{layoutContainer(a){this.container.style.top=a+"px",this.container.style.height=this.size+"px"}}class Jn extends Hl{layoutContainer(a){this.container.style.left=a+"px",this.container.style.width=this.size+"px"}}var Ch,Vj;!function(a){a[a.Idle=0]="Idle",a[a.Busy=1]="Busy"}(Ch||(Ch={})),function(a){a.Distribute={type:"distribute"},a.Split=function(b){return{type:"split",index:b}},a.Invisible=function(b){return{type:"invisible",cachedVisibleSize:b}}}(Vj||(Vj={}));class Kn extends Nb.a{constructor(a,b={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=Ch.Idle,this._onDidSashChange=this._register(new jb.a()),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new jb.a()),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=Zd.k(b.orientation)?0:b.orientation,this.inverseAltBehavior=!!b.inverseAltBehavior,this.proportionalLayout=!!Zd.k(b.proportionalLayout)||!!b.proportionalLayout,this.el=document.createElement("div"),qa.e(this.el,"monaco-split-view2"),qa.e(this.el,0===this.orientation?"vertical":"horizontal"),a.appendChild(this.el),this.sashContainer=qa.p(this.el,qa.a(".sash-container")),this.viewContainer=qa.p(this.el,qa.a(".split-view-container")),this.style(b.styles||Hn),b.descriptor&&(this.size=b.descriptor.size,b.descriptor.views.forEach((c,e)=>{const i=Zd.k(c.visible)||c.visible?c.size:{type:"invisible",cachedVisibleSize:c.size},p=c.view;this.doAddView(p,i,e,!0)}),this.contentSize=this.viewItems.reduce((c,e)=>c+e.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(a){for(const b of this.sashItems)b.sash.orthogonalStartSash=a;this._orthogonalStartSash=a}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(a){for(const b of this.sashItems)b.sash.orthogonalEndSash=a;this._orthogonalEndSash=a}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(a){this._startSnappingEnabled!==a&&(this._startSnappingEnabled=a,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(a){this._endSnappingEnabled!==a&&(this._endSnappingEnabled=a,this.updateSashEnablement())}style(a){a.separatorBorder.isTransparent()?(qa.Q(this.el,"separator-border"),this.el.style.removeProperty("--separator-border")):(qa.e(this.el,"separator-border"),this.el.style.setProperty("--separator-border",a.separatorBorder.toString()))}addView(a,b,c=this.viewItems.length,e){this.doAddView(a,b,c,e)}layout(a,b){const c=Math.max(this.size,this.contentSize);if(this.size=a,this.layoutContext=b,this.proportions)for(let e=0;e<this.viewItems.length;e++){const i=this.viewItems[e];i.size=Object(fc.b)(Math.round(this.proportions[e]*a),i.minimumSize,i.maximumSize)}else{const e=Object(ka.s)(this.viewItems.length),i=e.filter(r=>1===this.viewItems[r].priority),p=e.filter(r=>2===this.viewItems[r].priority);this.resize(this.viewItems.length-1,a-c,void 0,i,p)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(a=>a.size/this.contentSize))}onSashStart({sash:a,start:b,alt:c}){for(const r of this.viewItems)r.enabled=!1;const e=Object(ka.j)(this.sashItems,r=>r.sash===a),i=Object(Nb.e)(Object(Ye.a)(document.body,"keydown")(r=>p(this.sashDragState.current,r.altKey)),Object(Ye.a)(document.body,"keyup")(()=>p(this.sashDragState.current,!1))),p=(r,O)=>{const ha=this.viewItems.map(Hb=>Hb.size);let ja,la,Wa=Number.NEGATIVE_INFINITY,Db=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(O=!O),O)if(e===this.sashItems.length-1){const Hb=this.viewItems[e];Wa=(Hb.minimumSize-Hb.size)/2,Db=(Hb.maximumSize-Hb.size)/2}else{const Hb=this.viewItems[e+1];Wa=(Hb.size-Hb.maximumSize)/2,Db=(Hb.size-Hb.minimumSize)/2}if(!O){const Hb=Object(ka.s)(e,-1),Pb=Object(ka.s)(e+1,this.viewItems.length),lc=Hb.reduce((kd,vd)=>kd+(this.viewItems[vd].minimumSize-ha[vd]),0),Ac=Hb.reduce((kd,vd)=>kd+(this.viewItems[vd].viewMaximumSize-ha[vd]),0),Tc=0===Pb.length?Number.POSITIVE_INFINITY:Pb.reduce((kd,vd)=>kd+(ha[vd]-this.viewItems[vd].minimumSize),0),$c=0===Pb.length?Number.NEGATIVE_INFINITY:Pb.reduce((kd,vd)=>kd+(ha[vd]-this.viewItems[vd].viewMaximumSize),0),Uc=Math.max(lc,$c),dd=Math.min(Tc,Ac),Jd=this.findFirstSnapIndex(Hb),Sc=this.findFirstSnapIndex(Pb);if("number"==typeof Jd){const kd=this.viewItems[Jd],vd=Math.floor(kd.viewMinimumSize/2);ja={index:Jd,limitDelta:kd.visible?Uc-vd:Uc+vd,size:kd.size}}if("number"==typeof Sc){const kd=this.viewItems[Sc],vd=Math.floor(kd.viewMinimumSize/2);la={index:Sc,limitDelta:kd.visible?dd+vd:dd-vd,size:kd.size}}}this.sashDragState={start:r,current:r,index:e,sizes:ha,minDelta:Wa,maxDelta:Db,alt:O,snapBefore:ja,snapAfter:la,disposable:i}};p(b,c)}onSashChange({current:a}){const{index:b,start:c,sizes:e,alt:i,minDelta:p,maxDelta:r,snapBefore:O,snapAfter:ha}=this.sashDragState;this.sashDragState.current=a;const ja=a-c,la=this.resize(b,ja,e,void 0,void 0,p,r,O,ha);if(i){const Wa=b===this.sashItems.length-1,Db=this.viewItems.map($c=>$c.size),Hb=Wa?b:b+1,Pb=this.viewItems[Hb],lc=Pb.size-Pb.maximumSize,Ac=Pb.size-Pb.minimumSize,Tc=Wa?b-1:b+1;this.resize(Tc,-la,Db,void 0,void 0,lc,Ac)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(a){this._onDidSashChange.fire(a),this.sashDragState.disposable.dispose(),this.saveProportions();for(const b of this.viewItems)b.enabled=!0}onViewChange(a,b){const c=this.viewItems.indexOf(a);c<0||c>=this.viewItems.length||(b="number"==typeof b?b:a.size,b=Object(fc.b)(b,a.minimumSize,a.maximumSize),this.inverseAltBehavior&&c>0?(this.resize(c-1,Math.floor((a.size-b)/2)),this.distributeEmptySpace(),this.layoutViews()):(a.size=b,this.relayout([c],void 0)))}resizeView(a,b){if(this.state!==Ch.Idle)throw new Error("Cant modify splitview");if(this.state=Ch.Busy,a<0||a>=this.viewItems.length)return;const c=Object(ka.s)(this.viewItems.length).filter(r=>r!==a),e=[...c.filter(r=>1===this.viewItems[r].priority),a],i=c.filter(r=>2===this.viewItems[r].priority),p=this.viewItems[a];b=Math.round(b),b=Object(fc.b)(b,p.minimumSize,Math.min(p.maximumSize,this.size)),p.size=b,this.relayout(e,i),this.state=Ch.Idle}distributeViewSizes(){const a=[];let b=0;for(const r of this.viewItems)r.maximumSize-r.minimumSize>0&&(a.push(r),b+=r.size);const c=Math.floor(b/a.length);for(const r of a)r.size=Object(fc.b)(c,r.minimumSize,r.maximumSize);const e=Object(ka.s)(this.viewItems.length),i=e.filter(r=>1===this.viewItems[r].priority),p=e.filter(r=>2===this.viewItems[r].priority);this.relayout(i,p)}getViewSize(a){return a<0||a>=this.viewItems.length?-1:this.viewItems[a].size}doAddView(a,b,c=this.viewItems.length,e){if(this.state!==Ch.Idle)throw new Error("Cant modify splitview");this.state=Ch.Busy;const i=qa.a(".split-view-view");c===this.viewItems.length?this.viewContainer.appendChild(i):this.viewContainer.insertBefore(i,this.viewContainer.children.item(c));const p=a.onDidChange(Wa=>this.onViewChange(ja,Wa)),r=Object(Nb.h)(()=>this.viewContainer.removeChild(i)),O=Object(Nb.e)(p,r);let ha;ha="number"==typeof b?b:"split"===b.type?this.getViewSize(b.index)/2:"invisible"===b.type?{cachedVisibleSize:b.cachedVisibleSize}:a.minimumSize;const ja=0===this.orientation?new In(i,a,ha,O):new Jn(i,a,ha,O);if(this.viewItems.splice(c,0,ja),this.viewItems.length>1){const Wa=0===this.orientation?new Zg.a(this.sashContainer,{getHorizontalSashTop:Uc=>this.getSashPosition(Uc)},{orientation:1,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}):new Zg.a(this.sashContainer,{getVerticalSashLeft:Uc=>this.getSashPosition(Uc)},{orientation:0,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),Db=0===this.orientation?Uc=>({sash:Wa,start:Uc.startY,current:Uc.currentY,alt:Uc.altKey}):Uc=>({sash:Wa,start:Uc.startX,current:Uc.currentX,alt:Uc.altKey}),Hb=jb.b.map(Wa.onDidStart,Db)(this.onSashStart,this),Pb=jb.b.map(Wa.onDidChange,Db)(this.onSashChange,this),lc=jb.b.map(Wa.onDidEnd,()=>Object(ka.j)(this.sashItems,Uc=>Uc.sash===Wa))(this.onSashEnd,this),Ac=Wa.onDidReset(()=>{const Uc=Object(ka.j)(this.sashItems,vd=>vd.sash===Wa),dd=Object(ka.s)(Uc,-1),Jd=Object(ka.s)(Uc+1,this.viewItems.length),Sc=this.findFirstSnapIndex(dd),kd=this.findFirstSnapIndex(Jd);("number"!=typeof Sc||this.viewItems[Sc].visible)&&("number"!=typeof kd||this.viewItems[kd].visible)&&this._onDidSashReset.fire(Uc)}),Tc=Object(Nb.e)(Hb,Pb,lc,Ac,Wa),$c={sash:Wa,disposable:Tc};this.sashItems.splice(c-1,0,$c)}let la;i.appendChild(a.element),"number"!=typeof b&&"split"===b.type&&(la=[b.index]),e||this.relayout([c],la),this.state=Ch.Idle,e||"number"==typeof b||"distribute"!==b.type||this.distributeViewSizes()}relayout(a,b){const c=this.viewItems.reduce((e,i)=>e+i.size,0);this.resize(this.viewItems.length-1,this.size-c,void 0,a,b),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(a,b,c=this.viewItems.map(ja=>ja.size),e,i,p=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,O,ha){if(a<0||a>=this.viewItems.length)return 0;const ja=Object(ka.s)(a,-1),la=Object(ka.s)(a+1,this.viewItems.length);if(i)for(const Sc of i)Object(ka.r)(ja,Sc),Object(ka.r)(la,Sc);if(e)for(const Sc of e)Object(ka.q)(ja,Sc),Object(ka.q)(la,Sc);const Wa=ja.map(Sc=>this.viewItems[Sc]),Db=ja.map(Sc=>c[Sc]),Hb=la.map(Sc=>this.viewItems[Sc]),Pb=la.map(Sc=>c[Sc]),lc=ja.reduce((Sc,kd)=>Sc+(this.viewItems[kd].minimumSize-c[kd]),0),Ac=ja.reduce((Sc,kd)=>Sc+(this.viewItems[kd].maximumSize-c[kd]),0),Tc=0===la.length?Number.POSITIVE_INFINITY:la.reduce((Sc,kd)=>Sc+(c[kd]-this.viewItems[kd].minimumSize),0),$c=0===la.length?Number.NEGATIVE_INFINITY:la.reduce((Sc,kd)=>Sc+(c[kd]-this.viewItems[kd].maximumSize),0),Uc=Math.max(lc,$c,p),dd=Math.min(Tc,Ac,r);let Jd=!1;if(O){const Sc=this.viewItems[O.index],kd=b>=O.limitDelta;Jd=kd!==Sc.visible,Sc.setVisible(kd,O.size)}if(!Jd&&ha){const Sc=this.viewItems[ha.index],kd=b<ha.limitDelta;Jd=kd!==Sc.visible,Sc.setVisible(kd,ha.size)}if(Jd)return this.resize(a,b,c,e,i,p,r);for(let Sc=0,kd=b=Object(fc.b)(b,Uc,dd);Sc<Wa.length;Sc++){const vd=Wa[Sc],le=Object(fc.b)(Db[Sc]+kd,vd.minimumSize,vd.maximumSize);kd-=le-Db[Sc],vd.size=le}for(let Sc=0,kd=b;Sc<Hb.length;Sc++){const vd=Hb[Sc],le=Object(fc.b)(Pb[Sc]-kd,vd.minimumSize,vd.maximumSize);kd+=le-Pb[Sc],vd.size=le}return b}distributeEmptySpace(a){const b=this.viewItems.reduce((r,O)=>r+O.size,0);let c=this.size-b;const e=Object(ka.s)(this.viewItems.length-1,-1),i=e.filter(r=>1===this.viewItems[r].priority),p=e.filter(r=>2===this.viewItems[r].priority);for(const r of p)Object(ka.r)(e,r);for(const r of i)Object(ka.q)(e,r);"number"==typeof a&&Object(ka.q)(e,a);for(let r=0;0!==c&&r<e.length;r++){const O=this.viewItems[e[r]],ha=Object(fc.b)(O.size+c,O.minimumSize,O.maximumSize);c-=ha-O.size,O.size=ha}}layoutViews(){this.contentSize=this.viewItems.reduce((b,c)=>b+c.size,0);let a=0;for(const b of this.viewItems)b.layout(a,this.layoutContext),a+=b.size;this.sashItems.forEach(b=>b.sash.layout()),this.updateSashEnablement()}updateSashEnablement(){let a=!1;const b=this.viewItems.map(O=>a=O.size-O.minimumSize>0||a);a=!1;const c=this.viewItems.map(O=>a=O.maximumSize-O.size>0||a),e=[...this.viewItems].reverse();a=!1;const i=e.map(O=>a=O.size-O.minimumSize>0||a).reverse();a=!1;const p=e.map(O=>a=O.maximumSize-O.size>0||a).reverse();let r=0;for(let O=0;O<this.sashItems.length;O++){const{sash:ha}=this.sashItems[O];r+=this.viewItems[O].size;const ja=!(b[O]&&p[O+1]),la=!(c[O]&&i[O+1]);if(ja&&la){const Wa=Object(ka.s)(O,-1),Db=Object(ka.s)(O+1,this.viewItems.length),Hb=this.findFirstSnapIndex(Wa),Pb=this.findFirstSnapIndex(Db),lc="number"==typeof Hb&&!this.viewItems[Hb].visible,Ac="number"==typeof Pb&&!this.viewItems[Pb].visible;lc&&i[O]&&(r>0||this.startSnappingEnabled)?ha.state=1:Ac&&b[O]&&(r<this.contentSize||this.endSnappingEnabled)?ha.state=2:ha.state=0}else ha.state=ja&&!la?1:!ja&&la?2:3}}getSashPosition(a){let b=0;for(let c=0;c<this.sashItems.length;c++)if(b+=this.viewItems[c].size,this.sashItems[c].sash===a)return b;return 0}findFirstSnapIndex(a){for(const b of a){const c=this.viewItems[b];if(c.visible&&c.snap)return b}for(const b of a){const c=this.viewItems[b];if(c.visible&&c.maximumSize-c.minimumSize>0)return;if(!c.visible&&c.snap)return b}}dispose(){super.dispose(),this.viewItems.forEach(a=>a.dispose()),this.viewItems=[],this.sashItems.forEach(a=>a.disposable.dispose()),this.sashItems=[]}}var Ln=f(150),Mn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},wi=function(a,b){return function(c,e){b(c,e,a)}},Il=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Ek{constructor(a,b){this._editor=a,this._model=b,this._decorations=new Map(),this._decorationIgnoreSet=new Set(),this._callOnDispose=new Nb.b(),this._callOnModelChange=new Nb.b(),this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const a=this._editor.getModel();if(a){for(let b of this._model.references)if(b.uri.toString()===a.uri.toString())return void this._addDecorations(b.parent)}}_addDecorations(a){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const b=[],c=[];for(let i=0,p=a.children.length;i<p;i++){let r=a.children[i];this._decorationIgnoreSet.has(r.id)||r.uri.toString()===this._editor.getModel().uri.toString()&&(b.push({range:r.range,options:Ek.DecorationOptions}),c.push(i))}const e=this._editor.deltaDecorations([],b);for(let i=0;i<e.length;i++)this._decorations.set(e[i],a.children[c[i]])}_onDecorationChanged(){const a=[],b=this._editor.getModel();if(b){for(let[c,e]of this._decorations){const i=b.getDecorationRange(c);if(!i)continue;let p=!1;pb.a.equalsRange(i,e.range)||(pb.a.spansMultipleLines(i)?p=!0:e.range.endColumn-e.range.startColumn!==i.endColumn-i.startColumn&&(p=!0),p?(this._decorationIgnoreSet.add(e.id),a.push(c)):e.range=i)}for(let c=0,e=a.length;c<e;c++)this._decorations.delete(a[c]);this._editor.deltaDecorations(a,[])}}removeDecorations(){this._editor.deltaDecorations([...this._decorations.keys()],[]),this._decorations.clear()}}Ek.DecorationOptions=Eb.a.register({stickiness:1,className:"reference-decoration"});class Nn extends ng.c{}let Fk=class extends Uh{constructor(a,b,c,e,i,p,r,O,ha,ja){super(a,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0},p),this._defaultTreeKeyboardSupport=b,this.layoutData=c,this._textModelResolverService=i,this._instantiationService=p,this._peekViewService=r,this._uriLabel=O,this._undoRedoService=ha,this._keybindingService=ja,this._disposeOnNewModel=new Nb.b(),this._callOnDispose=new Nb.b(),this._onDidSelectReference=new jb.a(),this.onDidSelectReference=this._onDidSelectReference.event,this._dim={height:0,width:0},this._applyTheme(e.getColorTheme()),this._callOnDispose.add(e.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(a,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),Object(Nb.f)(this._preview),Object(Nb.f)(this._previewNotAvailableMessage),Object(Nb.f)(this._tree),Object(Nb.f)(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(a){const b=a.getColor(Df)||Rd.a.transparent;this.style({arrowColor:b,frameColor:b,headerBackgroundColor:a.getColor(qf)||Rd.a.transparent,primaryHeadingColor:a.getColor(Le),secondaryHeadingColor:a.getColor(vi)})}show(a){this.editor.revealRangeInCenterIfOutsideViewport(a,0),super.show(a,this.layoutData.heightInLines||18)}focusOnReferenceTree(){this._tree.domFocus()}focusOnPreviewEditor(){this._preview.focus()}isPreviewEditorFocused(){return this._preview.hasTextFocus()}_onTitleClick(a){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:a.ctrlKey||a.metaKey||a.altKey?"side":"open",source:"title"})}_fillBody(a){this.setCssClass("reference-zone-widget"),this._messageContainer=qa.p(a,qa.a("div.messages")),qa.K(this._messageContainer),this._splitView=new Kn(a,{orientation:1}),this._previewContainer=qa.p(a,qa.a("div.preview.inline")),this._preview=this._instantiationService.createInstance(we,this._previewContainer,{scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}},this.editor),qa.K(this._previewContainer),this._previewNotAvailableMessage=new Eb.b($.a("missingPreviewMessage","no preview available"),Eb.b.DEFAULT_CREATION_OPTIONS,null,null,this._undoRedoService),this._treeContainer=qa.p(a,qa.a("div.ref-tree.inline"));const b={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Vh(),keyboardNavigationLabelProvider:this._instantiationService.createInstance(Tg),identityProvider:new Ze(),openOnSingleClick:!0,openOnFocus:!0,overrideStyles:{listBackground:mg}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(qa.n(this._treeContainer,"keydown",e=>{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(Nn,"ReferencesWidget",this._treeContainer,new Se(),[this._instantiationService.createInstance(he),this._instantiationService.createInstance(Ke)],this._instantiationService.createInstance(Ud),b),this._splitView.addView({onDidChange:jb.b.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},Vj.Distribute),this._splitView.addView({onDidChange:jb.b.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=this._dim.height+"px",this._treeContainer.style.width=e+"px",this._tree.layout(this._dim.height,e)}},Vj.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let c=(e,i)=>{e instanceof hh&&("show"===i&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:i,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?c(e.element,"side"):e.editorOptions.pinned?c(e.element,"goto"):c(e.element,"show")}),qa.K(this._treeContainer)}_onWidth(a){this._dim&&this._doLayoutBody(this._dim.height,a)}_doLayoutBody(a,b){super._doLayoutBody(a,b),this._dim={height:a,width:b},this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(b),this._splitView.resizeView(0,b*this.layoutData.ratio)}setSelection(a){return this._revealReference(a,!0).then(()=>{this._model&&(this._tree.setSelection([a]),this._tree.setFocus([a]))})}setModel(a){return this._disposeOnNewModel.clear(),this._model=a,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=$.a("noResults","No results"),qa.Z(this._messageContainer),Promise.resolve(void 0)):(qa.K(this._messageContainer),this._decorationsManager=new Ek(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(a=>this._tree.rerender(a))),this._disposeOnNewModel.add(this._preview.onMouseDown(a=>{const{event:b,target:c}=a;if(2!==b.detail)return;const e=this._getFocusedReference();e&&this._onDidSelectReference.fire({element:{uri:e.uri,range:c.range},kind:b.ctrlKey||b.metaKey||b.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),qa.Z(this._treeContainer),qa.Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[a]=this._tree.getFocus();return a instanceof hh?a:a instanceof n&&a.children.length>0?a.children[0]:void 0}revealReference(a){return Il(this,void 0,void 0,function*(){yield this._revealReference(a,!1),this._onDidSelectReference.fire({element:a,kind:"goto",source:"tree"})})}_revealReference(a,b){return Il(this,void 0,void 0,function*(){if(this._revealedReference===a)return;this._revealedReference=a,a.uri.scheme!==ca.b.inMemory?this.setTitle(Object(Pa.c)(a.uri),this._uriLabel.getUriLabel(Object(Pa.d)(a.uri))):this.setTitle($.a("peekView.alternateTitle","References"));const c=this._textModelResolverService.createModelReference(a.uri);this._tree.getInput()===a.parent||(b&&this._tree.reveal(a.parent),yield this._tree.expand(a.parent)),this._tree.reveal(a);const e=yield c;if(!this._model)return void e.dispose();Object(Nb.f)(this._previewModelReference);const i=e.object;if(i){const p=this._preview.getModel()===i.textEditorModel?0:1,r=pb.a.lift(a.range).collapseToStart();this._previewModelReference=e,this._preview.setModel(i.textEditorModel),this._preview.setSelection(r),this._preview.revealRangeInCenter(r,p)}else this._preview.setModel(this._previewNotAvailableMessage),e.dispose()})}};Fk=Mn([wi(3,Oa.c),wi(4,Qb.a),wi(5,xa.a),wi(6,Sh),wi(7,Ea.a),wi(8,Ln.a),wi(9,Rb.a)],Fk),Object(Oa.g)((a,b)=>{const c=a.getColor(Ak);c&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${c}; }`);const e=a.getColor(Bk);e&&b.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${e}; }`);const i=a.getColor(Ck);i&&b.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${i}; box-sizing: border-box; }`);const p=a.getColor(Va.b);p&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${p}; box-sizing: border-box; }`);const r=a.getColor(mg);r&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${r}; }`);const O=a.getColor(Cg);O&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${O}; }`);const ha=a.getColor(wk);ha&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${ha}; }`);const ja=a.getColor(xk);ja&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${ja}; }`);const la=a.getColor(yk);la&&b.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${la} !important; }`);const Wa=a.getColor(Yi);Wa&&b.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input { background-color: ${Wa};}`);const Db=a.getColor(zk);Db&&b.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin { background-color: ${Db};}`)});var On=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Zi=function(a,b){return function(c,e){b(c,e,a)}},Jl=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const xi=new I.c("referenceSearchVisible",!1);let Wh=class a{constructor(b,c,e,i,p,r,O,ha){this._defaultTreeKeyboardSupport=b,this._editor=c,this._editorService=i,this._notificationService=p,this._instantiationService=r,this._storageService=O,this._configurationService=ha,this._disposables=new Nb.b(),this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=xi.bindTo(e)}static get(b){return b.getContribution(a.ID)}dispose(){this._referenceSearchVisible.reset(),this._disposables.dispose(),Object(Nb.f)(this._widget),Object(Nb.f)(this._model),this._widget=void 0,this._model=void 0}toggleWidget(b,c,e){let i;if(this._widget&&(i=this._widget.position),this.closeWidget(),i&&b.containsPosition(i))return;this._peekMode=e,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const p=class{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(O){let ha,ja;try{const la=JSON.parse(O);ha=la.ratio,ja=la.heightInLines}catch(la){}return{ratio:ha||.7,heightInLines:ja||18}}}.fromJSON(this._storageService.get("peekViewLayout",0,"{}"));this._widget=this._instantiationService.createInstance(Fk,this._editor,this._defaultTreeKeyboardSupport,p),this._widget.setTitle($.a("labelLoading","Loading...")),this._widget.show(b),this._disposables.add(this._widget.onDidClose(()=>{c.cancel(),this._widget&&(this._storageService.store("peekViewLayout",JSON.stringify(this._widget.layoutData),0),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(O=>{let{element:ha,kind:ja}=O;if(ha)switch(ja){case"open":"editor"===O.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(ha,!1);break;case"side":this.openReference(ha,!0);break;case"goto":e?this._gotoReference(ha):this.openReference(ha,!1)}}));const r=++this._requestIdPool;c.then(O=>{if(r===this._requestIdPool&&this._widget)return this._model&&this._model.dispose(),this._model=O,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle($.a("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let ha=this._editor.getModel().uri,ja=new Fc.a(b.startLineNumber,b.startColumn),la=this._model.nearestReference(ha,ja);if(la)return this._widget.setSelection(la).then(()=>{this._widget&&"editor"===this._editor.getOption(68)&&this._widget.focusOnPreviewEditor()})}})},O=>{this._notificationService.error(O)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(b){return Jl(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const c=this._widget.position;if(!c)return;const e=this._model.nearestReference(this._editor.getModel().uri,c);if(!e)return;const i=this._model.nextOrPreviousReference(e,b),p=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(i),yield this._gotoReference(i),p?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()})}revealReference(b){return Jl(this,void 0,void 0,function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(b))})}closeWidget(b=!0){Object(Nb.f)(this._widget),Object(Nb.f)(this._model),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,b&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(b){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const c=pb.a.lift(b.range).collapseToStart();return this._editorService.openCodeEditor({resource:b.uri,options:{selection:c}},this._editor).then(e=>{var i;if(this._ignoreModelChangeEvent=!1,e&&this._widget)if(this._editor===e)this._widget.show(c),this._widget.focusOnReferenceTree();else{const p=a.get(e),r=this._model.clone();this.closeWidget(),e.focus(),p.toggleWidget(c,Object(sc.f)(O=>Promise.resolve(r)),null!==(i=this._peekMode)&&void 0!==i&&i)}else this.closeWidget()},e=>{this._ignoreModelChangeEvent=!1,Object(La.e)(e)})}openReference(b,c){c||this.closeWidget();const{uri:e,range:i}=b;this._editorService.openCodeEditor({resource:e,options:{selection:i}},this._editor,c)}};function yi(a,b){const c=function(i){let p=i.get(Dc.a).getFocusedCodeEditor();return p instanceof we?p.getParentEditor():p}(a);if(!c)return;let e=Wh.get(c);e&&b(e)}Wh.ID="editor.contrib.referencesController",Wh=On([Zi(2,I.b),Zi(3,Dc.a),Zi(4,Ja.a),Zi(5,xa.a),Zi(6,Wd.a),Zi(7,xe.a)],Wh),bf.a.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object(_.a)(2089,60),when:I.a.or(xi,Ue.inPeekEditor),handler(a){yi(a,b=>{b.changeFocusBetweenPreviewAndReferences()})}}),bf.a.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:I.a.or(xi,Ue.inPeekEditor),handler(a){yi(a,b=>{b.goToNextOrPreviousReference(!0)})}}),bf.a.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:I.a.or(xi,Ue.inPeekEditor),handler(a){yi(a,b=>{b.goToNextOrPreviousReference(!1)})}}),ya.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),ya.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),ya.a.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),ya.a.registerCommand("closeReferenceSearch",a=>yi(a,b=>b.closeWidget())),bf.a.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:I.a.and(Ue.inPeekEditor,I.a.not("config.editor.stablePeek"))}),bf.a.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:I.a.and(xi,I.a.not("config.editor.stablePeek"))}),bf.a.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:I.a.and(xi,ng.e),handler(a){var b;const c=null===(b=a.get(ng.a).lastFocusedList)||void 0===b?void 0:b.getFocus();Array.isArray(c)&&c[0]instanceof hh&&yi(a,e=>e.revealReference(c[0]))}}),bf.a.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:I.a.and(xi,ng.e),handler(a){var b;const c=null===(b=a.get(ng.a).lastFocusedList)||void 0===b?void 0:b.getFocus();Array.isArray(c)&&c[0]instanceof hh&&yi(a,e=>e.openReference(c[0],!0))}}),ya.a.registerCommand("openReference",a=>{var b;const c=null===(b=a.get(ng.a).lastFocusedList)||void 0===b?void 0:b.getFocus();Array.isArray(c)&&c[0]instanceof hh&&yi(a,e=>e.openReference(c[0],!1))});var Pn=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};function yj(a,b,c,e){const i=c.ordered(a).map(p=>Promise.resolve(e(p,a,b)).then(void 0,r=>{Object(La.f)(r)}));return Promise.all(i).then(p=>{const r=[];for(let O of p)Array.isArray(O)?r.push(...O):O&&r.push(O);return r})}function Gk(a,b,c){return yj(a,b,W.f,(e,i,p)=>e.provideDefinition(i,p,c))}function Kl(a,b,c){return yj(a,b,W.e,(e,i,p)=>e.provideDeclaration(i,p,c))}function Ll(a,b,c){return yj(a,b,W.q,(e,i,p)=>e.provideImplementation(i,p,c))}function Ml(a,b,c){return yj(a,b,W.D,(e,i,p)=>e.provideTypeDefinition(i,p,c))}function Wj(a,b,c,e){return yj(a,b,W.v,(i,p,r)=>Pn(this,void 0,void 0,function*(){const O=yield i.provideReferences(p,r,{includeDeclaration:!0},e);if(!c||!O||2!==O.length)return O;const ha=yield i.provideReferences(p,r,{includeDeclaration:!1},e);return ha&&1===ha.length?ha:O}))}Object(ba.p)("_executeDefinitionProvider",(a,b)=>Gk(a,b,Gd.a.None)),Object(ba.p)("_executeDeclarationProvider",(a,b)=>Kl(a,b,Gd.a.None)),Object(ba.p)("_executeImplementationProvider",(a,b)=>Ll(a,b,Gd.a.None)),Object(ba.p)("_executeTypeDefinitionProvider",(a,b)=>Ml(a,b,Gd.a.None)),Object(ba.p)("_executeReferenceProvider",(a,b)=>Wj(a,b,!1,Gd.a.None));var Nl=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},zj=function(a,b){return function(c,e){b(c,e,a)}};const Hk=new I.c("hasSymbols",!1),Xj=Object(xa.c)("ISymbolNavigationService");let Ik=class{constructor(a,b,c,e){this._editorService=b,this._notificationService=c,this._keybindingService=e,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=Hk.bindTo(a)}reset(){this._ctxHasSymbols.reset(),Object(Nb.f)(this._currentState),Object(Nb.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1}put(a){const b=a.parent.parent;if(b.references.length<=1)return void this.reset();this._currentModel=b,this._currentIdx=b.references.indexOf(a),this._ctxHasSymbols.set(!0),this._showMessage();const c=new Jk(this._editorService),e=c.onDidChange(i=>{if(this._ignoreEditorChange)return;const p=this._editorService.getActiveCodeEditor();if(!p)return;const r=p.getModel(),O=p.getPosition();if(!r||!O)return;let ha=!1,ja=!1;for(const la of b.references)if(Object(Pa.f)(la.uri,r.uri))ha=!0,ja=ja||pb.a.containsPosition(la.range,O);else if(ha)break;ha&&ja||this.reset()});this._currentState=Object(Nb.e)(c,e)}revealNext(a){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const b=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:b.uri,options:{selection:pb.a.collapseToStart(b.range),selectionRevealType:3}},a).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){Object(Nb.f)(this._currentMessage);const a=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),b=a?Object($.a)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,a.getLabel()):Object($.a)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(b)}};Ik=Nl([zj(0,I.b),zj(1,Dc.a),zj(2,Ja.a),zj(3,Rb.a)],Ik),Object(Cd.b)(Xj,Ik,!0),Object(ba.l)(new class extends ba.c{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:Hk,kbOpts:{weight:100,primary:70}})}runEditorCommand(a,b){return a.get(Xj).revealNext(b)}}()),bf.a.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:Hk,primary:9,handler(a){a.get(Xj).reset()}});let Jk=class{constructor(a){this._listener=new Map(),this._disposables=new Nb.b(),this._onDidChange=new jb.a(),this.onDidChange=this._onDidChange.event,this._disposables.add(a.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(a.onCodeEditorAdd(this._onDidAddEditor,this)),a.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),Object(Nb.f)(this._listener.values())}_onDidAddEditor(a){this._listener.set(a,Object(Nb.e)(a.onDidChangeCursorPosition(b=>this._onDidChange.fire({editor:a})),a.onDidChangeModelContent(b=>this._onDidChange.fire({editor:a}))))}_onDidRemoveEditor(a){Object(Nb.f)(this._listener.get(a)),this._listener.delete(a)}};Jk=Nl([zj(0,Dc.a)],Jk);var Ol,Pl,Ql,Rl,Sl,Tl,Ul,Vl,Dg=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};Qa.d.appendMenuItem(Qa.b.EditorContext,{submenu:Qa.b.EditorContextPeek,title:$.a("peek.submenu","Peek"),group:"navigation",order:100});class _i extends ba.b{constructor(a,b){super(b),this._configuration=a}run(a,b){if(!b.hasModel())return Promise.resolve(void 0);const c=a.get(Ja.a),e=a.get(Dc.a),i=a.get(yb.a),p=a.get(Xj),r=b.getModel(),O=b.getPosition(),ha=new K.b(b,5),ja=Object(sc.j)(this._getLocationModel(r,O,ha.token),ha.token).then(la=>Dg(this,void 0,void 0,function*(){if(!la||ha.token.isCancellationRequested)return;let Wa;if(Object(tc.a)(la.ariaMessage),la.referenceAt(r.uri,O)){const Hb=this._getAlternativeCommand(b);Hb!==this.id&&(Wa=b.getAction(Hb))}const Db=la.references.length;if(0===Db){if(!this._configuration.muteMessage){const Hb=r.getWordAtPosition(O);yc.get(b).showMessage(this._getNoResultFoundMessage(Hb),O)}}else{if(1!==Db||!Wa)return this._onResult(e,p,b,la);Wa.run()}}),la=>{c.error(la)}).finally(()=>{ha.dispose()});return i.showWhile(ja,250),ja}_onResult(a,b,c,e){return Dg(this,void 0,void 0,function*(){const i=this._getGoToPreference(c);if(c instanceof we||!(this._configuration.openInPeek||"peek"===i&&e.references.length>1)){const p=e.firstReference(),r=e.references.length>1&&"gotoAndPeek"===i,O=yield this._openReference(c,a,p,this._configuration.openToSide,!r);r&&O?this._openInPeek(O,e):e.dispose(),"goto"===i&&b.put(p)}else this._openInPeek(c,e)})}_openReference(a,b,c,e,i){return Dg(this,void 0,void 0,function*(){let p;Object(W.G)(c)&&(p=c.targetSelectionRange),p||(p=c.range);const r=yield b.openCodeEditor({resource:c.uri,options:{selection:pb.a.collapseToStart(p),selectionRevealType:3}},a,e);if(r){if(i){const O=r.getModel(),ha=r.deltaDecorations([],[{range:p,options:{className:"symbolHighlight"}}]);setTimeout(()=>{r.getModel()===O&&r.deltaDecorations(ha,[])},350)}return r}})}_openInPeek(a,b){let c=Wh.get(a);c&&a.hasModel()?c.toggleWidget(a.getSelection(),Object(sc.f)(e=>Promise.resolve(b)),this._configuration.openInPeek):b.dispose()}}class Yj extends _i{_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(yield Gk(a,b,c),$.a("def.title","Definitions"))})}_getNoResultFoundMessage(a){return a&&a.word?$.a("noResultWord","No definition found for '{0}'",a.word):$.a("generic.noResults","No definition found")}_getAlternativeCommand(a){return a.getOption(43).alternativeDefinitionCommand}_getGoToPreference(a){return a.getOption(43).multipleDefinitions}}const Wl=zb.h&&!nb.k?2118:70;Object(ba.k)(((Ol=class a extends Yj{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:a.id,label:$.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:I.a.and(S.a.hasDefinitionProvider,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:Wl,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:Qa.b.MenubarGoMenu,group:"4_symbol_nav",order:2,title:$.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}}),ya.a.registerCommandAlias("editor.action.goToDeclaration",a.id)}}).id="editor.action.revealDefinition",Ol)),Object(ba.k)(((Pl=class a extends Yj{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:a.id,label:$.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:I.a.and(S.a.hasDefinitionProvider,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,Wl),weight:100}}),ya.a.registerCommandAlias("editor.action.openDeclarationToTheSide",a.id)}}).id="editor.action.revealDefinitionAside",Pl)),Object(ba.k)(((Ql=class a extends Yj{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:a.id,label:$.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:I.a.and(S.a.hasDefinitionProvider,Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:Qa.b.EditorContextPeek,group:"peek",order:2}}),ya.a.registerCommandAlias("editor.action.previewDeclaration",a.id)}}).id="editor.action.peekDefinition",Ql));class Xl extends _i{_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(yield Kl(a,b,c),$.a("decl.title","Declarations"))})}_getNoResultFoundMessage(a){return a&&a.word?$.a("decl.noResultWord","No declaration found for '{0}'",a.word):$.a("decl.generic.noResults","No declaration found")}_getAlternativeCommand(a){return a.getOption(43).alternativeDeclarationCommand}_getGoToPreference(a){return a.getOption(43).multipleDeclarations}}Object(ba.k)(((Rl=class a extends Xl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:a.id,label:$.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:I.a.and(S.a.hasDeclarationProvider,S.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:Qa.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:$.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})}_getNoResultFoundMessage(b){return b&&b.word?$.a("decl.noResultWord","No declaration found for '{0}'",b.word):$.a("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",Rl)),Object(ba.k)(class extends Xl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:$.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:I.a.and(S.a.hasDeclarationProvider,Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:Qa.b.EditorContextPeek,group:"peek",order:3}})}});class Yl extends _i{_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(yield Ml(a,b,c),$.a("typedef.title","Type Definitions"))})}_getNoResultFoundMessage(a){return a&&a.word?$.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",a.word):$.a("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(a){return a.getOption(43).alternativeTypeDefinitionCommand}_getGoToPreference(a){return a.getOption(43).multipleTypeDefinitions}}Object(ba.k)(((Sl=class a extends Yl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:a.ID,label:$.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:I.a.and(S.a.hasTypeDefinitionProvider,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:Qa.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:$.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})}}).ID="editor.action.goToTypeDefinition",Sl)),Object(ba.k)(((Tl=class a extends Yl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:a.ID,label:$.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:I.a.and(S.a.hasTypeDefinitionProvider,Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:Qa.b.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",Tl));class Zl extends _i{_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(yield Ll(a,b,c),$.a("impl.title","Implementations"))})}_getNoResultFoundMessage(a){return a&&a.word?$.a("goToImplementation.noResultWord","No implementation found for '{0}'",a.word):$.a("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(a){return a.getOption(43).alternativeImplementationCommand}_getGoToPreference(a){return a.getOption(43).multipleImplementations}}Object(ba.k)(((Ul=class a extends Zl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:a.ID,label:$.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:I.a.and(S.a.hasImplementationProvider,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:Qa.b.MenubarGoMenu,group:"4_symbol_nav",order:4,title:$.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",Ul)),Object(ba.k)(((Vl=class a extends Zl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:a.ID,label:$.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:I.a.and(S.a.hasImplementationProvider,Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:Qa.b.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",Vl));class _l extends _i{_getNoResultFoundMessage(a){return a?$.a("references.no","No references found for '{0}'",a.word):$.a("references.noGeneric","No references found")}_getAlternativeCommand(a){return a.getOption(43).alternativeReferenceCommand}_getGoToPreference(a){return a.getOption(43).multipleReferences}}Object(ba.k)(class extends _l{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:$.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:I.a.and(S.a.hasReferenceProvider,Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:S.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:Qa.b.MenubarGoMenu,group:"4_symbol_nav",order:5,title:$.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})}_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(yield Wj(a,b,!0,c),$.a("ref.title","References"))})}}),Object(ba.k)(class extends _l{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:$.a("references.action.label","Peek References"),alias:"Peek References",precondition:I.a.and(S.a.hasReferenceProvider,Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:Qa.b.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(yield Wj(a,b,!1,c),$.a("ref.title","References"))})}});class Qn extends _i{constructor(a,b,c){super(a,{id:"editor.action.goToLocation",label:$.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:I.a.and(Ue.notInPeekEditor,S.a.isInWalkThroughSnippet.toNegated())}),this._references=b,this._gotoMultipleBehaviour=c}_getLocationModel(a,b,c){return Dg(this,void 0,void 0,function*(){return new E(this._references,$.a("generic.title","Locations"))})}_getNoResultFoundMessage(a){return a&&$.a("generic.noResult","No results for '{0}'",a.word)||""}_getGoToPreference(a){var b;return null!==(b=this._gotoMultipleBehaviour)&&void 0!==b?b:a.getOption(43).multipleReferences}_getAlternativeCommand(){return""}}ya.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:xd.a},{name:"position",description:"The position at which to start",constraint:Fc.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(a,b,c,e,i,p,r)=>Dg(void 0,void 0,void 0,function*(){Object(Zd.b)(xd.a.isUri(b)),Object(Zd.b)(Fc.a.isIPosition(c)),Object(Zd.b)(Array.isArray(e)),Object(Zd.b)(void 0===i||"string"==typeof i),Object(Zd.b)(void 0===r||"boolean"==typeof r);const O=a.get(Dc.a),ha=yield O.openCodeEditor({resource:b},O.getFocusedCodeEditor());if(Object(Qf.b)(ha))return ha.setPosition(c),ha.revealPositionInCenterIfOutsideViewport(c,0),ha.invokeWithinContext(ja=>{const la=new class extends Qn{_getNoResultFoundMessage(Wa){return p||super._getNoResultFoundMessage(Wa)}}({muteMessage:!Boolean(p),openInPeek:Boolean(r),openToSide:!1},e,i);ja.get(xa.a).invokeFunction(la.run.bind(la),ha)})})}),ya.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:xd.a},{name:"position",description:"The position at which to start",constraint:Fc.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(a,b,c,e,i)=>Dg(void 0,void 0,void 0,function*(){a.get(ya.b).executeCommand("editor.action.goToLocations",b,c,e,i,void 0,!0)})}),ya.a.registerCommand({id:"editor.action.findReferences",handler:(a,b,c)=>{Object(Zd.b)(xd.a.isUri(b)),Object(Zd.b)(Fc.a.isIPosition(c));const e=a.get(Dc.a);return e.openCodeEditor({resource:b},e.getFocusedCodeEditor()).then(i=>{if(!Object(Qf.b)(i)||!i.hasModel())return;const p=Wh.get(i);if(!p)return;const r=Object(sc.f)(ha=>Wj(i.getModel(),Fc.a.lift(c),!1,ha).then(ja=>new E(ja,$.a("ref.title","References")))),O=new pb.a(c.lineNumber,c.column,c.lineNumber,c.column);return Promise.resolve(p.toggleWidget(O,r,!1))})}}),ya.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),f(309);var Xh=f(109);function Kk(a,b){return!!a[b]}class Lk{constructor(a,b){this.target=a.target,this.hasTriggerModifier=Kk(a.event,b.triggerModifier),this.hasSideBySideModifier=Kk(a.event,b.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=a.event.detail<=1}}class $l{constructor(a,b){this.keyCodeIsTriggerKey=a.keyCode===b.triggerKey,this.keyCodeIsSideBySideKey=a.keyCode===b.triggerSideBySideKey,this.hasTriggerModifier=Kk(a,b.triggerModifier)}}class Zj{constructor(a,b,c,e){this.triggerKey=a,this.triggerModifier=b,this.triggerSideBySideKey=c,this.triggerSideBySideModifier=e}equals(a){return this.triggerKey===a.triggerKey&&this.triggerModifier===a.triggerModifier&&this.triggerSideBySideKey===a.triggerSideBySideKey&&this.triggerSideBySideModifier===a.triggerSideBySideModifier}}function am(a){return"altKey"===a?zb.f?new Zj(57,"metaKey",6,"altKey"):new Zj(5,"ctrlKey",6,"altKey"):zb.f?new Zj(6,"altKey",57,"metaKey"):new Zj(6,"altKey",5,"ctrlKey")}class bm extends Nb.a{constructor(a){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new jb.a()),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new jb.a()),this.onExecute=this._onExecute.event,this._onCancel=this._register(new jb.a()),this.onCancel=this._onCancel.event,this._editor=a,this._opts=am(this._editor.getOption(61)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(b=>{if(b.hasChanged(61)){const c=am(this._editor.getOption(61));if(this._opts.equals(c))return;this._opts=c,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(b=>this._onEditorMouseMove(new Lk(b,this._opts)))),this._register(this._editor.onMouseDown(b=>this._onEditorMouseDown(new Lk(b,this._opts)))),this._register(this._editor.onMouseUp(b=>this._onEditorMouseUp(new Lk(b,this._opts)))),this._register(this._editor.onKeyDown(b=>this._onEditorKeyDown(new $l(b,this._opts)))),this._register(this._editor.onKeyUp(b=>this._onEditorKeyUp(new $l(b,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(b=>this._onDidChangeCursorSelection(b))),this._register(this._editor.onDidChangeModel(b=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(b=>{(b.scrollTopChanged||b.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(a){a.selection&&a.selection.startColumn!==a.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(a){this._lastMouseMoveEvent=a,this._onMouseMoveOrRelevantKeyDown.fire([a,null])}_onEditorMouseDown(a){this._hasTriggerKeyOnMouseDown=a.hasTriggerModifier,this._lineNumberOnMouseDown=a.target.position?a.target.position.lineNumber:0}_onEditorMouseUp(a){const b=a.target.position?a.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===b&&this._onExecute.fire(a)}_onEditorKeyDown(a){this._lastMouseMoveEvent&&(a.keyCodeIsTriggerKey||a.keyCodeIsSideBySideKey&&a.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,a]):a.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(a){a.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var Rn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},cm=function(a,b){return function(c,e){b(c,e,a)}};let zi=class a{constructor(b,c,e){this.textModelResolverService=c,this.modeService=e,this.toUnhook=new Nb.b(),this.toUnhookForKeyboard=new Nb.b(),this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=b;let i=new bm(b);this.toUnhook.add(i),this.toUnhook.add(i.onMouseMoveOrRelevantKeyDown(([p,r])=>{this.startFindDefinitionFromMouse(p,Object(Zd.n)(r))})),this.toUnhook.add(i.onExecute(p=>{this.isEnabled(p)&&this.gotoDefinition(p.target.position,p.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},r=>{this.removeLinkDecorations(),Object(La.e)(r)})})),this.toUnhook.add(i.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(b){return b.getContribution(a.ID)}startFindDefinitionFromCursor(b){return this.startFindDefinition(b).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(c=>{c&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(b,c){if(9===b.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(b,c))return this.currentWordAtPosition=null,void this.removeLinkDecorations();const e=b.target.position;this.startFindDefinition(e)}startFindDefinition(b){var c;this.toUnhookForKeyboard.clear();const e=b?null===(c=this.editor.getModel())||void 0===c?void 0:c.getWordAtPosition(b):null;if(!e)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===e.startColumn&&this.currentWordAtPosition.endColumn===e.endColumn&&this.currentWordAtPosition.word===e.word)return Promise.resolve(0);this.currentWordAtPosition=e;let i=new K.a(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(sc.f)(p=>this.findDefinition(b,p)),this.previousPromise.then(p=>{if(p&&p.length&&i.validate(this.editor))if(p.length>1)this.addDecoration(new pb.a(b.lineNumber,e.startColumn,b.lineNumber,e.endColumn),new $a().appendText($.a("multipleResults","Click to show {0} definitions.",p.length)));else{let r=p[0];if(!r.uri)return;this.textModelResolverService.createModelReference(r.uri).then(O=>{if(!O.object||!O.object.textEditorModel)return void O.dispose();const{object:{textEditorModel:ha}}=O,{startLineNumber:ja}=r.range;if(ja<1||ja>ha.getLineCount())return void O.dispose();const la=this.getPreviewValue(ha,ja,r);let Wa;Wa=r.originSelectionRange?pb.a.lift(r.originSelectionRange):new pb.a(b.lineNumber,e.startColumn,b.lineNumber,e.endColumn);const Db=this.modeService.getModeIdByFilepathOrFirstLine(ha.uri);this.addDecoration(Wa,new $a().appendCodeblock(Db||"",la)),O.dispose()})}else this.removeLinkDecorations()}).then(void 0,La.e)}getPreviewValue(b,c,e){let i=e.targetSelectionRange?e.range:this.getPreviewRangeBasedOnBrackets(b,c);return i.endLineNumber-i.startLineNumber>=a.MAX_SOURCE_PREVIEW_LINES&&(i=this.getPreviewRangeBasedOnIndentation(b,c)),this.stripIndentationFromPreviewRange(b,c,i)}stripIndentationFromPreviewRange(b,c,e){let i=b.getLineFirstNonWhitespaceColumn(c);for(let p=c+1;p<e.endLineNumber;p++){const r=b.getLineFirstNonWhitespaceColumn(p);i=Math.min(i,r)}return b.getValueInRange(e).replace(new RegExp(`^\\s{${i-1}}`,"gm"),"").trim()}getPreviewRangeBasedOnIndentation(b,c){const e=b.getLineFirstNonWhitespaceColumn(c),i=Math.min(b.getLineCount(),c+a.MAX_SOURCE_PREVIEW_LINES);let p=c+1;for(;p<i;p++)if(e===b.getLineFirstNonWhitespaceColumn(p))break;return new pb.a(c,1,p+1,1)}getPreviewRangeBasedOnBrackets(b,c){const e=Math.min(b.getLineCount(),c+a.MAX_SOURCE_PREVIEW_LINES),i=[];let p=!0,r=b.findNextBracket(new Fc.a(c,1));for(;null!==r;){if(0===i.length)i.push(r);else{const la=i[i.length-1];if(la.open[0]===r.open[0]&&la.isOpen&&!r.isOpen?i.pop():i.push(r),0===i.length){if(!p)return new pb.a(c,1,r.range.endLineNumber+1,1);p=!1}}const O=b.getLineMaxColumn(c);let ha=r.range.endLineNumber,ja=r.range.endColumn;if(O===r.range.endColumn&&(ha++,ja=1),ha>e)return new pb.a(c,1,e+1,1);r=b.findNextBracket(new Fc.a(ha,ja))}return new pb.a(c,1,e+1,1)}addDecoration(b,c){const e={range:b,options:{inlineClassName:"goto-definition-link",hoverMessage:c}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[e])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(b,c){return this.editor.hasModel()&&b.isNoneOrSingleMouseDown&&6===b.target.type&&(b.hasTriggerModifier||!!c&&c.keyCodeIsTriggerKey)&&W.f.has(this.editor.getModel())}findDefinition(b,c){const e=this.editor.getModel();return e?Gk(e,b,c):Promise.resolve(null)}gotoDefinition(b,c){return this.editor.setPosition(b),this.editor.invokeWithinContext(e=>{const i=!c&&this.editor.getOption(69)&&!this.isInPeekEditor(e);return new Yj({openToSide:c,openInPeek:i,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(e,this.editor)})}isInPeekEditor(b){const c=b.get(I.b);return Ue.inPeekEditor.getValue(c)}dispose(){this.toUnhook.dispose()}};zi.ID="editor.contrib.gotodefinitionatposition",zi.MAX_SOURCE_PREVIEW_LINES=8,zi=Rn([cm(1,Qb.a),cm(2,Xh.a)],zi),Object(ba.m)(zi.ID,zi),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.r);c&&b.addRule(`.monaco-editor .goto-definition-link { color: ${c} !important; }`)}),f(311);var Mk,_j=f(105),$j=f(68);(Mk||(Mk={})).className=function(a){switch(a){case $j.a.Ignore:return"severity-ignore "+va.a.info.classNames;case $j.a.Info:return va.a.info.classNames;case $j.a.Warning:return va.a.warning.classNames;case $j.a.Error:return va.a.error.classNames;default:return""}},Object(Oa.g)((a,b)=>{const c=a.getColor(Va.Zb);if(c){const p=va.a.error.cssSelector;b.addRule(` - .monaco-editor .zone-widget ${p}, - .markers-panel .marker-icon${p}, - .extensions-viewlet > .extensions ${p} { - color: ${c}; + `)});var Zs=o(135);class ca extends $.b{constructor(){super({id:"editor.action.fontZoomIn",label:G.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})}run(e,t){Zs.a.setZoomLevel(Zs.a.getZoomLevel()+1)}}class Da extends $.b{constructor(){super({id:"editor.action.fontZoomOut",label:G.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})}run(e,t){Zs.a.setZoomLevel(Zs.a.getZoomLevel()-1)}}class ao extends $.b{constructor(){super({id:"editor.action.fontZoomReset",label:G.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})}run(e,t){Zs.a.setZoomLevel(0)}}Object($.k)(ca),Object($.k)(Da),Object($.k)(ao);var Xs=o(76),Rs=o(96),Zr=o(112);class Qs{static _handleEolEdits(e,t){let n,r=[];for(let d of t)typeof d.eol=="number"&&(n=d.eol),d.range&&typeof d.text=="string"&&r.push(d);return typeof n=="number"&&e.hasModel()&&e.getModel().pushEOL(n),r}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;let n=e.getModel(),r=n.validateRange(t.range);return n.getFullModelRange().equalsRange(r)}static execute(e,t,n){n&&e.pushUndoStop();let r=Qs._handleEolEdits(e,t);r.length===1&&Qs._isFullModelReplaceEdit(e,r[0])?e.executeEdits("formatEditsCommand",r.map(d=>Cn.a.replace(gt.a.lift(d.range),d.text))):e.executeEdits("formatEditsCommand",r.map(d=>Cn.a.replaceMove(gt.a.lift(d.range),d.text))),n&&e.pushUndoStop()}}class Aa{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return typeof e=="string"?e.toLowerCase():e._lower}}var Sl=o(53),Ka=o(37),Js=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};function Ga(u){if(!(u=u.filter(r=>r.range)).length)return;let{range:e}=u[0];for(let r=1;r<u.length;r++)e=gt.a.plusRange(e,u[r].range);let{startLineNumber:t,endLineNumber:n}=e;t===n?u.length===1?Object(_i.a)(G.a("hint11","Made 1 formatting edit on line {0}",t)):Object(_i.a)(G.a("hintn1","Made {0} formatting edits on line {1}",u.length,t)):u.length===1?Object(_i.a)(G.a("hint1n","Made 1 formatting edit between lines {0} and {1}",t,n)):Object(_i.a)(G.a("hintnn","Made {0} formatting edits between lines {1} and {2}",u.length,t,n))}function Jl(u){let e=[],t=new Set,n=I.g.ordered(u);for(let d of n)e.push(d),d.extensionId&&t.add(Aa.toKey(d.extensionId));let r=I.j.ordered(u);for(let d of r){if(d.extensionId){if(t.has(Aa.toKey(d.extensionId)))continue;t.add(Aa.toKey(d.extensionId))}e.push({displayName:d.displayName,extensionId:d.extensionId,provideDocumentFormattingEdits:(m,O,re)=>d.provideDocumentRangeFormattingEdits(m,m.getFullModelRange(),O,re)})}return e}class ea{static select(e,t,n){return Js(this,void 0,void 0,function*(){if(e.length===0)return;let r=Ka.a.first(ea._selectors);return r?yield r(e,t,n):e[0]})}}function Ya(u,e,t,n,r,d){return Js(this,void 0,void 0,function*(){let m=u.get(X.a),O=Object(Zr.b)(e)?e.getModel():e,re=I.j.ordered(O),oe=yield ea.select(re,O,n);oe&&(r.report(oe),yield m.invokeFunction(Nc,oe,e,t,d))})}function Nc(u,e,t,n,r){return Js(this,void 0,void 0,function*(){let d=u.get(Rs.a),m,O;Object(Zr.b)(t)?(m=t.getModel(),O=new qt.b(t,5,void 0,r)):(m=t,O=new qt.d(t,r));let re=[],oe=0;for(let Me of Object(ee.b)(n).sort(gt.a.compareRangesUsingStarts))oe>0&>.a.areIntersectingOrTouching(re[oe-1],Me)?re[oe-1]=gt.a.fromPositions(re[oe-1].getStartPosition(),Me.getEndPosition()):oe=re.push(Me);let ce=[];for(let Me of re)try{let Ct=yield e.provideDocumentRangeFormattingEdits(m,Me,m.getFormattingOptions(),O.token),Ut=yield d.computeMoreMinimalEdits(m.uri,Ct);if(Ut&&ce.push(...Ut),O.token.isCancellationRequested)return!0}finally{O.dispose()}if(ce.length===0)return!1;if(Object(Zr.b)(t))Qs.execute(t,ce,!0),Ga(ce),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1);else{let[{range:Me}]=ce,Ct=new J.a(Me.startLineNumber,Me.startColumn,Me.endLineNumber,Me.endColumn);m.pushEditOperations([Ct],ce.map(Ut=>({text:Ut.text,range:gt.a.lift(Ut.range),forceMoveMarkers:!0})),Ut=>{for(let{range:St}of Ut)if(gt.a.areIntersectingOrTouching(St,Ct))return[new J.a(St.startLineNumber,St.startColumn,St.endLineNumber,St.endColumn)];return null})}return!0})}function Ic(u,e,t,n,r){return Js(this,void 0,void 0,function*(){let d=u.get(X.a),m=Object(Zr.b)(e)?e.getModel():e,O=Jl(m),re=yield ea.select(O,m,t);re&&(n.report(re),yield d.invokeFunction(Oc,re,e,t,r))})}function Oc(u,e,t,n,r){return Js(this,void 0,void 0,function*(){let d=u.get(Rs.a),m,O,re;Object(Zr.b)(t)?(m=t.getModel(),O=new qt.b(t,5,void 0,r)):(m=t,O=new qt.d(t,r));try{let oe=yield e.provideDocumentFormattingEdits(m,m.getFormattingOptions(),O.token);if(re=yield d.computeMoreMinimalEdits(m.uri,oe),O.token.isCancellationRequested)return!0}finally{O.dispose()}if(!re||re.length===0)return!1;if(Object(Zr.b)(t))Qs.execute(t,re,n!==2),n!==2&&(Ga(re),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1));else{let[{range:oe}]=re,ce=new J.a(oe.startLineNumber,oe.startColumn,oe.endLineNumber,oe.endColumn);m.pushEditOperations([ce],re.map(Me=>({text:Me.text,range:gt.a.lift(Me.range),forceMoveMarkers:!0})),Me=>{for(let{range:Ct}of Me)if(gt.a.areIntersectingOrTouching(Ct,ce))return[new J.a(Ct.startLineNumber,Ct.startColumn,Ct.endLineNumber,Ct.endColumn)];return null})}return!0})}function x(u,e,t,n,r){let d=I.t.ordered(e);return d.length===0||d[0].autoFormatTriggerCharacters.indexOf(n)<0?Promise.resolve(void 0):Promise.resolve(d[0].provideOnTypeFormattingEdits(e,t,n,r,On.a.None)).catch(Oe.f).then(m=>u.computeMoreMinimalEdits(e.uri,m))}ea._selectors=new Sl.a,Ee.a.registerCommand("_executeFormatRangeProvider",function(u,...e){let[t,n,r]=e;Object(to.b)(Dn.a.isUri(t)),Object(to.b)(gt.a.isIRange(n));let d=u.get(ne.a).getModel(t);if(!d)throw Object(Oe.b)("resource");return function(m,O,re,oe,ce){return Js(this,void 0,void 0,function*(){let Me=I.j.ordered(O);for(let Ct of Me){let Ut=yield Promise.resolve(Ct.provideDocumentRangeFormattingEdits(O,re,oe,ce)).catch(Oe.f);if(Object(ee.o)(Ut))return yield m.computeMoreMinimalEdits(O.uri,Ut)}})}(u.get(Rs.a),d,gt.a.lift(n),r,On.a.None)}),Ee.a.registerCommand("_executeFormatDocumentProvider",function(u,...e){let[t,n]=e;Object(to.b)(Dn.a.isUri(t));let r=u.get(ne.a).getModel(t);if(!r)throw Object(Oe.b)("resource");return function(d,m,O,re){return Js(this,void 0,void 0,function*(){let oe=Jl(m);for(let ce of oe){let Me=yield Promise.resolve(ce.provideDocumentFormattingEdits(m,O,re)).catch(Oe.f);if(Object(ee.o)(Me))return yield d.computeMoreMinimalEdits(m.uri,Me)}})}(u.get(Rs.a),r,n,On.a.None)}),Ee.a.registerCommand("_executeFormatOnTypeProvider",function(u,...e){let[t,n,r,d]=e;Object(to.b)(Dn.a.isUri(t)),Object(to.b)(Di.a.isIPosition(n)),Object(to.b)(typeof r=="string");let m=u.get(ne.a).getModel(t);if(!m)throw Object(Oe.b)("resource");return x(u.get(Rs.a),m,Di.a.lift(n),r,d)});var c=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},p=function(u,e){return function(t,n){e(t,n,u)}},F=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let pe=class{constructor(u,e){this._workerService=e,this._callOnDispose=new Lt.b,this._callOnModel=new Lt.b,this._editor=u,this._callOnDispose.add(u.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(u.onDidChangeModel(()=>this._update())),this._callOnDispose.add(u.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(I.t.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),!this._editor.getOption(41)||!this._editor.hasModel())return;let u=this._editor.getModel(),[e]=I.t.ordered(u);if(!e||!e.autoFormatTriggerCharacters)return;let t=new Xs.b;for(let n of e.autoFormatTriggerCharacters)t.add(n.charCodeAt(0));this._callOnModel.add(this._editor.onDidType(n=>{let r=n.charCodeAt(n.length-1);t.has(r)&&this._trigger(String.fromCharCode(r))}))}_trigger(u){if(!this._editor.hasModel()||this._editor.getSelections().length>1)return;let e=this._editor.getModel(),t=this._editor.getPosition(),n=!1,r=this._editor.onDidChangeModelContent(d=>{if(d.isFlush)return n=!0,void r.dispose();for(let m=0,O=d.changes.length;m<O;m++)if(d.changes[m].range.endLineNumber<=t.lineNumber)return n=!0,void r.dispose()});x(this._workerService,e,t,u,e.getFormattingOptions()).then(d=>{r.dispose(),n||Object(ee.o)(d)&&(Qs.execute(this._editor,d,!0),Ga(d))},d=>{throw r.dispose(),d})}};pe.ID="editor.contrib.autoFormat",pe=c([p(1,Rs.a)],pe);let He=class{constructor(u,e){this.editor=u,this._instantiationService=e,this._callOnDispose=new Lt.b,this._callOnModel=new Lt.b,this._callOnDispose.add(u.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(u.onDidChangeModel(()=>this._update())),this._callOnDispose.add(u.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(I.j.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(40)&&this.editor.hasModel()&&I.j.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:u})=>this._trigger(u)))}_trigger(u){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(Ya,this.editor,u,2,ot.b.None,On.a.None).catch(Oe.e))}};He.ID="editor.contrib.formatOnPaste",He=c([p(1,X.a)],He);class Qe extends $.b{constructor(){super({id:"editor.action.formatDocument",label:G.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:A.a.and(z.a.notInCompositeEditor,z.a.writable,z.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:A.a.and(z.a.editorTextFocus,z.a.hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{when:z.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})}run(e,t){return F(this,void 0,void 0,function*(){if(t.hasModel()){let n=e.get(X.a);yield e.get(ot.a).showWhile(n.invokeFunction(Ic,t,1,ot.b.None,On.a.None),250)}})}}class Vt extends $.b{constructor(){super({id:"editor.action.formatSelection",label:G.a("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:A.a.and(z.a.writable,z.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:A.a.and(z.a.editorTextFocus,z.a.hasDocumentSelectionFormattingProvider),primary:Object(Se.a)(2089,2084),weight:100},contextMenuOpts:{when:A.a.and(z.a.hasDocumentSelectionFormattingProvider,z.a.hasNonEmptySelection),group:"1_modification",order:1.31}})}run(e,t){return F(this,void 0,void 0,function*(){if(!t.hasModel())return;let n=e.get(X.a),r=t.getModel(),d=t.getSelections().map(O=>O.isEmpty()?new gt.a(O.startLineNumber,1,O.startLineNumber,r.getLineMaxColumn(O.startLineNumber)):O);yield e.get(ot.a).showWhile(n.invokeFunction(Ya,t,d,1,ot.b.None,On.a.None),250)})}}Object($.m)(pe.ID,pe),Object($.m)(He.ID,He),Object($.k)(Qe),Object($.k)(Vt),Ee.a.registerCommand("editor.action.format",u=>F(void 0,void 0,void 0,function*(){let e=u.get(Si.a).getFocusedCodeEditor();if(!e||!e.hasModel())return;let t=u.get(Ee.b);e.getSelection().isEmpty()?yield t.executeCommand("editor.action.formatDocument"):yield t.executeCommand("editor.action.formatSelection")}));var $t=o(122),ci=o(118);class Ft{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let n;typeof e=="string"?n=`${t.id}/${e}`:(n=`${t.id}/${e.name}`,t.children.get(n)!==void 0&&(n=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let r=n;for(let d=0;t.children.get(r)!==void 0;d++)r=`${n}_${d}`;return r}static empty(e){return e.children.size===0}}class Fi extends Ft{constructor(e,t,n){super(),this.id=e,this.parent=t,this.symbol=n,this.children=new Map}}class cn extends Ft{constructor(e,t,n,r){super(),this.id=e,this.parent=t,this.label=n,this.order=r,this.children=new Map}}class vn extends Ft{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t){let n=this._keys.for(e,!0),r=vn._requests.get(n);if(!r){let d=new On.b;r={promiseCnt:0,source:d,promise:vn._create(e,d.token),model:void 0},vn._requests.set(n,r);let m=Date.now();r.promise.then(()=>{let O=this._keys.for(e,!1),re=this._requestDurations.get(O);re||(re=new ci.a,this._requestDurations.set(O,re)),re.update(Date.now()-m)})}return r.model?Promise.resolve(r.model):(r.promiseCnt+=1,t.onCancellationRequested(()=>{--r.promiseCnt==0&&(r.source.cancel(),vn._requests.delete(n))}),new Promise((d,m)=>{r.promise.then(O=>{r.model=O,d(O)},O=>{vn._requests.delete(n),m(O)})}))}static _create(e,t){let n=new On.b(t),r=new vn(e.uri),d=I.m.ordered(e),m=d.map((re,oe)=>{var ce;let Me=Ft.findId("provider_"+oe,r),Ct=new cn(Me,r,(ce=re.displayName)!==null&&ce!==void 0?ce:"Unknown Outline Provider",oe);return Promise.resolve(re.provideDocumentSymbols(e,n.token)).then(Ut=>{for(let St of Ut||[])vn._makeOutlineElement(St,Ct);return Ct},Ut=>(Object(Oe.f)(Ut),Ct)).then(Ut=>{Ft.empty(Ut)?Ut.remove():r._groups.set(Me,Ut)})}),O=I.m.onDidChange(()=>{let re=I.m.ordered(e);Object(ee.g)(re,d)||n.cancel()});return Promise.all(m).then(()=>n.token.isCancellationRequested&&!t.isCancellationRequested?vn._create(e,t):r._compact()).finally(()=>{O.dispose()})}static _makeOutlineElement(e,t){let n=Ft.findId(e,t),r=new Fi(n,t,e);if(e.children)for(let d of e.children)vn._makeOutlineElement(d,r);t.children.set(r.id,r)}_compact(){let e=0;for(let[t,n]of this._groups)n.children.size===0?this._groups.delete(t):e+=1;if(e!==1)this.children=this._groups;else{let t=Ka.a.first(this._groups.values());for(let[,n]of t.children)n.parent=this,this.children.set(n.id,n)}return this}}vn._requestDurations=new Rn.a(50,.7),vn._requests=new Rn.a(9,.75),vn._keys=new class{constructor(){this._counter=1,this._data=new WeakMap}for(u,e){return`${u.id}/${e?u.getVersionId():""}/${this._hash(I.m.all(u))}`}_hash(u){let e="";for(let t of u){let n=this._data.get(t);n===void 0&&(n=this._counter++,this._data.set(t,n)),e+=n}return e}};var rn=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};function Pn(u,e,t){return rn(this,void 0,void 0,function*(){let n=yield vn.create(u,t),r=[];for(let m of n.children.values())m instanceof Fi?r.push(m.symbol):r.push(...Ka.a.map(m.children.values(),O=>O.symbol));let d=[];return t.isCancellationRequested?d:(e?function m(O,re,oe){for(let ce of re)O.push({kind:ce.kind,tags:ce.tags,name:ce.name,detail:ce.detail,containerName:ce.containerName||oe,range:ce.range,selectionRange:ce.selectionRange,children:void 0}),ce.children&&m(O,ce.children,ce.name)}(d,r,""):d=r,d.sort(jn))})}function jn(u,e){return gt.a.compareRangesUsingStarts(u.range,e.range)}Ee.a.registerCommand("_executeDocumentSymbolProvider",function(u,...e){return rn(this,void 0,void 0,function*(){let[t]=e;Object(to.b)(Dn.a.isUri(t));let n=u.get(ne.a).getModel(t);if(n)return Pn(n,!1,On.a.None);let r=yield u.get($t.a).createModelReference(t);try{return yield Pn(r.object.textEditorModel,!1,On.a.None)}finally{r.dispose()}})}),o(300);var Vn=o(116),Ln=o(46),mo=o(80),yo=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},fo=function(u,e){return function(t,n){e(t,n,u)}};let To=class extends fe.a{constructor(u,e,t,n,r,d,m,O,re,oe){super(u,Object.assign(Object.assign({},t.getRawOptions()),{overflowWidgetsDomNode:t.getOverflowWidgetsDomNode()}),{},n,r,d,m,O,re,oe),this._parentEditor=t,this._overwriteOptions=e,super.updateOptions(this._overwriteOptions),this._register(t.onDidChangeConfiguration(ce=>this._onParentConfigurationChanged(ce)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(u){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(u){Ln.g(this._overwriteOptions,u,!0),super.updateOptions(this._overwriteOptions)}};To=yo([fo(3,X.a),fo(4,Si.a),fo(5,Ee.b),fo(6,A.b),fo(7,ut.c),fo(8,Re.a),fo(9,mo.b)],To),o(302);var Co=o(147);let Wo=new Kn.a(new Kn.c(0,122,204)),Sr={showArrow:!0,showFrame:!0,className:"",frameColor:Wo,arrowColor:Wo,keepEditorSelection:!1};class _s{constructor(e,t,n,r,d,m){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=n,this.heightInLines=r,this._onDomNodeTop=d,this._onComputedHeight=m}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class Ra{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class rs{constructor(e){this._editor=e,this._ruleName=rs._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),ae.P(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){ae.P(this._ruleName),ae.u(".monaco-editor "+this._ruleName,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:gt.a.fromPositions(e),options:{className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}rs._IdGenerator=new Co.a(".arrow-decoration-");var tr=o(44),da=(o(199),o(67));class ec extends Ge.b{constructor(e,t){super(),this._onDidChangeVisibility=new rt.a,this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Object(ae.p)(e,Object(ae.a)(".monaco-dropdown")),this._label=Object(ae.p)(this._element,Object(ae.a)(".dropdown-label"));let n=t.labelRenderer;n||(n=d=>(d.textContent=t.label||"",null));for(let d of[ae.c.CLICK,ae.c.MOUSE_DOWN,zt.a.Tap])this._register(Object(ae.i)(this.element,d,m=>ae.b.stop(m,!0)));for(let d of[ae.c.MOUSE_DOWN,zt.a.Tap])this._register(Object(ae.i)(this._label,d,m=>{m instanceof MouseEvent&&m.detail>1||(this.visible?this.hide():this.show())}));this._register(Object(ae.i)(this._label,ae.c.KEY_UP,d=>{let m=new da.a(d);(m.equals(3)||m.equals(10))&&(ae.b.stop(d,!0),this.visible?this.hide():this.show())}));let r=n(this._label);r&&this._register(r),this._register(zt.b.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class ta extends ec{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),Object(ae.e)(this.element,"active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),Object(ae.Q)(this.element,"active")}}class Pr extends br.b{constructor(e,t,n,r={}){super(null,e,r),this.options=r,this._onDidChangeVisibility=this._register(new rt.a),this.menuActionsOrProvider=t,this.contextMenuProvider=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){let t={contextMenuProvider:this.contextMenuProvider,labelRenderer:n=>{this.element=Object(ae.p)(n,Object(ae.a)("a.action-label"));let r=this.options.classNames?Object(ee.b)(this.options.classNames):[];return r.find(d=>d==="icon")||r.push("codicon"),Object(ae.f)(this.element,...r),this.element.tabIndex=0,this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild};if(Array.isArray(this.menuActionsOrProvider)?t.actions=this.menuActionsOrProvider:t.actionProvider=this.menuActionsOrProvider,this.dropdownMenu=this._register(new ta(e,t)),this._register(this.dropdownMenu.onDidChangeVisibility(n=>{var r;(r=this.element)===null||r===void 0||r.setAttribute("aria-expanded",""+n),this._onDidChangeVisibility.fire(n)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){let n=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return n.options.anchorAlignmentProvider()}})}}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}}var Za=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Ma=function(u,e){return function(t,n){e(t,n,u)}};class ha extends rt.a{constructor(e){super(),this._subscriptions=new Lt.b,this._isPressed=!1,this._suppressAltKeyUp=!1,this._subscriptions.add(Object(tr.a)(document.body,"keydown")(t=>{this.isPressed=t.altKey||(Et.i||Et.d)&&t.shiftKey})),this._subscriptions.add(Object(tr.a)(document.body,"keyup")(t=>{this.isPressed&&this._suppressAltKeyUp&&t.preventDefault(),this._suppressAltKeyUp=!1,this.isPressed=!1})),this._subscriptions.add(Object(tr.a)(document.body,"mouseleave")(t=>this.isPressed=!1)),this._subscriptions.add(Object(tr.a)(document.body,"blur")(t=>this.isPressed=!1)),this._subscriptions.add(e.onDidContextMenu(()=>this.isPressed=!1))}get isPressed(){return this._isPressed}set isPressed(e){this._isPressed=e,this.fire(this._isPressed)}suppressAltKeyUp(){this._suppressAltKeyUp=!0}static getInstance(e){return ha.instance||(ha.instance=new ha(e)),ha.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function ua(u,e,t,n){let r=u.getActions(e);return function(d,m,O,re=oe=>oe==="navigation"){for(let oe of d){let[ce,Me]=oe;if(O&&(Me=Me.map(Ct=>Ct instanceof ze.c&&Ct.alt?Ct.alt:Ct)),re(ce))(Array.isArray(m)?m:m.primary).unshift(...Me);else{let Ct=Array.isArray(m)?m:m.secondary;Ct.length>0&&Ct.push(new Ge.c),Ct.push(...Me)}}}(r,t,!1,n),function(d){let m=new Lt.b;for(let[,O]of d)for(let re of O)m.add(re);return m}(r)}let kl=new Co.a("menu-item-action-item-icon-"),Ms=new Map,Pa=class extends br.a{constructor(u,e,t,n){super(void 0,u,{icon:!(!u.class&&!u.item.icon),label:!u.class&&!u.item.icon}),this._action=u,this._keybindingService=e,this._notificationService=t,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new Lt.d),this._altKey=ha.getInstance(n)}get _commandAction(){return this._wantsAltCommand&&this._action.alt||this._action}onClick(u){u.preventDefault(),u.stopPropagation(),this._altKey.isPressed&&this._altKey.suppressAltKeyUp(),this.actionRunner.run(this._commandAction,this._context).then(void 0,e=>this._notificationService.error(e))}render(u){super.render(u),this._updateItemClass(this._action.item);let e=!1,t=this._altKey.isPressed,n=()=>{let r=e&&t;r!==this._wantsAltCommand&&(this._wantsAltCommand=r,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._action.alt&&this._register(this._altKey.event(r=>{t=r,n()})),this._register(Object(tr.a)(u,"mouseleave")(r=>{e=!1,n()})),this._register(Object(tr.a)(u,"mouseenter")(r=>{e=!0,n()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){let u=this._keybindingService.lookupKeybinding(this._commandAction.id),e=u&&u.getLabel(),t=this._commandAction.tooltip||this._commandAction.label;this.label.title=e?Object(G.a)("titleAndKb","{0} ({1})",t,e):t}}updateClass(){this.options.icon&&(this._commandAction!==this._action?this._action.alt&&this._updateItemClass(this._action.alt.item):this._action.alt&&this._updateItemClass(this._action.item))}_updateItemClass(u){var e,t;this._itemClassDispose.value=void 0;let n=this._commandAction.checked&&((e=u.toggled)===null||e===void 0?void 0:e.icon)?u.toggled.icon:u.icon;if(ut.e.isThemeIcon(n)){let r=ut.e.asClassName(n);this.label&&r&&(Object(ae.f)(this.label,r),this._itemClassDispose.value=Object(Lt.h)(()=>{this.label&&Object(ae.R)(this.label,r)}))}else if(n){let r;if((t=n.dark)===null||t===void 0?void 0:t.scheme){let d=n.dark.toString();Ms.has(d)?r=Ms.get(d):(r=kl.nextId(),Object(ae.u)(".icon."+r,"background-image: "+Object(ae.q)(n.light||n.dark)),Object(ae.u)(`.vs-dark .icon.${r}, .hc-black .icon.${r}`,"background-image: "+Object(ae.q)(n.dark)),Ms.set(d,r)),this.label&&(Object(ae.f)(this.label,"icon",r),this._itemClassDispose.value=Object(Lt.h)(()=>{this.label&&Object(ae.R)(this.label,"icon",r)}))}}}};Pa=Za([Ma(1,Dt.a),Ma(2,Re.a),Ma(3,lt.a)],Pa);let Xa=class extends Pr{constructor(u,e,t){var n;let r=[];if(u.item.icon){if(ut.e.isThemeIcon(u.item.icon))r.push(ut.e.asClassName(u.item.icon));else if((n=u.item.icon.dark)===null||n===void 0?void 0:n.scheme){let d=u.item.icon.dark.toString();if(Ms.has(d))r.push("icon",Ms.get(d));else{let m=kl.nextId();r.push("icon",m),Object(ae.u)(".icon."+m,"background-image: "+Object(ae.q)(u.item.icon.light||u.item.icon.dark)),Object(ae.u)(`.vs-dark .icon.${m}, .hc-black .icon.${m}`,"background-image: "+Object(ae.q)(u.item.icon.dark)),Ms.set(d,m)}}}super(u,u.actions,t,{classNames:r})}};Xa=Za([Ma(1,Re.a),Ma(2,lt.a)],Xa);var tc=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},El=function(u,e){return function(t,n){e(t,n,u)}};let Qa=Object(X.c)("IPeekViewService");var Jo,Ja;Object(In.b)(Qa,class{constructor(){this._widgets=new Map}addExclusiveWidget(u,e){let t=this._widgets.get(u);t&&(t.listener.dispose(),t.widget.dispose()),this._widgets.set(u,{widget:e,listener:e.onDidClose(()=>{let n=this._widgets.get(u);n&&n.widget===e&&(n.listener.dispose(),this._widgets.delete(u))})})}}),(Ja=Jo||(Jo={})).inPeekEditor=new A.c("inReferenceSearchEditor",!0),Ja.notInPeekEditor=Ja.inPeekEditor.toNegated();let pa=class{constructor(u,e){u instanceof To&&Jo.inPeekEditor.bindTo(e)}dispose(){}};pa.ID="editor.contrib.referenceController",pa=tc([El(1,A.b)],pa),Object($.m)(pa.ID,pa);let Tl={headerBackgroundColor:Kn.a.white,primaryHeadingColor:Kn.a.fromHex("#333333"),secondaryHeadingColor:Kn.a.fromHex("#6c6c6cb3")},el=class extends class{constructor(u,e={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new Lt.b,this.container=null,this._isShowing=!1,this.editor=u,this.options=Ln.c(e),Ln.g(this.options,Sr,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(t=>{let n=this._getWidth(t);this.domNode.style.width=n+"px",this.domNode.style.left=this._getLeft(t)+"px",this._onWidth(n)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(u=>{this._viewZone&&u.removeZone(this._viewZone.id),this._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new rs(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(u){u.frameColor&&(this.options.frameColor=u.frameColor),u.arrowColor&&(this.options.arrowColor=u.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let u=this.options.frameColor.toString();this.container.style.borderTopColor=u,this.container.style.borderBottomColor=u}if(this._arrow&&this.options.arrowColor){let u=this.options.arrowColor.toString();this._arrow.color=u}}_getWidth(u){return u.width-u.minimap.minimapWidth-u.verticalScrollbarWidth}_getLeft(u){return u.minimap.minimapWidth>0&&u.minimap.minimapLeft===0?u.minimap.minimapWidth:0}_onViewZoneTop(u){this.domNode.style.top=u+"px"}_onViewZoneHeight(u){if(this.domNode.style.height=u+"px",this.container){let e=u-this._decoratingElementsHeight();this.container.style.height=e+"px";let t=this.editor.getLayoutInfo();this._doLayout(e,this._getWidth(t))}this._resizeSash&&this._resizeSash.layout()}get position(){let[u]=this._positionMarkerId;if(!u)return;let e=this.editor.getModel();if(!e)return;let t=e.getDecorationRange(u);return t?t.getStartPosition():void 0}show(u,e){let t=gt.a.isIRange(u)?gt.a.lift(u):gt.a.fromPositions(u);this._isShowing=!0,this._showImpl(t,e),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:t,options:Rt.a.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones(u=>{this._viewZone&&u.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let u=this.editor.getOption(51),e=0;return this.options.showArrow&&(e+=2*Math.round(u/3)),this.options.showFrame&&(e+=2*Math.round(u/9)),e}_showImpl(u,e){let t=u.getStartPosition(),n=this.editor.getLayoutInfo(),r=this._getWidth(n);this.domNode.style.width=r+"px",this.domNode.style.left=this._getLeft(n)+"px";let d=document.createElement("div");d.style.overflow="hidden";let m=this.editor.getOption(51),O=Math.max(12,this.editor.getLayoutInfo().height/m*.8);e=Math.min(e,O);let re=0,oe=0;if(this._arrow&&this.options.showArrow&&(re=Math.round(m/3),this._arrow.height=re,this._arrow.show(t)),this.options.showFrame&&(oe=Math.round(m/9)),this.editor.changeViewZones(Ct=>{this._viewZone&&Ct.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new _s(d,t.lineNumber,t.column,e,Ut=>this._onViewZoneTop(Ut),Ut=>this._onViewZoneHeight(Ut)),this._viewZone.id=Ct.addZone(this._viewZone),this._overlayWidget=new Ra("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){let Ct=this.options.frameWidth?this.options.frameWidth:oe;this.container.style.borderTopWidth=Ct+"px",this.container.style.borderBottomWidth=Ct+"px"}let ce=e*m-this._decoratingElementsHeight();this.container&&(this.container.style.top=re+"px",this.container.style.height=ce+"px",this.container.style.overflow="hidden"),this._doLayout(ce,r),this.options.keepEditorSelection||this.editor.setSelection(u);let Me=this.editor.getModel();if(Me){let Ct=u.endLineNumber+1;Ct<=Me.getLineCount()?this.revealLine(Ct,!1):this.revealLine(Me.getLineCount(),!0)}}revealLine(u,e){e?this.editor.revealLineInCenter(u,0):this.editor.revealLine(u,0)}setCssClass(u,e){this.container&&(e&&this.container.classList.remove(e),ae.e(this.container,u))}_onWidth(u){}_doLayout(u,e){}_relayout(u){this._viewZone&&this._viewZone.heightInLines!==u&&this.editor.changeViewZones(e=>{this._viewZone&&(this._viewZone.heightInLines=u,e.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;let u;this._resizeSash=this._disposables.add(new ra.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(e=>{this._viewZone&&(u={startY:e.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{u=void 0})),this._disposables.add(this._resizeSash.onDidChange(e=>{if(u){let t=(e.currentY-u.startY)/this.editor.getOption(51),n=t<0?Math.ceil(t):Math.floor(t),r=u.heightInLines+n;r>5&&r<35&&this._relayout(r)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(this.domNode.style.height===null?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){let u=this.editor.getLayoutInfo();return u.width-u.minimap.minimapWidth}}{constructor(u,e,t){super(u,e),this.instantiationService=t,this._onDidClose=new rt.a,this.onDidClose=this._onDidClose.event,Ln.g(this.options,Tl,!1)}dispose(){super.dispose(),this._onDidClose.fire(this)}style(u){let e=this.options;u.headerBackgroundColor&&(e.headerBackgroundColor=u.headerBackgroundColor),u.primaryHeadingColor&&(e.primaryHeadingColor=u.primaryHeadingColor),u.secondaryHeadingColor&&(e.secondaryHeadingColor=u.secondaryHeadingColor),super.style(u)}_applyStyles(){super._applyStyles();let u=this.options;this._headElement&&u.headerBackgroundColor&&(this._headElement.style.backgroundColor=u.headerBackgroundColor.toString()),this._primaryHeading&&u.primaryHeadingColor&&(this._primaryHeading.style.color=u.primaryHeadingColor.toString()),this._secondaryHeading&&u.secondaryHeadingColor&&(this._secondaryHeading.style.color=u.secondaryHeadingColor.toString()),this._bodyElement&&u.frameColor&&(this._bodyElement.style.borderColor=u.frameColor.toString())}_fillContainer(u){this.setCssClass("peekview-widget"),this._headElement=ae.a(".head"),this._bodyElement=ae.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),u.appendChild(this._headElement),u.appendChild(this._bodyElement)}_fillHead(u,e){let t=ae.a(".peekview-title");ae.p(this._headElement,t),ae.n(t,"click",d=>this._onTitleClick(d)),this._fillTitleIcon(t),this._primaryHeading=ae.a("span.filename"),this._secondaryHeading=ae.a("span.dirname"),this._metaHeading=ae.a("span.meta"),ae.p(t,this._primaryHeading,this._secondaryHeading,this._metaHeading);let n=ae.a(".peekview-actions");ae.p(this._headElement,n);let r=this._getActionBarOptions();this._actionbarWidget=new Vn.a(n,r),this._disposables.add(this._actionbarWidget),e||this._actionbarWidget.push(new Ge.a("peekview.close",G.a("label.close","Close"),de.a.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(u){}_getActionBarOptions(){return{actionViewItemProvider:u=>u instanceof ze.c?this.instantiationService.createInstance(Pa,u):u instanceof ze.e?this.instantiationService.createInstance(Xa,u):void 0}}_onTitleClick(u){}setTitle(u,e){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=u,this._primaryHeading.setAttribute("aria-label",u),e?this._secondaryHeading.innerText=e:ae.s(this._secondaryHeading))}setMetaTitle(u){this._metaHeading&&(u?(this._metaHeading.innerText=u,ae.Z(this._metaHeading)):ae.K(this._metaHeading))}_doLayout(u,e){if(!this._isShowing&&u<0)return void this.dispose();let t=Math.ceil(1.2*this.editor.getOption(51)),n=Math.round(u-(t+2));this._doLayoutHead(t,e),this._doLayoutBody(n,e)}_doLayoutHead(u,e){this._headElement&&(this._headElement.style.height=u+"px",this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(u,e){this._bodyElement&&(this._bodyElement.style.height=u+"px")}};el=tc([El(2,X.a)],el);let kr=Object(Ue.gc)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},G.a("peekViewTitleBackground","Background color of the peek view title area.")),Vo=Object(Ue.gc)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},G.a("peekViewTitleForeground","Color of the peek view title.")),Ll=Object(Ue.gc)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},G.a("peekViewTitleInfoForeground","Color of the peek view title info.")),Fr=Object(Ue.gc)("peekView.border",{dark:"#007acc",light:"#007acc",hc:Ue.h},G.a("peekViewBorder","Color of the peek view borders and arrow.")),vs=Object(Ue.gc)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:Kn.a.black},G.a("peekViewResultsBackground","Background color of the peek view result list.")),Ps=Object(Ue.gc)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:Kn.a.white},G.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),Qd=Object(Ue.gc)("peekViewResult.fileForeground",{dark:Kn.a.white,light:"#1E1E1E",hc:Kn.a.white},G.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Jd=Object(Ue.gc)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},G.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),eh=Object(Ue.gc)("peekViewResult.selectionForeground",{dark:Kn.a.white,light:"#6C6C6C",hc:Kn.a.white},G.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),ic=Object(Ue.gc)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:Kn.a.black},G.a("peekViewEditorBackground","Background color of the peek view editor.")),th=Object(Ue.gc)("peekViewEditorGutter.background",{dark:ic,light:ic,hc:ic},G.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),ih=Object(Ue.gc)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},G.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),nh=Object(Ue.gc)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},G.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),oh=Object(Ue.gc)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:Ue.b},G.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));var rh=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class ma{constructor(e,t,n,r,d){this.isProviderFirst=e,this.parent=t,this.uri=n,this._range=r,this._rangeCallback=d,this.id=Co.b.nextId()}get range(){return this._range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){return Object(G.a)("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(Be.b)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class me{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){let n=this._modelReference.object.textEditorModel;if(!n)return;let{startLineNumber:r,startColumn:d,endLineNumber:m,endColumn:O}=e,re=n.getWordUntilPosition({lineNumber:r,column:d-t}),oe=new gt.a(r,re.startColumn,r,d),ce=new gt.a(m,O,m,1073741824),Me=n.getValueInRange(oe).replace(/^\s+/,""),Ct=n.getValueInRange(e);return{value:Me+Ct+n.getValueInRange(ce).replace(/\s+$/,""),highlight:{start:Me.length,end:Me.length+Ct.length}}}}class s{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new Rn.b}dispose(){Object(Lt.f)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){let e=this.children.length;return e===1?Object(G.a)("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(Be.b)(this.uri),this.uri.fsPath):Object(G.a)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Object(Be.b)(this.uri),this.uri.fsPath)}resolve(e){return rh(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{let n=yield e.createModelReference(t.uri);this._previews.set(t.uri,new me(n))}catch(n){Object(Oe.e)(n)}return this})}}class v{constructor(e,t){this._disposables=new Lt.b,this.groups=[],this.references=[],this._onDidChangeReferenceRange=new rt.a,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;let[n]=e,r;e.sort(v._compareReferences);for(let d of e)if(r&&Be.e.isEqual(r.uri,d.uri,!0)||(r=new s(this,d.uri),this.groups.push(r)),r.children.length===0||v._compareReferences(d,r.children[r.children.length-1])!==0){let m=new ma(n===d,r,d.uri,d.targetSelectionRange||d.range,O=>this._onDidChangeReferenceRange.fire(O));this.references.push(m),r.children.push(m)}}dispose(){Object(Lt.f)(this.groups),this._disposables.dispose(),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new v(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?Object(G.a)("aria.result.0","No results found"):this.references.length===1?Object(G.a)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):this.groups.length===1?Object(G.a)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object(G.a)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:n}=e,r=n.children.indexOf(e),d=n.children.length,m=n.parent.groups.length;return m===1||t&&r+1<d||!t&&r>0?(r=t?(r+1)%d:(r+d-1)%d,n.children[r]):(r=n.parent.groups.indexOf(n),t?(r=(r+1)%m,n.parent.groups[r].children[0]):(r=(r+m-1)%m,n.parent.groups[r].children[n.parent.groups[r].children.length-1]))}nearestReference(e,t){let n=this.references.map((r,d)=>({idx:d,prefixLen:on.d(r.uri.toString(),e.toString()),offsetDist:100*Math.abs(r.range.startLineNumber-t.lineNumber)+Math.abs(r.range.startColumn-t.column)})).sort((r,d)=>r.prefixLen>d.prefixLen?-1:r.prefixLen<d.prefixLen?1:r.offsetDist<d.offsetDist?-1:r.offsetDist>d.offsetDist?1:0)[0];if(n)return this.references[n.idx]}referenceAt(e,t){for(let n of this.references)if(n.uri.toString()===e.toString()&>.a.containsPosition(n.range,t))return n}firstReference(){for(let e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return Be.e.compare(e.uri,t.uri)||gt.a.compareRangesUsingStarts(e.range,t.range)}}o(305);var M=o(45),be=o(172),Ne=o(185),De=o(159),je=o(93),mt=o(42);function It(u,e,t){if(typeof u=="string"&&(u=Dn.a.file(u)),t){let r=t.getWorkspaceFolder(u);if(r){let d=t.getWorkspace().folders.length>1,m;if(m=Object(Be.f)(r.uri,u)?"":Object(Be.j)(r.uri,u),d){let O=r.name?r.name:Object(Be.b)(r.uri);m=m?O+" \u2022 "+m:O}return m}}if(u.scheme!==M.b.file&&u.scheme!==M.b.untitled)return u.with({query:null,fragment:null}).toString(!0);if(Oi(u.fsPath))return Object(mt.d)(en(u.fsPath));let n=Object(mt.d)(u.fsPath);return!Et.i&&(e==null?void 0:e.userHome)&&(n=function(r,d){if(Et.i||!r||!d)return r;let m=tn.original===d?tn.normalized:void 0;return m||(m=`${Object(on.Q)(d,mt.e.sep)}${mt.e.sep}`,tn={original:d,normalized:m}),(Et.d?r.startsWith(m):Object(on.T)(r,m))&&(r="~/"+r.substr(m.length)),r}(n,e.userHome.fsPath)),n}function Qt(u){if(!u)return;typeof u=="string"&&(u=Dn.a.file(u));let e=Object(Be.b)(u)||(u.scheme===M.b.file?u.fsPath:u.path);return Oi(e)?en(e):e}function Oi(u){return!(!Et.i||!u||u[1]!==":")}function en(u){return Oi(u)?u.charAt(0).toUpperCase()+u.slice(1):u}let tn=Object.create(null);var kn=o(71),no=o(156),lo=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},uo=function(u,e){return function(t,n){e(t,n,u)}};let oo=class{constructor(u){this._resolverService=u}hasChildren(u){return u instanceof v||u instanceof s}getChildren(u){if(u instanceof v)return u.groups;if(u instanceof s)return u.resolve(this._resolverService).then(e=>e.children);throw new Error("bad tree")}};oo=lo([uo(0,$t.a)],oo);class io{getHeight(){return 23}getTemplateId(e){return e instanceof s?Er.id:Zn.id}}let mr=class{constructor(u){this._keybindingService=u}getKeyboardNavigationLabel(u){var e;if(u instanceof ma){let t=(e=u.parent.getPreview(u))===null||e===void 0?void 0:e.preview(u.range);if(t)return t.value}return Object(Be.b)(u.uri)}};mr=lo([uo(0,Dt.a)],mr);class Fa{getId(e){return e instanceof ma?e.id:e.uri}}let Yo=class extends Lt.a{constructor(u,e,t){super(),this._uriLabel=e;let n=document.createElement("div");n.classList.add("reference-file"),this.file=this._register(new be.a(n,{supportHighlights:!0})),this.badge=new Ne.a(ae.p(n,ae.a(".count"))),this._register(Object(je.a)(this.badge,t)),u.appendChild(n)}set(u,e){let t=Object(Be.d)(u.uri);this.file.setLabel(Qt(u.uri),this._uriLabel.getUriLabel(t,{relative:!0}),{title:this._uriLabel.getUriLabel(u.uri),matches:e});let n=u.children.length;this.badge.setCount(n),n>1?this.badge.setTitleFormat(Object(G.a)("referencesCount","{0} references",n)):this.badge.setTitleFormat(Object(G.a)("referenceCount","{0} reference",n))}};Yo=lo([uo(1,De.a),uo(2,ut.c)],Yo);let Er=class lm{constructor(e){this._instantiationService=e,this.templateId=lm.id}renderTemplate(e){return this._instantiationService.createInstance(Yo,e)}renderElement(e,t,n){n.set(e.element,Object(kn.c)(e.filterData))}disposeTemplate(e){e.dispose()}};Er.id="FileReferencesRenderer",Er=lo([uo(0,X.a)],Er);class go{constructor(e){this.label=new no.a(e,!1)}set(e,t){var n;let r=(n=e.parent.getPreview(e))===null||n===void 0?void 0:n.preview(e.range);if(r&&r.value){let{value:d,highlight:m}=r;t&&!kn.a.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(d,Object(kn.c)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(d,[m]))}else this.label.set(`${Object(Be.b)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Zn{constructor(){this.templateId=Zn.id}renderTemplate(e){return new go(e)}renderElement(e,t,n){n.set(e.element,e.filterData)}disposeTemplate(){}}Zn.id="OneReferenceRenderer";class Zo{getWidgetAriaLabel(){return Object(G.a)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var ws=o(136);o(307);let tl={separatorBorder:Kn.a.transparent};class ou{constructor(e,t,n,r){this.container=e,this.view=t,this.disposable=r,this._cachedVisibleSize=void 0,typeof n=="number"?(this._size=n,this._cachedVisibleSize=void 0,ae.e(e,"visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return this._cachedVisibleSize===void 0}setVisible(e,t){e!==this.visible&&(e?(this.size=Object(ci.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof t=="number"?t:this.size,this.size=0),ae.ab(this.container,"visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class Tm extends ou{layoutContainer(e){this.container.style.top=e+"px",this.container.style.height=this.size+"px"}}class Lm extends ou{layoutContainer(e){this.container.style.left=e+"px",this.container.style.width=this.size+"px"}}var Wa,nd;(function(u){u[u.Idle=0]="Idle",u[u.Busy=1]="Busy"})(Wa||(Wa={})),function(u){u.Distribute={type:"distribute"},u.Split=function(e){return{type:"split",index:e}},u.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}}}(nd||(nd={}));class Nm extends Lt.a{constructor(e,t={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=Wa.Idle,this._onDidSashChange=this._register(new rt.a),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new rt.a),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=to.k(t.orientation)?0:t.orientation,this.inverseAltBehavior=!!t.inverseAltBehavior,this.proportionalLayout=!!to.k(t.proportionalLayout)||!!t.proportionalLayout,this.el=document.createElement("div"),ae.e(this.el,"monaco-split-view2"),ae.e(this.el,this.orientation===0?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=ae.p(this.el,ae.a(".sash-container")),this.viewContainer=ae.p(this.el,ae.a(".split-view-container")),this.style(t.styles||tl),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((n,r)=>{let d=to.k(n.visible)||n.visible?n.size:{type:"invisible",cachedVisibleSize:n.size},m=n.view;this.doAddView(m,d,r,!0)}),this.contentSize=this.viewItems.reduce((n,r)=>n+r.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){for(let t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){for(let t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(ae.Q(this.el,"separator-border"),this.el.style.removeProperty("--separator-border")):(ae.e(this.el,"separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,n=this.viewItems.length,r){this.doAddView(e,t,n,r)}layout(e,t){let n=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let r=0;r<this.viewItems.length;r++){let d=this.viewItems[r];d.size=Object(ci.b)(Math.round(this.proportions[r]*e),d.minimumSize,d.maximumSize)}else{let r=Object(ee.s)(this.viewItems.length),d=r.filter(O=>this.viewItems[O].priority===1),m=r.filter(O=>this.viewItems[O].priority===2);this.resize(this.viewItems.length-1,e-n,void 0,d,m)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:n}){for(let O of this.viewItems)O.enabled=!1;let r=Object(ee.j)(this.sashItems,O=>O.sash===e),d=Object(Lt.e)(Object(tr.a)(document.body,"keydown")(O=>m(this.sashDragState.current,O.altKey)),Object(tr.a)(document.body,"keyup")(()=>m(this.sashDragState.current,!1))),m=(O,re)=>{let oe=this.viewItems.map(St=>St.size),ce,Me,Ct=Number.NEGATIVE_INFINITY,Ut=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(re=!re),re)if(r===this.sashItems.length-1){let St=this.viewItems[r];Ct=(St.minimumSize-St.size)/2,Ut=(St.maximumSize-St.size)/2}else{let St=this.viewItems[r+1];Ct=(St.size-St.maximumSize)/2,Ut=(St.size-St.minimumSize)/2}if(!re){let St=Object(ee.s)(r,-1),di=Object(ee.s)(r+1,this.viewItems.length),hi=St.reduce((fn,$n)=>fn+(this.viewItems[$n].minimumSize-oe[$n]),0),ji=St.reduce((fn,$n)=>fn+(this.viewItems[$n].viewMaximumSize-oe[$n]),0),Ji=di.length===0?Number.POSITIVE_INFINITY:di.reduce((fn,$n)=>fn+(oe[$n]-this.viewItems[$n].minimumSize),0),dn=di.length===0?Number.NEGATIVE_INFINITY:di.reduce((fn,$n)=>fn+(oe[$n]-this.viewItems[$n].viewMaximumSize),0),Ki=Math.max(hi,dn),yn=Math.min(Ji,ji),hn=this.findFirstSnapIndex(St),Qi=this.findFirstSnapIndex(di);if(typeof hn=="number"){let fn=this.viewItems[hn],$n=Math.floor(fn.viewMinimumSize/2);ce={index:hn,limitDelta:fn.visible?Ki-$n:Ki+$n,size:fn.size}}if(typeof Qi=="number"){let fn=this.viewItems[Qi],$n=Math.floor(fn.viewMinimumSize/2);Me={index:Qi,limitDelta:fn.visible?yn+$n:yn-$n,size:fn.size}}}this.sashDragState={start:O,current:O,index:r,sizes:oe,minDelta:Ct,maxDelta:Ut,alt:re,snapBefore:ce,snapAfter:Me,disposable:d}};m(t,n)}onSashChange({current:e}){let{index:t,start:n,sizes:r,alt:d,minDelta:m,maxDelta:O,snapBefore:re,snapAfter:oe}=this.sashDragState;this.sashDragState.current=e;let ce=e-n,Me=this.resize(t,ce,r,void 0,void 0,m,O,re,oe);if(d){let Ct=t===this.sashItems.length-1,Ut=this.viewItems.map(dn=>dn.size),St=Ct?t:t+1,di=this.viewItems[St],hi=di.size-di.maximumSize,ji=di.size-di.minimumSize,Ji=Ct?t-1:t+1;this.resize(Ji,-Me,Ut,void 0,void 0,hi,ji)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(let t of this.viewItems)t.enabled=!0}onViewChange(e,t){let n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t=typeof t=="number"?t:e.size,t=Object(ci.b)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))}resizeView(e,t){if(this.state!==Wa.Idle)throw new Error("Cant modify splitview");if(this.state=Wa.Busy,e<0||e>=this.viewItems.length)return;let n=Object(ee.s)(this.viewItems.length).filter(O=>O!==e),r=[...n.filter(O=>this.viewItems[O].priority===1),e],d=n.filter(O=>this.viewItems[O].priority===2),m=this.viewItems[e];t=Math.round(t),t=Object(ci.b)(t,m.minimumSize,Math.min(m.maximumSize,this.size)),m.size=t,this.relayout(r,d),this.state=Wa.Idle}distributeViewSizes(){let e=[],t=0;for(let O of this.viewItems)O.maximumSize-O.minimumSize>0&&(e.push(O),t+=O.size);let n=Math.floor(t/e.length);for(let O of e)O.size=Object(ci.b)(n,O.minimumSize,O.maximumSize);let r=Object(ee.s)(this.viewItems.length),d=r.filter(O=>this.viewItems[O].priority===1),m=r.filter(O=>this.viewItems[O].priority===2);this.relayout(d,m)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,n=this.viewItems.length,r){if(this.state!==Wa.Idle)throw new Error("Cant modify splitview");this.state=Wa.Busy;let d=ae.a(".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(d):this.viewContainer.insertBefore(d,this.viewContainer.children.item(n));let m=e.onDidChange(Ct=>this.onViewChange(ce,Ct)),O=Object(Lt.h)(()=>this.viewContainer.removeChild(d)),re=Object(Lt.e)(m,O),oe;oe=typeof t=="number"?t:t.type==="split"?this.getViewSize(t.index)/2:t.type==="invisible"?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;let ce=this.orientation===0?new Tm(d,e,oe,re):new Lm(d,e,oe,re);if(this.viewItems.splice(n,0,ce),this.viewItems.length>1){let Ct=this.orientation===0?new ra.a(this.sashContainer,{getHorizontalSashTop:Ki=>this.getSashPosition(Ki)},{orientation:1,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}):new ra.a(this.sashContainer,{getVerticalSashLeft:Ki=>this.getSashPosition(Ki)},{orientation:0,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),Ut=this.orientation===0?Ki=>({sash:Ct,start:Ki.startY,current:Ki.currentY,alt:Ki.altKey}):Ki=>({sash:Ct,start:Ki.startX,current:Ki.currentX,alt:Ki.altKey}),St=rt.b.map(Ct.onDidStart,Ut)(this.onSashStart,this),di=rt.b.map(Ct.onDidChange,Ut)(this.onSashChange,this),hi=rt.b.map(Ct.onDidEnd,()=>Object(ee.j)(this.sashItems,Ki=>Ki.sash===Ct))(this.onSashEnd,this),ji=Ct.onDidReset(()=>{let Ki=Object(ee.j)(this.sashItems,$n=>$n.sash===Ct),yn=Object(ee.s)(Ki,-1),hn=Object(ee.s)(Ki+1,this.viewItems.length),Qi=this.findFirstSnapIndex(yn),fn=this.findFirstSnapIndex(hn);(typeof Qi!="number"||this.viewItems[Qi].visible)&&(typeof fn!="number"||this.viewItems[fn].visible)&&this._onDidSashReset.fire(Ki)}),Ji=Object(Lt.e)(St,di,hi,ji,Ct),dn={sash:Ct,disposable:Ji};this.sashItems.splice(n-1,0,dn)}let Me;d.appendChild(e.element),typeof t!="number"&&t.type==="split"&&(Me=[t.index]),r||this.relayout([n],Me),this.state=Wa.Idle,r||typeof t=="number"||t.type!=="distribute"||this.distributeViewSizes()}relayout(e,t){let n=this.viewItems.reduce((r,d)=>r+d.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,n=this.viewItems.map(ce=>ce.size),r,d,m=Number.NEGATIVE_INFINITY,O=Number.POSITIVE_INFINITY,re,oe){if(e<0||e>=this.viewItems.length)return 0;let ce=Object(ee.s)(e,-1),Me=Object(ee.s)(e+1,this.viewItems.length);if(d)for(let Qi of d)Object(ee.r)(ce,Qi),Object(ee.r)(Me,Qi);if(r)for(let Qi of r)Object(ee.q)(ce,Qi),Object(ee.q)(Me,Qi);let Ct=ce.map(Qi=>this.viewItems[Qi]),Ut=ce.map(Qi=>n[Qi]),St=Me.map(Qi=>this.viewItems[Qi]),di=Me.map(Qi=>n[Qi]),hi=ce.reduce((Qi,fn)=>Qi+(this.viewItems[fn].minimumSize-n[fn]),0),ji=ce.reduce((Qi,fn)=>Qi+(this.viewItems[fn].maximumSize-n[fn]),0),Ji=Me.length===0?Number.POSITIVE_INFINITY:Me.reduce((Qi,fn)=>Qi+(n[fn]-this.viewItems[fn].minimumSize),0),dn=Me.length===0?Number.NEGATIVE_INFINITY:Me.reduce((Qi,fn)=>Qi+(n[fn]-this.viewItems[fn].maximumSize),0),Ki=Math.max(hi,dn,m),yn=Math.min(Ji,ji,O),hn=!1;if(re){let Qi=this.viewItems[re.index],fn=t>=re.limitDelta;hn=fn!==Qi.visible,Qi.setVisible(fn,re.size)}if(!hn&&oe){let Qi=this.viewItems[oe.index],fn=t<oe.limitDelta;hn=fn!==Qi.visible,Qi.setVisible(fn,oe.size)}if(hn)return this.resize(e,t,n,r,d,m,O);for(let Qi=0,fn=t=Object(ci.b)(t,Ki,yn);Qi<Ct.length;Qi++){let $n=Ct[Qi],bo=Object(ci.b)(Ut[Qi]+fn,$n.minimumSize,$n.maximumSize);fn-=bo-Ut[Qi],$n.size=bo}for(let Qi=0,fn=t;Qi<St.length;Qi++){let $n=St[Qi],bo=Object(ci.b)(di[Qi]-fn,$n.minimumSize,$n.maximumSize);fn+=bo-di[Qi],$n.size=bo}return t}distributeEmptySpace(e){let t=this.viewItems.reduce((O,re)=>O+re.size,0),n=this.size-t,r=Object(ee.s)(this.viewItems.length-1,-1),d=r.filter(O=>this.viewItems[O].priority===1),m=r.filter(O=>this.viewItems[O].priority===2);for(let O of m)Object(ee.r)(r,O);for(let O of d)Object(ee.q)(r,O);typeof e=="number"&&Object(ee.q)(r,e);for(let O=0;n!==0&&O<r.length;O++){let re=this.viewItems[r[O]],oe=Object(ci.b)(re.size+n,re.minimumSize,re.maximumSize);n-=oe-re.size,re.size=oe}}layoutViews(){this.contentSize=this.viewItems.reduce((t,n)=>t+n.size,0);let e=0;for(let t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(t=>t.sash.layout()),this.updateSashEnablement()}updateSashEnablement(){let e=!1,t=this.viewItems.map(re=>e=re.size-re.minimumSize>0||e);e=!1;let n=this.viewItems.map(re=>e=re.maximumSize-re.size>0||e),r=[...this.viewItems].reverse();e=!1;let d=r.map(re=>e=re.size-re.minimumSize>0||e).reverse();e=!1;let m=r.map(re=>e=re.maximumSize-re.size>0||e).reverse(),O=0;for(let re=0;re<this.sashItems.length;re++){let{sash:oe}=this.sashItems[re];O+=this.viewItems[re].size;let ce=!(t[re]&&m[re+1]),Me=!(n[re]&&d[re+1]);if(ce&&Me){let Ct=Object(ee.s)(re,-1),Ut=Object(ee.s)(re+1,this.viewItems.length),St=this.findFirstSnapIndex(Ct),di=this.findFirstSnapIndex(Ut),hi=typeof St=="number"&&!this.viewItems[St].visible,ji=typeof di=="number"&&!this.viewItems[di].visible;hi&&d[re]&&(O>0||this.startSnappingEnabled)?oe.state=1:ji&&t[re]&&(O<this.contentSize||this.endSnappingEnabled)?oe.state=2:oe.state=0}else oe.state=ce&&!Me?1:!ce&&Me?2:3}}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}findFirstSnapIndex(e){for(let t of e){let n=this.viewItems[t];if(n.visible&&n.snap)return t}for(let t of e){let n=this.viewItems[t];if(n.visible&&n.maximumSize-n.minimumSize>0)return;if(!n.visible&&n.snap)return t}}dispose(){super.dispose(),this.viewItems.forEach(e=>e.dispose()),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}var Im=o(150),Om=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Nl=function(u,e){return function(t,n){e(t,n,u)}},ru=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class od{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new Lt.b,this._callOnModelChange=new Lt.b,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();let e=this._editor.getModel();if(e){for(let t of this._model.references)if(t.uri.toString()===e.uri.toString())return void this._addDecorations(t.parent)}}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));let t=[],n=[];for(let d=0,m=e.children.length;d<m;d++){let O=e.children[d];this._decorationIgnoreSet.has(O.id)||O.uri.toString()===this._editor.getModel().uri.toString()&&(t.push({range:O.range,options:od.DecorationOptions}),n.push(d))}let r=this._editor.deltaDecorations([],t);for(let d=0;d<r.length;d++)this._decorations.set(r[d],e.children[n[d]])}_onDecorationChanged(){let e=[],t=this._editor.getModel();if(t){for(let[n,r]of this._decorations){let d=t.getDecorationRange(n);if(!d)continue;let m=!1;gt.a.equalsRange(d,r.range)||((gt.a.spansMultipleLines(d)||r.range.endColumn-r.range.startColumn!=d.endColumn-d.startColumn)&&(m=!0),m?(this._decorationIgnoreSet.add(r.id),e.push(n)):r.range=d)}for(let n=0,r=e.length;n<r;n++)this._decorations.delete(e[n]);this._editor.deltaDecorations(e,[])}}removeDecorations(){this._editor.deltaDecorations([...this._decorations.keys()],[]),this._decorations.clear()}}od.DecorationOptions=Rt.a.register({stickiness:1,className:"reference-decoration"});class Dm extends ws.c{}let sh=class extends el{constructor(u,e,t,n,r,d,m,O,re,oe){super(u,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0},d),this._defaultTreeKeyboardSupport=e,this.layoutData=t,this._textModelResolverService=r,this._instantiationService=d,this._peekViewService=m,this._uriLabel=O,this._undoRedoService=re,this._keybindingService=oe,this._disposeOnNewModel=new Lt.b,this._callOnDispose=new Lt.b,this._onDidSelectReference=new rt.a,this.onDidSelectReference=this._onDidSelectReference.event,this._dim={height:0,width:0},this._applyTheme(n.getColorTheme()),this._callOnDispose.add(n.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(u,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),Object(Lt.f)(this._preview),Object(Lt.f)(this._previewNotAvailableMessage),Object(Lt.f)(this._tree),Object(Lt.f)(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(u){let e=u.getColor(Fr)||Kn.a.transparent;this.style({arrowColor:e,frameColor:e,headerBackgroundColor:u.getColor(kr)||Kn.a.transparent,primaryHeadingColor:u.getColor(Vo),secondaryHeadingColor:u.getColor(Ll)})}show(u){this.editor.revealRangeInCenterIfOutsideViewport(u,0),super.show(u,this.layoutData.heightInLines||18)}focusOnReferenceTree(){this._tree.domFocus()}focusOnPreviewEditor(){this._preview.focus()}isPreviewEditorFocused(){return this._preview.hasTextFocus()}_onTitleClick(u){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:u.ctrlKey||u.metaKey||u.altKey?"side":"open",source:"title"})}_fillBody(u){this.setCssClass("reference-zone-widget"),this._messageContainer=ae.p(u,ae.a("div.messages")),ae.K(this._messageContainer),this._splitView=new Nm(u,{orientation:1}),this._previewContainer=ae.p(u,ae.a("div.preview.inline")),this._preview=this._instantiationService.createInstance(To,this._previewContainer,{scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}},this.editor),ae.K(this._previewContainer),this._previewNotAvailableMessage=new Rt.b(G.a("missingPreviewMessage","no preview available"),Rt.b.DEFAULT_CREATION_OPTIONS,null,null,this._undoRedoService),this._treeContainer=ae.p(u,ae.a("div.ref-tree.inline"));let e={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Zo,keyboardNavigationLabelProvider:this._instantiationService.createInstance(mr),identityProvider:new Fa,openOnSingleClick:!0,openOnFocus:!0,overrideStyles:{listBackground:vs}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(ae.n(this._treeContainer,"keydown",n=>{n.equals(9)&&(this._keybindingService.dispatchEvent(n,n.target),n.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(Dm,"ReferencesWidget",this._treeContainer,new io,[this._instantiationService.createInstance(Er),this._instantiationService.createInstance(Zn)],this._instantiationService.createInstance(oo),e),this._splitView.addView({onDidChange:rt.b.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:n=>{this._preview.layout({height:this._dim.height,width:n})}},nd.Distribute),this._splitView.addView({onDidChange:rt.b.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:n=>{this._treeContainer.style.height=this._dim.height+"px",this._treeContainer.style.width=n+"px",this._tree.layout(this._dim.height,n)}},nd.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let t=(n,r)=>{n instanceof ma&&(r==="show"&&this._revealReference(n,!1),this._onDidSelectReference.fire({element:n,kind:r,source:"tree"}))};this._tree.onDidOpen(n=>{n.sideBySide?t(n.element,"side"):n.editorOptions.pinned?t(n.element,"goto"):t(n.element,"show")}),ae.K(this._treeContainer)}_onWidth(u){this._dim&&this._doLayoutBody(this._dim.height,u)}_doLayoutBody(u,e){super._doLayoutBody(u,e),this._dim={height:u,width:e},this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(e),this._splitView.resizeView(0,e*this.layoutData.ratio)}setSelection(u){return this._revealReference(u,!0).then(()=>{this._model&&(this._tree.setSelection([u]),this._tree.setFocus([u]))})}setModel(u){return this._disposeOnNewModel.clear(),this._model=u,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=G.a("noResults","No results"),ae.Z(this._messageContainer),Promise.resolve(void 0)):(ae.K(this._messageContainer),this._decorationsManager=new od(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(u=>this._tree.rerender(u))),this._disposeOnNewModel.add(this._preview.onMouseDown(u=>{let{event:e,target:t}=u;if(e.detail!==2)return;let n=this._getFocusedReference();n&&this._onDidSelectReference.fire({element:{uri:n.uri,range:t.range},kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),ae.Z(this._treeContainer),ae.Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){let[u]=this._tree.getFocus();return u instanceof ma?u:u instanceof s&&u.children.length>0?u.children[0]:void 0}revealReference(u){return ru(this,void 0,void 0,function*(){yield this._revealReference(u,!1),this._onDidSelectReference.fire({element:u,kind:"goto",source:"tree"})})}_revealReference(u,e){return ru(this,void 0,void 0,function*(){if(this._revealedReference===u)return;this._revealedReference=u,u.uri.scheme!==M.b.inMemory?this.setTitle(Object(Be.c)(u.uri),this._uriLabel.getUriLabel(Object(Be.d)(u.uri))):this.setTitle(G.a("peekView.alternateTitle","References"));let t=this._textModelResolverService.createModelReference(u.uri);this._tree.getInput()===u.parent||(e&&this._tree.reveal(u.parent),yield this._tree.expand(u.parent)),this._tree.reveal(u);let n=yield t;if(!this._model)return void n.dispose();Object(Lt.f)(this._previewModelReference);let r=n.object;if(r){let d=this._preview.getModel()===r.textEditorModel?0:1,m=gt.a.lift(u.range).collapseToStart();this._previewModelReference=n,this._preview.setModel(r.textEditorModel),this._preview.setSelection(m),this._preview.revealRangeInCenter(m,d)}else this._preview.setModel(this._previewNotAvailableMessage),n.dispose()})}};sh=Om([Nl(3,ut.c),Nl(4,$t.a),Nl(5,X.a),Nl(6,Qa),Nl(7,De.a),Nl(8,Im.a),Nl(9,Dt.a)],sh),Object(ut.g)((u,e)=>{let t=u.getColor(ih);t&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${t}; }`);let n=u.getColor(nh);n&&e.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${n}; }`);let r=u.getColor(oh);r&&e.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${r}; box-sizing: border-box; }`);let d=u.getColor(Ue.b);d&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${d}; box-sizing: border-box; }`);let m=u.getColor(vs);m&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${m}; }`);let O=u.getColor(Ps);O&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${O}; }`);let re=u.getColor(Qd);re&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${re}; }`);let oe=u.getColor(Jd);oe&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${oe}; }`);let ce=u.getColor(eh);ce&&e.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${ce} !important; }`);let Me=u.getColor(ic);Me&&e.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input { background-color: ${Me};}`);let Ct=u.getColor(th);Ct&&e.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin { background-color: ${Ct};}`)});var Am=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},nc=function(u,e){return function(t,n){e(t,n,u)}},su=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let Il=new A.c("referenceSearchVisible",!1),il=class Xh{constructor(e,t,n,r,d,m,O,re){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=r,this._notificationService=d,this._instantiationService=m,this._storageService=O,this._configurationService=re,this._disposables=new Lt.b,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=Il.bindTo(n)}static get(e){return e.getContribution(Xh.ID)}dispose(){this._referenceSearchVisible.reset(),this._disposables.dispose(),Object(Lt.f)(this._widget),Object(Lt.f)(this._model),this._widget=void 0,this._model=void 0}toggleWidget(e,t,n){let r;if(this._widget&&(r=this._widget.position),this.closeWidget(),r&&e.containsPosition(r))return;this._peekMode=n,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));let d=class{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(O){let re,oe;try{let ce=JSON.parse(O);re=ce.ratio,oe=ce.heightInLines}catch(ce){}return{ratio:re||.7,heightInLines:oe||18}}}.fromJSON(this._storageService.get("peekViewLayout",0,"{}"));this._widget=this._instantiationService.createInstance(sh,this._editor,this._defaultTreeKeyboardSupport,d),this._widget.setTitle(G.a("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store("peekViewLayout",JSON.stringify(this._widget.layoutData),0),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(O=>{let{element:re,kind:oe}=O;if(re)switch(oe){case"open":O.source==="editor"&&this._configurationService.getValue("editor.stablePeek")||this.openReference(re,!1);break;case"side":this.openReference(re,!0);break;case"goto":n?this._gotoReference(re):this.openReference(re,!1)}}));let m=++this._requestIdPool;t.then(O=>{if(m===this._requestIdPool&&this._widget)return this._model&&this._model.dispose(),this._model=O,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(G.a("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let re=this._editor.getModel().uri,oe=new Di.a(e.startLineNumber,e.startColumn),ce=this._model.nearestReference(re,oe);if(ce)return this._widget.setSelection(ce).then(()=>{this._widget&&this._editor.getOption(68)==="editor"&&this._widget.focusOnPreviewEditor()})}})},O=>{this._notificationService.error(O)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return su(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;let t=this._widget.position;if(!t)return;let n=this._model.nearestReference(this._editor.getModel().uri,t);if(!n)return;let r=this._model.nextOrPreviousReference(n,e),d=this._editor.hasTextFocus(),m=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(r),yield this._gotoReference(r),d?this._editor.focus():this._widget&&m&&this._widget.focusOnPreviewEditor()})}revealReference(e){return su(this,void 0,void 0,function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))})}closeWidget(e=!0){Object(Lt.f)(this._widget),Object(Lt.f)(this._model),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;let t=gt.a.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:t}},this._editor).then(n=>{var r;if(this._ignoreModelChangeEvent=!1,n&&this._widget)if(this._editor===n)this._widget.show(t),this._widget.focusOnReferenceTree();else{let d=Xh.get(n),m=this._model.clone();this.closeWidget(),n.focus(),d.toggleWidget(t,Object(Bi.f)(O=>Promise.resolve(m)),(r=this._peekMode)!==null&&r!==void 0&&r)}else this.closeWidget()},n=>{this._ignoreModelChangeEvent=!1,Object(Oe.e)(n)})}openReference(e,t){t||this.closeWidget();let{uri:n,range:r}=e;this._editorService.openCodeEditor({resource:n,options:{selection:r}},this._editor,t)}};function Ol(u,e){let t=function(r){let d=r.get(Si.a).getFocusedCodeEditor();return d instanceof To?d.getParentEditor():d}(u);if(!t)return;let n=il.get(t);n&&e(n)}il.ID="editor.contrib.referencesController",il=Am([nc(2,A.b),nc(3,Si.a),nc(4,Re.a),nc(5,X.a),nc(6,Qn.a),nc(7,Eo.a)],il),ar.a.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object(Se.a)(2089,60),when:A.a.or(Il,Jo.inPeekEditor),handler(u){Ol(u,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),ar.a.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:A.a.or(Il,Jo.inPeekEditor),handler(u){Ol(u,e=>{e.goToNextOrPreviousReference(!0)})}}),ar.a.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:A.a.or(Il,Jo.inPeekEditor),handler(u){Ol(u,e=>{e.goToNextOrPreviousReference(!1)})}}),Ee.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),Ee.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),Ee.a.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),Ee.a.registerCommand("closeReferenceSearch",u=>Ol(u,e=>e.closeWidget())),ar.a.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:A.a.and(Jo.inPeekEditor,A.a.not("config.editor.stablePeek"))}),ar.a.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:A.a.and(Il,A.a.not("config.editor.stablePeek"))}),ar.a.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:A.a.and(Il,ws.e),handler(u){var e;let t=(e=u.get(ws.a).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(t)&&t[0]instanceof ma&&Ol(u,n=>n.revealReference(t[0]))}}),ar.a.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:A.a.and(Il,ws.e),handler(u){var e;let t=(e=u.get(ws.a).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(t)&&t[0]instanceof ma&&Ol(u,n=>n.openReference(t[0],!0))}}),Ee.a.registerCommand("openReference",u=>{var e;let t=(e=u.get(ws.a).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(t)&&t[0]instanceof ma&&Ol(u,n=>n.openReference(t[0],!1))});var Rm=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};function Dc(u,e,t,n){let r=t.ordered(u).map(d=>Promise.resolve(n(d,u,e)).then(void 0,m=>{Object(Oe.f)(m)}));return Promise.all(r).then(d=>{let m=[];for(let O of d)Array.isArray(O)?m.push(...O):O&&m.push(O);return m})}function ah(u,e,t){return Dc(u,e,I.f,(n,r,d)=>n.provideDefinition(r,d,t))}function au(u,e,t){return Dc(u,e,I.e,(n,r,d)=>n.provideDeclaration(r,d,t))}function lu(u,e,t){return Dc(u,e,I.q,(n,r,d)=>n.provideImplementation(r,d,t))}function cu(u,e,t){return Dc(u,e,I.D,(n,r,d)=>n.provideTypeDefinition(r,d,t))}function rd(u,e,t,n){return Dc(u,e,I.v,(r,d,m)=>Rm(this,void 0,void 0,function*(){let O=yield r.provideReferences(d,m,{includeDeclaration:!0},n);if(!t||!O||O.length!==2)return O;let re=yield r.provideReferences(d,m,{includeDeclaration:!1},n);return re&&re.length===1?re:O}))}Object($.p)("_executeDefinitionProvider",(u,e)=>ah(u,e,On.a.None)),Object($.p)("_executeDeclarationProvider",(u,e)=>au(u,e,On.a.None)),Object($.p)("_executeImplementationProvider",(u,e)=>lu(u,e,On.a.None)),Object($.p)("_executeTypeDefinitionProvider",(u,e)=>cu(u,e,On.a.None)),Object($.p)("_executeReferenceProvider",(u,e)=>rd(u,e,!1,On.a.None));var du=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Ac=function(u,e){return function(t,n){e(t,n,u)}};let lh=new A.c("hasSymbols",!1),sd=Object(X.c)("ISymbolNavigationService"),ch=class{constructor(u,e,t,n){this._editorService=e,this._notificationService=t,this._keybindingService=n,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=lh.bindTo(u)}reset(){this._ctxHasSymbols.reset(),Object(Lt.f)(this._currentState),Object(Lt.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1}put(u){let e=u.parent.parent;if(e.references.length<=1)return void this.reset();this._currentModel=e,this._currentIdx=e.references.indexOf(u),this._ctxHasSymbols.set(!0),this._showMessage();let t=new dh(this._editorService),n=t.onDidChange(r=>{if(this._ignoreEditorChange)return;let d=this._editorService.getActiveCodeEditor();if(!d)return;let m=d.getModel(),O=d.getPosition();if(!m||!O)return;let re=!1,oe=!1;for(let ce of e.references)if(Object(Be.f)(ce.uri,m.uri))re=!0,oe=oe||gt.a.containsPosition(ce.range,O);else if(re)break;re&&oe||this.reset()});this._currentState=Object(Lt.e)(t,n)}revealNext(u){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;let e=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:e.uri,options:{selection:gt.a.collapseToStart(e.range),selectionRevealType:3}},u).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){Object(Lt.f)(this._currentMessage);let u=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),e=u?Object(G.a)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,u.getLabel()):Object(G.a)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(e)}};ch=du([Ac(0,A.b),Ac(1,Si.a),Ac(2,Re.a),Ac(3,Dt.a)],ch),Object(In.b)(sd,ch,!0),Object($.l)(new class extends $.c{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:lh,kbOpts:{weight:100,primary:70}})}runEditorCommand(u,e){return u.get(sd).revealNext(e)}}),ar.a.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:lh,primary:9,handler(u){u.get(sd).reset()}});let dh=class{constructor(u){this._listener=new Map,this._disposables=new Lt.b,this._onDidChange=new rt.a,this.onDidChange=this._onDidChange.event,this._disposables.add(u.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(u.onCodeEditorAdd(this._onDidAddEditor,this)),u.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),Object(Lt.f)(this._listener.values())}_onDidAddEditor(u){this._listener.set(u,Object(Lt.e)(u.onDidChangeCursorPosition(e=>this._onDidChange.fire({editor:u})),u.onDidChangeModelContent(e=>this._onDidChange.fire({editor:u}))))}_onDidRemoveEditor(u){Object(Lt.f)(this._listener.get(u)),this._listener.delete(u)}};dh=du([Ac(0,Si.a)],dh);var hu,uu,pu,mu,gu,fu,bu,_u,Fs=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};ze.d.appendMenuItem(ze.b.EditorContext,{submenu:ze.b.EditorContextPeek,title:G.a("peek.submenu","Peek"),group:"navigation",order:100});class oc extends $.b{constructor(e,t){super(t),this._configuration=e}run(e,t){if(!t.hasModel())return Promise.resolve(void 0);let n=e.get(Re.a),r=e.get(Si.a),d=e.get(ot.a),m=e.get(sd),O=t.getModel(),re=t.getPosition(),oe=new qt.b(t,5),ce=Object(Bi.j)(this._getLocationModel(O,re,oe.token),oe.token).then(Me=>Fs(this,void 0,void 0,function*(){if(!Me||oe.token.isCancellationRequested)return;let Ct;if(Object(_i.a)(Me.ariaMessage),Me.referenceAt(O.uri,re)){let St=this._getAlternativeCommand(t);St!==this.id&&(Ct=t.getAction(St))}let Ut=Me.references.length;if(Ut===0){if(!this._configuration.muteMessage){let St=O.getWordAtPosition(re);wi.get(t).showMessage(this._getNoResultFoundMessage(St),re)}}else{if(Ut!==1||!Ct)return this._onResult(r,m,t,Me);Ct.run()}}),Me=>{n.error(Me)}).finally(()=>{oe.dispose()});return d.showWhile(ce,250),ce}_onResult(e,t,n,r){return Fs(this,void 0,void 0,function*(){let d=this._getGoToPreference(n);if(n instanceof To||!(this._configuration.openInPeek||d==="peek"&&r.references.length>1)){let m=r.firstReference(),O=r.references.length>1&&d==="gotoAndPeek",re=yield this._openReference(n,e,m,this._configuration.openToSide,!O);O&&re?this._openInPeek(re,r):r.dispose(),d==="goto"&&t.put(m)}else this._openInPeek(n,r)})}_openReference(e,t,n,r,d){return Fs(this,void 0,void 0,function*(){let m;Object(I.G)(n)&&(m=n.targetSelectionRange),m||(m=n.range);let O=yield t.openCodeEditor({resource:n.uri,options:{selection:gt.a.collapseToStart(m),selectionRevealType:3}},e,r);if(O){if(d){let re=O.getModel(),oe=O.deltaDecorations([],[{range:m,options:{className:"symbolHighlight"}}]);setTimeout(()=>{O.getModel()===re&&O.deltaDecorations(oe,[])},350)}return O}})}_openInPeek(e,t){let n=il.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(Bi.f)(r=>Promise.resolve(t)),this._configuration.openInPeek):t.dispose()}}class ad extends oc{_getLocationModel(e,t,n){return Fs(this,void 0,void 0,function*(){return new v(yield ah(e,t,n),G.a("def.title","Definitions"))})}_getNoResultFoundMessage(e){return e&&e.word?G.a("noResultWord","No definition found for '{0}'",e.word):G.a("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(43).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(43).multipleDefinitions}}let vu=Et.h&&!kt.k?2118:70;Object($.k)(((hu=class Qh extends ad{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Qh.id,label:G.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:A.a.and(z.a.hasDefinitionProvider,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:vu,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:ze.b.MenubarGoMenu,group:"4_symbol_nav",order:2,title:G.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}}),Ee.a.registerCommandAlias("editor.action.goToDeclaration",Qh.id)}}).id="editor.action.revealDefinition",hu)),Object($.k)(((uu=class Jh extends ad{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Jh.id,label:G.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:A.a.and(z.a.hasDefinitionProvider,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,vu),weight:100}}),Ee.a.registerCommandAlias("editor.action.openDeclarationToTheSide",Jh.id)}}).id="editor.action.revealDefinitionAside",uu)),Object($.k)(((pu=class eu extends ad{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:eu.id,label:G.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:A.a.and(z.a.hasDefinitionProvider,Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:ze.b.EditorContextPeek,group:"peek",order:2}}),Ee.a.registerCommandAlias("editor.action.previewDeclaration",eu.id)}}).id="editor.action.peekDefinition",pu));class wu extends oc{_getLocationModel(e,t,n){return Fs(this,void 0,void 0,function*(){return new v(yield au(e,t,n),G.a("decl.title","Declarations"))})}_getNoResultFoundMessage(e){return e&&e.word?G.a("decl.noResultWord","No declaration found for '{0}'",e.word):G.a("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(43).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(43).multipleDeclarations}}Object($.k)(((mu=class cm extends wu{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:cm.id,label:G.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:A.a.and(z.a.hasDeclarationProvider,z.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:ze.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:G.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})}_getNoResultFoundMessage(e){return e&&e.word?G.a("decl.noResultWord","No declaration found for '{0}'",e.word):G.a("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",mu)),Object($.k)(class extends wu{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:G.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:A.a.and(z.a.hasDeclarationProvider,Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ze.b.EditorContextPeek,group:"peek",order:3}})}});class yu extends oc{_getLocationModel(e,t,n){return Fs(this,void 0,void 0,function*(){return new v(yield cu(e,t,n),G.a("typedef.title","Type Definitions"))})}_getNoResultFoundMessage(e){return e&&e.word?G.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):G.a("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(43).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(43).multipleTypeDefinitions}}Object($.k)(((gu=class dm extends yu{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:dm.ID,label:G.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:A.a.and(z.a.hasTypeDefinitionProvider,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:ze.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:G.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})}}).ID="editor.action.goToTypeDefinition",gu)),Object($.k)(((fu=class hm extends yu{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:hm.ID,label:G.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:A.a.and(z.a.hasTypeDefinitionProvider,Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ze.b.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",fu));class Cu extends oc{_getLocationModel(e,t,n){return Fs(this,void 0,void 0,function*(){return new v(yield lu(e,t,n),G.a("impl.title","Implementations"))})}_getNoResultFoundMessage(e){return e&&e.word?G.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):G.a("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(43).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(43).multipleImplementations}}Object($.k)(((bu=class um extends Cu{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:um.ID,label:G.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:A.a.and(z.a.hasImplementationProvider,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:ze.b.MenubarGoMenu,group:"4_symbol_nav",order:4,title:G.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",bu)),Object($.k)(((_u=class pm extends Cu{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:pm.ID,label:G.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:A.a.and(z.a.hasImplementationProvider,Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:ze.b.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",_u));class xu extends oc{_getNoResultFoundMessage(e){return e?G.a("references.no","No references found for '{0}'",e.word):G.a("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(43).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(43).multipleReferences}}Object($.k)(class extends xu{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:G.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:A.a.and(z.a.hasReferenceProvider,Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:z.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:ze.b.MenubarGoMenu,group:"4_symbol_nav",order:5,title:G.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})}_getLocationModel(u,e,t){return Fs(this,void 0,void 0,function*(){return new v(yield rd(u,e,!0,t),G.a("ref.title","References"))})}}),Object($.k)(class extends xu{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:G.a("references.action.label","Peek References"),alias:"Peek References",precondition:A.a.and(z.a.hasReferenceProvider,Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ze.b.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(u,e,t){return Fs(this,void 0,void 0,function*(){return new v(yield rd(u,e,!1,t),G.a("ref.title","References"))})}});class Mm extends oc{constructor(e,t,n){super(e,{id:"editor.action.goToLocation",label:G.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:A.a.and(Jo.notInPeekEditor,z.a.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=n}_getLocationModel(e,t,n){return Fs(this,void 0,void 0,function*(){return new v(this._references,G.a("generic.title","Locations"))})}_getNoResultFoundMessage(e){return e&&G.a("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return(t=this._gotoMultipleBehaviour)!==null&&t!==void 0?t:e.getOption(43).multipleReferences}_getAlternativeCommand(){return""}}Ee.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:Dn.a},{name:"position",description:"The position at which to start",constraint:Di.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(u,e,t,n,r,d,m)=>Fs(void 0,void 0,void 0,function*(){Object(to.b)(Dn.a.isUri(e)),Object(to.b)(Di.a.isIPosition(t)),Object(to.b)(Array.isArray(n)),Object(to.b)(r===void 0||typeof r=="string"),Object(to.b)(m===void 0||typeof m=="boolean");let O=u.get(Si.a),re=yield O.openCodeEditor({resource:e},O.getFocusedCodeEditor());if(Object(Zr.b)(re))return re.setPosition(t),re.revealPositionInCenterIfOutsideViewport(t,0),re.invokeWithinContext(oe=>{let ce=new class extends Mm{_getNoResultFoundMessage(Me){return d||super._getNoResultFoundMessage(Me)}}({muteMessage:!Boolean(d),openInPeek:Boolean(m),openToSide:!1},n,r);oe.get(X.a).invokeFunction(ce.run.bind(ce),re)})})}),Ee.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:Dn.a},{name:"position",description:"The position at which to start",constraint:Di.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(u,e,t,n,r)=>Fs(void 0,void 0,void 0,function*(){u.get(Ee.b).executeCommand("editor.action.goToLocations",e,t,n,r,void 0,!0)})}),Ee.a.registerCommand({id:"editor.action.findReferences",handler:(u,e,t)=>{Object(to.b)(Dn.a.isUri(e)),Object(to.b)(Di.a.isIPosition(t));let n=u.get(Si.a);return n.openCodeEditor({resource:e},n.getFocusedCodeEditor()).then(r=>{if(!Object(Zr.b)(r)||!r.hasModel())return;let d=il.get(r);if(!d)return;let m=Object(Bi.f)(re=>rd(r.getModel(),Di.a.lift(t),!1,re).then(oe=>new v(oe,G.a("ref.title","References")))),O=new gt.a(t.lineNumber,t.column,t.lineNumber,t.column);return Promise.resolve(d.toggleWidget(O,m,!1))})}}),Ee.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),o(309);var nl=o(109);function hh(u,e){return!!u[e]}class uh{constructor(e,t){this.target=e.target,this.hasTriggerModifier=hh(e.event,t.triggerModifier),this.hasSideBySideModifier=hh(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class Su{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=hh(e,t.triggerModifier)}}class ld{constructor(e,t,n,r){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=n,this.triggerSideBySideModifier=r}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function ku(u){return u==="altKey"?Et.f?new ld(57,"metaKey",6,"altKey"):new ld(5,"ctrlKey",6,"altKey"):Et.f?new ld(6,"altKey",57,"metaKey"):new ld(6,"altKey",5,"ctrlKey")}class Eu extends Lt.a{constructor(e){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new rt.a),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new rt.a),this.onExecute=this._onExecute.event,this._onCancel=this._register(new rt.a),this.onCancel=this._onCancel.event,this._editor=e,this._opts=ku(this._editor.getOption(61)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(t=>{if(t.hasChanged(61)){let n=ku(this._editor.getOption(61));if(this._opts.equals(n))return;this._opts=n,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(t=>this._onEditorMouseMove(new uh(t,this._opts)))),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(new uh(t,this._opts)))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(new uh(t,this._opts)))),this._register(this._editor.onKeyDown(t=>this._onEditorKeyDown(new Su(t,this._opts)))),this._register(this._editor.onKeyUp(t=>this._onEditorKeyUp(new Su(t,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(t=>this._onDidChangeCursorSelection(t))),this._register(this._editor.onDidChangeModel(t=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(t=>{(t.scrollTopChanged||t.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){let t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var Pm=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Tu=function(u,e){return function(t,n){e(t,n,u)}};let Dl=class ed{constructor(e,t,n){this.textModelResolverService=t,this.modeService=n,this.toUnhook=new Lt.b,this.toUnhookForKeyboard=new Lt.b,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e;let r=new Eu(e);this.toUnhook.add(r),this.toUnhook.add(r.onMouseMoveOrRelevantKeyDown(([d,m])=>{this.startFindDefinitionFromMouse(d,Object(to.n)(m))})),this.toUnhook.add(r.onExecute(d=>{this.isEnabled(d)&&this.gotoDefinition(d.target.position,d.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},m=>{this.removeLinkDecorations(),Object(Oe.e)(m)})})),this.toUnhook.add(r.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(ed.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(t=>{t&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(e,t){if(e.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t))return this.currentWordAtPosition=null,void this.removeLinkDecorations();let n=e.target.position;this.startFindDefinition(n)}startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();let n=e?(t=this.editor.getModel())===null||t===void 0?void 0:t.getWordAtPosition(e):null;if(!n)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return Promise.resolve(0);this.currentWordAtPosition=n;let r=new qt.a(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(Bi.f)(d=>this.findDefinition(e,d)),this.previousPromise.then(d=>{if(d&&d.length&&r.validate(this.editor))if(d.length>1)this.addDecoration(new gt.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),new $e().appendText(G.a("multipleResults","Click to show {0} definitions.",d.length)));else{let m=d[0];if(!m.uri)return;this.textModelResolverService.createModelReference(m.uri).then(O=>{if(!O.object||!O.object.textEditorModel)return void O.dispose();let{object:{textEditorModel:re}}=O,{startLineNumber:oe}=m.range;if(oe<1||oe>re.getLineCount())return void O.dispose();let ce=this.getPreviewValue(re,oe,m),Me;Me=m.originSelectionRange?gt.a.lift(m.originSelectionRange):new gt.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);let Ct=this.modeService.getModeIdByFilepathOrFirstLine(re.uri);this.addDecoration(Me,new $e().appendCodeblock(Ct||"",ce)),O.dispose()})}else this.removeLinkDecorations()}).then(void 0,Oe.e)}getPreviewValue(e,t,n){let r=n.targetSelectionRange?n.range:this.getPreviewRangeBasedOnBrackets(e,t);return r.endLineNumber-r.startLineNumber>=ed.MAX_SOURCE_PREVIEW_LINES&&(r=this.getPreviewRangeBasedOnIndentation(e,t)),this.stripIndentationFromPreviewRange(e,t,r)}stripIndentationFromPreviewRange(e,t,n){let r=e.getLineFirstNonWhitespaceColumn(t);for(let d=t+1;d<n.endLineNumber;d++){let m=e.getLineFirstNonWhitespaceColumn(d);r=Math.min(r,m)}return e.getValueInRange(n).replace(new RegExp(`^\\s{${r-1}}`,"gm"),"").trim()}getPreviewRangeBasedOnIndentation(e,t){let n=e.getLineFirstNonWhitespaceColumn(t),r=Math.min(e.getLineCount(),t+ed.MAX_SOURCE_PREVIEW_LINES),d=t+1;for(;d<r&&n!==e.getLineFirstNonWhitespaceColumn(d);d++);return new gt.a(t,1,d+1,1)}getPreviewRangeBasedOnBrackets(e,t){let n=Math.min(e.getLineCount(),t+ed.MAX_SOURCE_PREVIEW_LINES),r=[],d=!0,m=e.findNextBracket(new Di.a(t,1));for(;m!==null;){if(r.length===0)r.push(m);else{let ce=r[r.length-1];if(ce.open[0]===m.open[0]&&ce.isOpen&&!m.isOpen?r.pop():r.push(m),r.length===0){if(!d)return new gt.a(t,1,m.range.endLineNumber+1,1);d=!1}}let O=e.getLineMaxColumn(t),re=m.range.endLineNumber,oe=m.range.endColumn;if(O===m.range.endColumn&&(re++,oe=1),re>n)return new gt.a(t,1,n+1,1);m=e.findNextBracket(new Di.a(re,oe))}return new gt.a(t,1,n+1,1)}addDecoration(e,t){let n={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:t}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[n])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&e.target.type===6&&(e.hasTriggerModifier||!!t&&t.keyCodeIsTriggerKey)&&I.f.has(this.editor.getModel())}findDefinition(e,t){let n=this.editor.getModel();return n?ah(n,e,t):Promise.resolve(null)}gotoDefinition(e,t){return this.editor.setPosition(e),this.editor.invokeWithinContext(n=>{let r=!t&&this.editor.getOption(69)&&!this.isInPeekEditor(n);return new ad({openToSide:t,openInPeek:r,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(n,this.editor)})}isInPeekEditor(e){let t=e.get(A.b);return Jo.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose()}};Dl.ID="editor.contrib.gotodefinitionatposition",Dl.MAX_SOURCE_PREVIEW_LINES=8,Dl=Pm([Tu(1,$t.a),Tu(2,nl.a)],Dl),Object($.m)(Dl.ID,Dl),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.r);t&&e.addRule(`.monaco-editor .goto-definition-link { color: ${t} !important; }`)}),o(311);var ph,cd=o(105),dd=o(68);(ph||(ph={})).className=function(u){switch(u){case dd.a.Ignore:return"severity-ignore "+de.a.info.classNames;case dd.a.Info:return de.a.info.classNames;case dd.a.Warning:return de.a.warning.classNames;case dd.a.Error:return de.a.error.classNames;default:return""}},Object(ut.g)((u,e)=>{let t=u.getColor(Ue.Zb);if(t){let d=de.a.error.cssSelector;e.addRule(` + .monaco-editor .zone-widget ${d}, + .markers-panel .marker-icon${d}, + .extensions-viewlet > .extensions ${d} { + color: ${t}; } - `)}const e=a.getColor(Va.bc);if(e){const p=va.a.warning.cssSelector;b.addRule(` - .monaco-editor .zone-widget ${p}, - .markers-panel .marker-icon${p}, - .extensions-viewlet > .extensions ${p}, - .extension-editor ${p} { - color: ${e}; + `)}let n=u.getColor(Ue.bc);if(n){let d=de.a.warning.cssSelector;e.addRule(` + .monaco-editor .zone-widget ${d}, + .markers-panel .marker-icon${d}, + .extensions-viewlet > .extensions ${d}, + .extension-editor ${d} { + color: ${n}; } - `)}const i=a.getColor(Va.ac);if(i){const p=va.a.info.cssSelector;b.addRule(` - .monaco-editor .zone-widget ${p}, - .markers-panel .marker-icon${p}, - .extensions-viewlet > .extensions ${p}, - .extension-editor ${p} { - color: ${i}; + `)}let r=u.getColor(Ue.ac);if(r){let d=de.a.info.cssSelector;e.addRule(` + .monaco-editor .zone-widget ${d}, + .markers-panel .marker-icon${d}, + .extensions-viewlet > .extensions ${d}, + .extension-editor ${d} { + color: ${r}; } - `)}});var ih=f(79),Sn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Aj=function(a,b){return function(c,e){b(c,e,a)}};class Tn{constructor(a,b,c,e){this._openerService=e,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap(),this._disposables=new Nb.b(),this._editor=b;const i=document.createElement("div");i.className="descriptioncontainer",this._messageBlock=document.createElement("div"),qa.e(this._messageBlock,"message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),i.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),i.appendChild(this._relatedBlock),this._disposables.add(qa.n(this._relatedBlock,"click",p=>{p.preventDefault();const r=this._relatedDiagnostics.get(p.target);r&&c(r)})),this._scrollable=new _j.b(i,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),a.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(p=>{i.style.left=`-${p.scrollLeft}px`,i.style.top=`-${p.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){Object(Nb.f)(this._disposables)}update(a){const{source:b,message:c,relatedInformation:e,code:i}=a;let p=((null==b?void 0:b.length)||0)+"()".length;i&&(p+="string"==typeof i?i.length:i.value.length);const r=c.split(/\r\n|\r|\n/g);this._lines=r.length,this._longestLineLength=0;for(const Wa of r)this._longestLineLength=Math.max(Wa.length+p,this._longestLineLength);qa.s(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(a)),this._editor.applyFontInfo(this._messageBlock);let O=this._messageBlock;for(const Wa of r)O=document.createElement("div"),O.innerText=Wa,""===Wa&&(O.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(O);if(b||i){const Wa=document.createElement("span");if(qa.e(Wa,"details"),O.appendChild(Wa),b){const Db=document.createElement("span");Db.innerText=b,qa.e(Db,"source"),Wa.appendChild(Db)}if(i)if("string"==typeof i){const Db=document.createElement("span");Db.innerText=`(${i})`,qa.e(Db,"code"),Wa.appendChild(Db)}else this._codeLink=qa.a("a.code-link"),this._codeLink.setAttribute("href",""+i.target.toString()),this._codeLink.onclick=Db=>{this._openerService.open(i.target),Db.preventDefault(),Db.stopPropagation()},qa.p(this._codeLink,qa.a("span")).innerText=i.value,Wa.appendChild(this._codeLink)}if(qa.s(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(ka.o)(e)){const Wa=this._relatedBlock.appendChild(document.createElement("div"));Wa.style.paddingTop=Math.floor(.66*this._editor.getOption(51))+"px",this._lines+=1;for(const Db of e){let Hb=document.createElement("div"),Pb=document.createElement("a");qa.e(Pb,"filename"),Pb.innerText=`${ic(Db.resource)}(${Db.startLineNumber}, ${Db.startColumn}): `,Pb.title=bc(Db.resource,void 0),this._relatedDiagnostics.set(Pb,Db);let lc=document.createElement("span");lc.innerText=Db.message,Hb.appendChild(Pb),Hb.appendChild(lc),this._lines+=1,Wa.appendChild(Hb)}}const ha=this._editor.getOption(36),ja=Math.ceil(ha.typicalFullwidthCharacterWidth*this._longestLineLength*.75),la=ha.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:ja,scrollHeight:la})}layout(a,b){this._scrollable.getDomNode().style.height=a+"px",this._scrollable.getDomNode().style.width=b+"px",this._scrollable.setScrollDimensions({width:b,height:a})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(a){let b="";switch(a.severity){case pa.c.Error:b=$.a("Error","Error");break;case pa.c.Warning:b=$.a("Warning","Warning");break;case pa.c.Info:b=$.a("Info","Info");break;case pa.c.Hint:b=$.a("Hint","Hint")}let c=$.a("marker aria","{0} at {1}. ",b,a.startLineNumber+":"+a.startColumn);const e=this._editor.getModel();return e&&a.startLineNumber<=e.getLineCount()&&a.startLineNumber>=1&&(c=`${e.getLineContent(a.startLineNumber)}, ${c}`),c}}let $i=class a extends Uh{constructor(b,c,e,i,p,r){super(b,{showArrow:!0,showFrame:!0,isAccessible:!0},p),this._themeService=c,this._openerService=e,this._menuService=i,this._contextKeyService=r,this._callOnDispose=new Nb.b(),this._onDidSelectRelatedInformation=new jb.a(),this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=pa.c.Warning,this._backgroundColor=Rd.a.white,this._applyTheme(c.getColorTheme()),this._callOnDispose.add(c.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(b){this._backgroundColor=b.getColor(Xn);let c=Un;this._severity===pa.c.Warning?c=Vn:this._severity===pa.c.Info&&(c=Wn);const e=b.getColor(c);this.style({arrowColor:e,frameColor:e,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:b.getColor(Le),secondaryHeadingColor:b.getColor(vi)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(b){super._fillHead(b),this._disposables.add(this._actionbarWidget.actionRunner.onDidBeforeRun(i=>this.editor.focus()));const c=[],e=this._menuService.createMenu(a.TitleMenu,this._contextKeyService);fh(e,void 0,c),this._actionbarWidget.push(c,{label:!1,icon:!0,index:0}),e.dispose()}_fillTitleIcon(b){this._icon=qa.p(b,qa.a(""))}_getActionBarOptions(){return Object.assign(Object.assign({},super._getActionBarOptions()),{orientation:0})}_fillBody(b){this._parentContainer=b,qa.e(b,"marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),b.appendChild(this._container),this._message=new Tn(this._container,this.editor,c=>this._onDidSelectRelatedInformation.fire(c),this._openerService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(b,c,e){this._container.classList.remove("stale"),this._message.update(b),this._severity=b.severity,this._applyTheme(this._themeService.getColorTheme());let i=pb.a.lift(b);const p=this.editor.getPosition();let r=p&&i.containsPosition(p)?p:i.getStartPosition();super.show(r,this.computeRequiredHeight());const O=this.editor.getModel();if(O){const ha=e>1?$.a("problems","{0} of {1} problems",c,e):$.a("change","{0} of {1} problem",c,e);this.setTitle(Object(Pa.b)(O.uri),ha)}this._icon.className="codicon "+Mk.className(pa.c.toSeverity(this._severity)),this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(b){this._container.classList.remove("stale"),this._message.update(b)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(b,c){super._doLayoutBody(b,c),this._heightInPixel=b,this._message.layout(b,c),this._container.style.height=b+"px"}_onWidth(b){this._message.layout(this._heightInPixel,b)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};$i.TitleMenu=new Qa.b("gotoErrorTitleMenu"),$i=Sn([Aj(1,Oa.c),Aj(2,ih.a),Aj(3,Qa.a),Aj(4,xa.a),Aj(5,I.b)],$i);let Nk=Object(Va.Ub)(Va.u,Va.t),Ok=Object(Va.Ub)(Va.T,Va.S),Pk=Object(Va.Ub)(Va.L,Va.K);const Un=Object(Va.gc)("editorMarkerNavigationError.background",{dark:Nk,light:Nk,hc:Nk},$.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),Vn=Object(Va.gc)("editorMarkerNavigationWarning.background",{dark:Ok,light:Ok,hc:Ok},$.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Wn=Object(Va.gc)("editorMarkerNavigationInfo.background",{dark:Pk,light:Pk,hc:Pk},$.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),Xn=Object(Va.gc)("editorMarkerNavigation.background",{dark:"#2D2D30",light:Rd.a.white,hc:"#0C141F"},$.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(Oa.g)((a,b)=>{const c=a.getColor(Va.rc);c&&(b.addRule(`.monaco-editor .marker-widget a { color: ${c}; }`),b.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${c}; }`))});var dm=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},em=function(a,b){return function(c,e){b(c,e,a)}};class fm{constructor(a,b,c){this.marker=a,this.index=b,this.total=c}}let Qk=class a{constructor(b,c){this._markerService=c,this._onDidChange=new jb.a(),this.onDidChange=this._onDidChange.event,this._dispoables=new Nb.b(),this._markers=[],this._nextIdx=-1,xd.a.isUri(b)?this._resourceFilter=i=>i.toString()===b.toString():b&&(this._resourceFilter=b);const e=()=>{this._markers=this._markerService.read({resource:xd.a.isUri(b)?b:void 0,severities:pa.c.Error|pa.c.Warning|pa.c.Info}),"function"==typeof b&&(this._markers=this._markers.filter(i=>this._resourceFilter(i.resource))),this._markers.sort(a._compareMarker)};e(),this._dispoables.add(c.onMarkerChanged(i=>{this._resourceFilter&&!i.some(p=>this._resourceFilter(p))||(e(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(b){return!this._resourceFilter&&!b||!(!this._resourceFilter||!b)&&this._resourceFilter(b)}get selected(){const b=this._markers[this._nextIdx];return b&&new fm(b,this._nextIdx+1,this._markers.length)}_initIdx(b,c,e){let i=!1,p=this._markers.findIndex(r=>r.resource.toString()===b.uri.toString());p<0&&(p=Object(ka.c)(this._markers,{resource:b.uri},(r,O)=>Object(jd.f)(r.resource.toString(),O.resource.toString())),p<0&&(p=~p));for(let r=p;r<this._markers.length;r++){let O=pb.a.lift(this._markers[r]);if(O.isEmpty()){const ha=b.getWordAtPosition(O.getStartPosition());ha&&(O=new pb.a(O.startLineNumber,ha.startColumn,O.startLineNumber,ha.endColumn))}if(c&&(O.containsPosition(c)||c.isBeforeOrEqual(O.getStartPosition()))){this._nextIdx=r,i=!0;break}if(this._markers[r].resource.toString()!==b.uri.toString())break}i||(this._nextIdx=e?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(b,c,e){if(0===this._markers.length)return!1;let i=this._nextIdx;return-1===this._nextIdx?this._initIdx(c,e,b):b?this._nextIdx=(this._nextIdx+1)%this._markers.length:b||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),i!==this._nextIdx}find(b,c){let e=this._markers.findIndex(i=>i.resource.toString()===b.toString());if(!(e<0)){for(;e<this._markers.length;e++)if(pb.a.containsPosition(this._markers[e],c))return new fm(this._markers[e],e+1,this._markers.length)}}static _compareMarker(b,c){let e=Object(jd.f)(b.resource.toString(),c.resource.toString());return 0===e&&(e=pa.c.compare(b.severity,c.severity)),0===e&&(e=pb.a.compareRangesUsingStarts(b,c)),e}};Qk=dm([em(1,pa.b)],Qk);const gm=Object(xa.c)("IMarkerNavigationService");let Rk=class{constructor(a){this._markerService=a,this._provider=new ri.a()}getMarkerList(a){for(let b of this._provider){const c=b.getMarkerList(a);if(c)return c}return new Qk(a,this._markerService)}};Rk=dm([em(0,pa.b)],Rk),Object(Cd.b)(gm,Rk,!0);var Yn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ak=function(a,b){return function(c,e){b(c,e,a)}},hm=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let Yh=class a{constructor(b,c,e,i,p){this._markerNavigationService=c,this._contextKeyService=e,this._editorService=i,this._instantiationService=p,this._sessionDispoables=new Nb.b(),this._editor=b,this._widgetVisible=im.bindTo(this._contextKeyService)}static get(b){return b.getContribution(a.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(b){if(this._model&&this._model.matches(b))return this._model;let c=!1;return this._model&&(c=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(b),c&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance($i,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var i,p,r;(null===(i=this._model)||void 0===i?void 0:i.selected)&&pb.a.containsPosition(null===(p=this._model)||void 0===p?void 0:p.selected.marker,e.position)||null===(r=this._model)||void 0===r||r.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:pb.a.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(b=!0){this._cleanUp(),b&&this._editor.focus()}showAtMarker(b){if(this._editor.hasModel()){const c=this._getOrCreateModel(this._editor.getModel().uri);c.resetIndex(),c.move(!0,this._editor.getModel(),new Fc.a(b.startLineNumber,b.startColumn)),c.selected&&this._widget.showAtMarker(c.selected.marker,c.selected.index,c.selected.total)}}nagivate(b,c){return hm(this,void 0,void 0,function*(){if(this._editor.hasModel()){const e=this._getOrCreateModel(c?void 0:this._editor.getModel().uri);if(e.move(b,this._editor.getModel(),this._editor.getPosition()),!e.selected)return;if(e.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const i=yield this._editorService.openCodeEditor({resource:e.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:e.selected.marker}},this._editor);i&&(a.get(i).close(),a.get(i).nagivate(b,c))}else this._widget.showAtMarker(e.selected.marker,e.selected.index,e.selected.total)}})}};Yh.ID="editor.contrib.markerController",Yh=Yn([ak(1,gm),ak(2,I.b),ak(3,Dc.a),ak(4,xa.a)],Yh);class bk extends ba.b{constructor(a,b,c){super(c),this._next=a,this._multiFile=b}run(a,b){return hm(this,void 0,void 0,function*(){b.hasModel()&&Yh.get(b).nagivate(this._next,this._multiFile)})}}class Zh extends bk{constructor(){super(!0,!1,{id:Zh.ID,label:Zh.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:578,weight:100},menuOpts:{menuId:$i.TitleMenu,title:Zh.LABEL,icon:Object(va.e)("marker-navigation-next",va.a.chevronDown),group:"navigation",order:1}})}}Zh.ID="editor.action.marker.next",Zh.LABEL=$.a("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Bj extends bk{constructor(){super(!1,!1,{id:Bj.ID,label:Bj.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:1602,weight:100},menuOpts:{menuId:$i.TitleMenu,title:Zh.LABEL,icon:Object(va.e)("marker-navigation-previous",va.a.chevronUp),group:"navigation",order:2}})}}Bj.ID="editor.action.marker.prev",Bj.LABEL=$.a("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),Object(ba.m)(Yh.ID,Yh),Object(ba.k)(Zh),Object(ba.k)(Bj),Object(ba.k)(class extends bk{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:$.a("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:66,weight:100},menuOpts:{menuId:Qa.b.MenubarGoMenu,title:$.a({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),Object(ba.k)(class extends bk{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:$.a("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:1090,weight:100},menuOpts:{menuId:Qa.b.MenubarGoMenu,title:$.a({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});const im=new I.c("markersNavigationVisible",!1),Zn=ba.c.bindToContribution(Yh.get);Object(ba.l)(new Zn({id:"closeMarkersNavigation",precondition:im,handler:a=>a.close(),kbOpts:{weight:150,kbExpr:S.a.focus,primary:9,secondary:[1033]}}));class _n{constructor(a,b,c){this.presentationIndex=c,this._onColorFlushed=new jb.a(),this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new jb.a(),this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new jb.a(),this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=a,this._color=a,this._colorPresentations=b}get color(){return this._color}set color(a){this._color.equals(a)||(this._color=a,this._onDidChangeColor.fire(a))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(a){this._colorPresentations=a,this.presentationIndex>a.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(a,b){for(let c=0;c<this.colorPresentations.length;c++)if(b.toLowerCase()===this.colorPresentations[c].label){this.presentationIndex=c,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}f(313);const jh=qa.a;class $n extends Nb.a{constructor(a,b,c){super(),this.model=b,this.domNode=jh(".colorpicker-header"),qa.p(a,this.domNode),this.pickedColorNode=qa.p(this.domNode,jh(".picked-color"));const e=qa.p(this.domNode,jh(".original-color"));e.style.backgroundColor=Rd.a.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=c.getColorTheme().getColor(Va.E)||Rd.a.white,this._register(Object(Oa.g)((i,p)=>{this.backgroundColor=i.getColor(Va.E)||Rd.a.white})),this._register(qa.i(this.pickedColorNode,qa.c.CLICK,()=>this.model.selectNextColorPresentation())),this._register(qa.i(e,qa.c.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this._register(b.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=Rd.a.Format.CSS.format(b.color)||"",qa.ab(this.pickedColorNode,"light",b.color.rgba.a<.5?this.backgroundColor.isLighter():b.color.isLighter())}onDidChangeColor(a){this.pickedColorNode.style.backgroundColor=Rd.a.Format.CSS.format(a)||"",qa.ab(this.pickedColorNode,"light",a.rgba.a<.5?this.backgroundColor.isLighter():a.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class ao extends Nb.a{constructor(a,b,c){super(),this.model=b,this.pixelRatio=c,this.domNode=jh(".colorpicker-body"),qa.p(a,this.domNode),this.saturationBox=new bo(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new co(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new eo(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:a,v:b}){const c=this.model.color.hsva;this.model.color=new Rd.a(new Rd.b(c.h,a,b,c.a))}onDidOpacityChange(a){const b=this.model.color.hsva;this.model.color=new Rd.a(new Rd.b(b.h,b.s,b.v,a))}onDidHueChange(a){const b=this.model.color.hsva,c=360*(1-a);this.model.color=new Rd.a(new Rd.b(360===c?0:c,b.s,b.v,b.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class bo extends Nb.a{constructor(a,b,c){super(),this.model=b,this.pixelRatio=c,this._onDidChange=new jb.a(),this.onDidChange=this._onDidChange.event,this._onColorFlushed=new jb.a(),this.onColorFlushed=this._onColorFlushed.event,this.domNode=jh(".saturation-wrap"),qa.p(a,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",qa.p(this.domNode,this.canvas),this.selection=jh(".saturation-selection"),qa.p(this.domNode,this.selection),this.layout(),this._register(qa.g(this.domNode,e=>this.onMouseDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(a){this.monitor=this._register(new Ya.a());const b=qa.C(this.domNode);a.target!==this.selection&&this.onDidChangePosition(a.offsetX,a.offsetY),this.monitor.startMonitoring(a.target,a.buttons,Ya.b,e=>this.onDidChangePosition(e.posx-b.left,e.posy-b.top),()=>null);const c=qa.h(document,()=>{this._onColorFlushed.fire(),c.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(a,b){const c=Math.max(0,Math.min(1,a/this.width)),e=Math.max(0,Math.min(1,1-b/this.height));this.paintSelection(c,e),this._onDidChange.fire({s:c,v:e})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const a=this.model.color.hsva;this.paintSelection(a.s,a.v)}paint(){const a=this.model.color.hsva,b=new Rd.a(new Rd.b(a.h,1,1,1)),c=this.canvas.getContext("2d"),e=c.createLinearGradient(0,0,this.canvas.width,0);e.addColorStop(0,"rgba(255, 255, 255, 1)"),e.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),e.addColorStop(1,"rgba(255, 255, 255, 0)");const i=c.createLinearGradient(0,0,0,this.canvas.height);i.addColorStop(0,"rgba(0, 0, 0, 0)"),i.addColorStop(1,"rgba(0, 0, 0, 1)"),c.rect(0,0,this.canvas.width,this.canvas.height),c.fillStyle=Rd.a.Format.CSS.format(b),c.fill(),c.fillStyle=e,c.fill(),c.fillStyle=i,c.fill()}paintSelection(a,b){this.selection.style.left=a*this.width+"px",this.selection.style.top=this.height-b*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class jm extends Nb.a{constructor(a,b){super(),this.model=b,this._onDidChange=new jb.a(),this.onDidChange=this._onDidChange.event,this._onColorFlushed=new jb.a(),this.onColorFlushed=this._onColorFlushed.event,this.domNode=qa.p(a,jh(".strip")),this.overlay=qa.p(this.domNode,jh(".overlay")),this.slider=qa.p(this.domNode,jh(".slider")),this.slider.style.top="0px",this._register(qa.g(this.domNode,c=>this.onMouseDown(c))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const a=this.getValue(this.model.color);this.updateSliderPosition(a)}onMouseDown(a){const b=this._register(new Ya.a()),c=qa.C(this.domNode);qa.e(this.domNode,"grabbing"),a.target!==this.slider&&this.onDidChangeTop(a.offsetY),b.startMonitoring(a.target,a.buttons,Ya.b,i=>this.onDidChangeTop(i.posy-c.top),()=>null);const e=qa.h(document,()=>{this._onColorFlushed.fire(),e.dispose(),b.stopMonitoring(!0),qa.Q(this.domNode,"grabbing")},!0)}onDidChangeTop(a){const b=Math.max(0,Math.min(1,1-a/this.height));this.updateSliderPosition(b),this._onDidChange.fire(b)}updateSliderPosition(a){this.slider.style.top=(1-a)*this.height+"px"}}class co extends jm{constructor(a,b){super(a,b),qa.e(this.domNode,"opacity-strip"),this._register(b.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(a){const{r:b,g:c,b:e}=a.rgba,i=new Rd.a(new Rd.c(b,c,e,1)),p=new Rd.a(new Rd.c(b,c,e,0));this.overlay.style.background=`linear-gradient(to bottom, ${i} 0%, ${p} 100%)`}getValue(a){return a.hsva.a}}class eo extends jm{constructor(a,b){super(a,b),qa.e(this.domNode,"hue-strip")}getValue(a){return 1-a.hsva.h/360}}class fo extends af.a{constructor(a,b,c,e){super(),this.model=b,this.pixelRatio=c,this._register(Object(nb.n)(()=>this.layout()));const i=jh(".colorpicker-widget");a.appendChild(i);const p=new $n(i,this.model,e);this.body=new ao(i,this.model,this.pixelRatio),this._register(p),this._register(this.body)}layout(){this.body.layout()}}function km(a,b,c){const e=W.p.ordered(a).map(i=>Promise.resolve(i.provideHover(a,b,c)).then(p=>p&&function(r){const O=void 0!==r.range,ha=void 0!==r.contents&&r.contents&&r.contents.length>0;return O&&ha}(p)?p:void 0,p=>{Object(La.f)(p)}));return Promise.all(e).then(ka.d)}Object(ba.p)("_executeHoverProvider",(a,b)=>km(a,b,Gd.a.None));class lm{constructor(a,b,c,e,i){this._computer=a,this._state=0,this._hoverTime=i,this._firstWaitScheduler=new sc.d(()=>this._triggerAsyncComputation(),0),this._secondWaitScheduler=new sc.d(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new sc.d(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=b,this._errorCallback=c,this._progressCallback=e}setHoverTime(a){this._hoverTime=a}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(sc.f)(a=>this._computer.computeAsync(a)),this._asyncComputationPromise.then(a=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(a)},a=>this._onError(a))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(a){a&&this._computer.onResult(a,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(a){this._completeCallback(a)}_onError(a){this._errorCallback?this._errorCallback(a):Object(La.e)(a)}_onProgress(a){this._progressCallback(a)}start(a){if(0===a)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}f(315);const ck=qa.a;class go extends Nb.a{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new _j.a(this.contentsDomNode,{})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class ho extends af.a{constructor(a,b,c,e){super(),this._hoverVisibleKey=c,this._keybindingService=e,this.allowEditorOverflow=!0,this._hover=this._register(new go()),this._id=a,this._editor=b,this._isVisible=!1,this._stoleFocus=!1,this.onkeydown(this._hover.containerDomNode,i=>{i.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(i=>{i.hasChanged(36)&&this.updateFont()})),this._editor.onDidLayoutChange(i=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1}get isVisible(){return this._isVisible}set isVisible(a){this._isVisible=a,qa.ab(this._hover.containerDomNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._hover.containerDomNode}showAt(a,b,c){this._showAtPosition=a,this._showAtRange=b,this._hoverVisibleKey.set(!0),this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=c,c&&this._hover.containerDomNode.focus()}hide(){this.isVisible&&(setTimeout(()=>{this.isVisible||this._hoverVisibleKey.set(!1)},0),this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())}getPosition(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}dispose(){this._editor.removeContentWidget(this),super.dispose()}updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(a=>this._editor.applyFontInfo(a))}updateContents(a){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(a),this.updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_renderAction(a,b){const c=this._keybindingService.lookupKeybinding(b.commandId);return function(e,i,p){const r=qa.p(e,ck("div.action-container")),O=qa.p(r,ck("a.action"));return O.setAttribute("href","#"),O.setAttribute("role","button"),i.iconClass&&qa.p(O,ck("span.icon."+i.iconClass)),qa.p(O,ck("span")).textContent=p?`${i.label} (${p})`:i.label,qa.i(r,qa.c.CLICK,ha=>{ha.stopPropagation(),ha.preventDefault(),i.run(r)})}(a,b,c?c.getLabel():null)}layout(){const a=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:b,lineHeight:c}=this._editor.getOption(36);this._hover.contentsDomNode.style.fontSize=b+"px",this._hover.contentsDomNode.style.lineHeight=c+"px",this._hover.contentsDomNode.style.maxHeight=a+"px",this._hover.contentsDomNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"}}class io extends af.a{constructor(a,b){super(),this._id=a,this._editor=b,this._isVisible=!1,this._domNode=document.createElement("div"),this._domNode.className="monaco-hover hidden",this._domNode.setAttribute("aria-hidden","true"),this._domNode.setAttribute("role","tooltip"),this._showAtLineNumber=-1,this._register(this._editor.onDidChangeConfiguration(c=>{c.hasChanged(36)&&this.updateFont()})),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(a){this._isVisible=a,qa.ab(this._domNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(a){this._showAtLineNumber=a,this.isVisible||(this.isVisible=!0);const b=this._editor.getLayoutInfo(),c=this._editor.getTopForLineNumber(this._showAtLineNumber),e=this._editor.getScrollTop(),i=this._editor.getOption(51),p=c-e-(this._domNode.clientHeight-i)/2;this._domNode.style.left=b.glyphMarginLeft+b.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(p),0)+"px"}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){[...Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),...Array.prototype.slice.call(this._domNode.getElementsByClassName("code"))].forEach(a=>this._editor.applyFontInfo(a))}updateContents(a){this._domNode.textContent="",this._domNode.appendChild(a),this.updateFont()}}var mm=f(165),nm=f(195);let om;!function a(b,c,e){function i(O,ha){if(!c[O]){if(!b[O]){if(p)return p(O,!0);var ja=new Error("Cannot find module '"+O+"'");throw ja.code="MODULE_NOT_FOUND",ja}var la=c[O]={exports:{}};b[O][0].call(la.exports,function(Wa){return i(b[O][1][Wa]||Wa)},la,la.exports,a,b,c,e)}return c[O].exports}for(var p=!1,r=0;r<e.length;r++)i(e[r]);return i}({1:[function(a,b,c){var e=a("./toMap");b.exports={uris:e(["background","base","cite","href","longdesc","src","usemap"])}},{"./toMap":10}],2:[function(a,b,c){b.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},{}],3:[function(a,b,c){var e=a("./toMap");b.exports={voids:e(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},{"./toMap":10}],4:[function(a,b,c){a("he");var e=a("assignment"),i=a("./parser"),p=a("./sanitizer"),r=a("./defaults");function O(ha,ja,la){var Wa=[],Db=!0===la?ja:e({},r,ja),Hb=p(Wa,Db);return i(ha,Hb),Wa.join("")}O.defaults=r,b.exports=O,om=O},{"./defaults":2,"./parser":7,"./sanitizer":8,assignment:6,he:9}],5:[function(a,b,c){b.exports=function(e){return"string"==typeof e?e.toLowerCase():e}},{}],6:[function(a,b,c){b.exports=function e(i){for(var p,r,O=Array.prototype.slice.call(arguments,1);O.length;)for(r in p=O.shift())p.hasOwnProperty(r)&&("[object Object]"===Object.prototype.toString.call(i[r])?i[r]=e(i[r],p[r]):i[r]=p[r]);return i}},{}],7:[function(a,b,c){var e=a("he"),i=a("./lowercase"),p=(a("./attributes"),a("./elements")),r=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,O=/^<\s*\/\s*([\w:-]+)[^>]*>/,ha=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,ja=/^</,la=/^<\s*\//;b.exports=function(Wa,Db){for(var Hb,Pb=function(){var dd=[];return dd.lastItem=function(){return dd[dd.length-1]},dd}(),lc=Wa;Wa;)Ac();function Ac(){Hb=!0,function(){"<!--"===Wa.substr(0,4)?(Jd=Wa.indexOf("-->"))>=0&&(Db.comment&&Db.comment(Wa.substring(4,Jd)),Wa=Wa.substring(Jd+3),Hb=!1):la.test(Wa)?Tc(O,Uc):ja.test(Wa)&&Tc(r,$c);var Jd;!function(){if(!Hb)return;var Sc,kd=Wa.indexOf("<");kd>=0?(Sc=Wa.substring(0,kd),Wa=Wa.substring(kd)):(Sc=Wa,Wa=""),Db.chars&&Db.chars(Sc)}()}();var dd=Wa===lc;lc=Wa,dd&&(Wa="")}function Tc(dd,Jd){var Sc=Wa.match(dd);Sc&&(Wa=Wa.substring(Sc[0].length),Sc[0].replace(dd,Jd),Hb=!1)}function $c(dd,Jd,Sc,kd){var vd={},le=i(Jd),Ie=p.voids[le]||!!kd;Sc.replace(ha,function(Ve,df,Ni,Tj,Uj){vd[df]=void 0===Ni&&void 0===Tj&&void 0===Uj?void 0:e.decode(Ni||Tj||Uj||"")}),Ie||Pb.push(le),Db.start&&Db.start(le,vd,Ie)}function Uc(dd,Jd){var Sc,kd=0,vd=i(Jd);if(vd)for(kd=Pb.length-1;kd>=0&&Pb[kd]!==vd;kd--);if(kd>=0){for(Sc=Pb.length-1;Sc>=kd;Sc--)Db.end&&Db.end(Pb[Sc]);Pb.length=kd}}Uc()}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(a,b,c){var e=a("he"),i=a("./lowercase"),p=a("./attributes"),r=a("./elements");b.exports=function(O,ha){var ja,la=ha||{};return Pb(),{start:function(lc,Ac,Tc){var $c=i(lc);if(ja.ignoring)return void Db($c);if(-1===(la.allowedTags||[]).indexOf($c))return void Db($c);if(la.filter&&!la.filter({tag:$c,attrs:Ac}))return void Db($c);Wa("<"),Wa($c),Object.keys(Ac).forEach(function(Uc){var dd=Ac[Uc],Jd=(la.allowedClasses||{})[$c]||[],Sc=(la.allowedAttributes||{})[$c]||[];Sc=Sc.concat((la.allowedAttributes||{})["*"]||[]);var kd=i(Uc);("class"===kd&&-1===Sc.indexOf(kd)?(dd=dd.split(" ").filter(function(vd){return Jd&&-1!==Jd.indexOf(vd)}).join(" ").trim()).length:-1!==Sc.indexOf(kd)&&(!0!==p.uris[kd]||function(vd){var le=vd[0];if("#"===le||"/"===le)return!0;var Ie=vd.indexOf(":");if(-1===Ie)return!0;var Ve=vd.indexOf("?");if(-1!==Ve&&Ie>Ve)return!0;var df=vd.indexOf("#");return-1!==df&&Ie>df?!0:la.allowedSchemes.some(function(Ni){return 0===vd.indexOf(Ni+":")})}(dd)))&&(Wa(" "),Wa(Uc),"string"==typeof dd&&(Wa('="'),Wa(e.encode(dd)),Wa('"')))}),Wa(Tc?"/>":">")},end:function(lc){var Ac=i(lc);-1!==(la.allowedTags||[]).indexOf(Ac)&&!1===ja.ignoring?(Wa("</"),Wa(Ac),Wa(">")):Hb(Ac)},chars:function(lc){!1===ja.ignoring&&Wa(la.transformText?la.transformText(lc):lc)}};function Wa(lc){O.push(lc)}function Db(lc){r.voids[lc]||(!1===ja.ignoring?ja={ignoring:lc,depth:1}:ja.ignoring===lc&&ja.depth++)}function Hb(lc){ja.ignoring===lc&&--ja.depth<=0&&Pb()}function Pb(){ja={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(a,b,c){var e={"&":"&","<":"<",">":">",'"':""","'":"'"},i={"&":"&","<":"<",">":">",""":'"',"'":"'"},p=/(&|<|>|"|')/g,r=/[&<>"']/g;function O(Wa){return e[Wa]}function ha(Wa){return i[Wa]}function ja(Wa){return null==Wa?"":String(Wa).replace(r,O)}function la(Wa){return null==Wa?"":String(Wa).replace(p,ha)}ja.options=la.options={},b.exports={encode:ja,escape:ja,decode:la,unescape:la,version:"1.0.0-browser"}},{}],10:[function(a,b,c){function e(i,p){return i[p]=!0,i}b.exports=function(i){return i.reduce(e,{})}},{}]},{},[4]);var jo=om,ko=f(178),lo=f(69);function mo(a,b={},c={}){var e;const i=Object(mm.a)(b),p=function(Pb){let lc;try{lc=Object(ko.a)(decodeURIComponent(Pb))}catch(Ac){}return lc?(lc=Object(Ad.b)(lc,Ac=>a.uris&&a.uris[Ac]?xd.a.revive(a.uris[Ac]):void 0),encodeURIComponent(JSON.stringify(lc))):Pb},r=function(Pb,lc){const Ac=a.uris&&a.uris[Pb];if(!Ac)return Pb;let Tc=xd.a.revive(Ac);return xd.a.parse(Pb).toString()===Tc.toString()?Pb:lc?qa.r(Tc).toString(!0):(Tc.query&&(Tc=Tc.with({query:p(Tc.query)})),Tc.toString())};let O;const ha=new Promise(Pb=>O=Pb),ja=new nm.Renderer();ja.image=(Pb,lc,Ac)=>{let Tc=[],$c=[];if(Pb){({href:Pb,dimensions:Tc}=function(Uc){const dd=[],Jd=Uc.split("|").map(kd=>kd.trim());Uc=Jd[0];const Sc=Jd[1];if(Sc){const kd=/height=(\d+)/.exec(Sc),vd=/width=(\d+)/.exec(Sc),le=kd?kd[1]:"",Ie=vd?vd[1]:"",Ve=isFinite(parseInt(Ie)),df=isFinite(parseInt(le));Ve&&dd.push(`width="${Ie}"`),df&&dd.push(`height="${le}"`)}return{href:Uc,dimensions:dd}}(Pb)),Pb=r(Pb,!0);try{const Uc=xd.a.parse(Pb);b.baseUrl&&Uc.scheme===ca.b.file&&(Pb=Object(Pa.k)(b.baseUrl,Pb).toString())}catch(Uc){}$c.push(`src="${Pb}"`)}return Ac&&$c.push(`alt="${Ac}"`),lc&&$c.push(`title="${lc}"`),Tc.length&&($c=$c.concat(Tc)),"<img "+$c.join(" ")+">"},ja.link=(Pb,lc,Ac)=>((Pb===Ac&&(Ac=wb(Ac)),Pb=r(Pb,!1),b.baseUrl)&&(/^\w[\w\d+.-]*:/.test(Pb)||(Pb=Object(Pa.k)(b.baseUrl,Pb).toString())),lc=wb(lc),!(Pb=wb(Pb))||Pb.match(/^data:|javascript:/i)||Pb.match(/^command:/i)&&!a.isTrusted||Pb.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?Ac:`<a href="#" data-href="${Pb=Pb.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${lc||Pb}">${Ac}</a>`),ja.paragraph=Pb=>`<p>${a.supportThemeIcons?Object(va.f)(Pb):Pb}</p>`,b.codeBlockRenderer&&(ja.code=(Pb,lc)=>{const Ac=b.codeBlockRenderer(lc,Pb),Tc=se.b.nextId(),$c=Promise.all([Ac,ha]).then(Uc=>{const dd=Uc[0],Jd=i.querySelector(`div[data-code="${Tc}"]`);Jd&&(Jd.innerHTML=dd)}).catch(Uc=>{});return b.codeBlockRenderCallback&&$c.then(b.codeBlockRenderCallback),`<div class="code" data-code="${Tc}">${Object(jd.u)(Pb)}</div>`});const la=b.actionHandler;la&&[qa.c.CLICK,qa.c.AUXCLICK].forEach(Pb=>{la.disposeables.add(qa.i(i,Pb,lc=>{const Ac=new lo.a(lc);if(!Ac.leftButton&&!Ac.middleButton)return;let Tc=Ac.target;if("A"===Tc.tagName||(Tc=Tc.parentElement,Tc&&"A"===Tc.tagName))try{const $c=Tc.dataset.href;$c&&la.callback($c,Ac)}catch($c){Object(La.e)($c)}finally{Ac.preventDefault()}}))}),c.sanitizer=Pb=>(a.isTrusted?Pb.match(/^(<span[^<]+>)|(<\/\s*span>)$/):void 0)?Pb:"",c.sanitize=!0,c.renderer=ja;const Wa=[ca.b.http,ca.b.https,ca.b.mailto,ca.b.data,ca.b.file,ca.b.vscodeRemote,ca.b.vscodeRemoteResource];a.isTrusted&&Wa.push(ca.b.command);let Db=null!==(e=a.value)&&void 0!==e?e:"";Db.length>1e5&&(Db=Db.substr(0,1e5)+"…");const Hb=nm.parse(a.supportThemeIcons?Object(va.d)(Db):Db,c);return i.innerHTML=jo(Hb,{allowedSchemes:Wa,allowedTags:["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],allowedAttributes:{a:["href","name","target","data-href"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class","style"],th:["align"],td:["align"]},filter:function(Pb){return"span"!==Pb.tag||!a.isTrusted||1!==Object.keys(Pb.attrs).length||(Pb.attrs.style?!!Pb.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/):!!Pb.attrs.class&&!!Pb.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-animation-[a-z\-]+)?$/))}}),O(),i}var pm=f(182),no=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},qm=function(a,b){return function(c,e){b(c,e,a)}};let aj=class extends Nb.a{constructor(a,b,c=ih.b){super(),this._editor=a,this._modeService=b,this._openerService=c,this._onDidRenderCodeBlock=this._register(new jb.a()),this.onDidRenderCodeBlock=this._onDidRenderCodeBlock.event}getOptions(a){return{codeBlockRenderer:(b,c)=>{let e=null;if(b)e=this._modeService.getModeIdForLanguageName(b);else{const i=this._editor.getModel();i&&(e=i.getLanguageIdentifier().language)}return this._modeService.triggerMode(e||""),Promise.resolve(!0).then(i=>{const p=W.C.getPromise(e||"");return p?p.then(r=>Object(pm.b)(c,r)):Object(pm.b)(c,void 0)}).then(i=>`<span style="font-family: ${this._editor.getOption(36).fontFamily}">${i}</span>`)},codeBlockRenderCallback:()=>this._onDidRenderCodeBlock.fire(),actionHandler:{callback:b=>{this._openerService.open(b,{fromUserGesture:!0}).catch(La.e)},disposeables:a}}}render(a){const b=new Nb.b();let c;return c=a?mo(a,this.getOptions(b)):document.createElement("span"),{element:c,dispose:()=>b.dispose()}}};aj=no([qm(1,Xh.a),qm(2,Object(xa.d)(ih.a))],aj);const Ef=qa.a;class bj{constructor(a,b,c){this.range=a,this.color=b,this.provider=c}}class cj{constructor(a,b){this.range=a,this.marker=b}}class oo{constructor(a,b){this._markerDecorationsService=b,this._editor=a,this._result=[]}setRange(a){this._range=a,this._result=[]}clearResult(){this._result=[]}computeAsync(a){if(!this._editor.hasModel()||!this._range)return Promise.resolve([]);const b=this._editor.getModel();return W.p.has(b)?km(b,new Fc.a(this._range.startLineNumber,this._range.startColumn),a):Promise.resolve([])}computeSync(){if(!this._editor.hasModel()||!this._range)return[];const a=this._editor.getModel(),b=this._range.startLineNumber;if(b>this._editor.getModel().getLineCount())return[];const c=Qe.get(this._editor),e=a.getLineMaxColumn(b),i=this._editor.getLineDecorations(b);let p=!1;const r=this._range,O=i.map(ha=>{const ja=ha.range.startLineNumber===b?ha.range.startColumn:1,la=ha.range.endLineNumber===b?ha.range.endColumn:e;if(ja>r.startColumn||r.endColumn>la)return null;const Wa=new pb.a(r.startLineNumber,ja,r.startLineNumber,la),Db=this._markerDecorationsService.getMarker(a,ha);if(Db)return new cj(Wa,Db);const Hb=c.getColorData(ha.range.getStartPosition());if(!p&&Hb){p=!0;const{color:Pb,range:lc}=Hb.colorInfo;return new bj(lc,Pb,Hb.provider)}return Ab(ha.options.hoverMessage)?null:{contents:ha.options.hoverMessage?Object(ka.b)(ha.options.hoverMessage):[],range:Wa}});return Object(ka.d)(O)}onResult(a,b){this._result=b?a.concat(this._result.sort((c,e)=>c instanceof bj?-1:e instanceof bj?1:0)):this._result.concat(a)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){return this._result.slice(0).concat([this._getLoadingMessage()])}_getLoadingMessage(){return{range:this._range,contents:[new $a().appendText($.a("modesContentHover.loading","Loading..."))]}}}const rm={type:2,filter:{include:Ha.QuickFix}};class Ai extends ho{constructor(a,b,c,e,i,p,r=ih.b){super(Ai.ID,a,b,e),this._themeService=i,this._modeService=p,this._openerService=r,this.renderDisposable=this._register(new Nb.d()),this._messages=[],this._lastRange=null,this._computer=new oo(this._editor,c),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new lm(this._computer,O=>this._withResult(O,!0),null,O=>this._withResult(O,!1),this._editor.getOption(46).delay),this._register(qa.n(this.getDomNode(),qa.c.FOCUS,()=>{this._colorPicker&&qa.e(this.getDomNode(),"colorpicker-hover")})),this._register(qa.n(this.getDomNode(),qa.c.BLUR,()=>{qa.Q(this.getDomNode(),"colorpicker-hover")})),this._register(a.onDidChangeConfiguration(O=>{this._hoverOperation.setHoverTime(this._editor.getOption(46).delay)})),this._register(W.C.onDidChange(O=>{this.isVisible&&this._lastRange&&this._messages.length>0&&(this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastRange,this._messages))}))}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAt(a,b,c){if(!this._lastRange||!this._lastRange.equalsRange(a)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===a.startLineNumber){let e=[];for(let i=0,p=this._messages.length;i<p;i++){const r=this._messages[i],O=r.range;O&&O.startColumn<=a.startColumn&&O.endColumn>=a.endColumn&&e.push(r)}if(e.length>0){if(function(i,p){if(!i&&p||i&&!p||i.length!==p.length)return!1;for(let ha=0;ha<i.length;ha++){const ja=i[ha],la=p[ha];if(ja instanceof cj&&la instanceof cj)return pa.a.makeKey(ja.marker)===pa.a.makeKey(la.marker);if(ja instanceof bj||la instanceof bj)return!1;if(ja instanceof cj||la instanceof cj)return!1;if(r=ja.contents,O=la.contents,!(!r&&!O||r&&O&&(Array.isArray(r)&&Array.isArray(O)?Object(ka.g)(r,O,Fb):gb(r)&&gb(O)&&Fb(r,O))))return!1}var r,O;return!0}(e,this._messages))return;this._renderMessages(a,e)}else this.hide()}else this.hide();this._lastRange=a,this._computer.setRange(a),this._shouldFocus=c,this._hoverOperation.start(b)}}hide(){this._lastRange=null,this._hoverOperation.cancel(),super.hide(),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}_withResult(a,b){this._messages=a,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):b&&this.hide()}_renderMessages(a,b){this.renderDisposable.dispose(),this._colorPicker=null;let c=1073741824,e=b[0].range?pb.a.lift(b[0].range):null,i=document.createDocumentFragment(),p=!0,r=!1;const O=new Nb.b(),ha=[];if(b.forEach(ja=>{if(ja.range)if(c=Math.min(c,ja.range.startColumn),e=e?pb.a.plusRange(e,ja.range):pb.a.lift(ja.range),ja instanceof bj){r=!0;const{red:la,green:Wa,blue:Db,alpha:Hb}=ja.color,Pb=new Rd.c(Math.round(255*la),Math.round(255*Wa),Math.round(255*Db),Hb),lc=new Rd.a(Pb);if(!this._editor.hasModel())return;const Ac=this._editor.getModel();let Tc=new pb.a(ja.range.startLineNumber,ja.range.startColumn,ja.range.endLineNumber,ja.range.endColumn),$c={range:ja.range,color:ja.color};const Uc=new _n(lc,[],0),dd=new fo(i,Uc,this._editor.getOption(115),this._themeService);rf(Ac,$c,ja.provider,Gd.a.None).then(Jd=>{if(Uc.colorPresentations=Jd||[],!this._editor.hasModel())return;const Sc=this._editor.getModel().getValueInRange(ja.range);Uc.guessColorPresentation(lc,Sc);const kd=()=>{let Ve,df;Uc.presentation.textEdit?(Ve=[Uc.presentation.textEdit],df=new pb.a(Uc.presentation.textEdit.range.startLineNumber,Uc.presentation.textEdit.range.startColumn,Uc.presentation.textEdit.range.endLineNumber,Uc.presentation.textEdit.range.endColumn),df=df.setEndPosition(df.endLineNumber,df.startColumn+Uc.presentation.textEdit.text.length)):(Ve=[{identifier:null,range:Tc,text:Uc.presentation.label,forceMoveMarkers:!1}],df=Tc.setEndPosition(Tc.endLineNumber,Tc.startColumn+Uc.presentation.label.length)),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",Ve),Uc.presentation.additionalTextEdits&&(Ve=[...Uc.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",Ve),this.hide()),this._editor.pushUndoStop(),Tc=df},vd=Ve=>rf(Ac,{range:Tc,color:{red:Ve.rgba.r/255,green:Ve.rgba.g/255,blue:Ve.rgba.b/255,alpha:Ve.rgba.a}},ja.provider,Gd.a.None).then(df=>{Uc.colorPresentations=df||[]}),le=Uc.onColorFlushed(Ve=>{vd(Ve).then(kd)}),Ie=Uc.onDidChangeColor(vd);this._colorPicker=dd,this.showAt(Tc.getStartPosition(),Tc,this._shouldFocus),this.updateContents(i),this._colorPicker.layout(),this.renderDisposable.value=Object(Nb.e)(le,Ie,dd,O)})}else ja instanceof cj?(ha.push(ja),p=!1):ja.contents.filter(la=>!Ab(la)).forEach(la=>{const Wa=Ef("div.hover-row.markdown-hover"),Db=qa.p(Wa,Ef("div.hover-contents")),Hb=O.add(new aj(this._editor,this._modeService,this._openerService));O.add(Hb.onDidRenderCodeBlock(()=>{Db.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const Pb=O.add(Hb.render(la));Db.appendChild(Pb.element),i.appendChild(Wa),p=!1})}),ha.length){ha.forEach(la=>i.appendChild(this.renderMarkerHover(la)));const ja=1===ha.length?ha[0]:ha.sort((la,Wa)=>pa.c.compare(la.marker.severity,Wa.marker.severity))[0];i.appendChild(this.renderMarkerStatusbar(ja))}r||p||(this.showAt(new Fc.a(a.startLineNumber,c),e,this._shouldFocus),this.updateContents(i)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,e?[{range:e,options:Ai._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}renderMarkerHover(a){const b=Ef("div.hover-row"),c=qa.p(b,Ef("div.marker.hover-contents")),{source:e,message:i,code:p,relatedInformation:r}=a.marker;this._editor.applyFontInfo(c);const O=qa.p(c,Ef("span"));if(O.style.whiteSpace="pre-wrap",O.innerText=i,e||p)if(p&&"string"!=typeof p){const ha=Ef("span");e&&(qa.p(ha,Ef("span")).innerText=e),this._codeLink=qa.p(ha,Ef("a.code-link")),this._codeLink.setAttribute("href",p.target.toString()),this._codeLink.onclick=la=>{this._openerService.open(p.target),la.preventDefault(),la.stopPropagation()},qa.p(this._codeLink,Ef("span")).innerText=p.value;const ja=qa.p(c,ha);ja.style.opacity="0.6",ja.style.paddingLeft="6px"}else{const ha=qa.p(c,Ef("span"));ha.style.opacity="0.6",ha.style.paddingLeft="6px",ha.innerText=e&&p?`${e}(${p})`:e||`(${p})`}if(Object(ka.o)(r))for(const{message:ha,resource:ja,startLineNumber:la,startColumn:Wa}of r){const Db=qa.p(c,Ef("div"));Db.style.marginTop="8px";const Hb=qa.p(Db,Ef("a"));Hb.innerText=`${Object(Pa.b)(ja)}(${la}, ${Wa}): `,Hb.style.cursor="pointer",Hb.onclick=lc=>{lc.stopPropagation(),lc.preventDefault(),this._openerService&&this._openerService.open(ja.with({fragment:`${la},${Wa}`}),{fromUserGesture:!0}).catch(La.e)};const Pb=qa.p(Db,Ef("span"));Pb.innerText=ha,this._editor.applyFontInfo(Pb)}return b}renderMarkerStatusbar(a){const b=Ef("div.hover-row.status-bar"),c=new Nb.b(),e=qa.p(b,Ef("div.actions"));if(a.marker.severity!==pa.c.Error&&a.marker.severity!==pa.c.Warning&&a.marker.severity!==pa.c.Info||c.add(this._renderAction(e,{label:$.a("peek problem","Peek Problem"),commandId:Zh.ID,run:()=>{this.hide(),Yh.get(this._editor).showAtMarker(a.marker),this._editor.focus()}})),!this._editor.getOption(72)){const i=qa.p(e,Ef("div"));i.style.opacity="0",i.style.transition="opacity 0.2s",setTimeout(()=>i.style.opacity="1",200),i.textContent=$.a("checkingForQuickFixes","Checking for quick fixes..."),c.add(Object(Nb.h)(()=>i.remove()));const p=this.getCodeActions(a.marker);c.add(Object(Nb.h)(()=>p.cancel())),p.then(r=>{if(i.style.transition="",i.style.opacity="1",!r.validActions.length)return r.dispose(),void(i.textContent=$.a("noQuickFixes","No quick fixes available"));i.remove();let O=!1;c.add(Object(Nb.h)(()=>{O||r.dispose()})),c.add(this._renderAction(e,{label:$.a("quick fixes","Quick Fix..."),commandId:Wb.Id,run:ha=>{O=!0;const ja=Rc.get(this._editor),la=qa.C(ha);this.hide(),ja.showCodeActions(rm,r,{x:la.left+6,y:la.top+la.height+6})}}))})}return this.renderDisposable.value=c,b}getCodeActions(a){return Object(sc.f)(b=>Lb(this._editor.getModel(),new pb.a(a.startLineNumber,a.startColumn,a.endLineNumber,a.endColumn),rm,yb.b.None,b))}}Ai.ID="editor.contrib.modesContentHoverWidget",Ai._DECORATION_OPTIONS=Eb.a.register({className:"hoverHighlight"}),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.rc);c&&b.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${c}; }`)});class po{constructor(a){this._editor=a,this._lineNumber=-1,this._result=[]}setLineNumber(a){this._lineNumber=a,this._result=[]}clearResult(){this._result=[]}computeSync(){const a=e=>({value:e}),b=this._editor.getLineDecorations(this._lineNumber),c=[];if(!b)return c;for(const e of b){if(!e.options.glyphMarginClassName)continue;const i=e.options.glyphMarginHoverMessage;i&&!Ab(i)&&c.push(...Object(ka.b)(i).map(a))}return c}onResult(a,b){this._result=this._result.concat(a)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class dj extends io{constructor(a,b,c=ih.b){super(dj.ID,a),this._renderDisposeables=this._register(new Nb.b()),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new aj(this._editor,b,c)),this._computer=new po(this._editor),this._hoverOperation=new lm(this._computer,e=>this._withResult(e),void 0,e=>this._withResult(e),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(a){this._lastLineNumber!==a&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=a,this._computer.setLineNumber(a),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(a){this._messages=a,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(a,b){this._renderDisposeables.clear();const c=document.createDocumentFragment();for(const e of b){const i=this._markdownRenderer.render(e.value);this._renderDisposeables.add(i),c.appendChild(Object(qa.a)("div.hover-row",void 0,i.element))}this.updateContents(c),this.showAt(a)}}dj.ID="editor.contrib.modesGlyphHoverWidget";var qo=f(192),ro=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ej=function(a,b){return function(c,e){b(c,e,a)}};let Bi=class a{constructor(b,c,e,i,p,r,O){this._editor=b,this._openerService=c,this._modeService=e,this._markerDecorationsService=i,this._keybindingService=p,this._themeService=r,this._toUnhook=new Nb.b(),this._contentWidget=new Nb.d(),this._glyphWidget=new Nb.d(),this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(ha=>{ha.hasChanged(46)&&(this._hideWidgets(),this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=S.a.hoverVisible.bindTo(O)}get contentWidget(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value}get glyphWidget(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value}static get(b){return b.getContribution(a.ID)}_hookEvents(){const b=()=>this._hideWidgets(),c=this._editor.getOption(46);this._isHoverEnabled=c.enabled,this._isHoverSticky=c.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._toUnhook.add(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(b)),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onMouseLeave(b)),this._toUnhook.add(this._editor.onDidChangeModel(b)),this._toUnhook.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()}_onEditorScrollChanged(b){(b.scrollTopChanged||b.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(b){this._isMouseDown=!0;const c=b.target.type;9!==c||b.target.detail!==Ai.ID?12===c&&b.target.detail===dj.ID||(12!==c&&b.target.detail!==dj.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0}_onEditorMouseUp(b){this._isMouseDown=!1}_onEditorMouseMove(b){let c=b.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible()||this._isHoverSticky&&9===c&&b.target.detail===Ai.ID||this._isHoverSticky&&12===c&&b.target.detail===dj.ID)){if(7===c){const e=this._editor.getOption(36).typicalHalfwidthCharacterWidth/2,i=b.target.detail;i&&!i.isAfterLines&&"number"==typeof i.horizontalDistanceToText&&i.horizontalDistanceToText<e&&(c=6)}6===c?(this.glyphWidget.hide(),this._isHoverEnabled&&b.target.range&&this.contentWidget.startShowingAt(b.target.range,0,!1)):2===c?(this.contentWidget.hide(),this._isHoverEnabled&&b.target.position&&this.glyphWidget.startShowingAt(b.target.position.lineNumber)):this._hideWidgets()}}_onKeyDown(b){5!==b.keyCode&&6!==b.keyCode&&57!==b.keyCode&&4!==b.keyCode&&this._hideWidgets()}_hideWidgets(){!this._glyphWidget.value||!this._contentWidget.value||this._isMouseDown&&this._hoverClicked&&this._contentWidget.value.isColorPickerVisible()||(this._glyphWidget.value.hide(),this._contentWidget.value.hide())}_createHoverWidgets(){this._contentWidget.value=new Ai(this._editor,this._hoverVisibleKey,this._markerDecorationsService,this._keybindingService,this._themeService,this._modeService,this._openerService),this._glyphWidget.value=new dj(this._editor,this._modeService,this._openerService)}showContentHover(b,c,e){this.contentWidget.startShowingAt(b,c,e)}dispose(){this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),this._glyphWidget.dispose(),this._contentWidget.dispose()}};Bi.ID="editor.contrib.hover",Bi=ro([ej(1,ih.a),ej(2,Xh.a),ej(3,qo.a),ej(4,Rb.a),ej(5,Oa.c),ej(6,I.b)],Bi);class so extends ba.b{constructor(){super({id:"editor.action.showHover",label:$.a({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2087),weight:100}})}run(a,b){if(!b.hasModel())return;let c=Bi.get(b);if(!c)return;const e=b.getPosition(),i=new pb.a(e.lineNumber,e.column,e.lineNumber,e.column),p=2===b.getOption(2);c.showContentHover(i,1,p)}}class to extends ba.b{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:$.a({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(a,b){let c=Bi.get(b);if(!c)return;const e=b.getPosition();if(!e)return;const i=new pb.a(e.lineNumber,e.column,e.lineNumber,e.column),p=zi.get(b).startFindDefinitionFromCursor(e);p?p.then(()=>{c.showContentHover(i,1,!0)}):c.showContentHover(i,1,!0)}}Object(ba.m)(Bi.ID,Bi),Object(ba.k)(so),Object(ba.k)(to),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.H);c&&b.addRule(`.monaco-editor .hoverHighlight { background-color: ${c}; }`);const e=a.getColor(Va.E);e&&b.addRule(`.monaco-editor .monaco-hover { background-color: ${e}; }`);const i=a.getColor(Va.F);i&&(b.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${i}; }`),b.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),b.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`),b.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${i.transparent(.5)}; }`));const p=a.getColor(Va.rc);p&&b.addRule(`.monaco-editor .monaco-hover a { color: ${p}; }`);const r=a.getColor(Va.G);r&&b.addRule(`.monaco-editor .monaco-hover { color: ${r}; }`);const O=a.getColor(Va.I);O&&b.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${O}; }`);const ha=a.getColor(Va.qc);ha&&b.addRule(`.monaco-editor .monaco-hover code { background-color: ${ha}; }`)});var fj=f(130);function Sf(a,b){let c=0;for(let e=0;e<a.length;e++)" "===a.charAt(e)?c+=b:c++;return c}function Cj(a,b,c){a=a<0?0:a;let e="";if(!c){let i=Math.floor(a/b);a%=b;for(let p=0;p<i;p++)e+=" "}for(let i=0;i<a;i++)e+=" ";return e}function sm(a,b,c,e){if(1===a.getLineCount()&&1===a.getLineMaxColumn(1))return[];let i=Be.a.getIndentationRules(a.getLanguageIdentifier().id);if(!i)return[];for(c=Math.min(c,a.getLineCount());b<=c&&i.unIndentedLinePattern;){let lc=a.getLineContent(b);if(!i.unIndentedLinePattern.test(lc))break;b++}if(b>c-1)return[];const{tabSize:p,indentSize:r,insertSpaces:O}=a.getOptions(),ha=(lc,Ac)=>(Ac=Ac||1,fj.a.shiftIndent(lc,lc.length+Ac,p,r,O)),ja=(lc,Ac)=>(Ac=Ac||1,fj.a.unshiftIndent(lc,lc.length+Ac,p,r,O));let la,Wa=[],Db=a.getLineContent(b),Hb=Db;if(null!=e){la=e;let lc=jd.z(Db);Hb=la+Db.substring(lc.length),i.decreaseIndentPattern&&i.decreaseIndentPattern.test(Hb)&&(la=ja(la),Hb=la+Db.substring(lc.length)),Db!==Hb&&Wa.push(qd.a.replace(new aa.a(b,1,b,lc.length+1),Eb.b.normalizeIndentation(la,r,O)))}else la=jd.z(Db);let Pb=la;i.increaseIndentPattern&&i.increaseIndentPattern.test(Hb)?(Pb=ha(Pb),la=ha(la)):i.indentNextLinePattern&&i.indentNextLinePattern.test(Hb)&&(Pb=ha(Pb));for(let lc=++b;lc<=c;lc++){let Ac=a.getLineContent(lc),Tc=jd.z(Ac),$c=Pb+Ac.substring(Tc.length);i.decreaseIndentPattern&&i.decreaseIndentPattern.test($c)&&(Pb=ja(Pb),la=ja(la)),Tc!==Pb&&Wa.push(qd.a.replace(new aa.a(lc,1,lc,Tc.length+1),Eb.b.normalizeIndentation(Pb,r,O))),i.unIndentedLinePattern&&i.unIndentedLinePattern.test(Ac)||(i.increaseIndentPattern&&i.increaseIndentPattern.test($c)?(la=ha(la),Pb=la):Pb=i.indentNextLinePattern&&i.indentNextLinePattern.test($c)?ha(Pb):la)}return Wa}class Sk extends ba.b{constructor(){super({id:Sk.ID,label:$.a("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:S.a.writable})}run(a,b){let c=b.getModel();if(!c)return;let e=c.getOptions(),i=b.getSelection();if(!i)return;const p=new xo(i,e.tabSize);b.pushUndoStop(),b.executeCommands(this.id,[p]),b.pushUndoStop(),c.updateOptions({insertSpaces:!0})}}Sk.ID="editor.action.indentationToSpaces";class Tk extends ba.b{constructor(){super({id:Tk.ID,label:$.a("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:S.a.writable})}run(a,b){let c=b.getModel();if(!c)return;let e=c.getOptions(),i=b.getSelection();if(!i)return;const p=new yo(i,e.tabSize);b.pushUndoStop(),b.executeCommands(this.id,[p]),b.pushUndoStop(),c.updateOptions({insertSpaces:!1})}}Tk.ID="editor.action.indentationToTabs";class tm extends ba.b{constructor(a,b){super(b),this.insertSpaces=a}run(a,b){const c=a.get(Pe.a),e=a.get(ia.a);let i=b.getModel();if(!i)return;let p=e.getCreationOptions(i.getLanguageIdentifier().language,i.uri,i.isForSimpleWidget);const r=[1,2,3,4,5,6,7,8].map(ha=>({id:ha.toString(),label:ha.toString(),description:ha===p.tabSize?$.a("configuredTabSize","Configured Tab Size"):void 0})),O=Math.min(i.getOptions().tabSize-1,7);setTimeout(()=>{c.pick(r,{placeHolder:$.a({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:r[O]}).then(ha=>{ha&&i&&!i.isDisposed()&&i.updateOptions({tabSize:parseInt(ha.label,10),insertSpaces:this.insertSpaces})})},50)}}class Uk extends tm{constructor(){super(!1,{id:Uk.ID,label:$.a("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}Uk.ID="editor.action.indentUsingTabs";class Vk extends tm{constructor(){super(!0,{id:Vk.ID,label:$.a("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}Vk.ID="editor.action.indentUsingSpaces";class Wk extends ba.b{constructor(){super({id:Wk.ID,label:$.a("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(a,b){const c=a.get(ia.a);let e=b.getModel();if(!e)return;let i=c.getCreationOptions(e.getLanguageIdentifier().language,e.uri,e.isForSimpleWidget);e.detectIndentation(i.insertSpaces,i.tabSize)}}Wk.ID="editor.action.detectIndentation";class uo extends ba.b{constructor(){super({id:"editor.action.reindentlines",label:$.a("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:S.a.writable})}run(a,b){let c=b.getModel();if(!c)return;let e=sm(c,1,c.getLineCount());e.length>0&&(b.pushUndoStop(),b.executeEdits(this.id,e),b.pushUndoStop())}}class vo extends ba.b{constructor(){super({id:"editor.action.reindentselectedlines",label:$.a("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:S.a.writable})}run(a,b){let c=b.getModel();if(!c)return;let e=b.getSelections();if(null===e)return;let i=[];for(let p of e){let r=p.startLineNumber,O=p.endLineNumber;if(r!==O&&1===p.endColumn&&O--,1===r){if(r===O)continue}else r--;let ha=sm(c,r,O);i.push(...ha)}i.length>0&&(b.pushUndoStop(),b.executeEdits(this.id,i),b.pushUndoStop())}}class wo{constructor(a,b){this._initialSelection=b,this._edits=[],this._selectionId=null;for(let c of a)c.range&&"string"==typeof c.text&&this._edits.push(c)}getEditOperations(a,b){for(let e of this._edits)b.addEditOperation(pb.a.lift(e.range),e.text);let c=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(c=!0,this._selectionId=b.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(c=!0,this._selectionId=b.trackSelection(this._initialSelection,!1))),c||(this._selectionId=b.trackSelection(this._initialSelection))}computeCursorState(a,b){return b.getTrackedSelection(this._selectionId)}}class Xk{constructor(a){this.callOnDispose=new Nb.b(),this.callOnModel=new Nb.b(),this.editor=a,this.callOnDispose.add(a.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(a.onDidChangeModel(()=>this.update())),this.callOnDispose.add(a.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),this.editor.getOption(8)<4||this.editor.getOption(40)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:a})=>{this.trigger(a)}))}trigger(a){let b=this.editor.getSelections();if(null===b||b.length>1)return;const c=this.editor.getModel();if(!c)return;if(!c.isCheapToTokenize(a.getStartPosition().lineNumber))return;const e=this.editor.getOption(8),{tabSize:i,indentSize:p,insertSpaces:r}=c.getOptions();this.editor.pushUndoStop();let O=[],ha={shiftIndent:Hb=>fj.a.shiftIndent(Hb,Hb.length+1,i,p,r),unshiftIndent:Hb=>fj.a.unshiftIndent(Hb,Hb.length+1,i,p,r)},ja=a.startLineNumber;for(;ja<=a.endLineNumber&&this.shouldIgnoreLine(c,ja);)ja++;if(ja>a.endLineNumber)return;let la=c.getLineContent(ja);if(!/\S/.test(la.substring(0,a.startColumn-1))){let Hb=Be.a.getGoodIndentForLine(e,c,c.getLanguageIdentifier().id,ja,ha);if(null!==Hb){let Pb=jd.z(la),lc=Sf(Hb,i);if(lc!==Sf(Pb,i)){let Ac=Cj(lc,i,r);O.push({range:new pb.a(ja,1,ja,Pb.length+1),text:Ac}),la=Ac+la.substr(Pb.length)}else{let Ac=Be.a.getIndentMetadata(c,ja);if(0===Ac||8===Ac)return}}}const Wa=ja;for(;ja<a.endLineNumber&&!/\S/.test(c.getLineContent(ja+1));)ja++;if(ja!==a.endLineNumber){let Hb={getLineTokens:lc=>c.getLineTokens(lc),getLanguageIdentifier:()=>c.getLanguageIdentifier(),getLanguageIdAtPosition:(lc,Ac)=>c.getLanguageIdAtPosition(lc,Ac),getLineContent:lc=>lc===Wa?la:c.getLineContent(lc)},Pb=Be.a.getGoodIndentForLine(e,Hb,c.getLanguageIdentifier().id,ja+1,ha);if(null!==Pb){let lc=Sf(Pb,i),Ac=Sf(jd.z(c.getLineContent(ja+1)),i);if(lc!==Ac){let Tc=lc-Ac;for(let $c=ja+1;$c<=a.endLineNumber;$c++){let Uc=c.getLineContent($c),dd=jd.z(Uc),Jd=Cj(Sf(dd,i)+Tc,i,r);Jd!==dd&&O.push({range:new pb.a($c,1,$c,dd.length+1),text:Jd})}}}}let Db=new wo(O,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",Db),this.editor.pushUndoStop()}shouldIgnoreLine(a,b){a.forceTokenization(b);let c=a.getLineFirstNonWhitespaceColumn(b);if(0===c)return!0;let e=a.getLineTokens(b);if(e.getCount()>0){let i=e.findTokenIndexAtOffset(c);if(i>=0&&1===e.getStandardTokenType(i))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}}function um(a,b,c,e){if(1===a.getLineCount()&&1===a.getLineMaxColumn(1))return;let i="";for(let r=0;r<c;r++)i+=" ";let p=new RegExp(i,"gi");for(let r=1,O=a.getLineCount();r<=O;r++){let ha=a.getLineFirstNonWhitespaceColumn(r);if(0===ha&&(ha=a.getLineMaxColumn(r)),1===ha)continue;const ja=new pb.a(r,1,r,ha),la=a.getValueInRange(ja),Wa=e?la.replace(/\t/gi,i):la.replace(p," ");b.addEditOperation(ja,Wa)}}Xk.ID="editor.contrib.autoIndentOnPaste";class xo{constructor(a,b){this.selection=a,this.tabSize=b,this.selectionId=null}getEditOperations(a,b){this.selectionId=b.trackSelection(this.selection),um(a,b,this.tabSize,!0)}computeCursorState(a,b){return b.getTrackedSelection(this.selectionId)}}class yo{constructor(a,b){this.selection=a,this.tabSize=b,this.selectionId=null}getEditOperations(a,b){this.selectionId=b.trackSelection(this.selection),um(a,b,this.tabSize,!1)}computeCursorState(a,b){return b.getTrackedSelection(this.selectionId)}}Object(ba.m)(Xk.ID,Xk),Object(ba.k)(Sk),Object(ba.k)(Tk),Object(ba.k)(Uk),Object(ba.k)(Vk),Object(ba.k)(Wk),Object(ba.k)(uo),Object(ba.k)(vo);class zo{constructor(a,b,c){this._editRange=a,this._originalSelection=b,this._text=c}getEditOperations(a,b){b.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(a,b){const c=b.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new aa.a(c.endLineNumber,Math.min(this._originalSelection.positionColumn,c.endColumn),c.endLineNumber,Math.min(this._originalSelection.positionColumn,c.endColumn)):new aa.a(c.endLineNumber,c.endColumn-this._text.length,c.endLineNumber,c.endColumn)}}var Ao=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Bo=function(a,b){return function(c,e){b(c,e,a)}};let _h=class a{constructor(b,c){this.decorationIds=[],this.editor=b,this.editorWorkerService=c}static get(b){return b.getContribution(a.ID)}dispose(){}run(b,c){this.currentRequest&&this.currentRequest.cancel();const e=this.editor.getSelection(),i=this.editor.getModel();if(!i||!e)return;let p=e;if(p.startLineNumber!==p.endLineNumber)return;const r=new K.a(this.editor,5),O=i.uri;return this.editorWorkerService.canNavigateValueSet(O)?(this.currentRequest=Object(sc.f)(ha=>this.editorWorkerService.navigateValueSet(O,p,c)),this.currentRequest.then(ha=>{if(!ha||!ha.range||!ha.value)return;if(!r.validate(this.editor))return;let ja=pb.a.lift(ha.range),la=ha.range,Wa=ha.value.length-(p.endColumn-p.startColumn);la={startLineNumber:la.startLineNumber,startColumn:la.startColumn,endLineNumber:la.endLineNumber,endColumn:la.startColumn+ha.value.length},Wa>1&&(p=new aa.a(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn+Wa-1));const Db=new zo(ja,p,ha.value);this.editor.pushUndoStop(),this.editor.executeCommand(b,Db),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:la,options:a.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=Object(sc.l)(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(La.e)}).catch(La.e)):Promise.resolve(void 0)}};_h.ID="editor.contrib.inPlaceReplaceController",_h.DECORATION=Eb.a.register({className:"valueSetReplacement"}),_h=Ao([Bo(1,Ag.a)],_h);class Co extends ba.b{constructor(){super({id:"editor.action.inPlaceReplace.up",label:$.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3154,weight:100}})}run(a,b){const c=_h.get(b);return c?c.run(this.id,!0):Promise.resolve(void 0)}}class Do extends ba.b{constructor(){super({id:"editor.action.inPlaceReplace.down",label:$.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3156,weight:100}})}run(a,b){const c=_h.get(b);return c?c.run(this.id,!1):Promise.resolve(void 0)}}Object(ba.m)(_h.ID,_h),Object(ba.k)(Co),Object(ba.k)(Do),Object(Oa.g)((a,b)=>{const c=a.getColor(qb.d);c&&b.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${c}; }`)});class Eo{constructor(a,b){this._selection=a,this._cursors=b,this._selectionId=null}getEditOperations(a,b){let c=function(e,i){i.sort((ja,la)=>ja.lineNumber===la.lineNumber?ja.column-la.column:ja.lineNumber-la.lineNumber);for(let ja=i.length-2;ja>=0;ja--)i[ja].lineNumber===i[ja+1].lineNumber&&i.splice(ja,1);let p=[],r=0,O=0,ha=i.length;for(let ja=1,la=e.getLineCount();ja<=la;ja++){let Wa=e.getLineContent(ja),Db=Wa.length+1,Hb=0;if(O<ha&&i[O].lineNumber===ja&&(Hb=i[O].column,O++,Hb===Db))continue;if(0===Wa.length)continue;let Pb=jd.J(Wa),lc=0;if(-1===Pb)lc=1;else{if(Pb===Wa.length-1)continue;lc=Pb+2}lc=Math.max(Hb,lc),p[r++]=qd.a.delete(new pb.a(ja,lc,ja,Db))}return p}(a,this._cursors);for(let e=0,i=c.length;e<i;e++){let p=c[e];b.addEditOperation(p.range,p.text)}this._selectionId=b.trackSelection(this._selection)}computeCursorState(a,b){return b.getTrackedSelection(this._selectionId)}}var Yk=f(126);class vm{constructor(a,b){this._selection=a,this._isCopyingDown=b,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(a,b){let c=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,c.startLineNumber<c.endLineNumber&&1===c.endColumn&&(this._endLineNumberDelta=1,c=c.setEndPosition(c.endLineNumber-1,a.getLineMaxColumn(c.endLineNumber-1)));let e=[];for(let p=c.startLineNumber;p<=c.endLineNumber;p++)e.push(a.getLineContent(p));const i=e.join(` -`);""===i&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._isCopyingDown?b.addEditOperation(new pb.a(c.startLineNumber,1,c.startLineNumber,1),i+` -`):b.addEditOperation(new pb.a(c.endLineNumber,a.getLineMaxColumn(c.endLineNumber),c.endLineNumber,a.getLineMaxColumn(c.endLineNumber)),` -`+i),this._selectionId=b.trackSelection(c),this._selectionDirection=this._selection.getDirection()}computeCursorState(a,b){let c=b.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){let e=c.startLineNumber,i=c.startColumn,p=c.endLineNumber,r=c.endColumn;0!==this._startLineNumberDelta&&(e+=this._startLineNumberDelta,i=1),0!==this._endLineNumberDelta&&(p+=this._endLineNumberDelta,r=1),c=aa.a.createWithDirection(e,i,p,r,this._selectionDirection)}return c}}var dk=f(75);class Fo{constructor(a,b,c){this._selection=a,this._isMovingDown=b,this._autoIndent=c,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(a,b){let c=a.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===c)return void(this._selectionId=b.trackSelection(this._selection));if(!this._isMovingDown&&1===this._selection.startLineNumber)return void(this._selectionId=b.trackSelection(this._selection));this._moveEndPositionDown=!1;let e=this._selection;e.startLineNumber<e.endLineNumber&&1===e.endColumn&&(this._moveEndPositionDown=!0,e=e.setEndPosition(e.endLineNumber-1,a.getLineMaxColumn(e.endLineNumber-1)));const{tabSize:i,indentSize:p,insertSpaces:r}=a.getOptions();let O=this.buildIndentConverter(i,p,r),ha={getLineTokens:ja=>a.getLineTokens(ja),getLanguageIdentifier:()=>a.getLanguageIdentifier(),getLanguageIdAtPosition:(ja,la)=>a.getLanguageIdAtPosition(ja,la),getLineContent:null};if(e.startLineNumber===e.endLineNumber&&1===a.getLineMaxColumn(e.startLineNumber)){let ja=e.startLineNumber,la=this._isMovingDown?ja+1:ja-1;1===a.getLineMaxColumn(la)?b.addEditOperation(new pb.a(1,1,1,1),null):(b.addEditOperation(new pb.a(ja,1,ja,1),a.getLineContent(la)),b.addEditOperation(new pb.a(la,1,la,a.getLineMaxColumn(la)),null)),e=new aa.a(la,1,la,1)}else{let ja,la;if(this._isMovingDown){ja=e.endLineNumber+1,la=a.getLineContent(ja),b.addEditOperation(new pb.a(ja-1,a.getLineMaxColumn(ja-1),ja,a.getLineMaxColumn(ja)),null);let Wa=la;if(this.shouldAutoIndent(a,e)){let Db=this.matchEnterRule(a,O,i,ja,e.startLineNumber-1);if(null!==Db){let Pb=Cj(Db+Sf(jd.z(a.getLineContent(ja)),i),i,r);Wa=Pb+this.trimLeft(la)}else{ha.getLineContent=lc=>lc===e.startLineNumber?a.getLineContent(ja):a.getLineContent(lc);let Pb=Be.a.getGoodIndentForLine(this._autoIndent,ha,a.getLanguageIdAtPosition(ja,1),e.startLineNumber,O);if(null!==Pb){let lc=jd.z(a.getLineContent(ja)),Ac=Sf(Pb,i);if(Ac!==Sf(lc,i)){let Tc=Cj(Ac,i,r);Wa=Tc+this.trimLeft(la)}}}b.addEditOperation(new pb.a(e.startLineNumber,1,e.startLineNumber,1),Wa+` -`);let Hb=this.matchEnterRule(a,O,i,e.startLineNumber,e.startLineNumber,Wa);if(null!==Hb)0!==Hb&&this.getIndentEditsOfMovingBlock(a,b,e,i,r,Hb);else{ha.getLineContent=lc=>lc===e.startLineNumber?Wa:lc>=e.startLineNumber+1&&lc<=e.endLineNumber+1?a.getLineContent(lc-1):a.getLineContent(lc);let Pb=Be.a.getGoodIndentForLine(this._autoIndent,ha,a.getLanguageIdAtPosition(ja,1),e.startLineNumber+1,O);if(null!==Pb){const lc=jd.z(a.getLineContent(e.startLineNumber)),Ac=Sf(Pb,i),Tc=Sf(lc,i);if(Ac!==Tc){const $c=Ac-Tc;this.getIndentEditsOfMovingBlock(a,b,e,i,r,$c)}}}}else b.addEditOperation(new pb.a(e.startLineNumber,1,e.startLineNumber,1),Wa+` -`)}else if(ja=e.startLineNumber-1,la=a.getLineContent(ja),b.addEditOperation(new pb.a(ja,1,ja+1,1),null),b.addEditOperation(new pb.a(e.endLineNumber,a.getLineMaxColumn(e.endLineNumber),e.endLineNumber,a.getLineMaxColumn(e.endLineNumber)),` -`+la),this.shouldAutoIndent(a,e)){ha.getLineContent=Db=>Db===ja?a.getLineContent(e.startLineNumber):a.getLineContent(Db);let Wa=this.matchEnterRule(a,O,i,e.startLineNumber,e.startLineNumber-2);if(null!==Wa)0!==Wa&&this.getIndentEditsOfMovingBlock(a,b,e,i,r,Wa);else{let Db=Be.a.getGoodIndentForLine(this._autoIndent,ha,a.getLanguageIdAtPosition(e.startLineNumber,1),ja,O);if(null!==Db){let Hb=jd.z(a.getLineContent(e.startLineNumber)),Pb=Sf(Db,i),lc=Sf(Hb,i);if(Pb!==lc){let Ac=Pb-lc;this.getIndentEditsOfMovingBlock(a,b,e,i,r,Ac)}}}}}this._selectionId=b.trackSelection(e)}buildIndentConverter(a,b,c){return{shiftIndent:e=>fj.a.shiftIndent(e,e.length+1,a,b,c),unshiftIndent:e=>fj.a.unshiftIndent(e,e.length+1,a,b,c)}}matchEnterRule(a,b,c,e,i,p){let r=i;for(;r>=1;){let ja;if(ja=r===i&&void 0!==p?p:a.getLineContent(r),jd.J(ja)>=0)break;r--}if(r<1||e>a.getLineCount())return null;let O=a.getLineMaxColumn(r),ha=Be.a.getEnterAction(this._autoIndent,a,new pb.a(r,O,r,O));if(ha){let ja=ha.indentation;ha.indentAction===dk.a.None||ha.indentAction===dk.a.Indent?ja=ha.indentation+ha.appendText:ha.indentAction===dk.a.IndentOutdent?ja=ha.indentation:ha.indentAction===dk.a.Outdent&&(ja=b.unshiftIndent(ha.indentation)+ha.appendText);let la=a.getLineContent(e);if(this.trimLeft(la).indexOf(this.trimLeft(ja))>=0){let Wa=jd.z(a.getLineContent(e)),Db=jd.z(ja),Hb=Be.a.getIndentMetadata(a,e);return null!==Hb&&2&Hb&&(Db=b.unshiftIndent(Db)),Sf(Db,c)-Sf(Wa,c)}}return null}trimLeft(a){return a.replace(/^\s+/,"")}shouldAutoIndent(a,b){if(this._autoIndent<4)return!1;if(!a.isCheapToTokenize(b.startLineNumber))return!1;let c=a.getLanguageIdAtPosition(b.startLineNumber,1);return c===a.getLanguageIdAtPosition(b.endLineNumber,1)&&null!==Be.a.getIndentRulesSupport(c)}getIndentEditsOfMovingBlock(a,b,c,e,i,p){for(let r=c.startLineNumber;r<=c.endLineNumber;r++){let O=a.getLineContent(r),ha=jd.z(O),ja=Cj(Sf(ha,e)+p,e,i);ja!==ha&&(b.addEditOperation(new pb.a(r,1,r,ha.length+1),ja),r===c.endLineNumber&&c.endColumn<=ha.length+1&&""===ja&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(a,b){let c=b.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(c=c.setEndPosition(c.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&c.startLineNumber<c.endLineNumber&&(c=c.setEndPosition(c.endLineNumber,2)),c}}class Ci{constructor(a,b){this.selection=a,this.descending=b,this.selectionId=null}static getCollator(){return Ci._COLLATOR||(Ci._COLLATOR=new Intl.Collator()),Ci._COLLATOR}getEditOperations(a,b){let c=function(e,i,p){let r=wm(e,i,p);return r?qd.a.replace(new pb.a(r.startLineNumber,1,r.endLineNumber,e.getLineMaxColumn(r.endLineNumber)),r.after.join(` -`)):null}(a,this.selection,this.descending);c&&b.addEditOperation(c.range,c.text),this.selectionId=b.trackSelection(this.selection)}computeCursorState(a,b){return b.getTrackedSelection(this.selectionId)}static canRun(a,b,c){if(null===a)return!1;let e=wm(a,b,c);if(!e)return!1;for(let i=0,p=e.before.length;i<p;i++)if(e.before[i]!==e.after[i])return!0;return!1}}function wm(a,b,c){let e=b.startLineNumber,i=b.endLineNumber;if(1===b.endColumn&&i--,e>=i)return null;let p=[];for(let O=e;O<=i;O++)p.push(a.getLineContent(O));let r=p.slice(0);return r.sort(Ci.getCollator().compare),!0===c&&(r=r.reverse()),{startLineNumber:e,endLineNumber:i,before:p,after:r}}Ci._COLLATOR=null;class xm extends ba.b{constructor(a,b){super(b),this.down=a}run(a,b){if(!b.hasModel())return;const c=b.getSelections().map((p,r)=>({selection:p,index:r,ignore:!1}));c.sort((p,r)=>pb.a.compareRangesUsingStarts(p.selection,r.selection));let e=c[0];for(let p=1;p<c.length;p++){const r=c[p];e.selection.endLineNumber===r.selection.startLineNumber&&(e.index<r.index?r.ignore=!0:(e.ignore=!0,e=r))}const i=[];for(const p of c)p.ignore||i.push(new vm(p.selection,this.down));b.pushUndoStop(),b.executeCommands(this.id,i),b.pushUndoStop()}}class Go extends ba.b{constructor(){super({id:"editor.action.duplicateSelection",label:$.a("duplicateSelection","Duplicate Selection"),alias:"Duplicate Selection",precondition:S.a.writable,menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"2_line",title:$.a({key:"miDuplicateSelection",comment:["&& denotes a mnemonic"]},"&&Duplicate Selection"),order:5}})}run(a,b,c){if(!b.hasModel())return;const e=[],i=b.getSelections(),p=b.getModel();for(const r of i)if(r.isEmpty())e.push(new vm(r,!0));else{const O=new aa.a(r.endLineNumber,r.endColumn,r.endLineNumber,r.endColumn);e.push(new Vc.c(O,p.getValueInRange(r)))}b.pushUndoStop(),b.executeCommands(this.id,e),b.pushUndoStop()}}class ym extends ba.b{constructor(a,b){super(b),this.down=a}run(a,b){let c=[],e=b.getSelections()||[];const i=b.getOption(8);for(const p of e)c.push(new Fo(p,this.down,i));b.pushUndoStop(),b.executeCommands(this.id,c),b.pushUndoStop()}}class zm extends ba.b{constructor(a,b){super(b),this.descending=a}run(a,b){const c=b.getSelections()||[];for(const i of c)if(!Ci.canRun(b.getModel(),i,this.descending))return;let e=[];for(let i=0,p=c.length;i<p;i++)e[i]=new Ci(c[i],this.descending);b.pushUndoStop(),b.executeCommands(this.id,e),b.pushUndoStop()}}class Zk extends ba.b{constructor(){super({id:Zk.ID,label:$.a("lines.trimTrailingWhitespace","Trim Trailing Whitespace"),alias:"Trim Trailing Whitespace",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:Object(_.a)(2089,2102),weight:100}})}run(a,b,c){let e=[];"auto-save"===c.reason&&(e=(b.getSelections()||[]).map(r=>new Fc.a(r.positionLineNumber,r.positionColumn)));let i=b.getSelection();if(null===i)return;let p=new Eo(i,e);b.pushUndoStop(),b.executeCommands(this.id,[p]),b.pushUndoStop()}}Zk.ID="editor.action.trimTrailingWhitespace";class Ho extends ba.b{constructor(){super({id:"editor.action.deleteLines",label:$.a("lines.delete","Delete Line"),alias:"Delete Line",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:3113,weight:100}})}run(a,b){if(!b.hasModel())return;let c=this._getLinesToRemove(b),e=b.getModel();if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let i=0,p=[],r=[];for(let O=0,ha=c.length;O<ha;O++){const ja=c[O];let la=ja.startLineNumber,Wa=ja.endLineNumber,Db=1,Hb=e.getLineMaxColumn(Wa);Wa<e.getLineCount()?(Wa+=1,Hb=1):la>1&&(la-=1,Db=e.getLineMaxColumn(la)),p.push(qd.a.replace(new aa.a(la,Db,Wa,Hb),"")),r.push(new aa.a(la-i,ja.positionColumn,la-i,ja.positionColumn)),i+=ja.endLineNumber-ja.startLineNumber+1}b.pushUndoStop(),b.executeEdits(this.id,p,r),b.pushUndoStop()}_getLinesToRemove(a){let b=a.getSelections().map(i=>{let p=i.endLineNumber;return i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(p-=1),{startLineNumber:i.startLineNumber,selectionStartColumn:i.selectionStartColumn,endLineNumber:p,positionColumn:i.positionColumn}});b.sort((i,p)=>i.startLineNumber===p.startLineNumber?i.endLineNumber-p.endLineNumber:i.startLineNumber-p.startLineNumber);let c=[],e=b[0];for(let i=1;i<b.length;i++)e.endLineNumber+1>=b[i].startLineNumber?e.endLineNumber=b[i].endLineNumber:(c.push(e),e=b[i]);return c.push(e),c}}class Io extends ba.b{constructor(){super({id:"editor.action.indentLines",label:$.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:2137,weight:100}})}run(a,b){const c=b._getViewModel();c&&(b.pushUndoStop(),b.executeCommands(this.id,Yk.a.indent(c.cursorConfig,b.getModel(),b.getSelections())),b.pushUndoStop())}}class Jo extends ba.b{constructor(){super({id:"editor.action.outdentLines",label:$.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:2135,weight:100}})}run(a,b){za.a.Outdent.runEditorCommand(a,b,null)}}class Ko extends ba.b{constructor(){super({id:"editor.action.insertLineBefore",label:$.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3075,weight:100}})}run(a,b){const c=b._getViewModel();c&&(b.pushUndoStop(),b.executeCommands(this.id,Yk.a.lineInsertBefore(c.cursorConfig,b.getModel(),b.getSelections())))}}class Lo extends ba.b{constructor(){super({id:"editor.action.insertLineAfter",label:$.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:2051,weight:100}})}run(a,b){const c=b._getViewModel();c&&(b.pushUndoStop(),b.executeCommands(this.id,Yk.a.lineInsertAfter(c.cursorConfig,b.getModel(),b.getSelections())))}}class Am extends ba.b{run(a,b){if(!b.hasModel())return;const c=b.getSelection();let e=this._getRangesToDelete(b),i=[];for(let O=0,ha=e.length-1;O<ha;O++){let ja=e[O],la=e[O+1];null===pb.a.intersectRanges(ja,la)?i.push(ja):e[O+1]=pb.a.plusRange(ja,la)}i.push(e[e.length-1]);let p=this._getEndCursorState(c,i),r=i.map(O=>qd.a.replace(O,""));b.pushUndoStop(),b.executeEdits(this.id,r,p),b.pushUndoStop()}}class Mo extends ba.b{constructor(){super({id:"editor.action.joinLines",label:$.a("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(a,b){let c=b.getSelections();if(null===c)return;let e=b.getSelection();if(null===e)return;c.sort(pb.a.compareRangesUsingStarts);let i=[],p=c.reduce((Wa,Db)=>Wa.isEmpty()?Wa.endLineNumber===Db.startLineNumber?(e.equalsSelection(Wa)&&(e=Db),Db):Db.startLineNumber>Wa.endLineNumber+1?(i.push(Wa),Db):new aa.a(Wa.startLineNumber,Wa.startColumn,Db.endLineNumber,Db.endColumn):Db.startLineNumber>Wa.endLineNumber?(i.push(Wa),Db):new aa.a(Wa.startLineNumber,Wa.startColumn,Db.endLineNumber,Db.endColumn));i.push(p);let r=b.getModel();if(null===r)return;let O=[],ha=[],ja=e,la=0;for(let Wa=0,Db=i.length;Wa<Db;Wa++){let Hb,Pb,lc=i[Wa],Ac=lc.startLineNumber,Tc=1,$c=0,Uc=r.getLineContent(lc.endLineNumber).length-lc.endColumn;if(lc.isEmpty()||lc.startLineNumber===lc.endLineNumber){let Sc=lc.getStartPosition();Sc.lineNumber<r.getLineCount()?(Hb=Ac+1,Pb=r.getLineMaxColumn(Hb)):(Hb=Sc.lineNumber,Pb=r.getLineMaxColumn(Sc.lineNumber))}else Hb=lc.endLineNumber,Pb=r.getLineMaxColumn(Hb);let dd=r.getLineContent(Ac);for(let Sc=Ac+1;Sc<=Hb;Sc++){let kd=r.getLineContent(Sc),vd=r.getLineFirstNonWhitespaceColumn(Sc);if(vd>=1){let le=!0;""===dd&&(le=!1),!le||" "!==dd.charAt(dd.length-1)&&" "!==dd.charAt(dd.length-1)||(le=!1,dd=dd.replace(/[\s\uFEFF\xA0]+$/g," "));let Ie=kd.substr(vd-1);dd+=(le?" ":"")+Ie,$c=le?Ie.length+1:Ie.length}else $c=0}let Jd=new pb.a(Ac,Tc,Hb,Pb);if(!Jd.isEmpty()){let Sc;lc.isEmpty()?(O.push(qd.a.replace(Jd,dd)),Sc=new aa.a(Jd.startLineNumber-la,dd.length-$c+1,Ac-la,dd.length-$c+1)):lc.startLineNumber===lc.endLineNumber?(O.push(qd.a.replace(Jd,dd)),Sc=new aa.a(lc.startLineNumber-la,lc.startColumn,lc.endLineNumber-la,lc.endColumn)):(O.push(qd.a.replace(Jd,dd)),Sc=new aa.a(lc.startLineNumber-la,lc.startColumn,lc.startLineNumber-la,dd.length-Uc)),null!==pb.a.intersectRanges(Jd,e)?ja=Sc:ha.push(Sc)}la+=Jd.endLineNumber-Jd.startLineNumber}ha.unshift(ja),b.pushUndoStop(),b.executeEdits(this.id,O,ha),b.pushUndoStop()}}class No extends ba.b{constructor(){super({id:"editor.action.transpose",label:$.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:S.a.writable})}run(a,b){let c=b.getSelections();if(null===c)return;let e=b.getModel();if(null===e)return;let i=[];for(let p=0,r=c.length;p<r;p++){let O=c[p];if(!O.isEmpty())continue;let ha=O.getStartPosition(),ja=e.getLineMaxColumn(ha.lineNumber);if(ha.column>=ja){if(ha.lineNumber===e.getLineCount())continue;let la=new pb.a(ha.lineNumber,Math.max(1,ha.column-1),ha.lineNumber+1,1),Wa=e.getValueInRange(la).split("").reverse().join("");i.push(new Vc.a(new aa.a(ha.lineNumber,Math.max(1,ha.column-1),ha.lineNumber+1,1),Wa))}else{let la=new pb.a(ha.lineNumber,Math.max(1,ha.column-1),ha.lineNumber,ha.column+1),Wa=e.getValueInRange(la).split("").reverse().join("");i.push(new Vc.b(la,Wa,new aa.a(ha.lineNumber,ha.column+1,ha.lineNumber,ha.column+1)))}}b.pushUndoStop(),b.executeCommands(this.id,i),b.pushUndoStop()}}class _k extends ba.b{run(a,b){let c=b.getSelections();if(null===c)return;let e=b.getModel();if(null===e)return;let i=b.getOption(105),p=[];for(let r=0,O=c.length;r<O;r++){let ha=c[r];if(ha.isEmpty()){let ja=ha.getStartPosition();const la=b.getConfiguredWordAtPosition(ja);if(!la)continue;let Wa=new pb.a(ja.lineNumber,la.startColumn,ja.lineNumber,la.endColumn),Db=e.getValueInRange(Wa);p.push(new Vc.b(Wa,this._modifyText(Db,i),new aa.a(ja.lineNumber,ja.column,ja.lineNumber,ja.column)))}else{let ja=e.getValueInRange(ha);p.push(new Vc.b(ha,this._modifyText(ja,i),ha))}}b.pushUndoStop(),b.executeCommands(this.id,p),b.pushUndoStop()}}Object(ba.k)(class extends xm{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:$.a("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"2_line",title:$.a({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),Object(ba.k)(class extends xm{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:$.a("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"2_line",title:$.a({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),Object(ba.k)(Go),Object(ba.k)(class extends ym{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:$.a("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"2_line",title:$.a({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),Object(ba.k)(class extends ym{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:$.a("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:S.a.writable,kbOpts:{kbExpr:S.a.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"2_line",title:$.a({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),Object(ba.k)(class extends zm{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:$.a("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:S.a.writable})}}),Object(ba.k)(class extends zm{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:$.a("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:S.a.writable})}}),Object(ba.k)(Zk),Object(ba.k)(Ho),Object(ba.k)(Io),Object(ba.k)(Jo),Object(ba.k)(Ko),Object(ba.k)(Lo),Object(ba.k)(class extends Am{constructor(){super({id:"deleteAllLeft",label:$.a("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(a,b){let c=null,e=[],i=0;return b.forEach(p=>{let r;if(1===p.endColumn&&i>0){let O=p.startLineNumber-i;r=new aa.a(O,p.startColumn,O,p.startColumn)}else r=new aa.a(p.startLineNumber,p.startColumn,p.startLineNumber,p.startColumn);i+=p.endLineNumber-p.startLineNumber,p.intersectRanges(a)?c=r:e.push(r)}),c&&e.unshift(c),e}_getRangesToDelete(a){let b=a.getSelections();if(null===b)return[];let c=b,e=a.getModel();return null===e?[]:(c.sort(pb.a.compareRangesUsingStarts),c=c.map(i=>{if(i.isEmpty()){if(1===i.startColumn){let p=Math.max(1,i.startLineNumber-1),r=1===i.startLineNumber?1:e.getLineContent(p).length+1;return new pb.a(p,r,i.startLineNumber,1)}return new pb.a(i.startLineNumber,1,i.startLineNumber,i.startColumn)}return new pb.a(i.startLineNumber,1,i.endLineNumber,i.endColumn)}),c)}}),Object(ba.k)(class extends Am{constructor(){super({id:"deleteAllRight",label:$.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(a,b){let c=null,e=[];for(let i=0,p=b.length,r=0;i<p;i++){let O=b[i],ha=new aa.a(O.startLineNumber-r,O.startColumn,O.startLineNumber-r,O.startColumn);O.intersectRanges(a)?c=ha:e.push(ha)}return c&&e.unshift(c),e}_getRangesToDelete(a){let b=a.getModel();if(null===b)return[];let c=a.getSelections();if(null===c)return[];let e=c.map(i=>{if(i.isEmpty()){const p=b.getLineMaxColumn(i.startLineNumber);return i.startColumn===p?new pb.a(i.startLineNumber,i.startColumn,i.startLineNumber+1,1):new pb.a(i.startLineNumber,i.startColumn,i.startLineNumber,p)}return i});return e.sort(pb.a.compareRangesUsingStarts),e}}),Object(ba.k)(Mo),Object(ba.k)(No),Object(ba.k)(class extends _k{constructor(){super({id:"editor.action.transformToUppercase",label:$.a("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:S.a.writable})}_modifyText(a,b){return a.toLocaleUpperCase()}}),Object(ba.k)(class extends _k{constructor(){super({id:"editor.action.transformToLowercase",label:$.a("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:S.a.writable})}_modifyText(a,b){return a.toLocaleLowerCase()}}),Object(ba.k)(class extends _k{constructor(){super({id:"editor.action.transformToTitlecase",label:$.a("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:S.a.writable})}_modifyText(a,b){const c=(`\r - `+b).split("");let e="",i=!0;for(let p=0;p<a.length;p++){let r=a[p];c.indexOf(r)>=0?(i=!0,e+=r):i?(i=!1,e+=r.toLocaleUpperCase()):e+=r.toLocaleLowerCase()}return e}}),f(317);var Bm=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Oo{constructor(a,b){this._link=a,this._provider=b}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(a){return Bm(this,void 0,void 0,function*(){return this._link.url?this._link.url:"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,a)).then(b=>(this._link=b||this._link,this._link.url?this.resolve(a):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))})}}class $k extends Nb.a{constructor(a){super();let b=[];for(const[c,e]of a){const i=c.links.map(p=>new Oo(p,e));b=$k._union(b,i),Object(Nb.g)(c)&&this._register(c)}this.links=b}static _union(a,b){let c,e,i,p,r=[];for(c=0,i=0,e=a.length,p=b.length;c<e&&i<p;){const O=a[c],ha=b[i];if(pb.a.areIntersectingOrTouching(O.range,ha.range)){c++;continue}pb.a.compareRangesUsingStarts(O.range,ha.range)<0?(r.push(O),c++):(r.push(ha),i++)}for(;c<e;c++)r.push(a[c]);for(;i<p;i++)r.push(b[i]);return r}}function Cm(a,b){const c=[],e=W.s.ordered(a).reverse().map((i,p)=>Promise.resolve(i.provideLinks(a,b)).then(r=>{r&&(c[p]=[r,i])},La.f));return Promise.all(e).then(()=>{const i=new $k(Object(ka.d)(c));return b.isCancellationRequested?(i.dispose(),new $k([])):i})}ya.a.registerCommand("_executeLinkProvider",(a,...b)=>Bm(void 0,void 0,void 0,function*(){const[c]=b;if(!(c instanceof xd.a))return[];const e=a.get(ia.a).getModel(c);if(!e)return[];const i=yield Cm(e,Gd.a.None);if(!i)return[];const p=i.links.slice(0);return i.dispose(),p}));var Po=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Dm=function(a,b){return function(c,e){b(c,e,a)}},Qo=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const Em={general:Eb.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:Eb.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class Dj{constructor(a,b){this.link=a,this.decorationId=b}static decoration(a,b){return{range:a.range,options:Dj._getOptions(a,b,!1)}}static _getOptions(a,b,c){const e=Object.assign({},c?Em.active:Em.general);return e.hoverMessage=function(i,p){const r=i.url&&/^command:/i.test(i.url.toString()),O=i.tooltip?i.tooltip:r?$.a("links.navigate.executeCmd","Execute command"):$.a("links.navigate.follow","Follow link"),ha=p?zb.f?$.a("links.navigate.kb.meta.mac","cmd + click"):$.a("links.navigate.kb.meta","ctrl + click"):zb.f?$.a("links.navigate.kb.alt.mac","option + click"):$.a("links.navigate.kb.alt","alt + click");return i.url?new $a("",!0).appendMarkdown(`[${O}](${i.url.toString()}) (${ha})`):new $a().appendText(`${O} (${ha})`)}(a,b),e}activate(a,b){a.changeDecorationOptions(this.decorationId,Dj._getOptions(this.link,b,!0))}deactivate(a,b){a.changeDecorationOptions(this.decorationId,Dj._getOptions(this.link,b,!1))}}let Di=class a{constructor(b,c,e){this.listenersToRemove=new Nb.b(),this.editor=b,this.openerService=c,this.notificationService=e;let i=new bm(b);this.listenersToRemove.add(i),this.listenersToRemove.add(i.onMouseMoveOrRelevantKeyDown(([p,r])=>{this._onEditorMouseMove(p,r)})),this.listenersToRemove.add(i.onExecute(p=>{this.onEditorMouseUp(p)})),this.listenersToRemove.add(i.onCancel(p=>{this.cleanUpActiveLinkDecoration()})),this.enabled=b.getOption(54),this.listenersToRemove.add(b.onDidChangeConfiguration(p=>{const r=b.getOption(54);this.enabled!==r&&(this.enabled=r,this.updateDecorations([]),this.stop(),this.beginCompute())})),this.listenersToRemove.add(b.onDidChangeModelContent(p=>this.onChange())),this.listenersToRemove.add(b.onDidChangeModel(p=>this.onModelChanged())),this.listenersToRemove.add(b.onDidChangeModelLanguage(p=>this.onModelModeChanged())),this.listenersToRemove.add(W.s.onDidChange(p=>this.onModelModeChanged())),this.timeout=new sc.e(),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(b){return b.getContribution(a.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet(()=>this.beginCompute(),a.RECOMPUTE_TIME)}beginCompute(){return Qo(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.enabled)return;const b=this.editor.getModel();if(W.s.has(b)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=sc.f(c=>Cm(b,c));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(c){Object(La.e)(c)}finally{this.computePromise=null}}})}updateDecorations(b){const c="altKey"===this.editor.getOption(61);let e=[],i=Object.keys(this.currentOccurrences);for(let O=0,ha=i.length;O<ha;O++){let ja=i[O],la=this.currentOccurrences[ja];e.push(la.decorationId)}let p=[];if(b)for(const O of b)p.push(Dj.decoration(O,c));let r=this.editor.deltaDecorations(e,p);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let O=0,ha=r.length;O<ha;O++){let ja=new Dj(b[O],r[O]);this.currentOccurrences[ja.decorationId]=ja}}_onEditorMouseMove(b,c){const e="altKey"===this.editor.getOption(61);if(this.isEnabled(b,c)){this.cleanUpActiveLinkDecoration();const i=this.getLinkOccurrence(b.target.position);i&&this.editor.changeDecorations(p=>{i.activate(p,e),this.activeLinkDecorationId=i.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const b="altKey"===this.editor.getOption(61);if(this.activeLinkDecorationId){const c=this.currentOccurrences[this.activeLinkDecorationId];c&&this.editor.changeDecorations(e=>{c.deactivate(e,b)}),this.activeLinkDecorationId=null}}onEditorMouseUp(b){if(!this.isEnabled(b))return;const c=this.getLinkOccurrence(b.target.position);c&&this.openLinkOccurrence(c,b.hasSideBySideModifier,!0)}openLinkOccurrence(b,c,e=!1){if(!this.openerService)return;const{link:i}=b;i.resolve(Gd.a.None).then(p=>{if("string"==typeof p&&this.editor.hasModel()){const r=this.editor.getModel().uri;if(r.scheme===ca.b.file&&jd.S(p,"file:")){const O=xd.a.parse(p);if(O.scheme===ca.b.file){const ha=Pa.i(O);let ja=null;jd.S(ha,"/./")?ja="."+ha.substr(1):jd.S(ha,"//./")&&(ja="."+ha.substr(2)),ja&&(p=Pa.g(r,ja))}}}return this.openerService.open(p,{openToSide:c,fromUserGesture:e})},p=>{const r=p instanceof Error?p.message:p;"invalid"===r?this.notificationService.warn($.a("invalid.url","Failed to open this link because it is not well-formed: {0}",i.url.toString())):"missing"===r?this.notificationService.warn($.a("missing.url","Failed to open this link because its target is missing.")):Object(La.e)(p)})}getLinkOccurrence(b){if(!this.editor.hasModel()||!b)return null;const c=this.editor.getModel().getDecorationsInRange({startLineNumber:b.lineNumber,startColumn:b.column,endLineNumber:b.lineNumber,endColumn:b.column},0,!0);for(const e of c){const i=this.currentOccurrences[e.id];if(i)return i}return null}isEnabled(b,c){return Boolean(6===b.target.type&&(b.hasTriggerModifier||c&&c.keyCodeIsTriggerKey))}stop(){this.timeout.cancel(),this.activeLinksList&&this.activeLinksList.dispose(),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};Di.ID="editor.linkDetector",Di.RECOMPUTE_TIME=1e3,Di=Po([Dm(1,ih.a),Dm(2,Ja.a)],Di);class Ro extends ba.b{constructor(){super({id:"editor.action.openLink",label:$.a("label","Open Link"),alias:"Open Link",precondition:void 0})}run(a,b){let c=Di.get(b);if(!c)return;if(!b.hasModel())return;let e=b.getSelections();for(let i of e){let p=c.getLinkOccurrence(i.getEndPosition());p&&c.openLinkOccurrence(p,!1)}}}Object(ba.m)(Di.ID,Di),Object(ba.k)(Ro),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.r);c&&b.addRule(`.monaco-editor .detected-link-active { color: ${c} !important; }`)});var Fm=f(85);class So extends ba.b{constructor(){super({id:"editor.action.insertCursorAbove",label:$.a("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"3_multi",title:$.a({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(a,b,c){if(!b.hasModel())return;const e=c&&!0===c.logicalLine,i=b._getViewModel();i.cursorConfig.readOnly||(i.pushStackElement(),i.setCursorStates(c.source,3,Fm.b.addCursorUp(i,i.getCursorStates(),e)),i.revealTopMostCursor(c.source))}}class To extends ba.b{constructor(){super({id:"editor.action.insertCursorBelow",label:$.a("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"3_multi",title:$.a({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(a,b,c){if(!b.hasModel())return;const e=c&&!0===c.logicalLine,i=b._getViewModel();i.cursorConfig.readOnly||(i.pushStackElement(),i.setCursorStates(c.source,3,Fm.b.addCursorDown(i,i.getCursorStates(),e)),i.revealBottomMostCursor(c.source))}}class Uo extends ba.b{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:$.a("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"3_multi",title:$.a({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(a,b,c){if(!a.isEmpty()){for(let e=a.startLineNumber;e<a.endLineNumber;e++){let i=b.getLineMaxColumn(e);c.push(new aa.a(e,i,e,i))}a.endColumn>1&&c.push(new aa.a(a.endLineNumber,a.endColumn,a.endLineNumber,a.endColumn))}}run(a,b){if(!b.hasModel())return;const c=b.getModel(),e=b.getSelections();let i=[];e.forEach(p=>this.getCursorsForSelection(p,c,i)),i.length>0&&b.setSelections(i)}}class Vo extends ba.b{constructor(){super({id:"editor.action.addCursorsToBottom",label:$.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(a,b){if(!b.hasModel())return;const c=b.getSelections(),e=b.getModel().getLineCount();let i=[];for(let p=c[0].startLineNumber;p<=e;p++)i.push(new aa.a(p,c[0].startColumn,p,c[0].endColumn));i.length>0&&b.setSelections(i)}}class Wo extends ba.b{constructor(){super({id:"editor.action.addCursorsToTop",label:$.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(a,b){if(!b.hasModel())return;const c=b.getSelections();let e=[];for(let i=c[0].startLineNumber;i>=1;i--)e.push(new aa.a(i,c[0].startColumn,i,c[0].endColumn));e.length>0&&b.setSelections(e)}}class ek{constructor(a,b,c){this.selections=a,this.revealRange=b,this.revealScrollType=c}}class fk{constructor(a,b,c,e,i,p,r){this._editor=a,this.findController=b,this.isDisconnectedFromFindController=c,this.searchText=e,this.wholeWord=i,this.matchCase=p,this.currentMatch=r}static create(a,b){if(!a.hasModel())return null;const c=b.getState();if(!a.hasTextFocus()&&c.isRevealed&&c.searchString.length>0)return new fk(a,b,!1,c.searchString,c.wholeWord,c.matchCase,null);let e,i,p=!1;const r=a.getSelections();1===r.length&&r[0].isEmpty()?(p=!0,e=!0,i=!0):(e=c.wholeWord,i=c.matchCase);const O=a.getSelection();let ha,ja=null;if(O.isEmpty()){const la=a.getConfiguredWordAtPosition(O.getStartPosition());if(!la)return null;ha=la.word,ja=new aa.a(O.startLineNumber,la.startColumn,O.startLineNumber,la.endColumn)}else ha=a.getModel().getValueInRange(O).replace(/\r\n/g,` -`);return new fk(a,b,p,ha,e,i,ja)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const a=this._getNextMatch();if(!a)return null;const b=this._editor.getSelections();return new ek(b.concat(a),a,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const a=this._getNextMatch();if(!a)return null;const b=this._editor.getSelections();return new ek(b.slice(0,b.length-1).concat(a),a,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const a=this._editor.getSelections(),b=a[a.length-1],c=this._editor.getModel().findNextMatch(this.searchText,b.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return c?new aa.a(c.range.startLineNumber,c.range.startColumn,c.range.endLineNumber,c.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const a=this._getPreviousMatch();if(!a)return null;const b=this._editor.getSelections();return new ek(b.concat(a),a,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const a=this._getPreviousMatch();if(!a)return null;const b=this._editor.getSelections();return new ek(b.slice(0,b.length-1).concat(a),a,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const a=this._editor.getSelections(),b=a[a.length-1],c=this._editor.getModel().findPreviousMatch(this.searchText,b.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return c?new aa.a(c.range.startLineNumber,c.range.startColumn,c.range.endLineNumber,c.range.endColumn):null}selectAll(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1,1073741824)):[]}}class gj extends Nb.a{constructor(a){super(),this._sessionDispose=this._register(new Nb.b()),this._editor=a,this._ignoreSelectionChange=!1,this._session=null}static get(a){return a.getContribution(gj.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(a){if(!this._session){const b=fk.create(this._editor,a);if(!b)return;this._session=b;const c={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(c.wholeWordOverride=1,c.matchCaseOverride=1,c.isRegexOverride=2),a.getState().change(c,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(a.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const a={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(a,!1)}this._session=null}_setSelections(a){this._ignoreSelectionChange=!0,this._editor.setSelections(a),this._ignoreSelectionChange=!1}_expandEmptyToWord(a,b){if(!b.isEmpty())return b;const c=this._editor.getConfiguredWordAtPosition(b.getStartPosition());return c?new aa.a(b.startLineNumber,c.startColumn,b.startLineNumber,c.endColumn):b}_applySessionResult(a){a&&(this._setSelections(a.selections),a.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(a.revealRange,a.revealScrollType))}getSession(a){return this._session}addSelectionToNextFindMatch(a){if(this._editor.hasModel()){if(!this._session){const b=this._editor.getSelections();if(b.length>1){const c=a.getState().matchCase;if(!Hm(this._editor.getModel(),b,c)){const e=this._editor.getModel();let i=[];for(let p=0,r=b.length;p<r;p++)i[p]=this._expandEmptyToWord(e,b[p]);return void this._editor.setSelections(i)}}}this._beginSessionIfNeeded(a),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(a){this._beginSessionIfNeeded(a),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(a){this._beginSessionIfNeeded(a),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(a){this._beginSessionIfNeeded(a),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(a){if(!this._editor.hasModel())return;let b=null;const c=a.getState();if(c.isRevealed&&c.searchString.length>0&&c.isRegex)b=this._editor.getModel().findMatches(c.searchString,!0,c.isRegex,c.matchCase,c.wholeWord?this._editor.getOption(105):null,!1,1073741824);else{if(this._beginSessionIfNeeded(a),!this._session)return;b=this._session.selectAll()}if(c.searchScope){const e=c.searchScope;let i=[];b.forEach(p=>{e.forEach(r=>{p.range.endLineNumber<=r.endLineNumber&&p.range.startLineNumber>=r.startLineNumber&&i.push(p)})}),b=i}if(b.length>0){const e=this._editor.getSelection();for(let i=0,p=b.length;i<p;i++){const r=b[i];if(r.range.intersectRanges(e)){b[i]=b[0],b[0]=r;break}}this._setSelections(b.map(i=>new aa.a(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn)))}}}gj.ID="editor.contrib.multiCursorController";class hj extends ba.b{run(a,b){const c=gj.get(b);if(!c)return;const e=hf.get(b);e&&this._run(c,e)}}class Gm{constructor(a,b,c,e){this.searchText=a,this.matchCase=b,this.wordSeparators=c,this.modelVersionId=e}static softEquals(a,b){return!a&&!b||!(!a||!b)&&(a.searchText===b.searchText&&a.matchCase===b.matchCase&&a.wordSeparators===b.wordSeparators&&a.modelVersionId===b.modelVersionId)}}class $h extends Nb.a{constructor(a){super(),this.editor=a,this._isEnabled=a.getOption(89),this.decorations=[],this.updateSoon=this._register(new sc.d(()=>this._update(),300)),this.state=null,this._register(a.onDidChangeConfiguration(b=>{this._isEnabled=a.getOption(89)})),this._register(a.onDidChangeCursorSelection(b=>{this._isEnabled&&(b.selection.isEmpty()?3===b.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(a.onDidChangeModel(b=>{this._setState(null)})),this._register(a.onDidChangeModelContent(b=>{this._isEnabled&&this.updateSoon.schedule()})),this._register(hf.get(a).getState().onFindReplaceStateChange(b=>{this._update()}))}_update(){this._setState($h._createState(this._isEnabled,this.editor))}static _createState(a,b){if(!a)return null;if(!b.hasModel())return null;const c=b.getSelection();if(c.startLineNumber!==c.endLineNumber)return null;const e=gj.get(b);if(!e)return null;const i=hf.get(b);if(!i)return null;let p=e.getSession(i);if(!p){const ha=b.getSelections();if(ha.length>1){const ja=i.getState().matchCase;if(!Hm(b.getModel(),ha,ja))return null}p=fk.create(b,i)}if(!p)return null;if(p.currentMatch)return null;if(/^[ \t]+$/.test(p.searchText))return null;if(p.searchText.length>200)return null;const r=i.getState(),O=r.matchCase;if(r.isRevealed){let ha=r.searchString;O||(ha=ha.toLowerCase());let ja=p.searchText;if(O||(ja=ja.toLowerCase()),ha===ja&&p.matchCase===r.matchCase&&p.wholeWord===r.wholeWord&&!r.isRegex)return null}return new Gm(p.searchText,p.matchCase,p.wholeWord?b.getOption(105):null,b.getModel().getVersionId())}_setState(a){if(Gm.softEquals(this.state,a))return void(this.state=a);if(this.state=a,!this.state)return void(this.decorations=this.editor.deltaDecorations(this.decorations,[]));if(!this.editor.hasModel())return;const b=this.editor.getModel();if(b.isTooLargeForTokenization())return;const c=W.i.has(b)&&this.editor.getOption(63);let e=b.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(O=>O.range);e.sort(pb.a.compareRangesUsingStarts);let i=this.editor.getSelections();i.sort(pb.a.compareRangesUsingStarts);let p=[];for(let O=0,ha=0,ja=e.length,la=i.length;O<ja;){const Wa=e[O];if(ha>=la)p.push(Wa),O++;else{const Db=pb.a.compareRangesUsingStarts(Wa,i[ha]);Db<0?(!i[ha].isEmpty()&&pb.a.areIntersecting(Wa,i[ha])||p.push(Wa),O++):(Db>0||O++,ha++)}}const r=p.map(O=>({range:O,options:c?$h._SELECTION_HIGHLIGHT:$h._SELECTION_HIGHLIGHT_OVERVIEW}));this.decorations=this.editor.deltaDecorations(this.decorations,r)}dispose(){this._setState(null),super.dispose()}}function Hm(a,b,c){const e=Im(a,b[0],!c);for(let i=1,p=b.length;i<p;i++){const r=b[i];if(r.isEmpty())return!1;if(e!==Im(a,r,!c))return!1}return!0}function Im(a,b,c){const e=a.getValueInRange(b);return c?e.toLowerCase():e}$h.ID="editor.contrib.selectionHighlighter",$h._SELECTION_HIGHLIGHT_OVERVIEW=Eb.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(Oa.h)(Va.Wb),position:mc.d.Center}}),$h._SELECTION_HIGHLIGHT=Eb.a.register({stickiness:1,className:"selectionHighlight"}),Object(ba.m)(gj.ID,gj),Object(ba.m)($h.ID,$h),Object(ba.k)(So),Object(ba.k)(To),Object(ba.k)(Uo),Object(ba.k)(class extends hj{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:$.a("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:2082,weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"3_multi",title:$.a({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(a,b){a.addSelectionToNextFindMatch(b)}}),Object(ba.k)(class extends hj{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:$.a("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"3_multi",title:$.a({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(a,b){a.addSelectionToPreviousFindMatch(b)}}),Object(ba.k)(class extends hj{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:$.a("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:Object(_.a)(2089,2082),weight:100}})}_run(a,b){a.moveSelectionToNextFindMatch(b)}}),Object(ba.k)(class extends hj{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:$.a("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(a,b){a.moveSelectionToPreviousFindMatch(b)}}),Object(ba.k)(class extends hj{constructor(){super({id:"editor.action.selectHighlights",label:$.a("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:3114,weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"3_multi",title:$.a({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(a,b){a.selectAll(b)}}),Object(ba.k)(class extends hj{constructor(){super({id:"editor.action.changeAll",label:$.a("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:I.a.and(S.a.writable,S.a.editorTextFocus),kbOpts:{kbExpr:S.a.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(a,b){a.selectAll(b)}}),Object(ba.k)(Vo),Object(ba.k)(Wo),f(319);var Xo=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const Ei={Visible:new I.c("parameterHintsVisible",!1),MultipleSignatures:new I.c("parameterHintsMultipleSignatures",!1)};function Jm(a,b,c,e){const i=W.y.ordered(a);return Object(sc.h)(i.map(p=>()=>Promise.resolve(p.provideSignatureHelp(a,b,e,c)).catch(r=>Object(La.f)(r))))}Object(ba.j)("_executeSignatureHelpProvider",(a,b,c)=>Xo(void 0,void 0,void 0,function*(){const e=yield Jm(a,b,{triggerKind:W.z.Invoke,isRetrigger:!1,triggerCharacter:c.triggerCharacter},Gd.a.None);if(e)return setTimeout(()=>e.dispose(),0),e.value}));var ai,Yo=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};!function(a){a.Default={type:0},a.Pending=class{constructor(b){this.request=b,this.type=2}},a.Active=class{constructor(b){this.hints=b,this.type=1}}}(ai||(ai={}));class al extends Nb.a{constructor(a,b=al.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new jb.a()),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=ai.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new Nb.d()),this.triggerChars=new Qg.b(),this.retriggerChars=new Qg.b(),this.triggerId=0,this.editor=a,this.throttledDelayer=new sc.a(b),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(c=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(c=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(c=>this.onCursorChange(c))),this._register(this.editor.onDidChangeModelContent(c=>this.onModelContentChange())),this._register(W.y.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(c=>this.onDidType(c))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(a){2===this._state.type&&this._state.request.cancel(),this._state=a}cancel(a=!1){this.state=ai.Default,this.throttledDelayer.cancel(),a||this._onChangedHints.fire(void 0)}trigger(a,b){const c=this.editor.getModel();if(!c||!W.y.has(c))return;const e=++this.triggerId;this._pendingTriggers.push(a),this.throttledDelayer.trigger(()=>this.doTrigger(e),b).catch(La.e)}next(){if(1!==this.state.type)return;const a=this.state.hints.signatures.length,b=this.state.hints.activeSignature,c=b%a==a-1,e=this.editor.getOption(67).cycle;!(a<2||c)||e?this.updateActiveSignature(c&&e?0:b+1):this.cancel()}previous(){if(1!==this.state.type)return;const a=this.state.hints.signatures.length,b=this.state.hints.activeSignature,c=0===b,e=this.editor.getOption(67).cycle;!(a<2||c)||e?this.updateActiveSignature(c&&e?a-1:b-1):this.cancel()}updateActiveSignature(a){1===this.state.type&&(this.state=new ai.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:a})),this._onChangedHints.fire(this.state.hints))}doTrigger(a){return Yo(this,void 0,void 0,function*(){const b=1===this.state.type||2===this.state.type,c=1===this.state.type?this.state.hints:void 0;if(this.cancel(!0),0===this._pendingTriggers.length)return!1;const e=this._pendingTriggers.reduce(Zo);this._pendingTriggers=[];const i={triggerKind:e.triggerKind,triggerCharacter:e.triggerCharacter,isRetrigger:b,activeSignatureHelp:c};if(!this.editor.hasModel())return!1;const p=this.editor.getModel(),r=this.editor.getPosition();this.state=new ai.Pending(Object(sc.f)(O=>Jm(p,r,i,O)));try{const O=yield this.state.request;return a!==this.triggerId?(null==O||O.dispose(),!1):O&&O.value.signatures&&0!==O.value.signatures.length?(this.state=new ai.Active(O.value),this._lastSignatureHelpResult.value=O,this._onChangedHints.fire(this.state.hints),!0):(null==O||O.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(O){return a===this.triggerId&&(this.state=ai.Default),Object(La.e)(O),!1}})}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new Qg.b(),this.retriggerChars=new Qg.b();const a=this.editor.getModel();if(a)for(const b of W.y.ordered(a)){for(const c of b.signatureHelpTriggerCharacters||[])this.triggerChars.add(c.charCodeAt(0)),this.retriggerChars.add(c.charCodeAt(0));for(const c of b.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(c.charCodeAt(0))}}onDidType(a){if(!this.triggerOnType)return;const b=a.length-1,c=a.charCodeAt(b);(this.triggerChars.has(c)||this.isTriggered&&this.retriggerChars.has(c))&&this.trigger({triggerKind:W.z.TriggerCharacter,triggerCharacter:a.charAt(b)})}onCursorChange(a){"mouse"===a.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:W.z.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:W.z.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(67).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function Zo(a,b){switch(b.triggerKind){case W.z.Invoke:return b;case W.z.ContentChange:return a;case W.z.TriggerCharacter:default:return b}}al.DEFAULT_DELAY=120;var _o=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},bl=function(a,b){return function(c,e){b(c,e,a)}};const Yf=qa.a,$o=Object(va.e)("parameter-hints-next",va.a.chevronDown),ap=Object(va.e)("parameter-hints-previous",va.a.chevronUp);let gk=class a extends Nb.a{constructor(b,c,e,i){super(),this.editor=b,this.renderDisposeables=this._register(new Nb.b()),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new aj(b,i,e)),this.model=this._register(new al(b)),this.keyVisible=Ei.Visible.bindTo(c),this.keyMultipleSignatures=Ei.MultipleSignatures.bindTo(c),this._register(this.model.onChangedHints(p=>{p?(this.show(),this.render(p)):this.hide()}))}createParamaterHintDOMNodes(){const b=Yf(".editor-widget.parameter-hints-widget"),c=qa.p(b,Yf(".wrapper"));c.tabIndex=-1;const e=qa.p(c,Yf(".controls")),i=qa.p(e,Yf(".button"+ap.cssSelector)),p=qa.p(e,Yf(".overloads")),r=qa.p(e,Yf(".button"+$o.cssSelector)),O=Object(Ye.b)(Object(Ye.a)(i,"click"));this._register(O(this.previous,this));const ha=Object(Ye.b)(Object(Ye.a)(r,"click"));this._register(ha(this.next,this));const ja=Yf(".body"),la=new _j.a(ja,{});this._register(la),c.appendChild(la.getDomNode());const Wa=qa.p(ja,Yf(".signature")),Db=qa.p(ja,Yf(".docs"));b.style.userSelect="text",this.domNodes={element:b,signature:Wa,overloads:p,docs:Db,scrollbar:la},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(Pb=>{this.visible&&this.editor.layoutContentWidget(this)}));const Hb=()=>{if(!this.domNodes)return;const Pb=this.editor.getOption(36);this.domNodes.element.style.fontSize=Pb.fontSize+"px"};Hb(),this._register(jb.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(Pb=>Pb.hasChanged(36)).on(Hb,null)),this._register(this.editor.onDidLayoutChange(Pb=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&qa.e(this.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&qa.Q(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(b){var c;if(this.renderDisposeables.clear(),!this.domNodes)return;const e=b.signatures.length>1;qa.ab(this.domNodes.element,"multiple",e),this.keyMultipleSignatures.set(e),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const i=b.signatures[b.activeSignature];if(!i)return;const p=qa.p(this.domNodes.signature,Yf(".code")),r=this.editor.getOption(36);p.style.fontSize=r.fontSize+"px",p.style.fontFamily=r.fontFamily;const O=i.parameters.length>0,ha=null!==(c=i.activeParameter)&&void 0!==c?c:b.activeParameter;O?this.renderParameters(p,i,ha):qa.p(p,Yf("span")).textContent=i.label;const ja=i.parameters[ha];if(null==ja?void 0:ja.documentation){const Wa=Yf("span.documentation");if("string"==typeof ja.documentation)Wa.textContent=ja.documentation;else{const Db=this.renderDisposeables.add(this.markdownRenderer.render(ja.documentation));qa.e(Db.element,"markdown-docs"),Wa.appendChild(Db.element)}qa.p(this.domNodes.docs,Yf("p",{},Wa))}if(!(void 0===i.documentation))if("string"==typeof i.documentation)qa.p(this.domNodes.docs,Yf("p",{},i.documentation));else{const Wa=this.renderDisposeables.add(this.markdownRenderer.render(i.documentation));qa.e(Wa.element,"markdown-docs"),qa.p(this.domNodes.docs,Wa.element)}const la=this.hasDocs(i,ja);if(qa.ab(this.domNodes.signature,"has-docs",la),qa.ab(this.domNodes.docs,"empty",!la),this.domNodes.overloads.textContent=Object(jd.M)(b.activeSignature+1,b.signatures.length.toString().length)+"/"+b.signatures.length,ja){const Wa=this.getParameterLabel(i,ha);this.announcedLabel!==Wa&&(tc.a($.a("hint","{0}, hint",Wa)),this.announcedLabel=Wa)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}hasDocs(b,c){return!!(c&&"string"==typeof c.documentation&&Object(Zd.a)(c.documentation).length>0)||(!!(c&&"object"==typeof c.documentation&&Object(Zd.a)(c.documentation).value.length>0)||(!!(b.documentation&&"string"==typeof b.documentation&&Object(Zd.a)(b.documentation).length>0)||!!(b.documentation&&"object"==typeof b.documentation&&Object(Zd.a)(b.documentation.value).length>0)))}renderParameters(b,c,e){const[i,p]=this.getParameterLabelOffsets(c,e),r=document.createElement("span");r.textContent=c.label.substring(0,i);const O=document.createElement("span");O.textContent=c.label.substring(i,p),O.className="parameter active";const ha=document.createElement("span");ha.textContent=c.label.substring(p),qa.p(b,r,O,ha)}getParameterLabel(b,c){const e=b.parameters[c];return Array.isArray(e.label)?b.label.substring(e.label[0],e.label[1]):e.label}getParameterLabelOffsets(b,c){const e=b.parameters[c];if(e){if(Array.isArray(e.label))return e.label;{const i=b.label.lastIndexOf(e.label);return i>=0?[i,i+e.label.length]:[0,0]}}return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element}getId(){return a.ID}trigger(b){this.model.trigger(b,0)}updateMaxHeight(){if(!this.domNodes)return;const b=Math.max(this.editor.getLayoutInfo().height/4,250)+"px";this.domNodes.element.style.maxHeight=b;const c=this.domNodes.element.getElementsByClassName("wrapper");c.length&&(c[0].style.maxHeight=b)}};gk.ID="editor.widget.parameterHintsWidget",gk=_o([bl(1,I.b),bl(2,ih.a),bl(3,Xh.a)],gk),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.F);if(c){const O=a.type===Oa.b?2:1;b.addRule(`.monaco-editor .parameter-hints-widget { border: ${O}px solid ${c}; }`),b.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${c.transparent(.5)}; }`),b.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${c.transparent(.5)}; }`)}const e=a.getColor(Va.E);e&&b.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${e}; }`);const i=a.getColor(Va.rc);i&&b.addRule(`.monaco-editor .parameter-hints-widget a { color: ${i}; }`);const p=a.getColor(Va.G);p&&b.addRule(`.monaco-editor .parameter-hints-widget { color: ${p}; }`);const r=a.getColor(Va.qc);r&&b.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${r}; }`)});var bp=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},cp=function(a,b){return function(c,e){b(c,e,a)}};let Fi=class a extends Nb.a{constructor(b,c){super(),this.editor=b,this.widget=this._register(c.createInstance(gk,this.editor))}static get(b){return b.getContribution(a.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(b){this.widget.trigger(b)}};Fi.ID="editor.controller.parameterHints",Fi=bp([cp(1,xa.a)],Fi);class dp extends ba.b{constructor(){super({id:"editor.action.triggerParameterHints",label:$.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:S.a.hasSignatureHelpProvider,kbOpts:{kbExpr:S.a.editorTextFocus,primary:3082,weight:100}})}run(a,b){const c=Fi.get(b);c&&c.trigger({triggerKind:W.z.Invoke})}}Object(ba.m)(Fi.ID,Fi),Object(ba.k)(dp);const cl=ba.c.bindToContribution(Fi.get);Object(ba.l)(new cl({id:"closeParameterHints",precondition:Ei.Visible,handler:a=>a.cancel(),kbOpts:{weight:175,kbExpr:S.a.focus,primary:9,secondary:[1033]}})),Object(ba.l)(new cl({id:"showPrevParameterHint",precondition:I.a.and(Ei.Visible,Ei.MultipleSignatures),handler:a=>a.previous(),kbOpts:{weight:175,kbExpr:S.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object(ba.l)(new cl({id:"showNextParameterHint",precondition:I.a.and(Ei.Visible,Ei.MultipleSignatures),handler:a=>a.next(),kbOpts:{weight:175,kbExpr:S.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}})),f(321);var ep=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},fp=function(a,b){return function(c,e){b(c,e,a)}},Km=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const Lm=new I.c("onTypeRenameInputVisible",!1);let bi=class a extends Nb.a{constructor(b,c){super(),this._debounceDuration=200,this._localToDispose=this._register(new Nb.b()),this._editor=b,this._enabled=!1,this._visibleContextKey=Lm.bindTo(c),this._currentDecorations=[],this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new Nb.b()),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(73)&&this.reinitialize()})),this._register(W.u.onDidChange(()=>this.reinitialize())),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize())),this.reinitialize()}static get(b){return b.getContribution(a.ID)}reinitialize(){const b=this._editor.getModel(),c=null!==b&&this._editor.getOption(73)&&W.u.has(b);if(c===this._enabled)return;if(this._enabled=c,this.clearRanges(),this._localToDispose.clear(),!c||null===b)return;this._languageWordPattern=Be.a.getWordDefinition(b.getLanguageIdentifier().id),this._localToDispose.add(b.onDidChangeLanguageConfiguration(()=>{this._languageWordPattern=Be.a.getWordDefinition(b.getLanguageIdentifier().id)}));const e=new sc.a(this._debounceDuration),i=()=>{this._rangeUpdateTriggerPromise=e.trigger(()=>this.updateRanges(),this._debounceDuration)},p=new sc.a(0),r=O=>{this._rangeSyncTriggerPromise=p.trigger(()=>this._syncRanges(O))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{i()})),this._localToDispose.add(this._editor.onDidChangeModelContent(O=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const ha=b.getDecorationRange(this._currentDecorations[0]);if(ha&&O.changes.every(ja=>ha.intersectRanges(ja.range)))return void r(this._currentDecorations)}i()})),this._localToDispose.add({dispose:()=>{e.cancel(),p.cancel()}}),this.updateRanges()}_syncRanges(b){if(!this._editor.hasModel()||b!==this._currentDecorations||0===b.length)return;const c=this._editor.getModel(),e=c.getDecorationRange(b[0]);if(!e||e.startLineNumber!==e.endLineNumber)return this.clearRanges();const i=c.getValueInRange(e);if(this._currentWordPattern){const r=i.match(this._currentWordPattern);if((r?r[0].length:0)!==i.length)return this.clearRanges()}let p=[];for(let r=1,O=b.length;r<O;r++){const ha=c.getDecorationRange(b[r]);if(ha)if(ha.startLineNumber!==ha.endLineNumber)p.push({range:ha,text:i});else{let ja=c.getValueInRange(ha),la=i,Wa=ha.startColumn,Db=ha.endColumn;const Hb=jd.d(ja,la);Wa+=Hb,ja=ja.substr(Hb),la=la.substr(Hb);const Pb=jd.e(ja,la);Db-=Pb,ja=ja.substr(0,ja.length-Pb),la=la.substr(0,la.length-Pb),Wa===Db&&0===la.length||p.push({range:new pb.a(ha.startLineNumber,Wa,ha.endLineNumber,Db),text:la})}}if(0!==p.length)try{this._ignoreChangeEvent=!0;const r=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits("onTypeRename",p),this._editor._getViewModel().setPrevEditOperationType(r)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,[]),this._currentRequest&&(this._currentRequest.cancel(),this._currentRequest=null,this._currentRequestPosition=null)}updateRanges(b=!1){return Km(this,void 0,void 0,function*(){if(!this._editor.hasModel())return void this.clearRanges();const c=this._editor.getPosition();if(!this._enabled&&!b||this._editor.getSelections().length>1)return void this.clearRanges();const e=this._editor.getModel(),i=e.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===i){if(c.equals(this._currentRequestPosition))return;if(this._currentDecorations&&this._currentDecorations.length>0){const r=e.getDecorationRange(this._currentDecorations[0]);if(r&&r.containsPosition(c))return}}this._currentRequestPosition=c,this._currentRequestModelVersion=i;const p=Object(sc.f)(r=>Km(this,void 0,void 0,function*(){try{const O=yield Mm(e,c,r);if(p!==this._currentRequest)return;if(this._currentRequest=null,i!==e.getVersionId())return;let ha=[];(null==O?void 0:O.ranges)&&(ha=O.ranges),this._currentWordPattern=(null==O?void 0:O.wordPattern)||this._languageWordPattern;let ja=!1;for(let Wa=0,Db=ha.length;Wa<Db;Wa++)if(pb.a.containsPosition(ha[Wa],c)){if(ja=!0,0!==Wa){const Hb=ha[Wa];ha.splice(Wa,1),ha.unshift(Hb)}break}if(!ja)return void this.clearRanges();const la=ha.map(Wa=>({range:Wa,options:a.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,la)}catch(O){Object(La.d)(O)||Object(La.e)(O),this._currentRequest!==p&&this._currentRequest||this.clearRanges()}}));return this._currentRequest=p,p})}};bi.ID="editor.contrib.onTypeRename",bi.DECORATION=Eb.a.register({stickiness:0,className:"on-type-rename-decoration"}),bi=ep([fp(1,I.b)],bi);class gp extends ba.b{constructor(){super({id:"editor.action.onTypeRename",label:$.a("onTypeRename.label","On Type Rename Symbol"),alias:"On Type Rename Symbol",precondition:I.a.and(S.a.writable,S.a.hasRenameProvider),kbOpts:{kbExpr:S.a.editorTextFocus,primary:3132,weight:100}})}runCommand(a,b){const c=a.get(Dc.a),[e,i]=Array.isArray(b)&&b||[void 0,void 0];return xd.a.isUri(e)&&Fc.a.isIPosition(i)?c.openCodeEditor({resource:e},c.getActiveCodeEditor()).then(p=>{p&&(p.setPosition(i),p.invokeWithinContext(r=>(this.reportTelemetry(r,p),this.run(r,p))))},La.e):super.runCommand(a,b)}run(a,b){const c=bi.get(b);return c?Promise.resolve(c.updateRanges(!0)):Promise.resolve()}}const hp=ba.c.bindToContribution(bi.get);function Mm(a,b,c){const e=W.u.ordered(a);return Object(sc.h)(e.map(i=>()=>Promise.resolve(i.provideOnTypeRenameRanges(a,b,c)).then(p=>{if(p)return{ranges:p.ranges,wordPattern:p.wordPattern||i.wordPattern}},p=>{Object(La.f)(p)})),i=>!!i&&ka.o(null==i?void 0:i.ranges))}Object(ba.l)(new hp({id:"cancelOnTypeRenameInput",precondition:Lm,handler:a=>a.clearRanges(),kbOpts:{kbExpr:S.a.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));const ip=Object(Va.gc)("editor.onTypeRenameBackground",{dark:Rd.a.fromHex("#f00").transparent(.3),light:Rd.a.fromHex("#f00").transparent(.3),hc:Rd.a.fromHex("#f00").transparent(.3)},$.a("editorOnTypeRenameBackground","Background color when the editor auto renames on type."));Object(Oa.g)((a,b)=>{const c=a.getColor(ip);c&&b.addRule(`.monaco-editor .on-type-rename-decoration { background: ${c}; border-left-color: ${c}; }`)}),Object(ba.p)("_executeRenameOnTypeProvider",(a,b)=>Mm(a,b,Gd.a.None)),Object(ba.m)(bi.ID,bi),Object(ba.k)(gp),f(323);var jp=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},dl=function(a,b){return function(c,e){b(c,e,a)}};const hk=new I.c("renameInputVisible",!1);let el=class{constructor(a,b,c,e,i){this._editor=a,this._acceptKeybindings=b,this._themeService=c,this._keybindingService=e,this._disposables=new Nb.b(),this.allowEditorOverflow=!0,this._visibleContextKey=hk.bindTo(i),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(p=>{p.hasChanged(36)&&this._updateFont()})),this._disposables.add(c.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object($.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);const a=()=>{var b,c;const[e,i]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(e),this._label.innerText=Object($.a)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(b=this._keybindingService.lookupKeybinding(e))||void 0===b?void 0:b.getLabel(),null===(c=this._keybindingService.lookupKeybinding(i))||void 0===c?void 0:c.getLabel())};a(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(a)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(a){var b,c,e,i;if(!this._input||!this._domNode)return;const p=a.getColor(Va.uc);this._domNode.style.backgroundColor=String(null!==(b=a.getColor(Va.U))&&void 0!==b?b:""),this._domNode.style.boxShadow=p?" 0 2px 8px "+p:"",this._domNode.style.color=String(null!==(c=a.getColor(Va.hb))&&void 0!==c?c:""),this._input.style.backgroundColor=String(null!==(e=a.getColor(Va.fb))&&void 0!==e?e:"");const r=a.getColor(Va.gb);this._input.style.borderWidth=r?"1px":"0px",this._input.style.borderStyle=r?"solid":"none",this._input.style.borderColor=null!==(i=null==r?void 0:r.toString())&&void 0!==i?i:"none"}_updateFont(){if(!this._input||!this._label)return;const a=this._editor.getOption(36);this._input.style.fontFamily=a.fontFamily,this._input.style.fontWeight=a.fontWeight,this._input.style.fontSize=a.fontSize+"px",this._label.style.fontSize=.8*a.fontSize+"px"}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}acceptInput(a){this._currentAcceptInput&&this._currentAcceptInput(a)}cancelInput(a){this._currentCancelInput&&this._currentCancelInput(a)}getInput(a,b,c,e,i,p){this._domNode.classList.toggle("preview",i),this._position=new Fc.a(a.startLineNumber,a.startColumn),this._input.value=b,this._input.setAttribute("selectionStart",c.toString()),this._input.setAttribute("selectionEnd",e.toString()),this._input.size=Math.max(1.1*(a.endColumn-a.startColumn),20);const r=new Nb.b();return new Promise(O=>{this._currentCancelInput=ha=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,O(ha),!0),this._currentAcceptInput=ha=>{0!==this._input.value.trim().length&&this._input.value!==b?(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,O({newName:this._input.value,wantsPreview:i&&ha})):this.cancelInput(!0)},p.onCancellationRequested(()=>this.cancelInput(!0)),r.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{r.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};el=jp([dl(2,Oa.c),dl(3,Rb.a),dl(4,I.b)],el);var fl=f(102),ij=f(56),kp=f(128),lp=f(152),mp=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},jj=function(a,b){return function(c,e){b(c,e,a)}},kj=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Nm{constructor(a,b){this.model=a,this.position=b,this._providerRenameIdx=0,this._providers=W.w.ordered(a)}hasProvider(){return this._providers.length>0}resolveRenameLocation(a){return kj(this,void 0,void 0,function*(){const b=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const e=this._providers[this._providerRenameIdx];if(!e.resolveRenameLocation)break;let i=yield e.resolveRenameLocation(this.model,this.position,a);if(i){if(!i.rejectReason)return i;b.push(i.rejectReason)}}const c=this.model.getWordAtPosition(this.position);return c?{range:new pb.a(this.position.lineNumber,c.startColumn,this.position.lineNumber,c.endColumn),text:c.word,rejectReason:b.length>0?b.join(` -`):void 0}:{range:pb.a.fromPositions(this.position),text:"",rejectReason:b.length>0?b.join(` -`):void 0}})}provideRenameEdits(a,b){return kj(this,void 0,void 0,function*(){return this._provideRenameEdits(a,this._providerRenameIdx,[],b)})}_provideRenameEdits(a,b,c,e){return kj(this,void 0,void 0,function*(){const i=this._providers[b];if(!i)return{edits:[],rejectReason:c.join(` -`)};const p=yield i.provideRenameEdits(this.model,this.position,a,e);return p?p.rejectReason?this._provideRenameEdits(a,b+1,c.concat(p.rejectReason),e):p:this._provideRenameEdits(a,b+1,c.concat($.a("no result","No result.")),e)})}}let Gi=class a{constructor(b,c,e,i,p,r,O){this.editor=b,this._instaService=c,this._notificationService=e,this._bulkEditService=i,this._progressService=p,this._logService=r,this._configService=O,this._dispoableStore=new Nb.b(),this._cts=new Gd.b(),this._renameInputField=this._dispoableStore.add(new sc.b(()=>this._dispoableStore.add(this._instaService.createInstance(el,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(b){return b.getContribution(a.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return kj(this,void 0,void 0,function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;const b=this.editor.getPosition(),c=new Nm(this.editor.getModel(),b);if(!c.hasProvider())return;let e;this._cts=new K.b(this.editor,5);try{const la=c.resolveRenameLocation(this._cts.token);this._progressService.showWhile(la,250),e=yield la}catch(la){return void yc.get(this.editor).showMessage(la||$.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),b)}if(!e)return;if(e.rejectReason)return void yc.get(this.editor).showMessage(e.rejectReason,b);if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new K.b(this.editor,5,e.range);let i=this.editor.getSelection(),p=0,r=e.text.length;pb.a.isEmpty(i)||pb.a.spansMultipleLines(i)||!pb.a.containsRange(e.range,i)||(p=Math.max(0,i.startColumn-e.range.startColumn),r=Math.min(e.range.endColumn,i.endColumn)-e.range.startColumn);const O=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),ha=yield this._renameInputField.value.getInput(e.range,e.text,p,r,O,this._cts.token);if("boolean"==typeof ha)return void(ha&&this.editor.focus());this.editor.focus();const ja=Object(sc.j)(c.provideRenameEdits(ha.newName,this._cts.token),this._cts.token).then(la=>kj(this,void 0,void 0,function*(){la&&this.editor.hasModel()&&(la.rejectReason?this._notificationService.info(la.rejectReason):this._bulkEditService.apply(de.b.convert(la),{editor:this.editor,showPreview:ha.wantsPreview,label:$.a("label","Renaming '{0}'",null==e?void 0:e.text),quotableLabel:$.a("quotableLabel","Renaming {0}",null==e?void 0:e.text)}).then(Wa=>{Wa.ariaSummary&&Object(tc.a)($.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",e.text,ha.newName,Wa.ariaSummary))}).catch(Wa=>{this._notificationService.error($.a("rename.failedApply","Rename failed to apply edits")),this._logService.error(Wa)}))}),la=>{this._notificationService.error($.a("rename.failed","Rename failed to compute edits")),this._logService.error(la)});return this._progressService.showWhile(ja,250),ja})}acceptRenameInput(b){this._renameInputField.value.acceptInput(b)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};Gi.ID="editor.contrib.renameController",Gi=mp([jj(1,xa.a),jj(2,Ja.a),jj(3,de.a),jj(4,yb.a),jj(5,fl.b),jj(6,lp.a)],Gi);class np extends ba.b{constructor(){super({id:"editor.action.rename",label:$.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:I.a.and(S.a.writable,S.a.hasRenameProvider),kbOpts:{kbExpr:S.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(a,b){const c=a.get(Dc.a),[e,i]=Array.isArray(b)&&b||[void 0,void 0];return xd.a.isUri(e)&&Fc.a.isIPosition(i)?c.openCodeEditor({resource:e},c.getActiveCodeEditor()).then(p=>{p&&(p.setPosition(i),p.invokeWithinContext(r=>(this.reportTelemetry(r,p),this.run(r,p))))},La.e):super.runCommand(a,b)}run(a,b){const c=Gi.get(b);return c?c.run():Promise.resolve()}}Object(ba.m)(Gi.ID,Gi),Object(ba.k)(np);const gl=ba.c.bindToContribution(Gi.get);Object(ba.l)(new gl({id:"acceptRenameInput",precondition:hk,handler:a=>a.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:S.a.focus,primary:3}})),Object(ba.l)(new gl({id:"acceptRenameInputWithPreview",precondition:I.a.and(hk,I.a.has("config.editor.rename.enablePreview")),handler:a=>a.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:S.a.focus,primary:1027}})),Object(ba.l)(new gl({id:"cancelRenameInput",precondition:hk,handler:a=>a.cancelRenameInput(),kbOpts:{weight:199,kbExpr:S.a.focus,primary:9,secondary:[1033]}})),Object(ba.p)("_executeDocumentRenameProvider",function(a,b,...c){const[e]=c;return Object(Zd.b)("string"==typeof e),function(i,p,r){return kj(this,void 0,void 0,function*(){const O=new Nm(i,p),ha=yield O.resolveRenameLocation(Gd.a.None);return(null==ha?void 0:ha.rejectReason)?{edits:[],rejectReason:ha.rejectReason}:O.provideRenameEdits(r,Gd.a.None)})}(a,b,e)}),ij.a.as(kp.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:$.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}});var op=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class og{provideSelectionRanges(a,b){return op(this,void 0,void 0,function*(){const c=[];for(const e of b){const i=[];c.push(i);const p=new Map();yield new Promise(r=>og._bracketsRightYield(r,0,a,e,p)),yield new Promise(r=>og._bracketsLeftYield(r,0,a,e,p,i))}return c})}static _bracketsRightYield(a,b,c,e,i){const p=new Map(),r=Date.now();for(;;){if(b>=og._maxRounds){a();break}if(!e){a();break}let O=c.findNextBracket(e);if(!O){a();break}if(Date.now()-r>og._maxDuration){setTimeout(()=>og._bracketsRightYield(a,b+1,c,e,i));break}const ha=O.close[0];if(O.isOpen){let ja=p.has(ha)?p.get(ha):0;p.set(ha,ja+1)}else{let ja=p.has(ha)?p.get(ha):0;if(ja-=1,p.set(ha,Math.max(0,ja)),ja<0){let la=i.get(ha);la||(la=new ri.a(),i.set(ha,la)),la.push(O.range)}}e=O.range.getEndPosition()}}static _bracketsLeftYield(a,b,c,e,i,p){const r=new Map(),O=Date.now();for(;;){if(b>=og._maxRounds&&0===i.size){a();break}if(!e){a();break}let ha=c.findPrevBracket(e);if(!ha){a();break}if(Date.now()-O>og._maxDuration){setTimeout(()=>og._bracketsLeftYield(a,b+1,c,e,i,p));break}const ja=ha.close[0];if(ha.isOpen){let la=r.has(ja)?r.get(ja):0;if(la-=1,r.set(ja,Math.max(0,la)),la<0){let Wa=i.get(ja);if(Wa){let Db=Wa.shift();0===Wa.size&&i.delete(ja);const Hb=pb.a.fromPositions(ha.range.getEndPosition(),Db.getStartPosition()),Pb=pb.a.fromPositions(ha.range.getStartPosition(),Db.getEndPosition());p.push({range:Hb}),p.push({range:Pb}),og._addBracketLeading(c,Pb,p)}}}else{let la=r.has(ja)?r.get(ja):0;r.set(ja,la+1)}e=ha.range.getStartPosition()}}static _addBracketLeading(a,b,c){if(b.startLineNumber===b.endLineNumber)return;const e=b.startLineNumber,i=a.getLineFirstNonWhitespaceColumn(e);0!==i&&i!==b.startColumn&&(c.push({range:pb.a.fromPositions(new Fc.a(e,i),b.getEndPosition())}),c.push({range:pb.a.fromPositions(new Fc.a(e,1),b.getEndPosition())}));const p=e-1;if(p>0){const r=a.getLineFirstNonWhitespaceColumn(p);r===b.startColumn&&r!==a.getLineLastNonWhitespaceColumn(p)&&(c.push({range:pb.a.fromPositions(new Fc.a(p,r),b.getEndPosition())}),c.push({range:pb.a.fromPositions(new Fc.a(p,1),b.getEndPosition())}))}}}og._maxDuration=30,og._maxRounds=2;var pp=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Om{constructor(a,b){this.index=a,this.ranges=b}mov(a){let b=this.index+(a?1:-1);if(b<0||b>=this.ranges.length)return this;const c=new Om(b,this.ranges);return c.ranges[b].equalsRange(this.ranges[this.index])?c.mov(a):c}}class Ej{constructor(a){this._ignoreSelection=!1,this._editor=a}static get(a){return a.getContribution(Ej.ID)}dispose(){Object(Nb.f)(this._selectionListener)}run(a){if(!this._editor.hasModel())return;const b=this._editor.getSelections(),c=this._editor.getModel();if(!W.x.has(c))return;let e=Promise.resolve(void 0);return this._state||(e=Qm(c,b.map(i=>i.getPosition()),Gd.a.None).then(i=>{if(ka.o(i)&&i.length===b.length&&this._editor.hasModel()&&ka.g(this._editor.getSelections(),b,(p,r)=>p.equalsSelection(r))){for(let p=0;p<i.length;p++)i[p]=i[p].filter(r=>r.containsPosition(b[p].getStartPosition())&&r.containsPosition(b[p].getEndPosition())),i[p].unshift(b[p]);this._state=i.map(p=>new Om(0,p)),Object(Nb.f)(this._selectionListener),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{this._ignoreSelection||(Object(Nb.f)(this._selectionListener),this._state=void 0)})}})),e.then(()=>{if(!this._state)return;this._state=this._state.map(p=>p.mov(a));const i=this._state.map(p=>aa.a.fromPositions(p.ranges[p.index].getStartPosition(),p.ranges[p.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(i)}finally{this._ignoreSelection=!1}})}}Ej.ID="editor.contrib.smartSelectController";class Pm extends ba.b{constructor(a,b){super(b),this._forward=a}run(a,b){return pp(this,void 0,void 0,function*(){let c=Ej.get(b);c&&(yield c.run(this._forward))})}}ya.a.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");function Qm(a,b,c){const e=W.x.all(a);1===e.length&&e.unshift(new og());let i=[],p=[];for(const r of e)i.push(Promise.resolve(r.provideSelectionRanges(a,b,c)).then(O=>{if(ka.o(O)&&O.length===b.length)for(let ha=0;ha<b.length;ha++){p[ha]||(p[ha]=[]);for(const ja of O[ha])pb.a.isIRange(ja.range)&&pb.a.containsPosition(ja.range,b[ha])&&p[ha].push(pb.a.lift(ja.range))}},La.f));return Promise.all(i).then(()=>p.map(r=>{if(0===r.length)return[];r.sort((la,Wa)=>Fc.a.isBefore(la.getStartPosition(),Wa.getStartPosition())?1:Fc.a.isBefore(Wa.getStartPosition(),la.getStartPosition())||Fc.a.isBefore(la.getEndPosition(),Wa.getEndPosition())?-1:Fc.a.isBefore(Wa.getEndPosition(),la.getEndPosition())?1:0);let O,ha=[];for(const la of r)(!O||pb.a.containsRange(la,O)&&!pb.a.equalsRange(la,O))&&(ha.push(la),O=la);let ja=[ha[0]];for(let la=1;la<ha.length;la++){const Wa=ha[la-1],Db=ha[la];if(Db.startLineNumber!==Wa.startLineNumber||Db.endLineNumber!==Wa.endLineNumber){const Hb=new pb.a(Wa.startLineNumber,a.getLineFirstNonWhitespaceColumn(Wa.startLineNumber),Wa.endLineNumber,a.getLineLastNonWhitespaceColumn(Wa.endLineNumber));Hb.containsRange(Wa)&&!Hb.equalsRange(Wa)&&Db.containsRange(Hb)&&!Db.equalsRange(Hb)&&ja.push(Hb);const Pb=new pb.a(Wa.startLineNumber,1,Wa.endLineNumber,a.getLineMaxColumn(Wa.endLineNumber));Pb.containsRange(Wa)&&!Pb.equalsRange(Hb)&&Db.containsRange(Pb)&&!Db.equalsRange(Pb)&&ja.push(Pb)}ja.push(Db)}return ja}))}Object(ba.m)(Ej.ID,Ej),Object(ba.k)(class extends Pm{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:$.a("smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"1_basic",title:$.a({key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})}}),Object(ba.k)(class extends Pm{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:$.a("smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:Qa.b.MenubarSelectionMenu,group:"1_basic",title:$.a({key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})}}),W.x.register("*",new class{provideSelectionRanges(a,b){const c=[];for(const e of b){const i=[];c.push(i),this._addInWordRanges(i,a,e),this._addWordRanges(i,a,e),this._addWhitespaceLine(i,a,e),i.push({range:a.getFullModelRange()})}return c}_addInWordRanges(a,b,c){const e=b.getWordAtPosition(c);if(!e)return;let{word:i,startColumn:p}=e,r=c.column-p,O=r,ha=r,ja=0;for(;O>=0;O--){let la=i.charCodeAt(O);if(O!==r&&(95===la||45===la))break;if(Object(jd.H)(la)&&Object(jd.I)(ja))break;ja=la}for(O+=1;ha<i.length;ha++){let la=i.charCodeAt(ha);if(Object(jd.I)(la)&&Object(jd.H)(ja))break;if(95===la||45===la)break;ja=la}O<ha&&a.push({range:new pb.a(c.lineNumber,p+O,c.lineNumber,p+ha)})}_addWordRanges(a,b,c){const e=b.getWordAtPosition(c);e&&a.push({range:new pb.a(c.lineNumber,e.startColumn,c.lineNumber,e.endColumn)})}_addWhitespaceLine(a,b,c){b.getLineLength(c.lineNumber)>0&&0===b.getLineFirstNonWhitespaceColumn(c.lineNumber)&&0===b.getLineLastNonWhitespaceColumn(c.lineNumber)&&a.push({range:new pb.a(c.lineNumber,1,c.lineNumber,b.getLineMaxColumn(c.lineNumber))})}}()),Object(ba.q)("_executeSelectionRangeProvider",function(a,...b){const[c]=b;return Qm(a,c,Gd.a.None)});class Ug{constructor(){this.value="",this.pos=0}static isDigitCharacter(a){return a>=48&&a<=57}static isVariableCharacter(a){return 95===a||a>=97&&a<=122||a>=65&&a<=90}text(a){this.value=a,this.pos=0}tokenText(a){return this.value.substr(a.pos,a.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let a,b=this.pos,c=0,e=this.value.charCodeAt(b);if(a=Ug._table[e],"number"==typeof a)return this.pos+=1,{type:a,pos:b,len:1};if(Ug.isDigitCharacter(e)){a=8;do c+=1,e=this.value.charCodeAt(b+c);while(Ug.isDigitCharacter(e));return this.pos+=c,{type:a,pos:b,len:c}}if(Ug.isVariableCharacter(e)){a=9;do e=this.value.charCodeAt(b+ ++c);while(Ug.isVariableCharacter(e)||Ug.isDigitCharacter(e));return this.pos+=c,{type:a,pos:b,len:c}}a=10;do c+=1,e=this.value.charCodeAt(b+c);while(!isNaN(e)&&void 0===Ug._table[e]&&!Ug.isDigitCharacter(e)&&!Ug.isVariableCharacter(e));return this.pos+=c,{type:a,pos:b,len:c}}}Ug._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class lj{constructor(){this._children=[]}appendChild(a){return a instanceof Zf&&this._children[this._children.length-1]instanceof Zf?this._children[this._children.length-1].value+=a.value:(a.parent=this,this._children.push(a)),this}replace(a,b){const{parent:c}=a,e=c.children.indexOf(a),i=c.children.slice(0);i.splice(e,1,...b),c._children=i,function p(r,O){for(const ha of r)ha.parent=O,p(ha.children,ha)}(b,c)}get children(){return this._children}get snippet(){let a=this;for(;;){if(!a)return;if(a instanceof hl)return a;a=a.parent}}toString(){return this.children.reduce((a,b)=>a+b.toString(),"")}len(){return 0}}class Zf extends lj{constructor(a){super(),this.value=a}toString(){return this.value}len(){return this.value.length}clone(){return new Zf(this.value)}}class Rm extends lj{}class Vg extends Rm{constructor(a){super(),this.index=a}static compareByIndex(a,b){return a.index===b.index?0:a.isFinalTabstop?1:b.isFinalTabstop||a.index<b.index?-1:a.index>b.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof ik?this._children[0]:void 0}clone(){let a=new Vg(this.index);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(b=>b.clone()),a}}class ik extends lj{constructor(){super(...arguments),this.options=[]}appendChild(a){return a instanceof Zf&&(a.parent=this,this.options.push(a)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let a=new ik();return this.options.forEach(a.appendChild,a),a}}class Sm extends lj{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(a){const b=this;let c=!1,e=a.replace(this.regexp,function(){return c=!0,b._replace(Array.prototype.slice.call(arguments,0,-2))});return!c&&this._children.some(i=>i instanceof kh&&Boolean(i.elseValue))&&(e=this._replace([])),e}_replace(a){let b="";for(const c of this._children)if(c instanceof kh){let e=a[c.index]||"";e=c.resolve(e),b+=e}else b+=c.toString();return b}toString(){return""}clone(){let a=new Sm();return a.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),a._children=this.children.map(b=>b.clone()),a}}class kh extends lj{constructor(a,b,c,e){super(),this.index=a,this.shorthandName=b,this.ifValue=c,this.elseValue=e}resolve(a){return"upcase"===this.shorthandName?a?a.toLocaleUpperCase():"":"downcase"===this.shorthandName?a?a.toLocaleLowerCase():"":"capitalize"===this.shorthandName?a?a[0].toLocaleUpperCase()+a.substr(1):"":"pascalcase"===this.shorthandName?a?this._toPascalCase(a):"":Boolean(a)&&"string"==typeof this.ifValue?this.ifValue:Boolean(a)||"string"!=typeof this.elseValue?a||"":this.elseValue}_toPascalCase(a){const b=a.match(/[a-z]+/gi);return b?b.map(function(c){return c.charAt(0).toUpperCase()+c.substr(1).toLowerCase()}).join(""):a}clone(){return new kh(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class jk extends Rm{constructor(a){super(),this.name=a}resolve(a){let b=a.resolve(this);return this.transform&&(b=this.transform.resolve(b||"")),void 0!==b&&(this._children=[new Zf(b)],!0)}clone(){const a=new jk(this.name);return this.transform&&(a.transform=this.transform.clone()),a._children=this.children.map(b=>b.clone()),a}}function Tm(a,b){const c=[...a];for(;c.length>0;){const e=c.shift();if(!b(e))break;c.unshift(...e.children)}}class hl extends lj{get placeholderInfo(){if(!this._placeholders){let a,b=[];this.walk(function(c){return c instanceof Vg&&(b.push(c),a=!a||a.index<c.index?c:a),!0}),this._placeholders={all:b,last:a}}return this._placeholders}get placeholders(){const{all:a}=this.placeholderInfo;return a}offset(a){let b=0,c=!1;return this.walk(e=>e===a?(c=!0,!1):(b+=e.len(),!0)),c?b:-1}fullLen(a){let b=0;return Tm([a],c=>(b+=c.len(),!0)),b}enclosingPlaceholders(a){let b=[],{parent:c}=a;for(;c;)c instanceof Vg&&b.push(c),c=c.parent;return b}resolveVariables(a){return this.walk(b=>(b instanceof jk&&b.resolve(a)&&(this._placeholders=void 0),!0)),this}appendChild(a){return this._placeholders=void 0,super.appendChild(a)}replace(a,b){return this._placeholders=void 0,super.replace(a,b)}clone(){let a=new hl();return this._children=this.children.map(b=>b.clone()),a}walk(a){Tm(this.children,a)}}class il{constructor(){this._scanner=new Ug(),this._token={type:14,pos:0,len:0}}static escape(a){return a.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(a){return/\${?CLIPBOARD/.test(a)}parse(a,b,c){this._scanner.text(a),this._token=this._scanner.next();const e=new hl();for(;this._parse(e););const i=new Map(),p=[];let r=0;e.walk(O=>(O instanceof Vg&&(r+=1,O.isFinalTabstop?i.set(0,void 0):!i.has(O.index)&&O.children.length>0?i.set(O.index,O.children):p.push(O)),!0));for(const O of p){const ha=i.get(O.index);if(ha){const ja=new Vg(O.index);ja.transform=O.transform;for(const la of ha)ja.appendChild(la.clone());e.replace(O,[ja])}}return c||(c=r>0&&b),!i.has(0)&&c&&e.appendChild(new Vg(0)),e}_accept(a,b){if(void 0===a||this._token.type===a){let c=!b||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),c}return!1}_backTo(a){return this._scanner.pos=a.pos+a.len,this._token=a,!1}_until(a){const b=this._token;for(;this._token.type!==a;){if(14===this._token.type)return!1;if(5===this._token.type){const e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}const c=this._scanner.value.substring(b.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),c}_parse(a){return this._parseEscaped(a)||this._parseTabstopOrVariableName(a)||this._parseComplexPlaceholder(a)||this._parseComplexVariable(a)||this._parseAnything(a)}_parseEscaped(a){let b;return!!(b=this._accept(5,!0))&&(b=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||b,a.appendChild(new Zf(b)),!0)}_parseTabstopOrVariableName(a){let b;const c=this._token;return this._accept(0)&&(b=this._accept(9,!0)||this._accept(8,!0))?(a.appendChild(/^\d+$/.test(b)?new Vg(Number(b)):new jk(b)),!0):this._backTo(c)}_parseComplexPlaceholder(a){let b;const c=this._token;if(!(this._accept(0)&&this._accept(3)&&(b=this._accept(8,!0))))return this._backTo(c);const e=new Vg(Number(b));if(this._accept(1))for(;;){if(this._accept(4))return a.appendChild(e),!0;if(!this._parse(e))return a.appendChild(new Zf("${"+b+":")),e.children.forEach(a.appendChild,a),!0}else{if(!(e.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(e)?(a.appendChild(e),!0):(this._backTo(c),!1):this._accept(4)?(a.appendChild(e),!0):this._backTo(c);{const i=new ik();for(;;){if(this._parseChoiceElement(i)){if(this._accept(2))continue;if(this._accept(7)&&(e.appendChild(i),this._accept(4)))return a.appendChild(e),!0}return this._backTo(c),!1}}}}_parseChoiceElement(a){const b=this._token,c=[];for(;2!==this._token.type&&7!==this._token.type;){let e;if(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0),!e)return this._backTo(b),!1;c.push(e)}return 0===c.length?(this._backTo(b),!1):(a.appendChild(new Zf(c.join(""))),!0)}_parseComplexVariable(a){let b;const c=this._token;if(!(this._accept(0)&&this._accept(3)&&(b=this._accept(9,!0))))return this._backTo(c);const e=new jk(b);if(!this._accept(1))return this._accept(6)?this._parseTransform(e)?(a.appendChild(e),!0):(this._backTo(c),!1):this._accept(4)?(a.appendChild(e),!0):this._backTo(c);for(;;){if(this._accept(4))return a.appendChild(e),!0;if(!this._parse(e))return a.appendChild(new Zf("${"+b+":")),e.children.forEach(a.appendChild,a),!0}}_parseTransform(a){let b=new Sm(),c="",e="";for(;!this._accept(6);){let i;if(i=this._accept(5,!0))i=this._accept(6,!0)||i,c+=i;else{if(14===this._token.type)return!1;c+=this._accept(void 0,!0)}}for(;!this._accept(6);){let i;if(i=this._accept(5,!0))i=this._accept(5,!0)||this._accept(6,!0)||i,b.appendChild(new Zf(i));else if(!this._parseFormatString(b)&&!this._parseAnything(b))return!1}for(;!this._accept(4);){if(14===this._token.type)return!1;e+=this._accept(void 0,!0)}try{b.regexp=new RegExp(c,e)}catch(i){return!1}return a.transform=b,!0}_parseFormatString(a){const b=this._token;if(!this._accept(0))return!1;let c=!1;this._accept(3)&&(c=!0);let e=this._accept(8,!0);if(!e)return this._backTo(b),!1;if(!c)return a.appendChild(new kh(Number(e))),!0;if(this._accept(4))return a.appendChild(new kh(Number(e))),!0;if(!this._accept(1))return this._backTo(b),!1;if(this._accept(6)){let i=this._accept(9,!0);return i&&this._accept(4)?(a.appendChild(new kh(Number(e),i)),!0):(this._backTo(b),!1)}if(this._accept(11)){let i=this._until(4);if(i)return a.appendChild(new kh(Number(e),void 0,i,void 0)),!0}else if(this._accept(12)){let i=this._until(4);if(i)return a.appendChild(new kh(Number(e),void 0,void 0,i)),!0}else if(this._accept(13)){let i=this._until(1);if(i){let p=this._until(4);if(p)return a.appendChild(new kh(Number(e),void 0,i,p)),!0}}else{let i=this._until(4);if(i)return a.appendChild(new kh(Number(e),void 0,void 0,i)),!0}return this._backTo(b),!1}_parseAnything(a){return 14!==this._token.type&&(a.appendChild(new Zf(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}var Fj=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const ie={Visible:new I.c("suggestWidgetVisible",!1),DetailsVisible:new I.c("suggestWidgetDetailsVisible",!1),MultipleSuggestions:new I.c("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new I.c("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new I.c("acceptSuggestionOnEnter",!0),HasInsertAndReplaceRange:new I.c("suggestionHasInsertAndReplaceRange",!1),CanResolve:new I.c("suggestionCanResolve",!1)},ci=new Qa.b("suggestWidgetStatusBar");class qp{constructor(a,b,c,e){this.position=a,this.completion=b,this.container=c,this.provider=e,this.isInvalid=!1,this.score=Bd.a.Default,this.distance=0,this.textLabel="string"==typeof b.label?b.label:b.label.name,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=b.sortText&&b.sortText.toLowerCase(),this.filterTextLow=b.filterText&&b.filterText.toLowerCase(),pb.a.isIRange(b.range)?(this.editStart=new Fc.a(b.range.startLineNumber,b.range.startColumn),this.editInsertEnd=new Fc.a(b.range.endLineNumber,b.range.endColumn),this.editReplaceEnd=new Fc.a(b.range.endLineNumber,b.range.endColumn),this.isInvalid=this.isInvalid||pb.a.spansMultipleLines(b.range)||b.range.startLineNumber!==a.lineNumber):(this.editStart=new Fc.a(b.range.insert.startLineNumber,b.range.insert.startColumn),this.editInsertEnd=new Fc.a(b.range.insert.endLineNumber,b.range.insert.endColumn),this.editReplaceEnd=new Fc.a(b.range.replace.endLineNumber,b.range.replace.endColumn),this.isInvalid=this.isInvalid||pb.a.spansMultipleLines(b.range.insert)||pb.a.spansMultipleLines(b.range.replace)||b.range.insert.startLineNumber!==a.lineNumber||b.range.replace.startLineNumber!==a.lineNumber||b.range.insert.startColumn!==b.range.replace.startColumn),"function"!=typeof e.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(a){return Fj(this,void 0,void 0,function*(){if(!this._resolveCache){const b=a.onCancellationRequested(()=>{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,a)).then(c=>{Object.assign(this.completion,c),this._isResolved=!0,b.dispose()},c=>{Object(La.d)(c)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache})}}class kk{constructor(a=2,b=new Set(),c=new Set()){this.snippetSortOrder=a,this.kindFilter=b,this.providerFilter=c}}kk.default=new kk();class rp{constructor(a,b,c){this.items=a,this.needsClipboard=b,this.dispoables=c}}function Um(a,b,c=kk.default,e={triggerKind:0},i=Gd.a.None){return Fj(this,void 0,void 0,function*(){b=b.clone();const p=a.getWordAtPosition(b),r=p?new pb.a(b.lineNumber,p.startColumn,b.lineNumber,p.endColumn):pb.a.fromPositions(b),O={replace:r,insert:r.setEndPosition(b.lineNumber,b.column)},ha=[],ja=new Nb.b();let la=!1;const Wa=(Hb,Pb)=>{if(Pb){for(let lc of Pb.suggestions)c.kindFilter.has(lc.kind)||(lc.range||(lc.range=O),lc.sortText||(lc.sortText="string"==typeof lc.label?lc.label:lc.label.name),!la&&lc.insertTextRules&&4&lc.insertTextRules&&(la=il.guessNeedsClipboard(lc.insertText)),ha.push(new qp(b,lc,Pb,Hb)));Object(Nb.g)(Pb)&&ja.add(Pb)}},Db=(()=>Fj(this,void 0,void 0,function*(){}))();for(let Hb of W.d.orderedGroups(a)){let Pb=ha.length;if(yield Promise.all(Hb.map(lc=>Fj(this,void 0,void 0,function*(){if(!(c.providerFilter.size>0)||c.providerFilter.has(lc))try{const Ac=yield lc.provideCompletionItems(a,b,e,i);Wa(lc,Ac)}catch(Ac){Object(La.f)(Ac)}}))),Pb!==ha.length||i.isCancellationRequested)break}return yield Db,i.isCancellationRequested?(ja.dispose(),Promise.reject(Object(La.a)())):new rp(ha.sort(Vm(c.snippetSortOrder)),la,ja)})}function jl(a,b){if(a.sortTextLow&&b.sortTextLow){if(a.sortTextLow<b.sortTextLow)return-1;if(a.sortTextLow>b.sortTextLow)return 1}return a.completion.label<b.completion.label?-1:a.completion.label>b.completion.label?1:a.completion.kind-b.completion.kind}const lk=new Map();function Vm(a){return lk.get(a)}lk.set(0,function(a,b){if(a.completion.kind!==b.completion.kind){if(27===a.completion.kind)return-1;if(27===b.completion.kind)return 1}return jl(a,b)}),lk.set(2,function(a,b){if(a.completion.kind!==b.completion.kind){if(27===a.completion.kind)return 1;if(27===b.completion.kind)return-1}return jl(a,b)}),lk.set(1,jl),Object(ba.j)("_executeCompletionItemProvider",(a,b,c)=>Fj(void 0,void 0,void 0,function*(){const e={incomplete:!1,suggestions:[]},i=[],p=c.maxItemsToResolve||0,r=yield Um(a,b);for(const O of r.items)i.length<p&&i.push(O.resolve(Gd.a.None)),e.incomplete=e.incomplete||O.container.incomplete,e.suggestions.push(O.completion);try{return yield Promise.all(i),e}finally{setTimeout(()=>r.dispoables.dispose(),100)}}));const kl=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){let a={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,a}}();W.d.register("*",kl),f(325);var sp=f(169);function Wm(a){return a instanceof xd.a}class tp{constructor(a){this._delegates=a}resolve(a){for(const b of this._delegates){let c=b.resolve(a);if(void 0!==c)return c}}}class up{constructor(a,b,c,e){this._model=a,this._selection=b,this._selectionIdx=c,this._overtypingCapturer=e}resolve(a){const{name:b}=a;if("SELECTION"===b||"TM_SELECTED_TEXT"===b){let c=this._model.getValueInRange(this._selection)||void 0,e=this._selection.startLineNumber!==this._selection.endLineNumber;if(!c&&this._overtypingCapturer){const i=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);i&&(c=i.value,e=i.multiline)}if(c&&e&&a.snippet){const i=this._model.getLineContent(this._selection.startLineNumber),p=Object(jd.z)(i,0,this._selection.startColumn-1);let r=p;a.snippet.walk(ha=>ha!==a&&(ha instanceof Zf&&(r=Object(jd.z)(ha.value.split(/\r\n|\r|\n/).pop())),!0));const O=Object(jd.d)(r,p);c=c.replace(/(\r\n|\r|\n)(.*)/g,(ha,ja,la)=>`${ja}${r.substr(O)}${la}`)}return c}if("TM_CURRENT_LINE"===b)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===b){const c=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return c&&c.word||void 0}return"TM_LINE_INDEX"===b?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===b?String(this._selection.positionLineNumber):void 0}}class vp{constructor(a,b){this._labelService=a,this._model=b}resolve(a){const{name:b}=a;if("TM_FILENAME"===b)return Cb.a(this._model.uri.fsPath);if("TM_FILENAME_BASE"===b){const c=Cb.a(this._model.uri.fsPath),e=c.lastIndexOf(".");return e<=0?c:c.slice(0,e)}return"TM_DIRECTORY"===b&&this._labelService?"."===Cb.b(this._model.uri.fsPath)?"":this._labelService.getUriLabel(Object(Pa.d)(this._model.uri)):"TM_FILEPATH"===b&&this._labelService?this._labelService.getUriLabel(this._model.uri):void 0}}class wp{constructor(a,b,c,e){this._readClipboardText=a,this._selectionIdx=b,this._selectionCount=c,this._spread=e}resolve(a){if("CLIPBOARD"!==a.name)return;const b=this._readClipboardText();if(b){if(this._spread){const c=b.split(/\r\n|\n|\r/).filter(e=>!Object(jd.D)(e));if(c.length===this._selectionCount)return c[this._selectionIdx]}return b}}}class xp{constructor(a,b){this._model=a,this._selection=b}resolve(a){const{name:b}=a,c=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),e=Be.a.getComments(c);if(e)return"LINE_COMMENT"===b?e.lineCommentToken||void 0:"BLOCK_COMMENT_START"===b?e.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===b&&e.blockCommentEndToken||void 0}}class Dh{resolve(a){const{name:b}=a;return"CURRENT_YEAR"===b?String(new Date().getFullYear()):"CURRENT_YEAR_SHORT"===b?String(new Date().getFullYear()).slice(-2):"CURRENT_MONTH"===b?String(new Date().getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===b?String(new Date().getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===b?String(new Date().getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===b?String(new Date().getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===b?String(new Date().getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===b?Dh.dayNames[new Date().getDay()]:"CURRENT_DAY_NAME_SHORT"===b?Dh.dayNamesShort[new Date().getDay()]:"CURRENT_MONTH_NAME"===b?Dh.monthNames[new Date().getMonth()]:"CURRENT_MONTH_NAME_SHORT"===b?Dh.monthNamesShort[new Date().getMonth()]:"CURRENT_SECONDS_UNIX"===b?String(Math.floor(Date.now()/1e3)):void 0}}Dh.dayNames=[$.a("Sunday","Sunday"),$.a("Monday","Monday"),$.a("Tuesday","Tuesday"),$.a("Wednesday","Wednesday"),$.a("Thursday","Thursday"),$.a("Friday","Friday"),$.a("Saturday","Saturday")],Dh.dayNamesShort=[$.a("SundayShort","Sun"),$.a("MondayShort","Mon"),$.a("TuesdayShort","Tue"),$.a("WednesdayShort","Wed"),$.a("ThursdayShort","Thu"),$.a("FridayShort","Fri"),$.a("SaturdayShort","Sat")],Dh.monthNames=[$.a("January","January"),$.a("February","February"),$.a("March","March"),$.a("April","April"),$.a("May","May"),$.a("June","June"),$.a("July","July"),$.a("August","August"),$.a("September","September"),$.a("October","October"),$.a("November","November"),$.a("December","December")],Dh.monthNamesShort=[$.a("JanuaryShort","Jan"),$.a("FebruaryShort","Feb"),$.a("MarchShort","Mar"),$.a("AprilShort","Apr"),$.a("MayShort","May"),$.a("JuneShort","Jun"),$.a("JulyShort","Jul"),$.a("AugustShort","Aug"),$.a("SeptemberShort","Sep"),$.a("OctoberShort","Oct"),$.a("NovemberShort","Nov"),$.a("DecemberShort","Dec")];class yp{constructor(a){this._workspaceService=a}resolve(a){if(!this._workspaceService)return;const b=function(c){return c.configuration?{configPath:c.configuration,id:c.id}:1===c.folders.length?c.folders[0].uri:void 0}(this._workspaceService.getWorkspace());return b?"WORKSPACE_NAME"===a.name?this._resolveWorkspaceName(b):"WORKSPACE_FOLDER"===a.name?this._resoveWorkspacePath(b):void 0:void 0}_resolveWorkspaceName(a){if(Wm(a))return Cb.a(a.path);let b=Cb.a(a.configPath.path);return b.endsWith("code-workspace")&&(b=b.substr(0,b.length-"code-workspace".length-1)),b}_resoveWorkspacePath(a){if(Wm(a))return ed(a.fsPath);let b=Cb.a(a.configPath.path),c=a.configPath.fsPath;return c.endsWith(b)&&(c=c.substr(0,c.length-b.length-1)),c?ed(c):"/"}}class zp{resolve(a){const{name:b}=a;return"RANDOM"===b?Math.random().toString().slice(-6):"RANDOM_HEX"===b?Math.random().toString(16).slice(-6):void 0}}Object(Oa.g)((a,b)=>{function c(e){const i=a.getColor(e);return i?i.toString():"transparent"}b.addRule(`.monaco-editor .snippet-placeholder { background-color: ${c(Va.oc)}; outline-color: ${c(Va.pc)}; }`),b.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${c(Va.mc)}; outline-color: ${c(Va.nc)}; }`)});class Wg{constructor(a,b,c){this._nestingLevel=1,this._editor=a,this._snippet=b,this._offset=c,this._placeholderGroups=Object(ka.m)(b.placeholders,Vg.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map();const a=this._editor.getModel();this._editor.changeDecorations(b=>{for(const c of this._snippet.placeholders){const e=this._snippet.offset(c),i=this._snippet.fullLen(c),p=pb.a.fromPositions(a.getPositionAt(this._offset+e),a.getPositionAt(this._offset+e+i)),r=c.isFinalTabstop?Wg._decor.inactiveFinal:Wg._decor.inactive,O=b.addDecoration(p,r);this._placeholderDecorations.set(c,O)}})}move(a){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(const i of this._placeholderGroups[this._placeholderGroupsIdx])if(i.transform){const p=this._placeholderDecorations.get(i),r=this._editor.getModel().getDecorationRange(p),O=this._editor.getModel().getValueInRange(r);e.push(qd.a.replaceMove(r,i.transform.resolve(O)))}e.length>0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let b=!1;!0===a&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,b=!0):!1===a&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,b=!0);const c=this._editor.getModel().changeDecorations(e=>{const i=new Set(),p=[];for(const r of this._placeholderGroups[this._placeholderGroupsIdx]){const O=this._placeholderDecorations.get(r),ha=this._editor.getModel().getDecorationRange(O);p.push(new aa.a(ha.startLineNumber,ha.startColumn,ha.endLineNumber,ha.endColumn)),b=b&&this._hasPlaceholderBeenCollapsed(r),e.changeDecorationOptions(O,r.isFinalTabstop?Wg._decor.activeFinal:Wg._decor.active),i.add(r);for(const ja of this._snippet.enclosingPlaceholders(r)){const la=this._placeholderDecorations.get(ja);e.changeDecorationOptions(la,ja.isFinalTabstop?Wg._decor.activeFinal:Wg._decor.active),i.add(ja)}}for(const[r,O]of this._placeholderDecorations)i.has(r)||e.changeDecorationOptions(O,r.isFinalTabstop?Wg._decor.inactiveFinal:Wg._decor.inactive);return p});return b?this.move(a):null!=c?c:[]}_hasPlaceholderBeenCollapsed(a){let b=a;for(;b;){if(b instanceof Vg){const c=this._placeholderDecorations.get(b);if(this._editor.getModel().getDecorationRange(c).isEmpty()&&b.toString().length>0)return!0}b=b.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}computePossibleSelections(){const a=new Map();for(const b of this._placeholderGroups){let c;for(const e of b){if(e.isFinalTabstop)break;c||(c=[],a.set(e.index,c));const i=this._placeholderDecorations.get(e),p=this._editor.getModel().getDecorationRange(i);if(!p){a.delete(e.index);break}c.push(p)}}return a}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(a){const b=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(c=>{for(const e of this._placeholderGroups[this._placeholderGroupsIdx]){const i=a.shift();console.assert(!i._placeholderDecorations);const p=i._snippet.placeholderInfo.last.index;for(const O of i._snippet.placeholderInfo.all)O.isFinalTabstop?O.index=e.index+(p+1)/this._nestingLevel:O.index=e.index+O.index/this._nestingLevel;this._snippet.replace(e,i._snippet.children);const r=this._placeholderDecorations.get(e);c.removeDecoration(r),this._placeholderDecorations.delete(e);for(const O of i._snippet.placeholders){const ha=i._snippet.offset(O),ja=i._snippet.fullLen(O),la=pb.a.fromPositions(b.getPositionAt(i._offset+ha),b.getPositionAt(i._offset+ha+ja)),Wa=c.addDecoration(la,Wg._decor.inactive);this._placeholderDecorations.set(O,Wa)}}this._placeholderGroups=Object(ka.m)(this._snippet.placeholders,Vg.compareByIndex)})}}Wg._decor={active:Eb.a.register({stickiness:0,className:"snippet-placeholder"}),inactive:Eb.a.register({stickiness:1,className:"snippet-placeholder"}),activeFinal:Eb.a.register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:Eb.a.register({stickiness:1,className:"finish-snippet-placeholder"})};const Xm={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class di{constructor(a,b,c=Xm){this._templateMerges=[],this._snippets=[],this._editor=a,this._template=b,this._options=c}static adjustWhitespace(a,b,c,e,i){const p=a.getLineContent(b.lineNumber),r=Object(jd.z)(p,0,b.column-1);c.walk(O=>{if(O instanceof Zf&&!(O.parent instanceof ik)){const ha=O.value.split(/\r\n|\r|\n/);if(e)for(let ja=1;ja<ha.length;ja++){let la=Object(jd.z)(ha[ja]);ha[ja]=a.normalizeIndentation(r+la)+ha[ja].substr(la.length)}if(i){const ja=ha.join(a.getEOL());ja!==O.value&&O.parent.replace(O,[new Zf(ja)])}}return!0})}static adjustSelection(a,b,c,e){if(0!==c||0!==e){const{positionLineNumber:i,positionColumn:p}=b,r=p-c,O=p+e,ha=a.validateRange({startLineNumber:i,startColumn:r,endLineNumber:i,endColumn:O});b=aa.a.createWithDirection(ha.startLineNumber,ha.startColumn,ha.endLineNumber,ha.endColumn,b.getDirection())}return b}static createEditsAndSnippets(a,b,c,e,i,p,r,O){const ha=[],ja=[];if(!a.hasModel())return{edits:ha,snippets:ja};const la=a.getModel(),Wa=a.invokeWithinContext(Uc=>Uc.get(sp.a,xa.d)),Db=a.invokeWithinContext(Uc=>new vp(Uc.get(Ea.a,xa.d),la)),Hb=()=>r;let Pb=0,lc=la.getValueInRange(di.adjustSelection(la,a.getSelection(),c,0)),Ac=la.getValueInRange(di.adjustSelection(la,a.getSelection(),0,e)),Tc=la.getLineFirstNonWhitespaceColumn(a.getSelection().positionLineNumber);const $c=a.getSelections().map((Uc,dd)=>({selection:Uc,idx:dd})).sort((Uc,dd)=>pb.a.compareRangesUsingStarts(Uc.selection,dd.selection));for(const{selection:Uc,idx:dd}of $c){let Jd=di.adjustSelection(la,Uc,c,0),Sc=di.adjustSelection(la,Uc,0,e);lc!==la.getValueInRange(Jd)&&(Jd=Uc),Ac!==la.getValueInRange(Sc)&&(Sc=Uc);const kd=Uc.setStartPosition(Jd.startLineNumber,Jd.startColumn).setEndPosition(Sc.endLineNumber,Sc.endColumn),vd=new il().parse(b,!0,i),le=kd.getStartPosition();di.adjustWhitespace(la,le,vd,p||dd>0&&Tc!==la.getLineFirstNonWhitespaceColumn(Uc.positionLineNumber),!0),vd.resolveVariables(new tp([Db,new wp(Hb,dd,$c.length,"spread"===a.getOption(62)),new up(la,Uc,dd,O),new xp(la,Uc),new Dh(),new yp(Wa),new zp()]));const Ie=la.getOffsetAt(le)+Pb;Pb+=vd.toString().length-la.getValueLengthInRange(kd),ha[dd]=qd.a.replace(kd,vd.toString()),ha[dd].identifier={major:dd,minor:0},ja[dd]=new Wg(a,vd,Ie)}return{edits:ha,snippets:ja}}dispose(){Object(Nb.f)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:a,snippets:b}=di.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=b,this._editor.executeEdits("snippet",a,c=>this._snippets[0].hasPlaceholder?this._move(!0):c.filter(e=>!!e.identifier).map(e=>aa.a.fromPositions(e.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0])}merge(a,b=Xm){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,a]);const{edits:c,snippets:e}=di.createEditsAndSnippets(this._editor,a,b.overwriteBefore,b.overwriteAfter,!0,b.adjustWhitespace,b.clipboardText,b.overtypingCapturer);this._editor.executeEdits("snippet",c,i=>{for(const p of this._snippets)p.merge(e);return console.assert(0===e.length),this._snippets[0].hasPlaceholder?this._move(void 0):i.filter(p=>!!p.identifier).map(p=>aa.a.fromPositions(p.range.getEndPosition()))})}next(){const a=this._move(!0);this._editor.setSelections(a),this._editor.revealPositionInCenterIfOutsideViewport(a[0].getPosition())}prev(){const a=this._move(!1);this._editor.setSelections(a),this._editor.revealPositionInCenterIfOutsideViewport(a[0].getPosition())}_move(a){const b=[];for(const c of this._snippets){const e=c.move(a);b.push(...e)}return b}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const a=this._editor.getSelections();if(a.length<this._snippets.length)return!1;let b=new Map();for(const c of this._snippets){const e=c.computePossibleSelections();if(0===b.size)for(const[i,p]of e){p.sort(pb.a.compareRangesUsingStarts);for(const r of a)if(p[0].containsRange(r)){b.set(i,[]);break}}if(0===b.size)return!1;b.forEach((i,p)=>{i.push(...e.get(p))})}a.sort(pb.a.compareRangesUsingStarts);for(let[c,e]of b)if(e.length===a.length){e.sort(pb.a.compareRangesUsingStarts);for(let i=0;i<e.length;i++)e[i].containsRange(a[i])||b.delete(c)}else b.delete(c);return b.size>0}}var Ap=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Ym=function(a,b){return function(c,e){b(c,e,a)}};const Zm={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let _e=class a{constructor(b,c,e){this._editor=b,this._logService=c,this._snippetListener=new Nb.b(),this._modelVersionId=-1,this._inSnippet=a.InSnippetMode.bindTo(e),this._hasNextTabstop=a.HasNextTabstop.bindTo(e),this._hasPrevTabstop=a.HasPrevTabstop.bindTo(e)}static get(b){return b.getContribution(a.ID)}dispose(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(Nb.f)(this._session),this._snippetListener.dispose()}insert(b,c){try{this._doInsert(b,void 0===c?Zm:Object.assign(Object.assign({},Zm),c))}catch(e){this.cancel(),this._logService.error(e),this._logService.error("snippet_error"),this._logService.error("insert_template=",b),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}}_doInsert(b,c){this._editor.hasModel()&&(this._snippetListener.clear(),c.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(b,c):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new di(this._editor,b,c),this._session.insert()),c.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(e=>e.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState())))}_updateState(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);const{choice:b}=this._session;var c,e;if(b){if(this._currentChoice!==b){this._currentChoice=b,this._editor.setSelections(this._editor.getSelections().map(p=>aa.a.fromPositions(p.getStartPosition())));const[i]=b.options;c=this._editor,e=b.options.map((p,r)=>({kind:13,label:p.value,insertText:p.value,sortText:"a".repeat(r+1),range:pb.a.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,i.value.length))})),setTimeout(()=>{kl.onlyOnceSuggestions.push(...e),c.getContribution("editor.contrib.suggestController").triggerSuggest(new Set().add(kl))},0)}}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(b=!1){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(Nb.f)(this._session),this._session=void 0,this._modelVersionId=-1,b&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};_e.ID="snippetController2",_e.InSnippetMode=new I.c("inSnippetMode",!1),_e.HasNextTabstop=new I.c("hasNextTabstop",!1),_e.HasPrevTabstop=new I.c("hasPrevTabstop",!1),_e=Ap([Ym(1,fl.b),Ym(2,I.b)],_e),Object(ba.m)(_e.ID,_e);const mk=ba.c.bindToContribution(_e.get);Object(ba.l)(new mk({id:"jumpToNextSnippetPlaceholder",precondition:I.a.and(_e.InSnippetMode,_e.HasNextTabstop),handler:a=>a.next(),kbOpts:{weight:130,kbExpr:S.a.editorTextFocus,primary:2}})),Object(ba.l)(new mk({id:"jumpToPrevSnippetPlaceholder",precondition:I.a.and(_e.InSnippetMode,_e.HasPrevTabstop),handler:a=>a.prev(),kbOpts:{weight:130,kbExpr:S.a.editorTextFocus,primary:1026}})),Object(ba.l)(new mk({id:"leaveSnippet",precondition:_e.InSnippetMode,handler:a=>a.cancel(!0),kbOpts:{weight:130,kbExpr:S.a.editorTextFocus,primary:9,secondary:[1033]}})),Object(ba.l)(new mk({id:"acceptSnippet",precondition:_e.InSnippetMode,handler:a=>a.finish()}));var Bp=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},ll=function(a,b){return function(c,e){b(c,e,a)}};class ml{constructor(a){this.name=a}select(a,b,c){if(0===c.length)return 0;let e=c[0].score[0];for(let i=0;i<c.length;i++){const{score:p,completion:r}=c[i];if(p[0]!==e)break;if(r.preselect)return i}return 0}}class _m extends ml{constructor(){super("first")}memorize(a,b,c){}toJSON(){}fromJSON(){}}let Gj=class a{constructor(b,c,e){this._storageService=b,this._modeService=c,this._configService=e,this._disposables=new Nb.b(),this._persistSoon=new sc.d(()=>this._saveState(),500),this._disposables.add(b.onWillSaveState(i=>{i.reason===Wd.c.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(b,c,e){this._withStrategy(b,c).memorize(b,c,e),this._persistSoon.schedule()}select(b,c,e){return this._withStrategy(b,c).select(b,c,e)}_withStrategy(b,c){var e,i;const p=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:null===(e=this._modeService.getLanguageIdentifier(b.getLanguageIdAtPosition(c.lineNumber,c.column)))||void 0===e?void 0:e.language,resource:b.uri});if((null===(i=this._strategy)||void 0===i?void 0:i.name)!==p){this._saveState();const r=a._strategyCtors.get(p)||_m;this._strategy=new r();try{const O=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,ha=this._storageService.get(`${a._storagePrefix}/${p}`,O);ha&&this._strategy.fromJSON(JSON.parse(ha))}catch(O){}}return this._strategy}_saveState(){if(this._strategy){const b=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,c=JSON.stringify(this._strategy);this._storageService.store(`${a._storagePrefix}/${this._strategy.name}`,c,b)}}};Gj._strategyCtors=new Map([["recentlyUsedByPrefix",class extends ml{constructor(){super("recentlyUsedByPrefix"),this._trie=Fd.c.forStrings(),this._seq=0}memorize(a,b,c){const{word:e}=a.getWordUntilPosition(b),i=`${a.getLanguageIdentifier().language}/${e}`;this._trie.set(i,{type:c.completion.kind,insertText:c.completion.insertText,touch:this._seq++})}select(a,b,c){let{word:e}=a.getWordUntilPosition(b);if(!e)return super.select(a,b,c);let i=`${a.getLanguageIdentifier().language}/${e}`,p=this._trie.get(i);if(p||(p=this._trie.findSubstr(i)),p)for(let r=0;r<c.length;r++){let{kind:O,insertText:ha}=c[r].completion;if(O===p.type&&ha===p.insertText)return r}return super.select(a,b,c)}toJSON(){let a=[];return this._trie.forEach((b,c)=>a.push([c,b])),a.sort((b,c)=>-(b[1].touch-c[1].touch)).forEach((b,c)=>b[1].touch=c),a.slice(0,200)}fromJSON(a){if(this._trie.clear(),a.length>0){this._seq=a[0][1].touch+1;for(const[b,c]of a)c.type="number"==typeof c.type?c.type:Object(W.E)(c.type),this._trie.set(b,c)}}}],["recentlyUsed",class extends ml{constructor(){super("recentlyUsed"),this._cache=new Fd.a(300,.66),this._seq=0}memorize(a,b,c){const{label:e}=c.completion,i=`${a.getLanguageIdentifier().language}/${e}`;this._cache.set(i,{touch:this._seq++,type:c.completion.kind,insertText:c.completion.insertText})}select(a,b,c){if(0===c.length)return 0;const e=a.getLineContent(b.lineNumber).substr(b.column-10,b.column-1);if(/\s$/.test(e))return super.select(a,b,c);let i=c[0].score[0],p=-1,r=-1,O=-1;for(let ha=0;ha<c.length&&c[ha].score[0]===i;ha++){const ja=`${a.getLanguageIdentifier().language}/${c[ha].completion.label}`,la=this._cache.peek(ja);if(la&&la.touch>O&&la.type===c[ha].completion.kind&&la.insertText===c[ha].completion.insertText&&(O=la.touch,r=ha),c[ha].completion.preselect&&-1===p)return ha}return-1!==r?r:-1!==p?p:0}toJSON(){return this._cache.toJSON()}fromJSON(a){this._cache.clear();for(const[b,c]of a)c.touch=0,c.type="number"==typeof c.type?c.type:Object(W.E)(c.type),this._cache.set(b,c);this._seq=this._cache.size}}],["first",_m]]),Gj._storagePrefix="suggest/memories",Gj=Bp([ll(0,Wd.a),ll(1,Xh.a),ll(2,xe.a)],Gj);const $m=Object(xa.c)("ISuggestMemories");Object(Cd.b)($m,Gj,!0);var Cp=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Dp=function(a,b){return function(c,e){b(c,e,a)}};let Hi=class a{constructor(b,c){this._editor=b,this._index=0,this._ckOtherSuggestions=a.OtherSuggestions.bindTo(c)}dispose(){this.reset()}reset(){this._ckOtherSuggestions.reset(),Object(Nb.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:b,index:c},e){if(0===b.items.length)return void this.reset();a._moveIndex(!0,b,c)!==c?(this._acceptNext=e,this._model=b,this._index=c,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)):this.reset()}static _moveIndex(b,c,e){let i=e;for(;i=(i+c.items.length+(b?1:-1))%c.items.length,i!==e&&c.items[i].completion.additionalTextEdits;);return i}next(){this._move(!0)}prev(){this._move(!1)}_move(b){if(this._model)try{this._ignore=!0,this._index=a._moveIndex(b,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};Hi.OtherSuggestions=new I.c("hasOtherSuggestions",!1),Hi=Cp([Dp(1,I.b)],Hi);class mj{constructor(a,b,c,e,i,p,r){this.clipboardText=r,this._snippetCompareFn=mj._compareCompletionItems,this._items=a,this._column=b,this._wordDistance=e,this._options=i,this._refilterKind=1,this._lineContext=c,"top"===p?this._snippetCompareFn=mj._compareCompletionItemsSnippetsUp:"bottom"===p&&(this._snippetCompareFn=mj._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(a){this._lineContext.leadingLineContent===a.leadingLineContent&&this._lineContext.characterCountDelta===a.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<a.characterCountDelta&&this._filteredItems?2:1,this._lineContext=a)}get items(){return this._ensureCachedState(),this._filteredItems}get allProvider(){return this._ensureCachedState(),this._allProvider}get incomplete(){return this._ensureCachedState(),this._isIncomplete}adopt(a){let b=[];for(let c=0;c<this._items.length;)a.has(this._items[c].provider)?c++:(b.push(this._items[c]),this._items[c]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,b}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._isIncomplete=new Set(),this._allProvider=new Set(),this._stats={suggestionCount:0,snippetCount:0,textCount:0};const{leadingLineContent:a,characterCountDelta:b}=this._lineContext;let c="",e="";const i=1===this._refilterKind?this._items:this._filteredItems,p=[],r=!this._options.filterGraceful||i.length>2e3?Bd.d:Bd.e;for(let O=0;O<i.length;O++){const ha=i[O];if(ha.isInvalid)continue;ha.container.incomplete&&this._isIncomplete.add(ha.provider),this._allProvider.add(ha.provider);const ja=ha.position.column-ha.editStart.column,la=ja+b-(ha.position.column-this._column);if(c.length!==la&&(c=0===la?"":a.slice(-la),e=c.toLowerCase()),ha.word=c,0===la)ha.score=Bd.a.Default;else{let Wa=0;for(;Wa<ja;){const Hb=c.charCodeAt(Wa);if(32!==Hb&&9!==Hb)break;Wa+=1}const Db="string"==typeof ha.completion.label?ha.completion.label:ha.completion.label.name;if(Wa>=la)ha.score=Bd.a.Default;else if("string"==typeof ha.completion.filterText){let Hb=r(c,e,Wa,ha.completion.filterText,ha.filterTextLow,0,!1);if(!Hb)continue;0===Object(jd.g)(ha.completion.filterText,Db)?ha.score=Hb:(ha.score=Object(Bd.b)(c,e,Wa,Db,ha.labelLow,0),ha.score[0]=Hb[0])}else{let Hb=r(c,e,Wa,Db,ha.labelLow,0,!1);if(!Hb)continue;ha.score=Hb}}switch(ha.idx=O,ha.distance=this._wordDistance.distance(ha.position,ha.completion),p.push(ha),this._stats.suggestionCount++,ha.completion.kind){case 27:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=p.sort(this._snippetCompareFn),this._refilterKind=0}static _compareCompletionItems(a,b){return a.score[0]>b.score[0]?-1:a.score[0]<b.score[0]?1:a.distance<b.distance?-1:a.distance>b.distance?1:a.idx<b.idx?-1:a.idx>b.idx?1:0}static _compareCompletionItemsSnippetsDown(a,b){if(a.completion.kind!==b.completion.kind){if(27===a.completion.kind)return 1;if(27===b.completion.kind)return-1}return mj._compareCompletionItems(a,b)}static _compareCompletionItemsSnippetsUp(a,b){if(a.completion.kind!==b.completion.kind){if(27===a.completion.kind)return-1;if(27===b.completion.kind)return 1}return mj._compareCompletionItems(a,b)}}var Ep=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Eh{static create(a,b){return Ep(this,void 0,void 0,function*(){if(!b.getOption(96).localityBonus)return Eh.None;if(!b.hasModel())return Eh.None;const c=b.getModel(),e=b.getPosition();if(!a.canComputeWordRanges(c.uri))return Eh.None;const[i]=yield new og().provideSelectionRanges(c,[e]);if(0===i.length)return Eh.None;const p=yield a.computeWordRanges(c.uri,i[0].range);if(!p)return Eh.None;const r=c.getWordUntilPosition(e);return delete p[r.word],new class extends Eh{distance(O,ha){if(!e.equals(b.getPosition()))return 0;if(17===ha.kind)return 2<<20;let ja="string"==typeof ha.label?ha.label:ha.label.name,la=p[ja];if(Object(ka.n)(la))return 2<<20;let Wa=Object(ka.c)(la,pb.a.fromPositions(O),pb.a.compareRangesUsingStarts),Db=Wa>=0?la[Wa]:la[Math.max(0,~Wa-1)],Hb=i.length;for(const Pb of i){if(!pb.a.containsRange(Pb.range,Db))break;Hb-=1}return Hb}}()})}}Eh.None=new class extends Eh{distance(){return 0}}();var Fp=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Hj{constructor(a,b,c,e){this.leadingLineContent=a.getLineContent(b.lineNumber).substr(0,b.column-1),this.leadingWord=a.getWordUntilPosition(b),this.lineNumber=b.lineNumber,this.column=b.column,this.auto=c,this.shy=e}static shouldAutoTrigger(a){if(!a.hasModel())return!1;const b=a.getModel(),c=a.getPosition();b.tokenizeIfCheap(c.lineNumber);const e=b.getWordAtPosition(c);return!!e&&(e.endColumn===c.column&&!!isNaN(Number(e.word)))}}class an{constructor(a,b,c){this._editor=a,this._editorWorkerService=b,this._clipboardService=c,this._toDispose=new Nb.b(),this._quickSuggestDelay=10,this._triggerCharacterListener=new Nb.b(),this._triggerQuickSuggest=new sc.e(),this._state=0,this._completionDisposables=new Nb.b(),this._onDidCancel=new jb.a(),this._onDidTrigger=new jb.a(),this._onDidSuggest=new jb.a(),this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._currentSelection=this._editor.getSelection()||new aa.a(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()})),this._toDispose.add(W.d.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(i=>{this._onCursorChange(i)}));let e=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{e=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{e=!1,this._refilterCompletionItems()})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{e||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){Object(Nb.f)(this._triggerCharacterListener),Object(Nb.f)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(71),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(72)||!this._editor.hasModel()||!this._editor.getOption(99))return;const a=new Map();for(const c of W.d.all(this._editor.getModel()))for(const e of c.triggerCharacters||[]){let i=a.get(e);i||(i=new Set(),i.add(void 0),a.set(e,i)),i.add(c)}const b=c=>{var e;if(!c){const r=this._editor.getPosition();c=this._editor.getModel().getLineContent(r.lineNumber).substr(0,r.column-1)}let i="";Object(jd.G)(c.charCodeAt(c.length-1))?Object(jd.F)(c.charCodeAt(c.length-2))&&(i=c.substr(c.length-2)):i=c.charAt(c.length-1);const p=a.get(i);if(p){const r=null===(e=this._completionModel)||void 0===e?void 0:e.adopt(p);this.trigger({auto:!0,shy:!1,triggerCharacter:i},Boolean(this._completionModel),p,r)}};this._triggerCharacterListener.add(this._editor.onDidType(b)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(b))}get state(){return this._state}cancel(a=!1){0!==this._state&&(this._triggerQuickSuggest.cancel(),this._requestToken&&(this._requestToken.cancel(),this._requestToken=void 0),this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:a}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&W.d.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(a){if(!this._editor.hasModel())return;const b=this._editor.getModel(),c=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!a.selection.isEmpty()||0!==a.reason||"keyboard"!==a.source&&"deleteLeft"!==a.source)this.cancel();else if(W.d.has(b)&&0===this._state){if(!1===this._editor.getOption(70))return;if(!c.containsRange(this._currentSelection)&&!c.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))return;if(this._editor.getOption(96).snippetsPreventQuickSuggestions&&_e.get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(0!==this._state)return;if(!Hj.shouldAutoTrigger(this._editor))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),i=this._editor.getPosition(),p=this._editor.getOption(70);if(!1!==p){if(!(!0===p)){e.tokenizeIfCheap(i.lineNumber);const r=e.getLineTokens(i.lineNumber),O=r.getStandardTokenType(r.findTokenIndexAtOffset(Math.max(i.column-1-1,0)));if(!(p.other&&0===O||p.comments&&1===O||p.strings&&2===O))return}this.trigger({auto:!0,shy:!1})}},this._quickSuggestDelay)}}_refilterCompletionItems(){Promise.resolve().then(()=>{if(0===this._state)return;if(!this._editor.hasModel())return;const a=this._editor.getModel(),b=this._editor.getPosition(),c=new Hj(a,b,2===this._state,!1);this._onNewContext(c)})}trigger(a,b=!1,c,e){var i;if(!this._editor.hasModel())return;const p=this._editor.getModel(),r=a.auto,O=new Hj(p,this._editor.getPosition(),r,a.shy);this.cancel(b),this._state=r?2:1,this._onDidTrigger.fire({auto:r,shy:a.shy,position:this._editor.getPosition()}),this._context=O;let ha={triggerKind:null!==(i=a.triggerKind)&&void 0!==i?i:0};a.triggerCharacter&&(ha={triggerKind:1,triggerCharacter:a.triggerCharacter}),this._requestToken=new Gd.b();const ja=this._editor.getOption(93);let la=1;switch(ja){case"top":la=0;break;case"bottom":la=2}let Wa=an._createItemKindFilter(this._editor),Db=Eh.create(this._editorWorkerService,this._editor),Hb=Um(p,this._editor.getPosition(),new kk(la,Wa,c),ha,this._requestToken.token);Promise.all([Hb,Db]).then(([Pb,lc])=>Fp(this,void 0,void 0,function*(){if(Object(Nb.f)(this._requestToken),0===this._state)return;if(!this._editor.hasModel())return;let Ac;(Pb.needsClipboard||Object(ka.o)(e))&&(Ac=yield this._clipboardService.readText());const Tc=this._editor.getModel();let $c=Pb.items;if(Object(ka.o)(e)){const dd=Vm(la);$c=$c.concat(e).sort(dd)}const Uc=new Hj(Tc,this._editor.getPosition(),r,a.shy);this._completionModel=new mj($c,this._context.column,{leadingLineContent:Uc.leadingLineContent,characterCountDelta:Uc.column-this._context.column},lc,this._editor.getOption(96),this._editor.getOption(93),Ac),this._completionDisposables.add(Pb.dispoables),this._onNewContext(Uc)})).catch(La.e)}static _createItemKindFilter(a){const b=new Set();"none"===a.getOption(93)&&b.add(27);const c=a.getOption(96);return c.showMethods||b.add(0),c.showFunctions||b.add(1),c.showConstructors||b.add(2),c.showFields||b.add(3),c.showVariables||b.add(4),c.showClasses||b.add(5),c.showStructs||b.add(6),c.showInterfaces||b.add(7),c.showModules||b.add(8),c.showProperties||b.add(9),c.showEvents||b.add(10),c.showOperators||b.add(11),c.showUnits||b.add(12),c.showValues||b.add(13),c.showConstants||b.add(14),c.showEnums||b.add(15),c.showEnumMembers||b.add(16),c.showKeywords||b.add(17),c.showWords||b.add(18),c.showColors||b.add(19),c.showFiles||b.add(20),c.showReferences||b.add(21),c.showColors||b.add(22),c.showFolders||b.add(23),c.showTypeParameters||b.add(24),c.showSnippets||b.add(27),c.showUsers||b.add(25),c.showIssues||b.add(26),b}_onNewContext(a){if(this._context)if(a.lineNumber===this._context.lineNumber){if(a.leadingWord.startColumn<this._context.leadingWord.startColumn)this.cancel();else if(a.column<this._context.column)a.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(0!==a.leadingWord.word.length&&a.leadingWord.startColumn>this._context.leadingWord.startColumn){const b=new Set(W.d.all(this._editor.getModel()));this._completionModel.allProvider.forEach(e=>b.delete(e));const c=this._completionModel.adopt(new Set());this.trigger({auto:this._context.auto,shy:!1},!0,b,c)}else if(a.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==a.leadingWord.word.length){const{incomplete:b}=this._completionModel,c=this._completionModel.adopt(b);this.trigger({auto:2===this._state,shy:!1,triggerKind:2},!0,b,c)}else{let b=this._completionModel.lineContext,c=!1;if(this._completionModel.lineContext={leadingLineContent:a.leadingLineContent,characterCountDelta:a.column-this._context.column},0===this._completionModel.items.length){if(Hj.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<a.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=b,c=this._completionModel.items.length>0,c&&0===a.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:c})}}else this.cancel()}}f(327),f(329),f(154),f(331),f(333);const Gp=Object(Va.gc)("symbolIcon.arrayForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Hp=Object(Va.gc)("symbolIcon.booleanForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ip=Object(Va.gc)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object($.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Jp=Object(Va.gc)("symbolIcon.colorForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Kp=Object(Va.gc)("symbolIcon.constantForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Lp=Object(Va.gc)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object($.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Mp=Object(Va.gc)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object($.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Np=Object(Va.gc)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object($.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Op=Object(Va.gc)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object($.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pp=Object(Va.gc)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object($.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Qp=Object(Va.gc)("symbolIcon.fileForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Rp=Object(Va.gc)("symbolIcon.folderForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Sp=Object(Va.gc)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object($.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Tp=Object(Va.gc)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object($.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Up=Object(Va.gc)("symbolIcon.keyForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Vp=Object(Va.gc)("symbolIcon.keywordForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Wp=Object(Va.gc)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object($.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Xp=Object(Va.gc)("symbolIcon.moduleForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Yp=Object(Va.gc)("symbolIcon.namespaceForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Zp=Object(Va.gc)("symbolIcon.nullForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_p=Object(Va.gc)("symbolIcon.numberForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),$p=Object(Va.gc)("symbolIcon.objectForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),aq=Object(Va.gc)("symbolIcon.operatorForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),bq=Object(Va.gc)("symbolIcon.packageForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),cq=Object(Va.gc)("symbolIcon.propertyForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),dq=Object(Va.gc)("symbolIcon.referenceForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),eq=Object(Va.gc)("symbolIcon.snippetForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),fq=Object(Va.gc)("symbolIcon.stringForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),gq=Object(Va.gc)("symbolIcon.structForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),hq=Object(Va.gc)("symbolIcon.textForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),iq=Object(Va.gc)("symbolIcon.typeParameterForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),jq=Object(Va.gc)("symbolIcon.unitForeground",{dark:Va.ab,light:Va.ab,hc:Va.ab},Object($.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),kq=Object(Va.gc)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object($.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(Oa.g)((a,b)=>{const c=a.getColor(Gp);c&&b.addRule(`${va.a.symbolArray.cssSelector} { color: ${c}; }`);const e=a.getColor(Hp);e&&b.addRule(`${va.a.symbolBoolean.cssSelector} { color: ${e}; }`);const i=a.getColor(Ip);i&&b.addRule(`${va.a.symbolClass.cssSelector} { color: ${i}; }`);const p=a.getColor(Wp);p&&b.addRule(`${va.a.symbolMethod.cssSelector} { color: ${p}; }`);const r=a.getColor(Jp);r&&b.addRule(`${va.a.symbolColor.cssSelector} { color: ${r}; }`);const O=a.getColor(Kp);O&&b.addRule(`${va.a.symbolConstant.cssSelector} { color: ${O}; }`);const ha=a.getColor(Lp);ha&&b.addRule(`${va.a.symbolConstructor.cssSelector} { color: ${ha}; }`);const ja=a.getColor(Mp);ja&&b.addRule(` - ${va.a.symbolValue.cssSelector},${va.a.symbolEnum.cssSelector} { color: ${ja}; }`);const la=a.getColor(Np);la&&b.addRule(`${va.a.symbolEnumMember.cssSelector} { color: ${la}; }`);const Wa=a.getColor(Op);Wa&&b.addRule(`${va.a.symbolEvent.cssSelector} { color: ${Wa}; }`);const Db=a.getColor(Pp);Db&&b.addRule(`${va.a.symbolField.cssSelector} { color: ${Db}; }`);const Hb=a.getColor(Qp);Hb&&b.addRule(`${va.a.symbolFile.cssSelector} { color: ${Hb}; }`);const Pb=a.getColor(Rp);Pb&&b.addRule(`${va.a.symbolFolder.cssSelector} { color: ${Pb}; }`);const lc=a.getColor(Sp);lc&&b.addRule(`${va.a.symbolFunction.cssSelector} { color: ${lc}; }`);const Ac=a.getColor(Tp);Ac&&b.addRule(`${va.a.symbolInterface.cssSelector} { color: ${Ac}; }`);const Tc=a.getColor(Up);Tc&&b.addRule(`${va.a.symbolKey.cssSelector} { color: ${Tc}; }`);const $c=a.getColor(Vp);$c&&b.addRule(`${va.a.symbolKeyword.cssSelector} { color: ${$c}; }`);const Uc=a.getColor(Xp);Uc&&b.addRule(`${va.a.symbolModule.cssSelector} { color: ${Uc}; }`);const dd=a.getColor(Yp);dd&&b.addRule(`${va.a.symbolNamespace.cssSelector} { color: ${dd}; }`);const Jd=a.getColor(Zp);Jd&&b.addRule(`${va.a.symbolNull.cssSelector} { color: ${Jd}; }`);const Sc=a.getColor(_p);Sc&&b.addRule(`${va.a.symbolNumber.cssSelector} { color: ${Sc}; }`);const kd=a.getColor($p);kd&&b.addRule(`${va.a.symbolObject.cssSelector} { color: ${kd}; }`);const vd=a.getColor(aq);vd&&b.addRule(`${va.a.symbolOperator.cssSelector} { color: ${vd}; }`);const le=a.getColor(bq);le&&b.addRule(`${va.a.symbolPackage.cssSelector} { color: ${le}; }`);const Ie=a.getColor(cq);Ie&&b.addRule(`${va.a.symbolProperty.cssSelector} { color: ${Ie}; }`);const Ve=a.getColor(dq);Ve&&b.addRule(`${va.a.symbolReference.cssSelector} { color: ${Ve}; }`);const df=a.getColor(eq);df&&b.addRule(`${va.a.symbolSnippet.cssSelector} { color: ${df}; }`);const Ni=a.getColor(fq);Ni&&b.addRule(`${va.a.symbolString.cssSelector} { color: ${Ni}; }`);const Tj=a.getColor(gq);Tj&&b.addRule(`${va.a.symbolStruct.cssSelector} { color: ${Tj}; }`);const Uj=a.getColor(hq);Uj&&b.addRule(`${va.a.symbolText.cssSelector} { color: ${Uj}; }`);const En=a.getColor(iq);En&&b.addRule(`${va.a.symbolTypeParameter.cssSelector} { color: ${En}; }`);const Fn=a.getColor(jq);Fn&&b.addRule(`${va.a.symbolUnit.cssSelector} { color: ${Fn}; }`);const Gn=a.getColor(kq);Gn&&b.addRule(`${va.a.symbolVariable.cssSelector} { color: ${Gn}; }`)});var Fh,lq=f(113),mq=f(146);function nk(a,b,c,e){const i=e===Fh.ROOT_FOLDER?["rootfolder-icon"]:e===Fh.FOLDER?["folder-icon"]:["file-icon"];if(c){let p;c.scheme===ca.b.data?p=Pa.a.parseMetaData(c).get(Pa.a.META_DATA_LABEL):p=bn(Object(Pa.c)(c).toLowerCase());if(e===Fh.FOLDER)i.push(p+"-name-folder-icon");else{if(p){i.push(p+"-name-file-icon");const O=p.split(".");for(let ha=1;ha<O.length;ha++)i.push(O.slice(ha).join(".")+"-ext-file-icon");i.push("ext-file-icon")}const r=function(O,ha,ja){if(!ja)return null;let la=null;if(ja.scheme===ca.b.data){const Wa=Pa.a.parseMetaData(ja).get(Pa.a.META_DATA_MIME);Wa&&(la=ha.getModeId(Wa))}else{const Wa=O.getModel(ja);Wa&&(la=Wa.getModeId())}return la&&la!==mq.c?la:ha.getModeIdByFilepathOrFirstLine(ja)}(a,b,c);r&&i.push(bn(r)+"-lang-file-icon")}}return i}function bn(a){return a.replace(/\s/g,"\\$&")}!function(a){a[a.FILE=0]="FILE",a[a.FOLDER=1]="FOLDER",a[a.ROOT_FOLDER=2]="ROOT_FOLDER"}(Fh||(Fh={}));var cn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Eg=function(a,b){return function(c,e){b(c,e,a)}},nq=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};const oq=Object(va.e)("suggest-more-info",va.a.chevronRight),pq=Object(Va.gc)("editorSuggestWidget.background",{dark:Va.U,light:Va.U,hc:Va.U},$.a("editorSuggestWidgetBackground","Background color of the suggest widget.")),qq=Object(Va.gc)("editorSuggestWidget.border",{dark:Va.V,light:Va.V,hc:Va.V},$.a("editorSuggestWidgetBorder","Border color of the suggest widget.")),rq=Object(Va.gc)("editorSuggestWidget.foreground",{dark:Va.B,light:Va.B,hc:Va.B},$.a("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),sq=Object(Va.gc)("editorSuggestWidget.selectedBackground",{dark:Va.xb,light:Va.xb,hc:Va.xb},$.a("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),tq=Object(Va.gc)("editorSuggestWidget.highlightForeground",{dark:Va.zb,light:Va.zb,hc:Va.zb},$.a("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),dn=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i;function Ij(a){if(!a)return!1;const b=a.completion;return!!b.documentation||b.detail&&b.detail!==b.label}function en(a){return"suggest-aria-id:"+a}let nl=class{constructor(a,b,c,e,i,p){this.widget=a,this.editor=b,this.triggerKeybindingLabel=c,this._modelService=e,this._modeService=i,this._themeService=p}get templateId(){return"suggestion"}renderTemplate(a){const b=Object.create(null);b.disposables=new Nb.b(),b.root=a,b.root.classList.add("show-file-icons"),b.icon=Object(qa.p)(a,Object(qa.a)(".icon")),b.colorspan=Object(qa.p)(b.icon,Object(qa.a)("span.colorspan"));const c=Object(qa.p)(a,Object(qa.a)(".contents")),e=Object(qa.p)(c,Object(qa.a)(".main"));b.iconContainer=Object(qa.p)(e,Object(qa.a)(".icon-label.codicon")),b.left=Object(qa.p)(e,Object(qa.a)("span.left")),b.right=Object(qa.p)(e,Object(qa.a)("span.right")),b.iconLabel=new Ca.a(b.left,{supportHighlights:!0,supportCodicons:!0}),b.disposables.add(b.iconLabel),b.parametersLabel=Object(qa.p)(b.left,Object(qa.a)("span.signature-label")),b.qualifierLabel=Object(qa.p)(b.left,Object(qa.a)("span.qualifier-label")),b.detailsLabel=Object(qa.p)(b.right,Object(qa.a)("span.details-label")),b.readMore=Object(qa.p)(b.right,Object(qa.a)("span.readMore"+oq.cssSelector)),b.readMore.title=$.a("readMore","Read More ({0})",this.triggerKeybindingLabel);const i=()=>{const p=this.editor.getOptions(),r=p.get(36),O=r.fontFamily,ha=r.fontFeatureSettings,ja=p.get(97)||r.fontSize,la=p.get(98)||r.lineHeight,Wa=r.fontWeight,Db=ja+"px",Hb=la+"px";b.root.style.fontSize=Db,b.root.style.fontWeight=Wa,e.style.fontFamily=O,e.style.fontFeatureSettings=ha,e.style.lineHeight=Hb,b.icon.style.height=Hb,b.icon.style.width=Hb,b.readMore.style.height=Hb,b.readMore.style.width=Hb};return i(),b.disposables.add(jb.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(p=>p.hasChanged(36)||p.hasChanged(97)||p.hasChanged(98)).on(i,null)),b}renderElement(a,b,c){const e=c,i=a.completion,p="string"==typeof i.label?i.label:i.label.name;e.root.id=en(b),e.colorspan.style.backgroundColor="";const r={labelEscapeNewLines:!0,matches:Object(Bd.c)(a.score)};let O=[];if(19===i.kind&&function(ha,ja){const la="string"==typeof ha.completion.label?ha.completion.label:ha.completion.label.name;return la.match(dn)?(ja[0]=la,!0):!("string"!=typeof ha.completion.documentation||!ha.completion.documentation.match(dn))&&(ja[0]=ha.completion.documentation,!0)}(a,O))e.icon.className="icon customcolor",e.iconContainer.className="icon hide",e.colorspan.style.backgroundColor=O[0];else if(20===i.kind&&this._themeService.getFileIconTheme().hasFileIcons){e.icon.className="icon hide",e.iconContainer.className="icon hide";const ha=nk(this._modelService,this._modeService,xd.a.from({scheme:"fake",path:p}),Fh.FILE),ja=nk(this._modelService,this._modeService,xd.a.from({scheme:"fake",path:i.detail}),Fh.FILE);r.extraClasses=ha.length>ja.length?ha:ja}else 23===i.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(e.icon.className="icon hide",e.iconContainer.className="icon hide",r.extraClasses=Object(ka.l)([nk(this._modelService,this._modeService,xd.a.from({scheme:"fake",path:p}),Fh.FOLDER),nk(this._modelService,this._modeService,xd.a.from({scheme:"fake",path:i.detail}),Fh.FOLDER)])):(e.icon.className="icon hide",e.iconContainer.className="",Object(qa.f)(e.iconContainer,"suggest-icon "+Object(W.F)(i.kind)));i.tags&&i.tags.indexOf(1)>=0&&(r.extraClasses=(r.extraClasses||[]).concat(["deprecated"]),r.matches=[]),e.iconLabel.setLabel(p,void 0,r),"string"==typeof i.label?(e.parametersLabel.textContent="",e.qualifierLabel.textContent="",e.detailsLabel.textContent=(i.detail||"").replace(/\n.*$/m,""),e.root.classList.add("string-label")):(e.parametersLabel.textContent=(i.label.parameters||"").replace(/\n.*$/m,""),e.qualifierLabel.textContent=(i.label.qualifier||"").replace(/\n.*$/m,""),e.detailsLabel.textContent=(i.label.type||"").replace(/\n.*$/m,""),e.root.classList.remove("string-label")),Ij(a)?(e.right.classList.add("can-expand-details"),Object(qa.Z)(e.readMore),e.readMore.onmousedown=ha=>{ha.stopPropagation(),ha.preventDefault()},e.readMore.onclick=ha=>{ha.stopPropagation(),ha.preventDefault(),this.widget.toggleDetails()}):(e.right.classList.remove("can-expand-details"),Object(qa.K)(e.readMore),e.readMore.onmousedown=null,e.readMore.onclick=null)}disposeTemplate(a){a.disposables.dispose()}};nl=cn([Eg(3,ia.a),Eg(4,Xh.a),Eg(5,Oa.c)],nl);class uq{constructor(a,b,c,e,i){this.widget=b,this.editor=c,this.markdownRenderer=e,this.kbToggleDetails=i,this.borderWidth=1,this.disposables=new Nb.b(),this.el=Object(qa.p)(a,Object(qa.a)(".details")),this.disposables.add(Object(Nb.h)(()=>a.removeChild(this.el))),this.body=Object(qa.a)(".body"),this.scrollbar=new _j.a(this.body,{}),Object(qa.p)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(qa.p)(this.body,Object(qa.a)(".header")),this.close=Object(qa.p)(this.header,Object(qa.a)("span"+va.a.close.cssSelector)),this.close.title=$.a("readLess","Read Less ({0})",this.kbToggleDetails),this.type=Object(qa.p)(this.header,Object(qa.a)("p.type")),this.docs=Object(qa.p)(this.body,Object(qa.a)("p.docs")),this.configureFont(),jb.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(p=>p.hasChanged(36)).on(this.configureFont,this,this.disposables),e.onDidRenderCodeBlock(()=>this.scrollbar.scanDomNode(),this,this.disposables)}get element(){return this.el}renderLoading(){this.type.textContent=$.a("loading","Loading..."),this.docs.textContent=""}renderItem(a,b){Object(Nb.f)(this.renderDisposeable),this.renderDisposeable=void 0;let{documentation:c,detail:e}=a.completion;if(b){let i="";i+=`score: ${a.score[0]}${a.word?`, compared '${a.completion.filterText&&a.completion.filterText+" (filterText)"||a.completion.label}' with '${a.word}'`:" (no prefix)"} -`,i+=`distance: ${a.distance}, see localityBonus-setting -`,i+=`index: ${a.idx}, based on ${a.completion.sortText&&`sortText: "${a.completion.sortText}"`||"label"} -`,c=new $a().appendCodeblock("empty",i),e="Provider: "+a.provider._debugDisplayName}if(!b&&!Ij(a))return this.type.textContent="",this.docs.textContent="",void this.el.classList.add("no-docs");if(this.el.classList.remove("no-docs"),"string"==typeof c)this.docs.classList.remove("markdown-docs"),this.docs.textContent=c;else{this.docs.classList.add("markdown-docs"),this.docs.innerText="";const i=this.markdownRenderer.render(c);this.renderDisposeable=i,this.docs.appendChild(i.element)}e?(this.type.innerText=e.length>1e5?e.substr(0,1e5)+"…":e,Object(qa.Z)(this.type)):(this.type.innerText="",Object(qa.K)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=i=>{i.preventDefault(),i.stopPropagation()},this.close.onclick=i=>{i.preventDefault(),i.stopPropagation(),this.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()}scrollDown(a=8){this.body.scrollTop+=a}scrollUp(a=8){this.body.scrollTop-=a}scrollTop(){this.body.scrollTop=0}scrollBottom(){this.body.scrollTop=this.body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}setBorderWidth(a){this.borderWidth=a}configureFont(){const a=this.editor.getOptions(),b=a.get(36),c=b.fontFamily,e=a.get(97)||b.fontSize,i=a.get(98)||b.lineHeight,p=b.fontWeight,r=e+"px",O=i+"px";this.el.style.fontSize=r,this.el.style.fontWeight=p,this.el.style.fontFeatureSettings=b.fontFeatureSettings,this.type.style.fontFamily=c,this.close.style.height=O,this.close.style.width=O}dispose(){this.disposables.dispose(),Object(Nb.f)(this.renderDisposeable),this.renderDisposeable=void 0}}let nj=class a{constructor(b,c,e,i,p,r,O,ha,ja,la){var Wa,Db;this.editor=b,this.telemetryService=c,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=0,this.isAddedAsContentWidget=!1,this.isAuto=!1,this.loadingTimeout=Nb.a.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new sc.e(),this.toDispose=new Nb.b(),this.onDidSelectEmitter=new jb.a(),this.onDidFocusEmitter=new jb.a(),this.onDidHideEmitter=new jb.a(),this.onDidShowEmitter=new jb.a(),this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new jb.a(),this.onDetailsKeyDown=this._onDetailsKeydown.event;const Hb=this.toDispose.add(new aj(b,O,ha)),Pb=null!==(Db=null===(Wa=e.lookupKeybinding("toggleSuggestionDetails"))||void 0===Wa?void 0:Wa.getLabel())&&void 0!==Db?Db:"";this.isAuto=!1,this.focusedItem=null,this.storageService=r,this.element=Object(qa.a)(".editor-widget.suggest-widget"),this.toDispose.add(Object(qa.i)(this.element,"click",Sc=>{Sc.target===this.element&&this.hideWidget()})),this.messageElement=Object(qa.p)(this.element,Object(qa.a)(".message")),this.listElement=Object(qa.p)(this.element,Object(qa.a)(".tree"));const lc=()=>this.element.classList.toggle("with-status-bar",this.editor.getOption(96).statusBar.visible);lc(),this.statusBarElement=Object(qa.p)(this.element,Object(qa.a)(".suggest-status-bar"));const Ac=Sc=>{const kd=e.lookupKeybindings(Sc.id);return new class extends lf.a{constructor(){super(void 0,Sc,{label:!0,icon:!1})}updateLabel(){if(Object(ka.n)(kd)||!this.label)return super.updateLabel();const{label:vd}=this.getAction();this.label.textContent=/{\d}/.test(vd)?jd.x(this.getAction().label,kd[0].getLabel()):`${this.getAction().label} (${kd[0].getLabel()})`}}()},Tc=new Nd.a(this.statusBarElement,{actionViewItemProvider:Ac}),$c=new Nd.a(this.statusBarElement,{actionViewItemProvider:Ac}),Uc=ja.createMenu(ci,i);this.toDispose.add(Uc.onDidChange(()=>(()=>{const Sc=[],kd=[];for(let[vd,le]of Uc.getActions())"left"===vd?Sc.push(...le):kd.push(...le);Tc.clear(),Tc.push(Sc),$c.clear(),$c.push(kd)})())),this.toDispose.add(Uc),this.details=la.createInstance(uq,this.element,this,this.editor,Hb,Pb);const dd=()=>this.element.classList.toggle("no-icons",!this.editor.getOption(96).showIcons);dd();let Jd=la.createInstance(nl,this,this.editor,Pb);this.list=new lq.c("SuggestWidget",this.listElement,this,[Jd],{useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:Sc=>{const kd="string"==typeof Sc.completion.label?Sc.completion.label:Sc.completion.label.name;if(Sc.isResolved&&this.expandDocsSettingFromStorage()){const{documentation:vd,detail:le}=Sc.completion,Ie=jd.x("{0}{1}",le||"",vd?"string"==typeof vd?vd:vd.value:"");return $.a("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",kd,Ie)}return kd},getWidgetAriaLabel:()=>$.a("suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this.toDispose.add(Object(eb.b)(this.list,p,{listInactiveFocusBackground:sq,listInactiveFocusOutline:Va.b})),this.toDispose.add(p.onDidColorThemeChange(Sc=>this.onThemeChange(Sc))),this.toDispose.add(b.onDidLayoutChange(()=>this.onEditorLayoutChange())),this.toDispose.add(this.list.onMouseDown(Sc=>this.onListMouseDownOrTap(Sc))),this.toDispose.add(this.list.onTap(Sc=>this.onListMouseDownOrTap(Sc))),this.toDispose.add(this.list.onDidChangeSelection(Sc=>this.onListSelection(Sc))),this.toDispose.add(this.list.onDidChangeFocus(Sc=>this.onListFocus(Sc))),this.toDispose.add(this.editor.onDidChangeCursorSelection(()=>this.onCursorSelectionChanged())),this.toDispose.add(this.editor.onDidChangeConfiguration(Sc=>{Sc.hasChanged(96)&&(lc(),dd())})),this.ctxSuggestWidgetVisible=ie.Visible.bindTo(i),this.ctxSuggestWidgetDetailsVisible=ie.DetailsVisible.bindTo(i),this.ctxSuggestWidgetMultipleSuggestions=ie.MultipleSuggestions.bindTo(i),this.onThemeChange(p.getColorTheme()),this.toDispose.add(Object(qa.n)(this.details.element,"keydown",Sc=>{this._onDetailsKeydown.fire(Sc)})),this.toDispose.add(this.editor.onMouseDown(Sc=>this.onEditorMouseDown(Sc)))}onEditorMouseDown(b){this.details.element.contains(b.target.element)?this.details.element.focus():this.element.contains(b.target.element)&&this.editor.focus()}onCursorSelectionChanged(){0!==this.state&&this.editor.layoutContentWidget(this)}onEditorLayoutChange(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()}onListMouseDownOrTap(b){void 0!==b.element&&void 0!==b.index&&(b.browserEvent.preventDefault(),b.browserEvent.stopPropagation(),this.select(b.element,b.index))}onListSelection(b){b.elements.length&&this.select(b.elements[0],b.indexes[0])}select(b,c){const e=this.completionModel;e&&(this.onDidSelectEmitter.fire({item:b,index:c,model:e}),this.editor.focus())}onThemeChange(b){const c=b.getColor(pq);c&&(this.listElement.style.backgroundColor=c.toString(),this.statusBarElement.style.backgroundColor=c.toString(),this.details.element.style.backgroundColor=c.toString(),this.messageElement.style.backgroundColor=c.toString());const e=b.getColor(qq);e&&(this.listElement.style.borderColor=e.toString(),this.statusBarElement.style.borderColor=e.toString(),this.details.element.style.borderColor=e.toString(),this.messageElement.style.borderColor=e.toString(),this.detailsBorderColor=e.toString());const i=b.getColor(Va.Z);i&&(this.detailsFocusBorderColor=i.toString()),this.details.setBorderWidth("hc"===b.type?2:1)}onListFocus(b){if(this.ignoreFocusEvents)return;if(!b.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this.editor.setAriaOptions({activeDescendant:void 0});if(!this.completionModel)return;const c=b.elements[0],e=b.indexes[0];this.firstFocusInCurrentList=!this.focusedItem,c!==this.focusedItem&&(this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=c,this.list.reveal(e),this.currentSuggestionDetails=Object(sc.f)(i=>nq(this,void 0,void 0,function*(){const p=Object(sc.g)(()=>this.showDetails(!0),250);i.onCancellationRequested(()=>p.dispose());const r=yield c.resolve(i);return p.dispose(),r})),this.currentSuggestionDetails.then(()=>{e>=this.list.length||c!==this.list.element(e)||(this.ignoreFocusEvents=!0,this.list.splice(e,1,[c]),this.list.setFocus([e]),this.ignoreFocusEvents=!1,this.expandDocsSettingFromStorage()?this.showDetails(!1):this.element.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:en(e)}))}).catch(La.e)),this.onDidFocusEmitter.fire({item:c,index:e,model:this.completionModel})}setState(b){if(!this.element)return;this.isAddedAsContentWidget||0===b||(this.isAddedAsContentWidget=!0,this.editor.addContentWidget(this));const c=this.state!==b;switch(this.state=b,this.element.classList.toggle("frozen",4===b),b){case 0:Object(qa.K)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,c&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=a.LOADING_MESSAGE,Object(qa.K)(this.listElement,this.details.element,this.statusBarElement),Object(qa.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=a.NO_SUGGESTIONS_MESSAGE,Object(qa.K)(this.listElement,this.details.element,this.statusBarElement),Object(qa.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(qa.K)(this.messageElement),Object(qa.Z)(this.listElement,this.statusBarElement),this.show();break;case 4:Object(qa.K)(this.messageElement),Object(qa.Z)(this.listElement),this.show();break;case 5:Object(qa.K)(this.messageElement),Object(qa.Z)(this.details.element,this.listElement,this.statusBarElement),this.show()}}showTriggered(b,c){0===this.state&&(this.isAuto=!!b,this.isAuto||(this.loadingTimeout=Object(sc.g)(()=>this.setState(1),c)))}showSuggestions(b,c,e,i){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==b&&(this.completionModel=b),e&&2!==this.state&&0!==this.state)return void this.setState(4);let p=this.completionModel.items.length;const r=0===p;if(this.ctxSuggestWidgetMultipleSuggestions.set(p>1),r)i?this.setState(0):this.setState(2),this.completionModel=null;else{if(3!==this.state){const{stats:O}=this.completionModel;O.wasAutomaticallyTriggered=!!i,this.telemetryService.publicLog("suggestWidget",Object.assign({},O))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),e?this.setState(4):this.setState(3),this.list.reveal(c,0),this.list.setFocus([c]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}selectNextPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}}selectNext(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}}selectLast(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}}selectPreviousPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}}selectPrevious(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}}selectFirst(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}}getFocusedItem(){if(0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}}toggleDetailsFocus(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")}toggleDetails(){if(Ij(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.ctxSuggestWidgetDetailsVisible.set(!1),this.updateExpandDocsSetting(!1),Object(qa.K)(this.details.element),this.element.classList.remove("docs-side","doc-below"),this.editor.layoutContentWidget(this),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.ctxSuggestWidgetDetailsVisible.set(!0),this.updateExpandDocsSetting(!0),this.showDetails(!1),this.telemetryService.publicLog2("suggestWidget:expandDetails")}}showDetails(b){b||this.expandSideOrBelow(),Object(qa.Z)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",b?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()}toggleExplainMode(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))}show(){const b=this.updateListHeight();b!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=b),this.ctxSuggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(()=>{this.element.classList.add("visible"),this.onDidShowEmitter.fire(this)},100)}hide(){this.editor.layoutContentWidget(this),this.ctxSuggestWidgetVisible.reset(),this.ctxSuggestWidgetMultipleSuggestions.reset(),this.element.classList.remove("visible")}hideWidget(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)}getPosition(){if(0===this.state)return null;let b=[2,1];return this.preferDocPositionTop&&(b=[1]),{position:this.editor.getPosition(),preference:b}}getDomNode(){return this.element}getId(){return a.ID}isFrozen(){return 4===this.state}updateListHeight(){let b=0;if(2===this.state||1===this.state)b=this.unfocusedHeight;else{const c=this.list.contentHeight/this.unfocusedHeight,{maxVisibleSuggestions:e}=this.editor.getOption(96);b=Math.min(c,e)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=b+"px",this.statusBarElement.style.top=b+"px",this.list.layout(b),b}adjustDocsPosition(){if(!this.editor.hasModel())return;const b=this.editor.getOption(51),c=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),e=Object(qa.C)(this.editor.getDomNode()),i=e.left+c.left,p=e.top+c.top+c.height,r=Object(qa.C)(this.element),O=r.left,ha=r.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetY<ha&&!this.preferDocPositionTop)return this.preferDocPositionTop=!0,void this.adjustDocsPosition();this.docsPositionPreviousWidgetY=ha,O<i-this.listWidth?this.element.classList.add("list-right"):this.element.classList.remove("list-right"),this.element.classList.contains("docs-side")&&p-b>ha&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}expandSideOrBelow(){if(!Ij(this.focusedItem)&&this.firstFocusInCurrentList)return void this.element.classList.remove("docs-side","docs-below");let b=this.element.style.maxWidth.match(/(\d+)px/);!b||Number(b[1])<this.maxWidgetWidth?(this.element.classList.add("docs-below"),this.element.classList.remove("docs-side")):Ij(this.focusedItem)&&(this.element.classList.add("docs-side"),this.element.classList.remove("docs-below"))}get maxWidgetHeight(){return this.unfocusedHeight*this.editor.getOption(96).maxVisibleSuggestions}get unfocusedHeight(){const b=this.editor.getOptions();return b.get(98)||b.get(36).lineHeight}getHeight(b){return this.unfocusedHeight}getTemplateId(b){return"suggestion"}expandDocsSettingFromStorage(){return this.storageService.getBoolean("expandSuggestionDocs",0,!1)}updateExpandDocsSetting(b){this.storageService.store("expandSuggestionDocs",b,0)}dispose(){this.details.dispose(),this.list.dispose(),this.toDispose.dispose(),this.loadingTimeout.dispose(),this.showTimeout.dispose(),this.editor.removeContentWidget(this)}};nj.ID="editor.widget.suggestWidget",nj.LOADING_MESSAGE=$.a("suggestWidget.loading","Loading..."),nj.NO_SUGGESTIONS_MESSAGE=$.a("suggestWidget.noSuggestions","No suggestions."),nj=cn([Eg(1,Na.a),Eg(2,Rb.a),Eg(3,I.b),Eg(4,Oa.c),Eg(5,Wd.a),Eg(6,Xh.a),Eg(7,ih.a),Eg(8,Qa.a),Eg(9,xa.a)],nj),Object(Oa.g)((a,b)=>{const c=a.getColor(tq);c&&b.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${c}; }`);const e=a.getColor(rq);e&&b.addRule(`.monaco-editor .suggest-widget { color: ${e}; }`);const i=a.getColor(Va.rc);i&&b.addRule(`.monaco-editor .suggest-widget a { color: ${i}; }`);const p=a.getColor(Va.qc);p&&b.addRule(`.monaco-editor .suggest-widget code { background-color: ${p}; }`)});var vq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},wq=function(a,b){return function(c,e){b(c,e,a)}};let Jj=class a extends Nb.a{constructor(b,c){super(),this._editor=b,this._enabled=!1,this._ckAtEnd=a.AtEnd.bindTo(c),this._register(this._editor.onDidChangeConfiguration(e=>e.hasChanged(101)&&this._update())),this._update()}dispose(){super.dispose(),Object(Nb.f)(this._selectionListener),this._ckAtEnd.reset()}_update(){const b="on"===this._editor.getOption(101);if(this._enabled!==b)if(this._enabled=b,this._enabled){const c=()=>{if(!this._editor.hasModel())return void this._ckAtEnd.set(!1);const e=this._editor.getModel(),i=this._editor.getSelection(),p=e.getWordAtPosition(i.getStartPosition());p?this._ckAtEnd.set(p.endColumn===i.getStartPosition().column):this._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(c),c()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};Jj.AtEnd=new I.c("atEndOfWord",!1),Jj=vq([wq(1,I.b)],Jj);class xq{constructor(a,b,c){this._disposables=new Nb.b(),this._disposables.add(b.onDidShow(()=>this._onItem(b.getFocusedItem()))),this._disposables.add(b.onDidFocus(this._onItem,this)),this._disposables.add(b.onDidHide(this.reset,this)),this._disposables.add(a.onWillType(e=>{if(this._active&&!b.isFrozen()){const i=e.charCodeAt(e.length-1);this._active.acceptCharacters.has(i)&&a.getOption(0)&&c(this._active.item)}}))}_onItem(a){if(!a||!Object(ka.o)(a.item.completion.commitCharacters))return void this.reset();if(this._active&&this._active.item.item===a.item)return;const b=new Qg.b();for(const c of a.item.completion.commitCharacters)c.length>0&&b.add(c.charCodeAt(0));this._active={acceptCharacters:b,item:a}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}class ol{constructor(a,b){this._disposables=new Nb.b(),this._lastOvertyped=[],this._empty=!0,this._disposables.add(a.onWillType(()=>{if(!this._empty)return;if(!a.hasModel())return;const c=a.getSelections(),e=c.length;let i=!1;for(let r=0;r<e;r++)if(!c[r].isEmpty()){i=!0;break}if(!i)return;this._lastOvertyped=[];const p=a.getModel();for(let r=0;r<e;r++){const O=c[r];if(p.getValueLengthInRange(O)>ol._maxSelectionLength)return;this._lastOvertyped[r]={value:p.getValueInRange(O),multiline:O.startLineNumber!==O.endLineNumber}}this._empty=!1})),this._disposables.add(b.onDidCancel(c=>{this._empty||(this._empty=!0)}))}getLastOvertypedInfo(a){if(!this._empty&&a>=0&&a<this._lastOvertyped.length)return this._lastOvertyped[a]}dispose(){this._disposables.dispose()}}ol._maxSelectionLength=51200;var fn=f(158),yq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Ii=function(a,b){return function(c,e){b(c,e,a)}};class zq{constructor(a,b){this._model=a,this._position=b;if(a.getLineMaxColumn(b.lineNumber)!==b.column){const c=a.getOffsetAt(b),e=a.getPositionAt(c+1);this._marker=a.deltaDecorations([],[{range:pb.a.fromPositions(b,e),options:{stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(a){if(this._model.isDisposed()||this._position.lineNumber!==a.lineNumber)return 0;if(this._marker){const b=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(b.getStartPosition())-this._model.getOffsetAt(a)}return this._model.getLineMaxColumn(a.lineNumber)-a.column}}let Ji=class a{constructor(b,c,e,i,p,r,O,ha){this._memoryService=e,this._commandService=i,this._contextKeyService=p,this._instantiationService=r,this._logService=O,this._lineSuffix=new Nb.d(),this._toDispose=new Nb.b(),this.editor=b,this.model=new an(this.editor,c,ha),this.widget=this._toDispose.add(new sc.b(()=>{const Wa=this._instantiationService.createInstance(nj,this.editor);this._toDispose.add(Wa),this._toDispose.add(Wa.onDidSelect(Ac=>this._insertSuggestion(Ac,0),this));const Db=new xq(this.editor,Wa,Ac=>this._insertSuggestion(Ac,2));this._toDispose.add(Db),this._toDispose.add(this.model.onDidSuggest(Ac=>{0===Ac.completionModel.items.length&&Db.reset()}));const Hb=ie.MakesTextEdit.bindTo(this._contextKeyService),Pb=ie.HasInsertAndReplaceRange.bindTo(this._contextKeyService),lc=ie.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Object(Nb.h)(()=>{Hb.reset(),Pb.reset(),lc.reset()})),this._toDispose.add(Wa.onDidFocus(({item:Ac})=>{const Tc=this.editor.getPosition(),$c=Ac.editStart.column,Uc=Tc.column;let dd=!0;"smart"!==this.editor.getOption(1)||2!==this.model.state||Ac.completion.command||Ac.completion.additionalTextEdits||4&Ac.completion.insertTextRules||Uc-$c!==Ac.completion.insertText.length||(dd=this.editor.getModel().getValueInRange({startLineNumber:Tc.lineNumber,startColumn:$c,endLineNumber:Tc.lineNumber,endColumn:Uc})!==Ac.completion.insertText),Hb.set(dd),Pb.set(!Fc.a.equals(Ac.editInsertEnd,Ac.editReplaceEnd)),lc.set(Boolean(Ac.provider.resolveCompletionItem)||Boolean(Ac.completion.documentation)||Ac.completion.detail!==Ac.completion.label)})),this._toDispose.add(Wa.onDetailsKeyDown(Ac=>{Ac.toKeybinding().equals(new _.e(!0,!1,!1,!1,33))||zb.f&&Ac.toKeybinding().equals(new _.e(!1,!1,!1,!0,33))?Ac.stopPropagation():Ac.toKeybinding().isModifierKey()||this.editor.focus()})),Wa})),this._overtypingCapturer=this._toDispose.add(new sc.b(()=>this._toDispose.add(new ol(this.editor,this.model)))),this._alternatives=this._toDispose.add(new sc.b(()=>this._toDispose.add(new Hi(this.editor,this._contextKeyService)))),this._toDispose.add(r.createInstance(Jj,b)),this._toDispose.add(this.model.onDidTrigger(Wa=>{this.widget.value.showTriggered(Wa.auto,Wa.shy?250:50),this._lineSuffix.value=new zq(this.editor.getModel(),Wa.position)})),this._toDispose.add(this.model.onDidSuggest(Wa=>{if(!Wa.shy){let Db=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),Wa.completionModel.items);this.widget.value.showSuggestions(Wa.completionModel,Db,Wa.isFrozen,Wa.auto)}})),this._toDispose.add(this.model.onDidCancel(Wa=>{Wa.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let ja=ie.AcceptSuggestionsOnEnter.bindTo(p),la=()=>{const Wa=this.editor.getOption(1);ja.set("on"===Wa||"smart"===Wa)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>la())),la()}static get(b){return b.getContribution(a.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(b,c){if(!b||!b.item)return this._alternatives.value.reset(),this.model.cancel(),void this.model.clear();if(!this.editor.hasModel())return;const e=this.editor.getModel(),i=e.getAlternativeVersionId(),{item:p}=b,r=[],O=new Gd.b();1&c||this.editor.pushUndoStop();const ha=this.getOverwriteInfo(p,Boolean(8&c));if(this._memoryService.memorize(e,this.editor.getPosition(),p),Array.isArray(p.completion.additionalTextEdits)){const la=K.c.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",p.completion.additionalTextEdits.map(Wa=>qd.a.replace(pb.a.lift(Wa.range),Wa.text))),la.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!p.isResolved){const la=new fn.a(!0);let Wa;const Db=e.onDidChangeContent(Ac=>{if(Ac.isFlush)return O.cancel(),void Db.dispose();for(let Tc of Ac.changes){const $c=pb.a.getEndPosition(Tc.range);Wa&&!Fc.a.isBefore($c,Wa)||(Wa=$c)}});let Hb=c;c|=2;let Pb=!1,lc=this.editor.onWillType(()=>{lc.dispose(),Pb=!0,2&Hb||this.editor.pushUndoStop()});r.push(p.resolve(O.token).then(()=>{if(!p.completion.additionalTextEdits||O.token.isCancellationRequested)return!1;if(Wa&&p.completion.additionalTextEdits.some(Tc=>Fc.a.isBefore(Wa,pb.a.getStartPosition(Tc.range))))return!1;Pb&&this.editor.pushUndoStop();const Ac=K.c.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",p.completion.additionalTextEdits.map(Tc=>qd.a.replace(pb.a.lift(Tc.range),Tc.text))),Ac.restoreRelativeVerticalPositionOfCursor(this.editor),!Pb&&2&Hb||this.editor.pushUndoStop(),!0}).then(Ac=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",la.elapsed(),Ac),Db.dispose(),lc.dispose()}))}let{insertText:ja}=p.completion;4&p.completion.insertTextRules||(ja=il.escape(ja)),_e.get(this.editor).insert(ja,{overwriteBefore:ha.overwriteBefore,overwriteAfter:ha.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&p.completion.insertTextRules),clipboardText:b.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&c||this.editor.pushUndoStop(),p.completion.command?p.completion.command.id===ok.id?this.model.trigger({auto:!0,shy:!1},!0):(r.push(this._commandService.executeCommand(p.completion.command.id,...p.completion.command.arguments?[...p.completion.command.arguments]:[]).catch(La.e)),this.model.cancel()):this.model.cancel(),4&c&&this._alternatives.value.set(b,la=>{for(O.cancel();e.canUndo();){i!==e.getAlternativeVersionId()&&e.undo(),this._insertSuggestion(la,3|(8&c?8:0));break}}),this._alertCompletionItem(p),Promise.all(r).finally(()=>{this.model.clear(),O.dispose()})}getOverwriteInfo(b,c){Object(Zd.b)(this.editor.hasModel());let e="replace"===this.editor.getOption(96).insertMode;c&&(e=!e);const i=b.position.column-b.editStart.column,p=(e?b.editReplaceEnd.column:b.editInsertEnd.column)-b.position.column;return{overwriteBefore:i+(this.editor.getPosition().column-b.position.column),overwriteAfter:p+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem({completion:b}){const c="string"==typeof b.label?b.label:b.label.name;if(Object(ka.o)(b.additionalTextEdits)){let e=$.a("arai.alert.snippet","Accepting '{0}' made {1} additional edits",c,b.additionalTextEdits.length);Object(tc.a)(e)}}triggerSuggest(b){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,b),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(b){if(!this.editor.hasModel())return;const c=this.editor.getPosition(),e=()=>{c.equals(this.editor.getPosition())&&this._commandService.executeCommand(b.fallback)},i=p=>{if(4&p.completion.insertTextRules||p.completion.additionalTextEdits)return!0;const r=this.editor.getPosition(),O=p.editStart.column,ha=r.column;return ha-O!==p.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:r.lineNumber,startColumn:O,endLineNumber:r.lineNumber,endColumn:ha})!==p.completion.insertText};jb.b.once(this.model.onDidTrigger)(p=>{let r=[];jb.b.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{Object(Nb.f)(r),e()},void 0,r),this.model.onDidSuggest(({completionModel:O})=>{if(Object(Nb.f)(r),0===O.items.length)return void e();const ha=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),O.items),ja=O.items[ha];i(ja)?(this.editor.pushUndoStop(),this._insertSuggestion({index:ha,item:ja,model:O},7)):e()},void 0,r)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(c.lineNumber,0),this.editor.focus()}acceptSelectedSuggestion(b,c){const e=this.widget.value.getFocusedItem();let i=0;b&&(i|=4),c&&(i|=8),this._insertSuggestion(e,i)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}};Ji.ID="editor.contrib.suggestController",Ji=yq([Ii(1,Ag.a),Ii(2,$m),Ii(3,ya.b),Ii(4,I.b),Ii(5,xa.a),Ii(6,fl.b),Ii(7,Pc.a)],Ji);class ok extends ba.b{constructor(){super({id:ok.id,label:$.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:I.a.and(S.a.writable,S.a.hasCompletionItemProvider),kbOpts:{kbExpr:S.a.textInputFocus,primary:2058,mac:{primary:266,secondary:[521]},weight:100}})}run(a,b){const c=Ji.get(b);c&&c.triggerSuggest()}}ok.id="editor.action.triggerSuggest",Object(ba.m)(Ji.ID,Ji),Object(ba.k)(ok);const Tf=ba.c.bindToContribution(Ji.get);Object(ba.l)(new Tf({id:"acceptSelectedSuggestion",precondition:ie.Visible,handler(a){a.acceptSelectedSuggestion(!0,!1)}})),bf.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:I.a.and(ie.Visible,S.a.textInputFocus),primary:2,weight:190}),bf.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:I.a.and(ie.Visible,S.a.textInputFocus,ie.AcceptSuggestionsOnEnter,ie.MakesTextEdit),primary:3,weight:190}),Qa.d.appendMenuItem(ci,{command:{id:"acceptSelectedSuggestion",title:$.a({key:"accept.accept",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:ie.HasInsertAndReplaceRange.toNegated()}),Qa.d.appendMenuItem(ci,{command:{id:"acceptSelectedSuggestion",title:$.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:I.a.and(ie.HasInsertAndReplaceRange,I.a.equals("config.editor.suggest.insertMode","insert"))}),Qa.d.appendMenuItem(ci,{command:{id:"acceptSelectedSuggestion",title:$.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},group:"left",order:1,when:I.a.and(ie.HasInsertAndReplaceRange,I.a.equals("config.editor.suggest.insertMode","replace"))}),Object(ba.l)(new Tf({id:"acceptAlternativeSelectedSuggestion",precondition:I.a.and(ie.Visible,S.a.textInputFocus),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:1027,secondary:[1026]},handler(a){a.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:ci,group:"left",order:2,when:I.a.and(ie.HasInsertAndReplaceRange,I.a.equals("config.editor.suggest.insertMode","insert")),title:$.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},{menuId:ci,group:"left",order:2,when:I.a.and(ie.HasInsertAndReplaceRange,I.a.equals("config.editor.suggest.insertMode","replace")),title:$.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")}]})),ya.a.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object(ba.l)(new Tf({id:"hideSuggestWidget",precondition:ie.Visible,handler:a=>a.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:9,secondary:[1033]}})),Object(ba.l)(new Tf({id:"selectNextSuggestion",precondition:I.a.and(ie.Visible,ie.MultipleSuggestions),handler:a=>a.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(ba.l)(new Tf({id:"selectNextPageSuggestion",precondition:I.a.and(ie.Visible,ie.MultipleSuggestions),handler:a=>a.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:12,secondary:[2060]}})),Object(ba.l)(new Tf({id:"selectLastSuggestion",precondition:I.a.and(ie.Visible,ie.MultipleSuggestions),handler:a=>a.selectLastSuggestion()})),Object(ba.l)(new Tf({id:"selectPrevSuggestion",precondition:I.a.and(ie.Visible,ie.MultipleSuggestions),handler:a=>a.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(ba.l)(new Tf({id:"selectPrevPageSuggestion",precondition:I.a.and(ie.Visible,ie.MultipleSuggestions),handler:a=>a.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:11,secondary:[2059]}})),Object(ba.l)(new Tf({id:"selectFirstSuggestion",precondition:I.a.and(ie.Visible,ie.MultipleSuggestions),handler:a=>a.selectFirstSuggestion()})),Object(ba.l)(new Tf({id:"toggleSuggestionDetails",precondition:ie.Visible,handler:a=>a.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:ci,group:"right",order:1,when:I.a.and(ie.DetailsVisible,ie.CanResolve),title:$.a("detail.more","show less")},{menuId:ci,group:"right",order:1,when:I.a.and(ie.DetailsVisible.toNegated(),ie.CanResolve),title:$.a("detail.less","show more")}]})),Object(ba.l)(new Tf({id:"toggleExplainMode",precondition:ie.Visible,handler:a=>a.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),Object(ba.l)(new Tf({id:"toggleSuggestionFocus",precondition:ie.Visible,handler:a=>a.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object(ba.l)(new Tf({id:"insertBestCompletion",precondition:I.a.and(S.a.textInputFocus,I.a.equals("config.editor.tabCompletion","on"),Jj.AtEnd,ie.Visible.toNegated(),Hi.OtherSuggestions.toNegated(),_e.InSnippetMode.toNegated()),handler:(a,b)=>{a.triggerSuggestAndAcceptBest(Object(Zd.i)(b)?Object.assign({fallback:"tab"},b):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object(ba.l)(new Tf({id:"insertNextSuggestion",precondition:I.a.and(S.a.textInputFocus,I.a.equals("config.editor.tabCompletion","on"),Hi.OtherSuggestions,ie.Visible.toNegated(),_e.InSnippetMode.toNegated()),handler:a=>a.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:2}})),Object(ba.l)(new Tf({id:"insertPrevSuggestion",precondition:I.a.and(S.a.textInputFocus,I.a.equals("config.editor.tabCompletion","on"),Hi.OtherSuggestions,ie.Visible.toNegated(),_e.InSnippetMode.toNegated()),handler:a=>a.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:S.a.textInputFocus,primary:1026}}));class Aq extends ba.b{constructor(){super({id:"editor.action.forceRetokenize",label:$.a("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(a,b){if(!b.hasModel())return;const c=b.getModel();c.resetTokenization();const e=new fn.a(!0);c.forceTokenization(c.getLineCount()),e.stop(),console.log("tokenization took "+e.elapsed())}}Object(ba.k)(Aq);var gn=f(161);class Kj extends ba.b{constructor(){super({id:Kj.ID,label:$.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(a,b){const c=!gn.b.getTabFocusMode();gn.b.setTabFocusMode(c),c?Object(tc.a)($.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(tc.a)($.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}Kj.ID="editor.action.toggleTabFocusMode",Object(ba.k)(Kj);var Bq=f(171),Cq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},hn=function(a,b){return function(c,e){b(c,e,a)}},Dq=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let Lj=class extends Nb.a{constructor(a,b,c){super(),this._editor=a,this._dialogService=b,this._codeEditorService=c,this._config=this._editor.getOption(103),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(103)&&(this._config=this._editor.getOption(103),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return Dq(this,void 0,void 0,function*(){if("off"===this._config)return;if(!this._editor.hasModel())return;const a=this._editor.getModel();if(!a.mightContainUnusualLineTerminators())return;if(!0===function(b,c){return b.getModelProperty(c.uri,"ignoreUnusualLineTerminators")}(this._codeEditorService,a))return;if(this._editor.getOption(72))return;if("auto"===this._config)return void a.removeUnusualLineTerminators(this._editor.getSelections());(yield this._dialogService.confirm({title:$.a("unusualLineTerminators.title","Unusual Line Terminators"),message:$.a("unusualLineTerminators.message","Detected unusual line terminators"),detail:$.a("unusualLineTerminators.detail","This file contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`."),primaryButton:$.a("unusualLineTerminators.fix","Fix this file"),secondaryButton:$.a("unusualLineTerminators.ignore","Ignore problem for this file")})).confirmed?a.removeUnusualLineTerminators(this._editor.getSelections()):function(b,c,e){b.setModelProperty(c.uri,"ignoreUnusualLineTerminators",e)}(this._codeEditorService,a,!0)})}};Lj.ID="editor.contrib.unusualLineTerminatorsDetector",Lj=Cq([hn(1,Bq.a),hn(2,Dc.a)],Lj),Object(ba.m)(Lj.ID,Lj);var Eq=f(184),jn=f(183),Fq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},pl=function(a,b){return function(c,e){b(c,e,a)}};let Mj=class a extends Nb.a{constructor(b,c,e,i){super(),this._modelService=c,this._themeService=e,this._configurationService=i,this._editor=b,this._tokenizeViewport=new sc.d(()=>this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(p=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(W.k.onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(p=>{p.affectsConfiguration(jn.b)&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}static _getSemanticColoringProvider(b){const c=W.k.ordered(b);return c.length>0?c[0]:null}_cancelAll(){for(const b of this._outstandingRequests)b.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(b){for(let c=0,e=this._outstandingRequests.length;c<e;c++)if(this._outstandingRequests[c]===b)return void this._outstandingRequests.splice(c,1)}_tokenizeViewportNow(){if(!this._editor.hasModel())return;const b=this._editor.getModel();if(b.hasSemanticTokens())return;if(!Object(jn.c)(b,this._themeService,this._configurationService))return;const c=a._getSemanticColoringProvider(b);if(!c)return;const e=this._modelService.getSemanticTokensProviderStyling(c),i=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(i.map(p=>this._requestRange(b,p,c,e)))}_requestRange(b,c,e,i){const p=b.getVersionId(),r=Object(sc.f)(O=>Promise.resolve(e.provideDocumentRangeSemanticTokens(b,c,O)));return r.then(O=>{O&&!b.isDisposed()&&b.getVersionId()===p&&b.setPartialSemanticTokens(c,Object(Eq.b)(O,i,b.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(r),()=>this._removeOutstandingRequest(r)),r}};Mj.ID="editor.contrib.viewportSemanticTokens",Mj=Fq([pl(1,ia.a),pl(2,Oa.c),pl(3,xe.a)],Mj),Object(ba.m)(Mj.ID,Mj);var Gq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Hq=function(a,b){return function(c,e){b(c,e,a)}};const Iq=Object(Va.gc)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},$.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),Jq=Object(Va.gc)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},$.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),Kq=Object(Va.gc)("editor.wordHighlightBorder",{light:null,dark:null,hc:Va.b},$.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),Lq=Object(Va.gc)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:Va.b},$.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),Mq=Object(Va.gc)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},$.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),Nq=Object(Va.gc)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},$.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),pk=new I.c("hasWordHighlights",!1);function kn(a,b,c){const e=W.i.ordered(a);return Object(sc.h)(e.map(i=>()=>Promise.resolve(i.provideDocumentHighlights(a,b,c)).then(void 0,La.f)),ka.o)}class ln{constructor(a,b,c){this._wordRange=this._getCurrentWordRange(a,b),this.result=Object(sc.f)(e=>this._compute(a,b,c,e))}_getCurrentWordRange(a,b){const c=a.getWordAtPosition(b.getPosition());return c?new pb.a(b.startLineNumber,c.startColumn,b.startLineNumber,c.endColumn):null}isValid(a,b,c){const e=b.startLineNumber,i=b.startColumn,p=b.endColumn,r=this._getCurrentWordRange(a,b);let O=Boolean(this._wordRange&&this._wordRange.equalsRange(r));for(let ha=0,ja=c.length;!O&&ha<ja;ha++){let la=a.getDecorationRange(c[ha]);la&&la.startLineNumber===e&&la.startColumn<=i&&la.endColumn>=p&&(O=!0)}return O}cancel(){this.result.cancel()}}class Oq extends ln{_compute(a,b,c,e){return kn(a,b.getPosition(),e).then(i=>i||[])}}class Pq extends ln{constructor(a,b,c){super(a,b,c),this._selectionIsEmpty=b.isEmpty()}_compute(a,b,c,e){return Object(sc.l)(250,e).then(()=>{if(!b.isEmpty())return[];const i=a.getWordAtPosition(b.getPosition());return!i||i.word.length>1e3?[]:a.findMatches(i.word,!0,!1,!0,c,!1).map(p=>({range:p.range,kind:W.h.Text}))})}isValid(a,b,c){const e=b.isEmpty();return this._selectionIsEmpty===e&&super.isValid(a,b,c)}}Object(ba.p)("_executeDocumentHighlights",(a,b)=>kn(a,b,Gd.a.None));class Nj{constructor(a,b){this.toUnhook=new Nb.b(),this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=a,this._hasWordHighlights=pk.bindTo(b),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(63),this.model=this.editor.getModel(),this.toUnhook.add(a.onDidChangeCursorPosition(c=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(c)})),this.toUnhook.add(a.onDidChangeModelContent(c=>{this._stopAll()})),this.toUnhook.add(a.onDidChangeConfiguration(c=>{let e=this.editor.getOption(63);this.occurrencesHighlight!==e&&(this.occurrencesHighlight=e,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this._decorationIds.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return ka.d(this._decorationIds.map(a=>this.model.getDecorationRange(a)).sort(pb.a.compareRangesUsingStarts))}moveNext(){let a=this._getSortedHighlights(),b=(ka.j(a,e=>e.containsPosition(this.editor.getPosition()))+1)%a.length,c=a[b];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(c.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(c);const e=this._getWord();if(e){const i=this.editor.getModel().getLineContent(c.startLineNumber);Object(tc.a)(`${i}, ${b+1} of ${a.length} for '${e.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let a=this._getSortedHighlights(),b=(ka.j(a,e=>e.containsPosition(this.editor.getPosition()))-1+a.length)%a.length,c=a[b];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(c.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(c);const e=this._getWord();if(e){const i=this.editor.getModel().getLineContent(c.startLineNumber);Object(tc.a)(`${i}, ${b+1} of ${a.length} for '${e.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(a){this.occurrencesHighlight&&3===a.reason?this._run():this._stopAll()}_getWord(){let a=this.editor.getSelection(),b=a.startLineNumber,c=a.startColumn;return this.model.getWordAtPosition({lineNumber:b,column:c})}_run(){let a=this.editor.getSelection();if(a.startLineNumber!==a.endLineNumber)return void this._stopAll();let b=a.startColumn,c=a.endColumn;const e=this._getWord();if(!e||e.startColumn>b||e.endColumn<c)return void this._stopAll();const i=this.workerRequest&&this.workerRequest.isValid(this.model,a,this._decorationIds);if(this.lastCursorPositionChangeTime=new Date().getTime(),i)this.workerRequestCompleted&&-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();let ha=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=(p=this.model,r=this.editor.getSelection(),O=this.editor.getOption(105),W.i.has(p)?new Oq(p,r,O):new Pq(p,r,O)),this.workerRequest.result.then(ja=>{ha===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=ja||[],this._beginRenderDecorations())},La.e)}var p,r,O}_beginRenderDecorations(){let a=new Date().getTime(),b=this.lastCursorPositionChangeTime+250;a>=b?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},b-a)}renderDecorations(){this.renderDecorationsTimer=-1;let a=[];for(const b of this.workerRequestValue)b.range&&a.push({range:b.range,options:Nj._getDecorationOptions(b.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,a),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(a){return a===W.h.Write?this._WRITE_OPTIONS:a===W.h.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}Nj._WRITE_OPTIONS=Eb.a.register({stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:Object(Oa.h)(Nq),position:mc.d.Center}}),Nj._TEXT_OPTIONS=Eb.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(Oa.h)(Va.Wb),position:mc.d.Center}}),Nj._REGULAR_OPTIONS=Eb.a.register({stickiness:1,className:"wordHighlight",overviewRuler:{color:Object(Oa.h)(Mq),position:mc.d.Center}});let Ki=class a extends Nb.a{constructor(b,c){super(),this.wordHighlighter=null;const e=()=>{b.hasModel()&&(this.wordHighlighter=new Nj(b,c))};this._register(b.onDidChangeModel(i=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),e()})),e()}static get(b){return b.getContribution(a.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(b){this.wordHighlighter&&b&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};Ki.ID="editor.contrib.wordHighlighter",Ki=Gq([Hq(1,I.b)],Ki);class mn extends ba.b{constructor(a,b){super(b),this._isNext=a}run(a,b){const c=Ki.get(b);c&&(this._isNext?c.moveNext():c.moveBack())}}class Qq extends ba.b{constructor(){super({id:"editor.action.wordHighlight.trigger",label:$.a("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:pk.toNegated(),kbOpts:{kbExpr:S.a.editorTextFocus,primary:0,weight:100}})}run(a,b,c){const e=Ki.get(b);e&&e.restoreViewState(!0)}}Object(ba.m)(Ki.ID,Ki),Object(ba.k)(class extends mn{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:$.a("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:pk,kbOpts:{kbExpr:S.a.editorTextFocus,primary:65,weight:100}})}}),Object(ba.k)(class extends mn{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:$.a("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:pk,kbOpts:{kbExpr:S.a.editorTextFocus,primary:1089,weight:100}})}}),Object(ba.k)(Qq),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.Q);c&&(b.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${c}; }`),b.addRule(`.monaco-editor .selectionHighlight { background-color: ${c.transparent(.5)}; }`));const e=a.getColor(Iq);e&&b.addRule(`.monaco-editor .wordHighlight { background-color: ${e}; }`);const i=a.getColor(Jq);i&&b.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${i}; }`);const p=a.getColor(Va.R);p&&b.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc"===a.type?"dotted":"solid"} ${p}; box-sizing: border-box; }`);const r=a.getColor(Kq);r&&b.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc"===a.type?"dashed":"solid"} ${r}; box-sizing: border-box; }`);const O=a.getColor(Lq);O&&b.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc"===a.type?"dashed":"solid"} ${O}; box-sizing: border-box; }`)});var Rq=f(22),ei=f(129),oj=f(117),qk=f(26);class rk extends ba.c{constructor(a){super(a),this._inSelectionMode=a.inSelectionMode,this._wordNavigationType=a.wordNavigationType}runEditorCommand(a,b,c){if(!b.hasModel())return;const e=Object(oj.a)(b.getOption(105)),i=b.getModel(),p=b.getSelections().map(r=>{const O=new Fc.a(r.positionLineNumber,r.positionColumn),ha=this._move(e,i,O,this._wordNavigationType);return this._moveTo(r,ha,this._inSelectionMode)});if(i.pushStackElement(),b._getViewModel().setCursorStates("moveWordCommand",0,p.map(r=>Rq.d.fromModelSelection(r))),1===p.length){const r=new Fc.a(p[0].positionLineNumber,p[0].positionColumn);b.revealPosition(r,0)}}_moveTo(a,b,c){return c?new aa.a(a.selectionStartLineNumber,a.selectionStartColumn,b.lineNumber,b.column):new aa.a(b.lineNumber,b.column,b.lineNumber,b.column)}}class fi extends rk{_move(a,b,c,e){return ei.a.moveWordLeft(a,b,c,e)}}class gi extends rk{_move(a,b,c,e){return ei.a.moveWordRight(a,b,c,e)}}class sk extends ba.c{constructor(a){super(a),this._whitespaceHeuristics=a.whitespaceHeuristics,this._wordNavigationType=a.wordNavigationType}runEditorCommand(a,b,c){if(!b.hasModel())return;const e=Object(oj.a)(b.getOption(105)),i=b.getModel(),p=b.getSelections().map(r=>{const O=this._delete(e,i,r,this._whitespaceHeuristics,this._wordNavigationType);return new Vc.a(O,"")});b.pushUndoStop(),b.executeCommands(this.id,p),b.pushUndoStop()}}class ql extends sk{_delete(a,b,c,e,i){let p=ei.a.deleteWordLeft(a,b,c,e,i);return p||new pb.a(1,1,1,1)}}class rl extends sk{_delete(a,b,c,e,i){let p=ei.a.deleteWordRight(a,b,c,e,i);if(p)return p;const r=b.getLineCount(),O=b.getLineMaxColumn(r);return new pb.a(r,O,r,O)}}Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:2063,mac:{primary:527},weight:100}})}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:2065,mac:{primary:529},weight:100}})}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:I.a.and(S.a.textInputFocus,ke.a),win:{primary:2063},weight:101}})}_move(a,b,c,e){return super._move(Object(oj.a)(qk.g.wordSeparators.defaultValue),b,c,e)}}()),Object(ba.l)(new class extends fi{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:I.a.and(S.a.textInputFocus,ke.a),win:{primary:3087},weight:101}})}_move(a,b,c,e){return super._move(Object(oj.a)(qk.g.wordSeparators.defaultValue),b,c,e)}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:I.a.and(S.a.textInputFocus,ke.a),win:{primary:2065},weight:101}})}_move(a,b,c,e){return super._move(Object(oj.a)(qk.g.wordSeparators.defaultValue),b,c,e)}}()),Object(ba.l)(new class extends gi{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:I.a.and(S.a.textInputFocus,ke.a),win:{primary:3089},weight:101}})}_move(a,b,c,e){return super._move(Object(oj.a)(qk.g.wordSeparators.defaultValue),b,c,e)}}()),Object(ba.l)(new class extends ql{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:S.a.writable})}}()),Object(ba.l)(new class extends ql{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:S.a.writable})}}()),Object(ba.l)(new class extends ql{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}()),Object(ba.l)(new class extends rl{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:S.a.writable})}}()),Object(ba.l)(new class extends rl{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:S.a.writable})}}()),Object(ba.l)(new class extends rl{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}());class nn extends rk{_move(a,b,c,e){return ei.b.moveWordPartLeft(a,b,c)}}ya.a.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft"),ya.a.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class on extends rk{_move(a,b,c,e){return ei.b.moveWordPartRight(a,b,c)}}Object(ba.l)(new class extends sk{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(a,b,c,e,i){let p=ei.b.deleteWordPartLeft(a,b,c,e);return p||new pb.a(1,1,1,1)}}()),Object(ba.l)(new class extends sk{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:S.a.writable,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(a,b,c,e,i){let p=ei.b.deleteWordPartRight(a,b,c,e);if(p)return p;const r=b.getLineCount(),O=b.getLineMaxColumn(r);return new pb.a(r,O,r,O)}}()),Object(ba.l)(new class extends nn{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}()),Object(ba.l)(new class extends nn{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}()),Object(ba.l)(new class extends on{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}()),Object(ba.l)(new class extends on{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:S.a.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}());var te=f(55),pn=(f(335),f(35)),qn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},tk=function(a,b){return function(c,e){b(c,e,a)}};const rn=new I.c("accessibilityHelpWidgetVisible",!1);let Li=class a extends Nb.a{constructor(b,c){super(),this._editor=b,this._widget=this._register(c.createInstance(pj,this._editor))}static get(b){return b.getContribution(a.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};Li.ID="editor.contrib.accessibilityHelpController",Li=qn([tk(1,xa.a)],Li);let pj=class a extends af.a{constructor(b,c,e,i){super(),this._contextKeyService=c,this._keybindingService=e,this._openerService=i,this._editor=b,this._isVisibleKey=rn.bindTo(this._contextKeyService),this._domNode=Object(pn.b)(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=Object(pn.b)(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(qa.n(this._contentDomNode.domNode,"keydown",p=>{if(this._isVisible&&(p.equals(2083)&&(Object(tc.a)(te.a.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),qa.s(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),p.preventDefault(),p.stopPropagation()),p.equals(2086))){Object(tc.a)(te.a.openingDocs);let r=this._editor.getRawOptions().accessibilityHelpUrl;void 0===r&&(r="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(xd.a.parse(r)),p.preventDefault(),p.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return a.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(b,c,e){let i=this._keybindingService.lookupKeybinding(b);return i?jd.x(c,i.getAriaLabel()):jd.x(e,b)}_buildContent(){const b=this._editor.getOptions(),c=this._editor.getSelections();let e=0;if(c){const r=this._editor.getModel();r&&c.forEach(O=>{e+=r.getValueLengthInRange(O)})}let i=function(r,O){return r&&0!==r.length?1===r.length?O?jd.x(te.a.singleSelectionRange,r[0].positionLineNumber,r[0].positionColumn,O):jd.x(te.a.singleSelection,r[0].positionLineNumber,r[0].positionColumn):O?jd.x(te.a.multiSelectionRange,r.length,O):r.length>0?jd.x(te.a.multiSelection,r.length):"":te.a.noSelection}(c,e);b.get(47)?b.get(72)?i+=te.a.readonlyDiffEditor:i+=te.a.editableDiffEditor:b.get(72)?i+=te.a.readonlyEditor:i+=te.a.editableEditor;const p=zb.f?te.a.changeConfigToOnMac:te.a.changeConfigToOnWinLinux;switch(b.get(2)){case 0:i+=` - - - `+p;break;case 2:i+=` - - - `+te.a.auto_on;break;case 1:i+=` - - - `+te.a.auto_off,i+=" "+p}b.get(116)?i+=` - - - `+this._descriptionForCommand(Kj.ID,te.a.tabFocusModeOnMsg,te.a.tabFocusModeOnMsgNoKb):i+=` - - - `+this._descriptionForCommand(Kj.ID,te.a.tabFocusModeOffMsg,te.a.tabFocusModeOffMsgNoKb),i+=` - - - `+(zb.f?te.a.openDocMac:te.a.openDocWinLinux),i+=` - -`+te.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(mm.b)(i)),this._contentDomNode.domNode.setAttribute("aria-label",i)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,qa.s(this._contentDomNode.domNode),this._editor.focus())}_layout(){let b=this._editor.getLayoutInfo(),c=Math.max(5,Math.min(a.WIDTH,b.width-40)),e=Math.max(5,Math.min(a.HEIGHT,b.height-40));this._domNode.setWidth(c),this._domNode.setHeight(e);let i=Math.round((b.height-e)/2);this._domNode.setTop(i);let p=Math.round((b.width-c)/2);this._domNode.setLeft(p)}};pj.ID="editor.contrib.accessibilityHelpWidget",pj.WIDTH=500,pj.HEIGHT=300,pj=qn([tk(1,I.b),tk(2,Rb.a),tk(3,ih.a)],pj);class Sq extends ba.b{constructor(){super({id:"editor.action.showAccessibilityHelp",label:te.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(a,b){let c=Li.get(b);c&&c.show()}}Object(ba.m)(Li.ID,Li),Object(ba.k)(Sq);const Tq=ba.c.bindToContribution(Li.get);Object(ba.l)(new Tq({id:"closeAccessibilityHelp",precondition:rn,handler:a=>a.hide(),kbOpts:{weight:200,kbExpr:S.a.focus,primary:9,secondary:[1033]}})),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.U);c&&b.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${c}; }`);const e=a.getColor(Va.W);e&&b.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${e}; }`);const i=a.getColor(Va.uc);i&&b.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${i}; }`);const p=a.getColor(Va.h);p&&b.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${p}; }`)}),f(337);class sl extends Nb.a{constructor(a){super(),this.editor=a,this.widget=null,nb.i&&(this._register(a.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const a=!this.editor.getOption(72);!this.widget&&a?this.widget=new tl(this.editor):this.widget&&!a&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}sl.ID="editor.contrib.iPadShowKeyboard";class tl extends Nb.a{constructor(a){super(),this.editor=a,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(qa.i(this._domNode,"touchstart",b=>{this.editor.focus()})),this._register(qa.i(this._domNode,"focus",b=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return tl.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}tl.ID="editor.contrib.ShowKeyboardWidget",Object(ba.m)(sl.ID,sl),f(339);var ul=f(90),sn=f(139),Uq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},tn=function(a,b){return function(c,e){b(c,e,a)}};let qj=class a extends Nb.a{constructor(b,c,e){super(),this._editor=b,this._modeService=e,this._widget=null,this._register(this._editor.onDidChangeModel(i=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(i=>this.stop())),this._register(W.C.onDidChange(i=>this.stop())),this._register(this._editor.onKeyUp(i=>9===i.keyCode&&this.stop()))}static get(b){return b.getContribution(a.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new vl(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};qj.ID="editor.contrib.inspectTokens",qj=Uq([tn(1,sn.a),tn(2,Xh.a)],qj);class Vq extends ba.b{constructor(){super({id:"editor.action.inspectTokens",label:te.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(a,b){let c=qj.get(b);c&&c.launch()}}class vl extends Nb.a{constructor(a,b){super(),this.allowEditorOverflow=!0,this._editor=a,this._modeService=b,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=function(c){let e=W.C.get(c.language);return e||{getInitialState:()=>ul.c,tokenize:(i,p,r)=>Object(ul.d)(c.language,i,p,r),tokenize2:(i,p,r)=>Object(ul.e)(c.id,i,p,r)}}(this._model.getLanguageIdentifier()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(c=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return vl._ID}_compute(a){let b=this._getTokensAtLine(a.lineNumber),c=0;for(let O=b.tokens1.length-1;O>=0;O--){let ha=b.tokens1[O];if(a.column-1>=ha.offset){c=O;break}}let e=0;for(let O=b.tokens2.length>>>1;O>=0;O--)if(a.column-1>=b.tokens2[O<<1]){e=O;break}let i=this._model.getLineContent(a.lineNumber),p="";if(c<b.tokens1.length){let O=b.tokens1[c].offset,ha=c+1<b.tokens1.length?b.tokens1[c+1].offset:i.length;p=i.substring(O,ha)}Object(qa.U)(this._domNode,Object(qa.a)("h2.tm-token",void 0,function(O){let ha="";for(let ja=0,la=O.length;ja<la;ja++){let Wa=O.charCodeAt(ja);switch(Wa){case 9:ha+="→";break;case 32:ha+="·";break;default:ha+=String.fromCharCode(Wa)}}return ha}(p),Object(qa.a)("span.tm-token-length",void 0,`${p.length} ${1===p.length?"char":"chars"}`))),Object(qa.p)(this._domNode,Object(qa.a)("hr.tokens-inspect-separator",{style:"clear:both"}));const r=1+(e<<1)<b.tokens2.length?this._decodeMetadata(b.tokens2[1+(e<<1)]):null;Object(qa.p)(this._domNode,Object(qa.a)("table.tm-metadata-table",void 0,Object(qa.a)("tbody",void 0,Object(qa.a)("tr",void 0,Object(qa.a)("td.tm-metadata-key",void 0,"language"),Object(qa.a)("td.tm-metadata-value",void 0,""+(r?r.languageIdentifier.language:"-?-"))),Object(qa.a)("tr",void 0,Object(qa.a)("td.tm-metadata-key",void 0,"token type"),Object(qa.a)("td.tm-metadata-value",void 0,""+(r?this._tokenTypeToString(r.tokenType):"-?-"))),Object(qa.a)("tr",void 0,Object(qa.a)("td.tm-metadata-key",void 0,"font style"),Object(qa.a)("td.tm-metadata-value",void 0,""+(r?this._fontStyleToString(r.fontStyle):"-?-"))),Object(qa.a)("tr",void 0,Object(qa.a)("td.tm-metadata-key",void 0,"foreground"),Object(qa.a)("td.tm-metadata-value",void 0,""+(r?Rd.a.Format.CSS.formatHex(r.foreground):"-?-"))),Object(qa.a)("tr",void 0,Object(qa.a)("td.tm-metadata-key",void 0,"background"),Object(qa.a)("td.tm-metadata-value",void 0,""+(r?Rd.a.Format.CSS.formatHex(r.background):"-?-")))))),Object(qa.p)(this._domNode,Object(qa.a)("hr.tokens-inspect-separator")),c<b.tokens1.length&&Object(qa.p)(this._domNode,Object(qa.a)("span.tm-token-type",void 0,b.tokens1[c].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(a){let b=W.C.getColorMap(),c=W.B.getLanguageId(a),e=W.B.getTokenType(a),i=W.B.getFontStyle(a),p=W.B.getForeground(a),r=W.B.getBackground(a);return{languageIdentifier:this._modeService.getLanguageIdentifier(c),tokenType:e,fontStyle:i,foreground:b[p],background:b[r]}}_tokenTypeToString(a){switch(a){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx";default:return"??"}}_fontStyleToString(a){let b="";return 1&a&&(b+="italic "),2&a&&(b+="bold "),4&a&&(b+="underline "),0===b.length&&(b="---"),b}_getTokensAtLine(a){let b=this._getStateBeforeLine(a),c=this._tokenizationSupport.tokenize(this._model.getLineContent(a),b,0),e=this._tokenizationSupport.tokenize2(this._model.getLineContent(a),b,0);return{startState:b,tokens1:c.tokens,tokens2:e.tokens,endState:c.endState}}_getStateBeforeLine(a){let b=this._tokenizationSupport.getInitialState();for(let c=1;c<a;c++)b=this._tokenizationSupport.tokenize(this._model.getLineContent(c),b,0).endState;return b}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}vl._ID="editor.contrib.inspectTokensWidget",Object(ba.m)(qj.ID,qj),Object(ba.k)(Vq),Object(Oa.g)((a,b)=>{const c=a.getColor(Va.F);if(c){let p=a.type===Oa.b?2:1;b.addRule(`.monaco-editor .tokens-inspect-widget { border: ${p}px solid ${c}; }`),b.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${c}; }`)}const e=a.getColor(Va.E);e&&b.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${e}; }`);const i=a.getColor(Va.G);i&&b.addRule(`.monaco-editor .tokens-inspect-widget { color: ${i}; }`)});var Oj=f(134),Wq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Xq=function(a,b){return function(c,e){b(c,e,a)}};let uk=class a{constructor(b){this.quickInputService=b,this.registry=ij.a.as(Oj.b.Quickaccess)}provide(b){const c=new Nb.b();c.add(b.onDidAccept(()=>{const[p]=b.selectedItems;p&&this.quickInputService.quickAccess.show(p.prefix,{preserveValue:!0})})),c.add(b.onDidChangeValue(p=>{const r=this.registry.getQuickAccessProvider(p.substr(a.PREFIX.length));r&&r.prefix&&r.prefix!==a.PREFIX&&this.quickInputService.quickAccess.show(r.prefix,{preserveValue:!0})}));const{editorProviders:e,globalProviders:i}=this.getQuickAccessProviders();return b.items=0===e.length||0===i.length?[...0===e.length?i:e]:[{label:Object($.a)("globalCommands","global commands"),type:"separator"},...i,{label:Object($.a)("editorCommands","editor commands"),type:"separator"},...e],c}getQuickAccessProviders(){const b=[],c=[];for(const e of this.registry.getQuickAccessProviders().sort((i,p)=>i.prefix.localeCompare(p.prefix)))if(e.prefix!==a.PREFIX)for(const i of e.helpEntries){const p=i.prefix||e.prefix,r=p||"…";(i.needsEditor?c:b).push({prefix:p,label:r,ariaLabel:Object($.a)("helpPickAriaLabel","{0}, {1}",r,i.description),description:i.description})}return{editorProviders:c,globalProviders:b}}};uk.PREFIX="?",uk=Wq([Xq(0,Pe.a)],uk),ij.a.as(Oj.b.Quickaccess).registerQuickAccessProvider({ctor:uk,prefix:"",helpEntries:[{description:te.e.helpQuickAccessActionLabel,needsEditor:!0}]});class un{constructor(a){this.options=a,this.rangeHighlightDecorationId=void 0}provide(a,b){var c;const e=new Nb.b();a.canAcceptInBackground=!!(null===(c=this.options)||void 0===c?void 0:c.canAcceptInBackground),a.matchOnLabel=a.matchOnDescription=a.matchOnDetail=a.sortByLabel=!1;const i=e.add(new Nb.d());return i.value=this.doProvide(a,b),e.add(this.onDidActiveTextEditorControlChange(()=>{i.value=void 0,i.value=this.doProvide(a,b)})),e}doProvide(a,b){const c=new Nb.b(),e=this.activeTextEditorControl;if(e&&this.canProvideWithTextEditor(e)){const i=Object(Qf.a)(e);if(i){let p=Object(Zd.n)(e.saveViewState());c.add(i.onDidChangeCursorPosition(()=>{p=Object(Zd.n)(e.saveViewState())})),c.add(Object(pe.a)(b.onCancellationRequested)(()=>{p&&e===this.activeTextEditorControl&&e.restoreViewState(p)}))}c.add(Object(Nb.h)(()=>this.clearDecorations(e))),c.add(this.provideWithTextEditor(e,a,b))}else c.add(this.provideWithoutTextEditor(a,b));return c}canProvideWithTextEditor(a){return!0}gotoLocation(a,b){a.setSelection(b.range),a.revealRangeInCenter(b.range,0),b.preserveFocus||a.focus()}getModel(a){var b;return Object(Qf.c)(a)?null===(b=a.getModel())||void 0===b?void 0:b.modified:a.getModel()}addDecorations(a,b){a.changeDecorations(c=>{const e=[];this.rangeHighlightDecorationId&&(e.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),e.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const i=[{range:b,options:{className:"rangeHighlight",isWholeLine:!0}},{range:b,options:{overviewRuler:{color:Object(Oa.h)(qb.s),position:mc.d.Full}}}],[p,r]=c.deltaDecorations(e,i);this.rangeHighlightDecorationId={rangeHighlightId:p,overviewRulerDecorationId:r}})}clearDecorations(a){const b=this.rangeHighlightDecorationId;b&&(a.changeDecorations(c=>{c.deltaDecorations([b.overviewRulerDecorationId,b.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class wl extends un{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(a){const b=Object($.a)("cannotRunGotoLine","Open a text editor first to go to a line.");return a.items=[{label:b}],a.ariaLabel=b,Nb.a.None}provideWithTextEditor(a,b,c){const e=new Nb.b();e.add(b.onDidAccept(r=>{const[O]=b.selectedItems;if(O){if(!this.isValidLineNumber(a,O.lineNumber))return;this.gotoLocation(a,{range:this.toRange(O.lineNumber,O.column),keyMods:b.keyMods,preserveFocus:r.inBackground}),r.inBackground||b.hide()}}));const i=()=>{const r=this.parsePosition(a,b.value.trim().substr(wl.PREFIX.length)),O=this.getPickLabel(a,r.lineNumber,r.column);if(b.items=[{lineNumber:r.lineNumber,column:r.column,label:O}],b.ariaLabel=O,!this.isValidLineNumber(a,r.lineNumber))return void this.clearDecorations(a);const ha=this.toRange(r.lineNumber,r.column);a.revealRangeInCenter(ha,0),this.addDecorations(a,ha)};i(),e.add(b.onDidChangeValue(()=>i()));const p=Object(Qf.a)(a);return p&&(2===p.getOptions().get(52).renderType&&(p.updateOptions({lineNumbers:"on"}),e.add(Object(Nb.h)(()=>p.updateOptions({lineNumbers:"relative"}))))),e}toRange(a=1,b=1){return{startLineNumber:a,startColumn:b,endLineNumber:a,endColumn:b}}parsePosition(a,b){const c=b.split(/,|:|#/).map(i=>parseInt(i,10)).filter(i=>!isNaN(i)),e=this.lineCount(a)+1;return{lineNumber:c[0]>0?c[0]:e+c[0],column:c[1]}}getPickLabel(a,b,c){if(this.isValidLineNumber(a,b))return this.isValidColumn(a,b,c)?Object($.a)("gotoLineColumnLabel","Go to line {0} and column {1}.",b,c):Object($.a)("gotoLineLabel","Go to line {0}.",b);const e=a.getPosition()||{lineNumber:1,column:1},i=this.lineCount(a);return i>1?Object($.a)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",e.lineNumber,e.column,i):Object($.a)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",e.lineNumber,e.column)}isValidLineNumber(a,b){return!(!b||"number"!=typeof b)&&(b>0&&b<=this.lineCount(a))}isValidColumn(a,b,c){if(!c||"number"!=typeof c)return!1;const e=this.getModel(a);if(!e)return!1;const i={lineNumber:b,column:c};return e.validatePosition(i).equals(i)}lineCount(a){var b,c;return null!==(c=null===(b=this.getModel(a))||void 0===b?void 0:b.getLineCount())&&void 0!==c?c:0}}wl.PREFIX=":";var Yq=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},Zq=function(a,b){return function(c,e){b(c,e,a)}};let Pj=class extends wl{constructor(a){super(),this.editorService=a,this.onDidActiveTextEditorControlChange=jb.b.None}get activeTextEditorControl(){return Object(Zd.n)(this.editorService.getFocusedCodeEditor())}};Pj=Yq([Zq(0,Dc.a)],Pj),ij.a.as(Oj.b.Quickaccess).registerQuickAccessProvider({ctor:Pj,prefix:Pj.PREFIX,helpEntries:[{description:te.b.gotoLineActionLabel,needsEditor:!0}]});class _q extends ba.b{constructor(){super({id:"editor.action.gotoLine",label:te.b.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:2085,mac:{primary:293},weight:100}})}run(a){a.get(Pe.a).quickAccess.show(Pj.PREFIX)}}Object(ba.k)(_q);const vn=[void 0,[]];function xl(a,b,c=0,e=0){const i=b;return i.values&&i.values.length>1?function(p,r,O,ha){let ja=0;const la=[];for(const Wa of r){const[Db,Hb]=wn(p,Wa,O,ha);if("number"!=typeof Db)return vn;ja+=Db,la.push(...Hb)}return[ja,$q(la)]}(a,i.values,c,e):wn(a,b,c,e)}function wn(a,b,c,e){const i=Object(Bd.d)(b.original,b.originalLowercase,c,a,a.toLowerCase(),e,!0);return i?[i[0],Object(Bd.c)(i)]:vn}function $q(a){const b=a.sort((i,p)=>i.start-p.start),c=[];let e;for(const i of b)e&&ar(e,i)?(e.start=Math.min(e.start,i.start),e.end=Math.max(e.end,i.end)):(e=i,c.push(i));return c}function ar(a,b){return!(a.end<b.start)&&!(b.end<a.start)}function yl(a){"string"!=typeof a&&(a="");const b=a.toLowerCase(),{pathNormalized:c,normalized:e,normalizedLowercase:i}=xn(a),p=c.indexOf(Cb.h)>=0;let r;const O=a.split(" ");if(O.length>1)for(const ha of O){const{pathNormalized:ja,normalized:la,normalizedLowercase:Wa}=xn(ha);la&&(r||(r=[]),r.push({original:ha,originalLowercase:ha.toLowerCase(),pathNormalized:ja,normalized:la,normalizedLowercase:Wa}))}return{original:a,originalLowercase:b,pathNormalized:c,normalized:e,normalizedLowercase:i,values:r,containsPathSeparator:p}}function xn(a){let b;b=zb.i?a.replace(/\//g,Cb.h):a.replace(/\\/g,Cb.h);const c=Object(jd.V)(b).replace(/\s/g,"");return{pathNormalized:b,normalized:c,normalizedLowercase:c.toLowerCase()}}function yn(a){return Array.isArray(a)?yl(a.map(b=>b.original).join(" ")):yl(a.original)}var Qj=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};class Fg extends un{constructor(a=Object.create(null)){super(a),this.options=a,a.canAcceptInBackground=!0}provideWithoutTextEditor(a){return this.provideLabelPick(a,Object($.a)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),Nb.a.None}provideWithTextEditor(a,b,c){const e=this.getModel(a);return e?W.m.has(e)?this.doProvideWithEditorSymbols(a,e,b,c):this.doProvideWithoutEditorSymbols(a,e,b,c):Nb.a.None}doProvideWithoutEditorSymbols(a,b,c,e){const i=new Nb.b();return this.provideLabelPick(c,Object($.a)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(()=>{Qj(this,void 0,void 0,function*(){(yield this.waitForLanguageSymbolRegistry(b,i))&&!e.isCancellationRequested&&i.add(this.doProvideWithEditorSymbols(a,b,c,e))})})(),i}provideLabelPick(a,b){a.items=[{label:b,index:0,kind:14}],a.ariaLabel=b}waitForLanguageSymbolRegistry(a,b){return Qj(this,void 0,void 0,function*(){if(W.m.has(a))return!0;let c;const e=new Promise(p=>c=p),i=b.add(W.m.onDidChange(()=>{W.m.has(a)&&(i.dispose(),c(!0))}));return b.add(Object(Nb.h)(()=>c(!1))),e})}doProvideWithEditorSymbols(a,b,c,e){const i=new Nb.b();i.add(c.onDidAccept(ja=>{const[la]=c.selectedItems;la&&la.range&&(this.gotoLocation(a,{range:la.range.selection,keyMods:c.keyMods,preserveFocus:ja.inBackground}),ja.inBackground||c.hide())})),i.add(c.onDidTriggerItemButton(({item:ja})=>{ja&&ja.range&&(this.gotoLocation(a,{range:ja.range.selection,keyMods:c.keyMods,forceSideBySide:!0}),c.hide())}));const p=this.getDocumentSymbols(b,!0,e);let r;const O=()=>Qj(this,void 0,void 0,function*(){null==r||r.dispose(!0),c.busy=!1,r=new Gd.b(e),c.busy=!0;try{const ja=yl(c.value.substr(Fg.PREFIX.length).trim()),la=yield this.doGetSymbolPicks(p,ja,void 0,r.token);if(e.isCancellationRequested)return;la.length>0?c.items=la:ja.original.length>0?this.provideLabelPick(c,Object($.a)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(c,Object($.a)("noSymbolResults","No editor symbols"))}finally{e.isCancellationRequested||(c.busy=!1)}});i.add(c.onDidChangeValue(()=>O())),O();let ha=!0;return i.add(c.onDidChangeActive(()=>{const[ja]=c.activeItems;if(ja&&ja.range){if(ha)return void(ha=!1);a.revealRangeInCenter(ja.range.selection,0),this.addDecorations(a,ja.range.decoration)}})),i}doGetSymbolPicks(a,b,c,e){return Qj(this,void 0,void 0,function*(){const i=yield a;if(e.isCancellationRequested)return[];const p=0===b.original.indexOf(Fg.SCOPE_PREFIX),r=p?1:0;let O,ha;b.values&&b.values.length>1?(O=yn(b.values[0]),ha=yn(b.values.slice(1))):O=b;const ja=[];for(let Hb=0;Hb<i.length;Hb++){const Pb=i[Hb],lc=Object(jd.W)(Pb.name),Ac=`$(symbol-${W.A.toString(Pb.kind)||"property"}) ${lc}`,Tc=Ac.length-lc.length;let $c=Pb.containerName;(null==c?void 0:c.extraContainerLabel)&&($c=$c?`${c.extraContainerLabel} • ${$c}`:c.extraContainerLabel);let Uc,dd,Jd,Sc;if(b.original.length>r){let vd=!1;if(O!==b&&([Uc,dd]=xl(Ac,Object.assign(Object.assign({},b),{values:void 0}),r,Tc),"number"==typeof Uc&&(vd=!0)),"number"!=typeof Uc&&([Uc,dd]=xl(Ac,O,r,Tc),"number"!=typeof Uc))continue;if(!vd&&ha){if($c&&ha.original.length>0&&([Jd,Sc]=xl($c,ha)),"number"!=typeof Jd)continue;"number"==typeof Uc&&(Uc+=Jd)}}const kd=Pb.tags&&Pb.tags.indexOf(1)>=0;ja.push({index:Hb,kind:Pb.kind,score:Uc,label:Ac,ariaLabel:lc,description:$c,highlights:kd?void 0:{label:dd,description:Sc},range:{selection:pb.a.collapseToStart(Pb.selectionRange),decoration:Pb.range},strikethrough:kd,buttons:(()=>{var vd,le;const Ie=(null===(vd=this.options)||void 0===vd?void 0:vd.openSideBySideDirection)?null===(le=this.options)||void 0===le?void 0:le.openSideBySideDirection():void 0;if(Ie)return[{iconClass:"right"===Ie?va.a.splitHorizontal.classNames:va.a.splitVertical.classNames,tooltip:"right"===Ie?Object($.a)("openToSide","Open to the Side"):Object($.a)("openToBottom","Open to the Bottom")}]})()})}const la=ja.sort((Hb,Pb)=>p?this.compareByKindAndScore(Hb,Pb):this.compareByScore(Hb,Pb));let Wa=[];if(p){let Hb,Pb,lc=0;function Db(){Pb&&"number"==typeof Hb&&lc>0&&(Pb.label=Object(jd.x)(Al[Hb]||zl,lc))}for(const Ac of la)Hb!==Ac.kind?(Db(),Hb=Ac.kind,lc=1,Pb={type:"separator"},Wa.push(Pb)):lc++,Wa.push(Ac);Db()}else la.length>0&&(Wa=[{label:Object($.a)("symbols","symbols ({0})",ja.length),type:"separator"},...la]);return Wa})}compareByScore(a,b){if("number"!=typeof a.score&&"number"==typeof b.score)return 1;if("number"==typeof a.score&&"number"!=typeof b.score)return-1;if("number"==typeof a.score&&"number"==typeof b.score){if(a.score>b.score)return-1;if(a.score<b.score)return 1}return a.index<b.index?-1:a.index>b.index?1:0}compareByKindAndScore(a,b){const c=Al[a.kind]||zl,e=Al[b.kind]||zl,i=c.localeCompare(e);return 0===i?this.compareByScore(a,b):i}getDocumentSymbols(a,b,c){return Qj(this,void 0,void 0,function*(){const e=yield pd.create(a,c);if(c.isCancellationRequested)return[];const i=[];for(const r of e.children.values())r instanceof Lc?i.push(r.symbol):i.push(...Nh.a.map(r.children.values(),O=>O.symbol));let p=[];return b?this.flattenDocumentSymbols(p,i,""):p=i,p.sort((r,O)=>pb.a.compareRangesUsingStarts(r.range,O.range))})}flattenDocumentSymbols(a,b,c){for(const e of b)a.push({kind:e.kind,tags:e.tags,name:e.name,detail:e.detail,containerName:e.containerName||c,range:e.range,selectionRange:e.selectionRange,children:void 0}),e.children&&this.flattenDocumentSymbols(a,e.children,e.name)}}Fg.PREFIX="@",Fg.SCOPE_PREFIX=":",Fg.PREFIX_BY_CATEGORY=`${Fg.PREFIX}${Fg.SCOPE_PREFIX}`;const zl=Object($.a)("property","properties ({0})"),Al={5:Object($.a)("method","methods ({0})"),11:Object($.a)("function","functions ({0})"),8:Object($.a)("_constructor","constructors ({0})"),12:Object($.a)("variable","variables ({0})"),4:Object($.a)("class","classes ({0})"),22:Object($.a)("struct","structs ({0})"),23:Object($.a)("event","events ({0})"),24:Object($.a)("operator","operators ({0})"),10:Object($.a)("interface","interfaces ({0})"),2:Object($.a)("namespace","namespaces ({0})"),3:Object($.a)("package","packages ({0})"),25:Object($.a)("typeParameter","type parameters ({0})"),1:Object($.a)("modules","modules ({0})"),6:Object($.a)("property","properties ({0})"),9:Object($.a)("enum","enumerations ({0})"),21:Object($.a)("enumMember","enumeration members ({0})"),14:Object($.a)("string","strings ({0})"),0:Object($.a)("file","files ({0})"),17:Object($.a)("array","arrays ({0})"),15:Object($.a)("number","numbers ({0})"),16:Object($.a)("boolean","booleans ({0})"),18:Object($.a)("object","objects ({0})"),19:Object($.a)("key","keys ({0})"),7:Object($.a)("field","fields ({0})"),13:Object($.a)("constant","constants ({0})")};var br=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},cr=function(a,b){return function(c,e){b(c,e,a)}};let Bl=class extends Fg{constructor(a){super(),this.editorService=a,this.onDidActiveTextEditorControlChange=jb.b.None}get activeTextEditorControl(){return Object(Zd.n)(this.editorService.getFocusedCodeEditor())}};Bl=br([cr(0,Dc.a)],Bl),ij.a.as(Oj.b.Quickaccess).registerQuickAccessProvider({ctor:Bl,prefix:Fg.PREFIX,helpEntries:[{description:te.f.quickOutlineActionLabel,prefix:Fg.PREFIX,needsEditor:!0},{description:te.f.quickOutlineByCategoryActionLabel,prefix:Fg.PREFIX_BY_CATEGORY,needsEditor:!0}]});class dr extends ba.b{constructor(){super({id:"editor.action.quickOutline",label:te.f.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:S.a.hasDocumentSymbolProvider,kbOpts:{kbExpr:S.a.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(a){a.get(Pe.a).quickAccess.show(Fg.PREFIX)}}Object(ba.k)(dr);var rj,vk=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};function Cl(a){const b=a;return Array.isArray(b.items)}!function(a){a[a.NO_ACTION=0]="NO_ACTION",a[a.CLOSE_PICKER=1]="CLOSE_PICKER",a[a.REFRESH_PICKER=2]="REFRESH_PICKER",a[a.REMOVE_ITEM=3]="REMOVE_ITEM"}(rj||(rj={}));class Dl extends Nb.a{constructor(a,b){super(),this.prefix=a,this.options=b}provide(a,b){var c;const e=new Nb.b();a.canAcceptInBackground=!!(null===(c=this.options)||void 0===c?void 0:c.canAcceptInBackground),a.matchOnLabel=a.matchOnDescription=a.matchOnDetail=a.sortByLabel=!1;let i;const p=e.add(new Nb.d()),r=()=>vk(this,void 0,void 0,function*(){const O=p.value=new Nb.b();null==i||i.dispose(!0),a.busy=!1,i=new Gd.b(b);const ha=i.token,ja=a.value.substr(this.prefix.length).trim(),la=this.getPicks(ja,O,ha),Wa=(Db,Hb)=>{var Pb;let lc,Ac;if(Cl(Db)?(lc=Db.items,Ac=Db.active):lc=Db,0===lc.length){if(Hb)return!1;ja.length>0&&(null===(Pb=this.options)||void 0===Pb?void 0:Pb.noResultsPick)&&(lc=[this.options.noResultsPick])}return a.items=lc,Ac&&(a.activeItems=[Ac]),!0};if(!(null===la))if(function(Db){const Hb=Db;return!!Hb.picks&&Hb.additionalPicks instanceof Promise}(la)){let Db=!1,Hb=!1;yield Promise.all([(()=>vk(this,void 0,void 0,function*(){yield Object(sc.l)(Dl.FAST_PICKS_RACE_DELAY),ha.isCancellationRequested||Hb||(Db=Wa(la.picks,!0))}))(),(()=>vk(this,void 0,void 0,function*(){a.busy=!0;try{const Pb=yield la.additionalPicks;if(ha.isCancellationRequested)return;let lc,Ac,Tc;Cl(la.picks)?(lc=la.picks.items,Tc=la.picks.active):lc=la.picks;let $c;if(Cl(Pb)?(Ac=Pb.items,$c=Pb.active):Ac=Pb,Ac.length>0||!Db){let Uc;if(!Tc&&!$c){const dd=a.activeItems[0];dd&&-1!==lc.indexOf(dd)&&(Uc=dd)}Wa({items:[...lc,...Ac],active:Tc||$c||Uc})}}finally{ha.isCancellationRequested||(a.busy=!1),Hb=!0}}))()])}else if(la instanceof Promise){a.busy=!0;try{const Db=yield la;if(ha.isCancellationRequested)return;Wa(Db)}finally{ha.isCancellationRequested||(a.busy=!1)}}else Wa(la)});return e.add(a.onDidChangeValue(()=>r())),r(),e.add(a.onDidAccept(O=>{const[ha]=a.selectedItems;"function"==typeof(null==ha?void 0:ha.accept)&&(O.inBackground||a.hide(),ha.accept(a.keyMods,O))})),e.add(a.onDidTriggerItemButton(({button:O,item:ha})=>vk(this,void 0,void 0,function*(){var ja,la;if("function"==typeof ha.trigger){const Wa=null!==(la=null===(ja=ha.buttons)||void 0===ja?void 0:ja.indexOf(O))&&void 0!==la?la:-1;if(Wa>=0){const Db=ha.trigger(Wa,a.keyMods),Hb="number"==typeof Db?Db:yield Db;if(b.isCancellationRequested)return;switch(Hb){case rj.NO_ACTION:break;case rj.CLOSE_PICKER:a.hide();break;case rj.REFRESH_PICKER:r();break;case rj.REMOVE_ITEM:const Pb=a.items.indexOf(ha);if(-1!==Pb){const lc=a.items.slice();lc.splice(Pb,1),a.items=lc}}}}}))),e}}function El(a,b){return b&&(a.stack||a.stacktrace)?$.a("stackTrace.format","{0}: {1}",An(a),zn(a.stack)||zn(a.stacktrace)):An(a)}function zn(a){return Array.isArray(a)?a.join(` -`):a}function An(a){return"string"==typeof a.code&&"number"==typeof a.errno&&"string"==typeof a.syscall?$.a("nodeExceptionMessage","A system error occurred ({0})",a.message):a.message||$.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function Bn(a=null,b=!1){if(!a)return $.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(a)){const c=ka.d(a),e=Bn(c[0],b);return c.length>1?$.a("error.moreErrors","{0} ({1} errors in total)",e,c.length):e}if(Zd.j(a))return a;if(a.detail){const c=a.detail;if(c.error)return El(c.error,b);if(c.exception)return El(c.exception,b)}return a.stack?El(a,b):a.message?a.message:$.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}Dl.FAST_PICKS_RACE_DELAY=200;var Cn=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},hi=function(a,b){return function(c,e){b(c,e,a)}},Dn=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let Rj=class a extends Dl{constructor(b,c,e,i,p,r){super(a.PREFIX,b),this.options=b,this.instantiationService=c,this.keybindingService=e,this.commandService=i,this.telemetryService=p,this.notificationService=r,this.commandsHistory=this._register(this.instantiationService.createInstance(Mi))}getPicks(b,c,e){return Dn(this,void 0,void 0,function*(){const i=yield this.getCommandPicks(c,e);if(e.isCancellationRequested)return[];const p=[];for(const ja of i){const la=Object(Zd.n)(a.WORD_FILTER(b,ja.label)),Wa=ja.commandAlias?Object(Zd.n)(a.WORD_FILTER(b,ja.commandAlias)):void 0;la||Wa?(ja.highlights={label:la,detail:this.options.showAlias?Wa:void 0},p.push(ja)):b===ja.commandId&&p.push(ja)}const r=new Map();for(const ja of p){const la=r.get(ja.label);la?(ja.description=ja.commandId,la.description=la.commandId):r.set(ja.label,ja)}p.sort((ja,la)=>{const Wa=this.commandsHistory.peek(ja.commandId),Db=this.commandsHistory.peek(la.commandId);return Wa&&Db?Wa>Db?-1:1:Wa?-1:Db?1:ja.label.localeCompare(la.label)});const O=[];let ha=!1;for(let ja=0;ja<p.length;ja++){const la=p[ja],Wa=this.keybindingService.lookupKeybinding(la.commandId),Db=Wa?Object($.a)("commandPickAriaLabelWithKeybinding","{0}, {1}",la.label,Wa.getAriaLabel()):la.label;0===ja&&this.commandsHistory.peek(la.commandId)&&(O.push({type:"separator",label:Object($.a)("recentlyUsed","recently used")}),ha=!0),0!==ja&&ha&&!this.commandsHistory.peek(la.commandId)&&(O.push({type:"separator",label:Object($.a)("morecCommands","other commands")}),ha=!1),O.push(Object.assign(Object.assign({},la),{ariaLabel:Db,detail:this.options.showAlias&&la.commandAlias!==la.label?la.commandAlias:void 0,keybinding:Wa,accept:()=>Dn(this,void 0,void 0,function*(){this.commandsHistory.push(la.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:la.commandId,from:"quick open"});try{yield this.commandService.executeCommand(la.commandId)}catch(Hb){Object(La.d)(Hb)||this.notificationService.error(Object($.a)("canNotRun","Command '{0}' resulted in an error ({1})",la.label,Bn(Hb)))}})}))}return O})}};Rj.PREFIX=">",Rj.WORD_FILTER=Object(Bd.j)(Bd.h,Bd.i,Bd.f),Rj=Cn([hi(1,xa.a),hi(2,Rb.a),hi(3,ya.b),hi(4,Na.a),hi(5,Ja.a)],Rj);let Mi=class a extends Nb.a{constructor(b,c,e){super(),this.storageService=b,this.configurationService=c,this.configuredCommandsHistoryLength=0,e.registerStorageKey({key:a.PREF_KEY_CACHE,version:1}),e.registerStorageKey({key:a.PREF_KEY_COUNTER,version:1}),this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=a.getConfiguredCommandHistoryLength(this.configurationService),a.cache&&a.cache.limit!==this.configuredCommandsHistoryLength&&(a.cache.limit=this.configuredCommandsHistoryLength,a.saveState(this.storageService))}load(){const b=this.storageService.get(a.PREF_KEY_CACHE,0);let c;if(b)try{c=JSON.parse(b)}catch(i){}const e=a.cache=new Fd.a(this.configuredCommandsHistoryLength,1);if(c){let i;i=c.usesLRU?c.entries:c.entries.sort((p,r)=>p.value-r.value),i.forEach(p=>e.set(p.key,p.value))}a.counter=this.storageService.getNumber(a.PREF_KEY_COUNTER,0,a.counter)}push(b){a.cache&&(a.cache.set(b,a.counter++),a.saveState(this.storageService))}peek(b){var c;return null===(c=a.cache)||void 0===c?void 0:c.peek(b)}static saveState(b){if(!a.cache)return;const c={usesLRU:!0,entries:[]};a.cache.forEach((e,i)=>c.entries.push({key:i,value:e})),b.store(a.PREF_KEY_CACHE,JSON.stringify(c),0),b.store(a.PREF_KEY_COUNTER,a.counter,0)}static getConfiguredCommandHistoryLength(b){var c,e;const i=null===(e=null===(c=b.getValue().workbench)||void 0===c?void 0:c.commandPalette)||void 0===e?void 0:e.history;return"number"==typeof i?i:a.DEFAULT_COMMANDS_HISTORY_LENGTH}};Mi.DEFAULT_COMMANDS_HISTORY_LENGTH=50,Mi.PREF_KEY_CACHE="commandPalette.mru.cache",Mi.PREF_KEY_COUNTER="commandPalette.mru.counter",Mi.counter=1,Mi=Cn([hi(0,Wd.a),hi(1,xe.a),hi(2,ji.a)],Mi);class er extends Rj{constructor(a,b,c,e,i,p){super(a,b,c,e,i,p)}getCodeEditorCommandPicks(){const a=this.activeTextEditorControl;if(!a)return[];const b=[];for(const c of a.getSupportedActions())b.push({commandId:c.id,commandAlias:c.alias,label:Object(va.h)(c.label)||c.id});return b}}var fr=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},sj=function(a,b){return function(c,e){b(c,e,a)}},gr=function(a,b,c,e){return new(c||(c=Promise))(function(i,p){function r(ja){try{ha(e.next(ja))}catch(la){p(la)}}function O(ja){try{ha(e.throw(ja))}catch(la){p(la)}}function ha(ja){var la;ja.done?i(ja.value):(la=ja.value,la instanceof c?la:new c(function(Wa){Wa(la)})).then(r,O)}ha((e=e.apply(a,b||[])).next())})};let Sj=class extends er{constructor(a,b,c,e,i,p){super({showAlias:!1},a,c,e,i,p),this.codeEditorService=b}get activeTextEditorControl(){return Object(Zd.n)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return gr(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};Sj=fr([sj(0,xa.a),sj(1,Dc.a),sj(2,Rb.a),sj(3,ya.b),sj(4,Na.a),sj(5,Ja.a)],Sj),ij.a.as(Oj.b.Quickaccess).registerQuickAccessProvider({ctor:Sj,prefix:Sj.PREFIX,helpEntries:[{description:te.d.quickCommandHelp,needsEditor:!0}]});class hr extends ba.b{constructor(){super({id:"editor.action.quickCommand",label:te.d.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:S.a.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(a){a.get(Pe.a).quickAccess.show(Sj.PREFIX)}}Object(ba.k)(hr);var ir=function(a,b,c,e){var i,p=arguments.length,r=p<3?b:null===e?e=Object.getOwnPropertyDescriptor(b,c):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,b,c,e);else for(var O=a.length-1;O>=0;O--)(i=a[O])&&(r=(p<3?i(r):p>3?i(b,c,r):i(b,c))||r);return p>3&&r&&Object.defineProperty(b,c,r),r},tj=function(a,b){return function(c,e){b(c,e,a)}};let Fl=class extends Wh{constructor(a,b,c,e,i,p,r){super(!0,a,b,c,e,i,p,r)}};Fl=ir([tj(1,I.b),tj(2,Dc.a),tj(3,Ja.a),tj(4,xa.a),tj(5,Wd.a),tj(6,xe.a)],Fl),Object(ba.m)(Wh.ID,Fl);class jr extends ba.b{constructor(){super({id:"editor.action.toggleHighContrast",label:te.i.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(a,b){const c=a.get(sn.a);this._originalThemeName?(c.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=c.getColorTheme().themeName,c.setTheme("hc-black"))}}Object(ba.k)(jr)},,,,,function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},q={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","node","nodes","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","non-unicode","non-unique","no-scrolling","no-sign","no-title","no-topofpage","no-zero","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","condense","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","insert","ipow","line_exists","line_index","lines","log","log10","match","matches","nmax","nmin","numofchar","repeat","replace","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","translate","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","table","hashed","index","sorted","standard","accp","char","clnt","cuky","curr","dats","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","tims","unit","df16_scl","df34_scl","prec","varc","abap_bool","space","me","syst","sy","screen"],operators:[" +"," -","/","*","**","div","mod","=","#","@","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","and","equiv","not","or"," < "," > ","<=",">=","<>","><","=<","=>","between","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","in","le","lt","na","nb","ne","np","ns"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_$][\w-$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@operators":"operator","@default":"identifier"}}],[/<[\w]+>/,"identifier"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return y});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},q=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach(function(F){q.push(F),q.push(F.toUpperCase()),q.push(function(P){return P.charAt(0).toUpperCase()+P.substr(1)}(F))});var y={defaultToken:"",tokenPostfix:".apex",keywords:q,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"}},q={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},q={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","begin","Bytes","Crypto","Current","else","end","failwith","false","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","Set","set","sender","source","String","then","true","type","with"],typeKeywords:["int","unit","string","tz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},q={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},q={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},q={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},q={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={brackets:[],autoClosingPairs:[],surroundingPairs:[]},q={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},q={defaultToken:"",tokenPostfix:".css",ws:`[ + `)}});var ga=o(79),Fm=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Rc=function(u,e){return function(t,n){e(t,n,u)}};class Wm{constructor(e,t,n,r){this._openerService=r,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new Lt.b,this._editor=t;let d=document.createElement("div");d.className="descriptioncontainer",this._messageBlock=document.createElement("div"),ae.e(this._messageBlock,"message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),d.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),d.appendChild(this._relatedBlock),this._disposables.add(ae.n(this._relatedBlock,"click",m=>{m.preventDefault();let O=this._relatedDiagnostics.get(m.target);O&&n(O)})),this._scrollable=new cd.b(d,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(m=>{d.style.left=`-${m.scrollLeft}px`,d.style.top=`-${m.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){Object(Lt.f)(this._disposables)}update(e){let{source:t,message:n,relatedInformation:r,code:d}=e,m=((t==null?void 0:t.length)||0)+"()".length;d&&(m+=typeof d=="string"?d.length:d.value.length);let O=n.split(/\r\n|\r|\n/g);this._lines=O.length,this._longestLineLength=0;for(let Ct of O)this._longestLineLength=Math.max(Ct.length+m,this._longestLineLength);ae.s(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let re=this._messageBlock;for(let Ct of O)re=document.createElement("div"),re.innerText=Ct,Ct===""&&(re.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(re);if(t||d){let Ct=document.createElement("span");if(ae.e(Ct,"details"),re.appendChild(Ct),t){let Ut=document.createElement("span");Ut.innerText=t,ae.e(Ut,"source"),Ct.appendChild(Ut)}if(d)if(typeof d=="string"){let Ut=document.createElement("span");Ut.innerText=`(${d})`,ae.e(Ut,"code"),Ct.appendChild(Ut)}else this._codeLink=ae.a("a.code-link"),this._codeLink.setAttribute("href",""+d.target.toString()),this._codeLink.onclick=Ut=>{this._openerService.open(d.target),Ut.preventDefault(),Ut.stopPropagation()},ae.p(this._codeLink,ae.a("span")).innerText=d.value,Ct.appendChild(this._codeLink)}if(ae.s(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(ee.o)(r)){let Ct=this._relatedBlock.appendChild(document.createElement("div"));Ct.style.paddingTop=Math.floor(.66*this._editor.getOption(51))+"px",this._lines+=1;for(let Ut of r){let St=document.createElement("div"),di=document.createElement("a");ae.e(di,"filename"),di.innerText=`${Qt(Ut.resource)}(${Ut.startLineNumber}, ${Ut.startColumn}): `,di.title=It(Ut.resource,void 0),this._relatedDiagnostics.set(di,Ut);let hi=document.createElement("span");hi.innerText=Ut.message,St.appendChild(di),St.appendChild(hi),this._lines+=1,Ct.appendChild(St)}}let oe=this._editor.getOption(36),ce=Math.ceil(oe.typicalFullwidthCharacterWidth*this._longestLineLength*.75),Me=oe.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:ce,scrollHeight:Me})}layout(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case ve.c.Error:t=G.a("Error","Error");break;case ve.c.Warning:t=G.a("Warning","Warning");break;case ve.c.Info:t=G.a("Info","Info");break;case ve.c.Hint:t=G.a("Hint","Hint")}let n=G.a("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn),r=this._editor.getModel();return r&&e.startLineNumber<=r.getLineCount()&&e.startLineNumber>=1&&(n=`${r.getLineContent(e.startLineNumber)}, ${n}`),n}}let rc=class mm extends el{constructor(e,t,n,r,d,m){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0},d),this._themeService=t,this._openerService=n,this._menuService=r,this._contextKeyService=m,this._callOnDispose=new Lt.b,this._onDidSelectRelatedInformation=new rt.a,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=ve.c.Warning,this._backgroundColor=Kn.a.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(Vm);let t=zm;this._severity===ve.c.Warning?t=Bm:this._severity===ve.c.Info&&(t=jm);let n=e.getColor(t);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:e.getColor(Vo),secondaryHeadingColor:e.getColor(Ll)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(e){super._fillHead(e),this._disposables.add(this._actionbarWidget.actionRunner.onDidBeforeRun(r=>this.editor.focus()));let t=[],n=this._menuService.createMenu(mm.TitleMenu,this._contextKeyService);ua(n,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),n.dispose()}_fillTitleIcon(e){this._icon=ae.p(e,ae.a(""))}_getActionBarOptions(){return Object.assign(Object.assign({},super._getActionBarOptions()),{orientation:0})}_fillBody(e){this._parentContainer=e,ae.e(e,"marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new Wm(this._container,this.editor,t=>this._onDidSelectRelatedInformation.fire(t),this._openerService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,n){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let r=gt.a.lift(e),d=this.editor.getPosition(),m=d&&r.containsPosition(d)?d:r.getStartPosition();super.show(m,this.computeRequiredHeight());let O=this.editor.getModel();if(O){let re=n>1?G.a("problems","{0} of {1} problems",t,n):G.a("change","{0} of {1} problem",t,n);this.setTitle(Object(Be.b)(O.uri),re)}this._icon.className="codicon "+ph.className(ve.c.toSeverity(this._severity)),this.editor.revealPositionNearTop(m,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=e+"px"}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};rc.TitleMenu=new ze.b("gotoErrorTitleMenu"),rc=Fm([Rc(1,ut.c),Rc(2,ga.a),Rc(3,ze.a),Rc(4,X.a),Rc(5,A.b)],rc);let mh=Object(Ue.Ub)(Ue.u,Ue.t),gh=Object(Ue.Ub)(Ue.T,Ue.S),fh=Object(Ue.Ub)(Ue.L,Ue.K),zm=Object(Ue.gc)("editorMarkerNavigationError.background",{dark:mh,light:mh,hc:mh},G.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),Bm=Object(Ue.gc)("editorMarkerNavigationWarning.background",{dark:gh,light:gh,hc:gh},G.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),jm=Object(Ue.gc)("editorMarkerNavigationInfo.background",{dark:fh,light:fh,hc:fh},G.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),Vm=Object(Ue.gc)("editorMarkerNavigation.background",{dark:"#2D2D30",light:Kn.a.white,hc:"#0C141F"},G.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(ut.g)((u,e)=>{let t=u.getColor(Ue.rc);t&&(e.addRule(`.monaco-editor .marker-widget a { color: ${t}; }`),e.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${t}; }`))});var Lu=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Nu=function(u,e){return function(t,n){e(t,n,u)}};class Iu{constructor(e,t,n){this.marker=e,this.index=t,this.total=n}}let bh=class gm{constructor(e,t){this._markerService=t,this._onDidChange=new rt.a,this.onDidChange=this._onDidChange.event,this._dispoables=new Lt.b,this._markers=[],this._nextIdx=-1,Dn.a.isUri(e)?this._resourceFilter=r=>r.toString()===e.toString():e&&(this._resourceFilter=e);let n=()=>{this._markers=this._markerService.read({resource:Dn.a.isUri(e)?e:void 0,severities:ve.c.Error|ve.c.Warning|ve.c.Info}),typeof e=="function"&&(this._markers=this._markers.filter(r=>this._resourceFilter(r.resource))),this._markers.sort(gm._compareMarker)};n(),this._dispoables.add(t.onMarkerChanged(r=>{this._resourceFilter&&!r.some(d=>this._resourceFilter(d))||(n(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!(!this._resourceFilter||!e)&&this._resourceFilter(e)}get selected(){let e=this._markers[this._nextIdx];return e&&new Iu(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,n){let r=!1,d=this._markers.findIndex(m=>m.resource.toString()===e.uri.toString());d<0&&(d=Object(ee.c)(this._markers,{resource:e.uri},(m,O)=>Object(on.f)(m.resource.toString(),O.resource.toString())),d<0&&(d=~d));for(let m=d;m<this._markers.length;m++){let O=gt.a.lift(this._markers[m]);if(O.isEmpty()){let re=e.getWordAtPosition(O.getStartPosition());re&&(O=new gt.a(O.startLineNumber,re.startColumn,O.startLineNumber,re.endColumn))}if(t&&(O.containsPosition(t)||t.isBeforeOrEqual(O.getStartPosition()))){this._nextIdx=m,r=!0;break}if(this._markers[m].resource.toString()!==e.uri.toString())break}r||(this._nextIdx=n?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(e,t,n){if(this._markers.length===0)return!1;let r=this._nextIdx;return this._nextIdx===-1?this._initIdx(t,n,e):e?this._nextIdx=(this._nextIdx+1)%this._markers.length:e||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),r!==this._nextIdx}find(e,t){let n=this._markers.findIndex(r=>r.resource.toString()===e.toString());if(!(n<0)){for(;n<this._markers.length;n++)if(gt.a.containsPosition(this._markers[n],t))return new Iu(this._markers[n],n+1,this._markers.length)}}static _compareMarker(e,t){let n=Object(on.f)(e.resource.toString(),t.resource.toString());return n===0&&(n=ve.c.compare(e.severity,t.severity)),n===0&&(n=gt.a.compareRangesUsingStarts(e,t)),n}};bh=Lu([Nu(1,ve.b)],bh);let Ou=Object(X.c)("IMarkerNavigationService"),_h=class{constructor(u){this._markerService=u,this._provider=new Sl.a}getMarkerList(u){for(let e of this._provider){let t=e.getMarkerList(u);if(t)return t}return new bh(u,this._markerService)}};_h=Lu([Nu(0,ve.b)],_h),Object(In.b)(Ou,_h,!0);var Um=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},hd=function(u,e){return function(t,n){e(t,n,u)}},Du=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let ol=class qd{constructor(e,t,n,r,d){this._markerNavigationService=t,this._contextKeyService=n,this._editorService=r,this._instantiationService=d,this._sessionDispoables=new Lt.b,this._editor=e,this._widgetVisible=Au.bindTo(this._contextKeyService)}static get(e){return e.getContribution(qd.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(rc,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(n=>{var r,d,m;((r=this._model)===null||r===void 0?void 0:r.selected)&>.a.containsPosition((d=this._model)===null||d===void 0?void 0:d.selected.marker,n.position)||(m=this._model)===null||m===void 0||m.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;let n=this._model.find(this._editor.getModel().uri,this._widget.position);n?this._widget.updateMarker(n.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(n=>{this._editorService.openCodeEditor({resource:n.resource,options:{pinned:!0,revealIfOpened:!0,selection:gt.a.lift(n).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){let t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new Di.a(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(e,t){return Du(this,void 0,void 0,function*(){if(this._editor.hasModel()){let n=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(n.move(e,this._editor.getModel(),this._editor.getPosition()),!n.selected)return;if(n.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();let r=yield this._editorService.openCodeEditor({resource:n.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:n.selected.marker}},this._editor);r&&(qd.get(r).close(),qd.get(r).nagivate(e,t))}else this._widget.showAtMarker(n.selected.marker,n.selected.index,n.selected.total)}})}};ol.ID="editor.contrib.markerController",ol=Um([hd(1,Ou),hd(2,A.b),hd(3,Si.a),hd(4,X.a)],ol);class ud extends $.b{constructor(e,t,n){super(n),this._next=e,this._multiFile=t}run(e,t){return Du(this,void 0,void 0,function*(){t.hasModel()&&ol.get(t).nagivate(this._next,this._multiFile)})}}class za extends ud{constructor(){super(!0,!1,{id:za.ID,label:za.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:578,weight:100},menuOpts:{menuId:rc.TitleMenu,title:za.LABEL,icon:Object(de.e)("marker-navigation-next",de.a.chevronDown),group:"navigation",order:1}})}}za.ID="editor.action.marker.next",za.LABEL=G.a("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class sc extends ud{constructor(){super(!1,!1,{id:sc.ID,label:sc.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:1602,weight:100},menuOpts:{menuId:rc.TitleMenu,title:za.LABEL,icon:Object(de.e)("marker-navigation-previous",de.a.chevronUp),group:"navigation",order:2}})}}sc.ID="editor.action.marker.prev",sc.LABEL=G.a("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),Object($.m)(ol.ID,ol),Object($.k)(za),Object($.k)(sc),Object($.k)(class extends ud{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:G.a("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:66,weight:100},menuOpts:{menuId:ze.b.MenubarGoMenu,title:G.a({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),Object($.k)(class extends ud{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:G.a("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:1090,weight:100},menuOpts:{menuId:ze.b.MenubarGoMenu,title:G.a({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});let Au=new A.c("markersNavigationVisible",!1),Hm=$.c.bindToContribution(ol.get);Object($.l)(new Hm({id:"closeMarkersNavigation",precondition:Au,handler:u=>u.close(),kbOpts:{weight:150,kbExpr:z.a.focus,primary:9,secondary:[1033]}}));class qm{constructor(e,t,n){this.presentationIndex=n,this._onColorFlushed=new rt.a,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new rt.a,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new rt.a,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let n=0;n<this.colorPresentations.length;n++)if(t.toLowerCase()===this.colorPresentations[n].label){this.presentationIndex=n,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}o(313);let fa=ae.a;class $m extends Lt.a{constructor(e,t,n){super(),this.model=t,this.domNode=fa(".colorpicker-header"),ae.p(e,this.domNode),this.pickedColorNode=ae.p(this.domNode,fa(".picked-color"));let r=ae.p(this.domNode,fa(".original-color"));r.style.backgroundColor=Kn.a.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=n.getColorTheme().getColor(Ue.E)||Kn.a.white,this._register(Object(ut.g)((d,m)=>{this.backgroundColor=d.getColor(Ue.E)||Kn.a.white})),this._register(ae.i(this.pickedColorNode,ae.c.CLICK,()=>this.model.selectNextColorPresentation())),this._register(ae.i(r,ae.c.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=Kn.a.Format.CSS.format(t.color)||"",ae.ab(this.pickedColorNode,"light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter())}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=Kn.a.Format.CSS.format(e)||"",ae.ab(this.pickedColorNode,"light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class Km extends Lt.a{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this.domNode=fa(".colorpicker-body"),ae.p(e,this.domNode),this.saturationBox=new Gm(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new Ym(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new Zm(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){let n=this.model.color.hsva;this.model.color=new Kn.a(new Kn.b(n.h,e,t,n.a))}onDidOpacityChange(e){let t=this.model.color.hsva;this.model.color=new Kn.a(new Kn.b(t.h,t.s,t.v,e))}onDidHueChange(e){let t=this.model.color.hsva,n=360*(1-e);this.model.color=new Kn.a(new Kn.b(n===360?0:n,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class Gm extends Lt.a{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this._onDidChange=new rt.a,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new rt.a,this.onColorFlushed=this._onColorFlushed.event,this.domNode=fa(".saturation-wrap"),ae.p(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",ae.p(this.domNode,this.canvas),this.selection=fa(".saturation-selection"),ae.p(this.domNode,this.selection),this.layout(),this._register(ae.g(this.domNode,r=>this.onMouseDown(r))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new tt.a);let t=ae.C(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,tt.b,r=>this.onDidChangePosition(r.posx-t.left,r.posy-t.top),()=>null);let n=ae.h(document,()=>{this._onColorFlushed.fire(),n.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){let n=Math.max(0,Math.min(1,e/this.width)),r=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(n,r),this._onDidChange.fire({s:n,v:r})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();let e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){let e=this.model.color.hsva,t=new Kn.a(new Kn.b(e.h,1,1,1)),n=this.canvas.getContext("2d"),r=n.createLinearGradient(0,0,this.canvas.width,0);r.addColorStop(0,"rgba(255, 255, 255, 1)"),r.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),r.addColorStop(1,"rgba(255, 255, 255, 0)");let d=n.createLinearGradient(0,0,0,this.canvas.height);d.addColorStop(0,"rgba(0, 0, 0, 0)"),d.addColorStop(1,"rgba(0, 0, 0, 1)"),n.rect(0,0,this.canvas.width,this.canvas.height),n.fillStyle=Kn.a.Format.CSS.format(t),n.fill(),n.fillStyle=r,n.fill(),n.fillStyle=d,n.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class Ru extends Lt.a{constructor(e,t){super(),this.model=t,this._onDidChange=new rt.a,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new rt.a,this.onColorFlushed=this._onColorFlushed.event,this.domNode=ae.p(e,fa(".strip")),this.overlay=ae.p(this.domNode,fa(".overlay")),this.slider=ae.p(this.domNode,fa(".slider")),this.slider.style.top="0px",this._register(ae.g(this.domNode,n=>this.onMouseDown(n))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;let e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){let t=this._register(new tt.a),n=ae.C(this.domNode);ae.e(this.domNode,"grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,tt.b,d=>this.onDidChangeTop(d.posy-n.top),()=>null);let r=ae.h(document,()=>{this._onColorFlushed.fire(),r.dispose(),t.stopMonitoring(!0),ae.Q(this.domNode,"grabbing")},!0)}onDidChangeTop(e){let t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class Ym extends Ru{constructor(e,t){super(e,t),ae.e(this.domNode,"opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){let{r:t,g:n,b:r}=e.rgba,d=new Kn.a(new Kn.c(t,n,r,1)),m=new Kn.a(new Kn.c(t,n,r,0));this.overlay.style.background=`linear-gradient(to bottom, ${d} 0%, ${m} 100%)`}getValue(e){return e.hsva.a}}class Zm extends Ru{constructor(e,t){super(e,t),ae.e(this.domNode,"hue-strip")}getValue(e){return 1-e.hsva.h/360}}class Xm extends rr.a{constructor(e,t,n,r){super(),this.model=t,this.pixelRatio=n,this._register(Object(kt.n)(()=>this.layout()));let d=fa(".colorpicker-widget");e.appendChild(d);let m=new $m(d,this.model,r);this.body=new Km(d,this.model,this.pixelRatio),this._register(m),this._register(this.body)}layout(){this.body.layout()}}function Mu(u,e,t){let n=I.p.ordered(u).map(r=>Promise.resolve(r.provideHover(u,e,t)).then(d=>d&&function(m){let O=m.range!==void 0,re=m.contents!==void 0&&m.contents&&m.contents.length>0;return O&&re}(d)?d:void 0,d=>{Object(Oe.f)(d)}));return Promise.all(n).then(ee.d)}Object($.p)("_executeHoverProvider",(u,e)=>Mu(u,e,On.a.None));class Pu{constructor(e,t,n,r,d){this._computer=e,this._state=0,this._hoverTime=d,this._firstWaitScheduler=new Bi.d(()=>this._triggerAsyncComputation(),0),this._secondWaitScheduler=new Bi.d(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new Bi.d(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=r}setHoverTime(e){this._hoverTime=e}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(Bi.f)(e=>this._computer.computeAsync(e)),this._asyncComputationPromise.then(e=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(e)},e=>this._onError(e))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){this._state===3&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(e){e&&this._computer.onResult(e,!1),this._state===3&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(e){this._completeCallback(e)}_onError(e){this._errorCallback?this._errorCallback(e):Object(Oe.e)(e)}_onProgress(e){this._progressCallback(e)}start(e){if(e===0)this._state===0&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),this._state===1&&this._firstWaitScheduler.cancel(),this._state===2&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state===3&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}o(315);let pd=ae.a;class Qm extends Lt.a{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new cd.a(this.contentsDomNode,{})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class Jm extends rr.a{constructor(e,t,n,r){super(),this._hoverVisibleKey=n,this._keybindingService=r,this.allowEditorOverflow=!0,this._hover=this._register(new Qm),this._id=e,this._editor=t,this._isVisible=!1,this._stoleFocus=!1,this.onkeydown(this._hover.containerDomNode,d=>{d.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(d=>{d.hasChanged(36)&&this.updateFont()})),this._editor.onDidLayoutChange(d=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,ae.ab(this._hover.containerDomNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._hover.containerDomNode}showAt(e,t,n){this._showAtPosition=e,this._showAtRange=t,this._hoverVisibleKey.set(!0),this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=n,n&&this._hover.containerDomNode.focus()}hide(){this.isVisible&&(setTimeout(()=>{this.isVisible||this._hoverVisibleKey.set(!1)},0),this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())}getPosition(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}dispose(){this._editor.removeContentWidget(this),super.dispose()}updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this.updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_renderAction(e,t){let n=this._keybindingService.lookupKeybinding(t.commandId);return function(r,d,m){let O=ae.p(r,pd("div.action-container")),re=ae.p(O,pd("a.action"));return re.setAttribute("href","#"),re.setAttribute("role","button"),d.iconClass&&ae.p(re,pd("span.icon."+d.iconClass)),ae.p(re,pd("span")).textContent=m?`${d.label} (${m})`:d.label,ae.i(O,ae.c.CLICK,oe=>{oe.stopPropagation(),oe.preventDefault(),d.run(O)})}(e,t,n?n.getLabel():null)}layout(){let e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:n}=this._editor.getOption(36);this._hover.contentsDomNode.style.fontSize=t+"px",this._hover.contentsDomNode.style.lineHeight=n+"px",this._hover.contentsDomNode.style.maxHeight=e+"px",this._hover.contentsDomNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"}}class eg extends rr.a{constructor(e,t){super(),this._id=e,this._editor=t,this._isVisible=!1,this._domNode=document.createElement("div"),this._domNode.className="monaco-hover hidden",this._domNode.setAttribute("aria-hidden","true"),this._domNode.setAttribute("role","tooltip"),this._showAtLineNumber=-1,this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(36)&&this.updateFont()})),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,ae.ab(this._domNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);let t=this._editor.getLayoutInfo(),n=this._editor.getTopForLineNumber(this._showAtLineNumber),r=this._editor.getScrollTop(),d=this._editor.getOption(51),m=n-r-(this._domNode.clientHeight-d)/2;this._domNode.style.left=t.glyphMarginLeft+t.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(m),0)+"px"}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){[...Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),...Array.prototype.slice.call(this._domNode.getElementsByClassName("code"))].forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()}}var Fu=o(165),Wu=o(195);let zu;(function u(e,t,n){function r(O,re){if(!t[O]){if(!e[O]){if(d)return d(O,!0);var oe=new Error("Cannot find module '"+O+"'");throw oe.code="MODULE_NOT_FOUND",oe}var ce=t[O]={exports:{}};e[O][0].call(ce.exports,function(Me){return r(e[O][1][Me]||Me)},ce,ce.exports,u,e,t,n)}return t[O].exports}for(var d=!1,m=0;m<n.length;m++)r(n[m]);return r})({1:[function(u,e,t){var n=u("./toMap");e.exports={uris:n(["background","base","cite","href","longdesc","src","usemap"])}},{"./toMap":10}],2:[function(u,e,t){e.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},{}],3:[function(u,e,t){var n=u("./toMap");e.exports={voids:n(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},{"./toMap":10}],4:[function(u,e,t){u("he");var n=u("assignment"),r=u("./parser"),d=u("./sanitizer"),m=u("./defaults");function O(re,oe,ce){var Me=[],Ct=ce===!0?oe:n({},m,oe),Ut=d(Me,Ct);return r(re,Ut),Me.join("")}O.defaults=m,e.exports=O,zu=O},{"./defaults":2,"./parser":7,"./sanitizer":8,assignment:6,he:9}],5:[function(u,e,t){e.exports=function(n){return typeof n=="string"?n.toLowerCase():n}},{}],6:[function(u,e,t){e.exports=function n(r){for(var d,m,O=Array.prototype.slice.call(arguments,1);O.length;)for(m in d=O.shift())d.hasOwnProperty(m)&&(Object.prototype.toString.call(r[m])==="[object Object]"?r[m]=n(r[m],d[m]):r[m]=d[m]);return r}},{}],7:[function(u,e,t){var n=u("he"),r=u("./lowercase"),d=(u("./attributes"),u("./elements")),m=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,O=/^<\s*\/\s*([\w:-]+)[^>]*>/,re=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,oe=/^</,ce=/^<\s*\//;e.exports=function(Me,Ct){for(var Ut,St=function(){var Ki=[];return Ki.lastItem=function(){return Ki[Ki.length-1]},Ki}(),di=Me;Me;)hi();function hi(){Ut=!0,function(){Me.substr(0,4)==="<!--"?(yn=Me.indexOf("-->"))>=0&&(Ct.comment&&Ct.comment(Me.substring(4,yn)),Me=Me.substring(yn+3),Ut=!1):ce.test(Me)?ji(O,dn):oe.test(Me)&&ji(m,Ji);var yn;(function(){if(!!Ut){var hn,Qi=Me.indexOf("<");Qi>=0?(hn=Me.substring(0,Qi),Me=Me.substring(Qi)):(hn=Me,Me=""),Ct.chars&&Ct.chars(hn)}})()}();var Ki=Me===di;di=Me,Ki&&(Me="")}function ji(Ki,yn){var hn=Me.match(Ki);hn&&(Me=Me.substring(hn[0].length),hn[0].replace(Ki,yn),Ut=!1)}function Ji(Ki,yn,hn,Qi){var fn={},$n=r(yn),bo=d.voids[$n]||!!Qi;hn.replace(re,function(zr,Xo,Tr,Qc,Jc){fn[Xo]=Tr===void 0&&Qc===void 0&&Jc===void 0?void 0:n.decode(Tr||Qc||Jc||"")}),bo||St.push($n),Ct.start&&Ct.start($n,fn,bo)}function dn(Ki,yn){var hn,Qi=0,fn=r(yn);if(fn)for(Qi=St.length-1;Qi>=0&&St[Qi]!==fn;Qi--);if(Qi>=0){for(hn=St.length-1;hn>=Qi;hn--)Ct.end&&Ct.end(St[hn]);St.length=Qi}}dn()}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(u,e,t){var n=u("he"),r=u("./lowercase"),d=u("./attributes"),m=u("./elements");e.exports=function(O,re){var oe,ce=re||{};return St(),{start:function(di,hi,ji){var Ji=r(di);if(oe.ignoring||(ce.allowedTags||[]).indexOf(Ji)===-1||ce.filter&&!ce.filter({tag:Ji,attrs:hi}))return void Ct(Ji);Me("<"),Me(Ji),Object.keys(hi).forEach(function(dn){var Ki=hi[dn],yn=(ce.allowedClasses||{})[Ji]||[],hn=(ce.allowedAttributes||{})[Ji]||[];hn=hn.concat((ce.allowedAttributes||{})["*"]||[]);var Qi=r(dn);(Qi==="class"&&hn.indexOf(Qi)===-1?(Ki=Ki.split(" ").filter(function(fn){return yn&&yn.indexOf(fn)!==-1}).join(" ").trim()).length:hn.indexOf(Qi)!==-1&&(d.uris[Qi]!==!0||function(fn){var $n=fn[0];if($n==="#"||$n==="/")return!0;var bo=fn.indexOf(":");if(bo===-1)return!0;var zr=fn.indexOf("?");if(zr!==-1&&bo>zr)return!0;var Xo=fn.indexOf("#");return Xo!==-1&&bo>Xo?!0:ce.allowedSchemes.some(function(Tr){return fn.indexOf(Tr+":")===0})}(Ki)))&&(Me(" "),Me(dn),typeof Ki=="string"&&(Me('="'),Me(n.encode(Ki)),Me('"')))}),Me(ji?"/>":">")},end:function(di){var hi=r(di);(ce.allowedTags||[]).indexOf(hi)!==-1&&oe.ignoring===!1?(Me("</"),Me(hi),Me(">")):Ut(hi)},chars:function(di){oe.ignoring===!1&&Me(ce.transformText?ce.transformText(di):di)}};function Me(di){O.push(di)}function Ct(di){m.voids[di]||(oe.ignoring===!1?oe={ignoring:di,depth:1}:oe.ignoring===di&&oe.depth++)}function Ut(di){oe.ignoring===di&&--oe.depth<=0&&St()}function St(){oe={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(u,e,t){var n={"&":"&","<":"<",">":">",'"':""","'":"'"},r={"&":"&","<":"<",">":">",""":'"',"'":"'"},d=/(&|<|>|"|')/g,m=/[&<>"']/g;function O(Me){return n[Me]}function re(Me){return r[Me]}function oe(Me){return Me==null?"":String(Me).replace(m,O)}function ce(Me){return Me==null?"":String(Me).replace(d,re)}oe.options=ce.options={},e.exports={encode:oe,escape:oe,decode:ce,unescape:ce,version:"1.0.0-browser"}},{}],10:[function(u,e,t){function n(r,d){return r[d]=!0,r}e.exports=function(r){return r.reduce(n,{})}},{}]},{},[4]);var tg=zu,ig=o(178),ng=o(69);function og(u,e={},t={}){var n;let r=Object(Fu.a)(e),d=function(St){let di;try{di=Object(ig.a)(decodeURIComponent(St))}catch(hi){}return di?(di=Object(Ln.b)(di,hi=>u.uris&&u.uris[hi]?Dn.a.revive(u.uris[hi]):void 0),encodeURIComponent(JSON.stringify(di))):St},m=function(St,di){let hi=u.uris&&u.uris[St];if(!hi)return St;let ji=Dn.a.revive(hi);return Dn.a.parse(St).toString()===ji.toString()?St:di?ae.r(ji).toString(!0):(ji.query&&(ji=ji.with({query:d(ji.query)})),ji.toString())},O,re=new Promise(St=>O=St),oe=new Wu.Renderer;oe.image=(St,di,hi)=>{let ji=[],Ji=[];if(St){({href:St,dimensions:ji}=function(dn){let Ki=[],yn=dn.split("|").map(Qi=>Qi.trim());dn=yn[0];let hn=yn[1];if(hn){let Qi=/height=(\d+)/.exec(hn),fn=/width=(\d+)/.exec(hn),$n=Qi?Qi[1]:"",bo=fn?fn[1]:"",zr=isFinite(parseInt(bo)),Xo=isFinite(parseInt($n));zr&&Ki.push(`width="${bo}"`),Xo&&Ki.push(`height="${$n}"`)}return{href:dn,dimensions:Ki}}(St)),St=m(St,!0);try{let dn=Dn.a.parse(St);e.baseUrl&&dn.scheme===M.b.file&&(St=Object(Be.k)(e.baseUrl,St).toString())}catch(dn){}Ji.push(`src="${St}"`)}return hi&&Ji.push(`alt="${hi}"`),di&&Ji.push(`title="${di}"`),ji.length&&(Ji=Ji.concat(ji)),"<img "+Ji.join(" ")+">"},oe.link=(St,di,hi)=>(St===hi&&(hi=Nt(hi)),St=m(St,!1),e.baseUrl&&(/^\w[\w\d+.-]*:/.test(St)||(St=Object(Be.k)(e.baseUrl,St).toString())),di=Nt(di),!(St=Nt(St))||St.match(/^data:|javascript:/i)||St.match(/^command:/i)&&!u.isTrusted||St.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?hi:`<a href="#" data-href="${St=St.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${di||St}">${hi}</a>`),oe.paragraph=St=>`<p>${u.supportThemeIcons?Object(de.f)(St):St}</p>`,e.codeBlockRenderer&&(oe.code=(St,di)=>{let hi=e.codeBlockRenderer(di,St),ji=Co.b.nextId(),Ji=Promise.all([hi,re]).then(dn=>{let Ki=dn[0],yn=r.querySelector(`div[data-code="${ji}"]`);yn&&(yn.innerHTML=Ki)}).catch(dn=>{});return e.codeBlockRenderCallback&&Ji.then(e.codeBlockRenderCallback),`<div class="code" data-code="${ji}">${Object(on.u)(St)}</div>`});let ce=e.actionHandler;ce&&[ae.c.CLICK,ae.c.AUXCLICK].forEach(St=>{ce.disposeables.add(ae.i(r,St,di=>{let hi=new ng.a(di);if(!hi.leftButton&&!hi.middleButton)return;let ji=hi.target;if(ji.tagName==="A"||(ji=ji.parentElement,ji&&ji.tagName==="A"))try{let Ji=ji.dataset.href;Ji&&ce.callback(Ji,hi)}catch(Ji){Object(Oe.e)(Ji)}finally{hi.preventDefault()}}))}),t.sanitizer=St=>(u.isTrusted?St.match(/^(<span[^<]+>)|(<\/\s*span>)$/):void 0)?St:"",t.sanitize=!0,t.renderer=oe;let Me=[M.b.http,M.b.https,M.b.mailto,M.b.data,M.b.file,M.b.vscodeRemote,M.b.vscodeRemoteResource];u.isTrusted&&Me.push(M.b.command);let Ct=(n=u.value)!==null&&n!==void 0?n:"";Ct.length>1e5&&(Ct=Ct.substr(0,1e5)+"\u2026");let Ut=Wu.parse(u.supportThemeIcons?Object(de.d)(Ct):Ct,t);return r.innerHTML=tg(Ut,{allowedSchemes:Me,allowedTags:["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],allowedAttributes:{a:["href","name","target","data-href"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class","style"],th:["align"],td:["align"]},filter:function(St){return St.tag!=="span"||!u.isTrusted||Object.keys(St.attrs).length!==1||(St.attrs.style?!!St.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/):!!St.attrs.class&&!!St.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-animation-[a-z\-]+)?$/))}}),O(),r}var Bu=o(182),rg=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},ju=function(u,e){return function(t,n){e(t,n,u)}};let ac=class extends Lt.a{constructor(u,e,t=ga.b){super(),this._editor=u,this._modeService=e,this._openerService=t,this._onDidRenderCodeBlock=this._register(new rt.a),this.onDidRenderCodeBlock=this._onDidRenderCodeBlock.event}getOptions(u){return{codeBlockRenderer:(e,t)=>{let n=null;if(e)n=this._modeService.getModeIdForLanguageName(e);else{let r=this._editor.getModel();r&&(n=r.getLanguageIdentifier().language)}return this._modeService.triggerMode(n||""),Promise.resolve(!0).then(r=>{let d=I.C.getPromise(n||"");return d?d.then(m=>Object(Bu.b)(t,m)):Object(Bu.b)(t,void 0)}).then(r=>`<span style="font-family: ${this._editor.getOption(36).fontFamily}">${r}</span>`)},codeBlockRenderCallback:()=>this._onDidRenderCodeBlock.fire(),actionHandler:{callback:e=>{this._openerService.open(e,{fromUserGesture:!0}).catch(Oe.e)},disposeables:u}}}render(u){let e=new Lt.b,t;return t=u?og(u,this.getOptions(e)):document.createElement("span"),{element:t,dispose:()=>e.dispose()}}};ac=rg([ju(1,nl.a),ju(2,Object(X.d)(ga.a))],ac);let Wr=ae.a;class lc{constructor(e,t,n){this.range=e,this.color=t,this.provider=n}}class cc{constructor(e,t){this.range=e,this.marker=t}}class sg{constructor(e,t){this._markerDecorationsService=t,this._editor=e,this._result=[]}setRange(e){this._range=e,this._result=[]}clearResult(){this._result=[]}computeAsync(e){if(!this._editor.hasModel()||!this._range)return Promise.resolve([]);let t=this._editor.getModel();return I.p.has(t)?Mu(t,new Di.a(this._range.startLineNumber,this._range.startColumn),e):Promise.resolve([])}computeSync(){if(!this._editor.hasModel()||!this._range)return[];let e=this._editor.getModel(),t=this._range.startLineNumber;if(t>this._editor.getModel().getLineCount())return[];let n=Ko.get(this._editor),r=e.getLineMaxColumn(t),d=this._editor.getLineDecorations(t),m=!1,O=this._range,re=d.map(oe=>{let ce=oe.range.startLineNumber===t?oe.range.startColumn:1,Me=oe.range.endLineNumber===t?oe.range.endColumn:r;if(ce>O.startColumn||O.endColumn>Me)return null;let Ct=new gt.a(O.startLineNumber,ce,O.startLineNumber,Me),Ut=this._markerDecorationsService.getMarker(e,oe);if(Ut)return new cc(Ct,Ut);let St=n.getColorData(oe.range.getStartPosition());if(!m&&St){m=!0;let{color:di,range:hi}=St.colorInfo;return new lc(hi,di,St.provider)}return pt(oe.options.hoverMessage)?null:{contents:oe.options.hoverMessage?Object(ee.b)(oe.options.hoverMessage):[],range:Ct}});return Object(ee.d)(re)}onResult(e,t){this._result=t?e.concat(this._result.sort((n,r)=>n instanceof lc?-1:r instanceof lc?1:0)):this._result.concat(e)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){return this._result.slice(0).concat([this._getLoadingMessage()])}_getLoadingMessage(){return{range:this._range,contents:[new $e().appendText(G.a("modesContentHover.loading","Loading..."))]}}}let Vu={type:2,filter:{include:_e.QuickFix}};class rl extends Jm{constructor(e,t,n,r,d,m,O=ga.b){super(rl.ID,e,t,r),this._themeService=d,this._modeService=m,this._openerService=O,this.renderDisposable=this._register(new Lt.d),this._messages=[],this._lastRange=null,this._computer=new sg(this._editor,n),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new Pu(this._computer,re=>this._withResult(re,!0),null,re=>this._withResult(re,!1),this._editor.getOption(46).delay),this._register(ae.n(this.getDomNode(),ae.c.FOCUS,()=>{this._colorPicker&&ae.e(this.getDomNode(),"colorpicker-hover")})),this._register(ae.n(this.getDomNode(),ae.c.BLUR,()=>{ae.Q(this.getDomNode(),"colorpicker-hover")})),this._register(e.onDidChangeConfiguration(re=>{this._hoverOperation.setHoverTime(this._editor.getOption(46).delay)})),this._register(I.C.onDidChange(re=>{this.isVisible&&this._lastRange&&this._messages.length>0&&(this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastRange,this._messages))}))}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAt(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){let r=[];for(let d=0,m=this._messages.length;d<m;d++){let O=this._messages[d],re=O.range;re&&re.startColumn<=e.startColumn&&re.endColumn>=e.endColumn&&r.push(O)}if(r.length>0){if(function(d,m){if(!d&&m||d&&!m||d.length!==m.length)return!1;for(let oe=0;oe<d.length;oe++){let ce=d[oe],Me=m[oe];if(ce instanceof cc&&Me instanceof cc)return ve.a.makeKey(ce.marker)===ve.a.makeKey(Me.marker);if(ce instanceof lc||Me instanceof lc||ce instanceof cc||Me instanceof cc||(O=ce.contents,re=Me.contents,!(!O&&!re||O&&re&&(Array.isArray(O)&&Array.isArray(re)?Object(ee.g)(O,re,At):it(O)&&it(re)&&At(O,re)))))return!1}var O,re;return!0}(r,this._messages))return;this._renderMessages(e,r)}else this.hide()}else this.hide();this._lastRange=e,this._computer.setRange(e),this._shouldFocus=n,this._hoverOperation.start(t)}}hide(){this._lastRange=null,this._hoverOperation.cancel(),super.hide(),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}_withResult(e,t){this._messages=e,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()}_renderMessages(e,t){this.renderDisposable.dispose(),this._colorPicker=null;let n=1073741824,r=t[0].range?gt.a.lift(t[0].range):null,d=document.createDocumentFragment(),m=!0,O=!1,re=new Lt.b,oe=[];if(t.forEach(ce=>{if(ce.range)if(n=Math.min(n,ce.range.startColumn),r=r?gt.a.plusRange(r,ce.range):gt.a.lift(ce.range),ce instanceof lc){O=!0;let{red:Me,green:Ct,blue:Ut,alpha:St}=ce.color,di=new Kn.c(Math.round(255*Me),Math.round(255*Ct),Math.round(255*Ut),St),hi=new Kn.a(di);if(!this._editor.hasModel())return;let ji=this._editor.getModel(),Ji=new gt.a(ce.range.startLineNumber,ce.range.startColumn,ce.range.endLineNumber,ce.range.endColumn),dn={range:ce.range,color:ce.color},Ki=new qm(hi,[],0),yn=new Xm(d,Ki,this._editor.getOption(115),this._themeService);cr(ji,dn,ce.provider,On.a.None).then(hn=>{if(Ki.colorPresentations=hn||[],!this._editor.hasModel())return;let Qi=this._editor.getModel().getValueInRange(ce.range);Ki.guessColorPresentation(hi,Qi);let fn=()=>{let Xo,Tr;Ki.presentation.textEdit?(Xo=[Ki.presentation.textEdit],Tr=new gt.a(Ki.presentation.textEdit.range.startLineNumber,Ki.presentation.textEdit.range.startColumn,Ki.presentation.textEdit.range.endLineNumber,Ki.presentation.textEdit.range.endColumn),Tr=Tr.setEndPosition(Tr.endLineNumber,Tr.startColumn+Ki.presentation.textEdit.text.length)):(Xo=[{identifier:null,range:Ji,text:Ki.presentation.label,forceMoveMarkers:!1}],Tr=Ji.setEndPosition(Ji.endLineNumber,Ji.startColumn+Ki.presentation.label.length)),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",Xo),Ki.presentation.additionalTextEdits&&(Xo=[...Ki.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",Xo),this.hide()),this._editor.pushUndoStop(),Ji=Tr},$n=Xo=>cr(ji,{range:Ji,color:{red:Xo.rgba.r/255,green:Xo.rgba.g/255,blue:Xo.rgba.b/255,alpha:Xo.rgba.a}},ce.provider,On.a.None).then(Tr=>{Ki.colorPresentations=Tr||[]}),bo=Ki.onColorFlushed(Xo=>{$n(Xo).then(fn)}),zr=Ki.onDidChangeColor($n);this._colorPicker=yn,this.showAt(Ji.getStartPosition(),Ji,this._shouldFocus),this.updateContents(d),this._colorPicker.layout(),this.renderDisposable.value=Object(Lt.e)(bo,zr,yn,re)})}else ce instanceof cc?(oe.push(ce),m=!1):ce.contents.filter(Me=>!pt(Me)).forEach(Me=>{let Ct=Wr("div.hover-row.markdown-hover"),Ut=ae.p(Ct,Wr("div.hover-contents")),St=re.add(new ac(this._editor,this._modeService,this._openerService));re.add(St.onDidRenderCodeBlock(()=>{Ut.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));let di=re.add(St.render(Me));Ut.appendChild(di.element),d.appendChild(Ct),m=!1})}),oe.length){oe.forEach(Me=>d.appendChild(this.renderMarkerHover(Me)));let ce=oe.length===1?oe[0]:oe.sort((Me,Ct)=>ve.c.compare(Me.marker.severity,Ct.marker.severity))[0];d.appendChild(this.renderMarkerStatusbar(ce))}O||m||(this.showAt(new Di.a(e.startLineNumber,n),r,this._shouldFocus),this.updateContents(d)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,r?[{range:r,options:rl._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}renderMarkerHover(e){let t=Wr("div.hover-row"),n=ae.p(t,Wr("div.marker.hover-contents")),{source:r,message:d,code:m,relatedInformation:O}=e.marker;this._editor.applyFontInfo(n);let re=ae.p(n,Wr("span"));if(re.style.whiteSpace="pre-wrap",re.innerText=d,r||m)if(m&&typeof m!="string"){let oe=Wr("span");r&&(ae.p(oe,Wr("span")).innerText=r),this._codeLink=ae.p(oe,Wr("a.code-link")),this._codeLink.setAttribute("href",m.target.toString()),this._codeLink.onclick=Me=>{this._openerService.open(m.target),Me.preventDefault(),Me.stopPropagation()},ae.p(this._codeLink,Wr("span")).innerText=m.value;let ce=ae.p(n,oe);ce.style.opacity="0.6",ce.style.paddingLeft="6px"}else{let oe=ae.p(n,Wr("span"));oe.style.opacity="0.6",oe.style.paddingLeft="6px",oe.innerText=r&&m?`${r}(${m})`:r||`(${m})`}if(Object(ee.o)(O))for(let{message:oe,resource:ce,startLineNumber:Me,startColumn:Ct}of O){let Ut=ae.p(n,Wr("div"));Ut.style.marginTop="8px";let St=ae.p(Ut,Wr("a"));St.innerText=`${Object(Be.b)(ce)}(${Me}, ${Ct}): `,St.style.cursor="pointer",St.onclick=hi=>{hi.stopPropagation(),hi.preventDefault(),this._openerService&&this._openerService.open(ce.with({fragment:`${Me},${Ct}`}),{fromUserGesture:!0}).catch(Oe.e)};let di=ae.p(Ut,Wr("span"));di.innerText=oe,this._editor.applyFontInfo(di)}return t}renderMarkerStatusbar(e){let t=Wr("div.hover-row.status-bar"),n=new Lt.b,r=ae.p(t,Wr("div.actions"));if(e.marker.severity!==ve.c.Error&&e.marker.severity!==ve.c.Warning&&e.marker.severity!==ve.c.Info||n.add(this._renderAction(r,{label:G.a("peek problem","Peek Problem"),commandId:za.ID,run:()=>{this.hide(),ol.get(this._editor).showAtMarker(e.marker),this._editor.focus()}})),!this._editor.getOption(72)){let d=ae.p(r,Wr("div"));d.style.opacity="0",d.style.transition="opacity 0.2s",setTimeout(()=>d.style.opacity="1",200),d.textContent=G.a("checkingForQuickFixes","Checking for quick fixes..."),n.add(Object(Lt.h)(()=>d.remove()));let m=this.getCodeActions(e.marker);n.add(Object(Lt.h)(()=>m.cancel())),m.then(O=>{if(d.style.transition="",d.style.opacity="1",!O.validActions.length)return O.dispose(),void(d.textContent=G.a("noQuickFixes","No quick fixes available"));d.remove();let re=!1;n.add(Object(Lt.h)(()=>{re||O.dispose()})),n.add(this._renderAction(r,{label:G.a("quick fixes","Quick Fix..."),commandId:ei.Id,run:oe=>{re=!0;let ce=qi.get(this._editor),Me=ae.C(oe);this.hide(),ce.showCodeActions(Vu,O,{x:Me.left+6,y:Me.top+Me.height+6})}}))})}return this.renderDisposable.value=n,t}getCodeActions(e){return Object(Bi.f)(t=>Ht(this._editor.getModel(),new gt.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Vu,ot.b.None,t))}}rl.ID="editor.contrib.modesContentHoverWidget",rl._DECORATION_OPTIONS=Rt.a.register({className:"hoverHighlight"}),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.rc);t&&e.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${t}; }`)});class ag{constructor(e){this._editor=e,this._lineNumber=-1,this._result=[]}setLineNumber(e){this._lineNumber=e,this._result=[]}clearResult(){this._result=[]}computeSync(){let e=r=>({value:r}),t=this._editor.getLineDecorations(this._lineNumber),n=[];if(!t)return n;for(let r of t){if(!r.options.glyphMarginClassName)continue;let d=r.options.glyphMarginHoverMessage;d&&!pt(d)&&n.push(...Object(ee.b)(d).map(e))}return n}onResult(e,t){this._result=this._result.concat(e)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class Al extends eg{constructor(e,t,n=ga.b){super(Al.ID,e),this._renderDisposeables=this._register(new Lt.b),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new ac(this._editor,t,n)),this._computer=new ag(this._editor),this._hoverOperation=new Pu(this._computer,r=>this._withResult(r),void 0,r=>this._withResult(r),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();let n=document.createDocumentFragment();for(let r of t){let d=this._markdownRenderer.render(r.value);this._renderDisposeables.add(d),n.appendChild(Object(ae.a)("div.hover-row",void 0,d.element))}this.updateContents(n),this.showAt(e)}}Al.ID="editor.contrib.modesGlyphHoverWidget";var lg=o(192),cg=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},dc=function(u,e){return function(t,n){e(t,n,u)}};let Rl=class fm{constructor(e,t,n,r,d,m,O){this._editor=e,this._openerService=t,this._modeService=n,this._markerDecorationsService=r,this._keybindingService=d,this._themeService=m,this._toUnhook=new Lt.b,this._contentWidget=new Lt.d,this._glyphWidget=new Lt.d,this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(re=>{re.hasChanged(46)&&(this._hideWidgets(),this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=z.a.hoverVisible.bindTo(O)}get contentWidget(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value}get glyphWidget(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value}static get(e){return e.getContribution(fm.ID)}_hookEvents(){let e=()=>this._hideWidgets(),t=this._editor.getOption(46);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(n=>this._onEditorMouseDown(n))),this._toUnhook.add(this._editor.onMouseUp(n=>this._onEditorMouseUp(n))),this._toUnhook.add(this._editor.onMouseMove(n=>this._onEditorMouseMove(n))),this._toUnhook.add(this._editor.onKeyDown(n=>this._onKeyDown(n))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(e)),this._toUnhook.add(this._editor.onKeyDown(n=>this._onKeyDown(n)))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange(n=>this._onEditorScrollChanged(n)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;let t=e.target.type;t!==9||e.target.detail!==rl.ID?t===12&&e.target.detail===Al.ID||(t!==12&&e.target.detail!==Al.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){let t=e.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible()||this._isHoverSticky&&t===9&&e.target.detail===rl.ID||this._isHoverSticky&&t===12&&e.target.detail===Al.ID)){if(t===7){let n=this._editor.getOption(36).typicalHalfwidthCharacterWidth/2,r=e.target.detail;r&&!r.isAfterLines&&typeof r.horizontalDistanceToText=="number"&&r.horizontalDistanceToText<n&&(t=6)}t===6?(this.glyphWidget.hide(),this._isHoverEnabled&&e.target.range&&this.contentWidget.startShowingAt(e.target.range,0,!1)):t===2?(this.contentWidget.hide(),this._isHoverEnabled&&e.target.position&&this.glyphWidget.startShowingAt(e.target.position.lineNumber)):this._hideWidgets()}}_onKeyDown(e){e.keyCode!==5&&e.keyCode!==6&&e.keyCode!==57&&e.keyCode!==4&&this._hideWidgets()}_hideWidgets(){!this._glyphWidget.value||!this._contentWidget.value||this._isMouseDown&&this._hoverClicked&&this._contentWidget.value.isColorPickerVisible()||(this._glyphWidget.value.hide(),this._contentWidget.value.hide())}_createHoverWidgets(){this._contentWidget.value=new rl(this._editor,this._hoverVisibleKey,this._markerDecorationsService,this._keybindingService,this._themeService,this._modeService,this._openerService),this._glyphWidget.value=new Al(this._editor,this._modeService,this._openerService)}showContentHover(e,t,n){this.contentWidget.startShowingAt(e,t,n)}dispose(){this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),this._glyphWidget.dispose(),this._contentWidget.dispose()}};Rl.ID="editor.contrib.hover",Rl=cg([dc(1,ga.a),dc(2,nl.a),dc(3,lg.a),dc(4,Dt.a),dc(5,ut.c),dc(6,A.b)],Rl);class dg extends $.b{constructor(){super({id:"editor.action.showHover",label:G.a({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2087),weight:100}})}run(e,t){if(!t.hasModel())return;let n=Rl.get(t);if(!n)return;let r=t.getPosition(),d=new gt.a(r.lineNumber,r.column,r.lineNumber,r.column),m=t.getOption(2)===2;n.showContentHover(d,1,m)}}class hg extends $.b{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:G.a({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let n=Rl.get(t);if(!n)return;let r=t.getPosition();if(!r)return;let d=new gt.a(r.lineNumber,r.column,r.lineNumber,r.column),m=Dl.get(t).startFindDefinitionFromCursor(r);m?m.then(()=>{n.showContentHover(d,1,!0)}):n.showContentHover(d,1,!0)}}Object($.m)(Rl.ID,Rl),Object($.k)(dg),Object($.k)(hg),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.H);t&&e.addRule(`.monaco-editor .hoverHighlight { background-color: ${t}; }`);let n=u.getColor(Ue.E);n&&e.addRule(`.monaco-editor .monaco-hover { background-color: ${n}; }`);let r=u.getColor(Ue.F);r&&(e.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${r}; }`),e.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${r.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${r.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${r.transparent(.5)}; }`));let d=u.getColor(Ue.rc);d&&e.addRule(`.monaco-editor .monaco-hover a { color: ${d}; }`);let m=u.getColor(Ue.G);m&&e.addRule(`.monaco-editor .monaco-hover { color: ${m}; }`);let O=u.getColor(Ue.I);O&&e.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${O}; }`);let re=u.getColor(Ue.qc);re&&e.addRule(`.monaco-editor .monaco-hover code { background-color: ${re}; }`)});var hc=o(130);function Xr(u,e){let t=0;for(let n=0;n<u.length;n++)u.charAt(n)===" "?t+=e:t++;return t}function Mc(u,e,t){u=u<0?0:u;let n="";if(!t){let r=Math.floor(u/e);u%=e;for(let d=0;d<r;d++)n+=" "}for(let r=0;r<u;r++)n+=" ";return n}function Uu(u,e,t,n){if(u.getLineCount()===1&&u.getLineMaxColumn(1)===1)return[];let r=Oo.a.getIndentationRules(u.getLanguageIdentifier().id);if(!r)return[];for(t=Math.min(t,u.getLineCount());e<=t&&r.unIndentedLinePattern;){let di=u.getLineContent(e);if(!r.unIndentedLinePattern.test(di))break;e++}if(e>t-1)return[];let{tabSize:d,indentSize:m,insertSpaces:O}=u.getOptions(),re=(di,hi)=>(hi=hi||1,hc.a.shiftIndent(di,di.length+hi,d,m,O)),oe=(di,hi)=>(hi=hi||1,hc.a.unshiftIndent(di,di.length+hi,d,m,O)),ce,Me=[],Ct=u.getLineContent(e),Ut=Ct;if(n!=null){ce=n;let di=on.z(Ct);Ut=ce+Ct.substring(di.length),r.decreaseIndentPattern&&r.decreaseIndentPattern.test(Ut)&&(ce=oe(ce),Ut=ce+Ct.substring(di.length)),Ct!==Ut&&Me.push(Cn.a.replace(new J.a(e,1,e,di.length+1),Rt.b.normalizeIndentation(ce,m,O)))}else ce=on.z(Ct);let St=ce;r.increaseIndentPattern&&r.increaseIndentPattern.test(Ut)?(St=re(St),ce=re(ce)):r.indentNextLinePattern&&r.indentNextLinePattern.test(Ut)&&(St=re(St));for(let di=++e;di<=t;di++){let hi=u.getLineContent(di),ji=on.z(hi),Ji=St+hi.substring(ji.length);r.decreaseIndentPattern&&r.decreaseIndentPattern.test(Ji)&&(St=oe(St),ce=oe(ce)),ji!==St&&Me.push(Cn.a.replace(new J.a(di,1,di,ji.length+1),Rt.b.normalizeIndentation(St,m,O))),r.unIndentedLinePattern&&r.unIndentedLinePattern.test(hi)||(r.increaseIndentPattern&&r.increaseIndentPattern.test(Ji)?(ce=re(ce),St=ce):St=r.indentNextLinePattern&&r.indentNextLinePattern.test(Ji)?re(St):ce)}return Me}class md extends $.b{constructor(){super({id:md.ID,label:G.a("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:z.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let r=n.getOptions(),d=t.getSelection();if(!d)return;let m=new gg(d,r.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[m]),t.pushUndoStop(),n.updateOptions({insertSpaces:!0})}}md.ID="editor.action.indentationToSpaces";class gd extends $.b{constructor(){super({id:gd.ID,label:G.a("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:z.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let r=n.getOptions(),d=t.getSelection();if(!d)return;let m=new fg(d,r.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[m]),t.pushUndoStop(),n.updateOptions({insertSpaces:!1})}}gd.ID="editor.action.indentationToTabs";class Hu extends $.b{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){let n=e.get(Ho.a),r=e.get(ne.a),d=t.getModel();if(!d)return;let m=r.getCreationOptions(d.getLanguageIdentifier().language,d.uri,d.isForSimpleWidget),O=[1,2,3,4,5,6,7,8].map(oe=>({id:oe.toString(),label:oe.toString(),description:oe===m.tabSize?G.a("configuredTabSize","Configured Tab Size"):void 0})),re=Math.min(d.getOptions().tabSize-1,7);setTimeout(()=>{n.pick(O,{placeHolder:G.a({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:O[re]}).then(oe=>{oe&&d&&!d.isDisposed()&&d.updateOptions({tabSize:parseInt(oe.label,10),insertSpaces:this.insertSpaces})})},50)}}class fd extends Hu{constructor(){super(!1,{id:fd.ID,label:G.a("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}fd.ID="editor.action.indentUsingTabs";class bd extends Hu{constructor(){super(!0,{id:bd.ID,label:G.a("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}bd.ID="editor.action.indentUsingSpaces";class _d extends $.b{constructor(){super({id:_d.ID,label:G.a("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){let n=e.get(ne.a),r=t.getModel();if(!r)return;let d=n.getCreationOptions(r.getLanguageIdentifier().language,r.uri,r.isForSimpleWidget);r.detectIndentation(d.insertSpaces,d.tabSize)}}_d.ID="editor.action.detectIndentation";class ug extends $.b{constructor(){super({id:"editor.action.reindentlines",label:G.a("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:z.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let r=Uu(n,1,n.getLineCount());r.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop())}}class pg extends $.b{constructor(){super({id:"editor.action.reindentselectedlines",label:G.a("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:z.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let r=t.getSelections();if(r===null)return;let d=[];for(let m of r){let O=m.startLineNumber,re=m.endLineNumber;if(O!==re&&m.endColumn===1&&re--,O===1){if(O===re)continue}else O--;let oe=Uu(n,O,re);d.push(...oe)}d.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,d),t.pushUndoStop())}}class mg{constructor(e,t){this._initialSelection=t,this._edits=[],this._selectionId=null;for(let n of e)n.range&&typeof n.text=="string"&&this._edits.push(n)}getEditOperations(e,t){for(let r of this._edits)t.addEditOperation(gt.a.lift(r.range),r.text);let n=!1;Array.isArray(this._edits)&&this._edits.length===1&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),n||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class vh{constructor(e){this.callOnDispose=new Lt.b,this.callOnModel=new Lt.b,this.editor=e,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),this.editor.getOption(8)<4||this.editor.getOption(40)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(t===null||t.length>1)return;let n=this.editor.getModel();if(!n||!n.isCheapToTokenize(e.getStartPosition().lineNumber))return;let r=this.editor.getOption(8),{tabSize:d,indentSize:m,insertSpaces:O}=n.getOptions();this.editor.pushUndoStop();let re=[],oe={shiftIndent:St=>hc.a.shiftIndent(St,St.length+1,d,m,O),unshiftIndent:St=>hc.a.unshiftIndent(St,St.length+1,d,m,O)},ce=e.startLineNumber;for(;ce<=e.endLineNumber&&this.shouldIgnoreLine(n,ce);)ce++;if(ce>e.endLineNumber)return;let Me=n.getLineContent(ce);if(!/\S/.test(Me.substring(0,e.startColumn-1))){let St=Oo.a.getGoodIndentForLine(r,n,n.getLanguageIdentifier().id,ce,oe);if(St!==null){let di=on.z(Me),hi=Xr(St,d);if(hi!==Xr(di,d)){let ji=Mc(hi,d,O);re.push({range:new gt.a(ce,1,ce,di.length+1),text:ji}),Me=ji+Me.substr(di.length)}else{let ji=Oo.a.getIndentMetadata(n,ce);if(ji===0||ji===8)return}}}let Ct=ce;for(;ce<e.endLineNumber&&!/\S/.test(n.getLineContent(ce+1));)ce++;if(ce!==e.endLineNumber){let St={getLineTokens:hi=>n.getLineTokens(hi),getLanguageIdentifier:()=>n.getLanguageIdentifier(),getLanguageIdAtPosition:(hi,ji)=>n.getLanguageIdAtPosition(hi,ji),getLineContent:hi=>hi===Ct?Me:n.getLineContent(hi)},di=Oo.a.getGoodIndentForLine(r,St,n.getLanguageIdentifier().id,ce+1,oe);if(di!==null){let hi=Xr(di,d),ji=Xr(on.z(n.getLineContent(ce+1)),d);if(hi!==ji){let Ji=hi-ji;for(let dn=ce+1;dn<=e.endLineNumber;dn++){let Ki=n.getLineContent(dn),yn=on.z(Ki),hn=Mc(Xr(yn,d)+Ji,d,O);hn!==yn&&re.push({range:new gt.a(dn,1,dn,yn.length+1),text:hn})}}}}let Ut=new mg(re,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",Ut),this.editor.pushUndoStop()}shouldIgnoreLine(e,t){e.forceTokenization(t);let n=e.getLineFirstNonWhitespaceColumn(t);if(n===0)return!0;let r=e.getLineTokens(t);if(r.getCount()>0){let d=r.findTokenIndexAtOffset(n);if(d>=0&&r.getStandardTokenType(d)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}}function qu(u,e,t,n){if(u.getLineCount()===1&&u.getLineMaxColumn(1)===1)return;let r="";for(let m=0;m<t;m++)r+=" ";let d=new RegExp(r,"gi");for(let m=1,O=u.getLineCount();m<=O;m++){let re=u.getLineFirstNonWhitespaceColumn(m);if(re===0&&(re=u.getLineMaxColumn(m)),re===1)continue;let oe=new gt.a(m,1,m,re),ce=u.getValueInRange(oe),Me=n?ce.replace(/\t/gi,r):ce.replace(d," ");e.addEditOperation(oe,Me)}}vh.ID="editor.contrib.autoIndentOnPaste";class gg{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),qu(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class fg{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),qu(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}Object($.m)(vh.ID,vh),Object($.k)(md),Object($.k)(gd),Object($.k)(fd),Object($.k)(bd),Object($.k)(_d),Object($.k)(ug),Object($.k)(pg);class bg{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new J.a(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new J.a(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}var _g=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},vg=function(u,e){return function(t,n){e(t,n,u)}};let sl=class tu{constructor(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}static get(e){return e.getContribution(tu.ID)}dispose(){}run(e,t){this.currentRequest&&this.currentRequest.cancel();let n=this.editor.getSelection(),r=this.editor.getModel();if(!r||!n)return;let d=n;if(d.startLineNumber!==d.endLineNumber)return;let m=new qt.a(this.editor,5),O=r.uri;return this.editorWorkerService.canNavigateValueSet(O)?(this.currentRequest=Object(Bi.f)(re=>this.editorWorkerService.navigateValueSet(O,d,t)),this.currentRequest.then(re=>{if(!re||!re.range||!re.value||!m.validate(this.editor))return;let oe=gt.a.lift(re.range),ce=re.range,Me=re.value.length-(d.endColumn-d.startColumn);ce={startLineNumber:ce.startLineNumber,startColumn:ce.startColumn,endLineNumber:ce.endLineNumber,endColumn:ce.startColumn+re.value.length},Me>1&&(d=new J.a(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn+Me-1));let Ct=new bg(oe,d,re.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,Ct),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:ce,options:tu.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=Object(Bi.l)(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(Oe.e)}).catch(Oe.e)):Promise.resolve(void 0)}};sl.ID="editor.contrib.inPlaceReplaceController",sl.DECORATION=Rt.a.register({className:"valueSetReplacement"}),sl=_g([vg(1,Rs.a)],sl);class wg extends $.b{constructor(){super({id:"editor.action.inPlaceReplace.up",label:G.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3154,weight:100}})}run(e,t){let n=sl.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}}class yg extends $.b{constructor(){super({id:"editor.action.inPlaceReplace.down",label:G.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3156,weight:100}})}run(e,t){let n=sl.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}}Object($.m)(sl.ID,sl),Object($.k)(wg),Object($.k)(yg),Object(ut.g)((u,e)=>{let t=u.getColor(vt.d);t&&e.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${t}; }`)});class Cg{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){let n=function(r,d){d.sort((ce,Me)=>ce.lineNumber===Me.lineNumber?ce.column-Me.column:ce.lineNumber-Me.lineNumber);for(let ce=d.length-2;ce>=0;ce--)d[ce].lineNumber===d[ce+1].lineNumber&&d.splice(ce,1);let m=[],O=0,re=0,oe=d.length;for(let ce=1,Me=r.getLineCount();ce<=Me;ce++){let Ct=r.getLineContent(ce),Ut=Ct.length+1,St=0;if(re<oe&&d[re].lineNumber===ce&&(St=d[re].column,re++,St===Ut)||Ct.length===0)continue;let di=on.J(Ct),hi=0;if(di===-1)hi=1;else{if(di===Ct.length-1)continue;hi=di+2}hi=Math.max(St,hi),m[O++]=Cn.a.delete(new gt.a(ce,hi,ce,Ut))}return m}(e,this._cursors);for(let r=0,d=n.length;r<d;r++){let m=n[r];t.addEditOperation(m.range,m.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}var wh=o(126);class $u{constructor(e,t){this._selection=e,this._isCopyingDown=t,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let n=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,n.startLineNumber<n.endLineNumber&&n.endColumn===1&&(this._endLineNumberDelta=1,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));let r=[];for(let m=n.startLineNumber;m<=n.endLineNumber;m++)r.push(e.getLineContent(m));let d=r.join(` +`);d===""&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._isCopyingDown?t.addEditOperation(new gt.a(n.startLineNumber,1,n.startLineNumber,1),d+` +`):t.addEditOperation(new gt.a(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),` +`+d),this._selectionId=t.trackSelection(n),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let r=n.startLineNumber,d=n.startColumn,m=n.endLineNumber,O=n.endColumn;this._startLineNumberDelta!==0&&(r+=this._startLineNumberDelta,d=1),this._endLineNumberDelta!==0&&(m+=this._endLineNumberDelta,O=1),n=J.a.createWithDirection(r,d,m,O,this._selectionDirection)}return n}}var vd=o(75);class xg{constructor(e,t,n){this._selection=e,this._isMovingDown=t,this._autoIndent=n,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(e,t){let n=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===n)return void(this._selectionId=t.trackSelection(this._selection));if(!this._isMovingDown&&this._selection.startLineNumber===1)return void(this._selectionId=t.trackSelection(this._selection));this._moveEndPositionDown=!1;let r=this._selection;r.startLineNumber<r.endLineNumber&&r.endColumn===1&&(this._moveEndPositionDown=!0,r=r.setEndPosition(r.endLineNumber-1,e.getLineMaxColumn(r.endLineNumber-1)));let{tabSize:d,indentSize:m,insertSpaces:O}=e.getOptions(),re=this.buildIndentConverter(d,m,O),oe={getLineTokens:ce=>e.getLineTokens(ce),getLanguageIdentifier:()=>e.getLanguageIdentifier(),getLanguageIdAtPosition:(ce,Me)=>e.getLanguageIdAtPosition(ce,Me),getLineContent:null};if(r.startLineNumber===r.endLineNumber&&e.getLineMaxColumn(r.startLineNumber)===1){let ce=r.startLineNumber,Me=this._isMovingDown?ce+1:ce-1;e.getLineMaxColumn(Me)===1?t.addEditOperation(new gt.a(1,1,1,1),null):(t.addEditOperation(new gt.a(ce,1,ce,1),e.getLineContent(Me)),t.addEditOperation(new gt.a(Me,1,Me,e.getLineMaxColumn(Me)),null)),r=new J.a(Me,1,Me,1)}else{let ce,Me;if(this._isMovingDown){ce=r.endLineNumber+1,Me=e.getLineContent(ce),t.addEditOperation(new gt.a(ce-1,e.getLineMaxColumn(ce-1),ce,e.getLineMaxColumn(ce)),null);let Ct=Me;if(this.shouldAutoIndent(e,r)){let Ut=this.matchEnterRule(e,re,d,ce,r.startLineNumber-1);if(Ut!==null)Ct=Mc(Ut+Xr(on.z(e.getLineContent(ce)),d),d,O)+this.trimLeft(Me);else{oe.getLineContent=hi=>hi===r.startLineNumber?e.getLineContent(ce):e.getLineContent(hi);let di=Oo.a.getGoodIndentForLine(this._autoIndent,oe,e.getLanguageIdAtPosition(ce,1),r.startLineNumber,re);if(di!==null){let hi=on.z(e.getLineContent(ce)),ji=Xr(di,d);ji!==Xr(hi,d)&&(Ct=Mc(ji,d,O)+this.trimLeft(Me))}}t.addEditOperation(new gt.a(r.startLineNumber,1,r.startLineNumber,1),Ct+` +`);let St=this.matchEnterRule(e,re,d,r.startLineNumber,r.startLineNumber,Ct);if(St!==null)St!==0&&this.getIndentEditsOfMovingBlock(e,t,r,d,O,St);else{oe.getLineContent=hi=>hi===r.startLineNumber?Ct:hi>=r.startLineNumber+1&&hi<=r.endLineNumber+1?e.getLineContent(hi-1):e.getLineContent(hi);let di=Oo.a.getGoodIndentForLine(this._autoIndent,oe,e.getLanguageIdAtPosition(ce,1),r.startLineNumber+1,re);if(di!==null){let hi=on.z(e.getLineContent(r.startLineNumber)),ji=Xr(di,d),Ji=Xr(hi,d);if(ji!==Ji){let dn=ji-Ji;this.getIndentEditsOfMovingBlock(e,t,r,d,O,dn)}}}}else t.addEditOperation(new gt.a(r.startLineNumber,1,r.startLineNumber,1),Ct+` +`)}else if(ce=r.startLineNumber-1,Me=e.getLineContent(ce),t.addEditOperation(new gt.a(ce,1,ce+1,1),null),t.addEditOperation(new gt.a(r.endLineNumber,e.getLineMaxColumn(r.endLineNumber),r.endLineNumber,e.getLineMaxColumn(r.endLineNumber)),` +`+Me),this.shouldAutoIndent(e,r)){oe.getLineContent=Ut=>Ut===ce?e.getLineContent(r.startLineNumber):e.getLineContent(Ut);let Ct=this.matchEnterRule(e,re,d,r.startLineNumber,r.startLineNumber-2);if(Ct!==null)Ct!==0&&this.getIndentEditsOfMovingBlock(e,t,r,d,O,Ct);else{let Ut=Oo.a.getGoodIndentForLine(this._autoIndent,oe,e.getLanguageIdAtPosition(r.startLineNumber,1),ce,re);if(Ut!==null){let St=on.z(e.getLineContent(r.startLineNumber)),di=Xr(Ut,d),hi=Xr(St,d);if(di!==hi){let ji=di-hi;this.getIndentEditsOfMovingBlock(e,t,r,d,O,ji)}}}}}this._selectionId=t.trackSelection(r)}buildIndentConverter(e,t,n){return{shiftIndent:r=>hc.a.shiftIndent(r,r.length+1,e,t,n),unshiftIndent:r=>hc.a.unshiftIndent(r,r.length+1,e,t,n)}}matchEnterRule(e,t,n,r,d,m){let O=d;for(;O>=1;){let ce;if(ce=O===d&&m!==void 0?m:e.getLineContent(O),on.J(ce)>=0)break;O--}if(O<1||r>e.getLineCount())return null;let re=e.getLineMaxColumn(O),oe=Oo.a.getEnterAction(this._autoIndent,e,new gt.a(O,re,O,re));if(oe){let ce=oe.indentation;oe.indentAction===vd.a.None||oe.indentAction===vd.a.Indent?ce=oe.indentation+oe.appendText:oe.indentAction===vd.a.IndentOutdent?ce=oe.indentation:oe.indentAction===vd.a.Outdent&&(ce=t.unshiftIndent(oe.indentation)+oe.appendText);let Me=e.getLineContent(r);if(this.trimLeft(Me).indexOf(this.trimLeft(ce))>=0){let Ct=on.z(e.getLineContent(r)),Ut=on.z(ce),St=Oo.a.getIndentMetadata(e,r);return St!==null&&2&St&&(Ut=t.unshiftIndent(Ut)),Xr(Ut,n)-Xr(Ct,n)}}return null}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){if(this._autoIndent<4||!e.isCheapToTokenize(t.startLineNumber))return!1;let n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&Oo.a.getIndentRulesSupport(n)!==null}getIndentEditsOfMovingBlock(e,t,n,r,d,m){for(let O=n.startLineNumber;O<=n.endLineNumber;O++){let re=e.getLineContent(O),oe=on.z(re),ce=Mc(Xr(oe,r)+m,r,d);ce!==oe&&(t.addEditOperation(new gt.a(O,1,O,oe.length+1),ce),O===n.endLineNumber&&n.endColumn<=oe.length+1&&ce===""&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber<n.endLineNumber&&(n=n.setEndPosition(n.endLineNumber,2)),n}}class al{constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}static getCollator(){return al._COLLATOR||(al._COLLATOR=new Intl.Collator),al._COLLATOR}getEditOperations(e,t){let n=function(r,d,m){let O=Ku(r,d,m);return O?Cn.a.replace(new gt.a(O.startLineNumber,1,O.endLineNumber,r.getLineMaxColumn(O.endLineNumber)),O.after.join(` +`)):null}(e,this.selection,this.descending);n&&t.addEditOperation(n.range,n.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,n){if(e===null)return!1;let r=Ku(e,t,n);if(!r)return!1;for(let d=0,m=r.before.length;d<m;d++)if(r.before[d]!==r.after[d])return!0;return!1}}function Ku(u,e,t){let n=e.startLineNumber,r=e.endLineNumber;if(e.endColumn===1&&r--,n>=r)return null;let d=[];for(let O=n;O<=r;O++)d.push(u.getLineContent(O));let m=d.slice(0);return m.sort(al.getCollator().compare),t===!0&&(m=m.reverse()),{startLineNumber:n,endLineNumber:r,before:d,after:m}}al._COLLATOR=null;class Gu extends $.b{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;let n=t.getSelections().map((m,O)=>({selection:m,index:O,ignore:!1}));n.sort((m,O)=>gt.a.compareRangesUsingStarts(m.selection,O.selection));let r=n[0];for(let m=1;m<n.length;m++){let O=n[m];r.selection.endLineNumber===O.selection.startLineNumber&&(r.index<O.index?O.ignore=!0:(r.ignore=!0,r=O))}let d=[];for(let m of n)m.ignore||d.push(new $u(m.selection,this.down));t.pushUndoStop(),t.executeCommands(this.id,d),t.pushUndoStop()}}class Sg extends $.b{constructor(){super({id:"editor.action.duplicateSelection",label:G.a("duplicateSelection","Duplicate Selection"),alias:"Duplicate Selection",precondition:z.a.writable,menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"2_line",title:G.a({key:"miDuplicateSelection",comment:["&& denotes a mnemonic"]},"&&Duplicate Selection"),order:5}})}run(e,t,n){if(!t.hasModel())return;let r=[],d=t.getSelections(),m=t.getModel();for(let O of d)if(O.isEmpty())r.push(new $u(O,!0));else{let re=new J.a(O.endLineNumber,O.endColumn,O.endLineNumber,O.endColumn);r.push(new $i.c(re,m.getValueInRange(O)))}t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}class Yu extends $.b{constructor(e,t){super(t),this.down=e}run(e,t){let n=[],r=t.getSelections()||[],d=t.getOption(8);for(let m of r)n.push(new xg(m,this.down,d));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class Zu extends $.b{constructor(e,t){super(t),this.descending=e}run(e,t){let n=t.getSelections()||[];for(let d of n)if(!al.canRun(t.getModel(),d,this.descending))return;let r=[];for(let d=0,m=n.length;d<m;d++)r[d]=new al(n[d],this.descending);t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}class wd extends $.b{constructor(){super({id:wd.ID,label:G.a("lines.trimTrailingWhitespace","Trim Trailing Whitespace"),alias:"Trim Trailing Whitespace",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:Object(Se.a)(2089,2102),weight:100}})}run(e,t,n){let r=[];n.reason==="auto-save"&&(r=(t.getSelections()||[]).map(O=>new Di.a(O.positionLineNumber,O.positionColumn)));let d=t.getSelection();if(d===null)return;let m=new Cg(d,r);t.pushUndoStop(),t.executeCommands(this.id,[m]),t.pushUndoStop()}}wd.ID="editor.action.trimTrailingWhitespace";class kg extends $.b{constructor(){super({id:"editor.action.deleteLines",label:G.a("lines.delete","Delete Line"),alias:"Delete Line",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let n=this._getLinesToRemove(t),r=t.getModel();if(r.getLineCount()===1&&r.getLineMaxColumn(1)===1)return;let d=0,m=[],O=[];for(let re=0,oe=n.length;re<oe;re++){let ce=n[re],Me=ce.startLineNumber,Ct=ce.endLineNumber,Ut=1,St=r.getLineMaxColumn(Ct);Ct<r.getLineCount()?(Ct+=1,St=1):Me>1&&(Me-=1,Ut=r.getLineMaxColumn(Me)),m.push(Cn.a.replace(new J.a(Me,Ut,Ct,St),"")),O.push(new J.a(Me-d,ce.positionColumn,Me-d,ce.positionColumn)),d+=ce.endLineNumber-ce.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,m,O),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map(d=>{let m=d.endLineNumber;return d.startLineNumber<d.endLineNumber&&d.endColumn===1&&(m-=1),{startLineNumber:d.startLineNumber,selectionStartColumn:d.selectionStartColumn,endLineNumber:m,positionColumn:d.positionColumn}});t.sort((d,m)=>d.startLineNumber===m.startLineNumber?d.endLineNumber-m.endLineNumber:d.startLineNumber-m.startLineNumber);let n=[],r=t[0];for(let d=1;d<t.length;d++)r.endLineNumber+1>=t[d].startLineNumber?r.endLineNumber=t[d].endLineNumber:(n.push(r),r=t[d]);return n.push(r),n}}class Eg extends $.b{constructor(){super({id:"editor.action.indentLines",label:G.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:2137,weight:100}})}run(e,t){let n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,wh.a.indent(n.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class Tg extends $.b{constructor(){super({id:"editor.action.outdentLines",label:G.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:2135,weight:100}})}run(e,t){ht.a.Outdent.runEditorCommand(e,t,null)}}class Lg extends $.b{constructor(){super({id:"editor.action.insertLineBefore",label:G.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3075,weight:100}})}run(e,t){let n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,wh.a.lineInsertBefore(n.cursorConfig,t.getModel(),t.getSelections())))}}class Ng extends $.b{constructor(){super({id:"editor.action.insertLineAfter",label:G.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:2051,weight:100}})}run(e,t){let n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,wh.a.lineInsertAfter(n.cursorConfig,t.getModel(),t.getSelections())))}}class Xu extends $.b{run(e,t){if(!t.hasModel())return;let n=t.getSelection(),r=this._getRangesToDelete(t),d=[];for(let re=0,oe=r.length-1;re<oe;re++){let ce=r[re],Me=r[re+1];gt.a.intersectRanges(ce,Me)===null?d.push(ce):r[re+1]=gt.a.plusRange(ce,Me)}d.push(r[r.length-1]);let m=this._getEndCursorState(n,d),O=d.map(re=>Cn.a.replace(re,""));t.pushUndoStop(),t.executeEdits(this.id,O,m),t.pushUndoStop()}}class Ig extends $.b{constructor(){super({id:"editor.action.joinLines",label:G.a("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let n=t.getSelections();if(n===null)return;let r=t.getSelection();if(r===null)return;n.sort(gt.a.compareRangesUsingStarts);let d=[],m=n.reduce((Ct,Ut)=>Ct.isEmpty()?Ct.endLineNumber===Ut.startLineNumber?(r.equalsSelection(Ct)&&(r=Ut),Ut):Ut.startLineNumber>Ct.endLineNumber+1?(d.push(Ct),Ut):new J.a(Ct.startLineNumber,Ct.startColumn,Ut.endLineNumber,Ut.endColumn):Ut.startLineNumber>Ct.endLineNumber?(d.push(Ct),Ut):new J.a(Ct.startLineNumber,Ct.startColumn,Ut.endLineNumber,Ut.endColumn));d.push(m);let O=t.getModel();if(O===null)return;let re=[],oe=[],ce=r,Me=0;for(let Ct=0,Ut=d.length;Ct<Ut;Ct++){let St,di,hi=d[Ct],ji=hi.startLineNumber,Ji=1,dn=0,Ki=O.getLineContent(hi.endLineNumber).length-hi.endColumn;if(hi.isEmpty()||hi.startLineNumber===hi.endLineNumber){let Qi=hi.getStartPosition();Qi.lineNumber<O.getLineCount()?(St=ji+1,di=O.getLineMaxColumn(St)):(St=Qi.lineNumber,di=O.getLineMaxColumn(Qi.lineNumber))}else St=hi.endLineNumber,di=O.getLineMaxColumn(St);let yn=O.getLineContent(ji);for(let Qi=ji+1;Qi<=St;Qi++){let fn=O.getLineContent(Qi),$n=O.getLineFirstNonWhitespaceColumn(Qi);if($n>=1){let bo=!0;yn===""&&(bo=!1),!bo||yn.charAt(yn.length-1)!==" "&&yn.charAt(yn.length-1)!==" "||(bo=!1,yn=yn.replace(/[\s\uFEFF\xA0]+$/g," "));let zr=fn.substr($n-1);yn+=(bo?" ":"")+zr,dn=bo?zr.length+1:zr.length}else dn=0}let hn=new gt.a(ji,Ji,St,di);if(!hn.isEmpty()){let Qi;hi.isEmpty()?(re.push(Cn.a.replace(hn,yn)),Qi=new J.a(hn.startLineNumber-Me,yn.length-dn+1,ji-Me,yn.length-dn+1)):hi.startLineNumber===hi.endLineNumber?(re.push(Cn.a.replace(hn,yn)),Qi=new J.a(hi.startLineNumber-Me,hi.startColumn,hi.endLineNumber-Me,hi.endColumn)):(re.push(Cn.a.replace(hn,yn)),Qi=new J.a(hi.startLineNumber-Me,hi.startColumn,hi.startLineNumber-Me,yn.length-Ki)),gt.a.intersectRanges(hn,r)!==null?ce=Qi:oe.push(Qi)}Me+=hn.endLineNumber-hn.startLineNumber}oe.unshift(ce),t.pushUndoStop(),t.executeEdits(this.id,re,oe),t.pushUndoStop()}}class Og extends $.b{constructor(){super({id:"editor.action.transpose",label:G.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:z.a.writable})}run(e,t){let n=t.getSelections();if(n===null)return;let r=t.getModel();if(r===null)return;let d=[];for(let m=0,O=n.length;m<O;m++){let re=n[m];if(!re.isEmpty())continue;let oe=re.getStartPosition(),ce=r.getLineMaxColumn(oe.lineNumber);if(oe.column>=ce){if(oe.lineNumber===r.getLineCount())continue;let Me=new gt.a(oe.lineNumber,Math.max(1,oe.column-1),oe.lineNumber+1,1),Ct=r.getValueInRange(Me).split("").reverse().join("");d.push(new $i.a(new J.a(oe.lineNumber,Math.max(1,oe.column-1),oe.lineNumber+1,1),Ct))}else{let Me=new gt.a(oe.lineNumber,Math.max(1,oe.column-1),oe.lineNumber,oe.column+1),Ct=r.getValueInRange(Me).split("").reverse().join("");d.push(new $i.b(Me,Ct,new J.a(oe.lineNumber,oe.column+1,oe.lineNumber,oe.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,d),t.pushUndoStop()}}class yh extends $.b{run(e,t){let n=t.getSelections();if(n===null)return;let r=t.getModel();if(r===null)return;let d=t.getOption(105),m=[];for(let O=0,re=n.length;O<re;O++){let oe=n[O];if(oe.isEmpty()){let ce=oe.getStartPosition(),Me=t.getConfiguredWordAtPosition(ce);if(!Me)continue;let Ct=new gt.a(ce.lineNumber,Me.startColumn,ce.lineNumber,Me.endColumn),Ut=r.getValueInRange(Ct);m.push(new $i.b(Ct,this._modifyText(Ut,d),new J.a(ce.lineNumber,ce.column,ce.lineNumber,ce.column)))}else{let ce=r.getValueInRange(oe);m.push(new $i.b(oe,this._modifyText(ce,d),oe))}}t.pushUndoStop(),t.executeCommands(this.id,m),t.pushUndoStop()}}Object($.k)(class extends Gu{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:G.a("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"2_line",title:G.a({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),Object($.k)(class extends Gu{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:G.a("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"2_line",title:G.a({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),Object($.k)(Sg),Object($.k)(class extends Yu{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:G.a("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"2_line",title:G.a({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),Object($.k)(class extends Yu{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:G.a("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:z.a.writable,kbOpts:{kbExpr:z.a.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"2_line",title:G.a({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),Object($.k)(class extends Zu{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:G.a("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:z.a.writable})}}),Object($.k)(class extends Zu{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:G.a("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:z.a.writable})}}),Object($.k)(wd),Object($.k)(kg),Object($.k)(Eg),Object($.k)(Tg),Object($.k)(Lg),Object($.k)(Ng),Object($.k)(class extends Xu{constructor(){super({id:"deleteAllLeft",label:G.a("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(u,e){let t=null,n=[],r=0;return e.forEach(d=>{let m;if(d.endColumn===1&&r>0){let O=d.startLineNumber-r;m=new J.a(O,d.startColumn,O,d.startColumn)}else m=new J.a(d.startLineNumber,d.startColumn,d.startLineNumber,d.startColumn);r+=d.endLineNumber-d.startLineNumber,d.intersectRanges(u)?t=m:n.push(m)}),t&&n.unshift(t),n}_getRangesToDelete(u){let e=u.getSelections();if(e===null)return[];let t=e,n=u.getModel();return n===null?[]:(t.sort(gt.a.compareRangesUsingStarts),t=t.map(r=>{if(r.isEmpty()){if(r.startColumn===1){let d=Math.max(1,r.startLineNumber-1),m=r.startLineNumber===1?1:n.getLineContent(d).length+1;return new gt.a(d,m,r.startLineNumber,1)}return new gt.a(r.startLineNumber,1,r.startLineNumber,r.startColumn)}return new gt.a(r.startLineNumber,1,r.endLineNumber,r.endColumn)}),t)}}),Object($.k)(class extends Xu{constructor(){super({id:"deleteAllRight",label:G.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(u,e){let t=null,n=[];for(let r=0,d=e.length,m=0;r<d;r++){let O=e[r],re=new J.a(O.startLineNumber-m,O.startColumn,O.startLineNumber-m,O.startColumn);O.intersectRanges(u)?t=re:n.push(re)}return t&&n.unshift(t),n}_getRangesToDelete(u){let e=u.getModel();if(e===null)return[];let t=u.getSelections();if(t===null)return[];let n=t.map(r=>{if(r.isEmpty()){let d=e.getLineMaxColumn(r.startLineNumber);return r.startColumn===d?new gt.a(r.startLineNumber,r.startColumn,r.startLineNumber+1,1):new gt.a(r.startLineNumber,r.startColumn,r.startLineNumber,d)}return r});return n.sort(gt.a.compareRangesUsingStarts),n}}),Object($.k)(Ig),Object($.k)(Og),Object($.k)(class extends yh{constructor(){super({id:"editor.action.transformToUppercase",label:G.a("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:z.a.writable})}_modifyText(u,e){return u.toLocaleUpperCase()}}),Object($.k)(class extends yh{constructor(){super({id:"editor.action.transformToLowercase",label:G.a("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:z.a.writable})}_modifyText(u,e){return u.toLocaleLowerCase()}}),Object($.k)(class extends yh{constructor(){super({id:"editor.action.transformToTitlecase",label:G.a("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:z.a.writable})}_modifyText(u,e){let t=(`\r + `+e).split(""),n="",r=!0;for(let d=0;d<u.length;d++){let m=u[d];t.indexOf(m)>=0?(r=!0,n+=m):r?(r=!1,n+=m.toLocaleUpperCase()):n+=m.toLocaleLowerCase()}return n}}),o(317);var Qu=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class Dg{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(e){return Qu(this,void 0,void 0,function*(){return this._link.url?this._link.url:typeof this._provider.resolveLink=="function"?Promise.resolve(this._provider.resolveLink(this._link,e)).then(t=>(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))})}}class yd extends Lt.a{constructor(e){super();let t=[];for(let[n,r]of e){let d=n.links.map(m=>new Dg(m,r));t=yd._union(t,d),Object(Lt.g)(n)&&this._register(n)}this.links=t}static _union(e,t){let n,r,d,m,O=[];for(n=0,d=0,r=e.length,m=t.length;n<r&&d<m;){let re=e[n],oe=t[d];if(gt.a.areIntersectingOrTouching(re.range,oe.range)){n++;continue}gt.a.compareRangesUsingStarts(re.range,oe.range)<0?(O.push(re),n++):(O.push(oe),d++)}for(;n<r;n++)O.push(e[n]);for(;d<m;d++)O.push(t[d]);return O}}function Ju(u,e){let t=[],n=I.s.ordered(u).reverse().map((r,d)=>Promise.resolve(r.provideLinks(u,e)).then(m=>{m&&(t[d]=[m,r])},Oe.f));return Promise.all(n).then(()=>{let r=new yd(Object(ee.d)(t));return e.isCancellationRequested?(r.dispose(),new yd([])):r})}Ee.a.registerCommand("_executeLinkProvider",(u,...e)=>Qu(void 0,void 0,void 0,function*(){let[t]=e;if(!(t instanceof Dn.a))return[];let n=u.get(ne.a).getModel(t);if(!n)return[];let r=yield Ju(n,On.a.None);if(!r)return[];let d=r.links.slice(0);return r.dispose(),d}));var Ag=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},ep=function(u,e){return function(t,n){e(t,n,u)}},Rg=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let tp={general:Rt.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:Rt.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class uc{constructor(e,t){this.link=e,this.decorationId=t}static decoration(e,t){return{range:e.range,options:uc._getOptions(e,t,!1)}}static _getOptions(e,t,n){let r=Object.assign({},n?tp.active:tp.general);return r.hoverMessage=function(d,m){let O=d.url&&/^command:/i.test(d.url.toString()),re=d.tooltip?d.tooltip:O?G.a("links.navigate.executeCmd","Execute command"):G.a("links.navigate.follow","Follow link"),oe=m?Et.f?G.a("links.navigate.kb.meta.mac","cmd + click"):G.a("links.navigate.kb.meta","ctrl + click"):Et.f?G.a("links.navigate.kb.alt.mac","option + click"):G.a("links.navigate.kb.alt","alt + click");return d.url?new $e("",!0).appendMarkdown(`[${re}](${d.url.toString()}) (${oe})`):new $e().appendText(`${re} (${oe})`)}(e,t),r}activate(e,t){e.changeDecorationOptions(this.decorationId,uc._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,uc._getOptions(this.link,t,!1))}}let Ml=class iu{constructor(e,t,n){this.listenersToRemove=new Lt.b,this.editor=e,this.openerService=t,this.notificationService=n;let r=new Eu(e);this.listenersToRemove.add(r),this.listenersToRemove.add(r.onMouseMoveOrRelevantKeyDown(([d,m])=>{this._onEditorMouseMove(d,m)})),this.listenersToRemove.add(r.onExecute(d=>{this.onEditorMouseUp(d)})),this.listenersToRemove.add(r.onCancel(d=>{this.cleanUpActiveLinkDecoration()})),this.enabled=e.getOption(54),this.listenersToRemove.add(e.onDidChangeConfiguration(d=>{let m=e.getOption(54);this.enabled!==m&&(this.enabled=m,this.updateDecorations([]),this.stop(),this.beginCompute())})),this.listenersToRemove.add(e.onDidChangeModelContent(d=>this.onChange())),this.listenersToRemove.add(e.onDidChangeModel(d=>this.onModelChanged())),this.listenersToRemove.add(e.onDidChangeModelLanguage(d=>this.onModelModeChanged())),this.listenersToRemove.add(I.s.onDidChange(d=>this.onModelModeChanged())),this.timeout=new Bi.e,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(e){return e.getContribution(iu.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet(()=>this.beginCompute(),iu.RECOMPUTE_TIME)}beginCompute(){return Rg(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.enabled)return;let e=this.editor.getModel();if(I.s.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=Bi.f(t=>Ju(e,t));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(t){Object(Oe.e)(t)}finally{this.computePromise=null}}})}updateDecorations(e){let t=this.editor.getOption(61)==="altKey",n=[],r=Object.keys(this.currentOccurrences);for(let O=0,re=r.length;O<re;O++){let oe=r[O],ce=this.currentOccurrences[oe];n.push(ce.decorationId)}let d=[];if(e)for(let O of e)d.push(uc.decoration(O,t));let m=this.editor.deltaDecorations(n,d);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let O=0,re=m.length;O<re;O++){let oe=new uc(e[O],m[O]);this.currentOccurrences[oe.decorationId]=oe}}_onEditorMouseMove(e,t){let n=this.editor.getOption(61)==="altKey";if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();let r=this.getLinkOccurrence(e.target.position);r&&this.editor.changeDecorations(d=>{r.activate(d,n),this.activeLinkDecorationId=r.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){let e=this.editor.getOption(61)==="altKey";if(this.activeLinkDecorationId){let t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(n=>{t.deactivate(n,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;let t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,n=!1){if(!this.openerService)return;let{link:r}=e;r.resolve(On.a.None).then(d=>{if(typeof d=="string"&&this.editor.hasModel()){let m=this.editor.getModel().uri;if(m.scheme===M.b.file&&on.S(d,"file:")){let O=Dn.a.parse(d);if(O.scheme===M.b.file){let re=Be.i(O),oe=null;on.S(re,"/./")?oe="."+re.substr(1):on.S(re,"//./")&&(oe="."+re.substr(2)),oe&&(d=Be.g(m,oe))}}}return this.openerService.open(d,{openToSide:t,fromUserGesture:n})},d=>{let m=d instanceof Error?d.message:d;m==="invalid"?this.notificationService.warn(G.a("invalid.url","Failed to open this link because it is not well-formed: {0}",r.url.toString())):m==="missing"?this.notificationService.warn(G.a("missing.url","Failed to open this link because its target is missing.")):Object(Oe.e)(d)})}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;let t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(let n of t){let r=this.currentOccurrences[n.id];if(r)return r}return null}isEnabled(e,t){return Boolean(e.target.type===6&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){this.timeout.cancel(),this.activeLinksList&&this.activeLinksList.dispose(),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};Ml.ID="editor.linkDetector",Ml.RECOMPUTE_TIME=1e3,Ml=Ag([ep(1,ga.a),ep(2,Re.a)],Ml);class Mg extends $.b{constructor(){super({id:"editor.action.openLink",label:G.a("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let n=Ml.get(t);if(!n||!t.hasModel())return;let r=t.getSelections();for(let d of r){let m=n.getLinkOccurrence(d.getEndPosition());m&&n.openLinkOccurrence(m,!1)}}}Object($.m)(Ml.ID,Ml),Object($.k)(Mg),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.r);t&&e.addRule(`.monaco-editor .detected-link-active { color: ${t} !important; }`)});var ip=o(85);class Pg extends $.b{constructor(){super({id:"editor.action.insertCursorAbove",label:G.a("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"3_multi",title:G.a({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,n){if(!t.hasModel())return;let r=n&&n.logicalLine===!0,d=t._getViewModel();d.cursorConfig.readOnly||(d.pushStackElement(),d.setCursorStates(n.source,3,ip.b.addCursorUp(d,d.getCursorStates(),r)),d.revealTopMostCursor(n.source))}}class Fg extends $.b{constructor(){super({id:"editor.action.insertCursorBelow",label:G.a("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"3_multi",title:G.a({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,n){if(!t.hasModel())return;let r=n&&n.logicalLine===!0,d=t._getViewModel();d.cursorConfig.readOnly||(d.pushStackElement(),d.setCursorStates(n.source,3,ip.b.addCursorDown(d,d.getCursorStates(),r)),d.revealBottomMostCursor(n.source))}}class Wg extends $.b{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:G.a("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"3_multi",title:G.a({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,n){if(!e.isEmpty()){for(let r=e.startLineNumber;r<e.endLineNumber;r++){let d=t.getLineMaxColumn(r);n.push(new J.a(r,d,r,d))}e.endColumn>1&&n.push(new J.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;let n=t.getModel(),r=t.getSelections(),d=[];r.forEach(m=>this.getCursorsForSelection(m,n,d)),d.length>0&&t.setSelections(d)}}class zg extends $.b{constructor(){super({id:"editor.action.addCursorsToBottom",label:G.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;let n=t.getSelections(),r=t.getModel().getLineCount(),d=[];for(let m=n[0].startLineNumber;m<=r;m++)d.push(new J.a(m,n[0].startColumn,m,n[0].endColumn));d.length>0&&t.setSelections(d)}}class Bg extends $.b{constructor(){super({id:"editor.action.addCursorsToTop",label:G.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;let n=t.getSelections(),r=[];for(let d=n[0].startLineNumber;d>=1;d--)r.push(new J.a(d,n[0].startColumn,d,n[0].endColumn));r.length>0&&t.setSelections(r)}}class Cd{constructor(e,t,n){this.selections=e,this.revealRange=t,this.revealScrollType=n}}class Pc{constructor(e,t,n,r,d,m,O){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=n,this.searchText=r,this.wholeWord=d,this.matchCase=m,this.currentMatch=O}static create(e,t){if(!e.hasModel())return null;let n=t.getState();if(!e.hasTextFocus()&&n.isRevealed&&n.searchString.length>0)return new Pc(e,t,!1,n.searchString,n.wholeWord,n.matchCase,null);let r,d,m=!1,O=e.getSelections();O.length===1&&O[0].isEmpty()?(m=!0,r=!0,d=!0):(r=n.wholeWord,d=n.matchCase);let re=e.getSelection(),oe,ce=null;if(re.isEmpty()){let Me=e.getConfiguredWordAtPosition(re.getStartPosition());if(!Me)return null;oe=Me.word,ce=new J.a(re.startLineNumber,Me.startColumn,re.startLineNumber,Me.endColumn)}else oe=e.getModel().getValueInRange(re).replace(/\r\n/g,` +`);return new Pc(e,t,m,oe,r,d,ce)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;let e=this._getNextMatch();if(!e)return null;let t=this._editor.getSelections();return new Cd(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;let e=this._getNextMatch();if(!e)return null;let t=this._editor.getSelections();return new Cd(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){let r=this.currentMatch;return this.currentMatch=null,r}this.findController.highlightFindOptions();let e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return n?new J.a(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;let e=this._getPreviousMatch();if(!e)return null;let t=this._editor.getSelections();return new Cd(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;let e=this._getPreviousMatch();if(!e)return null;let t=this._editor.getSelections();return new Cd(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){let r=this.currentMatch;return this.currentMatch=null,r}this.findController.highlightFindOptions();let e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return n?new J.a(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}selectAll(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1,1073741824)):[]}}class Pl extends Lt.a{constructor(e){super(),this._sessionDispose=this._register(new Lt.b),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(Pl.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){let t=Pc.create(this._editor,e);if(!t)return;this._session=t;let n={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(n.wholeWordOverride=1,n.matchCaseOverride=1,n.isRegexOverride=2),e.getState().change(n,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(r=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(r=>{(r.matchCase||r.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){let e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;let n=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return n?new J.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){let t=this._editor.getSelections();if(t.length>1){let n=e.getState().matchCase;if(!op(this._editor.getModel(),t,n)){let r=this._editor.getModel(),d=[];for(let m=0,O=t.length;m<O;m++)d[m]=this._expandEmptyToWord(r,t[m]);return void this._editor.setSelections(d)}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(e){if(!this._editor.hasModel())return;let t=null,n=e.getState();if(n.isRevealed&&n.searchString.length>0&&n.isRegex)t=this._editor.getModel().findMatches(n.searchString,!0,n.isRegex,n.matchCase,n.wholeWord?this._editor.getOption(105):null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(n.searchScope){let r=n.searchScope,d=[];t.forEach(m=>{r.forEach(O=>{m.range.endLineNumber<=O.endLineNumber&&m.range.startLineNumber>=O.startLineNumber&&d.push(m)})}),t=d}if(t.length>0){let r=this._editor.getSelection();for(let d=0,m=t.length;d<m;d++){let O=t[d];if(O.range.intersectRanges(r)){t[d]=t[0],t[0]=O;break}}this._setSelections(t.map(d=>new J.a(d.range.startLineNumber,d.range.startColumn,d.range.endLineNumber,d.range.endColumn)))}}}Pl.ID="editor.contrib.multiCursorController";class pc extends $.b{run(e,t){let n=Pl.get(t);if(!n)return;let r=ur.get(t);r&&this._run(n,r)}}class np{constructor(e,t,n,r){this.searchText=e,this.matchCase=t,this.wordSeparators=n,this.modelVersionId=r}static softEquals(e,t){return!e&&!t||!(!e||!t)&&e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators&&e.modelVersionId===t.modelVersionId}}class Ba extends Lt.a{constructor(e){super(),this.editor=e,this._isEnabled=e.getOption(89),this.decorations=[],this.updateSoon=this._register(new Bi.d(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(89)})),this._register(e.onDidChangeCursorSelection(t=>{this._isEnabled&&(t.selection.isEmpty()?t.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(t=>{this._setState(null)})),this._register(e.onDidChangeModelContent(t=>{this._isEnabled&&this.updateSoon.schedule()})),this._register(ur.get(e).getState().onFindReplaceStateChange(t=>{this._update()}))}_update(){this._setState(Ba._createState(this._isEnabled,this.editor))}static _createState(e,t){if(!e||!t.hasModel())return null;let n=t.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;let r=Pl.get(t);if(!r)return null;let d=ur.get(t);if(!d)return null;let m=r.getSession(d);if(!m){let oe=t.getSelections();if(oe.length>1){let ce=d.getState().matchCase;if(!op(t.getModel(),oe,ce))return null}m=Pc.create(t,d)}if(!m||m.currentMatch||/^[ \t]+$/.test(m.searchText)||m.searchText.length>200)return null;let O=d.getState(),re=O.matchCase;if(O.isRevealed){let oe=O.searchString;re||(oe=oe.toLowerCase());let ce=m.searchText;if(re||(ce=ce.toLowerCase()),oe===ce&&m.matchCase===O.matchCase&&m.wholeWord===O.wholeWord&&!O.isRegex)return null}return new np(m.searchText,m.matchCase,m.wholeWord?t.getOption(105):null,t.getModel().getVersionId())}_setState(e){if(np.softEquals(this.state,e))return void(this.state=e);if(this.state=e,!this.state)return void(this.decorations=this.editor.deltaDecorations(this.decorations,[]));if(!this.editor.hasModel())return;let t=this.editor.getModel();if(t.isTooLargeForTokenization())return;let n=I.i.has(t)&&this.editor.getOption(63),r=t.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(re=>re.range);r.sort(gt.a.compareRangesUsingStarts);let d=this.editor.getSelections();d.sort(gt.a.compareRangesUsingStarts);let m=[];for(let re=0,oe=0,ce=r.length,Me=d.length;re<ce;){let Ct=r[re];if(oe>=Me)m.push(Ct),re++;else{let Ut=gt.a.compareRangesUsingStarts(Ct,d[oe]);Ut<0?(!d[oe].isEmpty()&>.a.areIntersecting(Ct,d[oe])||m.push(Ct),re++):(Ut>0||re++,oe++)}}let O=m.map(re=>({range:re,options:n?Ba._SELECTION_HIGHLIGHT:Ba._SELECTION_HIGHLIGHT_OVERVIEW}));this.decorations=this.editor.deltaDecorations(this.decorations,O)}dispose(){this._setState(null),super.dispose()}}function op(u,e,t){let n=rp(u,e[0],!t);for(let r=1,d=e.length;r<d;r++){let m=e[r];if(m.isEmpty()||n!==rp(u,m,!t))return!1}return!0}function rp(u,e,t){let n=u.getValueInRange(e);return t?n.toLowerCase():n}Ba.ID="editor.contrib.selectionHighlighter",Ba._SELECTION_HIGHLIGHT_OVERVIEW=Rt.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(ut.h)(Ue.Wb),position:vi.d.Center}}),Ba._SELECTION_HIGHLIGHT=Rt.a.register({stickiness:1,className:"selectionHighlight"}),Object($.m)(Pl.ID,Pl),Object($.m)(Ba.ID,Ba),Object($.k)(Pg),Object($.k)(Fg),Object($.k)(Wg),Object($.k)(class extends pc{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:G.a("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2082,weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"3_multi",title:G.a({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(u,e){u.addSelectionToNextFindMatch(e)}}),Object($.k)(class extends pc{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:G.a("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"3_multi",title:G.a({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(u,e){u.addSelectionToPreviousFindMatch(e)}}),Object($.k)(class extends pc{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:G.a("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:Object(Se.a)(2089,2082),weight:100}})}_run(u,e){u.moveSelectionToNextFindMatch(e)}}),Object($.k)(class extends pc{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:G.a("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(u,e){u.moveSelectionToPreviousFindMatch(e)}}),Object($.k)(class extends pc{constructor(){super({id:"editor.action.selectHighlights",label:G.a("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:3114,weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"3_multi",title:G.a({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(u,e){u.selectAll(e)}}),Object($.k)(class extends pc{constructor(){super({id:"editor.action.changeAll",label:G.a("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:A.a.and(z.a.writable,z.a.editorTextFocus),kbOpts:{kbExpr:z.a.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(u,e){u.selectAll(e)}}),Object($.k)(zg),Object($.k)(Bg),o(319);var jg=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let Fl={Visible:new A.c("parameterHintsVisible",!1),MultipleSignatures:new A.c("parameterHintsMultipleSignatures",!1)};function sp(u,e,t,n){let r=I.y.ordered(u);return Object(Bi.h)(r.map(d=>()=>Promise.resolve(d.provideSignatureHelp(u,e,n,t)).catch(m=>Object(Oe.f)(m))))}Object($.j)("_executeSignatureHelpProvider",(u,e,t)=>jg(void 0,void 0,void 0,function*(){let n=yield sp(u,e,{triggerKind:I.z.Invoke,isRetrigger:!1,triggerCharacter:t.triggerCharacter},On.a.None);if(n)return setTimeout(()=>n.dispose(),0),n.value}));var ll,Vg=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};(function(u){u.Default={type:0},u.Pending=class{constructor(e){this.request=e,this.type=2}},u.Active=class{constructor(e){this.hints=e,this.type=1}}})(ll||(ll={}));class xd extends Lt.a{constructor(e,t=xd.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new rt.a),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=ll.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new Lt.d),this.triggerChars=new Xs.b,this.retriggerChars=new Xs.b,this.triggerId=0,this.editor=e,this.throttledDelayer=new Bi.a(t),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(n=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(n=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(n=>this.onCursorChange(n))),this._register(this.editor.onDidChangeModelContent(n=>this.onModelContentChange())),this._register(I.y.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(n=>this.onDidType(n))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){this._state.type===2&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=ll.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){let n=this.editor.getModel();if(!n||!I.y.has(n))return;let r=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(r),t).catch(Oe.e)}next(){if(this.state.type!==1)return;let e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t%e==e-1,r=this.editor.getOption(67).cycle;!(e<2||n)||r?this.updateActiveSignature(n&&r?0:t+1):this.cancel()}previous(){if(this.state.type!==1)return;let e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t===0,r=this.editor.getOption(67).cycle;!(e<2||n)||r?this.updateActiveSignature(n&&r?e-1:t-1):this.cancel()}updateActiveSignature(e){this.state.type===1&&(this.state=new ll.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return Vg(this,void 0,void 0,function*(){let t=this.state.type===1||this.state.type===2,n=this.state.type===1?this.state.hints:void 0;if(this.cancel(!0),this._pendingTriggers.length===0)return!1;let r=this._pendingTriggers.reduce(Ug);this._pendingTriggers=[];let d={triggerKind:r.triggerKind,triggerCharacter:r.triggerCharacter,isRetrigger:t,activeSignatureHelp:n};if(!this.editor.hasModel())return!1;let m=this.editor.getModel(),O=this.editor.getPosition();this.state=new ll.Pending(Object(Bi.f)(re=>sp(m,O,d,re)));try{let re=yield this.state.request;return e!==this.triggerId?(re==null||re.dispose(),!1):re&&re.value.signatures&&re.value.signatures.length!==0?(this.state=new ll.Active(re.value),this._lastSignatureHelpResult.value=re,this._onChangedHints.fire(this.state.hints),!0):(re==null||re.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(re){return e===this.triggerId&&(this.state=ll.Default),Object(Oe.e)(re),!1}})}get isTriggered(){return this.state.type===1||this.state.type===2||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new Xs.b,this.retriggerChars=new Xs.b;let e=this.editor.getModel();if(e)for(let t of I.y.ordered(e)){for(let n of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(n.charCodeAt(0)),this.retriggerChars.add(n.charCodeAt(0));for(let n of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(n.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;let t=e.length-1,n=e.charCodeAt(t);(this.triggerChars.has(n)||this.isTriggered&&this.retriggerChars.has(n))&&this.trigger({triggerKind:I.z.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){e.source==="mouse"?this.cancel():this.isTriggered&&this.trigger({triggerKind:I.z.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:I.z.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(67).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function Ug(u,e){switch(e.triggerKind){case I.z.Invoke:return e;case I.z.ContentChange:return u;case I.z.TriggerCharacter:default:return e}}xd.DEFAULT_DELAY=120;var Hg=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Ch=function(u,e){return function(t,n){e(t,n,u)}};let ss=ae.a,qg=Object(de.e)("parameter-hints-next",de.a.chevronDown),$g=Object(de.e)("parameter-hints-previous",de.a.chevronUp),Sd=class bm extends Lt.a{constructor(e,t,n,r){super(),this.editor=e,this.renderDisposeables=this._register(new Lt.b),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new ac(e,r,n)),this.model=this._register(new xd(e)),this.keyVisible=Fl.Visible.bindTo(t),this.keyMultipleSignatures=Fl.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints(d=>{d?(this.show(),this.render(d)):this.hide()}))}createParamaterHintDOMNodes(){let e=ss(".editor-widget.parameter-hints-widget"),t=ae.p(e,ss(".wrapper"));t.tabIndex=-1;let n=ae.p(t,ss(".controls")),r=ae.p(n,ss(".button"+$g.cssSelector)),d=ae.p(n,ss(".overloads")),m=ae.p(n,ss(".button"+qg.cssSelector)),O=Object(tr.b)(Object(tr.a)(r,"click"));this._register(O(this.previous,this));let re=Object(tr.b)(Object(tr.a)(m,"click"));this._register(re(this.next,this));let oe=ss(".body"),ce=new cd.a(oe,{});this._register(ce),t.appendChild(ce.getDomNode());let Me=ae.p(oe,ss(".signature")),Ct=ae.p(oe,ss(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:Me,overloads:d,docs:Ct,scrollbar:ce},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(St=>{this.visible&&this.editor.layoutContentWidget(this)}));let Ut=()=>{if(!this.domNodes)return;let St=this.editor.getOption(36);this.domNodes.element.style.fontSize=St.fontSize+"px"};Ut(),this._register(rt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(St=>St.hasChanged(36)).on(Ut,null)),this._register(this.editor.onDidLayoutChange(St=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&ae.e(this.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&ae.Q(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;let n=e.signatures.length>1;ae.ab(this.domNodes.element,"multiple",n),this.keyMultipleSignatures.set(n),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";let r=e.signatures[e.activeSignature];if(!r)return;let d=ae.p(this.domNodes.signature,ss(".code")),m=this.editor.getOption(36);d.style.fontSize=m.fontSize+"px",d.style.fontFamily=m.fontFamily;let O=r.parameters.length>0,re=(t=r.activeParameter)!==null&&t!==void 0?t:e.activeParameter;O?this.renderParameters(d,r,re):ae.p(d,ss("span")).textContent=r.label;let oe=r.parameters[re];if(oe==null?void 0:oe.documentation){let Me=ss("span.documentation");if(typeof oe.documentation=="string")Me.textContent=oe.documentation;else{let Ct=this.renderDisposeables.add(this.markdownRenderer.render(oe.documentation));ae.e(Ct.element,"markdown-docs"),Me.appendChild(Ct.element)}ae.p(this.domNodes.docs,ss("p",{},Me))}if(r.documentation!==void 0)if(typeof r.documentation=="string")ae.p(this.domNodes.docs,ss("p",{},r.documentation));else{let Me=this.renderDisposeables.add(this.markdownRenderer.render(r.documentation));ae.e(Me.element,"markdown-docs"),ae.p(this.domNodes.docs,Me.element)}let ce=this.hasDocs(r,oe);if(ae.ab(this.domNodes.signature,"has-docs",ce),ae.ab(this.domNodes.docs,"empty",!ce),this.domNodes.overloads.textContent=Object(on.M)(e.activeSignature+1,e.signatures.length.toString().length)+"/"+e.signatures.length,oe){let Me=this.getParameterLabel(r,re);this.announcedLabel!==Me&&(_i.a(G.a("hint","{0}, hint",Me)),this.announcedLabel=Me)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}hasDocs(e,t){return!!(t&&typeof t.documentation=="string"&&Object(to.a)(t.documentation).length>0)||!!(t&&typeof t.documentation=="object"&&Object(to.a)(t.documentation).value.length>0)||!!(e.documentation&&typeof e.documentation=="string"&&Object(to.a)(e.documentation).length>0)||!!(e.documentation&&typeof e.documentation=="object"&&Object(to.a)(e.documentation.value).length>0)}renderParameters(e,t,n){let[r,d]=this.getParameterLabelOffsets(t,n),m=document.createElement("span");m.textContent=t.label.substring(0,r);let O=document.createElement("span");O.textContent=t.label.substring(r,d),O.className="parameter active";let re=document.createElement("span");re.textContent=t.label.substring(d),ae.p(e,m,O,re)}getParameterLabel(e,t){let n=e.parameters[t];return Array.isArray(n.label)?e.label.substring(n.label[0],n.label[1]):n.label}getParameterLabelOffsets(e,t){let n=e.parameters[t];if(n){if(Array.isArray(n.label))return n.label;{let r=e.label.lastIndexOf(n.label);return r>=0?[r,r+n.label.length]:[0,0]}}return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element}getId(){return bm.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;let e=Math.max(this.editor.getLayoutInfo().height/4,250)+"px";this.domNodes.element.style.maxHeight=e;let t=this.domNodes.element.getElementsByClassName("wrapper");t.length&&(t[0].style.maxHeight=e)}};Sd.ID="editor.widget.parameterHintsWidget",Sd=Hg([Ch(1,A.b),Ch(2,ga.a),Ch(3,nl.a)],Sd),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.F);if(t){let O=u.type===ut.b?2:1;e.addRule(`.monaco-editor .parameter-hints-widget { border: ${O}px solid ${t}; }`),e.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${t.transparent(.5)}; }`)}let n=u.getColor(Ue.E);n&&e.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${n}; }`);let r=u.getColor(Ue.rc);r&&e.addRule(`.monaco-editor .parameter-hints-widget a { color: ${r}; }`);let d=u.getColor(Ue.G);d&&e.addRule(`.monaco-editor .parameter-hints-widget { color: ${d}; }`);let m=u.getColor(Ue.qc);m&&e.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${m}; }`)});var Kg=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Gg=function(u,e){return function(t,n){e(t,n,u)}};let Wl=class _m extends Lt.a{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance(Sd,this.editor))}static get(e){return e.getContribution(_m.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};Wl.ID="editor.controller.parameterHints",Wl=Kg([Gg(1,X.a)],Wl);class Yg extends $.b{constructor(){super({id:"editor.action.triggerParameterHints",label:G.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:z.a.hasSignatureHelpProvider,kbOpts:{kbExpr:z.a.editorTextFocus,primary:3082,weight:100}})}run(e,t){let n=Wl.get(t);n&&n.trigger({triggerKind:I.z.Invoke})}}Object($.m)(Wl.ID,Wl),Object($.k)(Yg);let xh=$.c.bindToContribution(Wl.get);Object($.l)(new xh({id:"closeParameterHints",precondition:Fl.Visible,handler:u=>u.cancel(),kbOpts:{weight:175,kbExpr:z.a.focus,primary:9,secondary:[1033]}})),Object($.l)(new xh({id:"showPrevParameterHint",precondition:A.a.and(Fl.Visible,Fl.MultipleSignatures),handler:u=>u.previous(),kbOpts:{weight:175,kbExpr:z.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object($.l)(new xh({id:"showNextParameterHint",precondition:A.a.and(Fl.Visible,Fl.MultipleSignatures),handler:u=>u.next(),kbOpts:{weight:175,kbExpr:z.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}})),o(321);var Zg=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Xg=function(u,e){return function(t,n){e(t,n,u)}},ap=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let lp=new A.c("onTypeRenameInputVisible",!1),cl=class nu extends Lt.a{constructor(e,t){super(),this._debounceDuration=200,this._localToDispose=this._register(new Lt.b),this._editor=e,this._enabled=!1,this._visibleContextKey=lp.bindTo(t),this._currentDecorations=[],this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new Lt.b),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize())),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(73)&&this.reinitialize()})),this._register(I.u.onDidChange(()=>this.reinitialize())),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize())),this.reinitialize()}static get(e){return e.getContribution(nu.ID)}reinitialize(){let e=this._editor.getModel(),t=e!==null&&this._editor.getOption(73)&&I.u.has(e);if(t===this._enabled||(this._enabled=t,this.clearRanges(),this._localToDispose.clear(),!t||e===null))return;this._languageWordPattern=Oo.a.getWordDefinition(e.getLanguageIdentifier().id),this._localToDispose.add(e.onDidChangeLanguageConfiguration(()=>{this._languageWordPattern=Oo.a.getWordDefinition(e.getLanguageIdentifier().id)}));let n=new Bi.a(this._debounceDuration),r=()=>{this._rangeUpdateTriggerPromise=n.trigger(()=>this.updateRanges(),this._debounceDuration)},d=new Bi.a(0),m=O=>{this._rangeSyncTriggerPromise=d.trigger(()=>this._syncRanges(O))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{r()})),this._localToDispose.add(this._editor.onDidChangeModelContent(O=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){let re=e.getDecorationRange(this._currentDecorations[0]);if(re&&O.changes.every(oe=>re.intersectRanges(oe.range)))return void m(this._currentDecorations)}r()})),this._localToDispose.add({dispose:()=>{n.cancel(),d.cancel()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._currentDecorations||e.length===0)return;let t=this._editor.getModel(),n=t.getDecorationRange(e[0]);if(!n||n.startLineNumber!==n.endLineNumber)return this.clearRanges();let r=t.getValueInRange(n);if(this._currentWordPattern){let m=r.match(this._currentWordPattern);if((m?m[0].length:0)!==r.length)return this.clearRanges()}let d=[];for(let m=1,O=e.length;m<O;m++){let re=t.getDecorationRange(e[m]);if(re)if(re.startLineNumber!==re.endLineNumber)d.push({range:re,text:r});else{let oe=t.getValueInRange(re),ce=r,Me=re.startColumn,Ct=re.endColumn,Ut=on.d(oe,ce);Me+=Ut,oe=oe.substr(Ut),ce=ce.substr(Ut);let St=on.e(oe,ce);Ct-=St,oe=oe.substr(0,oe.length-St),ce=ce.substr(0,ce.length-St),Me===Ct&&ce.length===0||d.push({range:new gt.a(re.startLineNumber,Me,re.endLineNumber,Ct),text:ce})}}if(d.length!==0)try{this._ignoreChangeEvent=!0;let m=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits("onTypeRename",d),this._editor._getViewModel().setPrevEditOperationType(m)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,[]),this._currentRequest&&(this._currentRequest.cancel(),this._currentRequest=null,this._currentRequestPosition=null)}updateRanges(e=!1){return ap(this,void 0,void 0,function*(){if(!this._editor.hasModel())return void this.clearRanges();let t=this._editor.getPosition();if(!this._enabled&&!e||this._editor.getSelections().length>1)return void this.clearRanges();let n=this._editor.getModel(),r=n.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===r){if(t.equals(this._currentRequestPosition))return;if(this._currentDecorations&&this._currentDecorations.length>0){let m=n.getDecorationRange(this._currentDecorations[0]);if(m&&m.containsPosition(t))return}}this._currentRequestPosition=t,this._currentRequestModelVersion=r;let d=Object(Bi.f)(m=>ap(this,void 0,void 0,function*(){try{let O=yield cp(n,t,m);if(d!==this._currentRequest||(this._currentRequest=null,r!==n.getVersionId()))return;let re=[];(O==null?void 0:O.ranges)&&(re=O.ranges),this._currentWordPattern=(O==null?void 0:O.wordPattern)||this._languageWordPattern;let oe=!1;for(let Me=0,Ct=re.length;Me<Ct;Me++)if(gt.a.containsPosition(re[Me],t)){if(oe=!0,Me!==0){let Ut=re[Me];re.splice(Me,1),re.unshift(Ut)}break}if(!oe)return void this.clearRanges();let ce=re.map(Me=>({range:Me,options:nu.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,ce)}catch(O){Object(Oe.d)(O)||Object(Oe.e)(O),this._currentRequest!==d&&this._currentRequest||this.clearRanges()}}));return this._currentRequest=d,d})}};cl.ID="editor.contrib.onTypeRename",cl.DECORATION=Rt.a.register({stickiness:0,className:"on-type-rename-decoration"}),cl=Zg([Xg(1,A.b)],cl);class Qg extends $.b{constructor(){super({id:"editor.action.onTypeRename",label:G.a("onTypeRename.label","On Type Rename Symbol"),alias:"On Type Rename Symbol",precondition:A.a.and(z.a.writable,z.a.hasRenameProvider),kbOpts:{kbExpr:z.a.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){let n=e.get(Si.a),[r,d]=Array.isArray(t)&&t||[void 0,void 0];return Dn.a.isUri(r)&&Di.a.isIPosition(d)?n.openCodeEditor({resource:r},n.getActiveCodeEditor()).then(m=>{m&&(m.setPosition(d),m.invokeWithinContext(O=>(this.reportTelemetry(O,m),this.run(O,m))))},Oe.e):super.runCommand(e,t)}run(e,t){let n=cl.get(t);return n?Promise.resolve(n.updateRanges(!0)):Promise.resolve()}}let Jg=$.c.bindToContribution(cl.get);function cp(u,e,t){let n=I.u.ordered(u);return Object(Bi.h)(n.map(r=>()=>Promise.resolve(r.provideOnTypeRenameRanges(u,e,t)).then(d=>{if(d)return{ranges:d.ranges,wordPattern:d.wordPattern||r.wordPattern}},d=>{Object(Oe.f)(d)})),r=>!!r&&ee.o(r==null?void 0:r.ranges))}Object($.l)(new Jg({id:"cancelOnTypeRenameInput",precondition:lp,handler:u=>u.clearRanges(),kbOpts:{kbExpr:z.a.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));let ef=Object(Ue.gc)("editor.onTypeRenameBackground",{dark:Kn.a.fromHex("#f00").transparent(.3),light:Kn.a.fromHex("#f00").transparent(.3),hc:Kn.a.fromHex("#f00").transparent(.3)},G.a("editorOnTypeRenameBackground","Background color when the editor auto renames on type."));Object(ut.g)((u,e)=>{let t=u.getColor(ef);t&&e.addRule(`.monaco-editor .on-type-rename-decoration { background: ${t}; border-left-color: ${t}; }`)}),Object($.p)("_executeRenameOnTypeProvider",(u,e)=>cp(u,e,On.a.None)),Object($.m)(cl.ID,cl),Object($.k)(Qg),o(323);var tf=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Sh=function(u,e){return function(t,n){e(t,n,u)}};let kd=new A.c("renameInputVisible",!1),kh=class{constructor(u,e,t,n,r){this._editor=u,this._acceptKeybindings=e,this._themeService=t,this._keybindingService=n,this._disposables=new Lt.b,this.allowEditorOverflow=!0,this._visibleContextKey=kd.bindTo(r),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(d=>{d.hasChanged(36)&&this._updateFont()})),this._disposables.add(t.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(G.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);let u=()=>{var e,t;let[n,r]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(n),this._label.innerText=Object(G.a)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",(e=this._keybindingService.lookupKeybinding(n))===null||e===void 0?void 0:e.getLabel(),(t=this._keybindingService.lookupKeybinding(r))===null||t===void 0?void 0:t.getLabel())};u(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(u)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(u){var e,t,n,r;if(!this._input||!this._domNode)return;let d=u.getColor(Ue.uc);this._domNode.style.backgroundColor=String((e=u.getColor(Ue.U))!==null&&e!==void 0?e:""),this._domNode.style.boxShadow=d?" 0 2px 8px "+d:"",this._domNode.style.color=String((t=u.getColor(Ue.hb))!==null&&t!==void 0?t:""),this._input.style.backgroundColor=String((n=u.getColor(Ue.fb))!==null&&n!==void 0?n:"");let m=u.getColor(Ue.gb);this._input.style.borderWidth=m?"1px":"0px",this._input.style.borderStyle=m?"solid":"none",this._input.style.borderColor=(r=m==null?void 0:m.toString())!==null&&r!==void 0?r:"none"}_updateFont(){if(!this._input||!this._label)return;let u=this._editor.getOption(36);this._input.style.fontFamily=u.fontFamily,this._input.style.fontWeight=u.fontWeight,this._input.style.fontSize=u.fontSize+"px",this._label.style.fontSize=.8*u.fontSize+"px"}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}acceptInput(u){this._currentAcceptInput&&this._currentAcceptInput(u)}cancelInput(u){this._currentCancelInput&&this._currentCancelInput(u)}getInput(u,e,t,n,r,d){this._domNode.classList.toggle("preview",r),this._position=new Di.a(u.startLineNumber,u.startColumn),this._input.value=e,this._input.setAttribute("selectionStart",t.toString()),this._input.setAttribute("selectionEnd",n.toString()),this._input.size=Math.max(1.1*(u.endColumn-u.startColumn),20);let m=new Lt.b;return new Promise(O=>{this._currentCancelInput=re=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,O(re),!0),this._currentAcceptInput=re=>{this._input.value.trim().length!==0&&this._input.value!==e?(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,O({newName:this._input.value,wantsPreview:r&&re})):this.cancelInput(!0)},d.onCancellationRequested(()=>this.cancelInput(!0)),m.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{m.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};kh=tf([Sh(2,ut.c),Sh(3,Dt.a),Sh(4,A.b)],kh);var Eh=o(102),mc=o(56),nf=o(128),of=o(152),rf=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},gc=function(u,e){return function(t,n){e(t,n,u)}},fc=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class dp{constructor(e,t){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=I.w.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return fc(this,void 0,void 0,function*(){let t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){let r=this._providers[this._providerRenameIdx];if(!r.resolveRenameLocation)break;let d=yield r.resolveRenameLocation(this.model,this.position,e);if(d){if(!d.rejectReason)return d;t.push(d.rejectReason)}}let n=this.model.getWordAtPosition(this.position);return n?{range:new gt.a(this.position.lineNumber,n.startColumn,this.position.lineNumber,n.endColumn),text:n.word,rejectReason:t.length>0?t.join(` +`):void 0}:{range:gt.a.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join(` +`):void 0}})}provideRenameEdits(e,t){return fc(this,void 0,void 0,function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)})}_provideRenameEdits(e,t,n,r){return fc(this,void 0,void 0,function*(){let d=this._providers[t];if(!d)return{edits:[],rejectReason:n.join(` +`)};let m=yield d.provideRenameEdits(this.model,this.position,e,r);return m?m.rejectReason?this._provideRenameEdits(e,t+1,n.concat(m.rejectReason),r):m:this._provideRenameEdits(e,t+1,n.concat(G.a("no result","No result.")),r)})}}let zl=class vm{constructor(e,t,n,r,d,m,O){this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=r,this._progressService=d,this._logService=m,this._configService=O,this._dispoableStore=new Lt.b,this._cts=new On.b,this._renameInputField=this._dispoableStore.add(new Bi.b(()=>this._dispoableStore.add(this._instaService.createInstance(kh,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(e){return e.getContribution(vm.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return fc(this,void 0,void 0,function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;let e=this.editor.getPosition(),t=new dp(this.editor.getModel(),e);if(!t.hasProvider())return;let n;this._cts=new qt.b(this.editor,5);try{let ce=t.resolveRenameLocation(this._cts.token);this._progressService.showWhile(ce,250),n=yield ce}catch(ce){return void wi.get(this.editor).showMessage(ce||G.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e)}if(!n)return;if(n.rejectReason)return void wi.get(this.editor).showMessage(n.rejectReason,e);if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new qt.b(this.editor,5,n.range);let r=this.editor.getSelection(),d=0,m=n.text.length;gt.a.isEmpty(r)||gt.a.spansMultipleLines(r)||!gt.a.containsRange(n.range,r)||(d=Math.max(0,r.startColumn-n.range.startColumn),m=Math.min(n.range.endColumn,r.endColumn)-n.range.startColumn);let O=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),re=yield this._renameInputField.value.getInput(n.range,n.text,d,m,O,this._cts.token);if(typeof re=="boolean")return void(re&&this.editor.focus());this.editor.focus();let oe=Object(Bi.j)(t.provideRenameEdits(re.newName,this._cts.token),this._cts.token).then(ce=>fc(this,void 0,void 0,function*(){ce&&this.editor.hasModel()&&(ce.rejectReason?this._notificationService.info(ce.rejectReason):this._bulkEditService.apply(ho.b.convert(ce),{editor:this.editor,showPreview:re.wantsPreview,label:G.a("label","Renaming '{0}'",n==null?void 0:n.text),quotableLabel:G.a("quotableLabel","Renaming {0}",n==null?void 0:n.text)}).then(Me=>{Me.ariaSummary&&Object(_i.a)(G.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",n.text,re.newName,Me.ariaSummary))}).catch(Me=>{this._notificationService.error(G.a("rename.failedApply","Rename failed to apply edits")),this._logService.error(Me)}))}),ce=>{this._notificationService.error(G.a("rename.failed","Rename failed to compute edits")),this._logService.error(ce)});return this._progressService.showWhile(oe,250),oe})}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};zl.ID="editor.contrib.renameController",zl=rf([gc(1,X.a),gc(2,Re.a),gc(3,ho.a),gc(4,ot.a),gc(5,Eh.b),gc(6,of.a)],zl);class sf extends $.b{constructor(){super({id:"editor.action.rename",label:G.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:A.a.and(z.a.writable,z.a.hasRenameProvider),kbOpts:{kbExpr:z.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){let n=e.get(Si.a),[r,d]=Array.isArray(t)&&t||[void 0,void 0];return Dn.a.isUri(r)&&Di.a.isIPosition(d)?n.openCodeEditor({resource:r},n.getActiveCodeEditor()).then(m=>{m&&(m.setPosition(d),m.invokeWithinContext(O=>(this.reportTelemetry(O,m),this.run(O,m))))},Oe.e):super.runCommand(e,t)}run(e,t){let n=zl.get(t);return n?n.run():Promise.resolve()}}Object($.m)(zl.ID,zl),Object($.k)(sf);let Th=$.c.bindToContribution(zl.get);Object($.l)(new Th({id:"acceptRenameInput",precondition:kd,handler:u=>u.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:z.a.focus,primary:3}})),Object($.l)(new Th({id:"acceptRenameInputWithPreview",precondition:A.a.and(kd,A.a.has("config.editor.rename.enablePreview")),handler:u=>u.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:z.a.focus,primary:1027}})),Object($.l)(new Th({id:"cancelRenameInput",precondition:kd,handler:u=>u.cancelRenameInput(),kbOpts:{weight:199,kbExpr:z.a.focus,primary:9,secondary:[1033]}})),Object($.p)("_executeDocumentRenameProvider",function(u,e,...t){let[n]=t;return Object(to.b)(typeof n=="string"),function(r,d,m){return fc(this,void 0,void 0,function*(){let O=new dp(r,d),re=yield O.resolveRenameLocation(On.a.None);return(re==null?void 0:re.rejectReason)?{edits:[],rejectReason:re.rejectReason}:O.provideRenameEdits(m,On.a.None)})}(u,e,n)}),mc.a.as(nf.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:G.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}});var af=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class as{provideSelectionRanges(e,t){return af(this,void 0,void 0,function*(){let n=[];for(let r of t){let d=[];n.push(d);let m=new Map;yield new Promise(O=>as._bracketsRightYield(O,0,e,r,m)),yield new Promise(O=>as._bracketsLeftYield(O,0,e,r,m,d))}return n})}static _bracketsRightYield(e,t,n,r,d){let m=new Map,O=Date.now();for(;;){if(t>=as._maxRounds){e();break}if(!r){e();break}let re=n.findNextBracket(r);if(!re){e();break}if(Date.now()-O>as._maxDuration){setTimeout(()=>as._bracketsRightYield(e,t+1,n,r,d));break}let oe=re.close[0];if(re.isOpen){let ce=m.has(oe)?m.get(oe):0;m.set(oe,ce+1)}else{let ce=m.has(oe)?m.get(oe):0;if(ce-=1,m.set(oe,Math.max(0,ce)),ce<0){let Me=d.get(oe);Me||(Me=new Sl.a,d.set(oe,Me)),Me.push(re.range)}}r=re.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,r,d,m){let O=new Map,re=Date.now();for(;;){if(t>=as._maxRounds&&d.size===0){e();break}if(!r){e();break}let oe=n.findPrevBracket(r);if(!oe){e();break}if(Date.now()-re>as._maxDuration){setTimeout(()=>as._bracketsLeftYield(e,t+1,n,r,d,m));break}let ce=oe.close[0];if(oe.isOpen){let Me=O.has(ce)?O.get(ce):0;if(Me-=1,O.set(ce,Math.max(0,Me)),Me<0){let Ct=d.get(ce);if(Ct){let Ut=Ct.shift();Ct.size===0&&d.delete(ce);let St=gt.a.fromPositions(oe.range.getEndPosition(),Ut.getStartPosition()),di=gt.a.fromPositions(oe.range.getStartPosition(),Ut.getEndPosition());m.push({range:St}),m.push({range:di}),as._addBracketLeading(n,di,m)}}}else{let Me=O.has(ce)?O.get(ce):0;O.set(ce,Me+1)}r=oe.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;let r=t.startLineNumber,d=e.getLineFirstNonWhitespaceColumn(r);d!==0&&d!==t.startColumn&&(n.push({range:gt.a.fromPositions(new Di.a(r,d),t.getEndPosition())}),n.push({range:gt.a.fromPositions(new Di.a(r,1),t.getEndPosition())}));let m=r-1;if(m>0){let O=e.getLineFirstNonWhitespaceColumn(m);O===t.startColumn&&O!==e.getLineLastNonWhitespaceColumn(m)&&(n.push({range:gt.a.fromPositions(new Di.a(m,O),t.getEndPosition())}),n.push({range:gt.a.fromPositions(new Di.a(m,1),t.getEndPosition())}))}}}as._maxDuration=30,as._maxRounds=2;var lf=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class Lh{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;let n=new Lh(t,this.ranges);return n.ranges[t].equalsRange(this.ranges[this.index])?n.mov(e):n}}class bc{constructor(e){this._ignoreSelection=!1,this._editor=e}static get(e){return e.getContribution(bc.ID)}dispose(){Object(Lt.f)(this._selectionListener)}run(e){if(!this._editor.hasModel())return;let t=this._editor.getSelections(),n=this._editor.getModel();if(!I.x.has(n))return;let r=Promise.resolve(void 0);return this._state||(r=up(n,t.map(d=>d.getPosition()),On.a.None).then(d=>{if(ee.o(d)&&d.length===t.length&&this._editor.hasModel()&&ee.g(this._editor.getSelections(),t,(m,O)=>m.equalsSelection(O))){for(let m=0;m<d.length;m++)d[m]=d[m].filter(O=>O.containsPosition(t[m].getStartPosition())&&O.containsPosition(t[m].getEndPosition())),d[m].unshift(t[m]);this._state=d.map(m=>new Lh(0,m)),Object(Lt.f)(this._selectionListener),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{this._ignoreSelection||(Object(Lt.f)(this._selectionListener),this._state=void 0)})}})),r.then(()=>{if(!this._state)return;this._state=this._state.map(m=>m.mov(e));let d=this._state.map(m=>J.a.fromPositions(m.ranges[m.index].getStartPosition(),m.ranges[m.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(d)}finally{this._ignoreSelection=!1}})}}bc.ID="editor.contrib.smartSelectController";class hp extends $.b{constructor(e,t){super(t),this._forward=e}run(e,t){return lf(this,void 0,void 0,function*(){let n=bc.get(t);n&&(yield n.run(this._forward))})}}Ee.a.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");function up(u,e,t){let n=I.x.all(u);n.length===1&&n.unshift(new as);let r=[],d=[];for(let m of n)r.push(Promise.resolve(m.provideSelectionRanges(u,e,t)).then(O=>{if(ee.o(O)&&O.length===e.length)for(let re=0;re<e.length;re++){d[re]||(d[re]=[]);for(let oe of O[re])gt.a.isIRange(oe.range)&>.a.containsPosition(oe.range,e[re])&&d[re].push(gt.a.lift(oe.range))}},Oe.f));return Promise.all(r).then(()=>d.map(m=>{if(m.length===0)return[];m.sort((ce,Me)=>Di.a.isBefore(ce.getStartPosition(),Me.getStartPosition())?1:Di.a.isBefore(Me.getStartPosition(),ce.getStartPosition())||Di.a.isBefore(ce.getEndPosition(),Me.getEndPosition())?-1:Di.a.isBefore(Me.getEndPosition(),ce.getEndPosition())?1:0);let O,re=[];for(let ce of m)(!O||gt.a.containsRange(ce,O)&&!gt.a.equalsRange(ce,O))&&(re.push(ce),O=ce);let oe=[re[0]];for(let ce=1;ce<re.length;ce++){let Me=re[ce-1],Ct=re[ce];if(Ct.startLineNumber!==Me.startLineNumber||Ct.endLineNumber!==Me.endLineNumber){let Ut=new gt.a(Me.startLineNumber,u.getLineFirstNonWhitespaceColumn(Me.startLineNumber),Me.endLineNumber,u.getLineLastNonWhitespaceColumn(Me.endLineNumber));Ut.containsRange(Me)&&!Ut.equalsRange(Me)&&Ct.containsRange(Ut)&&!Ct.equalsRange(Ut)&&oe.push(Ut);let St=new gt.a(Me.startLineNumber,1,Me.endLineNumber,u.getLineMaxColumn(Me.endLineNumber));St.containsRange(Me)&&!St.equalsRange(Ut)&&Ct.containsRange(St)&&!Ct.equalsRange(St)&&oe.push(St)}oe.push(Ct)}return oe}))}Object($.m)(bc.ID,bc),Object($.k)(class extends hp{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:G.a("smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"1_basic",title:G.a({key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})}}),Object($.k)(class extends hp{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:G.a("smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:ze.b.MenubarSelectionMenu,group:"1_basic",title:G.a({key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})}}),I.x.register("*",new class{provideSelectionRanges(u,e){let t=[];for(let n of e){let r=[];t.push(r),this._addInWordRanges(r,u,n),this._addWordRanges(r,u,n),this._addWhitespaceLine(r,u,n),r.push({range:u.getFullModelRange()})}return t}_addInWordRanges(u,e,t){let n=e.getWordAtPosition(t);if(!n)return;let{word:r,startColumn:d}=n,m=t.column-d,O=m,re=m,oe=0;for(;O>=0;O--){let ce=r.charCodeAt(O);if(O!==m&&(ce===95||ce===45)||Object(on.H)(ce)&&Object(on.I)(oe))break;oe=ce}for(O+=1;re<r.length;re++){let ce=r.charCodeAt(re);if(Object(on.I)(ce)&&Object(on.H)(oe)||ce===95||ce===45)break;oe=ce}O<re&&u.push({range:new gt.a(t.lineNumber,d+O,t.lineNumber,d+re)})}_addWordRanges(u,e,t){let n=e.getWordAtPosition(t);n&&u.push({range:new gt.a(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn)})}_addWhitespaceLine(u,e,t){e.getLineLength(t.lineNumber)>0&&e.getLineFirstNonWhitespaceColumn(t.lineNumber)===0&&e.getLineLastNonWhitespaceColumn(t.lineNumber)===0&&u.push({range:new gt.a(t.lineNumber,1,t.lineNumber,e.getLineMaxColumn(t.lineNumber))})}}),Object($.q)("_executeSelectionRangeProvider",function(u,...e){let[t]=e;return up(u,t,On.a.None)});class Ws{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let e,t=this.pos,n=0,r=this.value.charCodeAt(t);if(e=Ws._table[r],typeof e=="number")return this.pos+=1,{type:e,pos:t,len:1};if(Ws.isDigitCharacter(r)){e=8;do n+=1,r=this.value.charCodeAt(t+n);while(Ws.isDigitCharacter(r));return this.pos+=n,{type:e,pos:t,len:n}}if(Ws.isVariableCharacter(r)){e=9;do r=this.value.charCodeAt(t+ ++n);while(Ws.isVariableCharacter(r)||Ws.isDigitCharacter(r));return this.pos+=n,{type:e,pos:t,len:n}}e=10;do n+=1,r=this.value.charCodeAt(t+n);while(!isNaN(r)&&Ws._table[r]===void 0&&!Ws.isDigitCharacter(r)&&!Ws.isVariableCharacter(r));return this.pos+=n,{type:e,pos:t,len:n}}}Ws._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class _c{constructor(){this._children=[]}appendChild(e){return e instanceof Qr&&this._children[this._children.length-1]instanceof Qr?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){let{parent:n}=e,r=n.children.indexOf(e),d=n.children.slice(0);d.splice(r,1,...t),n._children=d,function m(O,re){for(let oe of O)oe.parent=re,m(oe.children,oe)}(t,n)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof Ed)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class Qr extends _c{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new Qr(this.value)}}class pp extends _c{}class zs extends pp{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof Fc?this._children[0]:void 0}clone(){let e=new zs(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class Fc extends _c{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof Qr&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new Fc;return this.options.forEach(e.appendChild,e),e}}class Nh extends _c{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){let t=this,n=!1,r=e.replace(this.regexp,function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!n&&this._children.some(d=>d instanceof ia&&Boolean(d.elseValue))&&(r=this._replace([])),r}_replace(e){let t="";for(let n of this._children)if(n instanceof ia){let r=e[n.index]||"";r=n.resolve(r),t+=r}else t+=n.toString();return t}toString(){return""}clone(){let e=new Nh;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(t=>t.clone()),e}}class ia extends _c{constructor(e,t,n,r){super(),this.index=e,this.shorthandName=t,this.ifValue=n,this.elseValue=r}resolve(e){return this.shorthandName==="upcase"?e?e.toLocaleUpperCase():"":this.shorthandName==="downcase"?e?e.toLocaleLowerCase():"":this.shorthandName==="capitalize"?e?e[0].toLocaleUpperCase()+e.substr(1):"":this.shorthandName==="pascalcase"?e?this._toPascalCase(e):"":Boolean(e)&&typeof this.ifValue=="string"?this.ifValue:Boolean(e)||typeof this.elseValue!="string"?e||"":this.elseValue}_toPascalCase(e){let t=e.match(/[a-z]+/gi);return t?t.map(function(n){return n.charAt(0).toUpperCase()+n.substr(1).toLowerCase()}).join(""):e}clone(){return new ia(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class Wc extends pp{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),t!==void 0&&(this._children=[new Qr(t)],!0)}clone(){let e=new Wc(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function mp(u,e){let t=[...u];for(;t.length>0;){let n=t.shift();if(!e(n))break;t.unshift(...n.children)}}class Ed extends _c{get placeholderInfo(){if(!this._placeholders){let e,t=[];this.walk(function(n){return n instanceof zs&&(t.push(n),e=!e||e.index<n.index?n:e),!0}),this._placeholders={all:t,last:e}}return this._placeholders}get placeholders(){let{all:e}=this.placeholderInfo;return e}offset(e){let t=0,n=!1;return this.walk(r=>r===e?(n=!0,!1):(t+=r.len(),!0)),n?t:-1}fullLen(e){let t=0;return mp([e],n=>(t+=n.len(),!0)),t}enclosingPlaceholders(e){let t=[],{parent:n}=e;for(;n;)n instanceof zs&&t.push(n),n=n.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof Wc&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new Ed;return this._children=this.children.map(t=>t.clone()),e}walk(e){mp(this.children,e)}}class Ih{constructor(){this._scanner=new Ws,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,n){this._scanner.text(e),this._token=this._scanner.next();let r=new Ed;for(;this._parse(r););let d=new Map,m=[],O=0;r.walk(re=>(re instanceof zs&&(O+=1,re.isFinalTabstop?d.set(0,void 0):!d.has(re.index)&&re.children.length>0?d.set(re.index,re.children):m.push(re)),!0));for(let re of m){let oe=d.get(re.index);if(oe){let ce=new zs(re.index);ce.transform=re.transform;for(let Me of oe)ce.appendChild(Me.clone());r.replace(re,[ce])}}return n||(n=O>0&&t),!d.has(0)&&n&&r.appendChild(new zs(0)),r}_accept(e,t){if(e===void 0||this._token.type===e){let n=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),n}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){let t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){let r=this._scanner.next();if(r.type!==0&&r.type!==4&&r.type!==5)return!1}this._token=this._scanner.next()}let n=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),n}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new Qr(t)),!0)}_parseTabstopOrVariableName(e){let t,n=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new zs(Number(t)):new Wc(t)),!0):this._backTo(n)}_parseComplexPlaceholder(e){let t,n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(n);let r=new zs(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(r),!0;if(!this._parse(r))return e.appendChild(new Qr("${"+t+":")),r.children.forEach(e.appendChild,e),!0}else{if(!(r.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(r)?(e.appendChild(r),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(r),!0):this._backTo(n);{let d=new Fc;for(;;){if(this._parseChoiceElement(d)){if(this._accept(2))continue;if(this._accept(7)&&(r.appendChild(d),this._accept(4)))return e.appendChild(r),!0}return this._backTo(n),!1}}}}_parseChoiceElement(e){let t=this._token,n=[];for(;this._token.type!==2&&this._token.type!==7;){let r;if(r=(r=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||r:this._accept(void 0,!0),!r)return this._backTo(t),!1;n.push(r)}return n.length===0?(this._backTo(t),!1):(e.appendChild(new Qr(n.join(""))),!0)}_parseComplexVariable(e){let t,n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(n);let r=new Wc(t);if(!this._accept(1))return this._accept(6)?this._parseTransform(r)?(e.appendChild(r),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(r),!0):this._backTo(n);for(;;){if(this._accept(4))return e.appendChild(r),!0;if(!this._parse(r))return e.appendChild(new Qr("${"+t+":")),r.children.forEach(e.appendChild,e),!0}}_parseTransform(e){let t=new Nh,n="",r="";for(;!this._accept(6);){let d;if(d=this._accept(5,!0))d=this._accept(6,!0)||d,n+=d;else{if(this._token.type===14)return!1;n+=this._accept(void 0,!0)}}for(;!this._accept(6);){let d;if(d=this._accept(5,!0))d=this._accept(5,!0)||this._accept(6,!0)||d,t.appendChild(new Qr(d));else if(!this._parseFormatString(t)&&!this._parseAnything(t))return!1}for(;!this._accept(4);){if(this._token.type===14)return!1;r+=this._accept(void 0,!0)}try{t.regexp=new RegExp(n,r)}catch(d){return!1}return e.transform=t,!0}_parseFormatString(e){let t=this._token;if(!this._accept(0))return!1;let n=!1;this._accept(3)&&(n=!0);let r=this._accept(8,!0);if(!r)return this._backTo(t),!1;if(!n)return e.appendChild(new ia(Number(r))),!0;if(this._accept(4))return e.appendChild(new ia(Number(r))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let d=this._accept(9,!0);return d&&this._accept(4)?(e.appendChild(new ia(Number(r),d)),!0):(this._backTo(t),!1)}if(this._accept(11)){let d=this._until(4);if(d)return e.appendChild(new ia(Number(r),void 0,d,void 0)),!0}else if(this._accept(12)){let d=this._until(4);if(d)return e.appendChild(new ia(Number(r),void 0,void 0,d)),!0}else if(this._accept(13)){let d=this._until(1);if(d){let m=this._until(4);if(m)return e.appendChild(new ia(Number(r),void 0,d,m)),!0}}else{let d=this._until(4);if(d)return e.appendChild(new ia(Number(r),void 0,void 0,d)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14&&(e.appendChild(new Qr(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}var zc=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let co={Visible:new A.c("suggestWidgetVisible",!1),DetailsVisible:new A.c("suggestWidgetDetailsVisible",!1),MultipleSuggestions:new A.c("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new A.c("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new A.c("acceptSuggestionOnEnter",!0),HasInsertAndReplaceRange:new A.c("suggestionHasInsertAndReplaceRange",!1),CanResolve:new A.c("suggestionCanResolve",!1)},dl=new ze.b("suggestWidgetStatusBar");class cf{constructor(e,t,n,r){this.position=e,this.completion=t,this.container=n,this.provider=r,this.isInvalid=!1,this.score=kn.a.Default,this.distance=0,this.textLabel=typeof t.label=="string"?t.label:t.label.name,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),gt.a.isIRange(t.range)?(this.editStart=new Di.a(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new Di.a(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new Di.a(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||gt.a.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new Di.a(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new Di.a(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new Di.a(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||gt.a.spansMultipleLines(t.range.insert)||gt.a.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),typeof r.resolveCompletionItem!="function"&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return zc(this,void 0,void 0,function*(){if(!this._resolveCache){let t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(n=>{Object.assign(this.completion,n),this._isResolved=!0,t.dispose()},n=>{Object(Oe.d)(n)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache})}}class Td{constructor(e=2,t=new Set,n=new Set){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n}}Td.default=new Td;class df{constructor(e,t,n){this.items=e,this.needsClipboard=t,this.dispoables=n}}function gp(u,e,t=Td.default,n={triggerKind:0},r=On.a.None){return zc(this,void 0,void 0,function*(){e=e.clone();let d=u.getWordAtPosition(e),m=d?new gt.a(e.lineNumber,d.startColumn,e.lineNumber,d.endColumn):gt.a.fromPositions(e),O={replace:m,insert:m.setEndPosition(e.lineNumber,e.column)},re=[],oe=new Lt.b,ce=!1,Me=(Ut,St)=>{if(St){for(let di of St.suggestions)t.kindFilter.has(di.kind)||(di.range||(di.range=O),di.sortText||(di.sortText=typeof di.label=="string"?di.label:di.label.name),!ce&&di.insertTextRules&&4&di.insertTextRules&&(ce=Ih.guessNeedsClipboard(di.insertText)),re.push(new cf(e,di,St,Ut)));Object(Lt.g)(St)&&oe.add(St)}},Ct=(()=>zc(this,void 0,void 0,function*(){}))();for(let Ut of I.d.orderedGroups(u)){let St=re.length;if(yield Promise.all(Ut.map(di=>zc(this,void 0,void 0,function*(){if(!(t.providerFilter.size>0)||t.providerFilter.has(di))try{let hi=yield di.provideCompletionItems(u,e,n,r);Me(di,hi)}catch(hi){Object(Oe.f)(hi)}}))),St!==re.length||r.isCancellationRequested)break}return yield Ct,r.isCancellationRequested?(oe.dispose(),Promise.reject(Object(Oe.a)())):new df(re.sort(fp(t.snippetSortOrder)),ce,oe)})}function Oh(u,e){if(u.sortTextLow&&e.sortTextLow){if(u.sortTextLow<e.sortTextLow)return-1;if(u.sortTextLow>e.sortTextLow)return 1}return u.completion.label<e.completion.label?-1:u.completion.label>e.completion.label?1:u.completion.kind-e.completion.kind}let Ld=new Map;function fp(u){return Ld.get(u)}Ld.set(0,function(u,e){if(u.completion.kind!==e.completion.kind){if(u.completion.kind===27)return-1;if(e.completion.kind===27)return 1}return Oh(u,e)}),Ld.set(2,function(u,e){if(u.completion.kind!==e.completion.kind){if(u.completion.kind===27)return 1;if(e.completion.kind===27)return-1}return Oh(u,e)}),Ld.set(1,Oh),Object($.j)("_executeCompletionItemProvider",(u,e,t)=>zc(void 0,void 0,void 0,function*(){let n={incomplete:!1,suggestions:[]},r=[],d=t.maxItemsToResolve||0,m=yield gp(u,e);for(let O of m.items)r.length<d&&r.push(O.resolve(On.a.None)),n.incomplete=n.incomplete||O.container.incomplete,n.suggestions.push(O.completion);try{return yield Promise.all(r),n}finally{setTimeout(()=>m.dispoables.dispose(),100)}}));let Dh=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){let u={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,u}};I.d.register("*",Dh),o(325);var hf=o(169);function bp(u){return u instanceof Dn.a}class uf{constructor(e){this._delegates=e}resolve(e){for(let t of this._delegates){let n=t.resolve(e);if(n!==void 0)return n}}}class pf{constructor(e,t,n,r){this._model=e,this._selection=t,this._selectionIdx=n,this._overtypingCapturer=r}resolve(e){let{name:t}=e;if(t==="SELECTION"||t==="TM_SELECTED_TEXT"){let n=this._model.getValueInRange(this._selection)||void 0,r=this._selection.startLineNumber!==this._selection.endLineNumber;if(!n&&this._overtypingCapturer){let d=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);d&&(n=d.value,r=d.multiline)}if(n&&r&&e.snippet){let d=this._model.getLineContent(this._selection.startLineNumber),m=Object(on.z)(d,0,this._selection.startColumn-1),O=m;e.snippet.walk(oe=>oe!==e&&(oe instanceof Qr&&(O=Object(on.z)(oe.value.split(/\r\n|\r|\n/).pop())),!0));let re=Object(on.d)(O,m);n=n.replace(/(\r\n|\r|\n)(.*)/g,(oe,ce,Me)=>`${ce}${O.substr(re)}${Me}`)}return n}if(t==="TM_CURRENT_LINE")return this._model.getLineContent(this._selection.positionLineNumber);if(t==="TM_CURRENT_WORD"){let n=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return n&&n.word||void 0}return t==="TM_LINE_INDEX"?String(this._selection.positionLineNumber-1):t==="TM_LINE_NUMBER"?String(this._selection.positionLineNumber):void 0}}class mf{constructor(e,t){this._labelService=e,this._model=t}resolve(e){let{name:t}=e;if(t==="TM_FILENAME")return mt.a(this._model.uri.fsPath);if(t==="TM_FILENAME_BASE"){let n=mt.a(this._model.uri.fsPath),r=n.lastIndexOf(".");return r<=0?n:n.slice(0,r)}return t==="TM_DIRECTORY"&&this._labelService?mt.b(this._model.uri.fsPath)==="."?"":this._labelService.getUriLabel(Object(Be.d)(this._model.uri)):t==="TM_FILEPATH"&&this._labelService?this._labelService.getUriLabel(this._model.uri):void 0}}class gf{constructor(e,t,n,r){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=r}resolve(e){if(e.name!=="CLIPBOARD")return;let t=this._readClipboardText();if(t){if(this._spread){let n=t.split(/\r\n|\n|\r/).filter(r=>!Object(on.D)(r));if(n.length===this._selectionCount)return n[this._selectionIdx]}return t}}}class ff{constructor(e,t){this._model=e,this._selection=t}resolve(e){let{name:t}=e,n=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),r=Oo.a.getComments(n);if(r)return t==="LINE_COMMENT"?r.lineCommentToken||void 0:t==="BLOCK_COMMENT_START"?r.blockCommentStartToken||void 0:t==="BLOCK_COMMENT_END"&&r.blockCommentEndToken||void 0}}class ba{resolve(e){let{name:t}=e;return t==="CURRENT_YEAR"?String(new Date().getFullYear()):t==="CURRENT_YEAR_SHORT"?String(new Date().getFullYear()).slice(-2):t==="CURRENT_MONTH"?String(new Date().getMonth().valueOf()+1).padStart(2,"0"):t==="CURRENT_DATE"?String(new Date().getDate().valueOf()).padStart(2,"0"):t==="CURRENT_HOUR"?String(new Date().getHours().valueOf()).padStart(2,"0"):t==="CURRENT_MINUTE"?String(new Date().getMinutes().valueOf()).padStart(2,"0"):t==="CURRENT_SECOND"?String(new Date().getSeconds().valueOf()).padStart(2,"0"):t==="CURRENT_DAY_NAME"?ba.dayNames[new Date().getDay()]:t==="CURRENT_DAY_NAME_SHORT"?ba.dayNamesShort[new Date().getDay()]:t==="CURRENT_MONTH_NAME"?ba.monthNames[new Date().getMonth()]:t==="CURRENT_MONTH_NAME_SHORT"?ba.monthNamesShort[new Date().getMonth()]:t==="CURRENT_SECONDS_UNIX"?String(Math.floor(Date.now()/1e3)):void 0}}ba.dayNames=[G.a("Sunday","Sunday"),G.a("Monday","Monday"),G.a("Tuesday","Tuesday"),G.a("Wednesday","Wednesday"),G.a("Thursday","Thursday"),G.a("Friday","Friday"),G.a("Saturday","Saturday")],ba.dayNamesShort=[G.a("SundayShort","Sun"),G.a("MondayShort","Mon"),G.a("TuesdayShort","Tue"),G.a("WednesdayShort","Wed"),G.a("ThursdayShort","Thu"),G.a("FridayShort","Fri"),G.a("SaturdayShort","Sat")],ba.monthNames=[G.a("January","January"),G.a("February","February"),G.a("March","March"),G.a("April","April"),G.a("May","May"),G.a("June","June"),G.a("July","July"),G.a("August","August"),G.a("September","September"),G.a("October","October"),G.a("November","November"),G.a("December","December")],ba.monthNamesShort=[G.a("JanuaryShort","Jan"),G.a("FebruaryShort","Feb"),G.a("MarchShort","Mar"),G.a("AprilShort","Apr"),G.a("MayShort","May"),G.a("JuneShort","Jun"),G.a("JulyShort","Jul"),G.a("AugustShort","Aug"),G.a("SeptemberShort","Sep"),G.a("OctoberShort","Oct"),G.a("NovemberShort","Nov"),G.a("DecemberShort","Dec")];class bf{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;let t=function(n){return n.configuration?{configPath:n.configuration,id:n.id}:n.folders.length===1?n.folders[0].uri:void 0}(this._workspaceService.getWorkspace());return t?e.name==="WORKSPACE_NAME"?this._resolveWorkspaceName(t):e.name==="WORKSPACE_FOLDER"?this._resoveWorkspacePath(t):void 0:void 0}_resolveWorkspaceName(e){if(bp(e))return mt.a(e.path);let t=mt.a(e.configPath.path);return t.endsWith("code-workspace")&&(t=t.substr(0,t.length-"code-workspace".length-1)),t}_resoveWorkspacePath(e){if(bp(e))return en(e.fsPath);let t=mt.a(e.configPath.path),n=e.configPath.fsPath;return n.endsWith(t)&&(n=n.substr(0,n.length-t.length-1)),n?en(n):"/"}}class _f{resolve(e){let{name:t}=e;return t==="RANDOM"?Math.random().toString().slice(-6):t==="RANDOM_HEX"?Math.random().toString(16).slice(-6):void 0}}Object(ut.g)((u,e)=>{function t(n){let r=u.getColor(n);return r?r.toString():"transparent"}e.addRule(`.monaco-editor .snippet-placeholder { background-color: ${t(Ue.oc)}; outline-color: ${t(Ue.pc)}; }`),e.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${t(Ue.mc)}; outline-color: ${t(Ue.nc)}; }`)});class Bs{constructor(e,t,n){this._nestingLevel=1,this._editor=e,this._snippet=t,this._offset=n,this._placeholderGroups=Object(ee.m)(t.placeholders,zs.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;let e=this._editor.getModel();this._editor.changeDecorations(t=>{for(let n of this._snippet.placeholders){let r=this._snippet.offset(n),d=this._snippet.fullLen(n),m=gt.a.fromPositions(e.getPositionAt(this._offset+r),e.getPositionAt(this._offset+r+d)),O=n.isFinalTabstop?Bs._decor.inactiveFinal:Bs._decor.inactive,re=t.addDecoration(m,O);this._placeholderDecorations.set(n,re)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let r=[];for(let d of this._placeholderGroups[this._placeholderGroupsIdx])if(d.transform){let m=this._placeholderDecorations.get(d),O=this._editor.getModel().getDecorationRange(m),re=this._editor.getModel().getValueInRange(O);r.push(Cn.a.replaceMove(O,d.transform.resolve(re)))}r.length>0&&this._editor.executeEdits("snippet.placeholderTransform",r)}let t=!1;e===!0&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,t=!0):e===!1&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,t=!0);let n=this._editor.getModel().changeDecorations(r=>{let d=new Set,m=[];for(let O of this._placeholderGroups[this._placeholderGroupsIdx]){let re=this._placeholderDecorations.get(O),oe=this._editor.getModel().getDecorationRange(re);m.push(new J.a(oe.startLineNumber,oe.startColumn,oe.endLineNumber,oe.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(O),r.changeDecorationOptions(re,O.isFinalTabstop?Bs._decor.activeFinal:Bs._decor.active),d.add(O);for(let ce of this._snippet.enclosingPlaceholders(O)){let Me=this._placeholderDecorations.get(ce);r.changeDecorationOptions(Me,ce.isFinalTabstop?Bs._decor.activeFinal:Bs._decor.active),d.add(ce)}}for(let[O,re]of this._placeholderDecorations)d.has(O)||r.changeDecorationOptions(re,O.isFinalTabstop?Bs._decor.inactiveFinal:Bs._decor.inactive);return m});return t?this.move(e):n??[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof zs){let n=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(n).isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||this._placeholderGroups.length===0}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}computePossibleSelections(){let e=new Map;for(let t of this._placeholderGroups){let n;for(let r of t){if(r.isFinalTabstop)break;n||(n=[],e.set(r.index,n));let d=this._placeholderDecorations.get(r),m=this._editor.getModel().getDecorationRange(d);if(!m){e.delete(r.index);break}n.push(m)}}return e}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(e){let t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(n=>{for(let r of this._placeholderGroups[this._placeholderGroupsIdx]){let d=e.shift();console.assert(!d._placeholderDecorations);let m=d._snippet.placeholderInfo.last.index;for(let re of d._snippet.placeholderInfo.all)re.isFinalTabstop?re.index=r.index+(m+1)/this._nestingLevel:re.index=r.index+re.index/this._nestingLevel;this._snippet.replace(r,d._snippet.children);let O=this._placeholderDecorations.get(r);n.removeDecoration(O),this._placeholderDecorations.delete(r);for(let re of d._snippet.placeholders){let oe=d._snippet.offset(re),ce=d._snippet.fullLen(re),Me=gt.a.fromPositions(t.getPositionAt(d._offset+oe),t.getPositionAt(d._offset+oe+ce)),Ct=n.addDecoration(Me,Bs._decor.inactive);this._placeholderDecorations.set(re,Ct)}}this._placeholderGroups=Object(ee.m)(this._snippet.placeholders,zs.compareByIndex)})}}Bs._decor={active:Rt.a.register({stickiness:0,className:"snippet-placeholder"}),inactive:Rt.a.register({stickiness:1,className:"snippet-placeholder"}),activeFinal:Rt.a.register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:Rt.a.register({stickiness:1,className:"finish-snippet-placeholder"})};let _p={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class ja{constructor(e,t,n=_p){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}static adjustWhitespace(e,t,n,r,d){let m=e.getLineContent(t.lineNumber),O=Object(on.z)(m,0,t.column-1);n.walk(re=>{if(re instanceof Qr&&!(re.parent instanceof Fc)){let oe=re.value.split(/\r\n|\r|\n/);if(r)for(let ce=1;ce<oe.length;ce++){let Me=Object(on.z)(oe[ce]);oe[ce]=e.normalizeIndentation(O+Me)+oe[ce].substr(Me.length)}if(d){let ce=oe.join(e.getEOL());ce!==re.value&&re.parent.replace(re,[new Qr(ce)])}}return!0})}static adjustSelection(e,t,n,r){if(n!==0||r!==0){let{positionLineNumber:d,positionColumn:m}=t,O=m-n,re=m+r,oe=e.validateRange({startLineNumber:d,startColumn:O,endLineNumber:d,endColumn:re});t=J.a.createWithDirection(oe.startLineNumber,oe.startColumn,oe.endLineNumber,oe.endColumn,t.getDirection())}return t}static createEditsAndSnippets(e,t,n,r,d,m,O,re){let oe=[],ce=[];if(!e.hasModel())return{edits:oe,snippets:ce};let Me=e.getModel(),Ct=e.invokeWithinContext(Ki=>Ki.get(hf.a,X.d)),Ut=e.invokeWithinContext(Ki=>new mf(Ki.get(De.a,X.d),Me)),St=()=>O,di=0,hi=Me.getValueInRange(ja.adjustSelection(Me,e.getSelection(),n,0)),ji=Me.getValueInRange(ja.adjustSelection(Me,e.getSelection(),0,r)),Ji=Me.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber),dn=e.getSelections().map((Ki,yn)=>({selection:Ki,idx:yn})).sort((Ki,yn)=>gt.a.compareRangesUsingStarts(Ki.selection,yn.selection));for(let{selection:Ki,idx:yn}of dn){let hn=ja.adjustSelection(Me,Ki,n,0),Qi=ja.adjustSelection(Me,Ki,0,r);hi!==Me.getValueInRange(hn)&&(hn=Ki),ji!==Me.getValueInRange(Qi)&&(Qi=Ki);let fn=Ki.setStartPosition(hn.startLineNumber,hn.startColumn).setEndPosition(Qi.endLineNumber,Qi.endColumn),$n=new Ih().parse(t,!0,d),bo=fn.getStartPosition();ja.adjustWhitespace(Me,bo,$n,m||yn>0&&Ji!==Me.getLineFirstNonWhitespaceColumn(Ki.positionLineNumber),!0),$n.resolveVariables(new uf([Ut,new gf(St,yn,dn.length,e.getOption(62)==="spread"),new pf(Me,Ki,yn,re),new ff(Me,Ki),new ba,new bf(Ct),new _f]));let zr=Me.getOffsetAt(bo)+di;di+=$n.toString().length-Me.getValueLengthInRange(fn),oe[yn]=Cn.a.replace(fn,$n.toString()),oe[yn].identifier={major:yn,minor:0},ce[yn]=new Bs(e,$n,zr)}return{edits:oe,snippets:ce}}dispose(){Object(Lt.f)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;let{edits:e,snippets:t}=ja.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=t,this._editor.executeEdits("snippet",e,n=>this._snippets[0].hasPlaceholder?this._move(!0):n.filter(r=>!!r.identifier).map(r=>J.a.fromPositions(r.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=_p){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);let{edits:n,snippets:r}=ja.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",n,d=>{for(let m of this._snippets)m.merge(r);return console.assert(r.length===0),this._snippets[0].hasPlaceholder?this._move(void 0):d.filter(m=>!!m.identifier).map(m=>J.a.fromPositions(m.range.getEndPosition()))})}next(){let e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){let e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){let t=[];for(let n of this._snippets){let r=n.move(e);t.push(...r)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;let e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;let t=new Map;for(let n of this._snippets){let r=n.computePossibleSelections();if(t.size===0)for(let[d,m]of r){m.sort(gt.a.compareRangesUsingStarts);for(let O of e)if(m[0].containsRange(O)){t.set(d,[]);break}}if(t.size===0)return!1;t.forEach((d,m)=>{d.push(...r.get(m))})}e.sort(gt.a.compareRangesUsingStarts);for(let[n,r]of t)if(r.length===e.length){r.sort(gt.a.compareRangesUsingStarts);for(let d=0;d<r.length;d++)r[d].containsRange(e[d])||t.delete(n)}else t.delete(n);return t.size>0}}var vf=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},vp=function(u,e){return function(t,n){e(t,n,u)}};let wp={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0},ir=class td{constructor(e,t,n){this._editor=e,this._logService=t,this._snippetListener=new Lt.b,this._modelVersionId=-1,this._inSnippet=td.InSnippetMode.bindTo(n),this._hasNextTabstop=td.HasNextTabstop.bindTo(n),this._hasPrevTabstop=td.HasPrevTabstop.bindTo(n)}static get(e){return e.getContribution(td.ID)}dispose(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(Lt.f)(this._session),this._snippetListener.dispose()}insert(e,t){try{this._doInsert(e,t===void 0?wp:Object.assign(Object.assign({},wp),t))}catch(n){this.cancel(),this._logService.error(n),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new ja(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(n=>n.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState())))}_updateState(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);let{choice:e}=this._session;var t,n;if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map(d=>J.a.fromPositions(d.getStartPosition())));let[r]=e.options;t=this._editor,n=e.options.map((d,m)=>({kind:13,label:d.value,insertText:d.value,sortText:"a".repeat(m+1),range:gt.a.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,r.value.length))})),setTimeout(()=>{Dh.onlyOnceSuggestions.push(...n),t.getContribution("editor.contrib.suggestController").triggerSuggest(new Set().add(Dh))},0)}}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(Lt.f)(this._session),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};ir.ID="snippetController2",ir.InSnippetMode=new A.c("inSnippetMode",!1),ir.HasNextTabstop=new A.c("hasNextTabstop",!1),ir.HasPrevTabstop=new A.c("hasPrevTabstop",!1),ir=vf([vp(1,Eh.b),vp(2,A.b)],ir),Object($.m)(ir.ID,ir);let Nd=$.c.bindToContribution(ir.get);Object($.l)(new Nd({id:"jumpToNextSnippetPlaceholder",precondition:A.a.and(ir.InSnippetMode,ir.HasNextTabstop),handler:u=>u.next(),kbOpts:{weight:130,kbExpr:z.a.editorTextFocus,primary:2}})),Object($.l)(new Nd({id:"jumpToPrevSnippetPlaceholder",precondition:A.a.and(ir.InSnippetMode,ir.HasPrevTabstop),handler:u=>u.prev(),kbOpts:{weight:130,kbExpr:z.a.editorTextFocus,primary:1026}})),Object($.l)(new Nd({id:"leaveSnippet",precondition:ir.InSnippetMode,handler:u=>u.cancel(!0),kbOpts:{weight:130,kbExpr:z.a.editorTextFocus,primary:9,secondary:[1033]}})),Object($.l)(new Nd({id:"acceptSnippet",precondition:ir.InSnippetMode,handler:u=>u.finish()}));var wf=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Ah=function(u,e){return function(t,n){e(t,n,u)}};class Rh{constructor(e){this.name=e}select(e,t,n){if(n.length===0)return 0;let r=n[0].score[0];for(let d=0;d<n.length;d++){let{score:m,completion:O}=n[d];if(m[0]!==r)break;if(O.preselect)return d}return 0}}class yp extends Rh{constructor(){super("first")}memorize(e,t,n){}toJSON(){}fromJSON(){}}let Bc=class $d{constructor(e,t,n){this._storageService=e,this._modeService=t,this._configService=n,this._disposables=new Lt.b,this._persistSoon=new Bi.d(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(r=>{r.reason===Qn.c.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,n){this._withStrategy(e,t).memorize(e,t,n),this._persistSoon.schedule()}select(e,t,n){return this._withStrategy(e,t).select(e,t,n)}_withStrategy(e,t){var n,r;let d=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:(n=this._modeService.getLanguageIdentifier(e.getLanguageIdAtPosition(t.lineNumber,t.column)))===null||n===void 0?void 0:n.language,resource:e.uri});if(((r=this._strategy)===null||r===void 0?void 0:r.name)!==d){this._saveState();let m=$d._strategyCtors.get(d)||yp;this._strategy=new m;try{let O=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,re=this._storageService.get(`${$d._storagePrefix}/${d}`,O);re&&this._strategy.fromJSON(JSON.parse(re))}catch(O){}}return this._strategy}_saveState(){if(this._strategy){let e=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,t=JSON.stringify(this._strategy);this._storageService.store(`${$d._storagePrefix}/${this._strategy.name}`,t,e)}}};Bc._strategyCtors=new Map([["recentlyUsedByPrefix",class extends Rh{constructor(){super("recentlyUsedByPrefix"),this._trie=Rn.c.forStrings(),this._seq=0}memorize(u,e,t){let{word:n}=u.getWordUntilPosition(e),r=`${u.getLanguageIdentifier().language}/${n}`;this._trie.set(r,{type:t.completion.kind,insertText:t.completion.insertText,touch:this._seq++})}select(u,e,t){let{word:n}=u.getWordUntilPosition(e);if(!n)return super.select(u,e,t);let r=`${u.getLanguageIdentifier().language}/${n}`,d=this._trie.get(r);if(d||(d=this._trie.findSubstr(r)),d)for(let m=0;m<t.length;m++){let{kind:O,insertText:re}=t[m].completion;if(O===d.type&&re===d.insertText)return m}return super.select(u,e,t)}toJSON(){let u=[];return this._trie.forEach((e,t)=>u.push([t,e])),u.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),u.slice(0,200)}fromJSON(u){if(this._trie.clear(),u.length>0){this._seq=u[0][1].touch+1;for(let[e,t]of u)t.type=typeof t.type=="number"?t.type:Object(I.E)(t.type),this._trie.set(e,t)}}}],["recentlyUsed",class extends Rh{constructor(){super("recentlyUsed"),this._cache=new Rn.a(300,.66),this._seq=0}memorize(u,e,t){let{label:n}=t.completion,r=`${u.getLanguageIdentifier().language}/${n}`;this._cache.set(r,{touch:this._seq++,type:t.completion.kind,insertText:t.completion.insertText})}select(u,e,t){if(t.length===0)return 0;let n=u.getLineContent(e.lineNumber).substr(e.column-10,e.column-1);if(/\s$/.test(n))return super.select(u,e,t);let r=t[0].score[0],d=-1,m=-1,O=-1;for(let re=0;re<t.length&&t[re].score[0]===r;re++){let oe=`${u.getLanguageIdentifier().language}/${t[re].completion.label}`,ce=this._cache.peek(oe);if(ce&&ce.touch>O&&ce.type===t[re].completion.kind&&ce.insertText===t[re].completion.insertText&&(O=ce.touch,m=re),t[re].completion.preselect&&d===-1)return re}return m!==-1?m:d!==-1?d:0}toJSON(){return this._cache.toJSON()}fromJSON(u){this._cache.clear();for(let[e,t]of u)t.touch=0,t.type=typeof t.type=="number"?t.type:Object(I.E)(t.type),this._cache.set(e,t);this._seq=this._cache.size}}],["first",yp]]),Bc._storagePrefix="suggest/memories",Bc=wf([Ah(0,Qn.a),Ah(1,nl.a),Ah(2,Eo.a)],Bc);let Cp=Object(X.c)("ISuggestMemories");Object(In.b)(Cp,Bc,!0);var yf=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Cf=function(u,e){return function(t,n){e(t,n,u)}};let Bl=class Kd{constructor(e,t){this._editor=e,this._index=0,this._ckOtherSuggestions=Kd.OtherSuggestions.bindTo(t)}dispose(){this.reset()}reset(){this._ckOtherSuggestions.reset(),Object(Lt.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:e,index:t},n){if(e.items.length===0)return void this.reset();Kd._moveIndex(!0,e,t)!==t?(this._acceptNext=n,this._model=e,this._index=t,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)):this.reset()}static _moveIndex(e,t,n){let r=n;for(;r=(r+t.items.length+(e?1:-1))%t.items.length,r!==n&&t.items[r].completion.additionalTextEdits;);return r}next(){this._move(!0)}prev(){this._move(!1)}_move(e){if(this._model)try{this._ignore=!0,this._index=Kd._moveIndex(e,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};Bl.OtherSuggestions=new A.c("hasOtherSuggestions",!1),Bl=yf([Cf(1,A.b)],Bl);class jl{constructor(e,t,n,r,d,m,O){this.clipboardText=O,this._snippetCompareFn=jl._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=r,this._options=d,this._refilterKind=1,this._lineContext=n,m==="top"?this._snippetCompareFn=jl._compareCompletionItemsSnippetsUp:m==="bottom"&&(this._snippetCompareFn=jl._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}get allProvider(){return this._ensureCachedState(),this._allProvider}get incomplete(){return this._ensureCachedState(),this._isIncomplete}adopt(e){let t=[];for(let n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._isIncomplete=new Set,this._allProvider=new Set,this._stats={suggestionCount:0,snippetCount:0,textCount:0};let{leadingLineContent:e,characterCountDelta:t}=this._lineContext,n="",r="",d=this._refilterKind===1?this._items:this._filteredItems,m=[],O=!this._options.filterGraceful||d.length>2e3?kn.d:kn.e;for(let re=0;re<d.length;re++){let oe=d[re];if(oe.isInvalid)continue;oe.container.incomplete&&this._isIncomplete.add(oe.provider),this._allProvider.add(oe.provider);let ce=oe.position.column-oe.editStart.column,Me=ce+t-(oe.position.column-this._column);if(n.length!==Me&&(n=Me===0?"":e.slice(-Me),r=n.toLowerCase()),oe.word=n,Me===0)oe.score=kn.a.Default;else{let Ct=0;for(;Ct<ce;){let St=n.charCodeAt(Ct);if(St!==32&&St!==9)break;Ct+=1}let Ut=typeof oe.completion.label=="string"?oe.completion.label:oe.completion.label.name;if(Ct>=Me)oe.score=kn.a.Default;else if(typeof oe.completion.filterText=="string"){let St=O(n,r,Ct,oe.completion.filterText,oe.filterTextLow,0,!1);if(!St)continue;Object(on.g)(oe.completion.filterText,Ut)===0?oe.score=St:(oe.score=Object(kn.b)(n,r,Ct,Ut,oe.labelLow,0),oe.score[0]=St[0])}else{let St=O(n,r,Ct,Ut,oe.labelLow,0,!1);if(!St)continue;oe.score=St}}switch(oe.idx=re,oe.distance=this._wordDistance.distance(oe.position,oe.completion),m.push(oe),this._stats.suggestionCount++,oe.completion.kind){case 27:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=m.sort(this._snippetCompareFn),this._refilterKind=0}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(e.completion.kind===27)return 1;if(t.completion.kind===27)return-1}return jl._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(e.completion.kind===27)return-1;if(t.completion.kind===27)return 1}return jl._compareCompletionItems(e,t)}}var xf=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class _a{static create(e,t){return xf(this,void 0,void 0,function*(){if(!t.getOption(96).localityBonus||!t.hasModel())return _a.None;let n=t.getModel(),r=t.getPosition();if(!e.canComputeWordRanges(n.uri))return _a.None;let[d]=yield new as().provideSelectionRanges(n,[r]);if(d.length===0)return _a.None;let m=yield e.computeWordRanges(n.uri,d[0].range);if(!m)return _a.None;let O=n.getWordUntilPosition(r);return delete m[O.word],new class extends _a{distance(re,oe){if(!r.equals(t.getPosition()))return 0;if(oe.kind===17)return 2<<20;let ce=typeof oe.label=="string"?oe.label:oe.label.name,Me=m[ce];if(Object(ee.n)(Me))return 2<<20;let Ct=Object(ee.c)(Me,gt.a.fromPositions(re),gt.a.compareRangesUsingStarts),Ut=Ct>=0?Me[Ct]:Me[Math.max(0,~Ct-1)],St=d.length;for(let di of d){if(!gt.a.containsRange(di.range,Ut))break;St-=1}return St}}})}}_a.None=new class extends _a{distance(){return 0}};var Sf=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class jc{constructor(e,t,n,r){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=n,this.shy=r}static shouldAutoTrigger(e){if(!e.hasModel())return!1;let t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);let r=t.getWordAtPosition(n);return!!r&&r.endColumn===n.column&&!!isNaN(Number(r.word))}}class Mh{constructor(e,t,n){this._editor=e,this._editorWorkerService=t,this._clipboardService=n,this._toDispose=new Lt.b,this._quickSuggestDelay=10,this._triggerCharacterListener=new Lt.b,this._triggerQuickSuggest=new Bi.e,this._state=0,this._completionDisposables=new Lt.b,this._onDidCancel=new rt.a,this._onDidTrigger=new rt.a,this._onDidSuggest=new rt.a,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._currentSelection=this._editor.getSelection()||new J.a(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()})),this._toDispose.add(I.d.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(d=>{this._onCursorChange(d)}));let r=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{r=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{r=!1,this._refilterCompletionItems()})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{r||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){Object(Lt.f)(this._triggerCharacterListener),Object(Lt.f)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(71),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&this._quickSuggestDelay!==0||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(72)||!this._editor.hasModel()||!this._editor.getOption(99))return;let e=new Map;for(let n of I.d.all(this._editor.getModel()))for(let r of n.triggerCharacters||[]){let d=e.get(r);d||(d=new Set,d.add(void 0),e.set(r,d)),d.add(n)}let t=n=>{var r;if(!n){let O=this._editor.getPosition();n=this._editor.getModel().getLineContent(O.lineNumber).substr(0,O.column-1)}let d="";Object(on.G)(n.charCodeAt(n.length-1))?Object(on.F)(n.charCodeAt(n.length-2))&&(d=n.substr(n.length-2)):d=n.charAt(n.length-1);let m=e.get(d);if(m){let O=(r=this._completionModel)===null||r===void 0?void 0:r.adopt(m);this.trigger({auto:!0,shy:!1,triggerCharacter:d},Boolean(this._completionModel),m,O)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(t))}get state(){return this._state}cancel(e=!1){this._state!==0&&(this._triggerQuickSuggest.cancel(),this._requestToken&&(this._requestToken.cancel(),this._requestToken=void 0),this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._state!==0&&(this._editor.hasModel()&&I.d.has(this._editor.getModel())?this.trigger({auto:this._state===2,shy:!1},!0):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;let t=this._editor.getModel(),n=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||e.reason!==0||e.source!=="keyboard"&&e.source!=="deleteLeft")this.cancel();else if(I.d.has(t)&&this._state===0){if(this._editor.getOption(70)===!1||!n.containsRange(this._currentSelection)&&!n.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition())||this._editor.getOption(96).snippetsPreventQuickSuggestions&&ir.get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._state!==0||!jc.shouldAutoTrigger(this._editor)||!this._editor.hasModel())return;let r=this._editor.getModel(),d=this._editor.getPosition(),m=this._editor.getOption(70);if(m!==!1){if(m!==!0){r.tokenizeIfCheap(d.lineNumber);let O=r.getLineTokens(d.lineNumber),re=O.getStandardTokenType(O.findTokenIndexAtOffset(Math.max(d.column-1-1,0)));if(!(m.other&&re===0||m.comments&&re===1||m.strings&&re===2))return}this.trigger({auto:!0,shy:!1})}},this._quickSuggestDelay)}}_refilterCompletionItems(){Promise.resolve().then(()=>{if(this._state===0||!this._editor.hasModel())return;let e=this._editor.getModel(),t=this._editor.getPosition(),n=new jc(e,t,this._state===2,!1);this._onNewContext(n)})}trigger(e,t=!1,n,r){var d;if(!this._editor.hasModel())return;let m=this._editor.getModel(),O=e.auto,re=new jc(m,this._editor.getPosition(),O,e.shy);this.cancel(t),this._state=O?2:1,this._onDidTrigger.fire({auto:O,shy:e.shy,position:this._editor.getPosition()}),this._context=re;let oe={triggerKind:(d=e.triggerKind)!==null&&d!==void 0?d:0};e.triggerCharacter&&(oe={triggerKind:1,triggerCharacter:e.triggerCharacter}),this._requestToken=new On.b;let ce=this._editor.getOption(93),Me=1;switch(ce){case"top":Me=0;break;case"bottom":Me=2}let Ct=Mh._createItemKindFilter(this._editor),Ut=_a.create(this._editorWorkerService,this._editor),St=gp(m,this._editor.getPosition(),new Td(Me,Ct,n),oe,this._requestToken.token);Promise.all([St,Ut]).then(([di,hi])=>Sf(this,void 0,void 0,function*(){if(Object(Lt.f)(this._requestToken),this._state===0||!this._editor.hasModel())return;let ji;(di.needsClipboard||Object(ee.o)(r))&&(ji=yield this._clipboardService.readText());let Ji=this._editor.getModel(),dn=di.items;if(Object(ee.o)(r)){let yn=fp(Me);dn=dn.concat(r).sort(yn)}let Ki=new jc(Ji,this._editor.getPosition(),O,e.shy);this._completionModel=new jl(dn,this._context.column,{leadingLineContent:Ki.leadingLineContent,characterCountDelta:Ki.column-this._context.column},hi,this._editor.getOption(96),this._editor.getOption(93),ji),this._completionDisposables.add(di.dispoables),this._onNewContext(Ki)})).catch(Oe.e)}static _createItemKindFilter(e){let t=new Set;e.getOption(93)==="none"&&t.add(27);let n=e.getOption(96);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),t}_onNewContext(e){if(this._context)if(e.lineNumber===this._context.lineNumber){if(e.leadingWord.startColumn<this._context.leadingWord.startColumn)this.cancel();else if(e.column<this._context.column)e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(e.leadingWord.word.length!==0&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){let t=new Set(I.d.all(this._editor.getModel()));this._completionModel.allProvider.forEach(r=>t.delete(r));let n=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,t,n)}else if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&e.leadingWord.word.length!==0){let{incomplete:t}=this._completionModel,n=this._completionModel.adopt(t);this.trigger({auto:this._state===2,shy:!1,triggerKind:2},!0,t,n)}else{let t=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},this._completionModel.items.length===0){if(jc.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=t,n=this._completionModel.items.length>0,n&&e.leadingWord.word.length===0)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}else this.cancel()}}o(327),o(329),o(154),o(331),o(333);let kf=Object(Ue.gc)("symbolIcon.arrayForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ef=Object(Ue.gc)("symbolIcon.booleanForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Tf=Object(Ue.gc)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(G.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Lf=Object(Ue.gc)("symbolIcon.colorForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Nf=Object(Ue.gc)("symbolIcon.constantForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),If=Object(Ue.gc)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(G.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Of=Object(Ue.gc)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(G.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Df=Object(Ue.gc)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(G.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Af=Object(Ue.gc)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(G.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Rf=Object(Ue.gc)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(G.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Mf=Object(Ue.gc)("symbolIcon.fileForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pf=Object(Ue.gc)("symbolIcon.folderForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ff=Object(Ue.gc)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(G.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Wf=Object(Ue.gc)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(G.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),zf=Object(Ue.gc)("symbolIcon.keyForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Bf=Object(Ue.gc)("symbolIcon.keywordForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),jf=Object(Ue.gc)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(G.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Vf=Object(Ue.gc)("symbolIcon.moduleForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Uf=Object(Ue.gc)("symbolIcon.namespaceForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Hf=Object(Ue.gc)("symbolIcon.nullForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),qf=Object(Ue.gc)("symbolIcon.numberForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),$f=Object(Ue.gc)("symbolIcon.objectForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Kf=Object(Ue.gc)("symbolIcon.operatorForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Gf=Object(Ue.gc)("symbolIcon.packageForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Yf=Object(Ue.gc)("symbolIcon.propertyForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Zf=Object(Ue.gc)("symbolIcon.referenceForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Xf=Object(Ue.gc)("symbolIcon.snippetForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Qf=Object(Ue.gc)("symbolIcon.stringForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Jf=Object(Ue.gc)("symbolIcon.structForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),eb=Object(Ue.gc)("symbolIcon.textForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),tb=Object(Ue.gc)("symbolIcon.typeParameterForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ib=Object(Ue.gc)("symbolIcon.unitForeground",{dark:Ue.ab,light:Ue.ab,hc:Ue.ab},Object(G.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),nb=Object(Ue.gc)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(G.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(ut.g)((u,e)=>{let t=u.getColor(kf);t&&e.addRule(`${de.a.symbolArray.cssSelector} { color: ${t}; }`);let n=u.getColor(Ef);n&&e.addRule(`${de.a.symbolBoolean.cssSelector} { color: ${n}; }`);let r=u.getColor(Tf);r&&e.addRule(`${de.a.symbolClass.cssSelector} { color: ${r}; }`);let d=u.getColor(jf);d&&e.addRule(`${de.a.symbolMethod.cssSelector} { color: ${d}; }`);let m=u.getColor(Lf);m&&e.addRule(`${de.a.symbolColor.cssSelector} { color: ${m}; }`);let O=u.getColor(Nf);O&&e.addRule(`${de.a.symbolConstant.cssSelector} { color: ${O}; }`);let re=u.getColor(If);re&&e.addRule(`${de.a.symbolConstructor.cssSelector} { color: ${re}; }`);let oe=u.getColor(Of);oe&&e.addRule(` + ${de.a.symbolValue.cssSelector},${de.a.symbolEnum.cssSelector} { color: ${oe}; }`);let ce=u.getColor(Df);ce&&e.addRule(`${de.a.symbolEnumMember.cssSelector} { color: ${ce}; }`);let Me=u.getColor(Af);Me&&e.addRule(`${de.a.symbolEvent.cssSelector} { color: ${Me}; }`);let Ct=u.getColor(Rf);Ct&&e.addRule(`${de.a.symbolField.cssSelector} { color: ${Ct}; }`);let Ut=u.getColor(Mf);Ut&&e.addRule(`${de.a.symbolFile.cssSelector} { color: ${Ut}; }`);let St=u.getColor(Pf);St&&e.addRule(`${de.a.symbolFolder.cssSelector} { color: ${St}; }`);let di=u.getColor(Ff);di&&e.addRule(`${de.a.symbolFunction.cssSelector} { color: ${di}; }`);let hi=u.getColor(Wf);hi&&e.addRule(`${de.a.symbolInterface.cssSelector} { color: ${hi}; }`);let ji=u.getColor(zf);ji&&e.addRule(`${de.a.symbolKey.cssSelector} { color: ${ji}; }`);let Ji=u.getColor(Bf);Ji&&e.addRule(`${de.a.symbolKeyword.cssSelector} { color: ${Ji}; }`);let dn=u.getColor(Vf);dn&&e.addRule(`${de.a.symbolModule.cssSelector} { color: ${dn}; }`);let Ki=u.getColor(Uf);Ki&&e.addRule(`${de.a.symbolNamespace.cssSelector} { color: ${Ki}; }`);let yn=u.getColor(Hf);yn&&e.addRule(`${de.a.symbolNull.cssSelector} { color: ${yn}; }`);let hn=u.getColor(qf);hn&&e.addRule(`${de.a.symbolNumber.cssSelector} { color: ${hn}; }`);let Qi=u.getColor($f);Qi&&e.addRule(`${de.a.symbolObject.cssSelector} { color: ${Qi}; }`);let fn=u.getColor(Kf);fn&&e.addRule(`${de.a.symbolOperator.cssSelector} { color: ${fn}; }`);let $n=u.getColor(Gf);$n&&e.addRule(`${de.a.symbolPackage.cssSelector} { color: ${$n}; }`);let bo=u.getColor(Yf);bo&&e.addRule(`${de.a.symbolProperty.cssSelector} { color: ${bo}; }`);let zr=u.getColor(Zf);zr&&e.addRule(`${de.a.symbolReference.cssSelector} { color: ${zr}; }`);let Xo=u.getColor(Xf);Xo&&e.addRule(`${de.a.symbolSnippet.cssSelector} { color: ${Xo}; }`);let Tr=u.getColor(Qf);Tr&&e.addRule(`${de.a.symbolString.cssSelector} { color: ${Tr}; }`);let Qc=u.getColor(Jf);Qc&&e.addRule(`${de.a.symbolStruct.cssSelector} { color: ${Qc}; }`);let Jc=u.getColor(eb);Jc&&e.addRule(`${de.a.symbolText.cssSelector} { color: ${Jc}; }`);let Xp=u.getColor(tb);Xp&&e.addRule(`${de.a.symbolTypeParameter.cssSelector} { color: ${Xp}; }`);let Qp=u.getColor(ib);Qp&&e.addRule(`${de.a.symbolUnit.cssSelector} { color: ${Qp}; }`);let Jp=u.getColor(nb);Jp&&e.addRule(`${de.a.symbolVariable.cssSelector} { color: ${Jp}; }`)});var Va,ob=o(113),rb=o(146);function Id(u,e,t,n){let r=n===Va.ROOT_FOLDER?["rootfolder-icon"]:n===Va.FOLDER?["folder-icon"]:["file-icon"];if(t){let d;if(t.scheme===M.b.data?d=Be.a.parseMetaData(t).get(Be.a.META_DATA_LABEL):d=xp(Object(Be.c)(t).toLowerCase()),n===Va.FOLDER)r.push(d+"-name-folder-icon");else{if(d){r.push(d+"-name-file-icon");let O=d.split(".");for(let re=1;re<O.length;re++)r.push(O.slice(re).join(".")+"-ext-file-icon");r.push("ext-file-icon")}let m=function(O,re,oe){if(!oe)return null;let ce=null;if(oe.scheme===M.b.data){let Me=Be.a.parseMetaData(oe).get(Be.a.META_DATA_MIME);Me&&(ce=re.getModeId(Me))}else{let Me=O.getModel(oe);Me&&(ce=Me.getModeId())}return ce&&ce!==rb.c?ce:re.getModeIdByFilepathOrFirstLine(oe)}(u,e,t);m&&r.push(xp(m)+"-lang-file-icon")}}return r}function xp(u){return u.replace(/\s/g,"\\$&")}(function(u){u[u.FILE=0]="FILE",u[u.FOLDER=1]="FOLDER",u[u.ROOT_FOLDER=2]="ROOT_FOLDER"})(Va||(Va={}));var Sp=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},js=function(u,e){return function(t,n){e(t,n,u)}},sb=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let ab=Object(de.e)("suggest-more-info",de.a.chevronRight),lb=Object(Ue.gc)("editorSuggestWidget.background",{dark:Ue.U,light:Ue.U,hc:Ue.U},G.a("editorSuggestWidgetBackground","Background color of the suggest widget.")),cb=Object(Ue.gc)("editorSuggestWidget.border",{dark:Ue.V,light:Ue.V,hc:Ue.V},G.a("editorSuggestWidgetBorder","Border color of the suggest widget.")),db=Object(Ue.gc)("editorSuggestWidget.foreground",{dark:Ue.B,light:Ue.B,hc:Ue.B},G.a("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),hb=Object(Ue.gc)("editorSuggestWidget.selectedBackground",{dark:Ue.xb,light:Ue.xb,hc:Ue.xb},G.a("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),ub=Object(Ue.gc)("editorSuggestWidget.highlightForeground",{dark:Ue.zb,light:Ue.zb,hc:Ue.zb},G.a("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),kp=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i;function Vc(u){if(!u)return!1;let e=u.completion;return!!e.documentation||e.detail&&e.detail!==e.label}function Ep(u){return"suggest-aria-id:"+u}let Ph=class{constructor(u,e,t,n,r,d){this.widget=u,this.editor=e,this.triggerKeybindingLabel=t,this._modelService=n,this._modeService=r,this._themeService=d}get templateId(){return"suggestion"}renderTemplate(u){let e=Object.create(null);e.disposables=new Lt.b,e.root=u,e.root.classList.add("show-file-icons"),e.icon=Object(ae.p)(u,Object(ae.a)(".icon")),e.colorspan=Object(ae.p)(e.icon,Object(ae.a)("span.colorspan"));let t=Object(ae.p)(u,Object(ae.a)(".contents")),n=Object(ae.p)(t,Object(ae.a)(".main"));e.iconContainer=Object(ae.p)(n,Object(ae.a)(".icon-label.codicon")),e.left=Object(ae.p)(n,Object(ae.a)("span.left")),e.right=Object(ae.p)(n,Object(ae.a)("span.right")),e.iconLabel=new be.a(e.left,{supportHighlights:!0,supportCodicons:!0}),e.disposables.add(e.iconLabel),e.parametersLabel=Object(ae.p)(e.left,Object(ae.a)("span.signature-label")),e.qualifierLabel=Object(ae.p)(e.left,Object(ae.a)("span.qualifier-label")),e.detailsLabel=Object(ae.p)(e.right,Object(ae.a)("span.details-label")),e.readMore=Object(ae.p)(e.right,Object(ae.a)("span.readMore"+ab.cssSelector)),e.readMore.title=G.a("readMore","Read More ({0})",this.triggerKeybindingLabel);let r=()=>{let d=this.editor.getOptions(),m=d.get(36),O=m.fontFamily,re=m.fontFeatureSettings,oe=d.get(97)||m.fontSize,ce=d.get(98)||m.lineHeight,Me=m.fontWeight,Ct=oe+"px",Ut=ce+"px";e.root.style.fontSize=Ct,e.root.style.fontWeight=Me,n.style.fontFamily=O,n.style.fontFeatureSettings=re,n.style.lineHeight=Ut,e.icon.style.height=Ut,e.icon.style.width=Ut,e.readMore.style.height=Ut,e.readMore.style.width=Ut};return r(),e.disposables.add(rt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(d=>d.hasChanged(36)||d.hasChanged(97)||d.hasChanged(98)).on(r,null)),e}renderElement(u,e,t){let n=t,r=u.completion,d=typeof r.label=="string"?r.label:r.label.name;n.root.id=Ep(e),n.colorspan.style.backgroundColor="";let m={labelEscapeNewLines:!0,matches:Object(kn.c)(u.score)},O=[];if(r.kind===19&&function(re,oe){let ce=typeof re.completion.label=="string"?re.completion.label:re.completion.label.name;return ce.match(kp)?(oe[0]=ce,!0):!(typeof re.completion.documentation!="string"||!re.completion.documentation.match(kp))&&(oe[0]=re.completion.documentation,!0)}(u,O))n.icon.className="icon customcolor",n.iconContainer.className="icon hide",n.colorspan.style.backgroundColor=O[0];else if(r.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){n.icon.className="icon hide",n.iconContainer.className="icon hide";let re=Id(this._modelService,this._modeService,Dn.a.from({scheme:"fake",path:d}),Va.FILE),oe=Id(this._modelService,this._modeService,Dn.a.from({scheme:"fake",path:r.detail}),Va.FILE);m.extraClasses=re.length>oe.length?re:oe}else r.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(n.icon.className="icon hide",n.iconContainer.className="icon hide",m.extraClasses=Object(ee.l)([Id(this._modelService,this._modeService,Dn.a.from({scheme:"fake",path:d}),Va.FOLDER),Id(this._modelService,this._modeService,Dn.a.from({scheme:"fake",path:r.detail}),Va.FOLDER)])):(n.icon.className="icon hide",n.iconContainer.className="",Object(ae.f)(n.iconContainer,"suggest-icon "+Object(I.F)(r.kind)));r.tags&&r.tags.indexOf(1)>=0&&(m.extraClasses=(m.extraClasses||[]).concat(["deprecated"]),m.matches=[]),n.iconLabel.setLabel(d,void 0,m),typeof r.label=="string"?(n.parametersLabel.textContent="",n.qualifierLabel.textContent="",n.detailsLabel.textContent=(r.detail||"").replace(/\n.*$/m,""),n.root.classList.add("string-label")):(n.parametersLabel.textContent=(r.label.parameters||"").replace(/\n.*$/m,""),n.qualifierLabel.textContent=(r.label.qualifier||"").replace(/\n.*$/m,""),n.detailsLabel.textContent=(r.label.type||"").replace(/\n.*$/m,""),n.root.classList.remove("string-label")),Vc(u)?(n.right.classList.add("can-expand-details"),Object(ae.Z)(n.readMore),n.readMore.onmousedown=re=>{re.stopPropagation(),re.preventDefault()},n.readMore.onclick=re=>{re.stopPropagation(),re.preventDefault(),this.widget.toggleDetails()}):(n.right.classList.remove("can-expand-details"),Object(ae.K)(n.readMore),n.readMore.onmousedown=null,n.readMore.onclick=null)}disposeTemplate(u){u.disposables.dispose()}};Ph=Sp([js(3,ne.a),js(4,nl.a),js(5,ut.c)],Ph);class pb{constructor(e,t,n,r,d){this.widget=t,this.editor=n,this.markdownRenderer=r,this.kbToggleDetails=d,this.borderWidth=1,this.disposables=new Lt.b,this.el=Object(ae.p)(e,Object(ae.a)(".details")),this.disposables.add(Object(Lt.h)(()=>e.removeChild(this.el))),this.body=Object(ae.a)(".body"),this.scrollbar=new cd.a(this.body,{}),Object(ae.p)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(ae.p)(this.body,Object(ae.a)(".header")),this.close=Object(ae.p)(this.header,Object(ae.a)("span"+de.a.close.cssSelector)),this.close.title=G.a("readLess","Read Less ({0})",this.kbToggleDetails),this.type=Object(ae.p)(this.header,Object(ae.a)("p.type")),this.docs=Object(ae.p)(this.body,Object(ae.a)("p.docs")),this.configureFont(),rt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(m=>m.hasChanged(36)).on(this.configureFont,this,this.disposables),r.onDidRenderCodeBlock(()=>this.scrollbar.scanDomNode(),this,this.disposables)}get element(){return this.el}renderLoading(){this.type.textContent=G.a("loading","Loading..."),this.docs.textContent=""}renderItem(e,t){Object(Lt.f)(this.renderDisposeable),this.renderDisposeable=void 0;let{documentation:n,detail:r}=e.completion;if(t){let d="";d+=`score: ${e.score[0]}${e.word?`, compared '${e.completion.filterText&&e.completion.filterText+" (filterText)"||e.completion.label}' with '${e.word}'`:" (no prefix)"} +`,d+=`distance: ${e.distance}, see localityBonus-setting +`,d+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"} +`,n=new $e().appendCodeblock("empty",d),r="Provider: "+e.provider._debugDisplayName}if(!t&&!Vc(e))return this.type.textContent="",this.docs.textContent="",void this.el.classList.add("no-docs");if(this.el.classList.remove("no-docs"),typeof n=="string")this.docs.classList.remove("markdown-docs"),this.docs.textContent=n;else{this.docs.classList.add("markdown-docs"),this.docs.innerText="";let d=this.markdownRenderer.render(n);this.renderDisposeable=d,this.docs.appendChild(d.element)}r?(this.type.innerText=r.length>1e5?r.substr(0,1e5)+"\u2026":r,Object(ae.Z)(this.type)):(this.type.innerText="",Object(ae.K)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=d=>{d.preventDefault(),d.stopPropagation()},this.close.onclick=d=>{d.preventDefault(),d.stopPropagation(),this.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()}scrollDown(e=8){this.body.scrollTop+=e}scrollUp(e=8){this.body.scrollTop-=e}scrollTop(){this.body.scrollTop=0}scrollBottom(){this.body.scrollTop=this.body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}setBorderWidth(e){this.borderWidth=e}configureFont(){let e=this.editor.getOptions(),t=e.get(36),n=t.fontFamily,r=e.get(97)||t.fontSize,d=e.get(98)||t.lineHeight,m=t.fontWeight,O=r+"px",re=d+"px";this.el.style.fontSize=O,this.el.style.fontWeight=m,this.el.style.fontFeatureSettings=t.fontFeatureSettings,this.type.style.fontFamily=n,this.close.style.height=re,this.close.style.width=re}dispose(){this.disposables.dispose(),Object(Lt.f)(this.renderDisposeable),this.renderDisposeable=void 0}}let vc=class Gd{constructor(e,t,n,r,d,m,O,re,oe,ce){var Me,Ct;this.editor=e,this.telemetryService=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=0,this.isAddedAsContentWidget=!1,this.isAuto=!1,this.loadingTimeout=Lt.a.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new Bi.e,this.toDispose=new Lt.b,this.onDidSelectEmitter=new rt.a,this.onDidFocusEmitter=new rt.a,this.onDidHideEmitter=new rt.a,this.onDidShowEmitter=new rt.a,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new rt.a,this.onDetailsKeyDown=this._onDetailsKeydown.event;let Ut=this.toDispose.add(new ac(e,O,re)),St=(Ct=(Me=n.lookupKeybinding("toggleSuggestionDetails"))===null||Me===void 0?void 0:Me.getLabel())!==null&&Ct!==void 0?Ct:"";this.isAuto=!1,this.focusedItem=null,this.storageService=m,this.element=Object(ae.a)(".editor-widget.suggest-widget"),this.toDispose.add(Object(ae.i)(this.element,"click",hn=>{hn.target===this.element&&this.hideWidget()})),this.messageElement=Object(ae.p)(this.element,Object(ae.a)(".message")),this.listElement=Object(ae.p)(this.element,Object(ae.a)(".tree"));let di=()=>this.element.classList.toggle("with-status-bar",this.editor.getOption(96).statusBar.visible);di(),this.statusBarElement=Object(ae.p)(this.element,Object(ae.a)(".suggest-status-bar"));let hi=hn=>{let Qi=n.lookupKeybindings(hn.id);return new class extends br.a{constructor(){super(void 0,hn,{label:!0,icon:!1})}updateLabel(){if(Object(ee.n)(Qi)||!this.label)return super.updateLabel();let{label:fn}=this.getAction();this.label.textContent=/{\d}/.test(fn)?on.x(this.getAction().label,Qi[0].getLabel()):`${this.getAction().label} (${Qi[0].getLabel()})`}}},ji=new Vn.a(this.statusBarElement,{actionViewItemProvider:hi}),Ji=new Vn.a(this.statusBarElement,{actionViewItemProvider:hi}),dn=oe.createMenu(dl,r);this.toDispose.add(dn.onDidChange(()=>(()=>{let hn=[],Qi=[];for(let[fn,$n]of dn.getActions())fn==="left"?hn.push(...$n):Qi.push(...$n);ji.clear(),ji.push(hn),Ji.clear(),Ji.push(Qi)})())),this.toDispose.add(dn),this.details=ce.createInstance(pb,this.element,this,this.editor,Ut,St);let Ki=()=>this.element.classList.toggle("no-icons",!this.editor.getOption(96).showIcons);Ki();let yn=ce.createInstance(Ph,this,this.editor,St);this.list=new ob.c("SuggestWidget",this.listElement,this,[yn],{useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:hn=>{let Qi=typeof hn.completion.label=="string"?hn.completion.label:hn.completion.label.name;if(hn.isResolved&&this.expandDocsSettingFromStorage()){let{documentation:fn,detail:$n}=hn.completion,bo=on.x("{0}{1}",$n||"",fn?typeof fn=="string"?fn:fn.value:"");return G.a("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",Qi,bo)}return Qi},getWidgetAriaLabel:()=>G.a("suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this.toDispose.add(Object(je.b)(this.list,d,{listInactiveFocusBackground:hb,listInactiveFocusOutline:Ue.b})),this.toDispose.add(d.onDidColorThemeChange(hn=>this.onThemeChange(hn))),this.toDispose.add(e.onDidLayoutChange(()=>this.onEditorLayoutChange())),this.toDispose.add(this.list.onMouseDown(hn=>this.onListMouseDownOrTap(hn))),this.toDispose.add(this.list.onTap(hn=>this.onListMouseDownOrTap(hn))),this.toDispose.add(this.list.onDidChangeSelection(hn=>this.onListSelection(hn))),this.toDispose.add(this.list.onDidChangeFocus(hn=>this.onListFocus(hn))),this.toDispose.add(this.editor.onDidChangeCursorSelection(()=>this.onCursorSelectionChanged())),this.toDispose.add(this.editor.onDidChangeConfiguration(hn=>{hn.hasChanged(96)&&(di(),Ki())})),this.ctxSuggestWidgetVisible=co.Visible.bindTo(r),this.ctxSuggestWidgetDetailsVisible=co.DetailsVisible.bindTo(r),this.ctxSuggestWidgetMultipleSuggestions=co.MultipleSuggestions.bindTo(r),this.onThemeChange(d.getColorTheme()),this.toDispose.add(Object(ae.n)(this.details.element,"keydown",hn=>{this._onDetailsKeydown.fire(hn)})),this.toDispose.add(this.editor.onMouseDown(hn=>this.onEditorMouseDown(hn)))}onEditorMouseDown(e){this.details.element.contains(e.target.element)?this.details.element.focus():this.element.contains(e.target.element)&&this.editor.focus()}onCursorSelectionChanged(){this.state!==0&&this.editor.layoutContentWidget(this)}onEditorLayoutChange(){this.state!==3&&this.state!==5||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()}onListMouseDownOrTap(e){e.element!==void 0&&e.index!==void 0&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))}onListSelection(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])}select(e,t){let n=this.completionModel;n&&(this.onDidSelectEmitter.fire({item:e,index:t,model:n}),this.editor.focus())}onThemeChange(e){let t=e.getColor(lb);t&&(this.listElement.style.backgroundColor=t.toString(),this.statusBarElement.style.backgroundColor=t.toString(),this.details.element.style.backgroundColor=t.toString(),this.messageElement.style.backgroundColor=t.toString());let n=e.getColor(cb);n&&(this.listElement.style.borderColor=n.toString(),this.statusBarElement.style.borderColor=n.toString(),this.details.element.style.borderColor=n.toString(),this.messageElement.style.borderColor=n.toString(),this.detailsBorderColor=n.toString());let r=e.getColor(Ue.Z);r&&(this.detailsFocusBorderColor=r.toString()),this.details.setBorderWidth(e.type==="hc"?2:1)}onListFocus(e){if(this.ignoreFocusEvents)return;if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this.editor.setAriaOptions({activeDescendant:void 0});if(!this.completionModel)return;let t=e.elements[0],n=e.indexes[0];this.firstFocusInCurrentList=!this.focusedItem,t!==this.focusedItem&&(this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=t,this.list.reveal(n),this.currentSuggestionDetails=Object(Bi.f)(r=>sb(this,void 0,void 0,function*(){let d=Object(Bi.g)(()=>this.showDetails(!0),250);r.onCancellationRequested(()=>d.dispose());let m=yield t.resolve(r);return d.dispose(),m})),this.currentSuggestionDetails.then(()=>{n>=this.list.length||t!==this.list.element(n)||(this.ignoreFocusEvents=!0,this.list.splice(n,1,[t]),this.list.setFocus([n]),this.ignoreFocusEvents=!1,this.expandDocsSettingFromStorage()?this.showDetails(!1):this.element.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:Ep(n)}))}).catch(Oe.e)),this.onDidFocusEmitter.fire({item:t,index:n,model:this.completionModel})}setState(e){if(!this.element)return;this.isAddedAsContentWidget||e===0||(this.isAddedAsContentWidget=!0,this.editor.addContentWidget(this));let t=this.state!==e;switch(this.state=e,this.element.classList.toggle("frozen",e===4),e){case 0:Object(ae.K)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,t&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=Gd.LOADING_MESSAGE,Object(ae.K)(this.listElement,this.details.element,this.statusBarElement),Object(ae.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=Gd.NO_SUGGESTIONS_MESSAGE,Object(ae.K)(this.listElement,this.details.element,this.statusBarElement),Object(ae.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(ae.K)(this.messageElement),Object(ae.Z)(this.listElement,this.statusBarElement),this.show();break;case 4:Object(ae.K)(this.messageElement),Object(ae.Z)(this.listElement),this.show();break;case 5:Object(ae.K)(this.messageElement),Object(ae.Z)(this.details.element,this.listElement,this.statusBarElement),this.show()}}showTriggered(e,t){this.state===0&&(this.isAuto=!!e,this.isAuto||(this.loadingTimeout=Object(Bi.g)(()=>this.setState(1),t)))}showSuggestions(e,t,n,r){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==e&&(this.completionModel=e),n&&this.state!==2&&this.state!==0)return void this.setState(4);let d=this.completionModel.items.length,m=d===0;if(this.ctxSuggestWidgetMultipleSuggestions.set(d>1),m)r?this.setState(0):this.setState(2),this.completionModel=null;else{if(this.state!==3){let{stats:O}=this.completionModel;O.wasAutomaticallyTriggered=!!r,this.telemetryService.publicLog("suggestWidget",Object.assign({},O))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),n?this.setState(4):this.setState(3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}selectNextPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}}selectNext(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}}selectLast(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}}selectPreviousPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}}selectPrevious(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}}selectFirst(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}}getFocusedItem(){if(this.state!==0&&this.state!==2&&this.state!==1&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}}toggleDetailsFocus(){this.state===5?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):this.state===3&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")}toggleDetails(){if(Vc(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.ctxSuggestWidgetDetailsVisible.set(!1),this.updateExpandDocsSetting(!1),Object(ae.K)(this.details.element),this.element.classList.remove("docs-side","doc-below"),this.editor.layoutContentWidget(this),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(this.state!==3&&this.state!==5&&this.state!==4)return;this.ctxSuggestWidgetDetailsVisible.set(!0),this.updateExpandDocsSetting(!0),this.showDetails(!1),this.telemetryService.publicLog2("suggestWidget:expandDetails")}}showDetails(e){e||this.expandSideOrBelow(),Object(ae.Z)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",e?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()}toggleExplainMode(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))}show(){let e=this.updateListHeight();e!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=e),this.ctxSuggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(()=>{this.element.classList.add("visible"),this.onDidShowEmitter.fire(this)},100)}hide(){this.editor.layoutContentWidget(this),this.ctxSuggestWidgetVisible.reset(),this.ctxSuggestWidgetMultipleSuggestions.reset(),this.element.classList.remove("visible")}hideWidget(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)}getPosition(){if(this.state===0)return null;let e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}}getDomNode(){return this.element}getId(){return Gd.ID}isFrozen(){return this.state===4}updateListHeight(){let e=0;if(this.state===2||this.state===1)e=this.unfocusedHeight;else{let t=this.list.contentHeight/this.unfocusedHeight,{maxVisibleSuggestions:n}=this.editor.getOption(96);e=Math.min(t,n)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.statusBarElement.style.top=e+"px",this.list.layout(e),e}adjustDocsPosition(){if(!this.editor.hasModel())return;let e=this.editor.getOption(51),t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),n=Object(ae.C)(this.editor.getDomNode()),r=n.left+t.left,d=n.top+t.top+t.height,m=Object(ae.C)(this.element),O=m.left,re=m.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetY<re&&!this.preferDocPositionTop)return this.preferDocPositionTop=!0,void this.adjustDocsPosition();this.docsPositionPreviousWidgetY=re,O<r-this.listWidth?this.element.classList.add("list-right"):this.element.classList.remove("list-right"),this.element.classList.contains("docs-side")&&d-e>re&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}expandSideOrBelow(){if(!Vc(this.focusedItem)&&this.firstFocusInCurrentList)return void this.element.classList.remove("docs-side","docs-below");let e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])<this.maxWidgetWidth?(this.element.classList.add("docs-below"),this.element.classList.remove("docs-side")):Vc(this.focusedItem)&&(this.element.classList.add("docs-side"),this.element.classList.remove("docs-below"))}get maxWidgetHeight(){return this.unfocusedHeight*this.editor.getOption(96).maxVisibleSuggestions}get unfocusedHeight(){let e=this.editor.getOptions();return e.get(98)||e.get(36).lineHeight}getHeight(e){return this.unfocusedHeight}getTemplateId(e){return"suggestion"}expandDocsSettingFromStorage(){return this.storageService.getBoolean("expandSuggestionDocs",0,!1)}updateExpandDocsSetting(e){this.storageService.store("expandSuggestionDocs",e,0)}dispose(){this.details.dispose(),this.list.dispose(),this.toDispose.dispose(),this.loadingTimeout.dispose(),this.showTimeout.dispose(),this.editor.removeContentWidget(this)}};vc.ID="editor.widget.suggestWidget",vc.LOADING_MESSAGE=G.a("suggestWidget.loading","Loading..."),vc.NO_SUGGESTIONS_MESSAGE=G.a("suggestWidget.noSuggestions","No suggestions."),vc=Sp([js(1,We.a),js(2,Dt.a),js(3,A.b),js(4,ut.c),js(5,Qn.a),js(6,nl.a),js(7,ga.a),js(8,ze.a),js(9,X.a)],vc),Object(ut.g)((u,e)=>{let t=u.getColor(ub);t&&e.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${t}; }`);let n=u.getColor(db);n&&e.addRule(`.monaco-editor .suggest-widget { color: ${n}; }`);let r=u.getColor(Ue.rc);r&&e.addRule(`.monaco-editor .suggest-widget a { color: ${r}; }`);let d=u.getColor(Ue.qc);d&&e.addRule(`.monaco-editor .suggest-widget code { background-color: ${d}; }`)});var mb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},gb=function(u,e){return function(t,n){e(t,n,u)}};let Uc=class wm extends Lt.a{constructor(e,t){super(),this._editor=e,this._enabled=!1,this._ckAtEnd=wm.AtEnd.bindTo(t),this._register(this._editor.onDidChangeConfiguration(n=>n.hasChanged(101)&&this._update())),this._update()}dispose(){super.dispose(),Object(Lt.f)(this._selectionListener),this._ckAtEnd.reset()}_update(){let e=this._editor.getOption(101)==="on";if(this._enabled!==e)if(this._enabled=e,this._enabled){let t=()=>{if(!this._editor.hasModel())return void this._ckAtEnd.set(!1);let n=this._editor.getModel(),r=this._editor.getSelection(),d=n.getWordAtPosition(r.getStartPosition());d?this._ckAtEnd.set(d.endColumn===r.getStartPosition().column):this._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(t),t()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};Uc.AtEnd=new A.c("atEndOfWord",!1),Uc=mb([gb(1,A.b)],Uc);class fb{constructor(e,t,n){this._disposables=new Lt.b,this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(r=>{if(this._active&&!t.isFrozen()){let d=r.charCodeAt(r.length-1);this._active.acceptCharacters.has(d)&&e.getOption(0)&&n(this._active.item)}}))}_onItem(e){if(!e||!Object(ee.o)(e.item.completion.commitCharacters))return void this.reset();if(this._active&&this._active.item.item===e.item)return;let t=new Xs.b;for(let n of e.item.completion.commitCharacters)n.length>0&&t.add(n.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}class Od{constructor(e,t){this._disposables=new Lt.b,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType(()=>{if(!this._empty||!e.hasModel())return;let n=e.getSelections(),r=n.length,d=!1;for(let O=0;O<r;O++)if(!n[O].isEmpty()){d=!0;break}if(!d)return;this._lastOvertyped=[];let m=e.getModel();for(let O=0;O<r;O++){let re=n[O];if(m.getValueLengthInRange(re)>Od._maxSelectionLength)return;this._lastOvertyped[O]={value:m.getValueInRange(re),multiline:re.startLineNumber!==re.endLineNumber}}this._empty=!1})),this._disposables.add(t.onDidCancel(n=>{this._empty||(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}Od._maxSelectionLength=51200;var Tp=o(158),bb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Vl=function(u,e){return function(t,n){e(t,n,u)}};class _b{constructor(e,t){if(this._model=e,this._position=t,e.getLineMaxColumn(t.lineNumber)!==t.column){let n=e.getOffsetAt(t),r=e.getPositionAt(n+1);this._marker=e.deltaDecorations([],[{range:gt.a.fromPositions(t,r),options:{stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){let t=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let Ul=class ym{constructor(e,t,n,r,d,m,O,re){this._memoryService=n,this._commandService=r,this._contextKeyService=d,this._instantiationService=m,this._logService=O,this._lineSuffix=new Lt.d,this._toDispose=new Lt.b,this.editor=e,this.model=new Mh(this.editor,t,re),this.widget=this._toDispose.add(new Bi.b(()=>{let Me=this._instantiationService.createInstance(vc,this.editor);this._toDispose.add(Me),this._toDispose.add(Me.onDidSelect(hi=>this._insertSuggestion(hi,0),this));let Ct=new fb(this.editor,Me,hi=>this._insertSuggestion(hi,2));this._toDispose.add(Ct),this._toDispose.add(this.model.onDidSuggest(hi=>{hi.completionModel.items.length===0&&Ct.reset()}));let Ut=co.MakesTextEdit.bindTo(this._contextKeyService),St=co.HasInsertAndReplaceRange.bindTo(this._contextKeyService),di=co.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Object(Lt.h)(()=>{Ut.reset(),St.reset(),di.reset()})),this._toDispose.add(Me.onDidFocus(({item:hi})=>{let ji=this.editor.getPosition(),Ji=hi.editStart.column,dn=ji.column,Ki=!0;this.editor.getOption(1)!=="smart"||this.model.state!==2||hi.completion.command||hi.completion.additionalTextEdits||4&hi.completion.insertTextRules||dn-Ji!==hi.completion.insertText.length||(Ki=this.editor.getModel().getValueInRange({startLineNumber:ji.lineNumber,startColumn:Ji,endLineNumber:ji.lineNumber,endColumn:dn})!==hi.completion.insertText),Ut.set(Ki),St.set(!Di.a.equals(hi.editInsertEnd,hi.editReplaceEnd)),di.set(Boolean(hi.provider.resolveCompletionItem)||Boolean(hi.completion.documentation)||hi.completion.detail!==hi.completion.label)})),this._toDispose.add(Me.onDetailsKeyDown(hi=>{hi.toKeybinding().equals(new Se.e(!0,!1,!1,!1,33))||Et.f&&hi.toKeybinding().equals(new Se.e(!1,!1,!1,!0,33))?hi.stopPropagation():hi.toKeybinding().isModifierKey()||this.editor.focus()})),Me})),this._overtypingCapturer=this._toDispose.add(new Bi.b(()=>this._toDispose.add(new Od(this.editor,this.model)))),this._alternatives=this._toDispose.add(new Bi.b(()=>this._toDispose.add(new Bl(this.editor,this._contextKeyService)))),this._toDispose.add(m.createInstance(Uc,e)),this._toDispose.add(this.model.onDidTrigger(Me=>{this.widget.value.showTriggered(Me.auto,Me.shy?250:50),this._lineSuffix.value=new _b(this.editor.getModel(),Me.position)})),this._toDispose.add(this.model.onDidSuggest(Me=>{if(!Me.shy){let Ct=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),Me.completionModel.items);this.widget.value.showSuggestions(Me.completionModel,Ct,Me.isFrozen,Me.auto)}})),this._toDispose.add(this.model.onDidCancel(Me=>{Me.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let oe=co.AcceptSuggestionsOnEnter.bindTo(d),ce=()=>{let Me=this.editor.getOption(1);oe.set(Me==="on"||Me==="smart")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>ce())),ce()}static get(e){return e.getContribution(ym.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(!e||!e.item)return this._alternatives.value.reset(),this.model.cancel(),void this.model.clear();if(!this.editor.hasModel())return;let n=this.editor.getModel(),r=n.getAlternativeVersionId(),{item:d}=e,m=[],O=new On.b;1&t||this.editor.pushUndoStop();let re=this.getOverwriteInfo(d,Boolean(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),d),Array.isArray(d.completion.additionalTextEdits)){let ce=qt.c.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",d.completion.additionalTextEdits.map(Me=>Cn.a.replace(gt.a.lift(Me.range),Me.text))),ce.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!d.isResolved){let ce=new Tp.a(!0),Me,Ct=n.onDidChangeContent(hi=>{if(hi.isFlush)return O.cancel(),void Ct.dispose();for(let ji of hi.changes){let Ji=gt.a.getEndPosition(ji.range);Me&&!Di.a.isBefore(Ji,Me)||(Me=Ji)}}),Ut=t;t|=2;let St=!1,di=this.editor.onWillType(()=>{di.dispose(),St=!0,2&Ut||this.editor.pushUndoStop()});m.push(d.resolve(O.token).then(()=>{if(!d.completion.additionalTextEdits||O.token.isCancellationRequested||Me&&d.completion.additionalTextEdits.some(ji=>Di.a.isBefore(Me,gt.a.getStartPosition(ji.range))))return!1;St&&this.editor.pushUndoStop();let hi=qt.c.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",d.completion.additionalTextEdits.map(ji=>Cn.a.replace(gt.a.lift(ji.range),ji.text))),hi.restoreRelativeVerticalPositionOfCursor(this.editor),!St&&2&Ut||this.editor.pushUndoStop(),!0}).then(hi=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",ce.elapsed(),hi),Ct.dispose(),di.dispose()}))}let{insertText:oe}=d.completion;4&d.completion.insertTextRules||(oe=Ih.escape(oe)),ir.get(this.editor).insert(oe,{overwriteBefore:re.overwriteBefore,overwriteAfter:re.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&d.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),d.completion.command?d.completion.command.id===Hc.id?this.model.trigger({auto:!0,shy:!1},!0):(m.push(this._commandService.executeCommand(d.completion.command.id,...d.completion.command.arguments?[...d.completion.command.arguments]:[]).catch(Oe.e)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,ce=>{for(O.cancel();n.canUndo();){r!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(ce,3|(8&t?8:0));break}}),this._alertCompletionItem(d),Promise.all(m).finally(()=>{this.model.clear(),O.dispose()})}getOverwriteInfo(e,t){Object(to.b)(this.editor.hasModel());let n=this.editor.getOption(96).insertMode==="replace";t&&(n=!n);let r=e.position.column-e.editStart.column,d=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column;return{overwriteBefore:r+(this.editor.getPosition().column-e.position.column),overwriteAfter:d+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem({completion:e}){let t=typeof e.label=="string"?e.label:e.label.name;if(Object(ee.o)(e.additionalTextEdits)){let n=G.a("arai.alert.snippet","Accepting '{0}' made {1} additional edits",t,e.additionalTextEdits.length);Object(_i.a)(n)}}triggerSuggest(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;let t=this.editor.getPosition(),n=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},r=d=>{if(4&d.completion.insertTextRules||d.completion.additionalTextEdits)return!0;let m=this.editor.getPosition(),O=d.editStart.column,re=m.column;return re-O!==d.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:m.lineNumber,startColumn:O,endLineNumber:m.lineNumber,endColumn:re})!==d.completion.insertText};rt.b.once(this.model.onDidTrigger)(d=>{let m=[];rt.b.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{Object(Lt.f)(m),n()},void 0,m),this.model.onDidSuggest(({completionModel:O})=>{if(Object(Lt.f)(m),O.items.length===0)return void n();let re=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),O.items),oe=O.items[re];r(oe)?(this.editor.pushUndoStop(),this._insertSuggestion({index:re,item:oe,model:O},7)):n()},void 0,m)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(t.lineNumber,0),this.editor.focus()}acceptSelectedSuggestion(e,t){let n=this.widget.value.getFocusedItem(),r=0;e&&(r|=4),t&&(r|=8),this._insertSuggestion(n,r)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}};Ul.ID="editor.contrib.suggestController",Ul=bb([Vl(1,Rs.a),Vl(2,Cp),Vl(3,Ee.b),Vl(4,A.b),Vl(5,X.a),Vl(6,Eh.b),Vl(7,Pi.a)],Ul);class Hc extends $.b{constructor(){super({id:Hc.id,label:G.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:A.a.and(z.a.writable,z.a.hasCompletionItemProvider),kbOpts:{kbExpr:z.a.textInputFocus,primary:2058,mac:{primary:266,secondary:[521]},weight:100}})}run(e,t){let n=Ul.get(t);n&&n.triggerSuggest()}}Hc.id="editor.action.triggerSuggest",Object($.m)(Ul.ID,Ul),Object($.k)(Hc);let Jr=$.c.bindToContribution(Ul.get);Object($.l)(new Jr({id:"acceptSelectedSuggestion",precondition:co.Visible,handler(u){u.acceptSelectedSuggestion(!0,!1)}})),ar.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:A.a.and(co.Visible,z.a.textInputFocus),primary:2,weight:190}),ar.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:A.a.and(co.Visible,z.a.textInputFocus,co.AcceptSuggestionsOnEnter,co.MakesTextEdit),primary:3,weight:190}),ze.d.appendMenuItem(dl,{command:{id:"acceptSelectedSuggestion",title:G.a({key:"accept.accept",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:co.HasInsertAndReplaceRange.toNegated()}),ze.d.appendMenuItem(dl,{command:{id:"acceptSelectedSuggestion",title:G.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:A.a.and(co.HasInsertAndReplaceRange,A.a.equals("config.editor.suggest.insertMode","insert"))}),ze.d.appendMenuItem(dl,{command:{id:"acceptSelectedSuggestion",title:G.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},group:"left",order:1,when:A.a.and(co.HasInsertAndReplaceRange,A.a.equals("config.editor.suggest.insertMode","replace"))}),Object($.l)(new Jr({id:"acceptAlternativeSelectedSuggestion",precondition:A.a.and(co.Visible,z.a.textInputFocus),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:1027,secondary:[1026]},handler(u){u.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:dl,group:"left",order:2,when:A.a.and(co.HasInsertAndReplaceRange,A.a.equals("config.editor.suggest.insertMode","insert")),title:G.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},{menuId:dl,group:"left",order:2,when:A.a.and(co.HasInsertAndReplaceRange,A.a.equals("config.editor.suggest.insertMode","replace")),title:G.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")}]})),Ee.a.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object($.l)(new Jr({id:"hideSuggestWidget",precondition:co.Visible,handler:u=>u.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:9,secondary:[1033]}})),Object($.l)(new Jr({id:"selectNextSuggestion",precondition:A.a.and(co.Visible,co.MultipleSuggestions),handler:u=>u.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object($.l)(new Jr({id:"selectNextPageSuggestion",precondition:A.a.and(co.Visible,co.MultipleSuggestions),handler:u=>u.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:12,secondary:[2060]}})),Object($.l)(new Jr({id:"selectLastSuggestion",precondition:A.a.and(co.Visible,co.MultipleSuggestions),handler:u=>u.selectLastSuggestion()})),Object($.l)(new Jr({id:"selectPrevSuggestion",precondition:A.a.and(co.Visible,co.MultipleSuggestions),handler:u=>u.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object($.l)(new Jr({id:"selectPrevPageSuggestion",precondition:A.a.and(co.Visible,co.MultipleSuggestions),handler:u=>u.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:11,secondary:[2059]}})),Object($.l)(new Jr({id:"selectFirstSuggestion",precondition:A.a.and(co.Visible,co.MultipleSuggestions),handler:u=>u.selectFirstSuggestion()})),Object($.l)(new Jr({id:"toggleSuggestionDetails",precondition:co.Visible,handler:u=>u.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:dl,group:"right",order:1,when:A.a.and(co.DetailsVisible,co.CanResolve),title:G.a("detail.more","show less")},{menuId:dl,group:"right",order:1,when:A.a.and(co.DetailsVisible.toNegated(),co.CanResolve),title:G.a("detail.less","show more")}]})),Object($.l)(new Jr({id:"toggleExplainMode",precondition:co.Visible,handler:u=>u.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),Object($.l)(new Jr({id:"toggleSuggestionFocus",precondition:co.Visible,handler:u=>u.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object($.l)(new Jr({id:"insertBestCompletion",precondition:A.a.and(z.a.textInputFocus,A.a.equals("config.editor.tabCompletion","on"),Uc.AtEnd,co.Visible.toNegated(),Bl.OtherSuggestions.toNegated(),ir.InSnippetMode.toNegated()),handler:(u,e)=>{u.triggerSuggestAndAcceptBest(Object(to.i)(e)?Object.assign({fallback:"tab"},e):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object($.l)(new Jr({id:"insertNextSuggestion",precondition:A.a.and(z.a.textInputFocus,A.a.equals("config.editor.tabCompletion","on"),Bl.OtherSuggestions,co.Visible.toNegated(),ir.InSnippetMode.toNegated()),handler:u=>u.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:2}})),Object($.l)(new Jr({id:"insertPrevSuggestion",precondition:A.a.and(z.a.textInputFocus,A.a.equals("config.editor.tabCompletion","on"),Bl.OtherSuggestions,co.Visible.toNegated(),ir.InSnippetMode.toNegated()),handler:u=>u.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:z.a.textInputFocus,primary:1026}}));class vb extends $.b{constructor(){super({id:"editor.action.forceRetokenize",label:G.a("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(!t.hasModel())return;let n=t.getModel();n.resetTokenization();let r=new Tp.a(!0);n.forceTokenization(n.getLineCount()),r.stop(),console.log("tokenization took "+r.elapsed())}}Object($.k)(vb);var Lp=o(161);class wc extends $.b{constructor(){super({id:wc.ID,label:G.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){let n=!Lp.b.getTabFocusMode();Lp.b.setTabFocusMode(n),n?Object(_i.a)(G.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(_i.a)(G.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}wc.ID="editor.action.toggleTabFocusMode",Object($.k)(wc);var wb=o(171),yb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Np=function(u,e){return function(t,n){e(t,n,u)}},Cb=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let qc=class extends Lt.a{constructor(u,e,t){super(),this._editor=u,this._dialogService=e,this._codeEditorService=t,this._config=this._editor.getOption(103),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(103)&&(this._config=this._editor.getOption(103),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(n=>{n.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return Cb(this,void 0,void 0,function*(){if(this._config==="off"||!this._editor.hasModel())return;let u=this._editor.getModel();if(!!u.mightContainUnusualLineTerminators()&&function(e,t){return e.getModelProperty(t.uri,"ignoreUnusualLineTerminators")}(this._codeEditorService,u)!==!0&&!this._editor.getOption(72)){if(this._config==="auto")return void u.removeUnusualLineTerminators(this._editor.getSelections());(yield this._dialogService.confirm({title:G.a("unusualLineTerminators.title","Unusual Line Terminators"),message:G.a("unusualLineTerminators.message","Detected unusual line terminators"),detail:G.a("unusualLineTerminators.detail","This file contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`."),primaryButton:G.a("unusualLineTerminators.fix","Fix this file"),secondaryButton:G.a("unusualLineTerminators.ignore","Ignore problem for this file")})).confirmed?u.removeUnusualLineTerminators(this._editor.getSelections()):function(e,t,n){e.setModelProperty(t.uri,"ignoreUnusualLineTerminators",n)}(this._codeEditorService,u,!0)}})}};qc.ID="editor.contrib.unusualLineTerminatorsDetector",qc=yb([Np(1,wb.a),Np(2,Si.a)],qc),Object($.m)(qc.ID,qc);var xb=o(184),Ip=o(183),Sb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Fh=function(u,e){return function(t,n){e(t,n,u)}};let $c=class Cm extends Lt.a{constructor(e,t,n,r){super(),this._modelService=t,this._themeService=n,this._configurationService=r,this._editor=e,this._tokenizeViewport=new Bi.d(()=>this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(d=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(I.k.onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(d=>{d.affectsConfiguration(Ip.b)&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}static _getSemanticColoringProvider(e){let t=I.k.ordered(e);return t.length>0?t[0]:null}_cancelAll(){for(let e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,n=this._outstandingRequests.length;t<n;t++)if(this._outstandingRequests[t]===e)return void this._outstandingRequests.splice(t,1)}_tokenizeViewportNow(){if(!this._editor.hasModel())return;let e=this._editor.getModel();if(e.hasSemanticTokens()||!Object(Ip.c)(e,this._themeService,this._configurationService))return;let t=Cm._getSemanticColoringProvider(e);if(!t)return;let n=this._modelService.getSemanticTokensProviderStyling(t),r=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(r.map(d=>this._requestRange(e,d,t,n)))}_requestRange(e,t,n,r){let d=e.getVersionId(),m=Object(Bi.f)(O=>Promise.resolve(n.provideDocumentRangeSemanticTokens(e,t,O)));return m.then(O=>{O&&!e.isDisposed()&&e.getVersionId()===d&&e.setPartialSemanticTokens(t,Object(xb.b)(O,r,e.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(m),()=>this._removeOutstandingRequest(m)),m}};$c.ID="editor.contrib.viewportSemanticTokens",$c=Sb([Fh(1,ne.a),Fh(2,ut.c),Fh(3,Eo.a)],$c),Object($.m)($c.ID,$c);var kb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Eb=function(u,e){return function(t,n){e(t,n,u)}};let Tb=Object(Ue.gc)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},G.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),Lb=Object(Ue.gc)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},G.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),Nb=Object(Ue.gc)("editor.wordHighlightBorder",{light:null,dark:null,hc:Ue.b},G.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),Ib=Object(Ue.gc)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:Ue.b},G.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),Ob=Object(Ue.gc)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},G.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),Db=Object(Ue.gc)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},G.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),Dd=new A.c("hasWordHighlights",!1);function Op(u,e,t){let n=I.i.ordered(u);return Object(Bi.h)(n.map(r=>()=>Promise.resolve(r.provideDocumentHighlights(u,e,t)).then(void 0,Oe.f)),ee.o)}class Dp{constructor(e,t,n){this._wordRange=this._getCurrentWordRange(e,t),this.result=Object(Bi.f)(r=>this._compute(e,t,n,r))}_getCurrentWordRange(e,t){let n=e.getWordAtPosition(t.getPosition());return n?new gt.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):null}isValid(e,t,n){let r=t.startLineNumber,d=t.startColumn,m=t.endColumn,O=this._getCurrentWordRange(e,t),re=Boolean(this._wordRange&&this._wordRange.equalsRange(O));for(let oe=0,ce=n.length;!re&&oe<ce;oe++){let Me=e.getDecorationRange(n[oe]);Me&&Me.startLineNumber===r&&Me.startColumn<=d&&Me.endColumn>=m&&(re=!0)}return re}cancel(){this.result.cancel()}}class Ab extends Dp{_compute(e,t,n,r){return Op(e,t.getPosition(),r).then(d=>d||[])}}class Rb extends Dp{constructor(e,t,n){super(e,t,n),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,n,r){return Object(Bi.l)(250,r).then(()=>{if(!t.isEmpty())return[];let d=e.getWordAtPosition(t.getPosition());return!d||d.word.length>1e3?[]:e.findMatches(d.word,!0,!1,!0,n,!1).map(m=>({range:m.range,kind:I.h.Text}))})}isValid(e,t,n){let r=t.isEmpty();return this._selectionIsEmpty===r&&super.isValid(e,t,n)}}Object($.p)("_executeDocumentHighlights",(u,e)=>Op(u,e,On.a.None));class yc{constructor(e,t){this.toUnhook=new Lt.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=Dd.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(63),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(n=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(n)})),this.toUnhook.add(e.onDidChangeModelContent(n=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(n=>{let r=this.editor.getOption(63);this.occurrencesHighlight!==r&&(this.occurrencesHighlight=r,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this._decorationIds.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return ee.d(this._decorationIds.map(e=>this.model.getDecorationRange(e)).sort(gt.a.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights(),t=(ee.j(e,r=>r.containsPosition(this.editor.getPosition()))+1)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);let r=this._getWord();if(r){let d=this.editor.getModel().getLineContent(n.startLineNumber);Object(_i.a)(`${d}, ${t+1} of ${e.length} for '${r.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),t=(ee.j(e,r=>r.containsPosition(this.editor.getPosition()))-1+e.length)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);let r=this._getWord();if(r){let d=this.editor.getModel().getLineContent(n.startLineNumber);Object(_i.a)(`${d}, ${t+1} of ${e.length} for '${r.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){this.occurrencesHighlight&&e.reason===3?this._run():this._stopAll()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,n=e.startColumn;return this.model.getWordAtPosition({lineNumber:t,column:n})}_run(){let e=this.editor.getSelection();if(e.startLineNumber!==e.endLineNumber)return void this._stopAll();let t=e.startColumn,n=e.endColumn,r=this._getWord();if(!r||r.startColumn>t||r.endColumn<n)return void this._stopAll();let d=this.workerRequest&&this.workerRequest.isValid(this.model,e,this._decorationIds);if(this.lastCursorPositionChangeTime=new Date().getTime(),d)this.workerRequestCompleted&&this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();let oe=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=(m=this.model,O=this.editor.getSelection(),re=this.editor.getOption(105),I.i.has(m)?new Ab(m,O,re):new Rb(m,O,re)),this.workerRequest.result.then(ce=>{oe===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=ce||[],this._beginRenderDecorations())},Oe.e)}var m,O,re}_beginRenderDecorations(){let e=new Date().getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(let t of this.workerRequestValue)t.range&&e.push({range:t.range,options:yc._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===I.h.Write?this._WRITE_OPTIONS:e===I.h.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}yc._WRITE_OPTIONS=Rt.a.register({stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:Object(ut.h)(Db),position:vi.d.Center}}),yc._TEXT_OPTIONS=Rt.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(ut.h)(Ue.Wb),position:vi.d.Center}}),yc._REGULAR_OPTIONS=Rt.a.register({stickiness:1,className:"wordHighlight",overviewRuler:{color:Object(ut.h)(Ob),position:vi.d.Center}});let Hl=class xm extends Lt.a{constructor(e,t){super(),this.wordHighlighter=null;let n=()=>{e.hasModel()&&(this.wordHighlighter=new yc(e,t))};this._register(e.onDidChangeModel(r=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),n()})),n()}static get(e){return e.getContribution(xm.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};Hl.ID="editor.contrib.wordHighlighter",Hl=kb([Eb(1,A.b)],Hl);class Ap extends $.b{constructor(e,t){super(t),this._isNext=e}run(e,t){let n=Hl.get(t);n&&(this._isNext?n.moveNext():n.moveBack())}}class Mb extends $.b{constructor(){super({id:"editor.action.wordHighlight.trigger",label:G.a("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:Dd.toNegated(),kbOpts:{kbExpr:z.a.editorTextFocus,primary:0,weight:100}})}run(e,t,n){let r=Hl.get(t);r&&r.restoreViewState(!0)}}Object($.m)(Hl.ID,Hl),Object($.k)(class extends Ap{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:G.a("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:Dd,kbOpts:{kbExpr:z.a.editorTextFocus,primary:65,weight:100}})}}),Object($.k)(class extends Ap{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:G.a("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:Dd,kbOpts:{kbExpr:z.a.editorTextFocus,primary:1089,weight:100}})}}),Object($.k)(Mb),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.Q);t&&(e.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${t}; }`),e.addRule(`.monaco-editor .selectionHighlight { background-color: ${t.transparent(.5)}; }`));let n=u.getColor(Tb);n&&e.addRule(`.monaco-editor .wordHighlight { background-color: ${n}; }`);let r=u.getColor(Lb);r&&e.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${r}; }`);let d=u.getColor(Ue.R);d&&e.addRule(`.monaco-editor .selectionHighlight { border: 1px ${u.type==="hc"?"dotted":"solid"} ${d}; box-sizing: border-box; }`);let m=u.getColor(Nb);m&&e.addRule(`.monaco-editor .wordHighlight { border: 1px ${u.type==="hc"?"dashed":"solid"} ${m}; box-sizing: border-box; }`);let O=u.getColor(Ib);O&&e.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${u.type==="hc"?"dashed":"solid"} ${O}; box-sizing: border-box; }`)});var Pb=o(22),hl=o(129),Cc=o(117),Ad=o(26);class Rd extends $.c{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;let r=Object(Cc.a)(t.getOption(105)),d=t.getModel(),m=t.getSelections().map(O=>{let re=new Di.a(O.positionLineNumber,O.positionColumn),oe=this._move(r,d,re,this._wordNavigationType);return this._moveTo(O,oe,this._inSelectionMode)});if(d.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",0,m.map(O=>Pb.d.fromModelSelection(O))),m.length===1){let O=new Di.a(m[0].positionLineNumber,m[0].positionColumn);t.revealPosition(O,0)}}_moveTo(e,t,n){return n?new J.a(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new J.a(t.lineNumber,t.column,t.lineNumber,t.column)}}class ul extends Rd{_move(e,t,n,r){return hl.a.moveWordLeft(e,t,n,r)}}class pl extends Rd{_move(e,t,n,r){return hl.a.moveWordRight(e,t,n,r)}}class Md extends $.c{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;let r=Object(Cc.a)(t.getOption(105)),d=t.getModel(),m=t.getSelections().map(O=>{let re=this._delete(r,d,O,this._whitespaceHeuristics,this._wordNavigationType);return new $i.a(re,"")});t.pushUndoStop(),t.executeCommands(this.id,m),t.pushUndoStop()}}class Wh extends Md{_delete(e,t,n,r,d){return hl.a.deleteWordLeft(e,t,n,r,d)||new gt.a(1,1,1,1)}}class zh extends Md{_delete(e,t,n,r,d){let m=hl.a.deleteWordRight(e,t,n,r,d);if(m)return m;let O=t.getLineCount(),re=t.getLineMaxColumn(O);return new gt.a(O,re,O,re)}}Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:2063,mac:{primary:527},weight:100}})}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:2065,mac:{primary:529},weight:100}})}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:A.a.and(z.a.textInputFocus,mo.a),win:{primary:2063},weight:101}})}_move(u,e,t,n){return super._move(Object(Cc.a)(Ad.g.wordSeparators.defaultValue),e,t,n)}}),Object($.l)(new class extends ul{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:A.a.and(z.a.textInputFocus,mo.a),win:{primary:3087},weight:101}})}_move(u,e,t,n){return super._move(Object(Cc.a)(Ad.g.wordSeparators.defaultValue),e,t,n)}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:A.a.and(z.a.textInputFocus,mo.a),win:{primary:2065},weight:101}})}_move(u,e,t,n){return super._move(Object(Cc.a)(Ad.g.wordSeparators.defaultValue),e,t,n)}}),Object($.l)(new class extends pl{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:A.a.and(z.a.textInputFocus,mo.a),win:{primary:3089},weight:101}})}_move(u,e,t,n){return super._move(Object(Cc.a)(Ad.g.wordSeparators.defaultValue),e,t,n)}}),Object($.l)(new class extends Wh{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:z.a.writable})}}),Object($.l)(new class extends Wh{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:z.a.writable})}}),Object($.l)(new class extends Wh{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}),Object($.l)(new class extends zh{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:z.a.writable})}}),Object($.l)(new class extends zh{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:z.a.writable})}}),Object($.l)(new class extends zh{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}});class Rp extends Rd{_move(e,t,n,r){return hl.b.moveWordPartLeft(e,t,n)}}Ee.a.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft"),Ee.a.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class Mp extends Rd{_move(e,t,n,r){return hl.b.moveWordPartRight(e,t,n)}}Object($.l)(new class extends Md{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(u,e,t,n,r){return hl.b.deleteWordPartLeft(u,e,t,n)||new gt.a(1,1,1,1)}}),Object($.l)(new class extends Md{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:z.a.writable,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(u,e,t,n,r){let d=hl.b.deleteWordPartRight(u,e,t,n);if(d)return d;let m=e.getLineCount(),O=e.getLineMaxColumn(m);return new gt.a(m,O,m,O)}}),Object($.l)(new class extends Rp{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}),Object($.l)(new class extends Rp{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}),Object($.l)(new class extends Mp{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}),Object($.l)(new class extends Mp{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:z.a.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}});var xo=o(55),Pp=(o(335),o(35)),Fp=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Pd=function(u,e){return function(t,n){e(t,n,u)}};let Wp=new A.c("accessibilityHelpWidgetVisible",!1),ql=class Sm extends Lt.a{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(xc,this._editor))}static get(e){return e.getContribution(Sm.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};ql.ID="editor.contrib.accessibilityHelpController",ql=Fp([Pd(1,X.a)],ql);let xc=class Yd extends rr.a{constructor(e,t,n,r){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=r,this._editor=e,this._isVisibleKey=Wp.bindTo(this._contextKeyService),this._domNode=Object(Pp.b)(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=Object(Pp.b)(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(ae.n(this._contentDomNode.domNode,"keydown",d=>{if(this._isVisible&&(d.equals(2083)&&(Object(_i.a)(xo.a.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),ae.s(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),d.preventDefault(),d.stopPropagation()),d.equals(2086))){Object(_i.a)(xo.a.openingDocs);let m=this._editor.getRawOptions().accessibilityHelpUrl;m===void 0&&(m="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(Dn.a.parse(m)),d.preventDefault(),d.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Yd.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){let r=this._keybindingService.lookupKeybinding(e);return r?on.x(t,r.getAriaLabel()):on.x(n,e)}_buildContent(){let e=this._editor.getOptions(),t=this._editor.getSelections(),n=0;if(t){let m=this._editor.getModel();m&&t.forEach(O=>{n+=m.getValueLengthInRange(O)})}let r=function(m,O){return m&&m.length!==0?m.length===1?O?on.x(xo.a.singleSelectionRange,m[0].positionLineNumber,m[0].positionColumn,O):on.x(xo.a.singleSelection,m[0].positionLineNumber,m[0].positionColumn):O?on.x(xo.a.multiSelectionRange,m.length,O):m.length>0?on.x(xo.a.multiSelection,m.length):"":xo.a.noSelection}(t,n);e.get(47)?e.get(72)?r+=xo.a.readonlyDiffEditor:r+=xo.a.editableDiffEditor:e.get(72)?r+=xo.a.readonlyEditor:r+=xo.a.editableEditor;let d=Et.f?xo.a.changeConfigToOnMac:xo.a.changeConfigToOnWinLinux;switch(e.get(2)){case 0:r+=` + + - `+d;break;case 2:r+=` + + - `+xo.a.auto_on;break;case 1:r+=` + + - `+xo.a.auto_off,r+=" "+d}e.get(116)?r+=` + + - `+this._descriptionForCommand(wc.ID,xo.a.tabFocusModeOnMsg,xo.a.tabFocusModeOnMsgNoKb):r+=` + + - `+this._descriptionForCommand(wc.ID,xo.a.tabFocusModeOffMsg,xo.a.tabFocusModeOffMsgNoKb),r+=` + + - `+(Et.f?xo.a.openDocMac:xo.a.openDocWinLinux),r+=` + +`+xo.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(Fu.b)(r)),this._contentDomNode.domNode.setAttribute("aria-label",r)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,ae.s(this._contentDomNode.domNode),this._editor.focus())}_layout(){let e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(Yd.WIDTH,e.width-40)),n=Math.max(5,Math.min(Yd.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(n);let r=Math.round((e.height-n)/2);this._domNode.setTop(r);let d=Math.round((e.width-t)/2);this._domNode.setLeft(d)}};xc.ID="editor.contrib.accessibilityHelpWidget",xc.WIDTH=500,xc.HEIGHT=300,xc=Fp([Pd(1,A.b),Pd(2,Dt.a),Pd(3,ga.a)],xc);class Fb extends $.b{constructor(){super({id:"editor.action.showAccessibilityHelp",label:xo.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let n=ql.get(t);n&&n.show()}}Object($.m)(ql.ID,ql),Object($.k)(Fb);let Wb=$.c.bindToContribution(ql.get);Object($.l)(new Wb({id:"closeAccessibilityHelp",precondition:Wp,handler:u=>u.hide(),kbOpts:{weight:200,kbExpr:z.a.focus,primary:9,secondary:[1033]}})),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.U);t&&e.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${t}; }`);let n=u.getColor(Ue.W);n&&e.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${n}; }`);let r=u.getColor(Ue.uc);r&&e.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${r}; }`);let d=u.getColor(Ue.h);d&&e.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${d}; }`)}),o(337);class Bh extends Lt.a{constructor(e){super(),this.editor=e,this.widget=null,kt.i&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){let e=!this.editor.getOption(72);!this.widget&&e?this.widget=new Fd(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}Bh.ID="editor.contrib.iPadShowKeyboard";class Fd extends Lt.a{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(ae.i(this._domNode,"touchstart",t=>{this.editor.focus()})),this._register(ae.i(this._domNode,"focus",t=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return Fd.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}Fd.ID="editor.contrib.ShowKeyboardWidget",Object($.m)(Bh.ID,Bh),o(339);var jh=o(90),zp=o(139),zb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Bp=function(u,e){return function(t,n){e(t,n,u)}};let Sc=class km extends Lt.a{constructor(e,t,n){super(),this._editor=e,this._modeService=n,this._widget=null,this._register(this._editor.onDidChangeModel(r=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(r=>this.stop())),this._register(I.C.onDidChange(r=>this.stop())),this._register(this._editor.onKeyUp(r=>r.keyCode===9&&this.stop()))}static get(e){return e.getContribution(km.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new Wd(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};Sc.ID="editor.contrib.inspectTokens",Sc=zb([Bp(1,zp.a),Bp(2,nl.a)],Sc);class Bb extends $.b{constructor(){super({id:"editor.action.inspectTokens",label:xo.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let n=Sc.get(t);n&&n.launch()}}class Wd extends Lt.a{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._modeService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=function(n){return I.C.get(n.language)||{getInitialState:()=>jh.c,tokenize:(d,m,O)=>Object(jh.d)(n.language,d,m,O),tokenize2:(d,m,O)=>Object(jh.e)(n.id,d,m,O)}}(this._model.getLanguageIdentifier()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(n=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return Wd._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),n=0;for(let re=t.tokens1.length-1;re>=0;re--){let oe=t.tokens1[re];if(e.column-1>=oe.offset){n=re;break}}let r=0;for(let re=t.tokens2.length>>>1;re>=0;re--)if(e.column-1>=t.tokens2[re<<1]){r=re;break}let d=this._model.getLineContent(e.lineNumber),m="";if(n<t.tokens1.length){let re=t.tokens1[n].offset,oe=n+1<t.tokens1.length?t.tokens1[n+1].offset:d.length;m=d.substring(re,oe)}Object(ae.U)(this._domNode,Object(ae.a)("h2.tm-token",void 0,function(re){let oe="";for(let ce=0,Me=re.length;ce<Me;ce++){let Ct=re.charCodeAt(ce);switch(Ct){case 9:oe+="\u2192";break;case 32:oe+="\xB7";break;default:oe+=String.fromCharCode(Ct)}}return oe}(m),Object(ae.a)("span.tm-token-length",void 0,`${m.length} ${m.length===1?"char":"chars"}`))),Object(ae.p)(this._domNode,Object(ae.a)("hr.tokens-inspect-separator",{style:"clear:both"}));let O=1+(r<<1)<t.tokens2.length?this._decodeMetadata(t.tokens2[1+(r<<1)]):null;Object(ae.p)(this._domNode,Object(ae.a)("table.tm-metadata-table",void 0,Object(ae.a)("tbody",void 0,Object(ae.a)("tr",void 0,Object(ae.a)("td.tm-metadata-key",void 0,"language"),Object(ae.a)("td.tm-metadata-value",void 0,""+(O?O.languageIdentifier.language:"-?-"))),Object(ae.a)("tr",void 0,Object(ae.a)("td.tm-metadata-key",void 0,"token type"),Object(ae.a)("td.tm-metadata-value",void 0,""+(O?this._tokenTypeToString(O.tokenType):"-?-"))),Object(ae.a)("tr",void 0,Object(ae.a)("td.tm-metadata-key",void 0,"font style"),Object(ae.a)("td.tm-metadata-value",void 0,""+(O?this._fontStyleToString(O.fontStyle):"-?-"))),Object(ae.a)("tr",void 0,Object(ae.a)("td.tm-metadata-key",void 0,"foreground"),Object(ae.a)("td.tm-metadata-value",void 0,""+(O?Kn.a.Format.CSS.formatHex(O.foreground):"-?-"))),Object(ae.a)("tr",void 0,Object(ae.a)("td.tm-metadata-key",void 0,"background"),Object(ae.a)("td.tm-metadata-value",void 0,""+(O?Kn.a.Format.CSS.formatHex(O.background):"-?-")))))),Object(ae.p)(this._domNode,Object(ae.a)("hr.tokens-inspect-separator")),n<t.tokens1.length&&Object(ae.p)(this._domNode,Object(ae.a)("span.tm-token-type",void 0,t.tokens1[n].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){let t=I.C.getColorMap(),n=I.B.getLanguageId(e),r=I.B.getTokenType(e),d=I.B.getFontStyle(e),m=I.B.getForeground(e),O=I.B.getBackground(e);return{languageIdentifier:this._modeService.getLanguageIdentifier(n),tokenType:r,fontStyle:d,foreground:t[m],background:t[O]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),t.length===0&&(t="---"),t}_getTokensAtLine(e){let t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),t,0),r=this._tokenizationSupport.tokenize2(this._model.getLineContent(e),t,0);return{startState:t,tokens1:n.tokens,tokens2:r.tokens,endState:n.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let n=1;n<e;n++)t=this._tokenizationSupport.tokenize(this._model.getLineContent(n),t,0).endState;return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}Wd._ID="editor.contrib.inspectTokensWidget",Object($.m)(Sc.ID,Sc),Object($.k)(Bb),Object(ut.g)((u,e)=>{let t=u.getColor(Ue.F);if(t){let d=u.type===ut.b?2:1;e.addRule(`.monaco-editor .tokens-inspect-widget { border: ${d}px solid ${t}; }`),e.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${t}; }`)}let n=u.getColor(Ue.E);n&&e.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${n}; }`);let r=u.getColor(Ue.G);r&&e.addRule(`.monaco-editor .tokens-inspect-widget { color: ${r}; }`)});var Kc=o(134),jb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Vb=function(u,e){return function(t,n){e(t,n,u)}};let zd=class Zd{constructor(e){this.quickInputService=e,this.registry=mc.a.as(Kc.b.Quickaccess)}provide(e){let t=new Lt.b;t.add(e.onDidAccept(()=>{let[d]=e.selectedItems;d&&this.quickInputService.quickAccess.show(d.prefix,{preserveValue:!0})})),t.add(e.onDidChangeValue(d=>{let m=this.registry.getQuickAccessProvider(d.substr(Zd.PREFIX.length));m&&m.prefix&&m.prefix!==Zd.PREFIX&&this.quickInputService.quickAccess.show(m.prefix,{preserveValue:!0})}));let{editorProviders:n,globalProviders:r}=this.getQuickAccessProviders();return e.items=n.length===0||r.length===0?[...n.length===0?r:n]:[{label:Object(G.a)("globalCommands","global commands"),type:"separator"},...r,{label:Object(G.a)("editorCommands","editor commands"),type:"separator"},...n],t}getQuickAccessProviders(){let e=[],t=[];for(let n of this.registry.getQuickAccessProviders().sort((r,d)=>r.prefix.localeCompare(d.prefix)))if(n.prefix!==Zd.PREFIX)for(let r of n.helpEntries){let d=r.prefix||n.prefix,m=d||"\u2026";(r.needsEditor?t:e).push({prefix:d,label:m,ariaLabel:Object(G.a)("helpPickAriaLabel","{0}, {1}",m,r.description),description:r.description})}return{editorProviders:t,globalProviders:e}}};zd.PREFIX="?",zd=jb([Vb(0,Ho.a)],zd),mc.a.as(Kc.b.Quickaccess).registerQuickAccessProvider({ctor:zd,prefix:"",helpEntries:[{description:xo.e.helpQuickAccessActionLabel,needsEditor:!0}]});class jp{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var n;let r=new Lt.b;e.canAcceptInBackground=!!((n=this.options)===null||n===void 0?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let d=r.add(new Lt.d);return d.value=this.doProvide(e,t),r.add(this.onDidActiveTextEditorControlChange(()=>{d.value=void 0,d.value=this.doProvide(e,t)})),r}doProvide(e,t){let n=new Lt.b,r=this.activeTextEditorControl;if(r&&this.canProvideWithTextEditor(r)){let d=Object(Zr.a)(r);if(d){let m=Object(to.n)(r.saveViewState());n.add(d.onDidChangeCursorPosition(()=>{m=Object(to.n)(r.saveViewState())})),n.add(Object(vo.a)(t.onCancellationRequested)(()=>{m&&r===this.activeTextEditorControl&&r.restoreViewState(m)}))}n.add(Object(Lt.h)(()=>this.clearDecorations(r))),n.add(this.provideWithTextEditor(r,e,t))}else n.add(this.provideWithoutTextEditor(e,t));return n}canProvideWithTextEditor(e){return!0}gotoLocation(e,t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return Object(Zr.c)(e)?(t=e.getModel())===null||t===void 0?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(n=>{let r=[];this.rangeHighlightDecorationId&&(r.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),r.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);let d=[{range:t,options:{className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{overviewRuler:{color:Object(ut.h)(vt.s),position:vi.d.Full}}}],[m,O]=n.deltaDecorations(r,d);this.rangeHighlightDecorationId={rangeHighlightId:m,overviewRulerDecorationId:O}})}clearDecorations(e){let t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(n=>{n.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class Bd extends jp{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){let t=Object(G.a)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,Lt.a.None}provideWithTextEditor(e,t,n){let r=new Lt.b;r.add(t.onDidAccept(O=>{let[re]=t.selectedItems;if(re){if(!this.isValidLineNumber(e,re.lineNumber))return;this.gotoLocation(e,{range:this.toRange(re.lineNumber,re.column),keyMods:t.keyMods,preserveFocus:O.inBackground}),O.inBackground||t.hide()}}));let d=()=>{let O=this.parsePosition(e,t.value.trim().substr(Bd.PREFIX.length)),re=this.getPickLabel(e,O.lineNumber,O.column);if(t.items=[{lineNumber:O.lineNumber,column:O.column,label:re}],t.ariaLabel=re,!this.isValidLineNumber(e,O.lineNumber))return void this.clearDecorations(e);let oe=this.toRange(O.lineNumber,O.column);e.revealRangeInCenter(oe,0),this.addDecorations(e,oe)};d(),r.add(t.onDidChangeValue(()=>d()));let m=Object(Zr.a)(e);return m&&m.getOptions().get(52).renderType===2&&(m.updateOptions({lineNumbers:"on"}),r.add(Object(Lt.h)(()=>m.updateOptions({lineNumbers:"relative"})))),r}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){let n=t.split(/,|:|#/).map(d=>parseInt(d,10)).filter(d=>!isNaN(d)),r=this.lineCount(e)+1;return{lineNumber:n[0]>0?n[0]:r+n[0],column:n[1]}}getPickLabel(e,t,n){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,n)?Object(G.a)("gotoLineColumnLabel","Go to line {0} and column {1}.",t,n):Object(G.a)("gotoLineLabel","Go to line {0}.",t);let r=e.getPosition()||{lineNumber:1,column:1},d=this.lineCount(e);return d>1?Object(G.a)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",r.lineNumber,r.column,d):Object(G.a)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",r.lineNumber,r.column)}isValidLineNumber(e,t){return!(!t||typeof t!="number")&&t>0&&t<=this.lineCount(e)}isValidColumn(e,t,n){if(!n||typeof n!="number")return!1;let r=this.getModel(e);if(!r)return!1;let d={lineNumber:t,column:n};return r.validatePosition(d).equals(d)}lineCount(e){var t,n;return(n=(t=this.getModel(e))===null||t===void 0?void 0:t.getLineCount())!==null&&n!==void 0?n:0}}Bd.PREFIX=":";var Ub=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Hb=function(u,e){return function(t,n){e(t,n,u)}};let Gc=class extends Bd{constructor(u){super(),this.editorService=u,this.onDidActiveTextEditorControlChange=rt.b.None}get activeTextEditorControl(){return Object(to.n)(this.editorService.getFocusedCodeEditor())}};Gc=Ub([Hb(0,Si.a)],Gc),mc.a.as(Kc.b.Quickaccess).registerQuickAccessProvider({ctor:Gc,prefix:Gc.PREFIX,helpEntries:[{description:xo.b.gotoLineActionLabel,needsEditor:!0}]});class qb extends $.b{constructor(){super({id:"editor.action.gotoLine",label:xo.b.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(Ho.a).quickAccess.show(Gc.PREFIX)}}Object($.k)(qb);let Vp=[void 0,[]];function Vh(u,e,t=0,n=0){let r=e;return r.values&&r.values.length>1?function(d,m,O,re){let oe=0,ce=[];for(let Me of m){let[Ct,Ut]=Up(d,Me,O,re);if(typeof Ct!="number")return Vp;oe+=Ct,ce.push(...Ut)}return[oe,$b(ce)]}(u,r.values,t,n):Up(u,e,t,n)}function Up(u,e,t,n){let r=Object(kn.d)(e.original,e.originalLowercase,t,u,u.toLowerCase(),n,!0);return r?[r[0],Object(kn.c)(r)]:Vp}function $b(u){let e=u.sort((r,d)=>r.start-d.start),t=[],n;for(let r of e)n&&Kb(n,r)?(n.start=Math.min(n.start,r.start),n.end=Math.max(n.end,r.end)):(n=r,t.push(r));return t}function Kb(u,e){return!(u.end<e.start)&&!(e.end<u.start)}function Uh(u){typeof u!="string"&&(u="");let e=u.toLowerCase(),{pathNormalized:t,normalized:n,normalizedLowercase:r}=Hp(u),d=t.indexOf(mt.h)>=0,m,O=u.split(" ");if(O.length>1)for(let re of O){let{pathNormalized:oe,normalized:ce,normalizedLowercase:Me}=Hp(re);ce&&(m||(m=[]),m.push({original:re,originalLowercase:re.toLowerCase(),pathNormalized:oe,normalized:ce,normalizedLowercase:Me}))}return{original:u,originalLowercase:e,pathNormalized:t,normalized:n,normalizedLowercase:r,values:m,containsPathSeparator:d}}function Hp(u){let e;e=Et.i?u.replace(/\//g,mt.h):u.replace(/\\/g,mt.h);let t=Object(on.V)(e).replace(/\s/g,"");return{pathNormalized:e,normalized:t,normalizedLowercase:t.toLowerCase()}}function qp(u){return Array.isArray(u)?Uh(u.map(e=>e.original).join(" ")):Uh(u.original)}var Yc=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};class ys extends jp{constructor(e=Object.create(null)){super(e),this.options=e,e.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,Object(G.a)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),Lt.a.None}provideWithTextEditor(e,t,n){let r=this.getModel(e);return r?I.m.has(r)?this.doProvideWithEditorSymbols(e,r,t,n):this.doProvideWithoutEditorSymbols(e,r,t,n):Lt.a.None}doProvideWithoutEditorSymbols(e,t,n,r){let d=new Lt.b;return this.provideLabelPick(n,Object(G.a)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(()=>{Yc(this,void 0,void 0,function*(){(yield this.waitForLanguageSymbolRegistry(t,d))&&!r.isCancellationRequested&&d.add(this.doProvideWithEditorSymbols(e,t,n,r))})})(),d}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return Yc(this,void 0,void 0,function*(){if(I.m.has(e))return!0;let n,r=new Promise(m=>n=m),d=t.add(I.m.onDidChange(()=>{I.m.has(e)&&(d.dispose(),n(!0))}));return t.add(Object(Lt.h)(()=>n(!1))),r})}doProvideWithEditorSymbols(e,t,n,r){let d=new Lt.b;d.add(n.onDidAccept(ce=>{let[Me]=n.selectedItems;Me&&Me.range&&(this.gotoLocation(e,{range:Me.range.selection,keyMods:n.keyMods,preserveFocus:ce.inBackground}),ce.inBackground||n.hide())})),d.add(n.onDidTriggerItemButton(({item:ce})=>{ce&&ce.range&&(this.gotoLocation(e,{range:ce.range.selection,keyMods:n.keyMods,forceSideBySide:!0}),n.hide())}));let m=this.getDocumentSymbols(t,!0,r),O,re=()=>Yc(this,void 0,void 0,function*(){O==null||O.dispose(!0),n.busy=!1,O=new On.b(r),n.busy=!0;try{let ce=Uh(n.value.substr(ys.PREFIX.length).trim()),Me=yield this.doGetSymbolPicks(m,ce,void 0,O.token);if(r.isCancellationRequested)return;Me.length>0?n.items=Me:ce.original.length>0?this.provideLabelPick(n,Object(G.a)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(n,Object(G.a)("noSymbolResults","No editor symbols"))}finally{r.isCancellationRequested||(n.busy=!1)}});d.add(n.onDidChangeValue(()=>re())),re();let oe=!0;return d.add(n.onDidChangeActive(()=>{let[ce]=n.activeItems;if(ce&&ce.range){if(oe)return void(oe=!1);e.revealRangeInCenter(ce.range.selection,0),this.addDecorations(e,ce.range.decoration)}})),d}doGetSymbolPicks(e,t,n,r){return Yc(this,void 0,void 0,function*(){let d=yield e;if(r.isCancellationRequested)return[];let m=t.original.indexOf(ys.SCOPE_PREFIX)===0,O=m?1:0,re,oe;t.values&&t.values.length>1?(re=qp(t.values[0]),oe=qp(t.values.slice(1))):re=t;let ce=[];for(let Ut=0;Ut<d.length;Ut++){let St=d[Ut],di=Object(on.W)(St.name),hi=`$(symbol-${I.A.toString(St.kind)||"property"}) ${di}`,ji=hi.length-di.length,Ji=St.containerName;(n==null?void 0:n.extraContainerLabel)&&(Ji=Ji?`${n.extraContainerLabel} \u2022 ${Ji}`:n.extraContainerLabel);let dn,Ki,yn,hn;if(t.original.length>O){let fn=!1;if(re!==t&&([dn,Ki]=Vh(hi,Object.assign(Object.assign({},t),{values:void 0}),O,ji),typeof dn=="number"&&(fn=!0)),typeof dn!="number"&&([dn,Ki]=Vh(hi,re,O,ji),typeof dn!="number"))continue;if(!fn&&oe){if(Ji&&oe.original.length>0&&([yn,hn]=Vh(Ji,oe)),typeof yn!="number")continue;typeof dn=="number"&&(dn+=yn)}}let Qi=St.tags&&St.tags.indexOf(1)>=0;ce.push({index:Ut,kind:St.kind,score:dn,label:hi,ariaLabel:di,description:Ji,highlights:Qi?void 0:{label:Ki,description:hn},range:{selection:gt.a.collapseToStart(St.selectionRange),decoration:St.range},strikethrough:Qi,buttons:(()=>{var fn,$n;let bo=((fn=this.options)===null||fn===void 0?void 0:fn.openSideBySideDirection)?($n=this.options)===null||$n===void 0?void 0:$n.openSideBySideDirection():void 0;if(bo)return[{iconClass:bo==="right"?de.a.splitHorizontal.classNames:de.a.splitVertical.classNames,tooltip:bo==="right"?Object(G.a)("openToSide","Open to the Side"):Object(G.a)("openToBottom","Open to the Bottom")}]})()})}let Me=ce.sort((Ut,St)=>m?this.compareByKindAndScore(Ut,St):this.compareByScore(Ut,St)),Ct=[];if(m){let hi=function(){St&&typeof Ut=="number"&&di>0&&(St.label=Object(on.x)(qh[Ut]||Hh,di))},Ut,St,di=0;for(let ji of Me)Ut!==ji.kind?(hi(),Ut=ji.kind,di=1,St={type:"separator"},Ct.push(St)):di++,Ct.push(ji);hi()}else Me.length>0&&(Ct=[{label:Object(G.a)("symbols","symbols ({0})",ce.length),type:"separator"},...Me]);return Ct})}compareByScore(e,t){if(typeof e.score!="number"&&typeof t.score=="number")return 1;if(typeof e.score=="number"&&typeof t.score!="number")return-1;if(typeof e.score=="number"&&typeof t.score=="number"){if(e.score>t.score)return-1;if(e.score<t.score)return 1}return e.index<t.index?-1:e.index>t.index?1:0}compareByKindAndScore(e,t){let n=qh[e.kind]||Hh,r=qh[t.kind]||Hh,d=n.localeCompare(r);return d===0?this.compareByScore(e,t):d}getDocumentSymbols(e,t,n){return Yc(this,void 0,void 0,function*(){let r=yield vn.create(e,n);if(n.isCancellationRequested)return[];let d=[];for(let O of r.children.values())O instanceof Fi?d.push(O.symbol):d.push(...Ka.a.map(O.children.values(),re=>re.symbol));let m=[];return t?this.flattenDocumentSymbols(m,d,""):m=d,m.sort((O,re)=>gt.a.compareRangesUsingStarts(O.range,re.range))})}flattenDocumentSymbols(e,t,n){for(let r of t)e.push({kind:r.kind,tags:r.tags,name:r.name,detail:r.detail,containerName:r.containerName||n,range:r.range,selectionRange:r.selectionRange,children:void 0}),r.children&&this.flattenDocumentSymbols(e,r.children,r.name)}}ys.PREFIX="@",ys.SCOPE_PREFIX=":",ys.PREFIX_BY_CATEGORY=`${ys.PREFIX}${ys.SCOPE_PREFIX}`;let Hh=Object(G.a)("property","properties ({0})"),qh={5:Object(G.a)("method","methods ({0})"),11:Object(G.a)("function","functions ({0})"),8:Object(G.a)("_constructor","constructors ({0})"),12:Object(G.a)("variable","variables ({0})"),4:Object(G.a)("class","classes ({0})"),22:Object(G.a)("struct","structs ({0})"),23:Object(G.a)("event","events ({0})"),24:Object(G.a)("operator","operators ({0})"),10:Object(G.a)("interface","interfaces ({0})"),2:Object(G.a)("namespace","namespaces ({0})"),3:Object(G.a)("package","packages ({0})"),25:Object(G.a)("typeParameter","type parameters ({0})"),1:Object(G.a)("modules","modules ({0})"),6:Object(G.a)("property","properties ({0})"),9:Object(G.a)("enum","enumerations ({0})"),21:Object(G.a)("enumMember","enumeration members ({0})"),14:Object(G.a)("string","strings ({0})"),0:Object(G.a)("file","files ({0})"),17:Object(G.a)("array","arrays ({0})"),15:Object(G.a)("number","numbers ({0})"),16:Object(G.a)("boolean","booleans ({0})"),18:Object(G.a)("object","objects ({0})"),19:Object(G.a)("key","keys ({0})"),7:Object(G.a)("field","fields ({0})"),13:Object(G.a)("constant","constants ({0})")};var Gb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Yb=function(u,e){return function(t,n){e(t,n,u)}};let $h=class extends ys{constructor(u){super(),this.editorService=u,this.onDidActiveTextEditorControlChange=rt.b.None}get activeTextEditorControl(){return Object(to.n)(this.editorService.getFocusedCodeEditor())}};$h=Gb([Yb(0,Si.a)],$h),mc.a.as(Kc.b.Quickaccess).registerQuickAccessProvider({ctor:$h,prefix:ys.PREFIX,helpEntries:[{description:xo.f.quickOutlineActionLabel,prefix:ys.PREFIX,needsEditor:!0},{description:xo.f.quickOutlineByCategoryActionLabel,prefix:ys.PREFIX_BY_CATEGORY,needsEditor:!0}]});class Zb extends $.b{constructor(){super({id:"editor.action.quickOutline",label:xo.f.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:z.a.hasDocumentSymbolProvider,kbOpts:{kbExpr:z.a.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(Ho.a).quickAccess.show(ys.PREFIX)}}Object($.k)(Zb);var kc,jd=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};function Kh(u){let e=u;return Array.isArray(e.items)}(function(u){u[u.NO_ACTION=0]="NO_ACTION",u[u.CLOSE_PICKER=1]="CLOSE_PICKER",u[u.REFRESH_PICKER=2]="REFRESH_PICKER",u[u.REMOVE_ITEM=3]="REMOVE_ITEM"})(kc||(kc={}));class Vd extends Lt.a{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var n;let r=new Lt.b;e.canAcceptInBackground=!!((n=this.options)===null||n===void 0?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let d,m=r.add(new Lt.d),O=()=>jd(this,void 0,void 0,function*(){let re=m.value=new Lt.b;d==null||d.dispose(!0),e.busy=!1,d=new On.b(t);let oe=d.token,ce=e.value.substr(this.prefix.length).trim(),Me=this.getPicks(ce,re,oe),Ct=(Ut,St)=>{var di;let hi,ji;if(Kh(Ut)?(hi=Ut.items,ji=Ut.active):hi=Ut,hi.length===0){if(St)return!1;ce.length>0&&((di=this.options)===null||di===void 0?void 0:di.noResultsPick)&&(hi=[this.options.noResultsPick])}return e.items=hi,ji&&(e.activeItems=[ji]),!0};if(Me!==null)if(function(Ut){let St=Ut;return!!St.picks&&St.additionalPicks instanceof Promise}(Me)){let Ut=!1,St=!1;yield Promise.all([(()=>jd(this,void 0,void 0,function*(){yield Object(Bi.l)(Vd.FAST_PICKS_RACE_DELAY),oe.isCancellationRequested||St||(Ut=Ct(Me.picks,!0))}))(),(()=>jd(this,void 0,void 0,function*(){e.busy=!0;try{let di=yield Me.additionalPicks;if(oe.isCancellationRequested)return;let hi,ji,Ji;Kh(Me.picks)?(hi=Me.picks.items,Ji=Me.picks.active):hi=Me.picks;let dn;if(Kh(di)?(ji=di.items,dn=di.active):ji=di,ji.length>0||!Ut){let Ki;if(!Ji&&!dn){let yn=e.activeItems[0];yn&&hi.indexOf(yn)!==-1&&(Ki=yn)}Ct({items:[...hi,...ji],active:Ji||dn||Ki})}}finally{oe.isCancellationRequested||(e.busy=!1),St=!0}}))()])}else if(Me instanceof Promise){e.busy=!0;try{let Ut=yield Me;if(oe.isCancellationRequested)return;Ct(Ut)}finally{oe.isCancellationRequested||(e.busy=!1)}}else Ct(Me)});return r.add(e.onDidChangeValue(()=>O())),O(),r.add(e.onDidAccept(re=>{let[oe]=e.selectedItems;typeof(oe==null?void 0:oe.accept)=="function"&&(re.inBackground||e.hide(),oe.accept(e.keyMods,re))})),r.add(e.onDidTriggerItemButton(({button:re,item:oe})=>jd(this,void 0,void 0,function*(){var ce,Me;if(typeof oe.trigger=="function"){let Ct=(Me=(ce=oe.buttons)===null||ce===void 0?void 0:ce.indexOf(re))!==null&&Me!==void 0?Me:-1;if(Ct>=0){let Ut=oe.trigger(Ct,e.keyMods),St=typeof Ut=="number"?Ut:yield Ut;if(t.isCancellationRequested)return;switch(St){case kc.NO_ACTION:break;case kc.CLOSE_PICKER:e.hide();break;case kc.REFRESH_PICKER:O();break;case kc.REMOVE_ITEM:let di=e.items.indexOf(oe);if(di!==-1){let hi=e.items.slice();hi.splice(di,1),e.items=hi}}}}}))),r}}function Gh(u,e){return e&&(u.stack||u.stacktrace)?G.a("stackTrace.format","{0}: {1}",Kp(u),$p(u.stack)||$p(u.stacktrace)):Kp(u)}function $p(u){return Array.isArray(u)?u.join(` +`):u}function Kp(u){return typeof u.code=="string"&&typeof u.errno=="number"&&typeof u.syscall=="string"?G.a("nodeExceptionMessage","A system error occurred ({0})",u.message):u.message||G.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function Gp(u=null,e=!1){if(!u)return G.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(u)){let t=ee.d(u),n=Gp(t[0],e);return t.length>1?G.a("error.moreErrors","{0} ({1} errors in total)",n,t.length):n}if(to.j(u))return u;if(u.detail){let t=u.detail;if(t.error)return Gh(t.error,e);if(t.exception)return Gh(t.exception,e)}return u.stack?Gh(u,e):u.message?u.message:G.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}Vd.FAST_PICKS_RACE_DELAY=200;var Yp=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},ml=function(u,e){return function(t,n){e(t,n,u)}},Zp=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let Zc=class Xd extends Vd{constructor(e,t,n,r,d,m){super(Xd.PREFIX,e),this.options=e,this.instantiationService=t,this.keybindingService=n,this.commandService=r,this.telemetryService=d,this.notificationService=m,this.commandsHistory=this._register(this.instantiationService.createInstance($l))}getPicks(e,t,n){return Zp(this,void 0,void 0,function*(){let r=yield this.getCommandPicks(t,n);if(n.isCancellationRequested)return[];let d=[];for(let oe of r){let ce=Object(to.n)(Xd.WORD_FILTER(e,oe.label)),Me=oe.commandAlias?Object(to.n)(Xd.WORD_FILTER(e,oe.commandAlias)):void 0;ce||Me?(oe.highlights={label:ce,detail:this.options.showAlias?Me:void 0},d.push(oe)):e===oe.commandId&&d.push(oe)}let m=new Map;for(let oe of d){let ce=m.get(oe.label);ce?(oe.description=oe.commandId,ce.description=ce.commandId):m.set(oe.label,oe)}d.sort((oe,ce)=>{let Me=this.commandsHistory.peek(oe.commandId),Ct=this.commandsHistory.peek(ce.commandId);return Me&&Ct?Me>Ct?-1:1:Me?-1:Ct?1:oe.label.localeCompare(ce.label)});let O=[],re=!1;for(let oe=0;oe<d.length;oe++){let ce=d[oe],Me=this.keybindingService.lookupKeybinding(ce.commandId),Ct=Me?Object(G.a)("commandPickAriaLabelWithKeybinding","{0}, {1}",ce.label,Me.getAriaLabel()):ce.label;oe===0&&this.commandsHistory.peek(ce.commandId)&&(O.push({type:"separator",label:Object(G.a)("recentlyUsed","recently used")}),re=!0),oe!==0&&re&&!this.commandsHistory.peek(ce.commandId)&&(O.push({type:"separator",label:Object(G.a)("morecCommands","other commands")}),re=!1),O.push(Object.assign(Object.assign({},ce),{ariaLabel:Ct,detail:this.options.showAlias&&ce.commandAlias!==ce.label?ce.commandAlias:void 0,keybinding:Me,accept:()=>Zp(this,void 0,void 0,function*(){this.commandsHistory.push(ce.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:ce.commandId,from:"quick open"});try{yield this.commandService.executeCommand(ce.commandId)}catch(Ut){Object(Oe.d)(Ut)||this.notificationService.error(Object(G.a)("canNotRun","Command '{0}' resulted in an error ({1})",ce.label,Gp(Ut)))}})}))}return O})}};Zc.PREFIX=">",Zc.WORD_FILTER=Object(kn.j)(kn.h,kn.i,kn.f),Zc=Yp([ml(1,X.a),ml(2,Dt.a),ml(3,Ee.b),ml(4,We.a),ml(5,Re.a)],Zc);let $l=class Uo extends Lt.a{constructor(e,t,n){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,n.registerStorageKey({key:Uo.PREF_KEY_CACHE,version:1}),n.registerStorageKey({key:Uo.PREF_KEY_COUNTER,version:1}),this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=Uo.getConfiguredCommandHistoryLength(this.configurationService),Uo.cache&&Uo.cache.limit!==this.configuredCommandsHistoryLength&&(Uo.cache.limit=this.configuredCommandsHistoryLength,Uo.saveState(this.storageService))}load(){let e=this.storageService.get(Uo.PREF_KEY_CACHE,0),t;if(e)try{t=JSON.parse(e)}catch(r){}let n=Uo.cache=new Rn.a(this.configuredCommandsHistoryLength,1);if(t){let r;r=t.usesLRU?t.entries:t.entries.sort((d,m)=>d.value-m.value),r.forEach(d=>n.set(d.key,d.value))}Uo.counter=this.storageService.getNumber(Uo.PREF_KEY_COUNTER,0,Uo.counter)}push(e){Uo.cache&&(Uo.cache.set(e,Uo.counter++),Uo.saveState(this.storageService))}peek(e){var t;return(t=Uo.cache)===null||t===void 0?void 0:t.peek(e)}static saveState(e){if(!Uo.cache)return;let t={usesLRU:!0,entries:[]};Uo.cache.forEach((n,r)=>t.entries.push({key:r,value:n})),e.store(Uo.PREF_KEY_CACHE,JSON.stringify(t),0),e.store(Uo.PREF_KEY_COUNTER,Uo.counter,0)}static getConfiguredCommandHistoryLength(e){var t,n;let r=(n=(t=e.getValue().workbench)===null||t===void 0?void 0:t.commandPalette)===null||n===void 0?void 0:n.history;return typeof r=="number"?r:Uo.DEFAULT_COMMANDS_HISTORY_LENGTH}};$l.DEFAULT_COMMANDS_HISTORY_LENGTH=50,$l.PREF_KEY_CACHE="commandPalette.mru.cache",$l.PREF_KEY_COUNTER="commandPalette.mru.counter",$l.counter=1,$l=Yp([ml(0,Qn.a),ml(1,Eo.a),ml(2,gl.a)],$l);class Xb extends Zc{constructor(e,t,n,r,d,m){super(e,t,n,r,d,m)}getCodeEditorCommandPicks(){let e=this.activeTextEditorControl;if(!e)return[];let t=[];for(let n of e.getSupportedActions())t.push({commandId:n.id,commandAlias:n.alias,label:Object(de.h)(n.label)||n.id});return t}}var Qb=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Ec=function(u,e){return function(t,n){e(t,n,u)}},Jb=function(u,e,t,n){return new(t||(t=Promise))(function(r,d){function m(oe){try{re(n.next(oe))}catch(ce){d(ce)}}function O(oe){try{re(n.throw(oe))}catch(ce){d(ce)}}function re(oe){var ce;oe.done?r(oe.value):(ce=oe.value,ce instanceof t?ce:new t(function(Me){Me(ce)})).then(m,O)}re((n=n.apply(u,e||[])).next())})};let Xc=class extends Xb{constructor(u,e,t,n,r,d){super({showAlias:!1},u,t,n,r,d),this.codeEditorService=e}get activeTextEditorControl(){return Object(to.n)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return Jb(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};Xc=Qb([Ec(0,X.a),Ec(1,Si.a),Ec(2,Dt.a),Ec(3,Ee.b),Ec(4,We.a),Ec(5,Re.a)],Xc),mc.a.as(Kc.b.Quickaccess).registerQuickAccessProvider({ctor:Xc,prefix:Xc.PREFIX,helpEntries:[{description:xo.d.quickCommandHelp,needsEditor:!0}]});class e_ extends $.b{constructor(){super({id:"editor.action.quickCommand",label:xo.d.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:z.a.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(Ho.a).quickAccess.show(Xc.PREFIX)}}Object($.k)(e_);var t_=function(u,e,t,n){var r,d=arguments.length,m=d<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(u,e,t,n);else for(var O=u.length-1;O>=0;O--)(r=u[O])&&(m=(d<3?r(m):d>3?r(e,t,m):r(e,t))||m);return d>3&&m&&Object.defineProperty(e,t,m),m},Tc=function(u,e){return function(t,n){e(t,n,u)}};let Yh=class extends il{constructor(u,e,t,n,r,d,m){super(!0,u,e,t,n,r,d,m)}};Yh=t_([Tc(1,A.b),Tc(2,Si.a),Tc(3,Re.a),Tc(4,X.a),Tc(5,Qn.a),Tc(6,Eo.a)],Yh),Object($.m)(il.ID,Yh);class i_ extends $.b{constructor(){super({id:"editor.action.toggleHighContrast",label:xo.i.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){let n=e.get(zp.a);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getColorTheme().themeName,n.setTheme("hc-black"))}}Object($.k)(i_)},,,,,function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},f={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","node","nodes","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","non-unicode","non-unique","no-scrolling","no-sign","no-title","no-topofpage","no-zero","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","condense","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","insert","ipow","line_exists","line_index","lines","log","log10","match","matches","nmax","nmin","numofchar","repeat","replace","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","translate","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","table","hashed","index","sorted","standard","accp","char","clnt","cuky","curr","dats","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","tims","unit","df16_scl","df34_scl","prec","varc","abap_bool","space","me","syst","sy","screen"],operators:[" +"," -","/","*","**","div","mod","=","#","@","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","and","equiv","not","or"," < "," > ","<=",">=","<>","><","=<","=>","between","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","in","le","lt","na","nb","ne","np","ns"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_$][\w-$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@operators":"operator","@default":"identifier"}}],[/<[\w]+>/,"identifier"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return D});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},f=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach(function(H){f.push(H),f.push(H.toUpperCase()),f.push(function(E){return E.charAt(0).toUpperCase()+E.substr(1)}(H))});var D={defaultToken:"",tokenPostfix:".apex",keywords:f,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"}},f={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},f={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","begin","Bytes","Crypto","Current","else","end","failwith","false","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","Set","set","sender","source","String","then","true","type","with"],typeKeywords:["int","unit","string","tz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},f={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},f={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={brackets:[],autoClosingPairs:[],surroundingPairs:[]},f={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},f={defaultToken:"",tokenPostfix:".css",ws:`[ \r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r -]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},q={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},q={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},q={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return y}),f.d(t,"language",function(){return F});var l=f(95),q=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+q.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:l.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+q.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:l.a.IndentAction.Indent}}]},F={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},q={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return y}),f.d(t,"language",function(){return F});var l=f(95),q=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+q.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:l.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+q.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:l.a.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},F={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},q={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return q}),f.d(t,"language",function(){return y});var l=f(142),q=l.conf,y={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:l.language.operators,symbols:l.language.symbols,escapes:l.language.escapes,digits:l.language.digits,octaldigits:l.language.octaldigits,binarydigits:l.language.binarydigits,hexdigits:l.language.hexdigits,regexpctl:l.language.regexpctl,regexpesc:l.language.regexpesc,tokenizer:l.language.tokenizer}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},q={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},q={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},[`[^)\r -]+`,"string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},q={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=><!~?:&|+\-*\/\^%]+/,tokenizer:{root:[[/^(\s*)(comment:?(?:\s.*|))$/,["","comment"]],[/"/,{token:"identifier.quote",bracket:"@open",next:"@quoted_identifier"}],["LEX$",{token:"keyword",bracket:"@open",next:"@identifier_until_period"}],["LEXON",{token:"keyword",bracket:"@open",next:"@semver"}],[":",{token:"delimiter",bracket:"@open",next:"@identifier_until_period"}],[/[a-z_$][\w$]*/,{cases:{"@operators":"operator","@typeKeywords":"keyword.type","@keywords":"keyword","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},q={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},q={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},q={defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ACCOUNT","ACTION","ADD","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCHANGE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GRANT","GRANTS","GROUP","GROUP_REPLICATION","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISOLATION","ISSUER","ITERATE","JOIN","JSON","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_VERSION","MASTER_USER","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NEVER","NEW","NEXT","NO","NODEGROUP","NONBLOCKING","NONE","NO_WAIT","NO_WRITE_TO_BINLOG","NUMBER","NUMERIC","NVARCHAR","OFFSET","OLD_PASSWORD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OPTIONS","OR","ORDER","OUT","OUTER","OUTFILE","OWNER","PACK_KEYS","PAGE","PARSER","PARSE_GCOL_EXPR","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PROCEDURE","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANGE","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","REDOFILE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","RESET","RESIGNAL","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNS","REVERSE","REVOKE","RIGHT","RLIKE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VIEW","VIRTUAL","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CURDATE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAST_INSERT_ID","LCASE","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROUND","ROW_COUNT","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LongFromGeoHash","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SymDifference","ST_Touches","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},q={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},q={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*</,{token:"string.delim",switchTo:"@qstring.<.>"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*</,{token:"regexp.delim",switchTo:"@qregexp.<.>"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*</,{token:"string.delim",switchTo:"@qqstring.<.>"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["A","ABORT","ABS","ABSENT","ABSOLUTE","ACCESS","ACCORDING","ACTION","ADA","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALLOCATE","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARE","ARRAY","ARRAY_AGG","ARRAY_MAX_CARDINALITY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTRIBUTE","ATTRIBUTES","AUTHORIZATION","AVG","BACKWARD","BASE64","BEFORE","BEGIN","BEGIN_FRAME","BEGIN_PARTITION","BERNOULLI","BETWEEN","BIGINT","BINARY","BIT","BIT_LENGTH","BLOB","BLOCKED","BOM","BOOLEAN","BOTH","BREADTH","BY","C","CACHE","CALL","CALLED","CARDINALITY","CASCADE","CASCADED","CASE","CAST","CATALOG","CATALOG_NAME","CEIL","CEILING","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHARACTERS","CHARACTER_LENGTH","CHARACTER_SET_CATALOG","CHARACTER_SET_NAME","CHARACTER_SET_SCHEMA","CHAR_LENGTH","CHECK","CHECKPOINT","CLASS","CLASS_ORIGIN","CLOB","CLOSE","CLUSTER","COALESCE","COBOL","COLLATE","COLLATION","COLLATION_CATALOG","COLLATION_NAME","COLLATION_SCHEMA","COLLECT","COLUMN","COLUMNS","COLUMN_NAME","COMMAND_FUNCTION","COMMAND_FUNCTION_CODE","COMMENT","COMMENTS","COMMIT","COMMITTED","CONCURRENTLY","CONDITION","CONDITION_NUMBER","CONFIGURATION","CONFLICT","CONNECT","CONNECTION","CONNECTION_NAME","CONSTRAINT","CONSTRAINTS","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONSTRUCTOR","CONTAINS","CONTENT","CONTINUE","CONTROL","CONVERSION","CONVERT","COPY","CORR","CORRESPONDING","COST","COUNT","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CSV","CUBE","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_ROW","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATALINK","DATE","DATETIME_INTERVAL_CODE","DATETIME_INTERVAL_PRECISION","DAY","DB","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DEGREE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DEPENDS","DEPTH","DEREF","DERIVED","DESC","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DISABLE","DISCARD","DISCONNECT","DISPATCH","DISTINCT","DLNEWCOPY","DLPREVIOUSCOPY","DLURLCOMPLETE","DLURLCOMPLETEONLY","DLURLCOMPLETEWRITE","DLURLPATH","DLURLPATHONLY","DLURLPATHWRITE","DLURLSCHEME","DLURLSERVER","DLVALUE","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","DYNAMIC","DYNAMIC_FUNCTION","DYNAMIC_FUNCTION_CODE","EACH","ELEMENT","ELSE","EMPTY","ENABLE","ENCODING","ENCRYPTED","END","END-EXEC","END_FRAME","END_PARTITION","ENFORCED","ENUM","EQUALS","ESCAPE","EVENT","EVERY","EXCEPT","EXCEPTION","EXCLUDE","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXP","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILE","FILTER","FINAL","FIRST","FIRST_VALUE","FLAG","FLOAT","FLOOR","FOLLOWING","FOR","FORCE","FOREIGN","FORTRAN","FORWARD","FOUND","FRAME_ROW","FREE","FREEZE","FROM","FS","FULL","FUNCTION","FUNCTIONS","FUSION","G","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HEX","HIERARCHY","HOLD","HOUR","ID","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMEDIATELY","IMMUTABLE","IMPLEMENTATION","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INDENT","INDEX","INDEXES","INDICATOR","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTANCE","INSTANTIABLE","INSTEAD","INT","INTEGER","INTEGRITY","INTERSECT","INTERSECTION","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","K","KEY","KEY_MEMBER","KEY_TYPE","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAKPROOF","LEAST","LEFT","LENGTH","LEVEL","LIBRARY","LIKE","LIKE_REGEX","LIMIT","LINK","LISTEN","LN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKED","LOGGED","LOWER","M","MAP","MAPPING","MATCH","MATCHED","MATERIALIZED","MAX","MAXVALUE","MAX_CARDINALITY","MEMBER","MERGE","MESSAGE_LENGTH","MESSAGE_OCTET_LENGTH","MESSAGE_TEXT","METHOD","MIN","MINUTE","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MORE","MOVE","MULTISET","MUMPS","NAME","NAMES","NAMESPACE","NATIONAL","NATURAL","NCHAR","NCLOB","NESTING","NEW","NEXT","NFC","NFD","NFKC","NFKD","NIL","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NTH_VALUE","NTILE","NULL","NULLABLE","NULLIF","NULLS","NUMBER","NUMERIC","OBJECT","OCCURRENCES_REGEX","OCTETS","OCTET_LENGTH","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPEN","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDERING","ORDINALITY","OTHERS","OUT","OUTER","OUTPUT","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","P","PAD","PARALLEL","PARAMETER","PARAMETER_MODE","PARAMETER_NAME","PARAMETER_ORDINAL_POSITION","PARAMETER_SPECIFIC_CATALOG","PARAMETER_SPECIFIC_NAME","PARAMETER_SPECIFIC_SCHEMA","PARSER","PARTIAL","PARTITION","PASCAL","PASSING","PASSTHROUGH","PASSWORD","PATH","PERCENT","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PERIOD","PERMISSION","PLACING","PLANS","PLI","POLICY","PORTION","POSITION","POSITION_REGEX","POWER","PRECEDES","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROGRAM","PUBLIC","QUOTE","RANGE","RANK","READ","READS","REAL","REASSIGN","RECHECK","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","REQUIRING","RESET","RESPECT","RESTART","RESTORE","RESTRICT","RESULT","RETURN","RETURNED_CARDINALITY","RETURNED_LENGTH","RETURNED_OCTET_LENGTH","RETURNED_SQLSTATE","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINE_CATALOG","ROUTINE_NAME","ROUTINE_SCHEMA","ROW","ROWS","ROW_COUNT","ROW_NUMBER","RULE","SAVEPOINT","SCALE","SCHEMA","SCHEMA_NAME","SCOPE","SCOPE_CATALOG","SCOPE_NAME","SCOPE_SCHEMA","SCROLL","SEARCH","SECOND","SECTION","SECURITY","SELECT","SELECTIVE","SELF","SENSITIVE","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SERVER_NAME","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SIZE","SKIP","SMALLINT","SNAPSHOT","SOME","SOURCE","SPACE","SPECIFIC","SPECIFICTYPE","SPECIFIC_NAME","SQL","SQLCODE","SQLERROR","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQRT","STABLE","STANDALONE","START","STATE","STATEMENT","STATIC","STATISTICS","STDDEV_POP","STDDEV_SAMP","STDIN","STDOUT","STORAGE","STRICT","STRIP","STRUCTURE","STYLE","SUBCLASS_ORIGIN","SUBMULTISET","SUBSTRING","SUBSTRING_REGEX","SUCCEEDS","SUM","SYMMETRIC","SYSID","SYSTEM","SYSTEM_TIME","SYSTEM_USER","T","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TABLE_NAME","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOKEN","TOP_LEVEL_COUNT","TRAILING","TRANSACTION","TRANSACTIONS_COMMITTED","TRANSACTIONS_ROLLED_BACK","TRANSACTION_ACTIVE","TRANSFORM","TRANSFORMS","TRANSLATE","TRANSLATE_REGEX","TRANSLATION","TREAT","TRIGGER","TRIGGER_CATALOG","TRIGGER_NAME","TRIGGER_SCHEMA","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNDER","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLINK","UNLISTEN","UNLOGGED","UNNAMED","UNNEST","UNTIL","UNTYPED","UPDATE","UPPER","URI","USAGE","USER","USER_DEFINED_TYPE_CATALOG","USER_DEFINED_TYPE_CODE","USER_DEFINED_TYPE_NAME","USER_DEFINED_TYPE_SCHEMA","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VALUE_OF","VARBINARY","VARCHAR","VARIADIC","VARYING","VAR_POP","VAR_SAMP","VERBOSE","VERSION","VERSIONING","VIEW","VIEWS","VOLATILE","WHEN","WHENEVER","WHERE","WHITESPACE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLAGG","XMLATTRIBUTES","XMLBINARY","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDECLARATION","XMLDOCUMENT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLITERATE","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSCHEMA","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","YEAR","YES","ZONE"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acos","acosd","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","atan","atan2","atan2d","atand","avg","bit","bit_and","bit_length","bit_or","bool_and","bool_or","bound_box","box","brin_summarize_new_values","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","date_part","date_trunc","decode","degrees","dense_rank","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","family","first_value","floor","format","format_type","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lead","least","left","length","line","ln","localtime","localtimestamp","log","lower","lower_inc","lower_inf","lpad","lseg","ltrim","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","max","md5","min","mod","mode","netmask","network","nextval","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_merge","rank","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","shobj_description","sign","sin","sind","split_part","sprintf","sqrt","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","strip","strpos","substr","substring","sum","table_to_xml","table_to_xml_and_xmlschema","tan","tand","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},q={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},q={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/\.@symbolic+/,action:{token:"identifier.sym"}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:"number.float"}},{regex:/\.@digit+/,action:{token:"number.float"}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:"keyword.dlr"},"@default":{token:"namespace"}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:"keyword.srp"},"@default":{token:"identifier"}}}},{regex:/%\(/,action:{token:"delimiter.parenthesis"}},{regex:/^%{(#|\^|\$)?/,action:{token:"keyword",next:"@lexing_EXTCODE",nextEmbedded:"text/javascript"}},{regex:/^%}/,action:{token:"keyword"}},{regex:/'\(/,action:{token:"delimiter.parenthesis"}},{regex:/'\[/,action:{token:"delimiter.bracket"}},{regex:/'\{/,action:{token:"delimiter.brace"}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,["string","string.escape","string"]],[/'[^\\']'/,"string"],[/"/,"string.quote","@lexing_DQUOTE"],{regex:/`\(/,action:"@brackets"},{regex:/\\/,action:{token:"punctuation"}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:"keyword"}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:"keyword"},"@keywords_types":{token:"type"},"@default":{token:"identifier"}}}},{regex:/\/\/\/\//,action:{token:"comment",next:"@lexing_COMMENT_rest"}},{regex:/\/\/.*$/,action:{token:"comment"}},{regex:/\/\*/,action:{token:"comment",next:"@lexing_COMMENT_block_c"}},{regex:/-<|=</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/@symbolic+/,action:{cases:{"@operators":"keyword","@default":"operator"}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:"number.float"}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:"number.hex"}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:"number.octal"}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:"number.float"}},{regex:/@digit@digitseq0@INTSP*/,action:{token:"number.decimal"}},{regex:/@digit+@INTSP*/,action:{token:"number"}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,"comment"],[/\(\*/,"comment","@push"],[/\(\*/,"comment.invalid"],[/\*\)/,"comment","@pop"],[/\*/,"comment"]],lexing_COMMENT_block_c:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],lexing_COMMENT_rest:[[/$/,"comment","@pop"],[/.*/,"comment"]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:"type.effect"},"@default":{token:"identifier"}}}},{regex:/,/,action:{token:"punctuation"}},{regex:/>/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},q={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},q={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\-*\/\^;\.,]+/,escapes:/`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\w-]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/^:\w*/,"metatag"],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,"variable"],[/<#/,"comment","@comment"],[/#.*$/,"comment"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/\@"/,"string",'@herestring."'],[/\@'/,"string","@herestring.'"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/`./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:"variable",next:"@popall"},"@default":{token:"string",next:"@popall"}}}],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^\$`]+/,"string"],[/@escapes/,"string.escape"],[/`./,"string.escape.invalid"],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}]],comment:[[/[^#\.]+/,"comment"],[/#>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},q={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return q}),f.d(t,"language",function(){return y});var l=f(95),q={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:l.a.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},y={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},q={defaultToken:"",tokenPostfix:".r",roxygen:["@param","@return","@name","@rdname","@examples","@include","@docType","@S3method","@TODO","@aliases","@alias","@assignee","@author","@callGraphDepth","@callGraph","@callGraphPrimitives","@concept","@exportClass","@exportMethod","@exportPattern","@export","@formals","@format","@importClassesFrom","@importFrom","@importMethodsFrom","@import","@keywords","@method","@nord","@note","@references","@seealso","@setClass","@slot","@source","@title","@usage"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN ","NA_integer_","NA_real_","NA_complex_","NA_character_ ","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return y}),f.d(t,"language",function(){return F});var l=f(95),q=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+q.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:l.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+q.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:l.a.IndentAction.Indent}}]},F={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},q={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,alphanumericsplus:/[A-Za-z0-9-_+:.]/,simpleRefNameWithoutBq:/(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefName(?:\s@simpleRefName)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp(`^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|("|'|/).*\\4)*(#.*)?$`),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},q={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,["white",{cases:{"for|until|while":{token:"keyword.$2",next:"@dodecl.$2"},"@declarations":{token:"keyword.$2",next:"@root.$2"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:"keyword.$0x",next:"@modifier.$0x"},for:{token:"keyword.$2",next:"@dodecl.$2"},"@linedecls":{token:"keyword.$0",next:"@root.$0"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],[/[A-Z][\w]*[!?=]?/,"constructor.identifier"],[/\$[\w]*/,"global.constant"],[/@[\w]*/,"namespace.instance.identifier"],[/@@[\w]*/,"namespace.class.identifier"],[/<<[-~](@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/[ \t\r\n]+<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/^<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],{include:"@whitespace"},[/"/,{token:"string.d.delim",next:'@dstring.d."'}],[/'/,{token:"string.sq.delim",next:"@sstring.sq"}],[/%([rsqxwW]|Q?)/,{token:"@rematch",next:"pstring"}],[/`/,{token:"string.x.delim",next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,"string.s"],[/:"/,{token:"string.s.delim",next:'@dstring.s."'}],[/:'/,{token:"string.s.delim",next:"@sstring.s"}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:"regexp.delim",next:"@regexp"}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@keywordops":"keyword","@operators":"operator","@default":""}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/0[dD]@decpart/,"number"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:"number.float","@default":"number"}}]],dodecl:[[/^/,{token:"",switchTo:"@root.$S2"}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},do:{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],modifier:[[/^/,"","@pop"],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"then|else|elsif|do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],sstring:[[/[^\\']+/,"string.$S2"],[/\\\\|\\'|\\$/,"string.$S2.escape"],[/\\./,"string.$S2.invalid"],[/'/,{token:"string.$S2.delim",next:"@pop"}]],dstring:[[/[^\\`"#]+/,"string.$S2"],[/#/,"string.$S2.escape","@interpolated"],[/\\$/,"string.$S2.escape"],[/@escapes/,"string.$S2.escape"],[/\\./,"string.$S2.escape.invalid"],[/[`"]/,{cases:{"$#==$S3":{token:"string.$S2.delim",next:"@pop"},"@default":"string.$S2"}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":["string.heredoc",{token:"string.heredoc.delimiter",next:"@pop"}],"@default":["string.heredoc","string.heredoc"]}}],[/.*/,"string.heredoc"]],interpolated:[[/\$\w*/,"global.constant","@pop"],[/@\w*/,"namespace.class.identifier","@pop"],[/@@\w*/,"namespace.instance.identifier","@pop"],[/[{]/,{token:"string.escape.curly",switchTo:"@interpolated_compound"}],["","","@pop"]],interpolated_compound:[[/[}]/,{token:"string.escape.curly",next:"@pop"}],{include:"@root"}],pregexp:[{include:"@whitespace"},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:"regexp.delim",next:"@pop"},"$#==$S2":{token:"regexp.delim",next:"@push"},"~[)}\\]]":"@brackets.regexp.escape.control","~@regexpctl":"regexp.escape.control","@default":"regexp"}}],{include:"@regexcontrol"}],regexp:[{include:"@regexcontrol"},[/[^\\\/]/,"regexp"],["/[ixmp]*",{token:"regexp.delim"},"@pop"]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,["@brackets.regexp.escape.control","regexp.escape.control","@brackets.regexp.escape.control"]],[/(\[)(\^?)/,["@brackets.regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?[:=!])/,["@brackets.regexp.escape.control","regexp.escape.control"]],[/\(\?#/,{token:"regexp.escape.control",next:"@regexpcomment"}],[/[()]/,"@brackets.regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/#/,"regexp.escape","@interpolated"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"@brackets.regexp.escape.control","@pop"]],regexpcomment:[[/[^)]+/,"comment"],[/\)/,{token:"regexp.escape.control",next:"@pop"}]],pstring:[[/%([qws])\(/,{token:"string.$1.delim",switchTo:"@qstring.$1.(.)"}],[/%([qws])\[/,{token:"string.$1.delim",switchTo:"@qstring.$1.[.]"}],[/%([qws])\{/,{token:"string.$1.delim",switchTo:"@qstring.$1.{.}"}],[/%([qws])</,{token:"string.$1.delim",switchTo:"@qstring.$1.<.>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r</,{token:"regexp.delim",switchTo:"@pregexp.<.>"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)</,{token:"string.$1.delim",switchTo:"@qqstring.$1.<.>"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},q={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},q={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},q={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawstring"}],[/\bs"""/,{token:"string.quote",bracket:"@open",next:"@sstringt"}],[/\bs"/,{token:"string.quote",bracket:"@open",next:"@sstring"}],[/\bf""""/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring"}],[/"""/,{token:"string.quote",bracket:"@open",next:"@stringt"}],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/0[xX](@hexdigits)[Ll]?/,"number.hex","@allowMethod"],[/(@digits)[fFdD]/,"number.float","@allowMethod"],[/(@digits)[lL]?/,"number","@allowMethod"],[/\b_\*/,"key"],[/\b(_)\b/,"keyword","@allowMethod"],[/\bimport\b/,"keyword","@import"],[/\b(case)([ \t]+)(class)\b/,["keyword.modifier","white","keyword"]],[/\bcase\b/,"keyword","@case"],[/\bva[lr]\b/,"keyword","@vardef"],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,["keyword","white","identifier"]],[/@name(?=[ \t]*:(?!:))/,"variable"],[/(\.)(@name|@symbols)/,["operator",{token:"@rematch",next:"@allowMethod"}]],[/([{(])(\s*)(@name(?=\s*=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},q={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},q={defaultToken:"",tokenPostfix:".scss",ws:`[ +]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},f={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},f={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},f={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return D}),o.d(w,"language",function(){return H});var h=o(95),f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],D={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+f.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:h.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+f.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:h.a.IndentAction.Indent}}]},H={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},f={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return D}),o.d(w,"language",function(){return H});var h=o(95),f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],D={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+f.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:h.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+f.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:h.a.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},H={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},f={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return f}),o.d(w,"language",function(){return D});var h=o(142),f=h.conf,D={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:h.language.operators,symbols:h.language.symbols,escapes:h.language.escapes,digits:h.language.digits,octaldigits:h.language.octaldigits,binarydigits:h.language.binarydigits,hexdigits:h.language.hexdigits,regexpctl:h.language.regexpctl,regexpesc:h.language.regexpesc,tokenizer:h.language.tokenizer}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","\u03C0","\u212F","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","\xF7","\u2208","\u2209","\u220B","\u220C","\u2218","\u221A","\u221B","\u2229","\u222A","\u2248","\u2249","\u2260","\u2261","\u2262","\u2264","\u2265","\u2286","\u2287","\u2288","\u2289","\u228A","\u228B","\u22BB"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},f={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},f={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},[`[^)\r +]+`,"string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},f={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=><!~?:&|+\-*\/\^%]+/,tokenizer:{root:[[/^(\s*)(comment:?(?:\s.*|))$/,["","comment"]],[/"/,{token:"identifier.quote",bracket:"@open",next:"@quoted_identifier"}],["LEX$",{token:"keyword",bracket:"@open",next:"@identifier_until_period"}],["LEXON",{token:"keyword",bracket:"@open",next:"@semver"}],[":",{token:"delimiter",bracket:"@open",next:"@identifier_until_period"}],[/[a-z_$][\w$]*/,{cases:{"@operators":"operator","@typeKeywords":"keyword.type","@keywords":"keyword","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},f={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ACCOUNT","ACTION","ADD","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCHANGE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GRANT","GRANTS","GROUP","GROUP_REPLICATION","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISOLATION","ISSUER","ITERATE","JOIN","JSON","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_VERSION","MASTER_USER","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NEVER","NEW","NEXT","NO","NODEGROUP","NONBLOCKING","NONE","NO_WAIT","NO_WRITE_TO_BINLOG","NUMBER","NUMERIC","NVARCHAR","OFFSET","OLD_PASSWORD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OPTIONS","OR","ORDER","OUT","OUTER","OUTFILE","OWNER","PACK_KEYS","PAGE","PARSER","PARSE_GCOL_EXPR","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PROCEDURE","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANGE","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","REDOFILE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","RESET","RESIGNAL","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNS","REVERSE","REVOKE","RIGHT","RLIKE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VIEW","VIRTUAL","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CURDATE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAST_INSERT_ID","LCASE","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROUND","ROW_COUNT","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LongFromGeoHash","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SymDifference","ST_Touches","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},f={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},f={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*</,{token:"string.delim",switchTo:"@qstring.<.>"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*</,{token:"regexp.delim",switchTo:"@qregexp.<.>"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*</,{token:"string.delim",switchTo:"@qqstring.<.>"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["A","ABORT","ABS","ABSENT","ABSOLUTE","ACCESS","ACCORDING","ACTION","ADA","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALLOCATE","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARE","ARRAY","ARRAY_AGG","ARRAY_MAX_CARDINALITY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTRIBUTE","ATTRIBUTES","AUTHORIZATION","AVG","BACKWARD","BASE64","BEFORE","BEGIN","BEGIN_FRAME","BEGIN_PARTITION","BERNOULLI","BETWEEN","BIGINT","BINARY","BIT","BIT_LENGTH","BLOB","BLOCKED","BOM","BOOLEAN","BOTH","BREADTH","BY","C","CACHE","CALL","CALLED","CARDINALITY","CASCADE","CASCADED","CASE","CAST","CATALOG","CATALOG_NAME","CEIL","CEILING","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHARACTERS","CHARACTER_LENGTH","CHARACTER_SET_CATALOG","CHARACTER_SET_NAME","CHARACTER_SET_SCHEMA","CHAR_LENGTH","CHECK","CHECKPOINT","CLASS","CLASS_ORIGIN","CLOB","CLOSE","CLUSTER","COALESCE","COBOL","COLLATE","COLLATION","COLLATION_CATALOG","COLLATION_NAME","COLLATION_SCHEMA","COLLECT","COLUMN","COLUMNS","COLUMN_NAME","COMMAND_FUNCTION","COMMAND_FUNCTION_CODE","COMMENT","COMMENTS","COMMIT","COMMITTED","CONCURRENTLY","CONDITION","CONDITION_NUMBER","CONFIGURATION","CONFLICT","CONNECT","CONNECTION","CONNECTION_NAME","CONSTRAINT","CONSTRAINTS","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONSTRUCTOR","CONTAINS","CONTENT","CONTINUE","CONTROL","CONVERSION","CONVERT","COPY","CORR","CORRESPONDING","COST","COUNT","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CSV","CUBE","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_ROW","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATALINK","DATE","DATETIME_INTERVAL_CODE","DATETIME_INTERVAL_PRECISION","DAY","DB","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DEGREE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DEPENDS","DEPTH","DEREF","DERIVED","DESC","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DISABLE","DISCARD","DISCONNECT","DISPATCH","DISTINCT","DLNEWCOPY","DLPREVIOUSCOPY","DLURLCOMPLETE","DLURLCOMPLETEONLY","DLURLCOMPLETEWRITE","DLURLPATH","DLURLPATHONLY","DLURLPATHWRITE","DLURLSCHEME","DLURLSERVER","DLVALUE","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","DYNAMIC","DYNAMIC_FUNCTION","DYNAMIC_FUNCTION_CODE","EACH","ELEMENT","ELSE","EMPTY","ENABLE","ENCODING","ENCRYPTED","END","END-EXEC","END_FRAME","END_PARTITION","ENFORCED","ENUM","EQUALS","ESCAPE","EVENT","EVERY","EXCEPT","EXCEPTION","EXCLUDE","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXP","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILE","FILTER","FINAL","FIRST","FIRST_VALUE","FLAG","FLOAT","FLOOR","FOLLOWING","FOR","FORCE","FOREIGN","FORTRAN","FORWARD","FOUND","FRAME_ROW","FREE","FREEZE","FROM","FS","FULL","FUNCTION","FUNCTIONS","FUSION","G","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HEX","HIERARCHY","HOLD","HOUR","ID","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMEDIATELY","IMMUTABLE","IMPLEMENTATION","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INDENT","INDEX","INDEXES","INDICATOR","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTANCE","INSTANTIABLE","INSTEAD","INT","INTEGER","INTEGRITY","INTERSECT","INTERSECTION","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","K","KEY","KEY_MEMBER","KEY_TYPE","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAKPROOF","LEAST","LEFT","LENGTH","LEVEL","LIBRARY","LIKE","LIKE_REGEX","LIMIT","LINK","LISTEN","LN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKED","LOGGED","LOWER","M","MAP","MAPPING","MATCH","MATCHED","MATERIALIZED","MAX","MAXVALUE","MAX_CARDINALITY","MEMBER","MERGE","MESSAGE_LENGTH","MESSAGE_OCTET_LENGTH","MESSAGE_TEXT","METHOD","MIN","MINUTE","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MORE","MOVE","MULTISET","MUMPS","NAME","NAMES","NAMESPACE","NATIONAL","NATURAL","NCHAR","NCLOB","NESTING","NEW","NEXT","NFC","NFD","NFKC","NFKD","NIL","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NTH_VALUE","NTILE","NULL","NULLABLE","NULLIF","NULLS","NUMBER","NUMERIC","OBJECT","OCCURRENCES_REGEX","OCTETS","OCTET_LENGTH","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPEN","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDERING","ORDINALITY","OTHERS","OUT","OUTER","OUTPUT","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","P","PAD","PARALLEL","PARAMETER","PARAMETER_MODE","PARAMETER_NAME","PARAMETER_ORDINAL_POSITION","PARAMETER_SPECIFIC_CATALOG","PARAMETER_SPECIFIC_NAME","PARAMETER_SPECIFIC_SCHEMA","PARSER","PARTIAL","PARTITION","PASCAL","PASSING","PASSTHROUGH","PASSWORD","PATH","PERCENT","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PERIOD","PERMISSION","PLACING","PLANS","PLI","POLICY","PORTION","POSITION","POSITION_REGEX","POWER","PRECEDES","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROGRAM","PUBLIC","QUOTE","RANGE","RANK","READ","READS","REAL","REASSIGN","RECHECK","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","REQUIRING","RESET","RESPECT","RESTART","RESTORE","RESTRICT","RESULT","RETURN","RETURNED_CARDINALITY","RETURNED_LENGTH","RETURNED_OCTET_LENGTH","RETURNED_SQLSTATE","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINE_CATALOG","ROUTINE_NAME","ROUTINE_SCHEMA","ROW","ROWS","ROW_COUNT","ROW_NUMBER","RULE","SAVEPOINT","SCALE","SCHEMA","SCHEMA_NAME","SCOPE","SCOPE_CATALOG","SCOPE_NAME","SCOPE_SCHEMA","SCROLL","SEARCH","SECOND","SECTION","SECURITY","SELECT","SELECTIVE","SELF","SENSITIVE","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SERVER_NAME","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SIZE","SKIP","SMALLINT","SNAPSHOT","SOME","SOURCE","SPACE","SPECIFIC","SPECIFICTYPE","SPECIFIC_NAME","SQL","SQLCODE","SQLERROR","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQRT","STABLE","STANDALONE","START","STATE","STATEMENT","STATIC","STATISTICS","STDDEV_POP","STDDEV_SAMP","STDIN","STDOUT","STORAGE","STRICT","STRIP","STRUCTURE","STYLE","SUBCLASS_ORIGIN","SUBMULTISET","SUBSTRING","SUBSTRING_REGEX","SUCCEEDS","SUM","SYMMETRIC","SYSID","SYSTEM","SYSTEM_TIME","SYSTEM_USER","T","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TABLE_NAME","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOKEN","TOP_LEVEL_COUNT","TRAILING","TRANSACTION","TRANSACTIONS_COMMITTED","TRANSACTIONS_ROLLED_BACK","TRANSACTION_ACTIVE","TRANSFORM","TRANSFORMS","TRANSLATE","TRANSLATE_REGEX","TRANSLATION","TREAT","TRIGGER","TRIGGER_CATALOG","TRIGGER_NAME","TRIGGER_SCHEMA","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNDER","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLINK","UNLISTEN","UNLOGGED","UNNAMED","UNNEST","UNTIL","UNTYPED","UPDATE","UPPER","URI","USAGE","USER","USER_DEFINED_TYPE_CATALOG","USER_DEFINED_TYPE_CODE","USER_DEFINED_TYPE_NAME","USER_DEFINED_TYPE_SCHEMA","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VALUE_OF","VARBINARY","VARCHAR","VARIADIC","VARYING","VAR_POP","VAR_SAMP","VERBOSE","VERSION","VERSIONING","VIEW","VIEWS","VOLATILE","WHEN","WHENEVER","WHERE","WHITESPACE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLAGG","XMLATTRIBUTES","XMLBINARY","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDECLARATION","XMLDOCUMENT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLITERATE","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSCHEMA","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","YEAR","YES","ZONE"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acos","acosd","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","atan","atan2","atan2d","atand","avg","bit","bit_and","bit_length","bit_or","bool_and","bool_or","bound_box","box","brin_summarize_new_values","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","date_part","date_trunc","decode","degrees","dense_rank","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","family","first_value","floor","format","format_type","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lead","least","left","length","line","ln","localtime","localtimestamp","log","lower","lower_inc","lower_inf","lpad","lseg","ltrim","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","max","md5","min","mod","mode","netmask","network","nextval","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_merge","rank","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","shobj_description","sign","sin","sind","split_part","sprintf","sqrt","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","strip","strpos","substr","substring","sum","table_to_xml","table_to_xml_and_xmlschema","tan","tand","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},f={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/\.@symbolic+/,action:{token:"identifier.sym"}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:"number.float"}},{regex:/\.@digit+/,action:{token:"number.float"}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:"keyword.dlr"},"@default":{token:"namespace"}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:"keyword.srp"},"@default":{token:"identifier"}}}},{regex:/%\(/,action:{token:"delimiter.parenthesis"}},{regex:/^%{(#|\^|\$)?/,action:{token:"keyword",next:"@lexing_EXTCODE",nextEmbedded:"text/javascript"}},{regex:/^%}/,action:{token:"keyword"}},{regex:/'\(/,action:{token:"delimiter.parenthesis"}},{regex:/'\[/,action:{token:"delimiter.bracket"}},{regex:/'\{/,action:{token:"delimiter.brace"}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,["string","string.escape","string"]],[/'[^\\']'/,"string"],[/"/,"string.quote","@lexing_DQUOTE"],{regex:/`\(/,action:"@brackets"},{regex:/\\/,action:{token:"punctuation"}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:"keyword"}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:"keyword"},"@keywords_types":{token:"type"},"@default":{token:"identifier"}}}},{regex:/\/\/\/\//,action:{token:"comment",next:"@lexing_COMMENT_rest"}},{regex:/\/\/.*$/,action:{token:"comment"}},{regex:/\/\*/,action:{token:"comment",next:"@lexing_COMMENT_block_c"}},{regex:/-<|=</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/@symbolic+/,action:{cases:{"@operators":"keyword","@default":"operator"}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:"number.float"}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:"number.hex"}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:"number.octal"}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:"number.float"}},{regex:/@digit@digitseq0@INTSP*/,action:{token:"number.decimal"}},{regex:/@digit+@INTSP*/,action:{token:"number"}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,"comment"],[/\(\*/,"comment","@push"],[/\(\*/,"comment.invalid"],[/\*\)/,"comment","@pop"],[/\*/,"comment"]],lexing_COMMENT_block_c:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],lexing_COMMENT_rest:[[/$/,"comment","@pop"],[/.*/,"comment"]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:"type.effect"},"@default":{token:"identifier"}}}},{regex:/,/,action:{token:"punctuation"}},{regex:/>/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},f={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\-*\/\^;\.,]+/,escapes:/`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\w-]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/^:\w*/,"metatag"],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,"variable"],[/<#/,"comment","@comment"],[/#.*$/,"comment"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/\@"/,"string",'@herestring."'],[/\@'/,"string","@herestring.'"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/`./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:"variable",next:"@popall"},"@default":{token:"string",next:"@popall"}}}],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^\$`]+/,"string"],[/@escapes/,"string.escape"],[/`./,"string.escape.invalid"],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}]],comment:[[/[^#\.]+/,"comment"],[/#>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},f={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return f}),o.d(w,"language",function(){return D});var h=o(95),f={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:h.a.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},D={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},f={defaultToken:"",tokenPostfix:".r",roxygen:["@param","@return","@name","@rdname","@examples","@include","@docType","@S3method","@TODO","@aliases","@alias","@assignee","@author","@callGraphDepth","@callGraph","@callGraphPrimitives","@concept","@exportClass","@exportMethod","@exportPattern","@export","@formals","@format","@importClassesFrom","@importFrom","@importMethodsFrom","@import","@keywords","@method","@nord","@note","@references","@seealso","@setClass","@slot","@source","@title","@usage"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN ","NA_integer_","NA_real_","NA_complex_","NA_character_ ","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return D}),o.d(w,"language",function(){return H});var h=o(95),f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],D={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+f.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:h.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+f.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:h.a.IndentAction.Indent}}]},H={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},f={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,alphanumericsplus:/[A-Za-z0-9-_+:.]/,simpleRefNameWithoutBq:/(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefName(?:\s@simpleRefName)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp(`^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|("|'|/).*\\4)*(#.*)?$`),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},f={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,["white",{cases:{"for|until|while":{token:"keyword.$2",next:"@dodecl.$2"},"@declarations":{token:"keyword.$2",next:"@root.$2"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:"keyword.$0x",next:"@modifier.$0x"},for:{token:"keyword.$2",next:"@dodecl.$2"},"@linedecls":{token:"keyword.$0",next:"@root.$0"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],[/[A-Z][\w]*[!?=]?/,"constructor.identifier"],[/\$[\w]*/,"global.constant"],[/@[\w]*/,"namespace.instance.identifier"],[/@@[\w]*/,"namespace.class.identifier"],[/<<[-~](@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/[ \t\r\n]+<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/^<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],{include:"@whitespace"},[/"/,{token:"string.d.delim",next:'@dstring.d."'}],[/'/,{token:"string.sq.delim",next:"@sstring.sq"}],[/%([rsqxwW]|Q?)/,{token:"@rematch",next:"pstring"}],[/`/,{token:"string.x.delim",next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,"string.s"],[/:"/,{token:"string.s.delim",next:'@dstring.s."'}],[/:'/,{token:"string.s.delim",next:"@sstring.s"}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:"regexp.delim",next:"@regexp"}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@keywordops":"keyword","@operators":"operator","@default":""}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/0[dD]@decpart/,"number"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:"number.float","@default":"number"}}]],dodecl:[[/^/,{token:"",switchTo:"@root.$S2"}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},do:{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],modifier:[[/^/,"","@pop"],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"then|else|elsif|do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],sstring:[[/[^\\']+/,"string.$S2"],[/\\\\|\\'|\\$/,"string.$S2.escape"],[/\\./,"string.$S2.invalid"],[/'/,{token:"string.$S2.delim",next:"@pop"}]],dstring:[[/[^\\`"#]+/,"string.$S2"],[/#/,"string.$S2.escape","@interpolated"],[/\\$/,"string.$S2.escape"],[/@escapes/,"string.$S2.escape"],[/\\./,"string.$S2.escape.invalid"],[/[`"]/,{cases:{"$#==$S3":{token:"string.$S2.delim",next:"@pop"},"@default":"string.$S2"}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":["string.heredoc",{token:"string.heredoc.delimiter",next:"@pop"}],"@default":["string.heredoc","string.heredoc"]}}],[/.*/,"string.heredoc"]],interpolated:[[/\$\w*/,"global.constant","@pop"],[/@\w*/,"namespace.class.identifier","@pop"],[/@@\w*/,"namespace.instance.identifier","@pop"],[/[{]/,{token:"string.escape.curly",switchTo:"@interpolated_compound"}],["","","@pop"]],interpolated_compound:[[/[}]/,{token:"string.escape.curly",next:"@pop"}],{include:"@root"}],pregexp:[{include:"@whitespace"},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:"regexp.delim",next:"@pop"},"$#==$S2":{token:"regexp.delim",next:"@push"},"~[)}\\]]":"@brackets.regexp.escape.control","~@regexpctl":"regexp.escape.control","@default":"regexp"}}],{include:"@regexcontrol"}],regexp:[{include:"@regexcontrol"},[/[^\\\/]/,"regexp"],["/[ixmp]*",{token:"regexp.delim"},"@pop"]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,["@brackets.regexp.escape.control","regexp.escape.control","@brackets.regexp.escape.control"]],[/(\[)(\^?)/,["@brackets.regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?[:=!])/,["@brackets.regexp.escape.control","regexp.escape.control"]],[/\(\?#/,{token:"regexp.escape.control",next:"@regexpcomment"}],[/[()]/,"@brackets.regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/#/,"regexp.escape","@interpolated"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"@brackets.regexp.escape.control","@pop"]],regexpcomment:[[/[^)]+/,"comment"],[/\)/,{token:"regexp.escape.control",next:"@pop"}]],pstring:[[/%([qws])\(/,{token:"string.$1.delim",switchTo:"@qstring.$1.(.)"}],[/%([qws])\[/,{token:"string.$1.delim",switchTo:"@qstring.$1.[.]"}],[/%([qws])\{/,{token:"string.$1.delim",switchTo:"@qstring.$1.{.}"}],[/%([qws])</,{token:"string.$1.delim",switchTo:"@qstring.$1.<.>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r</,{token:"regexp.delim",switchTo:"@pregexp.<.>"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)</,{token:"string.$1.delim",switchTo:"@qqstring.$1.<.>"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},f={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},f={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawstring"}],[/\bs"""/,{token:"string.quote",bracket:"@open",next:"@sstringt"}],[/\bs"/,{token:"string.quote",bracket:"@open",next:"@sstring"}],[/\bf""""/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring"}],[/"""/,{token:"string.quote",bracket:"@open",next:"@stringt"}],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/0[xX](@hexdigits)[Ll]?/,"number.hex","@allowMethod"],[/(@digits)[fFdD]/,"number.float","@allowMethod"],[/(@digits)[lL]?/,"number","@allowMethod"],[/\b_\*/,"key"],[/\b(_)\b/,"keyword","@allowMethod"],[/\bimport\b/,"keyword","@import"],[/\b(case)([ \t]+)(class)\b/,["keyword.modifier","white","keyword"]],[/\bcase\b/,"keyword","@case"],[/\bva[lr]\b/,"keyword","@vardef"],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,["keyword","white","identifier"]],[/@name(?=[ \t]*:(?!:))/,"variable"],[/(\.)(@name|@symbols)/,["operator",{token:"@rematch",next:"@allowMethod"}]],[/([{(])(\s*)(@name(?=\s*=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},f={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},f={defaultToken:"",tokenPostfix:".scss",ws:`[ \r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},[`[^)\r -]+`,"string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},q={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/-+\w+/,"attribute.name"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},q={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},q={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},q={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},q={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},q={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},q={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["<!--","-->"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},q={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},q={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},q={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"conf",function(){return l}),f.d(t,"language",function(){return q});var l={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},q={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"setupTypeScript",function(){return G}),f.d(t,"setupJavaScript",function(){return hb}),f.d(t,"getJavaScriptWorker",function(){return _a}),f.d(t,"getTypeScriptWorker",function(){return fb});var l,q,y=f(29),F=function(ua,ba,$,S){return new($||($=Promise))(function(aa,_){function I(La){try{va(S.next(La))}catch($a){_($a)}}function ka(La){try{va(S.throw(La))}catch($a){_($a)}}function va(La){var $a;La.done?aa(La.value):($a=La.value,$a instanceof $?$a:new $(function(Ab){Ab($a)})).then(I,ka)}va((S=S.apply(ua,ba||[])).next())})},P=function(ua,ba){var $,S,aa,_,I={label:0,sent:function(){if(1&aa[0])throw aa[1];return aa[1]},trys:[],ops:[]};return _={next:ka(0),throw:ka(1),return:ka(2)},"function"==typeof Symbol&&(_[Symbol.iterator]=function(){return this}),_;function ka(va){return function(La){return function($a){if($)throw new TypeError("Generator is already executing.");for(;I;)try{if($=1,S&&(aa=2&$a[0]?S.return:$a[0]?S.throw||((aa=S.return)&&aa.call(S),0):S.next)&&!(aa=aa.call(S,$a[1])).done)return aa;switch(S=0,aa&&($a=[2&$a[0],aa.value]),$a[0]){case 0:case 1:aa=$a;break;case 4:return I.label++,{value:$a[1],done:!1};case 5:I.label++,S=$a[1],$a=[0];continue;case 7:$a=I.ops.pop(),I.trys.pop();continue;default:if(!(aa=I.trys,(aa=aa.length>0&&aa[aa.length-1])||6!==$a[0]&&2!==$a[0])){I=0;continue}if(3===$a[0]&&(!aa||$a[1]>aa[0]&&$a[1]<aa[3])){I.label=$a[1];break}if(6===$a[0]&&I.label<aa[1]){I.label=aa[1],aa=$a;break}if(aa&&I.label<aa[2]){I.label=aa[2],I.ops.push($a);break}aa[2]&&I.ops.pop(),I.trys.pop();continue}$a=ba.call(ua,I)}catch(Ab){$a=[6,Ab],S=0}finally{$=aa=0}if(5&$a[0])throw $a[1];return{value:$a[0]?$a[1]:void 0,done:!0}}([va,La])}}},Y=function(){function ua(ba,$){var S=this;this._modeId=ba,this._defaults=$,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(function(){return S._stopWorker()}),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(function(){return S._updateExtraLibs()})}return ua.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},ua.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},ua.prototype._updateExtraLibs=function(){return F(this,void 0,void 0,function(){var ba,$;return P(this,function(S){switch(S.label){case 0:return this._worker?(ba=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return $=S.sent(),this._updateExtraLibsToken!==ba?[2]:($.updateExtraLibs(this._defaults.getExtraLibs()),[2])}})})},ua.prototype._getClient=function(){var ba=this;if(!this._client){this._worker=y.f.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath}});var $=this._worker.getProxy();this._defaults.getEagerModelSync()&&($=$.then(function(S){return ba._worker?ba._worker.withSyncedResources(y.f.getModels().filter(function(aa){return aa.getModeId()===ba._modeId}).map(function(aa){return aa.uri})):S})),this._client=$}return this._client},ua.prototype.getLanguageServiceWorker=function(){for(var ba,$=this,S=[],aa=0;aa<arguments.length;aa++)S[aa]=arguments[aa];return this._getClient().then(function(_){ba=_}).then(function(_){if($._worker)return $._worker.withSyncedResources(S)}).then(function(_){return ba})},ua}(),R={"lib.d.ts":!0,"lib.dom.d.ts":!0,"lib.dom.iterable.d.ts":!0,"lib.es2015.collection.d.ts":!0,"lib.es2015.core.d.ts":!0,"lib.es2015.d.ts":!0,"lib.es2015.generator.d.ts":!0,"lib.es2015.iterable.d.ts":!0,"lib.es2015.promise.d.ts":!0,"lib.es2015.proxy.d.ts":!0,"lib.es2015.reflect.d.ts":!0,"lib.es2015.symbol.d.ts":!0,"lib.es2015.symbol.wellknown.d.ts":!0,"lib.es2016.array.include.d.ts":!0,"lib.es2016.d.ts":!0,"lib.es2016.full.d.ts":!0,"lib.es2017.d.ts":!0,"lib.es2017.full.d.ts":!0,"lib.es2017.intl.d.ts":!0,"lib.es2017.object.d.ts":!0,"lib.es2017.sharedmemory.d.ts":!0,"lib.es2017.string.d.ts":!0,"lib.es2017.typedarrays.d.ts":!0,"lib.es2018.asyncgenerator.d.ts":!0,"lib.es2018.asynciterable.d.ts":!0,"lib.es2018.d.ts":!0,"lib.es2018.full.d.ts":!0,"lib.es2018.intl.d.ts":!0,"lib.es2018.promise.d.ts":!0,"lib.es2018.regexp.d.ts":!0,"lib.es2019.array.d.ts":!0,"lib.es2019.d.ts":!0,"lib.es2019.full.d.ts":!0,"lib.es2019.object.d.ts":!0,"lib.es2019.string.d.ts":!0,"lib.es2019.symbol.d.ts":!0,"lib.es2020.bigint.d.ts":!0,"lib.es2020.d.ts":!0,"lib.es2020.full.d.ts":!0,"lib.es2020.intl.d.ts":!0,"lib.es2020.promise.d.ts":!0,"lib.es2020.string.d.ts":!0,"lib.es2020.symbol.wellknown.d.ts":!0,"lib.es5.d.ts":!0,"lib.es6.d.ts":!0,"lib.esnext.d.ts":!0,"lib.esnext.full.d.ts":!0,"lib.esnext.intl.d.ts":!0,"lib.esnext.promise.d.ts":!0,"lib.esnext.string.d.ts":!0,"lib.scripthost.d.ts":!0,"lib.webworker.d.ts":!0,"lib.webworker.importscripts.d.ts":!0},L=(l=function(ua,ba){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,S){$.__proto__=S}||function($,S){for(var aa in S)Object.prototype.hasOwnProperty.call(S,aa)&&($[aa]=S[aa])})(ua,ba)},function(ua,ba){function $(){this.constructor=ua}l(ua,ba),ua.prototype=null===ba?Object.create(ba):($.prototype=ba.prototype,new $())}),s=function(ua,ba,$,S){return new($||($=Promise))(function(aa,_){function I(La){try{va(S.next(La))}catch($a){_($a)}}function ka(La){try{va(S.throw(La))}catch($a){_($a)}}function va(La){var $a;La.done?aa(La.value):($a=La.value,$a instanceof $?$a:new $(function(Ab){Ab($a)})).then(I,ka)}va((S=S.apply(ua,ba||[])).next())})},z=function(ua,ba){var $,S,aa,_,I={label:0,sent:function(){if(1&aa[0])throw aa[1];return aa[1]},trys:[],ops:[]};return _={next:ka(0),throw:ka(1),return:ka(2)},"function"==typeof Symbol&&(_[Symbol.iterator]=function(){return this}),_;function ka(va){return function(La){return function($a){if($)throw new TypeError("Generator is already executing.");for(;I;)try{if($=1,S&&(aa=2&$a[0]?S.return:$a[0]?S.throw||((aa=S.return)&&aa.call(S),0):S.next)&&!(aa=aa.call(S,$a[1])).done)return aa;switch(S=0,aa&&($a=[2&$a[0],aa.value]),$a[0]){case 0:case 1:aa=$a;break;case 4:return I.label++,{value:$a[1],done:!1};case 5:I.label++,S=$a[1],$a=[0];continue;case 7:$a=I.ops.pop(),I.trys.pop();continue;default:if(!(aa=I.trys,(aa=aa.length>0&&aa[aa.length-1])||6!==$a[0]&&2!==$a[0])){I=0;continue}if(3===$a[0]&&(!aa||$a[1]>aa[0]&&$a[1]<aa[3])){I.label=$a[1];break}if(6===$a[0]&&I.label<aa[1]){I.label=aa[1],aa=$a;break}if(aa&&I.label<aa[2]){I.label=aa[2],I.ops.push($a);break}aa[2]&&I.ops.pop(),I.trys.pop();continue}$a=ba.call(ua,I)}catch(Ab){$a=[6,Ab],S=0}finally{$=aa=0}if(5&$a[0])throw $a[1];return{value:$a[0]?$a[1]:void 0,done:!0}}([va,La])}}};function D(ua,ba,$){if(void 0===$&&($=0),"string"==typeof ua)return ua;if(void 0===ua)return"";var S="";if($){S+=ba;for(var aa=0;aa<$;aa++)S+=" "}if(S+=ua.messageText,$++,ua.next)for(var _=0,I=ua.next;_<I.length;_++)S+=D(I[_],ba,$);return S}function Q(ua){return ua?ua.map(function(ba){return ba.text}).join(""):""}!function(ua){ua[ua.None=0]="None",ua[ua.Block=1]="Block",ua[ua.Smart=2]="Smart"}(q||(q={}));var B,C=function(){function ua(ba){this._worker=ba}return ua.prototype._textSpanToRange=function(ba,$){var S=ba.getPositionAt($.start),aa=ba.getPositionAt($.start+$.length);return{startLineNumber:S.lineNumber,startColumn:S.column,endLineNumber:aa.lineNumber,endColumn:aa.column}},ua}(),k=function(){function ua(ba){this._worker=ba,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}return ua.prototype.isLibFile=function(ba){return!!ba&&(0===ba.path.indexOf("/lib.")&&!!R[ba.path.slice(1)])},ua.prototype.getOrCreateModel=function(ba){var $=y.f.getModel(ba);return $||(this.isLibFile(ba)&&this._hasFetchedLibFiles?y.f.createModel(this._libFiles[ba.path.slice(1)],"javascript",ba):null)},ua.prototype._containsLibFile=function(ba){for(var $=0,S=ba;$<S.length;$++){var aa=S[$];if(this.isLibFile(aa))return!0}return!1},ua.prototype.fetchLibFilesIfNecessary=function(ba){return s(this,void 0,void 0,function(){return z(this,function($){switch($.label){case 0:return this._containsLibFile(ba)?[4,this._fetchLibFiles()]:[2];case 1:return $.sent(),[2]}})})},ua.prototype._fetchLibFiles=function(){var ba=this;return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(function($){return $.getLibFiles()}).then(function($){ba._hasFetchedLibFiles=!0,ba._libFiles=$})),this._fetchLibFilesPromise},ua}();!function(ua){ua[ua.Warning=0]="Warning",ua[ua.Error=1]="Error",ua[ua.Suggestion=2]="Suggestion",ua[ua.Message=3]="Message"}(B||(B={}));var w=function(ua){function ba($,S,aa,_){var I=ua.call(this,_)||this;I._libFiles=$,I._defaults=S,I._selector=aa,I._disposables=[],I._listener=Object.create(null);var ka=function($a){if($a.getModeId()===aa){var Ab,gb=$a.onDidChangeContent(function(){clearTimeout(Ab),Ab=setTimeout(function(){return I._doValidate($a)},500)});I._listener[$a.uri.toString()]={dispose:function(){gb.dispose(),clearTimeout(Ab)}},I._doValidate($a)}},va=function($a){y.f.setModelMarkers($a,I._selector,[]);var Ab=$a.uri.toString();I._listener[Ab]&&(I._listener[Ab].dispose(),delete I._listener[Ab])};I._disposables.push(y.f.onDidCreateModel(ka)),I._disposables.push(y.f.onWillDisposeModel(va)),I._disposables.push(y.f.onDidChangeModelLanguage(function($a){va($a.model),ka($a.model)})),I._disposables.push({dispose:function(){for(var $a=0,Ab=y.f.getModels();$a<Ab.length;$a++){var gb=Ab[$a];va(gb)}}});var La=function(){for(var $a=0,Ab=y.f.getModels();$a<Ab.length;$a++){var gb=Ab[$a];va(gb),ka(gb)}};return I._disposables.push(I._defaults.onDidChange(La)),I._disposables.push(I._defaults.onDidExtraLibsChange(La)),y.f.getModels().forEach(ka),I}return L(ba,ua),ba.prototype.dispose=function(){this._disposables.forEach(function($){return $&&$.dispose()}),this._disposables=[]},ba.prototype._doValidate=function($){return s(this,void 0,void 0,function(){var S,aa,_,I,ka,va,La,$a,Ab,gb=this;return z(this,function(Fb){switch(Fb.label){case 0:return[4,this._worker($.uri)];case 1:return S=Fb.sent(),$.isDisposed()?[2]:(aa=[],_=this._defaults.getDiagnosticsOptions(),I=_.noSyntaxValidation,ka=_.noSemanticValidation,va=_.noSuggestionDiagnostics,I||aa.push(S.getSyntacticDiagnostics($.uri.toString())),ka||aa.push(S.getSemanticDiagnostics($.uri.toString())),va||aa.push(S.getSuggestionDiagnostics($.uri.toString())),[4,Promise.all(aa)]);case 2:return!(La=Fb.sent())||$.isDisposed()?[2]:($a=La.reduce(function(wb,tc){return tc.concat(wb)},[]).filter(function(wb){return-1===(gb._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(wb.code)}),Ab=$a.map(function(wb){return wb.relatedInformation||[]}).reduce(function(wb,tc){return tc.concat(wb)},[]).map(function(wb){return wb.file?y.e.parse(wb.file.fileName):null}),[4,this._libFiles.fetchLibFilesIfNecessary(Ab)]);case 3:return Fb.sent(),$.isDisposed()?[2]:(y.f.setModelMarkers($,this._selector,$a.map(function(wb){return gb._convertDiagnostics($,wb)})),[2])}})})},ba.prototype._convertDiagnostics=function($,S){var aa=S.start||0,_=S.length||1,I=$.getPositionAt(aa),ka=I.lineNumber,va=I.column,La=$.getPositionAt(aa+_),$a=La.lineNumber,Ab=La.column,gb=[];return S.reportsUnnecessary&&gb.push(y.c.Unnecessary),S.reportsDeprecated&&gb.push(y.c.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(S.category),startLineNumber:ka,startColumn:va,endLineNumber:$a,endColumn:Ab,message:D(S.messageText,` -`),code:S.code.toString(),tags:gb,relatedInformation:this._convertRelatedInformation($,S.relatedInformation)}},ba.prototype._convertRelatedInformation=function($,S){var aa=this;if(S){var _=[];return S.forEach(function(I){var ka=$;if(I.file){var va=y.e.parse(I.file.fileName);ka=aa._libFiles.getOrCreateModel(va)}if(ka){var La=I.start||0,$a=I.length||1,Ab=ka.getPositionAt(La),gb=Ab.lineNumber,Fb=Ab.column,wb=ka.getPositionAt(La+$a),tc=wb.lineNumber,rb=wb.column;_.push({resource:ka.uri,startLineNumber:gb,startColumn:Fb,endLineNumber:tc,endColumn:rb,message:D(I.messageText,` -`)})}}),_}},ba.prototype._tsDiagnosticCategoryToMarkerSeverity=function($){switch($){case B.Error:return y.b.Error;case B.Message:return y.b.Info;case B.Warning:return y.b.Warning;case B.Suggestion:return y.b.Hint}return y.b.Info},ba}(C),x=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),Object.defineProperty(ba.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!1,configurable:!0}),ba.prototype.provideCompletionItems=function($,S,aa,_){return s(this,void 0,void 0,function(){var I,ka,va,La,$a;return z(this,function(Ab){switch(Ab.label){case 0:return I=$.getWordUntilPosition(S),ka=new y.d(S.lineNumber,I.startColumn,S.lineNumber,I.endColumn),va=$.uri,La=$.getOffsetAt(S),[4,this._worker(va)];case 1:return[4,Ab.sent().getCompletionsAtPosition(va.toString(),La)];case 2:return!($a=Ab.sent())||$.isDisposed()?[2]:[2,{suggestions:$a.entries.map(function(gb){var Fb,wb=ka;if(gb.replacementSpan){var tc=$.getPositionAt(gb.replacementSpan.start),rb=$.getPositionAt(gb.replacementSpan.start+gb.replacementSpan.length);wb=new y.d(tc.lineNumber,tc.column,rb.lineNumber,rb.column)}var wc=[];return-1!==(null===(Fb=gb.kindModifiers)||void 0===Fb?void 0:Fb.indexOf("deprecated"))&&wc.push(y.g.CompletionItemTag.Deprecated),{uri:va,position:S,offset:La,range:wb,label:gb.name,insertText:gb.name,sortText:gb.sortText,kind:ba.convertKind(gb.kind),tags:wc}})}]}})})},ba.prototype.resolveCompletionItem=function($,S){return s(this,void 0,void 0,function(){var aa,_,I,ka,va;return z(this,function(La){switch(La.label){case 0:return _=(aa=$).uri,I=aa.position,ka=aa.offset,[4,this._worker(_)];case 1:return[4,La.sent().getCompletionEntryDetails(_.toString(),ka,aa.label)];case 2:return(va=La.sent())?[2,{uri:_,position:I,label:va.name,kind:ba.convertKind(va.kind),detail:Q(va.displayParts),documentation:{value:ba.createDocumentationString(va)}}]:[2,aa]}})})},ba.convertKind=function($){switch($){case oa.primitiveType:case oa.keyword:return y.g.CompletionItemKind.Keyword;case oa.variable:case oa.localVariable:return y.g.CompletionItemKind.Variable;case oa.memberVariable:case oa.memberGetAccessor:case oa.memberSetAccessor:return y.g.CompletionItemKind.Field;case oa.function:case oa.memberFunction:case oa.constructSignature:case oa.callSignature:case oa.indexSignature:return y.g.CompletionItemKind.Function;case oa.enum:return y.g.CompletionItemKind.Enum;case oa.module:return y.g.CompletionItemKind.Module;case oa.class:return y.g.CompletionItemKind.Class;case oa.interface:return y.g.CompletionItemKind.Interface;case oa.warning:return y.g.CompletionItemKind.File}return y.g.CompletionItemKind.Property},ba.createDocumentationString=function($){var S=Q($.documentation);if($.tags)for(var aa=0,_=$.tags;aa<_.length;aa++)S+=` - -`+u(_[aa]);return S},ba}(C);function u(ua){var ba="*@"+ua.name+"*";if("param"===ua.name&&ua.text){var $=ua.text.split(" "),S=$[0],aa=$.slice(1);ba+="`"+S+"`",aa.length>0&&(ba+=" — "+aa.join(" "))}else ua.text&&(ba+=" — "+ua.text);return ba}var A=function(ua){function ba(){var $=null!==ua&&ua.apply(this,arguments)||this;return $.signatureHelpTriggerCharacters=["(",","],$}return L(ba,ua),ba.prototype.provideSignatureHelp=function($,S,aa){return s(this,void 0,void 0,function(){var _,I,ka,va;return z(this,function(La){switch(La.label){case 0:return _=$.uri,I=$.getOffsetAt(S),[4,this._worker(_)];case 1:return[4,La.sent().getSignatureHelpItems(_.toString(),I)];case 2:return!(ka=La.sent())||$.isDisposed()?[2]:(va={activeSignature:ka.selectedItemIndex,activeParameter:ka.argumentIndex,signatures:[]},ka.items.forEach(function($a){var Ab={label:"",parameters:[]};Ab.documentation={value:Q($a.documentation)},Ab.label+=Q($a.prefixDisplayParts),$a.parameters.forEach(function(gb,Fb,wb){var tc=Q(gb.displayParts),rb={label:tc,documentation:{value:Q(gb.documentation)}};Ab.label+=tc,Ab.parameters.push(rb),Fb<wb.length-1&&(Ab.label+=Q($a.separatorDisplayParts))}),Ab.label+=Q($a.suffixDisplayParts),va.signatures.push(Ab)}),[2,{value:va,dispose:function(){}}])}})})},ba}(C),U=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba.prototype.provideHover=function($,S,aa){return s(this,void 0,void 0,function(){var _,I,ka,va,La,$a;return z(this,function(Ab){switch(Ab.label){case 0:return _=$.uri,I=$.getOffsetAt(S),[4,this._worker(_)];case 1:return[4,Ab.sent().getQuickInfoAtPosition(_.toString(),I)];case 2:return!(ka=Ab.sent())||$.isDisposed()?[2]:(va=Q(ka.documentation),La=ka.tags?ka.tags.map(function(gb){return u(gb)}).join(` - -`):"",$a=Q(ka.displayParts),[2,{range:this._textSpanToRange($,ka.textSpan),contents:[{value:"```typescript\n"+$a+"\n```\n"},{value:va+(La?` - -`+La:"")}]}])}})})},ba}(C),da=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba.prototype.provideDocumentHighlights=function($,S,aa){return s(this,void 0,void 0,function(){var _,I,ka,va=this;return z(this,function(La){switch(La.label){case 0:return _=$.uri,I=$.getOffsetAt(S),[4,this._worker(_)];case 1:return[4,La.sent().getOccurrencesAtPosition(_.toString(),I)];case 2:return!(ka=La.sent())||$.isDisposed()?[2]:[2,ka.map(function($a){return{range:va._textSpanToRange($,$a.textSpan),kind:$a.isWriteAccess?y.g.DocumentHighlightKind.Write:y.g.DocumentHighlightKind.Text}})]}})})},ba}(C),Z=function(ua){function ba($,S){var aa=ua.call(this,S)||this;return aa._libFiles=$,aa}return L(ba,ua),ba.prototype.provideDefinition=function($,S,aa){return s(this,void 0,void 0,function(){var _,I,ka,va,La,$a,Ab,gb,Fb;return z(this,function(wb){switch(wb.label){case 0:return _=$.uri,I=$.getOffsetAt(S),[4,this._worker(_)];case 1:return[4,wb.sent().getDefinitionAtPosition(_.toString(),I)];case 2:return!(ka=wb.sent())||$.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(ka.map(function(tc){return y.e.parse(tc.fileName)}))];case 3:if(wb.sent(),$.isDisposed())return[2];for(va=[],La=0,$a=ka;La<$a.length;La++)Ab=$a[La],gb=y.e.parse(Ab.fileName),(Fb=this._libFiles.getOrCreateModel(gb))&&va.push({uri:gb,range:this._textSpanToRange(Fb,Ab.textSpan)});return[2,va]}})})},ba}(C),H=function(ua){function ba($,S){var aa=ua.call(this,S)||this;return aa._libFiles=$,aa}return L(ba,ua),ba.prototype.provideReferences=function($,S,aa,_){return s(this,void 0,void 0,function(){var I,ka,va,La,$a,Ab,gb,Fb,wb;return z(this,function(tc){switch(tc.label){case 0:return I=$.uri,ka=$.getOffsetAt(S),[4,this._worker(I)];case 1:return[4,tc.sent().getReferencesAtPosition(I.toString(),ka)];case 2:return!(va=tc.sent())||$.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(va.map(function(rb){return y.e.parse(rb.fileName)}))];case 3:if(tc.sent(),$.isDisposed())return[2];for(La=[],$a=0,Ab=va;$a<Ab.length;$a++)gb=Ab[$a],Fb=y.e.parse(gb.fileName),(wb=this._libFiles.getOrCreateModel(Fb))&&La.push({uri:Fb,range:this._textSpanToRange(wb,gb.textSpan)});return[2,La]}})})},ba}(C),ea=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba.prototype.provideDocumentSymbols=function($,S){return s(this,void 0,void 0,function(){var aa,_,I,ka,va=this;return z(this,function(La){switch(La.label){case 0:return aa=$.uri,[4,this._worker(aa)];case 1:return[4,La.sent().getNavigationBarItems(aa.toString())];case 2:return!(_=La.sent())||$.isDisposed()?[2]:(I=function($a,Ab,gb){var Fb={name:Ab.text,detail:"",kind:ga[Ab.kind]||y.g.SymbolKind.Variable,range:va._textSpanToRange($,Ab.spans[0]),selectionRange:va._textSpanToRange($,Ab.spans[0]),tags:[],containerName:gb};if(Ab.childItems&&Ab.childItems.length>0)for(var wb=0,tc=Ab.childItems;wb<tc.length;wb++){var rb=tc[wb];I($a,rb,Fb.name)}$a.push(Fb)},ka=[],_.forEach(function($a){return I(ka,$a)}),[2,ka])}})})},ba}(C),oa=function(){function ua(){}return ua.unknown="",ua.keyword="keyword",ua.script="script",ua.module="module",ua.class="class",ua.interface="interface",ua.type="type",ua.enum="enum",ua.variable="var",ua.localVariable="local var",ua.function="function",ua.localFunction="local function",ua.memberFunction="method",ua.memberGetAccessor="getter",ua.memberSetAccessor="setter",ua.memberVariable="property",ua.constructorImplementation="constructor",ua.callSignature="call",ua.indexSignature="index",ua.constructSignature="construct",ua.parameter="parameter",ua.typeParameter="type parameter",ua.primitiveType="primitive type",ua.label="label",ua.alias="alias",ua.const="const",ua.let="let",ua.warning="warning",ua}(),ga=Object.create(null);ga[oa.module]=y.g.SymbolKind.Module,ga[oa.class]=y.g.SymbolKind.Class,ga[oa.enum]=y.g.SymbolKind.Enum,ga[oa.interface]=y.g.SymbolKind.Interface,ga[oa.memberFunction]=y.g.SymbolKind.Method,ga[oa.memberVariable]=y.g.SymbolKind.Property,ga[oa.memberGetAccessor]=y.g.SymbolKind.Property,ga[oa.memberSetAccessor]=y.g.SymbolKind.Property,ga[oa.variable]=y.g.SymbolKind.Variable,ga[oa.const]=y.g.SymbolKind.Variable,ga[oa.localVariable]=y.g.SymbolKind.Variable,ga[oa.variable]=y.g.SymbolKind.Variable,ga[oa.function]=y.g.SymbolKind.Function,ga[oa.localFunction]=y.g.SymbolKind.Function;var Ba,N,V=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba._convertOptions=function($){return{ConvertTabsToSpaces:$.insertSpaces,TabSize:$.tabSize,IndentSize:$.tabSize,IndentStyle:q.Smart,NewLineCharacter:` -`,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},ba.prototype._convertTextChanges=function($,S){return{text:S.newText,range:this._textSpanToRange($,S.span)}},ba}(C),ma=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba.prototype.provideDocumentRangeFormattingEdits=function($,S,aa,_){return s(this,void 0,void 0,function(){var I,ka,va,La,$a=this;return z(this,function(Ab){switch(Ab.label){case 0:return I=$.uri,ka=$.getOffsetAt({lineNumber:S.startLineNumber,column:S.startColumn}),va=$.getOffsetAt({lineNumber:S.endLineNumber,column:S.endColumn}),[4,this._worker(I)];case 1:return[4,Ab.sent().getFormattingEditsForRange(I.toString(),ka,va,V._convertOptions(aa))];case 2:return!(La=Ab.sent())||$.isDisposed()?[2]:[2,La.map(function(gb){return $a._convertTextChanges($,gb)})]}})})},ba}(V),ta=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),Object.defineProperty(ba.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}",` -`]},enumerable:!1,configurable:!0}),ba.prototype.provideOnTypeFormattingEdits=function($,S,aa,_,I){return s(this,void 0,void 0,function(){var ka,va,La,$a=this;return z(this,function(Ab){switch(Ab.label){case 0:return ka=$.uri,va=$.getOffsetAt(S),[4,this._worker(ka)];case 1:return[4,Ab.sent().getFormattingEditsAfterKeystroke(ka.toString(),va,aa,V._convertOptions(_))];case 2:return!(La=Ab.sent())||$.isDisposed()?[2]:[2,La.map(function(gb){return $a._convertTextChanges($,gb)})]}})})},ba}(V),Da=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba.prototype.provideCodeActions=function($,S,aa,_){return s(this,void 0,void 0,function(){var I,ka,va,La,$a,Ab,gb=this;return z(this,function(Fb){switch(Fb.label){case 0:return I=$.uri,ka=$.getOffsetAt({lineNumber:S.startLineNumber,column:S.startColumn}),va=$.getOffsetAt({lineNumber:S.endLineNumber,column:S.endColumn}),La=V._convertOptions($.getOptions()),$a=aa.markers.filter(function(wb){return wb.code}).map(function(wb){return wb.code}).map(Number),[4,this._worker(I)];case 1:return[4,Fb.sent().getCodeFixesAtPosition(I.toString(),ka,va,$a,La)];case 2:return!(Ab=Fb.sent())||$.isDisposed()?[2,{actions:[],dispose:function(){}}]:[2,{actions:Ab.filter(function(wb){return 0===wb.changes.filter(function(tc){return tc.isNewFile}).length}).map(function(wb){return gb._tsCodeFixActionToMonacoCodeAction($,aa,wb)}),dispose:function(){}}]}})})},ba.prototype._tsCodeFixActionToMonacoCodeAction=function($,S,aa){for(var _=[],I=0,ka=aa.changes;I<ka.length;I++)for(var va=0,La=ka[I].textChanges;va<La.length;va++){var $a=La[va];_.push({resource:$.uri,edit:{range:this._textSpanToRange($,$a.span),text:$a.newText}})}return{title:aa.description,edit:{edits:_},diagnostics:S.markers,kind:"quickfix"}},ba}(V),Ka=function(ua){function ba(){return null!==ua&&ua.apply(this,arguments)||this}return L(ba,ua),ba.prototype.provideRenameEdits=function($,S,aa,_){return s(this,void 0,void 0,function(){var I,ka,va,La,$a,Ab,gb,Fb,wb,tc;return z(this,function(rb){switch(rb.label){case 0:return I=$.uri,ka=I.toString(),va=$.getOffsetAt(S),[4,this._worker(I)];case 1:return[4,(La=rb.sent()).getRenameInfo(ka,va,{allowRenameOfImportPath:!1})];case 2:if(!1===($a=rb.sent()).canRename)return[2,{edits:[],rejectReason:$a.localizedErrorMessage}];if(void 0!==$a.fileToRename)throw new Error("Renaming files is not supported.");return[4,La.findRenameLocations(ka,va,!1,!1,!1)];case 3:if(!(Ab=rb.sent())||$.isDisposed())return[2];for(gb=[],Fb=0,wb=Ab;Fb<wb.length;Fb++)tc=wb[Fb],gb.push({resource:y.e.parse(tc.fileName),edit:{range:this._textSpanToRange($,tc.textSpan),text:aa}});return[2,{edits:gb}]}})})},ba}(C);function G(ua){N=za(ua,"typescript")}function hb(ua){Ba=za(ua,"javascript")}function _a(){return new Promise(function(ua,ba){if(!Ba)return ba("JavaScript not registered!");ua(Ba)})}function fb(){return new Promise(function(ua,ba){if(!N)return ba("TypeScript not registered!");ua(N)})}function za(ua,ba){var $=new Y(ba,ua),S=function(){for(var _=[],I=0;I<arguments.length;I++)_[I]=arguments[I];return $.getLanguageServiceWorker.apply($,_)},aa=new k(S);return y.g.registerCompletionItemProvider(ba,new x(S)),y.g.registerSignatureHelpProvider(ba,new A(S)),y.g.registerHoverProvider(ba,new U(S)),y.g.registerDocumentHighlightProvider(ba,new da(S)),y.g.registerDefinitionProvider(ba,new Z(aa,S)),y.g.registerReferenceProvider(ba,new H(aa,S)),y.g.registerDocumentSymbolProvider(ba,new ea(S)),y.g.registerDocumentRangeFormattingEditProvider(ba,new ma(S)),y.g.registerOnTypeFormattingEditProvider(ba,new ta(S)),y.g.registerCodeActionProvider(ba,new Da(S)),y.g.registerRenameProvider(ba,new Ka(S)),new w(aa,ua,ba,S),S}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"setupMode",function(){return Ba});var l=f(59),q=function(){function ta(Da){var Ka=this;this._defaults=Da,this._worker=null,this._idleCheckInterval=setInterval(function(){return Ka._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return Ka._stopWorker()})}return ta.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},ta.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},ta.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},ta.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=l.e.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},ta.prototype.getLanguageServiceWorker=function(){for(var Da,Ka=this,G=[],hb=0;hb<arguments.length;hb++)G[hb]=arguments[hb];return this._getClient().then(function(_a){Da=_a}).then(function(_a){return Ka._worker.withSyncedResources(G)}).then(function(_a){return Da})},ta}(),y=f(38),F=function(){function ta(Da,Ka,G){var hb=this;this._languageId=Da,this._worker=Ka,this._disposables=[],this._listener=Object.create(null);var _a=function(za){var ua,ba=za.getModeId();ba===hb._languageId&&(hb._listener[za.uri.toString()]=za.onDidChangeContent(function(){clearTimeout(ua),ua=setTimeout(function(){return hb._doValidate(za.uri,ba)},500)}),hb._doValidate(za.uri,ba))},fb=function(za){l.e.setModelMarkers(za,hb._languageId,[]);var ua=za.uri.toString(),ba=hb._listener[ua];ba&&(ba.dispose(),delete hb._listener[ua])};this._disposables.push(l.e.onDidCreateModel(_a)),this._disposables.push(l.e.onWillDisposeModel(function(za){fb(za),hb._resetSchema(za.uri)})),this._disposables.push(l.e.onDidChangeModelLanguage(function(za){fb(za.model),_a(za.model),hb._resetSchema(za.model.uri)})),this._disposables.push(G.onDidChange(function(za){l.e.getModels().forEach(function(ua){ua.getModeId()===hb._languageId&&(fb(ua),_a(ua))})})),this._disposables.push({dispose:function(){for(var za in(l.e.getModels().forEach(fb),hb._listener))hb._listener[za].dispose()}}),l.e.getModels().forEach(_a)}return ta.prototype.dispose=function(){this._disposables.forEach(function(Da){return Da&&Da.dispose()}),this._disposables=[]},ta.prototype._resetSchema=function(Da){this._worker().then(function(Ka){Ka.resetSchema(Da.toString())})},ta.prototype._doValidate=function(Da,Ka){this._worker(Da).then(function(G){return G.doValidation(Da.toString()).then(function(hb){var _a=hb.map(function(za){return ba="number"==typeof(ua=za).code?String(ua.code):ua.code,{severity:P(ua.severity),startLineNumber:ua.range.start.line+1,startColumn:ua.range.start.character+1,endLineNumber:ua.range.end.line+1,endColumn:ua.range.end.character+1,message:ua.message,code:ba,source:ua.source};var ua,ba}),fb=l.e.getModel(Da);fb&&fb.getModeId()===Ka&&l.e.setModelMarkers(fb,Ka,_a)})}).then(void 0,function(G){console.error(G)})},ta}();function P(ta){switch(ta){case y.b.Error:return l.b.Error;case y.b.Warning:return l.b.Warning;case y.b.Information:return l.b.Info;case y.b.Hint:return l.b.Hint;default:return l.b.Info}}function Y(ta){if(ta)return{character:ta.column-1,line:ta.lineNumber-1}}function R(ta){if(ta)return{start:{line:ta.startLineNumber-1,character:ta.startColumn-1},end:{line:ta.endLineNumber-1,character:ta.endColumn-1}}}function L(ta){if(ta)return new l.c(ta.start.line+1,ta.start.character+1,ta.end.line+1,ta.end.character+1)}function s(ta){var Da=l.f.CompletionItemKind;switch(ta){case y.a.Text:return Da.Text;case y.a.Method:return Da.Method;case y.a.Function:return Da.Function;case y.a.Constructor:return Da.Constructor;case y.a.Field:return Da.Field;case y.a.Variable:return Da.Variable;case y.a.Class:return Da.Class;case y.a.Interface:return Da.Interface;case y.a.Module:return Da.Module;case y.a.Property:return Da.Property;case y.a.Unit:return Da.Unit;case y.a.Value:return Da.Value;case y.a.Enum:return Da.Enum;case y.a.Keyword:return Da.Keyword;case y.a.Snippet:return Da.Snippet;case y.a.Color:return Da.Color;case y.a.File:return Da.File;case y.a.Reference:return Da.Reference}return Da.Property}function z(ta){if(ta)return{range:L(ta.range),text:ta.newText}}var D=function(){function ta(Da){this._worker=Da}return Object.defineProperty(ta.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),ta.prototype.provideCompletionItems=function(Da,Ka,G,hb){var _a=Da.uri;return this._worker(_a).then(function(fb){return fb.doComplete(_a.toString(),Y(Ka))}).then(function(fb){if(fb){var za=Da.getWordUntilPosition(Ka),ua=new l.c(Ka.lineNumber,za.startColumn,Ka.lineNumber,za.endColumn),ba=fb.items.map(function($){var S,aa={label:$.label,insertText:$.insertText||$.label,sortText:$.sortText,filterText:$.filterText,documentation:$.documentation,detail:$.detail,range:ua,kind:s($.kind)};return $.textEdit&&(void 0!==(S=$.textEdit).insert&&void 0!==S.replace?aa.range={insert:L($.textEdit.insert),replace:L($.textEdit.replace)}:aa.range=L($.textEdit.range),aa.insertText=$.textEdit.newText),$.additionalTextEdits&&(aa.additionalTextEdits=$.additionalTextEdits.map(z)),$.insertTextFormat===y.d.Snippet&&(aa.insertTextRules=l.f.CompletionItemInsertTextRule.InsertAsSnippet),aa});return{isIncomplete:fb.isIncomplete,suggestions:ba}}})},ta}();function Q(ta){return"string"==typeof ta?{value:ta}:(Da=ta)&&"object"==typeof Da&&"string"==typeof Da.kind?"plaintext"===ta.kind?{value:ta.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:ta.value}:{value:"```"+ta.language+` -`+ta.value+"\n```\n"};var Da}function B(ta){if(ta)return Array.isArray(ta)?ta.map(Q):[Q(ta)]}var C=function(){function ta(Da){this._worker=Da}return ta.prototype.provideHover=function(Da,Ka,G){var hb=Da.uri;return this._worker(hb).then(function(_a){return _a.doHover(hb.toString(),Y(Ka))}).then(function(_a){if(_a)return{range:L(_a.range),contents:B(_a.contents)}})},ta}();function k(ta){var Da=l.f.SymbolKind;switch(ta){case y.e.File:return Da.Array;case y.e.Module:return Da.Module;case y.e.Namespace:return Da.Namespace;case y.e.Package:return Da.Package;case y.e.Class:return Da.Class;case y.e.Method:return Da.Method;case y.e.Property:return Da.Property;case y.e.Field:return Da.Field;case y.e.Constructor:return Da.Constructor;case y.e.Enum:return Da.Enum;case y.e.Interface:return Da.Interface;case y.e.Function:return Da.Function;case y.e.Variable:return Da.Variable;case y.e.Constant:return Da.Constant;case y.e.String:return Da.String;case y.e.Number:return Da.Number;case y.e.Boolean:return Da.Boolean;case y.e.Array:return Da.Array}return Da.Function}var w=function(){function ta(Da){this._worker=Da}return ta.prototype.provideDocumentSymbols=function(Da,Ka){var G=Da.uri;return this._worker(G).then(function(hb){return hb.findDocumentSymbols(G.toString())}).then(function(hb){if(hb)return hb.map(function(_a){return{name:_a.name,detail:"",containerName:_a.containerName,kind:k(_a.kind),range:L(_a.location.range),selectionRange:L(_a.location.range),tags:[]}})})},ta}();function x(ta){return{tabSize:ta.tabSize,insertSpaces:ta.insertSpaces}}var u=function(){function ta(Da){this._worker=Da}return ta.prototype.provideDocumentFormattingEdits=function(Da,Ka,G){var hb=Da.uri;return this._worker(hb).then(function(_a){return _a.format(hb.toString(),null,x(Ka)).then(function(fb){if(fb&&0!==fb.length)return fb.map(z)})})},ta}(),A=function(){function ta(Da){this._worker=Da}return ta.prototype.provideDocumentRangeFormattingEdits=function(Da,Ka,G,hb){var _a=Da.uri;return this._worker(_a).then(function(fb){return fb.format(_a.toString(),R(Ka),x(G)).then(function(za){if(za&&0!==za.length)return za.map(z)})})},ta}(),U=function(){function ta(Da){this._worker=Da}return ta.prototype.provideDocumentColors=function(Da,Ka){var G=Da.uri;return this._worker(G).then(function(hb){return hb.findDocumentColors(G.toString())}).then(function(hb){if(hb)return hb.map(function(_a){return{color:_a.color,range:L(_a.range)}})})},ta.prototype.provideColorPresentations=function(Da,Ka,G){var hb=Da.uri;return this._worker(hb).then(function(_a){return _a.getColorPresentations(hb.toString(),Ka.color,R(Ka.range))}).then(function(_a){if(_a)return _a.map(function(fb){var za={label:fb.label};return fb.textEdit&&(za.textEdit=z(fb.textEdit)),fb.additionalTextEdits&&(za.additionalTextEdits=fb.additionalTextEdits.map(z)),za})})},ta}(),da=function(){function ta(Da){this._worker=Da}return ta.prototype.provideFoldingRanges=function(Da,Ka,G){var hb=Da.uri;return this._worker(hb).then(function(_a){return _a.getFoldingRanges(hb.toString(),Ka)}).then(function(_a){if(_a)return _a.map(function(fb){var za={start:fb.startLine+1,end:fb.endLine+1};return void 0!==fb.kind&&(za.kind=function(ua){switch(ua){case y.c.Comment:return l.f.FoldingRangeKind.Comment;case y.c.Imports:return l.f.FoldingRangeKind.Imports;case y.c.Region:return l.f.FoldingRangeKind.Region}return}(fb.kind)),za})})},ta}(),Z=function(){function ta(Da){this._worker=Da}return ta.prototype.provideSelectionRanges=function(Da,Ka,G){var hb=Da.uri;return this._worker(hb).then(function(_a){return _a.getSelectionRanges(hb.toString(),Ka.map(Y))}).then(function(_a){if(_a)return _a.map(function(fb){for(var za=[];fb;)za.push({range:L(fb.range)}),fb=fb.parent;return za})})},ta}(),H=f(65);function ea(ta){return{getInitialState:function(){return new ga(null,null,!1,null)},tokenize:function(Da,Ka,G,hb){return function(_a,fb,za,ua,ba){void 0===ua&&(ua=0);var $=0,S=!1;switch(za.scanError){case 2:fb='"'+fb,$=1;break;case 1:fb="/*"+fb,$=2}for(var aa=H.a(fb),_=za.lastWasColon,I=za.parents,ka={tokens:[],endState:za.clone()};;){var va=ua+aa.getPosition(),La="",$a=aa.scan();if(17===$a)break;if(va===ua+aa.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+fb.substr(aa.getPosition(),3));switch(S&&(va-=$),S=$>0,$a){case 1:I=oa.push(I,0),La="delimiter.bracket.json",_=!1;break;case 2:I=oa.pop(I),La="delimiter.bracket.json",_=!1;break;case 3:I=oa.push(I,1),La="delimiter.array.json",_=!1;break;case 4:I=oa.pop(I),La="delimiter.array.json",_=!1;break;case 6:La="delimiter.colon.json",_=!0;break;case 5:La="delimiter.comma.json",_=!1;break;case 8:case 9:case 7:La="keyword.json",_=!1;break;case 10:var Ab=1===(I?I.type:0);La=_||Ab?"string.value.json":"string.key.json",_=!1;break;case 11:La="number.json",_=!1}if(_a)switch($a){case 12:La="comment.line.json";break;case 13:La="comment.block.json"}ka.endState=new ga(za.getStateData(),aa.getTokenError(),_,I),ka.tokens.push({startIndex:va,scopes:La})}return ka}(ta,Da,Ka,G)}}}var oa=function(){function ta(Da,Ka){this.parent=Da,this.type=Ka}return ta.pop=function(Da){return Da?Da.parent:null},ta.push=function(Da,Ka){return new ta(Da,Ka)},ta.equals=function(Da,Ka){if(!Da&&!Ka)return!0;if(!Da||!Ka)return!1;for(;Da&&Ka;){if(Da===Ka)return!0;if(Da.type!==Ka.type)return!1;Da=Da.parent,Ka=Ka.parent}return!0},ta}(),ga=function(){function ta(Da,Ka,G,hb){this._state=Da,this.scanError=Ka,this.lastWasColon=G,this.parents=hb}return ta.prototype.clone=function(){return new ta(this._state,this.scanError,this.lastWasColon,this.parents)},ta.prototype.equals=function(Da){return Da===this||!!(Da&&Da instanceof ta)&&(this.scanError===Da.scanError&&this.lastWasColon===Da.lastWasColon&&oa.equals(this.parents,Da.parents))},ta.prototype.getStateData=function(){return this._state},ta.prototype.setStateData=function(Da){this._state=Da},ta}();function Ba(ta){var Da=[],Ka=[],G=new q(ta);Da.push(G);var hb=function(){for(var za=[],ua=0;ua<arguments.length;ua++)za[ua]=arguments[ua];return G.getLanguageServiceWorker.apply(G,za)};function _a(){var za=ta.languageId,ua=ta.modeConfiguration;V(Ka),ua.documentFormattingEdits&&Ka.push(l.f.registerDocumentFormattingEditProvider(za,new u(hb))),ua.documentRangeFormattingEdits&&Ka.push(l.f.registerDocumentRangeFormattingEditProvider(za,new A(hb))),ua.completionItems&&Ka.push(l.f.registerCompletionItemProvider(za,new D(hb))),ua.hovers&&Ka.push(l.f.registerHoverProvider(za,new C(hb))),ua.documentSymbols&&Ka.push(l.f.registerDocumentSymbolProvider(za,new w(hb))),ua.tokens&&Ka.push(l.f.setTokensProvider(za,ea(!0))),ua.colors&&Ka.push(l.f.registerColorProvider(za,new U(hb))),ua.foldingRanges&&Ka.push(l.f.registerFoldingRangeProvider(za,new da(hb))),ua.diagnostics&&Ka.push(new F(za,hb,ta)),ua.selectionRanges&&Ka.push(l.f.registerSelectionRangeProvider(za,new Z(hb)))}_a(),Da.push(l.f.setLanguageConfiguration(ta.languageId,ma));var fb=ta.modeConfiguration;return ta.onDidChange(function(za){za.modeConfiguration!==fb&&(fb=za.modeConfiguration,_a())}),Da.push(N(Ka)),N(Da)}function N(ta){return{dispose:function(){return V(ta)}}}function V(ta){for(;ta.length;)ta.pop().dispose()}var ma={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"setupMode",function(){return oa});var l=f(52),q=function(){function N(V){var ma=this;this._defaults=V,this._worker=null,this._idleCheckInterval=window.setInterval(function(){return ma._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return ma._stopWorker()})}return N.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},N.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},N.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},N.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=l.e.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},N.prototype.getLanguageServiceWorker=function(){for(var V,ma=this,ta=[],Da=0;Da<arguments.length;Da++)ta[Da]=arguments[Da];return this._getClient().then(function(Ka){V=Ka}).then(function(Ka){return ma._worker.withSyncedResources(ta)}).then(function(Ka){return V})},N}(),y=f(48),F=function(){function N(V,ma,ta){var Da=this;this._languageId=V,this._worker=ma,this._disposables=[],this._listener=Object.create(null);var Ka=function(hb){var _a,fb=hb.getModeId();fb===Da._languageId&&(Da._listener[hb.uri.toString()]=hb.onDidChangeContent(function(){window.clearTimeout(_a),_a=window.setTimeout(function(){return Da._doValidate(hb.uri,fb)},500)}),Da._doValidate(hb.uri,fb))},G=function(hb){l.e.setModelMarkers(hb,Da._languageId,[]);var _a=hb.uri.toString(),fb=Da._listener[_a];fb&&(fb.dispose(),delete Da._listener[_a])};this._disposables.push(l.e.onDidCreateModel(Ka)),this._disposables.push(l.e.onWillDisposeModel(G)),this._disposables.push(l.e.onDidChangeModelLanguage(function(hb){G(hb.model),Ka(hb.model)})),ta.onDidChange(function(hb){l.e.getModels().forEach(function(_a){_a.getModeId()===Da._languageId&&(G(_a),Ka(_a))})}),this._disposables.push({dispose:function(){for(var hb in Da._listener)Da._listener[hb].dispose()}}),l.e.getModels().forEach(Ka)}return N.prototype.dispose=function(){this._disposables.forEach(function(V){return V&&V.dispose()}),this._disposables=[]},N.prototype._doValidate=function(V,ma){this._worker(V).then(function(ta){return ta.doValidation(V.toString())}).then(function(ta){var Da=ta.map(function(G){return _a="number"==typeof(hb=G).code?String(hb.code):hb.code,{severity:P(hb.severity),startLineNumber:hb.range.start.line+1,startColumn:hb.range.start.character+1,endLineNumber:hb.range.end.line+1,endColumn:hb.range.end.character+1,message:hb.message,code:_a,source:hb.source};var hb,_a}),Ka=l.e.getModel(V);Ka.getModeId()===ma&&l.e.setModelMarkers(Ka,ma,Da)}).then(void 0,function(ta){console.error(ta)})},N}();function P(N){switch(N){case y.b.Error:return l.b.Error;case y.b.Warning:return l.b.Warning;case y.b.Information:return l.b.Info;case y.b.Hint:return l.b.Hint;default:return l.b.Info}}function Y(N){if(N)return{character:N.column-1,line:N.lineNumber-1}}function R(N){if(N)return new l.c(N.start.line+1,N.start.character+1,N.end.line+1,N.end.character+1)}function L(N){var V=l.f.CompletionItemKind;switch(N){case y.a.Text:return V.Text;case y.a.Method:return V.Method;case y.a.Function:return V.Function;case y.a.Constructor:return V.Constructor;case y.a.Field:return V.Field;case y.a.Variable:return V.Variable;case y.a.Class:return V.Class;case y.a.Interface:return V.Interface;case y.a.Module:return V.Module;case y.a.Property:return V.Property;case y.a.Unit:return V.Unit;case y.a.Value:return V.Value;case y.a.Enum:return V.Enum;case y.a.Keyword:return V.Keyword;case y.a.Snippet:return V.Snippet;case y.a.Color:return V.Color;case y.a.File:return V.File;case y.a.Reference:return V.Reference}return V.Property}function s(N){if(N)return{range:R(N.range),text:N.newText}}var z=function(){function N(V){this._worker=V}return Object.defineProperty(N.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),N.prototype.provideCompletionItems=function(V,ma,ta,Da){var Ka=V.uri;return this._worker(Ka).then(function(G){return G.doComplete(Ka.toString(),Y(ma))}).then(function(G){if(G){var hb=V.getWordUntilPosition(ma),_a=new l.c(ma.lineNumber,hb.startColumn,ma.lineNumber,hb.endColumn),fb=G.items.map(function(za){var ua,ba={label:za.label,insertText:za.insertText||za.label,sortText:za.sortText,filterText:za.filterText,documentation:za.documentation,detail:za.detail,range:_a,kind:L(za.kind)};return za.textEdit&&(void 0!==(ua=za.textEdit).insert&&void 0!==ua.replace?ba.range={insert:R(za.textEdit.insert),replace:R(za.textEdit.replace)}:ba.range=R(za.textEdit.range),ba.insertText=za.textEdit.newText),za.additionalTextEdits&&(ba.additionalTextEdits=za.additionalTextEdits.map(s)),za.insertTextFormat===y.e.Snippet&&(ba.insertTextRules=l.f.CompletionItemInsertTextRule.InsertAsSnippet),ba});return{isIncomplete:G.isIncomplete,suggestions:fb}}})},N}();function D(N){return"string"==typeof N?{value:N}:(V=N)&&"object"==typeof V&&"string"==typeof V.kind?"plaintext"===N.kind?{value:N.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:N.value}:{value:"```"+N.language+` -`+N.value+"\n```\n"};var V}function Q(N){if(N)return Array.isArray(N)?N.map(D):[D(N)]}var B=function(){function N(V){this._worker=V}return N.prototype.provideHover=function(V,ma,ta){var Da=V.uri;return this._worker(Da).then(function(Ka){return Ka.doHover(Da.toString(),Y(ma))}).then(function(Ka){if(Ka)return{range:R(Ka.range),contents:Q(Ka.contents)}})},N}();function C(N){switch(N){case y.c.Read:return l.f.DocumentHighlightKind.Read;case y.c.Write:return l.f.DocumentHighlightKind.Write;case y.c.Text:return l.f.DocumentHighlightKind.Text}return l.f.DocumentHighlightKind.Text}var k=function(){function N(V){this._worker=V}return N.prototype.provideDocumentHighlights=function(V,ma,ta){var Da=V.uri;return this._worker(Da).then(function(Ka){return Ka.findDocumentHighlights(Da.toString(),Y(ma))}).then(function(Ka){if(Ka)return Ka.map(function(G){return{range:R(G.range),kind:C(G.kind)}})})},N}();function w(N){return{uri:l.d.parse(N.uri),range:R(N.range)}}var x=function(){function N(V){this._worker=V}return N.prototype.provideDefinition=function(V,ma,ta){var Da=V.uri;return this._worker(Da).then(function(Ka){return Ka.findDefinition(Da.toString(),Y(ma))}).then(function(Ka){if(Ka)return[w(Ka)]})},N}(),u=function(){function N(V){this._worker=V}return N.prototype.provideReferences=function(V,ma,ta,Da){var Ka=V.uri;return this._worker(Ka).then(function(G){return G.findReferences(Ka.toString(),Y(ma))}).then(function(G){if(G)return G.map(w)})},N}(),A=function(){function N(V){this._worker=V}return N.prototype.provideRenameEdits=function(V,ma,ta,Da){var Ka=V.uri;return this._worker(Ka).then(function(G){return G.doRename(Ka.toString(),Y(ma),ta)}).then(function(G){return function(hb){if(hb&&hb.changes){var _a=[];for(var fb in hb.changes)for(var za=l.d.parse(fb),ua=0,ba=hb.changes[fb];ua<ba.length;ua++){var $=ba[ua];_a.push({resource:za,edit:{range:R($.range),text:$.newText}})}return{edits:_a}}}(G)})},N}();function U(N){var V=l.f.SymbolKind;switch(N){case y.f.File:return V.Array;case y.f.Module:return V.Module;case y.f.Namespace:return V.Namespace;case y.f.Package:return V.Package;case y.f.Class:return V.Class;case y.f.Method:return V.Method;case y.f.Property:return V.Property;case y.f.Field:return V.Field;case y.f.Constructor:return V.Constructor;case y.f.Enum:return V.Enum;case y.f.Interface:return V.Interface;case y.f.Function:return V.Function;case y.f.Variable:return V.Variable;case y.f.Constant:return V.Constant;case y.f.String:return V.String;case y.f.Number:return V.Number;case y.f.Boolean:return V.Boolean;case y.f.Array:return V.Array}return V.Function}var da=function(){function N(V){this._worker=V}return N.prototype.provideDocumentSymbols=function(V,ma){var ta=V.uri;return this._worker(ta).then(function(Da){return Da.findDocumentSymbols(ta.toString())}).then(function(Da){if(Da)return Da.map(function(Ka){return{name:Ka.name,detail:"",containerName:Ka.containerName,kind:U(Ka.kind),tags:[],range:R(Ka.location.range),selectionRange:R(Ka.location.range)}})})},N}(),Z=function(){function N(V){this._worker=V}return N.prototype.provideDocumentColors=function(V,ma){var ta=V.uri;return this._worker(ta).then(function(Da){return Da.findDocumentColors(ta.toString())}).then(function(Da){if(Da)return Da.map(function(Ka){return{color:Ka.color,range:R(Ka.range)}})})},N.prototype.provideColorPresentations=function(V,ma,ta){var Da=V.uri;return this._worker(Da).then(function(Ka){return Ka.getColorPresentations(Da.toString(),ma.color,function(G){if(G)return{start:{line:G.startLineNumber-1,character:G.startColumn-1},end:{line:G.endLineNumber-1,character:G.endColumn-1}}}(ma.range))}).then(function(Ka){if(Ka)return Ka.map(function(G){var hb={label:G.label};return G.textEdit&&(hb.textEdit=s(G.textEdit)),G.additionalTextEdits&&(hb.additionalTextEdits=G.additionalTextEdits.map(s)),hb})})},N}(),H=function(){function N(V){this._worker=V}return N.prototype.provideFoldingRanges=function(V,ma,ta){var Da=V.uri;return this._worker(Da).then(function(Ka){return Ka.getFoldingRanges(Da.toString(),ma)}).then(function(Ka){if(Ka)return Ka.map(function(G){var hb={start:G.startLine+1,end:G.endLine+1};return void 0!==G.kind&&(hb.kind=function(_a){switch(_a){case y.d.Comment:return l.f.FoldingRangeKind.Comment;case y.d.Imports:return l.f.FoldingRangeKind.Imports;case y.d.Region:return l.f.FoldingRangeKind.Region}}(G.kind)),hb})})},N}(),ea=function(){function N(V){this._worker=V}return N.prototype.provideSelectionRanges=function(V,ma,ta){var Da=V.uri;return this._worker(Da).then(function(Ka){return Ka.getSelectionRanges(Da.toString(),ma.map(Y))}).then(function(Ka){if(Ka)return Ka.map(function(G){for(var hb=[];G;)hb.push({range:R(G.range)}),G=G.parent;return hb})})},N}();function oa(N){var V=[],ma=[],ta=new q(N);V.push(ta);var Da,Ka,G=function(){for(var hb=[],_a=0;_a<arguments.length;_a++)hb[_a]=arguments[_a];return ta.getLanguageServiceWorker.apply(ta,hb)};return Da=N.languageId,Ka=N.modeConfiguration,Ba(ma),Ka.completionItems&&ma.push(l.f.registerCompletionItemProvider(Da,new z(G))),Ka.hovers&&ma.push(l.f.registerHoverProvider(Da,new B(G))),Ka.documentHighlights&&ma.push(l.f.registerDocumentHighlightProvider(Da,new k(G))),Ka.definitions&&ma.push(l.f.registerDefinitionProvider(Da,new x(G))),Ka.references&&ma.push(l.f.registerReferenceProvider(Da,new u(G))),Ka.documentSymbols&&ma.push(l.f.registerDocumentSymbolProvider(Da,new da(G))),Ka.rename&&ma.push(l.f.registerRenameProvider(Da,new A(G))),Ka.colors&&ma.push(l.f.registerColorProvider(Da,new Z(G))),Ka.foldingRanges&&ma.push(l.f.registerFoldingRangeProvider(Da,new H(G))),Ka.diagnostics&&ma.push(new F(Da,G,N)),Ka.selectionRanges&&ma.push(l.f.registerSelectionRangeProvider(Da,new ea(G))),V.push(ga(ma)),ga(V)}function ga(N){return{dispose:function(){return Ba(N)}}}function Ba(N){for(;N.length;)N.pop().dispose()}},function(Ga,t,f){"use strict";f.r(t),f.d(t,"setupMode1",function(){return oa}),f.d(t,"setupMode",function(){return ga});var l=f(47),q=function(){function V(ma){var ta=this;this._defaults=ma,this._worker=null,this._idleCheckInterval=setInterval(function(){return ta._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return ta._stopWorker()})}return V.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},V.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},V.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},V.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=l.e.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},V.prototype.getLanguageServiceWorker=function(){for(var ma,ta=this,Da=[],Ka=0;Ka<arguments.length;Ka++)Da[Ka]=arguments[Ka];return this._getClient().then(function(G){ma=G}).then(function(G){return ta._worker.withSyncedResources(Da)}).then(function(G){return ma})},V}(),y=f(31),F=function(){function V(ma,ta,Da){var Ka=this;this._languageId=ma,this._worker=ta,this._disposables=[],this._listener=Object.create(null);var G=function(_a){var fb,za=_a.getModeId();za===Ka._languageId&&(Ka._listener[_a.uri.toString()]=_a.onDidChangeContent(function(){clearTimeout(fb),fb=setTimeout(function(){return Ka._doValidate(_a.uri,za)},500)}),Ka._doValidate(_a.uri,za))},hb=function(_a){l.e.setModelMarkers(_a,Ka._languageId,[]);var fb=_a.uri.toString(),za=Ka._listener[fb];za&&(za.dispose(),delete Ka._listener[fb])};this._disposables.push(l.e.onDidCreateModel(G)),this._disposables.push(l.e.onWillDisposeModel(function(_a){hb(_a)})),this._disposables.push(l.e.onDidChangeModelLanguage(function(_a){hb(_a.model),G(_a.model)})),this._disposables.push(Da.onDidChange(function(_a){l.e.getModels().forEach(function(fb){fb.getModeId()===Ka._languageId&&(hb(fb),G(fb))})})),this._disposables.push({dispose:function(){for(var _a in Ka._listener)Ka._listener[_a].dispose()}}),l.e.getModels().forEach(G)}return V.prototype.dispose=function(){this._disposables.forEach(function(ma){return ma&&ma.dispose()}),this._disposables=[]},V.prototype._doValidate=function(ma,ta){this._worker(ma).then(function(Da){return Da.doValidation(ma.toString()).then(function(Ka){var G=Ka.map(function(hb){return fb="number"==typeof(_a=hb).code?String(_a.code):_a.code,{severity:P(_a.severity),startLineNumber:_a.range.start.line+1,startColumn:_a.range.start.character+1,endLineNumber:_a.range.end.line+1,endColumn:_a.range.end.character+1,message:_a.message,code:fb,source:_a.source};var _a,fb});l.e.setModelMarkers(l.e.getModel(ma),ta,G)})}).then(void 0,function(Da){console.error(Da)})},V}();function P(V){switch(V){case y.b.Error:return l.b.Error;case y.b.Warning:return l.b.Warning;case y.b.Information:return l.b.Info;case y.b.Hint:return l.b.Hint;default:return l.b.Info}}function Y(V){if(V)return{character:V.column-1,line:V.lineNumber-1}}function R(V){if(V)return new l.c(V.start.line+1,V.start.character+1,V.end.line+1,V.end.character+1)}function L(V){var ma=l.f.CompletionItemKind;switch(V){case y.a.Text:return ma.Text;case y.a.Method:return ma.Method;case y.a.Function:return ma.Function;case y.a.Constructor:return ma.Constructor;case y.a.Field:return ma.Field;case y.a.Variable:return ma.Variable;case y.a.Class:return ma.Class;case y.a.Interface:return ma.Interface;case y.a.Module:return ma.Module;case y.a.Property:return ma.Property;case y.a.Unit:return ma.Unit;case y.a.Value:return ma.Value;case y.a.Enum:return ma.Enum;case y.a.Keyword:return ma.Keyword;case y.a.Snippet:return ma.Snippet;case y.a.Color:return ma.Color;case y.a.File:return ma.File;case y.a.Reference:return ma.Reference}return ma.Property}function s(V){if(V)return{range:R(V.range),text:V.newText}}var z=function(){function V(ma){this._worker=ma}return Object.defineProperty(V.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),V.prototype.provideCompletionItems=function(ma,ta,Da,Ka){var G=ma.uri;return this._worker(G).then(function(hb){return hb.doComplete(G.toString(),Y(ta))}).then(function(hb){if(hb){var _a=ma.getWordUntilPosition(ta),fb=new l.c(ta.lineNumber,_a.startColumn,ta.lineNumber,_a.endColumn),za=hb.items.map(function(ua){var ba,$={label:ua.label,insertText:ua.insertText||ua.label,sortText:ua.sortText,filterText:ua.filterText,documentation:ua.documentation,detail:ua.detail,range:fb,kind:L(ua.kind)};return ua.textEdit&&(void 0!==(ba=ua.textEdit).insert&&void 0!==ba.replace?$.range={insert:R(ua.textEdit.insert),replace:R(ua.textEdit.replace)}:$.range=R(ua.textEdit.range),$.insertText=ua.textEdit.newText),ua.additionalTextEdits&&($.additionalTextEdits=ua.additionalTextEdits.map(s)),ua.insertTextFormat===y.e.Snippet&&($.insertTextRules=l.f.CompletionItemInsertTextRule.InsertAsSnippet),$});return{isIncomplete:hb.isIncomplete,suggestions:za}}})},V}();function D(V){return"string"==typeof V?{value:V}:(ma=V)&&"object"==typeof ma&&"string"==typeof ma.kind?"plaintext"===V.kind?{value:V.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:V.value}:{value:"```"+V.language+` -`+V.value+"\n```\n"};var ma}function Q(V){if(V)return Array.isArray(V)?V.map(D):[D(V)]}var B=function(){function V(ma){this._worker=ma}return V.prototype.provideHover=function(ma,ta,Da){var Ka=ma.uri;return this._worker(Ka).then(function(G){return G.doHover(Ka.toString(),Y(ta))}).then(function(G){if(G)return{range:R(G.range),contents:Q(G.contents)}})},V}();function C(V){var ma=l.f.DocumentHighlightKind;switch(V){case y.c.Read:return ma.Read;case y.c.Write:return ma.Write;case y.c.Text:return ma.Text}return ma.Text}var k=function(){function V(ma){this._worker=ma}return V.prototype.provideDocumentHighlights=function(ma,ta,Da){var Ka=ma.uri;return this._worker(Ka).then(function(G){return G.findDocumentHighlights(Ka.toString(),Y(ta))}).then(function(G){if(G)return G.map(function(hb){return{range:R(hb.range),kind:C(hb.kind)}})})},V}();function w(V){var ma=l.f.SymbolKind;switch(V){case y.f.File:return ma.Array;case y.f.Module:return ma.Module;case y.f.Namespace:return ma.Namespace;case y.f.Package:return ma.Package;case y.f.Class:return ma.Class;case y.f.Method:return ma.Method;case y.f.Property:return ma.Property;case y.f.Field:return ma.Field;case y.f.Constructor:return ma.Constructor;case y.f.Enum:return ma.Enum;case y.f.Interface:return ma.Interface;case y.f.Function:return ma.Function;case y.f.Variable:return ma.Variable;case y.f.Constant:return ma.Constant;case y.f.String:return ma.String;case y.f.Number:return ma.Number;case y.f.Boolean:return ma.Boolean;case y.f.Array:return ma.Array}return ma.Function}var x=function(){function V(ma){this._worker=ma}return V.prototype.provideDocumentSymbols=function(ma,ta){var Da=ma.uri;return this._worker(Da).then(function(Ka){return Ka.findDocumentSymbols(Da.toString())}).then(function(Ka){if(Ka)return Ka.map(function(G){return{name:G.name,detail:"",containerName:G.containerName,kind:w(G.kind),tags:[],range:R(G.location.range),selectionRange:R(G.location.range)}})})},V}(),u=function(){function V(ma){this._worker=ma}return V.prototype.provideLinks=function(ma,ta){var Da=ma.uri;return this._worker(Da).then(function(Ka){return Ka.findDocumentLinks(Da.toString())}).then(function(Ka){if(Ka)return{links:Ka.map(function(G){return{range:R(G.range),url:G.target}})}})},V}();function A(V){return{tabSize:V.tabSize,insertSpaces:V.insertSpaces}}var U=function(){function V(ma){this._worker=ma}return V.prototype.provideDocumentFormattingEdits=function(ma,ta,Da){var Ka=ma.uri;return this._worker(Ka).then(function(G){return G.format(Ka.toString(),null,A(ta)).then(function(hb){if(hb&&0!==hb.length)return hb.map(s)})})},V}(),da=function(){function V(ma){this._worker=ma}return V.prototype.provideDocumentRangeFormattingEdits=function(ma,ta,Da,Ka){var G=ma.uri;return this._worker(G).then(function(hb){return hb.format(G.toString(),function(_a){if(_a)return{start:Y(_a.getStartPosition()),end:Y(_a.getEndPosition())}}(ta),A(Da)).then(function(_a){if(_a&&0!==_a.length)return _a.map(s)})})},V}(),Z=function(){function V(ma){this._worker=ma}return V.prototype.provideRenameEdits=function(ma,ta,Da,Ka){var G=ma.uri;return this._worker(G).then(function(hb){return hb.doRename(G.toString(),Y(ta),Da)}).then(function(hb){return function(_a){if(!_a||!_a.changes)return;var fb=[];for(var za in _a.changes)for(var ua=l.d.parse(za),ba=0,$=_a.changes[za];ba<$.length;ba++){var S=$[ba];fb.push({resource:ua,edit:{range:R(S.range),text:S.newText}})}return{edits:fb}}(hb)})},V}(),H=function(){function V(ma){this._worker=ma}return V.prototype.provideFoldingRanges=function(ma,ta,Da){var Ka=ma.uri;return this._worker(Ka).then(function(G){return G.getFoldingRanges(Ka.toString(),ta)}).then(function(G){if(G)return G.map(function(hb){var _a={start:hb.startLine+1,end:hb.endLine+1};return void 0!==hb.kind&&(_a.kind=function(fb){switch(fb){case y.d.Comment:return l.f.FoldingRangeKind.Comment;case y.d.Imports:return l.f.FoldingRangeKind.Imports;case y.d.Region:return l.f.FoldingRangeKind.Region}}(hb.kind)),_a})})},V}(),ea=function(){function V(ma){this._worker=ma}return V.prototype.provideSelectionRanges=function(ma,ta,Da){var Ka=ma.uri;return this._worker(Ka).then(function(G){return G.getSelectionRanges(Ka.toString(),ta.map(Y))}).then(function(G){if(G)return G.map(function(hb){for(var _a=[];hb;)_a.push({range:R(hb.range)}),hb=hb.parent;return _a})})},V}();function oa(V){var ma=new q(V),ta=function(){for(var Ka=[],G=0;G<arguments.length;G++)Ka[G]=arguments[G];return ma.getLanguageServiceWorker.apply(ma,Ka)},Da=V.languageId;l.f.registerCompletionItemProvider(Da,new z(ta)),l.f.registerHoverProvider(Da,new B(ta)),l.f.registerDocumentHighlightProvider(Da,new k(ta)),l.f.registerLinkProvider(Da,new u(ta)),l.f.registerFoldingRangeProvider(Da,new H(ta)),l.f.registerDocumentSymbolProvider(Da,new x(ta)),l.f.registerSelectionRangeProvider(Da,new ea(ta)),l.f.registerRenameProvider(Da,new Z(ta)),"html"===Da&&(l.f.registerDocumentFormattingEditProvider(Da,new U(ta)),l.f.registerDocumentRangeFormattingEditProvider(Da,new da(ta)),new F(Da,ta,V))}function ga(V){var ma=[],ta=[],Da=new q(V);ma.push(Da);var Ka,G,hb=function(){for(var _a=[],fb=0;fb<arguments.length;fb++)_a[fb]=arguments[fb];return Da.getLanguageServiceWorker.apply(Da,_a)};return Ka=V.languageId,G=V.modeConfiguration,N(ta),G.completionItems&&ta.push(l.f.registerCompletionItemProvider(Ka,new z(hb))),G.hovers&&ta.push(l.f.registerHoverProvider(Ka,new B(hb))),G.documentHighlights&&ta.push(l.f.registerDocumentHighlightProvider(Ka,new k(hb))),G.links&&ta.push(l.f.registerLinkProvider(Ka,new u(hb))),G.documentSymbols&&ta.push(l.f.registerDocumentSymbolProvider(Ka,new x(hb))),G.rename&&ta.push(l.f.registerRenameProvider(Ka,new Z(hb))),G.foldingRanges&&ta.push(l.f.registerFoldingRangeProvider(Ka,new H(hb))),G.selectionRanges&&ta.push(l.f.registerSelectionRangeProvider(Ka,new ea(hb))),G.documentFormattingEdits&&ta.push(l.f.registerDocumentFormattingEditProvider(Ka,new U(hb))),G.documentRangeFormattingEdits&&ta.push(l.f.registerDocumentRangeFormattingEditProvider(Ka,new da(hb))),G.diagnostics&&ta.push(new F(Ka,hb,V)),ma.push(Ba(ta)),Ba(ma)}function Ba(V){return{dispose:function(){return N(V)}}}function N(V){for(;V.length;)V.pop().dispose()}}]);const uj=new URL("monaco/workers/",import.meta.url);self.MonacoEnvironment={getWorkerUrl:function(Ga,t){switch(t){case"json":return`${uj}json.worker.js`;case"css":return`${uj}css.worker.js`;case"html":return`${uj}html.worker.js`;case"typescript":case"javascript":return`${uj}ts.worker.js`;default:return`${uj}editor.worker.js`}}};class Gl extends HTMLElement{static get observedAttributes(){return["src","value"]}attributeChangedCallback(Ga,t,f){if(!this.__initialized)return;t!==f&&(this[Ga]=f)}get src(){return this.getAttribute("src")}set src(Ga){this.setAttribute("src",Ga),this.setSrc()}get value(){return this.editor.getValue()}set value(Ga){this.editor.setValue(Ga)}get tabSize(){return this.editor.getModel()._options.tabSize}set tabSize(Ga){this.editor.getModel().updateOptions({tabSize:Ga})}constructor(){super();this.__initialized=!1,this.editor=null}async connectedCallback(){this.style.display="block",this.id||(this.id="editor"),this.style.width||(this.style.width="100%"),this.style.height||(this.style.height="100%");if(this.hasAttribute("config")){const Ga=await this.fetchConfig(this.getAttribute("config"));this.editor=monaco.editor.create(document.getElementById(this.id),Ga)}else this.editor=monaco.editor.create(document.getElementById(this.id),{language:this.getAttribute("language"),theme:"vs-dark",automaticLayout:!0,lineNumbersMinChars:3,mouseWheelZoom:!0,fontSize:this.getAttribute("font-size"),minimap:{enabled:!this.hasAttribute("no-minimap")},wordWrap:this.hasAttribute("word-wrap"),wrappingIndent:this.getAttribute("wrap-indent")});this.hasAttribute("tab-size")&&(this.tabSize=this.getAttribute("tab-size")),this.hasAttribute("src")&&this.setSrc(),this.__initialized=!0}async setSrc(){const Ga=this.getAttribute("src"),t=await this.fetchSrc(Ga);this.editor.setValue(t)}async fetchSrc(Ga){const t=await fetch(Ga);return t.text()}async fetchConfig(Ga){const t=await fetch(Ga);return t.json()}}customElements.define("wc-monaco-editor",Gl);export{Gl as WCMonacoEditor}; +]+`,"string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},f={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/-+\w+/,"attribute.name"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},f={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},f={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},f={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},f={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["<!--","-->"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},f={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},f={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},f={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"conf",function(){return h}),o.d(w,"language",function(){return f});var h={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},f={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"setupTypeScript",function(){return L}),o.d(w,"setupJavaScript",function(){return nt}),o.d(w,"getJavaScriptWorker",function(){return ct}),o.d(w,"getTypeScriptWorker",function(){return Ye});var h,f,D=o(29),H=function(fe,$,G,z){return new(G||(G=Promise))(function(J,Se){function A(Oe){try{de(z.next(Oe))}catch($e){Se($e)}}function ee(Oe){try{de(z.throw(Oe))}catch($e){Se($e)}}function de(Oe){var $e;Oe.done?J(Oe.value):($e=Oe.value,$e instanceof G?$e:new G(function(pt){pt($e)})).then(A,ee)}de((z=z.apply(fe,$||[])).next())})},E=function(fe,$){var G,z,J,Se,A={label:0,sent:function(){if(1&J[0])throw J[1];return J[1]},trys:[],ops:[]};return Se={next:ee(0),throw:ee(1),return:ee(2)},typeof Symbol=="function"&&(Se[Symbol.iterator]=function(){return this}),Se;function ee(de){return function(Oe){return function($e){if(G)throw new TypeError("Generator is already executing.");for(;A;)try{if(G=1,z&&(J=2&$e[0]?z.return:$e[0]?z.throw||((J=z.return)&&J.call(z),0):z.next)&&!(J=J.call(z,$e[1])).done)return J;switch(z=0,J&&($e=[2&$e[0],J.value]),$e[0]){case 0:case 1:J=$e;break;case 4:return A.label++,{value:$e[1],done:!1};case 5:A.label++,z=$e[1],$e=[0];continue;case 7:$e=A.ops.pop(),A.trys.pop();continue;default:if(J=A.trys,!((J=J.length>0&&J[J.length-1])||$e[0]!==6&&$e[0]!==2)){A=0;continue}if($e[0]===3&&(!J||$e[1]>J[0]&&$e[1]<J[3])){A.label=$e[1];break}if($e[0]===6&&A.label<J[1]){A.label=J[1],J=$e;break}if(J&&A.label<J[2]){A.label=J[2],A.ops.push($e);break}J[2]&&A.ops.pop(),A.trys.pop();continue}$e=$.call(fe,A)}catch(pt){$e=[6,pt],z=0}finally{G=J=0}if(5&$e[0])throw $e[1];return{value:$e[0]?$e[1]:void 0,done:!0}}([de,Oe])}}},ge=function(){function fe($,G){var z=this;this._modeId=$,this._defaults=G,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(function(){return z._stopWorker()}),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(function(){return z._updateExtraLibs()})}return fe.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},fe.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},fe.prototype._updateExtraLibs=function(){return H(this,void 0,void 0,function(){var $,G;return E(this,function(z){switch(z.label){case 0:return this._worker?($=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return G=z.sent(),this._updateExtraLibsToken!==$?[2]:(G.updateExtraLibs(this._defaults.getExtraLibs()),[2])}})})},fe.prototype._getClient=function(){var $=this;if(!this._client){this._worker=D.f.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath}});var G=this._worker.getProxy();this._defaults.getEagerModelSync()&&(G=G.then(function(z){return $._worker?$._worker.withSyncedResources(D.f.getModels().filter(function(J){return J.getModeId()===$._modeId}).map(function(J){return J.uri})):z})),this._client=G}return this._client},fe.prototype.getLanguageServiceWorker=function(){for(var $,G=this,z=[],J=0;J<arguments.length;J++)z[J]=arguments[J];return this._getClient().then(function(Se){$=Se}).then(function(Se){if(G._worker)return G._worker.withSyncedResources(z)}).then(function(Se){return $})},fe}(),W={"lib.d.ts":!0,"lib.dom.d.ts":!0,"lib.dom.iterable.d.ts":!0,"lib.es2015.collection.d.ts":!0,"lib.es2015.core.d.ts":!0,"lib.es2015.d.ts":!0,"lib.es2015.generator.d.ts":!0,"lib.es2015.iterable.d.ts":!0,"lib.es2015.promise.d.ts":!0,"lib.es2015.proxy.d.ts":!0,"lib.es2015.reflect.d.ts":!0,"lib.es2015.symbol.d.ts":!0,"lib.es2015.symbol.wellknown.d.ts":!0,"lib.es2016.array.include.d.ts":!0,"lib.es2016.d.ts":!0,"lib.es2016.full.d.ts":!0,"lib.es2017.d.ts":!0,"lib.es2017.full.d.ts":!0,"lib.es2017.intl.d.ts":!0,"lib.es2017.object.d.ts":!0,"lib.es2017.sharedmemory.d.ts":!0,"lib.es2017.string.d.ts":!0,"lib.es2017.typedarrays.d.ts":!0,"lib.es2018.asyncgenerator.d.ts":!0,"lib.es2018.asynciterable.d.ts":!0,"lib.es2018.d.ts":!0,"lib.es2018.full.d.ts":!0,"lib.es2018.intl.d.ts":!0,"lib.es2018.promise.d.ts":!0,"lib.es2018.regexp.d.ts":!0,"lib.es2019.array.d.ts":!0,"lib.es2019.d.ts":!0,"lib.es2019.full.d.ts":!0,"lib.es2019.object.d.ts":!0,"lib.es2019.string.d.ts":!0,"lib.es2019.symbol.d.ts":!0,"lib.es2020.bigint.d.ts":!0,"lib.es2020.d.ts":!0,"lib.es2020.full.d.ts":!0,"lib.es2020.intl.d.ts":!0,"lib.es2020.promise.d.ts":!0,"lib.es2020.string.d.ts":!0,"lib.es2020.symbol.wellknown.d.ts":!0,"lib.es5.d.ts":!0,"lib.es6.d.ts":!0,"lib.esnext.d.ts":!0,"lib.esnext.full.d.ts":!0,"lib.esnext.intl.d.ts":!0,"lib.esnext.promise.d.ts":!0,"lib.esnext.string.d.ts":!0,"lib.scripthost.d.ts":!0,"lib.webworker.d.ts":!0,"lib.webworker.importscripts.d.ts":!0},Q=(h=function(fe,$){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,z){G.__proto__=z}||function(G,z){for(var J in z)Object.prototype.hasOwnProperty.call(z,J)&&(G[J]=z[J])})(fe,$)},function(fe,$){function G(){this.constructor=fe}h(fe,$),fe.prototype=$===null?Object.create($):(G.prototype=$.prototype,new G)}),y=function(fe,$,G,z){return new(G||(G=Promise))(function(J,Se){function A(Oe){try{de(z.next(Oe))}catch($e){Se($e)}}function ee(Oe){try{de(z.throw(Oe))}catch($e){Se($e)}}function de(Oe){var $e;Oe.done?J(Oe.value):($e=Oe.value,$e instanceof G?$e:new G(function(pt){pt($e)})).then(A,ee)}de((z=z.apply(fe,$||[])).next())})},C=function(fe,$){var G,z,J,Se,A={label:0,sent:function(){if(1&J[0])throw J[1];return J[1]},trys:[],ops:[]};return Se={next:ee(0),throw:ee(1),return:ee(2)},typeof Symbol=="function"&&(Se[Symbol.iterator]=function(){return this}),Se;function ee(de){return function(Oe){return function($e){if(G)throw new TypeError("Generator is already executing.");for(;A;)try{if(G=1,z&&(J=2&$e[0]?z.return:$e[0]?z.throw||((J=z.return)&&J.call(z),0):z.next)&&!(J=J.call(z,$e[1])).done)return J;switch(z=0,J&&($e=[2&$e[0],J.value]),$e[0]){case 0:case 1:J=$e;break;case 4:return A.label++,{value:$e[1],done:!1};case 5:A.label++,z=$e[1],$e=[0];continue;case 7:$e=A.ops.pop(),A.trys.pop();continue;default:if(J=A.trys,!((J=J.length>0&&J[J.length-1])||$e[0]!==6&&$e[0]!==2)){A=0;continue}if($e[0]===3&&(!J||$e[1]>J[0]&&$e[1]<J[3])){A.label=$e[1];break}if($e[0]===6&&A.label<J[1]){A.label=J[1],J=$e;break}if(J&&A.label<J[2]){A.label=J[2],A.ops.push($e);break}J[2]&&A.ops.pop(),A.trys.pop();continue}$e=$.call(fe,A)}catch(pt){$e=[6,pt],z=0}finally{G=J=0}if(5&$e[0])throw $e[1];return{value:$e[0]?$e[1]:void 0,done:!0}}([de,Oe])}}};function S(fe,$,G){if(G===void 0&&(G=0),typeof fe=="string")return fe;if(fe===void 0)return"";var z="";if(G){z+=$;for(var J=0;J<G;J++)z+=" "}if(z+=fe.messageText,G++,fe.next)for(var Se=0,A=fe.next;Se<A.length;Se++)z+=S(A[Se],$,G);return z}function P(fe){return fe?fe.map(function($){return $.text}).join(""):""}(function(fe){fe[fe.None=0]="None",fe[fe.Block=1]="Block",fe[fe.Smart=2]="Smart"})(f||(f={}));var V,k=function(){function fe($){this._worker=$}return fe.prototype._textSpanToRange=function($,G){var z=$.getPositionAt(G.start),J=$.getPositionAt(G.start+G.length);return{startLineNumber:z.lineNumber,startColumn:z.column,endLineNumber:J.lineNumber,endColumn:J.column}},fe}(),l=function(){function fe($){this._worker=$,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}return fe.prototype.isLibFile=function($){return!!$&&$.path.indexOf("/lib.")===0&&!!W[$.path.slice(1)]},fe.prototype.getOrCreateModel=function($){var G=D.f.getModel($);return G||(this.isLibFile($)&&this._hasFetchedLibFiles?D.f.createModel(this._libFiles[$.path.slice(1)],"javascript",$):null)},fe.prototype._containsLibFile=function($){for(var G=0,z=$;G<z.length;G++){var J=z[G];if(this.isLibFile(J))return!0}return!1},fe.prototype.fetchLibFilesIfNecessary=function($){return y(this,void 0,void 0,function(){return C(this,function(G){switch(G.label){case 0:return this._containsLibFile($)?[4,this._fetchLibFiles()]:[2];case 1:return G.sent(),[2]}})})},fe.prototype._fetchLibFiles=function(){var $=this;return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(function(G){return G.getLibFiles()}).then(function(G){$._hasFetchedLibFiles=!0,$._libFiles=G})),this._fetchLibFilesPromise},fe}();(function(fe){fe[fe.Warning=0]="Warning",fe[fe.Error=1]="Error",fe[fe.Suggestion=2]="Suggestion",fe[fe.Message=3]="Message"})(V||(V={}));var T=function(fe){function $(G,z,J,Se){var A=fe.call(this,Se)||this;A._libFiles=G,A._defaults=z,A._selector=J,A._disposables=[],A._listener=Object.create(null);var ee=function($e){if($e.getModeId()===J){var pt,it=$e.onDidChangeContent(function(){clearTimeout(pt),pt=setTimeout(function(){return A._doValidate($e)},500)});A._listener[$e.uri.toString()]={dispose:function(){it.dispose(),clearTimeout(pt)}},A._doValidate($e)}},de=function($e){D.f.setModelMarkers($e,A._selector,[]);var pt=$e.uri.toString();A._listener[pt]&&(A._listener[pt].dispose(),delete A._listener[pt])};A._disposables.push(D.f.onDidCreateModel(ee)),A._disposables.push(D.f.onWillDisposeModel(de)),A._disposables.push(D.f.onDidChangeModelLanguage(function($e){de($e.model),ee($e.model)})),A._disposables.push({dispose:function(){for(var $e=0,pt=D.f.getModels();$e<pt.length;$e++){var it=pt[$e];de(it)}}});var Oe=function(){for(var $e=0,pt=D.f.getModels();$e<pt.length;$e++){var it=pt[$e];de(it),ee(it)}};return A._disposables.push(A._defaults.onDidChange(Oe)),A._disposables.push(A._defaults.onDidExtraLibsChange(Oe)),D.f.getModels().forEach(ee),A}return Q($,fe),$.prototype.dispose=function(){this._disposables.forEach(function(G){return G&&G.dispose()}),this._disposables=[]},$.prototype._doValidate=function(G){return y(this,void 0,void 0,function(){var z,J,Se,A,ee,de,Oe,$e,pt,it=this;return C(this,function(At){switch(At.label){case 0:return[4,this._worker(G.uri)];case 1:return z=At.sent(),G.isDisposed()?[2]:(J=[],Se=this._defaults.getDiagnosticsOptions(),A=Se.noSyntaxValidation,ee=Se.noSemanticValidation,de=Se.noSuggestionDiagnostics,A||J.push(z.getSyntacticDiagnostics(G.uri.toString())),ee||J.push(z.getSemanticDiagnostics(G.uri.toString())),de||J.push(z.getSuggestionDiagnostics(G.uri.toString())),[4,Promise.all(J)]);case 2:return!(Oe=At.sent())||G.isDisposed()?[2]:($e=Oe.reduce(function(Nt,_i){return _i.concat(Nt)},[]).filter(function(Nt){return(it._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(Nt.code)===-1}),pt=$e.map(function(Nt){return Nt.relatedInformation||[]}).reduce(function(Nt,_i){return _i.concat(Nt)},[]).map(function(Nt){return Nt.file?D.e.parse(Nt.file.fileName):null}),[4,this._libFiles.fetchLibFilesIfNecessary(pt)]);case 3:return At.sent(),G.isDisposed()?[2]:(D.f.setModelMarkers(G,this._selector,$e.map(function(Nt){return it._convertDiagnostics(G,Nt)})),[2])}})})},$.prototype._convertDiagnostics=function(G,z){var J=z.start||0,Se=z.length||1,A=G.getPositionAt(J),ee=A.lineNumber,de=A.column,Oe=G.getPositionAt(J+Se),$e=Oe.lineNumber,pt=Oe.column,it=[];return z.reportsUnnecessary&&it.push(D.c.Unnecessary),z.reportsDeprecated&&it.push(D.c.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(z.category),startLineNumber:ee,startColumn:de,endLineNumber:$e,endColumn:pt,message:S(z.messageText,` +`),code:z.code.toString(),tags:it,relatedInformation:this._convertRelatedInformation(G,z.relatedInformation)}},$.prototype._convertRelatedInformation=function(G,z){var J=this;if(z){var Se=[];return z.forEach(function(A){var ee=G;if(A.file){var de=D.e.parse(A.file.fileName);ee=J._libFiles.getOrCreateModel(de)}if(ee){var Oe=A.start||0,$e=A.length||1,pt=ee.getPositionAt(Oe),it=pt.lineNumber,At=pt.column,Nt=ee.getPositionAt(Oe+$e),_i=Nt.lineNumber,wt=Nt.column;Se.push({resource:ee.uri,startLineNumber:it,startColumn:At,endLineNumber:_i,endColumn:wt,message:S(A.messageText,` +`)})}}),Se}},$.prototype._tsDiagnosticCategoryToMarkerSeverity=function(G){switch(G){case V.Error:return D.b.Error;case V.Message:return D.b.Info;case V.Warning:return D.b.Warning;case V.Suggestion:return D.b.Hint}return D.b.Info},$}(k),N=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),Object.defineProperty($.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!1,configurable:!0}),$.prototype.provideCompletionItems=function(G,z,J,Se){return y(this,void 0,void 0,function(){var A,ee,de,Oe,$e;return C(this,function(pt){switch(pt.label){case 0:return A=G.getWordUntilPosition(z),ee=new D.d(z.lineNumber,A.startColumn,z.lineNumber,A.endColumn),de=G.uri,Oe=G.getOffsetAt(z),[4,this._worker(de)];case 1:return[4,pt.sent().getCompletionsAtPosition(de.toString(),Oe)];case 2:return!($e=pt.sent())||G.isDisposed()?[2]:[2,{suggestions:$e.entries.map(function(it){var At,Nt=ee;if(it.replacementSpan){var _i=G.getPositionAt(it.replacementSpan.start),wt=G.getPositionAt(it.replacementSpan.start+it.replacementSpan.length);Nt=new D.d(_i.lineNumber,_i.column,wt.lineNumber,wt.column)}var Ni=[];return((At=it.kindModifiers)===null||At===void 0?void 0:At.indexOf("deprecated"))!==-1&&Ni.push(D.g.CompletionItemTag.Deprecated),{uri:de,position:z,offset:Oe,range:Nt,label:it.name,insertText:it.name,sortText:it.sortText,kind:$.convertKind(it.kind),tags:Ni}})}]}})})},$.prototype.resolveCompletionItem=function(G,z){return y(this,void 0,void 0,function(){var J,Se,A,ee,de;return C(this,function(Oe){switch(Oe.label){case 0:return Se=(J=G).uri,A=J.position,ee=J.offset,[4,this._worker(Se)];case 1:return[4,Oe.sent().getCompletionEntryDetails(Se.toString(),ee,J.label)];case 2:return(de=Oe.sent())?[2,{uri:Se,position:A,label:de.name,kind:$.convertKind(de.kind),detail:P(de.displayParts),documentation:{value:$.createDocumentationString(de)}}]:[2,J]}})})},$.convertKind=function(G){switch(G){case se.primitiveType:case se.keyword:return D.g.CompletionItemKind.Keyword;case se.variable:case se.localVariable:return D.g.CompletionItemKind.Variable;case se.memberVariable:case se.memberGetAccessor:case se.memberSetAccessor:return D.g.CompletionItemKind.Field;case se.function:case se.memberFunction:case se.constructSignature:case se.callSignature:case se.indexSignature:return D.g.CompletionItemKind.Function;case se.enum:return D.g.CompletionItemKind.Enum;case se.module:return D.g.CompletionItemKind.Module;case se.class:return D.g.CompletionItemKind.Class;case se.interface:return D.g.CompletionItemKind.Interface;case se.warning:return D.g.CompletionItemKind.File}return D.g.CompletionItemKind.Property},$.createDocumentationString=function(G){var z=P(G.documentation);if(G.tags)for(var J=0,Se=G.tags;J<Se.length;J++)z+=` + +`+b(Se[J]);return z},$}(k);function b(fe){var $="*@"+fe.name+"*";if(fe.name==="param"&&fe.text){var G=fe.text.split(" "),z=G[0],J=G.slice(1);$+="`"+z+"`",J.length>0&&($+=" \u2014 "+J.join(" "))}else fe.text&&($+=" \u2014 "+fe.text);return $}var g=function(fe){function $(){var G=fe!==null&&fe.apply(this,arguments)||this;return G.signatureHelpTriggerCharacters=["(",","],G}return Q($,fe),$.prototype.provideSignatureHelp=function(G,z,J){return y(this,void 0,void 0,function(){var Se,A,ee,de;return C(this,function(Oe){switch(Oe.label){case 0:return Se=G.uri,A=G.getOffsetAt(z),[4,this._worker(Se)];case 1:return[4,Oe.sent().getSignatureHelpItems(Se.toString(),A)];case 2:return!(ee=Oe.sent())||G.isDisposed()?[2]:(de={activeSignature:ee.selectedItemIndex,activeParameter:ee.argumentIndex,signatures:[]},ee.items.forEach(function($e){var pt={label:"",parameters:[]};pt.documentation={value:P($e.documentation)},pt.label+=P($e.prefixDisplayParts),$e.parameters.forEach(function(it,At,Nt){var _i=P(it.displayParts),wt={label:_i,documentation:{value:P(it.documentation)}};pt.label+=_i,pt.parameters.push(wt),At<Nt.length-1&&(pt.label+=P($e.separatorDisplayParts))}),pt.label+=P($e.suffixDisplayParts),de.signatures.push(pt)}),[2,{value:de,dispose:function(){}}])}})})},$}(k),j=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$.prototype.provideHover=function(G,z,J){return y(this,void 0,void 0,function(){var Se,A,ee,de,Oe,$e;return C(this,function(pt){switch(pt.label){case 0:return Se=G.uri,A=G.getOffsetAt(z),[4,this._worker(Se)];case 1:return[4,pt.sent().getQuickInfoAtPosition(Se.toString(),A)];case 2:return!(ee=pt.sent())||G.isDisposed()?[2]:(de=P(ee.documentation),Oe=ee.tags?ee.tags.map(function(it){return b(it)}).join(` + +`):"",$e=P(ee.displayParts),[2,{range:this._textSpanToRange(G,ee.textSpan),contents:[{value:"```typescript\n"+$e+"\n```\n"},{value:de+(Oe?` + +`+Oe:"")}]}])}})})},$}(k),ie=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$.prototype.provideDocumentHighlights=function(G,z,J){return y(this,void 0,void 0,function(){var Se,A,ee,de=this;return C(this,function(Oe){switch(Oe.label){case 0:return Se=G.uri,A=G.getOffsetAt(z),[4,this._worker(Se)];case 1:return[4,Oe.sent().getOccurrencesAtPosition(Se.toString(),A)];case 2:return!(ee=Oe.sent())||G.isDisposed()?[2]:[2,ee.map(function($e){return{range:de._textSpanToRange(G,$e.textSpan),kind:$e.isWriteAccess?D.g.DocumentHighlightKind.Write:D.g.DocumentHighlightKind.Text}})]}})})},$}(k),U=function(fe){function $(G,z){var J=fe.call(this,z)||this;return J._libFiles=G,J}return Q($,fe),$.prototype.provideDefinition=function(G,z,J){return y(this,void 0,void 0,function(){var Se,A,ee,de,Oe,$e,pt,it,At;return C(this,function(Nt){switch(Nt.label){case 0:return Se=G.uri,A=G.getOffsetAt(z),[4,this._worker(Se)];case 1:return[4,Nt.sent().getDefinitionAtPosition(Se.toString(),A)];case 2:return!(ee=Nt.sent())||G.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(ee.map(function(_i){return D.e.parse(_i.fileName)}))];case 3:if(Nt.sent(),G.isDisposed())return[2];for(de=[],Oe=0,$e=ee;Oe<$e.length;Oe++)pt=$e[Oe],it=D.e.parse(pt.fileName),(At=this._libFiles.getOrCreateModel(it))&&de.push({uri:it,range:this._textSpanToRange(At,pt.textSpan)});return[2,de]}})})},$}(k),q=function(fe){function $(G,z){var J=fe.call(this,z)||this;return J._libFiles=G,J}return Q($,fe),$.prototype.provideReferences=function(G,z,J,Se){return y(this,void 0,void 0,function(){var A,ee,de,Oe,$e,pt,it,At,Nt;return C(this,function(_i){switch(_i.label){case 0:return A=G.uri,ee=G.getOffsetAt(z),[4,this._worker(A)];case 1:return[4,_i.sent().getReferencesAtPosition(A.toString(),ee)];case 2:return!(de=_i.sent())||G.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(de.map(function(wt){return D.e.parse(wt.fileName)}))];case 3:if(_i.sent(),G.isDisposed())return[2];for(Oe=[],$e=0,pt=de;$e<pt.length;$e++)it=pt[$e],At=D.e.parse(it.fileName),(Nt=this._libFiles.getOrCreateModel(At))&&Oe.push({uri:At,range:this._textSpanToRange(Nt,it.textSpan)});return[2,Oe]}})})},$}(k),B=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$.prototype.provideDocumentSymbols=function(G,z){return y(this,void 0,void 0,function(){var J,Se,A,ee,de=this;return C(this,function(Oe){switch(Oe.label){case 0:return J=G.uri,[4,this._worker(J)];case 1:return[4,Oe.sent().getNavigationBarItems(J.toString())];case 2:return!(Se=Oe.sent())||G.isDisposed()?[2]:(A=function($e,pt,it){var At={name:pt.text,detail:"",kind:ke[pt.kind]||D.g.SymbolKind.Variable,range:de._textSpanToRange(G,pt.spans[0]),selectionRange:de._textSpanToRange(G,pt.spans[0]),tags:[],containerName:it};if(pt.childItems&&pt.childItems.length>0)for(var Nt=0,_i=pt.childItems;Nt<_i.length;Nt++){var wt=_i[Nt];A($e,wt,At.name)}$e.push(At)},ee=[],Se.forEach(function($e){return A(ee,$e)}),[2,ee])}})})},$}(k),se=function(){function fe(){}return fe.unknown="",fe.keyword="keyword",fe.script="script",fe.module="module",fe.class="class",fe.interface="interface",fe.type="type",fe.enum="enum",fe.variable="var",fe.localVariable="local var",fe.function="function",fe.localFunction="local function",fe.memberFunction="method",fe.memberGetAccessor="getter",fe.memberSetAccessor="setter",fe.memberVariable="property",fe.constructorImplementation="constructor",fe.callSignature="call",fe.indexSignature="index",fe.constructSignature="construct",fe.parameter="parameter",fe.typeParameter="type parameter",fe.primitiveType="primitive type",fe.label="label",fe.alias="alias",fe.const="const",fe.let="let",fe.warning="warning",fe}(),ke=Object.create(null);ke[se.module]=D.g.SymbolKind.Module,ke[se.class]=D.g.SymbolKind.Class,ke[se.enum]=D.g.SymbolKind.Enum,ke[se.interface]=D.g.SymbolKind.Interface,ke[se.memberFunction]=D.g.SymbolKind.Method,ke[se.memberVariable]=D.g.SymbolKind.Property,ke[se.memberGetAccessor]=D.g.SymbolKind.Property,ke[se.memberSetAccessor]=D.g.SymbolKind.Property,ke[se.variable]=D.g.SymbolKind.Variable,ke[se.const]=D.g.SymbolKind.Variable,ke[se.localVariable]=D.g.SymbolKind.Variable,ke[se.variable]=D.g.SymbolKind.Variable,ke[se.function]=D.g.SymbolKind.Function,ke[se.localFunction]=D.g.SymbolKind.Function;var xe,Y,Z=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$._convertOptions=function(G){return{ConvertTabsToSpaces:G.insertSpaces,TabSize:G.tabSize,IndentSize:G.tabSize,IndentStyle:f.Smart,NewLineCharacter:` +`,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},$.prototype._convertTextChanges=function(G,z){return{text:z.newText,range:this._textSpanToRange(G,z.span)}},$}(k),te=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$.prototype.provideDocumentRangeFormattingEdits=function(G,z,J,Se){return y(this,void 0,void 0,function(){var A,ee,de,Oe,$e=this;return C(this,function(pt){switch(pt.label){case 0:return A=G.uri,ee=G.getOffsetAt({lineNumber:z.startLineNumber,column:z.startColumn}),de=G.getOffsetAt({lineNumber:z.endLineNumber,column:z.endColumn}),[4,this._worker(A)];case 1:return[4,pt.sent().getFormattingEditsForRange(A.toString(),ee,de,Z._convertOptions(J))];case 2:return!(Oe=pt.sent())||G.isDisposed()?[2]:[2,Oe.map(function(it){return $e._convertTextChanges(G,it)})]}})})},$}(Z),he=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),Object.defineProperty($.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}",` +`]},enumerable:!1,configurable:!0}),$.prototype.provideOnTypeFormattingEdits=function(G,z,J,Se,A){return y(this,void 0,void 0,function(){var ee,de,Oe,$e=this;return C(this,function(pt){switch(pt.label){case 0:return ee=G.uri,de=G.getOffsetAt(z),[4,this._worker(ee)];case 1:return[4,pt.sent().getFormattingEditsAfterKeystroke(ee.toString(),de,J,Z._convertOptions(Se))];case 2:return!(Oe=pt.sent())||G.isDisposed()?[2]:[2,Oe.map(function(it){return $e._convertTextChanges(G,it)})]}})})},$}(Z),Ce=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$.prototype.provideCodeActions=function(G,z,J,Se){return y(this,void 0,void 0,function(){var A,ee,de,Oe,$e,pt,it=this;return C(this,function(At){switch(At.label){case 0:return A=G.uri,ee=G.getOffsetAt({lineNumber:z.startLineNumber,column:z.startColumn}),de=G.getOffsetAt({lineNumber:z.endLineNumber,column:z.endColumn}),Oe=Z._convertOptions(G.getOptions()),$e=J.markers.filter(function(Nt){return Nt.code}).map(function(Nt){return Nt.code}).map(Number),[4,this._worker(A)];case 1:return[4,At.sent().getCodeFixesAtPosition(A.toString(),ee,de,$e,Oe)];case 2:return!(pt=At.sent())||G.isDisposed()?[2,{actions:[],dispose:function(){}}]:[2,{actions:pt.filter(function(Nt){return Nt.changes.filter(function(_i){return _i.isNewFile}).length===0}).map(function(Nt){return it._tsCodeFixActionToMonacoCodeAction(G,J,Nt)}),dispose:function(){}}]}})})},$.prototype._tsCodeFixActionToMonacoCodeAction=function(G,z,J){for(var Se=[],A=0,ee=J.changes;A<ee.length;A++)for(var de=0,Oe=ee[A].textChanges;de<Oe.length;de++){var $e=Oe[de];Se.push({resource:G.uri,edit:{range:this._textSpanToRange(G,$e.span),text:$e.newText}})}return{title:J.description,edit:{edits:Se},diagnostics:z.markers,kind:"quickfix"}},$}(Z),Ae=function(fe){function $(){return fe!==null&&fe.apply(this,arguments)||this}return Q($,fe),$.prototype.provideRenameEdits=function(G,z,J,Se){return y(this,void 0,void 0,function(){var A,ee,de,Oe,$e,pt,it,At,Nt,_i;return C(this,function(wt){switch(wt.label){case 0:return A=G.uri,ee=A.toString(),de=G.getOffsetAt(z),[4,this._worker(A)];case 1:return[4,(Oe=wt.sent()).getRenameInfo(ee,de,{allowRenameOfImportPath:!1})];case 2:if(($e=wt.sent()).canRename===!1)return[2,{edits:[],rejectReason:$e.localizedErrorMessage}];if($e.fileToRename!==void 0)throw new Error("Renaming files is not supported.");return[4,Oe.findRenameLocations(ee,de,!1,!1,!1)];case 3:if(!(pt=wt.sent())||G.isDisposed())return[2];for(it=[],At=0,Nt=pt;At<Nt.length;At++)_i=Nt[At],it.push({resource:D.e.parse(_i.fileName),edit:{range:this._textSpanToRange(G,_i.textSpan),text:J}});return[2,{edits:it}]}})})},$}(k);function L(fe){Y=ht(fe,"typescript")}function nt(fe){xe=ht(fe,"javascript")}function ct(){return new Promise(function(fe,$){if(!xe)return $("JavaScript not registered!");fe(xe)})}function Ye(){return new Promise(function(fe,$){if(!Y)return $("TypeScript not registered!");fe(Y)})}function ht(fe,$){var G=new ge($,fe),z=function(){for(var Se=[],A=0;A<arguments.length;A++)Se[A]=arguments[A];return G.getLanguageServiceWorker.apply(G,Se)},J=new l(z);return D.g.registerCompletionItemProvider($,new N(z)),D.g.registerSignatureHelpProvider($,new g(z)),D.g.registerHoverProvider($,new j(z)),D.g.registerDocumentHighlightProvider($,new ie(z)),D.g.registerDefinitionProvider($,new U(J,z)),D.g.registerReferenceProvider($,new q(J,z)),D.g.registerDocumentSymbolProvider($,new B(z)),D.g.registerDocumentRangeFormattingEditProvider($,new te(z)),D.g.registerOnTypeFormattingEditProvider($,new he(z)),D.g.registerCodeActionProvider($,new Ce(z)),D.g.registerRenameProvider($,new Ae(z)),new T(J,fe,$,z),z}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"setupMode",function(){return xe});var h=o(59),f=function(){function he(Ce){var Ae=this;this._defaults=Ce,this._worker=null,this._idleCheckInterval=setInterval(function(){return Ae._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return Ae._stopWorker()})}return he.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},he.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},he.prototype._checkIfIdle=function(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()},he.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h.e.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},he.prototype.getLanguageServiceWorker=function(){for(var Ce,Ae=this,L=[],nt=0;nt<arguments.length;nt++)L[nt]=arguments[nt];return this._getClient().then(function(ct){Ce=ct}).then(function(ct){return Ae._worker.withSyncedResources(L)}).then(function(ct){return Ce})},he}(),D=o(38),H=function(){function he(Ce,Ae,L){var nt=this;this._languageId=Ce,this._worker=Ae,this._disposables=[],this._listener=Object.create(null);var ct=function(ht){var fe,$=ht.getModeId();$===nt._languageId&&(nt._listener[ht.uri.toString()]=ht.onDidChangeContent(function(){clearTimeout(fe),fe=setTimeout(function(){return nt._doValidate(ht.uri,$)},500)}),nt._doValidate(ht.uri,$))},Ye=function(ht){h.e.setModelMarkers(ht,nt._languageId,[]);var fe=ht.uri.toString(),$=nt._listener[fe];$&&($.dispose(),delete nt._listener[fe])};this._disposables.push(h.e.onDidCreateModel(ct)),this._disposables.push(h.e.onWillDisposeModel(function(ht){Ye(ht),nt._resetSchema(ht.uri)})),this._disposables.push(h.e.onDidChangeModelLanguage(function(ht){Ye(ht.model),ct(ht.model),nt._resetSchema(ht.model.uri)})),this._disposables.push(L.onDidChange(function(ht){h.e.getModels().forEach(function(fe){fe.getModeId()===nt._languageId&&(Ye(fe),ct(fe))})})),this._disposables.push({dispose:function(){for(var ht in h.e.getModels().forEach(Ye),nt._listener)nt._listener[ht].dispose()}}),h.e.getModels().forEach(ct)}return he.prototype.dispose=function(){this._disposables.forEach(function(Ce){return Ce&&Ce.dispose()}),this._disposables=[]},he.prototype._resetSchema=function(Ce){this._worker().then(function(Ae){Ae.resetSchema(Ce.toString())})},he.prototype._doValidate=function(Ce,Ae){this._worker(Ce).then(function(L){return L.doValidation(Ce.toString()).then(function(nt){var ct=nt.map(function(ht){return $=typeof(fe=ht).code=="number"?String(fe.code):fe.code,{severity:E(fe.severity),startLineNumber:fe.range.start.line+1,startColumn:fe.range.start.character+1,endLineNumber:fe.range.end.line+1,endColumn:fe.range.end.character+1,message:fe.message,code:$,source:fe.source};var fe,$}),Ye=h.e.getModel(Ce);Ye&&Ye.getModeId()===Ae&&h.e.setModelMarkers(Ye,Ae,ct)})}).then(void 0,function(L){console.error(L)})},he}();function E(he){switch(he){case D.b.Error:return h.b.Error;case D.b.Warning:return h.b.Warning;case D.b.Information:return h.b.Info;case D.b.Hint:return h.b.Hint;default:return h.b.Info}}function ge(he){if(he)return{character:he.column-1,line:he.lineNumber-1}}function W(he){if(he)return{start:{line:he.startLineNumber-1,character:he.startColumn-1},end:{line:he.endLineNumber-1,character:he.endColumn-1}}}function Q(he){if(he)return new h.c(he.start.line+1,he.start.character+1,he.end.line+1,he.end.character+1)}function y(he){var Ce=h.f.CompletionItemKind;switch(he){case D.a.Text:return Ce.Text;case D.a.Method:return Ce.Method;case D.a.Function:return Ce.Function;case D.a.Constructor:return Ce.Constructor;case D.a.Field:return Ce.Field;case D.a.Variable:return Ce.Variable;case D.a.Class:return Ce.Class;case D.a.Interface:return Ce.Interface;case D.a.Module:return Ce.Module;case D.a.Property:return Ce.Property;case D.a.Unit:return Ce.Unit;case D.a.Value:return Ce.Value;case D.a.Enum:return Ce.Enum;case D.a.Keyword:return Ce.Keyword;case D.a.Snippet:return Ce.Snippet;case D.a.Color:return Ce.Color;case D.a.File:return Ce.File;case D.a.Reference:return Ce.Reference}return Ce.Property}function C(he){if(he)return{range:Q(he.range),text:he.newText}}var S=function(){function he(Ce){this._worker=Ce}return Object.defineProperty(he.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),he.prototype.provideCompletionItems=function(Ce,Ae,L,nt){var ct=Ce.uri;return this._worker(ct).then(function(Ye){return Ye.doComplete(ct.toString(),ge(Ae))}).then(function(Ye){if(Ye){var ht=Ce.getWordUntilPosition(Ae),fe=new h.c(Ae.lineNumber,ht.startColumn,Ae.lineNumber,ht.endColumn),$=Ye.items.map(function(G){var z,J={label:G.label,insertText:G.insertText||G.label,sortText:G.sortText,filterText:G.filterText,documentation:G.documentation,detail:G.detail,range:fe,kind:y(G.kind)};return G.textEdit&&((z=G.textEdit).insert!==void 0&&z.replace!==void 0?J.range={insert:Q(G.textEdit.insert),replace:Q(G.textEdit.replace)}:J.range=Q(G.textEdit.range),J.insertText=G.textEdit.newText),G.additionalTextEdits&&(J.additionalTextEdits=G.additionalTextEdits.map(C)),G.insertTextFormat===D.d.Snippet&&(J.insertTextRules=h.f.CompletionItemInsertTextRule.InsertAsSnippet),J});return{isIncomplete:Ye.isIncomplete,suggestions:$}}})},he}();function P(he){return typeof he=="string"?{value:he}:(Ce=he)&&typeof Ce=="object"&&typeof Ce.kind=="string"?he.kind==="plaintext"?{value:he.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:he.value}:{value:"```"+he.language+` +`+he.value+"\n```\n"};var Ce}function V(he){if(he)return Array.isArray(he)?he.map(P):[P(he)]}var k=function(){function he(Ce){this._worker=Ce}return he.prototype.provideHover=function(Ce,Ae,L){var nt=Ce.uri;return this._worker(nt).then(function(ct){return ct.doHover(nt.toString(),ge(Ae))}).then(function(ct){if(ct)return{range:Q(ct.range),contents:V(ct.contents)}})},he}();function l(he){var Ce=h.f.SymbolKind;switch(he){case D.e.File:return Ce.Array;case D.e.Module:return Ce.Module;case D.e.Namespace:return Ce.Namespace;case D.e.Package:return Ce.Package;case D.e.Class:return Ce.Class;case D.e.Method:return Ce.Method;case D.e.Property:return Ce.Property;case D.e.Field:return Ce.Field;case D.e.Constructor:return Ce.Constructor;case D.e.Enum:return Ce.Enum;case D.e.Interface:return Ce.Interface;case D.e.Function:return Ce.Function;case D.e.Variable:return Ce.Variable;case D.e.Constant:return Ce.Constant;case D.e.String:return Ce.String;case D.e.Number:return Ce.Number;case D.e.Boolean:return Ce.Boolean;case D.e.Array:return Ce.Array}return Ce.Function}var T=function(){function he(Ce){this._worker=Ce}return he.prototype.provideDocumentSymbols=function(Ce,Ae){var L=Ce.uri;return this._worker(L).then(function(nt){return nt.findDocumentSymbols(L.toString())}).then(function(nt){if(nt)return nt.map(function(ct){return{name:ct.name,detail:"",containerName:ct.containerName,kind:l(ct.kind),range:Q(ct.location.range),selectionRange:Q(ct.location.range),tags:[]}})})},he}();function N(he){return{tabSize:he.tabSize,insertSpaces:he.insertSpaces}}var b=function(){function he(Ce){this._worker=Ce}return he.prototype.provideDocumentFormattingEdits=function(Ce,Ae,L){var nt=Ce.uri;return this._worker(nt).then(function(ct){return ct.format(nt.toString(),null,N(Ae)).then(function(Ye){if(Ye&&Ye.length!==0)return Ye.map(C)})})},he}(),g=function(){function he(Ce){this._worker=Ce}return he.prototype.provideDocumentRangeFormattingEdits=function(Ce,Ae,L,nt){var ct=Ce.uri;return this._worker(ct).then(function(Ye){return Ye.format(ct.toString(),W(Ae),N(L)).then(function(ht){if(ht&&ht.length!==0)return ht.map(C)})})},he}(),j=function(){function he(Ce){this._worker=Ce}return he.prototype.provideDocumentColors=function(Ce,Ae){var L=Ce.uri;return this._worker(L).then(function(nt){return nt.findDocumentColors(L.toString())}).then(function(nt){if(nt)return nt.map(function(ct){return{color:ct.color,range:Q(ct.range)}})})},he.prototype.provideColorPresentations=function(Ce,Ae,L){var nt=Ce.uri;return this._worker(nt).then(function(ct){return ct.getColorPresentations(nt.toString(),Ae.color,W(Ae.range))}).then(function(ct){if(ct)return ct.map(function(Ye){var ht={label:Ye.label};return Ye.textEdit&&(ht.textEdit=C(Ye.textEdit)),Ye.additionalTextEdits&&(ht.additionalTextEdits=Ye.additionalTextEdits.map(C)),ht})})},he}(),ie=function(){function he(Ce){this._worker=Ce}return he.prototype.provideFoldingRanges=function(Ce,Ae,L){var nt=Ce.uri;return this._worker(nt).then(function(ct){return ct.getFoldingRanges(nt.toString(),Ae)}).then(function(ct){if(ct)return ct.map(function(Ye){var ht={start:Ye.startLine+1,end:Ye.endLine+1};return Ye.kind!==void 0&&(ht.kind=function(fe){switch(fe){case D.c.Comment:return h.f.FoldingRangeKind.Comment;case D.c.Imports:return h.f.FoldingRangeKind.Imports;case D.c.Region:return h.f.FoldingRangeKind.Region}}(Ye.kind)),ht})})},he}(),U=function(){function he(Ce){this._worker=Ce}return he.prototype.provideSelectionRanges=function(Ce,Ae,L){var nt=Ce.uri;return this._worker(nt).then(function(ct){return ct.getSelectionRanges(nt.toString(),Ae.map(ge))}).then(function(ct){if(ct)return ct.map(function(Ye){for(var ht=[];Ye;)ht.push({range:Q(Ye.range)}),Ye=Ye.parent;return ht})})},he}(),q=o(65);function B(he){return{getInitialState:function(){return new ke(null,null,!1,null)},tokenize:function(Ce,Ae,L,nt){return function(ct,Ye,ht,fe,$){fe===void 0&&(fe=0);var G=0,z=!1;switch(ht.scanError){case 2:Ye='"'+Ye,G=1;break;case 1:Ye="/*"+Ye,G=2}for(var J=q.a(Ye),Se=ht.lastWasColon,A=ht.parents,ee={tokens:[],endState:ht.clone()};;){var de=fe+J.getPosition(),Oe="",$e=J.scan();if($e===17)break;if(de===fe+J.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+Ye.substr(J.getPosition(),3));switch(z&&(de-=G),z=G>0,$e){case 1:A=se.push(A,0),Oe="delimiter.bracket.json",Se=!1;break;case 2:A=se.pop(A),Oe="delimiter.bracket.json",Se=!1;break;case 3:A=se.push(A,1),Oe="delimiter.array.json",Se=!1;break;case 4:A=se.pop(A),Oe="delimiter.array.json",Se=!1;break;case 6:Oe="delimiter.colon.json",Se=!0;break;case 5:Oe="delimiter.comma.json",Se=!1;break;case 8:case 9:case 7:Oe="keyword.json",Se=!1;break;case 10:var pt=(A?A.type:0)===1;Oe=Se||pt?"string.value.json":"string.key.json",Se=!1;break;case 11:Oe="number.json",Se=!1}if(ct)switch($e){case 12:Oe="comment.line.json";break;case 13:Oe="comment.block.json"}ee.endState=new ke(ht.getStateData(),J.getTokenError(),Se,A),ee.tokens.push({startIndex:de,scopes:Oe})}return ee}(he,Ce,Ae,L)}}}var se=function(){function he(Ce,Ae){this.parent=Ce,this.type=Ae}return he.pop=function(Ce){return Ce?Ce.parent:null},he.push=function(Ce,Ae){return new he(Ce,Ae)},he.equals=function(Ce,Ae){if(!Ce&&!Ae)return!0;if(!Ce||!Ae)return!1;for(;Ce&&Ae;){if(Ce===Ae)return!0;if(Ce.type!==Ae.type)return!1;Ce=Ce.parent,Ae=Ae.parent}return!0},he}(),ke=function(){function he(Ce,Ae,L,nt){this._state=Ce,this.scanError=Ae,this.lastWasColon=L,this.parents=nt}return he.prototype.clone=function(){return new he(this._state,this.scanError,this.lastWasColon,this.parents)},he.prototype.equals=function(Ce){return Ce===this||!!(Ce&&Ce instanceof he)&&this.scanError===Ce.scanError&&this.lastWasColon===Ce.lastWasColon&&se.equals(this.parents,Ce.parents)},he.prototype.getStateData=function(){return this._state},he.prototype.setStateData=function(Ce){this._state=Ce},he}();function xe(he){var Ce=[],Ae=[],L=new f(he);Ce.push(L);var nt=function(){for(var ht=[],fe=0;fe<arguments.length;fe++)ht[fe]=arguments[fe];return L.getLanguageServiceWorker.apply(L,ht)};function ct(){var ht=he.languageId,fe=he.modeConfiguration;Z(Ae),fe.documentFormattingEdits&&Ae.push(h.f.registerDocumentFormattingEditProvider(ht,new b(nt))),fe.documentRangeFormattingEdits&&Ae.push(h.f.registerDocumentRangeFormattingEditProvider(ht,new g(nt))),fe.completionItems&&Ae.push(h.f.registerCompletionItemProvider(ht,new S(nt))),fe.hovers&&Ae.push(h.f.registerHoverProvider(ht,new k(nt))),fe.documentSymbols&&Ae.push(h.f.registerDocumentSymbolProvider(ht,new T(nt))),fe.tokens&&Ae.push(h.f.setTokensProvider(ht,B(!0))),fe.colors&&Ae.push(h.f.registerColorProvider(ht,new j(nt))),fe.foldingRanges&&Ae.push(h.f.registerFoldingRangeProvider(ht,new ie(nt))),fe.diagnostics&&Ae.push(new H(ht,nt,he)),fe.selectionRanges&&Ae.push(h.f.registerSelectionRangeProvider(ht,new U(nt)))}ct(),Ce.push(h.f.setLanguageConfiguration(he.languageId,te));var Ye=he.modeConfiguration;return he.onDidChange(function(ht){ht.modeConfiguration!==Ye&&(Ye=ht.modeConfiguration,ct())}),Ce.push(Y(Ae)),Y(Ce)}function Y(he){return{dispose:function(){return Z(he)}}}function Z(he){for(;he.length;)he.pop().dispose()}var te={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"setupMode",function(){return se});var h=o(52),f=function(){function Y(Z){var te=this;this._defaults=Z,this._worker=null,this._idleCheckInterval=window.setInterval(function(){return te._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return te._stopWorker()})}return Y.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},Y.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},Y.prototype._checkIfIdle=function(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()},Y.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h.e.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},Y.prototype.getLanguageServiceWorker=function(){for(var Z,te=this,he=[],Ce=0;Ce<arguments.length;Ce++)he[Ce]=arguments[Ce];return this._getClient().then(function(Ae){Z=Ae}).then(function(Ae){return te._worker.withSyncedResources(he)}).then(function(Ae){return Z})},Y}(),D=o(48),H=function(){function Y(Z,te,he){var Ce=this;this._languageId=Z,this._worker=te,this._disposables=[],this._listener=Object.create(null);var Ae=function(nt){var ct,Ye=nt.getModeId();Ye===Ce._languageId&&(Ce._listener[nt.uri.toString()]=nt.onDidChangeContent(function(){window.clearTimeout(ct),ct=window.setTimeout(function(){return Ce._doValidate(nt.uri,Ye)},500)}),Ce._doValidate(nt.uri,Ye))},L=function(nt){h.e.setModelMarkers(nt,Ce._languageId,[]);var ct=nt.uri.toString(),Ye=Ce._listener[ct];Ye&&(Ye.dispose(),delete Ce._listener[ct])};this._disposables.push(h.e.onDidCreateModel(Ae)),this._disposables.push(h.e.onWillDisposeModel(L)),this._disposables.push(h.e.onDidChangeModelLanguage(function(nt){L(nt.model),Ae(nt.model)})),he.onDidChange(function(nt){h.e.getModels().forEach(function(ct){ct.getModeId()===Ce._languageId&&(L(ct),Ae(ct))})}),this._disposables.push({dispose:function(){for(var nt in Ce._listener)Ce._listener[nt].dispose()}}),h.e.getModels().forEach(Ae)}return Y.prototype.dispose=function(){this._disposables.forEach(function(Z){return Z&&Z.dispose()}),this._disposables=[]},Y.prototype._doValidate=function(Z,te){this._worker(Z).then(function(he){return he.doValidation(Z.toString())}).then(function(he){var Ce=he.map(function(L){return ct=typeof(nt=L).code=="number"?String(nt.code):nt.code,{severity:E(nt.severity),startLineNumber:nt.range.start.line+1,startColumn:nt.range.start.character+1,endLineNumber:nt.range.end.line+1,endColumn:nt.range.end.character+1,message:nt.message,code:ct,source:nt.source};var nt,ct}),Ae=h.e.getModel(Z);Ae.getModeId()===te&&h.e.setModelMarkers(Ae,te,Ce)}).then(void 0,function(he){console.error(he)})},Y}();function E(Y){switch(Y){case D.b.Error:return h.b.Error;case D.b.Warning:return h.b.Warning;case D.b.Information:return h.b.Info;case D.b.Hint:return h.b.Hint;default:return h.b.Info}}function ge(Y){if(Y)return{character:Y.column-1,line:Y.lineNumber-1}}function W(Y){if(Y)return new h.c(Y.start.line+1,Y.start.character+1,Y.end.line+1,Y.end.character+1)}function Q(Y){var Z=h.f.CompletionItemKind;switch(Y){case D.a.Text:return Z.Text;case D.a.Method:return Z.Method;case D.a.Function:return Z.Function;case D.a.Constructor:return Z.Constructor;case D.a.Field:return Z.Field;case D.a.Variable:return Z.Variable;case D.a.Class:return Z.Class;case D.a.Interface:return Z.Interface;case D.a.Module:return Z.Module;case D.a.Property:return Z.Property;case D.a.Unit:return Z.Unit;case D.a.Value:return Z.Value;case D.a.Enum:return Z.Enum;case D.a.Keyword:return Z.Keyword;case D.a.Snippet:return Z.Snippet;case D.a.Color:return Z.Color;case D.a.File:return Z.File;case D.a.Reference:return Z.Reference}return Z.Property}function y(Y){if(Y)return{range:W(Y.range),text:Y.newText}}var C=function(){function Y(Z){this._worker=Z}return Object.defineProperty(Y.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),Y.prototype.provideCompletionItems=function(Z,te,he,Ce){var Ae=Z.uri;return this._worker(Ae).then(function(L){return L.doComplete(Ae.toString(),ge(te))}).then(function(L){if(L){var nt=Z.getWordUntilPosition(te),ct=new h.c(te.lineNumber,nt.startColumn,te.lineNumber,nt.endColumn),Ye=L.items.map(function(ht){var fe,$={label:ht.label,insertText:ht.insertText||ht.label,sortText:ht.sortText,filterText:ht.filterText,documentation:ht.documentation,detail:ht.detail,range:ct,kind:Q(ht.kind)};return ht.textEdit&&((fe=ht.textEdit).insert!==void 0&&fe.replace!==void 0?$.range={insert:W(ht.textEdit.insert),replace:W(ht.textEdit.replace)}:$.range=W(ht.textEdit.range),$.insertText=ht.textEdit.newText),ht.additionalTextEdits&&($.additionalTextEdits=ht.additionalTextEdits.map(y)),ht.insertTextFormat===D.e.Snippet&&($.insertTextRules=h.f.CompletionItemInsertTextRule.InsertAsSnippet),$});return{isIncomplete:L.isIncomplete,suggestions:Ye}}})},Y}();function S(Y){return typeof Y=="string"?{value:Y}:(Z=Y)&&typeof Z=="object"&&typeof Z.kind=="string"?Y.kind==="plaintext"?{value:Y.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:Y.value}:{value:"```"+Y.language+` +`+Y.value+"\n```\n"};var Z}function P(Y){if(Y)return Array.isArray(Y)?Y.map(S):[S(Y)]}var V=function(){function Y(Z){this._worker=Z}return Y.prototype.provideHover=function(Z,te,he){var Ce=Z.uri;return this._worker(Ce).then(function(Ae){return Ae.doHover(Ce.toString(),ge(te))}).then(function(Ae){if(Ae)return{range:W(Ae.range),contents:P(Ae.contents)}})},Y}();function k(Y){switch(Y){case D.c.Read:return h.f.DocumentHighlightKind.Read;case D.c.Write:return h.f.DocumentHighlightKind.Write;case D.c.Text:return h.f.DocumentHighlightKind.Text}return h.f.DocumentHighlightKind.Text}var l=function(){function Y(Z){this._worker=Z}return Y.prototype.provideDocumentHighlights=function(Z,te,he){var Ce=Z.uri;return this._worker(Ce).then(function(Ae){return Ae.findDocumentHighlights(Ce.toString(),ge(te))}).then(function(Ae){if(Ae)return Ae.map(function(L){return{range:W(L.range),kind:k(L.kind)}})})},Y}();function T(Y){return{uri:h.d.parse(Y.uri),range:W(Y.range)}}var N=function(){function Y(Z){this._worker=Z}return Y.prototype.provideDefinition=function(Z,te,he){var Ce=Z.uri;return this._worker(Ce).then(function(Ae){return Ae.findDefinition(Ce.toString(),ge(te))}).then(function(Ae){if(Ae)return[T(Ae)]})},Y}(),b=function(){function Y(Z){this._worker=Z}return Y.prototype.provideReferences=function(Z,te,he,Ce){var Ae=Z.uri;return this._worker(Ae).then(function(L){return L.findReferences(Ae.toString(),ge(te))}).then(function(L){if(L)return L.map(T)})},Y}(),g=function(){function Y(Z){this._worker=Z}return Y.prototype.provideRenameEdits=function(Z,te,he,Ce){var Ae=Z.uri;return this._worker(Ae).then(function(L){return L.doRename(Ae.toString(),ge(te),he)}).then(function(L){return function(nt){if(nt&&nt.changes){var ct=[];for(var Ye in nt.changes)for(var ht=h.d.parse(Ye),fe=0,$=nt.changes[Ye];fe<$.length;fe++){var G=$[fe];ct.push({resource:ht,edit:{range:W(G.range),text:G.newText}})}return{edits:ct}}}(L)})},Y}();function j(Y){var Z=h.f.SymbolKind;switch(Y){case D.f.File:return Z.Array;case D.f.Module:return Z.Module;case D.f.Namespace:return Z.Namespace;case D.f.Package:return Z.Package;case D.f.Class:return Z.Class;case D.f.Method:return Z.Method;case D.f.Property:return Z.Property;case D.f.Field:return Z.Field;case D.f.Constructor:return Z.Constructor;case D.f.Enum:return Z.Enum;case D.f.Interface:return Z.Interface;case D.f.Function:return Z.Function;case D.f.Variable:return Z.Variable;case D.f.Constant:return Z.Constant;case D.f.String:return Z.String;case D.f.Number:return Z.Number;case D.f.Boolean:return Z.Boolean;case D.f.Array:return Z.Array}return Z.Function}var ie=function(){function Y(Z){this._worker=Z}return Y.prototype.provideDocumentSymbols=function(Z,te){var he=Z.uri;return this._worker(he).then(function(Ce){return Ce.findDocumentSymbols(he.toString())}).then(function(Ce){if(Ce)return Ce.map(function(Ae){return{name:Ae.name,detail:"",containerName:Ae.containerName,kind:j(Ae.kind),tags:[],range:W(Ae.location.range),selectionRange:W(Ae.location.range)}})})},Y}(),U=function(){function Y(Z){this._worker=Z}return Y.prototype.provideDocumentColors=function(Z,te){var he=Z.uri;return this._worker(he).then(function(Ce){return Ce.findDocumentColors(he.toString())}).then(function(Ce){if(Ce)return Ce.map(function(Ae){return{color:Ae.color,range:W(Ae.range)}})})},Y.prototype.provideColorPresentations=function(Z,te,he){var Ce=Z.uri;return this._worker(Ce).then(function(Ae){return Ae.getColorPresentations(Ce.toString(),te.color,function(L){if(L)return{start:{line:L.startLineNumber-1,character:L.startColumn-1},end:{line:L.endLineNumber-1,character:L.endColumn-1}}}(te.range))}).then(function(Ae){if(Ae)return Ae.map(function(L){var nt={label:L.label};return L.textEdit&&(nt.textEdit=y(L.textEdit)),L.additionalTextEdits&&(nt.additionalTextEdits=L.additionalTextEdits.map(y)),nt})})},Y}(),q=function(){function Y(Z){this._worker=Z}return Y.prototype.provideFoldingRanges=function(Z,te,he){var Ce=Z.uri;return this._worker(Ce).then(function(Ae){return Ae.getFoldingRanges(Ce.toString(),te)}).then(function(Ae){if(Ae)return Ae.map(function(L){var nt={start:L.startLine+1,end:L.endLine+1};return L.kind!==void 0&&(nt.kind=function(ct){switch(ct){case D.d.Comment:return h.f.FoldingRangeKind.Comment;case D.d.Imports:return h.f.FoldingRangeKind.Imports;case D.d.Region:return h.f.FoldingRangeKind.Region}}(L.kind)),nt})})},Y}(),B=function(){function Y(Z){this._worker=Z}return Y.prototype.provideSelectionRanges=function(Z,te,he){var Ce=Z.uri;return this._worker(Ce).then(function(Ae){return Ae.getSelectionRanges(Ce.toString(),te.map(ge))}).then(function(Ae){if(Ae)return Ae.map(function(L){for(var nt=[];L;)nt.push({range:W(L.range)}),L=L.parent;return nt})})},Y}();function se(Y){var Z=[],te=[],he=new f(Y);Z.push(he);var Ce,Ae,L=function(){for(var nt=[],ct=0;ct<arguments.length;ct++)nt[ct]=arguments[ct];return he.getLanguageServiceWorker.apply(he,nt)};return Ce=Y.languageId,Ae=Y.modeConfiguration,xe(te),Ae.completionItems&&te.push(h.f.registerCompletionItemProvider(Ce,new C(L))),Ae.hovers&&te.push(h.f.registerHoverProvider(Ce,new V(L))),Ae.documentHighlights&&te.push(h.f.registerDocumentHighlightProvider(Ce,new l(L))),Ae.definitions&&te.push(h.f.registerDefinitionProvider(Ce,new N(L))),Ae.references&&te.push(h.f.registerReferenceProvider(Ce,new b(L))),Ae.documentSymbols&&te.push(h.f.registerDocumentSymbolProvider(Ce,new ie(L))),Ae.rename&&te.push(h.f.registerRenameProvider(Ce,new g(L))),Ae.colors&&te.push(h.f.registerColorProvider(Ce,new U(L))),Ae.foldingRanges&&te.push(h.f.registerFoldingRangeProvider(Ce,new q(L))),Ae.diagnostics&&te.push(new H(Ce,L,Y)),Ae.selectionRanges&&te.push(h.f.registerSelectionRangeProvider(Ce,new B(L))),Z.push(ke(te)),ke(Z)}function ke(Y){return{dispose:function(){return xe(Y)}}}function xe(Y){for(;Y.length;)Y.pop().dispose()}},function(Ie,w,o){"use strict";o.r(w),o.d(w,"setupMode1",function(){return se}),o.d(w,"setupMode",function(){return ke});var h=o(47),f=function(){function Z(te){var he=this;this._defaults=te,this._worker=null,this._idleCheckInterval=setInterval(function(){return he._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return he._stopWorker()})}return Z.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},Z.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},Z.prototype._checkIfIdle=function(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()},Z.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h.e.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},Z.prototype.getLanguageServiceWorker=function(){for(var te,he=this,Ce=[],Ae=0;Ae<arguments.length;Ae++)Ce[Ae]=arguments[Ae];return this._getClient().then(function(L){te=L}).then(function(L){return he._worker.withSyncedResources(Ce)}).then(function(L){return te})},Z}(),D=o(31),H=function(){function Z(te,he,Ce){var Ae=this;this._languageId=te,this._worker=he,this._disposables=[],this._listener=Object.create(null);var L=function(ct){var Ye,ht=ct.getModeId();ht===Ae._languageId&&(Ae._listener[ct.uri.toString()]=ct.onDidChangeContent(function(){clearTimeout(Ye),Ye=setTimeout(function(){return Ae._doValidate(ct.uri,ht)},500)}),Ae._doValidate(ct.uri,ht))},nt=function(ct){h.e.setModelMarkers(ct,Ae._languageId,[]);var Ye=ct.uri.toString(),ht=Ae._listener[Ye];ht&&(ht.dispose(),delete Ae._listener[Ye])};this._disposables.push(h.e.onDidCreateModel(L)),this._disposables.push(h.e.onWillDisposeModel(function(ct){nt(ct)})),this._disposables.push(h.e.onDidChangeModelLanguage(function(ct){nt(ct.model),L(ct.model)})),this._disposables.push(Ce.onDidChange(function(ct){h.e.getModels().forEach(function(Ye){Ye.getModeId()===Ae._languageId&&(nt(Ye),L(Ye))})})),this._disposables.push({dispose:function(){for(var ct in Ae._listener)Ae._listener[ct].dispose()}}),h.e.getModels().forEach(L)}return Z.prototype.dispose=function(){this._disposables.forEach(function(te){return te&&te.dispose()}),this._disposables=[]},Z.prototype._doValidate=function(te,he){this._worker(te).then(function(Ce){return Ce.doValidation(te.toString()).then(function(Ae){var L=Ae.map(function(nt){return Ye=typeof(ct=nt).code=="number"?String(ct.code):ct.code,{severity:E(ct.severity),startLineNumber:ct.range.start.line+1,startColumn:ct.range.start.character+1,endLineNumber:ct.range.end.line+1,endColumn:ct.range.end.character+1,message:ct.message,code:Ye,source:ct.source};var ct,Ye});h.e.setModelMarkers(h.e.getModel(te),he,L)})}).then(void 0,function(Ce){console.error(Ce)})},Z}();function E(Z){switch(Z){case D.b.Error:return h.b.Error;case D.b.Warning:return h.b.Warning;case D.b.Information:return h.b.Info;case D.b.Hint:return h.b.Hint;default:return h.b.Info}}function ge(Z){if(Z)return{character:Z.column-1,line:Z.lineNumber-1}}function W(Z){if(Z)return new h.c(Z.start.line+1,Z.start.character+1,Z.end.line+1,Z.end.character+1)}function Q(Z){var te=h.f.CompletionItemKind;switch(Z){case D.a.Text:return te.Text;case D.a.Method:return te.Method;case D.a.Function:return te.Function;case D.a.Constructor:return te.Constructor;case D.a.Field:return te.Field;case D.a.Variable:return te.Variable;case D.a.Class:return te.Class;case D.a.Interface:return te.Interface;case D.a.Module:return te.Module;case D.a.Property:return te.Property;case D.a.Unit:return te.Unit;case D.a.Value:return te.Value;case D.a.Enum:return te.Enum;case D.a.Keyword:return te.Keyword;case D.a.Snippet:return te.Snippet;case D.a.Color:return te.Color;case D.a.File:return te.File;case D.a.Reference:return te.Reference}return te.Property}function y(Z){if(Z)return{range:W(Z.range),text:Z.newText}}var C=function(){function Z(te){this._worker=te}return Object.defineProperty(Z.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),Z.prototype.provideCompletionItems=function(te,he,Ce,Ae){var L=te.uri;return this._worker(L).then(function(nt){return nt.doComplete(L.toString(),ge(he))}).then(function(nt){if(nt){var ct=te.getWordUntilPosition(he),Ye=new h.c(he.lineNumber,ct.startColumn,he.lineNumber,ct.endColumn),ht=nt.items.map(function(fe){var $,G={label:fe.label,insertText:fe.insertText||fe.label,sortText:fe.sortText,filterText:fe.filterText,documentation:fe.documentation,detail:fe.detail,range:Ye,kind:Q(fe.kind)};return fe.textEdit&&(($=fe.textEdit).insert!==void 0&&$.replace!==void 0?G.range={insert:W(fe.textEdit.insert),replace:W(fe.textEdit.replace)}:G.range=W(fe.textEdit.range),G.insertText=fe.textEdit.newText),fe.additionalTextEdits&&(G.additionalTextEdits=fe.additionalTextEdits.map(y)),fe.insertTextFormat===D.e.Snippet&&(G.insertTextRules=h.f.CompletionItemInsertTextRule.InsertAsSnippet),G});return{isIncomplete:nt.isIncomplete,suggestions:ht}}})},Z}();function S(Z){return typeof Z=="string"?{value:Z}:(te=Z)&&typeof te=="object"&&typeof te.kind=="string"?Z.kind==="plaintext"?{value:Z.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:Z.value}:{value:"```"+Z.language+` +`+Z.value+"\n```\n"};var te}function P(Z){if(Z)return Array.isArray(Z)?Z.map(S):[S(Z)]}var V=function(){function Z(te){this._worker=te}return Z.prototype.provideHover=function(te,he,Ce){var Ae=te.uri;return this._worker(Ae).then(function(L){return L.doHover(Ae.toString(),ge(he))}).then(function(L){if(L)return{range:W(L.range),contents:P(L.contents)}})},Z}();function k(Z){var te=h.f.DocumentHighlightKind;switch(Z){case D.c.Read:return te.Read;case D.c.Write:return te.Write;case D.c.Text:return te.Text}return te.Text}var l=function(){function Z(te){this._worker=te}return Z.prototype.provideDocumentHighlights=function(te,he,Ce){var Ae=te.uri;return this._worker(Ae).then(function(L){return L.findDocumentHighlights(Ae.toString(),ge(he))}).then(function(L){if(L)return L.map(function(nt){return{range:W(nt.range),kind:k(nt.kind)}})})},Z}();function T(Z){var te=h.f.SymbolKind;switch(Z){case D.f.File:return te.Array;case D.f.Module:return te.Module;case D.f.Namespace:return te.Namespace;case D.f.Package:return te.Package;case D.f.Class:return te.Class;case D.f.Method:return te.Method;case D.f.Property:return te.Property;case D.f.Field:return te.Field;case D.f.Constructor:return te.Constructor;case D.f.Enum:return te.Enum;case D.f.Interface:return te.Interface;case D.f.Function:return te.Function;case D.f.Variable:return te.Variable;case D.f.Constant:return te.Constant;case D.f.String:return te.String;case D.f.Number:return te.Number;case D.f.Boolean:return te.Boolean;case D.f.Array:return te.Array}return te.Function}var N=function(){function Z(te){this._worker=te}return Z.prototype.provideDocumentSymbols=function(te,he){var Ce=te.uri;return this._worker(Ce).then(function(Ae){return Ae.findDocumentSymbols(Ce.toString())}).then(function(Ae){if(Ae)return Ae.map(function(L){return{name:L.name,detail:"",containerName:L.containerName,kind:T(L.kind),tags:[],range:W(L.location.range),selectionRange:W(L.location.range)}})})},Z}(),b=function(){function Z(te){this._worker=te}return Z.prototype.provideLinks=function(te,he){var Ce=te.uri;return this._worker(Ce).then(function(Ae){return Ae.findDocumentLinks(Ce.toString())}).then(function(Ae){if(Ae)return{links:Ae.map(function(L){return{range:W(L.range),url:L.target}})}})},Z}();function g(Z){return{tabSize:Z.tabSize,insertSpaces:Z.insertSpaces}}var j=function(){function Z(te){this._worker=te}return Z.prototype.provideDocumentFormattingEdits=function(te,he,Ce){var Ae=te.uri;return this._worker(Ae).then(function(L){return L.format(Ae.toString(),null,g(he)).then(function(nt){if(nt&&nt.length!==0)return nt.map(y)})})},Z}(),ie=function(){function Z(te){this._worker=te}return Z.prototype.provideDocumentRangeFormattingEdits=function(te,he,Ce,Ae){var L=te.uri;return this._worker(L).then(function(nt){return nt.format(L.toString(),function(ct){if(ct)return{start:ge(ct.getStartPosition()),end:ge(ct.getEndPosition())}}(he),g(Ce)).then(function(ct){if(ct&&ct.length!==0)return ct.map(y)})})},Z}(),U=function(){function Z(te){this._worker=te}return Z.prototype.provideRenameEdits=function(te,he,Ce,Ae){var L=te.uri;return this._worker(L).then(function(nt){return nt.doRename(L.toString(),ge(he),Ce)}).then(function(nt){return function(ct){if(!(!ct||!ct.changes)){var Ye=[];for(var ht in ct.changes)for(var fe=h.d.parse(ht),$=0,G=ct.changes[ht];$<G.length;$++){var z=G[$];Ye.push({resource:fe,edit:{range:W(z.range),text:z.newText}})}return{edits:Ye}}}(nt)})},Z}(),q=function(){function Z(te){this._worker=te}return Z.prototype.provideFoldingRanges=function(te,he,Ce){var Ae=te.uri;return this._worker(Ae).then(function(L){return L.getFoldingRanges(Ae.toString(),he)}).then(function(L){if(L)return L.map(function(nt){var ct={start:nt.startLine+1,end:nt.endLine+1};return nt.kind!==void 0&&(ct.kind=function(Ye){switch(Ye){case D.d.Comment:return h.f.FoldingRangeKind.Comment;case D.d.Imports:return h.f.FoldingRangeKind.Imports;case D.d.Region:return h.f.FoldingRangeKind.Region}}(nt.kind)),ct})})},Z}(),B=function(){function Z(te){this._worker=te}return Z.prototype.provideSelectionRanges=function(te,he,Ce){var Ae=te.uri;return this._worker(Ae).then(function(L){return L.getSelectionRanges(Ae.toString(),he.map(ge))}).then(function(L){if(L)return L.map(function(nt){for(var ct=[];nt;)ct.push({range:W(nt.range)}),nt=nt.parent;return ct})})},Z}();function se(Z){var te=new f(Z),he=function(){for(var Ae=[],L=0;L<arguments.length;L++)Ae[L]=arguments[L];return te.getLanguageServiceWorker.apply(te,Ae)},Ce=Z.languageId;h.f.registerCompletionItemProvider(Ce,new C(he)),h.f.registerHoverProvider(Ce,new V(he)),h.f.registerDocumentHighlightProvider(Ce,new l(he)),h.f.registerLinkProvider(Ce,new b(he)),h.f.registerFoldingRangeProvider(Ce,new q(he)),h.f.registerDocumentSymbolProvider(Ce,new N(he)),h.f.registerSelectionRangeProvider(Ce,new B(he)),h.f.registerRenameProvider(Ce,new U(he)),Ce==="html"&&(h.f.registerDocumentFormattingEditProvider(Ce,new j(he)),h.f.registerDocumentRangeFormattingEditProvider(Ce,new ie(he)),new H(Ce,he,Z))}function ke(Z){var te=[],he=[],Ce=new f(Z);te.push(Ce);var Ae,L,nt=function(){for(var ct=[],Ye=0;Ye<arguments.length;Ye++)ct[Ye]=arguments[Ye];return Ce.getLanguageServiceWorker.apply(Ce,ct)};return Ae=Z.languageId,L=Z.modeConfiguration,Y(he),L.completionItems&&he.push(h.f.registerCompletionItemProvider(Ae,new C(nt))),L.hovers&&he.push(h.f.registerHoverProvider(Ae,new V(nt))),L.documentHighlights&&he.push(h.f.registerDocumentHighlightProvider(Ae,new l(nt))),L.links&&he.push(h.f.registerLinkProvider(Ae,new b(nt))),L.documentSymbols&&he.push(h.f.registerDocumentSymbolProvider(Ae,new N(nt))),L.rename&&he.push(h.f.registerRenameProvider(Ae,new U(nt))),L.foldingRanges&&he.push(h.f.registerFoldingRangeProvider(Ae,new q(nt))),L.selectionRanges&&he.push(h.f.registerSelectionRangeProvider(Ae,new B(nt))),L.documentFormattingEdits&&he.push(h.f.registerDocumentFormattingEditProvider(Ae,new j(nt))),L.documentRangeFormattingEdits&&he.push(h.f.registerDocumentRangeFormattingEditProvider(Ae,new ie(nt))),L.diagnostics&&he.push(new H(Ae,nt,Z)),te.push(xe(he)),xe(te)}function xe(Z){return{dispose:function(){return Y(Z)}}}function Y(Z){for(;Z.length;)Z.pop().dispose()}}]);var id=new URL("monaco/workers/",import.meta.url);self.MonacoEnvironment={getWorkerUrl:function(Ie,w){switch(w){case"json":return`${id}json.worker.js`;case"css":return`${id}css.worker.js`;case"html":return`${id}html.worker.js`;case"typescript":case"javascript":return`${id}ts.worker.js`;default:return`${id}editor.worker.js`}}};var Em=class extends HTMLElement{static get observedAttributes(){return["src","value"]}attributeChangedCallback(w,o,h){!this.__initialized||o!==h&&(this[w]=h)}get src(){return this.getAttribute("src")}set src(w){this.setAttribute("src",w),this.setSrc()}get value(){return this.editor.getValue()}set value(w){this.editor.setValue(w)}get tabSize(){return this.editor.getModel()._options.tabSize}set tabSize(w){this.editor.getModel().updateOptions({tabSize:w})}constructor(){super();this.__initialized=!1,this.editor=null}async connectedCallback(){if(this.style.display="block",this.id||(this.id="editor"),this.style.width||(this.style.width="100%"),this.style.height||(this.style.height="100%"),this.hasAttribute("config")){let w=await this.fetchConfig(this.getAttribute("config"));this.editor=monaco.editor.create(document.getElementById(this.id),w)}else this.editor=monaco.editor.create(document.getElementById(this.id),{language:this.getAttribute("language"),theme:"vs-dark",automaticLayout:!0,lineNumbersMinChars:3,mouseWheelZoom:!0,fontSize:this.getAttribute("font-size"),minimap:{enabled:!this.hasAttribute("no-minimap")},wordWrap:this.hasAttribute("word-wrap"),wrappingIndent:this.getAttribute("wrap-indent")});this.hasAttribute("tab-size")&&(this.tabSize=this.getAttribute("tab-size")),this.hasAttribute("src")&&this.setSrc(),this.__initialized=!0}async setSrc(){let w=this.getAttribute("src"),o=await this.fetchSrc(w);this.editor.setValue(o)}async fetchSrc(w){return(await fetch(w)).text()}async fetchConfig(w){return(await fetch(w)).json()}};customElements.define("wc-monaco-editor",Em);export{Em as WCMonacoEditor}; +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh <http://feross.org> + * @license MIT + */ +/*!--------------------------------------------------------------------------------------------- + * Copyright (C) David Owens II, owensd.io. All rights reserved. + *--------------------------------------------------------------------------------------------*/ diff --git a/monaco/editor.main.js b/monaco/editor.main.js index ccdba40..6990bae 100644 --- a/monaco/editor.main.js +++ b/monaco/editor.main.js @@ -1,12 +1,14 @@ -!function(e){function t(t){for(var n,o,r=t[0],s=t[1],a=0,c=[];a<r.length;a++)o=r[a],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&c.push(i[o][0]),i[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(l&&l(t);c.length;)c.shift()()}var n={},i={0:0};function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.e=function(){return Promise.resolve()},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var r=self.webpackJsonp=self.webpackJsonp||[],s=r.push.bind(r);r.push=t,r=r.slice();for(var a=0;a<r.length;a++)t(r[a]);var l=s;o(o.s=342)}([function(e,t,n){"use strict";function i(e,t,...n){return function(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){const i=n[0];return void 0!==t[i]?t[i]:e})),n}(t,n)}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"s",(function(){return g})),n.d(t,"S",(function(){return f})),n.d(t,"N",(function(){return b})),n.d(t,"I",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return y})),n.d(t,"Q",(function(){return C})),n.d(t,"R",(function(){return x})),n.d(t,"ab",(function(){return S})),n.d(t,"i",(function(){return E})),n.d(t,"n",(function(){return L})),n.d(t,"m",(function(){return N})),n.d(t,"g",(function(){return I})),n.d(t,"h",(function(){return O})),n.d(t,"j",(function(){return D})),n.d(t,"k",(function(){return A})),n.d(t,"W",(function(){return R})),n.d(t,"Y",(function(){return M})),n.d(t,"l",(function(){return B})),n.d(t,"z",(function(){return j})),n.d(t,"y",(function(){return V})),n.d(t,"F",(function(){return q})),n.d(t,"C",(function(){return $})),n.d(t,"d",(function(){return K})),n.d(t,"H",(function(){return G})),n.d(t,"B",(function(){return Y})),n.d(t,"A",(function(){return Z})),n.d(t,"G",(function(){return X})),n.d(t,"L",(function(){return Q})),n.d(t,"w",(function(){return J})),n.d(t,"J",(function(){return ee})),n.d(t,"O",(function(){return ne})),n.d(t,"E",(function(){return ie})),n.d(t,"x",(function(){return oe})),n.d(t,"v",(function(){return re})),n.d(t,"u",(function(){return le})),n.d(t,"P",(function(){return ce})),n.d(t,"M",(function(){return de})),n.d(t,"c",(function(){return he})),n.d(t,"b",(function(){return ue})),n.d(t,"X",(function(){return pe})),n.d(t,"V",(function(){return me})),n.d(t,"bb",(function(){return fe})),n.d(t,"p",(function(){return be})),n.d(t,"U",(function(){return ve})),n.d(t,"a",(function(){return Ce})),n.d(t,"Z",(function(){return xe})),n.d(t,"K",(function(){return Se})),n.d(t,"T",(function(){return ke})),n.d(t,"D",(function(){return Ee})),n.d(t,"t",(function(){return Te})),n.d(t,"cb",(function(){return Le})),n.d(t,"o",(function(){return Ne})),n.d(t,"r",(function(){return Ie})),n.d(t,"q",(function(){return Oe}));var i=n(34),o=n(44),r=n(67),s=n(69),a=n(20),l=n(13),c=n(6),d=n(2),h=n(11),u=n(15),p=n(45),m=n(138);function g(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e){for(;e;){if(e===document.body)return!0;e=e.parentNode||e.host}return!1}const _=new class{hasClass(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)}addClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.addClass(e,t)))}addClass(e,t){t&&e.classList&&e.classList.add(t)}removeClass(e,t){t&&e.classList&&e.classList.remove(t)}removeClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.removeClass(e,t)))}toggleClass(e,t,n){e.classList&&e.classList.toggle(t,n)}},v=_.hasClass.bind(_),w=_.addClass.bind(_),y=_.addClasses.bind(_),C=_.removeClass.bind(_),x=_.removeClasses.bind(_),S=_.toggleClass.bind(_);class k{constructor(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function E(e,t,n,i){return new k(e,t,n,i)}function T(e){return function(t){return e(new s.a(t))}}let L=function(e,t,n,i){let o=n;return"click"===t||"mousedown"===t?o=T(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new r.a(t))}}(n)),E(e,t,o,i)},N=function(e,t,n){return I(e,T(t),n)};function I(e,t,n){return E(e,h.c&&m.a.pointerEvents?he.POINTER_DOWN:he.MOUSE_DOWN,t,n)}function O(e,t,n){return E(e,h.c&&m.a.pointerEvents?he.POINTER_UP:he.MOUSE_UP,t,n)}function D(e,t){return E(e,"mouseout",n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)})}function A(e,t){return E(e,"pointerout",n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)})}let R,M,P=null;class F{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){Object(l.e)(e)}}static sort(e,t){return t.priority-e.priority}}!function(){let e=[],t=null,n=!1,i=!1,o=()=>{for(n=!1,t=e,e=[],i=!0;t.length>0;){t.sort(F.sort),t.shift().execute()}i=!1};M=(t,i=0)=>{let r=new F(t,i);return e.push(r),n||(n=!0,function(e){if(!P){const e=e=>setTimeout(()=>e((new Date).getTime()),0);P=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}P.call(self,e)}(o)),r},R=(e,n)=>{if(i){let i=new F(e,n);return t.push(i),i}return M(e,n)}}();const W=function(e,t){return t};class z extends d.a{constructor(e,t,n,i=W,o=16){super();let r=null,s=0,l=this._register(new a.e),c=()=>{s=(new Date).getTime(),n(r),r=null};this._register(E(e,t,e=>{r=i(r,e);let t=(new Date).getTime()-s;t>=o?(l.cancel(),c()):l.setIfNotSet(c,o-t)}))}}function B(e,t,n,i,o){return new z(e,t,n,i,o)}function j(e){return document.defaultView.getComputedStyle(e,null)}function V(e){if(e!==document.body)return new H(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){const e=window.visualViewport.width,t=window.visualViewport.height-(i.k?24:0);return new H(e,t)}if(window.innerWidth&&window.innerHeight)return new H(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new H(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new H(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class U{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let i=j(e),o="0";return i&&(o=i.getPropertyValue?i.getPropertyValue(t):i.getAttribute(n)),U.convertToPixels(e,o)}static getBorderLeftWidth(e){return U.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return U.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return U.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return U.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return U.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return U.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return U.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return U.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return U.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return U.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return U.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return U.getDimension(e,"margin-bottom","marginBottom")}}class H{constructor(e,t){this.width=e,this.height=t}}function q(e){let t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;const o=te(e)?null:j(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=U.getBorderLeftWidth(e),n+=U.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function $(e){let t=e.getBoundingClientRect();return{left:t.left+K.scrollX,top:t.top+K.scrollY,width:t.width,height:t.height}}const K=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function G(e){let t=U.getMarginLeft(e)+U.getMarginRight(e);return e.offsetWidth+t}function Y(e){let t=U.getBorderLeftWidth(e)+U.getBorderRightWidth(e),n=U.getPaddingLeft(e)+U.getPaddingRight(e);return e.offsetWidth-t-n}function Z(e){let t=U.getBorderTopWidth(e)+U.getBorderBottomWidth(e),n=U.getPaddingTop(e)+U.getPaddingBottom(e);return e.offsetHeight-t-n}function X(e){let t=U.getMarginTop(e)+U.getMarginBottom(e);return e.offsetHeight+t}function Q(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function J(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(v(e,t))return e;if(n)if("string"==typeof n){if(v(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function ee(e,t,n){return!!J(e,t,n)}function te(e){return e&&!!e.host&&!!e.mode}function ne(e){return!!ie(e)}function ie(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return te(e)?e:null}function oe(){let e=document.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function re(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let se=null;function ae(){return se||(se=re()),se}function le(e,t,n=ae()){n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function ce(e,t=ae()){if(!t)return;let n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),i=[];for(let t=0;t<n.length;t++){-1!==n[t].selectorText.indexOf(e)&&i.push(t)}for(let e=i.length-1;e>=0;e--)t.sheet.deleteRule(i[e])}function de(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}const he={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:i.f?"mousewheel":"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:i.l?"webkitAnimationStart":"animationstart",ANIMATION_END:i.l?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:i.l?"webkitAnimationIteration":"animationiteration"},ue={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function pe(e){let t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function me(e,t){for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}class ge extends d.a{constructor(e){super(),this._onDidFocus=this._register(new c.a),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.a),this.onDidBlur=this._onDidBlur.event;let t=Q(document.activeElement,e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},r=()=>{t&&(n=!0,window.setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{Q(document.activeElement,e)!==t&&(t?r():i())},this._register(Object(o.a)(e,he.FOCUS,!0)(i)),this._register(Object(o.a)(e,he.BLUR,!0)(r))}}function fe(e){return new ge(e)}function be(e,...t){return t.forEach(t=>e.appendChild(t)),t[t.length-1]}const _e=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function ve(e,...t){e.innerText="",Object(u.d)(t).forEach(t=>{t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t))})}var we;function ye(e,t,n,...i){let o=_e.exec(t);if(!o)throw new Error("Bad use of emmet");n=Object.assign({},n||{});let r,s=o[1]||"div";return r=e!==we.HTML?document.createElementNS(e,s):document.createElement(s),o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),Object.keys(n).forEach(e=>{const t=n[e];void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),Object(u.d)(i).forEach(e=>{e instanceof Node?r.appendChild(e):r.appendChild(document.createTextNode(e))}),r}function Ce(e,t,...n){return ye(we.HTML,e,t,...n)}function xe(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function Se(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function ke(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){let t=function(e,t){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function Ee(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function Te(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function Le(e){if(h.g||i.g)window.open(e);else{let t=window.open();t&&(t.opener=null,t.location.href=e)}}function Ne(e){const t=()=>{e(),n=M(t)};let n=M(t);return Object(d.h)(()=>n.dispose())}function Ie(e){return e&&p.b.vscodeRemote===e.scheme?p.a.rewrite(e):e}function Oe(e){return e?`url('${Ie(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(we||(we={})),Ce.SVG=function(e,t,...n){return ye(we.SVG,e,t,...n)},p.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return p}));var i=n(37);function o(e){}class r extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function a(e){if(i.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new r(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function l(...e){return e.forEach(o),{dispose:()=>a(e)}}function c(e){const t={dispose:()=>{e()}};return t}class d{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{a(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?d.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}d.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new d}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class u{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class p{constructor(e){this.object=e}dispose(){}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(9);class o{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return o.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return o.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return o.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return o.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return o.plusRange(this,e)}static plusRange(e,t){let n,i,r,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new o(n,i,r,s)}intersectRanges(e){return o.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return n<a?(n=a,i=l):n===a&&(i=Math.max(i,l)),r>c?(r=c,s=d):r===c&&(s=Math.min(s,d)),n>r||n===r&&i>s?null:new o(n,i,r,s)}equalsRange(e){return o.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return o.getEndPosition(this)}static getEndPosition(e){return new i.a(e.endLineNumber,e.endColumn)}getStartPosition(){return o.getStartPosition(this)}static getStartPosition(e){return new i.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new o(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new o(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return o.collapseToStart(this)}static collapseToStart(e){return new o(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;if(n===i){return(0|e.endColumn)-(0|t.endColumn)}return n-i}return n-i}return n-i}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"f",(function(){return x})),n.d(t,"o",(function(){return S})),n.d(t,"j",(function(){return k})),n.d(t,"p",(function(){return E})),n.d(t,"q",(function(){return T})),n.d(t,"l",(function(){return L})),n.d(t,"k",(function(){return N})),n.d(t,"r",(function(){return I})),n.d(t,"n",(function(){return O})),n.d(t,"m",(function(){return D})),n.d(t,"d",(function(){return i})),n.d(t,"i",(function(){return M})),n.d(t,"g",(function(){return P})),n.d(t,"h",(function(){return F}));var i,o=n(0),r=n(13),s=n(23),a=n(41),l=n(9),c=n(64),d=n(122),h=n(24),u=n(27),p=n(10),m=n(92),g=n(56),f=n(120),b=n(14);class _{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=this._kbOpts.kbExpr;this.precondition&&(e=e?p.a.and(e,this.precondition):this.precondition),m.a.registerCommandAndKeybindingRule({id:this.id,handler:(e,t)=>this.runCommand(e,t),weight:this._kbOpts.weight,args:this._kbOpts.args,when:e,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else u.a.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){h.d.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon},when:e.when,order:e.order})}}class v extends _{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e<this._implementations.length;e++)if(this._implementations[e][1]===t)return void this._implementations.splice(e,1)}}}runCommand(e,t){for(const n of this._implementations)if(n[1](e,t))return}}class w extends _{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}}class y extends _{static bindToContribution(e){return class extends y{constructor(e){super(e),this._callback=e.handler}runEditorCommand(t,n,i){e(n)&&this._callback(e(n),i)}}}runCommand(e,t){const n=e.get(a.a),i=n.getFocusedCodeEditor()||n.getActiveCodeEditor();if(i)return i.invokeWithinContext(e=>{if(e.get(p.b).contextMatchesRules(Object(b.n)(this.precondition)))return this.runEditorCommand(e,i,t)})}}class C extends y{constructor(e){super(C.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function n(t){return t.menuId||(t.menuId=h.b.EditorContext),t.title||(t.title=e.label),t.when=p.a.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})}reportTelemetry(e,t){e.get(f.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class x extends C{constructor(e){super(e),this._implementations=[]}runEditorCommand(e,t,n){this.reportTelemetry(e,t);for(const t of this._implementations)if(t[1](e,n))return;return this.run(e,t,n||{})}}function S(e,t){u.a.registerCommand(e,(e,n)=>t(e,n||{}))}function k(e,t){S(e,(function(e,n){const{resource:i,position:o}=n;if(!(i instanceof s.a))throw Object(r.b)("resource");if(!l.a.isIPosition(o))throw Object(r.b)("position");const a=e.get(c.a).getModel(i);if(a){const e=l.a.lift(o);return t(a,e,n)}return e.get(d.a).createModelReference(i).then(e=>new Promise((i,r)=>{try{i(t(e.object.textEditorModel,l.a.lift(o),n))}catch(e){r(e)}}).finally(()=>{e.dispose()}))}))}function E(e,t){u.a.registerCommand(e,(function(e,...n){const[i,o]=n;Object(b.b)(s.a.isUri(i)),Object(b.b)(l.a.isIPosition(o));const r=e.get(c.a).getModel(i);if(r){const e=l.a.lift(o);return t(r,e,...n.slice(2))}return e.get(d.a).createModelReference(i).then(e=>new Promise((i,r)=>{try{i(t(e.object.textEditorModel,l.a.lift(o),n.slice(2)))}catch(e){r(e)}}).finally(()=>{e.dispose()}))}))}function T(e,t){u.a.registerCommand(e,(function(e,...n){const[i]=n;Object(b.b)(s.a.isUri(i));const o=e.get(c.a).getModel(i);return o?t(o,...n.slice(1)):e.get(d.a).createModelReference(i).then(e=>new Promise((i,o)=>{try{i(t(e.object.textEditorModel,n.slice(1)))}catch(e){o(e)}}).finally(()=>{e.dispose()}))}))}function L(e){return A.INSTANCE.registerEditorCommand(e),e}function N(e){const t=new e;return A.INSTANCE.registerEditorAction(t),t}function I(e){return A.INSTANCE.registerEditorAction(e),e}function O(e){A.INSTANCE.registerEditorAction(e)}function D(e,t){A.INSTANCE.registerEditorContribution(e,t)}!function(e){e.getEditorCommand=function(e){return A.INSTANCE.getEditorCommand(e)},e.getEditorActions=function(){return A.INSTANCE.getEditorActions()},e.getEditorContributions=function(){return A.INSTANCE.getEditorContributions()},e.getSomeEditorContributions=function(e){return A.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},e.getDiffEditorContributions=function(){return A.INSTANCE.getDiffEditorContributions()}}(i||(i={}));class A{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function R(e){return e.register(),e}A.INSTANCE=new A,g.a.add("editor.contributions",A.INSTANCE);const M=R(new v({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:h.b.MenubarEditMenu,group:"1_do",title:o.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:h.b.CommandPalette,group:"",title:o.a("undo","Undo"),order:1}]}));R(new w(M,{id:"default:undo",precondition:void 0}));const P=R(new v({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:h.b.MenubarEditMenu,group:"1_do",title:o.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:h.b.CommandPalette,group:"",title:o.a("redo","Redo"),order:1}]}));R(new w(P,{id:"default:redo",precondition:void 0}));const F=R(new v({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:h.b.MenubarSelectionMenu,group:"1_basic",title:o.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:h.b.CommandPalette,group:"",title:o.a("selectAll","Select All"),order:1}]}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"gc",(function(){return h})),n.d(t,"ab",(function(){return u})),n.d(t,"Y",(function(){return p})),n.d(t,"bb",(function(){return m})),n.d(t,"Z",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"b",(function(){return b})),n.d(t,"rc",(function(){return _})),n.d(t,"qc",(function(){return v})),n.d(t,"uc",(function(){return w})),n.d(t,"fb",(function(){return y})),n.d(t,"hb",(function(){return C})),n.d(t,"gb",(function(){return x})),n.d(t,"db",(function(){return S})),n.d(t,"cb",(function(){return k})),n.d(t,"eb",(function(){return E})),n.d(t,"lb",(function(){return T})),n.d(t,"nb",(function(){return L})),n.d(t,"mb",(function(){return N})),n.d(t,"ob",(function(){return I})),n.d(t,"qb",(function(){return O})),n.d(t,"pb",(function(){return D})),n.d(t,"ib",(function(){return A})),n.d(t,"kb",(function(){return R})),n.d(t,"jb",(function(){return M})),n.d(t,"f",(function(){return W})),n.d(t,"e",(function(){return z})),n.d(t,"g",(function(){return B})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return V})),n.d(t,"ic",(function(){return U})),n.d(t,"kc",(function(){return H})),n.d(t,"lc",(function(){return q})),n.d(t,"jc",(function(){return $})),n.d(t,"cc",(function(){return K})),n.d(t,"u",(function(){return G})),n.d(t,"t",(function(){return Y})),n.d(t,"T",(function(){return Z})),n.d(t,"S",(function(){return X})),n.d(t,"L",(function(){return Q})),n.d(t,"K",(function(){return J})),n.d(t,"D",(function(){return ee})),n.d(t,"C",(function(){return te})),n.d(t,"s",(function(){return ne})),n.d(t,"B",(function(){return ie})),n.d(t,"U",(function(){return oe})),n.d(t,"W",(function(){return re})),n.d(t,"V",(function(){return se})),n.d(t,"X",(function(){return ae})),n.d(t,"dc",(function(){return le})),n.d(t,"ec",(function(){return ce})),n.d(t,"fc",(function(){return de})),n.d(t,"Yb",(function(){return he})),n.d(t,"Xb",(function(){return ue})),n.d(t,"O",(function(){return pe})),n.d(t,"P",(function(){return me})),n.d(t,"J",(function(){return ge})),n.d(t,"Q",(function(){return fe})),n.d(t,"R",(function(){return be})),n.d(t,"v",(function(){return _e})),n.d(t,"x",(function(){return ve})),n.d(t,"z",(function(){return we})),n.d(t,"w",(function(){return ye})),n.d(t,"y",(function(){return Ce})),n.d(t,"A",(function(){return xe})),n.d(t,"H",(function(){return Se})),n.d(t,"E",(function(){return ke})),n.d(t,"G",(function(){return Ee})),n.d(t,"F",(function(){return Te})),n.d(t,"I",(function(){return Le})),n.d(t,"r",(function(){return Ne})),n.d(t,"N",(function(){return Ie})),n.d(t,"M",(function(){return Oe})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return Ae})),n.d(t,"n",(function(){return Re})),n.d(t,"p",(function(){return Me})),n.d(t,"o",(function(){return Pe})),n.d(t,"q",(function(){return Fe})),n.d(t,"l",(function(){return We})),n.d(t,"m",(function(){return ze})),n.d(t,"xb",(function(){return Be})),n.d(t,"yb",(function(){return je})),n.d(t,"rb",(function(){return Ve})),n.d(t,"sb",(function(){return Ue})),n.d(t,"Db",(function(){return He})),n.d(t,"Eb",(function(){return qe})),n.d(t,"Cb",(function(){return $e})),n.d(t,"Ab",(function(){return Ke})),n.d(t,"Bb",(function(){return Ge})),n.d(t,"tb",(function(){return Ye})),n.d(t,"zb",(function(){return Ze})),n.d(t,"ub",(function(){return Xe})),n.d(t,"wb",(function(){return Qe})),n.d(t,"vb",(function(){return Je})),n.d(t,"tc",(function(){return et})),n.d(t,"Gb",(function(){return tt})),n.d(t,"Hb",(function(){return nt})),n.d(t,"Fb",(function(){return it})),n.d(t,"Kb",(function(){return ot})),n.d(t,"Ib",(function(){return rt})),n.d(t,"Jb",(function(){return st})),n.d(t,"Lb",(function(){return at})),n.d(t,"oc",(function(){return lt})),n.d(t,"pc",(function(){return ct})),n.d(t,"mc",(function(){return dt})),n.d(t,"nc",(function(){return ht})),n.d(t,"Vb",(function(){return ut})),n.d(t,"Wb",(function(){return pt})),n.d(t,"Ob",(function(){return mt})),n.d(t,"Pb",(function(){return gt})),n.d(t,"Nb",(function(){return ft})),n.d(t,"Tb",(function(){return bt})),n.d(t,"Mb",(function(){return _t})),n.d(t,"Rb",(function(){return vt})),n.d(t,"Sb",(function(){return wt})),n.d(t,"Qb",(function(){return yt})),n.d(t,"Zb",(function(){return Ct})),n.d(t,"bc",(function(){return xt})),n.d(t,"ac",(function(){return St})),n.d(t,"i",(function(){return kt})),n.d(t,"sc",(function(){return Tt})),n.d(t,"Ub",(function(){return Lt})),n.d(t,"hc",(function(){return It}));var i=n(56),o=n(16),r=n(6),s=n(0),a=n(188),l=n(20);const c={ColorContribution:"base.contributions.colors"};const d=new class{constructor(){this._onDidChangeSchema=new r.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,n,i=!1,o){let r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;let s={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e}resolveDefaultColor(e,t){const n=this.colorsById[e];if(n&&n.defaults){return It(n.defaults[t.type],t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{let n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function h(e,t,n,i,o){return d.registerColor(e,t,n,i,o)}i.a.add(c.ColorContribution,d);const u=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),p=h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},s.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),m=h("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},s.a("iconForeground","The default color for icons in the workbench.")),g=h("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},s.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),f=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),b=h("contrastActiveBorder",{light:null,dark:null,hc:g},s.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),_=h("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.a("textLinkForeground","Foreground color for links in text.")),v=h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.a.black},s.a("textCodeBlockBackground","Background color for code blocks in text.")),w=h("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},s.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),y=h("input.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("inputBoxBackground","Input box background.")),C=h("input.foreground",{dark:u,light:u,hc:u},s.a("inputBoxForeground","Input box foreground.")),x=h("input.border",{dark:null,light:null,hc:f},s.a("inputBoxBorder","Input box border.")),S=h("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:f},s.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),k=h("inputOption.activeBackground",{dark:Tt(g,.4),light:Tt(g,.2),hc:o.a.transparent},s.a("inputOption.activeBackground","Background color of activated options in input fields.")),E=h("inputOption.activeForeground",{dark:o.a.white,light:o.a.black,hc:null},s.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),T=h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),L=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),N=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:f},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),I=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),O=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},s.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),D=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:f},s.a("inputValidationWarningBorder","Input validation border color for warning severity.")),A=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.a.black},s.a("inputValidationErrorBackground","Input validation background color for error severity.")),R=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},s.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),M=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:f},s.a("inputValidationErrorBorder","Input validation border color for error severity.")),P=h("dropdown.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("dropdownBackground","Dropdown background.")),F=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:o.a.white},s.a("dropdownForeground","Dropdown foreground.")),W=h("button.foreground",{dark:o.a.white,light:o.a.white,hc:o.a.white},s.a("buttonForeground","Button foreground color.")),z=h("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},s.a("buttonBackground","Button background color.")),B=h("button.hoverBackground",{dark:Et(z,.2),light:kt(z,.2),hc:null},s.a("buttonHoverBackground","Button background color when hovering.")),j=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:o.a.black},s.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),V=h("badge.foreground",{dark:o.a.white,light:"#333",hc:o.a.white},s.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),U=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),H=h("scrollbarSlider.background",{dark:o.a.fromHex("#797979").transparent(.4),light:o.a.fromHex("#646464").transparent(.4),hc:Tt(f,.6)},s.a("scrollbarSliderBackground","Scrollbar slider background color.")),q=h("scrollbarSlider.hoverBackground",{dark:o.a.fromHex("#646464").transparent(.7),light:o.a.fromHex("#646464").transparent(.7),hc:Tt(f,.8)},s.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),$=h("scrollbarSlider.activeBackground",{dark:o.a.fromHex("#BFBFBF").transparent(.4),light:o.a.fromHex("#000000").transparent(.6),hc:f},s.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),K=h("progressBar.background",{dark:o.a.fromHex("#0E70C0"),light:o.a.fromHex("#0E70C0"),hc:f},s.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),G=h("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},s.a("editorError.foreground","Foreground color of error squigglies in the editor.")),Y=h("editorError.border",{dark:null,light:null,hc:o.a.fromHex("#E47777").transparent(.8)},s.a("errorBorder","Border color of error boxes in the editor.")),Z=h("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},s.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),X=h("editorWarning.border",{dark:null,light:null,hc:o.a.fromHex("#FFCC00").transparent(.8)},s.a("warningBorder","Border color of warning boxes in the editor.")),Q=h("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},s.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),J=h("editorInfo.border",{dark:null,light:null,hc:o.a.fromHex("#75BEFF").transparent(.8)},s.a("infoBorder","Border color of info boxes in the editor.")),ee=h("editorHint.foreground",{dark:o.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},s.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),te=h("editorHint.border",{dark:null,light:null,hc:o.a.fromHex("#eeeeee").transparent(.8)},s.a("hintBorder","Border color of hint boxes in the editor.")),ne=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:o.a.black},s.a("editorBackground","Editor background color.")),ie=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:o.a.white},s.a("editorForeground","Editor default foreground color.")),oe=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},s.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),re=h("editorWidget.foreground",{dark:u,light:u,hc:u},s.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),se=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:f},s.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),ae=h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},s.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),le=h("quickInput.background",{dark:oe,light:oe,hc:oe},s.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),ce=h("quickInput.foreground",{dark:re,light:re,hc:re},s.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),de=h("quickInputTitle.background",{dark:new o.a(new o.c(255,255,255,.105)),light:new o.a(new o.c(0,0,0,.06)),hc:"#000000"},s.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),he=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:o.a.white},s.a("pickerGroupForeground","Quick picker color for grouping labels.")),ue=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:o.a.white},s.a("pickerGroupBorder","Quick picker color for grouping borders.")),pe=h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},s.a("editorSelectionBackground","Color of the editor selection.")),me=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},s.a("editorSelectionForeground","Color of the selected text for high contrast.")),ge=h("editor.inactiveSelectionBackground",{light:Tt(pe,.5),dark:Tt(pe,.5),hc:Tt(pe,.5)},s.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),fe=h("editor.selectionHighlightBackground",{light:Nt(pe,ne,.3,.6),dark:Nt(pe,ne,.3,.6),hc:null},s.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),be=h("editor.selectionHighlightBorder",{light:null,dark:null,hc:b},s.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),_e=h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},s.a("editorFindMatch","Color of the current search match.")),ve=h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},s.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),we=h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},s.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ye=h("editor.findMatchBorder",{light:null,dark:null,hc:b},s.a("editorFindMatchBorder","Border color of the current search match.")),Ce=h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:b},s.a("findMatchHighlightBorder","Border color of the other search matches.")),xe=h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Tt(b,.4)},s.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Se=h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},s.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),ke=h("editorHoverWidget.background",{light:oe,dark:oe,hc:oe},s.a("hoverBackground","Background color of the editor hover.")),Ee=h("editorHoverWidget.foreground",{light:re,dark:re,hc:re},s.a("hoverForeground","Foreground color of the editor hover.")),Te=h("editorHoverWidget.border",{light:se,dark:se,hc:se},s.a("hoverBorder","Border color of the editor hover.")),Le=h("editorHoverWidget.statusBarBackground",{dark:Et(ke,.2),light:kt(ke,.05),hc:oe},s.a("statusBarBackground","Background color of the editor hover status bar.")),Ne=h("editorLink.activeForeground",{dark:"#4E94CE",light:o.a.blue,hc:o.a.cyan},s.a("activeLinkForeground","Color of active links.")),Ie=h("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},s.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),Oe=h("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},s.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),De=new o.a(new o.c(155,185,85,.2)),Ae=new o.a(new o.c(255,0,0,.2)),Re=h("diffEditor.insertedTextBackground",{dark:De,light:De,hc:null},s.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Me=h("diffEditor.removedTextBackground",{dark:Ae,light:Ae,hc:null},s.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Pe=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},s.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Fe=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},s.a("diffEditorRemovedOutline","Outline color for text that got removed.")),We=h("diffEditor.border",{dark:null,light:null,hc:f},s.a("diffEditorBorder","Border color between the two text editors.")),ze=h("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},s.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),Be=h("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},s.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),je=h("list.focusForeground",{dark:null,light:null,hc:null},s.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ve=h("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},s.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ue=h("list.activeSelectionForeground",{dark:o.a.white,light:o.a.white,hc:null},s.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),He=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},s.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),qe=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},s.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),$e=h("list.inactiveFocusBackground",{dark:null,light:null,hc:null},s.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ke=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},s.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Ge=h("list.hoverForeground",{dark:null,light:null,hc:null},s.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ye=h("list.dropBackground",{dark:Be,light:Be,hc:null},s.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Ze=h("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:g},s.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Xe=h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:o.a.black},s.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Qe=h("listFilterWidget.outline",{dark:o.a.transparent,light:o.a.transparent,hc:"#f38518"},s.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Je=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:f},s.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),et=h("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},s.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),tt=h("menu.border",{dark:null,light:null,hc:f},s.a("menuBorder","Border color of menus.")),nt=h("menu.foreground",{dark:F,light:u,hc:F},s.a("menuForeground","Foreground color of menu items.")),it=h("menu.background",{dark:P,light:P,hc:P},s.a("menuBackground","Background color of menu items.")),ot=h("menu.selectionForeground",{dark:Ue,light:Ue,hc:Ue},s.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),rt=h("menu.selectionBackground",{dark:Ve,light:Ve,hc:Ve},s.a("menuSelectionBackground","Background color of the selected menu item in menus.")),st=h("menu.selectionBorder",{dark:null,light:null,hc:b},s.a("menuSelectionBorder","Border color of the selected menu item in menus.")),at=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:f},s.a("menuSeparatorBackground","Color of a separator menu item in menus.")),lt=h("editor.snippetTabstopHighlightBackground",{dark:new o.a(new o.c(124,124,124,.3)),light:new o.a(new o.c(10,50,100,.2)),hc:new o.a(new o.c(124,124,124,.3))},s.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),ct=h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},s.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),dt=h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},s.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),ht=h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.a(new o.c(10,50,100,.5)),hc:"#525252"},s.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),ut=h("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},s.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),pt=h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},s.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),mt=h("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},s.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),gt=h("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},s.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),ft=h("minimap.errorHighlight",{dark:new o.a(new o.c(255,18,18,.7)),light:new o.a(new o.c(255,18,18,.7)),hc:new o.a(new o.c(255,50,50,1))},s.a("minimapError","Minimap marker color for errors.")),bt=h("minimap.warningHighlight",{dark:Z,light:Z,hc:X},s.a("overviewRuleWarning","Minimap marker color for warnings.")),_t=h("minimap.background",{dark:null,light:null,hc:null},s.a("minimapBackground","Minimap background color.")),vt=h("minimapSlider.background",{light:Tt(H,.5),dark:Tt(H,.5),hc:Tt(H,.5)},s.a("minimapSliderBackground","Minimap slider background color.")),wt=h("minimapSlider.hoverBackground",{light:Tt(q,.5),dark:Tt(q,.5),hc:Tt(q,.5)},s.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),yt=h("minimapSlider.activeBackground",{light:Tt($,.5),dark:Tt($,.5),hc:Tt($,.5)},s.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),Ct=h("problemsErrorIcon.foreground",{dark:G,light:G,hc:G},s.a("problemsErrorIconForeground","The color used for the problems error icon.")),xt=h("problemsWarningIcon.foreground",{dark:Z,light:Z,hc:Z},s.a("problemsWarningIconForeground","The color used for the problems warning icon.")),St=h("problemsInfoIcon.foreground",{dark:Q,light:Q,hc:Q},s.a("problemsInfoIconForeground","The color used for the problems info icon."));function kt(e,t){return n=>{let i=It(e,n);if(i)return i.darken(t)}}function Et(e,t){return n=>{let i=It(e,n);if(i)return i.lighten(t)}}function Tt(e,t){return n=>{let i=It(e,n);if(i)return i.transparent(t)}}function Lt(...e){return t=>{for(let n of e){let e=It(n,t);if(e)return e}}}function Nt(e,t,n,i){return r=>{let s=It(e,r);if(s){let e=It(t,r);return e?s.isDarkerThan(e)?o.a.getLighterColor(s,e,n).transparent(i):o.a.getDarkerColor(s,e,n).transparent(i):s.transparent(n*i)}}}function It(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?o.a.fromHex(e):t.getColor(e):e instanceof o.a?e:"function"==typeof e?e(t):void 0}let Ot=i.a.as(a.a.JSONContribution);Ot.registerSchema("vscode://schemas/workbench-colors",d.getColorSchema());const Dt=new l.d(()=>Ot.notifySchemaChanged("vscode://schemas/workbench-colors"),200);d.onDidChangeSchema(()=>{Dt.isScheduled()||Dt.schedule()})},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d}));var i,o=n(13),r=n(2),s=n(53);!function(e){function t(e){return(t,n=null,i)=>{let o,r=!1;return o=e(e=>{if(!r)return o?o.dispose():r=!0,t.call(n,e)},null,i),r&&o.dispose(),o}}function n(e,t){return l((n,i=null,o)=>e(e=>n.call(i,t(e)),null,o))}function i(e,t){return l((n,i=null,o)=>e(e=>{t(e),n.call(i,e)},null,o))}function o(e,t){return l((n,i=null,o)=>e(e=>t(e)&&n.call(i,e),null,o))}function s(e,t,i){let o=i;return n(e,e=>(o=t(o,e),o))}function l(e){let t;const n=new a({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,i=!1,o){let r,s=void 0,l=void 0,c=0;const d=new a({leakWarningThreshold:o,onFirstListenerAdd(){r=e(e=>{c++,s=t(s,e),i&&!l&&(d.fire(s),s=void 0),clearTimeout(l),l=setTimeout(()=>{const e=s;s=void 0,l=void 0,(!i||c>1)&&d.fire(e),c=0},n)})},onLastListenerRemove(){r.dispose()}});return d.event}function d(e){let t,n=!0;return o(e,e=>{const i=n||e!==t;return n=!1,t=e,i})}e.None=()=>r.a.None,e.once=t,e.map=n,e.forEach=i,e.filter=o,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>Object(r.e)(...e.map(e=>e(e=>t.call(n,e),null,i)))},e.reduce=s,e.snapshot=l,e.debounce=c,e.stopwatch=function(e){const i=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-i)},e.latch=d,e.buffer=function(e,t=!1,n=[]){let i=n.slice(),o=e(e=>{i?i.push(e):s.fire(e)});const r=()=>{i&&i.forEach(e=>s.fire(e)),i=null},s=new a({onFirstListenerAdd(){o||(o=e(e=>s.fire(e)))},onFirstListenerDidAdd(){i&&(t?setTimeout(r):r())},onLastListenerRemove(){o&&o.dispose(),o=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(i(this.event,e))}filter(e){return new h(o(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(d(this.event))}debounce(e,t=100,n=!1,i){return new h(c(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>o.fire(n(...e)),o=new a({onFirstListenerAdd:()=>e.on(t,i),onLastListenerRemove:()=>e.removeListener(t,i)});return o.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>o.fire(n(...e)),o=new a({onFirstListenerAdd:()=>e.addEventListener(t,i),onLastListenerRemove:()=>e.removeEventListener(t,i)});return o.event},e.fromPromise=function(e){const t=new a;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(i||(i={}));class a{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const i=this._listeners.isEmpty();i&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e);let l,c;return i&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(l&&l(),c.dispose=a._noop,!this._disposed&&(o(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof r.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(o.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}a._noop=function(){};class l extends a{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e(e=>{const i=this.buffers[this.buffers.length-1];i?i.push(()=>t.call(n,e)):t.call(n,e)},void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class d{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=r.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i,o=n(10);!function(e){e.editorSimpleInput=new o.c("editorSimpleInput",!1),e.editorTextFocus=new o.c("editorTextFocus",!1),e.focus=new o.c("editorFocus",!1),e.textInputFocus=new o.c("textInputFocus",!1),e.readOnly=new o.c("editorReadonly",!1),e.columnSelection=new o.c("editorColumnSelection",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new o.c("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new o.c("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new o.c("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInWalkThroughSnippet=new o.c("isInEmbeddedEditor",!1),e.canUndo=new o.c("canUndo",!1),e.canRedo=new o.c("canRedo",!1),e.hoverVisible=new o.c("editorHoverVisible",!1),e.inCompositeEditor=new o.c("inCompositeEditor",void 0),e.notInCompositeEditor=e.inCompositeEditor.toNegated(),e.languageId=new o.c("editorLangId",""),e.hasCompletionItemProvider=new o.c("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new o.c("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new o.c("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new o.c("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new o.c("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new o.c("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new o.c("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new o.c("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new o.c("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new o.c("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new o.c("editorHasReferenceProvider",!1),e.hasRenameProvider=new o.c("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new o.c("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new o.c("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new o.c("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new o.c("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new o.c("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(i||(i={}))},function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}function o(e,t,n="0"){const i=""+e,o=[i];for(let e=i.length;e<t;e++)o.push(n);return o.reverse().join("")}n.d(t,"D",(function(){return i})),n.d(t,"M",(function(){return o})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return a})),n.d(t,"v",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return d})),n.d(t,"Q",(function(){return h})),n.d(t,"p",(function(){return u})),n.d(t,"V",(function(){return p})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"P",(function(){return b})),n.d(t,"O",(function(){return _})),n.d(t,"w",(function(){return v})),n.d(t,"z",(function(){return w})),n.d(t,"J",(function(){return y})),n.d(t,"f",(function(){return C})),n.d(t,"h",(function(){return x})),n.d(t,"g",(function(){return S})),n.d(t,"i",(function(){return k})),n.d(t,"H",(function(){return E})),n.d(t,"I",(function(){return T})),n.d(t,"t",(function(){return N})),n.d(t,"T",(function(){return O})),n.d(t,"d",(function(){return D})),n.d(t,"e",(function(){return A})),n.d(t,"F",(function(){return R})),n.d(t,"G",(function(){return M})),n.d(t,"j",(function(){return P})),n.d(t,"A",(function(){return F})),n.d(t,"L",(function(){return z})),n.d(t,"N",(function(){return B})),n.d(t,"r",(function(){return j})),n.d(t,"m",(function(){return U})),n.d(t,"k",(function(){return q})),n.d(t,"B",(function(){return K})),n.d(t,"a",(function(){return G})),n.d(t,"n",(function(){return Y})),n.d(t,"l",(function(){return Z})),n.d(t,"E",(function(){return X})),n.d(t,"C",(function(){return Q})),n.d(t,"b",(function(){return J})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return ie})),n.d(t,"c",(function(){return oe}));const r=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(r,(function(e,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return h(d(e,t),t)}function d(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function h(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let o=i,r=-1;for(;r=e.lastIndexOf(t,o-1),-1!==r&&r+n===o;){if(0===r)return"";o=r}return e.substring(0,o)}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function g(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function f(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function w(e,t=0,n=e.length){for(let i=t;i<n;i++){const n=e.charCodeAt(i);if(32!==n&&9!==n)return e.substring(t,i)}return e.substring(t,n)}function y(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function C(e,t){return e<t?-1:e>t?1:0}function x(e,t,n=0,i=e.length,o=0,r=t.length){for(;n<i&&o<r;n++,o++){let i=e.charCodeAt(n),r=t.charCodeAt(o);if(i<r)return-1;if(i>r)return 1}const s=i-n,a=r-o;return s<a?-1:s>a?1:0}function S(e,t){return k(e,t,0,e.length,0,t.length)}function k(e,t,n=0,i=e.length,o=0,r=t.length){for(;n<i&&o<r;n++,o++){let s=e.charCodeAt(n),a=t.charCodeAt(o);if(s===a)continue;const l=s-a;if((32!==l||!T(a))&&(-32!==l||!T(s)))return E(s)&&E(a)?l:x(e.toLowerCase(),t.toLowerCase(),n,i,o,r)}const s=i-n,a=r-o;return s<a?-1:s>a?1:0}function E(e){return e>=97&&e<=122}function T(e){return e>=65&&e<=90}function L(e){return E(e)||T(e)}function N(e,t){return e.length===t.length&&I(e,t)}function I(e,t,n=e.length){for(let i=0;i<n;i++){const n=e.charCodeAt(i),o=t.charCodeAt(i);if(n!==o)if(L(n)&&L(o)){const e=Math.abs(n-o);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(o).toLowerCase())return!1}return!0}function O(e,t){const n=t.length;return!(t.length>e.length)&&I(e,t,n)}function D(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function A(e,t){let n,i=Math.min(e.length,t.length);const o=e.length-1,r=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(o-n)!==t.charCodeAt(r-n))return n;return i}function R(e){return 55296<=e&&e<=56319}function M(e){return 56320<=e&&e<=57343}function P(e,t){return t-56320+(e-55296<<10)+65536}function F(e,t,n){const i=e.charCodeAt(n);if(R(i)&&n+1<t){const t=e.charCodeAt(n+1);if(M(t))return P(i,t)}return i}function W(e,t){const n=e.charCodeAt(t-1);if(M(n)&&t>1){const i=e.charCodeAt(t-2);if(R(i))return P(i,n)}return n}function z(e,t){const n=re.getInstance(),i=t,o=e.length,r=F(e,o,t);t+=r>=65536?2:1;let s=n.getGraphemeBreakType(r);for(;t<o;){const i=F(e,o,t),r=n.getGraphemeBreakType(i);if(oe(s,r))break;t+=i>=65536?2:1,s=r}return t-i}function B(e,t){const n=re.getInstance(),i=t,o=W(e,t);t-=o>=65536?2:1;let r=n.getGraphemeBreakType(o);for(;t>0;){const i=W(e,t),o=n.getGraphemeBreakType(i);if(oe(o,r))break;t-=i>=65536?2:1,r=o}return i-t}function j(e){const t=e.byteLength,n=[];let i=0;for(;i<t;){const o=e[i];let r;if(r=o>=240&&i+3<t?(7&e[i++])<<18>>>0|(63&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:o>=224&&i+2<t?(15&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:o>=192&&i+1<t?(31&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:e[i++],r>=0&&r<=55295||r>=57344&&r<=65535)n.push(String.fromCharCode(r));else if(r>=65536&&r<=1114111){const e=r-65536,t=55296+((1047552&e)>>>10),i=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(i))}else n.push(String.fromCharCode(65533))}return n.join("")}const V=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function U(e){return V.test(e)}const H=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function q(e){return H.test(e)}const $=/^[\t\n\r\x20-\x7E]*$/;function K(e){return $.test(e)}const G=/[\u2028\u2029]/;function Y(e){return G.test(e)}function Z(e){for(let t=0,n=e.length;t<n;t++)if(X(e.charCodeAt(t)))return!0;return!1}function X(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const J=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ie(e){return re.getInstance().getGraphemeBreakType(e)}function oe(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class re{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return re._INSTANCE||(re._INSTANCE=new re),re._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}re._INSTANCE=null},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return i.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,i=0|t.lineNumber;if(n===i){return(0|e.column)-(0|t.column)}return n-i}clone(){return new i(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new i(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return S}));var i=n(8),o=n(18),r=n(11);const s=new Map;s.set("false",!1),s.set("true",!0),s.set("isMac",r.f),s.set("isLinux",r.d),s.set("isWindows",r.i),s.set("isWeb",r.h),s.set("isMacNative",r.f&&!r.h);const a=Object.prototype.hasOwnProperty;class l{static has(e){return u.create(e)}static equals(e,t){return p.create(e,t)}static regex(e,t){return _.create(e,t)}static not(e){return b.create(e)}static and(...e){return w.create(e)}static or(...e){return y.create(e)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split("||");return y.create(n.map(e=>this._deserializeAndExpression(e,t)))}static _deserializeAndExpression(e,t){let n=e.split("&&");return w.create(n.map(e=>this._deserializeOne(e,t)))}static _deserializeOne(e,t){if((e=e.trim()).indexOf("!=")>=0){let n=e.split("!=");return f.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){let n=e.split("==");return p.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){let n=e.split("=~");return _.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return m.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?b.create(e.substr(1).trim()):u.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if(Object(i.D)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let n=e.indexOf("/"),o=e.lastIndexOf("/");if(n===o||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let r=e.slice(n+1,o),s="i"===e[o+1]?"i":"";try{return new RegExp(r,s)}catch(n){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${n}`);return console.warn(`bad regexp-value '${e}', parse error: ${n}`),null}}}function c(e,t){return e.cmp(t)}class d{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}d.INSTANCE=new d;class h{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return d.INSTANCE}}h.INSTANCE=new h;class u{constructor(e){this.key=e,this.type=2}static create(e){const t=s.get(e);return"boolean"==typeof t?t?h.INSTANCE:d.INSTANCE:new u(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return b.create(this.key)}}class p{constructor(e,t){this.key=e,this.value=t,this.type=4}static create(e,t){if("boolean"==typeof t)return t?u.create(e):b.create(e);const n=s.get(e);if("boolean"==typeof n){return t===(n?"true":"false")?h.INSTANCE:d.INSTANCE}return new p(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return this.key+" == '"+this.value+"'"}keys(){return[this.key]}negate(){return f.create(this.key,this.value)}}class m{constructor(e,t){this.key=e,this.valueKey=t,this.type=10}static create(e,t){return new m(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.valueKey<e.valueKey?-1:this.valueKey>e.valueKey?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.valueKey===e.valueKey)}evaluate(e){const t=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:"string"==typeof n&&"object"==typeof t&&null!==t&&a.call(t,n)}serialize(){return this.key+" in '"+this.valueKey+"'"}keys(){return[this.key,this.valueKey]}negate(){return g.create(this)}}class g{constructor(e){this._actual=e,this.type=11}static create(e){return new g(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class f{constructor(e,t){this.key=e,this.value=t,this.type=5}static create(e,t){if("boolean"==typeof t)return t?b.create(e):u.create(e);const n=s.get(e);if("boolean"==typeof n){return t===(n?"true":"false")?d.INSTANCE:h.INSTANCE}return new f(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return this.key+" != '"+this.value+"'"}keys(){return[this.key]}negate(){return p.create(this.key,this.value)}}class b{constructor(e){this.key=e,this.type=3}static create(e){const t=s.get(e);return"boolean"==typeof t?t?d.INSTANCE:h.INSTANCE:new b(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return u.create(this.key)}}class _{constructor(e,t){this.key=e,this.regexp=t,this.type=7}static create(e,t){return new _(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return v.create(this)}}class v{constructor(e){this._actual=e,this.type=8}static create(e){return new v(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class w{constructor(e){this.expr=e,this.type=6}static create(e){return w._normalizeArr(e)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=c(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e){const t=[];let n=!1;for(const i of e)if(i)if(1!==i.type){if(0===i.type)return d.INSTANCE;6!==i.type?t.push(i):t.push(...i.expr)}else n=!0;if(0===t.length&&n)return h.INSTANCE;if(0!==t.length){if(1===t.length)return t[0];for(t.sort(c);t.length>1;){const e=t[t.length-1];if(9!==e.type)break;t.pop();const n=t.pop(),i=y.create(e.expr.map(e=>w.create([e,n])));i&&(t.push(i),t.sort(c))}return new w(t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());return y.create(e)}}class y{constructor(e){this.expr=e,this.type=9}static create(e){const t=y._normalizeArr(e);if(0!==t.length)return 1===t.length?t[0]:new y(t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=c(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e){let t=[],n=!1;if(e){for(let i=0,o=e.length;i<o;i++){const o=e[i];if(o)if(0!==o.type){if(1===o.type)return[h.INSTANCE];9!==o.type?t.push(o):t=t.concat(o.expr)}else n=!0}if(0===t.length&&n)return[d.INSTANCE];t.sort(c)}return t}serialize(){return this.expr.map(e=>e.serialize()).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());const t=e=>9===e.type?e.expr:[e];for(;e.length>1;){const n=e.shift(),i=e.shift(),o=[];for(const e of t(n))for(const n of t(i))o.push(l.and(e,n));e.unshift(l.or(...o))}return e[0]}}class C extends u{constructor(e,t){super(e),this._defaultValue=t}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return l.not(this.key)}}const x=Object(o.c)("contextKeyService"),S="setContext"},function(e,t,n){"use strict";(function(e,i){n.d(t,"i",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return w})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"j",(function(){return x})),n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return T}));let o=!1,r=!1,s=!1,a=!1,l=!1,c=!1,d=void 0,h="en",u=void 0,p=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){o="win32"===e.platform,r="darwin"===e.platform,s="linux"===e.platform,d="en",h="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];d=e.locale,h=n||"en",u=e._translationsConfigFile}catch(e){}a=!0}}else p=navigator.userAgent,o=p.indexOf("Windows")>=0,r=p.indexOf("Macintosh")>=0,c=(p.indexOf("Macintosh")>=0||p.indexOf("iPad")>=0||p.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=p.indexOf("Linux")>=0,l=!0,d=navigator.language,h=d;let g=0;r?g=1:o?g=3:s&&(g=2);const f=o,b=r,_=s,v=a,w=l,y=c,C="object"==typeof self?self:"object"==typeof i?i:{},x=function(){if(C.setImmediate)return C.setImmediate.bind(C);if("function"==typeof C.postMessage&&!C.importScripts){let e=[];C.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),C.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),S=r||c?2:o?1:3;let k=!0,E=!1;function T(){if(!E){E=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);k=513===t[0]}return k}}).call(this,n(86),n(137))},function(e,t,n){"use strict";n.d(t,"r",(function(){return m})),n.d(t,"B",(function(){return g})),n.d(t,"F",(function(){return f})),n.d(t,"E",(function(){return b})),n.d(t,"z",(function(){return _})),n.d(t,"h",(function(){return v})),n.d(t,"G",(function(){return y})),n.d(t,"A",(function(){return w})),n.d(t,"n",(function(){return C})),n.d(t,"v",(function(){return x})),n.d(t,"w",(function(){return S})),n.d(t,"d",(function(){return k})),n.d(t,"y",(function(){return E})),n.d(t,"p",(function(){return T})),n.d(t,"m",(function(){return L})),n.d(t,"i",(function(){return N})),n.d(t,"u",(function(){return I})),n.d(t,"f",(function(){return O})),n.d(t,"e",(function(){return D})),n.d(t,"q",(function(){return A})),n.d(t,"D",(function(){return R})),n.d(t,"b",(function(){return M})),n.d(t,"a",(function(){return P})),n.d(t,"g",(function(){return F})),n.d(t,"j",(function(){return W})),n.d(t,"t",(function(){return z})),n.d(t,"s",(function(){return B})),n.d(t,"c",(function(){return j})),n.d(t,"x",(function(){return V})),n.d(t,"o",(function(){return U})),n.d(t,"l",(function(){return H})),n.d(t,"k",(function(){return q})),n.d(t,"C",(function(){return $}));var i=n(23),o=n(3),r=n(6),s=n(2),a=n(187),l=n(42);function c(e,t,n,i){if(Array.isArray(e)){let o=0;for(const r of e){const e=c(r,t,n,i);if(10===e)return e;e>o&&(o=e)}return o}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){const{language:o,pattern:r,scheme:s,hasAccessToAllModels:c}=e;if(!i&&!c)return 0;let d=0;if(s)if(s===t.scheme)d=10;else{if("*"!==s)return 0;d=5}if(o)if(o===n)d=10;else{if("*"!==o)return 0;d=Math.max(d,5)}if(r){let e;if(e="string"==typeof r?r:Object.assign(Object.assign({},r),{base:Object(l.d)(r.base)}),e!==t.fsPath&&!Object(a.a)(e,t.fsPath))return 0;d=10}return d}return 0}var d=n(64);function h(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(h):!!e.exclusive)}class u{constructor(){this._clock=0,this._entries=[],this._onDidChange=new r.a}get onDidChange(){return this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.h)(()=>{if(n){let e=this._entries.indexOf(n);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){const t=[];let n,i;return this._orderedForEach(e,e=>{n&&i===e._score?n.push(e.provider):(i=e._score,n=[e.provider],t.push(n))}),t}_orderedForEach(e,t){if(e){this._updateScores(e);for(const e of this._entries)e._score>0&&t(e)}}_updateScores(e){let t={uri:e.uri.toString(),language:e.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==t.language||this._lastCandidate.uri!==t.uri){this._lastCandidate=t;for(let t of this._entries)if(t._score=c(t.selector,e.uri,e.getLanguageIdentifier().language,Object(d.b)(e)),h(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(u._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}var p=n(17);class m{constructor(e,t){this.language=e,this.id=t}}class g{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(1792&e)>>>8}static getFontStyle(e){return(14336&e)>>>11}static getForeground(e){return(8372224&e)>>>14}static getBackground(e){return(4286578688&e)>>>23}static getClassNameFromMetadata(e){let t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),i=this.getFontStyle(e);let o=`color: ${t[n]};`;return 1&i&&(o+="font-style: italic;"),2&i&&(o+="font-weight: bold;"),4&i&&(o+="text-decoration: underline;"),o}}const f=function(){let e=Object.create(null);return e[0]="symbol-method",e[1]="symbol-function",e[2]="symbol-constructor",e[3]="symbol-field",e[4]="symbol-variable",e[5]="symbol-class",e[6]="symbol-struct",e[7]="symbol-interface",e[8]="symbol-module",e[9]="symbol-property",e[10]="symbol-event",e[11]="symbol-operator",e[12]="symbol-unit",e[13]="symbol-value",e[14]="symbol-constant",e[15]="symbol-enum",e[16]="symbol-enum-member",e[17]="symbol-keyword",e[27]="symbol-snippet",e[18]="symbol-text",e[19]="symbol-color",e[20]="symbol-file",e[21]="symbol-reference",e[22]="symbol-customcolor",e[23]="symbol-folder",e[24]="symbol-type-parameter",e[25]="account",e[26]="issues",function(t){const n=e[t];let i=n&&p.c.get(n);return i||(console.info("No codicon found for CompletionItemKind "+t),i=p.a.symbolProperty),i.classNames}}();let b=function(){let e=Object.create(null);return e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=27,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,e.account=25,e.issue=26,function(t,n){let i=e[t];return void 0!==i||n||(i=9),i}}();var _,v,w;function y(e){return e&&i.a.isUri(e.uri)&&o.a.isIRange(e.range)&&(o.a.isIRange(e.originSelectionRange)||o.a.isIRange(e.targetSelectionRange))}!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(_||(_={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(v||(v={})),function(e){const t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);const n=new Map;n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=function(e){return t.get(e)},e.toString=function(e){return n.get(e)},e.toCssClassName=function(e,t){const i=n.get(e);let o=i&&p.c.get("symbol-"+i);return o||(console.info("No codicon found for SymbolKind "+e),o=p.a.symbolProperty),`${t?"inline":"block"} ${o.classNames}`}}(w||(w={}));class C{constructor(e){this.value=e}}C.Comment=new C("comment"),C.Imports=new C("imports"),C.Region=new C("region");const x=new u,S=new u,k=new u,E=new u,T=new u,L=new u,N=new u,I=new u,O=new u,D=new u,A=new u,R=new u,M=new u,P=new u,F=new u,W=new u,z=new u,B=new u,j=new u,V=new u,U=new u,H=new u,q=new u,$=new class{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new r.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),Object(s.h)(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let n=null,i=!1;return this._promises.set(e,t.then(t=>{this._promises.delete(e),!i&&t&&(n=this.register(e,t))})),Object(s.h)(()=>{i=!0,n&&n.dispose()})}getPromise(e){const t=this.get(e);if(t)return Promise.resolve(t);const n=this._promises.get(e);return n?n.then(t=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));const i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function o(e){a(e)||i.onUnexpectedError(e)}function r(e){a(e)||i.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function a(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function d(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},function(e,t,n){"use strict";function i(e){return Array.isArray(e)}function o(e){return"string"==typeof e}function r(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function d(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function p(e,t){const n=Math.min(e.length,t.length);for(let i=0;i<n;i++)m(e[i],t[i])}function m(e,t){if(o(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(u(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function f(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const t of e)i[t]=n(t);return i}function b(e){return null===e?void 0:e}n.d(t,"e",(function(){return i})),n.d(t,"j",(function(){return o})),n.d(t,"i",(function(){return r})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"g",(function(){return u})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"n",(function(){return b}))},function(e,t,n){"use strict";function i(e,t=0){return e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,o=e.length;i<o;i++)if(!n(e[i],t[i]))return!1;return!0}function s(e,t,n){let i=0,o=e.length-1;for(;i<=o;){const r=(i+o)/2|0,s=n(e[r],t);if(s<0)i=r+1;else{if(!(s>0))return r;o=r-1}}return-(i+1)}function a(e,t){let n=0,i=e.length;if(0===i)return 0;for(;n<i;){const o=Math.floor((n+i)/2);t(e[o])?i=o:n=o+1}return n}function l(e,t){return function e(t,n,i,o,r){if(o<=i)return;const s=i+(o-i)/2|0;if(e(t,n,i,s,r),e(t,n,s+1,o,r),n(t[s],t[s+1])<=0)return;!function(e,t,n,i,o,r){let s=n,a=i+1;for(let t=n;t<=o;t++)r[t]=e[t];for(let l=n;l<=o;l++)s>i?e[l]=r[a++]:a>o?e[l]=r[s++]:t(r[a],r[s])<0?e[l]=r[a++]:e[l]=r[s++]}(t,n,i,s,o,r)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let i=void 0;for(const o of l(e.slice(0),t))i&&0===t(i[0],o)?i.push(o):(i=[o],n.push(i));return n}function d(e){return e.filter(e=>!!e)}function h(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&e.length>0}function p(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const i=t(e);return!n[i]&&(n[i]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function g(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function f(e,t,n){const i=g(e,t);return i<0?n:e[i]}function b(e,t){return e.length>0?e[0]:t}function _(e){return[].concat(...e)}function v(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let e=n;e<t;e++)i.push(e);else for(let e=n;e>t;e--)i.push(e);return i}function w(e,t,n){const i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}function y(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function C(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function x(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return i})),n.d(t,"u",(function(){return o})),n.d(t,"g",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"p",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return f})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return _})),n.d(t,"s",(function(){return v})),n.d(t,"a",(function(){return w})),n.d(t,"r",(function(){return y})),n.d(t,"q",(function(){return C})),n.d(t,"b",(function(){return x}))},function(e,t,n){"use strict";function i(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}));class o{constructor(e,t,n,o=1){this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class r{constructor(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,o=e.a,s=Math.max(t,n,i),a=Math.min(t,n,i);let l=0,c=0;const d=(a+s)/2,h=s-a;if(h>0){switch(c=Math.min(d<=.5?h/(2*d):h/(2-2*d),1),s){case t:l=(n-i)/h+(n<i?6:0);break;case n:l=(i-t)/h+2;break;case i:l=(t-n)/h+4}l*=60,l=Math.round(l)}return new r(l,c,d,o)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:s}=e;let a,l,c;if(0===n)a=l=c=i;else{const e=i<.5?i*(1+n):i+n-i*n,o=2*i-e;a=r._hue2rgb(o,e,t+1/3),l=r._hue2rgb(o,e,t),c=r._hue2rgb(o,e,t-1/3)}return new o(Math.round(255*a),Math.round(255*l),Math.round(255*c),s)}}class s{constructor(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,o=Math.max(t,n,i),r=o-Math.min(t,n,i),a=0===o?0:r/o;let l;return l=0===r?0:o===t?((n-i)/r%6+6)%6:o===n?(i-t)/r+2:(t-n)/r+4,new s(Math.round(60*l),a,o,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:r}=e,s=i*n,a=s*(1-Math.abs(t/60%2-1)),l=i-s;let[c,d,h]=[0,0,0];return t<60?(c=s,d=a):t<120?(c=a,d=s):t<180?(d=s,h=a):t<240?(d=a,h=s):t<300?(c=a,h=s):t<360&&(c=s,h=a),c=Math.round(255*(c+l)),d=Math.round(255*(d+l)),h=Math.round(255*(h+l)),new o(c,d,h,r)}}class a{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof o)this.rgba=e;else if(e instanceof r)this._hsla=e,this.rgba=r.toRGBA(e);else{if(!(e instanceof s))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=s.toRGBA(e)}}static fromHex(e){return a.Format.CSS.parseHex(e)||a.red}get hsla(){return this._hsla?this._hsla:r.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:s.fromRGBA(this.rgba)}equals(e){return!!e&&o.equals(this.rgba,e.rgba)&&r.equals(this.hsla,e.hsla)&&s.equals(this.hsva,e.hsva)}getRelativeLuminance(){return i(.2126*a._relativeLuminanceForComponent(this.rgba.r)+.7152*a._relativeLuminanceForComponent(this.rgba.g)+.0722*a._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()<e.getRelativeLuminance()}lighten(e){return new a(new r(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new a(new r(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:i,a:r}=this.rgba;return new a(new o(t,n,i,r*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new a(new o(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return""+a.Format.CSS.format(this)}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),o=t.getRelativeLuminance();return n=n*(o-i)/o,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;const i=e.getRelativeLuminance();return n=n*(i-t.getRelativeLuminance())/i,e.darken(n)}}a.white=new a(new o(255,255,255,1)),a.black=new a(new o(0,0,0,1)),a.red=new a(new o(255,0,0,1)),a.blue=new a(new o(0,0,255,1)),a.cyan=new a(new o(0,255,255,1)),a.lightgrey=new a(new o(211,211,211,1)),a.transparent=new a(new o(0,0,0,0)),function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function i(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},t.formatHSL=function(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},t.formatHex=function(e){return`#${n(e.rgba.r)}${n(e.rgba.g)}${n(e.rgba.b)}`},t.formatHexA=function(t,i=!1){return i&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${n(t.rgba.r)}${n(t.rgba.g)}${n(t.rgba.b)}${n(Math.round(255*t.rgba.a))}`},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),s=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new o(n,r,s,1))}if(9===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),s=16*i(t.charCodeAt(5))+i(t.charCodeAt(6)),a=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new o(n,r,s,a/255))}if(4===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),s=i(t.charCodeAt(3));return new e(new o(16*n+n,16*r+r,16*s+s))}if(5===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),s=i(t.charCodeAt(3)),a=i(t.charCodeAt(4));return new e(new o(16*n+n,16*r+r,16*s+s,(16*a+a)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(a||(a={}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"h",(function(){return f}));var i=n(151),o=n(6);const r=new class{constructor(){this._icons=new Map,this._onDidRegister=new o.a}add(e){this._icons.has(e.id)?console.error("Duplicate registration of codicon "+e.id):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}},s=r;function a(e,t,n){return new l(e,t)}class l{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,r.add(this)}get classNames(){return"codicon codicon-"+this.id}get cssSelector(){return".codicon.codicon-"+this.id}}!function(e){e.add=new e("add",{character:"\\ea60"}),e.plus=new e("plus",{character:"\\ea60"}),e.gistNew=new e("gist-new",{character:"\\ea60"}),e.repoCreate=new e("repo-create",{character:"\\ea60"}),e.lightbulb=new e("lightbulb",{character:"\\ea61"}),e.lightBulb=new e("light-bulb",{character:"\\ea61"}),e.repo=new e("repo",{character:"\\ea62"}),e.repoDelete=new e("repo-delete",{character:"\\ea62"}),e.gistFork=new e("gist-fork",{character:"\\ea63"}),e.repoForked=new e("repo-forked",{character:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{character:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{character:"\\ea64"}),e.recordKeys=new e("record-keys",{character:"\\ea65"}),e.keyboard=new e("keyboard",{character:"\\ea65"}),e.tag=new e("tag",{character:"\\ea66"}),e.tagAdd=new e("tag-add",{character:"\\ea66"}),e.tagRemove=new e("tag-remove",{character:"\\ea66"}),e.person=new e("person",{character:"\\ea67"}),e.personAdd=new e("person-add",{character:"\\ea67"}),e.personFollow=new e("person-follow",{character:"\\ea67"}),e.personOutline=new e("person-outline",{character:"\\ea67"}),e.personFilled=new e("person-filled",{character:"\\ea67"}),e.gitBranch=new e("git-branch",{character:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{character:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{character:"\\ea68"}),e.sourceControl=new e("source-control",{character:"\\ea68"}),e.mirror=new e("mirror",{character:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{character:"\\ea69"}),e.star=new e("star",{character:"\\ea6a"}),e.starAdd=new e("star-add",{character:"\\ea6a"}),e.starDelete=new e("star-delete",{character:"\\ea6a"}),e.starEmpty=new e("star-empty",{character:"\\ea6a"}),e.comment=new e("comment",{character:"\\ea6b"}),e.commentAdd=new e("comment-add",{character:"\\ea6b"}),e.alert=new e("alert",{character:"\\ea6c"}),e.warning=new e("warning",{character:"\\ea6c"}),e.search=new e("search",{character:"\\ea6d"}),e.searchSave=new e("search-save",{character:"\\ea6d"}),e.logOut=new e("log-out",{character:"\\ea6e"}),e.signOut=new e("sign-out",{character:"\\ea6e"}),e.logIn=new e("log-in",{character:"\\ea6f"}),e.signIn=new e("sign-in",{character:"\\ea6f"}),e.eye=new e("eye",{character:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{character:"\\ea70"}),e.eyeWatch=new e("eye-watch",{character:"\\ea70"}),e.circleFilled=new e("circle-filled",{character:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{character:"\\ea71"}),e.closeDirty=new e("close-dirty",{character:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{character:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{character:"\\ea71"}),e.debugHint=new e("debug-hint",{character:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{character:"\\ea72"}),e.edit=new e("edit",{character:"\\ea73"}),e.pencil=new e("pencil",{character:"\\ea73"}),e.info=new e("info",{character:"\\ea74"}),e.issueOpened=new e("issue-opened",{character:"\\ea74"}),e.gistPrivate=new e("gist-private",{character:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{character:"\\ea75"}),e.lock=new e("lock",{character:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{character:"\\ea75"}),e.close=new e("close",{character:"\\ea76"}),e.removeClose=new e("remove-close",{character:"\\ea76"}),e.x=new e("x",{character:"\\ea76"}),e.repoSync=new e("repo-sync",{character:"\\ea77"}),e.sync=new e("sync",{character:"\\ea77"}),e.clone=new e("clone",{character:"\\ea78"}),e.desktopDownload=new e("desktop-download",{character:"\\ea78"}),e.beaker=new e("beaker",{character:"\\ea79"}),e.microscope=new e("microscope",{character:"\\ea79"}),e.vm=new e("vm",{character:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{character:"\\ea7a"}),e.file=new e("file",{character:"\\ea7b"}),e.fileText=new e("file-text",{character:"\\ea7b"}),e.more=new e("more",{character:"\\ea7c"}),e.ellipsis=new e("ellipsis",{character:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{character:"\\ea7c"}),e.mailReply=new e("mail-reply",{character:"\\ea7d"}),e.reply=new e("reply",{character:"\\ea7d"}),e.organization=new e("organization",{character:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{character:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{character:"\\ea7e"}),e.newFile=new e("new-file",{character:"\\ea7f"}),e.fileAdd=new e("file-add",{character:"\\ea7f"}),e.newFolder=new e("new-folder",{character:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{character:"\\ea80"}),e.trash=new e("trash",{character:"\\ea81"}),e.trashcan=new e("trashcan",{character:"\\ea81"}),e.history=new e("history",{character:"\\ea82"}),e.clock=new e("clock",{character:"\\ea82"}),e.folder=new e("folder",{character:"\\ea83"}),e.fileDirectory=new e("file-directory",{character:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{character:"\\ea83"}),e.logoGithub=new e("logo-github",{character:"\\ea84"}),e.markGithub=new e("mark-github",{character:"\\ea84"}),e.github=new e("github",{character:"\\ea84"}),e.terminal=new e("terminal",{character:"\\ea85"}),e.console=new e("console",{character:"\\ea85"}),e.repl=new e("repl",{character:"\\ea85"}),e.zap=new e("zap",{character:"\\ea86"}),e.symbolEvent=new e("symbol-event",{character:"\\ea86"}),e.error=new e("error",{character:"\\ea87"}),e.stop=new e("stop",{character:"\\ea87"}),e.variable=new e("variable",{character:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{character:"\\ea88"}),e.array=new e("array",{character:"\\ea8a"}),e.symbolArray=new e("symbol-array",{character:"\\ea8a"}),e.symbolModule=new e("symbol-module",{character:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{character:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{character:"\\ea8b"}),e.symbolObject=new e("symbol-object",{character:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{character:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{character:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{character:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{character:"\\ea8f"}),e.symbolNull=new e("symbol-null",{character:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{character:"\\ea90"}),e.symbolNumber=new e("symbol-number",{character:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{character:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{character:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{character:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{character:"\\ea92"}),e.symbolKey=new e("symbol-key",{character:"\\ea93"}),e.symbolText=new e("symbol-text",{character:"\\ea93"}),e.symbolReference=new e("symbol-reference",{character:"\\ea94"}),e.goToFile=new e("go-to-file",{character:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{character:"\\ea95"}),e.symbolValue=new e("symbol-value",{character:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{character:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{character:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{character:"\\ea97"}),e.archive=new e("archive",{character:"\\ea98"}),e.arrowBoth=new e("arrow-both",{character:"\\ea99"}),e.arrowDown=new e("arrow-down",{character:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{character:"\\ea9b"}),e.arrowRight=new e("arrow-right",{character:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{character:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{character:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{character:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{character:"\\eaa0"}),e.arrowUp=new e("arrow-up",{character:"\\eaa1"}),e.bell=new e("bell",{character:"\\eaa2"}),e.bold=new e("bold",{character:"\\eaa3"}),e.book=new e("book",{character:"\\eaa4"}),e.bookmark=new e("bookmark",{character:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{character:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{character:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{character:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{character:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{character:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{character:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{character:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{character:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{character:"\\eaab"}),e.briefcase=new e("briefcase",{character:"\\eaac"}),e.broadcast=new e("broadcast",{character:"\\eaad"}),e.browser=new e("browser",{character:"\\eaae"}),e.bug=new e("bug",{character:"\\eaaf"}),e.calendar=new e("calendar",{character:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{character:"\\eab1"}),e.check=new e("check",{character:"\\eab2"}),e.checklist=new e("checklist",{character:"\\eab3"}),e.chevronDown=new e("chevron-down",{character:"\\eab4"}),e.chevronLeft=new e("chevron-left",{character:"\\eab5"}),e.chevronRight=new e("chevron-right",{character:"\\eab6"}),e.chevronUp=new e("chevron-up",{character:"\\eab7"}),e.chromeClose=new e("chrome-close",{character:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{character:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{character:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{character:"\\eabb"}),e.circleOutline=new e("circle-outline",{character:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{character:"\\eabc"}),e.circleSlash=new e("circle-slash",{character:"\\eabd"}),e.circuitBoard=new e("circuit-board",{character:"\\eabe"}),e.clearAll=new e("clear-all",{character:"\\eabf"}),e.clippy=new e("clippy",{character:"\\eac0"}),e.closeAll=new e("close-all",{character:"\\eac1"}),e.cloudDownload=new e("cloud-download",{character:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{character:"\\eac3"}),e.code=new e("code",{character:"\\eac4"}),e.collapseAll=new e("collapse-all",{character:"\\eac5"}),e.colorMode=new e("color-mode",{character:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{character:"\\eac7"}),e.compareChanges=new e("compare-changes",{character:"\\eafd"}),e.creditCard=new e("credit-card",{character:"\\eac9"}),e.dash=new e("dash",{character:"\\eacc"}),e.dashboard=new e("dashboard",{character:"\\eacd"}),e.database=new e("database",{character:"\\eace"}),e.debugContinue=new e("debug-continue",{character:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{character:"\\ead0"}),e.debugPause=new e("debug-pause",{character:"\\ead1"}),e.debugRestart=new e("debug-restart",{character:"\\ead2"}),e.debugStart=new e("debug-start",{character:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{character:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{character:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{character:"\\ead6"}),e.debugStop=new e("debug-stop",{character:"\\ead7"}),e.debug=new e("debug",{character:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{character:"\\ead9"}),e.deviceCamera=new e("device-camera",{character:"\\eada"}),e.deviceMobile=new e("device-mobile",{character:"\\eadb"}),e.diffAdded=new e("diff-added",{character:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{character:"\\eadd"}),e.diffModified=new e("diff-modified",{character:"\\eade"}),e.diffRemoved=new e("diff-removed",{character:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{character:"\\eae0"}),e.diff=new e("diff",{character:"\\eae1"}),e.discard=new e("discard",{character:"\\eae2"}),e.editorLayout=new e("editor-layout",{character:"\\eae3"}),e.emptyWindow=new e("empty-window",{character:"\\eae4"}),e.exclude=new e("exclude",{character:"\\eae5"}),e.extensions=new e("extensions",{character:"\\eae6"}),e.eyeClosed=new e("eye-closed",{character:"\\eae7"}),e.fileBinary=new e("file-binary",{character:"\\eae8"}),e.fileCode=new e("file-code",{character:"\\eae9"}),e.fileMedia=new e("file-media",{character:"\\eaea"}),e.filePdf=new e("file-pdf",{character:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{character:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{character:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{character:"\\eaee"}),e.fileZip=new e("file-zip",{character:"\\eaef"}),e.files=new e("files",{character:"\\eaf0"}),e.filter=new e("filter",{character:"\\eaf1"}),e.flame=new e("flame",{character:"\\eaf2"}),e.foldDown=new e("fold-down",{character:"\\eaf3"}),e.foldUp=new e("fold-up",{character:"\\eaf4"}),e.fold=new e("fold",{character:"\\eaf5"}),e.folderActive=new e("folder-active",{character:"\\eaf6"}),e.folderOpened=new e("folder-opened",{character:"\\eaf7"}),e.gear=new e("gear",{character:"\\eaf8"}),e.gift=new e("gift",{character:"\\eaf9"}),e.gistSecret=new e("gist-secret",{character:"\\eafa"}),e.gist=new e("gist",{character:"\\eafb"}),e.gitCommit=new e("git-commit",{character:"\\eafc"}),e.gitCompare=new e("git-compare",{character:"\\eafd"}),e.gitMerge=new e("git-merge",{character:"\\eafe"}),e.githubAction=new e("github-action",{character:"\\eaff"}),e.githubAlt=new e("github-alt",{character:"\\eb00"}),e.globe=new e("globe",{character:"\\eb01"}),e.grabber=new e("grabber",{character:"\\eb02"}),e.graph=new e("graph",{character:"\\eb03"}),e.gripper=new e("gripper",{character:"\\eb04"}),e.heart=new e("heart",{character:"\\eb05"}),e.home=new e("home",{character:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{character:"\\eb07"}),e.hubot=new e("hubot",{character:"\\eb08"}),e.inbox=new e("inbox",{character:"\\eb09"}),e.issueClosed=new e("issue-closed",{character:"\\eb0a"}),e.issueReopened=new e("issue-reopened",{character:"\\eb0b"}),e.issues=new e("issues",{character:"\\eb0c"}),e.italic=new e("italic",{character:"\\eb0d"}),e.jersey=new e("jersey",{character:"\\eb0e"}),e.json=new e("json",{character:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{character:"\\eb10"}),e.key=new e("key",{character:"\\eb11"}),e.law=new e("law",{character:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{character:"\\eb13"}),e.linkExternal=new e("link-external",{character:"\\eb14"}),e.link=new e("link",{character:"\\eb15"}),e.listOrdered=new e("list-ordered",{character:"\\eb16"}),e.listUnordered=new e("list-unordered",{character:"\\eb17"}),e.liveShare=new e("live-share",{character:"\\eb18"}),e.loading=new e("loading",{character:"\\eb19"}),e.location=new e("location",{character:"\\eb1a"}),e.mailRead=new e("mail-read",{character:"\\eb1b"}),e.mail=new e("mail",{character:"\\eb1c"}),e.markdown=new e("markdown",{character:"\\eb1d"}),e.megaphone=new e("megaphone",{character:"\\eb1e"}),e.mention=new e("mention",{character:"\\eb1f"}),e.milestone=new e("milestone",{character:"\\eb20"}),e.mortarBoard=new e("mortar-board",{character:"\\eb21"}),e.move=new e("move",{character:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{character:"\\eb23"}),e.mute=new e("mute",{character:"\\eb24"}),e.noNewline=new e("no-newline",{character:"\\eb25"}),e.note=new e("note",{character:"\\eb26"}),e.octoface=new e("octoface",{character:"\\eb27"}),e.openPreview=new e("open-preview",{character:"\\eb28"}),e.package_=new e("package",{character:"\\eb29"}),e.paintcan=new e("paintcan",{character:"\\eb2a"}),e.pin=new e("pin",{character:"\\eb2b"}),e.play=new e("play",{character:"\\eb2c"}),e.run=new e("run",{character:"\\eb2c"}),e.plug=new e("plug",{character:"\\eb2d"}),e.preserveCase=new e("preserve-case",{character:"\\eb2e"}),e.preview=new e("preview",{character:"\\eb2f"}),e.project=new e("project",{character:"\\eb30"}),e.pulse=new e("pulse",{character:"\\eb31"}),e.question=new e("question",{character:"\\eb32"}),e.quote=new e("quote",{character:"\\eb33"}),e.radioTower=new e("radio-tower",{character:"\\eb34"}),e.reactions=new e("reactions",{character:"\\eb35"}),e.references=new e("references",{character:"\\eb36"}),e.refresh=new e("refresh",{character:"\\eb37"}),e.regex=new e("regex",{character:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{character:"\\eb39"}),e.remote=new e("remote",{character:"\\eb3a"}),e.remove=new e("remove",{character:"\\eb3b"}),e.replaceAll=new e("replace-all",{character:"\\eb3c"}),e.replace=new e("replace",{character:"\\eb3d"}),e.repoClone=new e("repo-clone",{character:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{character:"\\eb3f"}),e.repoPull=new e("repo-pull",{character:"\\eb40"}),e.repoPush=new e("repo-push",{character:"\\eb41"}),e.report=new e("report",{character:"\\eb42"}),e.requestChanges=new e("request-changes",{character:"\\eb43"}),e.rocket=new e("rocket",{character:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{character:"\\eb45"}),e.rootFolder=new e("root-folder",{character:"\\eb46"}),e.rss=new e("rss",{character:"\\eb47"}),e.ruby=new e("ruby",{character:"\\eb48"}),e.saveAll=new e("save-all",{character:"\\eb49"}),e.saveAs=new e("save-as",{character:"\\eb4a"}),e.save=new e("save",{character:"\\eb4b"}),e.screenFull=new e("screen-full",{character:"\\eb4c"}),e.screenNormal=new e("screen-normal",{character:"\\eb4d"}),e.searchStop=new e("search-stop",{character:"\\eb4e"}),e.server=new e("server",{character:"\\eb50"}),e.settingsGear=new e("settings-gear",{character:"\\eb51"}),e.settings=new e("settings",{character:"\\eb52"}),e.shield=new e("shield",{character:"\\eb53"}),e.smiley=new e("smiley",{character:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{character:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{character:"\\eb56"}),e.splitVertical=new e("split-vertical",{character:"\\eb57"}),e.squirrel=new e("squirrel",{character:"\\eb58"}),e.starFull=new e("star-full",{character:"\\eb59"}),e.starHalf=new e("star-half",{character:"\\eb5a"}),e.symbolClass=new e("symbol-class",{character:"\\eb5b"}),e.symbolColor=new e("symbol-color",{character:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{character:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{character:"\\eb5e"}),e.symbolField=new e("symbol-field",{character:"\\eb5f"}),e.symbolFile=new e("symbol-file",{character:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{character:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{character:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{character:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{character:"\\eb64"}),e.symbolProperty=new e("symbol-property",{character:"\\eb65"}),e.wrench=new e("wrench",{character:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{character:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{character:"\\eb66"}),e.tasklist=new e("tasklist",{character:"\\eb67"}),e.telescope=new e("telescope",{character:"\\eb68"}),e.textSize=new e("text-size",{character:"\\eb69"}),e.threeBars=new e("three-bars",{character:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{character:"\\eb6b"}),e.thumbsup=new e("thumbsup",{character:"\\eb6c"}),e.tools=new e("tools",{character:"\\eb6d"}),e.triangleDown=new e("triangle-down",{character:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{character:"\\eb6f"}),e.triangleRight=new e("triangle-right",{character:"\\eb70"}),e.triangleUp=new e("triangle-up",{character:"\\eb71"}),e.twitter=new e("twitter",{character:"\\eb72"}),e.unfold=new e("unfold",{character:"\\eb73"}),e.unlock=new e("unlock",{character:"\\eb74"}),e.unmute=new e("unmute",{character:"\\eb75"}),e.unverified=new e("unverified",{character:"\\eb76"}),e.verified=new e("verified",{character:"\\eb77"}),e.versions=new e("versions",{character:"\\eb78"}),e.vmActive=new e("vm-active",{character:"\\eb79"}),e.vmOutline=new e("vm-outline",{character:"\\eb7a"}),e.vmRunning=new e("vm-running",{character:"\\eb7b"}),e.watch=new e("watch",{character:"\\eb7c"}),e.whitespace=new e("whitespace",{character:"\\eb7d"}),e.wholeWord=new e("whole-word",{character:"\\eb7e"}),e.window=new e("window",{character:"\\eb7f"}),e.wordWrap=new e("word-wrap",{character:"\\eb80"}),e.zoomIn=new e("zoom-in",{character:"\\eb81"}),e.zoomOut=new e("zoom-out",{character:"\\eb82"}),e.listFilter=new e("list-filter",{character:"\\eb83"}),e.listFlat=new e("list-flat",{character:"\\eb84"}),e.listSelection=new e("list-selection",{character:"\\eb85"}),e.selection=new e("selection",{character:"\\eb85"}),e.listTree=new e("list-tree",{character:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{character:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{character:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{character:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{character:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{character:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{character:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{character:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{character:"\\eb8c"}),e.symbolString=new e("symbol-string",{character:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{character:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{character:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{character:"\\eb90"}),e.callIncoming=new e("call-incoming",{character:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{character:"\\eb93"}),e.menu=new e("menu",{character:"\\eb94"}),e.expandAll=new e("expand-all",{character:"\\eb95"}),e.feedback=new e("feedback",{character:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{character:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{character:"\\eb98"}),e.account=new e("account",{character:"\\eb99"}),e.bellDot=new e("bell-dot",{character:"\\eb9a"}),e.debugConsole=new e("debug-console",{character:"\\eb9b"}),e.library=new e("library",{character:"\\eb9c"}),e.output=new e("output",{character:"\\eb9d"}),e.runAll=new e("run-all",{character:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{character:"\\eb9f"}),e.pinned=new e("pinned",{character:"\\eba0"}),e.githubInverted=new e("github-inverted",{character:"\\eba1"}),e.debugAlt=new e("debug-alt",{character:"\\eb91"}),e.serverProcess=new e("server-process",{character:"\\eba2"}),e.serverEnvironment=new e("server-environment",{character:"\\eba3"}),e.pass=new e("pass",{character:"\\eba4"}),e.stopCircle=new e("stop-circle",{character:"\\eba5"}),e.playCircle=new e("play-circle",{character:"\\eba6"}),e.record=new e("record",{character:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{character:"\\eba8"}),e.vmConnect=new e("vm-connect",{character:"\\eba9"}),e.cloud=new e("cloud",{character:"\\ebaa"}),e.merge=new e("merge",{character:"\\ebab"})}(l||(l={}));const c=/(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function d(e){return e.replace(c,(e,t)=>t?e:"\\"+e)}const h=/\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function u(e){return e.replace(h,e=>"\\"+e)}const p=/(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;function m(e){return e.replace(p,(e,t,n,i,o)=>t?`$(${n})`:`<span class="codicon codicon-${i}${o?" codicon-animation-"+o:""}"></span>`)}const g=/(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi;function f(e){return-1===e.indexOf(i.a)?e:e.replace(g,(e,t,n,i)=>n?e:t||i||"")}},function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));const o=s("instantiationService");function r(e,t,n,o){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:o}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:o}],t[i.DI_TARGET]=t)}function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,i,!1)};return t.toString=()=>e,i.serviceIds.set(e,t),t}function a(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");r(e,t,i,!0)}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"a",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"d",(function(){return g}));var i=n(18),o=n(2),r=n(56),s=n(6);const a=Object(i.c)("themeService");function l(e){return{id:e}}var c;!function(e){e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id};const t=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;e.fromString=function(e){const n=t.exec(e);if(!n)return;let[,i,o]=n;return i||(i="codicon/"),{id:i+o}};const n=/^(codicon\/)?([a-z-]+)(~[a-z]+)?$/i;e.asClassName=function(e){const t=n.exec(e.id);if(!t)return;let[,,i,o]=t,r="codicon codicon-"+i;return o&&(r+=" "+o.substr(1)),r}}(c||(c={}));const d="hc";function h(e){switch(e){case"dark":return"vs-dark";case d:return"hc-black";default:return"vs"}}const u={ThemingContribution:"base.contributions.theming"};let p=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new s.a}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(o.h)(()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function m(e){return p.onColorThemeChange(e)}r.a.add(u.ThemingContribution,p);class g extends o.a{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},function(e,t,n){"use strict";n.d(t,"i",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"l",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"b",(function(){return b}));var i=n(25),o=n(13),r=n(2);function s(e){return e&&"function"==typeof e.then}function a(e){const t=new i.b,n=e(t.token),r=new Promise((e,i)=>{t.token.onCancellationRequested(()=>{i(o.a())}),Promise.resolve(n).then(n=>{t.dispose(),e(n)},e=>{t.dispose(),i(e)})});return new class{cancel(){t.cancel()}then(e,t){return r.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return r.finally(e)}}}function l(e,t,n){return Promise.race([e,new Promise(e=>t.onCancellationRequested(()=>e(n)))])}class c{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(o.a()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}function d(e,t){return t?new Promise((n,i)=>{const r=setTimeout(n,e);t.onCancellationRequested(()=>{clearTimeout(r),i(o.a())})}):a(t=>d(e,t))}function h(e,t=0){const n=setTimeout(e,t);return Object(r.h)(()=>clearTimeout(n))}function u(e,t=(e=>!!e),n=null){let i=0;const o=e.length,r=()=>{if(i>=o)return Promise.resolve(n);const s=e[i++];return Promise.resolve(s()).then(e=>t(e)?Promise.resolve(e):r())};return r()}class p{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class m{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class g{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let f;!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining:()=>15});f=t=>{const n=setTimeout(()=>t(e));let i=!1;return{dispose(){i||(i=!0,clearTimeout(n))}}}}else f=(e,t)=>{const n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let i=!1;return{dispose(){i||(i=!0,cancelIdleCallback(n))}}}}();class b{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=f(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(9),o=n(3);class r extends o.a{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r(this.startLineNumber,this.startColumn,e,t):new r(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r(e,t,this.endLineNumber,this.endColumn):new r(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new r(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,i,o){return 0===o?new r(e,t,n,i):new r(n,i,e,t)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"a",(function(){return y})),n.d(t,"g",(function(){return C}));var i=n(13),o=n(8),r=n(9),s=n(3),a=n(21),l=n(30),c=n(39);const d=()=>!0,h=()=>!1,u=e=>" "===e||"\t"===e;function p(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}class m{constructor(e,t,n){this._languageIdentifier=e;const i=n.options,o=i.get(117);this.readOnly=i.get(72),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.lineHeight=i.get(51),this.pageSize=Math.max(1,Math.floor(o.height/this.lineHeight)-2),this.useTabStops=i.get(104),this.wordSeparators=i.get(105),this.emptySelectionClipboard=i.get(26),this.copyWithSyntaxHighlighting=i.get(16),this.multiCursorMergeOverlapping=i.get(60),this.multiCursorPaste=i.get(62),this.autoClosingBrackets=i.get(5),this.autoClosingQuotes=i.get(7),this.autoClosingOvertype=i.get(6),this.autoSurround=i.get(10),this.autoIndent=i.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:m._getShouldAutoClose(e,this.autoClosingQuotes),bracket:m._getShouldAutoClose(e,this.autoClosingBrackets)};let r=m._getAutoClosingPairs(e);if(r)for(const e of r)p(this.autoClosingPairsOpen2,e.open.charAt(e.open.length-1),e),1===e.close.length&&p(this.autoClosingPairsClose2,e.close,e);let s=m._getSurroundingPairs(e);if(s)for(const e of s)this.surroundingPairs[e.open]=e.close}static shouldRecreate(e){return e.hasChanged(117)||e.hasChanged(105)||e.hasChanged(26)||e.hasChanged(60)||e.hasChanged(62)||e.hasChanged(5)||e.hasChanged(7)||e.hasChanged(6)||e.hasChanged(10)||e.hasChanged(104)||e.hasChanged(51)||e.hasChanged(72)}get electricChars(){if(!this._electricChars){this._electricChars={};let e=m._getElectricCharacters(this._languageIdentifier);if(e)for(const t of e)this._electricChars[t]=!0}return this._electricChars}normalizeIndentation(e){return l.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)}static _getElectricCharacters(e){try{return c.a.getElectricCharacters(e.id)}catch(e){return Object(i.e)(e),null}}static _getAutoClosingPairs(e){try{return c.a.getAutoClosingPairs(e.id)}catch(e){return Object(i.e)(e),null}}static _getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return u;case"languageDefined":return m._getLanguageDefinedShouldAutoClose(e);case"always":return d;case"never":return h}}static _getLanguageDefinedShouldAutoClose(e){try{const t=c.a.getAutoCloseBeforeSet(e.id);return e=>-1!==t.indexOf(e)}catch(e){return Object(i.e)(e),h}}static _getSurroundingPairs(e){try{return c.a.getSurroundingPairs(e.id)}catch(e){return Object(i.e)(e),null}}}class g{constructor(e,t,n,i){this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=i,this.selection=g._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,n,i){return e?new g(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new r.a(t,n),i):new g(new s.a(t,n,t,n),i,new r.a(t,n),i)}static _computeSelection(e,t){let n,i,o,r;return e.isEmpty()?(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,i=e.endColumn,o=t.lineNumber,r=t.column):(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column),new a.a(n,i,o,r)}}class f{constructor(e,t,n){this.model=e,this.coordinatesConverter=t,this.cursorConfig=n}}class b{constructor(e){this.modelState=e,this.viewState=null}}class _{constructor(e){this.modelState=null,this.viewState=e}}class v{constructor(e,t){this.modelState=e,this.viewState=t}static fromModelState(e){return new b(e)}static fromViewState(e){return new _(e)}static fromModelSelection(e){const t=e.selectionStartLineNumber,n=e.selectionStartColumn,i=e.positionLineNumber,o=e.positionColumn,a=new g(new s.a(t,n,t,n),0,new r.a(i,o),0);return v.fromModelState(a)}static fromModelSelections(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}}class w{constructor(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}}class y{static visibleColumnFromColumn(e,t,n){const i=e.length,r=t-1<i?t-1:i;let s=0,a=0;for(;a<r;){const t=o.A(e,r,a);if(a+=t>=65536?2:1,9===t)s=y.nextRenderTabStop(s,n);else{let n=o.y(t);for(;a<r;){const t=o.A(e,r,a),i=o.y(t);if(o.c(n,i))break;a+=t>=65536?2:1,n=i}o.E(t)||o.C(t)?s+=2:s+=1}}return s}static visibleColumnFromColumn2(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)}static columnFromVisibleColumn(e,t,n){if(t<=0)return 1;const i=e.length;let r=0,s=1,a=0;for(;a<i;){const l=o.A(e,i,a);let c;if(a+=l>=65536?2:1,9===l)c=y.nextRenderTabStop(r,n);else{let t=o.y(l);for(;a<i;){const n=o.A(e,i,a),r=o.y(n);if(o.c(t,r))break;a+=n>=65536?2:1,t=r}c=o.E(l)||o.C(l)?r+2:r+1}const d=a+1;if(c>=t){return c-t<t-r?d:s}r=c,s=d}return i+1}static columnFromVisibleColumn2(e,t,n,i){let o=this.columnFromVisibleColumn(t.getLineContent(n),i,e.tabSize),r=t.getLineMinColumn(n);if(o<r)return r;let s=t.getLineMaxColumn(n);return o>s?s:o}static nextRenderTabStop(e,t){return e+t-e%t}static nextIndentTabStop(e,t){return e+t-e%t}static prevRenderTabStop(e,t){return e-1-(e-1)%t}static prevIndentTabStop(e,t){return e-1-(e-1)%t}}function C(e){return"'"===e||'"'===e||"`"===e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f}));var i=n(11),o=n(42);const r=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;const l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{constructor(e,t,n,i,o,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||""),this.query=i||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!r.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof d||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:o,fragment:r}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new u(t,n,i,o,r)}static parse(e,t=!1){const n=c.exec(e);return n?new u(n[2]||"",v(n[4]||""),v(n[5]||""),v(n[7]||""),v(n[9]||""),t):new u("","","","","")}static file(e){let t="";if(i.i&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){const n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new u("file",t,e,"","")}static from(e){return new u(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=i.i&&"file"===e.scheme?d.file(o.i.join(f(e,!0),...t)).path:o.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof d)return e;{const t=new u(e);return t._formatted=e.external,t._fsPath=e._sep===h?e.fsPath:null,t}}return e}}const h=i.i?1:void 0;class u extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const p={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,i=-1;for(let o=0;o<e.length;o++){const r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));const t=p[r];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=t):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function g(e){let t=void 0;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=p[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function f(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.i&&(n=n.replace(/\//g,"\\")),n}function b(e,t){const n=t?g:m;let i="",{scheme:o,authority:r,path:s,query:a,fragment:c}=e;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=l,i+=l),r){let e=r.indexOf("@");if(-1!==e){const t=r.substr(0,e);r=r.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}r=r.toLowerCase(),e=r.indexOf(":"),-1===e?i+=n(r,!1):(i+=n(r.substr(0,e),!1),i+=r.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),c&&(i+="#",i+=t?c:m(c,!1)),i}const _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(_)?e.replace(_,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},function(e,t,n){"use strict";n.d(t,"f",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return g})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return _})),n.d(t,"c",(function(){return v}));var i=n(60),o=n(18),r=n(10),s=n(27),a=n(2),l=n(6),c=n(37),d=n(53),h=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},u=function(e,t){return function(n,i){t(n,i,e)}};function p(e){return void 0!==e.command}class m{constructor(e){this.id=m._idPool++,this._debugName=e}}m._idPool=0,m.CommandPalette=new m("CommandPalette"),m.EditorContext=new m("EditorContext"),m.EditorContextPeek=new m("EditorContextPeek"),m.MenubarEditMenu=new m("MenubarEditMenu"),m.MenubarGoMenu=new m("MenubarGoMenu"),m.MenubarSelectionMenu=new m("MenubarSelectionMenu");const g=Object(o.c)("menuService"),f=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.a,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===m.CommandPalette}}addCommand(e){return this.addCommands(c.a.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(a.h)(()=>{let t=!1;for(const n of e)t=this._commands.delete(n.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach((t,n)=>e.set(n,t)),e}appendMenuItem(e,t){return this.appendMenuItems(c.a.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,n=new d.a;for(const{id:i,item:o}of e){let e=this._menuItems.get(i);e||(e=new d.a,this._menuItems.set(i,e)),n.push(e.push(o)),t.add(i)}return this._onDidChangeMenu.fire(t),Object(a.h)(()=>{if(n.size>0){for(let e of n)e();this._onDidChangeMenu.fire(t),n.clear()}})}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===m.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const n of e)p(n)&&(t.add(n.command.id),n.alt&&t.add(n.alt.id));this._commands.forEach((n,i)=>{t.has(i)||e.push({command:n})})}};let b=class extends i.a{constructor(e,t,n){super(e,t),this._commandService=n}run(...e){return this._commandService.executeCommand(this.id,...e)}};b=h([u(2,s.b)],b);class _ extends i.d{constructor(e,t,n,o){super("submenuitem."+e.submenu.id,"string"==typeof e.title?e.title:e.title.value,()=>{const r=[],s=t.createMenu(e.submenu,n),a=s.getActions(o);s.dispose();for(let e of a){const[,t]=e;t.length>0&&(r.push(...t),r.push(new i.c))}return r.length&&r.pop(),r},"submenu"),this.item=e}}let v=class e extends b{constructor(t,n,i,o,r){if("string"==typeof t.title?super(t.id,t.title,r):super(t.id,t.title.value,r),this._cssClass=void 0,this._enabled=!t.precondition||o.contextMatchesRules(t.precondition),this._tooltip=t.tooltip?"string"==typeof t.tooltip?t.tooltip:t.tooltip.value:void 0,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this._checked=o.contextMatchesRules(e.condition),this._checked&&e.tooltip&&(this._tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value)}this._options=i||{},this.item=t,this.alt=n?new e(n,void 0,this._options,o,r):void 0}dispose(){this.alt&&this.alt.dispose(),super.dispose()}run(...e){let t=[];return this._options.arg&&(t=[...t,this._options.arg]),this._options.shouldForwardArgs&&(t=[...t,...e]),super.run(...t)}};v=h([u(3,r.b),u(4,s.b)],v)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i=n(6);const o=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var r;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o})}(r||(r={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?o:(this._emitter||(this._emitter=new i.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=r.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=r.None}}},function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"i",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return C})),n.d(t,"l",(function(){return x})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"k",(function(){return T})),n.d(t,"g",(function(){return N}));var i=n(0),o=n(11),r=n(73);const s=8;class a{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class l{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class c{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class d{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}compute(e,t,n){return n}}class h{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class u{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,n){return n}}class p extends u{static boolean(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}constructor(e,t,n,i){void 0!==i&&(i.type="boolean",i.default=n),super(e,t,n,i)}validate(e){return p.boolean(e,this.defaultValue)}}class m extends u{constructor(e,t,n,i,o,r){void 0!==r&&(r.type="integer",r.default=n,r.minimum=i,r.maximum=o),super(e,t,n,r),this.minimum=i,this.maximum=o}static clampedInt(e,t,n,i){if(void 0===e)return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(n,o),o=Math.min(i,o),0|o)}validate(e){return m.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class g extends u{constructor(e,t,n,i,o){void 0!==o&&(o.type="number",o.default=n),super(e,t,n,o),this.validationFn=i}static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;const n=parseFloat(e);return isNaN(n)?t:n}validate(e){return this.validationFn(g.float(e,this.defaultValue))}}class f extends u{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,n,i){void 0!==i&&(i.type="string",i.default=n),super(e,t,n,i)}validate(e){return f.string(e,this.defaultValue)}}class b extends u{constructor(e,t,n,i,o){void 0!==o&&(o.type="string",o.enum=i,o.default=n),super(e,t,n,o),this._allowedValues=i}static stringSet(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e}validate(e){return b.stringSet(e,this.defaultValue,this._allowedValues)}}class _ extends d{constructor(e,t,n,i,o,r,s){void 0!==s&&(s.type="string",s.enum=o,s.default=i),super(e,t,n,s),this._allowedValues=o,this._convert=r}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var v;!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(v||(v={}));class w extends d{constructor(){super(37,"fontLigatures",w.OFF,{anyOf:[{type:"boolean",description:i.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:i.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:i.a("fontLigaturesGeneral","Configures font ligatures or font features."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?w.OFF:"true"===e?w.ON:e:Boolean(e)?w.ON:w.OFF}}w.OFF='"liga" off, "calt" off',w.ON='"liga" on, "calt" on';class y extends d{constructor(){super(39,"fontWeight",k.fontWeight,{anyOf:[{type:"number",minimum:y.MINIMUM_VALUE,maximum:y.MAXIMUM_VALUE,errorMessage:i.a("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:y.SUGGESTION_VALUES}],default:k.fontWeight,description:i.a("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(m.clampedInt(e,k.fontWeight,y.MINIMUM_VALUE,y.MAXIMUM_VALUE))}}y.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],y.MINIMUM_VALUE=1,y.MAXIMUM_VALUE=1e3;class C extends h{constructor(){super(117,[42,50,31,56,84,52,53,86,106,109,110,2])}compute(e,t,n){return C.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:Math.floor(e.viewLineCount/i)}}static _computeMinimapLayout(e,t){const n=e.outerWidth,i=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const p=e.minimap.maxColumn,m=e.minimap.size,g=e.minimap.side,f=e.verticalScrollbarWidth,b=e.viewLineCount,_=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let y=Math.floor(o*i);const x=y/o;let S=!1,k=!1,E=w*u,T=u/o,L=1;if("fill"===m||"fit"===m){const{typicalViewportLineCount:n,extraLinesBeyondLastLine:r,desiredRatio:s,minimapLineCount:c}=C.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,height:i,lineHeight:l,pixelRatio:o});if(b/c>1)S=!0,k=!0,u=1,E=1,T=u/o;else{let i=!1,c=u+1;if("fit"===m){const n=Math.ceil((b+r)*E);v&&a&&_<=t.stableFitRemainingWidth?(i=!0,c=t.stableFitMaxMinimapScale):(i=n>y,v&&i?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=_):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0))}if("fill"===m||i){S=!0;const e=u;E=Math.min(l*o,Math.max(1,Math.floor(1/s))),u=Math.min(c,Math.max(1,Math.floor(E/w))),u>e&&(L=Math.min(2,u/e)),T=u/o/L,y=Math.ceil(Math.max(n,b+r)*E),v&&i&&(t.stableFitMaxMinimapScale=u)}}}const N=Math.floor(p*T),I=Math.min(N,Math.max(0,Math.floor((_-f-2)*T/(c+T)))+s);let O=Math.floor(o*I);const D=O/o;O=Math.floor(O*L);return{renderMinimap:h?1:2,minimapLeft:"left"===g?0:n-I-f,minimapWidth:I,minimapHeightIsEditorHeight:S,minimapIsSampling:k,minimapScale:u,minimapLineHeight:E,minimapCanvasInnerWidth:O,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:D,minimapCanvasOuterHeight:x}}static computeLayout(e,t){const n=0|t.outerWidth,i=0|t.outerHeight,o=0|t.lineHeight,r=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,d=t.viewLineCount,h=e.get(106),u=e.get(109),p=e.get(110),g=e.get(2),f=t.isDominatedByLongLines,b=e.get(42),_=0!==e.get(52).renderType,v=e.get(53),w=e.get(86),y=e.get(56),x=e.get(84),S=x.verticalScrollbarSize,k=x.verticalHasArrows,E=x.arrowSize,T=x.horizontalScrollbarSize,L=e.get(50),N=e.get(31);let I;if("string"==typeof L&&/^\d+(\.\d+)?ch$/.test(L)){const e=parseFloat(L.substr(0,L.length-2));I=m.clampedInt(e*s,0,0,1e3)}else I=m.clampedInt(L,0,0,1e3);N&&(I+=16);let O=0;if(_){const e=Math.max(r,v);O=Math.round(e*a)}let D=0;b&&(D=o);let A=0,R=A+D,M=R+O,P=M+I;const F=n-D-O-I;let W=!1,z=!1,B=-1;2!==g&&(p&&f?(W=!0,z=!0):"on"===h||"bounded"===h?z=!0:"wordWrapColumn"===h&&(B=u));const j=C._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:o,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:w,minimap:y,verticalScrollbarWidth:S,viewLineCount:d,remainingWidth:F,isViewportWrapping:z},t.memory||new c);0!==j.renderMinimap&&0===j.minimapLeft&&(A+=j.minimapWidth,R+=j.minimapWidth,M+=j.minimapWidth,P+=j.minimapWidth);const V=F-j.minimapWidth,U=Math.max(1,Math.floor((V-S-2)/s)),H=k?E:0;return z&&(B=Math.max(1,U),"bounded"===h&&(B=Math.min(B,u))),{width:n,height:i,glyphMarginLeft:A,glyphMarginWidth:D,lineNumbersLeft:R,lineNumbersWidth:O,decorationsLeft:M,decorationsWidth:I,contentLeft:P,contentWidth:V,minimap:j,viewportColumn:U,isWordWrapMinified:W,isViewportWrapping:z,wrappingColumn:B,verticalScrollbarWidth:S,horizontalScrollbarHeight:T,overviewRuler:{top:H,width:S,height:i-2*H,right:0}}}}function x(e){const t=e.get(79);return"editable"===t?e.get(72):"on"!==t}function S(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}const k={fontFamily:o.f?"Menlo, Monaco, 'Courier New', monospace":o.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:o.f?12:14,lineHeight:0,letterSpacing:0},E={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},T=[];function L(e){return T[e.id]=e,e}const N={acceptSuggestionOnCommitCharacter:L(new p(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:i.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:L(new b(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",i.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:i.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:L(new class extends d{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[i.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),i.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),i.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:i.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,n){return 0===n?e.accessibilitySupport:n}}),accessibilityPageSize:L(new m(3,"accessibilityPageSize",10,1,1073741824,{description:i.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:L(new f(4,"ariaLabel",i.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:L(new b(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),i.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:i.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:L(new b(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",i.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:i.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:L(new b(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),i.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:i.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:L(new _(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[i.a("editor.autoIndent.none","The editor will not insert indentation automatically."),i.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),i.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),i.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),i.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:i.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:L(new p(9,"automaticLayout",!1)),autoSurround:L(new b(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[i.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),i.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),i.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:i.a("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:L(new p(11,"codeLens",!0,{description:i.a("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:L(new p(12,"colorDecorators",!0,{description:i.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:L(new p(13,"columnSelection",!1,{description:i.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:L(new class extends d{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(14,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:i.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:i.a("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{insertSpace:p.boolean(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:p.boolean(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:L(new p(15,"contextmenu",!0)),copyWithSyntaxHighlighting:L(new p(16,"copyWithSyntaxHighlighting",!0,{description:i.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:L(new _(17,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:i.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:L(new p(18,"cursorSmoothCaretAnimation",!1,{description:i.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:L(new _(19,"cursorStyle",v.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return v.Line;case"block":return v.Block;case"underline":return v.Underline;case"line-thin":return v.LineThin;case"block-outline":return v.BlockOutline;case"underline-thin":return v.UnderlineThin}}),{description:i.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:L(new m(20,"cursorSurroundingLines",0,0,1073741824,{description:i.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:L(new b(21,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[i.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),i.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:i.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:L(new m(22,"cursorWidth",0,0,1073741824,{markdownDescription:i.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:L(new p(23,"disableLayerHinting",!1)),disableMonospaceOptimizations:L(new p(24,"disableMonospaceOptimizations",!1)),dragAndDrop:L(new p(25,"dragAndDrop",!0,{description:i.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:L(new class extends p{constructor(){super(26,"emptySelectionClipboard",!0,{description:i.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}),extraEditorClassName:L(new f(27,"extraEditorClassName","")),fastScrollSensitivity:L(new g(28,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:i.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:L(new class extends d{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(29,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:i.a("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:e.seedSearchStringFromSelection,description:i.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[i.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),i.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),i.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:i.a("find.autoFindInSelection","Controls the condition for turning on find in selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:i.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:o.f},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:i.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:i.a("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:p.boolean(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:p.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":b.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:p.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:p.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:p.boolean(t.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:L(new p(30,"fixedOverflowWidgets",!1)),folding:L(new p(31,"folding",!0,{description:i.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:L(new b(32,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[i.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),i.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:i.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:L(new p(33,"foldingHighlight",!0,{description:i.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),unfoldOnClickAfterEndOfLine:L(new p(34,"unfoldOnClickAfterEndOfLine",!1,{description:i.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:L(new f(35,"fontFamily",k.fontFamily,{description:i.a("fontFamily","Controls the font family.")})),fontInfo:L(new class extends h{constructor(){super(36)}compute(e,t,n){return e.fontInfo}}),fontLigatures2:L(new w),fontSize:L(new class extends u{constructor(){super(38,"fontSize",k.fontSize,{type:"number",minimum:6,maximum:100,default:k.fontSize,description:i.a("fontSize","Controls the font size in pixels.")})}validate(e){let t=g.float(e,this.defaultValue);return 0===t?k.fontSize:g.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}),fontWeight:L(new y),formatOnPaste:L(new p(40,"formatOnPaste",!1,{description:i.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:L(new p(41,"formatOnType",!1,{description:i.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:L(new p(42,"glyphMargin",!0,{description:i.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:L(new class extends d{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[i.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),i.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),i.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};super(43,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:i.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:i.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:i.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:i.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:i.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:i.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,description:i.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,description:i.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,description:i.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,description:i.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,description:i.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,n,i,o,r;if(!e||"object"!=typeof e)return this.defaultValue;const s=e;return{multiple:b.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:b.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:b.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:b.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:b.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:b.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:f.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:f.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:f.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:f.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:f.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}),hideCursorInOverviewRuler:L(new p(44,"hideCursorInOverviewRuler",!1,{description:i.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:L(new p(45,"highlightActiveIndentGuide",!0,{description:i.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:L(new class extends d{constructor(){const e={enabled:!0,delay:300,sticky:!0};super(46,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:i.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,description:i.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:i.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),delay:m.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:p.boolean(t.sticky,this.defaultValue.sticky)}}}),inDiffEditor:L(new p(47,"inDiffEditor",!1)),letterSpacing:L(new g(48,"letterSpacing",k.letterSpacing,e=>g.clamp(e,-5,20),{description:i.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:L(new class extends d{constructor(){const e={enabled:!0};super(49,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:i.a("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled)}}}),lineDecorationsWidth:L(new u(50,"lineDecorationsWidth",10)),lineHeight:L(new class extends m{constructor(){super(51,"lineHeight",k.lineHeight,0,150,{description:i.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})}compute(e,t,n){return e.fontInfo.lineHeight}}),lineNumbers:L(new class extends d{constructor(){super(52,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[i.a("lineNumbers.off","Line numbers are not rendered."),i.a("lineNumbers.on","Line numbers are rendered as absolute number."),i.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),i.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:i.a("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}),lineNumbersMinChars:L(new m(53,"lineNumbersMinChars",5,1,300)),links:L(new p(54,"links",!0,{description:i.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:L(new b(55,"matchBrackets","always",["always","near","never"],{description:i.a("matchBrackets","Highlight matching brackets.")})),minimap:L(new class extends d{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(56,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:i.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[i.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),i.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),i.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:i.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:i.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:i.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:i.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:i.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:i.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),size:b.stringSet(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:b.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:b.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:p.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(t.scale,1,1,3),maxColumn:m.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}),mouseStyle:L(new b(57,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:L(new g(58,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:i.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:L(new p(59,"mouseWheelZoom",!1,{markdownDescription:i.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:L(new p(60,"multiCursorMergeOverlapping",!0,{description:i.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:L(new _(61,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?o.f?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[i.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),i.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:i.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:L(new b(62,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[i.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),i.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:i.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:L(new p(63,"occurrencesHighlight",!0,{description:i.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:L(new p(64,"overviewRulerBorder",!0,{description:i.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:L(new m(65,"overviewRulerLanes",3,0,3)),padding:L(new class extends d{constructor(){super(66,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:i.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:i.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{top:m.clampedInt(t.top,0,0,1e3),bottom:m.clampedInt(t.bottom,0,0,1e3)}}}),parameterHints:L(new class extends d{constructor(){const e={enabled:!0,cycle:!1};super(67,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:i.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:i.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),cycle:p.boolean(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:L(new b(68,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[i.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),i.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:i.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:L(new p(69,"definitionLinkOpensInPeek",!1,{description:i.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:L(new class extends d{constructor(){const e={other:!0,comments:!1,strings:!1};super(70,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:i.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:i.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:i.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:i.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){if("boolean"==typeof e)return e;if(e&&"object"==typeof e){const t=e,n={other:p.boolean(t.other,this.defaultValue.other),comments:p.boolean(t.comments,this.defaultValue.comments),strings:p.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue}}),quickSuggestionsDelay:L(new m(71,"quickSuggestionsDelay",10,0,1073741824,{description:i.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:L(new p(72,"readOnly",!1)),renameOnType:L(new p(73,"renameOnType",!1,{description:i.a("renameOnType","Controls whether the editor auto renames on type.")})),renderControlCharacters:L(new p(74,"renderControlCharacters",!1,{description:i.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:L(new p(75,"renderIndentGuides",!0,{description:i.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:L(new p(76,"renderFinalNewline",!0,{description:i.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:L(new b(77,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",i.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:i.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:L(new p(78,"renderLineHighlightOnlyWhenFocus",!1,{description:i.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused")})),renderValidationDecorations:L(new b(79,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:L(new b(80,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",i.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),i.a("renderWhitespace.selection","Render whitespace characters only on selected text."),i.a("renderWhitespace.trailing","Render only trailing whitespace characters"),""],description:i.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:L(new m(81,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:L(new p(82,"roundedSelection",!0,{description:i.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:L(new class extends d{constructor(){const e=[],t={type:"number",description:i.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(83,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:i.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:i.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let n of e)if("number"==typeof n)t.push({column:m.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"==typeof n){const e=n;t.push({column:m.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:L(new class extends d{constructor(){super(84,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e,n=m.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=m.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:m.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:S(t.vertical,this.defaultValue.vertical),horizontal:S(t.horizontal,this.defaultValue.horizontal),useShadows:p.boolean(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:p.boolean(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:p.boolean(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:p.boolean(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:p.boolean(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:m.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:m.clampedInt(t.verticalSliderSize,i,0,1e3)}}}),scrollBeyondLastColumn:L(new m(85,"scrollBeyondLastColumn",5,0,1073741824,{description:i.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:L(new p(86,"scrollBeyondLastLine",!0,{description:i.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:L(new p(87,"scrollPredominantAxis",!0,{description:i.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:L(new p(88,"selectionClipboard",!0,{description:i.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:o.d})),selectionHighlight:L(new p(89,"selectionHighlight",!0,{description:i.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:L(new p(90,"selectOnLineNumbers",!0)),showFoldingControls:L(new b(91,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[i.a("showFoldingControls.always","Always show the folding controls."),i.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:i.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:L(new p(92,"showUnused",!0,{description:i.a("showUnused","Controls fading out of unused code.")})),showDeprecated:L(new p(113,"showDeprecated",!0,{description:i.a("showDeprecated","Controls strikethrough deprecated variables.")})),snippetSuggestions:L(new b(93,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[i.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),i.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),i.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),i.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:i.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:L(new p(94,"smoothScrolling",!1,{description:i.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:L(new m(95,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:L(new class extends d{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0,statusBar:{visible:!1}};super(96,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[i.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),i.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:i.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:i.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:i.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:i.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:i.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:i.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:e.maxVisibleSuggestions,minimum:1,maximum:15,description:i.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:i.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")},"editor.suggest.statusBar.visible":{type:"boolean",default:!1,markdownDescription:i.a("editor.suggest.statusBar.visible","Controls the visibility of the status bar at the bottom of the suggest widget.")}})}validate(e){var t;if(!e||"object"!=typeof e)return this.defaultValue;const n=e;return{insertMode:b.stringSet(n.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:p.boolean(n.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:p.boolean(n.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:p.boolean(n.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:p.boolean(n.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:p.boolean(n.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:m.clampedInt(n.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:p.boolean(n.showMethods,this.defaultValue.showMethods),showFunctions:p.boolean(n.showFunctions,this.defaultValue.showFunctions),showConstructors:p.boolean(n.showConstructors,this.defaultValue.showConstructors),showFields:p.boolean(n.showFields,this.defaultValue.showFields),showVariables:p.boolean(n.showVariables,this.defaultValue.showVariables),showClasses:p.boolean(n.showClasses,this.defaultValue.showClasses),showStructs:p.boolean(n.showStructs,this.defaultValue.showStructs),showInterfaces:p.boolean(n.showInterfaces,this.defaultValue.showInterfaces),showModules:p.boolean(n.showModules,this.defaultValue.showModules),showProperties:p.boolean(n.showProperties,this.defaultValue.showProperties),showEvents:p.boolean(n.showEvents,this.defaultValue.showEvents),showOperators:p.boolean(n.showOperators,this.defaultValue.showOperators),showUnits:p.boolean(n.showUnits,this.defaultValue.showUnits),showValues:p.boolean(n.showValues,this.defaultValue.showValues),showConstants:p.boolean(n.showConstants,this.defaultValue.showConstants),showEnums:p.boolean(n.showEnums,this.defaultValue.showEnums),showEnumMembers:p.boolean(n.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:p.boolean(n.showKeywords,this.defaultValue.showKeywords),showWords:p.boolean(n.showWords,this.defaultValue.showWords),showColors:p.boolean(n.showColors,this.defaultValue.showColors),showFiles:p.boolean(n.showFiles,this.defaultValue.showFiles),showReferences:p.boolean(n.showReferences,this.defaultValue.showReferences),showFolders:p.boolean(n.showFolders,this.defaultValue.showFolders),showTypeParameters:p.boolean(n.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:p.boolean(n.showSnippets,this.defaultValue.showSnippets),showUsers:p.boolean(n.showUsers,this.defaultValue.showUsers),showIssues:p.boolean(n.showIssues,this.defaultValue.showIssues),statusBar:{visible:p.boolean(null===(t=n.statusBar)||void 0===t?void 0:t.visible,!!this.defaultValue.statusBar.visible)}}}}),suggestFontSize:L(new m(97,"suggestFontSize",0,0,1e3,{markdownDescription:i.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:L(new m(98,"suggestLineHeight",0,0,1e3,{markdownDescription:i.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:L(new p(99,"suggestOnTriggerCharacters",!0,{description:i.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:L(new b(100,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[i.a("suggestSelection.first","Always select the first suggestion."),i.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),i.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:i.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:L(new b(101,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[i.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),i.a("tabCompletion.off","Disable tab completions."),i.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:i.a("tabCompletion","Enables tab completions.")})),tabIndex:L(new m(102,"tabIndex",0,-1,1073741824)),unusualLineTerminators:L(new b(103,"unusualLineTerminators","prompt",["off","prompt","auto"],{enumDescriptions:[i.a("unusualLineTerminators.off","Unusual line terminators are ignored."),i.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed."),i.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed.")],description:i.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useTabStops:L(new p(104,"useTabStops",!0,{description:i.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:L(new f(105,"wordSeparators",r.b,{description:i.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:L(new b(106,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[i.a("wordWrap.off","Lines will never wrap."),i.a("wordWrap.on","Lines will wrap at the viewport width."),i.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),i.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:i.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:L(new f(107,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:L(new f(108,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:L(new m(109,"wordWrapColumn",80,1,1073741824,{markdownDescription:i.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:L(new p(110,"wordWrapMinified",!0)),wrappingIndent:L(new _(111,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[i.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),i.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),i.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),i.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:i.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:L(new b(112,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[i.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),i.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:i.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:L(new class extends h{constructor(){super(114,[57,27])}compute(e,t,n){const i=["monaco-editor"];return t.get(27)&&i.push(t.get(27)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(57)?i.push("mouse-default"):"copy"===t.get(57)&&i.push("mouse-copy"),t.get(92)&&i.push("showUnused"),t.get(113)&&i.push("showDeprecated"),i.join(" ")}}),pixelRatio:L(new class extends h{constructor(){super(115)}compute(e,t,n){return e.pixelRatio}}),tabFocusMode:L(new class extends h{constructor(){super(116,[72])}compute(e,t,n){return!!t.get(72)||e.tabFocusMode}}),layoutInfo:L(new C),wrappingInfo:L(new class extends h{constructor(){super(118,[117])}compute(e,t,n){const i=t.get(117);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n(2),o=n(14),r=n(18),s=n(6),a=n(53),l=n(37);const c=Object(r.c)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new s.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){const t=[];for(let n of e.description.args)t.push(n.constraint);const n=e.handler;e.handler=function(e,...i){return Object(o.m)(i,t),n(e,...i)}}const{id:n}=e;let r=this._commands.get(n);r||(r=new a.a,this._commands.set(n,r));let s=r.unshift(e),l=Object(i.h)(()=>{s();const e=this._commands.get(n);(null==e?void 0:e.isEmpty())&&this._commands.delete(n)});return this._onDidRegisterCommand.fire(n),l}registerCommandAlias(e,t){return d.registerCommand(e,(e,...n)=>e.get(c).executeCommand(t,...n))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return l.a.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const n=this.getCommand(t);n&&e.set(t,n)}return e}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var i=n(11);const o=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return i.i?"win32":i.f?"darwin":"linux"},nextTick:e=>Object(i.j)(e)}:e,r=o.cwd,s=o.env,a=o.platform}).call(this,n(86))},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.f})),n.d(t,"d",(function(){return i.h})),n.d(t,"e",(function(){return i.l})),n.d(t,"f",(function(){return i.m})),n.d(t,"g",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return Ve})),n.d(t,"a",(function(){return Ge}));var i=n(13),o=n(6),r=n(2),s=n(8),a=n(23),l=n(26),c=n(9),d=n(3),h=n(21),u=n(58),p=n(175);class m{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function g(e,t,n,i,o){let r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r<t&&r<i;r++){if(e.charCodeAt(r)!==n.charCodeAt(r))break}let s=0,a=0;for(let n=r;n<t;n++){32===e.charCodeAt(n)?s++:a++}let l=0,c=0;for(let e=r;e<i;e++){32===n.charCodeAt(e)?l++:c++}if(s>0&&a>0)return;if(l>0&&c>0)return;let d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-1<e.length&&l<n.length&&32!==n.charCodeAt(l)&&32===e.charCodeAt(l-1)&&44===e.charCodeAt(e.length-1)&&(o.looksLikeAlignment=!0));h%d!=0||(o.spacesDiff=h/d)}function f(e,t,n){const i=Math.min(e.getLineCount(),1e4);let o=0,r=0,s="",a=0;const l=[2,4,6,8,3,5,7];let c=[0,0,0,0,0,0,0,0,0],d=new m;for(let l=1;l<=i;l++){let i=e.getLineLength(l),h=e.getLineContent(l);const u=i<=65536;let p=!1,m=0,f=0,b=0;for(let t=0,n=i;t<n;t++){let n=u?h.charCodeAt(t):e.getLineCharCode(l,t);if(9===n)b++;else{if(32!==n){p=!0,m=t;break}f++}}if(!p)continue;if(b>0?o++:f>1&&r++,g(s,a,h,m,d),d.looksLikeAlignment&&(!n||t!==d.spacesDiff))continue;let _=d.spacesDiff;_<=8&&c[_]++,s=h,a=m}let h=n;o!==r&&(h=o<r);let u=t;if(h){let e=h?0:.1*i;l.forEach(t=>{let n=c[t];n>e&&(e=n,u=t)}),4===u&&c[4]>0&&c[2]>0&&c[2]>=c[4]/2&&(u=2)}return{insertSpaces:h,tabSize:u}}function b(e){return(1&e.metadata)>>>0}function _(e,t){e.metadata=254&e.metadata|t<<0}function v(e){return(2&e.metadata)>>>1==1}function w(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function y(e){return(4&e.metadata)>>>2==1}function C(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function x(e){return(8&e.metadata)>>>3==1}function S(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function k(e,t){e.metadata=207&e.metadata|t<<4}function E(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}class T{constructor(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,_(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,C(this,!1),k(this,1),S(this,!1),E(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,w(this,!1)}reset(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i}setOptions(e){this.options=e;let t=this.options.className;C(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),k(this,this.options.stickiness),S(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),E(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const L=new T(null,0,0);L.parent=L,L.left=L,L.right=L,_(L,0);class N{constructor(){this.root=L,this.requestNormalizeDelta=!1}intervalSearch(e,t,n,i,o){return this.root===L?[]:function(e,t,n,i,o,r){let s=e.root,a=0,l=0,c=0,d=0,h=[],u=0;for(;s!==L;)if(v(s))w(s.left,!1),w(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!v(s.left)){if(l=a+s.maxEnd,l<t){w(s,!0);continue}if(s.left!==L){s=s.left;continue}}if(c=a+s.start,c>n)w(s,!0);else{if(d=a+s.end,d>=t){s.setCachedOffsets(c,d,r);let e=!0;i&&s.ownerId&&s.ownerId!==i&&(e=!1),o&&y(s)&&(e=!1),e&&(h[u++]=s)}w(s,!0),s.right===L||v(s.right)||(a+=s.delta,s=s.right)}}return w(e.root,!1),h}(this,e,t,n,i,o)}search(e,t,n){return this.root===L?[]:function(e,t,n,i){let o=e.root,r=0,s=0,a=0,l=[],c=0;for(;o!==L;){if(v(o)){w(o.left,!1),w(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==L&&!v(o.left)){o=o.left;continue}s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);let e=!0;t&&o.ownerId&&o.ownerId!==t&&(e=!1),n&&y(o)&&(e=!1),e&&(l[c++]=o),w(o,!0),o.right===L||v(o.right)||(r+=o.delta,o=o.right)}return w(e.root,!1),l}(this,e,t,n)}collectNodesFromOwner(e){return function(e,t){let n=e.root,i=[],o=0;for(;n!==L;)v(n)?(w(n.left,!1),w(n.right,!1),n=n.parent):n.left===L||v(n.left)?(n.ownerId===t&&(i[o++]=n),w(n,!0),n.right===L||v(n.right)||(n=n.right)):n=n.left;return w(e.root,!1),i}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root,n=[],i=0;for(;t!==L;)v(t)?(w(t.left,!1),w(t.right,!1),t=t.parent):t.left===L||v(t.left)?t.right===L||v(t.right)?(n[i++]=t,w(t,!0)):t=t.right:t=t.left;return w(e.root,!1),n}(this)}insert(e){D(this,e),this._normalizeDeltaIfNecessary()}delete(e){A(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){const n=e;let i=0;for(;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;const o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)}acceptReplace(e,t,n,i){const o=function(e,t,n){let i=e.root,o=0,r=0,s=0,a=0,l=[],c=0;for(;i!==L;)if(v(i))w(i.left,!1),w(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!v(i.left)){if(r=o+i.maxEnd,r<t){w(i,!0);continue}if(i.left!==L){i=i.left;continue}}s=o+i.start,s>n?w(i,!0):(a=o+i.end,a>=t&&(i.setCachedOffsets(s,a,0),l[c++]=i),w(i,!0),i.right===L||v(i.right)||(o+=i.delta,i=i.right))}return w(e.root,!1),l}(this,e,e+t);for(let e=0,t=o.length;e<t;e++){A(this,o[e])}this._normalizeDeltaIfNecessary(),function(e,t,n,i){let o=e.root,r=0,s=0,a=0;const l=i-(n-t);for(;o!==L;)if(v(o))w(o.left,!1),w(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),W(o),o=o.parent;else{if(!v(o.left)){if(s=r+o.maxEnd,s<t){w(o,!0);continue}if(o.left!==L){o=o.left;continue}}a=r+o.start,a>n?(o.start+=l,o.end+=l,o.delta+=l,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),w(o,!0)):(w(o,!0),o.right===L||v(o.right)||(r+=o.delta,o=o.right))}w(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(let r=0,s=o.length;r<s;r++){const s=o[r];s.start=s.cachedAbsoluteStart,s.end=s.cachedAbsoluteEnd,O(s,e,e+t,n,i),s.maxEnd=s.end,D(this,s)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,n=0;for(;t!==L;)t.left===L||v(t.left)?t.right===L||v(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,W(t),w(t,!0),w(t.left,!1),w(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;w(e.root,!1)}(this))}}function I(e,t,n,i){return e<n||!(e>n)&&(1!==i&&(2===i||t))}function O(e,t,n,i,o){const r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,l=n-t,c=i,d=Math.min(l,c),h=e.start;let u=!1;const p=e.end;let m=!1;t<=h&&p<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,u=!0,e.end=t,m=!0);{const e=o?1:l>0?2:0;!u&&I(h,s,t,e)&&(u=!0),!m&&I(p,a,t,e)&&(m=!0)}if(d>0&&!o){const e=l>c?2:0;!u&&I(h,s,t+d,e)&&(u=!0),!m&&I(p,a,t+d,e)&&(m=!0)}{const i=o?1:0;!u&&I(h,s,n,i)&&(e.start=t+c,u=!0),!m&&I(p,a,n,i)&&(e.end=t+c,m=!0)}const g=c-l;u||(e.start=Math.max(0,h+g)),m||(e.end=Math.max(0,p+g)),e.start>e.end&&(e.end=e.start)}function D(e,t){if(e.root===L)return t.parent=L,t.left=L,t.right=L,_(t,0),e.root=t,e.root;!function(e,t){let n=0,i=e.root;const o=t.start,r=t.end;for(;;){if(B(o,r,i.start+n,i.end+n)<0){if(i.left===L){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===L){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=L,t.right=L,_(t,1)}(e,t),z(t.parent);let n=t;for(;n!==e.root&&1===b(n.parent);)if(n.parent===n.parent.parent.left){const t=n.parent.parent.right;1===b(t)?(_(n.parent,0),_(t,0),_(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&(n=n.parent,M(e,n)),_(n.parent,0),_(n.parent.parent,1),P(e,n.parent.parent))}else{const t=n.parent.parent.left;1===b(t)?(_(n.parent,0),_(t,0),_(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&(n=n.parent,P(e,n)),_(n.parent,0),_(n.parent.parent,1),M(e,n.parent.parent))}return _(e.root,0),t}function A(e,t){let n,i;if(t.left===L?(n=t.right,i=t,n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===L?(n=t.left,i=t):(i=function(e){for(;e.left!==L;)e=e.left;return e}(t.right),n=i.right,n.start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,_(n,0),t.detach(),R(),W(n),void(e.root.parent=L);let o,r=1===b(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,_(i,b(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==L&&(i.left.parent=i),i.right!==L&&(i.right.parent=i)),t.detach(),r)return z(n.parent),i!==t&&(z(i),z(i.parent)),void R();for(z(n),z(n.parent),i!==t&&(z(i),z(i.parent));n!==e.root&&0===b(n);)n===n.parent.left?(o=n.parent.right,1===b(o)&&(_(o,0),_(n.parent,1),M(e,n.parent),o=n.parent.right),0===b(o.left)&&0===b(o.right)?(_(o,1),n=n.parent):(0===b(o.right)&&(_(o.left,0),_(o,1),P(e,o),o=n.parent.right),_(o,b(n.parent)),_(n.parent,0),_(o.right,0),M(e,n.parent),n=e.root)):(o=n.parent.left,1===b(o)&&(_(o,0),_(n.parent,1),P(e,n.parent),o=n.parent.left),0===b(o.left)&&0===b(o.right)?(_(o,1),n=n.parent):(0===b(o.left)&&(_(o.right,0),_(o,1),M(e,o),o=n.parent.left),_(o,b(n.parent)),_(n.parent,0),_(o.left,0),P(e,n.parent),n=e.root));_(n,0),R()}function R(){L.parent=L,L.delta=0,L.start=0,L.end=0}function M(e,t){const n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==L&&(n.left.parent=t),n.parent=t.parent,t.parent===L?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,W(t),W(n)}function P(e,t){const n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==L&&(n.right.parent=t),n.parent=t.parent,t.parent===L?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,W(t),W(n)}function F(e){let t=e.end;if(e.left!==L){const n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==L){const n=e.right.maxEnd+e.delta;n>t&&(t=n)}return t}function W(e){e.maxEnd=F(e)}function z(e){for(;e!==L;){const t=F(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function B(e,t,n,i){return e===n?t-i:e-n}class j{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==V)return U(this.right);let e=this;for(;e.parent!==V&&e.parent.left!==e;)e=e.parent;return e.parent===V?V:e.parent}prev(){if(this.left!==V)return H(this.left);let e=this;for(;e.parent!==V&&e.parent.right!==e;)e=e.parent;return e.parent===V?V:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const V=new j(null,0);function U(e){for(;e.left!==V;)e=e.left;return e}function H(e){for(;e.right!==V;)e=e.right;return e}function q(e){return e===V?0:e.size_left+e.piece.length+q(e.right)}function $(e){return e===V?0:e.lf_left+e.piece.lineFeedCnt+$(e.right)}function K(){V.parent=V}function G(e,t){let n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==V&&(n.left.parent=t),n.parent=t.parent,t.parent===V?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function Y(e,t){let n=t.left;t.left=n.right,n.right!==V&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===V?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function Z(e,t){let n,i;if(t.left===V?(i=t,n=i.right):t.right===V?(i=t,n=i.left):(i=U(t.right),n=i.right),i===e.root)return e.root=n,n.color=0,t.detach(),K(),void(e.root.parent=V);let o,r=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,J(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,J(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==V&&(i.left.parent=i),i.right!==V&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,J(e,i)),t.detach(),n.parent.left===n){let t=q(n),i=$(n);if(t!==n.parent.size_left||i!==n.parent.lf_left){let o=t-n.parent.size_left,r=i-n.parent.lf_left;n.parent.size_left=t,n.parent.lf_left=i,Q(e,n.parent,o,r)}}if(J(e,n.parent),r)K();else{for(;n!==e.root&&0===n.color;)n===n.parent.left?(o=n.parent.right,1===o.color&&(o.color=0,n.parent.color=1,G(e,n.parent),o=n.parent.right),0===o.left.color&&0===o.right.color?(o.color=1,n=n.parent):(0===o.right.color&&(o.left.color=0,o.color=1,Y(e,o),o=n.parent.right),o.color=n.parent.color,n.parent.color=0,o.right.color=0,G(e,n.parent),n=e.root)):(o=n.parent.left,1===o.color&&(o.color=0,n.parent.color=1,Y(e,n.parent),o=n.parent.left),0===o.left.color&&0===o.right.color?(o.color=1,n=n.parent):(0===o.left.color&&(o.right.color=0,o.color=1,G(e,o),o=n.parent.left),o.color=n.parent.color,n.parent.color=0,o.left.color=0,Y(e,n.parent),n=e.root));n.color=0,K()}}function X(e,t){for(J(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){const n=t.parent.parent.right;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&G(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Y(e,t.parent.parent))}else{const n=t.parent.parent.left;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&Y(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,G(e,t.parent.parent))}e.root.color=0}function Q(e,t,n,i){for(;t!==e.root&&t!==V;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function J(e,t){let n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=q((t=t.parent).left)-t.size_left,i=$(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}V.parent=V,V.left=V,V.right=V,V.color=0;var ee=n(106);function te(e){let t;return t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length),t.set(e,0),t}class ne{constructor(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o}}function ie(e,t=!0){let n=[0],i=1;for(let t=0,o=e.length;t<o;t++){const r=e.charCodeAt(t);13===r?t+1<o&&10===e.charCodeAt(t+1)?(n[i++]=t+2,t++):n[i++]=t+1:10===r&&(n[i++]=t+1)}return t?te(n):n}class oe{constructor(e,t,n,i,o){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=o}}class re{constructor(e,t){this.buffer=e,this.lineStarts=t}}class se{constructor(e,t){this._pieces=[],this._tree=e,this._BOM=t,this._index=0,e.root!==V&&e.iterate(e.root,e=>(e!==V&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class ae{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,n=this._cache;for(let i=0;i<n.length;i++){let o=n[i];(null===o.node.parent||o.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){let e=[];for(const t of n)null!==t&&e.push(t);this._cache=e}}}class le{constructor(e,t,n){this.create(e,t,n)}create(e,t,n){this._buffers=[new re("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=V,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;let i=null;for(let t=0,n=e.length;t<n;t++)if(e[t].buffer.length>0){e[t].lineStarts||(e[t].lineStarts=ie(e[t].buffer));let n=new oe(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),i=this.rbInsertRight(i,n)}this._searchCache=new ae(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=65535-Math.floor(21845),n=2*t,i="",o=0,r=[];if(this.iterate(this.root,s=>{let a=this.getNodeContent(s),l=a.length;if(o<=t||o+l<n)return i+=a,o+=l,!0;let c=i.replace(/\r\n|\r|\n/g,e);return r.push(new re(c,ie(c))),i=a,o=l,!0}),o>0){let t=i.replace(/\r\n|\r|\n/g,e);r.push(new re(t,ie(t)))}this.create(r,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new se(this,e)}getOffsetAt(e,t){let n=0,i=this.root;for(;i!==V;)if(i.left!==V&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e){return n+=i.size_left,n+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1)}e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,n=0,i=e;for(;t!==V;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){let o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){let e=i-this.getOffsetAt(n+1,1);return new c.a(n+1,e+1)}return new c.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===V){let t=i-e-this.getOffsetAt(n+1,1);return new c.a(n+1,t+1)}t=t.right}return new c.a(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o}getValueInRange2(e,t){if(e.node===t.node){let n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}let n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start),r=i.substring(o+e.remainder,o+n.piece.length);for(n=n.next();n!==V;){let e=this._buffers[n.piece.bufferIndex].buffer,i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){r+=e.substring(i,i+t.remainder);break}r+=e.substr(i,n.piece.length),n=n.next()}return r}getLinesContent(){let e=[],t=0,n="",i=!1;return this.iterate(this.root,o=>{if(o===V)return!0;const r=o.piece;let s=r.length;if(0===s)return!0;const a=this._buffers[r.bufferIndex].buffer,l=this._buffers[r.bufferIndex].lineStarts,c=r.start.line,d=r.end.line;let h=l[c]+r.start.column;if(i&&(10===a.charCodeAt(h)&&(h++,s--),e[t++]=n,n="",i=!1,0===s))return!0;if(c===d)return this._EOLNormalized||13!==a.charCodeAt(h+s-1)?n+=a.substr(h,s):(i=!0,n+=a.substr(h,s-1)),!0;n+=this._EOLNormalized?a.substring(h,Math.max(h,l[c+1]-this._EOLLength)):a.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;for(let i=c+1;i<d;i++)n=this._EOLNormalized?a.substring(l[i],l[i+1]-this._EOLLength):a.substring(l[i],l[i+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;return this._EOLNormalized||13!==a.charCodeAt(l[d]+r.end.column-1)?n=a.substr(l[d],r.end.column):(i=!0,0===r.end.column?t--:n=a.substr(l[d],r.end.column-1)),!0}),i&&(e[t++]=n,n=""),e[t++]=n,e}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value}_getCharCode(e){if(e.remainder===e.node.piece.length){let t=e.node.next();if(!t)return 0;let n=this._buffers[t.piece.bufferIndex],i=this.offsetInBuffer(t.piece.bufferIndex,t.piece.start);return n.buffer.charCodeAt(i)}{let t=this._buffers[e.node.piece.bufferIndex],n=this.offsetInBuffer(e.node.piece.bufferIndex,e.node.piece.start)+e.remainder;return t.buffer.charCodeAt(n)}}getLineCharCode(e,t){let n=this.nodeAt2(e,t+1);return this._getCharCode(n)}getLineLength(e){if(e===this.getLineCount()){let t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength}findMatchesInNode(e,t,n,i,o,r,s,a,l,c,h){let u,p,m,g=this._buffers[e.piece.bufferIndex],f=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),b=this.offsetInBuffer(e.piece.bufferIndex,o),_=this.offsetInBuffer(e.piece.bufferIndex,r),v={line:0,column:0};t._wordSeparators?(p=g.buffer.substring(b,_),m=e=>e+b,t.reset(0)):(p=g.buffer,m=e=>e,t.reset(b));do{if(u=t.next(p),u){if(m(u.index)>=_)return c;this.positionInBuffer(e,m(u.index)-f,v);let t=this.getLineFeedCnt(e.piece.bufferIndex,o,v),r=v.line===o.line?v.column-o.column+i:v.column+1,s=r+u[0].length;if(h[c++]=Object(ee.d)(new d.a(n+t,r,n+t,s),u,a),m(u.index)+u[0].length>=_)return c;if(c>=l)return c}}while(u);return c}findMatchesLineByLine(e,t,n,i){const o=[];let r=0;const s=new ee.b(t.wordSeparators,t.regex);let a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];let l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let c=this.positionInBuffer(a.node,a.remainder),d=this.positionInBuffer(l.node,l.remainder);if(a.node===l.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,c,d,t,n,i,r,o),o;let h=e.startLineNumber,u=a.node;for(;u!==l.node;){let l=this.getLineFeedCnt(u.piece.bufferIndex,c,u.piece.end);if(l>=1){let a=this._buffers[u.piece.bufferIndex].lineStarts,d=this.offsetInBuffer(u.piece.bufferIndex,u.piece.start),p=a[c.line+l],m=h===e.startLineNumber?e.startColumn:1;if(r=this.findMatchesInNode(u,s,h,m,c,this.positionInBuffer(u,p-d),t,n,i,r,o),r>=i)return o;h+=l}let d=h===e.startLineNumber?e.startColumn-1:0;if(h===e.endLineNumber){const a=this.getLineContent(h).substring(d,e.endColumn-1);return r=this._findMatchesInLine(t,s,a,e.endLineNumber,d,r,o,n,i),o}if(r=this._findMatchesInLine(t,s,this.getLineContent(h).substr(d),h,d,r,o,n,i),r>=i)return o;h++,a=this.nodeAt2(h,1),u=a.node,c=this.positionInBuffer(a.node,a.remainder)}if(h===e.endLineNumber){let a=h===e.startLineNumber?e.startColumn-1:0;const l=this.getLineContent(h).substring(a,e.endColumn-1);return r=this._findMatchesInLine(t,s,l,e.endLineNumber,a,r,o,n,i),o}let p=h===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(l.node,s,h,p,c,d,t,n,i,r,o),o}_findMatchesInLine(e,t,n,i,o,r,s,a,l){const c=e.wordSeparators;if(!a&&e.simpleSearch){const t=e.simpleSearch,a=t.length,h=n.length;let p=-a;for(;-1!==(p=n.indexOf(t,p+a));)if((!c||Object(ee.e)(c,n,h,p,a))&&(s[r++]=new u.b(new d.a(i,p+1+o,i,p+1+a+o),null),r>=l))return r;return r}let h;t.reset(0);do{if(h=t.next(n),h&&(s[r++]=Object(ee.d)(new d.a(i,h.index+1+o,i,h.index+1+h[0].length+o),h,a),r>=l))return r}while(h);return r}insert(e,t,n=!1){if(this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==V){let{node:n,remainder:i,nodeStartOffset:o}=this.nodeAt(e),r=n.piece,s=r.bufferIndex,a=this.positionInBuffer(n,i);if(0===n.piece.bufferIndex&&r.end.line===this._lastChangeBufferPos.line&&r.end.column===this._lastChangeBufferPos.column&&o+r.length===e&&t.length<65535)return this.appendToNode(n,t),void this.computeBufferMetadata();if(o===e)this.insertContentToNodeLeft(t,n),this._searchCache.validate(e);else if(o+n.piece.length>e){let e=[],o=new oe(r.bufferIndex,a,r.end,this.getLineFeedCnt(r.bufferIndex,a,r.end),this.offsetInBuffer(s,r.end)-this.offsetInBuffer(s,a));if(this.shouldCheckCRLF()&&this.endWithCR(t)){if(10===this.nodeCharCodeAt(n,i)){let e={line:o.start.line+1,column:0};o=new oe(o.bufferIndex,e,o.end,this.getLineFeedCnt(o.bufferIndex,e,o.end),o.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){if(13===this.nodeCharCodeAt(n,i-1)){let o=this.positionInBuffer(n,i-1);this.deleteNodeTail(n,o),t="\r"+t,0===n.piece.length&&e.push(n)}else this.deleteNodeTail(n,a)}else this.deleteNodeTail(n,a);let l=this.createNewPieces(t);o.length>0&&this.rbInsertRight(n,o);let c=n;for(let e=0;e<l.length;e++)c=this.rbInsertRight(c,l[e]);this.deleteNodes(e)}else this.insertContentToNodeRight(t,n)}else{let e=this.createNewPieces(t),n=this.rbInsertLeft(null,e[0]);for(let t=1;t<e.length;t++)n=this.rbInsertRight(n,e[t])}this.computeBufferMetadata()}delete(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",t<=0||this.root===V)return;let n=this.nodeAt(e),i=this.nodeAt(e+t),o=n.node,r=i.node;if(o===r){let r=this.positionInBuffer(o,n.remainder),s=this.positionInBuffer(o,i.remainder);if(n.nodeStartOffset===e){if(t===o.piece.length){let e=o.next();return Z(this,o),this.validateCRLFWithPrevNode(e),void this.computeBufferMetadata()}return this.deleteNodeHead(o,s),this._searchCache.validate(e),this.validateCRLFWithPrevNode(o),void this.computeBufferMetadata()}return n.nodeStartOffset+o.piece.length===e+t?(this.deleteNodeTail(o,r),this.validateCRLFWithNextNode(o),void this.computeBufferMetadata()):(this.shrinkNode(o,r,s),void this.computeBufferMetadata())}let s=[],a=this.positionInBuffer(o,n.remainder);this.deleteNodeTail(o,a),this._searchCache.validate(e),0===o.piece.length&&s.push(o);let l=this.positionInBuffer(r,i.remainder);this.deleteNodeHead(r,l),0===r.piece.length&&s.push(r);for(let e=o.next();e!==V&&e!==r;e=e.next())s.push(e);let c=0===o.piece.length?o.prev():o;this.deleteNodes(s),this.validateCRLFWithNextNode(c),this.computeBufferMetadata()}insertContentToNodeLeft(e,t){let n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){let i=t.piece,o={line:i.start.line+1,column:0},r=new oe(i.bufferIndex,o,i.end,this.getLineFeedCnt(i.bufferIndex,o,i.end),i.length-1);t.piece=r,e+="\n",Q(this,t,-1,-1),0===t.piece.length&&n.push(t)}let i=this.createNewPieces(e),o=this.rbInsertLeft(t,i[i.length-1]);for(let e=i.length-2;e>=0;e--)o=this.rbInsertLeft(o,i[e]);this.validateCRLFWithPrevNode(o),this.deleteNodes(n)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i;for(let e=1;e<n.length;e++)o=this.rbInsertRight(o,n[e]);this.validateCRLFWithPrevNode(i)}positionInBuffer(e,t,n){let i=e.piece,o=e.piece.bufferIndex,r=this._buffers[o].lineStarts,s=r[i.start.line]+i.start.column+t,a=i.start.line,l=i.end.line,c=0,d=0,h=0;for(;a<=l&&(c=a+(l-a)/2|0,h=r[c],c!==l);)if(d=r[c+1],s<h)l=c-1;else{if(!(s>=d))break;a=c+1}return n?(n.line=c,n.column=s-h,null):{line:c,column:s-h}}getLineFeedCnt(e,t,n){if(0===n.column)return n.line-t.line;let i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;let o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;let s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line}offsetInBuffer(e,t){return this._buffers[e].lineStarts[t.line]+t.column}deleteNodes(e){for(let t=0;t<e.length;t++)Z(this,e[t])}createNewPieces(e){if(e.length>65535){let t=[];for(;e.length>65535;){const n=e.charCodeAt(65534);let i;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));let o=ie(i);t.push(new oe(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new re(i,o))}let n=ie(e);return t.push(new oe(this._buffers.length,{line:0,column:0},{line:n.length-1,column:e.length-n[n.length-1]},n.length-1,e.length)),this._buffers.push(new re(e,n)),t}let t=this._buffers[0].buffer.length;const n=ie(e,!1);let i=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},i=this._lastChangeBufferPos;for(let e=0;e<n.length;e++)n[e]+=t+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+="_"+e,t+=1}else{if(0!==t)for(let e=0;e<n.length;e++)n[e]+=t;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+=e}const o=this._buffers[0].buffer.length;let r=this._buffers[0].lineStarts.length-1,s={line:r,column:o-this._buffers[0].lineStarts[r]},a=new oe(0,i,s,this.getLineFeedCnt(0,i,s),o-t);return this._lastChangeBufferPos=s,[a]}getLineRawContent(e,t=0){let n=this.root,i="",o=this._searchCache.get2(e);if(o){n=o.node;let r=this.getAccumulatedValue(n,e-o.nodeStartLineNumber-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(o.nodeStartLineNumber+n.piece.lineFeedCnt!==e){let i=this.getAccumulatedValue(n,e-o.nodeStartLineNumber);return s.substring(a+r,a+i-t)}i=s.substring(a+r,a+n.piece.length)}else{let o=0;const r=e;for(;n!==V;)if(n.left!==V&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){let i=this.getAccumulatedValue(n,e-n.lf_left-2),s=this.getAccumulatedValue(n,e-n.lf_left-1),a=this._buffers[n.piece.bufferIndex].buffer,l=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return o+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:o,nodeStartLineNumber:r-(e-1-n.lf_left)}),a.substring(l+i,l+s-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(n,e-n.lf_left-2),o=this._buffers[n.piece.bufferIndex].buffer,r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=o.substring(r+t,r+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,o+=n.size_left+n.piece.length,n=n.right}}for(n=n.next();n!==V;){let e=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){let o=this.getAccumulatedValue(n,0),r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=e.substring(r,r+o-t),i}{let t=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=e.substr(t,n.piece.length)}n=n.next()}return i}computeBufferMetadata(){let e=this.root,t=1,n=0;for(;e!==V;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.validate(this._length)}getIndexOf(e,t){let n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(t!==o)return{index:t,remainder:0}}return{index:o,remainder:i.column}}getAccumulatedValue(e,t){if(t<0)return 0;let n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column}deleteNodeTail(e,t){const n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),l=a-i,c=s-o,d=n.length+c;e.piece=new oe(n.bufferIndex,n.start,r,a,d),Q(this,e,c,l)}deleteNodeHead(e,t){const n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,l=o-this.offsetInBuffer(n.bufferIndex,r),c=n.length+l;e.piece=new oe(n.bufferIndex,r,n.end,s,c),Q(this,e,l,a)}shrinkNode(e,t,n){const i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,l=t,c=this.getLineFeedCnt(i.bufferIndex,i.start,l),d=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new oe(i.bufferIndex,i.start,l,c,d),Q(this,e,d-s,c-a);let h=new oe(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),u=this.rbInsertRight(e,h);this.validateCRLFWithPrevNode(u)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");const n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const o=ie(t,!1);for(let e=0;e<o.length;e++)o[e]+=i;if(n){let e=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-e}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(o.slice(1));const r=this._buffers[0].lineStarts.length-1,s={line:r,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[r]},a=e.piece.length+t.length,l=e.piece.lineFeedCnt,c=this.getLineFeedCnt(0,e.piece.start,s),d=c-l;e.piece=new oe(e.piece.bufferIndex,e.piece.start,s,c,a),this._lastChangeBufferPos=s,Q(this,e,t.length,d)}nodeAt(e){let t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};let i=0;for(;t!==V;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;let n={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(n),n}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null}nodeAt2(e,t){let n=this.root,i=0;for(;n!==V;)if(n.left!==V&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){let o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){let o=this.getAccumulatedValue(n,e-n.lf_left-2);if(o+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==V;){if(n.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(n,0),i=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,e),nodeStartOffset:i}}if(n.piece.length>=t-1){return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)}}t-=n.piece.length,n=n.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;let n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===V||0===e.piece.lineFeedCnt)return!1;let t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==V&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};const r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new oe(e.piece.bufferIndex,e.piece.start,n,s,r),Q(this,e,-1,-1),0===e.piece.length&&i.push(e);let a={line:t.piece.start.line+1,column:0};const l=t.piece.length-1,c=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new oe(t.piece.bufferIndex,a,t.piece.end,c,l),Q(this,t,-1,-1),0===t.piece.length&&i.push(t);let d=this.createNewPieces("\r\n");this.rbInsertRight(e,d[0]);for(let e=0;e<i.length;e++)Z(this,i[e])}adjustCarriageReturnFromNext(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)Z(this,n);else{const e=n.piece,t={line:e.start.line+1,column:0},i=e.length-1,o=this.getLineFeedCnt(e.bufferIndex,t,e.end);n.piece=new oe(e.bufferIndex,t,e.end,o,i),Q(this,n,-1,-1)}return!0}}return!1}iterate(e,t){if(e===V)return t(V);let n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n}getNodeContent(e){if(e===V)return"";let t,n=this._buffers[e.piece.bufferIndex],i=e.piece,o=this.offsetInBuffer(i.bufferIndex,i.start),r=this.offsetInBuffer(i.bufferIndex,i.end);return t=n.buffer.substring(o,r),t}getPieceContent(e){let t=this._buffers[e.bufferIndex],n=this.offsetInBuffer(e.bufferIndex,e.start),i=this.offsetInBuffer(e.bufferIndex,e.end);return t.buffer.substring(n,i)}rbInsertRight(e,t){let n=new j(t,1);if(n.left=V,n.right=V,n.parent=V,n.size_left=0,n.lf_left=0,this.root===V)this.root=n,n.color=0;else if(e.right===V)e.right=n,n.parent=e;else{let t=U(e.right);t.left=n,n.parent=t}return X(this,n),n}rbInsertLeft(e,t){let n=new j(t,1);if(n.left=V,n.right=V,n.parent=V,n.size_left=0,n.lf_left=0,this.root===V)this.root=n,n.color=0;else if(e.left===V)e.left=n,n.parent=e;else{let t=H(e.left);t.right=n,n.parent=t}return X(this,n),n}}var ce=n(124),de=n(180);class he{constructor(e,t,n,i,r,s,a){this._onDidChangeContent=new o.a,this._BOM=t,this._mightContainNonBasicASCII=!s,this._mightContainRTL=i,this._mightContainUnusualLineTerminators=r,this._pieceTree=new le(e,n,a)}dispose(){this._onDidChangeContent.dispose()}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(e){return this._pieceTree.createSnapshot(e?this._BOM:"")}getOffsetAt(e,t){return this._pieceTree.getOffsetAt(e,t)}getPositionAt(e){return this._pieceTree.getPositionAt(e)}getRangeAt(e,t){let n=e+t;const i=this.getPositionAt(e),o=this.getPositionAt(n);return new d.a(i.lineNumber,i.column,o.lineNumber,o.column)}getValueInRange(e,t=0){if(e.isEmpty())return"";const n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)}getValueLengthInRange(e,t=0){if(e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;let n=this.getOffsetAt(e.startLineNumber,e.startColumn);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n}getCharacterCountInRange(e,t=0){if(this._mightContainNonBasicASCII){let n=0;const i=e.startLineNumber,o=e.endLineNumber;for(let t=i;t<=o;t++){const r=this.getLineContent(t),a=t===i?e.startColumn-1:0,l=t===o?e.endColumn-1:r.length;for(let e=a;e<l;e++)s.F(r.charCodeAt(e))?(n+=1,e+=1):n+=1}return n+=this._getEndOfLine(t).length*(o-i),n}return this.getValueLengthInRange(e,t)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(e){return this._pieceTree.getLineContent(e)}getLineCharCode(e,t){return this._pieceTree.getLineCharCode(e,t)}getLineLength(e){return this._pieceTree.getLineLength(e)}getLineFirstNonWhitespaceColumn(e){const t=s.w(this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=s.J(this.getLineContent(e));return-1===t?0:t+2}_getEndOfLine(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}setEOL(e){this._pieceTree.setEOL(e)}applyEdits(e,t,n){let i=this._mightContainRTL,o=this._mightContainUnusualLineTerminators,r=this._mightContainNonBasicASCII,a=!0,l=[];for(let t=0;t<e.length;t++){let n=e[t];a&&n._isTracked&&(a=!1);let c=n.range;if(n.text){let e=!0;r||(e=!s.B(n.text),r=e),!i&&e&&(i=s.m(n.text)),!o&&e&&(o=s.n(n.text))}let d="",h=0,u=0,p=0;if(n.text){let e;[h,u,p,e]=Object(ce.f)(n.text);const t=this.getEOL(),i="\r\n"===t?2:1;d=0===e||e===i?n.text:n.text.replace(/\r\n|\r|\n/g,t)}l[t]={sortIndex:t,identifier:n.identifier||null,range:c,rangeOffset:this.getOffsetAt(c.startLineNumber,c.startColumn),rangeLength:this.getValueLengthInRange(c),text:d,eolCount:h,firstLineLength:u,lastLineLength:p,forceMoveMarkers:Boolean(n.forceMoveMarkers),isAutoWhitespaceEdit:n.isAutoWhitespaceEdit||!1}}l.sort(he._sortOpsAscending);let c=!1;for(let e=0,t=l.length-1;e<t;e++){let t=l[e].range.getEndPosition(),n=l[e+1].range.getStartPosition();if(n.isBeforeOrEqual(t)){if(n.isBefore(t))throw new Error("Overlapping ranges are not allowed!");c=!0}}a&&(l=this._reduceOperations(l));let d=n||t?he._getInverseEditRanges(l):[],h=[];if(t)for(let e=0;e<l.length;e++){let t=l[e],n=d[e];if(t.isAutoWhitespaceEdit&&t.range.isEmpty())for(let e=n.startLineNumber;e<=n.endLineNumber;e++){let i="";e===n.startLineNumber&&(i=this.getLineContent(t.range.startLineNumber),-1!==s.w(i))||h.push({lineNumber:e,oldContent:i})}}let p=null;if(n){let e=0;p=[];for(let t=0;t<l.length;t++){const n=l[t],i=d[t],o=this.getValueInRange(n.range),r=n.rangeOffset+e;e+=n.text.length-o.length,p[t]={sortIndex:n.sortIndex,identifier:n.identifier,range:i,text:o,textChange:new de.a(n.rangeOffset,o,r,n.text)}}c||p.sort((e,t)=>e.sortIndex-t.sortIndex)}this._mightContainRTL=i,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=r;const m=this._doApplyEdits(l);let g=null;if(t&&h.length>0){h.sort((e,t)=>t.lineNumber-e.lineNumber),g=[];for(let e=0,t=h.length;e<t;e++){let t=h[e].lineNumber;if(e>0&&h[e-1].lineNumber===t)continue;let n=h[e].oldContent,i=this.getLineContent(t);0!==i.length&&i!==n&&-1===s.w(i)&&g.push(t)}}return this._onDidChangeContent.fire(),new u.a(p,m,g)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1;const n=e[0].range,i=e[e.length-1].range,o=new d.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn);let r=n.startLineNumber,s=n.startColumn;const a=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],o=i.range;t=t||i.forceMoveMarkers,a.push(this.getValueInRange(new d.a(r,s,o.startLineNumber,o.startColumn))),i.text.length>0&&a.push(i.text),r=o.endLineNumber,s=o.endColumn}const l=a.join(""),[c,h,u]=Object(ce.f)(l);return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),text:l,eolCount:c,firstLineLength:h,lastLineLength:u,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(he._sortOpsDescending);let t=[];for(let n=0;n<e.length;n++){let i=e[n];const o=i.range.startLineNumber,r=i.range.startColumn,s=i.range.endLineNumber,a=i.range.endColumn;if(o===s&&r===a&&0===i.text.length)continue;i.text?(this._pieceTree.delete(i.rangeOffset,i.rangeLength),this._pieceTree.insert(i.rangeOffset,i.text,!0)):this._pieceTree.delete(i.rangeOffset,i.rangeLength);const l=new d.a(o,r,s,a);t.push({range:l,rangeLength:i.rangeLength,text:i.text,rangeOffset:i.rangeOffset,forceMoveMarkers:i.forceMoveMarkers})}return t}findMatchesLineByLine(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)}static _getInverseEditRanges(e){let t=[],n=0,i=0,o=null;for(let r=0,s=e.length;r<s;r++){let s,a,l,c=e[r];if(o?o.range.endLineNumber===c.range.startLineNumber?(s=n,a=i+(c.range.startColumn-o.range.endColumn)):(s=n+(c.range.startLineNumber-o.range.endLineNumber),a=c.range.startColumn):(s=c.range.startLineNumber,a=c.range.startColumn),c.text.length>0){const e=c.eolCount+1;l=1===e?new d.a(s,a,s,a+c.firstLineLength):new d.a(s,a,s+e-1,c.lastLineLength+1)}else l=new d.a(s,a,s,a);n=l.endLineNumber,i=l.endColumn,t.push(l),o=c}return t}static _sortOpsAscending(e,t){let n=d.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n}static _sortOpsDescending(e,t){let n=d.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n}}class ue{constructor(e,t,n,i,o,r,s,a,l){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._containsUnusualLineTerminators=s,this._isBasicASCII=a,this._normalizeEOL=l}_getEOL(e){const t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"}create(e){const t=this._getEOL(e);let n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,i=n.length;e<i;e++){let i=n[e].buffer.replace(/\r\n|\r|\n/g,t),o=ie(i);n[e]=new re(i,o)}return new he(n,this._bom,t,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL)}}class pe{constructor(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(e){if(0===e.length)return;0===this.chunks.length&&s.U(e)&&(this.BOM=s.b,e=e.substr(1));const t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){const t=function(e,t){e.length=0,e[0]=0;let n=1,i=0,o=0,r=0,s=!0;for(let a=0,l=t.length;a<l;a++){const c=t.charCodeAt(a);13===c?a+1<l&&10===t.charCodeAt(a+1)?(r++,e[n++]=a+2,a++):(i++,e[n++]=a+1):10===c?(o++,e[n++]=a+1):s&&9!==c&&(c<32||c>126)&&(s=!1)}const a=new ne(te(e),i,o,r,s);return e.length=0,a}(this._tmpLineStarts,e);this.chunks.push(new re(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.m(e)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=s.n(e))}finish(e=!0){return this._finish(),new ue(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=ie(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}class me{constructor(){this.changeType=1}}class ge{constructor(e,t){this.changeType=2,this.lineNumber=e,this.detail=t}}class fe{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class be{constructor(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n}}class _e{constructor(){this.changeType=5}}class ve{constructor(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i,this.resultingSelection=null}containsEvent(e){for(let t=0,n=this.changes.length;t<n;t++){if(this.changes[t].changeType===e)return!0}return!1}static merge(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.versionId,o=e.isUndoing||t.isUndoing,r=e.isRedoing||t.isRedoing;return new ve(n,i,o,r)}}class we{constructor(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}merge(e){const t=ve.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),n=we._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new we(t,n)}static _mergeChangeEvents(e,t){return{changes:[].concat(e.changes).concat(t.changes),eol:t.eol,versionId:t.versionId,isUndoing:e.isUndoing||t.isUndoing,isRedoing:e.isRedoing||t.isRedoing,isFlush:e.isFlush||t.isFlush}}}var ye=n(15),Ce=n(111),xe=n(12),Se=n(90),ke=n(158),Ee=n(11);class Te{constructor(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}_reset(e){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,e&&this._setBeginState(0,e)}flush(e){this._reset(e)}get invalidLineStartIndex(){return this._invalidLineStartIndex}_invalidateLine(e){e<this._len&&(this._valid[e]=!1),e<this._invalidLineStartIndex&&(this._invalidLineStartIndex=e)}_isValid(e){return e<this._len&&this._valid[e]}getBeginState(e){return e<this._len?this._beginState[e]:null}_ensureLine(e){for(;e>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let n=[],i=[];for(let e=0;e<t;e++)n[e]=null,i[e]=!1;this._beginState=ye.a(this._beginState,e,n),this._valid=ye.a(this._valid,e,i),this._len+=t}_setValid(e,t){this._ensureLine(e),this._valid[e]=t}_setBeginState(e,t){this._ensureLine(e),this._beginState[e]=t}setEndState(e,t,n){if(this._setValid(t,!0),this._invalidLineStartIndex=t+1,t===e-1)return;const i=this.getBeginState(t+1);if(null===i||!n.equals(i))return this._setBeginState(t+1,n),void this._invalidateLine(t+1);let o=t+1;for(;o<e&&this._isValid(o);)o++;this._invalidLineStartIndex=o}setFakeTokens(e){this._setValid(e,!1)}applyEdits(e,t){const n=e.endLineNumber-e.startLineNumber,i=t;for(let t=Math.min(n,i);t>=0;t--)this._invalidateLine(e.startLineNumber+t-1);this._acceptDeleteRange(e),this._acceptInsertText(new c.a(e.startLineNumber,e.startColumn),t)}_acceptDeleteRange(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)}}class Le extends r.a{constructor(e){super(),this._isDisposed=!1,this._textModel=e,this._tokenizationStateStore=new Te,this._tokenizationSupport=null,this._register(xe.C.onDidChange(e=>{const t=this._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeRawContentFast(e=>{e.containsEvent(1)&&this._resetTokenizationState()})),this._register(this._textModel.onDidChangeContentFast(e=>{for(let t=0,n=e.changes.length;t<n;t++){const n=e.changes[t],[i]=Object(ce.f)(n.text);this._tokenizationStateStore.applyEdits(n.range,i)}this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeAttached(()=>{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){const[e,t]=function(e){const t=e.getLanguageIdentifier();let n=e.isTooLargeForTokenization()?null:xe.C.get(t.language),o=null;if(n)try{o=n.getInitialState()}catch(e){Object(i.e)(e),n=null}return[n,o]}(this._textModel);this._tokenizationSupport=e,this._tokenizationStateStore.flush(t),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&Ee.j(()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(e=this._textModel.getLineCount()){const t=new ce.b,n=ke.a.create(!1);for(;this._hasLinesToTokenize()&&!(n.elapsed()>1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)}tokenizeViewport(e,t){const n=new ce.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){const t=new ce.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)}isCheapToTokenize(e){if(!this._tokenizationSupport)return!0;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)}_hasLinesToTokenize(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()}_tokenizeOneInvalidLine(e){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t}_updateTokensUntilLine(e,t){if(!this._tokenizationSupport)return;const n=this._textModel.getLanguageIdentifier(),i=this._textModel.getLineCount(),o=t-1;for(let t=this._tokenizationStateStore.invalidLineStartIndex;t<=o;t++){const o=this._textModel.getLineContent(t+1),r=this._tokenizationStateStore.getBeginState(t),s=Ne(n,this._tokenizationSupport,o,r);e.add(t+1,s.tokens),this._tokenizationStateStore.setEndState(i,t,s.endState),t=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(e,t,n){if(!this._tokenizationSupport)return;if(n<=this._tokenizationStateStore.invalidLineStartIndex)return;if(t<=this._tokenizationStateStore.invalidLineStartIndex)return void this._updateTokensUntilLine(e,n);let i=this._textModel.getLineFirstNonWhitespaceColumn(t),o=[],r=null;for(let e=t-1;i>0&&e>=1;e--){let t=this._textModel.getLineFirstNonWhitespaceColumn(e);if(0!==t&&t<i){if(r=this._tokenizationStateStore.getBeginState(e-1),r)break;o.push(this._textModel.getLineContent(e)),i=t}}r||(r=this._tokenizationSupport.getInitialState());const s=this._textModel.getLanguageIdentifier();let a=r;for(let e=o.length-1;e>=0;e--){a=Ne(s,this._tokenizationSupport,o[e],a).endState}for(let i=t;i<=n;i++){let t=this._textModel.getLineContent(i),n=Ne(s,this._tokenizationSupport,t,a);e.add(i,n.tokens),this._tokenizationStateStore.setFakeTokens(i-1),a=n.endState}}}function Ne(e,t,n,o){let r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Se.e)(e.id,n,o,0)),Ce.a.convertToEndOffset(r.tokens,n.length),r}var Ie=n(73),Oe=n(39),De=n(114),Ae=n(119),Re=n(16);function Me(e){const t=new pe;return t.acceptChunk(e),t.finish()}function Pe(e,t){return("string"==typeof e?Me(e):e).create(t)}let Fe=0;class We{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,n=0;for(;;){let i=this._source.read();if(null===i)return this._eos=!0,0===t?null:e.join("");if(i.length>0&&(e[t++]=i,n+=i.length),n>=65536)return e.join("")}}}const ze=()=>{throw new Error("Invalid change accessor")};class Be{constructor(){this._searchCanceledBrand=void 0}}function je(e){return e instanceof Be?null:e}Be.INSTANCE=new Be;class Ve extends r.a{constructor(e,t,n,i=null,r){super(),this._onWillDispose=this._register(new o.a),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new Xe),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new o.a),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new o.a),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new o.a),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new o.a),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new o.a),this.onDidChangeAttached=this._onDidChangeAttached.event,this._eventEmitter=this._register(new Qe),Fe++,this.id="$model"+Fe,this.isForSimpleWidget=t.isForSimpleWidget,this._associatedResource=null==i?a.a.parse("inmemory://model/"+Fe):i,this._undoRedoService=r,this._attachedEditorCount=0,this._buffer=Pe(e,t.defaultEOL),this._options=Ve.resolveOptions(this._buffer,t);const l=this._buffer.getLineCount(),c=this._buffer.getValueLengthInRange(new d.a(1,1,l,this._buffer.getLineLength(l)+1),0);t.largeFileOptimizations?this._isTooLargeForTokenization=c>Ve.LARGE_FILE_SIZE_THRESHOLD||l>Ve.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=c>Ve.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=n||Se.a,this._languageRegistryListener=Oe.a.onDidChange(e=>{e.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=s.R(Fe),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Ue,this._commandManager=new p.a(this,r),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new ce.d,this._tokens2=new ce.e,this._tokenization=new Le(this)}static resolveOptions(e,t){if(t.detectIndentation){const n=f(e,t.tabSize,t.insertSpaces);return new u.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new u.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}onDidChangeRawContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.rawContentChangedEvent))}onDidChangeContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.contentChangedEvent))}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._isDisposing=!1}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(e,t){this._isDisposing||this._eventEmitter.fire(new we(e,t))}setValue(e){if(this._assertNotDisposed(),null===e)return;const t=Pe(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}_createContentChanged2(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}}setValueFromTextBuffer(e){if(this._assertNotDisposed(),null===e)return;const t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ue,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new ve([new me],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();const t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new ve([new _e],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)}_onAfterEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let n=0,i=t.length;n<i;n++){const i=t[n],o=i.cachedAbsoluteStart-i.start,r=this._buffer.getOffsetAt(i.range.startLineNumber,i.range.startColumn),s=this._buffer.getOffsetAt(i.range.endLineNumber,i.range.endColumn);i.cachedAbsoluteStart=r,i.cachedAbsoluteEnd=s,i.cachedVersionId=e,i.start=r-o,i.end=s-o,W(i)}}onBeforeAttached(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}onBeforeDetached(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0;const n=this._buffer.getLineCount();for(let i=1;i<=n;i++){const n=this._buffer.getLineLength(i);n>=1e4?t+=n:e+=n}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new u.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(this._options.equals(r))return;let s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}detectIndentation(e,t){this._assertNotDisposed();let n=f(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})}static _normalizeIndentationFromWhitespace(e,t,n){let i=0;for(let n=0;n<e.length;n++)"\t"===e.charAt(n)?i+=t:i++;let o="";if(!n){let e=Math.floor(i/t);i%=t;for(let t=0;t<e;t++)o+="\t"}for(let e=0;e<i;e++)o+=" ";return o}static normalizeIndentation(e,t,n){let i=s.w(e);return-1===i&&(i=e.length),Ve._normalizeIndentationFromWhitespace(e.substring(0,i),t,n)+e.substring(i)}normalizeIndentation(e){return this._assertNotDisposed(),Ve.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){const t=this.findMatches(s.a.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new We(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){const t=this._buffer.getLineCount(),n=e.startLineNumber,i=e.startColumn;let o,r;if(n<1)o=1,r=1;else if(n>t)o=t,r=this.getLineMaxColumn(o);else if(o=0|n,i<=1)r=1;else{const e=this.getLineMaxColumn(o);r=i>=e?e:0|i}const s=e.endLineNumber,a=e.endColumn;let l,c;if(s<1)l=1,c=1;else if(s>t)l=t,c=this.getLineMaxColumn(l);else if(l=0|s,a<=1)c=1;else{const e=this.getLineMaxColumn(l);c=a>=e?e:0|a}return n===o&&i===r&&s===l&&a===c&&e instanceof d.a&&!(e instanceof h.a)?e:new d.a(o,r,l,c)}_isValidPosition(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){const n=this._buffer.getLineCharCode(e,t-2);if(s.F(n))return!1}return!0}_validatePosition(e,t,n){const i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new c.a(1,1);if(i>r)return new c.a(r,this.getLineMaxColumn(r));if(o<=1)return new c.a(i,1);const a=this.getLineMaxColumn(i);if(o>=a)return new c.a(i,a);if(1===n){const e=this._buffer.getLineCharCode(i,o-2);if(s.F(e))return new c.a(i,o-1)}return new c.a(i,o)}validatePosition(e){return this._assertNotDisposed(),e instanceof c.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){const n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){const e=i>1?this._buffer.getLineCharCode(n,i-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,a=s.F(e),l=s.F(t);return!a&&!l}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof d.a&&!(e instanceof h.a)&&this._isValidRange(e,1))return e;const t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column;{const e=o>1?this._buffer.getLineCharCode(i,o-2):0,t=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,n=s.F(e),l=s.F(t);return n||l?i===r&&o===a?new d.a(i,o-1,r,a-1):n&&l?new d.a(i,o-1,r,a+1):n?new d.a(i,o-1,r,a):new d.a(i,o,r,a+1):new d.a(i,o,r,a)}}modifyPosition(e,t){this._assertNotDisposed();let n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))}getFullModelRange(){this._assertNotDisposed();const e=this.getLineCount();return new d.a(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)}findMatches(e,t,n,i,o,r,s=999){this._assertNotDisposed();let a=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>d.a.isIRange(e))&&(a=t.map(e=>this.validateRange(e)))),null===a&&(a=[this.getFullModelRange()]),a=a.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);const l=[];let c;if(l.push(a.reduce((e,t)=>d.a.areIntersecting(e,t)?e.plusRange(t):(l.push(e),t))),!n&&e.indexOf("\n")<0){const t=new ee.a(e,n,i,o).parseSearchRequest();if(!t)return[];c=e=>this.findMatchesLineByLine(e,t,r,s)}else c=t=>ee.c.findMatches(this,new ee.a(e,n,i,o),t,r,s);return l.map(c).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,n,i,o,r){this._assertNotDisposed();const s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){const t=new ee.a(e,n,i,o).parseSearchRequest();if(!t)return null;const a=this.getLineCount();let l=new d.a(s.lineNumber,s.column,a,this.getLineMaxColumn(a)),c=this.findMatchesLineByLine(l,t,r,1);return ee.c.findNextMatch(this,new ee.a(e,n,i,o),s,r),c.length>0?c[0]:(l=new d.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),c=this.findMatchesLineByLine(l,t,r,1),c.length>0?c[0]:null)}return ee.c.findNextMatch(this,new ee.a(e,n,i,o),s,r)}findPreviousMatch(e,t,n,i,o,r){this._assertNotDisposed();const s=this.validatePosition(t);return ee.c.findPreviousMatch(this,new ee.a(e,n,i,o),s,r)}pushStackElement(){this._commandManager.pushStackElement()}pushEOL(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof u.f?e:new u.f(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this._validateEditOperation(e[n]);return t}pushEditOperations(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,this._validateEditOperations(t),n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(e,t,n){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){let n=t.map(e=>({range:this.validateRange(e.range),text:e.text})),i=!0;if(e)for(let t=0,o=e.length;t<o;t++){let o=e[t],r=!1;for(let e=0,t=n.length;e<t;e++){let t=n[e].range,i=t.startLineNumber>o.endLineNumber,s=o.startLineNumber>t.endLineNumber;if(!i&&!s){r=!0;break}}if(!r){i=!1;break}}if(i)for(let e=0,i=this._trimAutoWhitespaceLines.length;e<i;e++){let i=this._trimAutoWhitespaceLines[e],o=this.getLineMaxColumn(i),r=!0;for(let e=0,t=n.length;e<t;e++){let t=n[e].range,s=n[e].text;if(!(i<t.startLineNumber||i>t.endLineNumber)&&!(i===t.startLineNumber&&t.startColumn===o&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(0)||i===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(s.length-1))){r=!1;break}}if(r){const e=new d.a(i,1,i,o);t.push(new u.f(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,n)}_applyUndo(e,t,n,i){const o=e.map(e=>{const t=this.getPositionAt(e.newPosition),n=this.getPositionAt(e.newEnd);return{range:new d.a(t.lineNumber,t.column,n.lineNumber,n.column),text:e.oldText}});this._applyUndoRedoEdits(o,t,!0,!1,n,i)}_applyRedo(e,t,n,i){const o=e.map(e=>{const t=this.getPositionAt(e.oldPosition),n=this.getPositionAt(e.oldEnd);return{range:new d.a(t.lineNumber,t.column,n.lineNumber,n.column),text:e.newText}});this._applyUndoRedoEdits(o,t,!1,!0,n,i)}_applyUndoRedoEdits(e,t,n,i,o,r){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=n,this._isRedoing=i,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(r),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const n=this._validateEditOperations(e);return this._doApplyEdits(n,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){const n=this._buffer.getLineCount(),i=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),o=this._buffer.getLineCount(),r=i.changes;if(this._trimAutoWhitespaceLines=i.trimAutoWhitespaceLineNumbers,0!==r.length){let e=[],t=n;for(let n=0,i=r.length;n<i;n++){const i=r[n],[s,a,l]=Object(ce.f)(i.text);this._tokens.acceptEdit(i.range,s,a),this._tokens2.acceptEdit(i.range,s,a,l,i.text.length>0?i.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(i.rangeOffset,i.rangeLength,i.text.length,i.forceMoveMarkers);const c=i.range.startLineNumber,d=i.range.endLineNumber,h=d-c,u=s,p=Math.min(h,u),m=u-h;for(let n=p;n>=0;n--){const i=c+n,r=o-t-m+i;e.push(new ge(i,this.getLineContent(r)))}if(p<h){const t=c+p;e.push(new fe(t+1,d))}if(p<u){const n=c+p,i=u-p,r=o-t-i+n+1;let s=[];for(let e=0;e<i;e++){let t=r+e;s[t-r]=this.getLineContent(t)}e.push(new be(n+1,c+u,s))}t+=m}this._increaseVersionId(),this._emitContentChangedEvent(new ve(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:r,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===i.reverseEdits?void 0:i.reverseEdits}undo(){this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let n={addDecoration:(t,n)=>this._deltaDecorationsImpl(e,[],[{range:t,options:n}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,Ze(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,n)=>0===t.length&&0===n.length?[]:this._deltaDecorationsImpl(e,t,n)},o=null;try{o=t(n)}catch(e){Object(i.e)(e)}return n.addDecoration=ze,n.changeDecoration=ze,n.changeDecorationOptions=ze,n.removeDecoration=ze,n.deltaDecorations=ze,o}deltaDecorations(e,t,n=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,n){const i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:Ye[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;const o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),r,s,o),i.setOptions(Ye[n]),this._decorationsTree.insert(i),i.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;const t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,n=t.length;e<n;e++){const n=t[e];this._decorationsTree.delete(n),delete this._decorations[n.id]}}getDecorationOptions(e){const t=this._decorations[e];return t?t.options:null}getDecorationRange(e){const t=this._decorations[e];if(!t)return null;const n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}getLineDecorations(e,t=0,n=!1){return e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)}getLinesDecorations(e,t,n=0,i=!1){let o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new d.a(r,1,s,a),n,i)}getDecorationsInRange(e,t=0,n=!1){let i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)}getOverviewRulerDecorations(e=0,t=!1){const n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)}getAllDecorations(e=0,t=!1){const n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)}_getDecorationsInRange(e,t,n){const i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)}_ensureNodesHaveRanges(e){for(let t=0,n=e.length;t<n;t++){const n=e[t];null===n.range&&(n.range=this._getRangeAt(n.cachedAbsoluteStart,n.cachedAbsoluteEnd))}return e}_getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const n=this._decorations[e];if(!n)return;const i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),r=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,i),this._decorationsTree.insert(n),this._onDidChangeDecorations.checkAffectedAndFire(n.options)}_changeDecorationOptionsImpl(e,t){const n=this._decorations[e];if(!n)return;const i=!(!n.options.overviewRuler||!n.options.overviewRuler.color),o=!(!t.overviewRuler||!t.overviewRuler.color);this._onDidChangeDecorations.checkAffectedAndFire(n.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i!==o?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}_deltaDecorationsImpl(e,t,n){const i=this.getVersionId(),o=t.length;let r=0;const s=n.length;let a=0,l=new Array(s);for(;r<o||a<s;){let c=null;if(r<o){do{c=this._decorations[t[r++]]}while(!c&&r<o);c&&(this._decorationsTree.delete(c),this._onDidChangeDecorations.checkAffectedAndFire(c.options))}if(a<s){if(!c){const e=++this._lastDecorationId,t=`${this._instanceId};${e}`;c=new T(t,0,0),this._decorations[t]=c}const t=n[a],o=this._validateRangeRelaxedNoAllocations(t.range),r=Ze(t.options),s=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),d=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);c.ownerId=e,c.reset(i,s,d,o),c.setOptions(r),this._onDidChangeDecorations.checkAffectedAndFire(r),this._decorationsTree.insert(c),l[a]=c.id,a++}else c&&delete this._decorations[c.id]}return l}setTokens(e){if(0===e.length)return;let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];let o=0,r=0,s=!1;for(let e=0,t=i.tokens.length;e<t;e++){const t=i.startLineNumber+e;if(s)this._tokens.setTokens(this._languageIdentifier.id,t-1,this._buffer.getLineLength(t),i.tokens[e],!1),r=t;else{this._tokens.setTokens(this._languageIdentifier.id,t-1,this._buffer.getLineLength(t),i.tokens[e],!0)&&(s=!0,o=t,r=t)}}s&&t.push({fromLineNumber:o,toLineNumber:r})}t.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:t})}setSemanticTokens(e,t){this._tokens2.set(e,t),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasSemanticTokens(){return this._tokens2.isComplete()}setPartialSemanticTokens(e,t){if(this.hasSemanticTokens())return;const n=this._tokens2.setPartial(e,t);this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:n.startLineNumber,toLineNumber:n.endLineNumber}]})}tokenizeViewport(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(e){this._isDisposing||this._onDidChangeTokens.fire(e)}resetTokenization(){this._tokenization.reset()}forceTokenization(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){const t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(e){if(this._languageIdentifier.id===e.id)return;let t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(e,t){const n=this.validatePosition(new c.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))}getWordAtPosition(e){this._assertNotDisposed();const t=this.validatePosition(e),n=this.getLineContent(t.lineNumber),i=this._getLineTokens(t.lineNumber),o=i.findTokenIndexAtOffset(t.column-1),[r,s]=Ve._findLanguageBoundaries(i,o),a=Object(Ie.d)(t.column,Oe.a.getWordDefinition(i.getLanguageId(o)),n.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a;if(o>0&&r===t.column-1){const[r,s]=Ve._findLanguageBoundaries(i,o-1),a=Object(Ie.d)(t.column,Oe.a.getWordDefinition(i.getLanguageId(o-1)),n.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a}return null}static _findLanguageBoundaries(e,t){const n=e.getLanguageId(t);let i=0;for(let o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);let o=e.getLineContent().length;for(let i=t,r=e.getCount();i<r&&e.getLanguageId(i)===n;i++)o=e.getEndOffset(i);return[i,o]}getWordUntilPosition(e){const t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}}findMatchingBracketUp(e,t){let n=e.toLowerCase(),i=this.validatePosition(t),o=this._getLineTokens(i.lineNumber),r=o.getLanguageId(o.findTokenIndexAtOffset(i.column-1)),s=Oe.a.getBracketsSupport(r);if(!s)return null;let a=s.textIsBracket[n];return a?je(this._findMatchingBracketUp(a,i,null)):null}matchBracket(e){return this._matchBracket(this.validatePosition(e))}_matchBracket(e){const t=e.lineNumber,n=this._getLineTokens(t),i=n.getCount(),o=this._buffer.getLineContent(t),r=n.findTokenIndexAtOffset(e.column-1);if(r<0)return null;const s=Oe.a.getBracketsSupport(n.getLanguageId(r));if(s&&!Object(De.b)(n.getStandardTokenType(r))){let i=Math.max(0,e.column-1-s.maxBracketLength);for(let e=r-1;e>=0;e--){const t=n.getEndOffset(e);if(t<=i)break;Object(De.b)(n.getStandardTokenType(e))&&(i=t)}const a=Math.min(o.length,e.column-1+s.maxBracketLength);let l=null;for(;;){const n=Ae.a.findNextBracketInRange(s.forwardRegex,t,o,i,a);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){const e=o.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),t=this._matchFoundBracket(n,s.textIsBracket[e],s.textIsOpenBracket[e],null);if(t){if(t instanceof Be)return null;l=t}}i=n.endColumn-1}if(l)return l}if(r>0&&n.getStartOffset(r)===e.column-1){const s=r-1,a=Oe.a.getBracketsSupport(n.getLanguageId(s));if(a&&!Object(De.b)(n.getStandardTokenType(s))){const r=Math.max(0,e.column-1-a.maxBracketLength);let l=Math.min(o.length,e.column-1+a.maxBracketLength);for(let e=s+1;e<i;e++){const t=n.getStartOffset(e);if(t>=l)break;Object(De.b)(n.getStandardTokenType(e))&&(l=t)}const c=Ae.a.findPrevBracketInRange(a.reversedRegex,t,o,r,l);if(c&&c.startColumn<=e.column&&e.column<=c.endColumn){const e=o.substring(c.startColumn-1,c.endColumn-1).toLowerCase(),t=this._matchFoundBracket(c,a.textIsBracket[e],a.textIsOpenBracket[e],null);if(t)return t instanceof Be?null:t}}}return null}_matchFoundBracket(e,t,n,i){if(!t)return null;const o=n?this._findMatchingBracketDown(t,e.getEndPosition(),i):this._findMatchingBracketUp(t,e.getStartPosition(),i);return o?o instanceof Be?o:[e,o]:null}_findMatchingBracketUp(e,t,n){const i=e.languageIdentifier.id,o=e.reversedRegex;let r=-1,s=0;const a=(t,i,a,l)=>{for(;;){if(n&&++s%100==0&&!n())return Be.INSTANCE;const c=Ae.a.findPrevBracketInRange(o,t,i,a,l);if(!c)break;const d=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(d)?r++:e.isClose(d)&&r--,0===r)return c;l=c.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){const n=this._getLineTokens(e),o=n.getCount(),r=this._buffer.getLineContent(e);let s=o-1,l=r.length,c=r.length;e===t.lineNumber&&(s=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1);let d=!0;for(;s>=0;s--){const t=n.getLanguageId(s)===i&&!Object(De.b)(n.getStandardTokenType(s));if(t)d?l=n.getStartOffset(s):(l=n.getStartOffset(s),c=n.getEndOffset(s));else if(d&&l!==c){const t=a(e,r,l,c);if(t)return t}d=t}if(d&&l!==c){const t=a(e,r,l,c);if(t)return t}}return null}_findMatchingBracketDown(e,t,n){const i=e.languageIdentifier.id,o=e.forwardRegex;let r=1,s=0;const a=(t,i,a,l)=>{for(;;){if(n&&++s%100==0&&!n())return Be.INSTANCE;const c=Ae.a.findNextBracketInRange(o,t,i,a,l);if(!c)break;const d=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(d)?r++:e.isClose(d)&&r--,0===r)return c;a=c.endColumn-1}return null},l=this.getLineCount();for(let e=t.lineNumber;e<=l;e++){const n=this._getLineTokens(e),o=n.getCount(),r=this._buffer.getLineContent(e);let s=0,l=0,c=0;e===t.lineNumber&&(s=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1);let d=!0;for(;s<o;s++){const t=n.getLanguageId(s)===i&&!Object(De.b)(n.getStandardTokenType(s));if(t)d||(l=n.getStartOffset(s)),c=n.getEndOffset(s);else if(d&&l!==c){const t=a(e,r,l,c);if(t)return t}d=t}if(d&&l!==c){const t=a(e,r,l,c);if(t)return t}}return null}findPrevBracket(e){const t=this.validatePosition(e);let n=-1,i=null;for(let e=t.lineNumber;e>=1;e--){const o=this._getLineTokens(e),r=o.getCount(),s=this._buffer.getLineContent(e);let a=r-1,l=s.length,c=s.length;if(e===t.lineNumber){a=o.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const e=o.getLanguageId(a);n!==e&&(n=e,i=Oe.a.getBracketsSupport(n))}let d=!0;for(;a>=0;a--){const t=o.getLanguageId(a);if(n!==t){if(i&&d&&l!==c){const t=Ae.a.findPrevBracketInRange(i.reversedRegex,e,s,l,c);if(t)return this._toFoundBracket(i,t);d=!1}n=t,i=Oe.a.getBracketsSupport(n)}const r=!!i&&!Object(De.b)(o.getStandardTokenType(a));if(r)d?l=o.getStartOffset(a):(l=o.getStartOffset(a),c=o.getEndOffset(a));else if(i&&d&&l!==c){const t=Ae.a.findPrevBracketInRange(i.reversedRegex,e,s,l,c);if(t)return this._toFoundBracket(i,t)}d=r}if(i&&d&&l!==c){const t=Ae.a.findPrevBracketInRange(i.reversedRegex,e,s,l,c);if(t)return this._toFoundBracket(i,t)}}return null}findNextBracket(e){const t=this.validatePosition(e),n=this.getLineCount();let i=-1,o=null;for(let e=t.lineNumber;e<=n;e++){const n=this._getLineTokens(e),r=n.getCount(),s=this._buffer.getLineContent(e);let a=0,l=0,c=0;if(e===t.lineNumber){a=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const e=n.getLanguageId(a);i!==e&&(i=e,o=Oe.a.getBracketsSupport(i))}let d=!0;for(;a<r;a++){const t=n.getLanguageId(a);if(i!==t){if(o&&d&&l!==c){const t=Ae.a.findNextBracketInRange(o.forwardRegex,e,s,l,c);if(t)return this._toFoundBracket(o,t);d=!1}i=t,o=Oe.a.getBracketsSupport(i)}const r=!!o&&!Object(De.b)(n.getStandardTokenType(a));if(r)d||(l=n.getStartOffset(a)),c=n.getEndOffset(a);else if(o&&d&&l!==c){const t=Ae.a.findNextBracketInRange(o.forwardRegex,e,s,l,c);if(t)return this._toFoundBracket(o,t)}d=r}if(o&&d&&l!==c){const t=Ae.a.findNextBracketInRange(o.forwardRegex,e,s,l,c);if(t)return this._toFoundBracket(o,t)}}return null}findEnclosingBrackets(e,t){let n;if(void 0===t)n=null;else{const e=Date.now();n=()=>Date.now()-e<=t}const i=this.validatePosition(e),o=this.getLineCount(),r=new Map;let s=[];const a=(e,t)=>{if(!r.has(e)){let n=[];for(let e=0,i=t?t.brackets.length:0;e<i;e++)n[e]=0;r.set(e,n)}s=r.get(e)};let l=0;const c=(e,t,i,o,r)=>{for(;;){if(n&&++l%100==0&&!n())return Be.INSTANCE;const a=Ae.a.findNextBracketInRange(e.forwardRegex,t,i,o,r);if(!a)break;const c=i.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),d=e.textIsBracket[c];if(d&&(d.isOpen(c)?s[d.index]++:d.isClose(c)&&s[d.index]--,-1===s[d.index]))return this._matchFoundBracket(a,d,!1,n);o=a.endColumn-1}return null};let d=-1,h=null;for(let e=i.lineNumber;e<=o;e++){const t=this._getLineTokens(e),n=t.getCount(),o=this._buffer.getLineContent(e);let r=0,s=0,l=0;if(e===i.lineNumber){r=t.findTokenIndexAtOffset(i.column-1),s=i.column-1,l=i.column-1;const e=t.getLanguageId(r);d!==e&&(d=e,h=Oe.a.getBracketsSupport(d),a(d,h))}let u=!0;for(;r<n;r++){const n=t.getLanguageId(r);if(d!==n){if(h&&u&&s!==l){const t=c(h,e,o,s,l);if(t)return je(t);u=!1}d=n,h=Oe.a.getBracketsSupport(d),a(d,h)}const i=!!h&&!Object(De.b)(t.getStandardTokenType(r));if(i)u||(s=t.getStartOffset(r)),l=t.getEndOffset(r);else if(h&&u&&s!==l){const t=c(h,e,o,s,l);if(t)return je(t)}u=i}if(h&&u&&s!==l){const t=c(h,e,o,s,l);if(t)return je(t)}}return null}_toFoundBracket(e,t){if(!t)return null;let n=this.getValueInRange(t);n=n.toLowerCase();let i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null}static computeIndentLevel(e,t){let n=0,i=0,o=e.length;for(;i<o;){let o=e.charCodeAt(i);if(32===o)n++;else{if(9!==o)break;n=n-n%t+t}i++}return i===o?-1:n}_computeIndentLevel(e){return Ve.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)}getActiveIndentGuide(e,t,n){this._assertNotDisposed();const i=this.getLineCount();if(e<1||e>i)throw new Error("Illegal value for lineNumber");const o=Oe.a.getFoldingRules(this._languageIdentifier.id),r=Boolean(o&&o.offSide);let s=-2,a=-1,l=-2,c=-1;const d=e=>{if(-1!==s&&(-2===s||s>e-1)){s=-1,a=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){s=t,a=e;break}}}if(-2===l){l=-1,c=-1;for(let t=e;t<i;t++){let e=this._computeIndentLevel(t);if(e>=0){l=t,c=e;break}}}};let h=-2,u=-1,p=-2,m=-1;const g=e=>{if(-2===h){h=-1,u=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){h=t,u=e;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,m=-1;for(let t=e;t<i;t++){let e=this._computeIndentLevel(t);if(e>=0){p=t,m=e;break}}}};let f=0,b=!0,_=0,v=!0,w=0,y=0;for(let o=0;b||v;o++){const s=e-o,p=e+o;o>1&&(s<1||s<t)&&(b=!1),o>1&&(p>i||p>n)&&(v=!1),o>5e4&&(b=!1,v=!1);let C=-1;if(b){const e=this._computeIndentLevel(s-1);e>=0?(l=s-1,c=e,C=Math.ceil(e/this._options.indentSize)):(d(s),C=this._getIndentLevelForWhitespaceLine(r,a,c))}let x=-1;if(v){const e=this._computeIndentLevel(p-1);e>=0?(h=p-1,u=e,x=Math.ceil(e/this._options.indentSize)):(g(p),x=this._getIndentLevelForWhitespaceLine(r,u,m))}if(0!==o){if(1===o){if(p<=i&&x>=0&&y+1===x){b=!1,f=p,_=p,w=x;continue}if(s>=1&&C>=0&&C-1===y){v=!1,f=s,_=s,w=C;continue}if(f=e,_=e,w=y,0===w)return{startLineNumber:f,endLineNumber:_,indent:w}}b&&(C>=w?f=s:b=!1),v&&(x>=w?_=p:v=!1)}else y=C}return{startLineNumber:f,endLineNumber:_,indent:w}}getLinesIndentGuides(e,t){this._assertNotDisposed();const n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");const i=Oe.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide);let r=new Array(t-e+1),s=-2,a=-1,l=-2,c=-1;for(let i=e;i<=t;i++){let t=i-e;const d=this._computeIndentLevel(i-1);if(d>=0)s=i-1,a=d,r[t]=Math.ceil(d/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(let e=i-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){s=e,a=t;break}}}if(-1!==l&&(-2===l||l<i-1)){l=-1,c=-1;for(let e=i;e<n;e++){let t=this._computeIndentLevel(e);if(t>=0){l=e,c=t;break}}}r[t]=this._getIndentLevelForWhitespaceLine(o,a,c)}}return r}_getIndentLevelForWhitespaceLine(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n||e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)}}Ve.MODEL_SYNC_LIMIT=52428800,Ve.LARGE_FILE_SIZE_THRESHOLD=20971520,Ve.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,Ve.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:l.d.tabSize,indentSize:l.d.indentSize,insertSpaces:l.d.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:l.d.trimAutoWhitespace,largeFileOptimizations:l.d.largeFileOptimizations};class Ue{constructor(){this._decorationsTree0=new N,this._decorationsTree1=new N}intervalSearch(e,t,n,i,o){const r=this._decorationsTree0.intervalSearch(e,t,n,i,o),s=this._decorationsTree1.intervalSearch(e,t,n,i,o);return r.concat(s)}search(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);{const n=this._decorationsTree0.search(e,t,i),o=this._decorationsTree1.search(e,t,i);return n.concat(o)}}collectNodesFromOwner(e){const t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)}collectNodesPostOrder(){const e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)}insert(e){x(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){x(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}resolveNode(e,t){x(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i)}}function He(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class qe{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class $e extends qe{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:u.d.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;let n=e?t.getColor(e.id):null;return n?n.toString():""}}class Ke extends qe{constructor(e){super(e),this.position=e.position}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?Re.a.fromHex(e):t.getColor(e.id)}}class Ge{constructor(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?He(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new $e(e.overviewRuler):null,this.minimap=e.minimap?new Ke(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?He(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?He(e.linesDecorationsClassName):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?He(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?He(e.marginClassName):null,this.inlineClassName=e.inlineClassName?He(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?He(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?He(e.afterContentClassName):null}static register(e){return new Ge(e)}static createDynamic(e){return new Ge(e)}}Ge.EMPTY=Ge.register({});const Ye=[Ge.register({stickiness:0}),Ge.register({stickiness:1}),Ge.register({stickiness:2}),Ge.register({stickiness:3})];function Ze(e){return e instanceof Ge?e:Ge.createDynamic(e)}class Xe extends r.a{constructor(){super(),this._actual=this._register(new o.a),this.event=this._actual.event,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){if(this._deferredCnt--,0===this._deferredCnt&&this._shouldFire){const e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(e)}}checkAffectedAndFire(e){this._affectsMinimap||(this._affectsMinimap=!(!e.minimap||!e.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!(!e.overviewRuler||!e.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class Qe extends r.a{constructor(){super(),this._fastEmitter=this._register(new o.a),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new o.a),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;const t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))}}},function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function o(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return i(t,n)}function r(e){return o}var s,a,l,c,d,h,u,p,m,g,f,b,_,v,w,y,C,x,S,k,E;n.d(t,"g",(function(){return re})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return D})),n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return V})),n.d(t,"f",(function(){return H})),n.d(t,"h",(function(){return Mt})),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.number(t.line)&&ie.number(t.character)}}(s||(s={})),function(e){e.create=function(e,t,n,i){if(ie.number(e)&&ie.number(t)&&ie.number(n)&&ie.number(i))return{start:s.create(e,t),end:s.create(n,i)};if(s.is(e)&&s.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return ie.objectLiteral(t)&&s.is(t.start)&&s.is(t.end)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&(ie.string(t.uri)||ie.undefined(t.uri))}}(l||(l={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.targetRange)&&ie.string(t.targetUri)&&(a.is(t.targetSelectionRange)||ie.undefined(t.targetSelectionRange))&&(a.is(t.originSelectionRange)||ie.undefined(t.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ie.number(t.red)&&ie.number(t.green)&&ie.number(t.blue)&&ie.number(t.alpha)}}(d||(d={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return a.is(t.range)&&d.is(t.color)}}(h||(h={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ie.string(t.label)&&(ie.undefined(t.textEdit)||y.is(t))&&(ie.undefined(t.additionalTextEdits)||ie.typedArray(t.additionalTextEdits,y.is))}}(u||(u={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(p||(p={})),function(e){e.create=function(e,t,n,i,o){var r={startLine:e,endLine:t};return ie.defined(n)&&(r.startCharacter=n),ie.defined(i)&&(r.endCharacter=i),ie.defined(o)&&(r.kind=o),r},e.is=function(e){var t=e;return ie.number(t.startLine)&&ie.number(t.startLine)&&(ie.undefined(t.startCharacter)||ie.number(t.startCharacter))&&(ie.undefined(t.endCharacter)||ie.number(t.endCharacter))&&(ie.undefined(t.kind)||ie.string(t.kind))}}(m||(m={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ie.defined(t)&&l.is(t.location)&&ie.string(t.message)}}(g||(g={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(f||(f={})),function(e){e.Unnecessary=1,e.Deprecated=2}(b||(b={})),function(e){e.is=function(e){var t=e;return null!=t&&(ie.number(t.value)||ie.string(t.value))&&ie.string(t.target)}}(_||(_={})),function(e){e.create=function(e,t,n,i,o,r){var s={range:e,message:t};return ie.defined(n)&&(s.severity=n),ie.defined(i)&&(s.code=i),ie.defined(o)&&(s.source=o),ie.defined(r)&&(s.relatedInformation=r),s},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&ie.string(t.message)&&(ie.number(t.severity)||ie.undefined(t.severity))&&(ie.number(t.code)||ie.string(t.code)||ie.undefined(t.code))&&(ie.string(t.source)||ie.undefined(t.source))&&(ie.undefined(t.relatedInformation)||ie.typedArray(t.relatedInformation,g.is))}}(v||(v={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={title:e,command:t};return ie.defined(n)&&n.length>0&&(o.arguments=n),o},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.title)&&ie.string(t.command)}}(w||(w={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.string(t.newText)&&a.is(t.range)}}(y||(y={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ie.defined(t)&&L.is(t.textDocument)&&Array.isArray(t.edits)}}(C||(C={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(x||(x={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ie.string(t.oldUri)&&ie.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(S||(S={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ie.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ie.boolean(t.options.ignoreIfNotExists)))}}(k||(k={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ie.string(e.kind)?x.is(e)||S.is(e)||k.is(e):C.is(e)})))}}(E||(E={}));var T,L,N,I,O,D,A,R,M,P,F,W,z,B,j,V,U,H,q,$,K,G,Y,Z,X,Q,J,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(y.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(y.replace(e,t))},e.prototype.delete=function(e){this.edits.push(y.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(C.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new te(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(L.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:o=[]};this._workspaceEdit.documentChanges.push(n),i=new te(o),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var o=[];this._workspaceEdit.changes[e]=o,i=new te(o),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(x.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(S.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(k.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)}}(T||(T={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&(null===t.version||ie.number(t.version))}}(L||(L={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&ie.string(t.languageId)&&ie.number(t.version)&&ie.string(t.text)}}(N||(N={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(I||(I={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(I||(I={})),function(e){e.is=function(e){var t=e;return ie.objectLiteral(e)&&I.is(t.kind)&&ie.string(t.value)}}(O||(O={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(D||(D={})),function(e){e.PlainText=1,e.Snippet=2}(A||(A={})),function(e){e.Deprecated=1}(R||(R={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ie.string(t.newText)&&a.is(t.insert)&&a.is(t.replace)}}(M||(M={})),function(e){e.create=function(e){return{label:e}}}(P||(P={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(F||(F={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ie.string(t)||ie.objectLiteral(t)&&ie.string(t.language)&&ie.string(t.value)}}(W||(W={})),function(e){e.is=function(e){var t=e;return!!t&&ie.objectLiteral(t)&&(O.is(t.contents)||W.is(t.contents)||ie.typedArray(t.contents,W.is))&&(void 0===e.range||a.is(e.range))}}(z||(z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(B||(B={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={label:e};return ie.defined(t)&&(o.documentation=t),ie.defined(n)?o.parameters=n:o.parameters=[],o}}(j||(j={})),function(e){e.Text=1,e.Read=2,e.Write=3}(V||(V={})),function(e){e.create=function(e,t){var n={range:e};return ie.number(t)&&(n.kind=t),n}}(U||(U={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(H||(H={})),function(e){e.Deprecated=1}(q||(q={})),function(e){e.create=function(e,t,n,i,o){var r={name:e,kind:t,location:{uri:i,range:n}};return o&&(r.containerName=o),r}}($||($={})),function(e){e.create=function(e,t,n,i,o,r){var s={name:e,detail:t,kind:n,range:i,selectionRange:o};return void 0!==r&&(s.children=r),s},e.is=function(e){var t=e;return t&&ie.string(t.name)&&ie.number(t.kind)&&a.is(t.range)&&a.is(t.selectionRange)&&(void 0===t.detail||ie.string(t.detail))&&(void 0===t.deprecated||ie.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(K||(K={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(G||(G={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ie.defined(t)&&ie.typedArray(t.diagnostics,v.is)&&(void 0===t.only||ie.typedArray(t.only,ie.string))}}(Y||(Y={})),function(e){e.create=function(e,t,n){var i={title:e};return w.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ie.string(t.title)&&(void 0===t.diagnostics||ie.typedArray(t.diagnostics,v.is))&&(void 0===t.kind||ie.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||w.is(t.command))&&(void 0===t.isPreferred||ie.boolean(t.isPreferred))&&(void 0===t.edit||E.is(t.edit))}}(Z||(Z={})),function(e){e.create=function(e,t){var n={range:e};return ie.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&(ie.undefined(t.command)||w.is(t.command))}}(X||(X={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.number(t.tabSize)&&ie.boolean(t.insertSpaces)}}(Q||(Q={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&(ie.undefined(t.target)||ie.string(t.target))}}(J||(J={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&a.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,i){return new oe(e,t,n,i)},e.is=function(e){var t=e;return!!(ie.defined(t)&&ie.string(t.uri)&&(ie.undefined(t.languageId)||ie.string(t.languageId))&&ie.number(t.lineCount)&&ie.func(t.getText)&&ie.func(t.positionAt)&&ie.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,o=t.slice(0,i),r=t.slice(i);e(o,n),e(r,n);var s=0,a=0,l=0;for(;s<o.length&&a<r.length;){var c=n(o[s],r[a]);t[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)t[l++]=o[s++];for(;a<r.length;)t[l++]=r[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=n.length,r=i.length-1;r>=0;r--){var s=i[r],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=o))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),o=a}return n}}(ne||(ne={}));var ie,oe=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var o=t.charAt(i);n="\r"===o||"\n"===o,"\r"===o&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return s.create(0,e);for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var r=n-1;return s.create(r,e-t[r])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ie||(ie={}));var re,se,ae,le,ce,de=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,o=t;i<o.length;i++){var r=o[i];if(e.isIncremental(r)){var s=ue(r.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+r.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=he(r.text,!1,a);if(d-c===u.length)for(var p=0,m=u.length;p<m;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var g=r.text.length-(l-a);if(0!==g)for(p=c+1+u.length,m=h.length;p<m;p++)h[p]=h[p]+g}else{if(!e.isFull(r))throw new Error("Unknown change event received");this._content=r.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=he(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var r=n-1;return{line:r,character:e-t[r]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function he(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],o=0;o<e.length;o++){var r=e.charCodeAt(o);13!==r&&10!==r||(13===r&&o+1<e.length&&10===e.charCodeAt(o+1)&&o++,i.push(n+o+1))}return i}function ue(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function pe(e){var t=ue(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new de(e,t,n,i)},e.update=function(e,t,n){if(e instanceof de)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,o=[],r=0,s=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,o=t.slice(0,i),r=t.slice(i);e(o,n),e(r,n);var s=0,a=0,l=0;for(;s<o.length&&a<r.length;){var c=n(o[s],r[a]);t[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)t[l++]=o[s++];for(;a<r.length;)t[l++]=r[a++];return t}(t.map(pe),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));r<s.length;r++){var a=s[r],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&o.push(n.substring(i,l)),a.newText.length&&o.push(a.newText),i=e.offsetAt(a.range.end)}return o.push(n.substr(i)),o.join("")}}(re||(re={})),function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"}(se||(se={})),function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"}(ae||(ae={})),(le||(le={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[I.Markdown,I.PlainText]}},hover:{contentFormat:[I.Markdown,I.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(ce||(ce={}));var me=r(),ge=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index,t[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){for(;this.position+e.length<=this.source.length;){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){return this.advanceWhileChar((function(e){return e===Te||e===Le||e===Se||e===Ee||e===ke}))>0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),fe="!".charCodeAt(0),be="-".charCodeAt(0),_e="<".charCodeAt(0),ve=">".charCodeAt(0),we="/".charCodeAt(0),ye="=".charCodeAt(0),Ce='"'.charCodeAt(0),xe="'".charCodeAt(0),Se="\n".charCodeAt(0),ke="\r".charCodeAt(0),Ee="\f".charCodeAt(0),Te=" ".charCodeAt(0),Le="\t".charCodeAt(0),Ne={"text/x-handlebars-template":!0};function Ie(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=ae.WithinContent),void 0===i&&(i=!1);var o,r,s,a,l,c=new ge(e,t),d=n,h=0,u=se.Unknown;function p(){return c.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function m(e,t,n){return u=t,h=e,o=n,t}return{scan:function(){var e=c.pos(),t=d,n=function e(){var t,n=c.pos();if(c.eos())return m(n,se.EOS);switch(d){case ae.WithinComment:return c.advanceIfChars([be,be,ve])?(d=ae.WithinContent,m(n,se.EndCommentTag)):(c.advanceUntilChars([be,be,ve]),m(n,se.Comment));case ae.WithinDoctype:return c.advanceIfChar(ve)?(d=ae.WithinContent,m(n,se.EndDoctypeTag)):(c.advanceUntilChar(ve),m(n,se.Doctype));case ae.WithinContent:if(c.advanceIfChar(_e)){if(!c.eos()&&c.peekChar()===fe){if(c.advanceIfChars([fe,be,be]))return d=ae.WithinComment,m(n,se.StartCommentTag);if(c.advanceIfRegExp(/^!doctype/i))return d=ae.WithinDoctype,m(n,se.StartDoctypeTag)}return c.advanceIfChar(we)?(d=ae.AfterOpeningEndTag,m(n,se.EndTagOpen)):(d=ae.AfterOpeningStartTag,m(n,se.StartTagOpen))}return c.advanceUntilChar(_e),m(n,se.Content);case ae.AfterOpeningEndTag:return p().length>0?(d=ae.WithinEndTag,m(n,se.EndTag)):c.skipWhitespace()?m(n,se.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(d=ae.WithinEndTag,c.advanceUntilChar(ve),n<c.pos()?m(n,se.Unknown,me("error.endTagNameExpected","End tag name expected.")):e());case ae.WithinEndTag:if(c.skipWhitespace())return m(n,se.Whitespace);if(c.advanceIfChar(ve))return d=ae.WithinContent,m(n,se.EndTagClose);if(i&&c.peekChar()===_e)return d=ae.WithinContent,m(n,se.EndTagClose,me("error.closingBracketMissing","Closing bracket missing."));t=me("error.closingBracketExpected","Closing bracket expected.");break;case ae.AfterOpeningStartTag:return s=p(),l=void 0,a=void 0,s.length>0?(r=!1,d=ae.WithinTag,m(n,se.StartTag)):c.skipWhitespace()?m(n,se.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(d=ae.WithinTag,c.advanceUntilChar(ve),n<c.pos()?m(n,se.Unknown,me("error.startTagNameExpected","Start tag name expected.")):e());case ae.WithinTag:return c.skipWhitespace()?(r=!0,m(n,se.Whitespace)):r&&(a=c.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(d=ae.AfterAttributeName,r=!1,m(n,se.AttributeName)):c.advanceIfChars([we,ve])?(d=ae.WithinContent,m(n,se.StartTagSelfClose)):c.advanceIfChar(ve)?(d="script"===s?l&&Ne[l]?ae.WithinContent:ae.WithinScriptContent:"style"===s?ae.WithinStyleContent:ae.WithinContent,m(n,se.StartTagClose)):i&&c.peekChar()===_e?(d=ae.WithinContent,m(n,se.StartTagClose,me("error.closingBracketMissing","Closing bracket missing."))):(c.advance(1),m(n,se.Unknown,me("error.unexpectedCharacterInTag","Unexpected character in tag.")));case ae.AfterAttributeName:return c.skipWhitespace()?(r=!0,m(n,se.Whitespace)):c.advanceIfChar(ye)?(d=ae.BeforeAttributeValue,m(n,se.DelimiterAssign)):(d=ae.WithinTag,e());case ae.BeforeAttributeValue:if(c.skipWhitespace())return m(n,se.Whitespace);var o=c.advanceIfRegExp(/^[^\s"'`=<>]+/);if(o.length>0)return c.peekChar()===ve&&c.peekChar(-1)===we&&(c.goBack(1),o=o.substr(0,o.length-1)),"type"===a&&(l=o),d=ae.WithinTag,r=!1,m(n,se.AttributeValue);var h=c.peekChar();return h===xe||h===Ce?(c.advance(1),c.advanceUntilChar(h)&&c.advance(1),"type"===a&&(l=c.getSource().substring(n+1,c.pos()-1)),d=ae.WithinTag,r=!1,m(n,se.AttributeValue)):(d=ae.WithinTag,r=!1,e());case ae.WithinScriptContent:for(var u=1;!c.eos();){var g=c.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===g.length)return c.goToEnd(),m(n,se.Script);if("\x3c!--"===g)1===u&&(u=2);else if("--\x3e"===g)u=1;else if("/"!==g[1])2===u&&(u=3);else{if(3!==u){c.goBack(g.length);break}u=2}}return d=ae.WithinContent,n<c.pos()?m(n,se.Script):e();case ae.WithinStyleContent:return c.advanceUntilRegExp(/<\/style/i),d=ae.WithinContent,n<c.pos()?m(n,se.Styles):e()}return c.advance(1),d=ae.WithinContent,m(n,se.Unknown,t)}();return n===se.EOS||e!==c.pos()||i&&(n===se.StartTagClose||n===se.EndTagClose)?n:(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+d),c.advance(1),m(e,se.Unknown))},getTokenType:function(){return u},getTokenOffset:function(){return h},getTokenLength:function(){return c.pos()-h},getTokenEnd:function(){return c.pos()},getTokenText:function(){return c.getSource().substring(h,c.pos())},getScannerState:function(){return d},getTokenError:function(){return o}}}function Oe(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var o=Math.floor((n+i)/2);t(e[o])?i=o:n=o+1}return n}var De=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Ae(e){return!!e&&function(e,t,n){for(var i=0,o=e.length-1;i<=o;){var r=(i+o)/2|0,s=n(e[r],t);if(s<0)i=r+1;else{if(!(s>0))return r;o=r-1}}return-(i+1)}(De,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}var Re=function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}return Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),e.prototype.isSameTag=function(e){return void 0===this.tag?void 0===e:void 0!==e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=Oe(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=Oe(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this},e}();function Me(e){for(var t=Ie(e,void 0,void 0,!0),n=new Re(0,e.length,[],void 0),i=n,o=-1,r=void 0,s=null,a=t.scan();a!==se.EOS;){switch(a){case se.StartTagOpen:var l=new Re(t.getTokenOffset(),e.length,[],i);i.children.push(l),i=l;break;case se.StartTag:i.tag=t.getTokenText();break;case se.StartTagClose:i.parent&&(i.end=t.getTokenEnd(),t.getTokenLength()?(i.startTagEnd=t.getTokenEnd(),i.tag&&Ae(i.tag)&&(i.closed=!0,i=i.parent)):i=i.parent);break;case se.StartTagSelfClose:i.parent&&(i.closed=!0,i.end=t.getTokenEnd(),i.startTagEnd=t.getTokenEnd(),i=i.parent);break;case se.EndTagOpen:o=t.getTokenOffset(),r=void 0;break;case se.EndTag:r=t.getTokenText().toLowerCase();break;case se.EndTagClose:for(var c=i;!c.isSameTag(r)&&c.parent;)c=c.parent;if(c.parent){for(;i!==c;)i.end=o,i.closed=!1,i=i.parent;i.closed=!0,i.endTagStart=o,i.end=t.getTokenEnd(),i=i.parent}break;case se.AttributeName:s=t.getTokenText(),(d=i.attributes)||(i.attributes=d={}),d[s]=null;break;case se.AttributeValue:var d,h=t.getTokenText();(d=i.attributes)&&s&&(d[s]=h,s=null)}a=t.scan()}for(;i.parent;)i.end=e.length,i.closed=!1,i=i.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}var Pe={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function Fe(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function We(e,t){for(var n="";t>0;)1==(1&t)&&(n+=e),e+=e,t>>>=1;return n}var ze="a".charCodeAt(0),Be="z".charCodeAt(0),je="A".charCodeAt(0),Ve="Z".charCodeAt(0),Ue="0".charCodeAt(0),He="9".charCodeAt(0);function qe(e,t){var n=e.charCodeAt(t);return ze<=n&&n<=Be||je<=n&&n<=Ve||Ue<=n&&n<=He}function $e(e){return void 0!==e}var Ke=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name.toLowerCase()]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t},e.prototype.provideValues=function(e,t){var n=this,i=[];t=t.toLowerCase();var o=function(e){e.forEach((function(e){e.name.toLowerCase()===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))},r=this._tagMap[e.toLowerCase()];return r?(o(r.attributes),o(this._globalAttributes),i):[]},e}();function Ge(e,t){var n={kind:t?"markdown":"plaintext",value:""};if(e.description){var i=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);i&&(n.value+=i.value)}if(e.references&&e.references.length>0&&(n.value+="\n\n",n.value+=t?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),""!==n.value)return n}var Ye=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Ze=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Xe=function(){function e(e){this.readDirectory=e,this.atributeCompletions=[]}return e.prototype.onHtmlAttributeValue=function(e){(function(e,t){var n=tt[e];if(n)return"string"==typeof n?n===t:-1!==n.indexOf(t);return!1})(e.tag,e.attribute)&&this.atributeCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return Ye(this,void 0,void 0,(function(){var n,i,o,r,s,l,c,d,h,u;return Ze(this,(function(p){switch(p.label){case 0:n={items:[],isIncomplete:!1},i=0,o=this.atributeCompletions,p.label=1;case 1:return i<o.length?(r=o[i],function(e){if(Fe(e,"http")||Fe(e,"https")||Fe(e,"//"))return!1;return!0}(s=function(e){return Fe(e,"'")||Fe(e,'"')?e.slice(1,-1):e}(e.getText(r.range)))?"."!==s&&".."!==s?[3,2]:(n.isIncomplete=!0,[3,4]):[3,4]):[3,5];case 2:return l=function(e,t,n){var i,o=e.lastIndexOf("/");if(-1===o)i=function(e,t,n){var i=et(e.start,t),o=et(e.end,n);return a.create(i,o)}(n,1,-1);else{var r=t.slice(o+1),s=et(n.end,-1-r.length),l=r.indexOf(" "),c=void 0;c=-1!==l?et(s,l):et(n.end,-1),i=a.create(s,c)}return i}(r.value,s,r.range),[4,this.providePathSuggestions(r.value,l,e,t)];case 3:for(c=p.sent(),d=0,h=c;d<h.length;d++)u=h[d],n.items.push(u);p.label=4;case 4:return i++,[3,1];case 5:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,i){return Ye(this,void 0,void 0,(function(){var o,r,s,a,l,c,d,h,u;return Ze(this,(function(p){switch(p.label){case 0:if(o=e.substring(0,e.lastIndexOf("/")+1),!(r=i.resolveReference(o||".",n.uri)))return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),s=[],[4,this.readDirectory(r)];case 2:for(a=p.sent(),l=0,c=a;l<c.length;l++)d=c[l],h=d[0],u=d[1],h.charCodeAt(0)!==Qe&&s.push(Je(h,u===ce.Directory,t));return[2,s];case 3:return p.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Qe=".".charCodeAt(0);function Je(e,t,n){return t?{label:e+="/",kind:D.Folder,textEdit:y.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:e,kind:D.File,textEdit:y.replace(n,e)}}function et(e,t){return s.create(e.line,e.character+t)}var tt={a:"href",area:"href",body:"background",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},nt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},it=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},ot=r(),rt=function(){function e(e,t){this.lsOptions=e,this.dataManager=t,this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,i,o){return nt(this,void 0,void 0,(function(){var r,s,a,l;return it(this,(function(c){switch(c.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n,o)];r=new Xe(this.lsOptions.fileSystemProvider.readDirectory),s=this.completionParticipants,this.completionParticipants=[r].concat(s),a=this.doComplete(e,t,n,o),c.label=1;case 1:return c.trys.push([1,,3,4]),[4,r.computeCompletions(e,i)];case 2:return l=c.sent(),[2,{isIncomplete:a.isIncomplete||l.isIncomplete,items:l.items.concat(a.items)}];case 3:return this.completionParticipants=s,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n,i){var o=this._doComplete(e,t,n,i);return this.convertCompletionList(o)},e.prototype._doComplete=function(e,t,n,i){var o={isIncomplete:!1,items:[]},r=this.completionParticipants,l=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)&&(!i||!1!==i[t.getId()])})),c=this.doesSupportMarkdown(),d=e.getText(),h=e.offsetAt(t),u=n.findNodeBefore(h);if(!u)return o;var p,m=Ie(d,u.start),g="";function f(t,n){return void 0===n&&(n=h),t>h&&(t=h),{start:e.positionAt(t),end:e.positionAt(n)}}function b(e,t){var n=f(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:e.name,kind:D.Property,documentation:Ge(e,c),textEdit:y.replace(n,e.name),insertTextFormat:A.PlainText})}))})),o}function _(e){for(var t=e;t>0;){var n=d.charAt(t-1);if("\n\r".indexOf(n)>=0)return d.substring(t,e);if(!st(n))return null;t--}return d.substring(0,e)}function v(e,t,n){void 0===n&&(n=h);var i=f(e,n),r=at(d,n,ae.WithinEndTag,se.EndTagClose)?"":">",s=u;for(t&&(s=s.parent);s;){var a=s.tag;if(a&&(!s.closed||s.endTagStart&&s.endTagStart>h)){var p={label:"/"+a,kind:D.Property,filterText:"/"+a,textEdit:y.replace(i,"/"+a+r),insertTextFormat:A.PlainText},m=_(s.start),g=_(e-1);if(null!==m&&null!==g&&m!==g){var b=m+"</"+a+r;p.textEdit=y.replace(f(e-1-g.length),b),p.filterText=g+"</"+a}return o.items.push(p),o}s=s.parent}return t||l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:"/"+e.name,kind:D.Property,documentation:Ge(e,c),filterText:"/"+e+r,textEdit:y.replace(i,"/"+e+r),insertTextFormat:A.PlainText})}))})),o}function w(t,n){if(i&&i.hideAutoCompleteProposals)return o;if(!Ae(n)){var r=e.positionAt(t);o.items.push({label:"</"+n+">",kind:D.Property,filterText:"</"+n+">",textEdit:y.insert(r,"$0</"+n+">"),insertTextFormat:A.Snippet})}return o}function C(e,t){return b(e,t),v(e,!0,t),o}function x(e,t){void 0===t&&(t=h);for(var i=h;i<t&&"<"!==d[i];)i++;var r=f(e,i),s=at(d,t,ae.AfterAttributeName,se.DelimiterAssign)?"":'="$1"',a=Object.create(null);return l.forEach((function(e){e.provideAttributes(g).forEach((function(e){if(!a[e.name]){a[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&s.length&&(n+=s,(e.valueSet||"style"===e.name)&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),o.items.push({label:e.name,kind:"handler"===e.valueSet?D.Function:D.Value,documentation:Ge(e,c),textEdit:y.replace(r,n),insertTextFormat:A.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!Fe(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return o.items.push({label:t,kind:D.Value,textEdit:y.replace(e,i[t]),insertTextFormat:A.Snippet})}))}(r,a),o}function S(n,i){var s,a,u,m;if(void 0===i&&(i=h),h>n&&h<=i&&(m=d[n],/^["']*$/.test(m))){var b=n+1,_=i;i>n&&d[i-1]===d[n]&&_--;var v=function(e,t,n){for(;t>n&&!st(e[t-1]);)t--;return t}(d,h,b),w=function(e,t,n){for(;t<n&&!st(e[t]);)t++;return t}(d,h,_);s=f(v,w),u=h>=b&&h<=_?d.substring(b,h):"",a=!1}else s=f(n,i),u=d.substring(n,h),a=!0;if(r.length>0)for(var C=g.toLowerCase(),x=p.toLowerCase(),S=f(n,i),k=0,E=r;k<E.length;k++){var L=E[k];L.onHtmlAttributeValue&&L.onHtmlAttributeValue({document:e,position:t,tag:C,attribute:x,value:u,range:S})}return l.forEach((function(e){e.provideValues(g,p).forEach((function(e){var t=a?'"'+e.name+'"':e.name;o.items.push({label:e.name,filterText:t,kind:D.Unit,documentation:Ge(e,c),textEdit:y.replace(s,t),insertTextFormat:A.PlainText})}))})),T(),o}function k(e){return h===m.getTokenEnd()&&(N=m.scan())===e&&m.getTokenOffset()===h?m.getTokenEnd():h}function E(){for(var n=0,i=r;n<i.length;n++){var o=i[n];o.onHtmlContent&&o.onHtmlContent({document:e,position:t})}return T()}function T(){for(var e,n,i,r=h-1,l=t.character;r>=0&&qe(d,r);)r--,l--;if(r>=0&&"&"===d[r]){var c=a.create(s.create(t.line,l-1),t);for(var u in Pe)if(n=";",i=void 0,(i=(e=u).length-n.length)>0?e.lastIndexOf(n)===i:0===i&&e===n){var p="&"+u;o.items.push({label:p,kind:D.Keyword,documentation:ot("entity.propose","Character entity representing '"+Pe[u]+"'"),textEdit:y.replace(c,p),insertTextFormat:A.PlainText})}}return o}for(var L,N=m.scan();N!==se.EOS&&m.getTokenOffset()<=h;){switch(N){case se.StartTagOpen:if(m.getTokenEnd()===h){var I=k(se.StartTag);return 0===t.line&&(L=void 0,L=f(h,I),o.items.push({label:"!DOCTYPE",kind:D.Property,documentation:"A preamble for an HTML document.",textEdit:y.replace(L,"!DOCTYPE html>"),insertTextFormat:A.PlainText})),C(h,I)}break;case se.StartTag:if(m.getTokenOffset()<=h&&h<=m.getTokenEnd())return b(m.getTokenOffset(),m.getTokenEnd());g=m.getTokenText();break;case se.AttributeName:if(m.getTokenOffset()<=h&&h<=m.getTokenEnd())return x(m.getTokenOffset(),m.getTokenEnd());p=m.getTokenText();break;case se.DelimiterAssign:if(m.getTokenEnd()===h){I=k(se.AttributeValue);return S(h,I)}break;case se.AttributeValue:if(m.getTokenOffset()<=h&&h<=m.getTokenEnd())return S(m.getTokenOffset(),m.getTokenEnd());break;case se.Whitespace:if(h<=m.getTokenEnd())switch(m.getScannerState()){case ae.AfterOpeningStartTag:return C(m.getTokenOffset(),k(se.StartTag));case ae.WithinTag:case ae.AfterAttributeName:return x(m.getTokenEnd());case ae.BeforeAttributeValue:return S(m.getTokenEnd());case ae.AfterOpeningEndTag:return v(m.getTokenOffset()-1,!1);case ae.WithinContent:return E()}break;case se.EndTagOpen:if(h<=m.getTokenEnd())return v(m.getTokenOffset()+1,!1,k(se.EndTag));break;case se.EndTag:if(h<=m.getTokenEnd())for(var O=m.getTokenOffset()-1;O>=0;){var R=d.charAt(O);if("/"===R)return v(O,!1,m.getTokenEnd());if(!st(R))break;O--}break;case se.StartTagClose:if(h<=m.getTokenEnd()&&g)return w(m.getTokenEnd(),g);break;case se.Content:if(h<=m.getTokenEnd())return E();break;default:if(h<=m.getTokenEnd())return o}N=m.scan()}return o},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var o=e.getText().charAt(i-1);if(">"===o){if((s=n.findNodeBefore(i))&&s.tag&&!Ae(s.tag)&&s.start<i&&(!s.endTagStart||s.endTagStart>i))for(var r=(a=Ie(e.getText(),s.start)).scan();r!==se.EOS&&a.getTokenEnd()<=i;){if(r===se.StartTagClose&&a.getTokenEnd()===i)return"$0</"+s.tag+">";r=a.scan()}}else if("/"===o){for(var s=n.findNodeBefore(i);s&&s.closed;)s=s.parent;if(s&&s.tag){var a;for(r=(a=Ie(e.getText(),s.start)).scan();r!==se.EOS&&a.getTokenEnd()<=i;){if(r===se.EndTagOpen&&a.getTokenEnd()===i)return s.tag+">";r=a.scan()}}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!$e(this.supportsMarkdown)){if(!$e(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(I.Markdown)}return this.supportsMarkdown},e}();function st(e){return/^\s*$/.test(e)}function at(e,t,n,i){for(var o=Ie(e,t,n),r=o.scan();r===se.Whitespace;)r=o.scan();return r===i}var lt=function(){function e(e,t){this.lsOptions=e,this.dataManager=t}return e.prototype.doHover=function(e,t,n){var i=this.convertContents.bind(this),o=this.doesSupportMarkdown(),r=e.offsetAt(t),s=n.findNodeAt(r);if(!s||!s.tag)return null;var a=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)}));function l(e,t,n){for(var r=function(n){var r=null;if(n.provideTags().forEach((function(n){if(n.name.toLowerCase()===e.toLowerCase()){var i=Ge(n,o);i||(i={kind:o?"markdown":"plaintext",value:""}),r={contents:i,range:t}}})),r)return r.contents=i(r.contents),{value:r}},s=0,l=a;s<l.length;s++){var c=r(l[s]);if("object"==typeof c)return c.value}return null}function c(t,n){for(var i=Ie(e.getText(),n),o=i.scan();o!==se.EOS&&(i.getTokenEnd()<r||i.getTokenEnd()===r&&o!==t);)o=i.scan();return o===t&&r<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(s.endTagStart&&r>=s.endTagStart){var d=c(se.EndTag,s.endTagStart);return d?l(s.tag,d):null}var h=c(se.StartTag,s.start);if(h)return l(s.tag,h);var u=c(se.AttributeName,s.start);if(u)return function(e,t,n){for(var r=function(r){var s=null;if(r.provideAttributes(e).forEach((function(e){if(t===e.name&&e.description){var i=Ge(e,o);s=i?{contents:i,range:n}:null}})),s)return s.contents=i(s.contents),{value:s}},s=0,l=a;s<l.length;s++){var c=r(l[s]);if("object"==typeof c)return c.value}return null}(m=s.tag,e.getText(u),u);var p=c(se.AttributeValue,s.start);if(p){var m=s.tag,g=function(e){if(e.length<=1)return e.replace(/['"]/,"");"'"!==e[0]&&'"'!==e[0]||(e=e.slice(1));"'"!==e[e.length-1]&&'"'!==e[e.length-1]||(e=e.slice(0,-1));return e}(e.getText(p)),f=function(t,n){for(var i=Ie(e.getText(),t),o=i.scan(),r=void 0;o!==se.EOS&&i.getTokenEnd()<=n;)(o=i.scan())===se.AttributeName&&(r=i.getTokenText());return r}(s.start,e.offsetAt(p.start));if(f)return function(e,t,n,r){for(var s=function(s){var a=null;if(s.provideValues(e,t).forEach((function(e){if(n===e.name&&e.description){var t=Ge(e,o);a=t?{contents:t,range:r}:null}})),a)return a.contents=i(a.contents),{value:a}},l=0,c=a;l<c.length;l++){var d=s(c[l]);if("object"==typeof d)return d.value}return null}(m,f,g,p)}return null},e.prototype.convertContents=function(e){if(!this.doesSupportMarkdown()){if("string"==typeof e)return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(!Array.isArray(e))return e.value;e.map((function(e){return"string"==typeof e?e:e.value}))}return e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!$e(this.supportsMarkdown)){if(!$e(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities)||void 0===e?void 0:e.textDocument)||void 0===t?void 0:t.hover)||void 0===n?void 0:n.contentFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(I.Markdown)}return this.supportsMarkdown},e}();function ct(e,t){return e}var dt=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function o(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,t){this.__indent_cache=new o(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},o.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},o.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},o.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var o=this.__lines[n];if(o.is_empty())break;if(0!==o.item(0).indexOf(e)&&o.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=r},,,,function(e,t,n){function i(e,t){this.raw_options=o(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function o(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=r,e.exports.mergeOpts=o},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function o(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}o.prototype.restart=function(){this.__position=0},o.prototype.back=function(){this.__position>0&&(this.__position-=1)},o.prototype.hasNext=function(){return this.__position<this.__input_length},o.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},o.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},o.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},o.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},o.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},o.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},o.prototype.read=function(e,t,n){var i,o="";return e&&(i=this.match(e))&&(o+=i[0]),!t||!i&&e||(o+=this.readUntil(t,n)),o},o.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var o=e.exec(this.__input);return o?(i=o.index,t&&(i+=o[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},o.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},o.prototype.get_regexp=function(e,t){var n=null,o="g";return t&&i&&(o="y"),"string"==typeof e&&""!==e?n=new RegExp(e,o):e&&(n=new RegExp(e.source,o)),n},o.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},o.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},o.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=o},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,o=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new o}},function(e,t,n){var i=n(17).Options,o=n(2).Output,r=n(8).InputScanner,s=new(0,n(13).Directives)(/\/\*/,/\*\//),a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,d=/(?:\s|\n)+/g,h=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=!0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&a.test(e||"")&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new o(this._options,n),this._input=new r(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,g=!1,f=!1,b=!1,_=!1,v=!1,w=this._ch;i=""!==this._input.read(d),p=w,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(h),C=s.get_directives(y);C&&"start"===C.ignore&&(y+=s.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var x=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);x.match(/[ :]$/)&&(x=this.eatString(": ").replace(/\s$/,""),this.print_string(x),this._output.space_before_token=!0),"extend"===(x=x.replace(/\s$/,""))?_=!0:"import"===x&&(v=!0),x in this.NESTED_AT_RULE?(this._nestedLevel+=1,x in this.CONDITIONAL_GROUP_RULE&&(b=!0)):g||0!==m||-1===x.indexOf(":")||(f=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(f&&(f=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),b?(b=!1,g=this._indentLevel>this._nestedLevel):g=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&g&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),v=!1,_=!1,f&&(this.outdent(),f=!1),this.print_string(this._ch),g=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!g&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),f||(f=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(f&&(this.outdent(),f=!1),_=!1,v=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||f||0!==m||v?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||f||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function o(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}o.prototype=new i,e.exports.Options=o}]),ht=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function o(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,t){this.__indent_cache=new o(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},o.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},o.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},o.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var o=this.__lines[n];if(o.is_empty())break;if(0!==o.item(0).indexOf(e)&&o.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=r},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=o(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function o(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=r,e.exports.mergeOpts=o},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function o(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}o.prototype.restart=function(){this.__position=0},o.prototype.back=function(){this.__position>0&&(this.__position-=1)},o.prototype.hasNext=function(){return this.__position<this.__input_length},o.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},o.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},o.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},o.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},o.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},o.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},o.prototype.read=function(e,t,n){var i,o="";return e&&(i=this.match(e))&&(o+=i[0]),!t||!i&&e||(o+=this.readUntil(t,n)),o},o.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var o=e.exec(this.__input);return o?(i=o.index,t&&(i+=o[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},o.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},o.prototype.get_regexp=function(e,t){var n=null,o="g";return t&&i&&(o="y"),"string"==typeof e&&""!==e?n=new RegExp(e,o):e&&(n=new RegExp(e.source,o)),n},o.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},o.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},o.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=o},function(e,t,n){var i=n(8).InputScanner,o=n(3).Token,r=n(10).TokenStream,s=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new r,this._reset();for(var t=new o(a.START,""),n=null,i=[],s=new r;t.type!==a.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)s.add(e),e=this._get_next_token(t,n);s.isEmpty()||(e.comments_before=s,s=new r),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new o(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=a},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function o(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new i,o.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},o.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],o=e.exec(t);o;)i.push(t.substring(n,o.index)),n=o.index+o[0].length,o=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=o},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1};function r(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}r.prototype=new i,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},r.prototype.read_options=function(e){var t=this._create();for(var n in o)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},r.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},r.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},r.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},r.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=r},,,,function(e,t,n){var i=n(19).Beautifier,o=n(20).Options;e.exports=function(e,t,n,o){return new i(e,t,n,o).beautify()},e.exports.defaultOptions=function(){return new o}},function(e,t,n){var i=n(20).Options,o=n(2).Output,r=n(21).Tokenizer,s=n(21).TOKEN,a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new o(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==s.TEXT&&e.previous.type!==s.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var d=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==s.EOF&&e.closed!==n;){if(n.type===s.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===s.EQUALS&&n.next.next&&n.next.next.type===s.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function h(e,t){return-1!==t.indexOf(e)}function u(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,o){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=o,this._tag_stack=null;var r=new i(t,"html");this._options=r,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&a.test(e)&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},o=new g,d=new c(this._options,n),h=new r(e,this._options).tokenize();this._tag_stack=new p(d);for(var u=null,m=h.next();m.type!==s.EOF;)m.type===s.TAG_OPEN||m.type===s.COMMENT?o=u=this._handle_tag_open(d,m,o,i):m.type===s.ATTRIBUTE||m.type===s.EQUALS||m.type===s.VALUE||m.type===s.TEXT&&!o.tag_complete?u=this._handle_inside_tag(d,m,o,h):m.type===s.TAG_CLOSE?u=this._handle_tag_close(d,m,o):m.type===s.TEXT?u=this._handle_text(d,m,o):d.add_raw_token(m),i=u,m=h.next();return d._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var o=n.has_wrapped_attrs,r={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===s.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===s.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===s.EQUALS||t.type===s.VALUE&&t.previous.type===s.EQUALS)&&e.set_space_before_token(!1),t.type===s.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),o=o||0!==t.newlines),this._is_wrap_attributes_force)){var a=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,d=0;do{if((l=i.peek(d)).type===s.ATTRIBUTE){c=!1;break}d+=1}while(d<4&&l.type!==s.EOF&&l.type!==s.TAG_CLOSE);a=!c}a&&(e.print_newline(!1),o=!0)}e.print_token(t),o=o||e.previous_token_wrapped(),n.has_wrapped_attrs=o}return r},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var o,r=t.text,s=1,a="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?o=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?o=this._css_beautify:"html"===n.custom_beautifier_name&&(o=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?s=0:"separate"===this._options.indent_scripts&&(s=-e.indent_level);var c=e.get_full_indent(s);if(r=r.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===r[0]&&r.match(/^(<!--|<!\[CDATA\[)/)){var d=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(r);if(!d)return void e.add_raw_token(t);a=c+d[1]+"\n",r=d[4],d[5]&&(l=c+d[5]),r=r.replace(/\n[ \t]*$/,""),(d[2]||-1!==d[3].indexOf("\n"))&&(d=d[3].match(/[ \t]+$/))&&(t.whitespace_before=d[0])}if(r)if(o){var h=function(){this.eol="\n"};h.prototype=this._options.raw_options,r=o(c+r,new h)}else{var u=t.whitespace_before;u&&(r=r.replace(new RegExp("\n("+u+")?","g"),"\n")),r=c+r.replace(/\n/g,"\n"+c)}a&&(r=r?a+r+"\n"+l:a+l),e.print_newline(!1),r&&(t.text=r,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var o=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===s.TAG_OPEN&&0===t.text.indexOf("</")?(e.add_raw_token(t),o.start_tag_token=this._tag_stack.try_pop(o.tag_name)):(e.traverse_whitespace(t),this._set_tag_position(e,t,o,n,i),o.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(o.alignment_size=t.text.length+1),o.tag_complete||o.is_unformatted||(e.alignment_size=o.alignment_size),o};var g=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===t.text&&">"===this.tag_check&&null!==t.next&&(this.tag_check=t.next.text)),this.tag_check=this.tag_check.toLowerCase(),t.type===s.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new g(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||h(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&h(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&h(t.tag_check,this._options.content_unformatted),t.is_inline_element=h(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,o){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=d(n.tag_check,t)))),h(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&o.type===s.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||o.type===s.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===o.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===o.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))};var f=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],b=["a","audio","del","ins","map","noscript","video"];m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==f.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==b.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function o(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new i,e.exports.Options=o},function(e,t,n){var i=n(9).Tokenizer,o=n(9).TOKEN,r=n(13).Directives,s=n(14).TemplatablePattern,a=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},c=new r(/<\!--/,/-->/),d=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new s(this._input).read_options(this._options),o=new a(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:o.starting_with(/{{!--/).until_after(/--}}/),handlebars:o.starting_with(/{{/).until_after(/}}/),handlebars_open:o.until(/[\n\r\t }]/),handlebars_raw_close:o.until(/}}/),comment:o.starting_with(/<!--/).until_after(/-->/),cdata:o.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:o.starting_with(/<!\[/).until_after(/]>/),processing:o.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var r=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=o.matching(r).until_after(r)}};(d.prototype=new i)._is_comment=function(e){return!1},d.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},d.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},d.prototype._reset=function(){this._current_tag_name=""},d.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(i,e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},d.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i));return t},d.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},d.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},d.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},d.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},d.prototype._read_attribute=function(e,t,n){var i=null,o="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var r=this._input.next();r+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,r)}else(o=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,o):this._create_token(l.ATTRIBUTE,o));return i},d.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},d.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]){var o=t.opened.text.substr(1).toLowerCase();if("script"===o||"style"===o){var r=this._read_comment_or_cdata(e);if(r)return r.type=l.TEXT,r;i=this._input.readUntil(new RegExp("</"+o+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(o)&&(i=this._input.readUntil(new RegExp("</"+o+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},d.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=d,e.exports.TOKEN=l}]);function ut(e,t,n){var i=e.getText(),o=!0,r=0,l=n.tabSize||4;if(t){for(var c=e.offsetAt(t.start),d=c;d>0&&ft(i,d-1);)d--;0===d||gt(i,d-1)?c=d:d<c&&(c=d+1);for(var h=e.offsetAt(t.end),u=h;u<i.length&&ft(i,u);)u++;(u===i.length||gt(i,u))&&(h=u),t=a.create(e.positionAt(c),e.positionAt(h));var p=i.substring(0,c);if(new RegExp(/.*[<][^>]*$/).test(p))return[{range:t,newText:i=i.substring(c,h)}];if(o=h===i.length,i=i.substring(c,h),0!==c){var m=e.offsetAt(s.create(t.start.line,0));r=function(e,t,n){var i=t,o=0,r=n.tabSize||4;for(;i<e.length;){var s=e.charAt(i);if(" "===s)o++;else{if("\t"!==s)break;o+=r}i++}return Math.floor(o/r)}(e.getText(),m,n)}}else t=a.create(s.create(0,0),e.positionAt(i.length));var g={indent_size:l,indent_char:n.insertSpaces?" ":"\t",indent_empty_lines:pt(n,"indentEmptyLines",!1),wrap_line_length:pt(n,"wrapLineLength",120),unformatted:mt(n,"unformatted",void 0),content_unformatted:mt(n,"contentUnformatted",void 0),indent_inner_html:pt(n,"indentInnerHtml",!1),preserve_newlines:pt(n,"preserveNewLines",!0),max_preserve_newlines:pt(n,"maxPreserveNewLines",32786),indent_handlebars:pt(n,"indentHandlebars",!1),end_with_newline:o&&pt(n,"endWithNewline",!1),extra_liners:mt(n,"extraLiners",void 0),wrap_attributes:pt(n,"wrapAttributes","auto"),wrap_attributes_indent_size:pt(n,"wrapAttributesIndentSize",void 0),eol:"\n"},f=function(e,t){return ht(e,t,ct,dt)}(i.replace(/^\s+/,""),g);if(r>0){var b=n.insertSpaces?We(" ",l*r):We("\t",r);f=f.split("\n").join("\n"+b),0===t.start.character&&(f=b+f)}return[{range:t,newText:f}]}function pt(e,t,n){if(e&&e.hasOwnProperty(t)){var i=e[t];if(null!==i)return i}return n}function mt(e,t,n){var i=pt(e,t,null);return"string"==typeof i?i.length>0?i.split(",").map((function(e){return e.trim().toLowerCase()})):[]:n}function gt(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function ft(e,t){return-1!==" \t".indexOf(e.charAt(t))}var bt=n(176);function _t(e){var t=e[0];return t!==e[e.length-1]||"'"!==t&&'"'!==t||(e=e.substr(1,e.length-2)),e}function vt(e,t,n,i,o,r){var s=_t(n);if(l=s,c=e.languageId,l.length&&("handlebars"!==c||!/{{.*}}/.test(l))&&/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(l)){var l,c;s.length<n.length&&(i++,o--);var d=function(e,t,n,i){if(!/^\s*javascript\:/i.test(t)&&!/[\n\r]/.test(t))return t=t.replace(/^\s*/g,""),/^https?:\/\//i.test(t)||/^file:\/\//i.test(t)?t:/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(Fe(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}(e.uri,s,t,r);if(d&&function(e){try{return bt.a.parse(e),!0}catch(e){return!1}}(d))return{range:a.create(e.positionAt(i),e.positionAt(o)),target:d}}}function wt(e,t){for(var n=[],i=Ie(e.getText(),0),o=i.scan(),r=void 0,s=!1,a=void 0,l={};o!==se.EOS;){switch(o){case se.StartTag:if(!a)s="base"===i.getTokenText().toLowerCase();break;case se.AttributeName:r=i.getTokenText().toLowerCase();break;case se.AttributeValue:if("src"===r||"href"===r){var c=i.getTokenText();if(!s)(u=vt(e,t,c,i.getTokenOffset(),i.getTokenEnd(),a))&&n.push(u);s&&void 0===a&&(a=_t(c))&&t&&(a=t.resolveReference(a,e.uri)),s=!1,r=void 0}else if("id"===r){l[_t(i.getTokenText())]=i.getTokenOffset()}}o=i.scan()}for(var d=0,h=n;d<h.length;d++){var u=h[d],p=e.uri+"#";if(u.target&&Fe(u.target,p)){var m=l[u.target.substr(p.length)];if(void 0!==m){var g=e.positionAt(m);u.target=""+p+(g.line+1)+","+(g.character+1)}}}return n}function yt(e,t,n){var i=e.offsetAt(t),o=n.findNodeAt(i);if(!o.tag)return[];var r=[],s=St(se.StartTag,e,o.start),a="number"==typeof o.endTagStart&&St(se.EndTag,e,o.endTagStart);return(s&&xt(s,t)||a&&xt(a,t))&&(s&&r.push({kind:V.Read,range:s}),a&&r.push({kind:V.Read,range:a})),r}function Ct(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function xt(e,t){return Ct(e.start,t)&&Ct(t,e.end)}function St(e,t,n){for(var i=Ie(t.getText(),n),o=i.scan();o!==se.EOS&&o!==e;)o=i.scan();return o!==se.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function kt(e,t){var n=[];return t.roots.forEach((function(t){!function e(t,n,i,o){var r=function(e){var t=e.tag;if(e.attributes){var n=e.attributes.id,i=e.attributes.class;n&&(t+="#"+n.replace(/[\"\']/g,"")),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map((function(e){return"."+e})).join(""))}return t||"?"}(n),s=l.create(t.uri,a.create(t.positionAt(n.start),t.positionAt(n.end))),c={name:r,location:s,containerName:i,kind:H.Field};o.push(c),n.children.forEach((function(n){e(t,n,r,o)}))}(e,t,"",n)})),n}function Et(e,t,n,i){var o,r=e.offsetAt(t),s=i.findNodeAt(r);if(!s.tag)return null;if(!function(e,t,n){if(e.endTagStart&&e.endTagStart+"</".length<=t&&t<=e.endTagStart+"</".length+n.length)return!0;return e.start+"<".length<=t&&t<=e.start+"<".length+n.length}(s,r,s.tag))return null;var a=[],l={start:e.positionAt(s.start+"<".length),end:e.positionAt(s.start+"<".length+s.tag.length)};if(a.push({range:l,newText:n}),s.endTagStart){var c={start:e.positionAt(s.endTagStart+"</".length),end:e.positionAt(s.endTagStart+"</".length+s.tag.length)};a.push({range:c,newText:n})}return{changes:((o={})[e.uri.toString()]=a,o)}}function Tt(e,t,n){var i=e.offsetAt(t),o=n.findNodeAt(i);if(!o.tag)return null;if(!o.endTagStart)return null;if(o.start+"<".length<=i&&i<=o.start+"<".length+o.tag.length){var r=i-"<".length-o.start+o.endTagStart+"</".length;return e.positionAt(r)}if(o.endTagStart+"</".length<=i&&i<=o.endTagStart+"</".length+o.tag.length){r=i-"</".length-o.endTagStart+o.start+"<".length;return e.positionAt(r)}return null}function Lt(e,t,n){var i=e.offsetAt(t),o=n.findNodeAt(i),r=o.tag?o.tag.length:0;return o.endTagStart&&(o.start+"<".length<=i&&i<=o.start+"<".length+r||o.endTagStart+"</".length<=i&&i<=o.endTagStart+"</".length+r)?[a.create(e.positionAt(o.start+"<".length),e.positionAt(o.start+"<".length+r)),a.create(e.positionAt(o.endTagStart+"</".length),e.positionAt(o.endTagStart+"</".length+r))]:null}function Nt(e,t){var n=Ie(e.getText()),i=n.scan(),o=[],r=[],s=null,a=-1;function l(e){o.push(e),a=e.startLine}for(;i!==se.EOS;){switch(i){case se.StartTag:var c=n.getTokenText(),d=e.positionAt(n.getTokenOffset()).line;r.push({startLine:d,tagName:c}),s=c;break;case se.EndTag:s=n.getTokenText();break;case se.StartTagClose:if(!s||!Ae(s))break;case se.EndTagClose:case se.StartTagSelfClose:for(var h=r.length-1;h>=0&&r[h].tagName!==s;)h--;if(h>=0){var u=r[h];r.length=h,(g=e.positionAt(n.getTokenOffset()).line-1)>(d=u.startLine)&&a!==d&&l({startLine:d,endLine:g})}break;case se.Comment:d=e.positionAt(n.getTokenOffset()).line;var m=n.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(m)if(m[1])r.push({startLine:d,tagName:""});else{for(h=r.length-1;h>=0&&r[h].tagName.length;)h--;if(h>=0){var g;u=r[h];r.length=h,(g=d)>(d=u.startLine)&&a!==d&&l({startLine:d,endLine:g,kind:p.Region})}}else d<(g=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line)&&l({startLine:d,endLine:g,kind:p.Comment})}i=n.scan()}var f=t&&t.rangeLimit||Number.MAX_VALUE;return o.length>f?function(e,t){e=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n}));for(var n=void 0,i=[],o=[],r=[],s=function(e,t){o[e]=t,t<30&&(r[t]=(r[t]||0)+1)},a=0;a<e.length;a++){var l=e[a];if(n){if(l.startLine>n.startLine)if(l.endLine<=n.endLine)i.push(n),n=l,s(a,i.length);else if(l.startLine>n.endLine){do{n=i.pop()}while(n&&l.startLine>n.endLine);n&&i.push(n),n=l,s(a,i.length)}}else n=l,s(a,0)}var c=0,d=0;for(a=0;a<r.length;a++){var h=r[a];if(h){if(h+c>t){d=a;break}c+=h}}var u=[];for(a=0;a<e.length;a++){var p=o[a];"number"==typeof p&&(p<d||p===d&&c++<t)&&u.push(e[a])}return u}(o,f):o}function It(e,t){return t.map((function(t){for(var n=function(e,t){var n=Me(e.getText()),i=e.offsetAt(t),o=n.findNodeAt(i),r=function(e){var t=e,n=[];for(;t.parent;)t=t.parent,(i=t,i.startTagEnd&&i.endTagStart&&i.startTagEnd<i.endTagStart?[[i.startTagEnd,i.endTagStart],[i.start,i.end]]:[[i.start,i.end]]).forEach((function(e){return n.push(e)}));var i;return n}(o);if(o.startTagEnd&&!o.endTagStart){if(o.startTagEnd!==o.end)return[[o.start,o.end]];var s=a.create(e.positionAt(o.startTagEnd-2),e.positionAt(o.startTagEnd));"/>"===e.getText(s)?r.unshift([o.start+1,o.startTagEnd-2]):r.unshift([o.start+1,o.startTagEnd-1]);var l=Ot(e,o,i);return r=l.concat(r)}if(!o.startTagEnd||!o.endTagStart)return r;if(r.unshift([o.start,o.end]),o.start<i&&i<o.startTagEnd){r.unshift([o.start+1,o.startTagEnd-1]);l=Ot(e,o,i);return r=l.concat(r)}return o.startTagEnd<=i&&i<=o.endTagStart?(r.unshift([o.startTagEnd,o.endTagStart]),r):(i>=o.endTagStart+2&&r.unshift([o.endTagStart+2,o.end-1]),r)}(e,t),i=void 0,o=void 0,r=n.length-1;r>=0;r--){var s=n[r];i&&s[0]===i[0]&&s[1]===i[1]||(o=ee.create(a.create(e.positionAt(n[r][0]),e.positionAt(n[r][1])),o)),i=s}return o||(o=ee.create(a.create(t,t))),o}))}function Ot(e,t,n){for(var i=a.create(e.positionAt(t.start),e.positionAt(t.end)),o=e.getText(i),r=n-t.start,s=Ie(o),l=s.scan(),c=t.start,d=[],h=!1,u=-1;l!==se.EOS;){switch(l){case se.AttributeName:if(r<s.getTokenOffset()){h=!1;break}r<=s.getTokenEnd()&&d.unshift([s.getTokenOffset(),s.getTokenEnd()]),h=!0,u=s.getTokenOffset();break;case se.AttributeValue:if(!h)break;var p=s.getTokenText();if(r<s.getTokenOffset()){d.push([u,s.getTokenEnd()]);break}r>=s.getTokenOffset()&&r<=s.getTokenEnd()&&(d.unshift([s.getTokenOffset(),s.getTokenEnd()]),('"'===p[0]&&'"'===p[p.length-1]||"'"===p[0]&&"'"===p[p.length-1])&&r>=s.getTokenOffset()+1&&r<=s.getTokenEnd()-1&&d.unshift([s.getTokenOffset()+1,s.getTokenEnd()-1]),d.push([u,s.getTokenEnd()]))}l=s.scan()}return d.map((function(e){return[e[0]+c,e[1]+c]}))}var Dt={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]},At=function(){function e(e){this.dataProviders=[],this.setDataProviders(!1!==e.useDefaultDataProvider,e.customDataProviders||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new Ke("html5",Dt)),(n=this.dataProviders).push.apply(n,t)},e.prototype.getDataProviders=function(){return this.dataProviders},e}(),Rt={};function Mt(e){void 0===e&&(e=Rt);var t=new At(e),n=new lt(e,t),i=new rt(e,t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:Ie,parseHTMLDocument:function(e){return Me(e.getText())},doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:ut,findDocumentHighlights:yt,findDocumentLinks:wt,findDocumentSymbols:kt,getFoldingRanges:Nt,getSelectionRanges:It,doTagComplete:i.doTagComplete.bind(i),doRename:Et,findMatchingTagPosition:Tt,findOnTypeRenameRanges:Lt}}},function(e,t,n){"use strict";var i,o=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},i=[],o=0;o<e.length;o++){var r=e[o],l=t.base?r[0]+t.base:r[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var h=a(d),u={css:r[1],media:r[2],sourceMap:r[3]};-1!==h?(s[h].references++,s[h].updater(u)):s.push({identifier:d,updater:f(u,t),references:1}),i.push(d)}return i}function c(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var o=n.nc;o&&(i.nonce=o)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var s=r(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var d,h=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function u(e,t,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=h(t,o);else{var r=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function p(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var m=null,g=0;function f(e,t){var n,i,o;if(t.singleton){var r=g++;n=m||(m=c(t)),i=u.bind(null,n,r,!1),o=u.bind(null,n,r,!0)}else n=c(t),i=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var o=a(n[i]);s[o].references--}for(var r=l(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===s[d].references&&(s[d].updater(),s.splice(d,1))}n=r}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=(s=i,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(l," */")),r=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(r).concat([o]).join("\n")}var s,a,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);i&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return u})),n.d(t,"l",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"g",(function(){return _})),n.d(t,"k",(function(){return v}));var i=n(6);class o{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new i.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function r(){return o.INSTANCE.getZoomLevel()}function s(){return o.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(e){return o.INSTANCE.onDidChangeZoomLevel(e)}function l(){return o.INSTANCE.getZoomFactor()}function c(){return o.INSTANCE.getPixelRatio()}o.INSTANCE=new o;const d=navigator.userAgent,h=d.indexOf("Edge/")>=0,u=d.indexOf("Firefox")>=0,p=d.indexOf("AppleWebKit")>=0,m=d.indexOf("Chrome")>=0,g=!m&&d.indexOf("Safari")>=0,f=!m&&!g&&p,b=d.indexOf("iPad")>=0||g&&navigator.maxTouchPoints>0,_=h&&d.indexOf("WebView/")>=0,v=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(1);class o{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){i.ab(this.domNode,e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function r(e){return new o(e)}},function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const i=[];if(0===n)return[i,t];const o=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=o.next();if(t.done)return[i,e.empty()];i.push(t.value)}return[i,{[Symbol.iterator]:()=>o}]}}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"f",(function(){return re})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return A})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return H})),n.d(t,"g",(function(){return yt}));var i,o,r,s,a,l,c,d,h,u,p,m,g,f,b,_,v,w,y,C,x=n(65);function S(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!S(e[n],t[n]))return!1}else{var o=[];for(i in e)o.push(i);o.sort();var r=[];for(i in t)r.push(i);if(r.sort(),!S(o,r))return!1;for(n=0;n<o.length;n++)if(!S(e[o[n]],t[o[n]]))return!1}return!0}function k(e){return"number"==typeof e}function E(e){return void 0!==e}function T(e){return"boolean"==typeof e}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.number(t.line)&&ie.number(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,o){if(ie.number(e)&&ie.number(t)&&ie.number(n)&&ie.number(o))return{start:i.create(e,t),end:i.create(n,o)};if(i.is(e)&&i.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+o+"]")},e.is=function(e){var t=e;return ie.objectLiteral(t)&&i.is(t.start)&&i.is(t.end)}}(o||(o={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ie.defined(t)&&o.is(t.range)&&(ie.string(t.uri)||ie.undefined(t.uri))}}(r||(r={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ie.defined(t)&&o.is(t.targetRange)&&ie.string(t.targetUri)&&(o.is(t.targetSelectionRange)||ie.undefined(t.targetSelectionRange))&&(o.is(t.originSelectionRange)||ie.undefined(t.originSelectionRange))}}(s||(s={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ie.number(t.red)&&ie.number(t.green)&&ie.number(t.blue)&&ie.number(t.alpha)}}(a||(a={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return o.is(t.range)&&a.is(t.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ie.string(t.label)&&(ie.undefined(t.textEdit)||b.is(t))&&(ie.undefined(t.additionalTextEdits)||ie.typedArray(t.additionalTextEdits,b.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(d||(d={})),function(e){e.create=function(e,t,n,i,o){var r={startLine:e,endLine:t};return ie.defined(n)&&(r.startCharacter=n),ie.defined(i)&&(r.endCharacter=i),ie.defined(o)&&(r.kind=o),r},e.is=function(e){var t=e;return ie.number(t.startLine)&&ie.number(t.startLine)&&(ie.undefined(t.startCharacter)||ie.number(t.startCharacter))&&(ie.undefined(t.endCharacter)||ie.number(t.endCharacter))&&(ie.undefined(t.kind)||ie.string(t.kind))}}(h||(h={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ie.defined(t)&&r.is(t.location)&&ie.string(t.message)}}(u||(u={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(p||(p={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e.create=function(e,t,n,i,o,r){var s={range:e,message:t};return ie.defined(n)&&(s.severity=n),ie.defined(i)&&(s.code=i),ie.defined(o)&&(s.source=o),ie.defined(r)&&(s.relatedInformation=r),s},e.is=function(e){var t=e;return ie.defined(t)&&o.is(t.range)&&ie.string(t.message)&&(ie.number(t.severity)||ie.undefined(t.severity))&&(ie.number(t.code)||ie.string(t.code)||ie.undefined(t.code))&&(ie.string(t.source)||ie.undefined(t.source))&&(ie.undefined(t.relatedInformation)||ie.typedArray(t.relatedInformation,u.is))}}(g||(g={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={title:e,command:t};return ie.defined(n)&&n.length>0&&(o.arguments=n),o},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.title)&&ie.string(t.command)}}(f||(f={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.string(t.newText)&&o.is(t.range)}}(b||(b={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ie.defined(t)&&N.is(t.textDocument)&&Array.isArray(t.edits)}}(_||(_={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(v||(v={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ie.string(t.oldUri)&&ie.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(w||(w={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ie.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ie.boolean(t.options.ignoreIfNotExists)))}}(y||(y={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ie.string(e.kind)?v.is(e)||w.is(e)||y.is(e):_.is(e)})))}}(C||(C={}));var L,N,I,O,D,A,R,M,P,F,W,z,B,j,V,U,H,q,$,K,G,Y,Z,X,Q,J,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(b.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(b.replace(e,t))},e.prototype.delete=function(e){this.edits.push(b.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(_.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new te(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(N.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:o=[]};this._workspaceEdit.documentChanges.push(n),i=new te(o),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var o=[];this._workspaceEdit.changes[e]=o,i=new te(o),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(v.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(w.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&(null===t.version||ie.number(t.version))}}(N||(N={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&ie.string(t.languageId)&&ie.number(t.version)&&ie.string(t.text)}}(I||(I={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(O||(O={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(O||(O={})),function(e){e.is=function(e){var t=e;return ie.objectLiteral(e)&&O.is(t.kind)&&ie.string(t.value)}}(D||(D={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(A||(A={})),function(e){e.PlainText=1,e.Snippet=2}(R||(R={})),function(e){e.Deprecated=1}(M||(M={})),function(e){e.create=function(e){return{label:e}}}(P||(P={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(F||(F={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ie.string(t)||ie.objectLiteral(t)&&ie.string(t.language)&&ie.string(t.value)}}(W||(W={})),function(e){e.is=function(e){var t=e;return!!t&&ie.objectLiteral(t)&&(D.is(t.contents)||W.is(t.contents)||ie.typedArray(t.contents,W.is))&&(void 0===e.range||o.is(e.range))}}(z||(z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(B||(B={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={label:e};return ie.defined(t)&&(o.documentation=t),ie.defined(n)?o.parameters=n:o.parameters=[],o}}(j||(j={})),function(e){e.Text=1,e.Read=2,e.Write=3}(V||(V={})),function(e){e.create=function(e,t){var n={range:e};return ie.number(t)&&(n.kind=t),n}}(U||(U={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(H||(H={})),function(e){e.Deprecated=1}(q||(q={})),function(e){e.create=function(e,t,n,i,o){var r={name:e,kind:t,location:{uri:i,range:n}};return o&&(r.containerName=o),r}}($||($={})),function(e){e.create=function(e,t,n,i,o,r){var s={name:e,detail:t,kind:n,range:i,selectionRange:o};return void 0!==r&&(s.children=r),s},e.is=function(e){var t=e;return t&&ie.string(t.name)&&ie.number(t.kind)&&o.is(t.range)&&o.is(t.selectionRange)&&(void 0===t.detail||ie.string(t.detail))&&(void 0===t.deprecated||ie.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(K||(K={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(G||(G={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ie.defined(t)&&ie.typedArray(t.diagnostics,g.is)&&(void 0===t.only||ie.typedArray(t.only,ie.string))}}(Y||(Y={})),function(e){e.create=function(e,t,n){var i={title:e};return f.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ie.string(t.title)&&(void 0===t.diagnostics||ie.typedArray(t.diagnostics,g.is))&&(void 0===t.kind||ie.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||f.is(t.command))&&(void 0===t.isPreferred||ie.boolean(t.isPreferred))&&(void 0===t.edit||C.is(t.edit))}}(Z||(Z={})),function(e){e.create=function(e,t){var n={range:e};return ie.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ie.defined(t)&&o.is(t.range)&&(ie.undefined(t.command)||f.is(t.command))}}(X||(X={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.number(t.tabSize)&&ie.boolean(t.insertSpaces)}}(Q||(Q={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ie.defined(t)&&o.is(t.range)&&(ie.undefined(t.target)||ie.string(t.target))}}(J||(J={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&o.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,i){return new oe(e,t,n,i)},e.is=function(e){var t=e;return!!(ie.defined(t)&&ie.string(t.uri)&&(ie.undefined(t.languageId)||ie.string(t.languageId))&&ie.number(t.lineCount)&&ie.func(t.getText)&&ie.func(t.positionAt)&&ie.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,o=t.slice(0,i),r=t.slice(i);e(o,n),e(r,n);var s=0,a=0,l=0;for(;s<o.length&&a<r.length;){var c=n(o[s],r[a]);t[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)t[l++]=o[s++];for(;a<r.length;)t[l++]=r[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=n.length,r=i.length-1;r>=0;r--){var s=i[r],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=o))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),o=a}return n}}(ne||(ne={}));var ie,oe=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var o=t.charAt(i);n="\r"===o||"\n"===o,"\r"===o&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,o=t.length;if(0===o)return i.create(0,e);for(;n<o;){var r=Math.floor((n+o)/2);t[r]>e?o=r:n=r+1}var s=n-1;return i.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ie||(ie={}));var re,se,ae,le=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,o=t;i<o.length;i++){var r=o[i];if(e.isIncremental(r)){var s=de(r.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+r.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=ce(r.text,!1,a);if(d-c===u.length)for(var p=0,m=u.length;p<m;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var g=r.text.length-(l-a);if(0!==g)for(p=c+1+u.length,m=h.length;p<m;p++)h[p]=h[p]+g}else{if(!e.isFull(r))throw new Error("Unknown change event received");this._content=r.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ce(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var r=n-1;return{line:r,character:e-t[r]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function ce(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],o=0;o<e.length;o++){var r=e.charCodeAt(o);13!==r&&10!==r||(13===r&&o+1<e.length&&10===e.charCodeAt(o+1)&&o++,i.push(n+o+1))}return i}function de(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function he(e){var t=de(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function ue(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function pe(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return ue(t,n)}function me(e){return pe}!function(e){e.create=function(e,t,n,i){return new le(e,t,n,i)},e.update=function(e,t,n){if(e instanceof le)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,o=[],r=0,s=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,o=t.slice(0,i),r=t.slice(i);e(o,n),e(r,n);var s=0,a=0,l=0;for(;s<o.length&&a<r.length;){var c=n(o[s],r[a]);t[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)t[l++]=o[s++];for(;a<r.length;)t[l++]=r[a++];return t}(t.map(he),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));r<s.length;r++){var a=s[r],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&o.push(n.substring(i,l)),a.newText.length&&o.push(a.newText),i=e.offsetAt(a.range.end)}return o.push(n.substr(i)),o.join("")}}(re||(re={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(se||(se={})),(ae||(ae={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[O.Markdown,O.PlainText],commitCharactersSupport:!0}}}};var ge,fe,be=(ge=function(e,t){return(ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_e=me(),ve={"color-hex":{errorMessage:_e("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:_e("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:_e("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:_e("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:_e("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},we=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),ye=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="null",i.value=null,i}return be(t,e),t}(we),Ce=function(e){function t(t,n,i){var o=e.call(this,t,i)||this;return o.type="boolean",o.value=n,o}return be(t,e),t}(we),xe=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="array",i.items=[],i}return be(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(we),Se=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="number",i.isInteger=!0,i.value=Number.NaN,i}return be(t,e),t}(we),ke=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.type="string",o.value="",o}return be(t,e),t}(we),Ee=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o.type="property",o.colonOffset=-1,o.keyNode=i,o}return be(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(we),Te=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="object",i.properties=[],i}return be(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(we);function Le(e){return T(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(fe||(fe={}));var Ne=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Re(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Ie=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Oe=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.merge(i)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var i=n[t];i.code===se.EnumValueMismatch&&(i.message=_e("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function De(e){return x.e(e)}function Ae(e){return x.d(e)}function Re(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var Me=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}return e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return x.b(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var i=e(n),o=n.children;if(Array.isArray(o))for(var r=0;r<o.length&&i;r++)i=t(o[r]);return i};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var n=new Oe;return Pe(this.root,t,n,Ie.instance),n.problems.map((function(t){var n=o.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return g.create(n,t.message,t.severity,t.code)}))}},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1);var i=new Ne(t,n);return this.root&&e&&Pe(this.root,e,new Oe,i),i.schemas},e}();function Pe(e,t,n,i){if(e&&i.include(e)){var o=e;switch(o.type){case"object":!function(e,t,n,i){for(var o=Object.create(null),r=[],s=0,a=e.properties;s<a.length;s++){var l=(v=a[s]).keyNode.value;o[l]=v.valueNode,r.push(l)}if(Array.isArray(t.required))for(var c=0,d=t.required;c<d.length;c++){var h=d[c];if(!o[h]){var u=e.parent&&"property"===e.parent.type&&e.parent.keyNode,m=u?{offset:u.offset,length:u.length}:{offset:e.offset,length:1};n.problems.push({location:m,severity:p.Warning,message:_e("MissingRequiredPropWarning",'Missing property "{0}".',h)})}}var g=function(e){for(var t=r.indexOf(e);t>=0;)r.splice(t,1),t=r.indexOf(e)};if(t.properties)for(var f=0,b=Object.keys(t.properties);f<b.length;f++){h=b[f];g(h);var _=t.properties[h];if(A=o[h])if(T(_))if(_)n.propertiesMatches++,n.propertiesValueMatches++;else{var v=A.parent;n.problems.push({location:{offset:v.keyNode.offset,length:v.keyNode.length},severity:p.Warning,message:t.errorMessage||_e("DisallowedExtraPropWarning","Property {0} is not allowed.",h)})}else{var w=new Oe;Pe(A,_,w,i),n.mergePropertyMatch(w)}}if(t.patternProperties)for(var y=0,C=Object.keys(t.patternProperties);y<C.length;y++)for(var x=C[y],S=new RegExp(x),E=0,L=r.slice(0);E<L.length;E++){h=L[E];if(S.test(h))if(g(h),A=o[h])if(T(_=t.patternProperties[x]))if(_)n.propertiesMatches++,n.propertiesValueMatches++;else{v=A.parent;n.problems.push({location:{offset:v.keyNode.offset,length:v.keyNode.length},severity:p.Warning,message:t.errorMessage||_e("DisallowedExtraPropWarning","Property {0} is not allowed.",h)})}else{w=new Oe;Pe(A,_,w,i),n.mergePropertyMatch(w)}}if("object"==typeof t.additionalProperties)for(var N=0,I=r;N<I.length;N++){h=I[N];if(A=o[h]){w=new Oe;Pe(A,t.additionalProperties,w,i),n.mergePropertyMatch(w)}}else if(!1===t.additionalProperties&&r.length>0)for(var O=0,D=r;O<D.length;O++){var A;h=D[O];if(A=o[h]){v=A.parent;n.problems.push({location:{offset:v.keyNode.offset,length:v.keyNode.length},severity:p.Warning,message:t.errorMessage||_e("DisallowedExtraPropWarning","Property {0} is not allowed.",h)})}}k(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});k(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var R=0,M=Object.keys(t.dependencies);R<M.length;R++){l=M[R];if(o[l]){var P=t.dependencies[l];if(Array.isArray(P))for(var F=0,W=P;F<W.length;F++){var z=W[F];o[z]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",z,l)})}else if(_=Le(P)){w=new Oe;Pe(e,_,w,i),n.mergePropertyMatch(w)}}}var B=Le(t.propertyNames);if(B)for(var j=0,V=e.properties;j<V.length;j++){var U=V[j];(l=U.keyNode)&&Pe(l,B,n,Ie.instance)}}(o,t,n,i);break;case"array":!function(e,t,n,i){if(Array.isArray(t.items)){for(var o=t.items,r=0;r<o.length;r++){var s=Le(o[r]),a=new Oe;(u=e.items[r])?(Pe(u,s,a,i),n.mergePropertyMatch(a)):e.items.length>=o.length&&n.propertiesValueMatches++}if(e.items.length>o.length)if("object"==typeof t.additionalItems)for(var l=o.length;l<e.items.length;l++){a=new Oe;Pe(e.items[l],t.additionalItems,a,i),n.mergePropertyMatch(a)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",o.length)})}else{var c=Le(t.items);if(c)for(var d=0,h=e.items;d<h.length;d++){var u=h[d];a=new Oe;Pe(u,c,a,i),n.mergePropertyMatch(a)}}var m=Le(t.contains);if(m){e.items.some((function(e){var t=new Oe;return Pe(e,m,t,Ie.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.errorMessage||_e("requiredItemMissingWarning","Array does not contain required item.")})}k(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});k(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var g=De(e);g.some((function(e,t){return t!==g.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("uniqueItemsWarning","Array has duplicate items.")})}}(o,t,n,i);break;case"string":!function(e,t,n,i){k(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});k(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(o=t.pattern,"string"==typeof o){new RegExp(t.pattern).test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.patternErrorMessage||t.errorMessage||_e("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var o;if(t.format)switch(t.format){case"uri":case"uri-reference":var r=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(r=_e("uriSchemeMissing","URI with a scheme is expected.")):r=_e("uriMissing","URI is expected.")}else r=_e("uriEmpty","URI expected.");r&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.patternErrorMessage||t.errorMessage||_e("uriFormatWarning","String is not a URI: {0}",r)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var a=ve[t.format];e.value&&a.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}}(o,t,n);break;case"number":!function(e,t,n,i){var o=e.value;function r(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(k(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=o%t.multipleOf;else{var a=r(t.multipleOf),l=r(o);if(a&&l){var c=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier<a.multiplier?l.value*=c:a.value*=c,s=l.value%a.value}}0!==s&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function d(e,t){return k(t)?t:T(t)&&t?e:void 0}function h(e,t){if(!T(t)||!t)return e}var u=d(t.minimum,t.exclusiveMinimum);k(u)&&o<=u&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",u)});var m=d(t.maximum,t.exclusiveMaximum);k(m)&&o>=m&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",m)});var g=h(t.minimum,t.exclusiveMinimum);k(g)&&o<g&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("minimumWarning","Value is below the minimum of {0}.",g)});var f=h(t.maximum,t.exclusiveMaximum);k(f)&&o>f&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("maximumWarning","Value is above the maximum of {0}.",f)})}(o,t,n);break;case"property":return Pe(o.valueNode,t,n,i)}!function(){function e(e){return o.type===e||"integer"===e&&"number"===o.type&&o.isInteger}Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:o.offset,length:o.length},severity:p.Warning,message:t.errorMessage||_e("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:o.offset,length:o.length},severity:p.Warning,message:t.errorMessage||_e("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var r=0,s=t.allOf;r<s.length;r++){var a=s[r];Pe(o,Le(a),n,i)}var l=Le(t.not);if(l){var c=new Oe,d=i.newSub();Pe(o,l,c,d),c.hasProblems()||n.problems.push({location:{offset:o.offset,length:o.length},severity:p.Warning,message:_e("notSchemaWarning","Matches a schema that is not allowed.")});for(var h=0,u=d.schemas;h<u.length;h++){var m=u[h];m.inverted=!m.inverted,i.add(m)}}var g=function(e,t){for(var r=[],s=void 0,a=0,l=e;a<l.length;a++){var c=Le(l[a]),d=new Oe,h=i.newSub();if(Pe(o,c,d,h),d.hasProblems()||r.push(c),s)if(t||d.hasProblems()||s.validationResult.hasProblems()){var u=d.compare(s.validationResult);u>0?s={schema:c,validationResult:d,matchingSchemas:h}:0===u&&(s.matchingSchemas.merge(h),s.validationResult.mergeEnumValues(d))}else s.matchingSchemas.merge(h),s.validationResult.propertiesMatches+=d.propertiesMatches,s.validationResult.propertiesValueMatches+=d.propertiesValueMatches;else s={schema:c,validationResult:d,matchingSchemas:h}}return r.length>1&&t&&n.problems.push({location:{offset:o.offset,length:1},severity:p.Warning,message:_e("oneOfWarning","Matches multiple schemas when only one must validate.")}),s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,i.merge(s.matchingSchemas)),r.length};Array.isArray(t.anyOf)&&g(t.anyOf,!1);Array.isArray(t.oneOf)&&g(t.oneOf,!0);var f=function(e){var t=new Oe,r=i.newSub();Pe(o,Le(e),t,r),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,i.merge(r)},b=Le(t.if);b&&function(e,t,n){var r=Le(e),s=new Oe,a=i.newSub();Pe(o,r,s,a),i.merge(a),s.hasProblems()?n&&f(n):t&&f(t)}(b,Le(t.then),Le(t.else));if(Array.isArray(t.enum)){for(var _=De(o),v=!1,w=0,y=t.enum;w<y.length;w++){var C=y[w];if(S(_,C)){v=!0;break}}n.enumValues=t.enum,n.enumValueMatch=v,v||n.problems.push({location:{offset:o.offset,length:o.length},severity:p.Warning,code:se.EnumValueMismatch,message:t.errorMessage||_e("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(E(t.const)){S(_=De(o),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:o.offset,length:o.length},severity:p.Warning,code:se.EnumValueMismatch,message:t.errorMessage||_e("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&o.parent&&n.problems.push({location:{offset:o.parent.offset,length:o.parent.length},severity:p.Warning,message:t.deprecationMessage})}(),i.add({node:o,schema:t})}}function Fe(e,t){var n=[],i=-1,r=e.getText(),s=x.a(r,!1),a=t&&t.collectComments?[]:void 0;function l(){for(;;){var t=s.scan();switch(h(),t){case 12:case 13:Array.isArray(a)&&a.push(o.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function c(t,r,s,a,l){if(void 0===l&&(l=p.Error),0===n.length||s!==i){var c=o.create(e.positionAt(s),e.positionAt(a));n.push(g.create(c,t,l,r,e.languageId)),i=s}}function d(e,t,n,i,o){void 0===n&&(n=void 0),void 0===i&&(i=[]),void 0===o&&(o=[]);var a=s.getTokenOffset(),d=s.getTokenOffset()+s.getTokenLength();if(a===d&&a>0){for(a--;a>0&&/\s/.test(r.charAt(a));)a--;d=a+1}if(c(e,t,a,d),n&&u(n,!1),i.length+o.length>0)for(var h=s.getToken();17!==h;){if(-1!==i.indexOf(h)){l();break}if(-1!==o.indexOf(h))break;h=l()}return n}function h(){switch(s.getTokenError()){case 4:return d(_e("InvalidUnicode","Invalid unicode sequence in string."),se.InvalidUnicode),!0;case 5:return d(_e("InvalidEscapeCharacter","Invalid escape character in string."),se.InvalidEscapeCharacter),!0;case 3:return d(_e("UnexpectedEndOfNumber","Unexpected end of number."),se.UnexpectedEndOfNumber),!0;case 1:return d(_e("UnexpectedEndOfComment","Unexpected end of comment."),se.UnexpectedEndOfComment),!0;case 2:return d(_e("UnexpectedEndOfString","Unexpected end of string."),se.UnexpectedEndOfString),!0;case 6:return d(_e("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),se.InvalidCharacter),!0}return!1}function u(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&l(),e}var m=new ke(void 0,0,0);function f(t,n){var i=new Ee(t,s.getTokenOffset(),m),o=b(i);if(!o){if(16!==s.getToken())return;d(_e("DoubleQuotesExpected","Property keys must be doublequoted"),se.Undefined);var r=new ke(i,s.getTokenOffset(),s.getTokenLength());r.value=s.getTokenValue(),o=r,l()}i.keyNode=o;var a=n[o.value];if(a?(c(_e("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,i.keyNode.offset,i.keyNode.offset+i.keyNode.length,p.Warning),"object"==typeof a&&c(_e("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,a.keyNode.offset,a.keyNode.offset+a.keyNode.length,p.Warning),n[o.value]=!0):n[o.value]=i,6===s.getToken())i.colonOffset=s.getTokenOffset(),l();else if(d(_e("ColonExpected","Colon expected"),se.ColonExpected),10===s.getToken()&&e.positionAt(o.offset+o.length).line<e.positionAt(s.getTokenOffset()).line)return i.length=o.length,i;var h=_(i);return h?(i.valueNode=h,i.length=h.offset+h.length-i.offset,i):d(_e("ValueExpected","Value expected"),se.ValueExpected,i,[],[2,5])}function b(e){if(10===s.getToken()){var t=new ke(e,s.getTokenOffset());return t.value=s.getTokenValue(),u(t,!0)}}function _(e){return function(e){if(3===s.getToken()){var t=new xe(e,s.getTokenOffset());l();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){n||d(_e("ValueExpected","Value expected"),se.ValueExpected);var i=s.getTokenOffset();if(l(),4===s.getToken()){n&&c(_e("TrailingComma","Trailing comma"),se.TrailingComma,i,i+1);continue}}else n&&d(_e("ExpectedComma","Expected comma"),se.CommaExpected);var o=_(t);o?t.items.push(o):d(_e("PropertyExpected","Value expected"),se.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?d(_e("ExpectedCloseBracket","Expected comma or closing bracket"),se.CommaOrCloseBacketExpected,t):u(t,!0)}}(e)||function(e){if(1===s.getToken()){var t=new Te(e,s.getTokenOffset()),n=Object.create(null);l();for(var i=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){i||d(_e("PropertyExpected","Property expected"),se.PropertyExpected);var o=s.getTokenOffset();if(l(),2===s.getToken()){i&&c(_e("TrailingComma","Trailing comma"),se.TrailingComma,o,o+1);continue}}else i&&d(_e("ExpectedComma","Expected comma"),se.CommaExpected);var r=f(t,n);r?t.properties.push(r):d(_e("PropertyExpected","Property expected"),se.PropertyExpected,void 0,[],[2,5]),i=!0}return 2!==s.getToken()?d(_e("ExpectedCloseBrace","Expected comma or closing brace"),se.CommaOrCloseBraceExpected,t):u(t,!0)}}(e)||b(e)||function(e){if(11===s.getToken()){var t=new Se(e,s.getTokenOffset());if(0===s.getTokenError()){var n=s.getTokenValue();try{var i=JSON.parse(n);if(!k(i))return d(_e("InvalidNumberFormat","Invalid number format."),se.Undefined,t);t.value=i}catch(e){return d(_e("InvalidNumberFormat","Invalid number format."),se.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return u(t,!0)}}(e)||function(e){switch(s.getToken()){case 7:return u(new ye(e,s.getTokenOffset()),!0);case 8:return u(new Ce(e,!0,s.getTokenOffset()),!0);case 9:return u(new Ce(e,!1,s.getTokenOffset()),!0);default:return}}(e)}var v=void 0;return 17!==l()&&((v=_(v))?17!==s.getToken()&&d(_e("End of file expected","End of file expected."),se.Undefined):d(_e("Invalid symbol","Expected a JSON object, array or literal."),se.Undefined)),new Me(v,n,a)}function We(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function ze(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}var Be=me(),je=function(){function e(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===i&&(i={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=i}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var i=n(e);if(i)return i}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var i=this,r={items:[],isIncomplete:!1},s=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(r);if(l&&a===l.offset+l.length&&a>0){var c=s[a-1];("object"===l.type&&"}"===c||"array"===l.type&&"]"===c)&&(l=l.parent)}var d,h=this.getCurrentWord(e,a);if(!l||"string"!==l.type&&"number"!==l.type&&"boolean"!==l.type&&"null"!==l.type){var u=a-h.length;u>0&&'"'===s[u-1]&&u--,d=o.create(e.positionAt(u),t)}else d=o.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));var p={},m={add:function(e){var t=e.label,n=p[t];if(n)n.documentation||(n.documentation=e.documentation);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var i=t.substr(0,57).trim()+"...";p[i]||(t=i)}d&&void 0!==e.insertText&&(e.textEdit=b.replace(d,e.insertText)),e.label=t,p[t]=e,r.items.push(e)}},setAsIncomplete:function(){r.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return r.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var o=[],c=!0,u="",g=void 0;if(l&&"string"===l.type){var f=l.parent;f&&"property"===f.type&&f.keyNode===l&&(c=!f.valueNode,g=f,u=s.substr(l.offset+1,l.length-2),f&&(l=f.parent))}if(l&&"object"===l.type){if(l.offset===a)return r;l.properties.forEach((function(e){g&&g===e||(p[e.keyNode.value]=P.create("__"))}));var b="";c&&(b=i.evaluateSeparatorAfter(e,e.offsetAt(d.end))),t?i.getPropertyCompletions(t,n,l,c,b,m):i.getSchemaLessPropertyCompletions(n,l,u,m);var _=Ae(l);i.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,_,h,c,""===b,m);n&&o.push(n)})),!t&&h.length>0&&'"'!==s.charAt(a-h.length-1)&&(m.add({kind:A.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,b),insertTextFormat:R.Snippet,documentation:""}),m.setAsIncomplete())}var v={};return t?i.getValueCompletions(t,n,l,a,e,m,v):i.getSchemaLessValueCompletions(n,l,a,e,m),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,m,o),i.promiseConstructor.all(o).then((function(){if(0===m.getNumberOfProposals()){var t=a;!l||"string"!==l.type&&"number"!==l.type&&"boolean"!==l.type&&"null"!==l.type||(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(v,n,m)}return r}))}))},e.prototype.getPropertyCompletions=function(e,t,n,i,o,r){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:A.Property,label:e,insertText:s.getInsertTextForProperty(e,n,i,o),insertTextFormat:R.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&We(a.insertText,"$1"+o)&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),r.add(a)}}));var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:A.Property,label:e,insertText:s.getInsertTextForProperty(e,void 0,i,o),insertTextFormat:R.Snippet,filterText:s.getFilterTextForValue(e),documentation:t||s.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&We(n.insertText,"$1"+o)&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),r.add(n)};if(a.enum)for(var c=0;c<a.enum.length;c++){var d=void 0;a.markdownEnumDescriptions&&c<a.markdownEnumDescriptions.length?d=s.fromMarkup(a.markdownEnumDescriptions[c]):a.enumDescriptions&&c<a.enumDescriptions.length&&(d=a.enumDescriptions[c]),l(a.enum[c],d)}a.const&&l(a.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,i){var o=this,r=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;i.add({kind:A.Property,label:t,insertText:o.getInsertTextForValue(t,""),insertTextFormat:R.Snippet,filterText:o.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var s=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===s&&e.valueNode&&"object"===e.valueNode.type&&r(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&r(e)}));else"object"===t.type&&i.add({kind:A.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:R.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,i,o){var r=this,s=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(s=t.offset+t.length,t=t.parent),!t)return o.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:R.Snippet,documentation:""}),void o.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:R.Snippet,documentation:""});var a=this.evaluateSeparatorAfter(i,s),l=function(e){e.parent&&!Re(e.parent,n,!0)&&o.add({kind:r.getSuggestionKind(e.type),label:r.getLabelTextForMatchingNode(e,i),insertText:r.getInsertTextForMatchingNode(e,i,a),insertTextFormat:R.Snippet,documentation:""}),"boolean"===e.type&&r.addBooleanValueCompletion(!e.value,a,o)};if("property"===t.type&&n>(t.colonOffset||0)){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var d=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===d&&e.valueNode&&l(e.valueNode),!0})),"$schema"===d&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,o)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var h=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0}))}else t.items.forEach(l)},e.prototype.getValueCompletions=function(e,t,n,i,o,r,s){var a=i,l=void 0,c=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(a=n.offset+n.length,c=n,n=n.parent),n){if("property"===n.type&&i>(n.colonOffset||0)){var d=n.valueNode;if(d&&i>d.offset+d.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var h=this.evaluateSeparatorAfter(o,a),u=0,p=t.getMatchingSchemas(e.schema,n.offset,c);u<p.length;u++){var m=p[u];if(m.node===n&&!m.inverted&&m.schema){if("array"===n.type&&m.schema.items)if(Array.isArray(m.schema.items)){var g=this.findItemAtOffset(n,o,i);g<m.schema.items.length&&this.addSchemaValueCompletions(m.schema.items[g],h,r,s)}else this.addSchemaValueCompletions(m.schema.items,h,r,s);if(void 0!==l){var f=!1;if(m.schema.properties)(w=m.schema.properties[l])&&(f=!0,this.addSchemaValueCompletions(w,h,r,s));if(m.schema.patternProperties&&!f)for(var b=0,_=Object.keys(m.schema.patternProperties);b<_.length;b++){var v=_[b];if(new RegExp(v).test(l)){f=!0;var w=m.schema.patternProperties[v];this.addSchemaValueCompletions(w,h,r,s)}}if(m.schema.additionalProperties&&!f){w=m.schema.additionalProperties;this.addSchemaValueCompletions(w,h,r,s)}}}}"$schema"!==l||n.parent||this.addDollarSchemaCompletions(h,r),s.boolean&&(this.addBooleanValueCompletion(!0,h,r),this.addBooleanValueCompletion(!1,h,r)),s.null&&this.addNullValueCompletion(h,r)}}else this.addSchemaValueCompletions(e.schema,"",r,s)},e.prototype.getContributedValueCompletions=function(e,t,n,i,o,r){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),t&&"property"===t.type&&n>(t.colonOffset||0)){var s=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=Ae(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(i.uri,l,s,o);t&&r.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(i.uri,o);t&&r.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,i){var o=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,i),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return o.addSchemaValueCompletions(e,t,n,i)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return o.addSchemaValueCompletions(e,t,n,i)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return o.addSchemaValueCompletions(e,t,n,i)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,i){var o=this;void 0===i&&(i=0);var r=!1;if(E(e.default)){for(var s=e.type,a=e.default,l=i;l>0;l--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:R.Snippet,detail:Be("json.suggest.default","Default value")}),r=!0}Array.isArray(e.examples)&&e.examples.forEach((function(s){for(var a=e.type,l=s,c=i;c>0;c--)l=[l],a="array";n.add({kind:o.getSuggestionKind(a),label:o.getLabelForValue(l),insertText:o.getInsertTextForValue(l,t),insertTextFormat:R.Snippet}),r=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(s){var a,l,c=e.type,d=s.body,h=s.label;if(E(d)){e.type;for(var u=i;u>0;u--)d=[d],"array";a=o.getInsertTextForSnippetValue(d,t),l=o.getFilterTextForSnippetValue(d),h=h||o.getLabelForSnippetValue(d)}else{if("string"!=typeof s.bodyText)return;var p="",m="",g="";for(u=i;u>0;u--)p=p+g+"[\n",m=m+"\n"+g+"]",g+="\t",c="array";a=p+g+s.bodyText.split("\n").join("\n"+g)+m+t,h=h||a,l=a.replace(/[\n]/g,"")}n.add({kind:o.getSuggestionKind(c),label:h,documentation:o.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:R.Snippet,filterText:l}),r=!0})),!r&&"object"==typeof e.items&&!Array.isArray(e.items)&&i<5&&this.addDefaultValueCompletions(e.items,t,n,i+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(E(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:R.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var i=0,o=e.enum.length;i<o;i++){var r=e.enum[i],s=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&i<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?s=this.fromMarkup(e.markdownEnumDescriptions[i]):e.enumDescriptions&&i<e.enumDescriptions.length&&(s=e.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(r),insertText:this.getInsertTextForValue(r,t),insertTextFormat:R.Snippet,documentation:s})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!E(e.const)){var n=e.type;Array.isArray(n)?n.forEach((function(e){return t[e]=!0})):n&&(t[n]=!0)}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:R.Snippet,detail:Be("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:R.Snippet,detail:Be("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:R.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:R.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(i){return t.add({kind:A.Module,label:n.getLabelForValue(i),filterText:n.getFilterTextForValue(i),insertText:n.getInsertTextForValue(i,e),insertTextFormat:R.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,n,i){if(null!==t&&"object"==typeof t){var o=n+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var r="[\n",s=0;s<t.length;s++)r+=o+e(t[s],o,i),s<t.length-1&&(r+=","),r+="\n";return r+=n+"]"}var a=Object.keys(t);if(0===a.length)return"{}";for(r="{\n",s=0;s<a.length;s++){var l=a[s];r+=o+JSON.stringify(l)+": "+e(t[l],o,i),s<a.length-1&&(r+=","),r+="\n"}return r+=n+"}"}return i(t)}(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:void 0}if(!e)return A.Value;switch(e){case"string":return A.Value;case"object":return A.Module;case"property":return A.Property;default:return A.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var i=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(i)}},e.prototype.getInsertTextForProperty=function(e,t,n,i){var o=this.getInsertTextForValue(e,"");if(!n)return o;var r,s=o+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var l=t.defaultSnippets[0].body;E(l)&&(r=this.getInsertTextForSnippetValue(l,""))}a+=t.defaultSnippets.length}if(t.enum&&(r||1!==t.enum.length||(r=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),E(t.default)&&(r||(r=this.getInsertTextForGuessedValue(t.default,"")),a++),Array.isArray(t.examples)&&t.examples.length&&(r||(r=this.getInsertTextForGuessedValue(t.examples[0],"")),a+=t.examples.length),0===a){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":r="$1";break;case"string":r='"$1"';break;case"object":r="{$1}";break;case"array":r="[$1]";break;case"number":case"integer":r="${1:0}";break;case"null":r="${1:null}";break;default:return o}}}return(!r||a>1)&&(r="$1"),s+r+i},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,i=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=x.a(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var i=x.a(t.getText(),!0),o=e.items,r=o.length-1;r>=0;r--){var s=o[r];if(n>s.offset+s.length)return i.setPosition(s.offset+s.length),5===i.scan()&&n>=i.getTokenOffset()+i.getTokenLength()?r+1:r;if(n>=s.offset)return r}return 0},e.prototype.isInComment=function(e,t,n){var i=x.a(e.getText(),!1);i.setPosition(t);for(var o=i.scan();17!==o&&i.getTokenOffset()+i.getTokenLength()<n;)o=i.scan();return(12===o||13===o)&&i.getTokenOffset()<=n},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:O.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!E(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(O.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!E(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),Ve=function(){function e(e,t,n){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doHover=function(e,t,n){var i=e.offsetAt(t),r=n.getNodeFromOffset(i);if(!r||("object"===r.type||"array"===r.type)&&i>r.offset+1&&i<r.offset+r.length-1)return this.promise.resolve(null);var s=r;if("string"===r.type){var a=r.parent;if(a&&"property"===a.type&&a.keyNode===r&&!(r=a.valueNode))return this.promise.resolve(null)}for(var l=o.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),c=function(e){return{contents:e,range:l}},d=Ae(r),h=this.contributions.length-1;h>=0;h--){var u=this.contributions[h].getInfoContribution(e.uri,d);if(u)return u.then((function(e){return c(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e&&r){var t=n.getMatchingSchemas(e.schema,r.offset),i=void 0,o=void 0,s=void 0,a=void 0;t.every((function(e){if(e.node===r&&!e.inverted&&e.schema&&(i=i||e.schema.title,o=o||e.schema.markdownDescription||Ue(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(De(r));e.schema.markdownEnumDescriptions?s=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(s=Ue(e.schema.enumDescriptions[t])),s&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0}));var l="";return i&&(l=Ue(i)),o&&(l.length>0&&(l+="\n\n"),l+=o),s&&(l.length>0&&(l+="\n\n"),l+="`"+function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(a)+"`: "+s),c([l])}return null}))},e}();function Ue(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var He=n(140),qe=me(),$e=function(){function e(e,t){this.patternRegExps=[],this.isInclude=[];try{for(var n=0,i=e;n<i.length;n++){var o=i[n],r="!"!==o[0];r||(o=o.substring(1)),this.patternRegExps.push(new RegExp(ze(o)+"$")),this.isInclude.push(r)}this.uris=t}catch(e){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0;n<this.patternRegExps.length;n++){this.patternRegExps[n].test(e)&&(t=this.isInclude[n])}return t},e.prototype.getURIs=function(){return this.uris},e}(),Ke=function(){function e(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new Ge(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),Ge=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},Ye=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){var t=this.getSectionRecursive(e,this.schema);if(t)return Le(t)},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var i=0,o=Object.keys(t.patternProperties);i<o.length;i++){var r=o[i];if(new RegExp(r).test(n))return this.getSectionRecursive(e,t.patternProperties[r])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var s=parseInt(n,10);if(!isNaN(s)&&t.items[s])return this.getSectionRecursive(e,t.items[s])}else if(t.items)return this.getSectionRecursive(e,t.items)}},e}(),Ze=function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var n=He.a.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,n=!1,i=[e=Qe(e)],o=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));i.length;)for(var r=i.pop(),s=0;s<o.length;s++){var a=o[s];a&&(a.url===r||a.dependencies[r])&&(a.url!==r&&i.push(a.url),a.clearSchema(),o[s]=void 0,n=!0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var i=Qe(n);this.contributionSchemas[i]=this.addSchemaHandle(i,t[n])}}if(Array.isArray(e.schemaAssociations))for(var o=0,r=e.schemaAssociations;o<r.length;o++){var s=r[o],a=s.uris.map(Qe),l=this.addFilePatternAssociation(s.pattern,a);this.contributionAssociations.push(l)}},e.prototype.addSchemaHandle=function(e,t){var n=new Ke(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.addFilePatternAssociation=function(e,t){var n=new $e(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var i=Qe(e);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[e]),n?this.addSchemaHandle(i,n):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var i=n[t];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(e){var t=Qe(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=qe("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Je(e));return this.promise.resolve(new Ge({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=qe("json.schema.nocontent","Unable to load schema from '{0}': No content.",Je(e));return new Ge({},[n])}var i,o=[];i=x.f(t,o);var r=o.length?[qe("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Je(e),o[0].offset)]:[];return new Ge(i,r)}),(function(t){var n=t.toString(),i=t.toString().split("Error: ");return i.length>1&&(n=i[1]),We(n,".")&&(n=n.substr(0,n.length-1)),new Ge({},[qe("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Je(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t,n){var i=this,o=e.errors.slice(0),r=e.schema;if(r.$schema){var s=Qe(r.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new Ye({},[qe("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s&&o.push(qe("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var a=this.contextService,l=function(e,t,n,i){var r=i?decodeURIComponent(i):void 0,s=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(n=n[e])})),n}(t,r);if(s)for(var a in s)s.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=s[a]);else o.push(qe("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",r,n))},c=function(e,t,n,r,s){a&&!/^\w+:\/\/.*/.test(t)&&(t=a.resolveRelativePath(t,r)),t=Qe(t);var c=i.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(i){if(s[t]=!0,i.errors.length){var r=n?t+"#"+n:t;o.push(qe("json.schema.problemloadingref","Problems loading reference '{0}': {1}",r,i.errors[0]))}return l(e,i.schema,t,n),d(e,i.schema,t,c.dependencies)}))},d=function(e,t,n,o){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var r=[e],s=[],a=[],d=function(e){for(var i=[];e.$ref;){var s=e.$ref,d=s.split("#",2);if(delete e.$ref,d[0].length>0)return void a.push(c(e,d[0],d[1],n,o));-1===i.indexOf(s)&&(l(e,t,n,d[1]),i.push(s))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];"object"==typeof o&&r.push(o)}}(e.items,e.additionalItems,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];if("object"==typeof o)for(var s in o){var a=s,l=o[a];"object"==typeof l&&r.push(l)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];if(Array.isArray(o))for(var s=0,a=o;s<a.length;s++){var l=a[s];"object"==typeof l&&r.push(l)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};r.length;){var h=r.pop();s.indexOf(h)>=0||(s.push(h),d(h))}return i.promise.all(a)};return d(r,r,t,n).then((function(e){return new Ye(r,o)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(n.length>0){var i=n[0].valueNode;if(i&&"string"===i.type){var o=De(i);if(o&&function(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}(o,".")&&this.contextService&&(o=this.contextService.resolveRelativePath(o,e)),o){var r=Qe(o);return this.getOrAddSchemaHandle(r).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;for(var s=Object.create(null),a=[],l=0,c=this.filePatternAssociations;l<c.length;l++){var d=c[l];if(d.matchesPattern(e))for(var h=0,u=d.getURIs();h<u.length;h++){var p=u[h];s[p]||(a.push(p),s[p]=!0)}}var m=a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:m},m},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),i={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,i)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var i=n.id||"schemaservice://untitled/matchingSchemas/"+Xe++;return this.resolveSchemaContent(new Ge(n),i,{}).then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))},e}(),Xe=0;function Qe(e){try{return He.a.parse(e).toString()}catch(t){return e}}function Je(e){try{var t=He.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var et=me(),tt=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:p.Error)},e.prototype.doValidation=function(e,t,n,i){var r=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],a={},l=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,s.push(e))},c=function(i){var a=n?it(n.trailingCommas):p.Error,c=n?it(n.comments):r.commentSeverity;if(i){if(i.errors.length&&t.root){var d=t.root,h="object"===d.type?d.properties[0]:void 0;if(h&&"$schema"===h.keyNode.value){var u=h.valueNode||h,m=o.create(e.positionAt(u.offset),e.positionAt(u.offset+u.length));l(g.create(m,i.errors[0],p.Warning,se.SchemaResolveError))}else{m=o.create(e.positionAt(d.offset),e.positionAt(d.offset+1));l(g.create(m,i.errors[0],p.Warning,se.SchemaResolveError))}}else{var f=t.validate(e,i.schema);f&&f.forEach(l)}(function e(t){if(t&&"object"==typeof t){if(T(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,i=t.allOf;n<i.length;n++){var o=i[n],r=e(o);if(T(r))return r}}return})(i.schema)&&(c=void 0),function e(t){if(t&&"object"==typeof t){if(T(t.allowTrailingCommas))return t.allowTrailingCommas;var n=t;if(T(n.allowsTrailingCommas))return n.allowsTrailingCommas;if(t.allOf)for(var i=0,o=t.allOf;i<o.length;i++){var r=o[i],s=e(r);if(T(s))return s}}return}(i.schema)&&(a=void 0)}for(var b=0,_=t.syntaxErrors;b<_.length;b++){var v=_[b];if(v.code===se.TrailingComma){if("number"!=typeof a)continue;v.severity=a}l(v)}if("number"==typeof c){var w=et("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){l(g.create(e,w,c,se.CommentNotPermitted))}))}return s};if(i){var d=i.id||"schemaservice://untitled/"+nt++;return this.jsonSchemaService.resolveSchemaContent(new Ge(i),d,{}).then((function(e){return c(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return c(e)}))},e}(),nt=0;function it(e){switch(e){case"error":return p.Error;case"warning":return p.Warning;case"ignore":return}}function ot(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function rt(e){if("#"===e[0])switch(e.length){case 4:return{red:17*ot(e.charCodeAt(1))/255,green:17*ot(e.charCodeAt(2))/255,blue:17*ot(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*ot(e.charCodeAt(1))/255,green:17*ot(e.charCodeAt(2))/255,blue:17*ot(e.charCodeAt(3))/255,alpha:17*ot(e.charCodeAt(4))/255};case 7:return{red:(16*ot(e.charCodeAt(1))+ot(e.charCodeAt(2)))/255,green:(16*ot(e.charCodeAt(3))+ot(e.charCodeAt(4)))/255,blue:(16*ot(e.charCodeAt(5))+ot(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*ot(e.charCodeAt(1))+ot(e.charCodeAt(2)))/255,green:(16*ot(e.charCodeAt(3))+ot(e.charCodeAt(4)))/255,blue:(16*ot(e.charCodeAt(5))+ot(e.charCodeAt(6)))/255,alpha:(16*ot(e.charCodeAt(7))+ot(e.charCodeAt(8)))/255}}}var st=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var i=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var o=t.root;if(!o)return[];var s=n.resultLimit||Number.MAX_VALUE,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||We(a.toLowerCase(),"/user/keybindings.json"))&&"array"===o.type){for(var l=[],c=0,d=o.items;c<d.length;c++){var h=d[c];if("object"===h.type)for(var u=0,p=h.properties;u<p.length;u++){var m=p[u];if("key"===m.keyNode.value&&m.valueNode){var g=r.create(e.uri,at(e,h));if(l.push({name:De(m.valueNode),kind:H.Function,location:g}),--s<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),l}}}return l}for(var f=[{node:o,containerName:""}],b=0,_=!1,v=[],w=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&f.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var o=t.valueNode;if(o)if(s>0){s--;var a=r.create(e.uri,at(e,t)),l=n?n+"."+t.keyNode.value:t.keyNode.value;v.push({name:i.getKeyLabel(t),kind:i.getSymbolKind(o.type),location:a,containerName:n}),f.push({node:o,containerName:l})}else _=!0}))};b<f.length;){var y=f[b++];w(y.node,y.containerName)}return _&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),v},e.prototype.findDocumentSymbols2=function(e,t,n){var i=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var o=t.root;if(!o)return[];var r=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||We(s.toLowerCase(),"/user/keybindings.json"))&&"array"===o.type){for(var a=[],l=0,c=o.items;l<c.length;l++){var d=c[l];if("object"===d.type)for(var h=0,u=d.properties;h<u.length;h++){var p=u[h];if("key"===p.keyNode.value&&p.valueNode){var m=at(e,d),g=at(e,p.keyNode);if(a.push({name:De(p.valueNode),kind:H.Function,range:m,selectionRange:g}),--r<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),a}}}return a}for(var f=[],b=[{node:o,result:f}],_=0,v=!1,w=function(t,n){"array"===t.type?t.items.forEach((function(t,o){if(t)if(r>0){r--;var s=at(e,t),a=s,l={name:String(o),kind:i.getSymbolKind(t.type),range:s,selectionRange:a,children:[]};n.push(l),b.push({result:l.children,node:t})}else v=!0})):"object"===t.type&&t.properties.forEach((function(t){var o=t.valueNode;if(o)if(r>0){r--;var s=at(e,t),a=at(e,t.keyNode),l={name:i.getKeyLabel(t),kind:i.getSymbolKind(o.type),range:s,selectionRange:a,children:[]};n.push(l),b.push({result:l.children,node:o})}else v=!0}))};_<b.length;){var y=b[_++];w(y.node,y.result)}return v&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),f},e.prototype.getSymbolKind=function(e){switch(e){case"object":return H.Module;case"string":return H.String;case"number":return H.Number;case"array":return H.Array;case"boolean":return H.Boolean;default:return H.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.findDocumentColors=function(e,t,n){return this.schemaService.getSchemaForResource(e.uri,t).then((function(i){var o=[];if(i)for(var r=n&&"number"==typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,s={},a=0,l=t.getMatchingSchemas(i.schema);a<l.length;a++){var c=l[a];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var d=String(c.node.offset);if(!s[d]){var h=rt(De(c.node));if(h){var u=at(e,c.node);o.push({color:h,range:u})}if(s[d]=!0,--r<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),o}}}return o}))},e.prototype.getColorPresentations=function(e,t,n,i){var o,r=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return o=1===n.alpha?"#"+c(s)+c(a)+c(l):"#"+c(s)+c(a)+c(l)+c(Math.round(255*n.alpha)),r.push({label:o,textEdit:b.replace(i,JSON.stringify(o))}),r},e}();function at(e,t){return o.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var lt=me(),ct={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:lt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:lt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},dt={id:lt("schema.json.id","A unique identifier for the schema."),$schema:lt("schema.json.$schema","The schema to verify this document against."),title:lt("schema.json.title","A descriptive title of the element."),description:lt("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:lt("schema.json.default","A default value. Used by suggestions."),multipleOf:lt("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:lt("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:lt("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:lt("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:lt("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:lt("schema.json.maxLength","The maximum length of a string."),minLength:lt("schema.json.minLength","The minimum length of a string."),pattern:lt("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:lt("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:lt("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:lt("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:lt("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:lt("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:lt("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:lt("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:lt("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:lt("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:lt("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:lt("schema.json.properties","A map of property names to schemas for each property."),patternProperties:lt("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:lt("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:lt("schema.json.enum","The set of literal values that are valid."),type:lt("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:lt("schema.json.format","Describes the format expected for the value."),allOf:lt("schema.json.allOf","An array of schemas, all of which must match."),anyOf:lt("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:lt("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:lt("schema.json.not","A schema which must not match."),$id:lt("schema.json.$id","A unique identifier for the schema."),$ref:lt("schema.json.$ref","Reference a definition hosted on any location."),$comment:lt("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:lt("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:lt("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:lt("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:lt("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:lt("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:lt("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:lt("schema.json.contentEncoding","Describes the content encoding of a string property."),if:lt("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:lt("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:lt("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var ht in ct.schemas){var ut=ct.schemas[ht];for(var pt in ut.properties){var mt=ut.properties[pt];"boolean"==typeof mt&&(mt=ut.properties[pt]={});var gt=dt[pt];gt?mt.description=gt:console.log(pt+": localize('schema.json."+pt+'\', "")')}}function ft(e,t){var n=[],o=[],r=[],s=-1,a=Object(x.a)(e.getText(),!1),l=a.scan();function c(e){n.push(e),o.push(r.length)}for(;17!==l;){switch(l){case 1:case 3:var h={startLine:m=e.positionAt(a.getTokenOffset()).line,endLine:m,kind:1===l?"object":"array"};r.push(h);break;case 2:case 4:var u=2===l?"object":"array";if(r.length>0&&r[r.length-1].kind===u){h=r.pop();var p=e.positionAt(a.getTokenOffset()).line;h&&p>h.startLine+1&&s!==h.startLine&&(h.endLine=p-1,c(h),s=h.startLine)}break;case 13:var m=e.positionAt(a.getTokenOffset()).line,g=e.positionAt(a.getTokenOffset()+a.getTokenLength()).line;1===a.getTokenError()&&m+1<e.lineCount?a.setPosition(e.offsetAt(i.create(m+1,0))):m<g&&(c({startLine:m,endLine:g,kind:d.Comment}),s=m);break;case 12:var f=e.getText().substr(a.getTokenOffset(),a.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(f){p=e.positionAt(a.getTokenOffset()).line;if(f[1]){h={startLine:p,endLine:p,kind:d.Region};r.push(h)}else{for(var b=r.length-1;b>=0&&r[b].kind!==d.Region;)b--;if(b>=0){h=r[b];r.length=b,p>h.startLine&&s!==h.startLine&&(h.endLine=p,c(h),s=h.startLine)}}}}l=a.scan()}var _=t&&t.rangeLimit;if("number"!=typeof _||n.length<=_)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],w=0,y=o;w<y.length;w++){(T=y[w])<30&&(v[T]=(v[T]||0)+1)}var C=0,S=0;for(b=0;b<v.length;b++){var k=v[b];if(k){if(k+C>_){S=b;break}C+=k}}var E=[];for(b=0;b<n.length;b++){var T;"number"==typeof(T=o[b])&&(T<S||T===S&&C++<_)&&E.push(n[b])}return E}function bt(e,t,n){function i(t,n){return o.create(e.positionAt(t),e.positionAt(n))}var r=Object(x.a)(e.getText(),!0);function s(e,t){return r.setPosition(e),r.scan()===t?r.getTokenOffset()+r.getTokenLength():-1}return t.map((function(t){for(var r=e.offsetAt(t),a=n.getNodeFromOffset(r,!0),l=[];a;){switch(a.type){case"string":case"object":case"array":var c=a.offset+1,d=a.offset+a.length-1;c<d&&r>=c&&r<=d&&l.push(i(c,d)),l.push(i(a.offset,a.offset+a.length));break;case"number":case"boolean":case"null":case"property":l.push(i(a.offset,a.offset+a.length))}if("property"===a.type||a.parent&&"array"===a.parent.type){var h=s(a.offset+a.length,5);-1!==h&&l.push(i(a.offset,h))}a=a.parent}for(var u=void 0,p=l.length-1;p>=0;p--)u=ee.create(l[p],u);return u||(u=ee.create(o.create(t,t))),u}))}function _t(e,t,n){var i=e.offsetAt(t),o=n.getNodeFromOffset(i,!0);if(!o||!function(e){return"string"===e.type&&e.parent&&"property"===e.parent.type&&e.parent.valueNode===e&&"$ref"===e.parent.keyNode.value||!1}(o))return Promise.resolve([]);var r=o.parent.valueNode,s=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(wt)}(t);if(!n)return null;return function e(t,n){if(!n)return null;if(0===t.length)return n;var i=t.shift();if(n&&"object"===n.type){var o=n.properties.find((function(e){return e.keyNode.value===i}));return o?e(t,o.valueNode):null}if(n&&"array"===n.type&&i.match(/^(0|[1-9][0-9]*)$/)){var r=Number.parseInt(i),s=n.items[r];return s?e(t,s):null}return null}(n,e.root)}(n,r.value);if(!s)return Promise.resolve([]);var a={targetUri:e.uri,originSelectionRange:vt(e,r),targetRange:vt(e,s),targetSelectionRange:vt(e,s)};return Promise.resolve([a])}function vt(e,t){return o.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}function wt(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function yt(e){var t=e.promiseConstructor||Promise,n=new Ze(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(ct);var i=new je(n,e.contributions,t,e.clientCapabilities),r=new Ve(n,e.contributions,t),s=new st(n),a=new tt(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),a.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:a.doValidation.bind(a),parseJSONDocument:function(e){return Fe(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new Me(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:i.doResolve.bind(i),doComplete:i.doComplete.bind(i),findDocumentSymbols:s.findDocumentSymbols.bind(s),findDocumentSymbols2:s.findDocumentSymbols2.bind(s),findColorSymbols:function(e,t){return s.findDocumentColors(e,t).then((function(e){return e.map((function(e){return e.range}))}))},findDocumentColors:s.findDocumentColors.bind(s),getColorPresentations:s.getColorPresentations.bind(s),doHover:r.doHover.bind(r),getFoldingRanges:ft,getSelectionRanges:bt,findDefinition:_t,format:function(e,t,n){var i=void 0;if(t){var r=e.offsetAt(t.start);i={offset:r,length:e.offsetAt(t.end)-r}}var s={tabSize:n?n.tabSize:4,insertSpaces:!n||n.insertSpaces,eol:"\n"};return Object(x.c)(e.getText(),i,s).map((function(t){return b.replace(o.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n(6),o=n(2),r=n(8),s=n(73),a=n(75),l=n(114);class c{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(e=>new a.b(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new a.b({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.b({open:t.open,close:t.close||""}))}this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(e,t,n){if(0===t.getTokenCount())return!0;const i=t.findTokenIndexAtOffset(n-2),o=t.getStandardTokenType(i);return e.isOK(o)}getSurroundingPairs(){return this._surroundingPairs}}c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var d=n(119);class h{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const n of t.close){const t=n.charAt(n.length-1);e.push(t)}return e=e.filter((e,t,n)=>n.indexOf(e)===t),e}onElectricCharacter(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;const i=t.findTokenIndexAtOffset(n-1);if(Object(l.b)(t.getStandardTokenType(i)))return null;const o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,n-1)+e,s=d.a.findPrevBracketInRange(o,1,r,0,r.length);if(!s)return null;const a=r.substring(s.startColumn-1,s.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[a])return null;const c=t.getActualLineContentBefore(s.startColumn-1);return/^\s*$/.test(c)?{matchOpenBracket:a}:null}}class u{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var p=n(13);class m{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{const t=m._createOpenBracketRegExp(e[0]),n=m._createCloseBracketRegExp(e[1]);t&&n&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:n})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,n,i){if(e>=3)for(let e=0,o=this._regExpRules.length;e<o;e++){let o=this._regExpRules[e];if([{reg:o.beforeText,text:n},{reg:o.afterText,text:i},{reg:o.oneLineAboveText,text:t}].every(e=>!e.reg||e.reg.test(e.text)))return o.action}if(e>=2&&n.length>0&&i.length>0)for(let e=0,t=this._brackets.length;e<t;e++){let t=this._brackets[e];if(t.openRegExp.test(n)&&t.closeRegExp.test(i))return{indentAction:a.a.IndentOutdent}}if(e>=2&&n.length>0)for(let e=0,t=this._brackets.length;e<t;e++){if(this._brackets[e].openRegExp.test(n))return{indentAction:a.a.Indent}}return null}static _createOpenBracketRegExp(e){let t=r.v(e);return/\B/.test(t.charAt(0))||(t="\\b"+t),t+="\\s*$",m._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=r.v(e);return/\B/.test(t.charAt(t.length-1))||(t+="\\b"),t="^\\s*"+t,m._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(e){return Object(p.e)(e),null}}}class g{constructor(e,t,n){this._languageIdentifier=e,this._brackets=null,this._electricCharacter=null;let i=null;t&&(i=t._conf),this._conf=g._mergeConf(i,n),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new m(this._conf):null,this.comments=g._handleComments(this._conf),this.characterPair=new c(this._conf),this.wordDefinition=this._conf.wordPattern||s.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new u(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}get brackets(){return!this._brackets&&this._conf.brackets&&(this._brackets=new d.b(this._languageIdentifier,this._conf.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new h(this.brackets)),this._electricCharacter}onEnter(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}static _mergeConf(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}}static _handleComments(e){let t=e.comments;if(!t)return null;let n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){let[e,i]=t.blockComment;n.blockCommentStartToken=e,n.blockCommentEndToken=i}return n}}class f{constructor(e){this.languageIdentifier=e}}const b=new class{constructor(){this._entries=new Map,this._onDidChange=new i.a,this.onDidChange=this._onDidChange.event}register(e,t){let n=this._getRichEditSupport(e.id),i=new g(e,n,t);return this._entries.set(e.id,i),this._onDidChange.fire(new f(e)),Object(o.h)(()=>{this._entries.get(e.id)===i&&(this._entries.set(e.id,n),this._onDidChange.fire(new f(e)))})}_getRichEditSupport(e){return this._entries.get(e)}getIndentationRules(e){const t=this._entries.get(e);return t&&t.indentationRules||null}_getElectricCharacterSupport(e){let t=this._getRichEditSupport(e);return t&&t.electricCharacter||null}getElectricCharacters(e){let t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]}onElectricCharacter(e,t,n){let i=Object(l.a)(t,n-1),o=this._getElectricCharacterSupport(i.languageId);return o?o.onElectricCharacter(e,i,n-i.firstCharOffset):null}getComments(e){let t=this._getRichEditSupport(e);return t&&t.comments||null}_getCharacterPairSupport(e){let t=this._getRichEditSupport(e);return t&&t.characterPair||null}getAutoClosingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]}getAutoCloseBeforeSet(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]}shouldAutoClosePair(e,t,n){const i=Object(l.a)(t,n-1);return c.shouldAutoClosePair(e,i,n-i.firstCharOffset)}getWordDefinition(e){let t=this._getRichEditSupport(e);return t?Object(s.c)(t.wordDefinition||null):Object(s.c)(null)}getFoldingRules(e){let t=this._getRichEditSupport(e);return t?t.foldingRules:{}}getIndentRulesSupport(e){let t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null}getPrecedingValidLine(e,t,n){let i=e.getLanguageIdAtPosition(t,0);if(t>1){let o,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;let t=e.getLineContent(o);if(!n.shouldIgnore(t)&&!/^\s+$/.test(t)&&""!==t)return o;r=o}}return-1}getInheritIndentForLine(e,t,n,i=!0){if(e<4)return null;const o=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!o)return null;if(n<=1)return{indentation:"",action:null};const s=this.getPrecedingValidLine(t,n,o);if(s<0)return null;if(s<1)return{indentation:"",action:null};const l=t.getLineContent(s);if(o.shouldIncrease(l)||o.shouldIndentNextLine(l))return{indentation:r.z(l),action:a.a.Indent,line:s};if(o.shouldDecrease(l))return{indentation:r.z(l),action:null,line:s};{if(1===s)return{indentation:r.z(t.getLineContent(s)),action:null,line:s};const e=s-1,n=o.getIndentMetadata(t.getLineContent(e));if(!(3&n)&&4&n){let n=0;for(let i=e-1;i>0;i--)if(!o.shouldIndentNextLine(t.getLineContent(i))){n=i;break}return{indentation:r.z(t.getLineContent(n+1)),action:null,line:n+1}}if(i)return{indentation:r.z(t.getLineContent(s)),action:null,line:s};for(let e=s;e>0;e--){const n=t.getLineContent(e);if(o.shouldIncrease(n))return{indentation:r.z(n),action:a.a.Indent,line:e};if(o.shouldIndentNextLine(n)){let n=0;for(let i=e-1;i>0;i--)if(!o.shouldIndentNextLine(t.getLineContent(e))){n=i;break}return{indentation:r.z(t.getLineContent(n+1)),action:null,line:n+1}}if(o.shouldDecrease(n))return{indentation:r.z(n),action:null,line:e}}return{indentation:r.z(t.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(e,t,n,i,o){if(e<4)return null;const s=this._getRichEditSupport(n);if(!s)return null;const l=this.getIndentRulesSupport(n);if(!l)return null;const c=this.getInheritIndentForLine(e,t,i),d=t.getLineContent(i);if(c){const n=c.line;if(void 0!==n){const i=s.onEnter(e,"",t.getLineContent(n),"");if(i){let e=r.z(t.getLineContent(n));return i.removeText&&(e=e.substring(0,e.length-i.removeText)),i.indentAction===a.a.Indent||i.indentAction===a.a.IndentOutdent?e=o.shiftIndent(e):i.indentAction===a.a.Outdent&&(e=o.unshiftIndent(e)),l.shouldDecrease(d)&&(e=o.unshiftIndent(e)),i.appendText&&(e+=i.appendText),r.z(e)}}return l.shouldDecrease(d)?c.action===a.a.Indent?c.indentation:o.unshiftIndent(c.indentation):c.action===a.a.Indent?o.shiftIndent(c.indentation):c.indentation}return null}getIndentForEnter(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);const o=t.getLineTokens(n.startLineNumber),s=Object(l.a)(o,n.startColumn-1),c=s.getLineContent();let d,h,u=!1;if(s.firstCharOffset>0&&o.getLanguageId(0)!==s.languageId?(u=!0,d=c.substr(0,n.startColumn-1-s.firstCharOffset)):d=o.getLineContent().substring(0,n.startColumn-1),n.isEmpty())h=c.substr(n.startColumn-1-s.firstCharOffset);else{h=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-s.firstCharOffset)}const p=this.getIndentRulesSupport(s.languageId);if(!p)return null;const m=d,g=r.z(d),f={getLineTokens:e=>t.getLineTokens(e),getLanguageIdentifier:()=>t.getLanguageIdentifier(),getLanguageIdAtPosition:(e,n)=>t.getLanguageIdAtPosition(e,n),getLineContent:e=>e===n.startLineNumber?m:t.getLineContent(e)},b=r.z(o.getLineContent()),_=this.getInheritIndentForLine(e,f,n.startLineNumber+1);if(!_){const e=u?b:g;return{beforeEnter:e,afterEnter:e}}let v=u?b:_.indentation;return _.action===a.a.Indent&&(v=i.shiftIndent(v)),p.shouldDecrease(h)&&(v=i.unshiftIndent(v)),{beforeEnter:u?b:g,afterEnter:v}}getIndentActionForType(e,t,n,i,o){if(e<4)return null;const r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(r.languageId);if(!s)return null;const l=r.getLineContent(),c=l.substr(0,n.startColumn-1-r.firstCharOffset);let d;if(n.isEmpty())d=l.substr(n.startColumn-1-r.firstCharOffset);else{d=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset)}if(!s.shouldDecrease(c+d)&&s.shouldDecrease(c+i+d)){const i=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!i)return null;let r=i.indentation;return i.action!==a.a.Indent&&(r=o.unshiftIndent(r)),r}return null}getIndentMetadata(e,t){const n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null}getEnterAction(e,t,n){const i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this._getRichEditSupport(i.languageId);if(!o)return null;const r=i.getLineContent(),s=r.substr(0,n.startColumn-1-i.firstCharOffset);let l;if(n.isEmpty())l=r.substr(n.startColumn-1-i.firstCharOffset);else{l=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset)}let c="";if(n.startLineNumber>1&&0===i.firstCharOffset){const e=this.getScopedLineTokens(t,n.startLineNumber-1);e.languageId===i.languageId&&(c=e.getLineContent())}const d=o.onEnter(e,c,s,l);if(!d)return null;const h=d.indentAction;let u=d.appendText;const p=d.removeText||0;u||(u=h===a.a.Indent||h===a.a.IndentOutdent?"\t":"");let m=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return p&&(m=m.substring(0,m.length-p)),{indentAction:h,appendText:u,removeText:p,indentation:m}}getIndentationAtPosition(e,t,n){const i=e.getLineContent(t);let o=r.z(i);return o.length>n-1&&(o=o.substring(0,n-1)),o}getScopedLineTokens(e,t,n){e.forceTokenization(t);const i=e.getLineTokens(t),o=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(l.a)(i,o)}getBracketsSupport(e){const t=this._getRichEditSupport(e);return t&&t.brackets||null}}},function(e,t,n){"use strict";var i,o,r,s,a,l,c,d,h,u,p,m,g,f,b,_,v,w,y,C,x,S,k,E,T,L,N,I,O,D,A,R,M;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return C})),n.d(t,"u",(function(){return x})),n.d(t,"v",(function(){return S})),n.d(t,"w",(function(){return k})),n.d(t,"x",(function(){return E})),n.d(t,"y",(function(){return T})),n.d(t,"z",(function(){return L})),n.d(t,"A",(function(){return N})),n.d(t,"B",(function(){return I})),n.d(t,"C",(function(){return O})),n.d(t,"D",(function(){return D})),n.d(t,"E",(function(){return A})),n.d(t,"F",(function(){return R})),n.d(t,"G",(function(){return M})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(r||(r={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(u||(u={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(p||(p={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(f||(f={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(b||(b={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(_||(_={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(v||(v={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(w||(w={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(y||(y={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(C||(C={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(x||(x={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(S||(S={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(k||(k={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(E||(E={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(T||(T={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(L||(L={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(N||(N={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(I||(I={})),function(e){e[e.Deprecated=1]="Deprecated"}(O||(O={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(D||(D={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(R||(R={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(M||(M={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("codeEditorService")},function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _})),n.d(t,"h",(function(){return v}));var i=n(28);class o extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const o=-1!==e.indexOf(".")?"property":"argument";let r=`The "${e}" ${o} ${i} of type ${t}`;r+=". Received type "+typeof n,super(r),this.code="ERR_INVALID_ARG_TYPE"}}function r(e,t){if("string"!=typeof e)throw new o(t,"string",e)}function s(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,i){let o="",r=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(i(l))break;l=47}if(i(l)){if(s===c-1||1===a);else if(2===a){if(o.length<2||2!==r||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2)){if(o.length>2){const e=o.lastIndexOf(n);-1===e?(o="",r=0):(o=o.slice(0,e),r=o.length-1-o.lastIndexOf(n)),s=c,a=0;continue}if(0!==o.length){o="",r=0,s=c,a=0;continue}}t&&(o+=o.length>0?n+"..":"..",r=2)}else o.length>0?o+=`${n}${e.slice(s+1,c)}`:o=e.slice(s+1,c),r=c-s-1;s=c,a=0}else 46===l&&-1!==a?++a:a=-1}return o}function d(e,t){if(null===t||"object"!=typeof t)throw new o("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const h={resolve(...e){let t="",n="",o=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(c=e[a],r(c,"path"),0===c.length)continue}else 0===t.length?c=i.a():(c=i.b["="+t]||i.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const d=c.length;let h=0,u="",p=!1;const m=c.charCodeAt(0);if(1===d)s(m)&&(h=1,p=!0);else if(s(m))if(p=!0,s(c.charCodeAt(1))){let e=2,t=e;for(;e<d&&!s(c.charCodeAt(e));)e++;if(e<d&&e!==t){const n=c.slice(t,e);for(t=e;e<d&&s(c.charCodeAt(e));)e++;if(e<d&&e!==t){for(t=e;e<d&&!s(c.charCodeAt(e));)e++;e!==d&&e===t||(u=`\\\\${n}\\${c.slice(t,e)}`,h=e)}}}else h=1;else l(m)&&58===c.charCodeAt(1)&&(u=c.slice(0,2),h=2,d>2&&s(c.charCodeAt(2))&&(p=!0,h=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(o){if(t.length>0)break}else if(n=`${c.slice(h)}\\${n}`,o=p,p&&t.length>0)break}return n=c(n,!o,"\\",s),o?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){r(e,"path");const t=e.length;if(0===t)return".";let n,i=0,o=!1;const d=e.charCodeAt(0);if(1===t)return a(d)?"\\":e;if(s(d))if(o=!0,s(e.charCodeAt(1))){let o=2,r=o;for(;o<t&&!s(e.charCodeAt(o));)o++;if(o<t&&o!==r){const a=e.slice(r,o);for(r=o;o<t&&s(e.charCodeAt(o));)o++;if(o<t&&o!==r){for(r=o;o<t&&!s(e.charCodeAt(o));)o++;if(o===t)return`\\\\${a}\\${e.slice(r)}\\`;o!==r&&(n=`\\\\${a}\\${e.slice(r,o)}`,i=o)}}}else i=1;else l(d)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),i=2,t>2&&s(e.charCodeAt(2))&&(o=!0,i=3));let h=i<t?c(e.slice(i),!o,"\\",s):"";return 0!==h.length||o||(h="."),h.length>0&&s(e.charCodeAt(t-1))&&(h+="\\"),void 0===n?o?"\\"+h:h:o?`${n}\\${h}`:`${n}${h}`},isAbsolute(e){r(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&l(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let i=0;i<e.length;++i){const o=e[i];r(o,"path"),o.length>0&&(void 0===t?t=n=o:t+="\\"+o)}if(void 0===t)return".";let i=!0,o=0;if("string"==typeof n&&s(n.charCodeAt(0))){++o;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++o,e>2&&(s(n.charCodeAt(2))?++o:i=!1))}if(i){for(;o<t.length&&s(t.charCodeAt(o));)o++;o>=2&&(t="\\"+t.slice(o))}return h.normalize(t)},relative(e,t){if(r(e,"from"),r(t,"to"),e===t)return"";const n=h.resolve(e),i=h.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let o=0;for(;o<e.length&&92===e.charCodeAt(o);)o++;let s=e.length;for(;s-1>o&&92===e.charCodeAt(s-1);)s--;const a=s-o;let l=0;for(;l<t.length&&92===t.charCodeAt(l);)l++;let c=t.length;for(;c-1>l&&92===t.charCodeAt(c-1);)c--;const d=c-l,u=a<d?a:d;let p=-1,m=0;for(;m<u;m++){const n=e.charCodeAt(o+m);if(n!==t.charCodeAt(l+m))break;92===n&&(p=m)}if(m!==u){if(-1===p)return i}else{if(d>u){if(92===t.charCodeAt(l+m))return i.slice(l+m+1);if(2===m)return i.slice(l+m)}a>u&&(92===e.charCodeAt(o+m)?p=m:2===m&&(p=3)),-1===p&&(p=0)}let g="";for(m=o+p+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(g+=0===g.length?"..":"\\..");return l+=p,g.length>0?`${g}${i.slice(l,c)}`:(92===i.charCodeAt(l)&&++l,i.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){r(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const o=e.charCodeAt(0);if(1===t)return s(o)?e:".";if(s(o)){if(n=i=1,s(e.charCodeAt(1))){let o=2,r=o;for(;o<t&&!s(e.charCodeAt(o));)o++;if(o<t&&o!==r){for(r=o;o<t&&s(e.charCodeAt(o));)o++;if(o<t&&o!==r){for(r=o;o<t&&!s(e.charCodeAt(o));)o++;if(o===t)return e;o!==r&&(n=i=o+1)}}}}else l(o)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,i=n);let a=-1,c=!0;for(let n=t-1;n>=i;--n)if(s(e.charCodeAt(n))){if(!c){a=n;break}}else c=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){void 0!==t&&r(t,"ext"),r(e,"path");let n,i=0,o=-1,a=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,l=-1;for(n=e.length-1;n>=i;--n){const c=e.charCodeAt(n);if(s(c)){if(!a){i=n+1;break}}else-1===l&&(a=!1,l=n+1),r>=0&&(c===t.charCodeAt(r)?-1==--r&&(o=n):(r=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=i;--n)if(s(e.charCodeAt(n))){if(!a){i=n+1;break}}else-1===o&&(a=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){r(e,"path");let t=0,n=-1,i=0,o=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=i=2);for(let r=e.length-1;r>=t;--r){const t=e.charCodeAt(r);if(s(t)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1),46===t?-1===n?n=r:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===o||0===c||1===c&&n===o-1&&n===i+1?"":e.slice(n,o)},format:d.bind(null,"\\"),parse(e){r(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,o=e.charCodeAt(0);if(1===n)return s(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(o)){if(i=1,s(e.charCodeAt(1))){let t=2,o=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==o){for(o=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==o){for(o=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?i=t:t!==o&&(i=t+1)}}}}else if(l(o)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(i=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let a=-1,c=i,d=-1,h=!0,u=e.length-1,p=0;for(;u>=i;--u)if(o=e.charCodeAt(u),s(o)){if(!h){c=u+1;break}}else-1===d&&(h=!1,d=u+1),46===o?-1===a?a=u:1!==p&&(p=1):-1!==a&&(p=-1);return-1!==d&&(-1===a||0===p||1===p&&a===d-1&&a===c+1?t.base=t.name=e.slice(c,d):(t.name=e.slice(c,a),t.base=e.slice(c,d),t.ext=e.slice(a,d))),t.dir=c>0&&c!==i?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},u={resolve(...e){let t="",n=!1;for(let o=e.length-1;o>=-1&&!n;o--){const s=o>=0?e[o]:i.a();r(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=c(t,!n,"/",a),n?"/"+t:t.length>0?t:"."},normalize(e){if(r(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",a)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(r(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];r(i,"path"),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":u.normalize(t)},relative(e,t){if(r(e,"from"),r(t,"to"),e===t)return"";if((e=u.resolve(e))===(t=u.resolve(t)))return"";const n=e.length,i=n-1,o=t.length-1,s=i<o?i:o;let a=-1,l=0;for(;l<s;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;47===n&&(a=l)}if(l===s)if(o>s){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else i>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0));let c="";for(l=1+a+1;l<=n;++l)l!==n&&47!==e.charCodeAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(r(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!i){n=t;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&r(t,"ext"),r(e,"path");let n,i=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(47===l){if(!s){i=n+1;break}}else-1===a&&(s=!1,a=n+1),r>=0&&(l===t.charCodeAt(r)?-1==--r&&(o=n):(r=-1,o=a))}return i===o?o=a:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else-1===o&&(s=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){r(e,"path");let t=-1,n=0,i=-1,o=!0,s=0;for(let r=e.length-1;r>=0;--r){const a=e.charCodeAt(r);if(47!==a)-1===i&&(o=!1,i=r+1),46===a?-1===t?t=r:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){n=r+1;break}}return-1===t||-1===i||0===s||1===s&&t===i-1&&t===n+1?"":e.slice(t,i)},format:d.bind(null,"/"),parse(e){r(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let i;n?(t.root="/",i=1):i=0;let o=-1,s=0,a=-1,l=!0,c=e.length-1,d=0;for(;c>=i;--c){const t=e.charCodeAt(c);if(47!==t)-1===a&&(l=!1,a=c+1),46===t?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1);else if(!l){s=c+1;break}}if(-1!==a){const i=0===s&&n?1:s;-1===o||0===d||1===d&&o===a-1&&o===s+1?t.base=t.name=e.slice(i,a):(t.name=e.slice(i,o),t.base=e.slice(i,a),t.ext=e.slice(o,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};u.win32=h.win32=h,u.posix=h.posix=u;const p="win32"===i.c?h.normalize:u.normalize,m="win32"===i.c?h.resolve:u.resolve,g="win32"===i.c?h.relative:u.relative,f="win32"===i.c?h.dirname:u.dirname,b="win32"===i.c?h.basename:u.basename,_="win32"===i.c?h.extname:u.extname,v="win32"===i.c?h.sep:u.sep},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return g}));var i=n(13);class o{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const r=new o,s=new o,a=new o;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function d(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new p(0!==i?[h(n,t),h(i,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),i=!!(256&e);return new u(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n=t,i=n){r.define(e,t),s.define(e,n),a.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return r.keyCodeToStr(e)},e.fromString=function(e){return r.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(l||(l={}));class u{constructor(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw Object(i.b)("parts");this.parts=e}}class m{constructor(e,t,n,i,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=r}}class g{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(6);const o=(e,t,n)=>{const o=e=>r.fire(e),r=new i.a({onFirstListenerAdd:()=>{e.addEventListener(t,o,n)},onLastListenerRemove:()=>{e.removeEventListener(t,o,n)}});return r.event};function r(e){return i.b.map(e,e=>(e.preventDefault(),e.stopPropagation(),e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var i,o=n(23),r=n(11);!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebook="vscode-notebook",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeSettings="vscode-settings",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.vscodeWebviewResource="vscode-webview-resource",e.extension="extension"}(i||(i={}));const s=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n=`[${n}]`);const s=this._ports[t],a=this._connectionTokens[t];let l="path="+encodeURIComponent(e.path);return"string"==typeof a&&(l+="&tkn="+encodeURIComponent(a)),o.a.from({scheme:r.h?this._preferredWebSchema:i.vscodeRemoteResource,authority:`${n}:${s}`,path:"/vscode-remote-resource",query:l})}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h}));var i=n(14);function o(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]=o(e[n]):t[n]=e[n]}),t}function r(e){if(!e||"object"!=typeof e)return e;const t=[e];for(;t.length>0;){const e=t.shift();Object.freeze(e);for(const n in e)if(s.call(e,n)){const i=e[n];"object"!=typeof i||Object.isFrozen(i)||t.push(i)}}return e}const s=Object.prototype.hasOwnProperty;function a(e,t){return function e(t,n,o){if(Object(i.l)(t))return t;const r=n(t);if(void 0!==r)return r;if(Object(i.e)(t)){const i=[];for(const r of t)i.push(e(r,n,o));return i}if(Object(i.i)(t)){if(o.has(t))throw new Error("Cannot clone recursive data-structure");o.add(t);const i={};for(let r in t)s.call(t,r)&&(i[r]=e(t[r],n,o));return o.delete(t),i}return t}(e,t,new Set)}function l(e,t,n=!0){return Object(i.i)(e)?(Object(i.i)(t)&&Object.keys(t).forEach(o=>{o in e?n&&(Object(i.i)(e[o])&&Object(i.i)(t[o])?l(e[o],t[o],n):e[o]=t[o]):e[o]=t[o]}),e):t}function c(e,...t){return t.forEach(t=>Object.keys(t).forEach(n=>e[n]=t[n])),e}function d(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!d(e[n],t[n]))return!1}else{const o=[];for(i in e)o.push(i);o.sort();const r=[];for(i in t)r.push(i);if(r.sort(),!d(o,r))return!1;for(n=0;n<o.length;n++)if(!d(e[o[n]],t[o[n]]))return!1}return!0}function h(e,t,n){const i=t(e);return void 0===i?n:i}},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.h})),n.d(t,"d",(function(){return i.l})),n.d(t,"e",(function(){return i.m})),n.d(t,"f",(function(){return i.n}))},function(e,t,n){"use strict";var i;n.d(t,"g",(function(){return ui})),n.d(t,"d",(function(){return mn})),n.d(t,"b",(function(){return bn})),n.d(t,"a",(function(){return zn})),n.d(t,"e",(function(){return Bn})),n.d(t,"c",(function(){return Yn})),n.d(t,"f",(function(){return Xn})),n.d(t,"h",(function(){return Hr})),n.d(t,"j",(function(){return qr})),n.d(t,"i",(function(){return $r})),function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"}(i||(i={}));var o=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),r="a".charCodeAt(0),s="f".charCodeAt(0),a="z".charCodeAt(0),l="A".charCodeAt(0),c="F".charCodeAt(0),d="Z".charCodeAt(0),h="0".charCodeAt(0),u="9".charCodeAt(0),p="~".charCodeAt(0),m="^".charCodeAt(0),g="=".charCodeAt(0),f="|".charCodeAt(0),b="-".charCodeAt(0),_="_".charCodeAt(0),v="%".charCodeAt(0),w="*".charCodeAt(0),y="(".charCodeAt(0),C=")".charCodeAt(0),x="<".charCodeAt(0),S=">".charCodeAt(0),k="@".charCodeAt(0),E="#".charCodeAt(0),T="$".charCodeAt(0),L="\\".charCodeAt(0),N="/".charCodeAt(0),I="\n".charCodeAt(0),O="\r".charCodeAt(0),D="\f".charCodeAt(0),A='"'.charCodeAt(0),R="'".charCodeAt(0),M=" ".charCodeAt(0),P="\t".charCodeAt(0),F=";".charCodeAt(0),W=":".charCodeAt(0),z="{".charCodeAt(0),B="}".charCodeAt(0),j="[".charCodeAt(0),V="]".charCodeAt(0),U=",".charCodeAt(0),H=".".charCodeAt(0),q="!".charCodeAt(0),$={};$[F]=i.SemiColon,$[W]=i.Colon,$[z]=i.CurlyL,$[B]=i.CurlyR,$[V]=i.BracketR,$[j]=i.BracketL,$[y]=i.ParenthesisL,$[C]=i.ParenthesisR,$[U]=i.Comma;var K={};K.em=i.EMS,K.ex=i.EXS,K.px=i.Length,K.cm=i.Length,K.mm=i.Length,K.in=i.Length,K.pt=i.Length,K.pc=i.Length,K.deg=i.Angle,K.rad=i.Angle,K.grad=i.Angle,K.ms=i.Time,K.s=i.Time,K.hz=i.Freq,K.khz=i.Freq,K["%"]=i.Percentage,K.fr=i.Percentage,K.dpi=i.Resolution,K.dpcm=i.Resolution;var G=function(){function e(){this.stream=new o(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new o(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,i.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,i.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([x,q,b,b]))return this.finishToken(e,i.CDO);if(this.stream.advanceIfChars([b,b,S]))return this.finishToken(e,i.CDC);var t=[];if(this.ident(t))return this.finishToken(e,i.Ident,t.join(""));if(this.stream.advanceIfChar(k)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,i.Charset,n):this.finishToken(e,i.AtKeyword,n)}return this.finishToken(e,i.Delim)}if(this.stream.advanceIfChar(E))return t=["#"],this._name(t)?this.finishToken(e,i.Hash,t.join("")):this.finishToken(e,i.Delim);if(this.stream.advanceIfChar(q))return this.finishToken(e,i.Exclamation);if(this._number()){var o=this.stream.pos();if(t=[this.stream.substring(e,o)],this.stream.advanceIfChar(v))return this.finishToken(e,i.Percentage);if(this.ident(t)){var r=this.stream.substring(o).toLowerCase(),s=K[r];return void 0!==s?this.finishToken(e,s,t.join("")):this.finishToken(e,i.Dimension,t.join(""))}return this.finishToken(e,i.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):void 0!==(a=$[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===p&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Includes)):this.stream.peekChar(0)===f&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Dashmatch)):this.stream.peekChar(0)===w&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SubstringOperator)):this.stream.peekChar(0)===m&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.PrefixOperator)):this.stream.peekChar(0)===T&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,i.Delim))},e.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,i.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,i.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([N,w])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===N?(e=!0,!1):(t=n===w,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===H&&(t=1),(e=this.stream.peekChar(t))>=h&&e<=u&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=h&&e<=u||0===t&&e===H})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case O:case D:case I:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===O&&this.stream.advanceIfChar(I)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===L){this.stream.advance(1),n=this.stream.peekChar();for(var i=0;i<6&&(n>=h&&n<=u||n>=r&&n<=s||n>=l&&n<=c);)this.stream.advance(1),n=this.stream.peekChar(),i++;if(i>0){try{var o=parseInt(this.stream.substring(this.stream.pos()-i),16);o&&e.push(String.fromCharCode(o))}catch(e){}return n===M||n===P?this.stream.advance(1):this._newline([]),!0}if(n!==O&&n!==D&&n!==I)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==L&&n!==O&&n!==D&&n!==I&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===R||this.stream.peekChar()===A){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),i.String):i.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==L&&t!==R&&t!==A&&t!==y&&t!==C&&t!==M&&t!==P&&t!==I&&t!==D&&t!==O&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},e.prototype._whitespace=function(){return this.stream.advanceWhileChar((function(e){return e===M||e===P||e===I||e===D||e===O}))>0},e.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos();if(this._minus(e)&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===_||t>=r&&t<=a||t>=l&&t<=d||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===b&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===_||t===b||t>=r&&t<=a||t>=l&&t<=d||t>=h&&t<=u||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}();function Y(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function Z(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function X(e,t){return void 0===t&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}var Q,J,ee,te=(Q=function(e,t){return(Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function ne(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function ie(e,t){for(var n=ne(e,t),i=[];n;)i.unshift(n),n=n.parent;return i}!function(e){e[e.Undefined=0]="Undefined",e[e.Identifier=1]="Identifier",e[e.Stylesheet=2]="Stylesheet",e[e.Ruleset=3]="Ruleset",e[e.Selector=4]="Selector",e[e.SimpleSelector=5]="SimpleSelector",e[e.SelectorInterpolation=6]="SelectorInterpolation",e[e.SelectorCombinator=7]="SelectorCombinator",e[e.SelectorCombinatorParent=8]="SelectorCombinatorParent",e[e.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",e[e.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",e[e.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",e[e.Page=12]="Page",e[e.PageBoxMarginBox=13]="PageBoxMarginBox",e[e.ClassSelector=14]="ClassSelector",e[e.IdentifierSelector=15]="IdentifierSelector",e[e.ElementNameSelector=16]="ElementNameSelector",e[e.PseudoSelector=17]="PseudoSelector",e[e.AttributeSelector=18]="AttributeSelector",e[e.Declaration=19]="Declaration",e[e.Declarations=20]="Declarations",e[e.Property=21]="Property",e[e.Expression=22]="Expression",e[e.BinaryExpression=23]="BinaryExpression",e[e.Term=24]="Term",e[e.Operator=25]="Operator",e[e.Value=26]="Value",e[e.StringLiteral=27]="StringLiteral",e[e.URILiteral=28]="URILiteral",e[e.EscapedValue=29]="EscapedValue",e[e.Function=30]="Function",e[e.NumericValue=31]="NumericValue",e[e.HexColorValue=32]="HexColorValue",e[e.MixinDeclaration=33]="MixinDeclaration",e[e.MixinReference=34]="MixinReference",e[e.VariableName=35]="VariableName",e[e.VariableDeclaration=36]="VariableDeclaration",e[e.Prio=37]="Prio",e[e.Interpolation=38]="Interpolation",e[e.NestedProperties=39]="NestedProperties",e[e.ExtendsReference=40]="ExtendsReference",e[e.SelectorPlaceholder=41]="SelectorPlaceholder",e[e.Debug=42]="Debug",e[e.If=43]="If",e[e.Else=44]="Else",e[e.For=45]="For",e[e.Each=46]="Each",e[e.While=47]="While",e[e.MixinContentReference=48]="MixinContentReference",e[e.MixinContentDeclaration=49]="MixinContentDeclaration",e[e.Media=50]="Media",e[e.Keyframe=51]="Keyframe",e[e.FontFace=52]="FontFace",e[e.Import=53]="Import",e[e.Namespace=54]="Namespace",e[e.Invocation=55]="Invocation",e[e.FunctionDeclaration=56]="FunctionDeclaration",e[e.ReturnStatement=57]="ReturnStatement",e[e.MediaQuery=58]="MediaQuery",e[e.FunctionParameter=59]="FunctionParameter",e[e.FunctionArgument=60]="FunctionArgument",e[e.KeyframeSelector=61]="KeyframeSelector",e[e.ViewPort=62]="ViewPort",e[e.Document=63]="Document",e[e.AtApplyRule=64]="AtApplyRule",e[e.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",e[e.CustomPropertySet=66]="CustomPropertySet",e[e.ListEntry=67]="ListEntry",e[e.Supports=68]="Supports",e[e.SupportsCondition=69]="SupportsCondition",e[e.NamespacePrefix=70]="NamespacePrefix",e[e.GridLine=71]="GridLine",e[e.Plugin=72]="Plugin",e[e.UnknownAtRule=73]="UnknownAtRule",e[e.Use=74]="Use",e[e.ModuleConfiguration=75]="ModuleConfiguration",e[e.Forward=76]="Forward",e[e.ForwardVisibility=77]="ForwardVisibility",e[e.Module=78]="Module"}(J||(J={})),function(e){e[e.Mixin=0]="Mixin",e[e.Rule=1]="Rule",e[e.Variable=2]="Variable",e[e.Function=3]="Function",e[e.Keyframe=4]="Keyframe",e[e.Unknown=5]="Unknown",e[e.Module=6]="Module",e[e.Forward=7]="Forward",e[e.ForwardVisibility=8]="ForwardVisibility"}(ee||(ee={}));var oe,re=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||J.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){n[t].accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),-1!==t?i.splice(t,0,e):i.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.addChild(i)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if((t=this.children[n]).offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){for(var e=this.parent;e instanceof se;)e=e.parent;return e},e.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this;n&&!e.some((function(e){return n.type===e}));)n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),se=function(e){function t(t,n){void 0===n&&(n=-1);var i=e.call(this,-1,-1)||this;return i.attachTo(t,n),i.offset=-1,i.length=-1,i}return te(t,e),t}(re),ae=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.isCustomProperty=!1,i}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(re),le=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Stylesheet},enumerable:!0,configurable:!0}),t}(re),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Declarations},enumerable:!0,configurable:!0}),t}(re),de=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(re),he=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(J.Declarations)},t}(de),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Selector},enumerable:!0,configurable:!0}),t}(re),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.SimpleSelector},enumerable:!0,configurable:!0}),t}(re),me=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(re),ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t}(re),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(ge),be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.CustomPropertySet},enumerable:!0,configurable:!0}),t}(de),_e=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.property=null,i}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof ce&&this.parent.getParent()instanceof Oe){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(ge),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return e=this.getText(),(t=/[_\+]+$/.exec(e))&&t[0].length?e.substr(0,e.length-t[0].length):e;var e,t},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(re),we=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(re)),ye=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(re),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(re),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(de),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(de),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new se(this)),this.variables},t}(de),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.While},enumerable:!0,configurable:!0}),t}(de),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Else},enumerable:!0,configurable:!0}),t}(de),Le=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),Ne=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ViewPort},enumerable:!0,configurable:!0}),t}(de),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FontFace},enumerable:!0,configurable:!0}),t}(de),Oe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.NestedProperties},enumerable:!0,configurable:!0}),t}(de),De=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(de),Ae=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.KeyframeSelector},enumerable:!0,configurable:!0}),t}(de),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(re),Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(re),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Namespace},enumerable:!0,configurable:!0}),t}(re),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Media},enumerable:!0,configurable:!0}),t}(de),je=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Supports},enumerable:!0,configurable:!0}),t}(de),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Document},enumerable:!0,configurable:!0}),t}(de),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new se(this)),this.mediums},t}(re),He=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MediaQuery},enumerable:!0,configurable:!0}),t}(re),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.SupportsCondition},enumerable:!0,configurable:!0}),t}(re),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Page},enumerable:!0,configurable:!0}),t}(de),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(de),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Expression},enumerable:!0,configurable:!0}),t}(re),Ye=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(re),Ze=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(re),Xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(re),Qe=(function(e){function t(t,n){return e.call(this,t,n)||this}te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Operator},enumerable:!0,configurable:!0})}(re),function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.HexColorValue},enumerable:!0,configurable:!0}),t}(re)),Je=".".charCodeAt(0),et="0".charCodeAt(0),tt="9".charCodeAt(0),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,i=0,o=t.length;i<o&&(e=t.charCodeAt(i),et<=e&&e<=tt||e===Je);i++)n+=1;return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(re),it=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(ge),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Interpolation},enumerable:!0,configurable:!0}),t}(re),rt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(re),st=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t}(re),at=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(re),lt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),ct=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new se(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(re),dt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(de),ht=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(de),ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(re),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new se(this)),this.conditions},t}(re),mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(re),gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re);!function(e){e[e.Ignore=1]="Ignore",e[e.Warning=2]="Warning",e[e.Error=4]="Error"}(oe||(oe={}));var ft=function(){function e(e,t,n,i,o,r){void 0===o&&(o=e.offset),void 0===r&&(r=e.length),this.node=e,this.rule=t,this.level=n,this.message=i||t.message,this.offset=o,this.length=r}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),bt=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function _t(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function vt(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return _t(t,n)}function wt(e){return vt}var yt=wt(),Ct=function(e,t){this.id=e,this.message=t},xt={NumberExpected:new Ct("css-numberexpected",yt("expected.number","number expected")),ConditionExpected:new Ct("css-conditionexpected",yt("expected.condt","condition expected")),RuleOrSelectorExpected:new Ct("css-ruleorselectorexpected",yt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new Ct("css-dotexpected",yt("expected.dot","dot expected")),ColonExpected:new Ct("css-colonexpected",yt("expected.colon","colon expected")),SemiColonExpected:new Ct("css-semicolonexpected",yt("expected.semicolon","semi-colon expected")),TermExpected:new Ct("css-termexpected",yt("expected.term","term expected")),ExpressionExpected:new Ct("css-expressionexpected",yt("expected.expression","expression expected")),OperatorExpected:new Ct("css-operatorexpected",yt("expected.operator","operator expected")),IdentifierExpected:new Ct("css-identifierexpected",yt("expected.ident","identifier expected")),PercentageExpected:new Ct("css-percentageexpected",yt("expected.percentage","percentage expected")),URIOrStringExpected:new Ct("css-uriorstringexpected",yt("expected.uriorstring","uri or string expected")),URIExpected:new Ct("css-uriexpected",yt("expected.uri","URI expected")),VariableNameExpected:new Ct("css-varnameexpected",yt("expected.varname","variable name expected")),VariableValueExpected:new Ct("css-varvalueexpected",yt("expected.varvalue","variable value expected")),PropertyValueExpected:new Ct("css-propertyvalueexpected",yt("expected.propvalue","property value expected")),LeftCurlyExpected:new Ct("css-lcurlyexpected",yt("expected.lcurly","{ expected")),RightCurlyExpected:new Ct("css-rcurlyexpected",yt("expected.rcurly","} expected")),LeftSquareBracketExpected:new Ct("css-rbracketexpected",yt("expected.lsquare","[ expected")),RightSquareBracketExpected:new Ct("css-lbracketexpected",yt("expected.rsquare","] expected")),LeftParenthesisExpected:new Ct("css-lparentexpected",yt("expected.lparen","( expected")),RightParenthesisExpected:new Ct("css-rparentexpected",yt("expected.rparent",") expected")),CommaExpected:new Ct("css-commaexpected",yt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new Ct("css-pagedirordeclexpected",yt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new Ct("css-unknownatrule",yt("unknown.atrule","at-rule unknown")),UnknownKeyword:new Ct("css-unknownkeyword",yt("unknown.keyword","unknown keyword")),SelectorExpected:new Ct("css-selectorexpected",yt("expected.selector","selector expected")),StringLiteralExpected:new Ct("css-stringliteralexpected",yt("expected.stringliteral","string literal expected")),WhitespaceExpected:new Ct("css-whitespaceexpected",yt("expected.whitespace","whitespace expected")),MediaQueryExpected:new Ct("css-mediaqueryexpected",yt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new Ct("css-idorwildcardexpected",yt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new Ct("css-wildcardexpected",yt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new Ct("css-idorvarexpected",yt("expected.idorvar","identifier or variable expected"))},St={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function kt(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function Et(e,t){var n;if(""!==(n=t?{kind:"markdown",value:Nt(e)}:{kind:"plaintext",value:Lt(e)}).value)return n}function Tt(e){return(e=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(/</g,"<").replace(/>/g,">")}function Lt(e){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;var t="";e.status&&(t+=kt(e.status)),t+=e.description;var n=It(e.browsers);return n&&(t+="\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return e.name+": "+e.url})).join(" | ")),t}function Nt(e){if(!e.description||""===e.description)return"";var t="";e.status&&(t+=kt(e.status)),t+=Tt("string"==typeof e.description?e.description:e.description.value);var n=It(e.browsers);return n&&(t+="\n\n("+Tt(n)+")"),"syntax"in e&&e.syntax&&(t+="\n\nSyntax: "+Tt(e.syntax)),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | ")),t}function It(e){return void 0===e&&(e=[]),0===e.length?null:e.map((function(e){var t="",n=e.match(/([A-Z]+)(\d+)?/),i=n[1],o=n[2];return i in St&&(t+=St[i]),o&&(t+=" "+o),t})).join(", ")}var Ot=wt(),Dt=[{func:"rgb($red, $green, $blue)",desc:Ot("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Ot("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Ot("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Ot("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],At={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Rt={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Mt(e,t){var n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);var i=parseFloat(n[1])/t;if(i>=0&&i<=1)return i}throw new Error}function Pt(e){var t=e.getName();return!!t&&/^(rgb|rgba|hsl|hsla)$/gi.test(t)}function Ft(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Wt(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ft(e.charCodeAt(1))/255,green:17*Ft(e.charCodeAt(2))/255,blue:17*Ft(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ft(e.charCodeAt(1))/255,green:17*Ft(e.charCodeAt(2))/255,blue:17*Ft(e.charCodeAt(3))/255,alpha:17*Ft(e.charCodeAt(4))/255};case 7:return{red:(16*Ft(e.charCodeAt(1))+Ft(e.charCodeAt(2)))/255,green:(16*Ft(e.charCodeAt(3))+Ft(e.charCodeAt(4)))/255,blue:(16*Ft(e.charCodeAt(5))+Ft(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ft(e.charCodeAt(1))+Ft(e.charCodeAt(2)))/255,green:(16*Ft(e.charCodeAt(3))+Ft(e.charCodeAt(4)))/255,blue:(16*Ft(e.charCodeAt(5))+Ft(e.charCodeAt(6)))/255,alpha:(16*Ft(e.charCodeAt(7))+Ft(e.charCodeAt(8)))/255}}return null}function zt(e){if(e.type===J.HexColorValue)return Wt(e.getText());if(e.type===J.Function){var t=e,n=t.getName(),i=t.getArguments().getChildren();if(!n||i.length<3||i.length>4)return null;try{var o=4===i.length?Mt(i[3],1):1;if("rgb"===n||"rgba"===n)return{red:Mt(i[0],255),green:Mt(i[1],255),blue:Mt(i[2],255),alpha:o};if("hsl"===n||"hsla"===n)return function(e,t,n,i){if(void 0===i&&(i=1),0===t)return{red:n,green:n,blue:n,alpha:i};var o=function(e,t,n){for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},r=n<=.5?n*(t+1):n+t-n*t,s=2*n-r;return{red:o(s,r,(e/=60)+2),green:o(s,r,e),blue:o(s,r,e-2),alpha:i}}(function(e){var t=e.getText();if(t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(t)%360;throw new Error}(i[0]),Mt(i[1],100),Mt(i[2],100),o)}catch(e){return null}}else if(e.type===J.Identifier){if(e.parent&&e.parent.type!==J.Term)return null;var r=e.parent;if(r&&r.parent&&r.parent.type===J.BinaryExpression){var s=r.parent;if(s.parent&&s.parent.type===J.ListEntry&&s.parent.key===s)return null}var a=e.getText().toLowerCase();if("none"===a)return null;var l=At[a];if(l)return Wt(l)}return null}var Bt={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},jt={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},Vt={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Ut=["medium","thick","thin"],Ht={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},qt={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},$t={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Kt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Gt={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Yt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Zt={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Xt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Qt=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],Jt=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function en(e){return Object.keys(e).map((function(t){return e[t]}))}function tn(e){return void 0!==e}var nn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},on=function(){function e(e){void 0===e&&(e=new G),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=e,this.token={type:i.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return e.prototype.peekIdent=function(e){return i.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(e){return i.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekDelim=function(e){return i.Delim===this.token.type&&e===this.token.text},e.prototype.peek=function(e){return e===this.token.type},e.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},e.prototype.try=function(e){var t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)},e.prototype.acceptOneKeyword=function(e){if(i.AtKeyword===this.token.type)for(var t=0,n=e;t<n.length;t++){var o=n[t];if(o.length===this.token.text.length&&o===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(e){return e===this.token.type&&(this.consumeToken(),!0)},e.prototype.acceptIdent=function(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)},e.prototype.acceptKeyword=function(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)},e.prototype.acceptDelim=function(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)},e.prototype.acceptRegexp=function(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)},e.prototype._parseRegexp=function(e){var t=this.createNode(J.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)},e.prototype.acceptUnquotedString=function(){var e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)},e.prototype.resync=function(e,t){for(;;){if(e&&-1!==e.indexOf(this.token.type))return this.consumeToken(),!0;if(t&&-1!==t.indexOf(this.token.type))return!0;if(this.token.type===i.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(e){return new re(this.token.offset,this.token.len,e)},e.prototype.create=function(e){return new e(this.token.offset,this.token.len)},e.prototype.finish=function(e,t,n,i){if(!(e instanceof se)&&(t&&this.markError(e,t,n,i),this.prevToken)){var o=this.prevToken.offset+this.prevToken.len;e.length=o>e.offset?o-e.offset:0}return e},e.prototype.markError=function(e,t,n,i){this.token!==this.lastErrorToken&&(e.addIssue(new ft(e,t,oe.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||i)&&this.resync(n,i)},e.prototype.parseStylesheet=function(e){var t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,(function(i,o){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(i,o)}))},e.prototype.internalParse=function(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();var i=t.bind(this)();return i&&(i.textProvider=n||function(t,n){return e.substr(t,n)}),i},e.prototype._parseStylesheet=function(){for(var e=this.create(le);e.addChild(this._parseStylesheetStart()););var t=!1;do{var n=!1;do{n=!1;var o=this._parseStylesheetStatement();for(o&&(e.addChild(o),n=!0,t=!1,this.peek(i.EOF)||!this._needsSemicolonAfter(o)||this.accept(i.SemiColon)||this.markError(e,xt.SemiColonExpected));this.accept(i.SemiColon)||this.accept(i.CDO)||this.accept(i.CDC);)n=!0,t=!1}while(n);if(this.peek(i.EOF))break;t||(this.peek(i.AtKeyword)?this.markError(e,xt.UnknownAtRule):this.markError(e,xt.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(i.EOF));return this.finish(e)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(e){return void 0===e&&(e=!1),this.peek(i.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},e.prototype._parseStylesheetAtStatement=function(e){return void 0===e&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(i.Comma)&&this._parseSelector(e););if(this.accept(i.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},e.prototype._parseRuleset=function(e){void 0===e&&(e=!1);var t=this.create(he),n=t.getSelectors();if(!n.addChild(this._parseSelector(e)))return null;for(;this.accept(i.Comma);)if(!n.addChild(this._parseSelector(e)))return this.finish(t,xt.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseAtApply()||this._parseUnknownAtRule()},e.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()},e.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var e=this.create(me);return this.consumeToken(),e.setIdentifier(this._parseIdent([ee.Variable]))?this.finish(e):this.finish(e,xt.IdentifierExpected)},e.prototype._needsSemicolonAfter=function(e){switch(e.type){case J.Keyframe:case J.ViewPort:case J.Media:case J.Ruleset:case J.Namespace:case J.If:case J.For:case J.Each:case J.While:case J.MixinDeclaration:case J.FunctionDeclaration:case J.MixinContentDeclaration:return!1;case J.ExtendsReference:case J.MixinContentReference:case J.ReturnStatement:case J.MediaQuery:case J.Debug:case J.Import:case J.AtApplyRule:case J.CustomPropertyDeclaration:return!0;case J.VariableDeclaration:return e.needsSemicolon;case J.MixinReference:return!e.getContent();case J.Declaration:return!e.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(e){var t=this.create(ce);if(!this.accept(i.CurlyL))return null;for(var n=e();t.addChild(n)&&!this.peek(i.CurlyR);){if(this._needsSemicolonAfter(n)&&!this.accept(i.SemiColon))return this.finish(t,xt.SemiColonExpected,[i.SemiColon,i.CurlyR]);for(n&&this.prevToken&&this.prevToken.type===i.SemiColon&&(n.semicolonPosition=this.prevToken.offset);this.accept(i.SemiColon););n=e()}return this.accept(i.CurlyR)?this.finish(t):this.finish(t,xt.RightCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,xt.LeftCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseSelector=function(e){var t=this.create(ue),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null},e.prototype._parseDeclaration=function(e){var t=this.create(_e);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon)){var n=e?nn(e,[i.SemiColon]):[i.SemiColon];return this.finish(t,xt.ColonExpected,[i.Colon],n)}return this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseExpr())?(t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):this.finish(t,xt.PropertyValueExpected)},e.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(i.Ident,/^--/))return null;var e=this.create(fe);if(!e.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(e,xt.ColonExpected,[i.Colon]);this.prevToken&&(e.colonPosition=this.prevToken.offset);var t=this.mark();if(this.peek(i.CurlyL)){var n=this.create(be),o=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(n.setDeclarations(o)&&!o.isErroneous(!0)&&(n.addChild(this._parsePrio()),this.peek(i.SemiColon)))return this.finish(n),e.setPropertySet(n),e.semicolonPosition=this.token.offset,this.finish(e);this.restoreAtMark(t)}var r=this._parseExpr();return r&&!r.isErroneous(!0)&&(this._parsePrio(),this.peek(i.SemiColon))?(e.setValue(r),e.semicolonPosition=this.token.offset,this.finish(e)):(this.restoreAtMark(t),e.addChild(this._parseCustomPropertyValue()),e.addChild(this._parsePrio()),tn(e.colonPosition)&&this.token.offset===e.colonPosition+1?this.finish(e,xt.PropertyValueExpected):this.finish(e))},e.prototype._parseCustomPropertyValue=function(){var e=this.create(re),t=function(){return 0===n&&0===o&&0===r},n=0,o=0,r=0;e:for(;;){switch(this.token.type){case i.SemiColon:case i.Exclamation:if(t())break e;break;case i.CurlyL:n++;break;case i.CurlyR:if(--n<0){if(0===o&&0===r)break e;return this.finish(e,xt.LeftCurlyExpected)}break;case i.ParenthesisL:o++;break;case i.ParenthesisR:if(--o<0)return this.finish(e,xt.LeftParenthesisExpected);break;case i.BracketL:r++;break;case i.BracketR:if(--r<0)return this.finish(e,xt.LeftSquareBracketExpected);break;case i.BadString:break e;case i.EOF:var s=xt.RightCurlyExpected;return r>0?s=xt.RightSquareBracketExpected:o>0&&(s=xt.RightParenthesisExpected),this.finish(e,s)}this.consumeToken()}return this.finish(e)},e.prototype._tryToParseDeclaration=function(){var e=this.mark();return this._parseProperty()&&this.accept(i.Colon)?(this.restoreAtMark(e),this._parseDeclaration()):(this.restoreAtMark(e),null)},e.prototype._parseProperty=function(){var e=this.create(ve),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(i.Charset))return null;var e=this.create(re);return this.consumeToken(),this.accept(i.String)?this.accept(i.SemiColon)?this.finish(e):this.finish(e,xt.SemiColonExpected):this.finish(e,xt.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Re);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,xt.URIOrStringExpected)},e.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(ze);return this.consumeToken(),e.addChild(this._parseURILiteral())||(e.addChild(this._parseIdent()),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral()))?this.accept(i.SemiColon)?this.finish(e):this.finish(e,xt.SemiColonExpected):this.finish(e,xt.URIExpected,[i.SemiColon])},e.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(Ie);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(Ne);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(i.AtKeyword,this.keyframeRegex))return null;var e=this.create(De),t=this.create(re);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,xt.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,xt.IdentifierExpected,[i.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])},e.prototype._parseKeyframeSelector=function(){var e=this.create(Ae);if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.finish(e,xt.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var e=this.create(Ae),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.restoreAtMark(t),null;return this.peek(i.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},e.prototype._parseSupports=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(je);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},e.prototype._parseSupportsDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var e=this.create(qe);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(i.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},e.prototype._parseSupportsConditionInParens=function(){var e=this.create(qe);if(this.accept(i.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),e.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(i.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,xt.RightParenthesisExpected,[i.ParenthesisR],[]):this.finish(e,xt.ConditionExpected);if(this.peek(i.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(i.ParenthesisL)){for(var n=1;this.token.type!==i.EOF&&0!==n;)this.token.type===i.ParenthesisL?n++:this.token.type===i.ParenthesisR&&n--,this.consumeToken();return this.finish(e)}this.restoreAtMark(t)}return this.finish(e,xt.LeftParenthesisExpected,[],[i.ParenthesisL])},e.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(Be);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,xt.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var e=this.create(Ue);if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,xt.MediaQueryExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,xt.MediaQueryExpected);return this.finish(e)},e.prototype._parseMediaQuery=function(e){var t=this.create(He),n=!0,o=!1;if(!this.peek(i.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!t.addChild(this._parseIdent()))return null;o=!0,n=this.acceptIdent("and")}for(;n;)if(t.addChild(this._parseMediaContentStart()))n=this.acceptIdent("and");else{if(!this.accept(i.ParenthesisL))return o?this.finish(t,xt.LeftParenthesisExpected,[],e):null;if(!t.addChild(this._parseMediaFeatureName()))return this.finish(t,xt.IdentifierExpected,[],e);if(this.accept(i.Colon)&&!t.addChild(this._parseExpr()))return this.finish(t,xt.TermExpected,[],e);if(!this.accept(i.ParenthesisR))return this.finish(t,xt.RightParenthesisExpected,[],e);n=this.acceptIdent("and")}return this.finish(t)},e.prototype._parseMediaContentStart=function(){return null},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMedium=function(){var e=this.create(re);return e.addChild(this._parseIdent())?this.finish(e):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create($e);if(this.consumeToken(),e.addChild(this._parsePageSelector()))for(;this.accept(i.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,xt.IdentifierExpected);return this._parseBody(e,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(Ke);return this.acceptOneKeyword(Jt)||this.markError(e,xt.UnknownAtRule,[],[i.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(i.Ident)&&!this.peek(i.Colon))return null;var e=this.create(re);return e.addChild(this._parseIdent()),this.accept(i.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,xt.IdentifierExpected):this.finish(e)},e.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(Ve);return this.consumeToken(),this.resync([],[i.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(ht);e.addChild(this._parseUnknownAtRuleName());var t=0,n=0,o=0,r=0;e:for(;;){switch(this.token.type){case i.SemiColon:if(0===n&&0===o&&0===r)break e;break;case i.EOF:return n>0?this.finish(e,xt.RightCurlyExpected):r>0?this.finish(e,xt.RightSquareBracketExpected):o>0?this.finish(e,xt.RightParenthesisExpected):this.finish(e);case i.CurlyL:t++,n++;break;case i.CurlyR:if(n--,t>0&&0===n){if(this.consumeToken(),r>0)return this.finish(e,xt.RightSquareBracketExpected);if(o>0)return this.finish(e,xt.RightParenthesisExpected);break e}if(n<0){if(0===o&&0===r)break e;return this.finish(e,xt.LeftCurlyExpected)}break;case i.ParenthesisL:o++;break;case i.ParenthesisR:if(--o<0)return this.finish(e,xt.LeftParenthesisExpected);break;case i.BracketL:r++;break;case i.BracketR:if(--r<0)return this.finish(e,xt.LeftSquareBracketExpected)}this.consumeToken()}return e},e.prototype._parseUnknownAtRuleName=function(){var e=this.create(re);return this.accept(i.AtKeyword)?this.finish(e):e},e.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(i.Dashmatch)||this.peek(i.Includes)||this.peek(i.SubstringOperator)||this.peek(i.PrefixOperator)||this.peek(i.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(J.Operator);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(re);return this.consumeToken(),this.finish(e)},e.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(re);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=J.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=J.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){e=this.create(re);return this.consumeToken(),e.type=J.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){e=this.create(re);return this.consumeToken(),e.type=J.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){e=this.create(re);this.consumeToken();t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=J.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},e.prototype._parseSimpleSelector=function(){var e=this.create(pe),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(i.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(J.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,xt.IdentifierExpected)}else this.consumeToken();return this.finish(e)},e.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(J.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,xt.IdentifierExpected):this.finish(e)},e.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(J.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(J.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseAttrib=function(){if(!this.peek(i.BracketL))return null;var e=this.create(Xe);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(i.BracketR)?this.finish(e):this.finish(e,xt.RightSquareBracketExpected)):this.finish(e,xt.IdentifierExpected)},e.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(i.ParenthesisL)){if(t.addChild(this.try((function(){var t=e.create(re);if(!t.addChild(e._parseSelector(!1)))return null;for(;e.accept(i.Comma)&&t.addChild(e._parseSelector(!1)););return e.peek(i.ParenthesisR)?e.finish(t):null}))||this._parseBinaryExpr()),!this.accept(i.ParenthesisR))return this.finish(t,xt.RightParenthesisExpected)}return this.finish(t)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(i.Colon))return null;var e=this.mark(),t=this.createNode(J.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(i.Colon)&&this.hasWhitespace()&&this.markError(t,xt.IdentifierExpected),t.addChild(this._parseIdent())||this.markError(t,xt.IdentifierExpected),t)},e.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},e.prototype._parsePrio=function(){if(!this.peek(i.Exclamation))return null;var e=this.createNode(J.Prio);return this.accept(i.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},e.prototype._parseExpr=function(e){void 0===e&&(e=!1);var t=this.create(Ge);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(i.Comma)){if(e)return this.finish(t);this.consumeToken()}if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},e.prototype._parseNamedLine=function(){if(!this.peek(i.BracketL))return null;var e=this.createNode(J.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(i.BracketR)?this.finish(e):this.finish(e,xt.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(e,t){var n=this.create(Ye);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,xt.TermExpected);n=this.finish(n);var i=this._parseOperator();return i&&(n=this._parseBinaryExpr(n,i)),this.finish(n)},e.prototype._parseTerm=function(){var e=this.create(Ze);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseTermExpression())?this.finish(e):null},e.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},e.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(re);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(i.Num)||this.peek(i.Percentage)||this.peek(i.Resolution)||this.peek(i.Length)||this.peek(i.EMS)||this.peek(i.EXS)||this.peek(i.Angle)||this.peek(i.Time)||this.peek(i.Dimension)||this.peek(i.Freq)){var e=this.create(nt);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(i.String)&&!this.peek(i.BadString))return null;var e=this.createNode(J.StringLiteral);return this.consumeToken(),this.finish(e)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(i.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(J.URILiteral);return this.accept(i.Ident),this.hasWhitespace()||!this.peek(i.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var e=this.create(re);return this.accept(i.String)||this.accept(i.BadString)||this.acceptUnquotedString()?this.finish(e):null},e.prototype._parseIdent=function(e){if(!this.peek(i.Ident))return null;var t=this.create(ae);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(i.Ident,/^--/),this.consumeToken(),this.finish(t)},e.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,xt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(i.Ident))return null;var e=this.create(ae);if(e.referenceTypes=[ee.Function],this.acceptIdent("progid")){if(this.accept(i.Colon))for(;this.accept(i.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},e.prototype._parseFunctionArgument=function(){var e=this.create(Ce);return e.setValue(this._parseExpr(!0))?this.finish(e):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(i.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(Qe);return this.consumeToken(),this.finish(e)}return null},e}();function rn(e,t){return-1!==e.indexOf(t)}function sn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],i=0,o=e;i<o.length;i++)for(var r=o[i],s=0,a=r;s<a.length;s++){var l=a[s];rn(n,l)||n.push(l)}return n}var an,ln,cn,dn,hn,un,pn,mn,gn,fn,bn,_n,vn,wn,yn,Cn,xn,Sn,kn,En,Tn,Ln=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Nn=function(){function e(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(e){this.children.push(e),e.setParent(this)},e.prototype.setParent=function(e){this.parent=e},e.prototype.findScope=function(e,t){return void 0===t&&(t=0),this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},e.prototype.findInScope=function(e,t){void 0===t&&(t=0);var n=e+t,i=function(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var o=Math.floor((n+i)/2);t(e[o])?i=o:n=o+1}return n}(this.children,(function(e){return e.offset>n}));if(0===i)return this;var o=this.children[i-1];return o.offset<=e&&o.offset+o.length>=e+t?o.findInScope(e,t):this},e.prototype.addSymbol=function(e){this.symbols.push(e)},e.prototype.getSymbol=function(e,t){for(var n=0;n<this.symbols.length;n++){var i=this.symbols[n];if(i.name===e&&i.type===t)return i}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),In=function(e){function t(){return e.call(this,0,Number.MAX_VALUE)||this}return Ln(t,e),t}(Nn),On=function(e,t,n,i){this.name=e,this.value=t,this.node=n,this.type=i},Dn=function(){function e(e){this.scope=e}return e.prototype.addSymbol=function(e,t,n,i){if(-1!==e.offset){var o=this.scope.findScope(e.offset,e.length);o&&o.addSymbol(new On(t,n,e,i))}},e.prototype.addScope=function(e){if(-1!==e.offset){var t=this.scope.findScope(e.offset,e.length);if(t&&(t.offset!==e.offset||t.length!==e.length)){var n=new Nn(e.offset,e.length);return t.addChild(n),n}return t}return null},e.prototype.addSymbolToChildScope=function(e,t,n,i,o){if(e&&-1!==e.offset){var r=this.addScope(e);r&&r.addSymbol(new On(n,i,t,o))}},e.prototype.visitNode=function(e){switch(e.type){case J.Keyframe:return this.addSymbol(e,e.getName(),void 0,ee.Keyframe),!0;case J.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(e);case J.VariableDeclaration:return this.visitVariableDeclarationNode(e);case J.Ruleset:return this.visitRuleSet(e);case J.MixinDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Mixin),!0;case J.FunctionDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Function),!0;case J.FunctionParameter:return this.visitFunctionParameterNode(e);case J.Declarations:return this.addScope(e),!0;case J.For:var t=e,n=t.getDeclarations();return n&&t.variable&&this.addSymbolToChildScope(n,t.variable,t.variable.getName(),void 0,ee.Variable),!0;case J.Each:var i=e,o=i.getDeclarations();if(o)for(var r=0,s=i.getVariables().getChildren();r<s.length;r++){var a=s[r];this.addSymbolToChildScope(o,a,a.getName(),void 0,ee.Variable)}return!0}return!0},e.prototype.visitRuleSet=function(e){var t=this.scope.findScope(e.offset,e.length);if(t)for(var n=0,i=e.getSelectors().getChildren();n<i.length;n++){var o=i[n];o instanceof ue&&1===o.getChildren().length&&t.addSymbol(new On(o.getChild(0).getText(),void 0,o,ee.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():void 0;return this.addSymbol(e,e.getName(),t,ee.Variable),!0},e.prototype.visitFunctionParameterNode=function(e){var t=e.getParent().getDeclarations();if(t){var n=e.getDefaultValue(),i=n?n.getText():void 0;this.addSymbolToChildScope(t,e,e.getName(),i,ee.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():"";return this.addCSSVariable(e.getProperty(),e.getProperty().getName(),t,ee.Variable),!0},e.prototype.addCSSVariable=function(e,t,n,i){-1!==e.offset&&this.scope.addSymbol(new On(t,n,e,i))},e}(),An=function(){function e(e){this.global=new In,e.acceptVisitor(new Dn(this.global))}return e.prototype.findSymbolsAtOffset=function(e,t){for(var n=this.global.findScope(e,0),i=[],o={};n;){for(var r=n.getSymbols(),s=0;s<r.length;s++){var a=r[s];a.type!==t||o[a.name]||(i.push(a),o[a.name]=!0)}n=n.parent}return i},e.prototype.internalFindSymbol=function(e,t){var n=e;if(e.parent instanceof ye&&e.parent.getParent()instanceof de&&(n=e.parent.getParent().getDeclarations()),e.parent instanceof Ce&&e.parent.getParent()instanceof we){var i=e.parent.getParent().getIdentifier();if(i){var o=this.internalFindSymbol(i,[ee.Function]);o&&(n=o.node.getDeclarations())}}if(!n)return null;for(var r=e.getText(),s=this.global.findScope(n.offset,n.length);s;){for(var a=0;a<t.length;a++){var l=t[a],c=s.getSymbol(r,l);if(c)return c}s=s.parent}return null},e.prototype.evaluateReferenceTypes=function(e){if(e instanceof ae){var t=e.referenceTypes;if(t)return t;if(e.isCustomProperty)return[ee.Variable];var n=function(e){var t=e.findParent(J.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(e);if(n){var i=n.getNonPrefixedPropertyName();if(("animation"===i||"animation-name"===i)&&n.getValue()&&n.getValue().offset===e.offset)return[ee.Keyframe]}}else if(e instanceof rt)return[ee.Variable];return e.findAParent(J.Selector,J.ExtendsReference)?[ee.Rule]:null},e.prototype.findSymbolFromNode=function(e){if(!e)return null;for(;e.type===J.Interpolation;)e=e.getParent();var t=this.evaluateReferenceTypes(e);return t?this.internalFindSymbol(e,t):null},e.prototype.matchesSymbol=function(e,t){if(!e)return!1;for(;e.type===J.Interpolation;)e=e.getParent();if(!e.matches(t.name))return!1;var n=this.evaluateReferenceTypes(e);return!(!n||-1===n.indexOf(t.type))&&this.internalFindSymbol(e,n)===t},e.prototype.findSymbol=function(e,t,n){for(var i=this.global.findScope(n);i;){var o=i.getSymbol(e,t);if(o)return o;i=i.parent}return null},e}();!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return di.objectLiteral(t)&&di.number(t.line)&&di.number(t.character)}}(an||(an={})),function(e){e.create=function(e,t,n,i){if(di.number(e)&&di.number(t)&&di.number(n)&&di.number(i))return{start:an.create(e,t),end:an.create(n,i)};if(an.is(e)&&an.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return di.objectLiteral(t)&&an.is(t.start)&&an.is(t.end)}}(ln||(ln={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&(di.string(t.uri)||di.undefined(t.uri))}}(cn||(cn={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.targetRange)&&di.string(t.targetUri)&&(ln.is(t.targetSelectionRange)||di.undefined(t.targetSelectionRange))&&(ln.is(t.originSelectionRange)||di.undefined(t.originSelectionRange))}}(dn||(dn={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return di.number(t.red)&&di.number(t.green)&&di.number(t.blue)&&di.number(t.alpha)}}(hn||(hn={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return ln.is(t.range)&&hn.is(t.color)}}(un||(un={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return di.string(t.label)&&(di.undefined(t.textEdit)||Cn.is(t))&&(di.undefined(t.additionalTextEdits)||di.typedArray(t.additionalTextEdits,Cn.is))}}(pn||(pn={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(mn||(mn={})),function(e){e.create=function(e,t,n,i,o){var r={startLine:e,endLine:t};return di.defined(n)&&(r.startCharacter=n),di.defined(i)&&(r.endCharacter=i),di.defined(o)&&(r.kind=o),r},e.is=function(e){var t=e;return di.number(t.startLine)&&di.number(t.startLine)&&(di.undefined(t.startCharacter)||di.number(t.startCharacter))&&(di.undefined(t.endCharacter)||di.number(t.endCharacter))&&(di.undefined(t.kind)||di.string(t.kind))}}(gn||(gn={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return di.defined(t)&&cn.is(t.location)&&di.string(t.message)}}(fn||(fn={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(bn||(bn={})),function(e){e.Unnecessary=1,e.Deprecated=2}(_n||(_n={})),function(e){e.is=function(e){var t=e;return null!=t&&(di.number(t.value)||di.string(t.value))&&di.string(t.target)}}(vn||(vn={})),function(e){e.create=function(e,t,n,i,o,r){var s={range:e,message:t};return di.defined(n)&&(s.severity=n),di.defined(i)&&(s.code=i),di.defined(o)&&(s.source=o),di.defined(r)&&(s.relatedInformation=r),s},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&di.string(t.message)&&(di.number(t.severity)||di.undefined(t.severity))&&(di.number(t.code)||di.string(t.code)||di.undefined(t.code))&&(di.string(t.source)||di.undefined(t.source))&&(di.undefined(t.relatedInformation)||di.typedArray(t.relatedInformation,fn.is))}}(wn||(wn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={title:e,command:t};return di.defined(n)&&n.length>0&&(o.arguments=n),o},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.title)&&di.string(t.command)}}(yn||(yn={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return di.objectLiteral(t)&&di.string(t.newText)&&ln.is(t.range)}}(Cn||(Cn={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return di.defined(t)&&Mn.is(t.textDocument)&&Array.isArray(t.edits)}}(xn||(xn={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&di.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||di.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||di.boolean(t.options.ignoreIfExists)))}}(Sn||(Sn={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&di.string(t.oldUri)&&di.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||di.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||di.boolean(t.options.ignoreIfExists)))}}(kn||(kn={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&di.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||di.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||di.boolean(t.options.ignoreIfNotExists)))}}(En||(En={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return di.string(e.kind)?Sn.is(e)||kn.is(e)||En.is(e):xn.is(e)})))}}(Tn||(Tn={}));var Rn,Mn,Pn,Fn,Wn,zn,Bn,jn,Vn,Un,Hn,qn,$n,Kn,Gn,Yn,Zn,Xn,Qn,Jn,ei,ti,ni,ii,oi,ri,si,ai,li=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(Cn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(Cn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(Cn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(xn.is(e)){var n=new li(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new li(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Mn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:o=[]};this._workspaceEdit.documentChanges.push(n),i=new li(o),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var o=[];this._workspaceEdit.changes[e]=o,i=new li(o),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Sn.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kn.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(En.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.uri)}}(Rn||(Rn={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.uri)&&(null===t.version||di.number(t.version))}}(Mn||(Mn={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.uri)&&di.string(t.languageId)&&di.number(t.version)&&di.string(t.text)}}(Pn||(Pn={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(Fn||(Fn={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(Fn||(Fn={})),function(e){e.is=function(e){var t=e;return di.objectLiteral(e)&&Fn.is(t.kind)&&di.string(t.value)}}(Wn||(Wn={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(zn||(zn={})),function(e){e.PlainText=1,e.Snippet=2}(Bn||(Bn={})),function(e){e.Deprecated=1}(jn||(jn={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&di.string(t.newText)&&ln.is(t.insert)&&ln.is(t.replace)}}(Vn||(Vn={})),function(e){e.create=function(e){return{label:e}}}(Un||(Un={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Hn||(Hn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return di.string(t)||di.objectLiteral(t)&&di.string(t.language)&&di.string(t.value)}}(qn||(qn={})),function(e){e.is=function(e){var t=e;return!!t&&di.objectLiteral(t)&&(Wn.is(t.contents)||qn.is(t.contents)||di.typedArray(t.contents,qn.is))&&(void 0===e.range||ln.is(e.range))}}($n||($n={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(Kn||(Kn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={label:e};return di.defined(t)&&(o.documentation=t),di.defined(n)?o.parameters=n:o.parameters=[],o}}(Gn||(Gn={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Yn||(Yn={})),function(e){e.create=function(e,t){var n={range:e};return di.number(t)&&(n.kind=t),n}}(Zn||(Zn={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Xn||(Xn={})),function(e){e.Deprecated=1}(Qn||(Qn={})),function(e){e.create=function(e,t,n,i,o){var r={name:e,kind:t,location:{uri:i,range:n}};return o&&(r.containerName=o),r}}(Jn||(Jn={})),function(e){e.create=function(e,t,n,i,o,r){var s={name:e,detail:t,kind:n,range:i,selectionRange:o};return void 0!==r&&(s.children=r),s},e.is=function(e){var t=e;return t&&di.string(t.name)&&di.number(t.kind)&&ln.is(t.range)&&ln.is(t.selectionRange)&&(void 0===t.detail||di.string(t.detail))&&(void 0===t.deprecated||di.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(ei||(ei={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(ti||(ti={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return di.defined(t)&&di.typedArray(t.diagnostics,wn.is)&&(void 0===t.only||di.typedArray(t.only,di.string))}}(ni||(ni={})),function(e){e.create=function(e,t,n){var i={title:e};return yn.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&di.string(t.title)&&(void 0===t.diagnostics||di.typedArray(t.diagnostics,wn.is))&&(void 0===t.kind||di.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||yn.is(t.command))&&(void 0===t.isPreferred||di.boolean(t.isPreferred))&&(void 0===t.edit||Tn.is(t.edit))}}(ii||(ii={})),function(e){e.create=function(e,t){var n={range:e};return di.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&(di.undefined(t.command)||yn.is(t.command))}}(oi||(oi={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return di.defined(t)&&di.number(t.tabSize)&&di.boolean(t.insertSpaces)}}(ri||(ri={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&(di.undefined(t.target)||di.string(t.target))}}(si||(si={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&ln.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ai||(ai={}));var ci;!function(e){e.create=function(e,t,n,i){return new hi(e,t,n,i)},e.is=function(e){var t=e;return!!(di.defined(t)&&di.string(t.uri)&&(di.undefined(t.languageId)||di.string(t.languageId))&&di.number(t.lineCount)&&di.func(t.getText)&&di.func(t.positionAt)&&di.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,o=t.slice(0,i),r=t.slice(i);e(o,n),e(r,n);var s=0,a=0,l=0;for(;s<o.length&&a<r.length;){var c=n(o[s],r[a]);t[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)t[l++]=o[s++];for(;a<r.length;)t[l++]=r[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=n.length,r=i.length-1;r>=0;r--){var s=i[r],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=o))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),o=a}return n}}(ci||(ci={}));var di,hi=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var o=t.charAt(i);n="\r"===o||"\n"===o,"\r"===o&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return an.create(0,e);for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var r=n-1;return an.create(r,e-t[r])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(di||(di={}));var ui,pi,mi,gi=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,o=t;i<o.length;i++){var r=o[i];if(e.isIncremental(r)){var s=bi(r.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+r.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=fi(r.text,!1,a);if(d-c===u.length)for(var p=0,m=u.length;p<m;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var g=r.text.length-(l-a);if(0!==g)for(p=c+1+u.length,m=h.length;p<m;p++)h[p]=h[p]+g}else{if(!e.isFull(r))throw new Error("Unknown change event received");this._content=r.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=fi(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var r=n-1;return{line:r,character:e-t[r]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function fi(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],o=0;o<e.length;o++){var r=e.charCodeAt(o);13!==r&&10!==r||(13===r&&o+1<e.length&&10===e.charCodeAt(o+1)&&o++,i.push(n+o+1))}return i}function bi(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function _i(e){var t=bi(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new gi(e,t,n,i)},e.update=function(e,t,n){if(e instanceof gi)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,o=[],r=0,s=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,o=t.slice(0,i),r=t.slice(i);e(o,n),e(r,n);var s=0,a=0,l=0;for(;s<o.length&&a<r.length;){var c=n(o[s],r[a]);t[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)t[l++]=o[s++];for(;a<r.length;)t[l++]=r[a++];return t}(t.map(_i),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));r<s.length;r++){var a=s[r],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&o.push(n.substring(i,l)),a.newText.length&&o.push(a.newText),i=e.offsetAt(a.range.end)}return o.push(n.substr(i)),o.join("")}}(ui||(ui={})),(pi||(pi={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Fn.Markdown,Fn.PlainText]}},hover:{contentFormat:[Fn.Markdown,Fn.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(mi||(mi={}));var vi=n(144),wi="/".charCodeAt(0),yi=".".charCodeAt(0);function Ci(e){var t=e.lastIndexOf("/");return-1!==t?e.substr(0,t):""}function xi(e){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];0===o.length||1===o.length&&o.charCodeAt(0)===yi||(2===o.length&&o.charCodeAt(0)===yi&&o.charCodeAt(1)===yi?t.pop():t.push(o))}e.length>1&&0===e[e.length-1].length&&t.push("");var r=t.join("/");return 0===e[0].length&&(r="/"+r),r}function Si(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=vi.a.parse(e),o=i.path.split("/"),r=0,s=t;r<s.length;r++){var a=s[r];o.push.apply(o,a.split("/"))}return i.with({path:xi(o)}).toString()}var ki=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Ei=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Ti=function(){function e(e){this.readDirectory=e,this.literalCompletions=[],this.importCompletions=[]}return e.prototype.onCssURILiteralValue=function(e){this.literalCompletions.push(e)},e.prototype.onCssImportPath=function(e){this.importCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return ki(this,void 0,void 0,(function(){var n,i,o,r,s,a,l,c,d,h,u,p,m,g,f,b,_;return Ei(this,(function(v){switch(v.label){case 0:n={items:[],isIncomplete:!1},i=0,o=this.literalCompletions,v.label=1;case 1:return i<o.length?(r=o[i],s=r.uriValue,"."!==(m=Ni(s))&&".."!==m?[3,2]:(n.isIncomplete=!0,[3,4])):[3,5];case 2:return[4,this.providePathSuggestions(s,r.position,r.range,e,t)];case 3:for(a=v.sent(),l=0,c=a;l<c.length;l++)_=c[l],n.items.push(_);v.label=4;case 4:return i++,[3,1];case 5:d=0,h=this.importCompletions,v.label=6;case 6:return d<h.length?(u=h[d],p=u.pathValue,"."!==(m=Ni(p))&&".."!==m?[3,7]:(n.isIncomplete=!0,[3,9])):[3,10];case 7:return[4,this.providePathSuggestions(p,u.position,u.range,e,t)];case 8:for(g=v.sent(),"scss"===e.languageId&&g.forEach((function(e){Y(e.label,"_")&&Z(e.label,".scss")&&(e.textEdit?e.textEdit.newText=e.label.slice(1,-5):e.label=e.label.slice(1,-5))})),f=0,b=g;f<b.length;f++)_=b[f],n.items.push(_);v.label=9;case 9:return d++,[3,6];case 10:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,i,o){return ki(this,void 0,void 0,(function(){var r,s,a,l,c,d,h,u,p,m,g,f,b,_,v;return Ei(this,(function(w){switch(w.label){case 0:if(r=Ni(e),s=Y(e,"'")||Y(e,'"'),a=s?r.slice(0,t.character-(n.start.character+1)):r.slice(0,t.character-n.start.character),l=i.uri,c=s?function(e,t,n){var i=Di(e.start,t),o=Di(e.end,n);return ln.create(i,o)}(n,1,-1):n,d=function(e,t,n){var i,o=e.lastIndexOf("/");if(-1===o)i=n;else{var r=t.slice(o+1),s=Di(n.end,-r.length),a=r.indexOf(" "),l=void 0;l=-1!==a?Di(s,a):n.end,i=ln.create(s,l)}return i}(a,r,c),h=a.substring(0,a.lastIndexOf("/")+1),!(u=o.resolveReference(h||".",l)))return[3,4];w.label=1;case 1:return w.trys.push([1,3,,4]),p=[],[4,this.readDirectory(u)];case 2:for(m=w.sent(),g=0,f=m;g<f.length;g++)b=f[g],_=b[0],v=b[1],_.charCodeAt(0)===Li||v!==mi.Directory&&Si(u,_)===l||p.push(Ii(_,v===mi.Directory,d));return[2,p];case 3:return w.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Li=".".charCodeAt(0);function Ni(e){return Y(e,"'")||Y(e,'"')?e.slice(1,-1):e}function Ii(e,t,n){return t?{label:Oi(e+="/"),kind:zn.Folder,textEdit:Cn.replace(n,Oi(e)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:Oi(e),kind:zn.File,textEdit:Cn.replace(n,Oi(e))}}function Oi(e){return e.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function Di(e,t){return an.create(e.line,e.character+t)}var Ai,Ri=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Mi=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Pi=wt(),Fi=Bn.Snippet;!function(e){e.Enums=" ",e.Normal="d",e.VendorPrefixed="x",e.Term="y",e.Variable="z"}(Ai||(Ai={}));var Wi=function(){function e(e,t,n){void 0===e&&(e=null),this.variablePrefix=e,this.lsOptions=t,this.cssDataManager=n,this.completionParticipants=[]}return e.prototype.configure=function(e){this.settings=e},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new An(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,i){return Ri(this,void 0,void 0,(function(){var o,r,s,a;return Mi(this,(function(l){switch(l.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n)];o=new Ti(this.lsOptions.fileSystemProvider.readDirectory),r=this.completionParticipants,this.completionParticipants=[o].concat(r),s=this.doComplete(e,t,n),l.label=1;case 1:return l.trys.push([1,,3,4]),[4,o.computeCompletions(e,i)];case 2:return a=l.sent(),[2,{isIncomplete:s.isIncomplete||a.isIncomplete,items:a.items.concat(s.items)}];case 3:return this.completionParticipants=r,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){var n=t-1,i=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n;try{var i={isIncomplete:!1,items:[]};this.nodePath=ie(this.styleSheet,this.offset);for(var o=this.nodePath.length-1;o>=0;o--){var r=this.nodePath[o];if(r instanceof ve)this.getCompletionsForDeclarationProperty(r.getParent(),i);else if(r instanceof Ge)r.parent instanceof ot?this.getVariableProposals(null,i):this.getCompletionsForExpression(r,i);else if(r instanceof pe){var s=r.findAParent(J.ExtendsReference,J.Ruleset);if(s)if(s.type===J.ExtendsReference)this.getCompletionsForExtendsReference(s,r,i);else{var a=s;this.getCompletionsForSelector(a,a&&a.isNested(),i)}}else if(r instanceof Ce)this.getCompletionsForFunctionArgument(r,r.getParent(),i);else if(r instanceof ce)this.getCompletionsForDeclarations(r,i);else if(r instanceof it)this.getCompletionsForVariableDeclaration(r,i);else if(r instanceof he)this.getCompletionsForRuleSet(r,i);else if(r instanceof ot)this.getCompletionsForInterpolation(r,i);else if(r instanceof Le)this.getCompletionsForFunctionDeclaration(r,i);else if(r instanceof ct)this.getCompletionsForMixinReference(r,i);else if(r instanceof we)this.getCompletionsForFunctionArgument(null,r,i);else if(r instanceof je)this.getCompletionsForSupports(r,i);else if(r instanceof qe)this.getCompletionsForSupportsCondition(r,i);else if(r instanceof st)this.getCompletionsForExtendsReference(r,null,i);else if(r.type===J.URILiteral)this.getCompletionForUriLiteralValue(r,i);else if(null===r.parent)this.getCompletionForTopLevel(i);else{if(r.type!==J.StringLiteral||!this.isImportPathParent(r.parent.type))continue;this.getCompletionForImportPath(r,i)}if(i.items.length>0||this.offset>r.offset)return this.finalize(i)}return this.getCompletionsForStylesheet(i),0===i.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,i),this.finalize(i)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(e){return e===J.Import},e.prototype.finalize=function(e){return e},e.prototype.findInNodePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this.nodePath.length-1;n>=0;n--){var i=this.nodePath[n];if(-1!==e.indexOf(i.type))return i}return null},e.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},e.prototype.getPropertyProposals=function(e,t){var n=this,i=this.isTriggerPropertyValueCompletionEnabled,o=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach((function(r){var s,a,l=!1;e?(s=n.getCompletionRange(e.getProperty()),a=r.name,tn(e.colonPosition)||(a+=": ",l=!0)):(s=n.getCompletionRange(null),a=r.name+": ",l=!0),!e&&o&&(a+="$0;"),e&&!e.semicolonPosition&&o&&n.offset>=n.textDocument.offsetAt(s.end)&&(a+="$0;");var c={label:r.name,documentation:Et(r,n.doesSupportMarkdown()),tags:zi(r)?[jn.Deprecated]:[],textEdit:Cn.replace(s,a),insertTextFormat:Bn.Snippet,kind:zn.Property};r.restrictions||(l=!1),i&&l&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"});var d=(255-("number"==typeof r.relevance?Math.min(Math.max(r.relevance,0),99):50)).toString(16),h=Y(r.name,"-")?Ai.VendorPrefixed:Ai.Normal;c.sortText=h+"_"+d,t.items.push(c)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(e.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n=this,i=e.getFullPropertyName(),o=this.cssDataManager.getProperty(i),r=e.getValue()||null;r&&r.hasChildren();)r=r.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:i,propertyValue:n.currentWord,range:n.getCompletionRange(r)})})),o){if(o.restrictions)for(var s=0,a=o.restrictions;s<a.length;s++){switch(a[s]){case"color":this.getColorProposals(o,r,t);break;case"position":this.getPositionProposals(o,r,t);break;case"repeat":this.getRepeatStyleProposals(o,r,t);break;case"line-style":this.getLineStyleProposals(o,r,t);break;case"line-width":this.getLineWidthProposals(o,r,t);break;case"geometry-box":this.getGeometryBoxProposals(o,r,t);break;case"box":this.getBoxProposals(o,r,t);break;case"image":this.getImageProposals(o,r,t);break;case"timing-function":this.getTimingFunctionProposals(o,r,t);break;case"shape":this.getBasicShapeProposals(o,r,t)}}this.getValueEnumProposals(o,r,t),this.getCSSWideKeywordProposals(o,r,t),this.getUnitProposals(o,r,t)}else for(var l=0,c=function(e,t){var n=t.getFullPropertyName(),i=new Bi;function o(e){return(e instanceof ae||e instanceof nt||e instanceof Qe)&&i.add(e.getText()),!0}return e.accept((function(e){if(e instanceof _e&&e!==t&&function(e){var t=e.getFullPropertyName();return n===t}(e)){var i=e.getValue();i&&i.accept(o)}return!0})),i}(this.styleSheet,e).getEntries();l<c.length;l++){var d=c[l];t.items.push({label:d,textEdit:Cn.replace(this.getCompletionRange(r),d),kind:zn.Value})}return this.getVariableProposals(r,t),this.getTermProposals(o,r,t),t},e.prototype.getValueEnumProposals=function(e,t,n){if(e.values)for(var i=0,o=e.values;i<o.length;i++){var r=o[i],s=r.name,a=void 0;if(Z(s,")")){var l=s.lastIndexOf("(");-1!==l&&(s=s.substr(0,l)+"($1)",a=Fi)}var c=Ai.Enums;Y(r.name,"-")&&(c+=Ai.VendorPrefixed);var d={label:r.name,documentation:Et(r,this.doesSupportMarkdown()),tags:zi(e)?[jn.Deprecated]:[],textEdit:Cn.replace(this.getCompletionRange(t),s),sortText:c,kind:zn.Value,insertTextFormat:a};n.items.push(d)}return n},e.prototype.getCSSWideKeywordProposals=function(e,t,n){for(var i in $t)n.items.push({label:i,documentation:$t[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getCompletionsForInterpolation=function(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t},e.prototype.getVariableProposals=function(e,t){for(var n=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable);n<i.length;n++){var o=i[n],r=Y(o.name,"--")?"var("+o.name+")":o.name,s={label:o.name,documentation:o.value?X(o.value):o.value,textEdit:Cn.replace(this.getCompletionRange(e),r),kind:zn.Variable,sortText:Ai.Variable};if("string"==typeof s.documentation&&Ui(s.documentation)&&(s.kind=zn.Color),o.node.type===J.FunctionParameter){var a=o.node.getParent();a.type===J.MixinDeclaration&&(s.detail=Pi("completion.argument","argument from '{0}'",a.getName()))}t.items.push(s)}return t},e.prototype.getVariableProposalsForCSSVarFunction=function(e){for(var t=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable),n=0,i=t=t.filter((function(e){return Y(e.name,"--")}));n<i.length;n++){var o=i[n],r={label:o.name,documentation:o.value?X(o.value):o.value,textEdit:Cn.replace(this.getCompletionRange(null),o.name),kind:zn.Variable};"string"==typeof r.documentation&&Ui(r.documentation)&&(r.kind=zn.Color),e.items.push(r)}return e},e.prototype.getUnitProposals=function(e,t,n){var i="0";if(this.currentWord.length>0){var o=this.currentWord.match(/^-?\d[\.\d+]*/);o&&(i=o[0],n.isIncomplete=i.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===J.Term&&(t=t.getParent()),e.restrictions)for(var r=0,s=e.restrictions;r<s.length;r++){var a=s[r],l=Zt[a];if(l)for(var c=0,d=l;c<d.length;c++){var h=i+d[c];n.items.push({label:h,textEdit:Cn.replace(this.getCompletionRange(t),h),kind:zn.Unit})}}return n},e.prototype.getCompletionRange=function(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){var t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return ln.create(n,t)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(e,t,n){for(var i in At)n.items.push({label:i,documentation:At[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Color});for(var i in Rt)n.items.push({label:i,documentation:Rt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});var o=new Bi;this.styleSheet.acceptVisitor(new Vi(o,this.offset));for(var r=0,s=o.getEntries();r<s.length;r++){i=s[r];n.items.push({label:i,textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Color})}for(var a=function(e){var i=1,o=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+i+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:Cn.replace(l.getCompletionRange(t),o),insertTextFormat:Fi,kind:zn.Function})},l=this,c=0,d=Dt;c<d.length;c++){a(d[c])}return n},e.prototype.getPositionProposals=function(e,t,n){for(var i in Bt)n.items.push({label:i,documentation:Bt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getRepeatStyleProposals=function(e,t,n){for(var i in jt)n.items.push({label:i,documentation:jt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getLineStyleProposals=function(e,t,n){for(var i in Vt)n.items.push({label:i,documentation:Vt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getLineWidthProposals=function(e,t,n){for(var i=0,o=Ut;i<o.length;i++){var r=o[i];n.items.push({label:r,textEdit:Cn.replace(this.getCompletionRange(t),r),kind:zn.Value})}return n},e.prototype.getGeometryBoxProposals=function(e,t,n){for(var i in qt)n.items.push({label:i,documentation:qt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getBoxProposals=function(e,t,n){for(var i in Ht)n.items.push({label:i,documentation:Ht[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getImageProposals=function(e,t,n){for(var i in Kt){var o=ji(i);n.items.push({label:i,documentation:Kt[i],textEdit:Cn.replace(this.getCompletionRange(t),o),kind:zn.Function,insertTextFormat:i!==o?Fi:void 0})}return n},e.prototype.getTimingFunctionProposals=function(e,t,n){for(var i in Gt){var o=ji(i);n.items.push({label:i,documentation:Gt[i],textEdit:Cn.replace(this.getCompletionRange(t),o),kind:zn.Function,insertTextFormat:i!==o?Fi:void 0})}return n},e.prototype.getBasicShapeProposals=function(e,t,n){for(var i in Yt){var o=ji(i);n.items.push({label:i,documentation:Yt[i],textEdit:Cn.replace(this.getCompletionRange(t),o),kind:zn.Function,insertTextFormat:i!==o?Fi:void 0})}return n},e.prototype.getCompletionsForStylesheet=function(e){var t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof he?this.getCompletionsForRuleSet(t,e):t instanceof je?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)},e.prototype.getCompletionForTopLevel=function(e){var t=this;return this.cssDataManager.getAtDirectives().forEach((function(n){e.items.push({label:n.name,textEdit:Cn.replace(t.getCompletionRange(null),n.name),documentation:Et(n,t.doesSupportMarkdown()),tags:zi(n)?[jn.Deprecated]:[],kind:zn.Keyword})})),this.getCompletionsForSelector(null,!1,e),e},e.prototype.getCompletionsForRuleSet=function(e,t){var n=e.getDeclarations();return n&&n.endsWith("}")&&this.offset>=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},e.prototype.getCompletionsForSelector=function(e,t,n){var i=this,o=this.findInNodePath(J.PseudoSelector,J.IdentifierSelector,J.ClassSelector,J.ElementNameSelector);if(!o&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach((function(e){var t=ji(e.name),r={label:e.name,textEdit:Cn.replace(i.getCompletionRange(o),t),documentation:Et(e,i.doesSupportMarkdown()),tags:zi(e)?[jn.Deprecated]:[],kind:zn.Function,insertTextFormat:e.name!==t?Fi:void 0};Y(e.name,":-")&&(r.sortText=Ai.VendorPrefixed),n.items.push(r)})),this.cssDataManager.getPseudoElements().forEach((function(e){var t=ji(e.name),r={label:e.name,textEdit:Cn.replace(i.getCompletionRange(o),t),documentation:Et(e,i.doesSupportMarkdown()),tags:zi(e)?[jn.Deprecated]:[],kind:zn.Function,insertTextFormat:e.name!==t?Fi:void 0};Y(e.name,"::-")&&(r.sortText=Ai.VendorPrefixed),n.items.push(r)})),!t){for(var r=0,s=Xt;r<s.length;r++){var a=s[r];n.items.push({label:a,textEdit:Cn.replace(this.getCompletionRange(o),a),kind:zn.Keyword})}for(var l=0,c=Qt;l<c.length;l++){a=c[l];n.items.push({label:a,textEdit:Cn.replace(this.getCompletionRange(o),a),kind:zn.Keyword})}}var d={};d[this.currentWord]=!0;var h=this.textDocument.getText();if(this.styleSheet.accept((function(e){if(e.type===J.SimpleSelector&&e.length>0){var t=h.substr(e.offset,e.length);return"."!==t.charAt(0)||d[t]||(d[t]=!0,n.items.push({label:t,textEdit:Cn.replace(i.getCompletionRange(o),t),kind:zn.Keyword})),!1}return!0})),e&&e.isNested()){var u=e.getSelectors().findFirstChildBeforeOffset(this.offset);u&&0===e.getSelectors().getChildren().indexOf(u)&&this.getPropertyProposals(null,n)}return n},e.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof ge){var i=n;if(!tn(i.colonPosition)||this.offset<=i.colonPosition)return this.getCompletionsForDeclarationProperty(i,t);if(tn(i.semicolonPosition)&&i.semicolonPosition<this.offset)return this.offset===i.semicolonPosition+1?t:this.getCompletionsForDeclarationProperty(null,t);if(i instanceof _e)return this.getCompletionsForDeclarationValue(i,t)}else n instanceof st?this.getCompletionsForExtendsReference(n,null,t):(this.currentWord&&"@"===this.currentWord[0]||n instanceof he)&&this.getCompletionsForDeclarationProperty(null,t);return t},e.prototype.getCompletionsForVariableDeclaration=function(e,t){return this.offset&&tn(e.colonPosition)&&this.offset>e.colonPosition&&this.getVariableProposals(e.getValue(),t),t},e.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();if(n instanceof Ce)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;var i=e.findParent(J.Declaration);if(!i)return this.getTermProposals(void 0,null,t),t;var o=e.findChildAtOffset(this.offset,!0);return o?o instanceof nt||o instanceof ae?this.getCompletionsForDeclarationValue(i,t):t:this.getCompletionsForDeclarationValue(i,t)},e.prototype.getCompletionsForFunctionArgument=function(e,t,n){var i=t.getIdentifier();return i&&i.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},e.prototype.getCompletionsForFunctionDeclaration=function(e,t){var n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset<n.end&&this.getTermProposals(void 0,null,t),t},e.prototype.getCompletionsForMixinReference=function(e,t){for(var n=this,i=0,o=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Mixin);i<o.length;i++){var r=o[i];r.node instanceof dt&&t.items.push(this.makeTermProposal(r,r.node.getParameters(),null))}var s=e.getIdentifier()||null;return this.completionParticipants.forEach((function(e){e.onCssMixinReference&&e.onCssMixinReference({mixinName:n.currentWord,range:n.getCompletionRange(s)})})),t},e.prototype.getTermProposals=function(e,t,n){for(var i=0,o=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Function);i<o.length;i++){var r=o[i];r.node instanceof Le&&n.items.push(this.makeTermProposal(r,r.node.getParameters(),t))}return n},e.prototype.makeTermProposal=function(e,t,n){e.node;var i=t.getChildren().map((function(e){return e instanceof ye?e.getName():e.getText()})),o=e.name+"("+i.map((function(e,t){return"${"+(t+1)+":"+e+"}"})).join(", ")+")";return{label:e.name,detail:e.name+"("+i.join(", ")+")",textEdit:Cn.replace(this.getCompletionRange(n),o),insertTextFormat:Fi,kind:zn.Function,sortText:Ai.Term}},e.prototype.getCompletionsForSupportsCondition=function(e,t){var n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof _e)return!tn(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof qe)return this.getCompletionsForSupportsCondition(n,t)}return tn(e.lParent)&&this.offset>e.lParent&&(!tn(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},e.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();if(!n||this.offset<=n.offset){var i=e.findFirstChildBeforeOffset(this.offset);return i instanceof qe?this.getCompletionsForSupportsCondition(i,t):t}return this.getCompletionForTopLevel(t)},e.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},e.prototype.getCompletionForUriLiteralValue=function(e,t){var n,i,o;if(e.hasChildren()){var r=e.getChild(0);n=r.getText(),i=this.position,o=this.getCompletionRange(r)}else{n="",i=this.position;var s=this.textDocument.positionAt(e.offset+"url(".length);o=ln.create(s,s)}return this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:i,range:o})})),t},e.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!tn(this.supportsMarkdown)){if(!tn(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(Fn.Markdown)}return this.supportsMarkdown},e}();function zi(e){return!(!e.status||"nonstandard"!==e.status&&"obsolete"!==e.status)}var Bi=function(){function e(){this.entries={}}return e.prototype.add=function(e){this.entries[e]=!0},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function ji(e){return e.replace(/\(\)$/,"($1)")}var Vi=function(){function e(e,t){this.entries=e,this.currentOffset=t}return e.prototype.visitNode=function(e){return(e instanceof Qe||e instanceof we&&Pt(e))&&(this.currentOffset<e.offset||e.end<this.currentOffset)&&this.entries.add(e.getText()),!0},e}();function Ui(e){return e.toLowerCase()in At||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Hi,qi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),$i=wt(),Ki=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,n=this.attributes;t<n.length;t++){var i=n[t];if(i.name===e)return i.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(e){if(this.attributes){var t=this.attributes[this.attributes.length-1];t.value=t.value+e}},e.prototype.prepend=function(e){if(this.attributes){var t=this.attributes[0];t.value=e+t.value}},e.prototype.findRoot=function(){for(var e=this;e.parent&&!(e.parent instanceof Gi);)e=e.parent;return e},e.prototype.removeChild=function(e){if(this.children){var t=this.children.indexOf(e);if(-1!==t)return this.children.splice(t,1),!0}return!1},e.prototype.addAttr=function(e,t){this.attributes||(this.attributes=[]);for(var n=0,i=this.attributes;n<i.length;n++){var o=i[n];if(o.name===e)return void(o.value+=" "+t)}this.attributes.push({name:e,value:t})},e.prototype.clone=function(t){void 0===t&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var i=0,o=this.attributes;i<o.length;i++){var r=o[i];n.addAttr(r.name,r.value)}}if(t&&this.children){n.children=[];for(var s=0;s<this.children.length;s++)n.addChild(this.children[s].clone())}return n},e.prototype.cloneWithParent=function(){var e=this.clone(!1);!this.parent||this.parent instanceof Gi||this.parent.cloneWithParent().addChild(e);return e},e}(),Gi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return qi(t,e),t}(Ki),Yi=function(e){function t(t){var n=e.call(this)||this;return n.addAttr("name",t),n}return qi(t,e),t}(Ki),Zi=function(){function e(e){this.quote=e,this.result=[]}return e.prototype.print=function(e){return this.result=[],e instanceof Gi?e.children&&this.doPrint(e.children,0):this.doPrint([e],0),[{language:"html",value:this.result.join("\n")}]},e.prototype.doPrint=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];this.doPrintElement(o,t),o.children&&this.doPrint(o.children,t+1)}},e.prototype.writeLine=function(e,t){var n=new Array(e+1).join(" ");this.result.push(n+t)},e.prototype.doPrintElement=function(e,t){var n=e.findAttribute("name");if(e instanceof Yi||"…"===n)this.writeLine(t,n);else{var i=["<"];if(n?i.push(n):i.push("element"),e.attributes)for(var o=0,r=e.attributes;o<r.length;o++){var s=r[o];if("name"!==s.name){i.push(" "),i.push(s.name);var a=s.value;a&&(i.push("="),i.push(Hi.ensure(a,this.quote)))}}i.push(">"),this.writeLine(t,i.join(""))}},e}();!function(e){function t(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Hi||(Hi={}));var Xi=function(){this.id=0,this.attr=0,this.tag=0};function Qi(e,t){for(var n=new Ki,i=0,o=e.getChildren();i<o.length;i++){var r=o[i];switch(r.type){case J.SelectorCombinator:if(t){var s=r.getText().split("&");if(1===s.length){n.addAttr("name",s[0]);break}if(n=t.cloneWithParent(),s[0])n.findRoot().prepend(s[0]);for(var a=1;a<s.length;a++){if(a>1){var l=t.cloneWithParent();n.addChild(l.findRoot()),n=l}n.append(s[a])}}break;case J.SelectorPlaceholder:if(r.matches("@at-root"))return n;case J.ElementNameSelector:var c=r.getText();n.addAttr("name","*"===c?"element":Ji(c));break;case J.ClassSelector:n.addAttr("class",Ji(r.getText().substring(1)));break;case J.IdentifierSelector:n.addAttr("id",Ji(r.getText().substring(1)));break;case J.MixinDeclaration:n.addAttr("class",r.getName());break;case J.PseudoSelector:n.addAttr(Ji(r.getText()),"");break;case J.AttributeSelector:var d=r,h=d.getIdentifier();if(h){var u=d.getValue(),p=d.getOperator(),m=void 0;if(u&&p)switch(Ji(p.getText())){case"|=":m=Hi.remove(Ji(u.getText()))+"-…";break;case"^=":m=Hi.remove(Ji(u.getText()))+"…";break;case"$=":m="…"+Hi.remove(Ji(u.getText()));break;case"~=":m=" … "+Hi.remove(Ji(u.getText()))+" … ";break;case"*=":m="…"+Hi.remove(Ji(u.getText()))+"…";break;default:m=Hi.remove(Ji(u.getText()))}n.addAttr(Ji(h.getText()),m)}}}return n}function Ji(e){var t=new G;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}var eo=function(){function e(e){this.cssDataManager=e}return e.prototype.selectorToMarkedString=function(e){var t=function(e){if(e.matches("@at-root"))return null;var t=new Gi,n=[],i=e.getParent();if(i instanceof he)for(var o=i.getParent();o&&!no(o);){if(o instanceof he){if(o.getSelectors().matches("@at-root"))break;n.push(o)}o=o.getParent()}for(var r=new to(t),s=n.length-1;s>=0;s--){var a=n[s].getSelectors().getChild(0);a&&r.processSelector(a)}return r.processSelector(e),t}(e);if(t){var n=new Zi('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n}return[]},e.prototype.simpleSelectorToMarkedString=function(e){var t=Qi(e),n=new Zi('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n},e.prototype.isPseudoElementIdentifier=function(e){var t=e.match(/^::?([\w-]+)/);return!!t&&!!this.cssDataManager.getPseudoElement("::"+t[1])},e.prototype.selectorToSpecificityMarkedString=function(e){var t=this,n=function(e){for(var o=0,r=e.getChildren();o<r.length;o++){var s=r[o];switch(s.type){case J.IdentifierSelector:i.id++;break;case J.ClassSelector:case J.AttributeSelector:i.attr++;break;case J.ElementNameSelector:if(s.matches("*"))break;i.tag++;break;case J.PseudoSelector:var a=s.getText();if(t.isPseudoElementIdentifier(a))i.tag++;else{if(a.match(/^:not/i))break;i.attr++}}s.getChildren().length>0&&n(s)}},i=new Xi;return n(e),$i("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",i.id,i.attr,i.tag)},e}(),to=function(){function e(e){this.prev=null,this.element=e}return e.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof Gi)&&e.getChildren().some((function(e){return e.hasChildren()&&e.getChild(0).type===J.SelectorCombinator}))){var n=this.element.findRoot();n.parent instanceof Gi&&(t=this.element,this.element=n.parent,this.element.removeChild(n),this.prev=null)}for(var i=0,o=e.getChildren();i<o.length;i++){var r=o[i];if(r instanceof pe){if(this.prev instanceof pe){var s=new Yi("…");this.element.addChild(s),this.element=s}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(Qi(r)),this.element.addChild(new Yi("⋮")));var a=Qi(r,t),l=a.findRoot();this.element.addChild(l),this.element=a}(r instanceof pe||r.type===J.SelectorCombinatorParent||r.type===J.SelectorCombinatorShadowPiercingDescendant||r.type===J.SelectorCombinatorSibling||r.type===J.SelectorCombinatorAllSiblings)&&(this.prev=r)}},e}();function no(e){switch(e.type){case J.MixinDeclaration:case J.Stylesheet:return!0}return!1}var io=function(){function e(e,t){this.clientCapabilities=e,this.cssDataManager=t,this.selectorPrinting=new eo(t)}return e.prototype.doHover=function(e,t,n){function i(t){return ln.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var o=ie(n,e.offsetAt(t)),r=null,s=0;s<o.length;s++){var a=o[s];if(a instanceof ue){r={contents:this.selectorPrinting.selectorToMarkedString(a),range:i(a)};break}if(a instanceof pe){Y(a.getText(),"@")||(r={contents:this.selectorPrinting.simpleSelectorToMarkedString(a),range:i(a)});break}if(a instanceof _e){var l=a.getFullPropertyName();(d=this.cssDataManager.getProperty(l))&&(r=(h=Et(d,this.doesSupportMarkdown()))?{contents:h,range:i(a)}:null)}else if(a instanceof ht){var c=a.getText();(d=this.cssDataManager.getAtDirective(c))&&(r=(h=Et(d,this.doesSupportMarkdown()))?{contents:h,range:i(a)}:null)}else if(a instanceof re&&a.type===J.PseudoSelector){var d,h,u=a.getText();(d="::"===u.slice(0,2)?this.cssDataManager.getPseudoElement(u):this.cssDataManager.getPseudoClass(u))&&(r=(h=Et(d,this.doesSupportMarkdown()))?{contents:h,range:i(a)}:null)}else;}return r&&(r.contents=this.convertContents(r.contents)),r},e.prototype.convertContents=function(e){return this.doesSupportMarkdown()||"string"==typeof e?e:"kind"in e?{kind:"plaintext",value:e.value}:Array.isArray(e)?e.map((function(e){return"string"==typeof e?e:e.value})):e.value},e.prototype.doesSupportMarkdown=function(){if(!tn(this.supportsMarkdown)){if(!tn(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(Fn.Markdown)}return this.supportsMarkdown},e}(),oo=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},ro=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},so=wt(),ao=function(){function e(e){this.fileSystemProvider=e}return e.prototype.findDefinition=function(e,t,n){var i=new An(n),o=ne(n,e.offsetAt(t));if(!o)return null;var r=i.findSymbolFromNode(o);return r?{uri:e.uri,range:lo(r.node,e)}:null},e.prototype.findReferences=function(e,t,n){return this.findDocumentHighlights(e,t,n).map((function(t){return{uri:e.uri,range:t.range}}))},e.prototype.findDocumentHighlights=function(e,t,n){var i=[],o=ne(n,e.offsetAt(t));if(!o||o.type===J.Stylesheet||o.type===J.Declarations)return i;o.type===J.Identifier&&o.parent&&o.parent.type===J.ClassSelector&&(o=o.parent);var r=new An(n),s=r.findSymbolFromNode(o),a=o.getText();return n.accept((function(t){if(s){if(r.matchesSymbol(t,s))return i.push({kind:co(t),range:lo(t,e)}),!1}else o&&o.type===t.type&&t.matches(a)&&i.push({kind:co(t),range:lo(t,e)});return!0})),i},e.prototype.isRawStringDocumentLinkNode=function(e){return e.type===J.Import},e.prototype.findDocumentLinks=function(e,t,n){for(var i=this.findUnresolvedLinks(e,t),o=0;o<i.length;o++){var r=i[o].target;if(r&&!/^\w+:\/\//g.test(r)){var s=n.resolveReference(r,e.uri);s&&(i[o].target=s)}}return i},e.prototype.findDocumentLinks2=function(e,t,n){return oo(this,void 0,void 0,(function(){var i,o,r,s,a,l,c;return ro(this,(function(d){switch(d.label){case 0:i=this.findUnresolvedLinks(e,t),o=[],r=0,s=i,d.label=1;case 1:return r<s.length?(a=s[r],!(l=a.target)||/^\w+:\/\//g.test(l)?[3,3]:[4,this.resolveRelativeReference(l,e.uri,n)]):[3,5];case 2:return void 0!==(c=d.sent())&&(a.target=c,o.push(a)),[3,4];case 3:o.push(a),d.label=4;case 4:return r++,[3,1];case 5:return[2,o]}}))}))},e.prototype.findUnresolvedLinks=function(e,t){var n=this,i=[],o=function(t){var n=t.getText(),o=lo(t,e);o.start.line===o.end.line&&o.start.character===o.end.character||((Y(n,"'")||Y(n,'"'))&&(n=n.slice(1,-1)),i.push({target:n,range:o}))};return t.accept((function(e){if(e.type===J.URILiteral){var t=e.getChild(0);return t&&o(t),!1}if(e.parent&&n.isRawStringDocumentLinkNode(e.parent)){var i=e.getText();return(Y(i,"'")||Y(i,'"'))&&o(e),!1}return!0})),i},e.prototype.findDocumentSymbols=function(e,t){var n=[];return t.accept((function(t){var i={name:null,kind:Xn.Class,location:null},o=t;if(t instanceof ue)return i.name=t.getText(),(o=t.findAParent(J.Ruleset,J.ExtendsReference))&&(i.location=cn.create(e.uri,lo(o,e)),n.push(i)),!1;if(t instanceof it)i.name=t.getName(),i.kind=Xn.Variable;else if(t instanceof dt)i.name=t.getName(),i.kind=Xn.Method;else if(t instanceof Le)i.name=t.getName(),i.kind=Xn.Function;else if(t instanceof De)i.name=so("literal.keyframes","@keyframes {0}",t.getName());else if(t instanceof Ie)i.name=so("literal.fontface","@font-face");else if(t instanceof Be){var r=t.getChild(0);r instanceof Ue&&(i.name="@media "+r.getText(),i.kind=Xn.Module)}return i.name&&(i.location=cn.create(e.uri,lo(o,e)),n.push(i)),!0})),n},e.prototype.findDocumentColors=function(e,t){var n=[];return t.accept((function(t){var i=function(e,t){var n=zt(e);if(n){var i=lo(e,t);return{color:n,range:i}}return null}(t,e);return i&&n.push(i),!0})),n},e.prototype.getColorPresentations=function(e,t,n,i){var o,r=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);o=1===n.alpha?"rgb("+s+", "+a+", "+l+")":"rgba("+s+", "+a+", "+l+", "+n.alpha+")",r.push({label:o,textEdit:Cn.replace(i,o)}),o=1===n.alpha?"#"+ho(s)+ho(a)+ho(l):"#"+ho(s)+ho(a)+ho(l)+ho(Math.round(255*n.alpha)),r.push({label:o,textEdit:Cn.replace(i,o)});var c=function(e){var t=e.red,n=e.green,i=e.blue,o=e.alpha,r=Math.max(t,n,i),s=Math.min(t,n,i),a=0,l=0,c=(s+r)/2,d=r-s;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),r){case t:a=(n-i)/d+(n<i?6:0);break;case n:a=(i-t)/d+2;break;case i:a=(t-n)/d+4}a*=60,a=Math.round(a)}return{h:a,s:l,l:c,a:o}}(n);return o=1===c.a?"hsl("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%)":"hsla("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%, "+c.a+")",r.push({label:o,textEdit:Cn.replace(i,o)}),r},e.prototype.doRename=function(e,t,n,i){var o,r=this.findDocumentHighlights(e,t,i).map((function(e){return Cn.replace(e.range,n)}));return{changes:(o={},o[e.uri]=r,o)}},e.prototype.resolveRelativeReference=function(e,t,n){return oo(this,void 0,void 0,(function(){var i,o,r,s,a;return ro(this,(function(l){switch(l.label){case 0:return"~"===e[0]&&"/"!==e[1]&&this.fileSystemProvider?(e=e.substring(1),Y(t,"file://")?(i=function(e){if("@"===e[0])return e.substring(0,e.indexOf("/",e.indexOf("/")+1));return e.substring(0,e.indexOf("/"))}(e),o=n.resolveReference("/",t),r=Ci(t),[4,this.resolvePathToModule(i,r,o)]):[3,2]):[3,3];case 1:if(s=l.sent())return a=e.substring(i.length+1),[2,Si(s,a)];l.label=2;case 2:case 3:return[2,n.resolveReference(e,t)]}}))}))},e.prototype.resolvePathToModule=function(e,t,n){return oo(this,void 0,void 0,(function(){var i;return ro(this,(function(o){switch(o.label){case 0:return i=Si(t,"node_modules",e,"package.json"),[4,this.fileExists(i)];case 1:return o.sent()?[2,Ci(i)]:n&&t.startsWith(n)&&t.length!==n.length?[2,this.resolvePathToModule(e,Ci(t),n)]:[2,void 0]}}))}))},e.prototype.fileExists=function(e){return oo(this,void 0,void 0,(function(){var t;return ro(this,(function(n){switch(n.label){case 0:if(!this.fileSystemProvider)return[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(e)];case 2:return(t=n.sent()).type===mi.Unknown&&-1===t.size?[2,!1]:[2,!0];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},e}();function lo(e,t){return ln.create(t.positionAt(e.offset),t.positionAt(e.end))}function co(e){if(e.type===J.Selector)return Yn.Write;if(e instanceof ae&&e.parent&&e.parent instanceof ve&&e.isCustomProperty)return Yn.Write;if(e.parent)switch(e.parent.type){case J.FunctionDeclaration:case J.MixinDeclaration:case J.Keyframe:case J.VariableDeclaration:case J.FunctionParameter:return Yn.Write}return Yn.Read}function ho(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}var uo=wt(),po=oe.Warning,mo=oe.Error,go=oe.Ignore,fo=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},bo=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},_o={AllVendorPrefixes:new fo("compatibleVendorPrefixes",uo("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),go),IncludeStandardPropertyWhenUsingVendorPrefix:new fo("vendorPrefix",uo("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),po),DuplicateDeclarations:new fo("duplicateProperties",uo("rule.duplicateDeclarations","Do not use duplicate style definitions"),go),EmptyRuleSet:new fo("emptyRules",uo("rule.emptyRuleSets","Do not use empty rulesets"),po),ImportStatemement:new fo("importStatement",uo("rule.importDirective","Import statements do not load in parallel"),go),BewareOfBoxModelSize:new fo("boxModel",uo("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),go),UniversalSelector:new fo("universalSelector",uo("rule.universalSelector","The universal selector (*) is known to be slow"),go),ZeroWithUnit:new fo("zeroUnits",uo("rule.zeroWidthUnit","No unit for zero needed"),go),RequiredPropertiesForFontFace:new fo("fontFaceProperties",uo("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),po),HexColorLength:new fo("hexColorLength",uo("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),mo),ArgsInColorFunction:new fo("argumentsInColorFunction",uo("rule.colorFunction","Invalid number of parameters"),mo),UnknownProperty:new fo("unknownProperties",uo("rule.unknownProperty","Unknown property."),po),UnknownAtRules:new fo("unknownAtRules",uo("rule.unknownAtRules","Unknown at-rule."),po),IEStarHack:new fo("ieHack",uo("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),go),UnknownVendorSpecificProperty:new fo("unknownVendorSpecificProperties",uo("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),go),PropertyIgnoredDueToDisplay:new fo("propertyIgnoredDueToDisplay",uo("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),po),AvoidImportant:new fo("important",uo("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),go),AvoidFloat:new fo("float",uo("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),go),AvoidIdSelector:new fo("idSelector",uo("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),go)},vo={ValidProperties:new bo("validProperties",uo("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},wo=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var t=function(e){switch(e){case"ignore":return oe.Ignore;case"warning":return oe.Warning;case"error":return oe.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();var yo=wt(),Co=function(){function e(e){this.cssDataManager=e}return e.prototype.doCodeActions=function(e,t,n,i){return this.doCodeActions2(e,t,n,i).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return yn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},e.prototype.doCodeActions2=function(e,t,n,i){var o=[];if(n.diagnostics)for(var r=0,s=n.diagnostics;r<s.length;r++){var a=s[r];this.appendFixesForMarker(e,i,a,o)}return o},e.prototype.getFixesForUnknownProperty=function(e,t,n,i){var o=t.getName(),r=[];this.cssDataManager.getProperties().forEach((function(e){var t=function(e,t,n){void 0===n&&(n=4);var i=Math.abs(e.length-t.length);if(i>n)return 0;var o,r,s=[],a=[];for(o=0;o<t.length+1;++o)a.push(0);for(o=0;o<e.length+1;++o)s.push(a);for(o=1;o<e.length+1;++o)for(r=1;r<t.length+1;++r)e[o-1]===t[r-1]?s[o][r]=s[o-1][r-1]+1:s[o][r]=Math.max(s[o-1][r],s[o][r-1]);return s[e.length][t.length]-Math.sqrt(i)}(o,e.name);t>=o.length/2&&r.push({property:e.name,score:t})})),r.sort((function(e,t){return t.score-e.score||e.property.localeCompare(t.property)}));for(var s=3,a=0,l=r;a<l.length;a++){var c=l[a].property,d=yo("css.codeaction.rename","Rename to '{0}'",c),h=Cn.replace(n.range,c),u=Mn.create(e.uri,e.version),p={documentChanges:[xn.create(u,[h])]},m=ii.create(d,p,ti.QuickFix);if(m.diagnostics=[n],i.push(m),--s<=0)return}},e.prototype.appendFixesForMarker=function(e,t,n,i){if(n.code===_o.UnknownProperty.id)for(var o=e.offsetAt(n.range.start),r=e.offsetAt(n.range.end),s=ie(t,o),a=s.length-1;a>=0;a--){var l=s[a];if(l instanceof _e){var c=l.getProperty();if(c&&c.offset===o&&c.end===r)return void this.getFixesForUnknownProperty(e,c,n,i)}}},e}(),xo=function(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e};function So(e,t,n,i){var o=e[t];o.value=n,n&&(rn(o.properties,i)||o.properties.push(i))}function ko(e,t,n,i){"top"===t||"right"===t||"bottom"===t||"left"===t?So(e,t,n,i):function(e,t,n){So(e,"top",t,n),So(e,"right",t,n),So(e,"bottom",t,n),So(e,"left",t,n)}(e,n,i)}function Eo(e,t,n){switch(t.length){case 1:ko(e,void 0,t[0],n);break;case 2:ko(e,"top",t[0],n),ko(e,"bottom",t[0],n),ko(e,"right",t[1],n),ko(e,"left",t[1],n);break;case 3:ko(e,"top",t[0],n),ko(e,"right",t[1],n),ko(e,"left",t[1],n),ko(e,"bottom",t[2],n);break;case 4:ko(e,"top",t[0],n),ko(e,"right",t[1],n),ko(e,"bottom",t[2],n),ko(e,"left",t[3],n)}}function To(e,t){for(var n=0,i=t;n<i.length;n++){var o=i[n];if(e.matches(o))return!0}return!1}function Lo(e,t){return void 0===t&&(t=!0),(!t||!To(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function No(e,t){return void 0===t&&(t=!0),e.map((function(e){return Lo(e,t)}))}function Io(e,t){return void 0===t&&(t=!0),!To(e,["none","hidden"])&&(!t||!To(e,["initial","unset"]))}function Oo(e,t){return void 0===t&&(t=!0),e.map((function(e){return Io(e,t)}))}function Do(e){var t=e.getChildren();if(1===t.length)return Lo(o=t[0])&&Io(o);for(var n=0,i=t;n<i.length;n++){var o;if(!Lo(o=i[n],!1)||!Io(o,!1))return!1}return!0}var Ao=wt(),Ro=function(){function e(){this.data={}}return e.prototype.add=function(e,t,n){var i=this.data[e];i||(i={nodes:[],names:[]},this.data[e]=i),i.names.push(t),n&&i.nodes.push(n)},e}(),Mo=function(){function e(e,t,n){var i=this;this.cssDataManager=n,this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new Ro,this.validProperties={};var o=t.getSetting(vo.ValidProperties);Array.isArray(o)&&o.forEach((function(e){if("string"==typeof e){var t=e.trim().toLowerCase();t.length&&(i.validProperties[t]=!0)}}))}return e.entries=function(t,n,i,o,r){var s=new e(n,i,o);return t.acceptVisitor(s),s.completeValidations(),s.getEntries(r)},e.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},e.prototype.fetch=function(e,t){for(var n=[],i=0,o=e;i<o.length;i++){var r=o[i];r.fullPropertyName===t&&n.push(r)}return n},e.prototype.fetchWithValue=function(e,t,n){for(var i=[],o=0,r=e;o<r.length;o++){var s=r[o];if(s.fullPropertyName===t){var a=s.node.getValue();a&&this.findValueInExpression(a,n)&&i.push(s)}}return i},e.prototype.findValueInExpression=function(e,t){var n=!1;return e.accept((function(e){return e.type===J.Identifier&&e.matches(t)&&(n=!0),!n})),n},e.prototype.getEntries=function(e){return void 0===e&&(e=oe.Warning|oe.Error),this.warnings.filter((function(t){return 0!=(t.getLevel()&e)}))},e.prototype.addEntry=function(e,t,n){var i=new ft(e,t,this.settings.getRule(t),n);this.warnings.push(i)},e.prototype.getMissingNames=function(e,t){for(var n=e.slice(0),i=0;i<t.length;i++){var o=n.indexOf(t[i]);-1!==o&&(n[o]=null)}var r=null;for(i=0;i<n.length;i++){var s=n[i];s&&(r=null===r?Ao("namelist.single","'{0}'",s):Ao("namelist.concatenated","{0}, '{1}'",r,s))}return r},e.prototype.visitNode=function(e){switch(e.type){case J.UnknownAtRule:return this.visitUnknownAtRule(e);case J.Keyframe:return this.visitKeyframe(e);case J.FontFace:return this.visitFontFace(e);case J.Ruleset:return this.visitRuleSet(e);case J.SimpleSelector:return this.visitSimpleSelector(e);case J.Function:return this.visitFunction(e);case J.NumericValue:return this.visitNumericValue(e);case J.Import:return this.visitImport(e);case J.HexColorValue:return this.visitHexColorValue(e);case J.Prio:return this.visitPrio(e)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(e){var t=e.getChild(0);return!!t&&(!this.cssDataManager.getAtDirective(t.getText())&&(this.addEntry(t,_o.UnknownAtRules,"Unknown at rule "+t.getText()),!0))},e.prototype.visitKeyframe=function(e){var t=e.getKeyword();if(!t)return!1;var n=t.getText();return this.keyframes.add(e.getName(),n,"@keyframes"!==n?t:null),!0},e.prototype.validateKeyframes=function(){var e=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var t in this.keyframes.data){var n=this.keyframes.data[t].names,i=-1===n.indexOf("@keyframes");if(i||1!==n.length){var o=this.getMissingNames(e,n);if(o||i)for(var r=0,s=this.keyframes.data[t].nodes;r<s.length;r++){var a=s[r];if(i){var l=Ao("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(a,_o.IncludeStandardPropertyWhenUsingVendorPrefix,l)}if(o){l=Ao("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",o);this.addEntry(a,_o.AllVendorPrefixes,l)}}}}return!0},e.prototype.visitSimpleSelector=function(e){var t=this.documentText.charAt(e.offset);return 1===e.length&&"*"===t&&this.addEntry(e,_o.UniversalSelector),"#"===t&&this.addEntry(e,_o.AvoidIdSelector),!0},e.prototype.visitImport=function(e){return this.addEntry(e,_o.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),_o.EmptyRuleSet);for(var i=[],o=0,r=n.getChildren();o<r.length;o++){(x=r[o])instanceof _e&&i.push(new xo(x))}var s=function(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,i=e;n<i.length;n++){var o=i[n],r=o.node.value;if(void 0!==r)switch(o.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":t.width=o;break;case"height":t.height=o;break;default:var s=o.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:ko(t,s[1],Do(r),o);break;case"width":ko(t,s[1],Lo(r,!1),o);break;case"style":ko(t,s[1],Io(r,!0),o)}break;case"width":Eo(t,No(r.getChildren(),!1),o);break;case"style":Eo(t,Oo(r.getChildren(),!0),o)}break;case"padding":1===s.length?Eo(t,No(r.getChildren(),!0),o):ko(t,s[1],Lo(r,!0),o)}}}return t}(i);if(s.width){var a=[];if(s.right.value&&(a=sn(a,s.right.properties)),s.left.value&&(a=sn(a,s.left.properties)),0!==a.length){for(var l=0,c=a;l<c.length;l++){var d=c[l];this.addEntry(d.node,_o.BewareOfBoxModelSize)}this.addEntry(s.width.node,_o.BewareOfBoxModelSize)}}if(s.height){a=[];if(s.top.value&&(a=sn(a,s.top.properties)),s.bottom.value&&(a=sn(a,s.bottom.properties)),0!==a.length){for(var h=0,u=a;h<u.length;h++){d=u[h];this.addEntry(d.node,_o.BewareOfBoxModelSize)}this.addEntry(s.height.node,_o.BewareOfBoxModelSize)}}var p=this.fetchWithValue(i,"display","inline");if(p.length>0)for(var m=0,g=["width","height","margin-top","margin-bottom","float"];m<g.length;m++)for(var f=g[m],b=this.fetch(i,f),_=0;_<b.length;_++){var v=b[_].node,w=v.getValue();("float"!==f||w&&!w.matches("none"))&&this.addEntry(v,_o.PropertyIgnoredDueToDisplay,Ao("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((p=this.fetchWithValue(i,"display","inline-block")).length>0)for(b=this.fetch(i,"float"),_=0;_<b.length;_++){var y=b[_].node;(w=y.getValue())&&!w.matches("none")&&this.addEntry(y,_o.PropertyIgnoredDueToDisplay,Ao("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((p=this.fetchWithValue(i,"display","block")).length>0)for(b=this.fetch(i,"vertical-align"),_=0;_<b.length;_++)this.addEntry(b[_].node,_o.PropertyIgnoredDueToDisplay,Ao("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var C=this.fetch(i,"float");for(_=0;_<C.length;_++){var x=C[_];this.isValidPropertyDeclaration(x)||this.addEntry(x.node,_o.AvoidFloat)}for(var S=0;S<i.length;S++){if("background"!==(x=i[S]).fullPropertyName&&!this.validProperties[x.fullPropertyName])if((w=x.node.getValue())&&"-"!==this.documentText.charAt(w.offset)){var k=this.fetch(i,x.fullPropertyName);if(k.length>1)for(var E=0;E<k.length;E++){var T=k[E].node.getValue();T&&"-"!==this.documentText.charAt(T.offset)&&k[E]!==x&&this.addEntry(x.node,_o.DuplicateDeclarations)}}}if(!t.getSelectors().matches(":export")){for(var L=new Ro,N=!1,I=0,O=i;I<O.length;I++){var D=(x=O[I]).node;if(this.isCSSDeclaration(D)){var A=x.fullPropertyName,R=A.charAt(0);if("-"===R){if("-"!==A.charAt(1)){this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(D.getProperty(),_o.UnknownVendorSpecificProperty);var M=D.getNonPrefixedPropertyName();L.add(M,A,D.getProperty())}}else{var P=A;"*"!==R&&"_"!==R||(this.addEntry(D.getProperty(),_o.IEStarHack),A=A.substr(1)),this.cssDataManager.isKnownProperty(P)||this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(D.getProperty(),_o.UnknownProperty,Ao("property.unknownproperty.detailed","Unknown property: '{0}'",D.getFullPropertyName())),L.add(A,A,null)}}else N=!0}if(!N)for(var F in L.data){var W=L.data[F],z=W.names,B=this.cssDataManager.isStandardProperty(F)&&-1===z.indexOf(F);if(B||1!==z.length){for(var j=[],V=(S=0,e.prefixes.length);S<V;S++){var U=e.prefixes[S];this.cssDataManager.isStandardProperty(U+F)&&j.push(U+F)}var H=this.getMissingNames(j,z);if(H||B)for(var q=0,$=W.nodes;q<$.length;q++){var K=$[q];if(B){var G=Ao("property.standard.missing","Also define the standard property '{0}' for compatibility",F);this.addEntry(K,_o.IncludeStandardPropertyWhenUsingVendorPrefix,G)}if(H){G=Ao("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",H);this.addEntry(K,_o.AllVendorPrefixes,G)}}}}}return!0},e.prototype.visitPrio=function(e){return this.addEntry(e,_o.AvoidImportant),!0},e.prototype.visitNumericValue=function(e){var t=e.findParent(J.Function);if(t&&"calc"===t.getName())return!0;var n=e.findParent(J.Declaration);if(n&&n.getValue()){var i=e.getValue();if(!i.unit||-1===Zt.length.indexOf(i.unit.toLowerCase()))return!0;0===parseFloat(i.value)&&i.unit&&!this.validProperties[n.getFullPropertyName()]&&this.addEntry(e,_o.ZeroWithUnit)}return!0},e.prototype.visitFontFace=function(e){var t=e.getDeclarations();if(!t)return!1;for(var n=!1,i=!1,o=!1,r=0,s=t.getChildren();r<s.length;r++){var a=s[r];if(this.isCSSDeclaration(a)){var l=a.getProperty().getName().toLowerCase();"src"===l&&(n=!0),"font-family"===l&&(i=!0)}else o=!0}return o||n&&i||this.addEntry(e,_o.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(e){if(e instanceof _e){if(!e.getValue())return!1;var t=e.getProperty();if(!t)return!1;var n=t.getIdentifier();return!(!n||n.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(e){var t=e.length;return 9!==t&&7!==t&&5!==t&&4!==t&&this.addEntry(e,_o.HexColorLength),!1},e.prototype.visitFunction=function(e){var t=e.getName().toLowerCase(),n=-1,i=0;switch(t){case"rgb(":case"hsl(":n=3;break;case"rgba(":case"hsla(":n=4}return-1!==n&&(e.getArguments().accept((function(e){return!(e instanceof Ye)||(i+=1,!1)})),i!==n&&this.addEntry(e,_o.ArgsInColorFunction)),!0},e.prefixes=["-ms-","-moz-","-o-","-webkit-"],e}(),Po=function(){function e(e){this.cssDataManager=e}return e.prototype.configure=function(e){this.settings=e},e.prototype.doValidation=function(e,t,n){if(void 0===n&&(n=this.settings),n&&!1===n.validate)return[];var i=[];i.push.apply(i,bt.entries(t)),i.push.apply(i,Mo.entries(t,e,new wo(n&&n.lint),this.cssDataManager));var o=[];for(var r in _o)o.push(_o[r].id);return i.filter((function(e){return e.getLevel()!==oe.Ignore})).map((function(t){var n=ln.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),i=e.languageId;return{code:t.getRule().id,source:i,message:t.getMessage(),severity:t.getLevel()===oe.Warning?bn.Warning:bn.Error,range:n}}))},e}(),Fo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Wo="/".charCodeAt(0),zo="\n".charCodeAt(0),Bo="\r".charCodeAt(0),jo="\f".charCodeAt(0),Vo="$".charCodeAt(0),Uo="#".charCodeAt(0),Ho="{".charCodeAt(0),qo="=".charCodeAt(0),$o="!".charCodeAt(0),Ko="<".charCodeAt(0),Go=">".charCodeAt(0),Yo=".".charCodeAt(0),Zo=("@".charCodeAt(0),i.CustomToken),Xo=Zo++,Qo=Zo++,Jo=(Zo++,Zo++),er=Zo++,tr=Zo++,nr=Zo++,ir=Zo++,or=(Zo++,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Fo(t,e),t.prototype.scanNext=function(t){if(this.stream.advanceIfChar(Vo)){var n=["$"];if(this.ident(n))return this.finishToken(t,Xo,n.join(""));this.stream.goBackTo(t)}return this.stream.advanceIfChars([Uo,Ho])?this.finishToken(t,Qo):this.stream.advanceIfChars([qo,qo])?this.finishToken(t,Jo):this.stream.advanceIfChars([$o,qo])?this.finishToken(t,er):this.stream.advanceIfChar(Ko)?this.stream.advanceIfChar(qo)?this.finishToken(t,nr):this.finishToken(t,i.Delim):this.stream.advanceIfChar(Go)?this.stream.advanceIfChar(qo)?this.finishToken(t,tr):this.finishToken(t,i.Delim):this.stream.advanceIfChars([Yo,Yo,Yo])?this.finishToken(t,ir):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Wo,Wo]))&&(this.stream.advanceWhileChar((function(e){switch(e){case zo:case Bo:case jo:return!1;default:return!0}})),!0)},t}(G)),rr=wt(),sr=function(e,t){this.id=e,this.message=t},ar={FromExpected:new sr("scss-fromexpected",rr("expected.from","'from' expected")),ThroughOrToExpected:new sr("scss-throughexpected",rr("expected.through","'through' or 'to' expected")),InExpected:new sr("scss-fromexpected",rr("expected.in","'in' expected"))},lr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),cr=function(e){function t(){return e.call(this,new or)||this}return lr(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(i.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(t)||e.prototype._parseStylesheetAtStatement.call(this,t):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Re);if(this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.URIOrStringExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.URIOrStringExpected);return this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)},t.prototype._parseVariableDeclaration=function(e){if(void 0===e&&(e=[]),!this.peek(Xo))return null;var t=this.create(it);if(!t.setVariable(this._parseVariable()))return null;if(!this.accept(i.Colon))return this.finish(t,xt.ColonExpected);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),!t.setValue(this._parseExpr()))return this.finish(t,xt.VariableValueExpected,[],e);for(;this.peek(i.Exclamation);)if(t.addChild(this._tryParsePrio()));else{if(this.consumeToken(),!this.peekRegExp(i.Ident,/^(default|global)$/))return this.finish(t,xt.UnknownKeyword);this.consumeToken()}return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(Xo))return null;var e=this.create(rt);return this.consumeToken(),e},t.prototype._parseModuleMember=function(){var e=this.mark(),t=this.create(gt);return t.setIdentifier(this._parseIdent([ee.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,xt.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(e){var t=this;if(!this.peek(i.Ident)&&!this.peek(Qo)&&!this.peekDelim("-"))return null;var n=this.create(ae);n.referenceTypes=e,n.isCustomProperty=this.peekRegExp(i.Ident,/^--/);for(var o,r=!1;(this.accept(i.Ident)||n.addChild((o=void 0,o=t.mark(),t.acceptDelim("-")&&(t.hasWhitespace()||t.acceptDelim("-"),t.hasWhitespace())?(t.restoreAtMark(o),null):t._parseInterpolation()))||r&&this.acceptRegexp(/[\w-]/))&&(r=!0,!this.hasWhitespace()););return r?this.finish(n):null},t.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||e.prototype._parseTermExpression.call(this)},t.prototype._parseInterpolation=function(){if(this.peek(Qo)){var e=this.create(ot);return this.consumeToken(),e.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(i.CurlyR)?this.finish(e):this.finish(e,xt.RightCurlyExpected):this.accept(i.CurlyR)?this.finish(e):this.finish(e,xt.ExpressionExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Jo)||this.peek(er)||this.peek(tr)||this.peek(nr)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(J.Operator);return this.consumeToken(),this.finish(t)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(re);return this.consumeToken(),this.finish(t)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(e){var t=this.create(_e);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(t,xt.ColonExpected,[i.Colon],e);this.prevToken&&(t.colonPosition=this.prevToken.offset);var n=!1;if(t.setValue(this._parseExpr())&&(n=!0,t.addChild(this._parsePrio())),this.peek(i.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!n)return this.finish(t,xt.PropertyValueExpected);return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseNestedProperties=function(){var e=this.create(Oe);return this._parseBody(e,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(st);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,xt.SelectorExpected);for(;this.accept(i.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(i.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,xt.UnknownKeyword):this.finish(e)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(J.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var e=this.createNode(J.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){e=this.createNode(J.SelectorPlaceholder);return this.consumeToken(),this.finish(e)}return null},t.prototype._parseElementName=function(){var t=this.mark(),n=e.prototype._parseElementName.call(this);return n&&!this.hasWhitespace()&&this.peek(i.ParenthesisL)?(this.restoreAtMark(t),null):n},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var e=this.createNode(J.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)},t.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(i.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},t.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},t.prototype._internalParseIfStatement=function(e){var t=this.create(xe);if(this.consumeToken(),!t.setExpression(this._parseExpr(!0)))return this.finish(t,xt.ExpressionExpected);if(this._parseBody(t,e),this.acceptKeyword("@else"))if(this.peekIdent("if"))t.setElseClause(this._internalParseIfStatement(e));else if(this.peek(i.CurlyL)){var n=this.create(Te);this._parseBody(n,e),t.setElseClause(n)}return this.finish(t)},t.prototype._parseForStatement=function(e){if(!this.peekKeyword("@for"))return null;var t=this.create(Se);return this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,xt.ExpressionExpected,[i.CurlyR]):this.finish(t,ar.ThroughOrToExpected,[i.CurlyR]):this.finish(t,xt.ExpressionExpected,[i.CurlyR]):this.finish(t,ar.FromExpected,[i.CurlyR]):this.finish(t,xt.VariableNameExpected,[i.CurlyR])},t.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(ke);this.consumeToken();var n=t.getVariables();if(!n.addChild(this._parseVariable()))return this.finish(t,xt.VariableNameExpected,[i.CurlyR]);for(;this.accept(i.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,xt.VariableNameExpected,[i.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,xt.ExpressionExpected,[i.CurlyR]):this.finish(t,ar.InExpected,[i.CurlyR])},t.prototype._parseWhileStatement=function(e){if(!this.peekKeyword("@while"))return null;var t=this.create(Ee);return this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,xt.ExpressionExpected,[i.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(Le);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Function])))return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected,[i.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,xt.VariableNameExpected);return this.accept(i.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,xt.RightParenthesisExpected,[i.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var e=this.createNode(J.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,xt.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(dt);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Mixin])))return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);if(this.accept(i.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,xt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected,[i.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var e=this.create(ye);return e.setIdentifier(this._parseVariable())?(this.accept(ir),this.accept(i.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,xt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):this.finish(e)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.create(at);if(this.consumeToken(),this.accept(i.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,xt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected)}return this.finish(e)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(ct);this.consumeToken();var t=this._parseIdent([ee.Mixin]);if(!e.setIdentifier(t))return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([ee.Mixin]);if(!n)return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);var o=this.create(gt);t.referenceTypes=[ee.Module],o.setIdentifier(t),e.setIdentifier(n),e.addChild(o)}if(this.accept(i.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,xt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(i.CurlyL))&&e.setContent(this._parseMixinContentDeclaration()),this.finish(e)},t.prototype._parseMixinContentDeclaration=function(){var e=this.create(lt);if(this.acceptIdent("using")){if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected,[i.CurlyL]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,xt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected,[i.CurlyL])}return this.peek(i.CurlyL)&&this._parseBody(e,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(e)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var e=this.create(Ce),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(i.Colon))e.setIdentifier(n);else{if(this.accept(ir))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(ir),e.addChild(this._parsePrio()),this.finish(e)):e.setValue(this._tryParsePrio())?this.finish(e):null},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var o=this.create(re);return o.addChild(this._parseBinaryExpr()),this.finish(o)}return n},t.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(re);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(i.Comma);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},t.prototype._parseListElement=function(){var e=this.create(ut),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(i.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,xt.ExpressionExpected)}else e.setValue(t);return this.finish(e)},t.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var e=this.create(Me);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|with/))return this.finish(e,xt.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([ee.Module]))&&!this.acceptDelim("*"))return this.finish(e,xt.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected,[i.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,xt.VariableNameExpected);for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,xt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected)}}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,xt.SemiColonExpected)},t.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Pe);return e.setIdentifier(this._parseVariable())?this.accept(i.Colon)&&e.setValue(this._parseExpr(!0))?this.finish(e):this.finish(e,xt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):null},t.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var e=this.create(Fe);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|hide|show/))return this.finish(e,xt.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([ee.Forward]);if(!e.setIdentifier(t))return this.finish(e,xt.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,xt.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,xt.IdentifierOrVariableExpected)}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,xt.SemiColonExpected)},t.prototype._parseForwardVisibility=function(){var e=this.create(We);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent()););return e.getChildren().length>1?e:null},t.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||e.prototype._parseSupportsCondition.call(this)},t}(on),dr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),hr=wt(),ur=function(e){function t(n,i){var o=e.call(this,"$",n,i)||this;return pr(t.scssModuleLoaders),pr(t.scssModuleBuiltIns),o}return dr(t,e),t.prototype.isImportPathParent=function(t){return t===J.Forward||t===J.Use||e.prototype.isImportPathParent.call(this,t)},t.prototype.getCompletionForImportPath=function(n,i){var o=n.getParent().type;if(o===J.Forward||o===J.Use)for(var r=0,s=t.scssModuleBuiltIns;r<s.length;r++){var a=s[r],l={label:a.label,documentation:a.documentation,textEdit:Cn.replace(this.getCompletionRange(n),"'"+a.label+"'"),kind:zn.Module};i.items.push(l)}return e.prototype.getCompletionForImportPath.call(this,n,i)},t.prototype.createReplaceFunction=function(){var e=1;return function(n,i){return"\\"+i+": ${"+e+++":"+(t.variableDefaults[i]||"")+"}"}},t.prototype.createFunctionProposals=function(e,t,n,i){for(var o=0,r=e;o<r.length;o++){var s=r[o],a=s.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),l={label:s.func.substr(0,s.func.indexOf("(")),detail:s.func,documentation:s.desc,textEdit:Cn.replace(this.getCompletionRange(t),a),insertTextFormat:Bn.Snippet,kind:zn.Function};n&&(l.sortText="z"),i.items.push(l)}return i},t.prototype.getCompletionsForSelector=function(n,i,o){return this.createFunctionProposals(t.selectorFuncs,null,!0,o),e.prototype.getCompletionsForSelector.call(this,n,i,o)},t.prototype.getTermProposals=function(n,i,o){var r=t.builtInFuncs;return n&&(r=r.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(r,i,!0,o),e.prototype.getTermProposals.call(this,n,i,o)},t.prototype.getColorProposals=function(n,i,o){return this.createFunctionProposals(t.colorProposals,i,!1,o),e.prototype.getColorProposals.call(this,n,i,o)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionForAtDirectives(n),this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.prototype.getCompletionsForExtendsReference=function(e,t,n){for(var i=0,o=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Rule);i<o.length;i++){var r=o[i],s={label:r.name,textEdit:Cn.replace(this.getCompletionRange(t),r.name),kind:zn.Function};n.items.push(s)}return n},t.prototype.getCompletionForAtDirectives=function(e){var n;return(n=e.items).push.apply(n,t.scssAtDirectives),e},t.prototype.getCompletionForTopLevel=function(t){return this.getCompletionForAtDirectives(t),this.getCompletionForModuleLoaders(t),e.prototype.getCompletionForTopLevel.call(this,t),t},t.prototype.getCompletionForModuleLoaders=function(e){var n;return(n=e.items).push.apply(n,t.scssModuleLoaders),e},t.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},t.colorProposals=[{func:"red($color)",desc:hr("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:hr("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:hr("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:hr("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:hr("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:hr("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:hr("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:hr("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:hr("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:hr("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:hr("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:hr("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:hr("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:hr("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:hr("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:hr("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:hr("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:hr("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:hr("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:hr("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:hr("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:hr("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:hr("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:hr("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:hr("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],t.selectorFuncs=[{func:"selector-nest($selectors…)",desc:hr("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:hr("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:hr("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:hr("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:hr("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:hr("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:hr("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:hr("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],t.builtInFuncs=[{func:"unquote($string)",desc:hr("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:hr("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:hr("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:hr("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:hr("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:hr("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:hr("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:hr("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:hr("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:hr("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:hr("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:hr("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:hr("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:hr("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:hr("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:hr("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:hr("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:hr("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:hr("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:hr("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:hr("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:hr("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:hr("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:hr("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:hr("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:hr("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:hr("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:hr("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:hr("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:hr("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:hr("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:hr("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:hr("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:hr("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:hr("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:hr("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:hr("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:hr("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:hr("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:hr("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:hr("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:hr("scss.builtin.call","Dynamically calls a Sass function.")}],t.scssAtDirectives=[{label:"@extend",documentation:hr("scss.builtin.@extend","Inherits the styles of another selector."),kind:zn.Keyword},{label:"@at-root",documentation:hr("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:zn.Keyword},{label:"@debug",documentation:hr("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:zn.Keyword},{label:"@warn",documentation:hr("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:zn.Keyword},{label:"@error",documentation:hr("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:zn.Keyword},{label:"@if",documentation:hr("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@for",documentation:hr("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@each",documentation:hr("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@while",documentation:hr("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@mixin",documentation:hr("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@include",documentation:hr("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:zn.Keyword},{label:"@function",documentation:hr("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:zn.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:hr("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@forward",documentation:hr("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Bn.Snippet,kind:zn.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:hr("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:hr("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:hr("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:hr("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:hr("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:hr("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:hr("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],t}(Wi);function pr(e){e.forEach((function(e){if(e.documentation&&e.references&&e.references.length>0){var t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "),e.documentation=t}}))}var mr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gr="/".charCodeAt(0),fr="\n".charCodeAt(0),br="\r".charCodeAt(0),_r="\f".charCodeAt(0),vr="`".charCodeAt(0),wr=".".charCodeAt(0),yr=i.CustomToken,Cr=yr++,xr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mr(t,e),t.prototype.scanNext=function(t){var n=this.escapedJavaScript();return null!==n?this.finishToken(t,n):this.stream.advanceIfChars([wr,wr,wr])?this.finishToken(t,Cr):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([gr,gr]))&&(this.stream.advanceWhileChar((function(e){switch(e){case fr:case br:case _r:return!1;default:return!0}})),!0)},t.prototype.escapedJavaScript=function(){return this.stream.peekChar()===vr?(this.stream.advance(1),this.stream.advanceWhileChar((function(e){return e!==vr})),this.stream.advanceIfChar(vr)?i.EscapedJavaScript:i.BadEscapedJavaScript):null},t}(G),Sr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kr=function(e){function t(){return e.call(this,new xr)||this}return Sr(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(i.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var e=this.create(Re);if(this.consumeToken(),this.accept(i.ParenthesisL)){if(!this.accept(i.Ident))return this.finish(e,xt.IdentifierExpected,[i.SemiColon]);do{if(!this.accept(i.Comma))break}while(this.accept(i.Ident));if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected,[i.SemiColon])}return e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,xt.URIOrStringExpected,[i.SemiColon])},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var e=this.createNode(J.Plugin);return this.consumeToken(),e.addChild(this._parseStringLiteral())?this.accept(i.SemiColon)?this.finish(e):this.finish(e,xt.SemiColonExpected):this.finish(e,xt.StringLiteralExpected)},t.prototype._parseMediaQuery=function(t){var n=e.prototype._parseMediaQuery.call(this,t);if(!n){var i=this.create(He);return i.addChild(this._parseVariable())?this.finish(i):null}return n},t.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(e){void 0===e&&(e=[]);var t=this.create(it),n=this.mark();if(!t.setVariable(this._parseVariable(!0)))return null;if(!this.accept(i.Colon))return this.restoreAtMark(n),null;if(this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseDetachedRuleSet()))t.needsSemicolon=!1;else if(!t.setValue(this._parseExpr()))return this.finish(t,xt.VariableValueExpected,[],e);return t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseDetachedRuleSet=function(){var e=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;var t=this.create(dt);if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,xt.IdentifierExpected,[],[i.ParenthesisR]);if(!this.accept(i.ParenthesisR))return this.restoreAtMark(e),null}if(!this.peek(i.CurlyL))return null;var n=this.create(de);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(e){if(!e.addChild(this._parseLookupValue()))return!1;for(var t=!1;this.peek(i.BracketL)&&(t=!0),e.addChild(this._parseLookupValue());)t=!1;return!t},t.prototype._parseLookupValue=function(){var e=this.create(re),t=this.mark();return this.accept(i.BracketL)&&((e.addChild(this._parseVariable(!1,!0))||e.addChild(this._parsePropertyIdentifier()))&&this.accept(i.BracketR)||this.accept(i.BracketR))?e:(this.restoreAtMark(t),null)},t.prototype._parseVariable=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=!e&&this.peekDelim("$");if(!this.peekDelim("@")&&!n&&!this.peek(i.AtKeyword))return null;for(var o=this.create(rt),r=this.mark();this.acceptDelim("@")||!e&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(r),null;return(this.accept(i.AtKeyword)||this.accept(i.Ident))&&(t||!this.peek(i.BracketL)||this._addLookupChildren(o))?o:(this.restoreAtMark(r),null)},t.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||e.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},t.prototype._parseEscaped=function(){if(this.peek(i.EscapedJavaScript)||this.peek(i.BadEscapedJavaScript)){var e=this.createNode(J.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){e=this.createNode(J.EscapedValue);return this.consumeToken(),this.accept(i.String)||this.accept(i.EscapedJavaScript)?this.finish(e):this.finish(e,xt.TermExpected)}return null},t.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var e=this.createNode(J.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){e=this.createNode(J.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){e=this.createNode(J.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(e){var t=this.create(ue),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var o=this.mark();if(t.addChild(this._parseGuard())&&this.peek(i.CurlyL))break;this.restoreAtMark(o),t.addChild(this._parseCombinator())}return n?this.finish(t):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(J.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var e=this.createNode(J.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null},t.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;var n=this.mark(),i=this.create(ae);i.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");return(e?i.isCustomProperty?i.addChild(this._parseIdent()):i.addChild(this._parseRegexp(t)):i.isCustomProperty?this._acceptInterpolatedIdent(i):this._acceptInterpolatedIdent(i,t))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(i)):(this.restoreAtMark(n),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(i.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},t.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,o=!1,r=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},s=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(i.Ident)};(s()||e.addChild(this._parseInterpolation()||this.try(r)))&&(o=!0,!this.hasWhitespace()););return o},t.prototype._parseInterpolation=function(){var e=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var t=this.createNode(J.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(i.CurlyL)?(this.restoreAtMark(e),null):t.addChild(this._parseIdent())?this.accept(i.CurlyR)?this.finish(t):this.finish(t,xt.RightCurlyExpected):this.finish(t,xt.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(dt);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,xt.IdentifierExpected,[],[i.ParenthesisR]);return this.accept(i.ParenthesisR)?(t.setGuard(this._parseGuard()),this.peek(i.CurlyL)?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)):(this.restoreAtMark(e),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(ae),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(i.Hash))return null;e=this.create(ae),this.consumeToken()}return e.referenceTypes=[ee.Mixin],this.finish(e)},t.prototype._parsePseudo=function(){if(!this.peek(i.Colon))return null;var t=this.mark(),n=this.create(st);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var e=this.mark(),t=this.create(st);return this.consumeToken(),!this.hasWhitespace()&&this.accept(i.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)},t.prototype._completeExtends=function(e){if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,xt.SelectorExpected);for(;this.accept(i.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,xt.SelectorExpected);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(i.AtKeyword))return null;var e=this.mark(),t=this.create(ct);return!t.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(i.ParenthesisL)?this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected):(this.restoreAtMark(e),null)},t.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(ct),o=this._parseMixinDeclarationIdentifier();o;){this.acceptDelim(">");var r=this._parseMixinDeclarationIdentifier();if(!r)break;n.getNamespaces().addChild(o),o=r}if(!n.setIdentifier(o))return this.restoreAtMark(t),null;var s=!1;if(this.accept(i.ParenthesisL)){if(s=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,xt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(n,xt.RightParenthesisExpected);o.referenceTypes=[ee.Mixin]}else o.referenceTypes=[ee.Mixin,ee.Rule];return this.peek(i.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),s||this.peek(i.SemiColon)||this.peek(i.CurlyR)||this.peek(i.EOF)?this.finish(n):(this.restoreAtMark(t),null)},t.prototype._parseMixinArgument=function(){var e=this.create(Ce),t=this.mark(),n=this._parseVariable();return n&&(this.accept(i.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},t.prototype._parseMixinParameter=function(){var e=this.create(ye);if(this.peekKeyword("@rest")){var t=this.create(re);return this.consumeToken(),this.accept(Cr)?(e.setIdentifier(this.finish(t)),this.finish(e)):this.finish(e,xt.DotExpected,[],[i.Comma,i.ParenthesisR])}if(this.peek(Cr)){var n=this.create(re);return this.consumeToken(),e.setIdentifier(this.finish(n)),this.finish(e)}var o=!1;return e.setIdentifier(this._parseVariable())&&(this.accept(i.Colon),o=!0),e.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||o?this.finish(e):null},t.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(pt);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,xt.ConditionExpected);for(;this.acceptIdent("and")||this.accept(i.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,xt.ConditionExpected);return this.finish(e)},t.prototype._parseGuardCondition=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(mt);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},t.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,xt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(ae);return t.referenceTypes=[ee.Function],this.consumeToken(),this.finish(t)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var o=this.create(re);return o.addChild(this._parseBinaryExpr()),this.finish(o)}return n},t}(on),Er=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Tr=wt(),Lr=function(e){function t(t,n){return e.call(this,"@",t,n)||this}return Er(t,e),t.prototype.createFunctionProposals=function(e,t,n,i){for(var o=0,r=e;o<r.length;o++){var s=r[o],a={label:s.name,detail:s.example,documentation:s.description,textEdit:Cn.replace(this.getCompletionRange(t),s.name+"($0)"),insertTextFormat:Bn.Snippet,kind:zn.Function};n&&(a.sortText="z"),i.items.push(a)}return i},t.prototype.getTermProposals=function(n,i,o){var r=t.builtInProposals;return n&&(r=r.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(r,i,!0,o),e.prototype.getTermProposals.call(this,n,i,o)},t.prototype.getColorProposals=function(n,i,o){return this.createFunctionProposals(t.colorProposals,i,!1,o),e.prototype.getColorProposals.call(this,n,i,o)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:Tr("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:Tr("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:Tr("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:Tr("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:Tr("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:Tr("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:Tr("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:Tr("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:Tr("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:Tr("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:Tr("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:Tr("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:Tr("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:Tr("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:Tr("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:Tr("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:Tr("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:Tr("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:Tr("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:Tr("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:Tr("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:Tr("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:Tr("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:Tr("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:Tr("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:Tr("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:Tr("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:Tr("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:Tr("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:Tr("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],t.colorProposals=[{name:"argb",example:"argb(@color);",description:Tr("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:Tr("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:Tr("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:Tr("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:Tr("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:Tr("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:Tr("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:Tr("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:Tr("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:Tr("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:Tr("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:Tr("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:Tr("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:Tr("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:Tr("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:Tr("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:Tr("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:Tr("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:Tr("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:Tr("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:Tr("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:Tr("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:Tr("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:Tr("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:Tr("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:Tr("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:Tr("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],t}(Wi);function Nr(e,t){return function(e,t){var n=t&&t.rangeLimit||Number.MAX_VALUE,i=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n})),o=[],r=-1;return i.forEach((function(e){e.startLine<r&&r<e.endLine||(o.push(e),r=e.endLine)})),o.length<n?o:o.slice(0,n)}(function(e){function t(t){return e.positionAt(t.offset).line}function n(t){return e.positionAt(t.offset+t.len).line}var o=[],r=[],s=function(){switch(e.languageId){case"scss":return new or;case"less":return new xr;default:return new G}}();s.ignoreComment=!1,s.setSource(e.getText());var a=s.scan(),l=null,c=function(){switch(a.type){case i.CurlyL:case Qo:r.push({line:t(a),type:"brace",isStart:!0});break;case i.CurlyR:if(0!==r.length){if(!(u=Ir(r,"brace")))break;var c=n(a);"brace"===u.type&&(l&&n(l)!==c&&c--,u.line!==c&&o.push({startLine:u.line,endLine:c,kind:void 0}))}break;case i.Comment:var d=function(e){return"#region"===e?{line:t(a),type:"comment",isStart:!0}:{line:n(a),type:"comment",isStart:!1}},h=function(t){var n=t.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(n)return d(n[1]);if("scss"===e.languageId||"less"===e.languageId){var i=t.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(i)return d(i[1])}return null}(a);if(h)if(h.isStart)r.push(h);else{var u;if(!(u=Ir(r,"comment")))break;"comment"===u.type&&u.line!==h.line&&o.push({startLine:u.line,endLine:h.line,kind:"region"})}else{var p=function(e,i){var o=t(e),r=n(e);return o!==r?{startLine:o,endLine:r,kind:i}:null}(a,"comment");p&&o.push(p)}}l=a,a=s.scan()};for(;a.type!==i.EOF;)c();return o}(e),t)}function Ir(e,t){if(0===e.length)return null;for(var n=e.length-1;n>=0;n--)if(e[n].type===t&&e[n].isStart)return e.splice(n,1)[0];return null}var Or={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:59,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:81,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:50,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",relevance:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",relevance:69,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-duration",syntax:"<time>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"animation-timing-function",syntax:"<timing-function>#",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-blend-mode",browsers:["E79","FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",relevance:67,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"background-color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"background-origin",syntax:"<box>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-position",syntax:"<bg-position>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"behavior",browsers:["IE6"],relevance:50,description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"border-bottom-width",syntax:"<line-width>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",relevance:75,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",relevance:86,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"border-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-left-color",syntax:"<color>",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"border-left-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"border-left-width",syntax:"<line-width>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right-color",syntax:"<color>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"border-right-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"border-right-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"border-spacing",syntax:"<length> <length>?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-top-color",syntax:"<color>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"border-top-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"border-top-width",syntax:"<line-width>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"box-decoration-break",browsers:["E79","FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",relevance:50,description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"caret-color",browsers:["E79","FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Sets the color of an element's text",restrictions:["color"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],relevance:50,description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",relevance:52,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"column-rule-color",syntax:"<color>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"column-rule-style",syntax:"<'border-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"column-rule-width",syntax:"<'border-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"contain",browsers:["E79","FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],syntax:"none | strict | content | [ size || layout || style || paint ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],relevance:50,description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",relevance:50,description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:74,description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"fill-opacity",relevance:52,description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",relevance:78,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"flex-grow",syntax:"<number>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-shrink",syntax:"<number>",relevance:69,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"font-kerning",browsers:["E79","FF32","S9","C33","O20"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"font-size-adjust",browsers:["E79","FF40","C43","O30"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",relevance:83,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["E79","FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["E79","FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"font-variant-ligatures",browsers:["E79","FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["E79","FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"glyph-orientation-horizontal",relevance:50,description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],relevance:50,description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",relevance:1,description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"image-orientation",browsers:["E81","FF26","S13.1","C81","O67"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-rendering",browsers:["E79","FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["E79","FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"inline-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"isolation",browsers:["E79","FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",relevance:82,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],relevance:50,description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"margin-block-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-block-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["E79","FF53","S4","C1","O15"],syntax:"<geometry-box>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"mask-type",browsers:["E79","FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"max-block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"max-inline-size",browsers:["E79","FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"min-inline-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"mix-blend-mode",browsers:["E79","FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"motion-offset",browsers:["C46","O33"],relevance:50,description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],relevance:50,description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",relevance:0,description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],relevance:50,description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],relevance:50,description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],relevance:50,description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],relevance:50,description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],relevance:50,description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],relevance:50,description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],relevance:50,description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],relevance:50,description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",relevance:0,description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],relevance:50,description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",relevance:0,description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",relevance:0,description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",relevance:0,description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",relevance:0,description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",relevance:0,description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],relevance:50,description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],relevance:50,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],relevance:50,description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],relevance:50,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],relevance:50,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],relevance:50,description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],relevance:50,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],relevance:50,description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],relevance:50,description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],relevance:50,description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",relevance:0,description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",relevance:0,description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",relevance:0,description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",relevance:0,description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],relevance:50,description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],relevance:50,description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],relevance:50,description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],relevance:50,description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],relevance:50,description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],relevance:50,description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],relevance:50,description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],relevance:50,description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",relevance:0,description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],relevance:50,description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE5"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",relevance:0,description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",relevance:0,description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",relevance:0,description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",relevance:0,description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],relevance:50,description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],relevance:50,description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],relevance:50,description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],relevance:50,description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],relevance:50,description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",relevance:0,description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",relevance:0,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],relevance:50,description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],relevance:50,description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",relevance:0,description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",relevance:0,description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],relevance:50,description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],relevance:50,description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],relevance:50,description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],relevance:50,description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",relevance:50,description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],relevance:50,description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],relevance:50,description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"opacity",syntax:"<alpha-value>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"order",syntax:"<integer>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"-o-table-baseline",browsers:["O9.6"],relevance:50,description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],relevance:50,description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"outline-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",relevance:50,description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-bottom",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-right",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],syntax:"normal | [ fill || stroke || markers ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"perspective-origin",syntax:"<position>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",relevance:80,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],description:"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.",restrictions:["enum"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",relevance:50,description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"resize",browsers:["E79","FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE6"],relevance:50,description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"scroll-behavior",browsers:["E79","FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"shape-image-threshold",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<alpha-value>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"shape-margin",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<length-percentage>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-outside",browsers:["E79","FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],relevance:50,description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],syntax:"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",relevance:52,description:"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.",restrictions:["length"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",relevance:67,description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"stop-color",relevance:51,description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"stop-opacity",relevance:50,description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:63,description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],relevance:58,description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"stroke-dashoffset",relevance:58,description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],relevance:53,description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],relevance:50,description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"stroke-miterlimit",relevance:50,description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"stroke-opacity",relevance:51,description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"stroke-width",relevance:60,description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:"interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style."},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",relevance:50,description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"tab-size",browsers:["E79","FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O34"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],relevance:50,description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"text-decoration-color",browsers:["E79","FF36","S12.1","C57","O44"],syntax:"<color>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"text-decoration-line",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"text-orientation",browsers:["E79","FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["E79","FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["E79","FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"text-rendering",browsers:["E79","FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"text-underline-position",values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | from-font | [ under || [ left | right ] ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"transform-style",browsers:["E12","FF16","S9","C36","O23"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O23"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"transition-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"transition-duration",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"transition-timing-function",syntax:"<timing-function>#",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",relevance:58,description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",relevance:24,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",relevance:0,description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],relevance:50,description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],relevance:50,restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],relevance:50,description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["E79","S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],relevance:50,description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],relevance:50,description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],relevance:50,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],relevance:50,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],relevance:50,description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],relevance:50,description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",relevance:0,description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",relevance:0,description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",relevance:0,description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",relevance:0,description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",relevance:0,description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],relevance:50,description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],relevance:50,description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E12","C16","O≤15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}],restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],relevance:50,description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],relevance:50,restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",relevance:0,description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"will-change",browsers:["E79","FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",relevance:0,description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",relevance:0,browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",relevance:0,description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",relevance:0,description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",relevance:0,description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",relevance:0,description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",relevance:0,browsers:["E79","S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",relevance:0,description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",relevance:0,description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",relevance:0,description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",relevance:50,browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",relevance:0,description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",relevance:0,browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",relevance:0,browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",relevance:0,description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | menulist-button | <compat-auto>",relevance:60,browsers:["E84","FF1","S3","C84","O70"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",relevance:50,browsers:["E79","FF71","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}],description:"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"backdrop-filter",syntax:"none | <filter-function-list>",relevance:51,browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",relevance:50,browsers:["E79","FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"font-optical-sizing",syntax:"auto | none",relevance:50,browsers:["E17","FF62","S11","C79","O66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",relevance:50,browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"font-smooth",status:"nonstandard",syntax:"auto | never | always | <absolute-size> | <length>",relevance:0,browsers:["E79","FF25","S4","C5","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-smooth"}],description:""},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",relevance:50,browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",relevance:50,description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",relevance:50,browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"inset",syntax:"<'top'>{1,4}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",relevance:50,browsers:["E79","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-trim",status:"experimental",syntax:"none | in-flow | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-trim"}],description:"The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges."},{name:"mask",syntax:"<mask-layer>#",relevance:50,browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"mask-border",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",relevance:50,description:"The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."},{name:"mask-border-mode",syntax:"luminance | alpha",relevance:50,description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:50,description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",syntax:"<number-percentage>{1,4} fill?",relevance:50,description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",syntax:"none | <image>",relevance:50,description:"The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["E79","FF72","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:51,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",relevance:50,browsers:["E79","FF53","S9","C59","O46"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",relevance:50,browsers:["E79","FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",relevance:50,browsers:["E79","FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"row-gap",syntax:"normal | <length-percentage>",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",relevance:50,description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scale",syntax:"none | <number>{1,3}",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"scroll-snap-stop",syntax:"normal | always",relevance:50,browsers:["E79","C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:56,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"transform-box",syntax:"content-box | border-box | fill-box | stroke-box | view-box",relevance:50,browsers:["E79","FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",relevance:50,description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",relevance:54,description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"bleed",syntax:"auto | <length>",relevance:50,description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",syntax:"none | [ crop || cross ]",relevance:50,description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"min-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["E79","FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["E79","FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["E79","FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["E79","FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["E79","FF78","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",browsers:["FF78","C72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:where"}],description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["E79","FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E","IE10"],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E","IE10"],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E","IE10"],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E","IE10"],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E","IE10"],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E","IE10"],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E","IE10"],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E","IE10"],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["E79","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]},{name:"::-webkit-outer-spin-button",browsers:["S5","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["E79","S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-corner",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-thumb",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-search-cancel-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:'The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input\'s track to alter its numerical value.'},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E80","FF68","S11.1","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},Dr=function(){function e(e){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(e)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(e){if(Array.isArray(e.properties))for(var t=0,n=e.properties;t<n.length;t++){var i=n[t];"string"==typeof i.name&&this._properties.push(i)}if(Array.isArray(e.atDirectives))for(var o=0,r=e.atDirectives;o<r.length;o++){Ar(i=r[o])&&this._atDirectives.push(i)}if(Array.isArray(e.pseudoClasses))for(var s=0,a=e.pseudoClasses;s<a.length;s++){Rr(i=a[s])&&this._pseudoClasses.push(i)}if(Array.isArray(e.pseudoElements))for(var l=0,c=e.pseudoElements;l<c.length;l++){Mr(i=c[l])&&this._pseudoElements.push(i)}},e}();function Ar(e){return"string"==typeof e.name}function Rr(e){return"string"==typeof e.name}function Mr(e){return"string"==typeof e.name}var Pr=function(){function e(e){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders(!1!==(null==e?void 0:e.useDefaultDataProvider),(null==e?void 0:e.customDataProviders)||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new Dr(Or)),(n=this.dataProviders).push.apply(n,t),this.collectData()},e.prototype.collectData=function(){var e=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach((function(t){t.provideProperties().forEach((function(t){e._propertySet[t.name]||(e._propertySet[t.name]=t)})),t.provideAtDirectives().forEach((function(t){e._atDirectiveSet[t.name]||(e._atDirectiveSet[t.name]=t)})),t.providePseudoClasses().forEach((function(t){e._pseudoClassSet[t.name]||(e._pseudoClassSet[t.name]=t)})),t.providePseudoElements().forEach((function(t){e._pseudoElementSet[t.name]||(e._pseudoElementSet[t.name]=t)}))})),this._properties=en(this._propertySet),this._atDirectives=en(this._atDirectiveSet),this._pseudoClasses=en(this._pseudoClassSet),this._pseudoElements=en(this._pseudoElementSet)},e.prototype.getProperty=function(e){return this._propertySet[e]},e.prototype.getAtDirective=function(e){return this._atDirectiveSet[e]},e.prototype.getPseudoClass=function(e){return this._pseudoClassSet[e]},e.prototype.getPseudoElement=function(e){return this._pseudoElementSet[e]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(e){return e.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(e){return this.isKnownProperty(e)&&(!this._propertySet[e.toLowerCase()].status||"standard"===this._propertySet[e.toLowerCase()].status)},e}();function Fr(e,t,n){return t.map((function(t){for(var i=function(t){var i=e.offsetAt(t),o=n.findChildAtOffset(i,!0);if(!o)return[];var r=[];for(;o;)o.parent&&o.offset===o.parent.offset&&o.end===o.parent.end||(o.type===J.Declarations&&i>o.offset&&i<o.end&&r.push([o.offset+1,o.end-1]),r.push([o.offset,o.end])),o=o.parent;return r}(t),o=void 0,r=i.length-1;r>=0;r--)o=ai.create(ln.create(e.positionAt(i[r][0]),e.positionAt(i[r][1])),o);return o||(o=ai.create(ln.create(t,t))),o}))}var Wr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),zr=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Br=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},jr=function(e){function t(t){return e.call(this,t)||this}return Wr(t,e),t.prototype.isRawStringDocumentLinkNode=function(t){return e.prototype.isRawStringDocumentLinkNode.call(this,t)||t.type===J.Use||t.type===J.Forward},t.prototype.resolveRelativeReference=function(t,n,i){return zr(this,void 0,void 0,(function(){var o,r,s,a;return Br(this,(function(l){switch(l.label){case 0:return Y(t,"sass:")?[2,void 0]:[4,e.prototype.resolveRelativeReference.call(this,t,n,i)];case 1:if(o=l.sent(),!this.fileSystemProvider||!o||0!==function(e){for(var t=e.length-1;t>=0;t--){var n=e.charCodeAt(t);if(n===yi){if(t>0&&e.charCodeAt(t-1)!==wi)return e.substr(t);break}if(n===wi)break}return""}(o).length)return[3,8];l.label=2;case 2:if(l.trys.push([2,7,,8]),r=vi.a.parse(o),!(s=function(e){if(""!==e.path&&!e.path.endsWith(".scss")&&!e.path.endsWith(".css")){if(e.path.endsWith("/"))return[e.with({path:e.path+"index.scss"}).toString(),e.with({path:e.path+"_index.scss"}).toString()];var t=e.path.split("/"),n=t[t.length-1],i=e.path.slice(0,-n.length);if(n.startsWith("_"))return e.path.endsWith(".scss")?void 0:[e.with({path:e.path+".scss"}).toString()];var o=n+".scss",r=function(t){return e.with({path:i+t}).toString()};return[r(o),r("_"+o),r(o.slice(0,-5)+"/index.scss"),r(o.slice(0,-5)+"/_index.scss"),r(o.slice(0,-5)+".css")]}}(r)))return[3,6];a=0,l.label=3;case 3:return a<s.length?[4,this.fileExists(s[a])]:[3,6];case 4:if(l.sent())return[2,s[a]];l.label=5;case 5:return a++,[3,3];case 6:return[2,void 0];case 7:return l.sent(),[3,8];case 8:return[2,o]}}))}))},t}(ao);function Vr(e,t,n,i,o,r,s){return{configure:function(e){r.configure(e),t.configure(e)},setDataProviders:s.setDataProviders.bind(s),doValidation:r.doValidation.bind(r),parseStylesheet:e.parseStylesheet.bind(e),doComplete:t.doComplete.bind(t),doComplete2:t.doComplete2.bind(t),setCompletionParticipants:t.setCompletionParticipants.bind(t),doHover:n.doHover.bind(n),findDefinition:i.findDefinition.bind(i),findReferences:i.findReferences.bind(i),findDocumentHighlights:i.findDocumentHighlights.bind(i),findDocumentLinks:i.findDocumentLinks.bind(i),findDocumentLinks2:i.findDocumentLinks2.bind(i),findDocumentSymbols:i.findDocumentSymbols.bind(i),doCodeActions:o.doCodeActions.bind(o),doCodeActions2:o.doCodeActions2.bind(o),findColorSymbols:function(e,t){return i.findDocumentColors(e,t).map((function(e){return e.range}))},findDocumentColors:i.findDocumentColors.bind(i),getColorPresentations:i.getColorPresentations.bind(i),doRename:i.doRename.bind(i),getFoldingRanges:Nr,getSelectionRanges:Fr}}var Ur={};function Hr(e){void 0===e&&(e=Ur);var t=new Pr(e);return Vr(new on,new Wi(null,e,t),new io(e&&e.clientCapabilities,t),new ao(e&&e.fileSystemProvider),new Co(t),new Po(t),t)}function qr(e){void 0===e&&(e=Ur);var t=new Pr(e);return Vr(new cr,new ur(e,t),new io(e&&e.clientCapabilities,t),new jr(e&&e.fileSystemProvider),new Co(t),new Po(t),t)}function $r(e){void 0===e&&(e=Ur);var t=new Pr(e);return Vr(new kr,new Lr(e,t),new io(e&&e.clientCapabilities,t),new ao(e&&e.fileSystemProvider),new Co(t),new Po(t),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n(68),o=n(18);i.a;const r=Object(o.c)("notificationService");class s{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("keybindingService")},function(e,t,n){"use strict";n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return b})),n.d(t,"k",(function(){return _})),n.d(t,"a",(function(){return w}));var i=n(179),o=n(42),r=n(23),s=n(8),a=n(45),l=n(11);function c(e){return Object(r.b)(e,!0)}const d=new class{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:Object(s.f)(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}joinPath(e,...t){return r.a.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return o.e.basename(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===a.b.file?t=r.a.file(o.b(c(e))).path:(t=o.e.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===a.b.file?r.a.file(o.d(c(e))).path:o.e.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!v(e.authority,t.authority))return;if(e.scheme===a.b.file){const n=o.f(c(e),c(t));return l.i?i.b(n):n}let n=e.path||"/",r=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,r.length);e<t&&(n.charCodeAt(e)===r.charCodeAt(e)||n.charAt(e).toLowerCase()===r.charAt(e).toLowerCase());e++);n=r.substr(0,e)+n.substr(e)}return o.e.relative(n,r)}resolvePath(e,t){if(e.scheme===a.b.file){const n=r.a.file(o.g(c(e),t));return e.with({authority:n.authority,path:n.path})}return-1===t.indexOf("/")&&(t=i.b(t),/^[a-zA-Z]:(\/|$)/.test(t)&&(t="/"+t)),e.with({path:o.e.resolve(e.path,t)})}isEqualAuthority(e,t){return e===t||Object(s.t)(e,t)}}(()=>!1),h=d.isEqual.bind(d),u=d.basenameOrAuthority.bind(d),p=d.basename.bind(d),m=d.dirname.bind(d),g=d.joinPath.bind(d),f=d.normalizePath.bind(d),b=d.relativePath.bind(d),_=d.resolvePath.bind(d),v=d.isEqualAuthority.bind(d);var w;!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach(e=>{const[t,i]=e.split(":");t&&i&&n.set(t,i)});const i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(w||(w={}))},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.h})),n.d(t,"d",(function(){return i.l})),n.d(t,"e",(function(){return i.m})),n.d(t,"f",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class o{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let o=!1;return()=>{o||(o=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==i.Undefined;t=t.next)e.push(t.element);return e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return u}));var i=n(56),o=n(18),r=n(128);const s=Object(o.c)("configurationService");function a(e,t){const n=Object.create(null);for(let i in e)l(n,i,e[i],t);return n}function l(e,t,n,i){const o=t.split("."),r=o.pop();let s=e;for(let e=0;e<o.length;e++){let n=o[e],r=s[n];switch(typeof r){case"undefined":r=s[n]=Object.create(null);break;case"object":break;default:return void i(`Ignoring ${t} as ${o.slice(0,e+1).join(".")} is ${JSON.stringify(r)}`)}s=r}if("object"==typeof s&&null!==s)try{s[r]=n}catch(e){i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(s)}`)}else i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(s)}`)}function c(e,t){!function e(t,n){const i=n.shift();if(0===n.length)return void delete t[i];if(-1!==Object.keys(t).indexOf(i)){const o=t[i];"object"!=typeof o||Array.isArray(o)||(e(o,n),0===Object.keys(o).length&&delete t[i])}}(e,t.split("."))}function d(e,t,n){const i=function(e,t){let n=e;for(const e of t){if("object"!=typeof n||null===n)return;n=n[e]}return n}(e,t.split("."));return void 0===i?n:i}function h(){const e=i.a.as(r.a.Configuration).getConfigurationProperties();return Object.keys(e)}function u(){const e=Object.create(null),t=i.a.as(r.a.Configuration).getConfigurationProperties();for(let n in t){l(e,n,t[n].default,e=>console.error("Conflict in default settings: "+e))}return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return h}));var i,o,r,s,a,l,c,d,h,u=n(0);!function(e){e.noSelection=u.a("noSelection","No selection"),e.singleSelectionRange=u.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=u.a("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=u.a("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=u.a("multiSelection","{0} selections"),e.emergencyConfOn=u.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=u.a("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=u.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=u.a("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=u.a("readonlyEditor"," in a read-only code editor"),e.editableEditor=u.a("editableEditor"," in a code editor"),e.changeConfigToOnMac=u.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=u.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=u.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=u.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=u.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=u.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=u.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=u.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=u.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=u.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=u.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=u.a("showAccessibilityHelpAction","Show Accessibility Help")}(i||(i={})),function(e){e.inspectTokensAction=u.a("inspectTokens","Developer: Inspect Tokens")}(o||(o={})),function(e){e.gotoLineActionLabel=u.a("gotoLineActionLabel","Go to Line/Column...")}(r||(r={})),function(e){e.helpQuickAccessActionLabel=u.a("helpQuickAccess","Show all Quick Access Providers")}(s||(s={})),function(e){e.quickCommandActionLabel=u.a("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=u.a("quickCommandActionHelp","Show And Run Commands")}(a||(a={})),function(e){e.quickOutlineActionLabel=u.a("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=u.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(l||(l={})),function(e){e.editorViewAccessibleLabel=u.a("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=u.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(c||(c={})),function(e){e.toggleHighContrast=u.a("toggleHighContrast","Toggle High Contrast Theme")}(d||(d={})),function(e){e.bulkEditServiceSummary=u.a("bulkEditServiceSummary","Made {0} edits in {1} files")}(h||(h={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(14),o=n(174);const r=new class{constructor(){this.data=new Map}add(e,t){o.a(i.j(e)),o.a(i.i(t)),o.a(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"h",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"k",(function(){return _})),n.d(t,"b",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"e",(function(){return C})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return S})),n.d(t,"m",(function(){return k})),n.d(t,"l",(function(){return E})),n.d(t,"o",(function(){return L})),n.d(t,"p",(function(){return N})),n.d(t,"s",(function(){return O})),n.d(t,"q",(function(){return D})),n.d(t,"t",(function(){return A})),n.d(t,"r",(function(){return R}));var i=n(0),o=n(16),r=n(5),s=n(19);const a=Object(r.gc)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},i.a("lineHighlight","Background color for the highlight of line at the cursor position.")),l=Object(r.gc)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},i.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),c=Object(r.gc)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},i.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),d=Object(r.gc)("editor.rangeHighlightBorder",{dark:null,light:null,hc:r.b},i.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),h=Object(r.gc)("editor.symbolHighlightBackground",{dark:r.x,light:r.x,hc:null},i.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),u=Object(r.gc)("editor.symbolHighlightBorder",{dark:null,light:null,hc:r.b},i.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),p=Object(r.gc)("editorCursor.foreground",{dark:"#AEAFAD",light:o.a.black,hc:o.a.white},i.a("caret","Color of the editor cursor.")),m=Object(r.gc)("editorCursor.background",null,i.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),g=Object(r.gc)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},i.a("editorWhitespaces","Color of whitespace characters in the editor.")),f=Object(r.gc)("editorIndentGuide.background",{dark:g,light:g,hc:g},i.a("editorIndentGuides","Color of the editor indentation guides.")),b=Object(r.gc)("editorIndentGuide.activeBackground",{dark:g,light:g,hc:g},i.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),_=Object(r.gc)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:o.a.white},i.a("editorLineNumbers","Color of editor line numbers.")),v=Object(r.gc)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:r.b},i.a("editorActiveLineNumber","Color of editor active line number"),!1,i.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),w=Object(r.gc)("editorLineNumber.activeForeground",{dark:v,light:v,hc:v},i.a("editorActiveLineNumber","Color of editor active line number")),y=Object(r.gc)("editorRuler.foreground",{dark:"#5A5A5A",light:o.a.lightgrey,hc:o.a.white},i.a("editorRuler","Color of the editor rulers.")),C=Object(r.gc)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},i.a("editorCodeLensForeground","Foreground color of editor CodeLens")),x=Object(r.gc)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},i.a("editorBracketMatchBackground","Background color behind matching brackets")),S=Object(r.gc)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:r.h},i.a("editorBracketMatchBorder","Color for matching brackets boxes")),k=Object(r.gc)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},i.a("editorOverviewRulerBorder","Color of the overview ruler border.")),E=Object(r.gc)("editorOverviewRuler.background",null,i.a("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),T=Object(r.gc)("editorGutter.background",{dark:r.s,light:r.s,hc:r.s},i.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),L=Object(r.gc)("editorUnnecessaryCode.border",{dark:null,light:null,hc:o.a.fromHex("#fff").transparent(.8)},i.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),N=Object(r.gc)("editorUnnecessaryCode.opacity",{dark:o.a.fromHex("#000a"),light:o.a.fromHex("#0007"),hc:null},i.a("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),I=new o.a(new o.c(0,122,204,.6)),O=Object(r.gc)("editorOverviewRuler.rangeHighlightForeground",{dark:I,light:I,hc:I},i.a("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),D=Object(r.gc)("editorOverviewRuler.errorForeground",{dark:new o.a(new o.c(255,18,18,.7)),light:new o.a(new o.c(255,18,18,.7)),hc:new o.a(new o.c(255,50,50,1))},i.a("overviewRuleError","Overview ruler marker color for errors.")),A=Object(r.gc)("editorOverviewRuler.warningForeground",{dark:r.T,light:r.T,hc:r.S},i.a("overviewRuleWarning","Overview ruler marker color for warnings.")),R=Object(r.gc)("editorOverviewRuler.infoForeground",{dark:r.L,light:r.L,hc:r.K},i.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(s.g)((e,t)=>{const n=e.getColor(r.s);n&&t.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${n}; }`);const i=e.getColor(r.B);i&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${i}; }`);const o=e.getColor(T);o&&t.addRule(`.monaco-editor .margin { background-color: ${o}; }`);const s=e.getColor(c);s&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${s}; }`);const a=e.getColor(d);a&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${a}; }`);const l=e.getColor(h);l&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${l}; }`);const p=e.getColor(u);p&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${p}; }`);const m=e.getColor(g);m&&(t.addRule(`.monaco-editor .mtkw { color: ${m} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${m} !important; }`))})},function(e,t,n){"use strict";var i,o;n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return l})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(i||(i={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(o||(o={}));class r{constructor(e){this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class s{constructor(e,t){this.range=e,this.matches=t}}class a{constructor(e,t,n,i,o,r){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=i,this.isAutoWhitespaceEdit=o,this._isTracked=r}}class l{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.h})),n.d(t,"d",(function(){return i.l})),n.d(t,"e",(function(){return i.m})),n.d(t,"f",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c}));var i=n(2),o=n(6),r=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class s extends i.a{constructor(e,t="",n="",i=!0,r){super(),this._onDidChange=this._register(new o.a),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=e,this._label=t,this._cssClass=n,this._enabled=i,this._actionCallback=r}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)}}class a extends i.a{constructor(){super(...arguments),this._onDidBeforeRun=this._register(new o.a),this.onDidBeforeRun=this._onDidBeforeRun.event,this._onDidRun=this._register(new o.a),this.onDidRun=this._onDidRun.event}run(e,t){return r(this,void 0,void 0,(function*(){if(!e.enabled)return Promise.resolve(null);this._onDidBeforeRun.fire({action:e});try{const n=yield this.runAction(e,t);this._onDidRun.fire({action:e,result:n})}catch(t){this._onDidRun.fire({action:e,error:t})}}))}runAction(e,t){const n=t?e.run(t):e.run();return Promise.resolve(n)}}class l extends s{constructor(e){super(l.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}l.ID="vs.actions.separator";class c extends s{constructor(e,t,n,i){super(e,t,i,!0),this._actions=n}get actions(){return Array.isArray(this._actions)?this._actions:this._actions()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var i,o=n(15),r=n(2),s=n(1),a=n(98),l=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(i||(i={}));class c extends r.a{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(s.i(document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),this._register(s.i(document,"touchend",e=>this.onTouchEnd(e))),this._register(s.i(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return c.isTouchDevice()?(c.INSTANCE||(c.INSTANCE=new c),c.INSTANCE.targets.push(e),{dispose:()=>{c.INSTANCE.targets=c.INSTANCE.targets.filter(t=>t!==e)}}):r.a.None}static ignoreTarget(e){return c.isTouchDevice()?(c.INSTANCE||(c.INSTANCE=new c),c.INSTANCE.ignoreTargets.push(e),{dispose:()=>{c.INSTANCE.ignoreTargets=c.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):r.a.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,o=e.targetTouches.length;n<o;n++){let o=e.targetTouches.item(n);this.activeTouches[o.identifier]={id:o.identifier,initialTarget:o.target,initialTimeStamp:t,initialPageX:o.pageX,initialPageY:o.pageY,rollingTimestamps:[t],rollingPageX:[o.pageX],rollingPageY:[o.pageY]};let r=this.newGestureEvent(i.Start,o.target);r.pageX=o.pageX,r.pageY=o.pageY,this.dispatchEvent(r)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),n=Object.keys(this.activeTouches).length;for(let r=0,s=e.changedTouches.length;r<s;r++){let s=e.changedTouches.item(r);if(!this.activeTouches.hasOwnProperty(String(s.identifier))){console.warn("move of an UNKNOWN touch",s);continue}let a=this.activeTouches[s.identifier],l=Date.now()-a.initialTimeStamp;if(l<c.HOLD_DELAY&&Math.abs(a.initialPageX-o.t(a.rollingPageX))<30&&Math.abs(a.initialPageY-o.t(a.rollingPageY))<30){let e=this.newGestureEvent(i.Tap,a.initialTarget);e.pageX=o.t(a.rollingPageX),e.pageY=o.t(a.rollingPageY),this.dispatchEvent(e)}else if(l>=c.HOLD_DELAY&&Math.abs(a.initialPageX-o.t(a.rollingPageX))<30&&Math.abs(a.initialPageY-o.t(a.rollingPageY))<30){let e=this.newGestureEvent(i.Contextmenu,a.initialTarget);e.pageX=o.t(a.rollingPageX),e.pageY=o.t(a.rollingPageY),this.dispatchEvent(e)}else if(1===n){let e=o.t(a.rollingPageX),n=o.t(a.rollingPageY),i=o.t(a.rollingTimestamps)-a.rollingTimestamps[0],r=e-a.rollingPageX[0],s=n-a.rollingPageY[0];const l=this.targets.filter(e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget));this.inertia(l,t,Math.abs(r)/i,r>0?1:-1,e,Math.abs(s)/i,s>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(i.End,a.initialTarget)),delete this.activeTouches[s.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===i.Tap){const t=(new Date).getTime();let n=0;n=t-this._lastSetTapCountTime>c.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=n}else e.type!==i.Change&&e.type!==i.Contextmenu||(this._lastSetTapCountTime=0);for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach(t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,n,o,r,a,l,d){this.handle=s.Y(()=>{let s=Date.now(),h=s-t,u=0,p=0,m=!0;n+=c.SCROLL_FRICTION*h,a+=c.SCROLL_FRICTION*h,n>0&&(m=!1,u=o*n*h),a>0&&(m=!1,p=l*a*h);let g=this.newGestureEvent(i.Change);g.translationX=u,g.translationY=p,e.forEach(e=>e.dispatchEvent(g)),m||this.inertia(e,s,n,o,r+u,a,l,d+p)})}onTouchMove(e){let t=Date.now();for(let n=0,r=e.changedTouches.length;n<r;n++){let r=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(r.identifier))){console.warn("end of an UNKNOWN touch",r);continue}let s=this.activeTouches[r.identifier],a=this.newGestureEvent(i.Change,s.initialTarget);a.translationX=r.pageX-o.t(s.rollingPageX),a.translationY=r.pageY-o.t(s.rollingPageY),a.pageX=r.pageX,a.pageY=r.pageY,this.dispatchEvent(a),s.rollingPageX.length>3&&(s.rollingPageX.shift(),s.rollingPageY.shift(),s.rollingTimestamps.shift()),s.rollingPageX.push(r.pageX),s.rollingPageY.push(r.pageY),s.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}c.SCROLL_FRICTION=-.005,c.HOLD_DELAY=700,c.CLEAR_TAP_COUNT_TIME=400,l([a.a],c,"isTouchDevice",null)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return l}));var i=n(21);class o{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber,n.endColumn,n.endLineNumber,n.endColumn)}}class r{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)}}class s{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)}}class a{constructor(e,t,n,i,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset,n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset)}}class l{constructor(e,t,n,i=!1){this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var i,o,r=n(18),s=n(0),a=n(68);!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(i||(i={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=Object(s.a)("sev.error","Error"),t[e.Warning]=Object(s.a)("sev.warning","Warning"),t[e.Info]=Object(s.a)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case a.a.Error:return e.Error;case a.a.Warning:return e.Warning;case a.a.Info:return e.Info;case a.a.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return a.a.Error;case e.Warning:return a.a.Warning;case e.Info:return a.a.Info;case e.Hint:return a.a.Ignore}}}(i||(i={})),function(e){function t(e,t){let n=[""];return e.source?n.push(e.source.replace("¦","\\¦")):n.push(""),e.code?"string"==typeof e.code?n.push(e.code.replace("¦","\\¦")):n.push(e.code.value.replace("¦","\\¦")):n.push(""),void 0!==e.severity&&null!==e.severity?n.push(i.toString(e.severity)):n.push(""),e.message&&t?n.push(e.message.replace("¦","\\¦")):n.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(""),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(""),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(""),n.push(""),n.join("¦")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(o||(o={}));const l=Object(r.c)("markerService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(18);const o=Object(i.c)("modelService");function r(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},function(e,t,n){"use strict";function i(e,t){void 0===t&&(t=!1);var n=e.length,i=0,a="",l=0,c=16,d=0,h=0,u=0,p=0,m=0;function g(t,n){for(var o=0,r=0;o<t||!n;){var s=e.charCodeAt(i);if(s>=48&&s<=57)r=16*r+s-48;else if(s>=65&&s<=70)r=16*r+s-65+10;else{if(!(s>=97&&s<=102))break;r=16*r+s-97+10}i++,o++}return o<t&&(r=-1),r}function f(){if(a="",m=0,l=i,h=d,p=u,i>=n)return l=n,c=17;var t=e.charCodeAt(i);if(o(t)){do{i++,a+=String.fromCharCode(t),t=e.charCodeAt(i)}while(o(t));return c=15}if(r(t))return i++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(i)&&(i++,a+="\n"),d++,u=i,c=14;switch(t){case 123:return i++,c=1;case 125:return i++,c=2;case 91:return i++,c=3;case 93:return i++,c=4;case 58:return i++,c=6;case 44:return i++,c=5;case 34:return i++,a=function(){for(var t="",o=i;;){if(i>=n){t+=e.substring(o,i),m=2;break}var s=e.charCodeAt(i);if(34===s){t+=e.substring(o,i),i++;break}if(92!==s){if(s>=0&&s<=31){if(r(s)){t+=e.substring(o,i),m=2;break}m=6}i++}else{if(t+=e.substring(o,i),++i>=n){m=2;break}switch(e.charCodeAt(i++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=g(4,!0);a>=0?t+=String.fromCharCode(a):m=4;break;default:m=5}o=i}}return t}(),c=10;case 47:var f=i-1;if(47===e.charCodeAt(i+1)){for(i+=2;i<n&&!r(e.charCodeAt(i));)i++;return a=e.substring(f,i),c=12}if(42===e.charCodeAt(i+1)){i+=2;for(var _=n-1,v=!1;i<_;){var w=e.charCodeAt(i);if(42===w&&47===e.charCodeAt(i+1)){i+=2,v=!0;break}i++,r(w)&&(13===w&&10===e.charCodeAt(i)&&i++,d++,u=i)}return v||(i++,m=1),a=e.substring(f,i),c=13}return a+=String.fromCharCode(t),i++,c=16;case 45:if(a+=String.fromCharCode(t),++i===n||!s(e.charCodeAt(i)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=function(){var t=i;if(48===e.charCodeAt(i))i++;else for(i++;i<e.length&&s(e.charCodeAt(i));)i++;if(i<e.length&&46===e.charCodeAt(i)){if(!(++i<e.length&&s(e.charCodeAt(i))))return m=3,e.substring(t,i);for(i++;i<e.length&&s(e.charCodeAt(i));)i++}var n=i;if(i<e.length&&(69===e.charCodeAt(i)||101===e.charCodeAt(i)))if((++i<e.length&&43===e.charCodeAt(i)||45===e.charCodeAt(i))&&i++,i<e.length&&s(e.charCodeAt(i))){for(i++;i<e.length&&s(e.charCodeAt(i));)i++;n=i}else m=3;return e.substring(t,n)}(),c=11;default:for(;i<n&&b(t);)i++,t=e.charCodeAt(i);if(l!==i){switch(a=e.substring(l,i)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return a+=String.fromCharCode(t),i++,c=16}}function b(e){if(o(e)||r(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){i=e,a="",l=0,c=16,m=0},getPosition:function(){return i},scan:t?function(){var e;do{e=f()}while(e>=12&&e<=15);return e}:f,getToken:function(){return c},getTokenValue:function(){return a},getTokenOffset:function(){return l},getTokenLength:function(){return i-l},getTokenStartLine:function(){return h},getTokenStartCharacter:function(){return l-p},getTokenError:function(){return m}}}function o(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function r(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e>=48&&e<=57}function a(e,t,n){var o,r,s,a,d;if(t){for(a=t.offset,d=a+t.length,s=a;s>0&&!c(e,s-1);)s--;for(var h=d;h<e.length&&!c(e,h);)h++;r=e.substring(s,h),o=function(e,t){var n=0,i=0,o=t.tabSize||4;for(;n<e.length;){var r=e.charAt(n);if(" "===r)i++;else{if("\t"!==r)break;i+=o}n++}return Math.floor(i/o)}(r,n)}else r=e,o=0,s=0,a=0,d=e.length;var u,p=function(e,t){for(var n=0;n<t.length;n++){var i=t.charAt(n);if("\r"===i)return n+1<t.length&&"\n"===t.charAt(n+1)?"\r\n":"\r";if("\n"===i)return"\n"}return e&&e.eol||"\n"}(n,e),m=!1,g=0;u=n.insertSpaces?l(" ",n.tabSize||4):"\t";var f=i(r,!1),b=!1;function _(){return p+l(u,o+g)}function v(){var e=f.scan();for(m=!1;15===e||14===e;)m=m||14===e,e=f.scan();return b=16===e||0!==f.getTokenError(),e}var w=[];function y(t,n,i){!b&&n<d&&i>a&&e.substring(n,i)!==t&&w.push({offset:n,length:i-n,content:t})}var C=v();if(17!==C){var x=f.getTokenOffset()+s;y(l(u,o),s,x)}for(;17!==C;){for(var S=f.getTokenOffset()+f.getTokenLength()+s,k=v(),E="";!m&&(12===k||13===k);){y(" ",S,f.getTokenOffset()+s),S=f.getTokenOffset()+f.getTokenLength()+s,E=12===k?_():"",k=v()}if(2===k)1!==C&&(g--,E=_());else if(4===k)3!==C&&(g--,E=_());else{switch(C){case 3:case 1:g++,E=_();break;case 5:case 12:E=_();break;case 13:E=m?_():" ";break;case 6:E=" ";break;case 10:if(6===k){E="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===k||13===k?E=" ":5!==k&&17!==k&&(b=!0);break;case 16:b=!0}!m||12!==k&&13!==k||(E=_())}y(E,S,f.getTokenOffset()+s),C=k}return w}function l(e,t){for(var n="",i=0;i<t;i++)n+=e;return n}function c(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var d;function h(e,t,n){void 0===n&&(n=d.DEFAULT);var o=i(e,!1);function r(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}var a=r(t.onObjectBegin),l=s(t.onObjectProperty),c=r(t.onObjectEnd),h=r(t.onArrayBegin),u=r(t.onArrayEnd),p=s(t.onLiteralValue),m=s(t.onSeparator),g=r(t.onComment),f=s(t.onError),b=n&&n.disallowComments,_=n&&n.allowTrailingComma;function v(){for(;;){var e=o.scan();switch(o.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:b||w(11);break;case 2:w(12);break;case 6:w(16)}switch(e){case 12:case 13:b?w(10):g();break;case 16:w(1);break;case 15:case 14:break;default:return e}}}function w(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),f(e),t.length+n.length>0)for(var i=o.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}function y(e){var t=o.getTokenValue();return e?p(t):l(t),v(),!0}function C(){switch(o.getToken()){case 3:return function(){h(),v();for(var e=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||w(4,[],[]),m(","),v(),4===o.getToken()&&_)break}else e&&w(6,[],[]);C()||w(4,[],[4,5]),e=!0}return u(),4!==o.getToken()?w(8,[4],[]):v(),!0}();case 1:return function(){a(),v();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||w(4,[],[]),m(","),v(),2===o.getToken()&&_)break}else e&&w(6,[],[]);(10!==o.getToken()?(w(3,[],[2,5]),0):(y(!1),6===o.getToken()?(m(":"),v(),C()||w(4,[],[2,5])):w(5,[],[2,5]),1))||w(4,[],[2,5]),e=!0}return c(),2!==o.getToken()?w(7,[2],[]):v(),!0}();case 10:return y(!0);default:return function(){switch(o.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(w(2),e=0)}catch(e){w(2)}p(e);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return v(),!0}()}}return v(),17===o.getToken()?!!n.allowEmptyContent||(w(4,[],[]),!1):C()?(17!==o.getToken()&&w(9,[],[]),!0):(w(4,[],[]),!1)}n.d(t,"a",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return f})),n.d(t,"c",(function(){return b})),function(e){e.DEFAULT={allowTrailingComma:!1}}(d||(d={}));var u=i,p=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=d.DEFAULT);var i=null,o=[],r=[];function s(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}return h(e,{onObjectBegin:function(){var e={};s(e),r.push(o),o=e,i=null},onObjectProperty:function(e){i=e},onObjectEnd:function(){o=r.pop()},onArrayBegin:function(){var e=[];s(e),r.push(o),o=e,i=null},onArrayEnd:function(){o=r.pop()},onLiteralValue:s,onError:function(e,n,i){t.push({error:e,offset:n,length:i})}},n),o[0]},m=function e(t,n,i){if(void 0===i&&(i=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,i)){var o=t.children;if(Array.isArray(o))for(var r=0;r<o.length&&o[r].offset<=n;r++){var s=e(o[r],n,i);if(s)return s}return t}},g=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var i=t.parent.children[0].value;n.push(i)}else if("array"===t.parent.type){var o=t.parent.children.indexOf(t);-1!==o&&n.push(o)}return n},f=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var n=Object.create(null),i=0,o=t.children;i<o.length;i++){var r=o[i],s=r.children[1];s&&(n[r.children[0].value]=e(s))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function b(e,t,n){return a(e,t,n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return u}));n(206);var i=n(11),o=n(1);let r,s,a,l,c;function d(e){r=document.createElement("div"),r.className="monaco-aria-container";const t=()=>{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};s=t(),a=t();const n=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};l=n(),c=n(),e.appendChild(r)}function h(e){r&&(s.textContent!==e?(o.s(a),p(s,e)):(o.s(s),p(a,e)))}function u(e){r&&(i.f?h(e):l.textContent!==e?(o.s(c),p(l,e)):(o.s(l),p(c,e)))}function p(e,t){o.s(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(34),o=n(43),r=n(11);let s=new Array(230),a=new Array(112);!function(){for(let e=0;e<a.length;e++)a[e]=-1;function e(e,t){s[e]=t,a[t]=e}e(3,7),e(8,1),e(9,2),e(13,3),e(16,4),e(17,5),e(18,6),e(19,7),e(20,8),e(27,9),e(32,10),e(33,11),e(34,12),e(35,13),e(36,14),e(37,15),e(38,16),e(39,17),e(40,18),e(45,19),e(46,20),e(48,21),e(49,22),e(50,23),e(51,24),e(52,25),e(53,26),e(54,27),e(55,28),e(56,29),e(57,30),e(65,31),e(66,32),e(67,33),e(68,34),e(69,35),e(70,36),e(71,37),e(72,38),e(73,39),e(74,40),e(75,41),e(76,42),e(77,43),e(78,44),e(79,45),e(80,46),e(81,47),e(82,48),e(83,49),e(84,50),e(85,51),e(86,52),e(87,53),e(88,54),e(89,55),e(90,56),e(93,58),e(96,93),e(97,94),e(98,95),e(99,96),e(100,97),e(101,98),e(102,99),e(103,100),e(104,101),e(105,102),e(106,103),e(107,104),e(108,105),e(109,106),e(110,107),e(111,108),e(112,59),e(113,60),e(114,61),e(115,62),e(116,63),e(117,64),e(118,65),e(119,66),e(120,67),e(121,68),e(122,69),e(123,70),e(124,71),e(125,72),e(126,73),e(127,74),e(128,75),e(129,76),e(130,77),e(144,78),e(145,79),e(186,80),e(187,81),e(188,82),e(189,83),e(190,84),e(191,85),e(192,86),e(193,110),e(194,111),e(219,87),e(220,88),e(221,89),e(222,90),e(223,91),e(226,92),e(229,109),i.h?(e(59,80),e(107,81),e(109,83),r.f&&e(224,57)):i.l&&(e(91,57),r.f?e(93,57):e(92,57))}();const l=r.f?256:2048,c=r.f?2048:256;class d{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return o.b.fromString(t)}return s[e.keyCode]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=l),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=c),t|=e,t}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new o.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},function(e,t,n){"use strict";var i,o=n(8);!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(i||(i={})),function(e){e.fromValue=function(t){return t?o.t("error",t)?e.Error:o.t("warning",t)||o.t("warn",t)?e.Warning:o.t("info",t)?e.Info:e.Ignore:e.Ignore}}(i||(i={})),t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(34),o=n(177),r=n(11);class s{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=o.a.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let t=e,n=e;if(void 0!==t.wheelDeltaY)this.deltaY=t.wheelDeltaY/120;else if(void 0!==n.VERTICAL_AXIS&&n.axis===n.VERTICAL_AXIS)this.deltaY=-n.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?i.h&&!r.f?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==t.wheelDeltaX)i.j&&r.i?this.deltaX=-t.wheelDeltaX/120:this.deltaX=t.wheelDeltaX/120;else if(void 0!==n.HORIZONTAL_AXIS&&n.axis===n.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?i.h&&!r.f?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(3);class o{static insert(e,t){return{range:new i.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}},function(e,t,n){"use strict";n.d(t,"j",(function(){return r})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"i",(function(){return v})),n.d(t,"g",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return T})),n.d(t,"a",(function(){return M})),n.d(t,"d",(function(){return P})),n.d(t,"e",(function(){return U}));var i=n(78),o=n(8);function r(...e){return function(t,n){for(let i=0,o=e.length;i<o;i++){const o=e[i](t,n);if(o)return o}return null}}const s=function(e,t,n){if(!n||n.length<t.length)return null;let i;i=e?o.T(n,t):0===n.indexOf(t);if(!i)return null;return t.length>0?[{start:0,end:t.length}]:[]}.bind(void 0,!0);function a(e,t){const n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}function l(e){return 97<=e&&e<=122}function c(e){return 65<=e&&e<=90}function d(e){return 48<=e&&e<=57}function h(e){return 32===e||9===e||10===e||13===e}const u=new Set;function p(e){return h(e)||u.has(e)}function m(e){return l(e)||c(e)||d(e)}function g(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function f(e,t){for(let n=t;n<e.length;n++){const t=e.charCodeAt(n);if(c(t)||d(t)||n>0&&!m(e.charCodeAt(n-1)))return n}return e.length}function b(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;{let o=null,r=i+1;for(o=b(e,t,n+1,i+1);!o&&(r=f(t,r))<t.length;)o=b(e,t,n+1,r),r++;return null===o?null:g({start:i,end:i+1},o)}}function _(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){let t=0,n=0,i=0,o=0;for(let r=0;r<e.length;r++)i=e.charCodeAt(r),c(i)&&t++,l(i)&&n++,h(i)&&o++;return 0!==t&&0!==n||0!==o?t<=5:e.length<=30}(e))return null;if(t.length>60)return null;const n=function(e){let t=0,n=0,i=0,o=0,r=0;for(let s=0;s<e.length;s++)r=e.charCodeAt(s),c(r)&&t++,l(r)&&n++,m(r)&&i++,d(r)&&o++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:i/e.length,numericPercent:o/e.length}}(t);if(!function(e){const{upperPercent:t,lowerPercent:n,alphaPercent:i,numericPercent:o}=e;return n>.2&&t<.8&&i>.6&&o<.2}(n)){if(!function(e){const{upperPercent:t,lowerPercent:n}=e;return 0===n&&t>.6}(n))return null;t=t.toLowerCase()}let i=null,o=0;for(e=e.toLowerCase();o<t.length&&null===(i=b(e,t,0,o));)o=f(t,o+1);return i}function v(e,t,n=!1){if(!t||0===t.length)return null;let i=null,o=0;for(e=e.toLowerCase(),t=t.toLowerCase();o<t.length&&null===(i=w(e,t,0,o,n));)o=y(t,o+1);return i}function w(e,t,n,i,o){if(n===e.length)return[];if(i===t.length)return null;if(r=e.charCodeAt(n),s=t.charCodeAt(i),r===s||p(r)&&p(s)){let r=null,s=i+1;if(r=w(e,t,n+1,i+1,o),!o)for(;!r&&(s=y(t,s))<t.length;)r=w(e,t,n+1,s,o),s++;return null===r?null:g({start:i,end:i+1},r)}return null;var r,s}function y(e,t){for(let n=t;n<e.length;n++)if(p(e.charCodeAt(n))||n>0&&p(e.charCodeAt(n-1)))return n;return e.length}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(e=>u.add(e.charCodeAt(0)));const C=r(s,_,a),x=r(s,_,(function(e,t){return function e(t,n,i,o){if(i===t.length)return[];if(o===n.length)return null;if(t[i]===n[o]){let r=null;return(r=e(t,n,i+1,o+1))?g({start:o,end:o+1},r):null}return e(t,n,i,o+1)}(e.toLowerCase(),t.toLowerCase(),0,0)})),S=new i.a(1e4);function k(e,t,n=!1){if("string"!=typeof e||"string"!=typeof t)return null;let i=S.get(e);i||(i=new RegExp(o.p(e),"i"),S.set(e,i));const r=i.exec(t);return r?[{start:r.index,end:r.index+r[0].length}]:n?x(e,t):C(e,t)}function E(e,t,n,i,o,r){const s=P(e,t,0,i,o,0,!0);if(s)return s;let a=0,l=0,c=r;for(let e=0;e<t.length&&e<L;++e){const n=o.indexOf(t.charAt(e),c);if(n>=0)l+=1,a+=Math.pow(2,n),c=n+1;else if(0!==a)break}return[l,a,r]}function T(e){if(void 0===e)return[];const t=e[1].toString(2),n=[];for(let i=e[2];i<L;i++)if("1"===t[t.length-(i+1)]){const e=n[n.length-1];e&&e.end===i?e.end=i+1:n.push({start:i,end:i+1})}return n}const L=128;function N(){const e=[],t=[0];for(let e=1;e<=L;e++)t.push(-e);for(let n=0;n<=L;n++){const i=t.slice(0);i[0]=-n,e.push(i)}return e}const I=N(),O=N(),D=N();function A(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function R(e,t,n){return t[e]!==n[e]}var M;function P(e,t,n,i,o,r,s){const a=e.length>L?L:e.length,l=i.length>L?L:i.length;if(n>=a||r>=l||a-n>l-r)return;if(!function(e,t,n,i,o,r){for(;t<n&&o<r;)e[t]===i[o]&&(t+=1),o+=1;return t===n}(t,n,a,o,r,l))return;let c=1,d=1,h=n,u=r,p=!1;for(c=1,h=n;h<a;c++,h++)for(d=1,u=r;u<l;d++,u++){const r=F(e,t,h,n,i,o,u);h===n&&r>1&&(p=!0),O[c][d]=r;const s=I[c-1][d-1]+(r>1?1:r),a=I[c-1][d]+-1,l=I[c][d-1]+-1;l>=a?l>s?(I[c][d]=l,D[c][d]=4):l===s?(I[c][d]=l,D[c][d]=6):(I[c][d]=s,D[c][d]=2):a>s?(I[c][d]=a,D[c][d]=1):a===s?(I[c][d]=a,D[c][d]=3):(I[c][d]=s,D[c][d]=2)}return(p||s)&&(W=0,B=-100,j=r,V=s,function e(t,n,i,o,r){if(W>=10||i<-25)return;let s=0;for(;t>0&&n>0;){const a=O[t][n],l=D[t][n];if(4===l)n-=1,r?i-=5:0!==o&&(i-=1),r=!1,s=0;else{if(!(2&l))return;if(4&l&&e(t,n-1,0!==o?i-1:i,o,r),i+=a,t-=1,n-=1,r=!0,o+=Math.pow(2,n+j),1===a){if(s+=1,0===t&&!V)return}else i+=1+s*(a-1),s=0}}W+=1,(i-=n>=3?9:3*n)>B&&(B=i,z=o)}(c-1,d-1,a===l?1:0,0,!1),0!==W)?[B,z,r]:void 0}function F(e,t,n,i,o,r,s){return t[n]!==r[s]?-1:s===n-i?e[n]===o[s]?7:5:!R(s,o,r)||0!==s&&R(s-1,o,r)?!A(r,s)||0!==s&&A(r,s-1)?A(r,s-1)||function(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}(r,s-1)?5:1:5:e[n]===o[s]?7:5}!function(e){e.Default=Object.freeze([-100,0,0]),e.isDefault=function(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}}(M||(M={}));let W=0,z=0,B=0,j=0,V=!1;function U(e,t,n,i,o,r,s){return function(e,t,n,i,o,r,s,a){let l=P(e,t,n,i,o,r,a);if(l&&!s)return l;if(e.length>=3){const t=Math.min(7,e.length-1);for(let s=n+1;s<t;s++){const t=H(e,s);if(t){const e=P(t,t.toLowerCase(),n,i,o,r,a);e&&(e[0]-=3,(!l||e[0]>l[0])&&(l=e))}}}return l}(e,t,n,i,o,r,!0,s)}function H(e,t){if(t+1>=e.length)return;const n=e[t],i=e[t+1];return n!==i?e.slice(0,t)+i+n+e.slice(t+2):void 0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return p}));var i=n(8);const o=void 0!==e,r="undefined"!=typeof TextDecoder;let s;class a{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return o?this.buffer.toString():r?(s||(s=new TextDecoder),s.decode(this.buffer)):i.r(this.buffer)}}function l(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function c(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function d(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function h(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function u(e,t){return e[t]}function p(e,t,n){e[n]=t}}).call(this,n(202).Buffer)},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return a}));const i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const o=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of i)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function r(e){let t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,n,i,o=s){if(n.length>o.maxLen){let r=e-o.maxLen/2;return r<0?(i+=e,r=0):i+=r,a(e,t,n=n.substring(r,e+o.maxLen/2),i,o)}Date.now();const r=e-1-i;let c=-1,d=null;for(let e=1;;e++){Date.now(),o.timeBudget;const i=r-o.windowSize*e;t.lastIndex=Math.max(0,i);const s=l(t,n,r,c);if(!s&&d)break;if(d=s,i<=0)break;c=i}if(d){let e={word:d[0],startColumn:i+1+d.index,endColumn:i+1+d.index+d[0].length};return t.lastIndex=0,e}return null}function l(e,t,n,i){let o;for(;o=e.exec(t);){const t=o.index||0;if(t<=n&&e.lastIndex>=n)return o;if(i>0&&t>i)return null}return null}},function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return c}));var i=n(8);class o{constructor(e,t,n,i){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|i}}class r{constructor(e,t){this.tabSize=e,this.data=t}}class s{constructor(e,t,n,i,o,r){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=o,this.tokens=r}}class a{constructor(e,t,n,i,o,r,s,l,c,d){this.minColumn=e,this.maxColumn=t,this.content=n,this.continuesWithWrappedLine=i,this.isBasicASCII=a.isBasicASCII(n,r),this.containsRTL=a.containsRTL(n,this.isBasicASCII,o),this.tokens=s,this.inlineDecorations=l,this.tabSize=c,this.startVisibleColumn=d}static isBasicASCII(e,t){return!t||i.B(e)}static containsRTL(e,t,n){return!(t||!n)&&i.m(e)}}class l{constructor(e,t,n){this.range=e,this.inlineClassName=t,this.type=n}}class c{constructor(e,t){this.range=e,this.options=t}}},function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(i||(i={}));class o{constructor(e){if(this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,n=e.notIn.length;t<n;t++){switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}}isOK(e){return 0==(this._standardTokenMask&e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(36);class o{constructor(e){let t=Object(i.b)(e);this._defaultValue=t,this._asciiMap=o._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(i.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class r{constructor(){this._actual=new o(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));class i{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class o{constructor(e,t){this.tokens=e,this.endState=t}}class r{constructor(e,t){this.tokens=e,this.endState=t}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m}));var i=n(23),o=n(8),r=n(45),s=n(11);class a{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}class l{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++){const t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this}cmp(e){return this._caseSensitive?Object(o.h)(e,this._value,0,e.length,this._from,this._to):Object(o.i)(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class c{constructor(){this._states=[],this._stateIdx=0}reset(e){if(this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path){const t=e.scheme===r.b.file&&s.d;this._pathIterator=new l(!1,t),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)}return this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(1===this._states[this._stateIdx])return Object(o.f)(e,this._value.scheme);if(2===this._states[this._stateIdx])return Object(o.i)(e,this._value.authority);if(3===this._states[this._stateIdx])return this._pathIterator.cmp(e);if(4===this._states[this._stateIdx])return Object(o.f)(e,this._value.query);if(5===this._states[this._stateIdx])return Object(o.f)(e,this._value.fragment);throw new Error}value(){if(1===this._states[this._stateIdx])return this._value.scheme;if(2===this._states[this._stateIdx])return this._value.authority;if(3===this._states[this._stateIdx])return this._pathIterator.value();if(4===this._states[this._stateIdx])return this._value.query;if(5===this._states[this._stateIdx])return this._value.fragment;throw new Error}}class d{}class h{constructor(e){this._iter=e}static forUris(){return new h(new c)}static forStrings(){return new h(new a)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let i;for(this._root||(this._root=new d,this._root.segment=n.value()),i=this._root;;){const e=n.cmp(i.segment);if(e>0)i.left||(i.left=new d,i.left.segment=n.value()),i=i.left;else if(e<0)i.right||(i.right=new d,i.right.segment=n.value()),i=i.right;else{if(!n.hasNext())break;n.next(),i.mid||(i.mid=new d,i.mid.segment=n.value()),i=i.mid}}const o=i.value;return i.value=t,i.key=e,o}get(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0}findSubstr(e){const t=this._iter.reset(e);let n=this._root,i=void 0;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),i=n.value||i,n=n.mid}}return n&&n.value||i}forEach(e){this._forEach(this._root,e)}_forEach(e,t){e&&(this._forEach(e.left,t),e.value&&t(e.value,e.key),this._forEach(e.mid,t),this._forEach(e.right,t))}}class u{constructor(e,t){this[Symbol.toStringTag]="ResourceMap",e instanceof u?(this.map=new Map(e.map),this.toKey=null!=t?t:u.defaultToKey):(this.map=new Map,this.toKey=null!=e?e:u.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),t),this}get(e){return this.map.get(this.toKey(e))}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(let[t,n]of this.map)e(n,i.a.parse(t),this)}values(){return this.map.values()}*keys(){for(let e of this.map.keys())yield i.a.parse(e)}*entries(){for(let e of this.map.entries())yield[i.a.parse(e[0]),e[1]]}*[Symbol.iterator](){for(let e of this.map)yield[i.a.parse(e[0]),e[1]]}}u.defaultToKey=e=>e.toString();class p{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:default:this.addItemLast(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}values(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class m extends p{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));var i=n(23),o=n(18),r=n(2),s=n(8),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const l=Object(o.c)("openerService"),c=Object.freeze({_serviceBrand:void 0,registerOpener:()=>r.a.None,registerValidator:()=>r.a.None,registerExternalUriResolver:()=>r.a.None,setExternalOpener(){},open(){return a(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return a(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return i.a.isUri(e)?Object(s.t)(e.scheme,t):Object(s.T)(e,t+":")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var i=n(18),o=n(10);const r=Object(i.c)("accessibilityService"),s=new o.c("accessibilityModeEnabled",!1)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(22),o=n(9),r=n(3),s=n(8);class a{constructor(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}}class l{static leftPosition(e,t,n){return n>e.getLineMinColumn(t)?n-=s.N(e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new o.a(t,n)}static left(e,t,n,i){const o=l.leftPosition(t,n,i);return new a(o.lineNumber,o.column,0)}static moveLeft(e,t,n,i,o){let r,s;if(n.hasSelection()&&!i)r=n.selection.startLineNumber,s=n.selection.startColumn;else{let i=l.left(e,t,n.position.lineNumber,n.position.column-(o-1));r=i.lineNumber,s=i.column}return n.move(i,r,s,0)}static rightPosition(e,t,n){return n<e.getLineMaxColumn(t)?n+=s.L(e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new o.a(t,n)}static right(e,t,n,i){const o=l.rightPosition(t,n,i);return new a(o.lineNumber,o.column,0)}static moveRight(e,t,n,i,o){let r,s;if(n.hasSelection()&&!i)r=n.selection.endLineNumber,s=n.selection.endColumn;else{let i=l.right(e,t,n.position.lineNumber,n.position.column+(o-1));r=i.lineNumber,s=i.column}return n.move(i,r,s,0)}static down(e,t,n,o,r,s,l){const c=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r,d=t.getLineCount(),h=n===d&&o===t.getLineMaxColumn(n);return(n+=s)>d?(n=d,o=l?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,c),r=h?0:c-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)}static moveDown(e,t,n,i,o){let r,s;n.hasSelection()&&!i?(r=n.selection.endLineNumber,s=n.selection.endColumn):(r=n.position.lineNumber,s=n.position.column);let a=l.down(e,t,r,s,n.leftoverVisibleColumns,o,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateDown(e,t,n){let s=n.selection,a=l.down(e,t,s.selectionStartLineNumber,s.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),c=l.down(e,t,s.positionLineNumber,s.positionColumn,n.leftoverVisibleColumns,1,!1);return new i.f(new r.a(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new o.a(c.lineNumber,c.column),c.leftoverVisibleColumns)}static up(e,t,n,o,r,s,l){const c=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r,d=1===n&&1===o;return(n-=s)<1?(n=1,o=l?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,c),r=d?0:c-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)}static moveUp(e,t,n,i,o){let r,s;n.hasSelection()&&!i?(r=n.selection.startLineNumber,s=n.selection.startColumn):(r=n.position.lineNumber,s=n.position.column);let a=l.up(e,t,r,s,n.leftoverVisibleColumns,o,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateUp(e,t,n){let s=n.selection,a=l.up(e,t,s.selectionStartLineNumber,s.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),c=l.up(e,t,s.positionLineNumber,s.positionColumn,n.leftoverVisibleColumns,1,!1);return new i.f(new r.a(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new o.a(c.lineNumber,c.column),c.leftoverVisibleColumns)}static moveToBeginningOfLine(e,t,n,i){let o,r=n.position.lineNumber,s=t.getLineMinColumn(r),a=t.getLineFirstNonWhitespaceColumn(r)||s;return o=n.position.column===a?s:a,n.move(i,r,o,0)}static moveToEndOfLine(e,t,n,i,o){let r=n.position.lineNumber,s=t.getLineMaxColumn(r);return n.move(i,r,s,o?1073741824-s:0)}static moveToBeginningOfBuffer(e,t,n,i){return n.move(i,1,1,0)}static moveToEndOfBuffer(e,t,n,i){let o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(1),o=n(67),r=n(69),s=n(2),a=n(61);class l extends s.a{onclick(e,t){this._register(i.i(e,i.c.CLICK,e=>t(new r.a(e))))}onmousedown(e,t){this._register(i.i(e,i.c.MOUSE_DOWN,e=>t(new r.a(e))))}onmouseover(e,t){this._register(i.i(e,i.c.MOUSE_OVER,e=>t(new r.a(e))))}onnonbubblingmouseout(e,t){this._register(i.j(e,e=>t(new r.a(e))))}onkeydown(e,t){this._register(i.i(e,i.c.KEY_DOWN,e=>t(new o.a(e))))}onkeyup(e,t){this._register(i.i(e,i.c.KEY_UP,e=>t(new o.a(e))))}oninput(e,t){this._register(i.i(e,i.c.INPUT,t))}onblur(e,t){this._register(i.i(e,i.c.BLUR,t))}onfocus(e,t){this._register(i.i(e,i.c.FOCUS,t))}ignoreGesture(e){a.b.ignoreTarget(e)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));var i=n(18);class o{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}o.None=Object.freeze({report(){}});const r=Object(i.c)("editorProgressService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));var i=n(18);const o=Object(i.c)("contextViewService"),r=Object(i.c)("contextMenuService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return i}));var i,o=n(14),r=n(22),s=n(81),a=n(129),l=n(9),c=n(3);class d{static addCursorDown(e,t,n){let i=[],o=0;for(let a=0,l=t.length;a<l;a++){const l=t[a];i[o++]=new r.d(l.modelState,l.viewState),i[o++]=n?r.d.fromModelState(s.a.translateDown(e.cursorConfig,e.model,l.modelState)):r.d.fromViewState(s.a.translateDown(e.cursorConfig,e,l.viewState))}return i}static addCursorUp(e,t,n){let i=[],o=0;for(let a=0,l=t.length;a<l;a++){const l=t[a];i[o++]=new r.d(l.modelState,l.viewState),i[o++]=n?r.d.fromModelState(s.a.translateUp(e.cursorConfig,e.model,l.modelState)):r.d.fromViewState(s.a.translateUp(e.cursorConfig,e,l.viewState))}return i}static moveToBeginningOfLine(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=this._moveToLineStart(e,r,n)}return i}static _moveToLineStart(e,t,n){const i=t.viewState.position.column,o=i===t.modelState.position.column,r=t.viewState.position.lineNumber,s=e.getLineFirstNonWhitespaceColumn(r);return o||i===s?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)}static _moveToLineStartByView(e,t,n){return r.d.fromViewState(s.a.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,n))}static _moveToLineStartByModel(e,t,n){return r.d.fromModelState(s.a.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,n))}static moveToEndOfLine(e,t,n,i){let o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=this._moveToLineEnd(e,s,n,i)}return o}static _moveToLineEnd(e,t,n,i){const o=t.viewState.position,r=e.getLineMaxColumn(o.lineNumber),s=o.column===r,a=t.modelState.position,l=e.model.getLineMaxColumn(a.lineNumber),c=r-o.column==l-a.column;return s||c?this._moveToLineEndByModel(e,t,n,i):this._moveToLineEndByView(e,t,n,i)}static _moveToLineEndByView(e,t,n,i){return r.d.fromViewState(s.a.moveToEndOfLine(e.cursorConfig,e,t.viewState,n,i))}static _moveToLineEndByModel(e,t,n,i){return r.d.fromModelState(s.a.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,n,i))}static expandLineSelection(e,t){let n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],s=o.modelState.selection.startLineNumber,a=e.model.getLineCount();let d,h=o.modelState.selection.endLineNumber;h===a?d=e.model.getLineMaxColumn(a):(h++,d=1),n[i]=r.d.fromModelState(new r.f(new c.a(s,1,s,1),0,new l.a(h,d),0))}return n}static moveToBeginningOfBuffer(e,t,n){let i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o];i[o]=r.d.fromModelState(s.a.moveToBeginningOfBuffer(e.cursorConfig,e.model,a.modelState,n))}return i}static moveToEndOfBuffer(e,t,n){let i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o];i[o]=r.d.fromModelState(s.a.moveToEndOfBuffer(e.cursorConfig,e.model,a.modelState,n))}return i}static selectAll(e,t){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return r.d.fromModelState(new r.f(new c.a(1,1,1,1),0,new l.a(n,i),0))}static line(e,t,n,i,o){const s=e.model.validatePosition(i),a=o?e.coordinatesConverter.validateViewPosition(new l.a(o.lineNumber,o.column),s):e.coordinatesConverter.convertModelPositionToViewPosition(s);if(!n||!t.modelState.hasSelection()){const t=e.model.getLineCount();let n=s.lineNumber+1,i=1;return n>t&&(n=t,i=e.model.getLineMaxColumn(n)),r.d.fromModelState(new r.f(new c.a(s.lineNumber,1,n,i),0,new l.a(n,i),0))}const d=t.modelState.selectionStart.getStartPosition().lineNumber;if(s.lineNumber<d)return r.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),a.lineNumber,1,0));if(s.lineNumber>d){const n=e.getLineCount();let i=a.lineNumber+1,o=1;return i>n&&(i=n,o=e.getLineMaxColumn(i)),r.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,o,0))}{const e=t.modelState.selectionStart.getEndPosition();return r.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),e.lineNumber,e.column,0))}}static word(e,t,n,i){const o=e.model.validatePosition(i);return r.d.fromModelState(a.a.word(e.cursorConfig,e.model,t.modelState,n,o))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new r.d(t.modelState,t.viewState);const n=t.viewState.position.lineNumber,i=t.viewState.position.column;return r.d.fromViewState(new r.f(new c.a(n,i,n,i),0,new l.a(n,i),0))}static moveTo(e,t,n,i,o){const s=e.model.validatePosition(i),a=o?e.coordinatesConverter.validateViewPosition(new l.a(o.lineNumber,o.column),s):e.coordinatesConverter.convertModelPositionToViewPosition(s);return r.d.fromViewState(t.viewState.move(n,a.lineNumber,a.column,0))}static simpleMove(e,t,n,i,o,r){switch(n){case 0:return 4===r?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===r?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===r?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===r?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return this._moveToViewMinColumn(e,t,i);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 6:return this._moveToViewCenterColumn(e,t,i);case 7:return this._moveToViewMaxColumn(e,t,i);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,i);default:return null}}static viewportMove(e,t,n,i,o){const r=e.getCompletelyVisibleViewRange(),s=e.coordinatesConverter.convertViewRangeToModelRange(r);switch(n){case 9:{const n=this._firstLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 11:{const n=this._lastLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 10:{const n=Math.round((s.startLineNumber+s.endLineNumber)/2),o=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,o)]}case 12:{let n=[];for(let o=0,s=t.length;o<s;o++){const s=t[o];n[o]=this.findPositionInViewportIfOutside(e,s,r,i)}return n}default:return null}}static findPositionInViewportIfOutside(e,t,n,i){let o=t.viewState.position.lineNumber;if(n.startLineNumber<=o&&o<=n.endLineNumber-1)return new r.d(t.modelState,t.viewState);{o>n.endLineNumber-1&&(o=n.endLineNumber-1),o<n.startLineNumber&&(o=n.startLineNumber);const r=e.getLineFirstNonWhitespaceColumn(o);return this._moveToViewPosition(e,t,i,o,r)}}static _firstLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)}static _lastLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)}static _moveLeft(e,t,n,i){const o=t.length>1;let a=[];for(let l=0,c=t.length;l<c;l++){const c=t[l],d=o||!c.viewState.hasSelection();let h=s.a.moveLeft(e.cursorConfig,e,c.viewState,n,i);if(d&&1===i&&h.position.lineNumber!==c.viewState.position.lineNumber){e.coordinatesConverter.convertViewPositionToModelPosition(h.position).lineNumber===c.modelState.position.lineNumber&&(h=s.a.moveLeft(e.cursorConfig,e,h,n,1))}a[l]=r.d.fromViewState(h)}return a}static _moveHalfLineLeft(e,t,n){let i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],l=a.viewState.position.lineNumber,c=Math.round(e.getLineContent(l).length/2);i[o]=r.d.fromViewState(s.a.moveLeft(e.cursorConfig,e,a.viewState,n,c))}return i}static _moveRight(e,t,n,i){const o=t.length>1;let a=[];for(let l=0,c=t.length;l<c;l++){const c=t[l],d=o||!c.viewState.hasSelection();let h=s.a.moveRight(e.cursorConfig,e,c.viewState,n,i);if(d&&1===i&&h.position.lineNumber!==c.viewState.position.lineNumber){e.coordinatesConverter.convertViewPositionToModelPosition(h.position).lineNumber===c.modelState.position.lineNumber&&(h=s.a.moveRight(e.cursorConfig,e,h,n,1))}a[l]=r.d.fromViewState(h)}return a}static _moveHalfLineRight(e,t,n){let i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],l=a.viewState.position.lineNumber,c=Math.round(e.getLineContent(l).length/2);i[o]=r.d.fromViewState(s.a.moveRight(e.cursorConfig,e,a.viewState,n,c))}return i}static _moveDownByViewLines(e,t,n,i){let o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.d.fromViewState(s.a.moveDown(e.cursorConfig,e,l.viewState,n,i))}return o}static _moveDownByModelLines(e,t,n,i){let o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.d.fromModelState(s.a.moveDown(e.cursorConfig,e.model,l.modelState,n,i))}return o}static _moveUpByViewLines(e,t,n,i){let o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.d.fromViewState(s.a.moveUp(e.cursorConfig,e,l.viewState,n,i))}return o}static _moveUpByModelLines(e,t,n,i){let o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.d.fromModelState(s.a.moveUp(e.cursorConfig,e.model,l.modelState,n,i))}return o}static _moveToViewPosition(e,t,n,i,o){return r.d.fromViewState(t.viewState.move(n,i,o,0))}static _moveToModelPosition(e,t,n,i,o){return r.d.fromModelState(t.modelState.move(n,i,o,0))}static _moveToViewMinColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineMinColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewFirstNonWhitespaceColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineFirstNonWhitespaceColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewCenterColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=Math.round((e.getLineMaxColumn(s)+e.getLineMinColumn(s))/2);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewMaxColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineMaxColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewLastNonWhitespaceColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineLastNonWhitespaceColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}}!function(e){e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down'\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:function(e){if(!o.i(e))return!1;let t=e;return!!o.j(t.to)&&(!(!o.k(t.select)&&!o.f(t.select))&&(!(!o.k(t.by)&&!o.j(t.by))&&!(!o.k(t.value)&&!o.h(t.value))))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=function(t){if(!t.to)return null;let n;switch(t.to){case e.RawDirection.Left:n=0;break;case e.RawDirection.Right:n=1;break;case e.RawDirection.Up:n=2;break;case e.RawDirection.Down:n=3;break;case e.RawDirection.WrappedLineStart:n=4;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=5;break;case e.RawDirection.WrappedLineColumnCenter:n=6;break;case e.RawDirection.WrappedLineEnd:n=7;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=8;break;case e.RawDirection.ViewPortTop:n=9;break;case e.RawDirection.ViewPortBottom:n=11;break;case e.RawDirection.ViewPortCenter:n=10;break;case e.RawDirection.ViewPortIfOutside:n=12;break;default:return null}let i=0;switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Character:i=3;break;case e.RawUnit.HalfLine:i=4}return{direction:n,unit:i,select:!!t.select,value:t.value||1}}}(i||(i={}))},function(e,t){var n,i,o=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,c=[],d=!1,h=-1;function u(){d&&l&&(d=!1,l.length?c=l.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=a(u);d=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||a(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return f}));var i=n(34),o=n(6),r=n(2),s=n(11);class a{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class l{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";const t=document.createElement("div");t.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),t.style.fontWeight=this._bareFontInfo.fontWeight,t.style.fontSize=this._bareFontInfo.fontSize+"px",t.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,t.style.lineHeight=this._bareFontInfo.lineHeight+"px",t.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(t);const n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight="bold",n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(n);const i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight=this._bareFontInfo.fontWeight,i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",i.style.fontStyle="italic",e.appendChild(i);const o=[];for(const e of this._requests){let r;0===e.type&&(r=t),2===e.type&&(r=n),1===e.type&&(r=i),r.appendChild(document.createElement("br"));const s=document.createElement("span");l._render(s,e),r.appendChild(s),o.push(s)}this._container=e,this._testElements=o}static _render(e,t){if(" "===t.chr){let t=" ";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let n=t.chr;for(let e=0;e<8;e++)n+=n;e.textContent=n}}_readFromDomElements(){for(let e=0,t=this._requests.length;e<t;e++){const t=this._requests[e],n=this._testElements[e];t.fulfill(n.offsetWidth/256)}}}var c=n(190),d=n(161),h=n(26),u=n(160);class p{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){const t=e.getId();return!!this._values[t]}get(e){const t=e.getId();return this._values[t]}put(e,t){const n=e.getId();this._keys[n]=e,this._values[n]=t}remove(e){const t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}function m(){g.INSTANCE.clearCache()}class g extends r.a{constructor(){super(),this._onDidChange=this._register(new o.a),this.onDidChange=this._onDidChange.event,this._cache=new p,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new p,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const e=this._cache.getValues();let t=!1;for(let n=0,i=e.length;n<i;n++){const i=e[n];i.isTrusted||(t=!0,this._cache.remove(i))}t&&this._onDidChange.fire()}readConfiguration(e){if(!this._cache.has(e)){let t=g._actualReadConfiguration(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new u.b({zoomLevel:i.d(),fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}static createRequest(e,t,n,i){const o=new a(e,t);return n.push(o),i&&i.push(o),o}static _actualReadConfiguration(e){const t=[],n=[],o=this.createRequest("n",0,t,n),r=this.createRequest("m",0,t,null),s=this.createRequest(" ",0,t,n),a=this.createRequest("0",0,t,n),c=this.createRequest("1",0,t,n),d=this.createRequest("2",0,t,n),p=this.createRequest("3",0,t,n),m=this.createRequest("4",0,t,n),g=this.createRequest("5",0,t,n),f=this.createRequest("6",0,t,n),b=this.createRequest("7",0,t,n),_=this.createRequest("8",0,t,n),v=this.createRequest("9",0,t,n),w=this.createRequest("→",0,t,n),y=this.createRequest("→",0,t,null),C=this.createRequest("·",0,t,n),x=this.createRequest(String.fromCharCode(11825),0,t,null);this.createRequest("|",0,t,n),this.createRequest("/",0,t,n),this.createRequest("-",0,t,n),this.createRequest("_",0,t,n),this.createRequest("i",0,t,n),this.createRequest("l",0,t,n),this.createRequest("m",0,t,n),this.createRequest("|",1,t,n),this.createRequest("_",1,t,n),this.createRequest("i",1,t,n),this.createRequest("l",1,t,n),this.createRequest("m",1,t,n),this.createRequest("n",1,t,n),this.createRequest("|",2,t,n),this.createRequest("_",2,t,n),this.createRequest("i",2,t,n),this.createRequest("l",2,t,n),this.createRequest("m",2,t,n),this.createRequest("n",2,t,n),function(e,t){new l(e,t).read()}(e,t);const S=Math.max(a.width,c.width,d.width,p.width,m.width,g.width,f.width,b.width,_.width,v.width);let k=e.fontFeatureSettings===h.e.OFF;const E=n[0].width;for(let e=1,t=n.length;k&&e<t;e++){const t=E-n[e].width;if(t<-.001||t>.001){k=!1;break}}let T=!0;k&&y.width!==E&&(T=!1),y.width>w.width&&(T=!1);const L=i.b()>2e3;return new u.b({zoomLevel:i.d(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:k,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:T,spaceWidth:s.width,middotWidth:C.width,wsmiddotWidth:x.width,maxDigitWidth:S},L)}}g.INSTANCE=new g;class f extends d.a{constructor(e,t,n=null,o){super(e,t),this.accessibilityService=o,this._elementSizeObserver=this._register(new c.a(n,t.dimension,()=>this._onReferenceDomElementSizeChanged())),this._register(g.INSTANCE.onDidChange(()=>this._onCSSBasedConfigurationChanged())),this._validatedOptions.get(9)&&this._elementSizeObserver.startObserving(),this._register(i.n(e=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"}static applyFontInfo(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)}_onReferenceDomElementSizeChanged(){this._recomputeOptions()}_onCSSBasedConfigurationChanged(){this._recomputeOptions()}observeReferenceElement(e){this._elementSizeObserver.observe(e)}dispose(){super.dispose()}_getExtraEditorClassName(){let e="";return i.j||i.m||(e+="no-user-select "),s.f&&(e+="mac "),e}_getEnvConfiguration(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:i.l||i.h,pixelRatio:i.a(),zoomLevel:i.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(e){return g.INSTANCE.readConfiguration(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return _}));var i=n(8),o=n(3),r=n(25),s=n(2),a=n(4),l=n(10),c=n(53),d=n(18),h=n(115);const u=Object(d.c)("IEditorCancelService"),p=new l.c("cancellableOperation",!1);Object(h.b)(u,class{constructor(){this._tokens=new WeakMap}add(e,t){let n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext(e=>({key:p.bindTo(e.get(l.b)),tokens:new c.a})),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),()=>{n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}}cancel(e){const t=this._tokens.get(e);if(!t)return;const n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},!0);class m extends r.b{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(u).add(e,this))}dispose(){this._unregister(),super.dispose()}}Object(a.l)(new class extends a.c{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:p})}runEditorCommand(e,t){e.get(u).cancel(t)}});class g{constructor(e,t){if(this.flags=t,0!=(1&this.flags)){const t=e.getModel();this.modelVersionId=t?i.x("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){if(!(e instanceof g))return!1;const t=e;return this.modelVersionId===t.modelVersionId&&(this.scrollLeft===t.scrollLeft&&this.scrollTop===t.scrollTop&&(!(!this.position&&t.position||this.position&&!t.position||this.position&&t.position&&!this.position.equals(t.position))&&!(!this.selection&&t.selection||this.selection&&!t.selection||this.selection&&t.selection&&!this.selection.equalsRange(t.selection))))}validate(e){return this._equals(new g(e,this.flags))}}class f extends m{constructor(e,t,n,i){super(e,i),this.editor=e,this._listener=new s.b,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{n&&o.a.containsPosition(n,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{n&&o.a.containsRange(n,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class b extends r.b{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}class _{constructor(e,t,n){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=n}static capture(e){let t=null,n=0;if(0!==e.getScrollTop()){const i=e.getVisibleRanges();if(i.length>0){t=i[0].getStartPosition();const o=e.getTopForPosition(t.lineNumber,t.column);n=e.getScrollTop()-o}}return new _(t,n,e.getPosition())}restore(e){if(this._visiblePosition){const t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){const t=e.getPosition();if(!this._cursorPosition||!t)return;const n=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+n)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return h}));var i=n(8);function o(e){return r(e,0)}function r(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,i=s(104579,i=t),n.reduce((e,t)=>r(t,e),i)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),r(e[n],t)),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,i}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,i=e.length;n<i;n++)t=s(e.charCodeAt(n),t);return t}function l(e,t,n=32){const i=n-t;return(e<<t|(~((1<<i)-1)&e)>>>i)>>>0}function c(e,t=0,n=e.byteLength,i=0){for(let o=0;o<n;o++)e[t+o]=i}function d(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let o,r,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(o=a,r=-1,a=0):(o=e.charCodeAt(0),r=0);;){let l=o;if(i.F(o)){if(!(r+1<t)){a=o;break}{const t=e.charCodeAt(r+1);i.G(t)?(r++,l=i.j(o,t)):l=65533}}else i.G(o)&&(l=65533);if(s=this._push(n,s,l),r++,!(r<t))break;o=e.charCodeAt(r)}this._buffLen=s,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,i,o,r=this._h0,s=this._h1,a=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,i=1518500249):t<40?(n=s^a^c,i=1859775393):t<60?(n=s&a|s&c|a&c,i=2400959708):(n=s^a^c,i=3395469782),o=l(r,5)+n+d+i+e.getUint32(4*t,!1)&4294967295,d=c,c=a,a=l(s,30),s=r,r=o;this._h0=this._h0+r&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c}));var i=n(77),o=n(12);const r=new class{clone(){return this}equals(e){return this===e}},s="vs.editor.nullMode",a=new o.r(s,0);function l(e,t,n,o){return new i.b([new i.a(o,"",e)],n)}function c(e,t,n,o){let s=new Uint32Array(2);return s[0]=o,s[1]=(16384|e<<0|2<<23)>>>0,new i.c(s,null===n?r:n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return p}));var i=n(8),o=n(132),r=n(155);class s{constructor(e,t,n){this.endIndex=e,this.type=t,this.metadata=n}isWhitespace(){return!!(1&this.metadata)}}class a{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class l{constructor(e,t,n,i,o,r,s,a,l,c,d,h,u,p,m,g,f,b,_){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=r,this.fauxIndentLength=s,this.lineTokens=a,this.lineDecorations=l,this.tabSize=c,this.startVisibleColumn=d,this.spaceWidth=h,this.stopRenderingLineAfter=m,this.renderWhitespace="all"===g?4:"boundary"===g?1:"selection"===g?2:"trailing"===g?3:0,this.renderControlCharacters=f,this.fontLigatures=b,this.selectionsOnLine=_&&_.sort((e,t)=>e.startOffset<t.startOffset?-1:1);Math.abs(p-h)<Math.abs(u-h)?(this.renderSpaceWidth=p,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=u,this.renderSpaceCharCode=183)}sameSelection(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(let t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0}equals(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.renderSpaceWidth===e.renderSpaceWidth&&this.renderSpaceCharCode===e.renderSpaceCharCode&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&r.a.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class c{constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(e){return(4294901760&e)>>>16}static getCharIndex(e){return(65535&e)>>>0}setPartData(e,t,n,i){let o=(t<<16|n<<0)>>>0;this._data[e]=o,this._absoluteOffsets[e]=i+n}getAbsoluteOffsets(){return this._absoluteOffsets}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}partDataToCharOffset(e,t,n){if(0===this.length)return 0;let i=(e<<16|n<<0)>>>0,o=0,r=this.length-1;for(;o+1<r;){let e=o+r>>>1,t=this._data[e];if(t===i)return e;t>i?r=e:o=e}if(o===r)return o;let s=this._data[o],a=this._data[r];if(s===i)return o;if(a===i)return r;let l,d=c.getPartIndex(s),h=c.getCharIndex(s);return l=d!==c.getPartIndex(a)?t:c.getCharIndex(a),n-h<=l-n?o:r}}class d{constructor(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}}function h(e,t){if(0===e.lineContent.length){let n=0,i="<span><span></span></span>";if(e.lineDecorations.length>0){const t=[],o=[];for(let i=0,r=e.lineDecorations.length;i<r;i++){const r=e.lineDecorations[i];1===r.type&&(t.push(e.lineDecorations[i].className),n|=1),2===r.type&&(o.push(e.lineDecorations[i].className),n|=2)}if(0!==n){i=`<span>${t.length>0?`<span class="${t.join(" ")}"></span>`:""}${o.length>0?`<span class="${o.join(" ")}"></span>`:""}</span>`}}return t.appendASCIIString(i),new d(new c(0,0),!1,n)}return function(e,t){const n=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,s=e.lineContent,a=e.len,l=e.isOverflowing,h=e.parts,u=e.fauxIndentLength,p=e.tabSize,m=e.startVisibleColumn,g=e.containsRTL,f=e.spaceWidth,b=e.renderSpaceCharCode,_=e.renderWhitespace,v=e.renderControlCharacters,w=new c(a+1,h.length);let y=0,C=m,x=0,S=0,k=0,E=0;g?t.appendASCIIString('<span dir="ltr">'):t.appendASCIIString("<span>");for(let e=0,a=h.length;e<a;e++){E+=k;const a=h[e],l=a.endIndex,c=a.type,d=0!==_&&a.isWhitespace(),m=d&&!n&&("mtkw"===c||!r),g=y===l&&4===a.metadata;if(x=0,t.appendASCIIString('<span class="'),t.appendASCIIString(m?"mtkz":c),t.appendASCII(34),d){let n=0;{let e=y,t=C;for(;e<l;e++){const i=0|(9===s.charCodeAt(e)?p-t%p:1);n+=i,e>=u&&(t+=i)}}for(m&&(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(f*n)),t.appendASCIIString('px"')),t.appendASCII(62);y<l;y++){w.setPartData(y,e-S,x,E),S=0;let n;if(9===s.charCodeAt(y)){n=p-C%p|0,!o||n>1?t.write1(8594):t.write1(65515);for(let e=2;e<=n;e++)t.write1(160)}else n=1,t.write1(b);x+=n,y>=u&&(C+=n)}k=n}else{let n=0;for(t.appendASCII(62);y<l;y++){w.setPartData(y,e-S,x,E),S=0;const o=s.charCodeAt(y);let r=1,a=1;switch(o){case 9:r=p-C%p,a=r;for(let e=1;e<=r;e++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("<");break;case 62:t.appendASCIIString(">");break;case 38:t.appendASCIIString("&");break;case 0:t.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:t.write1(65533);break;default:i.E(o)&&a++,v&&o<32?t.write1(9216+o):t.write1(o)}x+=r,n+=r,y>=u&&(C+=a)}k=n}g?S++:S=0,t.appendASCIIString("</span>")}w.setPartData(a,h.length-1,x,E),l&&t.appendASCIIString("<span>…</span>");return t.appendASCIIString("</span>"),new d(w,g,r)}(function(e){const t=e.lineContent;let n,o;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<t.length?(n=!0,o=e.stopRenderingLineAfter):(n=!1,o=t.length);let a=function(e,t,n){let i=[],o=0;t>0&&(i[o++]=new s(t,"",0));for(let r=0,a=e.getCount();r<a;r++){const a=e.getEndOffset(r);if(a<=t)continue;const l=e.getClassName(r);if(a>=n){i[o++]=new s(n,l,0);break}i[o++]=new s(a,l,0)}return i}(e.lineTokens,e.fauxIndentLength,o);(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace)&&(a=function(e,t,n,o){const r=e.continuesWithWrappedLine,a=e.fauxIndentLength,l=e.tabSize,c=e.startVisibleColumn,d=e.useMonospaceOptimizations,h=e.selectionsOnLine,u=1===e.renderWhitespace,p=3===e.renderWhitespace,m=e.renderSpaceWidth!==e.spaceWidth;let g=[],f=0,b=0,_=o[b].type,v=o[b].endIndex;const w=o.length;let y,C=!1,x=i.w(t);-1===x?(C=!0,x=n,y=n):y=i.J(t);let S=!1,k=0,E=h&&h[k],T=c%l;for(let e=a;e<n;e++){const r=t.charCodeAt(e);let c;if(E&&e>=E.endOffset&&(k++,E=h&&h[k]),e<x||e>y)c=!0;else if(9===r)c=!0;else if(32===r)if(u)if(S)c=!0;else{const i=e+1<n?t.charCodeAt(e+1):0;c=32===i||9===i}else c=!0;else c=!1;if(c&&h&&(c=!!E&&E.startOffset<=e&&E.endOffset>e),c&&p&&(c=C||e>y),S){if(!c||!d&&T>=l){if(m){for(let t=(f>0?g[f-1].endIndex:a)+1;t<=e;t++)g[f++]=new s(t,"mtkw",1)}else g[f++]=new s(e,"mtkw",1);T%=l}}else(e===v||c&&e>a)&&(g[f++]=new s(e,_,0),T%=l);for(9===r?T=l:i.E(r)?T+=2:T++,S=c;e===v;)b++,b<w&&(_=o[b].type,v=o[b].endIndex)}let L=!1;if(S)if(r&&u){let e=n>0?t.charCodeAt(n-1):0,i=n>1?t.charCodeAt(n-2):0;32===e&&32!==i&&9!==i||(L=!0)}else L=!0;if(L)if(m){for(let e=(f>0?g[f-1].endIndex:a)+1;e<=n;e++)g[f++]=new s(e,"mtkw",1)}else g[f++]=new s(n,"mtkw",1);else g[f++]=new s(n,_,0);return g}(e,t,o,a));let l=0;if(e.lineDecorations.length>0){for(let t=0,n=e.lineDecorations.length;t<n;t++){const n=e.lineDecorations[t];3===n.type||1===n.type?l|=1:2===n.type&&(l|=2)}a=function(e,t,n,i){i.sort(r.a.compare);const o=r.b.normalize(e,i),a=o.length;let l=0,c=[],d=0,h=0;for(let e=0,t=n.length;e<t;e++){const t=n[e],i=t.endIndex,r=t.type,u=t.metadata;for(;l<a&&o[l].startOffset<i;){const e=o[l];if(e.startOffset>h&&(h=e.startOffset,c[d++]=new s(h,r,u)),!(e.endOffset+1<=i)){h=i,c[d++]=new s(h,r+" "+e.className,u|e.metadata);break}h=e.endOffset+1,c[d++]=new s(h,r+" "+e.className,u|e.metadata),l++}i>h&&(h=i,c[d++]=new s(h,r,u))}const u=n[n.length-1].endIndex;if(l<a&&o[l].startOffset===u){let e=[],t=0;for(;l<a&&o[l].startOffset===u;)e.push(o[l].className),t|=o[l].metadata,l++;c[d++]=new s(h,e.join(" "),t)}return c}(t,0,a,e.lineDecorations)}e.containsRTL||(a=function(e,t,n){let i=0,o=[],r=0;if(n)for(let n=0,a=t.length;n<a;n++){const a=t[n],l=a.endIndex;if(i+50<l){const t=a.type,n=a.metadata;let c=-1,d=i;for(let a=i;a<l;a++)32===e.charCodeAt(a)&&(c=a),-1!==c&&a-d>=50&&(o[r++]=new s(c+1,t,n),d=c+1,c=-1);d!==l&&(o[r++]=new s(l,t,n))}else o[r++]=a;i=l}else for(let e=0,n=t.length;e<n;e++){const n=t[e],a=n.endIndex;let l=a-i;if(l>50){const e=n.type,t=n.metadata,c=Math.ceil(l/50);for(let n=1;n<c;n++){let a=i+50*n;o[r++]=new s(a,e,t)}o[r++]=new s(a,e,t)}else o[r++]=n;i=a}return o}(t,a,!e.isBasicASCII||e.fontLigatures));return new m(e.useMonospaceOptimizations,e.canUseHalfwidthRightwardsArrow,t,o,n,a,l,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.renderSpaceCharCode,e.renderWhitespace,e.renderControlCharacters)}(e),t)}class u{constructor(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i}}function p(e){let t=Object(o.a)(1e4),n=h(e,t);return new u(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}class m{constructor(e,t,n,i,o,r,s,a,l,c,d,h,u,p,m){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=o,this.parts=r,this.containsForeignElements=s,this.fauxIndentLength=a,this.tabSize=l,this.startVisibleColumn=c,this.containsRTL=d,this.spaceWidth=h,this.renderSpaceCharCode=u,this.renderWhitespace=p,this.renderControlCharacters=m}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(43),o=n(11),r=n(27),s=n(56);class a{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.a){if(e&&e.win)return e.win}else if(2===o.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=a.bindToCurrentPlatform(e);if(t&&t.primary){const n=Object(i.f)(t.primary,o.a);n&&this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let n=0,r=t.secondary.length;n<r;n++){const r=t.secondary[n],s=Object(i.f)(r,o.a);s&&this._registerDefaultKeybinding(s,e.id,e.args,e.weight,-n-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),r.a.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&a._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)}_registerDefaultKeybinding(e,t,n,i,r,s){1===o.a&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:s,weight1:i,weight2:r,extensionId:null}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(c)),this._cachedMergedKeybindings.slice(0)}}const l=new a;function c(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}s.a.add("platform.keybindingsRegistry",l)},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return d}));var i=n(5);function o(e,t){const n=Object.create(null);for(let o in t){const r=t[o];r&&(n[o]=Object(i.hc)(r,e))}return n}function r(e,t,n){function i(i){const r=o(e.getColorTheme(),t);"function"==typeof n?n(r):n.style(r)}return i(e.getColorTheme()),e.onDidColorThemeChange(i)}function s(e,t,n){return r(t,{badgeBackground:n&&n.badgeBackground||i.c,badgeForeground:n&&n.badgeForeground||i.d,badgeBorder:i.h},e)}function a(e,t,n){return r(t,Object.assign(Object.assign({},l),n||{}),e)}const l={listFocusBackground:i.xb,listFocusForeground:i.yb,listActiveSelectionBackground:Object(i.i)(i.rb,.1),listActiveSelectionForeground:i.sb,listFocusAndSelectionBackground:i.rb,listFocusAndSelectionForeground:i.sb,listInactiveSelectionBackground:i.Db,listInactiveSelectionForeground:i.Eb,listInactiveFocusBackground:i.Cb,listHoverBackground:i.Ab,listHoverForeground:i.Bb,listDropBackground:i.tb,listFocusOutline:i.b,listSelectionOutline:i.b,listHoverOutline:i.b,listFilterWidgetBackground:i.ub,listFilterWidgetOutline:i.wb,listFilterWidgetNoMatchesOutline:i.vb,listMatchesShadow:i.uc,treeIndentGuidesStroke:i.tc},c={shadowColor:i.uc,borderColor:i.Gb,foregroundColor:i.Hb,backgroundColor:i.Fb,selectionForegroundColor:i.Kb,selectionBackgroundColor:i.Ib,selectionBorderColor:i.Jb,separatorColor:i.Lb};function d(e,t,n){return r(t,Object.assign(Object.assign({},c),n),e)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var i=n(13),o=n(2),r=n(11),s=n(14);let a=!1;function l(e){r.h&&(a||(a=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((i,o)=>{this._pendingReplies[n]={resolve:i,reject:o},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(i.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(i.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class d extends o.a{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{i&&i(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let o=null;void 0!==self.require&&"function"==typeof self.require.getConfig?o=self.require.getConfig():void 0!==self.requirejs&&(o=self.requirejs.s.contexts._.config);const r=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,r]);const a=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{i=n,this._onModuleLoaded.then(t=>{e(s.c(t,a))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,i)},i)})}_onError(e,t){console.error(e),console.info(t)}}class h{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,i){this._protocol.setWorkerId(e);const o=s.c(i,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(o),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("editorWorkerService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c}));var i=n(18),o=n(6),r=n(2),s=n(14);const a=Object(i.c)("storageService");var l;!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(l||(l={}));class c extends r.a{constructor(){super(...arguments),this._onDidChangeStorage=this._register(new o.a),this._onWillSaveState=this._register(new o.a),this.onWillSaveState=this._onWillSaveState.event,this.globalCache=new Map,this.workspaceCache=new Map}getCache(e){return 0===e?this.globalCache:this.workspaceCache}get(e,t,n){const i=this.getCache(t).get(e);return Object(s.l)(i)?n:i}getBoolean(e,t,n){const i=this.getCache(t).get(e);return Object(s.l)(i)?n:"true"===i}getNumber(e,t,n){const i=this.getCache(t).get(e);return Object(s.l)(i)?n:parseInt(i,10)}store(e,t,n){if(Object(s.l)(t))return this.remove(e,n);const i=String(t);return this.getCache(n).get(e)===i||(this.getCache(n).set(e,i),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()}remove(e,t){return this.getCache(t).delete(e)?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));let i=0;function o(e,t,n){return function(){const e="$memoize"+i++;let t=void 0;const n=function(n,i,o){let r=null,s=null;if("function"==typeof o.value?(r="value",s=o.value,0!==s.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof o.get&&(r="get",s=o.get),!s)throw new Error("not supported");const a=`${e}:${i}`;o[r]=function(...e){return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:s.apply(this,e)}),this[a]}};return n.clear=()=>{void 0!==t&&Object.getOwnPropertyNames(t).forEach(n=>{0===n.indexOf(e)&&delete t[n]})},n}()(e,t,n)}},function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};const n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=n,e.intersects=function(e,i){return!n(t(e,i))},e.relativeComplement=function(e,t){const i=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return n(o)||i.push(o),n(r)||i.push(r),i}}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(25),o=n(6),r=n(43),s=n(23),a=n(9),l=n(3),c=n(21),d=n(77),h=n(40);class u{static chord(e,t){return Object(r.a)(e,t)}}function p(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.b,Emitter:o.a,KeyCode:h.o,KeyMod:u,Position:a.a,Range:l.a,Selection:c.a,SelectionDirection:h.z,MarkerSeverity:h.p,MarkerTag:h.q,Uri:s.a,Token:d.a}}u.CtrlCmd=2048,u.Shift=1024,u.Alt=512,u.WinCtrl=256},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));var i=n(36);class o{constructor(e,t){this.index=e,this.remainder=t}}class r{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(i.a)(e);const n=this.values,o=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(n.length+r),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+r),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(o.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(i.a)(e),t=Object(i.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(i.a)(e),t=Object(i.a)(t);const n=this.values,o=this.prefixSum;if(e>=n.length)return!1;let r=n.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(o.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(i.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,i=0,r=0,s=0;for(;t<=n;)if(i=t+(n-t)/2|0,r=this.prefixSum[i],s=r-this.values[i],e<s)n=i-1;else{if(!(e>=r))break;t=i+1}return new o(i,e-s)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return d}));var i=n(18),o=n(2),r=n(6);const s=Object(i.c)("logService");var a;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(a||(a={}));const l=a.Info;class c extends o.a{constructor(){super(...arguments),this.level=l,this._onDidChangeLogLevel=this._register(new r.a)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class d extends c{constructor(e=l){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=a.Trace&&console.log("%cTRACE","color: #888",e,...t)}info(e,...t){this.getLevel()<=a.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=a.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n(1),o=n(11),r=n(177),s=n(69),a=n(2),l=n(138);function c(e,t){let n=new s.a(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}class d{constructor(){this._hooks=new a.b,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const t=this._onStopCallback;this._onStopCallback=null,e&&t&&t()}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(e,t,n,a,c){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=a,this._onStopCallback=c;const d=r.a.getSameOriginWindowChain(),h=o.c&&l.a.pointerEvents?"pointermove":"mousemove",u=o.c&&l.a.pointerEvents?"pointerup":"mouseup",p=d.map(e=>e.window.document),m=i.E(e);m&&p.unshift(m);for(const e of p)this._hooks.add(i.l(e,h,e=>{e.buttons===t?this._mouseMoveCallback(e):this.stopMonitoring(!0)},(e,t)=>this._mouseMoveEventMerger(e,t))),this._hooks.add(i.i(e,u,e=>this.stopMonitoring(!0)));if(r.a.hasDifferentOriginAncestor()){let e=d[d.length-1];this._hooks.add(i.i(e.window.document,"mouseout",e=>{"html"===new s.a(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(i.i(e.window.document,"mouseover",e=>{"html"===new s.a(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(i.i(e.window.document.body,"mouseleave",e=>{this.stopMonitoring(!0)}))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var i=n(15);class o{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var r=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function a(e,t,n){return new h(new s(e),new s(t)).ComputeDiff(n).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}static Copy2(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}}class d{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new o(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[i,o,r]=h._getElements(e),[s,a,l]=h._getElements(t);this._hasStrings=r&&l,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)e[n]=Object(r.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,i,o){const r=[!1];let s=this.ComputeDiffRecursive(e,t,n,i,r);return o&&(s=this.PrettifyChanges(s)),{quitEarly:r[0],changes:s}}ComputeDiffRecursive(e,t,n,i,r){for(r[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let r;return n<=i?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new o(e,0,n,i-n+1)]):e<=t?(l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new o(e,t-e+1,n,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}const s=[0],a=[0],c=this.ComputeRecursionPoint(e,t,n,i,s,a,r),d=s[0],h=a[0];if(null!==c)return c;if(!r[0]){const s=this.ComputeDiffRecursive(e,d,n,h,r);let a=[];return a=r[0]?[new o(d+1,t-(d+1)+1,h+1,i-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,i,r),this.ConcatenateChanges(s,a)}return[new o(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,r,s,a,l,c,h,u,p,m,g,f,b,_,v){let w=null,y=null,C=new d,x=t,S=n,k=m[0]-b[0]-i,E=-1073741824,T=this.m_forwardHistory.length-1;do{const t=k+e;t===x||t<S&&c[t-1]<c[t+1]?(g=(u=c[t+1])-k-i,u<E&&C.MarkNextChange(),E=u,C.AddModifiedElement(u+1,g),k=t+1-e):(g=(u=c[t-1]+1)-k-i,u<E&&C.MarkNextChange(),E=u-1,C.AddOriginalElement(u,g+1),k=t-1-e),T>=0&&(e=(c=this.m_forwardHistory[T])[0],x=1,S=c.length-1)}while(--T>=-1);if(w=C.getReverseChanges(),v[0]){let e=m[0]+1,t=b[0]+1;if(null!==w&&w.length>0){const n=w[w.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new o(e,p-e+1,t,f-t+1)]}else{C=new d,x=s,S=a,k=m[0]-b[0]-l,E=1073741824,T=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=k+r;e===x||e<S&&h[e-1]>=h[e+1]?(g=(u=h[e+1]-1)-k-l,u>E&&C.MarkNextChange(),E=u+1,C.AddOriginalElement(u+1,g+1),k=e+1-r):(g=(u=h[e-1])-k-l,u>E&&C.MarkNextChange(),E=u,C.AddModifiedElement(u+1,g+1),k=e-1-r),T>=0&&(r=(h=this.m_reverseHistory[T])[0],x=1,S=h.length-1)}while(--T>=-1);y=C.getChanges()}return this.ConcatenateChanges(w,y)}ComputeRecursionPoint(e,t,n,i,r,s,a){let l=0,d=0,h=0,u=0,p=0,m=0;e--,n--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(i-n),f=g+1,b=new Int32Array(f),_=new Int32Array(f),v=i-n,w=t-e,y=e-n,C=t-i,x=(w-v)%2==0;b[v]=e,_[w]=t,a[0]=!1;for(let S=1;S<=g/2+1;S++){let g=0,k=0;h=this.ClipDiagonalBound(v-S,S,v,f),u=this.ClipDiagonalBound(v+S,S,v,f);for(let e=h;e<=u;e+=2){l=e===h||e<u&&b[e-1]<b[e+1]?b[e+1]:b[e-1]+1,d=l-(e-v)-y;const n=l;for(;l<t&&d<i&&this.ElementsAreEqual(l+1,d+1);)l++,d++;if(b[e]=l,l+d>g+k&&(g=l,k=d),!x&&Math.abs(e-w)<=S-1&&l>=_[e])return r[0]=l,s[0]=d,n<=_[e]&&S<=1448?this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,r,d,i,s,x,a):null}const E=(g-e+(k-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,E))return a[0]=!0,r[0]=g,s[0]=k,E>0&&S<=1448?this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,r,d,i,s,x,a):(e++,n++,[new o(e,t-e+1,n,i-n+1)]);p=this.ClipDiagonalBound(w-S,S,w,f),m=this.ClipDiagonalBound(w+S,S,w,f);for(let o=p;o<=m;o+=2){l=o===p||o<m&&_[o-1]>=_[o+1]?_[o+1]-1:_[o-1],d=l-(o-w)-C;const c=l;for(;l>e&&d>n&&this.ElementsAreEqual(l,d);)l--,d--;if(_[o]=l,x&&Math.abs(o-v)<=S&&l<=b[o])return r[0]=l,s[0]=d,c>=b[o]&&S<=1448?this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,r,d,i,s,x,a):null}if(S<=1447){let e=new Int32Array(u-h+2);e[0]=v-h+1,c.Copy2(b,h,e,1,u-h+1),this.m_forwardHistory.push(e),e=new Int32Array(m-p+2),e[0]=w-p+1,c.Copy2(_,p,e,1,m-p+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,r,d,i,s,x,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,r=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<o&&(!r||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,o=0;if(t>0){const n=e[t-1];n.originalLength>0&&(i=n.originalStart+n.originalLength),n.modifiedLength>0&&(o=n.modifiedStart+n.modifiedLength)}const r=n.originalLength>0,s=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<i||c<o)break;if(r&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const d=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);d>l&&(l=d,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return c.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],c.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let r=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new o(i,r,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const o=t%2==0;if(e<0){return o===(n%2==0)?0:1}return o===((i-n-1)%2==0)?i-1:i-2}}var u=n(11),p=n(23),m=n(9),g=n(3),f=n(8);function b(e,t,n,i){return new h(e,t,n).ComputeDiff(i)}class _{constructor(e){const t=[],n=[];for(let i=0,o=e.length;i<o;i++)t[i]=x(e[i],1),n[i]=S(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const i=[],o=[],r=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,l=e?this._endColumns[a]:t.length+1;for(let e=n;e<l;e++)i[s]=t.charCodeAt(e-1),o[s]=a+1,r[s]=e,s++}return new v(i,o,r)}}class v{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class w{constructor(e,t,n,i,o,r,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=o,this.modifiedStartColumn=r,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let i,o,r,s,a,l,c,d;return 0===e.originalLength?(i=0,o=0,r=0,s=0):(i=t.getStartLineNumber(e.originalStart),o=t.getStartColumn(e.originalStart),r=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,l=0,c=0,d=0):(a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new w(i,o,r,s,a,l,c,d)}}class y{constructor(e,t,n,i,o){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=o}static createFromDiffResult(e,t,n,i,o,r,s){let a,l,c,d,h=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=i.getStartLineNumber(t.modifiedStart)-1,d=0):(c=i.getStartLineNumber(t.modifiedStart),d=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),r&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&o()){const r=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=b(r,a,o,!0).changes;s&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,o=e.length;i<o;i++){const o=e[i],r=o.originalStart-(n.originalStart+n.originalLength),s=o.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(r,s)<3?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}(l)),h=[];for(let e=0,t=l.length;e<t;e++)h.push(w.createFromDiffChange(l[e],r,a))}return new y(a,l,c,d,h)}}class C{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new _(e),this.modified=new _(t),this.continueLineDiff=k(n.maxComputationTime),this.continueCharDiff=k(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=b(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const i=[];let o=0,r=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,a=s?s.originalStart:this.originalLines.length,l=s?s.modifiedStart:this.modifiedLines.length;for(;o<a&&r<l;){const e=this.originalLines[o],t=this.modifiedLines[r];if(e!==t){{let n=x(e,1),s=x(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(i,o+1,1,n,r+1,1,s)}{let n=S(e,1),s=S(t,1);const a=e.length+1,l=t.length+1;for(;n<a&&s<l;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<l)&&this._pushTrimWhitespaceCharChange(i,o+1,n,a,r+1,s,l)}}o++,r++}s&&(i.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),o+=s.originalLength,r+=s.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,o,r,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,o,r,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new w(t,n,t,i,o,r,o,s)]),e.push(new y(t,t,o,o,a))}_mergeTrimWhitespaceCharChange(e,t,n,i,o,r,s){const a=e.length;if(0===a)return!1;const l=e[a-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===o&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new w(t,n,t,i,o,r,o,s)),!0))}}function x(e,t){const n=f.w(e);return-1===n?t:n+1}function S(e,t){const n=f.J(e);return-1===n?t:n+2}function k(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var E=n(101);var T=n(73),L=n(76);class N{constructor(e,t,n){const i=new Uint8Array(e*t);for(let o=0,r=e*t;o<r;o++)i[o]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class I{constructor(e){let t=0,n=0;for(let i=0,o=e.length;i<o;i++){let[o,r,s]=e[i];r>t&&(t=r),o>n&&(n=o),s>n&&(n=s)}t++,n++;let i=new N(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,o,r]=e[t];i.set(n,o,r)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let O=null;let D=null;class A{static _createLink(e,t,n,i,o){let r=o-1;do{const n=t.charCodeAt(r);if(2!==e.get(n))break;r--}while(r>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(r);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}}static computeLinks(e,t=function(){return null===O&&(O=new I([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),O}()){const n=function(){if(null===D){D=new L.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)D.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)D.set(t.charCodeAt(e),2)}return D}();let i=[];for(let o=1,r=e.getLineCount();o<=r;o++){const r=e.getLineContent(o),s=r.length;let a=0,l=0,c=0,d=1,h=!1,u=!1,p=!1,m=!1;for(;a<s;){let e=!1;const s=r.charCodeAt(a);if(13===d){let t;switch(s){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:p=!0,u=!0,t=0;break;case 93:p=!1,t=u?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=p?0:1;break;default:t=n.get(s)}1===t&&(i.push(A._createLink(n,r,o,l,a)),e=!0)}else if(12===d){let t;91===s?(u=!0,t=0):t=n.get(s),1===t?e=!0:d=13}else d=t.nextState(d,s),0===d&&(e=!0);e&&(d=1,h=!1,u=!1,m=!1,l=a+1,c=s),a++}13===d&&i.push(A._createLink(n,r,o,l,s))}return i}}class R{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,i,o){if(e&&t){let n=this.doNavigateValueSet(t,o);if(n)return{range:e,value:n}}if(n&&i){let e=this.doNavigateValueSet(i,o);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),o=parseFloat(e);return isNaN(i)||isNaN(o)||i!==o?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let o=0,r=e.length;null===i&&o<r;o++)i=this.valueSetReplace(e[o],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}R.INSTANCE=new R;var M=n(100),P=n(14),F=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class W extends class{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new E.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let i=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),i[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(T.d)(e.column,Object(T.c)(t),this._lines[e.lineNumber-1],0);return n?new g.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,o="",r=0,s=[];return{*[Symbol.iterator](){for(;;)if(r<s.length){const e=o.substring(s[r].start,s[r].end);r+=1,yield e}else{if(!(i<t.length))break;o=t[i],s=n(o,e),r=0,i+=1}}}}getLineWords(e,t){let n=this._lines[e-1],i=this._wordenize(n,t),o=[];for(const e of i)o.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return o}_wordenize(e,t){const n=[];let i;for(t.lastIndex=0;(i=t.exec(e))&&0!==i[0].length;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,o=[];o.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<i;e++)o.push(this._lines[e]);return o.push(this._lines[i].substring(0,e.endColumn-1)),o.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class z{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new W(p.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,i){return F(this,void 0,void 0,(function*(){const o=this._getModel(e),r=this._getModel(t);if(!o||!r)return null;const s=o.getLinesContent(),a=r.getLinesContent(),l=new C(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(o,r);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0}computeMoreMinimalEdits(e,t){return F(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const o=[];let r=void 0;t=Object(i.p)(t,(e,t)=>{if(e.range&&t.range)return g.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:i,eol:s}of t){if("number"==typeof s&&(r=s),g.a.isEmpty(e)&&!i)continue;const t=n.getValueInRange(e);if(i=i.replace(/\r\n|\n|\r/g,n.eol),t===i)continue;if(Math.max(i.length,t.length)>z._diffLimit){o.push({range:e,text:i});continue}const l=a(t,i,!1),c=n.offsetAt(g.a.lift(e).getStartPosition());for(const e of l){const t=n.positionAt(c+e.originalStart),r=n.positionAt(c+e.originalStart+e.originalLength),s={text:i.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:r.lineNumber,endColumn:r.column}};n.getValueInRange(s.range)!==s.text&&o.push(s)}}return"number"==typeof r&&o.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}))}computeLinks(e){return F(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?A.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,i){return F(this,void 0,void 0,(function*(){const o=this._getModel(e);if(!o)return null;const r=[],s=new Set,a=new RegExp(n,i),l=o.getWordAtPosition(t,a);l&&s.add(o.getValueInRange(l));for(let e of o.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(r.push(e),s.size>z._suggestionsLimit)))break;return r}))}computeWordRanges(e,t,n,i){return F(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return Object.create(null);const r=new RegExp(n,i),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=o.getLineWords(e,r);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,i,o){return F(this,void 0,void 0,(function*(){let r=this._getModel(e);if(!r)return null;let s=new RegExp(i,o);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=r.getValueInRange(t),l=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!l)return null;let c=r.getValueInRange(l);return R.INSTANCE.navigateValueSet(t,a,l,c,n)}))}loadForeignModule(e,t,n){let i={host:P.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(P.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}z._diffLimit=1e5,z._suggestionsLimit=1e4,"function"==typeof importScripts&&(u.b.monaco=Object(M.a)())},function(e,t,n){"use strict";n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return N})),n.d(t,"a",(function(){return I}));n(220);var i=n(1),o=n(35),r=n(69),s=n(103),a=n(82),l=n(20);class c extends a.a{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,Object(i.f)(this.domNode,e.icon.classNames),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new s.a),this.onmousedown(this.bgDomNode,e=>this._arrowMouseDown(e)),this.onmousedown(this.domNode,e=>this._arrowMouseDown(e)),this._mousedownRepeatTimer=this._register(new l.c),this._mousedownScheduleRepeatTimer=this._register(new l.e)}_arrowMouseDown(e){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s.b,e=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()}}var d=n(2);class h extends d.a{constructor(e,t,n){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=n,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new l.e)}applyVisibilitySetting(e){return 2!==this._visibility&&(3===this._visibility||e)}setShouldBeVisible(e){let t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}var u=n(11);class p extends a.a{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new h(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new s.a),this._shouldRender=!0,this.domNode=Object(o.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,e=>this._domNodeMouseDown(e))}_createArrow(e){let t=this._register(new c(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,n,i){this.slider=Object(o.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){let t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{})):this._onMouseDown(e)}_onMouseDown(e){let t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{const o=i.C(this.domNode.domNode);t=e.posx-o.left,n=e.posy-o.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}_sliderMouseDown(e,t){const n=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s.b,e=>{const t=this._sliderOrthogonalMousePosition(e),r=Math.abs(t-i);if(u.i&&r>140)return void this._setDesiredScrollPositionNow(o.getScrollPosition());const s=this._sliderMousePosition(e)-n;this._setDesiredScrollPositionNow(o.getDesiredScrollPositionFromDelta(s))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}}class m{constructor(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new m(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=e}static _computeValues(e,t,n,i,o){const r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const l=Math.round(Math.max(20,Math.floor(n*s/i))),c=(s-l)/(i-n),d=o*c;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(l),computedSliderRatio:c,computedSliderPosition:Math.round(d)}}_refreshComputedValues(){const e=m._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;let t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}var g=n(17);const f=Object(g.e)("scrollbar-button-left",g.a.triangleLeft),b=Object(g.e)("scrollbar-button-right",g.a.triangleRight);class _ extends p{constructor(e,t,n){const i=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new m(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,i.width,i.scrollWidth,o.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e}),t.horizontalHasArrows){let e=(t.arrowSize-11)/2,n=(t.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:f,top:n,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,1,0))}),this._createArrow({className:"scra",icon:b,top:n,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}}const v=Object(g.e)("scrollbar-button-up",g.a.triangleUp),w=Object(g.e)("scrollbar-button-down",g.a.triangleDown);class y extends p{constructor(e,t,n){const i=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new m(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,i.height,i.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e}),t.verticalHasArrows){let e=(t.arrowSize-11)/2,n=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:v,top:e,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,0,1))}),this._createArrow({className:"scra",icon:w,top:void 0,left:n,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}}var C=n(6),x=n(170),S=n(34);class k{constructor(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}}class E{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,n=1,i=this._rear;for(;;){const o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5}accept(e,t,n){const i=new k(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}E.INSTANCE=new E;class T extends a.a{constructor(e,t,n){super(),this._onScroll=this._register(new C.a),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.a),e.style.overflow="hidden",this._options=function(e){let t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,u.f&&(t.className+=" mac");return t}(t),this._scrollable=n,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let i={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new y(this._scrollable,this._options,i)),this._horizontalScrollbar=this._register(new _(this._scrollable,this._options,i)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=Object(o.b)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=Object(o.b)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=Object(o.b)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onnonbubblingmouseout(this._listenOnDomNode,e=>this._onMouseOut(e)),this._hideTimeout=this._register(new l.e),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=Object(d.f)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,u.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontalScrollbarSize&&this._horizontalScrollbar.updateScrollbarSize(e.horizontalScrollbarSize),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=Object(d.f)(this._mouseWheelToDispose),e)){let e=e=>{this._onMouseWheel(new r.b(e))};this._mouseWheelToDispose.push(i.i(this._listenOnDomNode,i.c.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(e){const t=E.INSTANCE;{const n=window.devicePixelRatio/Object(S.c)();u.i||u.d?t.accept(Date.now(),e.deltaX/n,e.deltaY/n):t.accept(Date.now(),e.deltaX,e.deltaY)}if(e.deltaY||e.deltaX){let n=e.deltaY*this._options.mouseWheelScrollSensitivity,i=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(n)>=Math.abs(i)?i=0:n=0),this._options.flipAxes&&([n,i]=[i,n]);const o=!u.f&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!o||i||(i=n,n=0),e.browserEvent&&e.browserEvent.altKey&&(i*=this._options.fastScrollSensitivity,n*=this._options.fastScrollSensitivity);const r=this._scrollable.getFutureScrollPosition();let s={};if(n){const e=r.scrollTop-50*n;this._verticalScrollbar.writeScrollPosition(s,e)}if(i){const e=r.scrollLeft-50*i;this._horizontalScrollbar.writeScrollPosition(s,e)}if(s=this._scrollable.validateScrollPosition(s),r.scrollLeft!==s.scrollLeft||r.scrollTop!==s.scrollTop){this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(s):this._scrollable.setScrollPositionNow(s),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition();let t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class L extends T{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const n=new x.a(0,e=>i.Y(e));super(e,t,n),this._register(n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class N extends T{constructor(e,t,n){super(e,t,n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class I extends L{constructor(e,t){super(e,t),this._element=e,this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return m}));var i=n(8),o=n(117),r=n(9),s=n(3),a=n(58);class l{constructor(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}parseSearchRequest(){if(""===this.searchString)return null;let e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,n=e.length;t<n;t++){if(92===e.charCodeAt(t)){if(t++,t>=n)break;const i=e.charCodeAt(t);if(110===i||114===i||87===i||119===i)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=i.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new c(t,this.wordSeparators?Object(o.a)(this.wordSeparators):null,n?this.searchString:null)}}class c{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}function d(e,t,n){if(!n)return new a.b(e,null);let i=[];for(let e=0,n=t.length;e<n;e++)i[e]=t[e];return new a.b(e,i)}class h{constructor(e){let t=[],n=0;for(let i=0,o=e.length;i<o;i++)10===e.charCodeAt(i)&&(t[n++]=i);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let n=0,i=t.length-1;if(-1===i)return 0;if(e<=t[0])return 0;for(;n<i;){const o=n+((i-n)/2>>0);t[o]>=e?i=o-1:t[o+1]>=e?(n=o,i=o):n=o+1}return n+1}}class u{static findMatches(e,t,n,i,o){const r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,n,new m(r.wordSeparators,r.regex),i,o):this._doFindMatchesLineByLine(e,n,r,i,o):[]}static _getMultilineMatchRange(e,t,n,i,o,r){let a,l,c=0;if(i?(c=i.findLineFeedCountBeforeOffset(o),a=t+o+c):a=t+o,i){let e=i.findLineFeedCountBeforeOffset(o+r.length)-c;l=a+r.length+e}else l=a+r.length;const d=e.getPositionAt(a),h=e.getPositionAt(l);return new s.a(d.lineNumber,d.column,h.lineNumber,h.column)}static _doFindMatchesMultiline(e,t,n,i,o){const r=e.getOffsetAt(t.getStartPosition()),s=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new h(s):null,l=[];let c,u=0;for(n.reset(0);c=n.next(s);)if(l[u++]=d(this._getMultilineMatchRange(e,r,s,a,c.index,c[0]),c,i),u>=o)return l;return l}static _doFindMatchesLineByLine(e,t,n,i,o){const r=[];let s=0;if(t.startLineNumber===t.endLineNumber){const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,r,i,o),r}const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,r,i,o);for(let a=t.startLineNumber+1;a<t.endLineNumber&&s<o;a++)s=this._findMatchesInLine(n,e.getLineContent(a),a,0,s,r,i,o);if(s<o){const a=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);s=this._findMatchesInLine(n,a,t.endLineNumber,0,s,r,i,o)}return r}static _findMatchesInLine(e,t,n,i,o,r,l,c){const h=e.wordSeparators;if(!l&&e.simpleSearch){const l=e.simpleSearch,d=l.length,u=t.length;let m=-d;for(;-1!==(m=t.indexOf(l,m+d));)if((!h||p(h,t,u,m,d))&&(r[o++]=new a.b(new s.a(n,m+1+i,n,m+1+d+i),null),o>=c))return o;return o}const u=new m(e.wordSeparators,e.regex);let g;u.reset(0);do{if(g=u.next(t),g&&(r[o++]=d(new s.a(n,g.index+1+i,n,g.index+1+g[0].length+i),g,l),o>=c))return o}while(g);return o}static findNextMatch(e,t,n,i){const o=t.parseSearchRequest();if(!o)return null;const r=new m(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,r,i):this._doFindNextMatchLineByLine(e,n,r,i)}static _doFindNextMatchMultiline(e,t,n,i){const o=new r.a(t.lineNumber,1),a=e.getOffsetAt(o),l=e.getLineCount(),c=e.getValueInRange(new s.a(o.lineNumber,o.column,l,e.getLineMaxColumn(l)),1),u="\r\n"===e.getEOL()?new h(c):null;n.reset(t.column-1);let p=n.next(c);return p?d(this._getMultilineMatchRange(e,a,c,u,p.index,p[0]),p,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new r.a(1,1),n,i):null}static _doFindNextMatchLineByLine(e,t,n,i){const o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r),a=this._findFirstMatchInLine(n,s,r,t.column,i);if(a)return a;for(let t=1;t<=o;t++){const s=(r+t-1)%o,a=e.getLineContent(s+1),l=this._findFirstMatchInLine(n,a,s+1,1,i);if(l)return l}return null}static _findFirstMatchInLine(e,t,n,i,o){e.reset(i-1);const r=e.next(t);return r?d(new s.a(n,r.index+1,n,r.index+1+r[0].length),r,o):null}static findPreviousMatch(e,t,n,i){const o=t.parseSearchRequest();if(!o)return null;const r=new m(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,r,i):this._doFindPreviousMatchLineByLine(e,n,r,i)}static _doFindPreviousMatchMultiline(e,t,n,i){const o=this._doFindMatchesMultiline(e,new s.a(1,1,t.lineNumber,t.column),n,i,9990);if(o.length>0)return o[o.length-1];const a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new r.a(a,e.getLineMaxColumn(a)),n,i):null}static _doFindPreviousMatchLineByLine(e,t,n,i){const o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r).substring(0,t.column-1),a=this._findLastMatchInLine(n,s,r,i);if(a)return a;for(let t=1;t<=o;t++){const s=(o+r-t-1)%o,a=e.getLineContent(s+1),l=this._findLastMatchInLine(n,a,s+1,i);if(l)return l}return null}static _findLastMatchInLine(e,t,n,i){let o,r=null;for(e.reset(0);o=e.next(t);)r=d(new s.a(n,o.index+1,n,o.index+1+o[0].length),o,i);return r}}function p(e,t,n,i,o){return function(e,t,n,i,o){if(0===i)return!0;const r=t.charCodeAt(i-1);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){const n=t.charCodeAt(i);if(0!==e.get(n))return!0}return!1}(e,t,0,i,o)&&function(e,t,n,i,o){if(i+o===n)return!0;const r=t.charCodeAt(i+o);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){const n=t.charCodeAt(i+o-1);if(0!==e.get(n))return!0}return!1}(e,t,n,i,o)}class m{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const o=n.index,r=n[0].length;if(o===this._prevMatchStartIndex&&r===this._prevMatchLength){if(0===r){i.A(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=o,this._prevMatchLength=r,!this._wordSeparators||p(this._wordSeparators,e,t,o,r))return n}while(n);return null}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return C})),n.d(t,"a",(function(){return T}));var i=n(0),o=n(14),r=n(4),s=n(41),a=n(22),l=n(9),c=n(3);class d{static columnSelect(e,t,n,i,o,r){let s=Math.abs(o-n)+1,d=n>o,h=i>r,u=i<r,p=[];for(let o=0;o<s;o++){let s=n+(d?-o:o),m=a.a.columnFromVisibleColumn2(e,t,s,i),g=a.a.columnFromVisibleColumn2(e,t,s,r),f=a.a.visibleColumnFromColumn2(e,t,new l.a(s,m)),b=a.a.visibleColumnFromColumn2(e,t,new l.a(s,g));if(u){if(f>r)continue;if(b<i)continue}if(h){if(b>i)continue;if(f<r)continue}p.push(new a.f(new c.a(s,m,s,m),0,new l.a(s,g),0))}if(0===p.length)for(let e=0;e<s;e++){const i=n+(d?-e:e),o=t.getLineMaxColumn(i);p.push(new a.f(new c.a(i,o,i,o),0,new l.a(i,o),0))}return{viewStates:p,reversed:d,fromLineNumber:n,fromVisualColumn:i,toLineNumber:o,toVisualColumn:r}}static columnSelectLeft(e,t,n){let i=n.toViewVisualColumn;return i>1&&i--,d.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,i)}static columnSelectRight(e,t,n){let i=0;const o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber);for(let n=o;n<=r;n++){const o=t.getLineMaxColumn(n),r=a.a.visibleColumnFromColumn2(e,t,new l.a(n,o));i=Math.max(i,r)}let s=n.toViewVisualColumn;return s<i&&s++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,s)}static columnSelectUp(e,t,n,i){const o=i?e.pageSize:1,r=Math.max(1,n.toViewLineNumber-o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}static columnSelectDown(e,t,n,i){const o=i?e.pageSize:1,r=Math.min(t.getLineCount(),n.toViewLineNumber+o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}}var h=n(181),u=n(85),p=n(126),m=n(7),g=n(10),f=n(92);class b extends r.c{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n||{})}}var _,v,w,y,C;(v=_||(_={})).description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:function(e){if(!o.i(e))return!1;const t=e;return!(!o.j(t.to)||!o.k(t.by)&&!o.j(t.by)||!o.k(t.value)&&!o.h(t.value)||!o.k(t.revealCursor)&&!o.f(t.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},v.RawDirection={Up:"up",Down:"down"},v.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},v.parse=function(e){let t,n;switch(e.to){case v.RawDirection.Up:t=1;break;case v.RawDirection.Down:t=2;break;default:return null}switch(e.by){case v.RawUnit.Line:n=1;break;case v.RawUnit.WrappedLine:n=2;break;case v.RawUnit.Page:n=3;break;case v.RawUnit.HalfPage:n=4;break;default:n=2}return{direction:t,unit:n,value:Math.floor(e.value||1),revealCursor:!!e.revealCursor,select:!!e.select}},(y=w||(w={})).description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed .\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:function(e){if(!o.i(e))return!1;const t=e;return!(!o.h(t.lineNumber)||!o.k(t.at)&&!o.j(t.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},y.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"};class x{constructor(e){e.addImplementation(1e4,(e,t)=>{const n=e.get(s.a).getFocusedCodeEditor();return!(!n||!n.hasTextFocus())&&(this.runEditorCommand(e,n,t),!0)}),e.addImplementation(1e3,(e,t)=>{const n=document.activeElement;return!!(n&&["input","textarea"].indexOf(n.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)}),e.addImplementation(0,(e,t)=>{const n=e.get(s.a).getActiveCodeEditor();return!!n&&(n.focus(),this.runEditorCommand(e,n,t),!0)})}}!function(e){class t extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!0)}}e.MoveTo=Object(r.l)(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=Object(r.l)(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class n extends b{runCoreEditorCommand(e,t){e.model.pushStackElement();const n=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,n.viewStates.map(e=>a.d.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),n.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}e.ColumnSelect=Object(r.l)(new class extends n{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,n,i){const o=e.model.validatePosition(i.position),r=e.coordinatesConverter.validateViewPosition(new l.a(i.viewPosition.lineNumber,i.viewPosition.column),o);let s=i.doColumnSelect?n.fromViewLineNumber:r.lineNumber,a=i.doColumnSelect?n.fromViewVisualColumn:i.mouseColumn-1;return d.columnSelect(e.cursorConfig,e,s,a,r.lineNumber,i.mouseColumn-1)}}),e.CursorColumnSelectLeft=Object(r.l)(new class extends n{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return d.columnSelectLeft(e.cursorConfig,e,n)}}),e.CursorColumnSelectRight=Object(r.l)(new class extends n{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return d.columnSelectRight(e.cursorConfig,e,n)}});class o extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return d.columnSelectUp(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectUp=Object(r.l)(new o({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=Object(r.l)(new o({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3595,linux:{primary:0}}}));class s extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return d.columnSelectDown(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectDown=Object(r.l)(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=Object(r.l)(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3596,linux:{primary:0}}}));class h extends b{constructor(){super({id:"cursorMove",precondition:void 0,description:u.a.description})}runCoreEditorCommand(e,t){const n=u.a.parse(t);n&&this._runCursorMove(e,t.source,n)}_runCursorMove(e,t,n){e.model.pushStackElement(),e.setCursorStates(t,3,h._move(e,e.getCursorStates(),n)),e.revealPrimaryCursor(t,!0)}static _move(e,t,n){const i=n.select,o=n.value;switch(n.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return u.b.simpleMove(e,t,n.direction,i,o,n.unit);case 9:case 11:case 10:case 12:return u.b.viewportMove(e,t,n.direction,i,o);default:return null}}}e.CursorMoveImpl=h,e.CursorMove=Object(r.l)(new h);class p extends b{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let n=this._staticArgs;-1===this._staticArgs.value&&(n={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.simpleMove(e,e.getCursorStates(),n.direction,n.select,n.value,n.unit)),e.revealPrimaryCursor(t.source,!0)}}e.CursorLeft=Object(r.l)(new p({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=Object(r.l)(new p({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1039}})),e.CursorRight=Object(r.l)(new p({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=Object(r.l)(new p({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1041}})),e.CursorUp=Object(r.l)(new p({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=Object(r.l)(new p({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=Object(r.l)(new p({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:11}})),e.CursorPageUpSelect=Object(r.l)(new p({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1035}})),e.CursorDown=Object(r.l)(new p({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=Object(r.l)(new p({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=Object(r.l)(new p({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:12}})),e.CursorPageDownSelect=Object(r.l)(new p({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1036}})),e.CreateCursor=Object(r.l)(new class extends b{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let n;n=t.wholeLine?u.b.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):u.b.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);const i=e.getCursorStates();if(i.length>1){const o=n.modelState?n.modelState.position:null,r=n.viewState?n.viewState.position:null;for(let n=0,s=i.length;n<s;n++){const s=i[n];if((!o||s.modelState.selection.containsPosition(o))&&(!r||s.viewState.selection.containsPosition(r)))return i.splice(n,1),e.model.pushStackElement(),void e.setCursorStates(t.source,3,i)}}i.push(n),e.model.pushStackElement(),e.setCursorStates(t.source,3,i)}}),e.LastCursorMoveToSelect=Object(r.l)(new class extends b{constructor(){super({id:"_lastCursorMoveToSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0);o[n]=u.b.moveTo(e,i[n],!0,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}});class g extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToBeginningOfLine(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorHome=Object(r.l)(new g({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=Object(r.l)(new g({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class f extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e){const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],o=i.modelState.position.lineNumber;t[n]=a.d.fromModelState(i.modelState.move(this._inSelectionMode,o,1,0))}return t}}e.CursorLineStart=Object(r.l)(new f({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:287}}})),e.CursorLineStartSelect=Object(r.l)(new f({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:1311}}}));class v extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToEndOfLine(e,e.getCursorStates(),this._inSelectionMode,t.sticky||!1)),e.revealPrimaryCursor(t.source,!0)}}e.CursorEnd=Object(r.l)(new v({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:m.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:i.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),e.CursorEndSelect=Object(r.l)(new v({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:m.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:i.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));class y extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e,t){const n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],r=o.modelState.position.lineNumber,s=e.model.getLineMaxColumn(r);n[i]=a.d.fromModelState(o.modelState.move(this._inSelectionMode,r,s,0))}return n}}e.CursorLineEnd=Object(r.l)(new y({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:291}}})),e.CursorLineEndSelect=Object(r.l)(new y({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:1315}}}));class C extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToBeginningOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorTop=Object(r.l)(new C({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=Object(r.l)(new C({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3086,mac:{primary:3088}}}));class S extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToEndOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorBottom=Object(r.l)(new S({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=Object(r.l)(new S({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3085,mac:{primary:3090}}}));class k extends b{constructor(){super({id:"editorScroll",precondition:void 0,description:_.description})}runCoreEditorCommand(e,t){const n=_.parse(t);n&&this._runEditorScroll(e,t.source,n)}_runEditorScroll(e,t,n){const i=this._computeDesiredScrollTop(e,n);if(n.revealCursor){const o=e.getCompletelyVisibleViewRangeAtScrollTop(i);e.setCursorStates(t,3,[u.b.findPositionInViewportIfOutside(e,e.getPrimaryCursorState(),o,n.select)])}e.setScrollTop(i,0)}_computeDesiredScrollTop(e,t){if(1===t.unit){const n=e.getCompletelyVisibleViewRange(),i=e.coordinatesConverter.convertViewRangeToModelRange(n);let o;o=1===t.direction?Math.max(1,i.startLineNumber-t.value):Math.min(e.model.getLineCount(),i.startLineNumber+t.value);const r=e.coordinatesConverter.convertModelPositionToViewPosition(new l.a(o,1));return e.getVerticalOffsetForLineNumber(r.lineNumber)}let n;n=3===t.unit?e.cursorConfig.pageSize*t.value:4===t.unit?Math.round(e.cursorConfig.pageSize/2)*t.value:t.value;const i=(1===t.direction?-1:1)*n;return e.getScrollTop()+i*e.cursorConfig.lineHeight}}e.EditorScrollImpl=k,e.EditorScroll=Object(r.l)(new k),e.ScrollLineUp=Object(r.l)(new class extends b{constructor(){super({id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageUp=Object(r.l)(new class extends b{constructor(){super({id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}),e.ScrollLineDown=Object(r.l)(new class extends b{constructor(){super({id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageDown=Object(r.l)(new class extends b{constructor(){super({id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}});class E extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.word(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position)]),e.revealPrimaryCursor(t.source,!0)}}e.WordSelect=Object(r.l)(new E({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=Object(r.l)(new E({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=Object(r.l)(new class extends b{constructor(){super({id:"lastCursorWordSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0),r=i[n];o[n]=u.b.word(e,r,r.modelState.hasSelection(),t.position),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}});class T extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.line(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!1)}}e.LineSelect=Object(r.l)(new T({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(r.l)(new T({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));class L extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0);o[n]=u.b.line(e,i[n],this._inSelectionMode,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}}e.LastCursorLineSelect=Object(r.l)(new L({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=Object(r.l)(new L({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.ExpandLineSelection=Object(r.l)(new class extends b{constructor(){super({id:"expandLineSelection",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2090}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.expandLineSelection(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}}),e.CancelSelection=Object(r.l)(new class extends b{constructor(){super({id:"cancelSelection",precondition:m.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.cancelSelection(e,e.getPrimaryCursorState())]),e.revealPrimaryCursor(t.source,!0)}}),e.RemoveSecondaryCursors=Object(r.l)(new class extends b{constructor(){super({id:"removeSecondaryCursors",precondition:m.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:m.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[e.getPrimaryCursorState()]),e.revealPrimaryCursor(t.source,!0)}}),e.RevealLine=Object(r.l)(new class extends b{constructor(){super({id:"revealLine",precondition:void 0,description:w.description})}runCoreEditorCommand(e,t){const n=t;let i=(n.lineNumber||0)+1;i<1&&(i=1);const o=e.model.getLineCount();i>o&&(i=o);const r=new c.a(i,1,i,e.model.getLineMaxColumn(i));let s=0;if(n.at)switch(n.at){case w.RawAtArgument.Top:s=3;break;case w.RawAtArgument.Center:s=1;break;case w.RawAtArgument.Bottom:s=4}const a=e.coordinatesConverter.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,a,s,0)}}),e.SelectAll=new class extends x{constructor(){super(r.h)}runDOMCommand(){document.execCommand("selectAll")}runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[u.b.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=Object(r.l)(new class extends b{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[a.d.fromModelSelection(t.selection)])}})}(C||(C={}));const S=g.a.and(m.a.textInputFocus,m.a.columnSelection);function k(e,t){f.a.registerKeybindingRule({id:e,primary:t,when:S,weight:1})}function E(e){return e.register(),e}var T;k(C.CursorColumnSelectLeft.id,1039),k(C.CursorColumnSelectRight.id,1041),k(C.CursorColumnSelectUp.id,1040),k(C.CursorColumnSelectPageUp.id,1035),k(C.CursorColumnSelectDown.id,1042),k(C.CursorColumnSelectPageDown.id,1036),function(e){class t extends r.c{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditingCommand(t,i,n||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=Object(r.l)(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:m.a.writable,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,p.a.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),e.Outdent=Object(r.l)(new class extends t{constructor(){super({id:"outdent",precondition:m.a.writable,kbOpts:{weight:0,kbExpr:g.a.and(m.a.editorTextFocus,m.a.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,p.a.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.Tab=Object(r.l)(new class extends t{constructor(){super({id:"tab",precondition:m.a.writable,kbOpts:{weight:0,kbExpr:g.a.and(m.a.editorTextFocus,m.a.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,p.a.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.DeleteLeft=Object(r.l)(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,n){const[i,o]=h.a.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)}}),e.DeleteRight=Object(r.l)(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,n){const[i,o]=h.a.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)}}),e.Undo=new class extends x{constructor(){super(r.i)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,n){t.hasModel()&&!0!==t.getOption(72)&&t.getModel().undo()}},e.Redo=new class extends x{constructor(){super(r.g)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,n){t.hasModel()&&!0!==t.getOption(72)&&t.getModel().redo()}}}(T||(T={}));class L extends r.a{constructor(e,t,n){super({id:e,precondition:void 0,description:n}),this._handlerId=t}runCommand(e,t){const n=e.get(s.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)}}function N(e,t){E(new L("default:"+e,e)),E(new L(e,e,t))}N("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),N("replacePreviousChar"),N("compositionStart"),N("compositionEnd"),N("paste"),N("cut")},function(e,t,n){"use strict";n.d(t,"a",(function(){return qs})),n.d(t,"b",(function(){return $s})),n.d(t,"c",(function(){return Ks})),n.d(t,"d",(function(){return Gs})),n.d(t,"g",(function(){return Ys})),n.d(t,"h",(function(){return Zs})),n.d(t,"i",(function(){return Xs})),n.d(t,"j",(function(){return Qs})),n.d(t,"e",(function(){return Js})),n.d(t,"f",(function(){return ea})),n.d(t,"l",(function(){return ta})),n.d(t,"k",(function(){return na})),n.d(t,"m",(function(){return ia})),n.d(t,"n",(function(){return oa}));var i,o=n(26),r=n(100),s=(n(200),n(41)),a=n(1),l=n(53),c=n(178),d=n(45),h=n(51),u=n(23),p=n(27),m=n(79);!function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(i||(i={}));var g=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,i){t(n,i,e)}},b=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let _=class{constructor(e){this._commandService=e}open(e){return b(this,void 0,void 0,(function*(){if(!Object(m.c)(e,d.b.command))return!1;"string"==typeof e&&(e=u.a.parse(e));let t=[];try{t=Object(c.a)(decodeURIComponent(e.query))}catch(n){try{t=Object(c.a)(e.query)}catch(e){}}return Array.isArray(t)||(t=[t]),yield this._commandService.executeCommand(e.path,...t),!0}))}};_=g([f(0,p.b)],_);let v=class{constructor(e){this._editorService=e}open(e,t){return b(this,void 0,void 0,(function*(){"string"==typeof e&&(e=u.a.parse(e));let n=void 0;const o=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment);return o&&(n={startLineNumber:parseInt(o[1]),startColumn:o[2]?parseInt(o[2]):1},e=e.with({fragment:""})),e.scheme===d.b.file&&(e=Object(h.h)(e)),yield this._editorService.openCodeEditor({resource:e,options:{selection:n,context:(null==t?void 0:t.fromUserGesture)?i.USER:i.API}},this._editorService.getFocusedCodeEditor(),null==t?void 0:t.openToSide),!0}))}};v=g([f(0,s.a)],v);let w=class{constructor(e,t){this._openers=new l.a,this._validators=new l.a,this._resolvers=new l.a,this._externalOpener={openExternal:e=>(Object(m.c)(e,d.b.http)||Object(m.c)(e,d.b.https)?a.cb(e):window.location.href=e,Promise.resolve(!0))},this._openers.push({open:(e,t)=>b(this,void 0,void 0,(function*(){return!!((null==t?void 0:t.openExternal)||Object(m.c)(e,d.b.mailto)||Object(m.c)(e,d.b.http)||Object(m.c)(e,d.b.https))&&(yield this._doOpenExternal(e,t),!0)}))}),this._openers.push(new _(t)),this._openers.push(new v(e))}open(e,t){return b(this,void 0,void 0,(function*(){for(const t of this._validators.toArray())if(!(yield t.shouldOpen(e)))return!1;for(const n of this._openers.toArray()){if(yield n.open(e,t))return!0}return!1}))}resolveExternalUri(e,t){return b(this,void 0,void 0,(function*(){for(const n of this._resolvers.toArray()){const i=yield n.resolveExternalUri(e,t);if(i)return i}return{resolved:e,dispose:()=>{}}}))}_doOpenExternal(e,t){return b(this,void 0,void 0,(function*(){const n="string"==typeof e?u.a.parse(e):e,{resolved:i}=yield this.resolveExternalUri(n,t);return"string"==typeof e&&n.toString()===i.toString()?this._externalOpener.openExternal(e):this._externalOpener.openExternal(encodeURI(i.toString(!0)))}))}dispose(){this._validators.clear()}};w=g([f(0,s.a),f(1,p.b)],w);var y=n(193),C=n(160),x=n(143),S=n(58),k=n(12),E=n(90),T=n(96),L=n(122),N=n(20),I=n(2),O=n(94),D=n(11);class A{constructor(e,t,n,i,o){this.id=t;const r=function(e,t){if(D.b.MonacoEnvironment){if("function"==typeof D.b.MonacoEnvironment.getWorker)return D.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof D.b.MonacoEnvironment.getWorkerUrl)return new Worker(D.b.MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",n);"function"==typeof r.then?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){i(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(n=>n.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class R{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let i=++R.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new A(e,i,this._label||"anonymous"+i,t,e=>{Object(O.c)(e),this._webWorkerFailedBeforeError=e,n(e)})}}R.LAST_WORKER_ID=0;var M=n(3),P=n(39),F=n(104),W=n(64),z=n(152),B=n(8),j=n(15),V=n(102),U=n(158),H=n(13),q=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},$=function(e,t){return function(n,i){t(n,i,e)}},K=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function G(e,t){let n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}let Y=class extends I.a{constructor(e,t,n){super(),this._modelService=e,this._workerManager=this._register(new X(this._modelService)),this._logService=n,this._register(k.s.register("*",{provideLinks:(e,t)=>G(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(k.d.register("*",new Z(this._workerManager,t,this._modelService)))}dispose(){super.dispose()}canComputeDiff(e,t){return G(this._modelService,e)&&G(this._modelService,t)}computeDiff(e,t,n,i){return this._workerManager.withWorker().then(o=>o.computeDiff(e,t,n,i))}computeMoreMinimalEdits(e,t){if(Object(j.o)(t)){if(!G(this._modelService,e))return Promise.resolve(t);const n=U.a.create(!0),i=this._workerManager.withWorker().then(n=>n.computeMoreMinimalEdits(e,t));return i.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),n.elapsed())),i}return Promise.resolve(void 0)}canNavigateValueSet(e){return G(this._modelService,e)}navigateValueSet(e,t,n){return this._workerManager.withWorker().then(i=>i.navigateValueSet(e,t,n))}canComputeWordRanges(e){return G(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(n=>n.computeWordRanges(e,t))}};Y=q([$(0,W.a),$(1,z.a),$(2,V.b)],Y);class Z{constructor(e,t,n){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}provideCompletionItems(e,t){return K(this,void 0,void 0,(function*(){const{wordBasedSuggestions:n}=this._configurationService.getValue(e.uri,t,"editor");if(!n)return;if(!G(this._modelService,e.uri))return;const i=e.getWordAtPosition(t),o=i?new M.a(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):M.a.fromPositions(t),r=o.setEndPosition(t.lineNumber,t.column),s=yield this._workerManager.withWorker(),a=yield s.textualSuggest(e.uri,t);return a?{suggestions:a.map(e=>({kind:18,label:e,insertText:e,range:{insert:r,replace:o}}))}:void 0}))}}class X extends I.a{constructor(e){super(),this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=(new Date).getTime(),this._register(new N.c).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;(new Date).getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new te(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class Q extends I.a{constructor(e,t,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){let e=new N.c;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)Object(I.f)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e){for(const t of e){let e=t.toString();this._syncedModels[e]||this._beginModelSync(t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=(new Date).getTime())}}_checkStopModelSync(){let e=(new Date).getTime(),t=[];for(let n in this._syncedModelsLastUsedTime){e-this._syncedModelsLastUsedTime[n]>6e4&&t.push(n)}for(const e of t)this._stopModelSync(e)}_beginModelSync(e){let t=this._modelService.getModel(e);if(!t)return;if(t.isTooLargeForSyncing())return;let n=e.toString();this._proxy.acceptNewModel({url:t.uri.toString(),lines:t.getLinesContent(),EOL:t.getEOL(),versionId:t.getVersionId()});const i=new I.b;i.add(t.onDidChangeContent(e=>{this._proxy.acceptModelChanged(n.toString(),e)})),i.add(t.onWillDispose(()=>{this._stopModelSync(n)})),i.add(Object(I.h)(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=i}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(I.f)(t)}}class J{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class ee{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class te extends I.a{constructor(e,t,n){super(),this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new R(n),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new O.a(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new ee(this)))}catch(e){Object(O.c)(e),this._worker=new J(new F.a(new ee(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(Object(O.c)(e),this._worker=new J(new F.a(new ee(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new Q(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e){return this._disposed?Promise.reject(Object(H.a)()):this._getProxy().then(t=>(this._getOrCreateModelManager(t).ensureSyncedResources(e),t))}computeDiff(e,t,n,i){return this._withSyncedResources([e,t]).then(o=>o.computeDiff(e.toString(),t.toString(),n,i))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}textualSuggest(e,t){return this._withSyncedResources([e]).then(n=>{let i=this._modelService.getModel(e);if(!i)return null;let o=P.a.getWordDefinition(i.getLanguageIdentifier().id),r=o.source,s=Object(B.O)(o);return n.textualSuggest(e.toString(),t,r,s)})}computeWordRanges(e,t){return this._withSyncedResources([e]).then(n=>{let i=this._modelService.getModel(e);if(!i)return Promise.resolve(null);let o=P.a.getWordDefinition(i.getLanguageIdentifier().id),r=o.source,s=Object(B.O)(o);return n.computeWordRanges(e.toString(),t,r,s)})}navigateValueSet(e,t,n){return this._withSyncedResources([e]).then(i=>{let o=this._modelService.getModel(e);if(!o)return null;let r=P.a.getWordDefinition(o.getLanguageIdentifier().id),s=r.source,a=Object(B.O)(r);return i.navigateValueSet(e.toString(),t,n,s,a)})}dispose(){super.dispose(),this._disposed=!0}}var ne=n(14);class ie extends te{constructor(e,t){super(e,t.keepIdleModels||!1,t.label),this._foreignModuleId=t.moduleId,this._foreignModuleCreateData=t.createData||null,this._foreignModuleHost=t.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const t=this._foreignModuleHost?ne.d(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;const n=(t,n)=>e.fmr(t,n),i=(e,t)=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let o={};for(const e of t)o[e]=i(e,n);return o})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var oe=n(40),re=n(111),se=n(91),ae=n(74),le=n(77);function ce(e){return!function(e){return Array.isArray(e)}(e)}function de(e){return"string"==typeof e}function he(e){return!de(e)}function ue(e){return!e}function pe(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function me(e){return e.replace(/[&<>'"_]/g,"-")}function ge(e,t){return new Error(`${e.languageId}: ${t}`)}function fe(e,t,n,i,o){let r=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,s,a,l,c,d,h,u,p){return ue(a)?ue(l)?!ue(c)&&c<i.length?pe(e,i[c]):!ue(h)&&e&&"string"==typeof e[h]?e[h]:(null===r&&(r=o.split("."),r.unshift(o)),!ue(d)&&d<r.length?pe(e,r[d]):""):pe(e,n):"$"}))}function be(e,t){let n=t;for(;n&&n.length>0;){const t=e.tokenizer[n];if(t)return t;const i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return null}class _e{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new ve(e,t);let n=ve.getStackElementId(e);n.length>0&&(n+="|"),n+=t;let i=this._entries[n];return i||(i=new ve(e,t),this._entries[n]=i,i)}}_e._INSTANCE=new _e(5);class ve{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return ve._equals(this,e)}push(e){return _e.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return _e.create(this.parent,e)}}class we{constructor(e,t){this.modeId=e,this.state=t}equals(e){return this.modeId===e.modeId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new we(this.modeId,this.state)}}class ye{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==t)return new Ce(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Ce(e,t);let n=ve.getStackElementId(e),i=this._entries[n];return i||(i=new Ce(e,null),this._entries[n]=i,i)}}ye._INSTANCE=new ye(5);class Ce{constructor(e,t){this.stack=e,this.embeddedModeData=t}clone(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:ye.create(this.stack,this.embeddedModeData)}equals(e){return e instanceof Ce&&(!!this.stack.equals(e.stack)&&(null===this.embeddedModeData&&null===e.embeddedModeData||null!==this.embeddedModeData&&null!==e.embeddedModeData&&this.embeddedModeData.equals(e.embeddedModeData)))}}class xe{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(e,t){this._language=t}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new le.a(e,t,this._language)))}nestedModeTokenize(e,t,n){const i=t.modeId,o=t.state,r=k.C.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;let s=r.tokenize(e,o,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState}finalize(e){return new le.b(this._tokens,e)}}class Se{constructor(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id}emit(e,t){let n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,t,n){let i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;let s=new Uint32Array(i+o+r);null!==e&&s.set(e);for(let e=0;e<o;e++)s[i+e]=t[e];return null!==n&&s.set(n,i+o),s}nestedModeTokenize(e,t,n){const i=t.modeId,o=t.state,r=k.C.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;let s=r.tokenize2(e,o,n);return this._prependTokens=Se._merge(this._prependTokens,this._tokens,s.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,s.endState}finalize(e){return new le.c(Se._merge(this._prependTokens,this._tokens,null),e)}}class ke{constructor(e,t,n,i){this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=i,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let o=!1;this._tokenizationRegistryListener=k.C.onDidChange(e=>{if(o)return;let t=!1;for(let n=0,i=e.changedLanguages.length;n<i;n++){let i=e.changedLanguages[n];if(this._embeddedModes[i]){t=!0;break}}t&&(o=!0,k.C.fire([this._modeId]),o=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let e=[];for(let t in this._embeddedModes){const n=k.C.get(t);if(n){if(n instanceof ke){const t=n.getLoadStatus();!1===t.loaded&&e.push(t.promise)}continue}const i=k.C.getPromise(t);i&&e.push(i)}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>{})}}getInitialState(){let e=_e.create(null,this._lexer.start);return ye.create(e,null)}tokenize(e,t,n){let i=new xe,o=this._tokenize(e,t,n,i);return i.finalize(o)}tokenize2(e,t,n){let i=new Se(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,t,n,i);return i.finalize(o)}_tokenize(e,t,n,i){return t.embeddedModeData?this._nestedTokenize(e,t,n,i):this._myTokenize(e,t,n,i)}_findLeavingNestedModeOffset(e,t){let n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=be(this._lexer,t.stack.state),!n))throw ge(this._lexer,"tokenizer state is not defined: "+t.stack.state);let i=-1,o=!1;for(const t of n){if(!he(t.action)||"@pop"!==t.action.nextEmbedded)continue;o=!0;let n=t.regex,r=t.regex.source;if("^(?:"===r.substr(0,4)&&")"===r.substr(r.length-1,1)){let e=(n.ignoreCase?"i":"")+(n.unicode?"u":"");n=new RegExp(r.substr(4,r.length-5),e)}let s=e.search(n);-1===s||0!==s&&t.matchOnlyAtLineStart||(-1===i||s<i)&&(i=s)}if(!o)throw ge(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return i}_nestedTokenize(e,t,n,i){let o=this._findLeavingNestedModeOffset(e,t);if(-1===o){let o=i.nestedModeTokenize(e,t.embeddedModeData,n);return ye.create(t.stack,new we(t.embeddedModeData.modeId,o))}let r=e.substring(0,o);r.length>0&&i.nestedModeTokenize(r,t.embeddedModeData,n);let s=e.substring(o);return this._myTokenize(s,t,n+o,i)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,n,i){i.enterMode(n,this._modeId);const o=e.length;let r=t.embeddedModeData,s=t.stack,a=0,l=null,c=!0;for(;c||a<o;){const t=a,u=s.depth,p=l?l.groups.length:0,m=s.state;let g=null,f=null,b=null,_=null,v=null;if(l){g=l.matches;const e=l.groups.shift();f=e.matched,b=e.action,_=l.rule,0===l.groups.length&&(l=null)}else{if(!c&&a>=o)break;c=!1;let t=this._lexer.tokenizer[m];if(!t&&(t=be(this._lexer,m),!t))throw ge(this._lexer,"tokenizer state is not defined: "+m);let n=e.substr(a);for(const e of t)if((0===a||!e.matchOnlyAtLineStart)&&(g=n.match(e.regex),g)){f=g[0],b=e.action;break}}if(g||(g=[""],f=""),b||(a<o&&(g=[e.charAt(a)],f=g[0]),b=this._lexer.defaultToken),null===f)break;for(a+=f.length;ce(b)&&he(b)&&b.test;)b=b.test(f,g,m,a===o);let w=null;if("string"==typeof b||Array.isArray(b))w=b;else if(b.group)w=b.group;else if(null!==b.token&&void 0!==b.token){if(w=b.tokenSubst?fe(this._lexer,b.token,f,g,m):b.token,b.nextEmbedded)if("@pop"===b.nextEmbedded){if(!r)throw ge(this._lexer,"cannot pop embedded mode if not inside one");r=null}else{if(r)throw ge(this._lexer,"cannot enter embedded mode from within an embedded mode");v=fe(this._lexer,b.nextEmbedded,f,g,m)}if(b.goBack&&(a=Math.max(0,a-b.goBack)),b.switchTo&&"string"==typeof b.switchTo){let e=fe(this._lexer,b.switchTo,f,g,m);if("@"===e[0]&&(e=e.substr(1)),!be(this._lexer,e))throw ge(this._lexer,"trying to switch to a state '"+e+"' that is undefined in rule: "+this._safeRuleName(_));s=s.switchTo(e)}else{if(b.transform&&"function"==typeof b.transform)throw ge(this._lexer,"action.transform not supported");if(b.next)if("@push"===b.next){if(s.depth>=this._lexer.maxStack)throw ge(this._lexer,"maximum tokenizer stack size reached: ["+s.state+","+s.parent.state+",...]");s=s.push(m)}else if("@pop"===b.next){if(s.depth<=1)throw ge(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(_));s=s.pop()}else if("@popall"===b.next)s=s.popall();else{let e=fe(this._lexer,b.next,f,g,m);if("@"===e[0]&&(e=e.substr(1)),!be(this._lexer,e))throw ge(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(_));s=s.push(e)}}b.log&&"string"==typeof b.log&&(d=this._lexer,h=this._lexer.languageId+": "+fe(this._lexer,b.log,f,g,m),console.log(`${d.languageId}: ${h}`))}if(null===w)throw ge(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(_));const y=t=>{let r=this._modeService.getModeIdForLanguageName(t);r&&(t=r);const l=this._getNestedEmbeddedModeData(t);if(a<o){const t=e.substr(a);return this._nestedTokenize(t,ye.create(s,l),n+a,i)}return ye.create(s,l)};if(Array.isArray(w)){if(l&&l.groups.length>0)throw ge(this._lexer,"groups cannot be nested: "+this._safeRuleName(_));if(g.length!==w.length+1)throw ge(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(_));let e=0;for(let t=1;t<g.length;t++)e+=g[t].length;if(e!==f.length)throw ge(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(_));l={rule:_,matches:g,groups:[]};for(let e=0;e<w.length;e++)l.groups[e]={action:w[e],matched:g[e+1]};a-=f.length}else{{if("@rematch"===w&&(a-=f.length,f="",g=null,w="",null!==v))return y(v);if(0===f.length){if(0===o||u!==s.depth||m!==s.state||(l?l.groups.length:0)!==p)continue;throw ge(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(_))}let e=null;if(de(w)&&0===w.indexOf("@brackets")){let t=w.substr("@brackets".length),n=Ee(this._lexer,f);if(!n)throw ge(this._lexer,"@brackets token returned but no bracket defined as: "+f);e=me(n.token+t)}else{e=me(""===w?"":w+this._lexer.tokenPostfix)}i.emit(t+n,e)}if(null!==v)return y(v)}}var d,h;return ye.create(s,r)}_getNestedEmbeddedModeData(e){let t=this._locateMode(e);if(t){let e=k.C.get(t);if(e)return new we(t,e.getInitialState())}return new we(t||E.b,E.c)}_locateMode(e){if(!e||!this._modeService.isRegisteredMode(e))return null;if(e===this._modeId)return e;let t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t}}function Ee(e,t){if(!t)return null;t=pe(e,t);let n=e.brackets;for(const e of n){if(e.open===t)return{token:e.token,bracketType:1};if(e.close===t)return{token:e.token,bracketType:-1}}return null}class Te{static colorizeElement(e,t,n,i){let o=(i=i||{}).theme||"vs",r=i.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!r)return console.error("Mode not detected"),Promise.resolve();e.setTheme(o);let s=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+o;return this.colorize(t,s||"",r,i).then(e=>{n.innerHTML=e},e=>console.error(e))}static colorize(e,t,n,i){let o=4;i&&"number"==typeof i.tabSize&&(o=i.tabSize),B.U(t)&&(t=t.substr(1));let r=t.split(/\r\n|\r|\n/),s=e.getModeId(n);if(!s)return Promise.resolve(Ne(r,o));e.triggerMode(s);const a=k.C.get(s);if(a)return Le(r,o,a);const l=k.C.getPromise(s);return new Promise(l?(e,t)=>{l.then(n=>{Le(r,o,n).then(e,t)},t)}:(e,t)=>{let n=null,i=null;const a=()=>{n&&(n.dispose(),n=null),i&&(i.dispose(),i=null);const a=k.C.get(s);a?Le(r,o,a).then(e,t):e(Ne(r,o))};i=new N.e,i.cancelAndSet(a,500),n=k.C.onDidChange(e=>{e.changedLanguages.indexOf(s)>=0&&a()})})}static colorizeLine(e,t,n,i,o=4){const r=ae.d.isBasicASCII(e,t),s=ae.d.containsRTL(e,r,n);return Object(se.e)(new se.c(!1,!0,e,!1,r,s,0,i,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,n=4){let i=e.getLineContent(t);e.forceTokenization(t);let o=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)}}function Le(e,t,n){return new Promise((i,o)=>{const r=()=>{const s=function(e,t,n){let i=[],o=n.getInitialState();for(let r=0,s=e.length;r<s;r++){let s=e[r],a=n.tokenize2(s,o,0);re.a.convertToEndOffset(a.tokens,s.length);let l=new re.a(a.tokens,s);const c=ae.d.isBasicASCII(s,!0),d=ae.d.containsRTL(s,c,!0);let h=Object(se.e)(new se.c(!1,!0,s,!1,c,d,0,l.inflate(),[],t,0,0,0,0,-1,"none",!1,!1,null));i=i.concat(h.html),i.push("<br/>"),o=a.endState}return i.join("")}(e,t,n);if(n instanceof ke){const e=n.getLoadStatus();if(!1===e.loaded)return void e.promise.then(r,o)}i(s)};r()})}function Ne(e,t){let n=[];const i=new Uint32Array(2);i[0]=0,i[1]=16793600;for(let o=0,r=e.length;o<r;o++){let r=e[o];i[0]=r.length;const s=new re.a(i,r),a=ae.d.isBasicASCII(r,!0),l=ae.d.containsRTL(r,a,!0);let c=Object(se.e)(new se.c(!1,!0,r,!1,a,l,0,s,[],t,0,0,0,0,-1,"none",!1,!1,null));n=n.concat(c.html),n.push("<br/>")}return n.join("")}var Ie=n(67),Oe=n(6),De=n(43),Ae=n(68),Re=n(112),Me=n(148),Pe=n(161),Fe=n(70),We=n(9),ze=n(54),Be=n(78),je=n(46),Ve=n(128);class Ue{constructor(e={},t=[],n=[]){this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?Object(ze.d)(this.contents,e):this.contents}override(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let n={};for(const e of j.e([...Object.keys(this.contents),...Object.keys(t)])){let i=this.contents[e],o=t[e];o&&("object"==typeof i&&"object"==typeof o?(i=je.c(i),this.mergeContents(i,o)):i=o),n[e]=i}return new Ue(n,this.keys,this.overrides)}merge(...e){const t=je.c(this.contents),n=je.c(this.overrides),i=[...this.keys];for(const o of e){this.mergeContents(t,o.contents);for(const e of o.overrides){const[t]=n.filter(t=>j.g(t.identifiers,e.identifiers));t?this.mergeContents(t.contents,e.contents):n.push(je.c(e))}for(const e of o.keys)-1===i.indexOf(e)&&i.push(e)}return new Ue(t,i,n)}freeze(){return this.isFrozen=!0,this}mergeContents(e,t){for(const n of Object.keys(t))n in e&&ne.i(e[n])&&ne.i(t[n])?this.mergeContents(e[n],t[n]):e[n]=je.c(t[n])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?je.d(e):e}getContentsForOverrideIdentifer(e){for(const t of this.overrides)if(-1!==t.identifiers.indexOf(e))return t.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),Object(ze.b)(this.contents,e,t,e=>{throw new Error(e)})}removeValue(e){this.removeKey(e)&&Object(ze.f)(this.contents,e)}addKey(e){let t=this.keys.length;for(let n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)}removeKey(e){let t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)}}class He extends Ue{constructor(){const e=Object(ze.e)(),t=Object(ze.c)(),n=[];for(const t of Object.keys(e))Ve.b.test(t)&&n.push({identifiers:[Object(Ve.c)(t).trim()],keys:Object.keys(e[t]),contents:Object(ze.g)(e[t],e=>console.error("Conflict in default settings file: "+e))});super(e,t,n)}}class qe{constructor(e,t,n=new Ue,i=new Ue,o=new Be.b,r=new Ue,s=new Be.b,a=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=o,this._memoryConfiguration=r,this._memoryConfigurationByResource=s,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Be.b,this._userConfiguration=null}getValue(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)}updateValue(e,t,n={}){let i;n.resource?(i=this._memoryConfigurationByResource.get(n.resource),i||(i=new Ue,this._memoryConfigurationByResource.set(n.resource,i))):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(e,t){let n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n}getConsolidatedConfigurationModelForResource({resource:e},t){let n=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const i=t.getFolder(e);i&&(n=this.getFolderConsolidatedConfiguration(i.uri)||n);const o=this._memoryConfigurationByResource.get(e);o&&(n=n.merge(o))}return n}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{const{contents:n,overrides:i,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:n,overrides:i,keys:o}]),e},[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),n=this.parseConfigurationModel(e.user),i=this.parseConfigurationModel(e.workspace),o=e.folders.reduce((e,t)=>(e.set(u.a.revive(t[0]),this.parseConfigurationModel(t[1])),e),new Be.b);return new qe(t,n,new Ue,i,o,new Ue,new Be.b,!1)}static parseConfigurationModel(e){return new Ue(e.contents,e.keys,e.overrides).freeze()}}class $e{constructor(e,t,n,i){this.change=e,this.previous=t,this.currentConfiguraiton=n,this.currentWorkspace=i,this._previousConfiguration=void 0;const o=new Set;e.keys.forEach(e=>o.add(e)),e.overrides.forEach(([,e])=>e.forEach(e=>o.add(e))),this.affectedKeys=[...o.values()];const r=new Ue;this.affectedKeys.forEach(e=>r.setValue(e,{})),this.affectedKeysTree=r.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=qe.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var n;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)){if(t){const i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(n=this.previous)||void 0===n?void 0:n.workspace):void 0,o=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!je.e(i,o)}return!0}return!1}doesAffectedKeysTreeContains(e,t){let n,i=Object(ze.g)({[t]:!0},()=>{});for(;"object"==typeof i&&(n=Object.keys(i)[0]);){if(!(e=e[n]))return!1;i=i[n]}return!0}}var Ke=n(0);class Ge extends I.a{constructor(e,t,n,i,o){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=n,this._notificationService=i,this._logService=o,this._onDidUpdateKeybindings=this._register(new Oe.a),this._currentChord=null,this._currentChordChecker=new N.c,this._currentChordStatusMessage=null,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:Oe.b.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info("[KeybindingService]: "+e)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybindings(e){return j.d(this._getResolver().lookupKeybindings(e).map(e=>e.resolvedKeybinding))}lookupKeybinding(e){const t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;const[i]=n.getDispatchParts();if(null===i)return null;const o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,r,i)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Ke.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{this._documentHasFocus()?Date.now()-n>5e3&&this._leaveChordMode():this._leaveChordMode()},500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)}_doDispatch(e,t){let n=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;const[i]=e.getDispatchParts();if(null===i)return this._log("\\ Keyboard event cannot be dispatched."),n;const o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null,s=e.getLabel(),a=this._getResolver().resolve(o,r,i);return this._logService.trace("KeybindingService#dispatch",s,null==a?void 0:a.commandId),a&&a.enterChord?(n=!0,this._enterChordMode(i,s),n):(this._currentChord&&(a&&a.commandId||(this._notificationService.status(Ke.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,s),{hideAfter:1e4}),n=!0)),this._leaveChordMode(),a&&a.commandId&&(a.bubble||(n=!0),void 0===a.commandArgs?this._commandService.executeCommand(a.commandId).then(void 0,e=>this._notificationService.warn(e)):this._commandService.executeCommand(a.commandId,a.commandArgs).then(void 0,e=>this._notificationService.warn(e)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:a.commandId,from:"keybinding"})),n)}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class Ye{constructor(e,t,n){this._log=n,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(let t=0,n=e.length;t<n;t++){const n=e[t].command;n&&this._defaultBoundCommands.set(n,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=Ye.combine(e,t);for(let e=0,t=this._keybindings.length;e<t;e++){let t=this._keybindings[e];0!==t.keypressParts.length&&(t.when&&0===t.when.type||this._addKeyPress(t.keypressParts[0],t))}}static _isTargetedForRemoval(e,t,n,i,o){if(e.command!==i)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(o){if(!e.when)return!1;if(!o.equals(e.when))return!1}return!0}static combine(e,t){e=e.slice(0);let n=[];for(const i of t){if(!i.command||0===i.command.length||"-"!==i.command.charAt(0)){n.push(i);continue}const t=i.command.substr(1),o=i.keypressParts[0],r=i.keypressParts[1],s=i.when;for(let n=e.length-1;n>=0;n--)this._isTargetedForRemoval(e[n],o,r,t,s)&&e.splice(n,1)}return e.concat(n)}_addKeyPress(e,t){const n=this._map.get(e);if(void 0===n)return this._map.set(e,[t]),void this._addToLookupMap(t);for(let e=n.length-1;e>=0;e--){let i=n[e];if(i.command===t.command)continue;const o=i.keypressParts.length>1,r=t.keypressParts.length>1;o&&r&&i.keypressParts[1]!==t.keypressParts[1]||Ye.whenIsEntirelyIncluded(i.when,t.when)&&this._removeFromLookupMap(i)}n.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);if(void 0!==t)for(let n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}static whenIsEntirelyIncluded(e,t){return!t||!!e&&this._implies(e,t)}static _implies(e,t){const n=e=>9===e.type?e.expr:[e];let i=n(e.negate()).concat(n(t));for(let e=0;e<i.length;e++){const t=i[e].negate();for(let n=e+1;n<i.length;n++){const e=i[n];if(t.equals(e))return!0}}return!1}getKeybindings(){return this._keybindings}lookupKeybindings(e){let t=this._lookupMap.get(e);if(void 0===t||0===t.length)return[];let n=[],i=0;for(let e=t.length-1;e>=0;e--)n[i++]=t[e];return n}lookupPrimaryKeybinding(e){let t=this._lookupMap.get(e);return void 0===t||0===t.length?null:t[t.length-1]}resolve(e,t,n){this._log(`| Resolving ${n}${t?" chorded from "+t:""}`);let i=null;if(null!==t){const e=this._map.get(t);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=[];for(let t=0,o=e.length;t<o;t++){let o=e[t];o.keypressParts[1]===n&&i.push(o)}}else{const e=this._map.get(n);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=e}let o=this._findCommand(e,i);return o?null===t&&o.keypressParts.length>1&&null!==o.keypressParts[1]?(this._log(`\\ From ${i.length} keybinding entries, matched chord, when: ${Ze(o.when)}, source: ${Xe(o)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${i.length} keybinding entries, matched ${o.command}, when: ${Ze(o.when)}, source: ${Xe(o)}.`),{enterChord:!1,leaveChord:o.keypressParts.length>1,commandId:o.command,commandArgs:o.commandArgs,bubble:o.bubble}):(this._log(`\\ From ${i.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let n=t.length-1;n>=0;n--){let i=t[n];if(Ye.contextMatchesRules(e,i.when))return i}return null}static contextMatchesRules(e,t){return!t||t.evaluate(e)}}function Ze(e){return e?""+e.serialize():"no when condition"}function Xe(e){return e.isDefault?e.extensionId?"built-in extension "+e.extensionId:"built-in":e.extensionId?"user extension "+e.extensionId:"user"}var Qe=n(92);class Je{constructor(e,t,n,i,o,r){this.resolvedKeybinding=e,this.keypressParts=e?function(e){let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i)return t;t.push(i)}return t}(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=o,this.extensionId=r}}class et{constructor(e,t,n=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}toLabel(e,t,n){if(0===t.length)return null;const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=n(r);if(null===s)return null;i[o]=it(r,s,this.modifierLabels[e])}return i.join(" ")}}const tt=new et({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:Ke.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Ke.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Ke.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Ke.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),nt=new et({ctrlKey:Ke.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Ke.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:Ke.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Ke.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Ke.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Ke.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function it(e,t,n){if(null===t)return"";const i=[];return e.ctrlKey&&i.push(n.ctrlKey),e.shiftKey&&i.push(n.shiftKey),e.altKey&&i.push(n.altKey),e.metaKey&&i.push(n.metaKey),""!==t&&i.push(t),i.join(n.separator)}class ot extends De.c{constructor(e,t){if(super(),0===t.length)throw Object(H.b)("parts");this._os=e,this._parts=t}getLabel(){return tt.toLabel(this._os,this._parts,e=>this._getLabel(e))}getAriaLabel(){return nt.toLabel(this._os,this._parts,e=>this._getAriaLabel(e))}isChord(){return this._parts.length>1}getParts(){return this._parts.map(e=>this._getPart(e))}_getPart(e){return new De.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map(e=>this._getDispatchPart(e))}}class rt extends ot{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return De.b.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":De.b.toString(e.keyCode)}_getDispatchPart(e){return rt.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=De.b.toString(e.keyCode),t}}var st=n(49),at=n(169),lt=n(55),ct=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},dt=function(e,t){return function(n,i){t(n,i,e)}},ht=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class ut{constructor(e){this.disposed=!1,this.model=e,this._onDispose=new Oe.a}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onDispose.fire()}}let pt=class{constructor(e){this.modelService=e}setEditor(e){this.editor=e}createModelReference(e){let t=null;var n,i,o;return this.editor&&(n=this.editor,i=t=>this.findModel(t,e),o=t=>this.findModel(t.getOriginalEditor(),e)||this.findModel(t.getModifiedEditor(),e),t=Object(Re.b)(n)?i(n):o(n)),t?Promise.resolve(new I.c(new ut(t))):Promise.reject(new Error("Model not found"))}findModel(e,t){let n=this.modelService.getModel(t);return n&&n.uri.toString()!==t.toString()?null:n}};pt=ct([dt(0,W.a)],pt);class mt{show(){return mt.NULL_PROGRESS_RUNNER}showWhile(e,t){return Promise.resolve(void 0)}}mt.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class gt{confirm(e){return this.doConfirm(e).then(e=>({confirmed:e,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,i){return Promise.resolve({choice:0})}}class ft{info(e){return this.notify({severity:Ae.a.Info,message:e})}warn(e){return this.notify({severity:Ae.a.Warning,message:e})}error(e){return this.notify({severity:Ae.a.Error,message:e})}notify(e){switch(e.severity){case Ae.a.Error:console.error(e.message);break;case Ae.a.Warning:console.warn(e.message);break;default:console.log(e.message)}return ft.NO_OP}status(e,t){return I.a.None}}ft.NO_OP=new st.b;class bt{constructor(e){this._onWillExecuteCommand=new Oe.a,this._onDidExecuteCommand=new Oe.a,this._instantiationService=e}executeCommand(e,...t){const n=p.a.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const i=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(i)}catch(e){return Promise.reject(e)}}}class _t extends Ge{constructor(e,t,n,i,o,r){super(e,t,n,i,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(a.i(r,a.c.KEY_DOWN,e=>{let t=new Ie.a(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))}addDynamicKeybinding(e,t,n,i){const o=Object(De.f)(t,D.a),r=new I.b;return o&&(this._dynamicKeybindings.push({keybinding:o,command:e,when:i,weight1:1e3,weight2:0,extensionId:null}),r.add(Object(I.h)(()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){if(this._dynamicKeybindings[t].command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver({source:1})}}))),r.add(p.a.registerCommand(e,n)),this.updateResolver({source:1}),r}updateResolver(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(Qe.a.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new Ye(e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){let n=[],i=0;for(const o of e){const e=o.when||void 0,r=o.keybinding;if(r){const s=this.resolveKeybinding(r);for(const r of s)n[i++]=new Je(r,o.command,o.commandArgs,e,t,null)}else n[i++]=new Je(void 0,o.command,o.commandArgs,e,t,null)}return n}resolveKeybinding(e){return[new rt(e,D.a)]}resolveKeyboardEvent(e){let t=new De.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new rt(t,D.a)}}function vt(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof u.a)}class wt{constructor(){this._onDidChangeConfiguration=new Oe.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new qe(new He,new Ue)}getValue(e,t){const n="string"==typeof e?e:void 0,i=vt(e)?e:vt(t)?t:{};return this._configuration.getValue(n,i,void 0)}updateValues(e){const t={data:this._configuration.toData()};let n=[];for(const t of e){const[e,i]=t;this.getValue(e)!==i&&(this._configuration.updateValue(e,i),n.push(e))}if(n.length>0){const e=new $e({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}}class yt{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new Oe.a,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})})}getValue(e,t,n){const i=(We.a.isIPosition(t)?t:null)?"string"==typeof n?n:void 0:"string"==typeof t?t:void 0;return void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)}}let Ct=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"auto"!==n?n:D.d||D.f?"\n":"\r\n"}};Ct=ct([dt(0,ze.a)],Ct);class xt{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class St{constructor(){const e=u.a.from({scheme:St.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new at.b({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===St.SCHEME?this.workspace.folders[0]:null}}function kt(e,t,n){if(!t)return;if(!(e instanceof wt))return;let i=[];Object.keys(t).forEach(e=>{Object(Pe.d)(e)&&i.push(["editor."+e,t[e]]),n&&Object(Pe.c)(e)&&i.push(["diffEditor."+e,t[e]])}),i.length>0&&e.updateValues(i)}St.SCHEME="inmemory";class Et{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return ht(this,void 0,void 0,(function*(){const t=new Map;for(let n of e){if(!(n instanceof Me.c))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(n.resource);if(!e)throw new Error("bad edit - model not found");if("number"==typeof n.versionId&&e.getVersionId()!==n.versionId)throw new Error("bad state - model changed in the meantime");let i=t.get(e);i||(i=[],t.set(e,i)),i.push(Fe.a.replaceMove(M.a.lift(n.textEdit.range),n.textEdit.text))}let n=0,i=0;for(const[e,o]of t)e.pushStackElement(),e.pushEditOperations([],o,()=>[]),e.pushStackElement(),i+=1,n+=o.length;return{ariaSummary:B.x(lt.g.bulkEditServiceSummary,n,i)}}))}}class Tt{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}class Lt{constructor(e,t){this._codeEditorService=e,this._container=t,this.onLayout=Oe.b.None}get dimension(){return this._dimension||(this._dimension=a.y(window.document.body)),this._dimension}get container(){return this._container}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}}var Nt=n(66),It=n(164),Ot=n(194),Dt=n(191),At=n(139),Rt=n(24),Mt=n(10),Pt=n(84),Ft=n(18),Wt=n(50),zt=n(19),Bt=n(80),jt=n(121),Vt=n(83),Ut=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ht=function(e,t){return function(n,i){t(n,i,e)}};let qt=0,$t=!1;let Kt=class extends It.a{constructor(e,t,n,i,o,r,s,a,l,c){(t=t||{}).ariaLabel=t.ariaLabel||lt.h.editorViewAccessibleLabel,t.ariaLabel=t.ariaLabel+";"+lt.h.accessibilityHelpMessage,super(e,t,{},n,i,o,r,a,l,c),this._standaloneKeybindingService=s instanceof _t?s:null,$t||($t=!0,Nt.b(document.body))}addCommand(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let i="DYNAMIC_"+ ++qt,o=Mt.a.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,o),i}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),I.a.None;const t=e.id,n=e.label,i=Mt.a.and(Mt.a.equals("editorId",this.getId()),Mt.a.deserialize(e.precondition)),o=e.keybindings,r=Mt.a.and(i,Mt.a.deserialize(e.keybindingContext)),s=e.contextMenuGroupId||null,a=e.contextMenuOrder||0,l=(t,...n)=>Promise.resolve(e.run(this,...n)),c=new I.b,d=this.getId()+":"+t;if(c.add(p.a.registerCommand(d,l)),s){let e={command:{id:d,title:n},when:i,group:s,order:a};c.add(Rt.d.appendMenuItem(Rt.b.EditorContext,e))}if(Array.isArray(o))for(const e of o)c.add(this._standaloneKeybindingService.addDynamicKeybinding(d,e,l,r));let h=new Dt.a(d,n,n,i,l,this._contextKeyService);return this._actions[t]=h,c.add(Object(I.h)(()=>{delete this._actions[t]})),c}};Kt=Ut([Ht(2,Ft.a),Ht(3,s.a),Ht(4,p.b),Ht(5,Mt.b),Ht(6,Wt.a),Ht(7,zt.c),Ht(8,st.a),Ht(9,Bt.b)],Kt);let Gt=class extends Kt{constructor(e,t,n,i,o,r,s,a,l,c,d,h,u){kt(h,t,!1);const p=c.registerEditorContainer(e);"string"==typeof(t=t||{}).theme&&c.setTheme(t.theme);let m,g=t.model;if(delete t.model,super(e,t,i,o,r,s,a,c,d,u),this._contextViewService=l,this._configurationService=h,this._standaloneThemeService=c,this._register(n),this._register(p),void 0===g?(m=self.monaco.editor.createModel(t.value||"",t.language||"text/plain"),this._ownsModel=!0):(m=g,this._ownsModel=!1),this._attachModel(m),m){let e={oldModelUrl:null,newModelUrl:m.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){kt(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),super.updateOptions(e)}_attachModel(e){super._attachModel(e),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};Gt=Ut([Ht(3,Ft.a),Ht(4,s.a),Ht(5,p.b),Ht(6,Mt.b),Ht(7,Wt.a),Ht(8,Pt.b),Ht(9,At.a),Ht(10,st.a),Ht(11,ze.a),Ht(12,Bt.b)],Gt);let Yt=class extends Ot.a{constructor(e,t,n,i,o,r,s,a,l,c,d,h,u,p,m){kt(h,t,!0);const g=c.registerEditorContainer(e);"string"==typeof(t=t||{}).theme&&(t.theme=c.setTheme(t.theme)),super(e,t,m,a,o,i,l,c,d,u,p),this._contextViewService=s,this._configurationService=h,this._standaloneThemeService=c,this._register(n),this._register(g),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(e){kt(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),super.updateOptions(e)}_createInnerEditor(e,t,n){return e.createInstance(Kt,t,n)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};Yt=Ut([Ht(3,Ft.a),Ht(4,Mt.b),Ht(5,Wt.a),Ht(6,Pt.b),Ht(7,T.a),Ht(8,s.a),Ht(9,At.a),Ht(10,st.a),Ht(11,ze.a),Ht(12,Pt.a),Ht(13,Vt.a),Ht(14,jt.a)],Yt);var Zt=n(109);class Xt{constructor(e){this._languageIdentifier=e}getId(){return this._languageIdentifier.language}}var Qt=n(42),Jt=n(187);let en=[],tn=[],nn=[];function on(e,t=!1){const n=function(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(Qt.e.sep)>=0}}(e);en.push(n),n.userConfigured?nn.push(n):tn.push(n),t&&!n.userConfigured&&en.forEach(e=>{e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn(`Overwriting extension <<${n.extension}>> to now point to mime <<${n.mime}>>`),n.filename&&e.filename===n.filename&&console.warn(`Overwriting filename <<${n.filename}>> to now point to mime <<${n.mime}>>`),n.filepattern&&e.filepattern===n.filepattern&&console.warn(`Overwriting filepattern <<${n.filepattern}>> to now point to mime <<${n.mime}>>`),n.firstline&&e.firstline===n.firstline&&console.warn(`Overwriting firstline <<${n.firstline}>> to now point to mime <<${n.mime}>>`))})}function rn(e,t){let n;if(e)switch(e.scheme){case d.b.file:n=e.fsPath;break;case d.b.data:n=h.a.parseMetaData(e).get(h.a.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();const i=Object(Qt.a)(n),o=sn(n,i,nn);if(o)return[o,"text/plain"];const r=sn(n,i,tn);if(r)return[r,"text/plain"];if(t){const e=function(e){Object(B.U)(e)&&(e=e.substr(1));if(e.length>0)for(let t=en.length-1;t>=0;t--){const n=en[t];if(!n.firstline)continue;const i=e.match(n.firstline);if(i&&i.length>0)return n.mime}return null}(t);if(e)return[e,"text/plain"]}return["application/unknown"]}function sn(e,t,n){let i=null,o=null,r=null;for(let s=n.length-1;s>=0;s--){const a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){const n=a.filepatternOnPath?e:t;Object(Jt.a)(a.filepatternLowercase,n)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&t.endsWith(a.extensionLowercase)&&(r=a)}return i?i.mime:o?o.mime:r?r.mime:null}var an=n(146),ln=n(56);const cn=Object.prototype.hasOwnProperty;class dn extends I.a{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new Oe.a),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=t,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(an.a.onDidChangeLanguages(e=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};const e=an.a.getLanguages();this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{let t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),ln.a.as(Ve.a.Configuration).registerOverrideIdentifiers(an.a.getLanguages().map(e=>e.id)),this._onDidChange.fire()}_getLanguageId(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];const t=this._nextLanguageId2++;return this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t,t}_registerLanguage(e){const t=e.id;let n;if(cn.call(this._languages,t))n=this._languages[t];else{const e=this._getLanguageId(t);n={identifier:new k.r(t,e),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[t]=n}this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),i=t.mimetypes[0]),i||(i="text/x-"+n,e.mimetypes.push(i)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(let e of t.extensions)on({id:n,mime:i,extension:e},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(let o of t.filenames)on({id:n,mime:i,filename:o},this._warnOnOverwrite),e.filenames.push(o);if(Array.isArray(t.filenamePatterns))for(let e of t.filenamePatterns)on({id:n,mime:i,filepattern:e},this._warnOnOverwrite);if("string"==typeof t.firstLine&&t.firstLine.length>0){let e=t.firstLine;"^"!==e.charAt(0)&&(e="^"+e);try{let t=new RegExp(e);B.P(t)||on({id:n,mime:i,firstline:t},this._warnOnOverwrite)}catch(e){Object(H.e)(e)}}e.aliases.push(n);let o=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(o=0===t.aliases.length?[null]:t.aliases),null!==o)for(const t of o)t&&0!==t.length&&e.aliases.push(t);let r=null!==o&&o.length>0;if(r&&null===o[0]);else{let t=(r?o[0]:null)||n;!r&&e.name||(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration)}isRegisteredMode(e){return!!cn.call(this._mimeTypesMap,e)||cn.call(this._languages,e)}getModeIdForLanguageNameLowercase(e){return cn.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null}extractModeIds(e){return e?e.split(",").map(e=>e.trim()).map(e=>cn.call(this._mimeTypesMap,e)?this._mimeTypesMap[e].language:e).filter(e=>cn.call(this._languages,e)):[]}getLanguageIdentifier(e){if(e===E.b||0===e)return E.a;let t;if("string"==typeof e)t=e;else if(t=this._languageIdToLanguage[e],!t)return null;return cn.call(this._languages,t)?this._languages[t].identifier:null}getModeIdsFromFilepathOrFirstLine(e,t){if(!e&&!t)return[];let n=rn(e,t);return this.extractModeIds(n.join(","))}}class hn extends I.a{constructor(e,t){super(),this._onDidChange=this._register(new Oe.a),this.onDidChange=this._onDidChange.event,this._selector=t,this.languageIdentifier=this._selector(),this._register(e(()=>this._evaluate()))}_evaluate(){let e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))}}class un{constructor(e=!1){this._onDidCreateMode=new Oe.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new Oe.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new dn(!0,e),this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire())}isRegisteredMode(e){return this._registry.isRegisteredMode(e)}getModeIdForLanguageName(e){return this._registry.getModeIdForLanguageNameLowercase(e)}getModeIdByFilepathOrFirstLine(e,t){const n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return Object(j.k)(n,null)}getModeId(e){const t=this._registry.extractModeIds(e);return Object(j.k)(t,null)}getLanguageIdentifier(e){return this._registry.getLanguageIdentifier(e)}create(e){return new hn(this.onLanguagesMaybeChanged,()=>{const t=this.getModeId(e);return this._createModeAndGetLanguageIdentifier(t)})}createByFilepathOrFirstLine(e,t){return new hn(this.onLanguagesMaybeChanged,()=>{const n=this.getModeIdByFilepathOrFirstLine(e,t);return this._createModeAndGetLanguageIdentifier(n)})}_createModeAndGetLanguageIdentifier(e){const t=this.getLanguageIdentifier(e||"plaintext")||E.a;return this._getOrCreateMode(t.language),t}triggerMode(e){const t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")}_getOrCreateMode(e){if(!this._instantiatedModes.hasOwnProperty(e)){let t=this.getLanguageIdentifier(e)||E.a;this._instantiatedModes[e]=new Xt(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]}}var pn=n(183);class mn extends I.a{constructor(){super(),this._onCodeEditorAdd=this._register(new Oe.a),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new Oe.a),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new Oe.a),this._onDiffEditorRemove=this._register(new Oe.a),this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;const t=this.listCodeEditors();for(const n of t){if(n.hasTextFocus())return n;n.hasWidgetFocus()&&(e=n)}return e}setModelProperty(e,t,n){const i=e.toString();let o;this._modelProperties.has(i)?o=this._modelProperties.get(i):(o=new Map,this._modelProperties.set(i,o)),o.set(t,n)}getModelProperty(e,t){const n=e.toString();if(this._modelProperties.has(n)){return this._modelProperties.get(n).get(t)}}}var gn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},fn=function(e,t){return function(n,i){t(n,i,e)}};class bn{constructor(e,t,n){this._parent=e,this._editorId=t,this._styleSheet=n,this._refCount=0}ref(){this._refCount++}unref(){var e;this._refCount--,0===this._refCount&&(null===(e=this._styleSheet.parentNode)||void 0===e||e.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(e,t){this._styleSheet.sheet.insertRule(e,t)}removeRulesContainingSelector(e){a.P(e,this._styleSheet)}}class _n{constructor(e){this._styleSheet=e}ref(){}unref(){}insertRule(e,t){this._styleSheet.sheet.insertRule(e,t)}removeRulesContainingSelector(e){a.P(e,this._styleSheet)}}let vn=class extends mn{constructor(e,t=null){super(),this._decorationOptionProviders=new Map,this._editorStyleSheets=new Map,this._globalStyleSheet=t||null,this._themeService=e}_getOrCreateGlobalStyleSheet(){return this._globalStyleSheet||(this._globalStyleSheet=new _n(a.v())),this._globalStyleSheet}_getOrCreateStyleSheet(e){if(!e)return this._getOrCreateGlobalStyleSheet();const t=e.getContainerDomNode();if(!a.O(t))return this._getOrCreateGlobalStyleSheet();const n=e.getId();if(!this._editorStyleSheets.has(n)){const e=new bn(this,n,a.v(t));this._editorStyleSheets.set(n,e)}return this._editorStyleSheets.get(n)}_removeEditorStyleSheets(e){this._editorStyleSheets.delete(e)}registerDecorationType(e,t,n,i){let o=this._decorationOptionProviders.get(e);if(!o){const r=this._getOrCreateStyleSheet(i),s={styleSheet:r,key:e,parentTypeKey:n,options:t||Object.create(null)};o=n?new wn(this._themeService,r,s):new yn(this._themeService,r,s),this._decorationOptionProviders.set(e,o)}o.refCount++}removeDecorationType(e){const t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(t=>t.removeDecorations(e))))}resolveDecorationOptions(e,t){const n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)}};vn=gn([fn(0,zt.c)],vn);class wn{constructor(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new xn(3,n,e),this._afterContentRules=new xn(4,n,e)}getOptions(e,t){const n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class yn{constructor(e,t,n){this._disposables=new I.b,this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;const i=t=>{const i=new xn(t,n,e);if(this._disposables.add(i),i.hasContent)return i.className};this.className=i(0);const o=(t=>{const i=new xn(t,n,e);return this._disposables.add(i),i.hasContent?{className:i.className,hasLetterSpacing:i.hasLetterSpacing}:null})(1);o&&(this.inlineClassName=o.className,this.inlineClassNameAffectsLetterSpacing=o.hasLetterSpacing),this.beforeContentClassName=i(3),this.afterContentClassName=i(4),this.glyphMarginClassName=i(2);const r=n.options;this.isWholeLine=Boolean(r.isWholeLine),this.stickiness=r.rangeBehavior;const s=r.light&&r.light.overviewRulerColor||r.overviewRulerColor,a=r.dark&&r.dark.overviewRulerColor||r.overviewRulerColor;void 0===s&&void 0===a||(this.overviewRuler={color:s||a,darkColor:a||s,position:r.overviewRulerLane||S.d.Center})}getOptions(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}const Cn={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"};class xn{constructor(e,t,n){this._theme=n.getColorTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let i=Sn.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(i=i+" "+Sn.getClassName(this._providerArgs.parentTypeKey,e)),this._className=i,this._unThemedSelector=Sn.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onDidColorThemeChange(e=>{this._theme=n.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){const e=this._providerArgs.options;let t,n,i;switch(this._ruleType){case 0:t=this.getCSSTextForModelDecorationClassName(e),n=this.getCSSTextForModelDecorationClassName(e.light),i=this.getCSSTextForModelDecorationClassName(e.dark);break;case 1:t=this.getCSSTextForModelDecorationInlineClassName(e),n=this.getCSSTextForModelDecorationInlineClassName(e.light),i=this.getCSSTextForModelDecorationInlineClassName(e.dark);break;case 2:t=this.getCSSTextForModelDecorationGlyphMarginClassName(e),n=this.getCSSTextForModelDecorationGlyphMarginClassName(e.light),i=this.getCSSTextForModelDecorationGlyphMarginClassName(e.dark);break;case 3:t=this.getCSSTextForModelDecorationContentClassName(e.before),n=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.before),i=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.before);break;case 4:t=this.getCSSTextForModelDecorationContentClassName(e.after),n=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.after),i=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}const o=this._providerArgs.styleSheet;let r=!1;t.length>0&&(o.insertRule(`${this._unThemedSelector} {${t}}`,0),r=!0),n.length>0&&(o.insertRule(`.vs${this._unThemedSelector} {${n}}`,0),r=!0),i.length>0&&(o.insertRule(`.vs-dark${this._unThemedSelector}, .hc-black${this._unThemedSelector} {${i}}`,0),r=!0),this._hasContent=r}_removeCSS(){this._providerArgs.styleSheet.removeRulesContainingSelector(this._unThemedSelector)}getCSSTextForModelDecorationClassName(e){if(!e)return"";const t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")}getCSSTextForModelDecorationInlineClassName(e){if(!e)return"";const t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")}getCSSTextForModelDecorationContentClassName(e){if(!e)return"";const t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(B.x(Cn.contentIconPath,a.q(u.a.revive(e.contentIconPath)))),"string"==typeof e.contentText){const n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(B.x(Cn.contentText,n))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")}getCSSTextForModelDecorationGlyphMarginClassName(e){if(!e)return"";const t=[];return void 0!==e.gutterIconPath&&(t.push(B.x(Cn.gutterIconPath,a.q(u.a.revive(e.gutterIconPath)))),void 0!==e.gutterIconSize&&t.push(B.x(Cn.gutterIconSize,e.gutterIconSize))),t.join("")}collectBorderSettingsCSSText(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(B.x("box-sizing: border-box;")),!0)}collectCSSText(e,t,n){const i=n.length;for(let i of t){const t=this.resolveValue(e[i]);"string"==typeof t&&n.push(B.x(Cn[i],t))}return n.length!==i}resolveValue(e){if(Object(x.b)(e)){this._usesThemeColors=!0;const t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e}}class Sn{static getClassName(e,t){return"ced-"+e+"-"+t}static getSelector(e,t,n){let i=".monaco-editor ."+this.getClassName(e,n);return t&&(i=i+"."+this.getClassName(t,n)),3===n?i+="::before":4===n&&(i+="::after"),i}}class kn extends vn{getActiveCodeEditor(){return null}openCodeEditor(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){if(!this.findModel(e,t.resource)){if(t.resource){const n=t.resource.scheme;if(n===d.b.http||n===d.b.https)return Object(a.cb)(t.resource.toString()),e}return null}const n=t.options?t.options.selection:null;if(n)if("number"==typeof n.endLineNumber&&"number"==typeof n.endColumn)e.setSelection(n),e.revealRangeInCenter(n,1);else{const t={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}return e}findModel(e,t){const n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n}}var En=n(16);class Tn{constructor(e,t,n,i,o){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o}}const Ln=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class Nn{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(null===e)return 0;const t=e.match(Ln);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();let n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=En.a.fromHex("#"+e),n)}getColorMap(){return this._id2color.slice(0)}}class In{constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];let t=[],n=0;for(let i=0,o=e.length;i<o;i++){let o=e[i],r=-1;if("string"==typeof o.fontStyle){r=0;let e=o.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++){switch(e[t]){case"italic":r|=1;break;case"bold":r|=2;break;case"underline":r|=4}}}let s=null;"string"==typeof o.foreground&&(s=o.foreground);let a=null;"string"==typeof o.background&&(a=o.background),t[n++]=new Tn(o.token||"",i,r,s,a)}return t}(e),t)}static createFromParsedTokenTheme(e,t){return function(e,t){e.sort((e,t)=>{let n=function(e,t){if(e<t)return-1;if(e>t)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index});let n=0,i="000000",o="ffffff";for(;e.length>=1&&""===e[0].token;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(i=t.foreground),null!==t.background&&(o=t.background)}let r=new Nn;for(let e of t)r.getId(e);let s=r.getId(i),a=r.getId(o),l=new Dn(n,s,a),c=new An(l);for(let t=0,n=e.length;t<n;t++){let n=e[t];c.insert(n.token,n.fontStyle,r.getId(n.foreground),r.getId(n.background))}return new In(r,c)}(e,t)}getColorMap(){return this._colorMap.getColorMap()}_match(e){return this._root.match(e)}match(e,t){let n=this._cache.get(t);if(void 0===n){let e=this._match(t),i=function(e){let t=e.match(On);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(t);n=(e.metadata|i<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0}}const On=/\b(comment|string|regex|regexp)\b/;class Dn{constructor(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new Dn(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class An{constructor(e){this._mainRule=e,this._children=new Map}match(e){if(""===e)return this._mainRule;let t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));let o=this._children.get(t);return void 0!==o?o.match(n):this._mainRule}insert(e,t,n,i){if(""===e)return void this._mainRule.acceptOverwrite(t,n,i);let o,r,s=e.indexOf(".");-1===s?(o=e,r=""):(o=e.substring(0,s),r=e.substring(s+1));let a=this._children.get(o);void 0===a&&(a=new An(this._mainRule.clone()),this._children.set(o,a)),a.insert(r,t,n,i)}}var Rn=n(57),Mn=n(5);const Pn={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Mn.s]:"#FFFFFE",[Mn.B]:"#000000",[Mn.J]:"#E5EBF1",[Rn.h]:"#D3D3D3",[Rn.a]:"#939393",[Mn.Q]:"#ADD6FF4D"}},Fn={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Mn.s]:"#1E1E1E",[Mn.B]:"#D4D4D4",[Mn.J]:"#3A3D41",[Rn.h]:"#404040",[Rn.a]:"#707070",[Mn.Q]:"#ADD6FF26"}},Wn={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Mn.s]:"#000000",[Mn.B]:"#FFFFFF",[Rn.h]:"#FFFFFF",[Rn.a]:"#FFFFFF"}};var zn=n(154);const Bn=ln.a.as(Mn.a.ColorContribution),jn=ln.a.as(zt.a.ThemingContribution);class Vn{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;let n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const e=new Map;for(let t in this.themeData.colors)e.set(t,En.a.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){let t=Hn(this.themeData.base);for(let n in t.colors)e.has(n)||e.set(n,En.a.fromHex(t.colors[n]))}this.colors=e}return this.colors}getColor(e,t){const n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=Bn.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){let n=Hn(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=In.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,n){const i=this.tokenTheme._match([e].concat(t).join(".")).metadata,o=k.B.getForeground(i),r=k.B.getFontStyle(i);return{foreground:o,italic:Boolean(1&r),bold:Boolean(2&r),underline:Boolean(4&r)}}}function Un(e){return"vs"===e||"vs-dark"===e||"hc-black"===e}function Hn(e){switch(e){case"vs":return Pn;case"vs-dark":return Fn;case"hc-black":return Wn}}function qn(e){let t=Hn(e);return new Vn(e,t)}class $n extends I.a{constructor(){super(),this._onColorThemeChange=this._register(new Oe.a),this.onDidColorThemeChange=this._onColorThemeChange.event,this._environment=Object.create(null),this._knownThemes=new Map,this._knownThemes.set("vs",qn("vs")),this._knownThemes.set("vs-dark",qn("vs-dark")),this._knownThemes.set("hc-black",qn("hc-black")),this._codiconCSS=zn.a.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this.setTheme("vs"),zn.a.onDidChange(()=>{this._codiconCSS=zn.a.getCSS(),this._updateCSS()})}registerEditorContainer(e){return a.O(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=a.v(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._allCSS,this._styleElements.push(this._globalStyleElement)),I.a.None}_registerShadowDomContainer(e){const t=a.v(e);return t.className="monaco-colors",t.innerHTML=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e<this._styleElements.length;e++)if(this._styleElements[e]===t)return void this._styleElements.splice(e,1)}}}defineTheme(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!Un(t.base)&&!Un(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new Vn(e,t)),Un(e)&&this._knownThemes.forEach(t=>{t.base===e&&t.notifyBaseUpdated()}),this._theme&&this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setTheme(e){let t;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._theme===t)return t.id;this._theme=t;let n=[],i={},o={addRule:e=>{i[e]||(n.push(e),i[e]=!0)}};jn.getThemingParticipants().forEach(e=>e(t,o,this._environment));let r=t.tokenTheme.getColorMap();return o.addRule(function(e){let t=[];for(let n=1,i=e.length;n<i;n++){let i=e[n];t[n]=`.mtk${n} { color: ${i}; }`}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.join("\n")}(r)),this._themeCSS=n.join("\n"),this._updateCSS(),k.C.setColorMap(r),this._onColorThemeChange.fire(t),t.id}_updateCSS(){this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._styleElements.forEach(e=>e.innerHTML=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var Kn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Gn=function(e,t){return function(n,i){t(n,i,e)}};class Yn{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}setValue(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)}removeValue(e){return e in this._value&&(delete this._value[e],!0)}getValue(e){const t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t}}class Zn extends Yn{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}Zn.INSTANCE=new Zn;class Xn extends Yn{constructor(e,t,n){super(e,null),this._configurationService=t,this._values=new Map,this._listener=this._configurationService.onDidChangeConfiguration(e=>{if(6===e.source){const e=Array.from(this._values.keys());this._values.clear(),n.fire(new ei(e))}else{const t=[];for(const n of e.affectedKeys){const e="config."+n;this._values.has(e)&&(this._values.delete(e),t.push(e))}n.fire(new ei(t))}})}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf(Xn._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(Xn._keyPrefix.length),n=this._configurationService.getValue(t);let i=void 0;switch(typeof n){case"number":case"boolean":case"string":i=n;break;default:Array.isArray(n)&&(i=JSON.stringify(n))}return this._values.set(e,i),i}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}Xn._keyPrefix="config.";class Qn{constructor(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class Jn{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class ei{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class ti{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class ni{constructor(e){this._onDidChangeContext=new Oe.d({merge:e=>new ti(e)}),this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Qn(this,e,t)}get onDidChangeContext(){return this._onDidChangeContext.event}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new oi(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const t=this.getContextValuesContainer(this._myContextId);return Ye.contextMatchesRules(t,e)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new Jn(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Jn(e))}getContext(e){return this._isDisposed?Zn.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute("data-keybinding-context")){const t=e.getAttribute("data-keybinding-context");return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))}}let ii=class extends ni{constructor(e){super(0),this._contexts=new Map,this._toDispose=new I.b,this._lastContextId=0;const t=new Xn(this._myContextId,e,this._onDidChangeContext);this._contexts.set(this._myContextId,t),this._toDispose.add(t)}dispose(){this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return this._isDisposed?Zn.INSTANCE:this._contexts.get(e)||Zn.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let t=++this._lastContextId;return this._contexts.set(t,new Yn(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};ii=Kn([Gn(0,ze.a)],ii);class oi extends ni{constructor(e,t){super(e.createChildContext()),this._parent=e,t&&(this._domNode=t,this._domNode.setAttribute("data-keybinding-context",String(this._myContextId)))}dispose(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute("data-keybinding-context"),this._domNode=void 0)}get onDidChangeContext(){return Oe.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)}getContextValuesContainer(e){return this._isDisposed?Zn.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}p.a.registerCommand(Mt.d,(function(e,t,n){e.get(Mt.b).createKey(String(t),n)}));n(259);var ri=n(60),si=n(116),ai=n(105),li=(n(261),n(99)),ci=n(138);function di(e,t,n){const i=n.offset+n.size;return 0===n.position?t<=e-i?i:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-i?i:0}class hi extends I.a{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=I.a.None,this.toDisposeOnSetContainer=I.a.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=a.a(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,a.K(this.view),this.setContainer(e,t),this._register(Object(I.h)(()=>this.setContainer(null,1)))}setContainer(e,t){if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,a.S(this.shadowRootHostElement),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM?(this.shadowRootHostElement=a.a(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=`\n\t\t\t\t\t<style>\n\t\t\t\t\t\t${ui}\n\t\t\t\t\t</style>\n\t\t\t\t`,this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(a.a("slot"))):this.container.appendChild(this.view);const n=new I.b;hi.BUBBLE_UP_EVENTS.forEach(e=>{n.add(a.n(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),hi.BUBBLE_DOWN_EVENTS.forEach(e=>{n.add(a.n(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=n}}show(e){this.isVisible()&&this.hide(),a.s(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",a.Z(this.view),this.toDisposeOnClean=e.render(this.view)||I.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||D.c&&ci.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let e,t=this.delegate.getAnchor();if(a.M(t)){let n=a.C(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};const n=a.H(this.view),i=a.G(this.view),o=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,s={offset:e.top-window.pageYOffset,size:e.height,position:0===o?0:1};let l;l=0===r?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};const c=di(window.innerHeight,i,s)+window.pageYOffset;li.a.intersects({start:c,end:c+i},{start:s.offset,end:s.offset+s.size})&&(l.size=e.width,1===r&&(l.offset=e.left));const d=di(window.innerWidth,n,l);a.R(this.view,"top","bottom","left","right"),a.e(this.view,0===o?"bottom":"top"),a.e(this.view,0===r?"left":"right"),a.ab(this.view,"fixed",this.useFixedPosition);const h=a.C(this.container);this.view.style.top=c-(this.useFixedPosition?a.C(this.view).top:h.top)+"px",this.view.style.left=d-(this.useFixedPosition?a.C(this.view).left:h.left)+"px",this.view.style.width="initial"}hide(e){const t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),a.K(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!a.L(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}hi.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],hi.BUBBLE_DOWN_EVENTS=["click"];let ui='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n';var pi=n(17),mi=n(123),gi=n(34),fi=n(69);const bi=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,_i=/(&)?(&)([^\s&])/g,vi=Object(pi.e)("menu-selection",pi.a.check),wi=Object(pi.e)("menu-submenu",pi.a.chevronRight);var yi;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(yi||(yi={}));class Ci extends si.a{constructor(e,t,n={}){Object(a.e)(e,"monaco-menu-container"),e.setAttribute("role","presentation");const i=document.createElement("div");Object(a.e)(i,"monaco-menu"),i.setAttribute("role","presentation"),super(i,{orientation:2,actionViewItemProvider:e=>this.doGetActionViewItem(e,n,o),context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,triggerKeys:{keys:[3,...D.f||D.d?[10]:[]],keyDown:!0}}),this.menuElement=i,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new I.b),this.initializeStyleSheet(e),Object(a.i)(i,a.c.KEY_DOWN,e=>{new Ie.a(e).equals(2)&&e.preventDefault()}),n.enableMnemonics&&this.menuDisposables.add(Object(a.i)(i,a.c.KEY_DOWN,e=>{const t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){a.b.stop(e,!0);const n=this.mnemonics.get(t);if(1===n.length&&(n[0]instanceof Si&&n[0].container&&this.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){const e=n.shift();e&&e.container&&(this.focusItemByElement(e.container),n.push(e)),this.mnemonics.set(t,n)}}})),D.d&&this._register(Object(a.i)(i,a.c.KEY_DOWN,e=>{const t=new Ie.a(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),a.b.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),a.b.stop(e,!0))})),this._register(Object(a.i)(this.domNode,a.c.MOUSE_OUT,e=>{let t=e.relatedTarget;Object(a.L)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())})),this._register(Object(a.i)(this.actionsList,a.c.MOUSE_OVER,e=>{let t=e.target;if(t&&Object(a.L)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(Object(a.I)(t,"action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}}));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new ai.a(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const r=this.scrollableElement.getDomNode();r.style.position="",this._register(Object(a.i)(r,a.c.MOUSE_UP,e=>{e.preventDefault()})),i.style.maxHeight=Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)+"px",t=t.filter(e=>{var t;return!(null===(t=n.submenuIds)||void 0===t?void 0:t.has(e.id))||(console.warn("Found submenu cycle: "+e.id),!1)}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(e=>!(e instanceof ki)).forEach((e,t,n)=>{e.updatePositionInSet(t+1,n.length)})}initializeStyleSheet(e){Object(a.O)(e)?(this.styleSheet=Object(a.v)(e),this.styleSheet.innerHTML=Ei):(Ci.globalStyleSheet||(Ci.globalStyleSheet=Object(a.v)(),Ci.globalStyleSheet.innerHTML=Ei),this.styleSheet=Ci.globalStyleSheet)}style(e){const t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:"",i=e.backgroundColor?""+e.backgroundColor:"",o=e.borderColor?"1px solid "+e.borderColor:"",r=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.viewItems&&this.viewItems.forEach(t=>{(t instanceof xi||t instanceof ki)&&t.style(e)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t<this.actionsList.children.length;t++){if(e===this.actionsList.children[t]){this.focusedItem=t;break}}}updateFocus(e){super.updateFocus(e,!0),void 0!==this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,n){if(e instanceof ri.c)return new ki(t.context,e,{icon:!0});if(e instanceof ri.d){const i=new Si(e,e.actions,n,Object.assign(Object.assign({},t),{submenuIds:new Set([...t.submenuIds||[],e.id])}));if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}{const n={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const i=t.getKeyBinding(e);if(i){const e=i.getLabel();e&&(n.keybinding=e)}}const i=new xi(t.context,e,n);if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}}}class xi extends mi.b{constructor(e,t,n={}){if(n.isMenu=!0,super(t,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass="",this.options.label&&n.enableMnemonics){let e=this.getAction().label;if(e){let t=bi.exec(e);t&&(this.mnemonic=(t[1]?t[1]:t[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new N.d(()=>{this.element&&(this._register(Object(a.i)(this.element,a.c.MOUSE_UP,e=>{if(a.b.stop(e,!0),gi.h){if(new fi.a(e).rightButton)return;this.onClick(e)}setTimeout(()=>{this.onClick(e)},0)})),this._register(Object(a.i)(this.element,a.c.CONTEXT_MENU,e=>{a.b.stop(e,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=Object(a.p)(this.element,Object(a.a)("a.action-menu-item")),this._action.id===ri.c.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(a.p)(this.item,Object(a.a)("span.menu-item-check"+vi.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(a.p)(this.item,Object(a.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(a.p)(this.item,Object(a.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))}updateLabel(){if(this.label&&this.options.label){Object(a.s)(this.label);let e=Object(pi.h)(this.getAction().label);if(e){const t=function(e){const t=bi,n=t.exec(e);if(!n)return e;const i=!n[1];return e.replace(t,i?"$2$3":"").trim()}(e);this.options.enableMnemonics||(e=t),this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));const n=bi.exec(e);if(n){e=B.u(e),_i.lastIndex=0;let t=_i.exec(e);for(;t&&t[1];)t=_i.exec(e);const i=e=>e.replace(/&&/g,"&");t?this.label.append(B.K(i(e.substr(0,t.index))," "),Object(a.a)("u",{"aria-hidden":"true"},t[3]),B.Q(i(e.substr(t.index+t[0].length))," ")):this.label.innerText=i(e).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=e.replace(/&&/g,"&").trim()}}}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Ke.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)}updateClass(){this.cssClass&&this.item&&Object(a.R)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(a.e)(this.label,"icon"),this.cssClass&&Object(a.f)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(a.Q)(this.label,"icon")}updateEnabled(){this.getAction().enabled?(this.element&&Object(a.Q)(this.element,"disabled"),this.item&&(Object(a.Q)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(a.e)(this.element,"disabled"),this.item&&(Object(a.e)(this.item,"disabled"),Object(a.T)(this.item)))}updateChecked(){this.item&&(this.getAction().checked?(Object(a.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(a.Q)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const e=this.element&&Object(a.I)(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}style(e){this.menuStyle=e,this.applyStyle()}}class Si extends xi{constructor(e,t,n,i){super(e,e,i),this.submenuActions=t,this.parentData=n,this.submenuOptions=i,this.mysubmenu=null,this.submenuDisposables=this._register(new I.b),this.mouseOver=!1,this.expandDirection=i&&void 0!==i.expandDirection?i.expandDirection:yi.Right,this.showScheduler=new N.d(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new N.d(()=>{this.element&&!Object(a.L)(Object(a.x)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(Object(a.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(a.p)(this.item,Object(a.a)("span.submenu-indicator"+wi.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(a.i)(this.element,a.c.KEY_UP,e=>{let t=new Ie.a(e);(t.equals(17)||t.equals(3))&&(a.b.stop(e,!0),this.createSubmenu(!0))})),this._register(Object(a.i)(this.element,a.c.KEY_DOWN,e=>{let t=new Ie.a(e);Object(a.x)()===this.item&&(t.equals(17)||t.equals(3))&&a.b.stop(e,!0)})),this._register(Object(a.i)(this.element,a.c.MOUSE_OVER,e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(Object(a.i)(this.element,a.c.MOUSE_LEAVE,e=>{this.mouseOver=!1})),this._register(Object(a.i)(this.element,a.c.FOCUS_OUT,e=>{this.element&&!Object(a.L)(Object(a.x)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}onClick(e){a.b.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,n,i){const o={top:0,left:0};return o.left=di(e.width,t.width,{position:i===yi.Right?0:1,offset:n.left,size:n.width}),o.left>=n.left&&o.left<n.left+n.width&&(n.left+10+t.width<=e.width&&(o.left=n.left+10),n.top+=10,n.height=0),o.top=di(e.height,t.height,{position:0,offset:n.top,size:0}),o.top+t.height===n.top&&o.top+n.height+t.height<=e.height&&(o.top+=n.height),o}createSubmenu(e=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(a.p)(this.element,Object(a.a)("div.monaco-submenu")),Object(a.f)(this.submenuContainer,"menubar-menu-items-holder","context-view");const t=getComputedStyle(this.parentData.parent.domNode),n=parseFloat(t.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new Ci(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const i=this.element.getBoundingClientRect(),o={top:i.top-n,left:i.left,height:i.height+2*n,width:i.width},r=this.submenuContainer.getBoundingClientRect(),{top:s,left:l}=this.calculateSubmenuMenuLayout({height:window.innerHeight,width:window.innerWidth},r,o,this.expandDirection);this.submenuContainer.style.left=l+"px",this.submenuContainer.style.top=s+"px",this.submenuDisposables.add(Object(a.i)(this.submenuContainer,a.c.KEY_UP,e=>{new Ie.a(e).equals(15)&&(a.b.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(a.i)(this.submenuContainer,a.c.KEY_DOWN,e=>{new Ie.a(e).equals(15)&&a.b.stop(e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;const e=this.element&&Object(a.I)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=e?""+e:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class ki extends mi.a{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")}}let Ei=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${Object(zn.b)(vi)}\n${Object(zn.b)(wi)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n:host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n`;var Ti=n(93),Li=n(44);class Ni{constructor(e,t,n,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;let n;this.focusToReturn=document.activeElement;let i=Object(a.M)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,render:i=>{let o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),this.options.blockMouse&&(this.block=i.appendChild(Object(a.a)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",Object(Li.a)(this.block,a.c.MOUSE_DOWN)(e=>e.stopPropagation()));const r=new I.b,s=e.actionRunner||new ri.b;return s.onDidBeforeRun(this.onActionRun,this,r),s.onDidRun(this.onDidActionRun,this,r),n=new Ci(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:s,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)}),r.add(Object(Ti.c)(n,this.themeService)),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,r),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,r),Object(Li.a)(window,a.c.BLUR)(()=>{this.contextViewService.hideContextView(!0)},null,r),Object(Li.a)(window,a.c.MOUSE_DOWN)(e=>{if(e.defaultPrevented)return;let t=new fi.a(e),n=t.target;if(!t.rightButton){for(;n;){if(n===i)return;n=n.parentElement}this.contextViewService.hideContextView(!0)}},null,r),Object(I.e)(r,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(Object(a.S)(this.block),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}onActionRun(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&this.notificationService&&this.notificationService.error(e.error)}}var Ii=n(120),Oi=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Di=function(e,t){return function(n,i){t(n,i,e)}};let Ai=class extends I.a{constructor(e,t,n,i,o){super(),this._onDidContextMenu=this._register(new Oe.a),this.onDidContextMenu=this._onDidContextMenu.event,this.contextMenuHandler=new Ni(n,e,t,i,o)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()}};Ai=Oi([Di(0,Ii.a),Di(1,st.a),Di(2,Pt.b),Di(3,Wt.a),Di(4,zt.c)],Ai);const Ri=Object(Ft.c)("layoutService");var Mi=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Pi=function(e,t){return function(n,i){t(n,i,e)}};let Fi=class extends I.a{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=I.a.None,this.container=e.container,this.contextView=this._register(new hi(this.container,1)),this.layout(),this._register(e.onLayout(()=>this.layout()))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,n){t?t!==this.container&&(this.container=t,this.setContainer(t,n?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const i=Object(I.h)(()=>{this.currentViewDisposable===i&&this.hideContextView()});return this.currentViewDisposable=i,i}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};Fi=Mi([Pi(0,Ri)],Fi);var Wi=n(171);class zi{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class Bi{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing.set(this._hashFn(t),i),i.incoming.set(this._hashFn(e),n)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(let e of this._nodes.values())e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes.get(t);return n||(n=new zi(e),this._nodes.set(t,n)),n}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,n]of this._nodes)e.push(`${t}, (incoming)[${[...n.incoming.keys()].join(", ")}], (outgoing)[${[...n.outgoing.keys()].join(",")}]`);return e.join("\n")}}var ji=n(163),Vi=n(149);class Ui extends Error{constructor(e){super("cyclic dependency between services"),this.message=e.toString()}}class Hi{constructor(e=new Vi.a,t=!1,n){this._services=e,this._strict=t,this._parent=n,this._services.set(Ft.a,this)}createChild(e){return new Hi(e,this._strict,this)}invokeFunction(e,...t){let n=qi.traceInvocation(e),i=!1;try{return e({get:(e,t)=>{if(i)throw Object(H.c)("service accessor is only valid during the invocation of its target method");const o=this._getOrCreateServiceInstance(e,n);if(!o&&t!==Ft.d)throw new Error(`[invokeFunction] unknown service '${e}'`);return o}},...t)}finally{i=!0,n.stop()}}createInstance(e,...t){let n,i;return e instanceof ji.a?(n=qi.traceCreation(e.ctor),i=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=qi.traceCreation(e),i=this._createInstance(e,t,n)),n.stop(),i}_createInstance(e,t=[],n){let i=Ft.b.getServiceDependencies(e).sort((e,t)=>e.index-t.index),o=[];for(const t of i){let i=this._getOrCreateServiceInstance(t.id,n);if(!i&&this._strict&&!t.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`);o.push(i)}let r=i.length>0?i[0].index:t.length;if(t.length!==r){console.warn(`[createInstance] First service dependency of ${e.name} at position ${r+1} conflicts with ${t.length} static arguments`);let n=r-t.length;t=n>0?t.concat(new Array(n)):t.slice(0,r)}return new e(...[...t,...o])}_setServiceInstance(e,t){if(this._services.get(e)instanceof ji.a)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof ji.a?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_createAndCacheServiceInstance(e,t,n){const i=new Bi(e=>e.id.toString());let o=0;const r=[{id:e,desc:t,_trace:n}];for(;r.length;){const t=r.pop();if(i.lookupOrInsertNode(t),o++>1e3)throw new Ui(i);for(let n of Ft.b.getServiceDependencies(t.desc.ctor)){let o=this._getServiceInstanceOrDescriptor(n.id);if(o||n.optional||console.warn(`[createInstance] ${e} depends on ${n.id} which is NOT registered.`),o instanceof ji.a){const e={id:n.id,desc:o,_trace:t._trace.branch(n.id,!0)};i.insertEdge(t,e),r.push(e)}}}for(;;){const e=i.roots();if(0===e.length){if(!i.isEmpty())throw new Ui(i);break}for(const{data:t}of e){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e),i.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],i,o){if(this._services.get(e)instanceof ji.a)return this._createServiceInstance(t,n,i,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,o);throw new Error("illegalState - creating UNKNOWN service instance "+t.name)}_createServiceInstance(e,t=[],n,i){if(n){const n=new N.b(()=>this._createInstance(e,t,i));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];let i=n.value,o=i[t];return"function"!=typeof o||(o=o.bind(i),e[t]=o),o},set:(e,t,i)=>(n.value[t]=i,!0)})}return this._createInstance(e,t,i)}}class qi{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return qi._None}static traceCreation(e){return qi._None}branch(e,t){let n=new qi(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;qi._totals+=e;let t=!1;let n=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,""+function e(n,i){let o=[],r=new Array(n+1).join("\t");for(const[s,a,l]of i._dep)if(a&&l){t=!0,o.push(`${r}CREATES -> ${s}`);let i=e(n+1,l);i&&o.push(i)}else o.push(`${r}uses -> ${s}`);return o.join("\n")}(1,this),`DONE, took ${e.toFixed(2)}ms (grand total ${qi._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(n.join("\n"))}}qi._None=new class extends qi{constructor(){super(-1,null)}stop(){}branch(){return this}},qi._totals=0;var $i=n(159),Ki=n(136),Gi=n(63),Yi=n(37);class Zi{constructor(){this._byResource=new Be.b,this._byOwner=new Map}set(e,t,n){let i=this._byResource.get(e);i||(i=new Map,this._byResource.set(e,i)),i.set(t,n);let o=this._byOwner.get(t);o||(o=new Be.b,this._byOwner.set(t,o)),o.set(e,n)}get(e,t){let n=this._byResource.get(e);return null==n?void 0:n.get(t)}delete(e,t){let n=!1,i=!1,o=this._byResource.get(e);o&&(n=o.delete(t));let r=this._byOwner.get(t);if(r&&(i=r.delete(e)),n!==i)throw new Error("illegal state");return n&&i}values(e){var t,n,i,o;return"string"==typeof e?null!==(n=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==n?n:Yi.a.empty():u.a.isUri(e)?null!==(o=null===(i=this._byResource.get(e))||void 0===i?void 0:i.values())&&void 0!==o?o:Yi.a.empty():Yi.a.map(Yi.a.concat(...this._byOwner.values()),e=>e[1])}}class Xi{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new Be.b,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const n=this._resourceStats(t);this._add(n),this._data.set(t,n)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===d.b.inMemory||e.scheme===d.b.walkThrough||e.scheme===d.b.walkThroughSnippet)return t;for(const{severity:n}of this._service.read({resource:e}))n===Gi.c.Error?t.errors+=1:n===Gi.c.Warning?t.warnings+=1:n===Gi.c.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class Qi{constructor(){this._onMarkerChanged=new Oe.a,this.onMarkerChanged=Oe.b.debounce(this._onMarkerChanged.event,Qi._debouncer,0),this._data=new Zi,this._stats=new Xi(this)}dispose(){this._stats.dispose()}remove(e,t){for(const n of t||[])this.changeOne(e,n,[])}changeOne(e,t,n){if(Object(j.n)(n)){this._data.delete(t,e)&&this._onMarkerChanged.fire([t])}else{const i=[];for(const o of n){const n=Qi._toMarker(e,t,o);n&&i.push(n)}this._data.set(t,e,i),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,n){let{code:i,severity:o,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:h,tags:u}=n;if(r)return a=a>0?a:1,l=l>0?l:1,c=c>=a?c:a,d=d>0?d:l,{resource:t,owner:e,code:i,severity:o,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:h,tags:u}}read(e=Object.create(null)){let{owner:t,resource:n,severities:i,take:o}=e;if((!o||o<0)&&(o=-1),t&&n){const e=this._data.get(n,t);if(e){const t=[];for(const n of e)if(Qi._accept(n,i)){const e=t.push(n);if(o>0&&e===o)break}return t}return[]}if(t||n){const e=this._data.values(null!=n?n:t),r=[];for(const t of e)for(const e of t)if(Qi._accept(e,i)){const t=r.push(e);if(o>0&&t===o)return r}return r}{const e=[];for(let t of this._data.values())for(let n of t)if(Qi._accept(n,i)){const t=e.push(n);if(o>0&&t===o)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _debouncer(e,t){e||(Qi._dedupeMap=new Be.b,e=[]);for(const n of t)Qi._dedupeMap.has(n)||(Qi._dedupeMap.set(n,!0),e.push(n));return e}}var Ji=n(97),eo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},to=function(e,t){return function(n,i){t(n,i,e)}};let no=class{constructor(e){this._commandService=e}createMenu(e,t){return new io(e,this._commandService,t,this)}};no=eo([to(0,p.b)],no);let io=class e{constructor(e,t,n,i){this._id=e,this._commandService=t,this._contextKeyService=n,this._menuService=i,this._onDidChange=new Oe.a,this._dispoables=new I.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(Oe.b.debounce(Oe.b.filter(Rt.d.onDidChangeMenu,e=>e.has(this._id)),()=>{},50)(this._build,this)),this._dispoables.add(Oe.b.debounce(this._contextKeyService.onDidChangeContext,(e,t)=>e||t.affectsSome(this._contextKeys),50)(e=>e&&this._onDidChange.fire(void 0),this))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=Rt.d.getMenuItems(this._id);let n;t.sort(e._compareMenuItems);for(let i of t){const t=i.group||"";if(n&&n[0]===t||(n=[t,[]],this._menuGroups.push(n)),n[1].push(i),e._fillInKbExprKeys(i.when,this._contextKeys),Object(Rt.f)(i)&&i.command.precondition&&e._fillInKbExprKeys(i.command.precondition,this._contextKeys),Object(Rt.f)(i)&&i.command.toggled){const t=i.command.toggled.condition||i.command.toggled;e._fillInKbExprKeys(t,this._contextKeys)}}this._onDidChange.fire(this)}get onDidChange(){return this._onDidChange.event}getActions(e){const t=[];for(let n of this._menuGroups){const[i,o]=n,r=[];for(const t of o)if(this._contextKeyService.contextMatchesRules(t.when)){const n=Object(Rt.f)(t)?new Rt.c(t.command,t.alt,e,this._contextKeyService,this._commandService):new Rt.e(t,this._menuService,this._contextKeyService,e);r.push(n)}r.length>0&&t.push([i,r])}return t}static _fillInKbExprKeys(e,t){if(e)for(let n of e.keys())t.add(n)}static _compareMenuItems(t,n){let i=t.group,o=n.group;if(i!==o){if(!i)return 1;if(!o)return-1;if("navigation"===i)return-1;if("navigation"===o)return 1;let e=i.localeCompare(o);if(0!==e)return e}let r=t.order||0,s=n.order||0;return r<s?-1:r>s?1:e._compareTitles(Object(Rt.f)(t)?t.command.title:t.title,Object(Rt.f)(n)?n.command.title:n.title)}static _compareTitles(e,t){const n="string"==typeof e?e:e.value,i="string"==typeof t?t:t.value;return n.localeCompare(i)}};io=eo([to(1,p.b),to(2,Mt.b),to(3,Rt.a)],io);var oo=n(192),ro=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},so=function(e,t){return function(n,i){t(n,i,e)}};function ao(e){return e.toString()}class lo extends I.a{constructor(e){super(),this.model=e,this._markersData=new Map,this._register(Object(I.h)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){const n=[...this._markersData.keys()];this._markersData.clear();const i=this.model.deltaDecorations(n,t);for(let t=0;t<i.length;t++)this._markersData.set(i[t],e[t]);return 0!==n.length||0!==i.length}getMarker(e){return this._markersData.get(e.id)}}let co=class extends I.a{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new Oe.a),this._markerDecorations=new Map,e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const n=this._markerDecorations.get(ao(e.uri));return n&&n.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{const t=this._markerDecorations.get(ao(e));t&&this._updateDecorations(t)})}_onModelAdded(e){const t=new lo(e);this._markerDecorations.set(ao(e.uri),t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(ao(e.uri));t&&(t.dispose(),this._markerDecorations.delete(ao(e.uri))),e.uri.scheme!==d.b.inMemory&&e.uri.scheme!==d.b.internal&&e.uri.scheme!==d.b.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});let n=t.map(t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)}));e.update(t,n)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let n=M.a.lift(t);if(t.severity!==Gi.c.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){let t=e.getWordAtPosition(n.getStartPosition());if(t)n=new M.a(n.startLineNumber,t.startColumn,n.endLineNumber,t.endColumn);else{let t=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===t||(n=n.endColumn>=t?new M.a(n.startLineNumber,t-1,n.endLineNumber,t):new M.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){let i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<n.endColumn&&(n=new M.a(n.startLineNumber,i,n.endLineNumber,n.endColumn),t.startColumn=i)}return n}_createDecorationOption(e){let t,n,i,o=void 0,r=void 0;switch(e.severity){case Gi.c.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case Gi.c.Warning:t="squiggly-warning",o=Object(zt.h)(Rn.t),n=20,i={color:Object(zt.h)(Mn.Tb),position:S.c.Inline};break;case Gi.c.Info:t="squiggly-info",o=Object(zt.h)(Rn.r),n=10;break;case Gi.c.Error:default:t="squiggly-error",o=Object(zt.h)(Rn.q),n=30,i={color:Object(zt.h)(Mn.Nb),position:S.c.Inline}}return e.tags&&(-1!==e.tags.indexOf(1)&&(r="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(r="squiggly-inline-deprecated")),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:o,position:S.d.Right},minimap:i,zIndex:n,inlineClassName:r}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}};co=ro([so(0,W.a),so(1,Gi.b)],co);var ho=n(115),uo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},po=function(e,t){return function(n,i){t(n,i,e)}};let mo=class extends I.a{constructor(e,t){super(),this._contextKeyService=e,this._configurationService=t,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new Oe.a,this._accessibilityModeEnabledContext=Bt.a.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(n(),this._onDidChangeScreenReaderOptimized.fire())})),n(),this.onDidChangeScreenReaderOptimized(()=>n())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};mo=uo([po(0,Mt.b),po(1,ze.a)],mo);var go=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class fo{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(e,t){return go(this,void 0,void 0,(function*(){if(t)return void this.mapTextToType.set(t,e);try{return yield navigator.clipboard.writeText(e)}catch(e){console.error(e)}const n=document.activeElement,i=document.body.appendChild(Object(a.a)("textarea",{"aria-hidden":!0}));i.style.height="1px",i.style.width="1px",i.style.position="absolute",i.value=e,i.focus(),i.select(),document.execCommand("copy"),n instanceof HTMLElement&&n.focus(),document.body.removeChild(i)}))}readText(e){return go(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(e){return console.error(e),""}}))}readFindText(){return go(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return go(this,void 0,void 0,(function*(){this.findText=e}))}}var bo=n(150),_o=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},vo=function(e,t){return function(n,i){t(n,i,e)}},wo=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function yo(e){return e.scheme===d.b.file?e.fsPath:e.path}let Co=0;class xo{constructor(e,t,n){this.id=++Co,this.type=0,this.actual=e,this.label=e.label,this.resourceLabel=t,this.strResource=n,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[${this.id}] [${this.isValid?"VALID":"INVALID"}] ${this.actual}`}}class So{constructor(e,t){this.resourceLabel=e,this.reason=t}}class ko{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,n]of this.elements){(0===n.reason?e:t).push(n.resourceLabel)}let n=[];return e.length>0&&n.push(Ke.a({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&n.push(Ke.a({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),n.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class Eo{constructor(e,t,n){this.id=++Co,this.type=1,this.actual=e,this.label=e.label,this.resourceLabels=t,this.strResources=n,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,n){this.removedResources||(this.removedResources=new ko),this.removedResources.has(t)||this.removedResources.set(t,new So(e,n))}setValid(e,t,n){n?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new ko),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new So(e,0)))}toString(){return`[${this.id}] [${this.invalidatedResources?"INVALID":"VALID"}] ${this.actual}`}}class To{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push(" * [UNDO] "+this._past[t]);for(let t=this._future.length-1;t>=0;t--)e.push(" * [REDO] "+this._future[t]);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const n of this._past)t(n.actual)&&this._setElementValidFlag(n,e);for(const n of this._future)t(n.actual)&&this._setElementValidFlag(n,e)}pushElement(e){for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);if(this._future=[],this._past.length>0){const e=this._past[this._past.length-1];0!==e.type||e.isValid||(this._past=[])}this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let e=0,n=this._past.length;e<n;e++)t.push(this._past[e].id);for(let e=this._future.length-1;e>=0;e--)t.push(this._future[e].id);return new bo.b(e,t)}restoreSnapshot(e){const t=e.elements.length;let n=!0,i=0,o=-1;for(let r=0,s=this._past.length;r<s;r++,i++){const s=this._past[r];n&&(i>=t||s.id!==e.elements[i])&&(n=!1,o=0),n||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}let r=-1;for(let o=this._future.length-1;o>=0;o--,i++){const s=this._future[o];n&&(i>=t||s.id!==e.elements[i])&&(n=!1,r=o),n||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==r&&(this._future=this._future.slice(r+1)),this.versionId++}getElements(){const e=[],t=[];for(const t of this._past)e.push(t.actual);for(const e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let n=this._past.length-1;n>=0;n--)if(this._past[n]===e){t.has(this.strResource)?this._past[n]=t.get(this.strResource):this._past.splice(n,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let n=this._future.length-1;n>=0;n--)if(this._future[n]===e){t.has(this.strResource)?this._future[n]=t.get(this.strResource):this._future.splice(n,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class Lo{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;e<t;e++)this._versionIds[e]=this.editStacks[e].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const No=new To("","");No.locked=!0;let Io=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){console.log("------------------------------------"),console.log(`AFTER ${e}: `);let t=[];for(const e of this._editStacks)t.push(e[1].toString());console.log(t.join("\n"))}pushElement(e){if(0===e.type){const t=yo(e.resource),n=this.getUriComparisonKey(e.resource);this._pushElement(new xo(e,t,n))}else{const t=new Set,n=[],i=[];for(const o of e.resources){const e=yo(o),r=this.getUriComparisonKey(o);t.has(r)||(t.add(r),n.push(e),i.push(r))}1===n.length?this._pushElement(new xo(e,n[0],i[0])):this._pushElement(new Eo(e,n,i))}}_pushElement(e){for(let t=0,n=e.strResources.length;t<n;t++){const n=e.resourceLabels[t],i=e.strResources[t];let o;this._editStacks.has(i)?o=this._editStacks.get(i):(o=new To(n,i),this._editStacks.set(i,o)),o.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);if(e.hasFutureElements())return null;const n=e.getClosestPastElement();return n?n.actual:null}return null}_splitPastWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=yo(e.resource),n=this.getUriComparisonKey(e.resource),o=new xo(e,t,n);i.set(o.strResource,o)}for(const n of e.strResources){if(t&&t.has(n))continue;this._editStacks.get(n).splitPastWorkspaceElement(e,i)}}_splitFutureWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=yo(e.resource),n=this.getUriComparisonKey(e.resource),o=new xo(e,t,n);i.set(o.strResource,o)}for(const n of e.strResources){if(t&&t.has(n))continue;this._editStacks.get(n).splitFutureWorkspaceElement(e,i)}}removeElements(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);if(this._editStacks.has(t)){this._editStacks.get(t).dispose(),this._editStacks.delete(t)}}setElementsValidFlag(e,t,n){const i=this.getUriComparisonKey(e);if(this._editStacks.has(i)){this._editStacks.get(i).setElementsValidFlag(t,n)}}createSnapshot(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).createSnapshot(e)}return new bo.b(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const n=this._editStacks.get(t);n.restoreSnapshot(e),n.hasPastElements()||n.hasFutureElements()||(n.dispose(),this._editStacks.delete(t))}}getElements(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).getElements()}return{past:[],future:[]}}canUndo(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasPastElements()}return!1}_onError(e,t){Object(H.e)(e);for(const e of t.strResources)this.removeElements(e);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,n,i=I.a.None){const o=this._acquireLocks(n);let r;try{r=t()}catch(t){return o(),i.dispose(),this._onError(t,e)}if(r)return r.then(()=>{o(),i.dispose()},t=>(o(),i.dispose(),this._onError(t,e)));o(),i.dispose()}_invokeWorkspacePrepare(e){return wo(this,void 0,void 0,(function*(){if(void 0===e.actual.prepareUndoRedo)return I.a.None;const t=e.actual.prepareUndoRedo();return void 0===t?I.a.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return void t(I.a.None);const n=e.actual.prepareUndoRedo();if(n){if(!Object(I.g)(n))return n.then(e=>{t(e)});t(n)}else t(I.a.None)}_getAffectedEditStacks(e){const t=[];for(const n of e.strResources)t.push(this._editStacks.get(n)||No);return new Lo(t)}_tryToSplitAndUndo(e,t,n,i){if(t.canSplit())return this._splitPastWorkspaceElement(t,n),this._notificationService.info(i),new Oo(this.undo(e));for(const e of t.strResources)this.removeElements(e);return this._notificationService.info(i),new Oo}_checkWorkspaceUndo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,Ke.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,Ke.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const e of n.editStacks)e.getClosestPastElement()!==t&&o.push(e.resourceLabel);if(o.length>0)return this._tryToSplitAndUndo(e,t,null,Ke.a({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const r=[];for(const e of n.editStacks)e.locked&&r.push(e.resourceLabel);return r.length>0?this._tryToSplitAndUndo(e,t,null,Ke.a({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,r.join(", "))):n.isValid()?null:this._tryToSplitAndUndo(e,t,null,Ke.a({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceUndo(e,t,n,!1);return i?i.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n)}_confirmAndExecuteWorkspaceUndo(e,t,n){return wo(this,void 0,void 0,(function*(){if(t.canSplit()){const i=yield this._dialogService.show(Ae.a.Info,Ke.a("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),[Ke.a({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",n.editStacks.length),Ke.a("nok","Undo this File"),Ke.a("cancel","Cancel")],{cancelId:2});if(2===i.choice)return;if(1===i.choice)return this._splitPastWorkspaceElement(t,null),this.undo(e);const o=this._checkWorkspaceUndo(e,t,n,!1);if(o)return o.returnValue}let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const o=this._checkWorkspaceUndo(e,t,n,!0);if(o)return i.dispose(),o.returnValue;for(const e of n.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),n,i)}))}_resourceUndo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new Lo([e]),n)));{const e=Ke.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}undo(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);if(!this._editStacks.has(t))return;const n=this._editStacks.get(t),i=n.getClosestPastElement();if(i)try{return 1===i.type?this._workspaceUndo(t,i):this._resourceUndo(n,i)}finally{0}}canRedo(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasFutureElements()}return!1}_tryToSplitAndRedo(e,t,n,i){if(t.canSplit())return this._splitFutureWorkspaceElement(t,n),this._notificationService.info(i),new Oo(this.redo(e));for(const e of t.strResources)this.removeElements(e);return this._notificationService.info(i),new Oo}_checkWorkspaceRedo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,Ke.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,Ke.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const e of n.editStacks)e.getClosestFutureElement()!==t&&o.push(e.resourceLabel);if(o.length>0)return this._tryToSplitAndRedo(e,t,null,Ke.a({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const r=[];for(const e of n.editStacks)e.locked&&r.push(e.resourceLabel);return r.length>0?this._tryToSplitAndRedo(e,t,null,Ke.a({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,r.join(", "))):n.isValid()?null:this._tryToSplitAndRedo(e,t,null,Ke.a({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceRedo(e,t,n,!1);return i?i.returnValue:this._executeWorkspaceRedo(e,t,n)}_executeWorkspaceRedo(e,t,n){return wo(this,void 0,void 0,(function*(){let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const o=this._checkWorkspaceRedo(e,t,n,!0);if(o)return i.dispose(),o.returnValue;for(const e of n.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),n,i)}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new Lo([e]),n)));{const e=Ke.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}redo(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);if(!this._editStacks.has(t))return;const n=this._editStacks.get(t),i=n.getClosestFutureElement();if(i)try{return 1===i.type?this._workspaceRedo(t,i):this._resourceRedo(n,i)}finally{0}}};Io=_o([vo(0,Wi.a),vo(1,st.a)],Io);class Oo{constructor(e){this.returnValue=e}}Object(ho.b)(bo.a,Io);n(266);var Do=n(4),Ao=n(25),Ro=(n(186),n(141)),Mo=n(151);const Po=new N.b(()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}});function Fo(e,t,n){const i=e.toLowerCase(),o=t.toLowerCase(),r=function(e,t,n){const i=e.toLowerCase(),o=t.toLowerCase(),r=i.startsWith(n),s=o.startsWith(n);if(r!==s)return r?-1:1;if(r&&s){if(i.length<o.length)return-1;if(i.length>o.length)return 1}return 0}(e,t,n);if(r)return r;const s=i.endsWith(n);if(s!==o.endsWith(n))return s?-1:1;const a=function(e,t,n=!1){const i=e||"",o=t||"",r=Po.value.collator.compare(i,o);return Po.value.collatorIsNumeric&&0===r&&i!==o?i<o?-1:1:r}(i,o);return 0!==a?a:i.localeCompare(o)}var Wo=n(172),zo=n(156),Bo=n(98),jo=n(147);const Vo={},Uo=new jo.a("quick-input-button-icon-");function Ho(e){if(!e)return;let t;const n=e.dark.toString();return Vo[n]?t=Vo[n]:(t=Uo.nextId(),a.u("."+t,"background-image: "+a.q(e.light||e.dark)),a.u(`.vs-dark .${t}, .hc-black .${t}`,"background-image: "+a.q(e.dark)),Vo[n]=t),t}n(271);const qo=a.a;class $o{constructor(e,t,n){this.os=t,this.options=n,this.domNode=a.p(e,qo(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}set(e,t){this.didEverRender&&this.keybinding===e&&$o.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(a.s(this.domNode),this.keybinding){let[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(a.p(this.domNode,qo("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}renderPart(e,t,n){const i=tt.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,i.ctrlKey,Boolean(null==n?void 0:n.ctrlKey),i.separator),t.shiftKey&&this.renderKey(e,i.shiftKey,Boolean(null==n?void 0:n.shiftKey),i.separator),t.altKey&&this.renderKey(e,i.altKey,Boolean(null==n?void 0:n.altKey),i.separator),t.metaKey&&this.renderKey(e,i.metaKey,Boolean(null==n?void 0:n.metaKey),i.separator);const o=t.keyLabel;o&&this.renderKey(e,o,Boolean(null==n?void 0:n.keyCode),"")}renderKey(e,t,n,i){a.p(e,qo("span.monaco-keybinding-key"+(n?".highlight":""),void 0,t)),i&&a.p(e,qo("span.monaco-keybinding-key-separator",void 0,i))}renderUnbound(e){a.p(e,qo("span.monaco-keybinding-key",void 0,Object(Ke.a)("unbound","Unbound")))}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&Object(je.e)(e.firstPart,t.firstPart)&&Object(je.e)(e.chordPart,t.chordPart)}}var Ko=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};const Go=a.a;class Yo{constructor(e){this.hidden=!1,this._onChecked=new Oe.a,this.onChecked=this._onChecked.event,Object(je.a)(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class Zo{get templateId(){return Zo.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=a.p(e,Go(".quick-input-list-entry"));const n=a.p(t.entry,Go("label.quick-input-list-label"));t.toDisposeTemplate.push(a.n(n,a.c.CLICK,e=>{t.checkbox.offsetParent||e.preventDefault()})),t.checkbox=a.p(n,Go("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(a.n(t.checkbox,a.c.CHANGE,e=>{t.element.checked=t.checkbox.checked}));const i=a.p(n,Go(".quick-input-list-rows")),o=a.p(i,Go(".quick-input-list-row")),r=a.p(i,Go(".quick-input-list-row"));t.label=new Wo.a(o,{supportHighlights:!0,supportDescriptionHighlights:!0,supportCodicons:!0});const s=a.p(o,Go(".quick-input-list-entry-keybinding"));t.keybinding=new $o(s,D.a);const l=a.p(r,Go(".quick-input-list-label-meta"));return t.detail=new zo.a(l,!0),t.separator=a.p(t.entry,Go(".quick-input-list-separator")),t.actionBar=new si.a(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,n){n.toDisposeElement=Object(I.f)(n.toDisposeElement),n.element=e,n.checkbox.checked=e.checked,n.toDisposeElement.push(e.onChecked(e=>n.checkbox.checked=e));const{labelHighlights:i,descriptionHighlights:o,detailHighlights:r}=e,s=Object.create(null);s.matches=i||[],s.descriptionTitle=e.saneDescription,s.descriptionMatches=o||[],s.extraClasses=e.item.iconClasses,s.italic=e.item.italic,s.strikethrough=e.item.strikethrough,n.label.setLabel(e.saneLabel,e.saneDescription,s),n.keybinding.set(e.item.keybinding),n.detail.set(e.saneDetail,r),e.separator&&e.separator.label?(n.separator.textContent=e.separator.label,n.separator.style.display=""):n.separator.style.display="none",e.separator?a.e(n.entry,"quick-input-list-separator-border"):a.Q(n.entry,"quick-input-list-separator-border"),n.actionBar.clear();const l=e.item.buttons;l&&l.length?(n.actionBar.push(l.map((t,n)=>{let i=t.iconClass||(t.iconPath?Ho(t.iconPath):void 0);t.alwaysVisible&&(i=i?i+" always-visible":"always-visible");const o=new ri.a("id-"+n,"",i,!0,()=>(e.fireButtonTriggered({button:t,item:e.item}),Promise.resolve()));return o.tooltip=t.tooltip||"",o}),{icon:!0,label:!1}),a.e(n.entry,"has-actions")):a.Q(n.entry,"has-actions")}disposeElement(e,t,n){n.toDisposeElement=Object(I.f)(n.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=Object(I.f)(e.toDisposeElement),e.toDisposeTemplate=Object(I.f)(e.toDisposeTemplate)}}Zo.ID="listelement";class Xo{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return Zo.ID}}var Qo;!function(e){e[e.First=1]="First",e[e.Second=2]="Second",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Previous=5]="Previous",e[e.NextPage=6]="NextPage",e[e.PreviousPage=7]="PreviousPage"}(Qo||(Qo={}));class Jo{constructor(e,t,n){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new Oe.a,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new Oe.a,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new Oe.a,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new Oe.a,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new Oe.a,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new Oe.a,this.onKeyDown=this._onKeyDown.event,this._onLeave=new Oe.a,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=a.p(this.parent,Go(".quick-input-list"));const i=new Xo,o=new er;this.list=n.createList("QuickInput",this.container,i,[new Zo],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:o}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(e=>{const t=new Ie.a(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(D.f?e.metaKey:e.ctrlKey)&&this.list.setFocus(Object(j.s)(this.list.length));break;case 16:const t=this.list.getFocus();1===t.length&&0===t[0]&&this._onLeave.fire();break;case 18:const n=this.list.getFocus();1===n.length&&n[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(t)})),this.disposables.push(this.list.onMouseDown(e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()})),this.disposables.push(a.i(this.container,a.c.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(e=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(e=>{"number"==typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return Oe.b.map(this.list.onDidChangeFocus,e=>e.elements.map(e=>e.item))}get onDidChangeSelection(){return Oe.b.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(e=>e.item),event:e.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.hidden){if(!i.checked)return!1;t=!0}}return t}getCheckedCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].checked&&e++;return e}getVisibleCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].hidden||e++;return e}setAllVisibleChecked(e){try{this._fireCheckedEvents=!1,this.elements.forEach(t=>{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=Object(I.f)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce((n,i,o)=>{var r,s,a;if("separator"!==i.type){const l=o&&e[o-1],c=i.label&&i.label.replace(/\r?\n/g," "),d=i.description&&i.description.replace(/\r?\n/g," "),h=i.detail&&i.detail.replace(/\r?\n/g," "),u=i.ariaLabel||[c,d,h].map(e=>e&&Object(Mo.c)(e).text).filter(e=>!!e).join(", ");n.push(new Yo({index:o,item:i,saneLabel:c,saneAriaLabel:u,saneDescription:d,saneDetail:h,labelHighlights:null===(r=i.highlights)||void 0===r?void 0:r.label,descriptionHighlights:null===(s=i.highlights)||void 0===s?void 0:s.description,detailHighlights:null===(a=i.highlights)||void 0===a?void 0:a.detail,checked:!1,separator:l&&"separator"===l.type?l:void 0,fireButtonTriggered:t}))}return n},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(e=>e.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((e,t,n)=>(e.set(t.item,n),e),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){if(this.list.setFocus(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e))),e.length>0){const e=this.list.getFocus()[0];"number"==typeof e&&this.list.reveal(e)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){this.list.setSelection(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const n of e)t.add(n);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(!this.list.length)return;switch(e===Qo.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=Qo.First),e===Qo.Previous&&0===this.list.getFocus()[0]&&(e=Qo.Last),e===Qo.Second&&this.list.length<2&&(e=Qo.First),e){case Qo.First:this.list.focusFirst();break;case Qo.Second:this.list.focusNth(1);break;case Qo.Last:this.list.focusLast();break;case Qo.Next:this.list.focusNext();break;case Qo.Previous:this.list.focusPrevious();break;case Qo.NextPage:this.list.focusNextPage();break;case Qo.PreviousPage:this.list.focusPreviousPage()}const t=this.list.getFocus()[0];"number"==typeof t&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;(e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)?this.elements.forEach(t=>{const n=this.matchOnLabel?Object(ne.n)(Object(Mo.b)(e,Object(Mo.c)(t.saneLabel))):void 0,i=this.matchOnDescription?Object(ne.n)(Object(Mo.b)(e,Object(Mo.c)(t.saneDescription||""))):void 0,o=this.matchOnDetail?Object(ne.n)(Object(Mo.b)(e,Object(Mo.c)(t.saneDetail||""))):void 0;n||i||o?(t.labelHighlights=n,t.descriptionHighlights=i,t.detailHighlights=o,t.hidden=!1):(t.labelHighlights=void 0,t.descriptionHighlights=void 0,t.detailHighlights=void 0,t.hidden=!t.item.alwaysShow),t.separator=void 0}):this.elements.forEach(e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;const t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0});const t=this.elements.filter(e=>!e.hidden);if(this.sortByLabel&&e){const n=e.toLowerCase();t.sort((e,t)=>function(e,t,n){const i=e.labelHighlights||[],o=t.labelHighlights||[];if(i.length&&!o.length)return-1;if(!i.length&&o.length)return 1;if(0===i.length&&0===o.length)return 0;return Fo(e.saneLabel,t.saneLabel,n)}(e,t,n))}return this.elementsToIndexes=t.reduce((e,t,n)=>(e.set(t.item,n),e),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const n of e)n.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=Object(I.f)(this.elementDisposables),this.disposables=Object(I.f)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}Ko([Bo.a],Jo.prototype,"onDidChangeFocus",null),Ko([Bo.a],Jo.prototype,"onDidChangeSelection",null);class er{getWidgetAriaLabel(){return Object(Ke.a)("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var tr=n(173);const nr=a.a;class ir extends I.a{constructor(e){super(),this.parent=e,this.onKeyDown=e=>a.i(this.inputBox.inputElement,a.c.KEY_DOWN,t=>{e(new Ie.a(t))}),this.onMouseDown=e=>a.i(this.inputBox.inputElement,a.c.MOUSE_DOWN,t=>{e(new fi.a(t))}),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=a.p(this.parent,nr(".quick-input-box")),this.inputBox=this._register(new tr.b(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===Ae.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===Ae.a.Info?1:e===Ae.a.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===Ae.a.Info?1:e===Ae.a.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}var or=n(185);n(277);const rr={progressBarBackground:En.a.fromHex("#0E70C0")};class sr extends I.a{constructor(e,t){super(),this.options=t||Object.create(null),Object(je.g)(this.options,rr,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new N.d(()=>Object(a.Z)(this.element),0)),this.create(e)}create(e){this.element=document.createElement("div"),Object(a.e)(this.element,"monaco-progress-container"),e.appendChild(this.element),this.bit=document.createElement("div"),Object(a.e)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(a.R)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(e){return Object(a.e)(this.element,"done"),Object(a.I)(this.element,"infinite")?(this.bit.style.opacity="0",e?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",Object(a.R)(this.element,"discrete","done"),Object(a.f)(this.element,"active","infinite"),this}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}}}n(279);var ar=n(61);const lr={buttonBackground:En.a.fromHex("#0E639C"),buttonHoverBackground:En.a.fromHex("#006BB3"),buttonForeground:En.a.white};class cr extends I.a{constructor(e,t){super(),this._onDidClick=this._register(new Oe.a),this.options=t||Object.create(null),Object(je.g)(this.options,lr,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),a.e(this._element,"monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(ar.b.addTarget(this._element)),[a.c.CLICK,ar.a.Tap].forEach(e=>{this._register(a.i(this._element,e,e=>{this.enabled?this._onDidClick.fire(e):a.b.stop(e)}))}),this._register(a.i(this._element,a.c.KEY_DOWN,e=>{const t=new Ie.a(e);let n=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),n=!0):t.equals(9)&&(this._element.blur(),n=!0),n&&a.b.stop(t,!0)})),this._register(a.i(this._element,a.c.MOUSE_OVER,e=>{a.I(this._element,"disabled")||this.setHoverBackground()})),this._register(a.i(this._element,a.c.MOUSE_OUT,e=>{this.applyStyles()})),this.focusTracker=this._register(a.bb(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(t=this.buttonForeground?this.buttonForeground.toString():"",e=this.buttonBackground?this.buttonBackground.toString():"");const n=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?"1px":"",this._element.style.borderStyle=n?"solid":"",this._element.style.borderColor=n}}get element(){return this._element}set label(e){a.I(this._element,"monaco-text-button")||a.e(this._element,"monaco-text-button"),this.options.supportCodicons?a.U(this._element,...function(e){const t=new Array;let n,i=0,o=0;for(;null!==(n=pi.g.exec(e));){o=n.index||0,t.push(e.substring(i,o)),i=(n.index||0)+n[0].length;const[,r,s,l,c]=n;t.push(r?`$(${s})`:a.a(`span.codicon.codicon-${l}${c?".codicon-animation-"+c:""}`))}return i<e.length&&t.push(e.substring(i)),t}(e)):this._element.textContent=e,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(a.Q(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(a.e(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!0)),a.T(this._element))}get enabled(){return!a.I(this._element,"disabled")}}var dr=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const hr=a.a,ur={iconClass:Object(pi.e)("quick-input-back",pi.a.arrowLeft).classNames,tooltip:Object(Ke.a)("quickInput.back","Back"),handle:-1};class pr extends I.a{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new Oe.a),this.onDidHideEmitter=this._register(new Oe.a),this.onDisposeEmitter=this._register(new Oe.a),this.visibleDisposables=this._register(new I.b),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){this._ignoreFocusOut=e,this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this.update())}hide(){this.visible&&this.ui.hide()}didHide(){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire()}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" ;");const t=this.getDescription();if(this.ui.description.textContent!==t&&(this.ui.description.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new N.e,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter(e=>e===ur);this.ui.leftActionBar.push(e.map((e,t)=>{const n=new ri.a("id-"+t,"",e.iconClass||Ho(e.iconPath),!0,()=>dr(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return n.tooltip=e.tooltip||"",n}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const t=this.buttons.filter(e=>e!==ur);this.ui.rightActionBar.push(t.map((e,t)=>{const n=new ri.a("id-"+t,"",e.iconClass||Ho(e.iconPath),!0,()=>dr(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return n.tooltip=e.tooltip||"",n}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey)}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?Object(Ke.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e===Ae.a.Error){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?""+t.foreground:"",this.ui.message.style.backgroundColor=t.background?""+t.background:"",this.ui.message.style.border=t.border?"1px solid "+t.border:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}class mr extends pr{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new Oe.a),this.onDidAcceptEmitter=this._register(new Oe.a),this.onDidCustomEmitter=this._register(new Oe.a),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?Ro.a.NONE:Ro.a.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new Oe.a),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new Oe.a),this.onDidTriggerItemButtonEmitter=this._register(new Oe.a),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value=e||"",this.update()}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Ro.b:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(Qo.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{if(e===this.value)return;this._value=e;this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(Qo.Next),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(Qo.Previous):this.ui.list.focus(Qo.Last),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 12:this.ui.list.focus(Qo.NextPage),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 11:this.ui.list.focus(Qo.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Qo.First),a.b.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Qo.Last),a.b.stop(e,!0))}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.onDidAcceptEmitter.fire({inBackground:!1})})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Object(j.g)(e,this._activeItems,(e,t)=>e===t)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Object(j.g)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.onDidAcceptEmitter.fire({inBackground:t instanceof MouseEvent&&1===t.button}))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&Object(j.g)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}registerQuickNavigation(){return a.i(this.ui.container,a.c.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new Ie.a(e),n=t.keyCode;this._quickNavigate.keybindings.some(e=>{const[i,o]=e.getParts();return!o&&(i.shiftKey&&4===n?!(t.ctrlKey||t.altKey||t.metaKey):!(!i.altKey||6!==n)||(!(!i.ctrlKey||5!==n)||!(!i.metaKey||57!==n)))})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!1})),this._quickNavigate=void 0)})}update(){if(!this.visible)return;let e=!1,t=!1;this._hideInput&&this._items.length>0&&(this.ui.isScreenReaderOptimized()?t=!0:e=!0),a.ab(this.ui.container,"hidden-input",e);const n={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany,inputBox:!e,progressBar:!e,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};if(this.ui.setVisibilities(n),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),t)this.ui.inputBox.ariaLabel="";else{const e=this.ariaLabel||this.placeholder||mr.DEFAULT_ARIA_LABEL;this.ui.inputBox.ariaLabel!==e&&(this.ui.inputBox.ariaLabel=e)}if(this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Ro.a.NONE:this._itemActivation=Ro.a.FIRST;break;case Ro.a.SECOND:this.ui.list.focus(Qo.Second),this._itemActivation=Ro.a.FIRST;break;case Ro.a.LAST:this.ui.list.focus(Qo.Last),this._itemActivation=Ro.a.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.validationMessage?(this.ui.message.textContent=this.validationMessage,this.showMessageDecoration(Ae.a.Error)):(this.ui.message.textContent=null,this.showMessageDecoration(Ae.a.Ignore)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),n.inputBox||this.ui.list.domFocus()}}mr.DEFAULT_ARIA_LABEL=Object(Ke.a)("quickInputBox.ariaLabel","Type to narrow down results.");class gr extends I.a{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new Oe.a),this.onDidCustomEmitter=this._register(new Oe.a),this.onDidTriggerButtonEmitter=this._register(new Oe.a),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new Oe.a),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new Oe.a),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=e=>{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(a.i(window,a.c.KEY_DOWN,e,!0)),this._register(a.i(window,a.c.KEY_UP,e,!0)),this._register(a.i(window,a.c.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=a.p(this.parentElement,hr(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=a.v(e),n=a.p(e,hr(".quick-input-titlebar")),i=this._register(new si.a(n));i.domNode.classList.add("quick-input-left-action-bar");const o=a.p(n,hr(".quick-input-title")),r=this._register(new si.a(n));r.domNode.classList.add("quick-input-right-action-bar");const s=a.p(e,hr(".quick-input-description")),l=a.p(e,hr(".quick-input-header")),c=a.p(l,hr("input.quick-input-check-all"));c.type="checkbox",this._register(a.n(c,a.c.CHANGE,e=>{const t=c.checked;x.setAllVisibleChecked(t)})),this._register(a.i(c,a.c.CLICK,e=>{(e.x||e.y)&&u.setFocus()}));const d=a.p(l,hr(".quick-input-and-message")),h=a.p(d,hr(".quick-input-filter")),u=this._register(new ir(h));u.setAttribute("aria-describedby",this.idPrefix+"message");const p=a.p(h,hr(".quick-input-visible-count"));p.setAttribute("aria-live","polite"),p.setAttribute("aria-atomic","true");const m=new or.a(p,{countFormat:Object(Ke.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),g=a.p(h,hr(".quick-input-count"));g.setAttribute("aria-live","polite");const f=new or.a(g,{countFormat:Object(Ke.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),b=a.p(l,hr(".quick-input-action")),_=new cr(b);_.label=Object(Ke.a)("ok","OK"),this._register(_.onDidClick(e=>{this.onDidAcceptEmitter.fire()}));const v=a.p(l,hr(".quick-input-action")),w=new cr(v);w.label=Object(Ke.a)("custom","Custom"),this._register(w.onDidClick(e=>{this.onDidCustomEmitter.fire()}));const y=a.p(d,hr(`#${this.idPrefix}message.quick-input-message`)),C=new sr(e);a.e(C.getContainer(),"quick-input-progress");const x=this._register(new Jo(e,this.idPrefix+"list",this.options));this._register(x.onChangedAllVisibleChecked(e=>{c.checked=e})),this._register(x.onChangedVisibleCount(e=>{m.setCount(e)})),this._register(x.onChangedCheckedCount(e=>{f.setCount(e)})),this._register(x.onLeave(()=>{setTimeout(()=>{u.setFocus(),this.controller instanceof mr&&this.controller.canSelectMany&&x.clearFocus()},0)})),this._register(x.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));const S=a.bb(e);return this._register(S),this._register(a.i(e,a.c.FOCUS,e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0},!0)),this._register(S.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(),this.previousFocusElement=void 0})),this._register(a.i(e,a.c.FOCUS,e=>{u.setFocus()})),this._register(a.i(e,a.c.KEY_DOWN,t=>{const n=new Ie.a(t);switch(n.keyCode){case 3:a.b.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:a.b.stop(t,!0),this.hide();break;case 2:if(!n.altKey&&!n.ctrlKey&&!n.metaKey){const i=[".action-label.codicon"];e.classList.contains("show-checkboxes")?i.push("input"):i.push("input[type=text]"),this.getUI().list.isDisplayed()&&i.push(".monaco-list");const o=e.querySelectorAll(i.join(", "));n.shiftKey&&n.target===o[0]?(a.b.stop(t,!0),o[o.length-1].focus()):n.shiftKey||n.target!==o[o.length-1]||(a.b.stop(t,!0),o[0].focus())}}})),this.ui={container:e,styleSheet:t,leftActionBar:i,titleBar:n,title:o,description:s,rightActionBar:r,checkAll:c,filterContainer:h,inputBox:u,visibleCountContainer:p,visibleCount:m,countContainer:g,count:f,okContainer:b,ok:_,message:y,customButtonContainer:v,customButton:w,progressBar:C,list:x,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},n=Ao.a.None){return new Promise((i,o)=>{let r=e=>{r=i,t.onKeyMods&&t.onKeyMods(s.keyMods),i(e)};if(n.isCancellationRequested)return void r(void 0);const s=this.createQuickPick();let a;const l=[s,s.onDidAccept(()=>{if(s.canSelectMany)r(s.selectedItems.slice()),s.hide();else{const e=s.activeItems[0];e&&(r(e),s.hide())}}),s.onDidChangeActive(e=>{const n=e[0];n&&t.onDidFocus&&t.onDidFocus(n)}),s.onDidChangeSelection(e=>{if(!s.canSelectMany){const t=e[0];t&&(r(t),s.hide())}}),s.onDidTriggerItemButton(e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{const t=s.items.indexOf(e.item);if(-1!==t){const e=s.items.slice();e.splice(t,1),s.items=e}}}))),s.onDidChangeValue(e=>{!a||e||1===s.activeItems.length&&s.activeItems[0]===a||(s.activeItems=[a])}),n.onCancellationRequested(()=>{s.hide()}),s.onDidHide(()=>{Object(I.f)(l),r(void 0)})];s.canSelectMany=!!t.canPickMany,s.placeholder=t.placeHolder,s.ignoreFocusOut=!!t.ignoreFocusLost,s.matchOnDescription=!!t.matchOnDescription,s.matchOnDetail=!!t.matchOnDetail,s.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,s.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,s.quickNavigate=t.quickNavigate,s.contextKey=t.contextKey,s.busy=!0,Promise.all([e,t.activeItem]).then(([e,t])=>{a=t,s.busy=!1,s.items=e,s.canSelectMany&&(s.selectedItems=e.filter(e=>"separator"!==e.type&&e.picked)),a&&(s.activeItems=[a])}),s.show(),Promise.resolve(e).then(void 0,e=>{o(e),s.hide()})})}createQuickPick(){const e=this.getUI();return new mr(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const n=this.controller;this.controller=e,n&&n.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(Ae.a.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),t.message.textContent="",t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="";const i=this.options.backKeybindingLabel();ur.tooltip=i?Object(Ke.a)("quickInput.backWithKeybinding","Back ({0})",i):Object(Ke.a)("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description.style.display=e.description?"":"none",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkAll?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(){var e;const t=this.controller;if(t){const n=!(null===(e=this.ui)||void 0===e?void 0:e.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",n||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),t.didHide()}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";const e=this.ui.container.style,t=Math.min(.62*this.dimension.width,gr.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:n,contrastBorder:i,widgetShadow:o}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():"",this.ui.container.style.backgroundColor=t?t.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=i?"1px solid "+i:"",this.ui.container.style.boxShadow=o?"0 5px 8px "+o:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const r=[];this.styles.list.listInactiveFocusForeground&&(r.push(`.monaco-list .monaco-list-row.focused { color: ${this.styles.list.listInactiveFocusForeground}; }`),r.push(`.monaco-list .monaco-list-row.focused:hover { color: ${this.styles.list.listInactiveFocusForeground}; }`)),this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`);const s=r.join("\n");s!==this.ui.styleSheet.innerHTML&&(this.ui.styleSheet.innerHTML=s)}}}gr.MAX_WIDTH=600;var fr=n(110),br=n(134),_r=n(133),vr=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},wr=function(e,t){return function(n,i){t(n,i,e)}};let yr=class extends I.a{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=ln.a.as(br.b.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){var n;const[i,o]=this.getOrInstantiateProvider(e),r=this.visibleQuickAccess,s=null==r?void 0:r.descriptor;if(r&&o&&s===o)return e===o.prefix||(null==t?void 0:t.preserveValue)||(r.picker.value=e),void this.adjustValueSelection(r.picker,o,t);if(o&&!(null==t?void 0:t.preserveValue)){let t=void 0;if(r&&s&&s!==o){const e=r.value.substr(s.prefix.length);e&&(t=`${o.prefix}${e}`)}if(!t){const e=null==i?void 0:i.defaultFilterValue;e===br.a.LAST?t=this.lastAcceptedPickerValues.get(o):"string"==typeof e&&(t=`${o.prefix}${e}`)}"string"==typeof t&&(e=t)}const a=new I.b,l=a.add(this.quickInputService.createQuickPick());l.value=e,this.adjustValueSelection(l,o,t),l.placeholder=null==o?void 0:o.placeholder,l.quickNavigate=null==t?void 0:t.quickNavigateConfiguration,l.hideInput=!!l.quickNavigate&&!r,("number"==typeof(null==t?void 0:t.itemActivation)||(null==t?void 0:t.quickNavigateConfiguration))&&(l.itemActivation=null!==(n=null==t?void 0:t.itemActivation)&&void 0!==n?n:fr.b.SECOND),l.contextKey=null==o?void 0:o.contextKey,l.filterValue=e=>e.substring(o?o.prefix.length:0),(null==o?void 0:o.placeholder)&&(l.ariaLabel=null==o?void 0:o.placeholder);const c=this.registerPickerListeners(l,i,o,e,a);i&&a.add(i.provide(l,c)),l.show()}adjustValueSelection(e,t,n){var i;let o;o=(null==n?void 0:n.preserveValue)?[e.value.length,e.value.length]:[null!==(i=null==t?void 0:t.prefix.length)&&void 0!==i?i:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,n,i,o){const r=this.visibleQuickAccess={picker:e,descriptor:n,value:i};o.add(Object(I.h)(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),o.add(e.onDidChangeValue(e=>{const[n]=this.getOrInstantiateProvider(e);n!==t?this.show(e,{preserveValue:!0}):r.value=e})),n&&o.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(n,e.value)}));const s=o.add(new Ao.b);return Object(_r.a)(e.onDidHide)(()=>{0===e.selectedItems.length&&s.cancel(),o.dispose()}),s.token}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let n=this.mapProviderToDescriptor.get(t);return n||(n=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,n)),[n,t]}};yr=vr([wr(0,fr.a),wr(1,Ft.a)],yr);var Cr=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},xr=function(e,t){return function(n,i){t(n,i,e)}};let Sr=class extends zt.d{constructor(e,t,n,i,o){super(n),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=i,this.layoutService=o,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(yr))),this._quickAccess}createController(e=this.layoutService,t){var n,i;const o={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,n,i,o)=>this.instantiationService.createInstance(Ki.d,e,t,n,i,o),styles:this.computeStyles()},r=this._register(new gr(Object.assign(Object.assign({},o),t)));return r.layout(e.dimension,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0),this._register(e.onLayout(t=>{var n,i;return r.layout(t,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0)})),this._register(r.onShow(()=>this.resetContextKeys())),this._register(r.onHide(()=>this.resetContextKeys())),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new Mt.c(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},n=Ao.a.None){return this.controller.pick(e,t,n)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(Ti.d)(this.theme,{quickInputBackground:Mn.dc,quickInputForeground:Mn.ec,quickInputTitleBackground:Mn.fc,contrastBorder:Mn.h,widgetShadow:Mn.uc})),inputBox:Object(Ti.d)(this.theme,{inputForeground:Mn.hb,inputBackground:Mn.fb,inputBorder:Mn.gb,inputValidationInfoBackground:Mn.lb,inputValidationInfoForeground:Mn.nb,inputValidationInfoBorder:Mn.mb,inputValidationWarningBackground:Mn.ob,inputValidationWarningForeground:Mn.qb,inputValidationWarningBorder:Mn.pb,inputValidationErrorBackground:Mn.ib,inputValidationErrorForeground:Mn.kb,inputValidationErrorBorder:Mn.jb}),countBadge:Object(Ti.d)(this.theme,{badgeBackground:Mn.c,badgeForeground:Mn.d,badgeBorder:Mn.h}),button:Object(Ti.d)(this.theme,{buttonForeground:Mn.f,buttonBackground:Mn.e,buttonHoverBackground:Mn.g,buttonBorder:Mn.h}),progressBar:Object(Ti.d)(this.theme,{progressBarBackground:Mn.cc}),list:Object(Ti.d)(this.theme,{listBackground:Mn.dc,listInactiveFocusForeground:Mn.yb,listInactiveFocusBackground:Mn.xb,listFocusOutline:Mn.b,listInactiveFocusOutline:Mn.b,pickerGroupBorder:Mn.Xb,pickerGroupForeground:Mn.Yb})}}};Sr=Cr([xr(0,Ft.a),xr(1,Mt.b),xr(2,zt.c),xr(3,Bt.b),xr(4,Ri)],Sr);var kr=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Er=function(e,t){return function(n,i){t(n,i,e)}};let Tr=class extends Sr{constructor(e,t,n,i,o,r){super(t,n,i,o,r),this.host=void 0;const s=Nr.get(e);this.host={_serviceBrand:void 0,get container(){return s.widget.getDomNode()},get dimension(){return e.getLayoutInfo()},get onLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}createController(){return super.createController(this.host)}};Tr=kr([Er(1,Ft.a),Er(2,Mt.b),Er(3,zt.c),Er(4,Bt.b),Er(5,Ri)],Tr);let Lr=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const n=t=this.instantiationService.createInstance(Tr,e);this.mapEditorToService.set(e,t),Object(_r.a)(e.onDidDispose)(()=>{n.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},n=Ao.a.None){return this.activeService.pick(e,t,n)}createQuickPick(){return this.activeService.createQuickPick()}};Lr=kr([Er(0,Ft.a),Er(1,s.a)],Lr);class Nr{constructor(e){this.editor=e,this.widget=new Ir(this.editor)}static get(e){return e.getContribution(Nr.ID)}dispose(){this.widget.dispose()}}Nr.ID="editor.controller.quickInput";class Ir{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return Ir.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}Ir.ID="editor.contrib.quickInputWidget",Object(Do.m)(Nr.ID,Nr);var Or,Dr=n(166);!function(e){const t=new Vi.a;class n{constructor(e,t){this._serviceId=e,this._factory=t,this._value=null}get id(){return this._serviceId}get(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value}}e.LazyStaticService=n;let i=[];function o(e,t){let o=new n(e,t);return i.push(o),o}e.init=function(e){let t=new Vi.a;for(const[e,n]of Object(ho.a)())t.set(e,n);for(let n in e)e.hasOwnProperty(n)&&t.set(Object(Ft.c)(n),e[n]);i.forEach(n=>t.set(n.id,n.get(e)));let n=new Hi(t,!0);return t.set(Ft.a,n),[t,n]},e.instantiationService=o(Ft.a,()=>new Hi(t,!0));const r=new wt;e.configurationService=o(ze.a,()=>r),e.resourceConfigurationService=o(z.a,()=>new yt(r)),e.resourcePropertiesService=o(z.b,()=>new Ct(r)),e.contextService=o(at.a,()=>new St),e.labelService=o($i.a,()=>new Tt),e.telemetryService=o(Ii.a,()=>new xt),e.dialogService=o(Wi.a,()=>new gt),e.notificationService=o(st.a,()=>new ft),e.markerService=o(Gi.b,()=>new Qi),e.modeService=o(Zt.a,e=>new un),e.standaloneThemeService=o(At.a,()=>new $n),e.logService=o(V.b,()=>new V.a),e.undoRedoService=o(bo.a,t=>new Io(e.dialogService.get(t),e.notificationService.get(t))),e.modelService=o(W.a,t=>new pn.a(e.configurationService.get(t),e.resourcePropertiesService.get(t),e.standaloneThemeService.get(t),e.logService.get(t),e.undoRedoService.get(t))),e.markerDecorationsService=o(oo.a,t=>new co(e.modelService.get(t),e.markerService.get(t))),e.codeEditorService=o(s.a,t=>new kn(e.standaloneThemeService.get(t))),e.editorProgressService=o(Vt.a,()=>new mt),e.storageService=o(Ji.a,()=>new Ji.b),e.storageSyncService=o(Dr.a,()=>new Dr.b),e.editorWorkerService=o(T.a,t=>new Y(e.modelService.get(t),e.resourceConfigurationService.get(t),e.logService.get(t)))}(Or||(Or={}));class Ar extends I.a{constructor(e,t){super();const[n,i]=Or.init(t);this._serviceCollection=n,this._instantiationService=i;const o=this.get(ze.a),r=this.get(st.a),a=this.get(Ii.a),l=this.get(zt.c),c=this.get(V.b);let d=(e,n)=>{let i=null;return t&&(i=t[e.toString()]),i||(i=n()),this._serviceCollection.set(e,i),i},h=d(Mt.b,()=>this._register(new ii(o)));d(Bt.b,()=>new mo(h,o)),d(Ki.a,()=>new Ki.b(l));let u=d(p.b,()=>new bt(this._instantiationService)),m=d(Wt.a,()=>this._register(new _t(h,u,a,r,c,e))),g=d(Ri,()=>new Lt(Or.codeEditorService.get(s.a),e));d(fr.a,()=>new Lr(i,Or.codeEditorService.get(s.a)));let f=d(Pt.b,()=>this._register(new Fi(g)));d(jt.a,()=>new fo),d(Pt.a,()=>{const e=new Ai(a,r,f,m,l);return e.configure({blockMouse:!1}),this._register(e)}),d(Rt.a,()=>new no(u)),d(Me.a,()=>new Et(Or.modelService.get(W.a)))}get(e){let t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t}set(e,t){this._serviceCollection.set(e,t)}has(e){return this._serviceCollection.has(e)}}var Rr=n(87);function Mr(e,t,n){let i=new Ar(e,t),o=null;i.has(L.a)||(o=new pt(Or.modelService.get()),i.set(L.a,o)),i.has(m.a)||i.set(m.a,new w(i.get(s.a),i.get(p.b)));let r=n(i);return o&&o.setEditor(r),r}function Pr(e,t,n){return Mr(e,n||{},n=>new Gt(e,t,n,n.get(Ft.a),n.get(s.a),n.get(p.b),n.get(Mt.b),n.get(Wt.a),n.get(Pt.b),n.get(At.a),n.get(st.a),n.get(ze.a),n.get(Bt.b)))}function Fr(e){return Or.codeEditorService.get().onCodeEditorAdd(t=>{e(t)})}function Wr(e,t,n){return Mr(e,n||{},n=>new Yt(e,t,n,n.get(Ft.a),n.get(Mt.b),n.get(Wt.a),n.get(Pt.b),n.get(T.a),n.get(s.a),n.get(At.a),n.get(st.a),n.get(ze.a),n.get(Pt.a),n.get(Vt.a),n.get(jt.a)))}function zr(e,t){return new y.a(e,t)}function Br(e,t,n){return Or.modelService.get().createModel(e,t,n)}function jr(e,t,n){if(e=e||"",!t){let t=e.indexOf("\n"),i=e;return-1!==t&&(i=e.substring(0,t)),Br(e,Or.modeService.get().createByFilepathOrFirstLine(n||null,i),n)}return Br(e,Or.modeService.get().create(t),n)}function Vr(e,t){Or.modelService.get().setMode(e,Or.modeService.get().create(t))}function Ur(e,t,n){e&&Or.markerService.get().changeOne(t,e.uri,n)}function Hr(e){return Or.markerService.get().read(e)}function qr(e){return Or.modelService.get().getModel(e)}function $r(){return Or.modelService.get().getModels()}function Kr(e){return Or.modelService.get().onModelAdded(e)}function Gr(e){return Or.modelService.get().onModelRemoved(e)}function Yr(e){return Or.modelService.get().onModelModeChanged(t=>{e({model:t.model,oldLanguage:t.oldModeId})})}function Zr(e){return function(e,t){return new ie(e,t)}(Or.modelService.get(),e)}function Xr(e,t){const n=Or.standaloneThemeService.get();return n.registerEditorContainer(e),Te.colorizeElement(n,Or.modeService.get(),e,t)}function Qr(e,t,n){return Or.standaloneThemeService.get().registerEditorContainer(document.body),Te.colorize(Or.modeService.get(),e,t,n)}function Jr(e,t,n=4){return Or.standaloneThemeService.get().registerEditorContainer(document.body),Te.colorizeModelLine(e,t,n)}function es(e,t){Or.modeService.get().triggerMode(t);let n=function(e){let t=k.C.get(e);return t||{getInitialState:()=>E.c,tokenize:(t,n,i)=>Object(E.d)(e,t,n,i)}}(t),i=e.split(/\r\n|\r|\n/),o=[],r=n.getInitialState();for(let e=0,t=i.length;e<t;e++){let t=i[e],s=n.tokenize(t,r,0);o[e]=s.tokens,r=s.endState}return o}function ts(e,t){Or.standaloneThemeService.get().defineTheme(e,t)}function ns(e){Or.standaloneThemeService.get().setTheme(e)}function is(){Object(Rr.b)()}function os(e,t){return"boolean"==typeof e?e:t}function rs(e,t){return"string"==typeof e?e:t}function ss(e,t=!1){t&&(e=e.map((function(e){return e.toLowerCase()})));const n=function(e){const t={};for(const n of e)t[n]=!0;return t}(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function as(e,t){let n=0;for(;t.indexOf("@")>=0&&n<5;)n++,t=t.replace(/@(\w+)/g,(function(n,i){let o="";if("string"==typeof e[i])o=e[i];else{if(!(e[i]&&e[i]instanceof RegExp))throw void 0===e[i]?ge(e,"language definition does not contain attribute '"+i+"', used at: "+t):ge(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return ue(o)?"":"(?:"+o+")"}));let i=(e.ignoreCase?"i":"")+(e.unicode?"u":"");return new RegExp(t,i)}function ls(e,t,n,i){let o=-1,r=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(o=parseInt(s[3]),s[2]&&(o+=100)),r=s[4]);let a,l="~",c=r;if(r&&0!==r.length?/^\w*$/.test(c)?l="==":(s=r.match(/^(@|!@|~|!~|==|!=)(.*)$/),s&&(l=s[1],c=s[2])):(l="!=",c=""),"~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(c))if("@"===l||"!@"===l){let n=e[c];if(!n)throw ge(e,"the @ match target '"+c+"' is not defined, in rule: "+t);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(const n of t)if(!e(n))return!1;return!0}((function(e){return"string"==typeof e}),n))throw ge(e,"the @ match target '"+c+"' must be an array of strings, in rule: "+t);let i=ss(n,e.ignoreCase);a=function(e){return"@"===l?i(e):!i(e)}}else if("~"===l||"!~"===l)if(c.indexOf("$")<0){let t=as(e,"^"+c+"$");a=function(e){return"~"===l?t.test(e):!t.test(e)}}else a=function(t,n,i,o){return as(e,"^"+fe(e,c,n,i,o)+"$").test(t)};else if(c.indexOf("$")<0){let t=pe(e,c);a=function(e){return"=="===l?e===t:e!==t}}else{let t=pe(e,c);a=function(n,i,o,r,s){let a=fe(e,t,i,o,r);return"=="===l?n===a:n!==a}}else{let t=ss(c.split("|"),e.ignoreCase);a=function(e){return"~"===l?t(e):!t(e)}}return-1===o?{name:n,value:i,test:function(e,t,n,i){return a(e,e,t,n,i)}}:{name:n,value:i,test:function(e,t,n,i){let r=function(e,t,n,i){if(i<0)return e;if(i<t.length)return t[i];if(i>=100){i-=100;let e=n.split(".");if(e.unshift(n),i<e.length)return e[i]}return null}(e,t,n,o);return a(r||"",e,t,n,i)}}}class cs{constructor(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}setRegex(e,t){let n;if("string"==typeof t)n=t;else{if(!(t instanceof RegExp))throw ge(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=as(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")}setAction(e,t){this.action=function e(t,n,i){if(i){if("string"==typeof i)return i;if(i.token||""===i.token){if("string"!=typeof i.token)throw ge(t,"a 'token' attribute must be of type string, in rule: "+n);{let e={token:i.token};if(i.token.indexOf("$")>=0&&(e.tokenSubst=!0),"string"==typeof i.bracket)if("@open"===i.bracket)e.bracket=1;else{if("@close"!==i.bracket)throw ge(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+n);e.bracket=-1}if(i.next){if("string"!=typeof i.next)throw ge(t,"the next state must be a string value in rule: "+n);{let o=i.next;if(!/^(@pop|@push|@popall)$/.test(o)&&("@"===o[0]&&(o=o.substr(1)),o.indexOf("$")<0&&!function(e,t){let n=t;for(;n&&n.length>0;){if(e.stateNames[n])return!0;const t=n.lastIndexOf(".");n=t<0?null:n.substr(0,t)}return!1}(t,fe(t,o,"",[],""))))throw ge(t,"the next state '"+i.next+"' is not defined in rule: "+n);e.next=o}}return"number"==typeof i.goBack&&(e.goBack=i.goBack),"string"==typeof i.switchTo&&(e.switchTo=i.switchTo),"string"==typeof i.log&&(e.log=i.log),"string"==typeof i.nextEmbedded&&(e.nextEmbedded=i.nextEmbedded,t.usesEmbedded=!0),e}}if(Array.isArray(i)){let o=[];for(let r=0,s=i.length;r<s;r++)o[r]=e(t,n,i[r]);return{group:o}}if(i.cases){let o=[];for(let r in i.cases)if(i.cases.hasOwnProperty(r)){const s=e(t,n,i.cases[r]);"@default"===r||"@"===r||""===r?o.push({test:void 0,value:s,name:r}):"@eos"===r?o.push({test:function(e,t,n,i){return i},value:s,name:r}):o.push(ls(t,n,r,s))}const r=t.defaultToken;return{test:function(e,t,n,i){for(const r of o){if(!r.test||r.test(e,t,n,i))return r.value}return r}}}throw ge(t,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+n)}return{token:""}}(e,this.name,t)}}function ds(e){an.a.registerLanguage(e)}function hs(){let e=[];return e=e.concat(an.a.getLanguages()),e}function us(e){let t=Or.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function ps(e,t){let n=Or.modeService.get().onDidCreateMode(i=>{i.getId()===e&&(n.dispose(),t())});return n}function ms(e,t){let n=Or.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return P.a.register(n,t)}class gs{constructor(e){this._actual=e}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,n){throw new Error("Not supported!")}tokenize2(e,t){let n=this._actual.tokenizeEncoded(e,t);return new le.c(n.tokens,n.endState)}}class fs{constructor(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}getInitialState(){return this._actual.getInitialState()}_toClassicTokens(e,t,n){let i=[],o=0;for(let r=0,s=e.length;r<s;r++){const s=e[r];let a=s.startIndex;0===r?a=0:a<o&&(a=o),i[r]=new le.a(a+n,s.scopes,t),o=a}return i}tokenize(e,t,n){let i,o=this._actual.tokenize(e,t),r=this._toClassicTokens(o.tokens,this._languageIdentifier.language,n);return i=o.endState.equals(t)?t:o.endState,new le.b(r,i)}_toBinaryTokens(e,t){const n=this._languageIdentifier.id,i=this._standaloneThemeService.getColorTheme().tokenTheme;let o=[],r=0,s=0;for(let a=0,l=e.length;a<l;a++){const l=e[a],c=i.match(n,l.scopes);if(r>0&&o[r-1]===c)continue;let d=l.startIndex;0===a?d=0:d<s&&(d=s),o[r++]=d+t,o[r++]=c,s=d}let a=new Uint32Array(r);for(let e=0;e<r;e++)a[e]=o[e];return a}tokenize2(e,t,n){let i,o=this._actual.tokenize(e,t),r=this._toBinaryTokens(o.tokens,n);return i=o.endState.equals(t)?t:o.endState,new le.c(r,i)}}function bs(e){return e&&"function"==typeof e.then}function _s(e,t){let n=Or.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);const i=e=>function(e){return"tokenizeEncoded"in e}(e)?new gs(e):new fs(Or.standaloneThemeService.get(),n,e);return bs(t)?k.C.registerPromise(e,t.then(e=>i(e))):k.C.register(e,i(t))}function vs(e,t){const n=t=>function(e,t,n,i){return new ke(e,t,n,i)}(Or.modeService.get(),Or.standaloneThemeService.get(),e,function(e,t){if(!t||"object"!=typeof t)throw new Error("Monarch: expecting a language definition object");let n={};n.languageId=e,n.noThrow=!1,n.maxStack=100,n.start="string"==typeof t.start?t.start:null,n.ignoreCase=os(t.ignoreCase,!1),n.unicode=os(t.unicode,!1),n.tokenPostfix=rs(t.tokenPostfix,"."+n.languageId),n.defaultToken=rs(t.defaultToken,"source"),n.usesEmbedded=!1;let i=t;function o(e,r,s){for(const a of s){let s=a.include;if(s){if("string"!=typeof s)throw ge(n,"an 'include' attribute must be a string at: "+e);if("@"===s[0]&&(s=s.substr(1)),!t.tokenizer[s])throw ge(n,"include target '"+s+"' is not defined at: "+e);o(e+"."+s,r,t.tokenizer[s])}else{const t=new cs(e);if(Array.isArray(a)&&a.length>=1&&a.length<=3)if(t.setRegex(i,a[0]),a.length>=3)if("string"==typeof a[1])t.setAction(i,{token:a[1],next:a[2]});else{if("object"!=typeof a[1])throw ge(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);{const e=a[1];e.next=a[2],t.setAction(i,e)}}else t.setAction(i,a[1]);else{if(!a.regex)throw ge(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);a.name&&"string"==typeof a.name&&(t.name=a.name),a.matchOnlyAtStart&&(t.matchOnlyAtLineStart=os(a.matchOnlyAtLineStart,!1)),t.setRegex(i,a.regex),t.setAction(i,a.action)}r.push(t)}}}if(i.languageId=e,i.ignoreCase=n.ignoreCase,i.unicode=n.unicode,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw ge(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(let e in t.tokenizer)if(t.tokenizer.hasOwnProperty(e)){n.start||(n.start=e);const i=t.tokenizer[e];n.tokenizer[e]=new Array,o("tokenizer."+e,n.tokenizer[e],i)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw ge(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let r=[];for(let e of t.brackets){let t=e;if(t&&Array.isArray(t)&&3===t.length&&(t={token:t[2],open:t[0],close:t[1]}),t.open===t.close)throw ge(n,"open and close brackets in a 'brackets' attribute must be different: "+t.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof t.open||"string"!=typeof t.token||"string"!=typeof t.close)throw ge(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");r.push({token:t.token+n.tokenPostfix,open:pe(n,t.open),close:pe(n,t.close)})}return n.brackets=r,n.noThrow=!0,n}(e,t));return bs(t)?k.C.registerPromise(e,t.then(e=>n(e))):k.C.register(e,n(t))}function ws(e,t){return k.v.register(e,t)}function ys(e,t){return k.w.register(e,t)}function Cs(e,t){return k.y.register(e,t)}function xs(e,t){return k.p.register(e,{provideHover:(e,n,i)=>{let o=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,i)).then(e=>{if(e)return!e.range&&o&&(e.range=new M.a(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn)),e.range||(e.range=new M.a(n.lineNumber,n.column,n.lineNumber,n.column)),e})}})}function Ss(e,t){return k.m.register(e,t)}function ks(e,t){return k.i.register(e,t)}function Es(e,t){return k.u.register(e,t)}function Ts(e,t){return k.f.register(e,t)}function Ls(e,t){return k.q.register(e,t)}function Ns(e,t){return k.D.register(e,t)}function Is(e,t){return k.b.register(e,t)}function Os(e,t){return k.a.register(e,{provideCodeActions:(e,n,i,o)=>{let r=Or.markerService.get().read({resource:e.uri}).filter(e=>M.a.areIntersectingOrTouching(e,n));return t.provideCodeActions(e,n,{markers:r,only:i.only},o)}})}function Ds(e,t){return k.g.register(e,t)}function As(e,t){return k.j.register(e,t)}function Rs(e,t){return k.t.register(e,t)}function Ms(e,t){return k.s.register(e,t)}function Ps(e,t){return k.d.register(e,t)}function Fs(e,t){return k.c.register(e,t)}function Ws(e,t){return k.o.register(e,t)}function zs(e,t){return k.e.register(e,t)}function Bs(e,t){return k.x.register(e,t)}function js(e,t){return k.l.register(e,t)}function Vs(e,t){return k.k.register(e,t)}const Us=self;o.g.wrappingIndent.defaultValue=0,o.g.glyphMargin.defaultValue=!1,o.g.autoIndent.defaultValue=3,o.g.overviewRulerLanes.defaultValue=2;const Hs=Object(r.a)();Hs.editor={create:Pr,onDidCreateEditor:Fr,createDiffEditor:Wr,createDiffNavigator:zr,createModel:jr,setModelLanguage:Vr,setModelMarkers:Ur,getModelMarkers:Hr,getModels:$r,getModel:qr,onDidCreateModel:Kr,onWillDisposeModel:Gr,onDidChangeModelLanguage:Yr,createWebWorker:Zr,colorizeElement:Xr,colorize:Qr,colorizeModelLine:Jr,tokenize:es,defineTheme:ts,setTheme:ns,remeasureFonts:is,AccessibilitySupport:oe.a,ContentWidgetPositionPreference:oe.f,CursorChangeReason:oe.g,DefaultEndOfLine:oe.h,EditorAutoIndentStrategy:oe.j,EditorOption:oe.k,EndOfLinePreference:oe.l,EndOfLineSequence:oe.m,MinimapPosition:oe.r,MouseTargetType:oe.s,OverlayWidgetPositionPreference:oe.t,OverviewRulerLane:oe.u,RenderLineNumbersType:oe.v,RenderMinimap:oe.w,ScrollbarVisibility:oe.y,ScrollType:oe.x,TextEditorCursorBlinkingStyle:oe.D,TextEditorCursorStyle:oe.E,TrackedRangeStickiness:oe.F,WrappingIndent:oe.G,ConfigurationChangedEvent:o.b,BareFontInfo:C.a,FontInfo:C.b,TextModelResolvedOptions:S.e,FindMatch:S.b,EditorType:x.a,EditorOptions:o.g},Hs.languages={register:ds,getLanguages:hs,onLanguage:ps,getEncodedLanguageId:us,setLanguageConfiguration:ms,setTokensProvider:_s,setMonarchTokensProvider:vs,registerReferenceProvider:ws,registerRenameProvider:ys,registerCompletionItemProvider:Ps,registerSignatureHelpProvider:Cs,registerHoverProvider:xs,registerDocumentSymbolProvider:Ss,registerDocumentHighlightProvider:ks,registerOnTypeRenameProvider:Es,registerDefinitionProvider:Ts,registerImplementationProvider:Ls,registerTypeDefinitionProvider:Ns,registerCodeLensProvider:Is,registerCodeActionProvider:Os,registerDocumentFormattingEditProvider:Ds,registerDocumentRangeFormattingEditProvider:As,registerOnTypeFormattingEditProvider:Rs,registerLinkProvider:Ms,registerColorProvider:Fs,registerFoldingRangeProvider:Ws,registerDeclarationProvider:zs,registerSelectionRangeProvider:Bs,registerDocumentSemanticTokensProvider:js,registerDocumentRangeSemanticTokensProvider:Vs,DocumentHighlightKind:oe.i,CompletionItemKind:oe.c,CompletionItemTag:oe.d,CompletionItemInsertTextRule:oe.b,SymbolKind:oe.B,SymbolTag:oe.C,IndentAction:oe.n,CompletionTriggerKind:oe.e,SignatureHelpTriggerKind:oe.A,FoldingRangeKind:k.n};const qs=Hs.CancellationTokenSource,$s=Hs.Emitter,Ks=Hs.KeyCode,Gs=Hs.KeyMod,Ys=Hs.Position,Zs=Hs.Range,Xs=Hs.Selection,Qs=Hs.SelectionDirection,Js=Hs.MarkerSeverity,ea=Hs.MarkerTag,ta=Hs.Uri,na=Hs.Token,ia=Hs.editor,oa=Hs.languages;Us.monaco=Hs,void 0!==Us.require&&"function"==typeof Us.require.config&&Us.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("modeService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18),o=n(141);n.d(t,"b",(function(){return o.a}));const r=Object(i.c)("quickInputService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(12);class o{constructor(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}equals(e){return e instanceof o&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;const i=t<<1,o=i+(n<<1);for(let t=i;t<o;t++)if(this._tokens[t]!==e._tokens[t])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[1+(e<<1)]}getLanguageId(e){const t=this._tokens[1+(e<<1)];return i.B.getLanguageId(t)}getStandardTokenType(e){const t=this._tokens[1+(e<<1)];return i.B.getTokenType(t)}getForeground(e){const t=this._tokens[1+(e<<1)];return i.B.getForeground(t)}getClassName(e){const t=this._tokens[1+(e<<1)];return i.B.getClassNameFromMetadata(t)}getInlineStyle(e,t){const n=this._tokens[1+(e<<1)];return i.B.getInlineStyleFromMetadata(n,t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return o.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,n){return new r(this,e,t,n)}static convertToEndOffset(e,t){const n=(e.length>>>1)-1;for(let t=0;t<n;t++)e[t<<1]=e[t+1<<1];e[n<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let n=0,i=(e.length>>>1)-1;for(;n<i;){const o=n+Math.floor((i-n)/2),r=e[o<<1];if(r===t)return o+1;r<t?n=o+1:r>t&&(i=o)}return n}}class r{constructor(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,i=e.getCount();t<i;t++){if(e.getStartOffset(t)>=n)break;this._tokensCount++}}equals(e){return e instanceof r&&(this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount))}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return s}));var i=n(143);function o(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===i.a.ICodeEditor}function r(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===i.a.IDiffEditor}function s(e){return o(e)?e:r(e)?e.getModifiedEditor():null}},function(e,t,n){"use strict";n.d(t,"e",(function(){return T})),n.d(t,"f",(function(){return L})),n.d(t,"a",(function(){return I})),n.d(t,"h",(function(){return A})),n.d(t,"g",(function(){return R})),n.d(t,"d",(function(){return P})),n.d(t,"b",(function(){return F})),n.d(t,"c",(function(){return q}));n(197);var i=n(2),o=n(14),r=n(15),s=n(98),a=n(1),l=n(11),c=n(61),d=n(67),h=n(6),u=n(44);class p extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var m=n(162),g=n(16),f=n(46);class b{constructor(e){this.spliceables=e}splice(e,t,n){this.spliceables.forEach(i=>i.splice(e,t,n))}}var _,v=n(118),w=n(71),y=n(66),C=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};class x{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return"template:"+this.trait.trait}renderTemplate(e){return e}renderElement(e,t,n){const i=Object(r.j)(this.renderedElements,e=>e.templateData===n);if(i>=0){const e=this.renderedElements[i];this.trait.unrender(n),e.index=t}else{const e={index:t,templateData:n};this.renderedElements.push(e)}this.trait.renderIndex(t,n)}splice(e,t,n){const i=[];for(const o of this.renderedElements)o.index<e?i.push(o):o.index>=e+t&&i.push({index:o.index+n-t,templateData:o.templateData});this.renderedElements=i}renderIndexes(e){for(const{index:t,templateData:n}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,n)}disposeTemplate(e){const t=Object(r.j)(this.renderedElements,t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class S{constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new h.a,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new x(this)}splice(e,t,n){const i=n.length-t,o=e+t,r=[...this.sortedIndexes.filter(t=>t<e),...n.map((t,n)=>t?n+e:-1).filter(e=>-1!==e),...this.sortedIndexes.filter(e=>e>=o).map(e=>e+i)];this.renderer.splice(e,t,n.length),this._set(r,r)}renderIndex(e,t){a.ab(t,this._trait,this.contains(e))}unrender(e){a.Q(e,this._trait)}set(e,t){return this._set(e,[...e].sort(j),t)}_set(e,t,n){const i=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const r=B(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:n}),i}get(){return this.indexes}contains(e){return Object(r.c)(this.sortedIndexes,e,j)>=0}dispose(){Object(i.f)(this._onChange)}}C([s.a],S.prototype,"renderer",null);class k extends S{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class E{constructor(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}splice(e,t,n){if(!this.identityProvider)return this.trait.splice(e,t,n.map(()=>!1));const i=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString()),o=n.map(e=>i.indexOf(this.identityProvider.getId(e).toString())>-1);this.trait.splice(e,t,o)}}function T(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function L(e){return!!a.I(e,"monaco-editor")||!a.I(e,"monaco-list")&&(!!e.parentElement&&L(e.parentElement))}class N{constructor(e,t,n){this.list=e,this.view=t,this.disposables=new i.b;const o=!1!==n.multipleSelectionSupport,r=h.b.chain(Object(u.a)(t.domNode,"keydown")).filter(e=>!T(e.target)).map(e=>new d.a(e));r.filter(e=>3===e.keyCode).on(this.onEnter,this,this.disposables),r.filter(e=>16===e.keyCode).on(this.onUpArrow,this,this.disposables),r.filter(e=>18===e.keyCode).on(this.onDownArrow,this,this.disposables),r.filter(e=>11===e.keyCode).on(this.onPageUpArrow,this,this.disposables),r.filter(e=>12===e.keyCode).on(this.onPageDownArrow,this,this.disposables),r.filter(e=>9===e.keyCode).on(this.onEscape,this,this.disposables),o&&r.filter(e=>(l.f?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.disposables)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(r.s)(this.list.length),e.browserEvent),this.view.domNode.focus()}onEscape(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()}dispose(){this.disposables.dispose()}}!function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(_||(_={}));const I=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class O{constructor(e,t,n,o){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=o,this.enabled=!1,this.state=_.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new i.b,this.disposables=new i.b,this.updateOptions(e.options)}updateOptions(e){void 0===e.enableKeyboardNavigation||!!e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const e=h.b.chain(Object(u.a)(this.view.domNode,"keydown")).filter(e=>!T(e.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(e=>new d.a(e)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>{e.stopPropagation(),e.preventDefault()}).map(e=>e.browserEvent.key).event,t=h.b.debounce(e,()=>null,800);h.b.reduce(h.b.any(e,t),(e,t)=>null===t?null:(e||"")+t)(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const n=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));n&&Object(y.a)(n)}this.previouslyFocused=-1}onInput(e){if(!e)return this.state=_.Idle,void(this.triggered=!1);const t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===_.Idle?1:0;this.state=_.Typing;for(let t=0;t<this.list.length;t++){const o=(n+t+i)%this.list.length,r=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(o)),s=r&&r.toString();if(void 0===s||Object(w.h)(e,s))return this.previouslyFocused=n,this.list.setFocus([o]),void this.list.reveal(o)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class D{constructor(e,t){this.list=e,this.view=t,this.disposables=new i.b;h.b.chain(Object(u.a)(t.domNode,"keydown")).filter(e=>!T(e.target)).map(e=>new d.a(e)).filter(e=>!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(0===t.length)return;const n=this.view.domElement(t[0]);if(!n)return;const i=n.querySelector("[tabIndex]");if(!(i&&i instanceof HTMLElement&&-1!==i.tabIndex))return;const o=window.getComputedStyle(i);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}dispose(){this.disposables.dispose()}}function A(e){return l.f?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function R(e){return e.browserEvent.shiftKey}const M={isSelectionSingleChangeEvent:A,isSelectionRangeChangeEvent:R};class P{constructor(e){this.list=e,this.disposables=new i.b,this._onPointer=new h.a,this.onPointer=this._onPointer.event,this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||M),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(c.b.addTarget(e.getHTMLElement()))),h.b.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}isSelectionSingleChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):l.f?e.browserEvent.metaKey:e.browserEvent.ctrlKey}isSelectionRangeChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){L(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(L(e.browserEvent.target))return;const t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport)return;if(T(e.browserEvent.target)||L(e.browserEvent.target))return;let t=this.list.getFocus()[0];const n=this.list.getSelection();t=void 0===t?n[0]:t;const i=e.index;return void 0===i?(this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent)):this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e)?this.changeSelection(e,t):(this.list.setFocus([i],e.browserEvent),(o=e.browserEvent)instanceof MouseEvent&&2===o.button||this.list.setSelection([i],e.browserEvent),void this._onPointer.fire(e));var o}onDoubleClick(e){if(T(e.browserEvent.target)||L(e.browserEvent.target))return;if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e,t){const n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){const i=Math.min(t,n),o=Math.max(t,n),s=Object(r.s)(i,o+1),a=this.list.getSelection(),l=function(e,t){const n=e.indexOf(t);if(-1===n)return[];const i=[];let o=n-1;for(;o>=0&&e[o]===t-(n-o);)i.push(e[o--]);i.reverse(),o=n;for(;o<e.length&&e[o]===t+(o-n);)i.push(e[o++]);return i}(B(a,[t]),t);if(0===l.length)return;const c=B(s,function(e,t){const n=[];let i=0,o=0;for(;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){i++,o++;continue}e[i]<t[o]?n.push(e[i++]):o++}return n}(a,l));this.list.setSelection(c,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const t=this.list.getSelection(),i=t.filter(e=>e!==n);this.list.setFocus([n]),t.length===i.length?this.list.setSelection([...i,n],e.browserEvent):this.list.setSelection(i,e.browserEvent)}}dispose(){this.disposables.dispose()}}class F{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&"."+this.selectorSuffix,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):l.f||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),e.listFocusBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listFocusAndSelectionBackground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusBackground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(n.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&n.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&n.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&n.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&n.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&n.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&n.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&n.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&n.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&n.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&n.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&n.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`);const i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)}}const W={listFocusBackground:g.a.fromHex("#7FB0D0"),listActiveSelectionBackground:g.a.fromHex("#0E639C"),listActiveSelectionForeground:g.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:g.a.fromHex("#094771"),listFocusAndSelectionForeground:g.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:g.a.fromHex("#3F3F46"),listHoverBackground:g.a.fromHex("#2A2D2E"),listDropBackground:g.a.fromHex("#383B3D"),treeIndentGuidesStroke:g.a.fromHex("#a9a9a9")},z={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function B(e,t){const n=[];let i=0,o=0;for(;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){n.push(e[i]),i++,o++;continue}e[i]<t[o]?n.push(e[i++]):n.push(t[o++])}return n}const j=(e,t)=>e-t;class V{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,n,i){let o=0;for(const r of this.renderers)r.renderElement(e,t,n[o++],i)}disposeElement(e,t,n,i){let o=0;for(const r of this.renderers)r.disposeElement&&r.disposeElement(e,t,n[o],i),o+=1}disposeTemplate(e){let t=0;for(const n of this.renderers)n.disposeTemplate(e[t++])}}class U{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,n){const i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");const o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?n.setAttribute("aria-level",""+o):n.removeAttribute("aria-level")}disposeTemplate(e){}}class H{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)}onDragOver(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}drop(e,t,n,i){this.dnd.drop(e,t,n,i)}}class q{constructor(e,t,n,o,r=z){var s;this.user=e,this._options=r,this.eventBufferer=new h.c,this._ariaLabel="",this.disposables=new i.b,this.didJustPressContextMenuKey=!1,this._onDidDispose=new h.a,this.onDidDispose=this._onDidDispose.event;const l=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(s=this._options.accessibilityProvider)||void 0===s?void 0:s.getWidgetRole():"list";this.selection=new k("listbox"!==l),this.focus=new S("focused"),Object(f.g)(r,W,!1);const c=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=r.accessibilityProvider,this.accessibilityProvider&&(c.push(new U(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),o=o.map(e=>new V(e.templateId,[...c,e]));const d=Object.assign(Object.assign({},r),{dnd:r.dnd&&new H(this,r.dnd)});if(this.view=new m.b(t,n,o,d),this.view.domNode.setAttribute("role",l),r.styleController)this.styleController=r.styleController(this.view.domId);else{const e=a.v(this.view.domNode);this.styleController=new F(e,this.view.domId)}if(this.spliceable=new b([new E(this.focus,this.view,r.identityProvider),new E(this.selection,this.view,r.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=h.b.map(Object(u.a)(this.view.domNode,"focus",!0),()=>null),this.onDidBlur=h.b.map(Object(u.a)(this.view.domNode,"blur",!0),()=>null),this.disposables.add(new D(this,this.view)),"boolean"!=typeof r.keyboardSupport||r.keyboardSupport){const e=new N(this,this.view,r);this.disposables.add(e)}if(r.keyboardNavigationLabelProvider){const e=r.keyboardNavigationDelegate||I;this.typeLabelController=new O(this,this.view,r.keyboardNavigationLabelProvider,e),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(r),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),r.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return h.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e))}get onDidChangeSelection(){return h.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){const e=h.b.chain(Object(u.a)(this.view.domNode,"keydown")).map(e=>new d.a(e)).filter(e=>this.didJustPressContextMenuKey=58===e.keyCode||e.shiftKey&&68===e.keyCode).filter(e=>(e.preventDefault(),e.stopPropagation(),!1)).event,t=h.b.chain(Object(u.a)(this.view.domNode,"keyup")).filter(()=>{const e=this.didJustPressContextMenuKey;return this.didJustPressContextMenuKey=!1,e}).filter(()=>this.getFocus().length>0&&!!this.view.domElement(this.getFocus()[0])).map(e=>{const t=this.getFocus()[0];return{index:t,element:this.view.element(t),anchor:this.view.domElement(t),browserEvent:e}}).event,n=h.b.chain(this.view.onContextMenu).filter(()=>!this.didJustPressContextMenuKey).map(({element:e,index:t,browserEvent:n})=>({element:e,index:t,anchor:{x:n.clientX+1,y:n.clientY},browserEvent:n})).event;return h.b.any(e,t,n)}get onKeyDown(){return Object(u.a)(this.view.domNode,"keydown")}createMouseController(e){return new P(this)}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,n=[]){if(e<0||e>this.view.length)throw new p(this.user,"Invalid start index: "+e);if(t<0)throw new p(this.user,"Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,n))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus()}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const t of e)if(t<0||t>=this.length)throw new p(this.user,"Invalid index "+t);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setFocus(e,t){for(const t of e)if(t<0||t>=this.length)throw new p(this.user,"Invalid index "+t);this.focus.set(e,t)}focusNext(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,i);r>-1&&this.setFocus([r],n)}focusPrevious(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,i);r>-1&&this.setFocus([r],n)}focusNextPage(e,t){let n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=0===n?0:n-1;const i=this.view.element(n),o=this.getFocusedElements()[0];if(o!==i){const i=this.findPreviousIndex(n,!1,t);i>-1&&o!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const i=this.view.getScrollTop();this.view.setScrollTop(i+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==i&&setTimeout(()=>this.focusNextPage(e,t),0)}}focusPreviousPage(e,t){let n;const i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);const o=this.view.element(n),r=this.getFocusedElements()[0];if(r!==o){const i=this.findNextIndex(n,!1,t);i>-1&&r!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const n=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==n&&setTimeout(()=>this.focusPreviousPage(e,t),0)}}focusLast(e,t){if(0===this.length)return;const n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,n){if(0===this.length)return;const i=this.findNextIndex(e,!1,n);i>-1&&this.setFocus([i],t)}findNextIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map(e=>this.view.element(e))}reveal(e,t){if(e<0||e>=this.length)throw new p(this.user,"Invalid index "+e);const n=this.view.getScrollTop(),i=this.view.elementTop(e),r=this.view.elementHeight(e);if(Object(o.h)(t)){const e=r-this.view.renderHeight;this.view.setScrollTop(e*Object(v.b)(t,0,1)+i)}else{const e=i+r,t=n+this.view.renderHeight;i<n&&e>=t||(i<n?this.view.setScrollTop(i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e){if(e<0||e>=this.length)throw new p(this.user,"Invalid index "+e);const t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;const o=i-this.view.renderHeight;return Math.abs((t-n)/o)}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){const e=this.focus.get();a.ab(this.view.domNode,"element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let n;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const e=this.selection.get();a.ab(this.view.domNode,"selection-none",0===e.length),a.ab(this.view.domNode,"selection-single",1===e.length),a.ab(this.view.domNode,"selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}C([s.a],q.prototype,"onDidChangeFocus",null),C([s.a],q.prototype,"onDidChangeSelection",null),C([s.a],q.prototype,"onContextMenu",null)},function(e,t,n){"use strict";function i(e,t){let n=e.getCount(),i=e.findTokenIndexAtOffset(t),r=e.getLanguageId(i),s=i;for(;s+1<n&&e.getLanguageId(s+1)===r;)s++;let a=i;for(;a>0&&e.getLanguageId(a-1)===r;)a--;return new o(e,r,a,s+1,e.getStartOffset(a),e.getEndOffset(s))}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));class o{constructor(e,t,n,i,o,r){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=o,this._lastCharOffset=r}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function r(e){return 0!=(7&e)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var i=n(163);const o=[];function r(e,t,n){o.push([e,new i.a(t,[],n)])}function s(){return o}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n(196);var i=n(2),o=n(60),r=n(1),s=n(14),a=n(67),l=n(6),c=n(123);class d extends i.a{constructor(e,t={}){var n,i,s;let c,d;switch(super(),this._onDidBlur=this._register(new l.a),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new l.a),this.onDidCancel=this._onDidCancel.event,this._onDidRun=this._register(new l.a),this.onDidRun=this._onDidRun.event,this._onDidBeforeRun=this._register(new l.a),this.onDidBeforeRun=this._onDidBeforeRun.event,this.options=t,this._context=null!==(n=t.context)&&void 0!==n?n:null,this._orientation=null!==(i=this.options.orientation)&&void 0!==i?i:0,this._triggerKeys=null!==(s=this.options.triggerKeys)&&void 0!==s?s:{keys:[3,10],keyDown:!1},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new o.b,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._register(this._actionRunner.onDidBeforeRun(e=>this._onDidBeforeRun.fire(e))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&r.e(this.domNode,"animated"),this._orientation){case 0:c=15,d=17;break;case 1:c=17,d=15,this.domNode.className+=" reverse";break;case 2:c=16,d=18,this.domNode.className+=" vertical";break;case 3:c=18,d=16,this.domNode.className+=" vertical reverse"}this._register(r.i(this.domNode,r.c.KEY_DOWN,e=>{const t=new a.a(e);let n=!0;t.equals(c)?n=this.focusPrevious():t.equals(d)?n=this.focusNext():t.equals(9)?this._onDidCancel.fire():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown&&this.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())})),this._register(r.i(this.domNode,r.c.KEY_UP,e=>{const t=new a.a(e);this.isTriggerKeyEvent(t)?(this._triggerKeys.keyDown||this.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(r.bb(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{r.x()!==this.domNode&&r.L(r.x(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(n=>{t=t||e.equals(n)}),t}updateFocusedItem(){for(let e=0;e<this.actionsList.children.length;e++){const t=this.actionsList.children[e];if(r.L(r.x(),t)){this.focusedItem=e;break}}}get context(){return this._context}set context(e){this._context=e,this.viewItems.forEach(t=>t.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){const n=Array.isArray(e)?e:[e];let i=s.h(t.index)?t.index:null;n.forEach(e=>{const n=document.createElement("li");let o;n.className="action-item",n.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(r.i(n,r.c.CONTEXT_MENU,e=>{r.b.stop(e,!0)})),this.options.actionViewItemProvider&&(o=this.options.actionViewItemProvider(e)),o||(o=new c.a(this.context,e,t)),o.actionRunner=this._actionRunner,o.setActionContext(this.context),o.render(n),null===i||i<0||i>=this.actionsList.children.length?(this.actionsList.appendChild(n),this.viewItems.push(o)):(this.actionsList.insertBefore(n,this.actionsList.children[i]),this.viewItems.splice(i,0,o),i++)}),this.focusedItem&&this.focus(this.focusedItem)}clear(){Object(i.f)(this.viewItems),this.viewItems=[],r.s(this.actionsList)}focus(e){let t=!1,n=void 0;void 0===e?t=!0:"number"==typeof e?n=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(this.focusedItem=-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())}focusNext(){void 0===this.focusedItem&&(this.focusedItem=this.viewItems.length-1);const e=this.focusedItem;let t;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=e,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(),!0}focusPrevious(){void 0===this.focusedItem&&(this.focusedItem=0);const e=this.focusedItem;let t;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=e,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0),!0}updateFocus(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(let n=0;n<this.viewItems.length;n++){const i=this.viewItems[n];n===this.focusedItem?s.g(i.isEnabled)&&(i.isEnabled()&&s.g(i.focus)?i.focus(e):this.actionsList.focus({preventScroll:t})):s.g(i.blur)&&i.blur()}}doTrigger(e){if(void 0===this.focusedItem)return;const t=this.viewItems[this.focusedItem];if(t instanceof c.b){const n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}run(e,t){return this._actionRunner.run(e,t)}dispose(){Object(i.f)(this.viewItems),this.viewItems=[],r.S(this.getContainer()),super.dispose()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(76);class o extends i.a{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}const r=function(e){let t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}(e=>new o(e))},function(e,t,n){"use strict";function i(e,t,n){return Math.min(Math.max(e,t),n)}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));class o{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return m}));var i=n(8),o=n(132),r=n(3);class s{constructor(e,t,n,i,o,r){this.languageIdentifier=e,this.index=t,this.open=n,this.close=i,this.forwardRegex=o,this.reversedRegex=r,this._openSet=s._toSet(this.open),this._closeSet=s._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const n of e)t.add(n);return t}}class a{constructor(e,t){const n=function(e){const t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);const n=[];for(let e=0;e<t;e++)n[e]=e;const i=(e,t)=>{const[n,i]=e,[o,r]=t;return n===o||n===r||i===o||i===r},o=(e,i)=>{const o=Math.min(e,i),r=Math.max(e,i);for(let e=0;e<t;e++)n[e]===r&&(n[e]=o)};for(let r=0;r<t;r++){const s=e[r];for(let a=r+1;a<t;a++){i(s,e[a])&&o(n[r],n[a])}}const r=[];for(let i=0;i<t;i++){let o=[],s=[];for(let r=0;r<t;r++)if(n[r]===i){const[t,n]=e[r];o.push(t),s.push(n)}o.length>0&&r.push({open:o,close:s})}return r}(t);this.brackets=n.map((t,i)=>new s(e,i,t.open,t.close,function(e,t,n,i){let o=[];o=o.concat(e),o=o.concat(t);for(let e=0,t=o.length;e<t;e++)l(o[e],n,i,o);return o=d(o),o.sort(c),o.reverse(),u(o)}(t.open,t.close,n,i),function(e,t,n,i){let o=[];o=o.concat(e),o=o.concat(t);for(let e=0,t=o.length;e<t;e++)l(o[e],n,i,o);return o=d(o),o.sort(c),o.reverse(),u(o.map(p))}(t.open,t.close,n,i))),this.forwardRegex=function(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=d(t),u(t)}(this.brackets),this.reversedRegex=function(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=d(t),u(t.map(p))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const e of this.brackets){for(const t of e.open)this.textIsBracket[t]=e,this.textIsOpenBracket[t]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,t.length);for(const t of e.close)this.textIsBracket[t]=e,this.textIsOpenBracket[t]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,t.length)}}}function l(e,t,n,i){for(let o=0,r=t.length;o<r;o++){if(o===n)continue;const r=t[o];for(const t of r.open)t.indexOf(e)>=0&&i.push(t);for(const t of r.close)t.indexOf(e)>=0&&i.push(t)}}function c(e,t){return e.length-t.length}function d(e){if(e.length<=1)return e;const t=[],n=new Set;for(const i of e)n.has(i)||(t.push(i),n.add(i));return t}function h(e){const t=/^[\w ]+$/.test(e);return e=i.v(e),t?`\\b${e}\\b`:e}function u(e){let t=`(${e.map(h).join(")|(")})`;return i.q(t,!0)}const p=function(){let e=null,t=null;return function(n){return e!==n&&(e=n,t=function(e){if(o.d){const t=new Uint16Array(e.length);let n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charCodeAt(i);return o.c().decode(t)}{let t=[],n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charAt(i);return t.join("")}}(e)),t}}();class m{static _findPrevBracketInText(e,t,n,i){let o=n.match(e);if(!o)return null;let s=n.length-(o.index||0),a=o[0].length,l=i+s;return new r.a(t,l-a+1,t,l+1)}static findPrevBracketInRange(e,t,n,i,o){const r=p(n).substring(n.length-o,n.length-i);return this._findPrevBracketInText(e,t,r,i)}static findNextBracketInText(e,t,n,i){let o=n.match(e);if(!o)return null;let s=o.index||0,a=o[0].length;if(0===a)return null;let l=i+s;return new r.a(t,l+1,t,l+1+a)}static findNextBracketInRange(e,t,n,i,o){const r=n.substring(i,o);return this.findNextBracketInText(e,t,r,i)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("telemetryService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("clipboardService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("textModelService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return p}));n(196);var i=n(11),o=n(0),r=n(2),s=n(60),a=n(1),l=n(14),c=n(61),d=n(125),h=n(34);class u extends r.a{constructor(e,t,n={}){super(),this.options=n,this._context=e||this,this._action=t,t instanceof s.a&&this._register(t.onDidChange(e=>{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new s.b)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(c.b.addTarget(e));const n=this.options&&this.options.draggable;n&&(e.draggable=!0,h.h&&this._register(a.i(e,a.c.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(d.a.TEXT,this._action.label)}))),this._register(a.i(t,c.a.Tap,e=>this.onClick(e))),this._register(a.i(t,a.c.MOUSE_DOWN,e=>{n||a.b.stop(e,!0),this._action.enabled&&0===e.button&&a.e(t,"active")})),i.f&&this._register(a.i(t,a.c.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register(a.i(t,a.c.CLICK,e=>{a.b.stop(e,!0),this.options&&this.options.isMenu||i.j(()=>this.onClick(e))})),this._register(a.i(t,a.c.DBLCLICK,e=>{a.b.stop(e,!0)})),[a.c.MOUSE_UP,a.c.MOUSE_OUT].forEach(e=>{this._register(a.i(t,e,e=>{a.b.stop(e),a.Q(t,"active")}))})}onClick(e){var t;a.b.stop(e,!0);const n=l.l(this._context)?(null===(t=this.options)||void 0===t?void 0:t.useEventAsContext)?e:void 0:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.focus(),a.e(this.element,"focused"))}blur(){this.element&&(this.element.blur(),a.Q(this.element,"focused"))}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(a.S(this.element),this.element=void 0),super.dispose()}}class p extends u{constructor(e,t,n={}){super(e,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=a.p(this.element,a.a("a.action-label"))),this.label&&(this._action.id===s.c.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(a.p(this.element,a.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){super.focus(),this.label&&this.label.focus()}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=o.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&a.R(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(a.e(this.label,"codicon"),this.cssClass&&a.f(this.label,this.cssClass)),this.updateEnabled()):this.label&&a.Q(this.label,"codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),a.Q(this.label,"disabled"),this.label.tabIndex=0),this.element&&a.Q(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),a.e(this.label,"disabled"),a.T(this.label)),this.element&&a.e(this.element,"disabled"))}updateChecked(){this.label&&(this.getAction().checked?a.e(this.label,"checked"):a.Q(this.label,"checked"))}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"e",(function(){return b})),n.d(t,"d",(function(){return _}));var i=n(15),o=n(111),r=n(9),s=n(3),a=n(12);function l(e){let t=0,n=0,i=0,o=0;for(let r=0,s=e.length;r<s;r++){const a=e.charCodeAt(r);13===a?(0===t&&(n=r),t++,r+1<s&&10===e.charCodeAt(r+1)?(o|=2,r++):o|=3,i=r+1):10===a&&(o|=1,0===t&&(n=r),t++,i=r+1)}return 0===t&&(n=e.length),[t,n,e.length-i,o]}function c(e){return(16384|e<<0|2<<23)>>>0}const d=new Uint32Array(0).buffer;class h{constructor(){this.tokens=[]}add(e,t){if(this.tokens.length>0){const n=this.tokens[this.tokens.length-1];if(n.startLineNumber+n.tokens.length-1+1===e)return void n.tokens.push(t)}this.tokens.push(new g(e,[t]))}}class u{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let n=0;n<this._tokenCount;n++)t.push(`(${this._getDeltaLine(n)+e},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);return`[${t.join(",")}]`}getMaxDeltaLine(){const e=this._getTokenCount();return 0===e?-1:this._getDeltaLine(e-1)}getRange(){const e=this._getTokenCount();if(0===e)return null;const t=this._getStartCharacter(0),n=this._getDeltaLine(e-1),i=this._getEndCharacter(e-1);return new s.a(0,t+1,n,i+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(e){return this._tokens[4*e]}_getStartCharacter(e){return this._tokens[4*e+1]}_getEndCharacter(e){return this._tokens[4*e+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(e){let t=0,n=this._getTokenCount()-1;for(;t<n;){const i=t+Math.floor((n-t)/2),o=this._getDeltaLine(i);if(o<e)t=i+1;else{if(!(o>e)){let o=i;for(;o>t&&this._getDeltaLine(o-1)===e;)o--;let r=i;for(;r<n&&this._getDeltaLine(r+1)===e;)r++;return new p(this._tokens.subarray(4*o,4*r+4))}n=i-1}}return this._getDeltaLine(t)===e?new p(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,n,i){const o=this._tokens,r=this._tokenCount;let s=0,a=!1,l=0;for(let c=0;c<r;c++){const r=4*c,d=o[r],h=o[r+1],u=o[r+2],p=o[r+3];if((d>e||d===e&&u>=t)&&(d<n||d===n&&h<=i))a=!0;else{if(0===s&&(l=d),a){const e=4*s;o[e]=d-l,o[e+1]=h,o[e+2]=u,o[e+3]=p}s++}}return this._tokenCount=s,l}split(e,t,n,i){const o=this._tokens,r=this._tokenCount;let s=[],a=[],l=s,c=0,d=0;for(let s=0;s<r;s++){const r=4*s,h=o[r],u=o[r+1],p=o[r+2],m=o[r+3];if(h>e||h===e&&p>=t){if(h<n||h===n&&u<=i)continue;l!==a&&(l=a,c=0,d=h)}l[c++]=h-d,l[c++]=u,l[c++]=p,l[c++]=m}return[new u(new Uint32Array(s)),new u(new Uint32Array(a)),d]}acceptDeleteRange(e,t,n,i,o){const r=this._tokens,s=this._tokenCount,a=i-t;let l=0,c=!1;for(let d=0;d<s;d++){const h=4*d;let u=r[h],p=r[h+1],m=r[h+2];const g=r[h+3];if(u<t||u===t&&m<=n){l++;continue}if(u===t&&p<n)u===i&&m>o?m-=o-n:m=n;else if(u===t&&p===n){if(!(u===i&&m>o)){c=!0;continue}m-=o-n}else if(u<i||u===i&&p<o){if(!(u===i&&m>o)){c=!0;continue}u===t?(p=n,m=p+(m-o)):(p=0,m=p+(m-o))}else if(u>i){if(0===a&&!c){l=s;break}u-=a}else{if(!(u===i&&p>=o))throw new Error("Not possible!");e&&0===u&&(p+=e,m+=e),u-=a,p-=o-n,m-=o-n}const f=4*l;r[f]=u,r[f+1]=p,r[f+2]=m,r[f+3]=g,l++}this._tokenCount=l}acceptInsertText(e,t,n,i,o,r){const s=0===n&&1===i&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),a=this._tokens,l=this._tokenCount;for(let r=0;r<l;r++){const l=4*r;let c=a[l],d=a[l+1],h=a[l+2];if(!(c<e||c===e&&h<t)){if(c===e&&h===t){if(!s)continue;h+=1}else if(c===e&&d<t&&t<h)0===n?h+=i:h=t;else{if(c===e&&d===t&&s)continue;if(c===e)if(c+=n,0===n)d+=i,h+=i;else{const e=h-d;d=o+(d-t),h=d+e}else c+=n}a[l]=c,a[l+1]=d,a[l+2]=h}}}}class p{constructor(e){this._tokens=e}getCount(){return this._tokens.length/4}getStartCharacter(e){return this._tokens[4*e+1]}getEndCharacter(e){return this._tokens[4*e+2]}getMetadata(e){return this._tokens[4*e+3]}}class m{constructor(e,t){this.startLineNumber=e,this.tokens=t,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}toString(){return this.tokens.toString(this.startLineNumber)}_updateEndLineNumber(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}isEmpty(){return this.tokens.isEmpty()}getLineTokens(e){return this.startLineNumber<=e&&e<=this.endLineNumber?this.tokens.getLineTokens(e-this.startLineNumber):null}getRange(){const e=this.tokens.getRange();return e?new s.a(this.startLineNumber+e.startLineNumber,e.startColumn,this.startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;this.startLineNumber+=this.tokens.removeTokens(t,e.startColumn-1,n,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber,[i,o,r]=this.tokens.split(t,e.startColumn-1,n,e.endColumn-1);return[new m(this.startLineNumber,i),new m(this.startLineNumber+r,o)]}applyEdit(e,t){const[n,i,o]=l(t);this.acceptEdit(e,n,i,o,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,n,i,o){this._acceptDeleteRange(e),this._acceptInsertText(new r.a(e.startLineNumber,e.startColumn),t,n,i,o),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;if(n<0){const e=n-t;return void(this.startLineNumber-=e)}const i=this.tokens.getMaxDeltaLine();if(!(t>=i+1)){if(t<0&&n>=i+1)return this.startLineNumber=0,void this.tokens.clear();if(t<0){const i=-t;this.startLineNumber-=i,this.tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this.tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}_acceptInsertText(e,t,n,i,o){if(0===t&&0===n)return;const r=e.lineNumber-this.startLineNumber;if(r<0)return void(this.startLineNumber+=t);r>=this.tokens.getMaxDeltaLine()+1||this.tokens.acceptInsertText(r,e.column-1,t,n,i,o)}}class g{constructor(e,t){this.startLineNumber=e,this.tokens=t}}function f(e){return e instanceof Uint32Array?e:new Uint32Array(e)}class b{constructor(){this._pieces=[],this._isComplete=!1}flush(){this._pieces=[],this._isComplete=!1}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let n=e;if(t.length>0){const i=t[0].getRange(),o=t[t.length-1].getRange();if(!i||!o)return e;n=e.plusRange(i).plusRange(o)}let o=null;for(let e=0,t=this._pieces.length;e<t;e++){const i=this._pieces[e];if(i.endLineNumber<n.startLineNumber)continue;if(i.startLineNumber>n.endLineNumber){o=o||{index:e};break}if(i.removeTokens(n),i.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(i.endLineNumber<n.startLineNumber)continue;if(i.startLineNumber>n.endLineNumber){o=o||{index:e};continue}const[r,s]=i.split(n);r.isEmpty()?o=o||{index:e}:s.isEmpty()||(this._pieces.splice(e,1,r,s),e++,t++,o=o||{index:e})}return o=o||{index:this._pieces.length},t.length>0&&(this._pieces=i.a(this._pieces,o.index,t)),n}isComplete(){return this._isComplete}addSemanticTokens(e,t){const n=this._pieces;if(0===n.length)return t;const i=n[b._findFirstPieceWithLine(n,e)].getLineTokens(e);if(!i)return t;const r=t.getCount(),s=i.getCount();let a=0,l=[],c=0,d=0;const h=(e,t)=>{e!==d&&(d=e,l[c++]=e,l[c++]=t)};for(let e=0;e<s;e++){const n=i.getStartCharacter(e),o=i.getEndCharacter(e),s=i.getMetadata(e),l=((1&s?2048:0)|(2&s?4096:0)|(4&s?8192:0)|(8&s?8372224:0)|(16&s?4286578688:0))>>>0,c=~l>>>0;for(;a<r&&t.getEndOffset(a)<=n;)h(t.getEndOffset(a),t.getMetadata(a)),a++;for(a<r&&t.getStartOffset(a)<n&&h(n,t.getMetadata(a));a<r&&t.getEndOffset(a)<o;)h(t.getEndOffset(a),t.getMetadata(a)&c|s&l),a++;if(a<r)h(o,t.getMetadata(a)&c|s&l),t.getEndOffset(a)===o&&a++;else{const e=Math.min(Math.max(0,a-1),r-1);h(o,t.getMetadata(e)&c|s&l)}}for(;a<r;)h(t.getEndOffset(a),t.getMetadata(a)),a++;return new o.a(new Uint32Array(l),t.getLineContent())}static _findFirstPieceWithLine(e,t){let n=0,i=e.length-1;for(;n<i;){let o=n+Math.floor((i-n)/2);if(e[o].endLineNumber<t)n=o+1;else{if(!(e[o].startLineNumber>t)){for(;o>n&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}i=o-1}}return n}acceptEdit(e,t,n,i,o){for(const r of this._pieces)r.acceptEdit(e,t,n,i,o)}}class _{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,n){let i=null;if(t<this._len&&(i=this._lineTokens[t]),null!==i&&i!==d)return new o.a(f(i),n);let r=new Uint32Array(2);return r[0]=n.length,r[1]=c(e),new o.a(r,n)}static _massageTokens(e,t,n){const i=n?f(n):null;if(0===t){let t=!1;if(i&&i.length>1&&(t=a.B.getLanguageId(i[1])!==e),!t)return d}if(!i||0===i.length){const n=new Uint32Array(2);return n[0]=t,n[1]=c(e),n.buffer}return i[i.length-2]=t,0===i.byteOffset&&i.byteLength===i.buffer.byteLength?i.buffer:i}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let n=[];for(let e=0;e<t;e++)n[e]=null;this._lineTokens=i.a(this._lineTokens,e,n),this._len+=t}setTokens(e,t,n,i,o){const r=_._massageTokens(e,n,i);this._ensureLine(t);const s=this._lineTokens[t];return this._lineTokens[t]=r,!!o&&!_._equals(s,r)}static _equals(e,t){if(!e||!t)return!e&&!t;const n=f(e),i=f(t);if(n.length!==i.length)return!1;for(let e=0,t=n.length;e<t;e++)if(n[e]!==i[e])return!1;return!0}acceptEdit(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new r.a(e.startLineNumber,e.startColumn),t,n)}_acceptDeleteRange(e){const t=e.startLineNumber-1;if(t>=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;return void(this._lineTokens[t]=_._delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1))}this._lineTokens[t]=_._deleteEnding(this._lineTokens[t],e.startColumn-1);const n=e.endLineNumber-1;let i=null;n<this._len&&(i=_._deleteBeginning(this._lineTokens[n],e.endColumn-1)),this._lineTokens[t]=_._append(this._lineTokens[t],i),this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t,n){if(0===t&&0===n)return;const i=e.lineNumber-1;i>=this._len||(0!==t?(this._lineTokens[i]=_._deleteEnding(this._lineTokens[i],e.column-1),this._lineTokens[i]=_._insert(this._lineTokens[i],e.column-1,n),this._insertLines(e.lineNumber,t)):this._lineTokens[i]=_._insert(this._lineTokens[i],e.column-1,n))}static _deleteBeginning(e,t){return null===e||e===d?e:_._delete(e,0,t)}static _deleteEnding(e,t){if(null===e||e===d)return e;const n=f(e),i=n[n.length-2];return _._delete(e,t,i)}static _delete(e,t,n){if(null===e||e===d||t===n)return e;const i=f(e),r=i.length>>>1;if(0===t&&i[i.length-2]===n)return d;const s=o.a.findIndexInTokensArray(i,t),a=s>0?i[s-1<<1]:0;if(n<i[s<<1]){const o=n-t;for(let e=s;e<r;e++)i[e<<1]-=o;return e}let l,c;a!==t?(i[s<<1]=t,l=s+1<<1,c=t):(l=s<<1,c=a);const h=n-t;for(let e=s+1;e<r;e++){const t=i[e<<1]-h;t>c&&(i[l++]=t,i[l++]=i[1+(e<<1)],c=t)}if(l===i.length)return e;let u=new Uint32Array(l);return u.set(i.subarray(0,l),0),u.buffer}static _append(e,t){if(t===d)return e;if(e===d)return t;if(null===e)return e;if(null===t)return null;const n=f(e),i=f(t),o=i.length>>>1;let r=new Uint32Array(n.length+i.length);r.set(n,0);let s=n.length;const a=n[n.length-2];for(let e=0;e<o;e++)r[s++]=i[e<<1]+a,r[s++]=i[1+(e<<1)];return r.buffer}static _insert(e,t,n){if(null===e||e===d)return e;const i=f(e),r=i.length>>>1;let s=o.a.findIndexInTokensArray(i,t);if(s>0){i[s-1<<1]===t&&s--}for(let e=s;e<r;e++)i[e<<1]+=n;return e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));const i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};class o{constructor(e){this.data=e}update(){}getData(){return this.data}}const r={CurrentDragAndDropData:void 0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g}));var i=n(13),o=n(8),r=n(62),s=n(130),a=n(3),l=n(21);class c{constructor(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}getEditOperations(e,t){t.addTrackedEditOperation(new a.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new l.a(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)}}var d=n(22),h=n(117),u=n(75),p=n(39);class m{static indent(e,t,n){if(null===t||null===n)return[];let i=[];for(let t=0,o=n.length;t<o;t++)i[t]=new s.a(n[t],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static outdent(e,t,n){let i=[];for(let t=0,o=n.length;t<o;t++)i[t]=new s.a(n[t],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static shiftIndent(e,t,n){return n=n||1,s.a.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,n){return n=n||1,s.a.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,n,i){let o=[];for(let e=0,t=n.length;e<t;e++)o[e]=new r.a(n[e],i[e]);return new d.e(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,n,i,o){let s=[];for(let e=0,t=n.length;e<t;e++){const t=n[e];let l=t.getPosition();if(o&&!t.isEmpty()&&(o=!1),o&&i.indexOf("\n")!==i.length-1&&(o=!1),o){let n=new a.a(l.lineNumber,1,l.lineNumber,1);s[e]=new r.b(n,i,t,!0)}else s[e]=new r.a(t,i)}return new d.e(0,s,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,n,i,o){if(i)return null;if(1===t.length)return null;if(o&&o.length===t.length)return o;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));let e=n.split(/\r\n|\r|\n/);if(e.length===t.length)return e}return null}static paste(e,t,n,i,o,r){const s=this._distributePasteToCursors(e,n,i,o,r);return s?(n=n.sort(a.a.compareRangesUsingStarts),this._distributedPaste(e,t,n,s)):this._simplePaste(e,t,n,i,o)}static _goodIndentForLine(e,t,n){let i=null,r="";const s=p.a.getInheritIndentForLine(e.autoIndent,t,n,!1);if(s)i=s.action,r=s.indentation;else if(n>1){let i;for(i=n-1;i>=1;i--){const e=t.getLineContent(i);if(o.J(e)>=0)break}if(i<1)return null;const s=t.getLineMaxColumn(i),l=p.a.getEnterAction(e.autoIndent,t,new a.a(i,s,i,s));l&&(r=l.indentation+l.appendText)}return i&&(i===u.a.Indent&&(r=m.shiftIndent(e,r)),i===u.a.Outdent&&(r=m.unshiftIndent(e,r)),r=e.normalizeIndentation(r)),r||null}static _replaceJumpToNextIndent(e,t,n,i){let o="",s=n.getStartPosition();if(e.insertSpaces){let n=d.a.visibleColumnFromColumn2(e,t,s),i=e.indentSize,r=i-n%i;for(let e=0;e<r;e++)o+=" "}else o="\t";return new r.a(n,o,i)}static tab(e,t,n){let i=[];for(let l=0,c=n.length;l<c;l++){const c=n[l];if(c.isEmpty()){let n=t.getLineContent(c.startLineNumber);if(/^\s*$/.test(n)&&t.isCheapToTokenize(c.startLineNumber)){let s=this._goodIndentForLine(e,t,c.startLineNumber);s=s||"\t";let d=e.normalizeIndentation(s);if(!o.S(n,d)){i[l]=new r.a(new a.a(c.startLineNumber,1,c.startLineNumber,n.length+1),d,!0);continue}}i[l]=this._replaceJumpToNextIndent(e,t,c,!0)}else{if(c.startLineNumber===c.endLineNumber){let n=t.getLineMaxColumn(c.startLineNumber);if(1!==c.startColumn||c.endColumn!==n){i[l]=this._replaceJumpToNextIndent(e,t,c,!1);continue}}i[l]=new s.a(c,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i}static replacePreviousChar(e,t,n,i,o,s){let l=[];for(let e=0,t=i.length;e<t;e++){const t=i[e];if(!t.isEmpty()){l[e]=null;continue}const c=t.getPosition(),d=Math.max(1,c.column-s),h=new a.a(c.lineNumber,d,c.lineNumber,c.column);n.getValueInRange(h)!==o?l[e]=new r.a(h,o):l[e]=null}return new d.e(1,l,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static _typeCommand(e,t,n){return n?new r.e(e,t,!0):new r.a(e,t,!0)}static _enter(e,t,n,i){if(0===e.autoIndent)return m._typeCommand(i,"\n",n);if(!t.isCheapToTokenize(i.getStartPosition().lineNumber)||1===e.autoIndent){let r=t.getLineContent(i.startLineNumber),s=o.z(r).substring(0,i.startColumn-1);return m._typeCommand(i,"\n"+e.normalizeIndentation(s),n)}const s=p.a.getEnterAction(e.autoIndent,t,i);if(s){if(s.indentAction===u.a.None)return m._typeCommand(i,"\n"+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===u.a.Indent)return m._typeCommand(i,"\n"+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===u.a.IndentOutdent){const t=e.normalizeIndentation(s.indentation),o=e.normalizeIndentation(s.indentation+s.appendText),a="\n"+o+"\n"+t;return n?new r.e(i,a,!0):new r.d(i,a,-1,o.length-t.length,!0)}if(s.indentAction===u.a.Outdent){const t=m.unshiftIndent(e,s.indentation);return m._typeCommand(i,"\n"+e.normalizeIndentation(t+s.appendText),n)}}const l=t.getLineContent(i.startLineNumber),c=o.z(l).substring(0,i.startColumn-1);if(e.autoIndent>=4){const s=p.a.getIndentForEnter(e.autoIndent,t,i,{unshiftIndent:t=>m.unshiftIndent(e,t),shiftIndent:t=>m.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)});if(s){let h=d.a.visibleColumnFromColumn2(e,t,i.getEndPosition());const u=i.endColumn;let p="\n";c!==e.normalizeIndentation(s.beforeEnter)&&(p=e.normalizeIndentation(s.beforeEnter)+l.substring(c.length,i.startColumn-1)+"\n",i=new a.a(i.startLineNumber,1,i.endLineNumber,i.endColumn));const m=t.getLineContent(i.endLineNumber),g=o.w(m);if(i=g>=0?i.setEndPosition(i.endLineNumber,Math.max(i.endColumn,g+1)):i.setEndPosition(i.endLineNumber,t.getLineMaxColumn(i.endLineNumber)),n)return new r.e(i,p+e.normalizeIndentation(s.afterEnter),!0);{let t=0;return u<=g+1&&(e.insertSpaces||(h=Math.ceil(h/e.indentSize)),t=Math.min(h+1-e.normalizeIndentation(s.afterEnter).length-1,0)),new r.d(i,p+e.normalizeIndentation(s.afterEnter),0,t,!0)}}}return m._typeCommand(i,"\n"+e.normalizeIndentation(c),n)}static _isAutoIndentType(e,t,n){if(e.autoIndent<4)return!1;for(let e=0,i=n.length;e<i;e++)if(!t.isCheapToTokenize(n[e].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,n,i){const o=p.a.getIndentationAtPosition(t,n.startLineNumber,n.startColumn),r=p.a.getIndentActionForType(e.autoIndent,t,n,i,{shiftIndent:t=>m.shiftIndent(e,t),unshiftIndent:t=>m.unshiftIndent(e,t)});if(null===r)return null;if(r!==e.normalizeIndentation(o)){const o=t.getLineFirstNonWhitespaceColumn(n.startLineNumber);return 0===o?m._typeCommand(new a.a(n.startLineNumber,0,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+i,!1):m._typeCommand(new a.a(n.startLineNumber,0,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+t.getLineContent(n.startLineNumber).substring(o-1,n.startColumn-1)+i,!1)}return null}static _isAutoClosingOvertype(e,t,n,i,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairsClose2.has(o))return!1;for(let r=0,s=n.length;r<s;r++){const s=n[r];if(!s.isEmpty())return!1;const a=s.getPosition(),l=t.getLineContent(a.lineNumber);if(l.charAt(a.column-1)!==o)return!1;const c=Object(d.g)(o);if(92===(a.column>2?l.charCodeAt(a.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,n=i.length;t<n;t++){const n=i[t];if(a.lineNumber===n.startLineNumber&&a.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingOvertype(e,t,n,i,o){let s=[];for(let e=0,t=i.length;e<t;e++){const t=i[e].getPosition(),n=new a.a(t.lineNumber,t.column,t.lineNumber,t.column+1);s[e]=new r.a(n,o)}return new d.e(1,s,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static _autoClosingPairIsSymmetric(e){const{open:t,close:n}=e;return t.indexOf(n)>=0||n.indexOf(t)>=0}static _isBeforeClosingBrace(e,t,n){const i=e.autoClosingPairsClose2.get(n);if(!i)return!1;const o=m._autoClosingPairIsSymmetric(t);for(const e of i){const t=m._autoClosingPairIsSymmetric(e);if(o||!t)return!0}return!1}static _findAutoClosingPairOpen(e,t,n,i){const o=e.autoClosingPairsOpen2.get(i);if(!o)return null;let r=null;for(const e of o)if(null===r||e.open.length>r.open.length){let o=!0;for(const r of n){if(t.getValueInRange(new a.a(r.lineNumber,r.column-e.open.length+1,r.lineNumber,r.column))+i!==e.open){o=!1;break}}o&&(r=e)}return r}static _isAutoClosingOpenCharType(e,t,n,o,r){const s=Object(d.g)(o),a=s?e.autoClosingQuotes:e.autoClosingBrackets;if("never"===a)return null;const l=this._findAutoClosingPairOpen(e,t,n.map(e=>e.getPosition()),o);if(!l)return null;const c=s?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;for(let o=0,d=n.length;o<d;o++){const d=n[o];if(!d.isEmpty())return null;const u=d.getPosition(),g=t.getLineContent(u.lineNumber);if(g.length>u.column-1){const t=g.charAt(u.column-1);if(!m._isBeforeClosingBrace(e,l,t)&&!c(t))return null}if(!t.isCheapToTokenize(u.lineNumber))return null;if(1===l.open.length&&s&&"always"!==a){const t=Object(h.a)(e.wordSeparators);if(r&&u.column>1&&0===t.get(g.charCodeAt(u.column-2)))return null;if(!r&&u.column>2&&0===t.get(g.charCodeAt(u.column-3)))return null}t.forceTokenization(u.lineNumber);const f=t.getLineTokens(u.lineNumber);let b=!1;try{b=p.a.shouldAutoClosePair(l,f,r?u.column:u.column-1)}catch(e){Object(i.e)(e)}if(!b)return null}return l}static _runAutoClosingOpenCharType(e,t,n,i,o,r,s){let a=[];for(let e=0,t=i.length;e<t;e++){const t=i[e];a[e]=new g(t,o,r,s.close)}return new d.e(1,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return Object(d.g)(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround}static _isSurroundSelectionType(e,t,n,i){if(!m._shouldSurroundChar(e,i)||!e.surroundingPairs.hasOwnProperty(i))return!1;const o=Object(d.g)(i);for(let e=0,i=n.length;e<i;e++){const i=n[e];if(i.isEmpty())return!1;let r=!0;for(let e=i.startLineNumber;e<=i.endLineNumber;e++){const n=t.getLineContent(e),o=e===i.startLineNumber?i.startColumn-1:0,s=e===i.endLineNumber?i.endColumn-1:n.length,a=n.substring(o,s);if(/[^ \t]/.test(a)){r=!1;break}}if(r)return!1;if(o&&i.startLineNumber===i.endLineNumber&&i.startColumn+1===i.endColumn){const e=t.getValueInRange(i);if(Object(d.g)(e))return!1}}return!0}static _runSurroundSelectionType(e,t,n,i,o){let r=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=t.surroundingPairs[o];r[e]=new c(n,o,s)}return new d.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,n,s,l){if(!t.electricChars.hasOwnProperty(l)||!s.isEmpty())return null;let c=s.getPosition();n.forceTokenization(c.lineNumber);let h,u=n.getLineTokens(c.lineNumber);try{h=p.a.onElectricCharacter(l,u,c.column)}catch(e){return Object(i.e)(e),null}if(!h)return null;if(h.matchOpenBracket){let e=(u.getLineContent()+l).lastIndexOf(h.matchOpenBracket)+1,i=n.findMatchingBracketUp(h.matchOpenBracket,{lineNumber:c.lineNumber,column:e});if(i){if(i.startLineNumber===c.lineNumber)return null;let e=n.getLineContent(i.startLineNumber),s=o.z(e),h=t.normalizeIndentation(s),u=n.getLineContent(c.lineNumber),p=n.getLineFirstNonWhitespaceColumn(c.lineNumber)||c.column,m=h+u.substring(p-1,c.column-1)+l,g=new a.a(c.lineNumber,1,c.lineNumber,c.column);const f=new r.a(g,m);return new d.e(1,[f],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,n,i,o,s){if(!i||l.a.selectionsArrEqual(i,o))return null;let c=null;for(const e of o){if(!e.isEmpty())return null;const t=e.getPosition(),i=n.getValueInRange(new a.a(t.lineNumber,t.column-1,t.lineNumber,t.column));if(null===c)c=i;else if(c!==i)return null}if(!c)return null;if(this._isAutoClosingOvertype(t,n,o,s,c)){const e=o.map(e=>new r.a(new a.a(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new d.e(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const h=this._isAutoClosingOpenCharType(t,n,o,c,!1);return h?this._runAutoClosingOpenCharType(e,t,n,o,c,!1,h):null}static typeWithInterceptors(e,t,n,i,o,s,a){if(!e&&"\n"===a){let e=[];for(let t=0,r=o.length;t<r;t++)e[t]=m._enter(n,i,!1,o[t]);return new d.e(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(n,i,o)){let e=[],t=!1;for(let r=0,s=o.length;r<s;r++)if(e[r]=this._runAutoIndentType(n,i,o[r],a),!e[r]){t=!0;break}if(!t)return new d.e(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoClosingOvertype(n,i,o,s,a))return this._runAutoClosingOvertype(t,n,i,o,a);if(!e){const e=this._isAutoClosingOpenCharType(n,i,o,a,!0);if(e)return this._runAutoClosingOpenCharType(t,n,i,o,a,!0,e)}if(this._isSurroundSelectionType(n,i,o,a))return this._runSurroundSelectionType(t,n,i,o,a);if(!e&&this._isTypeInterceptorElectricChar(n,i,o)){const e=this._typeInterceptorElectricChar(t,n,i,o[0],a);if(e)return e}let l=[];for(let e=0,t=o.length;e<t;e++)l[e]=new r.a(o[e],a);let c=1!==t;return" "===a&&(c=!0),new d.e(1,l,{shouldPushStackElementBefore:c,shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,n,i,o){let s=[];for(let e=0,t=i.length;e<t;e++)s[e]=new r.a(i[e],o);return new d.e(1,s,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,n){if(null===t||null===n)return[];let i=[];for(let o=0,s=n.length;o<s;o++){let s=n[o].positionLineNumber;if(1===s)i[o]=new r.e(new a.a(1,1,1,1),"\n");else{s--;let n=t.getLineMaxColumn(s);i[o]=this._enter(e,t,!1,new a.a(s,n,s,n))}}return i}static lineInsertAfter(e,t,n){if(null===t||null===n)return[];let i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o].positionLineNumber;let s=t.getLineMaxColumn(r);i[o]=this._enter(e,t,!1,new a.a(r,s,r,s))}return i}static lineBreakInsert(e,t,n){let i=[];for(let o=0,r=n.length;o<r;o++)i[o]=this._enter(e,t,!0,n[o]);return i}}class g extends r.d{constructor(e,t,n,i){super(e,(n?t:"")+i,0,-i.length),this._openCharacter=t,this._closeCharacter=i,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return this.closeCharacterRange=new a.a(n.startLineNumber,n.endColumn-this._closeCharacter.length,n.endLineNumber,n.endColumn),this.enclosingRange=new a.a(n.startLineNumber,n.endColumn-this._openCharacter.length-this._closeCharacter.length,n.endLineNumber,n.endColumn),super.computeCursorState(e,t)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}));var i=n(8),o=n(9),r=n(3);class s{constructor(e,t,n,i,o){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=o}toString(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(e){return new s(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new s(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){const t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){const t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}const t=this.value.substring(this.selectionStart,e);if(-1===t.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);const n=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,n,-1)}_finishDeduceEditorPosition(e,t,n){let i=0,o=-1;for(;-1!==(o=t.indexOf("\n",o+1));)i++;return[e,n*t.length,i]}static selectedText(e){return new s(e,0,e.length,null,null)}static deduceInput(e,t,n){if(!e)return{text:"",replaceCharCnt:0};let o=e.value,r=e.selectionStart,s=e.selectionEnd,a=t.value,l=t.selectionStart,c=t.selectionEnd;const d=o.substring(s),h=a.substring(c),u=i.e(d,h);a=a.substring(0,a.length-u),o=o.substring(0,o.length-u);const p=o.substring(0,r),m=a.substring(0,l),g=i.d(p,m);if(a=a.substring(g),o=o.substring(g),l-=g,r-=g,c-=g,s-=g,n&&l===c&&o.length>0){let e=null;if(l===a.length?i.S(a,o)&&(e=a.substring(o.length)):i.s(a,o)&&(e=a.substring(0,a.length-o.length)),null!==e&&e.length>0&&(/\uFE0F/.test(e)||i.k(e)))return{text:e,replaceCharCnt:0}}if(l===c){if(o===a&&0===r&&s===o.length&&l===a.length&&-1===a.indexOf("\n")&&i.l(a))return{text:"",replaceCharCnt:0};return{text:a,replaceCharCnt:p.length-g}}return{text:a,replaceCharCnt:s-r}}}s.EMPTY=new s("",0,0,null,null);class a{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const n=e*t,i=n+1,o=n+t;return new r.a(i,1,o+1,1)}static fromEditorSelection(e,t,n,i,l){const c=a._getPageOfLine(n.startLineNumber,i),d=a._getRangeForPage(c,i),h=a._getPageOfLine(n.endLineNumber,i),u=a._getRangeForPage(h,i),p=d.intersectRanges(new r.a(1,1,n.startLineNumber,n.startColumn));let m=t.getValueInRange(p,1);const g=t.getLineCount(),f=t.getLineMaxColumn(g),b=u.intersectRanges(new r.a(n.endLineNumber,n.endColumn,g,f));let _,v=t.getValueInRange(b,1);if(c===h||c+1===h)_=t.getValueInRange(n,1);else{const e=d.intersectRanges(n),i=u.intersectRanges(n);_=t.getValueInRange(e,1)+String.fromCharCode(8230)+t.getValueInRange(i,1)}if(l){const e=500;m.length>e&&(m=m.substring(m.length-e,m.length)),v.length>e&&(v=v.substring(0,e)),_.length>2*e&&(_=_.substring(0,e)+String.fromCharCode(8230)+_.substring(_.length-e,_.length))}return new s(m+_+v,m.length,m.length+_.length,new o.a(n.startLineNumber,n.startColumn),new o.a(n.endLineNumber,n.endColumn))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return b}));var i=n(0),o=n(6),r=n(56),s=n(14),a=n(188);const l={Configuration:"base.contributions.configuration"},c={properties:{},patternProperties:{}},d={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},u={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},m={properties:{},patternProperties:{}},g=r.a.as(a.a.JSONContribution);const f=new RegExp("\\[.*\\]$");function b(e){return e.substring(1,e.length-1)}const _=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new o.a,this._onDidUpdateConfiguration=new o.a,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:i.a("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},g.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=[];e.forEach(e=>{n.push(...this.validateAndRegisterProperties(e,t)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}),g.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,t=!0,n=3){n=s.l(e.scope)?n:e.scope;let i=[],o=e.properties;if(o)for(let e in o){if(t&&v(e)){delete o[e];continue}const r=o[e];this.updatePropertyDefaultValue(e,r),f.test(e)?r.scope=void 0:r.scope=s.l(r.scope)?n:r.scope,!o[e].hasOwnProperty("included")||o[e].included?(this.configurationProperties[e]=o[e],!o[e].deprecationMessage&&o[e].markdownDeprecationMessage&&(o[e].deprecationMessage=o[e].markdownDeprecationMessage),i.push(e)):(this.excludedConfigurationProperties[e]=o[e],delete o[e])}let r=e.allOf;if(r)for(let e of r)i.push(...this.validateAndRegisterProperties(e,t,n));return i}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{let n=e.properties;if(n)for(const e in n)this.updateSchema(e,n[e]);let i=e.allOf;i&&i.forEach(t)};t(e)}updateSchema(e,t){switch(c.properties[e]=t,t.scope){case 1:d.properties[e]=t;break;case 2:h.properties[e]=t;break;case 6:u.properties[e]=t;break;case 3:p.properties[e]=t;break;case 4:m.properties[e]=t;break;case 5:m.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,n={type:"object",description:i.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:i.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:"vscode://schemas/settings/resourceLanguage"};this.updatePropertyDefaultValue(t,n),c.properties[t]=n,d.properties[t]=n,h.properties[t]=n,u.properties[t]=n,p.properties[t]=n,m.properties[t]=n}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let n=this.defaultValues[e];s.k(n)&&(n=t.default),s.k(n)&&(n=function(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=n}};function v(e){return f.test(e)?i.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==_.getConfigurationProperties()[e]?i.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}r.a.add(l.Configuration,_)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var i=n(8),o=n(22),r=n(117),s=n(9),a=n(3);class l{static _createWord(e,t,n,i,o){return{start:i,end:o,wordType:t,nextCharClass:n}}static _findPreviousWordOnLine(e,t,n){let i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)}static _doFindPreviousWordOnLine(e,t,n){let i=0;for(let o=n.column-2;o>=0;o--){let n=e.charCodeAt(o),r=t.get(n);if(0===r){if(2===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===r){if(1===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===r&&0!==i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null}static _findEndOfWord(e,t,n,i){let o=e.length;for(let r=i;r<o;r++){let i=e.charCodeAt(r),o=t.get(i);if(1===o)return r;if(1===n&&2===o)return r;if(2===n&&0===o)return r}return o}static _findNextWordOnLine(e,t,n){let i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)}static _doFindNextWordOnLine(e,t,n){let i=0,o=e.length;for(let r=n.column-1;r<o;r++){let n=e.charCodeAt(r),o=t.get(n);if(0===o){if(2===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=1}else if(2===o){if(1===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=2}else if(1===o&&0!==i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,o-1),o):null}static _findStartOfWord(e,t,n,i){for(let o=i;o>=0;o--){let i=e.charCodeAt(o),r=t.get(i);if(1===r)return o+1;if(1===n&&2===r)return o+1;if(2===n&&0===r)return o+1}return 0}static moveWordLeft(e,t,n,i){let o=n.lineNumber,r=n.column;1===r&&o>1&&(o-=1,r=t.getLineMaxColumn(o));let a=l._findPreviousWordOnLine(e,t,new s.a(o,r));if(0===i)return new s.a(o,a?a.start+1:1);if(1===i)return a&&2===a.wordType&&a.end-a.start==1&&0===a.nextCharClass&&(a=l._findPreviousWordOnLine(e,t,new s.a(o,a.start+1))),new s.a(o,a?a.start+1:1);if(3===i){for(;a&&2===a.wordType;)a=l._findPreviousWordOnLine(e,t,new s.a(o,a.start+1));return new s.a(o,a?a.start+1:1)}return a&&r<=a.end+1&&(a=l._findPreviousWordOnLine(e,t,new s.a(o,a.start+1))),new s.a(o,a?a.end+1:1)}static _moveWordPartLeft(e,t){const n=t.lineNumber,o=e.getLineMaxColumn(n);if(1===t.column)return n>1?new s.a(n-1,e.getLineMaxColumn(n-1)):t;const r=e.getLineContent(n);for(let e=t.column-1;e>1;e--){const t=r.charCodeAt(e-2),a=r.charCodeAt(e-1);if(95===t&&95!==a)return new s.a(n,e);if(i.H(t)&&i.I(a))return new s.a(n,e);if(i.I(t)&&i.I(a)&&e+1<o){const t=r.charCodeAt(e);if(i.H(t))return new s.a(n,e)}}return new s.a(n,1)}static moveWordRight(e,t,n,i){let o=n.lineNumber,r=n.column,a=!1;r===t.getLineMaxColumn(o)&&o<t.getLineCount()&&(a=!0,o+=1,r=1);let c=l._findNextWordOnLine(e,t,new s.a(o,r));if(2===i)c&&2===c.wordType&&c.end-c.start==1&&0===c.nextCharClass&&(c=l._findNextWordOnLine(e,t,new s.a(o,c.end+1))),r=c?c.end+1:t.getLineMaxColumn(o);else if(3===i){for(a&&(r=0);c&&(2===c.wordType||c.start+1<=r);)c=l._findNextWordOnLine(e,t,new s.a(o,c.end+1));r=c?c.start+1:t.getLineMaxColumn(o)}else c&&!a&&r>=c.start+1&&(c=l._findNextWordOnLine(e,t,new s.a(o,c.end+1))),r=c?c.start+1:t.getLineMaxColumn(o);return new s.a(o,r)}static _moveWordPartRight(e,t){const n=t.lineNumber,o=e.getLineMaxColumn(n);if(t.column===o)return n<e.getLineCount()?new s.a(n+1,1):t;const r=e.getLineContent(n);for(let e=t.column+1;e<o;e++){const t=r.charCodeAt(e-2),a=r.charCodeAt(e-1);if(95!==t&&95===a)return new s.a(n,e);if(i.H(t)&&i.I(a))return new s.a(n,e);if(i.I(t)&&i.I(a)&&e+1<o){const t=r.charCodeAt(e);if(i.H(t))return new s.a(n,e)}}return new s.a(n,o)}static _deleteWordLeftWhitespace(e,t){const n=e.getLineContent(t.lineNumber),o=t.column-2,r=i.J(n,o);return r+1<o?new a.a(t.lineNumber,r+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t,n,i,o){if(!n.isEmpty())return n;const r=new s.a(n.positionLineNumber,n.positionColumn);let c=r.lineNumber,d=r.column;if(1===c&&1===d)return null;if(i){let e=this._deleteWordLeftWhitespace(t,r);if(e)return e}let h=l._findPreviousWordOnLine(e,t,r);return 0===o?h?d=h.start+1:d>1?d=1:(c--,d=t.getLineMaxColumn(c)):(h&&d<=h.end+1&&(h=l._findPreviousWordOnLine(e,t,new s.a(c,h.start+1))),h?d=h.end+1:d>1?d=1:(c--,d=t.getLineMaxColumn(c))),new a.a(c,d,r.lineNumber,r.column)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=l._moveWordPartLeft(e,n);return new a.a(n.lineNumber,n.column,i.lineNumber,i.column)}static _findFirstNonWhitespaceChar(e,t){let n=e.length;for(let i=t;i<n;i++){let t=e.charAt(i);if(" "!==t&&"\t"!==t)return i}return n}static _deleteWordRightWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-1,o=this._findFirstNonWhitespaceChar(n,i);return i+1<o?new a.a(t.lineNumber,t.column,t.lineNumber,o+1):null}static deleteWordRight(e,t,n,i,o){if(!n.isEmpty())return n;const r=new s.a(n.positionLineNumber,n.positionColumn);let c=r.lineNumber,d=r.column;const h=t.getLineCount(),u=t.getLineMaxColumn(c);if(c===h&&d===u)return null;if(i){let e=this._deleteWordRightWhitespace(t,r);if(e)return e}let p=l._findNextWordOnLine(e,t,r);return 2===o?p?d=p.end+1:d<u||c===h?d=u:(c++,p=l._findNextWordOnLine(e,t,new s.a(c,1)),d=p?p.start+1:t.getLineMaxColumn(c)):(p&&d>=p.start+1&&(p=l._findNextWordOnLine(e,t,new s.a(c,p.end+1))),p?d=p.start+1:d<u||c===h?d=u:(c++,p=l._findNextWordOnLine(e,t,new s.a(c,1)),d=p?p.start+1:t.getLineMaxColumn(c))),new a.a(c,d,r.lineNumber,r.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=l._moveWordPartRight(e,n);return new a.a(n.lineNumber,n.column,i.lineNumber,i.column)}static _createWordAtPosition(e,t,n){const i=new a.a(t,n.start+1,t,n.end+1);return{word:e.getValueInRange(i),startColumn:i.startColumn,endColumn:i.endColumn}}static getWordAtPosition(e,t,n){const i=Object(r.a)(t),o=l._findPreviousWordOnLine(i,e,n);if(o&&1===o.wordType&&o.start<=n.column-1&&n.column-1<=o.end)return l._createWordAtPosition(e,n.lineNumber,o);const s=l._findNextWordOnLine(i,e,n);return s&&1===s.wordType&&s.start<=n.column-1&&n.column-1<=s.end?l._createWordAtPosition(e,n.lineNumber,s):null}static word(e,t,n,i,c){const d=Object(r.a)(e.wordSeparators);let h,u,p=l._findPreviousWordOnLine(d,t,c),m=l._findNextWordOnLine(d,t,c);if(!i){let e,n;return p&&1===p.wordType&&p.start<=c.column-1&&c.column-1<=p.end?(e=p.start+1,n=p.end+1):m&&1===m.wordType&&m.start<=c.column-1&&c.column-1<=m.end?(e=m.start+1,n=m.end+1):(e=p?p.end+1:1,n=m?m.start+1:t.getLineMaxColumn(c.lineNumber)),new o.f(new a.a(c.lineNumber,e,c.lineNumber,n),0,new s.a(c.lineNumber,n),0)}p&&1===p.wordType&&p.start<c.column-1&&c.column-1<p.end?(h=p.start+1,u=p.end+1):m&&1===m.wordType&&m.start<c.column-1&&c.column-1<m.end?(h=m.start+1,u=m.end+1):(h=c.column,u=c.column);let g,f=c.lineNumber;if(n.selectionStart.containsPosition(c))g=n.selectionStart.endColumn;else if(c.isBeforeOrEqual(n.selectionStart.getStartPosition())){g=h;let e=new s.a(f,g);n.selectionStart.containsPosition(e)&&(g=n.selectionStart.endColumn)}else{g=u;let e=new s.a(f,g);n.selectionStart.containsPosition(e)&&(g=n.selectionStart.startColumn)}return n.move(!0,f,g,0)}}class c extends l{static deleteWordPartLeft(e,t,n,i){const o=d([l.deleteWordLeft(e,t,n,i,0),l.deleteWordLeft(e,t,n,i,2),l._deleteWordPartLeft(t,n)]);return o.sort(a.a.compareRangesUsingEnds),o[2]}static deleteWordPartRight(e,t,n,i){const o=d([l.deleteWordRight(e,t,n,i,0),l.deleteWordRight(e,t,n,i,2),l._deleteWordPartRight(t,n)]);return o.sort(a.a.compareRangesUsingStarts),o[0]}static moveWordPartLeft(e,t,n){const i=d([l.moveWordLeft(e,t,n,0),l.moveWordLeft(e,t,n,2),l._moveWordPartLeft(t,n)]);return i.sort(s.a.compare),i[2]}static moveWordPartRight(e,t,n){const i=d([l.moveWordRight(e,t,n,0),l.moveWordRight(e,t,n,2),l._moveWordPartRight(t,n)]);return i.sort(s.a.compare),i[0]}}function d(e){return e.filter(e=>Boolean(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(8),o=n(22),r=n(3),s=n(21),a=n(39);const l=Object.create(null);function c(e,t){l[e]||(l[e]=["",e]);const n=l[e];for(let i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}class d{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,n,i,r){const s=o.a.visibleColumnFromColumn(e,t,n);if(r){const e=c(" ",i);return c(e,o.a.prevIndentTabStop(s,i)/i)}return c("\t",o.a.prevRenderTabStop(s,n)/n)}static shiftIndent(e,t,n,i,r){const s=o.a.visibleColumnFromColumn(e,t,n);if(r){const e=c(" ",i);return c(e,o.a.nextIndentTabStop(s,i)/i)}return c("\t",o.a.nextRenderTabStop(s,n)/n)}_addEditOperation(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)}getEditOperations(e,t){const n=this._selection.startLineNumber;let s=this._selection.endLineNumber;1===this._selection.endColumn&&n!==s&&(s-=1);const{tabSize:l,indentSize:h,insertSpaces:u}=this._opts,p=n===s;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0);let c=0,m=0;for(let g=n;g<=s;g++,c=m){m=0;let s,f=e.getLineContent(g),b=i.w(f);if((!this._opts.isUnshift||0!==f.length&&0!==b)&&(p||this._opts.isUnshift||0!==f.length)){if(-1===b&&(b=f.length),g>1){if(o.a.visibleColumnFromColumn(f,b+1,l)%h!=0&&e.isCheapToTokenize(g-1)){let t=a.a.getEnterAction(this._opts.autoIndent,e,new r.a(g-1,e.getLineMaxColumn(g-1),g-1,e.getLineMaxColumn(g-1)));if(t){if(m=c,t.appendText)for(let e=0,n=t.appendText.length;e<n&&m<h&&32===t.appendText.charCodeAt(e);e++)m++;t.removeText&&(m=Math.max(0,m-t.removeText));for(let e=0;e<m&&(0!==b&&32===f.charCodeAt(b-1));e++)b--}}}this._opts.isUnshift&&0===b||(s=this._opts.isUnshift?d.unshiftIndent(f,b+1,l,h,u):d.shiftIndent(f,b+1,l,h,u),this._addEditOperation(t,new r.a(g,1,g,b+1),s),g!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=b+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===e.getLineLength(n)&&(this._useLastEditRangeForCursorEndPosition=!0);const o=u?c(" ",h):"\t";for(let a=n;a<=s;a++){const s=e.getLineContent(a);let l=i.w(s);if((!this._opts.isUnshift||0!==s.length&&0!==l)&&((p||this._opts.isUnshift||0!==s.length)&&(-1===l&&(l=s.length),!this._opts.isUnshift||0!==l)))if(this._opts.isUnshift){l=Math.min(l,h);for(let e=0;e<l;e++){if(9===s.charCodeAt(e)){l=e+1;break}}this._addEditOperation(t,new r.a(a,1,a,l+1),"")}else this._addEditOperation(t,new r.a(a,1,a,1),o),a!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){let e=t.getInverseEditOperations()[0];return new s.a(e.range.endLineNumber,e.range.endColumn,e.range.endLineNumber,e.range.endColumn)}const n=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){let e=this._selection.startColumn;return n.startColumn<=e?n:0===n.getDirection()?new s.a(n.startLineNumber,e,n.endLineNumber,n.endColumn):new s.a(n.endLineNumber,n.endColumn,n.startLineNumber,e)}return n}}},,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(8),o=n(11),r=n(72);let s;function a(){return s||(s=new TextDecoder(o.e()?"UTF-16LE":"UTF-16BE")),s}const l="undefined"!=typeof TextDecoder;let c,d;l?(c=e=>new h(e),d=function(e,t,n){const i=new Uint16Array(e.buffer,t,n);return a().decode(i)}):(c=e=>new u,d=function(e,t,n){let i=[],o=0;for(let s=0;s<n;s++){const n=r.b(e,t);t+=2,i[o++]=String.fromCharCode(n)}return i.join("")});class h{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return a().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||i.F(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class u{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}},function(e,t,n){"use strict";function i(e){const t=this;let n,i=!1;return function(){return i||(i=!0,n=e.apply(t,arguments)),n}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i,o=n(56),r=n(15),s=n(2);!function(e){e[e.PRESERVE=0]="PRESERVE",e[e.LAST=1]="LAST"}(i||(i={}));const a={Quickaccess:"workbench.contributions.quickaccess"};o.a.add(a.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),Object(s.h)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(r.d)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0||this.defaultProvider}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(6);const o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new i.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return We})),n.d(t,"b",(function(){return ze})),n.d(t,"e",(function(){return Ve})),n.d(t,"d",(function(){return nt})),n.d(t,"c",(function(){return dt}));var i=n(1),o=(n(197),n(2)),r=n(15),s=n(113),a=n(6),l=n(25);class c{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:o.a.None}}renderElement(e,t,n,i){if(n.disposable&&n.disposable.dispose(),!n.data)return;const o=this.modelProvider();if(o.isResolved(e))return this.renderer.renderElement(o.get(e),e,n.data,i);const r=new l.b,s=o.resolve(e,r.token);n.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(e,n.data),s.then(t=>this.renderer.renderElement(t,e,n.data,i))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class d{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}var h=n(0),u=n(54),p=n(128),m=n(10),g=n(18),f=n(50),b=n(56),_=n(93),v=n(19);var w,y=n(37),C=(n(264),n(67));!function(e){e[e.Unknown=0]="Unknown",e[e.Twistie=1]="Twistie",e[e.Element=2]="Element"}(w||(w={}));class x extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class S{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}var k=n(125),E=n(162),T=n(44),L=n(71);function N(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function I(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function O(e){return"boolean"==typeof e.collapsible}class D{constructor(e,t,n,i={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new a.c,this._onDidChangeCollapseState=new a.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new a.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new a.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,n=y.a.empty(),i,o){if(0===e.length)throw new x(this.user,"Invalid tree location");const{parentNode:r,listIndex:s,revealed:a,visible:l}=this.getParentNodeWithListIndex(e),c=[],d=y.a.map(n,e=>this.createTreeNode(e,r,r.visible?1:0,a,c,i)),h=e[e.length-1];let u=0;for(let e=h;e>=0&&e<r.children.length;e--){const t=r.children[e];if(t.visible){u=t.visibleChildIndex;break}}const p=[];let m=0,g=0;for(const e of d)p.push(e),g+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=u+m++);const f=r.children.splice(h,t,...p);let b=0;for(const e of f)e.visible&&b++;if(0!==b)for(let e=h+p.length;e<r.children.length;e++){const t=r.children[e];t.visible&&(t.visibleChildIndex-=b)}if(r.visibleChildrenCount+=m-b,a&&l){const e=f.reduce((e,t)=>e+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(r,g-e),this.list.splice(s,e,c)}if(f.length>0&&o){const e=t=>{o(t),t.children.forEach(e)};f.forEach(e)}this._onDidSplice.fire({insertedNodes:p,deletedNodes:f});let _=r;for(;_;){if(2===_.visibility){this.refilter();break}_=_.parent}}rerender(e){if(0===e.length)throw new x(this.user,"Invalid tree location");const{node:t,listIndex:n,revealed:i}=this.getTreeNodeWithListIndex(e);t.visible&&i&&this.list.splice(n,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:n,revealed:i}=this.getTreeNodeWithListIndex(e);return n&&i?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const n=this.getTreeNode(e);void 0===t&&(t=!n.collapsible);const i={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,i))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,n){const i=this.getTreeNode(e);void 0===t&&(t=!i.collapsed);const o={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,o))}_setCollapseState(e,t){const{node:n,listIndex:i,revealed:o}=this.getTreeNodeWithListIndex(e),r=this._setListNodeCollapseState(n,i,o,t);if(n!==this.root&&this.autoExpandSingleChildren&&r&&!O(t)&&n.collapsible&&!n.collapsed&&!t.recursive){let i=-1;for(let e=0;e<n.children.length;e++){if(n.children[e].visible){if(i>-1){i=-1;break}i=e}}i>-1&&this._setCollapseState([...e,i],t)}return r}_setListNodeCollapseState(e,t,n,i){const o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;const r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o}_setNodeCollapseState(e,t,n){let i;if(e===this.root?i=!1:(O(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!O(t)&&t.recursive)for(const n of e.children)i=this._setNodeCollapseState(n,t,!0)||i;return i}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)}createTreeNode(e,t,n,i,o,r){const s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},a=this._filterNode(s,n);s.visibility=a,i&&o.push(s);const l=e.children||y.a.empty(),c=i&&0!==a&&!s.collapsed,d=y.a.map(l,e=>this.createTreeNode(e,s,a,c,o,r));let h=0,u=1;for(const e of d)s.children.push(e),u+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=h++);return s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=h,s.visible=2===a?h>0:1===a,s.visible?s.collapsed||(s.renderNodeCount=u):(s.renderNodeCount=0,i&&o.pop()),r&&r(s),s}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const n of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(n,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterFilterChange(e,t,n,i=!0){let o;if(e!==this.root){if(o=this._filterNode(e,t),0===o)return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}const r=n.length;e.renderNodeCount=e===this.root?0:1;let s=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{let t=0;for(const r of e.children)s=this._updateNodeAfterFilterChange(r,o,n,i&&!e.collapsed)||s,r.visible&&(r.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===o?s:1===o),e.visible?e.collapsed||(e.renderNodeCount+=n.length-r):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const n=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof n?(e.filterData=void 0,n?1:0):N(n)?(e.filterData=n.data,I(n.visibility)):(e.filterData=void 0,I(n))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;const[n,...i]=e;return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;const[n,...i]=e;if(n<0||n>t.children.length)throw new x(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:n,revealed:i,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new x(this.user,"Invalid tree location");const s=t.children[r];return{node:s,listIndex:n,revealed:i,visible:o&&s.visible}}getParentNodeWithListIndex(e,t=this.root,n=0,i=!0,o=!0){const[r,...s]=e;if(r<0||r>t.children.length)throw new x(this.user,"Invalid tree location");for(let e=0;e<r;e++)n+=t.children[e].renderNodeCount;return i=i&&!t.collapsed,o=o&&t.visible,0===s.length?{parentNode:t,listIndex:n,revealed:i,visible:o}:this.getParentNodeWithListIndex(s,t.children[r],n+1,i,o)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let n=e;for(;n.parent;)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()}getParentNodeLocation(e){return 0===e.length?void 0:1===e.length?[]:Object(r.u)(e)[0]}}var A=n(20),R=n(11),M=n(118),P=n(189),F=n(17);const W=Object(F.e)("tree-item-expanded",F.a.chevronDown),z=Object(F.e)("tree-filter-on-type-on",F.a.listFilter),B=Object(F.e)("tree-filter-on-type-off",F.a.listSelection),j=Object(F.e)("tree-filter-clear",F.a.close),V=Object(F.e)("tree-item-loading",F.a.loading);class U extends E.a{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function H(e){return e instanceof E.a?new U(e):e}class q{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=o.a.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(H(e),t)}onDragOver(e,t,n,i,o=!0){const s=this.dnd.onDragOver(H(e),t&&t.element,n,i),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return s;if(a&&"boolean"!=typeof s&&s.autoExpand&&(this.autoExpandDisposable=Object(A.g)(()=>{const e=this.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),this.autoExpandNode=void 0},500)),"boolean"==typeof s||!s.accept||void 0===s.bubble||s.feedback){if(!o){return{accept:"boolean"==typeof s?s:s.accept,effect:"boolean"==typeof s?void 0:s.effect,feedback:[n]}}return s}if(1===s.bubble){const n=this.modelProvider(),o=n.getNodeLocation(t),r=n.getParentNodeLocation(o),s=n.getNode(r),a=r&&n.getListIndex(r);return this.onDragOver(e,s,a,i,!1)}const l=this.modelProvider(),c=l.getNodeLocation(t),d=l.getListIndex(c),h=l.getListRenderCount(c);return Object.assign(Object.assign({},s),{feedback:Object(r.s)(d,d+h)})}drop(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(H(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}class ${constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}var K;!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(K||(K={}));class G{constructor(e,t=[]){this._elements=t,this.onDidChange=a.b.forEach(e,e=>this._elements=e)}get elements(){return this._elements}}class Y{constructor(e,t,n,i,r={}){this.renderer=e,this.modelProvider=t,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=Y.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new P.a,this.activeIndentNodes=new Set,this.indentGuidesDisposable=o.a.None,this.disposables=new o.b,this.templateId=e.templateId,this.updateOptions(r),a.b.map(n,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent&&(this.indent=Object(M.b)(e.indent,0,40)),void 0!==e.renderIndentGuides){const t=e.renderIndentGuides!==K.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const e=new o.b;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=Object(i.p)(e,Object(i.a)(".monaco-tl-row")),n=Object(i.p)(t,Object(i.a)(".monaco-tl-indent")),r=Object(i.p)(t,Object(i.a)(".monaco-tl-twistie")),s=Object(i.p)(t,Object(i.a)(".monaco-tl-contents")),a=this.renderer.renderTemplate(s);return{container:e,indent:n,twistie:r,indentGuidesDisposable:o.a.None,templateData:a}}renderElement(e,t,n,i){"number"==typeof i&&(this.renderedNodes.set(e,{templateData:n,height:i}),this.renderedElements.set(e.element,e));const o=Y.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.paddingLeft=o+"px",n.indent.style.width=o+this.indent-16+"px",this.renderTwistie(e,n),"number"==typeof i&&this.renderIndentGuides(e,n),this.renderer.renderElement(e,t,n.templateData,i)}disposeElement(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"==typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(Object(i.f)(t.twistie,W.classNames,"collapsible"),Object(i.ab)(t.twistie,"collapsed",e.collapsed)):Object(i.R)(t.twistie,W.classNames,"collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if(Object(i.s)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const n=new o.b,r=this.modelProvider();let s=e;for(;;){const e=r.getNodeLocation(s),a=r.getParentNodeLocation(e);if(!a)break;const l=r.getNode(a),c=Object(i.a)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(l)&&Object(i.e)(c,"active"),0===t.indent.childElementCount?t.indent.appendChild(c):t.indent.insertBefore(c,t.indent.firstElementChild),this.renderedIndentGuides.add(l,c),n.add(Object(o.h)(()=>this.renderedIndentGuides.delete(l,c))),s=l}t.indentGuidesDisposable=n}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,n=this.modelProvider();e.forEach(e=>{const i=n.getNodeLocation(e);try{const o=n.getParentNodeLocation(i);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):o&&t.add(n.getNode(o))}catch(e){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>Object(i.Q)(e,"active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>Object(i.e)(e,"active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(o.f)(this.disposables)}}Y.DefaultIndent=8;class Z{constructor(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new o.b,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){const n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;let i;if(i="boolean"==typeof n?n?1:0:N(n)?I(n.visibility):n,0===i)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:L.a.Default,visibility:!0};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=n&&n.toString();if(void 0===i)return{data:L.a.Default,visibility:!0};const o=Object(L.d)(this._pattern,this._lowercasePattern,0,i,i.toLowerCase(),0,!0);return o?(this._matchCount++,{data:o,visibility:!0}):this.tree.options.filterOnType?2:{data:L.a.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){Object(o.f)(this.disposables)}}class X{constructor(e,t,n,r,s){this.tree=e,this.view=n,this.filter=r,this.keyboardNavigationDelegate=s,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new a.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new a.a,this.enabledDisposables=new o.b,this.disposables=new o.b,this.domNode=Object(i.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(T.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(i.p)(n.getHTMLElement(),Object(i.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(i.p)(this.domNode,Object(i.a)("span.label"));const l=Object(i.p)(this.domNode,Object(i.a)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(i.p)(l,Object(i.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),Object(T.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(i.p)(l,Object(i.a)("button.clear"+j.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(h.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;const e=a.b.chain(Object(T.a)(this.view.getHTMLElement(),"keydown")).filter(e=>!Object(s.e)(e.target)||e.target===this.filterOnTypeDomNode).filter(e=>"Dead"!==e.key&&!/^Media/.test(e.key)).map(e=>new C.a(e)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(this.pattern.length>0||this.triggered)&&(9===e.keyCode||1===e.keyCode)&&!e.altKey&&!e.ctrlKey&&!e.metaKey||1===e.keyCode&&(R.f?e.altKey&&!e.metaKey:e.ctrlKey)&&!e.shiftKey).forEach(e=>{e.stopPropagation(),e.preventDefault()}).event,t=Object(T.a)(this.clearDomNode,"click");a.b.chain(a.b.any(e,t)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(R.f?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,e=>!L.a.isDefault(e.filterData));const n=this.tree.getFocus();if(n.length>0){const e=n[0];null===this.tree.getRelativeTop(e)&&this.tree.reveal(e,.5)}this.render(),e||(this.triggered=!1)}onDragStart(){const e=this.view.getHTMLElement(),{left:t}=Object(i.C)(e),n=e.clientWidth,r=n/2,s=this.domNode.clientWidth,a=new o.b;let l=this.positionClassName;const c=()=>{switch(l){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=n-s-6+"px"}};c(),Object(i.Q)(this.domNode,l),Object(i.e)(this.domNode,"dragging"),a.add(Object(o.h)(()=>Object(i.Q)(this.domNode,"dragging"))),Object(T.a)(document,"dragover")(e=>{e.preventDefault();const n=e.screenX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),l=n<r?"nw":"ne",c()},null,a),Object(T.a)(this.domNode,"dragend")(()=>{this.positionClassName=l,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",Object(o.f)(a)},null,a),k.c.CurrentDragAndDropData=new k.b("vscode-ui"),a.add(Object(o.h)(()=>k.c.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(Object(i.R)(this.filterOnTypeDomNode,B.classNames),Object(i.f)(this.filterOnTypeDomNode,z.classNames),this.filterOnTypeDomNode.title=Object(h.a)("disable filter on type","Disable Filter on Type")):(Object(i.R)(this.filterOnTypeDomNode,z.classNames),Object(i.f)(this.filterOnTypeDomNode,B.classNames),this.filterOnTypeDomNode.title=Object(h.a)("enable filter on type","Enable Filter on Type"))}render(){const e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(h.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),Object(i.ab)(this.domNode,"no-matches",e),this.domNode.title=Object(h.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!L.a.isDefault(e.filterData))}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(o.f)(this.disposables)}}function Q(e){let t=w.Unknown;return Object(i.J)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=w.Twistie:Object(i.J)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(t=w.Element),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function J(e,t){t(e),e.children.forEach(e=>J(e,t))}class ee{constructor(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new a.a,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){Object(r.g)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,n){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:n})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const e=this.createNodeSet(),n=t=>e.delete(t);return t.forEach(e=>J(e,n)),void this.set([...e.values()])}const n=new Set,i=e=>n.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>J(e,i));const o=new Map,r=e=>o.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>J(e,r));const s=[];for(const e of this.nodes){const t=this.identityProvider.getId(e.element).toString();if(n.has(t)){const e=o.get(t);e&&s.push(e)}else s.push(e)}this._set(s,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class te extends s.d{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if(Object(s.e)(e.browserEvent.target)||Object(s.f)(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const n=e.browserEvent.target,o=Object(i.I)(n,"monaco-tl-twistie")||Object(i.I)(n,"monaco-icon-label")&&Object(i.I)(n,"folder-icon")&&e.browserEvent.offsetX<16;let r=!1;if(r="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick,r&&!o)return super.onViewPointer(e);if(this.tree.expandOnlyOnDoubleClick&&2!==e.browserEvent.detail&&!o)return super.onViewPointer(e);if(t.collapsible){const n=this.tree.model,i=n.getNodeLocation(t),s=e.browserEvent.altKey;if(n.setCollapsed(i,void 0,s),r&&o)return}super.onViewPointer(e)}onDoubleClick(e){Object(i.I)(e.browserEvent.target,"monaco-tl-twistie")||super.onDoubleClick(e)}}class ne extends s.c{constructor(e,t,n,i,o,r,s){super(e,t,n,i,s),this.focusTrait=o,this.selectionTrait=r}createMouseController(e){return new te(this,e.tree)}splice(e,t,n=[]){if(super.splice(e,t,n),0===n.length)return;const i=[],o=[];n.forEach((t,n)=>{this.focusTrait.has(t)&&i.push(e+n),this.selectionTrait.has(t)&&o.push(e+n)}),i.length>0&&super.setFocus(Object(r.f)([...super.getFocus(),...i])),o.length>0&&super.setSelection(Object(r.f)([...super.getSelection(),...o]))}setFocus(e,t,n=!1){super.setFocus(e,t),n||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,n=!1){super.setSelection(e,t),n||this.selectionTrait.set(e.map(e=>this.element(e)),t)}}class ie{constructor(e,t,n,r,l={}){this._options=l,this.eventBufferer=new a.c,this.disposables=new o.b,this._onWillRefilter=new a.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new a.a;const c=new $(n),d=new a.e,h=new a.e,u=new G(h.event);this.renderers=r.map(e=>new Y(e,()=>this.model,d.event,u,l));for(let e of this.renderers)this.disposables.add(e);let p;var m,g;l.keyboardNavigationLabelProvider&&(p=new Z(this,l.keyboardNavigationLabelProvider,l.filter),l=Object.assign(Object.assign({},l),{filter:p}),this.disposables.add(p)),this.focus=new ee(l.identityProvider),this.selection=new ee(l.identityProvider),this.view=new ne(e,t,c,this.renderers,this.focus,this.selection,Object.assign(Object.assign({},(m=()=>this.model,(g=l)&&Object.assign(Object.assign({},g),{identityProvider:g.identityProvider&&{getId:e=>g.identityProvider.getId(e.element)},dnd:g.dnd&&new q(m,g.dnd),multipleSelectionController:g.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>g.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element})),isSelectionRangeChangeEvent:e=>g.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},accessibilityProvider:g.accessibilityProvider&&Object.assign(Object.assign({},g.accessibilityProvider),{getSetSize(e){const t=m(),n=t.getNodeLocation(e),i=t.getParentNodeLocation(n);return t.getNode(i).visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:g.accessibilityProvider&&g.accessibilityProvider.isChecked?e=>g.accessibilityProvider.isChecked(e.element):void 0,getRole:g.accessibilityProvider&&g.accessibilityProvider.getRole?e=>g.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>g.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>g.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:g.accessibilityProvider&&g.accessibilityProvider.getWidgetRole?()=>g.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e=>e.depth,getActiveDescendantId:g.accessibilityProvider.getActiveDescendantId&&(e=>g.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:g.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},g.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:e=>g.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}),enableKeyboardNavigation:g.simpleKeyboardNavigation}))),{tree:this})),this.model=this.createModel(e,this.view,l),d.input=this.model.onDidChangeCollapseState;const f=a.b.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})});if(f(()=>null,null,this.disposables),h.input=a.b.chain(a.b.any(f,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]}).event,!1!==l.keyboardSupport){const e=a.b.chain(this.view.onKeyDown).filter(e=>!Object(s.e)(e.target)).map(e=>new C.a(e));e.filter(e=>15===e.keyCode).on(this.onLeftArrow,this,this.disposables),e.filter(e=>17===e.keyCode).on(this.onRightArrow,this,this.disposables),e.filter(e=>10===e.keyCode).on(this.onSpace,this,this.disposables)}if(l.keyboardNavigationLabelProvider){const e=l.keyboardNavigationDelegate||s.a;this.typeFilterController=new X(this,this.model,this.view,p,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=Object(i.v)(this.view.getHTMLElement()),Object(i.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===K.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return a.b.map(this.view.onMouseDblClick,Q)}get onPointer(){return a.b.map(this.view.onPointer,Q)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnlyOnDoubleClick(){var e;return null!==(e=this._options.expandOnlyOnDoubleClick)&&void 0!==e&&e}get expandOnlyOnTwistieClick(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(i.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===K.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){const t="."+this.view.domId,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));const i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i),this.view.style(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){const n=e.map(e=>this.model.getNode(e));this.selection.set(n,t);const i=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(i,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const n=e.map(e=>this.model.getNode(e));this.focus.set(n,t);const i=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(i,t,!0)}focusNext(e=1,t=!1,n,i=this.focusNavigationFilter){this.view.focusNext(e,t,n,i)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)}getRelativeTop(e){const t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){const e=this.model.getParentNodeLocation(i);if(!e)return;const t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some(e=>e.visible))return;const[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}dispose(){Object(o.f)(this.disposables),this.view.dispose()}}class oe{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new D(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:(e,t)=>n.sorter.compare(e.element,t.element)}),this.identityProvider=n.identityProvider}setChildren(e,t=y.a.empty(),n,i){const o=this.getElementLocation(e);this._setChildren(o,this.preserveCollapseState(t),n,i)}_setChildren(e,t=y.a.empty(),n,i){const o=new Set,r=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,e=>{if(null===e.element)return;const t=e;if(o.add(t.element),this.nodes.set(t.element,t),this.identityProvider){const e=this.identityProvider.getId(t.element).toString();r.add(e),this.nodesByIdentity.set(e,t)}n&&n(t)},e=>{if(null===e.element)return;const t=e;if(o.has(t.element)||this.nodes.delete(t.element),this.identityProvider){const e=this.identityProvider.getId(t.element).toString();r.has(e)||this.nodesByIdentity.delete(e)}i&&i(t)})}preserveCollapseState(e=y.a.empty()){return this.sorter&&(e=Object(r.p)([...e],this.sorter.compare.bind(this.sorter))),y.a.map(e,e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){const n=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(n)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});const n="boolean"==typeof e.collapsible?e.collapsible:t.collapsible,i=void 0!==e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:n,collapsed:i,children:this.preserveCollapseState(e.children)})})}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getElementLocation(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new x(this.user,"Invalid getParentNodeLocation call");const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);const n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element}getElementLocation(e){if(null===e)return[];const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);return this.model.getNodeLocation(t)}}function re(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:y.a.map(y.a.from(e.children),re),collapsible:e.collapsible,collapsed:e.collapsed}}function se(e){const t=[e.element],n=e.incompressible||!1;let i,o;for(;[o,i]=y.a.consume(y.a.from(e.children),2),1===o.length&&!(e=o[0]).incompressible;)t.push(e.element);return{element:{elements:t,incompressible:n},children:y.a.map(y.a.concat(o,i),se),collapsible:e.collapsible,collapsed:e.collapsed}}function ae(e){return function e(t,n=0){let i;return i=n<t.element.elements.length-1?[e(t,n+1)]:y.a.map(y.a.from(t.children),t=>e(t,0)),0===n&&t.element.incompressible?{element:t.element.elements[n],children:i,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[n],children:i,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}class le{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new oe(e,t,n),this.enabled=void 0===n.compressionEnabled||n.compressionEnabled}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=y.a.empty()){if(null===e){const e=y.a.map(t,this.enabled?se:re);return void this._setChildren(null,e)}const n=this.nodes.get(e);if(!n)throw new Error("Unknown compressed tree node");const i=this.model.getNode(n),o=this.model.getParentNodeLocation(n),r=this.model.getNode(o),s=function e(t,n,i){return t.element===n?Object.assign(Object.assign({},t),{children:i}):Object.assign(Object.assign({},t),{children:y.a.map(y.a.from(t.children),t=>e(t,n,i))})}(ae(i),e,t),a=(this.enabled?se:re)(s),l=r.children.map(e=>e===i?a:e);this._setChildren(r.element,l)}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const t=this.model.getNode().children,n=y.a.map(t,ae),i=y.a.map(n,e?se:re);this._setChildren(null,i)}_setChildren(e,t){const n=new Set;this.model.setChildren(e,t,e=>{for(const t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},e=>{for(const t of e.element.elements)n.has(t)||this.nodes.delete(t)})}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);return t}}const ce=e=>e[e.length-1];class de{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new de(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class he{constructor(e,t,n={}){this.rootRef=null,this.elementMapper=n.elementMapper||ce;const i=e=>this.elementMapper(e.elements);this.nodeMapper=new S(e=>new de(i,e)),this.model=new le(e,function(e,t){return{splice(n,i,o){t.splice(n,i,o.map(t=>e.map(t)))},updateElementHeight(e,n){t.updateElementHeight(e,n)}}}(this.nodeMapper,t),function(e,t){return Object.assign(Object.assign({},t),{sorter:t.sorter&&{compare:(e,n)=>t.sorter.compare(e.elements[0],n.elements[0])},identityProvider:t.identityProvider&&{getId:n=>t.identityProvider.getId(e(n))},filter:t.filter&&{filter:(n,i)=>t.filter.filter(e(n),i)}})}(i,n))}get onDidSplice(){return a.b.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return a.b.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return a.b.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=y.a.empty()){this.model.setChildren(e,t)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,n){return this.model.setCollapsed(e,t,n)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var ue=n(98),pe=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};class me extends ie{constructor(e,t,n,i,o={}){super(e,t,n,i,o)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=y.a.empty()){this.model.setChildren(e,t)}rerender(e){void 0!==e?this.model.rerender(e):this.view.rerender()}hasElement(e){return this.model.has(e)}createModel(e,t,n){return new oe(e,t,n)}}class ge{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){const o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,n.data,i))}disposeElement(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}pe([ue.a],ge.prototype,"compressedTreeNodeProvider",null);class fe extends me{constructor(e,t,n,i,o={}){const r=()=>this;super(e,t,n,i.map(e=>new ge(r,e)),function(e,t){return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(r,o))}setChildren(e,t=y.a.empty()){this.model.setChildren(e,t)}createModel(e,t,n){return new he(e,t,n)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var be=n(13),_e=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function ve(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function we(e,t){return!!t.parent&&(t.parent===e||we(e,t.parent))}class ye{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new ye(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Ce{constructor(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?Object(i.f)(t,V.classNames):Object(i.R)(t,V.classNames),!1}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function xe(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function Se(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class ke extends E.a{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function Ee(e){return e instanceof E.a?new ke(e):e}class Te{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(Ee(e),t)}onDragOver(e,t,n,i,o=!0){return this.dnd.onDragOver(Ee(e),t&&t.element,n,i)}drop(e,t,n,i){this.dnd.drop(Ee(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function Le(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new Te(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element})),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var n;return!!(null===(n=e.accessibilityProvider)||void 0===n?void 0:n.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter:(t,n)=>e.filter.filter(t.element,n)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function Ne(e,t){t(e),e.children.forEach(e=>Ne(e,t))}class Ie{constructor(e,t,n,i,r,s={}){this.user=e,this.dataSource=r,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new a.a,this._onDidChangeNodeSlowState=new a.a,this.nodeMapper=new S(e=>new ye(e)),this.disposables=new o.b,this.identityProvider=s.identityProvider,this.autoExpandSingleChildren=void 0!==s.autoExpandSingleChildren&&s.autoExpandSingleChildren,this.sorter=s.sorter,this.collapseByDefault=s.collapseByDefault,this.tree=this.createTree(e,t,n,i,s),this.root=ve({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return a.b.map(this.tree.onDidChangeFocus,xe)}get onDidChangeSelection(){return a.b.map(this.tree.onDidChangeSelection,xe)}get onMouseDblClick(){return a.b.map(this.tree.onMouseDblClick,Se)}get onPointer(){return a.b.map(this.tree.onPointer,Se)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,n,i,o){const r=new $(n),s=i.map(e=>new Ce(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),a=Le(o)||{};return new me(e,t,r,s,a)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return _e(this,void 0,void 0,(function*(){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;const n=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,n),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,n=!1,i){return _e(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new x(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event));const o=this.getDataNode(e);if(yield this.refreshAndRenderNode(o,t,i),n)try{this.tree.rerender(o)}catch(e){}}))}rerender(e){if(void 0===e||e===this.root.element)return void this.tree.rerender();const t=this.getDataNode(e);this.tree.rerender(t)}collapse(e,t=!1){const n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)}expand(e,t=!1){return _e(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new x(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event));const n=this.getDataNode(e);if(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))return!1;if(n.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event)),n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))return!1;const i=this.tree.expand(n===this.root?null:n,t);return n.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event)),i}))}setSelection(e,t){const n=e.map(e=>this.getDataNode(e));this.tree.setSelection(n,t)}getSelection(){return this.tree.getSelection().map(e=>e.element)}setFocus(e,t){const n=e.map(e=>this.getDataNode(e));this.tree.setFocus(n,t)}getFocus(){return this.tree.getFocus().map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new x(this.user,"Data tree node not found: "+e);return t}refreshAndRenderNode(e,t,n){return _e(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,n),this.render(e,n)}))}refreshNode(e,t,n){return _e(this,void 0,void 0,(function*(){let i;return this.subTreeRefreshPromises.forEach((o,r)=>{!i&&function(e,t){return e===t||we(e,t)||we(t,e)}(r,e)&&(i=o.then(()=>this.refreshNode(e,t,n)))}),i||this.doRefreshSubTree(e,t,n)}))}doRefreshSubTree(e,t,n){return _e(this,void 0,void 0,(function*(){let i;e.refreshPromise=new Promise(e=>i=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const o=yield this.doRefreshNode(e,t,n);e.stale=!1,yield Promise.all(o.map(e=>this.doRefreshSubTree(e,t,n)))}finally{i()}}))}doRefreshNode(e,t,n){return _e(this,void 0,void 0,(function*(){let i;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=Object(A.l)(800);t.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),i=this.doGetChildren(e).finally(()=>t.cancel())}else i=Promise.resolve(y.a.empty());try{const o=yield i;return this.setChildren(e,o,t,n)}catch(t){if(e!==this.root&&this.tree.collapse(e===this.root?null:e),Object(be.d)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);return t||(t=Object(A.f)(()=>_e(this,void 0,void 0,(function*(){const t=yield this.dataSource.getChildren(e.element);return this.processChildren(t)}))),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(be.e))}setChildren(e,t,n,i){const o=[...t];if(0===e.children.length&&0===o.length)return[];const r=new Map,s=new Map;for(const t of e.children)if(r.set(t.element,t),this.identityProvider){const e=this.tree.isCollapsed(t);s.set(t.id,{node:t,collapsed:e})}const a=[],l=o.map(t=>{const o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const n=ve({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(n.collapsedByDefault=!1,a.push(n)),n}const l=this.identityProvider.getId(t).toString(),c=s.get(l);if(c){const e=c.node;return r.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,n?c.collapsed?(e.children.forEach(e=>Ne(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):a.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,a.push(e)),e}const d=ve({element:t,parent:e,id:l,hasChildren:o});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?a.push(d):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(d.collapsedByDefault=!1,a.push(d)),d});for(const e of r.values())Ne(e,e=>this.nodes.delete(e.element));for(const e of l)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...l),e!==this.root&&this.autoExpandSingleChildren&&1===l.length&&0===a.length&&(l[0].collapsedByDefault=!1,a.push(l[0])),a}render(e,t){const n=e.children.map(e=>this.asTreeElement(e,t));this.tree.setChildren(e===this.root?null:e,n),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let n;return n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?y.a.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:n}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class Oe{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new Oe(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class De{constructor(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderCompressedElements(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?Object(i.f)(t,V.classNames):Object(i.R)(t,V.classNames),!1}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeCompressedElements(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=Object(o.f)(this.disposables)}}class Ae extends Ie{constructor(e,t,n,i,o,r,s={}){super(e,t,n,o,r,s),this.compressionDelegate=i,this.compressibleNodeMapper=new S(e=>new Oe(e)),this.filter=s.filter}createTree(e,t,n,i,o){const r=new $(n),s=i.map(e=>new De(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),a=function(e){const t=e&&Le(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))})})}(o)||{};return new fe(e,t,r,s,a)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const n=e=>this.identityProvider.getId(e).toString(),i=e=>{const t=new Set;for(const i of e){const e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(const i of e.element.elements)t.add(n(i.element))}return t},o=i(this.tree.getSelection()),r=i(this.tree.getFocus());super.render(e,t);const s=this.getSelection();let a=!1;const l=this.getFocus();let c=!1;const d=e=>{const t=e.element;if(t)for(let e=0;e<t.elements.length;e++){const i=n(t.elements[e].element),d=t.elements[t.elements.length-1].element;o.has(i)&&-1===s.indexOf(d)&&(s.push(d),a=!0),r.has(i)&&-1===l.indexOf(d)&&(l.push(d),c=!0)}e.children.forEach(d)};d(this.tree.getCompressedTreeNode(e===this.root?null:e)),a&&this.setSelection(s),c&&this.setFocus(l)}processChildren(e){return this.filter&&(e=y.a.filter(e,e=>{const t=this.filter.filter(e,1),n="boolean"==typeof(i=t)?i?1:0:N(i)?I(i.visibility):I(i);var i;if(2===n)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===n})),super.processChildren(e)}}class Re extends ie{constructor(e,t,n,i,o,r={}){super(e,t,n,i,r),this.user=e,this.dataSource=o,this.identityProvider=r.identityProvider}createModel(e,t,n){return new oe(e,t,n)}}var Me=n(80),Pe=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Fe=function(e,t){return function(n,i){t(n,i,e)}};const We=Object(g.c)("listService");let ze=class{constructor(e){this._themeService=e,this.disposables=new o.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new s.b(Object(i.v)(),"");this.disposables.add(Object(_.b)(e,this._themeService))}if(this.lists.some(t=>t.widget===e))throw new Error("Cannot register the same widget multiple times");const n={widget:e,extraContextKeys:t};return this.lists.push(n),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(o.e)(e.onDidFocus(()=>this._lastFocusedWidget=e),Object(o.h)(()=>this.lists.splice(this.lists.indexOf(n),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==n),this._lastFocusedWidget===e&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};ze=Pe([Fe(0,v.c)],ze);const Be=new m.c("listFocus",!0),je=new m.c("listSupportsMultiselect",!0),Ve=m.a.and(Be,m.a.not("inputFocus")),Ue=new m.c("listHasSelectionOrFocus",!1),He=new m.c("listDoubleSelection",!1),qe=new m.c("listMultiSelection",!1),$e=new m.c("listSupportsKeyboardNavigation",!0),Ke=new m.c("listAutomaticKeyboardNavigation",!0);let Ge=!1;function Ye(e,t){const n=e.createScoped(t.getHTMLElement());return Be.bindTo(n),n}const Ze="workbench.list.horizontalScrolling",Xe="workbench.tree.indent",Qe="workbench.list.smoothScrolling";function Je(e){return"alt"===e.getValue("workbench.list.multiSelectModifier")}class et extends o.a{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=Je(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.list.multiSelectModifier")&&(this.useAltAsMultipleSelectionModifier=Je(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(s.h)(e)}isSelectionRangeChangeEvent(e){return Object(s.g)(e)}}function tt(e,t,n){const i=new o.b,r=Object.assign({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){const e=new et(t);r.multipleSelectionController=e,i.add(e)}return r.keyboardNavigationDelegate={mightProducePrintableCharacter:e=>n.mightProducePrintableCharacter(e)},r.smoothScrolling=t.getValue(Qe),[r,i]}let nt=class extends s.c{constructor(e,t,n,i,o,r,s,a,l,c){const d=void 0!==o.horizontalScrolling?o.horizontalScrolling:l.getValue(Ze),[h,u]=tt(o,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(_.d)(a.getColorTheme(),_.e)),h),{horizontalScrolling:d})),this.disposables.add(u),this.contextKeyService=Ye(r,this),this.themeService=a;je.bindTo(this.contextKeyService).set(!(!1===o.multipleSelectionSupport)),this.listHasSelectionOrFocus=Ue.bindTo(this.contextKeyService),this.listDoubleSelection=He.bindTo(this.contextKeyService),this.listMultiSelection=qe.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=Je(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=Je(l));let t={};if(e.affectsConfiguration(Ze)&&void 0===this.horizontalScrolling){const e=l.getValue(Ze);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Qe)){const e=l.getValue(Qe);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)}))}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles)}dispose(){super.dispose(),this._styler&&this._styler.dispose()}updateStyles(e){this._styler&&this._styler.dispose(),this._styler=Object(_.b)(this,this.themeService,e)}};nt=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a)],nt);let it=class extends class{constructor(e,t,n,i,o={}){const r=()=>this.model,a=i.map(e=>new c(e,r));this.list=new s.c(e,t,n,a,function(e,t){return Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new d(e,t.accessibilityProvider)})}(r,o))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return a.b.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n}))}get onPointer(){return a.b.map(this.list.onPointer,({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n}))}get onDidChangeFocus(){return a.b.map(this.list.onDidChangeFocus,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:n}))}get onDidChangeSelection(){return a.b.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:n}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,Object(r.s)(e.length))}getFocus(){return this.list.getFocus()}setSelection(e,t){this.list.setSelection(e,t)}getSelection(){return this.list.getSelection()}style(e){this.list.style(e)}dispose(){this.list.dispose()}}{constructor(e,t,n,i,r,s,a,l,c,d){const h=void 0!==r.horizontalScrolling?r.horizontalScrolling:c.getValue(Ze),[u,p]=tt(r,c,d);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(_.d)(l.getColorTheme(),_.e)),u),{horizontalScrolling:h})),this.disposables=new o.b,this.disposables.add(p),this.contextKeyService=Ye(s,this),this.horizontalScrolling=r.horizontalScrolling;je.bindTo(this.contextKeyService).set(!(!1===r.multipleSelectionSupport)),this._useAltAsMultipleSelectionModifier=Je(c),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),r.overrideStyles&&this.disposables.add(Object(_.b)(this,l,r.overrideStyles)),this.disposables.add(c.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=Je(c));let t={};if(e.affectsConfiguration(Ze)&&void 0===this.horizontalScrolling){const e=c.getValue(Ze);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Qe)){const e=c.getValue(Qe);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)}))}dispose(){super.dispose(),this.disposables.dispose()}};it=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a)],it);class ot extends o.a{constructor(e,t){var n,i;super(),this.widget=e,this._onDidOpen=new a.a,this.onDidOpen=this._onDidOpen.event,this.openOnFocus=null!==(n=null==t?void 0:t.openOnFocus)&&void 0!==n&&n,this._register(a.b.filter(this.widget.onDidChangeSelection,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.browserEvent))),this.openOnFocus&&this._register(a.b.filter(this.widget.onDidChangeFocus,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onFocusFromKeyboard(e))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue("workbench.list.openMode")),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue("workbench.list.openMode"))}))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onFocusFromKeyboard(e){const t=this.widget.getFocus();this.widget.setSelection(t,e.browserEvent);const n="boolean"!=typeof e.browserEvent.preserveFocus||e.browserEvent.preserveFocus;this._open(n,!1,!1,e.browserEvent)}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t="boolean"!=typeof e.browserEvent.preserveFocus||e.browserEvent.preserveFocus;this._open(t,!1,!1,e.browserEvent)}onPointer(e){if(!this.openOnSingleClick)return;if(2===e.detail)return;const t=1===e.button,n=e.ctrlKey||e.metaKey||e.altKey;this._open(!0,t,n,e)}onMouseDblClick(e){if(!e)return;const t=e.ctrlKey||e.metaKey||e.altKey;this._open(!1,!0,t,e)}_open(e,t,n,i){this._onDidOpen.fire({editorOptions:{preserveFocus:e,pinned:t,revealIfVisible:!0},sideBySide:n,element:this.widget.getSelection()[0],browserEvent:i})}}class rt extends ot{constructor(e,t){super(e,t)}}function st(e,t){let n=!1;return i=>{if(n)return n=!1,!1;const o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}let at=class extends me{constructor(e,t,n,i,o,r,s,a,l,c,d){const{options:h,getAutomaticKeyboardNavigation:u,disposable:p}=ut(t,o,r,l,c,d);super(e,t,n,i,h),this.disposables.add(p),this.internals=new pt(this,o,u,o.overrideStyles,r,s,a,l,d),this.disposables.add(this.internals)}};at=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a),Fe(10,Me.b)],at);let lt=class extends fe{constructor(e,t,n,i,o,r,s,a,l,c,d){const{options:h,getAutomaticKeyboardNavigation:u,disposable:p}=ut(t,o,r,l,c,d);super(e,t,n,i,h),this.disposables.add(p),this.internals=new pt(this,o,u,o.overrideStyles,r,s,a,l,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};lt=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a),Fe(10,Me.b)],lt);let ct=class extends Re{constructor(e,t,n,i,o,r,s,a,l,c,d,h){const{options:u,getAutomaticKeyboardNavigation:p,disposable:m}=ut(t,r,s,c,d,h);super(e,t,n,i,o,u),this.disposables.add(m),this.internals=new pt(this,r,p,r.overrideStyles,s,a,l,c,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};ct=Pe([Fe(6,m.b),Fe(7,We),Fe(8,v.c),Fe(9,u.a),Fe(10,f.a),Fe(11,Me.b)],ct);let dt=class extends Ie{constructor(e,t,n,i,o,r,s,a,l,c,d,h){const{options:u,getAutomaticKeyboardNavigation:p,disposable:m}=ut(t,r,s,c,d,h);super(e,t,n,i,o,u),this.disposables.add(m),this.internals=new pt(this,r,p,r.overrideStyles,s,a,l,c,h),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};dt=Pe([Fe(6,m.b),Fe(7,We),Fe(8,v.c),Fe(9,u.a),Fe(10,f.a),Fe(11,Me.b)],dt);let ht=class extends Ae{constructor(e,t,n,i,o,r,s,a,l,c,d,h,u){const{options:p,getAutomaticKeyboardNavigation:m,disposable:g}=ut(t,s,a,d,h,u);super(e,t,n,i,o,r,p),this.disposables.add(g),this.internals=new pt(this,s,m,s.overrideStyles,a,l,c,d,u),this.disposables.add(this.internals)}};function ut(e,t,n,i,o,r){$e.bindTo(n),Ge||(Ke.bindTo(n),Ge=!0);const s=()=>{let e=n.getContextKeyValue("listAutomaticKeyboardNavigation");return e&&(e=i.getValue("workbench.list.automaticKeyboardNavigation")),e},a=r.isScreenReaderOptimized()?"simple":i.getValue("workbench.list.keyboardNavigation"),l=void 0!==t.horizontalScrolling?t.horizontalScrolling:i.getValue(Ze),[c,d]=tt(t,i,o),h=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:s,disposable:d,options:Object.assign(Object.assign({keyboardSupport:!1},c),{indent:i.getValue(Xe),renderIndentGuides:i.getValue("workbench.tree.renderIndentGuides"),smoothScrolling:i.getValue(Qe),automaticKeyboardNavigation:s(),simpleKeyboardNavigation:"simple"===a,filterOnType:"filter"===a,horizontalScrolling:l,keyboardNavigationEventFilter:st(e,o),additionalScrollHeight:h,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnDoubleClick:"doubleClick"===i.getValue("workbench.list.openMode")})}}ht=Pe([Fe(7,m.b),Fe(8,We),Fe(9,v.c),Fe(10,u.a),Fe(11,f.a),Fe(12,Me.b)],ht);let pt=class{constructor(e,t,n,i,o,r,s,a,l){this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=Ye(o,e);je.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=Ue.bindTo(this.contextKeyService),this.hasDoubleSelection=He.bindTo(this.contextKeyService),this.hasMultiSelection=qe.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=Je(a);const c=new Set;c.add("listAutomaticKeyboardNavigation");const d=()=>{const t=l.isScreenReaderOptimized()?"simple":a.getValue("workbench.list.keyboardNavigation");e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection(()=>{const t=e.getSelection(),n=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||n.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{const t=e.getSelection(),n=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||n.length>0)}),a.onDidChangeConfiguration(i=>{let o={};if(i.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=Je(a)),i.affectsConfiguration(Xe)){const e=a.getValue(Xe);o=Object.assign(Object.assign({},o),{indent:e})}if(i.affectsConfiguration("workbench.tree.renderIndentGuides")){const e=a.getValue("workbench.tree.renderIndentGuides");o=Object.assign(Object.assign({},o),{renderIndentGuides:e})}if(i.affectsConfiguration(Qe)){const e=a.getValue(Qe);o=Object.assign(Object.assign({},o),{smoothScrolling:e})}if(i.affectsConfiguration("workbench.list.keyboardNavigation")&&d(),i.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&(o=Object.assign(Object.assign({},o),{automaticKeyboardNavigation:n()})),i.affectsConfiguration(Ze)&&void 0===t.horizontalScrolling){const e=a.getValue(Ze);o=Object.assign(Object.assign({},o),{horizontalScrolling:e})}i.affectsConfiguration("workbench.list.openMode")&&(o=Object.assign(Object.assign({},o),{expandOnlyOnDoubleClick:"doubleClick"===a.getValue("workbench.list.openMode")})),Object.keys(o).length>0&&e.updateOptions(o)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})}),l.onDidChangeScreenReaderOptimized(()=>d())),this.navigator=new rt(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateStyleOverrides(e){Object(o.f)(this.styler),this.styler=e?Object(_.b)(this.tree,this.themeService,e):o.a.None}dispose(){this.disposables=Object(o.f)(this.disposables),Object(o.f)(this.styler),this.styler=void 0}};pt=Pe([Fe(4,m.b),Fe(5,We),Fe(6,v.c),Fe(7,u.a),Fe(8,Me.b)],pt);b.a.as(p.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(h.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{"workbench.list.multiSelectModifier":{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(h.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(h.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(h.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},"workbench.list.openMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(h.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},[Ze]:{type:"boolean",default:!1,description:Object(h.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[Xe]:{type:"number",default:8,minimum:0,maximum:40,description:Object(h.a)("tree indent setting","Controls tree indentation in pixels.")},"workbench.tree.renderIndentGuides":{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(h.a)("render tree indent guides","Controls whether the tree should render indent guides.")},[Qe]:{type:"boolean",default:!1,description:Object(h.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},"workbench.list.keyboardNavigation":{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(h.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(h.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(h.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(h.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},"workbench.list.automaticKeyboardNavigation":{type:"boolean",default:!0,markdownDescription:Object(h.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")}}})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(34),o=n(11);const r={clipboard:{writeText:o.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(i.f){let e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0})()},keyboard:o.g||i.k?0:navigator.keyboard||i.j?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("themeService")},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,o,r,s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)r="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;r=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=i||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new g(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(r&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=r?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function b(e,t){for(var n=void 0,i=-1,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=f[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:b,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,l=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=h,i+=h),r){var c=r.indexOf("@");if(-1!==c){var d=r.substr(0,c);r=r.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,c),!1),i+=r.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(u=s.charCodeAt(1))>=65&&u<=90&&(s="/"+String.fromCharCode(u+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var u;(u=s.charCodeAt(0))>=65&&u<=90&&(s=String.fromCharCode(u+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const i={ctrlCmd:!1,alt:!1};var o;!function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(o||(o={}))},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return r}));var i=n(95),o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:i.a.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:i.a.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:i.a.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:i.a.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},r={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}},function(e,t,n){"use strict";function i(e){return e&&"string"==typeof e.id}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));const o={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,o,r,s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)r="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;r=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=i||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new g(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(r&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=r?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function b(e,t){for(var n=void 0,i=-1,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=f[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:b,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,l=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=h,i+=h),r){var c=r.indexOf("@");if(-1!==c){var d=r.substr(0,c);r=r.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,c),!1),i+=r.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(u=s.charCodeAt(1))>=65&&u<=90&&(s="/"+String.fromCharCode(u+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var u;(u=s.charCodeAt(0))>=65&&u<=90&&(s=String.fromCharCode(u+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(214);const i="monaco-mouse-cursor-text"},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(0),o=n(6),r=n(12),s=n(39),a=n(56);const l=new class{constructor(){this._onDidChangeLanguages=new o.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,n=this._languages.length;t<n;t++)if(this._languages[t]===e)return void this._languages.splice(t,1)}}}getLanguages(){return[].concat(this._languages).concat(this._dynamicLanguages)}};a.a.add("editor.modesRegistry",l);const c="plaintext",d=new r.r(c,1);l.registerLanguage({id:c,extensions:[".txt"],aliases:[i.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),s.a.register(d,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));class i{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const o=new i("id#")},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var i=n(18),o=n(23),r=n(14);const s=Object(i.c)("IWorkspaceEditService");class a{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(t=e,Object(r.i)(t)&&o.a.isUri(t.resource)&&Object(r.i)(t.edit))return new l(e.resource,e.edit,e.modelVersionId,e.metadata);var t;if(function(e){return Object(r.i)(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))}(e))return new c(e.oldUri,e.newUri,e.options,e.metadata);throw new Error("Unsupported edit")})}}class l extends a{constructor(e,t,n,i){super(i),this.resource=e,this.textEdit=t,this.versionId=n,this.metadata=i}}class c extends a{constructor(e,t,n,i){super(i),this.oldResource=e,this.newResource=t,this.options=n,this.metadata=i}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(18);const o=Object(i.c)("undoRedoService");class r{constructor(e,t){this.resource=e,this.elements=t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(71),o=n(8);const r="$(";function s(e){const t=e.indexOf(r);return-1===t?{text:e}:function(e,t){const n=[];let i="";function o(e){if(e){i+=e;for(const t of e)n.push(d)}}let s,a,l=-1,c="",d=0,h=t;const u=e.length;o(e.substr(0,t));for(;h<u;){if(s=e[h],a=e[h+1],s===r[0]&&a===r[1])l=h,o(c),c=r,h++;else if(")"===s&&-1!==l){d+=h-l+1,l=-1,c=""}else-1!==l?/^[a-z0-9\-]$/i.test(s)?c+=s:(o(c),l=-1,c=""):o(s);h++}return o(c),{text:i,codiconOffsets:n}}(e,t)}function a(e,t,n=!1){const{text:r,codiconOffsets:s}=t;if(!s||0===s.length)return Object(i.g)(e,r,n);const a=Object(o.K)(r," "),l=r.length-a.length,c=Object(i.g)(e,a,n);if(c)for(const e of c){const t=s[e.start+l]+l;e.start+=t,e.end+=t}return c}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n(18);const o=Object(i.c)("textResourceConfigurationService"),r=Object(i.c)("textResourcePropertiesService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n(246);var i=n(2),o=n(11),r=n(14),s=n(61),a=n(69),l=n(6),c=n(1),d=n(44);const h=new l.a;class u extends i.a{constructor(e,t,n){super(),this._state=3,this._onDidEnablementChange=this._register(new l.a),this.onDidEnablementChange=this._onDidEnablementChange.event,this._onDidStart=this._register(new l.a),this.onDidStart=this._onDidStart.event,this._onDidChange=this._register(new l.a),this.onDidChange=this._onDidChange.event,this._onDidReset=this._register(new l.a),this.onDidReset=this._onDidReset.event,this._onDidEnd=this._register(new l.a),this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.orthogonalStartSashDisposables=this._register(new i.b),this.orthogonalEndSashDisposables=this._register(new i.b),this.el=Object(c.p)(e,Object(c.a)(".monaco-sash")),o.f&&Object(c.e)(this.el,"mac"),this._register(Object(d.a)(this.el,"mousedown")(this.onMouseDown,this)),this._register(Object(d.a)(this.el,"dblclick")(this.onMouseDoubleClick,this)),this._register(s.b.addTarget(this.el)),this._register(Object(d.a)(this.el,s.a.Start)(this.onTouchStart,this)),"number"==typeof n.size?(this.size=n.size,0===n.orientation?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=4,this._register(h.event(e=>{this.size=e,this.layout()}))),this.hidden=!1,this.layoutProvider=t,this.orthogonalStartSash=n.orthogonalStartSash,this.orthogonalEndSash=n.orthogonalEndSash,this.orientation=n.orientation||0,1===this.orientation?(Object(c.e)(this.el,"horizontal"),Object(c.Q)(this.el,"vertical")):(Object(c.Q)(this.el,"horizontal"),Object(c.e)(this.el,"vertical")),Object(c.ab)(this.el,"debug",!1),this.layout()}get state(){return this._state}set state(e){this._state!==e&&(Object(c.ab)(this.el,"disabled",0===e),Object(c.ab)(this.el,"minimum",1===e),Object(c.ab)(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e}onMouseDown(e){c.b.stop(e,!1);let t=!1;if(!e.__orthogonalSashEvent){const n=this.getOrthogonalSash(e);n&&(t=!0,e.__orthogonalSashEvent=!0,n.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),!this.state)return;const n=[...Object(c.D)("iframe"),...Object(c.D)("webview")];for(const e of n)e.style.pointerEvents="none";const r=new a.a(e),s=r.posx,l=r.posy,h=r.altKey,u={startX:s,currentX:s,startY:l,currentY:l,altKey:h};Object(c.e)(this.el,"active"),this._onDidStart.fire(u);const p=Object(c.v)(this.el),m=()=>{let e="";e=t?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":o.f?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":o.f?"col-resize":"ew-resize",p.innerHTML=`* { cursor: ${e} !important; }`},g=new i.b;m(),t||this.onDidEnablementChange(m,null,g);Object(d.a)(window,"mousemove")(e=>{c.b.stop(e,!1);const t=new a.a(e),n={startX:s,currentX:t.posx,startY:l,currentY:t.posy,altKey:h};this._onDidChange.fire(n)},null,g),Object(d.a)(window,"mouseup")(e=>{c.b.stop(e,!1),this.el.removeChild(p),Object(c.Q)(this.el,"active"),this._onDidEnd.fire(),g.dispose();for(const e of n)e.style.pointerEvents="auto"},null,g)}onMouseDoubleClick(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}onTouchStart(e){c.b.stop(e);const t=[],n=e.pageX,o=e.pageY,a=e.altKey;this._onDidStart.fire({startX:n,currentX:n,startY:o,currentY:o,altKey:a}),t.push(Object(c.i)(this.el,s.a.Change,e=>{r.h(e.pageX)&&r.h(e.pageY)&&this._onDidChange.fire({startX:n,currentX:e.pageX,startY:o,currentY:e.pageY,altKey:a})})),t.push(Object(c.i)(this.el,s.a.End,e=>{this._onDidEnd.fire(),Object(i.f)(t)}))}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}onOrthogonalStartSashEnablementChange(e){Object(c.ab)(this.el,"orthogonal-start",0!==e)}onOrthogonalEndSashEnablementChange(e){Object(c.ab)(this.el,"orthogonal-end",0!==e)}getOrthogonalSash(e){if(0===this.orientation){if(e.offsetY<=this.size)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-this.size)return this.orthogonalEndSash}else{if(e.offsetX<=this.size)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-this.size)return this.orthogonalEndSash}}dispose(){super.dispose(),this.el.remove()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));n(251),n(255),n(257);var i=n(17);const o=new class{constructor(){this.onDidChange=i.c.onDidRegister}getCSS(){const e=[];for(let t of i.c.all)e.push(r(t));return e.join("\n")}};function r(e){let t=e.definition;for(;t instanceof i.a;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.character}'; }`}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var i=n(8);class o{constructor(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(!o._equals(e[i],t[i]))return!1;return!0}static filter(e,t,n,i){if(0===e.length)return[];let r=[],s=0;for(let a=0,l=e.length;a<l;a++){const l=e[a],c=l.range;if(c.endLineNumber<t||c.startLineNumber>t)continue;if(c.isEmpty()&&(0===l.type||3===l.type))continue;const d=c.startLineNumber===t?c.startColumn:n,h=c.endLineNumber===t?c.endColumn:i;r[s++]=new o(d,h,l.inlineClassName,l.type)}return r}static _typeCompare(e,t){const n=[2,0,1,3];return n[e]-n[t]}static compare(e,t){if(e.startColumn===t.startColumn){if(e.endColumn===t.endColumn){const n=o._typeCompare(e.type,t.type);return 0===n?e.className<t.className?-1:e.className>t.className?1:0:n}return e.endColumn-t.endColumn}return e.startColumn-t.startColumn}}class r{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.className=n,this.metadata=i}}class s{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let n=0,i=e.length;n<i;n++)t|=e[n];return t}consumeLowerThan(e,t,n){for(;this.count>0&&this.stopOffsets[0]<e;){let e=0;for(;e+1<this.count&&this.stopOffsets[e]===this.stopOffsets[e+1];)e++;n.push(new r(t,this.stopOffsets[e],this.classNames.join(" "),s._metadata(this.metadata))),t=this.stopOffsets[e]+1,this.stopOffsets.splice(0,e+1),this.classNames.splice(0,e+1),this.metadata.splice(0,e+1),this.count-=e+1}return this.count>0&&t<e&&(n.push(new r(t,e-1,this.classNames.join(" "),s._metadata(this.metadata))),t=e),t}insert(e,t,n){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(n);else for(let i=0;i<this.count;i++)if(this.stopOffsets[i]>=e){this.stopOffsets.splice(i,0,e),this.classNames.splice(i,0,t),this.metadata.splice(i,0,n);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];let n=[];const o=new s;let r=0;for(let s=0,a=t.length;s<a;s++){const a=t[s];let l=a.startColumn,c=a.endColumn;const d=a.className,h=1===a.type?2:2===a.type?4:0;if(l>1){const t=e.charCodeAt(l-2);i.F(t)&&l--}if(c>1){const t=e.charCodeAt(c-2);i.F(t)&&c--}const u=l-1,p=c-2;r=o.consumeLowerThan(u,r,n),0===o.count&&(r=u),o.insert(p,d,h)}return o.consumeLowerThan(1073741824,r,n),n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(46),o=n(17),r=n(8);class s{constructor(e,t){this.supportCodicons=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t=[],n="",o){e||(e=""),o&&(e=s.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===n&&i.e(this.highlights,t)||(Array.isArray(t)||(t=[]),this.text=e,this.title=n,this.highlights=t,this.render())}render(){let e="",t=0;for(const n of this.highlights){if(n.end===n.start)continue;if(t<n.start){e+="<span>";const i=this.text.substring(t,n.start);e+=this.supportCodicons?Object(o.f)(Object(r.u)(i)):Object(r.u)(i),e+="</span>",t=n.end}n.extraClasses?e+=`<span class="highlight ${n.extraClasses}">`:e+='<span class="highlight">';const i=this.text.substring(n.start,n.end);e+=this.supportCodicons?Object(o.f)(Object(r.u)(i)):Object(r.u)(i),e+="</span>",t=n.end}if(t<this.text.length){e+="<span>";const n=this.text.substring(t);e+=this.supportCodicons?Object(o.f)(Object(r.u)(n)):Object(r.u)(n),e+="</span>"}this.domNode.innerHTML=e,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(e,t){let n=0,i=0;return e.replace(/\r\n|\r|\n/g,(e,o)=>{i="\r\n"===e?-1:0,o+=n;for(const e of t)e.end<=o||(e.start>=o&&(e.start+=i),e.end>=o&&(e.end+=i));return n+=i,"⏎"})}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(11);const o=i.b.performance&&"function"==typeof i.b.performance.now;class r{constructor(e){this._highResolution=o&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new r(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?i.b.performance.now():(new Date).getTime()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("labelService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(11),o=n(135);const r=i.f?1.5:1.35;class s{constructor(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n){const i=e.get(35),o=e.get(39),r=e.get(38),a=e.get(37),l=e.get(51),c=e.get(48);return s._create(i,o,r,a,l,c,t,n)}static _create(e,t,n,i,a,l,c,d){0===a?a=Math.round(r*n):a<8&&(a=8);const h=1+(d?0:.1*o.a.getZoomLevel());return new s({zoomLevel:c,fontFamily:e,fontWeight:t,fontSize:n*=h,fontFeatureSettings:i,lineHeight:a*=h,letterSpacing:l})}getId(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?`"${this.fontFamily}"`:this.fontFamily}}class a extends s{constructor(e,t){super(e),this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return w})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return L}));var i=n(0),o=n(6),r=n(2),s=n(46),a=n(15),l=n(26),c=n(135),d=n(160),h=n(128),u=n(56),p=n(189);const m=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new o.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}},g=Object.hasOwnProperty;class f{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class b{constructor(){this._values=[]}_read(e){return this._values[e]}_write(e,t){this._values[e]=t}}class _{static readOptions(e){const t=e,n=new b;for(const e of l.k){const i="_never_"===e.name?void 0:t[e.name];n._write(e.id,i)}return n}static validateOptions(e){const t=new l.j;for(const n of l.k)t._write(n.id,n.validate(e._read(n.id)));return t}static computeOptions(e,t){const n=new f;for(const i of l.k)n._write(i.id,i.compute(t,n,e._read(i.id)));return n}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!(!Array.isArray(e)||!Array.isArray(t))&&a.g(e,t);for(let n in e)if(!_._deepEquals(e[n],t[n]))return!1;return!0}static checkEquals(e,t){const n=[];let i=!1;for(const o of l.k){const r=!_._deepEquals(e._read(o.id),t._read(o.id));n[o.id]=r,r&&(i=!0)}return i?new l.b(n):null}}function v(e){const t=s.c(e);return function(e){const t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");const n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off"),!1===e.autoClosingBrackets&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never"),"visible"===e.cursorBlinking&&(e.cursorBlinking="solid");const i=e.renderWhitespace;!0===i?e.renderWhitespace="boundary":!1===i&&(e.renderWhitespace="none");const o=e.renderLineHighlight;!0===o?e.renderLineHighlight="line":!1===o&&(e.renderLineHighlight="none");const r=e.acceptSuggestionOnEnter;!0===r?e.acceptSuggestionOnEnter="on":!1===r&&(e.acceptSuggestionOnEnter="off");const s=e.tabCompletion;!1===s?e.tabCompletion="off":!0===s&&(e.tabCompletion="onlySnippets");const a=e.suggest;if(a&&"object"==typeof a.filteredTypes&&a.filteredTypes){const e={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(p.b)(e,e=>{const t=a.filteredTypes[e.key];!1===t&&(a[e.value]=t)})}const l=e.hover;!0===l?e.hover={enabled:!0}:!1===l&&(e.hover={enabled:!1});const c=e.parameterHints;!0===c?e.parameterHints={enabled:!0}:!1===c&&(e.parameterHints={enabled:!1});const d=e.autoIndent;!0===d?e.autoIndent="full":!1===d&&(e.autoIndent="advanced");const h=e.matchBrackets;!0===h?e.matchBrackets="always":!1===h&&(e.matchBrackets="never")}(t),t}class w extends r.a{constructor(e,t){super(),this._onDidChange=this._register(new o.a),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new o.a),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=e,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new l.a,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=v(t),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._register(c.a.onDidChangeZoomLevel(e=>this._recomputeOptions())),this._register(m.onDidChangeTabFocus(e=>this._recomputeOptions()))}observeReferenceElement(e){}dispose(){super.dispose()}_recomputeOptions(){const e=this.options,t=this._computeInternalOptions();if(e){const n=_.checkEquals(e,t);if(null===n)return;this.options=t,this._onDidChangeFast.fire(n),this._onDidChange.fire(n)}else this.options=t}getRawOptions(){return this._rawOptions}_computeInternalOptions(){const e=this._getEnvConfiguration(),t=d.a.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,this.isSimpleWidget),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:m.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return _.computeOptions(this._validatedOptions,n)}static _subsetEquals(e,t){for(const n in t)if(g.call(t,n)){const i=t[n],o=e[n];if(o===i)continue;if(Array.isArray(o)&&Array.isArray(i)){if(!a.g(o,i))return!1;continue}if(o&&"object"==typeof o&&i&&"object"==typeof i){if(!this._subsetEquals(o,i))return!1;continue}return!1}return!0}updateOptions(e){if(void 0===e)return;const t=v(e);w._subsetEquals(this._rawOptions,t)||(this._rawOptions=s.g(this._rawOptions,t||{}),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._recomputeOptions())}setIsDominatedByLongLines(e){this._isDominatedByLongLines=e,this._recomputeOptions()}setMaxLineNumber(e){const t=w._digitCount(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}static _digitCount(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}}const y=Object.freeze({id:"editor",order:5,type:"object",title:i.a("editorConfigurationTitle","Editor"),scope:5}),C=u.a.as(h.a.Configuration),x=Object.assign(Object.assign({},y),{properties:{"editor.tabSize":{type:"number",default:l.d.tabSize,minimum:1,markdownDescription:i.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:l.d.insertSpaces,markdownDescription:i.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:l.d.detectIndentation,markdownDescription:i.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:l.d.trimAutoWhitespace,description:i.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:l.d.largeFileOptimizations,description:i.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:i.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[i.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),i.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),i.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:i.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:i.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:i.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:i.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:i.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:i.a("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:i.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:i.a("codeLens","Controls whether the editor shows CodeLens.")}}});for(const e of l.k){const t=e.schema;if(void 0!==t)if(void 0!==(S=t).type||void 0!==S.anyOf)x.properties["editor."+e.name]=t;else for(let e in t)g.call(t,e)&&(x.properties[e]=t[e])}var S;let k=null;function E(){return null===k&&(k=Object.create(null),Object.keys(x.properties).forEach(e=>{k[e]=!0})),k}function T(e){return E()["editor."+e]||!1}function L(e){return E()["diffEditor."+e]||!1}C.registerConfiguration(x)},function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return T}));var i=n(46),o=n(2),r=n(61),s=n(1),a=n(6),l=n(44),c=n(105),d=n(170),h=n(99);function u(e,t){const n=[];for(let i of t){if(e.start>=i.range.end)continue;if(e.end<i.range.start)break;const t=h.a.intersect(e,i.range);h.a.isEmpty(t)||n.push({range:t,size:i.size})}return n}function p({start:e,end:t},n){return{start:e+n,end:t+n}}class m{constructor(){this.groups=[],this._size=0}splice(e,t,n=[]){const i=n.length-t,o=u({start:0,end:e},this.groups),r=u({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map(e=>({range:p(e.range,i),size:e.size})),s=n.map((t,n)=>({range:{start:e+n,end:e+n+1},size:t.size}));this.groups=function(...e){return function(e){const t=[];let n=null;for(let i of e){const e=i.range.start,o=i.range.end,r=i.size;n&&r===n.size?n.range.end=o:(n={range:{start:e,end:o},size:r},t.push(n))}return t}(e.reduce((e,t)=>e.concat(t),[]))}(o,s,r),this._size=this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o*i.size;if(e<r)return t+Math.floor((e-n)/i.size);t+=o,n=r}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o;if(e<r)return t+(e-n)*i.size;t+=o*i.size,n=r}return-1}}class g{constructor(e){this.renderers=e,this.cache=new Map}alloc(e){let t=this.getTemplateCache(e).pop();if(!t){const n=Object(s.a)(".monaco-list-row");t={domNode:n,templateId:e,templateData:this.getRenderer(e).renderTemplate(n)}}return t}release(e){e&&this.releaseRow(e)}releaseRow(e){const{domNode:t,templateId:n}=e;t&&(Object(s.Q)(t,"scrolling"),function(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(e){}}(t));this.getTemplateCache(n).push(e)}getTemplateCache(e){let t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t}dispose(){this.cache.forEach((e,t)=>{for(const n of e){this.getRenderer(t).disposeTemplate(n.templateData),n.domNode=null,n.templateData=null}}),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t}}var f=n(98),b=n(15),_=n(125),v=n(20),w=n(34),y=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};const C={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0};class x{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class S{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class k{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;t<e.files.length;t++){const n=e.files.item(t);n&&(n.size||n.type)&&this.files.push(n)}}}getData(){return{types:this.types,files:this.files}}}class E{constructor(e){(null==e?void 0:e.getSetSize)?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(e,t,n)=>n,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class T{constructor(e,t,n,h=C){if(this.virtualDelegate=t,this.domId="list_id_"+ ++T.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new v.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=o.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=o.a.None,this.onDragLeaveTimeout=o.a.None,this.disposables=new o.b,this._onDidChangeContentHeight=new a.a,this._horizontalScrolling=!1,h.horizontalScrolling&&h.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new m;for(const e of n)this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new g(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",s.e(this.domNode,this.domId),this.domNode.tabIndex=0,s.ab(this.domNode,"mouse-support","boolean"!=typeof h.mouseSupport||h.mouseSupport),this._horizontalScrolling=Object(i.f)(h,e=>e.horizontalScrolling,C.horizontalScrolling),s.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===h.additionalScrollHeight?0:h.additionalScrollHeight,this.accessibilityProvider=new E(h.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";Object(i.f)(h,e=>e.transformOptimization,C.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(r.b.addTarget(this.rowsContainer)),this.scrollable=new d.a(Object(i.f)(h,e=>e.smoothScrolling,!1)?125:0,e=>s.Y(e)),this.scrollableElement=this.disposables.add(new c.c(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:1,vertical:Object(i.f)(h,e=>e.verticalScrollMode,C.verticalScrollMode),useShadows:Object(i.f)(h,e=>e.useShadows,C.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(l.a)(this.rowsContainer,r.a.Change)(this.onTouchChange,this,this.disposables),Object(l.a)(this.scrollableElement.getDomNode(),"scroll")(e=>e.target.scrollTop=0,null,this.disposables),a.b.map(Object(l.a)(this.domNode,"dragover"),e=>this.toDragEvent(e))(this.onDragOver,this,this.disposables),a.b.map(Object(l.a)(this.domNode,"drop"),e=>this.toDragEvent(e))(this.onDrop,this,this.disposables),Object(l.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(l.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(i.f)(h,e=>e.setRowLineHeight,C.setRowLineHeight),this.setRowHeight=Object(i.f)(h,e=>e.setRowHeight,C.setRowHeight),this.supportDynamicHeights=Object(i.f)(h,e=>e.supportDynamicHeights,C.supportDynamicHeights),this.dnd=Object(i.f)(h,e=>e.dnd,C.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,s.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:s.B(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling)}splice(e,t,n=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,n=[]){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),r={start:e,end:e+t},s=h.a.intersect(i,r);for(let e=s.start;e<s.end;e++)this.removeItemFromDOM(e);const a={start:e+t,end:this.items.length},l=h.a.intersect(a,i),c=h.a.relativeComplement(a,i),d=n.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:o.a.None}));let u;0===e&&t>=this.items.length?(this.rangeMap=new m,this.rangeMap.splice(0,0,d),this.items=d,u=[]):(this.rangeMap.splice(e,t,d),u=this.items.splice(e,t,...d));const g=n.length-t,f=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),b=p(l,g),_=h.a.intersect(f,b);for(let e=_.start;e<_.end;e++)this.updateItemInDOM(this.items[e],e);const v=h.a.relativeComplement(b,f);for(const e of v)for(let t=e.start;t<e.end;t++)this.removeItemFromDOM(t);const w=c.map(e=>p(e,g)),y=[{start:e,end:e+n.length},...w].map(e=>h.a.intersect(f,e)),C=this.getNextToLastElement(y);for(const e of y)for(let t=e.start;t<e.end;t++)this.insertItemInDOM(t,C);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),u.map(e=>e.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=s.Y(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let n={height:"number"==typeof e?e:s.A(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:s.B(this.domNode)}))}render(e,t,n,i,o,r=!1){const s=this.getRenderRange(t,n),a=h.a.relativeComplement(s,e),l=h.a.relativeComplement(e,s),c=this.getNextToLastElement(a);if(r){const t=h.a.intersect(e,s);for(let e=t.start;e<t.end;e++)this.updateItemInDOM(this.items[e],e)}for(const e of a)for(let t=e.start;t<e.end;t++)this.insertItemInDOM(t,c);for(const e of l)for(let t=e.start;t<e.end;t++)this.removeItemFromDOM(t);void 0!==i&&(this.rowsContainer.style.left=`-${i}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==o&&(this.rowsContainer.style.width=Math.max(o,this.renderWidth)+"px"),this.lastRenderTop=t,this.lastRenderHeight=n}insertItemInDOM(e,t){const n=this.items[e];if(!n.row){n.row=this.cache.alloc(n.templateId);const e=this.accessibilityProvider.getRole(n.element)||"listitem";n.row.domNode.setAttribute("role",e);const t=this.accessibilityProvider.isChecked(n.element);void 0!==t&&n.row.domNode.setAttribute("aria-checked",String(!!t))}n.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(n.row.domNode,t):this.rowsContainer.appendChild(n.row.domNode)),this.updateItemInDOM(n,e);const i=this.renderers.get(n.templateId);if(!i)throw new Error("No renderer found for template id "+n.templateId);i&&i.renderElement(n.element,e,n.row.templateData,n.size);const o=this.dnd.getDragURI(n.element);if(n.dragStartDisposable.dispose(),n.row.domNode.draggable=!!o,o){const e=Object(l.a)(n.row.domNode,"dragstart");n.dragStartDisposable=e(e=>this.onDragStart(n.element,o,e))}this.horizontalScrolling&&(this.measureItemWidth(n),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=w.h?"-moz-fit-content":"fit-content",e.width=s.B(e.row.domNode);const t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",this.setRowHeight&&(e.row.domNode.style.height=e.size+"px"),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),s.ab(e.row.domNode,"drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];t.dragStartDisposable.dispose();const n=this.renderers.get(t.templateId);t.row&&n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return a.b.map(Object(l.a)(this.domNode,"click"),e=>this.toMouseEvent(e))}get onMouseDblClick(){return a.b.map(Object(l.a)(this.domNode,"dblclick"),e=>this.toMouseEvent(e))}get onMouseMiddleClick(){return a.b.filter(a.b.map(Object(l.a)(this.domNode,"auxclick"),e=>this.toMouseEvent(e)),e=>1===e.browserEvent.button)}get onMouseDown(){return a.b.map(Object(l.a)(this.domNode,"mousedown"),e=>this.toMouseEvent(e))}get onContextMenu(){return a.b.map(Object(l.a)(this.domNode,"contextmenu"),e=>this.toMouseEvent(e))}get onTouchStart(){return a.b.map(Object(l.a)(this.domNode,"touchstart"),e=>this.toTouchEvent(e))}get onTap(){return a.b.map(Object(l.a)(this.rowsContainer,r.a.Tap),e=>this.toGestureEvent(e))}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,n){if(!n.dataTransfer)return;const i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(_.a.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(i,n)),void 0===e&&(e=String(i.length));const t=s.a(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),n.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>document.body.removeChild(t),0)}this.currentDragData=new x(i),_.c.CurrentDragAndDropData=new S(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),_.c.CurrentDragAndDropData&&"vscode-ui"===_.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(_.c.CurrentDragAndDropData)this.currentDragData=_.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new k}const t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let n;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof t&&0===t.effect?"copy":"move",n="boolean"!=typeof t&&t.feedback?t.feedback:void 0===e.index?[-1]:[e.index],n=Object(b.e)(n).filter(e=>e>=-1&&e<this.length).sort((e,t)=>e-t),n=-1===n[0]?[-1]:n,i=this.currentDragFeedback,r=n,Array.isArray(i)&&Array.isArray(r)?Object(b.g)(i,r):i===r)return!0;var i,r;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])s.e(this.domNode,"drop-target"),s.e(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(o.h)(()=>{s.Q(this.domNode,"drop-target"),s.Q(this.rowsContainer,"drop-target")});else{for(const e of n){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode&&s.e(t.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(o.h)(()=>{for(const e of n){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode&&s.Q(t.row.domNode,"drop-target")}})}return!0}onDragLeave(){this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(v.g)(()=>this.clearDragOverFeedback(),100)}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,_.c.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,_.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=o.a.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const e=s.F(this.domNode).top;this.dragOverAnimationDisposable=s.o(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(v.g)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;const t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let n=e;for(;n instanceof HTMLElement&&n!==this.rowsContainer&&t.contains(n);){const e=n.getAttribute("data-index");if(e){const t=Number(e);if(!isNaN(t))return t}n=n.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t){const n=this.getRenderRange(e,t);let i,o;e===this.elementTop(n.start)?(i=n.start,o=0):n.end-n.start>1&&(i=n.start+1,o=this.elementTop(i)-e);let r=0;for(;;){const s=this.getRenderRange(e,t);let a=!1;for(let e=s.start;e<s.end;e++){const t=this.probeDynamicHeight(e);0!==t&&this.rangeMap.splice(e,1,[this.items[e]]),r+=t,a=a||0!==t}if(!a){0!==r&&this.eventuallyUpdateScrollDimensions();const e=h.a.relativeComplement(n,s);for(const t of e)for(let e=t.start;e<t.end;e++)this.items[e].row&&this.removeItemFromDOM(e);const t=h.a.relativeComplement(s,n);for(const e of t)for(let t=e.start;t<e.end;t++){const e=t+1,n=e<this.items.length?this.items[e].row:null,i=n?n.domNode:null;this.insertItemInDOM(t,i)}for(let e=s.start;e<s.end;e++)this.items[e].row&&this.updateItemInDOM(this.items[e],e);return"number"==typeof i&&(this.scrollTop=this.elementTop(i)-o),void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(e){const t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;if(this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(t.element))return 0;const n=t.size;if(!this.setRowHeight&&t.row&&t.row.domNode){let e=t.row.domNode.offsetHeight;return t.size=e,t.lastDynamicHeightWidth=this.renderWidth,e-n}const i=this.cache.alloc(t.templateId);i.domNode.style.height="",this.rowsContainer.appendChild(i.domNode);const o=this.renderers.get(t.templateId);return o&&(o.renderElement(t.element,e,i.templateData,void 0),o.disposeElement&&o.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n}getNextToLastElement(e){const t=e[e.length-1];if(!t)return null;const n=this.items[t.end];return n&&n.row?n.row.domNode:null}getElementDomId(e){return`${this.domId}_${e}`}dispose(){if(this.items){for(const e of this.items)if(e.row){const t=this.renderers.get(e.row.templateId);t&&t.disposeTemplate(e.row.templateData)}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(o.f)(this.disposables)}}T.InstanceCount=0,y([f.a],T.prototype,"onMouseClick",null),y([f.a],T.prototype,"onMouseDblClick",null),y([f.a],T.prototype,"onMouseMiddleClick",null),y([f.a],T.prototype,"onMouseDown",null),y([f.a],T.prototype,"onContextMenu",null),y([f.a],T.prototype,"onTouchStart",null),y([f.a],T.prototype,"onTap",null)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ji}));n(208);var i=n(0),o=n(1),r=n(13),s=n(6),a=n(2),l=n(45),c=n(87),d=n(4),h=n(41),u=n(21),p=n(35),m=n(11),g=n(61),f=n(69),b=n(20),_=n(34),v=n(103);class w{constructor(e,t){this.x=e,this.y=t}toClientCoordinates(){return new y(this.x-o.d.scrollX,this.y-o.d.scrollY)}}class y{constructor(e,t){this.clientX=e,this.clientY=t}toPageCoordinates(){return new w(this.clientX+o.d.scrollX,this.clientY+o.d.scrollY)}}class C{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i}}function x(e){const t=o.C(e);return new C(t.left,t.top,t.width,t.height)}class S extends f.a{constructor(e,t){super(e),this.pos=new w(this.posx,this.posy),this.editorPos=x(t)}}class k{constructor(e){this._editorViewDomNode=e}_create(e){return new S(e,this._editorViewDomNode)}onContextMenu(e,t){return o.i(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return o.i(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return o.i(e,"mousedown",e=>{t(this._create(e))})}onMouseLeave(e,t){return o.j(e,e=>{t(this._create(e))})}onMouseMoveThrottled(e,t,n,i){return o.l(e,"mousemove",t,(e,t)=>n(e,this._create(t)),i)}}class E{constructor(e){this._editorViewDomNode=e}_create(e){return new S(e,this._editorViewDomNode)}onPointerUp(e,t){return o.i(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return o.i(e,"pointerdown",e=>{t(this._create(e))})}onPointerLeave(e,t){return o.k(e,e=>{t(this._create(e))})}onPointerMoveThrottled(e,t,n,i){return o.l(e,"pointermove",t,(e,t)=>n(e,this._create(t)),i)}}class T extends a.a{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new v.a),this._keydownListener=null}startMonitoring(e,t,n,i,r){this._keydownListener=o.n(document,"keydown",e=>{e.toKeybinding().isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0)},!0);this._globalMouseMoveMonitor.startMonitoring(e,t,(e,t)=>n(e,new S(t,this._editorViewDomNode)),i,()=>{this._keydownListener.dispose(),r()})}}class L extends a.a{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let n=0,i=e.length;n<i;n++){let i=e[n];switch(i.type){case 0:this.onConfigurationChanged(i)&&(t=!0);break;case 1:this.onCursorStateChanged(i)&&(t=!0);break;case 2:this.onDecorationsChanged(i)&&(t=!0);break;case 3:this.onFlushed(i)&&(t=!0);break;case 4:this.onFocusChanged(i)&&(t=!0);break;case 5:this.onLanguageConfigurationChanged(i)&&(t=!0);break;case 6:this.onLineMappingChanged(i)&&(t=!0);break;case 7:this.onLinesChanged(i)&&(t=!0);break;case 8:this.onLinesDeleted(i)&&(t=!0);break;case 9:this.onLinesInserted(i)&&(t=!0);break;case 10:this.onRevealRangeRequest(i)&&(t=!0);break;case 11:this.onScrollChanged(i)&&(t=!0);break;case 13:this.onTokensChanged(i)&&(t=!0);break;case 12:this.onThemeChanged(i)&&(t=!0);break;case 14:this.onTokensColorsChanged(i)&&(t=!0);break;case 15:this.onZonesChanged(i)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(i)}}t&&(this._shouldRender=!0)}}class N extends L{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class I{static write(e,t){p.a,e.setAttribute("data-mprt",String(t))}static read(e){const t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)}static collect(e,t){let n=[],i=0;for(;e&&e!==document.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement;const o=new Uint8Array(i);for(let e=0;e<i;e++)o[e]=n[i-e-1];return o}}class O extends class{constructor(e,t){this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}{constructor(e,t,n){super(e,t),this._viewLines=n}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class D{constructor(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n}}class A{constructor(e,t){this.left=Math.round(e),this.width=Math.round(t)}toString(){return`[${this.left},${this.width}]`}}class R{constructor(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)}}class M{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}class P{constructor(e,t){this.left=e,this.width=t}toString(){return`[${this.left},${this.width}]`}static compare(e,t){return e.left-t.left}}class F{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(e,t){e.selectNodeContents(t)}static _readClientRects(e,t,n,i,o){const r=this._createRange();try{return r.setStart(e,t),r.setEnd(n,i),r.getClientRects()}catch(e){return null}finally{this._detachRange(r,o)}}static _mergeAdjacentRanges(e){if(1===e.length)return[new A(e[0].left,e[0].width)];e.sort(P.compare);let t=[],n=0,i=e[0].left,o=e[0].width;for(let r=1,s=e.length;r<s;r++){const s=e[r],a=s.left,l=s.width;i+o+.9>=a?o=Math.max(o,a+l-i):(t[n++]=new A(i,o),i=a,o=l)}return t[n++]=new A(i,o),t}static _createHorizontalRangesFromClientRects(e,t){if(!e||0===e.length)return null;const n=[];for(let i=0,o=e.length;i<o;i++){const o=e[i];n[i]=new P(Math.max(0,o.left-t),o.width)}return this._mergeAdjacentRanges(n)}static readHorizontalRanges(e,t,n,i,o,r,s){const a=e.children.length-1;if(0>a)return null;if((t=Math.min(a,Math.max(0,t)))===(i=Math.min(a,Math.max(0,i)))&&n===o&&0===n){const n=e.children[t].getClientRects();return this._createHorizontalRangesFromClientRects(n,r)}t!==i&&i>0&&0===o&&(i--,o=1073741824);let l=e.children[t].firstChild,c=e.children[i].firstChild;if(l&&c||(!l&&0===n&&t>0&&(l=e.children[t-1].firstChild,n=1073741824),!c&&0===o&&i>0&&(c=e.children[i-1].firstChild,o=1073741824)),!l||!c)return null;n=Math.min(l.textContent.length,Math.max(0,n)),o=Math.min(c.textContent.length,Math.max(0,o));const d=this._readClientRects(l,n,c,o,s);return this._createHorizontalRangesFromClientRects(d,r)}}var W=n(155),z=n(91),B=n(19),j=n(26);const V=!!m.g||!(m.d||_.h||_.j);let U=!0;const H=_.f;class q{constructor(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}get clientRectDeltaLeft(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft}}class ${constructor(e,t){this.themeType=t;const n=e.options,i=n.get(36);this.renderWhitespace=n.get(80),this.renderControlCharacters=n.get(74),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(24),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(51),this.stopRenderingLineAfter=n.get(95),this.fontLigatures=n.get(37)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class K{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(p.b)(e)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return!(!H&&this._options.themeType!==B.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,n,i){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;const o=n.getViewLineRenderingData(e),r=this._options,s=W.a.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn);let a=null;if(H||r.themeType===B.b||"selection"===this._options.renderWhitespace){const t=n.selections;for(const n of t){if(n.endLineNumber<e||n.startLineNumber>e)continue;const t=n.startLineNumber===e?n.startColumn:o.minColumn,i=n.endLineNumber===e?n.endColumn:o.maxColumn;t<i&&(r.themeType===B.b||"selection"!==this._options.renderWhitespace?s.push(new W.a(t,i,"inline-selected-text",0)):(a||(a=[]),a.push(new z.b(t-1,i-1))))}}const l=new z.c(r.useMonospaceOptimizations,r.canUseHalfwidthRightwardsArrow,o.content,o.continuesWithWrappedLine,o.isBasicASCII,o.containsRTL,o.minColumn-1,o.tokens,s,o.tabSize,o.startVisibleColumn,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==j.e.OFF,a);if(this._renderedViewLine&&this._renderedViewLine.input.equals(l))return!1;i.appendASCIIString('<div style="top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;height:"),i.appendASCIIString(String(this._options.lineHeight)),i.appendASCIIString('px;" class="'),i.appendASCIIString(K.CLASS_NAME),i.appendASCIIString('">');const c=Object(z.d)(l,i);i.appendASCIIString("</div>");let d=null;return U&&V&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===c.containsForeignElements&&o.content.length<300&&l.lineTokens.getCount()<100&&(d=new G(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping)),d||(d=X(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping,c.containsRTL,c.containsForeignElements)),this._renderedViewLine=d,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof G}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof G?this._renderedViewLine.monospaceAssumptionsAreValid():U}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof G&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));const i=0|this._renderedViewLine.input.stopRenderingLineAfter;let o=!1;-1!==i&&e>i+1&&t>i+1&&(o=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);const r=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return r&&r.length>0?new M(o,r):null}getColumnOfNodeOffset(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1}}K.CLASS_NAME="view-line";class G{constructor(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}getWidth(){return this._getCharPosition(this._characterMapping.length)}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return U;const e=this.getWidth(),t=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(e-t)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),U=!1),U}toSlowRenderedLine(){return X(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,n){const i=this._getCharPosition(e),o=this._getCharPosition(t);return[new A(i,o-i)]}_getCharPosition(e){const t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let o=-1;for(;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1}}class Y{constructor(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return-1!==this._cachedWidth}getVisibleRangesForRange(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){const i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;const o=this._readPixelOffset(this.domNode,t,n);return-1===o?null:[new A(i,o-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)}_readVisibleRangesForRange(e,t,n,i){if(t===n){const n=this._readPixelOffset(e,t,i);return-1===n?null:[new A(n,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)}_readPixelOffset(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();const t=this._getReadingTarget(e);return t.firstChild?t.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){const i=this._pixelOffsetCache[t];if(-1!==i)return i;const o=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=o,o}return this._actualReadPixelOffset(e,t,n)}_actualReadPixelOffset(e,t,n){if(0===this._characterMapping.length){const t=F.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return t&&0!==t.length?t[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();const i=this._characterMapping.charOffsetToPartData(t-1),o=z.a.getPartIndex(i),r=z.a.getCharIndex(i),s=F.readHorizontalRanges(this._getReadingTarget(e),o,r,o,r,n.clientRectDeltaLeft,n.endNode);if(!s||0===s.length)return-1;const a=s[0].left;if(this.input.isBasicASCII){const e=this._characterMapping.getAbsoluteOffsets(),n=Math.round(this.input.spaceWidth*e[t-1]);if(Math.abs(n-a)<=1)return n}return a}_readRawVisibleRangesForRange(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new A(0,this.getWidth())];const o=this._characterMapping.charOffsetToPartData(t-1),r=z.a.getPartIndex(o),s=z.a.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(n-1),l=z.a.getPartIndex(a),c=z.a.getCharIndex(a);return F.readHorizontalRanges(this._getReadingTarget(e),r,s,l,c,i.clientRectDeltaLeft,i.endNode)}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let o=-1;for(;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1}}class Z extends Y{_readVisibleRangesForRange(e,t,n,i){const o=super._readVisibleRangesForRange(e,t,n,i);if(!o||0===o.length||t===n||1===t&&n===this._characterMapping.length)return o;if(!this.input.containsRTL){const t=this._readPixelOffset(e,n,i);if(-1!==t){const e=o[o.length-1];e.left<t&&(e.width=t-e.left)}}return o}}const X=_.l?Q:J;function Q(e,t,n,i,o){return new Z(e,t,n,i,o)}function J(e,t,n,i,o){return new Y(e,t,n,i,o)}var ee=n(9),te=n(3),ne=n(22);class ie{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class oe{constructor(e,t,n=0,i=null,o=null,r=null){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,!o&&i&&(o=new te.a(i.lineNumber,i.column,i.lineNumber,i.column)),this.range=o,this.detail=r}static _typeToString(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"}static toString(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail}toString(){return oe.toString(this)}}class re{static isTextArea(e){return 2===e.length&&3===e[0]&&6===e[1]}static isChildOfViewLines(e){return e.length>=4&&3===e[0]&&7===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&7===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&5===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&8===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}}class se{constructor(e,t,n){this.model=e.model;const i=e.configuration.options;this.layoutInfo=i.get(117),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(51),this.typicalHalfwidthCharacterWidth=i.get(36).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return se.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){const n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){let i,o=n.verticalOffset+n.height/2,r=e.model.getLineCount(),s=null,a=null;return n.afterLineNumber!==r&&(a=new ee.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(s=new ee.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),i=null===a?s:null===s?a:t<o?s:a,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:s,positionAfter:a,position:i}}return null}getFullLineRangeAtCoord(e){if(this._context.viewLayout.isAfterLines(e)){const e=this._context.model.getLineCount(),t=this._context.model.getLineMaxColumn(e);return{range:new te.a(e,t,e,t),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),n=this._context.model.getLineMaxColumn(t);return{range:new te.a(t,1,t,n),isAfterLines:!1}}getLineNumberAtVerticalOffset(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)}isAfterLines(e){return this._context.viewLayout.isAfterLines(e)}getVerticalOffsetForLineNumber(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)}findAttribute(e,t){return se._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,n){for(;e&&e!==document.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null}getLineWidth(e){return this._viewHelper.getLineWidth(e)}visibleRangeForPosition(e,t){return this._viewHelper.visibleRangeForPosition(e,t)}getPositionFromDOMInfo(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class ae extends class{constructor(e,t,n){this.editorPos=t,this.pos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+n.y-t.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+n.x-t.x-e.layoutInfo.contentLeft,this.isInMarginArea=n.x-t.x<e.layoutInfo.contentLeft&&n.x-t.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,de._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}{constructor(e,t,n,i){super(e,t,n),this._ctx=e,i?(this.target=i,this.targetPath=I.collect(i,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: ${this.target?this.target.outerHTML:null}`}fulfill(e,t=null,n=null,i=null){let o=this.mouseColumn;return t&&t.column<this._ctx.model.getLineMaxColumn(t.lineNumber)&&(o=ne.a.visibleColumnFromColumn(this._ctx.model.getLineContent(t.lineNumber),t.column,this._ctx.model.getTextModelOptions().tabSize)+1),new oe(this.target,e,o,t,n,i)}withTarget(e){return new ae(this._ctx,this.editorPos,this.pos,e)}}const le={isAfterLines:!0};function ce(e){return{isAfterLines:!1,horizontalDistanceToText:e}}class de{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,n=I.collect(t,this._viewHelper.viewDomNode);return!(!re.isChildOfContentWidgets(n)&&!re.isChildOfOverflowingContentWidgets(n))||!!re.isChildOfOverlayWidgets(n)}createMouseTarget(e,t,n,i){const o=new se(this._context,this._viewHelper,e),r=new ae(o,t,n,i);try{return de._createMouseTarget(o,r,!1)}catch(e){return r.fulfill(0)}}static _createMouseTarget(e,t,n){if(null===t.target){if(n)return t.fulfill(0);const i=de._doHitTest(e,t);return i.position?de.createMouseTargetFromHitTestPosition(e,t,i.position.lineNumber,i.position.column):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}const i=t;let o=null;return o=o||de._hitTestContentWidget(e,i),o=o||de._hitTestOverlayWidget(e,i),o=o||de._hitTestMinimap(e,i),o=o||de._hitTestScrollbarSlider(e,i),o=o||de._hitTestViewZone(e,i),o=o||de._hitTestMargin(e,i),o=o||de._hitTestViewCursor(e,i),o=o||de._hitTestTextArea(e,i),o=o||de._hitTestViewLines(e,i,n),o=o||de._hitTestScrollbar(e,i),o||t.fulfill(0)}static _hitTestContentWidget(e,t){if(re.isChildOfContentWidgets(t.targetPath)||re.isChildOfOverflowingContentWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null}static _hitTestOverlayWidget(e,t){if(re.isChildOfOverlayWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null}static _hitTestViewCursor(e,t){if(t.target){const n=e.lastRenderData.lastViewCursorsRenderData;for(const e of n)if(t.target===e.domNode)return t.fulfill(6,e.position)}if(t.isInContentArea){const n=e.lastRenderData.lastViewCursorsRenderData,i=t.mouseContentHorizontalOffset,o=t.mouseVerticalOffset;for(const r of n){if(i<r.contentLeft)continue;if(i>r.contentLeft+r.width)continue;const n=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(n<=o&&o<=n+r.height)return t.fulfill(6,r.position)}}return null}static _hitTestViewZone(e,t){const n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){const e=t.isInContentArea?8:5;return t.fulfill(e,n.position,null,n)}return null}static _hitTestTextArea(e,t){return re.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(e,t){if(t.isInMarginArea){const n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition();let o=Math.abs(t.pos.x-t.editorPos.x);const r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return o-=e.layoutInfo.glyphMarginLeft,o<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth,o<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,r)))}return null}static _hitTestViewLines(e,t,n){if(!re.isChildOfViewLines(t.targetPath))return null;if(e.isAfterLines(t.mouseVerticalOffset)){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return t.fulfill(7,new ee.a(n,i),void 0,le)}if(n){if(re.isStrictChildOfViewLines(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.model.getLineLength(n)){const i=e.getLineWidth(n),o=ce(t.mouseContentHorizontalOffset-i);return t.fulfill(7,new ee.a(n,1),void 0,o)}const i=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=i){const o=ce(t.mouseContentHorizontalOffset-i),r=new ee.a(n,e.model.getLineMaxColumn(n));return t.fulfill(7,r,void 0,o)}}return t.fulfill(0)}const i=de._doHitTest(e,t);return i.position?de.createMouseTargetFromHitTestPosition(e,t,i.position.lineNumber,i.position.column):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}static _hitTestMinimap(e,t){if(re.isChildOfMinimap(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new ee.a(n,i))}return null}static _hitTestScrollbarSlider(e,t){if(re.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){const n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new ee.a(n,i))}}return null}static _hitTestScrollbar(e,t){if(re.isChildOfScrollableElement(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new ee.a(n,i))}return null}getMouseColumn(e,t){const n=this._context.configuration.options,i=n.get(117),o=this._context.viewLayout.getCurrentScrollLeft()+t.x-e.x-i.contentLeft;return de._getMouseColumn(o,n.get(36).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){if(e<0)return 1;return Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,n,i){const o=new ee.a(n,i),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(_.f&&1===o.column){const i=ce(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new ee.a(n,e.model.getLineMaxColumn(n)),void 0,i)}const i=ce(t.mouseContentHorizontalOffset-r);return t.fulfill(7,o,void 0,i)}const s=e.visibleRangeForPosition(n,i);if(!s)return t.fulfill(0,o);const a=s.left;if(t.mouseContentHorizontalOffset===a)return t.fulfill(6,o);const l=[];if(l.push({offset:s.left,column:i}),i>1){const t=e.visibleRangeForPosition(n,i-1);t&&l.push({offset:t.left,column:i-1})}if(i<e.model.getLineMaxColumn(n)){const t=e.visibleRangeForPosition(n,i+1);t&&l.push({offset:t.left,column:i+1})}l.sort((e,t)=>e.offset-t.offset);for(let e=1;e<l.length;e++){const i=l[e-1],r=l[e];if(i.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=r.offset){const e=new te.a(n,i.column,n,r.column);return t.fulfill(6,o,e)}}return t.fulfill(6,o)}static _doHitTestWithCaretRangeFromPoint(e,t){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2);let o=t.pos.y+(i-t.mouseVerticalOffset);o<=t.editorPos.y&&(o=t.editorPos.y+1),o>=t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);const r=new w(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const n=o.E(e.viewDomNode);let i;if(i=n?void 0===n.caretRangeFromPoint?function(e,t,n){const i=document.createRange();let o=e.elementFromPoint(t,n);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE;)o=o.lastChild;const e=o.getBoundingClientRect(),n=window.getComputedStyle(o,null).getPropertyValue("font"),r=o.innerText;let s,a=e.left,l=0;if(t>e.left+e.width)l=r.length;else{const e=he.getInstance();for(let i=0;i<r.length+1;i++){if(s=e.getCharWidth(r.charAt(i),n)/2,a+=s,t<a){l=i;break}a+=s}}i.setStart(o.firstChild,l),i.setEnd(o.firstChild,l)}return i}(n,t.clientX,t.clientY):n.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY),!i||!i.startContainer)return{position:null,hitTarget:null};const r=i.startContainer;let s=null;if(r.nodeType===r.TEXT_NODE){const t=r.parentNode,n=t?t.parentNode:null,o=n?n.parentNode:null;if((o&&o.nodeType===o.ELEMENT_NODE?o.className:null)===K.CLASS_NAME){return{position:e.getPositionFromDOMInfo(t,i.startOffset),hitTarget:null}}s=r.parentNode}else if(r.nodeType===r.ELEMENT_NODE){const t=r.parentNode,n=t?t.parentNode:null;if((n&&n.nodeType===n.ELEMENT_NODE?n.className:null)===K.CLASS_NAME){return{position:e.getPositionFromDOMInfo(r,r.textContent.length),hitTarget:null}}s=r}return{position:null,hitTarget:s}}static _doHitTestWithCaretPositionFromPoint(e,t){const n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){const t=n.offsetNode.parentNode,i=t?t.parentNode:null,o=i?i.parentNode:null;if((o&&o.nodeType===o.ELEMENT_NODE?o.className:null)===K.CLASS_NAME){return{position:e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset),hitTarget:null}}return{position:null,hitTarget:n.offsetNode.parentNode}}if(n.offsetNode.nodeType===n.offsetNode.ELEMENT_NODE){const t=n.offsetNode.parentNode;if((t&&t.nodeType===t.ELEMENT_NODE?t.className:null)===K.CLASS_NAME){const t=n.offsetNode.childNodes[Math.min(n.offset,n.offsetNode.childNodes.length-1)];if(t){return{position:e.getPositionFromDOMInfo(t,0),hitTarget:null}}}}return{position:null,hitTarget:n.offsetNode}}static _doHitTestWithMoveToPoint(e,t){let n=null,i=null;const o=document.body.createTextRange();try{o.moveToPoint(t.clientX,t.clientY)}catch(e){return{position:null,hitTarget:null}}o.collapse(!0);const r=o?o.parentElement():null,s=r?r.parentNode:null,a=s?s.parentNode:null;if((a&&a.nodeType===a.ELEMENT_NODE?a.className:"")===K.CLASS_NAME){const t=o.duplicate();t.moveToElementText(r),t.setEndPoint("EndToStart",o),n=e.getPositionFromDOMInfo(r,t.text.length),t.moveToElementText(e.viewDomNode)}else i=r;return o.moveToElementText(e.viewDomNode),{position:n,hitTarget:i}}static _doHitTest(e,t){return"function"==typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}}}class he{constructor(){this._cache={},this._canvas=document.createElement("canvas")}static getInstance(){return he._INSTANCE||(he._INSTANCE=new he),he._INSTANCE}getCharWidth(e,t){const n=e+t;if(this._cache[n])return this._cache[n];const i=this._canvas.getContext("2d");i.font=t;const o=i.measureText(e).width;return this._cache[n]=o,o}}he._INSTANCE=null;var ue=n(135);function pe(e){return function(t,n){let i=!1;return e&&(i=e.mouseTargetIsWidget(n)),i||n.preventDefault(),n}}class me extends L{constructor(e,t,n){super(),this._context=e,this.viewController=t,this.viewHelper=n,this.mouseTargetFactory=new de(this._context,n),this._mouseDownOperation=this._register(new ge(this._context,this.viewController,this.viewHelper,(e,t)=>this._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1;const i=new k(this.viewHelper.viewDomNode);this._register(i.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(i.onMouseMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),pe(this.mouseTargetFactory),me.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(i.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(i.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)));this._register(o.i(this.viewHelper.viewDomNode,o.c.MOUSE_WHEEL,e=>{if(this.viewController.emitMouseWheel(e),!this._context.configuration.options.get(59))return;const t=new f.b(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){const e=ue.a.getZoomLevel(),n=t.deltaY>0?1:-1;ue.a.setZoomLevel(e+n),t.preventDefault(),t.stopPropagation()}},{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}onScrollChanged(e){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(e,t){const n=new y(e,t).toPageCoordinates(),i=x(this.viewHelper.viewDomNode);return n.y<i.y||n.y>i.y+i.height||n.x<i.x||n.x>i.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,null)}_createMouseTarget(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){if(this._mouseDownOperation.isActive())return;e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}_onMouseLeave(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})}_onMouseUp(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})}_onMouseDown(e){const t=this._createMouseTarget(e,!0),n=6===t.type||7===t.type,i=2===t.type||3===t.type||4===t.type,o=3===t.type,r=this._context.configuration.options.get(90),s=8===t.type||5===t.type,a=9===t.type;let l=e.leftButton||e.middleButton;m.f&&e.leftButton&&e.ctrlKey&&(l=!1);const c=()=>{e.preventDefault(),this.viewHelper.focusTextArea()};if(l&&(n||o&&r))c(),this._mouseDownOperation.start(t.type,e);else if(i)e.preventDefault();else if(s){const n=t.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(c(),this._mouseDownOperation.start(t.type,e),e.preventDefault())}else a&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:t})}}me.MOUSE_MOVE_MINIMUM_TIME=100;class ge extends a.a{constructor(e,t,n,i,o){super(),this._context=e,this._viewController=t,this._viewHelper=n,this._createMouseTarget=i,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new T(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new b.e),this._mouseState=new fe,this._currentSelection=new u.a(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);const t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);const n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;const i=this._context.configuration.options;if(!i.get(72)&&i.get(25)&&!i.get(13)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,pe(null),e=>this._onMouseDownThenMove(e),()=>{const e=this._findMousePosition(this._lastMouseEvent,!0);this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:e?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,pe(null),e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;const e=this._findMousePosition(this._lastMouseEvent,!1);e&&(this._mouseState.isDragAndDrop||this._dispatchMouse(e,!0))},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){const t=e.editorPos,n=this._context.model,i=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posy<t.y){const n=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0),r=se.getZoneAtCoord(this._context,n);if(r){const e=this._helpPositionJumpOverViewZone(r);if(e)return new oe(null,13,o,e)}const s=i.getLineNumberAtVerticalOffset(n);return new oe(null,13,o,new ee.a(s,1))}if(e.posy>t.y+t.height){const r=i.getCurrentScrollTop()+(e.posy-t.y),s=se.getZoneAtCoord(this._context,r);if(s){const e=this._helpPositionJumpOverViewZone(s);if(e)return new oe(null,13,o,e)}const a=i.getLineNumberAtVerticalOffset(r);return new oe(null,13,o,new ee.a(a,n.getLineMaxColumn(a)))}const r=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new oe(null,13,o,new ee.a(r,1)):e.posx>t.x+t.width?new oe(null,13,o,new ee.a(r,n.getLineMaxColumn(r))):null}_findMousePosition(e,t){const n=this._getPositionOutsideEditor(e);if(n)return n;const i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){const e=this._helpPositionJumpOverViewZone(i.detail);if(e)return new oe(i.element,i.type,i.mouseColumn,e,null,i.detail)}return i}_helpPositionJumpOverViewZone(e){const t=new ee.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class fe{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){const n=(new Date).getTime();n-this._lastSetMouseDownCountTime>fe.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=n,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}fe.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var be=n(138);function _e(e,t){const n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}class ve extends me{constructor(e,t,n){super(e,t,n),this.viewHelper.linesContentDomNode.style.touchAction="none",this._installGestureHandlerTimeout=window.setTimeout(()=>{if(this._installGestureHandlerTimeout=-1,window.MSGesture){const e=new MSGesture,t=new MSGesture;e.target=this.viewHelper.linesContentDomNode,t.target=this.viewHelper.linesContentDomNode,this.viewHelper.linesContentDomNode.addEventListener("pointerdown",n=>{const i=n.pointerType;"mouse"!==i?"touch"===i?(this._lastPointerType="touch",e.addPointer(n.pointerId)):(this._lastPointerType="pen",t.addPointer(n.pointerId)):this._lastPointerType="mouse"}),this._register(o.l(this.viewHelper.linesContentDomNode,"MSGestureChange",e=>this._onGestureChange(e),_e)),this._register(o.i(this.viewHelper.linesContentDomNode,"MSGestureTap",e=>this._onCaptureGestureTap(e),!0))}},100),this._lastPointerType="mouse"}_onMouseDown(e){"mouse"===this._lastPointerType&&super._onMouseDown(e)}_onCaptureGestureTap(e){const t=new S(e,this.viewHelper.viewDomNode),n=this._createMouseTarget(t,!1);n.position&&this.viewController.moveTo(n.position),t.browserEvent.fromElement?(t.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(()=>{this.viewHelper.focusTextArea()})}_onGestureChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}dispose(){window.clearTimeout(this._installGestureHandlerTimeout),super.dispose()}}class we extends me{constructor(e,t,n){super(e,t,n),this._register(g.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(o.i(this.viewHelper.linesContentDomNode,g.a.Tap,e=>this.onTap(e))),this._register(o.i(this.viewHelper.linesContentDomNode,g.a.Change,e=>this.onChange(e))),this._register(o.i(this.viewHelper.linesContentDomNode,g.a.Contextmenu,e=>this._onContextMenu(new S(e,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(o.i(this.viewHelper.linesContentDomNode,"pointerdown",e=>{const t=e.pointerType;this._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"}));const i=new E(this.viewHelper.viewDomNode);this._register(i.onPointerMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),pe(this.mouseTargetFactory),me.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(i.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(i.onPointerDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)))}onTap(e){if(!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget))return;e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}onChange(e){"touch"===this._lastPointerType&&this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){e.target&&this.viewHelper.linesContentDomNode.contains(e.target)&&"touch"===this._lastPointerType||super._onMouseDown(e)}}class ye extends me{constructor(e,t,n){super(e,t,n),this._register(g.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(o.i(this.viewHelper.linesContentDomNode,g.a.Tap,e=>this.onTap(e))),this._register(o.i(this.viewHelper.linesContentDomNode,g.a.Change,e=>this.onChange(e))),this._register(o.i(this.viewHelper.linesContentDomNode,g.a.Contextmenu,e=>this._onContextMenu(new S(e,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)}onChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}}class Ce extends a.a{constructor(e,t,n){super(),m.c&&be.a.pointerEvents?this.handler=this._register(new we(e,t,n)):window.TouchEvent?this.handler=this._register(new ye(e,t,n)):window.navigator.pointerEnabled||window.PointerEvent?this.handler=this._register(new ve(e,t,n)):this.handler=this._register(new me(e,t,n))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}n(210);var xe=n(8),Se=n(167),ke=n(127);n(212);class Ee extends L{}var Te=n(57);class Le extends Ee{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new ee.a(1,1),this._renderResult=null,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(51);const t=e.get(52);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(76);const n=e.get(117);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){const t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){const t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e,1));if(1!==t.column)return"";const n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){const e=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===e?'<span class="relative-current-line-number">'+n+"</span>":String(e)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)}prepareRender(e){if(0===this._renderLineNumbers)return void(this._renderResult=null);const t=m.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o='<div class="'+Le.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',r=this._context.model.getLineCount(),s=[];for(let e=n;e<=i;e++){const t=e-n;if(!this._renderFinalNewline&&e===r&&0===this._context.model.getLineLength(e)){s[t]="";continue}const i=this._getLineRenderLineNumber(e);s[t]=i?o+i+"</div>":""}this._renderResult=s}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}Le.CLASS_NAME="line-numbers",Object(B.g)((e,t)=>{const n=e.getColor(Te.k);n&&t.addRule(`.monaco-editor .line-numbers { color: ${n}; }`);const i=e.getColor(Te.b);i&&t.addRule(`.monaco-editor .current-line ~ .line-numbers { color: ${i}; }`)});class Ne extends N{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._canUseLayerHinting=!t.get(23),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setClassName(Ne.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(p.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(Ne.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._canUseLayerHinting=!t.get(23),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");const t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);const n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)}}Ne.CLASS_NAME="glyph-margin",Ne.OUTER_CLASS_NAME="margin";var Ie=n(117),Oe=n(145);class De{constructor(e,t,n){this.top=e,this.left=t,this.width=n}setWidth(e){return new De(this.top,this.left,e)}}const Ae=_.f||_.h;class Re extends N{constructor(e,t,n){super(e),this._primaryCursorPosition=new ee.a(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._viewHelper=n,this._scrollLeft=0,this._scrollTop=0;const o=this._context.configuration.options,r=o.get(117);this._setAccessibilityOptions(o),this._contentLeft=r.contentLeft,this._contentWidth=r.contentWidth,this._contentHeight=r.height,this._fontInfo=o.get(36),this._lineHeight=o.get(51),this._emptySelectionClipboard=o.get(26),this._copyWithSyntaxHighlighting=o.get(16),this._visibleTextArea=null,this._selections=[new u.a(1,1,1,1)],this._modelSelections=[new u.a(1,1,1,1)],this._lastRenderPosition=null,this.textArea=Object(p.b)(document.createElement("textarea")),I.write(this.textArea,6),this.textArea.setClassName("inputarea "+Oe.a),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(o)),this.textArea.setAttribute("tabindex",String(o.get(102))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",i.a("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),m.h&&o.get(72)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=Object(p.b)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const s={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:e=>this._context.model.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.model.getValueInRange(e,t)},a={getDataToCopy:e=>{const t=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,m.i),n=this._context.model.getEOL(),i=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),o=Array.isArray(t)?t:null,r=Array.isArray(t)?t.join(n):t;let s=void 0,a=null;if(e&&(Se.a.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&r.length<65536)){const e=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);e&&(s=e.html,a=e.mode)}return{isFromEmptySelection:i,multicursorText:o,text:r,html:s,mode:a}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){if(m.f){const e=this._selections[0];if(e.isEmpty()){const t=e.getStartPosition();let n=this._getWordBeforePosition(t);if(0===n.length&&(n=this._getCharacterBeforePosition(t)),n.length>0)return new ke.b(n,n.length,n.length,t,t)}}return ke.b.EMPTY}return ke.a.fromEditorSelection(e,s,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,n)=>this._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)};this._textAreaInput=this._register(new Se.c(a,this.textArea)),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,n=null,i=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),this._viewController.paste(e.text,t,n,i)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replaceCharCnt?this._viewController.replacePreviousChar(e.text,e.replaceCharCnt):this._viewController.type(e.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{const t=this._selections[0].startLineNumber,n=this._selections[0].startColumn-(e.moveOneCharacterLeft?1:0);this._context.model.revealRange("keyboard",!0,new te.a(t,n,t,n),0,1);const i=this._viewHelper.visibleRangeForPositionRelativeToEditor(t,n);i&&(this._visibleTextArea=new De(this._context.viewLayout.getVerticalOffsetForLineNumber(t),i.left,Ae?0:1),this._render()),this.textArea.setClassName(`inputarea ${Oe.a} ime-input`),this._viewController.compositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{_.f?this._visibleTextArea=this._visibleTextArea.setWidth(0):this._visibleTextArea=this._visibleTextArea.setWidth(function(e,t){const n=document.createElement("canvas").getContext("2d");n.font=(i=t,o="normal",r=i.fontWeight,s=i.fontSize,a=i.lineHeight,l=i.fontFamily,`${o} normal ${r} ${s}px / ${a}px ${l}`);var i,o,r,s,a,l;const c=n.measureText(e);return _.h?c.width+2:c.width}(e.data,this._fontInfo)),this._render()})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+Oe.a),this._viewController.compositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getWordBeforePosition(e){const t=this._context.model.getLineContent(e.lineNumber),n=Object(Ie.a)(this._context.configuration.options.get(105));let i=e.column,o=0;for(;i>1;){const r=t.charCodeAt(i-2);if(0!==n.get(r)||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){const t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!xe.F(t.charCodeAt(0)))return t}return""}_getAriaLabel(e){return 1===e.get(2)?i.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",m.d?"Shift+Alt+F1":"Alt+F1"):e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);const t=e.get(3);2===this._accessibilitySupport&&t===j.g.accessibilityPageSize.defaultValue?this._accessibilityPageSize=100:this._accessibilityPageSize=t}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(36),this._lineHeight=t.get(51),this._emptySelectionClipboard=t.get(26),this._copyWithSyntaxHighlighting=t.get(16),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("tabindex",String(t.get(102))),m.h&&e.hasChanged(72)&&(t.get(72)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}prepareRender(e){this._primaryCursorPosition=new ee.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)}render(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea)return void this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();const e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();const t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():m.f?this._renderInsideEditor(this._primaryCursorPosition,t,e,Ae?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,Ae?0:1,Ae?0:1)}_renderInsideEditor(e,t,n,i,o){this._lastRenderPosition=e;const r=this.textArea,s=this.textAreaCover;c.a.applyFontInfo(r,this._fontInfo),r.setTop(t),r.setLeft(n),r.setWidth(i),r.setHeight(o),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;const e=this.textArea,t=this.textAreaCover;if(c.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),Ae)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);const n=this._context.configuration.options;n.get(42)?t.setClassName("monaco-editor-background textAreaCover "+Ne.OUTER_CLASS_NAME):0!==n.get(52).renderType?t.setClassName("monaco-editor-background textAreaCover "+Le.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")}}var Me=n(107);class Pe{constructor(e,t,n,i){this.configuration=e,this.viewModel=t,this.userInputEvents=n,this.commandDelegate=i}paste(e,t,n,i){this.commandDelegate.paste(e,t,n,i)}type(e){this.commandDelegate.type(e)}replacePreviousChar(e,t){this.commandDelegate.replacePreviousChar(e,t)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){Me.b.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){const t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new ee.a(e.lineNumber,t):e}_hasMulticursorModifier(e){switch(this.configuration.options.get(61)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey;default:return!1}}_hasNonMulticursorModifier(e){switch(this.configuration.options.get(61)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey;default:return!1}}dispatchMouse(e){const t=this.configuration.options,n=m.d&&t.get(88),i=t.get(13);e.middleButton&&!n?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey||i?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)}_usualArgs(e){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e}}moveTo(e){Me.b.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_moveToSelect(e){Me.b.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_columnSelect(e,t,n){e=this._validateViewColumn(e),Me.b.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})}_createCursor(e,t){e=this._validateViewColumn(e),Me.b.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e){Me.b.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelect(e){Me.b.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelectDrag(e){Me.b.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorWordSelect(e){Me.b.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelect(e){Me.b.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelectDrag(e){Me.b.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelect(e){Me.b.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelectDrag(e){Me.b.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_selectAll(){Me.b.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}class Fe{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){this.onKeyDown&&this.onKeyDown(e)}emitKeyUp(e){this.onKeyUp&&this.onKeyUp(e)}emitContextMenu(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))}emitMouseMove(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))}emitMouseDown(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))}emitMouseUp(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))}emitMouseWheel(e){this.onMouseWheel&&this.onMouseWheel(e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return Fe.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){return new We(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)}}class We{constructor(e,t,n,i,o,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=o,this.detail=r}toString(){return oe.toString(this)}}var ze=n(132);class Be{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){const t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;const n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){const n=t-e+1;return this._rendLineNumberStart-=n,null}if(e>i)return null;let o=0,r=0;for(let s=n;s<=i;s++){const n=s-this._rendLineNumberStart;e<=s&&s<=t&&(0===r?(o=n,r=1):r++)}if(e<n){let i=0;i=t<n?t-e+1:n-e,this._rendLineNumberStart-=i}return this._lines.splice(o,r)}onLinesChanged(e,t){if(0===this.getCount())return!1;const n=this.getStartLineNumber(),i=this.getEndLineNumber();let o=!1;for(let r=e;r<=t;r++)r>=n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;const n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o){return this._lines.splice(e-this._rendLineNumberStart,o-e+1)}const r=[];for(let e=0;e<n;e++)r[e]=this._createLine();const s=e-this._rendLineNumberStart,a=this._lines.slice(0,s),l=this._lines.slice(s,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=a.concat(r).concat(l),c}onTokensChanged(e){if(0===this.getCount())return!1;const t=this.getStartLineNumber(),n=this.getEndLineNumber();let i=!1;for(let o=0,r=e.length;o<r;o++){const r=e[o];if(r.toLineNumber<t||r.fromLineNumber>n)continue;const s=Math.max(t,r.fromLineNumber),a=Math.min(n,r.toLineNumber);for(let e=s;e<=a;e++){const t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),i=!0}}return i}}class je{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Be(()=>this._host.createVisibleLine())}_createDomNode(){const e=Object(p.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(117)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,n=t.length;e<n;e++){const n=t[e].getDomNode();n&&this.domNode.domNode.removeChild(n)}return!0}onLinesInserted(e){const t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,n=t.length;e<n;e++){const n=t[e].getDomNode();n&&this.domNode.domNode.removeChild(n)}return!0}onScrollChanged(e){return e.scrollTopChanged}onTokensChanged(e){return this._linesCollection.onTokensChanged(e.ranges)}onZonesChanged(e){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(e){return this._linesCollection.getLine(e)}renderLines(e){const t=this._linesCollection._get(),n=new Ve(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},o=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(o.rendLineNumberStart,o.lines)}}class Ve{constructor(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}render(e,t,n,i){const o={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(o.rendLineNumberStart+o.linesLength-1<t||n<o.rendLineNumberStart){o.rendLineNumberStart=t,o.linesLength=n-t+1,o.lines=[];for(let e=t;e<=n;e++)o.lines[e-t]=this.host.createVisibleLine();return this._finishRendering(o,!0,i),o}if(this._renderUntouchedLines(o,Math.max(t-o.rendLineNumberStart,0),Math.min(n-o.rendLineNumberStart,o.linesLength-1),i,t),o.rendLineNumberStart>t){const e=t,r=Math.min(n,o.rendLineNumberStart-1);e<=r&&(this._insertLinesBefore(o,e,r,i,t),o.linesLength+=r-e+1)}else if(o.rendLineNumberStart<t){const e=Math.min(o.linesLength,t-o.rendLineNumberStart);e>0&&(this._removeLinesBefore(o,e),o.linesLength-=e)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1<n){const e=o.rendLineNumberStart+o.linesLength,r=n;e<=r&&(this._insertLinesAfter(o,e,r,i,t),o.linesLength+=r-e+1)}else if(o.rendLineNumberStart+o.linesLength-1>n){const e=Math.max(0,n-o.rendLineNumberStart+1),t=o.linesLength-1-e+1;t>0&&(this._removeLinesAfter(o,t),o.linesLength-=t)}return this._finishRendering(o,!1,i),o}_renderUntouchedLines(e,t,n,i,o){const r=e.rendLineNumberStart,s=e.lines;for(let e=t;e<=n;e++){const t=r+e;s[e].layoutLine(t,i[t-o])}}_insertLinesBefore(e,t,n,i,o){const r=[];let s=0;for(let e=t;e<=n;e++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;n<t;n++){const t=e.lines[n].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(0,t)}_insertLinesAfter(e,t,n,i,o){const r=[];let s=0;for(let e=t;e<=n;e++)r[s++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)}_removeLinesAfter(e,t){const n=e.linesLength-t;for(let i=0;i<t;i++){const t=e.lines[n+i].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(n,t)}_finishRenderingNewLines(e,t,n,i){const o=this.domNode.lastChild;t||!o?this.domNode.innerHTML=n:o.insertAdjacentHTML("afterend",n);let r=this.domNode.lastChild;for(let t=e.linesLength-1;t>=0;t--){const n=e.lines[t];i[t]&&(n.setDomNode(r),r=r.previousSibling)}}_finishRenderingInvalidLines(e,t,n){const i=document.createElement("div");i.innerHTML=t;for(let t=0;t<e.linesLength;t++){const o=e.lines[t];if(n[t]){const e=i.firstChild,t=o.getDomNode();t.parentNode.replaceChild(e,t),o.setDomNode(e)}}}_finishRendering(e,t,n){const i=Ve._sb,o=e.linesLength,r=e.lines,s=e.rendLineNumberStart,a=[];{i.reset();let l=!1;for(let e=0;e<o;e++){const t=r[e];a[e]=!1;if(t.getDomNode())continue;t.renderLine(e+s,n[e],this.viewportData,i)&&(a[e]=!0,l=!0)}l&&this._finishRenderingNewLines(e,t,i.build(),a)}{i.reset();let t=!1;const l=[];for(let e=0;e<o;e++){const o=r[e];if(l[e]=!1,a[e])continue;o.renderLine(e+s,n[e],this.viewportData,i)&&(l[e]=!0,t=!0)}t&&this._finishRenderingInvalidLines(e,i.build(),l)}}}Ve._sb=Object(ze.a)(1e5);class Ue extends N{constructor(e){super(e),this._visibleLines=new je(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;e<t;e++){if(this._dynamicOverlays[e].shouldRender())return!0}return!1}dispose(){super.dispose();for(let e=0,t=this._dynamicOverlays.length;e<t;e++){this._dynamicOverlays[e].dispose()}this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new He(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(e){this._dynamicOverlays.push(e)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e);const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){this._visibleLines.getVisibleLine(i).onConfigurationChanged(e)}return!0}onFlushed(e){return this._visibleLines.onFlushed(e)}onFocusChanged(e){return this._isFocused=e.isFocused,!0}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onScrollChanged(e){return this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._visibleLines.onZonesChanged(e)}prepareRender(e){const t=this._dynamicOverlays.filter(e=>e.shouldRender());for(let n=0,i=t.length;n<i;n++){const i=t[n];i.prepareRender(e),i.onDidRender()}}render(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)}_viewOverlaysRender(e){this._visibleLines.renderLines(e.viewportData)}}class He{constructor(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(51),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(e){this._domNode=Object(p.b)(e)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(e){this._lineHeight=this._configuration.options.get(51)}renderLine(e,t,n,i){let o="";for(let t=0,i=this._dynamicOverlays.length;t<i;t++){o+=this._dynamicOverlays[t].render(n.startLineNumber,e)}return this._renderedContent!==o&&(this._renderedContent=o,i.appendASCIIString('<div style="position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;width:100%;height:"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;">'),i.appendASCIIString(o),i.appendASCIIString("</div>"),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class qe extends Ue{constructor(e){super(e);const t=this._context.configuration.options.get(117);this._contentWidth=t.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const t=this._context.configuration.options.get(117);return this._contentWidth=t.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class $e extends Ue{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),c.a.applyFontInfo(this.domNode,t.get(36))}onConfigurationChanged(e){const t=this._context.configuration.options;c.a.applyFontInfo(this.domNode,t.get(36));const n=t.get(117);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);const t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class Ke{constructor(e,t){this.top=e,this.left=t}}class Ge extends N{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=Object(p.b)(document.createElement("div")),I.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=Object(p.b)(document.createElement("div")),I.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){const t=new Ye(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()}setWidgetPosition(e,t,n){this._widgets[e.getId()].setPosition(t,n),this.setShouldRender()}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t];delete this._widgets[t];const n=e.domNode.domNode;n.parentNode.removeChild(n),n.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onBeforeRender(e)}prepareRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].prepareRender(e)}render(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].render(e)}}class Ye{constructor(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=Object(p.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const i=this._context.configuration.options,o=i.get(117);this._fixedOverflowWidgets=i.get(30),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=i.get(51),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;if(this._lineHeight=t.get(51),e.hasChanged(117)){const e=t.get(117);this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const e=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(e))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(e,t,n,i,o){const r=e.top,s=r,a=t.top+this._lineHeight,l=r-i,c=s>=i,d=a,h=o.viewportHeight-a>=i;let u=e.left,p=t.left;return u+n>o.scrollLeft+o.viewportWidth&&(u=o.scrollLeft+o.viewportWidth-n),p+n>o.scrollLeft+o.viewportWidth&&(p=o.scrollLeft+o.viewportWidth-n),u<o.scrollLeft&&(u=o.scrollLeft),p<o.scrollLeft&&(p=o.scrollLeft),{fitsAbove:c,aboveTop:l,aboveLeft:u,fitsBelow:h,belowTop:d,belowLeft:p}}_layoutHorizontalSegmentInPage(e,t,n,i){const r=Math.max(0,t.left-i),s=Math.min(t.left+t.width+i,e.width);let a=t.left+n-o.d.scrollX;if(a+i>s){const e=a-(s-i);a-=e,n-=e}if(a<r){const e=a-r;a-=e,n-=e}return[n,a]}_layoutBoxInPage(e,t,n,i,r){const s=e.top-i,a=t.top+this._lineHeight,l=o.C(this._viewDomNode.domNode),c=l.top+s-o.d.scrollY,d=l.top+a-o.d.scrollY,h=o.y(document.body),[u,p]=this._layoutHorizontalSegmentInPage(h,l,e.left-r.scrollLeft+this._contentLeft,n),[m,g]=this._layoutHorizontalSegmentInPage(h,l,t.left-r.scrollLeft+this._contentLeft,n),f=c>=22,b=d+i<=h.height-22;return this._fixedOverflowWidgets?{fitsAbove:f,aboveTop:Math.max(c,22),aboveLeft:p,fitsBelow:b,belowTop:d,belowLeft:g}:{fitsAbove:f,aboveTop:s,aboveLeft:u,fitsBelow:b,belowTop:a,belowLeft:m}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new Ke(e.top,e.left+this._contentLeft)}_getTopAndBottomLeft(e){if(!this._viewRange)return[null,null];const t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];let n=t[0],i=t[0];for(const e of t)e.lineNumber<n.lineNumber&&(n=e),e.lineNumber>i.lineNumber&&(i=e);let o=1073741824;for(const e of n.ranges)e.left<o&&(o=e.left);let r=1073741824;for(const e of i.ranges)e.left<r&&(r=e.left);const s=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,a=new Ke(s,o),l=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[a,new Ke(l,r)]}_prepareRenderWidget(e){const[t,n]=this._getTopAndBottomLeft(e);if(!t||!n)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){const e=this.domNode.domNode;this._cachedDomNodeClientWidth=e.clientWidth,this._cachedDomNodeClientHeight=e.clientHeight}let i;if(i=this.allowEditorOverflow?this._layoutBoxInPage(t,n,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(t,n,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e),this._preference)for(let e=1;e<=2;e++)for(const n of this._preference)if(1===n){if(!i)return null;if(2===e||i.fitsAbove)return new Ke(i.aboveTop,i.aboveLeft)}else{if(2!==n)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(t):t;if(!i)return null;if(2===e||i.fitsBelow)return new Ke(i.belowTop,i.belowLeft)}return null}onBeforeRender(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))}}n(216);var Ze=n(15);let Xe=!0;class Qe extends Ee{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._renderLineHighlight=t.get(77),this._renderLineHightlightOnlyWhenFocus=t.get(78),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[],this._selections=[],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=Xe?this._selections.slice(0,1):this._selections,n=t.map(e=>e.positionLineNumber);n.sort((e,t)=>e-t),Ze.g(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);const i=t.every(e=>e.isEmpty());return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._renderLineHighlight=t.get(77),this._renderLineHightlightOnlyWhenFocus=t.get(78),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHightlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis())return void(this._renderData=null);const t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length;let r=0;const s=[];for(let e=n;e<=i;e++){const i=e-n;for(;r<o&&this._cursorLineNumbers[r]<e;)r++;r<o&&this._cursorLineNumbers[r]===e?s[i]=t:s[i]=""}this._renderData=s}render(e,t){if(!this._renderData)return"";const n=t-e;return n>=this._renderData.length?"":this._renderData[n]}}class Je extends Qe{_renderOne(e){return`<div class="${"current-line"+(this._shouldRenderOther()?" current-line-both":"")}" style="width:${Math.max(e.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}class et extends Qe{_renderOne(e){return`<div class="${"current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"")}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}Object(B.g)((e,t)=>{Xe=!1;const n=e.getColor(Te.i);if(n&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||e.defines(Te.j)){const n=e.getColor(Te.j);n&&(Xe=!0,t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}});n(218);class tt extends Ee{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e];o.options.className&&(n[i++]=o)}n=n.sort((e,t)=>{if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;const n=e.options.className,i=t.options.className;return n<i?-1:n>i?1:te.a.compareRangesUsingStarts(e.range,t.range)});const o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=[];for(let e=o;e<=r;e++){s[e-o]=""}this._renderWholeLineDecorations(e,n,s),this._renderNormalDecorations(e,n,s),this._renderResult=s}_renderWholeLineDecorations(e,t,n){const i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber;for(let e=0,s=t.length;e<s;e++){const s=t[e];if(!s.options.isWholeLine)continue;const a='<div class="cdr '+s.options.className+'" style="left:0;width:100%;height:'+i+'px;"></div>',l=Math.max(s.range.startLineNumber,o),c=Math.min(s.range.endLineNumber,r);for(let e=l;e<=c;e++){n[e-o]+=a}}}_renderNormalDecorations(e,t,n){const i=String(this._lineHeight),o=e.visibleRange.startLineNumber;let r=null,s=!1,a=null;for(let l=0,c=t.length;l<c;l++){const c=t[l];if(c.options.isWholeLine)continue;const d=c.options.className,h=Boolean(c.options.showIfCollapsed);let u=c.range;h&&1===u.endColumn&&u.endLineNumber!==u.startLineNumber&&(u=new te.a(u.startLineNumber,u.startColumn,u.endLineNumber-1,this._context.model.getLineMaxColumn(u.endLineNumber-1))),r===d&&s===h&&te.a.areIntersectingOrTouching(a,u)?a=te.a.plusRange(a,u):(null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n),r=d,s=h,a=u)}null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n)}_renderNormalDecoration(e,t,n,i,o,r,s){const a=e.linesVisibleRangesForRange(t,"findMatch"===n);if(a)for(let e=0,t=a.length;e<t;e++){const t=a[e];if(t.outsideRenderedLine)continue;const l=t.lineNumber-r;if(i&&1===t.ranges.length){const e=t.ranges[0];0===e.width&&(t.ranges[0]=new A(e.left,this._typicalHalfwidthCharacterWidth))}for(let e=0,i=t.ranges.length;e<i;e++){const i=t.ranges[e],r='<div class="cdr '+n+'" style="left:'+String(i.left)+"px;width:"+String(i.width)+"px;height:"+o+'px;"></div>';s[l]+=r}}}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}var nt=n(105);class it extends N{constructor(e,t,n,i){super(e);const r=this._context.configuration.options,s=r.get(84),a=r.get(58),l=r.get(28),c=r.get(87),d={listenOnDomNode:n.domNode,className:"editor-scrollable "+Object(B.f)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:s.vertical,horizontal:s.horizontal,verticalHasArrows:s.verticalHasArrows,horizontalHasArrows:s.horizontalHasArrows,verticalScrollbarSize:s.verticalScrollbarSize,verticalSliderSize:s.verticalSliderSize,horizontalScrollbarSize:s.horizontalScrollbarSize,horizontalSliderSize:s.horizontalSliderSize,handleMouseWheel:s.handleMouseWheel,alwaysConsumeMouseWheel:s.alwaysConsumeMouseWheel,arrowSize:s.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:l,scrollPredominantAxis:c};this.scrollbar=this._register(new nt.c(t.domNode,d,this._context.viewLayout.getScrollable())),I.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=Object(p.b)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const h=(e,t,n)=>{const i={};if(t){const t=e.scrollTop;t&&(i.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(n){const t=e.scrollLeft;t&&(i.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.model.setScrollPosition(i,1)};this._register(o.i(n.domNode,"scroll",e=>h(n.domNode,!0,!0))),this._register(o.i(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(o.i(i.domNode,"scroll",e=>h(i.domNode,!0,!1))),this._register(o.i(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options,t=e.get(117);this.scrollbarDomNode.setLeft(t.contentLeft);"right"===e.get(56).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(84)||e.hasChanged(58)||e.hasChanged(28)){const e=this._context.configuration.options,t=e.get(84),n=e.get(58),i=e.get(28),o=e.get(87),r={handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:n,fastScrollSensitivity:i,scrollPredominantAxis:o};this.scrollbar.updateOptions(r)}return e.hasChanged(117)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(B.f)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}n(222);class ot{constructor(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)}}class rt extends Ee{_render(e,t,n){const i=[];for(let n=e;n<=t;n++){i[n-e]=[]}if(0===n.length)return i;n.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1);let o=null,r=0;for(let s=0,a=n.length;s<a;s++){const a=n[s],l=a.className;let c=Math.max(a.startLineNumber,e)-e;const d=Math.min(a.endLineNumber,t)-e;o===l?(c=Math.max(r+1,c),r=Math.max(r,d)):(o=l,r=d);for(let e=c;e<=r;e++)i[e].push(o)}return i}}class st extends rt{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._glyphMargin=t.get(42),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._glyphMargin=t.get(42),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e],r=o.options.glyphMarginClassName;r&&(n[i++]=new ot(o.range.startLineNumber,o.range.endLineNumber,r))}return n}prepareRender(e){if(!this._glyphMargin)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=this._lineHeight.toString(),r='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+o+'px;"></div>',s=[];for(let e=t;e<=n;e++){const n=e-t,o=i[n];0===o.length?s[n]="":s[n]='<div class="cgmr codicon '+o.join(" ")+r}this._renderResult=s}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}n(224);class at extends Ee{constructor(e){super(),this._context=e,this._primaryLineNumber=0;const t=this._context.configuration.options,n=t.get(118),i=t.get(36);this._lineHeight=t.get(51),this._spaceWidth=i.spaceWidth,this._enabled=t.get(75),this._activeIndentEnabled=t.get(45),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(118),i=t.get(36);return this._lineHeight=t.get(51),this._spaceWidth=i.spaceWidth,this._enabled=t.get(75),this._activeIndentEnabled=t.get(45),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){const t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){if(!this._enabled)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,{indentSize:i}=this._context.model.getTextModelOptions(),o=i*this._spaceWidth,r=e.scrollWidth,s=this._lineHeight,a=this._context.model.getLinesIndentGuides(t,n);let l=0,c=0,d=0;if(this._activeIndentEnabled&&this._primaryLineNumber){const e=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);l=e.startLineNumber,c=e.endLineNumber,d=e.indent}const h=[];for(let i=t;i<=n;i++){const n=l<=i&&i<=c,u=i-t,p=a[u];let m="";if(p>=1){const t=e.visibleRangeForPosition(new ee.a(i,1));let a=t?t.left:0;for(let e=1;e<=p;e++){if(m+=`<div class="${n&&e===d?"cigra":"cigr"}" style="left:${a}px;height:${s}px;width:${o}px"></div>`,a+=o,a>r||this._maxIndentLeft>0&&a>this._maxIndentLeft)break}}h[u]=m}this._renderResult=h}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}Object(B.g)((e,t)=>{const n=e.getColor(Te.h);n&&t.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${n} inset; }`);const i=e.getColor(Te.a)||n;i&&t.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${i} inset; }`)});n(226);class lt{constructor(){this._currentVisibleRange=new te.a(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class ct{constructor(e,t,n,i,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=o,this.scrollType=r,this.type="range",this.minLineNumber=e,this.maxLineNumber=e}}class dt{constructor(e,t,n,i){this.selections=e,this.startScrollTop=t,this.stopScrollTop=n,this.scrollType=i,this.type="selections";let o=e[0].startLineNumber,r=e[0].endLineNumber;for(let t=1,n=e.length;t<n;t++){const n=e[t];o=Math.min(o,n.startLineNumber),r=Math.max(r,n.endLineNumber)}this.minLineNumber=o,this.maxLineNumber=r}}class ht extends N{constructor(e,t){super(e),this._linesContent=t,this._textRangeRestingSpot=document.createElement("div"),this._visibleLines=new je(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration,i=this._context.configuration.options,o=i.get(36),r=i.get(118);this._lineHeight=i.get(51),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=r.isViewportWrapping,this._revealHorizontalRightPadding=i.get(81),this._cursorSurroundingLines=i.get(20),this._cursorSurroundingLinesStyle=i.get(21),this._canUseLayerHinting=!i.get(23),this._viewLineOptions=new $(n,this._context.theme.type),I.write(this.domNode,7),this.domNode.setClassName("view-lines "+Oe.a),c.a.applyFontInfo(this.domNode,o),this._maxLineWidth=0,this._asyncUpdateLineWidths=new b.d(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new b.d(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new lt,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new K(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(118)&&(this._maxLineWidth=0);const t=this._context.configuration.options,n=t.get(36),i=t.get(118);return this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(81),this._cursorSurroundingLines=t.get(20),this._cursorSurroundingLinesStyle=t.get(21),this._canUseLayerHinting=!t.get(23),c.a.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(117)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const e=this._context.configuration,t=new $(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;const e=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let t=e;t<=n;t++){this._visibleLines.getVisibleLine(t).onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=!1;for(let e=t;e<=n;e++)i=this._visibleLines.getVisibleLine(e).onSelectionChanged()||i;return i}onDecorationsChanged(e){{const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged()}return!0}onFlushed(e){const t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){const t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.selections,e.verticalType);if(-1===t)return!1;let n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new ct(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new dt(e.selections,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;const i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop)<=this._lineHeight?1:e.scrollType;return this._context.model.setScrollPosition(n,i),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){const t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){const n=this._getViewLineDomNode(e);if(null===n)return null;const i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new ee.a(i,1);const o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(i<o||i>r)return null;let s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t);const a=this._context.model.getLineMinColumn(i);return s<a&&(s=a),new ee.a(i,s)}_getViewLineDomNode(e){for(;e&&1===e.nodeType;){if(e.className===K.CLASS_NAME)return e;e=e.parentElement}return null}_getLineNumberFor(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){if(e===this._visibleLines.getVisibleLine(i).getDomNode())return i}return-1}getLineWidth(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;const n=e.endLineNumber,i=te.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;let o=[],r=0;const s=new q(this.domNode.domNode,this._textRangeRestingSpot);let a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(i.startLineNumber,1)).lineNumber);const l=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let e=i.startLineNumber;e<=i.endLineNumber;e++){if(e<l||e>c)continue;const d=e===i.startLineNumber?i.startColumn:1,h=e===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(e),u=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(d,h,s);if(u){if(t&&e<n){const t=a;a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e+1,1)).lineNumber,t!==a&&(u.ranges[u.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}o[r++]=new D(u.outsideRenderedLine,e,u.ranges)}}return 0===r?null:o}_visibleRangesForLineRange(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new q(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){const t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new R(t.outsideRenderedLine,t.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=1,o=!0;for(let r=t;r<=n;r++){const t=this._visibleLines.getVisibleLine(r);!e||t.getWidthIsFast()?i=Math.max(i,t.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1;const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let o=n;o<=i;o++){const n=this._visibleLines.getVisibleLine(o);if(n.needsMonospaceFontCheck()){const i=n.getWidth();i>t&&(t=i,e=o)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=n;e<=i;e++){this._visibleLines.getVisibleLine(e).onMonospaceAssumptionsInvalidated()}}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),m.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++){if(this._visibleLines.getVisibleLine(n).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){const t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.model.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(e,t,n,i,o){const r=e.top,s=e.height,a=r+s;let l,c,d;if(i&&i.length>0){let e=i[0].startLineNumber,t=i[0].endLineNumber;for(let n=1,o=i.length;n<o;n++){const o=i[n];e=Math.min(e,o.startLineNumber),t=Math.max(t,o.endLineNumber)}l=!1,c=this._context.viewLayout.getVerticalOffsetForLineNumber(e),d=this._context.viewLayout.getVerticalOffsetForLineNumber(t)+this._lineHeight}else{if(!n)return-1;l=!0,c=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),d=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight}if(!("mouse"===t&&"default"===this._cursorSurroundingLinesStyle)){const e=Math.min(s/this._lineHeight/2,this._cursorSurroundingLines);c-=e*this._lineHeight,d+=Math.max(0,e-1)*this._lineHeight}let h;if(0!==o&&4!==o||(d+=this._lineHeight),d-c>s){if(!l)return-1;h=c}else if(5===o||6===o)if(6===o&&r<=c&&d<=a)h=r;else{const e=c-Math.max(5*this._lineHeight,.2*s),t=d-s;h=Math.max(t,e)}else if(1===o||2===o)if(2===o&&r<=c&&d<=a)h=r;else{const e=(c+d)/2;h=Math.max(0,e-s/2)}else h=this._computeMinimumScrolling(r,a,c,d,3===o,4===o);return h}_computeScrollLeftToReveal(e){const t=this._context.viewLayout.getCurrentViewport(),n=t.left,i=n+t.width;let o=1073741824,r=0;if("range"===e.type){const t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(const e of t.ranges)o=Math.min(o,e.left),r=Math.max(r,e.left+e.width)}else for(const t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;const e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(const t of e.ranges)o=Math.min(o,t.left),r=Math.max(r,t.left+t.width)}if(o=Math.max(0,o-ht.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding,"selections"===e.type&&r-o>t.width)return null;return{scrollLeft:this._computeMinimumScrolling(n,i,o,r),maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,n,i,o,r){o=!!o,r=!!r;const s=(t|=0)-(e|=0);return(i|=0)-(n|=0)<s?o?n:r?Math.max(0,i-s):n<e?n:i>t?Math.max(0,i-s):e:n}}ht.HORIZONTAL_EXTRA_PX=30;n(228);class ut extends rt{constructor(e){super(),this._context=e;const t=this._context.configuration.options.get(117);this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options.get(117);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e],r=o.options.linesDecorationsClassName;r&&(n[i++]=new ot(o.range.startLineNumber,o.range.endLineNumber,r));const s=o.options.firstLineDecorationClassName;s&&(n[i++]=new ot(o.range.startLineNumber,o.range.startLineNumber,s))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',r=[];for(let e=t;e<=n;e++){const n=e-t,s=i[n];let a="";for(let e=0,t=s.length;e<t;e++)a+='<div class="cldr '+s[e]+o;r[n]=a}this._renderResult=r}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}n(230);class pt extends rt{constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e],r=o.options.marginClassName;r&&(n[i++]=new ot(o.range.startLineNumber,o.range.endLineNumber,r))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=[];for(let e=t;e<=n;e++){const n=e-t,r=i[n];let s="";for(let e=0,t=r.length;e<t;e++)s+='<div class="cmdr '+r[e]+'" style=""></div>';o[n]=s}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}n(232);class mt{constructor(e,t,n,i){this.r=mt._clamp(e),this.g=mt._clamp(t),this.b=mt._clamp(n),this.a=mt._clamp(i)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}mt.Empty=new mt(0,0,0,0);var gt=n(12);class ft{constructor(){this._onDidChange=new s.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),gt.C.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()})}static getInstance(){return this._INSTANCE||(this._INSTANCE=new ft),this._INSTANCE}_updateColorMap(){const e=gt.C.getColorMap();if(!e)return this._colors=[mt.Empty],void(this._backgroundIsLight=!0);this._colors=[mt.Empty];for(let t=1;t<e.length;t++){const n=e[t].rgba;this._colors[t]=new mt(n.r,n.g,n.b,Math.round(255*n.a))}let t=e[2].getRelativeLuminance();this._backgroundIsLight=t>=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}ft._INSTANCE=null;var bt=n(74),_t=n(5);const vt=(()=>{const e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})();var wt=n(36);class yt{constructor(e,t){this.scale=t,this.charDataNormal=yt.soften(e,.8),this.charDataLight=yt.soften(e,50/60)}static soften(e,t){let n=new Uint8ClampedArray(e.length);for(let i=0,o=e.length;i<o;i++)n[i]=Object(wt.b)(e[i]*t);return n}renderChar(e,t,n,i,o,r,s,a,l){const c=1*this.scale,d=2*this.scale,h=l?1:d;if(t+c>e.width||n+h>e.height)return void console.warn("bad render request outside image data");const u=a?this.charDataLight:this.charDataNormal,p=((e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e)(i,s),m=4*e.width,g=r.r,f=r.g,b=r.b,_=o.r-g,v=o.g-f,w=o.b-b,y=e.data;let C=p*c*d,x=n*m+4*t;for(let e=0;e<h;e++){let e=x;for(let t=0;t<c;t++){const t=u[C++]/255;y[e++]=g+_*t,y[e++]=f+v*t,y[e++]=b+w*t,e++}x+=m}}blockRenderChar(e,t,n,i,o,r,s){const a=1*this.scale,l=2*this.scale,c=s?1:l;if(t+a>e.width||n+c>e.height)return void console.warn("bad render request outside image data");const d=4*e.width,h=o.r,u=o.g,p=o.b,m=h+.5*(i.r-h),g=u+.5*(i.g-u),f=p+.5*(i.b-p),b=e.data;let _=n*d+4*t;for(let e=0;e<c;e++){let e=_;for(let t=0;t<a;t++)b[e++]=m,b[e++]=g,b[e++]=f,e++;_+=d}}}var Ct=n(133);const xt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},St=e=>{const t=new Uint8ClampedArray(e.length/2);for(let n=0;n<e.length;n+=2)t[n>>1]=xt[e[n]]<<4|15&xt[e[n+1]];return t},kt={1:Object(Ct.a)(()=>St("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:Object(Ct.a)(()=>St("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class Et{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let n;return n=kt[e]?new yt(kt[e](),e):Et.createFromSampleData(Et.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=n,n}static createSampleData(e){const t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";let i=0;for(const e of vt)n.fillText(String.fromCharCode(e),i,8),i+=10;return n.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw new Error("Unexpected source in MinimapCharRenderer");let n=Et._downsample(e,t);return new yt(n,t)}static _downsampleChar(e,t,n,i,o){const r=1*o,s=2*o;let a=i,l=0;for(let i=0;i<s;i++){const o=i/s*16,c=(i+1)/s*16;for(let i=0;i<r;i++){const s=i/r*10,d=(i+1)/r*10;let h=0,u=0;for(let n=o;n<c;n++){const i=t+3840*Math.floor(n),o=1-(n-Math.floor(n));for(let t=s;t<d;t++){const n=1-(t-Math.floor(t)),r=i+4*Math.floor(t),s=n*o;u+=s,h+=e[r]*e[r+3]/255*s}}const p=h/u;l=Math.max(l,p),n[a++]=Object(wt.b)(p)}}return l}static _downsample(e,t){const n=2*t*1*t,i=96*n,o=new Uint8ClampedArray(i);let r=0,s=0,a=0;for(let i=0;i<96;i++)a=Math.max(a,this._downsampleChar(e,s,o,r,t)),r+=n,s+=40;if(a>0){const e=255/a;for(let t=0;t<i;t++)o[t]*=e}return o}}var Tt=n(58);class Lt{constructor(e,t,n){const i=e.options,o=i.get(115),r=i.get(117),s=r.minimap,a=i.get(36),l=i.get(56);this.renderMinimap=s.renderMinimap,this.size=l.size,this.minimapHeightIsEditorHeight=s.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=i.get(86),this.showSlider=l.showSlider,this.pixelRatio=o,this.typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this.lineHeight=i.get(51),this.minimapLeft=s.minimapLeft,this.minimapWidth=s.minimapWidth,this.minimapHeight=r.height,this.canvasInnerWidth=s.minimapCanvasInnerWidth,this.canvasInnerHeight=s.minimapCanvasInnerHeight,this.canvasOuterWidth=s.minimapCanvasOuterWidth,this.canvasOuterHeight=s.minimapCanvasOuterHeight,this.isSampling=s.minimapIsSampling,this.editorHeight=r.height,this.fontScale=s.minimapScale,this.minimapLineHeight=s.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=Object(Ct.a)(()=>Et.create(this.fontScale,a.fontFamily)),this.backgroundColor=Lt._getMinimapBackground(t,n)}static _getMinimapBackground(e,t){const n=e.getColor(_t.Mb);return n?new mt(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a):t.getColor(2)}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)}}class Nt{constructor(e,t,n,i,o,r,s,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=n,this._computedSliderRatio=i,this.sliderTop=o,this.sliderHeight=r,this.startLineNumber=s,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){const t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,n,i,o,r,s,a,l,c){const d=e.pixelRatio,h=e.minimapLineHeight,u=Math.floor(e.canvasInnerHeight/h),p=e.lineHeight;if(e.minimapHeightIsEditorHeight){const t=s*e.lineHeight+(e.scrollBeyondLastLine?i-e.lineHeight:0),n=Math.max(1,Math.floor(i*i/t)),o=Math.max(0,e.minimapHeight-n),c=o/(l-i),d=a*c,h=o>0,u=Math.floor(e.canvasInnerHeight/e.minimapLineHeight);return new Nt(a,l,h,c,d,n,1,Math.min(r,u))}let m,g;if(o&&n!==r){const e=n-t+1;m=Math.floor(e*h/d)}else{const e=i/p;m=Math.floor(e*h/d)}g=e.scrollBeyondLastLine?(r-1)*h/d:Math.max(0,r*h/d-m),g=Math.min(e.minimapHeight-m,g);const f=g/(l-i),b=a*f;let _=0;if(e.scrollBeyondLastLine){_=i/p-1}if(u>=r+_){return new Nt(a,l,g>0,f,b,m,1,r)}{let e=Math.max(1,Math.floor(t-b*d/h));c&&c.scrollHeight===l&&(c.scrollTop>a&&(e=Math.min(e,c.startLineNumber)),c.scrollTop<a&&(e=Math.max(e,c.startLineNumber)));const n=Math.min(r,e+u-1);return new Nt(a,l,!0,f,b,m,e,n)}}}class It{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}It.INVALID=new It(-1);class Ot{constructor(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Be(()=>It.INVALID),this._renderedLines._set(e.startLineNumber,n)}linesEquals(e){if(!this.scrollEquals(e))return!1;const t=this._renderedLines._get().lines;for(let e=0,n=t.length;e<n;e++)if(-1===t[e].dy)return!1;return!0}scrollEquals(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber}_get(){const e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}}onLinesChanged(e,t){return this._renderedLines.onLinesChanged(e,t)}onLinesDeleted(e,t){this._renderedLines.onLinesDeleted(e,t)}onLinesInserted(e,t){this._renderedLines.onLinesInserted(e,t)}onTokensChanged(e){return this._renderedLines.onTokensChanged(e)}}class Dt{constructor(e,t,n,i){this._backgroundFillData=Dt._createBackgroundFillData(t,n,i),this._buffers=[e.createImageData(t,n),e.createImageData(t,n)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;const e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e}static _createBackgroundFillData(e,t,n){const i=n.r,o=n.g,r=n.b,s=new Uint8ClampedArray(e*t*4);let a=0;for(let n=0;n<t;n++)for(let t=0;t<e;t++)s[a]=i,s[a+1]=o,s[a+2]=r,s[a+3]=255,a+=4;return s}}class At{constructor(e,t){this.samplingRatio=e,this.minimapLines=t}static compute(e,t,n){if(0===e.renderMinimap||!e.isSampling)return[null,[]];const i=e.pixelRatio,o=e.lineHeight,r=e.scrollBeyondLastLine,{minimapLineCount:s}=j.f.computeContainedMinimapLineCount({viewLineCount:t,scrollBeyondLastLine:r,height:e.editorHeight,lineHeight:o,pixelRatio:i}),a=t/s,l=a/2;if(!n||0===n.minimapLines.length){let e=[];if(e[0]=1,s>1){for(let t=0,n=s-1;t<n;t++)e[t]=Math.round(t*a+l);e[s-1]=t}return[new At(a,e),[]]}const c=n.minimapLines,d=c.length;let h=[],u=0,p=0,m=1;let g=[],f=null;for(let e=0;e<s;e++){const n=Math.max(m,Math.round(e*a)),i=Math.max(n,Math.round((e+1)*a));for(;u<d&&c[u]<n;){if(g.length<10){const e=u+1+p;f&&"deleted"===f.type&&f._oldIndex===u-1?f.deleteToLineNumber++:(f={type:"deleted",_oldIndex:u,deleteFromLineNumber:e,deleteToLineNumber:e},g.push(f)),p--}u++}let o;if(u<d&&c[u]<=i)o=c[u],u++;else if(o=0===e?1:e+1===s?t:Math.round(e*a+l),g.length<10){const t=u+1+p;f&&"inserted"===f.type&&f._i===e-1?f.insertToLineNumber++:(f={type:"inserted",_i:e,insertFromLineNumber:t,insertToLineNumber:t},g.push(f)),p++}h[e]=o,m=o}if(g.length<10)for(;u<d;){const e=u+1+p;f&&"deleted"===f.type&&f._oldIndex===u-1?f.deleteToLineNumber++:(f={type:"deleted",_oldIndex:u,deleteFromLineNumber:e,deleteToLineNumber:e},g.push(f)),p--,u++}else g=[{type:"flush"}];return[new At(a,h),g]}modelLineToMinimapLine(e){return Math.min(this.minimapLines.length,Math.max(1,Math.round(e/this.samplingRatio)))}modelLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e)-1;for(;n>0&&this.minimapLines[n-1]>=e;)n--;let i=this.modelLineToMinimapLine(t)-1;for(;i+1<this.minimapLines.length&&this.minimapLines[i+1]<=t;)i++;if(n===i){const i=this.minimapLines[n];if(i<e||i>t)return null}return[n+1,i+1]}decorationLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e),i=this.modelLineToMinimapLine(t);return e!==t&&i===n&&(i===this.minimapLines.length?n>1&&n--:i++),[n,i]}onLinesDeleted(e){const t=e.toLineNumber-e.fromLineNumber+1;let n=this.minimapLines.length,i=0;for(let o=this.minimapLines.length-1;o>=0&&!(this.minimapLines[o]<e.fromLineNumber);o--)this.minimapLines[o]<=e.toLineNumber?(this.minimapLines[o]=Math.max(1,e.fromLineNumber-1),n=Math.min(n,o),i=Math.max(i,o)):this.minimapLines[o]-=t;return[n,i]}onLinesInserted(e){const t=e.toLineNumber-e.fromLineNumber+1;for(let n=this.minimapLines.length-1;n>=0&&!(this.minimapLines[n]<e.fromLineNumber);n--)this.minimapLines[n]+=t}}class Rt extends N{constructor(e){super(e),this.tokensColorTracker=ft.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new Lt(this._context.configuration,this._context.theme,this.tokensColorTracker);const[t]=At.compute(this.options,this._context.model.getLineCount(),null);this._samplingState=t,this._shouldCheckSampling=!1,this._actual=new Mt(e.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const e=new Lt(this._context.configuration,this._context.theme,this.tokensColorTracker);return!this.options.equals(e)&&(this.options=e,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(e){return this._onOptionsMaybeChanged()}onCursorStateChanged(e){return this._selections=e.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(e){return!!e.affectsMinimap&&this._actual.onDecorationsChanged()}onFlushed(e){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(e){if(this._samplingState){const t=this._samplingState.modelLineRangeToMinimapLineRange(e.fromLineNumber,e.toLineNumber);return!!t&&this._actual.onLinesChanged(t[0],t[1])}return this._actual.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){if(this._samplingState){const[t,n]=this._samplingState.onLinesDeleted(e);return t<=n&&this._actual.onLinesChanged(t+1,n+1),this._shouldCheckSampling=!0,!0}return this._actual.onLinesDeleted(e.fromLineNumber,e.toLineNumber)}onLinesInserted(e){return this._samplingState?(this._samplingState.onLinesInserted(e),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(e.fromLineNumber,e.toLineNumber)}onScrollChanged(e){return this._actual.onScrollChanged()}onThemeChanged(e){return this._context.model.invalidateMinimapColorCache(),this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(e){if(this._samplingState){let t=[];for(const n of e.ranges){const e=this._samplingState.modelLineRangeToMinimapLineRange(n.fromLineNumber,n.toLineNumber);e&&t.push({fromLineNumber:e[0],toLineNumber:e[1]})}return!!t.length&&this._actual.onTokensChanged(t)}return this._actual.onTokensChanged(e.ranges)}onTokensColorsChanged(e){return this._actual.onTokensColorsChanged()}onZonesChanged(e){return this._actual.onZonesChanged()}prepareRender(e){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(e){let t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber;this._samplingState&&(t=this._samplingState.modelLineToMinimapLine(t),n=this._samplingState.modelLineToMinimapLine(n));const i={viewportContainsWhitespaceGaps:e.viewportData.whitespaceViewportData.length>0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:n,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(i)}_recreateLineSampling(){this._minimapSelections=null;const e=Boolean(this._samplingState),[t,n]=At.compute(this.options,this._context.model.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(const e of n)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.model.getLineCount()}getRealLineCount(){return this._context.model.getLineCount()}getLineContent(e){return this._samplingState?this._context.model.getLineContent(this._samplingState.minimapLines[e-1]):this._context.model.getLineContent(e)}getMinimapLinesRenderingData(e,t,n){if(this._samplingState){let i=[];for(let o=0,r=t-e+1;o<r;o++)n[o]?i[o]=this._context.model.getViewLineData(this._samplingState.minimapLines[e+o-1]):i[o]=null;return i}return this._context.model.getMinimapLinesRenderingData(e,t,n).data}getSelections(){if(null===this._minimapSelections)if(this._samplingState){this._minimapSelections=[];for(const e of this._selections){const[t,n]=this._samplingState.decorationLineRangeToMinimapLineRange(e.startLineNumber,e.endLineNumber);this._minimapSelections.push(new u.a(t,e.startColumn,n,e.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(e,t){let n;if(this._samplingState){const i=this._samplingState.minimapLines[e-1],o=this._samplingState.minimapLines[t-1];n=new te.a(i,1,o,this._context.model.getLineMaxColumn(o))}else n=new te.a(e,1,t,this._context.model.getLineMaxColumn(t));const i=this._context.model.getDecorationsInViewport(n);if(this._samplingState){let e=[];for(const t of i){if(!t.options.minimap)continue;const n=t.range,i=this._samplingState.modelLineToMinimapLine(n.startLineNumber),o=this._samplingState.modelLineToMinimapLine(n.endLineNumber);e.push(new bt.e(new te.a(i,n.startColumn,o,n.endColumn),t.options))}return e}return i}getOptions(){return this._context.model.getTextModelOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.model.revealRange("mouse",!1,new te.a(e,1,e,1),1,0)}setScrollTop(e){this._context.model.setScrollPosition({scrollTop:e},1)}}class Mt extends a.a{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(_t.Pb),this._domNode=Object(p.b)(document.createElement("div")),I.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=Object(p.b)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=Object(p.b)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=Object(p.b)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=Object(p.b)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=Object(p.b)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=o.n(this._domNode.domNode,"mousedown",e=>{e.preventDefault();if(0===this._model.options.renderMinimap)return;if(!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(e.leftButton&&this._lastRenderData){const t=o.C(this._slider.domNode),n=t.top+t.height/2;this._startSliderDragging(e.buttons,e.posx,n,e.posy,this._lastRenderData.renderedLayout)}return}const t=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.browserEvent.offsetY;let i=Math.floor(n/t)+this._lastRenderData.renderedLayout.startLineNumber;i=Math.min(i,this._model.getLineCount()),this._model.revealLineNumber(i)}),this._sliderMouseMoveMonitor=new v.a,this._sliderMouseDownListener=o.n(this._slider.domNode,"mousedown",e=>{e.preventDefault(),e.stopPropagation(),e.leftButton&&this._lastRenderData&&this._startSliderDragging(e.buttons,e.posx,e.posy,e.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=g.b.addTarget(this._domNode.domNode),this._sliderTouchStartListener=o.i(this._domNode.domNode,g.a.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=o.i(this._domNode.domNode,g.a.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=o.n(this._domNode.domNode,g.a.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,n,i,o){this._slider.toggleClassName("active",!0);const r=(e,i)=>{const r=Math.abs(i-t);if(m.i&&r>140)return void this._model.setScrollTop(o.scrollTop);const s=e-n;this._model.setScrollTop(o.getDesiredScrollTopFromDelta(s))};i!==n&&r(i,t),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,e,v.b,e=>r(e.posy,e.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){const t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(n)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new Dt(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e,t),!0}onLinesInserted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(_t.Pb),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){if(0===this._model.options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const t=Nt.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(t.sliderNeeded?"block":"none"),this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);const n=e.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,i=Math.min(this._model.options.minimapWidth,Math.round(n*this._model.options.minimapCharWidth/this._model.options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;const t=this._model.getSelections(),n=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber),{canvasInnerWidth:i,canvasInnerHeight:o}=this._model.options,r=this._model.options.minimapLineHeight,s=this._model.options.minimapCharWidth,a=this._model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,i,o);const c=new Map;for(let n=0;n<t.length;n++){const i=t[n];for(let t=i.startLineNumber;t<=i.endLineNumber;t++)this.renderDecorationOnLine(l,c,i,this._selectionColor,e,t,r,r,a,s)}for(let t=0;t<n.length;t++){const i=n[t];if(!i.options.minimap)continue;const o=i.options.minimap.getColor(this._theme);for(let t=i.range.startLineNumber;t<=i.range.endLineNumber;t++)switch(i.options.minimap.position){case Tt.c.Inline:this.renderDecorationOnLine(l,c,i.range,o,e,t,r,r,a,s);continue;case Tt.c.Gutter:const n=(t-e.startLineNumber)*r,d=2;this.renderDecoration(l,o,d,n,2,r);continue}}}}renderDecorationOnLine(e,t,n,i,o,r,s,a,l,c){const d=(r-o.startLineNumber)*a;if(d+s<0||d>this._model.options.canvasInnerHeight)return;let h=t.get(r);const u=!h;if(!h){const e=this._model.getLineContent(r);h=[j.h];for(let t=1;t<e.length+1;t++){const n=e.charCodeAt(t-1),i=9===n?l*c:xe.E(n)?2*c:c;h[t]=h[t-1]+i}t.set(r,h)}const{startColumn:p,endColumn:m,startLineNumber:g,endLineNumber:f}=n,b=g===r?h[p-1]:j.h,_=f>r?h.length-1:m-1;if(_>0){const t=h[_]-b||2;this.renderDecoration(e,i,b,d,t,s)}u&&this.renderLineHighlight(e,i,d,s)}renderLineHighlight(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(j.h,n,e.canvas.width,i)}renderDecoration(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)}renderLines(e){const t=e.startLineNumber,n=e.endLineNumber,i=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){const t=this._lastRenderData._get();return new Ot(e,t.imageData,t.lines)}const o=this._getBuffer();if(!o)return null;let[r,s,a]=Mt._renderUntouchedLines(o,t,n,i,this._lastRenderData);const l=this._model.getMinimapLinesRenderingData(t,n,a),c=this._model.getOptions().tabSize,d=this._model.options.backgroundColor,h=this._model.tokensColorTracker,u=h.backgroundIsLight(),p=this._model.options.renderMinimap,m=this._model.options.charRenderer(),g=this._model.options.fontScale,f=this._model.options.minimapCharWidth,b=(1===p?2:3)*g,_=i>b?Math.floor((i-b)/2):0;let v=0;const w=[];for(let e=0,r=n-t+1;e<r;e++)a[e]&&Mt._renderLine(o,d,u,p,f,h,m,v,_,c,l[e],g,i),w[e]=new It(v),v+=i;const y=-1===r?0:r,C=(-1===s?o.height:s)-y;return this._canvas.domNode.getContext("2d").putImageData(o,0,0,0,y,o.width,C),new Ot(e,o,w)}static _renderUntouchedLines(e,t,n,i,o){const r=[];if(!o){for(let e=0,i=n-t+1;e<i;e++)r[e]=!0;return[-1,-1,r]}const s=o._get(),a=s.imageData.data,l=s.rendLineNumberStart,c=s.lines,d=c.length,h=e.width,u=e.data,p=(n-t+1)*i*h*4;let m=-1,g=-1,f=-1,b=-1,_=-1,v=-1,w=0;for(let e=t;e<=n;e++){const n=e-t,o=e-l,s=o>=0&&o<d?c[o].dy:-1;if(-1===s){r[n]=!0,w+=i;continue}const y=s*h*4,C=(s+i)*h*4,x=w*h*4,S=(w+i)*h*4;b===y&&v===x?(b=C,v=S):(-1!==f&&(u.set(a.subarray(f,b),_),-1===m&&0===f&&f===_&&(m=b),-1===g&&b===p&&f===_&&(g=f)),f=y,b=C,_=x,v=S),r[n]=!1,w+=i}-1!==f&&(u.set(a.subarray(f,b),_),-1===m&&0===f&&f===_&&(m=b),-1===g&&b===p&&f===_&&(g=f));return[-1===m?-1:m/(4*h),-1===g?-1:g/(4*h),r]}static _renderLine(e,t,n,i,o,r,s,a,l,c,d,h,u){const p=d.content,m=d.tokens,g=e.width-o,f=1===u;let b=j.h,_=0,v=0;for(let d=0,u=m.getCount();d<u;d++){const u=m.getEndOffset(d),w=m.getForeground(d),y=r.getColor(w);for(;_<u;_++){if(b>g)return;const r=p.charCodeAt(_);if(9===r){const e=c-(_+v)%c;v+=e-1,b+=e*o}else if(32===r)b+=o;else{const c=xe.E(r)?2:1;for(let d=0;d<c;d++)if(2===i?s.blockRenderChar(e,b,a+l,y,t,n,f):s.renderChar(e,b,a+l,r,y,t,h,n,f),b+=o,b>g)return}}}}}Object(B.g)((e,t)=>{const n=e.getColor(_t.Mb);n&&t.addRule(`.monaco-editor .minimap > canvas { opacity: ${n.rgba.a}; will-change: opacity; }`);const i=e.getColor(_t.Rb);i&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${i}; }`);const o=e.getColor(_t.Sb);o&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${o}; }`);const r=e.getColor(_t.Qb);r&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${r}; }`);const s=e.getColor(_t.ic);s&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${s} -6px 0 6px -6px inset; }`)});n(234);class Pt extends N{constructor(e){super(e);const t=this._context.configuration.options.get(117);this._widgets={},this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimap.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,this._domNode=Object(p.b)(document.createElement("div")),I.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options.get(117);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimap.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0}addWidget(e){const t=Object(p.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t].domNode.domNode;delete this._widgets[t],e.parentNode.removeChild(e),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){const e=t.domNode.clientHeight;t.setTop(this._editorHeight-e-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);const t=Object.keys(this._widgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];this._renderWidget(this._widgets[n])}}}var Ft=n(16);class Wt{constructor(e,t){const n=e.options;this.lineHeight=n.get(51),this.pixelRatio=n.get(115),this.overviewRulerLanes=n.get(65),this.renderBorder=n.get(64);const i=t.getColor(Te.m);this.borderColor=i?i.toString():null,this.hideCursor=n.get(44);const o=t.getColor(Te.g);this.cursorColor=o?o.transparent(.7).toString():null,this.themeType=t.type;const r=n.get(56),s=r.enabled,a=r.side,l=s?t.getColor(Te.l)||gt.C.getDefaultBackground():null;this.backgroundColor=null===l||"left"===a?null:Ft.a.Format.CSS.formatHex(l);const c=n.get(117).overviewRuler;this.top=c.top,this.right=c.right,this.domWidth=c.width,this.domHeight=c.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[d,h]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=d,this.w=h}_initLanes(e,t,n){const i=t-e;if(n>=3){const t=Math.floor(i/3),n=Math.floor(i/3),o=i-t-n,r=e+t;return[[0,e,r,e,e+t+o,e,r,e],[0,t,o,t+o,n,t+o+n,o+n,t+o+n]]}if(2===n){const t=Math.floor(i/2),n=i-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,n,t+n,t+n,t+n]]}return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class zt extends N{constructor(e){super(e),this._domNode=Object(p.b)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=gt.C.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){const t=new Wt(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(ee.a.compare),!0}onDecorationsChanged(e){return!!e.affectsOverviewRuler}onFlushed(e){return!0}onScrollChanged(e){return e.scrollHeightChanged}onZonesChanged(e){return!0}onThemeChanged(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render()}_render(){if(0===this._settings.overviewRulerLanes)return void this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"");const e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,o=t/this._context.viewLayout.getScrollHeight(),r=this._context.model.getAllOverviewRulerDecorations(this._context.theme),s=6*this._settings.pixelRatio|0,a=s/2|0,l=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?l.clearRect(0,0,e,t):(l.fillStyle=this._settings.backgroundColor,l.fillRect(0,0,e,t));const c=this._settings.x,d=this._settings.w,h=Object.keys(r);h.sort();for(let e=0,u=h.length;e<u;e++){const u=h[e],p=r[u];l.fillStyle=u;let m=0,g=0,f=0;for(let e=0,r=p.length;e<r;e++){const r=p[3*e],h=p[3*e+1],u=p[3*e+2];let b=i.getVerticalOffsetForLineNumber(h)*o|0,_=(i.getVerticalOffsetForLineNumber(u)+n)*o|0;if(_-b<s){let e=(b+_)/2|0;e<a?e=a:e+a>t&&(e=t-a),b=e-a,_=e+a}b>f+1||r!==m?(0!==e&&l.fillRect(c[m],g,d[m],f-g),m=r,g=b,f=_):_>f&&(f=_)}l.fillRect(c[m],g,d[m],f-g)}if(!this._settings.hideCursor&&this._settings.cursorColor){const e=2*this._settings.pixelRatio|0,n=e/2|0,r=this._settings.x[7],s=this._settings.w[7];l.fillStyle=this._settings.cursorColor;let a=-100,c=-100;for(let d=0,h=this._cursorPositions.length;d<h;d++){const h=this._cursorPositions[d];let u=i.getVerticalOffsetForLineNumber(h.lineNumber)*o|0;u<n?u=n:u+n>t&&(u=t-n);const p=u-n,m=p+e;p>c+1?(0!==d&&l.fillRect(r,a,s,c-a),a=p,c=m):m>c&&(c=m)}l.fillRect(r,a,s,c-a)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(e,0),l.stroke())}}var Bt=n(168);class jt extends L{constructor(e,t){super(),this._context=e;const n=this._context.configuration.options;this._domNode=Object(p.b)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new Bt.b(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(n.get(51)),this._zoneManager.setPixelRatio(n.get(115)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(51)&&(this._zoneManager.setLineHeight(t.get(51)),this._render()),e.hasChanged(115)&&(this._zoneManager.setPixelRatio(t.get(115)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;const e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0}_renderOneLane(e,t,n,i){let o=0,r=0,s=0;for(const a of t){const t=a.colorId,l=a.from,c=a.to;t!==o?(e.fillRect(0,r,i,s-r),o=t,e.fillStyle=n[o],r=l,s=c):s>=l?s=Math.max(s,c):(e.fillRect(0,r,i,s-r),r=l,s=c)}e.fillRect(0,r,i,s-r)}}n(236);class Vt extends N{constructor(e){super(e),this.domNode=Object(p.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(83),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(83),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){const e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e<t){const{tabSize:n}=this._context.model.getTextModelOptions(),i=n;let o=t-e;for(;o>0;){const e=Object(p.b)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),o--}return}let n=e-t;for(;n>0;){const e=this._renderedRulers.pop();this.domNode.removeChild(e),n--}}render(e){this._ensureRulersCount();for(let t=0,n=this._rulers.length;t<n;t++){const n=this._renderedRulers[t],i=this._rulers[t];n.setBoxShadow(i.color?`1px 0 0 0 ${i.color} inset`:""),n.setHeight(Math.min(e.scrollHeight,1e6)),n.setLeft(i.column*this._typicalHalfwidthCharacterWidth)}}}Object(B.g)((e,t)=>{const n=e.getColor(Te.n);n&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${n} inset; }`)});n(238);class Ut extends N{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const t=this._context.configuration.options.get(84);this._useShadows=t.useShadows,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){const e=this._context.configuration.options.get(117);0===e.minimap.renderMinimap||e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?this._width=e.width:this._width=e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}onConfigurationChanged(e){const t=this._context.configuration.options.get(84);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}Object(B.g)((e,t)=>{const n=e.getColor(_t.ic);n&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${n} 0 6px 6px -6px inset; }`)});n(240);class Ht{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class qt{constructor(e,t){this.lineNumber=e,this.ranges=t}}function $t(e){return new Ht(e)}function Kt(e){return new qt(e.lineNumber,e.ranges.map($t))}const Gt=_.f;class Yt extends Ee{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(51),this._roundedSelection=t.get(82),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(51),this._roundedSelection=t.get(82),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,n=e.length;t<n;t++){if(e[t].ranges.length>1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,n){const i=this._typicalHalfwidthCharacterWidth/4;let o=null,r=null;if(n&&n.length>0&&t.length>0){const i=t[0].lineNumber;if(i===e.startLineNumber)for(let e=0;!o&&e<n.length;e++)n[e].lineNumber===i&&(o=n[e].ranges[0]);const s=t[t.length-1].lineNumber;if(s===e.endLineNumber)for(let e=n.length-1;!r&&e>=0;e--)n[e].lineNumber===s&&(r=n[e].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}for(let e=0,n=t.length;e<n;e++){const s=t[e].ranges[0],a=s.left,l=s.left+s.width,c={top:0,bottom:0},d={top:0,bottom:0};if(e>0){const n=t[e-1].ranges[0].left,o=t[e-1].ranges[0].left+t[e-1].ranges[0].width;Zt(a-n)<i?c.top=2:a>n&&(c.top=1),Zt(l-o)<i?d.top=2:n<l&&l<o&&(d.top=1)}else o&&(c.top=o.startStyle.top,d.top=o.endStyle.top);if(e+1<n){const n=t[e+1].ranges[0].left,o=t[e+1].ranges[0].left+t[e+1].ranges[0].width;Zt(a-n)<i?c.bottom=2:n<a&&a<o&&(c.bottom=1),Zt(l-o)<i?d.bottom=2:l<o&&(d.bottom=1)}else r&&(c.bottom=r.startStyle.bottom,d.bottom=r.endStyle.bottom);s.startStyle=c,s.endStyle=d}}_getVisibleRangesWithStyle(e,t,n){const i=(t.linesVisibleRangesForRange(e,!0)||[]).map(Kt),o=this._visibleRangesHaveGaps(i);return Gt||o||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,i,n),i}_createSelectionPiece(e,t,n,i,o){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+i.toString()+"px;width:"+o.toString()+"px;height:"+t+'px;"></div>'}_actualRenderOneSelection(e,t,n,i){if(0===i.length)return;const o=!!i[0].ranges[0].startStyle,r=this._lineHeight.toString(),s=(this._lineHeight-1).toString(),a=i[0].lineNumber,l=i[i.length-1].lineNumber;for(let c=0,d=i.length;c<d;c++){const d=i[c],h=d.lineNumber,u=h-t,p=n&&(h===l||h===a)?s:r,m=n&&h===a?1:0;let g="",f="";for(let e=0,t=d.ranges.length;e<t;e++){const t=d.ranges[e];if(o){const e=t.startStyle,n=t.endStyle;if(1===e.top||1===e.bottom){g+=this._createSelectionPiece(m,p,Yt.SELECTION_CLASS_NAME,t.left-Yt.ROUNDED_PIECE_WIDTH,Yt.ROUNDED_PIECE_WIDTH);let n=Yt.EDITOR_BACKGROUND_CLASS_NAME;1===e.top&&(n+=" "+Yt.SELECTION_TOP_RIGHT),1===e.bottom&&(n+=" "+Yt.SELECTION_BOTTOM_RIGHT),g+=this._createSelectionPiece(m,p,n,t.left-Yt.ROUNDED_PIECE_WIDTH,Yt.ROUNDED_PIECE_WIDTH)}if(1===n.top||1===n.bottom){g+=this._createSelectionPiece(m,p,Yt.SELECTION_CLASS_NAME,t.left+t.width,Yt.ROUNDED_PIECE_WIDTH);let e=Yt.EDITOR_BACKGROUND_CLASS_NAME;1===n.top&&(e+=" "+Yt.SELECTION_TOP_LEFT),1===n.bottom&&(e+=" "+Yt.SELECTION_BOTTOM_LEFT),g+=this._createSelectionPiece(m,p,e,t.left+t.width,Yt.ROUNDED_PIECE_WIDTH)}}let n=Yt.SELECTION_CLASS_NAME;if(o){const e=t.startStyle,i=t.endStyle;0===e.top&&(n+=" "+Yt.SELECTION_TOP_LEFT),0===e.bottom&&(n+=" "+Yt.SELECTION_BOTTOM_LEFT),0===i.top&&(n+=" "+Yt.SELECTION_TOP_RIGHT),0===i.bottom&&(n+=" "+Yt.SELECTION_BOTTOM_RIGHT)}f+=this._createSelectionPiece(m,p,n,t.left,t.width)}e[u][0]+=g,e[u][1]+=f}}prepareRender(e){const t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber;for(let e=n;e<=i;e++){t[e-n]=["",""]}const o=[];for(let i=0,r=this._selections.length;i<r;i++){const r=this._selections[i];if(r.isEmpty()){o[i]=null;continue}const s=this._getVisibleRangesWithStyle(r,e,this._previousFrameVisibleRangesWithStyle[i]);o[i]=s,this._actualRenderOneSelection(t,n,this._selections.length>1,s)}this._previousFrameVisibleRangesWithStyle=o,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}function Zt(e){return e<0?-e:e}Yt.SELECTION_CLASS_NAME="selected-text",Yt.SELECTION_TOP_LEFT="top-left-radius",Yt.SELECTION_BOTTOM_LEFT="bottom-left-radius",Yt.SELECTION_TOP_RIGHT="top-right-radius",Yt.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Yt.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Yt.ROUNDED_PIECE_WIDTH=10,Object(B.g)((e,t)=>{const n=e.getColor(_t.O);n&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${n}; }`);const i=e.getColor(_t.J);i&&t.addRule(`.monaco-editor .selected-text { background-color: ${i}; }`);const o=e.getColor(_t.P);o&&!o.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${o}; }`)});n(242);class Xt{constructor(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r}}class Qt{constructor(e){this._context=e;const t=this._context.configuration.options,n=t.get(36);this._cursorStyle=t.get(19),this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(22),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setClassName("cursor "+Oe.a),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),c.a.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new ee.a(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(36);return this._cursorStyle=t.get(19),this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(22),this._typicalHalfwidthCharacterWidth),c.a.applyFontInfo(this._domNode,n),!0}onCursorPositionChanged(e){return this._position=e,!0}_prepareRender(e){let t="";if(this._cursorStyle===j.i.Line||this._cursorStyle===j.i.LineThin){const n=e.visibleRangeForPosition(this._position);if(!n||n.outsideRenderedLine)return null;let i;if(this._cursorStyle===j.i.Line){if(i=o.t(this._lineCursorWidth>0?this._lineCursorWidth:2),i>2){const e=this._context.model.getLineContent(this._position.lineNumber),n=xe.L(e,this._position.column-1);t=e.substr(this._position.column-1,n)}}else i=o.t(1);let r=n.left;i>=2&&r>=1&&(r-=1);const s=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new Xt(s,r,i,this._lineHeight,t,"")}const n=this._context.model.getLineContent(this._position.lineNumber),i=xe.L(n,this._position.column-1),r=e.linesVisibleRangesForRange(new te.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+i),!1);if(!r||0===r.length)return null;const s=r[0];if(s.outsideRenderedLine||0===s.ranges.length)return null;const a=s.ranges[0],l=a.width<1?this._typicalHalfwidthCharacterWidth:a.width;let c="";if(this._cursorStyle===j.i.Block){const e=this._context.model.getViewLineData(this._position.lineNumber);t=n.substr(this._position.column-1,i);const o=e.tokens.findTokenIndexAtOffset(this._position.column-1);c=e.tokens.getClassName(o)}let d=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,h=this._lineHeight;return this._cursorStyle!==j.i.Underline&&this._cursorStyle!==j.i.UnderlineThin||(d+=this._lineHeight-2,h=2),new Xt(d,a.left,l,h,t,c)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${Oe.a} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class Jt extends N{constructor(e){super(e);const t=this._context.configuration.options;this._readOnly=t.get(72),this._cursorBlinking=t.get(17),this._cursorStyle=t.get(19),this._cursorSmoothCaretAnimation=t.get(18),this._selectionIsEmpty=!0,this._isVisible=!1,this._primaryCursor=new Qt(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new b.e,this._cursorFlatBlinkInterval=new b.c,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;this._readOnly=t.get(72),this._cursorBlinking=t.get(17),this._cursorStyle=t.get(19),this._cursorSmoothCaretAnimation=t.get(18),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].onConfigurationChanged(e);return!0}_onCursorPositionChanged(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length){const e=t.length-this._secondaryCursors.length;for(let t=0;t<e;t++){const e=new Qt(this._context);this._domNode.domNode.insertBefore(e.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(e)}}else if(this._secondaryCursors.length>t.length){const e=this._secondaryCursors.length-t.length;for(let t=0;t<e;t++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let e=0;e<t.length;e++)this._secondaryCursors[e].onCursorPositionChanged(t[e])}onCursorStateChanged(e){const t=[];for(let n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));const n=e.selections[0].isEmpty();return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,this._updateDomClassName()),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onFocusChanged(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onTokensChanged(e){const t=t=>{for(let n=0,i=e.ranges.length;n<i;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(const e of this._secondaryCursors)if(t(e.getPosition()))return!0;return!1}onZonesChanged(e){return!0}_getCursorBlinking(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();const e=this._getCursorBlinking(),t=0===e,n=5===e;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),t||n||(1===e?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},Jt.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},Jt.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case j.i.Line:e+=" cursor-line-style";break;case j.i.Block:e+=" cursor-block-style";break;case j.i.Underline:e+=" cursor-underline-style";break;case j.i.LineThin:e+=" cursor-line-thin-style";break;case j.i.BlockOutline:e+=" cursor-block-outline-style";break;case j.i.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;case 5:e+=" cursor-solid";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1}prepareRender(e){this._primaryCursor.prepareRender(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)}render(e){let t=[],n=0;const i=this._primaryCursor.render(e);i&&(t[n++]=i);for(let i=0,o=this._secondaryCursors.length;i<o;i++){const o=this._secondaryCursors[i].render(e);o&&(t[n++]=o)}this._renderData=t}getLastRenderData(){return this._renderData}}Jt.BLINK_INTERVAL=500,Object(B.g)((e,t)=>{const n=e.getColor(Te.g);if(n){let i=e.getColor(Te.f);i||(i=n.opposite()),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${i}; }`),"hc"===e.type&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i}; border-right: 1px solid ${i}; }`)}});const en=()=>{throw new Error("Invalid change accessor")};class tn extends N{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,this.domNode=Object(p.b)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=Object(p.b)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const e=this._context.viewLayout.getWhitespaces(),t=new Map;for(const n of e)t.set(n.id,n);let n=!1;return this._context.model.changeWhitespace(e=>{const i=Object.keys(this._zones);for(let o=0,r=i.length;o<r;o++){const r=i[o],s=this._zones[r],a=this._computeWhitespaceProps(s.delegate),l=t.get(r);!l||l.afterLineNumber===a.afterViewLineNumber&&l.height===a.heightInPx||(e.changeOneWhitespace(r,a.afterViewLineNumber,a.heightInPx),this._safeCallOnComputedHeight(s.delegate,a.heightInPx),n=!0)}}),n}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(51)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(e){return this._recomputeWhitespacesProps()}onLinesDeleted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}onLinesInserted(e){return!0}_getZoneOrdinal(e){return void 0!==e.afterColumn?e.afterColumn:1e4}_computeWhitespaceProps(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};let t,n;if(void 0!==e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{const n=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new ee.a(n,this._context.model.getModelLineMaxColumn(n))}n=t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?this._context.model.validateModelPosition({lineNumber:t.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:t.lineNumber,column:t.column+1});const i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),o=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:i.lineNumber,heightInPx:o?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}}changeViewZones(e){let t=!1;return this._context.model.changeWhitespace(n=>{const i={addZone:e=>(t=!0,this._addZone(n,e)),removeZone:e=>{e&&(t=this._removeZone(n,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(n,e)||t)}};!function(e,t){try{e(t)}catch(e){Object(r.e)(e)}}(e,i),i.addZone=en,i.removeZone=en,i.layoutZone=en}),t}_addZone(e,t){const n=this._computeWhitespaceProps(t),i={whitespaceId:e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),delegate:t,isVisible:!1,domNode:Object(p.b)(t.domNode),marginDomNode:t.marginDomNode?Object(p.b)(t.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,n.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId]=i,this.setShouldRender(),i.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){const t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(r.e)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(r.e)(e)}}prepareRender(e){}render(e){const t=e.viewportData.whitespaceViewportData,n={};let i=!1;for(let e=0,o=t.length;e<o;e++)n[t[e].id]=t[e],i=!0;const o=Object.keys(this._zones);for(let t=0,i=o.length;t<i;t++){const i=o[t],r=this._zones[i];let s=0,a=0,l="none";n.hasOwnProperty(i)?(s=n[i].verticalOffset-e.bigNumbersDelta,a=n[i].height,l="block",r.isVisible||(r.domNode.setAttribute("monaco-visible-view-zone","true"),r.isVisible=!0),this._safeCallOnDomNodeTop(r.delegate,e.getScrolledTopFromAbsoluteTop(n[i].verticalOffset))):(r.isVisible&&(r.domNode.removeAttribute("monaco-visible-view-zone"),r.isVisible=!1),this._safeCallOnDomNodeTop(r.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),r.domNode.setTop(s),r.domNode.setHeight(a),r.domNode.setDisplay(l),r.marginDomNode&&(r.marginDomNode.setTop(s),r.marginDomNode.setHeight(a),r.marginDomNode.setDisplay(l))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}class nn{constructor(e){this._theme=e}get type(){return this._theme.type}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class on{constructor(e,t,n){this.configuration=e,this.theme=new nn(t),this.model=n,this.viewLayout=n.viewLayout}addEventHandler(e){this.model.addViewEventHandler(e)}removeEventHandler(e){this.model.removeViewEventHandler(e)}}class rn{constructor(e,t,n,i){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new te.a(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class sn extends L{constructor(e,t,n,i,o,r){super(),this._selections=[new u.a(1,1,1,1)],this._renderAnimationFrame=null;const s=new Pe(t,i,o,e);this._context=new on(t,n.getColorTheme(),i),this._context.addEventHandler(this),this._register(n.onDidColorThemeChange(e=>{this._context.theme.update(e),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new Re(this._context,s,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=Object(p.b)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=Object(p.b)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=Object(p.b)(document.createElement("div")),I.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new it(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new ht(this._context,this._linesContent),this._viewZones=new tn(this._context),this._viewParts.push(this._viewZones);const a=new zt(this._context);this._viewParts.push(a);const l=new Ut(this._context);this._viewParts.push(l);const c=new qe(this._context);this._viewParts.push(c),c.addDynamicOverlay(new Je(this._context)),c.addDynamicOverlay(new Yt(this._context)),c.addDynamicOverlay(new at(this._context)),c.addDynamicOverlay(new tt(this._context));const d=new $e(this._context);this._viewParts.push(d),d.addDynamicOverlay(new et(this._context)),d.addDynamicOverlay(new st(this._context)),d.addDynamicOverlay(new pt(this._context)),d.addDynamicOverlay(new ut(this._context)),d.addDynamicOverlay(new Le(this._context));const h=new Ne(this._context);h.getDomNode().appendChild(this._viewZones.marginDomNode),h.getDomNode().appendChild(d.getDomNode()),this._viewParts.push(h),this._contentWidgets=new Ge(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new Jt(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new Pt(this._context),this._viewParts.push(this._overlayWidgets);const m=new Vt(this._context);this._viewParts.push(m);const g=new Rt(this._context);if(this._viewParts.push(g),a){const e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(a.getDomNode(),e.insertBefore)}this._linesContent.appendChild(c.getDomNode()),this._linesContent.appendChild(m.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(h.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(l.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(g.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),r?r.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new Ce(this._context,s,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},getLastRenderData:()=>{const e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new ie(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ee.a(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ee.a(e,t)))}}_applyLayout(){const e=this._context.configuration.options.get(117);this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this._overflowGuardContainer.setWidth(e.width),this._overflowGuardContainer.setHeight(e.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(114)+" "+Object(B.f)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(let e=0,t=this._viewParts.length;e<t;e++)this._viewParts[e].dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=o.W(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){!function(e){try{e()}catch(e){Object(r.e)(e)}}(()=>this._actualRender())}_getViewPartsToRender(){let e=[],t=0;for(let n=0,i=this._viewParts.length;n<i;n++){const i=this._viewParts[n];i.shouldRender()&&(e[t++]=i)}return e}_actualRender(){if(!o.N(this.domNode.domNode))return;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return;const t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);const n=new rn(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(n),this._viewLines.shouldRender()&&(this._viewLines.renderText(n),this._viewLines.onDidRender(),e=this._getViewPartsToRender());const i=new O(this._context.viewLayout,n,this._viewLines);for(let t=0,n=e.length;t<n;t++){e[t].prepareRender(i)}for(let t=0,n=e.length;t<n;t++){const n=e[t];n.render(i),n.onDidRender()}}delegateVerticalScrollbarMouseDown(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)}restoreState(e){this._context.model.setScrollPosition({scrollTop:e.scrollTop},1),this._context.model.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.model.setScrollPosition({scrollLeft:e.scrollLeft},1)}getOffsetForColumn(e,t){const n=this._context.model.validateModelPosition({lineNumber:e,column:t}),i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();const o=this._viewLines.visibleRangeForPosition(new ee.a(i.lineNumber,i.column));return o?o.left:-1}getTargetAtClientPoint(e,t){const n=this._pointerHandler.getTargetAtClientPoint(e,t);return n?Fe.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null}createOverviewRuler(e){return new jt(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t){this._viewLines.forceShouldRender();for(let e=0,t=this._viewParts.length;e<t;e++){this._viewParts[e].forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){let t=e.position&&e.position.range||null;if(null===t){const n=e.position?e.position.position:null;null!==n&&(t=new te.a(n.lineNumber,n.column,n.lineNumber,n.column))}const n=e.position?e.position.preference:null;this._contentWidgets.setWidgetPosition(e.widget,t,n),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){const t=e.position?e.position.preference:null;this._overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}}class an{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new ne.f(new te.a(1,1,1,1),0,new ee.a(1,1),0),new ne.f(new te.a(1,1,1,1),0,new ee.a(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new ne.d(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new u.a(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new u.a(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,n){this._setState(e,t,n)}_setState(e,t,n){if(t){const n=e.model.validateRange(t.selectionStart),i=t.selectionStart.equalsRange(n)?t.selectionStartLeftoverVisibleColumns:0,o=e.model.validatePosition(t.position),r=t.position.equals(o)?t.leftoverVisibleColumns:0;t=new ne.f(n,i,o,r)}else{if(!n)return;const i=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)),o=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));t=new ne.f(i,n.selectionStartLeftoverVisibleColumns,o,n.leftoverVisibleColumns)}if(n){const i=e.coordinatesConverter.validateViewRange(n.selectionStart,t.selectionStart),o=e.coordinatesConverter.validateViewPosition(n.position,t.position);n=new ne.f(i,t.selectionStartLeftoverVisibleColumns,o,t.leftoverVisibleColumns)}else{const i=e.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),o=e.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),r=new te.a(i.lineNumber,i.column,o.lineNumber,o.column),s=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);n=new ne.f(r,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)}}class ln{constructor(e){this.context=e,this.primaryCursor=new an(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}dispose(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()}startTrackingSelections(){this.primaryCursor.startTrackingSelection(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].startTrackingSelection(this.context)}stopTrackingSelections(){this.primaryCursor.stopTrackingSelection(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){this.primaryCursor.ensureValidState(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].ensureValidState(this.context)}readSelectionFromMarkers(){let e=[];e[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].readSelectionFromMarkers(this.context);return e}getAll(){let e=[];e[0]=this.primaryCursor.asCursorState();for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].asCursorState();return e}getViewPositions(){let e=[];e[0]=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.position;return e}getTopMostViewPosition(){let e=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++){const n=this.secondaryCursors[t].viewState.position;n.isBefore(e)&&(e=n)}return e}getBottomMostViewPosition(){let e=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++){const n=this.secondaryCursors[t].viewState.position;e.isBeforeOrEqual(n)&&(e=n)}return e}getSelections(){let e=[];e[0]=this.primaryCursor.modelState.selection;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].modelState.selection;return e}getViewSelections(){let e=[];e[0]=this.primaryCursor.viewState.selection;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.selection;return e}setSelections(e){this.setStates(ne.d.fromModelSelections(e))}getPrimaryCursor(){return this.primaryCursor.asCursorState()}setStates(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){const t=this.secondaryCursors.length,n=e.length;if(t<n){let e=n-t;for(let t=0;t<e;t++)this._addSecondaryCursor()}else if(t>n){let e=t-n;for(let t=0;t<e;t++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(let t=0;t<n;t++)this.secondaryCursors[t].setState(this.context,e[t].modelState,e[t].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.secondaryCursors.push(new an(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length}getLastAddedCursorIndex(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex}_removeSecondaryCursor(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)}_getAll(){let e=[];e[0]=this.primaryCursor;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t];return e}normalize(){if(0===this.secondaryCursors.length)return;let e=this._getAll(),t=[];for(let n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((e,t)=>e.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber);for(let n=0;n<t.length-1;n++){const i=t[n],o=t[n+1],r=i.selection,s=o.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let a;if(a=s.isEmpty()||r.isEmpty()?s.getStartPosition().isBeforeOrEqual(r.getEndPosition()):s.getStartPosition().isBefore(r.getEndPosition()),a){const r=i.index<o.index?n:n+1,s=i.index<o.index?n+1:n,a=t[s].index,l=t[r].index,c=t[s].selection,d=t[r].selection;if(!c.equalsSelection(d)){const n=c.plusRange(d),i=c.selectionStartLineNumber===c.startLineNumber&&c.selectionStartColumn===c.startColumn,o=d.selectionStartLineNumber===d.startLineNumber&&d.selectionStartColumn===d.startColumn;let s,h;a===this.lastAddedCursorIndex?(s=i,this.lastAddedCursorIndex=l):s=o,h=s?new u.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new u.a(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn),t[r].selection=h;const p=ne.d.fromModelSelection(h);e[l].setState(this.context,p.modelState,p.viewState)}for(const e of t)e.index>a&&e.index--;e.splice(a,1),t.splice(s,1),this._removeSecondaryCursor(a-1),n--}}}}var cn=n(181),dn=n(126);class hn{constructor(e){this.type=0,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class un{constructor(e,t){this.type=1,this.selections=e,this.modelSelections=t}}class pn{constructor(e){this.type=2,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class mn{constructor(){this.type=3}}class gn{constructor(e){this.type=4,this.isFocused=e}}class fn{constructor(){this.type=5}}class bn{constructor(){this.type=6}}class _n{constructor(e,t){this.type=7,this.fromLineNumber=e,this.toLineNumber=t}}class vn{constructor(e,t){this.type=8,this.fromLineNumber=e,this.toLineNumber=t}}class wn{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class yn{constructor(e,t,n,i,o,r){this.type=10,this.source=e,this.range=t,this.selections=n,this.verticalType=i,this.revealHorizontal=o,this.scrollType=r}}class Cn{constructor(e){this.type=11,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class xn{constructor(){this.type=12}}class Sn{constructor(e){this.type=13,this.ranges=e}}class kn{constructor(){this.type=14}}class En{constructor(){this.type=15}}class Tn extends a.a{constructor(){super(),this._onEvent=this._register(new s.a),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOugoingEvents()}_addOutgoingEvent(e){for(let t=0,n=this._outgoingEvents.length;t<n;t++)if(this._outgoingEvents[t].kind===e.kind)return void(this._outgoingEvents[t]=this._outgoingEvents[t].merge(e));this._outgoingEvents.push(e)}_emitOugoingEvents(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;const e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)}removeViewEventHandler(e){for(let t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}}beginEmitViewEvents(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new Ln),this._collector}endEmitViewEvents(){if(this._collectorCnt--,0===this._collectorCnt){const e=this._collector.outgoingEvents,t=this._collector.viewEvents;this._collector=null;for(const t of e)this._addOutgoingEvent(t);t.length>0&&this._emitMany(t)}this._emitOugoingEvents()}emitSingleViewEvent(e){try{this.beginEmitViewEvents().emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const e=this._viewEventQueue;this._viewEventQueue=null;const t=this._eventHandlers.slice(0);for(const n of t)n.handleEvents(e)}}}class Ln{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class Nn{constructor(e,t,n,i){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=n,this.contentHeight=i,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(e){return 0!==e.kind?this:new Nn(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class In{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(e){return 1!==e.kind?this:new In(this.oldHasFocus,e.hasFocus)}}class On{constructor(e,t,n,i,o,r,s,a){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=n,this._oldScrollTop=i,this.scrollWidth=o,this.scrollLeft=r,this.scrollHeight=s,this.scrollTop=a,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!(this.scrollWidthChanged||this.scrollLeftChanged||this.scrollHeightChanged||this.scrollTopChanged)}merge(e){return 2!==e.kind?this:new On(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class Dn{constructor(){this.kind=3}isNoOp(){return!1}merge(e){return this}}class An{constructor(e,t,n,i,o,r,s){this.kind=5,this.oldSelections=e,this.selections=t,this.oldModelVersionId=n,this.modelVersionId=i,this.source=o,this.reason=r,this.reachedMaxCursorCount=s}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(!e[i].equalsSelection(t[i]))return!1;return!0}isNoOp(){return An._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(e){return 5!==e.kind?this:new An(this.oldSelections,e.selections,this.oldModelVersionId,e.modelVersionId,e.source,e.reason,this.reachedMaxCursorCount||e.reachedMaxCursorCount)}}class Rn{constructor(){this.kind=4}isNoOp(){return!1}merge(e){return this}}class Mn{constructor(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getCursorStates()}equals(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class Pn{constructor(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}static getAllAutoClosedCharacters(e){let t=[];for(const n of e)t=t.concat(n.getAutoClosedCharactersRanges());return t}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){let e=[];for(let t=0;t<this._autoClosedCharactersDecorations.length;t++){const n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e}isValid(e){let t=[];for(let e=0;e<this._autoClosedEnclosingDecorations.length;e++){const n=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[e]);if(n&&(t.push(n),n.startLineNumber!==n.endLineNumber))return!1}t.sort(te.a.compareRangesUsingStarts),e.sort(te.a.compareRangesUsingStarts);for(let n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}class Fn extends a.a{constructor(e,t,n,i){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=n,this.context=new ne.c(this._model,this._coordinatesConverter,i),this._cursors=new ln(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=Object(a.f)(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new ne.c(this._model,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){let e=this._cursors.getSelections();for(let t=0;t<this._autoClosedActions.length;t++){const n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(e,t,n,i){let o=!1;null!==i&&i.length>Fn.MAX_CURSOR_COUNT&&(i=i.slice(0,Fn.MAX_CURSOR_COUNT),o=!0);const r=new Mn(this._model,this);return this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,n,r,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,n,i){const o=this._cursors.getViewPositions();if(o.length>1)this._emitCursorRevealRange(e,t,null,this._cursors.getViewSelections(),0,n,i);else{const r=o[0],s=new te.a(r.lineNumber,r.column,r.lineNumber,r.column);this._emitCursorRevealRange(e,t,s,null,0,n,i)}}_revealPrimaryCursor(e,t,n,i,o){const r=this._cursors.getViewPositions();if(r.length>1)this._emitCursorRevealRange(e,t,null,this._cursors.getViewSelections(),n,i,o);else{const s=r[0],a=new te.a(s.lineNumber,s.column,s.lineNumber,s.column);this._emitCursorRevealRange(e,t,a,null,n,i,o)}}_emitCursorRevealRange(e,t,n,i,o,r,s){e.emitViewEvent(new yn(t,n,i,o,r,s))}saveState(){let e=[];const t=this._cursors.getSelections();for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push({inSelectionMode:!i.isEmpty(),selectionStart:{lineNumber:i.selectionStartLineNumber,column:i.selectionStartColumn},position:{lineNumber:i.positionLineNumber,column:i.positionColumn}})}return e}restoreState(e,t){let n=[];for(let e=0,i=t.length;e<i;e++){const i=t[e];let o=1,r=1;i.position&&i.position.lineNumber&&(o=i.position.lineNumber),i.position&&i.position.column&&(r=i.position.column);let s=o,a=r;i.selectionStart&&i.selectionStart.lineNumber&&(s=i.selectionStart.lineNumber),i.selectionStart&&i.selectionStart.column&&(a=i.selectionStart.column),n.push({selectionStartLineNumber:s,selectionStartColumn:a,positionLineNumber:o,positionColumn:r})}this.setStates(e,"restoreState",0,ne.d.fromModelSelections(n)),this.revealPrimary(e,"restoreState",!0,1)}onModelContentChanged(e,t){if(this._knownModelVersionId=t.versionId,this._isHandling)return;const n=t.containsEvent(1);if(this._prevEditOperationType=0,n)this._cursors.dispose(),this._cursors=new ln(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,"model",1,null,!1);else if(this._hasFocus&&t.resultingSelection&&t.resultingSelection.length>0){const n=ne.d.fromModelSelections(t.resultingSelection);this.setStates(e,"modelChange",t.isUndoing?5:t.isRedoing?6:2,n)&&this._revealPrimaryCursor(e,"modelChange",0,!0,0)}else{const t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,ne.d.fromModelSelections(t))}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),n=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:ne.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,t),toViewLineNumber:n.lineNumber,toViewVisualColumn:ne.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,n)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,n){this.setStates(e,t,0,ne.d.fromModelSelections(n))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let n=[],i=[];for(let o=0,r=e.length;o<r;o++)n.push({range:e[o],options:{inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[o],options:{stickiness:1}});const o=this._model.deltaDecorations([],n),r=this._model.deltaDecorations([],i);this._autoClosedActions.push(new Pn(this._model,o,r))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=class{static executeCommands(e,t,n){const i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(i,n);for(let e=0,t=i.trackedRanges.length;e<t;e++)i.model._setTrackedRange(i.trackedRanges[e],null,0);return o}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const n=this._getEditOperations(e,t);if(0===n.operations.length)return null;const i=n.operations,o=this._getLoserCursorMap(i);if(o.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;let r=[];for(let e=0,t=i.length;e<t;e++)o.hasOwnProperty(i[e].identifier.major.toString())||r.push(i[e]);n.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);let s=e.model.pushEditOperations(e.selectionsBefore,r,n=>{let i=[];for(let t=0;t<e.selectionsBefore.length;t++)i[t]=[];for(const e of n)e.identifier&&i[e.identifier.major].push(e);const o=(e,t)=>e.identifier.minor-t.identifier.minor;let r=[];for(let n=0;n<e.selectionsBefore.length;n++)i[n].length>0?(i[n].sort(o),r[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:()=>i[n],getTrackedSelection:t=>{const n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new u.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new u.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):r[n]=e.selectionsBefore[n];return r});s||(s=e.selectionsBefore);let a=[];for(let e in o)o.hasOwnProperty(e)&&a.push(parseInt(e,10));a.sort((e,t)=>t-e);for(const e of a)s.splice(e,1);return s}static _arrayIsEmpty(e){for(let t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let n=[],i=!1;for(let o=0,r=t.length;o<r;o++){const r=t[o];if(r){const t=this._getEditOperationsFromCommand(e,o,r);n=n.concat(t.operations),i=i||t.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}}static _getEditOperationsFromCommand(e,t,n){let i=[],o=0;const s=(e,r,s=!1)=>{te.a.isEmpty(e)&&""===r||i.push({identifier:{major:t,minor:o++},range:e,text:r,forceMoveMarkers:s,isAutoWhitespaceEdit:n.insertsAutoWhitespace})};let a=!1;const l={addEditOperation:s,addTrackedEditOperation:(e,t,n)=>{a=!0,s(e,t,n)},trackSelection:(t,n)=>{const i=u.a.liftSelection(t);let o;if(i.isEmpty())if("boolean"==typeof n)o=n?2:3;else{const t=e.model.getLineMaxColumn(i.startLineNumber);o=i.startColumn===t?2:3}else o=1;const r=e.trackedRanges.length,s=e.model._setTrackedRange(null,i,o);return e.trackedRanges[r]=s,e.trackedRangesDirection[r]=i.getDirection(),r.toString()}};try{n.getEditOperations(e.model,l)}catch(e){return Object(r.e)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:a}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-te.a.compareRangesUsingEnds(e.range,t.range));let t={};for(let n=1;n<e.length;n++){const i=e[n-1],o=e[n];if(te.a.getStartPosition(i.range).isBefore(te.a.getEndPosition(o.range))){let r;r=i.identifier.major>o.identifier.major?i.identifier.major:o.identifier.major,t[r.toString()]=!0;for(let t=0;t<e.length;t++)e[t].identifier.major===r&&(e.splice(t,1),t<n&&n--,t--);n>0&&n--}}return t}}.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);let n=[],i=[];for(let t=0;t<e.commands.length;t++){const o=e.commands[t];o instanceof dn.b&&o.enclosingRange&&o.closeCharacterRange&&(n.push(o.closeCharacterRange),i.push(o.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,n,i,o){const r=new Mn(this._model,this);if(r.equals(i))return!1;const s=this._cursors.getSelections(),a=this._cursors.getViewSelections();if(e.emitViewEvent(new un(a,s)),!i||i.cursorState.length!==r.cursorState.length||r.cursorState.some((e,t)=>!e.modelState.equals(i.cursorState[t].modelState))){const a=i?i.cursorState.map(e=>e.modelState.selection):null,l=i?i.modelVersionId:0;e.emitOutgoingEvent(new An(a,s,l,r.modelVersionId,t||"keyboard",n,o))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.text||i.text.indexOf("\n")>=0)return null;const o=i.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!o)return null;const r=o[1],s=this.context.cursorConfig.autoClosingPairsClose2.get(r);if(!s||1!==s.length)return null;const a=s[0].open,l=i.text.length-o[2].length-1,c=i.text.lastIndexOf(a,l-1);if(-1===c)return null;t.push([c,l])}return t}executeEdits(e,t,n,i){let o=null;"snippet"===t&&(o=this._findAutoClosingPairs(n)),o&&(n[0]._isTracked=!0);let r=[],s=[];const a=this._model.pushEditOperations(this.getSelections(),n,e=>{if(o)for(let t=0,n=o.length;t<n;t++){const[n,i]=o[t],a=e[t],l=a.range.startLineNumber,c=a.range.startColumn-1+n,d=a.range.startColumn-1+i;r.push(new te.a(l,d+1,l,d+2)),s.push(new te.a(l,c+1,l,d+2))}const t=i(e);return t&&(this._isHandling=!0),t});a&&(this._isHandling=!1,this.setSelections(e,t,a)),r.length>0&&this._pushAutoClosedAction(r,s)}_executeEdit(e,t,n,i=0){if(this.context.cursorConfig.readOnly)return;const o=new Mn(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){Object(r.e)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,n,i,o,!1)&&this._revealPrimaryCursor(t,n,0,!0,0)}setIsDoingComposition(e){this._isDoingComposition=e}startComposition(e){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(e,t){this._executeEdit(()=>{if("keyboard"===t){const e=Pn.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(dn.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),e)),this._selectionsWhenCompositionStarted=null}},e,t)}type(e,t,n){this._executeEdit(()=>{if("keyboard"===n){const e=t.length;let n=0;for(;n<e;){const e=xe.L(t,n),i=t.substr(n,e),o=Pn.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(dn.a.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),o,i)),n+=e}}else this._executeEditOperation(dn.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))},e,n)}replacePreviousChar(e,t,n,i){this._executeEdit(()=>{this._executeEditOperation(dn.a.replacePreviousChar(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,n))},e,i)}paste(e,t,n,i,o){this._executeEdit(()=>{this._executeEditOperation(dn.a.paste(this.context.cursorConfig,this._model,this.getSelections(),t,n,i||[]))},e,o,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(cn.a.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,n){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new ne.e(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}executeCommands(e,t,n){this._executeEdit(()=>{this._executeEditOperation(new ne.e(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}}Fn.MAX_CURSOR_COUNT=1e4;var Wn=n(191),zn=n(143),Bn=n(7),jn=n(182),Vn=n(170);class Un{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(e){this._hasPending=!0,this._inserts.push(e)}change(e){this._hasPending=!0,this._changes.push(e)}remove(e){this._hasPending=!0,this._removes.push(e)}mustCommit(){return this._hasPending}commit(e){if(!this._hasPending)return;const t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}}class Hn{constructor(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0}}class qn{constructor(e,t,n,i){this._instanceId=xe.R(++qn.INSTANCE_COUNT),this._pendingChanges=new Un,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=e,this._lineHeight=t,this._paddingTop=n,this._paddingBottom=i}static findInsertionIndex(e,t,n){let i=0,o=e.length;for(;i<o;){const r=i+o>>>1;t===e[r].afterLineNumber?n<e[r].ordinal?o=r:i=r+1:t<e[r].afterLineNumber?o=r:i=r+1}return i}setLineHeight(e){this._checkPendingChanges(),this._lineHeight=e}setPadding(e,t){this._paddingTop=e,this._paddingBottom=t}onFlushed(e){this._checkPendingChanges(),this._lineCount=e}changeWhitespace(e){let t=!1;try{e({insertWhitespace:(e,n,i,o)=>{t=!0,e|=0,n|=0,i|=0,o|=0;const r=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Hn(r,e,n,i,o)),r},changeOneWhitespace:(e,n,i)=>{t=!0,n|=0,i|=0,this._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:i})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(const t of e)this._insertWhitespace(t);for(const e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(const e of n){const t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}const i=new Set;for(const e of n)i.add(e.id);const o=new Map;for(const e of t)o.set(e.id,e);const r=e=>{let t=[];for(const n of e)if(!i.has(n.id)){if(o.has(n.id)){const e=o.get(n.id);n.afterLineNumber=e.newAfterLineNumber,n.height=e.newHeight}t.push(n)}return t},s=r(this._arr).concat(r(e));s.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=s,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){const t=qn.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){const t=this._arr;for(let n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1}_changeOneWhitespace(e,t,n){const i=this._findWhitespaceIndex(e);if(-1!==i&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){const e=this._arr[i];this._removeWhitespace(i),e.afterLineNumber=t,this._insertWhitespace(e)}}_removeWhitespace(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)}onLinesDeleted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){const i=this._arr[n].afterLineNumber;e<=i&&i<=t?this._arr[n].afterLineNumber=e-1:i>t&&(this._arr[n].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){e<=this._arr[n].afterLineNumber&&(this._arr[n].afterLineNumber+=t-e+1)}}getWhitespacesTotalHeight(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(e){this._checkPendingChanges(),e|=0;let t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(let n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum}getLinesTotalHeight(){this._checkPendingChanges();return this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(e){this._checkPendingChanges(),e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)}_findLastWhitespaceBeforeLineNumber(e){e|=0;const t=this._arr;let n=0,i=t.length-1;for(;n<=i;){const o=n+((i-n|0)/2|0)|0;if(t[o].afterLineNumber<e){if(o+1>=t.length||t[o+1].afterLineNumber>=e)return o;n=o+1|0}else i=o-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t<this._arr.length?t:-1}getFirstWhitespaceIndexAfterLineNumber(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)}getVerticalOffsetForLineNumber(e){let t;this._checkPendingChanges(),t=(e|=0)>1?this._lineHeight*(e-1):0;return t+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth}isAfterLines(e){this._checkPendingChanges();return e>this.getLinesTotalHeight()}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;const t=0|this._lineCount,n=this._lineHeight;let i=1,o=t;for(;i<o;){const t=(i+o)/2|0,r=0|this.getVerticalOffsetForLineNumber(t);if(e>=r+n)i=t+1;else{if(e>=r)return t;o=t}}return i>t?t:i}getLinesViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this._lineHeight,i=0|this.getLineNumberAtOrAfterVerticalOffset(e),o=0|this.getVerticalOffsetForLineNumber(i);let r=0|this._lineCount,s=0|this.getFirstWhitespaceIndexAfterLineNumber(i);const a=0|this.getWhitespacesCount();let l,c;-1===s?(s=a,c=r+1,l=0):(c=0|this.getAfterLineNumberForWhitespaceIndex(s),l=0|this.getHeightForWhitespaceIndex(s));let d=o,h=d;let u=0;o>=5e5&&(u=5e5*Math.floor(o/5e5),u=Math.floor(u/n)*n,h-=u);const p=[],m=e+(t-e)/2;let g=-1;for(let e=i;e<=r;e++){if(-1===g){const t=d,i=d+n;(t<=m&&m<i||t>m)&&(g=e)}for(d+=n,p[e-i]=h,h+=n;c===e;)h+=l,d+=l,s++,s>=a?c=r+1:(c=0|this.getAfterLineNumberForWhitespaceIndex(s),l=0|this.getHeightForWhitespaceIndex(s));if(d>=t){r=e;break}}-1===g&&(g=r);const f=0|this.getVerticalOffsetForLineNumber(r);let b=i,_=r;return b<_&&o<e&&b++,b<_&&f+n>t&&_--,{bigNumbersDelta:u,startLineNumber:i,endLineNumber:r,relativeVerticalOffset:p,centeredLineNumber:g,completelyVisibleStartLineNumber:b,completelyVisibleEndLineNumber:_}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;const t=this.getAfterLineNumberForWhitespaceIndex(e);let n,i;return n=t>=1?this._lineHeight*t:0,i=e>0?this.getWhitespacesAccumulatedHeight(e-1):0,n+i+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t<n;){const i=Math.floor((t+n)/2),o=this.getVerticalOffsetForWhitespaceIndex(i);if(e>=o+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=o)return i;n=i}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;const t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;const n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;const i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];let o=[];for(let e=n;e<=i;e++){const n=this.getVerticalOffsetForWhitespaceIndex(e),i=this.getHeightForWhitespaceIndex(e);if(n>=t)break;o.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:n,height:i})}return o}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}qn.INSTANCE_COUNT=0;class $n{constructor(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class Kn extends a.a{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new s.a),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new $n(0,0,0,0),this._scrollable=this._register(new Vn.a(e,t)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;const t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);const n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire(new Nn(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class Gn extends a.a{constructor(e,t,n){super(),this._configuration=e;const i=this._configuration.options,o=i.get(117),r=i.get(66);this._linesLayout=new qn(t,i.get(51),r.top,r.bottom),this._scrollable=this._register(new Kn(0,n)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new $n(o.contentWidth,0,o.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(94)?125:0)}onConfigurationChanged(e){const t=this._configuration.options;if(e.hasChanged(51)&&this._linesLayout.setLineHeight(t.get(51)),e.hasChanged(66)){const e=t.get(66);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(117)){const e=t.get(117),n=e.contentWidth,i=e.height,o=this._scrollable.getScrollDimensions(),r=o.contentWidth;this._scrollable.setScrollDimensions(new $n(n,o.contentWidth,i,this._getContentHeight(n,i,r)))}else this._updateHeight();e.hasChanged(94)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const n=this._configuration.options.get(84);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,n){const i=this._configuration.options;let o=this._linesLayout.getLinesTotalHeight();return i.get(86)?o+=t-i.get(51):o+=this._getHorizontalScrollbarHeight(e,n),o}_updateHeight(){const e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.contentWidth;this._scrollable.setScrollDimensions(new $n(t,e.contentWidth,n,this._getContentHeight(t,n,i)))}getCurrentViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new bt.f(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new bt.f(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options,n=t.get(118),i=t.get(36);if(n.isViewportWrapping){const n=t.get(117),o=t.get(56);return e>n.contentWidth+i.typicalHalfwidthCharacterWidth&&o.enabled&&"right"===o.side?e+n.verticalScrollbarWidth:e}{const n=t.get(85)*i.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,o)}}setMaxLineWidth(e){const t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new $n(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){const e=this._scrollable.getFutureScrollPosition();let t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}}changeWhitespace(e){const t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){const t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){const n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})}}var Yn=n(30),Zn=n(101);class Xn{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}}class Qn{constructor(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}static getInputOffsetOfOutputPosition(e,t,n){return 0===t?n:e[t-1]+n}static getOutputPositionOfInputOffset(e,t){let n=0,i=e.length-1,o=0,r=0;for(;n<=i;){o=n+(i-n)/2|0;const s=e[o];if(r=o>0?e[o-1]:0,t<r)i=o-1;else{if(!(t>=s))break;n=o+1}}return new Xn(o,t-r)}}class Jn{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)}convertModelRangeToViewRange(e){return this._lines.convertModelRangeToViewRange(e)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}}class ei{constructor(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._counts.length;e<t;e++){const t=this._counts[e],n=e>0?this._modelToView[e-1]:0;this._modelToView[e]=n+t;for(let i=0;i<t;i++)this._viewToModel[n+i]=e}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}}changeValue(e,t){this._counts[e]!==t&&(this._counts[e]=t,this._invalidate(e))}removeValues(e,t){this._counts.splice(e,t),this._invalidate(e)}insertValues(e,t){this._counts=Ze.a(this._counts,e,t),this._invalidate(e)}getTotalValue(){return this._ensureValid(),this._viewToModel.length}getAccumulatedValue(e){return this._ensureValid(),this._modelToView[e]}getIndexOf(e){this._ensureValid();const t=this._viewToModel[e],n=t>0?this._modelToView[t-1]:0;return new Zn.b(t,e-n)}}class ti{constructor(e,t,n,i,o,r,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}dispose(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])}createCoordinatesConverter(){return new Jn(this)}_constructLines(e,t){this.lines=[],e&&(this.hiddenAreasIds=[]);let n=this.model.getLinesContent();const i=n.length,o=this.createLineBreaksComputer();for(let e=0;e<i;e++)o.addRequest(n[e],t?t[e]:null);const r=o.finalize();let s=[],a=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(te.a.compareRangesUsingStarts),l=1,c=0,d=-1,h=d+1<a.length?c+1:i+2;for(let e=0;e<i;e++){let t=e+1;t===h&&(d++,l=a[d].startLineNumber,c=a[d].endLineNumber,h=d+1<a.length?c+1:i+2);let n=t>=l&&t<=c,o=li(r[e],!n);s[e]=o.getViewLineCount(),this.lines[e]=o}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new ei(s)}getHiddenAreas(){return this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e))}_reduceRanges(e){if(0===e.length)return[];let t=e.map(e=>this.model.validateRange(e)).sort(te.a.compareRangesUsingStarts),n=[],i=t[0].startLineNumber,o=t[0].endLineNumber;for(let e=1,r=t.length;e<r;e++){let r=t[e];r.startLineNumber>o+1?(n.push(new te.a(i,1,o,1)),i=r.startLineNumber,o=r.endLineNumber):r.endLineNumber>o&&(o=r.endLineNumber)}return n.push(new te.a(i,1,o,1)),n}setHiddenAreas(e){let t=this._reduceRanges(e),n=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(te.a.compareRangesUsingStarts);if(t.length===n.length){let e=!1;for(let i=0;i<t.length;i++)if(!t[i].equalsRange(n[i])){e=!0;break}if(!e)return!1}let i=[];for(const e of t)i.push({range:e,options:Yn.a.EMPTY});this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,i);let o=t,r=1,s=0,a=-1,l=a+1<o.length?s+1:this.lines.length+2,c=!1;for(let e=0;e<this.lines.length;e++){let t=e+1;t===l&&(a++,r=o[a].startLineNumber,s=o[a].endLineNumber,l=a+1<o.length?s+1:this.lines.length+2);let n=!1;if(t>=r&&t<=s?this.lines[e].isVisible()&&(this.lines[e]=this.lines[e].setVisible(!1),n=!0):(c=!0,this.lines[e].isVisible()||(this.lines[e]=this.lines[e].setVisible(!0),n=!0)),n){let t=this.lines[e].getViewLineCount();this.prefixSumComputer.changeValue(e,t)}}return c||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,n,i){const o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(o&&r&&s&&a)return!1;const l=o&&r&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;let c=null;if(l){c=[];for(let e=0,t=this.lines.length;e<t;e++)c[e]=this.lines[e].getLineBreakData()}return this._constructLines(!1,c),!0}createLineBreaksComputer(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,n){if(e<=this._validModelVersionId)return null;let i=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new vn(i,o)}onModelLinesInserted(e,t,n,i){if(e<=this._validModelVersionId)return null;let o=this.getHiddenAreas(),r=!1,s=new ee.a(t,1);for(const e of o)if(e.containsPosition(s)){r=!0;break}let a=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,l=0,c=[],d=[];for(let e=0,t=i.length;e<t;e++){let t=li(i[e],!r);c.push(t);let n=t.getViewLineCount();l+=n,d[e]=n}return this.lines=this.lines.slice(0,t-1).concat(c).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,d),new wn(a,a+l-1)}onModelLineChanged(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];let i=t-1,o=this.lines[i].getViewLineCount(),r=li(n,this.lines[i].isVisible());this.lines[i]=r;let s=this.lines[i].getViewLineCount(),a=!1,l=0,c=-1,d=0,h=-1,u=0,p=-1;o>s?(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=l+s-1,u=c+1,p=u+(o-s)-1,a=!0):o<s?(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=l+o-1,d=c+1,h=d+(s-o)-1,a=!0):(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=l+s-1),this.prefixSumComputer.changeValue(i,s);return[a,l<=c?new _n(l,c):null,d<=h?new wn(d,h):null,u<=p?new vn(u,p):null]}acceptVersionId(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])}getViewLineCount(){return this.prefixSumComputer.getTotalValue()}_toValidViewLineNumber(e){if(e<1)return 1;const t=this.getViewLineCount();return e>t?t:0|e}getActiveIndentGuide(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);const i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),l=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:l.lineNumber,indent:s.indent}}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t));let o=[],r=[],s=[];const a=n.lineNumber-1,l=i.lineNumber-1;let c=null;for(let e=a;e<=l;e++){const t=this.lines[e];if(t.isVisible()){let i=t.getViewLineNumberOfModelPosition(0,e===a?n.column:1),o=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),l=o-i+1,d=0;l>1&&1===t.getViewLineMinColumn(this.model,e+1,o)&&(d=0===i?1:2),r.push(l),s.push(d),null===c&&(c=new ee.a(e+1,0))}else null!==c&&(o=o.concat(this.model.getLinesIndentGuides(c.lineNumber,e)),c=null)}null!==c&&(o=o.concat(this.model.getLinesIndentGuides(c.lineNumber,i.lineNumber)),c=null);const d=t-e+1;let h=new Array(d),u=0;for(let e=0,t=o.length;e<t;e++){let t,n=o[e],i=Math.min(d-u,r[e]),a=s[e];t=2===a?0:1===a?1:i;for(let e=0;e<i;e++)e===t&&(n=0),h[u++]=n}return h}getViewLineContent(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,i)}getViewLineLength(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,i)}getViewLineMinColumn(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,i)}getViewLineMaxColumn(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,i)}getViewLineData(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,i)}getViewLinesData(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.prefixSumComputer.getIndexOf(e-1),o=e,r=i.index,s=i.remainder,a=[];for(let i=r,l=this.model.getLineCount();i<l;i++){let l=this.lines[i];if(!l.isVisible())continue;let c=i===r?s:0,d=l.getViewLineCount()-c,h=!1;o+d>t&&(h=!0,d=t-o+1);let u=c+d;if(l.getViewLinesData(this.model,i+1,c,u,o-e,n,a),o+=d,h)break}return a}validateViewPosition(e,t,n){e=this._toValidViewLineNumber(e);let i=this.prefixSumComputer.getIndexOf(e-1),o=i.index,r=i.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,r),l=s.getViewLineMaxColumn(this.model,o+1,r);t<a&&(t=a),t>l&&(t=l);let c=s.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new ee.a(o+1,c)).equals(n)?new ee.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)}validateViewRange(e,t){const n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new te.a(n.lineNumber,n.column,i.lineNumber,i.column)}convertViewPositionToModelPosition(e,t){e=this._toValidViewLineNumber(e);let n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,o=n.remainder,r=this.lines[i].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new ee.a(i+1,r))}convertViewRangeToModelRange(e){const t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new te.a(t.lineNumber,t.column,n.lineNumber,n.column)}convertModelPositionToViewPosition(e,t){const n=this.model.validatePosition(new ee.a(e,t)),i=n.lineNumber,o=n.column;let r=i-1,s=!1;for(;r>0&&!this.lines[r].isVisible();)r--,s=!0;if(0===r&&!this.lines[r].isVisible())return new ee.a(1,1);const a=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));let l;return l=s?this.lines[r].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(r+1)):this.lines[i-1].getViewPositionOfModelPosition(a,o),l}convertModelRangeToViewRange(e){let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new te.a(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new te.a(t.lineNumber,t.column,n.lineNumber,n.column)}_getViewLineNumberForModelPosition(e,t){let n=e-1;if(this.lines[n].isVisible()){const e=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(e,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;const i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,this.model.getLineMaxColumn(n+1))}getAllOverviewRulerDecorations(e,t,n){const i=this.model.getOverviewRulerDecorations(e,t),o=new hi;for(const e of i){const t=e.options.overviewRuler,i=t?t.position:0;if(0===i)continue;const r=t.getColor(n),s=this._getViewLineNumberForModelPosition(e.range.startLineNumber,e.range.startColumn),a=this._getViewLineNumberForModelPosition(e.range.endLineNumber,e.range.endColumn);o.accept(r,s,a,i)}return o.result}getDecorationsInRange(e,t,n){const i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),o=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(o.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new te.a(i.lineNumber,1,o.lineNumber,o.column),t,n);let r=[];const s=i.lineNumber-1,a=o.lineNumber-1;let l=null;for(let e=s;e<=a;e++){if(this.lines[e].isVisible())null===l&&(l=new ee.a(e+1,e===s?i.column:1));else if(null!==l){const i=this.model.getLineMaxColumn(e);r=r.concat(this.model.getDecorationsInRange(new te.a(l.lineNumber,l.column,e,i),t,n)),l=null}}null!==l&&(r=r.concat(this.model.getDecorationsInRange(new te.a(l.lineNumber,l.column,o.lineNumber,o.column),t,n)),l=null),r.sort((e,t)=>{const n=te.a.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n});let c=[],d=0,h=null;for(const e of r){const t=e.id;h!==t&&(h=t,c[d++]=e)}return c}}class ni{constructor(){}isVisible(){return!0}setVisible(e){return e?this:ii.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,n){return e.getLineContent(t)}getViewLineLength(e,t,n){return e.getLineLength(t)}getViewLineMinColumn(e,t,n){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,n){return e.getLineMaxColumn(t)}getViewLineData(e,t,n){let i=e.getLineTokens(t),o=i.getLineContent();return new bt.c(o,!1,1,o.length+1,0,i.inflate())}getViewLinesData(e,t,n,i,o,r,s){r[o]?s[o]=this.getViewLineData(e,t,0):s[o]=null}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new ee.a(e,t)}getViewLineNumberOfModelPosition(e,t){return e}}ni.INSTANCE=new ni;class ii{constructor(){}isVisible(){return!1}setVisible(e){return e?ni.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,n){throw new Error("Not supported")}getViewLineLength(e,t,n){throw new Error("Not supported")}getViewLineMinColumn(e,t,n){throw new Error("Not supported")}getViewLineMaxColumn(e,t,n){throw new Error("Not supported")}getViewLineData(e,t,n){throw new Error("Not supported")}getViewLinesData(e,t,n,i,o,r,s){throw new Error("Not supported")}getModelColumnOfViewPosition(e,t){throw new Error("Not supported")}getViewPositionOfModelPosition(e,t){throw new Error("Not supported")}getViewLineNumberOfModelPosition(e,t){throw new Error("Not supported")}}ii.INSTANCE=new ii;class oi{constructor(e,t){this._lineBreakData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(e){return Qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,0)}getInputEndOffsetOfOutputLineIndex(e,t,n){return n+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:Qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,n+1,0)}getViewLineContent(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});return n>0&&(r=si(this._lineBreakData.wrappedTextIndentLength)+r),r}getViewLineLength(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-i;return n>0&&(o=this._lineBreakData.wrappedTextIndentLength+o),o}getViewLineMinColumn(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1}getViewLineMaxColumn(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1}getViewLineData(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});n>0&&(r=si(this._lineBreakData.wrappedTextIndentLength)+r);let s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=r.length+1,l=n+1<this.getViewLineCount(),c=0;n>0&&(c=this._lineBreakData.wrappedTextIndentLength);let d=e.getLineTokens(t);const h=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new bt.c(r,l,s,a,h,d.sliceAndInflate(i,o,c))}getViewLinesData(e,t,n,i,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(let a=n;a<i;a++){let i=o+a-n;r[i]?s[i]=this.getViewLineData(e,t,a):s[i]=null}}getModelColumnOfViewPosition(e,t){if(!this._isVisible)throw new Error("Not supported");let n=t-1;return e>0&&(n<this._lineBreakData.wrappedTextIndentLength?n=0:n-=this._lineBreakData.wrappedTextIndentLength),Qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,n)+1}getViewPositionOfModelPosition(e,t){if(!this._isVisible)throw new Error("Not supported");let n=Qn.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1),i=n.outputLineIndex,o=n.outputOffset+1;return i>0&&(o+=this._lineBreakData.wrappedTextIndentLength),new ee.a(e+i,o)}getViewLineNumberOfModelPosition(e,t){if(!this._isVisible)throw new Error("Not supported");return e+Qn.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1).outputLineIndex}}let ri=[""];function si(e){if(e>=ri.length)for(let t=1;t<=e;t++)ri[t]=ai(t);return ri[e]}function ai(e){return new Array(e+1).join(" ")}function li(e,t){return null===e?t?ni.INSTANCE:ii.INSTANCE:new oi(e,t)}class ci{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){const t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}}class di{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new ci(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,n,i){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,n){return new vn(t,n)}onModelLinesInserted(e,t,n,i){return new wn(t,n)}onModelLineChanged(e,t,n){return[!1,new _n(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesIndentGuides(e,t){const n=t-e+1;let i=new Array(n);for(let e=0;e<n;e++)i[e]=0;return i}getViewLineContent(e){return this.model.getLineContent(e)}getViewLineLength(e){return this.model.getLineLength(e)}getViewLineMinColumn(e){return this.model.getLineMinColumn(e)}getViewLineMaxColumn(e){return this.model.getLineMaxColumn(e)}getViewLineData(e){let t=this.model.getLineTokens(e),n=t.getLineContent();return new bt.c(n,!1,1,n.length+1,0,t.inflate())}getViewLinesData(e,t,n){const i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);let o=[];for(let i=e;i<=t;i++){let t=i-e;n[t]||(o[t]=null),o[t]=this.getViewLineData(i)}return o}getAllOverviewRulerDecorations(e,t,n){const i=this.model.getOverviewRulerDecorations(e,t),o=new hi;for(const e of i){const t=e.options.overviewRuler,i=t?t.position:0;if(0===i)continue;const r=t.getColor(n),s=e.range.startLineNumber,a=e.range.endLineNumber;o.accept(r,s,a,i)}return o.result}getDecorationsInRange(e,t,n){return this.model.getDecorationsInRange(e,t,n)}}class hi{constructor(){this.result=Object.create(null)}accept(e,t,n,i){let o=this.result[e];if(o){const e=o[o.length-3],r=o[o.length-1];if(e===i&&r+1>=t)return void(n>r&&(o[o.length-1]=n));o.push(i,t,n)}else this.result[e]=[i,t,n]}}class ui{constructor(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){const t=e.id;let n=this._decorationsCache[t];if(!n){const i=e.range,o=e.options;let r;if(o.isWholeLine){const e=this._coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.startLineNumber,1)),t=this._coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));r=new te.a(e.lineNumber,e.column,t.lineNumber,t.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new bt.e(r,o),this._decorationsCache[t]=n}return n}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}_getDecorationsViewportData(e){const t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(j.l)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber;let o=[],r=0,s=[];for(let e=n;e<=i;e++)s[e-n]=[];for(let e=0,a=t.length;e<a;e++){let a=t[e],l=a.options,c=this._getOrCreateViewModelDecoration(a),d=c.range;if(o[r++]=c,l.inlineClassName){let e=new bt.a(d,l.inlineClassName,l.inlineClassNameAffectsLetterSpacing?3:0),t=Math.max(n,d.startLineNumber),o=Math.min(i,d.endLineNumber);for(let i=t;i<=o;i++)s[i-n].push(e)}if(l.beforeContentClassName&&n<=d.startLineNumber&&d.startLineNumber<=i){let e=new bt.a(new te.a(d.startLineNumber,d.startColumn,d.startLineNumber,d.startColumn),l.beforeContentClassName,1);s[d.startLineNumber-n].push(e)}if(l.afterContentClassName&&n<=d.endLineNumber&&d.endLineNumber<=i){let e=new bt.a(new te.a(d.endLineNumber,d.endColumn,d.endLineNumber,d.endColumn),l.afterContentClassName,2);s[d.endLineNumber-n].push(e)}}return{decorations:o,inlineDecorations:s}}}class pi extends a.a{constructor(e,t,n,i,o,r){if(super(),this._editorId=e,this._configuration=t,this.model=n,this._eventDispatcher=new Tn,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._tokenizeViewportSoon=this._register(new b.d(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new b.d(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new di(this.model);else{const e=this._configuration.options,t=e.get(36),n=e.get(112),r=e.get(118),s=e.get(111);this._lines=new ti(this.model,i,o,t,this.model.getOptions().tabSize,n,r.wrappingColumn,s)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new Fn(n,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new Gn(this._configuration,this.getLineCount(),r)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new Cn(e)),this._eventDispatcher.emitOutgoingEvent(new On(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new ui(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(ft.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new kn)})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){const e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new gn(e)),this._eventDispatcher.emitOutgoingEvent(new In(!e,e))}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new xn)}_onConfigurationChanged(e,t){let n=null;if(-1!==this._viewportStartLine){let e=new ee.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(e)}let i=!1;const o=this._configuration.options,r=o.get(36),s=o.get(112),a=o.get(118),l=o.get(111);if(this._lines.setWrappingSettings(r,s,a.wrappingColumn,l)&&(e.emitViewEvent(new mn),e.emitViewEvent(new bn),e.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(i=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(72)&&(this._decorations.reset(),e.emitViewEvent(new pn(null))),e.emitViewEvent(new hn(t)),this.viewLayout.onConfigurationChanged(t),i&&n){const e=this.coordinatesConverter.convertModelPositionToViewPosition(n),t=this.viewLayout.getVerticalOffsetForLineNumber(e.lineNumber);this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStartLineDelta},1)}ne.b.shouldRecreate(t)&&(this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeRawContentFast(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();let n=!1,i=!1;const o=e.changes,r=e.versionId,s=this._lines.createLineBreaksComputer();for(const e of o)switch(e.changeType){case 4:for(const t of e.detail)s.addRequest(t,null);break;case 2:s.addRequest(e.detail,null)}const a=s.finalize();let l=0;for(const e of o)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new mn),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),n=!0;break;case 3:{const i=this._lines.onModelLinesDeleted(r,e.fromLineNumber,e.toLineNumber);null!==i&&(t.emitViewEvent(i),this.viewLayout.onLinesDeleted(i.fromLineNumber,i.toLineNumber)),n=!0;break}case 4:{const i=a.slice(l,l+e.detail.length);l+=e.detail.length;const o=this._lines.onModelLinesInserted(r,e.fromLineNumber,e.toLineNumber,i);null!==o&&(t.emitViewEvent(o),this.viewLayout.onLinesInserted(o.fromLineNumber,o.toLineNumber)),n=!0;break}case 2:{const n=a[l];l++;const[o,s,c,d]=this._lines.onModelLineChanged(r,e.lineNumber,n);i=o,s&&t.emitViewEvent(s),c&&(t.emitViewEvent(c),this.viewLayout.onLinesInserted(c.fromLineNumber,c.toLineNumber)),d&&(t.emitViewEvent(d),this.viewLayout.onLinesDeleted(d.fromLineNumber,d.toLineNumber));break}}this._lines.acceptVersionId(r),this.viewLayout.onHeightMaybeChanged(),!n&&i&&(t.emitViewEvent(new bn),t.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){const e=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(e){const t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),n=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:n+this._viewportStartLineDelta},1)}}try{const t=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let n=0,i=e.ranges.length;n<i;n++){const i=e.ranges[n],o=this.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.fromLineNumber,1)).lineNumber,r=this.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.toLineNumber,this.model.getLineMaxColumn(i.toLineNumber))).lineNumber;t[n]={fromLineNumber:o,toLineNumber:r}}this._eventDispatcher.emitSingleViewEvent(new Sn(t)),e.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(e=>{this._eventDispatcher.emitSingleViewEvent(new fn),this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new mn),e.emitViewEvent(new bn),e.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new pn(e))}))}setHiddenAreas(e){try{const t=this._eventDispatcher.beginEmitViewEvents();this._lines.setHiddenAreas(e)&&(t.emitViewEvent(new mn),t.emitViewEvent(new bn),t.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){const e=this._configuration.options.get(117),t=this._configuration.options.get(51),n=Math.max(20,Math.round(e.height/t)),i=this.viewLayout.getLinesViewportData(),o=Math.max(1,i.completelyVisibleStartLineNumber-n),r=Math.min(this.getLineCount(),i.completelyVisibleEndLineNumber+n);return this._toModelVisibleRanges(new te.a(o,this.getLineMinColumn(o),r,this.getLineMaxColumn(r)))}getVisibleRanges(){const e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){const t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this._lines.getHiddenAreas();if(0===n.length)return[t];let i=[],o=0,r=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,l=t.endColumn;for(let e=0,t=n.length;e<t;e++){const t=n[e].startLineNumber,l=n[e].endLineNumber;l<r||(t>a||(r<t&&(i[o++]=new te.a(r,s,t-1,this.model.getLineMaxColumn(t-1))),r=l+1,s=1))}return(r<a||r===a&&s<l)&&(i[o++]=new te.a(r,s,a,l)),i}getCompletelyVisibleViewRange(){const e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new te.a(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))}getCompletelyVisibleViewRangeAtScrollTop(e){const t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new te.a(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))}saveState(){const e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(n,this.getLineMinColumn(n))),o=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:o}}reduceRestoreState(e){if(void 0===e.firstPosition)return this._reduceRestoreStateCompatibility(e);const t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}}_reduceRestoreStateCompatibility(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getTextModelOptions(){return this.model.getOptions()}getLineCount(){return this._lines.getViewLineCount()}setViewport(e,t,n){this._viewportStartLine=e;let i=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e,this.getLineMinColumn(e)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new te.a(i.lineNumber,i.column,i.lineNumber,i.column),1);const o=this.viewLayout.getVerticalOffsetForLineNumber(e),r=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=r-o}getActiveIndentGuide(e,t,n){return this._lines.getActiveIndentGuide(e,t,n)}getLinesIndentGuides(e,t){return this._lines.getViewLinesIndentGuides(e,t)}getLineContent(e){return this._lines.getViewLineContent(e)}getLineLength(e){return this._lines.getViewLineLength(e)}getLineMinColumn(e){return this._lines.getViewLineMinColumn(e)}getLineMaxColumn(e){return this._lines.getViewLineMaxColumn(e)}getLineFirstNonWhitespaceColumn(e){const t=xe.w(this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=xe.J(this.getLineContent(e));return-1===t?0:t+2}getDecorationsInViewport(e){return this._decorations.getDecorationsViewportData(e).decorations}getViewLineRenderingData(e,t){let n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this._lines.getViewLineData(t),s=this._decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return new bt.d(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,n,i,r.tokens,s,o,r.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,n){let i=this._lines.getViewLinesData(e,t,n);return new bt.b(this.getTabSize(),i)}getAllOverviewRulerDecorations(e){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(j.l)(this._configuration.options),e)}invalidateOverviewRulerColorCache(){const e=this.model.getOverviewRulerDecorations();for(const t of e){const e=t.options.overviewRuler;e&&e.invalidateCachedColor()}}invalidateMinimapColorCache(){const e=this.model.getAllDecorations();for(const t of e){const e=t.options.minimap;e&&e.invalidateCachedColor()}}getValueInRange(e,t){const n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)}getModelLineMaxColumn(e){return this.model.getLineMaxColumn(e)}validateModelPosition(e){return this.model.validatePosition(e)}validateModelRange(e){return this.model.validateRange(e)}deduceModelPositionRelativeToViewPosition(e,t,n){const i=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);const o=this.model.getOffsetAt(i)+t;return this.model.getPositionAt(o)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(e,t,n){const i=n?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(te.a.compareRangesUsingStarts);let o=!1,r=!1;for(const t of e)t.isEmpty()?o=!0:r=!0;if(!r){if(!t)return"";const n=e.map(e=>e.startLineNumber);let o="";for(let e=0;e<n.length;e++)e>0&&n[e-1]===n[e]||(o+=this.model.getLineContent(n[e])+i);return o}if(o&&t){let t=[],i=0;for(const o of e){const e=o.startLineNumber;o.isEmpty()?e!==i&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(o,n?2:0)),i=e}return 1===t.length?t[0]:t}let s=[];for(const t of e)t.isEmpty()||s.push(this.model.getValueInRange(t,n?2:0));return 1===s.length?s[0]:s}getRichTextToCopy(e,t){const n=this.model.getLanguageIdentifier();if(1===n.id)return null;if(1!==e.length)return null;let i=e[0];if(i.isEmpty()){if(!t)return null;const e=i.startLineNumber;i=new te.a(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}const o=this._configuration.options.get(36),r=this._getColorMap(),s=o.fontFamily===j.c.fontFamily?o.fontFamily:`'${o.fontFamily}', ${j.c.fontFamily}`;return{mode:n.language,html:`<div style="color: ${r[1]};background-color: ${r[2]};font-family: ${s};font-weight: ${o.fontWeight};font-size: ${o.fontSize}px;line-height: ${o.lineHeight}px;white-space: pre;">`+this._getHTMLToCopy(i,r)+"</div>"}}_getHTMLToCopy(e,t){const n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize();let a="";for(let e=n;e<=o;e++){const l=this.model.getLineTokens(e),c=l.getLineContent(),d=e===n?i-1:0,h=e===o?r-1:c.length;a+=""===c?"<br>":Object(jn.a)(c,l.inflate(),t,d,h,s,m.i)}return a}_getColorMap(){let e=gt.C.getColorMap(),t=["#000000"];if(e)for(let n=1,i=e.length;n<i;n++)t[n]=Ft.a.Format.CSS.formatHex(e[n]);return t}pushStackElement(){this.model.pushStackElement()}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(e,t,n){this._withViewEventsCollector(i=>this._cursor.setStates(i,e,t,n))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Rn):this._withViewEventsCollector(e)}executeEdits(e,t,n){this._executeCursorEdit(i=>this._cursor.executeEdits(i,e,t,n))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(n=>this._cursor.type(n,e,t))}replacePreviousChar(e,t,n){this._executeCursorEdit(i=>this._cursor.replacePreviousChar(i,e,t,n))}paste(e,t,n,i){this._executeCursorEdit(o=>this._cursor.paste(o,e,t,n,i))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(n=>this._cursor.executeCommand(n,e,t))}executeCommands(e,t){this._executeCursorEdit(n=>this._cursor.executeCommands(n,e,t))}revealPrimaryCursor(e,t){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,t,0))}revealTopMostCursor(e){const t=this._cursor.getTopMostViewPosition(),n=new te.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new yn(e,n,null,0,!0,0)))}revealBottomMostCursor(e){const t=this._cursor.getBottomMostViewPosition(),n=new te.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new yn(e,n,null,0,!0,0)))}revealRange(e,t,n,i,o){this._withViewEventsCollector(r=>r.emitViewEvent(new yn(e,n,null,i,t,o)))}getVerticalOffsetForLineNumber(e){return this.viewLayout.getVerticalOffsetForLineNumber(e)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(e,t){this.viewLayout.setScrollPosition({scrollTop:e},t)}setScrollPosition(e,t){this.viewLayout.setScrollPosition(e,t)}deltaScrollNow(e,t){this.viewLayout.deltaScrollNow(e,t)}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new En),this._eventDispatcher.emitOutgoingEvent(new Dn))}setMaxLineWidth(e){this.viewLayout.setMaxLineWidth(e)}_withViewEventsCollector(e){try{e(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}}var mi=n(27),gi=n(10),fi=n(18),bi=n(149),_i=n(49),vi=n(80),wi=n(14),yi=n(76);class Ci extends yi.a{constructor(e,t){super(0);for(let t=0;t<e.length;t++)this.set(e.charCodeAt(t),1);for(let e=0;e<t.length;e++)this.set(t.charCodeAt(e),2)}get(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let xi=[],Si=[];class ki{constructor(e,t){this.classifier=new Ci(e,t)}static create(e){return new ki(e.get(108),e.get(107))}createLineBreaksComputer(e,t,n,i){t|=0,n=+n;let o=[],r=[];return{addRequest:(e,t)=>{o.push(e),r.push(t)},finalize:()=>{const s=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth;let a=[];for(let e=0,l=o.length;e<l;e++){const l=r[e];a[e]=l?Ei(this.classifier,l,o[e],t,n,s,i):Ti(this.classifier,o[e],t,n,s,i)}return xi.length=0,Si.length=0,a}}}}function Ei(e,t,n,i,o,r,s){if(-1===o)return null;const a=n.length;if(a<=1)return null;const l=t.breakOffsets,c=t.breakOffsetsVisibleColumn,d=Oi(n,i,o,r,s),h=o-d;let u=xi,p=Si,m=0,g=0,f=0,b=o;const _=l.length;let v=0;if(v>=0){let e=Math.abs(c[v]-b);for(;v+1<_;){const t=Math.abs(c[v+1]-b);if(t>=e)break;e=t,v++}}for(;v<_;){let t=v<0?0:l[v],o=v<0?0:c[v];g>t&&(t=g,o=f);let s=0,d=0,w=0,y=0;if(o<=b){let f=o,_=0===t?0:n.charCodeAt(t-1),v=0===t?0:e.get(_),C=!0;for(let o=t;o<a;o++){const t=o,a=n.charCodeAt(o);let l,c;if(xe.F(a)?(o++,l=0,c=2):(l=e.get(a),c=Li(a,f,i,r)),t>g&&Ii(_,v,a,l)&&(s=t,d=f),f+=c,f>b){t>g?(w=t,y=f-c):(w=o+1,y=f),f-d>h&&(s=0),C=!1;break}_=a,v=l}if(C){m>0&&(u[m]=l[l.length-1],p[m]=c[l.length-1],m++);break}}if(0===s){let a=o,l=n.charCodeAt(t),c=e.get(l),u=!1;for(let i=t-1;i>=g;i--){const t=i+1,o=n.charCodeAt(i);if(9===o){u=!0;break}let p,m;if(xe.G(o)?(i--,p=0,m=2):(p=e.get(o),m=xe.E(o)?r:1),a<=b){if(0===w&&(w=t,y=a),a<=b-h)break;if(Ii(o,p,l,c)){s=t,d=a;break}}a-=m,l=o,c=p}if(0!==s){const e=h-(y-d);if(e<=i){const t=n.charCodeAt(w);let o;o=xe.F(t)?2:Li(t,y,i,r),e-o<0&&(s=0)}}if(u){v--;continue}}for(0===s&&(s=w,d=y),g=s,u[m]=s,f=d,p[m]=d,m++,b=d+h;v<0||v<_&&c[v]<d;)v++;let C=Math.abs(c[v]-b);for(;v+1<_;){const e=Math.abs(c[v+1]-b);if(e>=C)break;C=e,v++}}return 0===m?null:(u.length=m,p.length=m,xi=t.breakOffsets,Si=t.breakOffsetsVisibleColumn,t.breakOffsets=u,t.breakOffsetsVisibleColumn=p,t.wrappedTextIndentLength=d,t)}function Ti(e,t,n,i,o,r){if(-1===i)return null;const s=t.length;if(s<=1)return null;const a=Oi(t,n,i,o,r),l=i-a;let c=[],d=[],h=0,u=0,p=0,m=i,g=t.charCodeAt(0),f=e.get(g),b=Li(g,0,n,o),_=1;xe.F(g)&&(b+=1,g=t.charCodeAt(1),f=e.get(g),_++);for(let i=_;i<s;i++){const r=i,s=t.charCodeAt(i);let a,_;xe.F(s)?(i++,a=0,_=2):(a=e.get(s),_=Li(s,b,n,o)),Ii(g,f,s,a)&&(u=r,p=b),b+=_,b>m&&((0===u||b-p>l)&&(u=r,p=b-_),c[h]=u,d[h]=p,h++,m=p+l,u=0),g=s,f=a}return 0===h?null:(c[h]=s,d[h]=b,new Qn(c,d,a))}function Li(e,t,n,i){return 9===e?n-t%n:xe.E(e)?i:1}function Ni(e,t){return t-e%t}function Ii(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function Oi(e,t,n,i,o){let r=0;if(0!==o){const s=xe.w(e);if(-1!==s){for(let n=0;n<s;n++){r+=9===e.charCodeAt(n)?Ni(r,t):1}const a=3===o?2:2===o?1:0;for(let e=0;e<a;e++){r+=Ni(r,t)}r+i>n&&(r=0)}}return r}class Di{static create(){return new Di}constructor(){}createLineBreaksComputer(e,t,n,i){t|=0,n=+n;let o=[];return{addRequest:(e,t)=>{o.push(e)},finalize:()=>function(e,t,n,i,o){if(-1===i){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=null;return t}const r=Math.round(i*t.typicalHalfwidthCharacterWidth);2!==o&&3!==o||(o=1);const s=document.createElement("div");c.a.applyFontInfoSlow(s,t);const a=Object(ze.a)(1e4),l=[],d=[],h=[],u=[],p=[];for(let i=0;i<e.length;i++){const s=e[i];let c=0,m=0,g=r;if(0!==o)if(c=xe.w(s),-1===c)c=0;else{for(let e=0;e<c;e++){const t=9===s.charCodeAt(e)?n-m%n:1;m+=t}const e=Math.ceil(t.spaceWidth*m);e+t.typicalFullwidthCharacterWidth>r?(c=0,m=0):g=r-e}const f=s.substr(c),b=Ai(f,m,n,g,a);l[i]=c,d[i]=m,h[i]=f,u[i]=b[0],p[i]=b[1]}s.innerHTML=a.build(),s.style.position="absolute",s.style.top="10000",s.style.wordWrap="break-word",document.body.appendChild(s);let m=document.createRange();const g=Array.prototype.slice.call(s.children,0);let f=[];for(let t=0;t<e.length;t++){const e=g[t],n=Ri(m,e,h[t],u[t]);if(null===n){f[t]=null;continue}const i=l[t],o=d[t],r=p[t],s=[];for(let e=0,t=n.length;e<t;e++)s[e]=r[n[e]];if(0!==i)for(let e=0,t=n.length;e<t;e++)n[e]+=i;f[t]=new Qn(n,s,o)}return document.body.removeChild(s),f}(o,e,t,n,i)}}}function Ai(e,t,n,i,o){o.appendASCIIString('<div style="width:'),o.appendASCIIString(String(i)),o.appendASCIIString('px;">');const r=e.length;let s=t,a=0,l=[],c=[],d=0<r?e.charCodeAt(0):0;o.appendASCIIString("<span>");for(let t=0;t<r;t++){0!==t&&t%16384==0&&o.appendASCIIString("</span><span>"),l[t]=a,c[t]=s;const i=d;d=t+1<r?e.charCodeAt(t+1):0;let h=1,u=1;switch(i){case 9:h=n-s%n,u=h;for(let e=1;e<=h;e++)e<h?o.write1(160):o.appendASCII(32);break;case 32:32===d?o.write1(160):o.appendASCII(32);break;case 60:o.appendASCIIString("<");break;case 62:o.appendASCIIString(">");break;case 38:o.appendASCIIString("&");break;case 0:o.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:o.write1(65533);break;default:xe.E(i)&&u++,o.write1(i)}a+=h,s+=u}return o.appendASCIIString("</span>"),l[e.length]=a,c[e.length]=s,o.appendASCIIString("</div>"),[l,c]}function Ri(e,t,n,i){if(n.length<=1)return null;const o=Array.prototype.slice.call(t.children,0),r=[];try{!function e(t,n,i,o,r,s,a,l){if(o===s)return;if(r=r||Mi(t,n,i[o],i[o+1]),a=a||Mi(t,n,i[s],i[s+1]),Math.abs(r[0].top-a[0].top)<=.1)return;if(o+1===s)return void l.push(s);const c=o+(s-o)/2|0,d=Mi(t,n,i[c],i[c+1]);e(t,n,i,o,r,c,d,l),e(t,n,i,c,d,s,a,l)}(e,o,i,0,null,n.length-1,null,r)}catch(e){return console.log(e),null}return 0===r.length?null:(r.push(n.length),r)}function Mi(e,t,n,i){return e.setStart(t[n/16384|0].firstChild,n%16384),e.setEnd(t[i/16384|0].firstChild,i%16384),e.getClientRects()}var Pi=n(129),Fi=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Wi=function(e,t){return function(n,i){t(n,i,e)}};let zi=0;class Bi{constructor(e,t,n,i,o){this.model=e,this.viewModel=t,this.view=n,this.hasRealView=i,this.listenersToRemove=o}dispose(){Object(a.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let ji=class e extends a.a{constructor(e,t,n,i,o,a,l,c,h,u){let p;super(),this._onDidDispose=this._register(new s.a),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new s.a),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new s.a),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new s.a),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new s.a),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new s.a),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new s.a),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new s.a),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new s.a),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new s.a),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new s.a),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new s.a),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new Vi),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new Vi),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new s.a),this.onWillType=this._onWillType.event,this._onDidType=this._register(new s.a),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new s.a),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new s.a),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new s.a),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new s.a),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new s.a),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new s.a),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new s.a),this.onMouseDrop=this._onMouseDrop.event,this._onContextMenu=this._register(new s.a),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new s.a),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new s.a),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new s.a),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new s.a),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new s.a),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new s.a),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new s.a),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new s.a),this.onDidChangeViewZones=this._onDidChangeViewZones.event,t=t||{},this._domElement=e,this._overflowWidgetsDomNode=t.overflowWidgetsDomNode,this._id=++zi,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this.isSimpleWidget=n.isSimpleWidget||!1,this._telemetryData=n.telemetryData,this._configuration=this._register(this._createConfiguration(t,u)),this._register(this._configuration.onDidChange(e=>{this._onDidChangeConfiguration.fire(e);const t=this._configuration.options;if(e.hasChanged(117)){const e=t.get(117);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(l.createScoped(this._domElement)),this._notificationService=h,this._codeEditorService=o,this._commandService=a,this._themeService=c,this._register(new Ui(this,this._contextKeyService)),this._register(new Hi(this,this._contextKeyService)),this._instantiationService=i.createChild(new bi.a([gi.b,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new qi(e),this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())}),this._contentWidgets={},this._overlayWidgets={},p=Array.isArray(n.contributions)?n.contributions:d.d.getEditorContributions();for(const e of p)try{const t=this._instantiationService.createInstance(e.ctor,this);this._contributions[e.id]=t}catch(e){Object(r.e)(e)}d.d.getEditorActions().forEach(e=>{const t=new Wn.a(e.id,e.label,e.alias,Object(wi.n)(e.precondition),()=>this._instantiationService.invokeFunction(t=>Promise.resolve(e.runEditorCommand(t,this,null))),this._contextKeyService);this._actions[t.id]=t}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(e,t){return new c.a(this.isSimpleWidget,e,this._domElement,t)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return zn.a.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();const e=Object.keys(this._contributions);for(let t=0,n=e.length;t<n;t++){const n=e[t];this._contributions[n].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e)}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?Pi.a.getWordAtPosition(this._modelData.model,this._configuration.options.get(105),e):null}getValue(e=null){if(!this._modelData)return"";const t=!(!e||!e.preserveBOM);let n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)}setValue(e){this._modelData&&this._modelData.model.setValue(e)}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){const t=e;if(null===this._modelData&&null===t)return;if(this._modelData&&this._modelData.model===t)return;const n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();const o={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(o),this._postDetachModelCleanup(i)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){const t=this._decorationTypeSubtypes[e];for(let n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetForPosition(e,t,n){const i=e.model.validatePosition({lineNumber:t,column:n}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber)}getTopForLineNumber(t){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,1):-1}getTopForPosition(t,n){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,n):-1}setHiddenAreas(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map(e=>te.a.lift(e)))}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;const t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return ne.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e){if(this._modelData){if(!ee.a.isIPosition(e))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,n,i){if(!this._modelData)return;if(!te.a.isIRange(e))throw new Error("Invalid arguments");const o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.viewModel.revealRange("api",n,r,t,i)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,n){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new te.a(e,1,e,1),t,!1,n)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,n,i){if(!ee.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new te.a(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e){const t=u.a.isISelection(e),n=te.a.isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){const t={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(t)}}_setSelectionImpl(e){if(!this._modelData)return;const t=new u.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections("api",[t])}revealLines(e,t,n=0){this._revealLines(e,t,0,n)}revealLinesInCenter(e,t,n=0){this._revealLines(e,t,1,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._revealLines(e,t,2,n)}revealLinesNearTop(e,t,n=0){this._revealLines(e,t,5,n)}_revealLines(e,t,n,i){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new te.a(e,1,t,1),n,!1,i)}revealRange(e,t=0,n=!1,i=!0){this._revealRange(e,n?1:0,i,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,n,i){if(!te.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(te.a.lift(e),t,n,i)}setSelections(e,t="api"){if(this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(let t=0,n=e.length;t<n;t++)if(!u.a.isISelection(e[t]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(t,e)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(e,t=1){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollLeft:e},t)}}setScrollTop(e,t=1){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollTop:e},t)}}setScrollPosition(e,t=1){this._modelData&&this._modelData.viewModel.setScrollPosition(e,t)}saveViewState(){if(!this._modelData)return null;const e={},t=Object.keys(this._contributions);for(const n of t){const t=this._contributions[n];"function"==typeof t.saveViewState&&(e[n]=t.saveViewState())}return{cursorState:this._modelData.viewModel.saveCursorState(),viewState:this._modelData.viewModel.saveState(),contributionsState:e}}restoreViewState(e){if(!this._modelData||!this._modelData.hasRealView)return;const t=e;if(t&&t.cursorState&&t.viewState){const e=t.cursorState;Array.isArray(e)?this._modelData.viewModel.restoreCursorState(e):this._modelData.viewModel.restoreCursorState([e]);const n=t.contributionsState||{},i=Object.keys(this._contributions);for(let e=0,t=i.length;e<t;e++){const t=i[e],o=this._contributions[t];"function"==typeof o.restoreViewState&&o.restoreViewState(n[t])}const o=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(o)}}getContribution(e){return this._contributions[e]||null}getActions(){const e=[],t=Object.keys(this._actions);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._actions[i])}return e}getSupportedActions(){let e=this.getActions();return e=e.filter(e=>e.isSupported()),e}getAction(e){return this._actions[e]||null}trigger(e,t,n){switch(n=n||{},t){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(e);case"type":{const t=n;return void this._type(e,t.text||"")}case"replacePreviousChar":{const t=n;return void this._replacePreviousChar(e,t.text||"",t.replaceCharCnt||0)}case"paste":{const t=n;return void this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null)}case"cut":return void this._cut(e)}const i=this.getAction(t);i?Promise.resolve(i.run()).then(void 0,r.e):this._modelData&&this._triggerEditorCommand(e,t,n)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_replacePreviousChar(e,t,n){this._modelData&&this._modelData.viewModel.replacePreviousChar(t,n,e)}_paste(e,t,n,i,o){if(!this._modelData||0===t.length)return;const r=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(t,n,i,e);const s=this._modelData.viewModel.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new te.a(r.lineNumber,r.column,s.lineNumber,s.column),mode:o})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,n){const i=d.d.getEditorCommand(t);return!!i&&((n=n||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(i.runEditorCommand(e,this,n)).then(void 0,r.e)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&(!this._configuration.options.get(72)&&(this._modelData.model.pushStackElement(),!0))}executeEdits(e,t,n){if(!this._modelData)return!1;if(this._configuration.options.get(72))return!1;let i;return i=n?Array.isArray(n)?()=>n:n:()=>null,this._modelData.viewModel.executeEdits(e,t,i),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(j.l)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){const t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){return this._configuration.options.get(117)}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeReferenceElement(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){const t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}}removeContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){const t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}}removeOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;const n=this._modelData.model.validatePosition(t),i=this._configuration.options,o=i.get(117);return{top:e._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+o.glyphMarginWidth+o.lineNumbersWidth+o.decorationsWidth-this.getScrollLeft(),height:i.get(51)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){c.a.applyFontInfoSlow(e,this._configuration.options.get(36))}_attachModel(e){if(!e)return void(this._modelData=null);const t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();const n=new pi(this._id,this._configuration,e,Di.create(),ki.create(this._configuration.options),e=>o.Y(e));t.push(e.onDidChangeDecorations(e=>this._onDidChangeModelDecorations.fire(e))),t.push(e.onDidChangeLanguage(t=>{this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(t)})),t.push(e.onDidChangeLanguageConfiguration(e=>this._onDidChangeModelLanguageConfiguration.fire(e))),t.push(e.onDidChangeContent(e=>this._onDidChangeModelContent.fire(e))),t.push(e.onDidChangeOptions(e=>this._onDidChangeModelOptions.fire(e))),t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(e=>{switch(e.kind){case 0:this._onDidContentSizeChange.fire(e);break;case 1:this._editorTextFocus.setValue(e.hasFocus);break;case 2:this._onDidScrollChange.fire(e);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{e.reachedMaxCursorCount&&this._notificationService.warn(i.a("cursors.maximum","The number of cursors has been limited to {0}.",Fn.MAX_CURSOR_COUNT));const t=[];for(let n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();const n={position:t[0],secondaryPositions:t.slice(1),reason:e.reason,source:e.source};this._onDidChangeCursorPosition.fire(n);const o={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};this._onDidChangeCursorSelection.fire(o);break}}}));const[r,s]=this._createView(n);if(s){this._domElement.appendChild(r.domNode.domNode);let t=Object.keys(this._contentWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];r.addContentWidget(this._contentWidgets[n])}t=Object.keys(this._overlayWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];r.addOverlayWidget(this._overlayWidgets[n])}r.render(!1,!0),r.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new Bi(e,n,r,s,t)}_createView(e){let t;t=this.isSimpleWidget?{paste:(e,t,n,i)=>{this._paste("keyboard",e,t,n,i)},type:e=>{this._type("keyboard",e)},replacePreviousChar:(e,t)=>{this._replacePreviousChar("keyboard",e,t)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,n,i)=>{const o={text:e,pasteOnNewLine:t,multicursorText:n,mode:i};this._commandService.executeCommand("paste",o)},type:e=>{const t={text:e};this._commandService.executeCommand("type",t)},replacePreviousChar:(e,t)=>{const n={text:e,replaceCharCnt:t};this._commandService.executeCommand("replacePreviousChar",n)},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const n=new Fe(e.coordinatesConverter);n.onKeyDown=e=>this._onKeyDown.fire(e),n.onKeyUp=e=>this._onKeyUp.fire(e),n.onContextMenu=e=>this._onContextMenu.fire(e),n.onMouseMove=e=>this._onMouseMove.fire(e),n.onMouseLeave=e=>this._onMouseLeave.fire(e),n.onMouseDown=e=>this._onMouseDown.fire(e),n.onMouseUp=e=>this._onMouseUp.fire(e),n.onMouseDrag=e=>this._onMouseDrag.fire(e),n.onMouseDrop=e=>this._onMouseDrop.fire(e),n.onMouseWheel=e=>this._onMouseWheel.fire(e);return[new sn(t,this._configuration,this._themeService,e,n,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),e}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}};ji=Fi([Wi(3,fi.a),Wi(4,h.a),Wi(5,mi.b),Wi(6,gi.b),Wi(7,B.c),Wi(8,_i.a),Wi(9,vi.b)],ji);class Vi extends a.a{constructor(){super(),this._onDidChangeToTrue=this._register(new s.a),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new s.a),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){const t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class Ui extends a.a{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=Bn.a.editorSimpleInput.bindTo(t),this._editorFocus=Bn.a.focus.bindTo(t),this._textInputFocus=Bn.a.textInputFocus.bindTo(t),this._editorTextFocus=Bn.a.editorTextFocus.bindTo(t),this._editorTabMovesFocus=Bn.a.tabMovesFocus.bindTo(t),this._editorReadonly=Bn.a.readOnly.bindTo(t),this._editorColumnSelection=Bn.a.columnSelection.bindTo(t),this._hasMultipleSelections=Bn.a.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=Bn.a.hasNonEmptySelection.bindTo(t),this._canUndo=Bn.a.canUndo.bindTo(t),this._canRedo=Bn.a.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(116)),this._editorReadonly.set(e.get(72)),this._editorColumnSelection.set(e.get(13))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class Hi extends a.a{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this._langId=Bn.a.languageId.bindTo(t),this._hasCompletionItemProvider=Bn.a.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=Bn.a.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=Bn.a.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=Bn.a.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=Bn.a.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=Bn.a.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=Bn.a.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=Bn.a.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=Bn.a.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=Bn.a.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=Bn.a.hasReferenceProvider.bindTo(t),this._hasRenameProvider=Bn.a.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=Bn.a.hasSignatureHelpProvider.bindTo(t),this._hasDocumentFormattingProvider=Bn.a.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=Bn.a.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=Bn.a.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=Bn.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=Bn.a.isInWalkThroughSnippet.bindTo(t);const n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(gt.d.onDidChange(n)),this._register(gt.a.onDidChange(n)),this._register(gt.b.onDidChange(n)),this._register(gt.f.onDidChange(n)),this._register(gt.e.onDidChange(n)),this._register(gt.q.onDidChange(n)),this._register(gt.D.onDidChange(n)),this._register(gt.p.onDidChange(n)),this._register(gt.i.onDidChange(n)),this._register(gt.m.onDidChange(n)),this._register(gt.v.onDidChange(n)),this._register(gt.w.onDidChange(n)),this._register(gt.g.onDidChange(n)),this._register(gt.j.onDidChange(n)),this._register(gt.y.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const e=this._editor.getModel();e?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(gt.d.has(e)),this._hasCodeActionsProvider.set(gt.a.has(e)),this._hasCodeLensProvider.set(gt.b.has(e)),this._hasDefinitionProvider.set(gt.f.has(e)),this._hasDeclarationProvider.set(gt.e.has(e)),this._hasImplementationProvider.set(gt.q.has(e)),this._hasTypeDefinitionProvider.set(gt.D.has(e)),this._hasHoverProvider.set(gt.p.has(e)),this._hasDocumentHighlightProvider.set(gt.i.has(e)),this._hasDocumentSymbolProvider.set(gt.m.has(e)),this._hasReferenceProvider.set(gt.v.has(e)),this._hasRenameProvider.set(gt.w.has(e)),this._hasSignatureHelpProvider.set(gt.y.has(e)),this._hasDocumentFormattingProvider.set(gt.g.has(e)||gt.j.has(e)),this._hasDocumentSelectionFormattingProvider.set(gt.j.has(e)),this._hasMultipleDocumentFormattingProvider.set(gt.g.all(e).length+gt.j.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(gt.j.all(e).length>1),this._isInWalkThrough.set(e.uri.scheme===l.b.walkThroughSnippet)}):this.reset()}}class qi extends a.a{constructor(e){super(),this._onChange=this._register(new s.a),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(o.bb(e)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const $i=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Ki=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Gi(e){return $i+encodeURIComponent(e.toString())+Ki}const Yi=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Zi=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(B.g)((e,t)=>{const n=e.getColor(_t.t);n&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${n}; }`);const i=e.getColor(_t.u);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${Gi(i)}") repeat-x bottom left; }`);const o=e.getColor(_t.S);o&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${o}; }`);const r=e.getColor(_t.T);r&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${Gi(r)}") repeat-x bottom left; }`);const s=e.getColor(_t.K);s&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${s}; }`);const a=e.getColor(_t.L);a&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${Gi(a)}") repeat-x bottom left; }`);const l=e.getColor(_t.C);l&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${l}; }`);const c=e.getColor(_t.D);var d;c&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${d=c,Yi+encodeURIComponent(d.toString())+Zi}") no-repeat bottom left; }`);const h=e.getColor(Te.p);h&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${h.rgba.a}; }`);const u=e.getColor(Te.o);u&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${u}; }`);const p=e.getColor(_t.B)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${p}}`)})},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var i=n(1);function o(e,t={}){const n=s(t);return n.textContent=e,n}function r(e,t={}){const n=s(t);return function e(t,n,o){let r;if(2===n.type)r=document.createTextNode(n.content||"");else if(3===n.type)r=document.createElement("b");else if(4===n.type)r=document.createElement("i");else if(5===n.type&&o){const e=document.createElement("a");e.href="#",o.disposeables.add(i.n(e,"click",e=>{o.callback(String(n.index),e)})),r=e}else 7===n.type?r=document.createElement("br"):1===n.type&&(r=t);r&&t!==r&&t.appendChild(r);r&&Array.isArray(n.children)&&n.children.forEach(t=>{e(r,t,o)})}(n,function(e){const t={type:1,children:[]};let n=0,i=t;const o=[],r=new a(e);for(;!r.eos();){let e=r.next();const t="\\"===e&&0!==l(r.peek());if(t&&(e=r.next()),t||0===l(e)||e!==r.peek())if("\n"===e)2===i.type&&(i=o.pop()),i.children.push({type:7});else if(2!==i.type){const t={type:2,content:e};i.children.push(t),o.push(i),i=t}else i.content+=e;else{r.advance(),2===i.type&&(i=o.pop());const t=l(e);if(i.type===t||5===i.type&&6===t)i=o.pop();else{const e={type:t,children:[]};5===t&&(e.index=n,n++),i.children.push(e),o.push(i),i=e}}}2===i.type&&(i=o.pop());o.length;return t}(e),t.actionHandler),n}function s(e){const t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}class a{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(6),o=n(2),r=n(18);const s=Object(r.c)("IStorageKeysSyncRegistryService");class a extends o.a{constructor(){super(),this._storageKeys=new Map,this._onDidChangeStorageKeys=this._register(new i.a),this._register(Object(o.h)(()=>this._storageKeys.clear()))}get storageKeys(){return[...this._storageKeys.values()]}registerStorageKey(e){this._storageKeys.has(e.key)||(this._storageKeys.set(e.key,e),this._onDidChangeStorageKeys.fire(this.storageKeys))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f}));var i=n(34),o=n(1),r=n(20),s=n(6),a=n(2),l=n(11),c=n(8),d=n(127),h=n(9),u=n(21),p=n(138);const m={forceCopyWithSyntaxHighlighting:!1};class g{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}g.INSTANCE=new g;class f extends a.a{constructor(e,t){super(),this.textArea=t,this._onFocus=this._register(new s.a),this.onFocus=this._onFocus.event,this._onBlur=this._register(new s.a),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new s.a),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new s.a),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new s.a),this.onCut=this._onCut.event,this._onPaste=this._register(new s.a),this.onPaste=this._onPaste.event,this._onType=this._register(new s.a),this.onType=this._onType.event,this._onCompositionStart=this._register(new s.a),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new s.a),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new s.a),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new s.a),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._host=e,this._textArea=this._register(new _(t)),this._asyncTriggerCut=this._register(new r.d(()=>this._onCut.fire(),0)),this._textAreaState=d.b.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let n=null;this._register(o.n(t.domNode,"keydown",e=>{(109===e.keyCode||this._isDoingComposition&&1===e.keyCode)&&e.stopPropagation(),e.equals(9)&&e.preventDefault(),n=e,this._onKeyDown.fire(e)})),this._register(o.n(t.domNode,"keyup",e=>{this._onKeyUp.fire(e)})),this._register(o.i(t.domNode,"compositionstart",e=>{if(this._isDoingComposition)return;this._isDoingComposition=!0;let t=!1;l.f&&n&&n.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"!==n.code&&"ArrowLeft"!==n.code||(t=!0)),t?this._textAreaState=new d.b(this._textAreaState.value,this._textAreaState.selectionStart-1,this._textAreaState.selectionEnd,this._textAreaState.selectionStartPosition?new h.a(this._textAreaState.selectionStartPosition.lineNumber,this._textAreaState.selectionStartPosition.column-1):null,this._textAreaState.selectionEndPosition):i.f||this._setAndWriteTextAreaState("compositionstart",d.b.EMPTY),this._onCompositionStart.fire({moveOneCharacterLeft:t})}));const a=e=>{const t=this._textAreaState,n=d.b.readFromTextArea(this._textArea);return[n,d.b.deduceInput(t,n,e)]},u=e=>{const t=this._textAreaState,n=d.b.selectedText(e);return[n,{text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart}]},p=e=>!(!i.f||"ja"!==e);this._register(o.i(t.domNode,"compositionupdate",e=>{if(p(e.locale)){const[t,n]=a(!1);return this._textAreaState=t,this._onType.fire(n),void this._onCompositionUpdate.fire(e)}const[t,n]=u(e.data||"");this._textAreaState=t,this._onType.fire(n),this._onCompositionUpdate.fire(e)})),this._register(o.i(t.domNode,"compositionend",e=>{if(this._isDoingComposition){if(p(e.locale)){const[e,t]=a(!1);this._textAreaState=e,this._onType.fire(t)}else{const[t,n]=u(e.data||"");this._textAreaState=t,this._onType.fire(n)}(i.f||i.e)&&(this._textAreaState=d.b.readFromTextArea(this._textArea)),this._isDoingComposition&&(this._isDoingComposition=!1,this._onCompositionEnd.fire())}})),this._register(o.i(t.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),this._isDoingComposition)return;const[e,t]=a(l.f);0===t.replaceCharCnt&&1===t.text.length&&c.F(t.text.charCodeAt(0))||(this._textAreaState=e,0===this._nextCommand?""!==t.text&&this._onType.fire(t):(""===t.text&&0===t.replaceCharCnt||this._firePaste(t.text,null),this._nextCommand=0))})),this._register(o.i(t.domNode,"cut",e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(o.i(t.domNode,"copy",e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(o.i(t.domNode,"paste",e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),b.canUseTextData(e)){const[t,n]=b.getTextData(e);""!==t&&this._firePaste(t,n)}else this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",d.b.EMPTY),this._nextCommand=1})),this._register(o.i(t.domNode,"focus",()=>{this._setHasFocus(!0)})),this._register(o.i(t.domNode,"blur",()=>{this._setHasFocus(!1)}))}_installSelectionChangeListener(){let e=0;return o.i(document,"selectionchange",t=>{if(!this._hasFocus)return;if(this._isDoingComposition)return;if(!i.e)return;const n=Date.now(),o=n-e;if(e=n,o<5)return;const r=n-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),r<100)return;if(!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const s=this._textArea.getValue();if(this._textAreaState.value!==s)return;const a=this._textArea.getSelectionStart(),l=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===a&&this._textAreaState.selectionEnd===l)return;const c=this._textAreaState.deduceEditorPosition(a),d=this._host.deduceModelPosition(c[0],c[1],c[2]),h=this._textAreaState.deduceEditorPosition(l),p=this._host.deduceModelPosition(h[0],h[1],h[2]),m=new u.a(d.lineNumber,d.column,p.lineNumber,p.column);this._onSelectionChangeRequest.fire(m)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){const e=o.E(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):o.N(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(i.f?this._setAndWriteTextAreaState("focusgain",d.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(b.canUseTextData(e)&&p.a.clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};g.INSTANCE.set(i.h?t.text.replace(/\r\n/g,"\n"):t.text,n),b.canUseTextData(e)?b.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",d.b.selectedText(t.text))}_firePaste(e,t){t||(t=g.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})}}class b{static canUseTextData(e){return!!e.clipboardData||!!window.clipboardData}static getTextData(e){if(e.clipboardData){e.preventDefault();const t=e.clipboardData.getData("text/plain");let n=null;const i=e.clipboardData.getData("vscode-editor-data");if("string"==typeof i)try{n=JSON.parse(i),1!==n.version&&(n=null)}catch(e){}return[t,n]}if(window.clipboardData){e.preventDefault();return[window.clipboardData.getData("Text"),null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(e,t,n,i){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"==typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(i)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")}}class _ extends a.a{constructor(e){super(),this._actual=e,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(e,t){const n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)}getSelectionStart(){return this._actual.domNode.selectionStart}getSelectionEnd(){return this._actual.domNode.selectionEnd}setSelectionRange(e,t,n){const r=this._actual.domNode;let s=null;const a=o.E(r);s=a?a.activeElement:document.activeElement;const l=s===r,c=r.selectionStart,d=r.selectionEnd;if(l&&c===t&&d===n)i.h&&window.parent!==window&&r.focus();else{if(l)return this.setIgnoreSelectionChangeTime("setSelectionRange"),r.setSelectionRange(t,n),void(i.h&&window.parent!==window&&r.focus());try{const e=o.X(r);this.setIgnoreSelectionChangeTime("setSelectionRange"),r.focus(),r.setSelectionRange(t,n),o.V(r,e)}catch(e){}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));class i{constructor(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class o{constructor(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1}setColorZone(e){this._colorZone=e}getColorZones(){return this._colorZone}}class r{constructor(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(e){this._zones=e,this._zones.sort(o.compare)}setLineHeight(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)}setPixelRatio(e){this._pixelRatio=e,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)}resolveColorZones(){const e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),o=n/Math.floor(this._outerHeight),r=Math.floor(4*this._pixelRatio/2);let s=[];for(let a=0,l=this._zones.length;a<l;a++){const l=this._zones[a];if(!e){const e=l.getColorZones();if(e){s.push(e);continue}}const c=Math.floor(o*this._getVerticalOffsetForLine(l.startLineNumber)),d=Math.floor(o*(this._getVerticalOffsetForLine(l.endLineNumber)+t));let h=Math.floor((c+d)/2),u=d-h;u<r&&(u=r),h-u<0&&(h=u),h+u>n&&(h=n-u);const p=l.color;let m=this._color2Id[p];m||(m=++this._lastAssignedId,this._color2Id[p]=m,this._id2Color[m]=p);const g=new i(h-u,h+u,m);l.setColorZone(g),s.push(g)}return this._colorZonesInvalid=!1,s.sort(i.compare),s}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var i=n(23),o=n(51),r=n(18);n(78);const s=Object(r.c)("contextService");var a,l;!function(e){e.isIWorkspace=function(e){return!(!e||"object"!=typeof e||"string"!=typeof e.id||!Array.isArray(e.folders))}}(a||(a={})),function(e){e.isIWorkspaceFolder=function(e){return!(!e||"object"!=typeof e||!i.a.isUri(e.uri)||"string"!=typeof e.name||"function"!=typeof e.toResource)}}(l||(l={}));class c{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toResource(e){return o.g(this.uri,e)}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(6),o=n(2);class r{constructor(e,t,n,i,o,r){e|=0,t|=0,n|=0,i|=0,o|=0,r|=0,this.rawScrollLeft=n,this.rawScrollTop=r,e<0&&(e=0),n+e>t&&(n=t-e),n<0&&(n=0),i<0&&(i=0),r+i>o&&(r=o-i),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=o,this.scrollTop=r}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new r(void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new r(this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e){const t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,i=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:i,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:s}}}class s extends o.a{constructor(e,t){super(),this._onScroll=this._register(new i.a),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e,this._scheduleAtNextAnimationFrame=t,this._state=new r(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){const n=this._state.withScrollDimensions(e,t);this._setState(n),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)}setScrollPositionSmooth(e){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};const t=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===t.scrollLeft&&this._smoothScrolling.to.scrollTop===t.scrollTop)return;const n=this._smoothScrolling.combine(this._state,t,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=n}else{const t=this._state.withScrollPosition(e);this._smoothScrolling=c.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);return this._setState(t),this._smoothScrolling?e.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})):void 0}_setState(e){const t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))}}class a{constructor(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}}function l(e,t){const n=t-e;return function(t){return e+n*(1-function(e){return Math.pow(e,3)}(1-t))}}class c{constructor(e,t,n,i){this.from=e,this.to=t,this.duration=i,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,n){if(Math.abs(e-t)>2.5*n){let s,a;return e<t?(s=e+.75*n,a=t-.75*n):(s=e-.75*n,a=t+.75*n),i=l(e,s),o=l(a,t),r=.33,function(e){return e<r?i(e/r):o((e-r)/(1-r))}}var i,o,r;return l(e,t)}dispose(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){const t=(e-this._startTime)/this.duration;if(t<1){const e=this.scrollLeft(t),n=this.scrollTop(t);return new a(e,n,!1)}return new a(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,n){return c.start(e,t,n)}static start(e,t,n){n+=10;const i=Date.now()-10;return new c(e,t,i,n)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("dialogService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));n(269);var i=n(1),o=n(156),r=n(2),s=n(99),a=n(46);class l{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set title(e){this.disposed||e===this._title||(this._title=e,this._title?this._element.title=e:this._element.removeAttribute("title"))}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class c extends r.a{constructor(e,t){super(),this.domNode=this._register(new l(i.p(e,i.a(".monaco-icon-label"))));const n=i.p(this.domNode.element,i.a(".monaco-icon-label-container")),r=i.p(n,i.a("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new l(i.p(n,i.a("span.monaco-icon-description-container")))),(null==t?void 0:t.supportHighlights)?this.nameNode=new h(r,!!t.supportCodicons):this.nameNode=new d(r),(null==t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new o.a(i.p(this.descriptionContainer.element,i.a("span.label-description")),!!t.supportCodicons):this.descriptionNodeFactory=()=>this._register(new l(i.p(this.descriptionContainer.element,i.a("span.label-description"))))}setLabel(e,t,n){const i=["monaco-icon-label"];n&&(n.extraClasses&&i.push(...n.extraClasses),n.italic&&i.push("italic"),n.strikethrough&&i.push("strikethrough")),this.domNode.className=i.join(" "),this.domNode.title=(null==n?void 0:n.title)||"",this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof o.a?(this.descriptionNode.set(t||"",n?n.descriptionMatches:void 0),(null==n?void 0:n.descriptionTitle)?this.descriptionNode.element.title=n.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=t||"",this.descriptionNode.title=(null==n?void 0:n.descriptionTitle)||"",this.descriptionNode.empty=!t))}}class d{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Object(a.e)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",i.Q(this.container,"multiple"),this.singleLabel=i.p(this.container,i.a("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",i.e(this.container,"multiple"),this.singleLabel=void 0;for(let n=0;n<e.length;n++){const o=e[n],r=(null==t?void 0:t.domId)&&`${null==t?void 0:t.domId}_${n}`;i.p(this.container,i.a("a.label-name",{id:r,"data-icon-label-count":e.length,"data-icon-label-index":n,role:"treeitem"},o)),n<e.length-1&&i.p(this.container,i.a("span.label-separator",void 0,(null==t?void 0:t.separator)||"/"))}}}}class h{constructor(e,t){this.container=e,this.supportCodicons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Object(a.e)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",i.Q(this.container,"multiple"),this.singleLabel=new o.a(i.p(this.container,i.a("a.label-name",{id:null==t?void 0:t.domId})),this.supportCodicons)),this.singleLabel.set(e,null==t?void 0:t.matches,null==t?void 0:t.title,null==t?void 0:t.labelEscapeNewLines);else{this.container.innerText="",i.e(this.container,"multiple"),this.singleLabel=void 0;const n=(null==t?void 0:t.separator)||"/",r=function(e,t,n){if(!n)return;let i=0;return e.map(e=>{const o={start:i,end:i+e.length},r=n.map(e=>s.a.intersect(o,e)).filter(e=>!s.a.isEmpty(e)).map(({start:e,end:t})=>({start:e-i,end:t-i}));return i=o.end+t.length,r})}(e,n,null==t?void 0:t.matches);for(let s=0;s<e.length;s++){const a=e[s],l=r?r[s]:void 0,c=(null==t?void 0:t.domId)&&`${null==t?void 0:t.domId}_${s}`,d=i.a("a.label-name",{id:c,"data-icon-label-count":e.length,"data-icon-label-index":s,role:"treeitem"});new o.a(i.p(this.container,d),this.supportCodicons).set(a,l,null==t?void 0:t.title,null==t?void 0:t.labelEscapeNewLines),s<e.length-1&&i.p(d,i.a("span.label-separator",void 0,n))}}}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return v}));n(273);var i=n(0),o=n(1),r=n(165),s=n(66),a=n(116),l=n(6),c=n(82),d=n(16),h=n(46);class u{constructor(e,t=0,n=e.length,i=t-1){this.items=e,this.start=t,this.end=n,this.index=i}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class p{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new u(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){const e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach(t=>e.push(t)),e}}var m=n(105),g=n(44);const f=o.a,b={inputBackground:d.a.fromHex("#3C3C3C"),inputForeground:d.a.fromHex("#CCCCCC"),inputValidationInfoBorder:d.a.fromHex("#55AAFF"),inputValidationInfoBackground:d.a.fromHex("#063B49"),inputValidationWarningBorder:d.a.fromHex("#B89500"),inputValidationWarningBackground:d.a.fromHex("#352A05"),inputValidationErrorBorder:d.a.fromHex("#BE1100"),inputValidationErrorBackground:d.a.fromHex("#5A1D1D")};class _ extends c.a{constructor(e,t,n){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new l.a),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new l.a),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=n||Object.create(null),Object(h.g)(this.options,b,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=o.p(e,f(".monaco-inputbox.idle"));let i=this.options.flexibleHeight?"textarea":"input",r=o.p(this.element,f(".wrapper"));if(this.input=o.p(r,f(i+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=o.p(r,f("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new m.b(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),o.p(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));const t=l.b.filter(Object(g.a)(document,"selectionchange"),()=>{const e=document.getSelection();return(null==e?void 0:e.anchorNode)===r});this._register(t(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&this.setPlaceHolder(this.placeholder),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new a.a(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage()}onFocus(){this._showMessage()}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:o.G(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return o.H(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;if(this.mirror){t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)}this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${e}px)`:this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));const n=this.stylesForType(this.message.type);this.element.style.border=n.border?"1px solid "+n.border:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!e}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e,t,n=()=>e.style.width=o.H(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(!this.message)return null;e=o.p(t,f(".monaco-inputbox-container")),n();const i={inline:!0,className:"monaco-inputbox-message"},s=this.message.formatContent?Object(r.b)(this.message.content,i):Object(r.c)(this.message.content,i);s.classList.add(this.classForType(this.message.type));const a=this.stylesForType(this.message.type);return s.style.backgroundColor=a.background?a.background.toString():"",s.style.color=a.foreground?a.foreground.toString():"",s.style.border=a.border?"1px solid "+a.border:"",o.p(e,s),null},onHide:()=>{this.state="closed"},layout:n}),t=3===this.message.type?i.a("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?i.a("alertWarningMessage","Warning: {0}",this.message.content):i.a("alertInfoMessage","Info: {0}",this.message.content),s.a(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";e+t?this.mirror.textContent=e+t:this.mirror.innerText=" ",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=o.G(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,o=t.value;null!==n&&null!==i&&(this.value=o.substr(0,n)+e+o.substr(i),t.setSelectionRange(n+1,n+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class v extends _{constructor(e,t,n){super(e,t,n),this.history=new p(n.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,s.c(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,s.c(this.value))}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},function(e,t,n){"use strict";function i(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return m}));var i=n(0),o=n(13),r=n(21),s=n(23),a=n(180),l=n(72);function c(e){return e.toString()}class d{constructor(e,t,n,i,o,r,s){this.beforeVersionId=e,this.afterVersionId=t,this.beforeEOL=n,this.afterEOL=i,this.beforeCursorState=o,this.afterCursorState=r,this.changes=s}static create(e,t){const n=e.getAlternativeVersionId(),i=u(e);return new d(n,n,i,i,t,t,[])}append(e,t,n,i,o){t.length>0&&(this.changes=Object(a.b)(this.changes,t)),this.afterEOL=n,this.afterVersionId=i,this.afterCursorState=o}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,n){if(l.f(e,t?t.length:0,n),n+=4,t)for(const i of t)l.f(e,i.selectionStartLineNumber,n),n+=4,l.f(e,i.selectionStartColumn,n),n+=4,l.f(e,i.positionLineNumber,n),n+=4,l.f(e,i.positionColumn,n),n+=4;return n}static _readSelections(e,t,n){const i=l.c(e,t);t+=4;for(let o=0;o<i;o++){const i=l.c(e,t);t+=4;const o=l.c(e,t);t+=4;const s=l.c(e,t);t+=4;const a=l.c(e,t);t+=4,n.push(new r.a(i,o,s,a))}return t}serialize(){let e=10+d._writeSelectionsSize(this.beforeCursorState)+d._writeSelectionsSize(this.afterCursorState)+4;for(const t of this.changes)e+=t.writeSize();const t=new Uint8Array(e);let n=0;l.f(t,this.beforeVersionId,n),n+=4,l.f(t,this.afterVersionId,n),n+=4,l.g(t,this.beforeEOL,n),n+=1,l.g(t,this.afterEOL,n),n+=1,n=d._writeSelections(t,this.beforeCursorState,n),n=d._writeSelections(t,this.afterCursorState,n),l.f(t,this.changes.length,n),n+=4;for(const e of this.changes)n=e.write(t,n);return t.buffer}static deserialize(e){const t=new Uint8Array(e);let n=0;const i=l.c(t,n);n+=4;const o=l.c(t,n);n+=4;const r=l.d(t,n);n+=1;const s=l.d(t,n);n+=1;const c=[];n=d._readSelections(t,n,c);const h=[];n=d._readSelections(t,n,h);const u=l.c(t,n);n+=4;const p=[];for(let e=0;e<u;e++)n=a.a.read(t,n,p);return new d(i,o,r,s,c,h,p)}}class h{constructor(e,t){this.model=e,this._data=d.create(e,t)}get type(){return 0}get resource(){return s.a.isUri(this.model)?this.model:this.model.uri}get label(){return i.a("edit","Typing")}toString(){return(this._data instanceof d?this._data:d.deserialize(this._data)).changes.map(e=>e.toString()).join(", ")}matchesResource(e){return(s.a.isUri(this.model)?this.model:this.model.uri).toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof d}append(e,t,n,i,o){this._data instanceof d&&this._data.append(e,t,n,i,o)}close(){this._data instanceof d&&(this._data=this._data.serialize())}undo(){if(s.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());const e=d.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(s.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());const e=d.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}}function u(e){return"\n"===e.getEOL()?0:1}function p(e){return!!e&&(e instanceof h||e instanceof class{constructor(e,t){this.type=1,this.label=e,this._isOpen=!0,this._editStackElementsArr=t.slice(0),this._editStackElementsMap=new Map;for(const e of this._editStackElementsArr){const t=c(e.resource);this._editStackElementsMap.set(t,e)}this._delegate=null}get resources(){return this._editStackElementsArr.map(e=>e.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){const t=c(e);return this._editStackElementsMap.has(t)}setModel(e){const t=c(s.a.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;const t=c(e.uri);if(this._editStackElementsMap.has(t)){return this._editStackElementsMap.get(t).canAppend(e)}return!1}append(e,t,n,i,o){const r=c(e.uri);this._editStackElementsMap.get(r).append(e,t,n,i,o)}close(){this._isOpen=!1}undo(){this._isOpen=!1;for(const e of this._editStackElementsArr)e.undo()}redo(){for(const e of this._editStackElementsArr)e.redo()}split(){return this._editStackElementsArr}})}class m{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);p(e)&&e.close()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);if(p(t)&&t.canAppend(this._model))return t;const n=new h(this._model,e);return this._undoRedoService.pushElement(n),n}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],u(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,n){const i=this._getOrCreateEditStackElement(e),o=this._model.applyEdits(t,!0),r=m._computeCursorState(n,o),s=o.map((e,t)=>({index:t,textChange:e.textChange}));return s.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),i.append(this._model,s.map(e=>e.textChange),u(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return Object(o.e)(e),null}}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,o,r,s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)r="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;r=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=i||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new g(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(r&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=r?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function b(e,t){for(var n=void 0,i=-1,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=f[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:b,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,l=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=h,i+=h),r){var c=r.indexOf("@");if(-1!==c){var d=r.substr(0,c);r=r.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,c),!1),i+=r.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(u=s.charCodeAt(1))>=65&&u<=90&&(s="/"+String.fromCharCode(u+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var u;(u=s.charCodeAt(0))>=65&&u<=90&&(s=String.fromCharCode(u+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));let i=!1,o=null;function r(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,n=e.parent.location;if("null"!==t.origin&&"null"!==n.origin&&(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port))return i=!0,null}catch(e){return i=!0,null}return e.parent}class s{static getSameOriginWindowChain(){if(!o){o=[];let e,t=window;do{e=r(t),e?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e}while(t)}return o.slice(0)}static hasDifferentOriginAncestor(){return o||this.getSameOriginWindowChain(),i}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0,o=this.getSameOriginWindowChain();for(const e of o){if(n+=e.window.scrollY,i+=e.window.scrollX,e.window===t)break;if(!e.iframeElement)break;let o=e.iframeElement.getBoundingClientRect();n+=o.top,i+=o.left}return{top:n,left:i}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(72),o=n(23);function r(e){let t=JSON.parse(e);return t=function e(t,n=0){if(!t||n>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return o.a.revive(t);case 2:return new RegExp(t.source,t.flags)}if(t instanceof i.a||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let i=0;i<t.length;++i)t[i]=e(t[i],n+1);else for(const i in t)Object.hasOwnProperty.call(t,i)&&(t[i]=e(t[i],n+1))}return t}(t),t}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var i=n(8),o=n(42);function r(e){return e.replace(/[\\/]/g,o.e.sep)}function s(e,t,n,r=o.h){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!Object(i.T)(e,t))return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===r&&n--,e.charAt(n)===r}return t.charAt(t.length-1)!==r&&(t+=r),0===e.indexOf(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n(72),o=n(132);class r{constructor(e,t,n,i){this.oldPosition=e,this.oldText=t,this.newPosition=n,this.newText=i}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${this.newText}")`:0===this.newText.length?`(delete@${this.oldPosition} "${this.oldText}")`:`(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,n){const o=t.length;i.f(e,o,n),n+=4;for(let r=0;r<o;r++)i.e(e,t.charCodeAt(r),n),n+=2;return n}static _readString(e,t){const n=i.c(e,t);return t+=4,Object(o.b)(e,t,n)}writeSize(){return 8+r._writeStringSize(this.oldText)+r._writeStringSize(this.newText)}write(e,t){return i.f(e,this.oldPosition,t),t+=4,i.f(e,this.newPosition,t),t+=4,t=r._writeString(e,this.oldText,t),t=r._writeString(e,this.newText,t)}static read(e,t,n){const o=i.c(e,t);t+=4;const s=i.c(e,t);t+=4;const a=r._readString(e,t);t+=r._writeStringSize(a);const l=r._readString(e,t);return t+=r._writeStringSize(l),n.push(new r(o,a,s,l)),t}}function s(e,t){if(null===e||0===e.length)return t;return new a(e,t).compress()}class a{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,n=this._getPrev(e),i=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){if(null===n){this._acceptCurr(i),i=this._getCurr(++t);continue}if(null===i){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldEnd<=n.newPosition){this._acceptCurr(i),i=this._getCurr(++t);continue}if(n.newEnd<=i.oldPosition){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldPosition<n.newPosition){const[e,t]=a._splitCurr(i,n.newPosition-i.oldPosition);this._acceptCurr(e),i=t;continue}if(n.newPosition<i.oldPosition){const[e,t]=a._splitPrev(n,i.oldPosition-n.newPosition);this._acceptPrev(e),n=t;continue}let o,s;if(i.oldEnd===n.newEnd)o=n,s=i,n=this._getPrev(++e),i=this._getCurr(++t);else if(i.oldEnd<n.newEnd){const[e,r]=a._splitPrev(n,i.oldLength);o=e,s=i,n=r,i=this._getCurr(++t)}else{const[t,r]=a._splitCurr(i,n.newLength);o=n,s=t,n=this._getPrev(++e),i=r}this._result[this._resultLen++]=new r(o.oldPosition,o.oldText,s.newPosition,s.newText),this._prevDeltaOffset+=o.newLength-o.oldLength,this._currDeltaOffset+=s.newLength-s.oldLength}const o=a._merge(this._result);return a._removeNoOps(o)}_acceptCurr(e){this._result[this._resultLen++]=a._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=a._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new r(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new r(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const n=e.newText.substr(0,t),i=e.newText.substr(t);return[new r(e.oldPosition,e.oldText,e.newPosition,n),new r(e.oldEnd,"",e.newPosition+t,i)]}static _splitCurr(e,t){const n=e.oldText.substr(0,t),i=e.oldText.substr(t);return[new r(e.oldPosition,n,e.newPosition,e.newText),new r(e.oldPosition+t,i,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;let t=[],n=0,i=e[0];for(let o=1;o<e.length;o++){const s=e[o];i.oldEnd===s.oldPosition?i=new r(i.oldPosition,i.oldText+s.oldText,i.newPosition,i.newText+s.newText):(t[n++]=i,i=s)}return t[n++]=i,t}static _removeNoOps(e){if(0===e.length)return e;let t=[],n=0;for(let i=0;i<e.length;i++){const o=e[i];o.oldText!==o.newText&&(t[n++]=o)}return t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(8),o=n(62),r=n(22),s=n(81),a=n(3);class l{static deleteRight(e,t,n,i){let r=[],l=3!==e;for(let e=0,c=i.length;e<c;e++){const c=i[e];let d=c;if(d.isEmpty()){let e=c.getPosition(),i=s.a.right(t,n,e.lineNumber,e.column);d=new a.a(i.lineNumber,i.column,e.lineNumber,e.column)}d.isEmpty()?r[e]=null:(d.startLineNumber!==d.endLineNumber&&(l=!0),r[e]=new o.a(d,""))}return[l,r]}static _isAutoClosingPairDelete(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(let i=0,o=n.length;i<o;i++){const o=n[i],s=o.getPosition();if(!o.isEmpty())return!1;const a=t.getLineContent(s.lineNumber),l=a[s.column-2],c=e.autoClosingPairsOpen2.get(l);if(!c)return!1;if(Object(r.g)(l)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;const d=a[s.column-1];let h=!1;for(const e of c)e.open===l&&e.close===d&&(h=!0);if(!h)return!1}return!0}static _runAutoClosingPairDelete(e,t,n){let i=[];for(let e=0,t=n.length;e<t;e++){const t=n[e].getPosition(),r=new a.a(t.lineNumber,t.column-1,t.lineNumber,t.column+1);i[e]=new o.a(r,"")}return[!0,i]}static deleteLeft(e,t,n,l){if(this._isAutoClosingPairDelete(t,n,l))return this._runAutoClosingPairDelete(t,n,l);let c=[],d=2!==e;for(let e=0,h=l.length;e<h;e++){const h=l[e];let u=h;if(u.isEmpty()){let e=h.getPosition();if(t.useTabStops&&e.column>1){let o=n.getLineContent(e.lineNumber),s=i.w(o),l=-1===s?o.length+1:s+1;if(e.column<=l){let i=r.a.visibleColumnFromColumn2(t,n,e),o=r.a.prevIndentTabStop(i,t.indentSize),s=r.a.columnFromVisibleColumn2(t,n,e.lineNumber,o);u=new a.a(e.lineNumber,s,e.lineNumber,e.column)}else u=new a.a(e.lineNumber,e.column-1,e.lineNumber,e.column)}else{let i=s.a.left(t,n,e.lineNumber,e.column);u=new a.a(i.lineNumber,i.column,e.lineNumber,e.column)}}u.isEmpty()?c[e]=null:(u.startLineNumber!==u.endLineNumber&&(d=!0),c[e]=new o.a(u,""))}return[d,c]}static cut(e,t,n){let i=[];for(let r=0,s=n.length;r<s;r++){const s=n[r];if(s.isEmpty())if(e.emptySelectionClipboard){let e,n,l,c,d=s.getPosition();d.lineNumber<t.getLineCount()?(e=d.lineNumber,n=1,l=d.lineNumber+1,c=1):d.lineNumber>1?(e=d.lineNumber-1,n=t.getLineMaxColumn(d.lineNumber-1),l=d.lineNumber,c=t.getLineMaxColumn(d.lineNumber)):(e=d.lineNumber,n=1,l=d.lineNumber,c=t.getLineMaxColumn(d.lineNumber));let h=new a.a(e,n,l,c);h.isEmpty()?i[r]=null:i[r]=new o.a(h,"")}else i[r]=null;else i[r]=new o.a(s,"")}return new r.e(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l}));var i=n(8),o=n(111),r=n(90);const s={getInitialState:()=>r.c,tokenize2:(e,t,n)=>Object(r.e)(0,e,t,n)};function a(e,t=s){return function(e,t){let n='<div class="monaco-tokenized-source">',r=e.split(/\r\n|\r|\n/),s=t.getInitialState();for(let e=0,a=r.length;e<a;e++){let a=r[e];e>0&&(n+="<br/>");let l=t.tokenize2(a,s,0);o.a.convertToEndOffset(l.tokens,a.length);let c=new o.a(l.tokens,a).inflate(),d=0;for(let e=0,t=c.getCount();e<t;e++){const t=c.getClassName(e),o=c.getEndOffset(e);n+=`<span class="${t}">${i.u(a.substring(d,o))}</span>`,d=o}s=l.endState}return n+="</div>",n}(e,t||s)}function l(e,t,n,i,o,r,s){let a="<div>",l=i,c=0;for(let d=0,h=t.getCount();d<h;d++){const h=t.getEndOffset(d);if(h<=i)continue;let u="";for(;l<h&&l<o;l++){const t=e.charCodeAt(l);switch(t){case 9:let e=r-(l+c)%r;for(c+=e-1;e>0;)u+=s?" ":" ",e--;break;case 60:u+="<";break;case 62:u+=">";break;case 38:u+="&";break;case 0:u+="�";break;case 65279:case 8232:case 8233:case 133:u+="�";break;case 13:u+="​";break;case 32:u+=s?" ":" ";break;default:u+=String.fromCharCode(t)}}if(a+=`<span style="${t.getInlineStyle(d,n)}">${u}</span>`,h>o||l>=o)break}return a+="</div>",a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return L}));var i=n(6),o=n(2),r=n(11),s=n(13),a=n(26),l=n(30),c=n(12),d=n(146),h=n(152),u=n(54),p=n(20),m=n(25),g=n(19),f=n(102),b=n(150),_=n(89),v=n(175),w=n(184),y=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},C=function(e,t){return function(n,i){t(n,i,e)}};function x(e){return e.toString()}class S{constructor(e,t,n){this._modelEventListeners=new o.b,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>n(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageIdentifier)),this.model.setMode(e.languageIdentifier)}}const k=r.d||r.f?1:2;let E=class e extends o.a{constructor(e,t,n,o,r){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=n,this._logService=o,this._undoRedoService=r,this._onModelAdded=this._register(new i.a),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new i.a),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new i.a),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new I(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new N(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(e,t){let n=a.d.tabSize;if(e.editor&&void 0!==e.editor.tabSize){const t=parseInt(e.editor.tabSize,10);isNaN(t)||(n=t),n<1&&(n=1)}let i=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){const t=parseInt(e.editor.indentSize,10);isNaN(t)||(i=t),i<1&&(i=1)}let o=a.d.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(o="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));let r=k;const s=e.eol;"\r\n"===s?r=2:"\n"===s&&(r=1);let l=a.d.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));let c=a.d.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));let d=a.d.largeFileOptimizations;return e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:i,insertSpaces:o,detectIndentation:c,defaultEOL:r,trimAutoWhitespace:l,largeFileOptimizations:d}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const n=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return n&&"auto"!==n?n:3===r.a||2===r.a?"\n":"\r\n"}getCreationOptions(t,n,i){let o=this._modelCreationOptionsByLanguageAndResource[t+n];if(!o){const r=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:n}),s=this._getEOL(n,t);o=e._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[t+n]=o}return o}_updateModelOptions(){const t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const n=Object.keys(this._models);for(let i=0,o=n.length;i<o;i++){const o=n[i],r=this._models[o],s=r.model.getLanguageIdentifier().language,a=r.model.uri,l=t[s+a],c=this.getCreationOptions(s,a,r.model.isForSimpleWidget);e._setModelOptionsForModel(r.model,c,l)}}static _setModelOptionsForModel(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))}_removeDisposedModel(e){const t=this._disposedModels.get(x(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(x(e)),t}_createModelData(e,t,n,i){const o=this.getCreationOptions(t.language,n,i),r=new l.b(e,o,t,n,this._undoRedoService);if(n&&this._disposedModels.has(x(n))){const e=this._removeDisposedModel(n),t=this._undoRedoService.getElements(n),i=function(e){const t=new _.a,n=e.createSnapshot();let i;for(;i=n.read();)t.update(i);return t.digest()}(r)===e.sha1;if(i||e.sharesUndoRedoStack){for(const e of t.past)Object(v.b)(e)&&e.matchesResource(n)&&e.setModel(r);for(const e of t.future)Object(v.b)(e)&&e.matchesResource(n)&&e.setModel(r);this._undoRedoService.setElementsValidFlag(n,!0,e=>Object(v.b)(e)&&e.matchesResource(n)),i&&(r._overwriteVersionId(e.versionId),r._overwriteAlternativeVersionId(e.alternativeVersionId),r._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}const s=x(r.uri);if(this._models[s])throw new Error("ModelService: Cannot add model because it already exists!");const a=new S(r,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t));return this._models[s]=a,a}createModel(e,t,n,i=!1){let o;return t?(o=this._createModelData(e,t.languageIdentifier,n,i),this.setMode(o.model,t)):o=this._createModelData(e,d.b,n,i),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(!t)return;const n=this._models[x(e.uri)];n&&n.setLanguage(t)}getModels(){const e=[],t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._models[i].model)}return e}getModel(e){const t=x(e),n=this._models[t];return n?n.model:null}getSemanticTokensProviderStyling(e){return this._semanticStyling.get(e)}_onWillDispose(e){const t=x(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)}_onDidChangeLanguage(t,n){const i=n.oldLanguage,o=t.getLanguageIdentifier().language,r=this.getCreationOptions(i,t.uri,t.isForSimpleWidget),s=this.getCreationOptions(o,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,s,r),this._onModelModeChanged.fire({model:t,oldModeId:i})}};E=y([C(0,u.a),C(1,h.b),C(2,g.c),C(3,f.b),C(4,b.a)],E);const T="editor.semanticHighlighting";function L(e,t,n){var i;const o=null===(i=n.getValue(T,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri}))||void 0===i?void 0:i.enabled;return"boolean"==typeof o?o:t.getColorTheme().semanticHighlighting}class N extends o.a{constructor(e,t,n,i){super(),this._watchers=Object.create(null),this._semanticStyling=i;const o=e=>{this._watchers[e.uri.toString()]=new D(e,t,this._semanticStyling)},r=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},s=()=>{for(let i of e.getModels()){const e=this._watchers[i.uri.toString()];L(i,t,n)?e||o(i):e&&r(i,e)}};this._register(e.onModelAdded(e=>{L(e,t,n)&&o(e)})),this._register(e.onModelRemoved(e=>{const t=this._watchers[e.uri.toString()];t&&r(e,t)})),this._register(n.onDidChangeConfiguration(e=>{e.affectsConfiguration(T)&&s()})),this._register(t.onDidColorThemeChange(s))}}class I extends o.a{constructor(e,t){super(),this._themeService=e,this._logService=t,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new w.a(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)}}class O{constructor(e,t,n){this._provider=e,this.resultId=t,this.data=n}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class D extends o.a{constructor(e,t,n){super(),this._isDisposed=!1,this._model=e,this._semanticStyling=n,this._fetchDocumentSemanticTokens=this._register(new p.d(()=>this._fetchDocumentSemanticTokensNow(),300)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}));const i=()=>{Object(o.f)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const t of c.l.all(e))"function"==typeof t.onDidChange&&this._documentProvidersChangeListeners.push(t.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};i(),this._register(c.l.onDidChange(()=>{i(),this._fetchDocumentSemanticTokens.schedule()})),this._register(t.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;const e=this._getSemanticColoringProvider();if(!e)return;this._currentDocumentRequestCancellationTokenSource=new m.b;const t=[],n=this._model.onDidChangeContent(e=>{t.push(e)}),i=this._semanticStyling.get(e),o=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null;Promise.resolve(e.provideDocumentSemanticTokens(this._model,o,this._currentDocumentRequestCancellationTokenSource.token)).then(o=>{this._currentDocumentRequestCancellationTokenSource=null,n.dispose(),this._setDocumentSemanticTokens(e,o||null,i,t)},e=>{e&&"string"==typeof e.message&&-1!==e.message.indexOf("busy")||s.e(e),this._currentDocumentRequestCancellationTokenSource=null,n.dispose(),t.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule())})}static _isSemanticTokens(e){return e&&!!e.data}static _isSemanticTokensEdits(e){return e&&Array.isArray(e.edits)}static _copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}_setDocumentSemanticTokens(e,t,n,i){const o=this._currentDocumentResponse;if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)e&&t&&e.releaseDocumentSemanticTokens(t.resultId);else if(e&&n)if(t){if(D._isSemanticTokensEdits(t)){if(!o)return void this._model.setSemanticTokens(null,!0);if(0===t.edits.length)t={resultId:t.resultId,data:o.data};else{let e=0;for(const n of t.edits)e+=(n.data?n.data.length:0)-n.deleteCount;const n=o.data,i=new Uint32Array(n.length+e);let r=n.length,s=i.length;for(let e=t.edits.length-1;e>=0;e--){const o=t.edits[e],a=r-(o.start+o.deleteCount);a>0&&(D._copy(n,r-a,i,s-a,a),s-=a),o.data&&(D._copy(o.data,0,i,s-o.data.length,o.data.length),s-=o.data.length),r=o.start}r>0&&D._copy(n,0,i,0,r),t={resultId:t.resultId,data:i}}}if(D._isSemanticTokens(t)){this._currentDocumentResponse=new O(e,t.resultId,t.data);const o=Object(w.b)(t,n,this._model.getLanguageIdentifier());if(i.length>0){for(const e of i)for(const t of o)for(const n of e.changes)t.applyEdit(n.range,n.text);this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}this._model.setSemanticTokens(o,!0)}else this._model.setSemanticTokens(null,!0)}else this._model.setSemanticTokens(null,!0);else this._model.setSemanticTokens(null,!1)}_getSemanticColoringProvider(){const e=c.l.ordered(this._model);return e.length>0?e[0]:null}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(12),o=n(102),r=n(124);class s{constructor(e,t,n){this._legend=e,this._themeService=t,this._logService=n,this._hashTable=new c}getMetadata(e,t,n){const r=this._hashTable.get(e,t,n.id);let s;if(r)s=r.metadata,this._logService.getLevel()===o.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${i.B.getForeground(s)}, fontStyle ${i.B.getFontStyle(s).toString(2)}`);else{let r=this._legend.tokenTypes[e];const a=[];if(r){let e=t;for(let t=0;e>0&&t<this._legend.tokenModifiers.length;t++)1&e&&a.push(this._legend.tokenModifiers[t]),e>>=1;e>0&&this._logService.getLevel()===o.c.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),a.push("not-in-legend"));const i=this._themeService.getColorTheme().getTokenStyleMetadata(r,a,n.language);if(void 0===i)s=2147483647;else{if(s=0,void 0!==i.italic){s|=1|(i.italic?1:0)<<11}if(void 0!==i.bold){s|=2|(i.bold?2:0)<<11}if(void 0!==i.underline){s|=4|(i.underline?4:0)<<11}if(i.foreground){s|=8|i.foreground<<14}0===s&&(s=2147483647)}}else this._logService.getLevel()===o.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),s=2147483647,r="not-in-legend";this._hashTable.add(e,t,n.id,s),this._logService.getLevel()===o.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${r}) / ${t} (${a.join(" ")}): foreground ${i.B.getForeground(s)}, fontStyle ${i.B.getFontStyle(s).toString(2)}`)}return s}}function a(e,t,n){const i=e.data,o=e.data.length/5|0,s=Math.max(Math.ceil(o/1024),400),a=[];let l=0,c=1,d=0;for(;l<o;){const e=l;let h=Math.min(e+s,o);if(h<o){let t=h;for(;t-1>e&&0===i[5*t];)t--;if(t-1===e){let e=h;for(;e+1<o&&0===i[5*e];)e++;h=e}else h=t}let u=new Uint32Array(4*(h-e)),p=0,m=0;for(;l<h;){const e=5*l,o=i[e],r=i[e+1],s=c+o,a=0===o?d+r:r,h=i[e+2],g=i[e+3],f=i[e+4],b=t.getMetadata(g,f,n);2147483647!==b&&(0===m&&(m=s),u[p]=s-m,u[p+1]=a,u[p+2]=a+h,u[p+3]=b,p+=4),c=s,d=a,l++}p!==u.length&&(u=u.subarray(0,p));const g=new r.a(m,new r.c(u));a.push(g)}return a}class l{constructor(e,t,n,i){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=n,this.metadata=i,this.next=null}}class c{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=c._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<c._SIZES.length?2/3*this._currentLength:0),this._elements=[],c._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let n=0;n<t;n++)e[n]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,n){return this._hash2(this._hash2(e,t),n)%this._currentLength}get(e,t,n){const i=this._hashFunc(e,t,n);let o=this._elements[i];for(;o;){if(o.tokenTypeIndex===e&&o.tokenModifierSet===t&&o.languageId===n)return o;o=o.next}return null}add(e,t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const e=this._elements;this._currentLengthIndex++,this._currentLength=c._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<c._SIZES.length?2/3*this._currentLength:0),this._elements=[],c._nullOutEntries(this._elements,this._currentLength);for(const t of e){let e=t;for(;e;){const t=e.next;e.next=null,this._add(e),e=t}}}this._add(new l(e,t,n,i))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}c._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n(275);var i=n(1),o=n(8),r=n(16),s=n(46);const a={badgeBackground:r.a.fromHex("#4D4D4D"),badgeForeground:r.a.fromHex("#FFFFFF")};class l{constructor(e,t){this.count=0,this.options=t||Object.create(null),Object(s.g)(this.options,a,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(i.p)(e,Object(i.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=Object(o.x)(this.countFormat,this.count),this.element.title=Object(o.x)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}}}},function(e,t,n){var i=n(32),o=n(268);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i=n(15),o=n(8),r=n(179),s=n(42),a=n(78),l=n(20);const c=/\//g;function d(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function h(e,t){if(!e)return[];const n=[];let i=!1,o=!1,r="";for(const s of e){switch(s){case t:if(!i&&!o){n.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":o=!0;break;case"]":o=!1}r+=s}return r&&n.push(r),n}const u=/^\*\*\/\*\.[\w\.-]+$/,p=/^\*\*\/([\w\.-]+)\/?$/,m=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,g=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,f=/^\*\*((\/[\w\.-]+)+)\/?$/,b=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,_=new a.a(1e4),v=function(){return!1},w=function(){return null};function y(e,t){if(!e)return w;let n;n="string"!=typeof e?e.pattern:e,n=n.trim();const r=`${n}_${!!t.trimForExclusions}`;let s,a=_.get(r);if(a)return C(a,e);if(u.test(n)){const e=n.substr(4);a=function(t,i){return"string"==typeof t&&t.endsWith(e)?n:null}}else a=(s=p.exec(x(n,t)))?function(e,t){const n="/"+e,i="\\"+e,o=function(o,r){return"string"!=typeof o?null:r?r===e?t:null:o===e||o.endsWith(n)||o.endsWith(i)?t:null},r=[e];return o.basenames=r,o.patterns=[t],o.allBasenames=r,o}(s[1],n):(t.trimForExclusions?g:m).test(n)?function(e,t){const n=E(e.slice(1,-1).split(",").map(e=>y(e,t)).filter(e=>e!==w),e),o=n.length;if(!o)return w;if(1===o)return n[0];const r=function(t,i){for(let o=0,r=n.length;o<r;o++)if(n[o](t,i))return e;return null},s=i.i(n,e=>!!e.allBasenames);s&&(r.allBasenames=s.allBasenames);const a=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);a.length&&(r.allPaths=a);return r}(n,t):(s=f.exec(x(n,t)))?S(s[1].substr(1),n,!0):(s=b.exec(x(n,t)))?S(s[1],n,!1):function(e){try{const t=new RegExp(`^${function e(t){if(!t)return"";let n="";const i=h(t,"/");if(i.every(e=>"**"===e))n=".*";else{let t=!1;i.forEach((r,s)=>{if("**"===r)return void(t||(n+=d(2),t=!0));let a=!1,l="",c=!1,u="";for(const t of r)if("}"!==t&&a)l+=t;else if(!c||"]"===t&&u)switch(t){case"{":a=!0;continue;case"[":c=!0;continue;case"}":const i=`(?:${h(l,",").map(t=>e(t)).join("|")})`;n+=i,a=!1,l="";break;case"]":n+="["+u+"]",c=!1,u="";break;case"?":n+="[^/\\\\]";continue;case"*":n+=d(1);continue;default:n+=o.v(t)}else{let e;e="-"===t?t:"^"!==t&&"!"!==t||u?"/"===t?"":o.v(t):"^",u+=e}s<i.length-1&&("**"!==i[s+1]||s+2<i.length)&&(n+="[/\\\\]"),t=!1})}return n}(e)}$`);return function(n){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return w}}(n);return _.set(r,a),C(a,e)}function C(e,t){return"string"==typeof t?e:function(n,i){return r.a(n,t.base)?e(s.f(t.base,n),i):null}}function x(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function S(e,t,n){const i=s.h!==s.e.sep?e.replace(c,s.h):e,o=s.h+i,r=n?function(e,n){return"string"!=typeof e||e!==i&&!e.endsWith(o)?null:t}:function(e,n){return"string"==typeof e&&e===i?t:null};return r.allPaths=[(n?"*/":"./")+e],r}function k(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t={}){if(!e)return v;if("string"==typeof e||function(e){const t=e;return t&&"string"==typeof t.base&&"string"==typeof t.pattern}(e)){const n=y(e,t);if(n===w)return v;const i=function(e,t){return!!n(e,t)};return n.allBasenames&&(i.allBasenames=n.allBasenames),n.allPaths&&(i.allPaths=n.allPaths),i}return function(e,t){const n=E(Object.getOwnPropertyNames(e).map(n=>function(e,t,n){if(!1===t)return w;const i=y(e,n);if(i===w)return w;if("boolean"==typeof t)return i;if(t){const n=t.when;if("string"==typeof n){const t=(t,o,r,s)=>{if(!s||!i(t,o))return null;const a=s(n.replace("$(basename)",r));return Object(l.i)(a)?a.then(t=>t?e:null):a?e:null};return t.requiresSiblings=!0,t}}return i}(n,e[n],t)).filter(e=>e!==w)),o=n.length;if(!o)return w;if(!n.some(e=>!!e.requiresSiblings)){if(1===o)return n[0];const e=function(e,t){for(let i=0,o=n.length;i<o;i++){const o=n[i](e,t);if(o)return o}return null},t=i.i(n,e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);const r=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return r.length&&(e.allPaths=r),e}const r=function(e,t,i){let o=void 0;for(let r=0,a=n.length;r<a;r++){const a=n[r];a.requiresSiblings&&i&&(t||(t=s.a(e)),o||(o=t.substr(0,t.length-s.c(e).length)));const l=a(e,t,o,i);if(l)return l}return null},a=i.i(n,e=>!!e.allBasenames);a&&(r.allBasenames=a.allBasenames);const c=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);c.length&&(r.allPaths=c);return r}(e,t)}(e)(t,void 0,n)}function E(e,t){const n=e.filter(e=>!!e.basenames);if(n.length<2)return e;const i=n.reduce((e,t)=>{const n=t.basenames;return n?e.concat(n):e},[]);let o;if(t){o=[];for(let e=0,n=i.length;e<n;e++)o.push(t)}else o=n.reduce((e,t)=>{const n=t.patterns;return n?e.concat(n):e},[]);const r=function(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;n>0;n--){const t=e.charCodeAt(n-1);if(47===t||92===t)break}t=e.substr(n)}const n=i.indexOf(t);return-1!==n?o[n]:null};r.basenames=i,r.patterns=o,r.allBasenames=i;const s=e.filter(e=>!e.basenames);return s.push(r),s}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(56),o=n(6);const r={JSONContribution:"base.contributions.json"};const s=new class{constructor(){this._onDidChangeSchema=new o.a,this.schemasById={}}registerSchema(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};i.a.add(r.JSONContribution,s)},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));const i=Object.prototype.hasOwnProperty;function o(e,t){for(let n in e)if(i.call(e,n)){if(!1===t({key:n,value:e[n]},(function(){delete e[n]})))return}}class r{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(2);class o extends i.a{constructor(e,t,n){super(),this.referenceDomElement=e,this.changeCallback=n,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){"undefined"!=typeof ResizeObserver?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let n=0,i=0;t?(n=t.width,i=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,i=this.referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),this.width===n&&this.height===i||(this.width=n,this.height=i,e&&this.changeCallback())}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t,n,i,o,r){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=o,this._contextKeyService=r}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18);const o=Object(i.c)("markerDecorationsService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(174),o=n(6),r=n(2),s=n(46),a=n(3);const l={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class c extends r.a{constructor(e,t={}){super(),this._onDidUpdate=this._register(new o.a),this._editor=e,this._options=s.g(t,l,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(e=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new a.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new a.a(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})}),this.ranges.sort((e,t)=>e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,n=this._editor.getPosition();if(n){for(let i=0,o=this.ranges.length;i<o&&!t;i++){let o=this.ranges[i].range;n.isBeforeOrEqual(o.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0}_move(e,t){if(i.a(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let e=n.range.getStartPosition();this._editor.setPosition(e),this._editor.revealPositionInCenter(e,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return le}));n(244);var i=n(0),o=n(1),r=n(35),s=n(153),a=n(20),l=n(6),c=n(2),d=n(46),h=n(87),u=n(88),p=n(41),m=n(164),g=(n(248),n(116)),f=n(105),b=n(60),_=n(4),v=n(26),w=n(111),y=n(9),C=n(57),x=n(91),S=n(74),k=n(10),E=n(5),T=n(19),L=n(17);class N{constructor(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class I{constructor(e){this.entries=e}}const O=Object(L.e)("diff-review-insert",L.a.add),D=Object(L.e)("diff-review-remove",L.a.remove),A=Object(L.e)("diff-review-close",L.a.close);class R extends c.a{constructor(e){super(),this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=Object(r.b)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=Object(r.b)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new g.a(this.actionBarContainer.domNode)),this._actionBar.push(new b.a("diffreview.close",i.a("label.close","Close"),"close-diff-review "+A.classNames,!0,()=>(this.hide(),Promise.resolve(null))),{label:!1,icon:!0}),this.domNode=Object(r.b)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=Object(r.b)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new f.a(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(o.n(this.domNode.domNode,"click",e=>{e.preventDefault();let t=o.w(e.target,"diff-review-row");t&&this._goToRow(t)})),this._register(o.n(this.domNode.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new y.a(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new y.a(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let e=-1,t=this._getCurrentFocusedRow();if(t){let n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new y.a(e,1)),this._diffEditor.revealPosition(new y.a(e,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){let e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()}_getNextRow(){let e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(".diff-review-row")}_getCurrentFocusedRow(){let e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null}_goToRow(e){let t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}_compute(){const e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];const t=this._diffEditor.getOriginalEditor().getModel(),n=this._diffEditor.getModifiedEditor().getModel();return t&&n?R._mergeAdjacent(e,t.getLineCount(),n.getLineCount()):[]}static _mergeAdjacent(e,t,n){if(!e||0===e.length)return[];let i=[],o=0;for(let r=0,s=e.length;r<s;r++){const a=e[r],l=a.originalStartLineNumber,c=a.originalEndLineNumber,d=a.modifiedStartLineNumber,h=a.modifiedEndLineNumber;let u=[],p=0;{const t=0===c?l:l-1,n=0===h?d:d-1;let i=1,o=1;if(r>0){const t=e[r-1];i=0===t.originalEndLineNumber?t.originalStartLineNumber+1:t.originalEndLineNumber+1,o=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber+1:t.modifiedEndLineNumber+1}let s=t-3+1,a=n-3+1;if(s<i){const e=i-s;s+=e,a+=e}if(a<o){const e=o-a;s+=e,a+=e}u[p++]=new N(s,t,a,n)}0!==c&&(u[p++]=new N(l,c,0,0)),0!==h&&(u[p++]=new N(0,0,d,h));{const i=0===c?l+1:c+1,o=0===h?d+1:h+1;let a=t,m=n;if(r+1<s){const t=e[r+1];a=0===t.originalEndLineNumber?t.originalStartLineNumber:t.originalStartLineNumber-1,m=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber:t.modifiedStartLineNumber-1}let g=i+3-1,f=o+3-1;if(g>a){const e=a-g;g+=e,f+=e}if(f>m){const e=m-f;g+=e,f+=e}u[p++]=new N(i,g,o,f)}i[o++]=new I(u)}let r=i[0].entries,s=[],a=0;for(let e=1,t=i.length;e<t;e++){const t=i[e].entries,n=r[r.length-1],o=t[0];0===n.getType()&&0===o.getType()&&o.originalLineStart<=n.originalLineEnd?(r[r.length-1]=new N(n.originalLineStart,o.originalLineEnd,n.modifiedLineStart,o.modifiedLineEnd),r=r.concat(t.slice(1))):(s[a++]=new I(r),r=t)}return s[a++]=new I(r),s}_findDiffIndex(e){const t=e.lineNumber;for(let e=0,n=this._diffs.length;e<n;e++){const n=this._diffs[e].entries;if(t<=n[n.length-1].modifiedLineEnd)return e}return 0}_render(){const e=this._diffEditor.getOriginalEditor().getOptions(),t=this._diffEditor.getModifiedEditor().getOptions(),n=this._diffEditor.getOriginalEditor().getModel(),r=this._diffEditor.getModifiedEditor().getModel(),s=n.getOptions(),a=r.getOptions();if(!this._isVisible||!n||!r)return o.s(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();this._diffEditor.updateOptions({readOnly:!0});const l=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[l]===this._currentDiff)return;this._currentDiff=this._diffs[l];const c=this._diffs[l].entries;let d=document.createElement("div");d.className="diff-review-table",d.setAttribute("role","list"),d.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),h.a.applyFontInfoSlow(d,t.get(36));let u=0,p=0,m=0,g=0;for(let e=0,t=c.length;e<t;e++){const t=c[e],n=t.originalLineStart,i=t.originalLineEnd,o=t.modifiedLineStart,r=t.modifiedLineEnd;0!==n&&(0===u||n<u)&&(u=n),0!==i&&(0===p||i>p)&&(p=i),0!==o&&(0===m||o<m)&&(m=o),0!==r&&(0===g||r>g)&&(g=r)}let f=document.createElement("div");f.className="diff-review-row";let b=document.createElement("div");b.className="diff-review-cell diff-review-summary";const _=p-u+1,v=g-m+1;b.appendChild(document.createTextNode(`${l+1}/${this._diffs.length}: @@ -${u},${_} +${m},${v} @@`)),f.setAttribute("data-line",String(m));const w=e=>0===e?i.a("no_lines_changed","no lines changed"):1===e?i.a("one_line_changed","1 line changed"):i.a("more_lines_changed","{0} lines changed",e),y=w(_),C=w(v);f.setAttribute("aria-label",i.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",l+1,this._diffs.length,u,y,m,C)),f.appendChild(b),f.setAttribute("role","listitem"),d.appendChild(f);const x=t.get(51);let S=m;for(let i=0,o=c.length;i<o;i++){const o=c[i];R._renderSection(d,o,S,x,this._width,e,n,s,t,r,a),0!==o.modifiedLineStart&&(S=o.modifiedLineEnd)}o.s(this._content.domNode),this._content.domNode.appendChild(d),this.scrollbar.scanDomNode()}static _renderSection(e,t,n,o,r,s,a,l,c,d,h){const u=t.getType();let p="diff-review-row",m="";let g=null;switch(u){case 1:p="diff-review-row line-insert",m=" char-insert",g=O;break;case 2:p="diff-review-row line-delete",m=" char-delete",g=D}const f=t.originalLineStart,b=t.originalLineEnd,_=t.modifiedLineStart,v=t.modifiedLineEnd,w=Math.max(v-_,b-f),y=s.get(117),C=y.glyphMarginWidth+y.lineNumbersWidth,x=c.get(117),S=10+x.glyphMarginWidth+x.lineNumbersWidth;for(let t=0;t<=w;t++){const b=0===f?0:f+t,v=0===_?0:_+t,w=document.createElement("div");w.style.minWidth=r+"px",w.className=p,w.setAttribute("role","listitem"),0!==v&&(n=v),w.setAttribute("data-line",String(n));let y=document.createElement("div");y.className="diff-review-cell",y.style.height=o+"px",w.appendChild(y);const x=document.createElement("span");x.style.width=C+"px",x.style.minWidth=C+"px",x.className="diff-review-line-number"+m,0!==b?x.appendChild(document.createTextNode(String(b))):x.innerText=" ",y.appendChild(x);const k=document.createElement("span");k.style.width=S+"px",k.style.minWidth=S+"px",k.style.paddingRight="10px",k.className="diff-review-line-number"+m,0!==v?k.appendChild(document.createTextNode(String(v))):k.innerText=" ",y.appendChild(k);const E=document.createElement("span");if(E.className="diff-review-spacer",g){const e=document.createElement("span");e.className=g.classNames,e.innerText="  ",E.appendChild(e)}else E.innerText="  ";let T;y.appendChild(E),0!==v?(y.insertAdjacentHTML("beforeend",this._renderLine(d,c,h.tabSize,v)),T=d.getLineContent(v)):(y.insertAdjacentHTML("beforeend",this._renderLine(a,s,l.tabSize,b)),T=a.getLineContent(b)),0===T.length&&(T=i.a("blankLine","blank"));let L="";switch(u){case 0:L=b===v?i.a({key:"unchangedLine",comment:["The placholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",T,b):i.a("equalLine","{0} original line {1} modified line {2}",T,b,v);break;case 1:L=i.a("insertLine","+ {0} modified line {1}",T,v);break;case 2:L=i.a("deleteLine","- {0} original line {1}",T,b)}w.setAttribute("aria-label",L),e.appendChild(w)}}static _renderLine(e,t,n,i){const o=e.getLineContent(i),r=t.get(36),s=new Uint32Array(2);s[0]=o.length,s[1]=16793600;const a=new w.a(s,o),l=S.d.isBasicASCII(o,e.mightContainNonBasicASCII()),c=S.d.containsRTL(o,l,e.mightContainRTL());return Object(x.e)(new x.c(r.isMonospace&&!t.get(24),r.canUseHalfwidthRightwardsArrow,o,!1,l,c,0,a,[],n,0,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,t.get(95),t.get(80),t.get(74),t.get(37)!==v.e.OFF,null)).html}}Object(T.g)((e,t)=>{const n=e.getColor(C.k);n&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${n}; }`);const i=e.getColor(E.ic);i&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${i} 0 -6px 6px -6px inset; }`)});class M extends _.b{constructor(){super({id:"editor.action.diffReview.next",label:i.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:k.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const n=F(e);n&&n.diffReviewNext()}}class P extends _.b{constructor(){super({id:"editor.action.diffReview.prev",label:i.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:k.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const n=F(e);n&&n.diffReviewPrev()}}function F(e){const t=e.get(p.a),n=t.listDiffEditors(),i=t.getActiveCodeEditor();if(!i)return null;for(let e=0,t=n.length;e<t;e++){const t=n[e];if(t.getModifiedEditor().getId()===i.getId()||t.getOriginalEditor().getId()===i.getId())return t}return null}Object(_.k)(M),Object(_.k)(P);var W=n(3),z=n(132),B=n(143),j=n(30),V=n(96),U=n(168),H=n(155),q=n(18),$=n(149),K=n(49),G=n(84),Y=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Z extends c.a{constructor(e,t,n,r,s,a){super(),this._viewZoneId=e,this._marginDomNode=t,this.editor=n,this.diff=r,this._contextMenuService=s,this._clipboardService=a,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=L.a.lightBulb.classNames+" lightbulb-glyph",this._diffActions.style.position="absolute";const l=n.getOption(51),c=n.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=l+"px",this._diffActions.style.lineHeight=l+"px",this._marginDomNode.appendChild(this._diffActions);const d=[];d.push(new b.a("diff.clipboard.copyDeletedContent",r.originalEndLineNumber>r.modifiedStartLineNumber?i.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):i.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>Y(this,void 0,void 0,(function*(){yield this._clipboardService.writeText(r.originalContent.join(c)+c)}))));let h=0,u=void 0;r.originalEndLineNumber>r.modifiedStartLineNumber&&(u=new b.a("diff.clipboard.copyDeletedLineContent",i.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",r.originalStartLineNumber),void 0,!0,()=>Y(this,void 0,void 0,(function*(){yield this._clipboardService.writeText(r.originalContent[h])}))),d.push(u));n.getOption(72)||d.push(new b.a("diff.inline.revertChange",i.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>Y(this,void 0,void 0,(function*(){if(0===r.modifiedEndLineNumber){const e=n.getModel().getLineMaxColumn(r.modifiedStartLineNumber);n.executeEdits("diffEditor",[{range:new W.a(r.modifiedStartLineNumber,e,r.modifiedStartLineNumber,e),text:c+r.originalContent.join(c)}])}else{const e=n.getModel().getLineMaxColumn(r.modifiedEndLineNumber);n.executeEdits("diffEditor",[{range:new W.a(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,e),text:r.originalContent.join(c)}])}}))));const p=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(u&&(u.label=i.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",r.originalStartLineNumber+h)),d),autoSelectFirstItem:!0})};this._register(o.n(this._diffActions,"mousedown",e=>{const{top:t,height:n}=o.C(this._diffActions);let i=Math.floor(l/3);e.preventDefault(),p(e.posx,t+n+i)})),this._register(n.onMouseMove(e=>{if(8===e.target.type||5===e.target.type){e.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,h=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l)):this.visibility=!1}else this.visibility=!1})),this._register(n.onMouseDown(e=>{if(e.event.rightButton&&(8===e.target.type||5===e.target.type)){e.target.detail.viewZoneId===this._viewZoneId&&(e.event.preventDefault(),h=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l),p(e.event.posx,e.event.posy+l))}}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")}_updateLightBulbPosition(e,t,n){const{top:i}=o.C(e),r=t-i,s=Math.floor(r/n),a=s*n;return this._diffActions.style.top=a+"px",s}}var X=n(121),Q=n(13),J=n(83),ee=n(190),te=n(145),ne=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ie=function(e,t){return function(n,i){t(n,i,e)}};class oe{constructor(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(e){return e.filter(e=>!this._zonesMap[String(e.id)])}clean(e){this._zones.length>0&&e.changeViewZones(e=>{for(let t=0,n=this._zones.length;t<n;t++)e.removeZone(this._zones[t])}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,n,i){const o=i?u.c.capture(e):null;e.changeViewZones(t=>{for(let e=0,n=this._zones.length;e<n;e++)t.removeZone(this._zones[e]);for(let e=0,t=this.inlineDiffMargins.length;e<t;e++)this.inlineDiffMargins[e].dispose();this._zones=[],this._zonesMap={},this.inlineDiffMargins=[];for(let i=0,o=n.zones.length;i<o;i++){const o=n.zones[i];o.suppressMouseDown=!0;let r=t.addZone(o);this._zones.push(r),this._zonesMap[String(r)]=!0,n.zones[i].diff&&o.marginDomNode&&(o.suppressMouseDown=!1,this.inlineDiffMargins.push(new Z(r,o.marginDomNode,e,n.zones[i].diff,this._contextMenuService,this._clipboardService)))}}),o&&o.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)}}let re=0;const se=Object(L.e)("diff-insert",L.a.add),ae=Object(L.e)("diff-remove",L.a.remove);let le=class e extends c.a{constructor(t,n,i,s,c,d,h,u,p,m,g){super(),this._editorProgressService=g,this._onDidDispose=this._register(new l.a),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new l.a),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new l.a),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=s,this._codeEditorService=h,this._contextKeyService=this._register(c.createScoped(t)),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=u,this._notificationService=p,this.id=++re,this._state=0,this._updatingDiffProgress=null,this._domElement=t,n=n||{},this._renderSideBySide=!0,void 0!==n.renderSideBySide&&(this._renderSideBySide=n.renderSideBySide),this._maxComputationTime=5e3,void 0!==n.maxComputationTime&&(this._maxComputationTime=n.maxComputationTime),this._ignoreTrimWhitespace=!0,void 0!==n.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=n.ignoreTrimWhitespace),this._renderIndicators=!0,void 0!==n.renderIndicators&&(this._renderIndicators=n.renderIndicators),this._originalIsEditable=!1,void 0!==n.originalEditable&&(this._originalIsEditable=Boolean(n.originalEditable)),this._originalCodeLens=!1,void 0!==n.originalCodeLens&&(this._originalCodeLens=Boolean(n.originalCodeLens)),this._modifiedCodeLens=!1,void 0!==n.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(n.modifiedCodeLens)),this._updateDecorationsRunner=this._register(new a.d(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=Object(r.b)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(o.n(this._overviewDomElement,"mousedown",e=>{this.modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new oe(m,i),this._modifiedEditorState=new oe(m,i),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new ee.a(this._containerDomElement,void 0,()=>this._onDidContainerSizeChanged())),n.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null;const f=this._contextKeyService.createScoped(),b=new $.a;b.set(k.b,f);const v=d.createChild(b),w=this._contextKeyService.createScoped(),y=new $.a;y.set(k.b,w);const C=d.createChild(y);this.originalEditor=this._createLeftHandSideEditor(n,v,f),this.modifiedEditor=this._createRightHandSideEditor(n,C,w),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new R(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,void 0!==n.enableSplitViewResizing&&(this._enableSplitViewResizing=n.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new me(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._register(u.onDidColorThemeChange(t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));const x=_.d.getDiffEditorContributions();for(const e of x)try{this._register(d.createInstance(e.ctor,this))}catch(e){Object(Q.e)(e)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=Object(T.f)(e.type),n}_recreateOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()}_createLeftHandSideEditor(t,n,i){const o=this._createInnerEditor(n,this._originalDomNode,this._adjustOptionsForLeftHandSide(t,this._originalIsEditable,this._originalCodeLens));this._register(o.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(o.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(o.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const r=i.createKey("isInDiffLeftEditor",void 0);return this._register(o.onDidFocusEditorWidget(()=>r.set(!0))),this._register(o.onDidBlurEditorWidget(()=>r.set(!1))),this._register(o.onDidContentSizeChange(t=>{const n=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),o}_createRightHandSideEditor(t,n,i){const o=this._createInnerEditor(n,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t,this._modifiedCodeLens));this._register(o.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(o.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(o.onDidChangeConfiguration(e=>{e.hasChanged(36)&&o.getModel()&&this._onViewZonesChanged()})),this._register(o.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(o.onDidChangeModelOptions(e=>{e.tabSize&&this._updateDecorationsRunner.schedule()}));const r=i.createKey("isInDiffRightEditor",void 0);return this._register(o.onDidFocusEditorWidget(()=>r.set(!0))),this._register(o.onDidBlurEditorWidget(()=>r.set(!1))),this._register(o.onDidContentSizeChange(t=>{const n=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),o}_createInnerEditor(e,t,n){return e.createInstance(m.a,t,n,{})}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this.id}getEditorType(){return B.a.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this.originalEditor}getModifiedEditor(){return this.modifiedEditor}updateOptions(t){let n=!1;void 0!==t.renderSideBySide&&this._renderSideBySide!==t.renderSideBySide&&(this._renderSideBySide=t.renderSideBySide,n=!0),void 0!==t.maxComputationTime&&(this._maxComputationTime=t.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());let i=!1;void 0!==t.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==t.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=t.ignoreTrimWhitespace,i=!0),void 0!==t.renderIndicators&&this._renderIndicators!==t.renderIndicators&&(this._renderIndicators=t.renderIndicators,i=!0),i&&this._beginUpdateDecorations(),void 0!==t.originalEditable&&(this._originalIsEditable=Boolean(t.originalEditable)),void 0!==t.originalCodeLens&&(this._originalCodeLens=Boolean(t.originalCodeLens)),void 0!==t.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(t.modifiedCodeLens)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t,this._modifiedCodeLens)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t,this._originalIsEditable,this._originalCodeLens)),void 0!==t.enableSplitViewResizing&&(this._enableSplitViewResizing=t.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),n&&(this._renderSideBySide?this._setStrategy(new me(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide))}getModel(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this.modifiedEditor.getPosition()}setPosition(e){this.modifiedEditor.setPosition(e)}revealLine(e,t=0){this.modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this.modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this.modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this.modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this.modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this.modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this.modifiedEditor.getSelection()}getSelections(){return this.modifiedEditor.getSelections()}setSelection(e){this.modifiedEditor.setSelection(e)}setSelections(e){this.modifiedEditor.setSelections(e)}revealLines(e,t,n=0){this.modifiedEditor.revealLines(e,t,n)}revealLinesInCenter(e,t,n=0){this.modifiedEditor.revealLinesInCenter(e,t,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)}revealLinesNearTop(e,t,n=0){this.modifiedEditor.revealLinesNearTop(e,t,n)}revealRange(e,t=0,n=!1,i=!0){this.modifiedEditor.revealRange(e,t,n,i)}revealRangeInCenter(e,t=0){this.modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this.modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this.modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this.modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this.modifiedEditor.getSupportedActions()}saveViewState(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}}restoreViewState(e){if(e.original&&e.modified){let t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}}layout(e){this._elementSizeObserver.observe(e)}focus(){this.modifiedEditor.focus()}hasTextFocus(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()}trigger(e,t,n){this.modifiedEditor.trigger(e,t,n)}changeDecorations(e){return this.modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const t=this._elementSizeObserver.getHeight(),n=this._getReviewHeight();let i=e.ENTIRE_DIFF_OVERVIEW_WIDTH-2*e.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:e.ONE_OVERVIEW_WIDTH,right:i+e.ONE_OVERVIEW_WIDTH,height:t-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:e.ONE_OVERVIEW_WIDTH,height:t-n}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const t=this.originalEditor.getModel(),n=this.modifiedEditor.getModel();if(!t||!n)return;this._diffComputationToken++;let o=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(t.uri,n.uri)?this._editorWorkerService.computeDiff(t.uri,n.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(e=>{o===this._diffComputationToken&&t===this.originalEditor.getModel()&&n===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},e=>{o===this._diffComputationToken&&t===this.originalEditor.getModel()&&n===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):e._equals(t.uri,this._lastOriginalWarning)&&e._equals(n.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=n.uri,this._notificationService.warn(i.a("diff.tooLarge","Cannot compare files because one file is too large.")))}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)}_updateDecorations(){if(!(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler))return;const e=this._diffComputationResult?this._diffComputationResult.changes:[];let t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,n,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(e){let t=d.c(e||{});return t.inDiffEditor=!0,t.wordWrap="off",t.wordWrapMinified=!1,t.automaticLayout=!1,t.scrollbar=t.scrollbar||{},t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=!1,t.fixedOverflowWidgets=!0,t.overflowWidgetsDomNode=e.overflowWidgetsDomNode,t.minimap||(t.minimap={}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e,t,n){let i=this._adjustOptionsForSubEditor(e);return n&&(i.codeLens=!0),i.readOnly=!t,i.extraEditorClassName="original-in-monaco-diff-editor",i}_adjustOptionsForRightHandSide(t,n){let i=this._adjustOptionsForSubEditor(t);return n&&(i.codeLens=!0),i.revealHorizontalRightPadding=v.g.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",i}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const t=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),i=this._getReviewHeight();let o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-i+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:o,height:n-i}),this.modifiedEditor.layout({width:t-o-e.ENTIRE_DIFF_OVERVIEW_WIDTH,height:n-i}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-i,t,i),this._layoutOverviewViewport()}_layoutOverviewViewport(){let e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){let e=this.modifiedEditor.getLayoutInfo();if(!e)return null;let t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),o=Math.max(0,i-0),r=n>0?o/n:0;return{height:Math.max(0,Math.floor(e.height*r)),top:Math.floor(t*r)}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this.originalEditor,getModifiedEditor:()=>this.modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){const n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;let i=0,o=n.length-1;for(;i<o;){let r=Math.floor((i+o)/2),s=t(n[r]),a=r+1<=o?t(n[r+1]):1073741824;e<s?o=r-1:e>=a?i=r+1:(i=r,o=r)}return n[i]}_getEquivalentLineForOriginalLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.originalStartLineNumber);if(!t)return e;let n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?i+Math.min(s,r):i+r-o+s}_getEquivalentLineForModifiedLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.modifiedStartLineNumber);if(!t)return e;let n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=r?n+Math.min(s,o):n+o-r+s}getDiffLineInformationForOriginal(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null}getDiffLineInformationForModified(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null}};le.ONE_OVERVIEW_WIDTH=15,le.ENTIRE_DIFF_OVERVIEW_WIDTH=30,le.UPDATE_DIFF_DECORATIONS_DELAY=200,le=ne([ie(2,X.a),ie(3,V.a),ie(4,k.b),ie(5,q.a),ie(6,p.a),ie(7,T.c),ie(8,K.a),ie(9,G.a),ie(10,J.a)],le);class ce extends c.a{constructor(e){super(),this._dataSource=e,this._insertColor=null,this._removeColor=null}applyColors(e){let t=(e.getColor(E.n)||E.j).transparent(2),n=(e.getColor(E.p)||E.k).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i}getEditorsDiffDecorations(e,t,n,i,o,r,s){o=o.sort((e,t)=>e.afterLineNumber-t.afterLineNumber),i=i.sort((e,t)=>e.afterLineNumber-t.afterLineNumber);let a=this._getViewZones(e,i,o,r,s,n),l=this._getOriginalEditorDecorations(e,t,n,r,s),c=this._getModifiedEditorDecorations(e,t,n,r,s);return{original:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.original},modified:{decorations:c.decorations,overviewZones:c.overviewZones,zones:a.modified}}}}class de{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class he{constructor(e,t,n,i,o){this.lineChanges=e,this.originalForeignVZ=t,this.originalLineHeight=n,this.modifiedForeignVZ=i,this.modifiedLineHeight=o}getViewZones(){let e=[],t=[],n=0,i=0,o=0,r=0,s=0,a=0,l=(e,t)=>e.afterLineNumber-t.afterLineNumber,c=(e,t)=>{if(null===t.domNode&&e.length>0){let n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new de(this.modifiedForeignVZ),h=new de(this.originalForeignVZ);for(let u=0,p=this.lineChanges.length;u<=p;u++){let m=u<p?this.lineChanges[u]:null;null!==m?(o=m.originalStartLineNumber+(m.originalEndLineNumber>0?-1:0),r=m.modifiedStartLineNumber+(m.modifiedEndLineNumber>0?-1:0),i=m.originalEndLineNumber>0?m.originalEndLineNumber-m.originalStartLineNumber+1:0,n=m.modifiedEndLineNumber>0?m.modifiedEndLineNumber-m.modifiedStartLineNumber+1:0,s=Math.max(m.originalStartLineNumber,m.originalEndLineNumber),a=Math.max(m.modifiedStartLineNumber,m.modifiedEndLineNumber)):(o+=1e7+i,r+=1e7+n,s=o,a=r);let g=[],f=[];for(;d.current&&d.current.afterLineNumber<=a;){let e;e=d.current.afterLineNumber<=r?o-r+d.current.afterLineNumber:s;let t=null;m&&m.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=m.modifiedEndLineNumber&&(t=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),g.push({afterLineNumber:e,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:t}),d.advance()}for(;h.current&&h.current.afterLineNumber<=s;){let e;e=h.current.afterLineNumber<=o?r-o+h.current.afterLineNumber:a,f.push({afterLineNumber:e,heightInLines:h.current.height/this.originalLineHeight,domNode:null}),h.advance()}if(null!==m&&_e(m)){let e=this._produceOriginalFromDiff(m,i,n);e&&g.push(e)}if(null!==m&&ve(m)){let e=this._produceModifiedFromDiff(m,i,n);e&&f.push(e)}let b=0,_=0;for(g=g.sort(l),f=f.sort(l);b<g.length&&_<f.length;){let n=g[b],i=f[_],s=n.afterLineNumber-o,a=i.afterLineNumber-r;s<a?(c(e,n),b++):a<s?(c(t,i),_++):n.shouldNotShrink?(c(e,n),b++):i.shouldNotShrink?(c(t,i),_++):n.heightInLines>=i.heightInLines?(n.heightInLines-=i.heightInLines,_++):(i.heightInLines-=n.heightInLines,b++)}for(;b<g.length;)c(e,g[b]),b++;for(;_<f.length;)c(t,f[_]),_++}return{original:he._ensureDomNodes(e),modified:he._ensureDomNodes(t)}}static _ensureDomNodes(e){return e.map(e=>(e.domNode||(e.domNode=function(){let e=document.createElement("div");return e.className="diagonal-fill",e}()),e))}}function ue(e,t,n,i,o){return{range:new W.a(e,t,n,i),options:o}}const pe={charDelete:j.a.register({className:"char-delete"}),charDeleteWholeLine:j.a.register({className:"char-delete",isWholeLine:!0}),charInsert:j.a.register({className:"char-insert"}),charInsertWholeLine:j.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:j.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:j.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign "+se.classNames,marginClassName:"line-insert",isWholeLine:!0}),lineDelete:j.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:j.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign "+ae.classNames,marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:j.a.register({marginClassName:"line-delete"})};class me extends ce{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new s.a(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this.onSashDragStart()),this._sash.onDidChange(e=>this.onSashDrag(e)),this._sash.onDidEnd(()=>this.onSashDragEnd()),this._sash.onDidReset(()=>this.onSashReset())}setEnableSplitViewResizing(e){let t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){let t=this._dataSource.getWidth()-le.ENTIRE_DIFF_OVERVIEW_WIDTH,n=Math.floor((e||.5)*t),i=Math.floor(.5*t);return n=this._disableSash?i:n||i,t>2*me.MINIMUM_EDITOR_WIDTH?(n<me.MINIMUM_EDITOR_WIDTH&&(n=me.MINIMUM_EDITOR_WIDTH),n>t-me.MINIMUM_EDITOR_WIDTH&&(n=t-me.MINIMUM_EDITOR_WIDTH)):n=i,this._sashPosition!==n&&(this._sashPosition=n,this._sash.layout()),this._sashPosition}onSashDragStart(){this._startSashPosition=this._sashPosition}onSashDrag(e){let t=this._dataSource.getWidth()-le.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()}onSashDragEnd(){this._sash.layout()}onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,n,i,o){return new ge(e,t,i.getOption(51),n,o.getOption(51)).getViewZones()}_getOriginalEditorDecorations(e,t,n,i,o){const r=String(this._removeColor);let s={decorations:[],overviewZones:[]},a=i.getModel();for(let i=0,o=e.length;i<o;i++){let o=e[i];if(ve(o)&&(s.decorations.push({range:new W.a(o.originalStartLineNumber,1,o.originalEndLineNumber,1073741824),options:n?pe.lineDeleteWithSign:pe.lineDelete}),_e(o)&&o.charChanges||s.decorations.push(ue(o.originalStartLineNumber,1,o.originalEndLineNumber,1073741824,pe.charDeleteWholeLine)),s.overviewZones.push(new U.a(o.originalStartLineNumber,o.originalEndLineNumber,r)),o.charChanges))for(let e=0,n=o.charChanges.length;e<n;e++){let n=o.charChanges[e];if(ve(n))if(t)for(let e=n.originalStartLineNumber;e<=n.originalEndLineNumber;e++){let t,i;t=e===n.originalStartLineNumber?n.originalStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.originalEndLineNumber?n.originalEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ue(e,t,e,i,pe.charDelete))}else s.decorations.push(ue(n.originalStartLineNumber,n.originalStartColumn,n.originalEndLineNumber,n.originalEndColumn,pe.charDelete))}}return s}_getModifiedEditorDecorations(e,t,n,i,o){const r=String(this._insertColor);let s={decorations:[],overviewZones:[]},a=o.getModel();for(let i=0,o=e.length;i<o;i++){let o=e[i];if(_e(o)&&(s.decorations.push({range:new W.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,1073741824),options:n?pe.lineInsertWithSign:pe.lineInsert}),ve(o)&&o.charChanges||s.decorations.push(ue(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,1073741824,pe.charInsertWholeLine)),s.overviewZones.push(new U.a(o.modifiedStartLineNumber,o.modifiedEndLineNumber,r)),o.charChanges))for(let e=0,n=o.charChanges.length;e<n;e++){let n=o.charChanges[e];if(_e(n))if(t)for(let e=n.modifiedStartLineNumber;e<=n.modifiedEndLineNumber;e++){let t,i;t=e===n.modifiedStartLineNumber?n.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.modifiedEndLineNumber?n.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ue(e,t,e,i,pe.charInsert))}else s.decorations.push(ue(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn,pe.charInsert))}}return s}}me.MINIMUM_EDITOR_WIDTH=100;class ge extends he{constructor(e,t,n,i,o){super(e,t,n,i,o)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null}_produceModifiedFromDiff(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null}}class fe extends ce{constructor(e,t){super(e),this.decorationsLeft=e.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(e.getOriginalEditor().onDidLayoutChange(t=>{this.decorationsLeft!==t.decorationsLeft&&(this.decorationsLeft=t.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,n,i,o,r){return new be(e,t,n,i,o,r).getViewZones()}_getOriginalEditorDecorations(e,t,n,i,o){const r=String(this._removeColor);let s={decorations:[],overviewZones:[]};for(let t=0,n=e.length;t<n;t++){let n=e[t];ve(n)&&(s.decorations.push({range:new W.a(n.originalStartLineNumber,1,n.originalEndLineNumber,1073741824),options:pe.lineDeleteMargin}),s.overviewZones.push(new U.a(n.originalStartLineNumber,n.originalEndLineNumber,r)))}return s}_getModifiedEditorDecorations(e,t,n,i,o){const r=String(this._insertColor);let s={decorations:[],overviewZones:[]},a=o.getModel();for(let i=0,o=e.length;i<o;i++){let o=e[i];if(_e(o))if(s.decorations.push({range:new W.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,1073741824),options:n?pe.lineInsertWithSign:pe.lineInsert}),s.overviewZones.push(new U.a(o.modifiedStartLineNumber,o.modifiedEndLineNumber,r)),o.charChanges)for(let e=0,n=o.charChanges.length;e<n;e++){let n=o.charChanges[e];if(_e(n))if(t)for(let e=n.modifiedStartLineNumber;e<=n.modifiedEndLineNumber;e++){let t,i;t=e===n.modifiedStartLineNumber?n.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.modifiedEndLineNumber?n.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ue(e,t,e,i,pe.charInsert))}else s.decorations.push(ue(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn,pe.charInsert))}else s.decorations.push(ue(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,1073741824,pe.charInsertWholeLine))}return s}layout(){return Math.max(5,this.decorationsLeft)}}class be extends he{constructor(e,t,n,i,o,r){super(e,t,i.getOption(51),n,o.getOption(51)),this.originalModel=i.getModel(),this.modifiedEditorOptions=o.getOptions(),this.modifiedEditorTabSize=o.getModel().getOptions().tabSize,this.renderIndicators=r}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){let e=document.createElement("div");return e.className="inline-added-margin-view-zone",e}_produceOriginalFromDiff(e,t,n){let i=document.createElement("div");return i.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:i}}_produceModifiedFromDiff(e,t,n){let i=[];if(e.charChanges)for(let t=0,n=e.charChanges.length;t<n;t++){let n=e.charChanges[t];ve(n)&&i.push(new S.a(new W.a(n.originalStartLineNumber,n.originalStartColumn,n.originalEndLineNumber,n.originalEndColumn),"char-delete",0))}let o=Object(z.a)(1e4),r=[];const s=this.modifiedEditorOptions.get(117),a=this.modifiedEditorOptions.get(36),l=s.decorationsWidth;let c=this.modifiedEditorOptions.get(51);const d=a.typicalHalfwidthCharacterWidth;let u=0;const p=[];for(let t=e.originalStartLineNumber;t<=e.originalEndLineNumber;t++)if(u=Math.max(u,this._renderOriginalLine(t-e.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,t,i,o)),p.push(this.originalModel.getLineContent(t)),this.renderIndicators){let n=t-e.originalStartLineNumber;r=r.concat([`<div class="delete-sign ${ae.classNames}" style="position:absolute;top:${n*c}px;width:${l}px;height:${c}px;right:0;"></div>`])}u+=this.modifiedEditorOptions.get(85);let m=document.createElement("div");m.className="view-lines line-delete "+te.a,m.innerHTML=o.build(),h.a.applyFontInfoSlow(m,a);let g=document.createElement("div");return g.className="inline-deleted-margin-view-zone",g.innerHTML=r.join(""),h.a.applyFontInfoSlow(g,a),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:u*d,domNode:m,marginDomNode:g,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:p}}}_renderOriginalLine(e,t,n,i,o,r,s){const a=t.getLineTokens(o),l=a.getLineContent(),c=n.get(36),d=H.a.filter(r,o,1,l.length+1);s.appendASCIIString('<div class="view-line'),0===r.length&&s.appendASCIIString(" char-delete"),s.appendASCIIString('" style="top:'),s.appendASCIIString(String(e*n.get(51))),s.appendASCIIString('px;width:1000000px;">');const h=S.d.isBasicASCII(l,t.mightContainNonBasicASCII()),u=S.d.containsRTL(l,h,t.mightContainRTL()),p=Object(x.d)(new x.c(c.isMonospace&&!n.get(24),c.canUseHalfwidthRightwardsArrow,l,!1,h,u,0,a,d,i,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,n.get(95),n.get(80),n.get(74),n.get(37)!==v.e.OFF,null),s);s.appendASCIIString("</div>");const m=p.characterMapping.getAbsoluteOffsets();return m.length>0?m[m.length-1]:0}}function _e(e){return e.modifiedEndLineNumber>0}function ve(e){return e.originalEndLineNumber>0}Object(T.g)((e,t)=>{const n=e.getColor(E.n);n&&(t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${n}; }`),t.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${n}; }`),t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${n}; }`));const i=e.getColor(E.p);i&&(t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${i}; }`));const o=e.getColor(E.o);o&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===e.type?"dashed":"solid"} ${o}; }`);const r=e.getColor(E.q);r&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===e.type?"dashed":"solid"} ${r}; }`);const s=e.getColor(E.ic);s&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${s}; }`);const a=e.getColor(E.l);a&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${a}; }`);const l=e.getColor(E.kc);l&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${l};\n\t\t\t}\n\t\t`);const c=e.getColor(E.lc);c&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${c};\n\t\t\t}\n\t\t`);const d=e.getColor(E.jc);d&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${d};\n\t\t\t}\n\t\t`);const h=e.getColor(E.m);t.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${h} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${h} 50%, ${h} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)})},function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function n(e,n){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=function(e,n){if(e){if("string"==typeof e)return t(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){i&&(e=i);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=e[Symbol.iterator]()).next.bind(i)}var i=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),o=(i.defaults,i.getDefaults,i.changeDefaults,/[&<>"']/),r=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return l[e]},d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(d,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var u=/(^|[^\[])\^/g,p=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},f=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t){g[" "+e]||(f.test(e)?g[" "+e]=e+"/":g[" "+e]=w(e,"/",!0));var n=-1===(e=g[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(b,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}function w(e,t,n){var i=e.length;if(0===i)return"";for(var o=0;o<i;){var r=e.charAt(i-o-1);if(r!==t||n){if(r===t||!n)break;o++}else o++}return e.substr(0,i-o)}var y=function(e,t){if(t){if(o.test(e))return e.replace(r,c)}else if(s.test(e))return e.replace(a,c);return e},C=h,x=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(u,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n},S=function(e,t,n){if(e){var i;try{i=decodeURIComponent(h(n)).replace(p,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!m.test(n)&&(n=v(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},k={exec:function(){}},E=function(e){for(var t,n,i=1;i<arguments.length;i++)for(n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},T=function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var i=!1,o=t;--o>=0&&"\\"===n[o];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n},L=w,N=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,o=0;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])i++;else if(e[o]===t[1]&&--i<0)return o;return-1},I=function(e){e&&e.sanitize&&e.silent},O=i.defaults,D=L,A=T,R=y,M=N;function P(e,t,n){var i=t.href,o=t.title?R(t.title):null,r=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:i,title:o,text:r}:{type:"image",raw:n,href:i,title:o,text:R(r)}}var F=function(){function e(e){this.options=e||O}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var i=t[t.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var o=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?o:D(o,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:A(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,o=n.align.length;for(i=0;i<o;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(o=n.cells.length,i=0;i<o;i++)n.cells[i]=A(n.cells[i],n.header.length);return n}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,i,o,r,s,a,l,c=t[0],d=t[2],h=d.length>1,u=")"===d[d.length-1],p={type:"list",raw:c,ordered:h,start:h?+d.slice(0,-1):"",loose:!1,items:[]},m=t[0].match(this.rules.block.item),g=!1,f=m.length,b=0;b<f;b++)c=n=m[b],i=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) */,"")).indexOf("\n ")&&(i-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+i+"}","gm"),"")),b!==f-1&&(o=this.rules.block.bullet.exec(m[b+1])[0],(h?1===o.length||!u&&")"===o[o.length-1]:o.length>1||this.options.smartLists&&o!==d)&&(r=m.slice(b+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-r.length),b=f-1)),s=g||/\n\n(?!\s*$)/.test(n),b!==f-1&&(g="\n"===n.charAt(n.length-1),s||(s=g)),s&&(p.loose=!0),l=void 0,(a=/^\[[ xX]\] /.test(n))&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),p.items.push({type:"list_item",raw:c,task:a,checked:l,loose:s,text:n});return p}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:A(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,o=n.align.length;for(i=0;i<o;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(o=n.cells.length,i=0;i<o;i++)n.cells[i]=A(n.cells[i].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e,t){var n=this.rules.block.text.exec(e);if(n){var i=t[t.length-1];return i&&"text"===i.type?{raw:n[0],text:n[0]}:{type:"text",raw:n[0],text:n[0]}}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:R(t[1])}},t.tag=function(e,t,n){var i=this.rules.inline.tag.exec(e);if(i)return!t&&/^<a /i.test(i[0])?t=!0:t&&/^<\/a>/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):R(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=M(t[2],"()");if(n>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var o=t[2],r="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s?(o=s[1],r=s[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";return P(t,{href:(o=o.trim().replace(/^<([\s\S]*)>$/,"$1"))?o.replace(this.rules.inline._escapes,"$1"):o,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return P(n,i,n[0])}},t.strong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.strong.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var o,r="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(r.lastIndex=0;null!=(i=r.exec(t));)if(o=this.rules.inline.strong.middle.exec(t.slice(0,i.index+3)))return{type:"strong",raw:e.slice(0,o[0].length),text:e.slice(2,o[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.em.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var o,r="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(r.lastIndex=0;null!=(i=r.exec(t));)if(o=this.rules.inline.em.middle.exec(t.slice(0,i.index+2)))return{type:"em",raw:e.slice(0,o[0].length),text:e.slice(1,o[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),o=n.startsWith(" ")&&n.endsWith(" ");return i&&o&&(n=n.substring(1,n.length-1)),n=R(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,i,o=this.rules.inline.autolink.exec(e);if(o)return i="@"===o[2]?"mailto:"+(n=R(this.options.mangle?t(o[1]):o[1])):n=R(o[1]),{type:"link",raw:o[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,o;if("@"===n[2])o="mailto:"+(i=R(this.options.mangle?t(n[0]):n[0]));else{var r;do{r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(r!==n[0]);i=R(n[0]),o="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,o=this.rules.inline.text.exec(e);if(o)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):R(o[0]):o[0]:R(this.options.smartypants?n(o[0]):o[0]),{type:"text",raw:o[0],text:i}},e}(),W=k,z=x,B=E,j={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:W,table:W,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};j.def=z(j.def).replace("label",j._label).replace("title",j._title).getRegex(),j.bullet=/(?:[*+-]|\d{1,9}[.)])/,j.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,j.item=z(j.item,"gm").replace(/bull/g,j.bullet).getRegex(),j.list=z(j.list).replace(/bull/g,j.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+j.def.source+")").getRegex(),j._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,j.html=z(j.html,"i").replace("comment",j._comment).replace("tag",j._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),j.paragraph=z(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.blockquote=z(j.blockquote).replace("paragraph",j.paragraph).getRegex(),j.normal=B({},j),j.gfm=B({},j.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),j.gfm.nptable=z(j.gfm.nptable).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.gfm.table=z(j.gfm.table).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.pedantic=B({},j.normal,{html:z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:W,paragraph:z(j.normal._paragraph).replace("hr",j.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",j.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var V={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:W,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:W,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};V.punctuation=z(V.punctuation).replace(/punctuation/g,V._punctuation).getRegex(),V._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",V._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",V._comment=z(j._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),V.em.start=z(V.em.start).replace(/punctuation/g,V._punctuation).getRegex(),V.em.middle=z(V.em.middle).replace(/punctuation/g,V._punctuation).replace(/overlapSkip/g,V._overlapSkip).getRegex(),V.em.endAst=z(V.em.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.em.endUnd=z(V.em.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.start=z(V.strong.start).replace(/punctuation/g,V._punctuation).getRegex(),V.strong.middle=z(V.strong.middle).replace(/punctuation/g,V._punctuation).replace(/blockSkip/g,V._blockSkip).getRegex(),V.strong.endAst=z(V.strong.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.endUnd=z(V.strong.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.blockSkip=z(V._blockSkip,"g").getRegex(),V.overlapSkip=z(V._overlapSkip,"g").getRegex(),V._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,V._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,V._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,V.autolink=z(V.autolink).replace("scheme",V._scheme).replace("email",V._email).getRegex(),V._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,V.tag=z(V.tag).replace("comment",V._comment).replace("attribute",V._attribute).getRegex(),V._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,V._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,V.link=z(V.link).replace("label",V._label).replace("href",V._href).replace("title",V._title).getRegex(),V.reflink=z(V.reflink).replace("label",V._label).getRegex(),V.reflinkSearch=z(V.reflinkSearch,"g").replace("reflink",V.reflink).replace("nolink",V.nolink).getRegex(),V.normal=B({},V),V.pedantic=B({},V.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",V._label).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",V._label).getRegex()}),V.gfm=B({},V.normal,{escape:z(V.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),V.gfm.url=z(V.gfm.url,"i").replace("email",V.gfm._extended_email).getRegex(),V.breaks=B({},V.gfm,{br:z(V.br).replace("{2,}","*").getRegex(),text:z(V.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var U={block:j,inline:V},H=i.defaults,q=U.block,$=U.inline;function K(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function G(e){var t,n,i="",o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var Y=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||H,this.options.tokenizer=this.options.tokenizer||new F,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:q.normal,inline:$.normal};this.options.pedantic?(t.block=q.pedantic,t.inline=$.pedantic):this.options.gfm&&(t.block=q.gfm,this.options.breaks?t.inline=$.breaks:t.inline=$.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)};var n,i,o,r=t.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var i,o,r,s;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((s=t[t.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),r=i.items.length,o=0;o<r;o++)i.items[o].tokens=this.blockTokens(i.items[o].text,[],!1);t.push(i)}else if(i=this.tokenizer.html(e))e=e.substring(i.raw.length),t.push(i);else if(n&&(i=this.tokenizer.def(e)))e=e.substring(i.raw.length),this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});else if(i=this.tokenizer.table(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.lheading(e))e=e.substring(i.raw.length),t.push(i);else if(n&&(i=this.tokenizer.paragraph(e)))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.text(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((s=t[t.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return t},r.inline=function(e){var t,n,i,o,r,s,a=e.length;for(t=0;t<a;t++)switch((s=e[t]).type){case"paragraph":case"text":case"heading":s.tokens=[],this.inlineTokens(s.text,s.tokens);break;case"table":for(s.tokens={header:[],cells:[]},o=s.header.length,n=0;n<o;n++)s.tokens.header[n]=[],this.inlineTokens(s.header[n],s.tokens.header[n]);for(o=s.cells.length,n=0;n<o;n++)for(r=s.cells[n],s.tokens.cells[n]=[],i=0;i<r.length;i++)s.tokens.cells[n][i]=[],this.inlineTokens(r[i],s.tokens.cells[n][i]);break;case"blockquote":this.inline(s.tokens);break;case"list":for(o=s.items.length,n=0;n<o;n++)this.inline(s.items[n].tokens)}return e},r.inlineTokens=function(e,t,n,i,o){var r;void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===i&&(i=!1),void 0===o&&(o="");var s,a=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(a));)l.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e,n,i))e=e.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.strong(e,a,o))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.em(e,a,o))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.autolink(e,G))e=e.substring(r.raw.length),t.push(r);else if(n||!(r=this.tokenizer.url(e,G))){if(r=this.tokenizer.inlineText(e,i,K))e=e.substring(r.raw.length),o=r.raw.slice(-1),t.push(r);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(r.raw.length),t.push(r);return t},n=t,o=[{key:"rules",get:function(){return{block:q,inline:$}}}],(i=null)&&e(n.prototype,i),o&&e(n,o),t}(),Z=i.defaults,X=S,Q=y,J=function(){function e(e){this.options=e||Z}var t=e.prototype;return t.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,i);null!=o&&o!==e&&(n=!0,e=o)}return i?'<pre><code class="'+this.options.langPrefix+Q(i,!0)+'">'+(n?e:Q(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Q(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+i.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(null===(e=X(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<a href="'+Q(e)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},t.image=function(e,t,n){if(null===(e=X(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+=this.options.xhtml?"/>":">"},t.text=function(e){return e},e}(),ee=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),te=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),ne=i.defaults,ie=C,oe=function(){function e(e){this.options=e||ne,this.options.renderer=this.options.renderer||new J,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ee,this.slugger=new te}e.parse=function(t,n){return new e(n).parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,o,r,s,a,l,c,d,h,u,p,m,g,f,b,_,v,w="",y=e.length;for(n=0;n<y;n++)switch((h=e[n]).type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(h.tokens),h.depth,ie(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(c="",l="",r=h.header.length,i=0;i<r;i++)l+=this.renderer.tablecell(this.parseInline(h.tokens.header[i]),{header:!0,align:h.align[i]});for(c+=this.renderer.tablerow(l),d="",r=h.cells.length,i=0;i<r;i++){for(l="",s=(a=h.tokens.cells[i]).length,o=0;o<s;o++)l+=this.renderer.tablecell(this.parseInline(a[o]),{header:!1,align:h.align[o]});d+=this.renderer.tablerow(l)}w+=this.renderer.table(c,d);continue;case"blockquote":d=this.parse(h.tokens),w+=this.renderer.blockquote(d);continue;case"list":for(u=h.ordered,p=h.start,m=h.loose,r=h.items.length,d="",i=0;i<r;i++)b=(f=h.items[i]).checked,_=f.task,g="",f.task&&(v=this.renderer.checkbox(b),m?f.tokens.length>0&&"text"===f.tokens[0].type?(f.tokens[0].text=v+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=v+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:v}):g+=v),g+=this.parse(f.tokens,m),d+=this.renderer.listitem(g,_,b);w+=this.renderer.list(d,u,p);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(d=h.tokens?this.parseInline(h.tokens):h.text;n+1<y&&"text"===e[n+1].type;)d+="\n"+((h=e[++n]).tokens?this.parseInline(h.tokens):h.text);w+=t?this.renderer.paragraph(d):d;continue;default:var C='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(C);throw new Error(C)}return w},t.parseInline=function(e,t){t=t||this.renderer;var n,i,o="",r=e.length;for(n=0;n<r;n++)switch((i=e[n]).type){case"escape":o+=t.text(i.text);break;case"html":o+=t.html(i.text);break;case"link":o+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":o+=t.image(i.href,i.title,i.text);break;case"strong":o+=t.strong(this.parseInline(i.tokens,t));break;case"em":o+=t.em(this.parseInline(i.tokens,t));break;case"codespan":o+=t.codespan(i.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(i.tokens,t));break;case"text":o+=t.text(i.text);break;default:var s='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}return o},e}(),re=E,se=I,ae=y,le=i.getDefaults,ce=i.changeDefaults,de=i.defaults;function he(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=re({},he.defaults,t||{}),se(t),n){var i,o=t.highlight;try{i=Y.lex(e,t)}catch(e){return n(e)}var r=function(e){var r;if(!e)try{r=oe.parse(i,t)}catch(t){e=t}return t.highlight=o,e?n(e):n(null,r)};if(!o||o.length<3)return r();if(delete t.highlight,!i.length)return r();var s=0;return he.walkTokens(i,(function(e){"code"===e.type&&(s++,setTimeout((function(){o(e.text,e.lang,(function(t,n){if(t)return r(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--s&&r()}))}),0))})),void(0===s&&r())}try{var a=Y.lex(e,t);return t.walkTokens&&he.walkTokens(a,t.walkTokens),oe.parse(a,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ae(e.message+"",!0)+"</pre>";throw e}}return he.options=he.setOptions=function(e){return re(he.defaults,e),ce(he.defaults),he},he.getDefaults=le,he.defaults=de,he.use=function(e){var t=re({},e);if(e.renderer&&function(){var n=he.defaults.renderer||new J,i=function(t){var i=n[t];n[t]=function(){for(var o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];var a=e.renderer[t].apply(n,r);return!1===a&&(a=i.apply(n,r)),a}};for(var o in e.renderer)i(o);t.renderer=n}(),e.tokenizer&&function(){var n=he.defaults.tokenizer||new F,i=function(t){var i=n[t];n[t]=function(){for(var o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];var a=e.tokenizer[t].apply(n,r);return!1===a&&(a=i.apply(n,r)),a}};for(var o in e.tokenizer)i(o);t.tokenizer=n}(),e.walkTokens){var n=he.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}he.setOptions(t)},he.walkTokens=function(e,t){for(var i,o=n(e);!(i=o()).done;){var r=i.value;switch(t(r),r.type){case"table":for(var s,a=n(r.tokens.header);!(s=a()).done;){var l=s.value;he.walkTokens(l,t)}for(var c,d=n(r.tokens.cells);!(c=d()).done;)for(var h,u=n(c.value);!(h=u()).done;){var p=h.value;he.walkTokens(p,t)}break;case"list":he.walkTokens(r.items,t);break;default:r.tokens&&he.walkTokens(r.tokens,t)}}},he.Parser=oe,he.parser=oe.parse,he.Renderer=J,he.TextRenderer=ee,he.Lexer=Y,he.lexer=Y.lex,he.Tokenizer=F,he.Slugger=te,he.parse=he,he}()},function(e,t,n){var i=n(32),o=n(250);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){var i=n(32),o=n(263);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){var i=n(32),o=n(297);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){var i=n(32),o=n(304);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){var i=n(32),o=n(201);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n/* Default standalone editor fonts */\n.monaco-editor {\n\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\n\tstroke-width: 1.2px;\n}\n\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n\tstroke-width: 1.2px;\n}\n\n.monaco-hover p {\n\tmargin: 0;\n}\n\n/* The hc-black theme is already high contrast optimized */\n.monaco-editor.hc-black {\n\t-ms-high-contrast-adjust: none;\n}\n/* In case the browser goes into high contrast mode and the editor is not configured with the hc-black theme */\n@media screen and (-ms-high-contrast:active) {\n\n\t/* current line highlight */\n\t.monaco-editor.vs .view-overlays .current-line,\n\t.monaco-editor.vs-dark .view-overlays .current-line {\n\t\tborder-color: windowtext !important;\n\t\tborder-left: 0;\n\t\tborder-right: 0;\n\t}\n\n\t/* view cursors */\n\t.monaco-editor.vs .cursor,\n\t.monaco-editor.vs-dark .cursor {\n\t\tbackground-color: windowtext !important;\n\t}\n\t/* dnd target */\n\t.monaco-editor.vs .dnd-target,\n\t.monaco-editor.vs-dark .dnd-target {\n\t\tborder-color: windowtext !important;\n\t}\n\n\t/* selected text background */\n\t.monaco-editor.vs .selected-text,\n\t.monaco-editor.vs-dark .selected-text {\n\t\tbackground-color: highlight !important;\n\t}\n\n\t/* allow the text to have a transparent background. */\n\t.monaco-editor.vs .view-line,\n\t.monaco-editor.vs-dark .view-line {\n\t\t-ms-high-contrast-adjust: none;\n\t}\n\n\t/* text color */\n\t.monaco-editor.vs .view-line span,\n\t.monaco-editor.vs-dark .view-line span {\n\t\tcolor: windowtext !important;\n\t}\n\t/* selected text color */\n\t.monaco-editor.vs .view-line span.inline-selected-text,\n\t.monaco-editor.vs-dark .view-line span.inline-selected-text {\n\t\tcolor: highlighttext !important;\n\t}\n\n\t/* allow decorations */\n\t.monaco-editor.vs .view-overlays,\n\t.monaco-editor.vs-dark .view-overlays {\n\t\t-ms-high-contrast-adjust: none;\n\t}\n\n\t/* various decorations */\n\t.monaco-editor.vs .selectionHighlight,\n\t.monaco-editor.vs-dark .selectionHighlight,\n\t.monaco-editor.vs .wordHighlight,\n\t.monaco-editor.vs-dark .wordHighlight,\n\t.monaco-editor.vs .wordHighlightStrong,\n\t.monaco-editor.vs-dark .wordHighlightStrong,\n\t.monaco-editor.vs .reference-decoration,\n\t.monaco-editor.vs-dark .reference-decoration {\n\t\tborder: 2px dotted highlight !important;\n\t\tbackground: transparent !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .rangeHighlight,\n\t.monaco-editor.vs-dark .rangeHighlight {\n\t\tbackground: transparent !important;\n\t\tborder: 1px dotted activeborder !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .bracket-match,\n\t.monaco-editor.vs-dark .bracket-match {\n\t\tborder-color: windowtext !important;\n\t\tbackground: transparent !important;\n\t}\n\n\t/* find widget */\n\t.monaco-editor.vs .findMatch,\n\t.monaco-editor.vs-dark .findMatch,\n\t.monaco-editor.vs .currentFindMatch,\n\t.monaco-editor.vs-dark .currentFindMatch {\n\t\tborder: 2px dotted activeborder !important;\n\t\tbackground: transparent !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .find-widget,\n\t.monaco-editor.vs-dark .find-widget {\n\t\tborder: 1px solid windowtext;\n\t}\n\n\t/* list - used by suggest widget */\n\t.monaco-editor.vs .monaco-list .monaco-list-row,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-list .monaco-list-row.focused,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused {\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-list .monaco-list-row:hover,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* scrollbars */\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar {\n\t\t-ms-high-contrast-adjust: none;\n\t\tbackground: background !important;\n\t\tborder: 1px solid windowtext;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\n\t\tbackground: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider:hover,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\tbackground: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider.active,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\n\t\tbackground: highlight !important;\n\t}\n\n\t/* overview ruler */\n\t.monaco-editor.vs .decorationsOverviewRuler,\n\t.monaco-editor.vs-dark .decorationsOverviewRuler {\n\t\topacity: 0;\n\t}\n\n\t/* minimap */\n\t.monaco-editor.vs .minimap,\n\t.monaco-editor.vs-dark .minimap {\n\t\tdisplay: none;\n\t}\n\n\t/* squiggles */\n\t.monaco-editor.vs .squiggly-d-error,\n\t.monaco-editor.vs-dark .squiggly-d-error {\n\t\tbackground: transparent !important;\n\t\tborder-bottom: 4px double #E47777;\n\t}\n\t.monaco-editor.vs .squiggly-c-warning,\n\t.monaco-editor.vs-dark .squiggly-c-warning {\n\t\tborder-bottom: 4px double #71B771;\n\t}\n\t.monaco-editor.vs .squiggly-b-info,\n\t.monaco-editor.vs-dark .squiggly-b-info {\n\t\tborder-bottom: 4px double #71B771;\n\t}\n\t.monaco-editor.vs .squiggly-a-hint,\n\t.monaco-editor.vs-dark .squiggly-a-hint {\n\t\tborder-bottom: 4px double #6c6c6c;\n\t}\n\n\t/* contextmenu */\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label {\n\t\t-ms-high-contrast-adjust: none;\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* diff editor */\n\t.monaco-diff-editor.vs .diffOverviewRuler,\n\t.monaco-diff-editor.vs-dark .diffOverviewRuler {\n\t\tdisplay: none;\n\t}\n\t.monaco-editor.vs .line-insert,\n\t.monaco-editor.vs-dark .line-insert,\n\t.monaco-editor.vs .line-delete,\n\t.monaco-editor.vs-dark .line-delete {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .char-insert,\n\t.monaco-editor.vs-dark .char-insert,\n\t.monaco-editor.vs .char-delete,\n\t.monaco-editor.vs-dark .char-delete {\n\t\tbackground: transparent !important;\n\t}\n}\n\n/*.monaco-editor.vs [tabindex="0"]:focus {\n\toutline: 1px solid rgba(0, 122, 204, 0.4);\n\toutline-offset: -1px;\n\topacity: 1 !important;\n}\n\n.monaco-editor.vs-dark [tabindex="0"]:focus {\n\toutline: 1px solid rgba(14, 99, 156, 0.6);\n\toutline-offset: -1px;\n\topacity: 1 !important;\n}*/\n',""]),e.exports=t},function(e,t,n){"use strict";(function(e){ +!function(e){function t(t){for(var n,r,o=t[0],s=t[1],a=0,c=[];a<o.length;a++)r=o[a],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&c.push(i[r][0]),i[r]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(l&&l(t);c.length;)c.shift()()}var n={},i={0:0};function r(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.e=function(){return Promise.resolve()},r.m=e,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r.oe=function(e){throw console.error(e),e};var o=self.webpackJsonp=self.webpackJsonp||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var l=s;r(r.s=342)}([function(e,t,n){"use strict";function i(e,t,...n){return function(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){const i=n[0];return void 0!==t[i]?t[i]:e})),n}(t,n)}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"s",(function(){return g})),n.d(t,"S",(function(){return f})),n.d(t,"N",(function(){return b})),n.d(t,"I",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return y})),n.d(t,"Q",(function(){return C})),n.d(t,"R",(function(){return x})),n.d(t,"ab",(function(){return S})),n.d(t,"i",(function(){return E})),n.d(t,"n",(function(){return L})),n.d(t,"m",(function(){return N})),n.d(t,"g",(function(){return I})),n.d(t,"h",(function(){return D})),n.d(t,"j",(function(){return O})),n.d(t,"k",(function(){return A})),n.d(t,"W",(function(){return R})),n.d(t,"Y",(function(){return M})),n.d(t,"l",(function(){return B})),n.d(t,"z",(function(){return j})),n.d(t,"y",(function(){return V})),n.d(t,"F",(function(){return q})),n.d(t,"C",(function(){return $})),n.d(t,"d",(function(){return K})),n.d(t,"H",(function(){return G})),n.d(t,"B",(function(){return Y})),n.d(t,"A",(function(){return Z})),n.d(t,"G",(function(){return X})),n.d(t,"L",(function(){return Q})),n.d(t,"w",(function(){return J})),n.d(t,"J",(function(){return ee})),n.d(t,"O",(function(){return ne})),n.d(t,"E",(function(){return ie})),n.d(t,"x",(function(){return re})),n.d(t,"v",(function(){return oe})),n.d(t,"u",(function(){return le})),n.d(t,"P",(function(){return ce})),n.d(t,"M",(function(){return de})),n.d(t,"c",(function(){return he})),n.d(t,"b",(function(){return ue})),n.d(t,"X",(function(){return pe})),n.d(t,"V",(function(){return me})),n.d(t,"bb",(function(){return fe})),n.d(t,"p",(function(){return be})),n.d(t,"U",(function(){return ve})),n.d(t,"a",(function(){return Ce})),n.d(t,"Z",(function(){return xe})),n.d(t,"K",(function(){return Se})),n.d(t,"T",(function(){return ke})),n.d(t,"D",(function(){return Ee})),n.d(t,"t",(function(){return Te})),n.d(t,"cb",(function(){return Le})),n.d(t,"o",(function(){return Ne})),n.d(t,"r",(function(){return Ie})),n.d(t,"q",(function(){return De}));var i=n(34),r=n(44),o=n(67),s=n(69),a=n(20),l=n(13),c=n(6),d=n(2),h=n(11),u=n(16),p=n(45),m=n(138);function g(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e){for(;e;){if(e===document.body)return!0;e=e.parentNode||e.host}return!1}const _=new class{hasClass(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)}addClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.addClass(e,t)))}addClass(e,t){t&&e.classList&&e.classList.add(t)}removeClass(e,t){t&&e.classList&&e.classList.remove(t)}removeClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.removeClass(e,t)))}toggleClass(e,t,n){e.classList&&e.classList.toggle(t,n)}},v=_.hasClass.bind(_),w=_.addClass.bind(_),y=_.addClasses.bind(_),C=_.removeClass.bind(_),x=_.removeClasses.bind(_),S=_.toggleClass.bind(_);class k{constructor(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function E(e,t,n,i){return new k(e,t,n,i)}function T(e){return function(t){return e(new s.a(t))}}let L=function(e,t,n,i){let r=n;return"click"===t||"mousedown"===t?r=T(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(r=function(e){return function(t){return e(new o.a(t))}}(n)),E(e,t,r,i)},N=function(e,t,n){return I(e,T(t),n)};function I(e,t,n){return E(e,h.c&&m.a.pointerEvents?he.POINTER_DOWN:he.MOUSE_DOWN,t,n)}function D(e,t,n){return E(e,h.c&&m.a.pointerEvents?he.POINTER_UP:he.MOUSE_UP,t,n)}function O(e,t){return E(e,"mouseout",n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)})}function A(e,t){return E(e,"pointerout",n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)})}let R,M,P=null;class F{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){Object(l.e)(e)}}static sort(e,t){return t.priority-e.priority}}!function(){let e=[],t=null,n=!1,i=!1,r=()=>{for(n=!1,t=e,e=[],i=!0;t.length>0;){t.sort(F.sort),t.shift().execute()}i=!1};M=(t,i=0)=>{let o=new F(t,i);return e.push(o),n||(n=!0,function(e){if(!P){const e=e=>setTimeout(()=>e((new Date).getTime()),0);P=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}P.call(self,e)}(r)),o},R=(e,n)=>{if(i){let i=new F(e,n);return t.push(i),i}return M(e,n)}}();const W=function(e,t){return t};class z extends d.a{constructor(e,t,n,i=W,r=16){super();let o=null,s=0,l=this._register(new a.e),c=()=>{s=(new Date).getTime(),n(o),o=null};this._register(E(e,t,e=>{o=i(o,e);let t=(new Date).getTime()-s;t>=r?(l.cancel(),c()):l.setIfNotSet(c,r-t)}))}}function B(e,t,n,i,r){return new z(e,t,n,i,r)}function j(e){return document.defaultView.getComputedStyle(e,null)}function V(e){if(e!==document.body)return new H(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){const e=window.visualViewport.width,t=window.visualViewport.height-(i.k?24:0);return new H(e,t)}if(window.innerWidth&&window.innerHeight)return new H(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new H(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new H(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class U{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let i=j(e),r="0";return i&&(r=i.getPropertyValue?i.getPropertyValue(t):i.getAttribute(n)),U.convertToPixels(e,r)}static getBorderLeftWidth(e){return U.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return U.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return U.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return U.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return U.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return U.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return U.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return U.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return U.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return U.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return U.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return U.getDimension(e,"margin-bottom","marginBottom")}}class H{constructor(e,t){this.width=e,this.height=t}}function q(e){let t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;const r=te(e)?null:j(e);r&&(i-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=U.getBorderLeftWidth(e),n+=U.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function $(e){let t=e.getBoundingClientRect();return{left:t.left+K.scrollX,top:t.top+K.scrollY,width:t.width,height:t.height}}const K=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function G(e){let t=U.getMarginLeft(e)+U.getMarginRight(e);return e.offsetWidth+t}function Y(e){let t=U.getBorderLeftWidth(e)+U.getBorderRightWidth(e),n=U.getPaddingLeft(e)+U.getPaddingRight(e);return e.offsetWidth-t-n}function Z(e){let t=U.getBorderTopWidth(e)+U.getBorderBottomWidth(e),n=U.getPaddingTop(e)+U.getPaddingBottom(e);return e.offsetHeight-t-n}function X(e){let t=U.getMarginTop(e)+U.getMarginBottom(e);return e.offsetHeight+t}function Q(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function J(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(v(e,t))return e;if(n)if("string"==typeof n){if(v(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function ee(e,t,n){return!!J(e,t,n)}function te(e){return e&&!!e.host&&!!e.mode}function ne(e){return!!ie(e)}function ie(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return te(e)?e:null}function re(){let e=document.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function oe(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let se=null;function ae(){return se||(se=oe()),se}function le(e,t,n=ae()){n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function ce(e,t=ae()){if(!t)return;let n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),i=[];for(let t=0;t<n.length;t++){-1!==n[t].selectorText.indexOf(e)&&i.push(t)}for(let e=i.length-1;e>=0;e--)t.sheet.deleteRule(i[e])}function de(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}const he={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:i.f?"mousewheel":"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:i.l?"webkitAnimationStart":"animationstart",ANIMATION_END:i.l?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:i.l?"webkitAnimationIteration":"animationiteration"},ue={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function pe(e){let t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function me(e,t){for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}class ge extends d.a{constructor(e){super(),this._onDidFocus=this._register(new c.a),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.a),this.onDidBlur=this._onDidBlur.event;let t=Q(document.activeElement,e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(n=!0,window.setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{Q(document.activeElement,e)!==t&&(t?o():i())},this._register(Object(r.a)(e,he.FOCUS,!0)(i)),this._register(Object(r.a)(e,he.BLUR,!0)(o))}}function fe(e){return new ge(e)}function be(e,...t){return t.forEach(t=>e.appendChild(t)),t[t.length-1]}const _e=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function ve(e,...t){e.innerText="",Object(u.d)(t).forEach(t=>{t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t))})}var we;function ye(e,t,n,...i){let r=_e.exec(t);if(!r)throw new Error("Bad use of emmet");n=Object.assign({},n||{});let o,s=r[1]||"div";return o=e!==we.HTML?document.createElementNS(e,s):document.createElement(s),r[3]&&(o.id=r[3]),r[4]&&(o.className=r[4].replace(/\./g," ").trim()),Object.keys(n).forEach(e=>{const t=n[e];void 0!==t&&(/^on\w+$/.test(e)?o[e]=t:"selected"===e?t&&o.setAttribute(e,"true"):o.setAttribute(e,t))}),Object(u.d)(i).forEach(e=>{e instanceof Node?o.appendChild(e):o.appendChild(document.createTextNode(e))}),o}function Ce(e,t,...n){return ye(we.HTML,e,t,...n)}function xe(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function Se(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function ke(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){let t=function(e,t){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function Ee(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function Te(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function Le(e){if(h.g||i.g)window.open(e);else{let t=window.open();t&&(t.opener=null,t.location.href=e)}}function Ne(e){const t=()=>{e(),n=M(t)};let n=M(t);return Object(d.h)(()=>n.dispose())}function Ie(e){return e&&p.b.vscodeRemote===e.scheme?p.a.rewrite(e):e}function De(e){return e?`url('${Ie(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(we||(we={})),Ce.SVG=function(e,t,...n){return ye(we.SVG,e,t,...n)},p.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return p}));var i=n(37);function r(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function a(e){if(i.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function l(...e){return e.forEach(r),{dispose:()=>a(e)}}function c(e){const t={dispose:()=>{e()}};return t}class d{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{a(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?d.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}d.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new d}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class u{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class p{constructor(e){this.object=e}dispose(){}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(9);class r{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return r.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return r.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return r.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return r.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return r.plusRange(this,e)}static plusRange(e,t){let n,i,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new r(n,i,o,s)}intersectRanges(e){return r.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return n<a?(n=a,i=l):n===a&&(i=Math.max(i,l)),o>c?(o=c,s=d):o===c&&(s=Math.min(s,d)),n>o||n===o&&i>s?null:new r(n,i,o,s)}equalsRange(e){return r.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return r.getEndPosition(this)}static getEndPosition(e){return new i.a(e.endLineNumber,e.endColumn)}getStartPosition(){return r.getStartPosition(this)}static getStartPosition(e){return new i.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new r(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new r(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return r.collapseToStart(this)}static collapseToStart(e){return new r(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;if(n===i){return(0|e.endColumn)-(0|t.endColumn)}return n-i}return n-i}return n-i}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"f",(function(){return x})),n.d(t,"o",(function(){return S})),n.d(t,"j",(function(){return k})),n.d(t,"p",(function(){return E})),n.d(t,"q",(function(){return T})),n.d(t,"l",(function(){return L})),n.d(t,"k",(function(){return N})),n.d(t,"r",(function(){return I})),n.d(t,"n",(function(){return D})),n.d(t,"m",(function(){return O})),n.d(t,"d",(function(){return i})),n.d(t,"i",(function(){return M})),n.d(t,"g",(function(){return P})),n.d(t,"h",(function(){return F}));var i,r=n(0),o=n(13),s=n(23),a=n(41),l=n(9),c=n(64),d=n(122),h=n(24),u=n(27),p=n(10),m=n(92),g=n(56),f=n(120),b=n(14);class _{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=this._kbOpts.kbExpr;this.precondition&&(e=e?p.a.and(e,this.precondition):this.precondition),m.a.registerCommandAndKeybindingRule({id:this.id,handler:(e,t)=>this.runCommand(e,t),weight:this._kbOpts.weight,args:this._kbOpts.args,when:e,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else u.a.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){h.d.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon},when:e.when,order:e.order})}}class v extends _{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e<this._implementations.length;e++)if(this._implementations[e][1]===t)return void this._implementations.splice(e,1)}}}runCommand(e,t){for(const n of this._implementations)if(n[1](e,t))return}}class w extends _{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}}class y extends _{static bindToContribution(e){return class extends y{constructor(e){super(e),this._callback=e.handler}runEditorCommand(t,n,i){e(n)&&this._callback(e(n),i)}}}runCommand(e,t){const n=e.get(a.a),i=n.getFocusedCodeEditor()||n.getActiveCodeEditor();if(i)return i.invokeWithinContext(e=>{if(e.get(p.b).contextMatchesRules(Object(b.n)(this.precondition)))return this.runEditorCommand(e,i,t)})}}class C extends y{constructor(e){super(C.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function n(t){return t.menuId||(t.menuId=h.b.EditorContext),t.title||(t.title=e.label),t.when=p.a.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})}reportTelemetry(e,t){e.get(f.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class x extends C{constructor(e){super(e),this._implementations=[]}runEditorCommand(e,t,n){this.reportTelemetry(e,t);for(const t of this._implementations)if(t[1](e,n))return;return this.run(e,t,n||{})}}function S(e,t){u.a.registerCommand(e,(e,n)=>t(e,n||{}))}function k(e,t){S(e,(function(e,n){const{resource:i,position:r}=n;if(!(i instanceof s.a))throw Object(o.b)("resource");if(!l.a.isIPosition(r))throw Object(o.b)("position");const a=e.get(c.a).getModel(i);if(a){const e=l.a.lift(r);return t(a,e,n)}return e.get(d.a).createModelReference(i).then(e=>new Promise((i,o)=>{try{i(t(e.object.textEditorModel,l.a.lift(r),n))}catch(e){o(e)}}).finally(()=>{e.dispose()}))}))}function E(e,t){u.a.registerCommand(e,(function(e,...n){const[i,r]=n;Object(b.b)(s.a.isUri(i)),Object(b.b)(l.a.isIPosition(r));const o=e.get(c.a).getModel(i);if(o){const e=l.a.lift(r);return t(o,e,...n.slice(2))}return e.get(d.a).createModelReference(i).then(e=>new Promise((i,o)=>{try{i(t(e.object.textEditorModel,l.a.lift(r),n.slice(2)))}catch(e){o(e)}}).finally(()=>{e.dispose()}))}))}function T(e,t){u.a.registerCommand(e,(function(e,...n){const[i]=n;Object(b.b)(s.a.isUri(i));const r=e.get(c.a).getModel(i);return r?t(r,...n.slice(1)):e.get(d.a).createModelReference(i).then(e=>new Promise((i,r)=>{try{i(t(e.object.textEditorModel,n.slice(1)))}catch(e){r(e)}}).finally(()=>{e.dispose()}))}))}function L(e){return A.INSTANCE.registerEditorCommand(e),e}function N(e){const t=new e;return A.INSTANCE.registerEditorAction(t),t}function I(e){return A.INSTANCE.registerEditorAction(e),e}function D(e){A.INSTANCE.registerEditorAction(e)}function O(e,t){A.INSTANCE.registerEditorContribution(e,t)}!function(e){e.getEditorCommand=function(e){return A.INSTANCE.getEditorCommand(e)},e.getEditorActions=function(){return A.INSTANCE.getEditorActions()},e.getEditorContributions=function(){return A.INSTANCE.getEditorContributions()},e.getSomeEditorContributions=function(e){return A.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)},e.getDiffEditorContributions=function(){return A.INSTANCE.getDiffEditorContributions()}}(i||(i={}));class A{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function R(e){return e.register(),e}A.INSTANCE=new A,g.a.add("editor.contributions",A.INSTANCE);const M=R(new v({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:h.b.MenubarEditMenu,group:"1_do",title:r.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:h.b.CommandPalette,group:"",title:r.a("undo","Undo"),order:1}]}));R(new w(M,{id:"default:undo",precondition:void 0}));const P=R(new v({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:h.b.MenubarEditMenu,group:"1_do",title:r.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:h.b.CommandPalette,group:"",title:r.a("redo","Redo"),order:1}]}));R(new w(P,{id:"default:redo",precondition:void 0}));const F=R(new v({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:h.b.MenubarSelectionMenu,group:"1_basic",title:r.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:h.b.CommandPalette,group:"",title:r.a("selectAll","Select All"),order:1}]}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"gc",(function(){return h})),n.d(t,"ab",(function(){return u})),n.d(t,"Y",(function(){return p})),n.d(t,"bb",(function(){return m})),n.d(t,"Z",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"b",(function(){return b})),n.d(t,"rc",(function(){return _})),n.d(t,"qc",(function(){return v})),n.d(t,"uc",(function(){return w})),n.d(t,"fb",(function(){return y})),n.d(t,"hb",(function(){return C})),n.d(t,"gb",(function(){return x})),n.d(t,"db",(function(){return S})),n.d(t,"cb",(function(){return k})),n.d(t,"eb",(function(){return E})),n.d(t,"lb",(function(){return T})),n.d(t,"nb",(function(){return L})),n.d(t,"mb",(function(){return N})),n.d(t,"ob",(function(){return I})),n.d(t,"qb",(function(){return D})),n.d(t,"pb",(function(){return O})),n.d(t,"ib",(function(){return A})),n.d(t,"kb",(function(){return R})),n.d(t,"jb",(function(){return M})),n.d(t,"f",(function(){return W})),n.d(t,"e",(function(){return z})),n.d(t,"g",(function(){return B})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return V})),n.d(t,"ic",(function(){return U})),n.d(t,"kc",(function(){return H})),n.d(t,"lc",(function(){return q})),n.d(t,"jc",(function(){return $})),n.d(t,"cc",(function(){return K})),n.d(t,"u",(function(){return G})),n.d(t,"t",(function(){return Y})),n.d(t,"T",(function(){return Z})),n.d(t,"S",(function(){return X})),n.d(t,"L",(function(){return Q})),n.d(t,"K",(function(){return J})),n.d(t,"D",(function(){return ee})),n.d(t,"C",(function(){return te})),n.d(t,"s",(function(){return ne})),n.d(t,"B",(function(){return ie})),n.d(t,"U",(function(){return re})),n.d(t,"W",(function(){return oe})),n.d(t,"V",(function(){return se})),n.d(t,"X",(function(){return ae})),n.d(t,"dc",(function(){return le})),n.d(t,"ec",(function(){return ce})),n.d(t,"fc",(function(){return de})),n.d(t,"Yb",(function(){return he})),n.d(t,"Xb",(function(){return ue})),n.d(t,"O",(function(){return pe})),n.d(t,"P",(function(){return me})),n.d(t,"J",(function(){return ge})),n.d(t,"Q",(function(){return fe})),n.d(t,"R",(function(){return be})),n.d(t,"v",(function(){return _e})),n.d(t,"x",(function(){return ve})),n.d(t,"z",(function(){return we})),n.d(t,"w",(function(){return ye})),n.d(t,"y",(function(){return Ce})),n.d(t,"A",(function(){return xe})),n.d(t,"H",(function(){return Se})),n.d(t,"E",(function(){return ke})),n.d(t,"G",(function(){return Ee})),n.d(t,"F",(function(){return Te})),n.d(t,"I",(function(){return Le})),n.d(t,"r",(function(){return Ne})),n.d(t,"N",(function(){return Ie})),n.d(t,"M",(function(){return De})),n.d(t,"j",(function(){return Oe})),n.d(t,"k",(function(){return Ae})),n.d(t,"n",(function(){return Re})),n.d(t,"p",(function(){return Me})),n.d(t,"o",(function(){return Pe})),n.d(t,"q",(function(){return Fe})),n.d(t,"l",(function(){return We})),n.d(t,"m",(function(){return ze})),n.d(t,"xb",(function(){return Be})),n.d(t,"yb",(function(){return je})),n.d(t,"rb",(function(){return Ve})),n.d(t,"sb",(function(){return Ue})),n.d(t,"Db",(function(){return He})),n.d(t,"Eb",(function(){return qe})),n.d(t,"Cb",(function(){return $e})),n.d(t,"Ab",(function(){return Ke})),n.d(t,"Bb",(function(){return Ge})),n.d(t,"tb",(function(){return Ye})),n.d(t,"zb",(function(){return Ze})),n.d(t,"ub",(function(){return Xe})),n.d(t,"wb",(function(){return Qe})),n.d(t,"vb",(function(){return Je})),n.d(t,"tc",(function(){return et})),n.d(t,"Gb",(function(){return tt})),n.d(t,"Hb",(function(){return nt})),n.d(t,"Fb",(function(){return it})),n.d(t,"Kb",(function(){return rt})),n.d(t,"Ib",(function(){return ot})),n.d(t,"Jb",(function(){return st})),n.d(t,"Lb",(function(){return at})),n.d(t,"oc",(function(){return lt})),n.d(t,"pc",(function(){return ct})),n.d(t,"mc",(function(){return dt})),n.d(t,"nc",(function(){return ht})),n.d(t,"Vb",(function(){return ut})),n.d(t,"Wb",(function(){return pt})),n.d(t,"Ob",(function(){return mt})),n.d(t,"Pb",(function(){return gt})),n.d(t,"Nb",(function(){return ft})),n.d(t,"Tb",(function(){return bt})),n.d(t,"Mb",(function(){return _t})),n.d(t,"Rb",(function(){return vt})),n.d(t,"Sb",(function(){return wt})),n.d(t,"Qb",(function(){return yt})),n.d(t,"Zb",(function(){return Ct})),n.d(t,"bc",(function(){return xt})),n.d(t,"ac",(function(){return St})),n.d(t,"i",(function(){return kt})),n.d(t,"sc",(function(){return Tt})),n.d(t,"Ub",(function(){return Lt})),n.d(t,"hc",(function(){return It}));var i=n(56),r=n(15),o=n(6),s=n(0),a=n(188),l=n(20);const c={ColorContribution:"base.contributions.colors"};const d=new class{constructor(){this._onDidChangeSchema=new o.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,n,i=!1,r){let o={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:r};this.colorsById[e]=o;let s={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return r&&(s.deprecationMessage=r),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e}resolveDefaultColor(e,t){const n=this.colorsById[e];if(n&&n.defaults){return It(n.defaults[t.type],t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{let n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function h(e,t,n,i,r){return d.registerColor(e,t,n,i,r)}i.a.add(c.ColorContribution,d);const u=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),p=h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},s.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),m=h("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},s.a("iconForeground","The default color for icons in the workbench.")),g=h("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},s.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),f=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),b=h("contrastActiveBorder",{light:null,dark:null,hc:g},s.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),_=h("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.a("textLinkForeground","Foreground color for links in text.")),v=h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:r.a.black},s.a("textCodeBlockBackground","Background color for code blocks in text.")),w=h("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},s.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),y=h("input.background",{dark:"#3C3C3C",light:r.a.white,hc:r.a.black},s.a("inputBoxBackground","Input box background.")),C=h("input.foreground",{dark:u,light:u,hc:u},s.a("inputBoxForeground","Input box foreground.")),x=h("input.border",{dark:null,light:null,hc:f},s.a("inputBoxBorder","Input box border.")),S=h("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:f},s.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),k=h("inputOption.activeBackground",{dark:Tt(g,.4),light:Tt(g,.2),hc:r.a.transparent},s.a("inputOption.activeBackground","Background color of activated options in input fields.")),E=h("inputOption.activeForeground",{dark:r.a.white,light:r.a.black,hc:null},s.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),T=h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:r.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),L=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),N=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:f},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),I=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:r.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),D=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},s.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),O=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:f},s.a("inputValidationWarningBorder","Input validation border color for warning severity.")),A=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:r.a.black},s.a("inputValidationErrorBackground","Input validation background color for error severity.")),R=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},s.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),M=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:f},s.a("inputValidationErrorBorder","Input validation border color for error severity.")),P=h("dropdown.background",{dark:"#3C3C3C",light:r.a.white,hc:r.a.black},s.a("dropdownBackground","Dropdown background.")),F=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:r.a.white},s.a("dropdownForeground","Dropdown foreground.")),W=h("button.foreground",{dark:r.a.white,light:r.a.white,hc:r.a.white},s.a("buttonForeground","Button foreground color.")),z=h("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},s.a("buttonBackground","Button background color.")),B=h("button.hoverBackground",{dark:Et(z,.2),light:kt(z,.2),hc:null},s.a("buttonHoverBackground","Button background color when hovering.")),j=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:r.a.black},s.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),V=h("badge.foreground",{dark:r.a.white,light:"#333",hc:r.a.white},s.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),U=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),H=h("scrollbarSlider.background",{dark:r.a.fromHex("#797979").transparent(.4),light:r.a.fromHex("#646464").transparent(.4),hc:Tt(f,.6)},s.a("scrollbarSliderBackground","Scrollbar slider background color.")),q=h("scrollbarSlider.hoverBackground",{dark:r.a.fromHex("#646464").transparent(.7),light:r.a.fromHex("#646464").transparent(.7),hc:Tt(f,.8)},s.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),$=h("scrollbarSlider.activeBackground",{dark:r.a.fromHex("#BFBFBF").transparent(.4),light:r.a.fromHex("#000000").transparent(.6),hc:f},s.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),K=h("progressBar.background",{dark:r.a.fromHex("#0E70C0"),light:r.a.fromHex("#0E70C0"),hc:f},s.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),G=h("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},s.a("editorError.foreground","Foreground color of error squigglies in the editor.")),Y=h("editorError.border",{dark:null,light:null,hc:r.a.fromHex("#E47777").transparent(.8)},s.a("errorBorder","Border color of error boxes in the editor.")),Z=h("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},s.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),X=h("editorWarning.border",{dark:null,light:null,hc:r.a.fromHex("#FFCC00").transparent(.8)},s.a("warningBorder","Border color of warning boxes in the editor.")),Q=h("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},s.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),J=h("editorInfo.border",{dark:null,light:null,hc:r.a.fromHex("#75BEFF").transparent(.8)},s.a("infoBorder","Border color of info boxes in the editor.")),ee=h("editorHint.foreground",{dark:r.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},s.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),te=h("editorHint.border",{dark:null,light:null,hc:r.a.fromHex("#eeeeee").transparent(.8)},s.a("hintBorder","Border color of hint boxes in the editor.")),ne=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:r.a.black},s.a("editorBackground","Editor background color.")),ie=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:r.a.white},s.a("editorForeground","Editor default foreground color.")),re=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},s.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),oe=h("editorWidget.foreground",{dark:u,light:u,hc:u},s.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),se=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:f},s.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),ae=h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},s.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),le=h("quickInput.background",{dark:re,light:re,hc:re},s.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),ce=h("quickInput.foreground",{dark:oe,light:oe,hc:oe},s.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),de=h("quickInputTitle.background",{dark:new r.a(new r.c(255,255,255,.105)),light:new r.a(new r.c(0,0,0,.06)),hc:"#000000"},s.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),he=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:r.a.white},s.a("pickerGroupForeground","Quick picker color for grouping labels.")),ue=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:r.a.white},s.a("pickerGroupBorder","Quick picker color for grouping borders.")),pe=h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},s.a("editorSelectionBackground","Color of the editor selection.")),me=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},s.a("editorSelectionForeground","Color of the selected text for high contrast.")),ge=h("editor.inactiveSelectionBackground",{light:Tt(pe,.5),dark:Tt(pe,.5),hc:Tt(pe,.5)},s.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),fe=h("editor.selectionHighlightBackground",{light:Nt(pe,ne,.3,.6),dark:Nt(pe,ne,.3,.6),hc:null},s.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),be=h("editor.selectionHighlightBorder",{light:null,dark:null,hc:b},s.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),_e=h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},s.a("editorFindMatch","Color of the current search match.")),ve=h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},s.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),we=h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},s.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ye=h("editor.findMatchBorder",{light:null,dark:null,hc:b},s.a("editorFindMatchBorder","Border color of the current search match.")),Ce=h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:b},s.a("findMatchHighlightBorder","Border color of the other search matches.")),xe=h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Tt(b,.4)},s.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Se=h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},s.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),ke=h("editorHoverWidget.background",{light:re,dark:re,hc:re},s.a("hoverBackground","Background color of the editor hover.")),Ee=h("editorHoverWidget.foreground",{light:oe,dark:oe,hc:oe},s.a("hoverForeground","Foreground color of the editor hover.")),Te=h("editorHoverWidget.border",{light:se,dark:se,hc:se},s.a("hoverBorder","Border color of the editor hover.")),Le=h("editorHoverWidget.statusBarBackground",{dark:Et(ke,.2),light:kt(ke,.05),hc:re},s.a("statusBarBackground","Background color of the editor hover status bar.")),Ne=h("editorLink.activeForeground",{dark:"#4E94CE",light:r.a.blue,hc:r.a.cyan},s.a("activeLinkForeground","Color of active links.")),Ie=h("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},s.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),De=h("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},s.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Oe=new r.a(new r.c(155,185,85,.2)),Ae=new r.a(new r.c(255,0,0,.2)),Re=h("diffEditor.insertedTextBackground",{dark:Oe,light:Oe,hc:null},s.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Me=h("diffEditor.removedTextBackground",{dark:Ae,light:Ae,hc:null},s.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Pe=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},s.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Fe=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},s.a("diffEditorRemovedOutline","Outline color for text that got removed.")),We=h("diffEditor.border",{dark:null,light:null,hc:f},s.a("diffEditorBorder","Border color between the two text editors.")),ze=h("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},s.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),Be=h("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},s.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),je=h("list.focusForeground",{dark:null,light:null,hc:null},s.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ve=h("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},s.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ue=h("list.activeSelectionForeground",{dark:r.a.white,light:r.a.white,hc:null},s.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),He=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},s.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),qe=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},s.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),$e=h("list.inactiveFocusBackground",{dark:null,light:null,hc:null},s.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ke=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},s.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Ge=h("list.hoverForeground",{dark:null,light:null,hc:null},s.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ye=h("list.dropBackground",{dark:Be,light:Be,hc:null},s.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Ze=h("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:g},s.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Xe=h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:r.a.black},s.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Qe=h("listFilterWidget.outline",{dark:r.a.transparent,light:r.a.transparent,hc:"#f38518"},s.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Je=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:f},s.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),et=h("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},s.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),tt=h("menu.border",{dark:null,light:null,hc:f},s.a("menuBorder","Border color of menus.")),nt=h("menu.foreground",{dark:F,light:u,hc:F},s.a("menuForeground","Foreground color of menu items.")),it=h("menu.background",{dark:P,light:P,hc:P},s.a("menuBackground","Background color of menu items.")),rt=h("menu.selectionForeground",{dark:Ue,light:Ue,hc:Ue},s.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),ot=h("menu.selectionBackground",{dark:Ve,light:Ve,hc:Ve},s.a("menuSelectionBackground","Background color of the selected menu item in menus.")),st=h("menu.selectionBorder",{dark:null,light:null,hc:b},s.a("menuSelectionBorder","Border color of the selected menu item in menus.")),at=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:f},s.a("menuSeparatorBackground","Color of a separator menu item in menus.")),lt=h("editor.snippetTabstopHighlightBackground",{dark:new r.a(new r.c(124,124,124,.3)),light:new r.a(new r.c(10,50,100,.2)),hc:new r.a(new r.c(124,124,124,.3))},s.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),ct=h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},s.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),dt=h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},s.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),ht=h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new r.a(new r.c(10,50,100,.5)),hc:"#525252"},s.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),ut=h("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},s.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),pt=h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},s.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),mt=h("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},s.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),gt=h("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},s.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),ft=h("minimap.errorHighlight",{dark:new r.a(new r.c(255,18,18,.7)),light:new r.a(new r.c(255,18,18,.7)),hc:new r.a(new r.c(255,50,50,1))},s.a("minimapError","Minimap marker color for errors.")),bt=h("minimap.warningHighlight",{dark:Z,light:Z,hc:X},s.a("overviewRuleWarning","Minimap marker color for warnings.")),_t=h("minimap.background",{dark:null,light:null,hc:null},s.a("minimapBackground","Minimap background color.")),vt=h("minimapSlider.background",{light:Tt(H,.5),dark:Tt(H,.5),hc:Tt(H,.5)},s.a("minimapSliderBackground","Minimap slider background color.")),wt=h("minimapSlider.hoverBackground",{light:Tt(q,.5),dark:Tt(q,.5),hc:Tt(q,.5)},s.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),yt=h("minimapSlider.activeBackground",{light:Tt($,.5),dark:Tt($,.5),hc:Tt($,.5)},s.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),Ct=h("problemsErrorIcon.foreground",{dark:G,light:G,hc:G},s.a("problemsErrorIconForeground","The color used for the problems error icon.")),xt=h("problemsWarningIcon.foreground",{dark:Z,light:Z,hc:Z},s.a("problemsWarningIconForeground","The color used for the problems warning icon.")),St=h("problemsInfoIcon.foreground",{dark:Q,light:Q,hc:Q},s.a("problemsInfoIconForeground","The color used for the problems info icon."));function kt(e,t){return n=>{let i=It(e,n);if(i)return i.darken(t)}}function Et(e,t){return n=>{let i=It(e,n);if(i)return i.lighten(t)}}function Tt(e,t){return n=>{let i=It(e,n);if(i)return i.transparent(t)}}function Lt(...e){return t=>{for(let n of e){let e=It(n,t);if(e)return e}}}function Nt(e,t,n,i){return o=>{let s=It(e,o);if(s){let e=It(t,o);return e?s.isDarkerThan(e)?r.a.getLighterColor(s,e,n).transparent(i):r.a.getDarkerColor(s,e,n).transparent(i):s.transparent(n*i)}}}function It(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?r.a.fromHex(e):t.getColor(e):e instanceof r.a?e:"function"==typeof e?e(t):void 0}let Dt=i.a.as(a.a.JSONContribution);Dt.registerSchema("vscode://schemas/workbench-colors",d.getColorSchema());const Ot=new l.d(()=>Dt.notifySchemaChanged("vscode://schemas/workbench-colors"),200);d.onDidChangeSchema(()=>{Ot.isScheduled()||Ot.schedule()})},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d}));var i,r=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,i)=>{let r,o=!1;return r=e(e=>{if(!o)return r?r.dispose():o=!0,t.call(n,e)},null,i),o&&r.dispose(),r}}function n(e,t){return l((n,i=null,r)=>e(e=>n.call(i,t(e)),null,r))}function i(e,t){return l((n,i=null,r)=>e(e=>{t(e),n.call(i,e)},null,r))}function r(e,t){return l((n,i=null,r)=>e(e=>t(e)&&n.call(i,e),null,r))}function s(e,t,i){let r=i;return n(e,e=>(r=t(r,e),r))}function l(e){let t;const n=new a({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,i=!1,r){let o,s=void 0,l=void 0,c=0;const d=new a({leakWarningThreshold:r,onFirstListenerAdd(){o=e(e=>{c++,s=t(s,e),i&&!l&&(d.fire(s),s=void 0),clearTimeout(l),l=setTimeout(()=>{const e=s;s=void 0,l=void 0,(!i||c>1)&&d.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return d.event}function d(e){let t,n=!0;return r(e,e=>{const i=n||e!==t;return n=!1,t=e,i})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,i)))},e.reduce=s,e.snapshot=l,e.debounce=c,e.stopwatch=function(e){const i=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-i)},e.latch=d,e.buffer=function(e,t=!1,n=[]){let i=n.slice(),r=e(e=>{i?i.push(e):s.fire(e)});const o=()=>{i&&i.forEach(e=>s.fire(e)),i=null},s=new a({onFirstListenerAdd(){r||(r=e(e=>s.fire(e)))},onFirstListenerDidAdd(){i&&(t?setTimeout(o):o())},onLastListenerRemove(){r&&r.dispose(),r=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(i(this.event,e))}filter(e){return new h(r(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(d(this.event))}debounce(e,t=100,n=!1,i){return new h(c(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>r.fire(n(...e)),r=new a({onFirstListenerAdd:()=>e.on(t,i),onLastListenerRemove:()=>e.removeListener(t,i)});return r.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>r.fire(n(...e)),r=new a({onFirstListenerAdd:()=>e.addEventListener(t,i),onLastListenerRemove:()=>e.removeEventListener(t,i)});return r.event},e.fromPromise=function(e){const t=new a;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(i||(i={}));class a{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const i=this._listeners.isEmpty();i&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const r=this._listeners.push(t?[e,t]:e);let l,c;return i&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(l&&l(),c.dispose=a._noop,!this._disposed&&(r(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(r.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}a._noop=function(){};class l extends a{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e(e=>{const i=this.buffers[this.buffers.length-1];i?i.push(()=>t.call(n,e)):t.call(n,e)},void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class d{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=o.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i,r=n(10);!function(e){e.editorSimpleInput=new r.c("editorSimpleInput",!1),e.editorTextFocus=new r.c("editorTextFocus",!1),e.focus=new r.c("editorFocus",!1),e.textInputFocus=new r.c("textInputFocus",!1),e.readOnly=new r.c("editorReadonly",!1),e.columnSelection=new r.c("editorColumnSelection",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new r.c("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new r.c("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new r.c("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInWalkThroughSnippet=new r.c("isInEmbeddedEditor",!1),e.canUndo=new r.c("canUndo",!1),e.canRedo=new r.c("canRedo",!1),e.hoverVisible=new r.c("editorHoverVisible",!1),e.inCompositeEditor=new r.c("inCompositeEditor",void 0),e.notInCompositeEditor=e.inCompositeEditor.toNegated(),e.languageId=new r.c("editorLangId",""),e.hasCompletionItemProvider=new r.c("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new r.c("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new r.c("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new r.c("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new r.c("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new r.c("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new r.c("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new r.c("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new r.c("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new r.c("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new r.c("editorHasReferenceProvider",!1),e.hasRenameProvider=new r.c("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new r.c("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new r.c("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new r.c("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new r.c("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new r.c("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(i||(i={}))},function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}function r(e,t,n="0"){const i=""+e,r=[i];for(let e=i.length;e<t;e++)r.push(n);return r.reverse().join("")}n.d(t,"D",(function(){return i})),n.d(t,"M",(function(){return r})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return a})),n.d(t,"v",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return d})),n.d(t,"Q",(function(){return h})),n.d(t,"p",(function(){return u})),n.d(t,"V",(function(){return p})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"P",(function(){return b})),n.d(t,"O",(function(){return _})),n.d(t,"w",(function(){return v})),n.d(t,"z",(function(){return w})),n.d(t,"J",(function(){return y})),n.d(t,"f",(function(){return C})),n.d(t,"h",(function(){return x})),n.d(t,"g",(function(){return S})),n.d(t,"i",(function(){return k})),n.d(t,"H",(function(){return E})),n.d(t,"I",(function(){return T})),n.d(t,"t",(function(){return N})),n.d(t,"T",(function(){return D})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return A})),n.d(t,"F",(function(){return R})),n.d(t,"G",(function(){return M})),n.d(t,"j",(function(){return P})),n.d(t,"A",(function(){return F})),n.d(t,"L",(function(){return z})),n.d(t,"N",(function(){return B})),n.d(t,"r",(function(){return j})),n.d(t,"m",(function(){return U})),n.d(t,"k",(function(){return q})),n.d(t,"B",(function(){return K})),n.d(t,"a",(function(){return G})),n.d(t,"n",(function(){return Y})),n.d(t,"l",(function(){return Z})),n.d(t,"E",(function(){return X})),n.d(t,"C",(function(){return Q})),n.d(t,"b",(function(){return J})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return ie})),n.d(t,"c",(function(){return re}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return h(d(e,t),t)}function d(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function h(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let r=i,o=-1;for(;o=e.lastIndexOf(t,r-1),-1!==o&&o+n===r;){if(0===o)return"";r=o}return e.substring(0,r)}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function g(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function f(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function w(e,t=0,n=e.length){for(let i=t;i<n;i++){const n=e.charCodeAt(i);if(32!==n&&9!==n)return e.substring(t,i)}return e.substring(t,n)}function y(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function C(e,t){return e<t?-1:e>t?1:0}function x(e,t,n=0,i=e.length,r=0,o=t.length){for(;n<i&&r<o;n++,r++){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(i<o)return-1;if(i>o)return 1}const s=i-n,a=o-r;return s<a?-1:s>a?1:0}function S(e,t){return k(e,t,0,e.length,0,t.length)}function k(e,t,n=0,i=e.length,r=0,o=t.length){for(;n<i&&r<o;n++,r++){let s=e.charCodeAt(n),a=t.charCodeAt(r);if(s===a)continue;const l=s-a;if((32!==l||!T(a))&&(-32!==l||!T(s)))return E(s)&&E(a)?l:x(e.toLowerCase(),t.toLowerCase(),n,i,r,o)}const s=i-n,a=o-r;return s<a?-1:s>a?1:0}function E(e){return e>=97&&e<=122}function T(e){return e>=65&&e<=90}function L(e){return E(e)||T(e)}function N(e,t){return e.length===t.length&&I(e,t)}function I(e,t,n=e.length){for(let i=0;i<n;i++){const n=e.charCodeAt(i),r=t.charCodeAt(i);if(n!==r)if(L(n)&&L(r)){const e=Math.abs(n-r);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}function D(e,t){const n=t.length;return!(t.length>e.length)&&I(e,t,n)}function O(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function A(e,t){let n,i=Math.min(e.length,t.length);const r=e.length-1,o=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(r-n)!==t.charCodeAt(o-n))return n;return i}function R(e){return 55296<=e&&e<=56319}function M(e){return 56320<=e&&e<=57343}function P(e,t){return t-56320+(e-55296<<10)+65536}function F(e,t,n){const i=e.charCodeAt(n);if(R(i)&&n+1<t){const t=e.charCodeAt(n+1);if(M(t))return P(i,t)}return i}function W(e,t){const n=e.charCodeAt(t-1);if(M(n)&&t>1){const i=e.charCodeAt(t-2);if(R(i))return P(i,n)}return n}function z(e,t){const n=oe.getInstance(),i=t,r=e.length,o=F(e,r,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<r;){const i=F(e,r,t),o=n.getGraphemeBreakType(i);if(re(s,o))break;t+=i>=65536?2:1,s=o}return t-i}function B(e,t){const n=oe.getInstance(),i=t,r=W(e,t);t-=r>=65536?2:1;let o=n.getGraphemeBreakType(r);for(;t>0;){const i=W(e,t),r=n.getGraphemeBreakType(i);if(re(r,o))break;t-=i>=65536?2:1,o=r}return i-t}function j(e){const t=e.byteLength,n=[];let i=0;for(;i<t;){const r=e[i];let o;if(o=r>=240&&i+3<t?(7&e[i++])<<18>>>0|(63&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:r>=224&&i+2<t?(15&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:r>=192&&i+1<t?(31&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:e[i++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),i=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(i))}else n.push(String.fromCharCode(65533))}return n.join("")}const V=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function U(e){return V.test(e)}const H=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function q(e){return H.test(e)}const $=/^[\t\n\r\x20-\x7E]*$/;function K(e){return $.test(e)}const G=/[\u2028\u2029]/;function Y(e){return G.test(e)}function Z(e){for(let t=0,n=e.length;t<n;t++)if(X(e.charCodeAt(t)))return!0;return!1}function X(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const J=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ie(e){return oe.getInstance().getGraphemeBreakType(e)}function re(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}oe._INSTANCE=null},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return i.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,i=0|t.lineNumber;if(n===i){return(0|e.column)-(0|t.column)}return n-i}clone(){return new i(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new i(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return S}));var i=n(8),r=n(18),o=n(11);const s=new Map;s.set("false",!1),s.set("true",!0),s.set("isMac",o.f),s.set("isLinux",o.d),s.set("isWindows",o.i),s.set("isWeb",o.h),s.set("isMacNative",o.f&&!o.h);const a=Object.prototype.hasOwnProperty;class l{static has(e){return u.create(e)}static equals(e,t){return p.create(e,t)}static regex(e,t){return _.create(e,t)}static not(e){return b.create(e)}static and(...e){return w.create(e)}static or(...e){return y.create(e)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split("||");return y.create(n.map(e=>this._deserializeAndExpression(e,t)))}static _deserializeAndExpression(e,t){let n=e.split("&&");return w.create(n.map(e=>this._deserializeOne(e,t)))}static _deserializeOne(e,t){if((e=e.trim()).indexOf("!=")>=0){let n=e.split("!=");return f.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){let n=e.split("==");return p.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){let n=e.split("=~");return _.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return m.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?b.create(e.substr(1).trim()):u.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if(Object(i.D)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let n=e.indexOf("/"),r=e.lastIndexOf("/");if(n===r||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let o=e.slice(n+1,r),s="i"===e[r+1]?"i":"";try{return new RegExp(o,s)}catch(n){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${n}`);return console.warn(`bad regexp-value '${e}', parse error: ${n}`),null}}}function c(e,t){return e.cmp(t)}class d{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}d.INSTANCE=new d;class h{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return d.INSTANCE}}h.INSTANCE=new h;class u{constructor(e){this.key=e,this.type=2}static create(e){const t=s.get(e);return"boolean"==typeof t?t?h.INSTANCE:d.INSTANCE:new u(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return b.create(this.key)}}class p{constructor(e,t){this.key=e,this.value=t,this.type=4}static create(e,t){if("boolean"==typeof t)return t?u.create(e):b.create(e);const n=s.get(e);if("boolean"==typeof n){return t===(n?"true":"false")?h.INSTANCE:d.INSTANCE}return new p(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return this.key+" == '"+this.value+"'"}keys(){return[this.key]}negate(){return f.create(this.key,this.value)}}class m{constructor(e,t){this.key=e,this.valueKey=t,this.type=10}static create(e,t){return new m(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.valueKey<e.valueKey?-1:this.valueKey>e.valueKey?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.valueKey===e.valueKey)}evaluate(e){const t=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:"string"==typeof n&&"object"==typeof t&&null!==t&&a.call(t,n)}serialize(){return this.key+" in '"+this.valueKey+"'"}keys(){return[this.key,this.valueKey]}negate(){return g.create(this)}}class g{constructor(e){this._actual=e,this.type=11}static create(e){return new g(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class f{constructor(e,t){this.key=e,this.value=t,this.type=5}static create(e,t){if("boolean"==typeof t)return t?b.create(e):u.create(e);const n=s.get(e);if("boolean"==typeof n){return t===(n?"true":"false")?d.INSTANCE:h.INSTANCE}return new f(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return this.key+" != '"+this.value+"'"}keys(){return[this.key]}negate(){return p.create(this.key,this.value)}}class b{constructor(e){this.key=e,this.type=3}static create(e){const t=s.get(e);return"boolean"==typeof t?t?d.INSTANCE:h.INSTANCE:new b(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return u.create(this.key)}}class _{constructor(e,t){this.key=e,this.regexp=t,this.type=7}static create(e,t){return new _(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return v.create(this)}}class v{constructor(e){this._actual=e,this.type=8}static create(e){return new v(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class w{constructor(e){this.expr=e,this.type=6}static create(e){return w._normalizeArr(e)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=c(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e){const t=[];let n=!1;for(const i of e)if(i)if(1!==i.type){if(0===i.type)return d.INSTANCE;6!==i.type?t.push(i):t.push(...i.expr)}else n=!0;if(0===t.length&&n)return h.INSTANCE;if(0!==t.length){if(1===t.length)return t[0];for(t.sort(c);t.length>1;){const e=t[t.length-1];if(9!==e.type)break;t.pop();const n=t.pop(),i=y.create(e.expr.map(e=>w.create([e,n])));i&&(t.push(i),t.sort(c))}return new w(t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());return y.create(e)}}class y{constructor(e){this.expr=e,this.type=9}static create(e){const t=y._normalizeArr(e);if(0!==t.length)return 1===t.length?t[0]:new y(t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=c(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e){let t=[],n=!1;if(e){for(let i=0,r=e.length;i<r;i++){const r=e[i];if(r)if(0!==r.type){if(1===r.type)return[h.INSTANCE];9!==r.type?t.push(r):t=t.concat(r.expr)}else n=!0}if(0===t.length&&n)return[d.INSTANCE];t.sort(c)}return t}serialize(){return this.expr.map(e=>e.serialize()).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());const t=e=>9===e.type?e.expr:[e];for(;e.length>1;){const n=e.shift(),i=e.shift(),r=[];for(const e of t(n))for(const n of t(i))r.push(l.and(e,n));e.unshift(l.or(...r))}return e[0]}}class C extends u{constructor(e,t){super(e),this._defaultValue=t}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return l.not(this.key)}}const x=Object(r.c)("contextKeyService"),S="setContext"},function(e,t,n){"use strict";(function(e,i){n.d(t,"i",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return w})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"j",(function(){return x})),n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return T}));let r=!1,o=!1,s=!1,a=!1,l=!1,c=!1,d=void 0,h="en",u=void 0,p=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){r="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,d="en",h="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];d=e.locale,h=n||"en",u=e._translationsConfigFile}catch(e){}a=!0}}else p=navigator.userAgent,r=p.indexOf("Windows")>=0,o=p.indexOf("Macintosh")>=0,c=(p.indexOf("Macintosh")>=0||p.indexOf("iPad")>=0||p.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=p.indexOf("Linux")>=0,l=!0,d=navigator.language,h=d;let g=0;o?g=1:r?g=3:s&&(g=2);const f=r,b=o,_=s,v=a,w=l,y=c,C="object"==typeof self?self:"object"==typeof i?i:{},x=function(){if(C.setImmediate)return C.setImmediate.bind(C);if("function"==typeof C.postMessage&&!C.importScripts){let e=[];C.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),C.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),S=o||c?2:r?1:3;let k=!0,E=!1;function T(){if(!E){E=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);k=513===t[0]}return k}}).call(this,n(86),n(137))},function(e,t,n){"use strict";n.d(t,"r",(function(){return m})),n.d(t,"B",(function(){return g})),n.d(t,"F",(function(){return f})),n.d(t,"E",(function(){return b})),n.d(t,"z",(function(){return _})),n.d(t,"h",(function(){return v})),n.d(t,"G",(function(){return y})),n.d(t,"A",(function(){return w})),n.d(t,"n",(function(){return C})),n.d(t,"v",(function(){return x})),n.d(t,"w",(function(){return S})),n.d(t,"d",(function(){return k})),n.d(t,"y",(function(){return E})),n.d(t,"p",(function(){return T})),n.d(t,"m",(function(){return L})),n.d(t,"i",(function(){return N})),n.d(t,"u",(function(){return I})),n.d(t,"f",(function(){return D})),n.d(t,"e",(function(){return O})),n.d(t,"q",(function(){return A})),n.d(t,"D",(function(){return R})),n.d(t,"b",(function(){return M})),n.d(t,"a",(function(){return P})),n.d(t,"g",(function(){return F})),n.d(t,"j",(function(){return W})),n.d(t,"t",(function(){return z})),n.d(t,"s",(function(){return B})),n.d(t,"c",(function(){return j})),n.d(t,"x",(function(){return V})),n.d(t,"o",(function(){return U})),n.d(t,"l",(function(){return H})),n.d(t,"k",(function(){return q})),n.d(t,"C",(function(){return $}));var i=n(23),r=n(3),o=n(6),s=n(2),a=n(187),l=n(42);function c(e,t,n,i){if(Array.isArray(e)){let r=0;for(const o of e){const e=c(o,t,n,i);if(10===e)return e;e>r&&(r=e)}return r}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){const{language:r,pattern:o,scheme:s,hasAccessToAllModels:c}=e;if(!i&&!c)return 0;let d=0;if(s)if(s===t.scheme)d=10;else{if("*"!==s)return 0;d=5}if(r)if(r===n)d=10;else{if("*"!==r)return 0;d=Math.max(d,5)}if(o){let e;if(e="string"==typeof o?o:Object.assign(Object.assign({},o),{base:Object(l.d)(o.base)}),e!==t.fsPath&&!Object(a.a)(e,t.fsPath))return 0;d=10}return d}return 0}var d=n(64);function h(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(h):!!e.exclusive)}class u{constructor(){this._clock=0,this._entries=[],this._onDidChange=new o.a}get onDidChange(){return this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.h)(()=>{if(n){let e=this._entries.indexOf(n);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){const t=[];let n,i;return this._orderedForEach(e,e=>{n&&i===e._score?n.push(e.provider):(i=e._score,n=[e.provider],t.push(n))}),t}_orderedForEach(e,t){if(e){this._updateScores(e);for(const e of this._entries)e._score>0&&t(e)}}_updateScores(e){let t={uri:e.uri.toString(),language:e.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==t.language||this._lastCandidate.uri!==t.uri){this._lastCandidate=t;for(let t of this._entries)if(t._score=c(t.selector,e.uri,e.getLanguageIdentifier().language,Object(d.b)(e)),h(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(u._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}var p=n(17);class m{constructor(e,t){this.language=e,this.id=t}}class g{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(1792&e)>>>8}static getFontStyle(e){return(14336&e)>>>11}static getForeground(e){return(8372224&e)>>>14}static getBackground(e){return(4286578688&e)>>>23}static getClassNameFromMetadata(e){let t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),i=this.getFontStyle(e);let r=`color: ${t[n]};`;return 1&i&&(r+="font-style: italic;"),2&i&&(r+="font-weight: bold;"),4&i&&(r+="text-decoration: underline;"),r}}const f=function(){let e=Object.create(null);return e[0]="symbol-method",e[1]="symbol-function",e[2]="symbol-constructor",e[3]="symbol-field",e[4]="symbol-variable",e[5]="symbol-class",e[6]="symbol-struct",e[7]="symbol-interface",e[8]="symbol-module",e[9]="symbol-property",e[10]="symbol-event",e[11]="symbol-operator",e[12]="symbol-unit",e[13]="symbol-value",e[14]="symbol-constant",e[15]="symbol-enum",e[16]="symbol-enum-member",e[17]="symbol-keyword",e[27]="symbol-snippet",e[18]="symbol-text",e[19]="symbol-color",e[20]="symbol-file",e[21]="symbol-reference",e[22]="symbol-customcolor",e[23]="symbol-folder",e[24]="symbol-type-parameter",e[25]="account",e[26]="issues",function(t){const n=e[t];let i=n&&p.c.get(n);return i||(console.info("No codicon found for CompletionItemKind "+t),i=p.a.symbolProperty),i.classNames}}();let b=function(){let e=Object.create(null);return e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=27,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,e.account=25,e.issue=26,function(t,n){let i=e[t];return void 0!==i||n||(i=9),i}}();var _,v,w;function y(e){return e&&i.a.isUri(e.uri)&&r.a.isIRange(e.range)&&(r.a.isIRange(e.originSelectionRange)||r.a.isIRange(e.targetSelectionRange))}!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(_||(_={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(v||(v={})),function(e){const t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);const n=new Map;n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=function(e){return t.get(e)},e.toString=function(e){return n.get(e)},e.toCssClassName=function(e,t){const i=n.get(e);let r=i&&p.c.get("symbol-"+i);return r||(console.info("No codicon found for SymbolKind "+e),r=p.a.symbolProperty),`${t?"inline":"block"} ${r.classNames}`}}(w||(w={}));class C{constructor(e){this.value=e}}C.Comment=new C("comment"),C.Imports=new C("imports"),C.Region=new C("region");const x=new u,S=new u,k=new u,E=new u,T=new u,L=new u,N=new u,I=new u,D=new u,O=new u,A=new u,R=new u,M=new u,P=new u,F=new u,W=new u,z=new u,B=new u,j=new u,V=new u,U=new u,H=new u,q=new u,$=new class{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new o.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),Object(s.h)(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let n=null,i=!1;return this._promises.set(e,t.then(t=>{this._promises.delete(e),!i&&t&&(n=this.register(e,t))})),Object(s.h)(()=>{i=!0,n&&n.dispose()})}getPromise(e){const t=this.get(e);if(t)return Promise.resolve(t);const n=this._promises.get(e);return n?n.then(t=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));const i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function r(e){a(e)||i.onUnexpectedError(e)}function o(e){a(e)||i.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function a(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function d(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},function(e,t,n){"use strict";function i(e){return Array.isArray(e)}function r(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function d(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function p(e,t){const n=Math.min(e.length,t.length);for(let i=0;i<n;i++)m(e[i],t[i])}function m(e,t){if(r(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(u(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function f(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const t of e)i[t]=n(t);return i}function b(e){return null===e?void 0:e}n.d(t,"e",(function(){return i})),n.d(t,"j",(function(){return r})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"g",(function(){return u})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"n",(function(){return b}))},function(e,t,n){"use strict";function i(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}));class r{constructor(e,t,n,r=1){this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=i(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class o{constructor(e,t,n,r){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,r=e.a,s=Math.max(t,n,i),a=Math.min(t,n,i);let l=0,c=0;const d=(a+s)/2,h=s-a;if(h>0){switch(c=Math.min(d<=.5?h/(2*d):h/(2-2*d),1),s){case t:l=(n-i)/h+(n<i?6:0);break;case n:l=(i-t)/h+2;break;case i:l=(t-n)/h+4}l*=60,l=Math.round(l)}return new o(l,c,d,r)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:s}=e;let a,l,c;if(0===n)a=l=c=i;else{const e=i<.5?i*(1+n):i+n-i*n,r=2*i-e;a=o._hue2rgb(r,e,t+1/3),l=o._hue2rgb(r,e,t),c=o._hue2rgb(r,e,t-1/3)}return new r(Math.round(255*a),Math.round(255*l),Math.round(255*c),s)}}class s{constructor(e,t,n,r){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,r=Math.max(t,n,i),o=r-Math.min(t,n,i),a=0===r?0:o/r;let l;return l=0===o?0:r===t?((n-i)/o%6+6)%6:r===n?(i-t)/o+2:(t-n)/o+4,new s(Math.round(60*l),a,r,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:o}=e,s=i*n,a=s*(1-Math.abs(t/60%2-1)),l=i-s;let[c,d,h]=[0,0,0];return t<60?(c=s,d=a):t<120?(c=a,d=s):t<180?(d=s,h=a):t<240?(d=a,h=s):t<300?(c=a,h=s):t<360&&(c=s,h=a),c=Math.round(255*(c+l)),d=Math.round(255*(d+l)),h=Math.round(255*(h+l)),new r(c,d,h,o)}}class a{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof r)this.rgba=e;else if(e instanceof o)this._hsla=e,this.rgba=o.toRGBA(e);else{if(!(e instanceof s))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=s.toRGBA(e)}}static fromHex(e){return a.Format.CSS.parseHex(e)||a.red}get hsla(){return this._hsla?this._hsla:o.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:s.fromRGBA(this.rgba)}equals(e){return!!e&&r.equals(this.rgba,e.rgba)&&o.equals(this.hsla,e.hsla)&&s.equals(this.hsva,e.hsva)}getRelativeLuminance(){return i(.2126*a._relativeLuminanceForComponent(this.rgba.r)+.7152*a._relativeLuminanceForComponent(this.rgba.g)+.0722*a._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()<e.getRelativeLuminance()}lighten(e){return new a(new o(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new a(new o(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:i,a:o}=this.rgba;return new a(new r(t,n,i,o*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new a(new r(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return""+a.Format.CSS.format(this)}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),r=t.getRelativeLuminance();return n=n*(r-i)/r,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;const i=e.getRelativeLuminance();return n=n*(i-t.getRelativeLuminance())/i,e.darken(n)}}a.white=new a(new r(255,255,255,1)),a.black=new a(new r(0,0,0,1)),a.red=new a(new r(255,0,0,1)),a.blue=new a(new r(0,0,255,1)),a.cyan=new a(new r(0,255,255,1)),a.lightgrey=new a(new r(211,211,211,1)),a.transparent=new a(new r(0,0,0,0)),function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function i(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},t.formatHSL=function(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},t.formatHex=function(e){return`#${n(e.rgba.r)}${n(e.rgba.g)}${n(e.rgba.b)}`},t.formatHexA=function(t,i=!1){return i&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${n(t.rgba.r)}${n(t.rgba.g)}${n(t.rgba.b)}${n(Math.round(255*t.rgba.a))}`},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),o=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),s=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new r(n,o,s,1))}if(9===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),o=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),s=16*i(t.charCodeAt(5))+i(t.charCodeAt(6)),a=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new r(n,o,s,a/255))}if(4===n){const n=i(t.charCodeAt(1)),o=i(t.charCodeAt(2)),s=i(t.charCodeAt(3));return new e(new r(16*n+n,16*o+o,16*s+s))}if(5===n){const n=i(t.charCodeAt(1)),o=i(t.charCodeAt(2)),s=i(t.charCodeAt(3)),a=i(t.charCodeAt(4));return new e(new r(16*n+n,16*o+o,16*s+s,(16*a+a)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(a||(a={}))},function(e,t,n){"use strict";function i(e,t=0){return e[e.length-(1+t)]}function r(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function s(e,t,n){let i=0,r=e.length-1;for(;i<=r;){const o=(i+r)/2|0,s=n(e[o],t);if(s<0)i=o+1;else{if(!(s>0))return o;r=o-1}}return-(i+1)}function a(e,t){let n=0,i=e.length;if(0===i)return 0;for(;n<i;){const r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function l(e,t){return function e(t,n,i,r,o){if(r<=i)return;const s=i+(r-i)/2|0;if(e(t,n,i,s,o),e(t,n,s+1,r,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,i,r,o){let s=n,a=i+1;for(let t=n;t<=r;t++)o[t]=e[t];for(let l=n;l<=r;l++)s>i?e[l]=o[a++]:a>r?e[l]=o[s++]:t(o[a],o[s])<0?e[l]=o[a++]:e[l]=o[s++]}(t,n,i,s,r,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let i=void 0;for(const r of l(e.slice(0),t))i&&0===t(i[0],r)?i.push(r):(i=[r],n.push(i));return n}function d(e){return e.filter(e=>!!e)}function h(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&e.length>0}function p(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const i=t(e);return!n[i]&&(n[i]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function g(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function f(e,t,n){const i=g(e,t);return i<0?n:e[i]}function b(e,t){return e.length>0?e[0]:t}function _(e){return[].concat(...e)}function v(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let e=n;e<t;e++)i.push(e);else for(let e=n;e>t;e--)i.push(e);return i}function w(e,t,n){const i=e.slice(0,t),r=e.slice(t);return i.concat(n,r)}function y(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function C(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function x(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return i})),n.d(t,"u",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"p",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return f})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return _})),n.d(t,"s",(function(){return v})),n.d(t,"a",(function(){return w})),n.d(t,"r",(function(){return y})),n.d(t,"q",(function(){return C})),n.d(t,"b",(function(){return x}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"h",(function(){return f}));var i=n(151),r=n(6);const o=new class{constructor(){this._icons=new Map,this._onDidRegister=new r.a}add(e){this._icons.has(e.id)?console.error("Duplicate registration of codicon "+e.id):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}},s=o;function a(e,t,n){return new l(e,t)}class l{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,o.add(this)}get classNames(){return"codicon codicon-"+this.id}get cssSelector(){return".codicon.codicon-"+this.id}}!function(e){e.add=new e("add",{character:"\\ea60"}),e.plus=new e("plus",{character:"\\ea60"}),e.gistNew=new e("gist-new",{character:"\\ea60"}),e.repoCreate=new e("repo-create",{character:"\\ea60"}),e.lightbulb=new e("lightbulb",{character:"\\ea61"}),e.lightBulb=new e("light-bulb",{character:"\\ea61"}),e.repo=new e("repo",{character:"\\ea62"}),e.repoDelete=new e("repo-delete",{character:"\\ea62"}),e.gistFork=new e("gist-fork",{character:"\\ea63"}),e.repoForked=new e("repo-forked",{character:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{character:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{character:"\\ea64"}),e.recordKeys=new e("record-keys",{character:"\\ea65"}),e.keyboard=new e("keyboard",{character:"\\ea65"}),e.tag=new e("tag",{character:"\\ea66"}),e.tagAdd=new e("tag-add",{character:"\\ea66"}),e.tagRemove=new e("tag-remove",{character:"\\ea66"}),e.person=new e("person",{character:"\\ea67"}),e.personAdd=new e("person-add",{character:"\\ea67"}),e.personFollow=new e("person-follow",{character:"\\ea67"}),e.personOutline=new e("person-outline",{character:"\\ea67"}),e.personFilled=new e("person-filled",{character:"\\ea67"}),e.gitBranch=new e("git-branch",{character:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{character:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{character:"\\ea68"}),e.sourceControl=new e("source-control",{character:"\\ea68"}),e.mirror=new e("mirror",{character:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{character:"\\ea69"}),e.star=new e("star",{character:"\\ea6a"}),e.starAdd=new e("star-add",{character:"\\ea6a"}),e.starDelete=new e("star-delete",{character:"\\ea6a"}),e.starEmpty=new e("star-empty",{character:"\\ea6a"}),e.comment=new e("comment",{character:"\\ea6b"}),e.commentAdd=new e("comment-add",{character:"\\ea6b"}),e.alert=new e("alert",{character:"\\ea6c"}),e.warning=new e("warning",{character:"\\ea6c"}),e.search=new e("search",{character:"\\ea6d"}),e.searchSave=new e("search-save",{character:"\\ea6d"}),e.logOut=new e("log-out",{character:"\\ea6e"}),e.signOut=new e("sign-out",{character:"\\ea6e"}),e.logIn=new e("log-in",{character:"\\ea6f"}),e.signIn=new e("sign-in",{character:"\\ea6f"}),e.eye=new e("eye",{character:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{character:"\\ea70"}),e.eyeWatch=new e("eye-watch",{character:"\\ea70"}),e.circleFilled=new e("circle-filled",{character:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{character:"\\ea71"}),e.closeDirty=new e("close-dirty",{character:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{character:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{character:"\\ea71"}),e.debugHint=new e("debug-hint",{character:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{character:"\\ea72"}),e.edit=new e("edit",{character:"\\ea73"}),e.pencil=new e("pencil",{character:"\\ea73"}),e.info=new e("info",{character:"\\ea74"}),e.issueOpened=new e("issue-opened",{character:"\\ea74"}),e.gistPrivate=new e("gist-private",{character:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{character:"\\ea75"}),e.lock=new e("lock",{character:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{character:"\\ea75"}),e.close=new e("close",{character:"\\ea76"}),e.removeClose=new e("remove-close",{character:"\\ea76"}),e.x=new e("x",{character:"\\ea76"}),e.repoSync=new e("repo-sync",{character:"\\ea77"}),e.sync=new e("sync",{character:"\\ea77"}),e.clone=new e("clone",{character:"\\ea78"}),e.desktopDownload=new e("desktop-download",{character:"\\ea78"}),e.beaker=new e("beaker",{character:"\\ea79"}),e.microscope=new e("microscope",{character:"\\ea79"}),e.vm=new e("vm",{character:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{character:"\\ea7a"}),e.file=new e("file",{character:"\\ea7b"}),e.fileText=new e("file-text",{character:"\\ea7b"}),e.more=new e("more",{character:"\\ea7c"}),e.ellipsis=new e("ellipsis",{character:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{character:"\\ea7c"}),e.mailReply=new e("mail-reply",{character:"\\ea7d"}),e.reply=new e("reply",{character:"\\ea7d"}),e.organization=new e("organization",{character:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{character:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{character:"\\ea7e"}),e.newFile=new e("new-file",{character:"\\ea7f"}),e.fileAdd=new e("file-add",{character:"\\ea7f"}),e.newFolder=new e("new-folder",{character:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{character:"\\ea80"}),e.trash=new e("trash",{character:"\\ea81"}),e.trashcan=new e("trashcan",{character:"\\ea81"}),e.history=new e("history",{character:"\\ea82"}),e.clock=new e("clock",{character:"\\ea82"}),e.folder=new e("folder",{character:"\\ea83"}),e.fileDirectory=new e("file-directory",{character:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{character:"\\ea83"}),e.logoGithub=new e("logo-github",{character:"\\ea84"}),e.markGithub=new e("mark-github",{character:"\\ea84"}),e.github=new e("github",{character:"\\ea84"}),e.terminal=new e("terminal",{character:"\\ea85"}),e.console=new e("console",{character:"\\ea85"}),e.repl=new e("repl",{character:"\\ea85"}),e.zap=new e("zap",{character:"\\ea86"}),e.symbolEvent=new e("symbol-event",{character:"\\ea86"}),e.error=new e("error",{character:"\\ea87"}),e.stop=new e("stop",{character:"\\ea87"}),e.variable=new e("variable",{character:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{character:"\\ea88"}),e.array=new e("array",{character:"\\ea8a"}),e.symbolArray=new e("symbol-array",{character:"\\ea8a"}),e.symbolModule=new e("symbol-module",{character:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{character:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{character:"\\ea8b"}),e.symbolObject=new e("symbol-object",{character:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{character:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{character:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{character:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{character:"\\ea8f"}),e.symbolNull=new e("symbol-null",{character:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{character:"\\ea90"}),e.symbolNumber=new e("symbol-number",{character:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{character:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{character:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{character:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{character:"\\ea92"}),e.symbolKey=new e("symbol-key",{character:"\\ea93"}),e.symbolText=new e("symbol-text",{character:"\\ea93"}),e.symbolReference=new e("symbol-reference",{character:"\\ea94"}),e.goToFile=new e("go-to-file",{character:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{character:"\\ea95"}),e.symbolValue=new e("symbol-value",{character:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{character:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{character:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{character:"\\ea97"}),e.archive=new e("archive",{character:"\\ea98"}),e.arrowBoth=new e("arrow-both",{character:"\\ea99"}),e.arrowDown=new e("arrow-down",{character:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{character:"\\ea9b"}),e.arrowRight=new e("arrow-right",{character:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{character:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{character:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{character:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{character:"\\eaa0"}),e.arrowUp=new e("arrow-up",{character:"\\eaa1"}),e.bell=new e("bell",{character:"\\eaa2"}),e.bold=new e("bold",{character:"\\eaa3"}),e.book=new e("book",{character:"\\eaa4"}),e.bookmark=new e("bookmark",{character:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{character:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{character:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{character:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{character:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{character:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{character:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{character:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{character:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{character:"\\eaab"}),e.briefcase=new e("briefcase",{character:"\\eaac"}),e.broadcast=new e("broadcast",{character:"\\eaad"}),e.browser=new e("browser",{character:"\\eaae"}),e.bug=new e("bug",{character:"\\eaaf"}),e.calendar=new e("calendar",{character:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{character:"\\eab1"}),e.check=new e("check",{character:"\\eab2"}),e.checklist=new e("checklist",{character:"\\eab3"}),e.chevronDown=new e("chevron-down",{character:"\\eab4"}),e.chevronLeft=new e("chevron-left",{character:"\\eab5"}),e.chevronRight=new e("chevron-right",{character:"\\eab6"}),e.chevronUp=new e("chevron-up",{character:"\\eab7"}),e.chromeClose=new e("chrome-close",{character:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{character:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{character:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{character:"\\eabb"}),e.circleOutline=new e("circle-outline",{character:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{character:"\\eabc"}),e.circleSlash=new e("circle-slash",{character:"\\eabd"}),e.circuitBoard=new e("circuit-board",{character:"\\eabe"}),e.clearAll=new e("clear-all",{character:"\\eabf"}),e.clippy=new e("clippy",{character:"\\eac0"}),e.closeAll=new e("close-all",{character:"\\eac1"}),e.cloudDownload=new e("cloud-download",{character:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{character:"\\eac3"}),e.code=new e("code",{character:"\\eac4"}),e.collapseAll=new e("collapse-all",{character:"\\eac5"}),e.colorMode=new e("color-mode",{character:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{character:"\\eac7"}),e.compareChanges=new e("compare-changes",{character:"\\eafd"}),e.creditCard=new e("credit-card",{character:"\\eac9"}),e.dash=new e("dash",{character:"\\eacc"}),e.dashboard=new e("dashboard",{character:"\\eacd"}),e.database=new e("database",{character:"\\eace"}),e.debugContinue=new e("debug-continue",{character:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{character:"\\ead0"}),e.debugPause=new e("debug-pause",{character:"\\ead1"}),e.debugRestart=new e("debug-restart",{character:"\\ead2"}),e.debugStart=new e("debug-start",{character:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{character:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{character:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{character:"\\ead6"}),e.debugStop=new e("debug-stop",{character:"\\ead7"}),e.debug=new e("debug",{character:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{character:"\\ead9"}),e.deviceCamera=new e("device-camera",{character:"\\eada"}),e.deviceMobile=new e("device-mobile",{character:"\\eadb"}),e.diffAdded=new e("diff-added",{character:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{character:"\\eadd"}),e.diffModified=new e("diff-modified",{character:"\\eade"}),e.diffRemoved=new e("diff-removed",{character:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{character:"\\eae0"}),e.diff=new e("diff",{character:"\\eae1"}),e.discard=new e("discard",{character:"\\eae2"}),e.editorLayout=new e("editor-layout",{character:"\\eae3"}),e.emptyWindow=new e("empty-window",{character:"\\eae4"}),e.exclude=new e("exclude",{character:"\\eae5"}),e.extensions=new e("extensions",{character:"\\eae6"}),e.eyeClosed=new e("eye-closed",{character:"\\eae7"}),e.fileBinary=new e("file-binary",{character:"\\eae8"}),e.fileCode=new e("file-code",{character:"\\eae9"}),e.fileMedia=new e("file-media",{character:"\\eaea"}),e.filePdf=new e("file-pdf",{character:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{character:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{character:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{character:"\\eaee"}),e.fileZip=new e("file-zip",{character:"\\eaef"}),e.files=new e("files",{character:"\\eaf0"}),e.filter=new e("filter",{character:"\\eaf1"}),e.flame=new e("flame",{character:"\\eaf2"}),e.foldDown=new e("fold-down",{character:"\\eaf3"}),e.foldUp=new e("fold-up",{character:"\\eaf4"}),e.fold=new e("fold",{character:"\\eaf5"}),e.folderActive=new e("folder-active",{character:"\\eaf6"}),e.folderOpened=new e("folder-opened",{character:"\\eaf7"}),e.gear=new e("gear",{character:"\\eaf8"}),e.gift=new e("gift",{character:"\\eaf9"}),e.gistSecret=new e("gist-secret",{character:"\\eafa"}),e.gist=new e("gist",{character:"\\eafb"}),e.gitCommit=new e("git-commit",{character:"\\eafc"}),e.gitCompare=new e("git-compare",{character:"\\eafd"}),e.gitMerge=new e("git-merge",{character:"\\eafe"}),e.githubAction=new e("github-action",{character:"\\eaff"}),e.githubAlt=new e("github-alt",{character:"\\eb00"}),e.globe=new e("globe",{character:"\\eb01"}),e.grabber=new e("grabber",{character:"\\eb02"}),e.graph=new e("graph",{character:"\\eb03"}),e.gripper=new e("gripper",{character:"\\eb04"}),e.heart=new e("heart",{character:"\\eb05"}),e.home=new e("home",{character:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{character:"\\eb07"}),e.hubot=new e("hubot",{character:"\\eb08"}),e.inbox=new e("inbox",{character:"\\eb09"}),e.issueClosed=new e("issue-closed",{character:"\\eb0a"}),e.issueReopened=new e("issue-reopened",{character:"\\eb0b"}),e.issues=new e("issues",{character:"\\eb0c"}),e.italic=new e("italic",{character:"\\eb0d"}),e.jersey=new e("jersey",{character:"\\eb0e"}),e.json=new e("json",{character:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{character:"\\eb10"}),e.key=new e("key",{character:"\\eb11"}),e.law=new e("law",{character:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{character:"\\eb13"}),e.linkExternal=new e("link-external",{character:"\\eb14"}),e.link=new e("link",{character:"\\eb15"}),e.listOrdered=new e("list-ordered",{character:"\\eb16"}),e.listUnordered=new e("list-unordered",{character:"\\eb17"}),e.liveShare=new e("live-share",{character:"\\eb18"}),e.loading=new e("loading",{character:"\\eb19"}),e.location=new e("location",{character:"\\eb1a"}),e.mailRead=new e("mail-read",{character:"\\eb1b"}),e.mail=new e("mail",{character:"\\eb1c"}),e.markdown=new e("markdown",{character:"\\eb1d"}),e.megaphone=new e("megaphone",{character:"\\eb1e"}),e.mention=new e("mention",{character:"\\eb1f"}),e.milestone=new e("milestone",{character:"\\eb20"}),e.mortarBoard=new e("mortar-board",{character:"\\eb21"}),e.move=new e("move",{character:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{character:"\\eb23"}),e.mute=new e("mute",{character:"\\eb24"}),e.noNewline=new e("no-newline",{character:"\\eb25"}),e.note=new e("note",{character:"\\eb26"}),e.octoface=new e("octoface",{character:"\\eb27"}),e.openPreview=new e("open-preview",{character:"\\eb28"}),e.package_=new e("package",{character:"\\eb29"}),e.paintcan=new e("paintcan",{character:"\\eb2a"}),e.pin=new e("pin",{character:"\\eb2b"}),e.play=new e("play",{character:"\\eb2c"}),e.run=new e("run",{character:"\\eb2c"}),e.plug=new e("plug",{character:"\\eb2d"}),e.preserveCase=new e("preserve-case",{character:"\\eb2e"}),e.preview=new e("preview",{character:"\\eb2f"}),e.project=new e("project",{character:"\\eb30"}),e.pulse=new e("pulse",{character:"\\eb31"}),e.question=new e("question",{character:"\\eb32"}),e.quote=new e("quote",{character:"\\eb33"}),e.radioTower=new e("radio-tower",{character:"\\eb34"}),e.reactions=new e("reactions",{character:"\\eb35"}),e.references=new e("references",{character:"\\eb36"}),e.refresh=new e("refresh",{character:"\\eb37"}),e.regex=new e("regex",{character:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{character:"\\eb39"}),e.remote=new e("remote",{character:"\\eb3a"}),e.remove=new e("remove",{character:"\\eb3b"}),e.replaceAll=new e("replace-all",{character:"\\eb3c"}),e.replace=new e("replace",{character:"\\eb3d"}),e.repoClone=new e("repo-clone",{character:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{character:"\\eb3f"}),e.repoPull=new e("repo-pull",{character:"\\eb40"}),e.repoPush=new e("repo-push",{character:"\\eb41"}),e.report=new e("report",{character:"\\eb42"}),e.requestChanges=new e("request-changes",{character:"\\eb43"}),e.rocket=new e("rocket",{character:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{character:"\\eb45"}),e.rootFolder=new e("root-folder",{character:"\\eb46"}),e.rss=new e("rss",{character:"\\eb47"}),e.ruby=new e("ruby",{character:"\\eb48"}),e.saveAll=new e("save-all",{character:"\\eb49"}),e.saveAs=new e("save-as",{character:"\\eb4a"}),e.save=new e("save",{character:"\\eb4b"}),e.screenFull=new e("screen-full",{character:"\\eb4c"}),e.screenNormal=new e("screen-normal",{character:"\\eb4d"}),e.searchStop=new e("search-stop",{character:"\\eb4e"}),e.server=new e("server",{character:"\\eb50"}),e.settingsGear=new e("settings-gear",{character:"\\eb51"}),e.settings=new e("settings",{character:"\\eb52"}),e.shield=new e("shield",{character:"\\eb53"}),e.smiley=new e("smiley",{character:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{character:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{character:"\\eb56"}),e.splitVertical=new e("split-vertical",{character:"\\eb57"}),e.squirrel=new e("squirrel",{character:"\\eb58"}),e.starFull=new e("star-full",{character:"\\eb59"}),e.starHalf=new e("star-half",{character:"\\eb5a"}),e.symbolClass=new e("symbol-class",{character:"\\eb5b"}),e.symbolColor=new e("symbol-color",{character:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{character:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{character:"\\eb5e"}),e.symbolField=new e("symbol-field",{character:"\\eb5f"}),e.symbolFile=new e("symbol-file",{character:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{character:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{character:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{character:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{character:"\\eb64"}),e.symbolProperty=new e("symbol-property",{character:"\\eb65"}),e.wrench=new e("wrench",{character:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{character:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{character:"\\eb66"}),e.tasklist=new e("tasklist",{character:"\\eb67"}),e.telescope=new e("telescope",{character:"\\eb68"}),e.textSize=new e("text-size",{character:"\\eb69"}),e.threeBars=new e("three-bars",{character:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{character:"\\eb6b"}),e.thumbsup=new e("thumbsup",{character:"\\eb6c"}),e.tools=new e("tools",{character:"\\eb6d"}),e.triangleDown=new e("triangle-down",{character:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{character:"\\eb6f"}),e.triangleRight=new e("triangle-right",{character:"\\eb70"}),e.triangleUp=new e("triangle-up",{character:"\\eb71"}),e.twitter=new e("twitter",{character:"\\eb72"}),e.unfold=new e("unfold",{character:"\\eb73"}),e.unlock=new e("unlock",{character:"\\eb74"}),e.unmute=new e("unmute",{character:"\\eb75"}),e.unverified=new e("unverified",{character:"\\eb76"}),e.verified=new e("verified",{character:"\\eb77"}),e.versions=new e("versions",{character:"\\eb78"}),e.vmActive=new e("vm-active",{character:"\\eb79"}),e.vmOutline=new e("vm-outline",{character:"\\eb7a"}),e.vmRunning=new e("vm-running",{character:"\\eb7b"}),e.watch=new e("watch",{character:"\\eb7c"}),e.whitespace=new e("whitespace",{character:"\\eb7d"}),e.wholeWord=new e("whole-word",{character:"\\eb7e"}),e.window=new e("window",{character:"\\eb7f"}),e.wordWrap=new e("word-wrap",{character:"\\eb80"}),e.zoomIn=new e("zoom-in",{character:"\\eb81"}),e.zoomOut=new e("zoom-out",{character:"\\eb82"}),e.listFilter=new e("list-filter",{character:"\\eb83"}),e.listFlat=new e("list-flat",{character:"\\eb84"}),e.listSelection=new e("list-selection",{character:"\\eb85"}),e.selection=new e("selection",{character:"\\eb85"}),e.listTree=new e("list-tree",{character:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{character:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{character:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{character:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{character:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{character:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{character:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{character:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{character:"\\eb8c"}),e.symbolString=new e("symbol-string",{character:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{character:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{character:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{character:"\\eb90"}),e.callIncoming=new e("call-incoming",{character:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{character:"\\eb93"}),e.menu=new e("menu",{character:"\\eb94"}),e.expandAll=new e("expand-all",{character:"\\eb95"}),e.feedback=new e("feedback",{character:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{character:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{character:"\\eb98"}),e.account=new e("account",{character:"\\eb99"}),e.bellDot=new e("bell-dot",{character:"\\eb9a"}),e.debugConsole=new e("debug-console",{character:"\\eb9b"}),e.library=new e("library",{character:"\\eb9c"}),e.output=new e("output",{character:"\\eb9d"}),e.runAll=new e("run-all",{character:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{character:"\\eb9f"}),e.pinned=new e("pinned",{character:"\\eba0"}),e.githubInverted=new e("github-inverted",{character:"\\eba1"}),e.debugAlt=new e("debug-alt",{character:"\\eb91"}),e.serverProcess=new e("server-process",{character:"\\eba2"}),e.serverEnvironment=new e("server-environment",{character:"\\eba3"}),e.pass=new e("pass",{character:"\\eba4"}),e.stopCircle=new e("stop-circle",{character:"\\eba5"}),e.playCircle=new e("play-circle",{character:"\\eba6"}),e.record=new e("record",{character:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{character:"\\eba8"}),e.vmConnect=new e("vm-connect",{character:"\\eba9"}),e.cloud=new e("cloud",{character:"\\ebaa"}),e.merge=new e("merge",{character:"\\ebab"})}(l||(l={}));const c=/(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function d(e){return e.replace(c,(e,t)=>t?e:"\\"+e)}const h=/\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function u(e){return e.replace(h,e=>"\\"+e)}const p=/(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;function m(e){return e.replace(p,(e,t,n,i,r)=>t?`$(${n})`:`<span class="codicon codicon-${i}${r?" codicon-animation-"+r:""}"></span>`)}const g=/(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi;function f(e){return-1===e.indexOf(i.a)?e:e.replace(g,(e,t,n,i)=>n?e:t||i||"")}},function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));const r=s("instantiationService");function o(e,t,n,r){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:r}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:r}],t[i.DI_TARGET]=t)}function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");o(t,e,i,!1)};return t.toString=()=>e,i.serviceIds.set(e,t),t}function a(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");o(e,t,i,!0)}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"a",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"d",(function(){return g}));var i=n(18),r=n(2),o=n(56),s=n(6);const a=Object(i.c)("themeService");function l(e){return{id:e}}var c;!function(e){e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id};const t=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;e.fromString=function(e){const n=t.exec(e);if(!n)return;let[,i,r]=n;return i||(i="codicon/"),{id:i+r}};const n=/^(codicon\/)?([a-z-]+)(~[a-z]+)?$/i;e.asClassName=function(e){const t=n.exec(e.id);if(!t)return;let[,,i,r]=t,o="codicon codicon-"+i;return r&&(o+=" "+r.substr(1)),o}}(c||(c={}));const d="hc";function h(e){switch(e){case"dark":return"vs-dark";case d:return"hc-black";default:return"vs"}}const u={ThemingContribution:"base.contributions.theming"};let p=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new s.a}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(r.h)(()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function m(e){return p.onColorThemeChange(e)}o.a.add(u.ThemingContribution,p);class g extends r.a{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},function(e,t,n){"use strict";n.d(t,"i",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"l",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"b",(function(){return b}));var i=n(25),r=n(13),o=n(2);function s(e){return e&&"function"==typeof e.then}function a(e){const t=new i.b,n=e(t.token),o=new Promise((e,i)=>{t.token.onCancellationRequested(()=>{i(r.a())}),Promise.resolve(n).then(n=>{t.dispose(),e(n)},e=>{t.dispose(),i(e)})});return new class{cancel(){t.cancel()}then(e,t){return o.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return o.finally(e)}}}function l(e,t,n){return Promise.race([e,new Promise(e=>t.onCancellationRequested(()=>e(n)))])}class c{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(r.a()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}function d(e,t){return t?new Promise((n,i)=>{const o=setTimeout(n,e);t.onCancellationRequested(()=>{clearTimeout(o),i(r.a())})}):a(t=>d(e,t))}function h(e,t=0){const n=setTimeout(e,t);return Object(o.h)(()=>clearTimeout(n))}function u(e,t=(e=>!!e),n=null){let i=0;const r=e.length,o=()=>{if(i>=r)return Promise.resolve(n);const s=e[i++];return Promise.resolve(s()).then(e=>t(e)?Promise.resolve(e):o())};return o()}class p{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class m{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class g{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let f;!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining:()=>15});f=t=>{const n=setTimeout(()=>t(e));let i=!1;return{dispose(){i||(i=!0,clearTimeout(n))}}}}else f=(e,t)=>{const n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let i=!1;return{dispose(){i||(i=!0,cancelIdleCallback(n))}}}}();class b{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=f(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(9),r=n(3);class o extends r.a{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,i,r){return 0===r?new o(e,t,n,i):new o(n,i,e,t)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"a",(function(){return y})),n.d(t,"g",(function(){return C}));var i=n(13),r=n(8),o=n(9),s=n(3),a=n(21),l=n(30),c=n(39);const d=()=>!0,h=()=>!1,u=e=>" "===e||"\t"===e;function p(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}class m{constructor(e,t,n){this._languageIdentifier=e;const i=n.options,r=i.get(117);this.readOnly=i.get(72),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.lineHeight=i.get(51),this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=i.get(104),this.wordSeparators=i.get(105),this.emptySelectionClipboard=i.get(26),this.copyWithSyntaxHighlighting=i.get(16),this.multiCursorMergeOverlapping=i.get(60),this.multiCursorPaste=i.get(62),this.autoClosingBrackets=i.get(5),this.autoClosingQuotes=i.get(7),this.autoClosingOvertype=i.get(6),this.autoSurround=i.get(10),this.autoIndent=i.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:m._getShouldAutoClose(e,this.autoClosingQuotes),bracket:m._getShouldAutoClose(e,this.autoClosingBrackets)};let o=m._getAutoClosingPairs(e);if(o)for(const e of o)p(this.autoClosingPairsOpen2,e.open.charAt(e.open.length-1),e),1===e.close.length&&p(this.autoClosingPairsClose2,e.close,e);let s=m._getSurroundingPairs(e);if(s)for(const e of s)this.surroundingPairs[e.open]=e.close}static shouldRecreate(e){return e.hasChanged(117)||e.hasChanged(105)||e.hasChanged(26)||e.hasChanged(60)||e.hasChanged(62)||e.hasChanged(5)||e.hasChanged(7)||e.hasChanged(6)||e.hasChanged(10)||e.hasChanged(104)||e.hasChanged(51)||e.hasChanged(72)}get electricChars(){if(!this._electricChars){this._electricChars={};let e=m._getElectricCharacters(this._languageIdentifier);if(e)for(const t of e)this._electricChars[t]=!0}return this._electricChars}normalizeIndentation(e){return l.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)}static _getElectricCharacters(e){try{return c.a.getElectricCharacters(e.id)}catch(e){return Object(i.e)(e),null}}static _getAutoClosingPairs(e){try{return c.a.getAutoClosingPairs(e.id)}catch(e){return Object(i.e)(e),null}}static _getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return u;case"languageDefined":return m._getLanguageDefinedShouldAutoClose(e);case"always":return d;case"never":return h}}static _getLanguageDefinedShouldAutoClose(e){try{const t=c.a.getAutoCloseBeforeSet(e.id);return e=>-1!==t.indexOf(e)}catch(e){return Object(i.e)(e),h}}static _getSurroundingPairs(e){try{return c.a.getSurroundingPairs(e.id)}catch(e){return Object(i.e)(e),null}}}class g{constructor(e,t,n,i){this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=i,this.selection=g._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,n,i){return e?new g(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new o.a(t,n),i):new g(new s.a(t,n,t,n),i,new o.a(t,n),i)}static _computeSelection(e,t){let n,i,r,o;return e.isEmpty()?(n=e.startLineNumber,i=e.startColumn,r=t.lineNumber,o=t.column):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,i=e.endColumn,r=t.lineNumber,o=t.column):(n=e.startLineNumber,i=e.startColumn,r=t.lineNumber,o=t.column),new a.a(n,i,r,o)}}class f{constructor(e,t,n){this.model=e,this.coordinatesConverter=t,this.cursorConfig=n}}class b{constructor(e){this.modelState=e,this.viewState=null}}class _{constructor(e){this.modelState=null,this.viewState=e}}class v{constructor(e,t){this.modelState=e,this.viewState=t}static fromModelState(e){return new b(e)}static fromViewState(e){return new _(e)}static fromModelSelection(e){const t=e.selectionStartLineNumber,n=e.selectionStartColumn,i=e.positionLineNumber,r=e.positionColumn,a=new g(new s.a(t,n,t,n),0,new o.a(i,r),0);return v.fromModelState(a)}static fromModelSelections(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}}class w{constructor(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}}class y{static visibleColumnFromColumn(e,t,n){const i=e.length,o=t-1<i?t-1:i;let s=0,a=0;for(;a<o;){const t=r.A(e,o,a);if(a+=t>=65536?2:1,9===t)s=y.nextRenderTabStop(s,n);else{let n=r.y(t);for(;a<o;){const t=r.A(e,o,a),i=r.y(t);if(r.c(n,i))break;a+=t>=65536?2:1,n=i}r.E(t)||r.C(t)?s+=2:s+=1}}return s}static visibleColumnFromColumn2(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)}static columnFromVisibleColumn(e,t,n){if(t<=0)return 1;const i=e.length;let o=0,s=1,a=0;for(;a<i;){const l=r.A(e,i,a);let c;if(a+=l>=65536?2:1,9===l)c=y.nextRenderTabStop(o,n);else{let t=r.y(l);for(;a<i;){const n=r.A(e,i,a),o=r.y(n);if(r.c(t,o))break;a+=n>=65536?2:1,t=o}c=r.E(l)||r.C(l)?o+2:o+1}const d=a+1;if(c>=t){return c-t<t-o?d:s}o=c,s=d}return i+1}static columnFromVisibleColumn2(e,t,n,i){let r=this.columnFromVisibleColumn(t.getLineContent(n),i,e.tabSize),o=t.getLineMinColumn(n);if(r<o)return o;let s=t.getLineMaxColumn(n);return r>s?s:r}static nextRenderTabStop(e,t){return e+t-e%t}static nextIndentTabStop(e,t){return e+t-e%t}static prevRenderTabStop(e,t){return e-1-(e-1)%t}static prevIndentTabStop(e,t){return e-1-(e-1)%t}}function C(e){return"'"===e||'"'===e||"`"===e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f}));var i=n(11),r=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;const l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{constructor(e,t,n,i,r,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof d||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:r,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new u(t,n,i,r,o)}static parse(e,t=!1){const n=c.exec(e);return n?new u(n[2]||"",v(n[4]||""),v(n[5]||""),v(n[7]||""),v(n[9]||""),t):new u("","","","","")}static file(e){let t="";if(i.i&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){const n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new u("file",t,e,"","")}static from(e){return new u(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=i.i&&"file"===e.scheme?d.file(r.i.join(f(e,!0),...t)).path:r.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof d)return e;{const t=new u(e);return t._formatted=e.external,t._fsPath=e._sep===h?e.fsPath:null,t}}return e}}const h=i.i?1:void 0;class u extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const p={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,i=-1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));const t=p[o];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=t):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function g(e){let t=void 0;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=p[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function f(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.i&&(n=n.replace(/\//g,"\\")),n}function b(e,t){const n=t?g:m;let i="",{scheme:r,authority:o,path:s,query:a,fragment:c}=e;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=l,i+=l),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?i+=n(o,!1):(i+=n(o.substr(0,e),!1),i+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),c&&(i+="#",i+=t?c:m(c,!1)),i}const _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(_)?e.replace(_,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},function(e,t,n){"use strict";n.d(t,"f",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return g})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return _})),n.d(t,"c",(function(){return v}));var i=n(60),r=n(18),o=n(10),s=n(27),a=n(2),l=n(6),c=n(37),d=n(53),h=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},u=function(e,t){return function(n,i){t(n,i,e)}};function p(e){return void 0!==e.command}class m{constructor(e){this.id=m._idPool++,this._debugName=e}}m._idPool=0,m.CommandPalette=new m("CommandPalette"),m.EditorContext=new m("EditorContext"),m.EditorContextPeek=new m("EditorContextPeek"),m.MenubarEditMenu=new m("MenubarEditMenu"),m.MenubarGoMenu=new m("MenubarGoMenu"),m.MenubarSelectionMenu=new m("MenubarSelectionMenu");const g=Object(r.c)("menuService"),f=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.a,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===m.CommandPalette}}addCommand(e){return this.addCommands(c.a.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(a.h)(()=>{let t=!1;for(const n of e)t=this._commands.delete(n.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach((t,n)=>e.set(n,t)),e}appendMenuItem(e,t){return this.appendMenuItems(c.a.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,n=new d.a;for(const{id:i,item:r}of e){let e=this._menuItems.get(i);e||(e=new d.a,this._menuItems.set(i,e)),n.push(e.push(r)),t.add(i)}return this._onDidChangeMenu.fire(t),Object(a.h)(()=>{if(n.size>0){for(let e of n)e();this._onDidChangeMenu.fire(t),n.clear()}})}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===m.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const n of e)p(n)&&(t.add(n.command.id),n.alt&&t.add(n.alt.id));this._commands.forEach((n,i)=>{t.has(i)||e.push({command:n})})}};let b=class extends i.a{constructor(e,t,n){super(e,t),this._commandService=n}run(...e){return this._commandService.executeCommand(this.id,...e)}};b=h([u(2,s.b)],b);class _ extends i.d{constructor(e,t,n,r){super("submenuitem."+e.submenu.id,"string"==typeof e.title?e.title:e.title.value,()=>{const o=[],s=t.createMenu(e.submenu,n),a=s.getActions(r);s.dispose();for(let e of a){const[,t]=e;t.length>0&&(o.push(...t),o.push(new i.c))}return o.length&&o.pop(),o},"submenu"),this.item=e}}let v=class e extends b{constructor(t,n,i,r,o){if("string"==typeof t.title?super(t.id,t.title,o):super(t.id,t.title.value,o),this._cssClass=void 0,this._enabled=!t.precondition||r.contextMatchesRules(t.precondition),this._tooltip=t.tooltip?"string"==typeof t.tooltip?t.tooltip:t.tooltip.value:void 0,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this._checked=r.contextMatchesRules(e.condition),this._checked&&e.tooltip&&(this._tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value)}this._options=i||{},this.item=t,this.alt=n?new e(n,void 0,this._options,r,o):void 0}dispose(){this.alt&&this.alt.dispose(),super.dispose()}run(...e){let t=[];return this._options.arg&&(t=[...t,this._options.arg]),this._options.shouldForwardArgs&&(t=[...t,...e]),super.run(...t)}};v=h([u(3,o.b),u(4,s.b)],v)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var i=n(6);const r=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new i.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"i",(function(){return v})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return C})),n.d(t,"l",(function(){return x})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"k",(function(){return T})),n.d(t,"g",(function(){return N}));var i=n(0),r=n(11),o=n(73);const s=8;class a{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class l{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class c{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class d{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}compute(e,t,n){return n}}class h{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class u{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,n){return n}}class p extends u{static boolean(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}constructor(e,t,n,i){void 0!==i&&(i.type="boolean",i.default=n),super(e,t,n,i)}validate(e){return p.boolean(e,this.defaultValue)}}class m extends u{constructor(e,t,n,i,r,o){void 0!==o&&(o.type="integer",o.default=n,o.minimum=i,o.maximum=r),super(e,t,n,o),this.minimum=i,this.maximum=r}static clampedInt(e,t,n,i){if(void 0===e)return t;let r=parseInt(e,10);return isNaN(r)?t:(r=Math.max(n,r),r=Math.min(i,r),0|r)}validate(e){return m.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class g extends u{constructor(e,t,n,i,r){void 0!==r&&(r.type="number",r.default=n),super(e,t,n,r),this.validationFn=i}static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;const n=parseFloat(e);return isNaN(n)?t:n}validate(e){return this.validationFn(g.float(e,this.defaultValue))}}class f extends u{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,n,i){void 0!==i&&(i.type="string",i.default=n),super(e,t,n,i)}validate(e){return f.string(e,this.defaultValue)}}class b extends u{constructor(e,t,n,i,r){void 0!==r&&(r.type="string",r.enum=i,r.default=n),super(e,t,n,r),this._allowedValues=i}static stringSet(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e}validate(e){return b.stringSet(e,this.defaultValue,this._allowedValues)}}class _ extends d{constructor(e,t,n,i,r,o,s){void 0!==s&&(s.type="string",s.enum=r,s.default=i),super(e,t,n,s),this._allowedValues=r,this._convert=o}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var v;!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(v||(v={}));class w extends d{constructor(){super(37,"fontLigatures",w.OFF,{anyOf:[{type:"boolean",description:i.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:i.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:i.a("fontLigaturesGeneral","Configures font ligatures or font features."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?w.OFF:"true"===e?w.ON:e:Boolean(e)?w.ON:w.OFF}}w.OFF='"liga" off, "calt" off',w.ON='"liga" on, "calt" on';class y extends d{constructor(){super(39,"fontWeight",k.fontWeight,{anyOf:[{type:"number",minimum:y.MINIMUM_VALUE,maximum:y.MAXIMUM_VALUE,errorMessage:i.a("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:y.SUGGESTION_VALUES}],default:k.fontWeight,description:i.a("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(m.clampedInt(e,k.fontWeight,y.MINIMUM_VALUE,y.MAXIMUM_VALUE))}}y.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],y.MINIMUM_VALUE=1,y.MAXIMUM_VALUE=1e3;class C extends h{constructor(){super(117,[42,50,31,56,84,52,53,86,106,109,110,2])}compute(e,t,n){return C.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:Math.floor(e.viewLineCount/i)}}static _computeMinimapLayout(e,t){const n=e.outerWidth,i=e.outerHeight,r=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(r*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};const o=t.stableMinimapLayoutInput,a=o&&e.outerHeight===o.outerHeight&&e.lineHeight===o.lineHeight&&e.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&e.pixelRatio===o.pixelRatio&&e.scrollBeyondLastLine===o.scrollBeyondLastLine&&e.minimap.enabled===o.minimap.enabled&&e.minimap.side===o.minimap.side&&e.minimap.size===o.minimap.size&&e.minimap.showSlider===o.minimap.showSlider&&e.minimap.renderCharacters===o.minimap.renderCharacters&&e.minimap.maxColumn===o.minimap.maxColumn&&e.minimap.scale===o.minimap.scale&&e.verticalScrollbarWidth===o.verticalScrollbarWidth&&e.isViewportWrapping===o.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=r>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const p=e.minimap.maxColumn,m=e.minimap.size,g=e.minimap.side,f=e.verticalScrollbarWidth,b=e.viewLineCount,_=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let y=Math.floor(r*i);const x=y/r;let S=!1,k=!1,E=w*u,T=u/r,L=1;if("fill"===m||"fit"===m){const{typicalViewportLineCount:n,extraLinesBeyondLastLine:o,desiredRatio:s,minimapLineCount:c}=C.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,height:i,lineHeight:l,pixelRatio:r});if(b/c>1)S=!0,k=!0,u=1,E=1,T=u/r;else{let i=!1,c=u+1;if("fit"===m){const n=Math.ceil((b+o)*E);v&&a&&_<=t.stableFitRemainingWidth?(i=!0,c=t.stableFitMaxMinimapScale):(i=n>y,v&&i?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=_):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0))}if("fill"===m||i){S=!0;const e=u;E=Math.min(l*r,Math.max(1,Math.floor(1/s))),u=Math.min(c,Math.max(1,Math.floor(E/w))),u>e&&(L=Math.min(2,u/e)),T=u/r/L,y=Math.ceil(Math.max(n,b+o)*E),v&&i&&(t.stableFitMaxMinimapScale=u)}}}const N=Math.floor(p*T),I=Math.min(N,Math.max(0,Math.floor((_-f-2)*T/(c+T)))+s);let D=Math.floor(r*I);const O=D/r;D=Math.floor(D*L);return{renderMinimap:h?1:2,minimapLeft:"left"===g?0:n-I-f,minimapWidth:I,minimapHeightIsEditorHeight:S,minimapIsSampling:k,minimapScale:u,minimapLineHeight:E,minimapCanvasInnerWidth:D,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:O,minimapCanvasOuterHeight:x}}static computeLayout(e,t){const n=0|t.outerWidth,i=0|t.outerHeight,r=0|t.lineHeight,o=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,d=t.viewLineCount,h=e.get(106),u=e.get(109),p=e.get(110),g=e.get(2),f=t.isDominatedByLongLines,b=e.get(42),_=0!==e.get(52).renderType,v=e.get(53),w=e.get(86),y=e.get(56),x=e.get(84),S=x.verticalScrollbarSize,k=x.verticalHasArrows,E=x.arrowSize,T=x.horizontalScrollbarSize,L=e.get(50),N=e.get(31);let I;if("string"==typeof L&&/^\d+(\.\d+)?ch$/.test(L)){const e=parseFloat(L.substr(0,L.length-2));I=m.clampedInt(e*s,0,0,1e3)}else I=m.clampedInt(L,0,0,1e3);N&&(I+=16);let D=0;if(_){const e=Math.max(o,v);D=Math.round(e*a)}let O=0;b&&(O=r);let A=0,R=A+O,M=R+D,P=M+I;const F=n-O-D-I;let W=!1,z=!1,B=-1;2!==g&&(p&&f?(W=!0,z=!0):"on"===h||"bounded"===h?z=!0:"wordWrapColumn"===h&&(B=u));const j=C._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:r,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:w,minimap:y,verticalScrollbarWidth:S,viewLineCount:d,remainingWidth:F,isViewportWrapping:z},t.memory||new c);0!==j.renderMinimap&&0===j.minimapLeft&&(A+=j.minimapWidth,R+=j.minimapWidth,M+=j.minimapWidth,P+=j.minimapWidth);const V=F-j.minimapWidth,U=Math.max(1,Math.floor((V-S-2)/s)),H=k?E:0;return z&&(B=Math.max(1,U),"bounded"===h&&(B=Math.min(B,u))),{width:n,height:i,glyphMarginLeft:A,glyphMarginWidth:O,lineNumbersLeft:R,lineNumbersWidth:D,decorationsLeft:M,decorationsWidth:I,contentLeft:P,contentWidth:V,minimap:j,viewportColumn:U,isWordWrapMinified:W,isViewportWrapping:z,wrappingColumn:B,verticalScrollbarWidth:S,horizontalScrollbarHeight:T,overviewRuler:{top:H,width:S,height:i-2*H,right:0}}}}function x(e){const t=e.get(79);return"editable"===t?e.get(72):"on"!==t}function S(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}const k={fontFamily:r.f?"Menlo, Monaco, 'Courier New', monospace":r.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:r.f?12:14,lineHeight:0,letterSpacing:0},E={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},T=[];function L(e){return T[e.id]=e,e}const N={acceptSuggestionOnCommitCharacter:L(new p(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:i.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:L(new b(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",i.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:i.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:L(new class extends d{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[i.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),i.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),i.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:i.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,n){return 0===n?e.accessibilitySupport:n}}),accessibilityPageSize:L(new m(3,"accessibilityPageSize",10,1,1073741824,{description:i.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:L(new f(4,"ariaLabel",i.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:L(new b(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),i.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:i.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:L(new b(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",i.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:i.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:L(new b(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),i.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:i.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:L(new _(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[i.a("editor.autoIndent.none","The editor will not insert indentation automatically."),i.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),i.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),i.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),i.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:i.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:L(new p(9,"automaticLayout",!1)),autoSurround:L(new b(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[i.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),i.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),i.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:i.a("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:L(new p(11,"codeLens",!0,{description:i.a("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:L(new p(12,"colorDecorators",!0,{description:i.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:L(new p(13,"columnSelection",!1,{description:i.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:L(new class extends d{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(14,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:i.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:i.a("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{insertSpace:p.boolean(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:p.boolean(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:L(new p(15,"contextmenu",!0)),copyWithSyntaxHighlighting:L(new p(16,"copyWithSyntaxHighlighting",!0,{description:i.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:L(new _(17,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:i.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:L(new p(18,"cursorSmoothCaretAnimation",!1,{description:i.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:L(new _(19,"cursorStyle",v.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return v.Line;case"block":return v.Block;case"underline":return v.Underline;case"line-thin":return v.LineThin;case"block-outline":return v.BlockOutline;case"underline-thin":return v.UnderlineThin}}),{description:i.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:L(new m(20,"cursorSurroundingLines",0,0,1073741824,{description:i.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:L(new b(21,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[i.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),i.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:i.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:L(new m(22,"cursorWidth",0,0,1073741824,{markdownDescription:i.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:L(new p(23,"disableLayerHinting",!1)),disableMonospaceOptimizations:L(new p(24,"disableMonospaceOptimizations",!1)),dragAndDrop:L(new p(25,"dragAndDrop",!0,{description:i.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:L(new class extends p{constructor(){super(26,"emptySelectionClipboard",!0,{description:i.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}),extraEditorClassName:L(new f(27,"extraEditorClassName","")),fastScrollSensitivity:L(new g(28,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:i.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:L(new class extends d{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(29,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:i.a("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:e.seedSearchStringFromSelection,description:i.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[i.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),i.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),i.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:i.a("find.autoFindInSelection","Controls the condition for turning on find in selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:i.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:r.f},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:i.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:i.a("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:p.boolean(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:p.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":b.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:p.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:p.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:p.boolean(t.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:L(new p(30,"fixedOverflowWidgets",!1)),folding:L(new p(31,"folding",!0,{description:i.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:L(new b(32,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[i.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),i.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:i.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:L(new p(33,"foldingHighlight",!0,{description:i.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),unfoldOnClickAfterEndOfLine:L(new p(34,"unfoldOnClickAfterEndOfLine",!1,{description:i.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:L(new f(35,"fontFamily",k.fontFamily,{description:i.a("fontFamily","Controls the font family.")})),fontInfo:L(new class extends h{constructor(){super(36)}compute(e,t,n){return e.fontInfo}}),fontLigatures2:L(new w),fontSize:L(new class extends u{constructor(){super(38,"fontSize",k.fontSize,{type:"number",minimum:6,maximum:100,default:k.fontSize,description:i.a("fontSize","Controls the font size in pixels.")})}validate(e){let t=g.float(e,this.defaultValue);return 0===t?k.fontSize:g.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}),fontWeight:L(new y),formatOnPaste:L(new p(40,"formatOnPaste",!1,{description:i.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:L(new p(41,"formatOnType",!1,{description:i.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:L(new p(42,"glyphMargin",!0,{description:i.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:L(new class extends d{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[i.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),i.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),i.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};super(43,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:i.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:i.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:i.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:i.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:i.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:i.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,description:i.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,description:i.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,description:i.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,description:i.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,description:i.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,n,i,r,o;if(!e||"object"!=typeof e)return this.defaultValue;const s=e;return{multiple:b.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:b.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:b.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:b.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(r=s.multipleImplementations)&&void 0!==r?r:b.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(o=s.multipleReferences)&&void 0!==o?o:b.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:f.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:f.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:f.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:f.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:f.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}),hideCursorInOverviewRuler:L(new p(44,"hideCursorInOverviewRuler",!1,{description:i.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:L(new p(45,"highlightActiveIndentGuide",!0,{description:i.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:L(new class extends d{constructor(){const e={enabled:!0,delay:300,sticky:!0};super(46,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:i.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,description:i.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:i.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),delay:m.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:p.boolean(t.sticky,this.defaultValue.sticky)}}}),inDiffEditor:L(new p(47,"inDiffEditor",!1)),letterSpacing:L(new g(48,"letterSpacing",k.letterSpacing,e=>g.clamp(e,-5,20),{description:i.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:L(new class extends d{constructor(){const e={enabled:!0};super(49,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:i.a("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled)}}}),lineDecorationsWidth:L(new u(50,"lineDecorationsWidth",10)),lineHeight:L(new class extends m{constructor(){super(51,"lineHeight",k.lineHeight,0,150,{description:i.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})}compute(e,t,n){return e.fontInfo.lineHeight}}),lineNumbers:L(new class extends d{constructor(){super(52,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[i.a("lineNumbers.off","Line numbers are not rendered."),i.a("lineNumbers.on","Line numbers are rendered as absolute number."),i.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),i.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:i.a("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}),lineNumbersMinChars:L(new m(53,"lineNumbersMinChars",5,1,300)),links:L(new p(54,"links",!0,{description:i.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:L(new b(55,"matchBrackets","always",["always","near","never"],{description:i.a("matchBrackets","Highlight matching brackets.")})),minimap:L(new class extends d{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(56,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:i.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[i.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),i.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),i.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:i.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:i.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:i.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:i.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:i.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:i.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),size:b.stringSet(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:b.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:b.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:p.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(t.scale,1,1,3),maxColumn:m.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}),mouseStyle:L(new b(57,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:L(new g(58,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:i.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:L(new p(59,"mouseWheelZoom",!1,{markdownDescription:i.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:L(new p(60,"multiCursorMergeOverlapping",!0,{description:i.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:L(new _(61,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?r.f?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[i.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),i.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:i.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:L(new b(62,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[i.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),i.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:i.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:L(new p(63,"occurrencesHighlight",!0,{description:i.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:L(new p(64,"overviewRulerBorder",!0,{description:i.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:L(new m(65,"overviewRulerLanes",3,0,3)),padding:L(new class extends d{constructor(){super(66,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:i.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:i.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{top:m.clampedInt(t.top,0,0,1e3),bottom:m.clampedInt(t.bottom,0,0,1e3)}}}),parameterHints:L(new class extends d{constructor(){const e={enabled:!0,cycle:!1};super(67,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:i.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:i.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),cycle:p.boolean(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:L(new b(68,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[i.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),i.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:i.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:L(new p(69,"definitionLinkOpensInPeek",!1,{description:i.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:L(new class extends d{constructor(){const e={other:!0,comments:!1,strings:!1};super(70,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:i.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:i.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:i.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:i.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){if("boolean"==typeof e)return e;if(e&&"object"==typeof e){const t=e,n={other:p.boolean(t.other,this.defaultValue.other),comments:p.boolean(t.comments,this.defaultValue.comments),strings:p.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue}}),quickSuggestionsDelay:L(new m(71,"quickSuggestionsDelay",10,0,1073741824,{description:i.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:L(new p(72,"readOnly",!1)),renameOnType:L(new p(73,"renameOnType",!1,{description:i.a("renameOnType","Controls whether the editor auto renames on type.")})),renderControlCharacters:L(new p(74,"renderControlCharacters",!1,{description:i.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:L(new p(75,"renderIndentGuides",!0,{description:i.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:L(new p(76,"renderFinalNewline",!0,{description:i.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:L(new b(77,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",i.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:i.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:L(new p(78,"renderLineHighlightOnlyWhenFocus",!1,{description:i.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused")})),renderValidationDecorations:L(new b(79,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:L(new b(80,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",i.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),i.a("renderWhitespace.selection","Render whitespace characters only on selected text."),i.a("renderWhitespace.trailing","Render only trailing whitespace characters"),""],description:i.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:L(new m(81,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:L(new p(82,"roundedSelection",!0,{description:i.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:L(new class extends d{constructor(){const e=[],t={type:"number",description:i.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(83,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:i.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:i.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let n of e)if("number"==typeof n)t.push({column:m.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"==typeof n){const e=n;t.push({column:m.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:L(new class extends d{constructor(){super(84,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e,n=m.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=m.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:m.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:S(t.vertical,this.defaultValue.vertical),horizontal:S(t.horizontal,this.defaultValue.horizontal),useShadows:p.boolean(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:p.boolean(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:p.boolean(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:p.boolean(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:p.boolean(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:m.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:m.clampedInt(t.verticalSliderSize,i,0,1e3)}}}),scrollBeyondLastColumn:L(new m(85,"scrollBeyondLastColumn",5,0,1073741824,{description:i.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:L(new p(86,"scrollBeyondLastLine",!0,{description:i.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:L(new p(87,"scrollPredominantAxis",!0,{description:i.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:L(new p(88,"selectionClipboard",!0,{description:i.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:r.d})),selectionHighlight:L(new p(89,"selectionHighlight",!0,{description:i.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:L(new p(90,"selectOnLineNumbers",!0)),showFoldingControls:L(new b(91,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[i.a("showFoldingControls.always","Always show the folding controls."),i.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:i.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:L(new p(92,"showUnused",!0,{description:i.a("showUnused","Controls fading out of unused code.")})),showDeprecated:L(new p(113,"showDeprecated",!0,{description:i.a("showDeprecated","Controls strikethrough deprecated variables.")})),snippetSuggestions:L(new b(93,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[i.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),i.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),i.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),i.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:i.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:L(new p(94,"smoothScrolling",!1,{description:i.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:L(new m(95,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:L(new class extends d{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0,statusBar:{visible:!1}};super(96,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[i.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),i.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:i.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:i.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:i.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:i.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:i.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:i.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:e.maxVisibleSuggestions,minimum:1,maximum:15,description:i.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:i.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")},"editor.suggest.statusBar.visible":{type:"boolean",default:!1,markdownDescription:i.a("editor.suggest.statusBar.visible","Controls the visibility of the status bar at the bottom of the suggest widget.")}})}validate(e){var t;if(!e||"object"!=typeof e)return this.defaultValue;const n=e;return{insertMode:b.stringSet(n.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:p.boolean(n.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:p.boolean(n.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:p.boolean(n.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:p.boolean(n.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:p.boolean(n.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:m.clampedInt(n.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:p.boolean(n.showMethods,this.defaultValue.showMethods),showFunctions:p.boolean(n.showFunctions,this.defaultValue.showFunctions),showConstructors:p.boolean(n.showConstructors,this.defaultValue.showConstructors),showFields:p.boolean(n.showFields,this.defaultValue.showFields),showVariables:p.boolean(n.showVariables,this.defaultValue.showVariables),showClasses:p.boolean(n.showClasses,this.defaultValue.showClasses),showStructs:p.boolean(n.showStructs,this.defaultValue.showStructs),showInterfaces:p.boolean(n.showInterfaces,this.defaultValue.showInterfaces),showModules:p.boolean(n.showModules,this.defaultValue.showModules),showProperties:p.boolean(n.showProperties,this.defaultValue.showProperties),showEvents:p.boolean(n.showEvents,this.defaultValue.showEvents),showOperators:p.boolean(n.showOperators,this.defaultValue.showOperators),showUnits:p.boolean(n.showUnits,this.defaultValue.showUnits),showValues:p.boolean(n.showValues,this.defaultValue.showValues),showConstants:p.boolean(n.showConstants,this.defaultValue.showConstants),showEnums:p.boolean(n.showEnums,this.defaultValue.showEnums),showEnumMembers:p.boolean(n.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:p.boolean(n.showKeywords,this.defaultValue.showKeywords),showWords:p.boolean(n.showWords,this.defaultValue.showWords),showColors:p.boolean(n.showColors,this.defaultValue.showColors),showFiles:p.boolean(n.showFiles,this.defaultValue.showFiles),showReferences:p.boolean(n.showReferences,this.defaultValue.showReferences),showFolders:p.boolean(n.showFolders,this.defaultValue.showFolders),showTypeParameters:p.boolean(n.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:p.boolean(n.showSnippets,this.defaultValue.showSnippets),showUsers:p.boolean(n.showUsers,this.defaultValue.showUsers),showIssues:p.boolean(n.showIssues,this.defaultValue.showIssues),statusBar:{visible:p.boolean(null===(t=n.statusBar)||void 0===t?void 0:t.visible,!!this.defaultValue.statusBar.visible)}}}}),suggestFontSize:L(new m(97,"suggestFontSize",0,0,1e3,{markdownDescription:i.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:L(new m(98,"suggestLineHeight",0,0,1e3,{markdownDescription:i.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:L(new p(99,"suggestOnTriggerCharacters",!0,{description:i.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:L(new b(100,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[i.a("suggestSelection.first","Always select the first suggestion."),i.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),i.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:i.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:L(new b(101,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[i.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),i.a("tabCompletion.off","Disable tab completions."),i.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:i.a("tabCompletion","Enables tab completions.")})),tabIndex:L(new m(102,"tabIndex",0,-1,1073741824)),unusualLineTerminators:L(new b(103,"unusualLineTerminators","prompt",["off","prompt","auto"],{enumDescriptions:[i.a("unusualLineTerminators.off","Unusual line terminators are ignored."),i.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed."),i.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed.")],description:i.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useTabStops:L(new p(104,"useTabStops",!0,{description:i.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:L(new f(105,"wordSeparators",o.b,{description:i.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:L(new b(106,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[i.a("wordWrap.off","Lines will never wrap."),i.a("wordWrap.on","Lines will wrap at the viewport width."),i.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),i.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:i.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:L(new f(107,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:L(new f(108,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:L(new m(109,"wordWrapColumn",80,1,1073741824,{markdownDescription:i.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:L(new p(110,"wordWrapMinified",!0)),wrappingIndent:L(new _(111,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[i.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),i.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),i.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),i.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:i.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:L(new b(112,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[i.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),i.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:i.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:L(new class extends h{constructor(){super(114,[57,27])}compute(e,t,n){const i=["monaco-editor"];return t.get(27)&&i.push(t.get(27)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(57)?i.push("mouse-default"):"copy"===t.get(57)&&i.push("mouse-copy"),t.get(92)&&i.push("showUnused"),t.get(113)&&i.push("showDeprecated"),i.join(" ")}}),pixelRatio:L(new class extends h{constructor(){super(115)}compute(e,t,n){return e.pixelRatio}}),tabFocusMode:L(new class extends h{constructor(){super(116,[72])}compute(e,t,n){return!!t.get(72)||e.tabFocusMode}}),layoutInfo:L(new C),wrappingInfo:L(new class extends h{constructor(){super(118,[117])}compute(e,t,n){const i=t.get(117);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n(2),r=n(14),o=n(18),s=n(6),a=n(53),l=n(37);const c=Object(o.c)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new s.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){const t=[];for(let n of e.description.args)t.push(n.constraint);const n=e.handler;e.handler=function(e,...i){return Object(r.m)(i,t),n(e,...i)}}const{id:n}=e;let o=this._commands.get(n);o||(o=new a.a,this._commands.set(n,o));let s=o.unshift(e),l=Object(i.h)(()=>{s();const e=this._commands.get(n);(null==e?void 0:e.isEmpty())&&this._commands.delete(n)});return this._onDidRegisterCommand.fire(n),l}registerCommandAlias(e,t){return d.registerCommand(e,(e,...n)=>e.get(c).executeCommand(t,...n))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return l.a.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const n=this.getCommand(t);n&&e.set(t,n)}return e}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var i=n(11);const r=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return i.i?"win32":i.f?"darwin":"linux"},nextTick:e=>Object(i.j)(e)}:e,o=r.cwd,s=r.env,a=r.platform}).call(this,n(86))},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.f})),n.d(t,"d",(function(){return i.h})),n.d(t,"e",(function(){return i.l})),n.d(t,"f",(function(){return i.m})),n.d(t,"g",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return Ve})),n.d(t,"a",(function(){return Ge}));var i=n(13),r=n(6),o=n(2),s=n(8),a=n(23),l=n(26),c=n(9),d=n(3),h=n(21),u=n(58),p=n(175);class m{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function g(e,t,n,i,r){let o;for(r.spacesDiff=0,r.looksLikeAlignment=!1,o=0;o<t&&o<i;o++){if(e.charCodeAt(o)!==n.charCodeAt(o))break}let s=0,a=0;for(let n=o;n<t;n++){32===e.charCodeAt(n)?s++:a++}let l=0,c=0;for(let e=o;e<i;e++){32===n.charCodeAt(e)?l++:c++}if(s>0&&a>0)return;if(l>0&&c>0)return;let d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return r.spacesDiff=h,void(h>0&&0<=l-1&&l-1<e.length&&l<n.length&&32!==n.charCodeAt(l)&&32===e.charCodeAt(l-1)&&44===e.charCodeAt(e.length-1)&&(r.looksLikeAlignment=!0));h%d!=0||(r.spacesDiff=h/d)}function f(e,t,n){const i=Math.min(e.getLineCount(),1e4);let r=0,o=0,s="",a=0;const l=[2,4,6,8,3,5,7];let c=[0,0,0,0,0,0,0,0,0],d=new m;for(let l=1;l<=i;l++){let i=e.getLineLength(l),h=e.getLineContent(l);const u=i<=65536;let p=!1,m=0,f=0,b=0;for(let t=0,n=i;t<n;t++){let n=u?h.charCodeAt(t):e.getLineCharCode(l,t);if(9===n)b++;else{if(32!==n){p=!0,m=t;break}f++}}if(!p)continue;if(b>0?r++:f>1&&o++,g(s,a,h,m,d),d.looksLikeAlignment&&(!n||t!==d.spacesDiff))continue;let _=d.spacesDiff;_<=8&&c[_]++,s=h,a=m}let h=n;r!==o&&(h=r<o);let u=t;if(h){let e=h?0:.1*i;l.forEach(t=>{let n=c[t];n>e&&(e=n,u=t)}),4===u&&c[4]>0&&c[2]>0&&c[2]>=c[4]/2&&(u=2)}return{insertSpaces:h,tabSize:u}}function b(e){return(1&e.metadata)>>>0}function _(e,t){e.metadata=254&e.metadata|t<<0}function v(e){return(2&e.metadata)>>>1==1}function w(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function y(e){return(4&e.metadata)>>>2==1}function C(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function x(e){return(8&e.metadata)>>>3==1}function S(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function k(e,t){e.metadata=207&e.metadata|t<<4}function E(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}class T{constructor(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,_(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,C(this,!1),k(this,1),S(this,!1),E(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,w(this,!1)}reset(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i}setOptions(e){this.options=e;let t=this.options.className;C(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),k(this,this.options.stickiness),S(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),E(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const L=new T(null,0,0);L.parent=L,L.left=L,L.right=L,_(L,0);class N{constructor(){this.root=L,this.requestNormalizeDelta=!1}intervalSearch(e,t,n,i,r){return this.root===L?[]:function(e,t,n,i,r,o){let s=e.root,a=0,l=0,c=0,d=0,h=[],u=0;for(;s!==L;)if(v(s))w(s.left,!1),w(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!v(s.left)){if(l=a+s.maxEnd,l<t){w(s,!0);continue}if(s.left!==L){s=s.left;continue}}if(c=a+s.start,c>n)w(s,!0);else{if(d=a+s.end,d>=t){s.setCachedOffsets(c,d,o);let e=!0;i&&s.ownerId&&s.ownerId!==i&&(e=!1),r&&y(s)&&(e=!1),e&&(h[u++]=s)}w(s,!0),s.right===L||v(s.right)||(a+=s.delta,s=s.right)}}return w(e.root,!1),h}(this,e,t,n,i,r)}search(e,t,n){return this.root===L?[]:function(e,t,n,i){let r=e.root,o=0,s=0,a=0,l=[],c=0;for(;r!==L;){if(v(r)){w(r.left,!1),w(r.right,!1),r===r.parent.right&&(o-=r.parent.delta),r=r.parent;continue}if(r.left!==L&&!v(r.left)){r=r.left;continue}s=o+r.start,a=o+r.end,r.setCachedOffsets(s,a,i);let e=!0;t&&r.ownerId&&r.ownerId!==t&&(e=!1),n&&y(r)&&(e=!1),e&&(l[c++]=r),w(r,!0),r.right===L||v(r.right)||(o+=r.delta,r=r.right)}return w(e.root,!1),l}(this,e,t,n)}collectNodesFromOwner(e){return function(e,t){let n=e.root,i=[],r=0;for(;n!==L;)v(n)?(w(n.left,!1),w(n.right,!1),n=n.parent):n.left===L||v(n.left)?(n.ownerId===t&&(i[r++]=n),w(n,!0),n.right===L||v(n.right)||(n=n.right)):n=n.left;return w(e.root,!1),i}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root,n=[],i=0;for(;t!==L;)v(t)?(w(t.left,!1),w(t.right,!1),t=t.parent):t.left===L||v(t.left)?t.right===L||v(t.right)?(n[i++]=t,w(t,!0)):t=t.right:t=t.left;return w(e.root,!1),n}(this)}insert(e){O(this,e),this._normalizeDeltaIfNecessary()}delete(e){A(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){const n=e;let i=0;for(;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;const r=n.start+i,o=n.end+i;n.setCachedOffsets(r,o,t)}acceptReplace(e,t,n,i){const r=function(e,t,n){let i=e.root,r=0,o=0,s=0,a=0,l=[],c=0;for(;i!==L;)if(v(i))w(i.left,!1),w(i.right,!1),i===i.parent.right&&(r-=i.parent.delta),i=i.parent;else{if(!v(i.left)){if(o=r+i.maxEnd,o<t){w(i,!0);continue}if(i.left!==L){i=i.left;continue}}s=r+i.start,s>n?w(i,!0):(a=r+i.end,a>=t&&(i.setCachedOffsets(s,a,0),l[c++]=i),w(i,!0),i.right===L||v(i.right)||(r+=i.delta,i=i.right))}return w(e.root,!1),l}(this,e,e+t);for(let e=0,t=r.length;e<t;e++){A(this,r[e])}this._normalizeDeltaIfNecessary(),function(e,t,n,i){let r=e.root,o=0,s=0,a=0;const l=i-(n-t);for(;r!==L;)if(v(r))w(r.left,!1),w(r.right,!1),r===r.parent.right&&(o-=r.parent.delta),W(r),r=r.parent;else{if(!v(r.left)){if(s=o+r.maxEnd,s<t){w(r,!0);continue}if(r.left!==L){r=r.left;continue}}a=o+r.start,a>n?(r.start+=l,r.end+=l,r.delta+=l,(r.delta<-1073741824||r.delta>1073741824)&&(e.requestNormalizeDelta=!0),w(r,!0)):(w(r,!0),r.right===L||v(r.right)||(o+=r.delta,r=r.right))}w(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(let o=0,s=r.length;o<s;o++){const s=r[o];s.start=s.cachedAbsoluteStart,s.end=s.cachedAbsoluteEnd,D(s,e,e+t,n,i),s.maxEnd=s.end,O(this,s)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,n=0;for(;t!==L;)t.left===L||v(t.left)?t.right===L||v(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,W(t),w(t,!0),w(t.left,!1),w(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;w(e.root,!1)}(this))}}function I(e,t,n,i){return e<n||!(e>n)&&(1!==i&&(2===i||t))}function D(e,t,n,i,r){const o=function(e){return(48&e.metadata)>>>4}(e),s=0===o||2===o,a=1===o||2===o,l=n-t,c=i,d=Math.min(l,c),h=e.start;let u=!1;const p=e.end;let m=!1;t<=h&&p<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,u=!0,e.end=t,m=!0);{const e=r?1:l>0?2:0;!u&&I(h,s,t,e)&&(u=!0),!m&&I(p,a,t,e)&&(m=!0)}if(d>0&&!r){const e=l>c?2:0;!u&&I(h,s,t+d,e)&&(u=!0),!m&&I(p,a,t+d,e)&&(m=!0)}{const i=r?1:0;!u&&I(h,s,n,i)&&(e.start=t+c,u=!0),!m&&I(p,a,n,i)&&(e.end=t+c,m=!0)}const g=c-l;u||(e.start=Math.max(0,h+g)),m||(e.end=Math.max(0,p+g)),e.start>e.end&&(e.end=e.start)}function O(e,t){if(e.root===L)return t.parent=L,t.left=L,t.right=L,_(t,0),e.root=t,e.root;!function(e,t){let n=0,i=e.root;const r=t.start,o=t.end;for(;;){if(B(r,o,i.start+n,i.end+n)<0){if(i.left===L){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===L){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=L,t.right=L,_(t,1)}(e,t),z(t.parent);let n=t;for(;n!==e.root&&1===b(n.parent);)if(n.parent===n.parent.parent.left){const t=n.parent.parent.right;1===b(t)?(_(n.parent,0),_(t,0),_(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&(n=n.parent,M(e,n)),_(n.parent,0),_(n.parent.parent,1),P(e,n.parent.parent))}else{const t=n.parent.parent.left;1===b(t)?(_(n.parent,0),_(t,0),_(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&(n=n.parent,P(e,n)),_(n.parent,0),_(n.parent.parent,1),M(e,n.parent.parent))}return _(e.root,0),t}function A(e,t){let n,i;if(t.left===L?(n=t.right,i=t,n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===L?(n=t.left,i=t):(i=function(e){for(;e.left!==L;)e=e.left;return e}(t.right),n=i.right,n.start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,_(n,0),t.detach(),R(),W(n),void(e.root.parent=L);let r,o=1===b(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,_(i,b(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==L&&(i.left.parent=i),i.right!==L&&(i.right.parent=i)),t.detach(),o)return z(n.parent),i!==t&&(z(i),z(i.parent)),void R();for(z(n),z(n.parent),i!==t&&(z(i),z(i.parent));n!==e.root&&0===b(n);)n===n.parent.left?(r=n.parent.right,1===b(r)&&(_(r,0),_(n.parent,1),M(e,n.parent),r=n.parent.right),0===b(r.left)&&0===b(r.right)?(_(r,1),n=n.parent):(0===b(r.right)&&(_(r.left,0),_(r,1),P(e,r),r=n.parent.right),_(r,b(n.parent)),_(n.parent,0),_(r.right,0),M(e,n.parent),n=e.root)):(r=n.parent.left,1===b(r)&&(_(r,0),_(n.parent,1),P(e,n.parent),r=n.parent.left),0===b(r.left)&&0===b(r.right)?(_(r,1),n=n.parent):(0===b(r.left)&&(_(r.right,0),_(r,1),M(e,r),r=n.parent.left),_(r,b(n.parent)),_(n.parent,0),_(r.left,0),P(e,n.parent),n=e.root));_(n,0),R()}function R(){L.parent=L,L.delta=0,L.start=0,L.end=0}function M(e,t){const n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==L&&(n.left.parent=t),n.parent=t.parent,t.parent===L?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,W(t),W(n)}function P(e,t){const n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==L&&(n.right.parent=t),n.parent=t.parent,t.parent===L?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,W(t),W(n)}function F(e){let t=e.end;if(e.left!==L){const n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==L){const n=e.right.maxEnd+e.delta;n>t&&(t=n)}return t}function W(e){e.maxEnd=F(e)}function z(e){for(;e!==L;){const t=F(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function B(e,t,n,i){return e===n?t-i:e-n}class j{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==V)return U(this.right);let e=this;for(;e.parent!==V&&e.parent.left!==e;)e=e.parent;return e.parent===V?V:e.parent}prev(){if(this.left!==V)return H(this.left);let e=this;for(;e.parent!==V&&e.parent.right!==e;)e=e.parent;return e.parent===V?V:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const V=new j(null,0);function U(e){for(;e.left!==V;)e=e.left;return e}function H(e){for(;e.right!==V;)e=e.right;return e}function q(e){return e===V?0:e.size_left+e.piece.length+q(e.right)}function $(e){return e===V?0:e.lf_left+e.piece.lineFeedCnt+$(e.right)}function K(){V.parent=V}function G(e,t){let n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==V&&(n.left.parent=t),n.parent=t.parent,t.parent===V?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function Y(e,t){let n=t.left;t.left=n.right,n.right!==V&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===V?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function Z(e,t){let n,i;if(t.left===V?(i=t,n=i.right):t.right===V?(i=t,n=i.left):(i=U(t.right),n=i.right),i===e.root)return e.root=n,n.color=0,t.detach(),K(),void(e.root.parent=V);let r,o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,J(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,J(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==V&&(i.left.parent=i),i.right!==V&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,J(e,i)),t.detach(),n.parent.left===n){let t=q(n),i=$(n);if(t!==n.parent.size_left||i!==n.parent.lf_left){let r=t-n.parent.size_left,o=i-n.parent.lf_left;n.parent.size_left=t,n.parent.lf_left=i,Q(e,n.parent,r,o)}}if(J(e,n.parent),o)K();else{for(;n!==e.root&&0===n.color;)n===n.parent.left?(r=n.parent.right,1===r.color&&(r.color=0,n.parent.color=1,G(e,n.parent),r=n.parent.right),0===r.left.color&&0===r.right.color?(r.color=1,n=n.parent):(0===r.right.color&&(r.left.color=0,r.color=1,Y(e,r),r=n.parent.right),r.color=n.parent.color,n.parent.color=0,r.right.color=0,G(e,n.parent),n=e.root)):(r=n.parent.left,1===r.color&&(r.color=0,n.parent.color=1,Y(e,n.parent),r=n.parent.left),0===r.left.color&&0===r.right.color?(r.color=1,n=n.parent):(0===r.left.color&&(r.right.color=0,r.color=1,G(e,r),r=n.parent.left),r.color=n.parent.color,n.parent.color=0,r.left.color=0,Y(e,n.parent),n=e.root));n.color=0,K()}}function X(e,t){for(J(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){const n=t.parent.parent.right;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&G(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Y(e,t.parent.parent))}else{const n=t.parent.parent.left;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&Y(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,G(e,t.parent.parent))}e.root.color=0}function Q(e,t,n,i){for(;t!==e.root&&t!==V;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function J(e,t){let n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=q((t=t.parent).left)-t.size_left,i=$(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}V.parent=V,V.left=V,V.right=V,V.color=0;var ee=n(106);function te(e){let t;return t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length),t.set(e,0),t}class ne{constructor(e,t,n,i,r){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=r}}function ie(e,t=!0){let n=[0],i=1;for(let t=0,r=e.length;t<r;t++){const o=e.charCodeAt(t);13===o?t+1<r&&10===e.charCodeAt(t+1)?(n[i++]=t+2,t++):n[i++]=t+1:10===o&&(n[i++]=t+1)}return t?te(n):n}class re{constructor(e,t,n,i,r){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=r}}class oe{constructor(e,t){this.buffer=e,this.lineStarts=t}}class se{constructor(e,t){this._pieces=[],this._tree=e,this._BOM=t,this._index=0,e.root!==V&&e.iterate(e.root,e=>(e!==V&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class ae{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,n=this._cache;for(let i=0;i<n.length;i++){let r=n[i];(null===r.node.parent||r.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){let e=[];for(const t of n)null!==t&&e.push(t);this._cache=e}}}class le{constructor(e,t,n){this.create(e,t,n)}create(e,t,n){this._buffers=[new oe("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=V,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;let i=null;for(let t=0,n=e.length;t<n;t++)if(e[t].buffer.length>0){e[t].lineStarts||(e[t].lineStarts=ie(e[t].buffer));let n=new re(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),i=this.rbInsertRight(i,n)}this._searchCache=new ae(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=65535-Math.floor(21845),n=2*t,i="",r=0,o=[];if(this.iterate(this.root,s=>{let a=this.getNodeContent(s),l=a.length;if(r<=t||r+l<n)return i+=a,r+=l,!0;let c=i.replace(/\r\n|\r|\n/g,e);return o.push(new oe(c,ie(c))),i=a,r=l,!0}),r>0){let t=i.replace(/\r\n|\r|\n/g,e);o.push(new oe(t,ie(t)))}this.create(o,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new se(this,e)}getOffsetAt(e,t){let n=0,i=this.root;for(;i!==V;)if(i.left!==V&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e){return n+=i.size_left,n+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1)}e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,n=0,i=e;for(;t!==V;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){let r=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+r.index,0===r.index){let e=i-this.getOffsetAt(n+1,1);return new c.a(n+1,e+1)}return new c.a(n+1,r.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===V){let t=i-e-this.getOffsetAt(n+1,1);return new c.a(n+1,t+1)}t=t.right}return new c.a(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),r=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?r:r.replace(/\r\n|\r|\n/g,t):r}getValueInRange2(e,t){if(e.node===t.node){let n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(r+e.remainder,r+t.remainder)}let n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start),o=i.substring(r+e.remainder,r+n.piece.length);for(n=n.next();n!==V;){let e=this._buffers[n.piece.bufferIndex].buffer,i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){o+=e.substring(i,i+t.remainder);break}o+=e.substr(i,n.piece.length),n=n.next()}return o}getLinesContent(){let e=[],t=0,n="",i=!1;return this.iterate(this.root,r=>{if(r===V)return!0;const o=r.piece;let s=o.length;if(0===s)return!0;const a=this._buffers[o.bufferIndex].buffer,l=this._buffers[o.bufferIndex].lineStarts,c=o.start.line,d=o.end.line;let h=l[c]+o.start.column;if(i&&(10===a.charCodeAt(h)&&(h++,s--),e[t++]=n,n="",i=!1,0===s))return!0;if(c===d)return this._EOLNormalized||13!==a.charCodeAt(h+s-1)?n+=a.substr(h,s):(i=!0,n+=a.substr(h,s-1)),!0;n+=this._EOLNormalized?a.substring(h,Math.max(h,l[c+1]-this._EOLLength)):a.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;for(let i=c+1;i<d;i++)n=this._EOLNormalized?a.substring(l[i],l[i+1]-this._EOLLength):a.substring(l[i],l[i+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;return this._EOLNormalized||13!==a.charCodeAt(l[d]+o.end.column-1)?n=a.substr(l[d],o.end.column):(i=!0,0===o.end.column?t--:n=a.substr(l[d],o.end.column-1)),!0}),i&&(e[t++]=n,n=""),e[t++]=n,e}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value}_getCharCode(e){if(e.remainder===e.node.piece.length){let t=e.node.next();if(!t)return 0;let n=this._buffers[t.piece.bufferIndex],i=this.offsetInBuffer(t.piece.bufferIndex,t.piece.start);return n.buffer.charCodeAt(i)}{let t=this._buffers[e.node.piece.bufferIndex],n=this.offsetInBuffer(e.node.piece.bufferIndex,e.node.piece.start)+e.remainder;return t.buffer.charCodeAt(n)}}getLineCharCode(e,t){let n=this.nodeAt2(e,t+1);return this._getCharCode(n)}getLineLength(e){if(e===this.getLineCount()){let t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength}findMatchesInNode(e,t,n,i,r,o,s,a,l,c,h){let u,p,m,g=this._buffers[e.piece.bufferIndex],f=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),b=this.offsetInBuffer(e.piece.bufferIndex,r),_=this.offsetInBuffer(e.piece.bufferIndex,o),v={line:0,column:0};t._wordSeparators?(p=g.buffer.substring(b,_),m=e=>e+b,t.reset(0)):(p=g.buffer,m=e=>e,t.reset(b));do{if(u=t.next(p),u){if(m(u.index)>=_)return c;this.positionInBuffer(e,m(u.index)-f,v);let t=this.getLineFeedCnt(e.piece.bufferIndex,r,v),o=v.line===r.line?v.column-r.column+i:v.column+1,s=o+u[0].length;if(h[c++]=Object(ee.d)(new d.a(n+t,o,n+t,s),u,a),m(u.index)+u[0].length>=_)return c;if(c>=l)return c}}while(u);return c}findMatchesLineByLine(e,t,n,i){const r=[];let o=0;const s=new ee.b(t.wordSeparators,t.regex);let a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];let l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let c=this.positionInBuffer(a.node,a.remainder),d=this.positionInBuffer(l.node,l.remainder);if(a.node===l.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,c,d,t,n,i,o,r),r;let h=e.startLineNumber,u=a.node;for(;u!==l.node;){let l=this.getLineFeedCnt(u.piece.bufferIndex,c,u.piece.end);if(l>=1){let a=this._buffers[u.piece.bufferIndex].lineStarts,d=this.offsetInBuffer(u.piece.bufferIndex,u.piece.start),p=a[c.line+l],m=h===e.startLineNumber?e.startColumn:1;if(o=this.findMatchesInNode(u,s,h,m,c,this.positionInBuffer(u,p-d),t,n,i,o,r),o>=i)return r;h+=l}let d=h===e.startLineNumber?e.startColumn-1:0;if(h===e.endLineNumber){const a=this.getLineContent(h).substring(d,e.endColumn-1);return o=this._findMatchesInLine(t,s,a,e.endLineNumber,d,o,r,n,i),r}if(o=this._findMatchesInLine(t,s,this.getLineContent(h).substr(d),h,d,o,r,n,i),o>=i)return r;h++,a=this.nodeAt2(h,1),u=a.node,c=this.positionInBuffer(a.node,a.remainder)}if(h===e.endLineNumber){let a=h===e.startLineNumber?e.startColumn-1:0;const l=this.getLineContent(h).substring(a,e.endColumn-1);return o=this._findMatchesInLine(t,s,l,e.endLineNumber,a,o,r,n,i),r}let p=h===e.startLineNumber?e.startColumn:1;return o=this.findMatchesInNode(l.node,s,h,p,c,d,t,n,i,o,r),r}_findMatchesInLine(e,t,n,i,r,o,s,a,l){const c=e.wordSeparators;if(!a&&e.simpleSearch){const t=e.simpleSearch,a=t.length,h=n.length;let p=-a;for(;-1!==(p=n.indexOf(t,p+a));)if((!c||Object(ee.e)(c,n,h,p,a))&&(s[o++]=new u.b(new d.a(i,p+1+r,i,p+1+a+r),null),o>=l))return o;return o}let h;t.reset(0);do{if(h=t.next(n),h&&(s[o++]=Object(ee.d)(new d.a(i,h.index+1+r,i,h.index+1+h[0].length+r),h,a),o>=l))return o}while(h);return o}insert(e,t,n=!1){if(this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==V){let{node:n,remainder:i,nodeStartOffset:r}=this.nodeAt(e),o=n.piece,s=o.bufferIndex,a=this.positionInBuffer(n,i);if(0===n.piece.bufferIndex&&o.end.line===this._lastChangeBufferPos.line&&o.end.column===this._lastChangeBufferPos.column&&r+o.length===e&&t.length<65535)return this.appendToNode(n,t),void this.computeBufferMetadata();if(r===e)this.insertContentToNodeLeft(t,n),this._searchCache.validate(e);else if(r+n.piece.length>e){let e=[],r=new re(o.bufferIndex,a,o.end,this.getLineFeedCnt(o.bufferIndex,a,o.end),this.offsetInBuffer(s,o.end)-this.offsetInBuffer(s,a));if(this.shouldCheckCRLF()&&this.endWithCR(t)){if(10===this.nodeCharCodeAt(n,i)){let e={line:r.start.line+1,column:0};r=new re(r.bufferIndex,e,r.end,this.getLineFeedCnt(r.bufferIndex,e,r.end),r.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){if(13===this.nodeCharCodeAt(n,i-1)){let r=this.positionInBuffer(n,i-1);this.deleteNodeTail(n,r),t="\r"+t,0===n.piece.length&&e.push(n)}else this.deleteNodeTail(n,a)}else this.deleteNodeTail(n,a);let l=this.createNewPieces(t);r.length>0&&this.rbInsertRight(n,r);let c=n;for(let e=0;e<l.length;e++)c=this.rbInsertRight(c,l[e]);this.deleteNodes(e)}else this.insertContentToNodeRight(t,n)}else{let e=this.createNewPieces(t),n=this.rbInsertLeft(null,e[0]);for(let t=1;t<e.length;t++)n=this.rbInsertRight(n,e[t])}this.computeBufferMetadata()}delete(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",t<=0||this.root===V)return;let n=this.nodeAt(e),i=this.nodeAt(e+t),r=n.node,o=i.node;if(r===o){let o=this.positionInBuffer(r,n.remainder),s=this.positionInBuffer(r,i.remainder);if(n.nodeStartOffset===e){if(t===r.piece.length){let e=r.next();return Z(this,r),this.validateCRLFWithPrevNode(e),void this.computeBufferMetadata()}return this.deleteNodeHead(r,s),this._searchCache.validate(e),this.validateCRLFWithPrevNode(r),void this.computeBufferMetadata()}return n.nodeStartOffset+r.piece.length===e+t?(this.deleteNodeTail(r,o),this.validateCRLFWithNextNode(r),void this.computeBufferMetadata()):(this.shrinkNode(r,o,s),void this.computeBufferMetadata())}let s=[],a=this.positionInBuffer(r,n.remainder);this.deleteNodeTail(r,a),this._searchCache.validate(e),0===r.piece.length&&s.push(r);let l=this.positionInBuffer(o,i.remainder);this.deleteNodeHead(o,l),0===o.piece.length&&s.push(o);for(let e=r.next();e!==V&&e!==o;e=e.next())s.push(e);let c=0===r.piece.length?r.prev():r;this.deleteNodes(s),this.validateCRLFWithNextNode(c),this.computeBufferMetadata()}insertContentToNodeLeft(e,t){let n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){let i=t.piece,r={line:i.start.line+1,column:0},o=new re(i.bufferIndex,r,i.end,this.getLineFeedCnt(i.bufferIndex,r,i.end),i.length-1);t.piece=o,e+="\n",Q(this,t,-1,-1),0===t.piece.length&&n.push(t)}let i=this.createNewPieces(e),r=this.rbInsertLeft(t,i[i.length-1]);for(let e=i.length-2;e>=0;e--)r=this.rbInsertLeft(r,i[e]);this.validateCRLFWithPrevNode(r),this.deleteNodes(n)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),r=i;for(let e=1;e<n.length;e++)r=this.rbInsertRight(r,n[e]);this.validateCRLFWithPrevNode(i)}positionInBuffer(e,t,n){let i=e.piece,r=e.piece.bufferIndex,o=this._buffers[r].lineStarts,s=o[i.start.line]+i.start.column+t,a=i.start.line,l=i.end.line,c=0,d=0,h=0;for(;a<=l&&(c=a+(l-a)/2|0,h=o[c],c!==l);)if(d=o[c+1],s<h)l=c-1;else{if(!(s>=d))break;a=c+1}return n?(n.line=c,n.column=s-h,null):{line:c,column:s-h}}getLineFeedCnt(e,t,n){if(0===n.column)return n.line-t.line;let i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;let r=i[n.line+1],o=i[n.line]+n.column;if(r>o+1)return n.line-t.line;let s=o-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line}offsetInBuffer(e,t){return this._buffers[e].lineStarts[t.line]+t.column}deleteNodes(e){for(let t=0;t<e.length;t++)Z(this,e[t])}createNewPieces(e){if(e.length>65535){let t=[];for(;e.length>65535;){const n=e.charCodeAt(65534);let i;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));let r=ie(i);t.push(new re(this._buffers.length,{line:0,column:0},{line:r.length-1,column:i.length-r[r.length-1]},r.length-1,i.length)),this._buffers.push(new oe(i,r))}let n=ie(e);return t.push(new re(this._buffers.length,{line:0,column:0},{line:n.length-1,column:e.length-n[n.length-1]},n.length-1,e.length)),this._buffers.push(new oe(e,n)),t}let t=this._buffers[0].buffer.length;const n=ie(e,!1);let i=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},i=this._lastChangeBufferPos;for(let e=0;e<n.length;e++)n[e]+=t+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+="_"+e,t+=1}else{if(0!==t)for(let e=0;e<n.length;e++)n[e]+=t;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+=e}const r=this._buffers[0].buffer.length;let o=this._buffers[0].lineStarts.length-1,s={line:o,column:r-this._buffers[0].lineStarts[o]},a=new re(0,i,s,this.getLineFeedCnt(0,i,s),r-t);return this._lastChangeBufferPos=s,[a]}getLineRawContent(e,t=0){let n=this.root,i="",r=this._searchCache.get2(e);if(r){n=r.node;let o=this.getAccumulatedValue(n,e-r.nodeStartLineNumber-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(r.nodeStartLineNumber+n.piece.lineFeedCnt!==e){let i=this.getAccumulatedValue(n,e-r.nodeStartLineNumber);return s.substring(a+o,a+i-t)}i=s.substring(a+o,a+n.piece.length)}else{let r=0;const o=e;for(;n!==V;)if(n.left!==V&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){let i=this.getAccumulatedValue(n,e-n.lf_left-2),s=this.getAccumulatedValue(n,e-n.lf_left-1),a=this._buffers[n.piece.bufferIndex].buffer,l=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return r+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:r,nodeStartLineNumber:o-(e-1-n.lf_left)}),a.substring(l+i,l+s-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(n,e-n.lf_left-2),r=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=r.substring(o+t,o+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,r+=n.size_left+n.piece.length,n=n.right}}for(n=n.next();n!==V;){let e=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){let r=this.getAccumulatedValue(n,0),o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=e.substring(o,o+r-t),i}{let t=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=e.substr(t,n.piece.length)}n=n.next()}return i}computeBufferMetadata(){let e=this.root,t=1,n=0;for(;e!==V;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.validate(this._length)}getIndexOf(e,t){let n=e.piece,i=this.positionInBuffer(e,t),r=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(t!==r)return{index:t,remainder:0}}return{index:r,remainder:i.column}}getAccumulatedValue(e,t){if(t<0)return 0;let n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,r=n.start.line+t+1;return r>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[r]-i[n.start.line]-n.start.column}deleteNodeTail(e,t){const n=e.piece,i=n.lineFeedCnt,r=this.offsetInBuffer(n.bufferIndex,n.end),o=t,s=this.offsetInBuffer(n.bufferIndex,o),a=this.getLineFeedCnt(n.bufferIndex,n.start,o),l=a-i,c=s-r,d=n.length+c;e.piece=new re(n.bufferIndex,n.start,o,a,d),Q(this,e,c,l)}deleteNodeHead(e,t){const n=e.piece,i=n.lineFeedCnt,r=this.offsetInBuffer(n.bufferIndex,n.start),o=t,s=this.getLineFeedCnt(n.bufferIndex,o,n.end),a=s-i,l=r-this.offsetInBuffer(n.bufferIndex,o),c=n.length+l;e.piece=new re(n.bufferIndex,o,n.end,s,c),Q(this,e,l,a)}shrinkNode(e,t,n){const i=e.piece,r=i.start,o=i.end,s=i.length,a=i.lineFeedCnt,l=t,c=this.getLineFeedCnt(i.bufferIndex,i.start,l),d=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,r);e.piece=new re(i.bufferIndex,i.start,l,c,d),Q(this,e,d-s,c-a);let h=new re(i.bufferIndex,n,o,this.getLineFeedCnt(i.bufferIndex,n,o),this.offsetInBuffer(i.bufferIndex,o)-this.offsetInBuffer(i.bufferIndex,n)),u=this.rbInsertRight(e,h);this.validateCRLFWithPrevNode(u)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");const n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const r=ie(t,!1);for(let e=0;e<r.length;e++)r[e]+=i;if(n){let e=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-e}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(r.slice(1));const o=this._buffers[0].lineStarts.length-1,s={line:o,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[o]},a=e.piece.length+t.length,l=e.piece.lineFeedCnt,c=this.getLineFeedCnt(0,e.piece.start,s),d=c-l;e.piece=new re(e.piece.bufferIndex,e.piece.start,s,c,a),this._lastChangeBufferPos=s,Q(this,e,t.length,d)}nodeAt(e){let t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};let i=0;for(;t!==V;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;let n={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(n),n}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null}nodeAt2(e,t){let n=this.root,i=0;for(;n!==V;)if(n.left!==V&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){let r=this.getAccumulatedValue(n,e-n.lf_left-2),o=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(r+t-1,o),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){let r=this.getAccumulatedValue(n,e-n.lf_left-2);if(r+t-1<=n.piece.length)return{node:n,remainder:r+t-1,nodeStartOffset:i};t-=n.piece.length-r;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==V;){if(n.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(n,0),i=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,e),nodeStartOffset:i}}if(n.piece.length>=t-1){return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)}}t-=n.piece.length,n=n.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;let n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===V||0===e.piece.lineFeedCnt)return!1;let t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,r=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>r+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(r))}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==V&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let n,i=[],r=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:r[e.piece.end.line]-r[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};const o=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new re(e.piece.bufferIndex,e.piece.start,n,s,o),Q(this,e,-1,-1),0===e.piece.length&&i.push(e);let a={line:t.piece.start.line+1,column:0};const l=t.piece.length-1,c=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new re(t.piece.bufferIndex,a,t.piece.end,c,l),Q(this,t,-1,-1),0===t.piece.length&&i.push(t);let d=this.createNewPieces("\r\n");this.rbInsertRight(e,d[0]);for(let e=0;e<i.length;e++)Z(this,i[e])}adjustCarriageReturnFromNext(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)Z(this,n);else{const e=n.piece,t={line:e.start.line+1,column:0},i=e.length-1,r=this.getLineFeedCnt(e.bufferIndex,t,e.end);n.piece=new re(e.bufferIndex,t,e.end,r,i),Q(this,n,-1,-1)}return!0}}return!1}iterate(e,t){if(e===V)return t(V);let n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n}getNodeContent(e){if(e===V)return"";let t,n=this._buffers[e.piece.bufferIndex],i=e.piece,r=this.offsetInBuffer(i.bufferIndex,i.start),o=this.offsetInBuffer(i.bufferIndex,i.end);return t=n.buffer.substring(r,o),t}getPieceContent(e){let t=this._buffers[e.bufferIndex],n=this.offsetInBuffer(e.bufferIndex,e.start),i=this.offsetInBuffer(e.bufferIndex,e.end);return t.buffer.substring(n,i)}rbInsertRight(e,t){let n=new j(t,1);if(n.left=V,n.right=V,n.parent=V,n.size_left=0,n.lf_left=0,this.root===V)this.root=n,n.color=0;else if(e.right===V)e.right=n,n.parent=e;else{let t=U(e.right);t.left=n,n.parent=t}return X(this,n),n}rbInsertLeft(e,t){let n=new j(t,1);if(n.left=V,n.right=V,n.parent=V,n.size_left=0,n.lf_left=0,this.root===V)this.root=n,n.color=0;else if(e.left===V)e.left=n,n.parent=e;else{let t=H(e.left);t.right=n,n.parent=t}return X(this,n),n}}var ce=n(124),de=n(180);class he{constructor(e,t,n,i,o,s,a){this._onDidChangeContent=new r.a,this._BOM=t,this._mightContainNonBasicASCII=!s,this._mightContainRTL=i,this._mightContainUnusualLineTerminators=o,this._pieceTree=new le(e,n,a)}dispose(){this._onDidChangeContent.dispose()}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(e){return this._pieceTree.createSnapshot(e?this._BOM:"")}getOffsetAt(e,t){return this._pieceTree.getOffsetAt(e,t)}getPositionAt(e){return this._pieceTree.getPositionAt(e)}getRangeAt(e,t){let n=e+t;const i=this.getPositionAt(e),r=this.getPositionAt(n);return new d.a(i.lineNumber,i.column,r.lineNumber,r.column)}getValueInRange(e,t=0){if(e.isEmpty())return"";const n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)}getValueLengthInRange(e,t=0){if(e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;let n=this.getOffsetAt(e.startLineNumber,e.startColumn);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n}getCharacterCountInRange(e,t=0){if(this._mightContainNonBasicASCII){let n=0;const i=e.startLineNumber,r=e.endLineNumber;for(let t=i;t<=r;t++){const o=this.getLineContent(t),a=t===i?e.startColumn-1:0,l=t===r?e.endColumn-1:o.length;for(let e=a;e<l;e++)s.F(o.charCodeAt(e))?(n+=1,e+=1):n+=1}return n+=this._getEndOfLine(t).length*(r-i),n}return this.getValueLengthInRange(e,t)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(e){return this._pieceTree.getLineContent(e)}getLineCharCode(e,t){return this._pieceTree.getLineCharCode(e,t)}getLineLength(e){return this._pieceTree.getLineLength(e)}getLineFirstNonWhitespaceColumn(e){const t=s.w(this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=s.J(this.getLineContent(e));return-1===t?0:t+2}_getEndOfLine(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}setEOL(e){this._pieceTree.setEOL(e)}applyEdits(e,t,n){let i=this._mightContainRTL,r=this._mightContainUnusualLineTerminators,o=this._mightContainNonBasicASCII,a=!0,l=[];for(let t=0;t<e.length;t++){let n=e[t];a&&n._isTracked&&(a=!1);let c=n.range;if(n.text){let e=!0;o||(e=!s.B(n.text),o=e),!i&&e&&(i=s.m(n.text)),!r&&e&&(r=s.n(n.text))}let d="",h=0,u=0,p=0;if(n.text){let e;[h,u,p,e]=Object(ce.f)(n.text);const t=this.getEOL(),i="\r\n"===t?2:1;d=0===e||e===i?n.text:n.text.replace(/\r\n|\r|\n/g,t)}l[t]={sortIndex:t,identifier:n.identifier||null,range:c,rangeOffset:this.getOffsetAt(c.startLineNumber,c.startColumn),rangeLength:this.getValueLengthInRange(c),text:d,eolCount:h,firstLineLength:u,lastLineLength:p,forceMoveMarkers:Boolean(n.forceMoveMarkers),isAutoWhitespaceEdit:n.isAutoWhitespaceEdit||!1}}l.sort(he._sortOpsAscending);let c=!1;for(let e=0,t=l.length-1;e<t;e++){let t=l[e].range.getEndPosition(),n=l[e+1].range.getStartPosition();if(n.isBeforeOrEqual(t)){if(n.isBefore(t))throw new Error("Overlapping ranges are not allowed!");c=!0}}a&&(l=this._reduceOperations(l));let d=n||t?he._getInverseEditRanges(l):[],h=[];if(t)for(let e=0;e<l.length;e++){let t=l[e],n=d[e];if(t.isAutoWhitespaceEdit&&t.range.isEmpty())for(let e=n.startLineNumber;e<=n.endLineNumber;e++){let i="";e===n.startLineNumber&&(i=this.getLineContent(t.range.startLineNumber),-1!==s.w(i))||h.push({lineNumber:e,oldContent:i})}}let p=null;if(n){let e=0;p=[];for(let t=0;t<l.length;t++){const n=l[t],i=d[t],r=this.getValueInRange(n.range),o=n.rangeOffset+e;e+=n.text.length-r.length,p[t]={sortIndex:n.sortIndex,identifier:n.identifier,range:i,text:r,textChange:new de.a(n.rangeOffset,r,o,n.text)}}c||p.sort((e,t)=>e.sortIndex-t.sortIndex)}this._mightContainRTL=i,this._mightContainUnusualLineTerminators=r,this._mightContainNonBasicASCII=o;const m=this._doApplyEdits(l);let g=null;if(t&&h.length>0){h.sort((e,t)=>t.lineNumber-e.lineNumber),g=[];for(let e=0,t=h.length;e<t;e++){let t=h[e].lineNumber;if(e>0&&h[e-1].lineNumber===t)continue;let n=h[e].oldContent,i=this.getLineContent(t);0!==i.length&&i!==n&&-1===s.w(i)&&g.push(t)}}return this._onDidChangeContent.fire(),new u.a(p,m,g)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1;const n=e[0].range,i=e[e.length-1].range,r=new d.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn);let o=n.startLineNumber,s=n.startColumn;const a=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],r=i.range;t=t||i.forceMoveMarkers,a.push(this.getValueInRange(new d.a(o,s,r.startLineNumber,r.startColumn))),i.text.length>0&&a.push(i.text),o=r.endLineNumber,s=r.endColumn}const l=a.join(""),[c,h,u]=Object(ce.f)(l);return{sortIndex:0,identifier:e[0].identifier,range:r,rangeOffset:this.getOffsetAt(r.startLineNumber,r.startColumn),rangeLength:this.getValueLengthInRange(r,0),text:l,eolCount:c,firstLineLength:h,lastLineLength:u,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(he._sortOpsDescending);let t=[];for(let n=0;n<e.length;n++){let i=e[n];const r=i.range.startLineNumber,o=i.range.startColumn,s=i.range.endLineNumber,a=i.range.endColumn;if(r===s&&o===a&&0===i.text.length)continue;i.text?(this._pieceTree.delete(i.rangeOffset,i.rangeLength),this._pieceTree.insert(i.rangeOffset,i.text,!0)):this._pieceTree.delete(i.rangeOffset,i.rangeLength);const l=new d.a(r,o,s,a);t.push({range:l,rangeLength:i.rangeLength,text:i.text,rangeOffset:i.rangeOffset,forceMoveMarkers:i.forceMoveMarkers})}return t}findMatchesLineByLine(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)}static _getInverseEditRanges(e){let t=[],n=0,i=0,r=null;for(let o=0,s=e.length;o<s;o++){let s,a,l,c=e[o];if(r?r.range.endLineNumber===c.range.startLineNumber?(s=n,a=i+(c.range.startColumn-r.range.endColumn)):(s=n+(c.range.startLineNumber-r.range.endLineNumber),a=c.range.startColumn):(s=c.range.startLineNumber,a=c.range.startColumn),c.text.length>0){const e=c.eolCount+1;l=1===e?new d.a(s,a,s,a+c.firstLineLength):new d.a(s,a,s+e-1,c.lastLineLength+1)}else l=new d.a(s,a,s,a);n=l.endLineNumber,i=l.endColumn,t.push(l),r=c}return t}static _sortOpsAscending(e,t){let n=d.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n}static _sortOpsDescending(e,t){let n=d.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n}}class ue{constructor(e,t,n,i,r,o,s,a,l){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=r,this._containsRTL=o,this._containsUnusualLineTerminators=s,this._isBasicASCII=a,this._normalizeEOL=l}_getEOL(e){const t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"}create(e){const t=this._getEOL(e);let n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,i=n.length;e<i;e++){let i=n[e].buffer.replace(/\r\n|\r|\n/g,t),r=ie(i);n[e]=new oe(i,r)}return new he(n,this._bom,t,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL)}}class pe{constructor(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(e){if(0===e.length)return;0===this.chunks.length&&s.U(e)&&(this.BOM=s.b,e=e.substr(1));const t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){const t=function(e,t){e.length=0,e[0]=0;let n=1,i=0,r=0,o=0,s=!0;for(let a=0,l=t.length;a<l;a++){const c=t.charCodeAt(a);13===c?a+1<l&&10===t.charCodeAt(a+1)?(o++,e[n++]=a+2,a++):(i++,e[n++]=a+1):10===c?(r++,e[n++]=a+1):s&&9!==c&&(c<32||c>126)&&(s=!1)}const a=new ne(te(e),i,r,o,s);return e.length=0,a}(this._tmpLineStarts,e);this.chunks.push(new oe(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.m(e)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=s.n(e))}finish(e=!0){return this._finish(),new ue(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=ie(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}class me{constructor(){this.changeType=1}}class ge{constructor(e,t){this.changeType=2,this.lineNumber=e,this.detail=t}}class fe{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class be{constructor(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n}}class _e{constructor(){this.changeType=5}}class ve{constructor(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i,this.resultingSelection=null}containsEvent(e){for(let t=0,n=this.changes.length;t<n;t++){if(this.changes[t].changeType===e)return!0}return!1}static merge(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.versionId,r=e.isUndoing||t.isUndoing,o=e.isRedoing||t.isRedoing;return new ve(n,i,r,o)}}class we{constructor(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}merge(e){const t=ve.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),n=we._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new we(t,n)}static _mergeChangeEvents(e,t){return{changes:[].concat(e.changes).concat(t.changes),eol:t.eol,versionId:t.versionId,isUndoing:e.isUndoing||t.isUndoing,isRedoing:e.isRedoing||t.isRedoing,isFlush:e.isFlush||t.isFlush}}}var ye=n(16),Ce=n(111),xe=n(12),Se=n(90),ke=n(158),Ee=n(11);class Te{constructor(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}_reset(e){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,e&&this._setBeginState(0,e)}flush(e){this._reset(e)}get invalidLineStartIndex(){return this._invalidLineStartIndex}_invalidateLine(e){e<this._len&&(this._valid[e]=!1),e<this._invalidLineStartIndex&&(this._invalidLineStartIndex=e)}_isValid(e){return e<this._len&&this._valid[e]}getBeginState(e){return e<this._len?this._beginState[e]:null}_ensureLine(e){for(;e>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let n=[],i=[];for(let e=0;e<t;e++)n[e]=null,i[e]=!1;this._beginState=ye.a(this._beginState,e,n),this._valid=ye.a(this._valid,e,i),this._len+=t}_setValid(e,t){this._ensureLine(e),this._valid[e]=t}_setBeginState(e,t){this._ensureLine(e),this._beginState[e]=t}setEndState(e,t,n){if(this._setValid(t,!0),this._invalidLineStartIndex=t+1,t===e-1)return;const i=this.getBeginState(t+1);if(null===i||!n.equals(i))return this._setBeginState(t+1,n),void this._invalidateLine(t+1);let r=t+1;for(;r<e&&this._isValid(r);)r++;this._invalidLineStartIndex=r}setFakeTokens(e){this._setValid(e,!1)}applyEdits(e,t){const n=e.endLineNumber-e.startLineNumber,i=t;for(let t=Math.min(n,i);t>=0;t--)this._invalidateLine(e.startLineNumber+t-1);this._acceptDeleteRange(e),this._acceptInsertText(new c.a(e.startLineNumber,e.startColumn),t)}_acceptDeleteRange(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)}}class Le extends o.a{constructor(e){super(),this._isDisposed=!1,this._textModel=e,this._tokenizationStateStore=new Te,this._tokenizationSupport=null,this._register(xe.C.onDidChange(e=>{const t=this._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeRawContentFast(e=>{e.containsEvent(1)&&this._resetTokenizationState()})),this._register(this._textModel.onDidChangeContentFast(e=>{for(let t=0,n=e.changes.length;t<n;t++){const n=e.changes[t],[i]=Object(ce.f)(n.text);this._tokenizationStateStore.applyEdits(n.range,i)}this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeAttached(()=>{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){const[e,t]=function(e){const t=e.getLanguageIdentifier();let n=e.isTooLargeForTokenization()?null:xe.C.get(t.language),r=null;if(n)try{r=n.getInitialState()}catch(e){Object(i.e)(e),n=null}return[n,r]}(this._textModel);this._tokenizationSupport=e,this._tokenizationStateStore.flush(t),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&Ee.j(()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(e=this._textModel.getLineCount()){const t=new ce.b,n=ke.a.create(!1);for(;this._hasLinesToTokenize()&&!(n.elapsed()>1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)}tokenizeViewport(e,t){const n=new ce.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){const t=new ce.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)}isCheapToTokenize(e){if(!this._tokenizationSupport)return!0;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)}_hasLinesToTokenize(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()}_tokenizeOneInvalidLine(e){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t}_updateTokensUntilLine(e,t){if(!this._tokenizationSupport)return;const n=this._textModel.getLanguageIdentifier(),i=this._textModel.getLineCount(),r=t-1;for(let t=this._tokenizationStateStore.invalidLineStartIndex;t<=r;t++){const r=this._textModel.getLineContent(t+1),o=this._tokenizationStateStore.getBeginState(t),s=Ne(n,this._tokenizationSupport,r,o);e.add(t+1,s.tokens),this._tokenizationStateStore.setEndState(i,t,s.endState),t=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(e,t,n){if(!this._tokenizationSupport)return;if(n<=this._tokenizationStateStore.invalidLineStartIndex)return;if(t<=this._tokenizationStateStore.invalidLineStartIndex)return void this._updateTokensUntilLine(e,n);let i=this._textModel.getLineFirstNonWhitespaceColumn(t),r=[],o=null;for(let e=t-1;i>0&&e>=1;e--){let t=this._textModel.getLineFirstNonWhitespaceColumn(e);if(0!==t&&t<i){if(o=this._tokenizationStateStore.getBeginState(e-1),o)break;r.push(this._textModel.getLineContent(e)),i=t}}o||(o=this._tokenizationSupport.getInitialState());const s=this._textModel.getLanguageIdentifier();let a=o;for(let e=r.length-1;e>=0;e--){a=Ne(s,this._tokenizationSupport,r[e],a).endState}for(let i=t;i<=n;i++){let t=this._textModel.getLineContent(i),n=Ne(s,this._tokenizationSupport,t,a);e.add(i,n.tokens),this._tokenizationStateStore.setFakeTokens(i-1),a=n.endState}}}function Ne(e,t,n,r){let o=null;if(t)try{o=t.tokenize2(n,r.clone(),0)}catch(e){Object(i.e)(e)}return o||(o=Object(Se.e)(e.id,n,r,0)),Ce.a.convertToEndOffset(o.tokens,n.length),o}var Ie=n(73),De=n(39),Oe=n(114),Ae=n(119),Re=n(15);function Me(e){const t=new pe;return t.acceptChunk(e),t.finish()}function Pe(e,t){return("string"==typeof e?Me(e):e).create(t)}let Fe=0;class We{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,n=0;for(;;){let i=this._source.read();if(null===i)return this._eos=!0,0===t?null:e.join("");if(i.length>0&&(e[t++]=i,n+=i.length),n>=65536)return e.join("")}}}const ze=()=>{throw new Error("Invalid change accessor")};class Be{constructor(){this._searchCanceledBrand=void 0}}function je(e){return e instanceof Be?null:e}Be.INSTANCE=new Be;class Ve extends o.a{constructor(e,t,n,i=null,o){super(),this._onWillDispose=this._register(new r.a),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new Xe),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new r.a),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new r.a),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new r.a),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new r.a),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new r.a),this.onDidChangeAttached=this._onDidChangeAttached.event,this._eventEmitter=this._register(new Qe),Fe++,this.id="$model"+Fe,this.isForSimpleWidget=t.isForSimpleWidget,this._associatedResource=null==i?a.a.parse("inmemory://model/"+Fe):i,this._undoRedoService=o,this._attachedEditorCount=0,this._buffer=Pe(e,t.defaultEOL),this._options=Ve.resolveOptions(this._buffer,t);const l=this._buffer.getLineCount(),c=this._buffer.getValueLengthInRange(new d.a(1,1,l,this._buffer.getLineLength(l)+1),0);t.largeFileOptimizations?this._isTooLargeForTokenization=c>Ve.LARGE_FILE_SIZE_THRESHOLD||l>Ve.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=c>Ve.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=n||Se.a,this._languageRegistryListener=De.a.onDidChange(e=>{e.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=s.R(Fe),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Ue,this._commandManager=new p.a(this,o),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new ce.d,this._tokens2=new ce.e,this._tokenization=new Le(this)}static resolveOptions(e,t){if(t.detectIndentation){const n=f(e,t.tabSize,t.insertSpaces);return new u.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new u.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}onDidChangeRawContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.rawContentChangedEvent))}onDidChangeContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.contentChangedEvent))}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._isDisposing=!1}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(e,t){this._isDisposing||this._eventEmitter.fire(new we(e,t))}setValue(e){if(this._assertNotDisposed(),null===e)return;const t=Pe(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}_createContentChanged2(e,t,n,i,r,o,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:r,isRedoing:o,isFlush:s}}setValueFromTextBuffer(e){if(this._assertNotDisposed(),null===e)return;const t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),r=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ue,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new ve([new me],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,i,r),0,n,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();const t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),r=this.getLineCount(),o=this.getLineMaxColumn(r);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new ve([new _e],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,r,o),0,i,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)}_onAfterEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let n=0,i=t.length;n<i;n++){const i=t[n],r=i.cachedAbsoluteStart-i.start,o=this._buffer.getOffsetAt(i.range.startLineNumber,i.range.startColumn),s=this._buffer.getOffsetAt(i.range.endLineNumber,i.range.endColumn);i.cachedAbsoluteStart=o,i.cachedAbsoluteEnd=s,i.cachedVersionId=e,i.start=o-r,i.end=s-r,W(i)}}onBeforeAttached(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}onBeforeDetached(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0;const n=this._buffer.getLineCount();for(let i=1;i<=n;i++){const n=this._buffer.getLineLength(i);n>=1e4?t+=n:e+=n}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,r=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,o=new u.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:r});if(this._options.equals(o))return;let s=this._options.createChangeEvent(o);this._options=o,this._onDidChangeOptions.fire(s)}detectIndentation(e,t){this._assertNotDisposed();let n=f(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})}static _normalizeIndentationFromWhitespace(e,t,n){let i=0;for(let n=0;n<e.length;n++)"\t"===e.charAt(n)?i+=t:i++;let r="";if(!n){let e=Math.floor(i/t);i%=t;for(let t=0;t<e;t++)r+="\t"}for(let e=0;e<i;e++)r+=" ";return r}static normalizeIndentation(e,t,n){let i=s.w(e);return-1===i&&(i=e.length),Ve._normalizeIndentationFromWhitespace(e.substring(0,i),t,n)+e.substring(i)}normalizeIndentation(e){return this._assertNotDisposed(),Ve.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){const t=this.findMatches(s.a.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new We(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){const t=this._buffer.getLineCount(),n=e.startLineNumber,i=e.startColumn;let r,o;if(n<1)r=1,o=1;else if(n>t)r=t,o=this.getLineMaxColumn(r);else if(r=0|n,i<=1)o=1;else{const e=this.getLineMaxColumn(r);o=i>=e?e:0|i}const s=e.endLineNumber,a=e.endColumn;let l,c;if(s<1)l=1,c=1;else if(s>t)l=t,c=this.getLineMaxColumn(l);else if(l=0|s,a<=1)c=1;else{const e=this.getLineMaxColumn(l);c=a>=e?e:0|a}return n===r&&i===o&&s===l&&a===c&&e instanceof d.a&&!(e instanceof h.a)?e:new d.a(r,o,l,c)}_isValidPosition(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){const n=this._buffer.getLineCharCode(e,t-2);if(s.F(n))return!1}return!0}_validatePosition(e,t,n){const i=Math.floor("number"!=typeof e||isNaN(e)?1:e),r=Math.floor("number"!=typeof t||isNaN(t)?1:t),o=this._buffer.getLineCount();if(i<1)return new c.a(1,1);if(i>o)return new c.a(o,this.getLineMaxColumn(o));if(r<=1)return new c.a(i,1);const a=this.getLineMaxColumn(i);if(r>=a)return new c.a(i,a);if(1===n){const e=this._buffer.getLineCharCode(i,r-2);if(s.F(e))return new c.a(i,r-1)}return new c.a(i,r)}validatePosition(e){return this._assertNotDisposed(),e instanceof c.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){const n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,o=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(r,o,0))return!1;if(1===t){const e=i>1?this._buffer.getLineCharCode(n,i-2):0,t=o>1&&o<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,o-2):0,a=s.F(e),l=s.F(t);return!a&&!l}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof d.a&&!(e instanceof h.a)&&this._isValidRange(e,1))return e;const t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,r=t.column,o=n.lineNumber,a=n.column;{const e=r>1?this._buffer.getLineCharCode(i,r-2):0,t=a>1&&a<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,a-2):0,n=s.F(e),l=s.F(t);return n||l?i===o&&r===a?new d.a(i,r-1,o,a-1):n&&l?new d.a(i,r-1,o,a+1):n?new d.a(i,r-1,o,a):new d.a(i,r,o,a+1):new d.a(i,r,o,a)}}modifyPosition(e,t){this._assertNotDisposed();let n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))}getFullModelRange(){this._assertNotDisposed();const e=this.getLineCount();return new d.a(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)}findMatches(e,t,n,i,r,o,s=999){this._assertNotDisposed();let a=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>d.a.isIRange(e))&&(a=t.map(e=>this.validateRange(e)))),null===a&&(a=[this.getFullModelRange()]),a=a.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);const l=[];let c;if(l.push(a.reduce((e,t)=>d.a.areIntersecting(e,t)?e.plusRange(t):(l.push(e),t))),!n&&e.indexOf("\n")<0){const t=new ee.a(e,n,i,r).parseSearchRequest();if(!t)return[];c=e=>this.findMatchesLineByLine(e,t,o,s)}else c=t=>ee.c.findMatches(this,new ee.a(e,n,i,r),t,o,s);return l.map(c).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,n,i,r,o){this._assertNotDisposed();const s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){const t=new ee.a(e,n,i,r).parseSearchRequest();if(!t)return null;const a=this.getLineCount();let l=new d.a(s.lineNumber,s.column,a,this.getLineMaxColumn(a)),c=this.findMatchesLineByLine(l,t,o,1);return ee.c.findNextMatch(this,new ee.a(e,n,i,r),s,o),c.length>0?c[0]:(l=new d.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),c=this.findMatchesLineByLine(l,t,o,1),c.length>0?c[0]:null)}return ee.c.findNextMatch(this,new ee.a(e,n,i,r),s,o)}findPreviousMatch(e,t,n,i,r,o){this._assertNotDisposed();const s=this.validatePosition(t);return ee.c.findPreviousMatch(this,new ee.a(e,n,i,r),s,o)}pushStackElement(){this._commandManager.pushStackElement()}pushEOL(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof u.f?e:new u.f(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this._validateEditOperation(e[n]);return t}pushEditOperations(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,this._validateEditOperations(t),n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(e,t,n){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){let n=t.map(e=>({range:this.validateRange(e.range),text:e.text})),i=!0;if(e)for(let t=0,r=e.length;t<r;t++){let r=e[t],o=!1;for(let e=0,t=n.length;e<t;e++){let t=n[e].range,i=t.startLineNumber>r.endLineNumber,s=r.startLineNumber>t.endLineNumber;if(!i&&!s){o=!0;break}}if(!o){i=!1;break}}if(i)for(let e=0,i=this._trimAutoWhitespaceLines.length;e<i;e++){let i=this._trimAutoWhitespaceLines[e],r=this.getLineMaxColumn(i),o=!0;for(let e=0,t=n.length;e<t;e++){let t=n[e].range,s=n[e].text;if(!(i<t.startLineNumber||i>t.endLineNumber)&&!(i===t.startLineNumber&&t.startColumn===r&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(0)||i===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(s.length-1))){o=!1;break}}if(o){const e=new d.a(i,1,i,r);t.push(new u.f(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,n)}_applyUndo(e,t,n,i){const r=e.map(e=>{const t=this.getPositionAt(e.newPosition),n=this.getPositionAt(e.newEnd);return{range:new d.a(t.lineNumber,t.column,n.lineNumber,n.column),text:e.oldText}});this._applyUndoRedoEdits(r,t,!0,!1,n,i)}_applyRedo(e,t,n,i){const r=e.map(e=>{const t=this.getPositionAt(e.oldPosition),n=this.getPositionAt(e.oldEnd);return{range:new d.a(t.lineNumber,t.column,n.lineNumber,n.column),text:e.newText}});this._applyUndoRedoEdits(r,t,!1,!0,n,i)}_applyUndoRedoEdits(e,t,n,i,r,o){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=n,this._isRedoing=i,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(r)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(o),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const n=this._validateEditOperations(e);return this._doApplyEdits(n,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){const n=this._buffer.getLineCount(),i=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),r=this._buffer.getLineCount(),o=i.changes;if(this._trimAutoWhitespaceLines=i.trimAutoWhitespaceLineNumbers,0!==o.length){let e=[],t=n;for(let n=0,i=o.length;n<i;n++){const i=o[n],[s,a,l]=Object(ce.f)(i.text);this._tokens.acceptEdit(i.range,s,a),this._tokens2.acceptEdit(i.range,s,a,l,i.text.length>0?i.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(i.rangeOffset,i.rangeLength,i.text.length,i.forceMoveMarkers);const c=i.range.startLineNumber,d=i.range.endLineNumber,h=d-c,u=s,p=Math.min(h,u),m=u-h;for(let n=p;n>=0;n--){const i=c+n,o=r-t-m+i;e.push(new ge(i,this.getLineContent(o)))}if(p<h){const t=c+p;e.push(new fe(t+1,d))}if(p<u){const n=c+p,i=u-p,o=r-t-i+n+1;let s=[];for(let e=0;e<i;e++){let t=o+e;s[t-o]=this.getLineContent(t)}e.push(new be(n+1,c+u,s))}t+=m}this._increaseVersionId(),this._emitContentChangedEvent(new ve(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:o,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===i.reverseEdits?void 0:i.reverseEdits}undo(){this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let n={addDecoration:(t,n)=>this._deltaDecorationsImpl(e,[],[{range:t,options:n}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,Ze(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,n)=>0===t.length&&0===n.length?[]:this._deltaDecorationsImpl(e,t,n)},r=null;try{r=t(n)}catch(e){Object(i.e)(e)}return n.addDecoration=ze,n.changeDecoration=ze,n.changeDecorationOptions=ze,n.removeDecoration=ze,n.deltaDecorations=ze,r}deltaDecorations(e,t,n=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,n){const i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:Ye[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;const r=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(r.startLineNumber,r.startColumn),s=this._buffer.getOffsetAt(r.endLineNumber,r.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),o,s,r),i.setOptions(Ye[n]),this._decorationsTree.insert(i),i.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;const t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,n=t.length;e<n;e++){const n=t[e];this._decorationsTree.delete(n),delete this._decorations[n.id]}}getDecorationOptions(e){const t=this._decorations[e];return t?t.options:null}getDecorationRange(e){const t=this._decorations[e];if(!t)return null;const n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}getLineDecorations(e,t=0,n=!1){return e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)}getLinesDecorations(e,t,n=0,i=!1){let r=this.getLineCount(),o=Math.min(r,Math.max(1,e)),s=Math.min(r,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new d.a(o,1,s,a),n,i)}getDecorationsInRange(e,t=0,n=!1){let i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)}getOverviewRulerDecorations(e=0,t=!1){const n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)}getAllDecorations(e=0,t=!1){const n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)}_getDecorationsInRange(e,t,n){const i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),r=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),o=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,r,t,n,o);return this._ensureNodesHaveRanges(s)}_ensureNodesHaveRanges(e){for(let t=0,n=e.length;t<n;t++){const n=e[t];null===n.range&&(n.range=this._getRangeAt(n.cachedAbsoluteStart,n.cachedAbsoluteEnd))}return e}_getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const n=this._decorations[e];if(!n)return;const i=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),o=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),r,o,i),this._decorationsTree.insert(n),this._onDidChangeDecorations.checkAffectedAndFire(n.options)}_changeDecorationOptionsImpl(e,t){const n=this._decorations[e];if(!n)return;const i=!(!n.options.overviewRuler||!n.options.overviewRuler.color),r=!(!t.overviewRuler||!t.overviewRuler.color);this._onDidChangeDecorations.checkAffectedAndFire(n.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i!==r?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}_deltaDecorationsImpl(e,t,n){const i=this.getVersionId(),r=t.length;let o=0;const s=n.length;let a=0,l=new Array(s);for(;o<r||a<s;){let c=null;if(o<r){do{c=this._decorations[t[o++]]}while(!c&&o<r);c&&(this._decorationsTree.delete(c),this._onDidChangeDecorations.checkAffectedAndFire(c.options))}if(a<s){if(!c){const e=++this._lastDecorationId,t=`${this._instanceId};${e}`;c=new T(t,0,0),this._decorations[t]=c}const t=n[a],r=this._validateRangeRelaxedNoAllocations(t.range),o=Ze(t.options),s=this._buffer.getOffsetAt(r.startLineNumber,r.startColumn),d=this._buffer.getOffsetAt(r.endLineNumber,r.endColumn);c.ownerId=e,c.reset(i,s,d,r),c.setOptions(o),this._onDidChangeDecorations.checkAffectedAndFire(o),this._decorationsTree.insert(c),l[a]=c.id,a++}else c&&delete this._decorations[c.id]}return l}setTokens(e){if(0===e.length)return;let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];let r=0,o=0,s=!1;for(let e=0,t=i.tokens.length;e<t;e++){const t=i.startLineNumber+e;if(s)this._tokens.setTokens(this._languageIdentifier.id,t-1,this._buffer.getLineLength(t),i.tokens[e],!1),o=t;else{this._tokens.setTokens(this._languageIdentifier.id,t-1,this._buffer.getLineLength(t),i.tokens[e],!0)&&(s=!0,r=t,o=t)}}s&&t.push({fromLineNumber:r,toLineNumber:o})}t.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:t})}setSemanticTokens(e,t){this._tokens2.set(e,t),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasSemanticTokens(){return this._tokens2.isComplete()}setPartialSemanticTokens(e,t){if(this.hasSemanticTokens())return;const n=this._tokens2.setPartial(e,t);this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:n.startLineNumber,toLineNumber:n.endLineNumber}]})}tokenizeViewport(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(e){this._isDisposing||this._onDidChangeTokens.fire(e)}resetTokenization(){this._tokenization.reset()}forceTokenization(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){const t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(e){if(this._languageIdentifier.id===e.id)return;let t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(e,t){const n=this.validatePosition(new c.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))}getWordAtPosition(e){this._assertNotDisposed();const t=this.validatePosition(e),n=this.getLineContent(t.lineNumber),i=this._getLineTokens(t.lineNumber),r=i.findTokenIndexAtOffset(t.column-1),[o,s]=Ve._findLanguageBoundaries(i,r),a=Object(Ie.d)(t.column,De.a.getWordDefinition(i.getLanguageId(r)),n.substring(o,s),o);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a;if(r>0&&o===t.column-1){const[o,s]=Ve._findLanguageBoundaries(i,r-1),a=Object(Ie.d)(t.column,De.a.getWordDefinition(i.getLanguageId(r-1)),n.substring(o,s),o);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a}return null}static _findLanguageBoundaries(e,t){const n=e.getLanguageId(t);let i=0;for(let r=t;r>=0&&e.getLanguageId(r)===n;r--)i=e.getStartOffset(r);let r=e.getLineContent().length;for(let i=t,o=e.getCount();i<o&&e.getLanguageId(i)===n;i++)r=e.getEndOffset(i);return[i,r]}getWordUntilPosition(e){const t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}}findMatchingBracketUp(e,t){let n=e.toLowerCase(),i=this.validatePosition(t),r=this._getLineTokens(i.lineNumber),o=r.getLanguageId(r.findTokenIndexAtOffset(i.column-1)),s=De.a.getBracketsSupport(o);if(!s)return null;let a=s.textIsBracket[n];return a?je(this._findMatchingBracketUp(a,i,null)):null}matchBracket(e){return this._matchBracket(this.validatePosition(e))}_matchBracket(e){const t=e.lineNumber,n=this._getLineTokens(t),i=n.getCount(),r=this._buffer.getLineContent(t),o=n.findTokenIndexAtOffset(e.column-1);if(o<0)return null;const s=De.a.getBracketsSupport(n.getLanguageId(o));if(s&&!Object(Oe.b)(n.getStandardTokenType(o))){let i=Math.max(0,e.column-1-s.maxBracketLength);for(let e=o-1;e>=0;e--){const t=n.getEndOffset(e);if(t<=i)break;Object(Oe.b)(n.getStandardTokenType(e))&&(i=t)}const a=Math.min(r.length,e.column-1+s.maxBracketLength);let l=null;for(;;){const n=Ae.a.findNextBracketInRange(s.forwardRegex,t,r,i,a);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){const e=r.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),t=this._matchFoundBracket(n,s.textIsBracket[e],s.textIsOpenBracket[e],null);if(t){if(t instanceof Be)return null;l=t}}i=n.endColumn-1}if(l)return l}if(o>0&&n.getStartOffset(o)===e.column-1){const s=o-1,a=De.a.getBracketsSupport(n.getLanguageId(s));if(a&&!Object(Oe.b)(n.getStandardTokenType(s))){const o=Math.max(0,e.column-1-a.maxBracketLength);let l=Math.min(r.length,e.column-1+a.maxBracketLength);for(let e=s+1;e<i;e++){const t=n.getStartOffset(e);if(t>=l)break;Object(Oe.b)(n.getStandardTokenType(e))&&(l=t)}const c=Ae.a.findPrevBracketInRange(a.reversedRegex,t,r,o,l);if(c&&c.startColumn<=e.column&&e.column<=c.endColumn){const e=r.substring(c.startColumn-1,c.endColumn-1).toLowerCase(),t=this._matchFoundBracket(c,a.textIsBracket[e],a.textIsOpenBracket[e],null);if(t)return t instanceof Be?null:t}}}return null}_matchFoundBracket(e,t,n,i){if(!t)return null;const r=n?this._findMatchingBracketDown(t,e.getEndPosition(),i):this._findMatchingBracketUp(t,e.getStartPosition(),i);return r?r instanceof Be?r:[e,r]:null}_findMatchingBracketUp(e,t,n){const i=e.languageIdentifier.id,r=e.reversedRegex;let o=-1,s=0;const a=(t,i,a,l)=>{for(;;){if(n&&++s%100==0&&!n())return Be.INSTANCE;const c=Ae.a.findPrevBracketInRange(r,t,i,a,l);if(!c)break;const d=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(d)?o++:e.isClose(d)&&o--,0===o)return c;l=c.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){const n=this._getLineTokens(e),r=n.getCount(),o=this._buffer.getLineContent(e);let s=r-1,l=o.length,c=o.length;e===t.lineNumber&&(s=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1);let d=!0;for(;s>=0;s--){const t=n.getLanguageId(s)===i&&!Object(Oe.b)(n.getStandardTokenType(s));if(t)d?l=n.getStartOffset(s):(l=n.getStartOffset(s),c=n.getEndOffset(s));else if(d&&l!==c){const t=a(e,o,l,c);if(t)return t}d=t}if(d&&l!==c){const t=a(e,o,l,c);if(t)return t}}return null}_findMatchingBracketDown(e,t,n){const i=e.languageIdentifier.id,r=e.forwardRegex;let o=1,s=0;const a=(t,i,a,l)=>{for(;;){if(n&&++s%100==0&&!n())return Be.INSTANCE;const c=Ae.a.findNextBracketInRange(r,t,i,a,l);if(!c)break;const d=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(d)?o++:e.isClose(d)&&o--,0===o)return c;a=c.endColumn-1}return null},l=this.getLineCount();for(let e=t.lineNumber;e<=l;e++){const n=this._getLineTokens(e),r=n.getCount(),o=this._buffer.getLineContent(e);let s=0,l=0,c=0;e===t.lineNumber&&(s=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1);let d=!0;for(;s<r;s++){const t=n.getLanguageId(s)===i&&!Object(Oe.b)(n.getStandardTokenType(s));if(t)d||(l=n.getStartOffset(s)),c=n.getEndOffset(s);else if(d&&l!==c){const t=a(e,o,l,c);if(t)return t}d=t}if(d&&l!==c){const t=a(e,o,l,c);if(t)return t}}return null}findPrevBracket(e){const t=this.validatePosition(e);let n=-1,i=null;for(let e=t.lineNumber;e>=1;e--){const r=this._getLineTokens(e),o=r.getCount(),s=this._buffer.getLineContent(e);let a=o-1,l=s.length,c=s.length;if(e===t.lineNumber){a=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const e=r.getLanguageId(a);n!==e&&(n=e,i=De.a.getBracketsSupport(n))}let d=!0;for(;a>=0;a--){const t=r.getLanguageId(a);if(n!==t){if(i&&d&&l!==c){const t=Ae.a.findPrevBracketInRange(i.reversedRegex,e,s,l,c);if(t)return this._toFoundBracket(i,t);d=!1}n=t,i=De.a.getBracketsSupport(n)}const o=!!i&&!Object(Oe.b)(r.getStandardTokenType(a));if(o)d?l=r.getStartOffset(a):(l=r.getStartOffset(a),c=r.getEndOffset(a));else if(i&&d&&l!==c){const t=Ae.a.findPrevBracketInRange(i.reversedRegex,e,s,l,c);if(t)return this._toFoundBracket(i,t)}d=o}if(i&&d&&l!==c){const t=Ae.a.findPrevBracketInRange(i.reversedRegex,e,s,l,c);if(t)return this._toFoundBracket(i,t)}}return null}findNextBracket(e){const t=this.validatePosition(e),n=this.getLineCount();let i=-1,r=null;for(let e=t.lineNumber;e<=n;e++){const n=this._getLineTokens(e),o=n.getCount(),s=this._buffer.getLineContent(e);let a=0,l=0,c=0;if(e===t.lineNumber){a=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const e=n.getLanguageId(a);i!==e&&(i=e,r=De.a.getBracketsSupport(i))}let d=!0;for(;a<o;a++){const t=n.getLanguageId(a);if(i!==t){if(r&&d&&l!==c){const t=Ae.a.findNextBracketInRange(r.forwardRegex,e,s,l,c);if(t)return this._toFoundBracket(r,t);d=!1}i=t,r=De.a.getBracketsSupport(i)}const o=!!r&&!Object(Oe.b)(n.getStandardTokenType(a));if(o)d||(l=n.getStartOffset(a)),c=n.getEndOffset(a);else if(r&&d&&l!==c){const t=Ae.a.findNextBracketInRange(r.forwardRegex,e,s,l,c);if(t)return this._toFoundBracket(r,t)}d=o}if(r&&d&&l!==c){const t=Ae.a.findNextBracketInRange(r.forwardRegex,e,s,l,c);if(t)return this._toFoundBracket(r,t)}}return null}findEnclosingBrackets(e,t){let n;if(void 0===t)n=null;else{const e=Date.now();n=()=>Date.now()-e<=t}const i=this.validatePosition(e),r=this.getLineCount(),o=new Map;let s=[];const a=(e,t)=>{if(!o.has(e)){let n=[];for(let e=0,i=t?t.brackets.length:0;e<i;e++)n[e]=0;o.set(e,n)}s=o.get(e)};let l=0;const c=(e,t,i,r,o)=>{for(;;){if(n&&++l%100==0&&!n())return Be.INSTANCE;const a=Ae.a.findNextBracketInRange(e.forwardRegex,t,i,r,o);if(!a)break;const c=i.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),d=e.textIsBracket[c];if(d&&(d.isOpen(c)?s[d.index]++:d.isClose(c)&&s[d.index]--,-1===s[d.index]))return this._matchFoundBracket(a,d,!1,n);r=a.endColumn-1}return null};let d=-1,h=null;for(let e=i.lineNumber;e<=r;e++){const t=this._getLineTokens(e),n=t.getCount(),r=this._buffer.getLineContent(e);let o=0,s=0,l=0;if(e===i.lineNumber){o=t.findTokenIndexAtOffset(i.column-1),s=i.column-1,l=i.column-1;const e=t.getLanguageId(o);d!==e&&(d=e,h=De.a.getBracketsSupport(d),a(d,h))}let u=!0;for(;o<n;o++){const n=t.getLanguageId(o);if(d!==n){if(h&&u&&s!==l){const t=c(h,e,r,s,l);if(t)return je(t);u=!1}d=n,h=De.a.getBracketsSupport(d),a(d,h)}const i=!!h&&!Object(Oe.b)(t.getStandardTokenType(o));if(i)u||(s=t.getStartOffset(o)),l=t.getEndOffset(o);else if(h&&u&&s!==l){const t=c(h,e,r,s,l);if(t)return je(t)}u=i}if(h&&u&&s!==l){const t=c(h,e,r,s,l);if(t)return je(t)}}return null}_toFoundBracket(e,t){if(!t)return null;let n=this.getValueInRange(t);n=n.toLowerCase();let i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null}static computeIndentLevel(e,t){let n=0,i=0,r=e.length;for(;i<r;){let r=e.charCodeAt(i);if(32===r)n++;else{if(9!==r)break;n=n-n%t+t}i++}return i===r?-1:n}_computeIndentLevel(e){return Ve.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)}getActiveIndentGuide(e,t,n){this._assertNotDisposed();const i=this.getLineCount();if(e<1||e>i)throw new Error("Illegal value for lineNumber");const r=De.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(r&&r.offSide);let s=-2,a=-1,l=-2,c=-1;const d=e=>{if(-1!==s&&(-2===s||s>e-1)){s=-1,a=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){s=t,a=e;break}}}if(-2===l){l=-1,c=-1;for(let t=e;t<i;t++){let e=this._computeIndentLevel(t);if(e>=0){l=t,c=e;break}}}};let h=-2,u=-1,p=-2,m=-1;const g=e=>{if(-2===h){h=-1,u=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){h=t,u=e;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,m=-1;for(let t=e;t<i;t++){let e=this._computeIndentLevel(t);if(e>=0){p=t,m=e;break}}}};let f=0,b=!0,_=0,v=!0,w=0,y=0;for(let r=0;b||v;r++){const s=e-r,p=e+r;r>1&&(s<1||s<t)&&(b=!1),r>1&&(p>i||p>n)&&(v=!1),r>5e4&&(b=!1,v=!1);let C=-1;if(b){const e=this._computeIndentLevel(s-1);e>=0?(l=s-1,c=e,C=Math.ceil(e/this._options.indentSize)):(d(s),C=this._getIndentLevelForWhitespaceLine(o,a,c))}let x=-1;if(v){const e=this._computeIndentLevel(p-1);e>=0?(h=p-1,u=e,x=Math.ceil(e/this._options.indentSize)):(g(p),x=this._getIndentLevelForWhitespaceLine(o,u,m))}if(0!==r){if(1===r){if(p<=i&&x>=0&&y+1===x){b=!1,f=p,_=p,w=x;continue}if(s>=1&&C>=0&&C-1===y){v=!1,f=s,_=s,w=C;continue}if(f=e,_=e,w=y,0===w)return{startLineNumber:f,endLineNumber:_,indent:w}}b&&(C>=w?f=s:b=!1),v&&(x>=w?_=p:v=!1)}else y=C}return{startLineNumber:f,endLineNumber:_,indent:w}}getLinesIndentGuides(e,t){this._assertNotDisposed();const n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");const i=De.a.getFoldingRules(this._languageIdentifier.id),r=Boolean(i&&i.offSide);let o=new Array(t-e+1),s=-2,a=-1,l=-2,c=-1;for(let i=e;i<=t;i++){let t=i-e;const d=this._computeIndentLevel(i-1);if(d>=0)s=i-1,a=d,o[t]=Math.ceil(d/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(let e=i-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){s=e,a=t;break}}}if(-1!==l&&(-2===l||l<i-1)){l=-1,c=-1;for(let e=i;e<n;e++){let t=this._computeIndentLevel(e);if(t>=0){l=e,c=t;break}}}o[t]=this._getIndentLevelForWhitespaceLine(r,a,c)}}return o}_getIndentLevelForWhitespaceLine(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n||e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)}}Ve.MODEL_SYNC_LIMIT=52428800,Ve.LARGE_FILE_SIZE_THRESHOLD=20971520,Ve.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,Ve.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:l.d.tabSize,indentSize:l.d.indentSize,insertSpaces:l.d.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:l.d.trimAutoWhitespace,largeFileOptimizations:l.d.largeFileOptimizations};class Ue{constructor(){this._decorationsTree0=new N,this._decorationsTree1=new N}intervalSearch(e,t,n,i,r){const o=this._decorationsTree0.intervalSearch(e,t,n,i,r),s=this._decorationsTree1.intervalSearch(e,t,n,i,r);return o.concat(s)}search(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);{const n=this._decorationsTree0.search(e,t,i),r=this._decorationsTree1.search(e,t,i);return n.concat(r)}}collectNodesFromOwner(e){const t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)}collectNodesPostOrder(){const e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)}insert(e){x(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){x(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}resolveNode(e,t){x(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i)}}function He(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class qe{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class $e extends qe{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:u.d.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;let n=e?t.getColor(e.id):null;return n?n.toString():""}}class Ke extends qe{constructor(e){super(e),this.position=e.position}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?Re.a.fromHex(e):t.getColor(e.id)}}class Ge{constructor(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?He(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new $e(e.overviewRuler):null,this.minimap=e.minimap?new Ke(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?He(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?He(e.linesDecorationsClassName):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?He(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?He(e.marginClassName):null,this.inlineClassName=e.inlineClassName?He(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?He(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?He(e.afterContentClassName):null}static register(e){return new Ge(e)}static createDynamic(e){return new Ge(e)}}Ge.EMPTY=Ge.register({});const Ye=[Ge.register({stickiness:0}),Ge.register({stickiness:1}),Ge.register({stickiness:2}),Ge.register({stickiness:3})];function Ze(e){return e instanceof Ge?e:Ge.createDynamic(e)}class Xe extends o.a{constructor(){super(),this._actual=this._register(new r.a),this.event=this._actual.event,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){if(this._deferredCnt--,0===this._deferredCnt&&this._shouldFire){const e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(e)}}checkAffectedAndFire(e){this._affectsMinimap||(this._affectsMinimap=!(!e.minimap||!e.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!(!e.overviewRuler||!e.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class Qe extends o.a{constructor(){super(),this._fastEmitter=this._register(new r.a),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new r.a),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;const t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))}}},function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return i(t,n)}function o(e){return r}var s,a,l,c,d,h,u,p,m,g,f,b,_,v,w,y,C,x,S,k,E;n.d(t,"g",(function(){return oe})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return O})),n.d(t,"e",(function(){return A})),n.d(t,"c",(function(){return V})),n.d(t,"f",(function(){return H})),n.d(t,"h",(function(){return Mt})),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.number(t.line)&&ie.number(t.character)}}(s||(s={})),function(e){e.create=function(e,t,n,i){if(ie.number(e)&&ie.number(t)&&ie.number(n)&&ie.number(i))return{start:s.create(e,t),end:s.create(n,i)};if(s.is(e)&&s.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return ie.objectLiteral(t)&&s.is(t.start)&&s.is(t.end)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&(ie.string(t.uri)||ie.undefined(t.uri))}}(l||(l={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.targetRange)&&ie.string(t.targetUri)&&(a.is(t.targetSelectionRange)||ie.undefined(t.targetSelectionRange))&&(a.is(t.originSelectionRange)||ie.undefined(t.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ie.number(t.red)&&ie.number(t.green)&&ie.number(t.blue)&&ie.number(t.alpha)}}(d||(d={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return a.is(t.range)&&d.is(t.color)}}(h||(h={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ie.string(t.label)&&(ie.undefined(t.textEdit)||y.is(t))&&(ie.undefined(t.additionalTextEdits)||ie.typedArray(t.additionalTextEdits,y.is))}}(u||(u={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(p||(p={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return ie.defined(n)&&(o.startCharacter=n),ie.defined(i)&&(o.endCharacter=i),ie.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return ie.number(t.startLine)&&ie.number(t.startLine)&&(ie.undefined(t.startCharacter)||ie.number(t.startCharacter))&&(ie.undefined(t.endCharacter)||ie.number(t.endCharacter))&&(ie.undefined(t.kind)||ie.string(t.kind))}}(m||(m={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ie.defined(t)&&l.is(t.location)&&ie.string(t.message)}}(g||(g={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(f||(f={})),function(e){e.Unnecessary=1,e.Deprecated=2}(b||(b={})),function(e){e.is=function(e){var t=e;return null!=t&&(ie.number(t.value)||ie.string(t.value))&&ie.string(t.target)}}(_||(_={})),function(e){e.create=function(e,t,n,i,r,o){var s={range:e,message:t};return ie.defined(n)&&(s.severity=n),ie.defined(i)&&(s.code=i),ie.defined(r)&&(s.source=r),ie.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&ie.string(t.message)&&(ie.number(t.severity)||ie.undefined(t.severity))&&(ie.number(t.code)||ie.string(t.code)||ie.undefined(t.code))&&(ie.string(t.source)||ie.undefined(t.source))&&(ie.undefined(t.relatedInformation)||ie.typedArray(t.relatedInformation,g.is))}}(v||(v={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return ie.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.title)&&ie.string(t.command)}}(w||(w={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.string(t.newText)&&a.is(t.range)}}(y||(y={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ie.defined(t)&&L.is(t.textDocument)&&Array.isArray(t.edits)}}(C||(C={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(x||(x={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ie.string(t.oldUri)&&ie.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(S||(S={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ie.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ie.boolean(t.options.ignoreIfNotExists)))}}(k||(k={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ie.string(e.kind)?x.is(e)||S.is(e)||k.is(e):C.is(e)})))}}(E||(E={}));var T,L,N,I,D,O,A,R,M,P,F,W,z,B,j,V,U,H,q,$,K,G,Y,Z,X,Q,J,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(y.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(y.replace(e,t))},e.prototype.delete=function(e){this.edits.push(y.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(C.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new te(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(L.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new te(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new te(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(x.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(S.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(k.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)}}(T||(T={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&(null===t.version||ie.number(t.version))}}(L||(L={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&ie.string(t.languageId)&&ie.number(t.version)&&ie.string(t.text)}}(N||(N={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(I||(I={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(I||(I={})),function(e){e.is=function(e){var t=e;return ie.objectLiteral(e)&&I.is(t.kind)&&ie.string(t.value)}}(D||(D={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(O||(O={})),function(e){e.PlainText=1,e.Snippet=2}(A||(A={})),function(e){e.Deprecated=1}(R||(R={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ie.string(t.newText)&&a.is(t.insert)&&a.is(t.replace)}}(M||(M={})),function(e){e.create=function(e){return{label:e}}}(P||(P={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(F||(F={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ie.string(t)||ie.objectLiteral(t)&&ie.string(t.language)&&ie.string(t.value)}}(W||(W={})),function(e){e.is=function(e){var t=e;return!!t&&ie.objectLiteral(t)&&(D.is(t.contents)||W.is(t.contents)||ie.typedArray(t.contents,W.is))&&(void 0===e.range||a.is(e.range))}}(z||(z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(B||(B={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return ie.defined(t)&&(r.documentation=t),ie.defined(n)?r.parameters=n:r.parameters=[],r}}(j||(j={})),function(e){e.Text=1,e.Read=2,e.Write=3}(V||(V={})),function(e){e.create=function(e,t){var n={range:e};return ie.number(t)&&(n.kind=t),n}}(U||(U={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(H||(H={})),function(e){e.Deprecated=1}(q||(q={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}($||($={})),function(e){e.create=function(e,t,n,i,r,o){var s={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&ie.string(t.name)&&ie.number(t.kind)&&a.is(t.range)&&a.is(t.selectionRange)&&(void 0===t.detail||ie.string(t.detail))&&(void 0===t.deprecated||ie.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(K||(K={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(G||(G={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ie.defined(t)&&ie.typedArray(t.diagnostics,v.is)&&(void 0===t.only||ie.typedArray(t.only,ie.string))}}(Y||(Y={})),function(e){e.create=function(e,t,n){var i={title:e};return w.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ie.string(t.title)&&(void 0===t.diagnostics||ie.typedArray(t.diagnostics,v.is))&&(void 0===t.kind||ie.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||w.is(t.command))&&(void 0===t.isPreferred||ie.boolean(t.isPreferred))&&(void 0===t.edit||E.is(t.edit))}}(Z||(Z={})),function(e){e.create=function(e,t){var n={range:e};return ie.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&(ie.undefined(t.command)||w.is(t.command))}}(X||(X={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.number(t.tabSize)&&ie.boolean(t.insertSpaces)}}(Q||(Q={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ie.defined(t)&&a.is(t.range)&&(ie.undefined(t.target)||ie.string(t.target))}}(J||(J={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&a.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,i){return new re(e,t,n,i)},e.is=function(e){var t=e;return!!(ie.defined(t)&&ie.string(t.uri)&&(ie.undefined(t.languageId)||ie.string(t.languageId))&&ie.number(t.lineCount)&&ie.func(t.getText)&&ie.func(t.positionAt)&&ie.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(ne||(ne={}));var ie,re=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return s.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return s.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ie||(ie={}));var oe,se,ae,le,ce,de=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var s=ue(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=he(o.text,!1,a);if(d-c===u.length)for(var p=0,m=u.length;p<m;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var g=o.text.length-(l-a);if(0!==g)for(p=c+1+u.length,m=h.length;p<m;p++)h[p]=h[p]+g}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=he(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function he(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function ue(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function pe(e){var t=ue(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new de(e,t,n,i)},e.update=function(e,t,n){if(e instanceof de)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,r=[],o=0,s=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(pe),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&r.push(n.substring(i,l)),a.newText.length&&r.push(a.newText),i=e.offsetAt(a.range.end)}return r.push(n.substr(i)),r.join("")}}(oe||(oe={})),function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"}(se||(se={})),function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"}(ae||(ae={})),(le||(le={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[I.Markdown,I.PlainText]}},hover:{contentFormat:[I.Markdown,I.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(ce||(ce={}));var me=o(),ge=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index,t[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){for(;this.position+e.length<=this.source.length;){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){return this.advanceWhileChar((function(e){return e===Te||e===Le||e===Se||e===Ee||e===ke}))>0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),fe="!".charCodeAt(0),be="-".charCodeAt(0),_e="<".charCodeAt(0),ve=">".charCodeAt(0),we="/".charCodeAt(0),ye="=".charCodeAt(0),Ce='"'.charCodeAt(0),xe="'".charCodeAt(0),Se="\n".charCodeAt(0),ke="\r".charCodeAt(0),Ee="\f".charCodeAt(0),Te=" ".charCodeAt(0),Le="\t".charCodeAt(0),Ne={"text/x-handlebars-template":!0};function Ie(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=ae.WithinContent),void 0===i&&(i=!1);var r,o,s,a,l,c=new ge(e,t),d=n,h=0,u=se.Unknown;function p(){return c.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function m(e,t,n){return u=t,h=e,r=n,t}return{scan:function(){var e=c.pos(),t=d,n=function e(){var t,n=c.pos();if(c.eos())return m(n,se.EOS);switch(d){case ae.WithinComment:return c.advanceIfChars([be,be,ve])?(d=ae.WithinContent,m(n,se.EndCommentTag)):(c.advanceUntilChars([be,be,ve]),m(n,se.Comment));case ae.WithinDoctype:return c.advanceIfChar(ve)?(d=ae.WithinContent,m(n,se.EndDoctypeTag)):(c.advanceUntilChar(ve),m(n,se.Doctype));case ae.WithinContent:if(c.advanceIfChar(_e)){if(!c.eos()&&c.peekChar()===fe){if(c.advanceIfChars([fe,be,be]))return d=ae.WithinComment,m(n,se.StartCommentTag);if(c.advanceIfRegExp(/^!doctype/i))return d=ae.WithinDoctype,m(n,se.StartDoctypeTag)}return c.advanceIfChar(we)?(d=ae.AfterOpeningEndTag,m(n,se.EndTagOpen)):(d=ae.AfterOpeningStartTag,m(n,se.StartTagOpen))}return c.advanceUntilChar(_e),m(n,se.Content);case ae.AfterOpeningEndTag:return p().length>0?(d=ae.WithinEndTag,m(n,se.EndTag)):c.skipWhitespace()?m(n,se.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(d=ae.WithinEndTag,c.advanceUntilChar(ve),n<c.pos()?m(n,se.Unknown,me("error.endTagNameExpected","End tag name expected.")):e());case ae.WithinEndTag:if(c.skipWhitespace())return m(n,se.Whitespace);if(c.advanceIfChar(ve))return d=ae.WithinContent,m(n,se.EndTagClose);if(i&&c.peekChar()===_e)return d=ae.WithinContent,m(n,se.EndTagClose,me("error.closingBracketMissing","Closing bracket missing."));t=me("error.closingBracketExpected","Closing bracket expected.");break;case ae.AfterOpeningStartTag:return s=p(),l=void 0,a=void 0,s.length>0?(o=!1,d=ae.WithinTag,m(n,se.StartTag)):c.skipWhitespace()?m(n,se.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(d=ae.WithinTag,c.advanceUntilChar(ve),n<c.pos()?m(n,se.Unknown,me("error.startTagNameExpected","Start tag name expected.")):e());case ae.WithinTag:return c.skipWhitespace()?(o=!0,m(n,se.Whitespace)):o&&(a=c.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(d=ae.AfterAttributeName,o=!1,m(n,se.AttributeName)):c.advanceIfChars([we,ve])?(d=ae.WithinContent,m(n,se.StartTagSelfClose)):c.advanceIfChar(ve)?(d="script"===s?l&&Ne[l]?ae.WithinContent:ae.WithinScriptContent:"style"===s?ae.WithinStyleContent:ae.WithinContent,m(n,se.StartTagClose)):i&&c.peekChar()===_e?(d=ae.WithinContent,m(n,se.StartTagClose,me("error.closingBracketMissing","Closing bracket missing."))):(c.advance(1),m(n,se.Unknown,me("error.unexpectedCharacterInTag","Unexpected character in tag.")));case ae.AfterAttributeName:return c.skipWhitespace()?(o=!0,m(n,se.Whitespace)):c.advanceIfChar(ye)?(d=ae.BeforeAttributeValue,m(n,se.DelimiterAssign)):(d=ae.WithinTag,e());case ae.BeforeAttributeValue:if(c.skipWhitespace())return m(n,se.Whitespace);var r=c.advanceIfRegExp(/^[^\s"'`=<>]+/);if(r.length>0)return c.peekChar()===ve&&c.peekChar(-1)===we&&(c.goBack(1),r=r.substr(0,r.length-1)),"type"===a&&(l=r),d=ae.WithinTag,o=!1,m(n,se.AttributeValue);var h=c.peekChar();return h===xe||h===Ce?(c.advance(1),c.advanceUntilChar(h)&&c.advance(1),"type"===a&&(l=c.getSource().substring(n+1,c.pos()-1)),d=ae.WithinTag,o=!1,m(n,se.AttributeValue)):(d=ae.WithinTag,o=!1,e());case ae.WithinScriptContent:for(var u=1;!c.eos();){var g=c.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===g.length)return c.goToEnd(),m(n,se.Script);if("\x3c!--"===g)1===u&&(u=2);else if("--\x3e"===g)u=1;else if("/"!==g[1])2===u&&(u=3);else{if(3!==u){c.goBack(g.length);break}u=2}}return d=ae.WithinContent,n<c.pos()?m(n,se.Script):e();case ae.WithinStyleContent:return c.advanceUntilRegExp(/<\/style/i),d=ae.WithinContent,n<c.pos()?m(n,se.Styles):e()}return c.advance(1),d=ae.WithinContent,m(n,se.Unknown,t)}();return n===se.EOS||e!==c.pos()||i&&(n===se.StartTagClose||n===se.EndTagClose)?n:(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+d),c.advance(1),m(e,se.Unknown))},getTokenType:function(){return u},getTokenOffset:function(){return h},getTokenLength:function(){return c.pos()-h},getTokenEnd:function(){return c.pos()},getTokenText:function(){return c.getSource().substring(h,c.pos())},getScannerState:function(){return d},getTokenError:function(){return r}}}function De(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}var Oe=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Ae(e){return!!e&&function(e,t,n){for(var i=0,r=e.length-1;i<=r;){var o=(i+r)/2|0,s=n(e[o],t);if(s<0)i=o+1;else{if(!(s>0))return o;r=o-1}}return-(i+1)}(Oe,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}var Re=function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}return Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),e.prototype.isSameTag=function(e){return void 0===this.tag?void 0===e:void 0!==e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=De(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=De(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this},e}();function Me(e){for(var t=Ie(e,void 0,void 0,!0),n=new Re(0,e.length,[],void 0),i=n,r=-1,o=void 0,s=null,a=t.scan();a!==se.EOS;){switch(a){case se.StartTagOpen:var l=new Re(t.getTokenOffset(),e.length,[],i);i.children.push(l),i=l;break;case se.StartTag:i.tag=t.getTokenText();break;case se.StartTagClose:i.parent&&(i.end=t.getTokenEnd(),t.getTokenLength()?(i.startTagEnd=t.getTokenEnd(),i.tag&&Ae(i.tag)&&(i.closed=!0,i=i.parent)):i=i.parent);break;case se.StartTagSelfClose:i.parent&&(i.closed=!0,i.end=t.getTokenEnd(),i.startTagEnd=t.getTokenEnd(),i=i.parent);break;case se.EndTagOpen:r=t.getTokenOffset(),o=void 0;break;case se.EndTag:o=t.getTokenText().toLowerCase();break;case se.EndTagClose:for(var c=i;!c.isSameTag(o)&&c.parent;)c=c.parent;if(c.parent){for(;i!==c;)i.end=r,i.closed=!1,i=i.parent;i.closed=!0,i.endTagStart=r,i.end=t.getTokenEnd(),i=i.parent}break;case se.AttributeName:s=t.getTokenText(),(d=i.attributes)||(i.attributes=d={}),d[s]=null;break;case se.AttributeValue:var d,h=t.getTokenText();(d=i.attributes)&&s&&(d[s]=h,s=null)}a=t.scan()}for(;i.parent;)i.end=e.length,i.closed=!1,i=i.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}var Pe={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function Fe(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function We(e,t){for(var n="";t>0;)1==(1&t)&&(n+=e),e+=e,t>>>=1;return n}var ze="a".charCodeAt(0),Be="z".charCodeAt(0),je="A".charCodeAt(0),Ve="Z".charCodeAt(0),Ue="0".charCodeAt(0),He="9".charCodeAt(0);function qe(e,t){var n=e.charCodeAt(t);return ze<=n&&n<=Be||je<=n&&n<=Ve||Ue<=n&&n<=He}function $e(e){return void 0!==e}var Ke=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name.toLowerCase()]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t},e.prototype.provideValues=function(e,t){var n=this,i=[];t=t.toLowerCase();var r=function(e){e.forEach((function(e){e.name.toLowerCase()===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))},o=this._tagMap[e.toLowerCase()];return o?(r(o.attributes),r(this._globalAttributes),i):[]},e}();function Ge(e,t){var n={kind:t?"markdown":"plaintext",value:""};if(e.description){var i=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);i&&(n.value+=i.value)}if(e.references&&e.references.length>0&&(n.value+="\n\n",n.value+=t?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),""!==n.value)return n}var Ye=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Ze=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Xe=function(){function e(e){this.readDirectory=e,this.atributeCompletions=[]}return e.prototype.onHtmlAttributeValue=function(e){(function(e,t){var n=tt[e];if(n)return"string"==typeof n?n===t:-1!==n.indexOf(t);return!1})(e.tag,e.attribute)&&this.atributeCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return Ye(this,void 0,void 0,(function(){var n,i,r,o,s,l,c,d,h,u;return Ze(this,(function(p){switch(p.label){case 0:n={items:[],isIncomplete:!1},i=0,r=this.atributeCompletions,p.label=1;case 1:return i<r.length?(o=r[i],function(e){if(Fe(e,"http")||Fe(e,"https")||Fe(e,"//"))return!1;return!0}(s=function(e){return Fe(e,"'")||Fe(e,'"')?e.slice(1,-1):e}(e.getText(o.range)))?"."!==s&&".."!==s?[3,2]:(n.isIncomplete=!0,[3,4]):[3,4]):[3,5];case 2:return l=function(e,t,n){var i,r=e.lastIndexOf("/");if(-1===r)i=function(e,t,n){var i=et(e.start,t),r=et(e.end,n);return a.create(i,r)}(n,1,-1);else{var o=t.slice(r+1),s=et(n.end,-1-o.length),l=o.indexOf(" "),c=void 0;c=-1!==l?et(s,l):et(n.end,-1),i=a.create(s,c)}return i}(o.value,s,o.range),[4,this.providePathSuggestions(o.value,l,e,t)];case 3:for(c=p.sent(),d=0,h=c;d<h.length;d++)u=h[d],n.items.push(u);p.label=4;case 4:return i++,[3,1];case 5:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,i){return Ye(this,void 0,void 0,(function(){var r,o,s,a,l,c,d,h,u;return Ze(this,(function(p){switch(p.label){case 0:if(r=e.substring(0,e.lastIndexOf("/")+1),!(o=i.resolveReference(r||".",n.uri)))return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),s=[],[4,this.readDirectory(o)];case 2:for(a=p.sent(),l=0,c=a;l<c.length;l++)d=c[l],h=d[0],u=d[1],h.charCodeAt(0)!==Qe&&s.push(Je(h,u===ce.Directory,t));return[2,s];case 3:return p.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Qe=".".charCodeAt(0);function Je(e,t,n){return t?{label:e+="/",kind:O.Folder,textEdit:y.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:e,kind:O.File,textEdit:y.replace(n,e)}}function et(e,t){return s.create(e.line,e.character+t)}var tt={a:"href",area:"href",body:"background",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},nt=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},it=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},rt=o(),ot=function(){function e(e,t){this.lsOptions=e,this.dataManager=t,this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,i,r){return nt(this,void 0,void 0,(function(){var o,s,a,l;return it(this,(function(c){switch(c.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n,r)];o=new Xe(this.lsOptions.fileSystemProvider.readDirectory),s=this.completionParticipants,this.completionParticipants=[o].concat(s),a=this.doComplete(e,t,n,r),c.label=1;case 1:return c.trys.push([1,,3,4]),[4,o.computeCompletions(e,i)];case 2:return l=c.sent(),[2,{isIncomplete:a.isIncomplete||l.isIncomplete,items:l.items.concat(a.items)}];case 3:return this.completionParticipants=s,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n,i){var r=this._doComplete(e,t,n,i);return this.convertCompletionList(r)},e.prototype._doComplete=function(e,t,n,i){var r={isIncomplete:!1,items:[]},o=this.completionParticipants,l=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)&&(!i||!1!==i[t.getId()])})),c=this.doesSupportMarkdown(),d=e.getText(),h=e.offsetAt(t),u=n.findNodeBefore(h);if(!u)return r;var p,m=Ie(d,u.start),g="";function f(t,n){return void 0===n&&(n=h),t>h&&(t=h),{start:e.positionAt(t),end:e.positionAt(n)}}function b(e,t){var n=f(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:e.name,kind:O.Property,documentation:Ge(e,c),textEdit:y.replace(n,e.name),insertTextFormat:A.PlainText})}))})),r}function _(e){for(var t=e;t>0;){var n=d.charAt(t-1);if("\n\r".indexOf(n)>=0)return d.substring(t,e);if(!st(n))return null;t--}return d.substring(0,e)}function v(e,t,n){void 0===n&&(n=h);var i=f(e,n),o=at(d,n,ae.WithinEndTag,se.EndTagClose)?"":">",s=u;for(t&&(s=s.parent);s;){var a=s.tag;if(a&&(!s.closed||s.endTagStart&&s.endTagStart>h)){var p={label:"/"+a,kind:O.Property,filterText:"/"+a,textEdit:y.replace(i,"/"+a+o),insertTextFormat:A.PlainText},m=_(s.start),g=_(e-1);if(null!==m&&null!==g&&m!==g){var b=m+"</"+a+o;p.textEdit=y.replace(f(e-1-g.length),b),p.filterText=g+"</"+a}return r.items.push(p),r}s=s.parent}return t||l.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:"/"+e.name,kind:O.Property,documentation:Ge(e,c),filterText:"/"+e+o,textEdit:y.replace(i,"/"+e+o),insertTextFormat:A.PlainText})}))})),r}function w(t,n){if(i&&i.hideAutoCompleteProposals)return r;if(!Ae(n)){var o=e.positionAt(t);r.items.push({label:"</"+n+">",kind:O.Property,filterText:"</"+n+">",textEdit:y.insert(o,"$0</"+n+">"),insertTextFormat:A.Snippet})}return r}function C(e,t){return b(e,t),v(e,!0,t),r}function x(e,t){void 0===t&&(t=h);for(var i=h;i<t&&"<"!==d[i];)i++;var o=f(e,i),s=at(d,t,ae.AfterAttributeName,se.DelimiterAssign)?"":'="$1"',a=Object.create(null);return l.forEach((function(e){e.provideAttributes(g).forEach((function(e){if(!a[e.name]){a[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&s.length&&(n+=s,(e.valueSet||"style"===e.name)&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),r.items.push({label:e.name,kind:"handler"===e.valueSet?O.Function:O.Value,documentation:Ge(e,c),textEdit:y.replace(o,n),insertTextFormat:A.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!Fe(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return r.items.push({label:t,kind:O.Value,textEdit:y.replace(e,i[t]),insertTextFormat:A.Snippet})}))}(o,a),r}function S(n,i){var s,a,u,m;if(void 0===i&&(i=h),h>n&&h<=i&&(m=d[n],/^["']*$/.test(m))){var b=n+1,_=i;i>n&&d[i-1]===d[n]&&_--;var v=function(e,t,n){for(;t>n&&!st(e[t-1]);)t--;return t}(d,h,b),w=function(e,t,n){for(;t<n&&!st(e[t]);)t++;return t}(d,h,_);s=f(v,w),u=h>=b&&h<=_?d.substring(b,h):"",a=!1}else s=f(n,i),u=d.substring(n,h),a=!0;if(o.length>0)for(var C=g.toLowerCase(),x=p.toLowerCase(),S=f(n,i),k=0,E=o;k<E.length;k++){var L=E[k];L.onHtmlAttributeValue&&L.onHtmlAttributeValue({document:e,position:t,tag:C,attribute:x,value:u,range:S})}return l.forEach((function(e){e.provideValues(g,p).forEach((function(e){var t=a?'"'+e.name+'"':e.name;r.items.push({label:e.name,filterText:t,kind:O.Unit,documentation:Ge(e,c),textEdit:y.replace(s,t),insertTextFormat:A.PlainText})}))})),T(),r}function k(e){return h===m.getTokenEnd()&&(N=m.scan())===e&&m.getTokenOffset()===h?m.getTokenEnd():h}function E(){for(var n=0,i=o;n<i.length;n++){var r=i[n];r.onHtmlContent&&r.onHtmlContent({document:e,position:t})}return T()}function T(){for(var e,n,i,o=h-1,l=t.character;o>=0&&qe(d,o);)o--,l--;if(o>=0&&"&"===d[o]){var c=a.create(s.create(t.line,l-1),t);for(var u in Pe)if(n=";",i=void 0,(i=(e=u).length-n.length)>0?e.lastIndexOf(n)===i:0===i&&e===n){var p="&"+u;r.items.push({label:p,kind:O.Keyword,documentation:rt("entity.propose","Character entity representing '"+Pe[u]+"'"),textEdit:y.replace(c,p),insertTextFormat:A.PlainText})}}return r}for(var L,N=m.scan();N!==se.EOS&&m.getTokenOffset()<=h;){switch(N){case se.StartTagOpen:if(m.getTokenEnd()===h){var I=k(se.StartTag);return 0===t.line&&(L=void 0,L=f(h,I),r.items.push({label:"!DOCTYPE",kind:O.Property,documentation:"A preamble for an HTML document.",textEdit:y.replace(L,"!DOCTYPE html>"),insertTextFormat:A.PlainText})),C(h,I)}break;case se.StartTag:if(m.getTokenOffset()<=h&&h<=m.getTokenEnd())return b(m.getTokenOffset(),m.getTokenEnd());g=m.getTokenText();break;case se.AttributeName:if(m.getTokenOffset()<=h&&h<=m.getTokenEnd())return x(m.getTokenOffset(),m.getTokenEnd());p=m.getTokenText();break;case se.DelimiterAssign:if(m.getTokenEnd()===h){I=k(se.AttributeValue);return S(h,I)}break;case se.AttributeValue:if(m.getTokenOffset()<=h&&h<=m.getTokenEnd())return S(m.getTokenOffset(),m.getTokenEnd());break;case se.Whitespace:if(h<=m.getTokenEnd())switch(m.getScannerState()){case ae.AfterOpeningStartTag:return C(m.getTokenOffset(),k(se.StartTag));case ae.WithinTag:case ae.AfterAttributeName:return x(m.getTokenEnd());case ae.BeforeAttributeValue:return S(m.getTokenEnd());case ae.AfterOpeningEndTag:return v(m.getTokenOffset()-1,!1);case ae.WithinContent:return E()}break;case se.EndTagOpen:if(h<=m.getTokenEnd())return v(m.getTokenOffset()+1,!1,k(se.EndTag));break;case se.EndTag:if(h<=m.getTokenEnd())for(var D=m.getTokenOffset()-1;D>=0;){var R=d.charAt(D);if("/"===R)return v(D,!1,m.getTokenEnd());if(!st(R))break;D--}break;case se.StartTagClose:if(h<=m.getTokenEnd()&&g)return w(m.getTokenEnd(),g);break;case se.Content:if(h<=m.getTokenEnd())return E();break;default:if(h<=m.getTokenEnd())return r}N=m.scan()}return r},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var r=e.getText().charAt(i-1);if(">"===r){if((s=n.findNodeBefore(i))&&s.tag&&!Ae(s.tag)&&s.start<i&&(!s.endTagStart||s.endTagStart>i))for(var o=(a=Ie(e.getText(),s.start)).scan();o!==se.EOS&&a.getTokenEnd()<=i;){if(o===se.StartTagClose&&a.getTokenEnd()===i)return"$0</"+s.tag+">";o=a.scan()}}else if("/"===r){for(var s=n.findNodeBefore(i);s&&s.closed;)s=s.parent;if(s&&s.tag){var a;for(o=(a=Ie(e.getText(),s.start)).scan();o!==se.EOS&&a.getTokenEnd()<=i;){if(o===se.EndTagOpen&&a.getTokenEnd()===i)return s.tag+">";o=a.scan()}}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!$e(this.supportsMarkdown)){if(!$e(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(I.Markdown)}return this.supportsMarkdown},e}();function st(e){return/^\s*$/.test(e)}function at(e,t,n,i){for(var r=Ie(e,t,n),o=r.scan();o===se.Whitespace;)o=r.scan();return o===i}var lt=function(){function e(e,t){this.lsOptions=e,this.dataManager=t}return e.prototype.doHover=function(e,t,n){var i=this.convertContents.bind(this),r=this.doesSupportMarkdown(),o=e.offsetAt(t),s=n.findNodeAt(o);if(!s||!s.tag)return null;var a=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)}));function l(e,t,n){for(var o=function(n){var o=null;if(n.provideTags().forEach((function(n){if(n.name.toLowerCase()===e.toLowerCase()){var i=Ge(n,r);i||(i={kind:r?"markdown":"plaintext",value:""}),o={contents:i,range:t}}})),o)return o.contents=i(o.contents),{value:o}},s=0,l=a;s<l.length;s++){var c=o(l[s]);if("object"==typeof c)return c.value}return null}function c(t,n){for(var i=Ie(e.getText(),n),r=i.scan();r!==se.EOS&&(i.getTokenEnd()<o||i.getTokenEnd()===o&&r!==t);)r=i.scan();return r===t&&o<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(s.endTagStart&&o>=s.endTagStart){var d=c(se.EndTag,s.endTagStart);return d?l(s.tag,d):null}var h=c(se.StartTag,s.start);if(h)return l(s.tag,h);var u=c(se.AttributeName,s.start);if(u)return function(e,t,n){for(var o=function(o){var s=null;if(o.provideAttributes(e).forEach((function(e){if(t===e.name&&e.description){var i=Ge(e,r);s=i?{contents:i,range:n}:null}})),s)return s.contents=i(s.contents),{value:s}},s=0,l=a;s<l.length;s++){var c=o(l[s]);if("object"==typeof c)return c.value}return null}(m=s.tag,e.getText(u),u);var p=c(se.AttributeValue,s.start);if(p){var m=s.tag,g=function(e){if(e.length<=1)return e.replace(/['"]/,"");"'"!==e[0]&&'"'!==e[0]||(e=e.slice(1));"'"!==e[e.length-1]&&'"'!==e[e.length-1]||(e=e.slice(0,-1));return e}(e.getText(p)),f=function(t,n){for(var i=Ie(e.getText(),t),r=i.scan(),o=void 0;r!==se.EOS&&i.getTokenEnd()<=n;)(r=i.scan())===se.AttributeName&&(o=i.getTokenText());return o}(s.start,e.offsetAt(p.start));if(f)return function(e,t,n,o){for(var s=function(s){var a=null;if(s.provideValues(e,t).forEach((function(e){if(n===e.name&&e.description){var t=Ge(e,r);a=t?{contents:t,range:o}:null}})),a)return a.contents=i(a.contents),{value:a}},l=0,c=a;l<c.length;l++){var d=s(c[l]);if("object"==typeof d)return d.value}return null}(m,f,g,p)}return null},e.prototype.convertContents=function(e){if(!this.doesSupportMarkdown()){if("string"==typeof e)return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(!Array.isArray(e))return e.value;e.map((function(e){return"string"==typeof e?e:e.value}))}return e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!$e(this.supportsMarkdown)){if(!$e(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities)||void 0===e?void 0:e.textDocument)||void 0===t?void 0:t.hover)||void 0===n?void 0:n.contentFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(I.Markdown)}return this.supportsMarkdown},e}();function ct(e,t){return e}var dt=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},,,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,r=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(17).Options,r=n(2).Output,o=n(8).InputScanner,s=new(0,n(13).Directives)(/\/\*/,/\*\//),a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,d=/(?:\s|\n)+/g,h=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=!0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&a.test(e||"")&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new o(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,g=!1,f=!1,b=!1,_=!1,v=!1,w=this._ch;i=""!==this._input.read(d),p=w,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(h),C=s.get_directives(y);C&&"start"===C.ignore&&(y+=s.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var x=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);x.match(/[ :]$/)&&(x=this.eatString(": ").replace(/\s$/,""),this.print_string(x),this._output.space_before_token=!0),"extend"===(x=x.replace(/\s$/,""))?_=!0:"import"===x&&(v=!0),x in this.NESTED_AT_RULE?(this._nestedLevel+=1,x in this.CONDITIONAL_GROUP_RULE&&(b=!0)):g||0!==m||-1===x.indexOf(":")||(f=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(f&&(f=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),b?(b=!1,g=this._indentLevel>this._nestedLevel):g=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&g&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),v=!1,_=!1,f&&(this.outdent(),f=!1),this.print_string(this._ch),g=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!g&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),f||(f=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(f&&(this.outdent(),f=!1),_=!1,v=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||f||0!==m||v?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||f||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}r.prototype=new i,e.exports.Options=r}]),ht=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},function(e,t,n){var i=n(8).InputScanner,r=n(3).Token,o=n(10).TokenStream,s=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new o,this._reset();for(var t=new r(a.START,""),n=null,i=[],s=new o;t.type!==a.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)s.add(e),e=this._get_next_token(t,n);s.isEmpty()||(e.comments_before=s,s=new o),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new r(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=a},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function r(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},r.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],r=e.exec(t);r;)i.push(t.substring(n,r.index)),n=r.index+r[0].length,r=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=r},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function o(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}o.prototype=new i,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},o.prototype.read_options=function(e){var t=this._create();for(var n in r)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},o.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},o.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},o.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},o.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=o},,,,function(e,t,n){var i=n(19).Beautifier,r=n(20).Options;e.exports=function(e,t,n,r){return new i(e,t,n,r).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(20).Options,r=n(2).Output,o=n(21).Tokenizer,s=n(21).TOKEN,a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new r(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==s.TEXT&&e.previous.type!==s.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var d=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==s.EOF&&e.closed!==n;){if(n.type===s.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===s.EQUALS&&n.next.next&&n.next.next.type===s.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function h(e,t){return-1!==t.indexOf(e)}function u(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,r){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var o=new i(t,"html");this._options=o,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&a.test(e)&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},r=new g,d=new c(this._options,n),h=new o(e,this._options).tokenize();this._tag_stack=new p(d);for(var u=null,m=h.next();m.type!==s.EOF;)m.type===s.TAG_OPEN||m.type===s.COMMENT?r=u=this._handle_tag_open(d,m,r,i):m.type===s.ATTRIBUTE||m.type===s.EQUALS||m.type===s.VALUE||m.type===s.TEXT&&!r.tag_complete?u=this._handle_inside_tag(d,m,r,h):m.type===s.TAG_CLOSE?u=this._handle_tag_close(d,m,r):m.type===s.TEXT?u=this._handle_text(d,m,r):d.add_raw_token(m),i=u,m=h.next();return d._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var r=n.has_wrapped_attrs,o={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===s.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===s.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===s.EQUALS||t.type===s.VALUE&&t.previous.type===s.EQUALS)&&e.set_space_before_token(!1),t.type===s.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),r=r||0!==t.newlines),this._is_wrap_attributes_force)){var a=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,d=0;do{if((l=i.peek(d)).type===s.ATTRIBUTE){c=!1;break}d+=1}while(d<4&&l.type!==s.EOF&&l.type!==s.TAG_CLOSE);a=!c}a&&(e.print_newline(!1),r=!0)}e.print_token(t),r=r||e.previous_token_wrapped(),n.has_wrapped_attrs=r}return o},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var r,o=t.text,s=1,a="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?s=0:"separate"===this._options.indent_scripts&&(s=-e.indent_level);var c=e.get_full_indent(s);if(o=o.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===o[0]&&o.match(/^(<!--|<!\[CDATA\[)/)){var d=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(o);if(!d)return void e.add_raw_token(t);a=c+d[1]+"\n",o=d[4],d[5]&&(l=c+d[5]),o=o.replace(/\n[ \t]*$/,""),(d[2]||-1!==d[3].indexOf("\n"))&&(d=d[3].match(/[ \t]+$/))&&(t.whitespace_before=d[0])}if(o)if(r){var h=function(){this.eol="\n"};h.prototype=this._options.raw_options,o=r(c+o,new h)}else{var u=t.whitespace_before;u&&(o=o.replace(new RegExp("\n("+u+")?","g"),"\n")),o=c+o.replace(/\n/g,"\n"+c)}a&&(o=o?a+o+"\n"+l:a+l),e.print_newline(!1),o&&(t.text=o,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var r=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===s.TAG_OPEN&&0===t.text.indexOf("</")?(e.add_raw_token(t),r.start_tag_token=this._tag_stack.try_pop(r.tag_name)):(e.traverse_whitespace(t),this._set_tag_position(e,t,r,n,i),r.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=t.text.length+1),r.tag_complete||r.is_unformatted||(e.alignment_size=r.alignment_size),r};var g=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===t.text&&">"===this.tag_check&&null!==t.next&&(this.tag_check=t.next.text)),this.tag_check=this.tag_check.toLowerCase(),t.type===s.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new g(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||h(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&h(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&h(t.tag_check,this._options.content_unformatted),t.is_inline_element=h(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=d(n.tag_check,t)))),h(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&r.type===s.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||r.type===s.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===r.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===r.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))};var f=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],b=["a","audio","del","ins","map","noscript","video"];m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==f.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==b.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,e.exports.Options=r},function(e,t,n){var i=n(9).Tokenizer,r=n(9).TOKEN,o=n(13).Directives,s=n(14).TemplatablePattern,a=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new o(/<\!--/,/-->/),d=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new s(this._input).read_options(this._options),r=new a(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(o).until_after(o)}};(d.prototype=new i)._is_comment=function(e){return!1},d.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},d.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},d.prototype._reset=function(){this._current_tag_name=""},d.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(i,e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},d.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i));return t},d.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},d.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},d.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},d.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},d.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var o=this._input.next();o+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,o)}else(r=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},d.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},d.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]){var r=t.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var o=this._read_comment_or_cdata(e);if(o)return o.type=l.TEXT,o;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},d.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=d,e.exports.TOKEN=l}]);function ut(e,t,n){var i=e.getText(),r=!0,o=0,l=n.tabSize||4;if(t){for(var c=e.offsetAt(t.start),d=c;d>0&&ft(i,d-1);)d--;0===d||gt(i,d-1)?c=d:d<c&&(c=d+1);for(var h=e.offsetAt(t.end),u=h;u<i.length&&ft(i,u);)u++;(u===i.length||gt(i,u))&&(h=u),t=a.create(e.positionAt(c),e.positionAt(h));var p=i.substring(0,c);if(new RegExp(/.*[<][^>]*$/).test(p))return[{range:t,newText:i=i.substring(c,h)}];if(r=h===i.length,i=i.substring(c,h),0!==c){var m=e.offsetAt(s.create(t.start.line,0));o=function(e,t,n){var i=t,r=0,o=n.tabSize||4;for(;i<e.length;){var s=e.charAt(i);if(" "===s)r++;else{if("\t"!==s)break;r+=o}i++}return Math.floor(r/o)}(e.getText(),m,n)}}else t=a.create(s.create(0,0),e.positionAt(i.length));var g={indent_size:l,indent_char:n.insertSpaces?" ":"\t",indent_empty_lines:pt(n,"indentEmptyLines",!1),wrap_line_length:pt(n,"wrapLineLength",120),unformatted:mt(n,"unformatted",void 0),content_unformatted:mt(n,"contentUnformatted",void 0),indent_inner_html:pt(n,"indentInnerHtml",!1),preserve_newlines:pt(n,"preserveNewLines",!0),max_preserve_newlines:pt(n,"maxPreserveNewLines",32786),indent_handlebars:pt(n,"indentHandlebars",!1),end_with_newline:r&&pt(n,"endWithNewline",!1),extra_liners:mt(n,"extraLiners",void 0),wrap_attributes:pt(n,"wrapAttributes","auto"),wrap_attributes_indent_size:pt(n,"wrapAttributesIndentSize",void 0),eol:"\n"},f=function(e,t){return ht(e,t,ct,dt)}(i.replace(/^\s+/,""),g);if(o>0){var b=n.insertSpaces?We(" ",l*o):We("\t",o);f=f.split("\n").join("\n"+b),0===t.start.character&&(f=b+f)}return[{range:t,newText:f}]}function pt(e,t,n){if(e&&e.hasOwnProperty(t)){var i=e[t];if(null!==i)return i}return n}function mt(e,t,n){var i=pt(e,t,null);return"string"==typeof i?i.length>0?i.split(",").map((function(e){return e.trim().toLowerCase()})):[]:n}function gt(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function ft(e,t){return-1!==" \t".indexOf(e.charAt(t))}var bt=n(176);function _t(e){var t=e[0];return t!==e[e.length-1]||"'"!==t&&'"'!==t||(e=e.substr(1,e.length-2)),e}function vt(e,t,n,i,r,o){var s=_t(n);if(l=s,c=e.languageId,l.length&&("handlebars"!==c||!/{{.*}}/.test(l))&&/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(l)){var l,c;s.length<n.length&&(i++,r--);var d=function(e,t,n,i){if(!/^\s*javascript\:/i.test(t)&&!/[\n\r]/.test(t))return t=t.replace(/^\s*/g,""),/^https?:\/\//i.test(t)||/^file:\/\//i.test(t)?t:/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(Fe(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}(e.uri,s,t,o);if(d&&function(e){try{return bt.a.parse(e),!0}catch(e){return!1}}(d))return{range:a.create(e.positionAt(i),e.positionAt(r)),target:d}}}function wt(e,t){for(var n=[],i=Ie(e.getText(),0),r=i.scan(),o=void 0,s=!1,a=void 0,l={};r!==se.EOS;){switch(r){case se.StartTag:if(!a)s="base"===i.getTokenText().toLowerCase();break;case se.AttributeName:o=i.getTokenText().toLowerCase();break;case se.AttributeValue:if("src"===o||"href"===o){var c=i.getTokenText();if(!s)(u=vt(e,t,c,i.getTokenOffset(),i.getTokenEnd(),a))&&n.push(u);s&&void 0===a&&(a=_t(c))&&t&&(a=t.resolveReference(a,e.uri)),s=!1,o=void 0}else if("id"===o){l[_t(i.getTokenText())]=i.getTokenOffset()}}r=i.scan()}for(var d=0,h=n;d<h.length;d++){var u=h[d],p=e.uri+"#";if(u.target&&Fe(u.target,p)){var m=l[u.target.substr(p.length)];if(void 0!==m){var g=e.positionAt(m);u.target=""+p+(g.line+1)+","+(g.character+1)}}}return n}function yt(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];var o=[],s=St(se.StartTag,e,r.start),a="number"==typeof r.endTagStart&&St(se.EndTag,e,r.endTagStart);return(s&&xt(s,t)||a&&xt(a,t))&&(s&&o.push({kind:V.Read,range:s}),a&&o.push({kind:V.Read,range:a})),o}function Ct(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function xt(e,t){return Ct(e.start,t)&&Ct(t,e.end)}function St(e,t,n){for(var i=Ie(t.getText(),n),r=i.scan();r!==se.EOS&&r!==e;)r=i.scan();return r!==se.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function kt(e,t){var n=[];return t.roots.forEach((function(t){!function e(t,n,i,r){var o=function(e){var t=e.tag;if(e.attributes){var n=e.attributes.id,i=e.attributes.class;n&&(t+="#"+n.replace(/[\"\']/g,"")),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map((function(e){return"."+e})).join(""))}return t||"?"}(n),s=l.create(t.uri,a.create(t.positionAt(n.start),t.positionAt(n.end))),c={name:o,location:s,containerName:i,kind:H.Field};r.push(c),n.children.forEach((function(n){e(t,n,o,r)}))}(e,t,"",n)})),n}function Et(e,t,n,i){var r,o=e.offsetAt(t),s=i.findNodeAt(o);if(!s.tag)return null;if(!function(e,t,n){if(e.endTagStart&&e.endTagStart+"</".length<=t&&t<=e.endTagStart+"</".length+n.length)return!0;return e.start+"<".length<=t&&t<=e.start+"<".length+n.length}(s,o,s.tag))return null;var a=[],l={start:e.positionAt(s.start+"<".length),end:e.positionAt(s.start+"<".length+s.tag.length)};if(a.push({range:l,newText:n}),s.endTagStart){var c={start:e.positionAt(s.endTagStart+"</".length),end:e.positionAt(s.endTagStart+"</".length+s.tag.length)};a.push({range:c,newText:n})}return{changes:((r={})[e.uri.toString()]=a,r)}}function Tt(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return null;if(!r.endTagStart)return null;if(r.start+"<".length<=i&&i<=r.start+"<".length+r.tag.length){var o=i-"<".length-r.start+r.endTagStart+"</".length;return e.positionAt(o)}if(r.endTagStart+"</".length<=i&&i<=r.endTagStart+"</".length+r.tag.length){o=i-"</".length-r.endTagStart+r.start+"<".length;return e.positionAt(o)}return null}function Lt(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i),o=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+"<".length<=i&&i<=r.start+"<".length+o||r.endTagStart+"</".length<=i&&i<=r.endTagStart+"</".length+o)?[a.create(e.positionAt(r.start+"<".length),e.positionAt(r.start+"<".length+o)),a.create(e.positionAt(r.endTagStart+"</".length),e.positionAt(r.endTagStart+"</".length+o))]:null}function Nt(e,t){var n=Ie(e.getText()),i=n.scan(),r=[],o=[],s=null,a=-1;function l(e){r.push(e),a=e.startLine}for(;i!==se.EOS;){switch(i){case se.StartTag:var c=n.getTokenText(),d=e.positionAt(n.getTokenOffset()).line;o.push({startLine:d,tagName:c}),s=c;break;case se.EndTag:s=n.getTokenText();break;case se.StartTagClose:if(!s||!Ae(s))break;case se.EndTagClose:case se.StartTagSelfClose:for(var h=o.length-1;h>=0&&o[h].tagName!==s;)h--;if(h>=0){var u=o[h];o.length=h,(g=e.positionAt(n.getTokenOffset()).line-1)>(d=u.startLine)&&a!==d&&l({startLine:d,endLine:g})}break;case se.Comment:d=e.positionAt(n.getTokenOffset()).line;var m=n.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(m)if(m[1])o.push({startLine:d,tagName:""});else{for(h=o.length-1;h>=0&&o[h].tagName.length;)h--;if(h>=0){var g;u=o[h];o.length=h,(g=d)>(d=u.startLine)&&a!==d&&l({startLine:d,endLine:g,kind:p.Region})}}else d<(g=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line)&&l({startLine:d,endLine:g,kind:p.Comment})}i=n.scan()}var f=t&&t.rangeLimit||Number.MAX_VALUE;return r.length>f?function(e,t){e=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n}));for(var n=void 0,i=[],r=[],o=[],s=function(e,t){r[e]=t,t<30&&(o[t]=(o[t]||0)+1)},a=0;a<e.length;a++){var l=e[a];if(n){if(l.startLine>n.startLine)if(l.endLine<=n.endLine)i.push(n),n=l,s(a,i.length);else if(l.startLine>n.endLine){do{n=i.pop()}while(n&&l.startLine>n.endLine);n&&i.push(n),n=l,s(a,i.length)}}else n=l,s(a,0)}var c=0,d=0;for(a=0;a<o.length;a++){var h=o[a];if(h){if(h+c>t){d=a;break}c+=h}}var u=[];for(a=0;a<e.length;a++){var p=r[a];"number"==typeof p&&(p<d||p===d&&c++<t)&&u.push(e[a])}return u}(r,f):r}function It(e,t){return t.map((function(t){for(var n=function(e,t){var n=Me(e.getText()),i=e.offsetAt(t),r=n.findNodeAt(i),o=function(e){var t=e,n=[];for(;t.parent;)t=t.parent,(i=t,i.startTagEnd&&i.endTagStart&&i.startTagEnd<i.endTagStart?[[i.startTagEnd,i.endTagStart],[i.start,i.end]]:[[i.start,i.end]]).forEach((function(e){return n.push(e)}));var i;return n}(r);if(r.startTagEnd&&!r.endTagStart){if(r.startTagEnd!==r.end)return[[r.start,r.end]];var s=a.create(e.positionAt(r.startTagEnd-2),e.positionAt(r.startTagEnd));"/>"===e.getText(s)?o.unshift([r.start+1,r.startTagEnd-2]):o.unshift([r.start+1,r.startTagEnd-1]);var l=Dt(e,r,i);return o=l.concat(o)}if(!r.startTagEnd||!r.endTagStart)return o;if(o.unshift([r.start,r.end]),r.start<i&&i<r.startTagEnd){o.unshift([r.start+1,r.startTagEnd-1]);l=Dt(e,r,i);return o=l.concat(o)}return r.startTagEnd<=i&&i<=r.endTagStart?(o.unshift([r.startTagEnd,r.endTagStart]),o):(i>=r.endTagStart+2&&o.unshift([r.endTagStart+2,r.end-1]),o)}(e,t),i=void 0,r=void 0,o=n.length-1;o>=0;o--){var s=n[o];i&&s[0]===i[0]&&s[1]===i[1]||(r=ee.create(a.create(e.positionAt(n[o][0]),e.positionAt(n[o][1])),r)),i=s}return r||(r=ee.create(a.create(t,t))),r}))}function Dt(e,t,n){for(var i=a.create(e.positionAt(t.start),e.positionAt(t.end)),r=e.getText(i),o=n-t.start,s=Ie(r),l=s.scan(),c=t.start,d=[],h=!1,u=-1;l!==se.EOS;){switch(l){case se.AttributeName:if(o<s.getTokenOffset()){h=!1;break}o<=s.getTokenEnd()&&d.unshift([s.getTokenOffset(),s.getTokenEnd()]),h=!0,u=s.getTokenOffset();break;case se.AttributeValue:if(!h)break;var p=s.getTokenText();if(o<s.getTokenOffset()){d.push([u,s.getTokenEnd()]);break}o>=s.getTokenOffset()&&o<=s.getTokenEnd()&&(d.unshift([s.getTokenOffset(),s.getTokenEnd()]),('"'===p[0]&&'"'===p[p.length-1]||"'"===p[0]&&"'"===p[p.length-1])&&o>=s.getTokenOffset()+1&&o<=s.getTokenEnd()-1&&d.unshift([s.getTokenOffset()+1,s.getTokenEnd()-1]),d.push([u,s.getTokenEnd()]))}l=s.scan()}return d.map((function(e){return[e[0]+c,e[1]+c]}))}var Ot={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]},At=function(){function e(e){this.dataProviders=[],this.setDataProviders(!1!==e.useDefaultDataProvider,e.customDataProviders||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new Ke("html5",Ot)),(n=this.dataProviders).push.apply(n,t)},e.prototype.getDataProviders=function(){return this.dataProviders},e}(),Rt={};function Mt(e){void 0===e&&(e=Rt);var t=new At(e),n=new lt(e,t),i=new ot(e,t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:Ie,parseHTMLDocument:function(e){return Me(e.getText())},doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:ut,findDocumentHighlights:yt,findDocumentLinks:wt,findDocumentSymbols:kt,getFoldingRanges:Nt,getSelectionRanges:It,doTagComplete:i.doTagComplete.bind(i),doRename:Et,findMatchingTagPosition:Tt,findOnTypeRenameRanges:Lt}}},function(e,t,n){"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},i=[],r=0;r<e.length;r++){var o=e[r],l=t.base?o[0]+t.base:o[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var h=a(d),u={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(s[h].references++,s[h].updater(u)):s.push({identifier:d,updater:f(u,t),references:1}),i.push(d)}return i}function c(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var d,h=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function u(e,t,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=h(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function p(e,t,n){var i=n.css,r=n.media,o=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var m=null,g=0;function f(e,t){var n,i,r;if(t.singleton){var o=g++;n=m||(m=c(t)),i=u.bind(null,n,o,!1),r=u.bind(null,n,o,!0)}else n=c(t),i=p.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var r=a(n[i]);s[r].references--}for(var o=l(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===s[d].references&&(s[d].updater(),s.splice(d,1))}n=o}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=(s=i,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(l," */")),o=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([r]).join("\n")}var s,a,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);i&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return u})),n.d(t,"l",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"g",(function(){return _})),n.d(t,"k",(function(){return v}));var i=n(6);class r{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new i.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function o(){return r.INSTANCE.getZoomLevel()}function s(){return r.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(e){return r.INSTANCE.onDidChangeZoomLevel(e)}function l(){return r.INSTANCE.getZoomFactor()}function c(){return r.INSTANCE.getPixelRatio()}r.INSTANCE=new r;const d=navigator.userAgent,h=d.indexOf("Edge/")>=0,u=d.indexOf("Firefox")>=0,p=d.indexOf("AppleWebKit")>=0,m=d.indexOf("Chrome")>=0,g=!m&&d.indexOf("Safari")>=0,f=!m&&!g&&p,b=d.indexOf("iPad")>=0||g&&navigator.maxTouchPoints>0,_=h&&d.indexOf("WebView/")>=0,v=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(1);class r{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){i.ab(this.domNode,e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function o(e){return new r(e)}},function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function r(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const i=[];if(0===n)return[i,t];const r=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=r.next();if(t.done)return[i,e.empty()];i.push(t.value)}return[i,{[Symbol.iterator]:()=>r}]}}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"f",(function(){return oe})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return A})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return H})),n.d(t,"g",(function(){return yt}));var i,r,o,s,a,l,c,d,h,u,p,m,g,f,b,_,v,w,y,C,x=n(65);function S(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!S(e[n],t[n]))return!1}else{var r=[];for(i in e)r.push(i);r.sort();var o=[];for(i in t)o.push(i);if(o.sort(),!S(r,o))return!1;for(n=0;n<r.length;n++)if(!S(e[r[n]],t[r[n]]))return!1}return!0}function k(e){return"number"==typeof e}function E(e){return void 0!==e}function T(e){return"boolean"==typeof e}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.number(t.line)&&ie.number(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,r){if(ie.number(e)&&ie.number(t)&&ie.number(n)&&ie.number(r))return{start:i.create(e,t),end:i.create(n,r)};if(i.is(e)&&i.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return ie.objectLiteral(t)&&i.is(t.start)&&i.is(t.end)}}(r||(r={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ie.defined(t)&&r.is(t.range)&&(ie.string(t.uri)||ie.undefined(t.uri))}}(o||(o={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ie.defined(t)&&r.is(t.targetRange)&&ie.string(t.targetUri)&&(r.is(t.targetSelectionRange)||ie.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||ie.undefined(t.originSelectionRange))}}(s||(s={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ie.number(t.red)&&ie.number(t.green)&&ie.number(t.blue)&&ie.number(t.alpha)}}(a||(a={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return r.is(t.range)&&a.is(t.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ie.string(t.label)&&(ie.undefined(t.textEdit)||b.is(t))&&(ie.undefined(t.additionalTextEdits)||ie.typedArray(t.additionalTextEdits,b.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(d||(d={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return ie.defined(n)&&(o.startCharacter=n),ie.defined(i)&&(o.endCharacter=i),ie.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return ie.number(t.startLine)&&ie.number(t.startLine)&&(ie.undefined(t.startCharacter)||ie.number(t.startCharacter))&&(ie.undefined(t.endCharacter)||ie.number(t.endCharacter))&&(ie.undefined(t.kind)||ie.string(t.kind))}}(h||(h={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ie.defined(t)&&o.is(t.location)&&ie.string(t.message)}}(u||(u={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(p||(p={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e.create=function(e,t,n,i,r,o){var s={range:e,message:t};return ie.defined(n)&&(s.severity=n),ie.defined(i)&&(s.code=i),ie.defined(r)&&(s.source=r),ie.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return ie.defined(t)&&r.is(t.range)&&ie.string(t.message)&&(ie.number(t.severity)||ie.undefined(t.severity))&&(ie.number(t.code)||ie.string(t.code)||ie.undefined(t.code))&&(ie.string(t.source)||ie.undefined(t.source))&&(ie.undefined(t.relatedInformation)||ie.typedArray(t.relatedInformation,u.is))}}(g||(g={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return ie.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.title)&&ie.string(t.command)}}(f||(f={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.string(t.newText)&&r.is(t.range)}}(b||(b={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ie.defined(t)&&N.is(t.textDocument)&&Array.isArray(t.edits)}}(_||(_={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(v||(v={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ie.string(t.oldUri)&&ie.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(w||(w={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ie.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ie.boolean(t.options.ignoreIfNotExists)))}}(y||(y={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ie.string(e.kind)?v.is(e)||w.is(e)||y.is(e):_.is(e)})))}}(C||(C={}));var L,N,I,D,O,A,R,M,P,F,W,z,B,j,V,U,H,q,$,K,G,Y,Z,X,Q,J,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(b.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(b.replace(e,t))},e.prototype.delete=function(e){this.edits.push(b.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(_.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new te(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(N.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new te(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new te(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(v.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(w.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&(null===t.version||ie.number(t.version))}}(N||(N={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&ie.string(t.languageId)&&ie.number(t.version)&&ie.string(t.text)}}(I||(I={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(D||(D={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(D||(D={})),function(e){e.is=function(e){var t=e;return ie.objectLiteral(e)&&D.is(t.kind)&&ie.string(t.value)}}(O||(O={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(A||(A={})),function(e){e.PlainText=1,e.Snippet=2}(R||(R={})),function(e){e.Deprecated=1}(M||(M={})),function(e){e.create=function(e){return{label:e}}}(P||(P={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(F||(F={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ie.string(t)||ie.objectLiteral(t)&&ie.string(t.language)&&ie.string(t.value)}}(W||(W={})),function(e){e.is=function(e){var t=e;return!!t&&ie.objectLiteral(t)&&(O.is(t.contents)||W.is(t.contents)||ie.typedArray(t.contents,W.is))&&(void 0===e.range||r.is(e.range))}}(z||(z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(B||(B={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return ie.defined(t)&&(r.documentation=t),ie.defined(n)?r.parameters=n:r.parameters=[],r}}(j||(j={})),function(e){e.Text=1,e.Read=2,e.Write=3}(V||(V={})),function(e){e.create=function(e,t){var n={range:e};return ie.number(t)&&(n.kind=t),n}}(U||(U={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(H||(H={})),function(e){e.Deprecated=1}(q||(q={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}($||($={})),function(e){e.create=function(e,t,n,i,r,o){var s={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&ie.string(t.name)&&ie.number(t.kind)&&r.is(t.range)&&r.is(t.selectionRange)&&(void 0===t.detail||ie.string(t.detail))&&(void 0===t.deprecated||ie.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(K||(K={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(G||(G={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ie.defined(t)&&ie.typedArray(t.diagnostics,g.is)&&(void 0===t.only||ie.typedArray(t.only,ie.string))}}(Y||(Y={})),function(e){e.create=function(e,t,n){var i={title:e};return f.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ie.string(t.title)&&(void 0===t.diagnostics||ie.typedArray(t.diagnostics,g.is))&&(void 0===t.kind||ie.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||f.is(t.command))&&(void 0===t.isPreferred||ie.boolean(t.isPreferred))&&(void 0===t.edit||C.is(t.edit))}}(Z||(Z={})),function(e){e.create=function(e,t){var n={range:e};return ie.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ie.defined(t)&&r.is(t.range)&&(ie.undefined(t.command)||f.is(t.command))}}(X||(X={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.number(t.tabSize)&&ie.boolean(t.insertSpaces)}}(Q||(Q={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ie.defined(t)&&r.is(t.range)&&(ie.undefined(t.target)||ie.string(t.target))}}(J||(J={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&r.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,i){return new re(e,t,n,i)},e.is=function(e){var t=e;return!!(ie.defined(t)&&ie.string(t.uri)&&(ie.undefined(t.languageId)||ie.string(t.languageId))&&ie.number(t.lineCount)&&ie.func(t.getText)&&ie.func(t.positionAt)&&ie.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(ne||(ne={}));var ie,re=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return i.create(0,e);for(;n<r;){var o=Math.floor((n+r)/2);t[o]>e?r=o:n=o+1}var s=n-1;return i.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ie||(ie={}));var oe,se,ae,le=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var s=de(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=ce(o.text,!1,a);if(d-c===u.length)for(var p=0,m=u.length;p<m;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var g=o.text.length-(l-a);if(0!==g)for(p=c+1+u.length,m=h.length;p<m;p++)h[p]=h[p]+g}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ce(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function ce(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function de(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function he(e){var t=de(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function ue(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function pe(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return ue(t,n)}function me(e){return pe}!function(e){e.create=function(e,t,n,i){return new le(e,t,n,i)},e.update=function(e,t,n){if(e instanceof le)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,r=[],o=0,s=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(he),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&r.push(n.substring(i,l)),a.newText.length&&r.push(a.newText),i=e.offsetAt(a.range.end)}return r.push(n.substr(i)),r.join("")}}(oe||(oe={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(se||(se={})),(ae||(ae={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[D.Markdown,D.PlainText],commitCharactersSupport:!0}}}};var ge,fe,be=(ge=function(e,t){return(ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_e=me(),ve={"color-hex":{errorMessage:_e("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:_e("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:_e("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:_e("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:_e("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},we=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),ye=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="null",i.value=null,i}return be(t,e),t}(we),Ce=function(e){function t(t,n,i){var r=e.call(this,t,i)||this;return r.type="boolean",r.value=n,r}return be(t,e),t}(we),xe=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="array",i.items=[],i}return be(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(we),Se=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="number",i.isInteger=!0,i.value=Number.NaN,i}return be(t,e),t}(we),ke=function(e){function t(t,n,i){var r=e.call(this,t,n,i)||this;return r.type="string",r.value="",r}return be(t,e),t}(we),Ee=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.type="property",r.colonOffset=-1,r.keyNode=i,r}return be(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(we),Te=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="object",i.properties=[],i}return be(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(we);function Le(e){return T(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(fe||(fe={}));var Ne=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Re(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Ie=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),De=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.merge(i)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var i=n[t];i.code===se.EnumValueMismatch&&(i.message=_e("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function Oe(e){return x.e(e)}function Ae(e){return x.d(e)}function Re(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var Me=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}return e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return x.b(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var i=e(n),r=n.children;if(Array.isArray(r))for(var o=0;o<r.length&&i;o++)i=t(r[o]);return i};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var n=new De;return Pe(this.root,t,n,Ie.instance),n.problems.map((function(t){var n=r.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return g.create(n,t.message,t.severity,t.code)}))}},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1);var i=new Ne(t,n);return this.root&&e&&Pe(this.root,e,new De,i),i.schemas},e}();function Pe(e,t,n,i){if(e&&i.include(e)){var r=e;switch(r.type){case"object":!function(e,t,n,i){for(var r=Object.create(null),o=[],s=0,a=e.properties;s<a.length;s++){var l=(v=a[s]).keyNode.value;r[l]=v.valueNode,o.push(l)}if(Array.isArray(t.required))for(var c=0,d=t.required;c<d.length;c++){var h=d[c];if(!r[h]){var u=e.parent&&"property"===e.parent.type&&e.parent.keyNode,m=u?{offset:u.offset,length:u.length}:{offset:e.offset,length:1};n.problems.push({location:m,severity:p.Warning,message:_e("MissingRequiredPropWarning",'Missing property "{0}".',h)})}}var g=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var f=0,b=Object.keys(t.properties);f<b.length;f++){h=b[f];g(h);var _=t.properties[h];if(A=r[h])if(T(_))if(_)n.propertiesMatches++,n.propertiesValueMatches++;else{var v=A.parent;n.problems.push({location:{offset:v.keyNode.offset,length:v.keyNode.length},severity:p.Warning,message:t.errorMessage||_e("DisallowedExtraPropWarning","Property {0} is not allowed.",h)})}else{var w=new De;Pe(A,_,w,i),n.mergePropertyMatch(w)}}if(t.patternProperties)for(var y=0,C=Object.keys(t.patternProperties);y<C.length;y++)for(var x=C[y],S=new RegExp(x),E=0,L=o.slice(0);E<L.length;E++){h=L[E];if(S.test(h))if(g(h),A=r[h])if(T(_=t.patternProperties[x]))if(_)n.propertiesMatches++,n.propertiesValueMatches++;else{v=A.parent;n.problems.push({location:{offset:v.keyNode.offset,length:v.keyNode.length},severity:p.Warning,message:t.errorMessage||_e("DisallowedExtraPropWarning","Property {0} is not allowed.",h)})}else{w=new De;Pe(A,_,w,i),n.mergePropertyMatch(w)}}if("object"==typeof t.additionalProperties)for(var N=0,I=o;N<I.length;N++){h=I[N];if(A=r[h]){w=new De;Pe(A,t.additionalProperties,w,i),n.mergePropertyMatch(w)}}else if(!1===t.additionalProperties&&o.length>0)for(var D=0,O=o;D<O.length;D++){var A;h=O[D];if(A=r[h]){v=A.parent;n.problems.push({location:{offset:v.keyNode.offset,length:v.keyNode.length},severity:p.Warning,message:t.errorMessage||_e("DisallowedExtraPropWarning","Property {0} is not allowed.",h)})}}k(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});k(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var R=0,M=Object.keys(t.dependencies);R<M.length;R++){l=M[R];if(r[l]){var P=t.dependencies[l];if(Array.isArray(P))for(var F=0,W=P;F<W.length;F++){var z=W[F];r[z]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",z,l)})}else if(_=Le(P)){w=new De;Pe(e,_,w,i),n.mergePropertyMatch(w)}}}var B=Le(t.propertyNames);if(B)for(var j=0,V=e.properties;j<V.length;j++){var U=V[j];(l=U.keyNode)&&Pe(l,B,n,Ie.instance)}}(r,t,n,i);break;case"array":!function(e,t,n,i){if(Array.isArray(t.items)){for(var r=t.items,o=0;o<r.length;o++){var s=Le(r[o]),a=new De;(u=e.items[o])?(Pe(u,s,a,i),n.mergePropertyMatch(a)):e.items.length>=r.length&&n.propertiesValueMatches++}if(e.items.length>r.length)if("object"==typeof t.additionalItems)for(var l=r.length;l<e.items.length;l++){a=new De;Pe(e.items[l],t.additionalItems,a,i),n.mergePropertyMatch(a)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",r.length)})}else{var c=Le(t.items);if(c)for(var d=0,h=e.items;d<h.length;d++){var u=h[d];a=new De;Pe(u,c,a,i),n.mergePropertyMatch(a)}}var m=Le(t.contains);if(m){e.items.some((function(e){var t=new De;return Pe(e,m,t,Ie.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.errorMessage||_e("requiredItemMissingWarning","Array does not contain required item.")})}k(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});k(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var g=Oe(e);g.some((function(e,t){return t!==g.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("uniqueItemsWarning","Array has duplicate items.")})}}(r,t,n,i);break;case"string":!function(e,t,n,i){k(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});k(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(r=t.pattern,"string"==typeof r){new RegExp(t.pattern).test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.patternErrorMessage||t.errorMessage||_e("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var r;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(o=_e("uriSchemeMissing","URI with a scheme is expected.")):o=_e("uriMissing","URI is expected.")}else o=_e("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.patternErrorMessage||t.errorMessage||_e("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var a=ve[t.format];e.value&&a.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}}(r,t,n);break;case"number":!function(e,t,n,i){var r=e.value;function o(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(k(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=r%t.multipleOf;else{var a=o(t.multipleOf),l=o(r);if(a&&l){var c=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier<a.multiplier?l.value*=c:a.value*=c,s=l.value%a.value}}0!==s&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function d(e,t){return k(t)?t:T(t)&&t?e:void 0}function h(e,t){if(!T(t)||!t)return e}var u=d(t.minimum,t.exclusiveMinimum);k(u)&&r<=u&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",u)});var m=d(t.maximum,t.exclusiveMaximum);k(m)&&r>=m&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",m)});var g=h(t.minimum,t.exclusiveMinimum);k(g)&&r<g&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("minimumWarning","Value is below the minimum of {0}.",g)});var f=h(t.maximum,t.exclusiveMaximum);k(f)&&r>f&&n.problems.push({location:{offset:e.offset,length:e.length},severity:p.Warning,message:_e("maximumWarning","Value is above the maximum of {0}.",f)})}(r,t,n);break;case"property":return Pe(r.valueNode,t,n,i)}!function(){function e(e){return r.type===e||"integer"===e&&"number"===r.type&&r.isInteger}Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:r.offset,length:r.length},severity:p.Warning,message:t.errorMessage||_e("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:r.offset,length:r.length},severity:p.Warning,message:t.errorMessage||_e("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,s=t.allOf;o<s.length;o++){var a=s[o];Pe(r,Le(a),n,i)}var l=Le(t.not);if(l){var c=new De,d=i.newSub();Pe(r,l,c,d),c.hasProblems()||n.problems.push({location:{offset:r.offset,length:r.length},severity:p.Warning,message:_e("notSchemaWarning","Matches a schema that is not allowed.")});for(var h=0,u=d.schemas;h<u.length;h++){var m=u[h];m.inverted=!m.inverted,i.add(m)}}var g=function(e,t){for(var o=[],s=void 0,a=0,l=e;a<l.length;a++){var c=Le(l[a]),d=new De,h=i.newSub();if(Pe(r,c,d,h),d.hasProblems()||o.push(c),s)if(t||d.hasProblems()||s.validationResult.hasProblems()){var u=d.compare(s.validationResult);u>0?s={schema:c,validationResult:d,matchingSchemas:h}:0===u&&(s.matchingSchemas.merge(h),s.validationResult.mergeEnumValues(d))}else s.matchingSchemas.merge(h),s.validationResult.propertiesMatches+=d.propertiesMatches,s.validationResult.propertiesValueMatches+=d.propertiesValueMatches;else s={schema:c,validationResult:d,matchingSchemas:h}}return o.length>1&&t&&n.problems.push({location:{offset:r.offset,length:1},severity:p.Warning,message:_e("oneOfWarning","Matches multiple schemas when only one must validate.")}),s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,i.merge(s.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&g(t.anyOf,!1);Array.isArray(t.oneOf)&&g(t.oneOf,!0);var f=function(e){var t=new De,o=i.newSub();Pe(r,Le(e),t,o),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,i.merge(o)},b=Le(t.if);b&&function(e,t,n){var o=Le(e),s=new De,a=i.newSub();Pe(r,o,s,a),i.merge(a),s.hasProblems()?n&&f(n):t&&f(t)}(b,Le(t.then),Le(t.else));if(Array.isArray(t.enum)){for(var _=Oe(r),v=!1,w=0,y=t.enum;w<y.length;w++){var C=y[w];if(S(_,C)){v=!0;break}}n.enumValues=t.enum,n.enumValueMatch=v,v||n.problems.push({location:{offset:r.offset,length:r.length},severity:p.Warning,code:se.EnumValueMismatch,message:t.errorMessage||_e("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(E(t.const)){S(_=Oe(r),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:r.offset,length:r.length},severity:p.Warning,code:se.EnumValueMismatch,message:t.errorMessage||_e("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&r.parent&&n.problems.push({location:{offset:r.parent.offset,length:r.parent.length},severity:p.Warning,message:t.deprecationMessage})}(),i.add({node:r,schema:t})}}function Fe(e,t){var n=[],i=-1,o=e.getText(),s=x.a(o,!1),a=t&&t.collectComments?[]:void 0;function l(){for(;;){var t=s.scan();switch(h(),t){case 12:case 13:Array.isArray(a)&&a.push(r.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function c(t,o,s,a,l){if(void 0===l&&(l=p.Error),0===n.length||s!==i){var c=r.create(e.positionAt(s),e.positionAt(a));n.push(g.create(c,t,l,o,e.languageId)),i=s}}function d(e,t,n,i,r){void 0===n&&(n=void 0),void 0===i&&(i=[]),void 0===r&&(r=[]);var a=s.getTokenOffset(),d=s.getTokenOffset()+s.getTokenLength();if(a===d&&a>0){for(a--;a>0&&/\s/.test(o.charAt(a));)a--;d=a+1}if(c(e,t,a,d),n&&u(n,!1),i.length+r.length>0)for(var h=s.getToken();17!==h;){if(-1!==i.indexOf(h)){l();break}if(-1!==r.indexOf(h))break;h=l()}return n}function h(){switch(s.getTokenError()){case 4:return d(_e("InvalidUnicode","Invalid unicode sequence in string."),se.InvalidUnicode),!0;case 5:return d(_e("InvalidEscapeCharacter","Invalid escape character in string."),se.InvalidEscapeCharacter),!0;case 3:return d(_e("UnexpectedEndOfNumber","Unexpected end of number."),se.UnexpectedEndOfNumber),!0;case 1:return d(_e("UnexpectedEndOfComment","Unexpected end of comment."),se.UnexpectedEndOfComment),!0;case 2:return d(_e("UnexpectedEndOfString","Unexpected end of string."),se.UnexpectedEndOfString),!0;case 6:return d(_e("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),se.InvalidCharacter),!0}return!1}function u(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&l(),e}var m=new ke(void 0,0,0);function f(t,n){var i=new Ee(t,s.getTokenOffset(),m),r=b(i);if(!r){if(16!==s.getToken())return;d(_e("DoubleQuotesExpected","Property keys must be doublequoted"),se.Undefined);var o=new ke(i,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),r=o,l()}i.keyNode=r;var a=n[r.value];if(a?(c(_e("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,i.keyNode.offset,i.keyNode.offset+i.keyNode.length,p.Warning),"object"==typeof a&&c(_e("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,a.keyNode.offset,a.keyNode.offset+a.keyNode.length,p.Warning),n[r.value]=!0):n[r.value]=i,6===s.getToken())i.colonOffset=s.getTokenOffset(),l();else if(d(_e("ColonExpected","Colon expected"),se.ColonExpected),10===s.getToken()&&e.positionAt(r.offset+r.length).line<e.positionAt(s.getTokenOffset()).line)return i.length=r.length,i;var h=_(i);return h?(i.valueNode=h,i.length=h.offset+h.length-i.offset,i):d(_e("ValueExpected","Value expected"),se.ValueExpected,i,[],[2,5])}function b(e){if(10===s.getToken()){var t=new ke(e,s.getTokenOffset());return t.value=s.getTokenValue(),u(t,!0)}}function _(e){return function(e){if(3===s.getToken()){var t=new xe(e,s.getTokenOffset());l();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){n||d(_e("ValueExpected","Value expected"),se.ValueExpected);var i=s.getTokenOffset();if(l(),4===s.getToken()){n&&c(_e("TrailingComma","Trailing comma"),se.TrailingComma,i,i+1);continue}}else n&&d(_e("ExpectedComma","Expected comma"),se.CommaExpected);var r=_(t);r?t.items.push(r):d(_e("PropertyExpected","Value expected"),se.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?d(_e("ExpectedCloseBracket","Expected comma or closing bracket"),se.CommaOrCloseBacketExpected,t):u(t,!0)}}(e)||function(e){if(1===s.getToken()){var t=new Te(e,s.getTokenOffset()),n=Object.create(null);l();for(var i=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){i||d(_e("PropertyExpected","Property expected"),se.PropertyExpected);var r=s.getTokenOffset();if(l(),2===s.getToken()){i&&c(_e("TrailingComma","Trailing comma"),se.TrailingComma,r,r+1);continue}}else i&&d(_e("ExpectedComma","Expected comma"),se.CommaExpected);var o=f(t,n);o?t.properties.push(o):d(_e("PropertyExpected","Property expected"),se.PropertyExpected,void 0,[],[2,5]),i=!0}return 2!==s.getToken()?d(_e("ExpectedCloseBrace","Expected comma or closing brace"),se.CommaOrCloseBraceExpected,t):u(t,!0)}}(e)||b(e)||function(e){if(11===s.getToken()){var t=new Se(e,s.getTokenOffset());if(0===s.getTokenError()){var n=s.getTokenValue();try{var i=JSON.parse(n);if(!k(i))return d(_e("InvalidNumberFormat","Invalid number format."),se.Undefined,t);t.value=i}catch(e){return d(_e("InvalidNumberFormat","Invalid number format."),se.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return u(t,!0)}}(e)||function(e){switch(s.getToken()){case 7:return u(new ye(e,s.getTokenOffset()),!0);case 8:return u(new Ce(e,!0,s.getTokenOffset()),!0);case 9:return u(new Ce(e,!1,s.getTokenOffset()),!0);default:return}}(e)}var v=void 0;return 17!==l()&&((v=_(v))?17!==s.getToken()&&d(_e("End of file expected","End of file expected."),se.Undefined):d(_e("Invalid symbol","Expected a JSON object, array or literal."),se.Undefined)),new Me(v,n,a)}function We(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function ze(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}var Be=me(),je=function(){function e(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===i&&(i={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=i}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var i=n(e);if(i)return i}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var i=this,o={items:[],isIncomplete:!1},s=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(o);if(l&&a===l.offset+l.length&&a>0){var c=s[a-1];("object"===l.type&&"}"===c||"array"===l.type&&"]"===c)&&(l=l.parent)}var d,h=this.getCurrentWord(e,a);if(!l||"string"!==l.type&&"number"!==l.type&&"boolean"!==l.type&&"null"!==l.type){var u=a-h.length;u>0&&'"'===s[u-1]&&u--,d=r.create(e.positionAt(u),t)}else d=r.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));var p={},m={add:function(e){var t=e.label,n=p[t];if(n)n.documentation||(n.documentation=e.documentation);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var i=t.substr(0,57).trim()+"...";p[i]||(t=i)}d&&void 0!==e.insertText&&(e.textEdit=b.replace(d,e.insertText)),e.label=t,p[t]=e,o.items.push(e)}},setAsIncomplete:function(){o.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return o.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var r=[],c=!0,u="",g=void 0;if(l&&"string"===l.type){var f=l.parent;f&&"property"===f.type&&f.keyNode===l&&(c=!f.valueNode,g=f,u=s.substr(l.offset+1,l.length-2),f&&(l=f.parent))}if(l&&"object"===l.type){if(l.offset===a)return o;l.properties.forEach((function(e){g&&g===e||(p[e.keyNode.value]=P.create("__"))}));var b="";c&&(b=i.evaluateSeparatorAfter(e,e.offsetAt(d.end))),t?i.getPropertyCompletions(t,n,l,c,b,m):i.getSchemaLessPropertyCompletions(n,l,u,m);var _=Ae(l);i.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,_,h,c,""===b,m);n&&r.push(n)})),!t&&h.length>0&&'"'!==s.charAt(a-h.length-1)&&(m.add({kind:A.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,b),insertTextFormat:R.Snippet,documentation:""}),m.setAsIncomplete())}var v={};return t?i.getValueCompletions(t,n,l,a,e,m,v):i.getSchemaLessValueCompletions(n,l,a,e,m),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,m,r),i.promiseConstructor.all(r).then((function(){if(0===m.getNumberOfProposals()){var t=a;!l||"string"!==l.type&&"number"!==l.type&&"boolean"!==l.type&&"null"!==l.type||(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(v,n,m)}return o}))}))},e.prototype.getPropertyCompletions=function(e,t,n,i,r,o){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:A.Property,label:e,insertText:s.getInsertTextForProperty(e,n,i,r),insertTextFormat:R.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&We(a.insertText,"$1"+r)&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(a)}}));var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:A.Property,label:e,insertText:s.getInsertTextForProperty(e,void 0,i,r),insertTextFormat:R.Snippet,filterText:s.getFilterTextForValue(e),documentation:t||s.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&We(n.insertText,"$1"+r)&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(n)};if(a.enum)for(var c=0;c<a.enum.length;c++){var d=void 0;a.markdownEnumDescriptions&&c<a.markdownEnumDescriptions.length?d=s.fromMarkup(a.markdownEnumDescriptions[c]):a.enumDescriptions&&c<a.enumDescriptions.length&&(d=a.enumDescriptions[c]),l(a.enum[c],d)}a.const&&l(a.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,i){var r=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;i.add({kind:A.Property,label:t,insertText:r.getInsertTextForValue(t,""),insertTextFormat:R.Snippet,filterText:r.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var s=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===s&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&i.add({kind:A.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:R.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,i,r){var o=this,s=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(s=t.offset+t.length,t=t.parent),!t)return r.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:R.Snippet,documentation:""}),void r.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:R.Snippet,documentation:""});var a=this.evaluateSeparatorAfter(i,s),l=function(e){e.parent&&!Re(e.parent,n,!0)&&r.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,i),insertText:o.getInsertTextForMatchingNode(e,i,a),insertTextFormat:R.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,a,r)};if("property"===t.type&&n>(t.colonOffset||0)){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var d=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===d&&e.valueNode&&l(e.valueNode),!0})),"$schema"===d&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,r)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var h=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0}))}else t.items.forEach(l)},e.prototype.getValueCompletions=function(e,t,n,i,r,o,s){var a=i,l=void 0,c=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(a=n.offset+n.length,c=n,n=n.parent),n){if("property"===n.type&&i>(n.colonOffset||0)){var d=n.valueNode;if(d&&i>d.offset+d.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var h=this.evaluateSeparatorAfter(r,a),u=0,p=t.getMatchingSchemas(e.schema,n.offset,c);u<p.length;u++){var m=p[u];if(m.node===n&&!m.inverted&&m.schema){if("array"===n.type&&m.schema.items)if(Array.isArray(m.schema.items)){var g=this.findItemAtOffset(n,r,i);g<m.schema.items.length&&this.addSchemaValueCompletions(m.schema.items[g],h,o,s)}else this.addSchemaValueCompletions(m.schema.items,h,o,s);if(void 0!==l){var f=!1;if(m.schema.properties)(w=m.schema.properties[l])&&(f=!0,this.addSchemaValueCompletions(w,h,o,s));if(m.schema.patternProperties&&!f)for(var b=0,_=Object.keys(m.schema.patternProperties);b<_.length;b++){var v=_[b];if(new RegExp(v).test(l)){f=!0;var w=m.schema.patternProperties[v];this.addSchemaValueCompletions(w,h,o,s)}}if(m.schema.additionalProperties&&!f){w=m.schema.additionalProperties;this.addSchemaValueCompletions(w,h,o,s)}}}}"$schema"!==l||n.parent||this.addDollarSchemaCompletions(h,o),s.boolean&&(this.addBooleanValueCompletion(!0,h,o),this.addBooleanValueCompletion(!1,h,o)),s.null&&this.addNullValueCompletion(h,o)}}else this.addSchemaValueCompletions(e.schema,"",o,s)},e.prototype.getContributedValueCompletions=function(e,t,n,i,r,o){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),t&&"property"===t.type&&n>(t.colonOffset||0)){var s=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=Ae(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(i.uri,l,s,r);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(i.uri,r);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,i){var r=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,i),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return r.addSchemaValueCompletions(e,t,n,i)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return r.addSchemaValueCompletions(e,t,n,i)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return r.addSchemaValueCompletions(e,t,n,i)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,i){var r=this;void 0===i&&(i=0);var o=!1;if(E(e.default)){for(var s=e.type,a=e.default,l=i;l>0;l--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:R.Snippet,detail:Be("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(s){for(var a=e.type,l=s,c=i;c>0;c--)l=[l],a="array";n.add({kind:r.getSuggestionKind(a),label:r.getLabelForValue(l),insertText:r.getInsertTextForValue(l,t),insertTextFormat:R.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(s){var a,l,c=e.type,d=s.body,h=s.label;if(E(d)){e.type;for(var u=i;u>0;u--)d=[d],"array";a=r.getInsertTextForSnippetValue(d,t),l=r.getFilterTextForSnippetValue(d),h=h||r.getLabelForSnippetValue(d)}else{if("string"!=typeof s.bodyText)return;var p="",m="",g="";for(u=i;u>0;u--)p=p+g+"[\n",m=m+"\n"+g+"]",g+="\t",c="array";a=p+g+s.bodyText.split("\n").join("\n"+g)+m+t,h=h||a,l=a.replace(/[\n]/g,"")}n.add({kind:r.getSuggestionKind(c),label:h,documentation:r.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:R.Snippet,filterText:l}),o=!0})),!o&&"object"==typeof e.items&&!Array.isArray(e.items)&&i<5&&this.addDefaultValueCompletions(e.items,t,n,i+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(E(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:R.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var i=0,r=e.enum.length;i<r;i++){var o=e.enum[i],s=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&i<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?s=this.fromMarkup(e.markdownEnumDescriptions[i]):e.enumDescriptions&&i<e.enumDescriptions.length&&(s=e.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:R.Snippet,documentation:s})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!E(e.const)){var n=e.type;Array.isArray(n)?n.forEach((function(e){return t[e]=!0})):n&&(t[n]=!0)}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:R.Snippet,detail:Be("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:R.Snippet,detail:Be("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:R.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:R.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(i){return t.add({kind:A.Module,label:n.getLabelForValue(i),filterText:n.getFilterTextForValue(i),insertText:n.getInsertTextForValue(i,e),insertTextFormat:R.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,n,i){if(null!==t&&"object"==typeof t){var r=n+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",s=0;s<t.length;s++)o+=r+e(t[s],r,i),s<t.length-1&&(o+=","),o+="\n";return o+=n+"]"}var a=Object.keys(t);if(0===a.length)return"{}";for(o="{\n",s=0;s<a.length;s++){var l=a[s];o+=r+JSON.stringify(l)+": "+e(t[l],r,i),s<a.length-1&&(o+=","),o+="\n"}return o+=n+"}"}return i(t)}(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:void 0}if(!e)return A.Value;switch(e){case"string":return A.Value;case"object":return A.Module;case"property":return A.Property;default:return A.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var i=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(i)}},e.prototype.getInsertTextForProperty=function(e,t,n,i){var r=this.getInsertTextForValue(e,"");if(!n)return r;var o,s=r+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var l=t.defaultSnippets[0].body;E(l)&&(o=this.getInsertTextForSnippetValue(l,""))}a+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),E(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),a++),Array.isArray(t.examples)&&t.examples.length&&(o||(o=this.getInsertTextForGuessedValue(t.examples[0],"")),a+=t.examples.length),0===a){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return r}}}return(!o||a>1)&&(o="$1"),s+o+i},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,i=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=x.a(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var i=x.a(t.getText(),!0),r=e.items,o=r.length-1;o>=0;o--){var s=r[o];if(n>s.offset+s.length)return i.setPosition(s.offset+s.length),5===i.scan()&&n>=i.getTokenOffset()+i.getTokenLength()?o+1:o;if(n>=s.offset)return o}return 0},e.prototype.isInComment=function(e,t,n){var i=x.a(e.getText(),!1);i.setPosition(t);for(var r=i.scan();17!==r&&i.getTokenOffset()+i.getTokenLength()<n;)r=i.scan();return(12===r||13===r)&&i.getTokenOffset()<=n},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:D.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!E(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(D.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!E(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),Ve=function(){function e(e,t,n){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doHover=function(e,t,n){var i=e.offsetAt(t),o=n.getNodeFromOffset(i);if(!o||("object"===o.type||"array"===o.type)&&i>o.offset+1&&i<o.offset+o.length-1)return this.promise.resolve(null);var s=o;if("string"===o.type){var a=o.parent;if(a&&"property"===a.type&&a.keyNode===o&&!(o=a.valueNode))return this.promise.resolve(null)}for(var l=r.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),c=function(e){return{contents:e,range:l}},d=Ae(o),h=this.contributions.length-1;h>=0;h--){var u=this.contributions[h].getInfoContribution(e.uri,d);if(u)return u.then((function(e){return c(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e&&o){var t=n.getMatchingSchemas(e.schema,o.offset),i=void 0,r=void 0,s=void 0,a=void 0;t.every((function(e){if(e.node===o&&!e.inverted&&e.schema&&(i=i||e.schema.title,r=r||e.schema.markdownDescription||Ue(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Oe(o));e.schema.markdownEnumDescriptions?s=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(s=Ue(e.schema.enumDescriptions[t])),s&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0}));var l="";return i&&(l=Ue(i)),r&&(l.length>0&&(l+="\n\n"),l+=r),s&&(l.length>0&&(l+="\n\n"),l+="`"+function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(a)+"`: "+s),c([l])}return null}))},e}();function Ue(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var He=n(140),qe=me(),$e=function(){function e(e,t){this.patternRegExps=[],this.isInclude=[];try{for(var n=0,i=e;n<i.length;n++){var r=i[n],o="!"!==r[0];o||(r=r.substring(1)),this.patternRegExps.push(new RegExp(ze(r)+"$")),this.isInclude.push(o)}this.uris=t}catch(e){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0;n<this.patternRegExps.length;n++){this.patternRegExps[n].test(e)&&(t=this.isInclude[n])}return t},e.prototype.getURIs=function(){return this.uris},e}(),Ke=function(){function e(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new Ge(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),Ge=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},Ye=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){var t=this.getSectionRecursive(e,this.schema);if(t)return Le(t)},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var i=0,r=Object.keys(t.patternProperties);i<r.length;i++){var o=r[i];if(new RegExp(o).test(n))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var s=parseInt(n,10);if(!isNaN(s)&&t.items[s])return this.getSectionRecursive(e,t.items[s])}else if(t.items)return this.getSectionRecursive(e,t.items)}},e}(),Ze=function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var n=He.a.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,n=!1,i=[e=Qe(e)],r=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));i.length;)for(var o=i.pop(),s=0;s<r.length;s++){var a=r[s];a&&(a.url===o||a.dependencies[o])&&(a.url!==o&&i.push(a.url),a.clearSchema(),r[s]=void 0,n=!0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var i=Qe(n);this.contributionSchemas[i]=this.addSchemaHandle(i,t[n])}}if(Array.isArray(e.schemaAssociations))for(var r=0,o=e.schemaAssociations;r<o.length;r++){var s=o[r],a=s.uris.map(Qe),l=this.addFilePatternAssociation(s.pattern,a);this.contributionAssociations.push(l)}},e.prototype.addSchemaHandle=function(e,t){var n=new Ke(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.addFilePatternAssociation=function(e,t){var n=new $e(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var i=Qe(e);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[e]),n?this.addSchemaHandle(i,n):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var i=n[t];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(e){var t=Qe(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=qe("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Je(e));return this.promise.resolve(new Ge({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=qe("json.schema.nocontent","Unable to load schema from '{0}': No content.",Je(e));return new Ge({},[n])}var i,r=[];i=x.f(t,r);var o=r.length?[qe("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Je(e),r[0].offset)]:[];return new Ge(i,o)}),(function(t){var n=t.toString(),i=t.toString().split("Error: ");return i.length>1&&(n=i[1]),We(n,".")&&(n=n.substr(0,n.length-1)),new Ge({},[qe("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Je(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t,n){var i=this,r=e.errors.slice(0),o=e.schema;if(o.$schema){var s=Qe(o.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new Ye({},[qe("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s&&r.push(qe("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var a=this.contextService,l=function(e,t,n,i){var o=i?decodeURIComponent(i):void 0,s=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(n=n[e])})),n}(t,o);if(s)for(var a in s)s.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=s[a]);else r.push(qe("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",o,n))},c=function(e,t,n,o,s){a&&!/^\w+:\/\/.*/.test(t)&&(t=a.resolveRelativePath(t,o)),t=Qe(t);var c=i.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(i){if(s[t]=!0,i.errors.length){var o=n?t+"#"+n:t;r.push(qe("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,i.errors[0]))}return l(e,i.schema,t,n),d(e,i.schema,t,c.dependencies)}))},d=function(e,t,n,r){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var o=[e],s=[],a=[],d=function(e){for(var i=[];e.$ref;){var s=e.$ref,d=s.split("#",2);if(delete e.$ref,d[0].length>0)return void a.push(c(e,d[0],d[1],n,r));-1===i.indexOf(s)&&(l(e,t,n,d[1]),i.push(s))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var r=i[n];"object"==typeof r&&o.push(r)}}(e.items,e.additionalItems,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var r=i[n];if("object"==typeof r)for(var s in r){var a=s,l=r[a];"object"==typeof l&&o.push(l)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var r=i[n];if(Array.isArray(r))for(var s=0,a=r;s<a.length;s++){var l=a[s];"object"==typeof l&&o.push(l)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};o.length;){var h=o.pop();s.indexOf(h)>=0||(s.push(h),d(h))}return i.promise.all(a)};return d(o,o,t,n).then((function(e){return new Ye(o,r)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(n.length>0){var i=n[0].valueNode;if(i&&"string"===i.type){var r=Oe(i);if(r&&function(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}(r,".")&&this.contextService&&(r=this.contextService.resolveRelativePath(r,e)),r){var o=Qe(r);return this.getOrAddSchemaHandle(o).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;for(var s=Object.create(null),a=[],l=0,c=this.filePatternAssociations;l<c.length;l++){var d=c[l];if(d.matchesPattern(e))for(var h=0,u=d.getURIs();h<u.length;h++){var p=u[h];s[p]||(a.push(p),s[p]=!0)}}var m=a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:m},m},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),i={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,i)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var i=n.id||"schemaservice://untitled/matchingSchemas/"+Xe++;return this.resolveSchemaContent(new Ge(n),i,{}).then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))},e}(),Xe=0;function Qe(e){try{return He.a.parse(e).toString()}catch(t){return e}}function Je(e){try{var t=He.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var et=me(),tt=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:p.Error)},e.prototype.doValidation=function(e,t,n,i){var o=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],a={},l=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,s.push(e))},c=function(i){var a=n?it(n.trailingCommas):p.Error,c=n?it(n.comments):o.commentSeverity;if(i){if(i.errors.length&&t.root){var d=t.root,h="object"===d.type?d.properties[0]:void 0;if(h&&"$schema"===h.keyNode.value){var u=h.valueNode||h,m=r.create(e.positionAt(u.offset),e.positionAt(u.offset+u.length));l(g.create(m,i.errors[0],p.Warning,se.SchemaResolveError))}else{m=r.create(e.positionAt(d.offset),e.positionAt(d.offset+1));l(g.create(m,i.errors[0],p.Warning,se.SchemaResolveError))}}else{var f=t.validate(e,i.schema);f&&f.forEach(l)}(function e(t){if(t&&"object"==typeof t){if(T(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,i=t.allOf;n<i.length;n++){var r=i[n],o=e(r);if(T(o))return o}}return})(i.schema)&&(c=void 0),function e(t){if(t&&"object"==typeof t){if(T(t.allowTrailingCommas))return t.allowTrailingCommas;var n=t;if(T(n.allowsTrailingCommas))return n.allowsTrailingCommas;if(t.allOf)for(var i=0,r=t.allOf;i<r.length;i++){var o=r[i],s=e(o);if(T(s))return s}}return}(i.schema)&&(a=void 0)}for(var b=0,_=t.syntaxErrors;b<_.length;b++){var v=_[b];if(v.code===se.TrailingComma){if("number"!=typeof a)continue;v.severity=a}l(v)}if("number"==typeof c){var w=et("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){l(g.create(e,w,c,se.CommentNotPermitted))}))}return s};if(i){var d=i.id||"schemaservice://untitled/"+nt++;return this.jsonSchemaService.resolveSchemaContent(new Ge(i),d,{}).then((function(e){return c(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return c(e)}))},e}(),nt=0;function it(e){switch(e){case"error":return p.Error;case"warning":return p.Warning;case"ignore":return}}function rt(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function ot(e){if("#"===e[0])switch(e.length){case 4:return{red:17*rt(e.charCodeAt(1))/255,green:17*rt(e.charCodeAt(2))/255,blue:17*rt(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*rt(e.charCodeAt(1))/255,green:17*rt(e.charCodeAt(2))/255,blue:17*rt(e.charCodeAt(3))/255,alpha:17*rt(e.charCodeAt(4))/255};case 7:return{red:(16*rt(e.charCodeAt(1))+rt(e.charCodeAt(2)))/255,green:(16*rt(e.charCodeAt(3))+rt(e.charCodeAt(4)))/255,blue:(16*rt(e.charCodeAt(5))+rt(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*rt(e.charCodeAt(1))+rt(e.charCodeAt(2)))/255,green:(16*rt(e.charCodeAt(3))+rt(e.charCodeAt(4)))/255,blue:(16*rt(e.charCodeAt(5))+rt(e.charCodeAt(6)))/255,alpha:(16*rt(e.charCodeAt(7))+rt(e.charCodeAt(8)))/255}}}var st=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var i=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var r=t.root;if(!r)return[];var s=n.resultLimit||Number.MAX_VALUE,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||We(a.toLowerCase(),"/user/keybindings.json"))&&"array"===r.type){for(var l=[],c=0,d=r.items;c<d.length;c++){var h=d[c];if("object"===h.type)for(var u=0,p=h.properties;u<p.length;u++){var m=p[u];if("key"===m.keyNode.value&&m.valueNode){var g=o.create(e.uri,at(e,h));if(l.push({name:Oe(m.valueNode),kind:H.Function,location:g}),--s<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),l}}}return l}for(var f=[{node:r,containerName:""}],b=0,_=!1,v=[],w=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&f.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var r=t.valueNode;if(r)if(s>0){s--;var a=o.create(e.uri,at(e,t)),l=n?n+"."+t.keyNode.value:t.keyNode.value;v.push({name:i.getKeyLabel(t),kind:i.getSymbolKind(r.type),location:a,containerName:n}),f.push({node:r,containerName:l})}else _=!0}))};b<f.length;){var y=f[b++];w(y.node,y.containerName)}return _&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),v},e.prototype.findDocumentSymbols2=function(e,t,n){var i=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var r=t.root;if(!r)return[];var o=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||We(s.toLowerCase(),"/user/keybindings.json"))&&"array"===r.type){for(var a=[],l=0,c=r.items;l<c.length;l++){var d=c[l];if("object"===d.type)for(var h=0,u=d.properties;h<u.length;h++){var p=u[h];if("key"===p.keyNode.value&&p.valueNode){var m=at(e,d),g=at(e,p.keyNode);if(a.push({name:Oe(p.valueNode),kind:H.Function,range:m,selectionRange:g}),--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),a}}}return a}for(var f=[],b=[{node:r,result:f}],_=0,v=!1,w=function(t,n){"array"===t.type?t.items.forEach((function(t,r){if(t)if(o>0){o--;var s=at(e,t),a=s,l={name:String(r),kind:i.getSymbolKind(t.type),range:s,selectionRange:a,children:[]};n.push(l),b.push({result:l.children,node:t})}else v=!0})):"object"===t.type&&t.properties.forEach((function(t){var r=t.valueNode;if(r)if(o>0){o--;var s=at(e,t),a=at(e,t.keyNode),l={name:i.getKeyLabel(t),kind:i.getSymbolKind(r.type),range:s,selectionRange:a,children:[]};n.push(l),b.push({result:l.children,node:r})}else v=!0}))};_<b.length;){var y=b[_++];w(y.node,y.result)}return v&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),f},e.prototype.getSymbolKind=function(e){switch(e){case"object":return H.Module;case"string":return H.String;case"number":return H.Number;case"array":return H.Array;case"boolean":return H.Boolean;default:return H.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.findDocumentColors=function(e,t,n){return this.schemaService.getSchemaForResource(e.uri,t).then((function(i){var r=[];if(i)for(var o=n&&"number"==typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,s={},a=0,l=t.getMatchingSchemas(i.schema);a<l.length;a++){var c=l[a];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var d=String(c.node.offset);if(!s[d]){var h=ot(Oe(c.node));if(h){var u=at(e,c.node);r.push({color:h,range:u})}if(s[d]=!0,--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),r}}}return r}))},e.prototype.getColorPresentations=function(e,t,n,i){var r,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return r=1===n.alpha?"#"+c(s)+c(a)+c(l):"#"+c(s)+c(a)+c(l)+c(Math.round(255*n.alpha)),o.push({label:r,textEdit:b.replace(i,JSON.stringify(r))}),o},e}();function at(e,t){return r.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var lt=me(),ct={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:lt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:lt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},dt={id:lt("schema.json.id","A unique identifier for the schema."),$schema:lt("schema.json.$schema","The schema to verify this document against."),title:lt("schema.json.title","A descriptive title of the element."),description:lt("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:lt("schema.json.default","A default value. Used by suggestions."),multipleOf:lt("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:lt("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:lt("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:lt("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:lt("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:lt("schema.json.maxLength","The maximum length of a string."),minLength:lt("schema.json.minLength","The minimum length of a string."),pattern:lt("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:lt("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:lt("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:lt("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:lt("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:lt("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:lt("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:lt("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:lt("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:lt("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:lt("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:lt("schema.json.properties","A map of property names to schemas for each property."),patternProperties:lt("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:lt("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:lt("schema.json.enum","The set of literal values that are valid."),type:lt("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:lt("schema.json.format","Describes the format expected for the value."),allOf:lt("schema.json.allOf","An array of schemas, all of which must match."),anyOf:lt("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:lt("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:lt("schema.json.not","A schema which must not match."),$id:lt("schema.json.$id","A unique identifier for the schema."),$ref:lt("schema.json.$ref","Reference a definition hosted on any location."),$comment:lt("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:lt("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:lt("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:lt("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:lt("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:lt("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:lt("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:lt("schema.json.contentEncoding","Describes the content encoding of a string property."),if:lt("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:lt("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:lt("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var ht in ct.schemas){var ut=ct.schemas[ht];for(var pt in ut.properties){var mt=ut.properties[pt];"boolean"==typeof mt&&(mt=ut.properties[pt]={});var gt=dt[pt];gt?mt.description=gt:console.log(pt+": localize('schema.json."+pt+'\', "")')}}function ft(e,t){var n=[],r=[],o=[],s=-1,a=Object(x.a)(e.getText(),!1),l=a.scan();function c(e){n.push(e),r.push(o.length)}for(;17!==l;){switch(l){case 1:case 3:var h={startLine:m=e.positionAt(a.getTokenOffset()).line,endLine:m,kind:1===l?"object":"array"};o.push(h);break;case 2:case 4:var u=2===l?"object":"array";if(o.length>0&&o[o.length-1].kind===u){h=o.pop();var p=e.positionAt(a.getTokenOffset()).line;h&&p>h.startLine+1&&s!==h.startLine&&(h.endLine=p-1,c(h),s=h.startLine)}break;case 13:var m=e.positionAt(a.getTokenOffset()).line,g=e.positionAt(a.getTokenOffset()+a.getTokenLength()).line;1===a.getTokenError()&&m+1<e.lineCount?a.setPosition(e.offsetAt(i.create(m+1,0))):m<g&&(c({startLine:m,endLine:g,kind:d.Comment}),s=m);break;case 12:var f=e.getText().substr(a.getTokenOffset(),a.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(f){p=e.positionAt(a.getTokenOffset()).line;if(f[1]){h={startLine:p,endLine:p,kind:d.Region};o.push(h)}else{for(var b=o.length-1;b>=0&&o[b].kind!==d.Region;)b--;if(b>=0){h=o[b];o.length=b,p>h.startLine&&s!==h.startLine&&(h.endLine=p,c(h),s=h.startLine)}}}}l=a.scan()}var _=t&&t.rangeLimit;if("number"!=typeof _||n.length<=_)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],w=0,y=r;w<y.length;w++){(T=y[w])<30&&(v[T]=(v[T]||0)+1)}var C=0,S=0;for(b=0;b<v.length;b++){var k=v[b];if(k){if(k+C>_){S=b;break}C+=k}}var E=[];for(b=0;b<n.length;b++){var T;"number"==typeof(T=r[b])&&(T<S||T===S&&C++<_)&&E.push(n[b])}return E}function bt(e,t,n){function i(t,n){return r.create(e.positionAt(t),e.positionAt(n))}var o=Object(x.a)(e.getText(),!0);function s(e,t){return o.setPosition(e),o.scan()===t?o.getTokenOffset()+o.getTokenLength():-1}return t.map((function(t){for(var o=e.offsetAt(t),a=n.getNodeFromOffset(o,!0),l=[];a;){switch(a.type){case"string":case"object":case"array":var c=a.offset+1,d=a.offset+a.length-1;c<d&&o>=c&&o<=d&&l.push(i(c,d)),l.push(i(a.offset,a.offset+a.length));break;case"number":case"boolean":case"null":case"property":l.push(i(a.offset,a.offset+a.length))}if("property"===a.type||a.parent&&"array"===a.parent.type){var h=s(a.offset+a.length,5);-1!==h&&l.push(i(a.offset,h))}a=a.parent}for(var u=void 0,p=l.length-1;p>=0;p--)u=ee.create(l[p],u);return u||(u=ee.create(r.create(t,t))),u}))}function _t(e,t,n){var i=e.offsetAt(t),r=n.getNodeFromOffset(i,!0);if(!r||!function(e){return"string"===e.type&&e.parent&&"property"===e.parent.type&&e.parent.valueNode===e&&"$ref"===e.parent.keyNode.value||!1}(r))return Promise.resolve([]);var o=r.parent.valueNode,s=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(wt)}(t);if(!n)return null;return function e(t,n){if(!n)return null;if(0===t.length)return n;var i=t.shift();if(n&&"object"===n.type){var r=n.properties.find((function(e){return e.keyNode.value===i}));return r?e(t,r.valueNode):null}if(n&&"array"===n.type&&i.match(/^(0|[1-9][0-9]*)$/)){var o=Number.parseInt(i),s=n.items[o];return s?e(t,s):null}return null}(n,e.root)}(n,o.value);if(!s)return Promise.resolve([]);var a={targetUri:e.uri,originSelectionRange:vt(e,o),targetRange:vt(e,s),targetSelectionRange:vt(e,s)};return Promise.resolve([a])}function vt(e,t){return r.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}function wt(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function yt(e){var t=e.promiseConstructor||Promise,n=new Ze(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(ct);var i=new je(n,e.contributions,t,e.clientCapabilities),o=new Ve(n,e.contributions,t),s=new st(n),a=new tt(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),a.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:a.doValidation.bind(a),parseJSONDocument:function(e){return Fe(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new Me(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:i.doResolve.bind(i),doComplete:i.doComplete.bind(i),findDocumentSymbols:s.findDocumentSymbols.bind(s),findDocumentSymbols2:s.findDocumentSymbols2.bind(s),findColorSymbols:function(e,t){return s.findDocumentColors(e,t).then((function(e){return e.map((function(e){return e.range}))}))},findDocumentColors:s.findDocumentColors.bind(s),getColorPresentations:s.getColorPresentations.bind(s),doHover:o.doHover.bind(o),getFoldingRanges:ft,getSelectionRanges:bt,findDefinition:_t,format:function(e,t,n){var i=void 0;if(t){var o=e.offsetAt(t.start);i={offset:o,length:e.offsetAt(t.end)-o}}var s={tabSize:n?n.tabSize:4,insertSpaces:!n||n.insertSpaces,eol:"\n"};return Object(x.c)(e.getText(),i,s).map((function(t){return b.replace(r.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n(6),r=n(2),o=n(8),s=n(73),a=n(75),l=n(114);class c{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(e=>new a.b(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new a.b({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.b({open:t.open,close:t.close||""}))}this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(e,t,n){if(0===t.getTokenCount())return!0;const i=t.findTokenIndexAtOffset(n-2),r=t.getStandardTokenType(i);return e.isOK(r)}getSurroundingPairs(){return this._surroundingPairs}}c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var d=n(119);class h{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const n of t.close){const t=n.charAt(n.length-1);e.push(t)}return e=e.filter((e,t,n)=>n.indexOf(e)===t),e}onElectricCharacter(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;const i=t.findTokenIndexAtOffset(n-1);if(Object(l.b)(t.getStandardTokenType(i)))return null;const r=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,n-1)+e,s=d.a.findPrevBracketInRange(r,1,o,0,o.length);if(!s)return null;const a=o.substring(s.startColumn-1,s.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[a])return null;const c=t.getActualLineContentBefore(s.startColumn-1);return/^\s*$/.test(c)?{matchOpenBracket:a}:null}}class u{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var p=n(13);class m{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{const t=m._createOpenBracketRegExp(e[0]),n=m._createCloseBracketRegExp(e[1]);t&&n&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:n})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,n,i){if(e>=3)for(let e=0,r=this._regExpRules.length;e<r;e++){let r=this._regExpRules[e];if([{reg:r.beforeText,text:n},{reg:r.afterText,text:i},{reg:r.oneLineAboveText,text:t}].every(e=>!e.reg||e.reg.test(e.text)))return r.action}if(e>=2&&n.length>0&&i.length>0)for(let e=0,t=this._brackets.length;e<t;e++){let t=this._brackets[e];if(t.openRegExp.test(n)&&t.closeRegExp.test(i))return{indentAction:a.a.IndentOutdent}}if(e>=2&&n.length>0)for(let e=0,t=this._brackets.length;e<t;e++){if(this._brackets[e].openRegExp.test(n))return{indentAction:a.a.Indent}}return null}static _createOpenBracketRegExp(e){let t=o.v(e);return/\B/.test(t.charAt(0))||(t="\\b"+t),t+="\\s*$",m._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=o.v(e);return/\B/.test(t.charAt(t.length-1))||(t+="\\b"),t="^\\s*"+t,m._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(e){return Object(p.e)(e),null}}}class g{constructor(e,t,n){this._languageIdentifier=e,this._brackets=null,this._electricCharacter=null;let i=null;t&&(i=t._conf),this._conf=g._mergeConf(i,n),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new m(this._conf):null,this.comments=g._handleComments(this._conf),this.characterPair=new c(this._conf),this.wordDefinition=this._conf.wordPattern||s.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new u(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}get brackets(){return!this._brackets&&this._conf.brackets&&(this._brackets=new d.b(this._languageIdentifier,this._conf.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new h(this.brackets)),this._electricCharacter}onEnter(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}static _mergeConf(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}}static _handleComments(e){let t=e.comments;if(!t)return null;let n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){let[e,i]=t.blockComment;n.blockCommentStartToken=e,n.blockCommentEndToken=i}return n}}class f{constructor(e){this.languageIdentifier=e}}const b=new class{constructor(){this._entries=new Map,this._onDidChange=new i.a,this.onDidChange=this._onDidChange.event}register(e,t){let n=this._getRichEditSupport(e.id),i=new g(e,n,t);return this._entries.set(e.id,i),this._onDidChange.fire(new f(e)),Object(r.h)(()=>{this._entries.get(e.id)===i&&(this._entries.set(e.id,n),this._onDidChange.fire(new f(e)))})}_getRichEditSupport(e){return this._entries.get(e)}getIndentationRules(e){const t=this._entries.get(e);return t&&t.indentationRules||null}_getElectricCharacterSupport(e){let t=this._getRichEditSupport(e);return t&&t.electricCharacter||null}getElectricCharacters(e){let t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]}onElectricCharacter(e,t,n){let i=Object(l.a)(t,n-1),r=this._getElectricCharacterSupport(i.languageId);return r?r.onElectricCharacter(e,i,n-i.firstCharOffset):null}getComments(e){let t=this._getRichEditSupport(e);return t&&t.comments||null}_getCharacterPairSupport(e){let t=this._getRichEditSupport(e);return t&&t.characterPair||null}getAutoClosingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]}getAutoCloseBeforeSet(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]}shouldAutoClosePair(e,t,n){const i=Object(l.a)(t,n-1);return c.shouldAutoClosePair(e,i,n-i.firstCharOffset)}getWordDefinition(e){let t=this._getRichEditSupport(e);return t?Object(s.c)(t.wordDefinition||null):Object(s.c)(null)}getFoldingRules(e){let t=this._getRichEditSupport(e);return t?t.foldingRules:{}}getIndentRulesSupport(e){let t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null}getPrecedingValidLine(e,t,n){let i=e.getLanguageIdAtPosition(t,0);if(t>1){let r,o=-1;for(r=t-1;r>=1;r--){if(e.getLanguageIdAtPosition(r,0)!==i)return o;let t=e.getLineContent(r);if(!n.shouldIgnore(t)&&!/^\s+$/.test(t)&&""!==t)return r;o=r}}return-1}getInheritIndentForLine(e,t,n,i=!0){if(e<4)return null;const r=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!r)return null;if(n<=1)return{indentation:"",action:null};const s=this.getPrecedingValidLine(t,n,r);if(s<0)return null;if(s<1)return{indentation:"",action:null};const l=t.getLineContent(s);if(r.shouldIncrease(l)||r.shouldIndentNextLine(l))return{indentation:o.z(l),action:a.a.Indent,line:s};if(r.shouldDecrease(l))return{indentation:o.z(l),action:null,line:s};{if(1===s)return{indentation:o.z(t.getLineContent(s)),action:null,line:s};const e=s-1,n=r.getIndentMetadata(t.getLineContent(e));if(!(3&n)&&4&n){let n=0;for(let i=e-1;i>0;i--)if(!r.shouldIndentNextLine(t.getLineContent(i))){n=i;break}return{indentation:o.z(t.getLineContent(n+1)),action:null,line:n+1}}if(i)return{indentation:o.z(t.getLineContent(s)),action:null,line:s};for(let e=s;e>0;e--){const n=t.getLineContent(e);if(r.shouldIncrease(n))return{indentation:o.z(n),action:a.a.Indent,line:e};if(r.shouldIndentNextLine(n)){let n=0;for(let i=e-1;i>0;i--)if(!r.shouldIndentNextLine(t.getLineContent(e))){n=i;break}return{indentation:o.z(t.getLineContent(n+1)),action:null,line:n+1}}if(r.shouldDecrease(n))return{indentation:o.z(n),action:null,line:e}}return{indentation:o.z(t.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(e,t,n,i,r){if(e<4)return null;const s=this._getRichEditSupport(n);if(!s)return null;const l=this.getIndentRulesSupport(n);if(!l)return null;const c=this.getInheritIndentForLine(e,t,i),d=t.getLineContent(i);if(c){const n=c.line;if(void 0!==n){const i=s.onEnter(e,"",t.getLineContent(n),"");if(i){let e=o.z(t.getLineContent(n));return i.removeText&&(e=e.substring(0,e.length-i.removeText)),i.indentAction===a.a.Indent||i.indentAction===a.a.IndentOutdent?e=r.shiftIndent(e):i.indentAction===a.a.Outdent&&(e=r.unshiftIndent(e)),l.shouldDecrease(d)&&(e=r.unshiftIndent(e)),i.appendText&&(e+=i.appendText),o.z(e)}}return l.shouldDecrease(d)?c.action===a.a.Indent?c.indentation:r.unshiftIndent(c.indentation):c.action===a.a.Indent?r.shiftIndent(c.indentation):c.indentation}return null}getIndentForEnter(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);const r=t.getLineTokens(n.startLineNumber),s=Object(l.a)(r,n.startColumn-1),c=s.getLineContent();let d,h,u=!1;if(s.firstCharOffset>0&&r.getLanguageId(0)!==s.languageId?(u=!0,d=c.substr(0,n.startColumn-1-s.firstCharOffset)):d=r.getLineContent().substring(0,n.startColumn-1),n.isEmpty())h=c.substr(n.startColumn-1-s.firstCharOffset);else{h=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-s.firstCharOffset)}const p=this.getIndentRulesSupport(s.languageId);if(!p)return null;const m=d,g=o.z(d),f={getLineTokens:e=>t.getLineTokens(e),getLanguageIdentifier:()=>t.getLanguageIdentifier(),getLanguageIdAtPosition:(e,n)=>t.getLanguageIdAtPosition(e,n),getLineContent:e=>e===n.startLineNumber?m:t.getLineContent(e)},b=o.z(r.getLineContent()),_=this.getInheritIndentForLine(e,f,n.startLineNumber+1);if(!_){const e=u?b:g;return{beforeEnter:e,afterEnter:e}}let v=u?b:_.indentation;return _.action===a.a.Indent&&(v=i.shiftIndent(v)),p.shouldDecrease(h)&&(v=i.unshiftIndent(v)),{beforeEnter:u?b:g,afterEnter:v}}getIndentActionForType(e,t,n,i,r){if(e<4)return null;const o=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(o.languageId);if(!s)return null;const l=o.getLineContent(),c=l.substr(0,n.startColumn-1-o.firstCharOffset);let d;if(n.isEmpty())d=l.substr(n.startColumn-1-o.firstCharOffset);else{d=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-o.firstCharOffset)}if(!s.shouldDecrease(c+d)&&s.shouldDecrease(c+i+d)){const i=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!i)return null;let o=i.indentation;return i.action!==a.a.Indent&&(o=r.unshiftIndent(o)),o}return null}getIndentMetadata(e,t){const n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null}getEnterAction(e,t,n){const i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),r=this._getRichEditSupport(i.languageId);if(!r)return null;const o=i.getLineContent(),s=o.substr(0,n.startColumn-1-i.firstCharOffset);let l;if(n.isEmpty())l=o.substr(n.startColumn-1-i.firstCharOffset);else{l=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset)}let c="";if(n.startLineNumber>1&&0===i.firstCharOffset){const e=this.getScopedLineTokens(t,n.startLineNumber-1);e.languageId===i.languageId&&(c=e.getLineContent())}const d=r.onEnter(e,c,s,l);if(!d)return null;const h=d.indentAction;let u=d.appendText;const p=d.removeText||0;u||(u=h===a.a.Indent||h===a.a.IndentOutdent?"\t":"");let m=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return p&&(m=m.substring(0,m.length-p)),{indentAction:h,appendText:u,removeText:p,indentation:m}}getIndentationAtPosition(e,t,n){const i=e.getLineContent(t);let r=o.z(i);return r.length>n-1&&(r=r.substring(0,n-1)),r}getScopedLineTokens(e,t,n){e.forceTokenization(t);const i=e.getLineTokens(t),r=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(l.a)(i,r)}getBracketsSupport(e){const t=this._getRichEditSupport(e);return t&&t.brackets||null}}},function(e,t,n){"use strict";var i,r,o,s,a,l,c,d,h,u,p,m,g,f,b,_,v,w,y,C,x,S,k,E,T,L,N,I,D,O,A,R,M;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return C})),n.d(t,"u",(function(){return x})),n.d(t,"v",(function(){return S})),n.d(t,"w",(function(){return k})),n.d(t,"x",(function(){return E})),n.d(t,"y",(function(){return T})),n.d(t,"z",(function(){return L})),n.d(t,"A",(function(){return N})),n.d(t,"B",(function(){return I})),n.d(t,"C",(function(){return D})),n.d(t,"D",(function(){return O})),n.d(t,"E",(function(){return A})),n.d(t,"F",(function(){return R})),n.d(t,"G",(function(){return M})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(r||(r={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(u||(u={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(p||(p={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(f||(f={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(b||(b={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(_||(_={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(v||(v={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(w||(w={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(y||(y={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(C||(C={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(x||(x={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(S||(S={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(k||(k={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(E||(E={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(T||(T={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(L||(L={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(N||(N={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(I||(I={})),function(e){e[e.Deprecated=1]="Deprecated"}(D||(D={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(O||(O={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(R||(R={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(M||(M={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("codeEditorService")},function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _})),n.d(t,"h",(function(){return v}));var i=n(28);class r extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const r=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${r} ${i} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new r(t,"string",e)}function s(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,i){let r="",o=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(i(l))break;l=47}if(i(l)){if(s===c-1||1===a);else if(2===a){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){const e=r.lastIndexOf(n);-1===e?(r="",o=0):(r=r.slice(0,e),o=r.length-1-r.lastIndexOf(n)),s=c,a=0;continue}if(0!==r.length){r="",o=0,s=c,a=0;continue}}t&&(r+=r.length>0?n+"..":"..",o=2)}else r.length>0?r+=`${n}${e.slice(s+1,c)}`:r=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===l&&-1!==a?++a:a=-1}return r}function d(e,t){if(null===t||"object"!=typeof t)throw new r("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const h={resolve(...e){let t="",n="",r=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(c=e[a],o(c,"path"),0===c.length)continue}else 0===t.length?c=i.a():(c=i.b["="+t]||i.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const d=c.length;let h=0,u="",p=!1;const m=c.charCodeAt(0);if(1===d)s(m)&&(h=1,p=!0);else if(s(m))if(p=!0,s(c.charCodeAt(1))){let e=2,t=e;for(;e<d&&!s(c.charCodeAt(e));)e++;if(e<d&&e!==t){const n=c.slice(t,e);for(t=e;e<d&&s(c.charCodeAt(e));)e++;if(e<d&&e!==t){for(t=e;e<d&&!s(c.charCodeAt(e));)e++;e!==d&&e===t||(u=`\\\\${n}\\${c.slice(t,e)}`,h=e)}}}else h=1;else l(m)&&58===c.charCodeAt(1)&&(u=c.slice(0,2),h=2,d>2&&s(c.charCodeAt(2))&&(p=!0,h=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(r){if(t.length>0)break}else if(n=`${c.slice(h)}\\${n}`,r=p,p&&t.length>0)break}return n=c(n,!r,"\\",s),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,i=0,r=!1;const d=e.charCodeAt(0);if(1===t)return a(d)?"\\":e;if(s(d))if(r=!0,s(e.charCodeAt(1))){let r=2,o=r;for(;r<t&&!s(e.charCodeAt(r));)r++;if(r<t&&r!==o){const a=e.slice(o,r);for(o=r;r<t&&s(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&!s(e.charCodeAt(r));)r++;if(r===t)return`\\\\${a}\\${e.slice(o)}\\`;r!==o&&(n=`\\\\${a}\\${e.slice(o,r)}`,i=r)}}}else i=1;else l(d)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),i=2,t>2&&s(e.charCodeAt(2))&&(r=!0,i=3));let h=i<t?c(e.slice(i),!r,"\\",s):"";return 0!==h.length||r||(h="."),h.length>0&&s(e.charCodeAt(t-1))&&(h+="\\"),void 0===n?r?"\\"+h:h:r?`${n}\\${h}`:`${n}${h}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&l(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let i=0;i<e.length;++i){const r=e[i];o(r,"path"),r.length>0&&(void 0===t?t=n=r:t+="\\"+r)}if(void 0===t)return".";let i=!0,r=0;if("string"==typeof n&&s(n.charCodeAt(0))){++r;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++r,e>2&&(s(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&s(t.charCodeAt(r));)r++;r>=2&&(t="\\"+t.slice(r))}return h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=h.resolve(e),i=h.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let r=0;for(;r<e.length&&92===e.charCodeAt(r);)r++;let s=e.length;for(;s-1>r&&92===e.charCodeAt(s-1);)s--;const a=s-r;let l=0;for(;l<t.length&&92===t.charCodeAt(l);)l++;let c=t.length;for(;c-1>l&&92===t.charCodeAt(c-1);)c--;const d=c-l,u=a<d?a:d;let p=-1,m=0;for(;m<u;m++){const n=e.charCodeAt(r+m);if(n!==t.charCodeAt(l+m))break;92===n&&(p=m)}if(m!==u){if(-1===p)return i}else{if(d>u){if(92===t.charCodeAt(l+m))return i.slice(l+m+1);if(2===m)return i.slice(l+m)}a>u&&(92===e.charCodeAt(r+m)?p=m:2===m&&(p=3)),-1===p&&(p=0)}let g="";for(m=r+p+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(g+=0===g.length?"..":"\\..");return l+=p,g.length>0?`${g}${i.slice(l,c)}`:(92===i.charCodeAt(l)&&++l,i.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(1===t)return s(r)?e:".";if(s(r)){if(n=i=1,s(e.charCodeAt(1))){let r=2,o=r;for(;r<t&&!s(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&s(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&!s(e.charCodeAt(r));)r++;if(r===t)return e;r!==o&&(n=i=r+1)}}}}else l(r)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,i=n);let a=-1,c=!0;for(let n=t-1;n>=i;--n)if(s(e.charCodeAt(n))){if(!c){a=n;break}}else c=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,i=0,r=-1,a=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(n=e.length-1;n>=i;--n){const c=e.charCodeAt(n);if(s(c)){if(!a){i=n+1;break}}else-1===l&&(a=!1,l=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=l))}return i===r?r=l:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=i;--n)if(s(e.charCodeAt(n))){if(!a){i=n+1;break}}else-1===r&&(a=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){o(e,"path");let t=0,n=-1,i=0,r=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=i=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!a){i=o+1;break}}else-1===r&&(a=!1,r=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===r||0===c||1===c&&n===r-1&&n===i+1?"":e.slice(n,r)},format:d.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(1===n)return s(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(r)){if(i=1,s(e.charCodeAt(1))){let t=2,r=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==r){for(r=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==r){for(r=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?i=t:t!==r&&(i=t+1)}}}}else if(l(r)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(i=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let a=-1,c=i,d=-1,h=!0,u=e.length-1,p=0;for(;u>=i;--u)if(r=e.charCodeAt(u),s(r)){if(!h){c=u+1;break}}else-1===d&&(h=!1,d=u+1),46===r?-1===a?a=u:1!==p&&(p=1):-1!==a&&(p=-1);return-1!==d&&(-1===a||0===p||1===p&&a===d-1&&a===c+1?t.base=t.name=e.slice(c,d):(t.name=e.slice(c,a),t.base=e.slice(c,d),t.ext=e.slice(a,d))),t.dir=c>0&&c!==i?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},u={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:i.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=c(t,!n,"/",a),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",a)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];o(i,"path"),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":u.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=u.resolve(e))===(t=u.resolve(t)))return"";const n=e.length,i=n-1,r=t.length-1,s=i<r?i:r;let a=-1,l=0;for(;l<s;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;47===n&&(a=l)}if(l===s)if(r>s){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else i>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0));let c="";for(l=1+a+1;l<=n;++l)l!==n&&47!==e.charCodeAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!i){n=t;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,i=0,r=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(47===l){if(!s){i=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=a))}return i===r?r=a:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else-1===r&&(s=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){o(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(47!==a)-1===i&&(r=!1,i=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!r){n=o+1;break}}return-1===t||-1===i||0===s||1===s&&t===i-1&&t===n+1?"":e.slice(t,i)},format:d.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let i;n?(t.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,c=e.length-1,d=0;for(;c>=i;--c){const t=e.charCodeAt(c);if(47!==t)-1===a&&(l=!1,a=c+1),46===t?-1===r?r=c:1!==d&&(d=1):-1!==r&&(d=-1);else if(!l){s=c+1;break}}if(-1!==a){const i=0===s&&n?1:s;-1===r||0===d||1===d&&r===a-1&&r===s+1?t.base=t.name=e.slice(i,a):(t.name=e.slice(i,r),t.base=e.slice(i,a),t.ext=e.slice(r,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};u.win32=h.win32=h,u.posix=h.posix=u;const p="win32"===i.c?h.normalize:u.normalize,m="win32"===i.c?h.resolve:u.resolve,g="win32"===i.c?h.relative:u.relative,f="win32"===i.c?h.dirname:u.dirname,b="win32"===i.c?h.basename:u.basename,_="win32"===i.c?h.extname:u.extname,v="win32"===i.c?h.sep:u.sep},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return g}));var i=n(13);class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new r,s=new r,a=new r;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function d(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new p(0!==i?[h(n,t),h(i,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),i=!!(256&e);return new u(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n=t,i=n){o.define(e,t),s.define(e,n),a.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(l||(l={}));class u{constructor(e,t,n,i,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=r}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw Object(i.b)("parts");this.parts=e}}class m{constructor(e,t,n,i,r,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=r,this.keyAriaLabel=o}}class g{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(6);const r=(e,t,n)=>{const r=e=>o.fire(e),o=new i.a({onFirstListenerAdd:()=>{e.addEventListener(t,r,n)},onLastListenerRemove:()=>{e.removeEventListener(t,r,n)}});return o.event};function o(e){return i.b.map(e,e=>(e.preventDefault(),e.stopPropagation(),e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var i,r=n(23),o=n(11);!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebook="vscode-notebook",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeSettings="vscode-settings",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.vscodeWebviewResource="vscode-webview-resource",e.extension="extension"}(i||(i={}));const s=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n=`[${n}]`);const s=this._ports[t],a=this._connectionTokens[t];let l="path="+encodeURIComponent(e.path);return"string"==typeof a&&(l+="&tkn="+encodeURIComponent(a)),r.a.from({scheme:o.h?this._preferredWebSchema:i.vscodeRemoteResource,authority:`${n}:${s}`,path:"/vscode-remote-resource",query:l})}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h}));var i=n(14);function r(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]=r(e[n]):t[n]=e[n]}),t}function o(e){if(!e||"object"!=typeof e)return e;const t=[e];for(;t.length>0;){const e=t.shift();Object.freeze(e);for(const n in e)if(s.call(e,n)){const i=e[n];"object"!=typeof i||Object.isFrozen(i)||t.push(i)}}return e}const s=Object.prototype.hasOwnProperty;function a(e,t){return function e(t,n,r){if(Object(i.l)(t))return t;const o=n(t);if(void 0!==o)return o;if(Object(i.e)(t)){const i=[];for(const o of t)i.push(e(o,n,r));return i}if(Object(i.i)(t)){if(r.has(t))throw new Error("Cannot clone recursive data-structure");r.add(t);const i={};for(let o in t)s.call(t,o)&&(i[o]=e(t[o],n,r));return r.delete(t),i}return t}(e,t,new Set)}function l(e,t,n=!0){return Object(i.i)(e)?(Object(i.i)(t)&&Object.keys(t).forEach(r=>{r in e?n&&(Object(i.i)(e[r])&&Object(i.i)(t[r])?l(e[r],t[r],n):e[r]=t[r]):e[r]=t[r]}),e):t}function c(e,...t){return t.forEach(t=>Object.keys(t).forEach(n=>e[n]=t[n])),e}function d(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!d(e[n],t[n]))return!1}else{const r=[];for(i in e)r.push(i);r.sort();const o=[];for(i in t)o.push(i);if(o.sort(),!d(r,o))return!1;for(n=0;n<r.length;n++)if(!d(e[r[n]],t[r[n]]))return!1}return!0}function h(e,t,n){const i=t(e);return void 0===i?n:i}},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.h})),n.d(t,"d",(function(){return i.l})),n.d(t,"e",(function(){return i.m})),n.d(t,"f",(function(){return i.n}))},function(e,t,n){"use strict";var i;n.d(t,"g",(function(){return ui})),n.d(t,"d",(function(){return mn})),n.d(t,"b",(function(){return bn})),n.d(t,"a",(function(){return zn})),n.d(t,"e",(function(){return Bn})),n.d(t,"c",(function(){return Yn})),n.d(t,"f",(function(){return Xn})),n.d(t,"h",(function(){return Ho})),n.d(t,"j",(function(){return qo})),n.d(t,"i",(function(){return $o})),function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"}(i||(i={}));var r=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),o="a".charCodeAt(0),s="f".charCodeAt(0),a="z".charCodeAt(0),l="A".charCodeAt(0),c="F".charCodeAt(0),d="Z".charCodeAt(0),h="0".charCodeAt(0),u="9".charCodeAt(0),p="~".charCodeAt(0),m="^".charCodeAt(0),g="=".charCodeAt(0),f="|".charCodeAt(0),b="-".charCodeAt(0),_="_".charCodeAt(0),v="%".charCodeAt(0),w="*".charCodeAt(0),y="(".charCodeAt(0),C=")".charCodeAt(0),x="<".charCodeAt(0),S=">".charCodeAt(0),k="@".charCodeAt(0),E="#".charCodeAt(0),T="$".charCodeAt(0),L="\\".charCodeAt(0),N="/".charCodeAt(0),I="\n".charCodeAt(0),D="\r".charCodeAt(0),O="\f".charCodeAt(0),A='"'.charCodeAt(0),R="'".charCodeAt(0),M=" ".charCodeAt(0),P="\t".charCodeAt(0),F=";".charCodeAt(0),W=":".charCodeAt(0),z="{".charCodeAt(0),B="}".charCodeAt(0),j="[".charCodeAt(0),V="]".charCodeAt(0),U=",".charCodeAt(0),H=".".charCodeAt(0),q="!".charCodeAt(0),$={};$[F]=i.SemiColon,$[W]=i.Colon,$[z]=i.CurlyL,$[B]=i.CurlyR,$[V]=i.BracketR,$[j]=i.BracketL,$[y]=i.ParenthesisL,$[C]=i.ParenthesisR,$[U]=i.Comma;var K={};K.em=i.EMS,K.ex=i.EXS,K.px=i.Length,K.cm=i.Length,K.mm=i.Length,K.in=i.Length,K.pt=i.Length,K.pc=i.Length,K.deg=i.Angle,K.rad=i.Angle,K.grad=i.Angle,K.ms=i.Time,K.s=i.Time,K.hz=i.Freq,K.khz=i.Freq,K["%"]=i.Percentage,K.fr=i.Percentage,K.dpi=i.Resolution,K.dpcm=i.Resolution;var G=function(){function e(){this.stream=new r(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new r(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,i.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,i.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([x,q,b,b]))return this.finishToken(e,i.CDO);if(this.stream.advanceIfChars([b,b,S]))return this.finishToken(e,i.CDC);var t=[];if(this.ident(t))return this.finishToken(e,i.Ident,t.join(""));if(this.stream.advanceIfChar(k)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,i.Charset,n):this.finishToken(e,i.AtKeyword,n)}return this.finishToken(e,i.Delim)}if(this.stream.advanceIfChar(E))return t=["#"],this._name(t)?this.finishToken(e,i.Hash,t.join("")):this.finishToken(e,i.Delim);if(this.stream.advanceIfChar(q))return this.finishToken(e,i.Exclamation);if(this._number()){var r=this.stream.pos();if(t=[this.stream.substring(e,r)],this.stream.advanceIfChar(v))return this.finishToken(e,i.Percentage);if(this.ident(t)){var o=this.stream.substring(r).toLowerCase(),s=K[o];return void 0!==s?this.finishToken(e,s,t.join("")):this.finishToken(e,i.Dimension,t.join(""))}return this.finishToken(e,i.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):void 0!==(a=$[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===p&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Includes)):this.stream.peekChar(0)===f&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Dashmatch)):this.stream.peekChar(0)===w&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SubstringOperator)):this.stream.peekChar(0)===m&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.PrefixOperator)):this.stream.peekChar(0)===T&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,i.Delim))},e.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,i.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,i.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([N,w])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===N?(e=!0,!1):(t=n===w,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===H&&(t=1),(e=this.stream.peekChar(t))>=h&&e<=u&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=h&&e<=u||0===t&&e===H})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case D:case O:case I:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===D&&this.stream.advanceIfChar(I)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===L){this.stream.advance(1),n=this.stream.peekChar();for(var i=0;i<6&&(n>=h&&n<=u||n>=o&&n<=s||n>=l&&n<=c);)this.stream.advance(1),n=this.stream.peekChar(),i++;if(i>0){try{var r=parseInt(this.stream.substring(this.stream.pos()-i),16);r&&e.push(String.fromCharCode(r))}catch(e){}return n===M||n===P?this.stream.advance(1):this._newline([]),!0}if(n!==D&&n!==O&&n!==I)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==L&&n!==D&&n!==O&&n!==I&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===R||this.stream.peekChar()===A){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),i.String):i.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==L&&t!==R&&t!==A&&t!==y&&t!==C&&t!==M&&t!==P&&t!==I&&t!==O&&t!==D&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},e.prototype._whitespace=function(){return this.stream.advanceWhileChar((function(e){return e===M||e===P||e===I||e===O||e===D}))>0},e.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos();if(this._minus(e)&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===_||t>=o&&t<=a||t>=l&&t<=d||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===b&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===_||t===b||t>=o&&t<=a||t>=l&&t<=d||t>=h&&t<=u||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}();function Y(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function Z(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function X(e,t){return void 0===t&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}var Q,J,ee,te=(Q=function(e,t){return(Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function ne(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function ie(e,t){for(var n=ne(e,t),i=[];n;)i.unshift(n),n=n.parent;return i}!function(e){e[e.Undefined=0]="Undefined",e[e.Identifier=1]="Identifier",e[e.Stylesheet=2]="Stylesheet",e[e.Ruleset=3]="Ruleset",e[e.Selector=4]="Selector",e[e.SimpleSelector=5]="SimpleSelector",e[e.SelectorInterpolation=6]="SelectorInterpolation",e[e.SelectorCombinator=7]="SelectorCombinator",e[e.SelectorCombinatorParent=8]="SelectorCombinatorParent",e[e.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",e[e.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",e[e.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",e[e.Page=12]="Page",e[e.PageBoxMarginBox=13]="PageBoxMarginBox",e[e.ClassSelector=14]="ClassSelector",e[e.IdentifierSelector=15]="IdentifierSelector",e[e.ElementNameSelector=16]="ElementNameSelector",e[e.PseudoSelector=17]="PseudoSelector",e[e.AttributeSelector=18]="AttributeSelector",e[e.Declaration=19]="Declaration",e[e.Declarations=20]="Declarations",e[e.Property=21]="Property",e[e.Expression=22]="Expression",e[e.BinaryExpression=23]="BinaryExpression",e[e.Term=24]="Term",e[e.Operator=25]="Operator",e[e.Value=26]="Value",e[e.StringLiteral=27]="StringLiteral",e[e.URILiteral=28]="URILiteral",e[e.EscapedValue=29]="EscapedValue",e[e.Function=30]="Function",e[e.NumericValue=31]="NumericValue",e[e.HexColorValue=32]="HexColorValue",e[e.MixinDeclaration=33]="MixinDeclaration",e[e.MixinReference=34]="MixinReference",e[e.VariableName=35]="VariableName",e[e.VariableDeclaration=36]="VariableDeclaration",e[e.Prio=37]="Prio",e[e.Interpolation=38]="Interpolation",e[e.NestedProperties=39]="NestedProperties",e[e.ExtendsReference=40]="ExtendsReference",e[e.SelectorPlaceholder=41]="SelectorPlaceholder",e[e.Debug=42]="Debug",e[e.If=43]="If",e[e.Else=44]="Else",e[e.For=45]="For",e[e.Each=46]="Each",e[e.While=47]="While",e[e.MixinContentReference=48]="MixinContentReference",e[e.MixinContentDeclaration=49]="MixinContentDeclaration",e[e.Media=50]="Media",e[e.Keyframe=51]="Keyframe",e[e.FontFace=52]="FontFace",e[e.Import=53]="Import",e[e.Namespace=54]="Namespace",e[e.Invocation=55]="Invocation",e[e.FunctionDeclaration=56]="FunctionDeclaration",e[e.ReturnStatement=57]="ReturnStatement",e[e.MediaQuery=58]="MediaQuery",e[e.FunctionParameter=59]="FunctionParameter",e[e.FunctionArgument=60]="FunctionArgument",e[e.KeyframeSelector=61]="KeyframeSelector",e[e.ViewPort=62]="ViewPort",e[e.Document=63]="Document",e[e.AtApplyRule=64]="AtApplyRule",e[e.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",e[e.CustomPropertySet=66]="CustomPropertySet",e[e.ListEntry=67]="ListEntry",e[e.Supports=68]="Supports",e[e.SupportsCondition=69]="SupportsCondition",e[e.NamespacePrefix=70]="NamespacePrefix",e[e.GridLine=71]="GridLine",e[e.Plugin=72]="Plugin",e[e.UnknownAtRule=73]="UnknownAtRule",e[e.Use=74]="Use",e[e.ModuleConfiguration=75]="ModuleConfiguration",e[e.Forward=76]="Forward",e[e.ForwardVisibility=77]="ForwardVisibility",e[e.Module=78]="Module"}(J||(J={})),function(e){e[e.Mixin=0]="Mixin",e[e.Rule=1]="Rule",e[e.Variable=2]="Variable",e[e.Function=3]="Function",e[e.Keyframe=4]="Keyframe",e[e.Unknown=5]="Unknown",e[e.Module=6]="Module",e[e.Forward=7]="Forward",e[e.ForwardVisibility=8]="ForwardVisibility"}(ee||(ee={}));var re,oe=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||J.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){n[t].accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),-1!==t?i.splice(t,0,e):i.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.addChild(i)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if((t=this.children[n]).offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){for(var e=this.parent;e instanceof se;)e=e.parent;return e},e.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this;n&&!e.some((function(e){return n.type===e}));)n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),se=function(e){function t(t,n){void 0===n&&(n=-1);var i=e.call(this,-1,-1)||this;return i.attachTo(t,n),i.offset=-1,i.length=-1,i}return te(t,e),t}(oe),ae=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.isCustomProperty=!1,i}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(oe),le=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Stylesheet},enumerable:!0,configurable:!0}),t}(oe),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Declarations},enumerable:!0,configurable:!0}),t}(oe),de=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(oe),he=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(J.Declarations)},t}(de),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Selector},enumerable:!0,configurable:!0}),t}(oe),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.SimpleSelector},enumerable:!0,configurable:!0}),t}(oe),me=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(oe),ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t}(oe),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(ge),be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.CustomPropertySet},enumerable:!0,configurable:!0}),t}(de),_e=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.property=null,i}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof ce&&this.parent.getParent()instanceof De){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(ge),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return e=this.getText(),(t=/[_\+]+$/.exec(e))&&t[0].length?e.substr(0,e.length-t[0].length):e;var e,t},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(oe),we=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(oe)),ye=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(oe),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(oe),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(de),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(de),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new se(this)),this.variables},t}(de),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.While},enumerable:!0,configurable:!0}),t}(de),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Else},enumerable:!0,configurable:!0}),t}(de),Le=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),Ne=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ViewPort},enumerable:!0,configurable:!0}),t}(de),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.FontFace},enumerable:!0,configurable:!0}),t}(de),De=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.NestedProperties},enumerable:!0,configurable:!0}),t}(de),Oe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(de),Ae=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.KeyframeSelector},enumerable:!0,configurable:!0}),t}(de),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(oe),Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(oe),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Namespace},enumerable:!0,configurable:!0}),t}(oe),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Media},enumerable:!0,configurable:!0}),t}(de),je=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Supports},enumerable:!0,configurable:!0}),t}(de),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Document},enumerable:!0,configurable:!0}),t}(de),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new se(this)),this.mediums},t}(oe),He=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MediaQuery},enumerable:!0,configurable:!0}),t}(oe),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.SupportsCondition},enumerable:!0,configurable:!0}),t}(oe),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Page},enumerable:!0,configurable:!0}),t}(de),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(de),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Expression},enumerable:!0,configurable:!0}),t}(oe),Ye=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(oe),Ze=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(oe),Xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(oe),Qe=(function(e){function t(t,n){return e.call(this,t,n)||this}te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Operator},enumerable:!0,configurable:!0})}(oe),function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.HexColorValue},enumerable:!0,configurable:!0}),t}(oe)),Je=".".charCodeAt(0),et="0".charCodeAt(0),tt="9".charCodeAt(0),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,i=0,r=t.length;i<r&&(e=t.charCodeAt(i),et<=e&&e<=tt||e===Je);i++)n+=1;return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(oe),it=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(ge),rt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Interpolation},enumerable:!0,configurable:!0}),t}(oe),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(oe),st=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t}(oe),at=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(oe),lt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),ct=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new se(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(oe),dt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(de),ht=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(de),ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(oe),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new se(this)),this.conditions},t}(oe),mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(oe),gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return J.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe);!function(e){e[e.Ignore=1]="Ignore",e[e.Warning=2]="Warning",e[e.Error=4]="Error"}(re||(re={}));var ft=function(){function e(e,t,n,i,r,o){void 0===r&&(r=e.offset),void 0===o&&(o=e.length),this.node=e,this.rule=t,this.level=n,this.message=i||t.message,this.offset=r,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),bt=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function _t(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function vt(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return _t(t,n)}function wt(e){return vt}var yt=wt(),Ct=function(e,t){this.id=e,this.message=t},xt={NumberExpected:new Ct("css-numberexpected",yt("expected.number","number expected")),ConditionExpected:new Ct("css-conditionexpected",yt("expected.condt","condition expected")),RuleOrSelectorExpected:new Ct("css-ruleorselectorexpected",yt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new Ct("css-dotexpected",yt("expected.dot","dot expected")),ColonExpected:new Ct("css-colonexpected",yt("expected.colon","colon expected")),SemiColonExpected:new Ct("css-semicolonexpected",yt("expected.semicolon","semi-colon expected")),TermExpected:new Ct("css-termexpected",yt("expected.term","term expected")),ExpressionExpected:new Ct("css-expressionexpected",yt("expected.expression","expression expected")),OperatorExpected:new Ct("css-operatorexpected",yt("expected.operator","operator expected")),IdentifierExpected:new Ct("css-identifierexpected",yt("expected.ident","identifier expected")),PercentageExpected:new Ct("css-percentageexpected",yt("expected.percentage","percentage expected")),URIOrStringExpected:new Ct("css-uriorstringexpected",yt("expected.uriorstring","uri or string expected")),URIExpected:new Ct("css-uriexpected",yt("expected.uri","URI expected")),VariableNameExpected:new Ct("css-varnameexpected",yt("expected.varname","variable name expected")),VariableValueExpected:new Ct("css-varvalueexpected",yt("expected.varvalue","variable value expected")),PropertyValueExpected:new Ct("css-propertyvalueexpected",yt("expected.propvalue","property value expected")),LeftCurlyExpected:new Ct("css-lcurlyexpected",yt("expected.lcurly","{ expected")),RightCurlyExpected:new Ct("css-rcurlyexpected",yt("expected.rcurly","} expected")),LeftSquareBracketExpected:new Ct("css-rbracketexpected",yt("expected.lsquare","[ expected")),RightSquareBracketExpected:new Ct("css-lbracketexpected",yt("expected.rsquare","] expected")),LeftParenthesisExpected:new Ct("css-lparentexpected",yt("expected.lparen","( expected")),RightParenthesisExpected:new Ct("css-rparentexpected",yt("expected.rparent",") expected")),CommaExpected:new Ct("css-commaexpected",yt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new Ct("css-pagedirordeclexpected",yt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new Ct("css-unknownatrule",yt("unknown.atrule","at-rule unknown")),UnknownKeyword:new Ct("css-unknownkeyword",yt("unknown.keyword","unknown keyword")),SelectorExpected:new Ct("css-selectorexpected",yt("expected.selector","selector expected")),StringLiteralExpected:new Ct("css-stringliteralexpected",yt("expected.stringliteral","string literal expected")),WhitespaceExpected:new Ct("css-whitespaceexpected",yt("expected.whitespace","whitespace expected")),MediaQueryExpected:new Ct("css-mediaqueryexpected",yt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new Ct("css-idorwildcardexpected",yt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new Ct("css-wildcardexpected",yt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new Ct("css-idorvarexpected",yt("expected.idorvar","identifier or variable expected"))},St={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function kt(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function Et(e,t){var n;if(""!==(n=t?{kind:"markdown",value:Nt(e)}:{kind:"plaintext",value:Lt(e)}).value)return n}function Tt(e){return(e=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(/</g,"<").replace(/>/g,">")}function Lt(e){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;var t="";e.status&&(t+=kt(e.status)),t+=e.description;var n=It(e.browsers);return n&&(t+="\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return e.name+": "+e.url})).join(" | ")),t}function Nt(e){if(!e.description||""===e.description)return"";var t="";e.status&&(t+=kt(e.status)),t+=Tt("string"==typeof e.description?e.description:e.description.value);var n=It(e.browsers);return n&&(t+="\n\n("+Tt(n)+")"),"syntax"in e&&e.syntax&&(t+="\n\nSyntax: "+Tt(e.syntax)),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | ")),t}function It(e){return void 0===e&&(e=[]),0===e.length?null:e.map((function(e){var t="",n=e.match(/([A-Z]+)(\d+)?/),i=n[1],r=n[2];return i in St&&(t+=St[i]),r&&(t+=" "+r),t})).join(", ")}var Dt=wt(),Ot=[{func:"rgb($red, $green, $blue)",desc:Dt("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Dt("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Dt("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Dt("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],At={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Rt={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Mt(e,t){var n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);var i=parseFloat(n[1])/t;if(i>=0&&i<=1)return i}throw new Error}function Pt(e){var t=e.getName();return!!t&&/^(rgb|rgba|hsl|hsla)$/gi.test(t)}function Ft(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Wt(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ft(e.charCodeAt(1))/255,green:17*Ft(e.charCodeAt(2))/255,blue:17*Ft(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ft(e.charCodeAt(1))/255,green:17*Ft(e.charCodeAt(2))/255,blue:17*Ft(e.charCodeAt(3))/255,alpha:17*Ft(e.charCodeAt(4))/255};case 7:return{red:(16*Ft(e.charCodeAt(1))+Ft(e.charCodeAt(2)))/255,green:(16*Ft(e.charCodeAt(3))+Ft(e.charCodeAt(4)))/255,blue:(16*Ft(e.charCodeAt(5))+Ft(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ft(e.charCodeAt(1))+Ft(e.charCodeAt(2)))/255,green:(16*Ft(e.charCodeAt(3))+Ft(e.charCodeAt(4)))/255,blue:(16*Ft(e.charCodeAt(5))+Ft(e.charCodeAt(6)))/255,alpha:(16*Ft(e.charCodeAt(7))+Ft(e.charCodeAt(8)))/255}}return null}function zt(e){if(e.type===J.HexColorValue)return Wt(e.getText());if(e.type===J.Function){var t=e,n=t.getName(),i=t.getArguments().getChildren();if(!n||i.length<3||i.length>4)return null;try{var r=4===i.length?Mt(i[3],1):1;if("rgb"===n||"rgba"===n)return{red:Mt(i[0],255),green:Mt(i[1],255),blue:Mt(i[2],255),alpha:r};if("hsl"===n||"hsla"===n)return function(e,t,n,i){if(void 0===i&&(i=1),0===t)return{red:n,green:n,blue:n,alpha:i};var r=function(e,t,n){for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return{red:r(s,o,(e/=60)+2),green:r(s,o,e),blue:r(s,o,e-2),alpha:i}}(function(e){var t=e.getText();if(t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(t)%360;throw new Error}(i[0]),Mt(i[1],100),Mt(i[2],100),r)}catch(e){return null}}else if(e.type===J.Identifier){if(e.parent&&e.parent.type!==J.Term)return null;var o=e.parent;if(o&&o.parent&&o.parent.type===J.BinaryExpression){var s=o.parent;if(s.parent&&s.parent.type===J.ListEntry&&s.parent.key===s)return null}var a=e.getText().toLowerCase();if("none"===a)return null;var l=At[a];if(l)return Wt(l)}return null}var Bt={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},jt={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},Vt={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Ut=["medium","thick","thin"],Ht={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},qt={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},$t={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Kt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Gt={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Yt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Zt={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Xt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Qt=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],Jt=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function en(e){return Object.keys(e).map((function(t){return e[t]}))}function tn(e){return void 0!==e}var nn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i},rn=function(){function e(e){void 0===e&&(e=new G),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=e,this.token={type:i.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return e.prototype.peekIdent=function(e){return i.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(e){return i.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekDelim=function(e){return i.Delim===this.token.type&&e===this.token.text},e.prototype.peek=function(e){return e===this.token.type},e.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},e.prototype.try=function(e){var t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)},e.prototype.acceptOneKeyword=function(e){if(i.AtKeyword===this.token.type)for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.length===this.token.text.length&&r===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(e){return e===this.token.type&&(this.consumeToken(),!0)},e.prototype.acceptIdent=function(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)},e.prototype.acceptKeyword=function(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)},e.prototype.acceptDelim=function(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)},e.prototype.acceptRegexp=function(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)},e.prototype._parseRegexp=function(e){var t=this.createNode(J.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)},e.prototype.acceptUnquotedString=function(){var e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)},e.prototype.resync=function(e,t){for(;;){if(e&&-1!==e.indexOf(this.token.type))return this.consumeToken(),!0;if(t&&-1!==t.indexOf(this.token.type))return!0;if(this.token.type===i.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(e){return new oe(this.token.offset,this.token.len,e)},e.prototype.create=function(e){return new e(this.token.offset,this.token.len)},e.prototype.finish=function(e,t,n,i){if(!(e instanceof se)&&(t&&this.markError(e,t,n,i),this.prevToken)){var r=this.prevToken.offset+this.prevToken.len;e.length=r>e.offset?r-e.offset:0}return e},e.prototype.markError=function(e,t,n,i){this.token!==this.lastErrorToken&&(e.addIssue(new ft(e,t,re.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||i)&&this.resync(n,i)},e.prototype.parseStylesheet=function(e){var t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,(function(i,r){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(i,r)}))},e.prototype.internalParse=function(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();var i=t.bind(this)();return i&&(i.textProvider=n||function(t,n){return e.substr(t,n)}),i},e.prototype._parseStylesheet=function(){for(var e=this.create(le);e.addChild(this._parseStylesheetStart()););var t=!1;do{var n=!1;do{n=!1;var r=this._parseStylesheetStatement();for(r&&(e.addChild(r),n=!0,t=!1,this.peek(i.EOF)||!this._needsSemicolonAfter(r)||this.accept(i.SemiColon)||this.markError(e,xt.SemiColonExpected));this.accept(i.SemiColon)||this.accept(i.CDO)||this.accept(i.CDC);)n=!0,t=!1}while(n);if(this.peek(i.EOF))break;t||(this.peek(i.AtKeyword)?this.markError(e,xt.UnknownAtRule):this.markError(e,xt.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(i.EOF));return this.finish(e)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(e){return void 0===e&&(e=!1),this.peek(i.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},e.prototype._parseStylesheetAtStatement=function(e){return void 0===e&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(i.Comma)&&this._parseSelector(e););if(this.accept(i.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},e.prototype._parseRuleset=function(e){void 0===e&&(e=!1);var t=this.create(he),n=t.getSelectors();if(!n.addChild(this._parseSelector(e)))return null;for(;this.accept(i.Comma);)if(!n.addChild(this._parseSelector(e)))return this.finish(t,xt.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseAtApply()||this._parseUnknownAtRule()},e.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()},e.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var e=this.create(me);return this.consumeToken(),e.setIdentifier(this._parseIdent([ee.Variable]))?this.finish(e):this.finish(e,xt.IdentifierExpected)},e.prototype._needsSemicolonAfter=function(e){switch(e.type){case J.Keyframe:case J.ViewPort:case J.Media:case J.Ruleset:case J.Namespace:case J.If:case J.For:case J.Each:case J.While:case J.MixinDeclaration:case J.FunctionDeclaration:case J.MixinContentDeclaration:return!1;case J.ExtendsReference:case J.MixinContentReference:case J.ReturnStatement:case J.MediaQuery:case J.Debug:case J.Import:case J.AtApplyRule:case J.CustomPropertyDeclaration:return!0;case J.VariableDeclaration:return e.needsSemicolon;case J.MixinReference:return!e.getContent();case J.Declaration:return!e.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(e){var t=this.create(ce);if(!this.accept(i.CurlyL))return null;for(var n=e();t.addChild(n)&&!this.peek(i.CurlyR);){if(this._needsSemicolonAfter(n)&&!this.accept(i.SemiColon))return this.finish(t,xt.SemiColonExpected,[i.SemiColon,i.CurlyR]);for(n&&this.prevToken&&this.prevToken.type===i.SemiColon&&(n.semicolonPosition=this.prevToken.offset);this.accept(i.SemiColon););n=e()}return this.accept(i.CurlyR)?this.finish(t):this.finish(t,xt.RightCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,xt.LeftCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseSelector=function(e){var t=this.create(ue),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null},e.prototype._parseDeclaration=function(e){var t=this.create(_e);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon)){var n=e?nn(e,[i.SemiColon]):[i.SemiColon];return this.finish(t,xt.ColonExpected,[i.Colon],n)}return this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseExpr())?(t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):this.finish(t,xt.PropertyValueExpected)},e.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(i.Ident,/^--/))return null;var e=this.create(fe);if(!e.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(e,xt.ColonExpected,[i.Colon]);this.prevToken&&(e.colonPosition=this.prevToken.offset);var t=this.mark();if(this.peek(i.CurlyL)){var n=this.create(be),r=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(n.setDeclarations(r)&&!r.isErroneous(!0)&&(n.addChild(this._parsePrio()),this.peek(i.SemiColon)))return this.finish(n),e.setPropertySet(n),e.semicolonPosition=this.token.offset,this.finish(e);this.restoreAtMark(t)}var o=this._parseExpr();return o&&!o.isErroneous(!0)&&(this._parsePrio(),this.peek(i.SemiColon))?(e.setValue(o),e.semicolonPosition=this.token.offset,this.finish(e)):(this.restoreAtMark(t),e.addChild(this._parseCustomPropertyValue()),e.addChild(this._parsePrio()),tn(e.colonPosition)&&this.token.offset===e.colonPosition+1?this.finish(e,xt.PropertyValueExpected):this.finish(e))},e.prototype._parseCustomPropertyValue=function(){var e=this.create(oe),t=function(){return 0===n&&0===r&&0===o},n=0,r=0,o=0;e:for(;;){switch(this.token.type){case i.SemiColon:case i.Exclamation:if(t())break e;break;case i.CurlyL:n++;break;case i.CurlyR:if(--n<0){if(0===r&&0===o)break e;return this.finish(e,xt.LeftCurlyExpected)}break;case i.ParenthesisL:r++;break;case i.ParenthesisR:if(--r<0)return this.finish(e,xt.LeftParenthesisExpected);break;case i.BracketL:o++;break;case i.BracketR:if(--o<0)return this.finish(e,xt.LeftSquareBracketExpected);break;case i.BadString:break e;case i.EOF:var s=xt.RightCurlyExpected;return o>0?s=xt.RightSquareBracketExpected:r>0&&(s=xt.RightParenthesisExpected),this.finish(e,s)}this.consumeToken()}return this.finish(e)},e.prototype._tryToParseDeclaration=function(){var e=this.mark();return this._parseProperty()&&this.accept(i.Colon)?(this.restoreAtMark(e),this._parseDeclaration()):(this.restoreAtMark(e),null)},e.prototype._parseProperty=function(){var e=this.create(ve),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(i.Charset))return null;var e=this.create(oe);return this.consumeToken(),this.accept(i.String)?this.accept(i.SemiColon)?this.finish(e):this.finish(e,xt.SemiColonExpected):this.finish(e,xt.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Re);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,xt.URIOrStringExpected)},e.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(ze);return this.consumeToken(),e.addChild(this._parseURILiteral())||(e.addChild(this._parseIdent()),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral()))?this.accept(i.SemiColon)?this.finish(e):this.finish(e,xt.SemiColonExpected):this.finish(e,xt.URIExpected,[i.SemiColon])},e.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(Ie);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(Ne);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(i.AtKeyword,this.keyframeRegex))return null;var e=this.create(Oe),t=this.create(oe);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,xt.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,xt.IdentifierExpected,[i.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])},e.prototype._parseKeyframeSelector=function(){var e=this.create(Ae);if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.finish(e,xt.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var e=this.create(Ae),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.restoreAtMark(t),null;return this.peek(i.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},e.prototype._parseSupports=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(je);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},e.prototype._parseSupportsDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var e=this.create(qe);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(i.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},e.prototype._parseSupportsConditionInParens=function(){var e=this.create(qe);if(this.accept(i.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),e.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(i.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,xt.RightParenthesisExpected,[i.ParenthesisR],[]):this.finish(e,xt.ConditionExpected);if(this.peek(i.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(i.ParenthesisL)){for(var n=1;this.token.type!==i.EOF&&0!==n;)this.token.type===i.ParenthesisL?n++:this.token.type===i.ParenthesisR&&n--,this.consumeToken();return this.finish(e)}this.restoreAtMark(t)}return this.finish(e,xt.LeftParenthesisExpected,[],[i.ParenthesisL])},e.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(Be);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,xt.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var e=this.create(Ue);if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,xt.MediaQueryExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,xt.MediaQueryExpected);return this.finish(e)},e.prototype._parseMediaQuery=function(e){var t=this.create(He),n=!0,r=!1;if(!this.peek(i.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!t.addChild(this._parseIdent()))return null;r=!0,n=this.acceptIdent("and")}for(;n;)if(t.addChild(this._parseMediaContentStart()))n=this.acceptIdent("and");else{if(!this.accept(i.ParenthesisL))return r?this.finish(t,xt.LeftParenthesisExpected,[],e):null;if(!t.addChild(this._parseMediaFeatureName()))return this.finish(t,xt.IdentifierExpected,[],e);if(this.accept(i.Colon)&&!t.addChild(this._parseExpr()))return this.finish(t,xt.TermExpected,[],e);if(!this.accept(i.ParenthesisR))return this.finish(t,xt.RightParenthesisExpected,[],e);n=this.acceptIdent("and")}return this.finish(t)},e.prototype._parseMediaContentStart=function(){return null},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMedium=function(){var e=this.create(oe);return e.addChild(this._parseIdent())?this.finish(e):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create($e);if(this.consumeToken(),e.addChild(this._parsePageSelector()))for(;this.accept(i.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,xt.IdentifierExpected);return this._parseBody(e,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(Ke);return this.acceptOneKeyword(Jt)||this.markError(e,xt.UnknownAtRule,[],[i.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(i.Ident)&&!this.peek(i.Colon))return null;var e=this.create(oe);return e.addChild(this._parseIdent()),this.accept(i.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,xt.IdentifierExpected):this.finish(e)},e.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(Ve);return this.consumeToken(),this.resync([],[i.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(ht);e.addChild(this._parseUnknownAtRuleName());var t=0,n=0,r=0,o=0;e:for(;;){switch(this.token.type){case i.SemiColon:if(0===n&&0===r&&0===o)break e;break;case i.EOF:return n>0?this.finish(e,xt.RightCurlyExpected):o>0?this.finish(e,xt.RightSquareBracketExpected):r>0?this.finish(e,xt.RightParenthesisExpected):this.finish(e);case i.CurlyL:t++,n++;break;case i.CurlyR:if(n--,t>0&&0===n){if(this.consumeToken(),o>0)return this.finish(e,xt.RightSquareBracketExpected);if(r>0)return this.finish(e,xt.RightParenthesisExpected);break e}if(n<0){if(0===r&&0===o)break e;return this.finish(e,xt.LeftCurlyExpected)}break;case i.ParenthesisL:r++;break;case i.ParenthesisR:if(--r<0)return this.finish(e,xt.LeftParenthesisExpected);break;case i.BracketL:o++;break;case i.BracketR:if(--o<0)return this.finish(e,xt.LeftSquareBracketExpected)}this.consumeToken()}return e},e.prototype._parseUnknownAtRuleName=function(){var e=this.create(oe);return this.accept(i.AtKeyword)?this.finish(e):e},e.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(i.Dashmatch)||this.peek(i.Includes)||this.peek(i.SubstringOperator)||this.peek(i.PrefixOperator)||this.peek(i.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(J.Operator);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(oe);return this.consumeToken(),this.finish(e)},e.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(oe);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=J.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=J.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){e=this.create(oe);return this.consumeToken(),e.type=J.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){e=this.create(oe);return this.consumeToken(),e.type=J.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){e=this.create(oe);this.consumeToken();t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=J.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},e.prototype._parseSimpleSelector=function(){var e=this.create(pe),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(i.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(J.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,xt.IdentifierExpected)}else this.consumeToken();return this.finish(e)},e.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(J.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,xt.IdentifierExpected):this.finish(e)},e.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(J.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(J.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseAttrib=function(){if(!this.peek(i.BracketL))return null;var e=this.create(Xe);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(i.BracketR)?this.finish(e):this.finish(e,xt.RightSquareBracketExpected)):this.finish(e,xt.IdentifierExpected)},e.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(i.ParenthesisL)){if(t.addChild(this.try((function(){var t=e.create(oe);if(!t.addChild(e._parseSelector(!1)))return null;for(;e.accept(i.Comma)&&t.addChild(e._parseSelector(!1)););return e.peek(i.ParenthesisR)?e.finish(t):null}))||this._parseBinaryExpr()),!this.accept(i.ParenthesisR))return this.finish(t,xt.RightParenthesisExpected)}return this.finish(t)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(i.Colon))return null;var e=this.mark(),t=this.createNode(J.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(i.Colon)&&this.hasWhitespace()&&this.markError(t,xt.IdentifierExpected),t.addChild(this._parseIdent())||this.markError(t,xt.IdentifierExpected),t)},e.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},e.prototype._parsePrio=function(){if(!this.peek(i.Exclamation))return null;var e=this.createNode(J.Prio);return this.accept(i.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},e.prototype._parseExpr=function(e){void 0===e&&(e=!1);var t=this.create(Ge);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(i.Comma)){if(e)return this.finish(t);this.consumeToken()}if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},e.prototype._parseNamedLine=function(){if(!this.peek(i.BracketL))return null;var e=this.createNode(J.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(i.BracketR)?this.finish(e):this.finish(e,xt.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(e,t){var n=this.create(Ye);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,xt.TermExpected);n=this.finish(n);var i=this._parseOperator();return i&&(n=this._parseBinaryExpr(n,i)),this.finish(n)},e.prototype._parseTerm=function(){var e=this.create(Ze);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseTermExpression())?this.finish(e):null},e.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},e.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(oe);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(i.Num)||this.peek(i.Percentage)||this.peek(i.Resolution)||this.peek(i.Length)||this.peek(i.EMS)||this.peek(i.EXS)||this.peek(i.Angle)||this.peek(i.Time)||this.peek(i.Dimension)||this.peek(i.Freq)){var e=this.create(nt);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(i.String)&&!this.peek(i.BadString))return null;var e=this.createNode(J.StringLiteral);return this.consumeToken(),this.finish(e)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(i.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(J.URILiteral);return this.accept(i.Ident),this.hasWhitespace()||!this.peek(i.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var e=this.create(oe);return this.accept(i.String)||this.accept(i.BadString)||this.acceptUnquotedString()?this.finish(e):null},e.prototype._parseIdent=function(e){if(!this.peek(i.Ident))return null;var t=this.create(ae);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(i.Ident,/^--/),this.consumeToken(),this.finish(t)},e.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,xt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(i.Ident))return null;var e=this.create(ae);if(e.referenceTypes=[ee.Function],this.acceptIdent("progid")){if(this.accept(i.Colon))for(;this.accept(i.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},e.prototype._parseFunctionArgument=function(){var e=this.create(Ce);return e.setValue(this._parseExpr(!0))?this.finish(e):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(i.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(Qe);return this.consumeToken(),this.finish(e)}return null},e}();function on(e,t){return-1!==e.indexOf(t)}function sn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],i=0,r=e;i<r.length;i++)for(var o=r[i],s=0,a=o;s<a.length;s++){var l=a[s];on(n,l)||n.push(l)}return n}var an,ln,cn,dn,hn,un,pn,mn,gn,fn,bn,_n,vn,wn,yn,Cn,xn,Sn,kn,En,Tn,Ln=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Nn=function(){function e(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(e){this.children.push(e),e.setParent(this)},e.prototype.setParent=function(e){this.parent=e},e.prototype.findScope=function(e,t){return void 0===t&&(t=0),this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},e.prototype.findInScope=function(e,t){void 0===t&&(t=0);var n=e+t,i=function(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}(this.children,(function(e){return e.offset>n}));if(0===i)return this;var r=this.children[i-1];return r.offset<=e&&r.offset+r.length>=e+t?r.findInScope(e,t):this},e.prototype.addSymbol=function(e){this.symbols.push(e)},e.prototype.getSymbol=function(e,t){for(var n=0;n<this.symbols.length;n++){var i=this.symbols[n];if(i.name===e&&i.type===t)return i}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),In=function(e){function t(){return e.call(this,0,Number.MAX_VALUE)||this}return Ln(t,e),t}(Nn),Dn=function(e,t,n,i){this.name=e,this.value=t,this.node=n,this.type=i},On=function(){function e(e){this.scope=e}return e.prototype.addSymbol=function(e,t,n,i){if(-1!==e.offset){var r=this.scope.findScope(e.offset,e.length);r&&r.addSymbol(new Dn(t,n,e,i))}},e.prototype.addScope=function(e){if(-1!==e.offset){var t=this.scope.findScope(e.offset,e.length);if(t&&(t.offset!==e.offset||t.length!==e.length)){var n=new Nn(e.offset,e.length);return t.addChild(n),n}return t}return null},e.prototype.addSymbolToChildScope=function(e,t,n,i,r){if(e&&-1!==e.offset){var o=this.addScope(e);o&&o.addSymbol(new Dn(n,i,t,r))}},e.prototype.visitNode=function(e){switch(e.type){case J.Keyframe:return this.addSymbol(e,e.getName(),void 0,ee.Keyframe),!0;case J.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(e);case J.VariableDeclaration:return this.visitVariableDeclarationNode(e);case J.Ruleset:return this.visitRuleSet(e);case J.MixinDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Mixin),!0;case J.FunctionDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Function),!0;case J.FunctionParameter:return this.visitFunctionParameterNode(e);case J.Declarations:return this.addScope(e),!0;case J.For:var t=e,n=t.getDeclarations();return n&&t.variable&&this.addSymbolToChildScope(n,t.variable,t.variable.getName(),void 0,ee.Variable),!0;case J.Each:var i=e,r=i.getDeclarations();if(r)for(var o=0,s=i.getVariables().getChildren();o<s.length;o++){var a=s[o];this.addSymbolToChildScope(r,a,a.getName(),void 0,ee.Variable)}return!0}return!0},e.prototype.visitRuleSet=function(e){var t=this.scope.findScope(e.offset,e.length);if(t)for(var n=0,i=e.getSelectors().getChildren();n<i.length;n++){var r=i[n];r instanceof ue&&1===r.getChildren().length&&t.addSymbol(new Dn(r.getChild(0).getText(),void 0,r,ee.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():void 0;return this.addSymbol(e,e.getName(),t,ee.Variable),!0},e.prototype.visitFunctionParameterNode=function(e){var t=e.getParent().getDeclarations();if(t){var n=e.getDefaultValue(),i=n?n.getText():void 0;this.addSymbolToChildScope(t,e,e.getName(),i,ee.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():"";return this.addCSSVariable(e.getProperty(),e.getProperty().getName(),t,ee.Variable),!0},e.prototype.addCSSVariable=function(e,t,n,i){-1!==e.offset&&this.scope.addSymbol(new Dn(t,n,e,i))},e}(),An=function(){function e(e){this.global=new In,e.acceptVisitor(new On(this.global))}return e.prototype.findSymbolsAtOffset=function(e,t){for(var n=this.global.findScope(e,0),i=[],r={};n;){for(var o=n.getSymbols(),s=0;s<o.length;s++){var a=o[s];a.type!==t||r[a.name]||(i.push(a),r[a.name]=!0)}n=n.parent}return i},e.prototype.internalFindSymbol=function(e,t){var n=e;if(e.parent instanceof ye&&e.parent.getParent()instanceof de&&(n=e.parent.getParent().getDeclarations()),e.parent instanceof Ce&&e.parent.getParent()instanceof we){var i=e.parent.getParent().getIdentifier();if(i){var r=this.internalFindSymbol(i,[ee.Function]);r&&(n=r.node.getDeclarations())}}if(!n)return null;for(var o=e.getText(),s=this.global.findScope(n.offset,n.length);s;){for(var a=0;a<t.length;a++){var l=t[a],c=s.getSymbol(o,l);if(c)return c}s=s.parent}return null},e.prototype.evaluateReferenceTypes=function(e){if(e instanceof ae){var t=e.referenceTypes;if(t)return t;if(e.isCustomProperty)return[ee.Variable];var n=function(e){var t=e.findParent(J.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(e);if(n){var i=n.getNonPrefixedPropertyName();if(("animation"===i||"animation-name"===i)&&n.getValue()&&n.getValue().offset===e.offset)return[ee.Keyframe]}}else if(e instanceof ot)return[ee.Variable];return e.findAParent(J.Selector,J.ExtendsReference)?[ee.Rule]:null},e.prototype.findSymbolFromNode=function(e){if(!e)return null;for(;e.type===J.Interpolation;)e=e.getParent();var t=this.evaluateReferenceTypes(e);return t?this.internalFindSymbol(e,t):null},e.prototype.matchesSymbol=function(e,t){if(!e)return!1;for(;e.type===J.Interpolation;)e=e.getParent();if(!e.matches(t.name))return!1;var n=this.evaluateReferenceTypes(e);return!(!n||-1===n.indexOf(t.type))&&this.internalFindSymbol(e,n)===t},e.prototype.findSymbol=function(e,t,n){for(var i=this.global.findScope(n);i;){var r=i.getSymbol(e,t);if(r)return r;i=i.parent}return null},e}();!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return di.objectLiteral(t)&&di.number(t.line)&&di.number(t.character)}}(an||(an={})),function(e){e.create=function(e,t,n,i){if(di.number(e)&&di.number(t)&&di.number(n)&&di.number(i))return{start:an.create(e,t),end:an.create(n,i)};if(an.is(e)&&an.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return di.objectLiteral(t)&&an.is(t.start)&&an.is(t.end)}}(ln||(ln={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&(di.string(t.uri)||di.undefined(t.uri))}}(cn||(cn={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.targetRange)&&di.string(t.targetUri)&&(ln.is(t.targetSelectionRange)||di.undefined(t.targetSelectionRange))&&(ln.is(t.originSelectionRange)||di.undefined(t.originSelectionRange))}}(dn||(dn={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return di.number(t.red)&&di.number(t.green)&&di.number(t.blue)&&di.number(t.alpha)}}(hn||(hn={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return ln.is(t.range)&&hn.is(t.color)}}(un||(un={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return di.string(t.label)&&(di.undefined(t.textEdit)||Cn.is(t))&&(di.undefined(t.additionalTextEdits)||di.typedArray(t.additionalTextEdits,Cn.is))}}(pn||(pn={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(mn||(mn={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return di.defined(n)&&(o.startCharacter=n),di.defined(i)&&(o.endCharacter=i),di.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return di.number(t.startLine)&&di.number(t.startLine)&&(di.undefined(t.startCharacter)||di.number(t.startCharacter))&&(di.undefined(t.endCharacter)||di.number(t.endCharacter))&&(di.undefined(t.kind)||di.string(t.kind))}}(gn||(gn={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return di.defined(t)&&cn.is(t.location)&&di.string(t.message)}}(fn||(fn={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(bn||(bn={})),function(e){e.Unnecessary=1,e.Deprecated=2}(_n||(_n={})),function(e){e.is=function(e){var t=e;return null!=t&&(di.number(t.value)||di.string(t.value))&&di.string(t.target)}}(vn||(vn={})),function(e){e.create=function(e,t,n,i,r,o){var s={range:e,message:t};return di.defined(n)&&(s.severity=n),di.defined(i)&&(s.code=i),di.defined(r)&&(s.source=r),di.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&di.string(t.message)&&(di.number(t.severity)||di.undefined(t.severity))&&(di.number(t.code)||di.string(t.code)||di.undefined(t.code))&&(di.string(t.source)||di.undefined(t.source))&&(di.undefined(t.relatedInformation)||di.typedArray(t.relatedInformation,fn.is))}}(wn||(wn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return di.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.title)&&di.string(t.command)}}(yn||(yn={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return di.objectLiteral(t)&&di.string(t.newText)&&ln.is(t.range)}}(Cn||(Cn={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return di.defined(t)&&Mn.is(t.textDocument)&&Array.isArray(t.edits)}}(xn||(xn={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&di.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||di.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||di.boolean(t.options.ignoreIfExists)))}}(Sn||(Sn={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&di.string(t.oldUri)&&di.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||di.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||di.boolean(t.options.ignoreIfExists)))}}(kn||(kn={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&di.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||di.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||di.boolean(t.options.ignoreIfNotExists)))}}(En||(En={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return di.string(e.kind)?Sn.is(e)||kn.is(e)||En.is(e):xn.is(e)})))}}(Tn||(Tn={}));var Rn,Mn,Pn,Fn,Wn,zn,Bn,jn,Vn,Un,Hn,qn,$n,Kn,Gn,Yn,Zn,Xn,Qn,Jn,ei,ti,ni,ii,ri,oi,si,ai,li=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(Cn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(Cn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(Cn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(xn.is(e)){var n=new li(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new li(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Mn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new li(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new li(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Sn.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kn.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(En.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.uri)}}(Rn||(Rn={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.uri)&&(null===t.version||di.number(t.version))}}(Mn||(Mn={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return di.defined(t)&&di.string(t.uri)&&di.string(t.languageId)&&di.number(t.version)&&di.string(t.text)}}(Pn||(Pn={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(Fn||(Fn={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(Fn||(Fn={})),function(e){e.is=function(e){var t=e;return di.objectLiteral(e)&&Fn.is(t.kind)&&di.string(t.value)}}(Wn||(Wn={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(zn||(zn={})),function(e){e.PlainText=1,e.Snippet=2}(Bn||(Bn={})),function(e){e.Deprecated=1}(jn||(jn={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&di.string(t.newText)&&ln.is(t.insert)&&ln.is(t.replace)}}(Vn||(Vn={})),function(e){e.create=function(e){return{label:e}}}(Un||(Un={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Hn||(Hn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return di.string(t)||di.objectLiteral(t)&&di.string(t.language)&&di.string(t.value)}}(qn||(qn={})),function(e){e.is=function(e){var t=e;return!!t&&di.objectLiteral(t)&&(Wn.is(t.contents)||qn.is(t.contents)||di.typedArray(t.contents,qn.is))&&(void 0===e.range||ln.is(e.range))}}($n||($n={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(Kn||(Kn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return di.defined(t)&&(r.documentation=t),di.defined(n)?r.parameters=n:r.parameters=[],r}}(Gn||(Gn={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Yn||(Yn={})),function(e){e.create=function(e,t){var n={range:e};return di.number(t)&&(n.kind=t),n}}(Zn||(Zn={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Xn||(Xn={})),function(e){e.Deprecated=1}(Qn||(Qn={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}(Jn||(Jn={})),function(e){e.create=function(e,t,n,i,r,o){var s={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&di.string(t.name)&&di.number(t.kind)&&ln.is(t.range)&&ln.is(t.selectionRange)&&(void 0===t.detail||di.string(t.detail))&&(void 0===t.deprecated||di.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(ei||(ei={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(ti||(ti={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return di.defined(t)&&di.typedArray(t.diagnostics,wn.is)&&(void 0===t.only||di.typedArray(t.only,di.string))}}(ni||(ni={})),function(e){e.create=function(e,t,n){var i={title:e};return yn.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&di.string(t.title)&&(void 0===t.diagnostics||di.typedArray(t.diagnostics,wn.is))&&(void 0===t.kind||di.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||yn.is(t.command))&&(void 0===t.isPreferred||di.boolean(t.isPreferred))&&(void 0===t.edit||Tn.is(t.edit))}}(ii||(ii={})),function(e){e.create=function(e,t){var n={range:e};return di.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&(di.undefined(t.command)||yn.is(t.command))}}(ri||(ri={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return di.defined(t)&&di.number(t.tabSize)&&di.boolean(t.insertSpaces)}}(oi||(oi={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return di.defined(t)&&ln.is(t.range)&&(di.undefined(t.target)||di.string(t.target))}}(si||(si={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&ln.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ai||(ai={}));var ci;!function(e){e.create=function(e,t,n,i){return new hi(e,t,n,i)},e.is=function(e){var t=e;return!!(di.defined(t)&&di.string(t.uri)&&(di.undefined(t.languageId)||di.string(t.languageId))&&di.number(t.lineCount)&&di.func(t.getText)&&di.func(t.positionAt)&&di.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(ci||(ci={}));var di,hi=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return an.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return an.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(di||(di={}));var ui,pi,mi,gi=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var s=bi(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=fi(o.text,!1,a);if(d-c===u.length)for(var p=0,m=u.length;p<m;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var g=o.text.length-(l-a);if(0!==g)for(p=c+1+u.length,m=h.length;p<m;p++)h[p]=h[p]+g}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=fi(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function fi(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function bi(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function _i(e){var t=bi(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new gi(e,t,n,i)},e.update=function(e,t,n){if(e instanceof gi)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,r=[],o=0,s=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(_i),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&r.push(n.substring(i,l)),a.newText.length&&r.push(a.newText),i=e.offsetAt(a.range.end)}return r.push(n.substr(i)),r.join("")}}(ui||(ui={})),(pi||(pi={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Fn.Markdown,Fn.PlainText]}},hover:{contentFormat:[Fn.Markdown,Fn.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(mi||(mi={}));var vi=n(144),wi="/".charCodeAt(0),yi=".".charCodeAt(0);function Ci(e){var t=e.lastIndexOf("/");return-1!==t?e.substr(0,t):""}function xi(e){for(var t=[],n=0,i=e;n<i.length;n++){var r=i[n];0===r.length||1===r.length&&r.charCodeAt(0)===yi||(2===r.length&&r.charCodeAt(0)===yi&&r.charCodeAt(1)===yi?t.pop():t.push(r))}e.length>1&&0===e[e.length-1].length&&t.push("");var o=t.join("/");return 0===e[0].length&&(o="/"+o),o}function Si(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=vi.a.parse(e),r=i.path.split("/"),o=0,s=t;o<s.length;o++){var a=s[o];r.push.apply(r,a.split("/"))}return i.with({path:xi(r)}).toString()}var ki=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Ei=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Ti=function(){function e(e){this.readDirectory=e,this.literalCompletions=[],this.importCompletions=[]}return e.prototype.onCssURILiteralValue=function(e){this.literalCompletions.push(e)},e.prototype.onCssImportPath=function(e){this.importCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return ki(this,void 0,void 0,(function(){var n,i,r,o,s,a,l,c,d,h,u,p,m,g,f,b,_;return Ei(this,(function(v){switch(v.label){case 0:n={items:[],isIncomplete:!1},i=0,r=this.literalCompletions,v.label=1;case 1:return i<r.length?(o=r[i],s=o.uriValue,"."!==(m=Ni(s))&&".."!==m?[3,2]:(n.isIncomplete=!0,[3,4])):[3,5];case 2:return[4,this.providePathSuggestions(s,o.position,o.range,e,t)];case 3:for(a=v.sent(),l=0,c=a;l<c.length;l++)_=c[l],n.items.push(_);v.label=4;case 4:return i++,[3,1];case 5:d=0,h=this.importCompletions,v.label=6;case 6:return d<h.length?(u=h[d],p=u.pathValue,"."!==(m=Ni(p))&&".."!==m?[3,7]:(n.isIncomplete=!0,[3,9])):[3,10];case 7:return[4,this.providePathSuggestions(p,u.position,u.range,e,t)];case 8:for(g=v.sent(),"scss"===e.languageId&&g.forEach((function(e){Y(e.label,"_")&&Z(e.label,".scss")&&(e.textEdit?e.textEdit.newText=e.label.slice(1,-5):e.label=e.label.slice(1,-5))})),f=0,b=g;f<b.length;f++)_=b[f],n.items.push(_);v.label=9;case 9:return d++,[3,6];case 10:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,i,r){return ki(this,void 0,void 0,(function(){var o,s,a,l,c,d,h,u,p,m,g,f,b,_,v;return Ei(this,(function(w){switch(w.label){case 0:if(o=Ni(e),s=Y(e,"'")||Y(e,'"'),a=s?o.slice(0,t.character-(n.start.character+1)):o.slice(0,t.character-n.start.character),l=i.uri,c=s?function(e,t,n){var i=Oi(e.start,t),r=Oi(e.end,n);return ln.create(i,r)}(n,1,-1):n,d=function(e,t,n){var i,r=e.lastIndexOf("/");if(-1===r)i=n;else{var o=t.slice(r+1),s=Oi(n.end,-o.length),a=o.indexOf(" "),l=void 0;l=-1!==a?Oi(s,a):n.end,i=ln.create(s,l)}return i}(a,o,c),h=a.substring(0,a.lastIndexOf("/")+1),!(u=r.resolveReference(h||".",l)))return[3,4];w.label=1;case 1:return w.trys.push([1,3,,4]),p=[],[4,this.readDirectory(u)];case 2:for(m=w.sent(),g=0,f=m;g<f.length;g++)b=f[g],_=b[0],v=b[1],_.charCodeAt(0)===Li||v!==mi.Directory&&Si(u,_)===l||p.push(Ii(_,v===mi.Directory,d));return[2,p];case 3:return w.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Li=".".charCodeAt(0);function Ni(e){return Y(e,"'")||Y(e,'"')?e.slice(1,-1):e}function Ii(e,t,n){return t?{label:Di(e+="/"),kind:zn.Folder,textEdit:Cn.replace(n,Di(e)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:Di(e),kind:zn.File,textEdit:Cn.replace(n,Di(e))}}function Di(e){return e.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function Oi(e,t){return an.create(e.line,e.character+t)}var Ai,Ri=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Mi=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Pi=wt(),Fi=Bn.Snippet;!function(e){e.Enums=" ",e.Normal="d",e.VendorPrefixed="x",e.Term="y",e.Variable="z"}(Ai||(Ai={}));var Wi=function(){function e(e,t,n){void 0===e&&(e=null),this.variablePrefix=e,this.lsOptions=t,this.cssDataManager=n,this.completionParticipants=[]}return e.prototype.configure=function(e){this.settings=e},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new An(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,i){return Ri(this,void 0,void 0,(function(){var r,o,s,a;return Mi(this,(function(l){switch(l.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n)];r=new Ti(this.lsOptions.fileSystemProvider.readDirectory),o=this.completionParticipants,this.completionParticipants=[r].concat(o),s=this.doComplete(e,t,n),l.label=1;case 1:return l.trys.push([1,,3,4]),[4,r.computeCompletions(e,i)];case 2:return a=l.sent(),[2,{isIncomplete:s.isIncomplete||a.isIncomplete,items:a.items.concat(s.items)}];case 3:return this.completionParticipants=o,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){var n=t-1,i=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n;try{var i={isIncomplete:!1,items:[]};this.nodePath=ie(this.styleSheet,this.offset);for(var r=this.nodePath.length-1;r>=0;r--){var o=this.nodePath[r];if(o instanceof ve)this.getCompletionsForDeclarationProperty(o.getParent(),i);else if(o instanceof Ge)o.parent instanceof rt?this.getVariableProposals(null,i):this.getCompletionsForExpression(o,i);else if(o instanceof pe){var s=o.findAParent(J.ExtendsReference,J.Ruleset);if(s)if(s.type===J.ExtendsReference)this.getCompletionsForExtendsReference(s,o,i);else{var a=s;this.getCompletionsForSelector(a,a&&a.isNested(),i)}}else if(o instanceof Ce)this.getCompletionsForFunctionArgument(o,o.getParent(),i);else if(o instanceof ce)this.getCompletionsForDeclarations(o,i);else if(o instanceof it)this.getCompletionsForVariableDeclaration(o,i);else if(o instanceof he)this.getCompletionsForRuleSet(o,i);else if(o instanceof rt)this.getCompletionsForInterpolation(o,i);else if(o instanceof Le)this.getCompletionsForFunctionDeclaration(o,i);else if(o instanceof ct)this.getCompletionsForMixinReference(o,i);else if(o instanceof we)this.getCompletionsForFunctionArgument(null,o,i);else if(o instanceof je)this.getCompletionsForSupports(o,i);else if(o instanceof qe)this.getCompletionsForSupportsCondition(o,i);else if(o instanceof st)this.getCompletionsForExtendsReference(o,null,i);else if(o.type===J.URILiteral)this.getCompletionForUriLiteralValue(o,i);else if(null===o.parent)this.getCompletionForTopLevel(i);else{if(o.type!==J.StringLiteral||!this.isImportPathParent(o.parent.type))continue;this.getCompletionForImportPath(o,i)}if(i.items.length>0||this.offset>o.offset)return this.finalize(i)}return this.getCompletionsForStylesheet(i),0===i.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,i),this.finalize(i)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(e){return e===J.Import},e.prototype.finalize=function(e){return e},e.prototype.findInNodePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this.nodePath.length-1;n>=0;n--){var i=this.nodePath[n];if(-1!==e.indexOf(i.type))return i}return null},e.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},e.prototype.getPropertyProposals=function(e,t){var n=this,i=this.isTriggerPropertyValueCompletionEnabled,r=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach((function(o){var s,a,l=!1;e?(s=n.getCompletionRange(e.getProperty()),a=o.name,tn(e.colonPosition)||(a+=": ",l=!0)):(s=n.getCompletionRange(null),a=o.name+": ",l=!0),!e&&r&&(a+="$0;"),e&&!e.semicolonPosition&&r&&n.offset>=n.textDocument.offsetAt(s.end)&&(a+="$0;");var c={label:o.name,documentation:Et(o,n.doesSupportMarkdown()),tags:zi(o)?[jn.Deprecated]:[],textEdit:Cn.replace(s,a),insertTextFormat:Bn.Snippet,kind:zn.Property};o.restrictions||(l=!1),i&&l&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"});var d=(255-("number"==typeof o.relevance?Math.min(Math.max(o.relevance,0),99):50)).toString(16),h=Y(o.name,"-")?Ai.VendorPrefixed:Ai.Normal;c.sortText=h+"_"+d,t.items.push(c)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(e.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n=this,i=e.getFullPropertyName(),r=this.cssDataManager.getProperty(i),o=e.getValue()||null;o&&o.hasChildren();)o=o.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:i,propertyValue:n.currentWord,range:n.getCompletionRange(o)})})),r){if(r.restrictions)for(var s=0,a=r.restrictions;s<a.length;s++){switch(a[s]){case"color":this.getColorProposals(r,o,t);break;case"position":this.getPositionProposals(r,o,t);break;case"repeat":this.getRepeatStyleProposals(r,o,t);break;case"line-style":this.getLineStyleProposals(r,o,t);break;case"line-width":this.getLineWidthProposals(r,o,t);break;case"geometry-box":this.getGeometryBoxProposals(r,o,t);break;case"box":this.getBoxProposals(r,o,t);break;case"image":this.getImageProposals(r,o,t);break;case"timing-function":this.getTimingFunctionProposals(r,o,t);break;case"shape":this.getBasicShapeProposals(r,o,t)}}this.getValueEnumProposals(r,o,t),this.getCSSWideKeywordProposals(r,o,t),this.getUnitProposals(r,o,t)}else for(var l=0,c=function(e,t){var n=t.getFullPropertyName(),i=new Bi;function r(e){return(e instanceof ae||e instanceof nt||e instanceof Qe)&&i.add(e.getText()),!0}return e.accept((function(e){if(e instanceof _e&&e!==t&&function(e){var t=e.getFullPropertyName();return n===t}(e)){var i=e.getValue();i&&i.accept(r)}return!0})),i}(this.styleSheet,e).getEntries();l<c.length;l++){var d=c[l];t.items.push({label:d,textEdit:Cn.replace(this.getCompletionRange(o),d),kind:zn.Value})}return this.getVariableProposals(o,t),this.getTermProposals(r,o,t),t},e.prototype.getValueEnumProposals=function(e,t,n){if(e.values)for(var i=0,r=e.values;i<r.length;i++){var o=r[i],s=o.name,a=void 0;if(Z(s,")")){var l=s.lastIndexOf("(");-1!==l&&(s=s.substr(0,l)+"($1)",a=Fi)}var c=Ai.Enums;Y(o.name,"-")&&(c+=Ai.VendorPrefixed);var d={label:o.name,documentation:Et(o,this.doesSupportMarkdown()),tags:zi(e)?[jn.Deprecated]:[],textEdit:Cn.replace(this.getCompletionRange(t),s),sortText:c,kind:zn.Value,insertTextFormat:a};n.items.push(d)}return n},e.prototype.getCSSWideKeywordProposals=function(e,t,n){for(var i in $t)n.items.push({label:i,documentation:$t[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getCompletionsForInterpolation=function(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t},e.prototype.getVariableProposals=function(e,t){for(var n=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable);n<i.length;n++){var r=i[n],o=Y(r.name,"--")?"var("+r.name+")":r.name,s={label:r.name,documentation:r.value?X(r.value):r.value,textEdit:Cn.replace(this.getCompletionRange(e),o),kind:zn.Variable,sortText:Ai.Variable};if("string"==typeof s.documentation&&Ui(s.documentation)&&(s.kind=zn.Color),r.node.type===J.FunctionParameter){var a=r.node.getParent();a.type===J.MixinDeclaration&&(s.detail=Pi("completion.argument","argument from '{0}'",a.getName()))}t.items.push(s)}return t},e.prototype.getVariableProposalsForCSSVarFunction=function(e){for(var t=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable),n=0,i=t=t.filter((function(e){return Y(e.name,"--")}));n<i.length;n++){var r=i[n],o={label:r.name,documentation:r.value?X(r.value):r.value,textEdit:Cn.replace(this.getCompletionRange(null),r.name),kind:zn.Variable};"string"==typeof o.documentation&&Ui(o.documentation)&&(o.kind=zn.Color),e.items.push(o)}return e},e.prototype.getUnitProposals=function(e,t,n){var i="0";if(this.currentWord.length>0){var r=this.currentWord.match(/^-?\d[\.\d+]*/);r&&(i=r[0],n.isIncomplete=i.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===J.Term&&(t=t.getParent()),e.restrictions)for(var o=0,s=e.restrictions;o<s.length;o++){var a=s[o],l=Zt[a];if(l)for(var c=0,d=l;c<d.length;c++){var h=i+d[c];n.items.push({label:h,textEdit:Cn.replace(this.getCompletionRange(t),h),kind:zn.Unit})}}return n},e.prototype.getCompletionRange=function(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){var t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return ln.create(n,t)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(e,t,n){for(var i in At)n.items.push({label:i,documentation:At[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Color});for(var i in Rt)n.items.push({label:i,documentation:Rt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});var r=new Bi;this.styleSheet.acceptVisitor(new Vi(r,this.offset));for(var o=0,s=r.getEntries();o<s.length;o++){i=s[o];n.items.push({label:i,textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Color})}for(var a=function(e){var i=1,r=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+i+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:Cn.replace(l.getCompletionRange(t),r),insertTextFormat:Fi,kind:zn.Function})},l=this,c=0,d=Ot;c<d.length;c++){a(d[c])}return n},e.prototype.getPositionProposals=function(e,t,n){for(var i in Bt)n.items.push({label:i,documentation:Bt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getRepeatStyleProposals=function(e,t,n){for(var i in jt)n.items.push({label:i,documentation:jt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getLineStyleProposals=function(e,t,n){for(var i in Vt)n.items.push({label:i,documentation:Vt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getLineWidthProposals=function(e,t,n){for(var i=0,r=Ut;i<r.length;i++){var o=r[i];n.items.push({label:o,textEdit:Cn.replace(this.getCompletionRange(t),o),kind:zn.Value})}return n},e.prototype.getGeometryBoxProposals=function(e,t,n){for(var i in qt)n.items.push({label:i,documentation:qt[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getBoxProposals=function(e,t,n){for(var i in Ht)n.items.push({label:i,documentation:Ht[i],textEdit:Cn.replace(this.getCompletionRange(t),i),kind:zn.Value});return n},e.prototype.getImageProposals=function(e,t,n){for(var i in Kt){var r=ji(i);n.items.push({label:i,documentation:Kt[i],textEdit:Cn.replace(this.getCompletionRange(t),r),kind:zn.Function,insertTextFormat:i!==r?Fi:void 0})}return n},e.prototype.getTimingFunctionProposals=function(e,t,n){for(var i in Gt){var r=ji(i);n.items.push({label:i,documentation:Gt[i],textEdit:Cn.replace(this.getCompletionRange(t),r),kind:zn.Function,insertTextFormat:i!==r?Fi:void 0})}return n},e.prototype.getBasicShapeProposals=function(e,t,n){for(var i in Yt){var r=ji(i);n.items.push({label:i,documentation:Yt[i],textEdit:Cn.replace(this.getCompletionRange(t),r),kind:zn.Function,insertTextFormat:i!==r?Fi:void 0})}return n},e.prototype.getCompletionsForStylesheet=function(e){var t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof he?this.getCompletionsForRuleSet(t,e):t instanceof je?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)},e.prototype.getCompletionForTopLevel=function(e){var t=this;return this.cssDataManager.getAtDirectives().forEach((function(n){e.items.push({label:n.name,textEdit:Cn.replace(t.getCompletionRange(null),n.name),documentation:Et(n,t.doesSupportMarkdown()),tags:zi(n)?[jn.Deprecated]:[],kind:zn.Keyword})})),this.getCompletionsForSelector(null,!1,e),e},e.prototype.getCompletionsForRuleSet=function(e,t){var n=e.getDeclarations();return n&&n.endsWith("}")&&this.offset>=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},e.prototype.getCompletionsForSelector=function(e,t,n){var i=this,r=this.findInNodePath(J.PseudoSelector,J.IdentifierSelector,J.ClassSelector,J.ElementNameSelector);if(!r&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach((function(e){var t=ji(e.name),o={label:e.name,textEdit:Cn.replace(i.getCompletionRange(r),t),documentation:Et(e,i.doesSupportMarkdown()),tags:zi(e)?[jn.Deprecated]:[],kind:zn.Function,insertTextFormat:e.name!==t?Fi:void 0};Y(e.name,":-")&&(o.sortText=Ai.VendorPrefixed),n.items.push(o)})),this.cssDataManager.getPseudoElements().forEach((function(e){var t=ji(e.name),o={label:e.name,textEdit:Cn.replace(i.getCompletionRange(r),t),documentation:Et(e,i.doesSupportMarkdown()),tags:zi(e)?[jn.Deprecated]:[],kind:zn.Function,insertTextFormat:e.name!==t?Fi:void 0};Y(e.name,"::-")&&(o.sortText=Ai.VendorPrefixed),n.items.push(o)})),!t){for(var o=0,s=Xt;o<s.length;o++){var a=s[o];n.items.push({label:a,textEdit:Cn.replace(this.getCompletionRange(r),a),kind:zn.Keyword})}for(var l=0,c=Qt;l<c.length;l++){a=c[l];n.items.push({label:a,textEdit:Cn.replace(this.getCompletionRange(r),a),kind:zn.Keyword})}}var d={};d[this.currentWord]=!0;var h=this.textDocument.getText();if(this.styleSheet.accept((function(e){if(e.type===J.SimpleSelector&&e.length>0){var t=h.substr(e.offset,e.length);return"."!==t.charAt(0)||d[t]||(d[t]=!0,n.items.push({label:t,textEdit:Cn.replace(i.getCompletionRange(r),t),kind:zn.Keyword})),!1}return!0})),e&&e.isNested()){var u=e.getSelectors().findFirstChildBeforeOffset(this.offset);u&&0===e.getSelectors().getChildren().indexOf(u)&&this.getPropertyProposals(null,n)}return n},e.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof ge){var i=n;if(!tn(i.colonPosition)||this.offset<=i.colonPosition)return this.getCompletionsForDeclarationProperty(i,t);if(tn(i.semicolonPosition)&&i.semicolonPosition<this.offset)return this.offset===i.semicolonPosition+1?t:this.getCompletionsForDeclarationProperty(null,t);if(i instanceof _e)return this.getCompletionsForDeclarationValue(i,t)}else n instanceof st?this.getCompletionsForExtendsReference(n,null,t):(this.currentWord&&"@"===this.currentWord[0]||n instanceof he)&&this.getCompletionsForDeclarationProperty(null,t);return t},e.prototype.getCompletionsForVariableDeclaration=function(e,t){return this.offset&&tn(e.colonPosition)&&this.offset>e.colonPosition&&this.getVariableProposals(e.getValue(),t),t},e.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();if(n instanceof Ce)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;var i=e.findParent(J.Declaration);if(!i)return this.getTermProposals(void 0,null,t),t;var r=e.findChildAtOffset(this.offset,!0);return r?r instanceof nt||r instanceof ae?this.getCompletionsForDeclarationValue(i,t):t:this.getCompletionsForDeclarationValue(i,t)},e.prototype.getCompletionsForFunctionArgument=function(e,t,n){var i=t.getIdentifier();return i&&i.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},e.prototype.getCompletionsForFunctionDeclaration=function(e,t){var n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset<n.end&&this.getTermProposals(void 0,null,t),t},e.prototype.getCompletionsForMixinReference=function(e,t){for(var n=this,i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Mixin);i<r.length;i++){var o=r[i];o.node instanceof dt&&t.items.push(this.makeTermProposal(o,o.node.getParameters(),null))}var s=e.getIdentifier()||null;return this.completionParticipants.forEach((function(e){e.onCssMixinReference&&e.onCssMixinReference({mixinName:n.currentWord,range:n.getCompletionRange(s)})})),t},e.prototype.getTermProposals=function(e,t,n){for(var i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Function);i<r.length;i++){var o=r[i];o.node instanceof Le&&n.items.push(this.makeTermProposal(o,o.node.getParameters(),t))}return n},e.prototype.makeTermProposal=function(e,t,n){e.node;var i=t.getChildren().map((function(e){return e instanceof ye?e.getName():e.getText()})),r=e.name+"("+i.map((function(e,t){return"${"+(t+1)+":"+e+"}"})).join(", ")+")";return{label:e.name,detail:e.name+"("+i.join(", ")+")",textEdit:Cn.replace(this.getCompletionRange(n),r),insertTextFormat:Fi,kind:zn.Function,sortText:Ai.Term}},e.prototype.getCompletionsForSupportsCondition=function(e,t){var n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof _e)return!tn(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof qe)return this.getCompletionsForSupportsCondition(n,t)}return tn(e.lParent)&&this.offset>e.lParent&&(!tn(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},e.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();if(!n||this.offset<=n.offset){var i=e.findFirstChildBeforeOffset(this.offset);return i instanceof qe?this.getCompletionsForSupportsCondition(i,t):t}return this.getCompletionForTopLevel(t)},e.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},e.prototype.getCompletionForUriLiteralValue=function(e,t){var n,i,r;if(e.hasChildren()){var o=e.getChild(0);n=o.getText(),i=this.position,r=this.getCompletionRange(o)}else{n="",i=this.position;var s=this.textDocument.positionAt(e.offset+"url(".length);r=ln.create(s,s)}return this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:i,range:r})})),t},e.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!tn(this.supportsMarkdown)){if(!tn(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(Fn.Markdown)}return this.supportsMarkdown},e}();function zi(e){return!(!e.status||"nonstandard"!==e.status&&"obsolete"!==e.status)}var Bi=function(){function e(){this.entries={}}return e.prototype.add=function(e){this.entries[e]=!0},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function ji(e){return e.replace(/\(\)$/,"($1)")}var Vi=function(){function e(e,t){this.entries=e,this.currentOffset=t}return e.prototype.visitNode=function(e){return(e instanceof Qe||e instanceof we&&Pt(e))&&(this.currentOffset<e.offset||e.end<this.currentOffset)&&this.entries.add(e.getText()),!0},e}();function Ui(e){return e.toLowerCase()in At||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Hi,qi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),$i=wt(),Ki=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,n=this.attributes;t<n.length;t++){var i=n[t];if(i.name===e)return i.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(e){if(this.attributes){var t=this.attributes[this.attributes.length-1];t.value=t.value+e}},e.prototype.prepend=function(e){if(this.attributes){var t=this.attributes[0];t.value=e+t.value}},e.prototype.findRoot=function(){for(var e=this;e.parent&&!(e.parent instanceof Gi);)e=e.parent;return e},e.prototype.removeChild=function(e){if(this.children){var t=this.children.indexOf(e);if(-1!==t)return this.children.splice(t,1),!0}return!1},e.prototype.addAttr=function(e,t){this.attributes||(this.attributes=[]);for(var n=0,i=this.attributes;n<i.length;n++){var r=i[n];if(r.name===e)return void(r.value+=" "+t)}this.attributes.push({name:e,value:t})},e.prototype.clone=function(t){void 0===t&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var i=0,r=this.attributes;i<r.length;i++){var o=r[i];n.addAttr(o.name,o.value)}}if(t&&this.children){n.children=[];for(var s=0;s<this.children.length;s++)n.addChild(this.children[s].clone())}return n},e.prototype.cloneWithParent=function(){var e=this.clone(!1);!this.parent||this.parent instanceof Gi||this.parent.cloneWithParent().addChild(e);return e},e}(),Gi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return qi(t,e),t}(Ki),Yi=function(e){function t(t){var n=e.call(this)||this;return n.addAttr("name",t),n}return qi(t,e),t}(Ki),Zi=function(){function e(e){this.quote=e,this.result=[]}return e.prototype.print=function(e){return this.result=[],e instanceof Gi?e.children&&this.doPrint(e.children,0):this.doPrint([e],0),[{language:"html",value:this.result.join("\n")}]},e.prototype.doPrint=function(e,t){for(var n=0,i=e;n<i.length;n++){var r=i[n];this.doPrintElement(r,t),r.children&&this.doPrint(r.children,t+1)}},e.prototype.writeLine=function(e,t){var n=new Array(e+1).join(" ");this.result.push(n+t)},e.prototype.doPrintElement=function(e,t){var n=e.findAttribute("name");if(e instanceof Yi||"…"===n)this.writeLine(t,n);else{var i=["<"];if(n?i.push(n):i.push("element"),e.attributes)for(var r=0,o=e.attributes;r<o.length;r++){var s=o[r];if("name"!==s.name){i.push(" "),i.push(s.name);var a=s.value;a&&(i.push("="),i.push(Hi.ensure(a,this.quote)))}}i.push(">"),this.writeLine(t,i.join(""))}},e}();!function(e){function t(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Hi||(Hi={}));var Xi=function(){this.id=0,this.attr=0,this.tag=0};function Qi(e,t){for(var n=new Ki,i=0,r=e.getChildren();i<r.length;i++){var o=r[i];switch(o.type){case J.SelectorCombinator:if(t){var s=o.getText().split("&");if(1===s.length){n.addAttr("name",s[0]);break}if(n=t.cloneWithParent(),s[0])n.findRoot().prepend(s[0]);for(var a=1;a<s.length;a++){if(a>1){var l=t.cloneWithParent();n.addChild(l.findRoot()),n=l}n.append(s[a])}}break;case J.SelectorPlaceholder:if(o.matches("@at-root"))return n;case J.ElementNameSelector:var c=o.getText();n.addAttr("name","*"===c?"element":Ji(c));break;case J.ClassSelector:n.addAttr("class",Ji(o.getText().substring(1)));break;case J.IdentifierSelector:n.addAttr("id",Ji(o.getText().substring(1)));break;case J.MixinDeclaration:n.addAttr("class",o.getName());break;case J.PseudoSelector:n.addAttr(Ji(o.getText()),"");break;case J.AttributeSelector:var d=o,h=d.getIdentifier();if(h){var u=d.getValue(),p=d.getOperator(),m=void 0;if(u&&p)switch(Ji(p.getText())){case"|=":m=Hi.remove(Ji(u.getText()))+"-…";break;case"^=":m=Hi.remove(Ji(u.getText()))+"…";break;case"$=":m="…"+Hi.remove(Ji(u.getText()));break;case"~=":m=" … "+Hi.remove(Ji(u.getText()))+" … ";break;case"*=":m="…"+Hi.remove(Ji(u.getText()))+"…";break;default:m=Hi.remove(Ji(u.getText()))}n.addAttr(Ji(h.getText()),m)}}}return n}function Ji(e){var t=new G;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}var er=function(){function e(e){this.cssDataManager=e}return e.prototype.selectorToMarkedString=function(e){var t=function(e){if(e.matches("@at-root"))return null;var t=new Gi,n=[],i=e.getParent();if(i instanceof he)for(var r=i.getParent();r&&!nr(r);){if(r instanceof he){if(r.getSelectors().matches("@at-root"))break;n.push(r)}r=r.getParent()}for(var o=new tr(t),s=n.length-1;s>=0;s--){var a=n[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(e),t}(e);if(t){var n=new Zi('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n}return[]},e.prototype.simpleSelectorToMarkedString=function(e){var t=Qi(e),n=new Zi('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n},e.prototype.isPseudoElementIdentifier=function(e){var t=e.match(/^::?([\w-]+)/);return!!t&&!!this.cssDataManager.getPseudoElement("::"+t[1])},e.prototype.selectorToSpecificityMarkedString=function(e){var t=this,n=function(e){for(var r=0,o=e.getChildren();r<o.length;r++){var s=o[r];switch(s.type){case J.IdentifierSelector:i.id++;break;case J.ClassSelector:case J.AttributeSelector:i.attr++;break;case J.ElementNameSelector:if(s.matches("*"))break;i.tag++;break;case J.PseudoSelector:var a=s.getText();if(t.isPseudoElementIdentifier(a))i.tag++;else{if(a.match(/^:not/i))break;i.attr++}}s.getChildren().length>0&&n(s)}},i=new Xi;return n(e),$i("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",i.id,i.attr,i.tag)},e}(),tr=function(){function e(e){this.prev=null,this.element=e}return e.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof Gi)&&e.getChildren().some((function(e){return e.hasChildren()&&e.getChild(0).type===J.SelectorCombinator}))){var n=this.element.findRoot();n.parent instanceof Gi&&(t=this.element,this.element=n.parent,this.element.removeChild(n),this.prev=null)}for(var i=0,r=e.getChildren();i<r.length;i++){var o=r[i];if(o instanceof pe){if(this.prev instanceof pe){var s=new Yi("…");this.element.addChild(s),this.element=s}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(Qi(o)),this.element.addChild(new Yi("⋮")));var a=Qi(o,t),l=a.findRoot();this.element.addChild(l),this.element=a}(o instanceof pe||o.type===J.SelectorCombinatorParent||o.type===J.SelectorCombinatorShadowPiercingDescendant||o.type===J.SelectorCombinatorSibling||o.type===J.SelectorCombinatorAllSiblings)&&(this.prev=o)}},e}();function nr(e){switch(e.type){case J.MixinDeclaration:case J.Stylesheet:return!0}return!1}var ir=function(){function e(e,t){this.clientCapabilities=e,this.cssDataManager=t,this.selectorPrinting=new er(t)}return e.prototype.doHover=function(e,t,n){function i(t){return ln.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var r=ie(n,e.offsetAt(t)),o=null,s=0;s<r.length;s++){var a=r[s];if(a instanceof ue){o={contents:this.selectorPrinting.selectorToMarkedString(a),range:i(a)};break}if(a instanceof pe){Y(a.getText(),"@")||(o={contents:this.selectorPrinting.simpleSelectorToMarkedString(a),range:i(a)});break}if(a instanceof _e){var l=a.getFullPropertyName();(d=this.cssDataManager.getProperty(l))&&(o=(h=Et(d,this.doesSupportMarkdown()))?{contents:h,range:i(a)}:null)}else if(a instanceof ht){var c=a.getText();(d=this.cssDataManager.getAtDirective(c))&&(o=(h=Et(d,this.doesSupportMarkdown()))?{contents:h,range:i(a)}:null)}else if(a instanceof oe&&a.type===J.PseudoSelector){var d,h,u=a.getText();(d="::"===u.slice(0,2)?this.cssDataManager.getPseudoElement(u):this.cssDataManager.getPseudoClass(u))&&(o=(h=Et(d,this.doesSupportMarkdown()))?{contents:h,range:i(a)}:null)}else;}return o&&(o.contents=this.convertContents(o.contents)),o},e.prototype.convertContents=function(e){return this.doesSupportMarkdown()||"string"==typeof e?e:"kind"in e?{kind:"plaintext",value:e.value}:Array.isArray(e)?e.map((function(e){return"string"==typeof e?e:e.value})):e.value},e.prototype.doesSupportMarkdown=function(){if(!tn(this.supportsMarkdown)){if(!tn(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(Fn.Markdown)}return this.supportsMarkdown},e}(),rr=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},or=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},sr=wt(),ar=function(){function e(e){this.fileSystemProvider=e}return e.prototype.findDefinition=function(e,t,n){var i=new An(n),r=ne(n,e.offsetAt(t));if(!r)return null;var o=i.findSymbolFromNode(r);return o?{uri:e.uri,range:lr(o.node,e)}:null},e.prototype.findReferences=function(e,t,n){return this.findDocumentHighlights(e,t,n).map((function(t){return{uri:e.uri,range:t.range}}))},e.prototype.findDocumentHighlights=function(e,t,n){var i=[],r=ne(n,e.offsetAt(t));if(!r||r.type===J.Stylesheet||r.type===J.Declarations)return i;r.type===J.Identifier&&r.parent&&r.parent.type===J.ClassSelector&&(r=r.parent);var o=new An(n),s=o.findSymbolFromNode(r),a=r.getText();return n.accept((function(t){if(s){if(o.matchesSymbol(t,s))return i.push({kind:cr(t),range:lr(t,e)}),!1}else r&&r.type===t.type&&t.matches(a)&&i.push({kind:cr(t),range:lr(t,e)});return!0})),i},e.prototype.isRawStringDocumentLinkNode=function(e){return e.type===J.Import},e.prototype.findDocumentLinks=function(e,t,n){for(var i=this.findUnresolvedLinks(e,t),r=0;r<i.length;r++){var o=i[r].target;if(o&&!/^\w+:\/\//g.test(o)){var s=n.resolveReference(o,e.uri);s&&(i[r].target=s)}}return i},e.prototype.findDocumentLinks2=function(e,t,n){return rr(this,void 0,void 0,(function(){var i,r,o,s,a,l,c;return or(this,(function(d){switch(d.label){case 0:i=this.findUnresolvedLinks(e,t),r=[],o=0,s=i,d.label=1;case 1:return o<s.length?(a=s[o],!(l=a.target)||/^\w+:\/\//g.test(l)?[3,3]:[4,this.resolveRelativeReference(l,e.uri,n)]):[3,5];case 2:return void 0!==(c=d.sent())&&(a.target=c,r.push(a)),[3,4];case 3:r.push(a),d.label=4;case 4:return o++,[3,1];case 5:return[2,r]}}))}))},e.prototype.findUnresolvedLinks=function(e,t){var n=this,i=[],r=function(t){var n=t.getText(),r=lr(t,e);r.start.line===r.end.line&&r.start.character===r.end.character||((Y(n,"'")||Y(n,'"'))&&(n=n.slice(1,-1)),i.push({target:n,range:r}))};return t.accept((function(e){if(e.type===J.URILiteral){var t=e.getChild(0);return t&&r(t),!1}if(e.parent&&n.isRawStringDocumentLinkNode(e.parent)){var i=e.getText();return(Y(i,"'")||Y(i,'"'))&&r(e),!1}return!0})),i},e.prototype.findDocumentSymbols=function(e,t){var n=[];return t.accept((function(t){var i={name:null,kind:Xn.Class,location:null},r=t;if(t instanceof ue)return i.name=t.getText(),(r=t.findAParent(J.Ruleset,J.ExtendsReference))&&(i.location=cn.create(e.uri,lr(r,e)),n.push(i)),!1;if(t instanceof it)i.name=t.getName(),i.kind=Xn.Variable;else if(t instanceof dt)i.name=t.getName(),i.kind=Xn.Method;else if(t instanceof Le)i.name=t.getName(),i.kind=Xn.Function;else if(t instanceof Oe)i.name=sr("literal.keyframes","@keyframes {0}",t.getName());else if(t instanceof Ie)i.name=sr("literal.fontface","@font-face");else if(t instanceof Be){var o=t.getChild(0);o instanceof Ue&&(i.name="@media "+o.getText(),i.kind=Xn.Module)}return i.name&&(i.location=cn.create(e.uri,lr(r,e)),n.push(i)),!0})),n},e.prototype.findDocumentColors=function(e,t){var n=[];return t.accept((function(t){var i=function(e,t){var n=zt(e);if(n){var i=lr(e,t);return{color:n,range:i}}return null}(t,e);return i&&n.push(i),!0})),n},e.prototype.getColorPresentations=function(e,t,n,i){var r,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);r=1===n.alpha?"rgb("+s+", "+a+", "+l+")":"rgba("+s+", "+a+", "+l+", "+n.alpha+")",o.push({label:r,textEdit:Cn.replace(i,r)}),r=1===n.alpha?"#"+dr(s)+dr(a)+dr(l):"#"+dr(s)+dr(a)+dr(l)+dr(Math.round(255*n.alpha)),o.push({label:r,textEdit:Cn.replace(i,r)});var c=function(e){var t=e.red,n=e.green,i=e.blue,r=e.alpha,o=Math.max(t,n,i),s=Math.min(t,n,i),a=0,l=0,c=(s+o)/2,d=o-s;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case t:a=(n-i)/d+(n<i?6:0);break;case n:a=(i-t)/d+2;break;case i:a=(t-n)/d+4}a*=60,a=Math.round(a)}return{h:a,s:l,l:c,a:r}}(n);return r=1===c.a?"hsl("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%)":"hsla("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%, "+c.a+")",o.push({label:r,textEdit:Cn.replace(i,r)}),o},e.prototype.doRename=function(e,t,n,i){var r,o=this.findDocumentHighlights(e,t,i).map((function(e){return Cn.replace(e.range,n)}));return{changes:(r={},r[e.uri]=o,r)}},e.prototype.resolveRelativeReference=function(e,t,n){return rr(this,void 0,void 0,(function(){var i,r,o,s,a;return or(this,(function(l){switch(l.label){case 0:return"~"===e[0]&&"/"!==e[1]&&this.fileSystemProvider?(e=e.substring(1),Y(t,"file://")?(i=function(e){if("@"===e[0])return e.substring(0,e.indexOf("/",e.indexOf("/")+1));return e.substring(0,e.indexOf("/"))}(e),r=n.resolveReference("/",t),o=Ci(t),[4,this.resolvePathToModule(i,o,r)]):[3,2]):[3,3];case 1:if(s=l.sent())return a=e.substring(i.length+1),[2,Si(s,a)];l.label=2;case 2:case 3:return[2,n.resolveReference(e,t)]}}))}))},e.prototype.resolvePathToModule=function(e,t,n){return rr(this,void 0,void 0,(function(){var i;return or(this,(function(r){switch(r.label){case 0:return i=Si(t,"node_modules",e,"package.json"),[4,this.fileExists(i)];case 1:return r.sent()?[2,Ci(i)]:n&&t.startsWith(n)&&t.length!==n.length?[2,this.resolvePathToModule(e,Ci(t),n)]:[2,void 0]}}))}))},e.prototype.fileExists=function(e){return rr(this,void 0,void 0,(function(){var t;return or(this,(function(n){switch(n.label){case 0:if(!this.fileSystemProvider)return[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(e)];case 2:return(t=n.sent()).type===mi.Unknown&&-1===t.size?[2,!1]:[2,!0];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},e}();function lr(e,t){return ln.create(t.positionAt(e.offset),t.positionAt(e.end))}function cr(e){if(e.type===J.Selector)return Yn.Write;if(e instanceof ae&&e.parent&&e.parent instanceof ve&&e.isCustomProperty)return Yn.Write;if(e.parent)switch(e.parent.type){case J.FunctionDeclaration:case J.MixinDeclaration:case J.Keyframe:case J.VariableDeclaration:case J.FunctionParameter:return Yn.Write}return Yn.Read}function dr(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}var hr=wt(),ur=re.Warning,pr=re.Error,mr=re.Ignore,gr=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},fr=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},br={AllVendorPrefixes:new gr("compatibleVendorPrefixes",hr("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),mr),IncludeStandardPropertyWhenUsingVendorPrefix:new gr("vendorPrefix",hr("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),ur),DuplicateDeclarations:new gr("duplicateProperties",hr("rule.duplicateDeclarations","Do not use duplicate style definitions"),mr),EmptyRuleSet:new gr("emptyRules",hr("rule.emptyRuleSets","Do not use empty rulesets"),ur),ImportStatemement:new gr("importStatement",hr("rule.importDirective","Import statements do not load in parallel"),mr),BewareOfBoxModelSize:new gr("boxModel",hr("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),mr),UniversalSelector:new gr("universalSelector",hr("rule.universalSelector","The universal selector (*) is known to be slow"),mr),ZeroWithUnit:new gr("zeroUnits",hr("rule.zeroWidthUnit","No unit for zero needed"),mr),RequiredPropertiesForFontFace:new gr("fontFaceProperties",hr("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),ur),HexColorLength:new gr("hexColorLength",hr("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),pr),ArgsInColorFunction:new gr("argumentsInColorFunction",hr("rule.colorFunction","Invalid number of parameters"),pr),UnknownProperty:new gr("unknownProperties",hr("rule.unknownProperty","Unknown property."),ur),UnknownAtRules:new gr("unknownAtRules",hr("rule.unknownAtRules","Unknown at-rule."),ur),IEStarHack:new gr("ieHack",hr("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),mr),UnknownVendorSpecificProperty:new gr("unknownVendorSpecificProperties",hr("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),mr),PropertyIgnoredDueToDisplay:new gr("propertyIgnoredDueToDisplay",hr("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),ur),AvoidImportant:new gr("important",hr("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),mr),AvoidFloat:new gr("float",hr("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),mr),AvoidIdSelector:new gr("idSelector",hr("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),mr)},_r={ValidProperties:new fr("validProperties",hr("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},vr=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var t=function(e){switch(e){case"ignore":return re.Ignore;case"warning":return re.Warning;case"error":return re.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();var wr=wt(),yr=function(){function e(e){this.cssDataManager=e}return e.prototype.doCodeActions=function(e,t,n,i){return this.doCodeActions2(e,t,n,i).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return yn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},e.prototype.doCodeActions2=function(e,t,n,i){var r=[];if(n.diagnostics)for(var o=0,s=n.diagnostics;o<s.length;o++){var a=s[o];this.appendFixesForMarker(e,i,a,r)}return r},e.prototype.getFixesForUnknownProperty=function(e,t,n,i){var r=t.getName(),o=[];this.cssDataManager.getProperties().forEach((function(e){var t=function(e,t,n){void 0===n&&(n=4);var i=Math.abs(e.length-t.length);if(i>n)return 0;var r,o,s=[],a=[];for(r=0;r<t.length+1;++r)a.push(0);for(r=0;r<e.length+1;++r)s.push(a);for(r=1;r<e.length+1;++r)for(o=1;o<t.length+1;++o)e[r-1]===t[o-1]?s[r][o]=s[r-1][o-1]+1:s[r][o]=Math.max(s[r-1][o],s[r][o-1]);return s[e.length][t.length]-Math.sqrt(i)}(r,e.name);t>=r.length/2&&o.push({property:e.name,score:t})})),o.sort((function(e,t){return t.score-e.score||e.property.localeCompare(t.property)}));for(var s=3,a=0,l=o;a<l.length;a++){var c=l[a].property,d=wr("css.codeaction.rename","Rename to '{0}'",c),h=Cn.replace(n.range,c),u=Mn.create(e.uri,e.version),p={documentChanges:[xn.create(u,[h])]},m=ii.create(d,p,ti.QuickFix);if(m.diagnostics=[n],i.push(m),--s<=0)return}},e.prototype.appendFixesForMarker=function(e,t,n,i){if(n.code===br.UnknownProperty.id)for(var r=e.offsetAt(n.range.start),o=e.offsetAt(n.range.end),s=ie(t,r),a=s.length-1;a>=0;a--){var l=s[a];if(l instanceof _e){var c=l.getProperty();if(c&&c.offset===r&&c.end===o)return void this.getFixesForUnknownProperty(e,c,n,i)}}},e}(),Cr=function(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e};function xr(e,t,n,i){var r=e[t];r.value=n,n&&(on(r.properties,i)||r.properties.push(i))}function Sr(e,t,n,i){"top"===t||"right"===t||"bottom"===t||"left"===t?xr(e,t,n,i):function(e,t,n){xr(e,"top",t,n),xr(e,"right",t,n),xr(e,"bottom",t,n),xr(e,"left",t,n)}(e,n,i)}function kr(e,t,n){switch(t.length){case 1:Sr(e,void 0,t[0],n);break;case 2:Sr(e,"top",t[0],n),Sr(e,"bottom",t[0],n),Sr(e,"right",t[1],n),Sr(e,"left",t[1],n);break;case 3:Sr(e,"top",t[0],n),Sr(e,"right",t[1],n),Sr(e,"left",t[1],n),Sr(e,"bottom",t[2],n);break;case 4:Sr(e,"top",t[0],n),Sr(e,"right",t[1],n),Sr(e,"bottom",t[2],n),Sr(e,"left",t[3],n)}}function Er(e,t){for(var n=0,i=t;n<i.length;n++){var r=i[n];if(e.matches(r))return!0}return!1}function Tr(e,t){return void 0===t&&(t=!0),(!t||!Er(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function Lr(e,t){return void 0===t&&(t=!0),e.map((function(e){return Tr(e,t)}))}function Nr(e,t){return void 0===t&&(t=!0),!Er(e,["none","hidden"])&&(!t||!Er(e,["initial","unset"]))}function Ir(e,t){return void 0===t&&(t=!0),e.map((function(e){return Nr(e,t)}))}function Dr(e){var t=e.getChildren();if(1===t.length)return Tr(r=t[0])&&Nr(r);for(var n=0,i=t;n<i.length;n++){var r;if(!Tr(r=i[n],!1)||!Nr(r,!1))return!1}return!0}var Or=wt(),Ar=function(){function e(){this.data={}}return e.prototype.add=function(e,t,n){var i=this.data[e];i||(i={nodes:[],names:[]},this.data[e]=i),i.names.push(t),n&&i.nodes.push(n)},e}(),Rr=function(){function e(e,t,n){var i=this;this.cssDataManager=n,this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new Ar,this.validProperties={};var r=t.getSetting(_r.ValidProperties);Array.isArray(r)&&r.forEach((function(e){if("string"==typeof e){var t=e.trim().toLowerCase();t.length&&(i.validProperties[t]=!0)}}))}return e.entries=function(t,n,i,r,o){var s=new e(n,i,r);return t.acceptVisitor(s),s.completeValidations(),s.getEntries(o)},e.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},e.prototype.fetch=function(e,t){for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i];o.fullPropertyName===t&&n.push(o)}return n},e.prototype.fetchWithValue=function(e,t,n){for(var i=[],r=0,o=e;r<o.length;r++){var s=o[r];if(s.fullPropertyName===t){var a=s.node.getValue();a&&this.findValueInExpression(a,n)&&i.push(s)}}return i},e.prototype.findValueInExpression=function(e,t){var n=!1;return e.accept((function(e){return e.type===J.Identifier&&e.matches(t)&&(n=!0),!n})),n},e.prototype.getEntries=function(e){return void 0===e&&(e=re.Warning|re.Error),this.warnings.filter((function(t){return 0!=(t.getLevel()&e)}))},e.prototype.addEntry=function(e,t,n){var i=new ft(e,t,this.settings.getRule(t),n);this.warnings.push(i)},e.prototype.getMissingNames=function(e,t){for(var n=e.slice(0),i=0;i<t.length;i++){var r=n.indexOf(t[i]);-1!==r&&(n[r]=null)}var o=null;for(i=0;i<n.length;i++){var s=n[i];s&&(o=null===o?Or("namelist.single","'{0}'",s):Or("namelist.concatenated","{0}, '{1}'",o,s))}return o},e.prototype.visitNode=function(e){switch(e.type){case J.UnknownAtRule:return this.visitUnknownAtRule(e);case J.Keyframe:return this.visitKeyframe(e);case J.FontFace:return this.visitFontFace(e);case J.Ruleset:return this.visitRuleSet(e);case J.SimpleSelector:return this.visitSimpleSelector(e);case J.Function:return this.visitFunction(e);case J.NumericValue:return this.visitNumericValue(e);case J.Import:return this.visitImport(e);case J.HexColorValue:return this.visitHexColorValue(e);case J.Prio:return this.visitPrio(e)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(e){var t=e.getChild(0);return!!t&&(!this.cssDataManager.getAtDirective(t.getText())&&(this.addEntry(t,br.UnknownAtRules,"Unknown at rule "+t.getText()),!0))},e.prototype.visitKeyframe=function(e){var t=e.getKeyword();if(!t)return!1;var n=t.getText();return this.keyframes.add(e.getName(),n,"@keyframes"!==n?t:null),!0},e.prototype.validateKeyframes=function(){var e=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var t in this.keyframes.data){var n=this.keyframes.data[t].names,i=-1===n.indexOf("@keyframes");if(i||1!==n.length){var r=this.getMissingNames(e,n);if(r||i)for(var o=0,s=this.keyframes.data[t].nodes;o<s.length;o++){var a=s[o];if(i){var l=Or("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(a,br.IncludeStandardPropertyWhenUsingVendorPrefix,l)}if(r){l=Or("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",r);this.addEntry(a,br.AllVendorPrefixes,l)}}}}return!0},e.prototype.visitSimpleSelector=function(e){var t=this.documentText.charAt(e.offset);return 1===e.length&&"*"===t&&this.addEntry(e,br.UniversalSelector),"#"===t&&this.addEntry(e,br.AvoidIdSelector),!0},e.prototype.visitImport=function(e){return this.addEntry(e,br.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),br.EmptyRuleSet);for(var i=[],r=0,o=n.getChildren();r<o.length;r++){(x=o[r])instanceof _e&&i.push(new Cr(x))}var s=function(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,i=e;n<i.length;n++){var r=i[n],o=r.node.value;if(void 0!==o)switch(r.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":t.width=r;break;case"height":t.height=r;break;default:var s=r.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:Sr(t,s[1],Dr(o),r);break;case"width":Sr(t,s[1],Tr(o,!1),r);break;case"style":Sr(t,s[1],Nr(o,!0),r)}break;case"width":kr(t,Lr(o.getChildren(),!1),r);break;case"style":kr(t,Ir(o.getChildren(),!0),r)}break;case"padding":1===s.length?kr(t,Lr(o.getChildren(),!0),r):Sr(t,s[1],Tr(o,!0),r)}}}return t}(i);if(s.width){var a=[];if(s.right.value&&(a=sn(a,s.right.properties)),s.left.value&&(a=sn(a,s.left.properties)),0!==a.length){for(var l=0,c=a;l<c.length;l++){var d=c[l];this.addEntry(d.node,br.BewareOfBoxModelSize)}this.addEntry(s.width.node,br.BewareOfBoxModelSize)}}if(s.height){a=[];if(s.top.value&&(a=sn(a,s.top.properties)),s.bottom.value&&(a=sn(a,s.bottom.properties)),0!==a.length){for(var h=0,u=a;h<u.length;h++){d=u[h];this.addEntry(d.node,br.BewareOfBoxModelSize)}this.addEntry(s.height.node,br.BewareOfBoxModelSize)}}var p=this.fetchWithValue(i,"display","inline");if(p.length>0)for(var m=0,g=["width","height","margin-top","margin-bottom","float"];m<g.length;m++)for(var f=g[m],b=this.fetch(i,f),_=0;_<b.length;_++){var v=b[_].node,w=v.getValue();("float"!==f||w&&!w.matches("none"))&&this.addEntry(v,br.PropertyIgnoredDueToDisplay,Or("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((p=this.fetchWithValue(i,"display","inline-block")).length>0)for(b=this.fetch(i,"float"),_=0;_<b.length;_++){var y=b[_].node;(w=y.getValue())&&!w.matches("none")&&this.addEntry(y,br.PropertyIgnoredDueToDisplay,Or("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((p=this.fetchWithValue(i,"display","block")).length>0)for(b=this.fetch(i,"vertical-align"),_=0;_<b.length;_++)this.addEntry(b[_].node,br.PropertyIgnoredDueToDisplay,Or("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var C=this.fetch(i,"float");for(_=0;_<C.length;_++){var x=C[_];this.isValidPropertyDeclaration(x)||this.addEntry(x.node,br.AvoidFloat)}for(var S=0;S<i.length;S++){if("background"!==(x=i[S]).fullPropertyName&&!this.validProperties[x.fullPropertyName])if((w=x.node.getValue())&&"-"!==this.documentText.charAt(w.offset)){var k=this.fetch(i,x.fullPropertyName);if(k.length>1)for(var E=0;E<k.length;E++){var T=k[E].node.getValue();T&&"-"!==this.documentText.charAt(T.offset)&&k[E]!==x&&this.addEntry(x.node,br.DuplicateDeclarations)}}}if(!t.getSelectors().matches(":export")){for(var L=new Ar,N=!1,I=0,D=i;I<D.length;I++){var O=(x=D[I]).node;if(this.isCSSDeclaration(O)){var A=x.fullPropertyName,R=A.charAt(0);if("-"===R){if("-"!==A.charAt(1)){this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(O.getProperty(),br.UnknownVendorSpecificProperty);var M=O.getNonPrefixedPropertyName();L.add(M,A,O.getProperty())}}else{var P=A;"*"!==R&&"_"!==R||(this.addEntry(O.getProperty(),br.IEStarHack),A=A.substr(1)),this.cssDataManager.isKnownProperty(P)||this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(O.getProperty(),br.UnknownProperty,Or("property.unknownproperty.detailed","Unknown property: '{0}'",O.getFullPropertyName())),L.add(A,A,null)}}else N=!0}if(!N)for(var F in L.data){var W=L.data[F],z=W.names,B=this.cssDataManager.isStandardProperty(F)&&-1===z.indexOf(F);if(B||1!==z.length){for(var j=[],V=(S=0,e.prefixes.length);S<V;S++){var U=e.prefixes[S];this.cssDataManager.isStandardProperty(U+F)&&j.push(U+F)}var H=this.getMissingNames(j,z);if(H||B)for(var q=0,$=W.nodes;q<$.length;q++){var K=$[q];if(B){var G=Or("property.standard.missing","Also define the standard property '{0}' for compatibility",F);this.addEntry(K,br.IncludeStandardPropertyWhenUsingVendorPrefix,G)}if(H){G=Or("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",H);this.addEntry(K,br.AllVendorPrefixes,G)}}}}}return!0},e.prototype.visitPrio=function(e){return this.addEntry(e,br.AvoidImportant),!0},e.prototype.visitNumericValue=function(e){var t=e.findParent(J.Function);if(t&&"calc"===t.getName())return!0;var n=e.findParent(J.Declaration);if(n&&n.getValue()){var i=e.getValue();if(!i.unit||-1===Zt.length.indexOf(i.unit.toLowerCase()))return!0;0===parseFloat(i.value)&&i.unit&&!this.validProperties[n.getFullPropertyName()]&&this.addEntry(e,br.ZeroWithUnit)}return!0},e.prototype.visitFontFace=function(e){var t=e.getDeclarations();if(!t)return!1;for(var n=!1,i=!1,r=!1,o=0,s=t.getChildren();o<s.length;o++){var a=s[o];if(this.isCSSDeclaration(a)){var l=a.getProperty().getName().toLowerCase();"src"===l&&(n=!0),"font-family"===l&&(i=!0)}else r=!0}return r||n&&i||this.addEntry(e,br.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(e){if(e instanceof _e){if(!e.getValue())return!1;var t=e.getProperty();if(!t)return!1;var n=t.getIdentifier();return!(!n||n.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(e){var t=e.length;return 9!==t&&7!==t&&5!==t&&4!==t&&this.addEntry(e,br.HexColorLength),!1},e.prototype.visitFunction=function(e){var t=e.getName().toLowerCase(),n=-1,i=0;switch(t){case"rgb(":case"hsl(":n=3;break;case"rgba(":case"hsla(":n=4}return-1!==n&&(e.getArguments().accept((function(e){return!(e instanceof Ye)||(i+=1,!1)})),i!==n&&this.addEntry(e,br.ArgsInColorFunction)),!0},e.prefixes=["-ms-","-moz-","-o-","-webkit-"],e}(),Mr=function(){function e(e){this.cssDataManager=e}return e.prototype.configure=function(e){this.settings=e},e.prototype.doValidation=function(e,t,n){if(void 0===n&&(n=this.settings),n&&!1===n.validate)return[];var i=[];i.push.apply(i,bt.entries(t)),i.push.apply(i,Rr.entries(t,e,new vr(n&&n.lint),this.cssDataManager));var r=[];for(var o in br)r.push(br[o].id);return i.filter((function(e){return e.getLevel()!==re.Ignore})).map((function(t){var n=ln.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),i=e.languageId;return{code:t.getRule().id,source:i,message:t.getMessage(),severity:t.getLevel()===re.Warning?bn.Warning:bn.Error,range:n}}))},e}(),Pr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Fr="/".charCodeAt(0),Wr="\n".charCodeAt(0),zr="\r".charCodeAt(0),Br="\f".charCodeAt(0),jr="$".charCodeAt(0),Vr="#".charCodeAt(0),Ur="{".charCodeAt(0),Hr="=".charCodeAt(0),qr="!".charCodeAt(0),$r="<".charCodeAt(0),Kr=">".charCodeAt(0),Gr=".".charCodeAt(0),Yr=("@".charCodeAt(0),i.CustomToken),Zr=Yr++,Xr=Yr++,Qr=(Yr++,Yr++),Jr=Yr++,eo=Yr++,to=Yr++,no=Yr++,io=(Yr++,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pr(t,e),t.prototype.scanNext=function(t){if(this.stream.advanceIfChar(jr)){var n=["$"];if(this.ident(n))return this.finishToken(t,Zr,n.join(""));this.stream.goBackTo(t)}return this.stream.advanceIfChars([Vr,Ur])?this.finishToken(t,Xr):this.stream.advanceIfChars([Hr,Hr])?this.finishToken(t,Qr):this.stream.advanceIfChars([qr,Hr])?this.finishToken(t,Jr):this.stream.advanceIfChar($r)?this.stream.advanceIfChar(Hr)?this.finishToken(t,to):this.finishToken(t,i.Delim):this.stream.advanceIfChar(Kr)?this.stream.advanceIfChar(Hr)?this.finishToken(t,eo):this.finishToken(t,i.Delim):this.stream.advanceIfChars([Gr,Gr,Gr])?this.finishToken(t,no):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Fr,Fr]))&&(this.stream.advanceWhileChar((function(e){switch(e){case Wr:case zr:case Br:return!1;default:return!0}})),!0)},t}(G)),ro=wt(),oo=function(e,t){this.id=e,this.message=t},so={FromExpected:new oo("scss-fromexpected",ro("expected.from","'from' expected")),ThroughOrToExpected:new oo("scss-throughexpected",ro("expected.through","'through' or 'to' expected")),InExpected:new oo("scss-fromexpected",ro("expected.in","'in' expected"))},ao=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),lo=function(e){function t(){return e.call(this,new io)||this}return ao(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(i.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(t)||e.prototype._parseStylesheetAtStatement.call(this,t):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Re);if(this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.URIOrStringExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.URIOrStringExpected);return this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)},t.prototype._parseVariableDeclaration=function(e){if(void 0===e&&(e=[]),!this.peek(Zr))return null;var t=this.create(it);if(!t.setVariable(this._parseVariable()))return null;if(!this.accept(i.Colon))return this.finish(t,xt.ColonExpected);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),!t.setValue(this._parseExpr()))return this.finish(t,xt.VariableValueExpected,[],e);for(;this.peek(i.Exclamation);)if(t.addChild(this._tryParsePrio()));else{if(this.consumeToken(),!this.peekRegExp(i.Ident,/^(default|global)$/))return this.finish(t,xt.UnknownKeyword);this.consumeToken()}return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(Zr))return null;var e=this.create(ot);return this.consumeToken(),e},t.prototype._parseModuleMember=function(){var e=this.mark(),t=this.create(gt);return t.setIdentifier(this._parseIdent([ee.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,xt.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(e){var t=this;if(!this.peek(i.Ident)&&!this.peek(Xr)&&!this.peekDelim("-"))return null;var n=this.create(ae);n.referenceTypes=e,n.isCustomProperty=this.peekRegExp(i.Ident,/^--/);for(var r,o=!1;(this.accept(i.Ident)||n.addChild((r=void 0,r=t.mark(),t.acceptDelim("-")&&(t.hasWhitespace()||t.acceptDelim("-"),t.hasWhitespace())?(t.restoreAtMark(r),null):t._parseInterpolation()))||o&&this.acceptRegexp(/[\w-]/))&&(o=!0,!this.hasWhitespace()););return o?this.finish(n):null},t.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||e.prototype._parseTermExpression.call(this)},t.prototype._parseInterpolation=function(){if(this.peek(Xr)){var e=this.create(rt);return this.consumeToken(),e.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(i.CurlyR)?this.finish(e):this.finish(e,xt.RightCurlyExpected):this.accept(i.CurlyR)?this.finish(e):this.finish(e,xt.ExpressionExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Qr)||this.peek(Jr)||this.peek(eo)||this.peek(to)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(J.Operator);return this.consumeToken(),this.finish(t)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(oe);return this.consumeToken(),this.finish(t)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(e){var t=this.create(_e);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(t,xt.ColonExpected,[i.Colon],e);this.prevToken&&(t.colonPosition=this.prevToken.offset);var n=!1;if(t.setValue(this._parseExpr())&&(n=!0,t.addChild(this._parsePrio())),this.peek(i.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!n)return this.finish(t,xt.PropertyValueExpected);return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseNestedProperties=function(){var e=this.create(De);return this._parseBody(e,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(st);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,xt.SelectorExpected);for(;this.accept(i.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(i.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,xt.UnknownKeyword):this.finish(e)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(J.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var e=this.createNode(J.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){e=this.createNode(J.SelectorPlaceholder);return this.consumeToken(),this.finish(e)}return null},t.prototype._parseElementName=function(){var t=this.mark(),n=e.prototype._parseElementName.call(this);return n&&!this.hasWhitespace()&&this.peek(i.ParenthesisL)?(this.restoreAtMark(t),null):n},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var e=this.createNode(J.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)},t.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(i.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},t.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},t.prototype._internalParseIfStatement=function(e){var t=this.create(xe);if(this.consumeToken(),!t.setExpression(this._parseExpr(!0)))return this.finish(t,xt.ExpressionExpected);if(this._parseBody(t,e),this.acceptKeyword("@else"))if(this.peekIdent("if"))t.setElseClause(this._internalParseIfStatement(e));else if(this.peek(i.CurlyL)){var n=this.create(Te);this._parseBody(n,e),t.setElseClause(n)}return this.finish(t)},t.prototype._parseForStatement=function(e){if(!this.peekKeyword("@for"))return null;var t=this.create(Se);return this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,xt.ExpressionExpected,[i.CurlyR]):this.finish(t,so.ThroughOrToExpected,[i.CurlyR]):this.finish(t,xt.ExpressionExpected,[i.CurlyR]):this.finish(t,so.FromExpected,[i.CurlyR]):this.finish(t,xt.VariableNameExpected,[i.CurlyR])},t.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(ke);this.consumeToken();var n=t.getVariables();if(!n.addChild(this._parseVariable()))return this.finish(t,xt.VariableNameExpected,[i.CurlyR]);for(;this.accept(i.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,xt.VariableNameExpected,[i.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,xt.ExpressionExpected,[i.CurlyR]):this.finish(t,so.InExpected,[i.CurlyR])},t.prototype._parseWhileStatement=function(e){if(!this.peekKeyword("@while"))return null;var t=this.create(Ee);return this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,xt.ExpressionExpected,[i.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(Le);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Function])))return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected,[i.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,xt.VariableNameExpected);return this.accept(i.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,xt.RightParenthesisExpected,[i.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var e=this.createNode(J.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,xt.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(dt);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Mixin])))return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);if(this.accept(i.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,xt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected,[i.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var e=this.create(ye);return e.setIdentifier(this._parseVariable())?(this.accept(no),this.accept(i.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,xt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):this.finish(e)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.create(at);if(this.consumeToken(),this.accept(i.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,xt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected)}return this.finish(e)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(ct);this.consumeToken();var t=this._parseIdent([ee.Mixin]);if(!e.setIdentifier(t))return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([ee.Mixin]);if(!n)return this.finish(e,xt.IdentifierExpected,[i.CurlyR]);var r=this.create(gt);t.referenceTypes=[ee.Module],r.setIdentifier(t),e.setIdentifier(n),e.addChild(r)}if(this.accept(i.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,xt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(i.CurlyL))&&e.setContent(this._parseMixinContentDeclaration()),this.finish(e)},t.prototype._parseMixinContentDeclaration=function(){var e=this.create(lt);if(this.acceptIdent("using")){if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected,[i.CurlyL]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,xt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected,[i.CurlyL])}return this.peek(i.CurlyL)&&this._parseBody(e,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(e)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var e=this.create(Ce),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(i.Colon))e.setIdentifier(n);else{if(this.accept(no))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(no),e.addChild(this._parsePrio()),this.finish(e)):e.setValue(this._tryParsePrio())?this.finish(e):null},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var r=this.create(oe);return r.addChild(this._parseBinaryExpr()),this.finish(r)}return n},t.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(oe);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(i.Comma);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},t.prototype._parseListElement=function(){var e=this.create(ut),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(i.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,xt.ExpressionExpected)}else e.setValue(t);return this.finish(e)},t.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var e=this.create(Me);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|with/))return this.finish(e,xt.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([ee.Module]))&&!this.acceptDelim("*"))return this.finish(e,xt.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected,[i.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,xt.VariableNameExpected);for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,xt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected)}}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,xt.SemiColonExpected)},t.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Pe);return e.setIdentifier(this._parseVariable())?this.accept(i.Colon)&&e.setValue(this._parseExpr(!0))?this.finish(e):this.finish(e,xt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):null},t.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var e=this.create(Fe);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,xt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|hide|show/))return this.finish(e,xt.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([ee.Forward]);if(!e.setIdentifier(t))return this.finish(e,xt.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,xt.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,xt.IdentifierOrVariableExpected)}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,xt.SemiColonExpected)},t.prototype._parseForwardVisibility=function(){var e=this.create(We);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent()););return e.getChildren().length>1?e:null},t.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||e.prototype._parseSupportsCondition.call(this)},t}(rn),co=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ho=wt(),uo=function(e){function t(n,i){var r=e.call(this,"$",n,i)||this;return po(t.scssModuleLoaders),po(t.scssModuleBuiltIns),r}return co(t,e),t.prototype.isImportPathParent=function(t){return t===J.Forward||t===J.Use||e.prototype.isImportPathParent.call(this,t)},t.prototype.getCompletionForImportPath=function(n,i){var r=n.getParent().type;if(r===J.Forward||r===J.Use)for(var o=0,s=t.scssModuleBuiltIns;o<s.length;o++){var a=s[o],l={label:a.label,documentation:a.documentation,textEdit:Cn.replace(this.getCompletionRange(n),"'"+a.label+"'"),kind:zn.Module};i.items.push(l)}return e.prototype.getCompletionForImportPath.call(this,n,i)},t.prototype.createReplaceFunction=function(){var e=1;return function(n,i){return"\\"+i+": ${"+e+++":"+(t.variableDefaults[i]||"")+"}"}},t.prototype.createFunctionProposals=function(e,t,n,i){for(var r=0,o=e;r<o.length;r++){var s=o[r],a=s.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),l={label:s.func.substr(0,s.func.indexOf("(")),detail:s.func,documentation:s.desc,textEdit:Cn.replace(this.getCompletionRange(t),a),insertTextFormat:Bn.Snippet,kind:zn.Function};n&&(l.sortText="z"),i.items.push(l)}return i},t.prototype.getCompletionsForSelector=function(n,i,r){return this.createFunctionProposals(t.selectorFuncs,null,!0,r),e.prototype.getCompletionsForSelector.call(this,n,i,r)},t.prototype.getTermProposals=function(n,i,r){var o=t.builtInFuncs;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,i,!0,r),e.prototype.getTermProposals.call(this,n,i,r)},t.prototype.getColorProposals=function(n,i,r){return this.createFunctionProposals(t.colorProposals,i,!1,r),e.prototype.getColorProposals.call(this,n,i,r)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionForAtDirectives(n),this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.prototype.getCompletionsForExtendsReference=function(e,t,n){for(var i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Rule);i<r.length;i++){var o=r[i],s={label:o.name,textEdit:Cn.replace(this.getCompletionRange(t),o.name),kind:zn.Function};n.items.push(s)}return n},t.prototype.getCompletionForAtDirectives=function(e){var n;return(n=e.items).push.apply(n,t.scssAtDirectives),e},t.prototype.getCompletionForTopLevel=function(t){return this.getCompletionForAtDirectives(t),this.getCompletionForModuleLoaders(t),e.prototype.getCompletionForTopLevel.call(this,t),t},t.prototype.getCompletionForModuleLoaders=function(e){var n;return(n=e.items).push.apply(n,t.scssModuleLoaders),e},t.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},t.colorProposals=[{func:"red($color)",desc:ho("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:ho("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:ho("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:ho("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:ho("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:ho("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:ho("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:ho("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:ho("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:ho("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:ho("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:ho("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:ho("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:ho("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:ho("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:ho("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:ho("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:ho("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:ho("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:ho("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:ho("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:ho("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],t.selectorFuncs=[{func:"selector-nest($selectors…)",desc:ho("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:ho("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:ho("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:ho("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:ho("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:ho("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:ho("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:ho("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],t.builtInFuncs=[{func:"unquote($string)",desc:ho("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:ho("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:ho("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:ho("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:ho("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:ho("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:ho("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:ho("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:ho("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:ho("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:ho("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:ho("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:ho("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:ho("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:ho("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:ho("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:ho("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:ho("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:ho("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:ho("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:ho("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:ho("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:ho("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:ho("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:ho("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:ho("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:ho("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:ho("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:ho("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:ho("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:ho("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:ho("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:ho("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:ho("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:ho("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:ho("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:ho("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:ho("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:ho("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:ho("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:ho("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:ho("scss.builtin.call","Dynamically calls a Sass function.")}],t.scssAtDirectives=[{label:"@extend",documentation:ho("scss.builtin.@extend","Inherits the styles of another selector."),kind:zn.Keyword},{label:"@at-root",documentation:ho("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:zn.Keyword},{label:"@debug",documentation:ho("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:zn.Keyword},{label:"@warn",documentation:ho("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:zn.Keyword},{label:"@error",documentation:ho("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:zn.Keyword},{label:"@if",documentation:ho("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@for",documentation:ho("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@each",documentation:ho("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@while",documentation:ho("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@mixin",documentation:ho("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@include",documentation:ho("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:zn.Keyword},{label:"@function",documentation:ho("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:zn.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:ho("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Bn.Snippet,kind:zn.Keyword},{label:"@forward",documentation:ho("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Bn.Snippet,kind:zn.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:ho("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:ho("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:ho("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:ho("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:ho("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:ho("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:ho("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],t}(Wi);function po(e){e.forEach((function(e){if(e.documentation&&e.references&&e.references.length>0){var t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "),e.documentation=t}}))}var mo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),go="/".charCodeAt(0),fo="\n".charCodeAt(0),bo="\r".charCodeAt(0),_o="\f".charCodeAt(0),vo="`".charCodeAt(0),wo=".".charCodeAt(0),yo=i.CustomToken,Co=yo++,xo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mo(t,e),t.prototype.scanNext=function(t){var n=this.escapedJavaScript();return null!==n?this.finishToken(t,n):this.stream.advanceIfChars([wo,wo,wo])?this.finishToken(t,Co):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([go,go]))&&(this.stream.advanceWhileChar((function(e){switch(e){case fo:case bo:case _o:return!1;default:return!0}})),!0)},t.prototype.escapedJavaScript=function(){return this.stream.peekChar()===vo?(this.stream.advance(1),this.stream.advanceWhileChar((function(e){return e!==vo})),this.stream.advanceIfChar(vo)?i.EscapedJavaScript:i.BadEscapedJavaScript):null},t}(G),So=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ko=function(e){function t(){return e.call(this,new xo)||this}return So(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(i.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var e=this.create(Re);if(this.consumeToken(),this.accept(i.ParenthesisL)){if(!this.accept(i.Ident))return this.finish(e,xt.IdentifierExpected,[i.SemiColon]);do{if(!this.accept(i.Comma))break}while(this.accept(i.Ident));if(!this.accept(i.ParenthesisR))return this.finish(e,xt.RightParenthesisExpected,[i.SemiColon])}return e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,xt.URIOrStringExpected,[i.SemiColon])},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var e=this.createNode(J.Plugin);return this.consumeToken(),e.addChild(this._parseStringLiteral())?this.accept(i.SemiColon)?this.finish(e):this.finish(e,xt.SemiColonExpected):this.finish(e,xt.StringLiteralExpected)},t.prototype._parseMediaQuery=function(t){var n=e.prototype._parseMediaQuery.call(this,t);if(!n){var i=this.create(He);return i.addChild(this._parseVariable())?this.finish(i):null}return n},t.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(e){void 0===e&&(e=[]);var t=this.create(it),n=this.mark();if(!t.setVariable(this._parseVariable(!0)))return null;if(!this.accept(i.Colon))return this.restoreAtMark(n),null;if(this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseDetachedRuleSet()))t.needsSemicolon=!1;else if(!t.setValue(this._parseExpr()))return this.finish(t,xt.VariableValueExpected,[],e);return t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseDetachedRuleSet=function(){var e=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;var t=this.create(dt);if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,xt.IdentifierExpected,[],[i.ParenthesisR]);if(!this.accept(i.ParenthesisR))return this.restoreAtMark(e),null}if(!this.peek(i.CurlyL))return null;var n=this.create(de);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(e){if(!e.addChild(this._parseLookupValue()))return!1;for(var t=!1;this.peek(i.BracketL)&&(t=!0),e.addChild(this._parseLookupValue());)t=!1;return!t},t.prototype._parseLookupValue=function(){var e=this.create(oe),t=this.mark();return this.accept(i.BracketL)&&((e.addChild(this._parseVariable(!1,!0))||e.addChild(this._parsePropertyIdentifier()))&&this.accept(i.BracketR)||this.accept(i.BracketR))?e:(this.restoreAtMark(t),null)},t.prototype._parseVariable=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=!e&&this.peekDelim("$");if(!this.peekDelim("@")&&!n&&!this.peek(i.AtKeyword))return null;for(var r=this.create(ot),o=this.mark();this.acceptDelim("@")||!e&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(o),null;return(this.accept(i.AtKeyword)||this.accept(i.Ident))&&(t||!this.peek(i.BracketL)||this._addLookupChildren(r))?r:(this.restoreAtMark(o),null)},t.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||e.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},t.prototype._parseEscaped=function(){if(this.peek(i.EscapedJavaScript)||this.peek(i.BadEscapedJavaScript)){var e=this.createNode(J.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){e=this.createNode(J.EscapedValue);return this.consumeToken(),this.accept(i.String)||this.accept(i.EscapedJavaScript)?this.finish(e):this.finish(e,xt.TermExpected)}return null},t.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var e=this.createNode(J.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){e=this.createNode(J.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){e=this.createNode(J.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(e){var t=this.create(ue),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var r=this.mark();if(t.addChild(this._parseGuard())&&this.peek(i.CurlyL))break;this.restoreAtMark(r),t.addChild(this._parseCombinator())}return n?this.finish(t):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(J.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var e=this.createNode(J.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null},t.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;var n=this.mark(),i=this.create(ae);i.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");return(e?i.isCustomProperty?i.addChild(this._parseIdent()):i.addChild(this._parseRegexp(t)):i.isCustomProperty?this._acceptInterpolatedIdent(i):this._acceptInterpolatedIdent(i,t))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(i)):(this.restoreAtMark(n),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(i.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},t.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,r=!1,o=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},s=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(i.Ident)};(s()||e.addChild(this._parseInterpolation()||this.try(o)))&&(r=!0,!this.hasWhitespace()););return r},t.prototype._parseInterpolation=function(){var e=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var t=this.createNode(J.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(i.CurlyL)?(this.restoreAtMark(e),null):t.addChild(this._parseIdent())?this.accept(i.CurlyR)?this.finish(t):this.finish(t,xt.RightCurlyExpected):this.finish(t,xt.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(dt);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,xt.IdentifierExpected,[],[i.ParenthesisR]);return this.accept(i.ParenthesisR)?(t.setGuard(this._parseGuard()),this.peek(i.CurlyL)?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)):(this.restoreAtMark(e),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(ae),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(i.Hash))return null;e=this.create(ae),this.consumeToken()}return e.referenceTypes=[ee.Mixin],this.finish(e)},t.prototype._parsePseudo=function(){if(!this.peek(i.Colon))return null;var t=this.mark(),n=this.create(st);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var e=this.mark(),t=this.create(st);return this.consumeToken(),!this.hasWhitespace()&&this.accept(i.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)},t.prototype._completeExtends=function(e){if(!this.accept(i.ParenthesisL))return this.finish(e,xt.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,xt.SelectorExpected);for(;this.accept(i.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,xt.SelectorExpected);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(i.AtKeyword))return null;var e=this.mark(),t=this.create(ct);return!t.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(i.ParenthesisL)?this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected):(this.restoreAtMark(e),null)},t.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(ct),r=this._parseMixinDeclarationIdentifier();r;){this.acceptDelim(">");var o=this._parseMixinDeclarationIdentifier();if(!o)break;n.getNamespaces().addChild(r),r=o}if(!n.setIdentifier(r))return this.restoreAtMark(t),null;var s=!1;if(this.accept(i.ParenthesisL)){if(s=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,xt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(n,xt.RightParenthesisExpected);r.referenceTypes=[ee.Mixin]}else r.referenceTypes=[ee.Mixin,ee.Rule];return this.peek(i.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),s||this.peek(i.SemiColon)||this.peek(i.CurlyR)||this.peek(i.EOF)?this.finish(n):(this.restoreAtMark(t),null)},t.prototype._parseMixinArgument=function(){var e=this.create(Ce),t=this.mark(),n=this._parseVariable();return n&&(this.accept(i.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},t.prototype._parseMixinParameter=function(){var e=this.create(ye);if(this.peekKeyword("@rest")){var t=this.create(oe);return this.consumeToken(),this.accept(Co)?(e.setIdentifier(this.finish(t)),this.finish(e)):this.finish(e,xt.DotExpected,[],[i.Comma,i.ParenthesisR])}if(this.peek(Co)){var n=this.create(oe);return this.consumeToken(),e.setIdentifier(this.finish(n)),this.finish(e)}var r=!1;return e.setIdentifier(this._parseVariable())&&(this.accept(i.Colon),r=!0),e.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||r?this.finish(e):null},t.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(pt);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,xt.ConditionExpected);for(;this.acceptIdent("and")||this.accept(i.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,xt.ConditionExpected);return this.finish(e)},t.prototype._parseGuardCondition=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(mt);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,xt.RightParenthesisExpected)},t.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,xt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,xt.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(ae);return t.referenceTypes=[ee.Function],this.consumeToken(),this.finish(t)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var r=this.create(oe);return r.addChild(this._parseBinaryExpr()),this.finish(r)}return n},t}(rn),Eo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),To=wt(),Lo=function(e){function t(t,n){return e.call(this,"@",t,n)||this}return Eo(t,e),t.prototype.createFunctionProposals=function(e,t,n,i){for(var r=0,o=e;r<o.length;r++){var s=o[r],a={label:s.name,detail:s.example,documentation:s.description,textEdit:Cn.replace(this.getCompletionRange(t),s.name+"($0)"),insertTextFormat:Bn.Snippet,kind:zn.Function};n&&(a.sortText="z"),i.items.push(a)}return i},t.prototype.getTermProposals=function(n,i,r){var o=t.builtInProposals;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,i,!0,r),e.prototype.getTermProposals.call(this,n,i,r)},t.prototype.getColorProposals=function(n,i,r){return this.createFunctionProposals(t.colorProposals,i,!1,r),e.prototype.getColorProposals.call(this,n,i,r)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:To("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:To("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:To("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:To("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:To("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:To("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:To("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:To("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:To("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:To("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:To("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:To("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:To("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:To("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:To("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:To("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:To("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:To("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:To("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:To("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:To("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:To("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:To("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:To("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:To("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:To("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:To("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:To("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:To("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:To("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],t.colorProposals=[{name:"argb",example:"argb(@color);",description:To("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:To("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:To("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:To("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:To("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:To("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:To("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:To("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:To("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:To("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:To("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:To("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:To("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:To("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:To("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:To("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:To("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:To("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:To("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:To("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:To("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:To("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:To("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:To("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:To("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:To("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:To("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],t}(Wi);function No(e,t){return function(e,t){var n=t&&t.rangeLimit||Number.MAX_VALUE,i=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n})),r=[],o=-1;return i.forEach((function(e){e.startLine<o&&o<e.endLine||(r.push(e),o=e.endLine)})),r.length<n?r:r.slice(0,n)}(function(e){function t(t){return e.positionAt(t.offset).line}function n(t){return e.positionAt(t.offset+t.len).line}var r=[],o=[],s=function(){switch(e.languageId){case"scss":return new io;case"less":return new xo;default:return new G}}();s.ignoreComment=!1,s.setSource(e.getText());var a=s.scan(),l=null,c=function(){switch(a.type){case i.CurlyL:case Xr:o.push({line:t(a),type:"brace",isStart:!0});break;case i.CurlyR:if(0!==o.length){if(!(u=Io(o,"brace")))break;var c=n(a);"brace"===u.type&&(l&&n(l)!==c&&c--,u.line!==c&&r.push({startLine:u.line,endLine:c,kind:void 0}))}break;case i.Comment:var d=function(e){return"#region"===e?{line:t(a),type:"comment",isStart:!0}:{line:n(a),type:"comment",isStart:!1}},h=function(t){var n=t.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(n)return d(n[1]);if("scss"===e.languageId||"less"===e.languageId){var i=t.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(i)return d(i[1])}return null}(a);if(h)if(h.isStart)o.push(h);else{var u;if(!(u=Io(o,"comment")))break;"comment"===u.type&&u.line!==h.line&&r.push({startLine:u.line,endLine:h.line,kind:"region"})}else{var p=function(e,i){var r=t(e),o=n(e);return r!==o?{startLine:r,endLine:o,kind:i}:null}(a,"comment");p&&r.push(p)}}l=a,a=s.scan()};for(;a.type!==i.EOF;)c();return r}(e),t)}function Io(e,t){if(0===e.length)return null;for(var n=e.length-1;n>=0;n--)if(e[n].type===t&&e[n].isStart)return e.splice(n,1)[0];return null}var Do={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:59,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:81,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:50,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",relevance:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",relevance:69,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-duration",syntax:"<time>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"animation-timing-function",syntax:"<timing-function>#",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-blend-mode",browsers:["E79","FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",relevance:67,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"background-color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"background-origin",syntax:"<box>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-position",syntax:"<bg-position>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"behavior",browsers:["IE6"],relevance:50,description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"border-bottom-width",syntax:"<line-width>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",relevance:75,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",relevance:86,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"border-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-left-color",syntax:"<color>",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"border-left-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"border-left-width",syntax:"<line-width>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right-color",syntax:"<color>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"border-right-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"border-right-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"border-spacing",syntax:"<length> <length>?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-top-color",syntax:"<color>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"border-top-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"border-top-width",syntax:"<line-width>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"box-decoration-break",browsers:["E79","FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",relevance:50,description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"caret-color",browsers:["E79","FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Sets the color of an element's text",restrictions:["color"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],relevance:50,description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",relevance:52,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"column-rule-color",syntax:"<color>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"column-rule-style",syntax:"<'border-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"column-rule-width",syntax:"<'border-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"contain",browsers:["E79","FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],syntax:"none | strict | content | [ size || layout || style || paint ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],relevance:50,description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",relevance:50,description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:74,description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"fill-opacity",relevance:52,description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",relevance:78,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"flex-grow",syntax:"<number>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-shrink",syntax:"<number>",relevance:69,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"font-kerning",browsers:["E79","FF32","S9","C33","O20"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"font-size-adjust",browsers:["E79","FF40","C43","O30"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",relevance:83,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["E79","FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["E79","FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"font-variant-ligatures",browsers:["E79","FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["E79","FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"glyph-orientation-horizontal",relevance:50,description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],relevance:50,description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",relevance:1,description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"image-orientation",browsers:["E81","FF26","S13.1","C81","O67"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-rendering",browsers:["E79","FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["E79","FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"inline-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"isolation",browsers:["E79","FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",relevance:82,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],relevance:50,description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"margin-block-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-block-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["E79","FF53","S4","C1","O15"],syntax:"<geometry-box>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"mask-type",browsers:["E79","FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"max-block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"max-inline-size",browsers:["E79","FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"min-inline-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"mix-blend-mode",browsers:["E79","FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"motion-offset",browsers:["C46","O33"],relevance:50,description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],relevance:50,description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",relevance:0,description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],relevance:50,description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],relevance:50,description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],relevance:50,description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],relevance:50,description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],relevance:50,description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],relevance:50,description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],relevance:50,description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],relevance:50,description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",relevance:0,description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],relevance:50,description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",relevance:0,description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",relevance:0,description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",relevance:0,description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",relevance:0,description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",relevance:0,description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],relevance:50,description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],relevance:50,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],relevance:50,description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],relevance:50,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],relevance:50,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],relevance:50,description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],relevance:50,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],relevance:50,description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],relevance:50,description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],relevance:50,description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",relevance:0,description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",relevance:0,description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",relevance:0,description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",relevance:0,description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],relevance:50,description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],relevance:50,description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],relevance:50,description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],relevance:50,description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],relevance:50,description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],relevance:50,description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],relevance:50,description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],relevance:50,description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",relevance:0,description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],relevance:50,description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE5"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",relevance:0,description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",relevance:0,description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",relevance:0,description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",relevance:0,description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],relevance:50,description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],relevance:50,description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],relevance:50,description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],relevance:50,description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],relevance:50,description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",relevance:0,description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",relevance:0,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],relevance:50,description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],relevance:50,description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",relevance:0,description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",relevance:0,description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],relevance:50,description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],relevance:50,description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],relevance:50,description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],relevance:50,description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",relevance:50,description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],relevance:50,description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],relevance:50,description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"opacity",syntax:"<alpha-value>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"order",syntax:"<integer>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"-o-table-baseline",browsers:["O9.6"],relevance:50,description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],relevance:50,description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"outline-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",relevance:50,description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-bottom",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-right",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],syntax:"normal | [ fill || stroke || markers ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"perspective-origin",syntax:"<position>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",relevance:80,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],description:"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.",restrictions:["enum"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",relevance:50,description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"resize",browsers:["E79","FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE6"],relevance:50,description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"scroll-behavior",browsers:["E79","FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"shape-image-threshold",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<alpha-value>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"shape-margin",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<length-percentage>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-outside",browsers:["E79","FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],relevance:50,description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],syntax:"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",relevance:52,description:"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.",restrictions:["length"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",relevance:67,description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"stop-color",relevance:51,description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"stop-opacity",relevance:50,description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:63,description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],relevance:58,description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"stroke-dashoffset",relevance:58,description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],relevance:53,description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],relevance:50,description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"stroke-miterlimit",relevance:50,description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"stroke-opacity",relevance:51,description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"stroke-width",relevance:60,description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:"interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style."},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",relevance:50,description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"tab-size",browsers:["E79","FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O34"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],relevance:50,description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"text-decoration-color",browsers:["E79","FF36","S12.1","C57","O44"],syntax:"<color>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"text-decoration-line",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"text-orientation",browsers:["E79","FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["E79","FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["E79","FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"text-rendering",browsers:["E79","FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"text-underline-position",values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | from-font | [ under || [ left | right ] ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"transform-style",browsers:["E12","FF16","S9","C36","O23"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O23"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"transition-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"transition-duration",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"transition-timing-function",syntax:"<timing-function>#",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",relevance:58,description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",relevance:24,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",relevance:0,description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],relevance:50,description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],relevance:50,restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],relevance:50,description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["E79","S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],relevance:50,description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],relevance:50,description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],relevance:50,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],relevance:50,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],relevance:50,description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],relevance:50,description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",relevance:0,description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",relevance:0,description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",relevance:0,description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",relevance:0,description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",relevance:0,description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],relevance:50,description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],relevance:50,description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E12","C16","O≤15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}],restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],relevance:50,description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],relevance:50,restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",relevance:0,description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"will-change",browsers:["E79","FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",relevance:0,description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",relevance:0,browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",relevance:0,description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",relevance:0,description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",relevance:0,description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",relevance:0,description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",relevance:0,browsers:["E79","S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",relevance:0,description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",relevance:0,description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",relevance:0,description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",relevance:50,browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",relevance:0,description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",relevance:0,browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",relevance:0,browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",relevance:0,description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | menulist-button | <compat-auto>",relevance:60,browsers:["E84","FF1","S3","C84","O70"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",relevance:50,browsers:["E79","FF71","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}],description:"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"backdrop-filter",syntax:"none | <filter-function-list>",relevance:51,browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",relevance:50,browsers:["E79","FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"font-optical-sizing",syntax:"auto | none",relevance:50,browsers:["E17","FF62","S11","C79","O66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",relevance:50,browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"font-smooth",status:"nonstandard",syntax:"auto | never | always | <absolute-size> | <length>",relevance:0,browsers:["E79","FF25","S4","C5","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-smooth"}],description:""},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",relevance:50,browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",relevance:50,description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",relevance:50,browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"inset",syntax:"<'top'>{1,4}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",relevance:50,browsers:["E79","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-trim",status:"experimental",syntax:"none | in-flow | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-trim"}],description:"The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges."},{name:"mask",syntax:"<mask-layer>#",relevance:50,browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"mask-border",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",relevance:50,description:"The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."},{name:"mask-border-mode",syntax:"luminance | alpha",relevance:50,description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:50,description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",syntax:"<number-percentage>{1,4} fill?",relevance:50,description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",syntax:"none | <image>",relevance:50,description:"The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["E79","FF72","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:51,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",relevance:50,browsers:["E79","FF53","S9","C59","O46"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",relevance:50,browsers:["E79","FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",relevance:50,browsers:["E79","FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"row-gap",syntax:"normal | <length-percentage>",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",relevance:50,description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scale",syntax:"none | <number>{1,3}",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"scroll-snap-stop",syntax:"normal | always",relevance:50,browsers:["E79","C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:56,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"transform-box",syntax:"content-box | border-box | fill-box | stroke-box | view-box",relevance:50,browsers:["E79","FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",relevance:50,description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",relevance:54,description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"bleed",syntax:"auto | <length>",relevance:50,description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",syntax:"none | [ crop || cross ]",relevance:50,description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"min-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["E79","FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["E79","FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["E79","FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["E79","FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["E79","FF78","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",browsers:["FF78","C72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:where"}],description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["E79","FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E","IE10"],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E","IE10"],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E","IE10"],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E","IE10"],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E","IE10"],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E","IE10"],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E","IE10"],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E","IE10"],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["E79","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]},{name:"::-webkit-outer-spin-button",browsers:["S5","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["E79","S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-corner",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-thumb",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-search-cancel-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:'The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input\'s track to alter its numerical value.'},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E80","FF68","S11.1","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},Oo=function(){function e(e){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(e)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(e){if(Array.isArray(e.properties))for(var t=0,n=e.properties;t<n.length;t++){var i=n[t];"string"==typeof i.name&&this._properties.push(i)}if(Array.isArray(e.atDirectives))for(var r=0,o=e.atDirectives;r<o.length;r++){Ao(i=o[r])&&this._atDirectives.push(i)}if(Array.isArray(e.pseudoClasses))for(var s=0,a=e.pseudoClasses;s<a.length;s++){Ro(i=a[s])&&this._pseudoClasses.push(i)}if(Array.isArray(e.pseudoElements))for(var l=0,c=e.pseudoElements;l<c.length;l++){Mo(i=c[l])&&this._pseudoElements.push(i)}},e}();function Ao(e){return"string"==typeof e.name}function Ro(e){return"string"==typeof e.name}function Mo(e){return"string"==typeof e.name}var Po=function(){function e(e){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders(!1!==(null==e?void 0:e.useDefaultDataProvider),(null==e?void 0:e.customDataProviders)||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new Oo(Do)),(n=this.dataProviders).push.apply(n,t),this.collectData()},e.prototype.collectData=function(){var e=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach((function(t){t.provideProperties().forEach((function(t){e._propertySet[t.name]||(e._propertySet[t.name]=t)})),t.provideAtDirectives().forEach((function(t){e._atDirectiveSet[t.name]||(e._atDirectiveSet[t.name]=t)})),t.providePseudoClasses().forEach((function(t){e._pseudoClassSet[t.name]||(e._pseudoClassSet[t.name]=t)})),t.providePseudoElements().forEach((function(t){e._pseudoElementSet[t.name]||(e._pseudoElementSet[t.name]=t)}))})),this._properties=en(this._propertySet),this._atDirectives=en(this._atDirectiveSet),this._pseudoClasses=en(this._pseudoClassSet),this._pseudoElements=en(this._pseudoElementSet)},e.prototype.getProperty=function(e){return this._propertySet[e]},e.prototype.getAtDirective=function(e){return this._atDirectiveSet[e]},e.prototype.getPseudoClass=function(e){return this._pseudoClassSet[e]},e.prototype.getPseudoElement=function(e){return this._pseudoElementSet[e]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(e){return e.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(e){return this.isKnownProperty(e)&&(!this._propertySet[e.toLowerCase()].status||"standard"===this._propertySet[e.toLowerCase()].status)},e}();function Fo(e,t,n){return t.map((function(t){for(var i=function(t){var i=e.offsetAt(t),r=n.findChildAtOffset(i,!0);if(!r)return[];var o=[];for(;r;)r.parent&&r.offset===r.parent.offset&&r.end===r.parent.end||(r.type===J.Declarations&&i>r.offset&&i<r.end&&o.push([r.offset+1,r.end-1]),o.push([r.offset,r.end])),r=r.parent;return o}(t),r=void 0,o=i.length-1;o>=0;o--)r=ai.create(ln.create(e.positionAt(i[o][0]),e.positionAt(i[o][1])),r);return r||(r=ai.create(ln.create(t,t))),r}))}var Wo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),zo=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Bo=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},jo=function(e){function t(t){return e.call(this,t)||this}return Wo(t,e),t.prototype.isRawStringDocumentLinkNode=function(t){return e.prototype.isRawStringDocumentLinkNode.call(this,t)||t.type===J.Use||t.type===J.Forward},t.prototype.resolveRelativeReference=function(t,n,i){return zo(this,void 0,void 0,(function(){var r,o,s,a;return Bo(this,(function(l){switch(l.label){case 0:return Y(t,"sass:")?[2,void 0]:[4,e.prototype.resolveRelativeReference.call(this,t,n,i)];case 1:if(r=l.sent(),!this.fileSystemProvider||!r||0!==function(e){for(var t=e.length-1;t>=0;t--){var n=e.charCodeAt(t);if(n===yi){if(t>0&&e.charCodeAt(t-1)!==wi)return e.substr(t);break}if(n===wi)break}return""}(r).length)return[3,8];l.label=2;case 2:if(l.trys.push([2,7,,8]),o=vi.a.parse(r),!(s=function(e){if(""!==e.path&&!e.path.endsWith(".scss")&&!e.path.endsWith(".css")){if(e.path.endsWith("/"))return[e.with({path:e.path+"index.scss"}).toString(),e.with({path:e.path+"_index.scss"}).toString()];var t=e.path.split("/"),n=t[t.length-1],i=e.path.slice(0,-n.length);if(n.startsWith("_"))return e.path.endsWith(".scss")?void 0:[e.with({path:e.path+".scss"}).toString()];var r=n+".scss",o=function(t){return e.with({path:i+t}).toString()};return[o(r),o("_"+r),o(r.slice(0,-5)+"/index.scss"),o(r.slice(0,-5)+"/_index.scss"),o(r.slice(0,-5)+".css")]}}(o)))return[3,6];a=0,l.label=3;case 3:return a<s.length?[4,this.fileExists(s[a])]:[3,6];case 4:if(l.sent())return[2,s[a]];l.label=5;case 5:return a++,[3,3];case 6:return[2,void 0];case 7:return l.sent(),[3,8];case 8:return[2,r]}}))}))},t}(ar);function Vo(e,t,n,i,r,o,s){return{configure:function(e){o.configure(e),t.configure(e)},setDataProviders:s.setDataProviders.bind(s),doValidation:o.doValidation.bind(o),parseStylesheet:e.parseStylesheet.bind(e),doComplete:t.doComplete.bind(t),doComplete2:t.doComplete2.bind(t),setCompletionParticipants:t.setCompletionParticipants.bind(t),doHover:n.doHover.bind(n),findDefinition:i.findDefinition.bind(i),findReferences:i.findReferences.bind(i),findDocumentHighlights:i.findDocumentHighlights.bind(i),findDocumentLinks:i.findDocumentLinks.bind(i),findDocumentLinks2:i.findDocumentLinks2.bind(i),findDocumentSymbols:i.findDocumentSymbols.bind(i),doCodeActions:r.doCodeActions.bind(r),doCodeActions2:r.doCodeActions2.bind(r),findColorSymbols:function(e,t){return i.findDocumentColors(e,t).map((function(e){return e.range}))},findDocumentColors:i.findDocumentColors.bind(i),getColorPresentations:i.getColorPresentations.bind(i),doRename:i.doRename.bind(i),getFoldingRanges:No,getSelectionRanges:Fo}}var Uo={};function Ho(e){void 0===e&&(e=Uo);var t=new Po(e);return Vo(new rn,new Wi(null,e,t),new ir(e&&e.clientCapabilities,t),new ar(e&&e.fileSystemProvider),new yr(t),new Mr(t),t)}function qo(e){void 0===e&&(e=Uo);var t=new Po(e);return Vo(new lo,new uo(e,t),new ir(e&&e.clientCapabilities,t),new jo(e&&e.fileSystemProvider),new yr(t),new Mr(t),t)}function $o(e){void 0===e&&(e=Uo);var t=new Po(e);return Vo(new ko,new Lo(e,t),new ir(e&&e.clientCapabilities,t),new ar(e&&e.fileSystemProvider),new yr(t),new Mr(t),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var i=n(68),r=n(18);i.a;const o=Object(r.c)("notificationService");class s{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("keybindingService")},function(e,t,n){"use strict";n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return f})),n.d(t,"j",(function(){return b})),n.d(t,"k",(function(){return _})),n.d(t,"a",(function(){return w}));var i=n(179),r=n(42),o=n(23),s=n(8),a=n(45),l=n(11);function c(e){return Object(o.b)(e,!0)}const d=new class{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:Object(s.f)(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}joinPath(e,...t){return o.a.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return r.e.basename(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===a.b.file?t=o.a.file(r.b(c(e))).path:(t=r.e.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===a.b.file?o.a.file(r.d(c(e))).path:r.e.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!v(e.authority,t.authority))return;if(e.scheme===a.b.file){const n=r.f(c(e),c(t));return l.i?i.b(n):n}let n=e.path||"/",o=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,o.length);e<t&&(n.charCodeAt(e)===o.charCodeAt(e)||n.charAt(e).toLowerCase()===o.charAt(e).toLowerCase());e++);n=o.substr(0,e)+n.substr(e)}return r.e.relative(n,o)}resolvePath(e,t){if(e.scheme===a.b.file){const n=o.a.file(r.g(c(e),t));return e.with({authority:n.authority,path:n.path})}return-1===t.indexOf("/")&&(t=i.b(t),/^[a-zA-Z]:(\/|$)/.test(t)&&(t="/"+t)),e.with({path:r.e.resolve(e.path,t)})}isEqualAuthority(e,t){return e===t||Object(s.t)(e,t)}}(()=>!1),h=d.isEqual.bind(d),u=d.basenameOrAuthority.bind(d),p=d.basename.bind(d),m=d.dirname.bind(d),g=d.joinPath.bind(d),f=d.normalizePath.bind(d),b=d.relativePath.bind(d),_=d.resolvePath.bind(d),v=d.isEqualAuthority.bind(d);var w;!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach(e=>{const[t,i]=e.split(":");t&&i&&n.set(t,i)});const i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(w||(w={}))},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.h})),n.d(t,"d",(function(){return i.l})),n.d(t,"e",(function(){return i.m})),n.d(t,"f",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class r{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==i.Undefined;t=t.next)e.push(t.element);return e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return u}));var i=n(56),r=n(18),o=n(128);const s=Object(r.c)("configurationService");function a(e,t){const n=Object.create(null);for(let i in e)l(n,i,e[i],t);return n}function l(e,t,n,i){const r=t.split("."),o=r.pop();let s=e;for(let e=0;e<r.length;e++){let n=r[e],o=s[n];switch(typeof o){case"undefined":o=s[n]=Object.create(null);break;case"object":break;default:return void i(`Ignoring ${t} as ${r.slice(0,e+1).join(".")} is ${JSON.stringify(o)}`)}s=o}if("object"==typeof s&&null!==s)try{s[o]=n}catch(e){i(`Ignoring ${t} as ${r.join(".")} is ${JSON.stringify(s)}`)}else i(`Ignoring ${t} as ${r.join(".")} is ${JSON.stringify(s)}`)}function c(e,t){!function e(t,n){const i=n.shift();if(0===n.length)return void delete t[i];if(-1!==Object.keys(t).indexOf(i)){const r=t[i];"object"!=typeof r||Array.isArray(r)||(e(r,n),0===Object.keys(r).length&&delete t[i])}}(e,t.split("."))}function d(e,t,n){const i=function(e,t){let n=e;for(const e of t){if("object"!=typeof n||null===n)return;n=n[e]}return n}(e,t.split("."));return void 0===i?n:i}function h(){const e=i.a.as(o.a.Configuration).getConfigurationProperties();return Object.keys(e)}function u(){const e=Object.create(null),t=i.a.as(o.a.Configuration).getConfigurationProperties();for(let n in t){l(e,n,t[n].default,e=>console.error("Conflict in default settings: "+e))}return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return h}));var i,r,o,s,a,l,c,d,h,u=n(0);!function(e){e.noSelection=u.a("noSelection","No selection"),e.singleSelectionRange=u.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=u.a("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=u.a("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=u.a("multiSelection","{0} selections"),e.emergencyConfOn=u.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=u.a("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=u.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=u.a("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=u.a("readonlyEditor"," in a read-only code editor"),e.editableEditor=u.a("editableEditor"," in a code editor"),e.changeConfigToOnMac=u.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=u.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=u.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=u.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=u.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=u.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=u.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=u.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=u.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=u.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=u.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=u.a("showAccessibilityHelpAction","Show Accessibility Help")}(i||(i={})),function(e){e.inspectTokensAction=u.a("inspectTokens","Developer: Inspect Tokens")}(r||(r={})),function(e){e.gotoLineActionLabel=u.a("gotoLineActionLabel","Go to Line/Column...")}(o||(o={})),function(e){e.helpQuickAccessActionLabel=u.a("helpQuickAccess","Show all Quick Access Providers")}(s||(s={})),function(e){e.quickCommandActionLabel=u.a("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=u.a("quickCommandActionHelp","Show And Run Commands")}(a||(a={})),function(e){e.quickOutlineActionLabel=u.a("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=u.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(l||(l={})),function(e){e.editorViewAccessibleLabel=u.a("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=u.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(c||(c={})),function(e){e.toggleHighContrast=u.a("toggleHighContrast","Toggle High Contrast Theme")}(d||(d={})),function(e){e.bulkEditServiceSummary=u.a("bulkEditServiceSummary","Made {0} edits in {1} files")}(h||(h={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(14),r=n(174);const o=new class{constructor(){this.data=new Map}add(e,t){r.a(i.j(e)),r.a(i.i(t)),r.a(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"h",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"k",(function(){return _})),n.d(t,"b",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"e",(function(){return C})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return S})),n.d(t,"m",(function(){return k})),n.d(t,"l",(function(){return E})),n.d(t,"o",(function(){return L})),n.d(t,"p",(function(){return N})),n.d(t,"s",(function(){return D})),n.d(t,"q",(function(){return O})),n.d(t,"t",(function(){return A})),n.d(t,"r",(function(){return R}));var i=n(0),r=n(15),o=n(5),s=n(19);const a=Object(o.gc)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},i.a("lineHighlight","Background color for the highlight of line at the cursor position.")),l=Object(o.gc)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},i.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),c=Object(o.gc)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},i.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),d=Object(o.gc)("editor.rangeHighlightBorder",{dark:null,light:null,hc:o.b},i.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),h=Object(o.gc)("editor.symbolHighlightBackground",{dark:o.x,light:o.x,hc:null},i.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),u=Object(o.gc)("editor.symbolHighlightBorder",{dark:null,light:null,hc:o.b},i.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),p=Object(o.gc)("editorCursor.foreground",{dark:"#AEAFAD",light:r.a.black,hc:r.a.white},i.a("caret","Color of the editor cursor.")),m=Object(o.gc)("editorCursor.background",null,i.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),g=Object(o.gc)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},i.a("editorWhitespaces","Color of whitespace characters in the editor.")),f=Object(o.gc)("editorIndentGuide.background",{dark:g,light:g,hc:g},i.a("editorIndentGuides","Color of the editor indentation guides.")),b=Object(o.gc)("editorIndentGuide.activeBackground",{dark:g,light:g,hc:g},i.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),_=Object(o.gc)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:r.a.white},i.a("editorLineNumbers","Color of editor line numbers.")),v=Object(o.gc)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:o.b},i.a("editorActiveLineNumber","Color of editor active line number"),!1,i.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),w=Object(o.gc)("editorLineNumber.activeForeground",{dark:v,light:v,hc:v},i.a("editorActiveLineNumber","Color of editor active line number")),y=Object(o.gc)("editorRuler.foreground",{dark:"#5A5A5A",light:r.a.lightgrey,hc:r.a.white},i.a("editorRuler","Color of the editor rulers.")),C=Object(o.gc)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},i.a("editorCodeLensForeground","Foreground color of editor CodeLens")),x=Object(o.gc)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},i.a("editorBracketMatchBackground","Background color behind matching brackets")),S=Object(o.gc)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:o.h},i.a("editorBracketMatchBorder","Color for matching brackets boxes")),k=Object(o.gc)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},i.a("editorOverviewRulerBorder","Color of the overview ruler border.")),E=Object(o.gc)("editorOverviewRuler.background",null,i.a("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),T=Object(o.gc)("editorGutter.background",{dark:o.s,light:o.s,hc:o.s},i.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),L=Object(o.gc)("editorUnnecessaryCode.border",{dark:null,light:null,hc:r.a.fromHex("#fff").transparent(.8)},i.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),N=Object(o.gc)("editorUnnecessaryCode.opacity",{dark:r.a.fromHex("#000a"),light:r.a.fromHex("#0007"),hc:null},i.a("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),I=new r.a(new r.c(0,122,204,.6)),D=Object(o.gc)("editorOverviewRuler.rangeHighlightForeground",{dark:I,light:I,hc:I},i.a("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),O=Object(o.gc)("editorOverviewRuler.errorForeground",{dark:new r.a(new r.c(255,18,18,.7)),light:new r.a(new r.c(255,18,18,.7)),hc:new r.a(new r.c(255,50,50,1))},i.a("overviewRuleError","Overview ruler marker color for errors.")),A=Object(o.gc)("editorOverviewRuler.warningForeground",{dark:o.T,light:o.T,hc:o.S},i.a("overviewRuleWarning","Overview ruler marker color for warnings.")),R=Object(o.gc)("editorOverviewRuler.infoForeground",{dark:o.L,light:o.L,hc:o.K},i.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(s.g)((e,t)=>{const n=e.getColor(o.s);n&&t.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${n}; }`);const i=e.getColor(o.B);i&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${i}; }`);const r=e.getColor(T);r&&t.addRule(`.monaco-editor .margin { background-color: ${r}; }`);const s=e.getColor(c);s&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${s}; }`);const a=e.getColor(d);a&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${a}; }`);const l=e.getColor(h);l&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${l}; }`);const p=e.getColor(u);p&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${p}; }`);const m=e.getColor(g);m&&(t.addRule(`.monaco-editor .mtkw { color: ${m} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${m} !important; }`))})},function(e,t,n){"use strict";var i,r;n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return l})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(i||(i={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(r||(r={}));class o{constructor(e){this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class s{constructor(e,t){this.range=e,this.matches=t}}class a{constructor(e,t,n,i,r,o){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=i,this.isAutoWhitespaceEdit=r,this._isTracked=o}}class l{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.e})),n.d(t,"c",(function(){return i.h})),n.d(t,"d",(function(){return i.l})),n.d(t,"e",(function(){return i.m})),n.d(t,"f",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c}));var i=n(2),r=n(6),o=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class s extends i.a{constructor(e,t="",n="",i=!0,o){super(),this._onDidChange=this._register(new r.a),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=e,this._label=t,this._cssClass=n,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)}}class a extends i.a{constructor(){super(...arguments),this._onDidBeforeRun=this._register(new r.a),this.onDidBeforeRun=this._onDidBeforeRun.event,this._onDidRun=this._register(new r.a),this.onDidRun=this._onDidRun.event}run(e,t){return o(this,void 0,void 0,(function*(){if(!e.enabled)return Promise.resolve(null);this._onDidBeforeRun.fire({action:e});try{const n=yield this.runAction(e,t);this._onDidRun.fire({action:e,result:n})}catch(t){this._onDidRun.fire({action:e,error:t})}}))}runAction(e,t){const n=t?e.run(t):e.run();return Promise.resolve(n)}}class l extends s{constructor(e){super(l.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}l.ID="vs.actions.separator";class c extends s{constructor(e,t,n,i){super(e,t,i,!0),this._actions=n}get actions(){return Array.isArray(this._actions)?this._actions:this._actions()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var i,r=n(16),o=n(2),s=n(1),a=n(98),l=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(i||(i={}));class c extends o.a{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(s.i(document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),this._register(s.i(document,"touchend",e=>this.onTouchEnd(e))),this._register(s.i(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return c.isTouchDevice()?(c.INSTANCE||(c.INSTANCE=new c),c.INSTANCE.targets.push(e),{dispose:()=>{c.INSTANCE.targets=c.INSTANCE.targets.filter(t=>t!==e)}}):o.a.None}static ignoreTarget(e){return c.isTouchDevice()?(c.INSTANCE||(c.INSTANCE=new c),c.INSTANCE.ignoreTargets.push(e),{dispose:()=>{c.INSTANCE.ignoreTargets=c.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):o.a.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,r=e.targetTouches.length;n<r;n++){let r=e.targetTouches.item(n);this.activeTouches[r.identifier]={id:r.identifier,initialTarget:r.target,initialTimeStamp:t,initialPageX:r.pageX,initialPageY:r.pageY,rollingTimestamps:[t],rollingPageX:[r.pageX],rollingPageY:[r.pageY]};let o=this.newGestureEvent(i.Start,r.target);o.pageX=r.pageX,o.pageY=r.pageY,this.dispatchEvent(o)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),n=Object.keys(this.activeTouches).length;for(let o=0,s=e.changedTouches.length;o<s;o++){let s=e.changedTouches.item(o);if(!this.activeTouches.hasOwnProperty(String(s.identifier))){console.warn("move of an UNKNOWN touch",s);continue}let a=this.activeTouches[s.identifier],l=Date.now()-a.initialTimeStamp;if(l<c.HOLD_DELAY&&Math.abs(a.initialPageX-r.t(a.rollingPageX))<30&&Math.abs(a.initialPageY-r.t(a.rollingPageY))<30){let e=this.newGestureEvent(i.Tap,a.initialTarget);e.pageX=r.t(a.rollingPageX),e.pageY=r.t(a.rollingPageY),this.dispatchEvent(e)}else if(l>=c.HOLD_DELAY&&Math.abs(a.initialPageX-r.t(a.rollingPageX))<30&&Math.abs(a.initialPageY-r.t(a.rollingPageY))<30){let e=this.newGestureEvent(i.Contextmenu,a.initialTarget);e.pageX=r.t(a.rollingPageX),e.pageY=r.t(a.rollingPageY),this.dispatchEvent(e)}else if(1===n){let e=r.t(a.rollingPageX),n=r.t(a.rollingPageY),i=r.t(a.rollingTimestamps)-a.rollingTimestamps[0],o=e-a.rollingPageX[0],s=n-a.rollingPageY[0];const l=this.targets.filter(e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget));this.inertia(l,t,Math.abs(o)/i,o>0?1:-1,e,Math.abs(s)/i,s>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(i.End,a.initialTarget)),delete this.activeTouches[s.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===i.Tap){const t=(new Date).getTime();let n=0;n=t-this._lastSetTapCountTime>c.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=n}else e.type!==i.Change&&e.type!==i.Contextmenu||(this._lastSetTapCountTime=0);for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach(t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,n,r,o,a,l,d){this.handle=s.Y(()=>{let s=Date.now(),h=s-t,u=0,p=0,m=!0;n+=c.SCROLL_FRICTION*h,a+=c.SCROLL_FRICTION*h,n>0&&(m=!1,u=r*n*h),a>0&&(m=!1,p=l*a*h);let g=this.newGestureEvent(i.Change);g.translationX=u,g.translationY=p,e.forEach(e=>e.dispatchEvent(g)),m||this.inertia(e,s,n,r,o+u,a,l,d+p)})}onTouchMove(e){let t=Date.now();for(let n=0,o=e.changedTouches.length;n<o;n++){let o=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(o.identifier))){console.warn("end of an UNKNOWN touch",o);continue}let s=this.activeTouches[o.identifier],a=this.newGestureEvent(i.Change,s.initialTarget);a.translationX=o.pageX-r.t(s.rollingPageX),a.translationY=o.pageY-r.t(s.rollingPageY),a.pageX=o.pageX,a.pageY=o.pageY,this.dispatchEvent(a),s.rollingPageX.length>3&&(s.rollingPageX.shift(),s.rollingPageY.shift(),s.rollingTimestamps.shift()),s.rollingPageX.push(o.pageX),s.rollingPageY.push(o.pageY),s.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}c.SCROLL_FRICTION=-.005,c.HOLD_DELAY=700,c.CLEAR_TAP_COUNT_TIME=400,l([a.a],c,"isTouchDevice",null)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return l}));var i=n(21);class r{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber,n.endColumn,n.endLineNumber,n.endColumn)}}class o{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)}}class s{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)}}class a{constructor(e,t,n,i,r=!1){this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=r}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset,n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset)}}class l{constructor(e,t,n,i=!1){this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return l}));var i,r,o=n(18),s=n(0),a=n(68);!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(i||(i={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=Object(s.a)("sev.error","Error"),t[e.Warning]=Object(s.a)("sev.warning","Warning"),t[e.Info]=Object(s.a)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case a.a.Error:return e.Error;case a.a.Warning:return e.Warning;case a.a.Info:return e.Info;case a.a.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return a.a.Error;case e.Warning:return a.a.Warning;case e.Info:return a.a.Info;case e.Hint:return a.a.Ignore}}}(i||(i={})),function(e){function t(e,t){let n=[""];return e.source?n.push(e.source.replace("¦","\\¦")):n.push(""),e.code?"string"==typeof e.code?n.push(e.code.replace("¦","\\¦")):n.push(e.code.value.replace("¦","\\¦")):n.push(""),void 0!==e.severity&&null!==e.severity?n.push(i.toString(e.severity)):n.push(""),e.message&&t?n.push(e.message.replace("¦","\\¦")):n.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(""),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(""),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(""),n.push(""),n.join("¦")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(r||(r={}));const l=Object(o.c)("markerService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(18);const r=Object(i.c)("modelService");function o(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},function(e,t,n){"use strict";function i(e,t){void 0===t&&(t=!1);var n=e.length,i=0,a="",l=0,c=16,d=0,h=0,u=0,p=0,m=0;function g(t,n){for(var r=0,o=0;r<t||!n;){var s=e.charCodeAt(i);if(s>=48&&s<=57)o=16*o+s-48;else if(s>=65&&s<=70)o=16*o+s-65+10;else{if(!(s>=97&&s<=102))break;o=16*o+s-97+10}i++,r++}return r<t&&(o=-1),o}function f(){if(a="",m=0,l=i,h=d,p=u,i>=n)return l=n,c=17;var t=e.charCodeAt(i);if(r(t)){do{i++,a+=String.fromCharCode(t),t=e.charCodeAt(i)}while(r(t));return c=15}if(o(t))return i++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(i)&&(i++,a+="\n"),d++,u=i,c=14;switch(t){case 123:return i++,c=1;case 125:return i++,c=2;case 91:return i++,c=3;case 93:return i++,c=4;case 58:return i++,c=6;case 44:return i++,c=5;case 34:return i++,a=function(){for(var t="",r=i;;){if(i>=n){t+=e.substring(r,i),m=2;break}var s=e.charCodeAt(i);if(34===s){t+=e.substring(r,i),i++;break}if(92!==s){if(s>=0&&s<=31){if(o(s)){t+=e.substring(r,i),m=2;break}m=6}i++}else{if(t+=e.substring(r,i),++i>=n){m=2;break}switch(e.charCodeAt(i++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=g(4,!0);a>=0?t+=String.fromCharCode(a):m=4;break;default:m=5}r=i}}return t}(),c=10;case 47:var f=i-1;if(47===e.charCodeAt(i+1)){for(i+=2;i<n&&!o(e.charCodeAt(i));)i++;return a=e.substring(f,i),c=12}if(42===e.charCodeAt(i+1)){i+=2;for(var _=n-1,v=!1;i<_;){var w=e.charCodeAt(i);if(42===w&&47===e.charCodeAt(i+1)){i+=2,v=!0;break}i++,o(w)&&(13===w&&10===e.charCodeAt(i)&&i++,d++,u=i)}return v||(i++,m=1),a=e.substring(f,i),c=13}return a+=String.fromCharCode(t),i++,c=16;case 45:if(a+=String.fromCharCode(t),++i===n||!s(e.charCodeAt(i)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=function(){var t=i;if(48===e.charCodeAt(i))i++;else for(i++;i<e.length&&s(e.charCodeAt(i));)i++;if(i<e.length&&46===e.charCodeAt(i)){if(!(++i<e.length&&s(e.charCodeAt(i))))return m=3,e.substring(t,i);for(i++;i<e.length&&s(e.charCodeAt(i));)i++}var n=i;if(i<e.length&&(69===e.charCodeAt(i)||101===e.charCodeAt(i)))if((++i<e.length&&43===e.charCodeAt(i)||45===e.charCodeAt(i))&&i++,i<e.length&&s(e.charCodeAt(i))){for(i++;i<e.length&&s(e.charCodeAt(i));)i++;n=i}else m=3;return e.substring(t,n)}(),c=11;default:for(;i<n&&b(t);)i++,t=e.charCodeAt(i);if(l!==i){switch(a=e.substring(l,i)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return a+=String.fromCharCode(t),i++,c=16}}function b(e){if(r(e)||o(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){i=e,a="",l=0,c=16,m=0},getPosition:function(){return i},scan:t?function(){var e;do{e=f()}while(e>=12&&e<=15);return e}:f,getToken:function(){return c},getTokenValue:function(){return a},getTokenOffset:function(){return l},getTokenLength:function(){return i-l},getTokenStartLine:function(){return h},getTokenStartCharacter:function(){return l-p},getTokenError:function(){return m}}}function r(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function o(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e>=48&&e<=57}function a(e,t,n){var r,o,s,a,d;if(t){for(a=t.offset,d=a+t.length,s=a;s>0&&!c(e,s-1);)s--;for(var h=d;h<e.length&&!c(e,h);)h++;o=e.substring(s,h),r=function(e,t){var n=0,i=0,r=t.tabSize||4;for(;n<e.length;){var o=e.charAt(n);if(" "===o)i++;else{if("\t"!==o)break;i+=r}n++}return Math.floor(i/r)}(o,n)}else o=e,r=0,s=0,a=0,d=e.length;var u,p=function(e,t){for(var n=0;n<t.length;n++){var i=t.charAt(n);if("\r"===i)return n+1<t.length&&"\n"===t.charAt(n+1)?"\r\n":"\r";if("\n"===i)return"\n"}return e&&e.eol||"\n"}(n,e),m=!1,g=0;u=n.insertSpaces?l(" ",n.tabSize||4):"\t";var f=i(o,!1),b=!1;function _(){return p+l(u,r+g)}function v(){var e=f.scan();for(m=!1;15===e||14===e;)m=m||14===e,e=f.scan();return b=16===e||0!==f.getTokenError(),e}var w=[];function y(t,n,i){!b&&n<d&&i>a&&e.substring(n,i)!==t&&w.push({offset:n,length:i-n,content:t})}var C=v();if(17!==C){var x=f.getTokenOffset()+s;y(l(u,r),s,x)}for(;17!==C;){for(var S=f.getTokenOffset()+f.getTokenLength()+s,k=v(),E="";!m&&(12===k||13===k);){y(" ",S,f.getTokenOffset()+s),S=f.getTokenOffset()+f.getTokenLength()+s,E=12===k?_():"",k=v()}if(2===k)1!==C&&(g--,E=_());else if(4===k)3!==C&&(g--,E=_());else{switch(C){case 3:case 1:g++,E=_();break;case 5:case 12:E=_();break;case 13:E=m?_():" ";break;case 6:E=" ";break;case 10:if(6===k){E="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===k||13===k?E=" ":5!==k&&17!==k&&(b=!0);break;case 16:b=!0}!m||12!==k&&13!==k||(E=_())}y(E,S,f.getTokenOffset()+s),C=k}return w}function l(e,t){for(var n="",i=0;i<t;i++)n+=e;return n}function c(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var d;function h(e,t,n){void 0===n&&(n=d.DEFAULT);var r=i(e,!1);function o(e){return e?function(){return e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var a=o(t.onObjectBegin),l=s(t.onObjectProperty),c=o(t.onObjectEnd),h=o(t.onArrayBegin),u=o(t.onArrayEnd),p=s(t.onLiteralValue),m=s(t.onSeparator),g=o(t.onComment),f=s(t.onError),b=n&&n.disallowComments,_=n&&n.allowTrailingComma;function v(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:b||w(11);break;case 2:w(12);break;case 6:w(16)}switch(e){case 12:case 13:b?w(10):g();break;case 16:w(1);break;case 15:case 14:break;default:return e}}}function w(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),f(e),t.length+n.length>0)for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}function y(e){var t=r.getTokenValue();return e?p(t):l(t),v(),!0}function C(){switch(r.getToken()){case 3:return function(){h(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||w(4,[],[]),m(","),v(),4===r.getToken()&&_)break}else e&&w(6,[],[]);C()||w(4,[],[4,5]),e=!0}return u(),4!==r.getToken()?w(8,[4],[]):v(),!0}();case 1:return function(){a(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||w(4,[],[]),m(","),v(),2===r.getToken()&&_)break}else e&&w(6,[],[]);(10!==r.getToken()?(w(3,[],[2,5]),0):(y(!1),6===r.getToken()?(m(":"),v(),C()||w(4,[],[2,5])):w(5,[],[2,5]),1))||w(4,[],[2,5]),e=!0}return c(),2!==r.getToken()?w(7,[2],[]):v(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(r.getTokenValue()))&&(w(2),e=0)}catch(e){w(2)}p(e);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return v(),!0}()}}return v(),17===r.getToken()?!!n.allowEmptyContent||(w(4,[],[]),!1):C()?(17!==r.getToken()&&w(9,[],[]),!0):(w(4,[],[]),!1)}n.d(t,"a",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return f})),n.d(t,"c",(function(){return b})),function(e){e.DEFAULT={allowTrailingComma:!1}}(d||(d={}));var u=i,p=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=d.DEFAULT);var i=null,r=[],o=[];function s(e){Array.isArray(r)?r.push(e):null!==i&&(r[i]=e)}return h(e,{onObjectBegin:function(){var e={};s(e),o.push(r),r=e,i=null},onObjectProperty:function(e){i=e},onObjectEnd:function(){r=o.pop()},onArrayBegin:function(){var e=[];s(e),o.push(r),r=e,i=null},onArrayEnd:function(){r=o.pop()},onLiteralValue:s,onError:function(e,n,i){t.push({error:e,offset:n,length:i})}},n),r[0]},m=function e(t,n,i){if(void 0===i&&(i=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,i)){var r=t.children;if(Array.isArray(r))for(var o=0;o<r.length&&r[o].offset<=n;o++){var s=e(r[o],n,i);if(s)return s}return t}},g=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var i=t.parent.children[0].value;n.push(i)}else if("array"===t.parent.type){var r=t.parent.children.indexOf(t);-1!==r&&n.push(r)}return n},f=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var n=Object.create(null),i=0,r=t.children;i<r.length;i++){var o=r[i],s=o.children[1];s&&(n[o.children[0].value]=e(s))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function b(e,t,n){return a(e,t,n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return u}));n(206);var i=n(11),r=n(1);let o,s,a,l,c;function d(e){o=document.createElement("div"),o.className="monaco-aria-container";const t=()=>{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),o.appendChild(e),e};s=t(),a=t();const n=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),o.appendChild(e),e};l=n(),c=n(),e.appendChild(o)}function h(e){o&&(s.textContent!==e?(r.s(a),p(s,e)):(r.s(s),p(a,e)))}function u(e){o&&(i.f?h(e):l.textContent!==e?(r.s(c),p(l,e)):(r.s(l),p(c,e)))}function p(e,t){r.s(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(34),r=n(43),o=n(11);let s=new Array(230),a=new Array(112);!function(){for(let e=0;e<a.length;e++)a[e]=-1;function e(e,t){s[e]=t,a[t]=e}e(3,7),e(8,1),e(9,2),e(13,3),e(16,4),e(17,5),e(18,6),e(19,7),e(20,8),e(27,9),e(32,10),e(33,11),e(34,12),e(35,13),e(36,14),e(37,15),e(38,16),e(39,17),e(40,18),e(45,19),e(46,20),e(48,21),e(49,22),e(50,23),e(51,24),e(52,25),e(53,26),e(54,27),e(55,28),e(56,29),e(57,30),e(65,31),e(66,32),e(67,33),e(68,34),e(69,35),e(70,36),e(71,37),e(72,38),e(73,39),e(74,40),e(75,41),e(76,42),e(77,43),e(78,44),e(79,45),e(80,46),e(81,47),e(82,48),e(83,49),e(84,50),e(85,51),e(86,52),e(87,53),e(88,54),e(89,55),e(90,56),e(93,58),e(96,93),e(97,94),e(98,95),e(99,96),e(100,97),e(101,98),e(102,99),e(103,100),e(104,101),e(105,102),e(106,103),e(107,104),e(108,105),e(109,106),e(110,107),e(111,108),e(112,59),e(113,60),e(114,61),e(115,62),e(116,63),e(117,64),e(118,65),e(119,66),e(120,67),e(121,68),e(122,69),e(123,70),e(124,71),e(125,72),e(126,73),e(127,74),e(128,75),e(129,76),e(130,77),e(144,78),e(145,79),e(186,80),e(187,81),e(188,82),e(189,83),e(190,84),e(191,85),e(192,86),e(193,110),e(194,111),e(219,87),e(220,88),e(221,89),e(222,90),e(223,91),e(226,92),e(229,109),i.h?(e(59,80),e(107,81),e(109,83),o.f&&e(224,57)):i.l&&(e(91,57),o.f?e(93,57):e(92,57))}();const l=o.f?256:2048,c=o.f?2048:256;class d{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return r.b.fromString(t)}return s[e.keyCode]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=l),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=c),t|=e,t}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new r.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},function(e,t,n){"use strict";var i,r=n(8);!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(i||(i={})),function(e){e.fromValue=function(t){return t?r.t("error",t)?e.Error:r.t("warning",t)||r.t("warn",t)?e.Warning:r.t("info",t)?e.Info:e.Ignore:e.Ignore}}(i||(i={})),t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(34),r=n(177),o=n(11);class s{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=r.a.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let t=e,n=e;if(void 0!==t.wheelDeltaY)this.deltaY=t.wheelDeltaY/120;else if(void 0!==n.VERTICAL_AXIS&&n.axis===n.VERTICAL_AXIS)this.deltaY=-n.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?i.h&&!o.f?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==t.wheelDeltaX)i.j&&o.i?this.deltaX=-t.wheelDeltaX/120:this.deltaX=t.wheelDeltaX/120;else if(void 0!==n.HORIZONTAL_AXIS&&n.axis===n.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?i.h&&!o.f?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(3);class r{static insert(e,t){return{range:new i.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}},function(e,t,n){"use strict";n.d(t,"j",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"i",(function(){return v})),n.d(t,"g",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return T})),n.d(t,"a",(function(){return M})),n.d(t,"d",(function(){return P})),n.d(t,"e",(function(){return U}));var i=n(78),r=n(8);function o(...e){return function(t,n){for(let i=0,r=e.length;i<r;i++){const r=e[i](t,n);if(r)return r}return null}}const s=function(e,t,n){if(!n||n.length<t.length)return null;let i;i=e?r.T(n,t):0===n.indexOf(t);if(!i)return null;return t.length>0?[{start:0,end:t.length}]:[]}.bind(void 0,!0);function a(e,t){const n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}function l(e){return 97<=e&&e<=122}function c(e){return 65<=e&&e<=90}function d(e){return 48<=e&&e<=57}function h(e){return 32===e||9===e||10===e||13===e}const u=new Set;function p(e){return h(e)||u.has(e)}function m(e){return l(e)||c(e)||d(e)}function g(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function f(e,t){for(let n=t;n<e.length;n++){const t=e.charCodeAt(n);if(c(t)||d(t)||n>0&&!m(e.charCodeAt(n-1)))return n}return e.length}function b(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;{let r=null,o=i+1;for(r=b(e,t,n+1,i+1);!r&&(o=f(t,o))<t.length;)r=b(e,t,n+1,o),o++;return null===r?null:g({start:i,end:i+1},r)}}function _(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){let t=0,n=0,i=0,r=0;for(let o=0;o<e.length;o++)i=e.charCodeAt(o),c(i)&&t++,l(i)&&n++,h(i)&&r++;return 0!==t&&0!==n||0!==r?t<=5:e.length<=30}(e))return null;if(t.length>60)return null;const n=function(e){let t=0,n=0,i=0,r=0,o=0;for(let s=0;s<e.length;s++)o=e.charCodeAt(s),c(o)&&t++,l(o)&&n++,m(o)&&i++,d(o)&&r++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:i/e.length,numericPercent:r/e.length}}(t);if(!function(e){const{upperPercent:t,lowerPercent:n,alphaPercent:i,numericPercent:r}=e;return n>.2&&t<.8&&i>.6&&r<.2}(n)){if(!function(e){const{upperPercent:t,lowerPercent:n}=e;return 0===n&&t>.6}(n))return null;t=t.toLowerCase()}let i=null,r=0;for(e=e.toLowerCase();r<t.length&&null===(i=b(e,t,0,r));)r=f(t,r+1);return i}function v(e,t,n=!1){if(!t||0===t.length)return null;let i=null,r=0;for(e=e.toLowerCase(),t=t.toLowerCase();r<t.length&&null===(i=w(e,t,0,r,n));)r=y(t,r+1);return i}function w(e,t,n,i,r){if(n===e.length)return[];if(i===t.length)return null;if(o=e.charCodeAt(n),s=t.charCodeAt(i),o===s||p(o)&&p(s)){let o=null,s=i+1;if(o=w(e,t,n+1,i+1,r),!r)for(;!o&&(s=y(t,s))<t.length;)o=w(e,t,n+1,s,r),s++;return null===o?null:g({start:i,end:i+1},o)}return null;var o,s}function y(e,t){for(let n=t;n<e.length;n++)if(p(e.charCodeAt(n))||n>0&&p(e.charCodeAt(n-1)))return n;return e.length}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(e=>u.add(e.charCodeAt(0)));const C=o(s,_,a),x=o(s,_,(function(e,t){return function e(t,n,i,r){if(i===t.length)return[];if(r===n.length)return null;if(t[i]===n[r]){let o=null;return(o=e(t,n,i+1,r+1))?g({start:r,end:r+1},o):null}return e(t,n,i,r+1)}(e.toLowerCase(),t.toLowerCase(),0,0)})),S=new i.a(1e4);function k(e,t,n=!1){if("string"!=typeof e||"string"!=typeof t)return null;let i=S.get(e);i||(i=new RegExp(r.p(e),"i"),S.set(e,i));const o=i.exec(t);return o?[{start:o.index,end:o.index+o[0].length}]:n?x(e,t):C(e,t)}function E(e,t,n,i,r,o){const s=P(e,t,0,i,r,0,!0);if(s)return s;let a=0,l=0,c=o;for(let e=0;e<t.length&&e<L;++e){const n=r.indexOf(t.charAt(e),c);if(n>=0)l+=1,a+=Math.pow(2,n),c=n+1;else if(0!==a)break}return[l,a,o]}function T(e){if(void 0===e)return[];const t=e[1].toString(2),n=[];for(let i=e[2];i<L;i++)if("1"===t[t.length-(i+1)]){const e=n[n.length-1];e&&e.end===i?e.end=i+1:n.push({start:i,end:i+1})}return n}const L=128;function N(){const e=[],t=[0];for(let e=1;e<=L;e++)t.push(-e);for(let n=0;n<=L;n++){const i=t.slice(0);i[0]=-n,e.push(i)}return e}const I=N(),D=N(),O=N();function A(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function R(e,t,n){return t[e]!==n[e]}var M;function P(e,t,n,i,r,o,s){const a=e.length>L?L:e.length,l=i.length>L?L:i.length;if(n>=a||o>=l||a-n>l-o)return;if(!function(e,t,n,i,r,o){for(;t<n&&r<o;)e[t]===i[r]&&(t+=1),r+=1;return t===n}(t,n,a,r,o,l))return;let c=1,d=1,h=n,u=o,p=!1;for(c=1,h=n;h<a;c++,h++)for(d=1,u=o;u<l;d++,u++){const o=F(e,t,h,n,i,r,u);h===n&&o>1&&(p=!0),D[c][d]=o;const s=I[c-1][d-1]+(o>1?1:o),a=I[c-1][d]+-1,l=I[c][d-1]+-1;l>=a?l>s?(I[c][d]=l,O[c][d]=4):l===s?(I[c][d]=l,O[c][d]=6):(I[c][d]=s,O[c][d]=2):a>s?(I[c][d]=a,O[c][d]=1):a===s?(I[c][d]=a,O[c][d]=3):(I[c][d]=s,O[c][d]=2)}return(p||s)&&(W=0,B=-100,j=o,V=s,function e(t,n,i,r,o){if(W>=10||i<-25)return;let s=0;for(;t>0&&n>0;){const a=D[t][n],l=O[t][n];if(4===l)n-=1,o?i-=5:0!==r&&(i-=1),o=!1,s=0;else{if(!(2&l))return;if(4&l&&e(t,n-1,0!==r?i-1:i,r,o),i+=a,t-=1,n-=1,o=!0,r+=Math.pow(2,n+j),1===a){if(s+=1,0===t&&!V)return}else i+=1+s*(a-1),s=0}}W+=1,(i-=n>=3?9:3*n)>B&&(B=i,z=r)}(c-1,d-1,a===l?1:0,0,!1),0!==W)?[B,z,o]:void 0}function F(e,t,n,i,r,o,s){return t[n]!==o[s]?-1:s===n-i?e[n]===r[s]?7:5:!R(s,r,o)||0!==s&&R(s-1,r,o)?!A(o,s)||0!==s&&A(o,s-1)?A(o,s-1)||function(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}(o,s-1)?5:1:5:e[n]===r[s]?7:5}!function(e){e.Default=Object.freeze([-100,0,0]),e.isDefault=function(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}}(M||(M={}));let W=0,z=0,B=0,j=0,V=!1;function U(e,t,n,i,r,o,s){return function(e,t,n,i,r,o,s,a){let l=P(e,t,n,i,r,o,a);if(l&&!s)return l;if(e.length>=3){const t=Math.min(7,e.length-1);for(let s=n+1;s<t;s++){const t=H(e,s);if(t){const e=P(t,t.toLowerCase(),n,i,r,o,a);e&&(e[0]-=3,(!l||e[0]>l[0])&&(l=e))}}}return l}(e,t,n,i,r,o,!0,s)}function H(e,t){if(t+1>=e.length)return;const n=e[t],i=e[t+1];return n!==i?e.slice(0,t)+i+n+e.slice(t+2):void 0}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return p}));var i=n(8);const r=void 0!==e,o="undefined"!=typeof TextDecoder;let s;class a{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return r?this.buffer.toString():o?(s||(s=new TextDecoder),s.decode(this.buffer)):i.r(this.buffer)}}function l(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function c(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function d(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function h(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function u(e,t){return e[t]}function p(e,t,n){e[n]=t}}).call(this,n(202).Buffer)},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));const i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of i)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=r;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,n,i,r=s){if(n.length>r.maxLen){let o=e-r.maxLen/2;return o<0?(i+=e,o=0):i+=o,a(e,t,n=n.substring(o,e+r.maxLen/2),i,r)}Date.now();const o=e-1-i;let c=-1,d=null;for(let e=1;;e++){Date.now(),r.timeBudget;const i=o-r.windowSize*e;t.lastIndex=Math.max(0,i);const s=l(t,n,o,c);if(!s&&d)break;if(d=s,i<=0)break;c=i}if(d){let e={word:d[0],startColumn:i+1+d.index,endColumn:i+1+d.index+d[0].length};return t.lastIndex=0,e}return null}function l(e,t,n,i){let r;for(;r=e.exec(t);){const t=r.index||0;if(t<=n&&e.lastIndex>=n)return r;if(i>0&&t>i)return null}return null}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return c}));var i=n(8);class r{constructor(e,t,n,i){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|i}}class o{constructor(e,t){this.tabSize=e,this.data=t}}class s{constructor(e,t,n,i,r,o){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=r,this.tokens=o}}class a{constructor(e,t,n,i,r,o,s,l,c,d){this.minColumn=e,this.maxColumn=t,this.content=n,this.continuesWithWrappedLine=i,this.isBasicASCII=a.isBasicASCII(n,o),this.containsRTL=a.containsRTL(n,this.isBasicASCII,r),this.tokens=s,this.inlineDecorations=l,this.tabSize=c,this.startVisibleColumn=d}static isBasicASCII(e,t){return!t||i.B(e)}static containsRTL(e,t,n){return!(t||!n)&&i.m(e)}}class l{constructor(e,t,n){this.range=e,this.inlineClassName=t,this.type=n}}class c{constructor(e,t){this.range=e,this.options=t}}},function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(i||(i={}));class r{constructor(e){if(this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,n=e.notIn.length;t<n;t++){switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}}isOK(e){return 0==(this._standardTokenMask&e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(36);class r{constructor(e){let t=Object(i.b)(e);this._defaultValue=t,this._asciiMap=r._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(i.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new r(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o}));class i{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class r{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m}));var i=n(23),r=n(8),o=n(45),s=n(11);class a{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}class l{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++){const t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this}cmp(e){return this._caseSensitive?Object(r.h)(e,this._value,0,e.length,this._from,this._to):Object(r.i)(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class c{constructor(){this._states=[],this._stateIdx=0}reset(e){if(this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path){const t=e.scheme===o.b.file&&s.d;this._pathIterator=new l(!1,t),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)}return this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(1===this._states[this._stateIdx])return Object(r.f)(e,this._value.scheme);if(2===this._states[this._stateIdx])return Object(r.i)(e,this._value.authority);if(3===this._states[this._stateIdx])return this._pathIterator.cmp(e);if(4===this._states[this._stateIdx])return Object(r.f)(e,this._value.query);if(5===this._states[this._stateIdx])return Object(r.f)(e,this._value.fragment);throw new Error}value(){if(1===this._states[this._stateIdx])return this._value.scheme;if(2===this._states[this._stateIdx])return this._value.authority;if(3===this._states[this._stateIdx])return this._pathIterator.value();if(4===this._states[this._stateIdx])return this._value.query;if(5===this._states[this._stateIdx])return this._value.fragment;throw new Error}}class d{}class h{constructor(e){this._iter=e}static forUris(){return new h(new c)}static forStrings(){return new h(new a)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let i;for(this._root||(this._root=new d,this._root.segment=n.value()),i=this._root;;){const e=n.cmp(i.segment);if(e>0)i.left||(i.left=new d,i.left.segment=n.value()),i=i.left;else if(e<0)i.right||(i.right=new d,i.right.segment=n.value()),i=i.right;else{if(!n.hasNext())break;n.next(),i.mid||(i.mid=new d,i.mid.segment=n.value()),i=i.mid}}const r=i.value;return i.value=t,i.key=e,r}get(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0}findSubstr(e){const t=this._iter.reset(e);let n=this._root,i=void 0;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),i=n.value||i,n=n.mid}}return n&&n.value||i}forEach(e){this._forEach(this._root,e)}_forEach(e,t){e&&(this._forEach(e.left,t),e.value&&t(e.value,e.key),this._forEach(e.mid,t),this._forEach(e.right,t))}}class u{constructor(e,t){this[Symbol.toStringTag]="ResourceMap",e instanceof u?(this.map=new Map(e.map),this.toKey=null!=t?t:u.defaultToKey):(this.map=new Map,this.toKey=null!=e?e:u.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),t),this}get(e){return this.map.get(this.toKey(e))}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(let[t,n]of this.map)e(n,i.a.parse(t),this)}values(){return this.map.values()}*keys(){for(let e of this.map.keys())yield i.a.parse(e)}*entries(){for(let e of this.map.entries())yield[i.a.parse(e[0]),e[1]]}*[Symbol.iterator](){for(let e of this.map)yield[i.a.parse(e[0]),e[1]]}}u.defaultToKey=e=>e.toString();class p{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:default:this.addItemLast(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}values(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class m extends p{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));var i=n(23),r=n(18),o=n(2),s=n(8),a=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const l=Object(r.c)("openerService"),c=Object.freeze({_serviceBrand:void 0,registerOpener:()=>o.a.None,registerValidator:()=>o.a.None,registerExternalUriResolver:()=>o.a.None,setExternalOpener(){},open(){return a(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return a(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return i.a.isUri(e)?Object(s.t)(e.scheme,t):Object(s.T)(e,t+":")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(18),r=n(10);const o=Object(i.c)("accessibilityService"),s=new r.c("accessibilityModeEnabled",!1)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(22),r=n(9),o=n(3),s=n(8);class a{constructor(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}}class l{static leftPosition(e,t,n){return n>e.getLineMinColumn(t)?n-=s.N(e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new r.a(t,n)}static left(e,t,n,i){const r=l.leftPosition(t,n,i);return new a(r.lineNumber,r.column,0)}static moveLeft(e,t,n,i,r){let o,s;if(n.hasSelection()&&!i)o=n.selection.startLineNumber,s=n.selection.startColumn;else{let i=l.left(e,t,n.position.lineNumber,n.position.column-(r-1));o=i.lineNumber,s=i.column}return n.move(i,o,s,0)}static rightPosition(e,t,n){return n<e.getLineMaxColumn(t)?n+=s.L(e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new r.a(t,n)}static right(e,t,n,i){const r=l.rightPosition(t,n,i);return new a(r.lineNumber,r.column,0)}static moveRight(e,t,n,i,r){let o,s;if(n.hasSelection()&&!i)o=n.selection.endLineNumber,s=n.selection.endColumn;else{let i=l.right(e,t,n.position.lineNumber,n.position.column+(r-1));o=i.lineNumber,s=i.column}return n.move(i,o,s,0)}static down(e,t,n,r,o,s,l){const c=i.a.visibleColumnFromColumn(t.getLineContent(n),r,e.tabSize)+o,d=t.getLineCount(),h=n===d&&r===t.getLineMaxColumn(n);return(n+=s)>d?(n=d,r=l?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),r)):r=i.a.columnFromVisibleColumn2(e,t,n,c),o=h?0:c-i.a.visibleColumnFromColumn(t.getLineContent(n),r,e.tabSize),new a(n,r,o)}static moveDown(e,t,n,i,r){let o,s;n.hasSelection()&&!i?(o=n.selection.endLineNumber,s=n.selection.endColumn):(o=n.position.lineNumber,s=n.position.column);let a=l.down(e,t,o,s,n.leftoverVisibleColumns,r,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateDown(e,t,n){let s=n.selection,a=l.down(e,t,s.selectionStartLineNumber,s.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),c=l.down(e,t,s.positionLineNumber,s.positionColumn,n.leftoverVisibleColumns,1,!1);return new i.f(new o.a(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new r.a(c.lineNumber,c.column),c.leftoverVisibleColumns)}static up(e,t,n,r,o,s,l){const c=i.a.visibleColumnFromColumn(t.getLineContent(n),r,e.tabSize)+o,d=1===n&&1===r;return(n-=s)<1?(n=1,r=l?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),r)):r=i.a.columnFromVisibleColumn2(e,t,n,c),o=d?0:c-i.a.visibleColumnFromColumn(t.getLineContent(n),r,e.tabSize),new a(n,r,o)}static moveUp(e,t,n,i,r){let o,s;n.hasSelection()&&!i?(o=n.selection.startLineNumber,s=n.selection.startColumn):(o=n.position.lineNumber,s=n.position.column);let a=l.up(e,t,o,s,n.leftoverVisibleColumns,r,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateUp(e,t,n){let s=n.selection,a=l.up(e,t,s.selectionStartLineNumber,s.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),c=l.up(e,t,s.positionLineNumber,s.positionColumn,n.leftoverVisibleColumns,1,!1);return new i.f(new o.a(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new r.a(c.lineNumber,c.column),c.leftoverVisibleColumns)}static moveToBeginningOfLine(e,t,n,i){let r,o=n.position.lineNumber,s=t.getLineMinColumn(o),a=t.getLineFirstNonWhitespaceColumn(o)||s;return r=n.position.column===a?s:a,n.move(i,o,r,0)}static moveToEndOfLine(e,t,n,i,r){let o=n.position.lineNumber,s=t.getLineMaxColumn(o);return n.move(i,o,s,r?1073741824-s:0)}static moveToBeginningOfBuffer(e,t,n,i){return n.move(i,1,1,0)}static moveToEndOfBuffer(e,t,n,i){let r=t.getLineCount(),o=t.getLineMaxColumn(r);return n.move(i,r,o,0)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(1),r=n(67),o=n(69),s=n(2),a=n(61);class l extends s.a{onclick(e,t){this._register(i.i(e,i.c.CLICK,e=>t(new o.a(e))))}onmousedown(e,t){this._register(i.i(e,i.c.MOUSE_DOWN,e=>t(new o.a(e))))}onmouseover(e,t){this._register(i.i(e,i.c.MOUSE_OVER,e=>t(new o.a(e))))}onnonbubblingmouseout(e,t){this._register(i.j(e,e=>t(new o.a(e))))}onkeydown(e,t){this._register(i.i(e,i.c.KEY_DOWN,e=>t(new r.a(e))))}onkeyup(e,t){this._register(i.i(e,i.c.KEY_UP,e=>t(new r.a(e))))}oninput(e,t){this._register(i.i(e,i.c.INPUT,t))}onblur(e,t){this._register(i.i(e,i.c.BLUR,t))}onfocus(e,t){this._register(i.i(e,i.c.FOCUS,t))}ignoreGesture(e){a.b.ignoreTarget(e)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n(18);class r{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}r.None=Object.freeze({report(){}});const o=Object(i.c)("editorProgressService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n(18);const r=Object(i.c)("contextViewService"),o=Object(i.c)("contextMenuService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return i}));var i,r=n(14),o=n(22),s=n(81),a=n(129),l=n(9),c=n(3);class d{static addCursorDown(e,t,n){let i=[],r=0;for(let a=0,l=t.length;a<l;a++){const l=t[a];i[r++]=new o.d(l.modelState,l.viewState),i[r++]=n?o.d.fromModelState(s.a.translateDown(e.cursorConfig,e.model,l.modelState)):o.d.fromViewState(s.a.translateDown(e.cursorConfig,e,l.viewState))}return i}static addCursorUp(e,t,n){let i=[],r=0;for(let a=0,l=t.length;a<l;a++){const l=t[a];i[r++]=new o.d(l.modelState,l.viewState),i[r++]=n?o.d.fromModelState(s.a.translateUp(e.cursorConfig,e.model,l.modelState)):o.d.fromViewState(s.a.translateUp(e.cursorConfig,e,l.viewState))}return i}static moveToBeginningOfLine(e,t,n){let i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r];i[r]=this._moveToLineStart(e,o,n)}return i}static _moveToLineStart(e,t,n){const i=t.viewState.position.column,r=i===t.modelState.position.column,o=t.viewState.position.lineNumber,s=e.getLineFirstNonWhitespaceColumn(o);return r||i===s?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)}static _moveToLineStartByView(e,t,n){return o.d.fromViewState(s.a.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,n))}static _moveToLineStartByModel(e,t,n){return o.d.fromModelState(s.a.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,n))}static moveToEndOfLine(e,t,n,i){let r=[];for(let o=0,s=t.length;o<s;o++){const s=t[o];r[o]=this._moveToLineEnd(e,s,n,i)}return r}static _moveToLineEnd(e,t,n,i){const r=t.viewState.position,o=e.getLineMaxColumn(r.lineNumber),s=r.column===o,a=t.modelState.position,l=e.model.getLineMaxColumn(a.lineNumber),c=o-r.column==l-a.column;return s||c?this._moveToLineEndByModel(e,t,n,i):this._moveToLineEndByView(e,t,n,i)}static _moveToLineEndByView(e,t,n,i){return o.d.fromViewState(s.a.moveToEndOfLine(e.cursorConfig,e,t.viewState,n,i))}static _moveToLineEndByModel(e,t,n,i){return o.d.fromModelState(s.a.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,n,i))}static expandLineSelection(e,t){let n=[];for(let i=0,r=t.length;i<r;i++){const r=t[i],s=r.modelState.selection.startLineNumber,a=e.model.getLineCount();let d,h=r.modelState.selection.endLineNumber;h===a?d=e.model.getLineMaxColumn(a):(h++,d=1),n[i]=o.d.fromModelState(new o.f(new c.a(s,1,s,1),0,new l.a(h,d),0))}return n}static moveToBeginningOfBuffer(e,t,n){let i=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];i[r]=o.d.fromModelState(s.a.moveToBeginningOfBuffer(e.cursorConfig,e.model,a.modelState,n))}return i}static moveToEndOfBuffer(e,t,n){let i=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];i[r]=o.d.fromModelState(s.a.moveToEndOfBuffer(e.cursorConfig,e.model,a.modelState,n))}return i}static selectAll(e,t){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return o.d.fromModelState(new o.f(new c.a(1,1,1,1),0,new l.a(n,i),0))}static line(e,t,n,i,r){const s=e.model.validatePosition(i),a=r?e.coordinatesConverter.validateViewPosition(new l.a(r.lineNumber,r.column),s):e.coordinatesConverter.convertModelPositionToViewPosition(s);if(!n||!t.modelState.hasSelection()){const t=e.model.getLineCount();let n=s.lineNumber+1,i=1;return n>t&&(n=t,i=e.model.getLineMaxColumn(n)),o.d.fromModelState(new o.f(new c.a(s.lineNumber,1,n,i),0,new l.a(n,i),0))}const d=t.modelState.selectionStart.getStartPosition().lineNumber;if(s.lineNumber<d)return o.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),a.lineNumber,1,0));if(s.lineNumber>d){const n=e.getLineCount();let i=a.lineNumber+1,r=1;return i>n&&(i=n,r=e.getLineMaxColumn(i)),o.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,r,0))}{const e=t.modelState.selectionStart.getEndPosition();return o.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),e.lineNumber,e.column,0))}}static word(e,t,n,i){const r=e.model.validatePosition(i);return o.d.fromModelState(a.a.word(e.cursorConfig,e.model,t.modelState,n,r))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new o.d(t.modelState,t.viewState);const n=t.viewState.position.lineNumber,i=t.viewState.position.column;return o.d.fromViewState(new o.f(new c.a(n,i,n,i),0,new l.a(n,i),0))}static moveTo(e,t,n,i,r){const s=e.model.validatePosition(i),a=r?e.coordinatesConverter.validateViewPosition(new l.a(r.lineNumber,r.column),s):e.coordinatesConverter.convertModelPositionToViewPosition(s);return o.d.fromViewState(t.viewState.move(n,a.lineNumber,a.column,0))}static simpleMove(e,t,n,i,r,o){switch(n){case 0:return 4===o?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,r);case 1:return 4===o?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,r);case 2:return 2===o?this._moveUpByViewLines(e,t,i,r):this._moveUpByModelLines(e,t,i,r);case 3:return 2===o?this._moveDownByViewLines(e,t,i,r):this._moveDownByModelLines(e,t,i,r);case 4:return this._moveToViewMinColumn(e,t,i);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 6:return this._moveToViewCenterColumn(e,t,i);case 7:return this._moveToViewMaxColumn(e,t,i);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,i);default:return null}}static viewportMove(e,t,n,i,r){const o=e.getCompletelyVisibleViewRange(),s=e.coordinatesConverter.convertViewRangeToModelRange(o);switch(n){case 9:{const n=this._firstLineNumberInRange(e.model,s,r),o=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,o)]}case 11:{const n=this._lastLineNumberInRange(e.model,s,r),o=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,o)]}case 10:{const n=Math.round((s.startLineNumber+s.endLineNumber)/2),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 12:{let n=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];n[r]=this.findPositionInViewportIfOutside(e,s,o,i)}return n}default:return null}}static findPositionInViewportIfOutside(e,t,n,i){let r=t.viewState.position.lineNumber;if(n.startLineNumber<=r&&r<=n.endLineNumber-1)return new o.d(t.modelState,t.viewState);{r>n.endLineNumber-1&&(r=n.endLineNumber-1),r<n.startLineNumber&&(r=n.startLineNumber);const o=e.getLineFirstNonWhitespaceColumn(r);return this._moveToViewPosition(e,t,i,r,o)}}static _firstLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)}static _lastLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)}static _moveLeft(e,t,n,i){const r=t.length>1;let a=[];for(let l=0,c=t.length;l<c;l++){const c=t[l],d=r||!c.viewState.hasSelection();let h=s.a.moveLeft(e.cursorConfig,e,c.viewState,n,i);if(d&&1===i&&h.position.lineNumber!==c.viewState.position.lineNumber){e.coordinatesConverter.convertViewPositionToModelPosition(h.position).lineNumber===c.modelState.position.lineNumber&&(h=s.a.moveLeft(e.cursorConfig,e,h,n,1))}a[l]=o.d.fromViewState(h)}return a}static _moveHalfLineLeft(e,t,n){let i=[];for(let r=0,a=t.length;r<a;r++){const a=t[r],l=a.viewState.position.lineNumber,c=Math.round(e.getLineContent(l).length/2);i[r]=o.d.fromViewState(s.a.moveLeft(e.cursorConfig,e,a.viewState,n,c))}return i}static _moveRight(e,t,n,i){const r=t.length>1;let a=[];for(let l=0,c=t.length;l<c;l++){const c=t[l],d=r||!c.viewState.hasSelection();let h=s.a.moveRight(e.cursorConfig,e,c.viewState,n,i);if(d&&1===i&&h.position.lineNumber!==c.viewState.position.lineNumber){e.coordinatesConverter.convertViewPositionToModelPosition(h.position).lineNumber===c.modelState.position.lineNumber&&(h=s.a.moveRight(e.cursorConfig,e,h,n,1))}a[l]=o.d.fromViewState(h)}return a}static _moveHalfLineRight(e,t,n){let i=[];for(let r=0,a=t.length;r<a;r++){const a=t[r],l=a.viewState.position.lineNumber,c=Math.round(e.getLineContent(l).length/2);i[r]=o.d.fromViewState(s.a.moveRight(e.cursorConfig,e,a.viewState,n,c))}return i}static _moveDownByViewLines(e,t,n,i){let r=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];r[a]=o.d.fromViewState(s.a.moveDown(e.cursorConfig,e,l.viewState,n,i))}return r}static _moveDownByModelLines(e,t,n,i){let r=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];r[a]=o.d.fromModelState(s.a.moveDown(e.cursorConfig,e.model,l.modelState,n,i))}return r}static _moveUpByViewLines(e,t,n,i){let r=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];r[a]=o.d.fromViewState(s.a.moveUp(e.cursorConfig,e,l.viewState,n,i))}return r}static _moveUpByModelLines(e,t,n,i){let r=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];r[a]=o.d.fromModelState(s.a.moveUp(e.cursorConfig,e.model,l.modelState,n,i))}return r}static _moveToViewPosition(e,t,n,i,r){return o.d.fromViewState(t.viewState.move(n,i,r,0))}static _moveToModelPosition(e,t,n,i,r){return o.d.fromModelState(t.modelState.move(n,i,r,0))}static _moveToViewMinColumn(e,t,n){let i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r],s=o.viewState.position.lineNumber,a=e.getLineMinColumn(s);i[r]=this._moveToViewPosition(e,o,n,s,a)}return i}static _moveToViewFirstNonWhitespaceColumn(e,t,n){let i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r],s=o.viewState.position.lineNumber,a=e.getLineFirstNonWhitespaceColumn(s);i[r]=this._moveToViewPosition(e,o,n,s,a)}return i}static _moveToViewCenterColumn(e,t,n){let i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r],s=o.viewState.position.lineNumber,a=Math.round((e.getLineMaxColumn(s)+e.getLineMinColumn(s))/2);i[r]=this._moveToViewPosition(e,o,n,s,a)}return i}static _moveToViewMaxColumn(e,t,n){let i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r],s=o.viewState.position.lineNumber,a=e.getLineMaxColumn(s);i[r]=this._moveToViewPosition(e,o,n,s,a)}return i}static _moveToViewLastNonWhitespaceColumn(e,t,n){let i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r],s=o.viewState.position.lineNumber,a=e.getLineLastNonWhitespaceColumn(s);i[r]=this._moveToViewPosition(e,o,n,s,a)}return i}}!function(e){e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down'\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;let t=e;return!!r.j(t.to)&&(!(!r.k(t.select)&&!r.f(t.select))&&(!(!r.k(t.by)&&!r.j(t.by))&&!(!r.k(t.value)&&!r.h(t.value))))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=function(t){if(!t.to)return null;let n;switch(t.to){case e.RawDirection.Left:n=0;break;case e.RawDirection.Right:n=1;break;case e.RawDirection.Up:n=2;break;case e.RawDirection.Down:n=3;break;case e.RawDirection.WrappedLineStart:n=4;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=5;break;case e.RawDirection.WrappedLineColumnCenter:n=6;break;case e.RawDirection.WrappedLineEnd:n=7;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=8;break;case e.RawDirection.ViewPortTop:n=9;break;case e.RawDirection.ViewPortBottom:n=11;break;case e.RawDirection.ViewPortCenter:n=10;break;case e.RawDirection.ViewPortIfOutside:n=12;break;default:return null}let i=0;switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Character:i=3;break;case e.RawUnit.HalfLine:i=4}return{direction:n,unit:i,select:!!t.select,value:t.value||1}}}(i||(i={}))},function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,c=[],d=!1,h=-1;function u(){d&&l&&(d=!1,l.length?c=l.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=a(u);d=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||a(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return f}));var i=n(34),r=n(6),o=n(2),s=n(11);class a{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class l{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";const t=document.createElement("div");t.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),t.style.fontWeight=this._bareFontInfo.fontWeight,t.style.fontSize=this._bareFontInfo.fontSize+"px",t.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,t.style.lineHeight=this._bareFontInfo.lineHeight+"px",t.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(t);const n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight="bold",n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(n);const i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight=this._bareFontInfo.fontWeight,i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",i.style.fontStyle="italic",e.appendChild(i);const r=[];for(const e of this._requests){let o;0===e.type&&(o=t),2===e.type&&(o=n),1===e.type&&(o=i),o.appendChild(document.createElement("br"));const s=document.createElement("span");l._render(s,e),o.appendChild(s),r.push(s)}this._container=e,this._testElements=r}static _render(e,t){if(" "===t.chr){let t=" ";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let n=t.chr;for(let e=0;e<8;e++)n+=n;e.textContent=n}}_readFromDomElements(){for(let e=0,t=this._requests.length;e<t;e++){const t=this._requests[e],n=this._testElements[e];t.fulfill(n.offsetWidth/256)}}}var c=n(190),d=n(161),h=n(26),u=n(160);class p{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){const t=e.getId();return!!this._values[t]}get(e){const t=e.getId();return this._values[t]}put(e,t){const n=e.getId();this._keys[n]=e,this._values[n]=t}remove(e){const t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}function m(){g.INSTANCE.clearCache()}class g extends o.a{constructor(){super(),this._onDidChange=this._register(new r.a),this.onDidChange=this._onDidChange.event,this._cache=new p,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new p,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const e=this._cache.getValues();let t=!1;for(let n=0,i=e.length;n<i;n++){const i=e[n];i.isTrusted||(t=!0,this._cache.remove(i))}t&&this._onDidChange.fire()}readConfiguration(e){if(!this._cache.has(e)){let t=g._actualReadConfiguration(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new u.b({zoomLevel:i.d(),fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}static createRequest(e,t,n,i){const r=new a(e,t);return n.push(r),i&&i.push(r),r}static _actualReadConfiguration(e){const t=[],n=[],r=this.createRequest("n",0,t,n),o=this.createRequest("m",0,t,null),s=this.createRequest(" ",0,t,n),a=this.createRequest("0",0,t,n),c=this.createRequest("1",0,t,n),d=this.createRequest("2",0,t,n),p=this.createRequest("3",0,t,n),m=this.createRequest("4",0,t,n),g=this.createRequest("5",0,t,n),f=this.createRequest("6",0,t,n),b=this.createRequest("7",0,t,n),_=this.createRequest("8",0,t,n),v=this.createRequest("9",0,t,n),w=this.createRequest("→",0,t,n),y=this.createRequest("→",0,t,null),C=this.createRequest("·",0,t,n),x=this.createRequest(String.fromCharCode(11825),0,t,null);this.createRequest("|",0,t,n),this.createRequest("/",0,t,n),this.createRequest("-",0,t,n),this.createRequest("_",0,t,n),this.createRequest("i",0,t,n),this.createRequest("l",0,t,n),this.createRequest("m",0,t,n),this.createRequest("|",1,t,n),this.createRequest("_",1,t,n),this.createRequest("i",1,t,n),this.createRequest("l",1,t,n),this.createRequest("m",1,t,n),this.createRequest("n",1,t,n),this.createRequest("|",2,t,n),this.createRequest("_",2,t,n),this.createRequest("i",2,t,n),this.createRequest("l",2,t,n),this.createRequest("m",2,t,n),this.createRequest("n",2,t,n),function(e,t){new l(e,t).read()}(e,t);const S=Math.max(a.width,c.width,d.width,p.width,m.width,g.width,f.width,b.width,_.width,v.width);let k=e.fontFeatureSettings===h.e.OFF;const E=n[0].width;for(let e=1,t=n.length;k&&e<t;e++){const t=E-n[e].width;if(t<-.001||t>.001){k=!1;break}}let T=!0;k&&y.width!==E&&(T=!1),y.width>w.width&&(T=!1);const L=i.b()>2e3;return new u.b({zoomLevel:i.d(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:k,typicalHalfwidthCharacterWidth:r.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:T,spaceWidth:s.width,middotWidth:C.width,wsmiddotWidth:x.width,maxDigitWidth:S},L)}}g.INSTANCE=new g;class f extends d.a{constructor(e,t,n=null,r){super(e,t),this.accessibilityService=r,this._elementSizeObserver=this._register(new c.a(n,t.dimension,()=>this._onReferenceDomElementSizeChanged())),this._register(g.INSTANCE.onDidChange(()=>this._onCSSBasedConfigurationChanged())),this._validatedOptions.get(9)&&this._elementSizeObserver.startObserving(),this._register(i.n(e=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"}static applyFontInfo(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)}_onReferenceDomElementSizeChanged(){this._recomputeOptions()}_onCSSBasedConfigurationChanged(){this._recomputeOptions()}observeReferenceElement(e){this._elementSizeObserver.observe(e)}dispose(){super.dispose()}_getExtraEditorClassName(){let e="";return i.j||i.m||(e+="no-user-select "),s.f&&(e+="mac "),e}_getEnvConfiguration(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:i.l||i.h,pixelRatio:i.a(),zoomLevel:i.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(e){return g.INSTANCE.readConfiguration(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return _}));var i=n(8),r=n(3),o=n(25),s=n(2),a=n(4),l=n(10),c=n(53),d=n(18),h=n(115);const u=Object(d.c)("IEditorCancelService"),p=new l.c("cancellableOperation",!1);Object(h.b)(u,class{constructor(){this._tokens=new WeakMap}add(e,t){let n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext(e=>({key:p.bindTo(e.get(l.b)),tokens:new c.a})),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),()=>{n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}}cancel(e){const t=this._tokens.get(e);if(!t)return;const n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},!0);class m extends o.b{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(u).add(e,this))}dispose(){this._unregister(),super.dispose()}}Object(a.l)(new class extends a.c{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:p})}runEditorCommand(e,t){e.get(u).cancel(t)}});class g{constructor(e,t){if(this.flags=t,0!=(1&this.flags)){const t=e.getModel();this.modelVersionId=t?i.x("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){if(!(e instanceof g))return!1;const t=e;return this.modelVersionId===t.modelVersionId&&(this.scrollLeft===t.scrollLeft&&this.scrollTop===t.scrollTop&&(!(!this.position&&t.position||this.position&&!t.position||this.position&&t.position&&!this.position.equals(t.position))&&!(!this.selection&&t.selection||this.selection&&!t.selection||this.selection&&t.selection&&!this.selection.equalsRange(t.selection))))}validate(e){return this._equals(new g(e,this.flags))}}class f extends m{constructor(e,t,n,i){super(e,i),this.editor=e,this._listener=new s.b,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{n&&r.a.containsPosition(n,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{n&&r.a.containsRange(n,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class b extends o.b{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}class _{constructor(e,t,n){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=n}static capture(e){let t=null,n=0;if(0!==e.getScrollTop()){const i=e.getVisibleRanges();if(i.length>0){t=i[0].getStartPosition();const r=e.getTopForPosition(t.lineNumber,t.column);n=e.getScrollTop()-r}}return new _(t,n,e.getPosition())}restore(e){if(this._visiblePosition){const t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){const t=e.getPosition();if(!this._cursorPosition||!t)return;const n=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+n)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return h}));var i=n(8);function r(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,i=s(104579,i=t),n.reduce((e,t)=>o(t,e),i)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),o(e[n],t)),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,i}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,i=e.length;n<i;n++)t=s(e.charCodeAt(n),t);return t}function l(e,t,n=32){const i=n-t;return(e<<t|(~((1<<i)-1)&e)>>>i)>>>0}function c(e,t=0,n=e.byteLength,i=0){for(let r=0;r<n;r++)e[t+r]=i}function d(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,o,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(r=a,o=-1,a=0):(r=e.charCodeAt(0),o=0);;){let l=r;if(i.F(r)){if(!(o+1<t)){a=r;break}{const t=e.charCodeAt(o+1);i.G(t)?(o++,l=i.j(r,t)):l=65533}}else i.G(r)&&(l=65533);if(s=this._push(n,s,l),o++,!(o<t))break;r=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,i,r,o=this._h0,s=this._h1,a=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,i=1518500249):t<40?(n=s^a^c,i=1859775393):t<60?(n=s&a|s&c|a&c,i=2400959708):(n=s^a^c,i=3395469782),r=l(o,5)+n+d+i+e.getUint32(4*t,!1)&4294967295,d=c,c=a,a=l(s,30),s=o,o=r;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c}));var i=n(77),r=n(12);const o=new class{clone(){return this}equals(e){return this===e}},s="vs.editor.nullMode",a=new r.r(s,0);function l(e,t,n,r){return new i.b([new i.a(r,"",e)],n)}function c(e,t,n,r){let s=new Uint32Array(2);return s[0]=r,s[1]=(16384|e<<0|2<<23)>>>0,new i.c(s,null===n?o:n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return p}));var i=n(8),r=n(132),o=n(155);class s{constructor(e,t,n){this.endIndex=e,this.type=t,this.metadata=n}isWhitespace(){return!!(1&this.metadata)}}class a{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class l{constructor(e,t,n,i,r,o,s,a,l,c,d,h,u,p,m,g,f,b,_){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=r,this.containsRTL=o,this.fauxIndentLength=s,this.lineTokens=a,this.lineDecorations=l,this.tabSize=c,this.startVisibleColumn=d,this.spaceWidth=h,this.stopRenderingLineAfter=m,this.renderWhitespace="all"===g?4:"boundary"===g?1:"selection"===g?2:"trailing"===g?3:0,this.renderControlCharacters=f,this.fontLigatures=b,this.selectionsOnLine=_&&_.sort((e,t)=>e.startOffset<t.startOffset?-1:1);Math.abs(p-h)<Math.abs(u-h)?(this.renderSpaceWidth=p,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=u,this.renderSpaceCharCode=183)}sameSelection(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(let t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0}equals(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.renderSpaceWidth===e.renderSpaceWidth&&this.renderSpaceCharCode===e.renderSpaceCharCode&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&o.a.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class c{constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(e){return(4294901760&e)>>>16}static getCharIndex(e){return(65535&e)>>>0}setPartData(e,t,n,i){let r=(t<<16|n<<0)>>>0;this._data[e]=r,this._absoluteOffsets[e]=i+n}getAbsoluteOffsets(){return this._absoluteOffsets}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}partDataToCharOffset(e,t,n){if(0===this.length)return 0;let i=(e<<16|n<<0)>>>0,r=0,o=this.length-1;for(;r+1<o;){let e=r+o>>>1,t=this._data[e];if(t===i)return e;t>i?o=e:r=e}if(r===o)return r;let s=this._data[r],a=this._data[o];if(s===i)return r;if(a===i)return o;let l,d=c.getPartIndex(s),h=c.getCharIndex(s);return l=d!==c.getPartIndex(a)?t:c.getCharIndex(a),n-h<=l-n?r:o}}class d{constructor(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}}function h(e,t){if(0===e.lineContent.length){let n=0,i="<span><span></span></span>";if(e.lineDecorations.length>0){const t=[],r=[];for(let i=0,o=e.lineDecorations.length;i<o;i++){const o=e.lineDecorations[i];1===o.type&&(t.push(e.lineDecorations[i].className),n|=1),2===o.type&&(r.push(e.lineDecorations[i].className),n|=2)}if(0!==n){i=`<span>${t.length>0?`<span class="${t.join(" ")}"></span>`:""}${r.length>0?`<span class="${r.join(" ")}"></span>`:""}</span>`}}return t.appendASCIIString(i),new d(new c(0,0),!1,n)}return function(e,t){const n=e.fontIsMonospace,r=e.canUseHalfwidthRightwardsArrow,o=e.containsForeignElements,s=e.lineContent,a=e.len,l=e.isOverflowing,h=e.parts,u=e.fauxIndentLength,p=e.tabSize,m=e.startVisibleColumn,g=e.containsRTL,f=e.spaceWidth,b=e.renderSpaceCharCode,_=e.renderWhitespace,v=e.renderControlCharacters,w=new c(a+1,h.length);let y=0,C=m,x=0,S=0,k=0,E=0;g?t.appendASCIIString('<span dir="ltr">'):t.appendASCIIString("<span>");for(let e=0,a=h.length;e<a;e++){E+=k;const a=h[e],l=a.endIndex,c=a.type,d=0!==_&&a.isWhitespace(),m=d&&!n&&("mtkw"===c||!o),g=y===l&&4===a.metadata;if(x=0,t.appendASCIIString('<span class="'),t.appendASCIIString(m?"mtkz":c),t.appendASCII(34),d){let n=0;{let e=y,t=C;for(;e<l;e++){const i=0|(9===s.charCodeAt(e)?p-t%p:1);n+=i,e>=u&&(t+=i)}}for(m&&(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(f*n)),t.appendASCIIString('px"')),t.appendASCII(62);y<l;y++){w.setPartData(y,e-S,x,E),S=0;let n;if(9===s.charCodeAt(y)){n=p-C%p|0,!r||n>1?t.write1(8594):t.write1(65515);for(let e=2;e<=n;e++)t.write1(160)}else n=1,t.write1(b);x+=n,y>=u&&(C+=n)}k=n}else{let n=0;for(t.appendASCII(62);y<l;y++){w.setPartData(y,e-S,x,E),S=0;const r=s.charCodeAt(y);let o=1,a=1;switch(r){case 9:o=p-C%p,a=o;for(let e=1;e<=o;e++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("<");break;case 62:t.appendASCIIString(">");break;case 38:t.appendASCIIString("&");break;case 0:t.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:t.write1(65533);break;default:i.E(r)&&a++,v&&r<32?t.write1(9216+r):t.write1(r)}x+=o,n+=o,y>=u&&(C+=a)}k=n}g?S++:S=0,t.appendASCIIString("</span>")}w.setPartData(a,h.length-1,x,E),l&&t.appendASCIIString("<span>…</span>");return t.appendASCIIString("</span>"),new d(w,g,o)}(function(e){const t=e.lineContent;let n,r;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<t.length?(n=!0,r=e.stopRenderingLineAfter):(n=!1,r=t.length);let a=function(e,t,n){let i=[],r=0;t>0&&(i[r++]=new s(t,"",0));for(let o=0,a=e.getCount();o<a;o++){const a=e.getEndOffset(o);if(a<=t)continue;const l=e.getClassName(o);if(a>=n){i[r++]=new s(n,l,0);break}i[r++]=new s(a,l,0)}return i}(e.lineTokens,e.fauxIndentLength,r);(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace)&&(a=function(e,t,n,r){const o=e.continuesWithWrappedLine,a=e.fauxIndentLength,l=e.tabSize,c=e.startVisibleColumn,d=e.useMonospaceOptimizations,h=e.selectionsOnLine,u=1===e.renderWhitespace,p=3===e.renderWhitespace,m=e.renderSpaceWidth!==e.spaceWidth;let g=[],f=0,b=0,_=r[b].type,v=r[b].endIndex;const w=r.length;let y,C=!1,x=i.w(t);-1===x?(C=!0,x=n,y=n):y=i.J(t);let S=!1,k=0,E=h&&h[k],T=c%l;for(let e=a;e<n;e++){const o=t.charCodeAt(e);let c;if(E&&e>=E.endOffset&&(k++,E=h&&h[k]),e<x||e>y)c=!0;else if(9===o)c=!0;else if(32===o)if(u)if(S)c=!0;else{const i=e+1<n?t.charCodeAt(e+1):0;c=32===i||9===i}else c=!0;else c=!1;if(c&&h&&(c=!!E&&E.startOffset<=e&&E.endOffset>e),c&&p&&(c=C||e>y),S){if(!c||!d&&T>=l){if(m){for(let t=(f>0?g[f-1].endIndex:a)+1;t<=e;t++)g[f++]=new s(t,"mtkw",1)}else g[f++]=new s(e,"mtkw",1);T%=l}}else(e===v||c&&e>a)&&(g[f++]=new s(e,_,0),T%=l);for(9===o?T=l:i.E(o)?T+=2:T++,S=c;e===v;)b++,b<w&&(_=r[b].type,v=r[b].endIndex)}let L=!1;if(S)if(o&&u){let e=n>0?t.charCodeAt(n-1):0,i=n>1?t.charCodeAt(n-2):0;32===e&&32!==i&&9!==i||(L=!0)}else L=!0;if(L)if(m){for(let e=(f>0?g[f-1].endIndex:a)+1;e<=n;e++)g[f++]=new s(e,"mtkw",1)}else g[f++]=new s(n,"mtkw",1);else g[f++]=new s(n,_,0);return g}(e,t,r,a));let l=0;if(e.lineDecorations.length>0){for(let t=0,n=e.lineDecorations.length;t<n;t++){const n=e.lineDecorations[t];3===n.type||1===n.type?l|=1:2===n.type&&(l|=2)}a=function(e,t,n,i){i.sort(o.a.compare);const r=o.b.normalize(e,i),a=r.length;let l=0,c=[],d=0,h=0;for(let e=0,t=n.length;e<t;e++){const t=n[e],i=t.endIndex,o=t.type,u=t.metadata;for(;l<a&&r[l].startOffset<i;){const e=r[l];if(e.startOffset>h&&(h=e.startOffset,c[d++]=new s(h,o,u)),!(e.endOffset+1<=i)){h=i,c[d++]=new s(h,o+" "+e.className,u|e.metadata);break}h=e.endOffset+1,c[d++]=new s(h,o+" "+e.className,u|e.metadata),l++}i>h&&(h=i,c[d++]=new s(h,o,u))}const u=n[n.length-1].endIndex;if(l<a&&r[l].startOffset===u){let e=[],t=0;for(;l<a&&r[l].startOffset===u;)e.push(r[l].className),t|=r[l].metadata,l++;c[d++]=new s(h,e.join(" "),t)}return c}(t,0,a,e.lineDecorations)}e.containsRTL||(a=function(e,t,n){let i=0,r=[],o=0;if(n)for(let n=0,a=t.length;n<a;n++){const a=t[n],l=a.endIndex;if(i+50<l){const t=a.type,n=a.metadata;let c=-1,d=i;for(let a=i;a<l;a++)32===e.charCodeAt(a)&&(c=a),-1!==c&&a-d>=50&&(r[o++]=new s(c+1,t,n),d=c+1,c=-1);d!==l&&(r[o++]=new s(l,t,n))}else r[o++]=a;i=l}else for(let e=0,n=t.length;e<n;e++){const n=t[e],a=n.endIndex;let l=a-i;if(l>50){const e=n.type,t=n.metadata,c=Math.ceil(l/50);for(let n=1;n<c;n++){let a=i+50*n;r[o++]=new s(a,e,t)}r[o++]=new s(a,e,t)}else r[o++]=n;i=a}return r}(t,a,!e.isBasicASCII||e.fontLigatures));return new m(e.useMonospaceOptimizations,e.canUseHalfwidthRightwardsArrow,t,r,n,a,l,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.renderSpaceCharCode,e.renderWhitespace,e.renderControlCharacters)}(e),t)}class u{constructor(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i}}function p(e){let t=Object(r.a)(1e4),n=h(e,t);return new u(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}class m{constructor(e,t,n,i,r,o,s,a,l,c,d,h,u,p,m){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=r,this.parts=o,this.containsForeignElements=s,this.fauxIndentLength=a,this.tabSize=l,this.startVisibleColumn=c,this.containsRTL=d,this.spaceWidth=h,this.renderSpaceCharCode=u,this.renderWhitespace=p,this.renderControlCharacters=m}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(43),r=n(11),o=n(27),s=n(56);class a{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===r.a){if(e&&e.win)return e.win}else if(2===r.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=a.bindToCurrentPlatform(e);if(t&&t.primary){const n=Object(i.f)(t.primary,r.a);n&&this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let n=0,o=t.secondary.length;n<o;n++){const o=t.secondary[n],s=Object(i.f)(o,r.a);s&&this._registerDefaultKeybinding(s,e.id,e.args,e.weight,-n-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),o.a.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&a._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)}_registerDefaultKeybinding(e,t,n,i,o,s){1===r.a&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:s,weight1:i,weight2:o,extensionId:null}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(c)),this._cachedMergedKeybindings.slice(0)}}const l=new a;function c(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}s.a.add("platform.keybindingsRegistry",l)},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return d}));var i=n(5);function r(e,t){const n=Object.create(null);for(let r in t){const o=t[r];o&&(n[r]=Object(i.hc)(o,e))}return n}function o(e,t,n){function i(i){const o=r(e.getColorTheme(),t);"function"==typeof n?n(o):n.style(o)}return i(e.getColorTheme()),e.onDidColorThemeChange(i)}function s(e,t,n){return o(t,{badgeBackground:n&&n.badgeBackground||i.c,badgeForeground:n&&n.badgeForeground||i.d,badgeBorder:i.h},e)}function a(e,t,n){return o(t,Object.assign(Object.assign({},l),n||{}),e)}const l={listFocusBackground:i.xb,listFocusForeground:i.yb,listActiveSelectionBackground:Object(i.i)(i.rb,.1),listActiveSelectionForeground:i.sb,listFocusAndSelectionBackground:i.rb,listFocusAndSelectionForeground:i.sb,listInactiveSelectionBackground:i.Db,listInactiveSelectionForeground:i.Eb,listInactiveFocusBackground:i.Cb,listHoverBackground:i.Ab,listHoverForeground:i.Bb,listDropBackground:i.tb,listFocusOutline:i.b,listSelectionOutline:i.b,listHoverOutline:i.b,listFilterWidgetBackground:i.ub,listFilterWidgetOutline:i.wb,listFilterWidgetNoMatchesOutline:i.vb,listMatchesShadow:i.uc,treeIndentGuidesStroke:i.tc},c={shadowColor:i.uc,borderColor:i.Gb,foregroundColor:i.Hb,backgroundColor:i.Fb,selectionForegroundColor:i.Kb,selectionBackgroundColor:i.Ib,selectionBorderColor:i.Jb,separatorColor:i.Lb};function d(e,t,n){return o(t,Object.assign(Object.assign({},c),n),e)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var i=n(13),r=n(2),o=n(11),s=n(14);let a=!1;function l(e){o.h&&(a||(a=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((i,r)=>{this._pendingReplies[n]={resolve:i,reject:r},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(i.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(i.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class d extends r.a{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{i&&i(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let r=null;void 0!==self.require&&"function"==typeof self.require.getConfig?r=self.require.getConfig():void 0!==self.requirejs&&(r=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(r)),t,o]);const a=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{i=n,this._onModuleLoaded.then(t=>{e(s.c(t,a))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,i)},i)})}_onError(e,t){console.error(e),console.info(t)}}class h{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,i){this._protocol.setWorkerId(e);const r=s.c(i,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(r),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}},function(e,t,n){"use strict";var i=n(108);n.d(t,"a",(function(){return i.n}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("editorWorkerService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c}));var i=n(18),r=n(6),o=n(2),s=n(14);const a=Object(i.c)("storageService");var l;!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(l||(l={}));class c extends o.a{constructor(){super(...arguments),this._onDidChangeStorage=this._register(new r.a),this._onWillSaveState=this._register(new r.a),this.onWillSaveState=this._onWillSaveState.event,this.globalCache=new Map,this.workspaceCache=new Map}getCache(e){return 0===e?this.globalCache:this.workspaceCache}get(e,t,n){const i=this.getCache(t).get(e);return Object(s.l)(i)?n:i}getBoolean(e,t,n){const i=this.getCache(t).get(e);return Object(s.l)(i)?n:"true"===i}getNumber(e,t,n){const i=this.getCache(t).get(e);return Object(s.l)(i)?n:parseInt(i,10)}store(e,t,n){if(Object(s.l)(t))return this.remove(e,n);const i=String(t);return this.getCache(n).get(e)===i||(this.getCache(n).set(e,i),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()}remove(e,t){return this.getCache(t).delete(e)?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=0;function r(e,t,n){return function(){const e="$memoize"+i++;let t=void 0;const n=function(n,i,r){let o=null,s=null;if("function"==typeof r.value?(o="value",s=r.value,0!==s.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof r.get&&(o="get",s=r.get),!s)throw new Error("not supported");const a=`${e}:${i}`;r[o]=function(...e){return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:s.apply(this,e)}),this[a]}};return n.clear=()=>{void 0!==t&&Object.getOwnPropertyNames(t).forEach(n=>{0===n.indexOf(e)&&delete t[n]})},n}()(e,t,n)}},function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};const n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=n,e.intersects=function(e,i){return!n(t(e,i))},e.relativeComplement=function(e,t){const i=[],r={start:e.start,end:Math.min(t.start,e.end)},o={start:Math.max(t.end,e.start),end:e.end};return n(r)||i.push(r),n(o)||i.push(o),i}}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(25),r=n(6),o=n(43),s=n(23),a=n(9),l=n(3),c=n(21),d=n(77),h=n(40);class u{static chord(e,t){return Object(o.a)(e,t)}}function p(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.b,Emitter:r.a,KeyCode:h.o,KeyMod:u,Position:a.a,Range:l.a,Selection:c.a,SelectionDirection:h.z,MarkerSeverity:h.p,MarkerTag:h.q,Uri:s.a,Token:d.a}}u.CtrlCmd=2048,u.Shift=1024,u.Alt=512,u.WinCtrl=256},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n(36);class r{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(i.a)(e);const n=this.values,r=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(i.a)(e),t=Object(i.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(i.a)(e),t=Object(i.a)(t);const n=this.values,r=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(i.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,i=0,o=0,s=0;for(;t<=n;)if(i=t+(n-t)/2|0,o=this.prefixSum[i],s=o-this.values[i],e<s)n=i-1;else{if(!(e>=o))break;t=i+1}return new r(i,e-s)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return d}));var i=n(18),r=n(2),o=n(6);const s=Object(i.c)("logService");var a;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(a||(a={}));const l=a.Info;class c extends r.a{constructor(){super(...arguments),this.level=l,this._onDidChangeLogLevel=this._register(new o.a)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class d extends c{constructor(e=l){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=a.Trace&&console.log("%cTRACE","color: #888",e,...t)}info(e,...t){this.getLevel()<=a.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=a.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n(1),r=n(11),o=n(177),s=n(69),a=n(2),l=n(138);function c(e,t){let n=new s.a(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}class d{constructor(){this._hooks=new a.b,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const t=this._onStopCallback;this._onStopCallback=null,e&&t&&t()}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(e,t,n,a,c){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=a,this._onStopCallback=c;const d=o.a.getSameOriginWindowChain(),h=r.c&&l.a.pointerEvents?"pointermove":"mousemove",u=r.c&&l.a.pointerEvents?"pointerup":"mouseup",p=d.map(e=>e.window.document),m=i.E(e);m&&p.unshift(m);for(const e of p)this._hooks.add(i.l(e,h,e=>{e.buttons===t?this._mouseMoveCallback(e):this.stopMonitoring(!0)},(e,t)=>this._mouseMoveEventMerger(e,t))),this._hooks.add(i.i(e,u,e=>this.stopMonitoring(!0)));if(o.a.hasDifferentOriginAncestor()){let e=d[d.length-1];this._hooks.add(i.i(e.window.document,"mouseout",e=>{"html"===new s.a(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(i.i(e.window.document,"mouseover",e=>{"html"===new s.a(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(i.i(e.window.document.body,"mouseleave",e=>{this.stopMonitoring(!0)}))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var i=n(16);class r{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function a(e,t,n){return new h(new s(e),new s(t)).ComputeDiff(n).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}static Copy2(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}}class d{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new r(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[i,r,o]=h._getElements(e),[s,a,l]=h._getElements(t);this._hasStrings=o&&l,this._originalStringElements=i,this._originalElementsOrHash=r,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,i,r){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,i,o);return r&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,i,o){for(o[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let o;return n<=i?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new r(e,0,n,i-n+1)]):e<=t?(l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[new r(e,t-e+1,n,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],a=[0],c=this.ComputeRecursionPoint(e,t,n,i,s,a,o),d=s[0],h=a[0];if(null!==c)return c;if(!o[0]){const s=this.ComputeDiffRecursive(e,d,n,h,o);let a=[];return a=o[0]?[new r(d+1,t-(d+1)+1,h+1,i-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,i,o),this.ConcatenateChanges(s,a)}return[new r(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,o,s,a,l,c,h,u,p,m,g,f,b,_,v){let w=null,y=null,C=new d,x=t,S=n,k=m[0]-b[0]-i,E=-1073741824,T=this.m_forwardHistory.length-1;do{const t=k+e;t===x||t<S&&c[t-1]<c[t+1]?(g=(u=c[t+1])-k-i,u<E&&C.MarkNextChange(),E=u,C.AddModifiedElement(u+1,g),k=t+1-e):(g=(u=c[t-1]+1)-k-i,u<E&&C.MarkNextChange(),E=u-1,C.AddOriginalElement(u,g+1),k=t-1-e),T>=0&&(e=(c=this.m_forwardHistory[T])[0],x=1,S=c.length-1)}while(--T>=-1);if(w=C.getReverseChanges(),v[0]){let e=m[0]+1,t=b[0]+1;if(null!==w&&w.length>0){const n=w[w.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new r(e,p-e+1,t,f-t+1)]}else{C=new d,x=s,S=a,k=m[0]-b[0]-l,E=1073741824,T=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=k+o;e===x||e<S&&h[e-1]>=h[e+1]?(g=(u=h[e+1]-1)-k-l,u>E&&C.MarkNextChange(),E=u+1,C.AddOriginalElement(u+1,g+1),k=e+1-o):(g=(u=h[e-1])-k-l,u>E&&C.MarkNextChange(),E=u,C.AddModifiedElement(u+1,g+1),k=e-1-o),T>=0&&(o=(h=this.m_reverseHistory[T])[0],x=1,S=h.length-1)}while(--T>=-1);y=C.getChanges()}return this.ConcatenateChanges(w,y)}ComputeRecursionPoint(e,t,n,i,o,s,a){let l=0,d=0,h=0,u=0,p=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(i-n),f=g+1,b=new Int32Array(f),_=new Int32Array(f),v=i-n,w=t-e,y=e-n,C=t-i,x=(w-v)%2==0;b[v]=e,_[w]=t,a[0]=!1;for(let S=1;S<=g/2+1;S++){let g=0,k=0;h=this.ClipDiagonalBound(v-S,S,v,f),u=this.ClipDiagonalBound(v+S,S,v,f);for(let e=h;e<=u;e+=2){l=e===h||e<u&&b[e-1]<b[e+1]?b[e+1]:b[e-1]+1,d=l-(e-v)-y;const n=l;for(;l<t&&d<i&&this.ElementsAreEqual(l+1,d+1);)l++,d++;if(b[e]=l,l+d>g+k&&(g=l,k=d),!x&&Math.abs(e-w)<=S-1&&l>=_[e])return o[0]=l,s[0]=d,n<=_[e]&&S<=1448?this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,o,d,i,s,x,a):null}const E=(g-e+(k-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,E))return a[0]=!0,o[0]=g,s[0]=k,E>0&&S<=1448?this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,o,d,i,s,x,a):(e++,n++,[new r(e,t-e+1,n,i-n+1)]);p=this.ClipDiagonalBound(w-S,S,w,f),m=this.ClipDiagonalBound(w+S,S,w,f);for(let r=p;r<=m;r+=2){l=r===p||r<m&&_[r-1]>=_[r+1]?_[r+1]-1:_[r-1],d=l-(r-w)-C;const c=l;for(;l>e&&d>n&&this.ElementsAreEqual(l,d);)l--,d--;if(_[r]=l,x&&Math.abs(r-v)<=S&&l<=b[r])return o[0]=l,s[0]=d,c>=b[r]&&S<=1448?this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,o,d,i,s,x,a):null}if(S<=1447){let e=new Int32Array(u-h+2);e[0]=v-h+1,c.Copy2(b,h,e,1,u-h+1),this.m_forwardHistory.push(e),e=new Int32Array(m-p+2),e[0]=w-p+1,c.Copy2(_,p,e,1,m-p+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,h,u,y,w,p,m,C,b,_,l,t,o,d,i,s,x,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,r=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<r&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,r=0;if(t>0){const n=e[t-1];n.originalLength>0&&(i=n.originalStart+n.originalLength),n.modifiedLength>0&&(r=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<i||c<r)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const d=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);d>l&&(l=d,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return c.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],c.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r(i,o,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const r=t%2==0;if(e<0){return r===(n%2==0)?0:1}return r===((i-n-1)%2==0)?i-1:i-2}}var u=n(11),p=n(23),m=n(9),g=n(3),f=n(8);function b(e,t,n,i){return new h(e,t,n).ComputeDiff(i)}class _{constructor(e){const t=[],n=[];for(let i=0,r=e.length;i<r;i++)t[i]=x(e[i],1),n[i]=S(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const i=[],r=[],o=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,l=e?this._endColumns[a]:t.length+1;for(let e=n;e<l;e++)i[s]=t.charCodeAt(e-1),r[s]=a+1,o[s]=e,s++}return new v(i,r,o)}}class v{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class w{constructor(e,t,n,i,r,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=r,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let i,r,o,s,a,l,c,d;return 0===e.originalLength?(i=0,r=0,o=0,s=0):(i=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,l=0,c=0,d=0):(a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new w(i,r,o,s,a,l,c,d)}}class y{constructor(e,t,n,i,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=r}static createFromDiffResult(e,t,n,i,r,o,s){let a,l,c,d,h=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=i.getStartLineNumber(t.modifiedStart)-1,d=0):(c=i.getStartLineNumber(t.modifiedStart),d=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=b(o,a,r,!0).changes;s&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i<r;i++){const r=e[i],o=r.originalStart-(n.originalStart+n.originalLength),s=r.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=r.originalStart+r.originalLength-n.originalStart,n.modifiedLength=r.modifiedStart+r.modifiedLength-n.modifiedStart):(t.push(r),n=r)}return t}(l)),h=[];for(let e=0,t=l.length;e<t;e++)h.push(w.createFromDiffChange(l[e],o,a))}return new y(a,l,c,d,h)}}class C{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new _(e),this.modified=new _(t),this.continueLineDiff=k(n.maxComputationTime),this.continueCharDiff=k(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=b(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const i=[];let r=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,a=s?s.originalStart:this.originalLines.length,l=s?s.modifiedStart:this.modifiedLines.length;for(;r<a&&o<l;){const e=this.originalLines[r],t=this.modifiedLines[o];if(e!==t){{let n=x(e,1),s=x(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(i,r+1,1,n,o+1,1,s)}{let n=S(e,1),s=S(t,1);const a=e.length+1,l=t.length+1;for(;n<a&&s<l;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<l)&&this._pushTrimWhitespaceCharChange(i,r+1,n,a,o+1,s,l)}}r++,o++}s&&(i.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),r+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,r,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,r,o,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new w(t,n,t,i,r,o,r,s)]),e.push(new y(t,t,r,r,a))}_mergeTrimWhitespaceCharChange(e,t,n,i,r,o,s){const a=e.length;if(0===a)return!1;const l=e[a-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===r&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=r,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new w(t,n,t,i,r,o,r,s)),!0))}}function x(e,t){const n=f.w(e);return-1===n?t:n+1}function S(e,t){const n=f.J(e);return-1===n?t:n+2}function k(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var E=n(101);var T=n(73),L=n(76);class N{constructor(e,t,n){const i=new Uint8Array(e*t);for(let r=0,o=e*t;r<o;r++)i[r]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class I{constructor(e){let t=0,n=0;for(let i=0,r=e.length;i<r;i++){let[r,o,s]=e[i];o>t&&(t=o),r>n&&(n=r),s>n&&(n=s)}t++,n++;let i=new N(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,r,o]=e[t];i.set(n,r,o)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let D=null;let O=null;class A{static _createLink(e,t,n,i,r){let o=r-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:o+2},url:t.substring(i,o+1)}}static computeLinks(e,t=function(){return null===D&&(D=new I([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),D}()){const n=function(){if(null===O){O=new L.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)O.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)O.set(t.charCodeAt(e),2)}return O}();let i=[];for(let r=1,o=e.getLineCount();r<=o;r++){const o=e.getLineContent(r),s=o.length;let a=0,l=0,c=0,d=1,h=!1,u=!1,p=!1,m=!1;for(;a<s;){let e=!1;const s=o.charCodeAt(a);if(13===d){let t;switch(s){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:p=!0,u=!0,t=0;break;case 93:p=!1,t=u?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=p?0:1;break;default:t=n.get(s)}1===t&&(i.push(A._createLink(n,o,r,l,a)),e=!0)}else if(12===d){let t;91===s?(u=!0,t=0):t=n.get(s),1===t?e=!0:d=13}else d=t.nextState(d,s),0===d&&(e=!0);e&&(d=1,h=!1,u=!1,m=!1,l=a+1,c=s),a++}13===d&&i.push(A._createLink(n,o,r,l,s))}return i}}class R{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,i,r){if(e&&t){let n=this.doNavigateValueSet(t,r);if(n)return{range:e,value:n}}if(n&&i){let e=this.doNavigateValueSet(i,r);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),r=parseFloat(e);return isNaN(i)||isNaN(r)||i!==r?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let r=0,o=e.length;null===i&&r<o;r++)i=this.valueSetReplace(e[r],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}R.INSTANCE=new R;var M=n(100),P=n(14),F=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class W extends class{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new E.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let i=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),i[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(T.d)(e.column,Object(T.c)(t),this._lines[e.lineNumber-1],0);return n?new g.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,r="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=r.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(i<t.length))break;r=t[i],s=n(r,e),o=0,i+=1}}}}getLineWords(e,t){let n=this._lines[e-1],i=this._wordenize(n,t),r=[];for(const e of i)r.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return r}_wordenize(e,t){const n=[];let i;for(t.lastIndex=0;(i=t.exec(e))&&0!==i[0].length;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,r=[];r.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<i;e++)r.push(this._lines[e]);return r.push(this._lines[i].substring(0,e.endColumn-1)),r.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class z{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new W(p.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,i){return F(this,void 0,void 0,(function*(){const r=this._getModel(e),o=this._getModel(t);if(!r||!o)return null;const s=r.getLinesContent(),a=o.getLinesContent(),l=new C(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(r,o);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0}computeMoreMinimalEdits(e,t){return F(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const r=[];let o=void 0;t=Object(i.p)(t,(e,t)=>{if(e.range&&t.range)return g.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:i,eol:s}of t){if("number"==typeof s&&(o=s),g.a.isEmpty(e)&&!i)continue;const t=n.getValueInRange(e);if(i=i.replace(/\r\n|\n|\r/g,n.eol),t===i)continue;if(Math.max(i.length,t.length)>z._diffLimit){r.push({range:e,text:i});continue}const l=a(t,i,!1),c=n.offsetAt(g.a.lift(e).getStartPosition());for(const e of l){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),s={text:i.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&r.push(s)}}return"number"==typeof o&&r.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return F(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?A.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,i){return F(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return null;const o=[],s=new Set,a=new RegExp(n,i),l=r.getWordAtPosition(t,a);l&&s.add(r.getValueInRange(l));for(let e of r.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>z._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,i){return F(this,void 0,void 0,(function*(){let r=this._getModel(e);if(!r)return Object.create(null);const o=new RegExp(n,i),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=r.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,i,r){return F(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(i,r);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=o.getValueInRange(t),l=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!l)return null;let c=o.getValueInRange(l);return R.INSTANCE.navigateValueSet(t,a,l,c,n)}))}loadForeignModule(e,t,n){let i={host:P.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(P.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}z._diffLimit=1e5,z._suggestionsLimit=1e4,"function"==typeof importScripts&&(u.b.monaco=Object(M.a)())},function(e,t,n){"use strict";n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return N})),n.d(t,"a",(function(){return I}));n(220);var i=n(1),r=n(35),o=n(69),s=n(103),a=n(82),l=n(20);class c extends a.a{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,Object(i.f)(this.domNode,e.icon.classNames),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new s.a),this.onmousedown(this.bgDomNode,e=>this._arrowMouseDown(e)),this.onmousedown(this.domNode,e=>this._arrowMouseDown(e)),this._mousedownRepeatTimer=this._register(new l.c),this._mousedownScheduleRepeatTimer=this._register(new l.e)}_arrowMouseDown(e){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s.b,e=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()}}var d=n(2);class h extends d.a{constructor(e,t,n){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=n,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new l.e)}applyVisibilitySetting(e){return 2!==this._visibility&&(3===this._visibility||e)}setShouldBeVisible(e){let t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}var u=n(11);class p extends a.a{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new h(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new s.a),this._shouldRender=!0,this.domNode=Object(r.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,e=>this._domNodeMouseDown(e))}_createArrow(e){let t=this._register(new c(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,n,i){this.slider=Object(r.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){let t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),r=this._sliderMousePosition(e);n<=r&&r<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{})):this._onMouseDown(e)}_onMouseDown(e){let t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{const r=i.C(this.domNode.domNode);t=e.posx-r.left,n=e.posy-r.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}_sliderMouseDown(e,t){const n=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s.b,e=>{const t=this._sliderOrthogonalMousePosition(e),o=Math.abs(t-i);if(u.i&&o>140)return void this._setDesiredScrollPositionNow(r.getScrollPosition());const s=this._sliderMousePosition(e)-n;this._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(s))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}}class m{constructor(e,t,n,i,r,o){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=r,this._scrollPosition=o,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new m(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=e}static _computeValues(e,t,n,i,r){const o=Math.max(0,n-e),s=Math.max(0,o-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(o),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const l=Math.round(Math.max(20,Math.floor(n*s/i))),c=(s-l)/(i-n),d=r*c;return{computedAvailableSize:Math.round(o),computedIsNeeded:a,computedSliderSize:Math.round(l),computedSliderRatio:c,computedSliderPosition:Math.round(d)}}_refreshComputedValues(){const e=m._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;let t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}var g=n(17);const f=Object(g.e)("scrollbar-button-left",g.a.triangleLeft),b=Object(g.e)("scrollbar-button-right",g.a.triangleRight);class _ extends p{constructor(e,t,n){const i=e.getScrollDimensions(),r=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new m(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,i.width,i.scrollWidth,r.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e}),t.horizontalHasArrows){let e=(t.arrowSize-11)/2,n=(t.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:f,top:n,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new o.b(null,1,0))}),this._createArrow({className:"scra",icon:b,top:n,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new o.b(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}}const v=Object(g.e)("scrollbar-button-up",g.a.triangleUp),w=Object(g.e)("scrollbar-button-down",g.a.triangleDown);class y extends p{constructor(e,t,n){const i=e.getScrollDimensions(),r=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new m(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,i.height,i.scrollHeight,r.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e}),t.verticalHasArrows){let e=(t.arrowSize-11)/2,n=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:v,top:e,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new o.b(null,0,1))}),this._createArrow({className:"scra",icon:w,top:void 0,left:n,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new o.b(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}}var C=n(6),x=n(170),S=n(34);class k{constructor(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}}class E{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,n=1,i=this._rear;for(;;){const r=i===this._front?e:Math.pow(2,-n);if(e-=r,t+=this._memory[i].score*r,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5}accept(e,t,n){const i=new k(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}E.INSTANCE=new E;class T extends a.a{constructor(e,t,n){super(),this._onScroll=this._register(new C.a),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new C.a),e.style.overflow="hidden",this._options=function(e){let t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,u.f&&(t.className+=" mac");return t}(t),this._scrollable=n,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let i={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new y(this._scrollable,this._options,i)),this._horizontalScrollbar=this._register(new _(this._scrollable,this._options,i)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=Object(r.b)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=Object(r.b)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=Object(r.b)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onnonbubblingmouseout(this._listenOnDomNode,e=>this._onMouseOut(e)),this._hideTimeout=this._register(new l.e),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=Object(d.f)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,u.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontalScrollbarSize&&this._horizontalScrollbar.updateScrollbarSize(e.horizontalScrollbarSize),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=Object(d.f)(this._mouseWheelToDispose),e)){let e=e=>{this._onMouseWheel(new o.b(e))};this._mouseWheelToDispose.push(i.i(this._listenOnDomNode,i.c.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(e){const t=E.INSTANCE;{const n=window.devicePixelRatio/Object(S.c)();u.i||u.d?t.accept(Date.now(),e.deltaX/n,e.deltaY/n):t.accept(Date.now(),e.deltaX,e.deltaY)}if(e.deltaY||e.deltaX){let n=e.deltaY*this._options.mouseWheelScrollSensitivity,i=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(n)>=Math.abs(i)?i=0:n=0),this._options.flipAxes&&([n,i]=[i,n]);const r=!u.f&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||i||(i=n,n=0),e.browserEvent&&e.browserEvent.altKey&&(i*=this._options.fastScrollSensitivity,n*=this._options.fastScrollSensitivity);const o=this._scrollable.getFutureScrollPosition();let s={};if(n){const e=o.scrollTop-50*n;this._verticalScrollbar.writeScrollPosition(s,e)}if(i){const e=o.scrollLeft-50*i;this._horizontalScrollbar.writeScrollPosition(s,e)}if(s=this._scrollable.validateScrollPosition(s),o.scrollLeft!==s.scrollLeft||o.scrollTop!==s.scrollTop){this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(s):this._scrollable.setScrollPositionNow(s),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition();let t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),500)}}class L extends T{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const n=new x.a(0,e=>i.Y(e));super(e,t,n),this._register(n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class N extends T{constructor(e,t,n){super(e,t,n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class I extends L{constructor(e,t){super(e,t),this._element=e,this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return m}));var i=n(8),r=n(117),o=n(9),s=n(3),a=n(58);class l{constructor(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}parseSearchRequest(){if(""===this.searchString)return null;let e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,n=e.length;t<n;t++){if(92===e.charCodeAt(t)){if(t++,t>=n)break;const i=e.charCodeAt(t);if(110===i||114===i||87===i||119===i)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=i.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new c(t,this.wordSeparators?Object(r.a)(this.wordSeparators):null,n?this.searchString:null)}}class c{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}function d(e,t,n){if(!n)return new a.b(e,null);let i=[];for(let e=0,n=t.length;e<n;e++)i[e]=t[e];return new a.b(e,i)}class h{constructor(e){let t=[],n=0;for(let i=0,r=e.length;i<r;i++)10===e.charCodeAt(i)&&(t[n++]=i);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let n=0,i=t.length-1;if(-1===i)return 0;if(e<=t[0])return 0;for(;n<i;){const r=n+((i-n)/2>>0);t[r]>=e?i=r-1:t[r+1]>=e?(n=r,i=r):n=r+1}return n+1}}class u{static findMatches(e,t,n,i,r){const o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,n,new m(o.wordSeparators,o.regex),i,r):this._doFindMatchesLineByLine(e,n,o,i,r):[]}static _getMultilineMatchRange(e,t,n,i,r,o){let a,l,c=0;if(i?(c=i.findLineFeedCountBeforeOffset(r),a=t+r+c):a=t+r,i){let e=i.findLineFeedCountBeforeOffset(r+o.length)-c;l=a+o.length+e}else l=a+o.length;const d=e.getPositionAt(a),h=e.getPositionAt(l);return new s.a(d.lineNumber,d.column,h.lineNumber,h.column)}static _doFindMatchesMultiline(e,t,n,i,r){const o=e.getOffsetAt(t.getStartPosition()),s=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new h(s):null,l=[];let c,u=0;for(n.reset(0);c=n.next(s);)if(l[u++]=d(this._getMultilineMatchRange(e,o,s,a,c.index,c[0]),c,i),u>=r)return l;return l}static _doFindMatchesLineByLine(e,t,n,i,r){const o=[];let s=0;if(t.startLineNumber===t.endLineNumber){const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,o,i,r),o}const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,o,i,r);for(let a=t.startLineNumber+1;a<t.endLineNumber&&s<r;a++)s=this._findMatchesInLine(n,e.getLineContent(a),a,0,s,o,i,r);if(s<r){const a=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);s=this._findMatchesInLine(n,a,t.endLineNumber,0,s,o,i,r)}return o}static _findMatchesInLine(e,t,n,i,r,o,l,c){const h=e.wordSeparators;if(!l&&e.simpleSearch){const l=e.simpleSearch,d=l.length,u=t.length;let m=-d;for(;-1!==(m=t.indexOf(l,m+d));)if((!h||p(h,t,u,m,d))&&(o[r++]=new a.b(new s.a(n,m+1+i,n,m+1+d+i),null),r>=c))return r;return r}const u=new m(e.wordSeparators,e.regex);let g;u.reset(0);do{if(g=u.next(t),g&&(o[r++]=d(new s.a(n,g.index+1+i,n,g.index+1+g[0].length+i),g,l),r>=c))return r}while(g);return r}static findNextMatch(e,t,n,i){const r=t.parseSearchRequest();if(!r)return null;const o=new m(r.wordSeparators,r.regex);return r.regex.multiline?this._doFindNextMatchMultiline(e,n,o,i):this._doFindNextMatchLineByLine(e,n,o,i)}static _doFindNextMatchMultiline(e,t,n,i){const r=new o.a(t.lineNumber,1),a=e.getOffsetAt(r),l=e.getLineCount(),c=e.getValueInRange(new s.a(r.lineNumber,r.column,l,e.getLineMaxColumn(l)),1),u="\r\n"===e.getEOL()?new h(c):null;n.reset(t.column-1);let p=n.next(c);return p?d(this._getMultilineMatchRange(e,a,c,u,p.index,p[0]),p,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new o.a(1,1),n,i):null}static _doFindNextMatchLineByLine(e,t,n,i){const r=e.getLineCount(),o=t.lineNumber,s=e.getLineContent(o),a=this._findFirstMatchInLine(n,s,o,t.column,i);if(a)return a;for(let t=1;t<=r;t++){const s=(o+t-1)%r,a=e.getLineContent(s+1),l=this._findFirstMatchInLine(n,a,s+1,1,i);if(l)return l}return null}static _findFirstMatchInLine(e,t,n,i,r){e.reset(i-1);const o=e.next(t);return o?d(new s.a(n,o.index+1,n,o.index+1+o[0].length),o,r):null}static findPreviousMatch(e,t,n,i){const r=t.parseSearchRequest();if(!r)return null;const o=new m(r.wordSeparators,r.regex);return r.regex.multiline?this._doFindPreviousMatchMultiline(e,n,o,i):this._doFindPreviousMatchLineByLine(e,n,o,i)}static _doFindPreviousMatchMultiline(e,t,n,i){const r=this._doFindMatchesMultiline(e,new s.a(1,1,t.lineNumber,t.column),n,i,9990);if(r.length>0)return r[r.length-1];const a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new o.a(a,e.getLineMaxColumn(a)),n,i):null}static _doFindPreviousMatchLineByLine(e,t,n,i){const r=e.getLineCount(),o=t.lineNumber,s=e.getLineContent(o).substring(0,t.column-1),a=this._findLastMatchInLine(n,s,o,i);if(a)return a;for(let t=1;t<=r;t++){const s=(r+o-t-1)%r,a=e.getLineContent(s+1),l=this._findLastMatchInLine(n,a,s+1,i);if(l)return l}return null}static _findLastMatchInLine(e,t,n,i){let r,o=null;for(e.reset(0);r=e.next(t);)o=d(new s.a(n,r.index+1,n,r.index+1+r[0].length),r,i);return o}}function p(e,t,n,i,r){return function(e,t,n,i,r){if(0===i)return!0;const o=t.charCodeAt(i-1);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(r>0){const n=t.charCodeAt(i);if(0!==e.get(n))return!0}return!1}(e,t,0,i,r)&&function(e,t,n,i,r){if(i+r===n)return!0;const o=t.charCodeAt(i+r);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(r>0){const n=t.charCodeAt(i+r-1);if(0!==e.get(n))return!0}return!1}(e,t,n,i,r)}class m{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const r=n.index,o=n[0].length;if(r===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){i.A(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=o,!this._wordSeparators||p(this._wordSeparators,e,t,r,o))return n}while(n);return null}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return C})),n.d(t,"a",(function(){return T}));var i=n(0),r=n(14),o=n(4),s=n(41),a=n(22),l=n(9),c=n(3);class d{static columnSelect(e,t,n,i,r,o){let s=Math.abs(r-n)+1,d=n>r,h=i>o,u=i<o,p=[];for(let r=0;r<s;r++){let s=n+(d?-r:r),m=a.a.columnFromVisibleColumn2(e,t,s,i),g=a.a.columnFromVisibleColumn2(e,t,s,o),f=a.a.visibleColumnFromColumn2(e,t,new l.a(s,m)),b=a.a.visibleColumnFromColumn2(e,t,new l.a(s,g));if(u){if(f>o)continue;if(b<i)continue}if(h){if(b>i)continue;if(f<o)continue}p.push(new a.f(new c.a(s,m,s,m),0,new l.a(s,g),0))}if(0===p.length)for(let e=0;e<s;e++){const i=n+(d?-e:e),r=t.getLineMaxColumn(i);p.push(new a.f(new c.a(i,r,i,r),0,new l.a(i,r),0))}return{viewStates:p,reversed:d,fromLineNumber:n,fromVisualColumn:i,toLineNumber:r,toVisualColumn:o}}static columnSelectLeft(e,t,n){let i=n.toViewVisualColumn;return i>1&&i--,d.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,i)}static columnSelectRight(e,t,n){let i=0;const r=Math.min(n.fromViewLineNumber,n.toViewLineNumber),o=Math.max(n.fromViewLineNumber,n.toViewLineNumber);for(let n=r;n<=o;n++){const r=t.getLineMaxColumn(n),o=a.a.visibleColumnFromColumn2(e,t,new l.a(n,r));i=Math.max(i,o)}let s=n.toViewVisualColumn;return s<i&&s++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,s)}static columnSelectUp(e,t,n,i){const r=i?e.pageSize:1,o=Math.max(1,n.toViewLineNumber-r);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,o,n.toViewVisualColumn)}static columnSelectDown(e,t,n,i){const r=i?e.pageSize:1,o=Math.min(t.getLineCount(),n.toViewLineNumber+r);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,o,n.toViewVisualColumn)}}var h=n(181),u=n(85),p=n(126),m=n(7),g=n(10),f=n(92);class b extends o.c{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n||{})}}var _,v,w,y,C;(v=_||(_={})).description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;const t=e;return!(!r.j(t.to)||!r.k(t.by)&&!r.j(t.by)||!r.k(t.value)&&!r.h(t.value)||!r.k(t.revealCursor)&&!r.f(t.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},v.RawDirection={Up:"up",Down:"down"},v.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},v.parse=function(e){let t,n;switch(e.to){case v.RawDirection.Up:t=1;break;case v.RawDirection.Down:t=2;break;default:return null}switch(e.by){case v.RawUnit.Line:n=1;break;case v.RawUnit.WrappedLine:n=2;break;case v.RawUnit.Page:n=3;break;case v.RawUnit.HalfPage:n=4;break;default:n=2}return{direction:t,unit:n,value:Math.floor(e.value||1),revealCursor:!!e.revealCursor,select:!!e.select}},(y=w||(w={})).description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed .\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;const t=e;return!(!r.h(t.lineNumber)||!r.k(t.at)&&!r.j(t.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},y.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"};class x{constructor(e){e.addImplementation(1e4,(e,t)=>{const n=e.get(s.a).getFocusedCodeEditor();return!(!n||!n.hasTextFocus())&&(this.runEditorCommand(e,n,t),!0)}),e.addImplementation(1e3,(e,t)=>{const n=document.activeElement;return!!(n&&["input","textarea"].indexOf(n.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)}),e.addImplementation(0,(e,t)=>{const n=e.get(s.a).getActiveCodeEditor();return!!n&&(n.focus(),this.runEditorCommand(e,n,t),!0)})}}!function(e){class t extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!0)}}e.MoveTo=Object(o.l)(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=Object(o.l)(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class n extends b{runCoreEditorCommand(e,t){e.model.pushStackElement();const n=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,n.viewStates.map(e=>a.d.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),n.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}e.ColumnSelect=Object(o.l)(new class extends n{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,n,i){const r=e.model.validatePosition(i.position),o=e.coordinatesConverter.validateViewPosition(new l.a(i.viewPosition.lineNumber,i.viewPosition.column),r);let s=i.doColumnSelect?n.fromViewLineNumber:o.lineNumber,a=i.doColumnSelect?n.fromViewVisualColumn:i.mouseColumn-1;return d.columnSelect(e.cursorConfig,e,s,a,o.lineNumber,i.mouseColumn-1)}}),e.CursorColumnSelectLeft=Object(o.l)(new class extends n{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return d.columnSelectLeft(e.cursorConfig,e,n)}}),e.CursorColumnSelectRight=Object(o.l)(new class extends n{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return d.columnSelectRight(e.cursorConfig,e,n)}});class r extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return d.columnSelectUp(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectUp=Object(o.l)(new r({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=Object(o.l)(new r({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3595,linux:{primary:0}}}));class s extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return d.columnSelectDown(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectDown=Object(o.l)(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=Object(o.l)(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3596,linux:{primary:0}}}));class h extends b{constructor(){super({id:"cursorMove",precondition:void 0,description:u.a.description})}runCoreEditorCommand(e,t){const n=u.a.parse(t);n&&this._runCursorMove(e,t.source,n)}_runCursorMove(e,t,n){e.model.pushStackElement(),e.setCursorStates(t,3,h._move(e,e.getCursorStates(),n)),e.revealPrimaryCursor(t,!0)}static _move(e,t,n){const i=n.select,r=n.value;switch(n.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return u.b.simpleMove(e,t,n.direction,i,r,n.unit);case 9:case 11:case 10:case 12:return u.b.viewportMove(e,t,n.direction,i,r);default:return null}}}e.CursorMoveImpl=h,e.CursorMove=Object(o.l)(new h);class p extends b{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let n=this._staticArgs;-1===this._staticArgs.value&&(n={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.simpleMove(e,e.getCursorStates(),n.direction,n.select,n.value,n.unit)),e.revealPrimaryCursor(t.source,!0)}}e.CursorLeft=Object(o.l)(new p({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=Object(o.l)(new p({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1039}})),e.CursorRight=Object(o.l)(new p({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=Object(o.l)(new p({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1041}})),e.CursorUp=Object(o.l)(new p({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=Object(o.l)(new p({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=Object(o.l)(new p({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:11}})),e.CursorPageUpSelect=Object(o.l)(new p({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1035}})),e.CursorDown=Object(o.l)(new p({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=Object(o.l)(new p({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=Object(o.l)(new p({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:12}})),e.CursorPageDownSelect=Object(o.l)(new p({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1036}})),e.CreateCursor=Object(o.l)(new class extends b{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let n;n=t.wholeLine?u.b.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):u.b.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);const i=e.getCursorStates();if(i.length>1){const r=n.modelState?n.modelState.position:null,o=n.viewState?n.viewState.position:null;for(let n=0,s=i.length;n<s;n++){const s=i[n];if((!r||s.modelState.selection.containsPosition(r))&&(!o||s.viewState.selection.containsPosition(o)))return i.splice(n,1),e.model.pushStackElement(),void e.setCursorStates(t.source,3,i)}}i.push(n),e.model.pushStackElement(),e.setCursorStates(t.source,3,i)}}),e.LastCursorMoveToSelect=Object(o.l)(new class extends b{constructor(){super({id:"_lastCursorMoveToSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),r=i.slice(0);r[n]=u.b.moveTo(e,i[n],!0,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,r)}});class g extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToBeginningOfLine(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorHome=Object(o.l)(new g({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=Object(o.l)(new g({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class f extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e){const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],r=i.modelState.position.lineNumber;t[n]=a.d.fromModelState(i.modelState.move(this._inSelectionMode,r,1,0))}return t}}e.CursorLineStart=Object(o.l)(new f({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:287}}})),e.CursorLineStartSelect=Object(o.l)(new f({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:1311}}}));class v extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToEndOfLine(e,e.getCursorStates(),this._inSelectionMode,t.sticky||!1)),e.revealPrimaryCursor(t.source,!0)}}e.CursorEnd=Object(o.l)(new v({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:m.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:i.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),e.CursorEndSelect=Object(o.l)(new v({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:m.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:i.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));class y extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const r=t[i],o=r.modelState.position.lineNumber,s=e.model.getLineMaxColumn(o);n[i]=a.d.fromModelState(r.modelState.move(this._inSelectionMode,o,s,0))}return n}}e.CursorLineEnd=Object(o.l)(new y({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:291}}})),e.CursorLineEndSelect=Object(o.l)(new y({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:1315}}}));class C extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToBeginningOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorTop=Object(o.l)(new C({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=Object(o.l)(new C({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3086,mac:{primary:3088}}}));class S extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.moveToEndOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorBottom=Object(o.l)(new S({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=Object(o.l)(new S({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:3085,mac:{primary:3090}}}));class k extends b{constructor(){super({id:"editorScroll",precondition:void 0,description:_.description})}runCoreEditorCommand(e,t){const n=_.parse(t);n&&this._runEditorScroll(e,t.source,n)}_runEditorScroll(e,t,n){const i=this._computeDesiredScrollTop(e,n);if(n.revealCursor){const r=e.getCompletelyVisibleViewRangeAtScrollTop(i);e.setCursorStates(t,3,[u.b.findPositionInViewportIfOutside(e,e.getPrimaryCursorState(),r,n.select)])}e.setScrollTop(i,0)}_computeDesiredScrollTop(e,t){if(1===t.unit){const n=e.getCompletelyVisibleViewRange(),i=e.coordinatesConverter.convertViewRangeToModelRange(n);let r;r=1===t.direction?Math.max(1,i.startLineNumber-t.value):Math.min(e.model.getLineCount(),i.startLineNumber+t.value);const o=e.coordinatesConverter.convertModelPositionToViewPosition(new l.a(r,1));return e.getVerticalOffsetForLineNumber(o.lineNumber)}let n;n=3===t.unit?e.cursorConfig.pageSize*t.value:4===t.unit?Math.round(e.cursorConfig.pageSize/2)*t.value:t.value;const i=(1===t.direction?-1:1)*n;return e.getScrollTop()+i*e.cursorConfig.lineHeight}}e.EditorScrollImpl=k,e.EditorScroll=Object(o.l)(new k),e.ScrollLineUp=Object(o.l)(new class extends b{constructor(){super({id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageUp=Object(o.l)(new class extends b{constructor(){super({id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}),e.ScrollLineDown=Object(o.l)(new class extends b{constructor(){super({id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageDown=Object(o.l)(new class extends b{constructor(){super({id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}});class E extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.word(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position)]),e.revealPrimaryCursor(t.source,!0)}}e.WordSelect=Object(o.l)(new E({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=Object(o.l)(new E({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=Object(o.l)(new class extends b{constructor(){super({id:"lastCursorWordSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),r=i.slice(0),o=i[n];r[n]=u.b.word(e,o,o.modelState.hasSelection(),t.position),e.model.pushStackElement(),e.setCursorStates(t.source,3,r)}});class T extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.line(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!1)}}e.LineSelect=Object(o.l)(new T({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(o.l)(new T({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));class L extends b{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),r=i.slice(0);r[n]=u.b.line(e,i[n],this._inSelectionMode,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,r)}}e.LastCursorLineSelect=Object(o.l)(new L({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=Object(o.l)(new L({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.ExpandLineSelection=Object(o.l)(new class extends b{constructor(){super({id:"expandLineSelection",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:2090}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,u.b.expandLineSelection(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}}),e.CancelSelection=Object(o.l)(new class extends b{constructor(){super({id:"cancelSelection",precondition:m.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[u.b.cancelSelection(e,e.getPrimaryCursorState())]),e.revealPrimaryCursor(t.source,!0)}}),e.RemoveSecondaryCursors=Object(o.l)(new class extends b{constructor(){super({id:"removeSecondaryCursors",precondition:m.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:m.a.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[e.getPrimaryCursorState()]),e.revealPrimaryCursor(t.source,!0)}}),e.RevealLine=Object(o.l)(new class extends b{constructor(){super({id:"revealLine",precondition:void 0,description:w.description})}runCoreEditorCommand(e,t){const n=t;let i=(n.lineNumber||0)+1;i<1&&(i=1);const r=e.model.getLineCount();i>r&&(i=r);const o=new c.a(i,1,i,e.model.getLineMaxColumn(i));let s=0;if(n.at)switch(n.at){case w.RawAtArgument.Top:s=3;break;case w.RawAtArgument.Center:s=1;break;case w.RawAtArgument.Bottom:s=4}const a=e.coordinatesConverter.convertModelRangeToViewRange(o);e.revealRange(t.source,!1,a,s,0)}}),e.SelectAll=new class extends x{constructor(){super(o.h)}runDOMCommand(){document.execCommand("selectAll")}runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[u.b.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=Object(o.l)(new class extends b{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[a.d.fromModelSelection(t.selection)])}})}(C||(C={}));const S=g.a.and(m.a.textInputFocus,m.a.columnSelection);function k(e,t){f.a.registerKeybindingRule({id:e,primary:t,when:S,weight:1})}function E(e){return e.register(),e}var T;k(C.CursorColumnSelectLeft.id,1039),k(C.CursorColumnSelectRight.id,1041),k(C.CursorColumnSelectUp.id,1040),k(C.CursorColumnSelectPageUp.id,1035),k(C.CursorColumnSelectDown.id,1042),k(C.CursorColumnSelectPageDown.id,1036),function(e){class t extends o.c{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditingCommand(t,i,n||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=Object(o.l)(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:m.a.writable,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,p.a.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),e.Outdent=Object(o.l)(new class extends t{constructor(){super({id:"outdent",precondition:m.a.writable,kbOpts:{weight:0,kbExpr:g.a.and(m.a.editorTextFocus,m.a.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,p.a.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.Tab=Object(o.l)(new class extends t{constructor(){super({id:"tab",precondition:m.a.writable,kbOpts:{weight:0,kbExpr:g.a.and(m.a.editorTextFocus,m.a.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,p.a.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.DeleteLeft=Object(o.l)(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,n){const[i,r]=h.a.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));i&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)}}),e.DeleteRight=Object(o.l)(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:m.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,n){const[i,r]=h.a.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));i&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)}}),e.Undo=new class extends x{constructor(){super(o.i)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,n){t.hasModel()&&!0!==t.getOption(72)&&t.getModel().undo()}},e.Redo=new class extends x{constructor(){super(o.g)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,n){t.hasModel()&&!0!==t.getOption(72)&&t.getModel().redo()}}}(T||(T={}));class L extends o.a{constructor(e,t,n){super({id:e,precondition:void 0,description:n}),this._handlerId=t}runCommand(e,t){const n=e.get(s.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)}}function N(e,t){E(new L("default:"+e,e)),E(new L(e,e,t))}N("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),N("replacePreviousChar"),N("compositionStart"),N("compositionEnd"),N("paste"),N("cut")},function(e,t,n){"use strict";n.d(t,"a",(function(){return qs})),n.d(t,"b",(function(){return $s})),n.d(t,"c",(function(){return Ks})),n.d(t,"d",(function(){return Gs})),n.d(t,"g",(function(){return Ys})),n.d(t,"h",(function(){return Zs})),n.d(t,"i",(function(){return Xs})),n.d(t,"j",(function(){return Qs})),n.d(t,"e",(function(){return Js})),n.d(t,"f",(function(){return ea})),n.d(t,"l",(function(){return ta})),n.d(t,"k",(function(){return na})),n.d(t,"m",(function(){return ia})),n.d(t,"n",(function(){return ra}));var i,r=n(26),o=n(100),s=(n(200),n(41)),a=n(1),l=n(53),c=n(178),d=n(45),h=n(51),u=n(23),p=n(27),m=n(79);!function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(i||(i={}));var g=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,i){t(n,i,e)}},b=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let _=class{constructor(e){this._commandService=e}open(e){return b(this,void 0,void 0,(function*(){if(!Object(m.c)(e,d.b.command))return!1;"string"==typeof e&&(e=u.a.parse(e));let t=[];try{t=Object(c.a)(decodeURIComponent(e.query))}catch(n){try{t=Object(c.a)(e.query)}catch(e){}}return Array.isArray(t)||(t=[t]),yield this._commandService.executeCommand(e.path,...t),!0}))}};_=g([f(0,p.b)],_);let v=class{constructor(e){this._editorService=e}open(e,t){return b(this,void 0,void 0,(function*(){"string"==typeof e&&(e=u.a.parse(e));let n=void 0;const r=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment);return r&&(n={startLineNumber:parseInt(r[1]),startColumn:r[2]?parseInt(r[2]):1},e=e.with({fragment:""})),e.scheme===d.b.file&&(e=Object(h.h)(e)),yield this._editorService.openCodeEditor({resource:e,options:{selection:n,context:(null==t?void 0:t.fromUserGesture)?i.USER:i.API}},this._editorService.getFocusedCodeEditor(),null==t?void 0:t.openToSide),!0}))}};v=g([f(0,s.a)],v);let w=class{constructor(e,t){this._openers=new l.a,this._validators=new l.a,this._resolvers=new l.a,this._externalOpener={openExternal:e=>(Object(m.c)(e,d.b.http)||Object(m.c)(e,d.b.https)?a.cb(e):window.location.href=e,Promise.resolve(!0))},this._openers.push({open:(e,t)=>b(this,void 0,void 0,(function*(){return!!((null==t?void 0:t.openExternal)||Object(m.c)(e,d.b.mailto)||Object(m.c)(e,d.b.http)||Object(m.c)(e,d.b.https))&&(yield this._doOpenExternal(e,t),!0)}))}),this._openers.push(new _(t)),this._openers.push(new v(e))}open(e,t){return b(this,void 0,void 0,(function*(){for(const t of this._validators.toArray())if(!(yield t.shouldOpen(e)))return!1;for(const n of this._openers.toArray()){if(yield n.open(e,t))return!0}return!1}))}resolveExternalUri(e,t){return b(this,void 0,void 0,(function*(){for(const n of this._resolvers.toArray()){const i=yield n.resolveExternalUri(e,t);if(i)return i}return{resolved:e,dispose:()=>{}}}))}_doOpenExternal(e,t){return b(this,void 0,void 0,(function*(){const n="string"==typeof e?u.a.parse(e):e,{resolved:i}=yield this.resolveExternalUri(n,t);return"string"==typeof e&&n.toString()===i.toString()?this._externalOpener.openExternal(e):this._externalOpener.openExternal(encodeURI(i.toString(!0)))}))}dispose(){this._validators.clear()}};w=g([f(0,s.a),f(1,p.b)],w);var y=n(193),C=n(160),x=n(143),S=n(58),k=n(12),E=n(90),T=n(96),L=n(122),N=n(20),I=n(2),D=n(94),O=n(11);class A{constructor(e,t,n,i,r){this.id=t;const o=function(e,t){if(O.b.MonacoEnvironment){if("function"==typeof O.b.MonacoEnvironment.getWorker)return O.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof O.b.MonacoEnvironment.getWorkerUrl)return new Worker(O.b.MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",n);"function"==typeof o.then?this.worker=o:this.worker=Promise.resolve(o),this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){i(e.data)},e.onmessageerror=r,"function"==typeof e.addEventListener&&e.addEventListener("error",r)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(n=>n.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class R{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let i=++R.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new A(e,i,this._label||"anonymous"+i,t,e=>{Object(D.c)(e),this._webWorkerFailedBeforeError=e,n(e)})}}R.LAST_WORKER_ID=0;var M=n(3),P=n(39),F=n(104),W=n(64),z=n(152),B=n(8),j=n(16),V=n(102),U=n(158),H=n(13),q=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},$=function(e,t){return function(n,i){t(n,i,e)}},K=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function G(e,t){let n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}let Y=class extends I.a{constructor(e,t,n){super(),this._modelService=e,this._workerManager=this._register(new X(this._modelService)),this._logService=n,this._register(k.s.register("*",{provideLinks:(e,t)=>G(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(k.d.register("*",new Z(this._workerManager,t,this._modelService)))}dispose(){super.dispose()}canComputeDiff(e,t){return G(this._modelService,e)&&G(this._modelService,t)}computeDiff(e,t,n,i){return this._workerManager.withWorker().then(r=>r.computeDiff(e,t,n,i))}computeMoreMinimalEdits(e,t){if(Object(j.o)(t)){if(!G(this._modelService,e))return Promise.resolve(t);const n=U.a.create(!0),i=this._workerManager.withWorker().then(n=>n.computeMoreMinimalEdits(e,t));return i.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),n.elapsed())),i}return Promise.resolve(void 0)}canNavigateValueSet(e){return G(this._modelService,e)}navigateValueSet(e,t,n){return this._workerManager.withWorker().then(i=>i.navigateValueSet(e,t,n))}canComputeWordRanges(e){return G(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(n=>n.computeWordRanges(e,t))}};Y=q([$(0,W.a),$(1,z.a),$(2,V.b)],Y);class Z{constructor(e,t,n){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}provideCompletionItems(e,t){return K(this,void 0,void 0,(function*(){const{wordBasedSuggestions:n}=this._configurationService.getValue(e.uri,t,"editor");if(!n)return;if(!G(this._modelService,e.uri))return;const i=e.getWordAtPosition(t),r=i?new M.a(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):M.a.fromPositions(t),o=r.setEndPosition(t.lineNumber,t.column),s=yield this._workerManager.withWorker(),a=yield s.textualSuggest(e.uri,t);return a?{suggestions:a.map(e=>({kind:18,label:e,insertText:e,range:{insert:o,replace:r}}))}:void 0}))}}class X extends I.a{constructor(e){super(),this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=(new Date).getTime(),this._register(new N.c).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;(new Date).getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new te(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class Q extends I.a{constructor(e,t,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){let e=new N.c;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)Object(I.f)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e){for(const t of e){let e=t.toString();this._syncedModels[e]||this._beginModelSync(t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=(new Date).getTime())}}_checkStopModelSync(){let e=(new Date).getTime(),t=[];for(let n in this._syncedModelsLastUsedTime){e-this._syncedModelsLastUsedTime[n]>6e4&&t.push(n)}for(const e of t)this._stopModelSync(e)}_beginModelSync(e){let t=this._modelService.getModel(e);if(!t)return;if(t.isTooLargeForSyncing())return;let n=e.toString();this._proxy.acceptNewModel({url:t.uri.toString(),lines:t.getLinesContent(),EOL:t.getEOL(),versionId:t.getVersionId()});const i=new I.b;i.add(t.onDidChangeContent(e=>{this._proxy.acceptModelChanged(n.toString(),e)})),i.add(t.onWillDispose(()=>{this._stopModelSync(n)})),i.add(Object(I.h)(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=i}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(I.f)(t)}}class J{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class ee{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class te extends I.a{constructor(e,t,n){super(),this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new R(n),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new D.a(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new ee(this)))}catch(e){Object(D.c)(e),this._worker=new J(new F.a(new ee(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(Object(D.c)(e),this._worker=new J(new F.a(new ee(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new Q(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e){return this._disposed?Promise.reject(Object(H.a)()):this._getProxy().then(t=>(this._getOrCreateModelManager(t).ensureSyncedResources(e),t))}computeDiff(e,t,n,i){return this._withSyncedResources([e,t]).then(r=>r.computeDiff(e.toString(),t.toString(),n,i))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}textualSuggest(e,t){return this._withSyncedResources([e]).then(n=>{let i=this._modelService.getModel(e);if(!i)return null;let r=P.a.getWordDefinition(i.getLanguageIdentifier().id),o=r.source,s=Object(B.O)(r);return n.textualSuggest(e.toString(),t,o,s)})}computeWordRanges(e,t){return this._withSyncedResources([e]).then(n=>{let i=this._modelService.getModel(e);if(!i)return Promise.resolve(null);let r=P.a.getWordDefinition(i.getLanguageIdentifier().id),o=r.source,s=Object(B.O)(r);return n.computeWordRanges(e.toString(),t,o,s)})}navigateValueSet(e,t,n){return this._withSyncedResources([e]).then(i=>{let r=this._modelService.getModel(e);if(!r)return null;let o=P.a.getWordDefinition(r.getLanguageIdentifier().id),s=o.source,a=Object(B.O)(o);return i.navigateValueSet(e.toString(),t,n,s,a)})}dispose(){super.dispose(),this._disposed=!0}}var ne=n(14);class ie extends te{constructor(e,t){super(e,t.keepIdleModels||!1,t.label),this._foreignModuleId=t.moduleId,this._foreignModuleCreateData=t.createData||null,this._foreignModuleHost=t.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const t=this._foreignModuleHost?ne.d(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;const n=(t,n)=>e.fmr(t,n),i=(e,t)=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const e of t)r[e]=i(e,n);return r})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var re=n(40),oe=n(111),se=n(91),ae=n(74),le=n(77);function ce(e){return!function(e){return Array.isArray(e)}(e)}function de(e){return"string"==typeof e}function he(e){return!de(e)}function ue(e){return!e}function pe(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function me(e){return e.replace(/[&<>'"_]/g,"-")}function ge(e,t){return new Error(`${e.languageId}: ${t}`)}function fe(e,t,n,i,r){let o=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,s,a,l,c,d,h,u,p){return ue(a)?ue(l)?!ue(c)&&c<i.length?pe(e,i[c]):!ue(h)&&e&&"string"==typeof e[h]?e[h]:(null===o&&(o=r.split("."),o.unshift(r)),!ue(d)&&d<o.length?pe(e,o[d]):""):pe(e,n):"$"}))}function be(e,t){let n=t;for(;n&&n.length>0;){const t=e.tokenizer[n];if(t)return t;const i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return null}class _e{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new ve(e,t);let n=ve.getStackElementId(e);n.length>0&&(n+="|"),n+=t;let i=this._entries[n];return i||(i=new ve(e,t),this._entries[n]=i,i)}}_e._INSTANCE=new _e(5);class ve{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return ve._equals(this,e)}push(e){return _e.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return _e.create(this.parent,e)}}class we{constructor(e,t){this.modeId=e,this.state=t}equals(e){return this.modeId===e.modeId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new we(this.modeId,this.state)}}class ye{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==t)return new Ce(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Ce(e,t);let n=ve.getStackElementId(e),i=this._entries[n];return i||(i=new Ce(e,null),this._entries[n]=i,i)}}ye._INSTANCE=new ye(5);class Ce{constructor(e,t){this.stack=e,this.embeddedModeData=t}clone(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:ye.create(this.stack,this.embeddedModeData)}equals(e){return e instanceof Ce&&(!!this.stack.equals(e.stack)&&(null===this.embeddedModeData&&null===e.embeddedModeData||null!==this.embeddedModeData&&null!==e.embeddedModeData&&this.embeddedModeData.equals(e.embeddedModeData)))}}class xe{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(e,t){this._language=t}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new le.a(e,t,this._language)))}nestedModeTokenize(e,t,n){const i=t.modeId,r=t.state,o=k.C.get(i);if(!o)return this.enterMode(n,i),this.emit(n,""),r;let s=o.tokenize(e,r,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState}finalize(e){return new le.b(this._tokens,e)}}class Se{constructor(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id}emit(e,t){let n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,t,n){let i=null!==e?e.length:0,r=t.length,o=null!==n?n.length:0;if(0===i&&0===r&&0===o)return new Uint32Array(0);if(0===i&&0===r)return n;if(0===r&&0===o)return e;let s=new Uint32Array(i+r+o);null!==e&&s.set(e);for(let e=0;e<r;e++)s[i+e]=t[e];return null!==n&&s.set(n,i+r),s}nestedModeTokenize(e,t,n){const i=t.modeId,r=t.state,o=k.C.get(i);if(!o)return this.enterMode(n,i),this.emit(n,""),r;let s=o.tokenize2(e,r,n);return this._prependTokens=Se._merge(this._prependTokens,this._tokens,s.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,s.endState}finalize(e){return new le.c(Se._merge(this._prependTokens,this._tokens,null),e)}}class ke{constructor(e,t,n,i){this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=i,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let r=!1;this._tokenizationRegistryListener=k.C.onDidChange(e=>{if(r)return;let t=!1;for(let n=0,i=e.changedLanguages.length;n<i;n++){let i=e.changedLanguages[n];if(this._embeddedModes[i]){t=!0;break}}t&&(r=!0,k.C.fire([this._modeId]),r=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let e=[];for(let t in this._embeddedModes){const n=k.C.get(t);if(n){if(n instanceof ke){const t=n.getLoadStatus();!1===t.loaded&&e.push(t.promise)}continue}const i=k.C.getPromise(t);i&&e.push(i)}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>{})}}getInitialState(){let e=_e.create(null,this._lexer.start);return ye.create(e,null)}tokenize(e,t,n){let i=new xe,r=this._tokenize(e,t,n,i);return i.finalize(r)}tokenize2(e,t,n){let i=new Se(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme),r=this._tokenize(e,t,n,i);return i.finalize(r)}_tokenize(e,t,n,i){return t.embeddedModeData?this._nestedTokenize(e,t,n,i):this._myTokenize(e,t,n,i)}_findLeavingNestedModeOffset(e,t){let n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=be(this._lexer,t.stack.state),!n))throw ge(this._lexer,"tokenizer state is not defined: "+t.stack.state);let i=-1,r=!1;for(const t of n){if(!he(t.action)||"@pop"!==t.action.nextEmbedded)continue;r=!0;let n=t.regex,o=t.regex.source;if("^(?:"===o.substr(0,4)&&")"===o.substr(o.length-1,1)){let e=(n.ignoreCase?"i":"")+(n.unicode?"u":"");n=new RegExp(o.substr(4,o.length-5),e)}let s=e.search(n);-1===s||0!==s&&t.matchOnlyAtLineStart||(-1===i||s<i)&&(i=s)}if(!r)throw ge(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return i}_nestedTokenize(e,t,n,i){let r=this._findLeavingNestedModeOffset(e,t);if(-1===r){let r=i.nestedModeTokenize(e,t.embeddedModeData,n);return ye.create(t.stack,new we(t.embeddedModeData.modeId,r))}let o=e.substring(0,r);o.length>0&&i.nestedModeTokenize(o,t.embeddedModeData,n);let s=e.substring(r);return this._myTokenize(s,t,n+r,i)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,n,i){i.enterMode(n,this._modeId);const r=e.length;let o=t.embeddedModeData,s=t.stack,a=0,l=null,c=!0;for(;c||a<r;){const t=a,u=s.depth,p=l?l.groups.length:0,m=s.state;let g=null,f=null,b=null,_=null,v=null;if(l){g=l.matches;const e=l.groups.shift();f=e.matched,b=e.action,_=l.rule,0===l.groups.length&&(l=null)}else{if(!c&&a>=r)break;c=!1;let t=this._lexer.tokenizer[m];if(!t&&(t=be(this._lexer,m),!t))throw ge(this._lexer,"tokenizer state is not defined: "+m);let n=e.substr(a);for(const e of t)if((0===a||!e.matchOnlyAtLineStart)&&(g=n.match(e.regex),g)){f=g[0],b=e.action;break}}if(g||(g=[""],f=""),b||(a<r&&(g=[e.charAt(a)],f=g[0]),b=this._lexer.defaultToken),null===f)break;for(a+=f.length;ce(b)&&he(b)&&b.test;)b=b.test(f,g,m,a===r);let w=null;if("string"==typeof b||Array.isArray(b))w=b;else if(b.group)w=b.group;else if(null!==b.token&&void 0!==b.token){if(w=b.tokenSubst?fe(this._lexer,b.token,f,g,m):b.token,b.nextEmbedded)if("@pop"===b.nextEmbedded){if(!o)throw ge(this._lexer,"cannot pop embedded mode if not inside one");o=null}else{if(o)throw ge(this._lexer,"cannot enter embedded mode from within an embedded mode");v=fe(this._lexer,b.nextEmbedded,f,g,m)}if(b.goBack&&(a=Math.max(0,a-b.goBack)),b.switchTo&&"string"==typeof b.switchTo){let e=fe(this._lexer,b.switchTo,f,g,m);if("@"===e[0]&&(e=e.substr(1)),!be(this._lexer,e))throw ge(this._lexer,"trying to switch to a state '"+e+"' that is undefined in rule: "+this._safeRuleName(_));s=s.switchTo(e)}else{if(b.transform&&"function"==typeof b.transform)throw ge(this._lexer,"action.transform not supported");if(b.next)if("@push"===b.next){if(s.depth>=this._lexer.maxStack)throw ge(this._lexer,"maximum tokenizer stack size reached: ["+s.state+","+s.parent.state+",...]");s=s.push(m)}else if("@pop"===b.next){if(s.depth<=1)throw ge(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(_));s=s.pop()}else if("@popall"===b.next)s=s.popall();else{let e=fe(this._lexer,b.next,f,g,m);if("@"===e[0]&&(e=e.substr(1)),!be(this._lexer,e))throw ge(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(_));s=s.push(e)}}b.log&&"string"==typeof b.log&&(d=this._lexer,h=this._lexer.languageId+": "+fe(this._lexer,b.log,f,g,m),console.log(`${d.languageId}: ${h}`))}if(null===w)throw ge(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(_));const y=t=>{let o=this._modeService.getModeIdForLanguageName(t);o&&(t=o);const l=this._getNestedEmbeddedModeData(t);if(a<r){const t=e.substr(a);return this._nestedTokenize(t,ye.create(s,l),n+a,i)}return ye.create(s,l)};if(Array.isArray(w)){if(l&&l.groups.length>0)throw ge(this._lexer,"groups cannot be nested: "+this._safeRuleName(_));if(g.length!==w.length+1)throw ge(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(_));let e=0;for(let t=1;t<g.length;t++)e+=g[t].length;if(e!==f.length)throw ge(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(_));l={rule:_,matches:g,groups:[]};for(let e=0;e<w.length;e++)l.groups[e]={action:w[e],matched:g[e+1]};a-=f.length}else{{if("@rematch"===w&&(a-=f.length,f="",g=null,w="",null!==v))return y(v);if(0===f.length){if(0===r||u!==s.depth||m!==s.state||(l?l.groups.length:0)!==p)continue;throw ge(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(_))}let e=null;if(de(w)&&0===w.indexOf("@brackets")){let t=w.substr("@brackets".length),n=Ee(this._lexer,f);if(!n)throw ge(this._lexer,"@brackets token returned but no bracket defined as: "+f);e=me(n.token+t)}else{e=me(""===w?"":w+this._lexer.tokenPostfix)}i.emit(t+n,e)}if(null!==v)return y(v)}}var d,h;return ye.create(s,o)}_getNestedEmbeddedModeData(e){let t=this._locateMode(e);if(t){let e=k.C.get(t);if(e)return new we(t,e.getInitialState())}return new we(t||E.b,E.c)}_locateMode(e){if(!e||!this._modeService.isRegisteredMode(e))return null;if(e===this._modeId)return e;let t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t}}function Ee(e,t){if(!t)return null;t=pe(e,t);let n=e.brackets;for(const e of n){if(e.open===t)return{token:e.token,bracketType:1};if(e.close===t)return{token:e.token,bracketType:-1}}return null}class Te{static colorizeElement(e,t,n,i){let r=(i=i||{}).theme||"vs",o=i.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();e.setTheme(r);let s=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+r;return this.colorize(t,s||"",o,i).then(e=>{n.innerHTML=e},e=>console.error(e))}static colorize(e,t,n,i){let r=4;i&&"number"==typeof i.tabSize&&(r=i.tabSize),B.U(t)&&(t=t.substr(1));let o=t.split(/\r\n|\r|\n/),s=e.getModeId(n);if(!s)return Promise.resolve(Ne(o,r));e.triggerMode(s);const a=k.C.get(s);if(a)return Le(o,r,a);const l=k.C.getPromise(s);return new Promise(l?(e,t)=>{l.then(n=>{Le(o,r,n).then(e,t)},t)}:(e,t)=>{let n=null,i=null;const a=()=>{n&&(n.dispose(),n=null),i&&(i.dispose(),i=null);const a=k.C.get(s);a?Le(o,r,a).then(e,t):e(Ne(o,r))};i=new N.e,i.cancelAndSet(a,500),n=k.C.onDidChange(e=>{e.changedLanguages.indexOf(s)>=0&&a()})})}static colorizeLine(e,t,n,i,r=4){const o=ae.d.isBasicASCII(e,t),s=ae.d.containsRTL(e,o,n);return Object(se.e)(new se.c(!1,!0,e,!1,o,s,0,i,[],r,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,n=4){let i=e.getLineContent(t);e.forceTokenization(t);let r=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),r,n)}}function Le(e,t,n){return new Promise((i,r)=>{const o=()=>{const s=function(e,t,n){let i=[],r=n.getInitialState();for(let o=0,s=e.length;o<s;o++){let s=e[o],a=n.tokenize2(s,r,0);oe.a.convertToEndOffset(a.tokens,s.length);let l=new oe.a(a.tokens,s);const c=ae.d.isBasicASCII(s,!0),d=ae.d.containsRTL(s,c,!0);let h=Object(se.e)(new se.c(!1,!0,s,!1,c,d,0,l.inflate(),[],t,0,0,0,0,-1,"none",!1,!1,null));i=i.concat(h.html),i.push("<br/>"),r=a.endState}return i.join("")}(e,t,n);if(n instanceof ke){const e=n.getLoadStatus();if(!1===e.loaded)return void e.promise.then(o,r)}i(s)};o()})}function Ne(e,t){let n=[];const i=new Uint32Array(2);i[0]=0,i[1]=16793600;for(let r=0,o=e.length;r<o;r++){let o=e[r];i[0]=o.length;const s=new oe.a(i,o),a=ae.d.isBasicASCII(o,!0),l=ae.d.containsRTL(o,a,!0);let c=Object(se.e)(new se.c(!1,!0,o,!1,a,l,0,s,[],t,0,0,0,0,-1,"none",!1,!1,null));n=n.concat(c.html),n.push("<br/>")}return n.join("")}var Ie=n(67),De=n(6),Oe=n(43),Ae=n(68),Re=n(112),Me=n(148),Pe=n(161),Fe=n(70),We=n(9),ze=n(54),Be=n(78),je=n(46),Ve=n(128);class Ue{constructor(e={},t=[],n=[]){this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?Object(ze.d)(this.contents,e):this.contents}override(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let n={};for(const e of j.e([...Object.keys(this.contents),...Object.keys(t)])){let i=this.contents[e],r=t[e];r&&("object"==typeof i&&"object"==typeof r?(i=je.c(i),this.mergeContents(i,r)):i=r),n[e]=i}return new Ue(n,this.keys,this.overrides)}merge(...e){const t=je.c(this.contents),n=je.c(this.overrides),i=[...this.keys];for(const r of e){this.mergeContents(t,r.contents);for(const e of r.overrides){const[t]=n.filter(t=>j.g(t.identifiers,e.identifiers));t?this.mergeContents(t.contents,e.contents):n.push(je.c(e))}for(const e of r.keys)-1===i.indexOf(e)&&i.push(e)}return new Ue(t,i,n)}freeze(){return this.isFrozen=!0,this}mergeContents(e,t){for(const n of Object.keys(t))n in e&&ne.i(e[n])&&ne.i(t[n])?this.mergeContents(e[n],t[n]):e[n]=je.c(t[n])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?je.d(e):e}getContentsForOverrideIdentifer(e){for(const t of this.overrides)if(-1!==t.identifiers.indexOf(e))return t.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),Object(ze.b)(this.contents,e,t,e=>{throw new Error(e)})}removeValue(e){this.removeKey(e)&&Object(ze.f)(this.contents,e)}addKey(e){let t=this.keys.length;for(let n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)}removeKey(e){let t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)}}class He extends Ue{constructor(){const e=Object(ze.e)(),t=Object(ze.c)(),n=[];for(const t of Object.keys(e))Ve.b.test(t)&&n.push({identifiers:[Object(Ve.c)(t).trim()],keys:Object.keys(e[t]),contents:Object(ze.g)(e[t],e=>console.error("Conflict in default settings file: "+e))});super(e,t,n)}}class qe{constructor(e,t,n=new Ue,i=new Ue,r=new Be.b,o=new Ue,s=new Be.b,a=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=r,this._memoryConfiguration=o,this._memoryConfigurationByResource=s,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Be.b,this._userConfiguration=null}getValue(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)}updateValue(e,t,n={}){let i;n.resource?(i=this._memoryConfigurationByResource.get(n.resource),i||(i=new Ue,this._memoryConfigurationByResource.set(n.resource,i))):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(e,t){let n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n}getConsolidatedConfigurationModelForResource({resource:e},t){let n=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const i=t.getFolder(e);i&&(n=this.getFolderConsolidatedConfiguration(i.uri)||n);const r=this._memoryConfigurationByResource.get(e);r&&(n=n.merge(r))}return n}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{const{contents:n,overrides:i,keys:r}=this._folderConfigurations.get(t);return e.push([t,{contents:n,overrides:i,keys:r}]),e},[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),n=this.parseConfigurationModel(e.user),i=this.parseConfigurationModel(e.workspace),r=e.folders.reduce((e,t)=>(e.set(u.a.revive(t[0]),this.parseConfigurationModel(t[1])),e),new Be.b);return new qe(t,n,new Ue,i,r,new Ue,new Be.b,!1)}static parseConfigurationModel(e){return new Ue(e.contents,e.keys,e.overrides).freeze()}}class $e{constructor(e,t,n,i){this.change=e,this.previous=t,this.currentConfiguraiton=n,this.currentWorkspace=i,this._previousConfiguration=void 0;const r=new Set;e.keys.forEach(e=>r.add(e)),e.overrides.forEach(([,e])=>e.forEach(e=>r.add(e))),this.affectedKeys=[...r.values()];const o=new Ue;this.affectedKeys.forEach(e=>o.setValue(e,{})),this.affectedKeysTree=o.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=qe.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var n;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)){if(t){const i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(n=this.previous)||void 0===n?void 0:n.workspace):void 0,r=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!je.e(i,r)}return!0}return!1}doesAffectedKeysTreeContains(e,t){let n,i=Object(ze.g)({[t]:!0},()=>{});for(;"object"==typeof i&&(n=Object.keys(i)[0]);){if(!(e=e[n]))return!1;i=i[n]}return!0}}var Ke=n(0);class Ge extends I.a{constructor(e,t,n,i,r){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=n,this._notificationService=i,this._logService=r,this._onDidUpdateKeybindings=this._register(new De.a),this._currentChord=null,this._currentChordChecker=new N.c,this._currentChordStatusMessage=null,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:De.b.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info("[KeybindingService]: "+e)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybindings(e){return j.d(this._getResolver().lookupKeybindings(e).map(e=>e.resolvedKeybinding))}lookupKeybinding(e){const t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;const[i]=n.getDispatchParts();if(null===i)return null;const r=this._contextKeyService.getContext(t),o=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(r,o,i)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Ke.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{this._documentHasFocus()?Date.now()-n>5e3&&this._leaveChordMode():this._leaveChordMode()},500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)}_doDispatch(e,t){let n=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;const[i]=e.getDispatchParts();if(null===i)return this._log("\\ Keyboard event cannot be dispatched."),n;const r=this._contextKeyService.getContext(t),o=this._currentChord?this._currentChord.keypress:null,s=e.getLabel(),a=this._getResolver().resolve(r,o,i);return this._logService.trace("KeybindingService#dispatch",s,null==a?void 0:a.commandId),a&&a.enterChord?(n=!0,this._enterChordMode(i,s),n):(this._currentChord&&(a&&a.commandId||(this._notificationService.status(Ke.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,s),{hideAfter:1e4}),n=!0)),this._leaveChordMode(),a&&a.commandId&&(a.bubble||(n=!0),void 0===a.commandArgs?this._commandService.executeCommand(a.commandId).then(void 0,e=>this._notificationService.warn(e)):this._commandService.executeCommand(a.commandId,a.commandArgs).then(void 0,e=>this._notificationService.warn(e)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:a.commandId,from:"keybinding"})),n)}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class Ye{constructor(e,t,n){this._log=n,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(let t=0,n=e.length;t<n;t++){const n=e[t].command;n&&this._defaultBoundCommands.set(n,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=Ye.combine(e,t);for(let e=0,t=this._keybindings.length;e<t;e++){let t=this._keybindings[e];0!==t.keypressParts.length&&(t.when&&0===t.when.type||this._addKeyPress(t.keypressParts[0],t))}}static _isTargetedForRemoval(e,t,n,i,r){if(e.command!==i)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(r){if(!e.when)return!1;if(!r.equals(e.when))return!1}return!0}static combine(e,t){e=e.slice(0);let n=[];for(const i of t){if(!i.command||0===i.command.length||"-"!==i.command.charAt(0)){n.push(i);continue}const t=i.command.substr(1),r=i.keypressParts[0],o=i.keypressParts[1],s=i.when;for(let n=e.length-1;n>=0;n--)this._isTargetedForRemoval(e[n],r,o,t,s)&&e.splice(n,1)}return e.concat(n)}_addKeyPress(e,t){const n=this._map.get(e);if(void 0===n)return this._map.set(e,[t]),void this._addToLookupMap(t);for(let e=n.length-1;e>=0;e--){let i=n[e];if(i.command===t.command)continue;const r=i.keypressParts.length>1,o=t.keypressParts.length>1;r&&o&&i.keypressParts[1]!==t.keypressParts[1]||Ye.whenIsEntirelyIncluded(i.when,t.when)&&this._removeFromLookupMap(i)}n.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);if(void 0!==t)for(let n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}static whenIsEntirelyIncluded(e,t){return!t||!!e&&this._implies(e,t)}static _implies(e,t){const n=e=>9===e.type?e.expr:[e];let i=n(e.negate()).concat(n(t));for(let e=0;e<i.length;e++){const t=i[e].negate();for(let n=e+1;n<i.length;n++){const e=i[n];if(t.equals(e))return!0}}return!1}getKeybindings(){return this._keybindings}lookupKeybindings(e){let t=this._lookupMap.get(e);if(void 0===t||0===t.length)return[];let n=[],i=0;for(let e=t.length-1;e>=0;e--)n[i++]=t[e];return n}lookupPrimaryKeybinding(e){let t=this._lookupMap.get(e);return void 0===t||0===t.length?null:t[t.length-1]}resolve(e,t,n){this._log(`| Resolving ${n}${t?" chorded from "+t:""}`);let i=null;if(null!==t){const e=this._map.get(t);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=[];for(let t=0,r=e.length;t<r;t++){let r=e[t];r.keypressParts[1]===n&&i.push(r)}}else{const e=this._map.get(n);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=e}let r=this._findCommand(e,i);return r?null===t&&r.keypressParts.length>1&&null!==r.keypressParts[1]?(this._log(`\\ From ${i.length} keybinding entries, matched chord, when: ${Ze(r.when)}, source: ${Xe(r)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${i.length} keybinding entries, matched ${r.command}, when: ${Ze(r.when)}, source: ${Xe(r)}.`),{enterChord:!1,leaveChord:r.keypressParts.length>1,commandId:r.command,commandArgs:r.commandArgs,bubble:r.bubble}):(this._log(`\\ From ${i.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let n=t.length-1;n>=0;n--){let i=t[n];if(Ye.contextMatchesRules(e,i.when))return i}return null}static contextMatchesRules(e,t){return!t||t.evaluate(e)}}function Ze(e){return e?""+e.serialize():"no when condition"}function Xe(e){return e.isDefault?e.extensionId?"built-in extension "+e.extensionId:"built-in":e.extensionId?"user extension "+e.extensionId:"user"}var Qe=n(92);class Je{constructor(e,t,n,i,r,o){this.resolvedKeybinding=e,this.keypressParts=e?function(e){let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i)return t;t.push(i)}return t}(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=r,this.extensionId=o}}class et{constructor(e,t,n=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}toLabel(e,t,n){if(0===t.length)return null;const i=[];for(let r=0,o=t.length;r<o;r++){const o=t[r],s=n(o);if(null===s)return null;i[r]=it(o,s,this.modifierLabels[e])}return i.join(" ")}}const tt=new et({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:Ke.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Ke.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Ke.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Ke.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),nt=new et({ctrlKey:Ke.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Ke.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:Ke.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Ke.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Ke.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Ke.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Ke.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Ke.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function it(e,t,n){if(null===t)return"";const i=[];return e.ctrlKey&&i.push(n.ctrlKey),e.shiftKey&&i.push(n.shiftKey),e.altKey&&i.push(n.altKey),e.metaKey&&i.push(n.metaKey),""!==t&&i.push(t),i.join(n.separator)}class rt extends Oe.c{constructor(e,t){if(super(),0===t.length)throw Object(H.b)("parts");this._os=e,this._parts=t}getLabel(){return tt.toLabel(this._os,this._parts,e=>this._getLabel(e))}getAriaLabel(){return nt.toLabel(this._os,this._parts,e=>this._getAriaLabel(e))}isChord(){return this._parts.length>1}getParts(){return this._parts.map(e=>this._getPart(e))}_getPart(e){return new Oe.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map(e=>this._getDispatchPart(e))}}class ot extends rt{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return Oe.b.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":Oe.b.toString(e.keyCode)}_getDispatchPart(e){return ot.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=Oe.b.toString(e.keyCode),t}}var st=n(49),at=n(169),lt=n(55),ct=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},dt=function(e,t){return function(n,i){t(n,i,e)}},ht=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class ut{constructor(e){this.disposed=!1,this.model=e,this._onDispose=new De.a}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onDispose.fire()}}let pt=class{constructor(e){this.modelService=e}setEditor(e){this.editor=e}createModelReference(e){let t=null;var n,i,r;return this.editor&&(n=this.editor,i=t=>this.findModel(t,e),r=t=>this.findModel(t.getOriginalEditor(),e)||this.findModel(t.getModifiedEditor(),e),t=Object(Re.b)(n)?i(n):r(n)),t?Promise.resolve(new I.c(new ut(t))):Promise.reject(new Error("Model not found"))}findModel(e,t){let n=this.modelService.getModel(t);return n&&n.uri.toString()!==t.toString()?null:n}};pt=ct([dt(0,W.a)],pt);class mt{show(){return mt.NULL_PROGRESS_RUNNER}showWhile(e,t){return Promise.resolve(void 0)}}mt.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class gt{confirm(e){return this.doConfirm(e).then(e=>({confirmed:e,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,i){return Promise.resolve({choice:0})}}class ft{info(e){return this.notify({severity:Ae.a.Info,message:e})}warn(e){return this.notify({severity:Ae.a.Warning,message:e})}error(e){return this.notify({severity:Ae.a.Error,message:e})}notify(e){switch(e.severity){case Ae.a.Error:console.error(e.message);break;case Ae.a.Warning:console.warn(e.message);break;default:console.log(e.message)}return ft.NO_OP}status(e,t){return I.a.None}}ft.NO_OP=new st.b;class bt{constructor(e){this._onWillExecuteCommand=new De.a,this._onDidExecuteCommand=new De.a,this._instantiationService=e}executeCommand(e,...t){const n=p.a.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const i=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(i)}catch(e){return Promise.reject(e)}}}class _t extends Ge{constructor(e,t,n,i,r,o){super(e,t,n,i,r),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(a.i(o,a.c.KEY_DOWN,e=>{let t=new Ie.a(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))}addDynamicKeybinding(e,t,n,i){const r=Object(Oe.f)(t,O.a),o=new I.b;return r&&(this._dynamicKeybindings.push({keybinding:r,command:e,when:i,weight1:1e3,weight2:0,extensionId:null}),o.add(Object(I.h)(()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){if(this._dynamicKeybindings[t].command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver({source:1})}}))),o.add(p.a.registerCommand(e,n)),this.updateResolver({source:1}),o}updateResolver(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(Qe.a.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new Ye(e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){let n=[],i=0;for(const r of e){const e=r.when||void 0,o=r.keybinding;if(o){const s=this.resolveKeybinding(o);for(const o of s)n[i++]=new Je(o,r.command,r.commandArgs,e,t,null)}else n[i++]=new Je(void 0,r.command,r.commandArgs,e,t,null)}return n}resolveKeybinding(e){return[new ot(e,O.a)]}resolveKeyboardEvent(e){let t=new Oe.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new ot(t,O.a)}}function vt(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof u.a)}class wt{constructor(){this._onDidChangeConfiguration=new De.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new qe(new He,new Ue)}getValue(e,t){const n="string"==typeof e?e:void 0,i=vt(e)?e:vt(t)?t:{};return this._configuration.getValue(n,i,void 0)}updateValues(e){const t={data:this._configuration.toData()};let n=[];for(const t of e){const[e,i]=t;this.getValue(e)!==i&&(this._configuration.updateValue(e,i),n.push(e))}if(n.length>0){const e=new $e({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}}class yt{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new De.a,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})})}getValue(e,t,n){const i=(We.a.isIPosition(t)?t:null)?"string"==typeof n?n:void 0:"string"==typeof t?t:void 0;return void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)}}let Ct=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"auto"!==n?n:O.d||O.f?"\n":"\r\n"}};Ct=ct([dt(0,ze.a)],Ct);class xt{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class St{constructor(){const e=u.a.from({scheme:St.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new at.b({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===St.SCHEME?this.workspace.folders[0]:null}}function kt(e,t,n){if(!t)return;if(!(e instanceof wt))return;let i=[];Object.keys(t).forEach(e=>{Object(Pe.d)(e)&&i.push(["editor."+e,t[e]]),n&&Object(Pe.c)(e)&&i.push(["diffEditor."+e,t[e]])}),i.length>0&&e.updateValues(i)}St.SCHEME="inmemory";class Et{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return ht(this,void 0,void 0,(function*(){const t=new Map;for(let n of e){if(!(n instanceof Me.c))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(n.resource);if(!e)throw new Error("bad edit - model not found");if("number"==typeof n.versionId&&e.getVersionId()!==n.versionId)throw new Error("bad state - model changed in the meantime");let i=t.get(e);i||(i=[],t.set(e,i)),i.push(Fe.a.replaceMove(M.a.lift(n.textEdit.range),n.textEdit.text))}let n=0,i=0;for(const[e,r]of t)e.pushStackElement(),e.pushEditOperations([],r,()=>[]),e.pushStackElement(),i+=1,n+=r.length;return{ariaSummary:B.x(lt.g.bulkEditServiceSummary,n,i)}}))}}class Tt{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}class Lt{constructor(e,t){this._codeEditorService=e,this._container=t,this.onLayout=De.b.None}get dimension(){return this._dimension||(this._dimension=a.y(window.document.body)),this._dimension}get container(){return this._container}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}}var Nt=n(66),It=n(164),Dt=n(194),Ot=n(191),At=n(139),Rt=n(24),Mt=n(10),Pt=n(84),Ft=n(18),Wt=n(50),zt=n(19),Bt=n(80),jt=n(121),Vt=n(83),Ut=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ht=function(e,t){return function(n,i){t(n,i,e)}};let qt=0,$t=!1;let Kt=class extends It.a{constructor(e,t,n,i,r,o,s,a,l,c){(t=t||{}).ariaLabel=t.ariaLabel||lt.h.editorViewAccessibleLabel,t.ariaLabel=t.ariaLabel+";"+lt.h.accessibilityHelpMessage,super(e,t,{},n,i,r,o,a,l,c),this._standaloneKeybindingService=s instanceof _t?s:null,$t||($t=!0,Nt.b(document.body))}addCommand(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;let i="DYNAMIC_"+ ++qt,r=Mt.a.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,r),i}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),I.a.None;const t=e.id,n=e.label,i=Mt.a.and(Mt.a.equals("editorId",this.getId()),Mt.a.deserialize(e.precondition)),r=e.keybindings,o=Mt.a.and(i,Mt.a.deserialize(e.keybindingContext)),s=e.contextMenuGroupId||null,a=e.contextMenuOrder||0,l=(t,...n)=>Promise.resolve(e.run(this,...n)),c=new I.b,d=this.getId()+":"+t;if(c.add(p.a.registerCommand(d,l)),s){let e={command:{id:d,title:n},when:i,group:s,order:a};c.add(Rt.d.appendMenuItem(Rt.b.EditorContext,e))}if(Array.isArray(r))for(const e of r)c.add(this._standaloneKeybindingService.addDynamicKeybinding(d,e,l,o));let h=new Ot.a(d,n,n,i,l,this._contextKeyService);return this._actions[t]=h,c.add(Object(I.h)(()=>{delete this._actions[t]})),c}};Kt=Ut([Ht(2,Ft.a),Ht(3,s.a),Ht(4,p.b),Ht(5,Mt.b),Ht(6,Wt.a),Ht(7,zt.c),Ht(8,st.a),Ht(9,Bt.b)],Kt);let Gt=class extends Kt{constructor(e,t,n,i,r,o,s,a,l,c,d,h,u){kt(h,t,!1);const p=c.registerEditorContainer(e);"string"==typeof(t=t||{}).theme&&c.setTheme(t.theme);let m,g=t.model;if(delete t.model,super(e,t,i,r,o,s,a,c,d,u),this._contextViewService=l,this._configurationService=h,this._standaloneThemeService=c,this._register(n),this._register(p),void 0===g?(m=self.monaco.editor.createModel(t.value||"",t.language||"text/plain"),this._ownsModel=!0):(m=g,this._ownsModel=!1),this._attachModel(m),m){let e={oldModelUrl:null,newModelUrl:m.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){kt(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),super.updateOptions(e)}_attachModel(e){super._attachModel(e),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};Gt=Ut([Ht(3,Ft.a),Ht(4,s.a),Ht(5,p.b),Ht(6,Mt.b),Ht(7,Wt.a),Ht(8,Pt.b),Ht(9,At.a),Ht(10,st.a),Ht(11,ze.a),Ht(12,Bt.b)],Gt);let Yt=class extends Dt.a{constructor(e,t,n,i,r,o,s,a,l,c,d,h,u,p,m){kt(h,t,!0);const g=c.registerEditorContainer(e);"string"==typeof(t=t||{}).theme&&(t.theme=c.setTheme(t.theme)),super(e,t,m,a,r,i,l,c,d,u,p),this._contextViewService=s,this._configurationService=h,this._standaloneThemeService=c,this._register(n),this._register(g),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(e){kt(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),super.updateOptions(e)}_createInnerEditor(e,t,n){return e.createInstance(Kt,t,n)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};Yt=Ut([Ht(3,Ft.a),Ht(4,Mt.b),Ht(5,Wt.a),Ht(6,Pt.b),Ht(7,T.a),Ht(8,s.a),Ht(9,At.a),Ht(10,st.a),Ht(11,ze.a),Ht(12,Pt.a),Ht(13,Vt.a),Ht(14,jt.a)],Yt);var Zt=n(109);class Xt{constructor(e){this._languageIdentifier=e}getId(){return this._languageIdentifier.language}}var Qt=n(42),Jt=n(187);let en=[],tn=[],nn=[];function rn(e,t=!1){const n=function(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(Qt.e.sep)>=0}}(e);en.push(n),n.userConfigured?nn.push(n):tn.push(n),t&&!n.userConfigured&&en.forEach(e=>{e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn(`Overwriting extension <<${n.extension}>> to now point to mime <<${n.mime}>>`),n.filename&&e.filename===n.filename&&console.warn(`Overwriting filename <<${n.filename}>> to now point to mime <<${n.mime}>>`),n.filepattern&&e.filepattern===n.filepattern&&console.warn(`Overwriting filepattern <<${n.filepattern}>> to now point to mime <<${n.mime}>>`),n.firstline&&e.firstline===n.firstline&&console.warn(`Overwriting firstline <<${n.firstline}>> to now point to mime <<${n.mime}>>`))})}function on(e,t){let n;if(e)switch(e.scheme){case d.b.file:n=e.fsPath;break;case d.b.data:n=h.a.parseMetaData(e).get(h.a.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();const i=Object(Qt.a)(n),r=sn(n,i,nn);if(r)return[r,"text/plain"];const o=sn(n,i,tn);if(o)return[o,"text/plain"];if(t){const e=function(e){Object(B.U)(e)&&(e=e.substr(1));if(e.length>0)for(let t=en.length-1;t>=0;t--){const n=en[t];if(!n.firstline)continue;const i=e.match(n.firstline);if(i&&i.length>0)return n.mime}return null}(t);if(e)return[e,"text/plain"]}return["application/unknown"]}function sn(e,t,n){let i=null,r=null,o=null;for(let s=n.length-1;s>=0;s--){const a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!r||a.filepattern.length>r.filepattern.length)){const n=a.filepatternOnPath?e:t;Object(Jt.a)(a.filepatternLowercase,n)&&(r=a)}a.extension&&(!o||a.extension.length>o.extension.length)&&t.endsWith(a.extensionLowercase)&&(o=a)}return i?i.mime:r?r.mime:o?o.mime:null}var an=n(146),ln=n(56);const cn=Object.prototype.hasOwnProperty;class dn extends I.a{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new De.a),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=t,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(an.a.onDidChangeLanguages(e=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};const e=an.a.getLanguages();this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{let t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),ln.a.as(Ve.a.Configuration).registerOverrideIdentifiers(an.a.getLanguages().map(e=>e.id)),this._onDidChange.fire()}_getLanguageId(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];const t=this._nextLanguageId2++;return this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t,t}_registerLanguage(e){const t=e.id;let n;if(cn.call(this._languages,t))n=this._languages[t];else{const e=this._getLanguageId(t);n={identifier:new k.r(t,e),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[t]=n}this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),i=t.mimetypes[0]),i||(i="text/x-"+n,e.mimetypes.push(i)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(let e of t.extensions)rn({id:n,mime:i,extension:e},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(let r of t.filenames)rn({id:n,mime:i,filename:r},this._warnOnOverwrite),e.filenames.push(r);if(Array.isArray(t.filenamePatterns))for(let e of t.filenamePatterns)rn({id:n,mime:i,filepattern:e},this._warnOnOverwrite);if("string"==typeof t.firstLine&&t.firstLine.length>0){let e=t.firstLine;"^"!==e.charAt(0)&&(e="^"+e);try{let t=new RegExp(e);B.P(t)||rn({id:n,mime:i,firstline:t},this._warnOnOverwrite)}catch(e){Object(H.e)(e)}}e.aliases.push(n);let r=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(r=0===t.aliases.length?[null]:t.aliases),null!==r)for(const t of r)t&&0!==t.length&&e.aliases.push(t);let o=null!==r&&r.length>0;if(o&&null===r[0]);else{let t=(o?r[0]:null)||n;!o&&e.name||(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration)}isRegisteredMode(e){return!!cn.call(this._mimeTypesMap,e)||cn.call(this._languages,e)}getModeIdForLanguageNameLowercase(e){return cn.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null}extractModeIds(e){return e?e.split(",").map(e=>e.trim()).map(e=>cn.call(this._mimeTypesMap,e)?this._mimeTypesMap[e].language:e).filter(e=>cn.call(this._languages,e)):[]}getLanguageIdentifier(e){if(e===E.b||0===e)return E.a;let t;if("string"==typeof e)t=e;else if(t=this._languageIdToLanguage[e],!t)return null;return cn.call(this._languages,t)?this._languages[t].identifier:null}getModeIdsFromFilepathOrFirstLine(e,t){if(!e&&!t)return[];let n=on(e,t);return this.extractModeIds(n.join(","))}}class hn extends I.a{constructor(e,t){super(),this._onDidChange=this._register(new De.a),this.onDidChange=this._onDidChange.event,this._selector=t,this.languageIdentifier=this._selector(),this._register(e(()=>this._evaluate()))}_evaluate(){let e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))}}class un{constructor(e=!1){this._onDidCreateMode=new De.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new De.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new dn(!0,e),this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire())}isRegisteredMode(e){return this._registry.isRegisteredMode(e)}getModeIdForLanguageName(e){return this._registry.getModeIdForLanguageNameLowercase(e)}getModeIdByFilepathOrFirstLine(e,t){const n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return Object(j.k)(n,null)}getModeId(e){const t=this._registry.extractModeIds(e);return Object(j.k)(t,null)}getLanguageIdentifier(e){return this._registry.getLanguageIdentifier(e)}create(e){return new hn(this.onLanguagesMaybeChanged,()=>{const t=this.getModeId(e);return this._createModeAndGetLanguageIdentifier(t)})}createByFilepathOrFirstLine(e,t){return new hn(this.onLanguagesMaybeChanged,()=>{const n=this.getModeIdByFilepathOrFirstLine(e,t);return this._createModeAndGetLanguageIdentifier(n)})}_createModeAndGetLanguageIdentifier(e){const t=this.getLanguageIdentifier(e||"plaintext")||E.a;return this._getOrCreateMode(t.language),t}triggerMode(e){const t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")}_getOrCreateMode(e){if(!this._instantiatedModes.hasOwnProperty(e)){let t=this.getLanguageIdentifier(e)||E.a;this._instantiatedModes[e]=new Xt(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]}}var pn=n(183);class mn extends I.a{constructor(){super(),this._onCodeEditorAdd=this._register(new De.a),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new De.a),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new De.a),this._onDiffEditorRemove=this._register(new De.a),this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;const t=this.listCodeEditors();for(const n of t){if(n.hasTextFocus())return n;n.hasWidgetFocus()&&(e=n)}return e}setModelProperty(e,t,n){const i=e.toString();let r;this._modelProperties.has(i)?r=this._modelProperties.get(i):(r=new Map,this._modelProperties.set(i,r)),r.set(t,n)}getModelProperty(e,t){const n=e.toString();if(this._modelProperties.has(n)){return this._modelProperties.get(n).get(t)}}}var gn=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},fn=function(e,t){return function(n,i){t(n,i,e)}};class bn{constructor(e,t,n){this._parent=e,this._editorId=t,this._styleSheet=n,this._refCount=0}ref(){this._refCount++}unref(){var e;this._refCount--,0===this._refCount&&(null===(e=this._styleSheet.parentNode)||void 0===e||e.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(e,t){this._styleSheet.sheet.insertRule(e,t)}removeRulesContainingSelector(e){a.P(e,this._styleSheet)}}class _n{constructor(e){this._styleSheet=e}ref(){}unref(){}insertRule(e,t){this._styleSheet.sheet.insertRule(e,t)}removeRulesContainingSelector(e){a.P(e,this._styleSheet)}}let vn=class extends mn{constructor(e,t=null){super(),this._decorationOptionProviders=new Map,this._editorStyleSheets=new Map,this._globalStyleSheet=t||null,this._themeService=e}_getOrCreateGlobalStyleSheet(){return this._globalStyleSheet||(this._globalStyleSheet=new _n(a.v())),this._globalStyleSheet}_getOrCreateStyleSheet(e){if(!e)return this._getOrCreateGlobalStyleSheet();const t=e.getContainerDomNode();if(!a.O(t))return this._getOrCreateGlobalStyleSheet();const n=e.getId();if(!this._editorStyleSheets.has(n)){const e=new bn(this,n,a.v(t));this._editorStyleSheets.set(n,e)}return this._editorStyleSheets.get(n)}_removeEditorStyleSheets(e){this._editorStyleSheets.delete(e)}registerDecorationType(e,t,n,i){let r=this._decorationOptionProviders.get(e);if(!r){const o=this._getOrCreateStyleSheet(i),s={styleSheet:o,key:e,parentTypeKey:n,options:t||Object.create(null)};r=n?new wn(this._themeService,o,s):new yn(this._themeService,o,s),this._decorationOptionProviders.set(e,r)}r.refCount++}removeDecorationType(e){const t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(t=>t.removeDecorations(e))))}resolveDecorationOptions(e,t){const n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)}};vn=gn([fn(0,zt.c)],vn);class wn{constructor(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new xn(3,n,e),this._afterContentRules=new xn(4,n,e)}getOptions(e,t){const n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class yn{constructor(e,t,n){this._disposables=new I.b,this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;const i=t=>{const i=new xn(t,n,e);if(this._disposables.add(i),i.hasContent)return i.className};this.className=i(0);const r=(t=>{const i=new xn(t,n,e);return this._disposables.add(i),i.hasContent?{className:i.className,hasLetterSpacing:i.hasLetterSpacing}:null})(1);r&&(this.inlineClassName=r.className,this.inlineClassNameAffectsLetterSpacing=r.hasLetterSpacing),this.beforeContentClassName=i(3),this.afterContentClassName=i(4),this.glyphMarginClassName=i(2);const o=n.options;this.isWholeLine=Boolean(o.isWholeLine),this.stickiness=o.rangeBehavior;const s=o.light&&o.light.overviewRulerColor||o.overviewRulerColor,a=o.dark&&o.dark.overviewRulerColor||o.overviewRulerColor;void 0===s&&void 0===a||(this.overviewRuler={color:s||a,darkColor:a||s,position:o.overviewRulerLane||S.d.Center})}getOptions(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}const Cn={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"};class xn{constructor(e,t,n){this._theme=n.getColorTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let i=Sn.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(i=i+" "+Sn.getClassName(this._providerArgs.parentTypeKey,e)),this._className=i,this._unThemedSelector=Sn.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onDidColorThemeChange(e=>{this._theme=n.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){const e=this._providerArgs.options;let t,n,i;switch(this._ruleType){case 0:t=this.getCSSTextForModelDecorationClassName(e),n=this.getCSSTextForModelDecorationClassName(e.light),i=this.getCSSTextForModelDecorationClassName(e.dark);break;case 1:t=this.getCSSTextForModelDecorationInlineClassName(e),n=this.getCSSTextForModelDecorationInlineClassName(e.light),i=this.getCSSTextForModelDecorationInlineClassName(e.dark);break;case 2:t=this.getCSSTextForModelDecorationGlyphMarginClassName(e),n=this.getCSSTextForModelDecorationGlyphMarginClassName(e.light),i=this.getCSSTextForModelDecorationGlyphMarginClassName(e.dark);break;case 3:t=this.getCSSTextForModelDecorationContentClassName(e.before),n=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.before),i=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.before);break;case 4:t=this.getCSSTextForModelDecorationContentClassName(e.after),n=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.after),i=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}const r=this._providerArgs.styleSheet;let o=!1;t.length>0&&(r.insertRule(`${this._unThemedSelector} {${t}}`,0),o=!0),n.length>0&&(r.insertRule(`.vs${this._unThemedSelector} {${n}}`,0),o=!0),i.length>0&&(r.insertRule(`.vs-dark${this._unThemedSelector}, .hc-black${this._unThemedSelector} {${i}}`,0),o=!0),this._hasContent=o}_removeCSS(){this._providerArgs.styleSheet.removeRulesContainingSelector(this._unThemedSelector)}getCSSTextForModelDecorationClassName(e){if(!e)return"";const t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")}getCSSTextForModelDecorationInlineClassName(e){if(!e)return"";const t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")}getCSSTextForModelDecorationContentClassName(e){if(!e)return"";const t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(B.x(Cn.contentIconPath,a.q(u.a.revive(e.contentIconPath)))),"string"==typeof e.contentText){const n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(B.x(Cn.contentText,n))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")}getCSSTextForModelDecorationGlyphMarginClassName(e){if(!e)return"";const t=[];return void 0!==e.gutterIconPath&&(t.push(B.x(Cn.gutterIconPath,a.q(u.a.revive(e.gutterIconPath)))),void 0!==e.gutterIconSize&&t.push(B.x(Cn.gutterIconSize,e.gutterIconSize))),t.join("")}collectBorderSettingsCSSText(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(B.x("box-sizing: border-box;")),!0)}collectCSSText(e,t,n){const i=n.length;for(let i of t){const t=this.resolveValue(e[i]);"string"==typeof t&&n.push(B.x(Cn[i],t))}return n.length!==i}resolveValue(e){if(Object(x.b)(e)){this._usesThemeColors=!0;const t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e}}class Sn{static getClassName(e,t){return"ced-"+e+"-"+t}static getSelector(e,t,n){let i=".monaco-editor ."+this.getClassName(e,n);return t&&(i=i+"."+this.getClassName(t,n)),3===n?i+="::before":4===n&&(i+="::after"),i}}class kn extends vn{getActiveCodeEditor(){return null}openCodeEditor(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){if(!this.findModel(e,t.resource)){if(t.resource){const n=t.resource.scheme;if(n===d.b.http||n===d.b.https)return Object(a.cb)(t.resource.toString()),e}return null}const n=t.options?t.options.selection:null;if(n)if("number"==typeof n.endLineNumber&&"number"==typeof n.endColumn)e.setSelection(n),e.revealRangeInCenter(n,1);else{const t={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}return e}findModel(e,t){const n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n}}var En=n(15);class Tn{constructor(e,t,n,i,r){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=r}}const Ln=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class Nn{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(null===e)return 0;const t=e.match(Ln);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();let n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=En.a.fromHex("#"+e),n)}getColorMap(){return this._id2color.slice(0)}}class In{constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];let t=[],n=0;for(let i=0,r=e.length;i<r;i++){let r=e[i],o=-1;if("string"==typeof r.fontStyle){o=0;let e=r.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++){switch(e[t]){case"italic":o|=1;break;case"bold":o|=2;break;case"underline":o|=4}}}let s=null;"string"==typeof r.foreground&&(s=r.foreground);let a=null;"string"==typeof r.background&&(a=r.background),t[n++]=new Tn(r.token||"",i,o,s,a)}return t}(e),t)}static createFromParsedTokenTheme(e,t){return function(e,t){e.sort((e,t)=>{let n=function(e,t){if(e<t)return-1;if(e>t)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index});let n=0,i="000000",r="ffffff";for(;e.length>=1&&""===e[0].token;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(i=t.foreground),null!==t.background&&(r=t.background)}let o=new Nn;for(let e of t)o.getId(e);let s=o.getId(i),a=o.getId(r),l=new On(n,s,a),c=new An(l);for(let t=0,n=e.length;t<n;t++){let n=e[t];c.insert(n.token,n.fontStyle,o.getId(n.foreground),o.getId(n.background))}return new In(o,c)}(e,t)}getColorMap(){return this._colorMap.getColorMap()}_match(e){return this._root.match(e)}match(e,t){let n=this._cache.get(t);if(void 0===n){let e=this._match(t),i=function(e){let t=e.match(Dn);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(t);n=(e.metadata|i<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0}}const Dn=/\b(comment|string|regex|regexp)\b/;class On{constructor(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new On(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class An{constructor(e){this._mainRule=e,this._children=new Map}match(e){if(""===e)return this._mainRule;let t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));let r=this._children.get(t);return void 0!==r?r.match(n):this._mainRule}insert(e,t,n,i){if(""===e)return void this._mainRule.acceptOverwrite(t,n,i);let r,o,s=e.indexOf(".");-1===s?(r=e,o=""):(r=e.substring(0,s),o=e.substring(s+1));let a=this._children.get(r);void 0===a&&(a=new An(this._mainRule.clone()),this._children.set(r,a)),a.insert(o,t,n,i)}}var Rn=n(57),Mn=n(5);const Pn={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Mn.s]:"#FFFFFE",[Mn.B]:"#000000",[Mn.J]:"#E5EBF1",[Rn.h]:"#D3D3D3",[Rn.a]:"#939393",[Mn.Q]:"#ADD6FF4D"}},Fn={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Mn.s]:"#1E1E1E",[Mn.B]:"#D4D4D4",[Mn.J]:"#3A3D41",[Rn.h]:"#404040",[Rn.a]:"#707070",[Mn.Q]:"#ADD6FF26"}},Wn={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Mn.s]:"#000000",[Mn.B]:"#FFFFFF",[Rn.h]:"#FFFFFF",[Rn.a]:"#FFFFFF"}};var zn=n(154);const Bn=ln.a.as(Mn.a.ColorContribution),jn=ln.a.as(zt.a.ThemingContribution);class Vn{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;let n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const e=new Map;for(let t in this.themeData.colors)e.set(t,En.a.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){let t=Hn(this.themeData.base);for(let n in t.colors)e.has(n)||e.set(n,En.a.fromHex(t.colors[n]))}this.colors=e}return this.colors}getColor(e,t){const n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=Bn.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){let n=Hn(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=In.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,n){const i=this.tokenTheme._match([e].concat(t).join(".")).metadata,r=k.B.getForeground(i),o=k.B.getFontStyle(i);return{foreground:r,italic:Boolean(1&o),bold:Boolean(2&o),underline:Boolean(4&o)}}}function Un(e){return"vs"===e||"vs-dark"===e||"hc-black"===e}function Hn(e){switch(e){case"vs":return Pn;case"vs-dark":return Fn;case"hc-black":return Wn}}function qn(e){let t=Hn(e);return new Vn(e,t)}class $n extends I.a{constructor(){super(),this._onColorThemeChange=this._register(new De.a),this.onDidColorThemeChange=this._onColorThemeChange.event,this._environment=Object.create(null),this._knownThemes=new Map,this._knownThemes.set("vs",qn("vs")),this._knownThemes.set("vs-dark",qn("vs-dark")),this._knownThemes.set("hc-black",qn("hc-black")),this._codiconCSS=zn.a.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this.setTheme("vs"),zn.a.onDidChange(()=>{this._codiconCSS=zn.a.getCSS(),this._updateCSS()})}registerEditorContainer(e){return a.O(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=a.v(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._allCSS,this._styleElements.push(this._globalStyleElement)),I.a.None}_registerShadowDomContainer(e){const t=a.v(e);return t.className="monaco-colors",t.innerHTML=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e<this._styleElements.length;e++)if(this._styleElements[e]===t)return void this._styleElements.splice(e,1)}}}defineTheme(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!Un(t.base)&&!Un(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new Vn(e,t)),Un(e)&&this._knownThemes.forEach(t=>{t.base===e&&t.notifyBaseUpdated()}),this._theme&&this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setTheme(e){let t;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._theme===t)return t.id;this._theme=t;let n=[],i={},r={addRule:e=>{i[e]||(n.push(e),i[e]=!0)}};jn.getThemingParticipants().forEach(e=>e(t,r,this._environment));let o=t.tokenTheme.getColorMap();return r.addRule(function(e){let t=[];for(let n=1,i=e.length;n<i;n++){let i=e[n];t[n]=`.mtk${n} { color: ${i}; }`}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.join("\n")}(o)),this._themeCSS=n.join("\n"),this._updateCSS(),k.C.setColorMap(o),this._onColorThemeChange.fire(t),t.id}_updateCSS(){this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._styleElements.forEach(e=>e.innerHTML=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var Kn=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Gn=function(e,t){return function(n,i){t(n,i,e)}};class Yn{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}setValue(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)}removeValue(e){return e in this._value&&(delete this._value[e],!0)}getValue(e){const t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t}}class Zn extends Yn{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}Zn.INSTANCE=new Zn;class Xn extends Yn{constructor(e,t,n){super(e,null),this._configurationService=t,this._values=new Map,this._listener=this._configurationService.onDidChangeConfiguration(e=>{if(6===e.source){const e=Array.from(this._values.keys());this._values.clear(),n.fire(new ei(e))}else{const t=[];for(const n of e.affectedKeys){const e="config."+n;this._values.has(e)&&(this._values.delete(e),t.push(e))}n.fire(new ei(t))}})}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf(Xn._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(Xn._keyPrefix.length),n=this._configurationService.getValue(t);let i=void 0;switch(typeof n){case"number":case"boolean":case"string":i=n;break;default:Array.isArray(n)&&(i=JSON.stringify(n))}return this._values.set(e,i),i}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}Xn._keyPrefix="config.";class Qn{constructor(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class Jn{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class ei{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class ti{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class ni{constructor(e){this._onDidChangeContext=new De.d({merge:e=>new ti(e)}),this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Qn(this,e,t)}get onDidChangeContext(){return this._onDidChangeContext.event}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new ri(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const t=this.getContextValuesContainer(this._myContextId);return Ye.contextMatchesRules(t,e)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new Jn(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Jn(e))}getContext(e){return this._isDisposed?Zn.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute("data-keybinding-context")){const t=e.getAttribute("data-keybinding-context");return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))}}let ii=class extends ni{constructor(e){super(0),this._contexts=new Map,this._toDispose=new I.b,this._lastContextId=0;const t=new Xn(this._myContextId,e,this._onDidChangeContext);this._contexts.set(this._myContextId,t),this._toDispose.add(t)}dispose(){this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return this._isDisposed?Zn.INSTANCE:this._contexts.get(e)||Zn.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let t=++this._lastContextId;return this._contexts.set(t,new Yn(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};ii=Kn([Gn(0,ze.a)],ii);class ri extends ni{constructor(e,t){super(e.createChildContext()),this._parent=e,t&&(this._domNode=t,this._domNode.setAttribute("data-keybinding-context",String(this._myContextId)))}dispose(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute("data-keybinding-context"),this._domNode=void 0)}get onDidChangeContext(){return De.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)}getContextValuesContainer(e){return this._isDisposed?Zn.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}p.a.registerCommand(Mt.d,(function(e,t,n){e.get(Mt.b).createKey(String(t),n)}));n(259);var oi=n(60),si=n(116),ai=n(105),li=(n(261),n(99)),ci=n(138);function di(e,t,n){const i=n.offset+n.size;return 0===n.position?t<=e-i?i:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-i?i:0}class hi extends I.a{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=I.a.None,this.toDisposeOnSetContainer=I.a.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=a.a(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,a.K(this.view),this.setContainer(e,t),this._register(Object(I.h)(()=>this.setContainer(null,1)))}setContainer(e,t){if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,a.S(this.shadowRootHostElement),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM?(this.shadowRootHostElement=a.a(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=`\n\t\t\t\t\t<style>\n\t\t\t\t\t\t${ui}\n\t\t\t\t\t</style>\n\t\t\t\t`,this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(a.a("slot"))):this.container.appendChild(this.view);const n=new I.b;hi.BUBBLE_UP_EVENTS.forEach(e=>{n.add(a.n(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),hi.BUBBLE_DOWN_EVENTS.forEach(e=>{n.add(a.n(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=n}}show(e){this.isVisible()&&this.hide(),a.s(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",a.Z(this.view),this.toDisposeOnClean=e.render(this.view)||I.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||O.c&&ci.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let e,t=this.delegate.getAnchor();if(a.M(t)){let n=a.C(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};const n=a.H(this.view),i=a.G(this.view),r=this.delegate.anchorPosition||0,o=this.delegate.anchorAlignment||0,s={offset:e.top-window.pageYOffset,size:e.height,position:0===r?0:1};let l;l=0===o?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};const c=di(window.innerHeight,i,s)+window.pageYOffset;li.a.intersects({start:c,end:c+i},{start:s.offset,end:s.offset+s.size})&&(l.size=e.width,1===o&&(l.offset=e.left));const d=di(window.innerWidth,n,l);a.R(this.view,"top","bottom","left","right"),a.e(this.view,0===r?"bottom":"top"),a.e(this.view,0===o?"left":"right"),a.ab(this.view,"fixed",this.useFixedPosition);const h=a.C(this.container);this.view.style.top=c-(this.useFixedPosition?a.C(this.view).top:h.top)+"px",this.view.style.left=d-(this.useFixedPosition?a.C(this.view).left:h.left)+"px",this.view.style.width="initial"}hide(e){const t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),a.K(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!a.L(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}hi.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],hi.BUBBLE_DOWN_EVENTS=["click"];let ui='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n';var pi=n(17),mi=n(123),gi=n(34),fi=n(69);const bi=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,_i=/(&)?(&)([^\s&])/g,vi=Object(pi.e)("menu-selection",pi.a.check),wi=Object(pi.e)("menu-submenu",pi.a.chevronRight);var yi;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(yi||(yi={}));class Ci extends si.a{constructor(e,t,n={}){Object(a.e)(e,"monaco-menu-container"),e.setAttribute("role","presentation");const i=document.createElement("div");Object(a.e)(i,"monaco-menu"),i.setAttribute("role","presentation"),super(i,{orientation:2,actionViewItemProvider:e=>this.doGetActionViewItem(e,n,r),context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,triggerKeys:{keys:[3,...O.f||O.d?[10]:[]],keyDown:!0}}),this.menuElement=i,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new I.b),this.initializeStyleSheet(e),Object(a.i)(i,a.c.KEY_DOWN,e=>{new Ie.a(e).equals(2)&&e.preventDefault()}),n.enableMnemonics&&this.menuDisposables.add(Object(a.i)(i,a.c.KEY_DOWN,e=>{const t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){a.b.stop(e,!0);const n=this.mnemonics.get(t);if(1===n.length&&(n[0]instanceof Si&&n[0].container&&this.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){const e=n.shift();e&&e.container&&(this.focusItemByElement(e.container),n.push(e)),this.mnemonics.set(t,n)}}})),O.d&&this._register(Object(a.i)(i,a.c.KEY_DOWN,e=>{const t=new Ie.a(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),a.b.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),a.b.stop(e,!0))})),this._register(Object(a.i)(this.domNode,a.c.MOUSE_OUT,e=>{let t=e.relatedTarget;Object(a.L)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())})),this._register(Object(a.i)(this.actionsList,a.c.MOUSE_OVER,e=>{let t=e.target;if(t&&Object(a.L)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(Object(a.I)(t,"action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}}));let r={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new ai.a(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const o=this.scrollableElement.getDomNode();o.style.position="",this._register(Object(a.i)(o,a.c.MOUSE_UP,e=>{e.preventDefault()})),i.style.maxHeight=Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)+"px",t=t.filter(e=>{var t;return!(null===(t=n.submenuIds)||void 0===t?void 0:t.has(e.id))||(console.warn("Found submenu cycle: "+e.id),!1)}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(e=>!(e instanceof ki)).forEach((e,t,n)=>{e.updatePositionInSet(t+1,n.length)})}initializeStyleSheet(e){Object(a.O)(e)?(this.styleSheet=Object(a.v)(e),this.styleSheet.innerHTML=Ei):(Ci.globalStyleSheet||(Ci.globalStyleSheet=Object(a.v)(),Ci.globalStyleSheet.innerHTML=Ei),this.styleSheet=Ci.globalStyleSheet)}style(e){const t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:"",i=e.backgroundColor?""+e.backgroundColor:"",r=e.borderColor?"1px solid "+e.borderColor:"",o=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=r,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=o,this.viewItems&&this.viewItems.forEach(t=>{(t instanceof xi||t instanceof ki)&&t.style(e)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t<this.actionsList.children.length;t++){if(e===this.actionsList.children[t]){this.focusedItem=t;break}}}updateFocus(e){super.updateFocus(e,!0),void 0!==this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,n){if(e instanceof oi.c)return new ki(t.context,e,{icon:!0});if(e instanceof oi.d){const i=new Si(e,e.actions,n,Object.assign(Object.assign({},t),{submenuIds:new Set([...t.submenuIds||[],e.id])}));if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}{const n={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const i=t.getKeyBinding(e);if(i){const e=i.getLabel();e&&(n.keybinding=e)}}const i=new xi(t.context,e,n);if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}}}class xi extends mi.b{constructor(e,t,n={}){if(n.isMenu=!0,super(t,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass="",this.options.label&&n.enableMnemonics){let e=this.getAction().label;if(e){let t=bi.exec(e);t&&(this.mnemonic=(t[1]?t[1]:t[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new N.d(()=>{this.element&&(this._register(Object(a.i)(this.element,a.c.MOUSE_UP,e=>{if(a.b.stop(e,!0),gi.h){if(new fi.a(e).rightButton)return;this.onClick(e)}setTimeout(()=>{this.onClick(e)},0)})),this._register(Object(a.i)(this.element,a.c.CONTEXT_MENU,e=>{a.b.stop(e,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=Object(a.p)(this.element,Object(a.a)("a.action-menu-item")),this._action.id===oi.c.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(a.p)(this.item,Object(a.a)("span.menu-item-check"+vi.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(a.p)(this.item,Object(a.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(a.p)(this.item,Object(a.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))}updateLabel(){if(this.label&&this.options.label){Object(a.s)(this.label);let e=Object(pi.h)(this.getAction().label);if(e){const t=function(e){const t=bi,n=t.exec(e);if(!n)return e;const i=!n[1];return e.replace(t,i?"$2$3":"").trim()}(e);this.options.enableMnemonics||(e=t),this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));const n=bi.exec(e);if(n){e=B.u(e),_i.lastIndex=0;let t=_i.exec(e);for(;t&&t[1];)t=_i.exec(e);const i=e=>e.replace(/&&/g,"&");t?this.label.append(B.K(i(e.substr(0,t.index))," "),Object(a.a)("u",{"aria-hidden":"true"},t[3]),B.Q(i(e.substr(t.index+t[0].length))," ")):this.label.innerText=i(e).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=e.replace(/&&/g,"&").trim()}}}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Ke.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)}updateClass(){this.cssClass&&this.item&&Object(a.R)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(a.e)(this.label,"icon"),this.cssClass&&Object(a.f)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(a.Q)(this.label,"icon")}updateEnabled(){this.getAction().enabled?(this.element&&Object(a.Q)(this.element,"disabled"),this.item&&(Object(a.Q)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(a.e)(this.element,"disabled"),this.item&&(Object(a.e)(this.item,"disabled"),Object(a.T)(this.item)))}updateChecked(){this.item&&(this.getAction().checked?(Object(a.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(a.Q)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const e=this.element&&Object(a.I)(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}style(e){this.menuStyle=e,this.applyStyle()}}class Si extends xi{constructor(e,t,n,i){super(e,e,i),this.submenuActions=t,this.parentData=n,this.submenuOptions=i,this.mysubmenu=null,this.submenuDisposables=this._register(new I.b),this.mouseOver=!1,this.expandDirection=i&&void 0!==i.expandDirection?i.expandDirection:yi.Right,this.showScheduler=new N.d(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new N.d(()=>{this.element&&!Object(a.L)(Object(a.x)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(Object(a.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(a.p)(this.item,Object(a.a)("span.submenu-indicator"+wi.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(a.i)(this.element,a.c.KEY_UP,e=>{let t=new Ie.a(e);(t.equals(17)||t.equals(3))&&(a.b.stop(e,!0),this.createSubmenu(!0))})),this._register(Object(a.i)(this.element,a.c.KEY_DOWN,e=>{let t=new Ie.a(e);Object(a.x)()===this.item&&(t.equals(17)||t.equals(3))&&a.b.stop(e,!0)})),this._register(Object(a.i)(this.element,a.c.MOUSE_OVER,e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(Object(a.i)(this.element,a.c.MOUSE_LEAVE,e=>{this.mouseOver=!1})),this._register(Object(a.i)(this.element,a.c.FOCUS_OUT,e=>{this.element&&!Object(a.L)(Object(a.x)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}onClick(e){a.b.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,n,i){const r={top:0,left:0};return r.left=di(e.width,t.width,{position:i===yi.Right?0:1,offset:n.left,size:n.width}),r.left>=n.left&&r.left<n.left+n.width&&(n.left+10+t.width<=e.width&&(r.left=n.left+10),n.top+=10,n.height=0),r.top=di(e.height,t.height,{position:0,offset:n.top,size:0}),r.top+t.height===n.top&&r.top+n.height+t.height<=e.height&&(r.top+=n.height),r}createSubmenu(e=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(a.p)(this.element,Object(a.a)("div.monaco-submenu")),Object(a.f)(this.submenuContainer,"menubar-menu-items-holder","context-view");const t=getComputedStyle(this.parentData.parent.domNode),n=parseFloat(t.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new Ci(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const i=this.element.getBoundingClientRect(),r={top:i.top-n,left:i.left,height:i.height+2*n,width:i.width},o=this.submenuContainer.getBoundingClientRect(),{top:s,left:l}=this.calculateSubmenuMenuLayout({height:window.innerHeight,width:window.innerWidth},o,r,this.expandDirection);this.submenuContainer.style.left=l+"px",this.submenuContainer.style.top=s+"px",this.submenuDisposables.add(Object(a.i)(this.submenuContainer,a.c.KEY_UP,e=>{new Ie.a(e).equals(15)&&(a.b.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(a.i)(this.submenuContainer,a.c.KEY_DOWN,e=>{new Ie.a(e).equals(15)&&a.b.stop(e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;const e=this.element&&Object(a.I)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=e?""+e:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class ki extends mi.a{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")}}let Ei=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${Object(zn.b)(vi)}\n${Object(zn.b)(wi)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n:host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n`;var Ti=n(93),Li=n(44);class Ni{constructor(e,t,n,i,r){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=r,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;let n;this.focusToReturn=document.activeElement;let i=Object(a.M)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,render:i=>{let r=e.getMenuClassName?e.getMenuClassName():"";r&&(i.className+=" "+r),this.options.blockMouse&&(this.block=i.appendChild(Object(a.a)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",Object(Li.a)(this.block,a.c.MOUSE_DOWN)(e=>e.stopPropagation()));const o=new I.b,s=e.actionRunner||new oi.b;return s.onDidBeforeRun(this.onActionRun,this,o),s.onDidRun(this.onDidActionRun,this,o),n=new Ci(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:s,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)}),o.add(Object(Ti.c)(n,this.themeService)),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,o),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,o),Object(Li.a)(window,a.c.BLUR)(()=>{this.contextViewService.hideContextView(!0)},null,o),Object(Li.a)(window,a.c.MOUSE_DOWN)(e=>{if(e.defaultPrevented)return;let t=new fi.a(e),n=t.target;if(!t.rightButton){for(;n;){if(n===i)return;n=n.parentElement}this.contextViewService.hideContextView(!0)}},null,o),Object(I.e)(o,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(Object(a.S)(this.block),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}onActionRun(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&this.notificationService&&this.notificationService.error(e.error)}}var Ii=n(120),Di=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Oi=function(e,t){return function(n,i){t(n,i,e)}};let Ai=class extends I.a{constructor(e,t,n,i,r){super(),this._onDidContextMenu=this._register(new De.a),this.onDidContextMenu=this._onDidContextMenu.event,this.contextMenuHandler=new Ni(n,e,t,i,r)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()}};Ai=Di([Oi(0,Ii.a),Oi(1,st.a),Oi(2,Pt.b),Oi(3,Wt.a),Oi(4,zt.c)],Ai);const Ri=Object(Ft.c)("layoutService");var Mi=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Pi=function(e,t){return function(n,i){t(n,i,e)}};let Fi=class extends I.a{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=I.a.None,this.container=e.container,this.contextView=this._register(new hi(this.container,1)),this.layout(),this._register(e.onLayout(()=>this.layout()))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,n){t?t!==this.container&&(this.container=t,this.setContainer(t,n?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const i=Object(I.h)(()=>{this.currentViewDisposable===i&&this.hideContextView()});return this.currentViewDisposable=i,i}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};Fi=Mi([Pi(0,Ri)],Fi);var Wi=n(171);class zi{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class Bi{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing.set(this._hashFn(t),i),i.incoming.set(this._hashFn(e),n)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(let e of this._nodes.values())e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes.get(t);return n||(n=new zi(e),this._nodes.set(t,n)),n}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,n]of this._nodes)e.push(`${t}, (incoming)[${[...n.incoming.keys()].join(", ")}], (outgoing)[${[...n.outgoing.keys()].join(",")}]`);return e.join("\n")}}var ji=n(163),Vi=n(149);class Ui extends Error{constructor(e){super("cyclic dependency between services"),this.message=e.toString()}}class Hi{constructor(e=new Vi.a,t=!1,n){this._services=e,this._strict=t,this._parent=n,this._services.set(Ft.a,this)}createChild(e){return new Hi(e,this._strict,this)}invokeFunction(e,...t){let n=qi.traceInvocation(e),i=!1;try{return e({get:(e,t)=>{if(i)throw Object(H.c)("service accessor is only valid during the invocation of its target method");const r=this._getOrCreateServiceInstance(e,n);if(!r&&t!==Ft.d)throw new Error(`[invokeFunction] unknown service '${e}'`);return r}},...t)}finally{i=!0,n.stop()}}createInstance(e,...t){let n,i;return e instanceof ji.a?(n=qi.traceCreation(e.ctor),i=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=qi.traceCreation(e),i=this._createInstance(e,t,n)),n.stop(),i}_createInstance(e,t=[],n){let i=Ft.b.getServiceDependencies(e).sort((e,t)=>e.index-t.index),r=[];for(const t of i){let i=this._getOrCreateServiceInstance(t.id,n);if(!i&&this._strict&&!t.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`);r.push(i)}let o=i.length>0?i[0].index:t.length;if(t.length!==o){console.warn(`[createInstance] First service dependency of ${e.name} at position ${o+1} conflicts with ${t.length} static arguments`);let n=o-t.length;t=n>0?t.concat(new Array(n)):t.slice(0,o)}return new e(...[...t,...r])}_setServiceInstance(e,t){if(this._services.get(e)instanceof ji.a)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof ji.a?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_createAndCacheServiceInstance(e,t,n){const i=new Bi(e=>e.id.toString());let r=0;const o=[{id:e,desc:t,_trace:n}];for(;o.length;){const t=o.pop();if(i.lookupOrInsertNode(t),r++>1e3)throw new Ui(i);for(let n of Ft.b.getServiceDependencies(t.desc.ctor)){let r=this._getServiceInstanceOrDescriptor(n.id);if(r||n.optional||console.warn(`[createInstance] ${e} depends on ${n.id} which is NOT registered.`),r instanceof ji.a){const e={id:n.id,desc:r,_trace:t._trace.branch(n.id,!0)};i.insertEdge(t,e),o.push(e)}}}for(;;){const e=i.roots();if(0===e.length){if(!i.isEmpty())throw new Ui(i);break}for(const{data:t}of e){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e),i.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],i,r){if(this._services.get(e)instanceof ji.a)return this._createServiceInstance(t,n,i,r);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,r);throw new Error("illegalState - creating UNKNOWN service instance "+t.name)}_createServiceInstance(e,t=[],n,i){if(n){const n=new N.b(()=>this._createInstance(e,t,i));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];let i=n.value,r=i[t];return"function"!=typeof r||(r=r.bind(i),e[t]=r),r},set:(e,t,i)=>(n.value[t]=i,!0)})}return this._createInstance(e,t,i)}}class qi{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return qi._None}static traceCreation(e){return qi._None}branch(e,t){let n=new qi(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;qi._totals+=e;let t=!1;let n=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,""+function e(n,i){let r=[],o=new Array(n+1).join("\t");for(const[s,a,l]of i._dep)if(a&&l){t=!0,r.push(`${o}CREATES -> ${s}`);let i=e(n+1,l);i&&r.push(i)}else r.push(`${o}uses -> ${s}`);return r.join("\n")}(1,this),`DONE, took ${e.toFixed(2)}ms (grand total ${qi._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(n.join("\n"))}}qi._None=new class extends qi{constructor(){super(-1,null)}stop(){}branch(){return this}},qi._totals=0;var $i=n(159),Ki=n(136),Gi=n(63),Yi=n(37);class Zi{constructor(){this._byResource=new Be.b,this._byOwner=new Map}set(e,t,n){let i=this._byResource.get(e);i||(i=new Map,this._byResource.set(e,i)),i.set(t,n);let r=this._byOwner.get(t);r||(r=new Be.b,this._byOwner.set(t,r)),r.set(e,n)}get(e,t){let n=this._byResource.get(e);return null==n?void 0:n.get(t)}delete(e,t){let n=!1,i=!1,r=this._byResource.get(e);r&&(n=r.delete(t));let o=this._byOwner.get(t);if(o&&(i=o.delete(e)),n!==i)throw new Error("illegal state");return n&&i}values(e){var t,n,i,r;return"string"==typeof e?null!==(n=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==n?n:Yi.a.empty():u.a.isUri(e)?null!==(r=null===(i=this._byResource.get(e))||void 0===i?void 0:i.values())&&void 0!==r?r:Yi.a.empty():Yi.a.map(Yi.a.concat(...this._byOwner.values()),e=>e[1])}}class Xi{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new Be.b,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const n=this._resourceStats(t);this._add(n),this._data.set(t,n)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===d.b.inMemory||e.scheme===d.b.walkThrough||e.scheme===d.b.walkThroughSnippet)return t;for(const{severity:n}of this._service.read({resource:e}))n===Gi.c.Error?t.errors+=1:n===Gi.c.Warning?t.warnings+=1:n===Gi.c.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class Qi{constructor(){this._onMarkerChanged=new De.a,this.onMarkerChanged=De.b.debounce(this._onMarkerChanged.event,Qi._debouncer,0),this._data=new Zi,this._stats=new Xi(this)}dispose(){this._stats.dispose()}remove(e,t){for(const n of t||[])this.changeOne(e,n,[])}changeOne(e,t,n){if(Object(j.n)(n)){this._data.delete(t,e)&&this._onMarkerChanged.fire([t])}else{const i=[];for(const r of n){const n=Qi._toMarker(e,t,r);n&&i.push(n)}this._data.set(t,e,i),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,n){let{code:i,severity:r,message:o,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:h,tags:u}=n;if(o)return a=a>0?a:1,l=l>0?l:1,c=c>=a?c:a,d=d>0?d:l,{resource:t,owner:e,code:i,severity:r,message:o,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:h,tags:u}}read(e=Object.create(null)){let{owner:t,resource:n,severities:i,take:r}=e;if((!r||r<0)&&(r=-1),t&&n){const e=this._data.get(n,t);if(e){const t=[];for(const n of e)if(Qi._accept(n,i)){const e=t.push(n);if(r>0&&e===r)break}return t}return[]}if(t||n){const e=this._data.values(null!=n?n:t),o=[];for(const t of e)for(const e of t)if(Qi._accept(e,i)){const t=o.push(e);if(r>0&&t===r)return o}return o}{const e=[];for(let t of this._data.values())for(let n of t)if(Qi._accept(n,i)){const t=e.push(n);if(r>0&&t===r)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _debouncer(e,t){e||(Qi._dedupeMap=new Be.b,e=[]);for(const n of t)Qi._dedupeMap.has(n)||(Qi._dedupeMap.set(n,!0),e.push(n));return e}}var Ji=n(97),er=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},tr=function(e,t){return function(n,i){t(n,i,e)}};let nr=class{constructor(e){this._commandService=e}createMenu(e,t){return new ir(e,this._commandService,t,this)}};nr=er([tr(0,p.b)],nr);let ir=class e{constructor(e,t,n,i){this._id=e,this._commandService=t,this._contextKeyService=n,this._menuService=i,this._onDidChange=new De.a,this._dispoables=new I.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(De.b.debounce(De.b.filter(Rt.d.onDidChangeMenu,e=>e.has(this._id)),()=>{},50)(this._build,this)),this._dispoables.add(De.b.debounce(this._contextKeyService.onDidChangeContext,(e,t)=>e||t.affectsSome(this._contextKeys),50)(e=>e&&this._onDidChange.fire(void 0),this))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=Rt.d.getMenuItems(this._id);let n;t.sort(e._compareMenuItems);for(let i of t){const t=i.group||"";if(n&&n[0]===t||(n=[t,[]],this._menuGroups.push(n)),n[1].push(i),e._fillInKbExprKeys(i.when,this._contextKeys),Object(Rt.f)(i)&&i.command.precondition&&e._fillInKbExprKeys(i.command.precondition,this._contextKeys),Object(Rt.f)(i)&&i.command.toggled){const t=i.command.toggled.condition||i.command.toggled;e._fillInKbExprKeys(t,this._contextKeys)}}this._onDidChange.fire(this)}get onDidChange(){return this._onDidChange.event}getActions(e){const t=[];for(let n of this._menuGroups){const[i,r]=n,o=[];for(const t of r)if(this._contextKeyService.contextMatchesRules(t.when)){const n=Object(Rt.f)(t)?new Rt.c(t.command,t.alt,e,this._contextKeyService,this._commandService):new Rt.e(t,this._menuService,this._contextKeyService,e);o.push(n)}o.length>0&&t.push([i,o])}return t}static _fillInKbExprKeys(e,t){if(e)for(let n of e.keys())t.add(n)}static _compareMenuItems(t,n){let i=t.group,r=n.group;if(i!==r){if(!i)return 1;if(!r)return-1;if("navigation"===i)return-1;if("navigation"===r)return 1;let e=i.localeCompare(r);if(0!==e)return e}let o=t.order||0,s=n.order||0;return o<s?-1:o>s?1:e._compareTitles(Object(Rt.f)(t)?t.command.title:t.title,Object(Rt.f)(n)?n.command.title:n.title)}static _compareTitles(e,t){const n="string"==typeof e?e:e.value,i="string"==typeof t?t:t.value;return n.localeCompare(i)}};ir=er([tr(1,p.b),tr(2,Mt.b),tr(3,Rt.a)],ir);var rr=n(192),or=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},sr=function(e,t){return function(n,i){t(n,i,e)}};function ar(e){return e.toString()}class lr extends I.a{constructor(e){super(),this.model=e,this._markersData=new Map,this._register(Object(I.h)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){const n=[...this._markersData.keys()];this._markersData.clear();const i=this.model.deltaDecorations(n,t);for(let t=0;t<i.length;t++)this._markersData.set(i[t],e[t]);return 0!==n.length||0!==i.length}getMarker(e){return this._markersData.get(e.id)}}let cr=class extends I.a{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new De.a),this._markerDecorations=new Map,e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const n=this._markerDecorations.get(ar(e.uri));return n&&n.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{const t=this._markerDecorations.get(ar(e));t&&this._updateDecorations(t)})}_onModelAdded(e){const t=new lr(e);this._markerDecorations.set(ar(e.uri),t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(ar(e.uri));t&&(t.dispose(),this._markerDecorations.delete(ar(e.uri))),e.uri.scheme!==d.b.inMemory&&e.uri.scheme!==d.b.internal&&e.uri.scheme!==d.b.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});let n=t.map(t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)}));e.update(t,n)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let n=M.a.lift(t);if(t.severity!==Gi.c.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){let t=e.getWordAtPosition(n.getStartPosition());if(t)n=new M.a(n.startLineNumber,t.startColumn,n.endLineNumber,t.endColumn);else{let t=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===t||(n=n.endColumn>=t?new M.a(n.startLineNumber,t-1,n.endLineNumber,t):new M.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){let i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<n.endColumn&&(n=new M.a(n.startLineNumber,i,n.endLineNumber,n.endColumn),t.startColumn=i)}return n}_createDecorationOption(e){let t,n,i,r=void 0,o=void 0;switch(e.severity){case Gi.c.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case Gi.c.Warning:t="squiggly-warning",r=Object(zt.h)(Rn.t),n=20,i={color:Object(zt.h)(Mn.Tb),position:S.c.Inline};break;case Gi.c.Info:t="squiggly-info",r=Object(zt.h)(Rn.r),n=10;break;case Gi.c.Error:default:t="squiggly-error",r=Object(zt.h)(Rn.q),n=30,i={color:Object(zt.h)(Mn.Nb),position:S.c.Inline}}return e.tags&&(-1!==e.tags.indexOf(1)&&(o="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(o="squiggly-inline-deprecated")),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:r,position:S.d.Right},minimap:i,zIndex:n,inlineClassName:o}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}};cr=or([sr(0,W.a),sr(1,Gi.b)],cr);var dr=n(115),hr=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},ur=function(e,t){return function(n,i){t(n,i,e)}};let pr=class extends I.a{constructor(e,t){super(),this._contextKeyService=e,this._configurationService=t,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new De.a,this._accessibilityModeEnabledContext=Bt.a.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(n(),this._onDidChangeScreenReaderOptimized.fire())})),n(),this.onDidChangeScreenReaderOptimized(()=>n())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};pr=hr([ur(0,Mt.b),ur(1,ze.a)],pr);var mr=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class gr{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(e,t){return mr(this,void 0,void 0,(function*(){if(t)return void this.mapTextToType.set(t,e);try{return yield navigator.clipboard.writeText(e)}catch(e){console.error(e)}const n=document.activeElement,i=document.body.appendChild(Object(a.a)("textarea",{"aria-hidden":!0}));i.style.height="1px",i.style.width="1px",i.style.position="absolute",i.value=e,i.focus(),i.select(),document.execCommand("copy"),n instanceof HTMLElement&&n.focus(),document.body.removeChild(i)}))}readText(e){return mr(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(e){return console.error(e),""}}))}readFindText(){return mr(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return mr(this,void 0,void 0,(function*(){this.findText=e}))}}var fr=n(150),br=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},_r=function(e,t){return function(n,i){t(n,i,e)}},vr=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function wr(e){return e.scheme===d.b.file?e.fsPath:e.path}let yr=0;class Cr{constructor(e,t,n){this.id=++yr,this.type=0,this.actual=e,this.label=e.label,this.resourceLabel=t,this.strResource=n,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[${this.id}] [${this.isValid?"VALID":"INVALID"}] ${this.actual}`}}class xr{constructor(e,t){this.resourceLabel=e,this.reason=t}}class Sr{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,n]of this.elements){(0===n.reason?e:t).push(n.resourceLabel)}let n=[];return e.length>0&&n.push(Ke.a({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&n.push(Ke.a({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),n.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class kr{constructor(e,t,n){this.id=++yr,this.type=1,this.actual=e,this.label=e.label,this.resourceLabels=t,this.strResources=n,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,n){this.removedResources||(this.removedResources=new Sr),this.removedResources.has(t)||this.removedResources.set(t,new xr(e,n))}setValid(e,t,n){n?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new Sr),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new xr(e,0)))}toString(){return`[${this.id}] [${this.invalidatedResources?"INVALID":"VALID"}] ${this.actual}`}}class Er{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push(" * [UNDO] "+this._past[t]);for(let t=this._future.length-1;t>=0;t--)e.push(" * [REDO] "+this._future[t]);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const n of this._past)t(n.actual)&&this._setElementValidFlag(n,e);for(const n of this._future)t(n.actual)&&this._setElementValidFlag(n,e)}pushElement(e){for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);if(this._future=[],this._past.length>0){const e=this._past[this._past.length-1];0!==e.type||e.isValid||(this._past=[])}this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let e=0,n=this._past.length;e<n;e++)t.push(this._past[e].id);for(let e=this._future.length-1;e>=0;e--)t.push(this._future[e].id);return new fr.b(e,t)}restoreSnapshot(e){const t=e.elements.length;let n=!0,i=0,r=-1;for(let o=0,s=this._past.length;o<s;o++,i++){const s=this._past[o];n&&(i>=t||s.id!==e.elements[i])&&(n=!1,r=0),n||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}let o=-1;for(let r=this._future.length-1;r>=0;r--,i++){const s=this._future[r];n&&(i>=t||s.id!==e.elements[i])&&(n=!1,o=r),n||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}-1!==r&&(this._past=this._past.slice(0,r)),-1!==o&&(this._future=this._future.slice(o+1)),this.versionId++}getElements(){const e=[],t=[];for(const t of this._past)e.push(t.actual);for(const e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let n=this._past.length-1;n>=0;n--)if(this._past[n]===e){t.has(this.strResource)?this._past[n]=t.get(this.strResource):this._past.splice(n,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let n=this._future.length-1;n>=0;n--)if(this._future[n]===e){t.has(this.strResource)?this._future[n]=t.get(this.strResource):this._future.splice(n,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class Tr{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;e<t;e++)this._versionIds[e]=this.editStacks[e].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const Lr=new Er("","");Lr.locked=!0;let Nr=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){console.log("------------------------------------"),console.log(`AFTER ${e}: `);let t=[];for(const e of this._editStacks)t.push(e[1].toString());console.log(t.join("\n"))}pushElement(e){if(0===e.type){const t=wr(e.resource),n=this.getUriComparisonKey(e.resource);this._pushElement(new Cr(e,t,n))}else{const t=new Set,n=[],i=[];for(const r of e.resources){const e=wr(r),o=this.getUriComparisonKey(r);t.has(o)||(t.add(o),n.push(e),i.push(o))}1===n.length?this._pushElement(new Cr(e,n[0],i[0])):this._pushElement(new kr(e,n,i))}}_pushElement(e){for(let t=0,n=e.strResources.length;t<n;t++){const n=e.resourceLabels[t],i=e.strResources[t];let r;this._editStacks.has(i)?r=this._editStacks.get(i):(r=new Er(n,i),this._editStacks.set(i,r)),r.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);if(e.hasFutureElements())return null;const n=e.getClosestPastElement();return n?n.actual:null}return null}_splitPastWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=wr(e.resource),n=this.getUriComparisonKey(e.resource),r=new Cr(e,t,n);i.set(r.strResource,r)}for(const n of e.strResources){if(t&&t.has(n))continue;this._editStacks.get(n).splitPastWorkspaceElement(e,i)}}_splitFutureWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=wr(e.resource),n=this.getUriComparisonKey(e.resource),r=new Cr(e,t,n);i.set(r.strResource,r)}for(const n of e.strResources){if(t&&t.has(n))continue;this._editStacks.get(n).splitFutureWorkspaceElement(e,i)}}removeElements(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);if(this._editStacks.has(t)){this._editStacks.get(t).dispose(),this._editStacks.delete(t)}}setElementsValidFlag(e,t,n){const i=this.getUriComparisonKey(e);if(this._editStacks.has(i)){this._editStacks.get(i).setElementsValidFlag(t,n)}}createSnapshot(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).createSnapshot(e)}return new fr.b(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const n=this._editStacks.get(t);n.restoreSnapshot(e),n.hasPastElements()||n.hasFutureElements()||(n.dispose(),this._editStacks.delete(t))}}getElements(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).getElements()}return{past:[],future:[]}}canUndo(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasPastElements()}return!1}_onError(e,t){Object(H.e)(e);for(const e of t.strResources)this.removeElements(e);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,n,i=I.a.None){const r=this._acquireLocks(n);let o;try{o=t()}catch(t){return r(),i.dispose(),this._onError(t,e)}if(o)return o.then(()=>{r(),i.dispose()},t=>(r(),i.dispose(),this._onError(t,e)));r(),i.dispose()}_invokeWorkspacePrepare(e){return vr(this,void 0,void 0,(function*(){if(void 0===e.actual.prepareUndoRedo)return I.a.None;const t=e.actual.prepareUndoRedo();return void 0===t?I.a.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return void t(I.a.None);const n=e.actual.prepareUndoRedo();if(n){if(!Object(I.g)(n))return n.then(e=>{t(e)});t(n)}else t(I.a.None)}_getAffectedEditStacks(e){const t=[];for(const n of e.strResources)t.push(this._editStacks.get(n)||Lr);return new Tr(t)}_tryToSplitAndUndo(e,t,n,i){if(t.canSplit())return this._splitPastWorkspaceElement(t,n),this._notificationService.info(i),new Ir(this.undo(e));for(const e of t.strResources)this.removeElements(e);return this._notificationService.info(i),new Ir}_checkWorkspaceUndo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,Ke.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,Ke.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const r=[];for(const e of n.editStacks)e.getClosestPastElement()!==t&&r.push(e.resourceLabel);if(r.length>0)return this._tryToSplitAndUndo(e,t,null,Ke.a({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,r.join(", ")));const o=[];for(const e of n.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndUndo(e,t,null,Ke.a({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):n.isValid()?null:this._tryToSplitAndUndo(e,t,null,Ke.a({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceUndo(e,t,n,!1);return i?i.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n)}_confirmAndExecuteWorkspaceUndo(e,t,n){return vr(this,void 0,void 0,(function*(){if(t.canSplit()){const i=yield this._dialogService.show(Ae.a.Info,Ke.a("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),[Ke.a({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",n.editStacks.length),Ke.a("nok","Undo this File"),Ke.a("cancel","Cancel")],{cancelId:2});if(2===i.choice)return;if(1===i.choice)return this._splitPastWorkspaceElement(t,null),this.undo(e);const r=this._checkWorkspaceUndo(e,t,n,!1);if(r)return r.returnValue}let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const r=this._checkWorkspaceUndo(e,t,n,!0);if(r)return i.dispose(),r.returnValue;for(const e of n.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),n,i)}))}_resourceUndo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new Tr([e]),n)));{const e=Ke.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}undo(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);if(!this._editStacks.has(t))return;const n=this._editStacks.get(t),i=n.getClosestPastElement();if(i)try{return 1===i.type?this._workspaceUndo(t,i):this._resourceUndo(n,i)}finally{0}}canRedo(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasFutureElements()}return!1}_tryToSplitAndRedo(e,t,n,i){if(t.canSplit())return this._splitFutureWorkspaceElement(t,n),this._notificationService.info(i),new Ir(this.redo(e));for(const e of t.strResources)this.removeElements(e);return this._notificationService.info(i),new Ir}_checkWorkspaceRedo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,Ke.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,Ke.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const r=[];for(const e of n.editStacks)e.getClosestFutureElement()!==t&&r.push(e.resourceLabel);if(r.length>0)return this._tryToSplitAndRedo(e,t,null,Ke.a({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,r.join(", ")));const o=[];for(const e of n.editStacks)e.locked&&o.push(e.resourceLabel);return o.length>0?this._tryToSplitAndRedo(e,t,null,Ke.a({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,o.join(", "))):n.isValid()?null:this._tryToSplitAndRedo(e,t,null,Ke.a({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceRedo(e,t,n,!1);return i?i.returnValue:this._executeWorkspaceRedo(e,t,n)}_executeWorkspaceRedo(e,t,n){return vr(this,void 0,void 0,(function*(){let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const r=this._checkWorkspaceRedo(e,t,n,!0);if(r)return i.dispose(),r.returnValue;for(const e of n.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),n,i)}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new Tr([e]),n)));{const e=Ke.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}redo(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);if(!this._editStacks.has(t))return;const n=this._editStacks.get(t),i=n.getClosestFutureElement();if(i)try{return 1===i.type?this._workspaceRedo(t,i):this._resourceRedo(n,i)}finally{0}}};Nr=br([_r(0,Wi.a),_r(1,st.a)],Nr);class Ir{constructor(e){this.returnValue=e}}Object(dr.b)(fr.a,Nr);n(266);var Dr=n(4),Or=n(25),Ar=(n(186),n(141)),Rr=n(151);const Mr=new N.b(()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}});function Pr(e,t,n){const i=e.toLowerCase(),r=t.toLowerCase(),o=function(e,t,n){const i=e.toLowerCase(),r=t.toLowerCase(),o=i.startsWith(n),s=r.startsWith(n);if(o!==s)return o?-1:1;if(o&&s){if(i.length<r.length)return-1;if(i.length>r.length)return 1}return 0}(e,t,n);if(o)return o;const s=i.endsWith(n);if(s!==r.endsWith(n))return s?-1:1;const a=function(e,t,n=!1){const i=e||"",r=t||"",o=Mr.value.collator.compare(i,r);return Mr.value.collatorIsNumeric&&0===o&&i!==r?i<r?-1:1:o}(i,r);return 0!==a?a:i.localeCompare(r)}var Fr=n(172),Wr=n(156),zr=n(98),Br=n(147);const jr={},Vr=new Br.a("quick-input-button-icon-");function Ur(e){if(!e)return;let t;const n=e.dark.toString();return jr[n]?t=jr[n]:(t=Vr.nextId(),a.u("."+t,"background-image: "+a.q(e.light||e.dark)),a.u(`.vs-dark .${t}, .hc-black .${t}`,"background-image: "+a.q(e.dark)),jr[n]=t),t}n(271);const Hr=a.a;class qr{constructor(e,t,n){this.os=t,this.options=n,this.domNode=a.p(e,Hr(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}set(e,t){this.didEverRender&&this.keybinding===e&&qr.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(a.s(this.domNode),this.keybinding){let[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(a.p(this.domNode,Hr("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}renderPart(e,t,n){const i=tt.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,i.ctrlKey,Boolean(null==n?void 0:n.ctrlKey),i.separator),t.shiftKey&&this.renderKey(e,i.shiftKey,Boolean(null==n?void 0:n.shiftKey),i.separator),t.altKey&&this.renderKey(e,i.altKey,Boolean(null==n?void 0:n.altKey),i.separator),t.metaKey&&this.renderKey(e,i.metaKey,Boolean(null==n?void 0:n.metaKey),i.separator);const r=t.keyLabel;r&&this.renderKey(e,r,Boolean(null==n?void 0:n.keyCode),"")}renderKey(e,t,n,i){a.p(e,Hr("span.monaco-keybinding-key"+(n?".highlight":""),void 0,t)),i&&a.p(e,Hr("span.monaco-keybinding-key-separator",void 0,i))}renderUnbound(e){a.p(e,Hr("span.monaco-keybinding-key",void 0,Object(Ke.a)("unbound","Unbound")))}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&Object(je.e)(e.firstPart,t.firstPart)&&Object(je.e)(e.chordPart,t.chordPart)}}var $r=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};const Kr=a.a;class Gr{constructor(e){this.hidden=!1,this._onChecked=new De.a,this.onChecked=this._onChecked.event,Object(je.a)(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class Yr{get templateId(){return Yr.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=a.p(e,Kr(".quick-input-list-entry"));const n=a.p(t.entry,Kr("label.quick-input-list-label"));t.toDisposeTemplate.push(a.n(n,a.c.CLICK,e=>{t.checkbox.offsetParent||e.preventDefault()})),t.checkbox=a.p(n,Kr("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(a.n(t.checkbox,a.c.CHANGE,e=>{t.element.checked=t.checkbox.checked}));const i=a.p(n,Kr(".quick-input-list-rows")),r=a.p(i,Kr(".quick-input-list-row")),o=a.p(i,Kr(".quick-input-list-row"));t.label=new Fr.a(r,{supportHighlights:!0,supportDescriptionHighlights:!0,supportCodicons:!0});const s=a.p(r,Kr(".quick-input-list-entry-keybinding"));t.keybinding=new qr(s,O.a);const l=a.p(o,Kr(".quick-input-list-label-meta"));return t.detail=new Wr.a(l,!0),t.separator=a.p(t.entry,Kr(".quick-input-list-separator")),t.actionBar=new si.a(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,n){n.toDisposeElement=Object(I.f)(n.toDisposeElement),n.element=e,n.checkbox.checked=e.checked,n.toDisposeElement.push(e.onChecked(e=>n.checkbox.checked=e));const{labelHighlights:i,descriptionHighlights:r,detailHighlights:o}=e,s=Object.create(null);s.matches=i||[],s.descriptionTitle=e.saneDescription,s.descriptionMatches=r||[],s.extraClasses=e.item.iconClasses,s.italic=e.item.italic,s.strikethrough=e.item.strikethrough,n.label.setLabel(e.saneLabel,e.saneDescription,s),n.keybinding.set(e.item.keybinding),n.detail.set(e.saneDetail,o),e.separator&&e.separator.label?(n.separator.textContent=e.separator.label,n.separator.style.display=""):n.separator.style.display="none",e.separator?a.e(n.entry,"quick-input-list-separator-border"):a.Q(n.entry,"quick-input-list-separator-border"),n.actionBar.clear();const l=e.item.buttons;l&&l.length?(n.actionBar.push(l.map((t,n)=>{let i=t.iconClass||(t.iconPath?Ur(t.iconPath):void 0);t.alwaysVisible&&(i=i?i+" always-visible":"always-visible");const r=new oi.a("id-"+n,"",i,!0,()=>(e.fireButtonTriggered({button:t,item:e.item}),Promise.resolve()));return r.tooltip=t.tooltip||"",r}),{icon:!0,label:!1}),a.e(n.entry,"has-actions")):a.Q(n.entry,"has-actions")}disposeElement(e,t,n){n.toDisposeElement=Object(I.f)(n.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=Object(I.f)(e.toDisposeElement),e.toDisposeTemplate=Object(I.f)(e.toDisposeTemplate)}}Yr.ID="listelement";class Zr{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return Yr.ID}}var Xr;!function(e){e[e.First=1]="First",e[e.Second=2]="Second",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Previous=5]="Previous",e[e.NextPage=6]="NextPage",e[e.PreviousPage=7]="PreviousPage"}(Xr||(Xr={}));class Qr{constructor(e,t,n){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new De.a,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new De.a,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new De.a,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new De.a,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new De.a,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new De.a,this.onKeyDown=this._onKeyDown.event,this._onLeave=new De.a,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=a.p(this.parent,Kr(".quick-input-list"));const i=new Zr,r=new Jr;this.list=n.createList("QuickInput",this.container,i,[new Yr],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:r}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(e=>{const t=new Ie.a(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(O.f?e.metaKey:e.ctrlKey)&&this.list.setFocus(Object(j.s)(this.list.length));break;case 16:const t=this.list.getFocus();1===t.length&&0===t[0]&&this._onLeave.fire();break;case 18:const n=this.list.getFocus();1===n.length&&n[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(t)})),this.disposables.push(this.list.onMouseDown(e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()})),this.disposables.push(a.i(this.container,a.c.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(e=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(e=>{"number"==typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return De.b.map(this.list.onDidChangeFocus,e=>e.elements.map(e=>e.item))}get onDidChangeSelection(){return De.b.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(e=>e.item),event:e.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.hidden){if(!i.checked)return!1;t=!0}}return t}getCheckedCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].checked&&e++;return e}getVisibleCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].hidden||e++;return e}setAllVisibleChecked(e){try{this._fireCheckedEvents=!1,this.elements.forEach(t=>{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=Object(I.f)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce((n,i,r)=>{var o,s,a;if("separator"!==i.type){const l=r&&e[r-1],c=i.label&&i.label.replace(/\r?\n/g," "),d=i.description&&i.description.replace(/\r?\n/g," "),h=i.detail&&i.detail.replace(/\r?\n/g," "),u=i.ariaLabel||[c,d,h].map(e=>e&&Object(Rr.c)(e).text).filter(e=>!!e).join(", ");n.push(new Gr({index:r,item:i,saneLabel:c,saneAriaLabel:u,saneDescription:d,saneDetail:h,labelHighlights:null===(o=i.highlights)||void 0===o?void 0:o.label,descriptionHighlights:null===(s=i.highlights)||void 0===s?void 0:s.description,detailHighlights:null===(a=i.highlights)||void 0===a?void 0:a.detail,checked:!1,separator:l&&"separator"===l.type?l:void 0,fireButtonTriggered:t}))}return n},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(e=>e.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((e,t,n)=>(e.set(t.item,n),e),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){if(this.list.setFocus(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e))),e.length>0){const e=this.list.getFocus()[0];"number"==typeof e&&this.list.reveal(e)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){this.list.setSelection(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const n of e)t.add(n);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(!this.list.length)return;switch(e===Xr.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=Xr.First),e===Xr.Previous&&0===this.list.getFocus()[0]&&(e=Xr.Last),e===Xr.Second&&this.list.length<2&&(e=Xr.First),e){case Xr.First:this.list.focusFirst();break;case Xr.Second:this.list.focusNth(1);break;case Xr.Last:this.list.focusLast();break;case Xr.Next:this.list.focusNext();break;case Xr.Previous:this.list.focusPrevious();break;case Xr.NextPage:this.list.focusNextPage();break;case Xr.PreviousPage:this.list.focusPreviousPage()}const t=this.list.getFocus()[0];"number"==typeof t&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;(e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)?this.elements.forEach(t=>{const n=this.matchOnLabel?Object(ne.n)(Object(Rr.b)(e,Object(Rr.c)(t.saneLabel))):void 0,i=this.matchOnDescription?Object(ne.n)(Object(Rr.b)(e,Object(Rr.c)(t.saneDescription||""))):void 0,r=this.matchOnDetail?Object(ne.n)(Object(Rr.b)(e,Object(Rr.c)(t.saneDetail||""))):void 0;n||i||r?(t.labelHighlights=n,t.descriptionHighlights=i,t.detailHighlights=r,t.hidden=!1):(t.labelHighlights=void 0,t.descriptionHighlights=void 0,t.detailHighlights=void 0,t.hidden=!t.item.alwaysShow),t.separator=void 0}):this.elements.forEach(e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;const t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0});const t=this.elements.filter(e=>!e.hidden);if(this.sortByLabel&&e){const n=e.toLowerCase();t.sort((e,t)=>function(e,t,n){const i=e.labelHighlights||[],r=t.labelHighlights||[];if(i.length&&!r.length)return-1;if(!i.length&&r.length)return 1;if(0===i.length&&0===r.length)return 0;return Pr(e.saneLabel,t.saneLabel,n)}(e,t,n))}return this.elementsToIndexes=t.reduce((e,t,n)=>(e.set(t.item,n),e),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const n of e)n.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=Object(I.f)(this.elementDisposables),this.disposables=Object(I.f)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}$r([zr.a],Qr.prototype,"onDidChangeFocus",null),$r([zr.a],Qr.prototype,"onDidChangeSelection",null);class Jr{getWidgetAriaLabel(){return Object(Ke.a)("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var eo=n(173);const to=a.a;class no extends I.a{constructor(e){super(),this.parent=e,this.onKeyDown=e=>a.i(this.inputBox.inputElement,a.c.KEY_DOWN,t=>{e(new Ie.a(t))}),this.onMouseDown=e=>a.i(this.inputBox.inputElement,a.c.MOUSE_DOWN,t=>{e(new fi.a(t))}),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=a.p(this.parent,to(".quick-input-box")),this.inputBox=this._register(new eo.b(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===Ae.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===Ae.a.Info?1:e===Ae.a.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===Ae.a.Info?1:e===Ae.a.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}var io=n(185);n(277);const ro={progressBarBackground:En.a.fromHex("#0E70C0")};class oo extends I.a{constructor(e,t){super(),this.options=t||Object.create(null),Object(je.g)(this.options,ro,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new N.d(()=>Object(a.Z)(this.element),0)),this.create(e)}create(e){this.element=document.createElement("div"),Object(a.e)(this.element,"monaco-progress-container"),e.appendChild(this.element),this.bit=document.createElement("div"),Object(a.e)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(a.R)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(e){return Object(a.e)(this.element,"done"),Object(a.I)(this.element,"infinite")?(this.bit.style.opacity="0",e?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",Object(a.R)(this.element,"discrete","done"),Object(a.f)(this.element,"active","infinite"),this}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}}}n(279);var so=n(61);const ao={buttonBackground:En.a.fromHex("#0E639C"),buttonHoverBackground:En.a.fromHex("#006BB3"),buttonForeground:En.a.white};class lo extends I.a{constructor(e,t){super(),this._onDidClick=this._register(new De.a),this.options=t||Object.create(null),Object(je.g)(this.options,ao,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),a.e(this._element,"monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(so.b.addTarget(this._element)),[a.c.CLICK,so.a.Tap].forEach(e=>{this._register(a.i(this._element,e,e=>{this.enabled?this._onDidClick.fire(e):a.b.stop(e)}))}),this._register(a.i(this._element,a.c.KEY_DOWN,e=>{const t=new Ie.a(e);let n=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),n=!0):t.equals(9)&&(this._element.blur(),n=!0),n&&a.b.stop(t,!0)})),this._register(a.i(this._element,a.c.MOUSE_OVER,e=>{a.I(this._element,"disabled")||this.setHoverBackground()})),this._register(a.i(this._element,a.c.MOUSE_OUT,e=>{this.applyStyles()})),this.focusTracker=this._register(a.bb(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(t=this.buttonForeground?this.buttonForeground.toString():"",e=this.buttonBackground?this.buttonBackground.toString():"");const n=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?"1px":"",this._element.style.borderStyle=n?"solid":"",this._element.style.borderColor=n}}get element(){return this._element}set label(e){a.I(this._element,"monaco-text-button")||a.e(this._element,"monaco-text-button"),this.options.supportCodicons?a.U(this._element,...function(e){const t=new Array;let n,i=0,r=0;for(;null!==(n=pi.g.exec(e));){r=n.index||0,t.push(e.substring(i,r)),i=(n.index||0)+n[0].length;const[,o,s,l,c]=n;t.push(o?`$(${s})`:a.a(`span.codicon.codicon-${l}${c?".codicon-animation-"+c:""}`))}return i<e.length&&t.push(e.substring(i)),t}(e)):this._element.textContent=e,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(a.Q(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(a.e(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!0)),a.T(this._element))}get enabled(){return!a.I(this._element,"disabled")}}var co=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const ho=a.a,uo={iconClass:Object(pi.e)("quick-input-back",pi.a.arrowLeft).classNames,tooltip:Object(Ke.a)("quickInput.back","Back"),handle:-1};class po extends I.a{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new De.a),this.onDidHideEmitter=this._register(new De.a),this.onDisposeEmitter=this._register(new De.a),this.visibleDisposables=this._register(new I.b),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){this._ignoreFocusOut=e,this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this.update())}hide(){this.visible&&this.ui.hide()}didHide(){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire()}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" ;");const t=this.getDescription();if(this.ui.description.textContent!==t&&(this.ui.description.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new N.e,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter(e=>e===uo);this.ui.leftActionBar.push(e.map((e,t)=>{const n=new oi.a("id-"+t,"",e.iconClass||Ur(e.iconPath),!0,()=>co(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return n.tooltip=e.tooltip||"",n}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const t=this.buttons.filter(e=>e!==uo);this.ui.rightActionBar.push(t.map((e,t)=>{const n=new oi.a("id-"+t,"",e.iconClass||Ur(e.iconPath),!0,()=>co(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return n.tooltip=e.tooltip||"",n}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey)}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?Object(Ke.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e===Ae.a.Error){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?""+t.foreground:"",this.ui.message.style.backgroundColor=t.background?""+t.background:"",this.ui.message.style.border=t.border?"1px solid "+t.border:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}class mo extends po{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new De.a),this.onDidAcceptEmitter=this._register(new De.a),this.onDidCustomEmitter=this._register(new De.a),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?Ar.a.NONE:Ar.a.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new De.a),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new De.a),this.onDidTriggerItemButtonEmitter=this._register(new De.a),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value=e||"",this.update()}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Ar.b:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(Xr.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{if(e===this.value)return;this._value=e;this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(Xr.Next),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(Xr.Previous):this.ui.list.focus(Xr.Last),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 12:this.ui.list.focus(Xr.NextPage),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 11:this.ui.list.focus(Xr.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),a.b.stop(e,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Xr.First),a.b.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Xr.Last),a.b.stop(e,!0))}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.onDidAcceptEmitter.fire({inBackground:!1})})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Object(j.g)(e,this._activeItems,(e,t)=>e===t)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Object(j.g)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.onDidAcceptEmitter.fire({inBackground:t instanceof MouseEvent&&1===t.button}))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&Object(j.g)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}registerQuickNavigation(){return a.i(this.ui.container,a.c.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new Ie.a(e),n=t.keyCode;this._quickNavigate.keybindings.some(e=>{const[i,r]=e.getParts();return!r&&(i.shiftKey&&4===n?!(t.ctrlKey||t.altKey||t.metaKey):!(!i.altKey||6!==n)||(!(!i.ctrlKey||5!==n)||!(!i.metaKey||57!==n)))})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!1})),this._quickNavigate=void 0)})}update(){if(!this.visible)return;let e=!1,t=!1;this._hideInput&&this._items.length>0&&(this.ui.isScreenReaderOptimized()?t=!0:e=!0),a.ab(this.ui.container,"hidden-input",e);const n={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany,inputBox:!e,progressBar:!e,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};if(this.ui.setVisibilities(n),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),t)this.ui.inputBox.ariaLabel="";else{const e=this.ariaLabel||this.placeholder||mo.DEFAULT_ARIA_LABEL;this.ui.inputBox.ariaLabel!==e&&(this.ui.inputBox.ariaLabel=e)}if(this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Ar.a.NONE:this._itemActivation=Ar.a.FIRST;break;case Ar.a.SECOND:this.ui.list.focus(Xr.Second),this._itemActivation=Ar.a.FIRST;break;case Ar.a.LAST:this.ui.list.focus(Xr.Last),this._itemActivation=Ar.a.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.validationMessage?(this.ui.message.textContent=this.validationMessage,this.showMessageDecoration(Ae.a.Error)):(this.ui.message.textContent=null,this.showMessageDecoration(Ae.a.Ignore)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),n.inputBox||this.ui.list.domFocus()}}mo.DEFAULT_ARIA_LABEL=Object(Ke.a)("quickInputBox.ariaLabel","Type to narrow down results.");class go extends I.a{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new De.a),this.onDidCustomEmitter=this._register(new De.a),this.onDidTriggerButtonEmitter=this._register(new De.a),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new De.a),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new De.a),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=e=>{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(a.i(window,a.c.KEY_DOWN,e,!0)),this._register(a.i(window,a.c.KEY_UP,e,!0)),this._register(a.i(window,a.c.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=a.p(this.parentElement,ho(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=a.v(e),n=a.p(e,ho(".quick-input-titlebar")),i=this._register(new si.a(n));i.domNode.classList.add("quick-input-left-action-bar");const r=a.p(n,ho(".quick-input-title")),o=this._register(new si.a(n));o.domNode.classList.add("quick-input-right-action-bar");const s=a.p(e,ho(".quick-input-description")),l=a.p(e,ho(".quick-input-header")),c=a.p(l,ho("input.quick-input-check-all"));c.type="checkbox",this._register(a.n(c,a.c.CHANGE,e=>{const t=c.checked;x.setAllVisibleChecked(t)})),this._register(a.i(c,a.c.CLICK,e=>{(e.x||e.y)&&u.setFocus()}));const d=a.p(l,ho(".quick-input-and-message")),h=a.p(d,ho(".quick-input-filter")),u=this._register(new no(h));u.setAttribute("aria-describedby",this.idPrefix+"message");const p=a.p(h,ho(".quick-input-visible-count"));p.setAttribute("aria-live","polite"),p.setAttribute("aria-atomic","true");const m=new io.a(p,{countFormat:Object(Ke.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),g=a.p(h,ho(".quick-input-count"));g.setAttribute("aria-live","polite");const f=new io.a(g,{countFormat:Object(Ke.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),b=a.p(l,ho(".quick-input-action")),_=new lo(b);_.label=Object(Ke.a)("ok","OK"),this._register(_.onDidClick(e=>{this.onDidAcceptEmitter.fire()}));const v=a.p(l,ho(".quick-input-action")),w=new lo(v);w.label=Object(Ke.a)("custom","Custom"),this._register(w.onDidClick(e=>{this.onDidCustomEmitter.fire()}));const y=a.p(d,ho(`#${this.idPrefix}message.quick-input-message`)),C=new oo(e);a.e(C.getContainer(),"quick-input-progress");const x=this._register(new Qr(e,this.idPrefix+"list",this.options));this._register(x.onChangedAllVisibleChecked(e=>{c.checked=e})),this._register(x.onChangedVisibleCount(e=>{m.setCount(e)})),this._register(x.onChangedCheckedCount(e=>{f.setCount(e)})),this._register(x.onLeave(()=>{setTimeout(()=>{u.setFocus(),this.controller instanceof mo&&this.controller.canSelectMany&&x.clearFocus()},0)})),this._register(x.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));const S=a.bb(e);return this._register(S),this._register(a.i(e,a.c.FOCUS,e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0},!0)),this._register(S.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(),this.previousFocusElement=void 0})),this._register(a.i(e,a.c.FOCUS,e=>{u.setFocus()})),this._register(a.i(e,a.c.KEY_DOWN,t=>{const n=new Ie.a(t);switch(n.keyCode){case 3:a.b.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:a.b.stop(t,!0),this.hide();break;case 2:if(!n.altKey&&!n.ctrlKey&&!n.metaKey){const i=[".action-label.codicon"];e.classList.contains("show-checkboxes")?i.push("input"):i.push("input[type=text]"),this.getUI().list.isDisplayed()&&i.push(".monaco-list");const r=e.querySelectorAll(i.join(", "));n.shiftKey&&n.target===r[0]?(a.b.stop(t,!0),r[r.length-1].focus()):n.shiftKey||n.target!==r[r.length-1]||(a.b.stop(t,!0),r[0].focus())}}})),this.ui={container:e,styleSheet:t,leftActionBar:i,titleBar:n,title:r,description:s,rightActionBar:o,checkAll:c,filterContainer:h,inputBox:u,visibleCountContainer:p,visibleCount:m,countContainer:g,count:f,okContainer:b,ok:_,message:y,customButtonContainer:v,customButton:w,progressBar:C,list:x,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},n=Or.a.None){return new Promise((i,r)=>{let o=e=>{o=i,t.onKeyMods&&t.onKeyMods(s.keyMods),i(e)};if(n.isCancellationRequested)return void o(void 0);const s=this.createQuickPick();let a;const l=[s,s.onDidAccept(()=>{if(s.canSelectMany)o(s.selectedItems.slice()),s.hide();else{const e=s.activeItems[0];e&&(o(e),s.hide())}}),s.onDidChangeActive(e=>{const n=e[0];n&&t.onDidFocus&&t.onDidFocus(n)}),s.onDidChangeSelection(e=>{if(!s.canSelectMany){const t=e[0];t&&(o(t),s.hide())}}),s.onDidTriggerItemButton(e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{const t=s.items.indexOf(e.item);if(-1!==t){const e=s.items.slice();e.splice(t,1),s.items=e}}}))),s.onDidChangeValue(e=>{!a||e||1===s.activeItems.length&&s.activeItems[0]===a||(s.activeItems=[a])}),n.onCancellationRequested(()=>{s.hide()}),s.onDidHide(()=>{Object(I.f)(l),o(void 0)})];s.canSelectMany=!!t.canPickMany,s.placeholder=t.placeHolder,s.ignoreFocusOut=!!t.ignoreFocusLost,s.matchOnDescription=!!t.matchOnDescription,s.matchOnDetail=!!t.matchOnDetail,s.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,s.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,s.quickNavigate=t.quickNavigate,s.contextKey=t.contextKey,s.busy=!0,Promise.all([e,t.activeItem]).then(([e,t])=>{a=t,s.busy=!1,s.items=e,s.canSelectMany&&(s.selectedItems=e.filter(e=>"separator"!==e.type&&e.picked)),a&&(s.activeItems=[a])}),s.show(),Promise.resolve(e).then(void 0,e=>{r(e),s.hide()})})}createQuickPick(){const e=this.getUI();return new mo(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const n=this.controller;this.controller=e,n&&n.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(Ae.a.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),t.message.textContent="",t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="";const i=this.options.backKeybindingLabel();uo.tooltip=i?Object(Ke.a)("quickInput.backWithKeybinding","Back ({0})",i):Object(Ke.a)("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description.style.display=e.description?"":"none",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkAll?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(){var e;const t=this.controller;if(t){const n=!(null===(e=this.ui)||void 0===e?void 0:e.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",n||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),t.didHide()}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";const e=this.ui.container.style,t=Math.min(.62*this.dimension.width,go.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:n,contrastBorder:i,widgetShadow:r}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():"",this.ui.container.style.backgroundColor=t?t.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=i?"1px solid "+i:"",this.ui.container.style.boxShadow=r?"0 5px 8px "+r:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const o=[];this.styles.list.listInactiveFocusForeground&&(o.push(`.monaco-list .monaco-list-row.focused { color: ${this.styles.list.listInactiveFocusForeground}; }`),o.push(`.monaco-list .monaco-list-row.focused:hover { color: ${this.styles.list.listInactiveFocusForeground}; }`)),this.styles.list.pickerGroupBorder&&o.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&o.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`);const s=o.join("\n");s!==this.ui.styleSheet.innerHTML&&(this.ui.styleSheet.innerHTML=s)}}}go.MAX_WIDTH=600;var fo=n(110),bo=n(134),_o=n(133),vo=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},wo=function(e,t){return function(n,i){t(n,i,e)}};let yo=class extends I.a{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=ln.a.as(bo.b.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){var n;const[i,r]=this.getOrInstantiateProvider(e),o=this.visibleQuickAccess,s=null==o?void 0:o.descriptor;if(o&&r&&s===r)return e===r.prefix||(null==t?void 0:t.preserveValue)||(o.picker.value=e),void this.adjustValueSelection(o.picker,r,t);if(r&&!(null==t?void 0:t.preserveValue)){let t=void 0;if(o&&s&&s!==r){const e=o.value.substr(s.prefix.length);e&&(t=`${r.prefix}${e}`)}if(!t){const e=null==i?void 0:i.defaultFilterValue;e===bo.a.LAST?t=this.lastAcceptedPickerValues.get(r):"string"==typeof e&&(t=`${r.prefix}${e}`)}"string"==typeof t&&(e=t)}const a=new I.b,l=a.add(this.quickInputService.createQuickPick());l.value=e,this.adjustValueSelection(l,r,t),l.placeholder=null==r?void 0:r.placeholder,l.quickNavigate=null==t?void 0:t.quickNavigateConfiguration,l.hideInput=!!l.quickNavigate&&!o,("number"==typeof(null==t?void 0:t.itemActivation)||(null==t?void 0:t.quickNavigateConfiguration))&&(l.itemActivation=null!==(n=null==t?void 0:t.itemActivation)&&void 0!==n?n:fo.b.SECOND),l.contextKey=null==r?void 0:r.contextKey,l.filterValue=e=>e.substring(r?r.prefix.length:0),(null==r?void 0:r.placeholder)&&(l.ariaLabel=null==r?void 0:r.placeholder);const c=this.registerPickerListeners(l,i,r,e,a);i&&a.add(i.provide(l,c)),l.show()}adjustValueSelection(e,t,n){var i;let r;r=(null==n?void 0:n.preserveValue)?[e.value.length,e.value.length]:[null!==(i=null==t?void 0:t.prefix.length)&&void 0!==i?i:0,e.value.length],e.valueSelection=r}registerPickerListeners(e,t,n,i,r){const o=this.visibleQuickAccess={picker:e,descriptor:n,value:i};r.add(Object(I.h)(()=>{o===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),r.add(e.onDidChangeValue(e=>{const[n]=this.getOrInstantiateProvider(e);n!==t?this.show(e,{preserveValue:!0}):o.value=e})),n&&r.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(n,e.value)}));const s=r.add(new Or.b);return Object(_o.a)(e.onDidHide)(()=>{0===e.selectedItems.length&&s.cancel(),r.dispose()}),s.token}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let n=this.mapProviderToDescriptor.get(t);return n||(n=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,n)),[n,t]}};yo=vo([wo(0,fo.a),wo(1,Ft.a)],yo);var Co=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},xo=function(e,t){return function(n,i){t(n,i,e)}};let So=class extends zt.d{constructor(e,t,n,i,r){super(n),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=i,this.layoutService=r,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(yo))),this._quickAccess}createController(e=this.layoutService,t){var n,i;const r={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,n,i,r)=>this.instantiationService.createInstance(Ki.d,e,t,n,i,r),styles:this.computeStyles()},o=this._register(new go(Object.assign(Object.assign({},r),t)));return o.layout(e.dimension,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0),this._register(e.onLayout(t=>{var n,i;return o.layout(t,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0)})),this._register(o.onShow(()=>this.resetContextKeys())),this._register(o.onHide(()=>this.resetContextKeys())),o}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new Mt.c(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},n=Or.a.None){return this.controller.pick(e,t,n)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(Ti.d)(this.theme,{quickInputBackground:Mn.dc,quickInputForeground:Mn.ec,quickInputTitleBackground:Mn.fc,contrastBorder:Mn.h,widgetShadow:Mn.uc})),inputBox:Object(Ti.d)(this.theme,{inputForeground:Mn.hb,inputBackground:Mn.fb,inputBorder:Mn.gb,inputValidationInfoBackground:Mn.lb,inputValidationInfoForeground:Mn.nb,inputValidationInfoBorder:Mn.mb,inputValidationWarningBackground:Mn.ob,inputValidationWarningForeground:Mn.qb,inputValidationWarningBorder:Mn.pb,inputValidationErrorBackground:Mn.ib,inputValidationErrorForeground:Mn.kb,inputValidationErrorBorder:Mn.jb}),countBadge:Object(Ti.d)(this.theme,{badgeBackground:Mn.c,badgeForeground:Mn.d,badgeBorder:Mn.h}),button:Object(Ti.d)(this.theme,{buttonForeground:Mn.f,buttonBackground:Mn.e,buttonHoverBackground:Mn.g,buttonBorder:Mn.h}),progressBar:Object(Ti.d)(this.theme,{progressBarBackground:Mn.cc}),list:Object(Ti.d)(this.theme,{listBackground:Mn.dc,listInactiveFocusForeground:Mn.yb,listInactiveFocusBackground:Mn.xb,listFocusOutline:Mn.b,listInactiveFocusOutline:Mn.b,pickerGroupBorder:Mn.Xb,pickerGroupForeground:Mn.Yb})}}};So=Co([xo(0,Ft.a),xo(1,Mt.b),xo(2,zt.c),xo(3,Bt.b),xo(4,Ri)],So);var ko=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Eo=function(e,t){return function(n,i){t(n,i,e)}};let To=class extends So{constructor(e,t,n,i,r,o){super(t,n,i,r,o),this.host=void 0;const s=No.get(e);this.host={_serviceBrand:void 0,get container(){return s.widget.getDomNode()},get dimension(){return e.getLayoutInfo()},get onLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}createController(){return super.createController(this.host)}};To=ko([Eo(1,Ft.a),Eo(2,Mt.b),Eo(3,zt.c),Eo(4,Bt.b),Eo(5,Ri)],To);let Lo=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const n=t=this.instantiationService.createInstance(To,e);this.mapEditorToService.set(e,t),Object(_o.a)(e.onDidDispose)(()=>{n.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},n=Or.a.None){return this.activeService.pick(e,t,n)}createQuickPick(){return this.activeService.createQuickPick()}};Lo=ko([Eo(0,Ft.a),Eo(1,s.a)],Lo);class No{constructor(e){this.editor=e,this.widget=new Io(this.editor)}static get(e){return e.getContribution(No.ID)}dispose(){this.widget.dispose()}}No.ID="editor.controller.quickInput";class Io{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return Io.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}Io.ID="editor.contrib.quickInputWidget",Object(Dr.m)(No.ID,No);var Do,Oo=n(166);!function(e){const t=new Vi.a;class n{constructor(e,t){this._serviceId=e,this._factory=t,this._value=null}get id(){return this._serviceId}get(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value}}e.LazyStaticService=n;let i=[];function r(e,t){let r=new n(e,t);return i.push(r),r}e.init=function(e){let t=new Vi.a;for(const[e,n]of Object(dr.a)())t.set(e,n);for(let n in e)e.hasOwnProperty(n)&&t.set(Object(Ft.c)(n),e[n]);i.forEach(n=>t.set(n.id,n.get(e)));let n=new Hi(t,!0);return t.set(Ft.a,n),[t,n]},e.instantiationService=r(Ft.a,()=>new Hi(t,!0));const o=new wt;e.configurationService=r(ze.a,()=>o),e.resourceConfigurationService=r(z.a,()=>new yt(o)),e.resourcePropertiesService=r(z.b,()=>new Ct(o)),e.contextService=r(at.a,()=>new St),e.labelService=r($i.a,()=>new Tt),e.telemetryService=r(Ii.a,()=>new xt),e.dialogService=r(Wi.a,()=>new gt),e.notificationService=r(st.a,()=>new ft),e.markerService=r(Gi.b,()=>new Qi),e.modeService=r(Zt.a,e=>new un),e.standaloneThemeService=r(At.a,()=>new $n),e.logService=r(V.b,()=>new V.a),e.undoRedoService=r(fr.a,t=>new Nr(e.dialogService.get(t),e.notificationService.get(t))),e.modelService=r(W.a,t=>new pn.a(e.configurationService.get(t),e.resourcePropertiesService.get(t),e.standaloneThemeService.get(t),e.logService.get(t),e.undoRedoService.get(t))),e.markerDecorationsService=r(rr.a,t=>new cr(e.modelService.get(t),e.markerService.get(t))),e.codeEditorService=r(s.a,t=>new kn(e.standaloneThemeService.get(t))),e.editorProgressService=r(Vt.a,()=>new mt),e.storageService=r(Ji.a,()=>new Ji.b),e.storageSyncService=r(Oo.a,()=>new Oo.b),e.editorWorkerService=r(T.a,t=>new Y(e.modelService.get(t),e.resourceConfigurationService.get(t),e.logService.get(t)))}(Do||(Do={}));class Ao extends I.a{constructor(e,t){super();const[n,i]=Do.init(t);this._serviceCollection=n,this._instantiationService=i;const r=this.get(ze.a),o=this.get(st.a),a=this.get(Ii.a),l=this.get(zt.c),c=this.get(V.b);let d=(e,n)=>{let i=null;return t&&(i=t[e.toString()]),i||(i=n()),this._serviceCollection.set(e,i),i},h=d(Mt.b,()=>this._register(new ii(r)));d(Bt.b,()=>new pr(h,r)),d(Ki.a,()=>new Ki.b(l));let u=d(p.b,()=>new bt(this._instantiationService)),m=d(Wt.a,()=>this._register(new _t(h,u,a,o,c,e))),g=d(Ri,()=>new Lt(Do.codeEditorService.get(s.a),e));d(fo.a,()=>new Lo(i,Do.codeEditorService.get(s.a)));let f=d(Pt.b,()=>this._register(new Fi(g)));d(jt.a,()=>new gr),d(Pt.a,()=>{const e=new Ai(a,o,f,m,l);return e.configure({blockMouse:!1}),this._register(e)}),d(Rt.a,()=>new nr(u)),d(Me.a,()=>new Et(Do.modelService.get(W.a)))}get(e){let t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t}set(e,t){this._serviceCollection.set(e,t)}has(e){return this._serviceCollection.has(e)}}var Ro=n(87);function Mo(e,t,n){let i=new Ao(e,t),r=null;i.has(L.a)||(r=new pt(Do.modelService.get()),i.set(L.a,r)),i.has(m.a)||i.set(m.a,new w(i.get(s.a),i.get(p.b)));let o=n(i);return r&&r.setEditor(o),o}function Po(e,t,n){return Mo(e,n||{},n=>new Gt(e,t,n,n.get(Ft.a),n.get(s.a),n.get(p.b),n.get(Mt.b),n.get(Wt.a),n.get(Pt.b),n.get(At.a),n.get(st.a),n.get(ze.a),n.get(Bt.b)))}function Fo(e){return Do.codeEditorService.get().onCodeEditorAdd(t=>{e(t)})}function Wo(e,t,n){return Mo(e,n||{},n=>new Yt(e,t,n,n.get(Ft.a),n.get(Mt.b),n.get(Wt.a),n.get(Pt.b),n.get(T.a),n.get(s.a),n.get(At.a),n.get(st.a),n.get(ze.a),n.get(Pt.a),n.get(Vt.a),n.get(jt.a)))}function zo(e,t){return new y.a(e,t)}function Bo(e,t,n){return Do.modelService.get().createModel(e,t,n)}function jo(e,t,n){if(e=e||"",!t){let t=e.indexOf("\n"),i=e;return-1!==t&&(i=e.substring(0,t)),Bo(e,Do.modeService.get().createByFilepathOrFirstLine(n||null,i),n)}return Bo(e,Do.modeService.get().create(t),n)}function Vo(e,t){Do.modelService.get().setMode(e,Do.modeService.get().create(t))}function Uo(e,t,n){e&&Do.markerService.get().changeOne(t,e.uri,n)}function Ho(e){return Do.markerService.get().read(e)}function qo(e){return Do.modelService.get().getModel(e)}function $o(){return Do.modelService.get().getModels()}function Ko(e){return Do.modelService.get().onModelAdded(e)}function Go(e){return Do.modelService.get().onModelRemoved(e)}function Yo(e){return Do.modelService.get().onModelModeChanged(t=>{e({model:t.model,oldLanguage:t.oldModeId})})}function Zo(e){return function(e,t){return new ie(e,t)}(Do.modelService.get(),e)}function Xo(e,t){const n=Do.standaloneThemeService.get();return n.registerEditorContainer(e),Te.colorizeElement(n,Do.modeService.get(),e,t)}function Qo(e,t,n){return Do.standaloneThemeService.get().registerEditorContainer(document.body),Te.colorize(Do.modeService.get(),e,t,n)}function Jo(e,t,n=4){return Do.standaloneThemeService.get().registerEditorContainer(document.body),Te.colorizeModelLine(e,t,n)}function es(e,t){Do.modeService.get().triggerMode(t);let n=function(e){let t=k.C.get(e);return t||{getInitialState:()=>E.c,tokenize:(t,n,i)=>Object(E.d)(e,t,n,i)}}(t),i=e.split(/\r\n|\r|\n/),r=[],o=n.getInitialState();for(let e=0,t=i.length;e<t;e++){let t=i[e],s=n.tokenize(t,o,0);r[e]=s.tokens,o=s.endState}return r}function ts(e,t){Do.standaloneThemeService.get().defineTheme(e,t)}function ns(e){Do.standaloneThemeService.get().setTheme(e)}function is(){Object(Ro.b)()}function rs(e,t){return"boolean"==typeof e?e:t}function os(e,t){return"string"==typeof e?e:t}function ss(e,t=!1){t&&(e=e.map((function(e){return e.toLowerCase()})));const n=function(e){const t={};for(const n of e)t[n]=!0;return t}(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function as(e,t){let n=0;for(;t.indexOf("@")>=0&&n<5;)n++,t=t.replace(/@(\w+)/g,(function(n,i){let r="";if("string"==typeof e[i])r=e[i];else{if(!(e[i]&&e[i]instanceof RegExp))throw void 0===e[i]?ge(e,"language definition does not contain attribute '"+i+"', used at: "+t):ge(e,"attribute reference '"+i+"' must be a string, used at: "+t);r=e[i].source}return ue(r)?"":"(?:"+r+")"}));let i=(e.ignoreCase?"i":"")+(e.unicode?"u":"");return new RegExp(t,i)}function ls(e,t,n,i){let r=-1,o=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(r=parseInt(s[3]),s[2]&&(r+=100)),o=s[4]);let a,l="~",c=o;if(o&&0!==o.length?/^\w*$/.test(c)?l="==":(s=o.match(/^(@|!@|~|!~|==|!=)(.*)$/),s&&(l=s[1],c=s[2])):(l="!=",c=""),"~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(c))if("@"===l||"!@"===l){let n=e[c];if(!n)throw ge(e,"the @ match target '"+c+"' is not defined, in rule: "+t);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(const n of t)if(!e(n))return!1;return!0}((function(e){return"string"==typeof e}),n))throw ge(e,"the @ match target '"+c+"' must be an array of strings, in rule: "+t);let i=ss(n,e.ignoreCase);a=function(e){return"@"===l?i(e):!i(e)}}else if("~"===l||"!~"===l)if(c.indexOf("$")<0){let t=as(e,"^"+c+"$");a=function(e){return"~"===l?t.test(e):!t.test(e)}}else a=function(t,n,i,r){return as(e,"^"+fe(e,c,n,i,r)+"$").test(t)};else if(c.indexOf("$")<0){let t=pe(e,c);a=function(e){return"=="===l?e===t:e!==t}}else{let t=pe(e,c);a=function(n,i,r,o,s){let a=fe(e,t,i,r,o);return"=="===l?n===a:n!==a}}else{let t=ss(c.split("|"),e.ignoreCase);a=function(e){return"~"===l?t(e):!t(e)}}return-1===r?{name:n,value:i,test:function(e,t,n,i){return a(e,e,t,n,i)}}:{name:n,value:i,test:function(e,t,n,i){let o=function(e,t,n,i){if(i<0)return e;if(i<t.length)return t[i];if(i>=100){i-=100;let e=n.split(".");if(e.unshift(n),i<e.length)return e[i]}return null}(e,t,n,r);return a(o||"",e,t,n,i)}}}class cs{constructor(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}setRegex(e,t){let n;if("string"==typeof t)n=t;else{if(!(t instanceof RegExp))throw ge(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=as(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")}setAction(e,t){this.action=function e(t,n,i){if(i){if("string"==typeof i)return i;if(i.token||""===i.token){if("string"!=typeof i.token)throw ge(t,"a 'token' attribute must be of type string, in rule: "+n);{let e={token:i.token};if(i.token.indexOf("$")>=0&&(e.tokenSubst=!0),"string"==typeof i.bracket)if("@open"===i.bracket)e.bracket=1;else{if("@close"!==i.bracket)throw ge(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+n);e.bracket=-1}if(i.next){if("string"!=typeof i.next)throw ge(t,"the next state must be a string value in rule: "+n);{let r=i.next;if(!/^(@pop|@push|@popall)$/.test(r)&&("@"===r[0]&&(r=r.substr(1)),r.indexOf("$")<0&&!function(e,t){let n=t;for(;n&&n.length>0;){if(e.stateNames[n])return!0;const t=n.lastIndexOf(".");n=t<0?null:n.substr(0,t)}return!1}(t,fe(t,r,"",[],""))))throw ge(t,"the next state '"+i.next+"' is not defined in rule: "+n);e.next=r}}return"number"==typeof i.goBack&&(e.goBack=i.goBack),"string"==typeof i.switchTo&&(e.switchTo=i.switchTo),"string"==typeof i.log&&(e.log=i.log),"string"==typeof i.nextEmbedded&&(e.nextEmbedded=i.nextEmbedded,t.usesEmbedded=!0),e}}if(Array.isArray(i)){let r=[];for(let o=0,s=i.length;o<s;o++)r[o]=e(t,n,i[o]);return{group:r}}if(i.cases){let r=[];for(let o in i.cases)if(i.cases.hasOwnProperty(o)){const s=e(t,n,i.cases[o]);"@default"===o||"@"===o||""===o?r.push({test:void 0,value:s,name:o}):"@eos"===o?r.push({test:function(e,t,n,i){return i},value:s,name:o}):r.push(ls(t,n,o,s))}const o=t.defaultToken;return{test:function(e,t,n,i){for(const o of r){if(!o.test||o.test(e,t,n,i))return o.value}return o}}}throw ge(t,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+n)}return{token:""}}(e,this.name,t)}}function ds(e){an.a.registerLanguage(e)}function hs(){let e=[];return e=e.concat(an.a.getLanguages()),e}function us(e){let t=Do.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function ps(e,t){let n=Do.modeService.get().onDidCreateMode(i=>{i.getId()===e&&(n.dispose(),t())});return n}function ms(e,t){let n=Do.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return P.a.register(n,t)}class gs{constructor(e){this._actual=e}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,n){throw new Error("Not supported!")}tokenize2(e,t){let n=this._actual.tokenizeEncoded(e,t);return new le.c(n.tokens,n.endState)}}class fs{constructor(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}getInitialState(){return this._actual.getInitialState()}_toClassicTokens(e,t,n){let i=[],r=0;for(let o=0,s=e.length;o<s;o++){const s=e[o];let a=s.startIndex;0===o?a=0:a<r&&(a=r),i[o]=new le.a(a+n,s.scopes,t),r=a}return i}tokenize(e,t,n){let i,r=this._actual.tokenize(e,t),o=this._toClassicTokens(r.tokens,this._languageIdentifier.language,n);return i=r.endState.equals(t)?t:r.endState,new le.b(o,i)}_toBinaryTokens(e,t){const n=this._languageIdentifier.id,i=this._standaloneThemeService.getColorTheme().tokenTheme;let r=[],o=0,s=0;for(let a=0,l=e.length;a<l;a++){const l=e[a],c=i.match(n,l.scopes);if(o>0&&r[o-1]===c)continue;let d=l.startIndex;0===a?d=0:d<s&&(d=s),r[o++]=d+t,r[o++]=c,s=d}let a=new Uint32Array(o);for(let e=0;e<o;e++)a[e]=r[e];return a}tokenize2(e,t,n){let i,r=this._actual.tokenize(e,t),o=this._toBinaryTokens(r.tokens,n);return i=r.endState.equals(t)?t:r.endState,new le.c(o,i)}}function bs(e){return e&&"function"==typeof e.then}function _s(e,t){let n=Do.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);const i=e=>function(e){return"tokenizeEncoded"in e}(e)?new gs(e):new fs(Do.standaloneThemeService.get(),n,e);return bs(t)?k.C.registerPromise(e,t.then(e=>i(e))):k.C.register(e,i(t))}function vs(e,t){const n=t=>function(e,t,n,i){return new ke(e,t,n,i)}(Do.modeService.get(),Do.standaloneThemeService.get(),e,function(e,t){if(!t||"object"!=typeof t)throw new Error("Monarch: expecting a language definition object");let n={};n.languageId=e,n.noThrow=!1,n.maxStack=100,n.start="string"==typeof t.start?t.start:null,n.ignoreCase=rs(t.ignoreCase,!1),n.unicode=rs(t.unicode,!1),n.tokenPostfix=os(t.tokenPostfix,"."+n.languageId),n.defaultToken=os(t.defaultToken,"source"),n.usesEmbedded=!1;let i=t;function r(e,o,s){for(const a of s){let s=a.include;if(s){if("string"!=typeof s)throw ge(n,"an 'include' attribute must be a string at: "+e);if("@"===s[0]&&(s=s.substr(1)),!t.tokenizer[s])throw ge(n,"include target '"+s+"' is not defined at: "+e);r(e+"."+s,o,t.tokenizer[s])}else{const t=new cs(e);if(Array.isArray(a)&&a.length>=1&&a.length<=3)if(t.setRegex(i,a[0]),a.length>=3)if("string"==typeof a[1])t.setAction(i,{token:a[1],next:a[2]});else{if("object"!=typeof a[1])throw ge(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);{const e=a[1];e.next=a[2],t.setAction(i,e)}}else t.setAction(i,a[1]);else{if(!a.regex)throw ge(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);a.name&&"string"==typeof a.name&&(t.name=a.name),a.matchOnlyAtStart&&(t.matchOnlyAtLineStart=rs(a.matchOnlyAtLineStart,!1)),t.setRegex(i,a.regex),t.setAction(i,a.action)}o.push(t)}}}if(i.languageId=e,i.ignoreCase=n.ignoreCase,i.unicode=n.unicode,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw ge(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(let e in t.tokenizer)if(t.tokenizer.hasOwnProperty(e)){n.start||(n.start=e);const i=t.tokenizer[e];n.tokenizer[e]=new Array,r("tokenizer."+e,n.tokenizer[e],i)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw ge(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let o=[];for(let e of t.brackets){let t=e;if(t&&Array.isArray(t)&&3===t.length&&(t={token:t[2],open:t[0],close:t[1]}),t.open===t.close)throw ge(n,"open and close brackets in a 'brackets' attribute must be different: "+t.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof t.open||"string"!=typeof t.token||"string"!=typeof t.close)throw ge(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");o.push({token:t.token+n.tokenPostfix,open:pe(n,t.open),close:pe(n,t.close)})}return n.brackets=o,n.noThrow=!0,n}(e,t));return bs(t)?k.C.registerPromise(e,t.then(e=>n(e))):k.C.register(e,n(t))}function ws(e,t){return k.v.register(e,t)}function ys(e,t){return k.w.register(e,t)}function Cs(e,t){return k.y.register(e,t)}function xs(e,t){return k.p.register(e,{provideHover:(e,n,i)=>{let r=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,i)).then(e=>{if(e)return!e.range&&r&&(e.range=new M.a(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn)),e.range||(e.range=new M.a(n.lineNumber,n.column,n.lineNumber,n.column)),e})}})}function Ss(e,t){return k.m.register(e,t)}function ks(e,t){return k.i.register(e,t)}function Es(e,t){return k.u.register(e,t)}function Ts(e,t){return k.f.register(e,t)}function Ls(e,t){return k.q.register(e,t)}function Ns(e,t){return k.D.register(e,t)}function Is(e,t){return k.b.register(e,t)}function Ds(e,t){return k.a.register(e,{provideCodeActions:(e,n,i,r)=>{let o=Do.markerService.get().read({resource:e.uri}).filter(e=>M.a.areIntersectingOrTouching(e,n));return t.provideCodeActions(e,n,{markers:o,only:i.only},r)}})}function Os(e,t){return k.g.register(e,t)}function As(e,t){return k.j.register(e,t)}function Rs(e,t){return k.t.register(e,t)}function Ms(e,t){return k.s.register(e,t)}function Ps(e,t){return k.d.register(e,t)}function Fs(e,t){return k.c.register(e,t)}function Ws(e,t){return k.o.register(e,t)}function zs(e,t){return k.e.register(e,t)}function Bs(e,t){return k.x.register(e,t)}function js(e,t){return k.l.register(e,t)}function Vs(e,t){return k.k.register(e,t)}const Us=self;r.g.wrappingIndent.defaultValue=0,r.g.glyphMargin.defaultValue=!1,r.g.autoIndent.defaultValue=3,r.g.overviewRulerLanes.defaultValue=2;const Hs=Object(o.a)();Hs.editor={create:Po,onDidCreateEditor:Fo,createDiffEditor:Wo,createDiffNavigator:zo,createModel:jo,setModelLanguage:Vo,setModelMarkers:Uo,getModelMarkers:Ho,getModels:$o,getModel:qo,onDidCreateModel:Ko,onWillDisposeModel:Go,onDidChangeModelLanguage:Yo,createWebWorker:Zo,colorizeElement:Xo,colorize:Qo,colorizeModelLine:Jo,tokenize:es,defineTheme:ts,setTheme:ns,remeasureFonts:is,AccessibilitySupport:re.a,ContentWidgetPositionPreference:re.f,CursorChangeReason:re.g,DefaultEndOfLine:re.h,EditorAutoIndentStrategy:re.j,EditorOption:re.k,EndOfLinePreference:re.l,EndOfLineSequence:re.m,MinimapPosition:re.r,MouseTargetType:re.s,OverlayWidgetPositionPreference:re.t,OverviewRulerLane:re.u,RenderLineNumbersType:re.v,RenderMinimap:re.w,ScrollbarVisibility:re.y,ScrollType:re.x,TextEditorCursorBlinkingStyle:re.D,TextEditorCursorStyle:re.E,TrackedRangeStickiness:re.F,WrappingIndent:re.G,ConfigurationChangedEvent:r.b,BareFontInfo:C.a,FontInfo:C.b,TextModelResolvedOptions:S.e,FindMatch:S.b,EditorType:x.a,EditorOptions:r.g},Hs.languages={register:ds,getLanguages:hs,onLanguage:ps,getEncodedLanguageId:us,setLanguageConfiguration:ms,setTokensProvider:_s,setMonarchTokensProvider:vs,registerReferenceProvider:ws,registerRenameProvider:ys,registerCompletionItemProvider:Ps,registerSignatureHelpProvider:Cs,registerHoverProvider:xs,registerDocumentSymbolProvider:Ss,registerDocumentHighlightProvider:ks,registerOnTypeRenameProvider:Es,registerDefinitionProvider:Ts,registerImplementationProvider:Ls,registerTypeDefinitionProvider:Ns,registerCodeLensProvider:Is,registerCodeActionProvider:Ds,registerDocumentFormattingEditProvider:Os,registerDocumentRangeFormattingEditProvider:As,registerOnTypeFormattingEditProvider:Rs,registerLinkProvider:Ms,registerColorProvider:Fs,registerFoldingRangeProvider:Ws,registerDeclarationProvider:zs,registerSelectionRangeProvider:Bs,registerDocumentSemanticTokensProvider:js,registerDocumentRangeSemanticTokensProvider:Vs,DocumentHighlightKind:re.i,CompletionItemKind:re.c,CompletionItemTag:re.d,CompletionItemInsertTextRule:re.b,SymbolKind:re.B,SymbolTag:re.C,IndentAction:re.n,CompletionTriggerKind:re.e,SignatureHelpTriggerKind:re.A,FoldingRangeKind:k.n};const qs=Hs.CancellationTokenSource,$s=Hs.Emitter,Ks=Hs.KeyCode,Gs=Hs.KeyMod,Ys=Hs.Position,Zs=Hs.Range,Xs=Hs.Selection,Qs=Hs.SelectionDirection,Js=Hs.MarkerSeverity,ea=Hs.MarkerTag,ta=Hs.Uri,na=Hs.Token,ia=Hs.editor,ra=Hs.languages;Us.monaco=Hs,void 0!==Us.require&&"function"==typeof Us.require.config&&Us.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("modeService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(18),r=n(141);n.d(t,"b",(function(){return r.a}));const o=Object(i.c)("quickInputService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(12);class r{constructor(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}equals(e){return e instanceof r&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;const i=t<<1,r=i+(n<<1);for(let t=i;t<r;t++)if(this._tokens[t]!==e._tokens[t])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[1+(e<<1)]}getLanguageId(e){const t=this._tokens[1+(e<<1)];return i.B.getLanguageId(t)}getStandardTokenType(e){const t=this._tokens[1+(e<<1)];return i.B.getTokenType(t)}getForeground(e){const t=this._tokens[1+(e<<1)];return i.B.getForeground(t)}getClassName(e){const t=this._tokens[1+(e<<1)];return i.B.getClassNameFromMetadata(t)}getInlineStyle(e,t){const n=this._tokens[1+(e<<1)];return i.B.getInlineStyleFromMetadata(n,t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return r.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,n){return new o(this,e,t,n)}static convertToEndOffset(e,t){const n=(e.length>>>1)-1;for(let t=0;t<n;t++)e[t<<1]=e[t+1<<1];e[n<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let n=0,i=(e.length>>>1)-1;for(;n<i;){const r=n+Math.floor((i-n)/2),o=e[r<<1];if(o===t)return r+1;o<t?n=r+1:o>t&&(i=r)}return n}}class o{constructor(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,i=e.getCount();t<i;t++){if(e.getStartOffset(t)>=n)break;this._tokensCount++}}equals(e){return e instanceof o&&(this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount))}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(143);function r(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===i.a.ICodeEditor}function o(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===i.a.IDiffEditor}function s(e){return r(e)?e:o(e)?e.getModifiedEditor():null}},function(e,t,n){"use strict";n.d(t,"e",(function(){return T})),n.d(t,"f",(function(){return L})),n.d(t,"a",(function(){return I})),n.d(t,"h",(function(){return A})),n.d(t,"g",(function(){return R})),n.d(t,"d",(function(){return P})),n.d(t,"b",(function(){return F})),n.d(t,"c",(function(){return q}));n(197);var i=n(2),r=n(14),o=n(16),s=n(98),a=n(1),l=n(11),c=n(61),d=n(67),h=n(6),u=n(44);class p extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var m=n(162),g=n(15),f=n(46);class b{constructor(e){this.spliceables=e}splice(e,t,n){this.spliceables.forEach(i=>i.splice(e,t,n))}}var _,v=n(118),w=n(71),y=n(66),C=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};class x{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return"template:"+this.trait.trait}renderTemplate(e){return e}renderElement(e,t,n){const i=Object(o.j)(this.renderedElements,e=>e.templateData===n);if(i>=0){const e=this.renderedElements[i];this.trait.unrender(n),e.index=t}else{const e={index:t,templateData:n};this.renderedElements.push(e)}this.trait.renderIndex(t,n)}splice(e,t,n){const i=[];for(const r of this.renderedElements)r.index<e?i.push(r):r.index>=e+t&&i.push({index:r.index+n-t,templateData:r.templateData});this.renderedElements=i}renderIndexes(e){for(const{index:t,templateData:n}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,n)}disposeTemplate(e){const t=Object(o.j)(this.renderedElements,t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class S{constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new h.a,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new x(this)}splice(e,t,n){const i=n.length-t,r=e+t,o=[...this.sortedIndexes.filter(t=>t<e),...n.map((t,n)=>t?n+e:-1).filter(e=>-1!==e),...this.sortedIndexes.filter(e=>e>=r).map(e=>e+i)];this.renderer.splice(e,t,n.length),this._set(o,o)}renderIndex(e,t){a.ab(t,this._trait,this.contains(e))}unrender(e){a.Q(e,this._trait)}set(e,t){return this._set(e,[...e].sort(j),t)}_set(e,t,n){const i=this.indexes,r=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const o=B(r,e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:n}),i}get(){return this.indexes}contains(e){return Object(o.c)(this.sortedIndexes,e,j)>=0}dispose(){Object(i.f)(this._onChange)}}C([s.a],S.prototype,"renderer",null);class k extends S{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class E{constructor(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}splice(e,t,n){if(!this.identityProvider)return this.trait.splice(e,t,n.map(()=>!1));const i=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString()),r=n.map(e=>i.indexOf(this.identityProvider.getId(e).toString())>-1);this.trait.splice(e,t,r)}}function T(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function L(e){return!!a.I(e,"monaco-editor")||!a.I(e,"monaco-list")&&(!!e.parentElement&&L(e.parentElement))}class N{constructor(e,t,n){this.list=e,this.view=t,this.disposables=new i.b;const r=!1!==n.multipleSelectionSupport,o=h.b.chain(Object(u.a)(t.domNode,"keydown")).filter(e=>!T(e.target)).map(e=>new d.a(e));o.filter(e=>3===e.keyCode).on(this.onEnter,this,this.disposables),o.filter(e=>16===e.keyCode).on(this.onUpArrow,this,this.disposables),o.filter(e=>18===e.keyCode).on(this.onDownArrow,this,this.disposables),o.filter(e=>11===e.keyCode).on(this.onPageUpArrow,this,this.disposables),o.filter(e=>12===e.keyCode).on(this.onPageDownArrow,this,this.disposables),o.filter(e=>9===e.keyCode).on(this.onEscape,this,this.disposables),r&&o.filter(e=>(l.f?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.disposables)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(o.s)(this.list.length),e.browserEvent),this.view.domNode.focus()}onEscape(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()}dispose(){this.disposables.dispose()}}!function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(_||(_={}));const I=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class D{constructor(e,t,n,r){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=r,this.enabled=!1,this.state=_.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new i.b,this.disposables=new i.b,this.updateOptions(e.options)}updateOptions(e){void 0===e.enableKeyboardNavigation||!!e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const e=h.b.chain(Object(u.a)(this.view.domNode,"keydown")).filter(e=>!T(e.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(e=>new d.a(e)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>{e.stopPropagation(),e.preventDefault()}).map(e=>e.browserEvent.key).event,t=h.b.debounce(e,()=>null,800);h.b.reduce(h.b.any(e,t),(e,t)=>null===t?null:(e||"")+t)(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const n=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));n&&Object(y.a)(n)}this.previouslyFocused=-1}onInput(e){if(!e)return this.state=_.Idle,void(this.triggered=!1);const t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===_.Idle?1:0;this.state=_.Typing;for(let t=0;t<this.list.length;t++){const r=(n+t+i)%this.list.length,o=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(r)),s=o&&o.toString();if(void 0===s||Object(w.h)(e,s))return this.previouslyFocused=n,this.list.setFocus([r]),void this.list.reveal(r)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class O{constructor(e,t){this.list=e,this.view=t,this.disposables=new i.b;h.b.chain(Object(u.a)(t.domNode,"keydown")).filter(e=>!T(e.target)).map(e=>new d.a(e)).filter(e=>!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(0===t.length)return;const n=this.view.domElement(t[0]);if(!n)return;const i=n.querySelector("[tabIndex]");if(!(i&&i instanceof HTMLElement&&-1!==i.tabIndex))return;const r=window.getComputedStyle(i);"hidden"!==r.visibility&&"none"!==r.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}dispose(){this.disposables.dispose()}}function A(e){return l.f?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function R(e){return e.browserEvent.shiftKey}const M={isSelectionSingleChangeEvent:A,isSelectionRangeChangeEvent:R};class P{constructor(e){this.list=e,this.disposables=new i.b,this._onPointer=new h.a,this.onPointer=this._onPointer.event,this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||M),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(c.b.addTarget(e.getHTMLElement()))),h.b.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}isSelectionSingleChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):l.f?e.browserEvent.metaKey:e.browserEvent.ctrlKey}isSelectionRangeChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){L(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(L(e.browserEvent.target))return;const t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport)return;if(T(e.browserEvent.target)||L(e.browserEvent.target))return;let t=this.list.getFocus()[0];const n=this.list.getSelection();t=void 0===t?n[0]:t;const i=e.index;return void 0===i?(this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent)):this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e)?this.changeSelection(e,t):(this.list.setFocus([i],e.browserEvent),(r=e.browserEvent)instanceof MouseEvent&&2===r.button||this.list.setSelection([i],e.browserEvent),void this._onPointer.fire(e));var r}onDoubleClick(e){if(T(e.browserEvent.target)||L(e.browserEvent.target))return;if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e,t){const n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){const i=Math.min(t,n),r=Math.max(t,n),s=Object(o.s)(i,r+1),a=this.list.getSelection(),l=function(e,t){const n=e.indexOf(t);if(-1===n)return[];const i=[];let r=n-1;for(;r>=0&&e[r]===t-(n-r);)i.push(e[r--]);i.reverse(),r=n;for(;r<e.length&&e[r]===t+(r-n);)i.push(e[r++]);return i}(B(a,[t]),t);if(0===l.length)return;const c=B(s,function(e,t){const n=[];let i=0,r=0;for(;i<e.length||r<t.length;)if(i>=e.length)n.push(t[r++]);else if(r>=t.length)n.push(e[i++]);else{if(e[i]===t[r]){i++,r++;continue}e[i]<t[r]?n.push(e[i++]):r++}return n}(a,l));this.list.setSelection(c,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const t=this.list.getSelection(),i=t.filter(e=>e!==n);this.list.setFocus([n]),t.length===i.length?this.list.setSelection([...i,n],e.browserEvent):this.list.setSelection(i,e.browserEvent)}}dispose(){this.disposables.dispose()}}class F{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&"."+this.selectorSuffix,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):l.f||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),e.listFocusBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listFocusAndSelectionBackground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusBackground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(n.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&n.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&n.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&n.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&n.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&n.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&n.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&n.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&n.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&n.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&n.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&n.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`);const i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)}}const W={listFocusBackground:g.a.fromHex("#7FB0D0"),listActiveSelectionBackground:g.a.fromHex("#0E639C"),listActiveSelectionForeground:g.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:g.a.fromHex("#094771"),listFocusAndSelectionForeground:g.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:g.a.fromHex("#3F3F46"),listHoverBackground:g.a.fromHex("#2A2D2E"),listDropBackground:g.a.fromHex("#383B3D"),treeIndentGuidesStroke:g.a.fromHex("#a9a9a9")},z={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function B(e,t){const n=[];let i=0,r=0;for(;i<e.length||r<t.length;)if(i>=e.length)n.push(t[r++]);else if(r>=t.length)n.push(e[i++]);else{if(e[i]===t[r]){n.push(e[i]),i++,r++;continue}e[i]<t[r]?n.push(e[i++]):n.push(t[r++])}return n}const j=(e,t)=>e-t;class V{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,n,i){let r=0;for(const o of this.renderers)o.renderElement(e,t,n[r++],i)}disposeElement(e,t,n,i){let r=0;for(const o of this.renderers)o.disposeElement&&o.disposeElement(e,t,n[r],i),r+=1}disposeTemplate(e){let t=0;for(const n of this.renderers)n.disposeTemplate(e[t++])}}class U{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,n){const i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");const r=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof r?n.setAttribute("aria-level",""+r):n.removeAttribute("aria-level")}disposeTemplate(e){}}class H{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)}onDragOver(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}drop(e,t,n,i){this.dnd.drop(e,t,n,i)}}class q{constructor(e,t,n,r,o=z){var s;this.user=e,this._options=o,this.eventBufferer=new h.c,this._ariaLabel="",this.disposables=new i.b,this.didJustPressContextMenuKey=!1,this._onDidDispose=new h.a,this.onDidDispose=this._onDidDispose.event;const l=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(s=this._options.accessibilityProvider)||void 0===s?void 0:s.getWidgetRole():"list";this.selection=new k("listbox"!==l),this.focus=new S("focused"),Object(f.g)(o,W,!1);const c=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(c.push(new U(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),r=r.map(e=>new V(e.templateId,[...c,e]));const d=Object.assign(Object.assign({},o),{dnd:o.dnd&&new H(this,o.dnd)});if(this.view=new m.b(t,n,r,d),this.view.domNode.setAttribute("role",l),o.styleController)this.styleController=o.styleController(this.view.domId);else{const e=a.v(this.view.domNode);this.styleController=new F(e,this.view.domId)}if(this.spliceable=new b([new E(this.focus,this.view,o.identityProvider),new E(this.selection,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=h.b.map(Object(u.a)(this.view.domNode,"focus",!0),()=>null),this.onDidBlur=h.b.map(Object(u.a)(this.view.domNode,"blur",!0),()=>null),this.disposables.add(new O(this,this.view)),"boolean"!=typeof o.keyboardSupport||o.keyboardSupport){const e=new N(this,this.view,o);this.disposables.add(e)}if(o.keyboardNavigationLabelProvider){const e=o.keyboardNavigationDelegate||I;this.typeLabelController=new D(this,this.view,o.keyboardNavigationLabelProvider,e),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(o),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),o.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return h.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e))}get onDidChangeSelection(){return h.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){const e=h.b.chain(Object(u.a)(this.view.domNode,"keydown")).map(e=>new d.a(e)).filter(e=>this.didJustPressContextMenuKey=58===e.keyCode||e.shiftKey&&68===e.keyCode).filter(e=>(e.preventDefault(),e.stopPropagation(),!1)).event,t=h.b.chain(Object(u.a)(this.view.domNode,"keyup")).filter(()=>{const e=this.didJustPressContextMenuKey;return this.didJustPressContextMenuKey=!1,e}).filter(()=>this.getFocus().length>0&&!!this.view.domElement(this.getFocus()[0])).map(e=>{const t=this.getFocus()[0];return{index:t,element:this.view.element(t),anchor:this.view.domElement(t),browserEvent:e}}).event,n=h.b.chain(this.view.onContextMenu).filter(()=>!this.didJustPressContextMenuKey).map(({element:e,index:t,browserEvent:n})=>({element:e,index:t,anchor:{x:n.clientX+1,y:n.clientY},browserEvent:n})).event;return h.b.any(e,t,n)}get onKeyDown(){return Object(u.a)(this.view.domNode,"keydown")}createMouseController(e){return new P(this)}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,n=[]){if(e<0||e>this.view.length)throw new p(this.user,"Invalid start index: "+e);if(t<0)throw new p(this.user,"Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,n))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus()}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const t of e)if(t<0||t>=this.length)throw new p(this.user,"Invalid index "+t);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setFocus(e,t){for(const t of e)if(t<0||t>=this.length)throw new p(this.user,"Invalid index "+t);this.focus.set(e,t)}focusNext(e=1,t=!1,n,i){if(0===this.length)return;const r=this.focus.get(),o=this.findNextIndex(r.length>0?r[0]+e:0,t,i);o>-1&&this.setFocus([o],n)}focusPrevious(e=1,t=!1,n,i){if(0===this.length)return;const r=this.focus.get(),o=this.findPreviousIndex(r.length>0?r[0]-e:0,t,i);o>-1&&this.setFocus([o],n)}focusNextPage(e,t){let n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=0===n?0:n-1;const i=this.view.element(n),r=this.getFocusedElements()[0];if(r!==i){const i=this.findPreviousIndex(n,!1,t);i>-1&&r!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const i=this.view.getScrollTop();this.view.setScrollTop(i+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==i&&setTimeout(()=>this.focusNextPage(e,t),0)}}focusPreviousPage(e,t){let n;const i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);const r=this.view.element(n),o=this.getFocusedElements()[0];if(o!==r){const i=this.findNextIndex(n,!1,t);i>-1&&o!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const n=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==n&&setTimeout(()=>this.focusPreviousPage(e,t),0)}}focusLast(e,t){if(0===this.length)return;const n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,n){if(0===this.length)return;const i=this.findNextIndex(e,!1,n);i>-1&&this.setFocus([i],t)}findNextIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map(e=>this.view.element(e))}reveal(e,t){if(e<0||e>=this.length)throw new p(this.user,"Invalid index "+e);const n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if(Object(r.h)(t)){const e=o-this.view.renderHeight;this.view.setScrollTop(e*Object(v.b)(t,0,1)+i)}else{const e=i+o,t=n+this.view.renderHeight;i<n&&e>=t||(i<n?this.view.setScrollTop(i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e){if(e<0||e>=this.length)throw new p(this.user,"Invalid index "+e);const t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;const r=i-this.view.renderHeight;return Math.abs((t-n)/r)}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){const e=this.focus.get();a.ab(this.view.domNode,"element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let n;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const e=this.selection.get();a.ab(this.view.domNode,"selection-none",0===e.length),a.ab(this.view.domNode,"selection-single",1===e.length),a.ab(this.view.domNode,"selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}C([s.a],q.prototype,"onDidChangeFocus",null),C([s.a],q.prototype,"onDidChangeSelection",null),C([s.a],q.prototype,"onContextMenu",null)},function(e,t,n){"use strict";function i(e,t){let n=e.getCount(),i=e.findTokenIndexAtOffset(t),o=e.getLanguageId(i),s=i;for(;s+1<n&&e.getLanguageId(s+1)===o;)s++;let a=i;for(;a>0&&e.getLanguageId(a-1)===o;)a--;return new r(e,o,a,s+1,e.getStartOffset(a),e.getEndOffset(s))}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));class r{constructor(e,t,n,i,r,o){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=r,this._lastCharOffset=o}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function o(e){return 0!=(7&e)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(163);const r=[];function o(e,t,n){r.push([e,new i.a(t,[],n)])}function s(){return r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n(196);var i=n(2),r=n(60),o=n(1),s=n(14),a=n(67),l=n(6),c=n(123);class d extends i.a{constructor(e,t={}){var n,i,s;let c,d;switch(super(),this._onDidBlur=this._register(new l.a),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new l.a),this.onDidCancel=this._onDidCancel.event,this._onDidRun=this._register(new l.a),this.onDidRun=this._onDidRun.event,this._onDidBeforeRun=this._register(new l.a),this.onDidBeforeRun=this._onDidBeforeRun.event,this.options=t,this._context=null!==(n=t.context)&&void 0!==n?n:null,this._orientation=null!==(i=this.options.orientation)&&void 0!==i?i:0,this._triggerKeys=null!==(s=this.options.triggerKeys)&&void 0!==s?s:{keys:[3,10],keyDown:!1},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new r.b,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._register(this._actionRunner.onDidBeforeRun(e=>this._onDidBeforeRun.fire(e))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&o.e(this.domNode,"animated"),this._orientation){case 0:c=15,d=17;break;case 1:c=17,d=15,this.domNode.className+=" reverse";break;case 2:c=16,d=18,this.domNode.className+=" vertical";break;case 3:c=18,d=16,this.domNode.className+=" vertical reverse"}this._register(o.i(this.domNode,o.c.KEY_DOWN,e=>{const t=new a.a(e);let n=!0;t.equals(c)?n=this.focusPrevious():t.equals(d)?n=this.focusNext():t.equals(9)?this._onDidCancel.fire():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown&&this.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())})),this._register(o.i(this.domNode,o.c.KEY_UP,e=>{const t=new a.a(e);this.isTriggerKeyEvent(t)?(this._triggerKeys.keyDown||this.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(o.bb(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{o.x()!==this.domNode&&o.L(o.x(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(n=>{t=t||e.equals(n)}),t}updateFocusedItem(){for(let e=0;e<this.actionsList.children.length;e++){const t=this.actionsList.children[e];if(o.L(o.x(),t)){this.focusedItem=e;break}}}get context(){return this._context}set context(e){this._context=e,this.viewItems.forEach(t=>t.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){const n=Array.isArray(e)?e:[e];let i=s.h(t.index)?t.index:null;n.forEach(e=>{const n=document.createElement("li");let r;n.className="action-item",n.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(o.i(n,o.c.CONTEXT_MENU,e=>{o.b.stop(e,!0)})),this.options.actionViewItemProvider&&(r=this.options.actionViewItemProvider(e)),r||(r=new c.a(this.context,e,t)),r.actionRunner=this._actionRunner,r.setActionContext(this.context),r.render(n),null===i||i<0||i>=this.actionsList.children.length?(this.actionsList.appendChild(n),this.viewItems.push(r)):(this.actionsList.insertBefore(n,this.actionsList.children[i]),this.viewItems.splice(i,0,r),i++)}),this.focusedItem&&this.focus(this.focusedItem)}clear(){Object(i.f)(this.viewItems),this.viewItems=[],o.s(this.actionsList)}focus(e){let t=!1,n=void 0;void 0===e?t=!0:"number"==typeof e?n=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(this.focusedItem=-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())}focusNext(){void 0===this.focusedItem&&(this.focusedItem=this.viewItems.length-1);const e=this.focusedItem;let t;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=e,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(),!0}focusPrevious(){void 0===this.focusedItem&&(this.focusedItem=0);const e=this.focusedItem;let t;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=e,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0),!0}updateFocus(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(let n=0;n<this.viewItems.length;n++){const i=this.viewItems[n];n===this.focusedItem?s.g(i.isEnabled)&&(i.isEnabled()&&s.g(i.focus)?i.focus(e):this.actionsList.focus({preventScroll:t})):s.g(i.blur)&&i.blur()}}doTrigger(e){if(void 0===this.focusedItem)return;const t=this.viewItems[this.focusedItem];if(t instanceof c.b){const n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}run(e,t){return this._actionRunner.run(e,t)}dispose(){Object(i.f)(this.viewItems),this.viewItems=[],o.S(this.getContainer()),super.dispose()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(76);class r extends i.a{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}const o=function(e){let t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}(e=>new r(e))},function(e,t,n){"use strict";function i(e,t,n){return Math.min(Math.max(e,t),n)}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));class r{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return m}));var i=n(8),r=n(132),o=n(3);class s{constructor(e,t,n,i,r,o){this.languageIdentifier=e,this.index=t,this.open=n,this.close=i,this.forwardRegex=r,this.reversedRegex=o,this._openSet=s._toSet(this.open),this._closeSet=s._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const n of e)t.add(n);return t}}class a{constructor(e,t){const n=function(e){const t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);const n=[];for(let e=0;e<t;e++)n[e]=e;const i=(e,t)=>{const[n,i]=e,[r,o]=t;return n===r||n===o||i===r||i===o},r=(e,i)=>{const r=Math.min(e,i),o=Math.max(e,i);for(let e=0;e<t;e++)n[e]===o&&(n[e]=r)};for(let o=0;o<t;o++){const s=e[o];for(let a=o+1;a<t;a++){i(s,e[a])&&r(n[o],n[a])}}const o=[];for(let i=0;i<t;i++){let r=[],s=[];for(let o=0;o<t;o++)if(n[o]===i){const[t,n]=e[o];r.push(t),s.push(n)}r.length>0&&o.push({open:r,close:s})}return o}(t);this.brackets=n.map((t,i)=>new s(e,i,t.open,t.close,function(e,t,n,i){let r=[];r=r.concat(e),r=r.concat(t);for(let e=0,t=r.length;e<t;e++)l(r[e],n,i,r);return r=d(r),r.sort(c),r.reverse(),u(r)}(t.open,t.close,n,i),function(e,t,n,i){let r=[];r=r.concat(e),r=r.concat(t);for(let e=0,t=r.length;e<t;e++)l(r[e],n,i,r);return r=d(r),r.sort(c),r.reverse(),u(r.map(p))}(t.open,t.close,n,i))),this.forwardRegex=function(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=d(t),u(t)}(this.brackets),this.reversedRegex=function(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=d(t),u(t.map(p))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const e of this.brackets){for(const t of e.open)this.textIsBracket[t]=e,this.textIsOpenBracket[t]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,t.length);for(const t of e.close)this.textIsBracket[t]=e,this.textIsOpenBracket[t]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,t.length)}}}function l(e,t,n,i){for(let r=0,o=t.length;r<o;r++){if(r===n)continue;const o=t[r];for(const t of o.open)t.indexOf(e)>=0&&i.push(t);for(const t of o.close)t.indexOf(e)>=0&&i.push(t)}}function c(e,t){return e.length-t.length}function d(e){if(e.length<=1)return e;const t=[],n=new Set;for(const i of e)n.has(i)||(t.push(i),n.add(i));return t}function h(e){const t=/^[\w ]+$/.test(e);return e=i.v(e),t?`\\b${e}\\b`:e}function u(e){let t=`(${e.map(h).join(")|(")})`;return i.q(t,!0)}const p=function(){let e=null,t=null;return function(n){return e!==n&&(e=n,t=function(e){if(r.d){const t=new Uint16Array(e.length);let n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charCodeAt(i);return r.c().decode(t)}{let t=[],n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charAt(i);return t.join("")}}(e)),t}}();class m{static _findPrevBracketInText(e,t,n,i){let r=n.match(e);if(!r)return null;let s=n.length-(r.index||0),a=r[0].length,l=i+s;return new o.a(t,l-a+1,t,l+1)}static findPrevBracketInRange(e,t,n,i,r){const o=p(n).substring(n.length-r,n.length-i);return this._findPrevBracketInText(e,t,o,i)}static findNextBracketInText(e,t,n,i){let r=n.match(e);if(!r)return null;let s=r.index||0,a=r[0].length;if(0===a)return null;let l=i+s;return new o.a(t,l+1,t,l+1+a)}static findNextBracketInRange(e,t,n,i,r){const o=n.substring(i,r);return this.findNextBracketInText(e,t,o,i)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("telemetryService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("clipboardService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("textModelService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return p}));n(196);var i=n(11),r=n(0),o=n(2),s=n(60),a=n(1),l=n(14),c=n(61),d=n(125),h=n(34);class u extends o.a{constructor(e,t,n={}){super(),this.options=n,this._context=e||this,this._action=t,t instanceof s.a&&this._register(t.onDidChange(e=>{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new s.b)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(c.b.addTarget(e));const n=this.options&&this.options.draggable;n&&(e.draggable=!0,h.h&&this._register(a.i(e,a.c.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(d.a.TEXT,this._action.label)}))),this._register(a.i(t,c.a.Tap,e=>this.onClick(e))),this._register(a.i(t,a.c.MOUSE_DOWN,e=>{n||a.b.stop(e,!0),this._action.enabled&&0===e.button&&a.e(t,"active")})),i.f&&this._register(a.i(t,a.c.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register(a.i(t,a.c.CLICK,e=>{a.b.stop(e,!0),this.options&&this.options.isMenu||i.j(()=>this.onClick(e))})),this._register(a.i(t,a.c.DBLCLICK,e=>{a.b.stop(e,!0)})),[a.c.MOUSE_UP,a.c.MOUSE_OUT].forEach(e=>{this._register(a.i(t,e,e=>{a.b.stop(e),a.Q(t,"active")}))})}onClick(e){var t;a.b.stop(e,!0);const n=l.l(this._context)?(null===(t=this.options)||void 0===t?void 0:t.useEventAsContext)?e:void 0:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.focus(),a.e(this.element,"focused"))}blur(){this.element&&(this.element.blur(),a.Q(this.element,"focused"))}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(a.S(this.element),this.element=void 0),super.dispose()}}class p extends u{constructor(e,t,n={}){super(e,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=a.p(this.element,a.a("a.action-label"))),this.label&&(this._action.id===s.c.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(a.p(this.element,a.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){super.focus(),this.label&&this.label.focus()}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=r.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&a.R(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(a.e(this.label,"codicon"),this.cssClass&&a.f(this.label,this.cssClass)),this.updateEnabled()):this.label&&a.Q(this.label,"codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),a.Q(this.label,"disabled"),this.label.tabIndex=0),this.element&&a.Q(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),a.e(this.label,"disabled"),a.T(this.label)),this.element&&a.e(this.element,"disabled"))}updateChecked(){this.label&&(this.getAction().checked?a.e(this.label,"checked"):a.Q(this.label,"checked"))}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"e",(function(){return b})),n.d(t,"d",(function(){return _}));var i=n(16),r=n(111),o=n(9),s=n(3),a=n(12);function l(e){let t=0,n=0,i=0,r=0;for(let o=0,s=e.length;o<s;o++){const a=e.charCodeAt(o);13===a?(0===t&&(n=o),t++,o+1<s&&10===e.charCodeAt(o+1)?(r|=2,o++):r|=3,i=o+1):10===a&&(r|=1,0===t&&(n=o),t++,i=o+1)}return 0===t&&(n=e.length),[t,n,e.length-i,r]}function c(e){return(16384|e<<0|2<<23)>>>0}const d=new Uint32Array(0).buffer;class h{constructor(){this.tokens=[]}add(e,t){if(this.tokens.length>0){const n=this.tokens[this.tokens.length-1];if(n.startLineNumber+n.tokens.length-1+1===e)return void n.tokens.push(t)}this.tokens.push(new g(e,[t]))}}class u{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let n=0;n<this._tokenCount;n++)t.push(`(${this._getDeltaLine(n)+e},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);return`[${t.join(",")}]`}getMaxDeltaLine(){const e=this._getTokenCount();return 0===e?-1:this._getDeltaLine(e-1)}getRange(){const e=this._getTokenCount();if(0===e)return null;const t=this._getStartCharacter(0),n=this._getDeltaLine(e-1),i=this._getEndCharacter(e-1);return new s.a(0,t+1,n,i+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(e){return this._tokens[4*e]}_getStartCharacter(e){return this._tokens[4*e+1]}_getEndCharacter(e){return this._tokens[4*e+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(e){let t=0,n=this._getTokenCount()-1;for(;t<n;){const i=t+Math.floor((n-t)/2),r=this._getDeltaLine(i);if(r<e)t=i+1;else{if(!(r>e)){let r=i;for(;r>t&&this._getDeltaLine(r-1)===e;)r--;let o=i;for(;o<n&&this._getDeltaLine(o+1)===e;)o++;return new p(this._tokens.subarray(4*r,4*o+4))}n=i-1}}return this._getDeltaLine(t)===e?new p(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,n,i){const r=this._tokens,o=this._tokenCount;let s=0,a=!1,l=0;for(let c=0;c<o;c++){const o=4*c,d=r[o],h=r[o+1],u=r[o+2],p=r[o+3];if((d>e||d===e&&u>=t)&&(d<n||d===n&&h<=i))a=!0;else{if(0===s&&(l=d),a){const e=4*s;r[e]=d-l,r[e+1]=h,r[e+2]=u,r[e+3]=p}s++}}return this._tokenCount=s,l}split(e,t,n,i){const r=this._tokens,o=this._tokenCount;let s=[],a=[],l=s,c=0,d=0;for(let s=0;s<o;s++){const o=4*s,h=r[o],u=r[o+1],p=r[o+2],m=r[o+3];if(h>e||h===e&&p>=t){if(h<n||h===n&&u<=i)continue;l!==a&&(l=a,c=0,d=h)}l[c++]=h-d,l[c++]=u,l[c++]=p,l[c++]=m}return[new u(new Uint32Array(s)),new u(new Uint32Array(a)),d]}acceptDeleteRange(e,t,n,i,r){const o=this._tokens,s=this._tokenCount,a=i-t;let l=0,c=!1;for(let d=0;d<s;d++){const h=4*d;let u=o[h],p=o[h+1],m=o[h+2];const g=o[h+3];if(u<t||u===t&&m<=n){l++;continue}if(u===t&&p<n)u===i&&m>r?m-=r-n:m=n;else if(u===t&&p===n){if(!(u===i&&m>r)){c=!0;continue}m-=r-n}else if(u<i||u===i&&p<r){if(!(u===i&&m>r)){c=!0;continue}u===t?(p=n,m=p+(m-r)):(p=0,m=p+(m-r))}else if(u>i){if(0===a&&!c){l=s;break}u-=a}else{if(!(u===i&&p>=r))throw new Error("Not possible!");e&&0===u&&(p+=e,m+=e),u-=a,p-=r-n,m-=r-n}const f=4*l;o[f]=u,o[f+1]=p,o[f+2]=m,o[f+3]=g,l++}this._tokenCount=l}acceptInsertText(e,t,n,i,r,o){const s=0===n&&1===i&&(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122),a=this._tokens,l=this._tokenCount;for(let o=0;o<l;o++){const l=4*o;let c=a[l],d=a[l+1],h=a[l+2];if(!(c<e||c===e&&h<t)){if(c===e&&h===t){if(!s)continue;h+=1}else if(c===e&&d<t&&t<h)0===n?h+=i:h=t;else{if(c===e&&d===t&&s)continue;if(c===e)if(c+=n,0===n)d+=i,h+=i;else{const e=h-d;d=r+(d-t),h=d+e}else c+=n}a[l]=c,a[l+1]=d,a[l+2]=h}}}}class p{constructor(e){this._tokens=e}getCount(){return this._tokens.length/4}getStartCharacter(e){return this._tokens[4*e+1]}getEndCharacter(e){return this._tokens[4*e+2]}getMetadata(e){return this._tokens[4*e+3]}}class m{constructor(e,t){this.startLineNumber=e,this.tokens=t,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}toString(){return this.tokens.toString(this.startLineNumber)}_updateEndLineNumber(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}isEmpty(){return this.tokens.isEmpty()}getLineTokens(e){return this.startLineNumber<=e&&e<=this.endLineNumber?this.tokens.getLineTokens(e-this.startLineNumber):null}getRange(){const e=this.tokens.getRange();return e?new s.a(this.startLineNumber+e.startLineNumber,e.startColumn,this.startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;this.startLineNumber+=this.tokens.removeTokens(t,e.startColumn-1,n,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber,[i,r,o]=this.tokens.split(t,e.startColumn-1,n,e.endColumn-1);return[new m(this.startLineNumber,i),new m(this.startLineNumber+o,r)]}applyEdit(e,t){const[n,i,r]=l(t);this.acceptEdit(e,n,i,r,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,n,i,r){this._acceptDeleteRange(e),this._acceptInsertText(new o.a(e.startLineNumber,e.startColumn),t,n,i,r),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;if(n<0){const e=n-t;return void(this.startLineNumber-=e)}const i=this.tokens.getMaxDeltaLine();if(!(t>=i+1)){if(t<0&&n>=i+1)return this.startLineNumber=0,void this.tokens.clear();if(t<0){const i=-t;this.startLineNumber-=i,this.tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this.tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}_acceptInsertText(e,t,n,i,r){if(0===t&&0===n)return;const o=e.lineNumber-this.startLineNumber;if(o<0)return void(this.startLineNumber+=t);o>=this.tokens.getMaxDeltaLine()+1||this.tokens.acceptInsertText(o,e.column-1,t,n,i,r)}}class g{constructor(e,t){this.startLineNumber=e,this.tokens=t}}function f(e){return e instanceof Uint32Array?e:new Uint32Array(e)}class b{constructor(){this._pieces=[],this._isComplete=!1}flush(){this._pieces=[],this._isComplete=!1}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let n=e;if(t.length>0){const i=t[0].getRange(),r=t[t.length-1].getRange();if(!i||!r)return e;n=e.plusRange(i).plusRange(r)}let r=null;for(let e=0,t=this._pieces.length;e<t;e++){const i=this._pieces[e];if(i.endLineNumber<n.startLineNumber)continue;if(i.startLineNumber>n.endLineNumber){r=r||{index:e};break}if(i.removeTokens(n),i.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(i.endLineNumber<n.startLineNumber)continue;if(i.startLineNumber>n.endLineNumber){r=r||{index:e};continue}const[o,s]=i.split(n);o.isEmpty()?r=r||{index:e}:s.isEmpty()||(this._pieces.splice(e,1,o,s),e++,t++,r=r||{index:e})}return r=r||{index:this._pieces.length},t.length>0&&(this._pieces=i.a(this._pieces,r.index,t)),n}isComplete(){return this._isComplete}addSemanticTokens(e,t){const n=this._pieces;if(0===n.length)return t;const i=n[b._findFirstPieceWithLine(n,e)].getLineTokens(e);if(!i)return t;const o=t.getCount(),s=i.getCount();let a=0,l=[],c=0,d=0;const h=(e,t)=>{e!==d&&(d=e,l[c++]=e,l[c++]=t)};for(let e=0;e<s;e++){const n=i.getStartCharacter(e),r=i.getEndCharacter(e),s=i.getMetadata(e),l=((1&s?2048:0)|(2&s?4096:0)|(4&s?8192:0)|(8&s?8372224:0)|(16&s?4286578688:0))>>>0,c=~l>>>0;for(;a<o&&t.getEndOffset(a)<=n;)h(t.getEndOffset(a),t.getMetadata(a)),a++;for(a<o&&t.getStartOffset(a)<n&&h(n,t.getMetadata(a));a<o&&t.getEndOffset(a)<r;)h(t.getEndOffset(a),t.getMetadata(a)&c|s&l),a++;if(a<o)h(r,t.getMetadata(a)&c|s&l),t.getEndOffset(a)===r&&a++;else{const e=Math.min(Math.max(0,a-1),o-1);h(r,t.getMetadata(e)&c|s&l)}}for(;a<o;)h(t.getEndOffset(a),t.getMetadata(a)),a++;return new r.a(new Uint32Array(l),t.getLineContent())}static _findFirstPieceWithLine(e,t){let n=0,i=e.length-1;for(;n<i;){let r=n+Math.floor((i-n)/2);if(e[r].endLineNumber<t)n=r+1;else{if(!(e[r].startLineNumber>t)){for(;r>n&&e[r-1].startLineNumber<=t&&t<=e[r-1].endLineNumber;)r--;return r}i=r-1}}return n}acceptEdit(e,t,n,i,r){for(const o of this._pieces)o.acceptEdit(e,t,n,i,r)}}class _{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,n){let i=null;if(t<this._len&&(i=this._lineTokens[t]),null!==i&&i!==d)return new r.a(f(i),n);let o=new Uint32Array(2);return o[0]=n.length,o[1]=c(e),new r.a(o,n)}static _massageTokens(e,t,n){const i=n?f(n):null;if(0===t){let t=!1;if(i&&i.length>1&&(t=a.B.getLanguageId(i[1])!==e),!t)return d}if(!i||0===i.length){const n=new Uint32Array(2);return n[0]=t,n[1]=c(e),n.buffer}return i[i.length-2]=t,0===i.byteOffset&&i.byteLength===i.buffer.byteLength?i.buffer:i}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let n=[];for(let e=0;e<t;e++)n[e]=null;this._lineTokens=i.a(this._lineTokens,e,n),this._len+=t}setTokens(e,t,n,i,r){const o=_._massageTokens(e,n,i);this._ensureLine(t);const s=this._lineTokens[t];return this._lineTokens[t]=o,!!r&&!_._equals(s,o)}static _equals(e,t){if(!e||!t)return!e&&!t;const n=f(e),i=f(t);if(n.length!==i.length)return!1;for(let e=0,t=n.length;e<t;e++)if(n[e]!==i[e])return!1;return!0}acceptEdit(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new o.a(e.startLineNumber,e.startColumn),t,n)}_acceptDeleteRange(e){const t=e.startLineNumber-1;if(t>=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;return void(this._lineTokens[t]=_._delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1))}this._lineTokens[t]=_._deleteEnding(this._lineTokens[t],e.startColumn-1);const n=e.endLineNumber-1;let i=null;n<this._len&&(i=_._deleteBeginning(this._lineTokens[n],e.endColumn-1)),this._lineTokens[t]=_._append(this._lineTokens[t],i),this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t,n){if(0===t&&0===n)return;const i=e.lineNumber-1;i>=this._len||(0!==t?(this._lineTokens[i]=_._deleteEnding(this._lineTokens[i],e.column-1),this._lineTokens[i]=_._insert(this._lineTokens[i],e.column-1,n),this._insertLines(e.lineNumber,t)):this._lineTokens[i]=_._insert(this._lineTokens[i],e.column-1,n))}static _deleteBeginning(e,t){return null===e||e===d?e:_._delete(e,0,t)}static _deleteEnding(e,t){if(null===e||e===d)return e;const n=f(e),i=n[n.length-2];return _._delete(e,t,i)}static _delete(e,t,n){if(null===e||e===d||t===n)return e;const i=f(e),o=i.length>>>1;if(0===t&&i[i.length-2]===n)return d;const s=r.a.findIndexInTokensArray(i,t),a=s>0?i[s-1<<1]:0;if(n<i[s<<1]){const r=n-t;for(let e=s;e<o;e++)i[e<<1]-=r;return e}let l,c;a!==t?(i[s<<1]=t,l=s+1<<1,c=t):(l=s<<1,c=a);const h=n-t;for(let e=s+1;e<o;e++){const t=i[e<<1]-h;t>c&&(i[l++]=t,i[l++]=i[1+(e<<1)],c=t)}if(l===i.length)return e;let u=new Uint32Array(l);return u.set(i.subarray(0,l),0),u.buffer}static _append(e,t){if(t===d)return e;if(e===d)return t;if(null===e)return e;if(null===t)return null;const n=f(e),i=f(t),r=i.length>>>1;let o=new Uint32Array(n.length+i.length);o.set(n,0);let s=n.length;const a=n[n.length-2];for(let e=0;e<r;e++)o[s++]=i[e<<1]+a,o[s++]=i[1+(e<<1)];return o.buffer}static _insert(e,t,n){if(null===e||e===d)return e;const i=f(e),o=i.length>>>1;let s=r.a.findIndexInTokensArray(i,t);if(s>0){i[s-1<<1]===t&&s--}for(let e=s;e<o;e++)i[e<<1]+=n;return e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o}));const i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};class r{constructor(e){this.data=e}update(){}getData(){return this.data}}const o={CurrentDragAndDropData:void 0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g}));var i=n(13),r=n(8),o=n(62),s=n(130),a=n(3),l=n(21);class c{constructor(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}getEditOperations(e,t){t.addTrackedEditOperation(new a.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range,r=n[1].range;return new l.a(i.endLineNumber,i.endColumn,r.endLineNumber,r.endColumn-this._charAfterSelection.length)}}var d=n(22),h=n(117),u=n(75),p=n(39);class m{static indent(e,t,n){if(null===t||null===n)return[];let i=[];for(let t=0,r=n.length;t<r;t++)i[t]=new s.a(n[t],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static outdent(e,t,n){let i=[];for(let t=0,r=n.length;t<r;t++)i[t]=new s.a(n[t],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static shiftIndent(e,t,n){return n=n||1,s.a.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,n){return n=n||1,s.a.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,n,i){let r=[];for(let e=0,t=n.length;e<t;e++)r[e]=new o.a(n[e],i[e]);return new d.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,n,i,r){let s=[];for(let e=0,t=n.length;e<t;e++){const t=n[e];let l=t.getPosition();if(r&&!t.isEmpty()&&(r=!1),r&&i.indexOf("\n")!==i.length-1&&(r=!1),r){let n=new a.a(l.lineNumber,1,l.lineNumber,1);s[e]=new o.b(n,i,t,!0)}else s[e]=new o.a(t,i)}return new d.e(0,s,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,n,i,r){if(i)return null;if(1===t.length)return null;if(r&&r.length===t.length)return r;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));let e=n.split(/\r\n|\r|\n/);if(e.length===t.length)return e}return null}static paste(e,t,n,i,r,o){const s=this._distributePasteToCursors(e,n,i,r,o);return s?(n=n.sort(a.a.compareRangesUsingStarts),this._distributedPaste(e,t,n,s)):this._simplePaste(e,t,n,i,r)}static _goodIndentForLine(e,t,n){let i=null,o="";const s=p.a.getInheritIndentForLine(e.autoIndent,t,n,!1);if(s)i=s.action,o=s.indentation;else if(n>1){let i;for(i=n-1;i>=1;i--){const e=t.getLineContent(i);if(r.J(e)>=0)break}if(i<1)return null;const s=t.getLineMaxColumn(i),l=p.a.getEnterAction(e.autoIndent,t,new a.a(i,s,i,s));l&&(o=l.indentation+l.appendText)}return i&&(i===u.a.Indent&&(o=m.shiftIndent(e,o)),i===u.a.Outdent&&(o=m.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o||null}static _replaceJumpToNextIndent(e,t,n,i){let r="",s=n.getStartPosition();if(e.insertSpaces){let n=d.a.visibleColumnFromColumn2(e,t,s),i=e.indentSize,o=i-n%i;for(let e=0;e<o;e++)r+=" "}else r="\t";return new o.a(n,r,i)}static tab(e,t,n){let i=[];for(let l=0,c=n.length;l<c;l++){const c=n[l];if(c.isEmpty()){let n=t.getLineContent(c.startLineNumber);if(/^\s*$/.test(n)&&t.isCheapToTokenize(c.startLineNumber)){let s=this._goodIndentForLine(e,t,c.startLineNumber);s=s||"\t";let d=e.normalizeIndentation(s);if(!r.S(n,d)){i[l]=new o.a(new a.a(c.startLineNumber,1,c.startLineNumber,n.length+1),d,!0);continue}}i[l]=this._replaceJumpToNextIndent(e,t,c,!0)}else{if(c.startLineNumber===c.endLineNumber){let n=t.getLineMaxColumn(c.startLineNumber);if(1!==c.startColumn||c.endColumn!==n){i[l]=this._replaceJumpToNextIndent(e,t,c,!1);continue}}i[l]=new s.a(c,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i}static replacePreviousChar(e,t,n,i,r,s){let l=[];for(let e=0,t=i.length;e<t;e++){const t=i[e];if(!t.isEmpty()){l[e]=null;continue}const c=t.getPosition(),d=Math.max(1,c.column-s),h=new a.a(c.lineNumber,d,c.lineNumber,c.column);n.getValueInRange(h)!==r?l[e]=new o.a(h,r):l[e]=null}return new d.e(1,l,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static _typeCommand(e,t,n){return n?new o.e(e,t,!0):new o.a(e,t,!0)}static _enter(e,t,n,i){if(0===e.autoIndent)return m._typeCommand(i,"\n",n);if(!t.isCheapToTokenize(i.getStartPosition().lineNumber)||1===e.autoIndent){let o=t.getLineContent(i.startLineNumber),s=r.z(o).substring(0,i.startColumn-1);return m._typeCommand(i,"\n"+e.normalizeIndentation(s),n)}const s=p.a.getEnterAction(e.autoIndent,t,i);if(s){if(s.indentAction===u.a.None)return m._typeCommand(i,"\n"+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===u.a.Indent)return m._typeCommand(i,"\n"+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===u.a.IndentOutdent){const t=e.normalizeIndentation(s.indentation),r=e.normalizeIndentation(s.indentation+s.appendText),a="\n"+r+"\n"+t;return n?new o.e(i,a,!0):new o.d(i,a,-1,r.length-t.length,!0)}if(s.indentAction===u.a.Outdent){const t=m.unshiftIndent(e,s.indentation);return m._typeCommand(i,"\n"+e.normalizeIndentation(t+s.appendText),n)}}const l=t.getLineContent(i.startLineNumber),c=r.z(l).substring(0,i.startColumn-1);if(e.autoIndent>=4){const s=p.a.getIndentForEnter(e.autoIndent,t,i,{unshiftIndent:t=>m.unshiftIndent(e,t),shiftIndent:t=>m.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)});if(s){let h=d.a.visibleColumnFromColumn2(e,t,i.getEndPosition());const u=i.endColumn;let p="\n";c!==e.normalizeIndentation(s.beforeEnter)&&(p=e.normalizeIndentation(s.beforeEnter)+l.substring(c.length,i.startColumn-1)+"\n",i=new a.a(i.startLineNumber,1,i.endLineNumber,i.endColumn));const m=t.getLineContent(i.endLineNumber),g=r.w(m);if(i=g>=0?i.setEndPosition(i.endLineNumber,Math.max(i.endColumn,g+1)):i.setEndPosition(i.endLineNumber,t.getLineMaxColumn(i.endLineNumber)),n)return new o.e(i,p+e.normalizeIndentation(s.afterEnter),!0);{let t=0;return u<=g+1&&(e.insertSpaces||(h=Math.ceil(h/e.indentSize)),t=Math.min(h+1-e.normalizeIndentation(s.afterEnter).length-1,0)),new o.d(i,p+e.normalizeIndentation(s.afterEnter),0,t,!0)}}}return m._typeCommand(i,"\n"+e.normalizeIndentation(c),n)}static _isAutoIndentType(e,t,n){if(e.autoIndent<4)return!1;for(let e=0,i=n.length;e<i;e++)if(!t.isCheapToTokenize(n[e].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,n,i){const r=p.a.getIndentationAtPosition(t,n.startLineNumber,n.startColumn),o=p.a.getIndentActionForType(e.autoIndent,t,n,i,{shiftIndent:t=>m.shiftIndent(e,t),unshiftIndent:t=>m.unshiftIndent(e,t)});if(null===o)return null;if(o!==e.normalizeIndentation(r)){const r=t.getLineFirstNonWhitespaceColumn(n.startLineNumber);return 0===r?m._typeCommand(new a.a(n.startLineNumber,0,n.endLineNumber,n.endColumn),e.normalizeIndentation(o)+i,!1):m._typeCommand(new a.a(n.startLineNumber,0,n.endLineNumber,n.endColumn),e.normalizeIndentation(o)+t.getLineContent(n.startLineNumber).substring(r-1,n.startColumn-1)+i,!1)}return null}static _isAutoClosingOvertype(e,t,n,i,r){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairsClose2.has(r))return!1;for(let o=0,s=n.length;o<s;o++){const s=n[o];if(!s.isEmpty())return!1;const a=s.getPosition(),l=t.getLineContent(a.lineNumber);if(l.charAt(a.column-1)!==r)return!1;const c=Object(d.g)(r);if(92===(a.column>2?l.charCodeAt(a.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,n=i.length;t<n;t++){const n=i[t];if(a.lineNumber===n.startLineNumber&&a.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingOvertype(e,t,n,i,r){let s=[];for(let e=0,t=i.length;e<t;e++){const t=i[e].getPosition(),n=new a.a(t.lineNumber,t.column,t.lineNumber,t.column+1);s[e]=new o.a(n,r)}return new d.e(1,s,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static _autoClosingPairIsSymmetric(e){const{open:t,close:n}=e;return t.indexOf(n)>=0||n.indexOf(t)>=0}static _isBeforeClosingBrace(e,t,n){const i=e.autoClosingPairsClose2.get(n);if(!i)return!1;const r=m._autoClosingPairIsSymmetric(t);for(const e of i){const t=m._autoClosingPairIsSymmetric(e);if(r||!t)return!0}return!1}static _findAutoClosingPairOpen(e,t,n,i){const r=e.autoClosingPairsOpen2.get(i);if(!r)return null;let o=null;for(const e of r)if(null===o||e.open.length>o.open.length){let r=!0;for(const o of n){if(t.getValueInRange(new a.a(o.lineNumber,o.column-e.open.length+1,o.lineNumber,o.column))+i!==e.open){r=!1;break}}r&&(o=e)}return o}static _isAutoClosingOpenCharType(e,t,n,r,o){const s=Object(d.g)(r),a=s?e.autoClosingQuotes:e.autoClosingBrackets;if("never"===a)return null;const l=this._findAutoClosingPairOpen(e,t,n.map(e=>e.getPosition()),r);if(!l)return null;const c=s?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;for(let r=0,d=n.length;r<d;r++){const d=n[r];if(!d.isEmpty())return null;const u=d.getPosition(),g=t.getLineContent(u.lineNumber);if(g.length>u.column-1){const t=g.charAt(u.column-1);if(!m._isBeforeClosingBrace(e,l,t)&&!c(t))return null}if(!t.isCheapToTokenize(u.lineNumber))return null;if(1===l.open.length&&s&&"always"!==a){const t=Object(h.a)(e.wordSeparators);if(o&&u.column>1&&0===t.get(g.charCodeAt(u.column-2)))return null;if(!o&&u.column>2&&0===t.get(g.charCodeAt(u.column-3)))return null}t.forceTokenization(u.lineNumber);const f=t.getLineTokens(u.lineNumber);let b=!1;try{b=p.a.shouldAutoClosePair(l,f,o?u.column:u.column-1)}catch(e){Object(i.e)(e)}if(!b)return null}return l}static _runAutoClosingOpenCharType(e,t,n,i,r,o,s){let a=[];for(let e=0,t=i.length;e<t;e++){const t=i[e];a[e]=new g(t,r,o,s.close)}return new d.e(1,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return Object(d.g)(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround}static _isSurroundSelectionType(e,t,n,i){if(!m._shouldSurroundChar(e,i)||!e.surroundingPairs.hasOwnProperty(i))return!1;const r=Object(d.g)(i);for(let e=0,i=n.length;e<i;e++){const i=n[e];if(i.isEmpty())return!1;let o=!0;for(let e=i.startLineNumber;e<=i.endLineNumber;e++){const n=t.getLineContent(e),r=e===i.startLineNumber?i.startColumn-1:0,s=e===i.endLineNumber?i.endColumn-1:n.length,a=n.substring(r,s);if(/[^ \t]/.test(a)){o=!1;break}}if(o)return!1;if(r&&i.startLineNumber===i.endLineNumber&&i.startColumn+1===i.endColumn){const e=t.getValueInRange(i);if(Object(d.g)(e))return!1}}return!0}static _runSurroundSelectionType(e,t,n,i,r){let o=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=t.surroundingPairs[r];o[e]=new c(n,r,s)}return new d.e(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,n,s,l){if(!t.electricChars.hasOwnProperty(l)||!s.isEmpty())return null;let c=s.getPosition();n.forceTokenization(c.lineNumber);let h,u=n.getLineTokens(c.lineNumber);try{h=p.a.onElectricCharacter(l,u,c.column)}catch(e){return Object(i.e)(e),null}if(!h)return null;if(h.matchOpenBracket){let e=(u.getLineContent()+l).lastIndexOf(h.matchOpenBracket)+1,i=n.findMatchingBracketUp(h.matchOpenBracket,{lineNumber:c.lineNumber,column:e});if(i){if(i.startLineNumber===c.lineNumber)return null;let e=n.getLineContent(i.startLineNumber),s=r.z(e),h=t.normalizeIndentation(s),u=n.getLineContent(c.lineNumber),p=n.getLineFirstNonWhitespaceColumn(c.lineNumber)||c.column,m=h+u.substring(p-1,c.column-1)+l,g=new a.a(c.lineNumber,1,c.lineNumber,c.column);const f=new o.a(g,m);return new d.e(1,[f],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,n,i,r,s){if(!i||l.a.selectionsArrEqual(i,r))return null;let c=null;for(const e of r){if(!e.isEmpty())return null;const t=e.getPosition(),i=n.getValueInRange(new a.a(t.lineNumber,t.column-1,t.lineNumber,t.column));if(null===c)c=i;else if(c!==i)return null}if(!c)return null;if(this._isAutoClosingOvertype(t,n,r,s,c)){const e=r.map(e=>new o.a(new a.a(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new d.e(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const h=this._isAutoClosingOpenCharType(t,n,r,c,!1);return h?this._runAutoClosingOpenCharType(e,t,n,r,c,!1,h):null}static typeWithInterceptors(e,t,n,i,r,s,a){if(!e&&"\n"===a){let e=[];for(let t=0,o=r.length;t<o;t++)e[t]=m._enter(n,i,!1,r[t]);return new d.e(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(n,i,r)){let e=[],t=!1;for(let o=0,s=r.length;o<s;o++)if(e[o]=this._runAutoIndentType(n,i,r[o],a),!e[o]){t=!0;break}if(!t)return new d.e(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoClosingOvertype(n,i,r,s,a))return this._runAutoClosingOvertype(t,n,i,r,a);if(!e){const e=this._isAutoClosingOpenCharType(n,i,r,a,!0);if(e)return this._runAutoClosingOpenCharType(t,n,i,r,a,!0,e)}if(this._isSurroundSelectionType(n,i,r,a))return this._runSurroundSelectionType(t,n,i,r,a);if(!e&&this._isTypeInterceptorElectricChar(n,i,r)){const e=this._typeInterceptorElectricChar(t,n,i,r[0],a);if(e)return e}let l=[];for(let e=0,t=r.length;e<t;e++)l[e]=new o.a(r[e],a);let c=1!==t;return" "===a&&(c=!0),new d.e(1,l,{shouldPushStackElementBefore:c,shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,n,i,r){let s=[];for(let e=0,t=i.length;e<t;e++)s[e]=new o.a(i[e],r);return new d.e(1,s,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,n){if(null===t||null===n)return[];let i=[];for(let r=0,s=n.length;r<s;r++){let s=n[r].positionLineNumber;if(1===s)i[r]=new o.e(new a.a(1,1,1,1),"\n");else{s--;let n=t.getLineMaxColumn(s);i[r]=this._enter(e,t,!1,new a.a(s,n,s,n))}}return i}static lineInsertAfter(e,t,n){if(null===t||null===n)return[];let i=[];for(let r=0,o=n.length;r<o;r++){const o=n[r].positionLineNumber;let s=t.getLineMaxColumn(o);i[r]=this._enter(e,t,!1,new a.a(o,s,o,s))}return i}static lineBreakInsert(e,t,n){let i=[];for(let r=0,o=n.length;r<o;r++)i[r]=this._enter(e,t,!0,n[r]);return i}}class g extends o.d{constructor(e,t,n,i){super(e,(n?t:"")+i,0,-i.length),this._openCharacter=t,this._closeCharacter=i,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){let n=t.getInverseEditOperations()[0].range;return this.closeCharacterRange=new a.a(n.startLineNumber,n.endColumn-this._closeCharacter.length,n.endLineNumber,n.endColumn),this.enclosingRange=new a.a(n.startLineNumber,n.endColumn-this._openCharacter.length-this._closeCharacter.length,n.endLineNumber,n.endColumn),super.computeCursorState(e,t)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}));var i=n(8),r=n(9),o=n(3);class s{constructor(e,t,n,i,r){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=r}toString(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(e){return new s(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new s(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){const t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){const t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}const t=this.value.substring(this.selectionStart,e);if(-1===t.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);const n=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,n,-1)}_finishDeduceEditorPosition(e,t,n){let i=0,r=-1;for(;-1!==(r=t.indexOf("\n",r+1));)i++;return[e,n*t.length,i]}static selectedText(e){return new s(e,0,e.length,null,null)}static deduceInput(e,t,n){if(!e)return{text:"",replaceCharCnt:0};let r=e.value,o=e.selectionStart,s=e.selectionEnd,a=t.value,l=t.selectionStart,c=t.selectionEnd;const d=r.substring(s),h=a.substring(c),u=i.e(d,h);a=a.substring(0,a.length-u),r=r.substring(0,r.length-u);const p=r.substring(0,o),m=a.substring(0,l),g=i.d(p,m);if(a=a.substring(g),r=r.substring(g),l-=g,o-=g,c-=g,s-=g,n&&l===c&&r.length>0){let e=null;if(l===a.length?i.S(a,r)&&(e=a.substring(r.length)):i.s(a,r)&&(e=a.substring(0,a.length-r.length)),null!==e&&e.length>0&&(/\uFE0F/.test(e)||i.k(e)))return{text:e,replaceCharCnt:0}}if(l===c){if(r===a&&0===o&&s===r.length&&l===a.length&&-1===a.indexOf("\n")&&i.l(a))return{text:"",replaceCharCnt:0};return{text:a,replaceCharCnt:p.length-g}}return{text:a,replaceCharCnt:s-o}}}s.EMPTY=new s("",0,0,null,null);class a{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const n=e*t,i=n+1,r=n+t;return new o.a(i,1,r+1,1)}static fromEditorSelection(e,t,n,i,l){const c=a._getPageOfLine(n.startLineNumber,i),d=a._getRangeForPage(c,i),h=a._getPageOfLine(n.endLineNumber,i),u=a._getRangeForPage(h,i),p=d.intersectRanges(new o.a(1,1,n.startLineNumber,n.startColumn));let m=t.getValueInRange(p,1);const g=t.getLineCount(),f=t.getLineMaxColumn(g),b=u.intersectRanges(new o.a(n.endLineNumber,n.endColumn,g,f));let _,v=t.getValueInRange(b,1);if(c===h||c+1===h)_=t.getValueInRange(n,1);else{const e=d.intersectRanges(n),i=u.intersectRanges(n);_=t.getValueInRange(e,1)+String.fromCharCode(8230)+t.getValueInRange(i,1)}if(l){const e=500;m.length>e&&(m=m.substring(m.length-e,m.length)),v.length>e&&(v=v.substring(0,e)),_.length>2*e&&(_=_.substring(0,e)+String.fromCharCode(8230)+_.substring(_.length-e,_.length))}return new s(m+_+v,m.length,m.length+_.length,new r.a(n.startLineNumber,n.startColumn),new r.a(n.endLineNumber,n.endColumn))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return b}));var i=n(0),r=n(6),o=n(56),s=n(14),a=n(188);const l={Configuration:"base.contributions.configuration"},c={properties:{},patternProperties:{}},d={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},u={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},m={properties:{},patternProperties:{}},g=o.a.as(a.a.JSONContribution);const f=new RegExp("\\[.*\\]$");function b(e){return e.substring(1,e.length-1)}const _=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new r.a,this._onDidUpdateConfiguration=new r.a,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:i.a("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},g.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=[];e.forEach(e=>{n.push(...this.validateAndRegisterProperties(e,t)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}),g.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,t=!0,n=3){n=s.l(e.scope)?n:e.scope;let i=[],r=e.properties;if(r)for(let e in r){if(t&&v(e)){delete r[e];continue}const o=r[e];this.updatePropertyDefaultValue(e,o),f.test(e)?o.scope=void 0:o.scope=s.l(o.scope)?n:o.scope,!r[e].hasOwnProperty("included")||r[e].included?(this.configurationProperties[e]=r[e],!r[e].deprecationMessage&&r[e].markdownDeprecationMessage&&(r[e].deprecationMessage=r[e].markdownDeprecationMessage),i.push(e)):(this.excludedConfigurationProperties[e]=r[e],delete r[e])}let o=e.allOf;if(o)for(let e of o)i.push(...this.validateAndRegisterProperties(e,t,n));return i}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{let n=e.properties;if(n)for(const e in n)this.updateSchema(e,n[e]);let i=e.allOf;i&&i.forEach(t)};t(e)}updateSchema(e,t){switch(c.properties[e]=t,t.scope){case 1:d.properties[e]=t;break;case 2:h.properties[e]=t;break;case 6:u.properties[e]=t;break;case 3:p.properties[e]=t;break;case 4:m.properties[e]=t;break;case 5:m.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,n={type:"object",description:i.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:i.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:"vscode://schemas/settings/resourceLanguage"};this.updatePropertyDefaultValue(t,n),c.properties[t]=n,d.properties[t]=n,h.properties[t]=n,u.properties[t]=n,p.properties[t]=n,m.properties[t]=n}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let n=this.defaultValues[e];s.k(n)&&(n=t.default),s.k(n)&&(n=function(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=n}};function v(e){return f.test(e)?i.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==_.getConfigurationProperties()[e]?i.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}o.a.add(l.Configuration,_)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var i=n(8),r=n(22),o=n(117),s=n(9),a=n(3);class l{static _createWord(e,t,n,i,r){return{start:i,end:r,wordType:t,nextCharClass:n}}static _findPreviousWordOnLine(e,t,n){let i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)}static _doFindPreviousWordOnLine(e,t,n){let i=0;for(let r=n.column-2;r>=0;r--){let n=e.charCodeAt(r),o=t.get(n);if(0===o){if(2===i)return this._createWord(e,i,o,r+1,this._findEndOfWord(e,t,i,r+1));i=1}else if(2===o){if(1===i)return this._createWord(e,i,o,r+1,this._findEndOfWord(e,t,i,r+1));i=2}else if(1===o&&0!==i)return this._createWord(e,i,o,r+1,this._findEndOfWord(e,t,i,r+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null}static _findEndOfWord(e,t,n,i){let r=e.length;for(let o=i;o<r;o++){let i=e.charCodeAt(o),r=t.get(i);if(1===r)return o;if(1===n&&2===r)return o;if(2===n&&0===r)return o}return r}static _findNextWordOnLine(e,t,n){let i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)}static _doFindNextWordOnLine(e,t,n){let i=0,r=e.length;for(let o=n.column-1;o<r;o++){let n=e.charCodeAt(o),r=t.get(n);if(0===r){if(2===i)return this._createWord(e,i,r,this._findStartOfWord(e,t,i,o-1),o);i=1}else if(2===r){if(1===i)return this._createWord(e,i,r,this._findStartOfWord(e,t,i,o-1),o);i=2}else if(1===r&&0!==i)return this._createWord(e,i,r,this._findStartOfWord(e,t,i,o-1),o)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,r-1),r):null}static _findStartOfWord(e,t,n,i){for(let r=i;r>=0;r--){let i=e.charCodeAt(r),o=t.get(i);if(1===o)return r+1;if(1===n&&2===o)return r+1;if(2===n&&0===o)return r+1}return 0}static moveWordLeft(e,t,n,i){let r=n.lineNumber,o=n.column;1===o&&r>1&&(r-=1,o=t.getLineMaxColumn(r));let a=l._findPreviousWordOnLine(e,t,new s.a(r,o));if(0===i)return new s.a(r,a?a.start+1:1);if(1===i)return a&&2===a.wordType&&a.end-a.start==1&&0===a.nextCharClass&&(a=l._findPreviousWordOnLine(e,t,new s.a(r,a.start+1))),new s.a(r,a?a.start+1:1);if(3===i){for(;a&&2===a.wordType;)a=l._findPreviousWordOnLine(e,t,new s.a(r,a.start+1));return new s.a(r,a?a.start+1:1)}return a&&o<=a.end+1&&(a=l._findPreviousWordOnLine(e,t,new s.a(r,a.start+1))),new s.a(r,a?a.end+1:1)}static _moveWordPartLeft(e,t){const n=t.lineNumber,r=e.getLineMaxColumn(n);if(1===t.column)return n>1?new s.a(n-1,e.getLineMaxColumn(n-1)):t;const o=e.getLineContent(n);for(let e=t.column-1;e>1;e--){const t=o.charCodeAt(e-2),a=o.charCodeAt(e-1);if(95===t&&95!==a)return new s.a(n,e);if(i.H(t)&&i.I(a))return new s.a(n,e);if(i.I(t)&&i.I(a)&&e+1<r){const t=o.charCodeAt(e);if(i.H(t))return new s.a(n,e)}}return new s.a(n,1)}static moveWordRight(e,t,n,i){let r=n.lineNumber,o=n.column,a=!1;o===t.getLineMaxColumn(r)&&r<t.getLineCount()&&(a=!0,r+=1,o=1);let c=l._findNextWordOnLine(e,t,new s.a(r,o));if(2===i)c&&2===c.wordType&&c.end-c.start==1&&0===c.nextCharClass&&(c=l._findNextWordOnLine(e,t,new s.a(r,c.end+1))),o=c?c.end+1:t.getLineMaxColumn(r);else if(3===i){for(a&&(o=0);c&&(2===c.wordType||c.start+1<=o);)c=l._findNextWordOnLine(e,t,new s.a(r,c.end+1));o=c?c.start+1:t.getLineMaxColumn(r)}else c&&!a&&o>=c.start+1&&(c=l._findNextWordOnLine(e,t,new s.a(r,c.end+1))),o=c?c.start+1:t.getLineMaxColumn(r);return new s.a(r,o)}static _moveWordPartRight(e,t){const n=t.lineNumber,r=e.getLineMaxColumn(n);if(t.column===r)return n<e.getLineCount()?new s.a(n+1,1):t;const o=e.getLineContent(n);for(let e=t.column+1;e<r;e++){const t=o.charCodeAt(e-2),a=o.charCodeAt(e-1);if(95!==t&&95===a)return new s.a(n,e);if(i.H(t)&&i.I(a))return new s.a(n,e);if(i.I(t)&&i.I(a)&&e+1<r){const t=o.charCodeAt(e);if(i.H(t))return new s.a(n,e)}}return new s.a(n,r)}static _deleteWordLeftWhitespace(e,t){const n=e.getLineContent(t.lineNumber),r=t.column-2,o=i.J(n,r);return o+1<r?new a.a(t.lineNumber,o+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t,n,i,r){if(!n.isEmpty())return n;const o=new s.a(n.positionLineNumber,n.positionColumn);let c=o.lineNumber,d=o.column;if(1===c&&1===d)return null;if(i){let e=this._deleteWordLeftWhitespace(t,o);if(e)return e}let h=l._findPreviousWordOnLine(e,t,o);return 0===r?h?d=h.start+1:d>1?d=1:(c--,d=t.getLineMaxColumn(c)):(h&&d<=h.end+1&&(h=l._findPreviousWordOnLine(e,t,new s.a(c,h.start+1))),h?d=h.end+1:d>1?d=1:(c--,d=t.getLineMaxColumn(c))),new a.a(c,d,o.lineNumber,o.column)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=l._moveWordPartLeft(e,n);return new a.a(n.lineNumber,n.column,i.lineNumber,i.column)}static _findFirstNonWhitespaceChar(e,t){let n=e.length;for(let i=t;i<n;i++){let t=e.charAt(i);if(" "!==t&&"\t"!==t)return i}return n}static _deleteWordRightWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-1,r=this._findFirstNonWhitespaceChar(n,i);return i+1<r?new a.a(t.lineNumber,t.column,t.lineNumber,r+1):null}static deleteWordRight(e,t,n,i,r){if(!n.isEmpty())return n;const o=new s.a(n.positionLineNumber,n.positionColumn);let c=o.lineNumber,d=o.column;const h=t.getLineCount(),u=t.getLineMaxColumn(c);if(c===h&&d===u)return null;if(i){let e=this._deleteWordRightWhitespace(t,o);if(e)return e}let p=l._findNextWordOnLine(e,t,o);return 2===r?p?d=p.end+1:d<u||c===h?d=u:(c++,p=l._findNextWordOnLine(e,t,new s.a(c,1)),d=p?p.start+1:t.getLineMaxColumn(c)):(p&&d>=p.start+1&&(p=l._findNextWordOnLine(e,t,new s.a(c,p.end+1))),p?d=p.start+1:d<u||c===h?d=u:(c++,p=l._findNextWordOnLine(e,t,new s.a(c,1)),d=p?p.start+1:t.getLineMaxColumn(c))),new a.a(c,d,o.lineNumber,o.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=l._moveWordPartRight(e,n);return new a.a(n.lineNumber,n.column,i.lineNumber,i.column)}static _createWordAtPosition(e,t,n){const i=new a.a(t,n.start+1,t,n.end+1);return{word:e.getValueInRange(i),startColumn:i.startColumn,endColumn:i.endColumn}}static getWordAtPosition(e,t,n){const i=Object(o.a)(t),r=l._findPreviousWordOnLine(i,e,n);if(r&&1===r.wordType&&r.start<=n.column-1&&n.column-1<=r.end)return l._createWordAtPosition(e,n.lineNumber,r);const s=l._findNextWordOnLine(i,e,n);return s&&1===s.wordType&&s.start<=n.column-1&&n.column-1<=s.end?l._createWordAtPosition(e,n.lineNumber,s):null}static word(e,t,n,i,c){const d=Object(o.a)(e.wordSeparators);let h,u,p=l._findPreviousWordOnLine(d,t,c),m=l._findNextWordOnLine(d,t,c);if(!i){let e,n;return p&&1===p.wordType&&p.start<=c.column-1&&c.column-1<=p.end?(e=p.start+1,n=p.end+1):m&&1===m.wordType&&m.start<=c.column-1&&c.column-1<=m.end?(e=m.start+1,n=m.end+1):(e=p?p.end+1:1,n=m?m.start+1:t.getLineMaxColumn(c.lineNumber)),new r.f(new a.a(c.lineNumber,e,c.lineNumber,n),0,new s.a(c.lineNumber,n),0)}p&&1===p.wordType&&p.start<c.column-1&&c.column-1<p.end?(h=p.start+1,u=p.end+1):m&&1===m.wordType&&m.start<c.column-1&&c.column-1<m.end?(h=m.start+1,u=m.end+1):(h=c.column,u=c.column);let g,f=c.lineNumber;if(n.selectionStart.containsPosition(c))g=n.selectionStart.endColumn;else if(c.isBeforeOrEqual(n.selectionStart.getStartPosition())){g=h;let e=new s.a(f,g);n.selectionStart.containsPosition(e)&&(g=n.selectionStart.endColumn)}else{g=u;let e=new s.a(f,g);n.selectionStart.containsPosition(e)&&(g=n.selectionStart.startColumn)}return n.move(!0,f,g,0)}}class c extends l{static deleteWordPartLeft(e,t,n,i){const r=d([l.deleteWordLeft(e,t,n,i,0),l.deleteWordLeft(e,t,n,i,2),l._deleteWordPartLeft(t,n)]);return r.sort(a.a.compareRangesUsingEnds),r[2]}static deleteWordPartRight(e,t,n,i){const r=d([l.deleteWordRight(e,t,n,i,0),l.deleteWordRight(e,t,n,i,2),l._deleteWordPartRight(t,n)]);return r.sort(a.a.compareRangesUsingStarts),r[0]}static moveWordPartLeft(e,t,n){const i=d([l.moveWordLeft(e,t,n,0),l.moveWordLeft(e,t,n,2),l._moveWordPartLeft(t,n)]);return i.sort(s.a.compare),i[2]}static moveWordPartRight(e,t,n){const i=d([l.moveWordRight(e,t,n,0),l.moveWordRight(e,t,n,2),l._moveWordPartRight(t,n)]);return i.sort(s.a.compare),i[0]}}function d(e){return e.filter(e=>Boolean(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(8),r=n(22),o=n(3),s=n(21),a=n(39);const l=Object.create(null);function c(e,t){l[e]||(l[e]=["",e]);const n=l[e];for(let i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}class d{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,n,i,o){const s=r.a.visibleColumnFromColumn(e,t,n);if(o){const e=c(" ",i);return c(e,r.a.prevIndentTabStop(s,i)/i)}return c("\t",r.a.prevRenderTabStop(s,n)/n)}static shiftIndent(e,t,n,i,o){const s=r.a.visibleColumnFromColumn(e,t,n);if(o){const e=c(" ",i);return c(e,r.a.nextIndentTabStop(s,i)/i)}return c("\t",r.a.nextRenderTabStop(s,n)/n)}_addEditOperation(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)}getEditOperations(e,t){const n=this._selection.startLineNumber;let s=this._selection.endLineNumber;1===this._selection.endColumn&&n!==s&&(s-=1);const{tabSize:l,indentSize:h,insertSpaces:u}=this._opts,p=n===s;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0);let c=0,m=0;for(let g=n;g<=s;g++,c=m){m=0;let s,f=e.getLineContent(g),b=i.w(f);if((!this._opts.isUnshift||0!==f.length&&0!==b)&&(p||this._opts.isUnshift||0!==f.length)){if(-1===b&&(b=f.length),g>1){if(r.a.visibleColumnFromColumn(f,b+1,l)%h!=0&&e.isCheapToTokenize(g-1)){let t=a.a.getEnterAction(this._opts.autoIndent,e,new o.a(g-1,e.getLineMaxColumn(g-1),g-1,e.getLineMaxColumn(g-1)));if(t){if(m=c,t.appendText)for(let e=0,n=t.appendText.length;e<n&&m<h&&32===t.appendText.charCodeAt(e);e++)m++;t.removeText&&(m=Math.max(0,m-t.removeText));for(let e=0;e<m&&(0!==b&&32===f.charCodeAt(b-1));e++)b--}}}this._opts.isUnshift&&0===b||(s=this._opts.isUnshift?d.unshiftIndent(f,b+1,l,h,u):d.shiftIndent(f,b+1,l,h,u),this._addEditOperation(t,new o.a(g,1,g,b+1),s),g!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=b+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===e.getLineLength(n)&&(this._useLastEditRangeForCursorEndPosition=!0);const r=u?c(" ",h):"\t";for(let a=n;a<=s;a++){const s=e.getLineContent(a);let l=i.w(s);if((!this._opts.isUnshift||0!==s.length&&0!==l)&&((p||this._opts.isUnshift||0!==s.length)&&(-1===l&&(l=s.length),!this._opts.isUnshift||0!==l)))if(this._opts.isUnshift){l=Math.min(l,h);for(let e=0;e<l;e++){if(9===s.charCodeAt(e)){l=e+1;break}}this._addEditOperation(t,new o.a(a,1,a,l+1),"")}else this._addEditOperation(t,new o.a(a,1,a,1),r),a!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){let e=t.getInverseEditOperations()[0];return new s.a(e.range.endLineNumber,e.range.endColumn,e.range.endLineNumber,e.range.endColumn)}const n=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){let e=this._selection.startColumn;return n.startColumn<=e?n:0===n.getDirection()?new s.a(n.startLineNumber,e,n.endLineNumber,n.endColumn):new s.a(n.endLineNumber,n.endColumn,n.startLineNumber,e)}return n}}},,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(8),r=n(11),o=n(72);let s;function a(){return s||(s=new TextDecoder(r.e()?"UTF-16LE":"UTF-16BE")),s}const l="undefined"!=typeof TextDecoder;let c,d;l?(c=e=>new h(e),d=function(e,t,n){const i=new Uint16Array(e.buffer,t,n);return a().decode(i)}):(c=e=>new u,d=function(e,t,n){let i=[],r=0;for(let s=0;s<n;s++){const n=o.b(e,t);t+=2,i[r++]=String.fromCharCode(n)}return i.join("")});class h{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return a().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||i.F(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class u{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}},function(e,t,n){"use strict";function i(e){const t=this;let n,i=!1;return function(){return i||(i=!0,n=e.apply(t,arguments)),n}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i,r=n(56),o=n(16),s=n(2);!function(e){e[e.PRESERVE=0]="PRESERVE",e[e.LAST=1]="LAST"}(i||(i={}));const a={Quickaccess:"workbench.contributions.quickaccess"};r.a.add(a.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),Object(s.h)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(o.d)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0||this.defaultProvider}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(6);const r=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new i.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return We})),n.d(t,"b",(function(){return ze})),n.d(t,"e",(function(){return Ve})),n.d(t,"d",(function(){return nt})),n.d(t,"c",(function(){return dt}));var i=n(1),r=(n(197),n(2)),o=n(16),s=n(113),a=n(6),l=n(25);class c{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:r.a.None}}renderElement(e,t,n,i){if(n.disposable&&n.disposable.dispose(),!n.data)return;const r=this.modelProvider();if(r.isResolved(e))return this.renderer.renderElement(r.get(e),e,n.data,i);const o=new l.b,s=r.resolve(e,o.token);n.disposable={dispose:()=>o.cancel()},this.renderer.renderPlaceholder(e,n.data),s.then(t=>this.renderer.renderElement(t,e,n.data,i))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class d{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}var h=n(0),u=n(54),p=n(128),m=n(10),g=n(18),f=n(50),b=n(56),_=n(93),v=n(19);var w,y=n(37),C=(n(264),n(67));!function(e){e[e.Unknown=0]="Unknown",e[e.Twistie=1]="Twistie",e[e.Element=2]="Element"}(w||(w={}));class x extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class S{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}var k=n(125),E=n(162),T=n(44),L=n(71);function N(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function I(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function D(e){return"boolean"==typeof e.collapsible}class O{constructor(e,t,n,i={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new a.c,this._onDidChangeCollapseState=new a.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new a.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new a.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,n=y.a.empty(),i,r){if(0===e.length)throw new x(this.user,"Invalid tree location");const{parentNode:o,listIndex:s,revealed:a,visible:l}=this.getParentNodeWithListIndex(e),c=[],d=y.a.map(n,e=>this.createTreeNode(e,o,o.visible?1:0,a,c,i)),h=e[e.length-1];let u=0;for(let e=h;e>=0&&e<o.children.length;e--){const t=o.children[e];if(t.visible){u=t.visibleChildIndex;break}}const p=[];let m=0,g=0;for(const e of d)p.push(e),g+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=u+m++);const f=o.children.splice(h,t,...p);let b=0;for(const e of f)e.visible&&b++;if(0!==b)for(let e=h+p.length;e<o.children.length;e++){const t=o.children[e];t.visible&&(t.visibleChildIndex-=b)}if(o.visibleChildrenCount+=m-b,a&&l){const e=f.reduce((e,t)=>e+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(o,g-e),this.list.splice(s,e,c)}if(f.length>0&&r){const e=t=>{r(t),t.children.forEach(e)};f.forEach(e)}this._onDidSplice.fire({insertedNodes:p,deletedNodes:f});let _=o;for(;_;){if(2===_.visibility){this.refilter();break}_=_.parent}}rerender(e){if(0===e.length)throw new x(this.user,"Invalid tree location");const{node:t,listIndex:n,revealed:i}=this.getTreeNodeWithListIndex(e);t.visible&&i&&this.list.splice(n,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:n,revealed:i}=this.getTreeNodeWithListIndex(e);return n&&i?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const n=this.getTreeNode(e);void 0===t&&(t=!n.collapsible);const i={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,i))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,n){const i=this.getTreeNode(e);void 0===t&&(t=!i.collapsed);const r={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,r))}_setCollapseState(e,t){const{node:n,listIndex:i,revealed:r}=this.getTreeNodeWithListIndex(e),o=this._setListNodeCollapseState(n,i,r,t);if(n!==this.root&&this.autoExpandSingleChildren&&o&&!D(t)&&n.collapsible&&!n.collapsed&&!t.recursive){let i=-1;for(let e=0;e<n.children.length;e++){if(n.children[e].visible){if(i>-1){i=-1;break}i=e}}i>-1&&this._setCollapseState([...e,i],t)}return o}_setListNodeCollapseState(e,t,n,i){const r=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!r)return r;const o=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=o-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),r}_setNodeCollapseState(e,t,n){let i;if(e===this.root?i=!1:(D(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!D(t)&&t.recursive)for(const n of e.children)i=this._setNodeCollapseState(n,t,!0)||i;return i}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)}createTreeNode(e,t,n,i,r,o){const s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},a=this._filterNode(s,n);s.visibility=a,i&&r.push(s);const l=e.children||y.a.empty(),c=i&&0!==a&&!s.collapsed,d=y.a.map(l,e=>this.createTreeNode(e,s,a,c,r,o));let h=0,u=1;for(const e of d)s.children.push(e),u+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=h++);return s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=h,s.visible=2===a?h>0:1===a,s.visible?s.collapsed||(s.renderNodeCount=u):(s.renderNodeCount=0,i&&r.pop()),o&&o(s),s}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const n of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(n,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterFilterChange(e,t,n,i=!0){let r;if(e!==this.root){if(r=this._filterNode(e,t),0===r)return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}const o=n.length;e.renderNodeCount=e===this.root?0:1;let s=!1;if(e.collapsed&&0===r)e.visibleChildrenCount=0;else{let t=0;for(const o of e.children)s=this._updateNodeAfterFilterChange(o,r,n,i&&!e.collapsed)||s,o.visible&&(o.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===r?s:1===r),e.visible?e.collapsed||(e.renderNodeCount+=n.length-o):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const n=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof n?(e.filterData=void 0,n?1:0):N(n)?(e.filterData=n.data,I(n.visibility)):(e.filterData=void 0,I(n))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;const[n,...i]=e;return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;const[n,...i]=e;if(n<0||n>t.children.length)throw new x(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:n,revealed:i,visible:r}=this.getParentNodeWithListIndex(e),o=e[e.length-1];if(o<0||o>t.children.length)throw new x(this.user,"Invalid tree location");const s=t.children[o];return{node:s,listIndex:n,revealed:i,visible:r&&s.visible}}getParentNodeWithListIndex(e,t=this.root,n=0,i=!0,r=!0){const[o,...s]=e;if(o<0||o>t.children.length)throw new x(this.user,"Invalid tree location");for(let e=0;e<o;e++)n+=t.children[e].renderNodeCount;return i=i&&!t.collapsed,r=r&&t.visible,0===s.length?{parentNode:t,listIndex:n,revealed:i,visible:r}:this.getParentNodeWithListIndex(s,t.children[o],n+1,i,r)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let n=e;for(;n.parent;)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()}getParentNodeLocation(e){return 0===e.length?void 0:1===e.length?[]:Object(o.u)(e)[0]}}var A=n(20),R=n(11),M=n(118),P=n(189),F=n(17);const W=Object(F.e)("tree-item-expanded",F.a.chevronDown),z=Object(F.e)("tree-filter-on-type-on",F.a.listFilter),B=Object(F.e)("tree-filter-on-type-off",F.a.listSelection),j=Object(F.e)("tree-filter-clear",F.a.close),V=Object(F.e)("tree-item-loading",F.a.loading);class U extends E.a{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function H(e){return e instanceof E.a?new U(e):e}class q{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=r.a.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(H(e),t)}onDragOver(e,t,n,i,r=!0){const s=this.dnd.onDragOver(H(e),t&&t.element,n,i),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return s;if(a&&"boolean"!=typeof s&&s.autoExpand&&(this.autoExpandDisposable=Object(A.g)(()=>{const e=this.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),this.autoExpandNode=void 0},500)),"boolean"==typeof s||!s.accept||void 0===s.bubble||s.feedback){if(!r){return{accept:"boolean"==typeof s?s:s.accept,effect:"boolean"==typeof s?void 0:s.effect,feedback:[n]}}return s}if(1===s.bubble){const n=this.modelProvider(),r=n.getNodeLocation(t),o=n.getParentNodeLocation(r),s=n.getNode(o),a=o&&n.getListIndex(o);return this.onDragOver(e,s,a,i,!1)}const l=this.modelProvider(),c=l.getNodeLocation(t),d=l.getListIndex(c),h=l.getListRenderCount(c);return Object.assign(Object.assign({},s),{feedback:Object(o.s)(d,d+h)})}drop(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(H(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}class ${constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}var K;!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(K||(K={}));class G{constructor(e,t=[]){this._elements=t,this.onDidChange=a.b.forEach(e,e=>this._elements=e)}get elements(){return this._elements}}class Y{constructor(e,t,n,i,o={}){this.renderer=e,this.modelProvider=t,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=Y.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new P.a,this.activeIndentNodes=new Set,this.indentGuidesDisposable=r.a.None,this.disposables=new r.b,this.templateId=e.templateId,this.updateOptions(o),a.b.map(n,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent&&(this.indent=Object(M.b)(e.indent,0,40)),void 0!==e.renderIndentGuides){const t=e.renderIndentGuides!==K.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const e=new r.b;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=Object(i.p)(e,Object(i.a)(".monaco-tl-row")),n=Object(i.p)(t,Object(i.a)(".monaco-tl-indent")),o=Object(i.p)(t,Object(i.a)(".monaco-tl-twistie")),s=Object(i.p)(t,Object(i.a)(".monaco-tl-contents")),a=this.renderer.renderTemplate(s);return{container:e,indent:n,twistie:o,indentGuidesDisposable:r.a.None,templateData:a}}renderElement(e,t,n,i){"number"==typeof i&&(this.renderedNodes.set(e,{templateData:n,height:i}),this.renderedElements.set(e.element,e));const r=Y.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.paddingLeft=r+"px",n.indent.style.width=r+this.indent-16+"px",this.renderTwistie(e,n),"number"==typeof i&&this.renderIndentGuides(e,n),this.renderer.renderElement(e,t,n.templateData,i)}disposeElement(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"==typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(Object(i.f)(t.twistie,W.classNames,"collapsible"),Object(i.ab)(t.twistie,"collapsed",e.collapsed)):Object(i.R)(t.twistie,W.classNames,"collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if(Object(i.s)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const n=new r.b,o=this.modelProvider();let s=e;for(;;){const e=o.getNodeLocation(s),a=o.getParentNodeLocation(e);if(!a)break;const l=o.getNode(a),c=Object(i.a)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(l)&&Object(i.e)(c,"active"),0===t.indent.childElementCount?t.indent.appendChild(c):t.indent.insertBefore(c,t.indent.firstElementChild),this.renderedIndentGuides.add(l,c),n.add(Object(r.h)(()=>this.renderedIndentGuides.delete(l,c))),s=l}t.indentGuidesDisposable=n}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,n=this.modelProvider();e.forEach(e=>{const i=n.getNodeLocation(e);try{const r=n.getParentNodeLocation(i);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):r&&t.add(n.getNode(r))}catch(e){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>Object(i.Q)(e,"active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>Object(i.e)(e,"active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(r.f)(this.disposables)}}Y.DefaultIndent=8;class Z{constructor(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new r.b,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){const n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;let i;if(i="boolean"==typeof n?n?1:0:N(n)?I(n.visibility):n,0===i)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:L.a.Default,visibility:!0};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=n&&n.toString();if(void 0===i)return{data:L.a.Default,visibility:!0};const r=Object(L.d)(this._pattern,this._lowercasePattern,0,i,i.toLowerCase(),0,!0);return r?(this._matchCount++,{data:r,visibility:!0}):this.tree.options.filterOnType?2:{data:L.a.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){Object(r.f)(this.disposables)}}class X{constructor(e,t,n,o,s){this.tree=e,this.view=n,this.filter=o,this.keyboardNavigationDelegate=s,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new a.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new a.a,this.enabledDisposables=new r.b,this.disposables=new r.b,this.domNode=Object(i.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(T.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(i.p)(n.getHTMLElement(),Object(i.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(i.p)(this.domNode,Object(i.a)("span.label"));const l=Object(i.p)(this.domNode,Object(i.a)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(i.p)(l,Object(i.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),Object(T.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(i.p)(l,Object(i.a)("button.clear"+j.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(h.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;const e=a.b.chain(Object(T.a)(this.view.getHTMLElement(),"keydown")).filter(e=>!Object(s.e)(e.target)||e.target===this.filterOnTypeDomNode).filter(e=>"Dead"!==e.key&&!/^Media/.test(e.key)).map(e=>new C.a(e)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(this.pattern.length>0||this.triggered)&&(9===e.keyCode||1===e.keyCode)&&!e.altKey&&!e.ctrlKey&&!e.metaKey||1===e.keyCode&&(R.f?e.altKey&&!e.metaKey:e.ctrlKey)&&!e.shiftKey).forEach(e=>{e.stopPropagation(),e.preventDefault()}).event,t=Object(T.a)(this.clearDomNode,"click");a.b.chain(a.b.any(e,t)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(R.f?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,e=>!L.a.isDefault(e.filterData));const n=this.tree.getFocus();if(n.length>0){const e=n[0];null===this.tree.getRelativeTop(e)&&this.tree.reveal(e,.5)}this.render(),e||(this.triggered=!1)}onDragStart(){const e=this.view.getHTMLElement(),{left:t}=Object(i.C)(e),n=e.clientWidth,o=n/2,s=this.domNode.clientWidth,a=new r.b;let l=this.positionClassName;const c=()=>{switch(l){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=n-s-6+"px"}};c(),Object(i.Q)(this.domNode,l),Object(i.e)(this.domNode,"dragging"),a.add(Object(r.h)(()=>Object(i.Q)(this.domNode,"dragging"))),Object(T.a)(document,"dragover")(e=>{e.preventDefault();const n=e.screenX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),l=n<o?"nw":"ne",c()},null,a),Object(T.a)(this.domNode,"dragend")(()=>{this.positionClassName=l,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",Object(r.f)(a)},null,a),k.c.CurrentDragAndDropData=new k.b("vscode-ui"),a.add(Object(r.h)(()=>k.c.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(Object(i.R)(this.filterOnTypeDomNode,B.classNames),Object(i.f)(this.filterOnTypeDomNode,z.classNames),this.filterOnTypeDomNode.title=Object(h.a)("disable filter on type","Disable Filter on Type")):(Object(i.R)(this.filterOnTypeDomNode,z.classNames),Object(i.f)(this.filterOnTypeDomNode,B.classNames),this.filterOnTypeDomNode.title=Object(h.a)("enable filter on type","Enable Filter on Type"))}render(){const e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(h.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),Object(i.ab)(this.domNode,"no-matches",e),this.domNode.title=Object(h.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!L.a.isDefault(e.filterData))}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(r.f)(this.disposables)}}function Q(e){let t=w.Unknown;return Object(i.J)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=w.Twistie:Object(i.J)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(t=w.Element),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function J(e,t){t(e),e.children.forEach(e=>J(e,t))}class ee{constructor(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new a.a,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){Object(o.g)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,n){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:n})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const e=this.createNodeSet(),n=t=>e.delete(t);return t.forEach(e=>J(e,n)),void this.set([...e.values()])}const n=new Set,i=e=>n.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>J(e,i));const r=new Map,o=e=>r.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>J(e,o));const s=[];for(const e of this.nodes){const t=this.identityProvider.getId(e.element).toString();if(n.has(t)){const e=r.get(t);e&&s.push(e)}else s.push(e)}this._set(s,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class te extends s.d{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if(Object(s.e)(e.browserEvent.target)||Object(s.f)(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const n=e.browserEvent.target,r=Object(i.I)(n,"monaco-tl-twistie")||Object(i.I)(n,"monaco-icon-label")&&Object(i.I)(n,"folder-icon")&&e.browserEvent.offsetX<16;let o=!1;if(o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick,o&&!r)return super.onViewPointer(e);if(this.tree.expandOnlyOnDoubleClick&&2!==e.browserEvent.detail&&!r)return super.onViewPointer(e);if(t.collapsible){const n=this.tree.model,i=n.getNodeLocation(t),s=e.browserEvent.altKey;if(n.setCollapsed(i,void 0,s),o&&r)return}super.onViewPointer(e)}onDoubleClick(e){Object(i.I)(e.browserEvent.target,"monaco-tl-twistie")||super.onDoubleClick(e)}}class ne extends s.c{constructor(e,t,n,i,r,o,s){super(e,t,n,i,s),this.focusTrait=r,this.selectionTrait=o}createMouseController(e){return new te(this,e.tree)}splice(e,t,n=[]){if(super.splice(e,t,n),0===n.length)return;const i=[],r=[];n.forEach((t,n)=>{this.focusTrait.has(t)&&i.push(e+n),this.selectionTrait.has(t)&&r.push(e+n)}),i.length>0&&super.setFocus(Object(o.f)([...super.getFocus(),...i])),r.length>0&&super.setSelection(Object(o.f)([...super.getSelection(),...r]))}setFocus(e,t,n=!1){super.setFocus(e,t),n||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,n=!1){super.setSelection(e,t),n||this.selectionTrait.set(e.map(e=>this.element(e)),t)}}class ie{constructor(e,t,n,o,l={}){this._options=l,this.eventBufferer=new a.c,this.disposables=new r.b,this._onWillRefilter=new a.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new a.a;const c=new $(n),d=new a.e,h=new a.e,u=new G(h.event);this.renderers=o.map(e=>new Y(e,()=>this.model,d.event,u,l));for(let e of this.renderers)this.disposables.add(e);let p;var m,g;l.keyboardNavigationLabelProvider&&(p=new Z(this,l.keyboardNavigationLabelProvider,l.filter),l=Object.assign(Object.assign({},l),{filter:p}),this.disposables.add(p)),this.focus=new ee(l.identityProvider),this.selection=new ee(l.identityProvider),this.view=new ne(e,t,c,this.renderers,this.focus,this.selection,Object.assign(Object.assign({},(m=()=>this.model,(g=l)&&Object.assign(Object.assign({},g),{identityProvider:g.identityProvider&&{getId:e=>g.identityProvider.getId(e.element)},dnd:g.dnd&&new q(m,g.dnd),multipleSelectionController:g.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>g.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element})),isSelectionRangeChangeEvent:e=>g.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},accessibilityProvider:g.accessibilityProvider&&Object.assign(Object.assign({},g.accessibilityProvider),{getSetSize(e){const t=m(),n=t.getNodeLocation(e),i=t.getParentNodeLocation(n);return t.getNode(i).visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:g.accessibilityProvider&&g.accessibilityProvider.isChecked?e=>g.accessibilityProvider.isChecked(e.element):void 0,getRole:g.accessibilityProvider&&g.accessibilityProvider.getRole?e=>g.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>g.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>g.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:g.accessibilityProvider&&g.accessibilityProvider.getWidgetRole?()=>g.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e=>e.depth,getActiveDescendantId:g.accessibilityProvider.getActiveDescendantId&&(e=>g.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:g.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},g.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:e=>g.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}),enableKeyboardNavigation:g.simpleKeyboardNavigation}))),{tree:this})),this.model=this.createModel(e,this.view,l),d.input=this.model.onDidChangeCollapseState;const f=a.b.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})});if(f(()=>null,null,this.disposables),h.input=a.b.chain(a.b.any(f,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]}).event,!1!==l.keyboardSupport){const e=a.b.chain(this.view.onKeyDown).filter(e=>!Object(s.e)(e.target)).map(e=>new C.a(e));e.filter(e=>15===e.keyCode).on(this.onLeftArrow,this,this.disposables),e.filter(e=>17===e.keyCode).on(this.onRightArrow,this,this.disposables),e.filter(e=>10===e.keyCode).on(this.onSpace,this,this.disposables)}if(l.keyboardNavigationLabelProvider){const e=l.keyboardNavigationDelegate||s.a;this.typeFilterController=new X(this,this.model,this.view,p,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=Object(i.v)(this.view.getHTMLElement()),Object(i.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===K.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return a.b.map(this.view.onMouseDblClick,Q)}get onPointer(){return a.b.map(this.view.onPointer,Q)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnlyOnDoubleClick(){var e;return null!==(e=this._options.expandOnlyOnDoubleClick)&&void 0!==e&&e}get expandOnlyOnTwistieClick(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(i.ab)(this.getHTMLElement(),"always",this._options.renderIndentGuides===K.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){const t="."+this.view.domId,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));const i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i),this.view.style(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){const n=e.map(e=>this.model.getNode(e));this.selection.set(n,t);const i=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(i,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const n=e.map(e=>this.model.getNode(e));this.focus.set(n,t);const i=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(i,t,!0)}focusNext(e=1,t=!1,n,i=this.focusNavigationFilter){this.view.focusNext(e,t,n,i)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)}getRelativeTop(e){const t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){const e=this.model.getParentNodeLocation(i);if(!e)return;const t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some(e=>e.visible))return;const[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),r=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,r)}dispose(){Object(r.f)(this.disposables),this.view.dispose()}}class re{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new O(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:(e,t)=>n.sorter.compare(e.element,t.element)}),this.identityProvider=n.identityProvider}setChildren(e,t=y.a.empty(),n,i){const r=this.getElementLocation(e);this._setChildren(r,this.preserveCollapseState(t),n,i)}_setChildren(e,t=y.a.empty(),n,i){const r=new Set,o=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,e=>{if(null===e.element)return;const t=e;if(r.add(t.element),this.nodes.set(t.element,t),this.identityProvider){const e=this.identityProvider.getId(t.element).toString();o.add(e),this.nodesByIdentity.set(e,t)}n&&n(t)},e=>{if(null===e.element)return;const t=e;if(r.has(t.element)||this.nodes.delete(t.element),this.identityProvider){const e=this.identityProvider.getId(t.element).toString();o.has(e)||this.nodesByIdentity.delete(e)}i&&i(t)})}preserveCollapseState(e=y.a.empty()){return this.sorter&&(e=Object(o.p)([...e],this.sorter.compare.bind(this.sorter))),y.a.map(e,e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){const n=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(n)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});const n="boolean"==typeof e.collapsible?e.collapsible:t.collapsible,i=void 0!==e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:n,collapsed:i,children:this.preserveCollapseState(e.children)})})}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getElementLocation(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new x(this.user,"Invalid getParentNodeLocation call");const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);const n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element}getElementLocation(e){if(null===e)return[];const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);return this.model.getNodeLocation(t)}}function oe(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:y.a.map(y.a.from(e.children),oe),collapsible:e.collapsible,collapsed:e.collapsed}}function se(e){const t=[e.element],n=e.incompressible||!1;let i,r;for(;[r,i]=y.a.consume(y.a.from(e.children),2),1===r.length&&!(e=r[0]).incompressible;)t.push(e.element);return{element:{elements:t,incompressible:n},children:y.a.map(y.a.concat(r,i),se),collapsible:e.collapsible,collapsed:e.collapsed}}function ae(e){return function e(t,n=0){let i;return i=n<t.element.elements.length-1?[e(t,n+1)]:y.a.map(y.a.from(t.children),t=>e(t,0)),0===n&&t.element.incompressible?{element:t.element.elements[n],children:i,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[n],children:i,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}class le{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new re(e,t,n),this.enabled=void 0===n.compressionEnabled||n.compressionEnabled}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=y.a.empty()){if(null===e){const e=y.a.map(t,this.enabled?se:oe);return void this._setChildren(null,e)}const n=this.nodes.get(e);if(!n)throw new Error("Unknown compressed tree node");const i=this.model.getNode(n),r=this.model.getParentNodeLocation(n),o=this.model.getNode(r),s=function e(t,n,i){return t.element===n?Object.assign(Object.assign({},t),{children:i}):Object.assign(Object.assign({},t),{children:y.a.map(y.a.from(t.children),t=>e(t,n,i))})}(ae(i),e,t),a=(this.enabled?se:oe)(s),l=o.children.map(e=>e===i?a:e);this._setChildren(o.element,l)}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const t=this.model.getNode().children,n=y.a.map(t,ae),i=y.a.map(n,e?se:oe);this._setChildren(null,i)}_setChildren(e,t){const n=new Set;this.model.setChildren(e,t,e=>{for(const t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},e=>{for(const t of e.element.elements)n.has(t)||this.nodes.delete(t)})}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;const t=this.nodes.get(e);if(!t)throw new x(this.user,"Tree element not found: "+e);return t}}const ce=e=>e[e.length-1];class de{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new de(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class he{constructor(e,t,n={}){this.rootRef=null,this.elementMapper=n.elementMapper||ce;const i=e=>this.elementMapper(e.elements);this.nodeMapper=new S(e=>new de(i,e)),this.model=new le(e,function(e,t){return{splice(n,i,r){t.splice(n,i,r.map(t=>e.map(t)))},updateElementHeight(e,n){t.updateElementHeight(e,n)}}}(this.nodeMapper,t),function(e,t){return Object.assign(Object.assign({},t),{sorter:t.sorter&&{compare:(e,n)=>t.sorter.compare(e.elements[0],n.elements[0])},identityProvider:t.identityProvider&&{getId:n=>t.identityProvider.getId(e(n))},filter:t.filter&&{filter:(n,i)=>t.filter.filter(e(n),i)}})}(i,n))}get onDidSplice(){return a.b.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return a.b.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return a.b.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=y.a.empty()){this.model.setChildren(e,t)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,n){return this.model.setCollapsed(e,t,n)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var ue=n(98),pe=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};class me extends ie{constructor(e,t,n,i,r={}){super(e,t,n,i,r)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=y.a.empty()){this.model.setChildren(e,t)}rerender(e){void 0!==e?this.model.rerender(e):this.view.rerender()}hasElement(e){return this.model.has(e)}createModel(e,t,n){return new re(e,t,n)}}class ge{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){const r=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===r.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=r,this.renderer.renderCompressedElements(r,t,n.data,i))}disposeElement(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}pe([ue.a],ge.prototype,"compressedTreeNodeProvider",null);class fe extends me{constructor(e,t,n,i,r={}){const o=()=>this;super(e,t,n,i.map(e=>new ge(o,e)),function(e,t){return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(o,r))}setChildren(e,t=y.a.empty()){this.model.setChildren(e,t)}createModel(e,t,n){return new he(e,t,n)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var be=n(13),_e=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function ve(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function we(e,t){return!!t.parent&&(t.parent===e||we(e,t.parent))}class ye{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new ye(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Ce{constructor(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?Object(i.f)(t,V.classNames):Object(i.R)(t,V.classNames),!1}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function xe(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function Se(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class ke extends E.a{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function Ee(e){return e instanceof E.a?new ke(e):e}class Te{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(Ee(e),t)}onDragOver(e,t,n,i,r=!0){return this.dnd.onDragOver(Ee(e),t&&t.element,n,i)}drop(e,t,n,i){this.dnd.drop(Ee(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function Le(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new Te(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element})),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var n;return!!(null===(n=e.accessibilityProvider)||void 0===n?void 0:n.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter:(t,n)=>e.filter.filter(t.element,n)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function Ne(e,t){t(e),e.children.forEach(e=>Ne(e,t))}class Ie{constructor(e,t,n,i,o,s={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new a.a,this._onDidChangeNodeSlowState=new a.a,this.nodeMapper=new S(e=>new ye(e)),this.disposables=new r.b,this.identityProvider=s.identityProvider,this.autoExpandSingleChildren=void 0!==s.autoExpandSingleChildren&&s.autoExpandSingleChildren,this.sorter=s.sorter,this.collapseByDefault=s.collapseByDefault,this.tree=this.createTree(e,t,n,i,s),this.root=ve({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return a.b.map(this.tree.onDidChangeFocus,xe)}get onDidChangeSelection(){return a.b.map(this.tree.onDidChangeSelection,xe)}get onMouseDblClick(){return a.b.map(this.tree.onMouseDblClick,Se)}get onPointer(){return a.b.map(this.tree.onPointer,Se)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,n,i,r){const o=new $(n),s=i.map(e=>new Ce(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),a=Le(r)||{};return new me(e,t,o,s,a)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return _e(this,void 0,void 0,(function*(){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;const n=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,n),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,n=!1,i){return _e(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new x(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event));const r=this.getDataNode(e);if(yield this.refreshAndRenderNode(r,t,i),n)try{this.tree.rerender(r)}catch(e){}}))}rerender(e){if(void 0===e||e===this.root.element)return void this.tree.rerender();const t=this.getDataNode(e);this.tree.rerender(t)}collapse(e,t=!1){const n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)}expand(e,t=!1){return _e(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new x(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event));const n=this.getDataNode(e);if(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))return!1;if(n.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event)),n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))return!1;const i=this.tree.expand(n===this.root?null:n,t);return n.refreshPromise&&(yield this.root.refreshPromise,yield a.b.toPromise(this._onDidRender.event)),i}))}setSelection(e,t){const n=e.map(e=>this.getDataNode(e));this.tree.setSelection(n,t)}getSelection(){return this.tree.getSelection().map(e=>e.element)}setFocus(e,t){const n=e.map(e=>this.getDataNode(e));this.tree.setFocus(n,t)}getFocus(){return this.tree.getFocus().map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new x(this.user,"Data tree node not found: "+e);return t}refreshAndRenderNode(e,t,n){return _e(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,n),this.render(e,n)}))}refreshNode(e,t,n){return _e(this,void 0,void 0,(function*(){let i;return this.subTreeRefreshPromises.forEach((r,o)=>{!i&&function(e,t){return e===t||we(e,t)||we(t,e)}(o,e)&&(i=r.then(()=>this.refreshNode(e,t,n)))}),i||this.doRefreshSubTree(e,t,n)}))}doRefreshSubTree(e,t,n){return _e(this,void 0,void 0,(function*(){let i;e.refreshPromise=new Promise(e=>i=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const r=yield this.doRefreshNode(e,t,n);e.stale=!1,yield Promise.all(r.map(e=>this.doRefreshSubTree(e,t,n)))}finally{i()}}))}doRefreshNode(e,t,n){return _e(this,void 0,void 0,(function*(){let i;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=Object(A.l)(800);t.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),i=this.doGetChildren(e).finally(()=>t.cancel())}else i=Promise.resolve(y.a.empty());try{const r=yield i;return this.setChildren(e,r,t,n)}catch(t){if(e!==this.root&&this.tree.collapse(e===this.root?null:e),Object(be.d)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);return t||(t=Object(A.f)(()=>_e(this,void 0,void 0,(function*(){const t=yield this.dataSource.getChildren(e.element);return this.processChildren(t)}))),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(be.e))}setChildren(e,t,n,i){const r=[...t];if(0===e.children.length&&0===r.length)return[];const o=new Map,s=new Map;for(const t of e.children)if(o.set(t.element,t),this.identityProvider){const e=this.tree.isCollapsed(t);s.set(t.id,{node:t,collapsed:e})}const a=[],l=r.map(t=>{const r=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const n=ve({element:t,parent:e,hasChildren:r});return r&&this.collapseByDefault&&!this.collapseByDefault(t)&&(n.collapsedByDefault=!1,a.push(n)),n}const l=this.identityProvider.getId(t).toString(),c=s.get(l);if(c){const e=c.node;return o.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=r,n?c.collapsed?(e.children.forEach(e=>Ne(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):a.push(e):r&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,a.push(e)),e}const d=ve({element:t,parent:e,id:l,hasChildren:r});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?a.push(d):r&&this.collapseByDefault&&!this.collapseByDefault(t)&&(d.collapsedByDefault=!1,a.push(d)),d});for(const e of o.values())Ne(e,e=>this.nodes.delete(e.element));for(const e of l)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...l),e!==this.root&&this.autoExpandSingleChildren&&1===l.length&&0===a.length&&(l[0].collapsedByDefault=!1,a.push(l[0])),a}render(e,t){const n=e.children.map(e=>this.asTreeElement(e,t));this.tree.setChildren(e===this.root?null:e,n),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let n;return n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?y.a.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:n}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class De{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new De(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Oe{constructor(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderCompressedElements(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?Object(i.f)(t,V.classNames):Object(i.R)(t,V.classNames),!1}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeCompressedElements(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=Object(r.f)(this.disposables)}}class Ae extends Ie{constructor(e,t,n,i,r,o,s={}){super(e,t,n,r,o,s),this.compressionDelegate=i,this.compressibleNodeMapper=new S(e=>new De(e)),this.filter=s.filter}createTree(e,t,n,i,r){const o=new $(n),s=i.map(e=>new Oe(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),a=function(e){const t=e&&Le(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))})})}(r)||{};return new fe(e,t,o,s,a)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const n=e=>this.identityProvider.getId(e).toString(),i=e=>{const t=new Set;for(const i of e){const e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(const i of e.element.elements)t.add(n(i.element))}return t},r=i(this.tree.getSelection()),o=i(this.tree.getFocus());super.render(e,t);const s=this.getSelection();let a=!1;const l=this.getFocus();let c=!1;const d=e=>{const t=e.element;if(t)for(let e=0;e<t.elements.length;e++){const i=n(t.elements[e].element),d=t.elements[t.elements.length-1].element;r.has(i)&&-1===s.indexOf(d)&&(s.push(d),a=!0),o.has(i)&&-1===l.indexOf(d)&&(l.push(d),c=!0)}e.children.forEach(d)};d(this.tree.getCompressedTreeNode(e===this.root?null:e)),a&&this.setSelection(s),c&&this.setFocus(l)}processChildren(e){return this.filter&&(e=y.a.filter(e,e=>{const t=this.filter.filter(e,1),n="boolean"==typeof(i=t)?i?1:0:N(i)?I(i.visibility):I(i);var i;if(2===n)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===n})),super.processChildren(e)}}class Re extends ie{constructor(e,t,n,i,r,o={}){super(e,t,n,i,o),this.user=e,this.dataSource=r,this.identityProvider=o.identityProvider}createModel(e,t,n){return new re(e,t,n)}}var Me=n(80),Pe=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Fe=function(e,t){return function(n,i){t(n,i,e)}};const We=Object(g.c)("listService");let ze=class{constructor(e){this._themeService=e,this.disposables=new r.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new s.b(Object(i.v)(),"");this.disposables.add(Object(_.b)(e,this._themeService))}if(this.lists.some(t=>t.widget===e))throw new Error("Cannot register the same widget multiple times");const n={widget:e,extraContextKeys:t};return this.lists.push(n),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(r.e)(e.onDidFocus(()=>this._lastFocusedWidget=e),Object(r.h)(()=>this.lists.splice(this.lists.indexOf(n),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==n),this._lastFocusedWidget===e&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};ze=Pe([Fe(0,v.c)],ze);const Be=new m.c("listFocus",!0),je=new m.c("listSupportsMultiselect",!0),Ve=m.a.and(Be,m.a.not("inputFocus")),Ue=new m.c("listHasSelectionOrFocus",!1),He=new m.c("listDoubleSelection",!1),qe=new m.c("listMultiSelection",!1),$e=new m.c("listSupportsKeyboardNavigation",!0),Ke=new m.c("listAutomaticKeyboardNavigation",!0);let Ge=!1;function Ye(e,t){const n=e.createScoped(t.getHTMLElement());return Be.bindTo(n),n}const Ze="workbench.list.horizontalScrolling",Xe="workbench.tree.indent",Qe="workbench.list.smoothScrolling";function Je(e){return"alt"===e.getValue("workbench.list.multiSelectModifier")}class et extends r.a{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=Je(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.list.multiSelectModifier")&&(this.useAltAsMultipleSelectionModifier=Je(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(s.h)(e)}isSelectionRangeChangeEvent(e){return Object(s.g)(e)}}function tt(e,t,n){const i=new r.b,o=Object.assign({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){const e=new et(t);o.multipleSelectionController=e,i.add(e)}return o.keyboardNavigationDelegate={mightProducePrintableCharacter:e=>n.mightProducePrintableCharacter(e)},o.smoothScrolling=t.getValue(Qe),[o,i]}let nt=class extends s.c{constructor(e,t,n,i,r,o,s,a,l,c){const d=void 0!==r.horizontalScrolling?r.horizontalScrolling:l.getValue(Ze),[h,u]=tt(r,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(_.d)(a.getColorTheme(),_.e)),h),{horizontalScrolling:d})),this.disposables.add(u),this.contextKeyService=Ye(o,this),this.themeService=a;je.bindTo(this.contextKeyService).set(!(!1===r.multipleSelectionSupport)),this.listHasSelectionOrFocus=Ue.bindTo(this.contextKeyService),this.listDoubleSelection=He.bindTo(this.contextKeyService),this.listMultiSelection=qe.bindTo(this.contextKeyService),this.horizontalScrolling=r.horizontalScrolling,this._useAltAsMultipleSelectionModifier=Je(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),r.overrideStyles&&this.updateStyles(r.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=Je(l));let t={};if(e.affectsConfiguration(Ze)&&void 0===this.horizontalScrolling){const e=l.getValue(Ze);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Qe)){const e=l.getValue(Qe);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)}))}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles)}dispose(){super.dispose(),this._styler&&this._styler.dispose()}updateStyles(e){this._styler&&this._styler.dispose(),this._styler=Object(_.b)(this,this.themeService,e)}};nt=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a)],nt);let it=class extends class{constructor(e,t,n,i,r={}){const o=()=>this.model,a=i.map(e=>new c(e,o));this.list=new s.c(e,t,n,a,function(e,t){return Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new d(e,t.accessibilityProvider)})}(o,r))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return a.b.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n}))}get onPointer(){return a.b.map(this.list.onPointer,({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n}))}get onDidChangeFocus(){return a.b.map(this.list.onDidChangeFocus,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:n}))}get onDidChangeSelection(){return a.b.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:n}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,Object(o.s)(e.length))}getFocus(){return this.list.getFocus()}setSelection(e,t){this.list.setSelection(e,t)}getSelection(){return this.list.getSelection()}style(e){this.list.style(e)}dispose(){this.list.dispose()}}{constructor(e,t,n,i,o,s,a,l,c,d){const h=void 0!==o.horizontalScrolling?o.horizontalScrolling:c.getValue(Ze),[u,p]=tt(o,c,d);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(_.d)(l.getColorTheme(),_.e)),u),{horizontalScrolling:h})),this.disposables=new r.b,this.disposables.add(p),this.contextKeyService=Ye(s,this),this.horizontalScrolling=o.horizontalScrolling;je.bindTo(this.contextKeyService).set(!(!1===o.multipleSelectionSupport)),this._useAltAsMultipleSelectionModifier=Je(c),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),o.overrideStyles&&this.disposables.add(Object(_.b)(this,l,o.overrideStyles)),this.disposables.add(c.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=Je(c));let t={};if(e.affectsConfiguration(Ze)&&void 0===this.horizontalScrolling){const e=c.getValue(Ze);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Qe)){const e=c.getValue(Qe);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)}))}dispose(){super.dispose(),this.disposables.dispose()}};it=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a)],it);class rt extends r.a{constructor(e,t){var n,i;super(),this.widget=e,this._onDidOpen=new a.a,this.onDidOpen=this._onDidOpen.event,this.openOnFocus=null!==(n=null==t?void 0:t.openOnFocus)&&void 0!==n&&n,this._register(a.b.filter(this.widget.onDidChangeSelection,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.browserEvent))),this.openOnFocus&&this._register(a.b.filter(this.widget.onDidChangeFocus,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onFocusFromKeyboard(e))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue("workbench.list.openMode")),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue("workbench.list.openMode"))}))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onFocusFromKeyboard(e){const t=this.widget.getFocus();this.widget.setSelection(t,e.browserEvent);const n="boolean"!=typeof e.browserEvent.preserveFocus||e.browserEvent.preserveFocus;this._open(n,!1,!1,e.browserEvent)}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t="boolean"!=typeof e.browserEvent.preserveFocus||e.browserEvent.preserveFocus;this._open(t,!1,!1,e.browserEvent)}onPointer(e){if(!this.openOnSingleClick)return;if(2===e.detail)return;const t=1===e.button,n=e.ctrlKey||e.metaKey||e.altKey;this._open(!0,t,n,e)}onMouseDblClick(e){if(!e)return;const t=e.ctrlKey||e.metaKey||e.altKey;this._open(!1,!0,t,e)}_open(e,t,n,i){this._onDidOpen.fire({editorOptions:{preserveFocus:e,pinned:t,revealIfVisible:!0},sideBySide:n,element:this.widget.getSelection()[0],browserEvent:i})}}class ot extends rt{constructor(e,t){super(e,t)}}function st(e,t){let n=!1;return i=>{if(n)return n=!1,!1;const r=t.softDispatch(i,e);return r&&r.enterChord?(n=!0,!1):(n=!1,!0)}}let at=class extends me{constructor(e,t,n,i,r,o,s,a,l,c,d){const{options:h,getAutomaticKeyboardNavigation:u,disposable:p}=ut(t,r,o,l,c,d);super(e,t,n,i,h),this.disposables.add(p),this.internals=new pt(this,r,u,r.overrideStyles,o,s,a,l,d),this.disposables.add(this.internals)}};at=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a),Fe(10,Me.b)],at);let lt=class extends fe{constructor(e,t,n,i,r,o,s,a,l,c,d){const{options:h,getAutomaticKeyboardNavigation:u,disposable:p}=ut(t,r,o,l,c,d);super(e,t,n,i,h),this.disposables.add(p),this.internals=new pt(this,r,u,r.overrideStyles,o,s,a,l,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};lt=Pe([Fe(5,m.b),Fe(6,We),Fe(7,v.c),Fe(8,u.a),Fe(9,f.a),Fe(10,Me.b)],lt);let ct=class extends Re{constructor(e,t,n,i,r,o,s,a,l,c,d,h){const{options:u,getAutomaticKeyboardNavigation:p,disposable:m}=ut(t,o,s,c,d,h);super(e,t,n,i,r,u),this.disposables.add(m),this.internals=new pt(this,o,p,o.overrideStyles,s,a,l,c,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};ct=Pe([Fe(6,m.b),Fe(7,We),Fe(8,v.c),Fe(9,u.a),Fe(10,f.a),Fe(11,Me.b)],ct);let dt=class extends Ie{constructor(e,t,n,i,r,o,s,a,l,c,d,h){const{options:u,getAutomaticKeyboardNavigation:p,disposable:m}=ut(t,o,s,c,d,h);super(e,t,n,i,r,u),this.disposables.add(m),this.internals=new pt(this,o,p,o.overrideStyles,s,a,l,c,h),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};dt=Pe([Fe(6,m.b),Fe(7,We),Fe(8,v.c),Fe(9,u.a),Fe(10,f.a),Fe(11,Me.b)],dt);let ht=class extends Ae{constructor(e,t,n,i,r,o,s,a,l,c,d,h,u){const{options:p,getAutomaticKeyboardNavigation:m,disposable:g}=ut(t,s,a,d,h,u);super(e,t,n,i,r,o,p),this.disposables.add(g),this.internals=new pt(this,s,m,s.overrideStyles,a,l,c,d,u),this.disposables.add(this.internals)}};function ut(e,t,n,i,r,o){$e.bindTo(n),Ge||(Ke.bindTo(n),Ge=!0);const s=()=>{let e=n.getContextKeyValue("listAutomaticKeyboardNavigation");return e&&(e=i.getValue("workbench.list.automaticKeyboardNavigation")),e},a=o.isScreenReaderOptimized()?"simple":i.getValue("workbench.list.keyboardNavigation"),l=void 0!==t.horizontalScrolling?t.horizontalScrolling:i.getValue(Ze),[c,d]=tt(t,i,r),h=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:s,disposable:d,options:Object.assign(Object.assign({keyboardSupport:!1},c),{indent:i.getValue(Xe),renderIndentGuides:i.getValue("workbench.tree.renderIndentGuides"),smoothScrolling:i.getValue(Qe),automaticKeyboardNavigation:s(),simpleKeyboardNavigation:"simple"===a,filterOnType:"filter"===a,horizontalScrolling:l,keyboardNavigationEventFilter:st(e,r),additionalScrollHeight:h,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnDoubleClick:"doubleClick"===i.getValue("workbench.list.openMode")})}}ht=Pe([Fe(7,m.b),Fe(8,We),Fe(9,v.c),Fe(10,u.a),Fe(11,f.a),Fe(12,Me.b)],ht);let pt=class{constructor(e,t,n,i,r,o,s,a,l){this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=Ye(r,e);je.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=Ue.bindTo(this.contextKeyService),this.hasDoubleSelection=He.bindTo(this.contextKeyService),this.hasMultiSelection=qe.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=Je(a);const c=new Set;c.add("listAutomaticKeyboardNavigation");const d=()=>{const t=l.isScreenReaderOptimized()?"simple":a.getValue("workbench.list.keyboardNavigation");e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,o.register(e),e.onDidChangeSelection(()=>{const t=e.getSelection(),n=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||n.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{const t=e.getSelection(),n=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||n.length>0)}),a.onDidChangeConfiguration(i=>{let r={};if(i.affectsConfiguration("workbench.list.multiSelectModifier")&&(this._useAltAsMultipleSelectionModifier=Je(a)),i.affectsConfiguration(Xe)){const e=a.getValue(Xe);r=Object.assign(Object.assign({},r),{indent:e})}if(i.affectsConfiguration("workbench.tree.renderIndentGuides")){const e=a.getValue("workbench.tree.renderIndentGuides");r=Object.assign(Object.assign({},r),{renderIndentGuides:e})}if(i.affectsConfiguration(Qe)){const e=a.getValue(Qe);r=Object.assign(Object.assign({},r),{smoothScrolling:e})}if(i.affectsConfiguration("workbench.list.keyboardNavigation")&&d(),i.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&(r=Object.assign(Object.assign({},r),{automaticKeyboardNavigation:n()})),i.affectsConfiguration(Ze)&&void 0===t.horizontalScrolling){const e=a.getValue(Ze);r=Object.assign(Object.assign({},r),{horizontalScrolling:e})}i.affectsConfiguration("workbench.list.openMode")&&(r=Object.assign(Object.assign({},r),{expandOnlyOnDoubleClick:"doubleClick"===a.getValue("workbench.list.openMode")})),Object.keys(r).length>0&&e.updateOptions(r)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})}),l.onDidChangeScreenReaderOptimized(()=>d())),this.navigator=new ot(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateStyleOverrides(e){Object(r.f)(this.styler),this.styler=e?Object(_.b)(this.tree,this.themeService,e):r.a.None}dispose(){this.disposables=Object(r.f)(this.disposables),Object(r.f)(this.styler),this.styler=void 0}};pt=Pe([Fe(4,m.b),Fe(5,We),Fe(6,v.c),Fe(7,u.a),Fe(8,Me.b)],pt);b.a.as(p.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(h.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{"workbench.list.multiSelectModifier":{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(h.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(h.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(h.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},"workbench.list.openMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(h.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},[Ze]:{type:"boolean",default:!1,description:Object(h.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[Xe]:{type:"number",default:8,minimum:0,maximum:40,description:Object(h.a)("tree indent setting","Controls tree indentation in pixels.")},"workbench.tree.renderIndentGuides":{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(h.a)("render tree indent guides","Controls whether the tree should render indent guides.")},[Qe]:{type:"boolean",default:!1,description:Object(h.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},"workbench.list.keyboardNavigation":{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(h.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(h.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(h.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(h.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},"workbench.list.automaticKeyboardNavigation":{type:"boolean",default:!0,markdownDescription:Object(h.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")}}})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(34),r=n(11);const o={clipboard:{writeText:r.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:r.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(i.f){let e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0})()},keyboard:r.g||i.k?0:navigator.keyboard||i.j?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("themeService")},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,o,s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new g(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var s=f[o];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=s):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:b,i="",r=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=h,i+=h),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(u=s.charCodeAt(1))>=65&&u<=90&&(s="/"+String.fromCharCode(u+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var u;(u=s.charCodeAt(0))>=65&&u<=90&&(s=String.fromCharCode(u+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));const i={ctrlCmd:!1,alt:!1};var r;!function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(r||(r={}))},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return o}));var i=n(95),r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:i.a.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:i.a.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:i.a.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:i.a.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},o={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}},function(e,t,n){"use strict";function i(e){return e&&"string"==typeof e.id}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));const r={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,o,s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new g(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var s=f[o];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=s):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:b,i="",r=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=h,i+=h),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(u=s.charCodeAt(1))>=65&&u<=90&&(s="/"+String.fromCharCode(u+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var u;(u=s.charCodeAt(0))>=65&&u<=90&&(s=String.fromCharCode(u+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(214);const i="monaco-mouse-cursor-text"},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(0),r=n(6),o=n(12),s=n(39),a=n(56);const l=new class{constructor(){this._onDidChangeLanguages=new r.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,n=this._languages.length;t<n;t++)if(this._languages[t]===e)return void this._languages.splice(t,1)}}}getLanguages(){return[].concat(this._languages).concat(this._dynamicLanguages)}};a.a.add("editor.modesRegistry",l);const c="plaintext",d=new o.r(c,1);l.registerLanguage({id:c,extensions:[".txt"],aliases:[i.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),s.a.register(d,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));class i{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const r=new i("id#")},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var i=n(18),r=n(23),o=n(14);const s=Object(i.c)("IWorkspaceEditService");class a{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(t=e,Object(o.i)(t)&&r.a.isUri(t.resource)&&Object(o.i)(t.edit))return new l(e.resource,e.edit,e.modelVersionId,e.metadata);var t;if(function(e){return Object(o.i)(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))}(e))return new c(e.oldUri,e.newUri,e.options,e.metadata);throw new Error("Unsupported edit")})}}class l extends a{constructor(e,t,n,i){super(i),this.resource=e,this.textEdit=t,this.versionId=n,this.metadata=i}}class c extends a{constructor(e,t,n,i){super(i),this.oldResource=e,this.newResource=t,this.options=n,this.metadata=i}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(18);const r=Object(i.c)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(71),r=n(8);const o="$(";function s(e){const t=e.indexOf(o);return-1===t?{text:e}:function(e,t){const n=[];let i="";function r(e){if(e){i+=e;for(const t of e)n.push(d)}}let s,a,l=-1,c="",d=0,h=t;const u=e.length;r(e.substr(0,t));for(;h<u;){if(s=e[h],a=e[h+1],s===o[0]&&a===o[1])l=h,r(c),c=o,h++;else if(")"===s&&-1!==l){d+=h-l+1,l=-1,c=""}else-1!==l?/^[a-z0-9\-]$/i.test(s)?c+=s:(r(c),l=-1,c=""):r(s);h++}return r(c),{text:i,codiconOffsets:n}}(e,t)}function a(e,t,n=!1){const{text:o,codiconOffsets:s}=t;if(!s||0===s.length)return Object(i.g)(e,o,n);const a=Object(r.K)(o," "),l=o.length-a.length,c=Object(i.g)(e,a,n);if(c)for(const e of c){const t=s[e.start+l]+l;e.start+=t,e.end+=t}return c}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(18);const r=Object(i.c)("textResourceConfigurationService"),o=Object(i.c)("textResourcePropertiesService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n(246);var i=n(2),r=n(11),o=n(14),s=n(61),a=n(69),l=n(6),c=n(1),d=n(44);const h=new l.a;class u extends i.a{constructor(e,t,n){super(),this._state=3,this._onDidEnablementChange=this._register(new l.a),this.onDidEnablementChange=this._onDidEnablementChange.event,this._onDidStart=this._register(new l.a),this.onDidStart=this._onDidStart.event,this._onDidChange=this._register(new l.a),this.onDidChange=this._onDidChange.event,this._onDidReset=this._register(new l.a),this.onDidReset=this._onDidReset.event,this._onDidEnd=this._register(new l.a),this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.orthogonalStartSashDisposables=this._register(new i.b),this.orthogonalEndSashDisposables=this._register(new i.b),this.el=Object(c.p)(e,Object(c.a)(".monaco-sash")),r.f&&Object(c.e)(this.el,"mac"),this._register(Object(d.a)(this.el,"mousedown")(this.onMouseDown,this)),this._register(Object(d.a)(this.el,"dblclick")(this.onMouseDoubleClick,this)),this._register(s.b.addTarget(this.el)),this._register(Object(d.a)(this.el,s.a.Start)(this.onTouchStart,this)),"number"==typeof n.size?(this.size=n.size,0===n.orientation?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=4,this._register(h.event(e=>{this.size=e,this.layout()}))),this.hidden=!1,this.layoutProvider=t,this.orthogonalStartSash=n.orthogonalStartSash,this.orthogonalEndSash=n.orthogonalEndSash,this.orientation=n.orientation||0,1===this.orientation?(Object(c.e)(this.el,"horizontal"),Object(c.Q)(this.el,"vertical")):(Object(c.Q)(this.el,"horizontal"),Object(c.e)(this.el,"vertical")),Object(c.ab)(this.el,"debug",!1),this.layout()}get state(){return this._state}set state(e){this._state!==e&&(Object(c.ab)(this.el,"disabled",0===e),Object(c.ab)(this.el,"minimum",1===e),Object(c.ab)(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e}onMouseDown(e){c.b.stop(e,!1);let t=!1;if(!e.__orthogonalSashEvent){const n=this.getOrthogonalSash(e);n&&(t=!0,e.__orthogonalSashEvent=!0,n.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),!this.state)return;const n=[...Object(c.D)("iframe"),...Object(c.D)("webview")];for(const e of n)e.style.pointerEvents="none";const o=new a.a(e),s=o.posx,l=o.posy,h=o.altKey,u={startX:s,currentX:s,startY:l,currentY:l,altKey:h};Object(c.e)(this.el,"active"),this._onDidStart.fire(u);const p=Object(c.v)(this.el),m=()=>{let e="";e=t?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":r.f?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":r.f?"col-resize":"ew-resize",p.innerHTML=`* { cursor: ${e} !important; }`},g=new i.b;m(),t||this.onDidEnablementChange(m,null,g);Object(d.a)(window,"mousemove")(e=>{c.b.stop(e,!1);const t=new a.a(e),n={startX:s,currentX:t.posx,startY:l,currentY:t.posy,altKey:h};this._onDidChange.fire(n)},null,g),Object(d.a)(window,"mouseup")(e=>{c.b.stop(e,!1),this.el.removeChild(p),Object(c.Q)(this.el,"active"),this._onDidEnd.fire(),g.dispose();for(const e of n)e.style.pointerEvents="auto"},null,g)}onMouseDoubleClick(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}onTouchStart(e){c.b.stop(e);const t=[],n=e.pageX,r=e.pageY,a=e.altKey;this._onDidStart.fire({startX:n,currentX:n,startY:r,currentY:r,altKey:a}),t.push(Object(c.i)(this.el,s.a.Change,e=>{o.h(e.pageX)&&o.h(e.pageY)&&this._onDidChange.fire({startX:n,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:a})})),t.push(Object(c.i)(this.el,s.a.End,e=>{this._onDidEnd.fire(),Object(i.f)(t)}))}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}onOrthogonalStartSashEnablementChange(e){Object(c.ab)(this.el,"orthogonal-start",0!==e)}onOrthogonalEndSashEnablementChange(e){Object(c.ab)(this.el,"orthogonal-end",0!==e)}getOrthogonalSash(e){if(0===this.orientation){if(e.offsetY<=this.size)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-this.size)return this.orthogonalEndSash}else{if(e.offsetX<=this.size)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-this.size)return this.orthogonalEndSash}}dispose(){super.dispose(),this.el.remove()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));n(251),n(255),n(257);var i=n(17);const r=new class{constructor(){this.onDidChange=i.c.onDidRegister}getCSS(){const e=[];for(let t of i.c.all)e.push(o(t));return e.join("\n")}};function o(e){let t=e.definition;for(;t instanceof i.a;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.character}'; }`}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i=n(8);class r{constructor(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(!r._equals(e[i],t[i]))return!1;return!0}static filter(e,t,n,i){if(0===e.length)return[];let o=[],s=0;for(let a=0,l=e.length;a<l;a++){const l=e[a],c=l.range;if(c.endLineNumber<t||c.startLineNumber>t)continue;if(c.isEmpty()&&(0===l.type||3===l.type))continue;const d=c.startLineNumber===t?c.startColumn:n,h=c.endLineNumber===t?c.endColumn:i;o[s++]=new r(d,h,l.inlineClassName,l.type)}return o}static _typeCompare(e,t){const n=[2,0,1,3];return n[e]-n[t]}static compare(e,t){if(e.startColumn===t.startColumn){if(e.endColumn===t.endColumn){const n=r._typeCompare(e.type,t.type);return 0===n?e.className<t.className?-1:e.className>t.className?1:0:n}return e.endColumn-t.endColumn}return e.startColumn-t.startColumn}}class o{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.className=n,this.metadata=i}}class s{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let n=0,i=e.length;n<i;n++)t|=e[n];return t}consumeLowerThan(e,t,n){for(;this.count>0&&this.stopOffsets[0]<e;){let e=0;for(;e+1<this.count&&this.stopOffsets[e]===this.stopOffsets[e+1];)e++;n.push(new o(t,this.stopOffsets[e],this.classNames.join(" "),s._metadata(this.metadata))),t=this.stopOffsets[e]+1,this.stopOffsets.splice(0,e+1),this.classNames.splice(0,e+1),this.metadata.splice(0,e+1),this.count-=e+1}return this.count>0&&t<e&&(n.push(new o(t,e-1,this.classNames.join(" "),s._metadata(this.metadata))),t=e),t}insert(e,t,n){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(n);else for(let i=0;i<this.count;i++)if(this.stopOffsets[i]>=e){this.stopOffsets.splice(i,0,e),this.classNames.splice(i,0,t),this.metadata.splice(i,0,n);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];let n=[];const r=new s;let o=0;for(let s=0,a=t.length;s<a;s++){const a=t[s];let l=a.startColumn,c=a.endColumn;const d=a.className,h=1===a.type?2:2===a.type?4:0;if(l>1){const t=e.charCodeAt(l-2);i.F(t)&&l--}if(c>1){const t=e.charCodeAt(c-2);i.F(t)&&c--}const u=l-1,p=c-2;o=r.consumeLowerThan(u,o,n),0===r.count&&(o=u),r.insert(p,d,h)}return r.consumeLowerThan(1073741824,o,n),n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(46),r=n(17),o=n(8);class s{constructor(e,t){this.supportCodicons=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t=[],n="",r){e||(e=""),r&&(e=s.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===n&&i.e(this.highlights,t)||(Array.isArray(t)||(t=[]),this.text=e,this.title=n,this.highlights=t,this.render())}render(){let e="",t=0;for(const n of this.highlights){if(n.end===n.start)continue;if(t<n.start){e+="<span>";const i=this.text.substring(t,n.start);e+=this.supportCodicons?Object(r.f)(Object(o.u)(i)):Object(o.u)(i),e+="</span>",t=n.end}n.extraClasses?e+=`<span class="highlight ${n.extraClasses}">`:e+='<span class="highlight">';const i=this.text.substring(n.start,n.end);e+=this.supportCodicons?Object(r.f)(Object(o.u)(i)):Object(o.u)(i),e+="</span>",t=n.end}if(t<this.text.length){e+="<span>";const n=this.text.substring(t);e+=this.supportCodicons?Object(r.f)(Object(o.u)(n)):Object(o.u)(n),e+="</span>"}this.domNode.innerHTML=e,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(e,t){let n=0,i=0;return e.replace(/\r\n|\r|\n/g,(e,r)=>{i="\r\n"===e?-1:0,r+=n;for(const e of t)e.end<=r||(e.start>=r&&(e.start+=i),e.end>=r&&(e.end+=i));return n+=i,"⏎"})}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(11);const r=i.b.performance&&"function"==typeof i.b.performance.now;class o{constructor(e){this._highResolution=r&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new o(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?i.b.performance.now():(new Date).getTime()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("labelService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(11),r=n(135);const o=i.f?1.5:1.35;class s{constructor(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n){const i=e.get(35),r=e.get(39),o=e.get(38),a=e.get(37),l=e.get(51),c=e.get(48);return s._create(i,r,o,a,l,c,t,n)}static _create(e,t,n,i,a,l,c,d){0===a?a=Math.round(o*n):a<8&&(a=8);const h=1+(d?0:.1*r.a.getZoomLevel());return new s({zoomLevel:c,fontFamily:e,fontWeight:t,fontSize:n*=h,fontFeatureSettings:i,lineHeight:a*=h,letterSpacing:l})}getId(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?`"${this.fontFamily}"`:this.fontFamily}}class a extends s{constructor(e,t){super(e),this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return w})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return L}));var i=n(0),r=n(6),o=n(2),s=n(46),a=n(16),l=n(26),c=n(135),d=n(160),h=n(128),u=n(56),p=n(189);const m=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new r.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}},g=Object.hasOwnProperty;class f{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class b{constructor(){this._values=[]}_read(e){return this._values[e]}_write(e,t){this._values[e]=t}}class _{static readOptions(e){const t=e,n=new b;for(const e of l.k){const i="_never_"===e.name?void 0:t[e.name];n._write(e.id,i)}return n}static validateOptions(e){const t=new l.j;for(const n of l.k)t._write(n.id,n.validate(e._read(n.id)));return t}static computeOptions(e,t){const n=new f;for(const i of l.k)n._write(i.id,i.compute(t,n,e._read(i.id)));return n}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!(!Array.isArray(e)||!Array.isArray(t))&&a.g(e,t);for(let n in e)if(!_._deepEquals(e[n],t[n]))return!1;return!0}static checkEquals(e,t){const n=[];let i=!1;for(const r of l.k){const o=!_._deepEquals(e._read(r.id),t._read(r.id));n[r.id]=o,o&&(i=!0)}return i?new l.b(n):null}}function v(e){const t=s.c(e);return function(e){const t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");const n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off"),!1===e.autoClosingBrackets&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never"),"visible"===e.cursorBlinking&&(e.cursorBlinking="solid");const i=e.renderWhitespace;!0===i?e.renderWhitespace="boundary":!1===i&&(e.renderWhitespace="none");const r=e.renderLineHighlight;!0===r?e.renderLineHighlight="line":!1===r&&(e.renderLineHighlight="none");const o=e.acceptSuggestionOnEnter;!0===o?e.acceptSuggestionOnEnter="on":!1===o&&(e.acceptSuggestionOnEnter="off");const s=e.tabCompletion;!1===s?e.tabCompletion="off":!0===s&&(e.tabCompletion="onlySnippets");const a=e.suggest;if(a&&"object"==typeof a.filteredTypes&&a.filteredTypes){const e={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(p.b)(e,e=>{const t=a.filteredTypes[e.key];!1===t&&(a[e.value]=t)})}const l=e.hover;!0===l?e.hover={enabled:!0}:!1===l&&(e.hover={enabled:!1});const c=e.parameterHints;!0===c?e.parameterHints={enabled:!0}:!1===c&&(e.parameterHints={enabled:!1});const d=e.autoIndent;!0===d?e.autoIndent="full":!1===d&&(e.autoIndent="advanced");const h=e.matchBrackets;!0===h?e.matchBrackets="always":!1===h&&(e.matchBrackets="never")}(t),t}class w extends o.a{constructor(e,t){super(),this._onDidChange=this._register(new r.a),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new r.a),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=e,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new l.a,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=v(t),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._register(c.a.onDidChangeZoomLevel(e=>this._recomputeOptions())),this._register(m.onDidChangeTabFocus(e=>this._recomputeOptions()))}observeReferenceElement(e){}dispose(){super.dispose()}_recomputeOptions(){const e=this.options,t=this._computeInternalOptions();if(e){const n=_.checkEquals(e,t);if(null===n)return;this.options=t,this._onDidChangeFast.fire(n),this._onDidChange.fire(n)}else this.options=t}getRawOptions(){return this._rawOptions}_computeInternalOptions(){const e=this._getEnvConfiguration(),t=d.a.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,this.isSimpleWidget),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:m.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return _.computeOptions(this._validatedOptions,n)}static _subsetEquals(e,t){for(const n in t)if(g.call(t,n)){const i=t[n],r=e[n];if(r===i)continue;if(Array.isArray(r)&&Array.isArray(i)){if(!a.g(r,i))return!1;continue}if(r&&"object"==typeof r&&i&&"object"==typeof i){if(!this._subsetEquals(r,i))return!1;continue}return!1}return!0}updateOptions(e){if(void 0===e)return;const t=v(e);w._subsetEquals(this._rawOptions,t)||(this._rawOptions=s.g(this._rawOptions,t||{}),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._recomputeOptions())}setIsDominatedByLongLines(e){this._isDominatedByLongLines=e,this._recomputeOptions()}setMaxLineNumber(e){const t=w._digitCount(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}static _digitCount(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}}const y=Object.freeze({id:"editor",order:5,type:"object",title:i.a("editorConfigurationTitle","Editor"),scope:5}),C=u.a.as(h.a.Configuration),x=Object.assign(Object.assign({},y),{properties:{"editor.tabSize":{type:"number",default:l.d.tabSize,minimum:1,markdownDescription:i.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:l.d.insertSpaces,markdownDescription:i.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:l.d.detectIndentation,markdownDescription:i.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:l.d.trimAutoWhitespace,description:i.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:l.d.largeFileOptimizations,description:i.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:i.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[i.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),i.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),i.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:i.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:i.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:i.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:i.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:i.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:i.a("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:i.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:i.a("codeLens","Controls whether the editor shows CodeLens.")}}});for(const e of l.k){const t=e.schema;if(void 0!==t)if(void 0!==(S=t).type||void 0!==S.anyOf)x.properties["editor."+e.name]=t;else for(let e in t)g.call(t,e)&&(x.properties[e]=t[e])}var S;let k=null;function E(){return null===k&&(k=Object.create(null),Object.keys(x.properties).forEach(e=>{k[e]=!0})),k}function T(e){return E()["editor."+e]||!1}function L(e){return E()["diffEditor."+e]||!1}C.registerConfiguration(x)},function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return T}));var i=n(46),r=n(2),o=n(61),s=n(1),a=n(6),l=n(44),c=n(105),d=n(170),h=n(99);function u(e,t){const n=[];for(let i of t){if(e.start>=i.range.end)continue;if(e.end<i.range.start)break;const t=h.a.intersect(e,i.range);h.a.isEmpty(t)||n.push({range:t,size:i.size})}return n}function p({start:e,end:t},n){return{start:e+n,end:t+n}}class m{constructor(){this.groups=[],this._size=0}splice(e,t,n=[]){const i=n.length-t,r=u({start:0,end:e},this.groups),o=u({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map(e=>({range:p(e.range,i),size:e.size})),s=n.map((t,n)=>({range:{start:e+n,end:e+n+1},size:t.size}));this.groups=function(...e){return function(e){const t=[];let n=null;for(let i of e){const e=i.range.start,r=i.range.end,o=i.size;n&&o===n.size?n.range.end=r:(n={range:{start:e,end:r},size:o},t.push(n))}return t}(e.reduce((e,t)=>e.concat(t),[]))}(r,s,o),this._size=this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const r=i.range.end-i.range.start,o=n+r*i.size;if(e<o)return t+Math.floor((e-n)/i.size);t+=r,n=o}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const r=i.range.end-i.range.start,o=n+r;if(e<o)return t+(e-n)*i.size;t+=r*i.size,n=o}return-1}}class g{constructor(e){this.renderers=e,this.cache=new Map}alloc(e){let t=this.getTemplateCache(e).pop();if(!t){const n=Object(s.a)(".monaco-list-row");t={domNode:n,templateId:e,templateData:this.getRenderer(e).renderTemplate(n)}}return t}release(e){e&&this.releaseRow(e)}releaseRow(e){const{domNode:t,templateId:n}=e;t&&(Object(s.Q)(t,"scrolling"),function(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(e){}}(t));this.getTemplateCache(n).push(e)}getTemplateCache(e){let t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t}dispose(){this.cache.forEach((e,t)=>{for(const n of e){this.getRenderer(t).disposeTemplate(n.templateData),n.domNode=null,n.templateData=null}}),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t}}var f=n(98),b=n(16),_=n(125),v=n(20),w=n(34),y=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s};const C={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0};class x{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class S{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class k{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;t<e.files.length;t++){const n=e.files.item(t);n&&(n.size||n.type)&&this.files.push(n)}}}getData(){return{types:this.types,files:this.files}}}class E{constructor(e){(null==e?void 0:e.getSetSize)?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(e,t,n)=>n,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class T{constructor(e,t,n,h=C){if(this.virtualDelegate=t,this.domId="list_id_"+ ++T.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new v.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=r.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=r.a.None,this.onDragLeaveTimeout=r.a.None,this.disposables=new r.b,this._onDidChangeContentHeight=new a.a,this._horizontalScrolling=!1,h.horizontalScrolling&&h.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new m;for(const e of n)this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new g(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",s.e(this.domNode,this.domId),this.domNode.tabIndex=0,s.ab(this.domNode,"mouse-support","boolean"!=typeof h.mouseSupport||h.mouseSupport),this._horizontalScrolling=Object(i.f)(h,e=>e.horizontalScrolling,C.horizontalScrolling),s.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===h.additionalScrollHeight?0:h.additionalScrollHeight,this.accessibilityProvider=new E(h.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";Object(i.f)(h,e=>e.transformOptimization,C.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(o.b.addTarget(this.rowsContainer)),this.scrollable=new d.a(Object(i.f)(h,e=>e.smoothScrolling,!1)?125:0,e=>s.Y(e)),this.scrollableElement=this.disposables.add(new c.c(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:1,vertical:Object(i.f)(h,e=>e.verticalScrollMode,C.verticalScrollMode),useShadows:Object(i.f)(h,e=>e.useShadows,C.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(l.a)(this.rowsContainer,o.a.Change)(this.onTouchChange,this,this.disposables),Object(l.a)(this.scrollableElement.getDomNode(),"scroll")(e=>e.target.scrollTop=0,null,this.disposables),a.b.map(Object(l.a)(this.domNode,"dragover"),e=>this.toDragEvent(e))(this.onDragOver,this,this.disposables),a.b.map(Object(l.a)(this.domNode,"drop"),e=>this.toDragEvent(e))(this.onDrop,this,this.disposables),Object(l.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(l.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(i.f)(h,e=>e.setRowLineHeight,C.setRowLineHeight),this.setRowHeight=Object(i.f)(h,e=>e.setRowHeight,C.setRowHeight),this.supportDynamicHeights=Object(i.f)(h,e=>e.supportDynamicHeights,C.supportDynamicHeights),this.dnd=Object(i.f)(h,e=>e.dnd,C.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,s.ab(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:s.B(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling)}splice(e,t,n=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,n=[]){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o={start:e,end:e+t},s=h.a.intersect(i,o);for(let e=s.start;e<s.end;e++)this.removeItemFromDOM(e);const a={start:e+t,end:this.items.length},l=h.a.intersect(a,i),c=h.a.relativeComplement(a,i),d=n.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:r.a.None}));let u;0===e&&t>=this.items.length?(this.rangeMap=new m,this.rangeMap.splice(0,0,d),this.items=d,u=[]):(this.rangeMap.splice(e,t,d),u=this.items.splice(e,t,...d));const g=n.length-t,f=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),b=p(l,g),_=h.a.intersect(f,b);for(let e=_.start;e<_.end;e++)this.updateItemInDOM(this.items[e],e);const v=h.a.relativeComplement(b,f);for(const e of v)for(let t=e.start;t<e.end;t++)this.removeItemFromDOM(t);const w=c.map(e=>p(e,g)),y=[{start:e,end:e+n.length},...w].map(e=>h.a.intersect(f,e)),C=this.getNextToLastElement(y);for(const e of y)for(let t=e.start;t<e.end;t++)this.insertItemInDOM(t,C);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),u.map(e=>e.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=s.Y(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let n={height:"number"==typeof e?e:s.A(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:s.B(this.domNode)}))}render(e,t,n,i,r,o=!1){const s=this.getRenderRange(t,n),a=h.a.relativeComplement(s,e),l=h.a.relativeComplement(e,s),c=this.getNextToLastElement(a);if(o){const t=h.a.intersect(e,s);for(let e=t.start;e<t.end;e++)this.updateItemInDOM(this.items[e],e)}for(const e of a)for(let t=e.start;t<e.end;t++)this.insertItemInDOM(t,c);for(const e of l)for(let t=e.start;t<e.end;t++)this.removeItemFromDOM(t);void 0!==i&&(this.rowsContainer.style.left=`-${i}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==r&&(this.rowsContainer.style.width=Math.max(r,this.renderWidth)+"px"),this.lastRenderTop=t,this.lastRenderHeight=n}insertItemInDOM(e,t){const n=this.items[e];if(!n.row){n.row=this.cache.alloc(n.templateId);const e=this.accessibilityProvider.getRole(n.element)||"listitem";n.row.domNode.setAttribute("role",e);const t=this.accessibilityProvider.isChecked(n.element);void 0!==t&&n.row.domNode.setAttribute("aria-checked",String(!!t))}n.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(n.row.domNode,t):this.rowsContainer.appendChild(n.row.domNode)),this.updateItemInDOM(n,e);const i=this.renderers.get(n.templateId);if(!i)throw new Error("No renderer found for template id "+n.templateId);i&&i.renderElement(n.element,e,n.row.templateData,n.size);const r=this.dnd.getDragURI(n.element);if(n.dragStartDisposable.dispose(),n.row.domNode.draggable=!!r,r){const e=Object(l.a)(n.row.domNode,"dragstart");n.dragStartDisposable=e(e=>this.onDragStart(n.element,r,e))}this.horizontalScrolling&&(this.measureItemWidth(n),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=w.h?"-moz-fit-content":"fit-content",e.width=s.B(e.row.domNode);const t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",this.setRowHeight&&(e.row.domNode.style.height=e.size+"px"),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),s.ab(e.row.domNode,"drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];t.dragStartDisposable.dispose();const n=this.renderers.get(t.templateId);t.row&&n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return a.b.map(Object(l.a)(this.domNode,"click"),e=>this.toMouseEvent(e))}get onMouseDblClick(){return a.b.map(Object(l.a)(this.domNode,"dblclick"),e=>this.toMouseEvent(e))}get onMouseMiddleClick(){return a.b.filter(a.b.map(Object(l.a)(this.domNode,"auxclick"),e=>this.toMouseEvent(e)),e=>1===e.browserEvent.button)}get onMouseDown(){return a.b.map(Object(l.a)(this.domNode,"mousedown"),e=>this.toMouseEvent(e))}get onContextMenu(){return a.b.map(Object(l.a)(this.domNode,"contextmenu"),e=>this.toMouseEvent(e))}get onTouchStart(){return a.b.map(Object(l.a)(this.domNode,"touchstart"),e=>this.toTouchEvent(e))}get onTap(){return a.b.map(Object(l.a)(this.rowsContainer,o.a.Tap),e=>this.toGestureEvent(e))}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,n){if(!n.dataTransfer)return;const i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(_.a.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(i,n)),void 0===e&&(e=String(i.length));const t=s.a(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),n.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>document.body.removeChild(t),0)}this.currentDragData=new x(i),_.c.CurrentDragAndDropData=new S(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),_.c.CurrentDragAndDropData&&"vscode-ui"===_.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(_.c.CurrentDragAndDropData)this.currentDragData=_.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new k}const t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let n;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof t&&0===t.effect?"copy":"move",n="boolean"!=typeof t&&t.feedback?t.feedback:void 0===e.index?[-1]:[e.index],n=Object(b.e)(n).filter(e=>e>=-1&&e<this.length).sort((e,t)=>e-t),n=-1===n[0]?[-1]:n,i=this.currentDragFeedback,o=n,Array.isArray(i)&&Array.isArray(o)?Object(b.g)(i,o):i===o)return!0;var i,o;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])s.e(this.domNode,"drop-target"),s.e(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(r.h)(()=>{s.Q(this.domNode,"drop-target"),s.Q(this.rowsContainer,"drop-target")});else{for(const e of n){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode&&s.e(t.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(r.h)(()=>{for(const e of n){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode&&s.Q(t.row.domNode,"drop-target")}})}return!0}onDragLeave(){this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(v.g)(()=>this.clearDragOverFeedback(),100)}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,_.c.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,_.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=r.a.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const e=s.F(this.domNode).top;this.dragOverAnimationDisposable=s.o(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(v.g)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;const t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let n=e;for(;n instanceof HTMLElement&&n!==this.rowsContainer&&t.contains(n);){const e=n.getAttribute("data-index");if(e){const t=Number(e);if(!isNaN(t))return t}n=n.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t){const n=this.getRenderRange(e,t);let i,r;e===this.elementTop(n.start)?(i=n.start,r=0):n.end-n.start>1&&(i=n.start+1,r=this.elementTop(i)-e);let o=0;for(;;){const s=this.getRenderRange(e,t);let a=!1;for(let e=s.start;e<s.end;e++){const t=this.probeDynamicHeight(e);0!==t&&this.rangeMap.splice(e,1,[this.items[e]]),o+=t,a=a||0!==t}if(!a){0!==o&&this.eventuallyUpdateScrollDimensions();const e=h.a.relativeComplement(n,s);for(const t of e)for(let e=t.start;e<t.end;e++)this.items[e].row&&this.removeItemFromDOM(e);const t=h.a.relativeComplement(s,n);for(const e of t)for(let t=e.start;t<e.end;t++){const e=t+1,n=e<this.items.length?this.items[e].row:null,i=n?n.domNode:null;this.insertItemInDOM(t,i)}for(let e=s.start;e<s.end;e++)this.items[e].row&&this.updateItemInDOM(this.items[e],e);return"number"==typeof i&&(this.scrollTop=this.elementTop(i)-r),void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(e){const t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;if(this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(t.element))return 0;const n=t.size;if(!this.setRowHeight&&t.row&&t.row.domNode){let e=t.row.domNode.offsetHeight;return t.size=e,t.lastDynamicHeightWidth=this.renderWidth,e-n}const i=this.cache.alloc(t.templateId);i.domNode.style.height="",this.rowsContainer.appendChild(i.domNode);const r=this.renderers.get(t.templateId);return r&&(r.renderElement(t.element,e,i.templateData,void 0),r.disposeElement&&r.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n}getNextToLastElement(e){const t=e[e.length-1];if(!t)return null;const n=this.items[t.end];return n&&n.row?n.row.domNode:null}getElementDomId(e){return`${this.domId}_${e}`}dispose(){if(this.items){for(const e of this.items)if(e.row){const t=this.renderers.get(e.row.templateId);t&&t.disposeTemplate(e.row.templateData)}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(r.f)(this.disposables)}}T.InstanceCount=0,y([f.a],T.prototype,"onMouseClick",null),y([f.a],T.prototype,"onMouseDblClick",null),y([f.a],T.prototype,"onMouseMiddleClick",null),y([f.a],T.prototype,"onMouseDown",null),y([f.a],T.prototype,"onContextMenu",null),y([f.a],T.prototype,"onTouchStart",null),y([f.a],T.prototype,"onTap",null)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ji}));n(208);var i=n(0),r=n(1),o=n(13),s=n(6),a=n(2),l=n(45),c=n(87),d=n(4),h=n(41),u=n(21),p=n(35),m=n(11),g=n(61),f=n(69),b=n(20),_=n(34),v=n(103);class w{constructor(e,t){this.x=e,this.y=t}toClientCoordinates(){return new y(this.x-r.d.scrollX,this.y-r.d.scrollY)}}class y{constructor(e,t){this.clientX=e,this.clientY=t}toPageCoordinates(){return new w(this.clientX+r.d.scrollX,this.clientY+r.d.scrollY)}}class C{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i}}function x(e){const t=r.C(e);return new C(t.left,t.top,t.width,t.height)}class S extends f.a{constructor(e,t){super(e),this.pos=new w(this.posx,this.posy),this.editorPos=x(t)}}class k{constructor(e){this._editorViewDomNode=e}_create(e){return new S(e,this._editorViewDomNode)}onContextMenu(e,t){return r.i(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return r.i(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return r.i(e,"mousedown",e=>{t(this._create(e))})}onMouseLeave(e,t){return r.j(e,e=>{t(this._create(e))})}onMouseMoveThrottled(e,t,n,i){return r.l(e,"mousemove",t,(e,t)=>n(e,this._create(t)),i)}}class E{constructor(e){this._editorViewDomNode=e}_create(e){return new S(e,this._editorViewDomNode)}onPointerUp(e,t){return r.i(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return r.i(e,"pointerdown",e=>{t(this._create(e))})}onPointerLeave(e,t){return r.k(e,e=>{t(this._create(e))})}onPointerMoveThrottled(e,t,n,i){return r.l(e,"pointermove",t,(e,t)=>n(e,this._create(t)),i)}}class T extends a.a{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new v.a),this._keydownListener=null}startMonitoring(e,t,n,i,o){this._keydownListener=r.n(document,"keydown",e=>{e.toKeybinding().isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0)},!0);this._globalMouseMoveMonitor.startMonitoring(e,t,(e,t)=>n(e,new S(t,this._editorViewDomNode)),i,()=>{this._keydownListener.dispose(),o()})}}class L extends a.a{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let n=0,i=e.length;n<i;n++){let i=e[n];switch(i.type){case 0:this.onConfigurationChanged(i)&&(t=!0);break;case 1:this.onCursorStateChanged(i)&&(t=!0);break;case 2:this.onDecorationsChanged(i)&&(t=!0);break;case 3:this.onFlushed(i)&&(t=!0);break;case 4:this.onFocusChanged(i)&&(t=!0);break;case 5:this.onLanguageConfigurationChanged(i)&&(t=!0);break;case 6:this.onLineMappingChanged(i)&&(t=!0);break;case 7:this.onLinesChanged(i)&&(t=!0);break;case 8:this.onLinesDeleted(i)&&(t=!0);break;case 9:this.onLinesInserted(i)&&(t=!0);break;case 10:this.onRevealRangeRequest(i)&&(t=!0);break;case 11:this.onScrollChanged(i)&&(t=!0);break;case 13:this.onTokensChanged(i)&&(t=!0);break;case 12:this.onThemeChanged(i)&&(t=!0);break;case 14:this.onTokensColorsChanged(i)&&(t=!0);break;case 15:this.onZonesChanged(i)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(i)}}t&&(this._shouldRender=!0)}}class N extends L{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class I{static write(e,t){p.a,e.setAttribute("data-mprt",String(t))}static read(e){const t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)}static collect(e,t){let n=[],i=0;for(;e&&e!==document.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement;const r=new Uint8Array(i);for(let e=0;e<i;e++)r[e]=n[i-e-1];return r}}class D extends class{constructor(e,t){this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}{constructor(e,t,n){super(e,t),this._viewLines=n}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class O{constructor(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n}}class A{constructor(e,t){this.left=Math.round(e),this.width=Math.round(t)}toString(){return`[${this.left},${this.width}]`}}class R{constructor(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)}}class M{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}class P{constructor(e,t){this.left=e,this.width=t}toString(){return`[${this.left},${this.width}]`}static compare(e,t){return e.left-t.left}}class F{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(e,t){e.selectNodeContents(t)}static _readClientRects(e,t,n,i,r){const o=this._createRange();try{return o.setStart(e,t),o.setEnd(n,i),o.getClientRects()}catch(e){return null}finally{this._detachRange(o,r)}}static _mergeAdjacentRanges(e){if(1===e.length)return[new A(e[0].left,e[0].width)];e.sort(P.compare);let t=[],n=0,i=e[0].left,r=e[0].width;for(let o=1,s=e.length;o<s;o++){const s=e[o],a=s.left,l=s.width;i+r+.9>=a?r=Math.max(r,a+l-i):(t[n++]=new A(i,r),i=a,r=l)}return t[n++]=new A(i,r),t}static _createHorizontalRangesFromClientRects(e,t){if(!e||0===e.length)return null;const n=[];for(let i=0,r=e.length;i<r;i++){const r=e[i];n[i]=new P(Math.max(0,r.left-t),r.width)}return this._mergeAdjacentRanges(n)}static readHorizontalRanges(e,t,n,i,r,o,s){const a=e.children.length-1;if(0>a)return null;if((t=Math.min(a,Math.max(0,t)))===(i=Math.min(a,Math.max(0,i)))&&n===r&&0===n){const n=e.children[t].getClientRects();return this._createHorizontalRangesFromClientRects(n,o)}t!==i&&i>0&&0===r&&(i--,r=1073741824);let l=e.children[t].firstChild,c=e.children[i].firstChild;if(l&&c||(!l&&0===n&&t>0&&(l=e.children[t-1].firstChild,n=1073741824),!c&&0===r&&i>0&&(c=e.children[i-1].firstChild,r=1073741824)),!l||!c)return null;n=Math.min(l.textContent.length,Math.max(0,n)),r=Math.min(c.textContent.length,Math.max(0,r));const d=this._readClientRects(l,n,c,r,s);return this._createHorizontalRangesFromClientRects(d,o)}}var W=n(155),z=n(91),B=n(19),j=n(26);const V=!!m.g||!(m.d||_.h||_.j);let U=!0;const H=_.f;class q{constructor(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}get clientRectDeltaLeft(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft}}class ${constructor(e,t){this.themeType=t;const n=e.options,i=n.get(36);this.renderWhitespace=n.get(80),this.renderControlCharacters=n.get(74),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(24),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(51),this.stopRenderingLineAfter=n.get(95),this.fontLigatures=n.get(37)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class K{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(p.b)(e)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return!(!H&&this._options.themeType!==B.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,n,i){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;const r=n.getViewLineRenderingData(e),o=this._options,s=W.a.filter(r.inlineDecorations,e,r.minColumn,r.maxColumn);let a=null;if(H||o.themeType===B.b||"selection"===this._options.renderWhitespace){const t=n.selections;for(const n of t){if(n.endLineNumber<e||n.startLineNumber>e)continue;const t=n.startLineNumber===e?n.startColumn:r.minColumn,i=n.endLineNumber===e?n.endColumn:r.maxColumn;t<i&&(o.themeType===B.b||"selection"!==this._options.renderWhitespace?s.push(new W.a(t,i,"inline-selected-text",0)):(a||(a=[]),a.push(new z.b(t-1,i-1))))}}const l=new z.c(o.useMonospaceOptimizations,o.canUseHalfwidthRightwardsArrow,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,r.minColumn-1,r.tokens,s,r.tabSize,r.startVisibleColumn,o.spaceWidth,o.middotWidth,o.wsmiddotWidth,o.stopRenderingLineAfter,o.renderWhitespace,o.renderControlCharacters,o.fontLigatures!==j.e.OFF,a);if(this._renderedViewLine&&this._renderedViewLine.input.equals(l))return!1;i.appendASCIIString('<div style="top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;height:"),i.appendASCIIString(String(this._options.lineHeight)),i.appendASCIIString('px;" class="'),i.appendASCIIString(K.CLASS_NAME),i.appendASCIIString('">');const c=Object(z.d)(l,i);i.appendASCIIString("</div>");let d=null;return U&&V&&r.isBasicASCII&&o.useMonospaceOptimizations&&0===c.containsForeignElements&&r.content.length<300&&l.lineTokens.getCount()<100&&(d=new G(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping)),d||(d=X(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping,c.containsRTL,c.containsForeignElements)),this._renderedViewLine=d,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof G}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof G?this._renderedViewLine.monospaceAssumptionsAreValid():U}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof G&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));const i=0|this._renderedViewLine.input.stopRenderingLineAfter;let r=!1;-1!==i&&e>i+1&&t>i+1&&(r=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);const o=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return o&&o.length>0?new M(r,o):null}getColumnOfNodeOffset(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1}}K.CLASS_NAME="view-line";class G{constructor(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}getWidth(){return this._getCharPosition(this._characterMapping.length)}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return U;const e=this.getWidth(),t=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(e-t)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),U=!1),U}toSlowRenderedLine(){return X(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,n){const i=this._getCharPosition(e),r=this._getCharPosition(t);return[new A(i,r-i)]}_getCharPosition(e){const t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let r=-1;for(;t;)t=t.previousSibling,r++;return this._characterMapping.partDataToCharOffset(r,i,n)+1}}class Y{constructor(e,t,n,i,r){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=r,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return-1!==this._cachedWidth}getVisibleRangesForRange(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){const i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;const r=this._readPixelOffset(this.domNode,t,n);return-1===r?null:[new A(i,r-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)}_readVisibleRangesForRange(e,t,n,i){if(t===n){const n=this._readPixelOffset(e,t,i);return-1===n?null:[new A(n,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)}_readPixelOffset(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();const t=this._getReadingTarget(e);return t.firstChild?t.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){const i=this._pixelOffsetCache[t];if(-1!==i)return i;const r=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=r,r}return this._actualReadPixelOffset(e,t,n)}_actualReadPixelOffset(e,t,n){if(0===this._characterMapping.length){const t=F.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return t&&0!==t.length?t[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();const i=this._characterMapping.charOffsetToPartData(t-1),r=z.a.getPartIndex(i),o=z.a.getCharIndex(i),s=F.readHorizontalRanges(this._getReadingTarget(e),r,o,r,o,n.clientRectDeltaLeft,n.endNode);if(!s||0===s.length)return-1;const a=s[0].left;if(this.input.isBasicASCII){const e=this._characterMapping.getAbsoluteOffsets(),n=Math.round(this.input.spaceWidth*e[t-1]);if(Math.abs(n-a)<=1)return n}return a}_readRawVisibleRangesForRange(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new A(0,this.getWidth())];const r=this._characterMapping.charOffsetToPartData(t-1),o=z.a.getPartIndex(r),s=z.a.getCharIndex(r),a=this._characterMapping.charOffsetToPartData(n-1),l=z.a.getPartIndex(a),c=z.a.getCharIndex(a);return F.readHorizontalRanges(this._getReadingTarget(e),o,s,l,c,i.clientRectDeltaLeft,i.endNode)}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let r=-1;for(;t;)t=t.previousSibling,r++;return this._characterMapping.partDataToCharOffset(r,i,n)+1}}class Z extends Y{_readVisibleRangesForRange(e,t,n,i){const r=super._readVisibleRangesForRange(e,t,n,i);if(!r||0===r.length||t===n||1===t&&n===this._characterMapping.length)return r;if(!this.input.containsRTL){const t=this._readPixelOffset(e,n,i);if(-1!==t){const e=r[r.length-1];e.left<t&&(e.width=t-e.left)}}return r}}const X=_.l?Q:J;function Q(e,t,n,i,r){return new Z(e,t,n,i,r)}function J(e,t,n,i,r){return new Y(e,t,n,i,r)}var ee=n(9),te=n(3),ne=n(22);class ie{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class re{constructor(e,t,n=0,i=null,r=null,o=null){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,!r&&i&&(r=new te.a(i.lineNumber,i.column,i.lineNumber,i.column)),this.range=r,this.detail=o}static _typeToString(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"}static toString(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail}toString(){return re.toString(this)}}class oe{static isTextArea(e){return 2===e.length&&3===e[0]&&6===e[1]}static isChildOfViewLines(e){return e.length>=4&&3===e[0]&&7===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&7===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&5===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&8===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}}class se{constructor(e,t,n){this.model=e.model;const i=e.configuration.options;this.layoutInfo=i.get(117),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(51),this.typicalHalfwidthCharacterWidth=i.get(36).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return se.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){const n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){let i,r=n.verticalOffset+n.height/2,o=e.model.getLineCount(),s=null,a=null;return n.afterLineNumber!==o&&(a=new ee.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(s=new ee.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),i=null===a?s:null===s?a:t<r?s:a,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:s,positionAfter:a,position:i}}return null}getFullLineRangeAtCoord(e){if(this._context.viewLayout.isAfterLines(e)){const e=this._context.model.getLineCount(),t=this._context.model.getLineMaxColumn(e);return{range:new te.a(e,t,e,t),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),n=this._context.model.getLineMaxColumn(t);return{range:new te.a(t,1,t,n),isAfterLines:!1}}getLineNumberAtVerticalOffset(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)}isAfterLines(e){return this._context.viewLayout.isAfterLines(e)}getVerticalOffsetForLineNumber(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)}findAttribute(e,t){return se._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,n){for(;e&&e!==document.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null}getLineWidth(e){return this._viewHelper.getLineWidth(e)}visibleRangeForPosition(e,t){return this._viewHelper.visibleRangeForPosition(e,t)}getPositionFromDOMInfo(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class ae extends class{constructor(e,t,n){this.editorPos=t,this.pos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+n.y-t.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+n.x-t.x-e.layoutInfo.contentLeft,this.isInMarginArea=n.x-t.x<e.layoutInfo.contentLeft&&n.x-t.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,de._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}{constructor(e,t,n,i){super(e,t,n),this._ctx=e,i?(this.target=i,this.targetPath=I.collect(i,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: ${this.target?this.target.outerHTML:null}`}fulfill(e,t=null,n=null,i=null){let r=this.mouseColumn;return t&&t.column<this._ctx.model.getLineMaxColumn(t.lineNumber)&&(r=ne.a.visibleColumnFromColumn(this._ctx.model.getLineContent(t.lineNumber),t.column,this._ctx.model.getTextModelOptions().tabSize)+1),new re(this.target,e,r,t,n,i)}withTarget(e){return new ae(this._ctx,this.editorPos,this.pos,e)}}const le={isAfterLines:!0};function ce(e){return{isAfterLines:!1,horizontalDistanceToText:e}}class de{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,n=I.collect(t,this._viewHelper.viewDomNode);return!(!oe.isChildOfContentWidgets(n)&&!oe.isChildOfOverflowingContentWidgets(n))||!!oe.isChildOfOverlayWidgets(n)}createMouseTarget(e,t,n,i){const r=new se(this._context,this._viewHelper,e),o=new ae(r,t,n,i);try{return de._createMouseTarget(r,o,!1)}catch(e){return o.fulfill(0)}}static _createMouseTarget(e,t,n){if(null===t.target){if(n)return t.fulfill(0);const i=de._doHitTest(e,t);return i.position?de.createMouseTargetFromHitTestPosition(e,t,i.position.lineNumber,i.position.column):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}const i=t;let r=null;return r=r||de._hitTestContentWidget(e,i),r=r||de._hitTestOverlayWidget(e,i),r=r||de._hitTestMinimap(e,i),r=r||de._hitTestScrollbarSlider(e,i),r=r||de._hitTestViewZone(e,i),r=r||de._hitTestMargin(e,i),r=r||de._hitTestViewCursor(e,i),r=r||de._hitTestTextArea(e,i),r=r||de._hitTestViewLines(e,i,n),r=r||de._hitTestScrollbar(e,i),r||t.fulfill(0)}static _hitTestContentWidget(e,t){if(oe.isChildOfContentWidgets(t.targetPath)||oe.isChildOfOverflowingContentWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null}static _hitTestOverlayWidget(e,t){if(oe.isChildOfOverlayWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null}static _hitTestViewCursor(e,t){if(t.target){const n=e.lastRenderData.lastViewCursorsRenderData;for(const e of n)if(t.target===e.domNode)return t.fulfill(6,e.position)}if(t.isInContentArea){const n=e.lastRenderData.lastViewCursorsRenderData,i=t.mouseContentHorizontalOffset,r=t.mouseVerticalOffset;for(const o of n){if(i<o.contentLeft)continue;if(i>o.contentLeft+o.width)continue;const n=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(n<=r&&r<=n+o.height)return t.fulfill(6,o.position)}}return null}static _hitTestViewZone(e,t){const n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){const e=t.isInContentArea?8:5;return t.fulfill(e,n.position,null,n)}return null}static _hitTestTextArea(e,t){return oe.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(e,t){if(t.isInMarginArea){const n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition();let r=Math.abs(t.pos.x-t.editorPos.x);const o={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:r};return r-=e.layoutInfo.glyphMarginLeft,r<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,o):(r-=e.layoutInfo.glyphMarginWidth,r<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,o):(r-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,o)))}return null}static _hitTestViewLines(e,t,n){if(!oe.isChildOfViewLines(t.targetPath))return null;if(e.isAfterLines(t.mouseVerticalOffset)){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return t.fulfill(7,new ee.a(n,i),void 0,le)}if(n){if(oe.isStrictChildOfViewLines(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.model.getLineLength(n)){const i=e.getLineWidth(n),r=ce(t.mouseContentHorizontalOffset-i);return t.fulfill(7,new ee.a(n,1),void 0,r)}const i=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=i){const r=ce(t.mouseContentHorizontalOffset-i),o=new ee.a(n,e.model.getLineMaxColumn(n));return t.fulfill(7,o,void 0,r)}}return t.fulfill(0)}const i=de._doHitTest(e,t);return i.position?de.createMouseTargetFromHitTestPosition(e,t,i.position.lineNumber,i.position.column):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}static _hitTestMinimap(e,t){if(oe.isChildOfMinimap(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new ee.a(n,i))}return null}static _hitTestScrollbarSlider(e,t){if(oe.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){const n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new ee.a(n,i))}}return null}static _hitTestScrollbar(e,t){if(oe.isChildOfScrollableElement(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new ee.a(n,i))}return null}getMouseColumn(e,t){const n=this._context.configuration.options,i=n.get(117),r=this._context.viewLayout.getCurrentScrollLeft()+t.x-e.x-i.contentLeft;return de._getMouseColumn(r,n.get(36).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){if(e<0)return 1;return Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,n,i){const r=new ee.a(n,i),o=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>o){if(_.f&&1===r.column){const i=ce(t.mouseContentHorizontalOffset-o);return t.fulfill(7,new ee.a(n,e.model.getLineMaxColumn(n)),void 0,i)}const i=ce(t.mouseContentHorizontalOffset-o);return t.fulfill(7,r,void 0,i)}const s=e.visibleRangeForPosition(n,i);if(!s)return t.fulfill(0,r);const a=s.left;if(t.mouseContentHorizontalOffset===a)return t.fulfill(6,r);const l=[];if(l.push({offset:s.left,column:i}),i>1){const t=e.visibleRangeForPosition(n,i-1);t&&l.push({offset:t.left,column:i-1})}if(i<e.model.getLineMaxColumn(n)){const t=e.visibleRangeForPosition(n,i+1);t&&l.push({offset:t.left,column:i+1})}l.sort((e,t)=>e.offset-t.offset);for(let e=1;e<l.length;e++){const i=l[e-1],o=l[e];if(i.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=o.offset){const e=new te.a(n,i.column,n,o.column);return t.fulfill(6,r,e)}}return t.fulfill(6,r)}static _doHitTestWithCaretRangeFromPoint(e,t){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2);let r=t.pos.y+(i-t.mouseVerticalOffset);r<=t.editorPos.y&&(r=t.editorPos.y+1),r>=t.editorPos.y+e.layoutInfo.height&&(r=t.editorPos.y+e.layoutInfo.height-1);const o=new w(t.pos.x,r),s=this._actualDoHitTestWithCaretRangeFromPoint(e,o.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const n=r.E(e.viewDomNode);let i;if(i=n?void 0===n.caretRangeFromPoint?function(e,t,n){const i=document.createRange();let r=e.elementFromPoint(t,n);if(null!==r){for(;r&&r.firstChild&&r.firstChild.nodeType!==r.firstChild.TEXT_NODE;)r=r.lastChild;const e=r.getBoundingClientRect(),n=window.getComputedStyle(r,null).getPropertyValue("font"),o=r.innerText;let s,a=e.left,l=0;if(t>e.left+e.width)l=o.length;else{const e=he.getInstance();for(let i=0;i<o.length+1;i++){if(s=e.getCharWidth(o.charAt(i),n)/2,a+=s,t<a){l=i;break}a+=s}}i.setStart(r.firstChild,l),i.setEnd(r.firstChild,l)}return i}(n,t.clientX,t.clientY):n.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY),!i||!i.startContainer)return{position:null,hitTarget:null};const o=i.startContainer;let s=null;if(o.nodeType===o.TEXT_NODE){const t=o.parentNode,n=t?t.parentNode:null,r=n?n.parentNode:null;if((r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===K.CLASS_NAME){return{position:e.getPositionFromDOMInfo(t,i.startOffset),hitTarget:null}}s=o.parentNode}else if(o.nodeType===o.ELEMENT_NODE){const t=o.parentNode,n=t?t.parentNode:null;if((n&&n.nodeType===n.ELEMENT_NODE?n.className:null)===K.CLASS_NAME){return{position:e.getPositionFromDOMInfo(o,o.textContent.length),hitTarget:null}}s=o}return{position:null,hitTarget:s}}static _doHitTestWithCaretPositionFromPoint(e,t){const n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){const t=n.offsetNode.parentNode,i=t?t.parentNode:null,r=i?i.parentNode:null;if((r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===K.CLASS_NAME){return{position:e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset),hitTarget:null}}return{position:null,hitTarget:n.offsetNode.parentNode}}if(n.offsetNode.nodeType===n.offsetNode.ELEMENT_NODE){const t=n.offsetNode.parentNode;if((t&&t.nodeType===t.ELEMENT_NODE?t.className:null)===K.CLASS_NAME){const t=n.offsetNode.childNodes[Math.min(n.offset,n.offsetNode.childNodes.length-1)];if(t){return{position:e.getPositionFromDOMInfo(t,0),hitTarget:null}}}}return{position:null,hitTarget:n.offsetNode}}static _doHitTestWithMoveToPoint(e,t){let n=null,i=null;const r=document.body.createTextRange();try{r.moveToPoint(t.clientX,t.clientY)}catch(e){return{position:null,hitTarget:null}}r.collapse(!0);const o=r?r.parentElement():null,s=o?o.parentNode:null,a=s?s.parentNode:null;if((a&&a.nodeType===a.ELEMENT_NODE?a.className:"")===K.CLASS_NAME){const t=r.duplicate();t.moveToElementText(o),t.setEndPoint("EndToStart",r),n=e.getPositionFromDOMInfo(o,t.text.length),t.moveToElementText(e.viewDomNode)}else i=o;return r.moveToElementText(e.viewDomNode),{position:n,hitTarget:i}}static _doHitTest(e,t){return"function"==typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}}}class he{constructor(){this._cache={},this._canvas=document.createElement("canvas")}static getInstance(){return he._INSTANCE||(he._INSTANCE=new he),he._INSTANCE}getCharWidth(e,t){const n=e+t;if(this._cache[n])return this._cache[n];const i=this._canvas.getContext("2d");i.font=t;const r=i.measureText(e).width;return this._cache[n]=r,r}}he._INSTANCE=null;var ue=n(135);function pe(e){return function(t,n){let i=!1;return e&&(i=e.mouseTargetIsWidget(n)),i||n.preventDefault(),n}}class me extends L{constructor(e,t,n){super(),this._context=e,this.viewController=t,this.viewHelper=n,this.mouseTargetFactory=new de(this._context,n),this._mouseDownOperation=this._register(new ge(this._context,this.viewController,this.viewHelper,(e,t)=>this._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1;const i=new k(this.viewHelper.viewDomNode);this._register(i.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(i.onMouseMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),pe(this.mouseTargetFactory),me.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(i.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(i.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)));this._register(r.i(this.viewHelper.viewDomNode,r.c.MOUSE_WHEEL,e=>{if(this.viewController.emitMouseWheel(e),!this._context.configuration.options.get(59))return;const t=new f.b(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){const e=ue.a.getZoomLevel(),n=t.deltaY>0?1:-1;ue.a.setZoomLevel(e+n),t.preventDefault(),t.stopPropagation()}},{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}onScrollChanged(e){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(e,t){const n=new y(e,t).toPageCoordinates(),i=x(this.viewHelper.viewDomNode);return n.y<i.y||n.y>i.y+i.height||n.x<i.x||n.x>i.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,null)}_createMouseTarget(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){if(this._mouseDownOperation.isActive())return;e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}_onMouseLeave(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})}_onMouseUp(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})}_onMouseDown(e){const t=this._createMouseTarget(e,!0),n=6===t.type||7===t.type,i=2===t.type||3===t.type||4===t.type,r=3===t.type,o=this._context.configuration.options.get(90),s=8===t.type||5===t.type,a=9===t.type;let l=e.leftButton||e.middleButton;m.f&&e.leftButton&&e.ctrlKey&&(l=!1);const c=()=>{e.preventDefault(),this.viewHelper.focusTextArea()};if(l&&(n||r&&o))c(),this._mouseDownOperation.start(t.type,e);else if(i)e.preventDefault();else if(s){const n=t.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(c(),this._mouseDownOperation.start(t.type,e),e.preventDefault())}else a&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:t})}}me.MOUSE_MOVE_MINIMUM_TIME=100;class ge extends a.a{constructor(e,t,n,i,r){super(),this._context=e,this._viewController=t,this._viewHelper=n,this._createMouseTarget=i,this._getMouseColumn=r,this._mouseMoveMonitor=this._register(new T(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new b.e),this._mouseState=new fe,this._currentSelection=new u.a(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);const t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);const n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;const i=this._context.configuration.options;if(!i.get(72)&&i.get(25)&&!i.get(13)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,pe(null),e=>this._onMouseDownThenMove(e),()=>{const e=this._findMousePosition(this._lastMouseEvent,!0);this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:e?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,pe(null),e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;const e=this._findMousePosition(this._lastMouseEvent,!1);e&&(this._mouseState.isDragAndDrop||this._dispatchMouse(e,!0))},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){const t=e.editorPos,n=this._context.model,i=this._context.viewLayout,r=this._getMouseColumn(e);if(e.posy<t.y){const n=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0),o=se.getZoneAtCoord(this._context,n);if(o){const e=this._helpPositionJumpOverViewZone(o);if(e)return new re(null,13,r,e)}const s=i.getLineNumberAtVerticalOffset(n);return new re(null,13,r,new ee.a(s,1))}if(e.posy>t.y+t.height){const o=i.getCurrentScrollTop()+(e.posy-t.y),s=se.getZoneAtCoord(this._context,o);if(s){const e=this._helpPositionJumpOverViewZone(s);if(e)return new re(null,13,r,e)}const a=i.getLineNumberAtVerticalOffset(o);return new re(null,13,r,new ee.a(a,n.getLineMaxColumn(a)))}const o=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new re(null,13,r,new ee.a(o,1)):e.posx>t.x+t.width?new re(null,13,r,new ee.a(o,n.getLineMaxColumn(o))):null}_findMousePosition(e,t){const n=this._getPositionOutsideEditor(e);if(n)return n;const i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){const e=this._helpPositionJumpOverViewZone(i.detail);if(e)return new re(i.element,i.type,i.mouseColumn,e,null,i.detail)}return i}_helpPositionJumpOverViewZone(e){const t=new ee.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class fe{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){const n=(new Date).getTime();n-this._lastSetMouseDownCountTime>fe.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=n,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}fe.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var be=n(138);function _e(e,t){const n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}class ve extends me{constructor(e,t,n){super(e,t,n),this.viewHelper.linesContentDomNode.style.touchAction="none",this._installGestureHandlerTimeout=window.setTimeout(()=>{if(this._installGestureHandlerTimeout=-1,window.MSGesture){const e=new MSGesture,t=new MSGesture;e.target=this.viewHelper.linesContentDomNode,t.target=this.viewHelper.linesContentDomNode,this.viewHelper.linesContentDomNode.addEventListener("pointerdown",n=>{const i=n.pointerType;"mouse"!==i?"touch"===i?(this._lastPointerType="touch",e.addPointer(n.pointerId)):(this._lastPointerType="pen",t.addPointer(n.pointerId)):this._lastPointerType="mouse"}),this._register(r.l(this.viewHelper.linesContentDomNode,"MSGestureChange",e=>this._onGestureChange(e),_e)),this._register(r.i(this.viewHelper.linesContentDomNode,"MSGestureTap",e=>this._onCaptureGestureTap(e),!0))}},100),this._lastPointerType="mouse"}_onMouseDown(e){"mouse"===this._lastPointerType&&super._onMouseDown(e)}_onCaptureGestureTap(e){const t=new S(e,this.viewHelper.viewDomNode),n=this._createMouseTarget(t,!1);n.position&&this.viewController.moveTo(n.position),t.browserEvent.fromElement?(t.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(()=>{this.viewHelper.focusTextArea()})}_onGestureChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}dispose(){window.clearTimeout(this._installGestureHandlerTimeout),super.dispose()}}class we extends me{constructor(e,t,n){super(e,t,n),this._register(g.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(r.i(this.viewHelper.linesContentDomNode,g.a.Tap,e=>this.onTap(e))),this._register(r.i(this.viewHelper.linesContentDomNode,g.a.Change,e=>this.onChange(e))),this._register(r.i(this.viewHelper.linesContentDomNode,g.a.Contextmenu,e=>this._onContextMenu(new S(e,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(r.i(this.viewHelper.linesContentDomNode,"pointerdown",e=>{const t=e.pointerType;this._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"}));const i=new E(this.viewHelper.viewDomNode);this._register(i.onPointerMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),pe(this.mouseTargetFactory),me.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(i.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(i.onPointerDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)))}onTap(e){if(!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget))return;e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}onChange(e){"touch"===this._lastPointerType&&this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){e.target&&this.viewHelper.linesContentDomNode.contains(e.target)&&"touch"===this._lastPointerType||super._onMouseDown(e)}}class ye extends me{constructor(e,t,n){super(e,t,n),this._register(g.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(r.i(this.viewHelper.linesContentDomNode,g.a.Tap,e=>this.onTap(e))),this._register(r.i(this.viewHelper.linesContentDomNode,g.a.Change,e=>this.onChange(e))),this._register(r.i(this.viewHelper.linesContentDomNode,g.a.Contextmenu,e=>this._onContextMenu(new S(e,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)}onChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}}class Ce extends a.a{constructor(e,t,n){super(),m.c&&be.a.pointerEvents?this.handler=this._register(new we(e,t,n)):window.TouchEvent?this.handler=this._register(new ye(e,t,n)):window.navigator.pointerEnabled||window.PointerEvent?this.handler=this._register(new ve(e,t,n)):this.handler=this._register(new me(e,t,n))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}n(210);var xe=n(8),Se=n(167),ke=n(127);n(212);class Ee extends L{}var Te=n(57);class Le extends Ee{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new ee.a(1,1),this._renderResult=null,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(51);const t=e.get(52);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(76);const n=e.get(117);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){const t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){const t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e,1));if(1!==t.column)return"";const n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){const e=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===e?'<span class="relative-current-line-number">'+n+"</span>":String(e)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)}prepareRender(e){if(0===this._renderLineNumbers)return void(this._renderResult=null);const t=m.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,r='<div class="'+Le.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',o=this._context.model.getLineCount(),s=[];for(let e=n;e<=i;e++){const t=e-n;if(!this._renderFinalNewline&&e===o&&0===this._context.model.getLineLength(e)){s[t]="";continue}const i=this._getLineRenderLineNumber(e);s[t]=i?r+i+"</div>":""}this._renderResult=s}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}Le.CLASS_NAME="line-numbers",Object(B.g)((e,t)=>{const n=e.getColor(Te.k);n&&t.addRule(`.monaco-editor .line-numbers { color: ${n}; }`);const i=e.getColor(Te.b);i&&t.addRule(`.monaco-editor .current-line ~ .line-numbers { color: ${i}; }`)});class Ne extends N{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._canUseLayerHinting=!t.get(23),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setClassName(Ne.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(p.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(Ne.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._canUseLayerHinting=!t.get(23),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");const t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);const n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)}}Ne.CLASS_NAME="glyph-margin",Ne.OUTER_CLASS_NAME="margin";var Ie=n(117),De=n(145);class Oe{constructor(e,t,n){this.top=e,this.left=t,this.width=n}setWidth(e){return new Oe(this.top,this.left,e)}}const Ae=_.f||_.h;class Re extends N{constructor(e,t,n){super(e),this._primaryCursorPosition=new ee.a(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._viewHelper=n,this._scrollLeft=0,this._scrollTop=0;const r=this._context.configuration.options,o=r.get(117);this._setAccessibilityOptions(r),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._contentHeight=o.height,this._fontInfo=r.get(36),this._lineHeight=r.get(51),this._emptySelectionClipboard=r.get(26),this._copyWithSyntaxHighlighting=r.get(16),this._visibleTextArea=null,this._selections=[new u.a(1,1,1,1)],this._modelSelections=[new u.a(1,1,1,1)],this._lastRenderPosition=null,this.textArea=Object(p.b)(document.createElement("textarea")),I.write(this.textArea,6),this.textArea.setClassName("inputarea "+De.a),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(r)),this.textArea.setAttribute("tabindex",String(r.get(102))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",i.a("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),m.h&&r.get(72)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=Object(p.b)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const s={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:e=>this._context.model.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.model.getValueInRange(e,t)},a={getDataToCopy:e=>{const t=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,m.i),n=this._context.model.getEOL(),i=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),r=Array.isArray(t)?t:null,o=Array.isArray(t)?t.join(n):t;let s=void 0,a=null;if(e&&(Se.a.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&o.length<65536)){const e=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);e&&(s=e.html,a=e.mode)}return{isFromEmptySelection:i,multicursorText:r,text:o,html:s,mode:a}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){if(m.f){const e=this._selections[0];if(e.isEmpty()){const t=e.getStartPosition();let n=this._getWordBeforePosition(t);if(0===n.length&&(n=this._getCharacterBeforePosition(t)),n.length>0)return new ke.b(n,n.length,n.length,t,t)}}return ke.b.EMPTY}return ke.a.fromEditorSelection(e,s,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,n)=>this._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)};this._textAreaInput=this._register(new Se.c(a,this.textArea)),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,n=null,i=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),this._viewController.paste(e.text,t,n,i)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replaceCharCnt?this._viewController.replacePreviousChar(e.text,e.replaceCharCnt):this._viewController.type(e.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{const t=this._selections[0].startLineNumber,n=this._selections[0].startColumn-(e.moveOneCharacterLeft?1:0);this._context.model.revealRange("keyboard",!0,new te.a(t,n,t,n),0,1);const i=this._viewHelper.visibleRangeForPositionRelativeToEditor(t,n);i&&(this._visibleTextArea=new Oe(this._context.viewLayout.getVerticalOffsetForLineNumber(t),i.left,Ae?0:1),this._render()),this.textArea.setClassName(`inputarea ${De.a} ime-input`),this._viewController.compositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{_.f?this._visibleTextArea=this._visibleTextArea.setWidth(0):this._visibleTextArea=this._visibleTextArea.setWidth(function(e,t){const n=document.createElement("canvas").getContext("2d");n.font=(i=t,r="normal",o=i.fontWeight,s=i.fontSize,a=i.lineHeight,l=i.fontFamily,`${r} normal ${o} ${s}px / ${a}px ${l}`);var i,r,o,s,a,l;const c=n.measureText(e);return _.h?c.width+2:c.width}(e.data,this._fontInfo)),this._render()})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+De.a),this._viewController.compositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getWordBeforePosition(e){const t=this._context.model.getLineContent(e.lineNumber),n=Object(Ie.a)(this._context.configuration.options.get(105));let i=e.column,r=0;for(;i>1;){const o=t.charCodeAt(i-2);if(0!==n.get(o)||r>50)return t.substring(i-1,e.column-1);r++,i--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){const t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!xe.F(t.charCodeAt(0)))return t}return""}_getAriaLabel(e){return 1===e.get(2)?i.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",m.d?"Shift+Alt+F1":"Alt+F1"):e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);const t=e.get(3);2===this._accessibilitySupport&&t===j.g.accessibilityPageSize.defaultValue?this._accessibilityPageSize=100:this._accessibilityPageSize=t}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(36),this._lineHeight=t.get(51),this._emptySelectionClipboard=t.get(26),this._copyWithSyntaxHighlighting=t.get(16),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("tabindex",String(t.get(102))),m.h&&e.hasChanged(72)&&(t.get(72)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}prepareRender(e){this._primaryCursorPosition=new ee.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)}render(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea)return void this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();const e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();const t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():m.f?this._renderInsideEditor(this._primaryCursorPosition,t,e,Ae?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,Ae?0:1,Ae?0:1)}_renderInsideEditor(e,t,n,i,r){this._lastRenderPosition=e;const o=this.textArea,s=this.textAreaCover;c.a.applyFontInfo(o,this._fontInfo),o.setTop(t),o.setLeft(n),o.setWidth(i),o.setHeight(r),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;const e=this.textArea,t=this.textAreaCover;if(c.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),Ae)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);const n=this._context.configuration.options;n.get(42)?t.setClassName("monaco-editor-background textAreaCover "+Ne.OUTER_CLASS_NAME):0!==n.get(52).renderType?t.setClassName("monaco-editor-background textAreaCover "+Le.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")}}var Me=n(107);class Pe{constructor(e,t,n,i){this.configuration=e,this.viewModel=t,this.userInputEvents=n,this.commandDelegate=i}paste(e,t,n,i){this.commandDelegate.paste(e,t,n,i)}type(e){this.commandDelegate.type(e)}replacePreviousChar(e,t){this.commandDelegate.replacePreviousChar(e,t)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){Me.b.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){const t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new ee.a(e.lineNumber,t):e}_hasMulticursorModifier(e){switch(this.configuration.options.get(61)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey;default:return!1}}_hasNonMulticursorModifier(e){switch(this.configuration.options.get(61)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey;default:return!1}}dispatchMouse(e){const t=this.configuration.options,n=m.d&&t.get(88),i=t.get(13);e.middleButton&&!n?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey||i?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)}_usualArgs(e){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e}}moveTo(e){Me.b.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_moveToSelect(e){Me.b.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_columnSelect(e,t,n){e=this._validateViewColumn(e),Me.b.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})}_createCursor(e,t){e=this._validateViewColumn(e),Me.b.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e){Me.b.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelect(e){Me.b.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelectDrag(e){Me.b.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorWordSelect(e){Me.b.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelect(e){Me.b.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelectDrag(e){Me.b.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelect(e){Me.b.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelectDrag(e){Me.b.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_selectAll(){Me.b.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}class Fe{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){this.onKeyDown&&this.onKeyDown(e)}emitKeyUp(e){this.onKeyUp&&this.onKeyUp(e)}emitContextMenu(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))}emitMouseMove(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))}emitMouseDown(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))}emitMouseUp(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))}emitMouseWheel(e){this.onMouseWheel&&this.onMouseWheel(e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return Fe.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){return new We(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)}}class We{constructor(e,t,n,i,r,o){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=r,this.detail=o}toString(){return re.toString(this)}}var ze=n(132);class Be{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){const t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;const n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){const n=t-e+1;return this._rendLineNumberStart-=n,null}if(e>i)return null;let r=0,o=0;for(let s=n;s<=i;s++){const n=s-this._rendLineNumberStart;e<=s&&s<=t&&(0===o?(r=n,o=1):o++)}if(e<n){let i=0;i=t<n?t-e+1:n-e,this._rendLineNumberStart-=i}return this._lines.splice(r,o)}onLinesChanged(e,t){if(0===this.getCount())return!1;const n=this.getStartLineNumber(),i=this.getEndLineNumber();let r=!1;for(let o=e;o<=t;o++)o>=n&&o<=i&&(this._lines[o-this._rendLineNumberStart].onContentChanged(),r=!0);return r}onLinesInserted(e,t){if(0===this.getCount())return null;const n=t-e+1,i=this.getStartLineNumber(),r=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>r)return null;if(n+e>r){return this._lines.splice(e-this._rendLineNumberStart,r-e+1)}const o=[];for(let e=0;e<n;e++)o[e]=this._createLine();const s=e-this._rendLineNumberStart,a=this._lines.slice(0,s),l=this._lines.slice(s,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=a.concat(o).concat(l),c}onTokensChanged(e){if(0===this.getCount())return!1;const t=this.getStartLineNumber(),n=this.getEndLineNumber();let i=!1;for(let r=0,o=e.length;r<o;r++){const o=e[r];if(o.toLineNumber<t||o.fromLineNumber>n)continue;const s=Math.max(t,o.fromLineNumber),a=Math.min(n,o.toLineNumber);for(let e=s;e<=a;e++){const t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),i=!0}}return i}}class je{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Be(()=>this._host.createVisibleLine())}_createDomNode(){const e=Object(p.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(117)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,n=t.length;e<n;e++){const n=t[e].getDomNode();n&&this.domNode.domNode.removeChild(n)}return!0}onLinesInserted(e){const t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,n=t.length;e<n;e++){const n=t[e].getDomNode();n&&this.domNode.domNode.removeChild(n)}return!0}onScrollChanged(e){return e.scrollTopChanged}onTokensChanged(e){return this._linesCollection.onTokensChanged(e.ranges)}onZonesChanged(e){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(e){return this._linesCollection.getLine(e)}renderLines(e){const t=this._linesCollection._get(),n=new Ve(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},r=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(r.rendLineNumberStart,r.lines)}}class Ve{constructor(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}render(e,t,n,i){const r={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(r.rendLineNumberStart+r.linesLength-1<t||n<r.rendLineNumberStart){r.rendLineNumberStart=t,r.linesLength=n-t+1,r.lines=[];for(let e=t;e<=n;e++)r.lines[e-t]=this.host.createVisibleLine();return this._finishRendering(r,!0,i),r}if(this._renderUntouchedLines(r,Math.max(t-r.rendLineNumberStart,0),Math.min(n-r.rendLineNumberStart,r.linesLength-1),i,t),r.rendLineNumberStart>t){const e=t,o=Math.min(n,r.rendLineNumberStart-1);e<=o&&(this._insertLinesBefore(r,e,o,i,t),r.linesLength+=o-e+1)}else if(r.rendLineNumberStart<t){const e=Math.min(r.linesLength,t-r.rendLineNumberStart);e>0&&(this._removeLinesBefore(r,e),r.linesLength-=e)}if(r.rendLineNumberStart=t,r.rendLineNumberStart+r.linesLength-1<n){const e=r.rendLineNumberStart+r.linesLength,o=n;e<=o&&(this._insertLinesAfter(r,e,o,i,t),r.linesLength+=o-e+1)}else if(r.rendLineNumberStart+r.linesLength-1>n){const e=Math.max(0,n-r.rendLineNumberStart+1),t=r.linesLength-1-e+1;t>0&&(this._removeLinesAfter(r,t),r.linesLength-=t)}return this._finishRendering(r,!1,i),r}_renderUntouchedLines(e,t,n,i,r){const o=e.rendLineNumberStart,s=e.lines;for(let e=t;e<=n;e++){const t=o+e;s[e].layoutLine(t,i[t-r])}}_insertLinesBefore(e,t,n,i,r){const o=[];let s=0;for(let e=t;e<=n;e++)o[s++]=this.host.createVisibleLine();e.lines=o.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;n<t;n++){const t=e.lines[n].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(0,t)}_insertLinesAfter(e,t,n,i,r){const o=[];let s=0;for(let e=t;e<=n;e++)o[s++]=this.host.createVisibleLine();e.lines=e.lines.concat(o)}_removeLinesAfter(e,t){const n=e.linesLength-t;for(let i=0;i<t;i++){const t=e.lines[n+i].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(n,t)}_finishRenderingNewLines(e,t,n,i){const r=this.domNode.lastChild;t||!r?this.domNode.innerHTML=n:r.insertAdjacentHTML("afterend",n);let o=this.domNode.lastChild;for(let t=e.linesLength-1;t>=0;t--){const n=e.lines[t];i[t]&&(n.setDomNode(o),o=o.previousSibling)}}_finishRenderingInvalidLines(e,t,n){const i=document.createElement("div");i.innerHTML=t;for(let t=0;t<e.linesLength;t++){const r=e.lines[t];if(n[t]){const e=i.firstChild,t=r.getDomNode();t.parentNode.replaceChild(e,t),r.setDomNode(e)}}}_finishRendering(e,t,n){const i=Ve._sb,r=e.linesLength,o=e.lines,s=e.rendLineNumberStart,a=[];{i.reset();let l=!1;for(let e=0;e<r;e++){const t=o[e];a[e]=!1;if(t.getDomNode())continue;t.renderLine(e+s,n[e],this.viewportData,i)&&(a[e]=!0,l=!0)}l&&this._finishRenderingNewLines(e,t,i.build(),a)}{i.reset();let t=!1;const l=[];for(let e=0;e<r;e++){const r=o[e];if(l[e]=!1,a[e])continue;r.renderLine(e+s,n[e],this.viewportData,i)&&(l[e]=!0,t=!0)}t&&this._finishRenderingInvalidLines(e,i.build(),l)}}}Ve._sb=Object(ze.a)(1e5);class Ue extends N{constructor(e){super(e),this._visibleLines=new je(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;e<t;e++){if(this._dynamicOverlays[e].shouldRender())return!0}return!1}dispose(){super.dispose();for(let e=0,t=this._dynamicOverlays.length;e<t;e++){this._dynamicOverlays[e].dispose()}this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new He(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(e){this._dynamicOverlays.push(e)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e);const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){this._visibleLines.getVisibleLine(i).onConfigurationChanged(e)}return!0}onFlushed(e){return this._visibleLines.onFlushed(e)}onFocusChanged(e){return this._isFocused=e.isFocused,!0}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onScrollChanged(e){return this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._visibleLines.onZonesChanged(e)}prepareRender(e){const t=this._dynamicOverlays.filter(e=>e.shouldRender());for(let n=0,i=t.length;n<i;n++){const i=t[n];i.prepareRender(e),i.onDidRender()}}render(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)}_viewOverlaysRender(e){this._visibleLines.renderLines(e.viewportData)}}class He{constructor(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(51),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(e){this._domNode=Object(p.b)(e)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(e){this._lineHeight=this._configuration.options.get(51)}renderLine(e,t,n,i){let r="";for(let t=0,i=this._dynamicOverlays.length;t<i;t++){r+=this._dynamicOverlays[t].render(n.startLineNumber,e)}return this._renderedContent!==r&&(this._renderedContent=r,i.appendASCIIString('<div style="position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;width:100%;height:"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;">'),i.appendASCIIString(r),i.appendASCIIString("</div>"),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class qe extends Ue{constructor(e){super(e);const t=this._context.configuration.options.get(117);this._contentWidth=t.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const t=this._context.configuration.options.get(117);return this._contentWidth=t.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class $e extends Ue{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),c.a.applyFontInfo(this.domNode,t.get(36))}onConfigurationChanged(e){const t=this._context.configuration.options;c.a.applyFontInfo(this.domNode,t.get(36));const n=t.get(117);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);const t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class Ke{constructor(e,t){this.top=e,this.left=t}}class Ge extends N{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=Object(p.b)(document.createElement("div")),I.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=Object(p.b)(document.createElement("div")),I.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){const t=new Ye(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()}setWidgetPosition(e,t,n){this._widgets[e.getId()].setPosition(t,n),this.setShouldRender()}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t];delete this._widgets[t];const n=e.domNode.domNode;n.parentNode.removeChild(n),n.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onBeforeRender(e)}prepareRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].prepareRender(e)}render(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].render(e)}}class Ye{constructor(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=Object(p.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const i=this._context.configuration.options,r=i.get(117);this._fixedOverflowWidgets=i.get(30),this._contentWidth=r.contentWidth,this._contentLeft=r.contentLeft,this._lineHeight=i.get(51),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;if(this._lineHeight=t.get(51),e.hasChanged(117)){const e=t.get(117);this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const e=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(e))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(e,t,n,i,r){const o=e.top,s=o,a=t.top+this._lineHeight,l=o-i,c=s>=i,d=a,h=r.viewportHeight-a>=i;let u=e.left,p=t.left;return u+n>r.scrollLeft+r.viewportWidth&&(u=r.scrollLeft+r.viewportWidth-n),p+n>r.scrollLeft+r.viewportWidth&&(p=r.scrollLeft+r.viewportWidth-n),u<r.scrollLeft&&(u=r.scrollLeft),p<r.scrollLeft&&(p=r.scrollLeft),{fitsAbove:c,aboveTop:l,aboveLeft:u,fitsBelow:h,belowTop:d,belowLeft:p}}_layoutHorizontalSegmentInPage(e,t,n,i){const o=Math.max(0,t.left-i),s=Math.min(t.left+t.width+i,e.width);let a=t.left+n-r.d.scrollX;if(a+i>s){const e=a-(s-i);a-=e,n-=e}if(a<o){const e=a-o;a-=e,n-=e}return[n,a]}_layoutBoxInPage(e,t,n,i,o){const s=e.top-i,a=t.top+this._lineHeight,l=r.C(this._viewDomNode.domNode),c=l.top+s-r.d.scrollY,d=l.top+a-r.d.scrollY,h=r.y(document.body),[u,p]=this._layoutHorizontalSegmentInPage(h,l,e.left-o.scrollLeft+this._contentLeft,n),[m,g]=this._layoutHorizontalSegmentInPage(h,l,t.left-o.scrollLeft+this._contentLeft,n),f=c>=22,b=d+i<=h.height-22;return this._fixedOverflowWidgets?{fitsAbove:f,aboveTop:Math.max(c,22),aboveLeft:p,fitsBelow:b,belowTop:d,belowLeft:g}:{fitsAbove:f,aboveTop:s,aboveLeft:u,fitsBelow:b,belowTop:a,belowLeft:m}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new Ke(e.top,e.left+this._contentLeft)}_getTopAndBottomLeft(e){if(!this._viewRange)return[null,null];const t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];let n=t[0],i=t[0];for(const e of t)e.lineNumber<n.lineNumber&&(n=e),e.lineNumber>i.lineNumber&&(i=e);let r=1073741824;for(const e of n.ranges)e.left<r&&(r=e.left);let o=1073741824;for(const e of i.ranges)e.left<o&&(o=e.left);const s=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,a=new Ke(s,r),l=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[a,new Ke(l,o)]}_prepareRenderWidget(e){const[t,n]=this._getTopAndBottomLeft(e);if(!t||!n)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){const e=this.domNode.domNode;this._cachedDomNodeClientWidth=e.clientWidth,this._cachedDomNodeClientHeight=e.clientHeight}let i;if(i=this.allowEditorOverflow?this._layoutBoxInPage(t,n,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(t,n,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e),this._preference)for(let e=1;e<=2;e++)for(const n of this._preference)if(1===n){if(!i)return null;if(2===e||i.fitsAbove)return new Ke(i.aboveTop,i.aboveLeft)}else{if(2!==n)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(t):t;if(!i)return null;if(2===e||i.fitsBelow)return new Ke(i.belowTop,i.belowLeft)}return null}onBeforeRender(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))}}n(216);var Ze=n(16);let Xe=!0;class Qe extends Ee{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._renderLineHighlight=t.get(77),this._renderLineHightlightOnlyWhenFocus=t.get(78),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[],this._selections=[],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=Xe?this._selections.slice(0,1):this._selections,n=t.map(e=>e.positionLineNumber);n.sort((e,t)=>e-t),Ze.g(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);const i=t.every(e=>e.isEmpty());return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._renderLineHighlight=t.get(77),this._renderLineHightlightOnlyWhenFocus=t.get(78),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHightlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis())return void(this._renderData=null);const t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,r=this._cursorLineNumbers.length;let o=0;const s=[];for(let e=n;e<=i;e++){const i=e-n;for(;o<r&&this._cursorLineNumbers[o]<e;)o++;o<r&&this._cursorLineNumbers[o]===e?s[i]=t:s[i]=""}this._renderData=s}render(e,t){if(!this._renderData)return"";const n=t-e;return n>=this._renderData.length?"":this._renderData[n]}}class Je extends Qe{_renderOne(e){return`<div class="${"current-line"+(this._shouldRenderOther()?" current-line-both":"")}" style="width:${Math.max(e.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}class et extends Qe{_renderOne(e){return`<div class="${"current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"")}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}Object(B.g)((e,t)=>{Xe=!1;const n=e.getColor(Te.i);if(n&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||e.defines(Te.j)){const n=e.getColor(Te.j);n&&(Xe=!0,t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}});n(218);class tt extends Ee{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,r=t.length;e<r;e++){const r=t[e];r.options.className&&(n[i++]=r)}n=n.sort((e,t)=>{if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;const n=e.options.className,i=t.options.className;return n<i?-1:n>i?1:te.a.compareRangesUsingStarts(e.range,t.range)});const r=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,s=[];for(let e=r;e<=o;e++){s[e-r]=""}this._renderWholeLineDecorations(e,n,s),this._renderNormalDecorations(e,n,s),this._renderResult=s}_renderWholeLineDecorations(e,t,n){const i=String(this._lineHeight),r=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber;for(let e=0,s=t.length;e<s;e++){const s=t[e];if(!s.options.isWholeLine)continue;const a='<div class="cdr '+s.options.className+'" style="left:0;width:100%;height:'+i+'px;"></div>',l=Math.max(s.range.startLineNumber,r),c=Math.min(s.range.endLineNumber,o);for(let e=l;e<=c;e++){n[e-r]+=a}}}_renderNormalDecorations(e,t,n){const i=String(this._lineHeight),r=e.visibleRange.startLineNumber;let o=null,s=!1,a=null;for(let l=0,c=t.length;l<c;l++){const c=t[l];if(c.options.isWholeLine)continue;const d=c.options.className,h=Boolean(c.options.showIfCollapsed);let u=c.range;h&&1===u.endColumn&&u.endLineNumber!==u.startLineNumber&&(u=new te.a(u.startLineNumber,u.startColumn,u.endLineNumber-1,this._context.model.getLineMaxColumn(u.endLineNumber-1))),o===d&&s===h&&te.a.areIntersectingOrTouching(a,u)?a=te.a.plusRange(a,u):(null!==o&&this._renderNormalDecoration(e,a,o,s,i,r,n),o=d,s=h,a=u)}null!==o&&this._renderNormalDecoration(e,a,o,s,i,r,n)}_renderNormalDecoration(e,t,n,i,r,o,s){const a=e.linesVisibleRangesForRange(t,"findMatch"===n);if(a)for(let e=0,t=a.length;e<t;e++){const t=a[e];if(t.outsideRenderedLine)continue;const l=t.lineNumber-o;if(i&&1===t.ranges.length){const e=t.ranges[0];0===e.width&&(t.ranges[0]=new A(e.left,this._typicalHalfwidthCharacterWidth))}for(let e=0,i=t.ranges.length;e<i;e++){const i=t.ranges[e],o='<div class="cdr '+n+'" style="left:'+String(i.left)+"px;width:"+String(i.width)+"px;height:"+r+'px;"></div>';s[l]+=o}}}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}var nt=n(105);class it extends N{constructor(e,t,n,i){super(e);const o=this._context.configuration.options,s=o.get(84),a=o.get(58),l=o.get(28),c=o.get(87),d={listenOnDomNode:n.domNode,className:"editor-scrollable "+Object(B.f)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:s.vertical,horizontal:s.horizontal,verticalHasArrows:s.verticalHasArrows,horizontalHasArrows:s.horizontalHasArrows,verticalScrollbarSize:s.verticalScrollbarSize,verticalSliderSize:s.verticalSliderSize,horizontalScrollbarSize:s.horizontalScrollbarSize,horizontalSliderSize:s.horizontalSliderSize,handleMouseWheel:s.handleMouseWheel,alwaysConsumeMouseWheel:s.alwaysConsumeMouseWheel,arrowSize:s.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:l,scrollPredominantAxis:c};this.scrollbar=this._register(new nt.c(t.domNode,d,this._context.viewLayout.getScrollable())),I.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=Object(p.b)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const h=(e,t,n)=>{const i={};if(t){const t=e.scrollTop;t&&(i.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(n){const t=e.scrollLeft;t&&(i.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.model.setScrollPosition(i,1)};this._register(r.i(n.domNode,"scroll",e=>h(n.domNode,!0,!0))),this._register(r.i(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(r.i(i.domNode,"scroll",e=>h(i.domNode,!0,!1))),this._register(r.i(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options,t=e.get(117);this.scrollbarDomNode.setLeft(t.contentLeft);"right"===e.get(56).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(84)||e.hasChanged(58)||e.hasChanged(28)){const e=this._context.configuration.options,t=e.get(84),n=e.get(58),i=e.get(28),r=e.get(87),o={handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:n,fastScrollSensitivity:i,scrollPredominantAxis:r};this.scrollbar.updateOptions(o)}return e.hasChanged(117)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(B.f)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}n(222);class rt{constructor(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)}}class ot extends Ee{_render(e,t,n){const i=[];for(let n=e;n<=t;n++){i[n-e]=[]}if(0===n.length)return i;n.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1);let r=null,o=0;for(let s=0,a=n.length;s<a;s++){const a=n[s],l=a.className;let c=Math.max(a.startLineNumber,e)-e;const d=Math.min(a.endLineNumber,t)-e;r===l?(c=Math.max(o+1,c),o=Math.max(o,d)):(r=l,o=d);for(let e=c;e<=o;e++)i[e].push(r)}return i}}class st extends ot{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._glyphMargin=t.get(42),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._glyphMargin=t.get(42),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,r=t.length;e<r;e++){const r=t[e],o=r.options.glyphMarginClassName;o&&(n[i++]=new rt(r.range.startLineNumber,r.range.endLineNumber,o))}return n}prepareRender(e){if(!this._glyphMargin)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),r=this._lineHeight.toString(),o='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+r+'px;"></div>',s=[];for(let e=t;e<=n;e++){const n=e-t,r=i[n];0===r.length?s[n]="":s[n]='<div class="cgmr codicon '+r.join(" ")+o}this._renderResult=s}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}n(224);class at extends Ee{constructor(e){super(),this._context=e,this._primaryLineNumber=0;const t=this._context.configuration.options,n=t.get(118),i=t.get(36);this._lineHeight=t.get(51),this._spaceWidth=i.spaceWidth,this._enabled=t.get(75),this._activeIndentEnabled=t.get(45),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(118),i=t.get(36);return this._lineHeight=t.get(51),this._spaceWidth=i.spaceWidth,this._enabled=t.get(75),this._activeIndentEnabled=t.get(45),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){const t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){if(!this._enabled)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,{indentSize:i}=this._context.model.getTextModelOptions(),r=i*this._spaceWidth,o=e.scrollWidth,s=this._lineHeight,a=this._context.model.getLinesIndentGuides(t,n);let l=0,c=0,d=0;if(this._activeIndentEnabled&&this._primaryLineNumber){const e=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);l=e.startLineNumber,c=e.endLineNumber,d=e.indent}const h=[];for(let i=t;i<=n;i++){const n=l<=i&&i<=c,u=i-t,p=a[u];let m="";if(p>=1){const t=e.visibleRangeForPosition(new ee.a(i,1));let a=t?t.left:0;for(let e=1;e<=p;e++){if(m+=`<div class="${n&&e===d?"cigra":"cigr"}" style="left:${a}px;height:${s}px;width:${r}px"></div>`,a+=r,a>o||this._maxIndentLeft>0&&a>this._maxIndentLeft)break}}h[u]=m}this._renderResult=h}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}Object(B.g)((e,t)=>{const n=e.getColor(Te.h);n&&t.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${n} inset; }`);const i=e.getColor(Te.a)||n;i&&t.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${i} inset; }`)});n(226);class lt{constructor(){this._currentVisibleRange=new te.a(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class ct{constructor(e,t,n,i,r,o){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=r,this.scrollType=o,this.type="range",this.minLineNumber=e,this.maxLineNumber=e}}class dt{constructor(e,t,n,i){this.selections=e,this.startScrollTop=t,this.stopScrollTop=n,this.scrollType=i,this.type="selections";let r=e[0].startLineNumber,o=e[0].endLineNumber;for(let t=1,n=e.length;t<n;t++){const n=e[t];r=Math.min(r,n.startLineNumber),o=Math.max(o,n.endLineNumber)}this.minLineNumber=r,this.maxLineNumber=o}}class ht extends N{constructor(e,t){super(e),this._linesContent=t,this._textRangeRestingSpot=document.createElement("div"),this._visibleLines=new je(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration,i=this._context.configuration.options,r=i.get(36),o=i.get(118);this._lineHeight=i.get(51),this._typicalHalfwidthCharacterWidth=r.typicalHalfwidthCharacterWidth,this._isViewportWrapping=o.isViewportWrapping,this._revealHorizontalRightPadding=i.get(81),this._cursorSurroundingLines=i.get(20),this._cursorSurroundingLinesStyle=i.get(21),this._canUseLayerHinting=!i.get(23),this._viewLineOptions=new $(n,this._context.theme.type),I.write(this.domNode,7),this.domNode.setClassName("view-lines "+De.a),c.a.applyFontInfo(this.domNode,r),this._maxLineWidth=0,this._asyncUpdateLineWidths=new b.d(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new b.d(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new lt,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new K(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(118)&&(this._maxLineWidth=0);const t=this._context.configuration.options,n=t.get(36),i=t.get(118);return this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(81),this._cursorSurroundingLines=t.get(20),this._cursorSurroundingLinesStyle=t.get(21),this._canUseLayerHinting=!t.get(23),c.a.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(117)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const e=this._context.configuration,t=new $(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;const e=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let t=e;t<=n;t++){this._visibleLines.getVisibleLine(t).onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=!1;for(let e=t;e<=n;e++)i=this._visibleLines.getVisibleLine(e).onSelectionChanged()||i;return i}onDecorationsChanged(e){{const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged()}return!0}onFlushed(e){const t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){const t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.selections,e.verticalType);if(-1===t)return!1;let n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new ct(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new dt(e.selections,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;const i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop)<=this._lineHeight?1:e.scrollType;return this._context.model.setScrollPosition(n,i),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){const t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){const n=this._getViewLineDomNode(e);if(null===n)return null;const i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new ee.a(i,1);const r=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(i<r||i>o)return null;let s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t);const a=this._context.model.getLineMinColumn(i);return s<a&&(s=a),new ee.a(i,s)}_getViewLineDomNode(e){for(;e&&1===e.nodeType;){if(e.className===K.CLASS_NAME)return e;e=e.parentElement}return null}_getLineNumberFor(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){if(e===this._visibleLines.getVisibleLine(i).getDomNode())return i}return-1}getLineWidth(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;const n=e.endLineNumber,i=te.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;let r=[],o=0;const s=new q(this.domNode.domNode,this._textRangeRestingSpot);let a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(i.startLineNumber,1)).lineNumber);const l=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let e=i.startLineNumber;e<=i.endLineNumber;e++){if(e<l||e>c)continue;const d=e===i.startLineNumber?i.startColumn:1,h=e===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(e),u=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(d,h,s);if(u){if(t&&e<n){const t=a;a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e+1,1)).lineNumber,t!==a&&(u.ranges[u.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}r[o++]=new O(u.outsideRenderedLine,e,u.ranges)}}return 0===o?null:r}_visibleRangesForLineRange(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new q(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){const t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new R(t.outsideRenderedLine,t.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=1,r=!0;for(let o=t;o<=n;o++){const t=this._visibleLines.getVisibleLine(o);!e||t.getWidthIsFast()?i=Math.max(i,t.getWidth()):r=!1}return r&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),r}_checkMonospaceFontAssumptions(){let e=-1,t=-1;const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let r=n;r<=i;r++){const n=this._visibleLines.getVisibleLine(r);if(n.needsMonospaceFontCheck()){const i=n.getWidth();i>t&&(t=i,e=r)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=n;e<=i;e++){this._visibleLines.getVisibleLine(e).onMonospaceAssumptionsInvalidated()}}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),m.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++){if(this._visibleLines.getVisibleLine(n).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){const t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.model.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(e,t,n,i,r){const o=e.top,s=e.height,a=o+s;let l,c,d;if(i&&i.length>0){let e=i[0].startLineNumber,t=i[0].endLineNumber;for(let n=1,r=i.length;n<r;n++){const r=i[n];e=Math.min(e,r.startLineNumber),t=Math.max(t,r.endLineNumber)}l=!1,c=this._context.viewLayout.getVerticalOffsetForLineNumber(e),d=this._context.viewLayout.getVerticalOffsetForLineNumber(t)+this._lineHeight}else{if(!n)return-1;l=!0,c=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),d=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight}if(!("mouse"===t&&"default"===this._cursorSurroundingLinesStyle)){const e=Math.min(s/this._lineHeight/2,this._cursorSurroundingLines);c-=e*this._lineHeight,d+=Math.max(0,e-1)*this._lineHeight}let h;if(0!==r&&4!==r||(d+=this._lineHeight),d-c>s){if(!l)return-1;h=c}else if(5===r||6===r)if(6===r&&o<=c&&d<=a)h=o;else{const e=c-Math.max(5*this._lineHeight,.2*s),t=d-s;h=Math.max(t,e)}else if(1===r||2===r)if(2===r&&o<=c&&d<=a)h=o;else{const e=(c+d)/2;h=Math.max(0,e-s/2)}else h=this._computeMinimumScrolling(o,a,c,d,3===r,4===r);return h}_computeScrollLeftToReveal(e){const t=this._context.viewLayout.getCurrentViewport(),n=t.left,i=n+t.width;let r=1073741824,o=0;if("range"===e.type){const t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(const e of t.ranges)r=Math.min(r,e.left),o=Math.max(o,e.left+e.width)}else for(const t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;const e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(const t of e.ranges)r=Math.min(r,t.left),o=Math.max(o,t.left+t.width)}if(r=Math.max(0,r-ht.HORIZONTAL_EXTRA_PX),o+=this._revealHorizontalRightPadding,"selections"===e.type&&o-r>t.width)return null;return{scrollLeft:this._computeMinimumScrolling(n,i,r,o),maxHorizontalOffset:o}}_computeMinimumScrolling(e,t,n,i,r,o){r=!!r,o=!!o;const s=(t|=0)-(e|=0);return(i|=0)-(n|=0)<s?r?n:o?Math.max(0,i-s):n<e?n:i>t?Math.max(0,i-s):e:n}}ht.HORIZONTAL_EXTRA_PX=30;n(228);class ut extends ot{constructor(e){super(),this._context=e;const t=this._context.configuration.options.get(117);this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options.get(117);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,r=t.length;e<r;e++){const r=t[e],o=r.options.linesDecorationsClassName;o&&(n[i++]=new rt(r.range.startLineNumber,r.range.endLineNumber,o));const s=r.options.firstLineDecorationClassName;s&&(n[i++]=new rt(r.range.startLineNumber,r.range.startLineNumber,s))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),r='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',o=[];for(let e=t;e<=n;e++){const n=e-t,s=i[n];let a="";for(let e=0,t=s.length;e<t;e++)a+='<div class="cldr '+s[e]+r;o[n]=a}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}n(230);class pt extends ot{constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,r=t.length;e<r;e++){const r=t[e],o=r.options.marginClassName;o&&(n[i++]=new rt(r.range.startLineNumber,r.range.endLineNumber,o))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),r=[];for(let e=t;e<=n;e++){const n=e-t,o=i[n];let s="";for(let e=0,t=o.length;e<t;e++)s+='<div class="cmdr '+o[e]+'" style=""></div>';r[n]=s}this._renderResult=r}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}n(232);class mt{constructor(e,t,n,i){this.r=mt._clamp(e),this.g=mt._clamp(t),this.b=mt._clamp(n),this.a=mt._clamp(i)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}mt.Empty=new mt(0,0,0,0);var gt=n(12);class ft{constructor(){this._onDidChange=new s.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),gt.C.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()})}static getInstance(){return this._INSTANCE||(this._INSTANCE=new ft),this._INSTANCE}_updateColorMap(){const e=gt.C.getColorMap();if(!e)return this._colors=[mt.Empty],void(this._backgroundIsLight=!0);this._colors=[mt.Empty];for(let t=1;t<e.length;t++){const n=e[t].rgba;this._colors[t]=new mt(n.r,n.g,n.b,Math.round(255*n.a))}let t=e[2].getRelativeLuminance();this._backgroundIsLight=t>=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}ft._INSTANCE=null;var bt=n(74),_t=n(5);const vt=(()=>{const e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})();var wt=n(36);class yt{constructor(e,t){this.scale=t,this.charDataNormal=yt.soften(e,.8),this.charDataLight=yt.soften(e,50/60)}static soften(e,t){let n=new Uint8ClampedArray(e.length);for(let i=0,r=e.length;i<r;i++)n[i]=Object(wt.b)(e[i]*t);return n}renderChar(e,t,n,i,r,o,s,a,l){const c=1*this.scale,d=2*this.scale,h=l?1:d;if(t+c>e.width||n+h>e.height)return void console.warn("bad render request outside image data");const u=a?this.charDataLight:this.charDataNormal,p=((e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e)(i,s),m=4*e.width,g=o.r,f=o.g,b=o.b,_=r.r-g,v=r.g-f,w=r.b-b,y=e.data;let C=p*c*d,x=n*m+4*t;for(let e=0;e<h;e++){let e=x;for(let t=0;t<c;t++){const t=u[C++]/255;y[e++]=g+_*t,y[e++]=f+v*t,y[e++]=b+w*t,e++}x+=m}}blockRenderChar(e,t,n,i,r,o,s){const a=1*this.scale,l=2*this.scale,c=s?1:l;if(t+a>e.width||n+c>e.height)return void console.warn("bad render request outside image data");const d=4*e.width,h=r.r,u=r.g,p=r.b,m=h+.5*(i.r-h),g=u+.5*(i.g-u),f=p+.5*(i.b-p),b=e.data;let _=n*d+4*t;for(let e=0;e<c;e++){let e=_;for(let t=0;t<a;t++)b[e++]=m,b[e++]=g,b[e++]=f,e++;_+=d}}}var Ct=n(133);const xt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},St=e=>{const t=new Uint8ClampedArray(e.length/2);for(let n=0;n<e.length;n+=2)t[n>>1]=xt[e[n]]<<4|15&xt[e[n+1]];return t},kt={1:Object(Ct.a)(()=>St("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:Object(Ct.a)(()=>St("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class Et{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let n;return n=kt[e]?new yt(kt[e](),e):Et.createFromSampleData(Et.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=n,n}static createSampleData(e){const t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";let i=0;for(const e of vt)n.fillText(String.fromCharCode(e),i,8),i+=10;return n.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw new Error("Unexpected source in MinimapCharRenderer");let n=Et._downsample(e,t);return new yt(n,t)}static _downsampleChar(e,t,n,i,r){const o=1*r,s=2*r;let a=i,l=0;for(let i=0;i<s;i++){const r=i/s*16,c=(i+1)/s*16;for(let i=0;i<o;i++){const s=i/o*10,d=(i+1)/o*10;let h=0,u=0;for(let n=r;n<c;n++){const i=t+3840*Math.floor(n),r=1-(n-Math.floor(n));for(let t=s;t<d;t++){const n=1-(t-Math.floor(t)),o=i+4*Math.floor(t),s=n*r;u+=s,h+=e[o]*e[o+3]/255*s}}const p=h/u;l=Math.max(l,p),n[a++]=Object(wt.b)(p)}}return l}static _downsample(e,t){const n=2*t*1*t,i=96*n,r=new Uint8ClampedArray(i);let o=0,s=0,a=0;for(let i=0;i<96;i++)a=Math.max(a,this._downsampleChar(e,s,r,o,t)),o+=n,s+=40;if(a>0){const e=255/a;for(let t=0;t<i;t++)r[t]*=e}return r}}var Tt=n(58);class Lt{constructor(e,t,n){const i=e.options,r=i.get(115),o=i.get(117),s=o.minimap,a=i.get(36),l=i.get(56);this.renderMinimap=s.renderMinimap,this.size=l.size,this.minimapHeightIsEditorHeight=s.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=i.get(86),this.showSlider=l.showSlider,this.pixelRatio=r,this.typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this.lineHeight=i.get(51),this.minimapLeft=s.minimapLeft,this.minimapWidth=s.minimapWidth,this.minimapHeight=o.height,this.canvasInnerWidth=s.minimapCanvasInnerWidth,this.canvasInnerHeight=s.minimapCanvasInnerHeight,this.canvasOuterWidth=s.minimapCanvasOuterWidth,this.canvasOuterHeight=s.minimapCanvasOuterHeight,this.isSampling=s.minimapIsSampling,this.editorHeight=o.height,this.fontScale=s.minimapScale,this.minimapLineHeight=s.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=Object(Ct.a)(()=>Et.create(this.fontScale,a.fontFamily)),this.backgroundColor=Lt._getMinimapBackground(t,n)}static _getMinimapBackground(e,t){const n=e.getColor(_t.Mb);return n?new mt(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a):t.getColor(2)}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)}}class Nt{constructor(e,t,n,i,r,o,s,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=n,this._computedSliderRatio=i,this.sliderTop=r,this.sliderHeight=o,this.startLineNumber=s,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){const t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,n,i,r,o,s,a,l,c){const d=e.pixelRatio,h=e.minimapLineHeight,u=Math.floor(e.canvasInnerHeight/h),p=e.lineHeight;if(e.minimapHeightIsEditorHeight){const t=s*e.lineHeight+(e.scrollBeyondLastLine?i-e.lineHeight:0),n=Math.max(1,Math.floor(i*i/t)),r=Math.max(0,e.minimapHeight-n),c=r/(l-i),d=a*c,h=r>0,u=Math.floor(e.canvasInnerHeight/e.minimapLineHeight);return new Nt(a,l,h,c,d,n,1,Math.min(o,u))}let m,g;if(r&&n!==o){const e=n-t+1;m=Math.floor(e*h/d)}else{const e=i/p;m=Math.floor(e*h/d)}g=e.scrollBeyondLastLine?(o-1)*h/d:Math.max(0,o*h/d-m),g=Math.min(e.minimapHeight-m,g);const f=g/(l-i),b=a*f;let _=0;if(e.scrollBeyondLastLine){_=i/p-1}if(u>=o+_){return new Nt(a,l,g>0,f,b,m,1,o)}{let e=Math.max(1,Math.floor(t-b*d/h));c&&c.scrollHeight===l&&(c.scrollTop>a&&(e=Math.min(e,c.startLineNumber)),c.scrollTop<a&&(e=Math.max(e,c.startLineNumber)));const n=Math.min(o,e+u-1);return new Nt(a,l,!0,f,b,m,e,n)}}}class It{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}It.INVALID=new It(-1);class Dt{constructor(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Be(()=>It.INVALID),this._renderedLines._set(e.startLineNumber,n)}linesEquals(e){if(!this.scrollEquals(e))return!1;const t=this._renderedLines._get().lines;for(let e=0,n=t.length;e<n;e++)if(-1===t[e].dy)return!1;return!0}scrollEquals(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber}_get(){const e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}}onLinesChanged(e,t){return this._renderedLines.onLinesChanged(e,t)}onLinesDeleted(e,t){this._renderedLines.onLinesDeleted(e,t)}onLinesInserted(e,t){this._renderedLines.onLinesInserted(e,t)}onTokensChanged(e){return this._renderedLines.onTokensChanged(e)}}class Ot{constructor(e,t,n,i){this._backgroundFillData=Ot._createBackgroundFillData(t,n,i),this._buffers=[e.createImageData(t,n),e.createImageData(t,n)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;const e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e}static _createBackgroundFillData(e,t,n){const i=n.r,r=n.g,o=n.b,s=new Uint8ClampedArray(e*t*4);let a=0;for(let n=0;n<t;n++)for(let t=0;t<e;t++)s[a]=i,s[a+1]=r,s[a+2]=o,s[a+3]=255,a+=4;return s}}class At{constructor(e,t){this.samplingRatio=e,this.minimapLines=t}static compute(e,t,n){if(0===e.renderMinimap||!e.isSampling)return[null,[]];const i=e.pixelRatio,r=e.lineHeight,o=e.scrollBeyondLastLine,{minimapLineCount:s}=j.f.computeContainedMinimapLineCount({viewLineCount:t,scrollBeyondLastLine:o,height:e.editorHeight,lineHeight:r,pixelRatio:i}),a=t/s,l=a/2;if(!n||0===n.minimapLines.length){let e=[];if(e[0]=1,s>1){for(let t=0,n=s-1;t<n;t++)e[t]=Math.round(t*a+l);e[s-1]=t}return[new At(a,e),[]]}const c=n.minimapLines,d=c.length;let h=[],u=0,p=0,m=1;let g=[],f=null;for(let e=0;e<s;e++){const n=Math.max(m,Math.round(e*a)),i=Math.max(n,Math.round((e+1)*a));for(;u<d&&c[u]<n;){if(g.length<10){const e=u+1+p;f&&"deleted"===f.type&&f._oldIndex===u-1?f.deleteToLineNumber++:(f={type:"deleted",_oldIndex:u,deleteFromLineNumber:e,deleteToLineNumber:e},g.push(f)),p--}u++}let r;if(u<d&&c[u]<=i)r=c[u],u++;else if(r=0===e?1:e+1===s?t:Math.round(e*a+l),g.length<10){const t=u+1+p;f&&"inserted"===f.type&&f._i===e-1?f.insertToLineNumber++:(f={type:"inserted",_i:e,insertFromLineNumber:t,insertToLineNumber:t},g.push(f)),p++}h[e]=r,m=r}if(g.length<10)for(;u<d;){const e=u+1+p;f&&"deleted"===f.type&&f._oldIndex===u-1?f.deleteToLineNumber++:(f={type:"deleted",_oldIndex:u,deleteFromLineNumber:e,deleteToLineNumber:e},g.push(f)),p--,u++}else g=[{type:"flush"}];return[new At(a,h),g]}modelLineToMinimapLine(e){return Math.min(this.minimapLines.length,Math.max(1,Math.round(e/this.samplingRatio)))}modelLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e)-1;for(;n>0&&this.minimapLines[n-1]>=e;)n--;let i=this.modelLineToMinimapLine(t)-1;for(;i+1<this.minimapLines.length&&this.minimapLines[i+1]<=t;)i++;if(n===i){const i=this.minimapLines[n];if(i<e||i>t)return null}return[n+1,i+1]}decorationLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e),i=this.modelLineToMinimapLine(t);return e!==t&&i===n&&(i===this.minimapLines.length?n>1&&n--:i++),[n,i]}onLinesDeleted(e){const t=e.toLineNumber-e.fromLineNumber+1;let n=this.minimapLines.length,i=0;for(let r=this.minimapLines.length-1;r>=0&&!(this.minimapLines[r]<e.fromLineNumber);r--)this.minimapLines[r]<=e.toLineNumber?(this.minimapLines[r]=Math.max(1,e.fromLineNumber-1),n=Math.min(n,r),i=Math.max(i,r)):this.minimapLines[r]-=t;return[n,i]}onLinesInserted(e){const t=e.toLineNumber-e.fromLineNumber+1;for(let n=this.minimapLines.length-1;n>=0&&!(this.minimapLines[n]<e.fromLineNumber);n--)this.minimapLines[n]+=t}}class Rt extends N{constructor(e){super(e),this.tokensColorTracker=ft.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new Lt(this._context.configuration,this._context.theme,this.tokensColorTracker);const[t]=At.compute(this.options,this._context.model.getLineCount(),null);this._samplingState=t,this._shouldCheckSampling=!1,this._actual=new Mt(e.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const e=new Lt(this._context.configuration,this._context.theme,this.tokensColorTracker);return!this.options.equals(e)&&(this.options=e,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(e){return this._onOptionsMaybeChanged()}onCursorStateChanged(e){return this._selections=e.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(e){return!!e.affectsMinimap&&this._actual.onDecorationsChanged()}onFlushed(e){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(e){if(this._samplingState){const t=this._samplingState.modelLineRangeToMinimapLineRange(e.fromLineNumber,e.toLineNumber);return!!t&&this._actual.onLinesChanged(t[0],t[1])}return this._actual.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){if(this._samplingState){const[t,n]=this._samplingState.onLinesDeleted(e);return t<=n&&this._actual.onLinesChanged(t+1,n+1),this._shouldCheckSampling=!0,!0}return this._actual.onLinesDeleted(e.fromLineNumber,e.toLineNumber)}onLinesInserted(e){return this._samplingState?(this._samplingState.onLinesInserted(e),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(e.fromLineNumber,e.toLineNumber)}onScrollChanged(e){return this._actual.onScrollChanged()}onThemeChanged(e){return this._context.model.invalidateMinimapColorCache(),this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(e){if(this._samplingState){let t=[];for(const n of e.ranges){const e=this._samplingState.modelLineRangeToMinimapLineRange(n.fromLineNumber,n.toLineNumber);e&&t.push({fromLineNumber:e[0],toLineNumber:e[1]})}return!!t.length&&this._actual.onTokensChanged(t)}return this._actual.onTokensChanged(e.ranges)}onTokensColorsChanged(e){return this._actual.onTokensColorsChanged()}onZonesChanged(e){return this._actual.onZonesChanged()}prepareRender(e){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(e){let t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber;this._samplingState&&(t=this._samplingState.modelLineToMinimapLine(t),n=this._samplingState.modelLineToMinimapLine(n));const i={viewportContainsWhitespaceGaps:e.viewportData.whitespaceViewportData.length>0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:n,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(i)}_recreateLineSampling(){this._minimapSelections=null;const e=Boolean(this._samplingState),[t,n]=At.compute(this.options,this._context.model.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(const e of n)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.model.getLineCount()}getRealLineCount(){return this._context.model.getLineCount()}getLineContent(e){return this._samplingState?this._context.model.getLineContent(this._samplingState.minimapLines[e-1]):this._context.model.getLineContent(e)}getMinimapLinesRenderingData(e,t,n){if(this._samplingState){let i=[];for(let r=0,o=t-e+1;r<o;r++)n[r]?i[r]=this._context.model.getViewLineData(this._samplingState.minimapLines[e+r-1]):i[r]=null;return i}return this._context.model.getMinimapLinesRenderingData(e,t,n).data}getSelections(){if(null===this._minimapSelections)if(this._samplingState){this._minimapSelections=[];for(const e of this._selections){const[t,n]=this._samplingState.decorationLineRangeToMinimapLineRange(e.startLineNumber,e.endLineNumber);this._minimapSelections.push(new u.a(t,e.startColumn,n,e.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(e,t){let n;if(this._samplingState){const i=this._samplingState.minimapLines[e-1],r=this._samplingState.minimapLines[t-1];n=new te.a(i,1,r,this._context.model.getLineMaxColumn(r))}else n=new te.a(e,1,t,this._context.model.getLineMaxColumn(t));const i=this._context.model.getDecorationsInViewport(n);if(this._samplingState){let e=[];for(const t of i){if(!t.options.minimap)continue;const n=t.range,i=this._samplingState.modelLineToMinimapLine(n.startLineNumber),r=this._samplingState.modelLineToMinimapLine(n.endLineNumber);e.push(new bt.e(new te.a(i,n.startColumn,r,n.endColumn),t.options))}return e}return i}getOptions(){return this._context.model.getTextModelOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.model.revealRange("mouse",!1,new te.a(e,1,e,1),1,0)}setScrollTop(e){this._context.model.setScrollPosition({scrollTop:e},1)}}class Mt extends a.a{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(_t.Pb),this._domNode=Object(p.b)(document.createElement("div")),I.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=Object(p.b)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=Object(p.b)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=Object(p.b)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=Object(p.b)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=Object(p.b)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=r.n(this._domNode.domNode,"mousedown",e=>{e.preventDefault();if(0===this._model.options.renderMinimap)return;if(!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(e.leftButton&&this._lastRenderData){const t=r.C(this._slider.domNode),n=t.top+t.height/2;this._startSliderDragging(e.buttons,e.posx,n,e.posy,this._lastRenderData.renderedLayout)}return}const t=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.browserEvent.offsetY;let i=Math.floor(n/t)+this._lastRenderData.renderedLayout.startLineNumber;i=Math.min(i,this._model.getLineCount()),this._model.revealLineNumber(i)}),this._sliderMouseMoveMonitor=new v.a,this._sliderMouseDownListener=r.n(this._slider.domNode,"mousedown",e=>{e.preventDefault(),e.stopPropagation(),e.leftButton&&this._lastRenderData&&this._startSliderDragging(e.buttons,e.posx,e.posy,e.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=g.b.addTarget(this._domNode.domNode),this._sliderTouchStartListener=r.i(this._domNode.domNode,g.a.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=r.i(this._domNode.domNode,g.a.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=r.n(this._domNode.domNode,g.a.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,n,i,r){this._slider.toggleClassName("active",!0);const o=(e,i)=>{const o=Math.abs(i-t);if(m.i&&o>140)return void this._model.setScrollTop(r.scrollTop);const s=e-n;this._model.setScrollTop(r.getDesiredScrollTopFromDelta(s))};i!==n&&o(i,t),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,e,v.b,e=>o(e.posy,e.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){const t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(n)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new Ot(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e,t),!0}onLinesInserted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(_t.Pb),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){if(0===this._model.options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const t=Nt.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(t.sliderNeeded?"block":"none"),this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);const n=e.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,i=Math.min(this._model.options.minimapWidth,Math.round(n*this._model.options.minimapCharWidth/this._model.options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;const t=this._model.getSelections(),n=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber),{canvasInnerWidth:i,canvasInnerHeight:r}=this._model.options,o=this._model.options.minimapLineHeight,s=this._model.options.minimapCharWidth,a=this._model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,i,r);const c=new Map;for(let n=0;n<t.length;n++){const i=t[n];for(let t=i.startLineNumber;t<=i.endLineNumber;t++)this.renderDecorationOnLine(l,c,i,this._selectionColor,e,t,o,o,a,s)}for(let t=0;t<n.length;t++){const i=n[t];if(!i.options.minimap)continue;const r=i.options.minimap.getColor(this._theme);for(let t=i.range.startLineNumber;t<=i.range.endLineNumber;t++)switch(i.options.minimap.position){case Tt.c.Inline:this.renderDecorationOnLine(l,c,i.range,r,e,t,o,o,a,s);continue;case Tt.c.Gutter:const n=(t-e.startLineNumber)*o,d=2;this.renderDecoration(l,r,d,n,2,o);continue}}}}renderDecorationOnLine(e,t,n,i,r,o,s,a,l,c){const d=(o-r.startLineNumber)*a;if(d+s<0||d>this._model.options.canvasInnerHeight)return;let h=t.get(o);const u=!h;if(!h){const e=this._model.getLineContent(o);h=[j.h];for(let t=1;t<e.length+1;t++){const n=e.charCodeAt(t-1),i=9===n?l*c:xe.E(n)?2*c:c;h[t]=h[t-1]+i}t.set(o,h)}const{startColumn:p,endColumn:m,startLineNumber:g,endLineNumber:f}=n,b=g===o?h[p-1]:j.h,_=f>o?h.length-1:m-1;if(_>0){const t=h[_]-b||2;this.renderDecoration(e,i,b,d,t,s)}u&&this.renderLineHighlight(e,i,d,s)}renderLineHighlight(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(j.h,n,e.canvas.width,i)}renderDecoration(e,t,n,i,r,o){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,r,o)}renderLines(e){const t=e.startLineNumber,n=e.endLineNumber,i=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){const t=this._lastRenderData._get();return new Dt(e,t.imageData,t.lines)}const r=this._getBuffer();if(!r)return null;let[o,s,a]=Mt._renderUntouchedLines(r,t,n,i,this._lastRenderData);const l=this._model.getMinimapLinesRenderingData(t,n,a),c=this._model.getOptions().tabSize,d=this._model.options.backgroundColor,h=this._model.tokensColorTracker,u=h.backgroundIsLight(),p=this._model.options.renderMinimap,m=this._model.options.charRenderer(),g=this._model.options.fontScale,f=this._model.options.minimapCharWidth,b=(1===p?2:3)*g,_=i>b?Math.floor((i-b)/2):0;let v=0;const w=[];for(let e=0,o=n-t+1;e<o;e++)a[e]&&Mt._renderLine(r,d,u,p,f,h,m,v,_,c,l[e],g,i),w[e]=new It(v),v+=i;const y=-1===o?0:o,C=(-1===s?r.height:s)-y;return this._canvas.domNode.getContext("2d").putImageData(r,0,0,0,y,r.width,C),new Dt(e,r,w)}static _renderUntouchedLines(e,t,n,i,r){const o=[];if(!r){for(let e=0,i=n-t+1;e<i;e++)o[e]=!0;return[-1,-1,o]}const s=r._get(),a=s.imageData.data,l=s.rendLineNumberStart,c=s.lines,d=c.length,h=e.width,u=e.data,p=(n-t+1)*i*h*4;let m=-1,g=-1,f=-1,b=-1,_=-1,v=-1,w=0;for(let e=t;e<=n;e++){const n=e-t,r=e-l,s=r>=0&&r<d?c[r].dy:-1;if(-1===s){o[n]=!0,w+=i;continue}const y=s*h*4,C=(s+i)*h*4,x=w*h*4,S=(w+i)*h*4;b===y&&v===x?(b=C,v=S):(-1!==f&&(u.set(a.subarray(f,b),_),-1===m&&0===f&&f===_&&(m=b),-1===g&&b===p&&f===_&&(g=f)),f=y,b=C,_=x,v=S),o[n]=!1,w+=i}-1!==f&&(u.set(a.subarray(f,b),_),-1===m&&0===f&&f===_&&(m=b),-1===g&&b===p&&f===_&&(g=f));return[-1===m?-1:m/(4*h),-1===g?-1:g/(4*h),o]}static _renderLine(e,t,n,i,r,o,s,a,l,c,d,h,u){const p=d.content,m=d.tokens,g=e.width-r,f=1===u;let b=j.h,_=0,v=0;for(let d=0,u=m.getCount();d<u;d++){const u=m.getEndOffset(d),w=m.getForeground(d),y=o.getColor(w);for(;_<u;_++){if(b>g)return;const o=p.charCodeAt(_);if(9===o){const e=c-(_+v)%c;v+=e-1,b+=e*r}else if(32===o)b+=r;else{const c=xe.E(o)?2:1;for(let d=0;d<c;d++)if(2===i?s.blockRenderChar(e,b,a+l,y,t,n,f):s.renderChar(e,b,a+l,o,y,t,h,n,f),b+=r,b>g)return}}}}}Object(B.g)((e,t)=>{const n=e.getColor(_t.Mb);n&&t.addRule(`.monaco-editor .minimap > canvas { opacity: ${n.rgba.a}; will-change: opacity; }`);const i=e.getColor(_t.Rb);i&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${i}; }`);const r=e.getColor(_t.Sb);r&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${r}; }`);const o=e.getColor(_t.Qb);o&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${o}; }`);const s=e.getColor(_t.ic);s&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${s} -6px 0 6px -6px inset; }`)});n(234);class Pt extends N{constructor(e){super(e);const t=this._context.configuration.options.get(117);this._widgets={},this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimap.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,this._domNode=Object(p.b)(document.createElement("div")),I.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options.get(117);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimap.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0}addWidget(e){const t=Object(p.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t].domNode.domNode;delete this._widgets[t],e.parentNode.removeChild(e),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){const e=t.domNode.clientHeight;t.setTop(this._editorHeight-e-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);const t=Object.keys(this._widgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];this._renderWidget(this._widgets[n])}}}var Ft=n(15);class Wt{constructor(e,t){const n=e.options;this.lineHeight=n.get(51),this.pixelRatio=n.get(115),this.overviewRulerLanes=n.get(65),this.renderBorder=n.get(64);const i=t.getColor(Te.m);this.borderColor=i?i.toString():null,this.hideCursor=n.get(44);const r=t.getColor(Te.g);this.cursorColor=r?r.transparent(.7).toString():null,this.themeType=t.type;const o=n.get(56),s=o.enabled,a=o.side,l=s?t.getColor(Te.l)||gt.C.getDefaultBackground():null;this.backgroundColor=null===l||"left"===a?null:Ft.a.Format.CSS.formatHex(l);const c=n.get(117).overviewRuler;this.top=c.top,this.right=c.right,this.domWidth=c.width,this.domHeight=c.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[d,h]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=d,this.w=h}_initLanes(e,t,n){const i=t-e;if(n>=3){const t=Math.floor(i/3),n=Math.floor(i/3),r=i-t-n,o=e+t;return[[0,e,o,e,e+t+r,e,o,e],[0,t,r,t+r,n,t+r+n,r+n,t+r+n]]}if(2===n){const t=Math.floor(i/2),n=i-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,n,t+n,t+n,t+n]]}return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class zt extends N{constructor(e){super(e),this._domNode=Object(p.b)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=gt.C.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){const t=new Wt(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(ee.a.compare),!0}onDecorationsChanged(e){return!!e.affectsOverviewRuler}onFlushed(e){return!0}onScrollChanged(e){return e.scrollHeightChanged}onZonesChanged(e){return!0}onThemeChanged(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render()}_render(){if(0===this._settings.overviewRulerLanes)return void this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"");const e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,r=t/this._context.viewLayout.getScrollHeight(),o=this._context.model.getAllOverviewRulerDecorations(this._context.theme),s=6*this._settings.pixelRatio|0,a=s/2|0,l=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?l.clearRect(0,0,e,t):(l.fillStyle=this._settings.backgroundColor,l.fillRect(0,0,e,t));const c=this._settings.x,d=this._settings.w,h=Object.keys(o);h.sort();for(let e=0,u=h.length;e<u;e++){const u=h[e],p=o[u];l.fillStyle=u;let m=0,g=0,f=0;for(let e=0,o=p.length;e<o;e++){const o=p[3*e],h=p[3*e+1],u=p[3*e+2];let b=i.getVerticalOffsetForLineNumber(h)*r|0,_=(i.getVerticalOffsetForLineNumber(u)+n)*r|0;if(_-b<s){let e=(b+_)/2|0;e<a?e=a:e+a>t&&(e=t-a),b=e-a,_=e+a}b>f+1||o!==m?(0!==e&&l.fillRect(c[m],g,d[m],f-g),m=o,g=b,f=_):_>f&&(f=_)}l.fillRect(c[m],g,d[m],f-g)}if(!this._settings.hideCursor&&this._settings.cursorColor){const e=2*this._settings.pixelRatio|0,n=e/2|0,o=this._settings.x[7],s=this._settings.w[7];l.fillStyle=this._settings.cursorColor;let a=-100,c=-100;for(let d=0,h=this._cursorPositions.length;d<h;d++){const h=this._cursorPositions[d];let u=i.getVerticalOffsetForLineNumber(h.lineNumber)*r|0;u<n?u=n:u+n>t&&(u=t-n);const p=u-n,m=p+e;p>c+1?(0!==d&&l.fillRect(o,a,s,c-a),a=p,c=m):m>c&&(c=m)}l.fillRect(o,a,s,c-a)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(e,0),l.stroke())}}var Bt=n(168);class jt extends L{constructor(e,t){super(),this._context=e;const n=this._context.configuration.options;this._domNode=Object(p.b)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new Bt.b(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(n.get(51)),this._zoneManager.setPixelRatio(n.get(115)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(51)&&(this._zoneManager.setLineHeight(t.get(51)),this._render()),e.hasChanged(115)&&(this._zoneManager.setPixelRatio(t.get(115)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;const e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),r=this._domNode.domNode.getContext("2d");return r.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(r,n,i,e),!0}_renderOneLane(e,t,n,i){let r=0,o=0,s=0;for(const a of t){const t=a.colorId,l=a.from,c=a.to;t!==r?(e.fillRect(0,o,i,s-o),r=t,e.fillStyle=n[r],o=l,s=c):s>=l?s=Math.max(s,c):(e.fillRect(0,o,i,s-o),o=l,s=c)}e.fillRect(0,o,i,s-o)}}n(236);class Vt extends N{constructor(e){super(e),this.domNode=Object(p.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(83),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(83),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){const e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e<t){const{tabSize:n}=this._context.model.getTextModelOptions(),i=n;let r=t-e;for(;r>0;){const e=Object(p.b)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),r--}return}let n=e-t;for(;n>0;){const e=this._renderedRulers.pop();this.domNode.removeChild(e),n--}}render(e){this._ensureRulersCount();for(let t=0,n=this._rulers.length;t<n;t++){const n=this._renderedRulers[t],i=this._rulers[t];n.setBoxShadow(i.color?`1px 0 0 0 ${i.color} inset`:""),n.setHeight(Math.min(e.scrollHeight,1e6)),n.setLeft(i.column*this._typicalHalfwidthCharacterWidth)}}}Object(B.g)((e,t)=>{const n=e.getColor(Te.n);n&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${n} inset; }`)});n(238);class Ut extends N{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const t=this._context.configuration.options.get(84);this._useShadows=t.useShadows,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){const e=this._context.configuration.options.get(117);0===e.minimap.renderMinimap||e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?this._width=e.width:this._width=e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}onConfigurationChanged(e){const t=this._context.configuration.options.get(84);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}Object(B.g)((e,t)=>{const n=e.getColor(_t.ic);n&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${n} 0 6px 6px -6px inset; }`)});n(240);class Ht{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class qt{constructor(e,t){this.lineNumber=e,this.ranges=t}}function $t(e){return new Ht(e)}function Kt(e){return new qt(e.lineNumber,e.ranges.map($t))}const Gt=_.f;class Yt extends Ee{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(51),this._roundedSelection=t.get(82),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(51),this._roundedSelection=t.get(82),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,n=e.length;t<n;t++){if(e[t].ranges.length>1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,n){const i=this._typicalHalfwidthCharacterWidth/4;let r=null,o=null;if(n&&n.length>0&&t.length>0){const i=t[0].lineNumber;if(i===e.startLineNumber)for(let e=0;!r&&e<n.length;e++)n[e].lineNumber===i&&(r=n[e].ranges[0]);const s=t[t.length-1].lineNumber;if(s===e.endLineNumber)for(let e=n.length-1;!o&&e>=0;e--)n[e].lineNumber===s&&(o=n[e].ranges[0]);r&&!r.startStyle&&(r=null),o&&!o.startStyle&&(o=null)}for(let e=0,n=t.length;e<n;e++){const s=t[e].ranges[0],a=s.left,l=s.left+s.width,c={top:0,bottom:0},d={top:0,bottom:0};if(e>0){const n=t[e-1].ranges[0].left,r=t[e-1].ranges[0].left+t[e-1].ranges[0].width;Zt(a-n)<i?c.top=2:a>n&&(c.top=1),Zt(l-r)<i?d.top=2:n<l&&l<r&&(d.top=1)}else r&&(c.top=r.startStyle.top,d.top=r.endStyle.top);if(e+1<n){const n=t[e+1].ranges[0].left,r=t[e+1].ranges[0].left+t[e+1].ranges[0].width;Zt(a-n)<i?c.bottom=2:n<a&&a<r&&(c.bottom=1),Zt(l-r)<i?d.bottom=2:l<r&&(d.bottom=1)}else o&&(c.bottom=o.startStyle.bottom,d.bottom=o.endStyle.bottom);s.startStyle=c,s.endStyle=d}}_getVisibleRangesWithStyle(e,t,n){const i=(t.linesVisibleRangesForRange(e,!0)||[]).map(Kt),r=this._visibleRangesHaveGaps(i);return Gt||r||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,i,n),i}_createSelectionPiece(e,t,n,i,r){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+i.toString()+"px;width:"+r.toString()+"px;height:"+t+'px;"></div>'}_actualRenderOneSelection(e,t,n,i){if(0===i.length)return;const r=!!i[0].ranges[0].startStyle,o=this._lineHeight.toString(),s=(this._lineHeight-1).toString(),a=i[0].lineNumber,l=i[i.length-1].lineNumber;for(let c=0,d=i.length;c<d;c++){const d=i[c],h=d.lineNumber,u=h-t,p=n&&(h===l||h===a)?s:o,m=n&&h===a?1:0;let g="",f="";for(let e=0,t=d.ranges.length;e<t;e++){const t=d.ranges[e];if(r){const e=t.startStyle,n=t.endStyle;if(1===e.top||1===e.bottom){g+=this._createSelectionPiece(m,p,Yt.SELECTION_CLASS_NAME,t.left-Yt.ROUNDED_PIECE_WIDTH,Yt.ROUNDED_PIECE_WIDTH);let n=Yt.EDITOR_BACKGROUND_CLASS_NAME;1===e.top&&(n+=" "+Yt.SELECTION_TOP_RIGHT),1===e.bottom&&(n+=" "+Yt.SELECTION_BOTTOM_RIGHT),g+=this._createSelectionPiece(m,p,n,t.left-Yt.ROUNDED_PIECE_WIDTH,Yt.ROUNDED_PIECE_WIDTH)}if(1===n.top||1===n.bottom){g+=this._createSelectionPiece(m,p,Yt.SELECTION_CLASS_NAME,t.left+t.width,Yt.ROUNDED_PIECE_WIDTH);let e=Yt.EDITOR_BACKGROUND_CLASS_NAME;1===n.top&&(e+=" "+Yt.SELECTION_TOP_LEFT),1===n.bottom&&(e+=" "+Yt.SELECTION_BOTTOM_LEFT),g+=this._createSelectionPiece(m,p,e,t.left+t.width,Yt.ROUNDED_PIECE_WIDTH)}}let n=Yt.SELECTION_CLASS_NAME;if(r){const e=t.startStyle,i=t.endStyle;0===e.top&&(n+=" "+Yt.SELECTION_TOP_LEFT),0===e.bottom&&(n+=" "+Yt.SELECTION_BOTTOM_LEFT),0===i.top&&(n+=" "+Yt.SELECTION_TOP_RIGHT),0===i.bottom&&(n+=" "+Yt.SELECTION_BOTTOM_RIGHT)}f+=this._createSelectionPiece(m,p,n,t.left,t.width)}e[u][0]+=g,e[u][1]+=f}}prepareRender(e){const t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber;for(let e=n;e<=i;e++){t[e-n]=["",""]}const r=[];for(let i=0,o=this._selections.length;i<o;i++){const o=this._selections[i];if(o.isEmpty()){r[i]=null;continue}const s=this._getVisibleRangesWithStyle(o,e,this._previousFrameVisibleRangesWithStyle[i]);r[i]=s,this._actualRenderOneSelection(t,n,this._selections.length>1,s)}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}function Zt(e){return e<0?-e:e}Yt.SELECTION_CLASS_NAME="selected-text",Yt.SELECTION_TOP_LEFT="top-left-radius",Yt.SELECTION_BOTTOM_LEFT="bottom-left-radius",Yt.SELECTION_TOP_RIGHT="top-right-radius",Yt.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Yt.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Yt.ROUNDED_PIECE_WIDTH=10,Object(B.g)((e,t)=>{const n=e.getColor(_t.O);n&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${n}; }`);const i=e.getColor(_t.J);i&&t.addRule(`.monaco-editor .selected-text { background-color: ${i}; }`);const r=e.getColor(_t.P);r&&!r.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${r}; }`)});n(242);class Xt{constructor(e,t,n,i,r,o){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=r,this.textContentClassName=o}}class Qt{constructor(e){this._context=e;const t=this._context.configuration.options,n=t.get(36);this._cursorStyle=t.get(19),this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(22),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setClassName("cursor "+De.a),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),c.a.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new ee.a(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(36);return this._cursorStyle=t.get(19),this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(22),this._typicalHalfwidthCharacterWidth),c.a.applyFontInfo(this._domNode,n),!0}onCursorPositionChanged(e){return this._position=e,!0}_prepareRender(e){let t="";if(this._cursorStyle===j.i.Line||this._cursorStyle===j.i.LineThin){const n=e.visibleRangeForPosition(this._position);if(!n||n.outsideRenderedLine)return null;let i;if(this._cursorStyle===j.i.Line){if(i=r.t(this._lineCursorWidth>0?this._lineCursorWidth:2),i>2){const e=this._context.model.getLineContent(this._position.lineNumber),n=xe.L(e,this._position.column-1);t=e.substr(this._position.column-1,n)}}else i=r.t(1);let o=n.left;i>=2&&o>=1&&(o-=1);const s=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new Xt(s,o,i,this._lineHeight,t,"")}const n=this._context.model.getLineContent(this._position.lineNumber),i=xe.L(n,this._position.column-1),o=e.linesVisibleRangesForRange(new te.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+i),!1);if(!o||0===o.length)return null;const s=o[0];if(s.outsideRenderedLine||0===s.ranges.length)return null;const a=s.ranges[0],l=a.width<1?this._typicalHalfwidthCharacterWidth:a.width;let c="";if(this._cursorStyle===j.i.Block){const e=this._context.model.getViewLineData(this._position.lineNumber);t=n.substr(this._position.column-1,i);const r=e.tokens.findTokenIndexAtOffset(this._position.column-1);c=e.tokens.getClassName(r)}let d=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,h=this._lineHeight;return this._cursorStyle!==j.i.Underline&&this._cursorStyle!==j.i.UnderlineThin||(d+=this._lineHeight-2,h=2),new Xt(d,a.left,l,h,t,c)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${De.a} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class Jt extends N{constructor(e){super(e);const t=this._context.configuration.options;this._readOnly=t.get(72),this._cursorBlinking=t.get(17),this._cursorStyle=t.get(19),this._cursorSmoothCaretAnimation=t.get(18),this._selectionIsEmpty=!0,this._isVisible=!1,this._primaryCursor=new Qt(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new b.e,this._cursorFlatBlinkInterval=new b.c,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;this._readOnly=t.get(72),this._cursorBlinking=t.get(17),this._cursorStyle=t.get(19),this._cursorSmoothCaretAnimation=t.get(18),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].onConfigurationChanged(e);return!0}_onCursorPositionChanged(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length){const e=t.length-this._secondaryCursors.length;for(let t=0;t<e;t++){const e=new Qt(this._context);this._domNode.domNode.insertBefore(e.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(e)}}else if(this._secondaryCursors.length>t.length){const e=this._secondaryCursors.length-t.length;for(let t=0;t<e;t++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let e=0;e<t.length;e++)this._secondaryCursors[e].onCursorPositionChanged(t[e])}onCursorStateChanged(e){const t=[];for(let n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));const n=e.selections[0].isEmpty();return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,this._updateDomClassName()),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onFocusChanged(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onTokensChanged(e){const t=t=>{for(let n=0,i=e.ranges.length;n<i;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(const e of this._secondaryCursors)if(t(e.getPosition()))return!0;return!1}onZonesChanged(e){return!0}_getCursorBlinking(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();const e=this._getCursorBlinking(),t=0===e,n=5===e;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),t||n||(1===e?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},Jt.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},Jt.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case j.i.Line:e+=" cursor-line-style";break;case j.i.Block:e+=" cursor-block-style";break;case j.i.Underline:e+=" cursor-underline-style";break;case j.i.LineThin:e+=" cursor-line-thin-style";break;case j.i.BlockOutline:e+=" cursor-block-outline-style";break;case j.i.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;case 5:e+=" cursor-solid";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1}prepareRender(e){this._primaryCursor.prepareRender(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)}render(e){let t=[],n=0;const i=this._primaryCursor.render(e);i&&(t[n++]=i);for(let i=0,r=this._secondaryCursors.length;i<r;i++){const r=this._secondaryCursors[i].render(e);r&&(t[n++]=r)}this._renderData=t}getLastRenderData(){return this._renderData}}Jt.BLINK_INTERVAL=500,Object(B.g)((e,t)=>{const n=e.getColor(Te.g);if(n){let i=e.getColor(Te.f);i||(i=n.opposite()),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${i}; }`),"hc"===e.type&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i}; border-right: 1px solid ${i}; }`)}});const en=()=>{throw new Error("Invalid change accessor")};class tn extends N{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,this.domNode=Object(p.b)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=Object(p.b)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const e=this._context.viewLayout.getWhitespaces(),t=new Map;for(const n of e)t.set(n.id,n);let n=!1;return this._context.model.changeWhitespace(e=>{const i=Object.keys(this._zones);for(let r=0,o=i.length;r<o;r++){const o=i[r],s=this._zones[o],a=this._computeWhitespaceProps(s.delegate),l=t.get(o);!l||l.afterLineNumber===a.afterViewLineNumber&&l.height===a.heightInPx||(e.changeOneWhitespace(o,a.afterViewLineNumber,a.heightInPx),this._safeCallOnComputedHeight(s.delegate,a.heightInPx),n=!0)}}),n}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(51)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(e){return this._recomputeWhitespacesProps()}onLinesDeleted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}onLinesInserted(e){return!0}_getZoneOrdinal(e){return void 0!==e.afterColumn?e.afterColumn:1e4}_computeWhitespaceProps(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};let t,n;if(void 0!==e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{const n=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new ee.a(n,this._context.model.getModelLineMaxColumn(n))}n=t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?this._context.model.validateModelPosition({lineNumber:t.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:t.lineNumber,column:t.column+1});const i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),r=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:i.lineNumber,heightInPx:r?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}}changeViewZones(e){let t=!1;return this._context.model.changeWhitespace(n=>{const i={addZone:e=>(t=!0,this._addZone(n,e)),removeZone:e=>{e&&(t=this._removeZone(n,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(n,e)||t)}};!function(e,t){try{e(t)}catch(e){Object(o.e)(e)}}(e,i),i.addZone=en,i.removeZone=en,i.layoutZone=en}),t}_addZone(e,t){const n=this._computeWhitespaceProps(t),i={whitespaceId:e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),delegate:t,isVisible:!1,domNode:Object(p.b)(t.domNode),marginDomNode:t.marginDomNode?Object(p.b)(t.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,n.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId]=i,this.setShouldRender(),i.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){const t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(o.e)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(o.e)(e)}}prepareRender(e){}render(e){const t=e.viewportData.whitespaceViewportData,n={};let i=!1;for(let e=0,r=t.length;e<r;e++)n[t[e].id]=t[e],i=!0;const r=Object.keys(this._zones);for(let t=0,i=r.length;t<i;t++){const i=r[t],o=this._zones[i];let s=0,a=0,l="none";n.hasOwnProperty(i)?(s=n[i].verticalOffset-e.bigNumbersDelta,a=n[i].height,l="block",o.isVisible||(o.domNode.setAttribute("monaco-visible-view-zone","true"),o.isVisible=!0),this._safeCallOnDomNodeTop(o.delegate,e.getScrolledTopFromAbsoluteTop(n[i].verticalOffset))):(o.isVisible&&(o.domNode.removeAttribute("monaco-visible-view-zone"),o.isVisible=!1),this._safeCallOnDomNodeTop(o.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),o.domNode.setTop(s),o.domNode.setHeight(a),o.domNode.setDisplay(l),o.marginDomNode&&(o.marginDomNode.setTop(s),o.marginDomNode.setHeight(a),o.marginDomNode.setDisplay(l))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}class nn{constructor(e){this._theme=e}get type(){return this._theme.type}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class rn{constructor(e,t,n){this.configuration=e,this.theme=new nn(t),this.model=n,this.viewLayout=n.viewLayout}addEventHandler(e){this.model.addViewEventHandler(e)}removeEventHandler(e){this.model.removeViewEventHandler(e)}}class on{constructor(e,t,n,i){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new te.a(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class sn extends L{constructor(e,t,n,i,r,o){super(),this._selections=[new u.a(1,1,1,1)],this._renderAnimationFrame=null;const s=new Pe(t,i,r,e);this._context=new rn(t,n.getColorTheme(),i),this._context.addEventHandler(this),this._register(n.onDidColorThemeChange(e=>{this._context.theme.update(e),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new Re(this._context,s,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=Object(p.b)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=Object(p.b)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=Object(p.b)(document.createElement("div")),I.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new it(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new ht(this._context,this._linesContent),this._viewZones=new tn(this._context),this._viewParts.push(this._viewZones);const a=new zt(this._context);this._viewParts.push(a);const l=new Ut(this._context);this._viewParts.push(l);const c=new qe(this._context);this._viewParts.push(c),c.addDynamicOverlay(new Je(this._context)),c.addDynamicOverlay(new Yt(this._context)),c.addDynamicOverlay(new at(this._context)),c.addDynamicOverlay(new tt(this._context));const d=new $e(this._context);this._viewParts.push(d),d.addDynamicOverlay(new et(this._context)),d.addDynamicOverlay(new st(this._context)),d.addDynamicOverlay(new pt(this._context)),d.addDynamicOverlay(new ut(this._context)),d.addDynamicOverlay(new Le(this._context));const h=new Ne(this._context);h.getDomNode().appendChild(this._viewZones.marginDomNode),h.getDomNode().appendChild(d.getDomNode()),this._viewParts.push(h),this._contentWidgets=new Ge(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new Jt(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new Pt(this._context),this._viewParts.push(this._overlayWidgets);const m=new Vt(this._context);this._viewParts.push(m);const g=new Rt(this._context);if(this._viewParts.push(g),a){const e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(a.getDomNode(),e.insertBefore)}this._linesContent.appendChild(c.getDomNode()),this._linesContent.appendChild(m.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(h.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(l.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(g.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),o?o.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new Ce(this._context,s,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},getLastRenderData:()=>{const e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new ie(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ee.a(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ee.a(e,t)))}}_applyLayout(){const e=this._context.configuration.options.get(117);this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this._overflowGuardContainer.setWidth(e.width),this._overflowGuardContainer.setHeight(e.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(114)+" "+Object(B.f)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(let e=0,t=this._viewParts.length;e<t;e++)this._viewParts[e].dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=r.W(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){!function(e){try{e()}catch(e){Object(o.e)(e)}}(()=>this._actualRender())}_getViewPartsToRender(){let e=[],t=0;for(let n=0,i=this._viewParts.length;n<i;n++){const i=this._viewParts[n];i.shouldRender()&&(e[t++]=i)}return e}_actualRender(){if(!r.N(this.domNode.domNode))return;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return;const t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);const n=new on(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(n),this._viewLines.shouldRender()&&(this._viewLines.renderText(n),this._viewLines.onDidRender(),e=this._getViewPartsToRender());const i=new D(this._context.viewLayout,n,this._viewLines);for(let t=0,n=e.length;t<n;t++){e[t].prepareRender(i)}for(let t=0,n=e.length;t<n;t++){const n=e[t];n.render(i),n.onDidRender()}}delegateVerticalScrollbarMouseDown(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)}restoreState(e){this._context.model.setScrollPosition({scrollTop:e.scrollTop},1),this._context.model.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.model.setScrollPosition({scrollLeft:e.scrollLeft},1)}getOffsetForColumn(e,t){const n=this._context.model.validateModelPosition({lineNumber:e,column:t}),i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();const r=this._viewLines.visibleRangeForPosition(new ee.a(i.lineNumber,i.column));return r?r.left:-1}getTargetAtClientPoint(e,t){const n=this._pointerHandler.getTargetAtClientPoint(e,t);return n?Fe.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null}createOverviewRuler(e){return new jt(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t){this._viewLines.forceShouldRender();for(let e=0,t=this._viewParts.length;e<t;e++){this._viewParts[e].forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){let t=e.position&&e.position.range||null;if(null===t){const n=e.position?e.position.position:null;null!==n&&(t=new te.a(n.lineNumber,n.column,n.lineNumber,n.column))}const n=e.position?e.position.preference:null;this._contentWidgets.setWidgetPosition(e.widget,t,n),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){const t=e.position?e.position.preference:null;this._overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}}class an{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new ne.f(new te.a(1,1,1,1),0,new ee.a(1,1),0),new ne.f(new te.a(1,1,1,1),0,new ee.a(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new ne.d(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new u.a(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new u.a(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,n){this._setState(e,t,n)}_setState(e,t,n){if(t){const n=e.model.validateRange(t.selectionStart),i=t.selectionStart.equalsRange(n)?t.selectionStartLeftoverVisibleColumns:0,r=e.model.validatePosition(t.position),o=t.position.equals(r)?t.leftoverVisibleColumns:0;t=new ne.f(n,i,r,o)}else{if(!n)return;const i=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)),r=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));t=new ne.f(i,n.selectionStartLeftoverVisibleColumns,r,n.leftoverVisibleColumns)}if(n){const i=e.coordinatesConverter.validateViewRange(n.selectionStart,t.selectionStart),r=e.coordinatesConverter.validateViewPosition(n.position,t.position);n=new ne.f(i,t.selectionStartLeftoverVisibleColumns,r,t.leftoverVisibleColumns)}else{const i=e.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),r=e.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),o=new te.a(i.lineNumber,i.column,r.lineNumber,r.column),s=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);n=new ne.f(o,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)}}class ln{constructor(e){this.context=e,this.primaryCursor=new an(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}dispose(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()}startTrackingSelections(){this.primaryCursor.startTrackingSelection(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].startTrackingSelection(this.context)}stopTrackingSelections(){this.primaryCursor.stopTrackingSelection(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){this.primaryCursor.ensureValidState(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].ensureValidState(this.context)}readSelectionFromMarkers(){let e=[];e[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].readSelectionFromMarkers(this.context);return e}getAll(){let e=[];e[0]=this.primaryCursor.asCursorState();for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].asCursorState();return e}getViewPositions(){let e=[];e[0]=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.position;return e}getTopMostViewPosition(){let e=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++){const n=this.secondaryCursors[t].viewState.position;n.isBefore(e)&&(e=n)}return e}getBottomMostViewPosition(){let e=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++){const n=this.secondaryCursors[t].viewState.position;e.isBeforeOrEqual(n)&&(e=n)}return e}getSelections(){let e=[];e[0]=this.primaryCursor.modelState.selection;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].modelState.selection;return e}getViewSelections(){let e=[];e[0]=this.primaryCursor.viewState.selection;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.selection;return e}setSelections(e){this.setStates(ne.d.fromModelSelections(e))}getPrimaryCursor(){return this.primaryCursor.asCursorState()}setStates(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){const t=this.secondaryCursors.length,n=e.length;if(t<n){let e=n-t;for(let t=0;t<e;t++)this._addSecondaryCursor()}else if(t>n){let e=t-n;for(let t=0;t<e;t++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(let t=0;t<n;t++)this.secondaryCursors[t].setState(this.context,e[t].modelState,e[t].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.secondaryCursors.push(new an(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length}getLastAddedCursorIndex(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex}_removeSecondaryCursor(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)}_getAll(){let e=[];e[0]=this.primaryCursor;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t];return e}normalize(){if(0===this.secondaryCursors.length)return;let e=this._getAll(),t=[];for(let n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((e,t)=>e.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber);for(let n=0;n<t.length-1;n++){const i=t[n],r=t[n+1],o=i.selection,s=r.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let a;if(a=s.isEmpty()||o.isEmpty()?s.getStartPosition().isBeforeOrEqual(o.getEndPosition()):s.getStartPosition().isBefore(o.getEndPosition()),a){const o=i.index<r.index?n:n+1,s=i.index<r.index?n+1:n,a=t[s].index,l=t[o].index,c=t[s].selection,d=t[o].selection;if(!c.equalsSelection(d)){const n=c.plusRange(d),i=c.selectionStartLineNumber===c.startLineNumber&&c.selectionStartColumn===c.startColumn,r=d.selectionStartLineNumber===d.startLineNumber&&d.selectionStartColumn===d.startColumn;let s,h;a===this.lastAddedCursorIndex?(s=i,this.lastAddedCursorIndex=l):s=r,h=s?new u.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new u.a(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn),t[o].selection=h;const p=ne.d.fromModelSelection(h);e[l].setState(this.context,p.modelState,p.viewState)}for(const e of t)e.index>a&&e.index--;e.splice(a,1),t.splice(s,1),this._removeSecondaryCursor(a-1),n--}}}}var cn=n(181),dn=n(126);class hn{constructor(e){this.type=0,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class un{constructor(e,t){this.type=1,this.selections=e,this.modelSelections=t}}class pn{constructor(e){this.type=2,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class mn{constructor(){this.type=3}}class gn{constructor(e){this.type=4,this.isFocused=e}}class fn{constructor(){this.type=5}}class bn{constructor(){this.type=6}}class _n{constructor(e,t){this.type=7,this.fromLineNumber=e,this.toLineNumber=t}}class vn{constructor(e,t){this.type=8,this.fromLineNumber=e,this.toLineNumber=t}}class wn{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class yn{constructor(e,t,n,i,r,o){this.type=10,this.source=e,this.range=t,this.selections=n,this.verticalType=i,this.revealHorizontal=r,this.scrollType=o}}class Cn{constructor(e){this.type=11,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class xn{constructor(){this.type=12}}class Sn{constructor(e){this.type=13,this.ranges=e}}class kn{constructor(){this.type=14}}class En{constructor(){this.type=15}}class Tn extends a.a{constructor(){super(),this._onEvent=this._register(new s.a),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOugoingEvents()}_addOutgoingEvent(e){for(let t=0,n=this._outgoingEvents.length;t<n;t++)if(this._outgoingEvents[t].kind===e.kind)return void(this._outgoingEvents[t]=this._outgoingEvents[t].merge(e));this._outgoingEvents.push(e)}_emitOugoingEvents(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;const e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)}removeViewEventHandler(e){for(let t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}}beginEmitViewEvents(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new Ln),this._collector}endEmitViewEvents(){if(this._collectorCnt--,0===this._collectorCnt){const e=this._collector.outgoingEvents,t=this._collector.viewEvents;this._collector=null;for(const t of e)this._addOutgoingEvent(t);t.length>0&&this._emitMany(t)}this._emitOugoingEvents()}emitSingleViewEvent(e){try{this.beginEmitViewEvents().emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const e=this._viewEventQueue;this._viewEventQueue=null;const t=this._eventHandlers.slice(0);for(const n of t)n.handleEvents(e)}}}class Ln{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class Nn{constructor(e,t,n,i){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=n,this.contentHeight=i,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(e){return 0!==e.kind?this:new Nn(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class In{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(e){return 1!==e.kind?this:new In(this.oldHasFocus,e.hasFocus)}}class Dn{constructor(e,t,n,i,r,o,s,a){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=n,this._oldScrollTop=i,this.scrollWidth=r,this.scrollLeft=o,this.scrollHeight=s,this.scrollTop=a,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!(this.scrollWidthChanged||this.scrollLeftChanged||this.scrollHeightChanged||this.scrollTopChanged)}merge(e){return 2!==e.kind?this:new Dn(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class On{constructor(){this.kind=3}isNoOp(){return!1}merge(e){return this}}class An{constructor(e,t,n,i,r,o,s){this.kind=5,this.oldSelections=e,this.selections=t,this.oldModelVersionId=n,this.modelVersionId=i,this.source=r,this.reason=o,this.reachedMaxCursorCount=s}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(!e[i].equalsSelection(t[i]))return!1;return!0}isNoOp(){return An._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(e){return 5!==e.kind?this:new An(this.oldSelections,e.selections,this.oldModelVersionId,e.modelVersionId,e.source,e.reason,this.reachedMaxCursorCount||e.reachedMaxCursorCount)}}class Rn{constructor(){this.kind=4}isNoOp(){return!1}merge(e){return this}}class Mn{constructor(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getCursorStates()}equals(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class Pn{constructor(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}static getAllAutoClosedCharacters(e){let t=[];for(const n of e)t=t.concat(n.getAutoClosedCharactersRanges());return t}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){let e=[];for(let t=0;t<this._autoClosedCharactersDecorations.length;t++){const n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e}isValid(e){let t=[];for(let e=0;e<this._autoClosedEnclosingDecorations.length;e++){const n=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[e]);if(n&&(t.push(n),n.startLineNumber!==n.endLineNumber))return!1}t.sort(te.a.compareRangesUsingStarts),e.sort(te.a.compareRangesUsingStarts);for(let n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}class Fn extends a.a{constructor(e,t,n,i){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=n,this.context=new ne.c(this._model,this._coordinatesConverter,i),this._cursors=new ln(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=Object(a.f)(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new ne.c(this._model,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){let e=this._cursors.getSelections();for(let t=0;t<this._autoClosedActions.length;t++){const n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(e,t,n,i){let r=!1;null!==i&&i.length>Fn.MAX_CURSOR_COUNT&&(i=i.slice(0,Fn.MAX_CURSOR_COUNT),r=!0);const o=new Mn(this._model,this);return this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,n,o,r)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,n,i){const r=this._cursors.getViewPositions();if(r.length>1)this._emitCursorRevealRange(e,t,null,this._cursors.getViewSelections(),0,n,i);else{const o=r[0],s=new te.a(o.lineNumber,o.column,o.lineNumber,o.column);this._emitCursorRevealRange(e,t,s,null,0,n,i)}}_revealPrimaryCursor(e,t,n,i,r){const o=this._cursors.getViewPositions();if(o.length>1)this._emitCursorRevealRange(e,t,null,this._cursors.getViewSelections(),n,i,r);else{const s=o[0],a=new te.a(s.lineNumber,s.column,s.lineNumber,s.column);this._emitCursorRevealRange(e,t,a,null,n,i,r)}}_emitCursorRevealRange(e,t,n,i,r,o,s){e.emitViewEvent(new yn(t,n,i,r,o,s))}saveState(){let e=[];const t=this._cursors.getSelections();for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push({inSelectionMode:!i.isEmpty(),selectionStart:{lineNumber:i.selectionStartLineNumber,column:i.selectionStartColumn},position:{lineNumber:i.positionLineNumber,column:i.positionColumn}})}return e}restoreState(e,t){let n=[];for(let e=0,i=t.length;e<i;e++){const i=t[e];let r=1,o=1;i.position&&i.position.lineNumber&&(r=i.position.lineNumber),i.position&&i.position.column&&(o=i.position.column);let s=r,a=o;i.selectionStart&&i.selectionStart.lineNumber&&(s=i.selectionStart.lineNumber),i.selectionStart&&i.selectionStart.column&&(a=i.selectionStart.column),n.push({selectionStartLineNumber:s,selectionStartColumn:a,positionLineNumber:r,positionColumn:o})}this.setStates(e,"restoreState",0,ne.d.fromModelSelections(n)),this.revealPrimary(e,"restoreState",!0,1)}onModelContentChanged(e,t){if(this._knownModelVersionId=t.versionId,this._isHandling)return;const n=t.containsEvent(1);if(this._prevEditOperationType=0,n)this._cursors.dispose(),this._cursors=new ln(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,"model",1,null,!1);else if(this._hasFocus&&t.resultingSelection&&t.resultingSelection.length>0){const n=ne.d.fromModelSelections(t.resultingSelection);this.setStates(e,"modelChange",t.isUndoing?5:t.isRedoing?6:2,n)&&this._revealPrimaryCursor(e,"modelChange",0,!0,0)}else{const t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,ne.d.fromModelSelections(t))}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),n=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:ne.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,t),toViewLineNumber:n.lineNumber,toViewVisualColumn:ne.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,n)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,n){this.setStates(e,t,0,ne.d.fromModelSelections(n))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let n=[],i=[];for(let r=0,o=e.length;r<o;r++)n.push({range:e[r],options:{inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[r],options:{stickiness:1}});const r=this._model.deltaDecorations([],n),o=this._model.deltaDecorations([],i);this._autoClosedActions.push(new Pn(this._model,r,o))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=class{static executeCommands(e,t,n){const i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},r=this._innerExecuteCommands(i,n);for(let e=0,t=i.trackedRanges.length;e<t;e++)i.model._setTrackedRange(i.trackedRanges[e],null,0);return r}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const n=this._getEditOperations(e,t);if(0===n.operations.length)return null;const i=n.operations,r=this._getLoserCursorMap(i);if(r.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;let o=[];for(let e=0,t=i.length;e<t;e++)r.hasOwnProperty(i[e].identifier.major.toString())||o.push(i[e]);n.hadTrackedEditOperation&&o.length>0&&(o[0]._isTracked=!0);let s=e.model.pushEditOperations(e.selectionsBefore,o,n=>{let i=[];for(let t=0;t<e.selectionsBefore.length;t++)i[t]=[];for(const e of n)e.identifier&&i[e.identifier.major].push(e);const r=(e,t)=>e.identifier.minor-t.identifier.minor;let o=[];for(let n=0;n<e.selectionsBefore.length;n++)i[n].length>0?(i[n].sort(r),o[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:()=>i[n],getTrackedSelection:t=>{const n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new u.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new u.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):o[n]=e.selectionsBefore[n];return o});s||(s=e.selectionsBefore);let a=[];for(let e in r)r.hasOwnProperty(e)&&a.push(parseInt(e,10));a.sort((e,t)=>t-e);for(const e of a)s.splice(e,1);return s}static _arrayIsEmpty(e){for(let t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let n=[],i=!1;for(let r=0,o=t.length;r<o;r++){const o=t[r];if(o){const t=this._getEditOperationsFromCommand(e,r,o);n=n.concat(t.operations),i=i||t.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}}static _getEditOperationsFromCommand(e,t,n){let i=[],r=0;const s=(e,o,s=!1)=>{te.a.isEmpty(e)&&""===o||i.push({identifier:{major:t,minor:r++},range:e,text:o,forceMoveMarkers:s,isAutoWhitespaceEdit:n.insertsAutoWhitespace})};let a=!1;const l={addEditOperation:s,addTrackedEditOperation:(e,t,n)=>{a=!0,s(e,t,n)},trackSelection:(t,n)=>{const i=u.a.liftSelection(t);let r;if(i.isEmpty())if("boolean"==typeof n)r=n?2:3;else{const t=e.model.getLineMaxColumn(i.startLineNumber);r=i.startColumn===t?2:3}else r=1;const o=e.trackedRanges.length,s=e.model._setTrackedRange(null,i,r);return e.trackedRanges[o]=s,e.trackedRangesDirection[o]=i.getDirection(),o.toString()}};try{n.getEditOperations(e.model,l)}catch(e){return Object(o.e)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:a}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-te.a.compareRangesUsingEnds(e.range,t.range));let t={};for(let n=1;n<e.length;n++){const i=e[n-1],r=e[n];if(te.a.getStartPosition(i.range).isBefore(te.a.getEndPosition(r.range))){let o;o=i.identifier.major>r.identifier.major?i.identifier.major:r.identifier.major,t[o.toString()]=!0;for(let t=0;t<e.length;t++)e[t].identifier.major===o&&(e.splice(t,1),t<n&&n--,t--);n>0&&n--}}return t}}.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);let n=[],i=[];for(let t=0;t<e.commands.length;t++){const r=e.commands[t];r instanceof dn.b&&r.enclosingRange&&r.closeCharacterRange&&(n.push(r.closeCharacterRange),i.push(r.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,n,i,r){const o=new Mn(this._model,this);if(o.equals(i))return!1;const s=this._cursors.getSelections(),a=this._cursors.getViewSelections();if(e.emitViewEvent(new un(a,s)),!i||i.cursorState.length!==o.cursorState.length||o.cursorState.some((e,t)=>!e.modelState.equals(i.cursorState[t].modelState))){const a=i?i.cursorState.map(e=>e.modelState.selection):null,l=i?i.modelVersionId:0;e.emitOutgoingEvent(new An(a,s,l,o.modelVersionId,t||"keyboard",n,r))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.text||i.text.indexOf("\n")>=0)return null;const r=i.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!r)return null;const o=r[1],s=this.context.cursorConfig.autoClosingPairsClose2.get(o);if(!s||1!==s.length)return null;const a=s[0].open,l=i.text.length-r[2].length-1,c=i.text.lastIndexOf(a,l-1);if(-1===c)return null;t.push([c,l])}return t}executeEdits(e,t,n,i){let r=null;"snippet"===t&&(r=this._findAutoClosingPairs(n)),r&&(n[0]._isTracked=!0);let o=[],s=[];const a=this._model.pushEditOperations(this.getSelections(),n,e=>{if(r)for(let t=0,n=r.length;t<n;t++){const[n,i]=r[t],a=e[t],l=a.range.startLineNumber,c=a.range.startColumn-1+n,d=a.range.startColumn-1+i;o.push(new te.a(l,d+1,l,d+2)),s.push(new te.a(l,c+1,l,d+2))}const t=i(e);return t&&(this._isHandling=!0),t});a&&(this._isHandling=!1,this.setSelections(e,t,a)),o.length>0&&this._pushAutoClosedAction(o,s)}_executeEdit(e,t,n,i=0){if(this.context.cursorConfig.readOnly)return;const r=new Mn(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){Object(o.e)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,n,i,r,!1)&&this._revealPrimaryCursor(t,n,0,!0,0)}setIsDoingComposition(e){this._isDoingComposition=e}startComposition(e){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(e,t){this._executeEdit(()=>{if("keyboard"===t){const e=Pn.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(dn.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),e)),this._selectionsWhenCompositionStarted=null}},e,t)}type(e,t,n){this._executeEdit(()=>{if("keyboard"===n){const e=t.length;let n=0;for(;n<e;){const e=xe.L(t,n),i=t.substr(n,e),r=Pn.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(dn.a.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),r,i)),n+=e}}else this._executeEditOperation(dn.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))},e,n)}replacePreviousChar(e,t,n,i){this._executeEdit(()=>{this._executeEditOperation(dn.a.replacePreviousChar(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,n))},e,i)}paste(e,t,n,i,r){this._executeEdit(()=>{this._executeEditOperation(dn.a.paste(this.context.cursorConfig,this._model,this.getSelections(),t,n,i||[]))},e,r,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(cn.a.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,n){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new ne.e(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}executeCommands(e,t,n){this._executeEdit(()=>{this._executeEditOperation(new ne.e(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}}Fn.MAX_CURSOR_COUNT=1e4;var Wn=n(191),zn=n(143),Bn=n(7),jn=n(182),Vn=n(170);class Un{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(e){this._hasPending=!0,this._inserts.push(e)}change(e){this._hasPending=!0,this._changes.push(e)}remove(e){this._hasPending=!0,this._removes.push(e)}mustCommit(){return this._hasPending}commit(e){if(!this._hasPending)return;const t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}}class Hn{constructor(e,t,n,i,r){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=r,this.prefixSum=0}}class qn{constructor(e,t,n,i){this._instanceId=xe.R(++qn.INSTANCE_COUNT),this._pendingChanges=new Un,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=e,this._lineHeight=t,this._paddingTop=n,this._paddingBottom=i}static findInsertionIndex(e,t,n){let i=0,r=e.length;for(;i<r;){const o=i+r>>>1;t===e[o].afterLineNumber?n<e[o].ordinal?r=o:i=o+1:t<e[o].afterLineNumber?r=o:i=o+1}return i}setLineHeight(e){this._checkPendingChanges(),this._lineHeight=e}setPadding(e,t){this._paddingTop=e,this._paddingBottom=t}onFlushed(e){this._checkPendingChanges(),this._lineCount=e}changeWhitespace(e){let t=!1;try{e({insertWhitespace:(e,n,i,r)=>{t=!0,e|=0,n|=0,i|=0,r|=0;const o=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Hn(o,e,n,i,r)),o},changeOneWhitespace:(e,n,i)=>{t=!0,n|=0,i|=0,this._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:i})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(const t of e)this._insertWhitespace(t);for(const e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(const e of n){const t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}const i=new Set;for(const e of n)i.add(e.id);const r=new Map;for(const e of t)r.set(e.id,e);const o=e=>{let t=[];for(const n of e)if(!i.has(n.id)){if(r.has(n.id)){const e=r.get(n.id);n.afterLineNumber=e.newAfterLineNumber,n.height=e.newHeight}t.push(n)}return t},s=o(this._arr).concat(o(e));s.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=s,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){const t=qn.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){const t=this._arr;for(let n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1}_changeOneWhitespace(e,t,n){const i=this._findWhitespaceIndex(e);if(-1!==i&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){const e=this._arr[i];this._removeWhitespace(i),e.afterLineNumber=t,this._insertWhitespace(e)}}_removeWhitespace(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)}onLinesDeleted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){const i=this._arr[n].afterLineNumber;e<=i&&i<=t?this._arr[n].afterLineNumber=e-1:i>t&&(this._arr[n].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){e<=this._arr[n].afterLineNumber&&(this._arr[n].afterLineNumber+=t-e+1)}}getWhitespacesTotalHeight(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(e){this._checkPendingChanges(),e|=0;let t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(let n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum}getLinesTotalHeight(){this._checkPendingChanges();return this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(e){this._checkPendingChanges(),e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)}_findLastWhitespaceBeforeLineNumber(e){e|=0;const t=this._arr;let n=0,i=t.length-1;for(;n<=i;){const r=n+((i-n|0)/2|0)|0;if(t[r].afterLineNumber<e){if(r+1>=t.length||t[r+1].afterLineNumber>=e)return r;n=r+1|0}else i=r-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t<this._arr.length?t:-1}getFirstWhitespaceIndexAfterLineNumber(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)}getVerticalOffsetForLineNumber(e){let t;this._checkPendingChanges(),t=(e|=0)>1?this._lineHeight*(e-1):0;return t+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth}isAfterLines(e){this._checkPendingChanges();return e>this.getLinesTotalHeight()}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;const t=0|this._lineCount,n=this._lineHeight;let i=1,r=t;for(;i<r;){const t=(i+r)/2|0,o=0|this.getVerticalOffsetForLineNumber(t);if(e>=o+n)i=t+1;else{if(e>=o)return t;r=t}}return i>t?t:i}getLinesViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this._lineHeight,i=0|this.getLineNumberAtOrAfterVerticalOffset(e),r=0|this.getVerticalOffsetForLineNumber(i);let o=0|this._lineCount,s=0|this.getFirstWhitespaceIndexAfterLineNumber(i);const a=0|this.getWhitespacesCount();let l,c;-1===s?(s=a,c=o+1,l=0):(c=0|this.getAfterLineNumberForWhitespaceIndex(s),l=0|this.getHeightForWhitespaceIndex(s));let d=r,h=d;let u=0;r>=5e5&&(u=5e5*Math.floor(r/5e5),u=Math.floor(u/n)*n,h-=u);const p=[],m=e+(t-e)/2;let g=-1;for(let e=i;e<=o;e++){if(-1===g){const t=d,i=d+n;(t<=m&&m<i||t>m)&&(g=e)}for(d+=n,p[e-i]=h,h+=n;c===e;)h+=l,d+=l,s++,s>=a?c=o+1:(c=0|this.getAfterLineNumberForWhitespaceIndex(s),l=0|this.getHeightForWhitespaceIndex(s));if(d>=t){o=e;break}}-1===g&&(g=o);const f=0|this.getVerticalOffsetForLineNumber(o);let b=i,_=o;return b<_&&r<e&&b++,b<_&&f+n>t&&_--,{bigNumbersDelta:u,startLineNumber:i,endLineNumber:o,relativeVerticalOffset:p,centeredLineNumber:g,completelyVisibleStartLineNumber:b,completelyVisibleEndLineNumber:_}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;const t=this.getAfterLineNumberForWhitespaceIndex(e);let n,i;return n=t>=1?this._lineHeight*t:0,i=e>0?this.getWhitespacesAccumulatedHeight(e-1):0,n+i+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t<n;){const i=Math.floor((t+n)/2),r=this.getVerticalOffsetForWhitespaceIndex(i);if(e>=r+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=r)return i;n=i}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;const t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;const n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;const i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];let r=[];for(let e=n;e<=i;e++){const n=this.getVerticalOffsetForWhitespaceIndex(e),i=this.getHeightForWhitespaceIndex(e);if(n>=t)break;r.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:n,height:i})}return r}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}qn.INSTANCE_COUNT=0;class $n{constructor(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class Kn extends a.a{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new s.a),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new $n(0,0,0,0),this._scrollable=this._register(new Vn.a(e,t)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;const t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);const n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire(new Nn(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class Gn extends a.a{constructor(e,t,n){super(),this._configuration=e;const i=this._configuration.options,r=i.get(117),o=i.get(66);this._linesLayout=new qn(t,i.get(51),o.top,o.bottom),this._scrollable=this._register(new Kn(0,n)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new $n(r.contentWidth,0,r.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(94)?125:0)}onConfigurationChanged(e){const t=this._configuration.options;if(e.hasChanged(51)&&this._linesLayout.setLineHeight(t.get(51)),e.hasChanged(66)){const e=t.get(66);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(117)){const e=t.get(117),n=e.contentWidth,i=e.height,r=this._scrollable.getScrollDimensions(),o=r.contentWidth;this._scrollable.setScrollDimensions(new $n(n,r.contentWidth,i,this._getContentHeight(n,i,o)))}else this._updateHeight();e.hasChanged(94)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const n=this._configuration.options.get(84);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,n){const i=this._configuration.options;let r=this._linesLayout.getLinesTotalHeight();return i.get(86)?r+=t-i.get(51):r+=this._getHorizontalScrollbarHeight(e,n),r}_updateHeight(){const e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.contentWidth;this._scrollable.setScrollDimensions(new $n(t,e.contentWidth,n,this._getContentHeight(t,n,i)))}getCurrentViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new bt.f(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new bt.f(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options,n=t.get(118),i=t.get(36);if(n.isViewportWrapping){const n=t.get(117),r=t.get(56);return e>n.contentWidth+i.typicalHalfwidthCharacterWidth&&r.enabled&&"right"===r.side?e+n.verticalScrollbarWidth:e}{const n=t.get(85)*i.typicalHalfwidthCharacterWidth,r=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,r)}}setMaxLineWidth(e){const t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new $n(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){const e=this._scrollable.getFutureScrollPosition();let t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}}changeWhitespace(e){const t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){const t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){const n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})}}var Yn=n(30),Zn=n(101);class Xn{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}}class Qn{constructor(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}static getInputOffsetOfOutputPosition(e,t,n){return 0===t?n:e[t-1]+n}static getOutputPositionOfInputOffset(e,t){let n=0,i=e.length-1,r=0,o=0;for(;n<=i;){r=n+(i-n)/2|0;const s=e[r];if(o=r>0?e[r-1]:0,t<o)i=r-1;else{if(!(t>=s))break;n=r+1}}return new Xn(r,t-o)}}class Jn{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)}convertModelRangeToViewRange(e){return this._lines.convertModelRangeToViewRange(e)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}}class ei{constructor(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._counts.length;e<t;e++){const t=this._counts[e],n=e>0?this._modelToView[e-1]:0;this._modelToView[e]=n+t;for(let i=0;i<t;i++)this._viewToModel[n+i]=e}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}}changeValue(e,t){this._counts[e]!==t&&(this._counts[e]=t,this._invalidate(e))}removeValues(e,t){this._counts.splice(e,t),this._invalidate(e)}insertValues(e,t){this._counts=Ze.a(this._counts,e,t),this._invalidate(e)}getTotalValue(){return this._ensureValid(),this._viewToModel.length}getAccumulatedValue(e){return this._ensureValid(),this._modelToView[e]}getIndexOf(e){this._ensureValid();const t=this._viewToModel[e],n=t>0?this._modelToView[t-1]:0;return new Zn.b(t,e-n)}}class ti{constructor(e,t,n,i,r,o,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=r,this.wrappingStrategy=o,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}dispose(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])}createCoordinatesConverter(){return new Jn(this)}_constructLines(e,t){this.lines=[],e&&(this.hiddenAreasIds=[]);let n=this.model.getLinesContent();const i=n.length,r=this.createLineBreaksComputer();for(let e=0;e<i;e++)r.addRequest(n[e],t?t[e]:null);const o=r.finalize();let s=[],a=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(te.a.compareRangesUsingStarts),l=1,c=0,d=-1,h=d+1<a.length?c+1:i+2;for(let e=0;e<i;e++){let t=e+1;t===h&&(d++,l=a[d].startLineNumber,c=a[d].endLineNumber,h=d+1<a.length?c+1:i+2);let n=t>=l&&t<=c,r=li(o[e],!n);s[e]=r.getViewLineCount(),this.lines[e]=r}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new ei(s)}getHiddenAreas(){return this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e))}_reduceRanges(e){if(0===e.length)return[];let t=e.map(e=>this.model.validateRange(e)).sort(te.a.compareRangesUsingStarts),n=[],i=t[0].startLineNumber,r=t[0].endLineNumber;for(let e=1,o=t.length;e<o;e++){let o=t[e];o.startLineNumber>r+1?(n.push(new te.a(i,1,r,1)),i=o.startLineNumber,r=o.endLineNumber):o.endLineNumber>r&&(r=o.endLineNumber)}return n.push(new te.a(i,1,r,1)),n}setHiddenAreas(e){let t=this._reduceRanges(e),n=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(te.a.compareRangesUsingStarts);if(t.length===n.length){let e=!1;for(let i=0;i<t.length;i++)if(!t[i].equalsRange(n[i])){e=!0;break}if(!e)return!1}let i=[];for(const e of t)i.push({range:e,options:Yn.a.EMPTY});this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,i);let r=t,o=1,s=0,a=-1,l=a+1<r.length?s+1:this.lines.length+2,c=!1;for(let e=0;e<this.lines.length;e++){let t=e+1;t===l&&(a++,o=r[a].startLineNumber,s=r[a].endLineNumber,l=a+1<r.length?s+1:this.lines.length+2);let n=!1;if(t>=o&&t<=s?this.lines[e].isVisible()&&(this.lines[e]=this.lines[e].setVisible(!1),n=!0):(c=!0,this.lines[e].isVisible()||(this.lines[e]=this.lines[e].setVisible(!0),n=!0)),n){let t=this.lines[e].getViewLineCount();this.prefixSumComputer.changeValue(e,t)}}return c||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,n,i){const r=this.fontInfo.equals(e),o=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(r&&o&&s&&a)return!1;const l=r&&o&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;let c=null;if(l){c=[];for(let e=0,t=this.lines.length;e<t;e++)c[e]=this.lines[e].getLineBreakData()}return this._constructLines(!1,c),!0}createLineBreaksComputer(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,n){if(e<=this._validModelVersionId)return null;let i=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,r=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new vn(i,r)}onModelLinesInserted(e,t,n,i){if(e<=this._validModelVersionId)return null;let r=this.getHiddenAreas(),o=!1,s=new ee.a(t,1);for(const e of r)if(e.containsPosition(s)){o=!0;break}let a=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,l=0,c=[],d=[];for(let e=0,t=i.length;e<t;e++){let t=li(i[e],!o);c.push(t);let n=t.getViewLineCount();l+=n,d[e]=n}return this.lines=this.lines.slice(0,t-1).concat(c).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,d),new wn(a,a+l-1)}onModelLineChanged(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];let i=t-1,r=this.lines[i].getViewLineCount(),o=li(n,this.lines[i].isVisible());this.lines[i]=o;let s=this.lines[i].getViewLineCount(),a=!1,l=0,c=-1,d=0,h=-1,u=0,p=-1;r>s?(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=l+s-1,u=c+1,p=u+(r-s)-1,a=!0):r<s?(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=l+r-1,d=c+1,h=d+(s-r)-1,a=!0):(l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=l+s-1),this.prefixSumComputer.changeValue(i,s);return[a,l<=c?new _n(l,c):null,d<=h?new wn(d,h):null,u<=p?new vn(u,p):null]}acceptVersionId(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])}getViewLineCount(){return this.prefixSumComputer.getTotalValue()}_toValidViewLineNumber(e){if(e<1)return 1;const t=this.getViewLineCount();return e>t?t:0|e}getActiveIndentGuide(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);const i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),r=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),o=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,r.lineNumber,o.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),l=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:l.lineNumber,indent:s.indent}}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t));let r=[],o=[],s=[];const a=n.lineNumber-1,l=i.lineNumber-1;let c=null;for(let e=a;e<=l;e++){const t=this.lines[e];if(t.isVisible()){let i=t.getViewLineNumberOfModelPosition(0,e===a?n.column:1),r=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),l=r-i+1,d=0;l>1&&1===t.getViewLineMinColumn(this.model,e+1,r)&&(d=0===i?1:2),o.push(l),s.push(d),null===c&&(c=new ee.a(e+1,0))}else null!==c&&(r=r.concat(this.model.getLinesIndentGuides(c.lineNumber,e)),c=null)}null!==c&&(r=r.concat(this.model.getLinesIndentGuides(c.lineNumber,i.lineNumber)),c=null);const d=t-e+1;let h=new Array(d),u=0;for(let e=0,t=r.length;e<t;e++){let t,n=r[e],i=Math.min(d-u,o[e]),a=s[e];t=2===a?0:1===a?1:i;for(let e=0;e<i;e++)e===t&&(n=0),h[u++]=n}return h}getViewLineContent(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,i)}getViewLineLength(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,i)}getViewLineMinColumn(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,i)}getViewLineMaxColumn(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,i)}getViewLineData(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,i)}getViewLinesData(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.prefixSumComputer.getIndexOf(e-1),r=e,o=i.index,s=i.remainder,a=[];for(let i=o,l=this.model.getLineCount();i<l;i++){let l=this.lines[i];if(!l.isVisible())continue;let c=i===o?s:0,d=l.getViewLineCount()-c,h=!1;r+d>t&&(h=!0,d=t-r+1);let u=c+d;if(l.getViewLinesData(this.model,i+1,c,u,r-e,n,a),r+=d,h)break}return a}validateViewPosition(e,t,n){e=this._toValidViewLineNumber(e);let i=this.prefixSumComputer.getIndexOf(e-1),r=i.index,o=i.remainder,s=this.lines[r],a=s.getViewLineMinColumn(this.model,r+1,o),l=s.getViewLineMaxColumn(this.model,r+1,o);t<a&&(t=a),t>l&&(t=l);let c=s.getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new ee.a(r+1,c)).equals(n)?new ee.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)}validateViewRange(e,t){const n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new te.a(n.lineNumber,n.column,i.lineNumber,i.column)}convertViewPositionToModelPosition(e,t){e=this._toValidViewLineNumber(e);let n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,r=n.remainder,o=this.lines[i].getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new ee.a(i+1,o))}convertViewRangeToModelRange(e){const t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new te.a(t.lineNumber,t.column,n.lineNumber,n.column)}convertModelPositionToViewPosition(e,t){const n=this.model.validatePosition(new ee.a(e,t)),i=n.lineNumber,r=n.column;let o=i-1,s=!1;for(;o>0&&!this.lines[o].isVisible();)o--,s=!0;if(0===o&&!this.lines[o].isVisible())return new ee.a(1,1);const a=1+(0===o?0:this.prefixSumComputer.getAccumulatedValue(o-1));let l;return l=s?this.lines[o].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(o+1)):this.lines[i-1].getViewPositionOfModelPosition(a,r),l}convertModelRangeToViewRange(e){let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new te.a(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new te.a(t.lineNumber,t.column,n.lineNumber,n.column)}_getViewLineNumberForModelPosition(e,t){let n=e-1;if(this.lines[n].isVisible()){const e=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(e,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;const i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,this.model.getLineMaxColumn(n+1))}getAllOverviewRulerDecorations(e,t,n){const i=this.model.getOverviewRulerDecorations(e,t),r=new hi;for(const e of i){const t=e.options.overviewRuler,i=t?t.position:0;if(0===i)continue;const o=t.getColor(n),s=this._getViewLineNumberForModelPosition(e.range.startLineNumber,e.range.startColumn),a=this._getViewLineNumberForModelPosition(e.range.endLineNumber,e.range.endColumn);r.accept(o,s,a,i)}return r.result}getDecorationsInRange(e,t,n){const i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),r=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(r.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new te.a(i.lineNumber,1,r.lineNumber,r.column),t,n);let o=[];const s=i.lineNumber-1,a=r.lineNumber-1;let l=null;for(let e=s;e<=a;e++){if(this.lines[e].isVisible())null===l&&(l=new ee.a(e+1,e===s?i.column:1));else if(null!==l){const i=this.model.getLineMaxColumn(e);o=o.concat(this.model.getDecorationsInRange(new te.a(l.lineNumber,l.column,e,i),t,n)),l=null}}null!==l&&(o=o.concat(this.model.getDecorationsInRange(new te.a(l.lineNumber,l.column,r.lineNumber,r.column),t,n)),l=null),o.sort((e,t)=>{const n=te.a.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n});let c=[],d=0,h=null;for(const e of o){const t=e.id;h!==t&&(h=t,c[d++]=e)}return c}}class ni{constructor(){}isVisible(){return!0}setVisible(e){return e?this:ii.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,n){return e.getLineContent(t)}getViewLineLength(e,t,n){return e.getLineLength(t)}getViewLineMinColumn(e,t,n){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,n){return e.getLineMaxColumn(t)}getViewLineData(e,t,n){let i=e.getLineTokens(t),r=i.getLineContent();return new bt.c(r,!1,1,r.length+1,0,i.inflate())}getViewLinesData(e,t,n,i,r,o,s){o[r]?s[r]=this.getViewLineData(e,t,0):s[r]=null}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new ee.a(e,t)}getViewLineNumberOfModelPosition(e,t){return e}}ni.INSTANCE=new ni;class ii{constructor(){}isVisible(){return!1}setVisible(e){return e?ni.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,n){throw new Error("Not supported")}getViewLineLength(e,t,n){throw new Error("Not supported")}getViewLineMinColumn(e,t,n){throw new Error("Not supported")}getViewLineMaxColumn(e,t,n){throw new Error("Not supported")}getViewLineData(e,t,n){throw new Error("Not supported")}getViewLinesData(e,t,n,i,r,o,s){throw new Error("Not supported")}getModelColumnOfViewPosition(e,t){throw new Error("Not supported")}getViewPositionOfModelPosition(e,t){throw new Error("Not supported")}getViewLineNumberOfModelPosition(e,t){throw new Error("Not supported")}}ii.INSTANCE=new ii;class ri{constructor(e,t){this._lineBreakData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(e){return Qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,0)}getInputEndOffsetOfOutputLineIndex(e,t,n){return n+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:Qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,n+1,0)}getViewLineContent(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),r=this.getInputEndOffsetOfOutputLineIndex(e,t,n),o=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:r+1});return n>0&&(o=si(this._lineBreakData.wrappedTextIndentLength)+o),o}getViewLineLength(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),r=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-i;return n>0&&(r=this._lineBreakData.wrappedTextIndentLength+r),r}getViewLineMinColumn(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1}getViewLineMaxColumn(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1}getViewLineData(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),r=this.getInputEndOffsetOfOutputLineIndex(e,t,n),o=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:r+1});n>0&&(o=si(this._lineBreakData.wrappedTextIndentLength)+o);let s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=o.length+1,l=n+1<this.getViewLineCount(),c=0;n>0&&(c=this._lineBreakData.wrappedTextIndentLength);let d=e.getLineTokens(t);const h=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new bt.c(o,l,s,a,h,d.sliceAndInflate(i,r,c))}getViewLinesData(e,t,n,i,r,o,s){if(!this._isVisible)throw new Error("Not supported");for(let a=n;a<i;a++){let i=r+a-n;o[i]?s[i]=this.getViewLineData(e,t,a):s[i]=null}}getModelColumnOfViewPosition(e,t){if(!this._isVisible)throw new Error("Not supported");let n=t-1;return e>0&&(n<this._lineBreakData.wrappedTextIndentLength?n=0:n-=this._lineBreakData.wrappedTextIndentLength),Qn.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,n)+1}getViewPositionOfModelPosition(e,t){if(!this._isVisible)throw new Error("Not supported");let n=Qn.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1),i=n.outputLineIndex,r=n.outputOffset+1;return i>0&&(r+=this._lineBreakData.wrappedTextIndentLength),new ee.a(e+i,r)}getViewLineNumberOfModelPosition(e,t){if(!this._isVisible)throw new Error("Not supported");return e+Qn.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1).outputLineIndex}}let oi=[""];function si(e){if(e>=oi.length)for(let t=1;t<=e;t++)oi[t]=ai(t);return oi[e]}function ai(e){return new Array(e+1).join(" ")}function li(e,t){return null===e?t?ni.INSTANCE:ii.INSTANCE:new ri(e,t)}class ci{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){const t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}}class di{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new ci(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,n,i){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,n){return new vn(t,n)}onModelLinesInserted(e,t,n,i){return new wn(t,n)}onModelLineChanged(e,t,n){return[!1,new _n(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesIndentGuides(e,t){const n=t-e+1;let i=new Array(n);for(let e=0;e<n;e++)i[e]=0;return i}getViewLineContent(e){return this.model.getLineContent(e)}getViewLineLength(e){return this.model.getLineLength(e)}getViewLineMinColumn(e){return this.model.getLineMinColumn(e)}getViewLineMaxColumn(e){return this.model.getLineMaxColumn(e)}getViewLineData(e){let t=this.model.getLineTokens(e),n=t.getLineContent();return new bt.c(n,!1,1,n.length+1,0,t.inflate())}getViewLinesData(e,t,n){const i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);let r=[];for(let i=e;i<=t;i++){let t=i-e;n[t]||(r[t]=null),r[t]=this.getViewLineData(i)}return r}getAllOverviewRulerDecorations(e,t,n){const i=this.model.getOverviewRulerDecorations(e,t),r=new hi;for(const e of i){const t=e.options.overviewRuler,i=t?t.position:0;if(0===i)continue;const o=t.getColor(n),s=e.range.startLineNumber,a=e.range.endLineNumber;r.accept(o,s,a,i)}return r.result}getDecorationsInRange(e,t,n){return this.model.getDecorationsInRange(e,t,n)}}class hi{constructor(){this.result=Object.create(null)}accept(e,t,n,i){let r=this.result[e];if(r){const e=r[r.length-3],o=r[r.length-1];if(e===i&&o+1>=t)return void(n>o&&(r[r.length-1]=n));r.push(i,t,n)}else this.result[e]=[i,t,n]}}class ui{constructor(e,t,n,i,r){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=r,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){const t=e.id;let n=this._decorationsCache[t];if(!n){const i=e.range,r=e.options;let o;if(r.isWholeLine){const e=this._coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.startLineNumber,1)),t=this._coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));o=new te.a(e.lineNumber,e.column,t.lineNumber,t.column)}else o=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new bt.e(o,r),this._decorationsCache[t]=n}return n}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}_getDecorationsViewportData(e){const t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(j.l)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber;let r=[],o=0,s=[];for(let e=n;e<=i;e++)s[e-n]=[];for(let e=0,a=t.length;e<a;e++){let a=t[e],l=a.options,c=this._getOrCreateViewModelDecoration(a),d=c.range;if(r[o++]=c,l.inlineClassName){let e=new bt.a(d,l.inlineClassName,l.inlineClassNameAffectsLetterSpacing?3:0),t=Math.max(n,d.startLineNumber),r=Math.min(i,d.endLineNumber);for(let i=t;i<=r;i++)s[i-n].push(e)}if(l.beforeContentClassName&&n<=d.startLineNumber&&d.startLineNumber<=i){let e=new bt.a(new te.a(d.startLineNumber,d.startColumn,d.startLineNumber,d.startColumn),l.beforeContentClassName,1);s[d.startLineNumber-n].push(e)}if(l.afterContentClassName&&n<=d.endLineNumber&&d.endLineNumber<=i){let e=new bt.a(new te.a(d.endLineNumber,d.endColumn,d.endLineNumber,d.endColumn),l.afterContentClassName,2);s[d.endLineNumber-n].push(e)}}return{decorations:r,inlineDecorations:s}}}class pi extends a.a{constructor(e,t,n,i,r,o){if(super(),this._editorId=e,this._configuration=t,this.model=n,this._eventDispatcher=new Tn,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._tokenizeViewportSoon=this._register(new b.d(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new b.d(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new di(this.model);else{const e=this._configuration.options,t=e.get(36),n=e.get(112),o=e.get(118),s=e.get(111);this._lines=new ti(this.model,i,r,t,this.model.getOptions().tabSize,n,o.wrappingColumn,s)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new Fn(n,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new Gn(this._configuration,this.getLineCount(),o)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new Cn(e)),this._eventDispatcher.emitOutgoingEvent(new Dn(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new ui(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(ft.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new kn)})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){const e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new gn(e)),this._eventDispatcher.emitOutgoingEvent(new In(!e,e))}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new xn)}_onConfigurationChanged(e,t){let n=null;if(-1!==this._viewportStartLine){let e=new ee.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(e)}let i=!1;const r=this._configuration.options,o=r.get(36),s=r.get(112),a=r.get(118),l=r.get(111);if(this._lines.setWrappingSettings(o,s,a.wrappingColumn,l)&&(e.emitViewEvent(new mn),e.emitViewEvent(new bn),e.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(i=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(72)&&(this._decorations.reset(),e.emitViewEvent(new pn(null))),e.emitViewEvent(new hn(t)),this.viewLayout.onConfigurationChanged(t),i&&n){const e=this.coordinatesConverter.convertModelPositionToViewPosition(n),t=this.viewLayout.getVerticalOffsetForLineNumber(e.lineNumber);this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStartLineDelta},1)}ne.b.shouldRecreate(t)&&(this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeRawContentFast(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();let n=!1,i=!1;const r=e.changes,o=e.versionId,s=this._lines.createLineBreaksComputer();for(const e of r)switch(e.changeType){case 4:for(const t of e.detail)s.addRequest(t,null);break;case 2:s.addRequest(e.detail,null)}const a=s.finalize();let l=0;for(const e of r)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new mn),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),n=!0;break;case 3:{const i=this._lines.onModelLinesDeleted(o,e.fromLineNumber,e.toLineNumber);null!==i&&(t.emitViewEvent(i),this.viewLayout.onLinesDeleted(i.fromLineNumber,i.toLineNumber)),n=!0;break}case 4:{const i=a.slice(l,l+e.detail.length);l+=e.detail.length;const r=this._lines.onModelLinesInserted(o,e.fromLineNumber,e.toLineNumber,i);null!==r&&(t.emitViewEvent(r),this.viewLayout.onLinesInserted(r.fromLineNumber,r.toLineNumber)),n=!0;break}case 2:{const n=a[l];l++;const[r,s,c,d]=this._lines.onModelLineChanged(o,e.lineNumber,n);i=r,s&&t.emitViewEvent(s),c&&(t.emitViewEvent(c),this.viewLayout.onLinesInserted(c.fromLineNumber,c.toLineNumber)),d&&(t.emitViewEvent(d),this.viewLayout.onLinesDeleted(d.fromLineNumber,d.toLineNumber));break}}this._lines.acceptVersionId(o),this.viewLayout.onHeightMaybeChanged(),!n&&i&&(t.emitViewEvent(new bn),t.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){const e=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(e){const t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),n=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:n+this._viewportStartLineDelta},1)}}try{const t=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let n=0,i=e.ranges.length;n<i;n++){const i=e.ranges[n],r=this.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.fromLineNumber,1)).lineNumber,o=this.coordinatesConverter.convertModelPositionToViewPosition(new ee.a(i.toLineNumber,this.model.getLineMaxColumn(i.toLineNumber))).lineNumber;t[n]={fromLineNumber:r,toLineNumber:o}}this._eventDispatcher.emitSingleViewEvent(new Sn(t)),e.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(e=>{this._eventDispatcher.emitSingleViewEvent(new fn),this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new mn),e.emitViewEvent(new bn),e.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new ne.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new pn(e))}))}setHiddenAreas(e){try{const t=this._eventDispatcher.beginEmitViewEvents();this._lines.setHiddenAreas(e)&&(t.emitViewEvent(new mn),t.emitViewEvent(new bn),t.emitViewEvent(new pn(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){const e=this._configuration.options.get(117),t=this._configuration.options.get(51),n=Math.max(20,Math.round(e.height/t)),i=this.viewLayout.getLinesViewportData(),r=Math.max(1,i.completelyVisibleStartLineNumber-n),o=Math.min(this.getLineCount(),i.completelyVisibleEndLineNumber+n);return this._toModelVisibleRanges(new te.a(r,this.getLineMinColumn(r),o,this.getLineMaxColumn(o)))}getVisibleRanges(){const e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){const t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this._lines.getHiddenAreas();if(0===n.length)return[t];let i=[],r=0,o=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,l=t.endColumn;for(let e=0,t=n.length;e<t;e++){const t=n[e].startLineNumber,l=n[e].endLineNumber;l<o||(t>a||(o<t&&(i[r++]=new te.a(o,s,t-1,this.model.getLineMaxColumn(t-1))),o=l+1,s=1))}return(o<a||o===a&&s<l)&&(i[r++]=new te.a(o,s,a,l)),i}getCompletelyVisibleViewRange(){const e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new te.a(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))}getCompletelyVisibleViewRangeAtScrollTop(e){const t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new te.a(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))}saveState(){const e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(n,this.getLineMinColumn(n))),r=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:r}}reduceRestoreState(e){if(void 0===e.firstPosition)return this._reduceRestoreStateCompatibility(e);const t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}}_reduceRestoreStateCompatibility(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getTextModelOptions(){return this.model.getOptions()}getLineCount(){return this._lines.getViewLineCount()}setViewport(e,t,n){this._viewportStartLine=e;let i=this.coordinatesConverter.convertViewPositionToModelPosition(new ee.a(e,this.getLineMinColumn(e)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new te.a(i.lineNumber,i.column,i.lineNumber,i.column),1);const r=this.viewLayout.getVerticalOffsetForLineNumber(e),o=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=o-r}getActiveIndentGuide(e,t,n){return this._lines.getActiveIndentGuide(e,t,n)}getLinesIndentGuides(e,t){return this._lines.getViewLinesIndentGuides(e,t)}getLineContent(e){return this._lines.getViewLineContent(e)}getLineLength(e){return this._lines.getViewLineLength(e)}getLineMinColumn(e){return this._lines.getViewLineMinColumn(e)}getLineMaxColumn(e){return this._lines.getViewLineMaxColumn(e)}getLineFirstNonWhitespaceColumn(e){const t=xe.w(this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=xe.J(this.getLineContent(e));return-1===t?0:t+2}getDecorationsInViewport(e){return this._decorations.getDecorationsViewportData(e).decorations}getViewLineRenderingData(e,t){let n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),r=this.getTabSize(),o=this._lines.getViewLineData(t),s=this._decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return new bt.d(o.minColumn,o.maxColumn,o.content,o.continuesWithWrappedLine,n,i,o.tokens,s,r,o.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,n){let i=this._lines.getViewLinesData(e,t,n);return new bt.b(this.getTabSize(),i)}getAllOverviewRulerDecorations(e){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(j.l)(this._configuration.options),e)}invalidateOverviewRulerColorCache(){const e=this.model.getOverviewRulerDecorations();for(const t of e){const e=t.options.overviewRuler;e&&e.invalidateCachedColor()}}invalidateMinimapColorCache(){const e=this.model.getAllDecorations();for(const t of e){const e=t.options.minimap;e&&e.invalidateCachedColor()}}getValueInRange(e,t){const n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)}getModelLineMaxColumn(e){return this.model.getLineMaxColumn(e)}validateModelPosition(e){return this.model.validatePosition(e)}validateModelRange(e){return this.model.validateRange(e)}deduceModelPositionRelativeToViewPosition(e,t,n){const i=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);const r=this.model.getOffsetAt(i)+t;return this.model.getPositionAt(r)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(e,t,n){const i=n?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(te.a.compareRangesUsingStarts);let r=!1,o=!1;for(const t of e)t.isEmpty()?r=!0:o=!0;if(!o){if(!t)return"";const n=e.map(e=>e.startLineNumber);let r="";for(let e=0;e<n.length;e++)e>0&&n[e-1]===n[e]||(r+=this.model.getLineContent(n[e])+i);return r}if(r&&t){let t=[],i=0;for(const r of e){const e=r.startLineNumber;r.isEmpty()?e!==i&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(r,n?2:0)),i=e}return 1===t.length?t[0]:t}let s=[];for(const t of e)t.isEmpty()||s.push(this.model.getValueInRange(t,n?2:0));return 1===s.length?s[0]:s}getRichTextToCopy(e,t){const n=this.model.getLanguageIdentifier();if(1===n.id)return null;if(1!==e.length)return null;let i=e[0];if(i.isEmpty()){if(!t)return null;const e=i.startLineNumber;i=new te.a(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}const r=this._configuration.options.get(36),o=this._getColorMap(),s=r.fontFamily===j.c.fontFamily?r.fontFamily:`'${r.fontFamily}', ${j.c.fontFamily}`;return{mode:n.language,html:`<div style="color: ${o[1]};background-color: ${o[2]};font-family: ${s};font-weight: ${r.fontWeight};font-size: ${r.fontSize}px;line-height: ${r.lineHeight}px;white-space: pre;">`+this._getHTMLToCopy(i,o)+"</div>"}}_getHTMLToCopy(e,t){const n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,o=e.endColumn,s=this.getTabSize();let a="";for(let e=n;e<=r;e++){const l=this.model.getLineTokens(e),c=l.getLineContent(),d=e===n?i-1:0,h=e===r?o-1:c.length;a+=""===c?"<br>":Object(jn.a)(c,l.inflate(),t,d,h,s,m.i)}return a}_getColorMap(){let e=gt.C.getColorMap(),t=["#000000"];if(e)for(let n=1,i=e.length;n<i;n++)t[n]=Ft.a.Format.CSS.formatHex(e[n]);return t}pushStackElement(){this.model.pushStackElement()}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(e,t,n){this._withViewEventsCollector(i=>this._cursor.setStates(i,e,t,n))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Rn):this._withViewEventsCollector(e)}executeEdits(e,t,n){this._executeCursorEdit(i=>this._cursor.executeEdits(i,e,t,n))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(n=>this._cursor.type(n,e,t))}replacePreviousChar(e,t,n){this._executeCursorEdit(i=>this._cursor.replacePreviousChar(i,e,t,n))}paste(e,t,n,i){this._executeCursorEdit(r=>this._cursor.paste(r,e,t,n,i))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(n=>this._cursor.executeCommand(n,e,t))}executeCommands(e,t){this._executeCursorEdit(n=>this._cursor.executeCommands(n,e,t))}revealPrimaryCursor(e,t){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,t,0))}revealTopMostCursor(e){const t=this._cursor.getTopMostViewPosition(),n=new te.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new yn(e,n,null,0,!0,0)))}revealBottomMostCursor(e){const t=this._cursor.getBottomMostViewPosition(),n=new te.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new yn(e,n,null,0,!0,0)))}revealRange(e,t,n,i,r){this._withViewEventsCollector(o=>o.emitViewEvent(new yn(e,n,null,i,t,r)))}getVerticalOffsetForLineNumber(e){return this.viewLayout.getVerticalOffsetForLineNumber(e)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(e,t){this.viewLayout.setScrollPosition({scrollTop:e},t)}setScrollPosition(e,t){this.viewLayout.setScrollPosition(e,t)}deltaScrollNow(e,t){this.viewLayout.deltaScrollNow(e,t)}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new En),this._eventDispatcher.emitOutgoingEvent(new On))}setMaxLineWidth(e){this.viewLayout.setMaxLineWidth(e)}_withViewEventsCollector(e){try{e(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}}var mi=n(27),gi=n(10),fi=n(18),bi=n(149),_i=n(49),vi=n(80),wi=n(14),yi=n(76);class Ci extends yi.a{constructor(e,t){super(0);for(let t=0;t<e.length;t++)this.set(e.charCodeAt(t),1);for(let e=0;e<t.length;e++)this.set(t.charCodeAt(e),2)}get(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let xi=[],Si=[];class ki{constructor(e,t){this.classifier=new Ci(e,t)}static create(e){return new ki(e.get(108),e.get(107))}createLineBreaksComputer(e,t,n,i){t|=0,n=+n;let r=[],o=[];return{addRequest:(e,t)=>{r.push(e),o.push(t)},finalize:()=>{const s=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth;let a=[];for(let e=0,l=r.length;e<l;e++){const l=o[e];a[e]=l?Ei(this.classifier,l,r[e],t,n,s,i):Ti(this.classifier,r[e],t,n,s,i)}return xi.length=0,Si.length=0,a}}}}function Ei(e,t,n,i,r,o,s){if(-1===r)return null;const a=n.length;if(a<=1)return null;const l=t.breakOffsets,c=t.breakOffsetsVisibleColumn,d=Di(n,i,r,o,s),h=r-d;let u=xi,p=Si,m=0,g=0,f=0,b=r;const _=l.length;let v=0;if(v>=0){let e=Math.abs(c[v]-b);for(;v+1<_;){const t=Math.abs(c[v+1]-b);if(t>=e)break;e=t,v++}}for(;v<_;){let t=v<0?0:l[v],r=v<0?0:c[v];g>t&&(t=g,r=f);let s=0,d=0,w=0,y=0;if(r<=b){let f=r,_=0===t?0:n.charCodeAt(t-1),v=0===t?0:e.get(_),C=!0;for(let r=t;r<a;r++){const t=r,a=n.charCodeAt(r);let l,c;if(xe.F(a)?(r++,l=0,c=2):(l=e.get(a),c=Li(a,f,i,o)),t>g&&Ii(_,v,a,l)&&(s=t,d=f),f+=c,f>b){t>g?(w=t,y=f-c):(w=r+1,y=f),f-d>h&&(s=0),C=!1;break}_=a,v=l}if(C){m>0&&(u[m]=l[l.length-1],p[m]=c[l.length-1],m++);break}}if(0===s){let a=r,l=n.charCodeAt(t),c=e.get(l),u=!1;for(let i=t-1;i>=g;i--){const t=i+1,r=n.charCodeAt(i);if(9===r){u=!0;break}let p,m;if(xe.G(r)?(i--,p=0,m=2):(p=e.get(r),m=xe.E(r)?o:1),a<=b){if(0===w&&(w=t,y=a),a<=b-h)break;if(Ii(r,p,l,c)){s=t,d=a;break}}a-=m,l=r,c=p}if(0!==s){const e=h-(y-d);if(e<=i){const t=n.charCodeAt(w);let r;r=xe.F(t)?2:Li(t,y,i,o),e-r<0&&(s=0)}}if(u){v--;continue}}for(0===s&&(s=w,d=y),g=s,u[m]=s,f=d,p[m]=d,m++,b=d+h;v<0||v<_&&c[v]<d;)v++;let C=Math.abs(c[v]-b);for(;v+1<_;){const e=Math.abs(c[v+1]-b);if(e>=C)break;C=e,v++}}return 0===m?null:(u.length=m,p.length=m,xi=t.breakOffsets,Si=t.breakOffsetsVisibleColumn,t.breakOffsets=u,t.breakOffsetsVisibleColumn=p,t.wrappedTextIndentLength=d,t)}function Ti(e,t,n,i,r,o){if(-1===i)return null;const s=t.length;if(s<=1)return null;const a=Di(t,n,i,r,o),l=i-a;let c=[],d=[],h=0,u=0,p=0,m=i,g=t.charCodeAt(0),f=e.get(g),b=Li(g,0,n,r),_=1;xe.F(g)&&(b+=1,g=t.charCodeAt(1),f=e.get(g),_++);for(let i=_;i<s;i++){const o=i,s=t.charCodeAt(i);let a,_;xe.F(s)?(i++,a=0,_=2):(a=e.get(s),_=Li(s,b,n,r)),Ii(g,f,s,a)&&(u=o,p=b),b+=_,b>m&&((0===u||b-p>l)&&(u=o,p=b-_),c[h]=u,d[h]=p,h++,m=p+l,u=0),g=s,f=a}return 0===h?null:(c[h]=s,d[h]=b,new Qn(c,d,a))}function Li(e,t,n,i){return 9===e?n-t%n:xe.E(e)?i:1}function Ni(e,t){return t-e%t}function Ii(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function Di(e,t,n,i,r){let o=0;if(0!==r){const s=xe.w(e);if(-1!==s){for(let n=0;n<s;n++){o+=9===e.charCodeAt(n)?Ni(o,t):1}const a=3===r?2:2===r?1:0;for(let e=0;e<a;e++){o+=Ni(o,t)}o+i>n&&(o=0)}}return o}class Oi{static create(){return new Oi}constructor(){}createLineBreaksComputer(e,t,n,i){t|=0,n=+n;let r=[];return{addRequest:(e,t)=>{r.push(e)},finalize:()=>function(e,t,n,i,r){if(-1===i){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=null;return t}const o=Math.round(i*t.typicalHalfwidthCharacterWidth);2!==r&&3!==r||(r=1);const s=document.createElement("div");c.a.applyFontInfoSlow(s,t);const a=Object(ze.a)(1e4),l=[],d=[],h=[],u=[],p=[];for(let i=0;i<e.length;i++){const s=e[i];let c=0,m=0,g=o;if(0!==r)if(c=xe.w(s),-1===c)c=0;else{for(let e=0;e<c;e++){const t=9===s.charCodeAt(e)?n-m%n:1;m+=t}const e=Math.ceil(t.spaceWidth*m);e+t.typicalFullwidthCharacterWidth>o?(c=0,m=0):g=o-e}const f=s.substr(c),b=Ai(f,m,n,g,a);l[i]=c,d[i]=m,h[i]=f,u[i]=b[0],p[i]=b[1]}s.innerHTML=a.build(),s.style.position="absolute",s.style.top="10000",s.style.wordWrap="break-word",document.body.appendChild(s);let m=document.createRange();const g=Array.prototype.slice.call(s.children,0);let f=[];for(let t=0;t<e.length;t++){const e=g[t],n=Ri(m,e,h[t],u[t]);if(null===n){f[t]=null;continue}const i=l[t],r=d[t],o=p[t],s=[];for(let e=0,t=n.length;e<t;e++)s[e]=o[n[e]];if(0!==i)for(let e=0,t=n.length;e<t;e++)n[e]+=i;f[t]=new Qn(n,s,r)}return document.body.removeChild(s),f}(r,e,t,n,i)}}}function Ai(e,t,n,i,r){r.appendASCIIString('<div style="width:'),r.appendASCIIString(String(i)),r.appendASCIIString('px;">');const o=e.length;let s=t,a=0,l=[],c=[],d=0<o?e.charCodeAt(0):0;r.appendASCIIString("<span>");for(let t=0;t<o;t++){0!==t&&t%16384==0&&r.appendASCIIString("</span><span>"),l[t]=a,c[t]=s;const i=d;d=t+1<o?e.charCodeAt(t+1):0;let h=1,u=1;switch(i){case 9:h=n-s%n,u=h;for(let e=1;e<=h;e++)e<h?r.write1(160):r.appendASCII(32);break;case 32:32===d?r.write1(160):r.appendASCII(32);break;case 60:r.appendASCIIString("<");break;case 62:r.appendASCIIString(">");break;case 38:r.appendASCIIString("&");break;case 0:r.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:r.write1(65533);break;default:xe.E(i)&&u++,r.write1(i)}a+=h,s+=u}return r.appendASCIIString("</span>"),l[e.length]=a,c[e.length]=s,r.appendASCIIString("</div>"),[l,c]}function Ri(e,t,n,i){if(n.length<=1)return null;const r=Array.prototype.slice.call(t.children,0),o=[];try{!function e(t,n,i,r,o,s,a,l){if(r===s)return;if(o=o||Mi(t,n,i[r],i[r+1]),a=a||Mi(t,n,i[s],i[s+1]),Math.abs(o[0].top-a[0].top)<=.1)return;if(r+1===s)return void l.push(s);const c=r+(s-r)/2|0,d=Mi(t,n,i[c],i[c+1]);e(t,n,i,r,o,c,d,l),e(t,n,i,c,d,s,a,l)}(e,r,i,0,null,n.length-1,null,o)}catch(e){return console.log(e),null}return 0===o.length?null:(o.push(n.length),o)}function Mi(e,t,n,i){return e.setStart(t[n/16384|0].firstChild,n%16384),e.setEnd(t[i/16384|0].firstChild,i%16384),e.getClientRects()}var Pi=n(129),Fi=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Wi=function(e,t){return function(n,i){t(n,i,e)}};let zi=0;class Bi{constructor(e,t,n,i,r){this.model=e,this.viewModel=t,this.view=n,this.hasRealView=i,this.listenersToRemove=r}dispose(){Object(a.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let ji=class e extends a.a{constructor(e,t,n,i,r,a,l,c,h,u){let p;super(),this._onDidDispose=this._register(new s.a),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new s.a),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new s.a),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new s.a),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new s.a),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new s.a),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new s.a),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new s.a),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new s.a),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new s.a),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new s.a),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new s.a),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new Vi),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new Vi),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new s.a),this.onWillType=this._onWillType.event,this._onDidType=this._register(new s.a),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new s.a),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new s.a),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new s.a),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new s.a),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new s.a),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new s.a),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new s.a),this.onMouseDrop=this._onMouseDrop.event,this._onContextMenu=this._register(new s.a),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new s.a),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new s.a),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new s.a),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new s.a),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new s.a),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new s.a),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new s.a),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new s.a),this.onDidChangeViewZones=this._onDidChangeViewZones.event,t=t||{},this._domElement=e,this._overflowWidgetsDomNode=t.overflowWidgetsDomNode,this._id=++zi,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this.isSimpleWidget=n.isSimpleWidget||!1,this._telemetryData=n.telemetryData,this._configuration=this._register(this._createConfiguration(t,u)),this._register(this._configuration.onDidChange(e=>{this._onDidChangeConfiguration.fire(e);const t=this._configuration.options;if(e.hasChanged(117)){const e=t.get(117);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(l.createScoped(this._domElement)),this._notificationService=h,this._codeEditorService=r,this._commandService=a,this._themeService=c,this._register(new Ui(this,this._contextKeyService)),this._register(new Hi(this,this._contextKeyService)),this._instantiationService=i.createChild(new bi.a([gi.b,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new qi(e),this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())}),this._contentWidgets={},this._overlayWidgets={},p=Array.isArray(n.contributions)?n.contributions:d.d.getEditorContributions();for(const e of p)try{const t=this._instantiationService.createInstance(e.ctor,this);this._contributions[e.id]=t}catch(e){Object(o.e)(e)}d.d.getEditorActions().forEach(e=>{const t=new Wn.a(e.id,e.label,e.alias,Object(wi.n)(e.precondition),()=>this._instantiationService.invokeFunction(t=>Promise.resolve(e.runEditorCommand(t,this,null))),this._contextKeyService);this._actions[t.id]=t}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(e,t){return new c.a(this.isSimpleWidget,e,this._domElement,t)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return zn.a.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();const e=Object.keys(this._contributions);for(let t=0,n=e.length;t<n;t++){const n=e[t];this._contributions[n].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e)}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?Pi.a.getWordAtPosition(this._modelData.model,this._configuration.options.get(105),e):null}getValue(e=null){if(!this._modelData)return"";const t=!(!e||!e.preserveBOM);let n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)}setValue(e){this._modelData&&this._modelData.model.setValue(e)}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){const t=e;if(null===this._modelData&&null===t)return;if(this._modelData&&this._modelData.model===t)return;const n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();const r={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(r),this._postDetachModelCleanup(i)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){const t=this._decorationTypeSubtypes[e];for(let n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetForPosition(e,t,n){const i=e.model.validatePosition({lineNumber:t,column:n}),r=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(r.lineNumber)}getTopForLineNumber(t){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,1):-1}getTopForPosition(t,n){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,n):-1}setHiddenAreas(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map(e=>te.a.lift(e)))}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;const t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return ne.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e){if(this._modelData){if(!ee.a.isIPosition(e))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,n,i){if(!this._modelData)return;if(!te.a.isIRange(e))throw new Error("Invalid arguments");const r=this._modelData.model.validateRange(e),o=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(r);this._modelData.viewModel.revealRange("api",n,o,t,i)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,n){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new te.a(e,1,e,1),t,!1,n)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,n,i){if(!ee.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new te.a(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e){const t=u.a.isISelection(e),n=te.a.isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){const t={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(t)}}_setSelectionImpl(e){if(!this._modelData)return;const t=new u.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections("api",[t])}revealLines(e,t,n=0){this._revealLines(e,t,0,n)}revealLinesInCenter(e,t,n=0){this._revealLines(e,t,1,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._revealLines(e,t,2,n)}revealLinesNearTop(e,t,n=0){this._revealLines(e,t,5,n)}_revealLines(e,t,n,i){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new te.a(e,1,t,1),n,!1,i)}revealRange(e,t=0,n=!1,i=!0){this._revealRange(e,n?1:0,i,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,n,i){if(!te.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(te.a.lift(e),t,n,i)}setSelections(e,t="api"){if(this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(let t=0,n=e.length;t<n;t++)if(!u.a.isISelection(e[t]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(t,e)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(e,t=1){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollLeft:e},t)}}setScrollTop(e,t=1){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollTop:e},t)}}setScrollPosition(e,t=1){this._modelData&&this._modelData.viewModel.setScrollPosition(e,t)}saveViewState(){if(!this._modelData)return null;const e={},t=Object.keys(this._contributions);for(const n of t){const t=this._contributions[n];"function"==typeof t.saveViewState&&(e[n]=t.saveViewState())}return{cursorState:this._modelData.viewModel.saveCursorState(),viewState:this._modelData.viewModel.saveState(),contributionsState:e}}restoreViewState(e){if(!this._modelData||!this._modelData.hasRealView)return;const t=e;if(t&&t.cursorState&&t.viewState){const e=t.cursorState;Array.isArray(e)?this._modelData.viewModel.restoreCursorState(e):this._modelData.viewModel.restoreCursorState([e]);const n=t.contributionsState||{},i=Object.keys(this._contributions);for(let e=0,t=i.length;e<t;e++){const t=i[e],r=this._contributions[t];"function"==typeof r.restoreViewState&&r.restoreViewState(n[t])}const r=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(r)}}getContribution(e){return this._contributions[e]||null}getActions(){const e=[],t=Object.keys(this._actions);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._actions[i])}return e}getSupportedActions(){let e=this.getActions();return e=e.filter(e=>e.isSupported()),e}getAction(e){return this._actions[e]||null}trigger(e,t,n){switch(n=n||{},t){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(e);case"type":{const t=n;return void this._type(e,t.text||"")}case"replacePreviousChar":{const t=n;return void this._replacePreviousChar(e,t.text||"",t.replaceCharCnt||0)}case"paste":{const t=n;return void this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null)}case"cut":return void this._cut(e)}const i=this.getAction(t);i?Promise.resolve(i.run()).then(void 0,o.e):this._modelData&&this._triggerEditorCommand(e,t,n)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_replacePreviousChar(e,t,n){this._modelData&&this._modelData.viewModel.replacePreviousChar(t,n,e)}_paste(e,t,n,i,r){if(!this._modelData||0===t.length)return;const o=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(t,n,i,e);const s=this._modelData.viewModel.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new te.a(o.lineNumber,o.column,s.lineNumber,s.column),mode:r})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,n){const i=d.d.getEditorCommand(t);return!!i&&((n=n||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(i.runEditorCommand(e,this,n)).then(void 0,o.e)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&(!this._configuration.options.get(72)&&(this._modelData.model.pushStackElement(),!0))}executeEdits(e,t,n){if(!this._modelData)return!1;if(this._configuration.options.get(72))return!1;let i;return i=n?Array.isArray(n)?()=>n:n:()=>null,this._modelData.viewModel.executeEdits(e,t,i),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(j.l)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){const t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){return this._configuration.options.get(117)}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeReferenceElement(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){const t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}}removeContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){const t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}}removeOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;const n=this._modelData.model.validatePosition(t),i=this._configuration.options,r=i.get(117);return{top:e._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+r.glyphMarginWidth+r.lineNumbersWidth+r.decorationsWidth-this.getScrollLeft(),height:i.get(51)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){c.a.applyFontInfoSlow(e,this._configuration.options.get(36))}_attachModel(e){if(!e)return void(this._modelData=null);const t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();const n=new pi(this._id,this._configuration,e,Oi.create(),ki.create(this._configuration.options),e=>r.Y(e));t.push(e.onDidChangeDecorations(e=>this._onDidChangeModelDecorations.fire(e))),t.push(e.onDidChangeLanguage(t=>{this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(t)})),t.push(e.onDidChangeLanguageConfiguration(e=>this._onDidChangeModelLanguageConfiguration.fire(e))),t.push(e.onDidChangeContent(e=>this._onDidChangeModelContent.fire(e))),t.push(e.onDidChangeOptions(e=>this._onDidChangeModelOptions.fire(e))),t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(e=>{switch(e.kind){case 0:this._onDidContentSizeChange.fire(e);break;case 1:this._editorTextFocus.setValue(e.hasFocus);break;case 2:this._onDidScrollChange.fire(e);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{e.reachedMaxCursorCount&&this._notificationService.warn(i.a("cursors.maximum","The number of cursors has been limited to {0}.",Fn.MAX_CURSOR_COUNT));const t=[];for(let n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();const n={position:t[0],secondaryPositions:t.slice(1),reason:e.reason,source:e.source};this._onDidChangeCursorPosition.fire(n);const r={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};this._onDidChangeCursorSelection.fire(r);break}}}));const[o,s]=this._createView(n);if(s){this._domElement.appendChild(o.domNode.domNode);let t=Object.keys(this._contentWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];o.addContentWidget(this._contentWidgets[n])}t=Object.keys(this._overlayWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];o.addOverlayWidget(this._overlayWidgets[n])}o.render(!1,!0),o.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new Bi(e,n,o,s,t)}_createView(e){let t;t=this.isSimpleWidget?{paste:(e,t,n,i)=>{this._paste("keyboard",e,t,n,i)},type:e=>{this._type("keyboard",e)},replacePreviousChar:(e,t)=>{this._replacePreviousChar("keyboard",e,t)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,n,i)=>{const r={text:e,pasteOnNewLine:t,multicursorText:n,mode:i};this._commandService.executeCommand("paste",r)},type:e=>{const t={text:e};this._commandService.executeCommand("type",t)},replacePreviousChar:(e,t)=>{const n={text:e,replaceCharCnt:t};this._commandService.executeCommand("replacePreviousChar",n)},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const n=new Fe(e.coordinatesConverter);n.onKeyDown=e=>this._onKeyDown.fire(e),n.onKeyUp=e=>this._onKeyUp.fire(e),n.onContextMenu=e=>this._onContextMenu.fire(e),n.onMouseMove=e=>this._onMouseMove.fire(e),n.onMouseLeave=e=>this._onMouseLeave.fire(e),n.onMouseDown=e=>this._onMouseDown.fire(e),n.onMouseUp=e=>this._onMouseUp.fire(e),n.onMouseDrag=e=>this._onMouseDrag.fire(e),n.onMouseDrop=e=>this._onMouseDrop.fire(e),n.onMouseWheel=e=>this._onMouseWheel.fire(e);return[new sn(t,this._configuration,this._themeService,e,n,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),e}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}};ji=Fi([Wi(3,fi.a),Wi(4,h.a),Wi(5,mi.b),Wi(6,gi.b),Wi(7,B.c),Wi(8,_i.a),Wi(9,vi.b)],ji);class Vi extends a.a{constructor(){super(),this._onDidChangeToTrue=this._register(new s.a),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new s.a),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){const t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class Ui extends a.a{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=Bn.a.editorSimpleInput.bindTo(t),this._editorFocus=Bn.a.focus.bindTo(t),this._textInputFocus=Bn.a.textInputFocus.bindTo(t),this._editorTextFocus=Bn.a.editorTextFocus.bindTo(t),this._editorTabMovesFocus=Bn.a.tabMovesFocus.bindTo(t),this._editorReadonly=Bn.a.readOnly.bindTo(t),this._editorColumnSelection=Bn.a.columnSelection.bindTo(t),this._hasMultipleSelections=Bn.a.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=Bn.a.hasNonEmptySelection.bindTo(t),this._canUndo=Bn.a.canUndo.bindTo(t),this._canRedo=Bn.a.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(116)),this._editorReadonly.set(e.get(72)),this._editorColumnSelection.set(e.get(13))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class Hi extends a.a{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this._langId=Bn.a.languageId.bindTo(t),this._hasCompletionItemProvider=Bn.a.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=Bn.a.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=Bn.a.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=Bn.a.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=Bn.a.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=Bn.a.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=Bn.a.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=Bn.a.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=Bn.a.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=Bn.a.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=Bn.a.hasReferenceProvider.bindTo(t),this._hasRenameProvider=Bn.a.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=Bn.a.hasSignatureHelpProvider.bindTo(t),this._hasDocumentFormattingProvider=Bn.a.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=Bn.a.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=Bn.a.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=Bn.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=Bn.a.isInWalkThroughSnippet.bindTo(t);const n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(gt.d.onDidChange(n)),this._register(gt.a.onDidChange(n)),this._register(gt.b.onDidChange(n)),this._register(gt.f.onDidChange(n)),this._register(gt.e.onDidChange(n)),this._register(gt.q.onDidChange(n)),this._register(gt.D.onDidChange(n)),this._register(gt.p.onDidChange(n)),this._register(gt.i.onDidChange(n)),this._register(gt.m.onDidChange(n)),this._register(gt.v.onDidChange(n)),this._register(gt.w.onDidChange(n)),this._register(gt.g.onDidChange(n)),this._register(gt.j.onDidChange(n)),this._register(gt.y.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const e=this._editor.getModel();e?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(gt.d.has(e)),this._hasCodeActionsProvider.set(gt.a.has(e)),this._hasCodeLensProvider.set(gt.b.has(e)),this._hasDefinitionProvider.set(gt.f.has(e)),this._hasDeclarationProvider.set(gt.e.has(e)),this._hasImplementationProvider.set(gt.q.has(e)),this._hasTypeDefinitionProvider.set(gt.D.has(e)),this._hasHoverProvider.set(gt.p.has(e)),this._hasDocumentHighlightProvider.set(gt.i.has(e)),this._hasDocumentSymbolProvider.set(gt.m.has(e)),this._hasReferenceProvider.set(gt.v.has(e)),this._hasRenameProvider.set(gt.w.has(e)),this._hasSignatureHelpProvider.set(gt.y.has(e)),this._hasDocumentFormattingProvider.set(gt.g.has(e)||gt.j.has(e)),this._hasDocumentSelectionFormattingProvider.set(gt.j.has(e)),this._hasMultipleDocumentFormattingProvider.set(gt.g.all(e).length+gt.j.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(gt.j.all(e).length>1),this._isInWalkThrough.set(e.uri.scheme===l.b.walkThroughSnippet)}):this.reset()}}class qi extends a.a{constructor(e){super(),this._onChange=this._register(new s.a),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(r.bb(e)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const $i=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Ki=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Gi(e){return $i+encodeURIComponent(e.toString())+Ki}const Yi=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Zi=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(B.g)((e,t)=>{const n=e.getColor(_t.t);n&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${n}; }`);const i=e.getColor(_t.u);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${Gi(i)}") repeat-x bottom left; }`);const r=e.getColor(_t.S);r&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${r}; }`);const o=e.getColor(_t.T);o&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${Gi(o)}") repeat-x bottom left; }`);const s=e.getColor(_t.K);s&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${s}; }`);const a=e.getColor(_t.L);a&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${Gi(a)}") repeat-x bottom left; }`);const l=e.getColor(_t.C);l&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${l}; }`);const c=e.getColor(_t.D);var d;c&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${d=c,Yi+encodeURIComponent(d.toString())+Zi}") no-repeat bottom left; }`);const h=e.getColor(Te.p);h&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${h.rgba.a}; }`);const u=e.getColor(Te.o);u&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${u}; }`);const p=e.getColor(_t.B)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${p}}`)})},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(1);function r(e,t={}){const n=s(t);return n.textContent=e,n}function o(e,t={}){const n=s(t);return function e(t,n,r){let o;if(2===n.type)o=document.createTextNode(n.content||"");else if(3===n.type)o=document.createElement("b");else if(4===n.type)o=document.createElement("i");else if(5===n.type&&r){const e=document.createElement("a");e.href="#",r.disposeables.add(i.n(e,"click",e=>{r.callback(String(n.index),e)})),o=e}else 7===n.type?o=document.createElement("br"):1===n.type&&(o=t);o&&t!==o&&t.appendChild(o);o&&Array.isArray(n.children)&&n.children.forEach(t=>{e(o,t,r)})}(n,function(e){const t={type:1,children:[]};let n=0,i=t;const r=[],o=new a(e);for(;!o.eos();){let e=o.next();const t="\\"===e&&0!==l(o.peek());if(t&&(e=o.next()),t||0===l(e)||e!==o.peek())if("\n"===e)2===i.type&&(i=r.pop()),i.children.push({type:7});else if(2!==i.type){const t={type:2,content:e};i.children.push(t),r.push(i),i=t}else i.content+=e;else{o.advance(),2===i.type&&(i=r.pop());const t=l(e);if(i.type===t||5===i.type&&6===t)i=r.pop();else{const e={type:t,children:[]};5===t&&(e.index=n,n++),i.children.push(e),r.push(i),i=e}}}2===i.type&&(i=r.pop());r.length;return t}(e),t.actionHandler),n}function s(e){const t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}class a{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(6),r=n(2),o=n(18);const s=Object(o.c)("IStorageKeysSyncRegistryService");class a extends r.a{constructor(){super(),this._storageKeys=new Map,this._onDidChangeStorageKeys=this._register(new i.a),this._register(Object(r.h)(()=>this._storageKeys.clear()))}get storageKeys(){return[...this._storageKeys.values()]}registerStorageKey(e){this._storageKeys.has(e.key)||(this._storageKeys.set(e.key,e),this._onDidChangeStorageKeys.fire(this.storageKeys))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return f}));var i=n(34),r=n(1),o=n(20),s=n(6),a=n(2),l=n(11),c=n(8),d=n(127),h=n(9),u=n(21),p=n(138);const m={forceCopyWithSyntaxHighlighting:!1};class g{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}g.INSTANCE=new g;class f extends a.a{constructor(e,t){super(),this.textArea=t,this._onFocus=this._register(new s.a),this.onFocus=this._onFocus.event,this._onBlur=this._register(new s.a),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new s.a),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new s.a),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new s.a),this.onCut=this._onCut.event,this._onPaste=this._register(new s.a),this.onPaste=this._onPaste.event,this._onType=this._register(new s.a),this.onType=this._onType.event,this._onCompositionStart=this._register(new s.a),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new s.a),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new s.a),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new s.a),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._host=e,this._textArea=this._register(new _(t)),this._asyncTriggerCut=this._register(new o.d(()=>this._onCut.fire(),0)),this._textAreaState=d.b.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let n=null;this._register(r.n(t.domNode,"keydown",e=>{(109===e.keyCode||this._isDoingComposition&&1===e.keyCode)&&e.stopPropagation(),e.equals(9)&&e.preventDefault(),n=e,this._onKeyDown.fire(e)})),this._register(r.n(t.domNode,"keyup",e=>{this._onKeyUp.fire(e)})),this._register(r.i(t.domNode,"compositionstart",e=>{if(this._isDoingComposition)return;this._isDoingComposition=!0;let t=!1;l.f&&n&&n.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"!==n.code&&"ArrowLeft"!==n.code||(t=!0)),t?this._textAreaState=new d.b(this._textAreaState.value,this._textAreaState.selectionStart-1,this._textAreaState.selectionEnd,this._textAreaState.selectionStartPosition?new h.a(this._textAreaState.selectionStartPosition.lineNumber,this._textAreaState.selectionStartPosition.column-1):null,this._textAreaState.selectionEndPosition):i.f||this._setAndWriteTextAreaState("compositionstart",d.b.EMPTY),this._onCompositionStart.fire({moveOneCharacterLeft:t})}));const a=e=>{const t=this._textAreaState,n=d.b.readFromTextArea(this._textArea);return[n,d.b.deduceInput(t,n,e)]},u=e=>{const t=this._textAreaState,n=d.b.selectedText(e);return[n,{text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart}]},p=e=>!(!i.f||"ja"!==e);this._register(r.i(t.domNode,"compositionupdate",e=>{if(p(e.locale)){const[t,n]=a(!1);return this._textAreaState=t,this._onType.fire(n),void this._onCompositionUpdate.fire(e)}const[t,n]=u(e.data||"");this._textAreaState=t,this._onType.fire(n),this._onCompositionUpdate.fire(e)})),this._register(r.i(t.domNode,"compositionend",e=>{if(this._isDoingComposition){if(p(e.locale)){const[e,t]=a(!1);this._textAreaState=e,this._onType.fire(t)}else{const[t,n]=u(e.data||"");this._textAreaState=t,this._onType.fire(n)}(i.f||i.e)&&(this._textAreaState=d.b.readFromTextArea(this._textArea)),this._isDoingComposition&&(this._isDoingComposition=!1,this._onCompositionEnd.fire())}})),this._register(r.i(t.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),this._isDoingComposition)return;const[e,t]=a(l.f);0===t.replaceCharCnt&&1===t.text.length&&c.F(t.text.charCodeAt(0))||(this._textAreaState=e,0===this._nextCommand?""!==t.text&&this._onType.fire(t):(""===t.text&&0===t.replaceCharCnt||this._firePaste(t.text,null),this._nextCommand=0))})),this._register(r.i(t.domNode,"cut",e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(r.i(t.domNode,"copy",e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(r.i(t.domNode,"paste",e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),b.canUseTextData(e)){const[t,n]=b.getTextData(e);""!==t&&this._firePaste(t,n)}else this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",d.b.EMPTY),this._nextCommand=1})),this._register(r.i(t.domNode,"focus",()=>{this._setHasFocus(!0)})),this._register(r.i(t.domNode,"blur",()=>{this._setHasFocus(!1)}))}_installSelectionChangeListener(){let e=0;return r.i(document,"selectionchange",t=>{if(!this._hasFocus)return;if(this._isDoingComposition)return;if(!i.e)return;const n=Date.now(),r=n-e;if(e=n,r<5)return;const o=n-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),o<100)return;if(!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const s=this._textArea.getValue();if(this._textAreaState.value!==s)return;const a=this._textArea.getSelectionStart(),l=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===a&&this._textAreaState.selectionEnd===l)return;const c=this._textAreaState.deduceEditorPosition(a),d=this._host.deduceModelPosition(c[0],c[1],c[2]),h=this._textAreaState.deduceEditorPosition(l),p=this._host.deduceModelPosition(h[0],h[1],h[2]),m=new u.a(d.lineNumber,d.column,p.lineNumber,p.column);this._onSelectionChangeRequest.fire(m)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){const e=r.E(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):r.N(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(i.f?this._setAndWriteTextAreaState("focusgain",d.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(b.canUseTextData(e)&&p.a.clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};g.INSTANCE.set(i.h?t.text.replace(/\r\n/g,"\n"):t.text,n),b.canUseTextData(e)?b.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",d.b.selectedText(t.text))}_firePaste(e,t){t||(t=g.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})}}class b{static canUseTextData(e){return!!e.clipboardData||!!window.clipboardData}static getTextData(e){if(e.clipboardData){e.preventDefault();const t=e.clipboardData.getData("text/plain");let n=null;const i=e.clipboardData.getData("vscode-editor-data");if("string"==typeof i)try{n=JSON.parse(i),1!==n.version&&(n=null)}catch(e){}return[t,n]}if(window.clipboardData){e.preventDefault();return[window.clipboardData.getData("Text"),null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(e,t,n,i){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"==typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(i)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")}}class _ extends a.a{constructor(e){super(),this._actual=e,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(e,t){const n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)}getSelectionStart(){return this._actual.domNode.selectionStart}getSelectionEnd(){return this._actual.domNode.selectionEnd}setSelectionRange(e,t,n){const o=this._actual.domNode;let s=null;const a=r.E(o);s=a?a.activeElement:document.activeElement;const l=s===o,c=o.selectionStart,d=o.selectionEnd;if(l&&c===t&&d===n)i.h&&window.parent!==window&&o.focus();else{if(l)return this.setIgnoreSelectionChangeTime("setSelectionRange"),o.setSelectionRange(t,n),void(i.h&&window.parent!==window&&o.focus());try{const e=r.X(o);this.setIgnoreSelectionChangeTime("setSelectionRange"),o.focus(),o.setSelectionRange(t,n),r.V(o,e)}catch(e){}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));class i{constructor(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class r{constructor(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1}setColorZone(e){this._colorZone=e}getColorZones(){return this._colorZone}}class o{constructor(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(e){this._zones=e,this._zones.sort(r.compare)}setLineHeight(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)}setPixelRatio(e){this._pixelRatio=e,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)}resolveColorZones(){const e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),r=n/Math.floor(this._outerHeight),o=Math.floor(4*this._pixelRatio/2);let s=[];for(let a=0,l=this._zones.length;a<l;a++){const l=this._zones[a];if(!e){const e=l.getColorZones();if(e){s.push(e);continue}}const c=Math.floor(r*this._getVerticalOffsetForLine(l.startLineNumber)),d=Math.floor(r*(this._getVerticalOffsetForLine(l.endLineNumber)+t));let h=Math.floor((c+d)/2),u=d-h;u<o&&(u=o),h-u<0&&(h=u),h+u>n&&(h=n-u);const p=l.color;let m=this._color2Id[p];m||(m=++this._lastAssignedId,this._color2Id[p]=m,this._id2Color[m]=p);const g=new i(h-u,h+u,m);l.setColorZone(g),s.push(g)}return this._colorZonesInvalid=!1,s.sort(i.compare),s}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var i=n(23),r=n(51),o=n(18);n(78);const s=Object(o.c)("contextService");var a,l;!function(e){e.isIWorkspace=function(e){return!(!e||"object"!=typeof e||"string"!=typeof e.id||!Array.isArray(e.folders))}}(a||(a={})),function(e){e.isIWorkspaceFolder=function(e){return!(!e||"object"!=typeof e||!i.a.isUri(e.uri)||"string"!=typeof e.name||"function"!=typeof e.toResource)}}(l||(l={}));class c{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toResource(e){return r.g(this.uri,e)}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(6),r=n(2);class o{constructor(e,t,n,i,r,o){e|=0,t|=0,n|=0,i|=0,r|=0,o|=0,this.rawScrollLeft=n,this.rawScrollTop=o,e<0&&(e=0),n+e>t&&(n=t-e),n<0&&(n=0),i<0&&(i=0),o+i>r&&(o=r-i),o<0&&(o=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=r,this.scrollTop=o}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new o(void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new o(this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e){const t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,i=this.scrollLeft!==e.scrollLeft,r=this.height!==e.height,o=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:i,heightChanged:r,scrollHeightChanged:o,scrollTopChanged:s}}}class s extends r.a{constructor(e,t){super(),this._onScroll=this._register(new i.a),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e,this._scheduleAtNextAnimationFrame=t,this._state=new o(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){const n=this._state.withScrollDimensions(e,t);this._setState(n),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)}setScrollPositionSmooth(e){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};const t=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===t.scrollLeft&&this._smoothScrolling.to.scrollTop===t.scrollTop)return;const n=this._smoothScrolling.combine(this._state,t,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=n}else{const t=this._state.withScrollPosition(e);this._smoothScrolling=c.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);return this._setState(t),this._smoothScrolling?e.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})):void 0}_setState(e){const t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))}}class a{constructor(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}}function l(e,t){const n=t-e;return function(t){return e+n*(1-function(e){return Math.pow(e,3)}(1-t))}}class c{constructor(e,t,n,i){this.from=e,this.to=t,this.duration=i,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,n){if(Math.abs(e-t)>2.5*n){let s,a;return e<t?(s=e+.75*n,a=t-.75*n):(s=e-.75*n,a=t+.75*n),i=l(e,s),r=l(a,t),o=.33,function(e){return e<o?i(e/o):r((e-o)/(1-o))}}var i,r,o;return l(e,t)}dispose(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){const t=(e-this._startTime)/this.duration;if(t<1){const e=this.scrollLeft(t),n=this.scrollTop(t);return new a(e,n,!1)}return new a(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,n){return c.start(e,t,n)}static start(e,t,n){n+=10;const i=Date.now()-10;return new c(e,t,i,n)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("dialogService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));n(269);var i=n(1),r=n(156),o=n(2),s=n(99),a=n(46);class l{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set title(e){this.disposed||e===this._title||(this._title=e,this._title?this._element.title=e:this._element.removeAttribute("title"))}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class c extends o.a{constructor(e,t){super(),this.domNode=this._register(new l(i.p(e,i.a(".monaco-icon-label"))));const n=i.p(this.domNode.element,i.a(".monaco-icon-label-container")),o=i.p(n,i.a("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new l(i.p(n,i.a("span.monaco-icon-description-container")))),(null==t?void 0:t.supportHighlights)?this.nameNode=new h(o,!!t.supportCodicons):this.nameNode=new d(o),(null==t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new r.a(i.p(this.descriptionContainer.element,i.a("span.label-description")),!!t.supportCodicons):this.descriptionNodeFactory=()=>this._register(new l(i.p(this.descriptionContainer.element,i.a("span.label-description"))))}setLabel(e,t,n){const i=["monaco-icon-label"];n&&(n.extraClasses&&i.push(...n.extraClasses),n.italic&&i.push("italic"),n.strikethrough&&i.push("strikethrough")),this.domNode.className=i.join(" "),this.domNode.title=(null==n?void 0:n.title)||"",this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof r.a?(this.descriptionNode.set(t||"",n?n.descriptionMatches:void 0),(null==n?void 0:n.descriptionTitle)?this.descriptionNode.element.title=n.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=t||"",this.descriptionNode.title=(null==n?void 0:n.descriptionTitle)||"",this.descriptionNode.empty=!t))}}class d{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Object(a.e)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",i.Q(this.container,"multiple"),this.singleLabel=i.p(this.container,i.a("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",i.e(this.container,"multiple"),this.singleLabel=void 0;for(let n=0;n<e.length;n++){const r=e[n],o=(null==t?void 0:t.domId)&&`${null==t?void 0:t.domId}_${n}`;i.p(this.container,i.a("a.label-name",{id:o,"data-icon-label-count":e.length,"data-icon-label-index":n,role:"treeitem"},r)),n<e.length-1&&i.p(this.container,i.a("span.label-separator",void 0,(null==t?void 0:t.separator)||"/"))}}}}class h{constructor(e,t){this.container=e,this.supportCodicons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Object(a.e)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",i.Q(this.container,"multiple"),this.singleLabel=new r.a(i.p(this.container,i.a("a.label-name",{id:null==t?void 0:t.domId})),this.supportCodicons)),this.singleLabel.set(e,null==t?void 0:t.matches,null==t?void 0:t.title,null==t?void 0:t.labelEscapeNewLines);else{this.container.innerText="",i.e(this.container,"multiple"),this.singleLabel=void 0;const n=(null==t?void 0:t.separator)||"/",o=function(e,t,n){if(!n)return;let i=0;return e.map(e=>{const r={start:i,end:i+e.length},o=n.map(e=>s.a.intersect(r,e)).filter(e=>!s.a.isEmpty(e)).map(({start:e,end:t})=>({start:e-i,end:t-i}));return i=r.end+t.length,o})}(e,n,null==t?void 0:t.matches);for(let s=0;s<e.length;s++){const a=e[s],l=o?o[s]:void 0,c=(null==t?void 0:t.domId)&&`${null==t?void 0:t.domId}_${s}`,d=i.a("a.label-name",{id:c,"data-icon-label-count":e.length,"data-icon-label-index":s,role:"treeitem"});new r.a(i.p(this.container,d),this.supportCodicons).set(a,l,null==t?void 0:t.title,null==t?void 0:t.labelEscapeNewLines),s<e.length-1&&i.p(d,i.a("span.label-separator",void 0,n))}}}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return v}));n(273);var i=n(0),r=n(1),o=n(165),s=n(66),a=n(116),l=n(6),c=n(82),d=n(15),h=n(46);class u{constructor(e,t=0,n=e.length,i=t-1){this.items=e,this.start=t,this.end=n,this.index=i}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class p{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new u(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){const e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach(t=>e.push(t)),e}}var m=n(105),g=n(44);const f=r.a,b={inputBackground:d.a.fromHex("#3C3C3C"),inputForeground:d.a.fromHex("#CCCCCC"),inputValidationInfoBorder:d.a.fromHex("#55AAFF"),inputValidationInfoBackground:d.a.fromHex("#063B49"),inputValidationWarningBorder:d.a.fromHex("#B89500"),inputValidationWarningBackground:d.a.fromHex("#352A05"),inputValidationErrorBorder:d.a.fromHex("#BE1100"),inputValidationErrorBackground:d.a.fromHex("#5A1D1D")};class _ extends c.a{constructor(e,t,n){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new l.a),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new l.a),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=n||Object.create(null),Object(h.g)(this.options,b,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=r.p(e,f(".monaco-inputbox.idle"));let i=this.options.flexibleHeight?"textarea":"input",o=r.p(this.element,f(".wrapper"));if(this.input=r.p(o,f(i+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=r.p(o,f("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new m.b(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),r.p(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));const t=l.b.filter(Object(g.a)(document,"selectionchange"),()=>{const e=document.getSelection();return(null==e?void 0:e.anchorNode)===o});this._register(t(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&this.setPlaceHolder(this.placeholder),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new a.a(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage()}onFocus(){this._showMessage()}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:r.G(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return r.H(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;if(this.mirror){t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)}this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${e}px)`:this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));const n=this.stylesForType(this.message.type);this.element.style.border=n.border?"1px solid "+n.border:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!e}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e,t,n=()=>e.style.width=r.H(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(!this.message)return null;e=r.p(t,f(".monaco-inputbox-container")),n();const i={inline:!0,className:"monaco-inputbox-message"},s=this.message.formatContent?Object(o.b)(this.message.content,i):Object(o.c)(this.message.content,i);s.classList.add(this.classForType(this.message.type));const a=this.stylesForType(this.message.type);return s.style.backgroundColor=a.background?a.background.toString():"",s.style.color=a.foreground?a.foreground.toString():"",s.style.border=a.border?"1px solid "+a.border:"",r.p(e,s),null},onHide:()=>{this.state="closed"},layout:n}),t=3===this.message.type?i.a("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?i.a("alertWarningMessage","Warning: {0}",this.message.content):i.a("alertInfoMessage","Info: {0}",this.message.content),s.a(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";e+t?this.mirror.textContent=e+t:this.mirror.innerText=" ",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=r.G(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,r=t.value;null!==n&&null!==i&&(this.value=r.substr(0,n)+e+r.substr(i),t.setSelectionRange(n+1,n+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class v extends _{constructor(e,t,n){super(e,t,n),this.history=new p(n.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,s.c(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,s.c(this.value))}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},function(e,t,n){"use strict";function i(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return m}));var i=n(0),r=n(13),o=n(21),s=n(23),a=n(180),l=n(72);function c(e){return e.toString()}class d{constructor(e,t,n,i,r,o,s){this.beforeVersionId=e,this.afterVersionId=t,this.beforeEOL=n,this.afterEOL=i,this.beforeCursorState=r,this.afterCursorState=o,this.changes=s}static create(e,t){const n=e.getAlternativeVersionId(),i=u(e);return new d(n,n,i,i,t,t,[])}append(e,t,n,i,r){t.length>0&&(this.changes=Object(a.b)(this.changes,t)),this.afterEOL=n,this.afterVersionId=i,this.afterCursorState=r}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,n){if(l.f(e,t?t.length:0,n),n+=4,t)for(const i of t)l.f(e,i.selectionStartLineNumber,n),n+=4,l.f(e,i.selectionStartColumn,n),n+=4,l.f(e,i.positionLineNumber,n),n+=4,l.f(e,i.positionColumn,n),n+=4;return n}static _readSelections(e,t,n){const i=l.c(e,t);t+=4;for(let r=0;r<i;r++){const i=l.c(e,t);t+=4;const r=l.c(e,t);t+=4;const s=l.c(e,t);t+=4;const a=l.c(e,t);t+=4,n.push(new o.a(i,r,s,a))}return t}serialize(){let e=10+d._writeSelectionsSize(this.beforeCursorState)+d._writeSelectionsSize(this.afterCursorState)+4;for(const t of this.changes)e+=t.writeSize();const t=new Uint8Array(e);let n=0;l.f(t,this.beforeVersionId,n),n+=4,l.f(t,this.afterVersionId,n),n+=4,l.g(t,this.beforeEOL,n),n+=1,l.g(t,this.afterEOL,n),n+=1,n=d._writeSelections(t,this.beforeCursorState,n),n=d._writeSelections(t,this.afterCursorState,n),l.f(t,this.changes.length,n),n+=4;for(const e of this.changes)n=e.write(t,n);return t.buffer}static deserialize(e){const t=new Uint8Array(e);let n=0;const i=l.c(t,n);n+=4;const r=l.c(t,n);n+=4;const o=l.d(t,n);n+=1;const s=l.d(t,n);n+=1;const c=[];n=d._readSelections(t,n,c);const h=[];n=d._readSelections(t,n,h);const u=l.c(t,n);n+=4;const p=[];for(let e=0;e<u;e++)n=a.a.read(t,n,p);return new d(i,r,o,s,c,h,p)}}class h{constructor(e,t){this.model=e,this._data=d.create(e,t)}get type(){return 0}get resource(){return s.a.isUri(this.model)?this.model:this.model.uri}get label(){return i.a("edit","Typing")}toString(){return(this._data instanceof d?this._data:d.deserialize(this._data)).changes.map(e=>e.toString()).join(", ")}matchesResource(e){return(s.a.isUri(this.model)?this.model:this.model.uri).toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof d}append(e,t,n,i,r){this._data instanceof d&&this._data.append(e,t,n,i,r)}close(){this._data instanceof d&&(this._data=this._data.serialize())}undo(){if(s.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());const e=d.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(s.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());const e=d.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}}function u(e){return"\n"===e.getEOL()?0:1}function p(e){return!!e&&(e instanceof h||e instanceof class{constructor(e,t){this.type=1,this.label=e,this._isOpen=!0,this._editStackElementsArr=t.slice(0),this._editStackElementsMap=new Map;for(const e of this._editStackElementsArr){const t=c(e.resource);this._editStackElementsMap.set(t,e)}this._delegate=null}get resources(){return this._editStackElementsArr.map(e=>e.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){const t=c(e);return this._editStackElementsMap.has(t)}setModel(e){const t=c(s.a.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;const t=c(e.uri);if(this._editStackElementsMap.has(t)){return this._editStackElementsMap.get(t).canAppend(e)}return!1}append(e,t,n,i,r){const o=c(e.uri);this._editStackElementsMap.get(o).append(e,t,n,i,r)}close(){this._isOpen=!1}undo(){this._isOpen=!1;for(const e of this._editStackElementsArr)e.undo()}redo(){for(const e of this._editStackElementsArr)e.redo()}split(){return this._editStackElementsArr}})}class m{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);p(e)&&e.close()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);if(p(t)&&t.canAppend(this._model))return t;const n=new h(this._model,e);return this._undoRedoService.pushElement(n),n}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],u(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,n){const i=this._getOrCreateEditStackElement(e),r=this._model.applyEdits(t,!0),o=m._computeCursorState(n,r),s=r.map((e,t)=>({index:t,textChange:e.textChange}));return s.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),i.append(this._model,s.map(e=>e.textChange),u(this._model),this._model.getAlternativeVersionId(),o),o}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return Object(r.e)(e),null}}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,o,s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new g(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var s=f[o];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=s):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?_:b,i="",r=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=h,i+=h),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(u=s.charCodeAt(1))>=65&&u<=90&&(s="/"+String.fromCharCode(u+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var u;(u=s.charCodeAt(0))>=65&&u<=90&&(s=String.fromCharCode(u+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));let i=!1,r=null;function o(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,n=e.parent.location;if("null"!==t.origin&&"null"!==n.origin&&(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port))return i=!0,null}catch(e){return i=!0,null}return e.parent}class s{static getSameOriginWindowChain(){if(!r){r=[];let e,t=window;do{e=o(t),e?r.push({window:t,iframeElement:t.frameElement||null}):r.push({window:t,iframeElement:null}),t=e}while(t)}return r.slice(0)}static hasDifferentOriginAncestor(){return r||this.getSameOriginWindowChain(),i}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0,r=this.getSameOriginWindowChain();for(const e of r){if(n+=e.window.scrollY,i+=e.window.scrollX,e.window===t)break;if(!e.iframeElement)break;let r=e.iframeElement.getBoundingClientRect();n+=r.top,i+=r.left}return{top:n,left:i}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(72),r=n(23);function o(e){let t=JSON.parse(e);return t=function e(t,n=0){if(!t||n>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return r.a.revive(t);case 2:return new RegExp(t.source,t.flags)}if(t instanceof i.a||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let i=0;i<t.length;++i)t[i]=e(t[i],n+1);else for(const i in t)Object.hasOwnProperty.call(t,i)&&(t[i]=e(t[i],n+1))}return t}(t),t}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(8),r=n(42);function o(e){return e.replace(/[\\/]/g,r.e.sep)}function s(e,t,n,o=r.h){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!Object(i.T)(e,t))return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===o&&n--,e.charAt(n)===o}return t.charAt(t.length-1)!==o&&(t+=o),0===e.indexOf(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var i=n(72),r=n(132);class o{constructor(e,t,n,i){this.oldPosition=e,this.oldText=t,this.newPosition=n,this.newText=i}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${this.newText}")`:0===this.newText.length?`(delete@${this.oldPosition} "${this.oldText}")`:`(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,n){const r=t.length;i.f(e,r,n),n+=4;for(let o=0;o<r;o++)i.e(e,t.charCodeAt(o),n),n+=2;return n}static _readString(e,t){const n=i.c(e,t);return t+=4,Object(r.b)(e,t,n)}writeSize(){return 8+o._writeStringSize(this.oldText)+o._writeStringSize(this.newText)}write(e,t){return i.f(e,this.oldPosition,t),t+=4,i.f(e,this.newPosition,t),t+=4,t=o._writeString(e,this.oldText,t),t=o._writeString(e,this.newText,t)}static read(e,t,n){const r=i.c(e,t);t+=4;const s=i.c(e,t);t+=4;const a=o._readString(e,t);t+=o._writeStringSize(a);const l=o._readString(e,t);return t+=o._writeStringSize(l),n.push(new o(r,a,s,l)),t}}function s(e,t){if(null===e||0===e.length)return t;return new a(e,t).compress()}class a{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,n=this._getPrev(e),i=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){if(null===n){this._acceptCurr(i),i=this._getCurr(++t);continue}if(null===i){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldEnd<=n.newPosition){this._acceptCurr(i),i=this._getCurr(++t);continue}if(n.newEnd<=i.oldPosition){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldPosition<n.newPosition){const[e,t]=a._splitCurr(i,n.newPosition-i.oldPosition);this._acceptCurr(e),i=t;continue}if(n.newPosition<i.oldPosition){const[e,t]=a._splitPrev(n,i.oldPosition-n.newPosition);this._acceptPrev(e),n=t;continue}let r,s;if(i.oldEnd===n.newEnd)r=n,s=i,n=this._getPrev(++e),i=this._getCurr(++t);else if(i.oldEnd<n.newEnd){const[e,o]=a._splitPrev(n,i.oldLength);r=e,s=i,n=o,i=this._getCurr(++t)}else{const[t,o]=a._splitCurr(i,n.newLength);r=n,s=t,n=this._getPrev(++e),i=o}this._result[this._resultLen++]=new o(r.oldPosition,r.oldText,s.newPosition,s.newText),this._prevDeltaOffset+=r.newLength-r.oldLength,this._currDeltaOffset+=s.newLength-s.oldLength}const r=a._merge(this._result);return a._removeNoOps(r)}_acceptCurr(e){this._result[this._resultLen++]=a._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=a._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new o(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new o(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const n=e.newText.substr(0,t),i=e.newText.substr(t);return[new o(e.oldPosition,e.oldText,e.newPosition,n),new o(e.oldEnd,"",e.newPosition+t,i)]}static _splitCurr(e,t){const n=e.oldText.substr(0,t),i=e.oldText.substr(t);return[new o(e.oldPosition,n,e.newPosition,e.newText),new o(e.oldPosition+t,i,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;let t=[],n=0,i=e[0];for(let r=1;r<e.length;r++){const s=e[r];i.oldEnd===s.oldPosition?i=new o(i.oldPosition,i.oldText+s.oldText,i.newPosition,i.newText+s.newText):(t[n++]=i,i=s)}return t[n++]=i,t}static _removeNoOps(e){if(0===e.length)return e;let t=[],n=0;for(let i=0;i<e.length;i++){const r=e[i];r.oldText!==r.newText&&(t[n++]=r)}return t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(8),r=n(62),o=n(22),s=n(81),a=n(3);class l{static deleteRight(e,t,n,i){let o=[],l=3!==e;for(let e=0,c=i.length;e<c;e++){const c=i[e];let d=c;if(d.isEmpty()){let e=c.getPosition(),i=s.a.right(t,n,e.lineNumber,e.column);d=new a.a(i.lineNumber,i.column,e.lineNumber,e.column)}d.isEmpty()?o[e]=null:(d.startLineNumber!==d.endLineNumber&&(l=!0),o[e]=new r.a(d,""))}return[l,o]}static _isAutoClosingPairDelete(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(let i=0,r=n.length;i<r;i++){const r=n[i],s=r.getPosition();if(!r.isEmpty())return!1;const a=t.getLineContent(s.lineNumber),l=a[s.column-2],c=e.autoClosingPairsOpen2.get(l);if(!c)return!1;if(Object(o.g)(l)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;const d=a[s.column-1];let h=!1;for(const e of c)e.open===l&&e.close===d&&(h=!0);if(!h)return!1}return!0}static _runAutoClosingPairDelete(e,t,n){let i=[];for(let e=0,t=n.length;e<t;e++){const t=n[e].getPosition(),o=new a.a(t.lineNumber,t.column-1,t.lineNumber,t.column+1);i[e]=new r.a(o,"")}return[!0,i]}static deleteLeft(e,t,n,l){if(this._isAutoClosingPairDelete(t,n,l))return this._runAutoClosingPairDelete(t,n,l);let c=[],d=2!==e;for(let e=0,h=l.length;e<h;e++){const h=l[e];let u=h;if(u.isEmpty()){let e=h.getPosition();if(t.useTabStops&&e.column>1){let r=n.getLineContent(e.lineNumber),s=i.w(r),l=-1===s?r.length+1:s+1;if(e.column<=l){let i=o.a.visibleColumnFromColumn2(t,n,e),r=o.a.prevIndentTabStop(i,t.indentSize),s=o.a.columnFromVisibleColumn2(t,n,e.lineNumber,r);u=new a.a(e.lineNumber,s,e.lineNumber,e.column)}else u=new a.a(e.lineNumber,e.column-1,e.lineNumber,e.column)}else{let i=s.a.left(t,n,e.lineNumber,e.column);u=new a.a(i.lineNumber,i.column,e.lineNumber,e.column)}}u.isEmpty()?c[e]=null:(u.startLineNumber!==u.endLineNumber&&(d=!0),c[e]=new r.a(u,""))}return[d,c]}static cut(e,t,n){let i=[];for(let o=0,s=n.length;o<s;o++){const s=n[o];if(s.isEmpty())if(e.emptySelectionClipboard){let e,n,l,c,d=s.getPosition();d.lineNumber<t.getLineCount()?(e=d.lineNumber,n=1,l=d.lineNumber+1,c=1):d.lineNumber>1?(e=d.lineNumber-1,n=t.getLineMaxColumn(d.lineNumber-1),l=d.lineNumber,c=t.getLineMaxColumn(d.lineNumber)):(e=d.lineNumber,n=1,l=d.lineNumber,c=t.getLineMaxColumn(d.lineNumber));let h=new a.a(e,n,l,c);h.isEmpty()?i[o]=null:i[o]=new r.a(h,"")}else i[o]=null;else i[o]=new r.a(s,"")}return new o.e(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l}));var i=n(8),r=n(111),o=n(90);const s={getInitialState:()=>o.c,tokenize2:(e,t,n)=>Object(o.e)(0,e,t,n)};function a(e,t=s){return function(e,t){let n='<div class="monaco-tokenized-source">',o=e.split(/\r\n|\r|\n/),s=t.getInitialState();for(let e=0,a=o.length;e<a;e++){let a=o[e];e>0&&(n+="<br/>");let l=t.tokenize2(a,s,0);r.a.convertToEndOffset(l.tokens,a.length);let c=new r.a(l.tokens,a).inflate(),d=0;for(let e=0,t=c.getCount();e<t;e++){const t=c.getClassName(e),r=c.getEndOffset(e);n+=`<span class="${t}">${i.u(a.substring(d,r))}</span>`,d=r}s=l.endState}return n+="</div>",n}(e,t||s)}function l(e,t,n,i,r,o,s){let a="<div>",l=i,c=0;for(let d=0,h=t.getCount();d<h;d++){const h=t.getEndOffset(d);if(h<=i)continue;let u="";for(;l<h&&l<r;l++){const t=e.charCodeAt(l);switch(t){case 9:let e=o-(l+c)%o;for(c+=e-1;e>0;)u+=s?" ":" ",e--;break;case 60:u+="<";break;case 62:u+=">";break;case 38:u+="&";break;case 0:u+="�";break;case 65279:case 8232:case 8233:case 133:u+="�";break;case 13:u+="​";break;case 32:u+=s?" ":" ";break;default:u+=String.fromCharCode(t)}}if(a+=`<span style="${t.getInlineStyle(d,n)}">${u}</span>`,h>r||l>=r)break}return a+="</div>",a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return L}));var i=n(6),r=n(2),o=n(11),s=n(13),a=n(26),l=n(30),c=n(12),d=n(146),h=n(152),u=n(54),p=n(20),m=n(25),g=n(19),f=n(102),b=n(150),_=n(89),v=n(175),w=n(184),y=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},C=function(e,t){return function(n,i){t(n,i,e)}};function x(e){return e.toString()}class S{constructor(e,t,n){this._modelEventListeners=new r.b,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>n(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageIdentifier)),this.model.setMode(e.languageIdentifier)}}const k=o.d||o.f?1:2;let E=class e extends r.a{constructor(e,t,n,r,o){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=n,this._logService=r,this._undoRedoService=o,this._onModelAdded=this._register(new i.a),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new i.a),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new i.a),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new I(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new N(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(e,t){let n=a.d.tabSize;if(e.editor&&void 0!==e.editor.tabSize){const t=parseInt(e.editor.tabSize,10);isNaN(t)||(n=t),n<1&&(n=1)}let i=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){const t=parseInt(e.editor.indentSize,10);isNaN(t)||(i=t),i<1&&(i=1)}let r=a.d.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(r="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));let o=k;const s=e.eol;"\r\n"===s?o=2:"\n"===s&&(o=1);let l=a.d.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));let c=a.d.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));let d=a.d.largeFileOptimizations;return e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:i,insertSpaces:r,detectIndentation:c,defaultEOL:o,trimAutoWhitespace:l,largeFileOptimizations:d}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const n=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return n&&"auto"!==n?n:3===o.a||2===o.a?"\n":"\r\n"}getCreationOptions(t,n,i){let r=this._modelCreationOptionsByLanguageAndResource[t+n];if(!r){const o=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:n}),s=this._getEOL(n,t);r=e._readModelOptions({editor:o,eol:s},i),this._modelCreationOptionsByLanguageAndResource[t+n]=r}return r}_updateModelOptions(){const t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const n=Object.keys(this._models);for(let i=0,r=n.length;i<r;i++){const r=n[i],o=this._models[r],s=o.model.getLanguageIdentifier().language,a=o.model.uri,l=t[s+a],c=this.getCreationOptions(s,a,o.model.isForSimpleWidget);e._setModelOptionsForModel(o.model,c,l)}}static _setModelOptionsForModel(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))}_removeDisposedModel(e){const t=this._disposedModels.get(x(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(x(e)),t}_createModelData(e,t,n,i){const r=this.getCreationOptions(t.language,n,i),o=new l.b(e,r,t,n,this._undoRedoService);if(n&&this._disposedModels.has(x(n))){const e=this._removeDisposedModel(n),t=this._undoRedoService.getElements(n),i=function(e){const t=new _.a,n=e.createSnapshot();let i;for(;i=n.read();)t.update(i);return t.digest()}(o)===e.sha1;if(i||e.sharesUndoRedoStack){for(const e of t.past)Object(v.b)(e)&&e.matchesResource(n)&&e.setModel(o);for(const e of t.future)Object(v.b)(e)&&e.matchesResource(n)&&e.setModel(o);this._undoRedoService.setElementsValidFlag(n,!0,e=>Object(v.b)(e)&&e.matchesResource(n)),i&&(o._overwriteVersionId(e.versionId),o._overwriteAlternativeVersionId(e.alternativeVersionId),o._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}const s=x(o.uri);if(this._models[s])throw new Error("ModelService: Cannot add model because it already exists!");const a=new S(o,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t));return this._models[s]=a,a}createModel(e,t,n,i=!1){let r;return t?(r=this._createModelData(e,t.languageIdentifier,n,i),this.setMode(r.model,t)):r=this._createModelData(e,d.b,n,i),this._onModelAdded.fire(r.model),r.model}setMode(e,t){if(!t)return;const n=this._models[x(e.uri)];n&&n.setLanguage(t)}getModels(){const e=[],t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._models[i].model)}return e}getModel(e){const t=x(e),n=this._models[t];return n?n.model:null}getSemanticTokensProviderStyling(e){return this._semanticStyling.get(e)}_onWillDispose(e){const t=x(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)}_onDidChangeLanguage(t,n){const i=n.oldLanguage,r=t.getLanguageIdentifier().language,o=this.getCreationOptions(i,t.uri,t.isForSimpleWidget),s=this.getCreationOptions(r,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,s,o),this._onModelModeChanged.fire({model:t,oldModeId:i})}};E=y([C(0,u.a),C(1,h.b),C(2,g.c),C(3,f.b),C(4,b.a)],E);const T="editor.semanticHighlighting";function L(e,t,n){var i;const r=null===(i=n.getValue(T,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri}))||void 0===i?void 0:i.enabled;return"boolean"==typeof r?r:t.getColorTheme().semanticHighlighting}class N extends r.a{constructor(e,t,n,i){super(),this._watchers=Object.create(null),this._semanticStyling=i;const r=e=>{this._watchers[e.uri.toString()]=new O(e,t,this._semanticStyling)},o=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},s=()=>{for(let i of e.getModels()){const e=this._watchers[i.uri.toString()];L(i,t,n)?e||r(i):e&&o(i,e)}};this._register(e.onModelAdded(e=>{L(e,t,n)&&r(e)})),this._register(e.onModelRemoved(e=>{const t=this._watchers[e.uri.toString()];t&&o(e,t)})),this._register(n.onDidChangeConfiguration(e=>{e.affectsConfiguration(T)&&s()})),this._register(t.onDidColorThemeChange(s))}}class I extends r.a{constructor(e,t){super(),this._themeService=e,this._logService=t,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new w.a(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)}}class D{constructor(e,t,n){this._provider=e,this.resultId=t,this.data=n}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class O extends r.a{constructor(e,t,n){super(),this._isDisposed=!1,this._model=e,this._semanticStyling=n,this._fetchDocumentSemanticTokens=this._register(new p.d(()=>this._fetchDocumentSemanticTokensNow(),300)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}));const i=()=>{Object(r.f)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const t of c.l.all(e))"function"==typeof t.onDidChange&&this._documentProvidersChangeListeners.push(t.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};i(),this._register(c.l.onDidChange(()=>{i(),this._fetchDocumentSemanticTokens.schedule()})),this._register(t.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;const e=this._getSemanticColoringProvider();if(!e)return;this._currentDocumentRequestCancellationTokenSource=new m.b;const t=[],n=this._model.onDidChangeContent(e=>{t.push(e)}),i=this._semanticStyling.get(e),r=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null;Promise.resolve(e.provideDocumentSemanticTokens(this._model,r,this._currentDocumentRequestCancellationTokenSource.token)).then(r=>{this._currentDocumentRequestCancellationTokenSource=null,n.dispose(),this._setDocumentSemanticTokens(e,r||null,i,t)},e=>{e&&"string"==typeof e.message&&-1!==e.message.indexOf("busy")||s.e(e),this._currentDocumentRequestCancellationTokenSource=null,n.dispose(),t.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule())})}static _isSemanticTokens(e){return e&&!!e.data}static _isSemanticTokensEdits(e){return e&&Array.isArray(e.edits)}static _copy(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}_setDocumentSemanticTokens(e,t,n,i){const r=this._currentDocumentResponse;if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)e&&t&&e.releaseDocumentSemanticTokens(t.resultId);else if(e&&n)if(t){if(O._isSemanticTokensEdits(t)){if(!r)return void this._model.setSemanticTokens(null,!0);if(0===t.edits.length)t={resultId:t.resultId,data:r.data};else{let e=0;for(const n of t.edits)e+=(n.data?n.data.length:0)-n.deleteCount;const n=r.data,i=new Uint32Array(n.length+e);let o=n.length,s=i.length;for(let e=t.edits.length-1;e>=0;e--){const r=t.edits[e],a=o-(r.start+r.deleteCount);a>0&&(O._copy(n,o-a,i,s-a,a),s-=a),r.data&&(O._copy(r.data,0,i,s-r.data.length,r.data.length),s-=r.data.length),o=r.start}o>0&&O._copy(n,0,i,0,o),t={resultId:t.resultId,data:i}}}if(O._isSemanticTokens(t)){this._currentDocumentResponse=new D(e,t.resultId,t.data);const r=Object(w.b)(t,n,this._model.getLanguageIdentifier());if(i.length>0){for(const e of i)for(const t of r)for(const n of e.changes)t.applyEdit(n.range,n.text);this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}this._model.setSemanticTokens(r,!0)}else this._model.setSemanticTokens(null,!0)}else this._model.setSemanticTokens(null,!0);else this._model.setSemanticTokens(null,!1)}_getSemanticColoringProvider(){const e=c.l.ordered(this._model);return e.length>0?e[0]:null}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n(12),r=n(102),o=n(124);class s{constructor(e,t,n){this._legend=e,this._themeService=t,this._logService=n,this._hashTable=new c}getMetadata(e,t,n){const o=this._hashTable.get(e,t,n.id);let s;if(o)s=o.metadata,this._logService.getLevel()===r.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${i.B.getForeground(s)}, fontStyle ${i.B.getFontStyle(s).toString(2)}`);else{let o=this._legend.tokenTypes[e];const a=[];if(o){let e=t;for(let t=0;e>0&&t<this._legend.tokenModifiers.length;t++)1&e&&a.push(this._legend.tokenModifiers[t]),e>>=1;e>0&&this._logService.getLevel()===r.c.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),a.push("not-in-legend"));const i=this._themeService.getColorTheme().getTokenStyleMetadata(o,a,n.language);if(void 0===i)s=2147483647;else{if(s=0,void 0!==i.italic){s|=1|(i.italic?1:0)<<11}if(void 0!==i.bold){s|=2|(i.bold?2:0)<<11}if(void 0!==i.underline){s|=4|(i.underline?4:0)<<11}if(i.foreground){s|=8|i.foreground<<14}0===s&&(s=2147483647)}}else this._logService.getLevel()===r.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),s=2147483647,o="not-in-legend";this._hashTable.add(e,t,n.id,s),this._logService.getLevel()===r.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${o}) / ${t} (${a.join(" ")}): foreground ${i.B.getForeground(s)}, fontStyle ${i.B.getFontStyle(s).toString(2)}`)}return s}}function a(e,t,n){const i=e.data,r=e.data.length/5|0,s=Math.max(Math.ceil(r/1024),400),a=[];let l=0,c=1,d=0;for(;l<r;){const e=l;let h=Math.min(e+s,r);if(h<r){let t=h;for(;t-1>e&&0===i[5*t];)t--;if(t-1===e){let e=h;for(;e+1<r&&0===i[5*e];)e++;h=e}else h=t}let u=new Uint32Array(4*(h-e)),p=0,m=0;for(;l<h;){const e=5*l,r=i[e],o=i[e+1],s=c+r,a=0===r?d+o:o,h=i[e+2],g=i[e+3],f=i[e+4],b=t.getMetadata(g,f,n);2147483647!==b&&(0===m&&(m=s),u[p]=s-m,u[p+1]=a,u[p+2]=a+h,u[p+3]=b,p+=4),c=s,d=a,l++}p!==u.length&&(u=u.subarray(0,p));const g=new o.a(m,new o.c(u));a.push(g)}return a}class l{constructor(e,t,n,i){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=n,this.metadata=i,this.next=null}}class c{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=c._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<c._SIZES.length?2/3*this._currentLength:0),this._elements=[],c._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let n=0;n<t;n++)e[n]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,n){return this._hash2(this._hash2(e,t),n)%this._currentLength}get(e,t,n){const i=this._hashFunc(e,t,n);let r=this._elements[i];for(;r;){if(r.tokenTypeIndex===e&&r.tokenModifierSet===t&&r.languageId===n)return r;r=r.next}return null}add(e,t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const e=this._elements;this._currentLengthIndex++,this._currentLength=c._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<c._SIZES.length?2/3*this._currentLength:0),this._elements=[],c._nullOutEntries(this._elements,this._currentLength);for(const t of e){let e=t;for(;e;){const t=e.next;e.next=null,this._add(e),e=t}}}this._add(new l(e,t,n,i))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}c._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n(275);var i=n(1),r=n(8),o=n(15),s=n(46);const a={badgeBackground:o.a.fromHex("#4D4D4D"),badgeForeground:o.a.fromHex("#FFFFFF")};class l{constructor(e,t){this.count=0,this.options=t||Object.create(null),Object(s.g)(this.options,a,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(i.p)(e,Object(i.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=Object(r.x)(this.countFormat,this.count),this.element.title=Object(r.x)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}}}},function(e,t,n){var i=n(32),r=n(268);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i=n(16),r=n(8),o=n(179),s=n(42),a=n(78),l=n(20);const c=/\//g;function d(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function h(e,t){if(!e)return[];const n=[];let i=!1,r=!1,o="";for(const s of e){switch(s){case t:if(!i&&!r){n.push(o),o="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":r=!0;break;case"]":r=!1}o+=s}return o&&n.push(o),n}const u=/^\*\*\/\*\.[\w\.-]+$/,p=/^\*\*\/([\w\.-]+)\/?$/,m=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,g=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,f=/^\*\*((\/[\w\.-]+)+)\/?$/,b=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,_=new a.a(1e4),v=function(){return!1},w=function(){return null};function y(e,t){if(!e)return w;let n;n="string"!=typeof e?e.pattern:e,n=n.trim();const o=`${n}_${!!t.trimForExclusions}`;let s,a=_.get(o);if(a)return C(a,e);if(u.test(n)){const e=n.substr(4);a=function(t,i){return"string"==typeof t&&t.endsWith(e)?n:null}}else a=(s=p.exec(x(n,t)))?function(e,t){const n="/"+e,i="\\"+e,r=function(r,o){return"string"!=typeof r?null:o?o===e?t:null:r===e||r.endsWith(n)||r.endsWith(i)?t:null},o=[e];return r.basenames=o,r.patterns=[t],r.allBasenames=o,r}(s[1],n):(t.trimForExclusions?g:m).test(n)?function(e,t){const n=E(e.slice(1,-1).split(",").map(e=>y(e,t)).filter(e=>e!==w),e),r=n.length;if(!r)return w;if(1===r)return n[0];const o=function(t,i){for(let r=0,o=n.length;r<o;r++)if(n[r](t,i))return e;return null},s=i.i(n,e=>!!e.allBasenames);s&&(o.allBasenames=s.allBasenames);const a=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);a.length&&(o.allPaths=a);return o}(n,t):(s=f.exec(x(n,t)))?S(s[1].substr(1),n,!0):(s=b.exec(x(n,t)))?S(s[1],n,!1):function(e){try{const t=new RegExp(`^${function e(t){if(!t)return"";let n="";const i=h(t,"/");if(i.every(e=>"**"===e))n=".*";else{let t=!1;i.forEach((o,s)=>{if("**"===o)return void(t||(n+=d(2),t=!0));let a=!1,l="",c=!1,u="";for(const t of o)if("}"!==t&&a)l+=t;else if(!c||"]"===t&&u)switch(t){case"{":a=!0;continue;case"[":c=!0;continue;case"}":const i=`(?:${h(l,",").map(t=>e(t)).join("|")})`;n+=i,a=!1,l="";break;case"]":n+="["+u+"]",c=!1,u="";break;case"?":n+="[^/\\\\]";continue;case"*":n+=d(1);continue;default:n+=r.v(t)}else{let e;e="-"===t?t:"^"!==t&&"!"!==t||u?"/"===t?"":r.v(t):"^",u+=e}s<i.length-1&&("**"!==i[s+1]||s+2<i.length)&&(n+="[/\\\\]"),t=!1})}return n}(e)}$`);return function(n){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return w}}(n);return _.set(o,a),C(a,e)}function C(e,t){return"string"==typeof t?e:function(n,i){return o.a(n,t.base)?e(s.f(t.base,n),i):null}}function x(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function S(e,t,n){const i=s.h!==s.e.sep?e.replace(c,s.h):e,r=s.h+i,o=n?function(e,n){return"string"!=typeof e||e!==i&&!e.endsWith(r)?null:t}:function(e,n){return"string"==typeof e&&e===i?t:null};return o.allPaths=[(n?"*/":"./")+e],o}function k(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t={}){if(!e)return v;if("string"==typeof e||function(e){const t=e;return t&&"string"==typeof t.base&&"string"==typeof t.pattern}(e)){const n=y(e,t);if(n===w)return v;const i=function(e,t){return!!n(e,t)};return n.allBasenames&&(i.allBasenames=n.allBasenames),n.allPaths&&(i.allPaths=n.allPaths),i}return function(e,t){const n=E(Object.getOwnPropertyNames(e).map(n=>function(e,t,n){if(!1===t)return w;const i=y(e,n);if(i===w)return w;if("boolean"==typeof t)return i;if(t){const n=t.when;if("string"==typeof n){const t=(t,r,o,s)=>{if(!s||!i(t,r))return null;const a=s(n.replace("$(basename)",o));return Object(l.i)(a)?a.then(t=>t?e:null):a?e:null};return t.requiresSiblings=!0,t}}return i}(n,e[n],t)).filter(e=>e!==w)),r=n.length;if(!r)return w;if(!n.some(e=>!!e.requiresSiblings)){if(1===r)return n[0];const e=function(e,t){for(let i=0,r=n.length;i<r;i++){const r=n[i](e,t);if(r)return r}return null},t=i.i(n,e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);const o=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return o.length&&(e.allPaths=o),e}const o=function(e,t,i){let r=void 0;for(let o=0,a=n.length;o<a;o++){const a=n[o];a.requiresSiblings&&i&&(t||(t=s.a(e)),r||(r=t.substr(0,t.length-s.c(e).length)));const l=a(e,t,r,i);if(l)return l}return null},a=i.i(n,e=>!!e.allBasenames);a&&(o.allBasenames=a.allBasenames);const c=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);c.length&&(o.allPaths=c);return o}(e,t)}(e)(t,void 0,n)}function E(e,t){const n=e.filter(e=>!!e.basenames);if(n.length<2)return e;const i=n.reduce((e,t)=>{const n=t.basenames;return n?e.concat(n):e},[]);let r;if(t){r=[];for(let e=0,n=i.length;e<n;e++)r.push(t)}else r=n.reduce((e,t)=>{const n=t.patterns;return n?e.concat(n):e},[]);const o=function(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;n>0;n--){const t=e.charCodeAt(n-1);if(47===t||92===t)break}t=e.substr(n)}const n=i.indexOf(t);return-1!==n?r[n]:null};o.basenames=i,o.patterns=r,o.allBasenames=i;const s=e.filter(e=>!e.basenames);return s.push(o),s}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(56),r=n(6);const o={JSONContribution:"base.contributions.json"};const s=new class{constructor(){this._onDidChangeSchema=new r.a,this.schemasById={}}registerSchema(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};i.a.add(o.JSONContribution,s)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));const i=Object.prototype.hasOwnProperty;function r(e,t){for(let n in e)if(i.call(e,n)){if(!1===t({key:n,value:e[n]},(function(){delete e[n]})))return}}class o{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(2);class r extends i.a{constructor(e,t,n){super(),this.referenceDomElement=e,this.changeCallback=n,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){"undefined"!=typeof ResizeObserver?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let n=0,i=0;t?(n=t.width,i=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,i=this.referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),this.width===n&&this.height===i||(this.width=n,this.height=i,e&&this.changeCallback())}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t,n,i,r,o){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=r,this._contextKeyService=o}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(18);const r=Object(i.c)("markerDecorationsService")},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(174),r=n(6),o=n(2),s=n(46),a=n(3);const l={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class c extends o.a{constructor(e,t={}){super(),this._onDidUpdate=this._register(new r.a),this._editor=e,this._options=s.g(t,l,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(e=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new a.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new a.a(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})}),this.ranges.sort((e,t)=>e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,n=this._editor.getPosition();if(n){for(let i=0,r=this.ranges.length;i<r&&!t;i++){let r=this.ranges[i].range;n.isBeforeOrEqual(r.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0}_move(e,t){if(i.a(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let e=n.range.getStartPosition();this._editor.setPosition(e),this._editor.revealPositionInCenter(e,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return le}));n(244);var i=n(0),r=n(1),o=n(35),s=n(153),a=n(20),l=n(6),c=n(2),d=n(46),h=n(87),u=n(88),p=n(41),m=n(164),g=(n(248),n(116)),f=n(105),b=n(60),_=n(4),v=n(26),w=n(111),y=n(9),C=n(57),x=n(91),S=n(74),k=n(10),E=n(5),T=n(19),L=n(17);class N{constructor(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class I{constructor(e){this.entries=e}}const D=Object(L.e)("diff-review-insert",L.a.add),O=Object(L.e)("diff-review-remove",L.a.remove),A=Object(L.e)("diff-review-close",L.a.close);class R extends c.a{constructor(e){super(),this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=Object(o.b)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=Object(o.b)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new g.a(this.actionBarContainer.domNode)),this._actionBar.push(new b.a("diffreview.close",i.a("label.close","Close"),"close-diff-review "+A.classNames,!0,()=>(this.hide(),Promise.resolve(null))),{label:!1,icon:!0}),this.domNode=Object(o.b)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=Object(o.b)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new f.a(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(r.n(this.domNode.domNode,"click",e=>{e.preventDefault();let t=r.w(e.target,"diff-review-row");t&&this._goToRow(t)})),this._register(r.n(this.domNode.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new y.a(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new y.a(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let e=-1,t=this._getCurrentFocusedRow();if(t){let n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new y.a(e,1)),this._diffEditor.revealPosition(new y.a(e,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){let e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()}_getNextRow(){let e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(".diff-review-row")}_getCurrentFocusedRow(){let e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null}_goToRow(e){let t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}_compute(){const e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];const t=this._diffEditor.getOriginalEditor().getModel(),n=this._diffEditor.getModifiedEditor().getModel();return t&&n?R._mergeAdjacent(e,t.getLineCount(),n.getLineCount()):[]}static _mergeAdjacent(e,t,n){if(!e||0===e.length)return[];let i=[],r=0;for(let o=0,s=e.length;o<s;o++){const a=e[o],l=a.originalStartLineNumber,c=a.originalEndLineNumber,d=a.modifiedStartLineNumber,h=a.modifiedEndLineNumber;let u=[],p=0;{const t=0===c?l:l-1,n=0===h?d:d-1;let i=1,r=1;if(o>0){const t=e[o-1];i=0===t.originalEndLineNumber?t.originalStartLineNumber+1:t.originalEndLineNumber+1,r=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber+1:t.modifiedEndLineNumber+1}let s=t-3+1,a=n-3+1;if(s<i){const e=i-s;s+=e,a+=e}if(a<r){const e=r-a;s+=e,a+=e}u[p++]=new N(s,t,a,n)}0!==c&&(u[p++]=new N(l,c,0,0)),0!==h&&(u[p++]=new N(0,0,d,h));{const i=0===c?l+1:c+1,r=0===h?d+1:h+1;let a=t,m=n;if(o+1<s){const t=e[o+1];a=0===t.originalEndLineNumber?t.originalStartLineNumber:t.originalStartLineNumber-1,m=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber:t.modifiedStartLineNumber-1}let g=i+3-1,f=r+3-1;if(g>a){const e=a-g;g+=e,f+=e}if(f>m){const e=m-f;g+=e,f+=e}u[p++]=new N(i,g,r,f)}i[r++]=new I(u)}let o=i[0].entries,s=[],a=0;for(let e=1,t=i.length;e<t;e++){const t=i[e].entries,n=o[o.length-1],r=t[0];0===n.getType()&&0===r.getType()&&r.originalLineStart<=n.originalLineEnd?(o[o.length-1]=new N(n.originalLineStart,r.originalLineEnd,n.modifiedLineStart,r.modifiedLineEnd),o=o.concat(t.slice(1))):(s[a++]=new I(o),o=t)}return s[a++]=new I(o),s}_findDiffIndex(e){const t=e.lineNumber;for(let e=0,n=this._diffs.length;e<n;e++){const n=this._diffs[e].entries;if(t<=n[n.length-1].modifiedLineEnd)return e}return 0}_render(){const e=this._diffEditor.getOriginalEditor().getOptions(),t=this._diffEditor.getModifiedEditor().getOptions(),n=this._diffEditor.getOriginalEditor().getModel(),o=this._diffEditor.getModifiedEditor().getModel(),s=n.getOptions(),a=o.getOptions();if(!this._isVisible||!n||!o)return r.s(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();this._diffEditor.updateOptions({readOnly:!0});const l=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[l]===this._currentDiff)return;this._currentDiff=this._diffs[l];const c=this._diffs[l].entries;let d=document.createElement("div");d.className="diff-review-table",d.setAttribute("role","list"),d.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),h.a.applyFontInfoSlow(d,t.get(36));let u=0,p=0,m=0,g=0;for(let e=0,t=c.length;e<t;e++){const t=c[e],n=t.originalLineStart,i=t.originalLineEnd,r=t.modifiedLineStart,o=t.modifiedLineEnd;0!==n&&(0===u||n<u)&&(u=n),0!==i&&(0===p||i>p)&&(p=i),0!==r&&(0===m||r<m)&&(m=r),0!==o&&(0===g||o>g)&&(g=o)}let f=document.createElement("div");f.className="diff-review-row";let b=document.createElement("div");b.className="diff-review-cell diff-review-summary";const _=p-u+1,v=g-m+1;b.appendChild(document.createTextNode(`${l+1}/${this._diffs.length}: @@ -${u},${_} +${m},${v} @@`)),f.setAttribute("data-line",String(m));const w=e=>0===e?i.a("no_lines_changed","no lines changed"):1===e?i.a("one_line_changed","1 line changed"):i.a("more_lines_changed","{0} lines changed",e),y=w(_),C=w(v);f.setAttribute("aria-label",i.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",l+1,this._diffs.length,u,y,m,C)),f.appendChild(b),f.setAttribute("role","listitem"),d.appendChild(f);const x=t.get(51);let S=m;for(let i=0,r=c.length;i<r;i++){const r=c[i];R._renderSection(d,r,S,x,this._width,e,n,s,t,o,a),0!==r.modifiedLineStart&&(S=r.modifiedLineEnd)}r.s(this._content.domNode),this._content.domNode.appendChild(d),this.scrollbar.scanDomNode()}static _renderSection(e,t,n,r,o,s,a,l,c,d,h){const u=t.getType();let p="diff-review-row",m="";let g=null;switch(u){case 1:p="diff-review-row line-insert",m=" char-insert",g=D;break;case 2:p="diff-review-row line-delete",m=" char-delete",g=O}const f=t.originalLineStart,b=t.originalLineEnd,_=t.modifiedLineStart,v=t.modifiedLineEnd,w=Math.max(v-_,b-f),y=s.get(117),C=y.glyphMarginWidth+y.lineNumbersWidth,x=c.get(117),S=10+x.glyphMarginWidth+x.lineNumbersWidth;for(let t=0;t<=w;t++){const b=0===f?0:f+t,v=0===_?0:_+t,w=document.createElement("div");w.style.minWidth=o+"px",w.className=p,w.setAttribute("role","listitem"),0!==v&&(n=v),w.setAttribute("data-line",String(n));let y=document.createElement("div");y.className="diff-review-cell",y.style.height=r+"px",w.appendChild(y);const x=document.createElement("span");x.style.width=C+"px",x.style.minWidth=C+"px",x.className="diff-review-line-number"+m,0!==b?x.appendChild(document.createTextNode(String(b))):x.innerText=" ",y.appendChild(x);const k=document.createElement("span");k.style.width=S+"px",k.style.minWidth=S+"px",k.style.paddingRight="10px",k.className="diff-review-line-number"+m,0!==v?k.appendChild(document.createTextNode(String(v))):k.innerText=" ",y.appendChild(k);const E=document.createElement("span");if(E.className="diff-review-spacer",g){const e=document.createElement("span");e.className=g.classNames,e.innerText="  ",E.appendChild(e)}else E.innerText="  ";let T;y.appendChild(E),0!==v?(y.insertAdjacentHTML("beforeend",this._renderLine(d,c,h.tabSize,v)),T=d.getLineContent(v)):(y.insertAdjacentHTML("beforeend",this._renderLine(a,s,l.tabSize,b)),T=a.getLineContent(b)),0===T.length&&(T=i.a("blankLine","blank"));let L="";switch(u){case 0:L=b===v?i.a({key:"unchangedLine",comment:["The placholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",T,b):i.a("equalLine","{0} original line {1} modified line {2}",T,b,v);break;case 1:L=i.a("insertLine","+ {0} modified line {1}",T,v);break;case 2:L=i.a("deleteLine","- {0} original line {1}",T,b)}w.setAttribute("aria-label",L),e.appendChild(w)}}static _renderLine(e,t,n,i){const r=e.getLineContent(i),o=t.get(36),s=new Uint32Array(2);s[0]=r.length,s[1]=16793600;const a=new w.a(s,r),l=S.d.isBasicASCII(r,e.mightContainNonBasicASCII()),c=S.d.containsRTL(r,l,e.mightContainRTL());return Object(x.e)(new x.c(o.isMonospace&&!t.get(24),o.canUseHalfwidthRightwardsArrow,r,!1,l,c,0,a,[],n,0,o.spaceWidth,o.middotWidth,o.wsmiddotWidth,t.get(95),t.get(80),t.get(74),t.get(37)!==v.e.OFF,null)).html}}Object(T.g)((e,t)=>{const n=e.getColor(C.k);n&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${n}; }`);const i=e.getColor(E.ic);i&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${i} 0 -6px 6px -6px inset; }`)});class M extends _.b{constructor(){super({id:"editor.action.diffReview.next",label:i.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:k.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const n=F(e);n&&n.diffReviewNext()}}class P extends _.b{constructor(){super({id:"editor.action.diffReview.prev",label:i.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:k.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const n=F(e);n&&n.diffReviewPrev()}}function F(e){const t=e.get(p.a),n=t.listDiffEditors(),i=t.getActiveCodeEditor();if(!i)return null;for(let e=0,t=n.length;e<t;e++){const t=n[e];if(t.getModifiedEditor().getId()===i.getId()||t.getOriginalEditor().getId()===i.getId())return t}return null}Object(_.k)(M),Object(_.k)(P);var W=n(3),z=n(132),B=n(143),j=n(30),V=n(96),U=n(168),H=n(155),q=n(18),$=n(149),K=n(49),G=n(84),Y=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Z extends c.a{constructor(e,t,n,o,s,a){super(),this._viewZoneId=e,this._marginDomNode=t,this.editor=n,this.diff=o,this._contextMenuService=s,this._clipboardService=a,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=L.a.lightBulb.classNames+" lightbulb-glyph",this._diffActions.style.position="absolute";const l=n.getOption(51),c=n.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=l+"px",this._diffActions.style.lineHeight=l+"px",this._marginDomNode.appendChild(this._diffActions);const d=[];d.push(new b.a("diff.clipboard.copyDeletedContent",o.originalEndLineNumber>o.modifiedStartLineNumber?i.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):i.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>Y(this,void 0,void 0,(function*(){yield this._clipboardService.writeText(o.originalContent.join(c)+c)}))));let h=0,u=void 0;o.originalEndLineNumber>o.modifiedStartLineNumber&&(u=new b.a("diff.clipboard.copyDeletedLineContent",i.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber),void 0,!0,()=>Y(this,void 0,void 0,(function*(){yield this._clipboardService.writeText(o.originalContent[h])}))),d.push(u));n.getOption(72)||d.push(new b.a("diff.inline.revertChange",i.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>Y(this,void 0,void 0,(function*(){if(0===o.modifiedEndLineNumber){const e=n.getModel().getLineMaxColumn(o.modifiedStartLineNumber);n.executeEdits("diffEditor",[{range:new W.a(o.modifiedStartLineNumber,e,o.modifiedStartLineNumber,e),text:c+o.originalContent.join(c)}])}else{const e=n.getModel().getLineMaxColumn(o.modifiedEndLineNumber);n.executeEdits("diffEditor",[{range:new W.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,e),text:o.originalContent.join(c)}])}}))));const p=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(u&&(u.label=i.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber+h)),d),autoSelectFirstItem:!0})};this._register(r.n(this._diffActions,"mousedown",e=>{const{top:t,height:n}=r.C(this._diffActions);let i=Math.floor(l/3);e.preventDefault(),p(e.posx,t+n+i)})),this._register(n.onMouseMove(e=>{if(8===e.target.type||5===e.target.type){e.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,h=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l)):this.visibility=!1}else this.visibility=!1})),this._register(n.onMouseDown(e=>{if(e.event.rightButton&&(8===e.target.type||5===e.target.type)){e.target.detail.viewZoneId===this._viewZoneId&&(e.event.preventDefault(),h=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l),p(e.event.posx,e.event.posy+l))}}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")}_updateLightBulbPosition(e,t,n){const{top:i}=r.C(e),o=t-i,s=Math.floor(o/n),a=s*n;return this._diffActions.style.top=a+"px",s}}var X=n(121),Q=n(13),J=n(83),ee=n(190),te=n(145),ne=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},ie=function(e,t){return function(n,i){t(n,i,e)}};class re{constructor(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(e){return e.filter(e=>!this._zonesMap[String(e.id)])}clean(e){this._zones.length>0&&e.changeViewZones(e=>{for(let t=0,n=this._zones.length;t<n;t++)e.removeZone(this._zones[t])}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,n,i){const r=i?u.c.capture(e):null;e.changeViewZones(t=>{for(let e=0,n=this._zones.length;e<n;e++)t.removeZone(this._zones[e]);for(let e=0,t=this.inlineDiffMargins.length;e<t;e++)this.inlineDiffMargins[e].dispose();this._zones=[],this._zonesMap={},this.inlineDiffMargins=[];for(let i=0,r=n.zones.length;i<r;i++){const r=n.zones[i];r.suppressMouseDown=!0;let o=t.addZone(r);this._zones.push(o),this._zonesMap[String(o)]=!0,n.zones[i].diff&&r.marginDomNode&&(r.suppressMouseDown=!1,this.inlineDiffMargins.push(new Z(o,r.marginDomNode,e,n.zones[i].diff,this._contextMenuService,this._clipboardService)))}}),r&&r.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)}}let oe=0;const se=Object(L.e)("diff-insert",L.a.add),ae=Object(L.e)("diff-remove",L.a.remove);let le=class e extends c.a{constructor(t,n,i,s,c,d,h,u,p,m,g){super(),this._editorProgressService=g,this._onDidDispose=this._register(new l.a),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new l.a),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new l.a),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=s,this._codeEditorService=h,this._contextKeyService=this._register(c.createScoped(t)),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=u,this._notificationService=p,this.id=++oe,this._state=0,this._updatingDiffProgress=null,this._domElement=t,n=n||{},this._renderSideBySide=!0,void 0!==n.renderSideBySide&&(this._renderSideBySide=n.renderSideBySide),this._maxComputationTime=5e3,void 0!==n.maxComputationTime&&(this._maxComputationTime=n.maxComputationTime),this._ignoreTrimWhitespace=!0,void 0!==n.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=n.ignoreTrimWhitespace),this._renderIndicators=!0,void 0!==n.renderIndicators&&(this._renderIndicators=n.renderIndicators),this._originalIsEditable=!1,void 0!==n.originalEditable&&(this._originalIsEditable=Boolean(n.originalEditable)),this._originalCodeLens=!1,void 0!==n.originalCodeLens&&(this._originalCodeLens=Boolean(n.originalCodeLens)),this._modifiedCodeLens=!1,void 0!==n.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(n.modifiedCodeLens)),this._updateDecorationsRunner=this._register(new a.d(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=Object(o.b)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(r.n(this._overviewDomElement,"mousedown",e=>{this.modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new re(m,i),this._modifiedEditorState=new re(m,i),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new ee.a(this._containerDomElement,void 0,()=>this._onDidContainerSizeChanged())),n.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null;const f=this._contextKeyService.createScoped(),b=new $.a;b.set(k.b,f);const v=d.createChild(b),w=this._contextKeyService.createScoped(),y=new $.a;y.set(k.b,w);const C=d.createChild(y);this.originalEditor=this._createLeftHandSideEditor(n,v,f),this.modifiedEditor=this._createRightHandSideEditor(n,C,w),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new R(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,void 0!==n.enableSplitViewResizing&&(this._enableSplitViewResizing=n.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new me(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._register(u.onDidColorThemeChange(t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));const x=_.d.getDiffEditorContributions();for(const e of x)try{this._register(d.createInstance(e.ctor,this))}catch(e){Object(Q.e)(e)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=Object(T.f)(e.type),n}_recreateOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()}_createLeftHandSideEditor(t,n,i){const r=this._createInnerEditor(n,this._originalDomNode,this._adjustOptionsForLeftHandSide(t,this._originalIsEditable,this._originalCodeLens));this._register(r.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(r.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(r.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const o=i.createKey("isInDiffLeftEditor",void 0);return this._register(r.onDidFocusEditorWidget(()=>o.set(!0))),this._register(r.onDidBlurEditorWidget(()=>o.set(!1))),this._register(r.onDidContentSizeChange(t=>{const n=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),r}_createRightHandSideEditor(t,n,i){const r=this._createInnerEditor(n,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t,this._modifiedCodeLens));this._register(r.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(r.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(r.onDidChangeConfiguration(e=>{e.hasChanged(36)&&r.getModel()&&this._onViewZonesChanged()})),this._register(r.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(r.onDidChangeModelOptions(e=>{e.tabSize&&this._updateDecorationsRunner.schedule()}));const o=i.createKey("isInDiffRightEditor",void 0);return this._register(r.onDidFocusEditorWidget(()=>o.set(!0))),this._register(r.onDidBlurEditorWidget(()=>o.set(!1))),this._register(r.onDidContentSizeChange(t=>{const n=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),r}_createInnerEditor(e,t,n){return e.createInstance(m.a,t,n,{})}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this.id}getEditorType(){return B.a.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this.originalEditor}getModifiedEditor(){return this.modifiedEditor}updateOptions(t){let n=!1;void 0!==t.renderSideBySide&&this._renderSideBySide!==t.renderSideBySide&&(this._renderSideBySide=t.renderSideBySide,n=!0),void 0!==t.maxComputationTime&&(this._maxComputationTime=t.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());let i=!1;void 0!==t.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==t.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=t.ignoreTrimWhitespace,i=!0),void 0!==t.renderIndicators&&this._renderIndicators!==t.renderIndicators&&(this._renderIndicators=t.renderIndicators,i=!0),i&&this._beginUpdateDecorations(),void 0!==t.originalEditable&&(this._originalIsEditable=Boolean(t.originalEditable)),void 0!==t.originalCodeLens&&(this._originalCodeLens=Boolean(t.originalCodeLens)),void 0!==t.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(t.modifiedCodeLens)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t,this._modifiedCodeLens)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t,this._originalIsEditable,this._originalCodeLens)),void 0!==t.enableSplitViewResizing&&(this._enableSplitViewResizing=t.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),n&&(this._renderSideBySide?this._setStrategy(new me(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide))}getModel(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this.modifiedEditor.getPosition()}setPosition(e){this.modifiedEditor.setPosition(e)}revealLine(e,t=0){this.modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this.modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this.modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this.modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this.modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this.modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this.modifiedEditor.getSelection()}getSelections(){return this.modifiedEditor.getSelections()}setSelection(e){this.modifiedEditor.setSelection(e)}setSelections(e){this.modifiedEditor.setSelections(e)}revealLines(e,t,n=0){this.modifiedEditor.revealLines(e,t,n)}revealLinesInCenter(e,t,n=0){this.modifiedEditor.revealLinesInCenter(e,t,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)}revealLinesNearTop(e,t,n=0){this.modifiedEditor.revealLinesNearTop(e,t,n)}revealRange(e,t=0,n=!1,i=!0){this.modifiedEditor.revealRange(e,t,n,i)}revealRangeInCenter(e,t=0){this.modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this.modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this.modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this.modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this.modifiedEditor.getSupportedActions()}saveViewState(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}}restoreViewState(e){if(e.original&&e.modified){let t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}}layout(e){this._elementSizeObserver.observe(e)}focus(){this.modifiedEditor.focus()}hasTextFocus(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()}trigger(e,t,n){this.modifiedEditor.trigger(e,t,n)}changeDecorations(e){return this.modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const t=this._elementSizeObserver.getHeight(),n=this._getReviewHeight();let i=e.ENTIRE_DIFF_OVERVIEW_WIDTH-2*e.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:e.ONE_OVERVIEW_WIDTH,right:i+e.ONE_OVERVIEW_WIDTH,height:t-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:e.ONE_OVERVIEW_WIDTH,height:t-n}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const t=this.originalEditor.getModel(),n=this.modifiedEditor.getModel();if(!t||!n)return;this._diffComputationToken++;let r=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(t.uri,n.uri)?this._editorWorkerService.computeDiff(t.uri,n.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(e=>{r===this._diffComputationToken&&t===this.originalEditor.getModel()&&n===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},e=>{r===this._diffComputationToken&&t===this.originalEditor.getModel()&&n===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):e._equals(t.uri,this._lastOriginalWarning)&&e._equals(n.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=n.uri,this._notificationService.warn(i.a("diff.tooLarge","Cannot compare files because one file is too large.")))}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)}_updateDecorations(){if(!(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler))return;const e=this._diffComputationResult?this._diffComputationResult.changes:[];let t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,n,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(e){let t=d.c(e||{});return t.inDiffEditor=!0,t.wordWrap="off",t.wordWrapMinified=!1,t.automaticLayout=!1,t.scrollbar=t.scrollbar||{},t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=!1,t.fixedOverflowWidgets=!0,t.overflowWidgetsDomNode=e.overflowWidgetsDomNode,t.minimap||(t.minimap={}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e,t,n){let i=this._adjustOptionsForSubEditor(e);return n&&(i.codeLens=!0),i.readOnly=!t,i.extraEditorClassName="original-in-monaco-diff-editor",i}_adjustOptionsForRightHandSide(t,n){let i=this._adjustOptionsForSubEditor(t);return n&&(i.codeLens=!0),i.revealHorizontalRightPadding=v.g.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",i}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const t=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),i=this._getReviewHeight();let r=this._strategy.layout();this._originalDomNode.style.width=r+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-r+"px",this._modifiedDomNode.style.left=r+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-i+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:r,height:n-i}),this.modifiedEditor.layout({width:t-r-e.ENTIRE_DIFF_OVERVIEW_WIDTH,height:n-i}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-i,t,i),this._layoutOverviewViewport()}_layoutOverviewViewport(){let e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){let e=this.modifiedEditor.getLayoutInfo();if(!e)return null;let t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),r=Math.max(0,i-0),o=n>0?r/n:0;return{height:Math.max(0,Math.floor(e.height*o)),top:Math.floor(t*o)}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this.originalEditor,getModifiedEditor:()=>this.modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){const n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;let i=0,r=n.length-1;for(;i<r;){let o=Math.floor((i+r)/2),s=t(n[o]),a=o+1<=r?t(n[o+1]):1073741824;e<s?r=o-1:e>=a?i=o+1:(i=o,r=o)}return n[i]}_getEquivalentLineForOriginalLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.originalStartLineNumber);if(!t)return e;let n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),r=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,o=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=r?i+Math.min(s,o):i+o-r+s}_getEquivalentLineForModifiedLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.modifiedStartLineNumber);if(!t)return e;let n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),r=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,o=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=o?n+Math.min(s,r):n+r-o+s}getDiffLineInformationForOriginal(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null}getDiffLineInformationForModified(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null}};le.ONE_OVERVIEW_WIDTH=15,le.ENTIRE_DIFF_OVERVIEW_WIDTH=30,le.UPDATE_DIFF_DECORATIONS_DELAY=200,le=ne([ie(2,X.a),ie(3,V.a),ie(4,k.b),ie(5,q.a),ie(6,p.a),ie(7,T.c),ie(8,K.a),ie(9,G.a),ie(10,J.a)],le);class ce extends c.a{constructor(e){super(),this._dataSource=e,this._insertColor=null,this._removeColor=null}applyColors(e){let t=(e.getColor(E.n)||E.j).transparent(2),n=(e.getColor(E.p)||E.k).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i}getEditorsDiffDecorations(e,t,n,i,r,o,s){r=r.sort((e,t)=>e.afterLineNumber-t.afterLineNumber),i=i.sort((e,t)=>e.afterLineNumber-t.afterLineNumber);let a=this._getViewZones(e,i,r,o,s,n),l=this._getOriginalEditorDecorations(e,t,n,o,s),c=this._getModifiedEditorDecorations(e,t,n,o,s);return{original:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.original},modified:{decorations:c.decorations,overviewZones:c.overviewZones,zones:a.modified}}}}class de{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class he{constructor(e,t,n,i,r){this.lineChanges=e,this.originalForeignVZ=t,this.originalLineHeight=n,this.modifiedForeignVZ=i,this.modifiedLineHeight=r}getViewZones(){let e=[],t=[],n=0,i=0,r=0,o=0,s=0,a=0,l=(e,t)=>e.afterLineNumber-t.afterLineNumber,c=(e,t)=>{if(null===t.domNode&&e.length>0){let n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new de(this.modifiedForeignVZ),h=new de(this.originalForeignVZ);for(let u=0,p=this.lineChanges.length;u<=p;u++){let m=u<p?this.lineChanges[u]:null;null!==m?(r=m.originalStartLineNumber+(m.originalEndLineNumber>0?-1:0),o=m.modifiedStartLineNumber+(m.modifiedEndLineNumber>0?-1:0),i=m.originalEndLineNumber>0?m.originalEndLineNumber-m.originalStartLineNumber+1:0,n=m.modifiedEndLineNumber>0?m.modifiedEndLineNumber-m.modifiedStartLineNumber+1:0,s=Math.max(m.originalStartLineNumber,m.originalEndLineNumber),a=Math.max(m.modifiedStartLineNumber,m.modifiedEndLineNumber)):(r+=1e7+i,o+=1e7+n,s=r,a=o);let g=[],f=[];for(;d.current&&d.current.afterLineNumber<=a;){let e;e=d.current.afterLineNumber<=o?r-o+d.current.afterLineNumber:s;let t=null;m&&m.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=m.modifiedEndLineNumber&&(t=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),g.push({afterLineNumber:e,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:t}),d.advance()}for(;h.current&&h.current.afterLineNumber<=s;){let e;e=h.current.afterLineNumber<=r?o-r+h.current.afterLineNumber:a,f.push({afterLineNumber:e,heightInLines:h.current.height/this.originalLineHeight,domNode:null}),h.advance()}if(null!==m&&_e(m)){let e=this._produceOriginalFromDiff(m,i,n);e&&g.push(e)}if(null!==m&&ve(m)){let e=this._produceModifiedFromDiff(m,i,n);e&&f.push(e)}let b=0,_=0;for(g=g.sort(l),f=f.sort(l);b<g.length&&_<f.length;){let n=g[b],i=f[_],s=n.afterLineNumber-r,a=i.afterLineNumber-o;s<a?(c(e,n),b++):a<s?(c(t,i),_++):n.shouldNotShrink?(c(e,n),b++):i.shouldNotShrink?(c(t,i),_++):n.heightInLines>=i.heightInLines?(n.heightInLines-=i.heightInLines,_++):(i.heightInLines-=n.heightInLines,b++)}for(;b<g.length;)c(e,g[b]),b++;for(;_<f.length;)c(t,f[_]),_++}return{original:he._ensureDomNodes(e),modified:he._ensureDomNodes(t)}}static _ensureDomNodes(e){return e.map(e=>(e.domNode||(e.domNode=function(){let e=document.createElement("div");return e.className="diagonal-fill",e}()),e))}}function ue(e,t,n,i,r){return{range:new W.a(e,t,n,i),options:r}}const pe={charDelete:j.a.register({className:"char-delete"}),charDeleteWholeLine:j.a.register({className:"char-delete",isWholeLine:!0}),charInsert:j.a.register({className:"char-insert"}),charInsertWholeLine:j.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:j.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:j.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign "+se.classNames,marginClassName:"line-insert",isWholeLine:!0}),lineDelete:j.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:j.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign "+ae.classNames,marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:j.a.register({marginClassName:"line-delete"})};class me extends ce{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new s.a(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this.onSashDragStart()),this._sash.onDidChange(e=>this.onSashDrag(e)),this._sash.onDidEnd(()=>this.onSashDragEnd()),this._sash.onDidReset(()=>this.onSashReset())}setEnableSplitViewResizing(e){let t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){let t=this._dataSource.getWidth()-le.ENTIRE_DIFF_OVERVIEW_WIDTH,n=Math.floor((e||.5)*t),i=Math.floor(.5*t);return n=this._disableSash?i:n||i,t>2*me.MINIMUM_EDITOR_WIDTH?(n<me.MINIMUM_EDITOR_WIDTH&&(n=me.MINIMUM_EDITOR_WIDTH),n>t-me.MINIMUM_EDITOR_WIDTH&&(n=t-me.MINIMUM_EDITOR_WIDTH)):n=i,this._sashPosition!==n&&(this._sashPosition=n,this._sash.layout()),this._sashPosition}onSashDragStart(){this._startSashPosition=this._sashPosition}onSashDrag(e){let t=this._dataSource.getWidth()-le.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()}onSashDragEnd(){this._sash.layout()}onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,n,i,r){return new ge(e,t,i.getOption(51),n,r.getOption(51)).getViewZones()}_getOriginalEditorDecorations(e,t,n,i,r){const o=String(this._removeColor);let s={decorations:[],overviewZones:[]},a=i.getModel();for(let i=0,r=e.length;i<r;i++){let r=e[i];if(ve(r)&&(s.decorations.push({range:new W.a(r.originalStartLineNumber,1,r.originalEndLineNumber,1073741824),options:n?pe.lineDeleteWithSign:pe.lineDelete}),_e(r)&&r.charChanges||s.decorations.push(ue(r.originalStartLineNumber,1,r.originalEndLineNumber,1073741824,pe.charDeleteWholeLine)),s.overviewZones.push(new U.a(r.originalStartLineNumber,r.originalEndLineNumber,o)),r.charChanges))for(let e=0,n=r.charChanges.length;e<n;e++){let n=r.charChanges[e];if(ve(n))if(t)for(let e=n.originalStartLineNumber;e<=n.originalEndLineNumber;e++){let t,i;t=e===n.originalStartLineNumber?n.originalStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.originalEndLineNumber?n.originalEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ue(e,t,e,i,pe.charDelete))}else s.decorations.push(ue(n.originalStartLineNumber,n.originalStartColumn,n.originalEndLineNumber,n.originalEndColumn,pe.charDelete))}}return s}_getModifiedEditorDecorations(e,t,n,i,r){const o=String(this._insertColor);let s={decorations:[],overviewZones:[]},a=r.getModel();for(let i=0,r=e.length;i<r;i++){let r=e[i];if(_e(r)&&(s.decorations.push({range:new W.a(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,1073741824),options:n?pe.lineInsertWithSign:pe.lineInsert}),ve(r)&&r.charChanges||s.decorations.push(ue(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,1073741824,pe.charInsertWholeLine)),s.overviewZones.push(new U.a(r.modifiedStartLineNumber,r.modifiedEndLineNumber,o)),r.charChanges))for(let e=0,n=r.charChanges.length;e<n;e++){let n=r.charChanges[e];if(_e(n))if(t)for(let e=n.modifiedStartLineNumber;e<=n.modifiedEndLineNumber;e++){let t,i;t=e===n.modifiedStartLineNumber?n.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.modifiedEndLineNumber?n.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ue(e,t,e,i,pe.charInsert))}else s.decorations.push(ue(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn,pe.charInsert))}}return s}}me.MINIMUM_EDITOR_WIDTH=100;class ge extends he{constructor(e,t,n,i,r){super(e,t,n,i,r)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null}_produceModifiedFromDiff(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null}}class fe extends ce{constructor(e,t){super(e),this.decorationsLeft=e.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(e.getOriginalEditor().onDidLayoutChange(t=>{this.decorationsLeft!==t.decorationsLeft&&(this.decorationsLeft=t.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,n,i,r,o){return new be(e,t,n,i,r,o).getViewZones()}_getOriginalEditorDecorations(e,t,n,i,r){const o=String(this._removeColor);let s={decorations:[],overviewZones:[]};for(let t=0,n=e.length;t<n;t++){let n=e[t];ve(n)&&(s.decorations.push({range:new W.a(n.originalStartLineNumber,1,n.originalEndLineNumber,1073741824),options:pe.lineDeleteMargin}),s.overviewZones.push(new U.a(n.originalStartLineNumber,n.originalEndLineNumber,o)))}return s}_getModifiedEditorDecorations(e,t,n,i,r){const o=String(this._insertColor);let s={decorations:[],overviewZones:[]},a=r.getModel();for(let i=0,r=e.length;i<r;i++){let r=e[i];if(_e(r))if(s.decorations.push({range:new W.a(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,1073741824),options:n?pe.lineInsertWithSign:pe.lineInsert}),s.overviewZones.push(new U.a(r.modifiedStartLineNumber,r.modifiedEndLineNumber,o)),r.charChanges)for(let e=0,n=r.charChanges.length;e<n;e++){let n=r.charChanges[e];if(_e(n))if(t)for(let e=n.modifiedStartLineNumber;e<=n.modifiedEndLineNumber;e++){let t,i;t=e===n.modifiedStartLineNumber?n.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.modifiedEndLineNumber?n.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(ue(e,t,e,i,pe.charInsert))}else s.decorations.push(ue(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn,pe.charInsert))}else s.decorations.push(ue(r.modifiedStartLineNumber,1,r.modifiedEndLineNumber,1073741824,pe.charInsertWholeLine))}return s}layout(){return Math.max(5,this.decorationsLeft)}}class be extends he{constructor(e,t,n,i,r,o){super(e,t,i.getOption(51),n,r.getOption(51)),this.originalModel=i.getModel(),this.modifiedEditorOptions=r.getOptions(),this.modifiedEditorTabSize=r.getModel().getOptions().tabSize,this.renderIndicators=o}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){let e=document.createElement("div");return e.className="inline-added-margin-view-zone",e}_produceOriginalFromDiff(e,t,n){let i=document.createElement("div");return i.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:i}}_produceModifiedFromDiff(e,t,n){let i=[];if(e.charChanges)for(let t=0,n=e.charChanges.length;t<n;t++){let n=e.charChanges[t];ve(n)&&i.push(new S.a(new W.a(n.originalStartLineNumber,n.originalStartColumn,n.originalEndLineNumber,n.originalEndColumn),"char-delete",0))}let r=Object(z.a)(1e4),o=[];const s=this.modifiedEditorOptions.get(117),a=this.modifiedEditorOptions.get(36),l=s.decorationsWidth;let c=this.modifiedEditorOptions.get(51);const d=a.typicalHalfwidthCharacterWidth;let u=0;const p=[];for(let t=e.originalStartLineNumber;t<=e.originalEndLineNumber;t++)if(u=Math.max(u,this._renderOriginalLine(t-e.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,t,i,r)),p.push(this.originalModel.getLineContent(t)),this.renderIndicators){let n=t-e.originalStartLineNumber;o=o.concat([`<div class="delete-sign ${ae.classNames}" style="position:absolute;top:${n*c}px;width:${l}px;height:${c}px;right:0;"></div>`])}u+=this.modifiedEditorOptions.get(85);let m=document.createElement("div");m.className="view-lines line-delete "+te.a,m.innerHTML=r.build(),h.a.applyFontInfoSlow(m,a);let g=document.createElement("div");return g.className="inline-deleted-margin-view-zone",g.innerHTML=o.join(""),h.a.applyFontInfoSlow(g,a),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:u*d,domNode:m,marginDomNode:g,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:p}}}_renderOriginalLine(e,t,n,i,r,o,s){const a=t.getLineTokens(r),l=a.getLineContent(),c=n.get(36),d=H.a.filter(o,r,1,l.length+1);s.appendASCIIString('<div class="view-line'),0===o.length&&s.appendASCIIString(" char-delete"),s.appendASCIIString('" style="top:'),s.appendASCIIString(String(e*n.get(51))),s.appendASCIIString('px;width:1000000px;">');const h=S.d.isBasicASCII(l,t.mightContainNonBasicASCII()),u=S.d.containsRTL(l,h,t.mightContainRTL()),p=Object(x.d)(new x.c(c.isMonospace&&!n.get(24),c.canUseHalfwidthRightwardsArrow,l,!1,h,u,0,a,d,i,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,n.get(95),n.get(80),n.get(74),n.get(37)!==v.e.OFF,null),s);s.appendASCIIString("</div>");const m=p.characterMapping.getAbsoluteOffsets();return m.length>0?m[m.length-1]:0}}function _e(e){return e.modifiedEndLineNumber>0}function ve(e){return e.originalEndLineNumber>0}Object(T.g)((e,t)=>{const n=e.getColor(E.n);n&&(t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${n}; }`),t.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${n}; }`),t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${n}; }`));const i=e.getColor(E.p);i&&(t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${i}; }`));const r=e.getColor(E.o);r&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===e.type?"dashed":"solid"} ${r}; }`);const o=e.getColor(E.q);o&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===e.type?"dashed":"solid"} ${o}; }`);const s=e.getColor(E.ic);s&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${s}; }`);const a=e.getColor(E.l);a&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${a}; }`);const l=e.getColor(E.kc);l&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${l};\n\t\t\t}\n\t\t`);const c=e.getColor(E.lc);c&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${c};\n\t\t\t}\n\t\t`);const d=e.getColor(E.jc);d&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${d};\n\t\t\t}\n\t\t`);const h=e.getColor(E.m);t.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${h} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${h} 50%, ${h} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)})},function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function n(e,n){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=function(e,n){if(e){if("string"==typeof e)return t(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=e[Symbol.iterator]()).next.bind(i)}var i=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),r=(i.defaults,i.getDefaults,i.changeDefaults,/[&<>"']/),o=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return l[e]},d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(d,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var u=/(^|[^\[])\^/g,p=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},f=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t){g[" "+e]||(f.test(e)?g[" "+e]=e+"/":g[" "+e]=w(e,"/",!0));var n=-1===(e=g[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(b,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}function w(e,t,n){var i=e.length;if(0===i)return"";for(var r=0;r<i;){var o=e.charAt(i-r-1);if(o!==t||n){if(o===t||!n)break;r++}else r++}return e.substr(0,i-r)}var y=function(e,t){if(t){if(r.test(e))return e.replace(o,c)}else if(s.test(e))return e.replace(a,c);return e},C=h,x=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(u,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n},S=function(e,t,n){if(e){var i;try{i=decodeURIComponent(h(n)).replace(p,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!m.test(n)&&(n=v(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},k={exec:function(){}},E=function(e){for(var t,n,i=1;i<arguments.length;i++)for(n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},T=function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var i=!1,r=t;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n},L=w,N=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,r=0;r<n;r++)if("\\"===e[r])r++;else if(e[r]===t[0])i++;else if(e[r]===t[1]&&--i<0)return r;return-1},I=function(e){e&&e.sanitize&&e.silent},D=i.defaults,O=L,A=T,R=y,M=N;function P(e,t,n){var i=t.href,r=t.title?R(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:i,title:r,text:o}:{type:"image",raw:n,href:i,title:r,text:R(o)}}var F=function(){function e(e){this.options=e||D}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var i=t[t.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var r=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:O(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:A(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=A(n.cells[i],n.header.length);return n}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,i,r,o,s,a,l,c=t[0],d=t[2],h=d.length>1,u=")"===d[d.length-1],p={type:"list",raw:c,ordered:h,start:h?+d.slice(0,-1):"",loose:!1,items:[]},m=t[0].match(this.rules.block.item),g=!1,f=m.length,b=0;b<f;b++)c=n=m[b],i=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) */,"")).indexOf("\n ")&&(i-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+i+"}","gm"),"")),b!==f-1&&(r=this.rules.block.bullet.exec(m[b+1])[0],(h?1===r.length||!u&&")"===r[r.length-1]:r.length>1||this.options.smartLists&&r!==d)&&(o=m.slice(b+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-o.length),b=f-1)),s=g||/\n\n(?!\s*$)/.test(n),b!==f-1&&(g="\n"===n.charAt(n.length-1),s||(s=g)),s&&(p.loose=!0),l=void 0,(a=/^\[[ xX]\] /.test(n))&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),p.items.push({type:"list_item",raw:c,task:a,checked:l,loose:s,text:n});return p}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:A(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=A(n.cells[i].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e,t){var n=this.rules.block.text.exec(e);if(n){var i=t[t.length-1];return i&&"text"===i.type?{raw:n[0],text:n[0]}:{type:"text",raw:n[0],text:n[0]}}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:R(t[1])}},t.tag=function(e,t,n){var i=this.rules.inline.tag.exec(e);if(i)return!t&&/^<a /i.test(i[0])?t=!0:t&&/^<\/a>/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):R(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=M(t[2],"()");if(n>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var r=t[2],o="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);s?(r=s[1],o=s[3]):o=""}else o=t[3]?t[3].slice(1,-1):"";return P(t,{href:(r=r.trim().replace(/^<([\s\S]*)>$/,"$1"))?r.replace(this.rules.inline._escapes,"$1"):r,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return P(n,i,n[0])}},t.strong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.strong.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var r,o="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(o.lastIndex=0;null!=(i=o.exec(t));)if(r=this.rules.inline.strong.middle.exec(t.slice(0,i.index+3)))return{type:"strong",raw:e.slice(0,r[0].length),text:e.slice(2,r[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.em.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var r,o="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(o.lastIndex=0;null!=(i=o.exec(t));)if(r=this.rules.inline.em.middle.exec(t.slice(0,i.index+2)))return{type:"em",raw:e.slice(0,r[0].length),text:e.slice(1,r[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=n.startsWith(" ")&&n.endsWith(" ");return i&&r&&(n=n.substring(1,n.length-1)),n=R(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,i,r=this.rules.inline.autolink.exec(e);if(r)return i="@"===r[2]?"mailto:"+(n=R(this.options.mangle?t(r[1]):r[1])):n=R(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,r;if("@"===n[2])r="mailto:"+(i=R(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=R(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,r=this.rules.inline.text.exec(e);if(r)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):R(r[0]):r[0]:R(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},e}(),W=k,z=x,B=E,j={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:W,table:W,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};j.def=z(j.def).replace("label",j._label).replace("title",j._title).getRegex(),j.bullet=/(?:[*+-]|\d{1,9}[.)])/,j.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,j.item=z(j.item,"gm").replace(/bull/g,j.bullet).getRegex(),j.list=z(j.list).replace(/bull/g,j.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+j.def.source+")").getRegex(),j._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,j.html=z(j.html,"i").replace("comment",j._comment).replace("tag",j._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),j.paragraph=z(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.blockquote=z(j.blockquote).replace("paragraph",j.paragraph).getRegex(),j.normal=B({},j),j.gfm=B({},j.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),j.gfm.nptable=z(j.gfm.nptable).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.gfm.table=z(j.gfm.table).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.pedantic=B({},j.normal,{html:z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:W,paragraph:z(j.normal._paragraph).replace("hr",j.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",j.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var V={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:W,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:W,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};V.punctuation=z(V.punctuation).replace(/punctuation/g,V._punctuation).getRegex(),V._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",V._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",V._comment=z(j._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),V.em.start=z(V.em.start).replace(/punctuation/g,V._punctuation).getRegex(),V.em.middle=z(V.em.middle).replace(/punctuation/g,V._punctuation).replace(/overlapSkip/g,V._overlapSkip).getRegex(),V.em.endAst=z(V.em.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.em.endUnd=z(V.em.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.start=z(V.strong.start).replace(/punctuation/g,V._punctuation).getRegex(),V.strong.middle=z(V.strong.middle).replace(/punctuation/g,V._punctuation).replace(/blockSkip/g,V._blockSkip).getRegex(),V.strong.endAst=z(V.strong.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.endUnd=z(V.strong.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.blockSkip=z(V._blockSkip,"g").getRegex(),V.overlapSkip=z(V._overlapSkip,"g").getRegex(),V._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,V._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,V._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,V.autolink=z(V.autolink).replace("scheme",V._scheme).replace("email",V._email).getRegex(),V._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,V.tag=z(V.tag).replace("comment",V._comment).replace("attribute",V._attribute).getRegex(),V._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,V._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,V.link=z(V.link).replace("label",V._label).replace("href",V._href).replace("title",V._title).getRegex(),V.reflink=z(V.reflink).replace("label",V._label).getRegex(),V.reflinkSearch=z(V.reflinkSearch,"g").replace("reflink",V.reflink).replace("nolink",V.nolink).getRegex(),V.normal=B({},V),V.pedantic=B({},V.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",V._label).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",V._label).getRegex()}),V.gfm=B({},V.normal,{escape:z(V.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),V.gfm.url=z(V.gfm.url,"i").replace("email",V.gfm._extended_email).getRegex(),V.breaks=B({},V.gfm,{br:z(V.br).replace("{2,}","*").getRegex(),text:z(V.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var U={block:j,inline:V},H=i.defaults,q=U.block,$=U.inline;function K(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function G(e){var t,n,i="",r=e.length;for(t=0;t<r;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var Y=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||H,this.options.tokenizer=this.options.tokenizer||new F,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:q.normal,inline:$.normal};this.options.pedantic?(t.block=q.pedantic,t.inline=$.pedantic):this.options.gfm&&(t.block=q.gfm,this.options.breaks?t.inline=$.breaks:t.inline=$.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)};var n,i,r,o=t.prototype;return o.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},o.blockTokens=function(e,t,n){var i,r,o,s;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((s=t[t.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),o=i.items.length,r=0;r<o;r++)i.items[r].tokens=this.blockTokens(i.items[r].text,[],!1);t.push(i)}else if(i=this.tokenizer.html(e))e=e.substring(i.raw.length),t.push(i);else if(n&&(i=this.tokenizer.def(e)))e=e.substring(i.raw.length),this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});else if(i=this.tokenizer.table(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.lheading(e))e=e.substring(i.raw.length),t.push(i);else if(n&&(i=this.tokenizer.paragraph(e)))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.text(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((s=t[t.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return t},o.inline=function(e){var t,n,i,r,o,s,a=e.length;for(t=0;t<a;t++)switch((s=e[t]).type){case"paragraph":case"text":case"heading":s.tokens=[],this.inlineTokens(s.text,s.tokens);break;case"table":for(s.tokens={header:[],cells:[]},r=s.header.length,n=0;n<r;n++)s.tokens.header[n]=[],this.inlineTokens(s.header[n],s.tokens.header[n]);for(r=s.cells.length,n=0;n<r;n++)for(o=s.cells[n],s.tokens.cells[n]=[],i=0;i<o.length;i++)s.tokens.cells[n][i]=[],this.inlineTokens(o[i],s.tokens.cells[n][i]);break;case"blockquote":this.inline(s.tokens);break;case"list":for(r=s.items.length,n=0;n<r;n++)this.inline(s.items[n].tokens)}return e},o.inlineTokens=function(e,t,n,i,r){var o;void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===i&&(i=!1),void 0===r&&(r="");var s,a=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(a));)l.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,n,i))e=e.substring(o.raw.length),n=o.inLink,i=o.inRawBlock,t.push(o);else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,i)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,i)),t.push(o);else if(o=this.tokenizer.strong(e,a,r))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,i),t.push(o);else if(o=this.tokenizer.em(e,a,r))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,i),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,i),t.push(o);else if(o=this.tokenizer.autolink(e,G))e=e.substring(o.raw.length),t.push(o);else if(n||!(o=this.tokenizer.url(e,G))){if(o=this.tokenizer.inlineText(e,i,K))e=e.substring(o.raw.length),r=o.raw.slice(-1),t.push(o);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(o.raw.length),t.push(o);return t},n=t,r=[{key:"rules",get:function(){return{block:q,inline:$}}}],(i=null)&&e(n.prototype,i),r&&e(n,r),t}(),Z=i.defaults,X=S,Q=y,J=function(){function e(e){this.options=e||Z}var t=e.prototype;return t.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,i);null!=r&&r!==e&&(n=!0,e=r)}return i?'<pre><code class="'+this.options.langPrefix+Q(i,!0)+'">'+(n?e:Q(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Q(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+i.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(null===(e=X(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<a href="'+Q(e)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},t.image=function(e,t,n){if(null===(e=X(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+=this.options.xhtml?"/>":">"},t.text=function(e){return e},e}(),ee=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),te=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),ne=i.defaults,ie=C,re=function(){function e(e){this.options=e||ne,this.options.renderer=this.options.renderer||new J,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ee,this.slugger=new te}e.parse=function(t,n){return new e(n).parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,r,o,s,a,l,c,d,h,u,p,m,g,f,b,_,v,w="",y=e.length;for(n=0;n<y;n++)switch((h=e[n]).type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(h.tokens),h.depth,ie(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(c="",l="",o=h.header.length,i=0;i<o;i++)l+=this.renderer.tablecell(this.parseInline(h.tokens.header[i]),{header:!0,align:h.align[i]});for(c+=this.renderer.tablerow(l),d="",o=h.cells.length,i=0;i<o;i++){for(l="",s=(a=h.tokens.cells[i]).length,r=0;r<s;r++)l+=this.renderer.tablecell(this.parseInline(a[r]),{header:!1,align:h.align[r]});d+=this.renderer.tablerow(l)}w+=this.renderer.table(c,d);continue;case"blockquote":d=this.parse(h.tokens),w+=this.renderer.blockquote(d);continue;case"list":for(u=h.ordered,p=h.start,m=h.loose,o=h.items.length,d="",i=0;i<o;i++)b=(f=h.items[i]).checked,_=f.task,g="",f.task&&(v=this.renderer.checkbox(b),m?f.tokens.length>0&&"text"===f.tokens[0].type?(f.tokens[0].text=v+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=v+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:v}):g+=v),g+=this.parse(f.tokens,m),d+=this.renderer.listitem(g,_,b);w+=this.renderer.list(d,u,p);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(d=h.tokens?this.parseInline(h.tokens):h.text;n+1<y&&"text"===e[n+1].type;)d+="\n"+((h=e[++n]).tokens?this.parseInline(h.tokens):h.text);w+=t?this.renderer.paragraph(d):d;continue;default:var C='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(C);throw new Error(C)}return w},t.parseInline=function(e,t){t=t||this.renderer;var n,i,r="",o=e.length;for(n=0;n<o;n++)switch((i=e[n]).type){case"escape":r+=t.text(i.text);break;case"html":r+=t.html(i.text);break;case"link":r+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":r+=t.image(i.href,i.title,i.text);break;case"strong":r+=t.strong(this.parseInline(i.tokens,t));break;case"em":r+=t.em(this.parseInline(i.tokens,t));break;case"codespan":r+=t.codespan(i.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(i.tokens,t));break;case"text":r+=t.text(i.text);break;default:var s='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}return r},e}(),oe=E,se=I,ae=y,le=i.getDefaults,ce=i.changeDefaults,de=i.defaults;function he(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=oe({},he.defaults,t||{}),se(t),n){var i,r=t.highlight;try{i=Y.lex(e,t)}catch(e){return n(e)}var o=function(e){var o;if(!e)try{o=re.parse(i,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,o)};if(!r||r.length<3)return o();if(delete t.highlight,!i.length)return o();var s=0;return he.walkTokens(i,(function(e){"code"===e.type&&(s++,setTimeout((function(){r(e.text,e.lang,(function(t,n){if(t)return o(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--s&&o()}))}),0))})),void(0===s&&o())}try{var a=Y.lex(e,t);return t.walkTokens&&he.walkTokens(a,t.walkTokens),re.parse(a,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ae(e.message+"",!0)+"</pre>";throw e}}return he.options=he.setOptions=function(e){return oe(he.defaults,e),ce(he.defaults),he},he.getDefaults=le,he.defaults=de,he.use=function(e){var t=oe({},e);if(e.renderer&&function(){var n=he.defaults.renderer||new J,i=function(t){var i=n[t];n[t]=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a=e.renderer[t].apply(n,o);return!1===a&&(a=i.apply(n,o)),a}};for(var r in e.renderer)i(r);t.renderer=n}(),e.tokenizer&&function(){var n=he.defaults.tokenizer||new F,i=function(t){var i=n[t];n[t]=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a=e.tokenizer[t].apply(n,o);return!1===a&&(a=i.apply(n,o)),a}};for(var r in e.tokenizer)i(r);t.tokenizer=n}(),e.walkTokens){var n=he.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}he.setOptions(t)},he.walkTokens=function(e,t){for(var i,r=n(e);!(i=r()).done;){var o=i.value;switch(t(o),o.type){case"table":for(var s,a=n(o.tokens.header);!(s=a()).done;){var l=s.value;he.walkTokens(l,t)}for(var c,d=n(o.tokens.cells);!(c=d()).done;)for(var h,u=n(c.value);!(h=u()).done;){var p=h.value;he.walkTokens(p,t)}break;case"list":he.walkTokens(o.items,t);break;default:o.tokens&&he.walkTokens(o.tokens,t)}}},he.Parser=re,he.parser=re.parse,he.Renderer=J,he.TextRenderer=ee,he.Lexer=Y,he.lexer=Y.lex,he.Tokenizer=F,he.Slugger=te,he.parse=he,he}()},function(e,t,n){var i=n(32),r=n(250);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){var i=n(32),r=n(263);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){var i=n(32),r=n(297);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){var i=n(32),r=n(304);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){var i=n(32),r=n(201);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n\r\n/* Default standalone editor fonts */\r\n.monaco-editor {\r\n\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\r\n\t--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;\r\n}\r\n\r\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\r\n\tstroke-width: 1.2px;\r\n}\r\n\r\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\r\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\r\n\tstroke-width: 1.2px;\r\n}\r\n\r\n.monaco-hover p {\r\n\tmargin: 0;\r\n}\r\n\r\n/* The hc-black theme is already high contrast optimized */\r\n.monaco-editor.hc-black {\r\n\t-ms-high-contrast-adjust: none;\r\n}\r\n/* In case the browser goes into high contrast mode and the editor is not configured with the hc-black theme */\r\n@media screen and (-ms-high-contrast:active) {\r\n\r\n\t/* current line highlight */\r\n\t.monaco-editor.vs .view-overlays .current-line,\r\n\t.monaco-editor.vs-dark .view-overlays .current-line {\r\n\t\tborder-color: windowtext !important;\r\n\t\tborder-left: 0;\r\n\t\tborder-right: 0;\r\n\t}\r\n\r\n\t/* view cursors */\r\n\t.monaco-editor.vs .cursor,\r\n\t.monaco-editor.vs-dark .cursor {\r\n\t\tbackground-color: windowtext !important;\r\n\t}\r\n\t/* dnd target */\r\n\t.monaco-editor.vs .dnd-target,\r\n\t.monaco-editor.vs-dark .dnd-target {\r\n\t\tborder-color: windowtext !important;\r\n\t}\r\n\r\n\t/* selected text background */\r\n\t.monaco-editor.vs .selected-text,\r\n\t.monaco-editor.vs-dark .selected-text {\r\n\t\tbackground-color: highlight !important;\r\n\t}\r\n\r\n\t/* allow the text to have a transparent background. */\r\n\t.monaco-editor.vs .view-line,\r\n\t.monaco-editor.vs-dark .view-line {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t}\r\n\r\n\t/* text color */\r\n\t.monaco-editor.vs .view-line span,\r\n\t.monaco-editor.vs-dark .view-line span {\r\n\t\tcolor: windowtext !important;\r\n\t}\r\n\t/* selected text color */\r\n\t.monaco-editor.vs .view-line span.inline-selected-text,\r\n\t.monaco-editor.vs-dark .view-line span.inline-selected-text {\r\n\t\tcolor: highlighttext !important;\r\n\t}\r\n\r\n\t/* allow decorations */\r\n\t.monaco-editor.vs .view-overlays,\r\n\t.monaco-editor.vs-dark .view-overlays {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t}\r\n\r\n\t/* various decorations */\r\n\t.monaco-editor.vs .selectionHighlight,\r\n\t.monaco-editor.vs-dark .selectionHighlight,\r\n\t.monaco-editor.vs .wordHighlight,\r\n\t.monaco-editor.vs-dark .wordHighlight,\r\n\t.monaco-editor.vs .wordHighlightStrong,\r\n\t.monaco-editor.vs-dark .wordHighlightStrong,\r\n\t.monaco-editor.vs .reference-decoration,\r\n\t.monaco-editor.vs-dark .reference-decoration {\r\n\t\tborder: 2px dotted highlight !important;\r\n\t\tbackground: transparent !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .rangeHighlight,\r\n\t.monaco-editor.vs-dark .rangeHighlight {\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px dotted activeborder !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .bracket-match,\r\n\t.monaco-editor.vs-dark .bracket-match {\r\n\t\tborder-color: windowtext !important;\r\n\t\tbackground: transparent !important;\r\n\t}\r\n\r\n\t/* find widget */\r\n\t.monaco-editor.vs .findMatch,\r\n\t.monaco-editor.vs-dark .findMatch,\r\n\t.monaco-editor.vs .currentFindMatch,\r\n\t.monaco-editor.vs-dark .currentFindMatch {\r\n\t\tborder: 2px dotted activeborder !important;\r\n\t\tbackground: transparent !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .find-widget,\r\n\t.monaco-editor.vs-dark .find-widget {\r\n\t\tborder: 1px solid windowtext;\r\n\t}\r\n\r\n\t/* list - used by suggest widget */\r\n\t.monaco-editor.vs .monaco-list .monaco-list-row,\r\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tcolor: windowtext !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-list .monaco-list-row.focused,\r\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused {\r\n\t\tcolor: highlighttext !important;\r\n\t\tbackground-color: highlight !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-list .monaco-list-row:hover,\r\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover {\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px solid highlight;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t/* scrollbars */\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tbackground: background !important;\r\n\t\tborder: 1px solid windowtext;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\r\n\t\tbackground: windowtext !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider:hover,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider:hover {\r\n\t\tbackground: highlight !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider.active,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\r\n\t\tbackground: highlight !important;\r\n\t}\r\n\r\n\t/* overview ruler */\r\n\t.monaco-editor.vs .decorationsOverviewRuler,\r\n\t.monaco-editor.vs-dark .decorationsOverviewRuler {\r\n\t\topacity: 0;\r\n\t}\r\n\r\n\t/* minimap */\r\n\t.monaco-editor.vs .minimap,\r\n\t.monaco-editor.vs-dark .minimap {\r\n\t\tdisplay: none;\r\n\t}\r\n\r\n\t/* squiggles */\r\n\t.monaco-editor.vs .squiggly-d-error,\r\n\t.monaco-editor.vs-dark .squiggly-d-error {\r\n\t\tbackground: transparent !important;\r\n\t\tborder-bottom: 4px double #E47777;\r\n\t}\r\n\t.monaco-editor.vs .squiggly-c-warning,\r\n\t.monaco-editor.vs-dark .squiggly-c-warning {\r\n\t\tborder-bottom: 4px double #71B771;\r\n\t}\r\n\t.monaco-editor.vs .squiggly-b-info,\r\n\t.monaco-editor.vs-dark .squiggly-b-info {\r\n\t\tborder-bottom: 4px double #71B771;\r\n\t}\r\n\t.monaco-editor.vs .squiggly-a-hint,\r\n\t.monaco-editor.vs-dark .squiggly-a-hint {\r\n\t\tborder-bottom: 4px double #6c6c6c;\r\n\t}\r\n\r\n\t/* contextmenu */\r\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\r\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tcolor: highlighttext !important;\r\n\t\tbackground-color: highlight !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,\r\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px solid highlight;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t/* diff editor */\r\n\t.monaco-diff-editor.vs .diffOverviewRuler,\r\n\t.monaco-diff-editor.vs-dark .diffOverviewRuler {\r\n\t\tdisplay: none;\r\n\t}\r\n\t.monaco-editor.vs .line-insert,\r\n\t.monaco-editor.vs-dark .line-insert,\r\n\t.monaco-editor.vs .line-delete,\r\n\t.monaco-editor.vs-dark .line-delete {\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px solid highlight !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .char-insert,\r\n\t.monaco-editor.vs-dark .char-insert,\r\n\t.monaco-editor.vs .char-delete,\r\n\t.monaco-editor.vs-dark .char-delete {\r\n\t\tbackground: transparent !important;\r\n\t}\r\n}\r\n\r\n/*.monaco-editor.vs [tabindex="0"]:focus {\r\n\toutline: 1px solid rgba(0, 122, 204, 0.4);\r\n\toutline-offset: -1px;\r\n\topacity: 1 !important;\r\n}\r\n\r\n.monaco-editor.vs-dark [tabindex="0"]:focus {\r\n\toutline: 1px solid rgba(14, 99, 156, 0.6);\r\n\toutline-offset: -1px;\r\n\topacity: 1 !important;\r\n}*/\r\n',""]),e.exports=t},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <http://feross.org> * @license MIT */ -var i=n(203),o=n(204),r=n(205);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return c(this,e,t,n)}function c(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=u(e,t);return e}(e,t,n,i):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|m(t,n),o=(e=a(e,i)).write(t,n);o!==i&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(i=t.length)!=i?a(e,0):u(e,t);if("Buffer"===t.type&&r(t.data))return u(e,t.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(d(t),e=a(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function u(e,t){var n=t.length<0?0:0|p(t.length);e=a(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function p(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(i)return B(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function f(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,o){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:_(e,t,n,i,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,i,o){var r,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var d=-1;for(r=n;r<a;r++)if(c(e,r)===c(t,-1===d?0:r-d)){if(-1===d&&(d=r),r-d+1===l)return d*s}else-1!==d&&(r-=r-d),d=-1}else for(n+l>a&&(n=a-l),r=n;r>=0;r--){for(var h=!0,u=0;u<l;u++)if(c(e,r+u)!==c(t,u)){h=!1;break}if(h)return r}return-1}function v(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i))>o&&(i=o):i=o;var r=t.length;if(r%2!=0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var s=0;s<i;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function w(e,t,n,i){return V(B(t,e.length-n),e,n,i)}function y(e,t,n,i){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function C(e,t,n,i){return y(e,t,n,i)}function x(e,t,n,i){return V(j(t),e,n,i)}function S(e,t,n,i){return V(function(e,t){for(var n,i,o,r=[],s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),i=n>>8,o=n%256,r.push(o),r.push(i);return r}(t,e.length-n),e,n,i)}function k(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var i=[],o=t;o<n;){var r,s,a,l,c=e[o],d=null,h=c>239?4:c>223?3:c>191?2:1;if(o+h<=n)switch(h){case 1:c<128&&(d=c);break;case 2:128==(192&(r=e[o+1]))&&(l=(31&c)<<6|63&r)>127&&(d=l);break;case 3:r=e[o+1],s=e[o+2],128==(192&r)&&128==(192&s)&&(l=(15&c)<<12|(63&r)<<6|63&s)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:r=e[o+1],s=e[o+2],a=e[o+3],128==(192&r)&&128==(192&s)&&128==(192&a)&&(l=(15&c)<<18|(63&r)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(d=l)}null===d?(d=65533,h=1):d>65535&&(d-=65536,i.push(d>>>10&1023|55296),d=56320|1023&d),i.push(d),o+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return n}(i)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,i){return d(t),t<=0?a(e,t):void 0!==n?"string"==typeof i?a(e,t).fill(n,i):a(e,t).fill(n):a(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return h(null,e)},l.allocUnsafeSlow=function(e){return h(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,o=0,r=Math.min(n,i);o<r;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},l.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}},l.concat=function(e,t){if(!r(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i},l.byteLength=m,l.prototype._isBuffer=!0,l.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)f(this,t,t+1);return this},l.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)f(this,t,t+3),f(this,t+1,t+2);return this},l.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)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,i,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var r=(o>>>=0)-(i>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(r,s),c=this.slice(i,o),d=e.slice(t,n),h=0;h<a;++h)if(c[h]!==d[h]){r=c[h],s=d[h];break}return r<s?-1:s<r?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},l.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function T(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}function L(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}function N(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var o="",r=t;r<n;++r)o+=z(e[r]);return o}function I(e,t,n){for(var i=e.slice(t,n),o="",r=0;r<i.length;r+=2)o+=String.fromCharCode(i[r]+256*i[r+1]);return o}function O(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,i,o,r){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<r)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function A(e,t,n,i){t<0&&(t=65535+t+1);for(var o=0,r=Math.min(e.length-n,2);o<r;++o)e[n+o]=(t&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var o=0,r=Math.min(e.length-n,4);o<r;++o)e[n+o]=t>>>8*(i?o:3-o)&255}function M(e,t,n,i,o,r){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,i,r){return r||M(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function F(e,t,n,i,r){return r||M(e,0,n,8),o.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;n=new l(o,void 0);for(var r=0;r<o;++r)n[r]=this[r+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||O(e,t,this.length);for(var i=this[e],o=1,r=0;++r<t&&(o*=256);)i+=this[e+r]*o;return i},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||O(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i},l.prototype.readUInt8=function(e,t){return t||O(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||O(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||O(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||O(e,t,this.length);for(var i=this[e],o=1,r=0;++r<t&&(o*=256);)i+=this[e+r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||O(e,t,this.length);for(var i=t,o=1,r=this[e+--i];i>0&&(o*=256);)r+=this[e+--i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readInt8=function(e,t){return t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||O(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||O(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||O(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||O(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,r=0;for(this[t]=255&e;++r<n&&(o*=256);)this[t+r]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*n-1);D(this,e,t,n,o-1,-o)}var r=0,s=1,a=0;for(this[t]=255&e;++r<n&&(s*=256);)e<0&&0===a&&0!==this[t+r-1]&&(a=1),this[t+r]=(e/s>>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*n-1);D(this,e,t,n,o-1,-o)}var r=n-1,s=1,a=0;for(this[t+r]=255&e;--r>=0&&(s*=256);)e<0&&0===a&&0!==this[t+r+1]&&(a=1),this[t+r]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o,r=i-n;if(this===e&&n<t&&t<i)for(o=r-1;o>=0;--o)e[o+t]=this[o+n];else if(r<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<r;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+r),t);return r},l.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var r;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r<n;++r)this[r]=e;else{var s=l.isBuffer(e)?e:B(new l(e,i).toString()),a=s.length;for(r=0;r<n-t;++r)this[r+t]=s[r%a]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e,t){var n;t=t||1/0;for(var i=e.length,o=null,r=[],s=0;s<i;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function j(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,i){for(var o=0;o<i&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(137))},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return 3*(n+i)/4-i},t.toByteArray=function(e){var t,n,i=c(e),s=i[0],a=i[1],l=new r(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),d=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[d++]=t>>16&255,l[d++]=t>>8&255,l[d++]=255&t;2===a&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[d++]=255&t);1===a&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[d++]=t>>8&255,l[d++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,r=[],s=0,a=n-o;s<a;s+=16383)r.push(d(e,s,s+16383>a?a:s+16383));1===o?(t=e[n-1],r.push(i[t>>2]+i[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],r.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return r.join("")};for(var i=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a<l;++a)i[a]=s[a],o[s.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function d(e,t,n){for(var o,r,s=[],a=t;a<n;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(i[(r=o)>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,i,o){var r,s,a=8*o-i-1,l=(1<<a)-1,c=l>>1,d=-7,h=n?o-1:0,u=n?-1:1,p=e[t+h];for(h+=u,r=p&(1<<-d)-1,p>>=-d,d+=a;d>0;r=256*r+e[t+h],h+=u,d-=8);for(s=r&(1<<-d)-1,r>>=-d,d+=i;d>0;s=256*s+e[t+h],h+=u,d-=8);if(0===r)r=1-c;else{if(r===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),r-=c}return(p?-1:1)*s*Math.pow(2,r-i)},t.write=function(e,t,n,i,o,r){var s,a,l,c=8*r-o-1,d=(1<<c)-1,h=d>>1,u=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:r-1,m=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+h>=1?u/l:u*Math.pow(2,1-h))*l>=2&&(s++,l/=2),s+h>=d?(a=0,s=d):s+h>=1?(a=(t*l-1)*Math.pow(2,o),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=255&a,p+=m,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+p]=255&s,p+=m,s/=256,c-=8);e[n+p-m]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var i=n(32),o=n(207);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-aria-container {\n\tposition: absolute; /* try to hide from window but not from screen readers */\n\tleft:-999em;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(209);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -------------------- IE10 remove auto clear button -------------------- */\n\n::-ms-clear {\n\tdisplay: none;\n}\n\n/* All widgets */\n/* I am not a big fan of this rule */\n.monaco-editor .editor-widget input {\n\tcolor: inherit;\n}\n\n/* -------------------- Editor -------------------- */\n\n.monaco-editor {\n\tposition: relative;\n\toverflow: visible;\n\t-webkit-text-size-adjust: 100%;\n}\n\n/* -------------------- Misc -------------------- */\n\n.monaco-editor .overflow-guard {\n\tposition: relative;\n\toverflow: hidden;\n}\n\n.monaco-editor .view-overlays {\n\tposition: absolute;\n\ttop: 0;\n}\n\n/*\n.monaco-editor .auto-closed-character {\n\topacity: 0.3;\n}\n*/\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(211);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inputarea {\n\tmin-width: 0;\n\tmin-height: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tposition: absolute;\n\toutline: none !important;\n\tresize: none;\n\tborder: none;\n\toverflow: hidden;\n\tcolor: transparent;\n\tbackground-color: transparent;\n}\n/*.monaco-editor .inputarea {\n\tposition: fixed !important;\n\twidth: 800px !important;\n\theight: 500px !important;\n\ttop: initial !important;\n\tleft: initial !important;\n\tbottom: 0 !important;\n\tright: 0 !important;\n\tcolor: black !important;\n\tbackground: white !important;\n\tline-height: 15px !important;\n\tfont-size: 14px !important;\n}*/\n.monaco-editor .inputarea.ime-input {\n\tz-index: 10;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(213);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .line-numbers {\n\tfont-variant-numeric: tabular-nums;\n\tposition: absolute;\n\ttext-align: right;\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tbox-sizing: border-box;\n\tcursor: default;\n\theight: 100%;\n}\n\n.monaco-editor .relative-current-line-number {\n\ttext-align: left;\n\tdisplay: inline-block;\n\twidth: 100%;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\n\tmargin-top: 1px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(215);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-mouse-cursor-text {\n\tcursor: text;\n}\n\n/* The following selector looks a bit funny, but that is needed to cover all the workbench and the editor!! */\n.vs-dark .mac .monaco-mouse-cursor-text, .hc-black .mac .monaco-mouse-cursor-text,\n.vs-dark.mac .monaco-mouse-cursor-text, .hc-black.mac .monaco-mouse-cursor-text {\n\tcursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(217);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-overlays .current-line {\n\tdisplay: block;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tbox-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line {\n\tdisplay: block;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tbox-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\n\tborder-right: 0;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(219);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcdr = core decorations rendering (div)\n*/\n.monaco-editor .lines-content .cdr {\n\tposition: absolute;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(221);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n.vs .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n.vs-dark .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n.vs-dark .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n.vs-dark .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n.hc-black .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n.hc-black .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n.hc-black .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(223);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .glyph-margin {\n\tposition: absolute;\n\ttop: 0;\n}\n\n/*\n\tKeeping name short for faster parsing.\n\tcgmr = core glyph margin rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cgmr {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(225);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcigr = core ident guides rendering (div)\n*/\n.monaco-editor .lines-content .cigr {\n\tposition: absolute;\n}\n.monaco-editor .lines-content .cigra {\n\tposition: absolute;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(227);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Uncomment to see lines flashing when they're painted */\n/*.monaco-editor .view-lines > .view-line {\n\tbackground-color: none;\n\tanimation-name: flash-background;\n\tanimation-duration: 800ms;\n}\n@keyframes flash-background {\n\t0% { background-color: lightgreen; }\n\t100% { background-color: none }\n}*/\n\n.monaco-editor.no-user-select .lines-content,\n.monaco-editor.no-user-select .view-line,\n.monaco-editor.no-user-select .view-lines {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-editor .view-lines {\n\twhite-space: nowrap;\n}\n\n.monaco-editor .view-line {\n\tposition: absolute;\n\twidth: 100%;\n}\n\n.monaco-editor .mtkz {\n\tdisplay: inline-block;\n}\n\n/* TODO@tokenization bootstrap fix */\n/*.monaco-editor .view-line > span > span {\n\tfloat: none;\n\tmin-height: inherit;\n\tmargin-left: inherit;\n}*/\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(229);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .lines-decorations {\n\tposition: absolute;\n\ttop: 0;\n\tbackground: white;\n}\n\n/*\n\tKeeping name short for faster parsing.\n\tcldr = core lines decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cldr {\n\tposition: absolute;\n\theight: 100%;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(231);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcmdr = core margin decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cmdr {\n\tposition: absolute;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(233);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* START cover the case that slider is visible on mouseover */\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\n\topacity: 0;\n\ttransition: opacity 100ms linear;\n}\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\n\topacity: 1;\n}\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\n\topacity: 1;\n}\n/* END cover the case that slider is visible on mouseover */\n\n.monaco-editor .minimap-shadow-hidden {\n\tposition: absolute;\n\twidth: 0;\n}\n.monaco-editor .minimap-shadow-visible {\n\tposition: absolute;\n\tleft: -6px;\n\twidth: 6px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(235);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .overlayWidgets {\n\tposition: absolute;\n\ttop: 0;\n\tleft:0;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(237);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-ruler {\n\tposition: absolute;\n\ttop: 0;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(239);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .scroll-decoration {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\theight: 6px;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(241);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcslr = core selections layer rendering (div)\n*/\n.monaco-editor .lines-content .cslr {\n\tposition: absolute;\n}\n\n.monaco-editor\t\t\t.top-left-radius\t\t{ border-top-left-radius: 3px; }\n.monaco-editor\t\t\t.bottom-left-radius\t\t{ border-bottom-left-radius: 3px; }\n.monaco-editor\t\t\t.top-right-radius\t\t{ border-top-right-radius: 3px; }\n.monaco-editor\t\t\t.bottom-right-radius\t{ border-bottom-right-radius: 3px; }\n\n.monaco-editor.hc-black .top-left-radius\t\t{ border-top-left-radius: 0; }\n.monaco-editor.hc-black .bottom-left-radius\t\t{ border-bottom-left-radius: 0; }\n.monaco-editor.hc-black .top-right-radius\t\t{ border-top-right-radius: 0; }\n.monaco-editor.hc-black .bottom-right-radius\t{ border-bottom-right-radius: 0; }\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(243);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .cursors-layer {\n\tposition: absolute;\n\ttop: 0;\n}\n\n.monaco-editor .cursors-layer > .cursor {\n\tposition: absolute;\n\toverflow: hidden;\n}\n\n/* -- smooth-caret-animation -- */\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\n\ttransition: all 80ms;\n}\n\n/* -- block-outline-style -- */\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\n\tbox-sizing: border-box;\n\tbackground: transparent !important;\n\tborder-style: solid;\n\tborder-width: 1px;\n}\n\n/* -- underline-style -- */\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\n\tborder-bottom-width: 2px;\n\tborder-bottom-style: solid;\n\tbackground: transparent !important;\n\tbox-sizing: border-box;\n}\n\n/* -- underline-thin-style -- */\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tbackground: transparent !important;\n\tbox-sizing: border-box;\n}\n\n@keyframes monaco-cursor-smooth {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t60%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes monaco-cursor-phase {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t90%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes monaco-cursor-expand {\n\t0%,\n\t20% {\n\t\ttransform: scaleY(1);\n\t}\n\t80%,\n\t100% {\n\t\ttransform: scaleY(0);\n\t}\n}\n\n.cursor-smooth {\n\tanimation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n\tanimation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-expand > .cursor {\n\tanimation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(245);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- DiffEditor ---------- */\n\n.monaco-diff-editor .diffOverview {\n\tz-index: 9;\n}\n\n.monaco-diff-editor .diffOverview .diffViewport {\n\tz-index: 10;\n}\n\n/* colors not externalized: using transparancy on background */\n.monaco-diff-editor.vs\t\t\t.diffOverview { background: rgba(0, 0, 0, 0.03); }\n.monaco-diff-editor.vs-dark\t\t.diffOverview { background: rgba(255, 255, 255, 0.01); }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs\t\t.scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark\t.scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black\t.scrollbar { background: none; }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\n\tz-index: 10;\n}\n.modified-in-monaco-diff-editor\t\t\t\t.slider.active { background: rgba(171, 171, 171, .4); }\n.modified-in-monaco-diff-editor.hc-black\t.slider.active { background: none; }\n\n/* ---------- Diff ---------- */\n\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign,\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n\tfont-size: 11px !important;\n\topacity: 0.7 !important;\n\tdisplay: flex !important;\n\talign-items: center;\n}\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign {\n\topacity: 1;\n}\n\n.monaco-editor .inline-deleted-margin-view-zone {\n\ttext-align: right;\n}\n.monaco-editor .inline-added-margin-view-zone {\n\ttext-align: right;\n}\n\n/* ---------- Inline Diff ---------- */\n\n.monaco-editor .view-zones .view-lines .view-line span {\n\tdisplay: inline-block;\n}\n\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\n\tcursor: pointer;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(247);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-sash {\n\tposition: absolute;\n\tz-index: 35;\n\ttouch-action: none;\n}\n\n.monaco-sash.disabled {\n\tpointer-events: none;\n}\n\n.monaco-sash.mac.vertical {\n\tcursor: col-resize;\n}\n\n.monaco-sash.vertical.minimum {\n\tcursor: e-resize;\n}\n\n.monaco-sash.vertical.maximum {\n\tcursor: w-resize;\n}\n\n.monaco-sash.mac.horizontal {\n\tcursor: row-resize;\n}\n\n.monaco-sash.horizontal.minimum {\n\tcursor: s-resize;\n}\n\n.monaco-sash.horizontal.maximum {\n\tcursor: n-resize;\n}\n\n.monaco-sash.disabled {\n\tcursor: default !important;\n\tpointer-events: none !important;\n}\n\n/** Debug **/\n\n.monaco-sash.debug {\n\tbackground: cyan;\n}\n\n.monaco-sash.debug.disabled {\n\tbackground: rgba(0, 255, 255, 0.2);\n}\n\n.monaco-sash.debug:not(.disabled).orthogonal-start::before,\n.monaco-sash.debug:not(.disabled).orthogonal-end::after {\n\tbackground: red;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(249);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-diff-editor .diff-review-line-number {\n\ttext-align: right;\n\tdisplay: inline-block;\n}\n\n.monaco-diff-editor .diff-review {\n\tposition: absolute;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-diff-editor .diff-review-summary {\n\tpadding-left: 10px;\n}\n\n.monaco-diff-editor .diff-review-shadow {\n\tposition: absolute;\n}\n\n.monaco-diff-editor .diff-review-row {\n\twhite-space: pre;\n}\n\n.monaco-diff-editor .diff-review-table {\n\tdisplay: table;\n\tmin-width: 100%;\n}\n\n.monaco-diff-editor .diff-review-row {\n\tdisplay: table-row;\n\twidth: 100%;\n}\n\n.monaco-diff-editor .diff-review-spacer {\n\tdisplay: inline-block;\n\twidth: 10px;\n\tvertical-align: middle;\n}\n\n.monaco-diff-editor .diff-review-spacer > .codicon {\n\tfont-size: 9px !important;\n}\n\n.monaco-diff-editor .diff-review-actions {\n\tdisplay: inline-block;\n\tposition: absolute;\n\tright: 10px;\n\ttop: 2px;\n}\n\n.monaco-diff-editor .diff-review-actions .action-label {\n\twidth: 16px;\n\theight: 16px;\n\tmargin: 2px 0;\n}\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n\ttext-align: right;\n\twhite-space: nowrap;\n}\n\n.monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-action-bar .action-item .icon,\n.monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-action-bar.animated.vertical .action-item.active {\n\ttransform: translate(5px, 0);\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(252);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){var i=n(33),o=n(253),r=n(254);t=i(!1);var s=o(r);t.push([e.i,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@font-face {\n\tfont-family: "codicon";\n\tsrc: url('+s+") format(\"truetype\");\n}\n\n.codicon[class*='codicon-'] {\n\tfont: normal normal normal 16px/1 codicon;\n\tdisplay: inline-block;\n\ttext-decoration: none;\n\ttext-rendering: auto;\n\ttext-align: center;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n/* icon rules are dynamically created in codiconStyles */\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";n.r(t),t.default=n.p+"b3726f0165bf67ac68494ee7a1b9f6ce.ttf"},function(e,t,n){var i=n(32),o=n(256);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.codicon-wrench-subaction {\n\topacity: 0.5;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(258);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@keyframes codicon-spin {\n\t100% {\n\t\ttransform:rotate(360deg);\n\t}\n}\n\n.codicon-animation-spin {\n\t/* Use steps to throttle FPS to reduce CPU usage */\n\tanimation: codicon-spin 1.5s steps(30) infinite;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(260);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view .monaco-menu {\n\tmin-width: 130px;\n}\n\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(262);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view {\n\tposition: absolute;\n\tz-index: 2500;\n}\n\n.context-view.fixed {\n\tall: initial;\n\tfont-family: inherit;\n\tfont-size: 13px;\n\tposition: fixed;\n\tz-index: 2500;\n\tcolor: inherit;\n}\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list {\n\tposition: relative;\n\theight: 100%;\n\twidth: 100%;\n\twhite-space: nowrap;\n}\n\n.monaco-list.mouse-support {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-list > .monaco-scrollable-element {\n\theight: 100%;\n}\n\n.monaco-list-rows {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-list.horizontal-scrolling .monaco-list-rows {\n\twidth: auto;\n\tmin-width: 100%;\n}\n\n.monaco-list-row {\n\tposition: absolute;\n\tbox-sizing:\tborder-box;\n\toverflow: hidden;\n\twidth: 100%;\n}\n\n.monaco-list.mouse-support .monaco-list-row {\n\tcursor: pointer;\n\ttouch-action: none;\n}\n\n/* for OS X ballistic scrolling */\n.monaco-list-row.scrolling {\n\tdisplay: none !important;\n}\n\n/* Focus */\n.monaco-list.element-focused, .monaco-list.selection-single, .monaco-list.selection-multiple {\n\toutline: 0 !important;\n}\n\n.monaco-list:focus .monaco-list-row.selected .codicon {\n\tcolor: inherit;\n}\n\n/* Dnd */\n.monaco-drag-image {\n\tdisplay: inline-block;\n\tpadding: 1px 7px;\n\tborder-radius: 10px;\n\tfont-size: 12px;\n\tposition: absolute;\n}\n\n/* Type filter */\n\n.monaco-list-type-filter {\n\tdisplay: flex;\n\talign-items: center;\n\tposition: absolute;\n\tborder-radius: 2px;\n\tpadding: 0px 3px;\n\tmax-width: calc(100% - 10px);\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\ttext-align: right;\n\tbox-sizing: border-box;\n\tcursor: all-scroll;\n\tfont-size: 13px;\n\tline-height: 18px;\n\theight: 20px;\n\tz-index: 1;\n\ttop: 4px;\n}\n\n.monaco-list-type-filter.dragging {\n\ttransition: top 0.2s, left 0.2s;\n}\n\n.monaco-list-type-filter.ne {\n\tright: 4px;\n}\n\n.monaco-list-type-filter.nw {\n\tleft: 4px;\n}\n\n.monaco-list-type-filter > .controls {\n\tdisplay: flex;\n\talign-items: center;\n\tbox-sizing: border-box;\n\ttransition: width 0.2s;\n\twidth: 0;\n}\n\n.monaco-list-type-filter.dragging > .controls,\n.monaco-list-type-filter:hover > .controls {\n\twidth: 36px;\n}\n\n.monaco-list-type-filter > .controls > * {\n\tborder: none;\n\tbox-sizing: border-box;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n\tbackground: none;\n\twidth: 16px;\n\theight: 16px;\n\tflex-shrink: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tcursor: pointer;\n}\n\n.monaco-list-type-filter > .controls > .filter {\n\tmargin-left: 4px;\n}\n\n.monaco-list-type-filter-message {\n\tposition: absolute;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\theight: 100%;\n\ttop: 0;\n\tleft: 0;\n\tpadding: 40px 1em 1em 1em;\n\ttext-align: center;\n\twhite-space: normal;\n\topacity: 0.7;\n\tpointer-events: none;\n}\n\n.monaco-list-type-filter-message:empty {\n\tdisplay: none;\n}\n\n/* Electron */\n\n.monaco-list-type-filter {\n\tcursor: grab;\n}\n\n.monaco-list-type-filter.dragging {\n\tcursor: grabbing;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(265);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-tl-row {\n\tdisplay: flex;\n\theight: 100%;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-tl-indent {\n\theight: 100%;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 16px;\n\tpointer-events: none;\n}\n\n.hide-arrows .monaco-tl-indent {\n\tleft: 12px;\n}\n\n.monaco-tl-indent > .indent-guide {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\theight: 100%;\n\tborder-left: 1px solid transparent;\n}\n\n.monaco-tl-indent > .indent-guide {\n\ttransition: border-color 0.1s linear;\n}\n\n.monaco-tl-twistie,\n.monaco-tl-contents {\n\theight: 100%;\n}\n\n.monaco-tl-twistie {\n\tfont-size: 10px;\n\ttext-align: right;\n\tpadding-right: 6px;\n\tflex-shrink: 0;\n\twidth: 16px;\n\tdisplay: flex !important;\n\talign-items: center;\n\tjustify-content: center;\n\tcolor: inherit !important;\n\ttransform: translateX(3px);\n}\n\n.monaco-tl-contents {\n\tflex: 1;\n\toverflow: hidden;\n}\n\n.monaco-tl-twistie.collapsed::before {\n\ttransform: rotate(-90deg);\n}\n\n.monaco-tl-twistie.codicon-tree-item-loading::before {\n\t/* Use steps to throttle FPS to reduce CPU usage */\n\tanimation: codicon-spin 1.25s steps(30) infinite;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(267);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n\tfont-size: 13px;\n}\n\n.quick-input-widget .monaco-highlighted-label .highlight,\n.quick-input-widget .monaco-highlighted-label .highlight {\n\tcolor: #0066BF;\n}\n\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight {\n\tcolor: #0097fb;\n}\n\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight,\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight {\n\tcolor: #F38518;\n}\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n\tposition: absolute;\n\twidth: 600px;\n\tz-index: 2000;\n\tpadding-bottom: 6px;\n\tleft: 50%;\n\tmargin-left: -300px;\n}\n\n.quick-input-titlebar {\n\tdisplay: flex;\n}\n\n.quick-input-left-action-bar {\n\tdisplay: flex;\n\tmargin-left: 4px;\n\tflex: 1;\n}\n\n.quick-input-left-action-bar.monaco-action-bar .actions-container {\n\tjustify-content: flex-start;\n}\n\n.quick-input-title {\n\tpadding: 3px 0px;\n\ttext-align: center;\n}\n\n.quick-input-right-action-bar {\n\tdisplay: flex;\n\tmargin-right: 4px;\n\tflex: 1;\n}\n\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\n\tmargin: 0;\n\twidth: 19px;\n\theight: 100%;\n\tbackground-position: center;\n\tbackground-repeat: no-repeat;\n}\n\n.quick-input-description {\n\tmargin: 6px;\n}\n\n.quick-input-header {\n\tdisplay: flex;\n\tpadding: 6px 6px 0px 6px;\n\tmargin-bottom: -2px;\n}\n\n.quick-input-widget.hidden-input .quick-input-header {\n\t/* reduce margins and paddings when input box hidden */\n\tpadding: 0;\n\tmargin-bottom: 0;\n}\n\n.quick-input-and-message {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tposition: relative;\n}\n\n.quick-input-check-all {\n\talign-self: center;\n\tmargin: 0;\n}\n\n.quick-input-filter {\n\tflex-grow: 1;\n\tdisplay: flex;\n\tposition: relative;\n}\n\n.quick-input-box {\n\tflex-grow: 1;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-box,\n.quick-input-widget.show-checkboxes .quick-input-message {\n\tmargin-left: 5px;\n}\n\n.quick-input-visible-count {\n\tposition: absolute;\n\tleft: -10000px;\n}\n\n.quick-input-count {\n\talign-self: center;\n\tposition: absolute;\n\tright: 4px;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-count .monaco-count-badge {\n\tvertical-align: middle;\n\tpadding: 2px 4px;\n\tborder-radius: 2px;\n\tmin-height: auto;\n\tline-height: normal;\n}\n\n.quick-input-action {\n\tmargin-left: 6px;\n}\n\n.quick-input-action .monaco-text-button {\n\tfont-size: 11px;\n\tpadding: 0 6px;\n\tdisplay: flex;\n\theight: 100%;\n\talign-items: center;\n}\n\n.quick-input-message {\n\tmargin-top: -1px;\n\tpadding: 5px 5px 2px 5px;\n}\n\n.quick-input-progress.monaco-progress-container {\n\tposition: relative;\n}\n\n.quick-input-progress.monaco-progress-container,\n.quick-input-progress.monaco-progress-container .progress-bit {\n\theight: 2px;\n}\n\n.quick-input-list {\n\tline-height: 22px;\n\tmargin-top: 6px;\n}\n\n.quick-input-widget.hidden-input .quick-input-list {\n\tmargin-top: 0; /* reduce margins when input box hidden */\n}\n\n.quick-input-list .monaco-list {\n\toverflow: hidden;\n\tmax-height: calc(20 * 22px);\n}\n\n.quick-input-list .quick-input-list-entry {\n\tbox-sizing: border-box;\n\toverflow: hidden;\n\tdisplay: flex;\n\theight: 100%;\n\tpadding: 0 6px;\n}\n\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\n\tborder-top-width: 1px;\n\tborder-top-style: solid;\n}\n\n.quick-input-list .monaco-list-row:first-child .quick-input-list-entry.quick-input-list-separator-border {\n\tborder-top-style: none;\n}\n\n.quick-input-list .quick-input-list-label {\n\toverflow: hidden;\n\tdisplay: flex;\n\theight: 100%;\n\tflex: 1;\n}\n\n.quick-input-list .quick-input-list-checkbox {\n\talign-self: center;\n\tmargin: 0;\n}\n\n.quick-input-list .quick-input-list-rows {\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tdisplay: flex;\n\tflex-direction: column;\n\theight: 100%;\n\tflex: 1;\n\tmargin-left: 5px;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\n\tmargin-left: 10px;\n}\n\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\n\tdisplay: none;\n}\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\n\tdisplay: inline;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\n\tflex: 1; /* make sure the icon label grows within the row */\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\n\tvertical-align: sub;\n}\n\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label span {\n\topacity: 1;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\n\tmargin-right: 8px; /* separate from the separator label or scrollbar if any */\n}\n\n.quick-input-list .quick-input-list-label-meta {\n\topacity: 0.7;\n\tline-height: normal;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.quick-input-list .monaco-highlighted-label .highlight {\n\tfont-weight: bold;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\n\tmargin-right: 8px; /* separate from keybindings or actions */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tdisplay: flex;\n\tflex: 0;\n\toverflow: visible;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\n\t/*\n\t * By default, actions in the quick input action bar are hidden\n\t * until hovered over them or selected.\n\t */\n\tdisplay: none;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n\tmargin: 0;\n\theight: 100%;\n\tpadding: 0 2px;\n\tvertical-align: middle;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tmargin-top: 1px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tmargin-right: 4px; /* separate from scrollbar */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n\tmargin-right: 4px; /* separate actions */\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\n\tdisplay: flex;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(270);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* ---------- Icon label ---------- */\n\n.monaco-icon-label {\n\tdisplay: flex; /* required for icons support :before rule */\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-icon-label::before {\n\n\t/* svg icons rendered as background image */\n\tbackground-size: 16px;\n\tbackground-position: left center;\n\tbackground-repeat: no-repeat;\n\tpadding-right: 6px;\n\twidth: 16px;\n\theight: 22px;\n\tline-height: inherit !important;\n\tdisplay: inline-block;\n\n\t/* fonts icons */\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tvertical-align: top;\n\n\tflex-shrink: 0; /* fix for https://github.com/Microsoft/vscode/issues/13787 */\n}\n\n.monaco-icon-label > .monaco-icon-label-container {\n\tmin-width: 0;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tflex: 1;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\n\tcolor: inherit;\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\n\tmargin: 0 2px;\n\topacity: 0.5;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n\topacity: .7;\n\tmargin-left: 0.5em;\n\tfont-size: 0.9em;\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n\topacity: .95;\n}\n\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.italic > .monaco-icon-description-container > .label-description {\n\tfont-style: italic;\n}\n\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.strikethrough > .monaco-icon-description-container > .label-description {\n\ttext-decoration: line-through;\n}\n\n.monaco-icon-label::after {\n\topacity: 0.75;\n\tfont-size: 90%;\n\tfont-weight: 600;\n\tpadding: 0 16px 0 5px;\n\ttext-align: center;\n}\n\n/* make sure selection color wins when a label is being selected */\n.monaco-list:focus .selected .monaco-icon-label, /* list */\n.monaco-list:focus .selected .monaco-icon-label::after\n{\n\tcolor: inherit !important;\n}\n\n.monaco-list-row.focused.selected .label-description,\n.monaco-list-row.selected .label-description {\n\topacity: .8;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(272);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-keybinding {\n\tdisplay: flex;\n\talign-items: center;\n\tline-height: 10px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n\tdisplay: inline-block;\n\tborder: solid 1px rgba(204, 204, 204, 0.4);\n\tborder-bottom-color: rgba(187, 187, 187, 0.4);\n\tborder-radius: 3px;\n\tbox-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\n\tbackground-color: rgba(221, 221, 221, 0.4);\n\tvertical-align: middle;\n\tcolor: #555;\n\tfont-size: 11px;\n\tpadding: 3px 5px;\n\tmargin: 0 2px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:first-child {\n\tmargin-left: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:last-child {\n\tmargin-right: 0;\n}\n\n.hc-black .monaco-keybinding > .monaco-keybinding-key,\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\n\tbackground-color: rgba(128, 128, 128, 0.17);\n\tcolor: #ccc;\n\tborder: solid 1px rgba(51, 51, 51, 0.6);\n\tborder-bottom-color: rgba(68, 68, 68, 0.6);\n\tbox-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\n}\n\n.monaco-keybinding > .monaco-keybinding-key-separator {\n\tdisplay: inline-block;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\n\twidth: 6px;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(274);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-inputbox {\n\tposition: relative;\n\tdisplay: block;\n\tpadding: 0;\n\tbox-sizing:\tborder-box;\n\n\t/* Customizable */\n\tfont-size: inherit;\n}\n\n.monaco-inputbox.idle {\n\tborder: 1px solid transparent;\n}\n\n.monaco-inputbox > .wrapper > .input,\n.monaco-inputbox > .wrapper > .mirror {\n\n\t/* Customizable */\n\tpadding: 4px;\n}\n\n.monaco-inputbox > .wrapper {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-inputbox > .wrapper > .input {\n\tdisplay: inline-block;\n\tbox-sizing:\tborder-box;\n\twidth: 100%;\n\theight: 100%;\n\tline-height: inherit;\n\tborder: none;\n\tfont-family: inherit;\n\tfont-size: inherit;\n\tresize: none;\n\tcolor: inherit;\n}\n\n.monaco-inputbox > .wrapper > input {\n\ttext-overflow: ellipsis;\n}\n\n.monaco-inputbox > .wrapper > textarea.input {\n\tdisplay: block;\n\t-ms-overflow-style: none; /* IE 10+: hide scrollbars */\n\tscrollbar-width: none; /* Firefox: hide scrollbars */\n\toutline: none;\n}\n\n.monaco-inputbox > .wrapper > textarea.input::-webkit-scrollbar {\n\tdisplay: none; /* Chrome + Safari: hide scrollbar */\n}\n\n.monaco-inputbox > .wrapper > textarea.input.empty {\n\twhite-space: nowrap;\n}\n\n.monaco-inputbox > .wrapper > .mirror {\n\tposition: absolute;\n\tdisplay: inline-block;\n\twidth: 100%;\n\ttop: 0;\n\tleft: 0;\n\tbox-sizing: border-box;\n\twhite-space: pre-wrap;\n\tvisibility: hidden;\n\tword-wrap: break-word;\n}\n\n/* Context view */\n\n.monaco-inputbox-container {\n\ttext-align: right;\n}\n\n.monaco-inputbox-container .monaco-inputbox-message {\n\tdisplay: inline-block;\n\toverflow: hidden;\n\ttext-align: left;\n\twidth: 100%;\n\tbox-sizing:\tborder-box;\n\tpadding: 0.4em;\n\tfont-size: 12px;\n\tline-height: 17px;\n\tmin-height: 34px;\n\tmargin-top: -1px;\n\tword-wrap: break-word;\n}\n\n/* Action bar support */\n.monaco-inputbox .monaco-action-bar {\n\tposition: absolute;\n\tright: 2px;\n\ttop: 4px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item {\n\tmargin-left: 2px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\n\tbackground-repeat: no-repeat;\n\twidth: 16px;\n\theight: 16px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(276);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-count-badge {\n\tpadding: 3px 6px;\n\tborder-radius: 11px;\n\tfont-size: 11px;\n\tmin-width: 18px;\n\tmin-height: 18px;\n\tline-height: 11px;\n\tfont-weight: normal;\n\ttext-align: center;\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n}\n\n.monaco-count-badge.long {\n\tpadding: 2px 3px;\n\tborder-radius: 2px;\n\tmin-height: auto;\n\tline-height: normal;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(278);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-progress-container {\n\twidth: 100%;\n\theight: 5px;\n\toverflow: hidden; /* keep progress bit in bounds */\n}\n\n.monaco-progress-container .progress-bit {\n\twidth: 2%;\n\theight: 5px;\n\tposition: absolute;\n\tleft: 0;\n\tdisplay: none;\n}\n\n.monaco-progress-container.active .progress-bit {\n\tdisplay: inherit;\n}\n\n.monaco-progress-container.discrete .progress-bit {\n\tleft: 0;\n\ttransition: width 100ms linear;\n}\n\n.monaco-progress-container.discrete.done .progress-bit {\n\twidth: 100%;\n}\n\n.monaco-progress-container.infinite .progress-bit {\n\tanimation-name: progress;\n\tanimation-duration: 4s;\n\tanimation-iteration-count: infinite;\n\tanimation-timing-function: linear;\n\ttransform: translate3d(0px, 0px, 0px);\n}\n\n/**\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\n * its relative size to the parent container:\n * 50%: 50 * 50 = 2500%\n * 100%: 50 * 100 - 50 (do not overflow): 4950%\n */\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4950%) scaleX(1) } }\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(280);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-text-button {\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\twidth: 100%;\n\tpadding: 4px;\n\ttext-align: center;\n\tcursor: pointer;\n\toutline-offset: 2px !important;\n\tjustify-content: center;\n\talign-items: center;\n}\n\n.monaco-text-button:hover {\n\ttext-decoration: none !important;\n}\n\n.monaco-button.disabled {\n\topacity: 0.4;\n\tcursor: default;\n}\n\n.monaco-button > .codicon {\n\tmargin: 0 0.2em;\n\tcolor: inherit !important;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(282);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .selection-anchor {\n\tbackground-color: #007ACC;\n\twidth: 2px !important;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(284);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .bracket-match {\n\tbox-sizing: border-box;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(286);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .monaco-editor-overlaymessage {\n\tpadding-bottom: 8px;\n\tz-index: 10000;\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeIn {\n\tanimation: fadeIn 150ms ease-out;\n}\n\n@keyframes fadeOut {\n\tfrom { opacity: 1; }\n\tto { opacity: 0; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeOut {\n\tanimation: fadeOut 100ms ease-out;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .message {\n\tpadding: 1px 4px;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor {\n\twidth: 0 !important;\n\theight: 0 !important;\n\tborder-color: transparent;\n\tborder-style: solid;\n\tz-index: 1000;\n\tborder-width: 8px;\n\tposition: absolute;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(288);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lightbulb-glyph,\n.monaco-editor .codicon-lightbulb {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 16px;\n\twidth: 20px;\n\tpadding-left: 2px;\n}\n\n.monaco-editor .lightbulb-glyph:hover,\n.monaco-editor .codicon-lightbulb:hover {\n\tcursor: pointer;\n\t/* transform: scale(1.3, 1.3); */\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(290);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .codelens-decoration {\n\toverflow: hidden;\n\tdisplay: inline-block;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-editor .codelens-decoration > span,\n.monaco-editor .codelens-decoration > a {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\twhite-space: nowrap;\n\tvertical-align: sub;\n}\n\n.monaco-editor .codelens-decoration > a {\n\ttext-decoration: none;\n}\n\n.monaco-editor .codelens-decoration > a:hover {\n\tcursor: pointer;\n}\n\n.monaco-editor .codelens-decoration .codicon {\n\tvertical-align: middle;\n\tcolor: currentColor !important;\n}\n\n.monaco-editor .codelens-decoration > a:hover .codicon::before {\n\tcursor: pointer;\n}\n\n@keyframes fadein {\n\t0% { opacity: 0; visibility: visible;}\n\t100% { opacity: 1; }\n}\n\n.monaco-editor .codelens-decoration.fadein {\n\tanimation: fadein 0.1s linear;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(292);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor.vs .dnd-target {\n\tborder-right: 2px dotted black;\n\tcolor: white; /* opposite of black */\n}\n.monaco-editor.vs-dark .dnd-target {\n\tborder-right: 2px dotted #AEAFAD;\n\tcolor: #51504f; /* opposite of #AEAFAD */\n}\n.monaco-editor.hc-black .dnd-target {\n\tborder-right: 2px dotted #fff;\n\tcolor: #000; /* opposite of #fff */\n}\n\n.monaco-editor.mouse-default .view-lines,\n.monaco-editor.vs-dark.mac.mouse-default .view-lines,\n.monaco-editor.hc-black.mac.mouse-default .view-lines {\n\tcursor: default;\n}\n.monaco-editor.mouse-copy .view-lines,\n.monaco-editor.vs-dark.mac.mouse-copy .view-lines,\n.monaco-editor.hc-black.mac.mouse-copy .view-lines {\n\tcursor: copy;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(294);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-custom-checkbox {\n\tmargin-left: 2px;\n\tfloat: left;\n\tcursor: pointer;\n\toverflow: hidden;\n\topacity: 0.7;\n\twidth: 20px;\n\theight: 20px;\n\tborder: 1px solid transparent;\n\tpadding: 1px;\n\tbox-sizing:\tborder-box;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-custom-checkbox:hover,\n.monaco-custom-checkbox.checked {\n\topacity: 1;\n}\n\n.hc-black .monaco-custom-checkbox {\n\tbackground: none;\n}\n\n.hc-black .monaco-custom-checkbox:hover {\n\tbackground: none;\n}\n\n.monaco-custom-checkbox.monaco-simple-checkbox {\n\theight: 18px;\n\twidth: 18px;\n\tborder: 1px solid transparent;\n\tborder-radius: 3px;\n\tmargin-right: 9px;\n\tmargin-left: 0px;\n\tpadding: 0px;\n\topacity: 1;\n\tbackground-size: 16px !important;\n}\n\n/* hide check when unchecked */\n.monaco-custom-checkbox.monaco-simple-checkbox.unchecked:not(.checked)::before {\n\tvisibility: hidden;;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(296);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Find widget */\n.monaco-editor .find-widget {\n\tposition: absolute;\n\tz-index: 50;\n\theight: 33px;\n\toverflow: hidden;\n\tline-height: 19px;\n\ttransition: transform 200ms linear;\n\tpadding: 0 4px;\n\tbox-sizing: border-box;\n\ttransform: translateY(calc(-100% - 10px)); /* shadow (10px) */\n}\n\n.monaco-editor .find-widget textarea {\n\tmargin: 0px;\n}\n\n.monaco-editor .find-widget.hiddenEditor {\n\tdisplay: none;\n}\n\n/* Find widget when replace is toggled on */\n.monaco-editor .find-widget.replaceToggled > .replace-part {\n\tdisplay: flex;\n}\n\n.monaco-editor .find-widget.visible {\n\ttransform: translateY(0);\n}\n\n.monaco-editor .find-widget .monaco-inputbox.synthetic-focus {\n\toutline: 1px solid -webkit-focus-ring-color;\n\toutline-offset: -1px;\n}\n\n.monaco-editor .find-widget .monaco-inputbox .input {\n\tbackground-color: transparent;\n\tmin-height: 0;\n}\n\n.monaco-editor .find-widget .monaco-findInput .input {\n\tfont-size: 13px;\n}\n\n.monaco-editor .find-widget > .find-part,\n.monaco-editor .find-widget > .replace-part {\n\tmargin: 4px 0 0 17px;\n\tfont-size: 12px;\n\tdisplay: flex;\n}\n\n.monaco-editor .find-widget > .find-part .monaco-inputbox,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox {\n\tmin-height: 25px;\n}\n\n\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .mirror {\n\tpadding-right: 22px;\n}\n\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .wrapper > .input,\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .wrapper > .mirror,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .input,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .mirror {\n\tpadding-top: 2px;\n\tpadding-bottom: 2px;\n}\n\n.monaco-editor .find-widget > .find-part .find-actions {\n\theight: 25px;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-editor .find-widget > .replace-part .replace-actions {\n\theight: 25px;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-editor .find-widget .monaco-findInput {\n\tvertical-align: middle;\n\tdisplay: flex;\n\tflex:1;\n}\n\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {\n\t/* Make sure textarea inherits the width correctly */\n\twidth: 100%;\n}\n\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {\n\t/* Hide vertical scrollbar */\n\topacity: 0;\n}\n\n.monaco-editor .find-widget .matchesCount {\n\tdisplay: flex;\n\tflex: initial;\n\tmargin: 0 0 0 3px;\n\tpadding: 2px 0 0 2px;\n\theight: 25px;\n\tvertical-align: middle;\n\tbox-sizing: border-box;\n\ttext-align: center;\n\tline-height: 23px;\n}\n\n.monaco-editor .find-widget .button {\n\twidth: 20px;\n\theight: 20px;\n\tdisplay: flex;\n\tflex: initial;\n\tmargin-left: 3px;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n\tcursor: pointer;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n.monaco-editor .find-widget .button.left {\n\tmargin-left: 0;\n\tmargin-right: 3px;\n}\n\n.monaco-editor .find-widget .button.wide {\n\twidth: auto;\n\tpadding: 1px 6px;\n\ttop: -1px;\n}\n\n.monaco-editor .find-widget .button.toggle {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 3px;\n\twidth: 18px;\n\theight: 100%;\n\tbox-sizing: border-box;\n}\n\n.monaco-editor .find-widget .button.toggle.disabled {\n\tdisplay: none;\n}\n\n.monaco-editor .find-widget .disabled {\n\topacity: 0.3;\n\tcursor: default;\n}\n\n.monaco-editor .find-widget > .replace-part {\n\tdisplay: none;\n}\n\n.monaco-editor .find-widget > .replace-part > .monaco-findInput {\n\tposition: relative;\n\tdisplay: flex;\n\tvertical-align: middle;\n\tflex: auto;\n\tflex-grow: 0;\n\tflex-shrink: 0;\n}\n\n.monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {\n\tposition: absolute;\n\ttop: 3px;\n\tright: 2px;\n}\n\n/* REDUCED */\n.monaco-editor .find-widget.reduced-find-widget .matchesCount {\n\tdisplay:none;\n}\n\n/* NARROW (SMALLER THAN REDUCED) */\n.monaco-editor .find-widget.narrow-find-widget {\n\tmax-width: 257px !important;\n}\n\n/* COLLAPSED (SMALLER THAN NARROW) */\n.monaco-editor .find-widget.collapsed-find-widget {\n\tmax-width: 170px !important;\n}\n\n.monaco-editor .find-widget.collapsed-find-widget .button.previous,\n.monaco-editor .find-widget.collapsed-find-widget .button.next,\n.monaco-editor .find-widget.collapsed-find-widget .button.replace,\n.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,\n.monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {\n\tdisplay:none;\n}\n\n.monaco-editor .findMatch {\n\tanimation-duration: 0;\n\tanimation-name: inherit !important;\n}\n\n.monaco-editor .find-widget .monaco-sash {\n\tleft: 0 !important;\n}\n\n.monaco-editor.hc-black .find-widget .button:before {\n\tposition: relative;\n\ttop: 1px;\n\tleft: 2px;\n}\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- Find input ---------- */\n\n.monaco-findInput {\n\tposition: relative;\n}\n\n.monaco-findInput .monaco-inputbox {\n\tfont-size: 13px;\n\twidth: 100%;\n}\n\n.monaco-findInput > .controls {\n\tposition: absolute;\n\ttop: 3px;\n\tright: 2px;\n}\n\n.vs .monaco-findInput.disabled {\n\tbackground-color: #E1E1E1;\n}\n\n/* Theming */\n.vs-dark .monaco-findInput.disabled {\n\tbackground-color: #333;\n}\n\n/* Highlighting */\n.monaco-findInput.highlight-0 .controls {\n\tanimation: monaco-findInput-highlight-0 100ms linear 0s;\n}\n.monaco-findInput.highlight-1 .controls {\n\tanimation: monaco-findInput-highlight-1 100ms linear 0s;\n}\n.hc-black .monaco-findInput.highlight-0 .controls,\n.vs-dark .monaco-findInput.highlight-0 .controls {\n\tanimation: monaco-findInput-highlight-dark-0 100ms linear 0s;\n}\n.hc-black .monaco-findInput.highlight-1 .controls,\n.vs-dark .monaco-findInput.highlight-1 .controls {\n\tanimation: monaco-findInput-highlight-dark-1 100ms linear 0s;\n}\n\n@keyframes monaco-findInput-highlight-0 {\n\t0% { background: rgba(253, 255, 0, 0.8); }\n\t100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-1 {\n\t0% { background: rgba(253, 255, 0, 0.8); }\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n\t99% { background: transparent; }\n}\n\n@keyframes monaco-findInput-highlight-dark-0 {\n\t0% { background: rgba(255, 255, 255, 0.44); }\n\t100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-dark-1 {\n\t0% { background: rgba(255, 255, 255, 0.44); }\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n\t99% { background: transparent; }\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(299);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n\tcursor: pointer;\n\topacity: 0;\n\ttransition: opacity 0.5s;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tfont-size: 140%;\n\tmargin-left: 2px;\n}\n\n.monaco-editor .margin-view-overlays:hover .codicon,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\n\topacity: 1;\n}\n\n.monaco-editor .inline-folded:after {\n\tcolor: grey;\n\tmargin: 0.1em 0.2em 0 0.2em;\n\tcontent: "⋯";\n\tdisplay: inline;\n\tline-height: 1em;\n\tcursor: pointer;\n}\n',""]),e.exports=t},function(e,t,n){var i=n(32),o=n(301);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .peekview-widget .head {\n\tbox-sizing: border-box;\n\tdisplay: flex;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title {\n\tdisplay: flex;\n\talign-items: center;\n\tfont-size: 13px;\n\tmargin-left: 20px;\n\tcursor: pointer;\n\tmin-width: 0;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {\n\tfont-size: 0.9em;\n\tmargin-left: 0.5em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta {\n\twhite-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname {\n\twhite-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .filename {\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {\n\tcontent: '-';\n\tpadding: 0 0.3em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions {\n\tflex: 1;\n\ttext-align: right;\n\tpadding-right: 2px;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {\n\tdisplay: inline-block;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {\n\theight: 100%;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-item {\n\tmargin-left: 4px;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label {\n\twidth: 16px;\n\theight: 100%;\n\tmargin: 0;\n\tline-height: inherit;\n\tbackground-repeat: no-repeat;\n\tbackground-position: center center;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label.codicon {\n\tmargin: 0;\n}\n\n.monaco-editor .peekview-widget > .body {\n\tborder-top: 1px solid;\n\tposition: relative;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .codicon {\n\tmargin-right: 4px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(303);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .zone-widget {\n\tposition: absolute;\n\tz-index: 10;\n}\n\n\n.monaco-editor .zone-widget .zone-widget-container {\n\tborder-top-style: solid;\n\tborder-bottom-style: solid;\n\tborder-top-width: 0;\n\tborder-bottom-width: 0;\n\tposition: relative;\n}\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-dropdown {\n\theight: 100%;\n\tpadding: 0;\n}\n\n.monaco-dropdown > .dropdown-label {\n\tcursor: pointer;\n\theight: 100%;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(306);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -- zone widget */\n.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {\n\tborder-top-width: 1px;\n\tborder-bottom-width: 1px;\n}\n\n.monaco-editor .reference-zone-widget .inline {\n\tdisplay: inline-block;\n\tvertical-align: top;\n}\n\n.monaco-editor .reference-zone-widget .messages {\n\theight: 100%;\n\twidth: 100%;\n\ttext-align: center;\n\tpadding: 3em 0;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree {\n\tline-height: 23px;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference {\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file {\n\tdisplay: inline-flex;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {\n\tcolor: inherit !important;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {\n\tmargin-right: 12px;\n\tmargin-left: auto;\n}\n\n/* High Contrast Theming */\n\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file {\n\tfont-weight: bold;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(308);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-split-view2 {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-split-view2 > .sash-container {\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n\tpointer-events: none;\n}\n\n.monaco-split-view2 > .sash-container > .monaco-sash {\n\tpointer-events: initial;\n}\n\n.monaco-split-view2 > .split-view-container {\n\twidth: 100%;\n\theight: 100%;\n\twhite-space: nowrap;\n\tposition: relative;\n}\n\n.monaco-split-view2 > .split-view-container > .split-view-view {\n\twhite-space: initial;\n\tposition: absolute;\n}\n\n.monaco-split-view2 > .split-view-container > .split-view-view:not(.visible) {\n\tdisplay: none;\n}\n\n.monaco-split-view2.vertical > .split-view-container > .split-view-view {\n\twidth: 100%;\n}\n\n.monaco-split-view2.horizontal > .split-view-container > .split-view-view {\n\theight: 100%;\n}\n\n.monaco-split-view2.separator-border > .split-view-container > .split-view-view:not(:first-child)::before {\n\tcontent: ' ';\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tz-index: 5;\n\tpointer-events: none;\n\tbackground-color: var(--separator-border);\n}\n\n.monaco-split-view2.separator-border.horizontal > .split-view-container > .split-view-view:not(:first-child)::before {\n\theight: 100%;\n\twidth: 1px;\n}\n\n.monaco-split-view2.separator-border.vertical > .split-view-container > .split-view-view:not(:first-child)::before {\n\theight: 1px;\n\twidth: 100%;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(310);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .goto-definition-link {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(312);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* marker zone */\n\n.monaco-editor .peekview-widget .head .peekview-title .severity-icon {\n\tdisplay: inline-block;\n\tvertical-align: text-top;\n\tmargin-right: 4px;\n}\n\n.monaco-editor .marker-widget {\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n}\n\n.monaco-editor .marker-widget > .stale {\n\topacity: 0.6;\n\tfont-style: italic;\n}\n\n.monaco-editor .marker-widget .title {\n\tdisplay: inline-block;\n\tpadding-right: 5px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer {\n\tposition: absolute;\n\twhite-space: pre;\n\tuser-select: text;\n\t-webkit-user-select: text;\n\t-ms-user-select: text;\n\tpadding: 8px 12px 0 20px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .details {\n\tpadding-left: 6px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .source,\n.monaco-editor .marker-widget .descriptioncontainer .message span.code {\n\topacity: 0.6;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {\n\topacity: 0.6;\n\tcolor: inherit;\n}\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {\n\tcontent: '(';\n}\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {\n\tcontent: ')';\n}\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\n\ttext-decoration: underline;\n\t/** Hack to force underline to show **/\n\tborder-bottom: 1px solid transparent;\n\ttext-underline-position: under;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .filename {\n\tcursor: pointer;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(314);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.colorpicker-widget {\n\theight: 190px;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-editor .colorpicker-hover:focus {\n\toutline: none;\n}\n\n\n/* Header */\n\n.colorpicker-header {\n\tdisplay: flex;\n\theight: 24px;\n\tposition: relative;\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\n\tbackground-size: 9px 9px;\n\timage-rendering: pixelated;\n}\n\n.colorpicker-header .picked-color {\n\twidth: 216px;\n\ttext-align: center;\n\tline-height: 24px;\n\tcursor: pointer;\n\tcolor: white;\n\tflex: 1;\n\ttext-align: center;\n}\n\n.colorpicker-header .picked-color.light {\n\tcolor: black;\n}\n\n.colorpicker-header .original-color {\n\twidth: 74px;\n\tz-index: inherit;\n\tcursor: pointer;\n}\n\n\n/* Body */\n\n.colorpicker-body {\n\tdisplay: flex;\n\tpadding: 8px;\n\tposition: relative;\n}\n\n.colorpicker-body .saturation-wrap {\n\toverflow: hidden;\n\theight: 150px;\n\tposition: relative;\n\tmin-width: 220px;\n\tflex: 1;\n}\n\n.colorpicker-body .saturation-box {\n\theight: 150px;\n\tposition: absolute;\n}\n\n.colorpicker-body .saturation-selection {\n\twidth: 9px;\n\theight: 9px;\n\tmargin: -5px 0 0 -5px;\n\tborder: 1px solid rgb(255, 255, 255);\n\tborder-radius: 100%;\n\tbox-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);\n\tposition: absolute;\n}\n\n.colorpicker-body .strip {\n\twidth: 25px;\n\theight: 150px;\n}\n\n.colorpicker-body .hue-strip {\n\tposition: relative;\n\tmargin-left: 8px;\n\tcursor: grab;\n\tbackground: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);\n}\n\n.colorpicker-body .opacity-strip {\n\tposition: relative;\n\tmargin-left: 8px;\n\tcursor: grab;\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\n\tbackground-size: 9px 9px;\n\timage-rendering: pixelated;\n}\n\n.colorpicker-body .strip.grabbing {\n\tcursor: grabbing;\n}\n\n.colorpicker-body .slider {\n\tposition: absolute;\n\ttop: 0;\n\tleft: -2px;\n\twidth: calc(100% + 4px);\n\theight: 4px;\n\tbox-sizing: border-box;\n\tborder: 1px solid rgba(255, 255, 255, 0.71);\n\tbox-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);\n}\n\n.colorpicker-body .strip .overlay {\n\theight: 150px;\n\tpointer-events: none;\n}\n',""]),e.exports=t},function(e,t,n){var i=n(32),o=n(316);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-hover {\n\tcursor: default;\n\tposition: absolute;\n\toverflow: hidden;\n\tz-index: 50;\n\tuser-select: text;\n\t-webkit-user-select: text;\n\t-ms-user-select: text;\n\tbox-sizing: initial;\n\tanimation: fadein 100ms linear;\n\tline-height: 1.5em;\n}\n\n.monaco-hover.hidden {\n\tdisplay: none;\n}\n\n.monaco-hover .hover-contents {\n\tpadding: 4px 8px;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {\n\tmax-width: 500px;\n\tword-wrap: break-word;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {\n\t/* This is a strange rule but it avoids https://github.com/microsoft/vscode/issues/96795, just 100vw on its own caused the actual hover width to increase */\n\tmin-width: calc(100% + 100vw);\n}\n\n.monaco-hover p,\n.monaco-hover .code,\n.monaco-hover ul {\n\tmargin: 8px 0;\n}\n\n.monaco-hover code {\n\tfont-family: var(--monaco-monospace-font);\n}\n\n.monaco-hover hr {\n\tmargin-top: 4px;\n\tmargin-bottom: -4px;\n\tmargin-left: -10px;\n\tmargin-right: -10px;\n\theight: 1px;\n}\n\n.monaco-hover p:first-child,\n.monaco-hover .code:first-child,\n.monaco-hover ul:first-child {\n\tmargin-top: 0;\n}\n\n.monaco-hover p:last-child,\n.monaco-hover .code:last-child,\n.monaco-hover ul:last-child {\n\tmargin-bottom: 0;\n}\n\n/* MarkupContent Layout */\n.monaco-hover ul {\n\tpadding-left: 20px;\n}\n.monaco-hover ol {\n\tpadding-left: 20px;\n}\n\n.monaco-hover li > p {\n\tmargin-bottom: 0;\n}\n\n.monaco-hover li > ul {\n\tmargin-top: 0;\n}\n\n.monaco-hover code {\n\tborder-radius: 3px;\n\tpadding: 0 0.4em;\n}\n\n.monaco-hover .monaco-tokenized-source {\n\twhite-space: pre-wrap;\n\tword-break: break-all;\n}\n\n.monaco-hover .hover-row.status-bar {\n\tfont-size: 12px;\n\tline-height: 22px;\n}\n\n.monaco-hover .hover-row.status-bar .actions {\n\tdisplay: flex;\n\tpadding: 0px 8px;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container {\n\tmargin-right: 16px;\n\tcursor: pointer;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {\n\tpadding-right: 4px;\n}\n\n.monaco-hover .markdown-hover .hover-contents .codicon {\n\tcolor: inherit;\n\tfont-size: inherit;\n\tvertical-align: middle;\n}\n\n.monaco-hover .hover-contents a.code-link:before {\n\tcontent: '(';\n}\n.monaco-hover .hover-contents a.code-link:after {\n\tcontent: ')';\n}\n\n.monaco-hover .hover-contents a.code-link {\n\tcolor: inherit;\n}\n.monaco-hover .hover-contents a.code-link > span {\n\ttext-decoration: underline;\n\t/** Hack to force underline to show **/\n\tborder-bottom: 1px solid transparent;\n\ttext-underline-position: under;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(318);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .detected-link,\n.monaco-editor .detected-link-active {\n\ttext-decoration: underline;\n\ttext-underline-position: under;\n}\n\n.monaco-editor .detected-link-active {\n\tcursor: pointer;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(320);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .parameter-hints-widget {\n\tz-index: 10;\n\tdisplay: flex;\n\tflex-direction: column;\n\tline-height: 1.5em;\n}\n\n.monaco-editor .parameter-hints-widget > .wrapper {\n\tmax-width: 440px;\n\tdisplay: flex;\n\tflex-direction: row;\n}\n\n.monaco-editor .parameter-hints-widget.multiple {\n\tmin-height: 3.3em;\n\tpadding: 0;\n}\n\n.monaco-editor .parameter-hints-widget.visible {\n\ttransition: left .05s ease-in-out;\n}\n\n.monaco-editor .parameter-hints-widget p,\n.monaco-editor .parameter-hints-widget ul {\n\tmargin: 8px 0;\n}\n\n.monaco-editor .parameter-hints-widget .monaco-scrollable-element,\n.monaco-editor .parameter-hints-widget .body {\n\tdisplay: flex;\n\tflex: 1;\n\tflex-direction: column;\n\tmin-height: 100%;\n}\n\n.monaco-editor .parameter-hints-widget .signature {\n\tpadding: 4px 5px;\n}\n\n.monaco-editor .parameter-hints-widget .docs {\n\tpadding: 0 10px 0 5px;\n\twhite-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .docs.empty {\n\tdisplay: none;\n}\n\n.monaco-editor .parameter-hints-widget .docs .markdown-docs {\n\twhite-space: initial;\n}\n\n.monaco-editor .parameter-hints-widget .docs .markdown-docs code {\n\tfont-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .parameter-hints-widget .docs .code {\n\twhite-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .docs code {\n\tborder-radius: 3px;\n\tpadding: 0 0.4em;\n}\n\n.monaco-editor .parameter-hints-widget .controls {\n\tdisplay: none;\n\tflex-direction: column;\n\talign-items: center;\n\tmin-width: 22px;\n\tjustify-content: flex-end;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .controls {\n\tdisplay: flex;\n\tpadding: 0 2px;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .button {\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tcursor: pointer;\n}\n\n.monaco-editor .parameter-hints-widget .button.previous {\n\tbottom: 24px;\n}\n\n.monaco-editor .parameter-hints-widget .overloads {\n\ttext-align: center;\n\theight: 12px;\n\tline-height: 12px;\n\topacity: 0.5;\n\tfont-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .parameter-hints-widget .signature .parameter.active {\n\tfont-weight: bold;\n\ttext-decoration: underline;\n}\n\n.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {\n\tfont-weight: bold;\n\tmargin-right: 0.5em;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(322);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .on-type-rename-decoration {\n\tborder-left: 1px solid transparent;\n\t/* So border can be transparent */\n\tbackground-clip: padding-box;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(324);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .rename-box {\n\tz-index: 100;\n\tcolor: inherit;\n}\n\n.monaco-editor .rename-box.preview {\n\tpadding: 3px 3px 0 3px;\n}\n\n.monaco-editor .rename-box .rename-input {\n\tpadding: 3px;\n\twidth: calc(100% - 6px);\n}\n\n.monaco-editor .rename-box .rename-label {\n\tdisplay: none;\n\topacity: .8;\n}\n\n.monaco-editor .rename-box.preview .rename-label {\n\tdisplay: inherit;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(326);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .snippet-placeholder {\n\tmin-width: 2px;\n\toutline-style: solid;\n\toutline-width: 1px;\n}\n\n.monaco-editor .finish-snippet-placeholder {\n\toutline-style: solid;\n\toutline-width: 1px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(328);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Suggest widget*/\n.monaco-editor .suggest-widget {\n\tz-index: 40;\n}\n\n/** Initial widths **/\n\n.monaco-editor .suggest-widget {\n\twidth: 430px;\n}\n\n.monaco-editor .suggest-widget > .message,\n.monaco-editor .suggest-widget > .tree,\n.monaco-editor .suggest-widget > .details {\n\twidth: 100%;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tbox-sizing: border-box;\n}\n\n.monaco-editor.hc-black .suggest-widget > .message,\n.monaco-editor.hc-black .suggest-widget > .tree,\n.monaco-editor.hc-black .suggest-widget > .details {\n\tborder-width: 2px;\n}\n\n/** Adjust width when docs are expanded to the side **/\n.monaco-editor .suggest-widget.docs-side {\n\twidth: 660px;\n}\n\n.monaco-editor .suggest-widget.docs-side > .tree,\n.monaco-editor .suggest-widget.docs-side > .details {\n\twidth: 50%;\n\tfloat: left;\n}\n\n.monaco-editor .suggest-widget.docs-side.list-right > .tree,\n.monaco-editor .suggest-widget.docs-side.list-right > .details {\n\tfloat: right;\n}\n\n/* MarkupContent Layout */\n.monaco-editor .suggest-widget > .details ul {\n\tpadding-left: 20px;\n}\n.monaco-editor .suggest-widget > .details ol {\n\tpadding-left: 20px;\n}\n\n.monaco-editor .suggest-widget > .details p code {\n\tfont-family: var(--monaco-monospace-font);\n}\n\n/* Styles for Message element for when widget is loading or is empty */\n.monaco-editor .suggest-widget > .message {\n\tpadding-left: 22px;\n}\n\n/** Styles for the list element **/\n.monaco-editor .suggest-widget > .tree {\n\theight: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n/** Styles for each row in the list element **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\n\tdisplay: flex;\n\t-mox-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tpadding-right: 10px;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 2px 2px;\n\twhite-space: nowrap;\n\tcursor: pointer;\n\ttouch-action: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents {\n\tflex: 1;\n\theight: 100%;\n\toverflow: hidden;\n\tpadding-left: 2px;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main {\n\tdisplay: flex;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: pre;\n\tjustify-content: space-between;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {\n\tdisplay: flex;\n}\n\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\n\tfont-weight: bold;\n}\n\n/** Status Bar **/\n\n.monaco-editor .suggest-widget > .suggest-status-bar {\n\tvisibility: hidden;\n\n\tposition: absolute;\n\tleft: 0;\n\n\tbox-sizing: border-box;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\tjustify-content: space-between;\n\n\twidth: 100%;\n\n\tfont-size: 80%;\n\n\tborder-left-width: 1px;\n\tborder-left-style: solid;\n\tborder-right-width: 1px;\n\tborder-right-style: solid;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\n\tpadding: 0 8px 0 4px;\n}\n\n.monaco-editor .suggest-widget.list-right.docs-side > .suggest-status-bar {\n\tleft: auto;\n\tright: 0;\n}\n.monaco-editor .suggest-widget.docs-side > .suggest-status-bar {\n\twidth: 50%;\n}\n\n/** ReadMore Icon styles **/\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore::before {\n\tcolor: inherit;\n\topacity: 1;\n\tfont-size: 14px;\n\tcursor: pointer;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close {\n\tposition: absolute;\n\ttop: 2px;\n\tright: 2px;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close:hover,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore:hover {\n\topacity: 1;\n}\n\n/** signature, qualifier, type/details opacity **/\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {\n\topacity: 0.7;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label {\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label {\n\tmargin-left: 4px;\n\topacity: 0.4;\n\tfont-size: 90%;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\tline-height: 17px;\n\talign-self: center;\n}\n\n/** Type Info and icon next to the label in the focused completion item **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {\n\tmargin-left: 0.8em;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label > .monaco-tokenized-source {\n\tdisplay: inline;\n}\n\n/** Details: if using CompletionItem#details, show on focus **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {\n\tdisplay: inline;\n}\n\n/** Details: if using CompletionItemLabel#details, always show **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .right > .details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label) > .contents > .main > .right > .details-label {\n\tdisplay: inline;\n}\n\n/** Ellipsis on hover **/\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {\n\twidth: calc(100% - 26px);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left {\n\tflex-shrink: 1;\n\tflex-grow: 1;\n\toverflow: hidden;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .monaco-icon-label {\n\tflex-shrink: 0;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .left > .monaco-icon-label {\n\tmax-width: 100%;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .left > .monaco-icon-label {\n\tflex-shrink: 1;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {\n\toverflow: hidden;\n\tmargin-left: 16px;\n\tflex-shrink: 0;\n\tmax-width: 45%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\n\tdisplay: inline-block;\n\tposition: absolute;\n\tright: 10px;\n\twidth: 18px;\n\theight: 18px;\n\tvisibility: hidden;\n}\n\n/** Do NOT display ReadMore when docs is side/below **/\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\n\tdisplay: none !important;\n}\n\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .right > .readMore {\n\tdisplay: none;\n}\n/** Focused item can show ReadMore, but can't when docs is side/below **/\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {\n\tdisplay: inline-block;\n}\n\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover > .contents > .main > .right > .readMore {\n\tvisibility: visible;\n}\n\n/** Styles for each row in the list **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\n\topacity: 0.66;\n\ttext-decoration: unset;\n}\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated > .monaco-icon-label-container > .monaco-icon-name-container {\n\ttext-decoration: line-through;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\n\theight: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\n\tdisplay: block;\n\theight: 16px;\n\twidth: 16px;\n\tmargin-left: 2px;\n\tbackground-repeat: no-repeat;\n\tbackground-size: 80%;\n\tbackground-position: center;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\n\tdisplay: flex;\n\talign-items: center;\n\tmargin-right: 4px;\n}\n\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\n\tmargin: 0 0 0 0.3em;\n\tborder: 0.1em solid #000;\n\twidth: 0.7em;\n\theight: 0.7em;\n\tdisplay: inline-block;\n}\n\n/** Styles for the docs of the completion item in focus **/\n.monaco-editor .suggest-widget .details {\n\tdisplay: flex;\n\tflex-direction: column;\n\tcursor: default;\n}\n\n.monaco-editor .suggest-widget .details.no-docs {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget.docs-below .details {\n\tborder-top-width: 0;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element {\n\tflex: 1;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body {\n\tposition: absolute;\n\tbox-sizing: border-box;\n\theight: 100%;\n\twidth: 100%;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .type {\n\tflex: 2;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\topacity: 0.7;\n\tword-break: break-all;\n\tmargin: 0 24px 0 0;\n\tpadding: 4px 0 12px 5px;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs {\n\tmargin: 0;\n\tpadding: 4px 5px;\n\twhite-space: pre-wrap;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs {\n\tpadding: 0;\n\twhite-space: initial;\n\tmin-height: calc(1rem + 8px);\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div,\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > span:not(:empty) {\n\tpadding: 4px 5px;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:first-child {\n\tmargin-top: 0;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:last-child\t {\n\tmargin-bottom: 0;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs .code {\n\twhite-space: pre-wrap;\n\tword-wrap: break-word;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs .codicon {\n\tvertical-align: sub;\n}\n\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > p:empty {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .details code {\n\tborder-radius: 3px;\n\tpadding: 0 0.4em;\n}\n\n\n/* replace/insert decorations */\n\n.monaco-editor .suggest-insert-unexpected {\n\tfont-style: italic;\n}\n\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(330);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\n\tvisibility: visible;\n}\n.monaco-editor .suggest-widget.with-status-bar > .tree {\n\tmargin-bottom: 18px;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\n\tmin-height: 18px;\n\topacity: 0.5;\n\tcolor: inherit;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\n\tmargin-right: 0;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\n\tcontent: ', ';\n\tmargin-right: 0.3em;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {\n\twidth: 100%;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(332);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list .monaco-list-row.focused.selected .outline-element .monaco-highlighted-label,\n.monaco-list .monaco-list-row.focused.selected .outline-element-decoration {\n\t/* make sure selection color wins when a label is being selected */\n\tcolor: inherit !important;\n}\n\n.monaco-list .outline-element {\n\tdisplay: flex;\n\tflex: 1;\n\tflex-flow: row nowrap;\n\talign-items: center;\n}\n\n.monaco-list .outline-element .monaco-highlighted-label {\n\tcolor: var(--outline-element-color);\n}\n\n.monaco-list .outline-element .outline-element-decoration {\n\topacity: 0.75;\n\tfont-size: 90%;\n\tfont-weight: 600;\n\tpadding: 0 12px 0 5px;\n\tmargin-left: auto;\n\ttext-align: center;\n\tcolor: var(--outline-element-color);\n}\n\n.monaco-list .outline-element .outline-element-decoration.bubble {\n\tfont-family: codicon;\n\tfont-size: 14px;\n\topacity: 0.4;\n}\n\n.monaco-list .outline-element .outline-element-icon {\n\tmargin-right: 4px;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(334);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-icon-label.deprecated {\n\ttext-decoration: line-through;\n\topacity: 0.66;\n}\n",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(336);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .accessibilityHelpWidget {\n\tpadding: 10px;\n\tvertical-align: middle;\n\toverflow: scroll;\n}",""]),e.exports=t},function(e,t,n){var i=n(32),o=n(338);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .iPadShowKeyboard {\n\twidth: 58px;\n\tmin-width: 0;\n\theight: 36px;\n\tmin-height: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tposition: absolute;\n\tresize: none;\n\toverflow: hidden;\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") center center no-repeat;\n\tborder: 4px solid #F6F6F6;\n\tborder-radius: 4px;\n}\n\n.monaco-editor.vs-dark .iPadShowKeyboard {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==") center center no-repeat;\n\tborder: 4px solid #252526;\n}',""]),e.exports=t},function(e,t,n){var i=n(32),o=n(340);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .tokens-inspect-widget {\n\tz-index: 50;\n\tuser-select: text;\n\t-webkit-user-select: text;\n\t-ms-user-select: text;\n\tpadding: 10px;\n}\n\n.tokens-inspect-separator {\n\theight: 1px;\n\tborder: 0;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token {\n\tfont-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token-length {\n\tfont-weight: normal;\n\tfont-size: 60%;\n\tfloat: right;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-metadata-table {\n\twidth: 100%;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-metadata-value {\n\tfont-family: var(--monaco-monospace-font);\n\ttext-align: right;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token-type {\n\tfont-family: var(--monaco-monospace-font);\n}\n",""]),e.exports=t},,function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationTokenSource",(function(){return l.a})),n.d(t,"Emitter",(function(){return l.b})),n.d(t,"KeyCode",(function(){return l.c})),n.d(t,"KeyMod",(function(){return l.d})),n.d(t,"Position",(function(){return l.g})),n.d(t,"Range",(function(){return l.h})),n.d(t,"Selection",(function(){return l.i})),n.d(t,"SelectionDirection",(function(){return l.j})),n.d(t,"MarkerSeverity",(function(){return l.e})),n.d(t,"MarkerTag",(function(){return l.f})),n.d(t,"Uri",(function(){return l.l})),n.d(t,"Token",(function(){return l.k})),n.d(t,"editor",(function(){return l.m})),n.d(t,"languages",(function(){return l.n}));var i,o,r,s,a,l=n(108),c=n(29);!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(i||(i={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(o||(o={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(r||(r={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(s||(s={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(a||(a={}));var d=function(){function e(e,t,n){this._onDidChange=new c.a,this._onDidExtraLibsChange=new c.a,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(n),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n,i=this;if(n=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var o=1;return this._removedExtraLibs[n]&&(o=this._removedExtraLibs[n]+1),this._extraLibs[n]&&(o=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=i._extraLibs[n];e&&e.version===o&&(delete i._extraLibs[n],i._removedExtraLibs[n]=o,i._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var n=0,i=e;n<i.length;n++){var o=i[n],r=(t=o.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),o.content),s=1;this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:r,version:s}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setWorkerOptions=function(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}(),h=new d({allowNonTsExtensions:!0,target:s.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{}),u=new d({allowNonTsExtensions:!0,allowJs:!0,target:s.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1},{});function p(){return Promise.resolve().then(n.bind(null,412))}c.g.typescript={ModuleKind:i,JsxEmit:o,NewLineKind:r,ScriptTarget:s,ModuleResolutionKind:a,typescriptVersion:"4.0.3",typescriptDefaults:h,javascriptDefaults:u,getTypeScriptWorker:function(){return p().then((function(e){return e.getTypeScriptWorker()}))},getJavaScriptWorker:function(){return p().then((function(e){return e.getJavaScriptWorker()}))}},c.g.onLanguage("typescript",(function(){return p().then((function(e){return e.setupTypeScript(h)}))})),c.g.onLanguage("javascript",(function(){return p().then((function(e){return e.setupJavaScript(u)}))}));var m=n(52),g=function(){function e(e,t,n){this._onDidChange=new m.a,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),f={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},b={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},_=new g("css",f,b),v=new g("scss",f,b),w=new g("less",f,b);function y(){return Promise.resolve().then(n.bind(null,414))}m.f.css={cssDefaults:_,lessDefaults:w,scssDefaults:v},m.f.onLanguage("less",(function(){y().then((function(e){return e.setupMode(w)}))})),m.f.onLanguage("scss",(function(){y().then((function(e){return e.setupMode(v)}))})),m.f.onLanguage("css",(function(){y().then((function(e){return e.setupMode(_)}))}));var C=n(59),x=new(function(){function e(e,t,n){this._onDidChange=new C.a,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}())("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});C.f.json={jsonDefaults:x},C.f.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),C.f.onLanguage("json",(function(){Promise.resolve().then(n.bind(null,413)).then((function(e){return e.setupMode(x)}))}));var S=n(47),k=function(){function e(e,t,n){this._onDidChange=new S.a,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),E={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},T={format:E,suggest:{html5:!0}},L={format:E,suggest:{html5:!0,razor:!0}};function N(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===I,documentFormattingEdits:e===I,documentRangeFormattingEdits:e===I}}var I="html",O=new k(I,{format:E,suggest:{html5:!0,angular1:!0,ionic:!0}},N(I)),D=new k("handlebars",T,N("handlebars")),A=new k("razor",L,N("razor"));function R(){return Promise.resolve().then(n.bind(null,415))}S.f.html={htmlDefaults:O,razorDefaults:A,handlebarDefaults:D},S.f.onLanguage(I,(function(){R().then((function(e){return e.setupMode(O)}))})),S.f.onLanguage("handlebars",(function(){R().then((function(e){return e.setupMode(D)}))})),S.f.onLanguage("razor",(function(){R().then((function(e){return e.setupMode(A)}))}));var M=n(95),P={},F={},W=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return F[t]||(F[t]=new e(t)),F[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,P[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function z(e){var t=e.id;P[t]=e,M.a.register(e);var n=W.getOrCreate(t);M.a.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),M.a.onLanguage(t,(function(){n.load().then((function(e){M.a.setLanguageConfiguration(t,e.conf)}))}))}z({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return Promise.resolve().then(n.bind(null,347))}}),z({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return Promise.resolve().then(n.bind(null,348))}}),z({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return Promise.resolve().then(n.bind(null,349))}}),z({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return Promise.resolve().then(n.bind(null,350))}}),z({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return Promise.resolve().then(n.bind(null,351))}}),z({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return Promise.resolve().then(n.bind(null,352))}}),z({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return Promise.resolve().then(n.bind(null,353))}}),z({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return Promise.resolve().then(n.bind(null,354))}}),z({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return Promise.resolve().then(n.bind(null,354))}}),z({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return Promise.resolve().then(n.bind(null,355))}}),z({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return Promise.resolve().then(n.bind(null,356))}}),z({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return Promise.resolve().then(n.bind(null,357))}}),z({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return Promise.resolve().then(n.bind(null,358))}}),z({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return Promise.resolve().then(n.bind(null,359))}}),z({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return Promise.resolve().then(n.bind(null,360))}}),z({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return Promise.resolve().then(n.bind(null,361))}}),z({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return Promise.resolve().then(n.bind(null,362))}}),z({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return Promise.resolve().then(n.bind(null,363))}}),z({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return Promise.resolve().then(n.bind(null,364))}}),z({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return Promise.resolve().then(n.bind(null,365))}}),z({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return Promise.resolve().then(n.bind(null,366))}}),z({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return Promise.resolve().then(n.bind(null,367))}}),z({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return Promise.resolve().then(n.bind(null,368))}}),z({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return Promise.resolve().then(n.bind(null,369))}}),z({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return Promise.resolve().then(n.bind(null,370))}}),z({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return Promise.resolve().then(n.bind(null,371))}}),z({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return Promise.resolve().then(n.bind(null,372))}}),z({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return Promise.resolve().then(n.bind(null,373))}}),z({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return Promise.resolve().then(n.bind(null,374))}}),z({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return Promise.resolve().then(n.bind(null,375))}}),z({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return Promise.resolve().then(n.bind(null,376))}}),z({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return Promise.resolve().then(n.bind(null,377))}}),z({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return Promise.resolve().then(n.bind(null,378))}}),z({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return Promise.resolve().then(n.bind(null,379))}}),z({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return Promise.resolve().then(n.bind(null,380))}}),z({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return Promise.resolve().then(n.bind(null,381))}}),z({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return Promise.resolve().then(n.bind(null,382))}}),z({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return Promise.resolve().then(n.bind(null,383))}}),z({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return Promise.resolve().then(n.bind(null,384))}}),z({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return Promise.resolve().then(n.bind(null,385))}}),z({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return Promise.resolve().then(n.bind(null,386))}}),z({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return Promise.resolve().then(n.bind(null,387))}}),z({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return Promise.resolve().then(n.bind(null,388))}}),z({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return Promise.resolve().then(n.bind(null,389))}}),z({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return Promise.resolve().then(n.bind(null,390))}}),z({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return Promise.resolve().then(n.bind(null,391))}}),z({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return Promise.resolve().then(n.bind(null,392))}}),z({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return Promise.resolve().then(n.bind(null,393))}}),z({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return Promise.resolve().then(n.bind(null,394))}}),z({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return Promise.resolve().then(n.bind(null,395))}}),z({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return Promise.resolve().then(n.bind(null,396))}}),z({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return Promise.resolve().then(n.bind(null,397))}}),z({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return Promise.resolve().then(n.bind(null,398))}}),z({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return Promise.resolve().then(n.bind(null,399))}}),z({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return Promise.resolve().then(n.bind(null,400))}}),z({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return Promise.resolve().then(n.bind(null,401))}}),z({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return Promise.resolve().then(n.bind(null,402))}}),z({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return Promise.resolve().then(n.bind(null,403))}}),z({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return Promise.resolve().then(n.bind(null,404))}}),z({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return Promise.resolve().then(n.bind(null,405))}}),z({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return Promise.resolve().then(n.bind(null,406))}}),z({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return Promise.resolve().then(n.bind(null,406))}}),z({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return Promise.resolve().then(n.bind(null,407))}}),z({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return Promise.resolve().then(n.bind(null,408))}}),z({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return Promise.resolve().then(n.bind(null,142))}}),z({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return Promise.resolve().then(n.bind(null,409))}}),z({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return Promise.resolve().then(n.bind(null,410))}}),z({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return Promise.resolve().then(n.bind(null,411))}});var B=n(107),j=n(164),V=(n(194),n(193),n(281),n(4)),U=n(0),H=n(7),q=n(21),$=n(43),K=n(10),G=n(15),Y=n(17),Z=n(13);class X{constructor(e="",t=!1){var n,i;if(this._value=e,"string"!=typeof this._value)throw Object(Z.b)("value");"boolean"==typeof t?(this._isTrusted=t,this._supportThemeIcons=!1):(this._isTrusted=null!==(n=t.isTrusted)&&void 0!==n&&n,this._supportThemeIcons=null!==(i=t.supportThemeIcons)&&void 0!==i&&i)}get value(){return this._value}get isTrusted(){return this._isTrusted}get supportThemeIcons(){return this._supportThemeIcons}appendText(e){return this._value+=(this._supportThemeIcons?Object(Y.b)(e):e).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace(/\n/g,"\n\n"),this}appendMarkdown(e){return this._value+=e,this}appendCodeblock(e,t){return this._value+="\n```",this._value+=e,this._value+="\n",this._value+=t,this._value+="\n```\n",this}}function Q(e){return J(e)?!e.value:!Array.isArray(e)||e.every(Q)}function J(e){return e instanceof X||!(!e||"object"!=typeof e)&&!("string"!=typeof e.value||"boolean"!=typeof e.isTrusted&&void 0!==e.isTrusted||"boolean"!=typeof e.supportThemeIcons&&void 0!==e.supportThemeIcons)}function ee(e,t){return e===t||!(!e||!t)&&(e.value===t.value&&e.isTrusted===t.isTrusted&&e.supportThemeIcons===t.supportThemeIcons)}function te(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}var ne=n(66),ie=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},oe=function(e,t){return function(n,i){t(n,i,e)}},re=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const se=new K.c("selectionAnchorSet",!1);let ae=class e{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=se.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],n=this.editor.deltaDecorations(t,[{range:q.a.fromPositions(e,e),options:{stickiness:1,hoverMessage:(new X).appendText(Object(U.a)("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=n[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Object(ne.a)(Object(U.a)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(q.a.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};ae.ID="editor.contrib.selectionAnchorController",ae=ie([oe(1,K.b)],ae);class le extends V.b{constructor(){super({id:"editor.action.setSelectionAnchor",label:Object(U.a)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2080),weight:100}})}run(e,t){return re(this,void 0,void 0,(function*(){ae.get(t).setSelectionAnchor()}))}}class ce extends V.b{constructor(){super({id:"editor.action.goToSelectionAnchor",label:Object(U.a)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:se})}run(e,t){return re(this,void 0,void 0,(function*(){ae.get(t).goToSelectionAnchor()}))}}class de extends V.b{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:Object(U.a)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:se,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2089),weight:100}})}run(e,t){return re(this,void 0,void 0,(function*(){ae.get(t).selectFromAnchorToCursor()}))}}class he extends V.b{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:Object(U.a)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:se,kbOpts:{kbExpr:H.a.editorTextFocus,primary:9,weight:100}})}run(e,t){return re(this,void 0,void 0,(function*(){ae.get(t).cancelSelectionAnchor()}))}}Object(V.m)(ae.ID,ae),Object(V.k)(le),Object(V.k)(ce),Object(V.k)(de),Object(V.k)(he);n(283);var ue=n(20),pe=n(2),me=n(9),ge=n(3),fe=n(58),be=n(30),_e=n(57),ve=n(5),we=n(19),ye=n(24);const Ce=Object(ve.gc)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},U.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class xe extends V.b{constructor(){super({id:"editor.action.jumpToBracket",label:U.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3160,weight:100}})}run(e,t){let n=Ee.get(t);n&&n.jumpToBracket()}}class Se extends V.b{constructor(){super({id:"editor.action.selectToBracket",label:U.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,n){const i=Ee.get(t);if(!i)return;let o=!0;n&&!1===n.selectBrackets&&(o=!1),i.selectToBracket(o)}}class ke{constructor(e,t,n){this.position=e,this.brackets=t,this.options=n}}class Ee extends pe.a{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new ue.d(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(55),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(55)&&(this._matchBrackets=this._editor.getOption(55),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))}static get(e){return e.getContribution(Ee.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(t=>{const n=t.getStartPosition(),i=e.matchBracket(n);let o=null;if(i)i[0].containsPosition(n)?o=i[1].getStartPosition():i[1].containsPosition(n)&&(o=i[0].getStartPosition());else{const t=e.findEnclosingBrackets(n);if(t)o=t[0].getStartPosition();else{const t=e.findNextBracket(n);t&&t.range&&(o=t.range.getStartPosition())}}return o?new q.a(o.lineNumber,o.column,o.lineNumber,o.column):new q.a(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=[];this._editor.getSelections().forEach(i=>{const o=i.getStartPosition();let r=t.matchBracket(o);if(!r&&(r=t.findEnclosingBrackets(o),!r)){const e=t.findNextBracket(o);e&&e.range&&(r=t.matchBracket(e.range.getStartPosition()))}let s=null,a=null;if(r){r.sort(ge.a.compareRangesUsingStarts);const[t,n]=r;s=e?t.getStartPosition():t.getEndPosition(),a=e?n.getEndPosition():n.getStartPosition()}s&&a&&n.push(new q.a(s.lineNumber,s.column,a.lineNumber,a.column))}),n.length>0&&(this._editor.setSelections(n),this._editor.revealRange(n[0]))}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(const n of this._lastBracketsData){let i=n.brackets;i&&(e[t++]={range:i[0],options:n.options},e[t++]={range:i[1],options:n.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);const e=this._editor.getSelections();if(e.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);const t=this._editor.getModel(),n=t.getVersionId();let i=[];this._lastVersionId===n&&(i=this._lastBracketsData);let o=[],r=0;for(let t=0,n=e.length;t<n;t++){let n=e[t];n.isEmpty()&&(o[r++]=n.getStartPosition())}o.length>1&&o.sort(me.a.compare);let s=[],a=0,l=0,c=i.length;for(let e=0,n=o.length;e<n;e++){let n=o[e];for(;l<c&&i[l].position.isBefore(n);)l++;if(l<c&&i[l].position.equals(n))s[a++]=i[l];else{let e=t.matchBracket(n),i=Ee._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;e||"always"!==this._matchBrackets||(e=t.findEnclosingBrackets(n,20),i=Ee._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),s[a++]=new ke(n,e,i)}}this._lastBracketsData=s,this._lastVersionId=n}}Ee.ID="editor.contrib.bracketMatchingController",Ee._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=be.a.register({stickiness:1,className:"bracket-match",overviewRuler:{color:Object(we.h)(Ce),position:fe.d.Center}}),Ee._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=be.a.register({stickiness:1,className:"bracket-match"}),Object(V.m)(Ee.ID,Ee),Object(V.k)(Se),Object(V.k)(xe),Object(we.g)((e,t)=>{const n=e.getColor(_e.c);n&&t.addRule(`.monaco-editor .bracket-match { background-color: ${n}; }`);const i=e.getColor(_e.d);i&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)}),ye.d.appendMenuItem(ye.b.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:U.a({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class Te{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const n=this._selection.startLineNumber,i=this._selection.startColumn,o=this._selection.endColumn;if((!this._isMovingLeft||1!==i)&&(this._isMovingLeft||o!==e.getLineMaxColumn(n)))if(this._isMovingLeft){const r=new ge.a(n,i-1,n,i),s=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new ge.a(n,o,n,o),s)}else{const r=new ge.a(n,o,n,o+1),s=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new ge.a(n,i,n,i),s)}}computeCursorState(e,t){return this._isMovingLeft?new q.a(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new q.a(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class Le extends V.b{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let n=[],i=t.getSelections();for(const e of i)n.push(new Te(e,this.left));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}Object(V.k)(class extends Le{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:U.a("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:H.a.writable})}}),Object(V.k)(class extends Le{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:U.a("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:H.a.writable})}});var Ne=n(62),Ie=n(81);class Oe extends V.b{constructor(){super({id:"editor.action.transposeLetters",label:U.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let n=t.getModel(),i=[],o=t.getSelections();for(let e of o){if(!e.isEmpty())continue;let t=e.startLineNumber,o=e.startColumn,r=n.getLineMaxColumn(t);if(1===t&&(1===o||2===o&&2===r))continue;let s=o===r?e.getPosition():Ie.a.rightPosition(n,e.getPosition().lineNumber,e.getPosition().column),a=Ie.a.leftPosition(n,s.lineNumber,s.column),l=Ie.a.leftPosition(n,a.lineNumber,a.column),c=n.getValueInRange(ge.a.fromPositions(l,a)),d=n.getValueInRange(ge.a.fromPositions(a,s)),h=ge.a.fromPositions(l,s);i.push(new Ne.a(h,d+c))}i.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop())}}Object(V.k)(Oe);var De=n(34),Ae=n(11),Re=n(167),Me=n(41),Pe=n(121),Fe=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const We=Ae.g||document.queryCommandSupported("cut"),ze=Ae.g||document.queryCommandSupported("copy"),Be=ze&&!De.f,je=!De.h||document.queryCommandSupported("paste");function Ve(e){return e.register(),e}const Ue=We?Ve(new V.e({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:Ae.g?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:ye.b.MenubarEditMenu,group:"2_ccp",title:U.a({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:ye.b.EditorContext,group:"9_cutcopypaste",title:U.a("actions.clipboard.cutLabel","Cut"),when:H.a.writable,order:1},{menuId:ye.b.CommandPalette,group:"",title:U.a("actions.clipboard.cutLabel","Cut"),order:1}]})):void 0,He=ze?Ve(new V.e({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:Ae.g?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:ye.b.MenubarEditMenu,group:"2_ccp",title:U.a({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:ye.b.EditorContext,group:"9_cutcopypaste",title:U.a("actions.clipboard.copyLabel","Copy"),order:2},{menuId:ye.b.CommandPalette,group:"",title:U.a("actions.clipboard.copyLabel","Copy"),order:1}]})):void 0,qe=je?Ve(new V.e({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:Ae.g?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:ye.b.MenubarEditMenu,group:"2_ccp",title:U.a({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3},{menuId:ye.b.EditorContext,group:"9_cutcopypaste",title:U.a("actions.clipboard.pasteLabel","Paste"),when:H.a.writable,order:3},{menuId:ye.b.CommandPalette,group:"",title:U.a("actions.clipboard.pasteLabel","Paste"),order:1}]})):void 0;class $e extends V.b{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:U.a("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;!t.getOption(26)&&t.getSelection().isEmpty()||(Re.a.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Re.a.forceCopyWithSyntaxHighlighting=!1)}}function Ke(e,t){e&&(e.addImplementation(1e4,(e,n)=>{const i=e.get(Me.a).getFocusedCodeEditor();if(i&&i.hasTextFocus()){const e=i.getOption(26),n=i.getSelection();return n&&n.isEmpty()&&!e||document.execCommand(t),!0}return!1}),e.addImplementation(0,(e,n)=>(document.execCommand(t),!0)))}Ke(Ue,"cut"),Ke(He,"copy"),qe&&(qe.addImplementation(1e4,(e,t)=>{const n=e.get(Me.a),i=e.get(Pe.a),o=n.getFocusedCodeEditor();if(o&&o.hasTextFocus()){return!(!document.execCommand("paste")&&Ae.h)||(Fe(void 0,void 0,void 0,(function*(){const e=yield i.readText();if(""!==e){const t=Re.b.INSTANCE.get(e);let n=!1,i=null,r=null;t&&(n=o.getOption(26)&&!!t.isFromEmptySelection,i=void 0!==t.multicursorText?t.multicursorText:null,r=t.mode),o.trigger("keyboard","paste",{text:e,pasteOnNewLine:n,multicursorText:i,mode:r})}})),!0)}return!1}),qe.addImplementation(0,(e,t)=>(document.execCommand("paste"),!0))),Be&&Object(V.k)($e);class Ge{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Ye=n(8),Ze=n(148),Xe=n(25),Qe=n(23),Je=n(88),et=n(12),tt=n(64);class nt{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||Object(Ye.S)(e.value,this.value+nt.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new nt(this.value+nt.sep+e)}}function it(e,t,n){return!!t.contains(e)&&(!n||!t.contains(n))}nt.sep=".",nt.None=new nt("@@none@@"),nt.Empty=new nt(""),nt.QuickFix=new nt("quickfix"),nt.Refactor=new nt("refactor"),nt.Source=new nt("source"),nt.SourceOrganizeImports=nt.Source.append("organizeImports"),nt.SourceFixAll=nt.Source.append("fixAll");class ot{constructor(e,t,n){this.kind=e,this.apply=t,this.preferred=n}static fromUser(e,t){return e&&"object"==typeof e?new ot(ot.getKindFromUser(e,t.kind),ot.getApplyFromUser(e,t.apply),ot.getPreferredUser(e)):new ot(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new nt(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}}var rt=n(83),st=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class at extends pe.a{constructor(e,t,n){super(),this.documentation=t,this._register(n),this.allActions=Object(G.p)([...e],at.codeActionsComparator),this.validActions=this.allActions.filter(e=>!e.disabled)}static codeActionsComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Object(G.o)(e.diagnostics)?Object(G.o)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(G.o)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(e=>!!e.kind&&nt.QuickFix.contains(new nt(e.kind))&&!!e.isPreferred)}}const lt={actions:[],documentation:void 0};function ct(e,t,n,i,o){var r;const s=n.filter||{},a={only:null===(r=s.include)||void 0===r?void 0:r.value,trigger:n.type},l=new Je.d(e,o),c=function(e,t){return et.a.all(e).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>function(e,t){return!(e.include&&!e.include.intersects(t))&&((!e.excludes||!e.excludes.some(n=>it(t,n,e.include)))&&!(!e.includeSourceActions&&nt.Source.contains(t)))}(t,new nt(e))))}(e,s),d=new pe.b,h=c.map(n=>st(this,void 0,void 0,(function*(){try{i.report(n);const o=yield n.provideCodeActions(e,t,a,l.token);if(o&&d.add(o),l.token.isCancellationRequested)return lt;const r=((null==o?void 0:o.actions)||[]).filter(e=>e&&function(e,t){const n=t.kind?new nt(t.kind):void 0;return!!(!e.include||n&&e.include.contains(n))&&(!(e.excludes&&n&&e.excludes.some(t=>it(n,t,e.include)))&&(!(!e.includeSourceActions&&n&&nt.Source.contains(n))&&!(e.onlyIncludePreferredActions&&!t.isPreferred)))}(s,e));return{actions:r,documentation:function(e,t,n){if(!e.documentation)return;const i=e.documentation.map(e=>({kind:new nt(e.kind),command:e.command}));if(n){let e;for(const t of i)t.kind.contains(n)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(const e of t)if(e.kind)for(const t of i)if(t.kind.contains(new nt(e.kind)))return t.command;return}(n,r,s.include)}}catch(e){if(Object(Z.d)(e))throw e;return Object(Z.f)(e),lt}}))),u=et.a.onDidChange(()=>{const t=et.a.all(e);Object(G.g)(t,c)||l.cancel()});return Promise.all(h).then(e=>{const t=Object(G.l)(e.map(e=>e.actions)),n=Object(G.d)(e.map(e=>e.documentation));return new at(t,n,d)}).finally(()=>{u.dispose(),l.dispose()})}Object(V.o)("_executeCodeActionProvider",(function(e,t){return st(this,void 0,void 0,(function*(){const{resource:n,rangeOrSelection:i,kind:o}=t;if(!(n instanceof Qe.a))throw Object(Z.b)();const r=e.get(tt.a).getModel(n);if(!r)throw Object(Z.b)();const s=q.a.isISelection(i)?q.a.liftSelection(i):ge.a.isIRange(i)?r.validateRange(i):void 0;if(!s)throw Object(Z.b)();const a=yield ct(r,s,{type:2,filter:{includeSourceActions:!0,include:o&&o.value?new nt(o.value):void 0}},rt.b.None,Xe.a.None);return setTimeout(()=>a.dispose(),100),a.validActions}))}));n(285);var dt=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ht=function(e,t){return function(n,i){t(n,i,e)}};let ut=class e extends pe.a{constructor(t,n){super(),this._messageWidget=this._register(new pe.d),this._messageListeners=this._register(new pe.b),this._editor=t,this._visible=e.MESSAGE_VISIBLE.bindTo(n),this._register(this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}static get(t){return t.getContribution(e.ID)}dispose(){super.dispose(),this._visible.reset()}showMessage(e,t){let n;Object(ne.a)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new mt(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new ue.e(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(e=>{e.target.position&&(n?n.containsPosition(e.target.position)||this.closeMessage():n=new ge.a(t.lineNumber-3,1,e.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(mt.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(U.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};ut.ID="editor.contrib.messageController",ut.MESSAGE_VISIBLE=new K.c("messageVisible",!1),ut=dt([ht(1,K.b)],ut);const pt=V.c.bindToContribution(ut.get);Object(V.l)(new pt({id:"leaveEditorMessage",precondition:ut.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class mt{constructor(e,{lineNumber:t,column:n},i){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:n-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div");o.classList.add("message"),o.textContent=i,this._domNode.appendChild(o);const r=document.createElement("div");r.classList.add("anchor"),this._domNode.appendChild(r),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const n=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener("animationend",n),e.getDomNode().classList.add("fadeOut"),{dispose:n}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}}Object(V.m)(ut.ID,ut),Object(we.g)((e,t)=>{const n=e.getColor(ve.mb);if(n){let i=e.type===we.b?2:1;t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: ${n}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${i}px solid ${n}; }`)}const i=e.getColor(ve.lb);i&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${i}; }`);const o=e.getColor(ve.nb);o&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${o}; }`)});var gt=n(18),ft=n(1),bt=n(60),_t=n(84),vt=n(50),wt=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},yt=function(e,t){return function(n,i){t(n,i,e)}},Ct=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class xt extends bt.a{constructor(e,t){super(e.command?e.command.id:e.title,e.title,void 0,!e.disabled,t),this.action=e}}let St=class extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._delegate=t,this._contextMenuService=n,this._visible=!1,this._showingActions=this._register(new pe.d),this._keybindingResolver=new kt({getKeybindings:()=>i.getKeybindings()})}get isVisible(){return this._visible}show(e,t,n,i){return Ct(this,void 0,void 0,(function*(){const o=i.includeDisabledActions?t.allActions:t.validActions;if(!o.length)return void(this._visible=!1);if(!this._editor.getDomNode())throw this._visible=!1,Object(Z.a)();this._visible=!0,this._showingActions.value=t;const r=this.getMenuActions(e,o,t.documentation),s=me.a.isIPosition(n)?this._toCoords(n):n||{x:0,y:0},a=this._keybindingResolver.getResolver();this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>s,getActions:()=>r,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof xt?a(e.action):void 0})}))}getMenuActions(e,t,n){var i,o;const r=e=>new xt(e,()=>this._delegate.onSelectCodeAction(e)),s=t.map(r),a=[...n],l=this._editor.getModel();if(l&&s.length)for(const n of et.a.all(l))n._getAdditionalMenuItems&&a.push(...n._getAdditionalMenuItems({trigger:e.type,only:null===(o=null===(i=e.filter)||void 0===i?void 0:i.include)||void 0===o?void 0:o.value},t));return a.length&&s.push(new bt.c,...a.map(e=>r({title:e.title,command:e}))),s}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),n=Object(ft.C)(this._editor.getDomNode());return{x:n.left+t.left,y:n.top+t.top+t.height}}};St=wt([yt(2,_t.a),yt(3,vt.a)],St);class kt{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Ge(()=>this._keybindingProvider.getKeybindings().filter(e=>kt.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return"editor.action.organizeImports"===e.command?t={kind:nt.SourceOrganizeImports.value}:"editor.action.fixAll"===e.command&&(t={kind:nt.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},ot.fromUser(t,{kind:nt.None,apply:"never"}))}));return t=>{if(t.kind){const n=this.bestKeybindingForCodeAction(t,e.getValue());return null==n?void 0:n.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const n=new nt(e.kind);return t.filter(e=>e.kind.contains(n)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}}kt.codeActionCommands=["editor.action.refactor","editor.action.codeAction","editor.action.sourceAction","editor.action.organizeImports","editor.action.fixAll"];var Et,Tt=n(103),Lt=n(6),Nt=(n(287),n(61)),It=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ot=function(e,t){return function(n,i){t(n,i,e)}};!function(e){e.Hidden={type:0};e.Showing=class{constructor(e,t,n,i){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=i,this.type=1}}}(Et||(Et={}));let Dt=class e extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=n,this._keybindingService=i,this._onClick=this._register(new Lt.a),this.onClick=this._onClick.event,this._state=Et.Hidden,this._domNode=document.createElement("div"),this._domNode.className=Y.a.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{const t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),Nt.b.ignoreTarget(this._domNode),this._register(ft.m(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();const{top:t,height:n}=ft.C(this._domNode),i=this._editor.getOption(51);let o=Math.floor(i/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(o+=i),this._onClick.fire({x:e.posx,y:t+n+o,actions:this.state.actions,trigger:this.state.trigger})})),this._register(ft.i(this._domNode,"mouseenter",e=>{if(1!=(1&e.buttons))return;this.hide();const t=new Tt.a;t.startMonitoring(e.target,e.buttons,Tt.b,()=>{},()=>{t.dispose()})})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(49)&&!this._editor.getOption(49).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,n,i){if(t.validActions.length<=0)return this.hide();const o=this._editor.getOptions();if(!o.get(49).enabled)return this.hide();const r=this._editor.getModel();if(!r)return this.hide();const{lineNumber:s,column:a}=r.validatePosition(i),l=r.getOptions().tabSize,c=o.get(36),d=r.getLineContent(s),h=be.b.computeIndentLevel(d,l),u=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1);let p=s;if(!(c.spaceWidth*h>22))if(s>1&&!u(s-1))p-=1;else if(u(s+1)){if(a*c.spaceWidth<22)return this.hide()}else p+=1;this.state=new Et.Showing(t,n,i,{position:{lineNumber:p,column:1},preference:e._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=Et.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(1===this.state.type&&this.state.actions.hasAutoFix){ft.R(this._domNode,Y.a.lightBulb.classNames),ft.f(this._domNode,Y.a.lightbulbAutofix.classNames);const e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=U.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",e.getLabel()))}ft.R(this._domNode,Y.a.lightbulbAutofix.classNames),ft.f(this._domNode,Y.a.lightBulb.classNames);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=e?U.a("quickFixWithKb","Show Fixes ({0})",e.getLabel()):U.a("quickFix","Show Fixes")}set title(e){this._domNode.title=e}};Dt._posPref=[0],Dt=It([Ot(3,vt.a)],Dt),Object(we.g)((e,t)=>{const n=e.getColor(ve.N);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${Y.a.lightBulb.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t}`);const i=e.getColor(ve.M);i&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${Y.a.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${i};\n\t\t}`)});var At=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Rt=function(e,t){return function(n,i){t(n,i,e)}},Mt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Pt=class extends pe.a{constructor(e,t,n,i,o){super(),this._editor=e,this.delegate=i,this._activeCodeActions=this._register(new pe.d),this._codeActionWidget=new Ge(()=>this._register(o.createInstance(St,this._editor,{onSelectCodeAction:e=>Mt(this,void 0,void 0,(function*(){this.delegate.applyCodeAction(e,!0)}))}))),this._lightBulbWidget=new Ge(()=>{const e=this._register(o.createInstance(Dt,this._editor,t,n));return this._register(e.onClick(e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1}))),e})}update(e){var t,n,i;return Mt(this,void 0,void 0,(function*(){if(1!==e.type)return void(null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide());let o;try{o=yield e.actions}catch(e){return void Object(Z.e)(e)}if(this._lightBulbWidget.getValue().update(o,e.trigger,e.position),2===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){const t=this.tryGetValidActionToApply(e.trigger,o);if(t){try{yield this.delegate.applyCodeAction(t,!1)}finally{o.dispose()}return}if(e.trigger.context){const t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,o);if(t&&t.disabled)return ut.get(this._editor).showMessage(t.disabled,e.trigger.context.position),void o.dispose()}}const t=!!(null===(i=e.trigger.filter)||void 0===i?void 0:i.include);if(e.trigger.context&&(!o.allActions.length||!t&&!o.validActions.length))return ut.get(this._editor).showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=o,void o.dispose();this._activeCodeActions.value=o,this._codeActionWidget.getValue().show(e.trigger,o,e.position,{includeDisabledActions:t})}else this._codeActionWidget.getValue().isVisible?o.dispose():this._activeCodeActions.value=o}))}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length)return"first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length?t.allActions.find(e=>e.disabled):void 0}tryGetValidActionToApply(e,t){if(t.validActions.length)return"first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0}showCodeActionList(e,t,n,i){return Mt(this,void 0,void 0,(function*(){this._codeActionWidget.getValue().show(e,t,n,i)}))}};Pt=At([Rt(4,gt.a)],Pt);var Ft=n(27),Wt=n(63),zt=n(49),Bt=n(120),jt=n(51);const Vt=new K.c("supportedCodeAction","");class Ut extends pe.a{constructor(e,t,n,i=250){super(),this._editor=e,this._markerService=t,this._signalChange=n,this._delay=i,this._autoTriggerTimer=this._register(new ue.e),this._register(this._markerService.onMarkerChanged(e=>this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(e=>Object(jt.f)(e,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(t)for(const n of this._markerService.read({resource:t.uri})){const i=t.validateRange(n);if(ge.a.intersectRanges(i,e))return ge.a.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._editor.getSelection();if(n.isEmpty()&&1===e.type){const{lineNumber:e,column:i}=n.getPosition(),o=t.getLineContent(e);if(0===o.length)return;if(1===i){if(/\s/.test(o[0]))return}else if(i===t.getLineMaxColumn(e)){if(/\s/.test(o[o.length-1]))return}else if(/\s/.test(o[i-2])&&/\s/.test(o[i-1]))return}return n}_createEventAndSignalChange(e,t){const n=this._editor.getModel();if(!t||!n)return void this._signalChange(void 0);const i=this._getRangeOfMarker(t),o=i?i.getStartPosition():t.getStartPosition(),r={trigger:e,selection:t,position:o};return this._signalChange(r),r}}var Ht;!function(e){e.Empty={type:0};e.Triggered=class{constructor(e,t,n,i){this.trigger=e,this.rangeOrSelection=t,this.position=n,this.actions=i,this.type=1}}}(Ht||(Ht={}));class qt extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._markerService=t,this._progressService=i,this._codeActionOracle=this._register(new pe.d),this._state=Ht.Empty,this._onDidChangeState=this._register(new Lt.a),this.onDidChangeState=this._onDidChangeState.event,this._supportedCodeActions=Vt.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(et.a.onDidChange(()=>this._update())),this._update()}dispose(){super.dispose(),this.setState(Ht.Empty,!0)}_update(){this._codeActionOracle.value=void 0,this.setState(Ht.Empty);const e=this._editor.getModel();if(e&&et.a.has(e)&&!this._editor.getOption(72)){const t=[];for(const n of et.a.all(e))Array.isArray(n.providedCodeActionKinds)&&t.push(...n.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new Ut(this._editor,this._markerService,t=>{var n;if(!t)return void this.setState(Ht.Empty);const i=Object(ue.f)(n=>ct(e,t.selection,t.trigger,rt.b.None,n));2===t.trigger.type&&(null===(n=this._progressService)||void 0===n||n.showWhile(i,250)),this.setState(new Ht.Triggered(t.trigger,t.selection,t.position,i))},void 0),this._codeActionOracle.value.trigger({type:1})}else this._supportedCodeActions.reset()}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.actions.cancel(),this._state=e,t||this._onDidChangeState.fire(e))}}var $t=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Kt=function(e,t){return function(n,i){t(n,i,e)}},Gt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Yt(e){return K.a.regex(Vt.keys()[0],new RegExp("(\\s|^)"+Object(Ye.v)(e.value)+"\\b"))}const Zt={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:U.a("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:U.a("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[U.a("args.schema.apply.first","Always apply the first returned code action."),U.a("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),U.a("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:U.a("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};let Xt=class e extends pe.a{constructor(e,t,n,i,o){super(),this._instantiationService=o,this._editor=e,this._model=this._register(new qt(this._editor,t,n,i)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._ui=new Ge(()=>this._register(new Pt(e,en.Id,an.Id,{applyCodeAction:(e,t)=>Gt(this,void 0,void 0,(function*(){try{yield this._applyCodeAction(e)}finally{t&&this._trigger({type:1,filter:{}})}}))},this._instantiationService)))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,n){return this._ui.getValue().showCodeActionList(e,t,n,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,n){if(!this._editor.hasModel())return;ut.get(this._editor).closeMessage();const i=this._editor.getPosition();this._trigger({type:2,filter:t,autoApply:n,context:{notAvailableMessage:e,position:i}})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(Qt,e,this._editor)}};function Qt(e,t,n){return Gt(this,void 0,void 0,(function*(){const i=e.get(Ze.a),o=e.get(Ft.b),r=e.get(Bt.a),s=e.get(zt.a);if(r.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.title,codeActionKind:t.kind,codeActionIsPreferred:!!t.isPreferred}),t.edit&&(yield i.apply(Ze.b.convert(t.edit),{editor:n,label:t.title})),t.command)try{yield o.executeCommand(t.command.id,...t.command.arguments||[])}catch(e){const t=function(e){return"string"==typeof e?e:e instanceof Error&&"string"==typeof e.message?e.message:void 0}(e);s.error("string"==typeof t?t:U.a("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}))}function Jt(e,t,n,i){if(e.hasModel()){const o=Xt.get(e);o&&o.manualTriggerAtCurrentPosition(t,n,i)}}Xt.ID="editor.contrib.quickFixController",Xt=$t([Kt(1,Wt.b),Kt(2,K.b),Kt(3,rt.a),Kt(4,gt.a)],Xt);class en extends V.b{constructor(){super({id:en.Id,label:U.a("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:2132,weight:100}})}run(e,t){return Jt(t,U.a("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}en.Id="editor.action.quickFix";class tn extends V.c{constructor(){super({id:"editor.action.codeAction",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:Zt}]}})}runEditorCommand(e,t,n){const i=ot.fromUser(n,{kind:nt.Empty,apply:"ifSingle"});return Jt(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?U.a("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",n.kind):U.a("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",n.kind):i.preferred?U.a("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):U.a("editor.action.codeAction.noneMessage","No code actions available"),{include:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class nn extends V.b{constructor(){super({id:"editor.action.refactor",label:U.a("refactor.label","Refactor..."),alias:"Refactor...",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:K.a.and(H.a.writable,Yt(nt.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:Zt}]}})}run(e,t,n){const i=ot.fromUser(n,{kind:nt.Refactor,apply:"never"});return Jt(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?U.a("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",n.kind):U.a("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",n.kind):i.preferred?U.a("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):U.a("editor.action.refactor.noneMessage","No refactorings available"),{include:nt.Refactor.contains(i.kind)?i.kind:nt.None,onlyIncludePreferredActions:i.preferred},i.apply)}}class on extends V.b{constructor(){super({id:"editor.action.sourceAction",label:U.a("source.label","Source Action..."),alias:"Source Action...",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:K.a.and(H.a.writable,Yt(nt.Source))},description:{description:"Source Action...",args:[{name:"args",schema:Zt}]}})}run(e,t,n){const i=ot.fromUser(n,{kind:nt.Source,apply:"never"});return Jt(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?U.a("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",n.kind):U.a("editor.action.source.noneMessage.kind","No source actions for '{0}' available",n.kind):i.preferred?U.a("editor.action.source.noneMessage.preferred","No preferred source actions available"):U.a("editor.action.source.noneMessage","No source actions available"),{include:nt.Source.contains(i.kind)?i.kind:nt.None,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class rn extends V.b{constructor(){super({id:"editor.action.organizeImports",label:U.a("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:K.a.and(H.a.writable,Yt(nt.SourceOrganizeImports)),kbOpts:{kbExpr:H.a.editorTextFocus,primary:1581,weight:100}})}run(e,t){return Jt(t,U.a("editor.action.organize.noneMessage","No organize imports action available"),{include:nt.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class sn extends V.b{constructor(){super({id:"editor.action.fixAll",label:U.a("fixAll.label","Fix All"),alias:"Fix All",precondition:K.a.and(H.a.writable,Yt(nt.SourceFixAll))})}run(e,t){return Jt(t,U.a("fixAll.noneMessage","No fix all action available"),{include:nt.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class an extends V.b{constructor(){super({id:an.Id,label:U.a("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:K.a.and(H.a.writable,Yt(nt.QuickFix)),kbOpts:{kbExpr:H.a.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return Jt(t,U.a("editor.action.autoFix.noneMessage","No auto fixes available"),{include:nt.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}an.Id="editor.action.autoFix",Object(V.m)(Xt.ID,Xt),Object(V.k)(en),Object(V.k)(nn),Object(V.k)(on),Object(V.k)(rn),Object(V.k)(an),Object(V.k)(sn),Object(V.l)(new tn);class ln{constructor(){this.lenses=[],this._disposables=new pe.b}dispose(){this._disposables.dispose()}add(e,t){this._disposables.add(e);for(const n of e.lenses)this.lenses.push({symbol:n,provider:t})}}function cn(e,t){const n=et.b.ordered(e),i=new Map,o=new ln,r=n.map((n,r)=>(i.set(n,r),Promise.resolve(n.provideCodeLenses(e,t)).then(e=>e&&o.add(e,n)).catch(Z.f)));return Promise.all(r).then(()=>(o.lenses=Object(G.p)(o.lenses,(e,t)=>e.symbol.range.startLineNumber<t.symbol.range.startLineNumber?-1:e.symbol.range.startLineNumber>t.symbol.range.startLineNumber?1:i.get(e.provider)<i.get(t.provider)?-1:i.get(e.provider)>i.get(t.provider)?1:e.symbol.range.startColumn<t.symbol.range.startColumn?-1:e.symbol.range.startColumn>t.symbol.range.startColumn?1:0),o))}Object(V.o)("_executeCodeLensProvider",(function(e,t){let{resource:n,itemResolveCount:i}=t;if(!(n instanceof Qe.a))throw Object(Z.b)();const o=e.get(tt.a).getModel(n);if(!o)throw Object(Z.b)();const r=[],s=new pe.b;return cn(o,Xe.a.None).then(e=>{s.add(e);let t=[];for(const n of e.lenses)void 0===i||Boolean(n.symbol.command)?r.push(n.symbol):i-- >0&&n.provider.resolveCodeLens&&t.push(Promise.resolve(n.provider.resolveCodeLens(o,n.symbol,Xe.a.None)).then(e=>r.push(e||n.symbol)));return Promise.all(t)}).then(()=>r).finally(()=>{setTimeout(()=>s.dispose(),100)})}));n(289);class dn{constructor(e,t){this.afterLineNumber=e,this._onHeight=t,this.heightInLines=1,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}}class hn{constructor(e,t,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+hn._idPool++,this.updatePosition(n),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration "+t}withCommands(e,t){this._commands.clear();let n="",i=!1;for(let t=0;t<e.length;t++){const o=e[t];if(o&&(i=!0,o.command)){const i=Object(Y.f)(Object(Ye.u)(o.command.title));o.command.id?(n+=`<a id=${t}>${i}</a>`,this._commands.set(String(t),o.command)):n+=`<span>${i}</span>`,t+1<e.length&&(n+="<span> | </span>")}}i?(n||(n=" "),this._domNode.innerHTML=n,this._isEmpty&&t&&this._domNode.classList.add("fadein"),this._isEmpty=!1):this._domNode.innerHTML="<span>no commands</span>"}getCommand(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(e){const t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}}getPosition(){return this._widgetPosition||null}}hn._idPool=0;class un{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)}removeDecoration(e){this._removeDecorations.push(e)}commit(e){let t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let e=0,n=t.length;e<n;e++)this._addDecorationsCallbacks[e](t[e])}}class pn{constructor(e,t,n,i,o,r){let s;this._isDisposed=!1,this._editor=t,this._className=n,this._data=e,this._decorationIds=[];let a=[];this._data.forEach((e,t)=>{e.symbol.command&&a.push(e.symbol),i.addDecoration({range:e.symbol.range,options:be.a.EMPTY},e=>this._decorationIds[t]=e),s=s?ge.a.plusRange(s,e.symbol.range):ge.a.lift(e.symbol.range)}),this._viewZone=new dn(s.startLineNumber-1,r),this._viewZoneId=o.addZone(this._viewZone),a.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(a,!1))}_createContentWidgetIfNecessary(){this._contentWidget||(this._contentWidget=new hn(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t&&t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{const n=this._editor.getModel().getDecorationRange(e),i=this._data[t].symbol;return!(!n||ge.a.isEmpty(i.range)!==n.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,n)=>{t.addDecoration({range:e.symbol.range,options:be.a.EMPTY},e=>this._decorationIds[n]=e)})}computeIfNecessary(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let t=0;t<this._decorationIds.length;t++){const n=e.getDecorationRange(this._decorationIds[t]);n&&(this._data[t].symbol.range=n)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){const n=e[t];if(n){const{symbol:e}=this._data[t];e.command=n.command||e.command}}}getCommand(e){var t;return null===(t=this._contentWidget)||void 0===t?void 0:t.getCommand(e)}getLineNumber(){const e=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return e?e.startLineNumber:-1}update(e){if(this.isValid()){const t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);t&&(this._viewZone.afterLineNumber=t.startLineNumber-1,e.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(t.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}getItems(){return this._data}}Object(we.g)((e,t)=>{const n=e.getColor(_e.e);n&&(t.addRule(`.monaco-editor .codelens-decoration { color: ${n}; }`),t.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${n}; }`));const i=e.getColor(ve.r);i&&(t.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${i} !important; }`),t.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${i} !important; }`))});var mn=n(115),gn=n(78),fn=n(97),bn=n(133),_n=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},vn=function(e,t){return function(n,i){t(n,i,e)}};const wn=Object(gt.c)("ICodeLensCache");class yn{constructor(e,t){this.lineCount=e,this.data=t}}let Cn=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new gn.a(20,.75);Object(ue.k)(()=>e.remove("codelens/cache",1));const t="codelens/cache2",n=e.get(t,1,"{}");this._deserialize(n),Object(bn.a)(e.onWillSaveState)(n=>{n.reason===fn.c.SHUTDOWN&&e.store(t,this._serialize(),1)})}put(e,t){const n=t.lenses.map(e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}}),i=new ln;i.add({lenses:n,dispose:()=>{}},this._fakeProvider);const o=new yn(e.getLineCount(),i);this._cache.set(e.uri.toString(),o)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,n]of this._cache){const i=new Set;for(const e of n.data.lenses)i.add(e.symbol.range.startLineNumber);e[t]={lineCount:n.lineCount,lines:[...i.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const e in t){const n=t[e],i=[];for(const e of n.lines)i.push({range:new ge.a(e,1,e,11)});const o=new ln;o.add({lenses:i,dispose(){}},this._fakeProvider),this._cache.set(e,new yn(n.lineCount,o))}}catch(e){}}};Cn=_n([vn(0,fn.a)],Cn),Object(mn.b)(wn,Cn);var xn=n(89),Sn=n(110),kn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},En=function(e,t){return function(n,i){t(n,i,e)}},Tn=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Ln=class{constructor(e,t,n,i){this._editor=e,this._commandService=t,this._notificationService=n,this._codeLensCache=i,this._globalToDispose=new pe.b,this._localToDispose=new pe.b,this._lenses=[],this._oldCodeLensModels=new pe.b,this._modelChangeCounter=0,this._isEnabled=this._editor.getOption(11),this._globalToDispose.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeConfiguration(()=>{const e=this._isEnabled;this._isEnabled=this._editor.getOption(11),e!==this._isEnabled&&this._onModelChange()})),this._globalToDispose.add(et.b.onDidChange(this._onModelChange,this)),this._globalToDispose.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this._updateLensStyle()})),this._onModelChange(),this._styleClassName="_"+Object(xn.b)(this._editor.getId()).toString(16),this._styleElement=ft.v(ft.O(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){this._localDispose(),this._globalToDispose.dispose(),this._oldCodeLensModels.dispose(),Object(pe.f)(this._currentCodeLensModel)}_updateLensStyle(){const e=this._editor.getOptions(),t=e.get(36),n=e.get(51),i=Math.round(1.1*n),o=Math.round(.9*t.fontSize),r=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { height: ${i}px; line-height: ${n}px; font-size: ${o}px; padding-right: ${Math.round(.45*t.fontSize)}px;}\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} > a > .codicon { line-height: ${n}px; font-size: ${o}px; }\n\t\t`;this._styleElement.textContent=r}_localDispose(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=void 0,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0),this._localToDispose.clear(),this._oldCodeLensModels.clear(),Object(pe.f)(this._currentCodeLensModel)}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e)return;if(!this._isEnabled)return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!et.b.has(e))return void(t&&this._localToDispose.add(Object(ue.g)(()=>{const n=this._codeLensCache.get(e);t===n&&(this._codeLensCache.delete(e),this._onModelChange())},3e4)));for(const t of et.b.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange(()=>i.schedule());this._localToDispose.add(e)}const n=this._detectVisibleLenses=new ue.d(()=>this._onViewportChanged(),250),i=new ue.d(()=>{const t=++this._modelChangeCounter;this._currentFindCodeLensSymbolsPromise&&this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=Object(ue.f)(t=>cn(e,t)),this._currentFindCodeLensSymbolsPromise.then(i=>{t===this._modelChangeCounter&&(this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=i,this._codeLensCache.put(e,i),this._renderCodeLensSymbols(i),n.schedule())},Z.e)},250);this._localToDispose.add(i),this._localToDispose.add(n),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let n=[],i=-1;this._lenses.forEach(e=>{e.isValid()&&i!==e.getLineNumber()?(e.update(t),i=e.getLineNumber()):n.push(e)});let o=new un;n.forEach(e=>{e.dispose(o,t),this._lenses.splice(this._lenses.indexOf(e),1)}),o.commit(e)})}),n.schedule(),i.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&this._lenses.length>0&&n.schedule()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{n.schedule()})),this._localToDispose.add(Object(pe.h)(()=>{if(this._editor.getModel()){const e=Je.c.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseUp(e=>{if(9!==e.target.type)return;let t=e.target.element;if("SPAN"===(null==t?void 0:t.tagName)&&(t=t.parentElement),"A"===(null==t?void 0:t.tagName))for(const e of this._lenses){let n=e.getCommand(t);if(n){this._commandService.executeCommand(n.id,...n.arguments||[]).catch(e=>this._notificationService.error(e));break}}})),i.schedule()}_disposeAllLenses(e,t){const n=new un;for(const e of this._lenses)e.dispose(n,t);e&&n.commit(e),this._lenses=[]}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;let t,n=this._editor.getModel().getLineCount(),i=[];for(let o of e.lenses){let e=o.symbol.range.startLineNumber;e<1||e>n||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(o):(t=[o],i.push(t)))}const o=Je.c.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{const n=new un;let o=0,r=0;for(;r<i.length&&o<this._lenses.length;){let e=i[r][0].symbol.range.startLineNumber,s=this._lenses[o].getLineNumber();s<e?(this._lenses[o].dispose(n,t),this._lenses.splice(o,1)):s===e?(this._lenses[o].updateCodeLensSymbols(i[r],n),r++,o++):(this._lenses.splice(o,0,new pn(i[r],this._editor,this._styleClassName,n,t,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),o++,r++)}for(;o<this._lenses.length;)this._lenses[o].dispose(n,t),this._lenses.splice(o,1);for(;r<i.length;)this._lenses.push(new pn(i[r],this._editor,this._styleClassName,n,t,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),r++;n.commit(e)})}),o.restore(this._editor)}_onViewportChanged(){this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0);const e=this._editor.getModel();if(!e)return;const t=[],n=[];if(this._lenses.forEach(i=>{const o=i.computeIfNecessary(e);o&&(t.push(o),n.push(i))}),0===t.length)return;const i=Object(ue.f)(i=>{const o=t.map((t,o)=>{const r=new Array(t.length),s=t.map((t,n)=>t.symbol.command||"function"!=typeof t.provider.resolveCodeLens?(r[n]=t.symbol,Promise.resolve(void 0)):Promise.resolve(t.provider.resolveCodeLens(e,t.symbol,i)).then(e=>{r[n]=e},Z.f));return Promise.all(s).then(()=>{i.isCancellationRequested||n[o].isDisposed()||n[o].updateCommands(r)})});return Promise.all(o)});this._currentResolveCodeLensSymbolsPromise=i,this._currentResolveCodeLensSymbolsPromise.then(()=>{this._currentCodeLensModel&&this._codeLensCache.put(e,this._currentCodeLensModel),this._oldCodeLensModels.clear(),i===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)},e=>{Object(Z.e)(e),i===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)})}getLenses(){return this._lenses}};Ln.ID="css.editor.codeLens",Ln=kn([En(1,Ft.b),En(2,zt.a),En(3,wn)],Ln),Object(V.m)(Ln.ID,Ln),Object(V.k)(class extends V.b{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:H.a.hasCodeLensProvider,label:Object(U.a)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){return Tn(this,void 0,void 0,(function*(){if(!t.hasModel())return;const n=e.get(Sn.a),i=e.get(Ft.b),o=e.get(zt.a),r=t.getSelection().positionLineNumber,s=t.getContribution(Ln.ID),a=[];for(let e of s.getLenses())if(e.getLineNumber()===r)for(let t of e.getItems()){const{command:e}=t.symbol;e&&a.push({label:e.title,command:e})}if(0===a.length)return;const l=yield n.pick(a,{canPickMany:!1});if(l)try{yield i.executeCommand(l.command.id,...l.command.arguments||[])}catch(e){o.error(e)}}))}});var Nn=n(16);function In(e,t,n,i){return Promise.resolve(n.provideColorPresentations(e,t,i))}Object(V.o)("_executeDocumentColorProvider",(function(e,t){const{resource:n}=t;if(!(n instanceof Qe.a))throw Object(Z.b)();const i=e.get(tt.a).getModel(n);if(!i)throw Object(Z.b)();const o=[],r=et.c.ordered(i).reverse().map(e=>Promise.resolve(e.provideDocumentColors(i,Xe.a.None)).then(e=>{if(Array.isArray(e))for(let t of e)o.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})}));return Promise.all(r).then(()=>o)})),Object(V.o)("_executeColorPresentationProvider",(function(e,t){const{resource:n,color:i,range:o}=t;if(!(n instanceof Qe.a&&Array.isArray(i)&&4===i.length&&ge.a.isIRange(o)))throw Object(Z.b)();const[r,s,a,l]=i,c=e.get(tt.a).getModel(n);if(!c)throw Object(Z.b)();const d={range:o,color:{red:r,green:s,blue:a,alpha:l}},h=[],u=et.c.ordered(c).reverse().map(e=>Promise.resolve(e.provideColorPresentations(c,d,Xe.a.None)).then(e=>{Array.isArray(e)&&h.push(...e)}));return Promise.all(u).then(()=>h)}));var On=n(54),Dn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},An=function(e,t){return function(n,i){t(n,i,e)}};let Rn=class e extends pe.a{constructor(e,t,n){super(),this._editor=e,this._codeEditorService=t,this._configurationService=n,this._localToDispose=this._register(new pe.b),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=[],this._decorationsTypes=new Set,this._register(e.onDidChangeModel(e=>{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(e.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(et.c.onDidChange(e=>this.onModelChanged())),this._register(e.onDidChangeConfiguration(e=>{let t=this._isEnabled;this._isEnabled=this.isEnabled(),t!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageIdentifier(),n=this._configurationService.getValue(t.language);if(n){const e=n.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(12)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;const t=this._editor.getModel();t&&et.c.has(t)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(t=>{this._timeoutTimer||(this._timeoutTimer=new ue.e,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},e.RECOMPUTE_TIME))})),this.beginCompute())}beginCompute(){this._computePromise=Object(ue.f)(e=>{const t=this._editor.getModel();return t?function(e,t){const n=[],i=et.c.ordered(e).reverse().map(i=>Promise.resolve(i.provideDocumentColors(e,t)).then(e=>{if(Array.isArray(e))for(let t of e)n.push({colorInfo:t,provider:i})}));return Promise.all(i).then(()=>n)}(t,e):Promise.resolve([])}),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},Z.e)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:be.a.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,n)=>this._colorDatas.set(t,e[n]))}updateColorDecorators(e){let t=[],n={};for(let i=0;i<e.length&&t.length<500;i++){const{red:o,green:r,blue:s,alpha:a}=e[i].colorInfo.color,l=new Nn.c(Math.round(255*o),Math.round(255*r),Math.round(255*s),a);let c=Object(xn.b)(`rgba(${l.r},${l.g},${l.b},${l.a})`).toString(16),d=`rgba(${l.r}, ${l.g}, ${l.b}, ${l.a})`,h="colorBox-"+c;this._decorationsTypes.has(h)||n[h]||this._codeEditorService.registerDecorationType(h,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:d},dark:{before:{border:"solid 0.1em #eee"}}},void 0,this._editor),n[h]=!0,t.push({range:{startLineNumber:e[i].colorInfo.range.startLineNumber,startColumn:e[i].colorInfo.range.startColumn,endLineNumber:e[i].colorInfo.range.endLineNumber,endColumn:e[i].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(h,!0)})}this._decorationsTypes.forEach(e=>{n[e]||this._codeEditorService.removeDecorationType(e)}),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,t)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach(e=>{this._codeEditorService.removeDecorationType(e)})}getColorData(e){const t=this._editor.getModel();if(!t)return null;const n=t.getDecorationsInRange(ge.a.fromPositions(e,e)).filter(e=>this._colorDatas.has(e.id));return 0===n.length?null:this._colorDatas.get(n[0].id)}};Rn.ID="editor.contrib.colorDetector",Rn.RECOMPUTE_TIME=1e3,Rn=Dn([An(1,Me.a),An(2,On.a)],Rn),Object(V.m)(Rn.ID,Rn);var Mn=n(70),Pn=n(39);class Fn{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,n){if(n<0)return!1;const i=t.length;if(n+i>e.length)return!1;for(let o=0;o<i;o++){const i=e.charCodeAt(n+o),r=t.charCodeAt(o);if(i!==r&&!(i>=65&&i<=90&&i+32===r||r>=65&&r<=90&&r+32===i))return!1}return!0}_createOperationsForBlockComment(e,t,n,i,o,r){const s=e.startLineNumber,a=e.startColumn,l=e.endLineNumber,c=e.endColumn,d=o.getLineContent(s),h=o.getLineContent(l);let u,p=d.lastIndexOf(t,a-1+t.length),m=h.indexOf(n,c-1-n.length);if(-1!==p&&-1!==m)if(s===l){d.substring(p+t.length,m).indexOf(n)>=0&&(p=-1,m=-1)}else{const e=d.substring(p+t.length),i=h.substring(0,m);(e.indexOf(n)>=0||i.indexOf(n)>=0)&&(p=-1,m=-1)}-1!==p&&-1!==m?(i&&p+t.length<d.length&&32===d.charCodeAt(p+t.length)&&(t+=" "),i&&m>0&&32===h.charCodeAt(m-1)&&(n=" "+n,m-=1),u=Fn._createRemoveBlockCommentOperations(new ge.a(s,p+t.length+1,l,m+1),t,n)):(u=Fn._createAddBlockCommentOperations(e,t,n,this._insertSpace),this._usedEndToken=1===u.length?n:null);for(const e of u)r.addTrackedEditOperation(e.range,e.text)}static _createRemoveBlockCommentOperations(e,t,n){let i=[];return ge.a.isEmpty(e)?i.push(Mn.a.delete(new ge.a(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+n.length))):(i.push(Mn.a.delete(new ge.a(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),i.push(Mn.a.delete(new ge.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+n.length)))),i}static _createAddBlockCommentOperations(e,t,n,i){let o=[];return ge.a.isEmpty(e)?o.push(Mn.a.replace(new ge.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+n)):(o.push(Mn.a.insert(new me.a(e.startLineNumber,e.startColumn),t+(i?" ":""))),o.push(Mn.a.insert(new me.a(e.endLineNumber,e.endColumn),(i?" ":"")+n))),o}getEditOperations(e,t){const n=this._selection.startLineNumber,i=this._selection.startColumn;e.tokenizeIfCheap(n);const o=e.getLanguageIdAtPosition(n,i),r=Pn.a.getComments(o);r&&r.blockCommentStartToken&&r.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,r.blockCommentStartToken,r.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const n=t.getInverseEditOperations();if(2===n.length){const e=n[0],t=n[1];return new q.a(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{const e=n[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new q.a(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}class Wn{constructor(e,t,n,i,o){this._selection=e,this._tabSize=t,this._type=n,this._insertSpace=i,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=o}static _gatherPreflightCommentStrings(e,t,n){e.tokenizeIfCheap(t);const i=e.getLanguageIdAtPosition(t,1),o=Pn.a.getComments(i),r=o?o.lineCommentToken:null;if(!r)return null;let s=[];for(let e=0,i=n-t+1;e<i;e++)s[e]={ignore:!1,commentStr:r,commentStrOffset:0,commentStrLength:r.length};return s}static _analyzeLines(e,t,n,i,o,r){let s,a=!0;s=0===e||1!==e;for(let l=0,c=i.length;l<c;l++){const c=i[l],d=o+l,h=n.getLineContent(d),u=Ye.w(h);if(-1!==u){if(a=!1,c.ignore=!1,c.commentStrOffset=u,s&&!Fn._haystackHasNeedleAtOffset(h,c.commentStr,u)&&(0===e?s=!1:1===e||(c.ignore=!0)),s&&t){const e=u+c.commentStrLength;e<h.length&&32===h.charCodeAt(e)&&(c.commentStrLength+=1)}}else c.ignore=r,c.commentStrOffset=h.length}if(0===e&&a){s=!1;for(let e=0,t=i.length;e<t;e++)i[e].ignore=!1}return{supported:!0,shouldRemoveComments:s,lines:i}}static _gatherPreflightData(e,t,n,i,o,r){const s=Wn._gatherPreflightCommentStrings(n,i,o);return null===s?{supported:!1}:Wn._analyzeLines(e,t,n,s,i,r)}_executeLineComments(e,t,n,i){let o;n.shouldRemoveComments?o=Wn._createRemoveLineCommentsOperations(n.lines,i.startLineNumber):(Wn._normalizeInsertionPoint(e,n.lines,i.startLineNumber,this._tabSize),o=this._createAddLineCommentsOperations(n.lines,i.startLineNumber));const r=new me.a(i.positionLineNumber,i.positionColumn);for(let n=0,i=o.length;n<i;n++)if(t.addEditOperation(o[n].range,o[n].text),ge.a.isEmpty(o[n].range)&&ge.a.getStartPosition(o[n].range).equals(r)){e.getLineContent(r.lineNumber).length+1===r.column&&(this._deltaColumn=(o[n].text||"").length)}this._selectionId=t.trackSelection(i)}_attemptRemoveBlockComment(e,t,n,i){let o=t.startLineNumber,r=t.endLineNumber,s=i.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),a=e.getLineContent(o).lastIndexOf(n,s-1),l=e.getLineContent(r).indexOf(i,t.endColumn-1-n.length);return-1!==a&&-1===l&&(l=e.getLineContent(o).indexOf(i,a+n.length),r=o),-1===a&&-1!==l&&(a=e.getLineContent(r).lastIndexOf(n,l),o=r),!t.isEmpty()||-1!==a&&-1!==l||(a=e.getLineContent(o).indexOf(n),-1!==a&&(l=e.getLineContent(o).indexOf(i,a+n.length))),-1!==a&&32===e.getLineContent(o).charCodeAt(a+n.length)&&(n+=" "),-1!==l&&32===e.getLineContent(r).charCodeAt(l-1)&&(i=" "+i,l-=1),-1!==a&&-1!==l?Fn._createRemoveBlockCommentOperations(new ge.a(o,a+n.length+1,r,l+1),n,i):null}_executeBlockComment(e,t,n){e.tokenizeIfCheap(n.startLineNumber);let i=e.getLanguageIdAtPosition(n.startLineNumber,1),o=Pn.a.getComments(i);if(!o||!o.blockCommentStartToken||!o.blockCommentEndToken)return;const r=o.blockCommentStartToken,s=o.blockCommentEndToken;let a=this._attemptRemoveBlockComment(e,n,r,s);if(!a){if(n.isEmpty()){const t=e.getLineContent(n.startLineNumber);let i=Ye.w(t);-1===i&&(i=t.length),a=Fn._createAddBlockCommentOperations(new ge.a(n.startLineNumber,i+1,n.startLineNumber,t.length+1),r,s,this._insertSpace)}else a=Fn._createAddBlockCommentOperations(new ge.a(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),r,s,this._insertSpace);1===a.length&&(this._deltaColumn=r.length+1)}this._selectionId=t.trackSelection(n);for(const e of a)t.addEditOperation(e.range,e.text)}getEditOperations(e,t){let n=this._selection;this._moveEndPositionDown=!1,n.startLineNumber<n.endLineNumber&&1===n.endColumn&&(this._moveEndPositionDown=!0,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));const i=Wn._gatherPreflightData(this._type,this._insertSpace,e,n.startLineNumber,n.endLineNumber,this._ignoreEmptyLines);return i.supported?this._executeLineComments(e,t,i,n):this._executeBlockComment(e,t,n)}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new q.a(n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){let n=[];for(let i=0,o=e.length;i<o;i++){const o=e[i];o.ignore||n.push(Mn.a.delete(new ge.a(t+i,o.commentStrOffset+1,t+i,o.commentStrOffset+o.commentStrLength+1)))}return n}_createAddLineCommentsOperations(e,t){let n=[];const i=this._insertSpace?" ":"";for(let o=0,r=e.length;o<r;o++){const r=e[o];r.ignore||n.push(Mn.a.insert(new me.a(t+o,r.commentStrOffset+1),r.commentStr+i))}return n}static nextVisibleColumn(e,t,n,i){return n?e+(t-e%t):e+i}static _normalizeInsertionPoint(e,t,n,i){let o,r,s=1073741824;for(let o=0,r=t.length;o<r;o++){if(t[o].ignore)continue;const r=e.getLineContent(n+o);let a=0;for(let e=0,n=t[o].commentStrOffset;a<s&&e<n;e++)a=Wn.nextVisibleColumn(a,i,9===r.charCodeAt(e),1);a<s&&(s=a)}s=Math.floor(s/i)*i;for(let a=0,l=t.length;a<l;a++){if(t[a].ignore)continue;const l=e.getLineContent(n+a);let c=0;for(o=0,r=t[a].commentStrOffset;c<s&&o<r;o++)c=Wn.nextVisibleColumn(c,i,9===l.charCodeAt(o),1);t[a].commentStrOffset=c>s?o-1:o}}}class zn extends V.b{constructor(e,t){super(t),this._type=e}run(e,t){if(!t.hasModel())return;const n=t.getModel(),i=[],o=t.getSelections(),r=n.getOptions(),s=t.getOption(14);for(const e of o)i.push(new Wn(e,r.tabSize,this._type,s.insertSpace,s.ignoreEmptyLines));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Bn extends V.b{constructor(){super({id:"editor.action.blockComment",label:U.a("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"5_insert",title:U.a({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){if(!t.hasModel())return;const n=t.getOption(14),i=[],o=t.getSelections();for(const e of o)i.push(new Fn(e,n.insertSpace));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}Object(V.k)(class extends zn{constructor(){super(0,{id:"editor.action.commentLine",label:U.a("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"5_insert",title:U.a({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),Object(V.k)(class extends zn{constructor(){super(1,{id:"editor.action.addCommentLine",label:U.a("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2081),weight:100}})}}),Object(V.k)(class extends zn{constructor(){super(2,{id:"editor.action.removeCommentLine",label:U.a("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2099),weight:100}})}}),Object(V.k)(Bn);var jn=n(123),Vn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Un=function(e,t){return function(n,i){t(n,i,e)}};let Hn=class e{constructor(e,t,n,i,o,r){this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=i,this._keybindingService=o,this._menuService=r,this._toDispose=new pe.b,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(e=>this._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{if(this._contextMenuIsBeingShownCount>0){const t=this._contextViewService.getContextViewElement(),n=e.srcElement;n.shadowRoot&&ft.E(t)===n.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(e=>{58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(15))return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(12===e.target.type)return;if(e.event.preventDefault(),6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(const n of this._editor.getSelections())if(n.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(15))return;if(!this._editor.hasModel())return;if(!this._contextMenuService)return void this._editor.focus();const t=this._getMenuActions(this._editor.getModel(),ye.b.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const n=[],i=this._menuService.createMenu(t,this._contextKeyService),o=i.getActions({arg:e.uri});i.dispose();for(let t of o){const[,i]=t;let o=0;for(const t of i)if(t instanceof ye.e){const i=this._getMenuActions(e,t.item.submenu);i.length>0&&(n.push(new bt.d(t.id,t.label,i)),o++)}else n.push(t),o++;o&&n.push(new bt.c)}return n.length&&n.pop(),n}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const n=this._editor.getOption(46);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),n=ft.C(this._editor.getDomNode()),i=n.left+e.left,o=n.top+e.top+e.height;t={x:i,y:o}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{const t=this._keybindingFor(e);if(t)return new jn.a(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});const n=e;return"function"==typeof n.getActionViewItem?n.getActionViewItem():new jn.a(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:n})}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Hn.ID="editor.contrib.contextmenu",Hn=Vn([Un(1,_t.a),Un(2,_t.b),Un(3,K.b),Un(4,vt.a),Un(5,ye.a)],Hn);class qn extends V.b{constructor(){super({id:"editor.action.showContextMenu",label:U.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:1092,weight:100}})}run(e,t){Hn.get(t).showContextMenu()}}Object(V.m)(Hn.ID,Hn),Object(V.k)(qn);class $n{constructor(e){this.selections=e}equals(e){const t=this.selections.length;if(t!==e.selections.length)return!1;for(let n=0;n<t;n++)if(!this.selections[n].equalsSelection(e.selections[n]))return!1;return!0}}class Kn{constructor(e,t,n){this.cursorState=e,this.scrollTop=t,this.scrollLeft=n}}class Gn extends pe.a{constructor(e){super(),this._editor=e,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(e.onDidChangeModel(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo)return;if(!t.oldSelections)return;if(t.oldModelVersionId!==t.modelVersionId)return;const n=new $n(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(n)||(this._undoStack.push(new Kn(n,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}static get(e){return e.getContribution(Gn.ID)}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new Kn(new $n(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new Kn(new $n(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}Gn.ID="editor.contrib.cursorUndoRedoController";class Yn extends V.b{constructor(){super({id:"cursorUndo",label:U.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:2099,weight:100}})}run(e,t,n){Gn.get(t).cursorUndo()}}class Zn extends V.b{constructor(){super({id:"cursorRedo",label:U.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,n){Gn.get(t).cursorRedo()}}Object(V.m)(Gn.ID,Gn),Object(V.k)(Yn),Object(V.k)(Zn);n(291);class Xn{constructor(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}getEditOperations(e,t){let n=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new ge.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new q.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new q.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber<this.selection.endLineNumber?this.targetSelection=new q.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new q.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,(this.selection.startLineNumber,this.selection.endLineNumber,this.targetPosition.column-this.selection.endColumn+this.selection.startColumn),this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new q.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn):this.targetSelection=this.selection}computeCursorState(e,t){return this.targetSelection}}function Qn(e){return Ae.f?e.altKey:e.ctrlKey}class Jn extends pe.a{constructor(e){super(),this._editor=e,this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(25)&&!this._editor.getOption(13)&&(Qn(e)&&(this._modifierPressed=!0),this._mouseDown&&Qn(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(25)&&!this._editor.getOption(13)&&(Qn(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===Jn.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=(this._editor.getSelections()||[]).filter(e=>t.position&&e.containsPosition(t.position));if(1!==e.length)return;this._dragSelection=e[0]}Qn(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new me.a(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let n=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){const{selectionStartLineNumber:i,selectionStartColumn:o}=e;n=[new q.a(i,o,t.lineNumber,t.column)]}}else n=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new q.a(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(n||[],"mouse")}else(!this._dragSelection.containsPosition(t)||(Qn(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(Jn.ID,new Xn(this._dragSelection,t,Qn(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){let t=[{range:new ge.a(e.lineNumber,e.column,e.lineNumber,e.column),options:Jn._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}Jn.ID="editor.contrib.dragAndDrop",Jn.TRIGGER_KEY_VALUE=Ae.f?6:5,Jn._DECORATION_OPTIONS=be.a.register({className:"dnd-target"}),Object(V.m)(Jn.ID,Jn);var ei=n(106);class ti{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){let t=this._editor.getModel().getDecorationsInRange(e);for(const e of t){const t=e.options;if(t===ti._FIND_MATCH_DECORATION||t===ti._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(e.id)}return 0}setCurrentFindMatch(e){let t=null,n=0;if(e)for(let i=0,o=this._decorations.length;i<o;i++){let o=this._editor.getModel().getDecorationRange(this._decorations[i]);if(e.equalsRange(o)){t=this._decorations[i],n=i+1;break}}return null===this._highlightedDecorationId&&null===t||this._editor.changeDecorations(e=>{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,ti._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,ti._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let n=this._editor.getModel().getDecorationRange(t);if(n.startLineNumber!==n.endLineNumber&&1===n.endColumn){let e=n.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);n=new ge.a(n.startLineNumber,n.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(n,ti._RANGE_HIGHLIGHT_DECORATION)}}),n}set(e,t){this._editor.changeDecorations(n=>{let i=ti._FIND_MATCH_DECORATION,o=[];if(e.length>1e3){i=ti._FIND_MATCH_NO_OVERVIEW_DECORATION;const t=this._editor.getModel().getLineCount(),n=this._editor.getLayoutInfo().height/t,r=Math.max(2,Math.ceil(3/n));let s=e[0].range.startLineNumber,a=e[0].range.endLineNumber;for(let t=1,n=e.length;t<n;t++){const n=e[t].range;a+r>=n.startLineNumber?n.endLineNumber>a&&(a=n.endLineNumber):(o.push({range:new ge.a(s,1,a,1),options:ti._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),s=n.startLineNumber,a=n.endLineNumber)}o.push({range:new ge.a(s,1,a,1),options:ti._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let r=new Array(e.length);for(let t=0,n=e.length;t<n;t++)r[t]={range:e[t].range,options:i};this._decorations=n.deltaDecorations(this._decorations,r),this._overviewRulerApproximateDecorations=n.deltaDecorations(this._overviewRulerApproximateDecorations,o),this._rangeHighlightDecorationId&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach(e=>n.removeDecoration(e)),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map(e=>n.addDecoration(e,ti._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,n=this._decorations.length;t<n;t++){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.startLineNumber<e.lineNumber)){if(i.startLineNumber>e.lineNumber)return i;if(!(i.startColumn<e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}ti._CURRENT_FIND_MATCH_DECORATION=be.a.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(we.h)(ve.Vb),position:fe.d.Center},minimap:{color:Object(we.h)(ve.Ob),position:fe.c.Inline}}),ti._FIND_MATCH_DECORATION=be.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(we.h)(ve.Vb),position:fe.d.Center},minimap:{color:Object(we.h)(ve.Ob),position:fe.c.Inline}}),ti._FIND_MATCH_NO_OVERVIEW_DECORATION=be.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),ti._FIND_MATCH_ONLY_OVERVIEW_DECORATION=be.a.register({stickiness:1,overviewRuler:{color:Object(we.h)(ve.Vb),position:fe.d.Center}}),ti._RANGE_HIGHLIGHT_DECORATION=be.a.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),ti._FIND_SCOPE_DECORATION=be.a.register({className:"findScope",isWholeLine:!0});class ni{constructor(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){let e=[];for(let t=0;t<this._ranges.length;t++)e.push({range:this._ranges[t],text:this._replaceStrings[t]});e.sort((e,t)=>ge.a.compareRangesUsingStarts(e.range,t.range));let n=[],i=e[0];for(let t=1;t<e.length;t++)i.range.endLineNumber===e[t].range.startLineNumber&&i.range.endColumn===e[t].range.startColumn?(i.range=i.range.plusRange(e[t].range),i.text=i.text+e[t].text):(n.push(i),i=e[t]);n.push(i);for(const e of n)t.addEditOperation(e.range,e.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}function ii(e,t){if(e&&""!==e[0]){const n=oi(e,t,"-"),i=oi(e,t,"_");return n&&!i?ri(e,t,"-"):!n&&i?ri(e,t,"_"):e[0].toUpperCase()===e[0]?t.toUpperCase():e[0].toLowerCase()===e[0]?t.toLowerCase():Ye.o(e[0][0])&&t.length>0?t[0].toUpperCase()+t.substr(1):t}return t}function oi(e,t,n){return-1!==e[0].indexOf(n)&&-1!==t.indexOf(n)&&e[0].split(n).length===t.split(n).length}function ri(e,t,n){const i=t.split(n),o=e[0].split(n);let r="";return i.forEach((e,t)=>{r+=ii([o[t]],e)+n}),r.slice(0,-1)}class si{constructor(e){this.staticValue=e,this.kind=0}}class ai{constructor(e){this.pieces=e,this.kind=1}}class li{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new si(e[0].staticValue):this._state=new ai(e):this._state=new si("")}static fromStaticValue(e){return new li([ci.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?ii(e,this._state.staticValue):this._state.staticValue;let n="";for(let t=0,i=this._state.pieces.length;t<i;t++){let i=this._state.pieces[t];if(null!==i.staticValue){n+=i.staticValue;continue}let o=li._substitute(i.matchIndex,e);if(null!==i.caseOps&&i.caseOps.length>0){let e=[],t=i.caseOps.length,n=0;for(let r=0,s=o.length;r<s;r++){if(n>=t){e.push(o.slice(r));break}switch(i.caseOps[n]){case"U":e.push(o[r].toUpperCase());break;case"u":e.push(o[r].toUpperCase()),n++;break;case"L":e.push(o[r].toLowerCase());break;case"l":e.push(o[r].toLowerCase()),n++;break;default:e.push(o[r])}}o=e.join("")}n+=o}return n}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let n="";for(;e>0;){if(e<t.length){return(t[e]||"")+n}n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n}}class ci{constructor(e,t,n){this.staticValue=e,this.matchIndex=t,n&&0!==n.length?this.caseOps=n.slice(0):this.caseOps=null}static staticValue(e){return new ci(e,-1,null)}static caseOps(e,t){return new ci(null,e,t)}}class di{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){0!==e.length&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,n){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=ci.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=ci.caseOps(e,n),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=ci.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new li(this._result)}}const hi=new K.c("findWidgetVisible",!1),ui=new K.c("findInputFocussed",!1),pi=new K.c("replaceInputFocussed",!1),mi={primary:545,mac:{primary:2593}},gi={primary:565,mac:{primary:2613}},fi={primary:560,mac:{primary:2608}},bi={primary:554,mac:{primary:2602}},_i="actions.find",vi="actions.findWithSelection",wi="editor.action.nextMatchFindAction",yi="editor.action.previousMatchFindAction",Ci="editor.action.nextSelectionMatchFindAction",xi="editor.action.previousSelectionMatchFindAction",Si="editor.action.startFindReplaceAction",ki="closeFindWidget",Ei="toggleFindCaseSensitive",Ti="toggleFindWholeWord",Li="toggleFindRegex",Ni="toggleFindInSelection",Ii="editor.action.replaceOne",Oi="editor.action.replaceAll",Di="editor.action.selectAllMatches";class Ai{constructor(e,t){this._toDispose=new pe.b,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new ue.e,this._decorations=new ti(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new ue.d(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,Object(pe.f)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let n=null;void 0!==t?null!==t&&(n=Array.isArray(t)?t:[t]):n=this._decorations.getFindScopes(),null!==n&&(n=n.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new ge.a(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let i=this._findMatches(n,!1,19999);this._decorations.set(i,n);const o=this._editor.getSelection();let r=this._decorations.getCurrentMatchesPosition(o);if(0===r&&i.length>0){const e=Object(G.h)(i.map(e=>e.range),e=>ge.a.compareRangesUsingStarts(e,o)>=0);r=e>0?e-1+1:r}this._state.changeMatchInfo(r,this._decorations.getCount(),void 0),e&&this._editor.getOption(29).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:i}=e,o=this._editor.getModel();return t||1===i?(1===n?n=o.getLineCount():n--,i=o.getLineMaxColumn(n)):i--,new me.a(n,i)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const t=this._decorations.matchAfterPosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<19999){let t=this._decorations.matchBeforePosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),void(t&&this._setCurrentFindMatch(t))}if(this._cannotFind())return;let n=this._decorations.getFindScope(),i=Ai._getSearchRange(this._editor.getModel(),n);i.getEndPosition().isBefore(e)&&(e=i.getEndPosition()),e.isBefore(i.getStartPosition())&&(e=i.getEndPosition());let{lineNumber:o,column:r}=e,s=this._editor.getModel(),a=new me.a(o,r),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1);return l&&l.range.isEmpty()&&l.range.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1)),l?t||i.containsRange(l.range)?void this._setCurrentFindMatch(l.range):this._moveToPrevMatch(l.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:i}=e,o=this._editor.getModel();return t||i===o.getLineMaxColumn(n)?(n===o.getLineCount()?n=1:n++,i=1):i++,new me.a(n,i)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const t=this._decorations.matchBeforePosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<19999){let t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,n,i=!1){if(this._cannotFind())return null;let o=this._decorations.getFindScope(),r=Ai._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(e)&&(e=r.getStartPosition()),e.isBefore(r.getStartPosition())&&(e=r.getStartPosition());let{lineNumber:s,column:a}=e,l=this._editor.getModel(),c=new me.a(s,a),d=l.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t);return n&&d&&d.range.isEmpty()&&d.range.getStartPosition().equals(c)&&(c=this._nextSearchPosition(c),d=l.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t)),d?i||r.containsRange(d.range)?d:this._getNextMatch(d.range.getEndPosition(),t,n,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new li(null);let t=[],n=new di(e);for(let i=0,o=e.length;i<o;i++){let r=e.charCodeAt(i);if(92!==r){if(36===r){if(i++,i>=o)break;let r=e.charCodeAt(i);if(36===r){n.emitUnchanged(i-1),n.emitStatic("$",i+1);continue}if(48===r||38===r){n.emitUnchanged(i-1),n.emitMatchIndex(0,i+1,t),t.length=0;continue}if(49<=r&&r<=57){let s=r-48;if(i+1<o){let o=e.charCodeAt(i+1);if(48<=o&&o<=57){i++,s=10*s+(o-48),n.emitUnchanged(i-2),n.emitMatchIndex(s,i+1,t),t.length=0;continue}}n.emitUnchanged(i-1),n.emitMatchIndex(s,i+1,t),t.length=0;continue}}}else{if(i++,i>=o)break;let r=e.charCodeAt(i);switch(r){case 92:n.emitUnchanged(i-1),n.emitStatic("\\",i+1);break;case 110:n.emitUnchanged(i-1),n.emitStatic("\n",i+1);break;case 116:n.emitUnchanged(i-1),n.emitStatic("\t",i+1);break;case 117:case 85:case 108:case 76:n.emitUnchanged(i-1),n.emitStatic("",i+1),t.push(String.fromCharCode(r))}}}return n.finalize()}(this._state.replaceString):li.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){let i=e.buildReplaceString(n.matches,this._state.preserveCase),o=new Ne.a(t,i);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new me.a(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}_findMatches(e,t,n){const i=(e||[null]).map(e=>Ai._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,i,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t,n)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const e=new ei.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null).parseSearchRequest();if(!e)return;let t=e.regex;if(!t.multiline){let e="mu";t.ignoreCase&&(e+="i"),t.global&&(e+="g"),t=new RegExp(t.source,e)}const n=this._editor.getModel(),i=n.getValue(1),o=n.getFullModelRange(),r=this._getReplacePattern();let s;const a=this._state.preserveCase;s=r.hasReplacementPatterns||a?i.replace(t,(function(){return r.buildReplaceString(arguments,a)})):i.replace(t,r.buildReplaceString(null,a));let l=new Ne.b(o,s,this._editor.getSelection());this._executeEditorCommand("replaceAll",l)}_regularReplaceAll(e){const t=this._getReplacePattern();let n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[];for(let e=0,o=n.length;e<o;e++)i[e]=t.buildReplaceString(n[e].matches,this._state.preserveCase);let o=new ni(this._editor.getSelection(),n.map(e=>e.range),i);this._executeEditorCommand("replaceAll",o)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824).map(e=>new q.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,i=t.length;e<i;e++){if(t[e].equalsRange(n)){t=[n].concat(t.slice(0,e)).concat(t.slice(e+1));break}}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}n(293);var Ri=n(82);const Mi={inputActiveOptionBorder:Nn.a.fromHex("#007ACC00"),inputActiveOptionForeground:Nn.a.fromHex("#FFFFFF"),inputActiveOptionBackground:Nn.a.fromHex("#0E639C50")};class Pi extends Ri.a{constructor(e){super(),this._onChange=this._register(new Lt.a),this.onChange=this._onChange.event,this._onKeyDown=this._register(new Lt.a),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},Mi),e),this._checked=this._opts.isChecked;const t=["monaco-custom-checkbox"];this._opts.icon?t.push(this._opts.icon.classNames):t.push("codicon"),this._opts.actionClassName&&t.push(this._opts.actionClassName),t.push(this._checked?"checked":"unchecked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.className=t.join(" "),this.domNode.tabIndex=0,this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,e=>{this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault()}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,e=>{if(10===e.keyCode||3===e.keyCode)return this.checked=!this._checked,this._onChange.fire(!0),void e.preventDefault();this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))}disable(){ft.T(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))}}const Fi=U.a("caseDescription","Match Case"),Wi=U.a("wordsDescription","Match Whole Word"),zi=U.a("regexDescription","Use Regular Expression");class Bi extends Pi{constructor(e){super({icon:Y.a.caseSensitive,title:Fi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class ji extends Pi{constructor(e){super({icon:Y.a.wholeWord,title:Wi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Vi extends Pi{constructor(e){super({icon:Y.a.regex,title:zi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Ui extends Ri.a{constructor(e,t,n,i){super(),this._hideSoon=this._register(new ue.d(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=n,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const o=i.getColorTheme().getColor(ve.db),r=i.getColorTheme().getColor(ve.eb),s=i.getColorTheme().getColor(ve.cb);this.caseSensitive=this._register(new Bi({appendTitle:this._keybindingLabelFor(Ei),isChecked:this._state.matchCase,inputActiveOptionBorder:o,inputActiveOptionForeground:r,inputActiveOptionBackground:s})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new ji({appendTitle:this._keybindingLabelFor(Ti),isChecked:this._state.wholeWord,inputActiveOptionBorder:o,inputActiveOptionForeground:r,inputActiveOptionBackground:s})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Vi({appendTitle:this._keybindingLabelFor(Li),isChecked:this._state.isRegex,inputActiveOptionBorder:o,inputActiveOptionForeground:r,inputActiveOptionBackground:s})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(ft.j(this._domNode,e=>this._onMouseOut())),this._register(ft.i(this._domNode,"mouseover",e=>this._onMouseOver())),this._applyTheme(i.getColorTheme()),this._register(i.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Ui.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(ve.db),inputActiveOptionForeground:e.getColor(ve.eb),inputActiveOptionBackground:e.getColor(ve.cb)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}function Hi(e,t){return 1===e||2!==e&&t}Ui.ID="editor.contrib.findOptionsWidget",Object(we.g)((e,t)=>{const n=e.getColor(ve.U);n&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${n}; }`);const i=e.getColor(ve.W);i&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${i}; }`);const o=e.getColor(ve.uc);o&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px ${o}; }`);const r=e.getColor(ve.h);r&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${r}; }`)});class qi extends pe.a{constructor(){super(),this._onFindReplaceStateChange=this._register(new Lt.a),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return Hi(this._isRegexOverride,this._isRegex)}get wholeWord(){return Hi(this._wholeWordOverride,this._wholeWord)}get matchCase(){return Hi(this._matchCaseOverride,this._matchCase)}get preserveCase(){return Hi(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,n){let i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,o=!0),void 0!==n&&(ge.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(i)}change(e,t,n=!0){var i;let o={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},r=!1;const s=this.isRegex,a=this.wholeWord,l=this.matchCase,c=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,r=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,r=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,r=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,r=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0!==e.searchScope&&((null===(i=e.searchScope)||void 0===i?void 0:i.every(e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some(t=>!ge.a.equalsRange(t,e))}))||(this._searchScope=e.searchScope,o.searchScope=!0,r=!0)),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,r=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,s!==this.isRegex&&(r=!0,o.isRegex=!0),a!==this.wholeWord&&(r=!0,o.wholeWord=!0),l!==this.matchCase&&(r=!0,o.matchCase=!0),c!==this.preserveCase&&(r=!0,o.preserveCase=!0),r&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=19999}}n(295);var $i=n(153),Ki=(n(198),n(173));const Gi=U.a("defaultLabel","input");class Yi extends Ri.a{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this._onDidOptionChange=this._register(new Lt.a),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new Lt.a),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new Lt.a),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new Lt.a),this._onKeyUp=this._register(new Lt.a),this._onCaseSensitiveKeyDown=this._register(new Lt.a),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new Lt.a),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||Gi,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const o=i.appendCaseSensitiveLabel||"",r=i.appendWholeWordsLabel||"",s=i.appendRegexLabel||"",a=i.history||[],l=!!i.flexibleHeight,c=!!i.flexibleWidth,d=i.flexibleMaxHeight;this.domNode=document.createElement("div"),ft.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new Ki.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:a,flexibleHeight:l,flexibleWidth:c,flexibleMaxHeight:d})),this.regex=this._register(new Vi({appendTitle:s,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new ji({appendTitle:r,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new Bi({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let h=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=h.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%h.length:e.equals(15)&&(n=0===t?h.length-1:t-1),e.equals(9)?h[t].blur():n>=0&&h[n].focus(),ft.b.stop(e,!0)}}});let u=document.createElement("div");u.className="controls",u.style.display=this._showOptionButtons?"block":"none",u.appendChild(this.caseSensitive.domNode),u.appendChild(this.wholeWords.domNode),u.appendChild(this.regex.domNode),this.domNode.appendChild(u),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){ft.Q(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){ft.e(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){ft.Q(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,ft.e(this.domNode,"highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}var Zi=n(92);const Xi=U.a("defaultLabel","input"),Qi=U.a("label.preserveCaseCheckbox","Preserve Case");class Ji extends Pi{constructor(e){super({icon:Y.a.preserveCase,title:Qi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class eo extends Ri.a{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new Lt.a),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new Lt.a),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new Lt.a),this._onInput=this._register(new Lt.a),this._onKeyUp=this._register(new Lt.a),this._onPreserveCaseKeyDown=this._register(new Lt.a),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||Xi,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const o=i.history||[],r=!!i.flexibleHeight,s=!!i.flexibleWidth,a=i.flexibleMaxHeight;this.domNode=document.createElement("div"),ft.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new Ki.a(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:o,flexibleHeight:r,flexibleWidth:s,flexibleMaxHeight:a})),this.preserveCase=this._register(new Ji({appendTitle:"",isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let l=[this.preserveCase.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=l.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%l.length:e.equals(15)&&(n=0===t?l.length-1:t-1),e.equals(9)?l[t].blur():n>=0&&l[n].focus(),ft.b.stop(e,!0)}}});let c=document.createElement("div");c.className="controls",c.style.display=this._showOptionButtons?"block":"none",c.appendChild(this.preserveCase.domNode),this.domNode.appendChild(c),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){ft.Q(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){ft.e(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var to=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},no=function(e,t){return function(n,i){t(n,i,e)}};function io(e,t){return e.getContext(document.activeElement).getValue(t)}function oo(e,t){const n=function(e,t){return e.createScoped(t.target)}(e,t);!function(e,t,n){new K.c(n,t).bindTo(e)}(n,t,"historyNavigationWidget");return{scopedContextKeyService:n,historyNavigationEnablement:new K.c("historyNavigationEnabled",!0).bindTo(n)}}let ro=class extends Yi{constructor(e,t,n,i,o=!1){super(e,t,o,n),this._register(oo(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};ro=to([no(3,K.b)],ro);let so=class extends eo{constructor(e,t,n,i,o=!1){super(e,t,o,n),this._register(oo(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};so=to([no(3,K.b)],so),Zi.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:K.a.and(K.a.has("historyNavigationWidget"),K.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:(e,t)=>{const n=io(e.get(K.b),"historyNavigationWidget");if(n){n.historyNavigator.showPreviousValue()}}}),Zi.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:K.a.and(K.a.has("historyNavigationWidget"),K.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:(e,t)=>{const n=io(e.get(K.b),"historyNavigationWidget");if(n){n.historyNavigator.showNextValue()}}});var ao=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const lo=Object(Y.e)("find-selection",Y.a.selection),co=Object(Y.e)("find-collapsed",Y.a.chevronRight),ho=Object(Y.e)("find-expanded",Y.a.chevronDown),uo=Object(Y.e)("find-close",Y.a.close),po=Object(Y.e)("find-replace",Y.a.replace),mo=Object(Y.e)("find-replace-all",Y.a.replaceAll),go=Object(Y.e)("find-previous-match",Y.a.arrowUp),fo=Object(Y.e)("find-next-match",Y.a.arrowDown),bo=U.a("label.find","Find"),_o=U.a("placeholder.find","Find"),vo=U.a("label.previousMatchButton","Previous match"),wo=U.a("label.nextMatchButton","Next match"),yo=U.a("label.toggleSelectionFind","Find in selection"),Co=U.a("label.closeButton","Close"),xo=U.a("label.replace","Replace"),So=U.a("placeholder.replace","Replace"),ko=U.a("label.replaceButton","Replace"),Eo=U.a("label.replaceAllButton","Replace All"),To=U.a("label.toggleReplaceButton","Toggle Replace mode"),Lo=U.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),No=U.a("label.matchesLocation","{0} of {1}"),Io=U.a("label.noResults","No results");let Oo=69;const Do=Ae.f?256:2048;class Ao{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function Ro(e,t,n){const i=!!t.match(/\n/);n&&i&&n.selectionStart>0&&e.stopPropagation()}function Mo(e,t,n){const i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}class Po extends Ri.a{constructor(e,t,n,i,o,r,s,a,l,c){super(),this._cachedHeight=null,this._codeEditor=e,this._controller=t,this._state=n,this._contextViewProvider=i,this._keybindingService=o,this._contextKeyService=r,this._storageService=a,this._notificationService=l,c.registerStorageKey({key:"ctrlEnterReplaceAll.windows.donotask",version:1}),this._ctrlEnterReplaceAllWarningPrompted=!!a.getBoolean("ctrlEnterReplaceAll.windows.donotask",0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new ue.a(500),this._register(Object(pe.h)(()=>this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{if(e.hasChanged(72)&&(this._codeEditor.getOption(72)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(117)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(29)){const e=this._codeEditor.getOption(29).addExtraSpaceOnTop;e&&!this._viewZone&&(this._viewZone=new Ao(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>ao(this,void 0,void 0,(function*(){if(this._isVisible){let e=yield this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!0),this._findInput.select())}})))),this._findInputFocused=ui.bindTo(r),this._findFocusTracker=this._register(ft.bb(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=pi.bindTo(r),this._replaceFocusTracker=this._register(ft.bb(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(29).addExtraSpaceOnTop&&(this._viewZone=new Ao(0)),this._applyTheme(s.getColorTheme()),this._register(s.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return Po.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(72)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=ft.H(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;ft.ab(this._domNode,"no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=Oo+"px",this._state.matchesCount>=19999?this._matchesCount.title=Lo:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=Ye.x(No,n,t)}else e=Io;this._matchesCount.appendChild(document.createTextNode(e)),Object(ne.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),Oo=Math.max(Oo,this._matchesCount.clientWidth)}_getAriaLabel(e,t,n){if(e===Io)return""===n?U.a("ariaSearchNoResultEmpty","{0} found",e):U.a("ariaSearchNoResult","{0} found for '{1}'",e,n);if(t){const i=U.a("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,n,t.startLineNumber+":"+t.startColumn),o=this._codeEditor.getModel();if(o&&t.startLineNumber<=o.getLineCount()&&t.startLineNumber>=1){return`${o.getLineContent(t.startLineNumber)}, ${i}`}return i}return U.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,n)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),ft.ab(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let n=!this._codeEditor.getOption(72);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)}_reveal(){if(!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(29).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":const t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(()=>{ft.e(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","false")},0),setTimeout(()=>{this._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(29).seedSearchStringFromSelection&&e){const n=this._codeEditor.getDomNode();if(n){const i=ft.C(n),o=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),r=i.left+(o?o.left:0),s=o?o.top:0;if(this._viewZone&&s<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const n=ft.F(this._domNode).left;r>n&&(t=!1);const o=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());i.left+(o?o.left:0)>n&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),ft.Q(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(){if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;const e=this._viewZone;void 0===this._viewZoneId&&e&&this._codeEditor.changeViewZones(t=>{e.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(e),this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+e.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible)return;if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return;void 0===this._viewZone&&(this._viewZone=new Ao(0));const t=this._viewZone;this._codeEditor.changeViewZones(n=>{if(void 0!==this._viewZoneId){const i=this._getHeight();if(i===t.heightInPx)return;let o=i-t.heightInPx;return t.heightInPx=i,n.layoutZone(this._viewZoneId),void(e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o))}{let i=this._getHeight();if(i-=this._codeEditor.getOption(66).top,i<=0)return;t.heightInPx=i,this._viewZoneId=n.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+i)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(ve.db),inputActiveOptionBackground:e.getColor(ve.cb),inputActiveOptionForeground:e.getColor(ve.eb),inputBackground:e.getColor(ve.fb),inputForeground:e.getColor(ve.hb),inputBorder:e.getColor(ve.gb),inputValidationInfoBackground:e.getColor(ve.lb),inputValidationInfoForeground:e.getColor(ve.nb),inputValidationInfoBorder:e.getColor(ve.mb),inputValidationWarningBackground:e.getColor(ve.ob),inputValidationWarningForeground:e.getColor(ve.qb),inputValidationWarningBorder:e.getColor(ve.pb),inputValidationErrorBackground:e.getColor(ve.ib),inputValidationErrorForeground:e.getColor(ve.kb),inputValidationErrorBorder:e.getColor(ve.jb)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible)return;if(!ft.N(this._domNode))return;const e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)return void ft.e(this._domNode,"hiddenEditor");ft.I(this._domNode,"hiddenEditor")&&ft.Q(this._domNode,"hiddenEditor");const t=e.width,n=e.minimap.minimapWidth;let i=!1,o=!1,r=!1;if(this._resized){if(ft.H(this._domNode)>419)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=ft.H(this._findInput.domNode))}if(447+n>=t&&(o=!0),447+n-Oo>=t&&(r=!0),447+n-Oo>=t+50&&(i=!0),ft.ab(this._domNode,"collapsed-find-widget",i),ft.ab(this._domNode,"narrow-find-widget",r),ft.ab(this._domNode,"reduced-find-widget",o),r||i||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){const e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));const t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||ge.a.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){return e.equals(3|Do)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Ro(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?Mo(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){return e.equals(3|Do)?(Ae.i&&Ae.g&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(U.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Ro(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?Mo(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new ro(null,this._contextViewProvider,{width:221,label:bo,placeholder:_o,appendCaseSensitiveLabel:this._keybindingLabelFor(Ei),appendWholeWordsLabel:this._keybindingLabelFor(Ti),appendRegexLabel:this._keybindingLabelFor(Li),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),Ae.d&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Fo({label:vo+this._keybindingLabelFor(yi),className:go.classNames,onTrigger:()=>{this._codeEditor.getAction(yi).run().then(void 0,Z.e)}})),this._nextBtn=this._register(new Fo({label:wo+this._keybindingLabelFor(wi),className:fo.classNames,onTrigger:()=>{this._codeEditor.getAction(wi).run().then(void 0,Z.e)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);const t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Pi({icon:lo,title:yo+this._keybindingLabelFor(Ni),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e)).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Fo({label:Co+this._keybindingLabelFor(ki),className:uo.classNames,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new so(null,void 0,{label:xo,placeholder:So,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())})),this._replaceBtn=this._register(new Fo({label:ko+this._keybindingLabelFor(Ii),className:po.classNames,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Fo({label:Eo+this._keybindingLabelFor(Oi),className:mo.classNames,onTrigger:()=>{this._controller.replaceAll()}}));let n=document.createElement("div");n.className="replace-part",n.appendChild(this._replaceInput.domNode);const i=document.createElement("div");i.className="replace-actions",n.appendChild(i),i.appendChild(this._replaceBtn.domNode),i.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Fo({label:To,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(n),this._resizeSash=new $i.a(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let o=419;this._register(this._resizeSash.onDidStart(()=>{o=ft.H(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0;let t=o+e.startX-e.currentX;if(t<419)return;t>(parseFloat(ft.z(this._domNode).maxWidth)||0)||(this._domNode.style.width=t+"px",this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const e=ft.H(this._domNode);if(e<419)return;let t=419;if(!this._resized||419===e){const e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=t+"px",this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Po.ID="editor.contrib.findWidget";class Fo extends Ri.a{constructor(e){super(),this._opts=e,this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className="button "+this._opts.className,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{if(e.equals(10)||e.equals(3))return this._opts.onTrigger(),void e.preventDefault();this._opts.onKeyDown&&this._opts.onKeyDown(e)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){ft.ab(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(ft.R(this._domNode,co.classNames),ft.f(this._domNode,ho.classNames)):(ft.R(this._domNode,ho.classNames),ft.f(this._domNode,co.classNames))}}Object(we.g)((e,t)=>{const n=(e,n)=>{n&&t.addRule(`.monaco-editor ${e} { background-color: ${n}; }`)};n(".findMatch",e.getColor(ve.x)),n(".currentFindMatch",e.getColor(ve.v)),n(".findScope",e.getColor(ve.z));n(".find-widget",e.getColor(ve.U));const i=e.getColor(ve.uc);i&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 2px 8px ${i}; }`);const o=e.getColor(ve.y);o&&t.addRule(`.monaco-editor .findMatch { border: 1px ${"hc"===e.type?"dotted":"solid"} ${o}; box-sizing: border-box; }`);const r=e.getColor(ve.w);r&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${r}; padding: 1px; box-sizing: border-box; }`);const s=e.getColor(ve.A);s&&t.addRule(`.monaco-editor .findScope { border: 1px ${"hc"===e.type?"dashed":"solid"} ${s}; }`);const a=e.getColor(ve.h);a&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${a}; }`);const l=e.getColor(ve.W);l&&t.addRule(`.monaco-editor .find-widget { color: ${l}; }`);const c=e.getColor(ve.Y);c&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${c}; }`);const d=e.getColor(ve.X);if(d)t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${d}; }`);else{const n=e.getColor(ve.V);n&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${n}; }`)}const h=e.getColor(ve.Z);h&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${h}; }`)});var Wo=n(166),zo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Bo=function(e,t){return function(n,i){t(n,i,e)}},jo=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Vo(e){if(!e.hasModel())return null;const t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){const n=e.getConfiguredWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<524288)return e.getModel().getValueInRange(t);return null}let Uo=class e extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._findWidgetVisible=hi.bindTo(t),this._contextKeyService=t,this._storageService=n,this._clipboardService=i,this._updateHistoryDelayer=new ue.a(500),this._state=this._register(new qi),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(29).loop})}))}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!ui.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e)).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=Ye.v(e)),this._state.change({searchString:e},!1)}highlightFindOptions(){}_start(e){return jo(this,void 0,void 0,(function*(){if(this.disposeModel(),!this._editor.hasModel())return;let t={isRevealed:!0};if(e.seedSearchStringFromSelection){let e=Vo(this._editor);e&&(this._state.isRegex?t.searchString=Ye.v(e):t.searchString=e)}if(!t.searchString&&e.seedSearchStringFromGlobalClipboard){let e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(t.searchString=e)}if(e.forceRevealReplace?t.isReplaceRevealed=!0:this._findWidgetVisible.get()||(t.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(t.searchScope=e)}t.loop=e.loop,this._state.change(t,!1),this._model||(this._model=new Ai(this._editor,this._state))}))}start(e){return this._start(e)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return jo(this,void 0,void 0,(function*(){return this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};Uo.ID="editor.contrib.findController",Uo=zo([Bo(1,K.b),Bo(2,fn.a),Bo(3,Pe.a)],Uo);let Ho=class extends Uo{constructor(e,t,n,i,o,r,s,a,l){super(e,n,s,l),this._contextViewService=t,this._keybindingService=i,this._themeService=o,this._notificationService=r,this._storageKeysSyncRegistryService=a,this._widget=null,this._findOptionsWidget=null}_start(e){const t=Object.create(null,{_start:{get:()=>super._start}});return jo(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();const n=this._editor.getSelection();let i=!1;switch(this._editor.getOption(29).autoFindInSelection){case"always":i=!0;break;case"never":i=!1;break;case"multiline":i=!!n&&n.startLineNumber!==n.endLineNumber}e.updateSearchScope=i,yield t._start.call(this,e),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Po(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._storageKeysSyncRegistryService)),this._findOptionsWidget=this._register(new Ui(this._editor,this._state,this._keybindingService,this._themeService))}};Ho=zo([Bo(1,_t.b),Bo(2,K.b),Bo(3,vt.a),Bo(4,we.c),Bo(5,zt.a),Bo(6,fn.a),Bo(7,Wo.a),Bo(8,Pe.a)],Ho);class qo extends V.f{constructor(){super({id:_i,label:U.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"3_find",title:U.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})}run(e,t){return jo(this,void 0,void 0,(function*(){let e=Uo.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(29).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}))}))}}class $o extends V.b{constructor(){super({id:vi,label:U.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return jo(this,void 0,void 0,(function*(){let e=Uo.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class Ko extends V.b{run(e,t){return jo(this,void 0,void 0,(function*(){let e=Uo.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),this._run(e))}))}}class Go extends V.b{run(e,t){return jo(this,void 0,void 0,(function*(){let e=Uo.get(t);if(!e)return;let n=Vo(t);n&&e.setSearchString(n),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),this._run(e))}))}}class Yo extends V.f{constructor(){super({id:Si,label:U.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"3_find",title:U.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})}run(e,t){return jo(this,void 0,void 0,(function*(){if(!t.hasModel()||t.getOption(72))return;let e=Uo.get(t),n=t.getSelection(),i=e.isFindInputFocused(),o=!n.isEmpty()&&n.startLineNumber===n.endLineNumber&&t.getOption(29).seedSearchStringFromSelection&&!i,r=i||o?2:1;e&&(yield e.start({forceRevealReplace:!0,seedSearchStringFromSelection:o,seedSearchStringFromGlobalClipboard:t.getOption(29).seedSearchStringFromSelection,shouldFocus:r,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}))}))}}Object(V.m)(Uo.ID,Ho);const Zo=new qo;Object(V.r)(Zo),Object(V.k)($o),Object(V.k)(class extends Ko{constructor(){super({id:wi,label:U.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})}_run(e){return e.moveToNextMatch()}}),Object(V.k)(class extends Ko{constructor(){super({id:wi,label:U.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.focus,ui),primary:3,weight:100}})}_run(e){return e.moveToNextMatch()}}),Object(V.k)(class extends Ko{constructor(){super({id:yi,label:U.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})}_run(e){return e.moveToPrevMatch()}}),Object(V.k)(class extends Ko{constructor(){super({id:yi,label:U.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.focus,ui),primary:1027,weight:100}})}_run(e){return e.moveToPrevMatch()}}),Object(V.k)(class extends Go{constructor(){super({id:Ci,label:U.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),Object(V.k)(class extends Go{constructor(){super({id:xi,label:U.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});const Xo=new Yo;Object(V.r)(Xo);const Qo=V.c.bindToContribution(Uo.get);Object(V.l)(new Qo({id:ki,precondition:hi,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(V.l)(new Qo({id:Ei,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:mi.primary,mac:mi.mac,win:mi.win,linux:mi.linux}})),Object(V.l)(new Qo({id:Ti,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:gi.primary,mac:gi.mac,win:gi.win,linux:gi.linux}})),Object(V.l)(new Qo({id:Li,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:fi.primary,mac:fi.mac,win:fi.win,linux:fi.linux}})),Object(V.l)(new Qo({id:Ni,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:bi.primary,mac:bi.mac,win:bi.win,linux:bi.linux}})),Object(V.l)(new Qo({id:Ii,precondition:hi,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:3094}})),Object(V.l)(new Qo({id:Ii,precondition:hi,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:K.a.and(H.a.focus,pi),primary:3}})),Object(V.l)(new Qo({id:Oi,precondition:hi,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:2563}})),Object(V.l)(new Qo({id:Oi,precondition:hi,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:K.a.and(H.a.focus,pi),primary:void 0,mac:{primary:2051}}})),Object(V.l)(new Qo({id:Di,precondition:hi,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:515}}));n(298);var Jo=n(14);class er{constructor(e,t,n){if(e.length!==t.length||e.length>65535)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,n)=>{let i=e[e.length-1];return this.getStartLineNumber(i)<=t&&this.getEndLineNumber(i)>=n};for(let n=0,i=this._startIndexes.length;n<i;n++){let i=this._startIndexes[n],o=this._endIndexes[n];if(i>16777215||o>16777215)throw new Error("startLineNumber or endLineNumber must not exceed 16777215");for(;e.length>0&&!t(i,o);)e.pop();let r=e.length>0?e[e.length-1]:-1;e.push(n),this._startIndexes[n]=i+((255&r)<<24),this._endIndexes[n]=o+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return 16777215&this._startIndexes[e]}getEndLineNumber(e){return 16777215&this._endIndexes[e]}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){let t=e/32|0,n=e%32;return 0!=(this._collapseStates[t]&1<<n)}setCollapsed(e,t){let n=e/32|0,i=e%32,o=this._collapseStates[n];this._collapseStates[n]=t?o|1<<i:o&~(1<<i)}toRegion(e){return new tr(this,e)}getParentIndex(e){this.ensureParentIndices();let t=((4278190080&this._startIndexes[e])>>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,n=this._startIndexes.length;if(0===n)return-1;for(;t<n;){let i=Math.floor((t+n)/2);e<this.getStartLineNumber(i)?n=i:t=i+1}return t-1}findRange(e){let t=this.findIndex(e);if(t>=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1}toString(){let e=[];for(let t=0;t<this.length;t++)e[t]=`[${this.isCollapsed(t)?"+":"-"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(", ")}}class tr{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class nr{constructor(e,t){this._updateEventEmitter=new Lt.a,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new er(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(!e.length)return;e=e.sort((e,t)=>e.regionIndex-t.regionIndex);const t={};this._decorationProvider.changeDecorations(n=>{let i=0,o=-1,r=-1;const s=e=>{for(;i<e;){const e=this._regions.getEndLineNumber(i),t=this._regions.isCollapsed(i);e<=o&&n.changeDecorationOptions(this._editorDecorationIds[i],this._decorationProvider.getDecorationOption(t,e<=r)),t&&e>r&&(r=e),i++}};for(let n of e){let e=n.regionIndex,i=this._editorDecorationIds[e];if(i&&!t[i]){t[i]=!0,s(e);let n=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,n),o=Math.max(o,this._regions.getEndLineNumber(e))}}s(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}update(e,t=[]){let n=[],i=-1,o=(o,r)=>{const s=e.getStartLineNumber(o),a=e.getEndLineNumber(o);r&&((e,n)=>{for(let i of t)if(e<i&&i<=n)return!0;return!1})(s,a)&&(r=!1),e.setCollapsed(o,r);const l=this._textModel.getLineMaxColumn(s),c={startLineNumber:s,startColumn:l,endLineNumber:s,endColumn:l};n.push({range:c,options:this._decorationProvider.getDecorationOption(r,a<=i)}),r&&a>i&&(i=a)},r=0,s=()=>{for(;r<this._regions.length;){let e=this._regions.isCollapsed(r);if(r++,e)return r-1}return-1},a=0,l=s();for(;-1!==l&&a<e.length;){let t=this._textModel.getDecorationRange(this._editorDecorationIds[l]);if(t){let n=t.startLineNumber;if(this._textModel.getLineMaxColumn(n)===t.startColumn)for(;a<e.length;){let t=e.getStartLineNumber(a);if(!(n>=t))break;o(a,n===t),a++}}l=s()}for(;a<e.length;)o(a,!1),a++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,n),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})}getMemento(){let e=[];for(let t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){let n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){let i=n.startLineNumber,o=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:i,endLineNumber:o})}}if(e.length>0)return e}applyMemento(e){if(!Array.isArray(e))return;let t=[];for(let n of e){let e=this.getRegionAtLine(n.startLineNumber);e&&!e.isCollapsed&&t.push(e)}this.toggleCollapseState(t)}dispose(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])}getAllRegionsAtLine(e,t){let n=[];if(this._regions){let i=this._regions.findRange(e),o=1;for(;i>=0;){let e=this._regions.toRegion(i);t&&!t(e,o)||n.push(e),o++,i=e.parentIndex}}return n}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let n=[],i=e?e.regionIndex+1:0,o=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){const e=[];for(let r=i,s=this._regions.length;r<s;r++){let i=this._regions.toRegion(r);if(!(this._regions.getStartLineNumber(r)<o))break;for(;e.length>0&&!i.containedBy(e[e.length-1]);)e.pop();e.push(i),t(i,e.length)&&n.push(i)}}else for(let e=i,r=this._regions.length;e<r;e++){let i=this._regions.toRegion(e);if(!(this._regions.getStartLineNumber(e)<o))break;t&&!t(i)||n.push(i)}return n}}function ir(e,t,n=Number.MAX_VALUE,i){let o=[];if(i&&i.length>0)for(let r of i){let i=e.getRegionAtLine(r);if(i&&(i.isCollapsed!==t&&o.push(i),n>1)){let r=e.getRegionsInside(i,(e,i)=>e.isCollapsed!==t&&i<n);o.push(...r)}}else{let i=e.getRegionsInside(null,(e,i)=>e.isCollapsed!==t&&i<n);o.push(...i)}e.toggleCollapseState(o)}function or(e,t,n,i){let o=[];for(let r of i){let i=e.getAllRegionsAtLine(r,(e,i)=>e.isCollapsed!==t&&i<=n);o.push(...i)}e.toggleCollapseState(o)}function rr(e,t,n){let i=e.textModel,o=e.regions,r=[];for(let e=o.length-1;e>=0;e--)if(n!==o.isCollapsed(e)){let n=o.getStartLineNumber(e);t.test(i.getLineContent(n))&&r.push(o.toRegion(e))}e.toggleCollapseState(r)}function sr(e,t,n){let i=e.regions,o=[];for(let e=i.length-1;e>=0;e--)n!==i.isCollapsed(e)&&t===i.getType(e)&&o.push(i.toRegion(e));e.toggleCollapseState(o)}const ar=Object(Y.e)("folding-expanded",Y.a.chevronDown),lr=Object(Y.e)("folding-collapsed",Y.a.chevronRight);class cr{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?cr.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?cr.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:cr.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?cr.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:cr.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}cr.COLLAPSED_VISUAL_DECORATION=be.a.register({stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:lr.classNames}),cr.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=be.a.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:lr.classNames}),cr.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=be.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:ar.classNames}),cr.EXPANDED_VISUAL_DECORATION=be.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+ar.classNames}),cr.HIDDEN_RANGE_DECORATION=be.a.register({stickiness:1});class dr{constructor(e){this._updateEventEmitter=new Lt.a,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let e=!1,t=[],n=0,i=0,o=Number.MAX_VALUE,r=-1,s=this._foldingModel.regions;for(;n<s.length;n++){if(!s.isCollapsed(n))continue;let a=s.getStartLineNumber(n)+1,l=s.getEndLineNumber(n);o<=a&&l<=r||(!e&&i<this._hiddenRanges.length&&this._hiddenRanges[i].startLineNumber===a&&this._hiddenRanges[i].endLineNumber===l?(t.push(this._hiddenRanges[i]),i++):(e=!0,t.push(new ge.a(a,1,l,1))),o=a,r=l)}(e||i<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyMemento(e){if(!Array.isArray(e)||0===e.length)return!1;let t=[];for(let n of e){if(!n.startLineNumber||!n.endLineNumber)return!1;t.push(new ge.a(n.startLineNumber+1,1,n.endLineNumber,1))}return this.applyHiddenRanges(t),!0}getMemento(){return this._hiddenRanges.map(e=>({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}))}applyHiddenRanges(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return null!==hr(this._hiddenRanges,e)}adjustSelections(e){let t=!1,n=this._foldingModel.textModel,i=null,o=e=>(i&&function(e,t){return e>=t.startLineNumber&&e<=t.endLineNumber}(e,i)||(i=hr(this._hiddenRanges,e)),i?i.startLineNumber-1:null);for(let i=0,r=e.length;i<r;i++){let r=e[i],s=o(r.startLineNumber);s&&(r=r.setStartPosition(s,n.getLineMaxColumn(s)),t=!0);let a=o(r.endLineNumber);a&&(r=r.setEndPosition(a,n.getLineMaxColumn(a)),t=!0),e[i]=r}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function hr(e,t){let n=Object(G.h)(e,e=>t<e.startLineNumber)-1;return n>=0&&e[n].endLineNumber>=t?e[n]:null}class ur{constructor(e){this.editorModel=e,this.id="indent"}dispose(){}compute(e){let t=Pn.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=t&&!!t.offSide,i=t&&t.markers;return Promise.resolve(function(e,t,n,i=5e3){const o=e.getOptions().tabSize;let r=new pr(i),s=void 0;n&&(s=new RegExp(`(${n.start.source})|(?:${n.end.source})`));let a=[],l=e.getLineCount()+1;a.push({indent:-1,endAbove:l,line:l});for(let n=e.getLineCount();n>0;n--){let i,l=e.getLineContent(n),c=be.b.computeIndentLevel(l,o),d=a[a.length-1];if(-1!==c){if(s&&(i=l.match(s))){if(!i[1]){a.push({indent:-2,endAbove:n,line:n});continue}{let e=a.length-1;for(;e>0&&-2!==a[e].indent;)e--;if(e>0){a.length=e+1,d=a[e],r.insertFirst(n,d.line,c),d.line=n,d.indent=c,d.endAbove=n;continue}}}if(d.indent>c){do{a.pop(),d=a[a.length-1]}while(d.indent>c);let e=d.endAbove-1;e-n>=1&&r.insertFirst(n,e,c)}d.indent===c?d.endAbove=n:a.push({indent:c,endAbove:n,line:n})}else t&&(d.endAbove=n)}return r.toIndentRanges(e)}(this.editorModel,n,i))}}class pr{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,n){if(e>16777215||t>16777215)return;let i=this._length;this._startIndexes[i]=e,this._endIndexes[i]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=this._length-1,i=0;n>=0;n--,i++)e[i]=this._startIndexes[n],t[i]=this._endIndexes[n];return new er(e,t)}{let t=0,n=this._indentOccurrences.length;for(let e=0;e<this._indentOccurrences.length;e++){let i=this._indentOccurrences[e];if(i){if(i+t>this._foldingRangesLimit){n=e;break}t+=i}}const i=e.getOptions().tabSize;let o=new Uint32Array(this._foldingRangesLimit),r=new Uint32Array(this._foldingRangesLimit);for(let s=this._length-1,a=0;s>=0;s--){let l=this._startIndexes[s],c=e.getLineContent(l),d=be.b.computeIndentLevel(c,i);(d<n||d===n&&t++<this._foldingRangesLimit)&&(o[a]=l,r[a]=this._endIndexes[s],a++)}return new er(o,r)}}}const mr={};class gr{constructor(e,t,n=5e3){this.editorModel=e,this.providers=t,this.limit=n,this.id="syntax"}compute(e){return function(e,t,n){let i=null,o=e.map((e,o)=>Promise.resolve(e.provideFoldingRanges(t,mr,n)).then(e=>{if(!n.isCancellationRequested&&Array.isArray(e)){Array.isArray(i)||(i=[]);let n=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=n&&i.push({start:t.start,end:t.end,rank:o,kind:t.kind})}},Z.f));return Promise.all(o).then(e=>i)}(this.providers,this.editorModel,e).then(e=>{if(e){return br(e,this.limit)}return null})}dispose(){}}class fr{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,n,i){if(e>16777215||t>16777215)return;let o=this._length;this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=i,this._types[o]=n,this._length++,i<30&&(this._nestingLevelCounts[i]=(this._nestingLevelCounts[i]||0)+1)}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new er(e,t,this._types)}{let e=0,t=this._nestingLevelCounts.length;for(let n=0;n<this._nestingLevelCounts.length;n++){let i=this._nestingLevelCounts[n];if(i){if(i+e>this._foldingRangesLimit){t=n;break}e+=i}}let n=new Uint32Array(this._foldingRangesLimit),i=new Uint32Array(this._foldingRangesLimit),o=[];for(let r=0,s=0;r<this._length;r++){let a=this._nestingLevels[r];(a<t||a===t&&e++<this._foldingRangesLimit)&&(n[s]=this._startIndexes[r],i[s]=this._endIndexes[r],o[s]=this._types[r],s++)}return new er(n,i,o)}}}function br(e,t){let n=e.sort((e,t)=>{let n=e.start-t.start;return 0===n&&(n=e.rank-t.rank),n}),i=new fr(t),o=void 0,r=[];for(let e of n)if(o){if(e.start>o.start)if(e.end<=o.end)r.push(o),o=e,i.add(e.start,e.end,e.kind&&e.kind.value,r.length);else{if(e.start>o.end){do{o=r.pop()}while(o&&e.start>o.end);o&&r.push(o),o=e}i.add(e.start,e.end,e.kind&&e.kind.value,r.length)}}else o=e,i.add(e.start,e.end,e.kind&&e.kind.value,r.length);return i.toIndentRanges()}class _r{constructor(e,t,n,i){if(this.editorModel=e,this.id="init",t.length){let o=t=>({range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{stickiness:1}});this.decorationIds=e.deltaDecorations([],t.map(o)),this.timeout=setTimeout(n,i)}}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(let e of this.decorationIds){let n=this.editorModel.getDecorationRange(e);n&&t.push({start:n.startLineNumber,end:n.endLineNumber,rank:1})}return Promise.resolve(br(t,Number.MAX_VALUE))}}var vr=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},wr=function(e,t){return function(n,i){t(n,i,e)}};const yr=new K.c("foldingEnabled",!1);let Cr=class e extends pe.a{constructor(e,t){super(),this.contextKeyService=t,this.localToDispose=this._register(new pe.b),this.editor=e;const n=this.editor.getOptions();this._isEnabled=n.get(31),this._useFoldingProviders="indentation"!==n.get(32),this._unfoldOnClickAfterEndOfLine=n.get(34),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingStateMemento=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new cr(e),this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===n.get(91),this.foldingDecorationProvider.showFoldingHighlights=n.get(33),this.foldingEnabled=yr.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(31)&&(this._isEnabled=this.editor.getOptions().get(31),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(91)||e.hasChanged(33)){const e=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===e.get(91),this.foldingDecorationProvider.showFoldingHighlights=e.get(33),this.onModelContentChanged()}e.hasChanged(32)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(32),this.onFoldingStrategyChanged()),e.hasChanged(34)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(34))})),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n}}}restoreViewState(e){let t=this.editor.getModel();if(!t||!this._isEnabled||t.isTooLargeForTokenization()||!this.hiddenRangeModel)return;if(!e||!e.collapsedRegions||e.lineCount!==t.getLineCount())return;"syntax"!==e.provider&&"init"!==e.provider||(this.foldingStateMemento=e);const n=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(n)){const e=this.getFoldingModel();e&&e.then(e=>{e&&e.applyMemento(n)}).then(void 0,Z.e)}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this.foldingModel=new nr(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new dr(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new ue.a(200),this.cursorChangedScheduler=new ue.d(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(et.o.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(()=>this.onModelContentChanged())),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new ur(e),this._useFoldingProviders&&this.foldingModel){let t=et.o.ordered(this.foldingModel.textModel);if(0===t.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions){return this.rangeProvider=new _r(e,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4)}t.length>0&&(this.rangeProvider=new gr(e,t))}return this.foldingStateMemento=null,this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const e=this.foldingModel;if(!e)return null;let t=this.foldingRegionPromise=Object(ue.f)(t=>this.getRangeProvider(e.textModel).compute(t));return t.then(n=>{if(n&&t===this.foldingRegionPromise){let t=this.editor.getSelections(),i=t?t.map(e=>e.startLineNumber):[];e.update(n,i)}return e})}).then(void 0,e=>(Object(Z.e)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then(e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let n=[];for(let i of t){let t=i.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&n.push(...e.getAllRegionsAtLine(t,e=>e.isCollapsed&&t>e.startLineNumber))}n.length&&(e.toggleCollapseState(n),this.reveal(t[0].getPosition()))}}}).then(void 0,Z.e)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range)return;if(!e.event.leftButton&&!e.event.middleButton)return;const t=e.target.range;let n=!1;switch(e.target.type){case 4:const i=e.target.detail,o=e.target.element.offsetLeft;if(i.offsetX-o<5)return;n=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){if(!e.target.detail.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}onEditorMouseUp(e){const t=this.getFoldingModel();if(!t||!this.mouseDownInfo||!e.target)return;let n=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,o=e.target.range;if(o&&o.startLineNumber===n){if(i){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||o.startColumn!==e.getLineMaxColumn(n))return}t.then(t=>{if(t){let o=t.getRegionAtLine(n);if(o&&o.startLineNumber===n){let r=o.isCollapsed;if(i||r){let i=[],s=e.event.middleButton||e.event.shiftKey;if(s)for(const e of t.getRegionsInside(o))e.isCollapsed===r&&i.push(e);!r&&s&&0!==i.length||i.push(o),t.toggleCollapseState(i),this.reveal({lineNumber:n,column:1})}}}}).then(void 0,Z.e)}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};Cr.ID="editor.contrib.folding",Cr=vr([wr(1,K.b)],Cr);class xr extends V.b{runEditorCommand(e,t,n){let i=Cr.get(t);if(!i)return;let o=i.getFoldingModel();return o?(this.reportTelemetry(e,t),o.then(e=>{if(e){this.invoke(i,e,t,n);const o=t.getSelection();o&&i.reveal(o.getStartPosition())}})):void 0}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function Sr(e){if(!Jo.k(e)){if(!Jo.i(e))return!1;const t=e;if(!Jo.k(t.levels)&&!Jo.h(t.levels))return!1;if(!Jo.k(t.direction)&&!Jo.j(t.direction))return!1;if(!(Jo.k(t.selectionLines)||Jo.e(t.selectionLines)&&t.selectionLines.every(Jo.h)))return!1}return!0}class kr extends xr{getFoldingLevel(){return parseInt(this.id.substr(kr.ID_PREFIX.length))}invoke(e,t,n){!function(e,t,n,i){let o=e.getRegionsInside(null,(e,o)=>o===t&&e.isCollapsed!==n&&!i.some(t=>e.containsLine(t)));e.toggleCollapseState(o)}(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))}}kr.ID_PREFIX="editor.foldLevel",kr.ID=e=>kr.ID_PREFIX+e,Object(V.m)(Cr.ID,Cr),Object(V.k)(class extends xr{constructor(){super({id:"editor.unfold",label:U.a("unfoldAction.label","Unfold"),alias:"Unfold",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:Sr,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){let o=i&&i.levels||1,r=this.getLineNumbers(i,n);i&&"up"===i.direction?or(t,!1,o,r):ir(t,!1,o,r)}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.unfoldRecursively",label:U.a("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2137),weight:100}})}invoke(e,t,n,i){ir(t,!1,Number.MAX_VALUE,this.getSelectedLines(n))}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.fold",label:U.a("foldAction.label","Fold"),alias:"Fold",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:Sr,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){let o=this.getLineNumbers(i,n);const r=i&&i.levels,s=i&&i.direction;"number"!=typeof r&&"string"!=typeof s?function(e,t,n){let i=[];for(let o of n){let n=e.getAllRegionsAtLine(o,e=>e.isCollapsed!==t);n.length>0&&i.push(n[0])}e.toggleCollapseState(i)}(t,!0,o):"up"===s?or(t,!0,r||1,o):ir(t,!0,r||1,o)}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.foldRecursively",label:U.a("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2135),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);ir(t,!0,Number.MAX_VALUE,i)}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.foldAll",label:U.a("foldAllAction.label","Fold All"),alias:"Fold All",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2069),weight:100}})}invoke(e,t,n){ir(t,!0)}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.unfoldAll",label:U.a("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2088),weight:100}})}invoke(e,t,n){ir(t,!1)}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.foldAllBlockComments",label:U.a("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2133),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())sr(t,et.n.Comment.value,!0);else{const e=n.getModel();if(!e)return;let i=Pn.a.getComments(e.getLanguageIdentifier().id);if(i&&i.blockCommentStartToken){rr(t,new RegExp("^\\s*"+Object(Ye.v)(i.blockCommentStartToken)),!0)}}}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.foldAllMarkerRegions",label:U.a("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2077),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())sr(t,et.n.Region.value,!0);else{const e=n.getModel();if(!e)return;let i=Pn.a.getFoldingRules(e.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){rr(t,new RegExp(i.markers.start),!0)}}}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:U.a("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2078),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())sr(t,et.n.Region.value,!1);else{const e=n.getModel();if(!e)return;let i=Pn.a.getFoldingRules(e.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){rr(t,new RegExp(i.markers.start),!1)}}}}),Object(V.k)(class extends xr{constructor(){super({id:"editor.toggleFold",label:U.a("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2090),weight:100}})}invoke(e,t,n){!function(e,t,n){let i=[];for(let o of n){let n=e.getRegionAtLine(o);if(n){const o=!n.isCollapsed;if(i.push(n),t>1){let r=e.getRegionsInside(n,(e,n)=>e.isCollapsed!==o&&n<t);i.push(...r)}}}e.toggleCollapseState(i)}(t,1,this.getSelectedLines(n))}});for(let e=1;e<=7;e++)Object(V.n)(new kr({id:kr.ID(e),label:U.a("foldLevelAction.label","Fold Level {0}",e),alias:"Fold Level "+e,precondition:yr,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2048|21+e),weight:100}}));const Er=Object(ve.gc)("editor.foldBackground",{light:Object(ve.sc)(ve.O,.3),dark:Object(ve.sc)(ve.O,.3),hc:null},U.a("foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),Tr=Object(ve.gc)("editorGutter.foldingControlForeground",{dark:ve.bb,light:ve.bb,hc:ve.bb},U.a("editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));Object(we.g)((e,t)=>{const n=e.getColor(Er);n&&t.addRule(`.monaco-editor .folded-background { background-color: ${n}; }`);const i=e.getColor(Tr);i&&t.addRule(`\n\t\t.monaco-editor .cldr${ar.cssSelector},\n\t\t.monaco-editor .cldr${lr.cssSelector} {\n\t\t\tcolor: ${i} !important;\n\t\t}\n\t\t`)});var Lr=n(135);class Nr extends V.b{constructor(){super({id:"editor.action.fontZoomIn",label:U.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})}run(e,t){Lr.a.setZoomLevel(Lr.a.getZoomLevel()+1)}}class Ir extends V.b{constructor(){super({id:"editor.action.fontZoomOut",label:U.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})}run(e,t){Lr.a.setZoomLevel(Lr.a.getZoomLevel()-1)}}class Or extends V.b{constructor(){super({id:"editor.action.fontZoomReset",label:U.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})}run(e,t){Lr.a.setZoomLevel(0)}}Object(V.k)(Nr),Object(V.k)(Ir),Object(V.k)(Or);var Dr=n(76),Ar=n(96),Rr=n(112);class Mr{static _handleEolEdits(e,t){let n=void 0,i=[];for(let e of t)"number"==typeof e.eol&&(n=e.eol),e.range&&"string"==typeof e.text&&i.push(e);return"number"==typeof n&&e.hasModel()&&e.getModel().pushEOL(n),i}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;const n=e.getModel(),i=n.validateRange(t.range);return n.getFullModelRange().equalsRange(i)}static execute(e,t,n){n&&e.pushUndoStop();const i=Mr._handleEolEdits(e,t);1===i.length&&Mr._isFullModelReplaceEdit(e,i[0])?e.executeEdits("formatEditsCommand",i.map(e=>Mn.a.replace(ge.a.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",i.map(e=>Mn.a.replaceMove(ge.a.lift(e.range),e.text))),n&&e.pushUndoStop()}}class Pr{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}var Fr=n(53),Wr=n(37),zr=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Br(e){if(!(e=e.filter(e=>e.range)).length)return;let{range:t}=e[0];for(let n=1;n<e.length;n++)t=ge.a.plusRange(t,e[n].range);const{startLineNumber:n,endLineNumber:i}=t;n===i?1===e.length?Object(ne.a)(U.a("hint11","Made 1 formatting edit on line {0}",n)):Object(ne.a)(U.a("hintn1","Made {0} formatting edits on line {1}",e.length,n)):1===e.length?Object(ne.a)(U.a("hint1n","Made 1 formatting edit between lines {0} and {1}",n,i)):Object(ne.a)(U.a("hintnn","Made {0} formatting edits between lines {1} and {2}",e.length,n,i))}function jr(e){const t=[],n=new Set,i=et.g.ordered(e);for(const e of i)t.push(e),e.extensionId&&n.add(Pr.toKey(e.extensionId));const o=et.j.ordered(e);for(const e of o){if(e.extensionId){if(n.has(Pr.toKey(e.extensionId)))continue;n.add(Pr.toKey(e.extensionId))}t.push({displayName:e.displayName,extensionId:e.extensionId,provideDocumentFormattingEdits:(t,n,i)=>e.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),n,i)})}return t}class Vr{static select(e,t,n){return zr(this,void 0,void 0,(function*(){if(0===e.length)return;const i=Wr.a.first(Vr._selectors);return i?yield i(e,t,n):e[0]}))}}function Ur(e,t,n,i,o,r){return zr(this,void 0,void 0,(function*(){const s=e.get(gt.a),a=Object(Rr.b)(t)?t.getModel():t,l=et.j.ordered(a),c=yield Vr.select(l,a,i);c&&(o.report(c),yield s.invokeFunction(Hr,c,t,n,r))}))}function Hr(e,t,n,i,o){return zr(this,void 0,void 0,(function*(){const r=e.get(Ar.a);let s,a;Object(Rr.b)(n)?(s=n.getModel(),a=new Je.b(n,5,void 0,o)):(s=n,a=new Je.d(n,o));let l=[],c=0;for(let e of Object(G.b)(i).sort(ge.a.compareRangesUsingStarts))c>0&&ge.a.areIntersectingOrTouching(l[c-1],e)?l[c-1]=ge.a.fromPositions(l[c-1].getStartPosition(),e.getEndPosition()):c=l.push(e);const d=[];for(let e of l)try{const n=yield t.provideDocumentRangeFormattingEdits(s,e,s.getFormattingOptions(),a.token),i=yield r.computeMoreMinimalEdits(s.uri,n);if(i&&d.push(...i),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(0===d.length)return!1;if(Object(Rr.b)(n))Mr.execute(n,d,!0),Br(d),n.revealPositionInCenterIfOutsideViewport(n.getPosition(),1);else{const[{range:e}]=d,t=new q.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);s.pushEditOperations([t],d.map(e=>({text:e.text,range:ge.a.lift(e.range),forceMoveMarkers:!0})),e=>{for(const{range:n}of e)if(ge.a.areIntersectingOrTouching(n,t))return[new q.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)];return null})}return!0}))}function qr(e,t,n,i,o){return zr(this,void 0,void 0,(function*(){const r=e.get(gt.a),s=Object(Rr.b)(t)?t.getModel():t,a=jr(s),l=yield Vr.select(a,s,n);l&&(i.report(l),yield r.invokeFunction($r,l,t,n,o))}))}function $r(e,t,n,i,o){return zr(this,void 0,void 0,(function*(){const r=e.get(Ar.a);let s,a,l;Object(Rr.b)(n)?(s=n.getModel(),a=new Je.b(n,5,void 0,o)):(s=n,a=new Je.d(n,o));try{const e=yield t.provideDocumentFormattingEdits(s,s.getFormattingOptions(),a.token);if(l=yield r.computeMoreMinimalEdits(s.uri,e),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(!l||0===l.length)return!1;if(Object(Rr.b)(n))Mr.execute(n,l,2!==i),2!==i&&(Br(l),n.revealPositionInCenterIfOutsideViewport(n.getPosition(),1));else{const[{range:e}]=l,t=new q.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);s.pushEditOperations([t],l.map(e=>({text:e.text,range:ge.a.lift(e.range),forceMoveMarkers:!0})),e=>{for(const{range:n}of e)if(ge.a.areIntersectingOrTouching(n,t))return[new q.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)];return null})}return!0}))}function Kr(e,t,n,i,o){const r=et.t.ordered(t);return 0===r.length||r[0].autoFormatTriggerCharacters.indexOf(i)<0?Promise.resolve(void 0):Promise.resolve(r[0].provideOnTypeFormattingEdits(t,n,i,o,Xe.a.None)).catch(Z.f).then(n=>e.computeMoreMinimalEdits(t.uri,n))}Vr._selectors=new Fr.a,Ft.a.registerCommand("_executeFormatRangeProvider",(function(e,...t){const[n,i,o]=t;Object(Jo.b)(Qe.a.isUri(n)),Object(Jo.b)(ge.a.isIRange(i));const r=e.get(tt.a).getModel(n);if(!r)throw Object(Z.b)("resource");return function(e,t,n,i,o){return zr(this,void 0,void 0,(function*(){const r=et.j.ordered(t);for(const s of r){let r=yield Promise.resolve(s.provideDocumentRangeFormattingEdits(t,n,i,o)).catch(Z.f);if(Object(G.o)(r))return yield e.computeMoreMinimalEdits(t.uri,r)}}))}(e.get(Ar.a),r,ge.a.lift(i),o,Xe.a.None)})),Ft.a.registerCommand("_executeFormatDocumentProvider",(function(e,...t){const[n,i]=t;Object(Jo.b)(Qe.a.isUri(n));const o=e.get(tt.a).getModel(n);if(!o)throw Object(Z.b)("resource");return function(e,t,n,i){return zr(this,void 0,void 0,(function*(){const o=jr(t);for(const r of o){let o=yield Promise.resolve(r.provideDocumentFormattingEdits(t,n,i)).catch(Z.f);if(Object(G.o)(o))return yield e.computeMoreMinimalEdits(t.uri,o)}}))}(e.get(Ar.a),o,i,Xe.a.None)})),Ft.a.registerCommand("_executeFormatOnTypeProvider",(function(e,...t){const[n,i,o,r]=t;Object(Jo.b)(Qe.a.isUri(n)),Object(Jo.b)(me.a.isIPosition(i)),Object(Jo.b)("string"==typeof o);const s=e.get(tt.a).getModel(n);if(!s)throw Object(Z.b)("resource");return Kr(e.get(Ar.a),s,me.a.lift(i),o,r)}));var Gr=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Yr=function(e,t){return function(n,i){t(n,i,e)}},Zr=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Xr=class{constructor(e,t){this._workerService=t,this._callOnDispose=new pe.b,this._callOnModel=new pe.b,this._editor=e,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(et.t.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),!this._editor.getOption(41))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),[t]=et.t.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let n=new Dr.b;for(let e of t.autoFormatTriggerCharacters)n.add(e.charCodeAt(0));this._callOnModel.add(this._editor.onDidType(e=>{let t=e.charCodeAt(e.length-1);n.has(t)&&this._trigger(String.fromCharCode(t))}))}_trigger(e){if(!this._editor.hasModel())return;if(this._editor.getSelections().length>1)return;const t=this._editor.getModel(),n=this._editor.getPosition();let i=!1;const o=this._editor.onDidChangeModelContent(e=>{if(e.isFlush)return i=!0,void o.dispose();for(let t=0,r=e.changes.length;t<r;t++){if(e.changes[t].range.endLineNumber<=n.lineNumber)return i=!0,void o.dispose()}});Kr(this._workerService,t,n,e,t.getFormattingOptions()).then(e=>{o.dispose(),i||Object(G.o)(e)&&(Mr.execute(this._editor,e,!0),Br(e))},e=>{throw o.dispose(),e})}};Xr.ID="editor.contrib.autoFormat",Xr=Gr([Yr(1,Ar.a)],Xr);let Qr=class{constructor(e,t){this.editor=e,this._instantiationService=t,this._callOnDispose=new pe.b,this._callOnModel=new pe.b,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(et.j.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(40)&&this.editor.hasModel()&&et.j.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(Ur,this.editor,e,2,rt.b.None,Xe.a.None).catch(Z.e))}};Qr.ID="editor.contrib.formatOnPaste",Qr=Gr([Yr(1,gt.a)],Qr);class Jr extends V.b{constructor(){super({id:"editor.action.formatDocument",label:U.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:K.a.and(H.a.notInCompositeEditor,H.a.writable,H.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:K.a.and(H.a.editorTextFocus,H.a.hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{when:H.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})}run(e,t){return Zr(this,void 0,void 0,(function*(){if(t.hasModel()){const n=e.get(gt.a),i=e.get(rt.a);yield i.showWhile(n.invokeFunction(qr,t,1,rt.b.None,Xe.a.None),250)}}))}}class es extends V.b{constructor(){super({id:"editor.action.formatSelection",label:U.a("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:K.a.and(H.a.writable,H.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:K.a.and(H.a.editorTextFocus,H.a.hasDocumentSelectionFormattingProvider),primary:Object($.a)(2089,2084),weight:100},contextMenuOpts:{when:K.a.and(H.a.hasDocumentSelectionFormattingProvider,H.a.hasNonEmptySelection),group:"1_modification",order:1.31}})}run(e,t){return Zr(this,void 0,void 0,(function*(){if(!t.hasModel())return;const n=e.get(gt.a),i=t.getModel(),o=t.getSelections().map(e=>e.isEmpty()?new ge.a(e.startLineNumber,1,e.startLineNumber,i.getLineMaxColumn(e.startLineNumber)):e),r=e.get(rt.a);yield r.showWhile(n.invokeFunction(Ur,t,o,1,rt.b.None,Xe.a.None),250)}))}}Object(V.m)(Xr.ID,Xr),Object(V.m)(Qr.ID,Qr),Object(V.k)(Jr),Object(V.k)(es),Ft.a.registerCommand("editor.action.format",e=>Zr(void 0,void 0,void 0,(function*(){const t=e.get(Me.a).getFocusedCodeEditor();if(!t||!t.hasModel())return;const n=e.get(Ft.b);t.getSelection().isEmpty()?yield n.executeCommand("editor.action.formatDocument"):yield n.executeCommand("editor.action.formatSelection")})));var ts=n(122),ns=n(118);class is{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let n;"string"==typeof e?n=`${t.id}/${e}`:(n=`${t.id}/${e.name}`,void 0!==t.children.get(n)&&(n=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let i=n;for(let e=0;void 0!==t.children.get(i);e++)i=`${n}_${e}`;return i}static empty(e){return 0===e.children.size}}class os extends is{constructor(e,t,n){super(),this.id=e,this.parent=t,this.symbol=n,this.children=new Map}}class rs extends is{constructor(e,t,n,i){super(),this.id=e,this.parent=t,this.label=n,this.order=i,this.children=new Map}}class ss extends is{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t){let n=this._keys.for(e,!0),i=ss._requests.get(n);if(!i){let t=new Xe.b;i={promiseCnt:0,source:t,promise:ss._create(e,t.token),model:void 0},ss._requests.set(n,i);const o=Date.now();i.promise.then(()=>{let t=this._keys.for(e,!1),n=this._requestDurations.get(t);n||(n=new ns.a,this._requestDurations.set(t,n)),n.update(Date.now()-o)})}return i.model?Promise.resolve(i.model):(i.promiseCnt+=1,t.onCancellationRequested(()=>{0==--i.promiseCnt&&(i.source.cancel(),ss._requests.delete(n))}),new Promise((e,t)=>{i.promise.then(t=>{i.model=t,e(t)},e=>{ss._requests.delete(n),t(e)})}))}static _create(e,t){const n=new Xe.b(t),i=new ss(e.uri),o=et.m.ordered(e),r=o.map((t,o)=>{var r;let s=is.findId("provider_"+o,i),a=new rs(s,i,null!==(r=t.displayName)&&void 0!==r?r:"Unknown Outline Provider",o);return Promise.resolve(t.provideDocumentSymbols(e,n.token)).then(e=>{for(const t of e||[])ss._makeOutlineElement(t,a);return a},e=>(Object(Z.f)(e),a)).then(e=>{is.empty(e)?e.remove():i._groups.set(s,e)})}),s=et.m.onDidChange(()=>{const t=et.m.ordered(e);Object(G.g)(t,o)||n.cancel()});return Promise.all(r).then(()=>n.token.isCancellationRequested&&!t.isCancellationRequested?ss._create(e,t):i._compact()).finally(()=>{s.dispose()})}static _makeOutlineElement(e,t){let n=is.findId(e,t),i=new os(n,t,e);if(e.children)for(const t of e.children)ss._makeOutlineElement(t,i);t.children.set(i.id,i)}_compact(){let e=0;for(const[t,n]of this._groups)0===n.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=Wr.a.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}}ss._requestDurations=new gn.a(50,.7),ss._requests=new gn.a(9,.75),ss._keys=new class{constructor(){this._counter=1,this._data=new WeakMap}for(e,t){return`${e.id}/${t?e.getVersionId():""}/${this._hash(et.m.all(e))}`}_hash(e){let t="";for(const n of e){let e=this._data.get(n);void 0===e&&(e=this._counter++,this._data.set(n,e)),t+=e}return t}};var as=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function ls(e,t,n){return as(this,void 0,void 0,(function*(){const i=yield ss.create(e,n),o=[];for(const e of i.children.values())e instanceof os?o.push(e.symbol):o.push(...Wr.a.map(e.children.values(),e=>e.symbol));let r=[];return n.isCancellationRequested?r:(t?function e(t,n,i){for(let o of n)t.push({kind:o.kind,tags:o.tags,name:o.name,detail:o.detail,containerName:o.containerName||i,range:o.range,selectionRange:o.selectionRange,children:void 0}),o.children&&e(t,o.children,o.name)}(r,o,""):r=o,r.sort(cs))}))}function cs(e,t){return ge.a.compareRangesUsingStarts(e.range,t.range)}Ft.a.registerCommand("_executeDocumentSymbolProvider",(function(e,...t){return as(this,void 0,void 0,(function*(){const[n]=t;Object(Jo.b)(Qe.a.isUri(n));const i=e.get(tt.a).getModel(n);if(i)return ls(i,!1,Xe.a.None);const o=yield e.get(ts.a).createModelReference(n);try{return yield ls(o.object.textEditorModel,!1,Xe.a.None)}finally{o.dispose()}}))}));n(300);var ds=n(116),hs=n(46),us=n(80),ps=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ms=function(e,t){return function(n,i){t(n,i,e)}};let gs=class extends j.a{constructor(e,t,n,i,o,r,s,a,l,c){super(e,Object.assign(Object.assign({},n.getRawOptions()),{overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()}),{},i,o,r,s,a,l,c),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(e=>this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){hs.g(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};gs=ps([ms(3,gt.a),ms(4,Me.a),ms(5,Ft.b),ms(6,K.b),ms(7,we.c),ms(8,zt.a),ms(9,us.b)],gs);n(302);var fs=n(147);const bs=new Nn.a(new Nn.c(0,122,204)),_s={showArrow:!0,showFrame:!0,className:"",frameColor:bs,arrowColor:bs,keepEditorSelection:!1};class vs{constructor(e,t,n,i,o,r){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=n,this.heightInLines=i,this._onDomNodeTop=o,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class ws{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class ys{constructor(e){this._editor=e,this._ruleName=ys._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),ft.P(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){ft.P(this._ruleName),ft.u(".monaco-editor "+this._ruleName,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:ge.a.fromPositions(e),options:{className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}ys._IdGenerator=new fs.a(".arrow-decoration-");var Cs=n(44),xs=(n(199),n(67));class Ss extends bt.b{constructor(e,t){super(),this._onDidChangeVisibility=new Lt.a,this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Object(ft.p)(e,Object(ft.a)(".monaco-dropdown")),this._label=Object(ft.p)(this._element,Object(ft.a)(".dropdown-label"));let n=t.labelRenderer;n||(n=e=>(e.textContent=t.label||"",null));for(const e of[ft.c.CLICK,ft.c.MOUSE_DOWN,Nt.a.Tap])this._register(Object(ft.i)(this.element,e,e=>ft.b.stop(e,!0)));for(const e of[ft.c.MOUSE_DOWN,Nt.a.Tap])this._register(Object(ft.i)(this._label,e,e=>{e instanceof MouseEvent&&e.detail>1||(this.visible?this.hide():this.show())}));this._register(Object(ft.i)(this._label,ft.c.KEY_UP,e=>{const t=new xs.a(e);(t.equals(3)||t.equals(10))&&(ft.b.stop(e,!0),this.visible?this.hide():this.show())}));const i=n(this._label);i&&this._register(i),this._register(Nt.b.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class ks extends Ss{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),Object(ft.e)(this.element,"active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),Object(ft.Q)(this.element,"active")}}class Es extends jn.b{constructor(e,t,n,i={}){super(null,e,i),this.options=i,this._onDidChangeVisibility=this._register(new Lt.a),this.menuActionsOrProvider=t,this.contextMenuProvider=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){const t={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=Object(ft.p)(e,Object(ft.a)("a.action-label"));const t=this.options.classNames?Object(G.b)(this.options.classNames):[];return t.find(e=>"icon"===e)||t.push("codicon"),Object(ft.f)(this.element,...t),this.element.tabIndex=0,this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild};if(Array.isArray(this.menuActionsOrProvider)?t.actions=this.menuActionsOrProvider:t.actionProvider=this.menuActionsOrProvider,this.dropdownMenu=this._register(new ks(e,t)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",""+e),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}}var Ts=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ls=function(e,t){return function(n,i){t(n,i,e)}};class Ns extends Lt.a{constructor(e){super(),this._subscriptions=new pe.b,this._isPressed=!1,this._suppressAltKeyUp=!1,this._subscriptions.add(Object(Cs.a)(document.body,"keydown")(e=>{this.isPressed=e.altKey||(Ae.i||Ae.d)&&e.shiftKey})),this._subscriptions.add(Object(Cs.a)(document.body,"keyup")(e=>{this.isPressed&&this._suppressAltKeyUp&&e.preventDefault(),this._suppressAltKeyUp=!1,this.isPressed=!1})),this._subscriptions.add(Object(Cs.a)(document.body,"mouseleave")(e=>this.isPressed=!1)),this._subscriptions.add(Object(Cs.a)(document.body,"blur")(e=>this.isPressed=!1)),this._subscriptions.add(e.onDidContextMenu(()=>this.isPressed=!1))}get isPressed(){return this._isPressed}set isPressed(e){this._isPressed=e,this.fire(this._isPressed)}suppressAltKeyUp(){this._suppressAltKeyUp=!0}static getInstance(e){return Ns.instance||(Ns.instance=new Ns(e)),Ns.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function Is(e,t,n,i){const o=e.getActions(t);return function(e,t,n,i=(e=>"navigation"===e)){for(let o of e){let[e,r]=o;if(n&&(r=r.map(e=>e instanceof ye.c&&e.alt?e.alt:e)),i(e)){(Array.isArray(t)?t:t.primary).unshift(...r)}else{const e=Array.isArray(t)?t:t.secondary;e.length>0&&e.push(new bt.c),e.push(...r)}}}(o,n,!1,i),function(e){const t=new pe.b;for(const[,n]of e)for(const e of n)t.add(e);return t}(o)}const Os=new fs.a("menu-item-action-item-icon-"),Ds=new Map;let As=class extends jn.a{constructor(e,t,n,i){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon}),this._action=e,this._keybindingService=t,this._notificationService=n,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new pe.d),this._altKey=Ns.getInstance(i)}get _commandAction(){return this._wantsAltCommand&&this._action.alt||this._action}onClick(e){e.preventDefault(),e.stopPropagation(),this._altKey.isPressed&&this._altKey.suppressAltKeyUp(),this.actionRunner.run(this._commandAction,this._context).then(void 0,e=>this._notificationService.error(e))}render(e){super.render(e),this._updateItemClass(this._action.item);let t=!1,n=this._altKey.isPressed;const i=()=>{const e=t&&n;e!==this._wantsAltCommand&&(this._wantsAltCommand=e,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._action.alt&&this._register(this._altKey.event(e=>{n=e,i()})),this._register(Object(Cs.a)(e,"mouseleave")(e=>{t=!1,i()})),this._register(Object(Cs.a)(e,"mouseenter")(e=>{t=!0,i()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const e=this._keybindingService.lookupKeybinding(this._commandAction.id),t=e&&e.getLabel(),n=this._commandAction.tooltip||this._commandAction.label;this.label.title=t?Object(U.a)("titleAndKb","{0} ({1})",n,t):n}}updateClass(){this.options.icon&&(this._commandAction!==this._action?this._action.alt&&this._updateItemClass(this._action.alt.item):this._action.alt&&this._updateItemClass(this._action.item))}_updateItemClass(e){var t,n;this._itemClassDispose.value=void 0;const i=this._commandAction.checked&&(null===(t=e.toggled)||void 0===t?void 0:t.icon)?e.toggled.icon:e.icon;if(we.e.isThemeIcon(i)){const e=we.e.asClassName(i);this.label&&e&&(Object(ft.f)(this.label,e),this._itemClassDispose.value=Object(pe.h)(()=>{this.label&&Object(ft.R)(this.label,e)}))}else if(i){let e;if(null===(n=i.dark)||void 0===n?void 0:n.scheme){const t=i.dark.toString();Ds.has(t)?e=Ds.get(t):(e=Os.nextId(),Object(ft.u)(".icon."+e,"background-image: "+Object(ft.q)(i.light||i.dark)),Object(ft.u)(`.vs-dark .icon.${e}, .hc-black .icon.${e}`,"background-image: "+Object(ft.q)(i.dark)),Ds.set(t,e)),this.label&&(Object(ft.f)(this.label,"icon",e),this._itemClassDispose.value=Object(pe.h)(()=>{this.label&&Object(ft.R)(this.label,"icon",e)}))}}}};As=Ts([Ls(1,vt.a),Ls(2,zt.a),Ls(3,_t.a)],As);let Rs=class extends Es{constructor(e,t,n){var i;const o=[];if(e.item.icon)if(we.e.isThemeIcon(e.item.icon))o.push(we.e.asClassName(e.item.icon));else if(null===(i=e.item.icon.dark)||void 0===i?void 0:i.scheme){const t=e.item.icon.dark.toString();if(Ds.has(t))o.push("icon",Ds.get(t));else{const n=Os.nextId();o.push("icon",n),Object(ft.u)(".icon."+n,"background-image: "+Object(ft.q)(e.item.icon.light||e.item.icon.dark)),Object(ft.u)(`.vs-dark .icon.${n}, .hc-black .icon.${n}`,"background-image: "+Object(ft.q)(e.item.icon.dark)),Ds.set(t,n)}}super(e,e.actions,n,{classNames:o})}};Rs=Ts([Ls(1,zt.a),Ls(2,_t.a)],Rs);var Ms=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ps=function(e,t){return function(n,i){t(n,i,e)}};const Fs=Object(gt.c)("IPeekViewService");var Ws,zs;Object(mn.b)(Fs,class{constructor(){this._widgets=new Map}addExclusiveWidget(e,t){const n=this._widgets.get(e);n&&(n.listener.dispose(),n.widget.dispose());this._widgets.set(e,{widget:t,listener:t.onDidClose(()=>{const n=this._widgets.get(e);n&&n.widget===t&&(n.listener.dispose(),this._widgets.delete(e))})})}}),(zs=Ws||(Ws={})).inPeekEditor=new K.c("inReferenceSearchEditor",!0),zs.notInPeekEditor=zs.inPeekEditor.toNegated();let Bs=class{constructor(e,t){e instanceof gs&&Ws.inPeekEditor.bindTo(t)}dispose(){}};Bs.ID="editor.contrib.referenceController",Bs=Ms([Ps(1,K.b)],Bs),Object(V.m)(Bs.ID,Bs);const js={headerBackgroundColor:Nn.a.white,primaryHeadingColor:Nn.a.fromHex("#333333"),secondaryHeadingColor:Nn.a.fromHex("#6c6c6cb3")};let Vs=class extends class{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new pe.b,this.container=null,this._isShowing=!1,this.editor=e,this.options=hs.c(t),hs.g(this.options,_s,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{const t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new ys(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){if(this.domNode.style.height=e+"px",this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=t+"px";const n=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(n))}this._resizeSash&&this._resizeSash.layout()}get position(){const[e]=this._positionMarkerId;if(!e)return;const t=this.editor.getModel();if(!t)return;const n=t.getDecorationRange(e);return n?n.getStartPosition():void 0}show(e,t){const n=ge.a.isIRange(e)?ge.a.lift(e):ge.a.fromPositions(e);this._isShowing=!0,this._showImpl(n,t),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:n,options:be.a.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let e=this.editor.getOption(51),t=0;if(this.options.showArrow){t+=2*Math.round(e/3)}if(this.options.showFrame){t+=2*Math.round(e/9)}return t}_showImpl(e,t){const n=e.getStartPosition(),i=this.editor.getLayoutInfo(),o=this._getWidth(i);this.domNode.style.width=o+"px",this.domNode.style.left=this._getLeft(i)+"px";const r=document.createElement("div");r.style.overflow="hidden";const s=this.editor.getOption(51),a=Math.max(12,this.editor.getLayoutInfo().height/s*.8);t=Math.min(t,a);let l=0,c=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(s/3),this._arrow.height=l,this._arrow.show(n)),this.options.showFrame&&(c=Math.round(s/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new vs(r,n.lineNumber,n.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e)),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new ws("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const e=this.options.frameWidth?this.options.frameWidth:c;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let d=t*s-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=d+"px",this.container.style.overflow="hidden"),this._doLayout(d,o),this.options.keepEditorSelection||this.editor.setSelection(e);const h=this.editor.getModel();if(h){const t=e.endLineNumber+1;t<=h.getLineCount()?this.revealLine(t,!1):this.revealLine(h.getLineCount(),!0)}}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),ft.e(this.container,e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;let e;this._resizeSash=this._disposables.add(new $i.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){let n=(t.currentY-e.startY)/this.editor.getOption(51),i=n<0?Math.ceil(n):Math.floor(n),o=e.heightInLines+i;o>5&&o<35&&this._relayout(o)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}{constructor(e,t,n){super(e,t),this.instantiationService=n,this._onDidClose=new Lt.a,this.onDidClose=this._onDidClose.event,hs.g(this.options,js,!1)}dispose(){super.dispose(),this._onDidClose.fire(this)}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=ft.a(".head"),this._bodyElement=ft.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const n=ft.a(".peekview-title");ft.p(this._headElement,n),ft.n(n,"click",e=>this._onTitleClick(e)),this._fillTitleIcon(n),this._primaryHeading=ft.a("span.filename"),this._secondaryHeading=ft.a("span.dirname"),this._metaHeading=ft.a("span.meta"),ft.p(n,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=ft.a(".peekview-actions");ft.p(this._headElement,i);const o=this._getActionBarOptions();this._actionbarWidget=new ds.a(i,o),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new bt.a("peekview.close",U.a("label.close","Close"),Y.a.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:e=>e instanceof ye.c?this.instantiationService.createInstance(As,e):e instanceof ye.e?this.instantiationService.createInstance(Rs,e):void 0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("aria-label",e),t?this._secondaryHeading.innerText=t:ft.s(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,ft.Z(this._metaHeading)):ft.K(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0)return void this.dispose();const n=Math.ceil(1.2*this.editor.getOption(51)),i=Math.round(e-(n+2));this._doLayoutHead(n,t),this._doLayoutBody(i,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=e+"px")}};Vs=Ms([Ps(2,gt.a)],Vs);const Us=Object(ve.gc)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},U.a("peekViewTitleBackground","Background color of the peek view title area.")),Hs=Object(ve.gc)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},U.a("peekViewTitleForeground","Color of the peek view title.")),qs=Object(ve.gc)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},U.a("peekViewTitleInfoForeground","Color of the peek view title info.")),$s=Object(ve.gc)("peekView.border",{dark:"#007acc",light:"#007acc",hc:ve.h},U.a("peekViewBorder","Color of the peek view borders and arrow.")),Ks=Object(ve.gc)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:Nn.a.black},U.a("peekViewResultsBackground","Background color of the peek view result list.")),Gs=Object(ve.gc)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:Nn.a.white},U.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),Ys=Object(ve.gc)("peekViewResult.fileForeground",{dark:Nn.a.white,light:"#1E1E1E",hc:Nn.a.white},U.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Zs=Object(ve.gc)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},U.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),Xs=Object(ve.gc)("peekViewResult.selectionForeground",{dark:Nn.a.white,light:"#6C6C6C",hc:Nn.a.white},U.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),Qs=Object(ve.gc)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:Nn.a.black},U.a("peekViewEditorBackground","Background color of the peek view editor.")),Js=Object(ve.gc)("peekViewEditorGutter.background",{dark:Qs,light:Qs,hc:Qs},U.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),ea=Object(ve.gc)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},U.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),ta=Object(ve.gc)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},U.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),na=Object(ve.gc)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:ve.b},U.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));var ia=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class oa{constructor(e,t,n,i,o){this.isProviderFirst=e,this.parent=t,this.uri=n,this._range=i,this._rangeCallback=o,this.id=fs.b.nextId()}get range(){return this._range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){return Object(U.a)("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(jt.b)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class ra{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const n=this._modelReference.object.textEditorModel;if(!n)return;const{startLineNumber:i,startColumn:o,endLineNumber:r,endColumn:s}=e,a=n.getWordUntilPosition({lineNumber:i,column:o-t}),l=new ge.a(i,a.startColumn,i,o),c=new ge.a(r,s,r,1073741824),d=n.getValueInRange(l).replace(/^\s+/,""),h=n.getValueInRange(e);return{value:d+h+n.getValueInRange(c).replace(/\s+$/,""),highlight:{start:d.length,end:d.length+h.length}}}}class sa{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new gn.b}dispose(){Object(pe.f)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return 1===e?Object(U.a)("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(jt.b)(this.uri),this.uri.fsPath):Object(U.a)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Object(jt.b)(this.uri),this.uri.fsPath)}resolve(e){return ia(this,void 0,void 0,(function*(){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{const n=yield e.createModelReference(t.uri);this._previews.set(t.uri,new ra(n))}catch(e){Object(Z.e)(e)}return this}))}}class aa{constructor(e,t){this._disposables=new pe.b,this.groups=[],this.references=[],this._onDidChangeReferenceRange=new Lt.a,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[n]=e;let i;e.sort(aa._compareReferences);for(let t of e)if(i&&jt.e.isEqual(i.uri,t.uri,!0)||(i=new sa(this,t.uri),this.groups.push(i)),0===i.children.length||0!==aa._compareReferences(t,i.children[i.children.length-1])){const e=new oa(n===t,i,t.uri,t.targetSelectionRange||t.range,e=>this._onDidChangeReferenceRange.fire(e));this.references.push(e),i.children.push(e)}}dispose(){Object(pe.f)(this.groups),this._disposables.dispose(),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new aa(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?Object(U.a)("aria.result.0","No results found"):1===this.references.length?Object(U.a)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?Object(U.a)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object(U.a)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:n}=e,i=n.children.indexOf(e),o=n.children.length,r=n.parent.groups.length;return 1===r||t&&i+1<o||!t&&i>0?(i=t?(i+1)%o:(i+o-1)%o,n.children[i]):(i=n.parent.groups.indexOf(n),t?(i=(i+1)%r,n.parent.groups[i].children[0]):(i=(i+r-1)%r,n.parent.groups[i].children[n.parent.groups[i].children.length-1]))}nearestReference(e,t){const n=this.references.map((n,i)=>({idx:i,prefixLen:Ye.d(n.uri.toString(),e.toString()),offsetDist:100*Math.abs(n.range.startLineNumber-t.lineNumber)+Math.abs(n.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLen<t.prefixLen?1:e.offsetDist<t.offsetDist?-1:e.offsetDist>t.offsetDist?1:0)[0];if(n)return this.references[n.idx]}referenceAt(e,t){for(const n of this.references)if(n.uri.toString()===e.toString()&&ge.a.containsPosition(n.range,t))return n}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return jt.e.compare(e.uri,t.uri)||ge.a.compareRangesUsingStarts(e.range,t.range)}}n(305);var la=n(45),ca=n(172),da=n(185),ha=n(159),ua=n(93),pa=n(42);function ma(e,t,n){if("string"==typeof e&&(e=Qe.a.file(e)),n){const t=n.getWorkspaceFolder(e);if(t){const i=n.getWorkspace().folders.length>1;let o;if(o=Object(jt.f)(t.uri,e)?"":Object(jt.j)(t.uri,e),i){const e=t.name?t.name:Object(jt.b)(t.uri);o=o?e+" • "+o:e}return o}}if(e.scheme!==la.b.file&&e.scheme!==la.b.untitled)return e.with({query:null,fragment:null}).toString(!0);if(fa(e.fsPath))return Object(pa.d)(ba(e.fsPath));let i=Object(pa.d)(e.fsPath);return!Ae.i&&(null==t?void 0:t.userHome)&&(i=function(e,t){if(Ae.i||!e||!t)return e;let n=_a.original===t?_a.normalized:void 0;n||(n=`${Object(Ye.Q)(t,pa.e.sep)}${pa.e.sep}`,_a={original:t,normalized:n});(Ae.d?e.startsWith(n):Object(Ye.T)(e,n))&&(e="~/"+e.substr(n.length));return e}(i,t.userHome.fsPath)),i}function ga(e){if(!e)return;"string"==typeof e&&(e=Qe.a.file(e));const t=Object(jt.b)(e)||(e.scheme===la.b.file?e.fsPath:e.path);return fa(t)?ba(t):t}function fa(e){return!(!Ae.i||!e||":"!==e[1])}function ba(e){return fa(e)?e.charAt(0).toUpperCase()+e.slice(1):e}let _a=Object.create(null);var va=n(71),wa=n(156),ya=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ca=function(e,t){return function(n,i){t(n,i,e)}};let xa=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof aa||e instanceof sa}getChildren(e){if(e instanceof aa)return e.groups;if(e instanceof sa)return e.resolve(this._resolverService).then(e=>e.children);throw new Error("bad tree")}};xa=ya([Ca(0,ts.a)],xa);class Sa{getHeight(){return 23}getTemplateId(e){return e instanceof sa?La.id:Ia.id}}let ka=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof oa){const n=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(n)return n.value}return Object(jt.b)(e.uri)}};ka=ya([Ca(0,vt.a)],ka);class Ea{getId(e){return e instanceof oa?e.id:e.uri}}let Ta=class extends pe.a{constructor(e,t,n){super(),this._uriLabel=t;const i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new ca.a(i,{supportHighlights:!0})),this.badge=new da.a(ft.p(i,ft.a(".count"))),this._register(Object(ua.a)(this.badge,n)),e.appendChild(i)}set(e,t){let n=Object(jt.d)(e.uri);this.file.setLabel(ga(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});const i=e.children.length;this.badge.setCount(i),i>1?this.badge.setTitleFormat(Object(U.a)("referencesCount","{0} references",i)):this.badge.setTitleFormat(Object(U.a)("referenceCount","{0} reference",i))}};Ta=ya([Ca(1,ha.a),Ca(2,we.c)],Ta);let La=class e{constructor(t){this._instantiationService=t,this.templateId=e.id}renderTemplate(e){return this._instantiationService.createInstance(Ta,e)}renderElement(e,t,n){n.set(e.element,Object(va.c)(e.filterData))}disposeTemplate(e){e.dispose()}};La.id="FileReferencesRenderer",La=ya([Ca(0,gt.a)],La);class Na{constructor(e){this.label=new wa.a(e,!1)}set(e,t){var n;const i=null===(n=e.parent.getPreview(e))||void 0===n?void 0:n.preview(e.range);if(i&&i.value){const{value:e,highlight:n}=i;t&&!va.a.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,Object(va.c)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[n]))}else this.label.set(`${Object(jt.b)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Ia{constructor(){this.templateId=Ia.id}renderTemplate(e){return new Na(e)}renderElement(e,t,n){n.set(e.element,e.filterData)}disposeTemplate(){}}Ia.id="OneReferenceRenderer";class Oa{getWidgetAriaLabel(){return Object(U.a)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var Da=n(136);n(307);const Aa={separatorBorder:Nn.a.transparent};class Ra{constructor(e,t,n,i){this.container=e,this.view=t,this.disposable=i,this._cachedVisibleSize=void 0,"number"==typeof n?(this._size=n,this._cachedVisibleSize=void 0,ft.e(e,"visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=Object(ns.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),ft.ab(this.container,"visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class Ma extends Ra{layoutContainer(e){this.container.style.top=e+"px",this.container.style.height=this.size+"px"}}class Pa extends Ra{layoutContainer(e){this.container.style.left=e+"px",this.container.style.width=this.size+"px"}}var Fa,Wa;!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(Fa||(Fa={})),function(e){e.Distribute={type:"distribute"},e.Split=function(e){return{type:"split",index:e}},e.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}}}(Wa||(Wa={}));class za extends pe.a{constructor(e,t={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=Fa.Idle,this._onDidSashChange=this._register(new Lt.a),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new Lt.a),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=Jo.k(t.orientation)?0:t.orientation,this.inverseAltBehavior=!!t.inverseAltBehavior,this.proportionalLayout=!!Jo.k(t.proportionalLayout)||!!t.proportionalLayout,this.el=document.createElement("div"),ft.e(this.el,"monaco-split-view2"),ft.e(this.el,0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=ft.p(this.el,ft.a(".sash-container")),this.viewContainer=ft.p(this.el,ft.a(".split-view-container")),this.style(t.styles||Aa),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{const n=Jo.k(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},i=e.view;this.doAddView(i,n,t,!0)}),this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(ft.Q(this.el,"separator-border"),this.el.style.removeProperty("--separator-border")):(ft.e(this.el,"separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,n=this.viewItems.length,i){this.doAddView(e,t,n,i)}layout(e,t){const n=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let t=0;t<this.viewItems.length;t++){const n=this.viewItems[t];n.size=Object(ns.b)(Math.round(this.proportions[t]*e),n.minimumSize,n.maximumSize)}else{const t=Object(G.s)(this.viewItems.length),i=t.filter(e=>1===this.viewItems[e].priority),o=t.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-n,void 0,i,o)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:n}){for(const e of this.viewItems)e.enabled=!1;const i=Object(G.j)(this.sashItems,t=>t.sash===e),o=Object(pe.e)(Object(Cs.a)(document.body,"keydown")(e=>r(this.sashDragState.current,e.altKey)),Object(Cs.a)(document.body,"keyup")(()=>r(this.sashDragState.current,!1))),r=(e,t)=>{const n=this.viewItems.map(e=>e.size);let r,s,a=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){if(i===this.sashItems.length-1){const e=this.viewItems[i];a=(e.minimumSize-e.size)/2,l=(e.maximumSize-e.size)/2}else{const e=this.viewItems[i+1];a=(e.size-e.maximumSize)/2,l=(e.size-e.minimumSize)/2}}if(!t){const e=Object(G.s)(i,-1),t=Object(G.s)(i+1,this.viewItems.length),o=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-n[t]),0),a=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-n[t]),0),l=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(n[t]-this.viewItems[t].minimumSize),0),c=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(n[t]-this.viewItems[t].viewMaximumSize),0),d=Math.max(o,c),h=Math.min(l,a),u=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof u){const e=this.viewItems[u],t=Math.floor(e.viewMinimumSize/2);r={index:u,limitDelta:e.visible?d-t:d+t,size:e.size}}if("number"==typeof p){const e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);s={index:p,limitDelta:e.visible?h+t:h-t,size:e.size}}}this.sashDragState={start:e,current:e,index:i,sizes:n,minDelta:a,maxDelta:l,alt:t,snapBefore:r,snapAfter:s,disposable:o}};r(t,n)}onSashChange({current:e}){const{index:t,start:n,sizes:i,alt:o,minDelta:r,maxDelta:s,snapBefore:a,snapAfter:l}=this.sashDragState;this.sashDragState.current=e;const c=e-n,d=this.resize(t,c,i,void 0,void 0,r,s,a,l);if(o){const e=t===this.sashItems.length-1,n=this.viewItems.map(e=>e.size),i=e?t:t+1,o=this.viewItems[i],r=o.size-o.maximumSize,s=o.size-o.minimumSize,a=e?t-1:t+1;this.resize(a,-d,n,void 0,void 0,r,s)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const e of this.viewItems)e.enabled=!0}onViewChange(e,t){const n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=Object(ns.b)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))}resizeView(e,t){if(this.state!==Fa.Idle)throw new Error("Cant modify splitview");if(this.state=Fa.Busy,e<0||e>=this.viewItems.length)return;const n=Object(G.s)(this.viewItems.length).filter(t=>t!==e),i=[...n.filter(e=>1===this.viewItems[e].priority),e],o=n.filter(e=>2===this.viewItems[e].priority),r=this.viewItems[e];t=Math.round(t),t=Object(ns.b)(t,r.minimumSize,Math.min(r.maximumSize,this.size)),r.size=t,this.relayout(i,o),this.state=Fa.Idle}distributeViewSizes(){const e=[];let t=0;for(const n of this.viewItems)n.maximumSize-n.minimumSize>0&&(e.push(n),t+=n.size);const n=Math.floor(t/e.length);for(const t of e)t.size=Object(ns.b)(n,t.minimumSize,t.maximumSize);const i=Object(G.s)(this.viewItems.length),o=i.filter(e=>1===this.viewItems[e].priority),r=i.filter(e=>2===this.viewItems[e].priority);this.relayout(o,r)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,n=this.viewItems.length,i){if(this.state!==Fa.Idle)throw new Error("Cant modify splitview");this.state=Fa.Busy;const o=ft.a(".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(o):this.viewContainer.insertBefore(o,this.viewContainer.children.item(n));const r=e.onDidChange(e=>this.onViewChange(c,e)),s=Object(pe.h)(()=>this.viewContainer.removeChild(o)),a=Object(pe.e)(r,s);let l;l="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const c=0===this.orientation?new Ma(o,e,l,a):new Pa(o,e,l,a);if(this.viewItems.splice(n,0,c),this.viewItems.length>1){const e=0===this.orientation?new $i.a(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e)},{orientation:1,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}):new $i.a(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e)},{orientation:0,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),t=0===this.orientation?t=>({sash:e,start:t.startY,current:t.currentY,alt:t.altKey}):t=>({sash:e,start:t.startX,current:t.currentX,alt:t.altKey}),i=Lt.b.map(e.onDidStart,t)(this.onSashStart,this),o=Lt.b.map(e.onDidChange,t)(this.onSashChange,this),r=Lt.b.map(e.onDidEnd,()=>Object(G.j)(this.sashItems,t=>t.sash===e))(this.onSashEnd,this),s=e.onDidReset(()=>{const t=Object(G.j)(this.sashItems,t=>t.sash===e),n=Object(G.s)(t,-1),i=Object(G.s)(t+1,this.viewItems.length),o=this.findFirstSnapIndex(n),r=this.findFirstSnapIndex(i);("number"!=typeof o||this.viewItems[o].visible)&&("number"!=typeof r||this.viewItems[r].visible)&&this._onDidSashReset.fire(t)}),a=Object(pe.e)(i,o,r,s,e),l={sash:e,disposable:a};this.sashItems.splice(n-1,0,l)}let d;o.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(d=[t.index]),i||this.relayout([n],d),this.state=Fa.Idle,i||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){const n=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,n=this.viewItems.map(e=>e.size),i,o,r=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY,a,l){if(e<0||e>=this.viewItems.length)return 0;const c=Object(G.s)(e,-1),d=Object(G.s)(e+1,this.viewItems.length);if(o)for(const e of o)Object(G.r)(c,e),Object(G.r)(d,e);if(i)for(const e of i)Object(G.q)(c,e),Object(G.q)(d,e);const h=c.map(e=>this.viewItems[e]),u=c.map(e=>n[e]),p=d.map(e=>this.viewItems[e]),m=d.map(e=>n[e]),g=c.reduce((e,t)=>e+(this.viewItems[t].minimumSize-n[t]),0),f=c.reduce((e,t)=>e+(this.viewItems[t].maximumSize-n[t]),0),b=0===d.length?Number.POSITIVE_INFINITY:d.reduce((e,t)=>e+(n[t]-this.viewItems[t].minimumSize),0),_=0===d.length?Number.NEGATIVE_INFINITY:d.reduce((e,t)=>e+(n[t]-this.viewItems[t].maximumSize),0),v=Math.max(g,_,r),w=Math.min(b,f,s);let y=!1;if(a){const e=this.viewItems[a.index],n=t>=a.limitDelta;y=n!==e.visible,e.setVisible(n,a.size)}if(!y&&l){const e=this.viewItems[l.index],n=t<l.limitDelta;y=n!==e.visible,e.setVisible(n,l.size)}if(y)return this.resize(e,t,n,i,o,r,s);for(let e=0,n=t=Object(ns.b)(t,v,w);e<h.length;e++){const t=h[e],i=Object(ns.b)(u[e]+n,t.minimumSize,t.maximumSize);n-=i-u[e],t.size=i}for(let e=0,n=t;e<p.length;e++){const t=p[e],i=Object(ns.b)(m[e]-n,t.minimumSize,t.maximumSize);n+=i-m[e],t.size=i}return t}distributeEmptySpace(e){const t=this.viewItems.reduce((e,t)=>e+t.size,0);let n=this.size-t;const i=Object(G.s)(this.viewItems.length-1,-1),o=i.filter(e=>1===this.viewItems[e].priority),r=i.filter(e=>2===this.viewItems[e].priority);for(const e of r)Object(G.r)(i,e);for(const e of o)Object(G.q)(i,e);"number"==typeof e&&Object(G.q)(i,e);for(let e=0;0!==n&&e<i.length;e++){const t=this.viewItems[i[e]],o=Object(ns.b)(t.size+n,t.minimumSize,t.maximumSize);n-=o-t.size,t.size=o}}layoutViews(){this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement()}updateSashEnablement(){let e=!1;const t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;const n=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),i=[...this.viewItems].reverse();e=!1;const o=i.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;const r=i.map(t=>e=t.maximumSize-t.size>0||e).reverse();let s=0;for(let e=0;e<this.sashItems.length;e++){const{sash:i}=this.sashItems[e];s+=this.viewItems[e].size;const a=!(t[e]&&r[e+1]),l=!(n[e]&&o[e+1]);if(a&&l){const n=Object(G.s)(e,-1),r=Object(G.s)(e+1,this.viewItems.length),a=this.findFirstSnapIndex(n),l=this.findFirstSnapIndex(r),c="number"==typeof a&&!this.viewItems[a].visible,d="number"==typeof l&&!this.viewItems[l].visible;c&&o[e]&&(s>0||this.startSnappingEnabled)?i.state=1:d&&t[e]&&(s<this.contentSize||this.endSnappingEnabled)?i.state=2:i.state=0}else i.state=a&&!l?1:!a&&l?2:3}}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}dispose(){super.dispose(),this.viewItems.forEach(e=>e.dispose()),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}var Ba=n(150),ja=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Va=function(e,t){return function(n,i){t(n,i,e)}},Ua=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Ha{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new pe.b,this._callOnModelChange=new pe.b,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e)for(let t of this._model.references)if(t.uri.toString()===e.uri.toString())return void this._addDecorations(t.parent)}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const t=[],n=[];for(let i=0,o=e.children.length;i<o;i++){let o=e.children[i];this._decorationIgnoreSet.has(o.id)||o.uri.toString()===this._editor.getModel().uri.toString()&&(t.push({range:o.range,options:Ha.DecorationOptions}),n.push(i))}const i=this._editor.deltaDecorations([],t);for(let t=0;t<i.length;t++)this._decorations.set(i[t],e.children[n[t]])}_onDecorationChanged(){const e=[],t=this._editor.getModel();if(t){for(let[n,i]of this._decorations){const o=t.getDecorationRange(n);if(!o)continue;let r=!1;if(!ge.a.equalsRange(o,i.range)){if(ge.a.spansMultipleLines(o))r=!0;else{i.range.endColumn-i.range.startColumn!==o.endColumn-o.startColumn&&(r=!0)}r?(this._decorationIgnoreSet.add(i.id),e.push(n)):i.range=o}}for(let t=0,n=e.length;t<n;t++)this._decorations.delete(e[t]);this._editor.deltaDecorations(e,[])}}removeDecorations(){this._editor.deltaDecorations([...this._decorations.keys()],[]),this._decorations.clear()}}Ha.DecorationOptions=be.a.register({stickiness:1,className:"reference-decoration"});class qa extends Da.c{}let $a=class extends Vs{constructor(e,t,n,i,o,r,s,a,l,c){super(e,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0},r),this._defaultTreeKeyboardSupport=t,this.layoutData=n,this._textModelResolverService=o,this._instantiationService=r,this._peekViewService=s,this._uriLabel=a,this._undoRedoService=l,this._keybindingService=c,this._disposeOnNewModel=new pe.b,this._callOnDispose=new pe.b,this._onDidSelectReference=new Lt.a,this.onDidSelectReference=this._onDidSelectReference.event,this._dim={height:0,width:0},this._applyTheme(i.getColorTheme()),this._callOnDispose.add(i.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(e,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),Object(pe.f)(this._preview),Object(pe.f)(this._previewNotAvailableMessage),Object(pe.f)(this._tree),Object(pe.f)(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(e){const t=e.getColor($s)||Nn.a.transparent;this.style({arrowColor:t,frameColor:t,headerBackgroundColor:e.getColor(Us)||Nn.a.transparent,primaryHeadingColor:e.getColor(Hs),secondaryHeadingColor:e.getColor(qs)})}show(e){this.editor.revealRangeInCenterIfOutsideViewport(e,0),super.show(e,this.layoutData.heightInLines||18)}focusOnReferenceTree(){this._tree.domFocus()}focusOnPreviewEditor(){this._preview.focus()}isPreviewEditorFocused(){return this._preview.hasTextFocus()}_onTitleClick(e){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"title"})}_fillBody(e){this.setCssClass("reference-zone-widget"),this._messageContainer=ft.p(e,ft.a("div.messages")),ft.K(this._messageContainer),this._splitView=new za(e,{orientation:1}),this._previewContainer=ft.p(e,ft.a("div.preview.inline"));this._preview=this._instantiationService.createInstance(gs,this._previewContainer,{scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}},this.editor),ft.K(this._previewContainer),this._previewNotAvailableMessage=new be.b(U.a("missingPreviewMessage","no preview available"),be.b.DEFAULT_CREATION_OPTIONS,null,null,this._undoRedoService),this._treeContainer=ft.p(e,ft.a("div.ref-tree.inline"));const t={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Oa,keyboardNavigationLabelProvider:this._instantiationService.createInstance(ka),identityProvider:new Ea,openOnSingleClick:!0,openOnFocus:!0,overrideStyles:{listBackground:Ks}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(ft.n(this._treeContainer,"keydown",e=>{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(qa,"ReferencesWidget",this._treeContainer,new Sa,[this._instantiationService.createInstance(La),this._instantiationService.createInstance(Ia)],this._instantiationService.createInstance(xa),t),this._splitView.addView({onDidChange:Lt.b.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},Wa.Distribute),this._splitView.addView({onDidChange:Lt.b.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=this._dim.height+"px",this._treeContainer.style.width=e+"px",this._tree.layout(this._dim.height,e)}},Wa.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let n=(e,t)=>{e instanceof oa&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?n(e.element,"side"):e.editorOptions.pinned?n(e.element,"goto"):n(e.element,"show")}),ft.K(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim={height:e,width:t},this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=U.a("noResults","No results"),ft.Z(this._messageContainer),Promise.resolve(void 0)):(ft.K(this._messageContainer),this._decorationsManager=new Ha(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{const{event:t,target:n}=e;if(2!==t.detail)return;const i=this._getFocusedReference();i&&this._onDidSelectReference.fire({element:{uri:i.uri,range:n.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),ft.Z(this._treeContainer),ft.Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[e]=this._tree.getFocus();return e instanceof oa?e:e instanceof sa&&e.children.length>0?e.children[0]:void 0}revealReference(e){return Ua(this,void 0,void 0,(function*(){yield this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}))}_revealReference(e,t){return Ua(this,void 0,void 0,(function*(){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==la.b.inMemory?this.setTitle(Object(jt.c)(e.uri),this._uriLabel.getUriLabel(Object(jt.d)(e.uri))):this.setTitle(U.a("peekView.alternateTitle","References"));const n=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),yield this._tree.expand(e.parent)),this._tree.reveal(e);const i=yield n;if(!this._model)return void i.dispose();Object(pe.f)(this._previewModelReference);const o=i.object;if(o){const t=this._preview.getModel()===o.textEditorModel?0:1,n=ge.a.lift(e.range).collapseToStart();this._previewModelReference=i,this._preview.setModel(o.textEditorModel),this._preview.setSelection(n),this._preview.revealRangeInCenter(n,t)}else this._preview.setModel(this._previewNotAvailableMessage),i.dispose()}))}};$a=ja([Va(3,we.c),Va(4,ts.a),Va(5,gt.a),Va(6,Fs),Va(7,ha.a),Va(8,Ba.a),Va(9,vt.a)],$a),Object(we.g)((e,t)=>{const n=e.getColor(ea);n&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${n}; }`);const i=e.getColor(ta);i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${i}; }`);const o=e.getColor(na);o&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${o}; box-sizing: border-box; }`);const r=e.getColor(ve.b);r&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${r}; box-sizing: border-box; }`);const s=e.getColor(Ks);s&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${s}; }`);const a=e.getColor(Gs);a&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${a}; }`);const l=e.getColor(Ys);l&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${l}; }`);const c=e.getColor(Zs);c&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${c}; }`);const d=e.getColor(Xs);d&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${d} !important; }`);const h=e.getColor(Qs);h&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: ${h};}`);const u=e.getColor(Js);u&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: ${u};}`)});var Ka=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ga=function(e,t){return function(n,i){t(n,i,e)}},Ya=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Za=new K.c("referenceSearchVisible",!1);let Xa=class e{constructor(e,t,n,i,o,r,s,a){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=i,this._notificationService=o,this._instantiationService=r,this._storageService=s,this._configurationService=a,this._disposables=new pe.b,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=Za.bindTo(n)}static get(t){return t.getContribution(e.ID)}dispose(){this._referenceSearchVisible.reset(),this._disposables.dispose(),Object(pe.f)(this._widget),Object(pe.f)(this._model),this._widget=void 0,this._model=void 0}toggleWidget(e,t,n){let i;if(this._widget&&(i=this._widget.position),this.closeWidget(),i&&e.containsPosition(i))return;this._peekMode=n,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const o=class{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(e){let t,n;try{const i=JSON.parse(e);t=i.ratio,n=i.heightInLines}catch(e){}return{ratio:t||.7,heightInLines:n||18}}}.fromJSON(this._storageService.get("peekViewLayout",0,"{}"));this._widget=this._instantiationService.createInstance($a,this._editor,this._defaultTreeKeyboardSupport,o),this._widget.setTitle(U.a("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store("peekViewLayout",JSON.stringify(this._widget.layoutData),0),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{let{element:t,kind:i}=e;if(t)switch(i){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1);break;case"side":this.openReference(t,!0);break;case"goto":n?this._gotoReference(t):this.openReference(t,!1)}}));const r=++this._requestIdPool;t.then(t=>{if(r===this._requestIdPool&&this._widget)return this._model&&this._model.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(U.a("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,n=new me.a(e.startLineNumber,e.startColumn),i=this._model.nearestReference(t,n);if(i)return this._widget.setSelection(i).then(()=>{this._widget&&"editor"===this._editor.getOption(68)&&this._widget.focusOnPreviewEditor()})}})},e=>{this._notificationService.error(e)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return Ya(this,void 0,void 0,(function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const n=this._model.nearestReference(this._editor.getModel().uri,t);if(!n)return;const i=this._model.nextOrPreviousReference(n,e),o=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(i),yield this._gotoReference(i),o?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()}))}revealReference(e){return Ya(this,void 0,void 0,(function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))}))}closeWidget(e=!0){Object(pe.f)(this._widget),Object(pe.f)(this._model),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(t){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const n=ge.a.lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:n}},this._editor).then(t=>{var i;if(this._ignoreModelChangeEvent=!1,t&&this._widget)if(this._editor===t)this._widget.show(n),this._widget.focusOnReferenceTree();else{const o=e.get(t),r=this._model.clone();this.closeWidget(),t.focus(),o.toggleWidget(n,Object(ue.f)(e=>Promise.resolve(r)),null!==(i=this._peekMode)&&void 0!==i&&i)}else this.closeWidget()},e=>{this._ignoreModelChangeEvent=!1,Object(Z.e)(e)})}openReference(e,t){t||this.closeWidget();const{uri:n,range:i}=e;this._editorService.openCodeEditor({resource:n,options:{selection:i}},this._editor,t)}};function Qa(e,t){const n=function(e){let t=e.get(Me.a).getFocusedCodeEditor();return t instanceof gs?t.getParentEditor():t}(e);if(!n)return;let i=Xa.get(n);i&&t(i)}Xa.ID="editor.contrib.referencesController",Xa=Ka([Ga(2,K.b),Ga(3,Me.a),Ga(4,zt.a),Ga(5,gt.a),Ga(6,fn.a),Ga(7,On.a)],Xa),Zi.a.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object($.a)(2089,60),when:K.a.or(Za,Ws.inPeekEditor),handler(e){Qa(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),Zi.a.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:K.a.or(Za,Ws.inPeekEditor),handler(e){Qa(e,e=>{e.goToNextOrPreviousReference(!0)})}}),Zi.a.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:K.a.or(Za,Ws.inPeekEditor),handler(e){Qa(e,e=>{e.goToNextOrPreviousReference(!1)})}}),Ft.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),Ft.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),Ft.a.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),Ft.a.registerCommand("closeReferenceSearch",e=>Qa(e,e=>e.closeWidget())),Zi.a.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:K.a.and(Ws.inPeekEditor,K.a.not("config.editor.stablePeek"))}),Zi.a.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:K.a.and(Za,K.a.not("config.editor.stablePeek"))}),Zi.a.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:K.a.and(Za,Da.e),handler(e){var t;const n=null===(t=e.get(Da.a).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof oa&&Qa(e,e=>e.revealReference(n[0]))}}),Zi.a.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:K.a.and(Za,Da.e),handler(e){var t;const n=null===(t=e.get(Da.a).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof oa&&Qa(e,e=>e.openReference(n[0],!0))}}),Ft.a.registerCommand("openReference",e=>{var t;const n=null===(t=e.get(Da.a).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof oa&&Qa(e,e=>e.openReference(n[0],!1))});var Ja=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function el(e,t,n,i){const o=n.ordered(e).map(n=>Promise.resolve(i(n,e,t)).then(void 0,e=>{Object(Z.f)(e)}));return Promise.all(o).then(e=>{const t=[];for(let n of e)Array.isArray(n)?t.push(...n):n&&t.push(n);return t})}function tl(e,t,n){return el(e,t,et.f,(e,t,i)=>e.provideDefinition(t,i,n))}function nl(e,t,n){return el(e,t,et.e,(e,t,i)=>e.provideDeclaration(t,i,n))}function il(e,t,n){return el(e,t,et.q,(e,t,i)=>e.provideImplementation(t,i,n))}function ol(e,t,n){return el(e,t,et.D,(e,t,i)=>e.provideTypeDefinition(t,i,n))}function rl(e,t,n,i){return el(e,t,et.v,(e,t,o)=>Ja(this,void 0,void 0,(function*(){const r=yield e.provideReferences(t,o,{includeDeclaration:!0},i);if(!n||!r||2!==r.length)return r;const s=yield e.provideReferences(t,o,{includeDeclaration:!1},i);return s&&1===s.length?s:r})))}Object(V.p)("_executeDefinitionProvider",(e,t)=>tl(e,t,Xe.a.None)),Object(V.p)("_executeDeclarationProvider",(e,t)=>nl(e,t,Xe.a.None)),Object(V.p)("_executeImplementationProvider",(e,t)=>il(e,t,Xe.a.None)),Object(V.p)("_executeTypeDefinitionProvider",(e,t)=>ol(e,t,Xe.a.None)),Object(V.p)("_executeReferenceProvider",(e,t)=>rl(e,t,!1,Xe.a.None));var sl=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},al=function(e,t){return function(n,i){t(n,i,e)}};const ll=new K.c("hasSymbols",!1),cl=Object(gt.c)("ISymbolNavigationService");let dl=class{constructor(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=ll.bindTo(e)}reset(){this._ctxHasSymbols.reset(),Object(pe.f)(this._currentState),Object(pe.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1}put(e){const t=e.parent.parent;if(t.references.length<=1)return void this.reset();this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();const n=new hl(this._editorService),i=n.onDidChange(e=>{if(this._ignoreEditorChange)return;const n=this._editorService.getActiveCodeEditor();if(!n)return;const i=n.getModel(),o=n.getPosition();if(!i||!o)return;let r=!1,s=!1;for(const e of t.references)if(Object(jt.f)(e.uri,i.uri))r=!0,s=s||ge.a.containsPosition(e.range,o);else if(r)break;r&&s||this.reset()});this._currentState=Object(pe.e)(n,i)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:ge.a.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){Object(pe.f)(this._currentMessage);const e=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),t=e?Object(U.a)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,e.getLabel()):Object(U.a)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(t)}};dl=sl([al(0,K.b),al(1,Me.a),al(2,zt.a),al(3,vt.a)],dl),Object(mn.b)(cl,dl,!0),Object(V.l)(new class extends V.c{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:ll,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(cl).revealNext(t)}}),Zi.a.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:ll,primary:9,handler(e){e.get(cl).reset()}});let hl=class{constructor(e){this._listener=new Map,this._disposables=new pe.b,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),Object(pe.f)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,Object(pe.e)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){Object(pe.f)(this._listener.get(e)),this._listener.delete(e)}};hl=sl([al(0,Me.a)],hl);var ul,pl,ml,gl,fl,bl,_l,vl,wl=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};ye.d.appendMenuItem(ye.b.EditorContext,{submenu:ye.b.EditorContextPeek,title:U.a("peek.submenu","Peek"),group:"navigation",order:100});class yl extends V.b{constructor(e,t){super(t),this._configuration=e}run(e,t){if(!t.hasModel())return Promise.resolve(void 0);const n=e.get(zt.a),i=e.get(Me.a),o=e.get(rt.a),r=e.get(cl),s=t.getModel(),a=t.getPosition(),l=new Je.b(t,5),c=Object(ue.j)(this._getLocationModel(s,a,l.token),l.token).then(e=>wl(this,void 0,void 0,(function*(){if(!e||l.token.isCancellationRequested)return;let n;if(Object(ne.a)(e.ariaMessage),e.referenceAt(s.uri,a)){const e=this._getAlternativeCommand(t);e!==this.id&&(n=t.getAction(e))}const o=e.references.length;if(0===o){if(!this._configuration.muteMessage){const e=s.getWordAtPosition(a);ut.get(t).showMessage(this._getNoResultFoundMessage(e),a)}}else{if(1!==o||!n)return this._onResult(i,r,t,e);n.run()}})),e=>{n.error(e)}).finally(()=>{l.dispose()});return o.showWhile(c,250),c}_onResult(e,t,n,i){return wl(this,void 0,void 0,(function*(){const o=this._getGoToPreference(n);if(n instanceof gs||!(this._configuration.openInPeek||"peek"===o&&i.references.length>1)){const r=i.firstReference(),s=i.references.length>1&&"gotoAndPeek"===o,a=yield this._openReference(n,e,r,this._configuration.openToSide,!s);s&&a?this._openInPeek(a,i):i.dispose(),"goto"===o&&t.put(r)}else this._openInPeek(n,i)}))}_openReference(e,t,n,i,o){return wl(this,void 0,void 0,(function*(){let r=void 0;Object(et.G)(n)&&(r=n.targetSelectionRange),r||(r=n.range);const s=yield t.openCodeEditor({resource:n.uri,options:{selection:ge.a.collapseToStart(r),selectionRevealType:3}},e,i);if(s){if(o){const e=s.getModel(),t=s.deltaDecorations([],[{range:r,options:{className:"symbolHighlight"}}]);setTimeout(()=>{s.getModel()===e&&s.deltaDecorations(t,[])},350)}return s}}))}_openInPeek(e,t){let n=Xa.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(ue.f)(e=>Promise.resolve(t)),this._configuration.openInPeek):t.dispose()}}class Cl extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield tl(e,t,n),U.a("def.title","Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("noResultWord","No definition found for '{0}'",e.word):U.a("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(43).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(43).multipleDefinitions}}const xl=Ae.h&&!De.k?2118:70;Object(V.k)(((ul=class e extends Cl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:U.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:K.a.and(H.a.hasDefinitionProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:xl,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:2,title:U.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}}),Ft.a.registerCommandAlias("editor.action.goToDeclaration",e.id)}}).id="editor.action.revealDefinition",ul)),Object(V.k)(((pl=class e extends Cl{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:e.id,label:U.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:K.a.and(H.a.hasDefinitionProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,xl),weight:100}}),Ft.a.registerCommandAlias("editor.action.openDeclarationToTheSide",e.id)}}).id="editor.action.revealDefinitionAside",pl)),Object(V.k)(((ml=class e extends Cl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.id,label:U.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:K.a.and(H.a.hasDefinitionProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:2}}),Ft.a.registerCommandAlias("editor.action.previewDeclaration",e.id)}}).id="editor.action.peekDefinition",ml));class Sl extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield nl(e,t,n),U.a("decl.title","Declarations"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("decl.noResultWord","No declaration found for '{0}'",e.word):U.a("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(43).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(43).multipleDeclarations}}Object(V.k)(((gl=class e extends Sl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:U.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:K.a.and(H.a.hasDeclarationProvider,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:U.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})}_getNoResultFoundMessage(e){return e&&e.word?U.a("decl.noResultWord","No declaration found for '{0}'",e.word):U.a("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",gl)),Object(V.k)(class extends Sl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:U.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:K.a.and(H.a.hasDeclarationProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:3}})}});class kl extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield ol(e,t,n),U.a("typedef.title","Type Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):U.a("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(43).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(43).multipleTypeDefinitions}}Object(V.k)(((fl=class e extends kl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:U.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:K.a.and(H.a.hasTypeDefinitionProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:U.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})}}).ID="editor.action.goToTypeDefinition",fl)),Object(V.k)(((bl=class e extends kl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:U.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:K.a.and(H.a.hasTypeDefinitionProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",bl));class El extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield il(e,t,n),U.a("impl.title","Implementations"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):U.a("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(43).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(43).multipleImplementations}}Object(V.k)(((_l=class e extends El{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:U.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:K.a.and(H.a.hasImplementationProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:4,title:U.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",_l)),Object(V.k)(((vl=class e extends El{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:U.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:K.a.and(H.a.hasImplementationProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",vl));class Tl extends yl{_getNoResultFoundMessage(e){return e?U.a("references.no","No references found for '{0}'",e.word):U.a("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(43).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(43).multipleReferences}}Object(V.k)(class extends Tl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:U.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:K.a.and(H.a.hasReferenceProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:5,title:U.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})}_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield rl(e,t,!0,n),U.a("ref.title","References"))}))}}),Object(V.k)(class extends Tl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:U.a("references.action.label","Peek References"),alias:"Peek References",precondition:K.a.and(H.a.hasReferenceProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield rl(e,t,!1,n),U.a("ref.title","References"))}))}});class Ll extends yl{constructor(e,t,n){super(e,{id:"editor.action.goToLocation",label:U.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:K.a.and(Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=n}_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(this._references,U.a("generic.title","Locations"))}))}_getNoResultFoundMessage(e){return e&&U.a("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(43).multipleReferences}_getAlternativeCommand(){return""}}Ft.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:Qe.a},{name:"position",description:"The position at which to start",constraint:me.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(e,t,n,i,o,r,s)=>wl(void 0,void 0,void 0,(function*(){Object(Jo.b)(Qe.a.isUri(t)),Object(Jo.b)(me.a.isIPosition(n)),Object(Jo.b)(Array.isArray(i)),Object(Jo.b)(void 0===o||"string"==typeof o),Object(Jo.b)(void 0===s||"boolean"==typeof s);const a=e.get(Me.a),l=yield a.openCodeEditor({resource:t},a.getFocusedCodeEditor());if(Object(Rr.b)(l))return l.setPosition(n),l.revealPositionInCenterIfOutsideViewport(n,0),l.invokeWithinContext(e=>{const t=new class extends Ll{_getNoResultFoundMessage(e){return r||super._getNoResultFoundMessage(e)}}({muteMessage:!Boolean(r),openInPeek:Boolean(s),openToSide:!1},i,o);e.get(gt.a).invokeFunction(t.run.bind(t),l)})}))}),Ft.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:Qe.a},{name:"position",description:"The position at which to start",constraint:me.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(e,t,n,i,o)=>wl(void 0,void 0,void 0,(function*(){e.get(Ft.b).executeCommand("editor.action.goToLocations",t,n,i,o,void 0,!0)}))}),Ft.a.registerCommand({id:"editor.action.findReferences",handler:(e,t,n)=>{Object(Jo.b)(Qe.a.isUri(t)),Object(Jo.b)(me.a.isIPosition(n));const i=e.get(Me.a);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then(e=>{if(!Object(Rr.b)(e)||!e.hasModel())return;const t=Xa.get(e);if(!t)return;const i=Object(ue.f)(t=>rl(e.getModel(),me.a.lift(n),!1,t).then(e=>new aa(e,U.a("ref.title","References")))),o=new ge.a(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(o,i,!1))})}}),Ft.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations");n(309);var Nl=n(109);function Il(e,t){return!!e[t]}class Ol{constructor(e,t){this.target=e.target,this.hasTriggerModifier=Il(e.event,t.triggerModifier),this.hasSideBySideModifier=Il(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class Dl{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=Il(e,t.triggerModifier)}}class Al{constructor(e,t,n,i){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=n,this.triggerSideBySideModifier=i}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function Rl(e){return"altKey"===e?Ae.f?new Al(57,"metaKey",6,"altKey"):new Al(5,"ctrlKey",6,"altKey"):Ae.f?new Al(6,"altKey",57,"metaKey"):new Al(6,"altKey",5,"ctrlKey")}class Ml extends pe.a{constructor(e){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new Lt.a),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new Lt.a),this.onExecute=this._onExecute.event,this._onCancel=this._register(new Lt.a),this.onCancel=this._onCancel.event,this._editor=e,this._opts=Rl(this._editor.getOption(61)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(e=>{if(e.hasChanged(61)){const e=Rl(this._editor.getOption(61));if(this._opts.equals(e))return;this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new Ol(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new Ol(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new Ol(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new Dl(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new Dl(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){const t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var Pl=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Fl=function(e,t){return function(n,i){t(n,i,e)}};let Wl=class e{constructor(e,t,n){this.textModelResolverService=t,this.modeService=n,this.toUnhook=new pe.b,this.toUnhookForKeyboard=new pe.b,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e;let i=new Ml(e);this.toUnhook.add(i),this.toUnhook.add(i.onMouseMoveOrRelevantKeyDown(([e,t])=>{this.startFindDefinitionFromMouse(e,Object(Jo.n)(t))})),this.toUnhook.add(i.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},e=>{this.removeLinkDecorations(),Object(Z.e)(e)})})),this.toUnhook.add(i.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(t){return t.getContribution(e.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t))return this.currentWordAtPosition=null,void this.removeLinkDecorations();const n=e.target.position;this.startFindDefinition(n)}startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const n=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!n)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return Promise.resolve(0);this.currentWordAtPosition=n;let i=new Je.a(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(ue.f)(t=>this.findDefinition(e,t)),this.previousPromise.then(t=>{if(t&&t.length&&i.validate(this.editor))if(t.length>1)this.addDecoration(new ge.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),(new X).appendText(U.a("multipleResults","Click to show {0} definitions.",t.length)));else{let i=t[0];if(!i.uri)return;this.textModelResolverService.createModelReference(i.uri).then(t=>{if(!t.object||!t.object.textEditorModel)return void t.dispose();const{object:{textEditorModel:o}}=t,{startLineNumber:r}=i.range;if(r<1||r>o.getLineCount())return void t.dispose();const s=this.getPreviewValue(o,r,i);let a;a=i.originSelectionRange?ge.a.lift(i.originSelectionRange):new ge.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);const l=this.modeService.getModeIdByFilepathOrFirstLine(o.uri);this.addDecoration(a,(new X).appendCodeblock(l||"",s)),t.dispose()})}else this.removeLinkDecorations()}).then(void 0,Z.e)}getPreviewValue(t,n,i){let o=i.targetSelectionRange?i.range:this.getPreviewRangeBasedOnBrackets(t,n);o.endLineNumber-o.startLineNumber>=e.MAX_SOURCE_PREVIEW_LINES&&(o=this.getPreviewRangeBasedOnIndentation(t,n));return this.stripIndentationFromPreviewRange(t,n,o)}stripIndentationFromPreviewRange(e,t,n){let i=e.getLineFirstNonWhitespaceColumn(t);for(let o=t+1;o<n.endLineNumber;o++){const t=e.getLineFirstNonWhitespaceColumn(o);i=Math.min(i,t)}return e.getValueInRange(n).replace(new RegExp(`^\\s{${i-1}}`,"gm"),"").trim()}getPreviewRangeBasedOnIndentation(t,n){const i=t.getLineFirstNonWhitespaceColumn(n),o=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES);let r=n+1;for(;r<o;r++){if(i===t.getLineFirstNonWhitespaceColumn(r))break}return new ge.a(n,1,r+1,1)}getPreviewRangeBasedOnBrackets(t,n){const i=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES),o=[];let r=!0,s=t.findNextBracket(new me.a(n,1));for(;null!==s;){if(0===o.length)o.push(s);else{const e=o[o.length-1];if(e.open[0]===s.open[0]&&e.isOpen&&!s.isOpen?o.pop():o.push(s),0===o.length){if(!r)return new ge.a(n,1,s.range.endLineNumber+1,1);r=!1}}const e=t.getLineMaxColumn(n);let a=s.range.endLineNumber,l=s.range.endColumn;if(e===s.range.endColumn&&(a++,l=1),a>i)return new ge.a(n,1,i+1,1);s=t.findNextBracket(new me.a(a,l))}return new ge.a(n,1,i+1,1)}addDecoration(e,t){const n={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:t}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[n])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&6===e.target.type&&(e.hasTriggerModifier||!!t&&t.keyCodeIsTriggerKey)&&et.f.has(this.editor.getModel())}findDefinition(e,t){const n=this.editor.getModel();return n?tl(n,e,t):Promise.resolve(null)}gotoDefinition(e,t){return this.editor.setPosition(e),this.editor.invokeWithinContext(e=>{const n=!t&&this.editor.getOption(69)&&!this.isInPeekEditor(e);return new Cl({openToSide:t,openInPeek:n,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(e,this.editor)})}isInPeekEditor(e){const t=e.get(K.b);return Ws.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose()}};Wl.ID="editor.contrib.gotodefinitionatposition",Wl.MAX_SOURCE_PREVIEW_LINES=8,Wl=Pl([Fl(1,ts.a),Fl(2,Nl.a)],Wl),Object(V.m)(Wl.ID,Wl),Object(we.g)((e,t)=>{const n=e.getColor(ve.r);n&&t.addRule(`.monaco-editor .goto-definition-link { color: ${n} !important; }`)});n(311);var zl,Bl=n(105),jl=n(68);(zl||(zl={})).className=function(e){switch(e){case jl.a.Ignore:return"severity-ignore "+Y.a.info.classNames;case jl.a.Info:return Y.a.info.classNames;case jl.a.Warning:return Y.a.warning.classNames;case jl.a.Error:return Y.a.error.classNames;default:return""}},Object(we.g)((e,t)=>{const n=e.getColor(ve.Zb);if(n){const e=Y.a.error.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)}const i=e.getColor(ve.bc);if(i){const e=Y.a.warning.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)}const o=e.getColor(ve.ac);if(o){const e=Y.a.info.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${o};\n\t\t\t}\n\t\t`)}});var Vl=n(79),Ul=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Hl=function(e,t){return function(n,i){t(n,i,e)}};class ql{constructor(e,t,n,i){this._openerService=i,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new pe.b,this._editor=t;const o=document.createElement("div");o.className="descriptioncontainer",this._messageBlock=document.createElement("div"),ft.e(this._messageBlock,"message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),o.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),o.appendChild(this._relatedBlock),this._disposables.add(ft.n(this._relatedBlock,"click",e=>{e.preventDefault();const t=this._relatedDiagnostics.get(e.target);t&&n(t)})),this._scrollable=new Bl.b(o,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{o.style.left=`-${e.scrollLeft}px`,o.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){Object(pe.f)(this._disposables)}update(e){const{source:t,message:n,relatedInformation:i,code:o}=e;let r=((null==t?void 0:t.length)||0)+"()".length;o&&(r+="string"==typeof o?o.length:o.value.length);const s=n.split(/\r\n|\r|\n/g);this._lines=s.length,this._longestLineLength=0;for(const e of s)this._longestLineLength=Math.max(e.length+r,this._longestLineLength);ft.s(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let a=this._messageBlock;for(const e of s)a=document.createElement("div"),a.innerText=e,""===e&&(a.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(a);if(t||o){const e=document.createElement("span");if(ft.e(e,"details"),a.appendChild(e),t){const n=document.createElement("span");n.innerText=t,ft.e(n,"source"),e.appendChild(n)}if(o)if("string"==typeof o){const t=document.createElement("span");t.innerText=`(${o})`,ft.e(t,"code"),e.appendChild(t)}else{this._codeLink=ft.a("a.code-link"),this._codeLink.setAttribute("href",""+o.target.toString()),this._codeLink.onclick=e=>{this._openerService.open(o.target),e.preventDefault(),e.stopPropagation()};ft.p(this._codeLink,ft.a("span")).innerText=o.value,e.appendChild(this._codeLink)}}if(ft.s(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(G.o)(i)){const e=this._relatedBlock.appendChild(document.createElement("div"));e.style.paddingTop=Math.floor(.66*this._editor.getOption(51))+"px",this._lines+=1;for(const t of i){let n=document.createElement("div"),i=document.createElement("a");ft.e(i,"filename"),i.innerText=`${ga(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,i.title=ma(t.resource,void 0),this._relatedDiagnostics.set(i,t);let o=document.createElement("span");o.innerText=t.message,n.appendChild(i),n.appendChild(o),this._lines+=1,e.appendChild(n)}}const l=this._editor.getOption(36),c=Math.ceil(l.typicalFullwidthCharacterWidth*this._longestLineLength*.75),d=l.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:c,scrollHeight:d})}layout(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case Wt.c.Error:t=U.a("Error","Error");break;case Wt.c.Warning:t=U.a("Warning","Warning");break;case Wt.c.Info:t=U.a("Info","Info");break;case Wt.c.Hint:t=U.a("Hint","Hint")}let n=U.a("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const i=this._editor.getModel();if(i&&e.startLineNumber<=i.getLineCount()&&e.startLineNumber>=1){n=`${i.getLineContent(e.startLineNumber)}, ${n}`}return n}}let $l=class e extends Vs{constructor(e,t,n,i,o,r){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0},o),this._themeService=t,this._openerService=n,this._menuService=i,this._contextKeyService=r,this._callOnDispose=new pe.b,this._onDidSelectRelatedInformation=new Lt.a,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=Wt.c.Warning,this._backgroundColor=Nn.a.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(Jl);let t=Zl;this._severity===Wt.c.Warning?t=Xl:this._severity===Wt.c.Info&&(t=Ql);const n=e.getColor(t);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:e.getColor(Hs),secondaryHeadingColor:e.getColor(qs)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(t){super._fillHead(t),this._disposables.add(this._actionbarWidget.actionRunner.onDidBeforeRun(e=>this.editor.focus()));const n=[],i=this._menuService.createMenu(e.TitleMenu,this._contextKeyService);Is(i,void 0,n),this._actionbarWidget.push(n,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=ft.p(e,ft.a(""))}_getActionBarOptions(){return Object.assign(Object.assign({},super._getActionBarOptions()),{orientation:0})}_fillBody(e){this._parentContainer=e,ft.e(e,"marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new ql(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,n){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let i=ge.a.lift(e);const o=this.editor.getPosition();let r=o&&i.containsPosition(o)?o:i.getStartPosition();super.show(r,this.computeRequiredHeight());const s=this.editor.getModel();if(s){const e=n>1?U.a("problems","{0} of {1} problems",t,n):U.a("change","{0} of {1} problem",t,n);this.setTitle(Object(jt.b)(s.uri),e)}this._icon.className="codicon "+zl.className(Wt.c.toSeverity(this._severity)),this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=e+"px"}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};$l.TitleMenu=new ye.b("gotoErrorTitleMenu"),$l=Ul([Hl(1,we.c),Hl(2,Vl.a),Hl(3,ye.a),Hl(4,gt.a),Hl(5,K.b)],$l);let Kl=Object(ve.Ub)(ve.u,ve.t),Gl=Object(ve.Ub)(ve.T,ve.S),Yl=Object(ve.Ub)(ve.L,ve.K);const Zl=Object(ve.gc)("editorMarkerNavigationError.background",{dark:Kl,light:Kl,hc:Kl},U.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),Xl=Object(ve.gc)("editorMarkerNavigationWarning.background",{dark:Gl,light:Gl,hc:Gl},U.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Ql=Object(ve.gc)("editorMarkerNavigationInfo.background",{dark:Yl,light:Yl,hc:Yl},U.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),Jl=Object(ve.gc)("editorMarkerNavigation.background",{dark:"#2D2D30",light:Nn.a.white,hc:"#0C141F"},U.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(we.g)((e,t)=>{const n=e.getColor(ve.rc);n&&(t.addRule(`.monaco-editor .marker-widget a { color: ${n}; }`),t.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${n}; }`))});var ec=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},tc=function(e,t){return function(n,i){t(n,i,e)}};class nc{constructor(e,t,n){this.marker=e,this.index=t,this.total=n}}let ic=class e{constructor(t,n){this._markerService=n,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._dispoables=new pe.b,this._markers=[],this._nextIdx=-1,Qe.a.isUri(t)?this._resourceFilter=e=>e.toString()===t.toString():t&&(this._resourceFilter=t);const i=()=>{this._markers=this._markerService.read({resource:Qe.a.isUri(t)?t:void 0,severities:Wt.c.Error|Wt.c.Warning|Wt.c.Info}),"function"==typeof t&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(e._compareMarker)};i(),this._dispoables.add(n.onMarkerChanged(e=>{this._resourceFilter&&!e.some(e=>this._resourceFilter(e))||(i(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!(!this._resourceFilter||!e)&&this._resourceFilter(e)}get selected(){const e=this._markers[this._nextIdx];return e&&new nc(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,n){let i=!1,o=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());o<0&&(o=Object(G.c)(this._markers,{resource:e.uri},(e,t)=>Object(Ye.f)(e.resource.toString(),t.resource.toString())),o<0&&(o=~o));for(let n=o;n<this._markers.length;n++){let o=ge.a.lift(this._markers[n]);if(o.isEmpty()){const t=e.getWordAtPosition(o.getStartPosition());t&&(o=new ge.a(o.startLineNumber,t.startColumn,o.startLineNumber,t.endColumn))}if(t&&(o.containsPosition(t)||t.isBeforeOrEqual(o.getStartPosition()))){this._nextIdx=n,i=!0;break}if(this._markers[n].resource.toString()!==e.uri.toString())break}i||(this._nextIdx=n?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(e,t,n){if(0===this._markers.length)return!1;let i=this._nextIdx;return-1===this._nextIdx?this._initIdx(t,n,e):e?this._nextIdx=(this._nextIdx+1)%this._markers.length:e||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),i!==this._nextIdx}find(e,t){let n=this._markers.findIndex(t=>t.resource.toString()===e.toString());if(!(n<0))for(;n<this._markers.length;n++)if(ge.a.containsPosition(this._markers[n],t))return new nc(this._markers[n],n+1,this._markers.length)}static _compareMarker(e,t){let n=Object(Ye.f)(e.resource.toString(),t.resource.toString());return 0===n&&(n=Wt.c.compare(e.severity,t.severity)),0===n&&(n=ge.a.compareRangesUsingStarts(e,t)),n}};ic=ec([tc(1,Wt.b)],ic);const oc=Object(gt.c)("IMarkerNavigationService");let rc=class{constructor(e){this._markerService=e,this._provider=new Fr.a}getMarkerList(e){for(let t of this._provider){const n=t.getMarkerList(e);if(n)return n}return new ic(e,this._markerService)}};rc=ec([tc(0,Wt.b)],rc),Object(mn.b)(oc,rc,!0);var sc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ac=function(e,t){return function(n,i){t(n,i,e)}},lc=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let cc=class e{constructor(e,t,n,i,o){this._markerNavigationService=t,this._contextKeyService=n,this._editorService=i,this._instantiationService=o,this._sessionDispoables=new pe.b,this._editor=e,this._widgetVisible=pc.bindTo(this._contextKeyService)}static get(t){return t.getContribution(e.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance($l,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t,n,i;(null===(t=this._model)||void 0===t?void 0:t.selected)&&ge.a.containsPosition(null===(n=this._model)||void 0===n?void 0:n.selected.marker,e.position)||null===(i=this._model)||void 0===i||i.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:ge.a.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new me.a(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(t,n){return lc(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=this._getOrCreateModel(n?void 0:this._editor.getModel().uri);if(i.move(t,this._editor.getModel(),this._editor.getPosition()),!i.selected)return;if(i.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const o=yield this._editorService.openCodeEditor({resource:i.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:i.selected.marker}},this._editor);o&&(e.get(o).close(),e.get(o).nagivate(t,n))}else this._widget.showAtMarker(i.selected.marker,i.selected.index,i.selected.total)}}))}};cc.ID="editor.contrib.markerController",cc=sc([ac(1,oc),ac(2,K.b),ac(3,Me.a),ac(4,gt.a)],cc);class dc extends V.b{constructor(e,t,n){super(n),this._next=e,this._multiFile=t}run(e,t){return lc(this,void 0,void 0,(function*(){t.hasModel()&&cc.get(t).nagivate(this._next,this._multiFile)}))}}class hc extends dc{constructor(){super(!0,!1,{id:hc.ID,label:hc.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:578,weight:100},menuOpts:{menuId:$l.TitleMenu,title:hc.LABEL,icon:Object(Y.e)("marker-navigation-next",Y.a.chevronDown),group:"navigation",order:1}})}}hc.ID="editor.action.marker.next",hc.LABEL=U.a("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class uc extends dc{constructor(){super(!1,!1,{id:uc.ID,label:uc.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:1602,weight:100},menuOpts:{menuId:$l.TitleMenu,title:hc.LABEL,icon:Object(Y.e)("marker-navigation-previous",Y.a.chevronUp),group:"navigation",order:2}})}}uc.ID="editor.action.marker.prev",uc.LABEL=U.a("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");Object(V.m)(cc.ID,cc),Object(V.k)(hc),Object(V.k)(uc),Object(V.k)(class extends dc{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:U.a("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:66,weight:100},menuOpts:{menuId:ye.b.MenubarGoMenu,title:U.a({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),Object(V.k)(class extends dc{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:U.a("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:1090,weight:100},menuOpts:{menuId:ye.b.MenubarGoMenu,title:U.a({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});const pc=new K.c("markersNavigationVisible",!1),mc=V.c.bindToContribution(cc.get);Object(V.l)(new mc({id:"closeMarkersNavigation",precondition:pc,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:H.a.focus,primary:9,secondary:[1033]}}));class gc{constructor(e,t,n){this.presentationIndex=n,this._onColorFlushed=new Lt.a,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new Lt.a,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new Lt.a,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let e=0;e<this.colorPresentations.length;e++)if(t.toLowerCase()===this.colorPresentations[e].label){this.presentationIndex=e,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}n(313);const fc=ft.a;class bc extends pe.a{constructor(e,t,n){super(),this.model=t,this.domNode=fc(".colorpicker-header"),ft.p(e,this.domNode),this.pickedColorNode=ft.p(this.domNode,fc(".picked-color"));const i=ft.p(this.domNode,fc(".original-color"));i.style.backgroundColor=Nn.a.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=n.getColorTheme().getColor(ve.E)||Nn.a.white,this._register(Object(we.g)((e,t)=>{this.backgroundColor=e.getColor(ve.E)||Nn.a.white})),this._register(ft.i(this.pickedColorNode,ft.c.CLICK,()=>this.model.selectNextColorPresentation())),this._register(ft.i(i,ft.c.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=Nn.a.Format.CSS.format(t.color)||"",ft.ab(this.pickedColorNode,"light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter())}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=Nn.a.Format.CSS.format(e)||"",ft.ab(this.pickedColorNode,"light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class _c extends pe.a{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this.domNode=fc(".colorpicker-body"),ft.p(e,this.domNode),this.saturationBox=new vc(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new yc(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new Cc(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const n=this.model.color.hsva;this.model.color=new Nn.a(new Nn.b(n.h,e,t,n.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new Nn.a(new Nn.b(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,n=360*(1-e);this.model.color=new Nn.a(new Nn.b(360===n?0:n,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class vc extends pe.a{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new Lt.a,this.onColorFlushed=this._onColorFlushed.event,this.domNode=fc(".saturation-wrap"),ft.p(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",ft.p(this.domNode,this.canvas),this.selection=fc(".saturation-selection"),ft.p(this.domNode,this.selection),this.layout(),this._register(ft.g(this.domNode,e=>this.onMouseDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new Tt.a);const t=ft.C(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,Tt.b,e=>this.onDidChangePosition(e.posx-t.left,e.posy-t.top),()=>null);const n=ft.h(document,()=>{this._onColorFlushed.fire(),n.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){const n=Math.max(0,Math.min(1,e/this.width)),i=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(n,i),this._onDidChange.fire({s:n,v:i})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new Nn.a(new Nn.b(e.h,1,1,1)),n=this.canvas.getContext("2d"),i=n.createLinearGradient(0,0,this.canvas.width,0);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)");const o=n.createLinearGradient(0,0,0,this.canvas.height);o.addColorStop(0,"rgba(0, 0, 0, 0)"),o.addColorStop(1,"rgba(0, 0, 0, 1)"),n.rect(0,0,this.canvas.width,this.canvas.height),n.fillStyle=Nn.a.Format.CSS.format(t),n.fill(),n.fillStyle=i,n.fill(),n.fillStyle=o,n.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class wc extends pe.a{constructor(e,t){super(),this.model=t,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new Lt.a,this.onColorFlushed=this._onColorFlushed.event,this.domNode=ft.p(e,fc(".strip")),this.overlay=ft.p(this.domNode,fc(".overlay")),this.slider=ft.p(this.domNode,fc(".slider")),this.slider.style.top="0px",this._register(ft.g(this.domNode,e=>this.onMouseDown(e))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){const t=this._register(new Tt.a),n=ft.C(this.domNode);ft.e(this.domNode,"grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,Tt.b,e=>this.onDidChangeTop(e.posy-n.top),()=>null);const i=ft.h(document,()=>{this._onColorFlushed.fire(),i.dispose(),t.stopMonitoring(!0),ft.Q(this.domNode,"grabbing")},!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class yc extends wc{constructor(e,t){super(e,t),ft.e(this.domNode,"opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){const{r:t,g:n,b:i}=e.rgba,o=new Nn.a(new Nn.c(t,n,i,1)),r=new Nn.a(new Nn.c(t,n,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${o} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class Cc extends wc{constructor(e,t){super(e,t),ft.e(this.domNode,"hue-strip")}getValue(e){return 1-e.hsva.h/360}}class xc extends Ri.a{constructor(e,t,n,i){super(),this.model=t,this.pixelRatio=n,this._register(Object(De.n)(()=>this.layout()));const o=fc(".colorpicker-widget");e.appendChild(o);const r=new bc(o,this.model,i);this.body=new _c(o,this.model,this.pixelRatio),this._register(r),this._register(this.body)}layout(){this.body.layout()}}function Sc(e,t,n){const i=et.p.ordered(e).map(i=>Promise.resolve(i.provideHover(e,t,n)).then(e=>e&&function(e){const t=void 0!==e.range,n=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&n}(e)?e:void 0,e=>{Object(Z.f)(e)}));return Promise.all(i).then(G.d)}Object(V.p)("_executeHoverProvider",(e,t)=>Sc(e,t,Xe.a.None));class kc{constructor(e,t,n,i,o){this._computer=e,this._state=0,this._hoverTime=o,this._firstWaitScheduler=new ue.d(()=>this._triggerAsyncComputation(),0),this._secondWaitScheduler=new ue.d(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new ue.d(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=i}setHoverTime(e){this._hoverTime=e}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(ue.f)(e=>this._computer.computeAsync(e)),this._asyncComputationPromise.then(e=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(e)},e=>this._onError(e))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(e){this._completeCallback(e)}_onError(e){this._errorCallback?this._errorCallback(e):Object(Z.e)(e)}_onProgress(e){this._progressCallback(e)}start(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}n(315);const Ec=ft.a;class Tc extends pe.a{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new Bl.a(this.contentsDomNode,{})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class Lc extends Ri.a{constructor(e,t,n,i){super(),this._hoverVisibleKey=n,this._keybindingService=i,this.allowEditorOverflow=!0,this._hover=this._register(new Tc),this._id=e,this._editor=t,this._isVisible=!1,this._stoleFocus=!1,this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this.updateFont()})),this._editor.onDidLayoutChange(e=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,ft.ab(this._hover.containerDomNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._hover.containerDomNode}showAt(e,t,n){this._showAtPosition=e,this._showAtRange=t,this._hoverVisibleKey.set(!0),this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=n,n&&this._hover.containerDomNode.focus()}hide(){this.isVisible&&(setTimeout(()=>{this.isVisible||this._hoverVisibleKey.set(!1)},0),this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())}getPosition(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}dispose(){this._editor.removeContentWidget(this),super.dispose()}updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this.updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_renderAction(e,t){const n=this._keybindingService.lookupKeybinding(t.commandId);return function(e,t,n){const i=ft.p(e,Ec("div.action-container")),o=ft.p(i,Ec("a.action"));return o.setAttribute("href","#"),o.setAttribute("role","button"),t.iconClass&&ft.p(o,Ec("span.icon."+t.iconClass)),ft.p(o,Ec("span")).textContent=n?`${t.label} (${n})`:t.label,ft.i(i,ft.c.CLICK,e=>{e.stopPropagation(),e.preventDefault(),t.run(i)})}(e,t,n?n.getLabel():null)}layout(){const e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:n}=this._editor.getOption(36);this._hover.contentsDomNode.style.fontSize=t+"px",this._hover.contentsDomNode.style.lineHeight=n+"px",this._hover.contentsDomNode.style.maxHeight=e+"px",this._hover.contentsDomNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"}}class Nc extends Ri.a{constructor(e,t){super(),this._id=e,this._editor=t,this._isVisible=!1,this._domNode=document.createElement("div"),this._domNode.className="monaco-hover hidden",this._domNode.setAttribute("aria-hidden","true"),this._domNode.setAttribute("role","tooltip"),this._showAtLineNumber=-1,this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this.updateFont()})),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,ft.ab(this._domNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);const t=this._editor.getLayoutInfo(),n=this._editor.getTopForLineNumber(this._showAtLineNumber),i=this._editor.getScrollTop(),o=this._editor.getOption(51),r=n-i-(this._domNode.clientHeight-o)/2;this._domNode.style.left=t.glyphMarginLeft+t.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(r),0)+"px"}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){[...Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),...Array.prototype.slice.call(this._domNode.getElementsByClassName("code"))].forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()}}var Ic=n(165),Oc=n(195);let Dc;!function e(t,n,i){function o(s,a){if(!n[s]){if(!t[s]){if(r)return r(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){return o(t[s][1][e]||e)}),c,c.exports,e,t,n,i)}return n[s].exports}for(var r=!1,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,n){var i=e("./toMap");t.exports={uris:i(["background","base","cite","href","longdesc","src","usemap"])}},{"./toMap":10}],2:[function(e,t,n){t.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},{}],3:[function(e,t,n){var i=e("./toMap");t.exports={voids:i(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},{"./toMap":10}],4:[function(e,t,n){e("he");var i=e("assignment"),o=e("./parser"),r=e("./sanitizer"),s=e("./defaults");function a(e,t,n){var a=[],l=!0===n?t:i({},s,t),c=r(a,l);return o(e,c),a.join("")}a.defaults=s,t.exports=a,Dc=a},{"./defaults":2,"./parser":7,"./sanitizer":8,assignment:6,he:9}],5:[function(e,t,n){t.exports=function(e){return"string"==typeof e?e.toLowerCase():e}},{}],6:[function(e,t,n){t.exports=function e(t){for(var n,i,o=Array.prototype.slice.call(arguments,1);o.length;)for(i in n=o.shift())n.hasOwnProperty(i)&&("[object Object]"===Object.prototype.toString.call(t[i])?t[i]=e(t[i],n[i]):t[i]=n[i]);return t}},{}],7:[function(e,t,n){var i=e("he"),o=e("./lowercase"),r=(e("./attributes"),e("./elements")),s=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,a=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,c=/^</,d=/^<\s*\//;t.exports=function(e,t){for(var n,h=function(){var e=[];return e.lastItem=function(){return e[e.length-1]},e}(),u=e;e;)p();function p(){n=!0,function(){"\x3c!--"===e.substr(0,4)?(i=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,i)),e=e.substring(i+3),n=!1):d.test(e)?m(a,f):c.test(e)&&m(s,g);var i;!function(){if(!n)return;var i,o=e.indexOf("<");o>=0?(i=e.substring(0,o),e=e.substring(o)):(i=e,e="");t.chars&&t.chars(i)}()}();var i=e===u;u=e,i&&(e="")}function m(t,i){var o=e.match(t);o&&(e=e.substring(o[0].length),o[0].replace(t,i),n=!1)}function g(e,n,s,a){var c={},d=o(n),u=r.voids[d]||!!a;s.replace(l,(function(e,t,n,o,r){c[t]=void 0===n&&void 0===o&&void 0===r?void 0:i.decode(n||o||r||"")})),u||h.push(d),t.start&&t.start(d,c,u)}function f(e,n){var i,r=0,s=o(n);if(s)for(r=h.length-1;r>=0&&h[r]!==s;r--);if(r>=0){for(i=h.length-1;i>=r;i--)t.end&&t.end(h[i]);h.length=r}}f()}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(e,t,n){var i=e("he"),o=e("./lowercase"),r=e("./attributes"),s=e("./elements");t.exports=function(e,t){var n,a=t||{};return h(),{start:function(e,t,s){var d=o(e);if(n.ignoring)return void c(d);if(-1===(a.allowedTags||[]).indexOf(d))return void c(d);if(a.filter&&!a.filter({tag:d,attrs:t}))return void c(d);l("<"),l(d),Object.keys(t).forEach((function(e){var n=t[e],s=(a.allowedClasses||{})[d]||[],c=(a.allowedAttributes||{})[d]||[];c=c.concat((a.allowedAttributes||{})["*"]||[]);var h=o(e);("class"===h&&-1===c.indexOf(h)?(n=n.split(" ").filter((function(e){return s&&-1!==s.indexOf(e)})).join(" ").trim()).length:-1!==c.indexOf(h)&&(!0!==r.uris[h]||function(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var i=e.indexOf("?");if(-1!==i&&n>i)return!0;var o=e.indexOf("#");if(-1!==o&&n>o)return!0;return a.allowedSchemes.some((function(t){return 0===e.indexOf(t+":")}))}(n)))&&(l(" "),l(e),"string"==typeof n&&(l('="'),l(i.encode(n)),l('"')))})),l(s?"/>":">")},end:function(e){var t=o(e);-1!==(a.allowedTags||[]).indexOf(t)&&!1===n.ignoring?(l("</"),l(t),l(">")):d(t)},chars:function(e){!1===n.ignoring&&l(a.transformText?a.transformText(e):e)}};function l(t){e.push(t)}function c(e){s.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function d(e){n.ignoring===e&&--n.depth<=0&&h()}function h(){n={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,n){var i={"&":"&","<":"<",">":">",'"':""","'":"'"},o={"&":"&","<":"<",">":">",""":'"',"'":"'"},r=/(&|<|>|"|')/g,s=/[&<>"']/g;function a(e){return i[e]}function l(e){return o[e]}function c(e){return null==e?"":String(e).replace(s,a)}function d(e){return null==e?"":String(e).replace(r,l)}c.options=d.options={},t.exports={encode:c,escape:c,decode:d,unescape:d,version:"1.0.0-browser"}},{}],10:[function(e,t,n){function i(e,t){return e[t]=!0,e}t.exports=function(e){return e.reduce(i,{})}},{}]},{},[4]);var Ac=Dc,Rc=n(178),Mc=n(69);function Pc(e,t={},n={}){var i;const o=Object(Ic.a)(t),r=function(t){let n;try{n=Object(Rc.a)(decodeURIComponent(t))}catch(e){}return n?(n=Object(hs.b)(n,t=>e.uris&&e.uris[t]?Qe.a.revive(e.uris[t]):void 0),encodeURIComponent(JSON.stringify(n))):t},s=function(t,n){const i=e.uris&&e.uris[t];if(!i)return t;let o=Qe.a.revive(i);return Qe.a.parse(t).toString()===o.toString()?t:n?ft.r(o).toString(!0):(o.query&&(o=o.with({query:r(o.query)})),o.toString())};let a;const l=new Promise(e=>a=e),c=new Oc.Renderer;c.image=(e,n,i)=>{let o=[],r=[];if(e){({href:e,dimensions:o}=function(e){const t=[],n=e.split("|").map(e=>e.trim());e=n[0];const i=n[1];if(i){const e=/height=(\d+)/.exec(i),n=/width=(\d+)/.exec(i),o=e?e[1]:"",r=n?n[1]:"",s=isFinite(parseInt(r)),a=isFinite(parseInt(o));s&&t.push(`width="${r}"`),a&&t.push(`height="${o}"`)}return{href:e,dimensions:t}}(e)),e=s(e,!0);try{const n=Qe.a.parse(e);t.baseUrl&&n.scheme===la.b.file&&(e=Object(jt.k)(t.baseUrl,e).toString())}catch(e){}r.push(`src="${e}"`)}return i&&r.push(`alt="${i}"`),n&&r.push(`title="${n}"`),o.length&&(r=r.concat(o)),"<img "+r.join(" ")+">"},c.link=(n,i,o)=>{if(n===o&&(o=te(o)),n=s(n,!1),t.baseUrl){/^\w[\w\d+.-]*:/.test(n)||(n=Object(jt.k)(t.baseUrl,n).toString())}return i=te(i),!(n=te(n))||n.match(/^data:|javascript:/i)||n.match(/^command:/i)&&!e.isTrusted||n.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?o:`<a href="#" data-href="${n=n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${i||n}">${o}</a>`},c.paragraph=t=>`<p>${e.supportThemeIcons?Object(Y.f)(t):t}</p>`,t.codeBlockRenderer&&(c.code=(e,n)=>{const i=t.codeBlockRenderer(n,e),r=fs.b.nextId(),s=Promise.all([i,l]).then(e=>{const t=e[0],n=o.querySelector(`div[data-code="${r}"]`);n&&(n.innerHTML=t)}).catch(e=>{});return t.codeBlockRenderCallback&&s.then(t.codeBlockRenderCallback),`<div class="code" data-code="${r}">${Object(Ye.u)(e)}</div>`});const d=t.actionHandler;d&&[ft.c.CLICK,ft.c.AUXCLICK].forEach(e=>{d.disposeables.add(ft.i(o,e,e=>{const t=new Mc.a(e);if(!t.leftButton&&!t.middleButton)return;let n=t.target;if("A"===n.tagName||(n=n.parentElement,n&&"A"===n.tagName))try{const e=n.dataset.href;e&&d.callback(e,t)}catch(e){Object(Z.e)(e)}finally{t.preventDefault()}}))}),n.sanitizer=t=>(e.isTrusted?t.match(/^(<span[^<]+>)|(<\/\s*span>)$/):void 0)?t:"",n.sanitize=!0,n.renderer=c;const h=[la.b.http,la.b.https,la.b.mailto,la.b.data,la.b.file,la.b.vscodeRemote,la.b.vscodeRemoteResource];e.isTrusted&&h.push(la.b.command);let u=null!==(i=e.value)&&void 0!==i?i:"";u.length>1e5&&(u=u.substr(0,1e5)+"…");const p=Oc.parse(e.supportThemeIcons?Object(Y.d)(u):u,n);return o.innerHTML=Ac(p,{allowedSchemes:h,allowedTags:["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],allowedAttributes:{a:["href","name","target","data-href"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class","style"],th:["align"],td:["align"]},filter:function(t){return"span"!==t.tag||!e.isTrusted||1!==Object.keys(t.attrs).length||(t.attrs.style?!!t.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/):!!t.attrs.class&&!!t.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-animation-[a-z\-]+)?$/))}}),a(),o}var Fc=n(182),Wc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},zc=function(e,t){return function(n,i){t(n,i,e)}};let Bc=class extends pe.a{constructor(e,t,n=Vl.b){super(),this._editor=e,this._modeService=t,this._openerService=n,this._onDidRenderCodeBlock=this._register(new Lt.a),this.onDidRenderCodeBlock=this._onDidRenderCodeBlock.event}getOptions(e){return{codeBlockRenderer:(e,t)=>{let n=null;if(e)n=this._modeService.getModeIdForLanguageName(e);else{const e=this._editor.getModel();e&&(n=e.getLanguageIdentifier().language)}return this._modeService.triggerMode(n||""),Promise.resolve(!0).then(e=>{const i=et.C.getPromise(n||"");return i?i.then(e=>Object(Fc.b)(t,e)):Object(Fc.b)(t,void 0)}).then(e=>`<span style="font-family: ${this._editor.getOption(36).fontFamily}">${e}</span>`)},codeBlockRenderCallback:()=>this._onDidRenderCodeBlock.fire(),actionHandler:{callback:e=>{this._openerService.open(e,{fromUserGesture:!0}).catch(Z.e)},disposeables:e}}}render(e){const t=new pe.b;let n;return n=e?Pc(e,this.getOptions(t)):document.createElement("span"),{element:n,dispose:()=>t.dispose()}}};Bc=Wc([zc(1,Nl.a),zc(2,Object(gt.d)(Vl.a))],Bc);const jc=ft.a;class Vc{constructor(e,t,n){this.range=e,this.color=t,this.provider=n}}class Uc{constructor(e,t){this.range=e,this.marker=t}}class Hc{constructor(e,t){this._markerDecorationsService=t,this._editor=e,this._result=[]}setRange(e){this._range=e,this._result=[]}clearResult(){this._result=[]}computeAsync(e){if(!this._editor.hasModel()||!this._range)return Promise.resolve([]);const t=this._editor.getModel();return et.p.has(t)?Sc(t,new me.a(this._range.startLineNumber,this._range.startColumn),e):Promise.resolve([])}computeSync(){if(!this._editor.hasModel()||!this._range)return[];const e=this._editor.getModel(),t=this._range.startLineNumber;if(t>this._editor.getModel().getLineCount())return[];const n=Rn.get(this._editor),i=e.getLineMaxColumn(t),o=this._editor.getLineDecorations(t);let r=!1;const s=this._range,a=o.map(o=>{const a=o.range.startLineNumber===t?o.range.startColumn:1,l=o.range.endLineNumber===t?o.range.endColumn:i;if(a>s.startColumn||s.endColumn>l)return null;const c=new ge.a(s.startLineNumber,a,s.startLineNumber,l),d=this._markerDecorationsService.getMarker(e,o);if(d)return new Uc(c,d);const h=n.getColorData(o.range.getStartPosition());if(!r&&h){r=!0;const{color:e,range:t}=h.colorInfo;return new Vc(t,e,h.provider)}if(Q(o.options.hoverMessage))return null;return{contents:o.options.hoverMessage?Object(G.b)(o.options.hoverMessage):[],range:c}});return Object(G.d)(a)}onResult(e,t){this._result=t?e.concat(this._result.sort((e,t)=>e instanceof Vc?-1:t instanceof Vc?1:0)):this._result.concat(e)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){return this._result.slice(0).concat([this._getLoadingMessage()])}_getLoadingMessage(){return{range:this._range,contents:[(new X).appendText(U.a("modesContentHover.loading","Loading..."))]}}}const qc={type:2,filter:{include:nt.QuickFix}};class $c extends Lc{constructor(e,t,n,i,o,r,s=Vl.b){super($c.ID,e,t,i),this._themeService=o,this._modeService=r,this._openerService=s,this.renderDisposable=this._register(new pe.d),this._messages=[],this._lastRange=null,this._computer=new Hc(this._editor,n),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new kc(this._computer,e=>this._withResult(e,!0),null,e=>this._withResult(e,!1),this._editor.getOption(46).delay),this._register(ft.n(this.getDomNode(),ft.c.FOCUS,()=>{this._colorPicker&&ft.e(this.getDomNode(),"colorpicker-hover")})),this._register(ft.n(this.getDomNode(),ft.c.BLUR,()=>{ft.Q(this.getDomNode(),"colorpicker-hover")})),this._register(e.onDidChangeConfiguration(e=>{this._hoverOperation.setHoverTime(this._editor.getOption(46).delay)})),this._register(et.C.onDidChange(e=>{this.isVisible&&this._lastRange&&this._messages.length>0&&(this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastRange,this._messages))}))}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAt(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){let t=[];for(let n=0,i=this._messages.length;n<i;n++){const i=this._messages[n],o=i.range;o&&o.startColumn<=e.startColumn&&o.endColumn>=e.endColumn&&t.push(i)}if(t.length>0){if(function(e,t){if(!e&&t||e&&!t||e.length!==t.length)return!1;for(let o=0;o<e.length;o++){const r=e[o],s=t[o];if(r instanceof Uc&&s instanceof Uc)return Wt.a.makeKey(r.marker)===Wt.a.makeKey(s.marker);if(r instanceof Vc||s instanceof Vc)return!1;if(r instanceof Uc||s instanceof Uc)return!1;if(n=r.contents,i=s.contents,!(!n&&!i||n&&i&&(Array.isArray(n)&&Array.isArray(i)?Object(G.g)(n,i,ee):J(n)&&J(i)&&ee(n,i))))return!1}var n,i;return!0}(t,this._messages))return;this._renderMessages(e,t)}else this.hide()}else this.hide();this._lastRange=e,this._computer.setRange(e),this._shouldFocus=n,this._hoverOperation.start(t)}}hide(){this._lastRange=null,this._hoverOperation.cancel(),super.hide(),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}_withResult(e,t){this._messages=e,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()}_renderMessages(e,t){this.renderDisposable.dispose(),this._colorPicker=null;let n=1073741824,i=t[0].range?ge.a.lift(t[0].range):null,o=document.createDocumentFragment(),r=!0,s=!1;const a=new pe.b,l=[];if(t.forEach(e=>{if(e.range)if(n=Math.min(n,e.range.startColumn),i=i?ge.a.plusRange(i,e.range):ge.a.lift(e.range),e instanceof Vc){s=!0;const{red:t,green:n,blue:i,alpha:r}=e.color,l=new Nn.c(Math.round(255*t),Math.round(255*n),Math.round(255*i),r),c=new Nn.a(l);if(!this._editor.hasModel())return;const d=this._editor.getModel();let h=new ge.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn),u={range:e.range,color:e.color};const p=new gc(c,[],0),m=new xc(o,p,this._editor.getOption(115),this._themeService);In(d,u,e.provider,Xe.a.None).then(t=>{if(p.colorPresentations=t||[],!this._editor.hasModel())return;const n=this._editor.getModel().getValueInRange(e.range);p.guessColorPresentation(c,n);const i=()=>{let e,t;p.presentation.textEdit?(e=[p.presentation.textEdit],t=new ge.a(p.presentation.textEdit.range.startLineNumber,p.presentation.textEdit.range.startColumn,p.presentation.textEdit.range.endLineNumber,p.presentation.textEdit.range.endColumn),t=t.setEndPosition(t.endLineNumber,t.startColumn+p.presentation.textEdit.text.length)):(e=[{identifier:null,range:h,text:p.presentation.label,forceMoveMarkers:!1}],t=h.setEndPosition(h.endLineNumber,h.startColumn+p.presentation.label.length)),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e),p.presentation.additionalTextEdits&&(e=[...p.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",e),this.hide()),this._editor.pushUndoStop(),h=t},r=t=>In(d,{range:h,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},e.provider,Xe.a.None).then(e=>{p.colorPresentations=e||[]}),s=p.onColorFlushed(e=>{r(e).then(i)}),l=p.onDidChangeColor(r);this._colorPicker=m,this.showAt(h.getStartPosition(),h,this._shouldFocus),this.updateContents(o),this._colorPicker.layout(),this.renderDisposable.value=Object(pe.e)(s,l,m,a)})}else e instanceof Uc?(l.push(e),r=!1):e.contents.filter(e=>!Q(e)).forEach(e=>{const t=jc("div.hover-row.markdown-hover"),n=ft.p(t,jc("div.hover-contents")),i=a.add(new Bc(this._editor,this._modeService,this._openerService));a.add(i.onDidRenderCodeBlock(()=>{n.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const s=a.add(i.render(e));n.appendChild(s.element),o.appendChild(t),r=!1})}),l.length){l.forEach(e=>o.appendChild(this.renderMarkerHover(e)));const e=1===l.length?l[0]:l.sort((e,t)=>Wt.c.compare(e.marker.severity,t.marker.severity))[0];o.appendChild(this.renderMarkerStatusbar(e))}s||r||(this.showAt(new me.a(e.startLineNumber,n),i,this._shouldFocus),this.updateContents(o)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,i?[{range:i,options:$c._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}renderMarkerHover(e){const t=jc("div.hover-row"),n=ft.p(t,jc("div.marker.hover-contents")),{source:i,message:o,code:r,relatedInformation:s}=e.marker;this._editor.applyFontInfo(n);const a=ft.p(n,jc("span"));if(a.style.whiteSpace="pre-wrap",a.innerText=o,i||r)if(r&&"string"!=typeof r){const e=jc("span");if(i){ft.p(e,jc("span")).innerText=i}this._codeLink=ft.p(e,jc("a.code-link")),this._codeLink.setAttribute("href",r.target.toString()),this._codeLink.onclick=e=>{this._openerService.open(r.target),e.preventDefault(),e.stopPropagation()};ft.p(this._codeLink,jc("span")).innerText=r.value;const t=ft.p(n,e);t.style.opacity="0.6",t.style.paddingLeft="6px"}else{const e=ft.p(n,jc("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=i&&r?`${i}(${r})`:i||`(${r})`}if(Object(G.o)(s))for(const{message:e,resource:t,startLineNumber:i,startColumn:o}of s){const r=ft.p(n,jc("div"));r.style.marginTop="8px";const s=ft.p(r,jc("a"));s.innerText=`${Object(jt.b)(t)}(${i}, ${o}): `,s.style.cursor="pointer",s.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(t.with({fragment:`${i},${o}`}),{fromUserGesture:!0}).catch(Z.e)};const a=ft.p(r,jc("span"));a.innerText=e,this._editor.applyFontInfo(a)}return t}renderMarkerStatusbar(e){const t=jc("div.hover-row.status-bar"),n=new pe.b,i=ft.p(t,jc("div.actions"));if(e.marker.severity!==Wt.c.Error&&e.marker.severity!==Wt.c.Warning&&e.marker.severity!==Wt.c.Info||n.add(this._renderAction(i,{label:U.a("peek problem","Peek Problem"),commandId:hc.ID,run:()=>{this.hide(),cc.get(this._editor).showAtMarker(e.marker),this._editor.focus()}})),!this._editor.getOption(72)){const t=ft.p(i,jc("div"));t.style.opacity="0",t.style.transition="opacity 0.2s",setTimeout(()=>t.style.opacity="1",200),t.textContent=U.a("checkingForQuickFixes","Checking for quick fixes..."),n.add(Object(pe.h)(()=>t.remove()));const o=this.getCodeActions(e.marker);n.add(Object(pe.h)(()=>o.cancel())),o.then(e=>{if(t.style.transition="",t.style.opacity="1",!e.validActions.length)return e.dispose(),void(t.textContent=U.a("noQuickFixes","No quick fixes available"));t.remove();let o=!1;n.add(Object(pe.h)(()=>{o||e.dispose()})),n.add(this._renderAction(i,{label:U.a("quick fixes","Quick Fix..."),commandId:en.Id,run:t=>{o=!0;const n=Xt.get(this._editor),i=ft.C(t);this.hide(),n.showCodeActions(qc,e,{x:i.left+6,y:i.top+i.height+6})}}))})}return this.renderDisposable.value=n,t}getCodeActions(e){return Object(ue.f)(t=>ct(this._editor.getModel(),new ge.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),qc,rt.b.None,t))}}$c.ID="editor.contrib.modesContentHoverWidget",$c._DECORATION_OPTIONS=be.a.register({className:"hoverHighlight"}),Object(we.g)((e,t)=>{const n=e.getColor(ve.rc);n&&t.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${n}; }`)});class Kc{constructor(e){this._editor=e,this._lineNumber=-1,this._result=[]}setLineNumber(e){this._lineNumber=e,this._result=[]}clearResult(){this._result=[]}computeSync(){const e=e=>({value:e}),t=this._editor.getLineDecorations(this._lineNumber),n=[];if(!t)return n;for(const i of t){if(!i.options.glyphMarginClassName)continue;const t=i.options.glyphMarginHoverMessage;t&&!Q(t)&&n.push(...Object(G.b)(t).map(e))}return n}onResult(e,t){this._result=this._result.concat(e)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class Gc extends Nc{constructor(e,t,n=Vl.b){super(Gc.ID,e),this._renderDisposeables=this._register(new pe.b),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new Bc(this._editor,t,n)),this._computer=new Kc(this._editor),this._hoverOperation=new kc(this._computer,e=>this._withResult(e),void 0,e=>this._withResult(e),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();const n=document.createDocumentFragment();for(const e of t){const t=this._markdownRenderer.render(e.value);this._renderDisposeables.add(t),n.appendChild(Object(ft.a)("div.hover-row",void 0,t.element))}this.updateContents(n),this.showAt(e)}}Gc.ID="editor.contrib.modesGlyphHoverWidget";var Yc=n(192),Zc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Xc=function(e,t){return function(n,i){t(n,i,e)}};let Qc=class e{constructor(e,t,n,i,o,r,s){this._editor=e,this._openerService=t,this._modeService=n,this._markerDecorationsService=i,this._keybindingService=o,this._themeService=r,this._toUnhook=new pe.b,this._contentWidget=new pe.d,this._glyphWidget=new pe.d,this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(e=>{e.hasChanged(46)&&(this._hideWidgets(),this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=H.a.hoverVisible.bindTo(s)}get contentWidget(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value}get glyphWidget(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value}static get(t){return t.getContribution(e.ID)}_hookEvents(){const e=()=>this._hideWidgets(),t=this._editor.getOption(46);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._toUnhook.add(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(e)),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;const t=e.target.type;9!==t||e.target.detail!==$c.ID?12===t&&e.target.detail===Gc.ID||(12!==t&&e.target.detail!==Gc.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){let t=e.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible()||this._isHoverSticky&&9===t&&e.target.detail===$c.ID||this._isHoverSticky&&12===t&&e.target.detail===Gc.ID)){if(7===t){const n=this._editor.getOption(36).typicalHalfwidthCharacterWidth/2,i=e.target.detail;i&&!i.isAfterLines&&"number"==typeof i.horizontalDistanceToText&&i.horizontalDistanceToText<n&&(t=6)}6===t?(this.glyphWidget.hide(),this._isHoverEnabled&&e.target.range&&this.contentWidget.startShowingAt(e.target.range,0,!1)):2===t?(this.contentWidget.hide(),this._isHoverEnabled&&e.target.position&&this.glyphWidget.startShowingAt(e.target.position.lineNumber)):this._hideWidgets()}}_onKeyDown(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()}_hideWidgets(){!this._glyphWidget.value||!this._contentWidget.value||this._isMouseDown&&this._hoverClicked&&this._contentWidget.value.isColorPickerVisible()||(this._glyphWidget.value.hide(),this._contentWidget.value.hide())}_createHoverWidgets(){this._contentWidget.value=new $c(this._editor,this._hoverVisibleKey,this._markerDecorationsService,this._keybindingService,this._themeService,this._modeService,this._openerService),this._glyphWidget.value=new Gc(this._editor,this._modeService,this._openerService)}showContentHover(e,t,n){this.contentWidget.startShowingAt(e,t,n)}dispose(){this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),this._glyphWidget.dispose(),this._contentWidget.dispose()}};Qc.ID="editor.contrib.hover",Qc=Zc([Xc(1,Vl.a),Xc(2,Nl.a),Xc(3,Yc.a),Xc(4,vt.a),Xc(5,we.c),Xc(6,K.b)],Qc);class Jc extends V.b{constructor(){super({id:"editor.action.showHover",label:U.a({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2087),weight:100}})}run(e,t){if(!t.hasModel())return;let n=Qc.get(t);if(!n)return;const i=t.getPosition(),o=new ge.a(i.lineNumber,i.column,i.lineNumber,i.column),r=2===t.getOption(2);n.showContentHover(o,1,r)}}class ed extends V.b{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:U.a({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let n=Qc.get(t);if(!n)return;const i=t.getPosition();if(!i)return;const o=new ge.a(i.lineNumber,i.column,i.lineNumber,i.column),r=Wl.get(t).startFindDefinitionFromCursor(i);r?r.then(()=>{n.showContentHover(o,1,!0)}):n.showContentHover(o,1,!0)}}Object(V.m)(Qc.ID,Qc),Object(V.k)(Jc),Object(V.k)(ed),Object(we.g)((e,t)=>{const n=e.getColor(ve.H);n&&t.addRule(`.monaco-editor .hoverHighlight { background-color: ${n}; }`);const i=e.getColor(ve.E);i&&t.addRule(`.monaco-editor .monaco-hover { background-color: ${i}; }`);const o=e.getColor(ve.F);o&&(t.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${o}; }`),t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${o.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${o.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${o.transparent(.5)}; }`));const r=e.getColor(ve.rc);r&&t.addRule(`.monaco-editor .monaco-hover a { color: ${r}; }`);const s=e.getColor(ve.G);s&&t.addRule(`.monaco-editor .monaco-hover { color: ${s}; }`);const a=e.getColor(ve.I);a&&t.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${a}; }`);const l=e.getColor(ve.qc);l&&t.addRule(`.monaco-editor .monaco-hover code { background-color: ${l}; }`)});var td=n(130);function nd(e,t){let n=0;for(let i=0;i<e.length;i++)"\t"===e.charAt(i)?n+=t:n++;return n}function id(e,t,n){e=e<0?0:e;let i="";if(!n){let n=Math.floor(e/t);e%=t;for(let e=0;e<n;e++)i+="\t"}for(let t=0;t<e;t++)i+=" ";return i}function od(e,t,n,i){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return[];let o=Pn.a.getIndentationRules(e.getLanguageIdentifier().id);if(!o)return[];for(n=Math.min(n,e.getLineCount());t<=n&&o.unIndentedLinePattern;){let n=e.getLineContent(t);if(!o.unIndentedLinePattern.test(n))break;t++}if(t>n-1)return[];const{tabSize:r,indentSize:s,insertSpaces:a}=e.getOptions(),l=(e,t)=>(t=t||1,td.a.shiftIndent(e,e.length+t,r,s,a)),c=(e,t)=>(t=t||1,td.a.unshiftIndent(e,e.length+t,r,s,a));let d,h=[],u=e.getLineContent(t),p=u;if(null!=i){d=i;let e=Ye.z(u);p=d+u.substring(e.length),o.decreaseIndentPattern&&o.decreaseIndentPattern.test(p)&&(d=c(d),p=d+u.substring(e.length)),u!==p&&h.push(Mn.a.replace(new q.a(t,1,t,e.length+1),be.b.normalizeIndentation(d,s,a)))}else d=Ye.z(u);let m=d;o.increaseIndentPattern&&o.increaseIndentPattern.test(p)?(m=l(m),d=l(d)):o.indentNextLinePattern&&o.indentNextLinePattern.test(p)&&(m=l(m));for(let i=++t;i<=n;i++){let t=e.getLineContent(i),n=Ye.z(t),r=m+t.substring(n.length);o.decreaseIndentPattern&&o.decreaseIndentPattern.test(r)&&(m=c(m),d=c(d)),n!==m&&h.push(Mn.a.replace(new q.a(i,1,i,n.length+1),be.b.normalizeIndentation(m,s,a))),o.unIndentedLinePattern&&o.unIndentedLinePattern.test(t)||(o.increaseIndentPattern&&o.increaseIndentPattern.test(r)?(d=l(d),m=d):m=o.indentNextLinePattern&&o.indentNextLinePattern.test(r)?l(m):d)}return h}class rd extends V.b{constructor(){super({id:rd.ID,label:U.a("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),o=t.getSelection();if(!o)return;const r=new fd(o,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),n.updateOptions({insertSpaces:!0})}}rd.ID="editor.action.indentationToSpaces";class sd extends V.b{constructor(){super({id:sd.ID,label:U.a("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),o=t.getSelection();if(!o)return;const r=new bd(o,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),n.updateOptions({insertSpaces:!1})}}sd.ID="editor.action.indentationToTabs";class ad extends V.b{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){const n=e.get(Sn.a),i=e.get(tt.a);let o=t.getModel();if(!o)return;let r=i.getCreationOptions(o.getLanguageIdentifier().language,o.uri,o.isForSimpleWidget);const s=[1,2,3,4,5,6,7,8].map(e=>({id:e.toString(),label:e.toString(),description:e===r.tabSize?U.a("configuredTabSize","Configured Tab Size"):void 0})),a=Math.min(o.getOptions().tabSize-1,7);setTimeout(()=>{n.pick(s,{placeHolder:U.a({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:s[a]}).then(e=>{e&&o&&!o.isDisposed()&&o.updateOptions({tabSize:parseInt(e.label,10),insertSpaces:this.insertSpaces})})},50)}}class ld extends ad{constructor(){super(!1,{id:ld.ID,label:U.a("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}ld.ID="editor.action.indentUsingTabs";class cd extends ad{constructor(){super(!0,{id:cd.ID,label:U.a("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}cd.ID="editor.action.indentUsingSpaces";class dd extends V.b{constructor(){super({id:dd.ID,label:U.a("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){const n=e.get(tt.a);let i=t.getModel();if(!i)return;let o=n.getCreationOptions(i.getLanguageIdentifier().language,i.uri,i.isForSimpleWidget);i.detectIndentation(o.insertSpaces,o.tabSize)}}dd.ID="editor.action.detectIndentation";class hd extends V.b{constructor(){super({id:"editor.action.reindentlines",label:U.a("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=od(n,1,n.getLineCount());i.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,i),t.pushUndoStop())}}class ud extends V.b{constructor(){super({id:"editor.action.reindentselectedlines",label:U.a("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=t.getSelections();if(null===i)return;let o=[];for(let e of i){let t=e.startLineNumber,i=e.endLineNumber;if(t!==i&&1===e.endColumn&&i--,1===t){if(t===i)continue}else t--;let r=od(n,t,i);o.push(...r)}o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class pd{constructor(e,t){this._initialSelection=t,this._edits=[],this._selectionId=null;for(let t of e)t.range&&"string"==typeof t.text&&this._edits.push(t)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(ge.a.lift(e.range),e.text);let n=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),n||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class md{constructor(e){this.callOnDispose=new pe.b,this.callOnModel=new pe.b,this.editor=e,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),this.editor.getOption(8)<4||this.editor.getOption(40)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;const n=this.editor.getModel();if(!n)return;if(!n.isCheapToTokenize(e.getStartPosition().lineNumber))return;const i=this.editor.getOption(8),{tabSize:o,indentSize:r,insertSpaces:s}=n.getOptions();this.editor.pushUndoStop();let a=[],l={shiftIndent:e=>td.a.shiftIndent(e,e.length+1,o,r,s),unshiftIndent:e=>td.a.unshiftIndent(e,e.length+1,o,r,s)},c=e.startLineNumber;for(;c<=e.endLineNumber&&this.shouldIgnoreLine(n,c);)c++;if(c>e.endLineNumber)return;let d=n.getLineContent(c);if(!/\S/.test(d.substring(0,e.startColumn-1))){let e=Pn.a.getGoodIndentForLine(i,n,n.getLanguageIdentifier().id,c,l);if(null!==e){let t=Ye.z(d),i=nd(e,o);if(i!==nd(t,o)){let e=id(i,o,s);a.push({range:new ge.a(c,1,c,t.length+1),text:e}),d=e+d.substr(t.length)}else{let e=Pn.a.getIndentMetadata(n,c);if(0===e||8===e)return}}}const h=c;for(;c<e.endLineNumber&&!/\S/.test(n.getLineContent(c+1));)c++;if(c!==e.endLineNumber){let t={getLineTokens:e=>n.getLineTokens(e),getLanguageIdentifier:()=>n.getLanguageIdentifier(),getLanguageIdAtPosition:(e,t)=>n.getLanguageIdAtPosition(e,t),getLineContent:e=>e===h?d:n.getLineContent(e)},r=Pn.a.getGoodIndentForLine(i,t,n.getLanguageIdentifier().id,c+1,l);if(null!==r){let t=nd(r,o),i=nd(Ye.z(n.getLineContent(c+1)),o);if(t!==i){let r=t-i;for(let t=c+1;t<=e.endLineNumber;t++){let e=n.getLineContent(t),i=Ye.z(e),l=id(nd(i,o)+r,o,s);l!==i&&a.push({range:new ge.a(t,1,t,i.length+1),text:l})}}}}let u=new pd(a,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",u),this.editor.pushUndoStop()}shouldIgnoreLine(e,t){e.forceTokenization(t);let n=e.getLineFirstNonWhitespaceColumn(t);if(0===n)return!0;let i=e.getLineTokens(t);if(i.getCount()>0){let e=i.findTokenIndexAtOffset(n);if(e>=0&&1===i.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}}function gd(e,t,n,i){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let o="";for(let e=0;e<n;e++)o+=" ";let r=new RegExp(o,"gi");for(let n=1,s=e.getLineCount();n<=s;n++){let s=e.getLineFirstNonWhitespaceColumn(n);if(0===s&&(s=e.getLineMaxColumn(n)),1===s)continue;const a=new ge.a(n,1,n,s),l=e.getValueInRange(a),c=i?l.replace(/\t/gi,o):l.replace(r,"\t");t.addEditOperation(a,c)}}md.ID="editor.contrib.autoIndentOnPaste";class fd{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),gd(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class bd{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),gd(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}Object(V.m)(md.ID,md),Object(V.k)(rd),Object(V.k)(sd),Object(V.k)(ld),Object(V.k)(cd),Object(V.k)(dd),Object(V.k)(hd),Object(V.k)(ud);class _d{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new q.a(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new q.a(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}var vd=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},wd=function(e,t){return function(n,i){t(n,i,e)}};let yd=class e{constructor(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}static get(t){return t.getContribution(e.ID)}dispose(){}run(t,n){this.currentRequest&&this.currentRequest.cancel();const i=this.editor.getSelection(),o=this.editor.getModel();if(!o||!i)return;let r=i;if(r.startLineNumber!==r.endLineNumber)return;const s=new Je.a(this.editor,5),a=o.uri;return this.editorWorkerService.canNavigateValueSet(a)?(this.currentRequest=Object(ue.f)(e=>this.editorWorkerService.navigateValueSet(a,r,n)),this.currentRequest.then(n=>{if(!n||!n.range||!n.value)return;if(!s.validate(this.editor))return;let i=ge.a.lift(n.range),o=n.range,a=n.value.length-(r.endColumn-r.startColumn);o={startLineNumber:o.startLineNumber,startColumn:o.startColumn,endLineNumber:o.endLineNumber,endColumn:o.startColumn+n.value.length},a>1&&(r=new q.a(r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn+a-1));const l=new _d(i,r,n.value);this.editor.pushUndoStop(),this.editor.executeCommand(t,l),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:o,options:e.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=Object(ue.l)(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(Z.e)}).catch(Z.e)):Promise.resolve(void 0)}};yd.ID="editor.contrib.inPlaceReplaceController",yd.DECORATION=be.a.register({className:"valueSetReplacement"}),yd=vd([wd(1,Ar.a)],yd);class Cd extends V.b{constructor(){super({id:"editor.action.inPlaceReplace.up",label:U.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3154,weight:100}})}run(e,t){const n=yd.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}}class xd extends V.b{constructor(){super({id:"editor.action.inPlaceReplace.down",label:U.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3156,weight:100}})}run(e,t){const n=yd.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}}Object(V.m)(yd.ID,yd),Object(V.k)(Cd),Object(V.k)(xd),Object(we.g)((e,t)=>{const n=e.getColor(_e.d);n&&t.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${n}; }`)});class Sd{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){let n=function(e,t){t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber);for(let e=t.length-2;e>=0;e--)t[e].lineNumber===t[e+1].lineNumber&&t.splice(e,1);let n=[],i=0,o=0,r=t.length;for(let s=1,a=e.getLineCount();s<=a;s++){let a=e.getLineContent(s),l=a.length+1,c=0;if(o<r&&t[o].lineNumber===s&&(c=t[o].column,o++,c===l))continue;if(0===a.length)continue;let d=Ye.J(a),h=0;if(-1===d)h=1;else{if(d===a.length-1)continue;h=d+2}h=Math.max(c,h),n[i++]=Mn.a.delete(new ge.a(s,h,s,l))}return n}(e,this._cursors);for(let e=0,i=n.length;e<i;e++){let i=n[e];t.addEditOperation(i.range,i.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}var kd=n(126);class Ed{constructor(e,t){this._selection=e,this._isCopyingDown=t,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let n=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,n.startLineNumber<n.endLineNumber&&1===n.endColumn&&(this._endLineNumberDelta=1,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));let i=[];for(let t=n.startLineNumber;t<=n.endLineNumber;t++)i.push(e.getLineContent(t));const o=i.join("\n");""===o&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._isCopyingDown?t.addEditOperation(new ge.a(n.startLineNumber,1,n.startLineNumber,1),o+"\n"):t.addEditOperation(new ge.a(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),"\n"+o),this._selectionId=t.trackSelection(n),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){let e=n.startLineNumber,t=n.startColumn,i=n.endLineNumber,o=n.endColumn;0!==this._startLineNumberDelta&&(e+=this._startLineNumberDelta,t=1),0!==this._endLineNumberDelta&&(i+=this._endLineNumberDelta,o=1),n=q.a.createWithDirection(e,t,i,o,this._selectionDirection)}return n}}var Td=n(75);class Ld{constructor(e,t,n){this._selection=e,this._isMovingDown=t,this._autoIndent=n,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(e,t){let n=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===n)return void(this._selectionId=t.trackSelection(this._selection));if(!this._isMovingDown&&1===this._selection.startLineNumber)return void(this._selectionId=t.trackSelection(this._selection));this._moveEndPositionDown=!1;let i=this._selection;i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(this._moveEndPositionDown=!0,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const{tabSize:o,indentSize:r,insertSpaces:s}=e.getOptions();let a=this.buildIndentConverter(o,r,s),l={getLineTokens:t=>e.getLineTokens(t),getLanguageIdentifier:()=>e.getLanguageIdentifier(),getLanguageIdAtPosition:(t,n)=>e.getLanguageIdAtPosition(t,n),getLineContent:null};if(i.startLineNumber===i.endLineNumber&&1===e.getLineMaxColumn(i.startLineNumber)){let n=i.startLineNumber,o=this._isMovingDown?n+1:n-1;1===e.getLineMaxColumn(o)?t.addEditOperation(new ge.a(1,1,1,1),null):(t.addEditOperation(new ge.a(n,1,n,1),e.getLineContent(o)),t.addEditOperation(new ge.a(o,1,o,e.getLineMaxColumn(o)),null)),i=new q.a(o,1,o,1)}else{let n,r;if(this._isMovingDown){n=i.endLineNumber+1,r=e.getLineContent(n),t.addEditOperation(new ge.a(n-1,e.getLineMaxColumn(n-1),n,e.getLineMaxColumn(n)),null);let c=r;if(this.shouldAutoIndent(e,i)){let d=this.matchEnterRule(e,a,o,n,i.startLineNumber-1);if(null!==d){let t=id(d+nd(Ye.z(e.getLineContent(n)),o),o,s);c=t+this.trimLeft(r)}else{l.getLineContent=t=>t===i.startLineNumber?e.getLineContent(n):e.getLineContent(t);let t=Pn.a.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(n,1),i.startLineNumber,a);if(null!==t){let i=Ye.z(e.getLineContent(n)),a=nd(t,o);if(a!==nd(i,o)){let e=id(a,o,s);c=e+this.trimLeft(r)}}}t.addEditOperation(new ge.a(i.startLineNumber,1,i.startLineNumber,1),c+"\n");let h=this.matchEnterRule(e,a,o,i.startLineNumber,i.startLineNumber,c);if(null!==h)0!==h&&this.getIndentEditsOfMovingBlock(e,t,i,o,s,h);else{l.getLineContent=t=>t===i.startLineNumber?c:t>=i.startLineNumber+1&&t<=i.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t);let r=Pn.a.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(n,1),i.startLineNumber+1,a);if(null!==r){const n=Ye.z(e.getLineContent(i.startLineNumber)),a=nd(r,o),l=nd(n,o);if(a!==l){const n=a-l;this.getIndentEditsOfMovingBlock(e,t,i,o,s,n)}}}}else t.addEditOperation(new ge.a(i.startLineNumber,1,i.startLineNumber,1),c+"\n")}else if(n=i.startLineNumber-1,r=e.getLineContent(n),t.addEditOperation(new ge.a(n,1,n+1,1),null),t.addEditOperation(new ge.a(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+r),this.shouldAutoIndent(e,i)){l.getLineContent=t=>t===n?e.getLineContent(i.startLineNumber):e.getLineContent(t);let r=this.matchEnterRule(e,a,o,i.startLineNumber,i.startLineNumber-2);if(null!==r)0!==r&&this.getIndentEditsOfMovingBlock(e,t,i,o,s,r);else{let r=Pn.a.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(i.startLineNumber,1),n,a);if(null!==r){let n=Ye.z(e.getLineContent(i.startLineNumber)),a=nd(r,o),l=nd(n,o);if(a!==l){let n=a-l;this.getIndentEditsOfMovingBlock(e,t,i,o,s,n)}}}}}this._selectionId=t.trackSelection(i)}buildIndentConverter(e,t,n){return{shiftIndent:i=>td.a.shiftIndent(i,i.length+1,e,t,n),unshiftIndent:i=>td.a.unshiftIndent(i,i.length+1,e,t,n)}}matchEnterRule(e,t,n,i,o,r){let s=o;for(;s>=1;){let t;if(t=s===o&&void 0!==r?r:e.getLineContent(s),Ye.J(t)>=0)break;s--}if(s<1||i>e.getLineCount())return null;let a=e.getLineMaxColumn(s),l=Pn.a.getEnterAction(this._autoIndent,e,new ge.a(s,a,s,a));if(l){let o=l.indentation;l.indentAction===Td.a.None||l.indentAction===Td.a.Indent?o=l.indentation+l.appendText:l.indentAction===Td.a.IndentOutdent?o=l.indentation:l.indentAction===Td.a.Outdent&&(o=t.unshiftIndent(l.indentation)+l.appendText);let r=e.getLineContent(i);if(this.trimLeft(r).indexOf(this.trimLeft(o))>=0){let r=Ye.z(e.getLineContent(i)),s=Ye.z(o),a=Pn.a.getIndentMetadata(e,i);return null!==a&&2&a&&(s=t.unshiftIndent(s)),nd(s,n)-nd(r,n)}}return null}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){if(this._autoIndent<4)return!1;if(!e.isCheapToTokenize(t.startLineNumber))return!1;let n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==Pn.a.getIndentRulesSupport(n)}getIndentEditsOfMovingBlock(e,t,n,i,o,r){for(let s=n.startLineNumber;s<=n.endLineNumber;s++){let a=e.getLineContent(s),l=Ye.z(a),c=id(nd(l,i)+r,i,o);c!==l&&(t.addEditOperation(new ge.a(s,1,s,l.length+1),c),s===n.endLineNumber&&n.endColumn<=l.length+1&&""===c&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber<n.endLineNumber&&(n=n.setEndPosition(n.endLineNumber,2)),n}}class Nd{constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}static getCollator(){return Nd._COLLATOR||(Nd._COLLATOR=new Intl.Collator),Nd._COLLATOR}getEditOperations(e,t){let n=function(e,t,n){let i=Id(e,t,n);if(!i)return null;return Mn.a.replace(new ge.a(i.startLineNumber,1,i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),i.after.join("\n"))}(e,this.selection,this.descending);n&&t.addEditOperation(n.range,n.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,n){if(null===e)return!1;let i=Id(e,t,n);if(!i)return!1;for(let e=0,t=i.before.length;e<t;e++)if(i.before[e]!==i.after[e])return!0;return!1}}function Id(e,t,n){let i=t.startLineNumber,o=t.endLineNumber;if(1===t.endColumn&&o--,i>=o)return null;let r=[];for(let t=i;t<=o;t++)r.push(e.getLineContent(t));let s=r.slice(0);return s.sort(Nd.getCollator().compare),!0===n&&(s=s.reverse()),{startLineNumber:i,endLineNumber:o,before:r,after:s}}Nd._COLLATOR=null;class Od extends V.b{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;const n=t.getSelections().map((e,t)=>({selection:e,index:t,ignore:!1}));n.sort((e,t)=>ge.a.compareRangesUsingStarts(e.selection,t.selection));let i=n[0];for(let e=1;e<n.length;e++){const t=n[e];i.selection.endLineNumber===t.selection.startLineNumber&&(i.index<t.index?t.ignore=!0:(i.ignore=!0,i=t))}const o=[];for(const e of n)e.ignore||o.push(new Ed(e.selection,this.down));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class Dd extends V.b{constructor(){super({id:"editor.action.duplicateSelection",label:U.a("duplicateSelection","Duplicate Selection"),alias:"Duplicate Selection",precondition:H.a.writable,menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miDuplicateSelection",comment:["&& denotes a mnemonic"]},"&&Duplicate Selection"),order:5}})}run(e,t,n){if(!t.hasModel())return;const i=[],o=t.getSelections(),r=t.getModel();for(const e of o)if(e.isEmpty())i.push(new Ed(e,!0));else{const t=new q.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn);i.push(new Ne.c(t,r.getValueInRange(e)))}t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Ad extends V.b{constructor(e,t){super(t),this.down=e}run(e,t){let n=[],i=t.getSelections()||[];const o=t.getOption(8);for(const e of i)n.push(new Ld(e,this.down,o));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class Rd extends V.b{constructor(e,t){super(t),this.descending=e}run(e,t){const n=t.getSelections()||[];for(const e of n)if(!Nd.canRun(t.getModel(),e,this.descending))return;let i=[];for(let e=0,t=n.length;e<t;e++)i[e]=new Nd(n[e],this.descending);t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Md extends V.b{constructor(){super({id:Md.ID,label:U.a("lines.trimTrailingWhitespace","Trim Trailing Whitespace"),alias:"Trim Trailing Whitespace",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2102),weight:100}})}run(e,t,n){let i=[];"auto-save"===n.reason&&(i=(t.getSelections()||[]).map(e=>new me.a(e.positionLineNumber,e.positionColumn)));let o=t.getSelection();if(null===o)return;let r=new Sd(o,i);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop()}}Md.ID="editor.action.trimTrailingWhitespace";class Pd extends V.b{constructor(){super({id:"editor.action.deleteLines",label:U.a("lines.delete","Delete Line"),alias:"Delete Line",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let n=this._getLinesToRemove(t),i=t.getModel();if(1===i.getLineCount()&&1===i.getLineMaxColumn(1))return;let o=0,r=[],s=[];for(let e=0,t=n.length;e<t;e++){const t=n[e];let a=t.startLineNumber,l=t.endLineNumber,c=1,d=i.getLineMaxColumn(l);l<i.getLineCount()?(l+=1,d=1):a>1&&(a-=1,c=i.getLineMaxColumn(a)),r.push(Mn.a.replace(new q.a(a,c,l,d),"")),s.push(new q.a(a-o,t.positionColumn,a-o,t.positionColumn)),o+=t.endLineNumber-t.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,s),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map(e=>{let t=e.endLineNumber;return e.startLineNumber<e.endLineNumber&&1===e.endColumn&&(t-=1),{startLineNumber:e.startLineNumber,selectionStartColumn:e.selectionStartColumn,endLineNumber:t,positionColumn:e.positionColumn}});t.sort((e,t)=>e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber);let n=[],i=t[0];for(let e=1;e<t.length;e++)i.endLineNumber+1>=t[e].startLineNumber?i.endLineNumber=t[e].endLineNumber:(n.push(i),i=t[e]);return n.push(i),n}}class Fd extends V.b{constructor(){super({id:"editor.action.indentLines",label:U.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2137,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,kd.a.indent(n.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class Wd extends V.b{constructor(){super({id:"editor.action.outdentLines",label:U.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2135,weight:100}})}run(e,t){B.a.Outdent.runEditorCommand(e,t,null)}}class zd extends V.b{constructor(){super({id:"editor.action.insertLineBefore",label:U.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3075,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,kd.a.lineInsertBefore(n.cursorConfig,t.getModel(),t.getSelections())))}}class Bd extends V.b{constructor(){super({id:"editor.action.insertLineAfter",label:U.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2051,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,kd.a.lineInsertAfter(n.cursorConfig,t.getModel(),t.getSelections())))}}class jd extends V.b{run(e,t){if(!t.hasModel())return;const n=t.getSelection();let i=this._getRangesToDelete(t),o=[];for(let e=0,t=i.length-1;e<t;e++){let t=i[e],n=i[e+1];null===ge.a.intersectRanges(t,n)?o.push(t):i[e+1]=ge.a.plusRange(t,n)}o.push(i[i.length-1]);let r=this._getEndCursorState(n,o),s=o.map(e=>Mn.a.replace(e,""));t.pushUndoStop(),t.executeEdits(this.id,s,r),t.pushUndoStop()}}class Vd extends V.b{constructor(){super({id:"editor.action.joinLines",label:U.a("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getSelection();if(null===i)return;n.sort(ge.a.compareRangesUsingStarts);let o=[],r=n.reduce((e,t)=>e.isEmpty()?e.endLineNumber===t.startLineNumber?(i.equalsSelection(e)&&(i=t),t):t.startLineNumber>e.endLineNumber+1?(o.push(e),t):new q.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(o.push(e),t):new q.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn));o.push(r);let s=t.getModel();if(null===s)return;let a=[],l=[],c=i,d=0;for(let e=0,t=o.length;e<t;e++){let t,n,r=o[e],h=r.startLineNumber,u=1,p=0,m=s.getLineContent(r.endLineNumber).length-r.endColumn;if(r.isEmpty()||r.startLineNumber===r.endLineNumber){let e=r.getStartPosition();e.lineNumber<s.getLineCount()?(t=h+1,n=s.getLineMaxColumn(t)):(t=e.lineNumber,n=s.getLineMaxColumn(e.lineNumber))}else t=r.endLineNumber,n=s.getLineMaxColumn(t);let g=s.getLineContent(h);for(let e=h+1;e<=t;e++){let t=s.getLineContent(e),n=s.getLineFirstNonWhitespaceColumn(e);if(n>=1){let e=!0;""===g&&(e=!1),!e||" "!==g.charAt(g.length-1)&&"\t"!==g.charAt(g.length-1)||(e=!1,g=g.replace(/[\s\uFEFF\xA0]+$/g," "));let i=t.substr(n-1);g+=(e?" ":"")+i,p=e?i.length+1:i.length}else p=0}let f=new ge.a(h,u,t,n);if(!f.isEmpty()){let e;r.isEmpty()?(a.push(Mn.a.replace(f,g)),e=new q.a(f.startLineNumber-d,g.length-p+1,h-d,g.length-p+1)):r.startLineNumber===r.endLineNumber?(a.push(Mn.a.replace(f,g)),e=new q.a(r.startLineNumber-d,r.startColumn,r.endLineNumber-d,r.endColumn)):(a.push(Mn.a.replace(f,g)),e=new q.a(r.startLineNumber-d,r.startColumn,r.startLineNumber-d,g.length-m)),null!==ge.a.intersectRanges(f,i)?c=e:l.push(e)}d+=f.endLineNumber-f.startLineNumber}l.unshift(c),t.pushUndoStop(),t.executeEdits(this.id,a,l),t.pushUndoStop()}}class Ud extends V.b{constructor(){super({id:"editor.action.transpose",label:U.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:H.a.writable})}run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getModel();if(null===i)return;let o=[];for(let e=0,t=n.length;e<t;e++){let t=n[e];if(!t.isEmpty())continue;let r=t.getStartPosition(),s=i.getLineMaxColumn(r.lineNumber);if(r.column>=s){if(r.lineNumber===i.getLineCount())continue;let e=new ge.a(r.lineNumber,Math.max(1,r.column-1),r.lineNumber+1,1),t=i.getValueInRange(e).split("").reverse().join("");o.push(new Ne.a(new q.a(r.lineNumber,Math.max(1,r.column-1),r.lineNumber+1,1),t))}else{let e=new ge.a(r.lineNumber,Math.max(1,r.column-1),r.lineNumber,r.column+1),t=i.getValueInRange(e).split("").reverse().join("");o.push(new Ne.b(e,t,new q.a(r.lineNumber,r.column+1,r.lineNumber,r.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class Hd extends V.b{run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getModel();if(null===i)return;let o=t.getOption(105),r=[];for(let e=0,s=n.length;e<s;e++){let s=n[e];if(s.isEmpty()){let e=s.getStartPosition();const n=t.getConfiguredWordAtPosition(e);if(!n)continue;let a=new ge.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),l=i.getValueInRange(a);r.push(new Ne.b(a,this._modifyText(l,o),new q.a(e.lineNumber,e.column,e.lineNumber,e.column)))}else{let e=i.getValueInRange(s);r.push(new Ne.b(s,this._modifyText(e,o),s))}}t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}Object(V.k)(class extends Od{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:U.a("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),Object(V.k)(class extends Od{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:U.a("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),Object(V.k)(Dd),Object(V.k)(class extends Ad{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:U.a("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),Object(V.k)(class extends Ad{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:U.a("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),Object(V.k)(class extends Rd{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:U.a("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:H.a.writable})}}),Object(V.k)(class extends Rd{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:U.a("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:H.a.writable})}}),Object(V.k)(Md),Object(V.k)(Pd),Object(V.k)(Fd),Object(V.k)(Wd),Object(V.k)(zd),Object(V.k)(Bd),Object(V.k)(class extends jd{constructor(){super({id:"deleteAllLeft",label:U.a("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let n=null,i=[],o=0;return t.forEach(t=>{let r;if(1===t.endColumn&&o>0){let e=t.startLineNumber-o;r=new q.a(e,t.startColumn,e,t.startColumn)}else r=new q.a(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);o+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=r:i.push(r)}),n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getSelections();if(null===t)return[];let n=t,i=e.getModel();return null===i?[]:(n.sort(ge.a.compareRangesUsingStarts),n=n.map(e=>{if(e.isEmpty()){if(1===e.startColumn){let t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:i.getLineContent(t).length+1;return new ge.a(t,n,e.startLineNumber,1)}return new ge.a(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return new ge.a(e.startLineNumber,1,e.endLineNumber,e.endColumn)}),n)}}),Object(V.k)(class extends jd{constructor(){super({id:"deleteAllRight",label:U.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let n=null,i=[];for(let o=0,r=t.length,s=0;o<r;o++){let r=t[o],a=new q.a(r.startLineNumber-s,r.startColumn,r.startLineNumber-s,r.startColumn);r.intersectRanges(e)?n=a:i.push(a)}return n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getModel();if(null===t)return[];let n=e.getSelections();if(null===n)return[];let i=n.map(e=>{if(e.isEmpty()){const n=t.getLineMaxColumn(e.startLineNumber);return e.startColumn===n?new ge.a(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new ge.a(e.startLineNumber,e.startColumn,e.startLineNumber,n)}return e});return i.sort(ge.a.compareRangesUsingStarts),i}}),Object(V.k)(Vd),Object(V.k)(Ud),Object(V.k)(class extends Hd{constructor(){super({id:"editor.action.transformToUppercase",label:U.a("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:H.a.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}),Object(V.k)(class extends Hd{constructor(){super({id:"editor.action.transformToLowercase",label:U.a("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:H.a.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}),Object(V.k)(class extends Hd{constructor(){super({id:"editor.action.transformToTitlecase",label:U.a("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:H.a.writable})}_modifyText(e,t){const n=("\r\n\t "+t).split("");let i="",o=!0;for(let t=0;t<e.length;t++){let r=e[t];n.indexOf(r)>=0?(o=!0,i+=r):o?(o=!1,i+=r.toLocaleUpperCase()):i+=r.toLocaleLowerCase()}return i}});n(317);var qd=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class $d{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(e){return qd(this,void 0,void 0,(function*(){return this._link.url?this._link.url:"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,e)).then(t=>(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))}))}}class Kd extends pe.a{constructor(e){super();let t=[];for(const[n,i]of e){const e=n.links.map(e=>new $d(e,i));t=Kd._union(t,e),Object(pe.g)(n)&&this._register(n)}this.links=t}static _union(e,t){let n,i,o,r,s=[];for(n=0,o=0,i=e.length,r=t.length;n<i&&o<r;){const i=e[n],r=t[o];if(ge.a.areIntersectingOrTouching(i.range,r.range)){n++;continue}ge.a.compareRangesUsingStarts(i.range,r.range)<0?(s.push(i),n++):(s.push(r),o++)}for(;n<i;n++)s.push(e[n]);for(;o<r;o++)s.push(t[o]);return s}}function Gd(e,t){const n=[],i=et.s.ordered(e).reverse().map((i,o)=>Promise.resolve(i.provideLinks(e,t)).then(e=>{e&&(n[o]=[e,i])},Z.f));return Promise.all(i).then(()=>{const e=new Kd(Object(G.d)(n));return t.isCancellationRequested?(e.dispose(),new Kd([])):e})}Ft.a.registerCommand("_executeLinkProvider",(e,...t)=>qd(void 0,void 0,void 0,(function*(){const[n]=t;if(!(n instanceof Qe.a))return[];const i=e.get(tt.a).getModel(n);if(!i)return[];const o=yield Gd(i,Xe.a.None);if(!o)return[];const r=o.links.slice(0);return o.dispose(),r})));var Yd=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Zd=function(e,t){return function(n,i){t(n,i,e)}},Xd=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Qd={general:be.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:be.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class Jd{constructor(e,t){this.link=e,this.decorationId=t}static decoration(e,t){return{range:e.range,options:Jd._getOptions(e,t,!1)}}static _getOptions(e,t,n){const i=Object.assign({},n?Qd.active:Qd.general);return i.hoverMessage=function(e,t){const n=e.url&&/^command:/i.test(e.url.toString()),i=e.tooltip?e.tooltip:n?U.a("links.navigate.executeCmd","Execute command"):U.a("links.navigate.follow","Follow link"),o=t?Ae.f?U.a("links.navigate.kb.meta.mac","cmd + click"):U.a("links.navigate.kb.meta","ctrl + click"):Ae.f?U.a("links.navigate.kb.alt.mac","option + click"):U.a("links.navigate.kb.alt","alt + click");if(e.url){return new X("",!0).appendMarkdown(`[${i}](${e.url.toString()}) (${o})`)}return(new X).appendText(`${i} (${o})`)}(e,t),i}activate(e,t){e.changeDecorationOptions(this.decorationId,Jd._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,Jd._getOptions(this.link,t,!1))}}let eh=class e{constructor(e,t,n){this.listenersToRemove=new pe.b,this.editor=e,this.openerService=t,this.notificationService=n;let i=new Ml(e);this.listenersToRemove.add(i),this.listenersToRemove.add(i.onMouseMoveOrRelevantKeyDown(([e,t])=>{this._onEditorMouseMove(e,t)})),this.listenersToRemove.add(i.onExecute(e=>{this.onEditorMouseUp(e)})),this.listenersToRemove.add(i.onCancel(e=>{this.cleanUpActiveLinkDecoration()})),this.enabled=e.getOption(54),this.listenersToRemove.add(e.onDidChangeConfiguration(t=>{const n=e.getOption(54);this.enabled!==n&&(this.enabled=n,this.updateDecorations([]),this.stop(),this.beginCompute())})),this.listenersToRemove.add(e.onDidChangeModelContent(e=>this.onChange())),this.listenersToRemove.add(e.onDidChangeModel(e=>this.onModelChanged())),this.listenersToRemove.add(e.onDidChangeModelLanguage(e=>this.onModelModeChanged())),this.listenersToRemove.add(et.s.onDidChange(e=>this.onModelModeChanged())),this.timeout=new ue.e,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(t){return t.getContribution(e.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet(()=>this.beginCompute(),e.RECOMPUTE_TIME)}beginCompute(){return Xd(this,void 0,void 0,(function*(){if(!this.editor.hasModel()||!this.enabled)return;const e=this.editor.getModel();if(et.s.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=ue.f(t=>Gd(e,t));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(e){Object(Z.e)(e)}finally{this.computePromise=null}}}))}updateDecorations(e){const t="altKey"===this.editor.getOption(61);let n=[],i=Object.keys(this.currentOccurrences);for(let e=0,t=i.length;e<t;e++){let t=i[e],o=this.currentOccurrences[t];n.push(o.decorationId)}let o=[];if(e)for(const n of e)o.push(Jd.decoration(n,t));let r=this.editor.deltaDecorations(n,o);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let t=0,n=r.length;t<n;t++){let n=new Jd(e[t],r[t]);this.currentOccurrences[n.decorationId]=n}}_onEditorMouseMove(e,t){const n="altKey"===this.editor.getOption(61);if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();const t=this.getLinkOccurrence(e.target.position);t&&this.editor.changeDecorations(e=>{t.activate(e,n),this.activeLinkDecorationId=t.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e="altKey"===this.editor.getOption(61);if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(n=>{t.deactivate(n,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;const t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,n=!1){if(!this.openerService)return;const{link:i}=e;i.resolve(Xe.a.None).then(e=>{if("string"==typeof e&&this.editor.hasModel()){const t=this.editor.getModel().uri;if(t.scheme===la.b.file&&Ye.S(e,"file:")){const n=Qe.a.parse(e);if(n.scheme===la.b.file){const i=jt.i(n);let o=null;Ye.S(i,"/./")?o="."+i.substr(1):Ye.S(i,"//./")&&(o="."+i.substr(2)),o&&(e=jt.g(t,o))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:n})},e=>{const t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(U.a("invalid.url","Failed to open this link because it is not well-formed: {0}",i.url.toString())):"missing"===t?this.notificationService.warn(U.a("missing.url","Failed to open this link because its target is missing.")):Object(Z.e)(e)})}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;const t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(const e of t){const t=this.currentOccurrences[e.id];if(t)return t}return null}isEnabled(e,t){return Boolean(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){this.timeout.cancel(),this.activeLinksList&&this.activeLinksList.dispose(),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};eh.ID="editor.linkDetector",eh.RECOMPUTE_TIME=1e3,eh=Yd([Zd(1,Vl.a),Zd(2,zt.a)],eh);class th extends V.b{constructor(){super({id:"editor.action.openLink",label:U.a("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let n=eh.get(t);if(!n)return;if(!t.hasModel())return;let i=t.getSelections();for(let e of i){let t=n.getLinkOccurrence(e.getEndPosition());t&&n.openLinkOccurrence(t,!1)}}}Object(V.m)(eh.ID,eh),Object(V.k)(th),Object(we.g)((e,t)=>{const n=e.getColor(ve.r);n&&t.addRule(`.monaco-editor .detected-link-active { color: ${n} !important; }`)});var nh=n(85);class ih extends V.b{constructor(){super({id:"editor.action.insertCursorAbove",label:U.a("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,n){if(!t.hasModel())return;const i=n&&!0===n.logicalLine,o=t._getViewModel();o.cursorConfig.readOnly||(o.pushStackElement(),o.setCursorStates(n.source,3,nh.b.addCursorUp(o,o.getCursorStates(),i)),o.revealTopMostCursor(n.source))}}class oh extends V.b{constructor(){super({id:"editor.action.insertCursorBelow",label:U.a("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,n){if(!t.hasModel())return;const i=n&&!0===n.logicalLine,o=t._getViewModel();o.cursorConfig.readOnly||(o.pushStackElement(),o.setCursorStates(n.source,3,nh.b.addCursorDown(o,o.getCursorStates(),i)),o.revealBottomMostCursor(n.source))}}class rh extends V.b{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:U.a("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,n){if(!e.isEmpty()){for(let i=e.startLineNumber;i<e.endLineNumber;i++){let e=t.getLineMaxColumn(i);n.push(new q.a(i,e,i,e))}e.endColumn>1&&n.push(new q.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;const n=t.getModel(),i=t.getSelections();let o=[];i.forEach(e=>this.getCursorsForSelection(e,n,o)),o.length>0&&t.setSelections(o)}}class sh extends V.b{constructor(){super({id:"editor.action.addCursorsToBottom",label:U.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections(),i=t.getModel().getLineCount();let o=[];for(let e=n[0].startLineNumber;e<=i;e++)o.push(new q.a(e,n[0].startColumn,e,n[0].endColumn));o.length>0&&t.setSelections(o)}}class ah extends V.b{constructor(){super({id:"editor.action.addCursorsToTop",label:U.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections();let i=[];for(let e=n[0].startLineNumber;e>=1;e--)i.push(new q.a(e,n[0].startColumn,e,n[0].endColumn));i.length>0&&t.setSelections(i)}}class lh{constructor(e,t,n){this.selections=e,this.revealRange=t,this.revealScrollType=n}}class ch{constructor(e,t,n,i,o,r,s){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=n,this.searchText=i,this.wholeWord=o,this.matchCase=r,this.currentMatch=s}static create(e,t){if(!e.hasModel())return null;const n=t.getState();if(!e.hasTextFocus()&&n.isRevealed&&n.searchString.length>0)return new ch(e,t,!1,n.searchString,n.wholeWord,n.matchCase,null);let i,o,r=!1;const s=e.getSelections();1===s.length&&s[0].isEmpty()?(r=!0,i=!0,o=!0):(i=n.wholeWord,o=n.matchCase);const a=e.getSelection();let l,c=null;if(a.isEmpty()){const t=e.getConfiguredWordAtPosition(a.getStartPosition());if(!t)return null;l=t.word,c=new q.a(a.startLineNumber,t.startColumn,a.startLineNumber,t.endColumn)}else l=e.getModel().getValueInRange(a).replace(/\r\n/g,"\n");return new ch(e,t,r,l,i,o,c)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return n?new q.a(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return n?new q.a(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}selectAll(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1,1073741824)):[]}}class dh extends pe.a{constructor(e){super(),this._sessionDispose=this._register(new pe.b),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(dh.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){const t=ch.create(this._editor,e);if(!t)return;this._session=t;const n={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(n.wholeWordOverride=1,n.matchCaseOverride=1,n.isRegexOverride=2),e.getState().change(n,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;const n=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return n?new q.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){const t=this._editor.getSelections();if(t.length>1){const n=e.getState().matchCase;if(!mh(this._editor.getModel(),t,n)){const e=this._editor.getModel();let n=[];for(let i=0,o=t.length;i<o;i++)n[i]=this._expandEmptyToWord(e,t[i]);return void this._editor.setSelections(n)}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(e){if(!this._editor.hasModel())return;let t=null;const n=e.getState();if(n.isRevealed&&n.searchString.length>0&&n.isRegex)t=this._editor.getModel().findMatches(n.searchString,!0,n.isRegex,n.matchCase,n.wholeWord?this._editor.getOption(105):null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(n.searchScope){const e=n.searchScope;let i=[];t.forEach(t=>{e.forEach(e=>{t.range.endLineNumber<=e.endLineNumber&&t.range.startLineNumber>=e.startLineNumber&&i.push(t)})}),t=i}if(t.length>0){const e=this._editor.getSelection();for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i.range.intersectRanges(e)){t[n]=t[0],t[0]=i;break}}this._setSelections(t.map(e=>new q.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)))}}}dh.ID="editor.contrib.multiCursorController";class hh extends V.b{run(e,t){const n=dh.get(t);if(!n)return;const i=Uo.get(t);i&&this._run(n,i)}}class uh{constructor(e,t,n,i){this.searchText=e,this.matchCase=t,this.wordSeparators=n,this.modelVersionId=i}static softEquals(e,t){return!e&&!t||!(!e||!t)&&(e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators&&e.modelVersionId===t.modelVersionId)}}class ph extends pe.a{constructor(e){super(),this.editor=e,this._isEnabled=e.getOption(89),this.decorations=[],this.updateSoon=this._register(new ue.d(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(89)})),this._register(e.onDidChangeCursorSelection(e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(e=>{this._setState(null)})),this._register(e.onDidChangeModelContent(e=>{this._isEnabled&&this.updateSoon.schedule()})),this._register(Uo.get(e).getState().onFindReplaceStateChange(e=>{this._update()}))}_update(){this._setState(ph._createState(this._isEnabled,this.editor))}static _createState(e,t){if(!e)return null;if(!t.hasModel())return null;const n=t.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;const i=dh.get(t);if(!i)return null;const o=Uo.get(t);if(!o)return null;let r=i.getSession(o);if(!r){const e=t.getSelections();if(e.length>1){const n=o.getState().matchCase;if(!mh(t.getModel(),e,n))return null}r=ch.create(t,o)}if(!r)return null;if(r.currentMatch)return null;if(/^[ \t]+$/.test(r.searchText))return null;if(r.searchText.length>200)return null;const s=o.getState(),a=s.matchCase;if(s.isRevealed){let e=s.searchString;a||(e=e.toLowerCase());let t=r.searchText;if(a||(t=t.toLowerCase()),e===t&&r.matchCase===s.matchCase&&r.wholeWord===s.wholeWord&&!s.isRegex)return null}return new uh(r.searchText,r.matchCase,r.wholeWord?t.getOption(105):null,t.getModel().getVersionId())}_setState(e){if(uh.softEquals(this.state,e))return void(this.state=e);if(this.state=e,!this.state)return void(this.decorations=this.editor.deltaDecorations(this.decorations,[]));if(!this.editor.hasModel())return;const t=this.editor.getModel();if(t.isTooLargeForTokenization())return;const n=et.i.has(t)&&this.editor.getOption(63);let i=t.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(e=>e.range);i.sort(ge.a.compareRangesUsingStarts);let o=this.editor.getSelections();o.sort(ge.a.compareRangesUsingStarts);let r=[];for(let e=0,t=0,n=i.length,s=o.length;e<n;){const n=i[e];if(t>=s)r.push(n),e++;else{const i=ge.a.compareRangesUsingStarts(n,o[t]);i<0?(!o[t].isEmpty()&&ge.a.areIntersecting(n,o[t])||r.push(n),e++):(i>0||e++,t++)}}const s=r.map(e=>({range:e,options:n?ph._SELECTION_HIGHLIGHT:ph._SELECTION_HIGHLIGHT_OVERVIEW}));this.decorations=this.editor.deltaDecorations(this.decorations,s)}dispose(){this._setState(null),super.dispose()}}function mh(e,t,n){const i=gh(e,t[0],!n);for(let o=1,r=t.length;o<r;o++){const r=t[o];if(r.isEmpty())return!1;if(i!==gh(e,r,!n))return!1}return!0}function gh(e,t,n){const i=e.getValueInRange(t);return n?i.toLowerCase():i}ph.ID="editor.contrib.selectionHighlighter",ph._SELECTION_HIGHLIGHT_OVERVIEW=be.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(we.h)(ve.Wb),position:fe.d.Center}}),ph._SELECTION_HIGHLIGHT=be.a.register({stickiness:1,className:"selectionHighlight"}),Object(V.m)(dh.ID,dh),Object(V.m)(ph.ID,ph),Object(V.k)(ih),Object(V.k)(oh),Object(V.k)(rh),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:U.a("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:2082,weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:U.a("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:U.a("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:Object($.a)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:U.a("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.selectHighlights",label:U.a("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:3114,weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.changeAll",label:U.a("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:K.a.and(H.a.writable,H.a.editorTextFocus),kbOpts:{kbExpr:H.a.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}),Object(V.k)(sh),Object(V.k)(ah);n(319);var fh=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const bh={Visible:new K.c("parameterHintsVisible",!1),MultipleSignatures:new K.c("parameterHintsMultipleSignatures",!1)};function _h(e,t,n,i){const o=et.y.ordered(e);return Object(ue.h)(o.map(o=>()=>Promise.resolve(o.provideSignatureHelp(e,t,i,n)).catch(e=>Object(Z.f)(e))))}Object(V.j)("_executeSignatureHelpProvider",(e,t,n)=>fh(void 0,void 0,void 0,(function*(){const i=yield _h(e,t,{triggerKind:et.z.Invoke,isRetrigger:!1,triggerCharacter:n.triggerCharacter},Xe.a.None);if(i)return setTimeout(()=>i.dispose(),0),i.value})));var vh,wh=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};!function(e){e.Default={type:0};e.Pending=class{constructor(e){this.request=e,this.type=2}};e.Active=class{constructor(e){this.hints=e,this.type=1}}}(vh||(vh={}));class yh extends pe.a{constructor(e,t=yh.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new Lt.a),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=vh.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new pe.d),this.triggerChars=new Dr.b,this.retriggerChars=new Dr.b,this.triggerId=0,this.editor=e,this.throttledDelayer=new ue.a(t),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(e=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(e=>this.onCursorChange(e))),this._register(this.editor.onDidChangeModelContent(e=>this.onModelContentChange())),this._register(et.y.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(e=>this.onDidType(e))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=vh.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){const n=this.editor.getModel();if(!n||!et.y.has(n))return;const i=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(i),t).catch(Z.e)}next(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t%e==e-1,i=this.editor.getOption(67).cycle;!(e<2||n)||i?this.updateActiveSignature(n&&i?0:t+1):this.cancel()}previous(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=0===t,i=this.editor.getOption(67).cycle;!(e<2||n)||i?this.updateActiveSignature(n&&i?e-1:t-1):this.cancel()}updateActiveSignature(e){1===this.state.type&&(this.state=new vh.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return wh(this,void 0,void 0,(function*(){const t=1===this.state.type||2===this.state.type,n=1===this.state.type?this.state.hints:void 0;if(this.cancel(!0),0===this._pendingTriggers.length)return!1;const i=this._pendingTriggers.reduce(Ch);this._pendingTriggers=[];const o={triggerKind:i.triggerKind,triggerCharacter:i.triggerCharacter,isRetrigger:t,activeSignatureHelp:n};if(!this.editor.hasModel())return!1;const r=this.editor.getModel(),s=this.editor.getPosition();this.state=new vh.Pending(Object(ue.f)(e=>_h(r,s,o,e)));try{const t=yield this.state.request;return e!==this.triggerId?(null==t||t.dispose(),!1):t&&t.value.signatures&&0!==t.value.signatures.length?(this.state=new vh.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0):(null==t||t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(t){return e===this.triggerId&&(this.state=vh.Default),Object(Z.e)(t),!1}}))}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new Dr.b,this.retriggerChars=new Dr.b;const e=this.editor.getModel();if(e)for(const t of et.y.ordered(e)){for(const e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(const e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;const t=e.length-1,n=e.charCodeAt(t);(this.triggerChars.has(n)||this.isTriggered&&this.retriggerChars.has(n))&&this.trigger({triggerKind:et.z.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:et.z.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:et.z.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(67).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function Ch(e,t){switch(t.triggerKind){case et.z.Invoke:return t;case et.z.ContentChange:return e;case et.z.TriggerCharacter:default:return t}}yh.DEFAULT_DELAY=120;var xh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Sh=function(e,t){return function(n,i){t(n,i,e)}};const kh=ft.a,Eh=Object(Y.e)("parameter-hints-next",Y.a.chevronDown),Th=Object(Y.e)("parameter-hints-previous",Y.a.chevronUp);let Lh=class e extends pe.a{constructor(e,t,n,i){super(),this.editor=e,this.renderDisposeables=this._register(new pe.b),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new Bc(e,i,n)),this.model=this._register(new yh(e)),this.keyVisible=bh.Visible.bindTo(t),this.keyMultipleSignatures=bh.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints(e=>{e?(this.show(),this.render(e)):this.hide()}))}createParamaterHintDOMNodes(){const e=kh(".editor-widget.parameter-hints-widget"),t=ft.p(e,kh(".wrapper"));t.tabIndex=-1;const n=ft.p(t,kh(".controls")),i=ft.p(n,kh(".button"+Th.cssSelector)),o=ft.p(n,kh(".overloads")),r=ft.p(n,kh(".button"+Eh.cssSelector)),s=Object(Cs.b)(Object(Cs.a)(i,"click"));this._register(s(this.previous,this));const a=Object(Cs.b)(Object(Cs.a)(r,"click"));this._register(a(this.next,this));const l=kh(".body"),c=new Bl.a(l,{});this._register(c),t.appendChild(c.getDomNode());const d=ft.p(l,kh(".signature")),h=ft.p(l,kh(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:d,overloads:o,docs:h,scrollbar:c},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(e=>{this.visible&&this.editor.layoutContentWidget(this)}));const u=()=>{if(!this.domNodes)return;const e=this.editor.getOption(36);this.domNodes.element.style.fontSize=e.fontSize+"px"};u(),this._register(Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(36)).on(u,null)),this._register(this.editor.onDidLayoutChange(e=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&ft.e(this.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&ft.Q(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;const n=e.signatures.length>1;ft.ab(this.domNodes.element,"multiple",n),this.keyMultipleSignatures.set(n),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const i=e.signatures[e.activeSignature];if(!i)return;const o=ft.p(this.domNodes.signature,kh(".code")),r=this.editor.getOption(36);o.style.fontSize=r.fontSize+"px",o.style.fontFamily=r.fontFamily;const s=i.parameters.length>0,a=null!==(t=i.activeParameter)&&void 0!==t?t:e.activeParameter;if(s)this.renderParameters(o,i,a);else{ft.p(o,kh("span")).textContent=i.label}const l=i.parameters[a];if(null==l?void 0:l.documentation){const e=kh("span.documentation");if("string"==typeof l.documentation)e.textContent=l.documentation;else{const t=this.renderDisposeables.add(this.markdownRenderer.render(l.documentation));ft.e(t.element,"markdown-docs"),e.appendChild(t.element)}ft.p(this.domNodes.docs,kh("p",{},e))}if(void 0===i.documentation);else if("string"==typeof i.documentation)ft.p(this.domNodes.docs,kh("p",{},i.documentation));else{const e=this.renderDisposeables.add(this.markdownRenderer.render(i.documentation));ft.e(e.element,"markdown-docs"),ft.p(this.domNodes.docs,e.element)}const c=this.hasDocs(i,l);if(ft.ab(this.domNodes.signature,"has-docs",c),ft.ab(this.domNodes.docs,"empty",!c),this.domNodes.overloads.textContent=Object(Ye.M)(e.activeSignature+1,e.signatures.length.toString().length)+"/"+e.signatures.length,l){const e=this.getParameterLabel(i,a);this.announcedLabel!==e&&(ne.a(U.a("hint","{0}, hint",e)),this.announcedLabel=e)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}hasDocs(e,t){return!!(t&&"string"==typeof t.documentation&&Object(Jo.a)(t.documentation).length>0)||(!!(t&&"object"==typeof t.documentation&&Object(Jo.a)(t.documentation).value.length>0)||(!!(e.documentation&&"string"==typeof e.documentation&&Object(Jo.a)(e.documentation).length>0)||!!(e.documentation&&"object"==typeof e.documentation&&Object(Jo.a)(e.documentation.value).length>0)))}renderParameters(e,t,n){const[i,o]=this.getParameterLabelOffsets(t,n),r=document.createElement("span");r.textContent=t.label.substring(0,i);const s=document.createElement("span");s.textContent=t.label.substring(i,o),s.className="parameter active";const a=document.createElement("span");a.textContent=t.label.substring(o),ft.p(e,r,s,a)}getParameterLabel(e,t){const n=e.parameters[t];return Array.isArray(n.label)?e.label.substring(n.label[0],n.label[1]):n.label}getParameterLabelOffsets(e,t){const n=e.parameters[t];if(n){if(Array.isArray(n.label))return n.label;{const t=e.label.lastIndexOf(n.label);return t>=0?[t,t+n.label.length]:[0,0]}}return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element}getId(){return e.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;const e=Math.max(this.editor.getLayoutInfo().height/4,250)+"px";this.domNodes.element.style.maxHeight=e;const t=this.domNodes.element.getElementsByClassName("wrapper");t.length&&(t[0].style.maxHeight=e)}};Lh.ID="editor.widget.parameterHintsWidget",Lh=xh([Sh(1,K.b),Sh(2,Vl.a),Sh(3,Nl.a)],Lh),Object(we.g)((e,t)=>{const n=e.getColor(ve.F);if(n){const i=e.type===we.b?2:1;t.addRule(`.monaco-editor .parameter-hints-widget { border: ${i}px solid ${n}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${n.transparent(.5)}; }`)}const i=e.getColor(ve.E);i&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${i}; }`);const o=e.getColor(ve.rc);o&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${o}; }`);const r=e.getColor(ve.G);r&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${r}; }`);const s=e.getColor(ve.qc);s&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${s}; }`)});var Nh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ih=function(e,t){return function(n,i){t(n,i,e)}};let Oh=class e extends pe.a{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance(Lh,this.editor))}static get(t){return t.getContribution(e.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};Oh.ID="editor.controller.parameterHints",Oh=Nh([Ih(1,gt.a)],Oh);class Dh extends V.b{constructor(){super({id:"editor.action.triggerParameterHints",label:U.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:H.a.hasSignatureHelpProvider,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3082,weight:100}})}run(e,t){const n=Oh.get(t);n&&n.trigger({triggerKind:et.z.Invoke})}}Object(V.m)(Oh.ID,Oh),Object(V.k)(Dh);const Ah=V.c.bindToContribution(Oh.get);Object(V.l)(new Ah({id:"closeParameterHints",precondition:bh.Visible,handler:e=>e.cancel(),kbOpts:{weight:175,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(V.l)(new Ah({id:"showPrevParameterHint",precondition:K.a.and(bh.Visible,bh.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:H.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object(V.l)(new Ah({id:"showNextParameterHint",precondition:K.a.and(bh.Visible,bh.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:H.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}));n(321);var Rh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Mh=function(e,t){return function(n,i){t(n,i,e)}},Ph=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Fh=new K.c("onTypeRenameInputVisible",!1);let Wh=class e extends pe.a{constructor(e,t){super(),this._debounceDuration=200,this._localToDispose=this._register(new pe.b),this._editor=e,this._enabled=!1,this._visibleContextKey=Fh.bindTo(t),this._currentDecorations=[],this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new pe.b),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(73)&&this.reinitialize()})),this._register(et.u.onDidChange(()=>this.reinitialize())),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize())),this.reinitialize()}static get(t){return t.getContribution(e.ID)}reinitialize(){const e=this._editor.getModel(),t=null!==e&&this._editor.getOption(73)&&et.u.has(e);if(t===this._enabled)return;if(this._enabled=t,this.clearRanges(),this._localToDispose.clear(),!t||null===e)return;this._languageWordPattern=Pn.a.getWordDefinition(e.getLanguageIdentifier().id),this._localToDispose.add(e.onDidChangeLanguageConfiguration(()=>{this._languageWordPattern=Pn.a.getWordDefinition(e.getLanguageIdentifier().id)}));const n=new ue.a(this._debounceDuration),i=()=>{this._rangeUpdateTriggerPromise=n.trigger(()=>this.updateRanges(),this._debounceDuration)},o=new ue.a(0),r=e=>{this._rangeSyncTriggerPromise=o.trigger(()=>this._syncRanges(e))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{i()})),this._localToDispose.add(this._editor.onDidChangeModelContent(t=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const n=e.getDecorationRange(this._currentDecorations[0]);if(n&&t.changes.every(e=>n.intersectRanges(e.range)))return void r(this._currentDecorations)}i()})),this._localToDispose.add({dispose:()=>{n.cancel(),o.cancel()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._currentDecorations||0===e.length)return;const t=this._editor.getModel(),n=t.getDecorationRange(e[0]);if(!n||n.startLineNumber!==n.endLineNumber)return this.clearRanges();const i=t.getValueInRange(n);if(this._currentWordPattern){const e=i.match(this._currentWordPattern);if((e?e[0].length:0)!==i.length)return this.clearRanges()}let o=[];for(let n=1,r=e.length;n<r;n++){const r=t.getDecorationRange(e[n]);if(r)if(r.startLineNumber!==r.endLineNumber)o.push({range:r,text:i});else{let e=t.getValueInRange(r),n=i,s=r.startColumn,a=r.endColumn;const l=Ye.d(e,n);s+=l,e=e.substr(l),n=n.substr(l);const c=Ye.e(e,n);a-=c,e=e.substr(0,e.length-c),n=n.substr(0,n.length-c),s===a&&0===n.length||o.push({range:new ge.a(r.startLineNumber,s,r.endLineNumber,a),text:n})}}if(0!==o.length)try{this._ignoreChangeEvent=!0;const e=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits("onTypeRename",o),this._editor._getViewModel().setPrevEditOperationType(e)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,[]),this._currentRequest&&(this._currentRequest.cancel(),this._currentRequest=null,this._currentRequestPosition=null)}updateRanges(t=!1){return Ph(this,void 0,void 0,(function*(){if(!this._editor.hasModel())return void this.clearRanges();const n=this._editor.getPosition();if(!this._enabled&&!t||this._editor.getSelections().length>1)return void this.clearRanges();const i=this._editor.getModel(),o=i.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===o){if(n.equals(this._currentRequestPosition))return;if(this._currentDecorations&&this._currentDecorations.length>0){const e=i.getDecorationRange(this._currentDecorations[0]);if(e&&e.containsPosition(n))return}}this._currentRequestPosition=n,this._currentRequestModelVersion=o;const r=Object(ue.f)(t=>Ph(this,void 0,void 0,(function*(){try{const s=yield jh(i,n,t);if(r!==this._currentRequest)return;if(this._currentRequest=null,o!==i.getVersionId())return;let a=[];(null==s?void 0:s.ranges)&&(a=s.ranges),this._currentWordPattern=(null==s?void 0:s.wordPattern)||this._languageWordPattern;let l=!1;for(let e=0,t=a.length;e<t;e++)if(ge.a.containsPosition(a[e],n)){if(l=!0,0!==e){const t=a[e];a.splice(e,1),a.unshift(t)}break}if(!l)return void this.clearRanges();const c=a.map(t=>({range:t,options:e.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,c)}catch(e){Object(Z.d)(e)||Object(Z.e)(e),this._currentRequest!==r&&this._currentRequest||this.clearRanges()}})));return this._currentRequest=r,r}))}};Wh.ID="editor.contrib.onTypeRename",Wh.DECORATION=be.a.register({stickiness:0,className:"on-type-rename-decoration"}),Wh=Rh([Mh(1,K.b)],Wh);class zh extends V.b{constructor(){super({id:"editor.action.onTypeRename",label:U.a("onTypeRename.label","On Type Rename Symbol"),alias:"On Type Rename Symbol",precondition:K.a.and(H.a.writable,H.a.hasRenameProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const n=e.get(Me.a),[i,o]=Array.isArray(t)&&t||[void 0,void 0];return Qe.a.isUri(i)&&me.a.isIPosition(o)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(o),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},Z.e):super.runCommand(e,t)}run(e,t){const n=Wh.get(t);return n?Promise.resolve(n.updateRanges(!0)):Promise.resolve()}}const Bh=V.c.bindToContribution(Wh.get);function jh(e,t,n){const i=et.u.ordered(e);return Object(ue.h)(i.map(i=>()=>Promise.resolve(i.provideOnTypeRenameRanges(e,t,n)).then(e=>{if(e)return{ranges:e.ranges,wordPattern:e.wordPattern||i.wordPattern}},e=>{Object(Z.f)(e)})),e=>!!e&&G.o(null==e?void 0:e.ranges))}Object(V.l)(new Bh({id:"cancelOnTypeRenameInput",precondition:Fh,handler:e=>e.clearRanges(),kbOpts:{kbExpr:H.a.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));const Vh=Object(ve.gc)("editor.onTypeRenameBackground",{dark:Nn.a.fromHex("#f00").transparent(.3),light:Nn.a.fromHex("#f00").transparent(.3),hc:Nn.a.fromHex("#f00").transparent(.3)},U.a("editorOnTypeRenameBackground","Background color when the editor auto renames on type."));Object(we.g)((e,t)=>{const n=e.getColor(Vh);n&&t.addRule(`.monaco-editor .on-type-rename-decoration { background: ${n}; border-left-color: ${n}; }`)}),Object(V.p)("_executeRenameOnTypeProvider",(e,t)=>jh(e,t,Xe.a.None)),Object(V.m)(Wh.ID,Wh),Object(V.k)(zh);n(323);var Uh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Hh=function(e,t){return function(n,i){t(n,i,e)}};const qh=new K.c("renameInputVisible",!1);let $h=class{constructor(e,t,n,i,o){this._editor=e,this._acceptKeybindings=t,this._themeService=n,this._keybindingService=i,this._disposables=new pe.b,this.allowEditorOverflow=!0,this._visibleContextKey=qh.bindTo(o),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(U.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);const e=()=>{var e,t;const[n,i]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(n),this._label.innerText=Object(U.a)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(e=this._keybindingService.lookupKeybinding(n))||void 0===e?void 0:e.getLabel(),null===(t=this._keybindingService.lookupKeybinding(i))||void 0===t?void 0:t.getLabel())};e(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(e){var t,n,i,o;if(!this._input||!this._domNode)return;const r=e.getColor(ve.uc);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(ve.U))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?" 0 2px 8px "+r:"",this._domNode.style.color=String(null!==(n=e.getColor(ve.hb))&&void 0!==n?n:""),this._input.style.backgroundColor=String(null!==(i=e.getColor(ve.fb))&&void 0!==i?i:"");const s=e.getColor(ve.gb);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(o=null==s?void 0:s.toString())&&void 0!==o?o:"none"}_updateFont(){if(!this._input||!this._label)return;const e=this._editor.getOption(36);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=e.fontSize+"px",this._label.style.fontSize=.8*e.fontSize+"px"}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}acceptInput(e){this._currentAcceptInput&&this._currentAcceptInput(e)}cancelInput(e){this._currentCancelInput&&this._currentCancelInput(e)}getInput(e,t,n,i,o,r){this._domNode.classList.toggle("preview",o),this._position=new me.a(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",i.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);const s=new pe.b;return new Promise(e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=n=>{0!==this._input.value.trim().length&&this._input.value!==t?(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:o&&n})):this.cancelInput(!0)},r.onCancellationRequested(()=>this.cancelInput(!0)),s.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{s.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};$h=Uh([Hh(2,we.c),Hh(3,vt.a),Hh(4,K.b)],$h);var Kh=n(102),Gh=n(56),Yh=n(128),Zh=n(152),Xh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Qh=function(e,t){return function(n,i){t(n,i,e)}},Jh=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class eu{constructor(e,t){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=et.w.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return Jh(this,void 0,void 0,(function*(){const t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const n=this._providers[this._providerRenameIdx];if(!n.resolveRenameLocation)break;let i=yield n.resolveRenameLocation(this.model,this.position,e);if(i){if(!i.rejectReason)return i;t.push(i.rejectReason)}}const n=this.model.getWordAtPosition(this.position);return n?{range:new ge.a(this.position.lineNumber,n.startColumn,this.position.lineNumber,n.endColumn),text:n.word,rejectReason:t.length>0?t.join("\n"):void 0}:{range:ge.a.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join("\n"):void 0}}))}provideRenameEdits(e,t){return Jh(this,void 0,void 0,(function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)}))}_provideRenameEdits(e,t,n,i){return Jh(this,void 0,void 0,(function*(){const o=this._providers[t];if(!o)return{edits:[],rejectReason:n.join("\n")};const r=yield o.provideRenameEdits(this.model,this.position,e,i);return r?r.rejectReason?this._provideRenameEdits(e,t+1,n.concat(r.rejectReason),i):r:this._provideRenameEdits(e,t+1,n.concat(U.a("no result","No result.")),i)}))}}let tu=class e{constructor(e,t,n,i,o,r,s){this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=i,this._progressService=o,this._logService=r,this._configService=s,this._dispoableStore=new pe.b,this._cts=new Xe.b,this._renameInputField=this._dispoableStore.add(new ue.b(()=>this._dispoableStore.add(this._instaService.createInstance($h,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(t){return t.getContribution(e.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return Jh(this,void 0,void 0,(function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;const e=this.editor.getPosition(),t=new eu(this.editor.getModel(),e);if(!t.hasProvider())return;let n;this._cts=new Je.b(this.editor,5);try{const e=t.resolveRenameLocation(this._cts.token);this._progressService.showWhile(e,250),n=yield e}catch(t){return void ut.get(this.editor).showMessage(t||U.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e)}if(!n)return;if(n.rejectReason)return void ut.get(this.editor).showMessage(n.rejectReason,e);if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new Je.b(this.editor,5,n.range);let i=this.editor.getSelection(),o=0,r=n.text.length;ge.a.isEmpty(i)||ge.a.spansMultipleLines(i)||!ge.a.containsRange(n.range,i)||(o=Math.max(0,i.startColumn-n.range.startColumn),r=Math.min(n.range.endColumn,i.endColumn)-n.range.startColumn);const s=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),a=yield this._renameInputField.value.getInput(n.range,n.text,o,r,s,this._cts.token);if("boolean"==typeof a)return void(a&&this.editor.focus());this.editor.focus();const l=Object(ue.j)(t.provideRenameEdits(a.newName,this._cts.token),this._cts.token).then(e=>Jh(this,void 0,void 0,(function*(){e&&this.editor.hasModel()&&(e.rejectReason?this._notificationService.info(e.rejectReason):this._bulkEditService.apply(Ze.b.convert(e),{editor:this.editor,showPreview:a.wantsPreview,label:U.a("label","Renaming '{0}'",null==n?void 0:n.text),quotableLabel:U.a("quotableLabel","Renaming {0}",null==n?void 0:n.text)}).then(e=>{e.ariaSummary&&Object(ne.a)(U.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",n.text,a.newName,e.ariaSummary))}).catch(e=>{this._notificationService.error(U.a("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)}))})),e=>{this._notificationService.error(U.a("rename.failed","Rename failed to compute edits")),this._logService.error(e)});return this._progressService.showWhile(l,250),l}))}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};tu.ID="editor.contrib.renameController",tu=Xh([Qh(1,gt.a),Qh(2,zt.a),Qh(3,Ze.a),Qh(4,rt.a),Qh(5,Kh.b),Qh(6,Zh.a)],tu);class nu extends V.b{constructor(){super({id:"editor.action.rename",label:U.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:K.a.and(H.a.writable,H.a.hasRenameProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){const n=e.get(Me.a),[i,o]=Array.isArray(t)&&t||[void 0,void 0];return Qe.a.isUri(i)&&me.a.isIPosition(o)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(o),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},Z.e):super.runCommand(e,t)}run(e,t){const n=tu.get(t);return n?n.run():Promise.resolve()}}Object(V.m)(tu.ID,tu),Object(V.k)(nu);const iu=V.c.bindToContribution(tu.get);Object(V.l)(new iu({id:"acceptRenameInput",precondition:qh,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:H.a.focus,primary:3}})),Object(V.l)(new iu({id:"acceptRenameInputWithPreview",precondition:K.a.and(qh,K.a.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:H.a.focus,primary:1027}})),Object(V.l)(new iu({id:"cancelRenameInput",precondition:qh,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(V.p)("_executeDocumentRenameProvider",(function(e,t,...n){const[i]=n;return Object(Jo.b)("string"==typeof i),function(e,t,n){return Jh(this,void 0,void 0,(function*(){const i=new eu(e,t),o=yield i.resolveRenameLocation(Xe.a.None);return(null==o?void 0:o.rejectReason)?{edits:[],rejectReason:o.rejectReason}:i.provideRenameEdits(n,Xe.a.None)}))}(e,t,i)})),Gh.a.as(Yh.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:U.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}});var ou=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class ru{provideSelectionRanges(e,t){return ou(this,void 0,void 0,(function*(){const n=[];for(const i of t){const t=[];n.push(t);const o=new Map;yield new Promise(t=>ru._bracketsRightYield(t,0,e,i,o)),yield new Promise(n=>ru._bracketsLeftYield(n,0,e,i,o,t))}return n}))}static _bracketsRightYield(e,t,n,i,o){const r=new Map,s=Date.now();for(;;){if(t>=ru._maxRounds){e();break}if(!i){e();break}let a=n.findNextBracket(i);if(!a){e();break}if(Date.now()-s>ru._maxDuration){setTimeout(()=>ru._bracketsRightYield(e,t+1,n,i,o));break}const l=a.close[0];if(a.isOpen){let e=r.has(l)?r.get(l):0;r.set(l,e+1)}else{let e=r.has(l)?r.get(l):0;if(e-=1,r.set(l,Math.max(0,e)),e<0){let e=o.get(l);e||(e=new Fr.a,o.set(l,e)),e.push(a.range)}}i=a.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,i,o,r){const s=new Map,a=Date.now();for(;;){if(t>=ru._maxRounds&&0===o.size){e();break}if(!i){e();break}let l=n.findPrevBracket(i);if(!l){e();break}if(Date.now()-a>ru._maxDuration){setTimeout(()=>ru._bracketsLeftYield(e,t+1,n,i,o,r));break}const c=l.close[0];if(l.isOpen){let e=s.has(c)?s.get(c):0;if(e-=1,s.set(c,Math.max(0,e)),e<0){let e=o.get(c);if(e){let t=e.shift();0===e.size&&o.delete(c);const i=ge.a.fromPositions(l.range.getEndPosition(),t.getStartPosition()),s=ge.a.fromPositions(l.range.getStartPosition(),t.getEndPosition());r.push({range:i}),r.push({range:s}),ru._addBracketLeading(n,s,r)}}}else{let e=s.has(c)?s.get(c):0;s.set(c,e+1)}i=l.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;const i=t.startLineNumber,o=e.getLineFirstNonWhitespaceColumn(i);0!==o&&o!==t.startColumn&&(n.push({range:ge.a.fromPositions(new me.a(i,o),t.getEndPosition())}),n.push({range:ge.a.fromPositions(new me.a(i,1),t.getEndPosition())}));const r=i-1;if(r>0){const i=e.getLineFirstNonWhitespaceColumn(r);i===t.startColumn&&i!==e.getLineLastNonWhitespaceColumn(r)&&(n.push({range:ge.a.fromPositions(new me.a(r,i),t.getEndPosition())}),n.push({range:ge.a.fromPositions(new me.a(r,1),t.getEndPosition())}))}}}ru._maxDuration=30,ru._maxRounds=2;var su=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class au{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const n=new au(t,this.ranges);return n.ranges[t].equalsRange(this.ranges[this.index])?n.mov(e):n}}class lu{constructor(e){this._ignoreSelection=!1,this._editor=e}static get(e){return e.getContribution(lu.ID)}dispose(){Object(pe.f)(this._selectionListener)}run(e){if(!this._editor.hasModel())return;const t=this._editor.getSelections(),n=this._editor.getModel();if(!et.x.has(n))return;let i=Promise.resolve(void 0);return this._state||(i=du(n,t.map(e=>e.getPosition()),Xe.a.None).then(e=>{if(G.o(e)&&e.length===t.length&&this._editor.hasModel()&&G.g(this._editor.getSelections(),t,(e,t)=>e.equalsSelection(t))){for(let n=0;n<e.length;n++)e[n]=e[n].filter(e=>e.containsPosition(t[n].getStartPosition())&&e.containsPosition(t[n].getEndPosition())),e[n].unshift(t[n]);this._state=e.map(e=>new au(0,e)),Object(pe.f)(this._selectionListener),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{this._ignoreSelection||(Object(pe.f)(this._selectionListener),this._state=void 0)})}})),i.then(()=>{if(!this._state)return;this._state=this._state.map(t=>t.mov(e));const t=this._state.map(e=>q.a.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(t)}finally{this._ignoreSelection=!1}})}}lu.ID="editor.contrib.smartSelectController";class cu extends V.b{constructor(e,t){super(t),this._forward=e}run(e,t){return su(this,void 0,void 0,(function*(){let e=lu.get(t);e&&(yield e.run(this._forward))}))}}Ft.a.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");function du(e,t,n){const i=et.x.all(e);1===i.length&&i.unshift(new ru);let o=[],r=[];for(const s of i)o.push(Promise.resolve(s.provideSelectionRanges(e,t,n)).then(e=>{if(G.o(e)&&e.length===t.length)for(let n=0;n<t.length;n++){r[n]||(r[n]=[]);for(const i of e[n])ge.a.isIRange(i.range)&&ge.a.containsPosition(i.range,t[n])&&r[n].push(ge.a.lift(i.range))}},Z.f));return Promise.all(o).then(()=>r.map(t=>{if(0===t.length)return[];t.sort((e,t)=>me.a.isBefore(e.getStartPosition(),t.getStartPosition())?1:me.a.isBefore(t.getStartPosition(),e.getStartPosition())||me.a.isBefore(e.getEndPosition(),t.getEndPosition())?-1:me.a.isBefore(t.getEndPosition(),e.getEndPosition())?1:0);let n,i=[];for(const e of t)(!n||ge.a.containsRange(e,n)&&!ge.a.equalsRange(e,n))&&(i.push(e),n=e);let o=[i[0]];for(let t=1;t<i.length;t++){const n=i[t-1],r=i[t];if(r.startLineNumber!==n.startLineNumber||r.endLineNumber!==n.endLineNumber){const t=new ge.a(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineLastNonWhitespaceColumn(n.endLineNumber));t.containsRange(n)&&!t.equalsRange(n)&&r.containsRange(t)&&!r.equalsRange(t)&&o.push(t);const i=new ge.a(n.startLineNumber,1,n.endLineNumber,e.getLineMaxColumn(n.endLineNumber));i.containsRange(n)&&!i.equalsRange(t)&&r.containsRange(i)&&!r.equalsRange(i)&&o.push(i)}o.push(r)}return o}))}Object(V.m)(lu.ID,lu),Object(V.k)(class extends cu{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:U.a("smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"1_basic",title:U.a({key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})}}),Object(V.k)(class extends cu{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:U.a("smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"1_basic",title:U.a({key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})}}),et.x.register("*",new class{provideSelectionRanges(e,t){const n=[];for(const i of t){const t=[];n.push(t),this._addInWordRanges(t,e,i),this._addWordRanges(t,e,i),this._addWhitespaceLine(t,e,i),t.push({range:e.getFullModelRange()})}return n}_addInWordRanges(e,t,n){const i=t.getWordAtPosition(n);if(!i)return;let{word:o,startColumn:r}=i,s=n.column-r,a=s,l=s,c=0;for(;a>=0;a--){let e=o.charCodeAt(a);if(a!==s&&(95===e||45===e))break;if(Object(Ye.H)(e)&&Object(Ye.I)(c))break;c=e}for(a+=1;l<o.length;l++){let e=o.charCodeAt(l);if(Object(Ye.I)(e)&&Object(Ye.H)(c))break;if(95===e||45===e)break;c=e}a<l&&e.push({range:new ge.a(n.lineNumber,r+a,n.lineNumber,r+l)})}_addWordRanges(e,t,n){const i=t.getWordAtPosition(n);i&&e.push({range:new ge.a(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)})}_addWhitespaceLine(e,t,n){t.getLineLength(n.lineNumber)>0&&0===t.getLineFirstNonWhitespaceColumn(n.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(n.lineNumber)&&e.push({range:new ge.a(n.lineNumber,1,n.lineNumber,t.getLineMaxColumn(n.lineNumber))})}}),Object(V.q)("_executeSelectionRangeProvider",(function(e,...t){const[n]=t;return du(e,n,Xe.a.None)}));class hu{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let e,t=this.pos,n=0,i=this.value.charCodeAt(t);if(e=hu._table[i],"number"==typeof e)return this.pos+=1,{type:e,pos:t,len:1};if(hu.isDigitCharacter(i)){e=8;do{n+=1,i=this.value.charCodeAt(t+n)}while(hu.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}if(hu.isVariableCharacter(i)){e=9;do{i=this.value.charCodeAt(t+ ++n)}while(hu.isVariableCharacter(i)||hu.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}e=10;do{n+=1,i=this.value.charCodeAt(t+n)}while(!isNaN(i)&&void 0===hu._table[i]&&!hu.isDigitCharacter(i)&&!hu.isVariableCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}}hu._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class uu{constructor(){this._children=[]}appendChild(e){return e instanceof pu&&this._children[this._children.length-1]instanceof pu?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:n}=e,i=n.children.indexOf(e),o=n.children.slice(0);o.splice(i,1,...t),n._children=o,function e(t,n){for(const i of t)i.parent=n,e(i.children,i)}(t,n)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof yu)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class pu extends uu{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new pu(this.value)}}class mu extends uu{}class gu extends mu{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof fu?this._children[0]:void 0}clone(){let e=new gu(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}class fu extends uu{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof pu&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new fu;return this.options.forEach(e.appendChild,e),e}}class bu extends uu{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let n=!1,i=e.replace(this.regexp,(function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!n&&this._children.some(e=>e instanceof _u&&Boolean(e.elseValue))&&(i=this._replace([])),i}_replace(e){let t="";for(const n of this._children)if(n instanceof _u){let i=e[n.index]||"";i=n.resolve(i),t+=i}else t+=n.toString();return t}toString(){return""}clone(){let e=new bu;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(e=>e.clone()),e}}class _u extends uu{constructor(e,t,n,i){super(),this.index=e,this.shorthandName=t,this.ifValue=n,this.elseValue=i}resolve(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":Boolean(e)&&"string"==typeof this.ifValue?this.ifValue:Boolean(e)||"string"!=typeof this.elseValue?e||"":this.elseValue}_toPascalCase(e){const t=e.match(/[a-z]+/gi);return t?t.map((function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})).join(""):e}clone(){return new _u(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class vu extends mu{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new pu(t)],!0)}clone(){const e=new vu(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}function wu(e,t){const n=[...e];for(;n.length>0;){const e=n.shift();if(!t(e))break;n.unshift(...e.children)}}class yu extends uu{get placeholderInfo(){if(!this._placeholders){let e,t=[];this.walk((function(n){return n instanceof gu&&(t.push(n),e=!e||e.index<n.index?n:e),!0})),this._placeholders={all:t,last:e}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,n=!1;return this.walk(i=>i===e?(n=!0,!1):(t+=i.len(),!0)),n?t:-1}fullLen(e){let t=0;return wu([e],e=>(t+=e.len(),!0)),t}enclosingPlaceholders(e){let t=[],{parent:n}=e;for(;n;)n instanceof gu&&t.push(n),n=n.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof vu&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new yu;return this._children=this.children.map(e=>e.clone()),e}walk(e){wu(this.children,e)}}class Cu{constructor(){this._scanner=new hu,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,n){this._scanner.text(e),this._token=this._scanner.next();const i=new yu;for(;this._parse(i););const o=new Map,r=[];let s=0;i.walk(e=>(e instanceof gu&&(s+=1,e.isFinalTabstop?o.set(0,void 0):!o.has(e.index)&&e.children.length>0?o.set(e.index,e.children):r.push(e)),!0));for(const e of r){const t=o.get(e.index);if(t){const n=new gu(e.index);n.transform=e.transform;for(const e of t)n.appendChild(e.clone());i.replace(e,[n])}}return n||(n=s>0&&t),!o.has(0)&&n&&i.appendChild(new gu(0)),i}_accept(e,t){if(void 0===e||this._token.type===e){let e=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),e}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(14===this._token.type)return!1;if(5===this._token.type){const e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}const n=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),n}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new pu(t)),!0)}_parseTabstopOrVariableName(e){let t;const n=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new gu(Number(t)):new vu(t)),!0):this._backTo(n)}_parseComplexPlaceholder(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(n);const i=new gu(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new pu("${"+t+":")),i.children.forEach(e.appendChild,e),!0}else{if(!(i.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);{const t=new fu;for(;;){if(this._parseChoiceElement(t)){if(this._accept(2))continue;if(this._accept(7)&&(i.appendChild(t),this._accept(4)))return e.appendChild(i),!0}return this._backTo(n),!1}}}}_parseChoiceElement(e){const t=this._token,n=[];for(;2!==this._token.type&&7!==this._token.type;){let e;if(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0),!e)return this._backTo(t),!1;n.push(e)}return 0===n.length?(this._backTo(t),!1):(e.appendChild(new pu(n.join(""))),!0)}_parseComplexVariable(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(n);const i=new vu(t);if(!this._accept(1))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new pu("${"+t+":")),i.children.forEach(e.appendChild,e),!0}}_parseTransform(e){let t=new bu,n="",i="";for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(6,!0)||e,n+=e;else{if(14===this._token.type)return!1;n+=this._accept(void 0,!0)}}for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(5,!0)||this._accept(6,!0)||e,t.appendChild(new pu(e));else if(!this._parseFormatString(t)&&!this._parseAnything(t))return!1}for(;!this._accept(4);){if(14===this._token.type)return!1;i+=this._accept(void 0,!0)}try{t.regexp=new RegExp(n,i)}catch(e){return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let n=!1;this._accept(3)&&(n=!0);let i=this._accept(8,!0);if(!i)return this._backTo(t),!1;if(!n)return e.appendChild(new _u(Number(i))),!0;if(this._accept(4))return e.appendChild(new _u(Number(i))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let n=this._accept(9,!0);return n&&this._accept(4)?(e.appendChild(new _u(Number(i),n)),!0):(this._backTo(t),!1)}if(this._accept(11)){let t=this._until(4);if(t)return e.appendChild(new _u(Number(i),void 0,t,void 0)),!0}else if(this._accept(12)){let t=this._until(4);if(t)return e.appendChild(new _u(Number(i),void 0,void 0,t)),!0}else if(this._accept(13)){let t=this._until(1);if(t){let n=this._until(4);if(n)return e.appendChild(new _u(Number(i),void 0,t,n)),!0}}else{let t=this._until(4);if(t)return e.appendChild(new _u(Number(i),void 0,void 0,t)),!0}return this._backTo(t),!1}_parseAnything(e){return 14!==this._token.type&&(e.appendChild(new pu(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}var xu=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Su={Visible:new K.c("suggestWidgetVisible",!1),DetailsVisible:new K.c("suggestWidgetDetailsVisible",!1),MultipleSuggestions:new K.c("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new K.c("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new K.c("acceptSuggestionOnEnter",!0),HasInsertAndReplaceRange:new K.c("suggestionHasInsertAndReplaceRange",!1),CanResolve:new K.c("suggestionCanResolve",!1)},ku=new ye.b("suggestWidgetStatusBar");class Eu{constructor(e,t,n,i){this.position=e,this.completion=t,this.container=n,this.provider=i,this.isInvalid=!1,this.score=va.a.Default,this.distance=0,this.textLabel="string"==typeof t.label?t.label:t.label.name,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),ge.a.isIRange(t.range)?(this.editStart=new me.a(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new me.a(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new me.a(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||ge.a.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new me.a(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new me.a(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new me.a(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||ge.a.spansMultipleLines(t.range.insert)||ge.a.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),"function"!=typeof i.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return xu(this,void 0,void 0,(function*(){if(!this._resolveCache){const t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()},e=>{Object(Z.d)(e)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache}))}}class Tu{constructor(e=2,t=new Set,n=new Set){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n}}Tu.default=new Tu;class Lu{constructor(e,t,n){this.items=e,this.needsClipboard=t,this.dispoables=n}}function Nu(e,t,n=Tu.default,i={triggerKind:0},o=Xe.a.None){return xu(this,void 0,void 0,(function*(){t=t.clone();const r=e.getWordAtPosition(t),s=r?new ge.a(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):ge.a.fromPositions(t),a={replace:s,insert:s.setEndPosition(t.lineNumber,t.column)},l=[],c=new pe.b;let d=!1;const h=(e,i)=>{if(i){for(let o of i.suggestions)n.kindFilter.has(o.kind)||(o.range||(o.range=a),o.sortText||(o.sortText="string"==typeof o.label?o.label:o.label.name),!d&&o.insertTextRules&&4&o.insertTextRules&&(d=Cu.guessNeedsClipboard(o.insertText)),l.push(new Eu(t,o,i,e)));Object(pe.g)(i)&&c.add(i)}},u=(()=>xu(this,void 0,void 0,(function*(){})))();for(let r of et.d.orderedGroups(e)){let s=l.length;if(yield Promise.all(r.map(r=>xu(this,void 0,void 0,(function*(){if(!(n.providerFilter.size>0)||n.providerFilter.has(r))try{const n=yield r.provideCompletionItems(e,t,i,o);h(r,n)}catch(e){Object(Z.f)(e)}})))),s!==l.length||o.isCancellationRequested)break}return yield u,o.isCancellationRequested?(c.dispose(),Promise.reject(Object(Z.a)())):new Lu(l.sort(Du(n.snippetSortOrder)),d,c)}))}function Iu(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLow<t.sortTextLow)return-1;if(e.sortTextLow>t.sortTextLow)return 1}return e.completion.label<t.completion.label?-1:e.completion.label>t.completion.label?1:e.completion.kind-t.completion.kind}const Ou=new Map;function Du(e){return Ou.get(e)}Ou.set(0,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return Iu(e,t)})),Ou.set(2,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return Iu(e,t)})),Ou.set(1,Iu),Object(V.j)("_executeCompletionItemProvider",(e,t,n)=>xu(void 0,void 0,void 0,(function*(){const i={incomplete:!1,suggestions:[]},o=[],r=n.maxItemsToResolve||0,s=yield Nu(e,t);for(const e of s.items)o.length<r&&o.push(e.resolve(Xe.a.None)),i.incomplete=i.incomplete||e.container.incomplete,i.suggestions.push(e.completion);try{return yield Promise.all(o),i}finally{setTimeout(()=>s.dispoables.dispose(),100)}})));const Au=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){let e={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,e}};et.d.register("*",Au);n(325);var Ru=n(169);function Mu(e){return e instanceof Qe.a}class Pu{constructor(e){this._delegates=e}resolve(e){for(const t of this._delegates){let n=t.resolve(e);if(void 0!==n)return n}}}class Fu{constructor(e,t,n,i){this._model=e,this._selection=t,this._selectionIdx=n,this._overtypingCapturer=i}resolve(e){const{name:t}=e;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){let t=this._model.getValueInRange(this._selection)||void 0,n=this._selection.startLineNumber!==this._selection.endLineNumber;if(!t&&this._overtypingCapturer){const e=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);e&&(t=e.value,n=e.multiline)}if(t&&n&&e.snippet){const n=this._model.getLineContent(this._selection.startLineNumber),i=Object(Ye.z)(n,0,this._selection.startColumn-1);let o=i;e.snippet.walk(t=>t!==e&&(t instanceof pu&&(o=Object(Ye.z)(t.value.split(/\r\n|\r|\n/).pop())),!0));const r=Object(Ye.d)(o,i);t=t.replace(/(\r\n|\r|\n)(.*)/g,(e,t,n)=>`${t}${o.substr(r)}${n}`)}return t}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){const e=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return e&&e.word||void 0}return"TM_LINE_INDEX"===t?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===t?String(this._selection.positionLineNumber):void 0}}class Wu{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const{name:t}=e;if("TM_FILENAME"===t)return pa.a(this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){const e=pa.a(this._model.uri.fsPath),t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}return"TM_DIRECTORY"===t&&this._labelService?"."===pa.b(this._model.uri.fsPath)?"":this._labelService.getUriLabel(Object(jt.d)(this._model.uri)):"TM_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri):void 0}}class zu{constructor(e,t,n,i){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=i}resolve(e){if("CLIPBOARD"!==e.name)return;const t=this._readClipboardText();if(t){if(this._spread){const e=t.split(/\r\n|\n|\r/).filter(e=>!Object(Ye.D)(e));if(e.length===this._selectionCount)return e[this._selectionIdx]}return t}}}class Bu{constructor(e,t){this._model=e,this._selection=t}resolve(e){const{name:t}=e,n=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),i=Pn.a.getComments(n);if(i)return"LINE_COMMENT"===t?i.lineCommentToken||void 0:"BLOCK_COMMENT_START"===t?i.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===t&&i.blockCommentEndToken||void 0}}class ju{resolve(e){const{name:t}=e;return"CURRENT_YEAR"===t?String((new Date).getFullYear()):"CURRENT_YEAR_SHORT"===t?String((new Date).getFullYear()).slice(-2):"CURRENT_MONTH"===t?String((new Date).getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===t?String((new Date).getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===t?String((new Date).getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===t?String((new Date).getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===t?String((new Date).getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===t?ju.dayNames[(new Date).getDay()]:"CURRENT_DAY_NAME_SHORT"===t?ju.dayNamesShort[(new Date).getDay()]:"CURRENT_MONTH_NAME"===t?ju.monthNames[(new Date).getMonth()]:"CURRENT_MONTH_NAME_SHORT"===t?ju.monthNamesShort[(new Date).getMonth()]:"CURRENT_SECONDS_UNIX"===t?String(Math.floor(Date.now()/1e3)):void 0}}ju.dayNames=[U.a("Sunday","Sunday"),U.a("Monday","Monday"),U.a("Tuesday","Tuesday"),U.a("Wednesday","Wednesday"),U.a("Thursday","Thursday"),U.a("Friday","Friday"),U.a("Saturday","Saturday")],ju.dayNamesShort=[U.a("SundayShort","Sun"),U.a("MondayShort","Mon"),U.a("TuesdayShort","Tue"),U.a("WednesdayShort","Wed"),U.a("ThursdayShort","Thu"),U.a("FridayShort","Fri"),U.a("SaturdayShort","Sat")],ju.monthNames=[U.a("January","January"),U.a("February","February"),U.a("March","March"),U.a("April","April"),U.a("May","May"),U.a("June","June"),U.a("July","July"),U.a("August","August"),U.a("September","September"),U.a("October","October"),U.a("November","November"),U.a("December","December")],ju.monthNamesShort=[U.a("JanuaryShort","Jan"),U.a("FebruaryShort","Feb"),U.a("MarchShort","Mar"),U.a("AprilShort","Apr"),U.a("MayShort","May"),U.a("JuneShort","Jun"),U.a("JulyShort","Jul"),U.a("AugustShort","Aug"),U.a("SeptemberShort","Sep"),U.a("OctoberShort","Oct"),U.a("NovemberShort","Nov"),U.a("DecemberShort","Dec")];class Vu{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;const t=function(e){return e.configuration?{configPath:e.configuration,id:e.id}:1===e.folders.length?e.folders[0].uri:void 0}(this._workspaceService.getWorkspace());return t?"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0:void 0}_resolveWorkspaceName(e){if(Mu(e))return pa.a(e.path);let t=pa.a(e.configPath.path);return t.endsWith("code-workspace")&&(t=t.substr(0,t.length-"code-workspace".length-1)),t}_resoveWorkspacePath(e){if(Mu(e))return ba(e.fsPath);let t=pa.a(e.configPath.path),n=e.configPath.fsPath;return n.endsWith(t)&&(n=n.substr(0,n.length-t.length-1)),n?ba(n):"/"}}class Uu{resolve(e){const{name:t}=e;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):void 0}}Object(we.g)((e,t)=>{function n(t){const n=e.getColor(t);return n?n.toString():"transparent"}t.addRule(`.monaco-editor .snippet-placeholder { background-color: ${n(ve.oc)}; outline-color: ${n(ve.pc)}; }`),t.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${n(ve.mc)}; outline-color: ${n(ve.nc)}; }`)});class Hu{constructor(e,t,n){this._nestingLevel=1,this._editor=e,this._snippet=t,this._offset=n,this._placeholderGroups=Object(G.m)(t.placeholders,gu.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations(t=>{for(const n of this._snippet.placeholders){const i=this._snippet.offset(n),o=this._snippet.fullLen(n),r=ge.a.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+o)),s=n.isFinalTabstop?Hu._decor.inactiveFinal:Hu._decor.inactive,a=t.addDecoration(r,s);this._placeholderDecorations.set(n,a)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(const t of this._placeholderGroups[this._placeholderGroupsIdx])if(t.transform){const n=this._placeholderDecorations.get(t),i=this._editor.getModel().getDecorationRange(n),o=this._editor.getModel().getValueInRange(i);e.push(Mn.a.replaceMove(i,t.transform.resolve(o)))}e.length>0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let t=!1;!0===e&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,t=!0):!1===e&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,t=!0);const n=this._editor.getModel().changeDecorations(e=>{const n=new Set,i=[];for(const o of this._placeholderGroups[this._placeholderGroupsIdx]){const r=this._placeholderDecorations.get(o),s=this._editor.getModel().getDecorationRange(r);i.push(new q.a(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(o),e.changeDecorationOptions(r,o.isFinalTabstop?Hu._decor.activeFinal:Hu._decor.active),n.add(o);for(const t of this._snippet.enclosingPlaceholders(o)){const i=this._placeholderDecorations.get(t);e.changeDecorationOptions(i,t.isFinalTabstop?Hu._decor.activeFinal:Hu._decor.active),n.add(t)}}for(const[t,i]of this._placeholderDecorations)n.has(t)||e.changeDecorationOptions(i,t.isFinalTabstop?Hu._decor.inactiveFinal:Hu._decor.inactive);return i});return t?this.move(e):null!=n?n:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof gu){const e=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(e).isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}computePossibleSelections(){const e=new Map;for(const t of this._placeholderGroups){let n;for(const i of t){if(i.isFinalTabstop)break;n||(n=[],e.set(i.index,n));const t=this._placeholderDecorations.get(i),o=this._editor.getModel().getDecorationRange(t);if(!o){e.delete(i.index);break}n.push(o)}}return e}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(e){const t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(n=>{for(const i of this._placeholderGroups[this._placeholderGroupsIdx]){const o=e.shift();console.assert(!o._placeholderDecorations);const r=o._snippet.placeholderInfo.last.index;for(const e of o._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=i.index+(r+1)/this._nestingLevel:e.index=i.index+e.index/this._nestingLevel;this._snippet.replace(i,o._snippet.children);const s=this._placeholderDecorations.get(i);n.removeDecoration(s),this._placeholderDecorations.delete(i);for(const e of o._snippet.placeholders){const i=o._snippet.offset(e),r=o._snippet.fullLen(e),s=ge.a.fromPositions(t.getPositionAt(o._offset+i),t.getPositionAt(o._offset+i+r)),a=n.addDecoration(s,Hu._decor.inactive);this._placeholderDecorations.set(e,a)}}this._placeholderGroups=Object(G.m)(this._snippet.placeholders,gu.compareByIndex)})}}Hu._decor={active:be.a.register({stickiness:0,className:"snippet-placeholder"}),inactive:be.a.register({stickiness:1,className:"snippet-placeholder"}),activeFinal:be.a.register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:be.a.register({stickiness:1,className:"finish-snippet-placeholder"})};const qu={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class $u{constructor(e,t,n=qu){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}static adjustWhitespace(e,t,n,i,o){const r=e.getLineContent(t.lineNumber),s=Object(Ye.z)(r,0,t.column-1);n.walk(t=>{if(t instanceof pu&&!(t.parent instanceof fu)){const n=t.value.split(/\r\n|\r|\n/);if(i)for(let t=1;t<n.length;t++){let i=Object(Ye.z)(n[t]);n[t]=e.normalizeIndentation(s+i)+n[t].substr(i.length)}if(o){const i=n.join(e.getEOL());i!==t.value&&t.parent.replace(t,[new pu(i)])}}return!0})}static adjustSelection(e,t,n,i){if(0!==n||0!==i){const{positionLineNumber:o,positionColumn:r}=t,s=r-n,a=r+i,l=e.validateRange({startLineNumber:o,startColumn:s,endLineNumber:o,endColumn:a});t=q.a.createWithDirection(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn,t.getDirection())}return t}static createEditsAndSnippets(e,t,n,i,o,r,s,a){const l=[],c=[];if(!e.hasModel())return{edits:l,snippets:c};const d=e.getModel(),h=e.invokeWithinContext(e=>e.get(Ru.a,gt.d)),u=e.invokeWithinContext(e=>new Wu(e.get(ha.a,gt.d),d)),p=()=>s;let m=0,g=d.getValueInRange($u.adjustSelection(d,e.getSelection(),n,0)),f=d.getValueInRange($u.adjustSelection(d,e.getSelection(),0,i)),b=d.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber);const _=e.getSelections().map((e,t)=>({selection:e,idx:t})).sort((e,t)=>ge.a.compareRangesUsingStarts(e.selection,t.selection));for(const{selection:s,idx:v}of _){let w=$u.adjustSelection(d,s,n,0),y=$u.adjustSelection(d,s,0,i);g!==d.getValueInRange(w)&&(w=s),f!==d.getValueInRange(y)&&(y=s);const C=s.setStartPosition(w.startLineNumber,w.startColumn).setEndPosition(y.endLineNumber,y.endColumn),x=(new Cu).parse(t,!0,o),S=C.getStartPosition();$u.adjustWhitespace(d,S,x,r||v>0&&b!==d.getLineFirstNonWhitespaceColumn(s.positionLineNumber),!0),x.resolveVariables(new Pu([u,new zu(p,v,_.length,"spread"===e.getOption(62)),new Fu(d,s,v,a),new Bu(d,s),new ju,new Vu(h),new Uu]));const k=d.getOffsetAt(S)+m;m+=x.toString().length-d.getValueLengthInRange(C),l[v]=Mn.a.replace(C,x.toString()),l[v].identifier={major:v,minor:0},c[v]=new Hu(e,x,k)}return{edits:l,snippets:c}}dispose(){Object(pe.f)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:e,snippets:t}=$u.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=t,this._editor.executeEdits("snippet",e,e=>this._snippets[0].hasPlaceholder?this._move(!0):e.filter(e=>!!e.identifier).map(e=>q.a.fromPositions(e.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=qu){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:n,snippets:i}=$u.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",n,e=>{for(const e of this._snippets)e.merge(i);return console.assert(0===i.length),this._snippets[0].hasPlaceholder?this._move(void 0):e.filter(e=>!!e.identifier).map(e=>q.a.fromPositions(e.range.getEndPosition()))})}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const n of this._snippets){const i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;let t=new Map;for(const n of this._snippets){const i=n.computePossibleSelections();if(0===t.size)for(const[n,o]of i){o.sort(ge.a.compareRangesUsingStarts);for(const i of e)if(o[0].containsRange(i)){t.set(n,[]);break}}if(0===t.size)return!1;t.forEach((e,t)=>{e.push(...i.get(t))})}e.sort(ge.a.compareRangesUsingStarts);for(let[n,i]of t)if(i.length===e.length){i.sort(ge.a.compareRangesUsingStarts);for(let o=0;o<i.length;o++)i[o].containsRange(e[o])||t.delete(n)}else t.delete(n);return t.size>0}}var Ku=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Gu=function(e,t){return function(n,i){t(n,i,e)}};const Yu={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let Zu=class e{constructor(t,n,i){this._editor=t,this._logService=n,this._snippetListener=new pe.b,this._modelVersionId=-1,this._inSnippet=e.InSnippetMode.bindTo(i),this._hasNextTabstop=e.HasNextTabstop.bindTo(i),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(i)}static get(t){return t.getContribution(e.ID)}dispose(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(pe.f)(this._session),this._snippetListener.dispose()}insert(e,t){try{this._doInsert(e,void 0===t?Yu:Object.assign(Object.assign({},Yu),t))}catch(t){this.cancel(),this._logService.error(t),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new $u(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(e=>e.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState())))}_updateState(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);const{choice:e}=this._session;var t,n;if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map(e=>q.a.fromPositions(e.getStartPosition())));const[i]=e.options;t=this._editor,n=e.options.map((e,t)=>({kind:13,label:e.value,insertText:e.value,sortText:"a".repeat(t+1),range:ge.a.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,i.value.length))})),setTimeout(()=>{Au.onlyOnceSuggestions.push(...n),t.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(Au))},0)}}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(pe.f)(this._session),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};Zu.ID="snippetController2",Zu.InSnippetMode=new K.c("inSnippetMode",!1),Zu.HasNextTabstop=new K.c("hasNextTabstop",!1),Zu.HasPrevTabstop=new K.c("hasPrevTabstop",!1),Zu=Ku([Gu(1,Kh.b),Gu(2,K.b)],Zu),Object(V.m)(Zu.ID,Zu);const Xu=V.c.bindToContribution(Zu.get);Object(V.l)(new Xu({id:"jumpToNextSnippetPlaceholder",precondition:K.a.and(Zu.InSnippetMode,Zu.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:H.a.editorTextFocus,primary:2}})),Object(V.l)(new Xu({id:"jumpToPrevSnippetPlaceholder",precondition:K.a.and(Zu.InSnippetMode,Zu.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:H.a.editorTextFocus,primary:1026}})),Object(V.l)(new Xu({id:"leaveSnippet",precondition:Zu.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:H.a.editorTextFocus,primary:9,secondary:[1033]}})),Object(V.l)(new Xu({id:"acceptSnippet",precondition:Zu.InSnippetMode,handler:e=>e.finish()}));var Qu=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ju=function(e,t){return function(n,i){t(n,i,e)}};class ep{constructor(e){this.name=e}select(e,t,n){if(0===n.length)return 0;let i=n[0].score[0];for(let e=0;e<n.length;e++){const{score:t,completion:o}=n[e];if(t[0]!==i)break;if(o.preselect)return e}return 0}}class tp extends ep{constructor(){super("first")}memorize(e,t,n){}toJSON(){}fromJSON(){}}let np=class e{constructor(e,t,n){this._storageService=e,this._modeService=t,this._configService=n,this._disposables=new pe.b,this._persistSoon=new ue.d(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===fn.c.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,n){this._withStrategy(e,t).memorize(e,t,n),this._persistSoon.schedule()}select(e,t,n){return this._withStrategy(e,t).select(e,t,n)}_withStrategy(t,n){var i,o;const r=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:null===(i=this._modeService.getLanguageIdentifier(t.getLanguageIdAtPosition(n.lineNumber,n.column)))||void 0===i?void 0:i.language,resource:t.uri});if((null===(o=this._strategy)||void 0===o?void 0:o.name)!==r){this._saveState();const t=e._strategyCtors.get(r)||tp;this._strategy=new t;try{const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=this._storageService.get(`${e._storagePrefix}/${r}`,t);n&&this._strategy.fromJSON(JSON.parse(n))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=JSON.stringify(this._strategy);this._storageService.store(`${e._storagePrefix}/${this._strategy.name}`,n,t)}}};np._strategyCtors=new Map([["recentlyUsedByPrefix",class extends ep{constructor(){super("recentlyUsedByPrefix"),this._trie=gn.c.forStrings(),this._seq=0}memorize(e,t,n){const{word:i}=e.getWordUntilPosition(t),o=`${e.getLanguageIdentifier().language}/${i}`;this._trie.set(o,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})}select(e,t,n){let{word:i}=e.getWordUntilPosition(t);if(!i)return super.select(e,t,n);let o=`${e.getLanguageIdentifier().language}/${i}`,r=this._trie.get(o);if(r||(r=this._trie.findSubstr(o)),r)for(let e=0;e<n.length;e++){let{kind:t,insertText:i}=n[e].completion;if(t===r.type&&i===r.insertText)return e}return super.select(e,t,n)}toJSON(){let e=[];return this._trie.forEach((t,n)=>e.push([n,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(const[t,n]of e)n.type="number"==typeof n.type?n.type:Object(et.E)(n.type),this._trie.set(t,n)}}}],["recentlyUsed",class extends ep{constructor(){super("recentlyUsed"),this._cache=new gn.a(300,.66),this._seq=0}memorize(e,t,n){const{label:i}=n.completion,o=`${e.getLanguageIdentifier().language}/${i}`;this._cache.set(o,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})}select(e,t,n){if(0===n.length)return 0;const i=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(i))return super.select(e,t,n);let o=n[0].score[0],r=-1,s=-1,a=-1;for(let t=0;t<n.length&&n[t].score[0]===o;t++){const i=`${e.getLanguageIdentifier().language}/${n[t].completion.label}`,o=this._cache.peek(i);if(o&&o.touch>a&&o.type===n[t].completion.kind&&o.insertText===n[t].completion.insertText&&(a=o.touch,s=t),n[t].completion.preselect&&-1===r)return t}return-1!==s?s:-1!==r?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();for(const[t,n]of e)n.touch=0,n.type="number"==typeof n.type?n.type:Object(et.E)(n.type),this._cache.set(t,n);this._seq=this._cache.size}}],["first",tp]]),np._storagePrefix="suggest/memories",np=Qu([Ju(0,fn.a),Ju(1,Nl.a),Ju(2,On.a)],np);const ip=Object(gt.c)("ISuggestMemories");Object(mn.b)(ip,np,!0);var op=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},rp=function(e,t){return function(n,i){t(n,i,e)}};let sp=class e{constructor(t,n){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}dispose(){this.reset()}reset(){this._ckOtherSuggestions.reset(),Object(pe.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:t,index:n},i){if(0===t.items.length)return void this.reset();e._moveIndex(!0,t,n)!==n?(this._acceptNext=i,this._model=t,this._index=n,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)):this.reset()}static _moveIndex(e,t,n){let i=n;for(;i=(i+t.items.length+(e?1:-1))%t.items.length,i!==n&&t.items[i].completion.additionalTextEdits;);return i}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};sp.OtherSuggestions=new K.c("hasOtherSuggestions",!1),sp=op([rp(1,K.b)],sp);class ap{constructor(e,t,n,i,o,r,s){this.clipboardText=s,this._snippetCompareFn=ap._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=i,this._options=o,this._refilterKind=1,this._lineContext=n,"top"===r?this._snippetCompareFn=ap._compareCompletionItemsSnippetsUp:"bottom"===r&&(this._snippetCompareFn=ap._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}get allProvider(){return this._ensureCachedState(),this._allProvider}get incomplete(){return this._ensureCachedState(),this._isIncomplete}adopt(e){let t=[];for(let n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._isIncomplete=new Set,this._allProvider=new Set,this._stats={suggestionCount:0,snippetCount:0,textCount:0};const{leadingLineContent:e,characterCountDelta:t}=this._lineContext;let n="",i="";const o=1===this._refilterKind?this._items:this._filteredItems,r=[],s=!this._options.filterGraceful||o.length>2e3?va.d:va.e;for(let a=0;a<o.length;a++){const l=o[a];if(l.isInvalid)continue;l.container.incomplete&&this._isIncomplete.add(l.provider),this._allProvider.add(l.provider);const c=l.position.column-l.editStart.column,d=c+t-(l.position.column-this._column);if(n.length!==d&&(n=0===d?"":e.slice(-d),i=n.toLowerCase()),l.word=n,0===d)l.score=va.a.Default;else{let e=0;for(;e<c;){const t=n.charCodeAt(e);if(32!==t&&9!==t)break;e+=1}const t="string"==typeof l.completion.label?l.completion.label:l.completion.label.name;if(e>=d)l.score=va.a.Default;else if("string"==typeof l.completion.filterText){let o=s(n,i,e,l.completion.filterText,l.filterTextLow,0,!1);if(!o)continue;0===Object(Ye.g)(l.completion.filterText,t)?l.score=o:(l.score=Object(va.b)(n,i,e,t,l.labelLow,0),l.score[0]=o[0])}else{let o=s(n,i,e,t,l.labelLow,0,!1);if(!o)continue;l.score=o}}switch(l.idx=a,l.distance=this._wordDistance.distance(l.position,l.completion),r.push(l),this._stats.suggestionCount++,l.completion.kind){case 27:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=r.sort(this._snippetCompareFn),this._refilterKind=0}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return ap._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return ap._compareCompletionItems(e,t)}}var lp=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class cp{static create(e,t){return lp(this,void 0,void 0,(function*(){if(!t.getOption(96).localityBonus)return cp.None;if(!t.hasModel())return cp.None;const n=t.getModel(),i=t.getPosition();if(!e.canComputeWordRanges(n.uri))return cp.None;const[o]=yield(new ru).provideSelectionRanges(n,[i]);if(0===o.length)return cp.None;const r=yield e.computeWordRanges(n.uri,o[0].range);if(!r)return cp.None;const s=n.getWordUntilPosition(i);return delete r[s.word],new class extends cp{distance(e,n){if(!i.equals(t.getPosition()))return 0;if(17===n.kind)return 2<<20;let s="string"==typeof n.label?n.label:n.label.name,a=r[s];if(Object(G.n)(a))return 2<<20;let l=Object(G.c)(a,ge.a.fromPositions(e),ge.a.compareRangesUsingStarts),c=l>=0?a[l]:a[Math.max(0,~l-1)],d=o.length;for(const e of o){if(!ge.a.containsRange(e.range,c))break;d-=1}return d}}}))}}cp.None=new class extends cp{distance(){return 0}};var dp=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class hp{constructor(e,t,n,i){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=n,this.shy=i}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);const i=t.getWordAtPosition(n);return!!i&&(i.endColumn===n.column&&!!isNaN(Number(i.word)))}}class up{constructor(e,t,n){this._editor=e,this._editorWorkerService=t,this._clipboardService=n,this._toDispose=new pe.b,this._quickSuggestDelay=10,this._triggerCharacterListener=new pe.b,this._triggerQuickSuggest=new ue.e,this._state=0,this._completionDisposables=new pe.b,this._onDidCancel=new Lt.a,this._onDidTrigger=new Lt.a,this._onDidSuggest=new Lt.a,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._currentSelection=this._editor.getSelection()||new q.a(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()})),this._toDispose.add(et.d.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._onCursorChange(e)}));let i=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{i=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{i=!1,this._refilterCompletionItems()})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{i||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){Object(pe.f)(this._triggerCharacterListener),Object(pe.f)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(71),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(72)||!this._editor.hasModel()||!this._editor.getOption(99))return;const e=new Map;for(const t of et.d.all(this._editor.getModel()))for(const n of t.triggerCharacters||[]){let i=e.get(n);i||(i=new Set,i.add(void 0),e.set(n,i)),i.add(t)}const t=t=>{var n;if(!t){const e=this._editor.getPosition();t=this._editor.getModel().getLineContent(e.lineNumber).substr(0,e.column-1)}let i="";Object(Ye.G)(t.charCodeAt(t.length-1))?Object(Ye.F)(t.charCodeAt(t.length-2))&&(i=t.substr(t.length-2)):i=t.charAt(t.length-1);const o=e.get(i);if(o){const e=null===(n=this._completionModel)||void 0===n?void 0:n.adopt(o);this.trigger({auto:!0,shy:!1,triggerCharacter:i},Boolean(this._completionModel),o,e)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(t))}get state(){return this._state}cancel(e=!1){0!==this._state&&(this._triggerQuickSuggest.cancel(),this._requestToken&&(this._requestToken.cancel(),this._requestToken=void 0),this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&et.d.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source)this.cancel();else if(et.d.has(t)&&0===this._state){if(!1===this._editor.getOption(70))return;if(!n.containsRange(this._currentSelection)&&!n.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))return;if(this._editor.getOption(96).snippetsPreventQuickSuggestions&&Zu.get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(0!==this._state)return;if(!hp.shouldAutoTrigger(this._editor))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=this._editor.getOption(70);if(!1!==n){if(!0===n);else{e.tokenizeIfCheap(t.lineNumber);const i=e.getLineTokens(t.lineNumber),o=i.getStandardTokenType(i.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if(!(n.other&&0===o||n.comments&&1===o||n.strings&&2===o))return}this.trigger({auto:!0,shy:!1})}},this._quickSuggestDelay)}}_refilterCompletionItems(){Promise.resolve().then(()=>{if(0===this._state)return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=new hp(e,t,2===this._state,!1);this._onNewContext(n)})}trigger(e,t=!1,n,i){var o;if(!this._editor.hasModel())return;const r=this._editor.getModel(),s=e.auto,a=new hp(r,this._editor.getPosition(),s,e.shy);this.cancel(t),this._state=s?2:1,this._onDidTrigger.fire({auto:s,shy:e.shy,position:this._editor.getPosition()}),this._context=a;let l={triggerKind:null!==(o=e.triggerKind)&&void 0!==o?o:0};e.triggerCharacter&&(l={triggerKind:1,triggerCharacter:e.triggerCharacter}),this._requestToken=new Xe.b;const c=this._editor.getOption(93);let d=1;switch(c){case"top":d=0;break;case"bottom":d=2}let h=up._createItemKindFilter(this._editor),u=cp.create(this._editorWorkerService,this._editor),p=Nu(r,this._editor.getPosition(),new Tu(d,h,n),l,this._requestToken.token);Promise.all([p,u]).then(([t,n])=>dp(this,void 0,void 0,(function*(){if(Object(pe.f)(this._requestToken),0===this._state)return;if(!this._editor.hasModel())return;let o;(t.needsClipboard||Object(G.o)(i))&&(o=yield this._clipboardService.readText());const r=this._editor.getModel();let a=t.items;if(Object(G.o)(i)){const e=Du(d);a=a.concat(i).sort(e)}const l=new hp(r,this._editor.getPosition(),s,e.shy);this._completionModel=new ap(a,this._context.column,{leadingLineContent:l.leadingLineContent,characterCountDelta:l.column-this._context.column},n,this._editor.getOption(96),this._editor.getOption(93),o),this._completionDisposables.add(t.dispoables),this._onNewContext(l)}))).catch(Z.e)}static _createItemKindFilter(e){const t=new Set;"none"===e.getOption(93)&&t.add(27);const n=e.getOption(96);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),t}_onNewContext(e){if(this._context)if(e.lineNumber===this._context.lineNumber){if(e.leadingWord.startColumn<this._context.leadingWord.startColumn)this.cancel();else if(e.column<this._context.column)e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(0!==e.leadingWord.word.length&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){const e=new Set(et.d.all(this._editor.getModel()));this._completionModel.allProvider.forEach(t=>e.delete(t));const t=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,e,t)}else if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){const{incomplete:e}=this._completionModel,t=this._completionModel.adopt(e);this.trigger({auto:2===this._state,shy:!1,triggerKind:2},!0,e,t)}else{let t=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(hp.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=t,n=this._completionModel.items.length>0,n&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}else this.cancel()}}n(327),n(329),n(154),n(331),n(333);const pp=Object(ve.gc)("symbolIcon.arrayForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),mp=Object(ve.gc)("symbolIcon.booleanForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),gp=Object(ve.gc)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),fp=Object(ve.gc)("symbolIcon.colorForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),bp=Object(ve.gc)("symbolIcon.constantForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_p=Object(ve.gc)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),vp=Object(ve.gc)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),wp=Object(ve.gc)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),yp=Object(ve.gc)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Cp=Object(ve.gc)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),xp=Object(ve.gc)("symbolIcon.fileForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Sp=Object(ve.gc)("symbolIcon.folderForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),kp=Object(ve.gc)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ep=Object(ve.gc)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Tp=Object(ve.gc)("symbolIcon.keyForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Lp=Object(ve.gc)("symbolIcon.keywordForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Np=Object(ve.gc)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ip=Object(ve.gc)("symbolIcon.moduleForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Op=Object(ve.gc)("symbolIcon.namespaceForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Dp=Object(ve.gc)("symbolIcon.nullForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ap=Object(ve.gc)("symbolIcon.numberForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Rp=Object(ve.gc)("symbolIcon.objectForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Mp=Object(ve.gc)("symbolIcon.operatorForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pp=Object(ve.gc)("symbolIcon.packageForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Fp=Object(ve.gc)("symbolIcon.propertyForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Wp=Object(ve.gc)("symbolIcon.referenceForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),zp=Object(ve.gc)("symbolIcon.snippetForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Bp=Object(ve.gc)("symbolIcon.stringForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),jp=Object(ve.gc)("symbolIcon.structForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Vp=Object(ve.gc)("symbolIcon.textForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Up=Object(ve.gc)("symbolIcon.typeParameterForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Hp=Object(ve.gc)("symbolIcon.unitForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),qp=Object(ve.gc)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(we.g)((e,t)=>{const n=e.getColor(pp);n&&t.addRule(`${Y.a.symbolArray.cssSelector} { color: ${n}; }`);const i=e.getColor(mp);i&&t.addRule(`${Y.a.symbolBoolean.cssSelector} { color: ${i}; }`);const o=e.getColor(gp);o&&t.addRule(`${Y.a.symbolClass.cssSelector} { color: ${o}; }`);const r=e.getColor(Np);r&&t.addRule(`${Y.a.symbolMethod.cssSelector} { color: ${r}; }`);const s=e.getColor(fp);s&&t.addRule(`${Y.a.symbolColor.cssSelector} { color: ${s}; }`);const a=e.getColor(bp);a&&t.addRule(`${Y.a.symbolConstant.cssSelector} { color: ${a}; }`);const l=e.getColor(_p);l&&t.addRule(`${Y.a.symbolConstructor.cssSelector} { color: ${l}; }`);const c=e.getColor(vp);c&&t.addRule(`\n\t\t\t${Y.a.symbolValue.cssSelector},${Y.a.symbolEnum.cssSelector} { color: ${c}; }`);const d=e.getColor(wp);d&&t.addRule(`${Y.a.symbolEnumMember.cssSelector} { color: ${d}; }`);const h=e.getColor(yp);h&&t.addRule(`${Y.a.symbolEvent.cssSelector} { color: ${h}; }`);const u=e.getColor(Cp);u&&t.addRule(`${Y.a.symbolField.cssSelector} { color: ${u}; }`);const p=e.getColor(xp);p&&t.addRule(`${Y.a.symbolFile.cssSelector} { color: ${p}; }`);const m=e.getColor(Sp);m&&t.addRule(`${Y.a.symbolFolder.cssSelector} { color: ${m}; }`);const g=e.getColor(kp);g&&t.addRule(`${Y.a.symbolFunction.cssSelector} { color: ${g}; }`);const f=e.getColor(Ep);f&&t.addRule(`${Y.a.symbolInterface.cssSelector} { color: ${f}; }`);const b=e.getColor(Tp);b&&t.addRule(`${Y.a.symbolKey.cssSelector} { color: ${b}; }`);const _=e.getColor(Lp);_&&t.addRule(`${Y.a.symbolKeyword.cssSelector} { color: ${_}; }`);const v=e.getColor(Ip);v&&t.addRule(`${Y.a.symbolModule.cssSelector} { color: ${v}; }`);const w=e.getColor(Op);w&&t.addRule(`${Y.a.symbolNamespace.cssSelector} { color: ${w}; }`);const y=e.getColor(Dp);y&&t.addRule(`${Y.a.symbolNull.cssSelector} { color: ${y}; }`);const C=e.getColor(Ap);C&&t.addRule(`${Y.a.symbolNumber.cssSelector} { color: ${C}; }`);const x=e.getColor(Rp);x&&t.addRule(`${Y.a.symbolObject.cssSelector} { color: ${x}; }`);const S=e.getColor(Mp);S&&t.addRule(`${Y.a.symbolOperator.cssSelector} { color: ${S}; }`);const k=e.getColor(Pp);k&&t.addRule(`${Y.a.symbolPackage.cssSelector} { color: ${k}; }`);const E=e.getColor(Fp);E&&t.addRule(`${Y.a.symbolProperty.cssSelector} { color: ${E}; }`);const T=e.getColor(Wp);T&&t.addRule(`${Y.a.symbolReference.cssSelector} { color: ${T}; }`);const L=e.getColor(zp);L&&t.addRule(`${Y.a.symbolSnippet.cssSelector} { color: ${L}; }`);const N=e.getColor(Bp);N&&t.addRule(`${Y.a.symbolString.cssSelector} { color: ${N}; }`);const I=e.getColor(jp);I&&t.addRule(`${Y.a.symbolStruct.cssSelector} { color: ${I}; }`);const O=e.getColor(Vp);O&&t.addRule(`${Y.a.symbolText.cssSelector} { color: ${O}; }`);const D=e.getColor(Up);D&&t.addRule(`${Y.a.symbolTypeParameter.cssSelector} { color: ${D}; }`);const A=e.getColor(Hp);A&&t.addRule(`${Y.a.symbolUnit.cssSelector} { color: ${A}; }`);const R=e.getColor(qp);R&&t.addRule(`${Y.a.symbolVariable.cssSelector} { color: ${R}; }`)});var $p,Kp=n(113),Gp=n(146);function Yp(e,t,n,i){const o=i===$p.ROOT_FOLDER?["rootfolder-icon"]:i===$p.FOLDER?["folder-icon"]:["file-icon"];if(n){let r;if(n.scheme===la.b.data){r=jt.a.parseMetaData(n).get(jt.a.META_DATA_LABEL)}else r=Zp(Object(jt.c)(n).toLowerCase());if(i===$p.FOLDER)o.push(r+"-name-folder-icon");else{if(r){o.push(r+"-name-file-icon");const e=r.split(".");for(let t=1;t<e.length;t++)o.push(e.slice(t).join(".")+"-ext-file-icon");o.push("ext-file-icon")}const i=function(e,t,n){if(!n)return null;let i=null;if(n.scheme===la.b.data){const e=jt.a.parseMetaData(n).get(jt.a.META_DATA_MIME);e&&(i=t.getModeId(e))}else{const t=e.getModel(n);t&&(i=t.getModeId())}if(i&&i!==Gp.c)return i;return t.getModeIdByFilepathOrFirstLine(n)}(e,t,n);i&&o.push(Zp(i)+"-lang-file-icon")}}return o}function Zp(e){return e.replace(/\s/g,"\\$&")}!function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}($p||($p={}));var Xp=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Qp=function(e,t){return function(n,i){t(n,i,e)}},Jp=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const em=Object(Y.e)("suggest-more-info",Y.a.chevronRight),tm=Object(ve.gc)("editorSuggestWidget.background",{dark:ve.U,light:ve.U,hc:ve.U},U.a("editorSuggestWidgetBackground","Background color of the suggest widget.")),nm=Object(ve.gc)("editorSuggestWidget.border",{dark:ve.V,light:ve.V,hc:ve.V},U.a("editorSuggestWidgetBorder","Border color of the suggest widget.")),im=Object(ve.gc)("editorSuggestWidget.foreground",{dark:ve.B,light:ve.B,hc:ve.B},U.a("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),om=Object(ve.gc)("editorSuggestWidget.selectedBackground",{dark:ve.xb,light:ve.xb,hc:ve.xb},U.a("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),rm=Object(ve.gc)("editorSuggestWidget.highlightForeground",{dark:ve.zb,light:ve.zb,hc:ve.zb},U.a("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),sm=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i;function am(e){if(!e)return!1;const t=e.completion;return!!t.documentation||t.detail&&t.detail!==t.label}function lm(e){return"suggest-aria-id:"+e}let cm=class{constructor(e,t,n,i,o,r){this.widget=e,this.editor=t,this.triggerKeybindingLabel=n,this._modelService=i,this._modeService=o,this._themeService=r}get templateId(){return"suggestion"}renderTemplate(e){const t=Object.create(null);t.disposables=new pe.b,t.root=e,t.root.classList.add("show-file-icons"),t.icon=Object(ft.p)(e,Object(ft.a)(".icon")),t.colorspan=Object(ft.p)(t.icon,Object(ft.a)("span.colorspan"));const n=Object(ft.p)(e,Object(ft.a)(".contents")),i=Object(ft.p)(n,Object(ft.a)(".main"));t.iconContainer=Object(ft.p)(i,Object(ft.a)(".icon-label.codicon")),t.left=Object(ft.p)(i,Object(ft.a)("span.left")),t.right=Object(ft.p)(i,Object(ft.a)("span.right")),t.iconLabel=new ca.a(t.left,{supportHighlights:!0,supportCodicons:!0}),t.disposables.add(t.iconLabel),t.parametersLabel=Object(ft.p)(t.left,Object(ft.a)("span.signature-label")),t.qualifierLabel=Object(ft.p)(t.left,Object(ft.a)("span.qualifier-label")),t.detailsLabel=Object(ft.p)(t.right,Object(ft.a)("span.details-label")),t.readMore=Object(ft.p)(t.right,Object(ft.a)("span.readMore"+em.cssSelector)),t.readMore.title=U.a("readMore","Read More ({0})",this.triggerKeybindingLabel);const o=()=>{const e=this.editor.getOptions(),n=e.get(36),o=n.fontFamily,r=n.fontFeatureSettings,s=e.get(97)||n.fontSize,a=e.get(98)||n.lineHeight,l=n.fontWeight,c=s+"px",d=a+"px";t.root.style.fontSize=c,t.root.style.fontWeight=l,i.style.fontFamily=o,i.style.fontFeatureSettings=r,i.style.lineHeight=d,t.icon.style.height=d,t.icon.style.width=d,t.readMore.style.height=d,t.readMore.style.width=d};return o(),t.disposables.add(Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(36)||e.hasChanged(97)||e.hasChanged(98)).on(o,null)),t}renderElement(e,t,n){const i=n,o=e.completion,r="string"==typeof o.label?o.label:o.label.name;i.root.id=lm(t),i.colorspan.style.backgroundColor="";const s={labelEscapeNewLines:!0,matches:Object(va.c)(e.score)};let a=[];if(19===o.kind&&function(e,t){const n="string"==typeof e.completion.label?e.completion.label:e.completion.label.name;return n.match(sm)?(t[0]=n,!0):!("string"!=typeof e.completion.documentation||!e.completion.documentation.match(sm))&&(t[0]=e.completion.documentation,!0)}(e,a))i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=a[0];else if(20===o.kind&&this._themeService.getFileIconTheme().hasFileIcons){i.icon.className="icon hide",i.iconContainer.className="icon hide";const e=Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:r}),$p.FILE),t=Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:o.detail}),$p.FILE);s.extraClasses=e.length>t.length?e:t}else 23===o.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",s.extraClasses=Object(G.l)([Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:r}),$p.FOLDER),Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:o.detail}),$p.FOLDER)])):(i.icon.className="icon hide",i.iconContainer.className="",Object(ft.f)(i.iconContainer,"suggest-icon "+Object(et.F)(o.kind)));o.tags&&o.tags.indexOf(1)>=0&&(s.extraClasses=(s.extraClasses||[]).concat(["deprecated"]),s.matches=[]),i.iconLabel.setLabel(r,void 0,s),"string"==typeof o.label?(i.parametersLabel.textContent="",i.qualifierLabel.textContent="",i.detailsLabel.textContent=(o.detail||"").replace(/\n.*$/m,""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=(o.label.parameters||"").replace(/\n.*$/m,""),i.qualifierLabel.textContent=(o.label.qualifier||"").replace(/\n.*$/m,""),i.detailsLabel.textContent=(o.label.type||"").replace(/\n.*$/m,""),i.root.classList.remove("string-label")),am(e)?(i.right.classList.add("can-expand-details"),Object(ft.Z)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this.widget.toggleDetails()}):(i.right.classList.remove("can-expand-details"),Object(ft.K)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};cm=Xp([Qp(3,tt.a),Qp(4,Nl.a),Qp(5,we.c)],cm);class dm{constructor(e,t,n,i,o){this.widget=t,this.editor=n,this.markdownRenderer=i,this.kbToggleDetails=o,this.borderWidth=1,this.disposables=new pe.b,this.el=Object(ft.p)(e,Object(ft.a)(".details")),this.disposables.add(Object(pe.h)(()=>e.removeChild(this.el))),this.body=Object(ft.a)(".body"),this.scrollbar=new Bl.a(this.body,{}),Object(ft.p)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(ft.p)(this.body,Object(ft.a)(".header")),this.close=Object(ft.p)(this.header,Object(ft.a)("span"+Y.a.close.cssSelector)),this.close.title=U.a("readLess","Read Less ({0})",this.kbToggleDetails),this.type=Object(ft.p)(this.header,Object(ft.a)("p.type")),this.docs=Object(ft.p)(this.body,Object(ft.a)("p.docs")),this.configureFont(),Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(36)).on(this.configureFont,this,this.disposables),i.onDidRenderCodeBlock(()=>this.scrollbar.scanDomNode(),this,this.disposables)}get element(){return this.el}renderLoading(){this.type.textContent=U.a("loading","Loading..."),this.docs.textContent=""}renderItem(e,t){Object(pe.f)(this.renderDisposeable),this.renderDisposeable=void 0;let{documentation:n,detail:i}=e.completion;if(t){let t="";t+=`score: ${e.score[0]}${e.word?`, compared '${e.completion.filterText&&e.completion.filterText+" (filterText)"||e.completion.label}' with '${e.word}'`:" (no prefix)"}\n`,t+=`distance: ${e.distance}, see localityBonus-setting\n`,t+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"}\n`,n=(new X).appendCodeblock("empty",t),i="Provider: "+e.provider._debugDisplayName}if(!t&&!am(e))return this.type.textContent="",this.docs.textContent="",void this.el.classList.add("no-docs");if(this.el.classList.remove("no-docs"),"string"==typeof n)this.docs.classList.remove("markdown-docs"),this.docs.textContent=n;else{this.docs.classList.add("markdown-docs"),this.docs.innerText="";const e=this.markdownRenderer.render(n);this.renderDisposeable=e,this.docs.appendChild(e.element)}i?(this.type.innerText=i.length>1e5?i.substr(0,1e5)+"…":i,Object(ft.Z)(this.type)):(this.type.innerText="",Object(ft.K)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this.close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()}scrollDown(e=8){this.body.scrollTop+=e}scrollUp(e=8){this.body.scrollTop-=e}scrollTop(){this.body.scrollTop=0}scrollBottom(){this.body.scrollTop=this.body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}setBorderWidth(e){this.borderWidth=e}configureFont(){const e=this.editor.getOptions(),t=e.get(36),n=t.fontFamily,i=e.get(97)||t.fontSize,o=e.get(98)||t.lineHeight,r=t.fontWeight,s=i+"px",a=o+"px";this.el.style.fontSize=s,this.el.style.fontWeight=r,this.el.style.fontFeatureSettings=t.fontFeatureSettings,this.type.style.fontFamily=n,this.close.style.height=a,this.close.style.width=a}dispose(){this.disposables.dispose(),Object(pe.f)(this.renderDisposeable),this.renderDisposeable=void 0}}let hm=class e{constructor(e,t,n,i,o,r,s,a,l,c){var d,h;this.editor=e,this.telemetryService=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=0,this.isAddedAsContentWidget=!1,this.isAuto=!1,this.loadingTimeout=pe.a.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new ue.e,this.toDispose=new pe.b,this.onDidSelectEmitter=new Lt.a,this.onDidFocusEmitter=new Lt.a,this.onDidHideEmitter=new Lt.a,this.onDidShowEmitter=new Lt.a,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new Lt.a,this.onDetailsKeyDown=this._onDetailsKeydown.event;const u=this.toDispose.add(new Bc(e,s,a)),p=null!==(h=null===(d=n.lookupKeybinding("toggleSuggestionDetails"))||void 0===d?void 0:d.getLabel())&&void 0!==h?h:"";this.isAuto=!1,this.focusedItem=null,this.storageService=r,this.element=Object(ft.a)(".editor-widget.suggest-widget"),this.toDispose.add(Object(ft.i)(this.element,"click",e=>{e.target===this.element&&this.hideWidget()})),this.messageElement=Object(ft.p)(this.element,Object(ft.a)(".message")),this.listElement=Object(ft.p)(this.element,Object(ft.a)(".tree"));const m=()=>this.element.classList.toggle("with-status-bar",this.editor.getOption(96).statusBar.visible);m(),this.statusBarElement=Object(ft.p)(this.element,Object(ft.a)(".suggest-status-bar"));const g=e=>{const t=n.lookupKeybindings(e.id);return new class extends jn.a{constructor(){super(void 0,e,{label:!0,icon:!1})}updateLabel(){if(Object(G.n)(t)||!this.label)return super.updateLabel();const{label:e}=this.getAction();this.label.textContent=/{\d}/.test(e)?Ye.x(this.getAction().label,t[0].getLabel()):`${this.getAction().label} (${t[0].getLabel()})`}}},f=new ds.a(this.statusBarElement,{actionViewItemProvider:g}),b=new ds.a(this.statusBarElement,{actionViewItemProvider:g}),_=l.createMenu(ku,i);this.toDispose.add(_.onDidChange(()=>(()=>{const e=[],t=[];for(let[n,i]of _.getActions())"left"===n?e.push(...i):t.push(...i);f.clear(),f.push(e),b.clear(),b.push(t)})())),this.toDispose.add(_),this.details=c.createInstance(dm,this.element,this,this.editor,u,p);const v=()=>this.element.classList.toggle("no-icons",!this.editor.getOption(96).showIcons);v();let w=c.createInstance(cm,this,this.editor,p);this.list=new Kp.c("SuggestWidget",this.listElement,this,[w],{useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:e=>{const t="string"==typeof e.completion.label?e.completion.label:e.completion.label.name;if(e.isResolved&&this.expandDocsSettingFromStorage()){const{documentation:n,detail:i}=e.completion,o=Ye.x("{0}{1}",i||"",n?"string"==typeof n?n:n.value:"");return U.a("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,o)}return t},getWidgetAriaLabel:()=>U.a("suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this.toDispose.add(Object(ua.b)(this.list,o,{listInactiveFocusBackground:om,listInactiveFocusOutline:ve.b})),this.toDispose.add(o.onDidColorThemeChange(e=>this.onThemeChange(e))),this.toDispose.add(e.onDidLayoutChange(()=>this.onEditorLayoutChange())),this.toDispose.add(this.list.onMouseDown(e=>this.onListMouseDownOrTap(e))),this.toDispose.add(this.list.onTap(e=>this.onListMouseDownOrTap(e))),this.toDispose.add(this.list.onDidChangeSelection(e=>this.onListSelection(e))),this.toDispose.add(this.list.onDidChangeFocus(e=>this.onListFocus(e))),this.toDispose.add(this.editor.onDidChangeCursorSelection(()=>this.onCursorSelectionChanged())),this.toDispose.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(96)&&(m(),v())})),this.ctxSuggestWidgetVisible=Su.Visible.bindTo(i),this.ctxSuggestWidgetDetailsVisible=Su.DetailsVisible.bindTo(i),this.ctxSuggestWidgetMultipleSuggestions=Su.MultipleSuggestions.bindTo(i),this.onThemeChange(o.getColorTheme()),this.toDispose.add(Object(ft.n)(this.details.element,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this.toDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e)))}onEditorMouseDown(e){this.details.element.contains(e.target.element)?this.details.element.focus():this.element.contains(e.target.element)&&this.editor.focus()}onCursorSelectionChanged(){0!==this.state&&this.editor.layoutContentWidget(this)}onEditorLayoutChange(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()}onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))}onListSelection(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])}select(e,t){const n=this.completionModel;n&&(this.onDidSelectEmitter.fire({item:e,index:t,model:n}),this.editor.focus())}onThemeChange(e){const t=e.getColor(tm);t&&(this.listElement.style.backgroundColor=t.toString(),this.statusBarElement.style.backgroundColor=t.toString(),this.details.element.style.backgroundColor=t.toString(),this.messageElement.style.backgroundColor=t.toString());const n=e.getColor(nm);n&&(this.listElement.style.borderColor=n.toString(),this.statusBarElement.style.borderColor=n.toString(),this.details.element.style.borderColor=n.toString(),this.messageElement.style.borderColor=n.toString(),this.detailsBorderColor=n.toString());const i=e.getColor(ve.Z);i&&(this.detailsFocusBorderColor=i.toString()),this.details.setBorderWidth("hc"===e.type?2:1)}onListFocus(e){if(this.ignoreFocusEvents)return;if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this.editor.setAriaOptions({activeDescendant:void 0});if(!this.completionModel)return;const t=e.elements[0],n=e.indexes[0];this.firstFocusInCurrentList=!this.focusedItem,t!==this.focusedItem&&(this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=t,this.list.reveal(n),this.currentSuggestionDetails=Object(ue.f)(e=>Jp(this,void 0,void 0,(function*(){const n=Object(ue.g)(()=>this.showDetails(!0),250);e.onCancellationRequested(()=>n.dispose());const i=yield t.resolve(e);return n.dispose(),i}))),this.currentSuggestionDetails.then(()=>{n>=this.list.length||t!==this.list.element(n)||(this.ignoreFocusEvents=!0,this.list.splice(n,1,[t]),this.list.setFocus([n]),this.ignoreFocusEvents=!1,this.expandDocsSettingFromStorage()?this.showDetails(!1):this.element.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:lm(n)}))}).catch(Z.e)),this.onDidFocusEmitter.fire({item:t,index:n,model:this.completionModel})}setState(t){if(!this.element)return;this.isAddedAsContentWidget||0===t||(this.isAddedAsContentWidget=!0,this.editor.addContentWidget(this));const n=this.state!==t;switch(this.state=t,this.element.classList.toggle("frozen",4===t),t){case 0:Object(ft.K)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,n&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=e.LOADING_MESSAGE,Object(ft.K)(this.listElement,this.details.element,this.statusBarElement),Object(ft.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,Object(ft.K)(this.listElement,this.details.element,this.statusBarElement),Object(ft.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(ft.K)(this.messageElement),Object(ft.Z)(this.listElement,this.statusBarElement),this.show();break;case 4:Object(ft.K)(this.messageElement),Object(ft.Z)(this.listElement),this.show();break;case 5:Object(ft.K)(this.messageElement),Object(ft.Z)(this.details.element,this.listElement,this.statusBarElement),this.show()}}showTriggered(e,t){0===this.state&&(this.isAuto=!!e,this.isAuto||(this.loadingTimeout=Object(ue.g)(()=>this.setState(1),t)))}showSuggestions(e,t,n,i){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==e&&(this.completionModel=e),n&&2!==this.state&&0!==this.state)return void this.setState(4);let o=this.completionModel.items.length;const r=0===o;if(this.ctxSuggestWidgetMultipleSuggestions.set(o>1),r)i?this.setState(0):this.setState(2),this.completionModel=null;else{if(3!==this.state){const{stats:e}=this.completionModel;e.wasAutomaticallyTriggered=!!i,this.telemetryService.publicLog("suggestWidget",Object.assign({},e))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),n?this.setState(4):this.setState(3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}selectNextPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}}selectNext(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}}selectLast(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}}selectPreviousPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}}selectPrevious(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}}selectFirst(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}}getFocusedItem(){if(0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}}toggleDetailsFocus(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")}toggleDetails(){if(am(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.ctxSuggestWidgetDetailsVisible.set(!1),this.updateExpandDocsSetting(!1),Object(ft.K)(this.details.element),this.element.classList.remove("docs-side","doc-below"),this.editor.layoutContentWidget(this),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.ctxSuggestWidgetDetailsVisible.set(!0),this.updateExpandDocsSetting(!0),this.showDetails(!1),this.telemetryService.publicLog2("suggestWidget:expandDetails")}}showDetails(e){e||this.expandSideOrBelow(),Object(ft.Z)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",e?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()}toggleExplainMode(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))}show(){const e=this.updateListHeight();e!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=e),this.ctxSuggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(()=>{this.element.classList.add("visible"),this.onDidShowEmitter.fire(this)},100)}hide(){this.editor.layoutContentWidget(this),this.ctxSuggestWidgetVisible.reset(),this.ctxSuggestWidgetMultipleSuggestions.reset(),this.element.classList.remove("visible")}hideWidget(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)}getPosition(){if(0===this.state)return null;let e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}}getDomNode(){return this.element}getId(){return e.ID}isFrozen(){return 4===this.state}updateListHeight(){let e=0;if(2===this.state||1===this.state)e=this.unfocusedHeight;else{const t=this.list.contentHeight/this.unfocusedHeight,{maxVisibleSuggestions:n}=this.editor.getOption(96);e=Math.min(t,n)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.statusBarElement.style.top=e+"px",this.list.layout(e),e}adjustDocsPosition(){if(!this.editor.hasModel())return;const e=this.editor.getOption(51),t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),n=Object(ft.C)(this.editor.getDomNode()),i=n.left+t.left,o=n.top+t.top+t.height,r=Object(ft.C)(this.element),s=r.left,a=r.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetY<a&&!this.preferDocPositionTop)return this.preferDocPositionTop=!0,void this.adjustDocsPosition();this.docsPositionPreviousWidgetY=a,s<i-this.listWidth?this.element.classList.add("list-right"):this.element.classList.remove("list-right"),this.element.classList.contains("docs-side")&&o-e>a&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}expandSideOrBelow(){if(!am(this.focusedItem)&&this.firstFocusInCurrentList)return void this.element.classList.remove("docs-side","docs-below");let e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])<this.maxWidgetWidth?(this.element.classList.add("docs-below"),this.element.classList.remove("docs-side")):am(this.focusedItem)&&(this.element.classList.add("docs-side"),this.element.classList.remove("docs-below"))}get maxWidgetHeight(){return this.unfocusedHeight*this.editor.getOption(96).maxVisibleSuggestions}get unfocusedHeight(){const e=this.editor.getOptions();return e.get(98)||e.get(36).lineHeight}getHeight(e){return this.unfocusedHeight}getTemplateId(e){return"suggestion"}expandDocsSettingFromStorage(){return this.storageService.getBoolean("expandSuggestionDocs",0,!1)}updateExpandDocsSetting(e){this.storageService.store("expandSuggestionDocs",e,0)}dispose(){this.details.dispose(),this.list.dispose(),this.toDispose.dispose(),this.loadingTimeout.dispose(),this.showTimeout.dispose(),this.editor.removeContentWidget(this)}};hm.ID="editor.widget.suggestWidget",hm.LOADING_MESSAGE=U.a("suggestWidget.loading","Loading..."),hm.NO_SUGGESTIONS_MESSAGE=U.a("suggestWidget.noSuggestions","No suggestions."),hm=Xp([Qp(1,Bt.a),Qp(2,vt.a),Qp(3,K.b),Qp(4,we.c),Qp(5,fn.a),Qp(6,Nl.a),Qp(7,Vl.a),Qp(8,ye.a),Qp(9,gt.a)],hm),Object(we.g)((e,t)=>{const n=e.getColor(rm);n&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${n}; }`);const i=e.getColor(im);i&&t.addRule(`.monaco-editor .suggest-widget { color: ${i}; }`);const o=e.getColor(ve.rc);o&&t.addRule(`.monaco-editor .suggest-widget a { color: ${o}; }`);const r=e.getColor(ve.qc);r&&t.addRule(`.monaco-editor .suggest-widget code { background-color: ${r}; }`)});var um=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},pm=function(e,t){return function(n,i){t(n,i,e)}};let mm=class e extends pe.a{constructor(t,n){super(),this._editor=t,this._enabled=!1,this._ckAtEnd=e.AtEnd.bindTo(n),this._register(this._editor.onDidChangeConfiguration(e=>e.hasChanged(101)&&this._update())),this._update()}dispose(){super.dispose(),Object(pe.f)(this._selectionListener),this._ckAtEnd.reset()}_update(){const e="on"===this._editor.getOption(101);if(this._enabled!==e)if(this._enabled=e,this._enabled){const e=()=>{if(!this._editor.hasModel())return void this._ckAtEnd.set(!1);const e=this._editor.getModel(),t=this._editor.getSelection(),n=e.getWordAtPosition(t.getStartPosition());n?this._ckAtEnd.set(n.endColumn===t.getStartPosition().column):this._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(e),e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};mm.AtEnd=new K.c("atEndOfWord",!1),mm=um([pm(1,K.b)],mm);class gm{constructor(e,t,n){this._disposables=new pe.b,this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(i=>{if(this._active&&!t.isFrozen()){const t=i.charCodeAt(i.length-1);this._active.acceptCharacters.has(t)&&e.getOption(0)&&n(this._active.item)}}))}_onItem(e){if(!e||!Object(G.o)(e.item.completion.commitCharacters))return void this.reset();if(this._active&&this._active.item.item===e.item)return;const t=new Dr.b;for(const n of e.item.completion.commitCharacters)n.length>0&&t.add(n.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}class fm{constructor(e,t){this._disposables=new pe.b,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType(()=>{if(!this._empty)return;if(!e.hasModel())return;const t=e.getSelections(),n=t.length;let i=!1;for(let e=0;e<n;e++)if(!t[e].isEmpty()){i=!0;break}if(!i)return;this._lastOvertyped=[];const o=e.getModel();for(let e=0;e<n;e++){const n=t[e];if(o.getValueLengthInRange(n)>fm._maxSelectionLength)return;this._lastOvertyped[e]={value:o.getValueInRange(n),multiline:n.startLineNumber!==n.endLineNumber}}this._empty=!1})),this._disposables.add(t.onDidCancel(e=>{this._empty||(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}fm._maxSelectionLength=51200;var bm=n(158),_m=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},vm=function(e,t){return function(n,i){t(n,i,e)}};class wm{constructor(e,t){this._model=e,this._position=t;if(e.getLineMaxColumn(t.lineNumber)!==t.column){const n=e.getOffsetAt(t),i=e.getPositionAt(n+1);this._marker=e.deltaDecorations([],[{range:ge.a.fromPositions(t,i),options:{stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){const t=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let ym=class e{constructor(e,t,n,i,o,r,s,a){this._memoryService=n,this._commandService=i,this._contextKeyService=o,this._instantiationService=r,this._logService=s,this._lineSuffix=new pe.d,this._toDispose=new pe.b,this.editor=e,this.model=new up(this.editor,t,a),this.widget=this._toDispose.add(new ue.b(()=>{const e=this._instantiationService.createInstance(hm,this.editor);this._toDispose.add(e),this._toDispose.add(e.onDidSelect(e=>this._insertSuggestion(e,0),this));const t=new gm(this.editor,e,e=>this._insertSuggestion(e,2));this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest(e=>{0===e.completionModel.items.length&&t.reset()}));const n=Su.MakesTextEdit.bindTo(this._contextKeyService),i=Su.HasInsertAndReplaceRange.bindTo(this._contextKeyService),o=Su.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Object(pe.h)(()=>{n.reset(),i.reset(),o.reset()})),this._toDispose.add(e.onDidFocus(({item:e})=>{const t=this.editor.getPosition(),r=e.editStart.column,s=t.column;let a=!0;if(!("smart"!==this.editor.getOption(1)||2!==this.model.state||e.completion.command||e.completion.additionalTextEdits||4&e.completion.insertTextRules||s-r!==e.completion.insertText.length)){a=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:r,endLineNumber:t.lineNumber,endColumn:s})!==e.completion.insertText}n.set(a),i.set(!me.a.equals(e.editInsertEnd,e.editReplaceEnd)),o.set(Boolean(e.provider.resolveCompletionItem)||Boolean(e.completion.documentation)||e.completion.detail!==e.completion.label)})),this._toDispose.add(e.onDetailsKeyDown(e=>{e.toKeybinding().equals(new $.e(!0,!1,!1,!1,33))||Ae.f&&e.toKeybinding().equals(new $.e(!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||this.editor.focus()})),e})),this._overtypingCapturer=this._toDispose.add(new ue.b(()=>this._toDispose.add(new fm(this.editor,this.model)))),this._alternatives=this._toDispose.add(new ue.b(()=>this._toDispose.add(new sp(this.editor,this._contextKeyService)))),this._toDispose.add(r.createInstance(mm,e)),this._toDispose.add(this.model.onDidTrigger(e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new wm(this.editor.getModel(),e.position)})),this._toDispose.add(this.model.onDidSuggest(e=>{if(!e.shy){let t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items);this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}})),this._toDispose.add(this.model.onDidCancel(e=>{e.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let l=Su.AcceptSuggestionsOnEnter.bindTo(o),c=()=>{const e=this.editor.getOption(1);l.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>c())),c()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(!e||!e.item)return this._alternatives.value.reset(),this.model.cancel(),void this.model.clear();if(!this.editor.hasModel())return;const n=this.editor.getModel(),i=n.getAlternativeVersionId(),{item:o}=e,r=[],s=new Xe.b;1&t||this.editor.pushUndoStop();const a=this.getOverwriteInfo(o,Boolean(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),o),Array.isArray(o.completion.additionalTextEdits)){const e=Je.c.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",o.completion.additionalTextEdits.map(e=>Mn.a.replace(ge.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!o.isResolved){const e=new bm.a(!0);let i;const a=n.onDidChangeContent(e=>{if(e.isFlush)return s.cancel(),void a.dispose();for(let t of e.changes){const e=ge.a.getEndPosition(t.range);i&&!me.a.isBefore(e,i)||(i=e)}});let l=t;t|=2;let c=!1,d=this.editor.onWillType(()=>{d.dispose(),c=!0,2&l||this.editor.pushUndoStop()});r.push(o.resolve(s.token).then(()=>{if(!o.completion.additionalTextEdits||s.token.isCancellationRequested)return!1;if(i&&o.completion.additionalTextEdits.some(e=>me.a.isBefore(i,ge.a.getStartPosition(e.range))))return!1;c&&this.editor.pushUndoStop();const e=Je.c.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",o.completion.additionalTextEdits.map(e=>Mn.a.replace(ge.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor),!c&&2&l||this.editor.pushUndoStop(),!0}).then(t=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",e.elapsed(),t),a.dispose(),d.dispose()}))}let{insertText:l}=o.completion;4&o.completion.insertTextRules||(l=Cu.escape(l)),Zu.get(this.editor).insert(l,{overwriteBefore:a.overwriteBefore,overwriteAfter:a.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&o.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),o.completion.command?o.completion.command.id===Cm.id?this.model.trigger({auto:!0,shy:!1},!0):(r.push(this._commandService.executeCommand(o.completion.command.id,...o.completion.command.arguments?[...o.completion.command.arguments]:[]).catch(Z.e)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,e=>{for(s.cancel();n.canUndo();){i!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}}),this._alertCompletionItem(o),Promise.all(r).finally(()=>{this.model.clear(),s.dispose()})}getOverwriteInfo(e,t){Object(Jo.b)(this.editor.hasModel());let n="replace"===this.editor.getOption(96).insertMode;t&&(n=!n);const i=e.position.column-e.editStart.column,o=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column;return{overwriteBefore:i+(this.editor.getPosition().column-e.position.column),overwriteAfter:o+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem({completion:e}){const t="string"==typeof e.label?e.label:e.label.name;if(Object(G.o)(e.additionalTextEdits)){let n=U.a("arai.alert.snippet","Accepting '{0}' made {1} additional edits",t,e.additionalTextEdits.length);Object(ne.a)(n)}}triggerSuggest(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;const t=this.editor.getPosition(),n=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},i=e=>{if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;const t=this.editor.getPosition(),n=e.editStart.column,i=t.column;if(i-n!==e.completion.insertText.length)return!0;return this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:n,endLineNumber:t.lineNumber,endColumn:i})!==e.completion.insertText};Lt.b.once(this.model.onDidTrigger)(e=>{let t=[];Lt.b.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{Object(pe.f)(t),n()},void 0,t),this.model.onDidSuggest(({completionModel:e})=>{if(Object(pe.f)(t),0===e.items.length)return void n();const o=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),r=e.items[o];i(r)?(this.editor.pushUndoStop(),this._insertSuggestion({index:o,item:r,model:e},7)):n()},void 0,t)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(t.lineNumber,0),this.editor.focus()}acceptSelectedSuggestion(e,t){const n=this.widget.value.getFocusedItem();let i=0;e&&(i|=4),t&&(i|=8),this._insertSuggestion(n,i)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}};ym.ID="editor.contrib.suggestController",ym=_m([vm(1,Ar.a),vm(2,ip),vm(3,Ft.b),vm(4,K.b),vm(5,gt.a),vm(6,Kh.b),vm(7,Pe.a)],ym);class Cm extends V.b{constructor(){super({id:Cm.id,label:U.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:K.a.and(H.a.writable,H.a.hasCompletionItemProvider),kbOpts:{kbExpr:H.a.textInputFocus,primary:2058,mac:{primary:266,secondary:[521]},weight:100}})}run(e,t){const n=ym.get(t);n&&n.triggerSuggest()}}Cm.id="editor.action.triggerSuggest",Object(V.m)(ym.ID,ym),Object(V.k)(Cm);const xm=V.c.bindToContribution(ym.get);Object(V.l)(new xm({id:"acceptSelectedSuggestion",precondition:Su.Visible,handler(e){e.acceptSelectedSuggestion(!0,!1)}})),Zi.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:K.a.and(Su.Visible,H.a.textInputFocus),primary:2,weight:190}),Zi.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:K.a.and(Su.Visible,H.a.textInputFocus,Su.AcceptSuggestionsOnEnter,Su.MakesTextEdit),primary:3,weight:190}),ye.d.appendMenuItem(ku,{command:{id:"acceptSelectedSuggestion",title:U.a({key:"accept.accept",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:Su.HasInsertAndReplaceRange.toNegated()}),ye.d.appendMenuItem(ku,{command:{id:"acceptSelectedSuggestion",title:U.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","insert"))}),ye.d.appendMenuItem(ku,{command:{id:"acceptSelectedSuggestion",title:U.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},group:"left",order:1,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","replace"))}),Object(V.l)(new xm({id:"acceptAlternativeSelectedSuggestion",precondition:K.a.and(Su.Visible,H.a.textInputFocus),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:ku,group:"left",order:2,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","insert")),title:U.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},{menuId:ku,group:"left",order:2,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","replace")),title:U.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")}]})),Ft.a.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object(V.l)(new xm({id:"hideSuggestWidget",precondition:Su.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:9,secondary:[1033]}})),Object(V.l)(new xm({id:"selectNextSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(V.l)(new xm({id:"selectNextPageSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:12,secondary:[2060]}})),Object(V.l)(new xm({id:"selectLastSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),Object(V.l)(new xm({id:"selectPrevSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(V.l)(new xm({id:"selectPrevPageSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:11,secondary:[2059]}})),Object(V.l)(new xm({id:"selectFirstSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),Object(V.l)(new xm({id:"toggleSuggestionDetails",precondition:Su.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:ku,group:"right",order:1,when:K.a.and(Su.DetailsVisible,Su.CanResolve),title:U.a("detail.more","show less")},{menuId:ku,group:"right",order:1,when:K.a.and(Su.DetailsVisible.toNegated(),Su.CanResolve),title:U.a("detail.less","show more")}]})),Object(V.l)(new xm({id:"toggleExplainMode",precondition:Su.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),Object(V.l)(new xm({id:"toggleSuggestionFocus",precondition:Su.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object(V.l)(new xm({id:"insertBestCompletion",precondition:K.a.and(H.a.textInputFocus,K.a.equals("config.editor.tabCompletion","on"),mm.AtEnd,Su.Visible.toNegated(),sp.OtherSuggestions.toNegated(),Zu.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest(Object(Jo.i)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object(V.l)(new xm({id:"insertNextSuggestion",precondition:K.a.and(H.a.textInputFocus,K.a.equals("config.editor.tabCompletion","on"),sp.OtherSuggestions,Su.Visible.toNegated(),Zu.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:2}})),Object(V.l)(new xm({id:"insertPrevSuggestion",precondition:K.a.and(H.a.textInputFocus,K.a.equals("config.editor.tabCompletion","on"),sp.OtherSuggestions,Su.Visible.toNegated(),Zu.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:1026}}));class Sm extends V.b{constructor(){super({id:"editor.action.forceRetokenize",label:U.a("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getModel();n.resetTokenization();const i=new bm.a(!0);n.forceTokenization(n.getLineCount()),i.stop(),console.log("tokenization took "+i.elapsed())}}Object(V.k)(Sm);var km=n(161);class Em extends V.b{constructor(){super({id:Em.ID,label:U.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){const n=!km.b.getTabFocusMode();km.b.setTabFocusMode(n),n?Object(ne.a)(U.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(ne.a)(U.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}Em.ID="editor.action.toggleTabFocusMode",Object(V.k)(Em);var Tm=n(171),Lm=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Nm=function(e,t){return function(n,i){t(n,i,e)}},Im=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Om=class extends pe.a{constructor(e,t,n){super(),this._editor=e,this._dialogService=t,this._codeEditorService=n,this._config=this._editor.getOption(103),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(103)&&(this._config=this._editor.getOption(103),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return Im(this,void 0,void 0,(function*(){if("off"===this._config)return;if(!this._editor.hasModel())return;const e=this._editor.getModel();if(!e.mightContainUnusualLineTerminators())return;if(!0===function(e,t){return e.getModelProperty(t.uri,"ignoreUnusualLineTerminators")}(this._codeEditorService,e))return;if(this._editor.getOption(72))return;if("auto"===this._config)return void e.removeUnusualLineTerminators(this._editor.getSelections());(yield this._dialogService.confirm({title:U.a("unusualLineTerminators.title","Unusual Line Terminators"),message:U.a("unusualLineTerminators.message","Detected unusual line terminators"),detail:U.a("unusualLineTerminators.detail","This file contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`."),primaryButton:U.a("unusualLineTerminators.fix","Fix this file"),secondaryButton:U.a("unusualLineTerminators.ignore","Ignore problem for this file")})).confirmed?e.removeUnusualLineTerminators(this._editor.getSelections()):function(e,t,n){e.setModelProperty(t.uri,"ignoreUnusualLineTerminators",n)}(this._codeEditorService,e,!0)}))}};Om.ID="editor.contrib.unusualLineTerminatorsDetector",Om=Lm([Nm(1,Tm.a),Nm(2,Me.a)],Om),Object(V.m)(Om.ID,Om);var Dm=n(184),Am=n(183),Rm=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Mm=function(e,t){return function(n,i){t(n,i,e)}};let Pm=class e extends pe.a{constructor(e,t,n,i){super(),this._modelService=t,this._themeService=n,this._configurationService=i,this._editor=e,this._tokenizeViewport=new ue.d(()=>this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(et.k.onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(Am.b)&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}static _getSemanticColoringProvider(e){const t=et.k.ordered(e);return t.length>0?t[0]:null}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,n=this._outstandingRequests.length;t<n;t++)if(this._outstandingRequests[t]===e)return void this._outstandingRequests.splice(t,1)}_tokenizeViewportNow(){if(!this._editor.hasModel())return;const t=this._editor.getModel();if(t.hasSemanticTokens())return;if(!Object(Am.c)(t,this._themeService,this._configurationService))return;const n=e._getSemanticColoringProvider(t);if(!n)return;const i=this._modelService.getSemanticTokensProviderStyling(n),o=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(o.map(e=>this._requestRange(t,e,n,i)))}_requestRange(e,t,n,i){const o=e.getVersionId(),r=Object(ue.f)(i=>Promise.resolve(n.provideDocumentRangeSemanticTokens(e,t,i)));return r.then(n=>{n&&!e.isDisposed()&&e.getVersionId()===o&&e.setPartialSemanticTokens(t,Object(Dm.b)(n,i,e.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(r),()=>this._removeOutstandingRequest(r)),r}};Pm.ID="editor.contrib.viewportSemanticTokens",Pm=Rm([Mm(1,tt.a),Mm(2,we.c),Mm(3,On.a)],Pm),Object(V.m)(Pm.ID,Pm);var Fm=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Wm=function(e,t){return function(n,i){t(n,i,e)}};const zm=Object(ve.gc)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},U.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),Bm=Object(ve.gc)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},U.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),jm=Object(ve.gc)("editor.wordHighlightBorder",{light:null,dark:null,hc:ve.b},U.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),Vm=Object(ve.gc)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:ve.b},U.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),Um=Object(ve.gc)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},U.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),Hm=Object(ve.gc)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},U.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),qm=new K.c("hasWordHighlights",!1);function $m(e,t,n){const i=et.i.ordered(e);return Object(ue.h)(i.map(i=>()=>Promise.resolve(i.provideDocumentHighlights(e,t,n)).then(void 0,Z.f)),G.o)}class Km{constructor(e,t,n){this._wordRange=this._getCurrentWordRange(e,t),this.result=Object(ue.f)(i=>this._compute(e,t,n,i))}_getCurrentWordRange(e,t){const n=e.getWordAtPosition(t.getPosition());return n?new ge.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):null}isValid(e,t,n){const i=t.startLineNumber,o=t.startColumn,r=t.endColumn,s=this._getCurrentWordRange(e,t);let a=Boolean(this._wordRange&&this._wordRange.equalsRange(s));for(let t=0,s=n.length;!a&&t<s;t++){let s=e.getDecorationRange(n[t]);s&&s.startLineNumber===i&&s.startColumn<=o&&s.endColumn>=r&&(a=!0)}return a}cancel(){this.result.cancel()}}class Gm extends Km{_compute(e,t,n,i){return $m(e,t.getPosition(),i).then(e=>e||[])}}class Ym extends Km{constructor(e,t,n){super(e,t,n),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,n,i){return Object(ue.l)(250,i).then(()=>{if(!t.isEmpty())return[];const i=e.getWordAtPosition(t.getPosition());if(!i||i.word.length>1e3)return[];return e.findMatches(i.word,!0,!1,!0,n,!1).map(e=>({range:e.range,kind:et.h.Text}))})}isValid(e,t,n){const i=t.isEmpty();return this._selectionIsEmpty===i&&super.isValid(e,t,n)}}Object(V.p)("_executeDocumentHighlights",(e,t)=>$m(e,t,Xe.a.None));class Zm{constructor(e,t){this.toUnhook=new pe.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=qm.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(63),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(e=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(e)})),this.toUnhook.add(e.onDidChangeModelContent(e=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(e=>{let t=this.editor.getOption(63);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this._decorationIds.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return G.d(this._decorationIds.map(e=>this.model.getDecorationRange(e)).sort(ge.a.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights(),t=(G.j(e,e=>e.containsPosition(this.editor.getPosition()))+1)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const i=this._getWord();if(i){const o=this.editor.getModel().getLineContent(n.startLineNumber);Object(ne.a)(`${o}, ${t+1} of ${e.length} for '${i.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),t=(G.j(e,e=>e.containsPosition(this.editor.getPosition()))-1+e.length)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const i=this._getWord();if(i){const o=this.editor.getModel().getLineContent(n.startLineNumber);Object(ne.a)(`${o}, ${t+1} of ${e.length} for '${i.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){this.occurrencesHighlight&&3===e.reason?this._run():this._stopAll()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,n=e.startColumn;return this.model.getWordAtPosition({lineNumber:t,column:n})}_run(){let e=this.editor.getSelection();if(e.startLineNumber!==e.endLineNumber)return void this._stopAll();let t=e.startColumn,n=e.endColumn;const i=this._getWord();if(!i||i.startColumn>t||i.endColumn<n)return void this._stopAll();const o=this.workerRequest&&this.workerRequest.isValid(this.model,e,this._decorationIds);if(this.lastCursorPositionChangeTime=(new Date).getTime(),o)this.workerRequestCompleted&&-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();let e=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=(r=this.model,s=this.editor.getSelection(),a=this.editor.getOption(105),et.i.has(r)?new Gm(r,s,a):new Ym(r,s,a)),this.workerRequest.result.then(t=>{e===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=t||[],this._beginRenderDecorations())},Z.e)}var r,s,a}_beginRenderDecorations(){let e=(new Date).getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(const t of this.workerRequestValue)t.range&&e.push({range:t.range,options:Zm._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===et.h.Write?this._WRITE_OPTIONS:e===et.h.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}Zm._WRITE_OPTIONS=be.a.register({stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:Object(we.h)(Hm),position:fe.d.Center}}),Zm._TEXT_OPTIONS=be.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(we.h)(ve.Wb),position:fe.d.Center}}),Zm._REGULAR_OPTIONS=be.a.register({stickiness:1,className:"wordHighlight",overviewRuler:{color:Object(we.h)(Um),position:fe.d.Center}});let Xm=class e extends pe.a{constructor(e,t){super(),this.wordHighlighter=null;const n=()=>{e.hasModel()&&(this.wordHighlighter=new Zm(e,t))};this._register(e.onDidChangeModel(e=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),n()})),n()}static get(t){return t.getContribution(e.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};Xm.ID="editor.contrib.wordHighlighter",Xm=Fm([Wm(1,K.b)],Xm);class Qm extends V.b{constructor(e,t){super(t),this._isNext=e}run(e,t){const n=Xm.get(t);n&&(this._isNext?n.moveNext():n.moveBack())}}class Jm extends V.b{constructor(){super({id:"editor.action.wordHighlight.trigger",label:U.a("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:qm.toNegated(),kbOpts:{kbExpr:H.a.editorTextFocus,primary:0,weight:100}})}run(e,t,n){const i=Xm.get(t);i&&i.restoreViewState(!0)}}Object(V.m)(Xm.ID,Xm),Object(V.k)(class extends Qm{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:U.a("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:qm,kbOpts:{kbExpr:H.a.editorTextFocus,primary:65,weight:100}})}}),Object(V.k)(class extends Qm{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:U.a("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:qm,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1089,weight:100}})}}),Object(V.k)(Jm),Object(we.g)((e,t)=>{const n=e.getColor(ve.Q);n&&(t.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${n}; }`),t.addRule(`.monaco-editor .selectionHighlight { background-color: ${n.transparent(.5)}; }`));const i=e.getColor(zm);i&&t.addRule(`.monaco-editor .wordHighlight { background-color: ${i}; }`);const o=e.getColor(Bm);o&&t.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${o}; }`);const r=e.getColor(ve.R);r&&t.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${r}; box-sizing: border-box; }`);const s=e.getColor(jm);s&&t.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc"===e.type?"dashed":"solid"} ${s}; box-sizing: border-box; }`);const a=e.getColor(Vm);a&&t.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc"===e.type?"dashed":"solid"} ${a}; box-sizing: border-box; }`)});var eg=n(22),tg=n(129),ng=n(117),ig=n(26);class og extends V.c{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=Object(ng.a)(t.getOption(105)),o=t.getModel(),r=t.getSelections().map(e=>{const t=new me.a(e.positionLineNumber,e.positionColumn),n=this._move(i,o,t,this._wordNavigationType);return this._moveTo(e,n,this._inSelectionMode)});if(o.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",0,r.map(e=>eg.d.fromModelSelection(e))),1===r.length){const e=new me.a(r[0].positionLineNumber,r[0].positionColumn);t.revealPosition(e,0)}}_moveTo(e,t,n){return n?new q.a(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new q.a(t.lineNumber,t.column,t.lineNumber,t.column)}}class rg extends og{_move(e,t,n,i){return tg.a.moveWordLeft(e,t,n,i)}}class sg extends og{_move(e,t,n,i){return tg.a.moveWordRight(e,t,n,i)}}class ag extends V.c{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=Object(ng.a)(t.getOption(105)),o=t.getModel(),r=t.getSelections().map(e=>{const t=this._delete(i,o,e,this._whitespaceHeuristics,this._wordNavigationType);return new Ne.a(t,"")});t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}class lg extends ag{_delete(e,t,n,i,o){let r=tg.a.deleteWordLeft(e,t,n,i,o);return r||new ge.a(1,1,1,1)}}class cg extends ag{_delete(e,t,n,i,o){let r=tg.a.deleteWordRight(e,t,n,i,o);if(r)return r;const s=t.getLineCount(),a=t.getLineMaxColumn(s);return new ge.a(s,a,s,a)}}Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:2063,mac:{primary:527},weight:100}})}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:2065,mac:{primary:529},weight:100}})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:2063},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends rg{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:3087},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:2065},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:3089},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends lg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:H.a.writable})}}),Object(V.l)(new class extends lg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:H.a.writable})}}),Object(V.l)(new class extends lg{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}),Object(V.l)(new class extends cg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:H.a.writable})}}),Object(V.l)(new class extends cg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:H.a.writable})}}),Object(V.l)(new class extends cg{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}});class dg extends og{_move(e,t,n,i){return tg.b.moveWordPartLeft(e,t,n)}}Ft.a.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");Ft.a.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class hg extends og{_move(e,t,n,i){return tg.b.moveWordPartRight(e,t,n)}}Object(V.l)(new class extends ag{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t,n,i,o){let r=tg.b.deleteWordPartLeft(e,t,n,i);return r||new ge.a(1,1,1,1)}}),Object(V.l)(new class extends ag{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t,n,i,o){let r=tg.b.deleteWordPartRight(e,t,n,i);if(r)return r;const s=t.getLineCount(),a=t.getLineMaxColumn(s);return new ge.a(s,a,s,a)}}),Object(V.l)(new class extends dg{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}),Object(V.l)(new class extends dg{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}),Object(V.l)(new class extends hg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}),Object(V.l)(new class extends hg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}});var ug=n(55),pg=(n(335),n(35)),mg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},gg=function(e,t){return function(n,i){t(n,i,e)}};const fg=new K.c("accessibilityHelpWidgetVisible",!1);let bg=class e extends pe.a{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(_g,this._editor))}static get(t){return t.getContribution(e.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};bg.ID="editor.contrib.accessibilityHelpController",bg=mg([gg(1,gt.a)],bg);let _g=class e extends Ri.a{constructor(e,t,n,i){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=i,this._editor=e,this._isVisibleKey=fg.bindTo(this._contextKeyService),this._domNode=Object(pg.b)(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=Object(pg.b)(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(ft.n(this._contentDomNode.domNode,"keydown",e=>{if(this._isVisible&&(e.equals(2083)&&(Object(ne.a)(ug.a.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),ft.s(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){Object(ne.a)(ug.a.openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;void 0===t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(Qe.a.parse(t)),e.preventDefault(),e.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){let i=this._keybindingService.lookupKeybinding(e);return i?Ye.x(t,i.getAriaLabel()):Ye.x(n,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let n=0;if(t){const e=this._editor.getModel();e&&t.forEach(t=>{n+=e.getValueLengthInRange(t)})}let i=function(e,t){return e&&0!==e.length?1===e.length?t?Ye.x(ug.a.singleSelectionRange,e[0].positionLineNumber,e[0].positionColumn,t):Ye.x(ug.a.singleSelection,e[0].positionLineNumber,e[0].positionColumn):t?Ye.x(ug.a.multiSelectionRange,e.length,t):e.length>0?Ye.x(ug.a.multiSelection,e.length):"":ug.a.noSelection}(t,n);e.get(47)?e.get(72)?i+=ug.a.readonlyDiffEditor:i+=ug.a.editableDiffEditor:e.get(72)?i+=ug.a.readonlyEditor:i+=ug.a.editableEditor;const o=Ae.f?ug.a.changeConfigToOnMac:ug.a.changeConfigToOnWinLinux;switch(e.get(2)){case 0:i+="\n\n - "+o;break;case 2:i+="\n\n - "+ug.a.auto_on;break;case 1:i+="\n\n - "+ug.a.auto_off,i+=" "+o}e.get(116)?i+="\n\n - "+this._descriptionForCommand(Em.ID,ug.a.tabFocusModeOnMsg,ug.a.tabFocusModeOnMsgNoKb):i+="\n\n - "+this._descriptionForCommand(Em.ID,ug.a.tabFocusModeOffMsg,ug.a.tabFocusModeOffMsgNoKb);i+="\n\n - "+(Ae.f?ug.a.openDocMac:ug.a.openDocWinLinux),i+="\n\n"+ug.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(Ic.b)(i)),this._contentDomNode.domNode.setAttribute("aria-label",i)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,ft.s(this._contentDomNode.domNode),this._editor.focus())}_layout(){let t=this._editor.getLayoutInfo(),n=Math.max(5,Math.min(e.WIDTH,t.width-40)),i=Math.max(5,Math.min(e.HEIGHT,t.height-40));this._domNode.setWidth(n),this._domNode.setHeight(i);let o=Math.round((t.height-i)/2);this._domNode.setTop(o);let r=Math.round((t.width-n)/2);this._domNode.setLeft(r)}};_g.ID="editor.contrib.accessibilityHelpWidget",_g.WIDTH=500,_g.HEIGHT=300,_g=mg([gg(1,K.b),gg(2,vt.a),gg(3,Vl.a)],_g);class vg extends V.b{constructor(){super({id:"editor.action.showAccessibilityHelp",label:ug.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let n=bg.get(t);n&&n.show()}}Object(V.m)(bg.ID,bg),Object(V.k)(vg);const wg=V.c.bindToContribution(bg.get);Object(V.l)(new wg({id:"closeAccessibilityHelp",precondition:fg,handler:e=>e.hide(),kbOpts:{weight:200,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(we.g)((e,t)=>{const n=e.getColor(ve.U);n&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${n}; }`);const i=e.getColor(ve.W);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`);const o=e.getColor(ve.uc);o&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${o}; }`);const r=e.getColor(ve.h);r&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${r}; }`)});n(337);class yg extends pe.a{constructor(e){super(),this.editor=e,this.widget=null,De.i&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const e=!this.editor.getOption(72);!this.widget&&e?this.widget=new Cg(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}yg.ID="editor.contrib.iPadShowKeyboard";class Cg extends pe.a{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(ft.i(this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(ft.i(this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return Cg.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}Cg.ID="editor.contrib.ShowKeyboardWidget",Object(V.m)(yg.ID,yg);n(339);var xg=n(90),Sg=n(139),kg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Eg=function(e,t){return function(n,i){t(n,i,e)}};let Tg=class e extends pe.a{constructor(e,t,n){super(),this._editor=e,this._modeService=n,this._widget=null,this._register(this._editor.onDidChangeModel(e=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(et.C.onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new Ng(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};Tg.ID="editor.contrib.inspectTokens",Tg=kg([Eg(1,Sg.a),Eg(2,Nl.a)],Tg);class Lg extends V.b{constructor(){super({id:"editor.action.inspectTokens",label:ug.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let n=Tg.get(t);n&&n.launch()}}class Ng extends pe.a{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._modeService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=function(e){let t=et.C.get(e.language);return t||{getInitialState:()=>xg.c,tokenize:(t,n,i)=>Object(xg.d)(e.language,t,n,i),tokenize2:(t,n,i)=>Object(xg.e)(e.id,t,n,i)}}(this._model.getLanguageIdentifier()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return Ng._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),n=0;for(let i=t.tokens1.length-1;i>=0;i--){let o=t.tokens1[i];if(e.column-1>=o.offset){n=i;break}}let i=0;for(let n=t.tokens2.length>>>1;n>=0;n--)if(e.column-1>=t.tokens2[n<<1]){i=n;break}let o=this._model.getLineContent(e.lineNumber),r="";if(n<t.tokens1.length){let e=t.tokens1[n].offset,i=n+1<t.tokens1.length?t.tokens1[n+1].offset:o.length;r=o.substring(e,i)}Object(ft.U)(this._domNode,Object(ft.a)("h2.tm-token",void 0,function(e){let t="";for(let n=0,i=e.length;n<i;n++){let i=e.charCodeAt(n);switch(i){case 9:t+="→";break;case 32:t+="·";break;default:t+=String.fromCharCode(i)}}return t}(r),Object(ft.a)("span.tm-token-length",void 0,`${r.length} ${1===r.length?"char":"chars"}`))),Object(ft.p)(this._domNode,Object(ft.a)("hr.tokens-inspect-separator",{style:"clear:both"}));const s=1+(i<<1)<t.tokens2.length?this._decodeMetadata(t.tokens2[1+(i<<1)]):null;Object(ft.p)(this._domNode,Object(ft.a)("table.tm-metadata-table",void 0,Object(ft.a)("tbody",void 0,Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"language"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?s.languageIdentifier.language:"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"token type"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?this._tokenTypeToString(s.tokenType):"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"font style"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?this._fontStyleToString(s.fontStyle):"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"foreground"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?Nn.a.Format.CSS.formatHex(s.foreground):"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"background"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?Nn.a.Format.CSS.formatHex(s.background):"-?-")))))),Object(ft.p)(this._domNode,Object(ft.a)("hr.tokens-inspect-separator")),n<t.tokens1.length&&Object(ft.p)(this._domNode,Object(ft.a)("span.tm-token-type",void 0,t.tokens1[n].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){let t=et.C.getColorMap(),n=et.B.getLanguageId(e),i=et.B.getTokenType(e),o=et.B.getFontStyle(e),r=et.B.getForeground(e),s=et.B.getBackground(e);return{languageIdentifier:this._modeService.getLanguageIdentifier(n),tokenType:i,fontStyle:o,foreground:t[r],background:t[s]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),0===t.length&&(t="---"),t}_getTokensAtLine(e){let t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),t,0),i=this._tokenizationSupport.tokenize2(this._model.getLineContent(e),t,0);return{startState:t,tokens1:n.tokens,tokens2:i.tokens,endState:n.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let n=1;n<e;n++){t=this._tokenizationSupport.tokenize(this._model.getLineContent(n),t,0).endState}return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}Ng._ID="editor.contrib.inspectTokensWidget",Object(V.m)(Tg.ID,Tg),Object(V.k)(Lg),Object(we.g)((e,t)=>{const n=e.getColor(ve.F);if(n){let i=e.type===we.b?2:1;t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${i}px solid ${n}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${n}; }`)}const i=e.getColor(ve.E);i&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${i}; }`);const o=e.getColor(ve.G);o&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${o}; }`)});var Ig=n(134),Og=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Dg=function(e,t){return function(n,i){t(n,i,e)}};let Ag=class e{constructor(e){this.quickInputService=e,this.registry=Gh.a.as(Ig.b.Quickaccess)}provide(t){const n=new pe.b;n.add(t.onDidAccept(()=>{const[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})})),n.add(t.onDidChangeValue(t=>{const n=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));n&&n.prefix&&n.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})}));const{editorProviders:i,globalProviders:o}=this.getQuickAccessProviders();return t.items=0===i.length||0===o.length?[...0===i.length?o:i]:[{label:Object(U.a)("globalCommands","global commands"),type:"separator"},...o,{label:Object(U.a)("editorCommands","editor commands"),type:"separator"},...i],n}getQuickAccessProviders(){const t=[],n=[];for(const i of this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)))if(i.prefix!==e.PREFIX)for(const e of i.helpEntries){const o=e.prefix||i.prefix,r=o||"…";(e.needsEditor?n:t).push({prefix:o,label:r,ariaLabel:Object(U.a)("helpPickAriaLabel","{0}, {1}",r,e.description),description:e.description})}return{editorProviders:n,globalProviders:t}}};Ag.PREFIX="?",Ag=Og([Dg(0,Sn.a)],Ag),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:Ag,prefix:"",helpEntries:[{description:ug.e.helpQuickAccessActionLabel,needsEditor:!0}]});class Rg{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var n;const i=new pe.b;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const o=i.add(new pe.d);return o.value=this.doProvide(e,t),i.add(this.onDidActiveTextEditorControlChange(()=>{o.value=void 0,o.value=this.doProvide(e,t)})),i}doProvide(e,t){const n=new pe.b,i=this.activeTextEditorControl;if(i&&this.canProvideWithTextEditor(i)){const o=Object(Rr.a)(i);if(o){let e=Object(Jo.n)(i.saveViewState());n.add(o.onDidChangeCursorPosition(()=>{e=Object(Jo.n)(i.saveViewState())})),n.add(Object(bn.a)(t.onCancellationRequested)(()=>{e&&i===this.activeTextEditorControl&&i.restoreViewState(e)}))}n.add(Object(pe.h)(()=>this.clearDecorations(i))),n.add(this.provideWithTextEditor(i,e,t))}else n.add(this.provideWithoutTextEditor(e,t));return n}canProvideWithTextEditor(e){return!0}gotoLocation(e,t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return Object(Rr.c)(e)?null===(t=e.getModel())||void 0===t?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(e=>{const n=[];this.rangeHighlightDecorationId&&(n.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),n.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const i=[{range:t,options:{className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{overviewRuler:{color:Object(we.h)(_e.s),position:fe.d.Full}}}],[o,r]=e.deltaDecorations(n,i);this.rangeHighlightDecorationId={rangeHighlightId:o,overviewRulerDecorationId:r}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class Mg extends Rg{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=Object(U.a)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,pe.a.None}provideWithTextEditor(e,t,n){const i=new pe.b;i.add(t.onDidAccept(n=>{const[i]=t.selectedItems;if(i){if(!this.isValidLineNumber(e,i.lineNumber))return;this.gotoLocation(e,{range:this.toRange(i.lineNumber,i.column),keyMods:t.keyMods,preserveFocus:n.inBackground}),n.inBackground||t.hide()}}));const o=()=>{const n=this.parsePosition(e,t.value.trim().substr(Mg.PREFIX.length)),i=this.getPickLabel(e,n.lineNumber,n.column);if(t.items=[{lineNumber:n.lineNumber,column:n.column,label:i}],t.ariaLabel=i,!this.isValidLineNumber(e,n.lineNumber))return void this.clearDecorations(e);const o=this.toRange(n.lineNumber,n.column);e.revealRangeInCenter(o,0),this.addDecorations(e,o)};o(),i.add(t.onDidChangeValue(()=>o()));const r=Object(Rr.a)(e);if(r){2===r.getOptions().get(52).renderType&&(r.updateOptions({lineNumbers:"on"}),i.add(Object(pe.h)(()=>r.updateOptions({lineNumbers:"relative"}))))}return i}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const n=t.split(/,|:|#/).map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),i=this.lineCount(e)+1;return{lineNumber:n[0]>0?n[0]:i+n[0],column:n[1]}}getPickLabel(e,t,n){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,n)?Object(U.a)("gotoLineColumnLabel","Go to line {0} and column {1}.",t,n):Object(U.a)("gotoLineLabel","Go to line {0}.",t);const i=e.getPosition()||{lineNumber:1,column:1},o=this.lineCount(e);return o>1?Object(U.a)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",i.lineNumber,i.column,o):Object(U.a)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",i.lineNumber,i.column)}isValidLineNumber(e,t){return!(!t||"number"!=typeof t)&&(t>0&&t<=this.lineCount(e))}isValidColumn(e,t,n){if(!n||"number"!=typeof n)return!1;const i=this.getModel(e);if(!i)return!1;const o={lineNumber:t,column:n};return i.validatePosition(o).equals(o)}lineCount(e){var t,n;return null!==(n=null===(t=this.getModel(e))||void 0===t?void 0:t.getLineCount())&&void 0!==n?n:0}}Mg.PREFIX=":";var Pg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Fg=function(e,t){return function(n,i){t(n,i,e)}};let Wg=class extends Mg{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Lt.b.None}get activeTextEditorControl(){return Object(Jo.n)(this.editorService.getFocusedCodeEditor())}};Wg=Pg([Fg(0,Me.a)],Wg),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:Wg,prefix:Wg.PREFIX,helpEntries:[{description:ug.b.gotoLineActionLabel,needsEditor:!0}]});class zg extends V.b{constructor(){super({id:"editor.action.gotoLine",label:ug.b.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(Sn.a).quickAccess.show(Wg.PREFIX)}}Object(V.k)(zg);const Bg=[void 0,[]];function jg(e,t,n=0,i=0){const o=t;return o.values&&o.values.length>1?function(e,t,n,i){let o=0;const r=[];for(const s of t){const[t,a]=Vg(e,s,n,i);if("number"!=typeof t)return Bg;o+=t,r.push(...a)}return[o,Ug(r)]}(e,o.values,n,i):Vg(e,t,n,i)}function Vg(e,t,n,i){const o=Object(va.d)(t.original,t.originalLowercase,n,e,e.toLowerCase(),i,!0);return o?[o[0],Object(va.c)(o)]:Bg}function Ug(e){const t=e.sort((e,t)=>e.start-t.start),n=[];let i=void 0;for(const e of t)i&&Hg(i,e)?(i.start=Math.min(i.start,e.start),i.end=Math.max(i.end,e.end)):(i=e,n.push(e));return n}function Hg(e,t){return!(e.end<t.start)&&!(t.end<e.start)}function qg(e){"string"!=typeof e&&(e="");const t=e.toLowerCase(),{pathNormalized:n,normalized:i,normalizedLowercase:o}=$g(e),r=n.indexOf(pa.h)>=0;let s=void 0;const a=e.split(" ");if(a.length>1)for(const e of a){const{pathNormalized:t,normalized:n,normalizedLowercase:i}=$g(e);n&&(s||(s=[]),s.push({original:e,originalLowercase:e.toLowerCase(),pathNormalized:t,normalized:n,normalizedLowercase:i}))}return{original:e,originalLowercase:t,pathNormalized:n,normalized:i,normalizedLowercase:o,values:s,containsPathSeparator:r}}function $g(e){let t;t=Ae.i?e.replace(/\//g,pa.h):e.replace(/\\/g,pa.h);const n=Object(Ye.V)(t).replace(/\s/g,"");return{pathNormalized:t,normalized:n,normalizedLowercase:n.toLowerCase()}}function Kg(e){return Array.isArray(e)?qg(e.map(e=>e.original).join(" ")):qg(e.original)}var Gg=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Yg extends Rg{constructor(e=Object.create(null)){super(e),this.options=e,e.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,Object(U.a)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),pe.a.None}provideWithTextEditor(e,t,n){const i=this.getModel(e);return i?et.m.has(i)?this.doProvideWithEditorSymbols(e,i,t,n):this.doProvideWithoutEditorSymbols(e,i,t,n):pe.a.None}doProvideWithoutEditorSymbols(e,t,n,i){const o=new pe.b;return this.provideLabelPick(n,Object(U.a)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(()=>{Gg(this,void 0,void 0,(function*(){(yield this.waitForLanguageSymbolRegistry(t,o))&&!i.isCancellationRequested&&o.add(this.doProvideWithEditorSymbols(e,t,n,i))}))})(),o}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return Gg(this,void 0,void 0,(function*(){if(et.m.has(e))return!0;let n;const i=new Promise(e=>n=e),o=t.add(et.m.onDidChange(()=>{et.m.has(e)&&(o.dispose(),n(!0))}));return t.add(Object(pe.h)(()=>n(!1))),i}))}doProvideWithEditorSymbols(e,t,n,i){const o=new pe.b;o.add(n.onDidAccept(t=>{const[i]=n.selectedItems;i&&i.range&&(this.gotoLocation(e,{range:i.range.selection,keyMods:n.keyMods,preserveFocus:t.inBackground}),t.inBackground||n.hide())})),o.add(n.onDidTriggerItemButton(({item:t})=>{t&&t.range&&(this.gotoLocation(e,{range:t.range.selection,keyMods:n.keyMods,forceSideBySide:!0}),n.hide())}));const r=this.getDocumentSymbols(t,!0,i);let s=void 0;const a=()=>Gg(this,void 0,void 0,(function*(){null==s||s.dispose(!0),n.busy=!1,s=new Xe.b(i),n.busy=!0;try{const e=qg(n.value.substr(Yg.PREFIX.length).trim()),t=yield this.doGetSymbolPicks(r,e,void 0,s.token);if(i.isCancellationRequested)return;t.length>0?n.items=t:e.original.length>0?this.provideLabelPick(n,Object(U.a)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(n,Object(U.a)("noSymbolResults","No editor symbols"))}finally{i.isCancellationRequested||(n.busy=!1)}}));o.add(n.onDidChangeValue(()=>a())),a();let l=!0;return o.add(n.onDidChangeActive(()=>{const[t]=n.activeItems;if(t&&t.range){if(l)return void(l=!1);e.revealRangeInCenter(t.range.selection,0),this.addDecorations(e,t.range.decoration)}})),o}doGetSymbolPicks(e,t,n,i){return Gg(this,void 0,void 0,(function*(){const o=yield e;if(i.isCancellationRequested)return[];const r=0===t.original.indexOf(Yg.SCOPE_PREFIX),s=r?1:0;let a,l;t.values&&t.values.length>1?(a=Kg(t.values[0]),l=Kg(t.values.slice(1))):a=t;const c=[];for(let e=0;e<o.length;e++){const i=o[e],r=Object(Ye.W)(i.name),d=`$(symbol-${et.A.toString(i.kind)||"property"}) ${r}`,h=d.length-r.length;let u=i.containerName;(null==n?void 0:n.extraContainerLabel)&&(u=u?`${n.extraContainerLabel} • ${u}`:n.extraContainerLabel);let p=void 0,m=void 0,g=void 0,f=void 0;if(t.original.length>s){let e=!1;if(a!==t&&([p,m]=jg(d,Object.assign(Object.assign({},t),{values:void 0}),s,h),"number"==typeof p&&(e=!0)),"number"!=typeof p&&([p,m]=jg(d,a,s,h),"number"!=typeof p))continue;if(!e&&l){if(u&&l.original.length>0&&([g,f]=jg(u,l)),"number"!=typeof g)continue;"number"==typeof p&&(p+=g)}}const b=i.tags&&i.tags.indexOf(1)>=0;c.push({index:e,kind:i.kind,score:p,label:d,ariaLabel:r,description:u,highlights:b?void 0:{label:m,description:f},range:{selection:ge.a.collapseToStart(i.selectionRange),decoration:i.range},strikethrough:b,buttons:(()=>{var e,t;const n=(null===(e=this.options)||void 0===e?void 0:e.openSideBySideDirection)?null===(t=this.options)||void 0===t?void 0:t.openSideBySideDirection():void 0;if(n)return[{iconClass:"right"===n?Y.a.splitHorizontal.classNames:Y.a.splitVertical.classNames,tooltip:"right"===n?Object(U.a)("openToSide","Open to the Side"):Object(U.a)("openToBottom","Open to the Bottom")}]})()})}const d=c.sort((e,t)=>r?this.compareByKindAndScore(e,t):this.compareByScore(e,t));let h=[];if(r){let e=void 0,t=void 0,n=0;function u(){t&&"number"==typeof e&&n>0&&(t.label=Object(Ye.x)(Xg[e]||Zg,n))}for(const i of d)e!==i.kind?(u(),e=i.kind,n=1,t={type:"separator"},h.push(t)):n++,h.push(i);u()}else d.length>0&&(h=[{label:Object(U.a)("symbols","symbols ({0})",c.length),type:"separator"},...d]);return h}))}compareByScore(e,t){if("number"!=typeof e.score&&"number"==typeof t.score)return 1;if("number"==typeof e.score&&"number"!=typeof t.score)return-1;if("number"==typeof e.score&&"number"==typeof t.score){if(e.score>t.score)return-1;if(e.score<t.score)return 1}return e.index<t.index?-1:e.index>t.index?1:0}compareByKindAndScore(e,t){const n=Xg[e.kind]||Zg,i=Xg[t.kind]||Zg,o=n.localeCompare(i);return 0===o?this.compareByScore(e,t):o}getDocumentSymbols(e,t,n){return Gg(this,void 0,void 0,(function*(){const i=yield ss.create(e,n);if(n.isCancellationRequested)return[];const o=[];for(const e of i.children.values())e instanceof os?o.push(e.symbol):o.push(...Wr.a.map(e.children.values(),e=>e.symbol));let r=[];return t?this.flattenDocumentSymbols(r,o,""):r=o,r.sort((e,t)=>ge.a.compareRangesUsingStarts(e.range,t.range))}))}flattenDocumentSymbols(e,t,n){for(const i of t)e.push({kind:i.kind,tags:i.tags,name:i.name,detail:i.detail,containerName:i.containerName||n,range:i.range,selectionRange:i.selectionRange,children:void 0}),i.children&&this.flattenDocumentSymbols(e,i.children,i.name)}}Yg.PREFIX="@",Yg.SCOPE_PREFIX=":",Yg.PREFIX_BY_CATEGORY=`${Yg.PREFIX}${Yg.SCOPE_PREFIX}`;const Zg=Object(U.a)("property","properties ({0})"),Xg={5:Object(U.a)("method","methods ({0})"),11:Object(U.a)("function","functions ({0})"),8:Object(U.a)("_constructor","constructors ({0})"),12:Object(U.a)("variable","variables ({0})"),4:Object(U.a)("class","classes ({0})"),22:Object(U.a)("struct","structs ({0})"),23:Object(U.a)("event","events ({0})"),24:Object(U.a)("operator","operators ({0})"),10:Object(U.a)("interface","interfaces ({0})"),2:Object(U.a)("namespace","namespaces ({0})"),3:Object(U.a)("package","packages ({0})"),25:Object(U.a)("typeParameter","type parameters ({0})"),1:Object(U.a)("modules","modules ({0})"),6:Object(U.a)("property","properties ({0})"),9:Object(U.a)("enum","enumerations ({0})"),21:Object(U.a)("enumMember","enumeration members ({0})"),14:Object(U.a)("string","strings ({0})"),0:Object(U.a)("file","files ({0})"),17:Object(U.a)("array","arrays ({0})"),15:Object(U.a)("number","numbers ({0})"),16:Object(U.a)("boolean","booleans ({0})"),18:Object(U.a)("object","objects ({0})"),19:Object(U.a)("key","keys ({0})"),7:Object(U.a)("field","fields ({0})"),13:Object(U.a)("constant","constants ({0})")};var Qg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Jg=function(e,t){return function(n,i){t(n,i,e)}};let ef=class extends Yg{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Lt.b.None}get activeTextEditorControl(){return Object(Jo.n)(this.editorService.getFocusedCodeEditor())}};ef=Qg([Jg(0,Me.a)],ef),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:ef,prefix:Yg.PREFIX,helpEntries:[{description:ug.f.quickOutlineActionLabel,prefix:Yg.PREFIX,needsEditor:!0},{description:ug.f.quickOutlineByCategoryActionLabel,prefix:Yg.PREFIX_BY_CATEGORY,needsEditor:!0}]});class tf extends V.b{constructor(){super({id:"editor.action.quickOutline",label:ug.f.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:H.a.hasDocumentSymbolProvider,kbOpts:{kbExpr:H.a.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(Sn.a).quickAccess.show(Yg.PREFIX)}}Object(V.k)(tf);var nf,of=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function rf(e){const t=e;return Array.isArray(t.items)}!function(e){e[e.NO_ACTION=0]="NO_ACTION",e[e.CLOSE_PICKER=1]="CLOSE_PICKER",e[e.REFRESH_PICKER=2]="REFRESH_PICKER",e[e.REMOVE_ITEM=3]="REMOVE_ITEM"}(nf||(nf={}));class sf extends pe.a{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var n;const i=new pe.b;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let o=void 0;const r=i.add(new pe.d),s=()=>of(this,void 0,void 0,(function*(){const n=r.value=new pe.b;null==o||o.dispose(!0),e.busy=!1,o=new Xe.b(t);const i=o.token,s=e.value.substr(this.prefix.length).trim(),a=this.getPicks(s,n,i),l=(t,n)=>{var i;let o,r=void 0;if(rf(t)?(o=t.items,r=t.active):o=t,0===o.length){if(n)return!1;s.length>0&&(null===(i=this.options)||void 0===i?void 0:i.noResultsPick)&&(o=[this.options.noResultsPick])}return e.items=o,r&&(e.activeItems=[r]),!0};if(null===a);else if(function(e){const t=e;return!!t.picks&&t.additionalPicks instanceof Promise}(a)){let t=!1,n=!1;yield Promise.all([(()=>of(this,void 0,void 0,(function*(){yield Object(ue.l)(sf.FAST_PICKS_RACE_DELAY),i.isCancellationRequested||n||(t=l(a.picks,!0))})))(),(()=>of(this,void 0,void 0,(function*(){e.busy=!0;try{const o=yield a.additionalPicks;if(i.isCancellationRequested)return;let r,s,c=void 0;rf(a.picks)?(r=a.picks.items,c=a.picks.active):r=a.picks;let d=void 0;if(rf(o)?(s=o.items,d=o.active):s=o,s.length>0||!t){let t=void 0;if(!c&&!d){const n=e.activeItems[0];n&&-1!==r.indexOf(n)&&(t=n)}l({items:[...r,...s],active:c||d||t})}}finally{i.isCancellationRequested||(e.busy=!1),n=!0}})))()])}else if(a instanceof Promise){e.busy=!0;try{const t=yield a;if(i.isCancellationRequested)return;l(t)}finally{i.isCancellationRequested||(e.busy=!1)}}else l(a)}));return i.add(e.onDidChangeValue(()=>s())),s(),i.add(e.onDidAccept(t=>{const[n]=e.selectedItems;"function"==typeof(null==n?void 0:n.accept)&&(t.inBackground||e.hide(),n.accept(e.keyMods,t))})),i.add(e.onDidTriggerItemButton(({button:n,item:i})=>of(this,void 0,void 0,(function*(){var o,r;if("function"==typeof i.trigger){const a=null!==(r=null===(o=i.buttons)||void 0===o?void 0:o.indexOf(n))&&void 0!==r?r:-1;if(a>=0){const n=i.trigger(a,e.keyMods),o="number"==typeof n?n:yield n;if(t.isCancellationRequested)return;switch(o){case nf.NO_ACTION:break;case nf.CLOSE_PICKER:e.hide();break;case nf.REFRESH_PICKER:s();break;case nf.REMOVE_ITEM:const t=e.items.indexOf(i);if(-1!==t){const n=e.items.slice();n.splice(t,1),e.items=n}}}}})))),i}}function af(e,t){return t&&(e.stack||e.stacktrace)?U.a("stackTrace.format","{0}: {1}",cf(e),lf(e.stack)||lf(e.stacktrace)):cf(e)}function lf(e){return Array.isArray(e)?e.join("\n"):e}function cf(e){return"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?U.a("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||U.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function df(e=null,t=!1){if(!e)return U.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(e)){const n=G.d(e),i=df(n[0],t);return n.length>1?U.a("error.moreErrors","{0} ({1} errors in total)",i,n.length):i}if(Jo.j(e))return e;if(e.detail){const n=e.detail;if(n.error)return af(n.error,t);if(n.exception)return af(n.exception,t)}return e.stack?af(e,t):e.message?e.message:U.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}sf.FAST_PICKS_RACE_DELAY=200;var hf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},uf=function(e,t){return function(n,i){t(n,i,e)}},pf=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let mf=class e extends sf{constructor(t,n,i,o,r,s){super(e.PREFIX,t),this.options=t,this.instantiationService=n,this.keybindingService=i,this.commandService=o,this.telemetryService=r,this.notificationService=s,this.commandsHistory=this._register(this.instantiationService.createInstance(gf))}getPicks(t,n,i){return pf(this,void 0,void 0,(function*(){const o=yield this.getCommandPicks(n,i);if(i.isCancellationRequested)return[];const r=[];for(const n of o){const i=Object(Jo.n)(e.WORD_FILTER(t,n.label)),o=n.commandAlias?Object(Jo.n)(e.WORD_FILTER(t,n.commandAlias)):void 0;i||o?(n.highlights={label:i,detail:this.options.showAlias?o:void 0},r.push(n)):t===n.commandId&&r.push(n)}const s=new Map;for(const e of r){const t=s.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):s.set(e.label,e)}r.sort((e,t)=>{const n=this.commandsHistory.peek(e.commandId),i=this.commandsHistory.peek(t.commandId);return n&&i?n>i?-1:1:n?-1:i?1:e.label.localeCompare(t.label)});const a=[];let l=!1;for(let e=0;e<r.length;e++){const t=r[e],n=this.keybindingService.lookupKeybinding(t.commandId),i=n?Object(U.a)("commandPickAriaLabelWithKeybinding","{0}, {1}",t.label,n.getAriaLabel()):t.label;0===e&&this.commandsHistory.peek(t.commandId)&&(a.push({type:"separator",label:Object(U.a)("recentlyUsed","recently used")}),l=!0),0!==e&&l&&!this.commandsHistory.peek(t.commandId)&&(a.push({type:"separator",label:Object(U.a)("morecCommands","other commands")}),l=!1),a.push(Object.assign(Object.assign({},t),{ariaLabel:i,detail:this.options.showAlias&&t.commandAlias!==t.label?t.commandAlias:void 0,keybinding:n,accept:()=>pf(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){Object(Z.d)(e)||this.notificationService.error(Object(U.a)("canNotRun","Command '{0}' resulted in an error ({1})",t.label,df(e)))}}))}))}return a}))}};mf.PREFIX=">",mf.WORD_FILTER=Object(va.j)(va.h,va.i,va.f),mf=hf([uf(1,gt.a),uf(2,vt.a),uf(3,Ft.b),uf(4,Bt.a),uf(5,zt.a)],mf);let gf=class e extends pe.a{constructor(t,n,i){super(),this.storageService=t,this.configurationService=n,this.configuredCommandsHistoryLength=0,i.registerStorageKey({key:e.PREF_KEY_CACHE,version:1}),i.registerStorageKey({key:e.PREF_KEY_COUNTER,version:1}),this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){const t=this.storageService.get(e.PREF_KEY_CACHE,0);let n;if(t)try{n=JSON.parse(t)}catch(e){}const i=e.cache=new gn.a(this.configuredCommandsHistoryLength,1);if(n){let e;e=n.usesLRU?n.entries:n.entries.sort((e,t)=>e.value-t.value),e.forEach(e=>i.set(e.key,e.value))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var n;return null===(n=e.cache)||void 0===n?void 0:n.peek(t)}static saveState(t){if(!e.cache)return;const n={usesLRU:!0,entries:[]};e.cache.forEach((e,t)=>n.entries.push({key:t,value:e})),t.store(e.PREF_KEY_CACHE,JSON.stringify(n),0),t.store(e.PREF_KEY_COUNTER,e.counter,0)}static getConfiguredCommandHistoryLength(t){var n,i;const o=null===(i=null===(n=t.getValue().workbench)||void 0===n?void 0:n.commandPalette)||void 0===i?void 0:i.history;return"number"==typeof o?o:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};gf.DEFAULT_COMMANDS_HISTORY_LENGTH=50,gf.PREF_KEY_CACHE="commandPalette.mru.cache",gf.PREF_KEY_COUNTER="commandPalette.mru.counter",gf.counter=1,gf=hf([uf(0,fn.a),uf(1,On.a),uf(2,Wo.a)],gf);class ff extends mf{constructor(e,t,n,i,o,r){super(e,t,n,i,o,r)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const n of e.getSupportedActions())t.push({commandId:n.id,commandAlias:n.alias,label:Object(Y.h)(n.label)||n.id});return t}}var bf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},_f=function(e,t){return function(n,i){t(n,i,e)}},vf=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let wf=class extends ff{constructor(e,t,n,i,o,r){super({showAlias:!1},e,n,i,o,r),this.codeEditorService=t}get activeTextEditorControl(){return Object(Jo.n)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return vf(this,void 0,void 0,(function*(){return this.getCodeEditorCommandPicks()}))}};wf=bf([_f(0,gt.a),_f(1,Me.a),_f(2,vt.a),_f(3,Ft.b),_f(4,Bt.a),_f(5,zt.a)],wf),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:wf,prefix:wf.PREFIX,helpEntries:[{description:ug.d.quickCommandHelp,needsEditor:!0}]});class yf extends V.b{constructor(){super({id:"editor.action.quickCommand",label:ug.d.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(Sn.a).quickAccess.show(wf.PREFIX)}}Object(V.k)(yf);var Cf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},xf=function(e,t){return function(n,i){t(n,i,e)}};let Sf=class extends Xa{constructor(e,t,n,i,o,r,s){super(!0,e,t,n,i,o,r,s)}};Sf=Cf([xf(1,K.b),xf(2,Me.a),xf(3,zt.a),xf(4,gt.a),xf(5,fn.a),xf(6,On.a)],Sf),Object(V.m)(Xa.ID,Sf);class kf extends V.b{constructor(){super({id:"editor.action.toggleHighContrast",label:ug.i.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const n=e.get(Sg.a);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getColorTheme().themeName,n.setTheme("hc-black"))}}Object(V.k)(kf)},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},o={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","node","nodes","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","non-unicode","non-unique","no-scrolling","no-sign","no-title","no-topofpage","no-zero","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","condense","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","insert","ipow","line_exists","line_index","lines","log","log10","match","matches","nmax","nmin","numofchar","repeat","replace","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","translate","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","table","hashed","index","sorted","standard","accp","char","clnt","cuky","curr","dats","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","tims","unit","df16_scl","df34_scl","prec","varc","abap_bool","space","me","syst","sy","screen"],operators:[" +"," -","/","*","**","div","mod","=","#","@","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","and","equiv","not","or"," < "," > ","<=",">=","<>","><","=<","=>","between","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","in","le","lt","na","nb","ne","np","ns"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_$][\w-$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@operators":"operator","@default":"identifier"}}],[/<[\w]+>/,"identifier"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},o=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach((function(e){o.push(e),o.push(e.toUpperCase()),o.push(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e))}));var r={defaultToken:"",tokenPostfix:".apex",keywords:o,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","begin","Bytes","Crypto","Current","else","end","failwith","false","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","Set","set","sender","source","String","then","true","type","with"],typeKeywords:["int","unit","string","tz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},o={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={brackets:[],autoClosingPairs:[],surroundingPairs:[]},o={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".css",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},o={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},o={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var i=n(95),o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:i.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.a.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var i=n(95),o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.a.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},s={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},o={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return r}));var i=n(142),o=i.conf,r={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:i.language.operators,symbols:i.language.symbols,escapes:i.language.escapes,digits:i.language.digits,octaldigits:i.language.octaldigits,binarydigits:i.language.binarydigits,hexdigits:i.language.hexdigits,regexpctl:i.language.regexpctl,regexpesc:i.language.regexpesc,tokenizer:i.language.tokenizer}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},o={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},o={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=><!~?:&|+\-*\/\^%]+/,tokenizer:{root:[[/^(\s*)(comment:?(?:\s.*|))$/,["","comment"]],[/"/,{token:"identifier.quote",bracket:"@open",next:"@quoted_identifier"}],["LEX$",{token:"keyword",bracket:"@open",next:"@identifier_until_period"}],["LEXON",{token:"keyword",bracket:"@open",next:"@semver"}],[":",{token:"delimiter",bracket:"@open",next:"@identifier_until_period"}],[/[a-z_$][\w$]*/,{cases:{"@operators":"operator","@typeKeywords":"keyword.type","@keywords":"keyword","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},o={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ACCOUNT","ACTION","ADD","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCHANGE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GRANT","GRANTS","GROUP","GROUP_REPLICATION","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISOLATION","ISSUER","ITERATE","JOIN","JSON","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_VERSION","MASTER_USER","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NEVER","NEW","NEXT","NO","NODEGROUP","NONBLOCKING","NONE","NO_WAIT","NO_WRITE_TO_BINLOG","NUMBER","NUMERIC","NVARCHAR","OFFSET","OLD_PASSWORD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OPTIONS","OR","ORDER","OUT","OUTER","OUTFILE","OWNER","PACK_KEYS","PAGE","PARSER","PARSE_GCOL_EXPR","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PROCEDURE","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANGE","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","REDOFILE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","RESET","RESIGNAL","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNS","REVERSE","REVOKE","RIGHT","RLIKE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VIEW","VIRTUAL","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CURDATE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAST_INSERT_ID","LCASE","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROUND","ROW_COUNT","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LongFromGeoHash","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SymDifference","ST_Touches","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},o={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*</,{token:"string.delim",switchTo:"@qstring.<.>"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*</,{token:"regexp.delim",switchTo:"@qregexp.<.>"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*</,{token:"string.delim",switchTo:"@qqstring.<.>"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["A","ABORT","ABS","ABSENT","ABSOLUTE","ACCESS","ACCORDING","ACTION","ADA","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALLOCATE","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARE","ARRAY","ARRAY_AGG","ARRAY_MAX_CARDINALITY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTRIBUTE","ATTRIBUTES","AUTHORIZATION","AVG","BACKWARD","BASE64","BEFORE","BEGIN","BEGIN_FRAME","BEGIN_PARTITION","BERNOULLI","BETWEEN","BIGINT","BINARY","BIT","BIT_LENGTH","BLOB","BLOCKED","BOM","BOOLEAN","BOTH","BREADTH","BY","C","CACHE","CALL","CALLED","CARDINALITY","CASCADE","CASCADED","CASE","CAST","CATALOG","CATALOG_NAME","CEIL","CEILING","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHARACTERS","CHARACTER_LENGTH","CHARACTER_SET_CATALOG","CHARACTER_SET_NAME","CHARACTER_SET_SCHEMA","CHAR_LENGTH","CHECK","CHECKPOINT","CLASS","CLASS_ORIGIN","CLOB","CLOSE","CLUSTER","COALESCE","COBOL","COLLATE","COLLATION","COLLATION_CATALOG","COLLATION_NAME","COLLATION_SCHEMA","COLLECT","COLUMN","COLUMNS","COLUMN_NAME","COMMAND_FUNCTION","COMMAND_FUNCTION_CODE","COMMENT","COMMENTS","COMMIT","COMMITTED","CONCURRENTLY","CONDITION","CONDITION_NUMBER","CONFIGURATION","CONFLICT","CONNECT","CONNECTION","CONNECTION_NAME","CONSTRAINT","CONSTRAINTS","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONSTRUCTOR","CONTAINS","CONTENT","CONTINUE","CONTROL","CONVERSION","CONVERT","COPY","CORR","CORRESPONDING","COST","COUNT","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CSV","CUBE","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_ROW","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATALINK","DATE","DATETIME_INTERVAL_CODE","DATETIME_INTERVAL_PRECISION","DAY","DB","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DEGREE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DEPENDS","DEPTH","DEREF","DERIVED","DESC","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DISABLE","DISCARD","DISCONNECT","DISPATCH","DISTINCT","DLNEWCOPY","DLPREVIOUSCOPY","DLURLCOMPLETE","DLURLCOMPLETEONLY","DLURLCOMPLETEWRITE","DLURLPATH","DLURLPATHONLY","DLURLPATHWRITE","DLURLSCHEME","DLURLSERVER","DLVALUE","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","DYNAMIC","DYNAMIC_FUNCTION","DYNAMIC_FUNCTION_CODE","EACH","ELEMENT","ELSE","EMPTY","ENABLE","ENCODING","ENCRYPTED","END","END-EXEC","END_FRAME","END_PARTITION","ENFORCED","ENUM","EQUALS","ESCAPE","EVENT","EVERY","EXCEPT","EXCEPTION","EXCLUDE","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXP","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILE","FILTER","FINAL","FIRST","FIRST_VALUE","FLAG","FLOAT","FLOOR","FOLLOWING","FOR","FORCE","FOREIGN","FORTRAN","FORWARD","FOUND","FRAME_ROW","FREE","FREEZE","FROM","FS","FULL","FUNCTION","FUNCTIONS","FUSION","G","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HEX","HIERARCHY","HOLD","HOUR","ID","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMEDIATELY","IMMUTABLE","IMPLEMENTATION","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INDENT","INDEX","INDEXES","INDICATOR","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTANCE","INSTANTIABLE","INSTEAD","INT","INTEGER","INTEGRITY","INTERSECT","INTERSECTION","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","K","KEY","KEY_MEMBER","KEY_TYPE","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAKPROOF","LEAST","LEFT","LENGTH","LEVEL","LIBRARY","LIKE","LIKE_REGEX","LIMIT","LINK","LISTEN","LN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKED","LOGGED","LOWER","M","MAP","MAPPING","MATCH","MATCHED","MATERIALIZED","MAX","MAXVALUE","MAX_CARDINALITY","MEMBER","MERGE","MESSAGE_LENGTH","MESSAGE_OCTET_LENGTH","MESSAGE_TEXT","METHOD","MIN","MINUTE","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MORE","MOVE","MULTISET","MUMPS","NAME","NAMES","NAMESPACE","NATIONAL","NATURAL","NCHAR","NCLOB","NESTING","NEW","NEXT","NFC","NFD","NFKC","NFKD","NIL","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NTH_VALUE","NTILE","NULL","NULLABLE","NULLIF","NULLS","NUMBER","NUMERIC","OBJECT","OCCURRENCES_REGEX","OCTETS","OCTET_LENGTH","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPEN","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDERING","ORDINALITY","OTHERS","OUT","OUTER","OUTPUT","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","P","PAD","PARALLEL","PARAMETER","PARAMETER_MODE","PARAMETER_NAME","PARAMETER_ORDINAL_POSITION","PARAMETER_SPECIFIC_CATALOG","PARAMETER_SPECIFIC_NAME","PARAMETER_SPECIFIC_SCHEMA","PARSER","PARTIAL","PARTITION","PASCAL","PASSING","PASSTHROUGH","PASSWORD","PATH","PERCENT","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PERIOD","PERMISSION","PLACING","PLANS","PLI","POLICY","PORTION","POSITION","POSITION_REGEX","POWER","PRECEDES","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROGRAM","PUBLIC","QUOTE","RANGE","RANK","READ","READS","REAL","REASSIGN","RECHECK","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","REQUIRING","RESET","RESPECT","RESTART","RESTORE","RESTRICT","RESULT","RETURN","RETURNED_CARDINALITY","RETURNED_LENGTH","RETURNED_OCTET_LENGTH","RETURNED_SQLSTATE","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINE_CATALOG","ROUTINE_NAME","ROUTINE_SCHEMA","ROW","ROWS","ROW_COUNT","ROW_NUMBER","RULE","SAVEPOINT","SCALE","SCHEMA","SCHEMA_NAME","SCOPE","SCOPE_CATALOG","SCOPE_NAME","SCOPE_SCHEMA","SCROLL","SEARCH","SECOND","SECTION","SECURITY","SELECT","SELECTIVE","SELF","SENSITIVE","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SERVER_NAME","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SIZE","SKIP","SMALLINT","SNAPSHOT","SOME","SOURCE","SPACE","SPECIFIC","SPECIFICTYPE","SPECIFIC_NAME","SQL","SQLCODE","SQLERROR","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQRT","STABLE","STANDALONE","START","STATE","STATEMENT","STATIC","STATISTICS","STDDEV_POP","STDDEV_SAMP","STDIN","STDOUT","STORAGE","STRICT","STRIP","STRUCTURE","STYLE","SUBCLASS_ORIGIN","SUBMULTISET","SUBSTRING","SUBSTRING_REGEX","SUCCEEDS","SUM","SYMMETRIC","SYSID","SYSTEM","SYSTEM_TIME","SYSTEM_USER","T","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TABLE_NAME","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOKEN","TOP_LEVEL_COUNT","TRAILING","TRANSACTION","TRANSACTIONS_COMMITTED","TRANSACTIONS_ROLLED_BACK","TRANSACTION_ACTIVE","TRANSFORM","TRANSFORMS","TRANSLATE","TRANSLATE_REGEX","TRANSLATION","TREAT","TRIGGER","TRIGGER_CATALOG","TRIGGER_NAME","TRIGGER_SCHEMA","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNDER","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLINK","UNLISTEN","UNLOGGED","UNNAMED","UNNEST","UNTIL","UNTYPED","UPDATE","UPPER","URI","USAGE","USER","USER_DEFINED_TYPE_CATALOG","USER_DEFINED_TYPE_CODE","USER_DEFINED_TYPE_NAME","USER_DEFINED_TYPE_SCHEMA","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VALUE_OF","VARBINARY","VARCHAR","VARIADIC","VARYING","VAR_POP","VAR_SAMP","VERBOSE","VERSION","VERSIONING","VIEW","VIEWS","VOLATILE","WHEN","WHENEVER","WHERE","WHITESPACE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLAGG","XMLATTRIBUTES","XMLBINARY","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDECLARATION","XMLDOCUMENT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLITERATE","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSCHEMA","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","YEAR","YES","ZONE"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acos","acosd","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","atan","atan2","atan2d","atand","avg","bit","bit_and","bit_length","bit_or","bool_and","bool_or","bound_box","box","brin_summarize_new_values","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","date_part","date_trunc","decode","degrees","dense_rank","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","family","first_value","floor","format","format_type","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lead","least","left","length","line","ln","localtime","localtimestamp","log","lower","lower_inc","lower_inf","lpad","lseg","ltrim","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","max","md5","min","mod","mode","netmask","network","nextval","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_merge","rank","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","shobj_description","sign","sin","sind","split_part","sprintf","sqrt","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","strip","strpos","substr","substring","sum","table_to_xml","table_to_xml_and_xmlschema","tan","tand","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},o={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/\.@symbolic+/,action:{token:"identifier.sym"}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:"number.float"}},{regex:/\.@digit+/,action:{token:"number.float"}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:"keyword.dlr"},"@default":{token:"namespace"}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:"keyword.srp"},"@default":{token:"identifier"}}}},{regex:/%\(/,action:{token:"delimiter.parenthesis"}},{regex:/^%{(#|\^|\$)?/,action:{token:"keyword",next:"@lexing_EXTCODE",nextEmbedded:"text/javascript"}},{regex:/^%}/,action:{token:"keyword"}},{regex:/'\(/,action:{token:"delimiter.parenthesis"}},{regex:/'\[/,action:{token:"delimiter.bracket"}},{regex:/'\{/,action:{token:"delimiter.brace"}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,["string","string.escape","string"]],[/'[^\\']'/,"string"],[/"/,"string.quote","@lexing_DQUOTE"],{regex:/`\(/,action:"@brackets"},{regex:/\\/,action:{token:"punctuation"}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:"keyword"}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:"keyword"},"@keywords_types":{token:"type"},"@default":{token:"identifier"}}}},{regex:/\/\/\/\//,action:{token:"comment",next:"@lexing_COMMENT_rest"}},{regex:/\/\/.*$/,action:{token:"comment"}},{regex:/\/\*/,action:{token:"comment",next:"@lexing_COMMENT_block_c"}},{regex:/-<|=</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/@symbolic+/,action:{cases:{"@operators":"keyword","@default":"operator"}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:"number.float"}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:"number.hex"}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:"number.octal"}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:"number.float"}},{regex:/@digit@digitseq0@INTSP*/,action:{token:"number.decimal"}},{regex:/@digit+@INTSP*/,action:{token:"number"}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,"comment"],[/\(\*/,"comment","@push"],[/\(\*/,"comment.invalid"],[/\*\)/,"comment","@pop"],[/\*/,"comment"]],lexing_COMMENT_block_c:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],lexing_COMMENT_rest:[[/$/,"comment","@pop"],[/.*/,"comment"]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:"type.effect"},"@default":{token:"identifier"}}}},{regex:/,/,action:{token:"punctuation"}},{regex:/>/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},o={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\-*\/\^;\.,]+/,escapes:/`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\w-]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/^:\w*/,"metatag"],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,"variable"],[/<#/,"comment","@comment"],[/#.*$/,"comment"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/\@"/,"string",'@herestring."'],[/\@'/,"string","@herestring.'"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/`./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:"variable",next:"@popall"},"@default":{token:"string",next:"@popall"}}}],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^\$`]+/,"string"],[/@escapes/,"string.escape"],[/`./,"string.escape.invalid"],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}]],comment:[[/[^#\.]+/,"comment"],[/#>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},o={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return r}));var i=n(95),o={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:i.a.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".r",roxygen:["@param","@return","@name","@rdname","@examples","@include","@docType","@S3method","@TODO","@aliases","@alias","@assignee","@author","@callGraphDepth","@callGraph","@callGraphPrimitives","@concept","@exportClass","@exportMethod","@exportPattern","@export","@formals","@format","@importClassesFrom","@importFrom","@importMethodsFrom","@import","@keywords","@method","@nord","@note","@references","@seealso","@setClass","@slot","@source","@title","@usage"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN ","NA_integer_","NA_real_","NA_complex_","NA_character_ ","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var i=n(95),o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:i.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.a.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},o={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,alphanumericsplus:/[A-Za-z0-9-_+:.]/,simpleRefNameWithoutBq:/(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefName(?:\s@simpleRefName)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},o={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,["white",{cases:{"for|until|while":{token:"keyword.$2",next:"@dodecl.$2"},"@declarations":{token:"keyword.$2",next:"@root.$2"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:"keyword.$0x",next:"@modifier.$0x"},for:{token:"keyword.$2",next:"@dodecl.$2"},"@linedecls":{token:"keyword.$0",next:"@root.$0"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],[/[A-Z][\w]*[!?=]?/,"constructor.identifier"],[/\$[\w]*/,"global.constant"],[/@[\w]*/,"namespace.instance.identifier"],[/@@[\w]*/,"namespace.class.identifier"],[/<<[-~](@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/[ \t\r\n]+<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/^<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],{include:"@whitespace"},[/"/,{token:"string.d.delim",next:'@dstring.d."'}],[/'/,{token:"string.sq.delim",next:"@sstring.sq"}],[/%([rsqxwW]|Q?)/,{token:"@rematch",next:"pstring"}],[/`/,{token:"string.x.delim",next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,"string.s"],[/:"/,{token:"string.s.delim",next:'@dstring.s."'}],[/:'/,{token:"string.s.delim",next:"@sstring.s"}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:"regexp.delim",next:"@regexp"}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@keywordops":"keyword","@operators":"operator","@default":""}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/0[dD]@decpart/,"number"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:"number.float","@default":"number"}}]],dodecl:[[/^/,{token:"",switchTo:"@root.$S2"}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},do:{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],modifier:[[/^/,"","@pop"],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"then|else|elsif|do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],sstring:[[/[^\\']+/,"string.$S2"],[/\\\\|\\'|\\$/,"string.$S2.escape"],[/\\./,"string.$S2.invalid"],[/'/,{token:"string.$S2.delim",next:"@pop"}]],dstring:[[/[^\\`"#]+/,"string.$S2"],[/#/,"string.$S2.escape","@interpolated"],[/\\$/,"string.$S2.escape"],[/@escapes/,"string.$S2.escape"],[/\\./,"string.$S2.escape.invalid"],[/[`"]/,{cases:{"$#==$S3":{token:"string.$S2.delim",next:"@pop"},"@default":"string.$S2"}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":["string.heredoc",{token:"string.heredoc.delimiter",next:"@pop"}],"@default":["string.heredoc","string.heredoc"]}}],[/.*/,"string.heredoc"]],interpolated:[[/\$\w*/,"global.constant","@pop"],[/@\w*/,"namespace.class.identifier","@pop"],[/@@\w*/,"namespace.instance.identifier","@pop"],[/[{]/,{token:"string.escape.curly",switchTo:"@interpolated_compound"}],["","","@pop"]],interpolated_compound:[[/[}]/,{token:"string.escape.curly",next:"@pop"}],{include:"@root"}],pregexp:[{include:"@whitespace"},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:"regexp.delim",next:"@pop"},"$#==$S2":{token:"regexp.delim",next:"@push"},"~[)}\\]]":"@brackets.regexp.escape.control","~@regexpctl":"regexp.escape.control","@default":"regexp"}}],{include:"@regexcontrol"}],regexp:[{include:"@regexcontrol"},[/[^\\\/]/,"regexp"],["/[ixmp]*",{token:"regexp.delim"},"@pop"]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,["@brackets.regexp.escape.control","regexp.escape.control","@brackets.regexp.escape.control"]],[/(\[)(\^?)/,["@brackets.regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?[:=!])/,["@brackets.regexp.escape.control","regexp.escape.control"]],[/\(\?#/,{token:"regexp.escape.control",next:"@regexpcomment"}],[/[()]/,"@brackets.regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/#/,"regexp.escape","@interpolated"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"@brackets.regexp.escape.control","@pop"]],regexpcomment:[[/[^)]+/,"comment"],[/\)/,{token:"regexp.escape.control",next:"@pop"}]],pstring:[[/%([qws])\(/,{token:"string.$1.delim",switchTo:"@qstring.$1.(.)"}],[/%([qws])\[/,{token:"string.$1.delim",switchTo:"@qstring.$1.[.]"}],[/%([qws])\{/,{token:"string.$1.delim",switchTo:"@qstring.$1.{.}"}],[/%([qws])</,{token:"string.$1.delim",switchTo:"@qstring.$1.<.>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r</,{token:"regexp.delim",switchTo:"@pregexp.<.>"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)</,{token:"string.$1.delim",switchTo:"@qqstring.$1.<.>"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},o={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},o={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawstring"}],[/\bs"""/,{token:"string.quote",bracket:"@open",next:"@sstringt"}],[/\bs"/,{token:"string.quote",bracket:"@open",next:"@sstring"}],[/\bf""""/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring"}],[/"""/,{token:"string.quote",bracket:"@open",next:"@stringt"}],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/0[xX](@hexdigits)[Ll]?/,"number.hex","@allowMethod"],[/(@digits)[fFdD]/,"number.float","@allowMethod"],[/(@digits)[lL]?/,"number","@allowMethod"],[/\b_\*/,"key"],[/\b(_)\b/,"keyword","@allowMethod"],[/\bimport\b/,"keyword","@import"],[/\b(case)([ \t]+)(class)\b/,["keyword.modifier","white","keyword"]],[/\bcase\b/,"keyword","@case"],[/\bva[lr]\b/,"keyword","@vardef"],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,["keyword","white","identifier"]],[/@name(?=[ \t]*:(?!:))/,"variable"],[/(\.)(@name|@symbols)/,["operator",{token:"@rematch",next:"@allowMethod"}]],[/([{(])(\s*)(@name(?=\s*=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".scss",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/-+\w+/,"attribute.name"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},o={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o})); +var i=n(203),r=n(204),o=n(205);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return c(this,e,t,n)}function c(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=u(e,t);return e}(e,t,n,i):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|m(t,n),r=(e=a(e,i)).write(t,n);r!==i&&(e=e.slice(0,r));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(i=t.length)!=i?a(e,0):u(e,t);if("Buffer"===t.type&&o(t.data))return u(e,t.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(d(t),e=a(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function u(e,t){var n=t.length<0?0:0|p(t.length);e=a(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function p(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(i)return B(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function f(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:_(e,t,n,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,i,r){var o,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var d=-1;for(o=n;o<a;o++)if(c(e,o)===c(t,-1===d?0:o-d)){if(-1===d&&(d=o),o-d+1===l)return d*s}else-1!==d&&(o-=o-d),d=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){for(var h=!0,u=0;u<l;u++)if(c(e,o+u)!==c(t,u)){h=!1;break}if(h)return o}return-1}function v(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function w(e,t,n,i){return V(B(t,e.length-n),e,n,i)}function y(e,t,n,i){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function C(e,t,n,i){return y(e,t,n,i)}function x(e,t,n,i){return V(j(t),e,n,i)}function S(e,t,n,i){return V(function(e,t){for(var n,i,r,o=[],s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),i=n>>8,r=n%256,o.push(r),o.push(i);return o}(t,e.length-n),e,n,i)}function k(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,s,a,l,c=e[r],d=null,h=c>239?4:c>223?3:c>191?2:1;if(r+h<=n)switch(h){case 1:c<128&&(d=c);break;case 2:128==(192&(o=e[r+1]))&&(l=(31&c)<<6|63&o)>127&&(d=l);break;case 3:o=e[r+1],s=e[r+2],128==(192&o)&&128==(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:o=e[r+1],s=e[r+2],a=e[r+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(d=l)}null===d?(d=65533,h=1):d>65535&&(d-=65536,i.push(d>>>10&1023|55296),d=56320|1023&d),i.push(d),r+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return n}(i)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,i){return d(t),t<=0?a(e,t):void 0!==n?"string"==typeof i?a(e,t).fill(n,i):a(e,t).fill(n):a(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return h(null,e)},l.allocUnsafeSlow=function(e){return h(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r<o;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},l.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}},l.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=l.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var s=e[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,r),r+=s.length}return i},l.byteLength=m,l.prototype._isBuffer=!0,l.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)f(this,t,t+1);return this},l.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)f(this,t,t+3),f(this,t+1,t+2);return this},l.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)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),c=this.slice(i,r),d=e.slice(t,n),h=0;h<a;++h)if(c[h]!==d[h]){o=c[h],s=d[h];break}return o<s?-1:s<o?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},l.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function T(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function L(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function N(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o<n;++o)r+=z(e[o]);return r}function I(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function D(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,i,r,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<o)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function A(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r<o;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);r<o;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function M(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,i,o){return o||M(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function F(e,t,n,i,o){return o||M(e,0,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var r=t-e;n=new l(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||O(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o<n&&(r*=256);)this[t+o]=e/r&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||O(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var o=0,s=1,a=0;for(this[t]=255&e;++o<n&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r,o=i-n;if(this===e&&n<t&&t<i)for(r=o-1;r>=0;--r)e[r+t]=this[r+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},l.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var s=l.isBuffer(e)?e:B(new l(e,i).toString()),a=s.length;for(o=0;o<n-t;++o)this[o+t]=s[o%a]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e,t){var n;t=t||1/0;for(var i=e.length,r=null,o=[],s=0;s<i;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,n(137))},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return 3*(n+i)/4-i},t.toByteArray=function(e){var t,n,i=c(e),s=i[0],a=i[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),d=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[d++]=t>>16&255,l[d++]=t>>8&255,l[d++]=255&t;2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[d++]=255&t);1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[d++]=t>>8&255,l[d++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],s=0,a=n-r;s<a;s+=16383)o.push(d(e,s,s+16383>a?a:s+16383));1===r?(t=e[n-1],o.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return o.join("")};for(var i=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a<l;++a)i[a]=s[a],r[s.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function d(e,t,n){for(var r,o,s=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(i[(o=r)>>18&63]+i[o>>12&63]+i[o>>6&63]+i[63&o]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,t){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ +t.read=function(e,t,n,i,r){var o,s,a=8*r-i-1,l=(1<<a)-1,c=l>>1,d=-7,h=n?r-1:0,u=n?-1:1,p=e[t+h];for(h+=u,o=p&(1<<-d)-1,p>>=-d,d+=a;d>0;o=256*o+e[t+h],h+=u,d-=8);for(s=o&(1<<-d)-1,o>>=-d,d+=i;d>0;s=256*s+e[t+h],h+=u,d-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),o-=c}return(p?-1:1)*s*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var s,a,l,c=8*o-r-1,d=(1<<c)-1,h=d>>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,m=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+h>=1?u/l:u*Math.pow(2,1-h))*l>=2&&(s++,l/=2),s+h>=d?(a=0,s=d):s+h>=1?(a=(t*l-1)*Math.pow(2,r),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,r),s=0));r>=8;e[n+p]=255&a,p+=m,a/=256,r-=8);for(s=s<<r|a,c+=r;c>0;e[n+p]=255&s,p+=m,s/=256,c-=8);e[n+p-m]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var i=n(32),r=n(207);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-aria-container {\r\n\tposition: absolute; /* try to hide from window but not from screen readers */\r\n\tleft:-999em;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(209);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* -------------------- IE10 remove auto clear button -------------------- */\r\n\r\n::-ms-clear {\r\n\tdisplay: none;\r\n}\r\n\r\n/* All widgets */\r\n/* I am not a big fan of this rule */\r\n.monaco-editor .editor-widget input {\r\n\tcolor: inherit;\r\n}\r\n\r\n/* -------------------- Editor -------------------- */\r\n\r\n.monaco-editor {\r\n\tposition: relative;\r\n\toverflow: visible;\r\n\t-webkit-text-size-adjust: 100%;\r\n}\r\n\r\n/* -------------------- Misc -------------------- */\r\n\r\n.monaco-editor .overflow-guard {\r\n\tposition: relative;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-editor .view-overlays {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}\r\n\r\n/*\r\n.monaco-editor .auto-closed-character {\r\n\topacity: 0.3;\r\n}\r\n*/\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(211);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .inputarea {\r\n\tmin-width: 0;\r\n\tmin-height: 0;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tposition: absolute;\r\n\toutline: none !important;\r\n\tresize: none;\r\n\tborder: none;\r\n\toverflow: hidden;\r\n\tcolor: transparent;\r\n\tbackground-color: transparent;\r\n}\r\n/*.monaco-editor .inputarea {\r\n\tposition: fixed !important;\r\n\twidth: 800px !important;\r\n\theight: 500px !important;\r\n\ttop: initial !important;\r\n\tleft: initial !important;\r\n\tbottom: 0 !important;\r\n\tright: 0 !important;\r\n\tcolor: black !important;\r\n\tbackground: white !important;\r\n\tline-height: 15px !important;\r\n\tfont-size: 14px !important;\r\n}*/\r\n.monaco-editor .inputarea.ime-input {\r\n\tz-index: 10;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(213);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .margin-view-overlays .line-numbers {\r\n\tfont-variant-numeric: tabular-nums;\r\n\tposition: absolute;\r\n\ttext-align: right;\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n\tbox-sizing: border-box;\r\n\tcursor: default;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .relative-current-line-number {\r\n\ttext-align: left;\r\n\tdisplay: inline-block;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\r\n\tmargin-top: 1px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(215);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-mouse-cursor-text {\r\n\tcursor: text;\r\n}\r\n\r\n/* The following selector looks a bit funny, but that is needed to cover all the workbench and the editor!! */\r\n.vs-dark .mac .monaco-mouse-cursor-text, .hc-black .mac .monaco-mouse-cursor-text,\r\n.vs-dark.mac .monaco-mouse-cursor-text, .hc-black.mac .monaco-mouse-cursor-text {\r\n\tcursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(217);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .view-overlays .current-line {\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays .current-line {\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\r\n\tborder-right: 0;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(219);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcdr = core decorations rendering (div)\r\n*/\r\n.monaco-editor .lines-content .cdr {\r\n\tposition: absolute;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(221);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* Arrows */\r\n.monaco-scrollable-element > .scrollbar > .scra {\r\n\tcursor: pointer;\r\n\tfont-size: 11px !important;\r\n}\r\n\r\n.monaco-scrollable-element > .visible {\r\n\topacity: 1;\r\n\r\n\t/* Background rule added for IE9 - to allow clicks on dom node */\r\n\tbackground:rgba(0,0,0,0);\r\n\r\n\ttransition: opacity 100ms linear;\r\n}\r\n.monaco-scrollable-element > .invisible {\r\n\topacity: 0;\r\n\tpointer-events: none;\r\n}\r\n.monaco-scrollable-element > .invisible.fade {\r\n\ttransition: opacity 800ms linear;\r\n}\r\n\r\n/* Scrollable Content Inset Shadow */\r\n.monaco-scrollable-element > .shadow {\r\n\tposition: absolute;\r\n\tdisplay: none;\r\n}\r\n.monaco-scrollable-element > .shadow.top {\r\n\tdisplay: block;\r\n\ttop: 0;\r\n\tleft: 3px;\r\n\theight: 3px;\r\n\twidth: 100%;\r\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\r\n}\r\n.monaco-scrollable-element > .shadow.left {\r\n\tdisplay: block;\r\n\ttop: 3px;\r\n\tleft: 0;\r\n\theight: 100%;\r\n\twidth: 3px;\r\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\r\n}\r\n.monaco-scrollable-element > .shadow.top-left-corner {\r\n\tdisplay: block;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\theight: 3px;\r\n\twidth: 3px;\r\n}\r\n.monaco-scrollable-element > .shadow.top.left {\r\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\r\n}\r\n\r\n/* ---------- Default Style ---------- */\r\n\r\n.vs .monaco-scrollable-element > .scrollbar > .slider {\r\n\tbackground: rgba(100, 100, 100, .4);\r\n}\r\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\r\n\tbackground: rgba(121, 121, 121, .4);\r\n}\r\n.hc-black .monaco-scrollable-element > .scrollbar > .slider {\r\n\tbackground: rgba(111, 195, 223, .6);\r\n}\r\n\r\n.monaco-scrollable-element > .scrollbar > .slider:hover {\r\n\tbackground: rgba(100, 100, 100, .7);\r\n}\r\n.hc-black .monaco-scrollable-element > .scrollbar > .slider:hover {\r\n\tbackground: rgba(111, 195, 223, .8);\r\n}\r\n\r\n.monaco-scrollable-element > .scrollbar > .slider.active {\r\n\tbackground: rgba(0, 0, 0, .6);\r\n}\r\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\r\n\tbackground: rgba(191, 191, 191, .4);\r\n}\r\n.hc-black .monaco-scrollable-element > .scrollbar > .slider.active {\r\n\tbackground: rgba(111, 195, 223, 1);\r\n}\r\n\r\n.vs-dark .monaco-scrollable-element .shadow.top {\r\n\tbox-shadow: none;\r\n}\r\n\r\n.vs-dark .monaco-scrollable-element .shadow.left {\r\n\tbox-shadow: #000 6px 0 6px -6px inset;\r\n}\r\n\r\n.vs-dark .monaco-scrollable-element .shadow.top.left {\r\n\tbox-shadow: #000 6px 6px 6px -6px inset;\r\n}\r\n\r\n.hc-black .monaco-scrollable-element .shadow.top {\r\n\tbox-shadow: none;\r\n}\r\n\r\n.hc-black .monaco-scrollable-element .shadow.left {\r\n\tbox-shadow: none;\r\n}\r\n\r\n.hc-black .monaco-scrollable-element .shadow.top.left {\r\n\tbox-shadow: none;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(223);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .glyph-margin {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcgmr = core glyph margin rendering (div)\r\n*/\r\n.monaco-editor .margin-view-overlays .cgmr {\r\n\tposition: absolute;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(225);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcigr = core ident guides rendering (div)\r\n*/\r\n.monaco-editor .lines-content .cigr {\r\n\tposition: absolute;\r\n}\r\n.monaco-editor .lines-content .cigra {\r\n\tposition: absolute;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(227);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* Uncomment to see lines flashing when they're painted */\r\n/*.monaco-editor .view-lines > .view-line {\r\n\tbackground-color: none;\r\n\tanimation-name: flash-background;\r\n\tanimation-duration: 800ms;\r\n}\r\n@keyframes flash-background {\r\n\t0% { background-color: lightgreen; }\r\n\t100% { background-color: none }\r\n}*/\r\n\r\n.monaco-editor.no-user-select .lines-content,\r\n.monaco-editor.no-user-select .view-line,\r\n.monaco-editor.no-user-select .view-lines {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-editor .view-lines {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .view-line {\r\n\tposition: absolute;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .mtkz {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n/* TODO@tokenization bootstrap fix */\r\n/*.monaco-editor .view-line > span > span {\r\n\tfloat: none;\r\n\tmin-height: inherit;\r\n\tmargin-left: inherit;\r\n}*/\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(229);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n.monaco-editor .lines-decorations {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tbackground: white;\r\n}\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcldr = core lines decorations rendering (div)\r\n*/\r\n.monaco-editor .margin-view-overlays .cldr {\r\n\tposition: absolute;\r\n\theight: 100%;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(231);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcmdr = core margin decorations rendering (div)\r\n*/\r\n.monaco-editor .margin-view-overlays .cmdr {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(233);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* START cover the case that slider is visible on mouseover */\r\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\r\n\topacity: 0;\r\n\ttransition: opacity 100ms linear;\r\n}\r\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\r\n\topacity: 1;\r\n}\r\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\r\n\topacity: 1;\r\n}\r\n/* END cover the case that slider is visible on mouseover */\r\n\r\n.monaco-editor .minimap-shadow-hidden {\r\n\tposition: absolute;\r\n\twidth: 0;\r\n}\r\n.monaco-editor .minimap-shadow-visible {\r\n\tposition: absolute;\r\n\tleft: -6px;\r\n\twidth: 6px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(235);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n.monaco-editor .overlayWidgets {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft:0;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(237);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .view-ruler {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(239);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .scroll-decoration {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\theight: 6px;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(241);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcslr = core selections layer rendering (div)\r\n*/\r\n.monaco-editor .lines-content .cslr {\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-editor\t\t\t.top-left-radius\t\t{ border-top-left-radius: 3px; }\r\n.monaco-editor\t\t\t.bottom-left-radius\t\t{ border-bottom-left-radius: 3px; }\r\n.monaco-editor\t\t\t.top-right-radius\t\t{ border-top-right-radius: 3px; }\r\n.monaco-editor\t\t\t.bottom-right-radius\t{ border-bottom-right-radius: 3px; }\r\n\r\n.monaco-editor.hc-black .top-left-radius\t\t{ border-top-left-radius: 0; }\r\n.monaco-editor.hc-black .bottom-left-radius\t\t{ border-bottom-left-radius: 0; }\r\n.monaco-editor.hc-black .top-right-radius\t\t{ border-top-right-radius: 0; }\r\n.monaco-editor.hc-black .bottom-right-radius\t{ border-bottom-right-radius: 0; }\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(243);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n.monaco-editor .cursors-layer {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}\r\n\r\n.monaco-editor .cursors-layer > .cursor {\r\n\tposition: absolute;\r\n\toverflow: hidden;\r\n}\r\n\r\n/* -- smooth-caret-animation -- */\r\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\r\n\ttransition: all 80ms;\r\n}\r\n\r\n/* -- block-outline-style -- */\r\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\r\n\tbox-sizing: border-box;\r\n\tbackground: transparent !important;\r\n\tborder-style: solid;\r\n\tborder-width: 1px;\r\n}\r\n\r\n/* -- underline-style -- */\r\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\r\n\tborder-bottom-width: 2px;\r\n\tborder-bottom-style: solid;\r\n\tbackground: transparent !important;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n/* -- underline-thin-style -- */\r\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\r\n\tborder-bottom-width: 1px;\r\n\tborder-bottom-style: solid;\r\n\tbackground: transparent !important;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n@keyframes monaco-cursor-smooth {\r\n\t0%,\r\n\t20% {\r\n\t\topacity: 1;\r\n\t}\r\n\t60%,\r\n\t100% {\r\n\t\topacity: 0;\r\n\t}\r\n}\r\n\r\n@keyframes monaco-cursor-phase {\r\n\t0%,\r\n\t20% {\r\n\t\topacity: 1;\r\n\t}\r\n\t90%,\r\n\t100% {\r\n\t\topacity: 0;\r\n\t}\r\n}\r\n\r\n@keyframes monaco-cursor-expand {\r\n\t0%,\r\n\t20% {\r\n\t\ttransform: scaleY(1);\r\n\t}\r\n\t80%,\r\n\t100% {\r\n\t\ttransform: scaleY(0);\r\n\t}\r\n}\r\n\r\n.cursor-smooth {\r\n\tanimation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\r\n}\r\n\r\n.cursor-phase {\r\n\tanimation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\r\n}\r\n\r\n.cursor-expand > .cursor {\r\n\tanimation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(245);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n/* ---------- DiffEditor ---------- */\r\n\r\n.monaco-diff-editor .diffOverview {\r\n\tz-index: 9;\r\n}\r\n\r\n.monaco-diff-editor .diffOverview .diffViewport {\r\n\tz-index: 10;\r\n}\r\n\r\n/* colors not externalized: using transparancy on background */\r\n.monaco-diff-editor.vs\t\t\t.diffOverview { background: rgba(0, 0, 0, 0.03); }\r\n.monaco-diff-editor.vs-dark\t\t.diffOverview { background: rgba(255, 255, 255, 0.01); }\r\n\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs\t\t.scrollbar { background: rgba(0,0,0,0); }\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark\t.scrollbar { background: rgba(0,0,0,0); }\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black\t.scrollbar { background: none; }\r\n\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\r\n\tz-index: 10;\r\n}\r\n.modified-in-monaco-diff-editor\t\t\t\t.slider.active { background: rgba(171, 171, 171, .4); }\r\n.modified-in-monaco-diff-editor.hc-black\t.slider.active { background: none; }\r\n\r\n/* ---------- Diff ---------- */\r\n\r\n.monaco-editor .insert-sign,\r\n.monaco-diff-editor .insert-sign,\r\n.monaco-editor .delete-sign,\r\n.monaco-diff-editor .delete-sign {\r\n\tfont-size: 11px !important;\r\n\topacity: 0.7 !important;\r\n\tdisplay: flex !important;\r\n\talign-items: center;\r\n}\r\n.monaco-editor.hc-black .insert-sign,\r\n.monaco-diff-editor.hc-black .insert-sign,\r\n.monaco-editor.hc-black .delete-sign,\r\n.monaco-diff-editor.hc-black .delete-sign {\r\n\topacity: 1;\r\n}\r\n\r\n.monaco-editor .inline-deleted-margin-view-zone {\r\n\ttext-align: right;\r\n}\r\n.monaco-editor .inline-added-margin-view-zone {\r\n\ttext-align: right;\r\n}\r\n\r\n/* ---------- Inline Diff ---------- */\r\n\r\n.monaco-editor .view-zones .view-lines .view-line span {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\r\n\tcursor: pointer;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(247);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-sash {\r\n\tposition: absolute;\r\n\tz-index: 35;\r\n\ttouch-action: none;\r\n}\r\n\r\n.monaco-sash.disabled {\r\n\tpointer-events: none;\r\n}\r\n\r\n.monaco-sash.mac.vertical {\r\n\tcursor: col-resize;\r\n}\r\n\r\n.monaco-sash.vertical.minimum {\r\n\tcursor: e-resize;\r\n}\r\n\r\n.monaco-sash.vertical.maximum {\r\n\tcursor: w-resize;\r\n}\r\n\r\n.monaco-sash.mac.horizontal {\r\n\tcursor: row-resize;\r\n}\r\n\r\n.monaco-sash.horizontal.minimum {\r\n\tcursor: s-resize;\r\n}\r\n\r\n.monaco-sash.horizontal.maximum {\r\n\tcursor: n-resize;\r\n}\r\n\r\n.monaco-sash.disabled {\r\n\tcursor: default !important;\r\n\tpointer-events: none !important;\r\n}\r\n\r\n/** Debug **/\r\n\r\n.monaco-sash.debug {\r\n\tbackground: cyan;\r\n}\r\n\r\n.monaco-sash.debug.disabled {\r\n\tbackground: rgba(0, 255, 255, 0.2);\r\n}\r\n\r\n.monaco-sash.debug:not(.disabled).orthogonal-start::before,\r\n.monaco-sash.debug:not(.disabled).orthogonal-end::after {\r\n\tbackground: red;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(249);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-diff-editor .diff-review-line-number {\r\n\ttext-align: right;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-diff-editor .diff-review {\r\n\tposition: absolute;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-summary {\r\n\tpadding-left: 10px;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-shadow {\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-row {\r\n\twhite-space: pre;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-table {\r\n\tdisplay: table;\r\n\tmin-width: 100%;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-row {\r\n\tdisplay: table-row;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-spacer {\r\n\tdisplay: inline-block;\r\n\twidth: 10px;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-spacer > .codicon {\r\n\tfont-size: 9px !important;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-actions {\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\tright: 10px;\r\n\ttop: 2px;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-actions .action-label {\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tmargin: 2px 0;\r\n}\r\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-action-bar {\r\n\ttext-align: right;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-action-bar .actions-container {\r\n\tdisplay: flex;\r\n\tmargin: 0 auto;\r\n\tpadding: 0;\r\n\twidth: 100%;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.monaco-action-bar.vertical .actions-container {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-action-bar.reverse .actions-container {\r\n\tflex-direction: row-reverse;\r\n}\r\n\r\n.monaco-action-bar .action-item {\r\n\tcursor: pointer;\r\n\tdisplay: inline-block;\r\n\ttransition: transform 50ms ease;\r\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\r\n}\r\n\r\n.monaco-action-bar .action-item.disabled {\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-action-bar.animated .action-item.active {\r\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\r\n}\r\n\r\n.monaco-action-bar .action-item .icon,\r\n.monaco-action-bar .action-item .codicon {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-action-bar .action-item .codicon {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-action-bar .action-label {\r\n\tfont-size: 11px;\r\n\tmargin-right: 4px;\r\n}\r\n\r\n.monaco-action-bar .action-item.disabled .action-label,\r\n.monaco-action-bar .action-item.disabled .action-label:hover {\r\n\topacity: 0.4;\r\n}\r\n\r\n/* Vertical actions */\r\n\r\n.monaco-action-bar.vertical {\r\n\ttext-align: left;\r\n}\r\n\r\n.monaco-action-bar.vertical .action-item {\r\n\tdisplay: block;\r\n}\r\n\r\n.monaco-action-bar.vertical .action-label.separator {\r\n\tdisplay: block;\r\n\tborder-bottom: 1px solid #bbb;\r\n\tpadding-top: 1px;\r\n\tmargin-left: .8em;\r\n\tmargin-right: .8em;\r\n}\r\n\r\n.monaco-action-bar.animated.vertical .action-item.active {\r\n\ttransform: translate(5px, 0);\r\n}\r\n\r\n.secondary-actions .monaco-action-bar .action-label {\r\n\tmargin-left: 6px;\r\n}\r\n\r\n/* Action Items */\r\n.monaco-action-bar .action-item.select-container {\r\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\r\n\tflex: 1;\r\n\tmax-width: 170px;\r\n\tmin-width: 60px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tmargin-right: 10px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(252);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){var i=n(33),r=n(253),o=n(254);t=i(!1);var s=r(o);t.push([e.i,'/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n@font-face {\r\n\tfont-family: "codicon";\r\n\tsrc: url('+s+") format(\"truetype\");\r\n}\r\n\r\n.codicon[class*='codicon-'] {\r\n\tfont: normal normal normal 16px/1 codicon;\r\n\tdisplay: inline-block;\r\n\ttext-decoration: none;\r\n\ttext-rendering: auto;\r\n\ttext-align: center;\r\n\t-webkit-font-smoothing: antialiased;\r\n\t-moz-osx-font-smoothing: grayscale;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n/* icon rules are dynamically created in codiconStyles */\r\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";n.r(t),t.default=n.p+"b3726f0165bf67ac68494ee7a1b9f6ce.ttf"},function(e,t,n){var i=n(32),r=n(256);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.codicon-wrench-subaction {\r\n\topacity: 0.5;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(258);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n@keyframes codicon-spin {\r\n\t100% {\r\n\t\ttransform:rotate(360deg);\r\n\t}\r\n}\r\n\r\n.codicon-animation-spin {\r\n\t/* Use steps to throttle FPS to reduce CPU usage */\r\n\tanimation: codicon-spin 1.5s steps(30) infinite;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(260);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.context-view .monaco-menu {\r\n\tmin-width: 130px;\r\n}\r\n\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(262);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.context-view {\r\n\tposition: absolute;\r\n\tz-index: 2500;\r\n}\r\n\r\n.context-view.fixed {\r\n\tall: initial;\r\n\tfont-family: inherit;\r\n\tfont-size: 13px;\r\n\tposition: fixed;\r\n\tz-index: 2500;\r\n\tcolor: inherit;\r\n}\r\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-list {\r\n\tposition: relative;\r\n\theight: 100%;\r\n\twidth: 100%;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-list.mouse-support {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-list > .monaco-scrollable-element {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-list-rows {\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-list.horizontal-scrolling .monaco-list-rows {\r\n\twidth: auto;\r\n\tmin-width: 100%;\r\n}\r\n\r\n.monaco-list-row {\r\n\tposition: absolute;\r\n\tbox-sizing:\tborder-box;\r\n\toverflow: hidden;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-list.mouse-support .monaco-list-row {\r\n\tcursor: pointer;\r\n\ttouch-action: none;\r\n}\r\n\r\n/* for OS X ballistic scrolling */\r\n.monaco-list-row.scrolling {\r\n\tdisplay: none !important;\r\n}\r\n\r\n/* Focus */\r\n.monaco-list.element-focused, .monaco-list.selection-single, .monaco-list.selection-multiple {\r\n\toutline: 0 !important;\r\n}\r\n\r\n.monaco-list:focus .monaco-list-row.selected .codicon {\r\n\tcolor: inherit;\r\n}\r\n\r\n/* Dnd */\r\n.monaco-drag-image {\r\n\tdisplay: inline-block;\r\n\tpadding: 1px 7px;\r\n\tborder-radius: 10px;\r\n\tfont-size: 12px;\r\n\tposition: absolute;\r\n}\r\n\r\n/* Type filter */\r\n\r\n.monaco-list-type-filter {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: absolute;\r\n\tborder-radius: 2px;\r\n\tpadding: 0px 3px;\r\n\tmax-width: calc(100% - 10px);\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\ttext-align: right;\r\n\tbox-sizing: border-box;\r\n\tcursor: all-scroll;\r\n\tfont-size: 13px;\r\n\tline-height: 18px;\r\n\theight: 20px;\r\n\tz-index: 1;\r\n\ttop: 4px;\r\n}\r\n\r\n.monaco-list-type-filter.dragging {\r\n\ttransition: top 0.2s, left 0.2s;\r\n}\r\n\r\n.monaco-list-type-filter.ne {\r\n\tright: 4px;\r\n}\r\n\r\n.monaco-list-type-filter.nw {\r\n\tleft: 4px;\r\n}\r\n\r\n.monaco-list-type-filter > .controls {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tbox-sizing: border-box;\r\n\ttransition: width 0.2s;\r\n\twidth: 0;\r\n}\r\n\r\n.monaco-list-type-filter.dragging > .controls,\r\n.monaco-list-type-filter:hover > .controls {\r\n\twidth: 36px;\r\n}\r\n\r\n.monaco-list-type-filter > .controls > * {\r\n\tborder: none;\r\n\tbox-sizing: border-box;\r\n\t-webkit-appearance: none;\r\n\t-moz-appearance: none;\r\n\tbackground: none;\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tflex-shrink: 0;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-list-type-filter > .controls > .filter {\r\n\tmargin-left: 4px;\r\n}\r\n\r\n.monaco-list-type-filter-message {\r\n\tposition: absolute;\r\n\tbox-sizing: border-box;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tpadding: 40px 1em 1em 1em;\r\n\ttext-align: center;\r\n\twhite-space: normal;\r\n\topacity: 0.7;\r\n\tpointer-events: none;\r\n}\r\n\r\n.monaco-list-type-filter-message:empty {\r\n\tdisplay: none;\r\n}\r\n\r\n/* Electron */\r\n\r\n.monaco-list-type-filter {\r\n\tcursor: grab;\r\n}\r\n\r\n.monaco-list-type-filter.dragging {\r\n\tcursor: grabbing;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(265);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-tl-row {\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\talign-items: center;\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-tl-indent {\r\n\theight: 100%;\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 16px;\r\n\tpointer-events: none;\r\n}\r\n\r\n.hide-arrows .monaco-tl-indent {\r\n\tleft: 12px;\r\n}\r\n\r\n.monaco-tl-indent > .indent-guide {\r\n\tdisplay: inline-block;\r\n\tbox-sizing: border-box;\r\n\theight: 100%;\r\n\tborder-left: 1px solid transparent;\r\n}\r\n\r\n.monaco-tl-indent > .indent-guide {\r\n\ttransition: border-color 0.1s linear;\r\n}\r\n\r\n.monaco-tl-twistie,\r\n.monaco-tl-contents {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-tl-twistie {\r\n\tfont-size: 10px;\r\n\ttext-align: right;\r\n\tpadding-right: 6px;\r\n\tflex-shrink: 0;\r\n\twidth: 16px;\r\n\tdisplay: flex !important;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcolor: inherit !important;\r\n\ttransform: translateX(3px);\r\n}\r\n\r\n.monaco-tl-contents {\r\n\tflex: 1;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-tl-twistie.collapsed::before {\r\n\ttransform: rotate(-90deg);\r\n}\r\n\r\n.monaco-tl-twistie.codicon-tree-item-loading::before {\r\n\t/* Use steps to throttle FPS to reduce CPU usage */\r\n\tanimation: codicon-spin 1.25s steps(30) infinite;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(267);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.quick-input-widget {\r\n\tfont-size: 13px;\r\n}\r\n\r\n.quick-input-widget .monaco-highlighted-label .highlight,\r\n.quick-input-widget .monaco-highlighted-label .highlight {\r\n\tcolor: #0066BF;\r\n}\r\n\r\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,\r\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight {\r\n\tcolor: #0097fb;\r\n}\r\n\r\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight,\r\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight {\r\n\tcolor: #F38518;\r\n}\r\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.quick-input-widget {\r\n\tposition: absolute;\r\n\twidth: 600px;\r\n\tz-index: 2000;\r\n\tpadding-bottom: 6px;\r\n\tleft: 50%;\r\n\tmargin-left: -300px;\r\n}\r\n\r\n.quick-input-titlebar {\r\n\tdisplay: flex;\r\n}\r\n\r\n.quick-input-left-action-bar {\r\n\tdisplay: flex;\r\n\tmargin-left: 4px;\r\n\tflex: 1;\r\n}\r\n\r\n.quick-input-left-action-bar.monaco-action-bar .actions-container {\r\n\tjustify-content: flex-start;\r\n}\r\n\r\n.quick-input-title {\r\n\tpadding: 3px 0px;\r\n\ttext-align: center;\r\n}\r\n\r\n.quick-input-right-action-bar {\r\n\tdisplay: flex;\r\n\tmargin-right: 4px;\r\n\tflex: 1;\r\n}\r\n\r\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\r\n\tmargin: 0;\r\n\twidth: 19px;\r\n\theight: 100%;\r\n\tbackground-position: center;\r\n\tbackground-repeat: no-repeat;\r\n}\r\n\r\n.quick-input-description {\r\n\tmargin: 6px;\r\n}\r\n\r\n.quick-input-header {\r\n\tdisplay: flex;\r\n\tpadding: 6px 6px 0px 6px;\r\n\tmargin-bottom: -2px;\r\n}\r\n\r\n.quick-input-widget.hidden-input .quick-input-header {\r\n\t/* reduce margins and paddings when input box hidden */\r\n\tpadding: 0;\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n.quick-input-and-message {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tflex-grow: 1;\r\n\tposition: relative;\r\n}\r\n\r\n.quick-input-check-all {\r\n\talign-self: center;\r\n\tmargin: 0;\r\n}\r\n\r\n.quick-input-filter {\r\n\tflex-grow: 1;\r\n\tdisplay: flex;\r\n\tposition: relative;\r\n}\r\n\r\n.quick-input-box {\r\n\tflex-grow: 1;\r\n}\r\n\r\n.quick-input-widget.show-checkboxes .quick-input-box,\r\n.quick-input-widget.show-checkboxes .quick-input-message {\r\n\tmargin-left: 5px;\r\n}\r\n\r\n.quick-input-visible-count {\r\n\tposition: absolute;\r\n\tleft: -10000px;\r\n}\r\n\r\n.quick-input-count {\r\n\talign-self: center;\r\n\tposition: absolute;\r\n\tright: 4px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.quick-input-count .monaco-count-badge {\r\n\tvertical-align: middle;\r\n\tpadding: 2px 4px;\r\n\tborder-radius: 2px;\r\n\tmin-height: auto;\r\n\tline-height: normal;\r\n}\r\n\r\n.quick-input-action {\r\n\tmargin-left: 6px;\r\n}\r\n\r\n.quick-input-action .monaco-text-button {\r\n\tfont-size: 11px;\r\n\tpadding: 0 6px;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\talign-items: center;\r\n}\r\n\r\n.quick-input-message {\r\n\tmargin-top: -1px;\r\n\tpadding: 5px 5px 2px 5px;\r\n}\r\n\r\n.quick-input-progress.monaco-progress-container {\r\n\tposition: relative;\r\n}\r\n\r\n.quick-input-progress.monaco-progress-container,\r\n.quick-input-progress.monaco-progress-container .progress-bit {\r\n\theight: 2px;\r\n}\r\n\r\n.quick-input-list {\r\n\tline-height: 22px;\r\n\tmargin-top: 6px;\r\n}\r\n\r\n.quick-input-widget.hidden-input .quick-input-list {\r\n\tmargin-top: 0; /* reduce margins when input box hidden */\r\n}\r\n\r\n.quick-input-list .monaco-list {\r\n\toverflow: hidden;\r\n\tmax-height: calc(20 * 22px);\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry {\r\n\tbox-sizing: border-box;\r\n\toverflow: hidden;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\tpadding: 0 6px;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\r\n\tborder-top-width: 1px;\r\n\tborder-top-style: solid;\r\n}\r\n\r\n.quick-input-list .monaco-list-row:first-child .quick-input-list-entry.quick-input-list-separator-border {\r\n\tborder-top-style: none;\r\n}\r\n\r\n.quick-input-list .quick-input-list-label {\r\n\toverflow: hidden;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\tflex: 1;\r\n}\r\n\r\n.quick-input-list .quick-input-list-checkbox {\r\n\talign-self: center;\r\n\tmargin: 0;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows {\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\theight: 100%;\r\n\tflex: 1;\r\n\tmargin-left: 5px;\r\n}\r\n\r\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\r\n\tmargin-left: 10px;\r\n}\r\n\r\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\r\n\tdisplay: none;\r\n}\r\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\r\n\tdisplay: inline;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\r\n\tflex: 1; /* make sure the icon label grows within the row */\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\r\n\tvertical-align: sub;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label span {\r\n\topacity: 1;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\r\n\tmargin-right: 8px; /* separate from the separator label or scrollbar if any */\r\n}\r\n\r\n.quick-input-list .quick-input-list-label-meta {\r\n\topacity: 0.7;\r\n\tline-height: normal;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n}\r\n\r\n.quick-input-list .monaco-highlighted-label .highlight {\r\n\tfont-weight: bold;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\r\n\tmargin-right: 8px; /* separate from keybindings or actions */\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar {\r\n\tdisplay: flex;\r\n\tflex: 0;\r\n\toverflow: visible;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\r\n\t/*\r\n\t * By default, actions in the quick input action bar are hidden\r\n\t * until hovered over them or selected.\r\n\t */\r\n\tdisplay: none;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\r\n\tmargin: 0;\r\n\theight: 100%;\r\n\tpadding: 0 2px;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar {\r\n\tmargin-top: 1px;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar {\r\n\tmargin-right: 4px; /* separate from scrollbar */\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\r\n\tmargin-right: 4px; /* separate actions */\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\r\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\r\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\r\n\tdisplay: flex;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(270);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* ---------- Icon label ---------- */\r\n\r\n.monaco-icon-label {\r\n\tdisplay: flex; /* required for icons support :before rule */\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-icon-label::before {\r\n\r\n\t/* svg icons rendered as background image */\r\n\tbackground-size: 16px;\r\n\tbackground-position: left center;\r\n\tbackground-repeat: no-repeat;\r\n\tpadding-right: 6px;\r\n\twidth: 16px;\r\n\theight: 22px;\r\n\tline-height: inherit !important;\r\n\tdisplay: inline-block;\r\n\r\n\t/* fonts icons */\r\n\t-webkit-font-smoothing: antialiased;\r\n\t-moz-osx-font-smoothing: grayscale;\r\n\tvertical-align: top;\r\n\r\n\tflex-shrink: 0; /* fix for https://github.com/Microsoft/vscode/issues/13787 */\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container {\r\n\tmin-width: 0;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tflex: 1;\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\r\n\tcolor: inherit;\r\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\r\n\tmargin: 0 2px;\r\n\topacity: 0.5;\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\r\n\topacity: .7;\r\n\tmargin-left: 0.5em;\r\n\tfont-size: 0.9em;\r\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\r\n}\r\n\r\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\r\n\topacity: .95;\r\n}\r\n\r\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\r\n.monaco-icon-label.italic > .monaco-icon-description-container > .label-description {\r\n\tfont-style: italic;\r\n}\r\n\r\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\r\n.monaco-icon-label.strikethrough > .monaco-icon-description-container > .label-description {\r\n\ttext-decoration: line-through;\r\n}\r\n\r\n.monaco-icon-label::after {\r\n\topacity: 0.75;\r\n\tfont-size: 90%;\r\n\tfont-weight: 600;\r\n\tpadding: 0 16px 0 5px;\r\n\ttext-align: center;\r\n}\r\n\r\n/* make sure selection color wins when a label is being selected */\r\n.monaco-list:focus .selected .monaco-icon-label, /* list */\r\n.monaco-list:focus .selected .monaco-icon-label::after\r\n{\r\n\tcolor: inherit !important;\r\n}\r\n\r\n.monaco-list-row.focused.selected .label-description,\r\n.monaco-list-row.selected .label-description {\r\n\topacity: .8;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(272);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-keybinding {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tline-height: 10px;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key {\r\n\tdisplay: inline-block;\r\n\tborder: solid 1px rgba(204, 204, 204, 0.4);\r\n\tborder-bottom-color: rgba(187, 187, 187, 0.4);\r\n\tborder-radius: 3px;\r\n\tbox-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\r\n\tbackground-color: rgba(221, 221, 221, 0.4);\r\n\tvertical-align: middle;\r\n\tcolor: #555;\r\n\tfont-size: 11px;\r\n\tpadding: 3px 5px;\r\n\tmargin: 0 2px;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key:first-child {\r\n\tmargin-left: 0;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key:last-child {\r\n\tmargin-right: 0;\r\n}\r\n\r\n.hc-black .monaco-keybinding > .monaco-keybinding-key,\r\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\r\n\tbackground-color: rgba(128, 128, 128, 0.17);\r\n\tcolor: #ccc;\r\n\tborder: solid 1px rgba(51, 51, 51, 0.6);\r\n\tborder-bottom-color: rgba(68, 68, 68, 0.6);\r\n\tbox-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key-separator {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\r\n\twidth: 6px;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(274);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-inputbox {\r\n\tposition: relative;\r\n\tdisplay: block;\r\n\tpadding: 0;\r\n\tbox-sizing:\tborder-box;\r\n\r\n\t/* Customizable */\r\n\tfont-size: inherit;\r\n}\r\n\r\n.monaco-inputbox.idle {\r\n\tborder: 1px solid transparent;\r\n}\r\n\r\n.monaco-inputbox > .wrapper > .input,\r\n.monaco-inputbox > .wrapper > .mirror {\r\n\r\n\t/* Customizable */\r\n\tpadding: 4px;\r\n}\r\n\r\n.monaco-inputbox > .wrapper {\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-inputbox > .wrapper > .input {\r\n\tdisplay: inline-block;\r\n\tbox-sizing:\tborder-box;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tline-height: inherit;\r\n\tborder: none;\r\n\tfont-family: inherit;\r\n\tfont-size: inherit;\r\n\tresize: none;\r\n\tcolor: inherit;\r\n}\r\n\r\n.monaco-inputbox > .wrapper > input {\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-inputbox > .wrapper > textarea.input {\r\n\tdisplay: block;\r\n\t-ms-overflow-style: none; /* IE 10+: hide scrollbars */\r\n\tscrollbar-width: none; /* Firefox: hide scrollbars */\r\n\toutline: none;\r\n}\r\n\r\n.monaco-inputbox > .wrapper > textarea.input::-webkit-scrollbar {\r\n\tdisplay: none; /* Chrome + Safari: hide scrollbar */\r\n}\r\n\r\n.monaco-inputbox > .wrapper > textarea.input.empty {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-inputbox > .wrapper > .mirror {\r\n\tposition: absolute;\r\n\tdisplay: inline-block;\r\n\twidth: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbox-sizing: border-box;\r\n\twhite-space: pre-wrap;\r\n\tvisibility: hidden;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n/* Context view */\r\n\r\n.monaco-inputbox-container {\r\n\ttext-align: right;\r\n}\r\n\r\n.monaco-inputbox-container .monaco-inputbox-message {\r\n\tdisplay: inline-block;\r\n\toverflow: hidden;\r\n\ttext-align: left;\r\n\twidth: 100%;\r\n\tbox-sizing:\tborder-box;\r\n\tpadding: 0.4em;\r\n\tfont-size: 12px;\r\n\tline-height: 17px;\r\n\tmin-height: 34px;\r\n\tmargin-top: -1px;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n/* Action bar support */\r\n.monaco-inputbox .monaco-action-bar {\r\n\tposition: absolute;\r\n\tright: 2px;\r\n\ttop: 4px;\r\n}\r\n\r\n.monaco-inputbox .monaco-action-bar .action-item {\r\n\tmargin-left: 2px;\r\n}\r\n\r\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\r\n\tbackground-repeat: no-repeat;\r\n\twidth: 16px;\r\n\theight: 16px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(276);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-count-badge {\r\n\tpadding: 3px 6px;\r\n\tborder-radius: 11px;\r\n\tfont-size: 11px;\r\n\tmin-width: 18px;\r\n\tmin-height: 18px;\r\n\tline-height: 11px;\r\n\tfont-weight: normal;\r\n\ttext-align: center;\r\n\tdisplay: inline-block;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-count-badge.long {\r\n\tpadding: 2px 3px;\r\n\tborder-radius: 2px;\r\n\tmin-height: auto;\r\n\tline-height: normal;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(278);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-progress-container {\r\n\twidth: 100%;\r\n\theight: 5px;\r\n\toverflow: hidden; /* keep progress bit in bounds */\r\n}\r\n\r\n.monaco-progress-container .progress-bit {\r\n\twidth: 2%;\r\n\theight: 5px;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-progress-container.active .progress-bit {\r\n\tdisplay: inherit;\r\n}\r\n\r\n.monaco-progress-container.discrete .progress-bit {\r\n\tleft: 0;\r\n\ttransition: width 100ms linear;\r\n}\r\n\r\n.monaco-progress-container.discrete.done .progress-bit {\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-progress-container.infinite .progress-bit {\r\n\tanimation-name: progress;\r\n\tanimation-duration: 4s;\r\n\tanimation-iteration-count: infinite;\r\n\tanimation-timing-function: linear;\r\n\ttransform: translate3d(0px, 0px, 0px);\r\n}\r\n\r\n/**\r\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\r\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\r\n * its relative size to the parent container:\r\n * 50%: 50 * 50 = 2500%\r\n * 100%: 50 * 100 - 50 (do not overflow): 4950%\r\n */\r\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4950%) scaleX(1) } }\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(280);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-text-button {\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tpadding: 4px;\r\n\ttext-align: center;\r\n\tcursor: pointer;\r\n\toutline-offset: 2px !important;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-text-button:hover {\r\n\ttext-decoration: none !important;\r\n}\r\n\r\n.monaco-button.disabled {\r\n\topacity: 0.4;\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-button > .codicon {\r\n\tmargin: 0 0.2em;\r\n\tcolor: inherit !important;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(282);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .selection-anchor {\r\n\tbackground-color: #007ACC;\r\n\twidth: 2px !important;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(284);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .bracket-match {\r\n\tbox-sizing: border-box;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(286);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .monaco-editor-overlaymessage {\r\n\tpadding-bottom: 8px;\r\n\tz-index: 10000;\r\n}\r\n\r\n@keyframes fadeIn {\r\n\tfrom { opacity: 0; }\r\n\tto { opacity: 1; }\r\n}\r\n.monaco-editor .monaco-editor-overlaymessage.fadeIn {\r\n\tanimation: fadeIn 150ms ease-out;\r\n}\r\n\r\n@keyframes fadeOut {\r\n\tfrom { opacity: 1; }\r\n\tto { opacity: 0; }\r\n}\r\n.monaco-editor .monaco-editor-overlaymessage.fadeOut {\r\n\tanimation: fadeOut 100ms ease-out;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage .message {\r\n\tpadding: 1px 4px;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage .anchor {\r\n\twidth: 0 !important;\r\n\theight: 0 !important;\r\n\tborder-color: transparent;\r\n\tborder-style: solid;\r\n\tz-index: 1000;\r\n\tborder-width: 8px;\r\n\tposition: absolute;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(288);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .lightbulb-glyph,\r\n.monaco-editor .codicon-lightbulb {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\theight: 16px;\r\n\twidth: 20px;\r\n\tpadding-left: 2px;\r\n}\r\n\r\n.monaco-editor .lightbulb-glyph:hover,\r\n.monaco-editor .codicon-lightbulb:hover {\r\n\tcursor: pointer;\r\n\t/* transform: scale(1.3, 1.3); */\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(290);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .codelens-decoration {\r\n\toverflow: hidden;\r\n\tdisplay: inline-block;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > span,\r\n.monaco-editor .codelens-decoration > a {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\twhite-space: nowrap;\r\n\tvertical-align: sub;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > a {\r\n\ttext-decoration: none;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > a:hover {\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-editor .codelens-decoration .codicon {\r\n\tvertical-align: middle;\r\n\tcolor: currentColor !important;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > a:hover .codicon::before {\r\n\tcursor: pointer;\r\n}\r\n\r\n@keyframes fadein {\r\n\t0% { opacity: 0; visibility: visible;}\r\n\t100% { opacity: 1; }\r\n}\r\n\r\n.monaco-editor .codelens-decoration.fadein {\r\n\tanimation: fadein 0.1s linear;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(292);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor.vs .dnd-target {\r\n\tborder-right: 2px dotted black;\r\n\tcolor: white; /* opposite of black */\r\n}\r\n.monaco-editor.vs-dark .dnd-target {\r\n\tborder-right: 2px dotted #AEAFAD;\r\n\tcolor: #51504f; /* opposite of #AEAFAD */\r\n}\r\n.monaco-editor.hc-black .dnd-target {\r\n\tborder-right: 2px dotted #fff;\r\n\tcolor: #000; /* opposite of #fff */\r\n}\r\n\r\n.monaco-editor.mouse-default .view-lines,\r\n.monaco-editor.vs-dark.mac.mouse-default .view-lines,\r\n.monaco-editor.hc-black.mac.mouse-default .view-lines {\r\n\tcursor: default;\r\n}\r\n.monaco-editor.mouse-copy .view-lines,\r\n.monaco-editor.vs-dark.mac.mouse-copy .view-lines,\r\n.monaco-editor.hc-black.mac.mouse-copy .view-lines {\r\n\tcursor: copy;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(294);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-custom-checkbox {\r\n\tmargin-left: 2px;\r\n\tfloat: left;\r\n\tcursor: pointer;\r\n\toverflow: hidden;\r\n\topacity: 0.7;\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tborder: 1px solid transparent;\r\n\tpadding: 1px;\r\n\tbox-sizing:\tborder-box;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-custom-checkbox:hover,\r\n.monaco-custom-checkbox.checked {\r\n\topacity: 1;\r\n}\r\n\r\n.hc-black .monaco-custom-checkbox {\r\n\tbackground: none;\r\n}\r\n\r\n.hc-black .monaco-custom-checkbox:hover {\r\n\tbackground: none;\r\n}\r\n\r\n.monaco-custom-checkbox.monaco-simple-checkbox {\r\n\theight: 18px;\r\n\twidth: 18px;\r\n\tborder: 1px solid transparent;\r\n\tborder-radius: 3px;\r\n\tmargin-right: 9px;\r\n\tmargin-left: 0px;\r\n\tpadding: 0px;\r\n\topacity: 1;\r\n\tbackground-size: 16px !important;\r\n}\r\n\r\n/* hide check when unchecked */\r\n.monaco-custom-checkbox.monaco-simple-checkbox.unchecked:not(.checked)::before {\r\n\tvisibility: hidden;;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(296);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* Find widget */\r\n.monaco-editor .find-widget {\r\n\tposition: absolute;\r\n\tz-index: 50;\r\n\theight: 33px;\r\n\toverflow: hidden;\r\n\tline-height: 19px;\r\n\ttransition: transform 200ms linear;\r\n\tpadding: 0 4px;\r\n\tbox-sizing: border-box;\r\n\ttransform: translateY(calc(-100% - 10px)); /* shadow (10px) */\r\n}\r\n\r\n.monaco-editor .find-widget textarea {\r\n\tmargin: 0px;\r\n}\r\n\r\n.monaco-editor .find-widget.hiddenEditor {\r\n\tdisplay: none;\r\n}\r\n\r\n/* Find widget when replace is toggled on */\r\n.monaco-editor .find-widget.replaceToggled > .replace-part {\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .find-widget.visible {\r\n\ttransform: translateY(0);\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-inputbox.synthetic-focus {\r\n\toutline: 1px solid -webkit-focus-ring-color;\r\n\toutline-offset: -1px;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-inputbox .input {\r\n\tbackground-color: transparent;\r\n\tmin-height: 0;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput .input {\r\n\tfont-size: 13px;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part,\r\n.monaco-editor .find-widget > .replace-part {\r\n\tmargin: 4px 0 0 17px;\r\n\tfont-size: 12px;\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part .monaco-inputbox,\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox {\r\n\tmin-height: 25px;\r\n}\r\n\r\n\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .mirror {\r\n\tpadding-right: 22px;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .wrapper > .input,\r\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .wrapper > .mirror,\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .input,\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .mirror {\r\n\tpadding-top: 2px;\r\n\tpadding-bottom: 2px;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part .find-actions {\r\n\theight: 25px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part .replace-actions {\r\n\theight: 25px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput {\r\n\tvertical-align: middle;\r\n\tdisplay: flex;\r\n\tflex:1;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {\r\n\t/* Make sure textarea inherits the width correctly */\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {\r\n\t/* Hide vertical scrollbar */\r\n\topacity: 0;\r\n}\r\n\r\n.monaco-editor .find-widget .matchesCount {\r\n\tdisplay: flex;\r\n\tflex: initial;\r\n\tmargin: 0 0 0 3px;\r\n\tpadding: 2px 0 0 2px;\r\n\theight: 25px;\r\n\tvertical-align: middle;\r\n\tbox-sizing: border-box;\r\n\ttext-align: center;\r\n\tline-height: 23px;\r\n}\r\n\r\n.monaco-editor .find-widget .button {\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tdisplay: flex;\r\n\tflex: initial;\r\n\tmargin-left: 3px;\r\n\tbackground-position: center center;\r\n\tbackground-repeat: no-repeat;\r\n\tcursor: pointer;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n\r\n.monaco-editor .find-widget .button.left {\r\n\tmargin-left: 0;\r\n\tmargin-right: 3px;\r\n}\r\n\r\n.monaco-editor .find-widget .button.wide {\r\n\twidth: auto;\r\n\tpadding: 1px 6px;\r\n\ttop: -1px;\r\n}\r\n\r\n.monaco-editor .find-widget .button.toggle {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 3px;\r\n\twidth: 18px;\r\n\theight: 100%;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor .find-widget .button.toggle.disabled {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .find-widget .disabled {\r\n\topacity: 0.3;\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part > .monaco-findInput {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tvertical-align: middle;\r\n\tflex: auto;\r\n\tflex-grow: 0;\r\n\tflex-shrink: 0;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {\r\n\tposition: absolute;\r\n\ttop: 3px;\r\n\tright: 2px;\r\n}\r\n\r\n/* REDUCED */\r\n.monaco-editor .find-widget.reduced-find-widget .matchesCount {\r\n\tdisplay:none;\r\n}\r\n\r\n/* NARROW (SMALLER THAN REDUCED) */\r\n.monaco-editor .find-widget.narrow-find-widget {\r\n\tmax-width: 257px !important;\r\n}\r\n\r\n/* COLLAPSED (SMALLER THAN NARROW) */\r\n.monaco-editor .find-widget.collapsed-find-widget {\r\n\tmax-width: 170px !important;\r\n}\r\n\r\n.monaco-editor .find-widget.collapsed-find-widget .button.previous,\r\n.monaco-editor .find-widget.collapsed-find-widget .button.next,\r\n.monaco-editor .find-widget.collapsed-find-widget .button.replace,\r\n.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,\r\n.monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {\r\n\tdisplay:none;\r\n}\r\n\r\n.monaco-editor .findMatch {\r\n\tanimation-duration: 0;\r\n\tanimation-name: inherit !important;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-sash {\r\n\tleft: 0 !important;\r\n}\r\n\r\n.monaco-editor.hc-black .find-widget .button:before {\r\n\tposition: relative;\r\n\ttop: 1px;\r\n\tleft: 2px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n/* ---------- Find input ---------- */\r\n\r\n.monaco-findInput {\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-findInput .monaco-inputbox {\r\n\tfont-size: 13px;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-findInput > .controls {\r\n\tposition: absolute;\r\n\ttop: 3px;\r\n\tright: 2px;\r\n}\r\n\r\n.vs .monaco-findInput.disabled {\r\n\tbackground-color: #E1E1E1;\r\n}\r\n\r\n/* Theming */\r\n.vs-dark .monaco-findInput.disabled {\r\n\tbackground-color: #333;\r\n}\r\n\r\n/* Highlighting */\r\n.monaco-findInput.highlight-0 .controls {\r\n\tanimation: monaco-findInput-highlight-0 100ms linear 0s;\r\n}\r\n.monaco-findInput.highlight-1 .controls {\r\n\tanimation: monaco-findInput-highlight-1 100ms linear 0s;\r\n}\r\n.hc-black .monaco-findInput.highlight-0 .controls,\r\n.vs-dark .monaco-findInput.highlight-0 .controls {\r\n\tanimation: monaco-findInput-highlight-dark-0 100ms linear 0s;\r\n}\r\n.hc-black .monaco-findInput.highlight-1 .controls,\r\n.vs-dark .monaco-findInput.highlight-1 .controls {\r\n\tanimation: monaco-findInput-highlight-dark-1 100ms linear 0s;\r\n}\r\n\r\n@keyframes monaco-findInput-highlight-0 {\r\n\t0% { background: rgba(253, 255, 0, 0.8); }\r\n\t100% { background: transparent; }\r\n}\r\n@keyframes monaco-findInput-highlight-1 {\r\n\t0% { background: rgba(253, 255, 0, 0.8); }\r\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\r\n\t99% { background: transparent; }\r\n}\r\n\r\n@keyframes monaco-findInput-highlight-dark-0 {\r\n\t0% { background: rgba(255, 255, 255, 0.44); }\r\n\t100% { background: transparent; }\r\n}\r\n@keyframes monaco-findInput-highlight-dark-1 {\r\n\t0% { background: rgba(255, 255, 255, 0.44); }\r\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\r\n\t99% { background: transparent; }\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(299);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .margin-view-overlays .codicon-folding-expanded,\r\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\r\n\tcursor: pointer;\r\n\topacity: 0;\r\n\ttransition: opacity 0.5s;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tfont-size: 140%;\r\n\tmargin-left: 2px;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays:hover .codicon,\r\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\r\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\r\n\topacity: 1;\r\n}\r\n\r\n.monaco-editor .inline-folded:after {\r\n\tcolor: grey;\r\n\tmargin: 0.1em 0.2em 0 0.2em;\r\n\tcontent: "⋯";\r\n\tdisplay: inline;\r\n\tline-height: 1em;\r\n\tcursor: pointer;\r\n}\r\n',""]),e.exports=t},function(e,t,n){var i=n(32),r=n(301);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .peekview-widget .head {\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tfont-size: 13px;\r\n\tmargin-left: 20px;\r\n\tcursor: pointer;\r\n\tmin-width: 0;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {\r\n\tfont-size: 0.9em;\r\n\tmargin-left: 0.5em;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .meta {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .dirname {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .filename {\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {\r\n\tcontent: '-';\r\n\tpadding: 0 0.3em;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions {\r\n\tflex: 1;\r\n\ttext-align: right;\r\n\tpadding-right: 2px;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-item {\r\n\tmargin-left: 4px;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label {\r\n\twidth: 16px;\r\n\theight: 100%;\r\n\tmargin: 0;\r\n\tline-height: inherit;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: center center;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label.codicon {\r\n\tmargin: 0;\r\n}\r\n\r\n.monaco-editor .peekview-widget > .body {\r\n\tborder-top: 1px solid;\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .codicon {\r\n\tmargin-right: 4px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(303);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n.monaco-editor .zone-widget {\r\n\tposition: absolute;\r\n\tz-index: 10;\r\n}\r\n\r\n\r\n.monaco-editor .zone-widget .zone-widget-container {\r\n\tborder-top-style: solid;\r\n\tborder-bottom-style: solid;\r\n\tborder-top-width: 0;\r\n\tborder-bottom-width: 0;\r\n\tposition: relative;\r\n}\r\n",""]),e.exports=t},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-dropdown {\r\n\theight: 100%;\r\n\tpadding: 0;\r\n}\r\n\r\n.monaco-dropdown > .dropdown-label {\r\n\tcursor: pointer;\r\n\theight: 100%;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(306);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* -- zone widget */\r\n.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {\r\n\tborder-top-width: 1px;\r\n\tborder-bottom-width: 1px;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .inline {\r\n\tdisplay: inline-block;\r\n\tvertical-align: top;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .messages {\r\n\theight: 100%;\r\n\twidth: 100%;\r\n\ttext-align: center;\r\n\tpadding: 3em 0;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree {\r\n\tline-height: 23px;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .reference {\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .reference-file {\r\n\tdisplay: inline-flex;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {\r\n\tcolor: inherit !important;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {\r\n\tmargin-right: 12px;\r\n\tmargin-left: auto;\r\n}\r\n\r\n/* High Contrast Theming */\r\n\r\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file {\r\n\tfont-weight: bold;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(308);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-split-view2 {\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-split-view2 > .sash-container {\r\n\tposition: absolute;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tpointer-events: none;\r\n}\r\n\r\n.monaco-split-view2 > .sash-container > .monaco-sash {\r\n\tpointer-events: initial;\r\n}\r\n\r\n.monaco-split-view2 > .split-view-container {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\twhite-space: nowrap;\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-split-view2 > .split-view-container > .split-view-view {\r\n\twhite-space: initial;\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-split-view2 > .split-view-container > .split-view-view:not(.visible) {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-split-view2.vertical > .split-view-container > .split-view-view {\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-split-view2.horizontal > .split-view-container > .split-view-view {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-split-view2.separator-border > .split-view-container > .split-view-view:not(:first-child)::before {\r\n\tcontent: ' ';\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 5;\r\n\tpointer-events: none;\r\n\tbackground-color: var(--separator-border);\r\n}\r\n\r\n.monaco-split-view2.separator-border.horizontal > .split-view-container > .split-view-view:not(:first-child)::before {\r\n\theight: 100%;\r\n\twidth: 1px;\r\n}\r\n\r\n.monaco-split-view2.separator-border.vertical > .split-view-container > .split-view-view:not(:first-child)::before {\r\n\theight: 1px;\r\n\twidth: 100%;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(310);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .goto-definition-link {\r\n\ttext-decoration: underline;\r\n\tcursor: pointer;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(312);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* marker zone */\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .severity-icon {\r\n\tdisplay: inline-block;\r\n\tvertical-align: text-top;\r\n\tmargin-right: 4px;\r\n}\r\n\r\n.monaco-editor .marker-widget {\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .marker-widget > .stale {\r\n\topacity: 0.6;\r\n\tfont-style: italic;\r\n}\r\n\r\n.monaco-editor .marker-widget .title {\r\n\tdisplay: inline-block;\r\n\tpadding-right: 5px;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer {\r\n\tposition: absolute;\r\n\twhite-space: pre;\r\n\tuser-select: text;\r\n\t-webkit-user-select: text;\r\n\t-ms-user-select: text;\r\n\tpadding: 8px 12px 0 20px;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message .details {\r\n\tpadding-left: 6px;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message .source,\r\n.monaco-editor .marker-widget .descriptioncontainer .message span.code {\r\n\topacity: 0.6;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {\r\n\topacity: 0.6;\r\n\tcolor: inherit;\r\n}\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {\r\n\tcontent: '(';\r\n}\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {\r\n\tcontent: ')';\r\n}\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\r\n\ttext-decoration: underline;\r\n\t/** Hack to force underline to show **/\r\n\tborder-bottom: 1px solid transparent;\r\n\ttext-underline-position: under;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .filename {\r\n\tcursor: pointer;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(314);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.colorpicker-widget {\r\n\theight: 190px;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-editor .colorpicker-hover:focus {\r\n\toutline: none;\r\n}\r\n\r\n\r\n/* Header */\r\n\r\n.colorpicker-header {\r\n\tdisplay: flex;\r\n\theight: 24px;\r\n\tposition: relative;\r\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\r\n\tbackground-size: 9px 9px;\r\n\timage-rendering: pixelated;\r\n}\r\n\r\n.colorpicker-header .picked-color {\r\n\twidth: 216px;\r\n\ttext-align: center;\r\n\tline-height: 24px;\r\n\tcursor: pointer;\r\n\tcolor: white;\r\n\tflex: 1;\r\n\ttext-align: center;\r\n}\r\n\r\n.colorpicker-header .picked-color.light {\r\n\tcolor: black;\r\n}\r\n\r\n.colorpicker-header .original-color {\r\n\twidth: 74px;\r\n\tz-index: inherit;\r\n\tcursor: pointer;\r\n}\r\n\r\n\r\n/* Body */\r\n\r\n.colorpicker-body {\r\n\tdisplay: flex;\r\n\tpadding: 8px;\r\n\tposition: relative;\r\n}\r\n\r\n.colorpicker-body .saturation-wrap {\r\n\toverflow: hidden;\r\n\theight: 150px;\r\n\tposition: relative;\r\n\tmin-width: 220px;\r\n\tflex: 1;\r\n}\r\n\r\n.colorpicker-body .saturation-box {\r\n\theight: 150px;\r\n\tposition: absolute;\r\n}\r\n\r\n.colorpicker-body .saturation-selection {\r\n\twidth: 9px;\r\n\theight: 9px;\r\n\tmargin: -5px 0 0 -5px;\r\n\tborder: 1px solid rgb(255, 255, 255);\r\n\tborder-radius: 100%;\r\n\tbox-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);\r\n\tposition: absolute;\r\n}\r\n\r\n.colorpicker-body .strip {\r\n\twidth: 25px;\r\n\theight: 150px;\r\n}\r\n\r\n.colorpicker-body .hue-strip {\r\n\tposition: relative;\r\n\tmargin-left: 8px;\r\n\tcursor: grab;\r\n\tbackground: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);\r\n}\r\n\r\n.colorpicker-body .opacity-strip {\r\n\tposition: relative;\r\n\tmargin-left: 8px;\r\n\tcursor: grab;\r\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\r\n\tbackground-size: 9px 9px;\r\n\timage-rendering: pixelated;\r\n}\r\n\r\n.colorpicker-body .strip.grabbing {\r\n\tcursor: grabbing;\r\n}\r\n\r\n.colorpicker-body .slider {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: -2px;\r\n\twidth: calc(100% + 4px);\r\n\theight: 4px;\r\n\tbox-sizing: border-box;\r\n\tborder: 1px solid rgba(255, 255, 255, 0.71);\r\n\tbox-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);\r\n}\r\n\r\n.colorpicker-body .strip .overlay {\r\n\theight: 150px;\r\n\tpointer-events: none;\r\n}\r\n',""]),e.exports=t},function(e,t,n){var i=n(32),r=n(316);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-hover {\r\n\tcursor: default;\r\n\tposition: absolute;\r\n\toverflow: hidden;\r\n\tz-index: 50;\r\n\tuser-select: text;\r\n\t-webkit-user-select: text;\r\n\t-ms-user-select: text;\r\n\tbox-sizing: initial;\r\n\tanimation: fadein 100ms linear;\r\n\tline-height: 1.5em;\r\n}\r\n\r\n.monaco-hover.hidden {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-hover .hover-contents {\r\n\tpadding: 4px 8px;\r\n}\r\n\r\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {\r\n\tmax-width: 500px;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {\r\n\t/* This is a strange rule but it avoids https://github.com/microsoft/vscode/issues/96795, just 100vw on its own caused the actual hover width to increase */\r\n\tmin-width: calc(100% + 100vw);\r\n}\r\n\r\n.monaco-hover p,\r\n.monaco-hover .code,\r\n.monaco-hover ul {\r\n\tmargin: 8px 0;\r\n}\r\n\r\n.monaco-hover code {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-hover hr {\r\n\tmargin-top: 4px;\r\n\tmargin-bottom: -4px;\r\n\tmargin-left: -10px;\r\n\tmargin-right: -10px;\r\n\theight: 1px;\r\n}\r\n\r\n.monaco-hover p:first-child,\r\n.monaco-hover .code:first-child,\r\n.monaco-hover ul:first-child {\r\n\tmargin-top: 0;\r\n}\r\n\r\n.monaco-hover p:last-child,\r\n.monaco-hover .code:last-child,\r\n.monaco-hover ul:last-child {\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n/* MarkupContent Layout */\r\n.monaco-hover ul {\r\n\tpadding-left: 20px;\r\n}\r\n.monaco-hover ol {\r\n\tpadding-left: 20px;\r\n}\r\n\r\n.monaco-hover li > p {\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n.monaco-hover li > ul {\r\n\tmargin-top: 0;\r\n}\r\n\r\n.monaco-hover code {\r\n\tborder-radius: 3px;\r\n\tpadding: 0 0.4em;\r\n}\r\n\r\n.monaco-hover .monaco-tokenized-source {\r\n\twhite-space: pre-wrap;\r\n\tword-break: break-all;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar {\r\n\tfont-size: 12px;\r\n\tline-height: 22px;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar .actions {\r\n\tdisplay: flex;\r\n\tpadding: 0px 8px;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar .actions .action-container {\r\n\tmargin-right: 16px;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {\r\n\tpadding-right: 4px;\r\n}\r\n\r\n.monaco-hover .markdown-hover .hover-contents .codicon {\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.monaco-hover .hover-contents a.code-link:before {\r\n\tcontent: '(';\r\n}\r\n.monaco-hover .hover-contents a.code-link:after {\r\n\tcontent: ')';\r\n}\r\n\r\n.monaco-hover .hover-contents a.code-link {\r\n\tcolor: inherit;\r\n}\r\n.monaco-hover .hover-contents a.code-link > span {\r\n\ttext-decoration: underline;\r\n\t/** Hack to force underline to show **/\r\n\tborder-bottom: 1px solid transparent;\r\n\ttext-underline-position: under;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(318);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n.monaco-editor .detected-link,\r\n.monaco-editor .detected-link-active {\r\n\ttext-decoration: underline;\r\n\ttext-underline-position: under;\r\n}\r\n\r\n.monaco-editor .detected-link-active {\r\n\tcursor: pointer;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(320);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .parameter-hints-widget {\r\n\tz-index: 10;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tline-height: 1.5em;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget > .wrapper {\r\n\tmax-width: 440px;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.multiple {\r\n\tmin-height: 3.3em;\r\n\tpadding: 0;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.visible {\r\n\ttransition: left .05s ease-in-out;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget p,\r\n.monaco-editor .parameter-hints-widget ul {\r\n\tmargin: 8px 0;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .monaco-scrollable-element,\r\n.monaco-editor .parameter-hints-widget .body {\r\n\tdisplay: flex;\r\n\tflex: 1;\r\n\tflex-direction: column;\r\n\tmin-height: 100%;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .signature {\r\n\tpadding: 4px 5px;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs {\r\n\tpadding: 0 10px 0 5px;\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs.empty {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs .markdown-docs {\r\n\twhite-space: initial;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs .markdown-docs code {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs .code {\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs code {\r\n\tborder-radius: 3px;\r\n\tpadding: 0 0.4em;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .controls {\r\n\tdisplay: none;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tmin-width: 22px;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.multiple .controls {\r\n\tdisplay: flex;\r\n\tpadding: 0 2px;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.multiple .button {\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tbackground-repeat: no-repeat;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .button.previous {\r\n\tbottom: 24px;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .overloads {\r\n\ttext-align: center;\r\n\theight: 12px;\r\n\tline-height: 12px;\r\n\topacity: 0.5;\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .signature .parameter.active {\r\n\tfont-weight: bold;\r\n\ttext-decoration: underline;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {\r\n\tfont-weight: bold;\r\n\tmargin-right: 0.5em;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(322);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .on-type-rename-decoration {\r\n\tborder-left: 1px solid transparent;\r\n\t/* So border can be transparent */\r\n\tbackground-clip: padding-box;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(324);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .rename-box {\r\n\tz-index: 100;\r\n\tcolor: inherit;\r\n}\r\n\r\n.monaco-editor .rename-box.preview {\r\n\tpadding: 3px 3px 0 3px;\r\n}\r\n\r\n.monaco-editor .rename-box .rename-input {\r\n\tpadding: 3px;\r\n\twidth: calc(100% - 6px);\r\n}\r\n\r\n.monaco-editor .rename-box .rename-label {\r\n\tdisplay: none;\r\n\topacity: .8;\r\n}\r\n\r\n.monaco-editor .rename-box.preview .rename-label {\r\n\tdisplay: inherit;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(326);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .snippet-placeholder {\r\n\tmin-width: 2px;\r\n\toutline-style: solid;\r\n\toutline-width: 1px;\r\n}\r\n\r\n.monaco-editor .finish-snippet-placeholder {\r\n\toutline-style: solid;\r\n\toutline-width: 1px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(328);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n/* Suggest widget*/\r\n.monaco-editor .suggest-widget {\r\n\tz-index: 40;\r\n}\r\n\r\n/** Initial widths **/\r\n\r\n.monaco-editor .suggest-widget {\r\n\twidth: 430px;\r\n}\r\n\r\n.monaco-editor .suggest-widget > .message,\r\n.monaco-editor .suggest-widget > .tree,\r\n.monaco-editor .suggest-widget > .details {\r\n\twidth: 100%;\r\n\tborder-style: solid;\r\n\tborder-width: 1px;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor.hc-black .suggest-widget > .message,\r\n.monaco-editor.hc-black .suggest-widget > .tree,\r\n.monaco-editor.hc-black .suggest-widget > .details {\r\n\tborder-width: 2px;\r\n}\r\n\r\n/** Adjust width when docs are expanded to the side **/\r\n.monaco-editor .suggest-widget.docs-side {\r\n\twidth: 660px;\r\n}\r\n\r\n.monaco-editor .suggest-widget.docs-side > .tree,\r\n.monaco-editor .suggest-widget.docs-side > .details {\r\n\twidth: 50%;\r\n\tfloat: left;\r\n}\r\n\r\n.monaco-editor .suggest-widget.docs-side.list-right > .tree,\r\n.monaco-editor .suggest-widget.docs-side.list-right > .details {\r\n\tfloat: right;\r\n}\r\n\r\n/* MarkupContent Layout */\r\n.monaco-editor .suggest-widget > .details ul {\r\n\tpadding-left: 20px;\r\n}\r\n.monaco-editor .suggest-widget > .details ol {\r\n\tpadding-left: 20px;\r\n}\r\n\r\n.monaco-editor .suggest-widget > .details p code {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n/* Styles for Message element for when widget is loading or is empty */\r\n.monaco-editor .suggest-widget > .message {\r\n\tpadding-left: 22px;\r\n}\r\n\r\n/** Styles for the list element **/\r\n.monaco-editor .suggest-widget > .tree {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n/** Styles for each row in the list element **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\r\n\tdisplay: flex;\r\n\t-mox-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tpadding-right: 10px;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: 2px 2px;\r\n\twhite-space: nowrap;\r\n\tcursor: pointer;\r\n\ttouch-action: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents {\r\n\tflex: 1;\r\n\theight: 100%;\r\n\toverflow: hidden;\r\n\tpadding-left: 2px;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main {\r\n\tdisplay: flex;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: pre;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\r\n\tfont-weight: bold;\r\n}\r\n\r\n/** Status Bar **/\r\n\r\n.monaco-editor .suggest-widget > .suggest-status-bar {\r\n\tvisibility: hidden;\r\n\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\r\n\tbox-sizing: border-box;\r\n\r\n\tdisplay: flex;\r\n\tflex-flow: row nowrap;\r\n\tjustify-content: space-between;\r\n\r\n\twidth: 100%;\r\n\r\n\tfont-size: 80%;\r\n\r\n\tborder-left-width: 1px;\r\n\tborder-left-style: solid;\r\n\tborder-right-width: 1px;\r\n\tborder-right-style: solid;\r\n\tborder-bottom-width: 1px;\r\n\tborder-bottom-style: solid;\r\n\r\n\tpadding: 0 8px 0 4px;\r\n}\r\n\r\n.monaco-editor .suggest-widget.list-right.docs-side > .suggest-status-bar {\r\n\tleft: auto;\r\n\tright: 0;\r\n}\r\n.monaco-editor .suggest-widget.docs-side > .suggest-status-bar {\r\n\twidth: 50%;\r\n}\r\n\r\n/** ReadMore Icon styles **/\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore::before {\r\n\tcolor: inherit;\r\n\topacity: 1;\r\n\tfont-size: 14px;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close {\r\n\tposition: absolute;\r\n\ttop: 2px;\r\n\tright: 2px;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .codicon-close:hover,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore:hover {\r\n\topacity: 1;\r\n}\r\n\r\n/** signature, qualifier, type/details opacity **/\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {\r\n\topacity: 0.7;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label {\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label {\r\n\tmargin-left: 4px;\r\n\topacity: 0.4;\r\n\tfont-size: 90%;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\tline-height: 17px;\r\n\talign-self: center;\r\n}\r\n\r\n/** Type Info and icon next to the label in the focused completion item **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {\r\n\tmargin-left: 0.8em;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label > .monaco-tokenized-source {\r\n\tdisplay: inline;\r\n}\r\n\r\n/** Details: if using CompletionItem#details, show on focus **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label,\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {\r\n\tdisplay: inline;\r\n}\r\n\r\n/** Details: if using CompletionItemLabel#details, always show **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .right > .details-label,\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label) > .contents > .main > .right > .details-label {\r\n\tdisplay: inline;\r\n}\r\n\r\n/** Ellipsis on hover **/\r\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {\r\n\twidth: calc(100% - 26px);\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left {\r\n\tflex-shrink: 1;\r\n\tflex-grow: 1;\r\n\toverflow: hidden;\r\n}\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .monaco-icon-label {\r\n\tflex-shrink: 0;\r\n}\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .left > .monaco-icon-label {\r\n\tmax-width: 100%;\r\n}\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .left > .monaco-icon-label {\r\n\tflex-shrink: 1;\r\n}\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {\r\n\toverflow: hidden;\r\n\tmargin-left: 16px;\r\n\tflex-shrink: 0;\r\n\tmax-width: 45%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\tright: 10px;\r\n\twidth: 18px;\r\n\theight: 18px;\r\n\tvisibility: hidden;\r\n}\r\n\r\n/** Do NOT display ReadMore when docs is side/below **/\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\r\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\r\n\tdisplay: none !important;\r\n}\r\n\r\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .right > .readMore {\r\n\tdisplay: none;\r\n}\r\n/** Focused item can show ReadMore, but can't when docs is side/below **/\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\r\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover > .contents > .main > .right > .readMore {\r\n\tvisibility: visible;\r\n}\r\n\r\n/** Styles for each row in the list **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\r\n\topacity: 0.66;\r\n\ttext-decoration: unset;\r\n}\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated > .monaco-icon-label-container > .monaco-icon-name-container {\r\n\ttext-decoration: line-through;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\r\n\tdisplay: block;\r\n\theight: 16px;\r\n\twidth: 16px;\r\n\tmargin-left: 2px;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-size: 80%;\r\n\tbackground-position: center;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin-right: 4px;\r\n}\r\n\r\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,\r\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\r\n\tmargin: 0 0 0 0.3em;\r\n\tborder: 0.1em solid #000;\r\n\twidth: 0.7em;\r\n\theight: 0.7em;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n/** Styles for the docs of the completion item in focus **/\r\n.monaco-editor .suggest-widget .details {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details.no-docs {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget.docs-below .details {\r\n\tborder-top-width: 0;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element {\r\n\tflex: 1;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body {\r\n\tposition: absolute;\r\n\tbox-sizing: border-box;\r\n\theight: 100%;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .header > .type {\r\n\tflex: 2;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\topacity: 0.7;\r\n\tword-break: break-all;\r\n\tmargin: 0 24px 0 0;\r\n\tpadding: 4px 0 12px 5px;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs {\r\n\tmargin: 0;\r\n\tpadding: 4px 5px;\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs {\r\n\tpadding: 0;\r\n\twhite-space: initial;\r\n\tmin-height: calc(1rem + 8px);\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div,\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > span:not(:empty) {\r\n\tpadding: 4px 5px;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:first-child {\r\n\tmargin-top: 0;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:last-child\t {\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs .code {\r\n\twhite-space: pre-wrap;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > .docs.markdown-docs .codicon {\r\n\tvertical-align: sub;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details > .monaco-scrollable-element > .body > p:empty {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .details code {\r\n\tborder-radius: 3px;\r\n\tpadding: 0 0.4em;\r\n}\r\n\r\n\r\n/* replace/insert decorations */\r\n\r\n.monaco-editor .suggest-insert-unexpected {\r\n\tfont-style: italic;\r\n}\r\n\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(330);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\r\n\tvisibility: visible;\r\n}\r\n.monaco-editor .suggest-widget.with-status-bar > .tree {\r\n\tmargin-bottom: 18px;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\r\n\tmin-height: 18px;\r\n\topacity: 0.5;\r\n\tcolor: inherit;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\r\n\tmargin-right: 0;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\r\n\tcontent: ', ';\r\n\tmargin-right: 0.3em;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,\r\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {\r\n\twidth: 100%;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(332);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-list .monaco-list-row.focused.selected .outline-element .monaco-highlighted-label,\r\n.monaco-list .monaco-list-row.focused.selected .outline-element-decoration {\r\n\t/* make sure selection color wins when a label is being selected */\r\n\tcolor: inherit !important;\r\n}\r\n\r\n.monaco-list .outline-element {\r\n\tdisplay: flex;\r\n\tflex: 1;\r\n\tflex-flow: row nowrap;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-list .outline-element .monaco-highlighted-label {\r\n\tcolor: var(--outline-element-color);\r\n}\r\n\r\n.monaco-list .outline-element .outline-element-decoration {\r\n\topacity: 0.75;\r\n\tfont-size: 90%;\r\n\tfont-weight: 600;\r\n\tpadding: 0 12px 0 5px;\r\n\tmargin-left: auto;\r\n\ttext-align: center;\r\n\tcolor: var(--outline-element-color);\r\n}\r\n\r\n.monaco-list .outline-element .outline-element-decoration.bubble {\r\n\tfont-family: codicon;\r\n\tfont-size: 14px;\r\n\topacity: 0.4;\r\n}\r\n\r\n.monaco-list .outline-element .outline-element-icon {\r\n\tmargin-right: 4px;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(334);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-icon-label.deprecated {\r\n\ttext-decoration: line-through;\r\n\topacity: 0.66;\r\n}\r\n",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(336);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .accessibilityHelpWidget {\r\n\tpadding: 10px;\r\n\tvertical-align: middle;\r\n\toverflow: scroll;\r\n}",""]),e.exports=t},function(e,t,n){var i=n(32),r=n(338);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,'/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .iPadShowKeyboard {\r\n\twidth: 58px;\r\n\tmin-width: 0;\r\n\theight: 36px;\r\n\tmin-height: 0;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tposition: absolute;\r\n\tresize: none;\r\n\toverflow: hidden;\r\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzY0IDQuMDEwNDJINC4wMDc3OUw0LjAwNzc5IDMyLjAyODZINDguMDM2NFY0LjAxMDQyWk00LjAwNzc5IDAuMDA3ODEyNUMxLjc5NzIxIDAuMDA3ODEyNSAwLjAwNTE4Nzk5IDEuNzk5ODQgMC4wMDUxODc5OSA0LjAxMDQyVjMyLjAyODZDMC4wMDUxODc5OSAzNC4yMzkyIDEuNzk3MjEgMzYuMDMxMiA0LjAwNzc5IDM2LjAzMTJINDguMDM2NEM1MC4yNDcgMzYuMDMxMiA1Mi4wMzkgMzQuMjM5MiA1Mi4wMzkgMzIuMDI4NlY0LjAxMDQyQzUyLjAzOSAxLjc5OTg0IDUwLjI0NyAwLjAwNzgxMjUgNDguMDM2NCAwLjAwNzgxMjVINC4wMDc3OVpNOC4wMTA0MiA4LjAxMzAySDEyLjAxM1YxMi4wMTU2SDguMDEwNDJWOC4wMTMwMlpNMjAuMDE4MiA4LjAxMzAySDE2LjAxNTZWMTIuMDE1NkgyMC4wMTgyVjguMDEzMDJaTTI0LjAyMDggOC4wMTMwMkgyOC4wMjM0VjEyLjAxNTZIMjQuMDIwOFY4LjAxMzAyWk0zNi4wMjg2IDguMDEzMDJIMzIuMDI2VjEyLjAxNTZIMzYuMDI4NlY4LjAxMzAyWk00MC4wMzEyIDguMDEzMDJINDQuMDMzOVYxMi4wMTU2SDQwLjAzMTJWOC4wMTMwMlpNMTYuMDE1NiAxNi4wMTgySDguMDEwNDJWMjAuMDIwOEgxNi4wMTU2VjE2LjAxODJaTTIwLjAxODIgMTYuMDE4MkgyNC4wMjA4VjIwLjAyMDhIMjAuMDE4MlYxNi4wMTgyWk0zMi4wMjYgMTYuMDE4MkgyOC4wMjM0VjIwLjAyMDhIMzIuMDI2VjE2LjAxODJaTTQ0LjAzMzkgMTYuMDE4MlYyMC4wMjA4SDM2LjAyODZWMTYuMDE4Mkg0NC4wMzM5Wk0xMi4wMTMgMjQuMDIzNEg4LjAxMDQyVjI4LjAyNkgxMi4wMTNWMjQuMDIzNFpNMTYuMDE1NiAyNC4wMjM0SDM2LjAyODZWMjguMDI2SDE2LjAxNTZWMjQuMDIzNFpNNDQuMDMzOSAyNC4wMjM0SDQwLjAzMTJWMjguMDI2SDQ0LjAzMzlWMjQuMDIzNFoiIGZpbGw9IiM0MjQyNDIiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMCI+DQo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=") center center no-repeat;\r\n\tborder: 4px solid #F6F6F6;\r\n\tborder-radius: 4px;\r\n}\r\n\r\n.monaco-editor.vs-dark .iPadShowKeyboard {\r\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzY0IDQuMDEwNDJINC4wMDc3OUw0LjAwNzc5IDMyLjAyODZINDguMDM2NFY0LjAxMDQyWk00LjAwNzc5IDAuMDA3ODEyNUMxLjc5NzIxIDAuMDA3ODEyNSAwLjAwNTE4Nzk5IDEuNzk5ODQgMC4wMDUxODc5OSA0LjAxMDQyVjMyLjAyODZDMC4wMDUxODc5OSAzNC4yMzkyIDEuNzk3MjEgMzYuMDMxMiA0LjAwNzc5IDM2LjAzMTJINDguMDM2NEM1MC4yNDcgMzYuMDMxMiA1Mi4wMzkgMzQuMjM5MiA1Mi4wMzkgMzIuMDI4NlY0LjAxMDQyQzUyLjAzOSAxLjc5OTg0IDUwLjI0NyAwLjAwNzgxMjUgNDguMDM2NCAwLjAwNzgxMjVINC4wMDc3OVpNOC4wMTA0MiA4LjAxMzAySDEyLjAxM1YxMi4wMTU2SDguMDEwNDJWOC4wMTMwMlpNMjAuMDE4MiA4LjAxMzAySDE2LjAxNTZWMTIuMDE1NkgyMC4wMTgyVjguMDEzMDJaTTI0LjAyMDggOC4wMTMwMkgyOC4wMjM0VjEyLjAxNTZIMjQuMDIwOFY4LjAxMzAyWk0zNi4wMjg2IDguMDEzMDJIMzIuMDI2VjEyLjAxNTZIMzYuMDI4NlY4LjAxMzAyWk00MC4wMzEyIDguMDEzMDJINDQuMDMzOVYxMi4wMTU2SDQwLjAzMTJWOC4wMTMwMlpNMTYuMDE1NiAxNi4wMTgySDguMDEwNDJWMjAuMDIwOEgxNi4wMTU2VjE2LjAxODJaTTIwLjAxODIgMTYuMDE4MkgyNC4wMjA4VjIwLjAyMDhIMjAuMDE4MlYxNi4wMTgyWk0zMi4wMjYgMTYuMDE4MkgyOC4wMjM0VjIwLjAyMDhIMzIuMDI2VjE2LjAxODJaTTQ0LjAzMzkgMTYuMDE4MlYyMC4wMjA4SDM2LjAyODZWMTYuMDE4Mkg0NC4wMzM5Wk0xMi4wMTMgMjQuMDIzNEg4LjAxMDQyVjI4LjAyNkgxMi4wMTNWMjQuMDIzNFpNMTYuMDE1NiAyNC4wMjM0SDM2LjAyODZWMjguMDI2SDE2LjAxNTZWMjQuMDIzNFpNNDQuMDMzOSAyNC4wMjM0SDQwLjAzMTJWMjguMDI2SDQ0LjAzMzlWMjQuMDIzNFoiIGZpbGw9IiNDNUM1QzUiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMCI+DQo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=") center center no-repeat;\r\n\tborder: 4px solid #252526;\r\n}',""]),e.exports=t},function(e,t,n){var i=n(32),r=n(340);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};i(r,o);e.exports=r.locals||{}},function(e,t,n){(t=n(33)(!1)).push([e.i,"/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\n.monaco-editor .tokens-inspect-widget {\r\n\tz-index: 50;\r\n\tuser-select: text;\r\n\t-webkit-user-select: text;\r\n\t-ms-user-select: text;\r\n\tpadding: 10px;\r\n}\r\n\r\n.tokens-inspect-separator {\r\n\theight: 1px;\r\n\tborder: 0;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-token {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-token-length {\r\n\tfont-weight: normal;\r\n\tfont-size: 60%;\r\n\tfloat: right;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-metadata-table {\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-metadata-value {\r\n\tfont-family: var(--monaco-monospace-font);\r\n\ttext-align: right;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-token-type {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n",""]),e.exports=t},,function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationTokenSource",(function(){return l.a})),n.d(t,"Emitter",(function(){return l.b})),n.d(t,"KeyCode",(function(){return l.c})),n.d(t,"KeyMod",(function(){return l.d})),n.d(t,"Position",(function(){return l.g})),n.d(t,"Range",(function(){return l.h})),n.d(t,"Selection",(function(){return l.i})),n.d(t,"SelectionDirection",(function(){return l.j})),n.d(t,"MarkerSeverity",(function(){return l.e})),n.d(t,"MarkerTag",(function(){return l.f})),n.d(t,"Uri",(function(){return l.l})),n.d(t,"Token",(function(){return l.k})),n.d(t,"editor",(function(){return l.m})),n.d(t,"languages",(function(){return l.n}));var i,r,o,s,a,l=n(108),c=n(29);!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(i||(i={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(r||(r={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(o||(o={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(s||(s={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(a||(a={}));var d=function(){function e(e,t,n){this._onDidChange=new c.a,this._onDidExtraLibsChange=new c.a,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(n),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n,i=this;if(n=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var r=1;return this._removedExtraLibs[n]&&(r=this._removedExtraLibs[n]+1),this._extraLibs[n]&&(r=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=i._extraLibs[n];e&&e.version===r&&(delete i._extraLibs[n],i._removedExtraLibs[n]=r,i._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var n=0,i=e;n<i.length;n++){var r=i[n],o=(t=r.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),r.content),s=1;this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:o,version:s}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setWorkerOptions=function(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}(),h=new d({allowNonTsExtensions:!0,target:s.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{}),u=new d({allowNonTsExtensions:!0,allowJs:!0,target:s.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1},{});function p(){return Promise.resolve().then(n.bind(null,412))}c.g.typescript={ModuleKind:i,JsxEmit:r,NewLineKind:o,ScriptTarget:s,ModuleResolutionKind:a,typescriptVersion:"4.0.3",typescriptDefaults:h,javascriptDefaults:u,getTypeScriptWorker:function(){return p().then((function(e){return e.getTypeScriptWorker()}))},getJavaScriptWorker:function(){return p().then((function(e){return e.getJavaScriptWorker()}))}},c.g.onLanguage("typescript",(function(){return p().then((function(e){return e.setupTypeScript(h)}))})),c.g.onLanguage("javascript",(function(){return p().then((function(e){return e.setupJavaScript(u)}))}));var m=n(52),g=function(){function e(e,t,n){this._onDidChange=new m.a,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),f={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},b={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},_=new g("css",f,b),v=new g("scss",f,b),w=new g("less",f,b);function y(){return Promise.resolve().then(n.bind(null,414))}m.f.css={cssDefaults:_,lessDefaults:w,scssDefaults:v},m.f.onLanguage("less",(function(){y().then((function(e){return e.setupMode(w)}))})),m.f.onLanguage("scss",(function(){y().then((function(e){return e.setupMode(v)}))})),m.f.onLanguage("css",(function(){y().then((function(e){return e.setupMode(_)}))}));var C=n(59),x=new(function(){function e(e,t,n){this._onDidChange=new C.a,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}())("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});C.f.json={jsonDefaults:x},C.f.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),C.f.onLanguage("json",(function(){Promise.resolve().then(n.bind(null,413)).then((function(e){return e.setupMode(x)}))}));var S=n(47),k=function(){function e(e,t,n){this._onDidChange=new S.a,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),E={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},T={format:E,suggest:{html5:!0}},L={format:E,suggest:{html5:!0,razor:!0}};function N(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===I,documentFormattingEdits:e===I,documentRangeFormattingEdits:e===I}}var I="html",D=new k(I,{format:E,suggest:{html5:!0,angular1:!0,ionic:!0}},N(I)),O=new k("handlebars",T,N("handlebars")),A=new k("razor",L,N("razor"));function R(){return Promise.resolve().then(n.bind(null,415))}S.f.html={htmlDefaults:D,razorDefaults:A,handlebarDefaults:O},S.f.onLanguage(I,(function(){R().then((function(e){return e.setupMode(D)}))})),S.f.onLanguage("handlebars",(function(){R().then((function(e){return e.setupMode(O)}))})),S.f.onLanguage("razor",(function(){R().then((function(e){return e.setupMode(A)}))}));var M=n(95),P={},F={},W=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return F[t]||(F[t]=new e(t)),F[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,P[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function z(e){var t=e.id;P[t]=e,M.a.register(e);var n=W.getOrCreate(t);M.a.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),M.a.onLanguage(t,(function(){n.load().then((function(e){M.a.setLanguageConfiguration(t,e.conf)}))}))}z({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return Promise.resolve().then(n.bind(null,347))}}),z({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return Promise.resolve().then(n.bind(null,348))}}),z({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return Promise.resolve().then(n.bind(null,349))}}),z({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return Promise.resolve().then(n.bind(null,350))}}),z({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return Promise.resolve().then(n.bind(null,351))}}),z({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return Promise.resolve().then(n.bind(null,352))}}),z({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return Promise.resolve().then(n.bind(null,353))}}),z({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return Promise.resolve().then(n.bind(null,354))}}),z({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return Promise.resolve().then(n.bind(null,354))}}),z({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return Promise.resolve().then(n.bind(null,355))}}),z({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return Promise.resolve().then(n.bind(null,356))}}),z({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return Promise.resolve().then(n.bind(null,357))}}),z({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return Promise.resolve().then(n.bind(null,358))}}),z({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return Promise.resolve().then(n.bind(null,359))}}),z({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return Promise.resolve().then(n.bind(null,360))}}),z({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return Promise.resolve().then(n.bind(null,361))}}),z({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return Promise.resolve().then(n.bind(null,362))}}),z({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return Promise.resolve().then(n.bind(null,363))}}),z({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return Promise.resolve().then(n.bind(null,364))}}),z({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return Promise.resolve().then(n.bind(null,365))}}),z({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return Promise.resolve().then(n.bind(null,366))}}),z({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return Promise.resolve().then(n.bind(null,367))}}),z({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return Promise.resolve().then(n.bind(null,368))}}),z({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return Promise.resolve().then(n.bind(null,369))}}),z({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return Promise.resolve().then(n.bind(null,370))}}),z({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return Promise.resolve().then(n.bind(null,371))}}),z({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return Promise.resolve().then(n.bind(null,372))}}),z({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return Promise.resolve().then(n.bind(null,373))}}),z({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return Promise.resolve().then(n.bind(null,374))}}),z({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return Promise.resolve().then(n.bind(null,375))}}),z({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return Promise.resolve().then(n.bind(null,376))}}),z({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return Promise.resolve().then(n.bind(null,377))}}),z({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return Promise.resolve().then(n.bind(null,378))}}),z({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return Promise.resolve().then(n.bind(null,379))}}),z({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return Promise.resolve().then(n.bind(null,380))}}),z({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return Promise.resolve().then(n.bind(null,381))}}),z({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return Promise.resolve().then(n.bind(null,382))}}),z({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return Promise.resolve().then(n.bind(null,383))}}),z({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return Promise.resolve().then(n.bind(null,384))}}),z({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return Promise.resolve().then(n.bind(null,385))}}),z({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return Promise.resolve().then(n.bind(null,386))}}),z({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return Promise.resolve().then(n.bind(null,387))}}),z({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return Promise.resolve().then(n.bind(null,388))}}),z({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return Promise.resolve().then(n.bind(null,389))}}),z({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return Promise.resolve().then(n.bind(null,390))}}),z({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return Promise.resolve().then(n.bind(null,391))}}),z({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return Promise.resolve().then(n.bind(null,392))}}),z({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return Promise.resolve().then(n.bind(null,393))}}),z({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return Promise.resolve().then(n.bind(null,394))}}),z({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return Promise.resolve().then(n.bind(null,395))}}),z({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return Promise.resolve().then(n.bind(null,396))}}),z({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return Promise.resolve().then(n.bind(null,397))}}),z({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return Promise.resolve().then(n.bind(null,398))}}),z({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return Promise.resolve().then(n.bind(null,399))}}),z({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return Promise.resolve().then(n.bind(null,400))}}),z({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return Promise.resolve().then(n.bind(null,401))}}),z({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return Promise.resolve().then(n.bind(null,402))}}),z({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return Promise.resolve().then(n.bind(null,403))}}),z({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return Promise.resolve().then(n.bind(null,404))}}),z({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return Promise.resolve().then(n.bind(null,405))}}),z({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return Promise.resolve().then(n.bind(null,406))}}),z({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return Promise.resolve().then(n.bind(null,406))}}),z({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return Promise.resolve().then(n.bind(null,407))}}),z({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return Promise.resolve().then(n.bind(null,408))}}),z({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return Promise.resolve().then(n.bind(null,142))}}),z({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return Promise.resolve().then(n.bind(null,409))}}),z({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return Promise.resolve().then(n.bind(null,410))}}),z({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return Promise.resolve().then(n.bind(null,411))}});var B=n(107),j=n(164),V=(n(194),n(193),n(281),n(4)),U=n(0),H=n(7),q=n(21),$=n(43),K=n(10),G=n(16),Y=n(17),Z=n(13);class X{constructor(e="",t=!1){var n,i;if(this._value=e,"string"!=typeof this._value)throw Object(Z.b)("value");"boolean"==typeof t?(this._isTrusted=t,this._supportThemeIcons=!1):(this._isTrusted=null!==(n=t.isTrusted)&&void 0!==n&&n,this._supportThemeIcons=null!==(i=t.supportThemeIcons)&&void 0!==i&&i)}get value(){return this._value}get isTrusted(){return this._isTrusted}get supportThemeIcons(){return this._supportThemeIcons}appendText(e){return this._value+=(this._supportThemeIcons?Object(Y.b)(e):e).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace(/\n/g,"\n\n"),this}appendMarkdown(e){return this._value+=e,this}appendCodeblock(e,t){return this._value+="\n```",this._value+=e,this._value+="\n",this._value+=t,this._value+="\n```\n",this}}function Q(e){return J(e)?!e.value:!Array.isArray(e)||e.every(Q)}function J(e){return e instanceof X||!(!e||"object"!=typeof e)&&!("string"!=typeof e.value||"boolean"!=typeof e.isTrusted&&void 0!==e.isTrusted||"boolean"!=typeof e.supportThemeIcons&&void 0!==e.supportThemeIcons)}function ee(e,t){return e===t||!(!e||!t)&&(e.value===t.value&&e.isTrusted===t.isTrusted&&e.supportThemeIcons===t.supportThemeIcons)}function te(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}var ne=n(66),ie=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},re=function(e,t){return function(n,i){t(n,i,e)}},oe=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const se=new K.c("selectionAnchorSet",!1);let ae=class e{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=se.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],n=this.editor.deltaDecorations(t,[{range:q.a.fromPositions(e,e),options:{stickiness:1,hoverMessage:(new X).appendText(Object(U.a)("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=n[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Object(ne.a)(Object(U.a)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(q.a.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};ae.ID="editor.contrib.selectionAnchorController",ae=ie([re(1,K.b)],ae);class le extends V.b{constructor(){super({id:"editor.action.setSelectionAnchor",label:Object(U.a)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2080),weight:100}})}run(e,t){return oe(this,void 0,void 0,(function*(){ae.get(t).setSelectionAnchor()}))}}class ce extends V.b{constructor(){super({id:"editor.action.goToSelectionAnchor",label:Object(U.a)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:se})}run(e,t){return oe(this,void 0,void 0,(function*(){ae.get(t).goToSelectionAnchor()}))}}class de extends V.b{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:Object(U.a)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:se,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2089),weight:100}})}run(e,t){return oe(this,void 0,void 0,(function*(){ae.get(t).selectFromAnchorToCursor()}))}}class he extends V.b{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:Object(U.a)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:se,kbOpts:{kbExpr:H.a.editorTextFocus,primary:9,weight:100}})}run(e,t){return oe(this,void 0,void 0,(function*(){ae.get(t).cancelSelectionAnchor()}))}}Object(V.m)(ae.ID,ae),Object(V.k)(le),Object(V.k)(ce),Object(V.k)(de),Object(V.k)(he);n(283);var ue=n(20),pe=n(2),me=n(9),ge=n(3),fe=n(58),be=n(30),_e=n(57),ve=n(5),we=n(19),ye=n(24);const Ce=Object(ve.gc)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},U.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class xe extends V.b{constructor(){super({id:"editor.action.jumpToBracket",label:U.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3160,weight:100}})}run(e,t){let n=Ee.get(t);n&&n.jumpToBracket()}}class Se extends V.b{constructor(){super({id:"editor.action.selectToBracket",label:U.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,n){const i=Ee.get(t);if(!i)return;let r=!0;n&&!1===n.selectBrackets&&(r=!1),i.selectToBracket(r)}}class ke{constructor(e,t,n){this.position=e,this.brackets=t,this.options=n}}class Ee extends pe.a{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new ue.d(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(55),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(55)&&(this._matchBrackets=this._editor.getOption(55),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))}static get(e){return e.getContribution(Ee.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(t=>{const n=t.getStartPosition(),i=e.matchBracket(n);let r=null;if(i)i[0].containsPosition(n)?r=i[1].getStartPosition():i[1].containsPosition(n)&&(r=i[0].getStartPosition());else{const t=e.findEnclosingBrackets(n);if(t)r=t[0].getStartPosition();else{const t=e.findNextBracket(n);t&&t.range&&(r=t.range.getStartPosition())}}return r?new q.a(r.lineNumber,r.column,r.lineNumber,r.column):new q.a(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=[];this._editor.getSelections().forEach(i=>{const r=i.getStartPosition();let o=t.matchBracket(r);if(!o&&(o=t.findEnclosingBrackets(r),!o)){const e=t.findNextBracket(r);e&&e.range&&(o=t.matchBracket(e.range.getStartPosition()))}let s=null,a=null;if(o){o.sort(ge.a.compareRangesUsingStarts);const[t,n]=o;s=e?t.getStartPosition():t.getEndPosition(),a=e?n.getEndPosition():n.getStartPosition()}s&&a&&n.push(new q.a(s.lineNumber,s.column,a.lineNumber,a.column))}),n.length>0&&(this._editor.setSelections(n),this._editor.revealRange(n[0]))}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(const n of this._lastBracketsData){let i=n.brackets;i&&(e[t++]={range:i[0],options:n.options},e[t++]={range:i[1],options:n.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);const e=this._editor.getSelections();if(e.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);const t=this._editor.getModel(),n=t.getVersionId();let i=[];this._lastVersionId===n&&(i=this._lastBracketsData);let r=[],o=0;for(let t=0,n=e.length;t<n;t++){let n=e[t];n.isEmpty()&&(r[o++]=n.getStartPosition())}r.length>1&&r.sort(me.a.compare);let s=[],a=0,l=0,c=i.length;for(let e=0,n=r.length;e<n;e++){let n=r[e];for(;l<c&&i[l].position.isBefore(n);)l++;if(l<c&&i[l].position.equals(n))s[a++]=i[l];else{let e=t.matchBracket(n),i=Ee._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;e||"always"!==this._matchBrackets||(e=t.findEnclosingBrackets(n,20),i=Ee._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),s[a++]=new ke(n,e,i)}}this._lastBracketsData=s,this._lastVersionId=n}}Ee.ID="editor.contrib.bracketMatchingController",Ee._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=be.a.register({stickiness:1,className:"bracket-match",overviewRuler:{color:Object(we.h)(Ce),position:fe.d.Center}}),Ee._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=be.a.register({stickiness:1,className:"bracket-match"}),Object(V.m)(Ee.ID,Ee),Object(V.k)(Se),Object(V.k)(xe),Object(we.g)((e,t)=>{const n=e.getColor(_e.c);n&&t.addRule(`.monaco-editor .bracket-match { background-color: ${n}; }`);const i=e.getColor(_e.d);i&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)}),ye.d.appendMenuItem(ye.b.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:U.a({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class Te{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const n=this._selection.startLineNumber,i=this._selection.startColumn,r=this._selection.endColumn;if((!this._isMovingLeft||1!==i)&&(this._isMovingLeft||r!==e.getLineMaxColumn(n)))if(this._isMovingLeft){const o=new ge.a(n,i-1,n,i),s=e.getValueInRange(o);t.addEditOperation(o,null),t.addEditOperation(new ge.a(n,r,n,r),s)}else{const o=new ge.a(n,r,n,r+1),s=e.getValueInRange(o);t.addEditOperation(o,null),t.addEditOperation(new ge.a(n,i,n,i),s)}}computeCursorState(e,t){return this._isMovingLeft?new q.a(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new q.a(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class Le extends V.b{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let n=[],i=t.getSelections();for(const e of i)n.push(new Te(e,this.left));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}Object(V.k)(class extends Le{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:U.a("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:H.a.writable})}}),Object(V.k)(class extends Le{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:U.a("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:H.a.writable})}});var Ne=n(62),Ie=n(81);class De extends V.b{constructor(){super({id:"editor.action.transposeLetters",label:U.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let n=t.getModel(),i=[],r=t.getSelections();for(let e of r){if(!e.isEmpty())continue;let t=e.startLineNumber,r=e.startColumn,o=n.getLineMaxColumn(t);if(1===t&&(1===r||2===r&&2===o))continue;let s=r===o?e.getPosition():Ie.a.rightPosition(n,e.getPosition().lineNumber,e.getPosition().column),a=Ie.a.leftPosition(n,s.lineNumber,s.column),l=Ie.a.leftPosition(n,a.lineNumber,a.column),c=n.getValueInRange(ge.a.fromPositions(l,a)),d=n.getValueInRange(ge.a.fromPositions(a,s)),h=ge.a.fromPositions(l,s);i.push(new Ne.a(h,d+c))}i.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop())}}Object(V.k)(De);var Oe=n(34),Ae=n(11),Re=n(167),Me=n(41),Pe=n(121),Fe=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const We=Ae.g||document.queryCommandSupported("cut"),ze=Ae.g||document.queryCommandSupported("copy"),Be=ze&&!Oe.f,je=!Oe.h||document.queryCommandSupported("paste");function Ve(e){return e.register(),e}const Ue=We?Ve(new V.e({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:Ae.g?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:ye.b.MenubarEditMenu,group:"2_ccp",title:U.a({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:ye.b.EditorContext,group:"9_cutcopypaste",title:U.a("actions.clipboard.cutLabel","Cut"),when:H.a.writable,order:1},{menuId:ye.b.CommandPalette,group:"",title:U.a("actions.clipboard.cutLabel","Cut"),order:1}]})):void 0,He=ze?Ve(new V.e({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:Ae.g?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:ye.b.MenubarEditMenu,group:"2_ccp",title:U.a({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:ye.b.EditorContext,group:"9_cutcopypaste",title:U.a("actions.clipboard.copyLabel","Copy"),order:2},{menuId:ye.b.CommandPalette,group:"",title:U.a("actions.clipboard.copyLabel","Copy"),order:1}]})):void 0,qe=je?Ve(new V.e({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:Ae.g?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:ye.b.MenubarEditMenu,group:"2_ccp",title:U.a({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3},{menuId:ye.b.EditorContext,group:"9_cutcopypaste",title:U.a("actions.clipboard.pasteLabel","Paste"),when:H.a.writable,order:3},{menuId:ye.b.CommandPalette,group:"",title:U.a("actions.clipboard.pasteLabel","Paste"),order:1}]})):void 0;class $e extends V.b{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:U.a("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;!t.getOption(26)&&t.getSelection().isEmpty()||(Re.a.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Re.a.forceCopyWithSyntaxHighlighting=!1)}}function Ke(e,t){e&&(e.addImplementation(1e4,(e,n)=>{const i=e.get(Me.a).getFocusedCodeEditor();if(i&&i.hasTextFocus()){const e=i.getOption(26),n=i.getSelection();return n&&n.isEmpty()&&!e||document.execCommand(t),!0}return!1}),e.addImplementation(0,(e,n)=>(document.execCommand(t),!0)))}Ke(Ue,"cut"),Ke(He,"copy"),qe&&(qe.addImplementation(1e4,(e,t)=>{const n=e.get(Me.a),i=e.get(Pe.a),r=n.getFocusedCodeEditor();if(r&&r.hasTextFocus()){return!(!document.execCommand("paste")&&Ae.h)||(Fe(void 0,void 0,void 0,(function*(){const e=yield i.readText();if(""!==e){const t=Re.b.INSTANCE.get(e);let n=!1,i=null,o=null;t&&(n=r.getOption(26)&&!!t.isFromEmptySelection,i=void 0!==t.multicursorText?t.multicursorText:null,o=t.mode),r.trigger("keyboard","paste",{text:e,pasteOnNewLine:n,multicursorText:i,mode:o})}})),!0)}return!1}),qe.addImplementation(0,(e,t)=>(document.execCommand("paste"),!0))),Be&&Object(V.k)($e);class Ge{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Ye=n(8),Ze=n(148),Xe=n(25),Qe=n(23),Je=n(88),et=n(12),tt=n(64);class nt{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||Object(Ye.S)(e.value,this.value+nt.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new nt(this.value+nt.sep+e)}}function it(e,t,n){return!!t.contains(e)&&(!n||!t.contains(n))}nt.sep=".",nt.None=new nt("@@none@@"),nt.Empty=new nt(""),nt.QuickFix=new nt("quickfix"),nt.Refactor=new nt("refactor"),nt.Source=new nt("source"),nt.SourceOrganizeImports=nt.Source.append("organizeImports"),nt.SourceFixAll=nt.Source.append("fixAll");class rt{constructor(e,t,n){this.kind=e,this.apply=t,this.preferred=n}static fromUser(e,t){return e&&"object"==typeof e?new rt(rt.getKindFromUser(e,t.kind),rt.getApplyFromUser(e,t.apply),rt.getPreferredUser(e)):new rt(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new nt(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}}var ot=n(83),st=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class at extends pe.a{constructor(e,t,n){super(),this.documentation=t,this._register(n),this.allActions=Object(G.p)([...e],at.codeActionsComparator),this.validActions=this.allActions.filter(e=>!e.disabled)}static codeActionsComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Object(G.o)(e.diagnostics)?Object(G.o)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(G.o)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(e=>!!e.kind&&nt.QuickFix.contains(new nt(e.kind))&&!!e.isPreferred)}}const lt={actions:[],documentation:void 0};function ct(e,t,n,i,r){var o;const s=n.filter||{},a={only:null===(o=s.include)||void 0===o?void 0:o.value,trigger:n.type},l=new Je.d(e,r),c=function(e,t){return et.a.all(e).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>function(e,t){return!(e.include&&!e.include.intersects(t))&&((!e.excludes||!e.excludes.some(n=>it(t,n,e.include)))&&!(!e.includeSourceActions&&nt.Source.contains(t)))}(t,new nt(e))))}(e,s),d=new pe.b,h=c.map(n=>st(this,void 0,void 0,(function*(){try{i.report(n);const r=yield n.provideCodeActions(e,t,a,l.token);if(r&&d.add(r),l.token.isCancellationRequested)return lt;const o=((null==r?void 0:r.actions)||[]).filter(e=>e&&function(e,t){const n=t.kind?new nt(t.kind):void 0;return!!(!e.include||n&&e.include.contains(n))&&(!(e.excludes&&n&&e.excludes.some(t=>it(n,t,e.include)))&&(!(!e.includeSourceActions&&n&&nt.Source.contains(n))&&!(e.onlyIncludePreferredActions&&!t.isPreferred)))}(s,e));return{actions:o,documentation:function(e,t,n){if(!e.documentation)return;const i=e.documentation.map(e=>({kind:new nt(e.kind),command:e.command}));if(n){let e;for(const t of i)t.kind.contains(n)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(const e of t)if(e.kind)for(const t of i)if(t.kind.contains(new nt(e.kind)))return t.command;return}(n,o,s.include)}}catch(e){if(Object(Z.d)(e))throw e;return Object(Z.f)(e),lt}}))),u=et.a.onDidChange(()=>{const t=et.a.all(e);Object(G.g)(t,c)||l.cancel()});return Promise.all(h).then(e=>{const t=Object(G.l)(e.map(e=>e.actions)),n=Object(G.d)(e.map(e=>e.documentation));return new at(t,n,d)}).finally(()=>{u.dispose(),l.dispose()})}Object(V.o)("_executeCodeActionProvider",(function(e,t){return st(this,void 0,void 0,(function*(){const{resource:n,rangeOrSelection:i,kind:r}=t;if(!(n instanceof Qe.a))throw Object(Z.b)();const o=e.get(tt.a).getModel(n);if(!o)throw Object(Z.b)();const s=q.a.isISelection(i)?q.a.liftSelection(i):ge.a.isIRange(i)?o.validateRange(i):void 0;if(!s)throw Object(Z.b)();const a=yield ct(o,s,{type:2,filter:{includeSourceActions:!0,include:r&&r.value?new nt(r.value):void 0}},ot.b.None,Xe.a.None);return setTimeout(()=>a.dispose(),100),a.validActions}))}));n(285);var dt=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},ht=function(e,t){return function(n,i){t(n,i,e)}};let ut=class e extends pe.a{constructor(t,n){super(),this._messageWidget=this._register(new pe.d),this._messageListeners=this._register(new pe.b),this._editor=t,this._visible=e.MESSAGE_VISIBLE.bindTo(n),this._register(this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit()))}static get(t){return t.getContribution(e.ID)}dispose(){super.dispose(),this._visible.reset()}showMessage(e,t){let n;Object(ne.a)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new mt(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new ue.e(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(e=>{e.target.position&&(n?n.containsPosition(e.target.position)||this.closeMessage():n=new ge.a(t.lineNumber-3,1,e.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(mt.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(U.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};ut.ID="editor.contrib.messageController",ut.MESSAGE_VISIBLE=new K.c("messageVisible",!1),ut=dt([ht(1,K.b)],ut);const pt=V.c.bindToContribution(ut.get);Object(V.l)(new pt({id:"leaveEditorMessage",precondition:ut.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class mt{constructor(e,{lineNumber:t,column:n},i){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:n-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const r=document.createElement("div");r.classList.add("message"),r.textContent=i,this._domNode.appendChild(r);const o=document.createElement("div");o.classList.add("anchor"),this._domNode.appendChild(o),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const n=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener("animationend",n),e.getDomNode().classList.add("fadeOut"),{dispose:n}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}}Object(V.m)(ut.ID,ut),Object(we.g)((e,t)=>{const n=e.getColor(ve.mb);if(n){let i=e.type===we.b?2:1;t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: ${n}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${i}px solid ${n}; }`)}const i=e.getColor(ve.lb);i&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${i}; }`);const r=e.getColor(ve.nb);r&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${r}; }`)});var gt=n(18),ft=n(1),bt=n(60),_t=n(84),vt=n(50),wt=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},yt=function(e,t){return function(n,i){t(n,i,e)}},Ct=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class xt extends bt.a{constructor(e,t){super(e.command?e.command.id:e.title,e.title,void 0,!e.disabled,t),this.action=e}}let St=class extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._delegate=t,this._contextMenuService=n,this._visible=!1,this._showingActions=this._register(new pe.d),this._keybindingResolver=new kt({getKeybindings:()=>i.getKeybindings()})}get isVisible(){return this._visible}show(e,t,n,i){return Ct(this,void 0,void 0,(function*(){const r=i.includeDisabledActions?t.allActions:t.validActions;if(!r.length)return void(this._visible=!1);if(!this._editor.getDomNode())throw this._visible=!1,Object(Z.a)();this._visible=!0,this._showingActions.value=t;const o=this.getMenuActions(e,r,t.documentation),s=me.a.isIPosition(n)?this._toCoords(n):n||{x:0,y:0},a=this._keybindingResolver.getResolver();this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>s,getActions:()=>o,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof xt?a(e.action):void 0})}))}getMenuActions(e,t,n){var i,r;const o=e=>new xt(e,()=>this._delegate.onSelectCodeAction(e)),s=t.map(o),a=[...n],l=this._editor.getModel();if(l&&s.length)for(const n of et.a.all(l))n._getAdditionalMenuItems&&a.push(...n._getAdditionalMenuItems({trigger:e.type,only:null===(r=null===(i=e.filter)||void 0===i?void 0:i.include)||void 0===r?void 0:r.value},t));return a.length&&s.push(new bt.c,...a.map(e=>o({title:e.title,command:e}))),s}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),n=Object(ft.C)(this._editor.getDomNode());return{x:n.left+t.left,y:n.top+t.top+t.height}}};St=wt([yt(2,_t.a),yt(3,vt.a)],St);class kt{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Ge(()=>this._keybindingProvider.getKeybindings().filter(e=>kt.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return"editor.action.organizeImports"===e.command?t={kind:nt.SourceOrganizeImports.value}:"editor.action.fixAll"===e.command&&(t={kind:nt.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},rt.fromUser(t,{kind:nt.None,apply:"never"}))}));return t=>{if(t.kind){const n=this.bestKeybindingForCodeAction(t,e.getValue());return null==n?void 0:n.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const n=new nt(e.kind);return t.filter(e=>e.kind.contains(n)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}}kt.codeActionCommands=["editor.action.refactor","editor.action.codeAction","editor.action.sourceAction","editor.action.organizeImports","editor.action.fixAll"];var Et,Tt=n(103),Lt=n(6),Nt=(n(287),n(61)),It=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Dt=function(e,t){return function(n,i){t(n,i,e)}};!function(e){e.Hidden={type:0};e.Showing=class{constructor(e,t,n,i){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=i,this.type=1}}}(Et||(Et={}));let Ot=class e extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=n,this._keybindingService=i,this._onClick=this._register(new Lt.a),this.onClick=this._onClick.event,this._state=Et.Hidden,this._domNode=document.createElement("div"),this._domNode.className=Y.a.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{const t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),Nt.b.ignoreTarget(this._domNode),this._register(ft.m(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();const{top:t,height:n}=ft.C(this._domNode),i=this._editor.getOption(51);let r=Math.floor(i/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(r+=i),this._onClick.fire({x:e.posx,y:t+n+r,actions:this.state.actions,trigger:this.state.trigger})})),this._register(ft.i(this._domNode,"mouseenter",e=>{if(1!=(1&e.buttons))return;this.hide();const t=new Tt.a;t.startMonitoring(e.target,e.buttons,Tt.b,()=>{},()=>{t.dispose()})})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(49)&&!this._editor.getOption(49).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,n,i){if(t.validActions.length<=0)return this.hide();const r=this._editor.getOptions();if(!r.get(49).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:s,column:a}=o.validatePosition(i),l=o.getOptions().tabSize,c=r.get(36),d=o.getLineContent(s),h=be.b.computeIndentLevel(d,l),u=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1);let p=s;if(!(c.spaceWidth*h>22))if(s>1&&!u(s-1))p-=1;else if(u(s+1)){if(a*c.spaceWidth<22)return this.hide()}else p+=1;this.state=new Et.Showing(t,n,i,{position:{lineNumber:p,column:1},preference:e._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=Et.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(1===this.state.type&&this.state.actions.hasAutoFix){ft.R(this._domNode,Y.a.lightBulb.classNames),ft.f(this._domNode,Y.a.lightbulbAutofix.classNames);const e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=U.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",e.getLabel()))}ft.R(this._domNode,Y.a.lightbulbAutofix.classNames),ft.f(this._domNode,Y.a.lightBulb.classNames);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=e?U.a("quickFixWithKb","Show Fixes ({0})",e.getLabel()):U.a("quickFix","Show Fixes")}set title(e){this._domNode.title=e}};Ot._posPref=[0],Ot=It([Dt(3,vt.a)],Ot),Object(we.g)((e,t)=>{const n=e.getColor(ve.N);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${Y.a.lightBulb.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t}`);const i=e.getColor(ve.M);i&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${Y.a.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${i};\n\t\t}`)});var At=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Rt=function(e,t){return function(n,i){t(n,i,e)}},Mt=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Pt=class extends pe.a{constructor(e,t,n,i,r){super(),this._editor=e,this.delegate=i,this._activeCodeActions=this._register(new pe.d),this._codeActionWidget=new Ge(()=>this._register(r.createInstance(St,this._editor,{onSelectCodeAction:e=>Mt(this,void 0,void 0,(function*(){this.delegate.applyCodeAction(e,!0)}))}))),this._lightBulbWidget=new Ge(()=>{const e=this._register(r.createInstance(Ot,this._editor,t,n));return this._register(e.onClick(e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1}))),e})}update(e){var t,n,i;return Mt(this,void 0,void 0,(function*(){if(1!==e.type)return void(null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide());let r;try{r=yield e.actions}catch(e){return void Object(Z.e)(e)}if(this._lightBulbWidget.getValue().update(r,e.trigger,e.position),2===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){const t=this.tryGetValidActionToApply(e.trigger,r);if(t){try{yield this.delegate.applyCodeAction(t,!1)}finally{r.dispose()}return}if(e.trigger.context){const t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,r);if(t&&t.disabled)return ut.get(this._editor).showMessage(t.disabled,e.trigger.context.position),void r.dispose()}}const t=!!(null===(i=e.trigger.filter)||void 0===i?void 0:i.include);if(e.trigger.context&&(!r.allActions.length||!t&&!r.validActions.length))return ut.get(this._editor).showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=r,void r.dispose();this._activeCodeActions.value=r,this._codeActionWidget.getValue().show(e.trigger,r,e.position,{includeDisabledActions:t})}else this._codeActionWidget.getValue().isVisible?r.dispose():this._activeCodeActions.value=r}))}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length)return"first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length?t.allActions.find(e=>e.disabled):void 0}tryGetValidActionToApply(e,t){if(t.validActions.length)return"first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0}showCodeActionList(e,t,n,i){return Mt(this,void 0,void 0,(function*(){this._codeActionWidget.getValue().show(e,t,n,i)}))}};Pt=At([Rt(4,gt.a)],Pt);var Ft=n(27),Wt=n(63),zt=n(49),Bt=n(120),jt=n(51);const Vt=new K.c("supportedCodeAction","");class Ut extends pe.a{constructor(e,t,n,i=250){super(),this._editor=e,this._markerService=t,this._signalChange=n,this._delay=i,this._autoTriggerTimer=this._register(new ue.e),this._register(this._markerService.onMarkerChanged(e=>this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(e=>Object(jt.f)(e,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:1})},this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(t)for(const n of this._markerService.read({resource:t.uri})){const i=t.validateRange(n);if(ge.a.intersectRanges(i,e))return ge.a.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._editor.getSelection();if(n.isEmpty()&&1===e.type){const{lineNumber:e,column:i}=n.getPosition(),r=t.getLineContent(e);if(0===r.length)return;if(1===i){if(/\s/.test(r[0]))return}else if(i===t.getLineMaxColumn(e)){if(/\s/.test(r[r.length-1]))return}else if(/\s/.test(r[i-2])&&/\s/.test(r[i-1]))return}return n}_createEventAndSignalChange(e,t){const n=this._editor.getModel();if(!t||!n)return void this._signalChange(void 0);const i=this._getRangeOfMarker(t),r=i?i.getStartPosition():t.getStartPosition(),o={trigger:e,selection:t,position:r};return this._signalChange(o),o}}var Ht;!function(e){e.Empty={type:0};e.Triggered=class{constructor(e,t,n,i){this.trigger=e,this.rangeOrSelection=t,this.position=n,this.actions=i,this.type=1}}}(Ht||(Ht={}));class qt extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._markerService=t,this._progressService=i,this._codeActionOracle=this._register(new pe.d),this._state=Ht.Empty,this._onDidChangeState=this._register(new Lt.a),this.onDidChangeState=this._onDidChangeState.event,this._supportedCodeActions=Vt.bindTo(n),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(et.a.onDidChange(()=>this._update())),this._update()}dispose(){super.dispose(),this.setState(Ht.Empty,!0)}_update(){this._codeActionOracle.value=void 0,this.setState(Ht.Empty);const e=this._editor.getModel();if(e&&et.a.has(e)&&!this._editor.getOption(72)){const t=[];for(const n of et.a.all(e))Array.isArray(n.providedCodeActionKinds)&&t.push(...n.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new Ut(this._editor,this._markerService,t=>{var n;if(!t)return void this.setState(Ht.Empty);const i=Object(ue.f)(n=>ct(e,t.selection,t.trigger,ot.b.None,n));2===t.trigger.type&&(null===(n=this._progressService)||void 0===n||n.showWhile(i,250)),this.setState(new Ht.Triggered(t.trigger,t.selection,t.position,i))},void 0),this._codeActionOracle.value.trigger({type:1})}else this._supportedCodeActions.reset()}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.actions.cancel(),this._state=e,t||this._onDidChangeState.fire(e))}}var $t=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Kt=function(e,t){return function(n,i){t(n,i,e)}},Gt=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Yt(e){return K.a.regex(Vt.keys()[0],new RegExp("(\\s|^)"+Object(Ye.v)(e.value)+"\\b"))}const Zt={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:U.a("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:U.a("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[U.a("args.schema.apply.first","Always apply the first returned code action."),U.a("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),U.a("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:U.a("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};let Xt=class e extends pe.a{constructor(e,t,n,i,r){super(),this._instantiationService=r,this._editor=e,this._model=this._register(new qt(this._editor,t,n,i)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._ui=new Ge(()=>this._register(new Pt(e,en.Id,an.Id,{applyCodeAction:(e,t)=>Gt(this,void 0,void 0,(function*(){try{yield this._applyCodeAction(e)}finally{t&&this._trigger({type:1,filter:{}})}}))},this._instantiationService)))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,n){return this._ui.getValue().showCodeActionList(e,t,n,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,n){if(!this._editor.hasModel())return;ut.get(this._editor).closeMessage();const i=this._editor.getPosition();this._trigger({type:2,filter:t,autoApply:n,context:{notAvailableMessage:e,position:i}})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(Qt,e,this._editor)}};function Qt(e,t,n){return Gt(this,void 0,void 0,(function*(){const i=e.get(Ze.a),r=e.get(Ft.b),o=e.get(Bt.a),s=e.get(zt.a);if(o.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.title,codeActionKind:t.kind,codeActionIsPreferred:!!t.isPreferred}),t.edit&&(yield i.apply(Ze.b.convert(t.edit),{editor:n,label:t.title})),t.command)try{yield r.executeCommand(t.command.id,...t.command.arguments||[])}catch(e){const t=function(e){return"string"==typeof e?e:e instanceof Error&&"string"==typeof e.message?e.message:void 0}(e);s.error("string"==typeof t?t:U.a("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}))}function Jt(e,t,n,i){if(e.hasModel()){const r=Xt.get(e);r&&r.manualTriggerAtCurrentPosition(t,n,i)}}Xt.ID="editor.contrib.quickFixController",Xt=$t([Kt(1,Wt.b),Kt(2,K.b),Kt(3,ot.a),Kt(4,gt.a)],Xt);class en extends V.b{constructor(){super({id:en.Id,label:U.a("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:2132,weight:100}})}run(e,t){return Jt(t,U.a("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}en.Id="editor.action.quickFix";class tn extends V.c{constructor(){super({id:"editor.action.codeAction",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:Zt}]}})}runEditorCommand(e,t,n){const i=rt.fromUser(n,{kind:nt.Empty,apply:"ifSingle"});return Jt(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?U.a("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",n.kind):U.a("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",n.kind):i.preferred?U.a("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):U.a("editor.action.codeAction.noneMessage","No code actions available"),{include:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class nn extends V.b{constructor(){super({id:"editor.action.refactor",label:U.a("refactor.label","Refactor..."),alias:"Refactor...",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:K.a.and(H.a.writable,Yt(nt.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:Zt}]}})}run(e,t,n){const i=rt.fromUser(n,{kind:nt.Refactor,apply:"never"});return Jt(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?U.a("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",n.kind):U.a("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",n.kind):i.preferred?U.a("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):U.a("editor.action.refactor.noneMessage","No refactorings available"),{include:nt.Refactor.contains(i.kind)?i.kind:nt.None,onlyIncludePreferredActions:i.preferred},i.apply)}}class rn extends V.b{constructor(){super({id:"editor.action.sourceAction",label:U.a("source.label","Source Action..."),alias:"Source Action...",precondition:K.a.and(H.a.writable,H.a.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:K.a.and(H.a.writable,Yt(nt.Source))},description:{description:"Source Action...",args:[{name:"args",schema:Zt}]}})}run(e,t,n){const i=rt.fromUser(n,{kind:nt.Source,apply:"never"});return Jt(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?U.a("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",n.kind):U.a("editor.action.source.noneMessage.kind","No source actions for '{0}' available",n.kind):i.preferred?U.a("editor.action.source.noneMessage.preferred","No preferred source actions available"):U.a("editor.action.source.noneMessage","No source actions available"),{include:nt.Source.contains(i.kind)?i.kind:nt.None,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class on extends V.b{constructor(){super({id:"editor.action.organizeImports",label:U.a("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:K.a.and(H.a.writable,Yt(nt.SourceOrganizeImports)),kbOpts:{kbExpr:H.a.editorTextFocus,primary:1581,weight:100}})}run(e,t){return Jt(t,U.a("editor.action.organize.noneMessage","No organize imports action available"),{include:nt.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class sn extends V.b{constructor(){super({id:"editor.action.fixAll",label:U.a("fixAll.label","Fix All"),alias:"Fix All",precondition:K.a.and(H.a.writable,Yt(nt.SourceFixAll))})}run(e,t){return Jt(t,U.a("fixAll.noneMessage","No fix all action available"),{include:nt.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class an extends V.b{constructor(){super({id:an.Id,label:U.a("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:K.a.and(H.a.writable,Yt(nt.QuickFix)),kbOpts:{kbExpr:H.a.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return Jt(t,U.a("editor.action.autoFix.noneMessage","No auto fixes available"),{include:nt.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}an.Id="editor.action.autoFix",Object(V.m)(Xt.ID,Xt),Object(V.k)(en),Object(V.k)(nn),Object(V.k)(rn),Object(V.k)(on),Object(V.k)(an),Object(V.k)(sn),Object(V.l)(new tn);class ln{constructor(){this.lenses=[],this._disposables=new pe.b}dispose(){this._disposables.dispose()}add(e,t){this._disposables.add(e);for(const n of e.lenses)this.lenses.push({symbol:n,provider:t})}}function cn(e,t){const n=et.b.ordered(e),i=new Map,r=new ln,o=n.map((n,o)=>(i.set(n,o),Promise.resolve(n.provideCodeLenses(e,t)).then(e=>e&&r.add(e,n)).catch(Z.f)));return Promise.all(o).then(()=>(r.lenses=Object(G.p)(r.lenses,(e,t)=>e.symbol.range.startLineNumber<t.symbol.range.startLineNumber?-1:e.symbol.range.startLineNumber>t.symbol.range.startLineNumber?1:i.get(e.provider)<i.get(t.provider)?-1:i.get(e.provider)>i.get(t.provider)?1:e.symbol.range.startColumn<t.symbol.range.startColumn?-1:e.symbol.range.startColumn>t.symbol.range.startColumn?1:0),r))}Object(V.o)("_executeCodeLensProvider",(function(e,t){let{resource:n,itemResolveCount:i}=t;if(!(n instanceof Qe.a))throw Object(Z.b)();const r=e.get(tt.a).getModel(n);if(!r)throw Object(Z.b)();const o=[],s=new pe.b;return cn(r,Xe.a.None).then(e=>{s.add(e);let t=[];for(const n of e.lenses)void 0===i||Boolean(n.symbol.command)?o.push(n.symbol):i-- >0&&n.provider.resolveCodeLens&&t.push(Promise.resolve(n.provider.resolveCodeLens(r,n.symbol,Xe.a.None)).then(e=>o.push(e||n.symbol)));return Promise.all(t)}).then(()=>o).finally(()=>{setTimeout(()=>s.dispose(),100)})}));n(289);class dn{constructor(e,t){this.afterLineNumber=e,this._onHeight=t,this.heightInLines=1,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}}class hn{constructor(e,t,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+hn._idPool++,this.updatePosition(n),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration "+t}withCommands(e,t){this._commands.clear();let n="",i=!1;for(let t=0;t<e.length;t++){const r=e[t];if(r&&(i=!0,r.command)){const i=Object(Y.f)(Object(Ye.u)(r.command.title));r.command.id?(n+=`<a id=${t}>${i}</a>`,this._commands.set(String(t),r.command)):n+=`<span>${i}</span>`,t+1<e.length&&(n+="<span> | </span>")}}i?(n||(n=" "),this._domNode.innerHTML=n,this._isEmpty&&t&&this._domNode.classList.add("fadein"),this._isEmpty=!1):this._domNode.innerHTML="<span>no commands</span>"}getCommand(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(e){const t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}}getPosition(){return this._widgetPosition||null}}hn._idPool=0;class un{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)}removeDecoration(e){this._removeDecorations.push(e)}commit(e){let t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let e=0,n=t.length;e<n;e++)this._addDecorationsCallbacks[e](t[e])}}class pn{constructor(e,t,n,i,r,o){let s;this._isDisposed=!1,this._editor=t,this._className=n,this._data=e,this._decorationIds=[];let a=[];this._data.forEach((e,t)=>{e.symbol.command&&a.push(e.symbol),i.addDecoration({range:e.symbol.range,options:be.a.EMPTY},e=>this._decorationIds[t]=e),s=s?ge.a.plusRange(s,e.symbol.range):ge.a.lift(e.symbol.range)}),this._viewZone=new dn(s.startLineNumber-1,o),this._viewZoneId=r.addZone(this._viewZone),a.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(a,!1))}_createContentWidgetIfNecessary(){this._contentWidget||(this._contentWidget=new hn(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t&&t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some((e,t)=>{const n=this._editor.getModel().getDecorationRange(e),i=this._data[t].symbol;return!(!n||ge.a.isEmpty(i.range)!==n.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,n)=>{t.addDecoration({range:e.symbol.range,options:be.a.EMPTY},e=>this._decorationIds[n]=e)})}computeIfNecessary(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let t=0;t<this._decorationIds.length;t++){const n=e.getDecorationRange(this._decorationIds[t]);n&&(this._data[t].symbol.range=n)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){const n=e[t];if(n){const{symbol:e}=this._data[t];e.command=n.command||e.command}}}getCommand(e){var t;return null===(t=this._contentWidget)||void 0===t?void 0:t.getCommand(e)}getLineNumber(){const e=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return e?e.startLineNumber:-1}update(e){if(this.isValid()){const t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);t&&(this._viewZone.afterLineNumber=t.startLineNumber-1,e.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(t.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}getItems(){return this._data}}Object(we.g)((e,t)=>{const n=e.getColor(_e.e);n&&(t.addRule(`.monaco-editor .codelens-decoration { color: ${n}; }`),t.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${n}; }`));const i=e.getColor(ve.r);i&&(t.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${i} !important; }`),t.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${i} !important; }`))});var mn=n(115),gn=n(78),fn=n(97),bn=n(133),_n=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},vn=function(e,t){return function(n,i){t(n,i,e)}};const wn=Object(gt.c)("ICodeLensCache");class yn{constructor(e,t){this.lineCount=e,this.data=t}}let Cn=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new gn.a(20,.75);Object(ue.k)(()=>e.remove("codelens/cache",1));const t="codelens/cache2",n=e.get(t,1,"{}");this._deserialize(n),Object(bn.a)(e.onWillSaveState)(n=>{n.reason===fn.c.SHUTDOWN&&e.store(t,this._serialize(),1)})}put(e,t){const n=t.lenses.map(e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}}),i=new ln;i.add({lenses:n,dispose:()=>{}},this._fakeProvider);const r=new yn(e.getLineCount(),i);this._cache.set(e.uri.toString(),r)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,n]of this._cache){const i=new Set;for(const e of n.data.lenses)i.add(e.symbol.range.startLineNumber);e[t]={lineCount:n.lineCount,lines:[...i.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const e in t){const n=t[e],i=[];for(const e of n.lines)i.push({range:new ge.a(e,1,e,11)});const r=new ln;r.add({lenses:i,dispose(){}},this._fakeProvider),this._cache.set(e,new yn(n.lineCount,r))}}catch(e){}}};Cn=_n([vn(0,fn.a)],Cn),Object(mn.b)(wn,Cn);var xn=n(89),Sn=n(110),kn=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},En=function(e,t){return function(n,i){t(n,i,e)}},Tn=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Ln=class{constructor(e,t,n,i){this._editor=e,this._commandService=t,this._notificationService=n,this._codeLensCache=i,this._globalToDispose=new pe.b,this._localToDispose=new pe.b,this._lenses=[],this._oldCodeLensModels=new pe.b,this._modelChangeCounter=0,this._isEnabled=this._editor.getOption(11),this._globalToDispose.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._globalToDispose.add(this._editor.onDidChangeConfiguration(()=>{const e=this._isEnabled;this._isEnabled=this._editor.getOption(11),e!==this._isEnabled&&this._onModelChange()})),this._globalToDispose.add(et.b.onDidChange(this._onModelChange,this)),this._globalToDispose.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this._updateLensStyle()})),this._onModelChange(),this._styleClassName="_"+Object(xn.b)(this._editor.getId()).toString(16),this._styleElement=ft.v(ft.O(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){this._localDispose(),this._globalToDispose.dispose(),this._oldCodeLensModels.dispose(),Object(pe.f)(this._currentCodeLensModel)}_updateLensStyle(){const e=this._editor.getOptions(),t=e.get(36),n=e.get(51),i=Math.round(1.1*n),r=Math.round(.9*t.fontSize),o=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { height: ${i}px; line-height: ${n}px; font-size: ${r}px; padding-right: ${Math.round(.45*t.fontSize)}px;}\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} > a > .codicon { line-height: ${n}px; font-size: ${r}px; }\n\t\t`;this._styleElement.textContent=o}_localDispose(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=void 0,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0),this._localToDispose.clear(),this._oldCodeLensModels.clear(),Object(pe.f)(this._currentCodeLensModel)}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e)return;if(!this._isEnabled)return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!et.b.has(e))return void(t&&this._localToDispose.add(Object(ue.g)(()=>{const n=this._codeLensCache.get(e);t===n&&(this._codeLensCache.delete(e),this._onModelChange())},3e4)));for(const t of et.b.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange(()=>i.schedule());this._localToDispose.add(e)}const n=this._detectVisibleLenses=new ue.d(()=>this._onViewportChanged(),250),i=new ue.d(()=>{const t=++this._modelChangeCounter;this._currentFindCodeLensSymbolsPromise&&this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=Object(ue.f)(t=>cn(e,t)),this._currentFindCodeLensSymbolsPromise.then(i=>{t===this._modelChangeCounter&&(this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=i,this._codeLensCache.put(e,i),this._renderCodeLensSymbols(i),n.schedule())},Z.e)},250);this._localToDispose.add(i),this._localToDispose.add(n),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let n=[],i=-1;this._lenses.forEach(e=>{e.isValid()&&i!==e.getLineNumber()?(e.update(t),i=e.getLineNumber()):n.push(e)});let r=new un;n.forEach(e=>{e.dispose(r,t),this._lenses.splice(this._lenses.indexOf(e),1)}),r.commit(e)})}),n.schedule(),i.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&this._lenses.length>0&&n.schedule()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{n.schedule()})),this._localToDispose.add(Object(pe.h)(()=>{if(this._editor.getModel()){const e=Je.c.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseUp(e=>{if(9!==e.target.type)return;let t=e.target.element;if("SPAN"===(null==t?void 0:t.tagName)&&(t=t.parentElement),"A"===(null==t?void 0:t.tagName))for(const e of this._lenses){let n=e.getCommand(t);if(n){this._commandService.executeCommand(n.id,...n.arguments||[]).catch(e=>this._notificationService.error(e));break}}})),i.schedule()}_disposeAllLenses(e,t){const n=new un;for(const e of this._lenses)e.dispose(n,t);e&&n.commit(e),this._lenses=[]}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;let t,n=this._editor.getModel().getLineCount(),i=[];for(let r of e.lenses){let e=r.symbol.range.startLineNumber;e<1||e>n||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(r):(t=[r],i.push(t)))}const r=Je.c.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{const n=new un;let r=0,o=0;for(;o<i.length&&r<this._lenses.length;){let e=i[o][0].symbol.range.startLineNumber,s=this._lenses[r].getLineNumber();s<e?(this._lenses[r].dispose(n,t),this._lenses.splice(r,1)):s===e?(this._lenses[r].updateCodeLensSymbols(i[o],n),o++,r++):(this._lenses.splice(r,0,new pn(i[o],this._editor,this._styleClassName,n,t,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),r++,o++)}for(;r<this._lenses.length;)this._lenses[r].dispose(n,t),this._lenses.splice(r,1);for(;o<i.length;)this._lenses.push(new pn(i[o],this._editor,this._styleClassName,n,t,()=>this._detectVisibleLenses&&this._detectVisibleLenses.schedule())),o++;n.commit(e)})}),r.restore(this._editor)}_onViewportChanged(){this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0);const e=this._editor.getModel();if(!e)return;const t=[],n=[];if(this._lenses.forEach(i=>{const r=i.computeIfNecessary(e);r&&(t.push(r),n.push(i))}),0===t.length)return;const i=Object(ue.f)(i=>{const r=t.map((t,r)=>{const o=new Array(t.length),s=t.map((t,n)=>t.symbol.command||"function"!=typeof t.provider.resolveCodeLens?(o[n]=t.symbol,Promise.resolve(void 0)):Promise.resolve(t.provider.resolveCodeLens(e,t.symbol,i)).then(e=>{o[n]=e},Z.f));return Promise.all(s).then(()=>{i.isCancellationRequested||n[r].isDisposed()||n[r].updateCommands(o)})});return Promise.all(r)});this._currentResolveCodeLensSymbolsPromise=i,this._currentResolveCodeLensSymbolsPromise.then(()=>{this._currentCodeLensModel&&this._codeLensCache.put(e,this._currentCodeLensModel),this._oldCodeLensModels.clear(),i===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)},e=>{Object(Z.e)(e),i===this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise=void 0)})}getLenses(){return this._lenses}};Ln.ID="css.editor.codeLens",Ln=kn([En(1,Ft.b),En(2,zt.a),En(3,wn)],Ln),Object(V.m)(Ln.ID,Ln),Object(V.k)(class extends V.b{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:H.a.hasCodeLensProvider,label:Object(U.a)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){return Tn(this,void 0,void 0,(function*(){if(!t.hasModel())return;const n=e.get(Sn.a),i=e.get(Ft.b),r=e.get(zt.a),o=t.getSelection().positionLineNumber,s=t.getContribution(Ln.ID),a=[];for(let e of s.getLenses())if(e.getLineNumber()===o)for(let t of e.getItems()){const{command:e}=t.symbol;e&&a.push({label:e.title,command:e})}if(0===a.length)return;const l=yield n.pick(a,{canPickMany:!1});if(l)try{yield i.executeCommand(l.command.id,...l.command.arguments||[])}catch(e){r.error(e)}}))}});var Nn=n(15);function In(e,t,n,i){return Promise.resolve(n.provideColorPresentations(e,t,i))}Object(V.o)("_executeDocumentColorProvider",(function(e,t){const{resource:n}=t;if(!(n instanceof Qe.a))throw Object(Z.b)();const i=e.get(tt.a).getModel(n);if(!i)throw Object(Z.b)();const r=[],o=et.c.ordered(i).reverse().map(e=>Promise.resolve(e.provideDocumentColors(i,Xe.a.None)).then(e=>{if(Array.isArray(e))for(let t of e)r.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})}));return Promise.all(o).then(()=>r)})),Object(V.o)("_executeColorPresentationProvider",(function(e,t){const{resource:n,color:i,range:r}=t;if(!(n instanceof Qe.a&&Array.isArray(i)&&4===i.length&&ge.a.isIRange(r)))throw Object(Z.b)();const[o,s,a,l]=i,c=e.get(tt.a).getModel(n);if(!c)throw Object(Z.b)();const d={range:r,color:{red:o,green:s,blue:a,alpha:l}},h=[],u=et.c.ordered(c).reverse().map(e=>Promise.resolve(e.provideColorPresentations(c,d,Xe.a.None)).then(e=>{Array.isArray(e)&&h.push(...e)}));return Promise.all(u).then(()=>h)}));var Dn=n(54),On=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},An=function(e,t){return function(n,i){t(n,i,e)}};let Rn=class e extends pe.a{constructor(e,t,n){super(),this._editor=e,this._codeEditorService=t,this._configurationService=n,this._localToDispose=this._register(new pe.b),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=[],this._decorationsTypes=new Set,this._register(e.onDidChangeModel(e=>{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(e.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(et.c.onDidChange(e=>this.onModelChanged())),this._register(e.onDidChangeConfiguration(e=>{let t=this._isEnabled;this._isEnabled=this.isEnabled(),t!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageIdentifier(),n=this._configurationService.getValue(t.language);if(n){const e=n.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(12)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;const t=this._editor.getModel();t&&et.c.has(t)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(t=>{this._timeoutTimer||(this._timeoutTimer=new ue.e,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},e.RECOMPUTE_TIME))})),this.beginCompute())}beginCompute(){this._computePromise=Object(ue.f)(e=>{const t=this._editor.getModel();return t?function(e,t){const n=[],i=et.c.ordered(e).reverse().map(i=>Promise.resolve(i.provideDocumentColors(e,t)).then(e=>{if(Array.isArray(e))for(let t of e)n.push({colorInfo:t,provider:i})}));return Promise.all(i).then(()=>n)}(t,e):Promise.resolve([])}),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},Z.e)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:be.a.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,n)=>this._colorDatas.set(t,e[n]))}updateColorDecorators(e){let t=[],n={};for(let i=0;i<e.length&&t.length<500;i++){const{red:r,green:o,blue:s,alpha:a}=e[i].colorInfo.color,l=new Nn.c(Math.round(255*r),Math.round(255*o),Math.round(255*s),a);let c=Object(xn.b)(`rgba(${l.r},${l.g},${l.b},${l.a})`).toString(16),d=`rgba(${l.r}, ${l.g}, ${l.b}, ${l.a})`,h="colorBox-"+c;this._decorationsTypes.has(h)||n[h]||this._codeEditorService.registerDecorationType(h,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:d},dark:{before:{border:"solid 0.1em #eee"}}},void 0,this._editor),n[h]=!0,t.push({range:{startLineNumber:e[i].colorInfo.range.startLineNumber,startColumn:e[i].colorInfo.range.startColumn,endLineNumber:e[i].colorInfo.range.endLineNumber,endColumn:e[i].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(h,!0)})}this._decorationsTypes.forEach(e=>{n[e]||this._codeEditorService.removeDecorationType(e)}),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,t)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach(e=>{this._codeEditorService.removeDecorationType(e)})}getColorData(e){const t=this._editor.getModel();if(!t)return null;const n=t.getDecorationsInRange(ge.a.fromPositions(e,e)).filter(e=>this._colorDatas.has(e.id));return 0===n.length?null:this._colorDatas.get(n[0].id)}};Rn.ID="editor.contrib.colorDetector",Rn.RECOMPUTE_TIME=1e3,Rn=On([An(1,Me.a),An(2,Dn.a)],Rn),Object(V.m)(Rn.ID,Rn);var Mn=n(70),Pn=n(39);class Fn{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,n){if(n<0)return!1;const i=t.length;if(n+i>e.length)return!1;for(let r=0;r<i;r++){const i=e.charCodeAt(n+r),o=t.charCodeAt(r);if(i!==o&&!(i>=65&&i<=90&&i+32===o||o>=65&&o<=90&&o+32===i))return!1}return!0}_createOperationsForBlockComment(e,t,n,i,r,o){const s=e.startLineNumber,a=e.startColumn,l=e.endLineNumber,c=e.endColumn,d=r.getLineContent(s),h=r.getLineContent(l);let u,p=d.lastIndexOf(t,a-1+t.length),m=h.indexOf(n,c-1-n.length);if(-1!==p&&-1!==m)if(s===l){d.substring(p+t.length,m).indexOf(n)>=0&&(p=-1,m=-1)}else{const e=d.substring(p+t.length),i=h.substring(0,m);(e.indexOf(n)>=0||i.indexOf(n)>=0)&&(p=-1,m=-1)}-1!==p&&-1!==m?(i&&p+t.length<d.length&&32===d.charCodeAt(p+t.length)&&(t+=" "),i&&m>0&&32===h.charCodeAt(m-1)&&(n=" "+n,m-=1),u=Fn._createRemoveBlockCommentOperations(new ge.a(s,p+t.length+1,l,m+1),t,n)):(u=Fn._createAddBlockCommentOperations(e,t,n,this._insertSpace),this._usedEndToken=1===u.length?n:null);for(const e of u)o.addTrackedEditOperation(e.range,e.text)}static _createRemoveBlockCommentOperations(e,t,n){let i=[];return ge.a.isEmpty(e)?i.push(Mn.a.delete(new ge.a(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+n.length))):(i.push(Mn.a.delete(new ge.a(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),i.push(Mn.a.delete(new ge.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+n.length)))),i}static _createAddBlockCommentOperations(e,t,n,i){let r=[];return ge.a.isEmpty(e)?r.push(Mn.a.replace(new ge.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+n)):(r.push(Mn.a.insert(new me.a(e.startLineNumber,e.startColumn),t+(i?" ":""))),r.push(Mn.a.insert(new me.a(e.endLineNumber,e.endColumn),(i?" ":"")+n))),r}getEditOperations(e,t){const n=this._selection.startLineNumber,i=this._selection.startColumn;e.tokenizeIfCheap(n);const r=e.getLanguageIdAtPosition(n,i),o=Pn.a.getComments(r);o&&o.blockCommentStartToken&&o.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,o.blockCommentStartToken,o.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const n=t.getInverseEditOperations();if(2===n.length){const e=n[0],t=n[1];return new q.a(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{const e=n[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new q.a(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}class Wn{constructor(e,t,n,i,r){this._selection=e,this._tabSize=t,this._type=n,this._insertSpace=i,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=r}static _gatherPreflightCommentStrings(e,t,n){e.tokenizeIfCheap(t);const i=e.getLanguageIdAtPosition(t,1),r=Pn.a.getComments(i),o=r?r.lineCommentToken:null;if(!o)return null;let s=[];for(let e=0,i=n-t+1;e<i;e++)s[e]={ignore:!1,commentStr:o,commentStrOffset:0,commentStrLength:o.length};return s}static _analyzeLines(e,t,n,i,r,o){let s,a=!0;s=0===e||1!==e;for(let l=0,c=i.length;l<c;l++){const c=i[l],d=r+l,h=n.getLineContent(d),u=Ye.w(h);if(-1!==u){if(a=!1,c.ignore=!1,c.commentStrOffset=u,s&&!Fn._haystackHasNeedleAtOffset(h,c.commentStr,u)&&(0===e?s=!1:1===e||(c.ignore=!0)),s&&t){const e=u+c.commentStrLength;e<h.length&&32===h.charCodeAt(e)&&(c.commentStrLength+=1)}}else c.ignore=o,c.commentStrOffset=h.length}if(0===e&&a){s=!1;for(let e=0,t=i.length;e<t;e++)i[e].ignore=!1}return{supported:!0,shouldRemoveComments:s,lines:i}}static _gatherPreflightData(e,t,n,i,r,o){const s=Wn._gatherPreflightCommentStrings(n,i,r);return null===s?{supported:!1}:Wn._analyzeLines(e,t,n,s,i,o)}_executeLineComments(e,t,n,i){let r;n.shouldRemoveComments?r=Wn._createRemoveLineCommentsOperations(n.lines,i.startLineNumber):(Wn._normalizeInsertionPoint(e,n.lines,i.startLineNumber,this._tabSize),r=this._createAddLineCommentsOperations(n.lines,i.startLineNumber));const o=new me.a(i.positionLineNumber,i.positionColumn);for(let n=0,i=r.length;n<i;n++)if(t.addEditOperation(r[n].range,r[n].text),ge.a.isEmpty(r[n].range)&&ge.a.getStartPosition(r[n].range).equals(o)){e.getLineContent(o.lineNumber).length+1===o.column&&(this._deltaColumn=(r[n].text||"").length)}this._selectionId=t.trackSelection(i)}_attemptRemoveBlockComment(e,t,n,i){let r=t.startLineNumber,o=t.endLineNumber,s=i.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),a=e.getLineContent(r).lastIndexOf(n,s-1),l=e.getLineContent(o).indexOf(i,t.endColumn-1-n.length);return-1!==a&&-1===l&&(l=e.getLineContent(r).indexOf(i,a+n.length),o=r),-1===a&&-1!==l&&(a=e.getLineContent(o).lastIndexOf(n,l),r=o),!t.isEmpty()||-1!==a&&-1!==l||(a=e.getLineContent(r).indexOf(n),-1!==a&&(l=e.getLineContent(r).indexOf(i,a+n.length))),-1!==a&&32===e.getLineContent(r).charCodeAt(a+n.length)&&(n+=" "),-1!==l&&32===e.getLineContent(o).charCodeAt(l-1)&&(i=" "+i,l-=1),-1!==a&&-1!==l?Fn._createRemoveBlockCommentOperations(new ge.a(r,a+n.length+1,o,l+1),n,i):null}_executeBlockComment(e,t,n){e.tokenizeIfCheap(n.startLineNumber);let i=e.getLanguageIdAtPosition(n.startLineNumber,1),r=Pn.a.getComments(i);if(!r||!r.blockCommentStartToken||!r.blockCommentEndToken)return;const o=r.blockCommentStartToken,s=r.blockCommentEndToken;let a=this._attemptRemoveBlockComment(e,n,o,s);if(!a){if(n.isEmpty()){const t=e.getLineContent(n.startLineNumber);let i=Ye.w(t);-1===i&&(i=t.length),a=Fn._createAddBlockCommentOperations(new ge.a(n.startLineNumber,i+1,n.startLineNumber,t.length+1),o,s,this._insertSpace)}else a=Fn._createAddBlockCommentOperations(new ge.a(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),o,s,this._insertSpace);1===a.length&&(this._deltaColumn=o.length+1)}this._selectionId=t.trackSelection(n);for(const e of a)t.addEditOperation(e.range,e.text)}getEditOperations(e,t){let n=this._selection;this._moveEndPositionDown=!1,n.startLineNumber<n.endLineNumber&&1===n.endColumn&&(this._moveEndPositionDown=!0,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));const i=Wn._gatherPreflightData(this._type,this._insertSpace,e,n.startLineNumber,n.endLineNumber,this._ignoreEmptyLines);return i.supported?this._executeLineComments(e,t,i,n):this._executeBlockComment(e,t,n)}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new q.a(n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){let n=[];for(let i=0,r=e.length;i<r;i++){const r=e[i];r.ignore||n.push(Mn.a.delete(new ge.a(t+i,r.commentStrOffset+1,t+i,r.commentStrOffset+r.commentStrLength+1)))}return n}_createAddLineCommentsOperations(e,t){let n=[];const i=this._insertSpace?" ":"";for(let r=0,o=e.length;r<o;r++){const o=e[r];o.ignore||n.push(Mn.a.insert(new me.a(t+r,o.commentStrOffset+1),o.commentStr+i))}return n}static nextVisibleColumn(e,t,n,i){return n?e+(t-e%t):e+i}static _normalizeInsertionPoint(e,t,n,i){let r,o,s=1073741824;for(let r=0,o=t.length;r<o;r++){if(t[r].ignore)continue;const o=e.getLineContent(n+r);let a=0;for(let e=0,n=t[r].commentStrOffset;a<s&&e<n;e++)a=Wn.nextVisibleColumn(a,i,9===o.charCodeAt(e),1);a<s&&(s=a)}s=Math.floor(s/i)*i;for(let a=0,l=t.length;a<l;a++){if(t[a].ignore)continue;const l=e.getLineContent(n+a);let c=0;for(r=0,o=t[a].commentStrOffset;c<s&&r<o;r++)c=Wn.nextVisibleColumn(c,i,9===l.charCodeAt(r),1);t[a].commentStrOffset=c>s?r-1:r}}}class zn extends V.b{constructor(e,t){super(t),this._type=e}run(e,t){if(!t.hasModel())return;const n=t.getModel(),i=[],r=t.getSelections(),o=n.getOptions(),s=t.getOption(14);for(const e of r)i.push(new Wn(e,o.tabSize,this._type,s.insertSpace,s.ignoreEmptyLines));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Bn extends V.b{constructor(){super({id:"editor.action.blockComment",label:U.a("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"5_insert",title:U.a({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){if(!t.hasModel())return;const n=t.getOption(14),i=[],r=t.getSelections();for(const e of r)i.push(new Fn(e,n.insertSpace));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}Object(V.k)(class extends zn{constructor(){super(0,{id:"editor.action.commentLine",label:U.a("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"5_insert",title:U.a({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),Object(V.k)(class extends zn{constructor(){super(1,{id:"editor.action.addCommentLine",label:U.a("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2081),weight:100}})}}),Object(V.k)(class extends zn{constructor(){super(2,{id:"editor.action.removeCommentLine",label:U.a("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2099),weight:100}})}}),Object(V.k)(Bn);var jn=n(123),Vn=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Un=function(e,t){return function(n,i){t(n,i,e)}};let Hn=class e{constructor(e,t,n,i,r,o){this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=i,this._keybindingService=r,this._menuService=o,this._toDispose=new pe.b,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(e=>this._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{if(this._contextMenuIsBeingShownCount>0){const t=this._contextViewService.getContextViewElement(),n=e.srcElement;n.shadowRoot&&ft.E(t)===n.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(e=>{58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(15))return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(12===e.target.type)return;if(e.event.preventDefault(),6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(const n of this._editor.getSelections())if(n.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(15))return;if(!this._editor.hasModel())return;if(!this._contextMenuService)return void this._editor.focus();const t=this._getMenuActions(this._editor.getModel(),ye.b.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const n=[],i=this._menuService.createMenu(t,this._contextKeyService),r=i.getActions({arg:e.uri});i.dispose();for(let t of r){const[,i]=t;let r=0;for(const t of i)if(t instanceof ye.e){const i=this._getMenuActions(e,t.item.submenu);i.length>0&&(n.push(new bt.d(t.id,t.label,i)),r++)}else n.push(t),r++;r&&n.push(new bt.c)}return n.length&&n.pop(),n}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const n=this._editor.getOption(46);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),n=ft.C(this._editor.getDomNode()),i=n.left+e.left,r=n.top+e.top+e.height;t={x:i,y:r}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{const t=this._keybindingFor(e);if(t)return new jn.a(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});const n=e;return"function"==typeof n.getActionViewItem?n.getActionViewItem():new jn.a(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:n})}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Hn.ID="editor.contrib.contextmenu",Hn=Vn([Un(1,_t.a),Un(2,_t.b),Un(3,K.b),Un(4,vt.a),Un(5,ye.a)],Hn);class qn extends V.b{constructor(){super({id:"editor.action.showContextMenu",label:U.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:1092,weight:100}})}run(e,t){Hn.get(t).showContextMenu()}}Object(V.m)(Hn.ID,Hn),Object(V.k)(qn);class $n{constructor(e){this.selections=e}equals(e){const t=this.selections.length;if(t!==e.selections.length)return!1;for(let n=0;n<t;n++)if(!this.selections[n].equalsSelection(e.selections[n]))return!1;return!0}}class Kn{constructor(e,t,n){this.cursorState=e,this.scrollTop=t,this.scrollLeft=n}}class Gn extends pe.a{constructor(e){super(),this._editor=e,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(e.onDidChangeModel(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{if(this._isCursorUndoRedo)return;if(!t.oldSelections)return;if(t.oldModelVersionId!==t.modelVersionId)return;const n=new $n(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(n)||(this._undoStack.push(new Kn(n,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}static get(e){return e.getContribution(Gn.ID)}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new Kn(new $n(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new Kn(new $n(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}Gn.ID="editor.contrib.cursorUndoRedoController";class Yn extends V.b{constructor(){super({id:"cursorUndo",label:U.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:2099,weight:100}})}run(e,t,n){Gn.get(t).cursorUndo()}}class Zn extends V.b{constructor(){super({id:"cursorRedo",label:U.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,n){Gn.get(t).cursorRedo()}}Object(V.m)(Gn.ID,Gn),Object(V.k)(Yn),Object(V.k)(Zn);n(291);class Xn{constructor(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}getEditOperations(e,t){let n=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new ge.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new q.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new q.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber<this.selection.endLineNumber?this.targetSelection=new q.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new q.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,(this.selection.startLineNumber,this.selection.endLineNumber,this.targetPosition.column-this.selection.endColumn+this.selection.startColumn),this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new q.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn):this.targetSelection=this.selection}computeCursorState(e,t){return this.targetSelection}}function Qn(e){return Ae.f?e.altKey:e.ctrlKey}class Jn extends pe.a{constructor(e){super(),this._editor=e,this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(25)&&!this._editor.getOption(13)&&(Qn(e)&&(this._modifierPressed=!0),this._mouseDown&&Qn(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(25)&&!this._editor.getOption(13)&&(Qn(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===Jn.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=(this._editor.getSelections()||[]).filter(e=>t.position&&e.containsPosition(t.position));if(1!==e.length)return;this._dragSelection=e[0]}Qn(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new me.a(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let n=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){const{selectionStartLineNumber:i,selectionStartColumn:r}=e;n=[new q.a(i,r,t.lineNumber,t.column)]}}else n=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new q.a(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(n||[],"mouse")}else(!this._dragSelection.containsPosition(t)||(Qn(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(Jn.ID,new Xn(this._dragSelection,t,Qn(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){let t=[{range:new ge.a(e.lineNumber,e.column,e.lineNumber,e.column),options:Jn._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}Jn.ID="editor.contrib.dragAndDrop",Jn.TRIGGER_KEY_VALUE=Ae.f?6:5,Jn._DECORATION_OPTIONS=be.a.register({className:"dnd-target"}),Object(V.m)(Jn.ID,Jn);var ei=n(106);class ti{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){let t=this._editor.getModel().getDecorationsInRange(e);for(const e of t){const t=e.options;if(t===ti._FIND_MATCH_DECORATION||t===ti._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(e.id)}return 0}setCurrentFindMatch(e){let t=null,n=0;if(e)for(let i=0,r=this._decorations.length;i<r;i++){let r=this._editor.getModel().getDecorationRange(this._decorations[i]);if(e.equalsRange(r)){t=this._decorations[i],n=i+1;break}}return null===this._highlightedDecorationId&&null===t||this._editor.changeDecorations(e=>{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,ti._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,ti._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let n=this._editor.getModel().getDecorationRange(t);if(n.startLineNumber!==n.endLineNumber&&1===n.endColumn){let e=n.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);n=new ge.a(n.startLineNumber,n.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(n,ti._RANGE_HIGHLIGHT_DECORATION)}}),n}set(e,t){this._editor.changeDecorations(n=>{let i=ti._FIND_MATCH_DECORATION,r=[];if(e.length>1e3){i=ti._FIND_MATCH_NO_OVERVIEW_DECORATION;const t=this._editor.getModel().getLineCount(),n=this._editor.getLayoutInfo().height/t,o=Math.max(2,Math.ceil(3/n));let s=e[0].range.startLineNumber,a=e[0].range.endLineNumber;for(let t=1,n=e.length;t<n;t++){const n=e[t].range;a+o>=n.startLineNumber?n.endLineNumber>a&&(a=n.endLineNumber):(r.push({range:new ge.a(s,1,a,1),options:ti._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),s=n.startLineNumber,a=n.endLineNumber)}r.push({range:new ge.a(s,1,a,1),options:ti._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let o=new Array(e.length);for(let t=0,n=e.length;t<n;t++)o[t]={range:e[t].range,options:i};this._decorations=n.deltaDecorations(this._decorations,o),this._overviewRulerApproximateDecorations=n.deltaDecorations(this._overviewRulerApproximateDecorations,r),this._rangeHighlightDecorationId&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach(e=>n.removeDecoration(e)),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map(e=>n.addDecoration(e,ti._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,n=this._decorations.length;t<n;t++){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.startLineNumber<e.lineNumber)){if(i.startLineNumber>e.lineNumber)return i;if(!(i.startColumn<e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}ti._CURRENT_FIND_MATCH_DECORATION=be.a.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(we.h)(ve.Vb),position:fe.d.Center},minimap:{color:Object(we.h)(ve.Ob),position:fe.c.Inline}}),ti._FIND_MATCH_DECORATION=be.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(we.h)(ve.Vb),position:fe.d.Center},minimap:{color:Object(we.h)(ve.Ob),position:fe.c.Inline}}),ti._FIND_MATCH_NO_OVERVIEW_DECORATION=be.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),ti._FIND_MATCH_ONLY_OVERVIEW_DECORATION=be.a.register({stickiness:1,overviewRuler:{color:Object(we.h)(ve.Vb),position:fe.d.Center}}),ti._RANGE_HIGHLIGHT_DECORATION=be.a.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),ti._FIND_SCOPE_DECORATION=be.a.register({className:"findScope",isWholeLine:!0});class ni{constructor(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){let e=[];for(let t=0;t<this._ranges.length;t++)e.push({range:this._ranges[t],text:this._replaceStrings[t]});e.sort((e,t)=>ge.a.compareRangesUsingStarts(e.range,t.range));let n=[],i=e[0];for(let t=1;t<e.length;t++)i.range.endLineNumber===e[t].range.startLineNumber&&i.range.endColumn===e[t].range.startColumn?(i.range=i.range.plusRange(e[t].range),i.text=i.text+e[t].text):(n.push(i),i=e[t]);n.push(i);for(const e of n)t.addEditOperation(e.range,e.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}function ii(e,t){if(e&&""!==e[0]){const n=ri(e,t,"-"),i=ri(e,t,"_");return n&&!i?oi(e,t,"-"):!n&&i?oi(e,t,"_"):e[0].toUpperCase()===e[0]?t.toUpperCase():e[0].toLowerCase()===e[0]?t.toLowerCase():Ye.o(e[0][0])&&t.length>0?t[0].toUpperCase()+t.substr(1):t}return t}function ri(e,t,n){return-1!==e[0].indexOf(n)&&-1!==t.indexOf(n)&&e[0].split(n).length===t.split(n).length}function oi(e,t,n){const i=t.split(n),r=e[0].split(n);let o="";return i.forEach((e,t)=>{o+=ii([r[t]],e)+n}),o.slice(0,-1)}class si{constructor(e){this.staticValue=e,this.kind=0}}class ai{constructor(e){this.pieces=e,this.kind=1}}class li{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new si(e[0].staticValue):this._state=new ai(e):this._state=new si("")}static fromStaticValue(e){return new li([ci.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?ii(e,this._state.staticValue):this._state.staticValue;let n="";for(let t=0,i=this._state.pieces.length;t<i;t++){let i=this._state.pieces[t];if(null!==i.staticValue){n+=i.staticValue;continue}let r=li._substitute(i.matchIndex,e);if(null!==i.caseOps&&i.caseOps.length>0){let e=[],t=i.caseOps.length,n=0;for(let o=0,s=r.length;o<s;o++){if(n>=t){e.push(r.slice(o));break}switch(i.caseOps[n]){case"U":e.push(r[o].toUpperCase());break;case"u":e.push(r[o].toUpperCase()),n++;break;case"L":e.push(r[o].toLowerCase());break;case"l":e.push(r[o].toLowerCase()),n++;break;default:e.push(r[o])}}r=e.join("")}n+=r}return n}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let n="";for(;e>0;){if(e<t.length){return(t[e]||"")+n}n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n}}class ci{constructor(e,t,n){this.staticValue=e,this.matchIndex=t,n&&0!==n.length?this.caseOps=n.slice(0):this.caseOps=null}static staticValue(e){return new ci(e,-1,null)}static caseOps(e,t){return new ci(null,e,t)}}class di{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){0!==e.length&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,n){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=ci.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=ci.caseOps(e,n),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=ci.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new li(this._result)}}const hi=new K.c("findWidgetVisible",!1),ui=new K.c("findInputFocussed",!1),pi=new K.c("replaceInputFocussed",!1),mi={primary:545,mac:{primary:2593}},gi={primary:565,mac:{primary:2613}},fi={primary:560,mac:{primary:2608}},bi={primary:554,mac:{primary:2602}},_i="actions.find",vi="actions.findWithSelection",wi="editor.action.nextMatchFindAction",yi="editor.action.previousMatchFindAction",Ci="editor.action.nextSelectionMatchFindAction",xi="editor.action.previousSelectionMatchFindAction",Si="editor.action.startFindReplaceAction",ki="closeFindWidget",Ei="toggleFindCaseSensitive",Ti="toggleFindWholeWord",Li="toggleFindRegex",Ni="toggleFindInSelection",Ii="editor.action.replaceOne",Di="editor.action.replaceAll",Oi="editor.action.selectAllMatches";class Ai{constructor(e,t){this._toDispose=new pe.b,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new ue.e,this._decorations=new ti(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new ue.d(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,Object(pe.f)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let n=null;void 0!==t?null!==t&&(n=Array.isArray(t)?t:[t]):n=this._decorations.getFindScopes(),null!==n&&(n=n.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new ge.a(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let i=this._findMatches(n,!1,19999);this._decorations.set(i,n);const r=this._editor.getSelection();let o=this._decorations.getCurrentMatchesPosition(r);if(0===o&&i.length>0){const e=Object(G.h)(i.map(e=>e.range),e=>ge.a.compareRangesUsingStarts(e,r)>=0);o=e>0?e-1+1:o}this._state.changeMatchInfo(o,this._decorations.getCount(),void 0),e&&this._editor.getOption(29).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:i}=e,r=this._editor.getModel();return t||1===i?(1===n?n=r.getLineCount():n--,i=r.getLineMaxColumn(n)):i--,new me.a(n,i)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const t=this._decorations.matchAfterPosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<19999){let t=this._decorations.matchBeforePosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),void(t&&this._setCurrentFindMatch(t))}if(this._cannotFind())return;let n=this._decorations.getFindScope(),i=Ai._getSearchRange(this._editor.getModel(),n);i.getEndPosition().isBefore(e)&&(e=i.getEndPosition()),e.isBefore(i.getStartPosition())&&(e=i.getEndPosition());let{lineNumber:r,column:o}=e,s=this._editor.getModel(),a=new me.a(r,o),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1);return l&&l.range.isEmpty()&&l.range.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,!1)),l?t||i.containsRange(l.range)?void this._setCurrentFindMatch(l.range):this._moveToPrevMatch(l.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:i}=e,r=this._editor.getModel();return t||i===r.getLineMaxColumn(n)?(n===r.getLineCount()?n=1:n++,i=1):i++,new me.a(n,i)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const t=this._decorations.matchBeforePosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<19999){let t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,n,i=!1){if(this._cannotFind())return null;let r=this._decorations.getFindScope(),o=Ai._getSearchRange(this._editor.getModel(),r);o.getEndPosition().isBefore(e)&&(e=o.getStartPosition()),e.isBefore(o.getStartPosition())&&(e=o.getStartPosition());let{lineNumber:s,column:a}=e,l=this._editor.getModel(),c=new me.a(s,a),d=l.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t);return n&&d&&d.range.isEmpty()&&d.range.getStartPosition().equals(c)&&(c=this._nextSearchPosition(c),d=l.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t)),d?i||o.containsRange(d.range)?d:this._getNextMatch(d.range.getEndPosition(),t,n,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new li(null);let t=[],n=new di(e);for(let i=0,r=e.length;i<r;i++){let o=e.charCodeAt(i);if(92!==o){if(36===o){if(i++,i>=r)break;let o=e.charCodeAt(i);if(36===o){n.emitUnchanged(i-1),n.emitStatic("$",i+1);continue}if(48===o||38===o){n.emitUnchanged(i-1),n.emitMatchIndex(0,i+1,t),t.length=0;continue}if(49<=o&&o<=57){let s=o-48;if(i+1<r){let r=e.charCodeAt(i+1);if(48<=r&&r<=57){i++,s=10*s+(r-48),n.emitUnchanged(i-2),n.emitMatchIndex(s,i+1,t),t.length=0;continue}}n.emitUnchanged(i-1),n.emitMatchIndex(s,i+1,t),t.length=0;continue}}}else{if(i++,i>=r)break;let o=e.charCodeAt(i);switch(o){case 92:n.emitUnchanged(i-1),n.emitStatic("\\",i+1);break;case 110:n.emitUnchanged(i-1),n.emitStatic("\n",i+1);break;case 116:n.emitUnchanged(i-1),n.emitStatic("\t",i+1);break;case 117:case 85:case 108:case 76:n.emitUnchanged(i-1),n.emitStatic("",i+1),t.push(String.fromCharCode(o))}}}return n.finalize()}(this._state.replaceString):li.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){let i=e.buildReplaceString(n.matches,this._state.preserveCase),r=new Ne.a(t,i);this._executeEditorCommand("replace",r),this._decorations.setStartPosition(new me.a(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}_findMatches(e,t,n){const i=(e||[null]).map(e=>Ai._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,i,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null,t,n)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const e=new ei.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(105):null).parseSearchRequest();if(!e)return;let t=e.regex;if(!t.multiline){let e="mu";t.ignoreCase&&(e+="i"),t.global&&(e+="g"),t=new RegExp(t.source,e)}const n=this._editor.getModel(),i=n.getValue(1),r=n.getFullModelRange(),o=this._getReplacePattern();let s;const a=this._state.preserveCase;s=o.hasReplacementPatterns||a?i.replace(t,(function(){return o.buildReplaceString(arguments,a)})):i.replace(t,o.buildReplaceString(null,a));let l=new Ne.b(r,s,this._editor.getSelection());this._executeEditorCommand("replaceAll",l)}_regularReplaceAll(e){const t=this._getReplacePattern();let n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[];for(let e=0,r=n.length;e<r;e++)i[e]=t.buildReplaceString(n[e].matches,this._state.preserveCase);let r=new ni(this._editor.getSelection(),n.map(e=>e.range),i);this._executeEditorCommand("replaceAll",r)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824).map(e=>new q.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,i=t.length;e<i;e++){if(t[e].equalsRange(n)){t=[n].concat(t.slice(0,e)).concat(t.slice(e+1));break}}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}n(293);var Ri=n(82);const Mi={inputActiveOptionBorder:Nn.a.fromHex("#007ACC00"),inputActiveOptionForeground:Nn.a.fromHex("#FFFFFF"),inputActiveOptionBackground:Nn.a.fromHex("#0E639C50")};class Pi extends Ri.a{constructor(e){super(),this._onChange=this._register(new Lt.a),this.onChange=this._onChange.event,this._onKeyDown=this._register(new Lt.a),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},Mi),e),this._checked=this._opts.isChecked;const t=["monaco-custom-checkbox"];this._opts.icon?t.push(this._opts.icon.classNames):t.push("codicon"),this._opts.actionClassName&&t.push(this._opts.actionClassName),t.push(this._checked?"checked":"unchecked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.className=t.join(" "),this.domNode.tabIndex=0,this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,e=>{this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault()}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,e=>{if(10===e.keyCode||3===e.keyCode)return this.checked=!this._checked,this._onChange.fire(!0),void e.preventDefault();this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))}disable(){ft.T(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))}}const Fi=U.a("caseDescription","Match Case"),Wi=U.a("wordsDescription","Match Whole Word"),zi=U.a("regexDescription","Use Regular Expression");class Bi extends Pi{constructor(e){super({icon:Y.a.caseSensitive,title:Fi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class ji extends Pi{constructor(e){super({icon:Y.a.wholeWord,title:Wi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Vi extends Pi{constructor(e){super({icon:Y.a.regex,title:zi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Ui extends Ri.a{constructor(e,t,n,i){super(),this._hideSoon=this._register(new ue.d(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=n,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const r=i.getColorTheme().getColor(ve.db),o=i.getColorTheme().getColor(ve.eb),s=i.getColorTheme().getColor(ve.cb);this.caseSensitive=this._register(new Bi({appendTitle:this._keybindingLabelFor(Ei),isChecked:this._state.matchCase,inputActiveOptionBorder:r,inputActiveOptionForeground:o,inputActiveOptionBackground:s})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new ji({appendTitle:this._keybindingLabelFor(Ti),isChecked:this._state.wholeWord,inputActiveOptionBorder:r,inputActiveOptionForeground:o,inputActiveOptionBackground:s})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Vi({appendTitle:this._keybindingLabelFor(Li),isChecked:this._state.isRegex,inputActiveOptionBorder:r,inputActiveOptionForeground:o,inputActiveOptionBackground:s})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(ft.j(this._domNode,e=>this._onMouseOut())),this._register(ft.i(this._domNode,"mouseover",e=>this._onMouseOver())),this._applyTheme(i.getColorTheme()),this._register(i.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Ui.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(ve.db),inputActiveOptionForeground:e.getColor(ve.eb),inputActiveOptionBackground:e.getColor(ve.cb)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}function Hi(e,t){return 1===e||2!==e&&t}Ui.ID="editor.contrib.findOptionsWidget",Object(we.g)((e,t)=>{const n=e.getColor(ve.U);n&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${n}; }`);const i=e.getColor(ve.W);i&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${i}; }`);const r=e.getColor(ve.uc);r&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px ${r}; }`);const o=e.getColor(ve.h);o&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${o}; }`)});class qi extends pe.a{constructor(){super(),this._onFindReplaceStateChange=this._register(new Lt.a),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return Hi(this._isRegexOverride,this._isRegex)}get wholeWord(){return Hi(this._wholeWordOverride,this._wholeWord)}get matchCase(){return Hi(this._matchCaseOverride,this._matchCase)}get preserveCase(){return Hi(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,n){let i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},r=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,r=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,r=!0),void 0!==n&&(ge.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,r=!0)),r&&this._onFindReplaceStateChange.fire(i)}change(e,t,n=!0){var i;let r={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},o=!1;const s=this.isRegex,a=this.wholeWord,l=this.matchCase,c=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,r.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,r.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,r.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,r.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0!==e.searchScope&&((null===(i=e.searchScope)||void 0===i?void 0:i.every(e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some(t=>!ge.a.equalsRange(t,e))}))||(this._searchScope=e.searchScope,r.searchScope=!0,o=!0)),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,r.loop=!0,o=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,s!==this.isRegex&&(o=!0,r.isRegex=!0),a!==this.wholeWord&&(o=!0,r.wholeWord=!0),l!==this.matchCase&&(o=!0,r.matchCase=!0),c!==this.preserveCase&&(o=!0,r.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(r)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=19999}}n(295);var $i=n(153),Ki=(n(198),n(173));const Gi=U.a("defaultLabel","input");class Yi extends Ri.a{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this._onDidOptionChange=this._register(new Lt.a),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new Lt.a),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new Lt.a),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new Lt.a),this._onKeyUp=this._register(new Lt.a),this._onCaseSensitiveKeyDown=this._register(new Lt.a),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new Lt.a),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||Gi,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const r=i.appendCaseSensitiveLabel||"",o=i.appendWholeWordsLabel||"",s=i.appendRegexLabel||"",a=i.history||[],l=!!i.flexibleHeight,c=!!i.flexibleWidth,d=i.flexibleMaxHeight;this.domNode=document.createElement("div"),ft.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new Ki.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:a,flexibleHeight:l,flexibleWidth:c,flexibleMaxHeight:d})),this.regex=this._register(new Vi({appendTitle:s,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new ji({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new Bi({appendTitle:r,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let h=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=h.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%h.length:e.equals(15)&&(n=0===t?h.length-1:t-1),e.equals(9)?h[t].blur():n>=0&&h[n].focus(),ft.b.stop(e,!0)}}});let u=document.createElement("div");u.className="controls",u.style.display=this._showOptionButtons?"block":"none",u.appendChild(this.caseSensitive.domNode),u.appendChild(this.wholeWords.domNode),u.appendChild(this.regex.domNode),this.domNode.appendChild(u),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){ft.Q(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){ft.e(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){ft.Q(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,ft.e(this.domNode,"highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}var Zi=n(92);const Xi=U.a("defaultLabel","input"),Qi=U.a("label.preserveCaseCheckbox","Preserve Case");class Ji extends Pi{constructor(e){super({icon:Y.a.preserveCase,title:Qi+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class er extends Ri.a{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new Lt.a),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new Lt.a),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new Lt.a),this._onInput=this._register(new Lt.a),this._onKeyUp=this._register(new Lt.a),this._onPreserveCaseKeyDown=this._register(new Lt.a),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||Xi,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const r=i.history||[],o=!!i.flexibleHeight,s=!!i.flexibleWidth,a=i.flexibleMaxHeight;this.domNode=document.createElement("div"),ft.e(this.domNode,"monaco-findInput"),this.inputBox=this._register(new Ki.a(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:r,flexibleHeight:o,flexibleWidth:s,flexibleMaxHeight:a})),this.preserveCase=this._register(new Ji({appendTitle:"",isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let l=[this.preserveCase.domNode];this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=l.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%l.length:e.equals(15)&&(n=0===t?l.length-1:t-1),e.equals(9)?l[t].blur():n>=0&&l[n].focus(),ft.b.stop(e,!0)}}});let c=document.createElement("div");c.className="controls",c.style.display=this._showOptionButtons?"block":"none",c.appendChild(this.preserveCase.domNode),this.domNode.appendChild(c),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){ft.Q(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){ft.e(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var tr=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},nr=function(e,t){return function(n,i){t(n,i,e)}};function ir(e,t){return e.getContext(document.activeElement).getValue(t)}function rr(e,t){const n=function(e,t){return e.createScoped(t.target)}(e,t);!function(e,t,n){new K.c(n,t).bindTo(e)}(n,t,"historyNavigationWidget");return{scopedContextKeyService:n,historyNavigationEnablement:new K.c("historyNavigationEnabled",!0).bindTo(n)}}let or=class extends Yi{constructor(e,t,n,i,r=!1){super(e,t,r,n),this._register(rr(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};or=tr([nr(3,K.b)],or);let sr=class extends er{constructor(e,t,n,i,r=!1){super(e,t,r,n),this._register(rr(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};sr=tr([nr(3,K.b)],sr),Zi.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:K.a.and(K.a.has("historyNavigationWidget"),K.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:(e,t)=>{const n=ir(e.get(K.b),"historyNavigationWidget");if(n){n.historyNavigator.showPreviousValue()}}}),Zi.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:K.a.and(K.a.has("historyNavigationWidget"),K.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:(e,t)=>{const n=ir(e.get(K.b),"historyNavigationWidget");if(n){n.historyNavigator.showNextValue()}}});var ar=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const lr=Object(Y.e)("find-selection",Y.a.selection),cr=Object(Y.e)("find-collapsed",Y.a.chevronRight),dr=Object(Y.e)("find-expanded",Y.a.chevronDown),hr=Object(Y.e)("find-close",Y.a.close),ur=Object(Y.e)("find-replace",Y.a.replace),pr=Object(Y.e)("find-replace-all",Y.a.replaceAll),mr=Object(Y.e)("find-previous-match",Y.a.arrowUp),gr=Object(Y.e)("find-next-match",Y.a.arrowDown),fr=U.a("label.find","Find"),br=U.a("placeholder.find","Find"),_r=U.a("label.previousMatchButton","Previous match"),vr=U.a("label.nextMatchButton","Next match"),wr=U.a("label.toggleSelectionFind","Find in selection"),yr=U.a("label.closeButton","Close"),Cr=U.a("label.replace","Replace"),xr=U.a("placeholder.replace","Replace"),Sr=U.a("label.replaceButton","Replace"),kr=U.a("label.replaceAllButton","Replace All"),Er=U.a("label.toggleReplaceButton","Toggle Replace mode"),Tr=U.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),Lr=U.a("label.matchesLocation","{0} of {1}"),Nr=U.a("label.noResults","No results");let Ir=69;const Dr=Ae.f?256:2048;class Or{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function Ar(e,t,n){const i=!!t.match(/\n/);n&&i&&n.selectionStart>0&&e.stopPropagation()}function Rr(e,t,n){const i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}class Mr extends Ri.a{constructor(e,t,n,i,r,o,s,a,l,c){super(),this._cachedHeight=null,this._codeEditor=e,this._controller=t,this._state=n,this._contextViewProvider=i,this._keybindingService=r,this._contextKeyService=o,this._storageService=a,this._notificationService=l,c.registerStorageKey({key:"ctrlEnterReplaceAll.windows.donotask",version:1}),this._ctrlEnterReplaceAllWarningPrompted=!!a.getBoolean("ctrlEnterReplaceAll.windows.donotask",0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new ue.a(500),this._register(Object(pe.h)(()=>this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{if(e.hasChanged(72)&&(this._codeEditor.getOption(72)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(117)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(29)){const e=this._codeEditor.getOption(29).addExtraSpaceOnTop;e&&!this._viewZone&&(this._viewZone=new Or(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>ar(this,void 0,void 0,(function*(){if(this._isVisible){let e=yield this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!0),this._findInput.select())}})))),this._findInputFocused=ui.bindTo(o),this._findFocusTracker=this._register(ft.bb(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=pi.bindTo(o),this._replaceFocusTracker=this._register(ft.bb(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(29).addExtraSpaceOnTop&&(this._viewZone=new Or(0)),this._applyTheme(s.getColorTheme()),this._register(s.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return Mr.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(72)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=ft.H(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;ft.ab(this._domNode,"no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=Ir+"px",this._state.matchesCount>=19999?this._matchesCount.title=Tr:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");let n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=Ye.x(Lr,n,t)}else e=Nr;this._matchesCount.appendChild(document.createTextNode(e)),Object(ne.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),Ir=Math.max(Ir,this._matchesCount.clientWidth)}_getAriaLabel(e,t,n){if(e===Nr)return""===n?U.a("ariaSearchNoResultEmpty","{0} found",e):U.a("ariaSearchNoResult","{0} found for '{1}'",e,n);if(t){const i=U.a("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,n,t.startLineNumber+":"+t.startColumn),r=this._codeEditor.getModel();if(r&&t.startLineNumber<=r.getLineCount()&&t.startLineNumber>=1){return`${r.getLineContent(t.startLineNumber)}, ${i}`}return i}return U.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,n)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),ft.ab(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let n=!this._codeEditor.getOption(72);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)}_reveal(){if(!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(29).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":const t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(()=>{ft.e(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","false")},0),setTimeout(()=>{this._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(29).seedSearchStringFromSelection&&e){const n=this._codeEditor.getDomNode();if(n){const i=ft.C(n),r=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),o=i.left+(r?r.left:0),s=r?r.top:0;if(this._viewZone&&s<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const n=ft.F(this._domNode).left;o>n&&(t=!1);const r=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());i.left+(r?r.left:0)>n&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),ft.Q(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(){if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;const e=this._viewZone;void 0===this._viewZoneId&&e&&this._codeEditor.changeViewZones(t=>{e.heightInPx=this._getHeight(),this._viewZoneId=t.addZone(e),this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+e.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible)return;if(!this._codeEditor.getOption(29).addExtraSpaceOnTop)return;void 0===this._viewZone&&(this._viewZone=new Or(0));const t=this._viewZone;this._codeEditor.changeViewZones(n=>{if(void 0!==this._viewZoneId){const i=this._getHeight();if(i===t.heightInPx)return;let r=i-t.heightInPx;return t.heightInPx=i,n.layoutZone(this._viewZoneId),void(e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+r))}{let i=this._getHeight();if(i-=this._codeEditor.getOption(66).top,i<=0)return;t.heightInPx=i,this._viewZoneId=n.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+i)}})}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(ve.db),inputActiveOptionBackground:e.getColor(ve.cb),inputActiveOptionForeground:e.getColor(ve.eb),inputBackground:e.getColor(ve.fb),inputForeground:e.getColor(ve.hb),inputBorder:e.getColor(ve.gb),inputValidationInfoBackground:e.getColor(ve.lb),inputValidationInfoForeground:e.getColor(ve.nb),inputValidationInfoBorder:e.getColor(ve.mb),inputValidationWarningBackground:e.getColor(ve.ob),inputValidationWarningForeground:e.getColor(ve.qb),inputValidationWarningBorder:e.getColor(ve.pb),inputValidationErrorBackground:e.getColor(ve.ib),inputValidationErrorForeground:e.getColor(ve.kb),inputValidationErrorBorder:e.getColor(ve.jb)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible)return;if(!ft.N(this._domNode))return;const e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)return void ft.e(this._domNode,"hiddenEditor");ft.I(this._domNode,"hiddenEditor")&&ft.Q(this._domNode,"hiddenEditor");const t=e.width,n=e.minimap.minimapWidth;let i=!1,r=!1,o=!1;if(this._resized){if(ft.H(this._domNode)>419)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=ft.H(this._findInput.domNode))}if(447+n>=t&&(r=!0),447+n-Ir>=t&&(o=!0),447+n-Ir>=t+50&&(i=!0),ft.ab(this._domNode,"collapsed-find-widget",i),ft.ab(this._domNode,"narrow-find-widget",o),ft.ab(this._domNode,"reduced-find-widget",r),o||i||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){const e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));const t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||ge.a.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){return e.equals(3|Dr)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Ar(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?Rr(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){return e.equals(3|Dr)?(Ae.i&&Ae.g&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(U.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Ar(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?Rr(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new or(null,this._contextViewProvider,{width:221,label:fr,placeholder:br,appendCaseSensitiveLabel:this._keybindingLabelFor(Ei),appendWholeWordsLabel:this._keybindingLabelFor(Ti),appendRegexLabel:this._keybindingLabelFor(Li),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),Ae.d&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Pr({label:_r+this._keybindingLabelFor(yi),className:mr.classNames,onTrigger:()=>{this._codeEditor.getAction(yi).run().then(void 0,Z.e)}})),this._nextBtn=this._register(new Pr({label:vr+this._keybindingLabelFor(wi),className:gr.classNames,onTrigger:()=>{this._codeEditor.getAction(wi).run().then(void 0,Z.e)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);const t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Pi({icon:lr,title:wr+this._keybindingLabelFor(Ni),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e)).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Pr({label:yr+this._keybindingLabelFor(ki),className:hr.classNames,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new sr(null,void 0,{label:Cr,placeholder:xr,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())})),this._replaceBtn=this._register(new Pr({label:Sr+this._keybindingLabelFor(Ii),className:ur.classNames,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Pr({label:kr+this._keybindingLabelFor(Di),className:pr.classNames,onTrigger:()=>{this._controller.replaceAll()}}));let n=document.createElement("div");n.className="replace-part",n.appendChild(this._replaceInput.domNode);const i=document.createElement("div");i.className="replace-actions",n.appendChild(i),i.appendChild(this._replaceBtn.domNode),i.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Pr({label:Er,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(n),this._resizeSash=new $i.a(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let r=419;this._register(this._resizeSash.onDidStart(()=>{r=ft.H(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0;let t=r+e.startX-e.currentX;if(t<419)return;t>(parseFloat(ft.z(this._domNode).maxWidth)||0)||(this._domNode.style.width=t+"px",this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const e=ft.H(this._domNode);if(e<419)return;let t=419;if(!this._resized||419===e){const e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=t+"px",this._isReplaceVisible&&(this._replaceInput.width=ft.H(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Mr.ID="editor.contrib.findWidget";class Pr extends Ri.a{constructor(e){super(),this._opts=e,this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className="button "+this._opts.className,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{if(e.equals(10)||e.equals(3))return this._opts.onTrigger(),void e.preventDefault();this._opts.onKeyDown&&this._opts.onKeyDown(e)})}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){ft.ab(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(ft.R(this._domNode,cr.classNames),ft.f(this._domNode,dr.classNames)):(ft.R(this._domNode,dr.classNames),ft.f(this._domNode,cr.classNames))}}Object(we.g)((e,t)=>{const n=(e,n)=>{n&&t.addRule(`.monaco-editor ${e} { background-color: ${n}; }`)};n(".findMatch",e.getColor(ve.x)),n(".currentFindMatch",e.getColor(ve.v)),n(".findScope",e.getColor(ve.z));n(".find-widget",e.getColor(ve.U));const i=e.getColor(ve.uc);i&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 2px 8px ${i}; }`);const r=e.getColor(ve.y);r&&t.addRule(`.monaco-editor .findMatch { border: 1px ${"hc"===e.type?"dotted":"solid"} ${r}; box-sizing: border-box; }`);const o=e.getColor(ve.w);o&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${o}; padding: 1px; box-sizing: border-box; }`);const s=e.getColor(ve.A);s&&t.addRule(`.monaco-editor .findScope { border: 1px ${"hc"===e.type?"dashed":"solid"} ${s}; }`);const a=e.getColor(ve.h);a&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${a}; }`);const l=e.getColor(ve.W);l&&t.addRule(`.monaco-editor .find-widget { color: ${l}; }`);const c=e.getColor(ve.Y);c&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${c}; }`);const d=e.getColor(ve.X);if(d)t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${d}; }`);else{const n=e.getColor(ve.V);n&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${n}; }`)}const h=e.getColor(ve.Z);h&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${h}; }`)});var Fr=n(166),Wr=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},zr=function(e,t){return function(n,i){t(n,i,e)}},Br=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function jr(e){if(!e.hasModel())return null;const t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){const n=e.getConfiguredWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<524288)return e.getModel().getValueInRange(t);return null}let Vr=class e extends pe.a{constructor(e,t,n,i){super(),this._editor=e,this._findWidgetVisible=hi.bindTo(t),this._contextKeyService=t,this._storageService=n,this._clipboardService=i,this._updateHistoryDelayer=new ue.a(500),this._state=this._register(new qi),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(29).loop})}))}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!ui.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e)).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=Ye.v(e)),this._state.change({searchString:e},!1)}highlightFindOptions(){}_start(e){return Br(this,void 0,void 0,(function*(){if(this.disposeModel(),!this._editor.hasModel())return;let t={isRevealed:!0};if(e.seedSearchStringFromSelection){let e=jr(this._editor);e&&(this._state.isRegex?t.searchString=Ye.v(e):t.searchString=e)}if(!t.searchString&&e.seedSearchStringFromGlobalClipboard){let e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(t.searchString=e)}if(e.forceRevealReplace?t.isReplaceRevealed=!0:this._findWidgetVisible.get()||(t.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(t.searchScope=e)}t.loop=e.loop,this._state.change(t,!1),this._model||(this._model=new Ai(this._editor,this._state))}))}start(e){return this._start(e)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return Br(this,void 0,void 0,(function*(){return this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(29).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};Vr.ID="editor.contrib.findController",Vr=Wr([zr(1,K.b),zr(2,fn.a),zr(3,Pe.a)],Vr);let Ur=class extends Vr{constructor(e,t,n,i,r,o,s,a,l){super(e,n,s,l),this._contextViewService=t,this._keybindingService=i,this._themeService=r,this._notificationService=o,this._storageKeysSyncRegistryService=a,this._widget=null,this._findOptionsWidget=null}_start(e){const t=Object.create(null,{_start:{get:()=>super._start}});return Br(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();const n=this._editor.getSelection();let i=!1;switch(this._editor.getOption(29).autoFindInSelection){case"always":i=!0;break;case"never":i=!1;break;case"multiline":i=!!n&&n.startLineNumber!==n.endLineNumber}e.updateSearchScope=i,yield t._start.call(this,e),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Mr(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._storageKeysSyncRegistryService)),this._findOptionsWidget=this._register(new Ui(this._editor,this._state,this._keybindingService,this._themeService))}};Ur=Wr([zr(1,_t.b),zr(2,K.b),zr(3,vt.a),zr(4,we.c),zr(5,zt.a),zr(6,fn.a),zr(7,Fr.a),zr(8,Pe.a)],Ur);class Hr extends V.f{constructor(){super({id:_i,label:U.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"3_find",title:U.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})}run(e,t){return Br(this,void 0,void 0,(function*(){let e=Vr.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(29).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}))}))}}class qr extends V.b{constructor(){super({id:vi,label:U.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return Br(this,void 0,void 0,(function*(){let e=Vr.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class $r extends V.b{run(e,t){return Br(this,void 0,void 0,(function*(){let e=Vr.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),this._run(e))}))}}class Kr extends V.b{run(e,t){return Br(this,void 0,void 0,(function*(){let e=Vr.get(t);if(!e)return;let n=jr(t);n&&e.setSearchString(n),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(29).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}),this._run(e))}))}}class Gr extends V.f{constructor(){super({id:Si,label:U.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:ye.b.MenubarEditMenu,group:"3_find",title:U.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})}run(e,t){return Br(this,void 0,void 0,(function*(){if(!t.hasModel()||t.getOption(72))return;let e=Vr.get(t),n=t.getSelection(),i=e.isFindInputFocused(),r=!n.isEmpty()&&n.startLineNumber===n.endLineNumber&&t.getOption(29).seedSearchStringFromSelection&&!i,o=i||r?2:1;e&&(yield e.start({forceRevealReplace:!0,seedSearchStringFromSelection:r,seedSearchStringFromGlobalClipboard:t.getOption(29).seedSearchStringFromSelection,shouldFocus:o,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(29).loop}))}))}}Object(V.m)(Vr.ID,Ur);const Yr=new Hr;Object(V.r)(Yr),Object(V.k)(qr),Object(V.k)(class extends $r{constructor(){super({id:wi,label:U.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})}_run(e){return e.moveToNextMatch()}}),Object(V.k)(class extends $r{constructor(){super({id:wi,label:U.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.focus,ui),primary:3,weight:100}})}_run(e){return e.moveToNextMatch()}}),Object(V.k)(class extends $r{constructor(){super({id:yi,label:U.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})}_run(e){return e.moveToPrevMatch()}}),Object(V.k)(class extends $r{constructor(){super({id:yi,label:U.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.focus,ui),primary:1027,weight:100}})}_run(e){return e.moveToPrevMatch()}}),Object(V.k)(class extends Kr{constructor(){super({id:Ci,label:U.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),Object(V.k)(class extends Kr{constructor(){super({id:xi,label:U.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});const Zr=new Gr;Object(V.r)(Zr);const Xr=V.c.bindToContribution(Vr.get);Object(V.l)(new Xr({id:ki,precondition:hi,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(V.l)(new Xr({id:Ei,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:mi.primary,mac:mi.mac,win:mi.win,linux:mi.linux}})),Object(V.l)(new Xr({id:Ti,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:gi.primary,mac:gi.mac,win:gi.win,linux:gi.linux}})),Object(V.l)(new Xr({id:Li,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:fi.primary,mac:fi.mac,win:fi.win,linux:fi.linux}})),Object(V.l)(new Xr({id:Ni,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:bi.primary,mac:bi.mac,win:bi.win,linux:bi.linux}})),Object(V.l)(new Xr({id:Ii,precondition:hi,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:3094}})),Object(V.l)(new Xr({id:Ii,precondition:hi,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:K.a.and(H.a.focus,pi),primary:3}})),Object(V.l)(new Xr({id:Di,precondition:hi,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:2563}})),Object(V.l)(new Xr({id:Di,precondition:hi,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:K.a.and(H.a.focus,pi),primary:void 0,mac:{primary:2051}}})),Object(V.l)(new Xr({id:Oi,precondition:hi,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:H.a.focus,primary:515}}));n(298);var Qr=n(14);class Jr{constructor(e,t,n){if(e.length!==t.length||e.length>65535)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,n)=>{let i=e[e.length-1];return this.getStartLineNumber(i)<=t&&this.getEndLineNumber(i)>=n};for(let n=0,i=this._startIndexes.length;n<i;n++){let i=this._startIndexes[n],r=this._endIndexes[n];if(i>16777215||r>16777215)throw new Error("startLineNumber or endLineNumber must not exceed 16777215");for(;e.length>0&&!t(i,r);)e.pop();let o=e.length>0?e[e.length-1]:-1;e.push(n),this._startIndexes[n]=i+((255&o)<<24),this._endIndexes[n]=r+((65280&o)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return 16777215&this._startIndexes[e]}getEndLineNumber(e){return 16777215&this._endIndexes[e]}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){let t=e/32|0,n=e%32;return 0!=(this._collapseStates[t]&1<<n)}setCollapsed(e,t){let n=e/32|0,i=e%32,r=this._collapseStates[n];this._collapseStates[n]=t?r|1<<i:r&~(1<<i)}toRegion(e){return new eo(this,e)}getParentIndex(e){this.ensureParentIndices();let t=((4278190080&this._startIndexes[e])>>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,n=this._startIndexes.length;if(0===n)return-1;for(;t<n;){let i=Math.floor((t+n)/2);e<this.getStartLineNumber(i)?n=i:t=i+1}return t-1}findRange(e){let t=this.findIndex(e);if(t>=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1}toString(){let e=[];for(let t=0;t<this.length;t++)e[t]=`[${this.isCollapsed(t)?"+":"-"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(", ")}}class eo{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class to{constructor(e,t){this._updateEventEmitter=new Lt.a,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new Jr(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(!e.length)return;e=e.sort((e,t)=>e.regionIndex-t.regionIndex);const t={};this._decorationProvider.changeDecorations(n=>{let i=0,r=-1,o=-1;const s=e=>{for(;i<e;){const e=this._regions.getEndLineNumber(i),t=this._regions.isCollapsed(i);e<=r&&n.changeDecorationOptions(this._editorDecorationIds[i],this._decorationProvider.getDecorationOption(t,e<=o)),t&&e>o&&(o=e),i++}};for(let n of e){let e=n.regionIndex,i=this._editorDecorationIds[e];if(i&&!t[i]){t[i]=!0,s(e);let n=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,n),r=Math.max(r,this._regions.getEndLineNumber(e))}}s(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}update(e,t=[]){let n=[],i=-1,r=(r,o)=>{const s=e.getStartLineNumber(r),a=e.getEndLineNumber(r);o&&((e,n)=>{for(let i of t)if(e<i&&i<=n)return!0;return!1})(s,a)&&(o=!1),e.setCollapsed(r,o);const l=this._textModel.getLineMaxColumn(s),c={startLineNumber:s,startColumn:l,endLineNumber:s,endColumn:l};n.push({range:c,options:this._decorationProvider.getDecorationOption(o,a<=i)}),o&&a>i&&(i=a)},o=0,s=()=>{for(;o<this._regions.length;){let e=this._regions.isCollapsed(o);if(o++,e)return o-1}return-1},a=0,l=s();for(;-1!==l&&a<e.length;){let t=this._textModel.getDecorationRange(this._editorDecorationIds[l]);if(t){let n=t.startLineNumber;if(this._textModel.getLineMaxColumn(n)===t.startColumn)for(;a<e.length;){let t=e.getStartLineNumber(a);if(!(n>=t))break;r(a,n===t),a++}}l=s()}for(;a<e.length;)r(a,!1),a++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,n),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})}getMemento(){let e=[];for(let t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){let n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){let i=n.startLineNumber,r=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:i,endLineNumber:r})}}if(e.length>0)return e}applyMemento(e){if(!Array.isArray(e))return;let t=[];for(let n of e){let e=this.getRegionAtLine(n.startLineNumber);e&&!e.isCollapsed&&t.push(e)}this.toggleCollapseState(t)}dispose(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])}getAllRegionsAtLine(e,t){let n=[];if(this._regions){let i=this._regions.findRange(e),r=1;for(;i>=0;){let e=this._regions.toRegion(i);t&&!t(e,r)||n.push(e),r++,i=e.parentIndex}}return n}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let n=[],i=e?e.regionIndex+1:0,r=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){const e=[];for(let o=i,s=this._regions.length;o<s;o++){let i=this._regions.toRegion(o);if(!(this._regions.getStartLineNumber(o)<r))break;for(;e.length>0&&!i.containedBy(e[e.length-1]);)e.pop();e.push(i),t(i,e.length)&&n.push(i)}}else for(let e=i,o=this._regions.length;e<o;e++){let i=this._regions.toRegion(e);if(!(this._regions.getStartLineNumber(e)<r))break;t&&!t(i)||n.push(i)}return n}}function no(e,t,n=Number.MAX_VALUE,i){let r=[];if(i&&i.length>0)for(let o of i){let i=e.getRegionAtLine(o);if(i&&(i.isCollapsed!==t&&r.push(i),n>1)){let o=e.getRegionsInside(i,(e,i)=>e.isCollapsed!==t&&i<n);r.push(...o)}}else{let i=e.getRegionsInside(null,(e,i)=>e.isCollapsed!==t&&i<n);r.push(...i)}e.toggleCollapseState(r)}function io(e,t,n,i){let r=[];for(let o of i){let i=e.getAllRegionsAtLine(o,(e,i)=>e.isCollapsed!==t&&i<=n);r.push(...i)}e.toggleCollapseState(r)}function ro(e,t,n){let i=e.textModel,r=e.regions,o=[];for(let e=r.length-1;e>=0;e--)if(n!==r.isCollapsed(e)){let n=r.getStartLineNumber(e);t.test(i.getLineContent(n))&&o.push(r.toRegion(e))}e.toggleCollapseState(o)}function oo(e,t,n){let i=e.regions,r=[];for(let e=i.length-1;e>=0;e--)n!==i.isCollapsed(e)&&t===i.getType(e)&&r.push(i.toRegion(e));e.toggleCollapseState(r)}const so=Object(Y.e)("folding-expanded",Y.a.chevronDown),ao=Object(Y.e)("folding-collapsed",Y.a.chevronRight);class lo{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?lo.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?lo.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:lo.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?lo.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:lo.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}lo.COLLAPSED_VISUAL_DECORATION=be.a.register({stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:ao.classNames}),lo.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=be.a.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:ao.classNames}),lo.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=be.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:so.classNames}),lo.EXPANDED_VISUAL_DECORATION=be.a.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+so.classNames}),lo.HIDDEN_RANGE_DECORATION=be.a.register({stickiness:1});class co{constructor(e){this._updateEventEmitter=new Lt.a,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let e=!1,t=[],n=0,i=0,r=Number.MAX_VALUE,o=-1,s=this._foldingModel.regions;for(;n<s.length;n++){if(!s.isCollapsed(n))continue;let a=s.getStartLineNumber(n)+1,l=s.getEndLineNumber(n);r<=a&&l<=o||(!e&&i<this._hiddenRanges.length&&this._hiddenRanges[i].startLineNumber===a&&this._hiddenRanges[i].endLineNumber===l?(t.push(this._hiddenRanges[i]),i++):(e=!0,t.push(new ge.a(a,1,l,1))),r=a,o=l)}(e||i<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyMemento(e){if(!Array.isArray(e)||0===e.length)return!1;let t=[];for(let n of e){if(!n.startLineNumber||!n.endLineNumber)return!1;t.push(new ge.a(n.startLineNumber+1,1,n.endLineNumber,1))}return this.applyHiddenRanges(t),!0}getMemento(){return this._hiddenRanges.map(e=>({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}))}applyHiddenRanges(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return null!==ho(this._hiddenRanges,e)}adjustSelections(e){let t=!1,n=this._foldingModel.textModel,i=null,r=e=>(i&&function(e,t){return e>=t.startLineNumber&&e<=t.endLineNumber}(e,i)||(i=ho(this._hiddenRanges,e)),i?i.startLineNumber-1:null);for(let i=0,o=e.length;i<o;i++){let o=e[i],s=r(o.startLineNumber);s&&(o=o.setStartPosition(s,n.getLineMaxColumn(s)),t=!0);let a=r(o.endLineNumber);a&&(o=o.setEndPosition(a,n.getLineMaxColumn(a)),t=!0),e[i]=o}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function ho(e,t){let n=Object(G.h)(e,e=>t<e.startLineNumber)-1;return n>=0&&e[n].endLineNumber>=t?e[n]:null}class uo{constructor(e){this.editorModel=e,this.id="indent"}dispose(){}compute(e){let t=Pn.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=t&&!!t.offSide,i=t&&t.markers;return Promise.resolve(function(e,t,n,i=5e3){const r=e.getOptions().tabSize;let o=new po(i),s=void 0;n&&(s=new RegExp(`(${n.start.source})|(?:${n.end.source})`));let a=[],l=e.getLineCount()+1;a.push({indent:-1,endAbove:l,line:l});for(let n=e.getLineCount();n>0;n--){let i,l=e.getLineContent(n),c=be.b.computeIndentLevel(l,r),d=a[a.length-1];if(-1!==c){if(s&&(i=l.match(s))){if(!i[1]){a.push({indent:-2,endAbove:n,line:n});continue}{let e=a.length-1;for(;e>0&&-2!==a[e].indent;)e--;if(e>0){a.length=e+1,d=a[e],o.insertFirst(n,d.line,c),d.line=n,d.indent=c,d.endAbove=n;continue}}}if(d.indent>c){do{a.pop(),d=a[a.length-1]}while(d.indent>c);let e=d.endAbove-1;e-n>=1&&o.insertFirst(n,e,c)}d.indent===c?d.endAbove=n:a.push({indent:c,endAbove:n,line:n})}else t&&(d.endAbove=n)}return o.toIndentRanges(e)}(this.editorModel,n,i))}}class po{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,n){if(e>16777215||t>16777215)return;let i=this._length;this._startIndexes[i]=e,this._endIndexes[i]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=this._length-1,i=0;n>=0;n--,i++)e[i]=this._startIndexes[n],t[i]=this._endIndexes[n];return new Jr(e,t)}{let t=0,n=this._indentOccurrences.length;for(let e=0;e<this._indentOccurrences.length;e++){let i=this._indentOccurrences[e];if(i){if(i+t>this._foldingRangesLimit){n=e;break}t+=i}}const i=e.getOptions().tabSize;let r=new Uint32Array(this._foldingRangesLimit),o=new Uint32Array(this._foldingRangesLimit);for(let s=this._length-1,a=0;s>=0;s--){let l=this._startIndexes[s],c=e.getLineContent(l),d=be.b.computeIndentLevel(c,i);(d<n||d===n&&t++<this._foldingRangesLimit)&&(r[a]=l,o[a]=this._endIndexes[s],a++)}return new Jr(r,o)}}}const mo={};class go{constructor(e,t,n=5e3){this.editorModel=e,this.providers=t,this.limit=n,this.id="syntax"}compute(e){return function(e,t,n){let i=null,r=e.map((e,r)=>Promise.resolve(e.provideFoldingRanges(t,mo,n)).then(e=>{if(!n.isCancellationRequested&&Array.isArray(e)){Array.isArray(i)||(i=[]);let n=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=n&&i.push({start:t.start,end:t.end,rank:r,kind:t.kind})}},Z.f));return Promise.all(r).then(e=>i)}(this.providers,this.editorModel,e).then(e=>{if(e){return bo(e,this.limit)}return null})}dispose(){}}class fo{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,n,i){if(e>16777215||t>16777215)return;let r=this._length;this._startIndexes[r]=e,this._endIndexes[r]=t,this._nestingLevels[r]=i,this._types[r]=n,this._length++,i<30&&(this._nestingLevelCounts[i]=(this._nestingLevelCounts[i]||0)+1)}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new Jr(e,t,this._types)}{let e=0,t=this._nestingLevelCounts.length;for(let n=0;n<this._nestingLevelCounts.length;n++){let i=this._nestingLevelCounts[n];if(i){if(i+e>this._foldingRangesLimit){t=n;break}e+=i}}let n=new Uint32Array(this._foldingRangesLimit),i=new Uint32Array(this._foldingRangesLimit),r=[];for(let o=0,s=0;o<this._length;o++){let a=this._nestingLevels[o];(a<t||a===t&&e++<this._foldingRangesLimit)&&(n[s]=this._startIndexes[o],i[s]=this._endIndexes[o],r[s]=this._types[o],s++)}return new Jr(n,i,r)}}}function bo(e,t){let n=e.sort((e,t)=>{let n=e.start-t.start;return 0===n&&(n=e.rank-t.rank),n}),i=new fo(t),r=void 0,o=[];for(let e of n)if(r){if(e.start>r.start)if(e.end<=r.end)o.push(r),r=e,i.add(e.start,e.end,e.kind&&e.kind.value,o.length);else{if(e.start>r.end){do{r=o.pop()}while(r&&e.start>r.end);r&&o.push(r),r=e}i.add(e.start,e.end,e.kind&&e.kind.value,o.length)}}else r=e,i.add(e.start,e.end,e.kind&&e.kind.value,o.length);return i.toIndentRanges()}class _o{constructor(e,t,n,i){if(this.editorModel=e,this.id="init",t.length){let r=t=>({range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{stickiness:1}});this.decorationIds=e.deltaDecorations([],t.map(r)),this.timeout=setTimeout(n,i)}}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(let e of this.decorationIds){let n=this.editorModel.getDecorationRange(e);n&&t.push({start:n.startLineNumber,end:n.endLineNumber,rank:1})}return Promise.resolve(bo(t,Number.MAX_VALUE))}}var vo=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},wo=function(e,t){return function(n,i){t(n,i,e)}};const yo=new K.c("foldingEnabled",!1);let Co=class e extends pe.a{constructor(e,t){super(),this.contextKeyService=t,this.localToDispose=this._register(new pe.b),this.editor=e;const n=this.editor.getOptions();this._isEnabled=n.get(31),this._useFoldingProviders="indentation"!==n.get(32),this._unfoldOnClickAfterEndOfLine=n.get(34),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingStateMemento=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new lo(e),this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===n.get(91),this.foldingDecorationProvider.showFoldingHighlights=n.get(33),this.foldingEnabled=yo.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(31)&&(this._isEnabled=this.editor.getOptions().get(31),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(91)||e.hasChanged(33)){const e=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===e.get(91),this.foldingDecorationProvider.showFoldingHighlights=e.get(33),this.onModelContentChanged()}e.hasChanged(32)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(32),this.onFoldingStrategyChanged()),e.hasChanged(34)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(34))})),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n}}}restoreViewState(e){let t=this.editor.getModel();if(!t||!this._isEnabled||t.isTooLargeForTokenization()||!this.hiddenRangeModel)return;if(!e||!e.collapsedRegions||e.lineCount!==t.getLineCount())return;"syntax"!==e.provider&&"init"!==e.provider||(this.foldingStateMemento=e);const n=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(n)){const e=this.getFoldingModel();e&&e.then(e=>{e&&e.applyMemento(n)}).then(void 0,Z.e)}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this.foldingModel=new to(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new co(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new ue.a(200),this.cursorChangedScheduler=new ue.d(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(et.o.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(()=>this.onModelContentChanged())),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new uo(e),this._useFoldingProviders&&this.foldingModel){let t=et.o.ordered(this.foldingModel.textModel);if(0===t.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions){return this.rangeProvider=new _o(e,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4)}t.length>0&&(this.rangeProvider=new go(e,t))}return this.foldingStateMemento=null,this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const e=this.foldingModel;if(!e)return null;let t=this.foldingRegionPromise=Object(ue.f)(t=>this.getRangeProvider(e.textModel).compute(t));return t.then(n=>{if(n&&t===this.foldingRegionPromise){let t=this.editor.getSelections(),i=t?t.map(e=>e.startLineNumber):[];e.update(n,i)}return e})}).then(void 0,e=>(Object(Z.e)(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then(e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let n=[];for(let i of t){let t=i.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&n.push(...e.getAllRegionsAtLine(t,e=>e.isCollapsed&&t>e.startLineNumber))}n.length&&(e.toggleCollapseState(n),this.reveal(t[0].getPosition()))}}}).then(void 0,Z.e)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range)return;if(!e.event.leftButton&&!e.event.middleButton)return;const t=e.target.range;let n=!1;switch(e.target.type){case 4:const i=e.target.detail,r=e.target.element.offsetLeft;if(i.offsetX-r<5)return;n=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){if(!e.target.detail.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}onEditorMouseUp(e){const t=this.getFoldingModel();if(!t||!this.mouseDownInfo||!e.target)return;let n=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,r=e.target.range;if(r&&r.startLineNumber===n){if(i){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||r.startColumn!==e.getLineMaxColumn(n))return}t.then(t=>{if(t){let r=t.getRegionAtLine(n);if(r&&r.startLineNumber===n){let o=r.isCollapsed;if(i||o){let i=[],s=e.event.middleButton||e.event.shiftKey;if(s)for(const e of t.getRegionsInside(r))e.isCollapsed===o&&i.push(e);!o&&s&&0!==i.length||i.push(r),t.toggleCollapseState(i),this.reveal({lineNumber:n,column:1})}}}}).then(void 0,Z.e)}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};Co.ID="editor.contrib.folding",Co=vo([wo(1,K.b)],Co);class xo extends V.b{runEditorCommand(e,t,n){let i=Co.get(t);if(!i)return;let r=i.getFoldingModel();return r?(this.reportTelemetry(e,t),r.then(e=>{if(e){this.invoke(i,e,t,n);const r=t.getSelection();r&&i.reveal(r.getStartPosition())}})):void 0}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function So(e){if(!Qr.k(e)){if(!Qr.i(e))return!1;const t=e;if(!Qr.k(t.levels)&&!Qr.h(t.levels))return!1;if(!Qr.k(t.direction)&&!Qr.j(t.direction))return!1;if(!(Qr.k(t.selectionLines)||Qr.e(t.selectionLines)&&t.selectionLines.every(Qr.h)))return!1}return!0}class ko extends xo{getFoldingLevel(){return parseInt(this.id.substr(ko.ID_PREFIX.length))}invoke(e,t,n){!function(e,t,n,i){let r=e.getRegionsInside(null,(e,r)=>r===t&&e.isCollapsed!==n&&!i.some(t=>e.containsLine(t)));e.toggleCollapseState(r)}(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))}}ko.ID_PREFIX="editor.foldLevel",ko.ID=e=>ko.ID_PREFIX+e,Object(V.m)(Co.ID,Co),Object(V.k)(class extends xo{constructor(){super({id:"editor.unfold",label:U.a("unfoldAction.label","Unfold"),alias:"Unfold",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:So,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){let r=i&&i.levels||1,o=this.getLineNumbers(i,n);i&&"up"===i.direction?io(t,!1,r,o):no(t,!1,r,o)}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.unfoldRecursively",label:U.a("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2137),weight:100}})}invoke(e,t,n,i){no(t,!1,Number.MAX_VALUE,this.getSelectedLines(n))}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.fold",label:U.a("foldAction.label","Fold"),alias:"Fold",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:So,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){let r=this.getLineNumbers(i,n);const o=i&&i.levels,s=i&&i.direction;"number"!=typeof o&&"string"!=typeof s?function(e,t,n){let i=[];for(let r of n){let n=e.getAllRegionsAtLine(r,e=>e.isCollapsed!==t);n.length>0&&i.push(n[0])}e.toggleCollapseState(i)}(t,!0,r):"up"===s?io(t,!0,o||1,r):no(t,!0,o||1,r)}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.foldRecursively",label:U.a("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2135),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);no(t,!0,Number.MAX_VALUE,i)}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.foldAll",label:U.a("foldAllAction.label","Fold All"),alias:"Fold All",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2069),weight:100}})}invoke(e,t,n){no(t,!0)}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.unfoldAll",label:U.a("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2088),weight:100}})}invoke(e,t,n){no(t,!1)}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.foldAllBlockComments",label:U.a("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2133),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())oo(t,et.n.Comment.value,!0);else{const e=n.getModel();if(!e)return;let i=Pn.a.getComments(e.getLanguageIdentifier().id);if(i&&i.blockCommentStartToken){ro(t,new RegExp("^\\s*"+Object(Ye.v)(i.blockCommentStartToken)),!0)}}}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.foldAllMarkerRegions",label:U.a("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2077),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())oo(t,et.n.Region.value,!0);else{const e=n.getModel();if(!e)return;let i=Pn.a.getFoldingRules(e.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){ro(t,new RegExp(i.markers.start),!0)}}}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:U.a("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2078),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())oo(t,et.n.Region.value,!1);else{const e=n.getModel();if(!e)return;let i=Pn.a.getFoldingRules(e.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){ro(t,new RegExp(i.markers.start),!1)}}}}),Object(V.k)(class extends xo{constructor(){super({id:"editor.toggleFold",label:U.a("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2090),weight:100}})}invoke(e,t,n){!function(e,t,n){let i=[];for(let r of n){let n=e.getRegionAtLine(r);if(n){const r=!n.isCollapsed;if(i.push(n),t>1){let o=e.getRegionsInside(n,(e,n)=>e.isCollapsed!==r&&n<t);i.push(...o)}}}e.toggleCollapseState(i)}(t,1,this.getSelectedLines(n))}});for(let e=1;e<=7;e++)Object(V.n)(new ko({id:ko.ID(e),label:U.a("foldLevelAction.label","Fold Level {0}",e),alias:"Fold Level "+e,precondition:yo,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2048|21+e),weight:100}}));const Eo=Object(ve.gc)("editor.foldBackground",{light:Object(ve.sc)(ve.O,.3),dark:Object(ve.sc)(ve.O,.3),hc:null},U.a("foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),To=Object(ve.gc)("editorGutter.foldingControlForeground",{dark:ve.bb,light:ve.bb,hc:ve.bb},U.a("editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));Object(we.g)((e,t)=>{const n=e.getColor(Eo);n&&t.addRule(`.monaco-editor .folded-background { background-color: ${n}; }`);const i=e.getColor(To);i&&t.addRule(`\n\t\t.monaco-editor .cldr${so.cssSelector},\n\t\t.monaco-editor .cldr${ao.cssSelector} {\n\t\t\tcolor: ${i} !important;\n\t\t}\n\t\t`)});var Lo=n(135);class No extends V.b{constructor(){super({id:"editor.action.fontZoomIn",label:U.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})}run(e,t){Lo.a.setZoomLevel(Lo.a.getZoomLevel()+1)}}class Io extends V.b{constructor(){super({id:"editor.action.fontZoomOut",label:U.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})}run(e,t){Lo.a.setZoomLevel(Lo.a.getZoomLevel()-1)}}class Do extends V.b{constructor(){super({id:"editor.action.fontZoomReset",label:U.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})}run(e,t){Lo.a.setZoomLevel(0)}}Object(V.k)(No),Object(V.k)(Io),Object(V.k)(Do);var Oo=n(76),Ao=n(96),Ro=n(112);class Mo{static _handleEolEdits(e,t){let n=void 0,i=[];for(let e of t)"number"==typeof e.eol&&(n=e.eol),e.range&&"string"==typeof e.text&&i.push(e);return"number"==typeof n&&e.hasModel()&&e.getModel().pushEOL(n),i}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;const n=e.getModel(),i=n.validateRange(t.range);return n.getFullModelRange().equalsRange(i)}static execute(e,t,n){n&&e.pushUndoStop();const i=Mo._handleEolEdits(e,t);1===i.length&&Mo._isFullModelReplaceEdit(e,i[0])?e.executeEdits("formatEditsCommand",i.map(e=>Mn.a.replace(ge.a.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",i.map(e=>Mn.a.replaceMove(ge.a.lift(e.range),e.text))),n&&e.pushUndoStop()}}class Po{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}var Fo=n(53),Wo=n(37),zo=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Bo(e){if(!(e=e.filter(e=>e.range)).length)return;let{range:t}=e[0];for(let n=1;n<e.length;n++)t=ge.a.plusRange(t,e[n].range);const{startLineNumber:n,endLineNumber:i}=t;n===i?1===e.length?Object(ne.a)(U.a("hint11","Made 1 formatting edit on line {0}",n)):Object(ne.a)(U.a("hintn1","Made {0} formatting edits on line {1}",e.length,n)):1===e.length?Object(ne.a)(U.a("hint1n","Made 1 formatting edit between lines {0} and {1}",n,i)):Object(ne.a)(U.a("hintnn","Made {0} formatting edits between lines {1} and {2}",e.length,n,i))}function jo(e){const t=[],n=new Set,i=et.g.ordered(e);for(const e of i)t.push(e),e.extensionId&&n.add(Po.toKey(e.extensionId));const r=et.j.ordered(e);for(const e of r){if(e.extensionId){if(n.has(Po.toKey(e.extensionId)))continue;n.add(Po.toKey(e.extensionId))}t.push({displayName:e.displayName,extensionId:e.extensionId,provideDocumentFormattingEdits:(t,n,i)=>e.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),n,i)})}return t}class Vo{static select(e,t,n){return zo(this,void 0,void 0,(function*(){if(0===e.length)return;const i=Wo.a.first(Vo._selectors);return i?yield i(e,t,n):e[0]}))}}function Uo(e,t,n,i,r,o){return zo(this,void 0,void 0,(function*(){const s=e.get(gt.a),a=Object(Ro.b)(t)?t.getModel():t,l=et.j.ordered(a),c=yield Vo.select(l,a,i);c&&(r.report(c),yield s.invokeFunction(Ho,c,t,n,o))}))}function Ho(e,t,n,i,r){return zo(this,void 0,void 0,(function*(){const o=e.get(Ao.a);let s,a;Object(Ro.b)(n)?(s=n.getModel(),a=new Je.b(n,5,void 0,r)):(s=n,a=new Je.d(n,r));let l=[],c=0;for(let e of Object(G.b)(i).sort(ge.a.compareRangesUsingStarts))c>0&&ge.a.areIntersectingOrTouching(l[c-1],e)?l[c-1]=ge.a.fromPositions(l[c-1].getStartPosition(),e.getEndPosition()):c=l.push(e);const d=[];for(let e of l)try{const n=yield t.provideDocumentRangeFormattingEdits(s,e,s.getFormattingOptions(),a.token),i=yield o.computeMoreMinimalEdits(s.uri,n);if(i&&d.push(...i),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(0===d.length)return!1;if(Object(Ro.b)(n))Mo.execute(n,d,!0),Bo(d),n.revealPositionInCenterIfOutsideViewport(n.getPosition(),1);else{const[{range:e}]=d,t=new q.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);s.pushEditOperations([t],d.map(e=>({text:e.text,range:ge.a.lift(e.range),forceMoveMarkers:!0})),e=>{for(const{range:n}of e)if(ge.a.areIntersectingOrTouching(n,t))return[new q.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)];return null})}return!0}))}function qo(e,t,n,i,r){return zo(this,void 0,void 0,(function*(){const o=e.get(gt.a),s=Object(Ro.b)(t)?t.getModel():t,a=jo(s),l=yield Vo.select(a,s,n);l&&(i.report(l),yield o.invokeFunction($o,l,t,n,r))}))}function $o(e,t,n,i,r){return zo(this,void 0,void 0,(function*(){const o=e.get(Ao.a);let s,a,l;Object(Ro.b)(n)?(s=n.getModel(),a=new Je.b(n,5,void 0,r)):(s=n,a=new Je.d(n,r));try{const e=yield t.provideDocumentFormattingEdits(s,s.getFormattingOptions(),a.token);if(l=yield o.computeMoreMinimalEdits(s.uri,e),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(!l||0===l.length)return!1;if(Object(Ro.b)(n))Mo.execute(n,l,2!==i),2!==i&&(Bo(l),n.revealPositionInCenterIfOutsideViewport(n.getPosition(),1));else{const[{range:e}]=l,t=new q.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn);s.pushEditOperations([t],l.map(e=>({text:e.text,range:ge.a.lift(e.range),forceMoveMarkers:!0})),e=>{for(const{range:n}of e)if(ge.a.areIntersectingOrTouching(n,t))return[new q.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)];return null})}return!0}))}function Ko(e,t,n,i,r){const o=et.t.ordered(t);return 0===o.length||o[0].autoFormatTriggerCharacters.indexOf(i)<0?Promise.resolve(void 0):Promise.resolve(o[0].provideOnTypeFormattingEdits(t,n,i,r,Xe.a.None)).catch(Z.f).then(n=>e.computeMoreMinimalEdits(t.uri,n))}Vo._selectors=new Fo.a,Ft.a.registerCommand("_executeFormatRangeProvider",(function(e,...t){const[n,i,r]=t;Object(Qr.b)(Qe.a.isUri(n)),Object(Qr.b)(ge.a.isIRange(i));const o=e.get(tt.a).getModel(n);if(!o)throw Object(Z.b)("resource");return function(e,t,n,i,r){return zo(this,void 0,void 0,(function*(){const o=et.j.ordered(t);for(const s of o){let o=yield Promise.resolve(s.provideDocumentRangeFormattingEdits(t,n,i,r)).catch(Z.f);if(Object(G.o)(o))return yield e.computeMoreMinimalEdits(t.uri,o)}}))}(e.get(Ao.a),o,ge.a.lift(i),r,Xe.a.None)})),Ft.a.registerCommand("_executeFormatDocumentProvider",(function(e,...t){const[n,i]=t;Object(Qr.b)(Qe.a.isUri(n));const r=e.get(tt.a).getModel(n);if(!r)throw Object(Z.b)("resource");return function(e,t,n,i){return zo(this,void 0,void 0,(function*(){const r=jo(t);for(const o of r){let r=yield Promise.resolve(o.provideDocumentFormattingEdits(t,n,i)).catch(Z.f);if(Object(G.o)(r))return yield e.computeMoreMinimalEdits(t.uri,r)}}))}(e.get(Ao.a),r,i,Xe.a.None)})),Ft.a.registerCommand("_executeFormatOnTypeProvider",(function(e,...t){const[n,i,r,o]=t;Object(Qr.b)(Qe.a.isUri(n)),Object(Qr.b)(me.a.isIPosition(i)),Object(Qr.b)("string"==typeof r);const s=e.get(tt.a).getModel(n);if(!s)throw Object(Z.b)("resource");return Ko(e.get(Ao.a),s,me.a.lift(i),r,o)}));var Go=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Yo=function(e,t){return function(n,i){t(n,i,e)}},Zo=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Xo=class{constructor(e,t){this._workerService=t,this._callOnDispose=new pe.b,this._callOnModel=new pe.b,this._editor=e,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(et.t.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),!this._editor.getOption(41))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),[t]=et.t.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let n=new Oo.b;for(let e of t.autoFormatTriggerCharacters)n.add(e.charCodeAt(0));this._callOnModel.add(this._editor.onDidType(e=>{let t=e.charCodeAt(e.length-1);n.has(t)&&this._trigger(String.fromCharCode(t))}))}_trigger(e){if(!this._editor.hasModel())return;if(this._editor.getSelections().length>1)return;const t=this._editor.getModel(),n=this._editor.getPosition();let i=!1;const r=this._editor.onDidChangeModelContent(e=>{if(e.isFlush)return i=!0,void r.dispose();for(let t=0,o=e.changes.length;t<o;t++){if(e.changes[t].range.endLineNumber<=n.lineNumber)return i=!0,void r.dispose()}});Ko(this._workerService,t,n,e,t.getFormattingOptions()).then(e=>{r.dispose(),i||Object(G.o)(e)&&(Mo.execute(this._editor,e,!0),Bo(e))},e=>{throw r.dispose(),e})}};Xo.ID="editor.contrib.autoFormat",Xo=Go([Yo(1,Ao.a)],Xo);let Qo=class{constructor(e,t){this.editor=e,this._instantiationService=t,this._callOnDispose=new pe.b,this._callOnModel=new pe.b,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(et.j.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(40)&&this.editor.hasModel()&&et.j.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(Uo,this.editor,e,2,ot.b.None,Xe.a.None).catch(Z.e))}};Qo.ID="editor.contrib.formatOnPaste",Qo=Go([Yo(1,gt.a)],Qo);class Jo extends V.b{constructor(){super({id:"editor.action.formatDocument",label:U.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:K.a.and(H.a.notInCompositeEditor,H.a.writable,H.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:K.a.and(H.a.editorTextFocus,H.a.hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{when:H.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})}run(e,t){return Zo(this,void 0,void 0,(function*(){if(t.hasModel()){const n=e.get(gt.a),i=e.get(ot.a);yield i.showWhile(n.invokeFunction(qo,t,1,ot.b.None,Xe.a.None),250)}}))}}class es extends V.b{constructor(){super({id:"editor.action.formatSelection",label:U.a("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:K.a.and(H.a.writable,H.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:K.a.and(H.a.editorTextFocus,H.a.hasDocumentSelectionFormattingProvider),primary:Object($.a)(2089,2084),weight:100},contextMenuOpts:{when:K.a.and(H.a.hasDocumentSelectionFormattingProvider,H.a.hasNonEmptySelection),group:"1_modification",order:1.31}})}run(e,t){return Zo(this,void 0,void 0,(function*(){if(!t.hasModel())return;const n=e.get(gt.a),i=t.getModel(),r=t.getSelections().map(e=>e.isEmpty()?new ge.a(e.startLineNumber,1,e.startLineNumber,i.getLineMaxColumn(e.startLineNumber)):e),o=e.get(ot.a);yield o.showWhile(n.invokeFunction(Uo,t,r,1,ot.b.None,Xe.a.None),250)}))}}Object(V.m)(Xo.ID,Xo),Object(V.m)(Qo.ID,Qo),Object(V.k)(Jo),Object(V.k)(es),Ft.a.registerCommand("editor.action.format",e=>Zo(void 0,void 0,void 0,(function*(){const t=e.get(Me.a).getFocusedCodeEditor();if(!t||!t.hasModel())return;const n=e.get(Ft.b);t.getSelection().isEmpty()?yield n.executeCommand("editor.action.formatDocument"):yield n.executeCommand("editor.action.formatSelection")})));var ts=n(122),ns=n(118);class is{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let n;"string"==typeof e?n=`${t.id}/${e}`:(n=`${t.id}/${e.name}`,void 0!==t.children.get(n)&&(n=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let i=n;for(let e=0;void 0!==t.children.get(i);e++)i=`${n}_${e}`;return i}static empty(e){return 0===e.children.size}}class rs extends is{constructor(e,t,n){super(),this.id=e,this.parent=t,this.symbol=n,this.children=new Map}}class os extends is{constructor(e,t,n,i){super(),this.id=e,this.parent=t,this.label=n,this.order=i,this.children=new Map}}class ss extends is{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t){let n=this._keys.for(e,!0),i=ss._requests.get(n);if(!i){let t=new Xe.b;i={promiseCnt:0,source:t,promise:ss._create(e,t.token),model:void 0},ss._requests.set(n,i);const r=Date.now();i.promise.then(()=>{let t=this._keys.for(e,!1),n=this._requestDurations.get(t);n||(n=new ns.a,this._requestDurations.set(t,n)),n.update(Date.now()-r)})}return i.model?Promise.resolve(i.model):(i.promiseCnt+=1,t.onCancellationRequested(()=>{0==--i.promiseCnt&&(i.source.cancel(),ss._requests.delete(n))}),new Promise((e,t)=>{i.promise.then(t=>{i.model=t,e(t)},e=>{ss._requests.delete(n),t(e)})}))}static _create(e,t){const n=new Xe.b(t),i=new ss(e.uri),r=et.m.ordered(e),o=r.map((t,r)=>{var o;let s=is.findId("provider_"+r,i),a=new os(s,i,null!==(o=t.displayName)&&void 0!==o?o:"Unknown Outline Provider",r);return Promise.resolve(t.provideDocumentSymbols(e,n.token)).then(e=>{for(const t of e||[])ss._makeOutlineElement(t,a);return a},e=>(Object(Z.f)(e),a)).then(e=>{is.empty(e)?e.remove():i._groups.set(s,e)})}),s=et.m.onDidChange(()=>{const t=et.m.ordered(e);Object(G.g)(t,r)||n.cancel()});return Promise.all(o).then(()=>n.token.isCancellationRequested&&!t.isCancellationRequested?ss._create(e,t):i._compact()).finally(()=>{s.dispose()})}static _makeOutlineElement(e,t){let n=is.findId(e,t),i=new rs(n,t,e);if(e.children)for(const t of e.children)ss._makeOutlineElement(t,i);t.children.set(i.id,i)}_compact(){let e=0;for(const[t,n]of this._groups)0===n.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=Wo.a.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}}ss._requestDurations=new gn.a(50,.7),ss._requests=new gn.a(9,.75),ss._keys=new class{constructor(){this._counter=1,this._data=new WeakMap}for(e,t){return`${e.id}/${t?e.getVersionId():""}/${this._hash(et.m.all(e))}`}_hash(e){let t="";for(const n of e){let e=this._data.get(n);void 0===e&&(e=this._counter++,this._data.set(n,e)),t+=e}return t}};var as=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function ls(e,t,n){return as(this,void 0,void 0,(function*(){const i=yield ss.create(e,n),r=[];for(const e of i.children.values())e instanceof rs?r.push(e.symbol):r.push(...Wo.a.map(e.children.values(),e=>e.symbol));let o=[];return n.isCancellationRequested?o:(t?function e(t,n,i){for(let r of n)t.push({kind:r.kind,tags:r.tags,name:r.name,detail:r.detail,containerName:r.containerName||i,range:r.range,selectionRange:r.selectionRange,children:void 0}),r.children&&e(t,r.children,r.name)}(o,r,""):o=r,o.sort(cs))}))}function cs(e,t){return ge.a.compareRangesUsingStarts(e.range,t.range)}Ft.a.registerCommand("_executeDocumentSymbolProvider",(function(e,...t){return as(this,void 0,void 0,(function*(){const[n]=t;Object(Qr.b)(Qe.a.isUri(n));const i=e.get(tt.a).getModel(n);if(i)return ls(i,!1,Xe.a.None);const r=yield e.get(ts.a).createModelReference(n);try{return yield ls(r.object.textEditorModel,!1,Xe.a.None)}finally{r.dispose()}}))}));n(300);var ds=n(116),hs=n(46),us=n(80),ps=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},ms=function(e,t){return function(n,i){t(n,i,e)}};let gs=class extends j.a{constructor(e,t,n,i,r,o,s,a,l,c){super(e,Object.assign(Object.assign({},n.getRawOptions()),{overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()}),{},i,r,o,s,a,l,c),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(e=>this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){hs.g(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};gs=ps([ms(3,gt.a),ms(4,Me.a),ms(5,Ft.b),ms(6,K.b),ms(7,we.c),ms(8,zt.a),ms(9,us.b)],gs);n(302);var fs=n(147);const bs=new Nn.a(new Nn.c(0,122,204)),_s={showArrow:!0,showFrame:!0,className:"",frameColor:bs,arrowColor:bs,keepEditorSelection:!1};class vs{constructor(e,t,n,i,r,o){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=n,this.heightInLines=i,this._onDomNodeTop=r,this._onComputedHeight=o}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class ws{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class ys{constructor(e){this._editor=e,this._ruleName=ys._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),ft.P(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){ft.P(this._ruleName),ft.u(".monaco-editor "+this._ruleName,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:ge.a.fromPositions(e),options:{className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}ys._IdGenerator=new fs.a(".arrow-decoration-");var Cs=n(44),xs=(n(199),n(67));class Ss extends bt.b{constructor(e,t){super(),this._onDidChangeVisibility=new Lt.a,this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Object(ft.p)(e,Object(ft.a)(".monaco-dropdown")),this._label=Object(ft.p)(this._element,Object(ft.a)(".dropdown-label"));let n=t.labelRenderer;n||(n=e=>(e.textContent=t.label||"",null));for(const e of[ft.c.CLICK,ft.c.MOUSE_DOWN,Nt.a.Tap])this._register(Object(ft.i)(this.element,e,e=>ft.b.stop(e,!0)));for(const e of[ft.c.MOUSE_DOWN,Nt.a.Tap])this._register(Object(ft.i)(this._label,e,e=>{e instanceof MouseEvent&&e.detail>1||(this.visible?this.hide():this.show())}));this._register(Object(ft.i)(this._label,ft.c.KEY_UP,e=>{const t=new xs.a(e);(t.equals(3)||t.equals(10))&&(ft.b.stop(e,!0),this.visible?this.hide():this.show())}));const i=n(this._label);i&&this._register(i),this._register(Nt.b.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class ks extends Ss{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),Object(ft.e)(this.element,"active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),Object(ft.Q)(this.element,"active")}}class Es extends jn.b{constructor(e,t,n,i={}){super(null,e,i),this.options=i,this._onDidChangeVisibility=this._register(new Lt.a),this.menuActionsOrProvider=t,this.contextMenuProvider=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){const t={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=Object(ft.p)(e,Object(ft.a)("a.action-label"));const t=this.options.classNames?Object(G.b)(this.options.classNames):[];return t.find(e=>"icon"===e)||t.push("codicon"),Object(ft.f)(this.element,...t),this.element.tabIndex=0,this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild};if(Array.isArray(this.menuActionsOrProvider)?t.actions=this.menuActionsOrProvider:t.actionProvider=this.menuActionsOrProvider,this.dropdownMenu=this._register(new ks(e,t)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",""+e),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}}var Ts=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ls=function(e,t){return function(n,i){t(n,i,e)}};class Ns extends Lt.a{constructor(e){super(),this._subscriptions=new pe.b,this._isPressed=!1,this._suppressAltKeyUp=!1,this._subscriptions.add(Object(Cs.a)(document.body,"keydown")(e=>{this.isPressed=e.altKey||(Ae.i||Ae.d)&&e.shiftKey})),this._subscriptions.add(Object(Cs.a)(document.body,"keyup")(e=>{this.isPressed&&this._suppressAltKeyUp&&e.preventDefault(),this._suppressAltKeyUp=!1,this.isPressed=!1})),this._subscriptions.add(Object(Cs.a)(document.body,"mouseleave")(e=>this.isPressed=!1)),this._subscriptions.add(Object(Cs.a)(document.body,"blur")(e=>this.isPressed=!1)),this._subscriptions.add(e.onDidContextMenu(()=>this.isPressed=!1))}get isPressed(){return this._isPressed}set isPressed(e){this._isPressed=e,this.fire(this._isPressed)}suppressAltKeyUp(){this._suppressAltKeyUp=!0}static getInstance(e){return Ns.instance||(Ns.instance=new Ns(e)),Ns.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function Is(e,t,n,i){const r=e.getActions(t);return function(e,t,n,i=(e=>"navigation"===e)){for(let r of e){let[e,o]=r;if(n&&(o=o.map(e=>e instanceof ye.c&&e.alt?e.alt:e)),i(e)){(Array.isArray(t)?t:t.primary).unshift(...o)}else{const e=Array.isArray(t)?t:t.secondary;e.length>0&&e.push(new bt.c),e.push(...o)}}}(r,n,!1,i),function(e){const t=new pe.b;for(const[,n]of e)for(const e of n)t.add(e);return t}(r)}const Ds=new fs.a("menu-item-action-item-icon-"),Os=new Map;let As=class extends jn.a{constructor(e,t,n,i){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon}),this._action=e,this._keybindingService=t,this._notificationService=n,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new pe.d),this._altKey=Ns.getInstance(i)}get _commandAction(){return this._wantsAltCommand&&this._action.alt||this._action}onClick(e){e.preventDefault(),e.stopPropagation(),this._altKey.isPressed&&this._altKey.suppressAltKeyUp(),this.actionRunner.run(this._commandAction,this._context).then(void 0,e=>this._notificationService.error(e))}render(e){super.render(e),this._updateItemClass(this._action.item);let t=!1,n=this._altKey.isPressed;const i=()=>{const e=t&&n;e!==this._wantsAltCommand&&(this._wantsAltCommand=e,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._action.alt&&this._register(this._altKey.event(e=>{n=e,i()})),this._register(Object(Cs.a)(e,"mouseleave")(e=>{t=!1,i()})),this._register(Object(Cs.a)(e,"mouseenter")(e=>{t=!0,i()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const e=this._keybindingService.lookupKeybinding(this._commandAction.id),t=e&&e.getLabel(),n=this._commandAction.tooltip||this._commandAction.label;this.label.title=t?Object(U.a)("titleAndKb","{0} ({1})",n,t):n}}updateClass(){this.options.icon&&(this._commandAction!==this._action?this._action.alt&&this._updateItemClass(this._action.alt.item):this._action.alt&&this._updateItemClass(this._action.item))}_updateItemClass(e){var t,n;this._itemClassDispose.value=void 0;const i=this._commandAction.checked&&(null===(t=e.toggled)||void 0===t?void 0:t.icon)?e.toggled.icon:e.icon;if(we.e.isThemeIcon(i)){const e=we.e.asClassName(i);this.label&&e&&(Object(ft.f)(this.label,e),this._itemClassDispose.value=Object(pe.h)(()=>{this.label&&Object(ft.R)(this.label,e)}))}else if(i){let e;if(null===(n=i.dark)||void 0===n?void 0:n.scheme){const t=i.dark.toString();Os.has(t)?e=Os.get(t):(e=Ds.nextId(),Object(ft.u)(".icon."+e,"background-image: "+Object(ft.q)(i.light||i.dark)),Object(ft.u)(`.vs-dark .icon.${e}, .hc-black .icon.${e}`,"background-image: "+Object(ft.q)(i.dark)),Os.set(t,e)),this.label&&(Object(ft.f)(this.label,"icon",e),this._itemClassDispose.value=Object(pe.h)(()=>{this.label&&Object(ft.R)(this.label,"icon",e)}))}}}};As=Ts([Ls(1,vt.a),Ls(2,zt.a),Ls(3,_t.a)],As);let Rs=class extends Es{constructor(e,t,n){var i;const r=[];if(e.item.icon)if(we.e.isThemeIcon(e.item.icon))r.push(we.e.asClassName(e.item.icon));else if(null===(i=e.item.icon.dark)||void 0===i?void 0:i.scheme){const t=e.item.icon.dark.toString();if(Os.has(t))r.push("icon",Os.get(t));else{const n=Ds.nextId();r.push("icon",n),Object(ft.u)(".icon."+n,"background-image: "+Object(ft.q)(e.item.icon.light||e.item.icon.dark)),Object(ft.u)(`.vs-dark .icon.${n}, .hc-black .icon.${n}`,"background-image: "+Object(ft.q)(e.item.icon.dark)),Os.set(t,n)}}super(e,e.actions,n,{classNames:r})}};Rs=Ts([Ls(1,zt.a),Ls(2,_t.a)],Rs);var Ms=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ps=function(e,t){return function(n,i){t(n,i,e)}};const Fs=Object(gt.c)("IPeekViewService");var Ws,zs;Object(mn.b)(Fs,class{constructor(){this._widgets=new Map}addExclusiveWidget(e,t){const n=this._widgets.get(e);n&&(n.listener.dispose(),n.widget.dispose());this._widgets.set(e,{widget:t,listener:t.onDidClose(()=>{const n=this._widgets.get(e);n&&n.widget===t&&(n.listener.dispose(),this._widgets.delete(e))})})}}),(zs=Ws||(Ws={})).inPeekEditor=new K.c("inReferenceSearchEditor",!0),zs.notInPeekEditor=zs.inPeekEditor.toNegated();let Bs=class{constructor(e,t){e instanceof gs&&Ws.inPeekEditor.bindTo(t)}dispose(){}};Bs.ID="editor.contrib.referenceController",Bs=Ms([Ps(1,K.b)],Bs),Object(V.m)(Bs.ID,Bs);const js={headerBackgroundColor:Nn.a.white,primaryHeadingColor:Nn.a.fromHex("#333333"),secondaryHeadingColor:Nn.a.fromHex("#6c6c6cb3")};let Vs=class extends class{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new pe.b,this.container=null,this._isShowing=!1,this.editor=e,this.options=hs.c(t),hs.g(this.options,_s,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{const t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new ys(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){if(this.domNode.style.height=e+"px",this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=t+"px";const n=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(n))}this._resizeSash&&this._resizeSash.layout()}get position(){const[e]=this._positionMarkerId;if(!e)return;const t=this.editor.getModel();if(!t)return;const n=t.getDecorationRange(e);return n?n.getStartPosition():void 0}show(e,t){const n=ge.a.isIRange(e)?ge.a.lift(e):ge.a.fromPositions(e);this._isShowing=!0,this._showImpl(n,t),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:n,options:be.a.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let e=this.editor.getOption(51),t=0;if(this.options.showArrow){t+=2*Math.round(e/3)}if(this.options.showFrame){t+=2*Math.round(e/9)}return t}_showImpl(e,t){const n=e.getStartPosition(),i=this.editor.getLayoutInfo(),r=this._getWidth(i);this.domNode.style.width=r+"px",this.domNode.style.left=this._getLeft(i)+"px";const o=document.createElement("div");o.style.overflow="hidden";const s=this.editor.getOption(51),a=Math.max(12,this.editor.getLayoutInfo().height/s*.8);t=Math.min(t,a);let l=0,c=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(s/3),this._arrow.height=l,this._arrow.show(n)),this.options.showFrame&&(c=Math.round(s/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new vs(o,n.lineNumber,n.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e)),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new ws("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const e=this.options.frameWidth?this.options.frameWidth:c;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let d=t*s-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=d+"px",this.container.style.overflow="hidden"),this._doLayout(d,r),this.options.keepEditorSelection||this.editor.setSelection(e);const h=this.editor.getModel();if(h){const t=e.endLineNumber+1;t<=h.getLineCount()?this.revealLine(t,!1):this.revealLine(h.getLineCount(),!0)}}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),ft.e(this.container,e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(this._resizeSash)return;let e;this._resizeSash=this._disposables.add(new $i.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){let n=(t.currentY-e.startY)/this.editor.getOption(51),i=n<0?Math.ceil(n):Math.floor(n),r=e.heightInLines+i;r>5&&r<35&&this._relayout(r)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}{constructor(e,t,n){super(e,t),this.instantiationService=n,this._onDidClose=new Lt.a,this.onDidClose=this._onDidClose.event,hs.g(this.options,js,!1)}dispose(){super.dispose(),this._onDidClose.fire(this)}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=ft.a(".head"),this._bodyElement=ft.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const n=ft.a(".peekview-title");ft.p(this._headElement,n),ft.n(n,"click",e=>this._onTitleClick(e)),this._fillTitleIcon(n),this._primaryHeading=ft.a("span.filename"),this._secondaryHeading=ft.a("span.dirname"),this._metaHeading=ft.a("span.meta"),ft.p(n,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=ft.a(".peekview-actions");ft.p(this._headElement,i);const r=this._getActionBarOptions();this._actionbarWidget=new ds.a(i,r),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new bt.a("peekview.close",U.a("label.close","Close"),Y.a.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:e=>e instanceof ye.c?this.instantiationService.createInstance(As,e):e instanceof ye.e?this.instantiationService.createInstance(Rs,e):void 0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("aria-label",e),t?this._secondaryHeading.innerText=t:ft.s(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,ft.Z(this._metaHeading)):ft.K(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0)return void this.dispose();const n=Math.ceil(1.2*this.editor.getOption(51)),i=Math.round(e-(n+2));this._doLayoutHead(n,t),this._doLayoutBody(i,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=e+"px")}};Vs=Ms([Ps(2,gt.a)],Vs);const Us=Object(ve.gc)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},U.a("peekViewTitleBackground","Background color of the peek view title area.")),Hs=Object(ve.gc)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},U.a("peekViewTitleForeground","Color of the peek view title.")),qs=Object(ve.gc)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},U.a("peekViewTitleInfoForeground","Color of the peek view title info.")),$s=Object(ve.gc)("peekView.border",{dark:"#007acc",light:"#007acc",hc:ve.h},U.a("peekViewBorder","Color of the peek view borders and arrow.")),Ks=Object(ve.gc)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:Nn.a.black},U.a("peekViewResultsBackground","Background color of the peek view result list.")),Gs=Object(ve.gc)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:Nn.a.white},U.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),Ys=Object(ve.gc)("peekViewResult.fileForeground",{dark:Nn.a.white,light:"#1E1E1E",hc:Nn.a.white},U.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Zs=Object(ve.gc)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},U.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),Xs=Object(ve.gc)("peekViewResult.selectionForeground",{dark:Nn.a.white,light:"#6C6C6C",hc:Nn.a.white},U.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),Qs=Object(ve.gc)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:Nn.a.black},U.a("peekViewEditorBackground","Background color of the peek view editor.")),Js=Object(ve.gc)("peekViewEditorGutter.background",{dark:Qs,light:Qs,hc:Qs},U.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),ea=Object(ve.gc)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},U.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),ta=Object(ve.gc)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},U.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),na=Object(ve.gc)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:ve.b},U.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));var ia=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class ra{constructor(e,t,n,i,r){this.isProviderFirst=e,this.parent=t,this.uri=n,this._range=i,this._rangeCallback=r,this.id=fs.b.nextId()}get range(){return this._range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){return Object(U.a)("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(jt.b)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class oa{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const n=this._modelReference.object.textEditorModel;if(!n)return;const{startLineNumber:i,startColumn:r,endLineNumber:o,endColumn:s}=e,a=n.getWordUntilPosition({lineNumber:i,column:r-t}),l=new ge.a(i,a.startColumn,i,r),c=new ge.a(o,s,o,1073741824),d=n.getValueInRange(l).replace(/^\s+/,""),h=n.getValueInRange(e);return{value:d+h+n.getValueInRange(c).replace(/\s+$/,""),highlight:{start:d.length,end:d.length+h.length}}}}class sa{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new gn.b}dispose(){Object(pe.f)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return 1===e?Object(U.a)("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(jt.b)(this.uri),this.uri.fsPath):Object(U.a)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Object(jt.b)(this.uri),this.uri.fsPath)}resolve(e){return ia(this,void 0,void 0,(function*(){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{const n=yield e.createModelReference(t.uri);this._previews.set(t.uri,new oa(n))}catch(e){Object(Z.e)(e)}return this}))}}class aa{constructor(e,t){this._disposables=new pe.b,this.groups=[],this.references=[],this._onDidChangeReferenceRange=new Lt.a,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[n]=e;let i;e.sort(aa._compareReferences);for(let t of e)if(i&&jt.e.isEqual(i.uri,t.uri,!0)||(i=new sa(this,t.uri),this.groups.push(i)),0===i.children.length||0!==aa._compareReferences(t,i.children[i.children.length-1])){const e=new ra(n===t,i,t.uri,t.targetSelectionRange||t.range,e=>this._onDidChangeReferenceRange.fire(e));this.references.push(e),i.children.push(e)}}dispose(){Object(pe.f)(this.groups),this._disposables.dispose(),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new aa(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?Object(U.a)("aria.result.0","No results found"):1===this.references.length?Object(U.a)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?Object(U.a)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object(U.a)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:n}=e,i=n.children.indexOf(e),r=n.children.length,o=n.parent.groups.length;return 1===o||t&&i+1<r||!t&&i>0?(i=t?(i+1)%r:(i+r-1)%r,n.children[i]):(i=n.parent.groups.indexOf(n),t?(i=(i+1)%o,n.parent.groups[i].children[0]):(i=(i+o-1)%o,n.parent.groups[i].children[n.parent.groups[i].children.length-1]))}nearestReference(e,t){const n=this.references.map((n,i)=>({idx:i,prefixLen:Ye.d(n.uri.toString(),e.toString()),offsetDist:100*Math.abs(n.range.startLineNumber-t.lineNumber)+Math.abs(n.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLen<t.prefixLen?1:e.offsetDist<t.offsetDist?-1:e.offsetDist>t.offsetDist?1:0)[0];if(n)return this.references[n.idx]}referenceAt(e,t){for(const n of this.references)if(n.uri.toString()===e.toString()&&ge.a.containsPosition(n.range,t))return n}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return jt.e.compare(e.uri,t.uri)||ge.a.compareRangesUsingStarts(e.range,t.range)}}n(305);var la=n(45),ca=n(172),da=n(185),ha=n(159),ua=n(93),pa=n(42);function ma(e,t,n){if("string"==typeof e&&(e=Qe.a.file(e)),n){const t=n.getWorkspaceFolder(e);if(t){const i=n.getWorkspace().folders.length>1;let r;if(r=Object(jt.f)(t.uri,e)?"":Object(jt.j)(t.uri,e),i){const e=t.name?t.name:Object(jt.b)(t.uri);r=r?e+" • "+r:e}return r}}if(e.scheme!==la.b.file&&e.scheme!==la.b.untitled)return e.with({query:null,fragment:null}).toString(!0);if(fa(e.fsPath))return Object(pa.d)(ba(e.fsPath));let i=Object(pa.d)(e.fsPath);return!Ae.i&&(null==t?void 0:t.userHome)&&(i=function(e,t){if(Ae.i||!e||!t)return e;let n=_a.original===t?_a.normalized:void 0;n||(n=`${Object(Ye.Q)(t,pa.e.sep)}${pa.e.sep}`,_a={original:t,normalized:n});(Ae.d?e.startsWith(n):Object(Ye.T)(e,n))&&(e="~/"+e.substr(n.length));return e}(i,t.userHome.fsPath)),i}function ga(e){if(!e)return;"string"==typeof e&&(e=Qe.a.file(e));const t=Object(jt.b)(e)||(e.scheme===la.b.file?e.fsPath:e.path);return fa(t)?ba(t):t}function fa(e){return!(!Ae.i||!e||":"!==e[1])}function ba(e){return fa(e)?e.charAt(0).toUpperCase()+e.slice(1):e}let _a=Object.create(null);var va=n(71),wa=n(156),ya=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ca=function(e,t){return function(n,i){t(n,i,e)}};let xa=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof aa||e instanceof sa}getChildren(e){if(e instanceof aa)return e.groups;if(e instanceof sa)return e.resolve(this._resolverService).then(e=>e.children);throw new Error("bad tree")}};xa=ya([Ca(0,ts.a)],xa);class Sa{getHeight(){return 23}getTemplateId(e){return e instanceof sa?La.id:Ia.id}}let ka=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof ra){const n=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(n)return n.value}return Object(jt.b)(e.uri)}};ka=ya([Ca(0,vt.a)],ka);class Ea{getId(e){return e instanceof ra?e.id:e.uri}}let Ta=class extends pe.a{constructor(e,t,n){super(),this._uriLabel=t;const i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new ca.a(i,{supportHighlights:!0})),this.badge=new da.a(ft.p(i,ft.a(".count"))),this._register(Object(ua.a)(this.badge,n)),e.appendChild(i)}set(e,t){let n=Object(jt.d)(e.uri);this.file.setLabel(ga(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});const i=e.children.length;this.badge.setCount(i),i>1?this.badge.setTitleFormat(Object(U.a)("referencesCount","{0} references",i)):this.badge.setTitleFormat(Object(U.a)("referenceCount","{0} reference",i))}};Ta=ya([Ca(1,ha.a),Ca(2,we.c)],Ta);let La=class e{constructor(t){this._instantiationService=t,this.templateId=e.id}renderTemplate(e){return this._instantiationService.createInstance(Ta,e)}renderElement(e,t,n){n.set(e.element,Object(va.c)(e.filterData))}disposeTemplate(e){e.dispose()}};La.id="FileReferencesRenderer",La=ya([Ca(0,gt.a)],La);class Na{constructor(e){this.label=new wa.a(e,!1)}set(e,t){var n;const i=null===(n=e.parent.getPreview(e))||void 0===n?void 0:n.preview(e.range);if(i&&i.value){const{value:e,highlight:n}=i;t&&!va.a.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,Object(va.c)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[n]))}else this.label.set(`${Object(jt.b)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Ia{constructor(){this.templateId=Ia.id}renderTemplate(e){return new Na(e)}renderElement(e,t,n){n.set(e.element,e.filterData)}disposeTemplate(){}}Ia.id="OneReferenceRenderer";class Da{getWidgetAriaLabel(){return Object(U.a)("treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var Oa=n(136);n(307);const Aa={separatorBorder:Nn.a.transparent};class Ra{constructor(e,t,n,i){this.container=e,this.view=t,this.disposable=i,this._cachedVisibleSize=void 0,"number"==typeof n?(this._size=n,this._cachedVisibleSize=void 0,ft.e(e,"visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=Object(ns.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),ft.ab(this.container,"visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class Ma extends Ra{layoutContainer(e){this.container.style.top=e+"px",this.container.style.height=this.size+"px"}}class Pa extends Ra{layoutContainer(e){this.container.style.left=e+"px",this.container.style.width=this.size+"px"}}var Fa,Wa;!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(Fa||(Fa={})),function(e){e.Distribute={type:"distribute"},e.Split=function(e){return{type:"split",index:e}},e.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}}}(Wa||(Wa={}));class za extends pe.a{constructor(e,t={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=Fa.Idle,this._onDidSashChange=this._register(new Lt.a),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new Lt.a),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=Qr.k(t.orientation)?0:t.orientation,this.inverseAltBehavior=!!t.inverseAltBehavior,this.proportionalLayout=!!Qr.k(t.proportionalLayout)||!!t.proportionalLayout,this.el=document.createElement("div"),ft.e(this.el,"monaco-split-view2"),ft.e(this.el,0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=ft.p(this.el,ft.a(".sash-container")),this.viewContainer=ft.p(this.el,ft.a(".split-view-container")),this.style(t.styles||Aa),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{const n=Qr.k(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},i=e.view;this.doAddView(i,n,t,!0)}),this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(ft.Q(this.el,"separator-border"),this.el.style.removeProperty("--separator-border")):(ft.e(this.el,"separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,n=this.viewItems.length,i){this.doAddView(e,t,n,i)}layout(e,t){const n=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let t=0;t<this.viewItems.length;t++){const n=this.viewItems[t];n.size=Object(ns.b)(Math.round(this.proportions[t]*e),n.minimumSize,n.maximumSize)}else{const t=Object(G.s)(this.viewItems.length),i=t.filter(e=>1===this.viewItems[e].priority),r=t.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-n,void 0,i,r)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:n}){for(const e of this.viewItems)e.enabled=!1;const i=Object(G.j)(this.sashItems,t=>t.sash===e),r=Object(pe.e)(Object(Cs.a)(document.body,"keydown")(e=>o(this.sashDragState.current,e.altKey)),Object(Cs.a)(document.body,"keyup")(()=>o(this.sashDragState.current,!1))),o=(e,t)=>{const n=this.viewItems.map(e=>e.size);let o,s,a=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){if(i===this.sashItems.length-1){const e=this.viewItems[i];a=(e.minimumSize-e.size)/2,l=(e.maximumSize-e.size)/2}else{const e=this.viewItems[i+1];a=(e.size-e.maximumSize)/2,l=(e.size-e.minimumSize)/2}}if(!t){const e=Object(G.s)(i,-1),t=Object(G.s)(i+1,this.viewItems.length),r=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-n[t]),0),a=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-n[t]),0),l=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(n[t]-this.viewItems[t].minimumSize),0),c=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(n[t]-this.viewItems[t].viewMaximumSize),0),d=Math.max(r,c),h=Math.min(l,a),u=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof u){const e=this.viewItems[u],t=Math.floor(e.viewMinimumSize/2);o={index:u,limitDelta:e.visible?d-t:d+t,size:e.size}}if("number"==typeof p){const e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);s={index:p,limitDelta:e.visible?h+t:h-t,size:e.size}}}this.sashDragState={start:e,current:e,index:i,sizes:n,minDelta:a,maxDelta:l,alt:t,snapBefore:o,snapAfter:s,disposable:r}};o(t,n)}onSashChange({current:e}){const{index:t,start:n,sizes:i,alt:r,minDelta:o,maxDelta:s,snapBefore:a,snapAfter:l}=this.sashDragState;this.sashDragState.current=e;const c=e-n,d=this.resize(t,c,i,void 0,void 0,o,s,a,l);if(r){const e=t===this.sashItems.length-1,n=this.viewItems.map(e=>e.size),i=e?t:t+1,r=this.viewItems[i],o=r.size-r.maximumSize,s=r.size-r.minimumSize,a=e?t-1:t+1;this.resize(a,-d,n,void 0,void 0,o,s)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const e of this.viewItems)e.enabled=!0}onViewChange(e,t){const n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=Object(ns.b)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))}resizeView(e,t){if(this.state!==Fa.Idle)throw new Error("Cant modify splitview");if(this.state=Fa.Busy,e<0||e>=this.viewItems.length)return;const n=Object(G.s)(this.viewItems.length).filter(t=>t!==e),i=[...n.filter(e=>1===this.viewItems[e].priority),e],r=n.filter(e=>2===this.viewItems[e].priority),o=this.viewItems[e];t=Math.round(t),t=Object(ns.b)(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(i,r),this.state=Fa.Idle}distributeViewSizes(){const e=[];let t=0;for(const n of this.viewItems)n.maximumSize-n.minimumSize>0&&(e.push(n),t+=n.size);const n=Math.floor(t/e.length);for(const t of e)t.size=Object(ns.b)(n,t.minimumSize,t.maximumSize);const i=Object(G.s)(this.viewItems.length),r=i.filter(e=>1===this.viewItems[e].priority),o=i.filter(e=>2===this.viewItems[e].priority);this.relayout(r,o)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,n=this.viewItems.length,i){if(this.state!==Fa.Idle)throw new Error("Cant modify splitview");this.state=Fa.Busy;const r=ft.a(".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(r):this.viewContainer.insertBefore(r,this.viewContainer.children.item(n));const o=e.onDidChange(e=>this.onViewChange(c,e)),s=Object(pe.h)(()=>this.viewContainer.removeChild(r)),a=Object(pe.e)(o,s);let l;l="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const c=0===this.orientation?new Ma(r,e,l,a):new Pa(r,e,l,a);if(this.viewItems.splice(n,0,c),this.viewItems.length>1){const e=0===this.orientation?new $i.a(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e)},{orientation:1,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}):new $i.a(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e)},{orientation:0,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),t=0===this.orientation?t=>({sash:e,start:t.startY,current:t.currentY,alt:t.altKey}):t=>({sash:e,start:t.startX,current:t.currentX,alt:t.altKey}),i=Lt.b.map(e.onDidStart,t)(this.onSashStart,this),r=Lt.b.map(e.onDidChange,t)(this.onSashChange,this),o=Lt.b.map(e.onDidEnd,()=>Object(G.j)(this.sashItems,t=>t.sash===e))(this.onSashEnd,this),s=e.onDidReset(()=>{const t=Object(G.j)(this.sashItems,t=>t.sash===e),n=Object(G.s)(t,-1),i=Object(G.s)(t+1,this.viewItems.length),r=this.findFirstSnapIndex(n),o=this.findFirstSnapIndex(i);("number"!=typeof r||this.viewItems[r].visible)&&("number"!=typeof o||this.viewItems[o].visible)&&this._onDidSashReset.fire(t)}),a=Object(pe.e)(i,r,o,s,e),l={sash:e,disposable:a};this.sashItems.splice(n-1,0,l)}let d;r.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(d=[t.index]),i||this.relayout([n],d),this.state=Fa.Idle,i||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){const n=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,n=this.viewItems.map(e=>e.size),i,r,o=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY,a,l){if(e<0||e>=this.viewItems.length)return 0;const c=Object(G.s)(e,-1),d=Object(G.s)(e+1,this.viewItems.length);if(r)for(const e of r)Object(G.r)(c,e),Object(G.r)(d,e);if(i)for(const e of i)Object(G.q)(c,e),Object(G.q)(d,e);const h=c.map(e=>this.viewItems[e]),u=c.map(e=>n[e]),p=d.map(e=>this.viewItems[e]),m=d.map(e=>n[e]),g=c.reduce((e,t)=>e+(this.viewItems[t].minimumSize-n[t]),0),f=c.reduce((e,t)=>e+(this.viewItems[t].maximumSize-n[t]),0),b=0===d.length?Number.POSITIVE_INFINITY:d.reduce((e,t)=>e+(n[t]-this.viewItems[t].minimumSize),0),_=0===d.length?Number.NEGATIVE_INFINITY:d.reduce((e,t)=>e+(n[t]-this.viewItems[t].maximumSize),0),v=Math.max(g,_,o),w=Math.min(b,f,s);let y=!1;if(a){const e=this.viewItems[a.index],n=t>=a.limitDelta;y=n!==e.visible,e.setVisible(n,a.size)}if(!y&&l){const e=this.viewItems[l.index],n=t<l.limitDelta;y=n!==e.visible,e.setVisible(n,l.size)}if(y)return this.resize(e,t,n,i,r,o,s);for(let e=0,n=t=Object(ns.b)(t,v,w);e<h.length;e++){const t=h[e],i=Object(ns.b)(u[e]+n,t.minimumSize,t.maximumSize);n-=i-u[e],t.size=i}for(let e=0,n=t;e<p.length;e++){const t=p[e],i=Object(ns.b)(m[e]-n,t.minimumSize,t.maximumSize);n+=i-m[e],t.size=i}return t}distributeEmptySpace(e){const t=this.viewItems.reduce((e,t)=>e+t.size,0);let n=this.size-t;const i=Object(G.s)(this.viewItems.length-1,-1),r=i.filter(e=>1===this.viewItems[e].priority),o=i.filter(e=>2===this.viewItems[e].priority);for(const e of o)Object(G.r)(i,e);for(const e of r)Object(G.q)(i,e);"number"==typeof e&&Object(G.q)(i,e);for(let e=0;0!==n&&e<i.length;e++){const t=this.viewItems[i[e]],r=Object(ns.b)(t.size+n,t.minimumSize,t.maximumSize);n-=r-t.size,t.size=r}}layoutViews(){this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement()}updateSashEnablement(){let e=!1;const t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;const n=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),i=[...this.viewItems].reverse();e=!1;const r=i.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;const o=i.map(t=>e=t.maximumSize-t.size>0||e).reverse();let s=0;for(let e=0;e<this.sashItems.length;e++){const{sash:i}=this.sashItems[e];s+=this.viewItems[e].size;const a=!(t[e]&&o[e+1]),l=!(n[e]&&r[e+1]);if(a&&l){const n=Object(G.s)(e,-1),o=Object(G.s)(e+1,this.viewItems.length),a=this.findFirstSnapIndex(n),l=this.findFirstSnapIndex(o),c="number"==typeof a&&!this.viewItems[a].visible,d="number"==typeof l&&!this.viewItems[l].visible;c&&r[e]&&(s>0||this.startSnappingEnabled)?i.state=1:d&&t[e]&&(s<this.contentSize||this.endSnappingEnabled)?i.state=2:i.state=0}else i.state=a&&!l?1:!a&&l?2:3}}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}dispose(){super.dispose(),this.viewItems.forEach(e=>e.dispose()),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}var Ba=n(150),ja=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Va=function(e,t){return function(n,i){t(n,i,e)}},Ua=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Ha{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new pe.b,this._callOnModelChange=new pe.b,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e)for(let t of this._model.references)if(t.uri.toString()===e.uri.toString())return void this._addDecorations(t.parent)}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const t=[],n=[];for(let i=0,r=e.children.length;i<r;i++){let r=e.children[i];this._decorationIgnoreSet.has(r.id)||r.uri.toString()===this._editor.getModel().uri.toString()&&(t.push({range:r.range,options:Ha.DecorationOptions}),n.push(i))}const i=this._editor.deltaDecorations([],t);for(let t=0;t<i.length;t++)this._decorations.set(i[t],e.children[n[t]])}_onDecorationChanged(){const e=[],t=this._editor.getModel();if(t){for(let[n,i]of this._decorations){const r=t.getDecorationRange(n);if(!r)continue;let o=!1;if(!ge.a.equalsRange(r,i.range)){if(ge.a.spansMultipleLines(r))o=!0;else{i.range.endColumn-i.range.startColumn!==r.endColumn-r.startColumn&&(o=!0)}o?(this._decorationIgnoreSet.add(i.id),e.push(n)):i.range=r}}for(let t=0,n=e.length;t<n;t++)this._decorations.delete(e[t]);this._editor.deltaDecorations(e,[])}}removeDecorations(){this._editor.deltaDecorations([...this._decorations.keys()],[]),this._decorations.clear()}}Ha.DecorationOptions=be.a.register({stickiness:1,className:"reference-decoration"});class qa extends Oa.c{}let $a=class extends Vs{constructor(e,t,n,i,r,o,s,a,l,c){super(e,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0},o),this._defaultTreeKeyboardSupport=t,this.layoutData=n,this._textModelResolverService=r,this._instantiationService=o,this._peekViewService=s,this._uriLabel=a,this._undoRedoService=l,this._keybindingService=c,this._disposeOnNewModel=new pe.b,this._callOnDispose=new pe.b,this._onDidSelectReference=new Lt.a,this.onDidSelectReference=this._onDidSelectReference.event,this._dim={height:0,width:0},this._applyTheme(i.getColorTheme()),this._callOnDispose.add(i.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(e,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),Object(pe.f)(this._preview),Object(pe.f)(this._previewNotAvailableMessage),Object(pe.f)(this._tree),Object(pe.f)(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(e){const t=e.getColor($s)||Nn.a.transparent;this.style({arrowColor:t,frameColor:t,headerBackgroundColor:e.getColor(Us)||Nn.a.transparent,primaryHeadingColor:e.getColor(Hs),secondaryHeadingColor:e.getColor(qs)})}show(e){this.editor.revealRangeInCenterIfOutsideViewport(e,0),super.show(e,this.layoutData.heightInLines||18)}focusOnReferenceTree(){this._tree.domFocus()}focusOnPreviewEditor(){this._preview.focus()}isPreviewEditorFocused(){return this._preview.hasTextFocus()}_onTitleClick(e){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"title"})}_fillBody(e){this.setCssClass("reference-zone-widget"),this._messageContainer=ft.p(e,ft.a("div.messages")),ft.K(this._messageContainer),this._splitView=new za(e,{orientation:1}),this._previewContainer=ft.p(e,ft.a("div.preview.inline"));this._preview=this._instantiationService.createInstance(gs,this._previewContainer,{scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}},this.editor),ft.K(this._previewContainer),this._previewNotAvailableMessage=new be.b(U.a("missingPreviewMessage","no preview available"),be.b.DEFAULT_CREATION_OPTIONS,null,null,this._undoRedoService),this._treeContainer=ft.p(e,ft.a("div.ref-tree.inline"));const t={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Da,keyboardNavigationLabelProvider:this._instantiationService.createInstance(ka),identityProvider:new Ea,openOnSingleClick:!0,openOnFocus:!0,overrideStyles:{listBackground:Ks}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(ft.n(this._treeContainer,"keydown",e=>{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(qa,"ReferencesWidget",this._treeContainer,new Sa,[this._instantiationService.createInstance(La),this._instantiationService.createInstance(Ia)],this._instantiationService.createInstance(xa),t),this._splitView.addView({onDidChange:Lt.b.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},Wa.Distribute),this._splitView.addView({onDidChange:Lt.b.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=this._dim.height+"px",this._treeContainer.style.width=e+"px",this._tree.layout(this._dim.height,e)}},Wa.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let n=(e,t)=>{e instanceof ra&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?n(e.element,"side"):e.editorOptions.pinned?n(e.element,"goto"):n(e.element,"show")}),ft.K(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim={height:e,width:t},this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=U.a("noResults","No results"),ft.Z(this._messageContainer),Promise.resolve(void 0)):(ft.K(this._messageContainer),this._decorationsManager=new Ha(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{const{event:t,target:n}=e;if(2!==t.detail)return;const i=this._getFocusedReference();i&&this._onDidSelectReference.fire({element:{uri:i.uri,range:n.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),ft.Z(this._treeContainer),ft.Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[e]=this._tree.getFocus();return e instanceof ra?e:e instanceof sa&&e.children.length>0?e.children[0]:void 0}revealReference(e){return Ua(this,void 0,void 0,(function*(){yield this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}))}_revealReference(e,t){return Ua(this,void 0,void 0,(function*(){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==la.b.inMemory?this.setTitle(Object(jt.c)(e.uri),this._uriLabel.getUriLabel(Object(jt.d)(e.uri))):this.setTitle(U.a("peekView.alternateTitle","References"));const n=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),yield this._tree.expand(e.parent)),this._tree.reveal(e);const i=yield n;if(!this._model)return void i.dispose();Object(pe.f)(this._previewModelReference);const r=i.object;if(r){const t=this._preview.getModel()===r.textEditorModel?0:1,n=ge.a.lift(e.range).collapseToStart();this._previewModelReference=i,this._preview.setModel(r.textEditorModel),this._preview.setSelection(n),this._preview.revealRangeInCenter(n,t)}else this._preview.setModel(this._previewNotAvailableMessage),i.dispose()}))}};$a=ja([Va(3,we.c),Va(4,ts.a),Va(5,gt.a),Va(6,Fs),Va(7,ha.a),Va(8,Ba.a),Va(9,vt.a)],$a),Object(we.g)((e,t)=>{const n=e.getColor(ea);n&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${n}; }`);const i=e.getColor(ta);i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${i}; }`);const r=e.getColor(na);r&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${r}; box-sizing: border-box; }`);const o=e.getColor(ve.b);o&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${o}; box-sizing: border-box; }`);const s=e.getColor(Ks);s&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${s}; }`);const a=e.getColor(Gs);a&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${a}; }`);const l=e.getColor(Ys);l&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${l}; }`);const c=e.getColor(Zs);c&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${c}; }`);const d=e.getColor(Xs);d&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${d} !important; }`);const h=e.getColor(Qs);h&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: ${h};}`);const u=e.getColor(Js);u&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: ${u};}`)});var Ka=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ga=function(e,t){return function(n,i){t(n,i,e)}},Ya=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Za=new K.c("referenceSearchVisible",!1);let Xa=class e{constructor(e,t,n,i,r,o,s,a){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=i,this._notificationService=r,this._instantiationService=o,this._storageService=s,this._configurationService=a,this._disposables=new pe.b,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=Za.bindTo(n)}static get(t){return t.getContribution(e.ID)}dispose(){this._referenceSearchVisible.reset(),this._disposables.dispose(),Object(pe.f)(this._widget),Object(pe.f)(this._model),this._widget=void 0,this._model=void 0}toggleWidget(e,t,n){let i;if(this._widget&&(i=this._widget.position),this.closeWidget(),i&&e.containsPosition(i))return;this._peekMode=n,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const r=class{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(e){let t,n;try{const i=JSON.parse(e);t=i.ratio,n=i.heightInLines}catch(e){}return{ratio:t||.7,heightInLines:n||18}}}.fromJSON(this._storageService.get("peekViewLayout",0,"{}"));this._widget=this._instantiationService.createInstance($a,this._editor,this._defaultTreeKeyboardSupport,r),this._widget.setTitle(U.a("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store("peekViewLayout",JSON.stringify(this._widget.layoutData),0),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{let{element:t,kind:i}=e;if(t)switch(i){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1);break;case"side":this.openReference(t,!0);break;case"goto":n?this._gotoReference(t):this.openReference(t,!1)}}));const o=++this._requestIdPool;t.then(t=>{if(o===this._requestIdPool&&this._widget)return this._model&&this._model.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(U.a("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,n=new me.a(e.startLineNumber,e.startColumn),i=this._model.nearestReference(t,n);if(i)return this._widget.setSelection(i).then(()=>{this._widget&&"editor"===this._editor.getOption(68)&&this._widget.focusOnPreviewEditor()})}})},e=>{this._notificationService.error(e)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return Ya(this,void 0,void 0,(function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const n=this._model.nearestReference(this._editor.getModel().uri,t);if(!n)return;const i=this._model.nextOrPreviousReference(n,e),r=this._editor.hasTextFocus(),o=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(i),yield this._gotoReference(i),r?this._editor.focus():this._widget&&o&&this._widget.focusOnPreviewEditor()}))}revealReference(e){return Ya(this,void 0,void 0,(function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))}))}closeWidget(e=!0){Object(pe.f)(this._widget),Object(pe.f)(this._model),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(t){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const n=ge.a.lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:n}},this._editor).then(t=>{var i;if(this._ignoreModelChangeEvent=!1,t&&this._widget)if(this._editor===t)this._widget.show(n),this._widget.focusOnReferenceTree();else{const r=e.get(t),o=this._model.clone();this.closeWidget(),t.focus(),r.toggleWidget(n,Object(ue.f)(e=>Promise.resolve(o)),null!==(i=this._peekMode)&&void 0!==i&&i)}else this.closeWidget()},e=>{this._ignoreModelChangeEvent=!1,Object(Z.e)(e)})}openReference(e,t){t||this.closeWidget();const{uri:n,range:i}=e;this._editorService.openCodeEditor({resource:n,options:{selection:i}},this._editor,t)}};function Qa(e,t){const n=function(e){let t=e.get(Me.a).getFocusedCodeEditor();return t instanceof gs?t.getParentEditor():t}(e);if(!n)return;let i=Xa.get(n);i&&t(i)}Xa.ID="editor.contrib.referencesController",Xa=Ka([Ga(2,K.b),Ga(3,Me.a),Ga(4,zt.a),Ga(5,gt.a),Ga(6,fn.a),Ga(7,Dn.a)],Xa),Zi.a.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object($.a)(2089,60),when:K.a.or(Za,Ws.inPeekEditor),handler(e){Qa(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),Zi.a.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:K.a.or(Za,Ws.inPeekEditor),handler(e){Qa(e,e=>{e.goToNextOrPreviousReference(!0)})}}),Zi.a.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:K.a.or(Za,Ws.inPeekEditor),handler(e){Qa(e,e=>{e.goToNextOrPreviousReference(!1)})}}),Ft.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),Ft.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),Ft.a.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),Ft.a.registerCommand("closeReferenceSearch",e=>Qa(e,e=>e.closeWidget())),Zi.a.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:K.a.and(Ws.inPeekEditor,K.a.not("config.editor.stablePeek"))}),Zi.a.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:K.a.and(Za,K.a.not("config.editor.stablePeek"))}),Zi.a.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:K.a.and(Za,Oa.e),handler(e){var t;const n=null===(t=e.get(Oa.a).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof ra&&Qa(e,e=>e.revealReference(n[0]))}}),Zi.a.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:K.a.and(Za,Oa.e),handler(e){var t;const n=null===(t=e.get(Oa.a).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof ra&&Qa(e,e=>e.openReference(n[0],!0))}}),Ft.a.registerCommand("openReference",e=>{var t;const n=null===(t=e.get(Oa.a).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof ra&&Qa(e,e=>e.openReference(n[0],!1))});var Ja=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function el(e,t,n,i){const r=n.ordered(e).map(n=>Promise.resolve(i(n,e,t)).then(void 0,e=>{Object(Z.f)(e)}));return Promise.all(r).then(e=>{const t=[];for(let n of e)Array.isArray(n)?t.push(...n):n&&t.push(n);return t})}function tl(e,t,n){return el(e,t,et.f,(e,t,i)=>e.provideDefinition(t,i,n))}function nl(e,t,n){return el(e,t,et.e,(e,t,i)=>e.provideDeclaration(t,i,n))}function il(e,t,n){return el(e,t,et.q,(e,t,i)=>e.provideImplementation(t,i,n))}function rl(e,t,n){return el(e,t,et.D,(e,t,i)=>e.provideTypeDefinition(t,i,n))}function ol(e,t,n,i){return el(e,t,et.v,(e,t,r)=>Ja(this,void 0,void 0,(function*(){const o=yield e.provideReferences(t,r,{includeDeclaration:!0},i);if(!n||!o||2!==o.length)return o;const s=yield e.provideReferences(t,r,{includeDeclaration:!1},i);return s&&1===s.length?s:o})))}Object(V.p)("_executeDefinitionProvider",(e,t)=>tl(e,t,Xe.a.None)),Object(V.p)("_executeDeclarationProvider",(e,t)=>nl(e,t,Xe.a.None)),Object(V.p)("_executeImplementationProvider",(e,t)=>il(e,t,Xe.a.None)),Object(V.p)("_executeTypeDefinitionProvider",(e,t)=>rl(e,t,Xe.a.None)),Object(V.p)("_executeReferenceProvider",(e,t)=>ol(e,t,!1,Xe.a.None));var sl=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},al=function(e,t){return function(n,i){t(n,i,e)}};const ll=new K.c("hasSymbols",!1),cl=Object(gt.c)("ISymbolNavigationService");let dl=class{constructor(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=ll.bindTo(e)}reset(){this._ctxHasSymbols.reset(),Object(pe.f)(this._currentState),Object(pe.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1}put(e){const t=e.parent.parent;if(t.references.length<=1)return void this.reset();this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();const n=new hl(this._editorService),i=n.onDidChange(e=>{if(this._ignoreEditorChange)return;const n=this._editorService.getActiveCodeEditor();if(!n)return;const i=n.getModel(),r=n.getPosition();if(!i||!r)return;let o=!1,s=!1;for(const e of t.references)if(Object(jt.f)(e.uri,i.uri))o=!0,s=s||ge.a.containsPosition(e.range,r);else if(o)break;o&&s||this.reset()});this._currentState=Object(pe.e)(n,i)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:ge.a.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){Object(pe.f)(this._currentMessage);const e=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),t=e?Object(U.a)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,e.getLabel()):Object(U.a)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(t)}};dl=sl([al(0,K.b),al(1,Me.a),al(2,zt.a),al(3,vt.a)],dl),Object(mn.b)(cl,dl,!0),Object(V.l)(new class extends V.c{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:ll,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(cl).revealNext(t)}}),Zi.a.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:ll,primary:9,handler(e){e.get(cl).reset()}});let hl=class{constructor(e){this._listener=new Map,this._disposables=new pe.b,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),Object(pe.f)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,Object(pe.e)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){Object(pe.f)(this._listener.get(e)),this._listener.delete(e)}};hl=sl([al(0,Me.a)],hl);var ul,pl,ml,gl,fl,bl,_l,vl,wl=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};ye.d.appendMenuItem(ye.b.EditorContext,{submenu:ye.b.EditorContextPeek,title:U.a("peek.submenu","Peek"),group:"navigation",order:100});class yl extends V.b{constructor(e,t){super(t),this._configuration=e}run(e,t){if(!t.hasModel())return Promise.resolve(void 0);const n=e.get(zt.a),i=e.get(Me.a),r=e.get(ot.a),o=e.get(cl),s=t.getModel(),a=t.getPosition(),l=new Je.b(t,5),c=Object(ue.j)(this._getLocationModel(s,a,l.token),l.token).then(e=>wl(this,void 0,void 0,(function*(){if(!e||l.token.isCancellationRequested)return;let n;if(Object(ne.a)(e.ariaMessage),e.referenceAt(s.uri,a)){const e=this._getAlternativeCommand(t);e!==this.id&&(n=t.getAction(e))}const r=e.references.length;if(0===r){if(!this._configuration.muteMessage){const e=s.getWordAtPosition(a);ut.get(t).showMessage(this._getNoResultFoundMessage(e),a)}}else{if(1!==r||!n)return this._onResult(i,o,t,e);n.run()}})),e=>{n.error(e)}).finally(()=>{l.dispose()});return r.showWhile(c,250),c}_onResult(e,t,n,i){return wl(this,void 0,void 0,(function*(){const r=this._getGoToPreference(n);if(n instanceof gs||!(this._configuration.openInPeek||"peek"===r&&i.references.length>1)){const o=i.firstReference(),s=i.references.length>1&&"gotoAndPeek"===r,a=yield this._openReference(n,e,o,this._configuration.openToSide,!s);s&&a?this._openInPeek(a,i):i.dispose(),"goto"===r&&t.put(o)}else this._openInPeek(n,i)}))}_openReference(e,t,n,i,r){return wl(this,void 0,void 0,(function*(){let o=void 0;Object(et.G)(n)&&(o=n.targetSelectionRange),o||(o=n.range);const s=yield t.openCodeEditor({resource:n.uri,options:{selection:ge.a.collapseToStart(o),selectionRevealType:3}},e,i);if(s){if(r){const e=s.getModel(),t=s.deltaDecorations([],[{range:o,options:{className:"symbolHighlight"}}]);setTimeout(()=>{s.getModel()===e&&s.deltaDecorations(t,[])},350)}return s}}))}_openInPeek(e,t){let n=Xa.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(ue.f)(e=>Promise.resolve(t)),this._configuration.openInPeek):t.dispose()}}class Cl extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield tl(e,t,n),U.a("def.title","Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("noResultWord","No definition found for '{0}'",e.word):U.a("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(43).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(43).multipleDefinitions}}const xl=Ae.h&&!Oe.k?2118:70;Object(V.k)(((ul=class e extends Cl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:U.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:K.a.and(H.a.hasDefinitionProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:xl,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:2,title:U.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}}),Ft.a.registerCommandAlias("editor.action.goToDeclaration",e.id)}}).id="editor.action.revealDefinition",ul)),Object(V.k)(((pl=class e extends Cl{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:e.id,label:U.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:K.a.and(H.a.hasDefinitionProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,xl),weight:100}}),Ft.a.registerCommandAlias("editor.action.openDeclarationToTheSide",e.id)}}).id="editor.action.revealDefinitionAside",pl)),Object(V.k)(((ml=class e extends Cl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.id,label:U.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:K.a.and(H.a.hasDefinitionProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:2}}),Ft.a.registerCommandAlias("editor.action.previewDeclaration",e.id)}}).id="editor.action.peekDefinition",ml));class Sl extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield nl(e,t,n),U.a("decl.title","Declarations"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("decl.noResultWord","No declaration found for '{0}'",e.word):U.a("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(43).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(43).multipleDeclarations}}Object(V.k)(((gl=class e extends Sl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:U.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:K.a.and(H.a.hasDeclarationProvider,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:U.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})}_getNoResultFoundMessage(e){return e&&e.word?U.a("decl.noResultWord","No declaration found for '{0}'",e.word):U.a("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",gl)),Object(V.k)(class extends Sl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:U.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:K.a.and(H.a.hasDeclarationProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:3}})}});class kl extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield rl(e,t,n),U.a("typedef.title","Type Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):U.a("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(43).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(43).multipleTypeDefinitions}}Object(V.k)(((fl=class e extends kl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:U.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:K.a.and(H.a.hasTypeDefinitionProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:3,title:U.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})}}).ID="editor.action.goToTypeDefinition",fl)),Object(V.k)(((bl=class e extends kl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:U.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:K.a.and(H.a.hasTypeDefinitionProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",bl));class El extends yl{_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield il(e,t,n),U.a("impl.title","Implementations"))}))}_getNoResultFoundMessage(e){return e&&e.word?U.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):U.a("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(43).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(43).multipleImplementations}}Object(V.k)(((_l=class e extends El{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:U.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:K.a.and(H.a.hasImplementationProvider,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:4,title:U.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",_l)),Object(V.k)(((vl=class e extends El{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:U.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:K.a.and(H.a.hasImplementationProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",vl));class Tl extends yl{_getNoResultFoundMessage(e){return e?U.a("references.no","No references found for '{0}'",e.word):U.a("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(43).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(43).multipleReferences}}Object(V.k)(class extends Tl{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:U.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:K.a.and(H.a.hasReferenceProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:H.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:ye.b.MenubarGoMenu,group:"4_symbol_nav",order:5,title:U.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})}_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield ol(e,t,!0,n),U.a("ref.title","References"))}))}}),Object(V.k)(class extends Tl{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:U.a("references.action.label","Peek References"),alias:"Peek References",precondition:K.a.and(H.a.hasReferenceProvider,Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:ye.b.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(yield ol(e,t,!1,n),U.a("ref.title","References"))}))}});class Ll extends yl{constructor(e,t,n){super(e,{id:"editor.action.goToLocation",label:U.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:K.a.and(Ws.notInPeekEditor,H.a.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=n}_getLocationModel(e,t,n){return wl(this,void 0,void 0,(function*(){return new aa(this._references,U.a("generic.title","Locations"))}))}_getNoResultFoundMessage(e){return e&&U.a("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(43).multipleReferences}_getAlternativeCommand(){return""}}Ft.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:Qe.a},{name:"position",description:"The position at which to start",constraint:me.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(e,t,n,i,r,o,s)=>wl(void 0,void 0,void 0,(function*(){Object(Qr.b)(Qe.a.isUri(t)),Object(Qr.b)(me.a.isIPosition(n)),Object(Qr.b)(Array.isArray(i)),Object(Qr.b)(void 0===r||"string"==typeof r),Object(Qr.b)(void 0===s||"boolean"==typeof s);const a=e.get(Me.a),l=yield a.openCodeEditor({resource:t},a.getFocusedCodeEditor());if(Object(Ro.b)(l))return l.setPosition(n),l.revealPositionInCenterIfOutsideViewport(n,0),l.invokeWithinContext(e=>{const t=new class extends Ll{_getNoResultFoundMessage(e){return o||super._getNoResultFoundMessage(e)}}({muteMessage:!Boolean(o),openInPeek:Boolean(s),openToSide:!1},i,r);e.get(gt.a).invokeFunction(t.run.bind(t),l)})}))}),Ft.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:Qe.a},{name:"position",description:"The position at which to start",constraint:me.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(e,t,n,i,r)=>wl(void 0,void 0,void 0,(function*(){e.get(Ft.b).executeCommand("editor.action.goToLocations",t,n,i,r,void 0,!0)}))}),Ft.a.registerCommand({id:"editor.action.findReferences",handler:(e,t,n)=>{Object(Qr.b)(Qe.a.isUri(t)),Object(Qr.b)(me.a.isIPosition(n));const i=e.get(Me.a);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then(e=>{if(!Object(Ro.b)(e)||!e.hasModel())return;const t=Xa.get(e);if(!t)return;const i=Object(ue.f)(t=>ol(e.getModel(),me.a.lift(n),!1,t).then(e=>new aa(e,U.a("ref.title","References")))),r=new ge.a(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(r,i,!1))})}}),Ft.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations");n(309);var Nl=n(109);function Il(e,t){return!!e[t]}class Dl{constructor(e,t){this.target=e.target,this.hasTriggerModifier=Il(e.event,t.triggerModifier),this.hasSideBySideModifier=Il(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class Ol{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=Il(e,t.triggerModifier)}}class Al{constructor(e,t,n,i){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=n,this.triggerSideBySideModifier=i}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function Rl(e){return"altKey"===e?Ae.f?new Al(57,"metaKey",6,"altKey"):new Al(5,"ctrlKey",6,"altKey"):Ae.f?new Al(6,"altKey",57,"metaKey"):new Al(6,"altKey",5,"ctrlKey")}class Ml extends pe.a{constructor(e){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new Lt.a),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new Lt.a),this.onExecute=this._onExecute.event,this._onCancel=this._register(new Lt.a),this.onCancel=this._onCancel.event,this._editor=e,this._opts=Rl(this._editor.getOption(61)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(e=>{if(e.hasChanged(61)){const e=Rl(this._editor.getOption(61));if(this._opts.equals(e))return;this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new Dl(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new Dl(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new Dl(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new Ol(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new Ol(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){const t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var Pl=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Fl=function(e,t){return function(n,i){t(n,i,e)}};let Wl=class e{constructor(e,t,n){this.textModelResolverService=t,this.modeService=n,this.toUnhook=new pe.b,this.toUnhookForKeyboard=new pe.b,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e;let i=new Ml(e);this.toUnhook.add(i),this.toUnhook.add(i.onMouseMoveOrRelevantKeyDown(([e,t])=>{this.startFindDefinitionFromMouse(e,Object(Qr.n)(t))})),this.toUnhook.add(i.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},e=>{this.removeLinkDecorations(),Object(Z.e)(e)})})),this.toUnhook.add(i.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(t){return t.getContribution(e.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t))return this.currentWordAtPosition=null,void this.removeLinkDecorations();const n=e.target.position;this.startFindDefinition(n)}startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const n=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!n)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return Promise.resolve(0);this.currentWordAtPosition=n;let i=new Je.a(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(ue.f)(t=>this.findDefinition(e,t)),this.previousPromise.then(t=>{if(t&&t.length&&i.validate(this.editor))if(t.length>1)this.addDecoration(new ge.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),(new X).appendText(U.a("multipleResults","Click to show {0} definitions.",t.length)));else{let i=t[0];if(!i.uri)return;this.textModelResolverService.createModelReference(i.uri).then(t=>{if(!t.object||!t.object.textEditorModel)return void t.dispose();const{object:{textEditorModel:r}}=t,{startLineNumber:o}=i.range;if(o<1||o>r.getLineCount())return void t.dispose();const s=this.getPreviewValue(r,o,i);let a;a=i.originSelectionRange?ge.a.lift(i.originSelectionRange):new ge.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);const l=this.modeService.getModeIdByFilepathOrFirstLine(r.uri);this.addDecoration(a,(new X).appendCodeblock(l||"",s)),t.dispose()})}else this.removeLinkDecorations()}).then(void 0,Z.e)}getPreviewValue(t,n,i){let r=i.targetSelectionRange?i.range:this.getPreviewRangeBasedOnBrackets(t,n);r.endLineNumber-r.startLineNumber>=e.MAX_SOURCE_PREVIEW_LINES&&(r=this.getPreviewRangeBasedOnIndentation(t,n));return this.stripIndentationFromPreviewRange(t,n,r)}stripIndentationFromPreviewRange(e,t,n){let i=e.getLineFirstNonWhitespaceColumn(t);for(let r=t+1;r<n.endLineNumber;r++){const t=e.getLineFirstNonWhitespaceColumn(r);i=Math.min(i,t)}return e.getValueInRange(n).replace(new RegExp(`^\\s{${i-1}}`,"gm"),"").trim()}getPreviewRangeBasedOnIndentation(t,n){const i=t.getLineFirstNonWhitespaceColumn(n),r=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES);let o=n+1;for(;o<r;o++){if(i===t.getLineFirstNonWhitespaceColumn(o))break}return new ge.a(n,1,o+1,1)}getPreviewRangeBasedOnBrackets(t,n){const i=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES),r=[];let o=!0,s=t.findNextBracket(new me.a(n,1));for(;null!==s;){if(0===r.length)r.push(s);else{const e=r[r.length-1];if(e.open[0]===s.open[0]&&e.isOpen&&!s.isOpen?r.pop():r.push(s),0===r.length){if(!o)return new ge.a(n,1,s.range.endLineNumber+1,1);o=!1}}const e=t.getLineMaxColumn(n);let a=s.range.endLineNumber,l=s.range.endColumn;if(e===s.range.endColumn&&(a++,l=1),a>i)return new ge.a(n,1,i+1,1);s=t.findNextBracket(new me.a(a,l))}return new ge.a(n,1,i+1,1)}addDecoration(e,t){const n={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:t}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[n])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&6===e.target.type&&(e.hasTriggerModifier||!!t&&t.keyCodeIsTriggerKey)&&et.f.has(this.editor.getModel())}findDefinition(e,t){const n=this.editor.getModel();return n?tl(n,e,t):Promise.resolve(null)}gotoDefinition(e,t){return this.editor.setPosition(e),this.editor.invokeWithinContext(e=>{const n=!t&&this.editor.getOption(69)&&!this.isInPeekEditor(e);return new Cl({openToSide:t,openInPeek:n,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(e,this.editor)})}isInPeekEditor(e){const t=e.get(K.b);return Ws.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose()}};Wl.ID="editor.contrib.gotodefinitionatposition",Wl.MAX_SOURCE_PREVIEW_LINES=8,Wl=Pl([Fl(1,ts.a),Fl(2,Nl.a)],Wl),Object(V.m)(Wl.ID,Wl),Object(we.g)((e,t)=>{const n=e.getColor(ve.r);n&&t.addRule(`.monaco-editor .goto-definition-link { color: ${n} !important; }`)});n(311);var zl,Bl=n(105),jl=n(68);(zl||(zl={})).className=function(e){switch(e){case jl.a.Ignore:return"severity-ignore "+Y.a.info.classNames;case jl.a.Info:return Y.a.info.classNames;case jl.a.Warning:return Y.a.warning.classNames;case jl.a.Error:return Y.a.error.classNames;default:return""}},Object(we.g)((e,t)=>{const n=e.getColor(ve.Zb);if(n){const e=Y.a.error.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)}const i=e.getColor(ve.bc);if(i){const e=Y.a.warning.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)}const r=e.getColor(ve.ac);if(r){const e=Y.a.info.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${r};\n\t\t\t}\n\t\t`)}});var Vl=n(79),Ul=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Hl=function(e,t){return function(n,i){t(n,i,e)}};class ql{constructor(e,t,n,i){this._openerService=i,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new pe.b,this._editor=t;const r=document.createElement("div");r.className="descriptioncontainer",this._messageBlock=document.createElement("div"),ft.e(this._messageBlock,"message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),r.appendChild(this._relatedBlock),this._disposables.add(ft.n(this._relatedBlock,"click",e=>{e.preventDefault();const t=this._relatedDiagnostics.get(e.target);t&&n(t)})),this._scrollable=new Bl.b(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{r.style.left=`-${e.scrollLeft}px`,r.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){Object(pe.f)(this._disposables)}update(e){const{source:t,message:n,relatedInformation:i,code:r}=e;let o=((null==t?void 0:t.length)||0)+"()".length;r&&(o+="string"==typeof r?r.length:r.value.length);const s=n.split(/\r\n|\r|\n/g);this._lines=s.length,this._longestLineLength=0;for(const e of s)this._longestLineLength=Math.max(e.length+o,this._longestLineLength);ft.s(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let a=this._messageBlock;for(const e of s)a=document.createElement("div"),a.innerText=e,""===e&&(a.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(a);if(t||r){const e=document.createElement("span");if(ft.e(e,"details"),a.appendChild(e),t){const n=document.createElement("span");n.innerText=t,ft.e(n,"source"),e.appendChild(n)}if(r)if("string"==typeof r){const t=document.createElement("span");t.innerText=`(${r})`,ft.e(t,"code"),e.appendChild(t)}else{this._codeLink=ft.a("a.code-link"),this._codeLink.setAttribute("href",""+r.target.toString()),this._codeLink.onclick=e=>{this._openerService.open(r.target),e.preventDefault(),e.stopPropagation()};ft.p(this._codeLink,ft.a("span")).innerText=r.value,e.appendChild(this._codeLink)}}if(ft.s(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(G.o)(i)){const e=this._relatedBlock.appendChild(document.createElement("div"));e.style.paddingTop=Math.floor(.66*this._editor.getOption(51))+"px",this._lines+=1;for(const t of i){let n=document.createElement("div"),i=document.createElement("a");ft.e(i,"filename"),i.innerText=`${ga(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,i.title=ma(t.resource,void 0),this._relatedDiagnostics.set(i,t);let r=document.createElement("span");r.innerText=t.message,n.appendChild(i),n.appendChild(r),this._lines+=1,e.appendChild(n)}}const l=this._editor.getOption(36),c=Math.ceil(l.typicalFullwidthCharacterWidth*this._longestLineLength*.75),d=l.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:c,scrollHeight:d})}layout(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case Wt.c.Error:t=U.a("Error","Error");break;case Wt.c.Warning:t=U.a("Warning","Warning");break;case Wt.c.Info:t=U.a("Info","Info");break;case Wt.c.Hint:t=U.a("Hint","Hint")}let n=U.a("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const i=this._editor.getModel();if(i&&e.startLineNumber<=i.getLineCount()&&e.startLineNumber>=1){n=`${i.getLineContent(e.startLineNumber)}, ${n}`}return n}}let $l=class e extends Vs{constructor(e,t,n,i,r,o){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0},r),this._themeService=t,this._openerService=n,this._menuService=i,this._contextKeyService=o,this._callOnDispose=new pe.b,this._onDidSelectRelatedInformation=new Lt.a,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=Wt.c.Warning,this._backgroundColor=Nn.a.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(Jl);let t=Zl;this._severity===Wt.c.Warning?t=Xl:this._severity===Wt.c.Info&&(t=Ql);const n=e.getColor(t);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:e.getColor(Hs),secondaryHeadingColor:e.getColor(qs)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(t){super._fillHead(t),this._disposables.add(this._actionbarWidget.actionRunner.onDidBeforeRun(e=>this.editor.focus()));const n=[],i=this._menuService.createMenu(e.TitleMenu,this._contextKeyService);Is(i,void 0,n),this._actionbarWidget.push(n,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=ft.p(e,ft.a(""))}_getActionBarOptions(){return Object.assign(Object.assign({},super._getActionBarOptions()),{orientation:0})}_fillBody(e){this._parentContainer=e,ft.e(e,"marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new ql(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,n){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let i=ge.a.lift(e);const r=this.editor.getPosition();let o=r&&i.containsPosition(r)?r:i.getStartPosition();super.show(o,this.computeRequiredHeight());const s=this.editor.getModel();if(s){const e=n>1?U.a("problems","{0} of {1} problems",t,n):U.a("change","{0} of {1} problem",t,n);this.setTitle(Object(jt.b)(s.uri),e)}this._icon.className="codicon "+zl.className(Wt.c.toSeverity(this._severity)),this.editor.revealPositionNearTop(o,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=e+"px"}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};$l.TitleMenu=new ye.b("gotoErrorTitleMenu"),$l=Ul([Hl(1,we.c),Hl(2,Vl.a),Hl(3,ye.a),Hl(4,gt.a),Hl(5,K.b)],$l);let Kl=Object(ve.Ub)(ve.u,ve.t),Gl=Object(ve.Ub)(ve.T,ve.S),Yl=Object(ve.Ub)(ve.L,ve.K);const Zl=Object(ve.gc)("editorMarkerNavigationError.background",{dark:Kl,light:Kl,hc:Kl},U.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),Xl=Object(ve.gc)("editorMarkerNavigationWarning.background",{dark:Gl,light:Gl,hc:Gl},U.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Ql=Object(ve.gc)("editorMarkerNavigationInfo.background",{dark:Yl,light:Yl,hc:Yl},U.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),Jl=Object(ve.gc)("editorMarkerNavigation.background",{dark:"#2D2D30",light:Nn.a.white,hc:"#0C141F"},U.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(we.g)((e,t)=>{const n=e.getColor(ve.rc);n&&(t.addRule(`.monaco-editor .marker-widget a { color: ${n}; }`),t.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${n}; }`))});var ec=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},tc=function(e,t){return function(n,i){t(n,i,e)}};class nc{constructor(e,t,n){this.marker=e,this.index=t,this.total=n}}let ic=class e{constructor(t,n){this._markerService=n,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._dispoables=new pe.b,this._markers=[],this._nextIdx=-1,Qe.a.isUri(t)?this._resourceFilter=e=>e.toString()===t.toString():t&&(this._resourceFilter=t);const i=()=>{this._markers=this._markerService.read({resource:Qe.a.isUri(t)?t:void 0,severities:Wt.c.Error|Wt.c.Warning|Wt.c.Info}),"function"==typeof t&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(e._compareMarker)};i(),this._dispoables.add(n.onMarkerChanged(e=>{this._resourceFilter&&!e.some(e=>this._resourceFilter(e))||(i(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!(!this._resourceFilter||!e)&&this._resourceFilter(e)}get selected(){const e=this._markers[this._nextIdx];return e&&new nc(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,n){let i=!1,r=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());r<0&&(r=Object(G.c)(this._markers,{resource:e.uri},(e,t)=>Object(Ye.f)(e.resource.toString(),t.resource.toString())),r<0&&(r=~r));for(let n=r;n<this._markers.length;n++){let r=ge.a.lift(this._markers[n]);if(r.isEmpty()){const t=e.getWordAtPosition(r.getStartPosition());t&&(r=new ge.a(r.startLineNumber,t.startColumn,r.startLineNumber,t.endColumn))}if(t&&(r.containsPosition(t)||t.isBeforeOrEqual(r.getStartPosition()))){this._nextIdx=n,i=!0;break}if(this._markers[n].resource.toString()!==e.uri.toString())break}i||(this._nextIdx=n?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(e,t,n){if(0===this._markers.length)return!1;let i=this._nextIdx;return-1===this._nextIdx?this._initIdx(t,n,e):e?this._nextIdx=(this._nextIdx+1)%this._markers.length:e||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),i!==this._nextIdx}find(e,t){let n=this._markers.findIndex(t=>t.resource.toString()===e.toString());if(!(n<0))for(;n<this._markers.length;n++)if(ge.a.containsPosition(this._markers[n],t))return new nc(this._markers[n],n+1,this._markers.length)}static _compareMarker(e,t){let n=Object(Ye.f)(e.resource.toString(),t.resource.toString());return 0===n&&(n=Wt.c.compare(e.severity,t.severity)),0===n&&(n=ge.a.compareRangesUsingStarts(e,t)),n}};ic=ec([tc(1,Wt.b)],ic);const rc=Object(gt.c)("IMarkerNavigationService");let oc=class{constructor(e){this._markerService=e,this._provider=new Fo.a}getMarkerList(e){for(let t of this._provider){const n=t.getMarkerList(e);if(n)return n}return new ic(e,this._markerService)}};oc=ec([tc(0,Wt.b)],oc),Object(mn.b)(rc,oc,!0);var sc=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},ac=function(e,t){return function(n,i){t(n,i,e)}},lc=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let cc=class e{constructor(e,t,n,i,r){this._markerNavigationService=t,this._contextKeyService=n,this._editorService=i,this._instantiationService=r,this._sessionDispoables=new pe.b,this._editor=e,this._widgetVisible=pc.bindTo(this._contextKeyService)}static get(t){return t.getContribution(e.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance($l,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t,n,i;(null===(t=this._model)||void 0===t?void 0:t.selected)&&ge.a.containsPosition(null===(n=this._model)||void 0===n?void 0:n.selected.marker,e.position)||null===(i=this._model)||void 0===i||i.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:ge.a.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new me.a(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(t,n){return lc(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=this._getOrCreateModel(n?void 0:this._editor.getModel().uri);if(i.move(t,this._editor.getModel(),this._editor.getPosition()),!i.selected)return;if(i.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const r=yield this._editorService.openCodeEditor({resource:i.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:i.selected.marker}},this._editor);r&&(e.get(r).close(),e.get(r).nagivate(t,n))}else this._widget.showAtMarker(i.selected.marker,i.selected.index,i.selected.total)}}))}};cc.ID="editor.contrib.markerController",cc=sc([ac(1,rc),ac(2,K.b),ac(3,Me.a),ac(4,gt.a)],cc);class dc extends V.b{constructor(e,t,n){super(n),this._next=e,this._multiFile=t}run(e,t){return lc(this,void 0,void 0,(function*(){t.hasModel()&&cc.get(t).nagivate(this._next,this._multiFile)}))}}class hc extends dc{constructor(){super(!0,!1,{id:hc.ID,label:hc.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:578,weight:100},menuOpts:{menuId:$l.TitleMenu,title:hc.LABEL,icon:Object(Y.e)("marker-navigation-next",Y.a.chevronDown),group:"navigation",order:1}})}}hc.ID="editor.action.marker.next",hc.LABEL=U.a("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class uc extends dc{constructor(){super(!1,!1,{id:uc.ID,label:uc.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:1602,weight:100},menuOpts:{menuId:$l.TitleMenu,title:hc.LABEL,icon:Object(Y.e)("marker-navigation-previous",Y.a.chevronUp),group:"navigation",order:2}})}}uc.ID="editor.action.marker.prev",uc.LABEL=U.a("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");Object(V.m)(cc.ID,cc),Object(V.k)(hc),Object(V.k)(uc),Object(V.k)(class extends dc{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:U.a("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:66,weight:100},menuOpts:{menuId:ye.b.MenubarGoMenu,title:U.a({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),Object(V.k)(class extends dc{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:U.a("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:1090,weight:100},menuOpts:{menuId:ye.b.MenubarGoMenu,title:U.a({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});const pc=new K.c("markersNavigationVisible",!1),mc=V.c.bindToContribution(cc.get);Object(V.l)(new mc({id:"closeMarkersNavigation",precondition:pc,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:H.a.focus,primary:9,secondary:[1033]}}));class gc{constructor(e,t,n){this.presentationIndex=n,this._onColorFlushed=new Lt.a,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new Lt.a,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new Lt.a,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let e=0;e<this.colorPresentations.length;e++)if(t.toLowerCase()===this.colorPresentations[e].label){this.presentationIndex=e,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}n(313);const fc=ft.a;class bc extends pe.a{constructor(e,t,n){super(),this.model=t,this.domNode=fc(".colorpicker-header"),ft.p(e,this.domNode),this.pickedColorNode=ft.p(this.domNode,fc(".picked-color"));const i=ft.p(this.domNode,fc(".original-color"));i.style.backgroundColor=Nn.a.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=n.getColorTheme().getColor(ve.E)||Nn.a.white,this._register(Object(we.g)((e,t)=>{this.backgroundColor=e.getColor(ve.E)||Nn.a.white})),this._register(ft.i(this.pickedColorNode,ft.c.CLICK,()=>this.model.selectNextColorPresentation())),this._register(ft.i(i,ft.c.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=Nn.a.Format.CSS.format(t.color)||"",ft.ab(this.pickedColorNode,"light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter())}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=Nn.a.Format.CSS.format(e)||"",ft.ab(this.pickedColorNode,"light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class _c extends pe.a{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this.domNode=fc(".colorpicker-body"),ft.p(e,this.domNode),this.saturationBox=new vc(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new yc(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new Cc(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const n=this.model.color.hsva;this.model.color=new Nn.a(new Nn.b(n.h,e,t,n.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new Nn.a(new Nn.b(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,n=360*(1-e);this.model.color=new Nn.a(new Nn.b(360===n?0:n,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class vc extends pe.a{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new Lt.a,this.onColorFlushed=this._onColorFlushed.event,this.domNode=fc(".saturation-wrap"),ft.p(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",ft.p(this.domNode,this.canvas),this.selection=fc(".saturation-selection"),ft.p(this.domNode,this.selection),this.layout(),this._register(ft.g(this.domNode,e=>this.onMouseDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new Tt.a);const t=ft.C(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,Tt.b,e=>this.onDidChangePosition(e.posx-t.left,e.posy-t.top),()=>null);const n=ft.h(document,()=>{this._onColorFlushed.fire(),n.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){const n=Math.max(0,Math.min(1,e/this.width)),i=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(n,i),this._onDidChange.fire({s:n,v:i})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new Nn.a(new Nn.b(e.h,1,1,1)),n=this.canvas.getContext("2d"),i=n.createLinearGradient(0,0,this.canvas.width,0);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)");const r=n.createLinearGradient(0,0,0,this.canvas.height);r.addColorStop(0,"rgba(0, 0, 0, 0)"),r.addColorStop(1,"rgba(0, 0, 0, 1)"),n.rect(0,0,this.canvas.width,this.canvas.height),n.fillStyle=Nn.a.Format.CSS.format(t),n.fill(),n.fillStyle=i,n.fill(),n.fillStyle=r,n.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class wc extends pe.a{constructor(e,t){super(),this.model=t,this._onDidChange=new Lt.a,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new Lt.a,this.onColorFlushed=this._onColorFlushed.event,this.domNode=ft.p(e,fc(".strip")),this.overlay=ft.p(this.domNode,fc(".overlay")),this.slider=ft.p(this.domNode,fc(".slider")),this.slider.style.top="0px",this._register(ft.g(this.domNode,e=>this.onMouseDown(e))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){const t=this._register(new Tt.a),n=ft.C(this.domNode);ft.e(this.domNode,"grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,Tt.b,e=>this.onDidChangeTop(e.posy-n.top),()=>null);const i=ft.h(document,()=>{this._onColorFlushed.fire(),i.dispose(),t.stopMonitoring(!0),ft.Q(this.domNode,"grabbing")},!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class yc extends wc{constructor(e,t){super(e,t),ft.e(this.domNode,"opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){const{r:t,g:n,b:i}=e.rgba,r=new Nn.a(new Nn.c(t,n,i,1)),o=new Nn.a(new Nn.c(t,n,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${r} 0%, ${o} 100%)`}getValue(e){return e.hsva.a}}class Cc extends wc{constructor(e,t){super(e,t),ft.e(this.domNode,"hue-strip")}getValue(e){return 1-e.hsva.h/360}}class xc extends Ri.a{constructor(e,t,n,i){super(),this.model=t,this.pixelRatio=n,this._register(Object(Oe.n)(()=>this.layout()));const r=fc(".colorpicker-widget");e.appendChild(r);const o=new bc(r,this.model,i);this.body=new _c(r,this.model,this.pixelRatio),this._register(o),this._register(this.body)}layout(){this.body.layout()}}function Sc(e,t,n){const i=et.p.ordered(e).map(i=>Promise.resolve(i.provideHover(e,t,n)).then(e=>e&&function(e){const t=void 0!==e.range,n=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&n}(e)?e:void 0,e=>{Object(Z.f)(e)}));return Promise.all(i).then(G.d)}Object(V.p)("_executeHoverProvider",(e,t)=>Sc(e,t,Xe.a.None));class kc{constructor(e,t,n,i,r){this._computer=e,this._state=0,this._hoverTime=r,this._firstWaitScheduler=new ue.d(()=>this._triggerAsyncComputation(),0),this._secondWaitScheduler=new ue.d(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new ue.d(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=i}setHoverTime(e){this._hoverTime=e}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(ue.f)(e=>this._computer.computeAsync(e)),this._asyncComputationPromise.then(e=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(e)},e=>this._onError(e))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(e){this._completeCallback(e)}_onError(e){this._errorCallback?this._errorCallback(e):Object(Z.e)(e)}_onProgress(e){this._progressCallback(e)}start(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}n(315);const Ec=ft.a;class Tc extends pe.a{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new Bl.a(this.contentsDomNode,{})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class Lc extends Ri.a{constructor(e,t,n,i){super(),this._hoverVisibleKey=n,this._keybindingService=i,this.allowEditorOverflow=!0,this._hover=this._register(new Tc),this._id=e,this._editor=t,this._isVisible=!1,this._stoleFocus=!1,this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this.updateFont()})),this._editor.onDidLayoutChange(e=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,ft.ab(this._hover.containerDomNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._hover.containerDomNode}showAt(e,t,n){this._showAtPosition=e,this._showAtRange=t,this._hoverVisibleKey.set(!0),this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=n,n&&this._hover.containerDomNode.focus()}hide(){this.isVisible&&(setTimeout(()=>{this.isVisible||this._hoverVisibleKey.set(!1)},0),this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())}getPosition(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}dispose(){this._editor.removeContentWidget(this),super.dispose()}updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this.updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_renderAction(e,t){const n=this._keybindingService.lookupKeybinding(t.commandId);return function(e,t,n){const i=ft.p(e,Ec("div.action-container")),r=ft.p(i,Ec("a.action"));return r.setAttribute("href","#"),r.setAttribute("role","button"),t.iconClass&&ft.p(r,Ec("span.icon."+t.iconClass)),ft.p(r,Ec("span")).textContent=n?`${t.label} (${n})`:t.label,ft.i(i,ft.c.CLICK,e=>{e.stopPropagation(),e.preventDefault(),t.run(i)})}(e,t,n?n.getLabel():null)}layout(){const e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:n}=this._editor.getOption(36);this._hover.contentsDomNode.style.fontSize=t+"px",this._hover.contentsDomNode.style.lineHeight=n+"px",this._hover.contentsDomNode.style.maxHeight=e+"px",this._hover.contentsDomNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"}}class Nc extends Ri.a{constructor(e,t){super(),this._id=e,this._editor=t,this._isVisible=!1,this._domNode=document.createElement("div"),this._domNode.className="monaco-hover hidden",this._domNode.setAttribute("aria-hidden","true"),this._domNode.setAttribute("role","tooltip"),this._showAtLineNumber=-1,this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this.updateFont()})),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,ft.ab(this._domNode,"hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);const t=this._editor.getLayoutInfo(),n=this._editor.getTopForLineNumber(this._showAtLineNumber),i=this._editor.getScrollTop(),r=this._editor.getOption(51),o=n-i-(this._domNode.clientHeight-r)/2;this._domNode.style.left=t.glyphMarginLeft+t.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(o),0)+"px"}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){[...Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),...Array.prototype.slice.call(this._domNode.getElementsByClassName("code"))].forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()}}var Ic=n(165),Dc=n(195);let Oc;!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){return r(t[s][1][e]||e)}),c,c.exports,e,t,n,i)}return n[s].exports}for(var o=!1,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){var i=e("./toMap");t.exports={uris:i(["background","base","cite","href","longdesc","src","usemap"])}},{"./toMap":10}],2:[function(e,t,n){t.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},{}],3:[function(e,t,n){var i=e("./toMap");t.exports={voids:i(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},{"./toMap":10}],4:[function(e,t,n){e("he");var i=e("assignment"),r=e("./parser"),o=e("./sanitizer"),s=e("./defaults");function a(e,t,n){var a=[],l=!0===n?t:i({},s,t),c=o(a,l);return r(e,c),a.join("")}a.defaults=s,t.exports=a,Oc=a},{"./defaults":2,"./parser":7,"./sanitizer":8,assignment:6,he:9}],5:[function(e,t,n){t.exports=function(e){return"string"==typeof e?e.toLowerCase():e}},{}],6:[function(e,t,n){t.exports=function e(t){for(var n,i,r=Array.prototype.slice.call(arguments,1);r.length;)for(i in n=r.shift())n.hasOwnProperty(i)&&("[object Object]"===Object.prototype.toString.call(t[i])?t[i]=e(t[i],n[i]):t[i]=n[i]);return t}},{}],7:[function(e,t,n){var i=e("he"),r=e("./lowercase"),o=(e("./attributes"),e("./elements")),s=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,a=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,c=/^</,d=/^<\s*\//;t.exports=function(e,t){for(var n,h=function(){var e=[];return e.lastItem=function(){return e[e.length-1]},e}(),u=e;e;)p();function p(){n=!0,function(){"\x3c!--"===e.substr(0,4)?(i=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,i)),e=e.substring(i+3),n=!1):d.test(e)?m(a,f):c.test(e)&&m(s,g);var i;!function(){if(!n)return;var i,r=e.indexOf("<");r>=0?(i=e.substring(0,r),e=e.substring(r)):(i=e,e="");t.chars&&t.chars(i)}()}();var i=e===u;u=e,i&&(e="")}function m(t,i){var r=e.match(t);r&&(e=e.substring(r[0].length),r[0].replace(t,i),n=!1)}function g(e,n,s,a){var c={},d=r(n),u=o.voids[d]||!!a;s.replace(l,(function(e,t,n,r,o){c[t]=void 0===n&&void 0===r&&void 0===o?void 0:i.decode(n||r||o||"")})),u||h.push(d),t.start&&t.start(d,c,u)}function f(e,n){var i,o=0,s=r(n);if(s)for(o=h.length-1;o>=0&&h[o]!==s;o--);if(o>=0){for(i=h.length-1;i>=o;i--)t.end&&t.end(h[i]);h.length=o}}f()}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(e,t,n){var i=e("he"),r=e("./lowercase"),o=e("./attributes"),s=e("./elements");t.exports=function(e,t){var n,a=t||{};return h(),{start:function(e,t,s){var d=r(e);if(n.ignoring)return void c(d);if(-1===(a.allowedTags||[]).indexOf(d))return void c(d);if(a.filter&&!a.filter({tag:d,attrs:t}))return void c(d);l("<"),l(d),Object.keys(t).forEach((function(e){var n=t[e],s=(a.allowedClasses||{})[d]||[],c=(a.allowedAttributes||{})[d]||[];c=c.concat((a.allowedAttributes||{})["*"]||[]);var h=r(e);("class"===h&&-1===c.indexOf(h)?(n=n.split(" ").filter((function(e){return s&&-1!==s.indexOf(e)})).join(" ").trim()).length:-1!==c.indexOf(h)&&(!0!==o.uris[h]||function(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var i=e.indexOf("?");if(-1!==i&&n>i)return!0;var r=e.indexOf("#");if(-1!==r&&n>r)return!0;return a.allowedSchemes.some((function(t){return 0===e.indexOf(t+":")}))}(n)))&&(l(" "),l(e),"string"==typeof n&&(l('="'),l(i.encode(n)),l('"')))})),l(s?"/>":">")},end:function(e){var t=r(e);-1!==(a.allowedTags||[]).indexOf(t)&&!1===n.ignoring?(l("</"),l(t),l(">")):d(t)},chars:function(e){!1===n.ignoring&&l(a.transformText?a.transformText(e):e)}};function l(t){e.push(t)}function c(e){s.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function d(e){n.ignoring===e&&--n.depth<=0&&h()}function h(){n={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,n){var i={"&":"&","<":"<",">":">",'"':""","'":"'"},r={"&":"&","<":"<",">":">",""":'"',"'":"'"},o=/(&|<|>|"|')/g,s=/[&<>"']/g;function a(e){return i[e]}function l(e){return r[e]}function c(e){return null==e?"":String(e).replace(s,a)}function d(e){return null==e?"":String(e).replace(o,l)}c.options=d.options={},t.exports={encode:c,escape:c,decode:d,unescape:d,version:"1.0.0-browser"}},{}],10:[function(e,t,n){function i(e,t){return e[t]=!0,e}t.exports=function(e){return e.reduce(i,{})}},{}]},{},[4]);var Ac=Oc,Rc=n(178),Mc=n(69);function Pc(e,t={},n={}){var i;const r=Object(Ic.a)(t),o=function(t){let n;try{n=Object(Rc.a)(decodeURIComponent(t))}catch(e){}return n?(n=Object(hs.b)(n,t=>e.uris&&e.uris[t]?Qe.a.revive(e.uris[t]):void 0),encodeURIComponent(JSON.stringify(n))):t},s=function(t,n){const i=e.uris&&e.uris[t];if(!i)return t;let r=Qe.a.revive(i);return Qe.a.parse(t).toString()===r.toString()?t:n?ft.r(r).toString(!0):(r.query&&(r=r.with({query:o(r.query)})),r.toString())};let a;const l=new Promise(e=>a=e),c=new Dc.Renderer;c.image=(e,n,i)=>{let r=[],o=[];if(e){({href:e,dimensions:r}=function(e){const t=[],n=e.split("|").map(e=>e.trim());e=n[0];const i=n[1];if(i){const e=/height=(\d+)/.exec(i),n=/width=(\d+)/.exec(i),r=e?e[1]:"",o=n?n[1]:"",s=isFinite(parseInt(o)),a=isFinite(parseInt(r));s&&t.push(`width="${o}"`),a&&t.push(`height="${r}"`)}return{href:e,dimensions:t}}(e)),e=s(e,!0);try{const n=Qe.a.parse(e);t.baseUrl&&n.scheme===la.b.file&&(e=Object(jt.k)(t.baseUrl,e).toString())}catch(e){}o.push(`src="${e}"`)}return i&&o.push(`alt="${i}"`),n&&o.push(`title="${n}"`),r.length&&(o=o.concat(r)),"<img "+o.join(" ")+">"},c.link=(n,i,r)=>{if(n===r&&(r=te(r)),n=s(n,!1),t.baseUrl){/^\w[\w\d+.-]*:/.test(n)||(n=Object(jt.k)(t.baseUrl,n).toString())}return i=te(i),!(n=te(n))||n.match(/^data:|javascript:/i)||n.match(/^command:/i)&&!e.isTrusted||n.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?r:`<a href="#" data-href="${n=n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${i||n}">${r}</a>`},c.paragraph=t=>`<p>${e.supportThemeIcons?Object(Y.f)(t):t}</p>`,t.codeBlockRenderer&&(c.code=(e,n)=>{const i=t.codeBlockRenderer(n,e),o=fs.b.nextId(),s=Promise.all([i,l]).then(e=>{const t=e[0],n=r.querySelector(`div[data-code="${o}"]`);n&&(n.innerHTML=t)}).catch(e=>{});return t.codeBlockRenderCallback&&s.then(t.codeBlockRenderCallback),`<div class="code" data-code="${o}">${Object(Ye.u)(e)}</div>`});const d=t.actionHandler;d&&[ft.c.CLICK,ft.c.AUXCLICK].forEach(e=>{d.disposeables.add(ft.i(r,e,e=>{const t=new Mc.a(e);if(!t.leftButton&&!t.middleButton)return;let n=t.target;if("A"===n.tagName||(n=n.parentElement,n&&"A"===n.tagName))try{const e=n.dataset.href;e&&d.callback(e,t)}catch(e){Object(Z.e)(e)}finally{t.preventDefault()}}))}),n.sanitizer=t=>(e.isTrusted?t.match(/^(<span[^<]+>)|(<\/\s*span>)$/):void 0)?t:"",n.sanitize=!0,n.renderer=c;const h=[la.b.http,la.b.https,la.b.mailto,la.b.data,la.b.file,la.b.vscodeRemote,la.b.vscodeRemoteResource];e.isTrusted&&h.push(la.b.command);let u=null!==(i=e.value)&&void 0!==i?i:"";u.length>1e5&&(u=u.substr(0,1e5)+"…");const p=Dc.parse(e.supportThemeIcons?Object(Y.d)(u):u,n);return r.innerHTML=Ac(p,{allowedSchemes:h,allowedTags:["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],allowedAttributes:{a:["href","name","target","data-href"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class","style"],th:["align"],td:["align"]},filter:function(t){return"span"!==t.tag||!e.isTrusted||1!==Object.keys(t.attrs).length||(t.attrs.style?!!t.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/):!!t.attrs.class&&!!t.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-animation-[a-z\-]+)?$/))}}),a(),r}var Fc=n(182),Wc=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},zc=function(e,t){return function(n,i){t(n,i,e)}};let Bc=class extends pe.a{constructor(e,t,n=Vl.b){super(),this._editor=e,this._modeService=t,this._openerService=n,this._onDidRenderCodeBlock=this._register(new Lt.a),this.onDidRenderCodeBlock=this._onDidRenderCodeBlock.event}getOptions(e){return{codeBlockRenderer:(e,t)=>{let n=null;if(e)n=this._modeService.getModeIdForLanguageName(e);else{const e=this._editor.getModel();e&&(n=e.getLanguageIdentifier().language)}return this._modeService.triggerMode(n||""),Promise.resolve(!0).then(e=>{const i=et.C.getPromise(n||"");return i?i.then(e=>Object(Fc.b)(t,e)):Object(Fc.b)(t,void 0)}).then(e=>`<span style="font-family: ${this._editor.getOption(36).fontFamily}">${e}</span>`)},codeBlockRenderCallback:()=>this._onDidRenderCodeBlock.fire(),actionHandler:{callback:e=>{this._openerService.open(e,{fromUserGesture:!0}).catch(Z.e)},disposeables:e}}}render(e){const t=new pe.b;let n;return n=e?Pc(e,this.getOptions(t)):document.createElement("span"),{element:n,dispose:()=>t.dispose()}}};Bc=Wc([zc(1,Nl.a),zc(2,Object(gt.d)(Vl.a))],Bc);const jc=ft.a;class Vc{constructor(e,t,n){this.range=e,this.color=t,this.provider=n}}class Uc{constructor(e,t){this.range=e,this.marker=t}}class Hc{constructor(e,t){this._markerDecorationsService=t,this._editor=e,this._result=[]}setRange(e){this._range=e,this._result=[]}clearResult(){this._result=[]}computeAsync(e){if(!this._editor.hasModel()||!this._range)return Promise.resolve([]);const t=this._editor.getModel();return et.p.has(t)?Sc(t,new me.a(this._range.startLineNumber,this._range.startColumn),e):Promise.resolve([])}computeSync(){if(!this._editor.hasModel()||!this._range)return[];const e=this._editor.getModel(),t=this._range.startLineNumber;if(t>this._editor.getModel().getLineCount())return[];const n=Rn.get(this._editor),i=e.getLineMaxColumn(t),r=this._editor.getLineDecorations(t);let o=!1;const s=this._range,a=r.map(r=>{const a=r.range.startLineNumber===t?r.range.startColumn:1,l=r.range.endLineNumber===t?r.range.endColumn:i;if(a>s.startColumn||s.endColumn>l)return null;const c=new ge.a(s.startLineNumber,a,s.startLineNumber,l),d=this._markerDecorationsService.getMarker(e,r);if(d)return new Uc(c,d);const h=n.getColorData(r.range.getStartPosition());if(!o&&h){o=!0;const{color:e,range:t}=h.colorInfo;return new Vc(t,e,h.provider)}if(Q(r.options.hoverMessage))return null;return{contents:r.options.hoverMessage?Object(G.b)(r.options.hoverMessage):[],range:c}});return Object(G.d)(a)}onResult(e,t){this._result=t?e.concat(this._result.sort((e,t)=>e instanceof Vc?-1:t instanceof Vc?1:0)):this._result.concat(e)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){return this._result.slice(0).concat([this._getLoadingMessage()])}_getLoadingMessage(){return{range:this._range,contents:[(new X).appendText(U.a("modesContentHover.loading","Loading..."))]}}}const qc={type:2,filter:{include:nt.QuickFix}};class $c extends Lc{constructor(e,t,n,i,r,o,s=Vl.b){super($c.ID,e,t,i),this._themeService=r,this._modeService=o,this._openerService=s,this.renderDisposable=this._register(new pe.d),this._messages=[],this._lastRange=null,this._computer=new Hc(this._editor,n),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new kc(this._computer,e=>this._withResult(e,!0),null,e=>this._withResult(e,!1),this._editor.getOption(46).delay),this._register(ft.n(this.getDomNode(),ft.c.FOCUS,()=>{this._colorPicker&&ft.e(this.getDomNode(),"colorpicker-hover")})),this._register(ft.n(this.getDomNode(),ft.c.BLUR,()=>{ft.Q(this.getDomNode(),"colorpicker-hover")})),this._register(e.onDidChangeConfiguration(e=>{this._hoverOperation.setHoverTime(this._editor.getOption(46).delay)})),this._register(et.C.onDidChange(e=>{this.isVisible&&this._lastRange&&this._messages.length>0&&(this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastRange,this._messages))}))}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAt(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){let t=[];for(let n=0,i=this._messages.length;n<i;n++){const i=this._messages[n],r=i.range;r&&r.startColumn<=e.startColumn&&r.endColumn>=e.endColumn&&t.push(i)}if(t.length>0){if(function(e,t){if(!e&&t||e&&!t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++){const o=e[r],s=t[r];if(o instanceof Uc&&s instanceof Uc)return Wt.a.makeKey(o.marker)===Wt.a.makeKey(s.marker);if(o instanceof Vc||s instanceof Vc)return!1;if(o instanceof Uc||s instanceof Uc)return!1;if(n=o.contents,i=s.contents,!(!n&&!i||n&&i&&(Array.isArray(n)&&Array.isArray(i)?Object(G.g)(n,i,ee):J(n)&&J(i)&&ee(n,i))))return!1}var n,i;return!0}(t,this._messages))return;this._renderMessages(e,t)}else this.hide()}else this.hide();this._lastRange=e,this._computer.setRange(e),this._shouldFocus=n,this._hoverOperation.start(t)}}hide(){this._lastRange=null,this._hoverOperation.cancel(),super.hide(),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}_withResult(e,t){this._messages=e,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()}_renderMessages(e,t){this.renderDisposable.dispose(),this._colorPicker=null;let n=1073741824,i=t[0].range?ge.a.lift(t[0].range):null,r=document.createDocumentFragment(),o=!0,s=!1;const a=new pe.b,l=[];if(t.forEach(e=>{if(e.range)if(n=Math.min(n,e.range.startColumn),i=i?ge.a.plusRange(i,e.range):ge.a.lift(e.range),e instanceof Vc){s=!0;const{red:t,green:n,blue:i,alpha:o}=e.color,l=new Nn.c(Math.round(255*t),Math.round(255*n),Math.round(255*i),o),c=new Nn.a(l);if(!this._editor.hasModel())return;const d=this._editor.getModel();let h=new ge.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn),u={range:e.range,color:e.color};const p=new gc(c,[],0),m=new xc(r,p,this._editor.getOption(115),this._themeService);In(d,u,e.provider,Xe.a.None).then(t=>{if(p.colorPresentations=t||[],!this._editor.hasModel())return;const n=this._editor.getModel().getValueInRange(e.range);p.guessColorPresentation(c,n);const i=()=>{let e,t;p.presentation.textEdit?(e=[p.presentation.textEdit],t=new ge.a(p.presentation.textEdit.range.startLineNumber,p.presentation.textEdit.range.startColumn,p.presentation.textEdit.range.endLineNumber,p.presentation.textEdit.range.endColumn),t=t.setEndPosition(t.endLineNumber,t.startColumn+p.presentation.textEdit.text.length)):(e=[{identifier:null,range:h,text:p.presentation.label,forceMoveMarkers:!1}],t=h.setEndPosition(h.endLineNumber,h.startColumn+p.presentation.label.length)),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e),p.presentation.additionalTextEdits&&(e=[...p.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",e),this.hide()),this._editor.pushUndoStop(),h=t},o=t=>In(d,{range:h,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},e.provider,Xe.a.None).then(e=>{p.colorPresentations=e||[]}),s=p.onColorFlushed(e=>{o(e).then(i)}),l=p.onDidChangeColor(o);this._colorPicker=m,this.showAt(h.getStartPosition(),h,this._shouldFocus),this.updateContents(r),this._colorPicker.layout(),this.renderDisposable.value=Object(pe.e)(s,l,m,a)})}else e instanceof Uc?(l.push(e),o=!1):e.contents.filter(e=>!Q(e)).forEach(e=>{const t=jc("div.hover-row.markdown-hover"),n=ft.p(t,jc("div.hover-contents")),i=a.add(new Bc(this._editor,this._modeService,this._openerService));a.add(i.onDidRenderCodeBlock(()=>{n.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const s=a.add(i.render(e));n.appendChild(s.element),r.appendChild(t),o=!1})}),l.length){l.forEach(e=>r.appendChild(this.renderMarkerHover(e)));const e=1===l.length?l[0]:l.sort((e,t)=>Wt.c.compare(e.marker.severity,t.marker.severity))[0];r.appendChild(this.renderMarkerStatusbar(e))}s||o||(this.showAt(new me.a(e.startLineNumber,n),i,this._shouldFocus),this.updateContents(r)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,i?[{range:i,options:$c._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}renderMarkerHover(e){const t=jc("div.hover-row"),n=ft.p(t,jc("div.marker.hover-contents")),{source:i,message:r,code:o,relatedInformation:s}=e.marker;this._editor.applyFontInfo(n);const a=ft.p(n,jc("span"));if(a.style.whiteSpace="pre-wrap",a.innerText=r,i||o)if(o&&"string"!=typeof o){const e=jc("span");if(i){ft.p(e,jc("span")).innerText=i}this._codeLink=ft.p(e,jc("a.code-link")),this._codeLink.setAttribute("href",o.target.toString()),this._codeLink.onclick=e=>{this._openerService.open(o.target),e.preventDefault(),e.stopPropagation()};ft.p(this._codeLink,jc("span")).innerText=o.value;const t=ft.p(n,e);t.style.opacity="0.6",t.style.paddingLeft="6px"}else{const e=ft.p(n,jc("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=i&&o?`${i}(${o})`:i||`(${o})`}if(Object(G.o)(s))for(const{message:e,resource:t,startLineNumber:i,startColumn:r}of s){const o=ft.p(n,jc("div"));o.style.marginTop="8px";const s=ft.p(o,jc("a"));s.innerText=`${Object(jt.b)(t)}(${i}, ${r}): `,s.style.cursor="pointer",s.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(t.with({fragment:`${i},${r}`}),{fromUserGesture:!0}).catch(Z.e)};const a=ft.p(o,jc("span"));a.innerText=e,this._editor.applyFontInfo(a)}return t}renderMarkerStatusbar(e){const t=jc("div.hover-row.status-bar"),n=new pe.b,i=ft.p(t,jc("div.actions"));if(e.marker.severity!==Wt.c.Error&&e.marker.severity!==Wt.c.Warning&&e.marker.severity!==Wt.c.Info||n.add(this._renderAction(i,{label:U.a("peek problem","Peek Problem"),commandId:hc.ID,run:()=>{this.hide(),cc.get(this._editor).showAtMarker(e.marker),this._editor.focus()}})),!this._editor.getOption(72)){const t=ft.p(i,jc("div"));t.style.opacity="0",t.style.transition="opacity 0.2s",setTimeout(()=>t.style.opacity="1",200),t.textContent=U.a("checkingForQuickFixes","Checking for quick fixes..."),n.add(Object(pe.h)(()=>t.remove()));const r=this.getCodeActions(e.marker);n.add(Object(pe.h)(()=>r.cancel())),r.then(e=>{if(t.style.transition="",t.style.opacity="1",!e.validActions.length)return e.dispose(),void(t.textContent=U.a("noQuickFixes","No quick fixes available"));t.remove();let r=!1;n.add(Object(pe.h)(()=>{r||e.dispose()})),n.add(this._renderAction(i,{label:U.a("quick fixes","Quick Fix..."),commandId:en.Id,run:t=>{r=!0;const n=Xt.get(this._editor),i=ft.C(t);this.hide(),n.showCodeActions(qc,e,{x:i.left+6,y:i.top+i.height+6})}}))})}return this.renderDisposable.value=n,t}getCodeActions(e){return Object(ue.f)(t=>ct(this._editor.getModel(),new ge.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),qc,ot.b.None,t))}}$c.ID="editor.contrib.modesContentHoverWidget",$c._DECORATION_OPTIONS=be.a.register({className:"hoverHighlight"}),Object(we.g)((e,t)=>{const n=e.getColor(ve.rc);n&&t.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${n}; }`)});class Kc{constructor(e){this._editor=e,this._lineNumber=-1,this._result=[]}setLineNumber(e){this._lineNumber=e,this._result=[]}clearResult(){this._result=[]}computeSync(){const e=e=>({value:e}),t=this._editor.getLineDecorations(this._lineNumber),n=[];if(!t)return n;for(const i of t){if(!i.options.glyphMarginClassName)continue;const t=i.options.glyphMarginHoverMessage;t&&!Q(t)&&n.push(...Object(G.b)(t).map(e))}return n}onResult(e,t){this._result=this._result.concat(e)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class Gc extends Nc{constructor(e,t,n=Vl.b){super(Gc.ID,e),this._renderDisposeables=this._register(new pe.b),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new Bc(this._editor,t,n)),this._computer=new Kc(this._editor),this._hoverOperation=new kc(this._computer,e=>this._withResult(e),void 0,e=>this._withResult(e),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();const n=document.createDocumentFragment();for(const e of t){const t=this._markdownRenderer.render(e.value);this._renderDisposeables.add(t),n.appendChild(Object(ft.a)("div.hover-row",void 0,t.element))}this.updateContents(n),this.showAt(e)}}Gc.ID="editor.contrib.modesGlyphHoverWidget";var Yc=n(192),Zc=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Xc=function(e,t){return function(n,i){t(n,i,e)}};let Qc=class e{constructor(e,t,n,i,r,o,s){this._editor=e,this._openerService=t,this._modeService=n,this._markerDecorationsService=i,this._keybindingService=r,this._themeService=o,this._toUnhook=new pe.b,this._contentWidget=new pe.d,this._glyphWidget=new pe.d,this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(e=>{e.hasChanged(46)&&(this._hideWidgets(),this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=H.a.hoverVisible.bindTo(s)}get contentWidget(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value}get glyphWidget(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value}static get(t){return t.getContribution(e.ID)}_hookEvents(){const e=()=>this._hideWidgets(),t=this._editor.getOption(46);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._toUnhook.add(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(e)),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;const t=e.target.type;9!==t||e.target.detail!==$c.ID?12===t&&e.target.detail===Gc.ID||(12!==t&&e.target.detail!==Gc.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){let t=e.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible()||this._isHoverSticky&&9===t&&e.target.detail===$c.ID||this._isHoverSticky&&12===t&&e.target.detail===Gc.ID)){if(7===t){const n=this._editor.getOption(36).typicalHalfwidthCharacterWidth/2,i=e.target.detail;i&&!i.isAfterLines&&"number"==typeof i.horizontalDistanceToText&&i.horizontalDistanceToText<n&&(t=6)}6===t?(this.glyphWidget.hide(),this._isHoverEnabled&&e.target.range&&this.contentWidget.startShowingAt(e.target.range,0,!1)):2===t?(this.contentWidget.hide(),this._isHoverEnabled&&e.target.position&&this.glyphWidget.startShowingAt(e.target.position.lineNumber)):this._hideWidgets()}}_onKeyDown(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()}_hideWidgets(){!this._glyphWidget.value||!this._contentWidget.value||this._isMouseDown&&this._hoverClicked&&this._contentWidget.value.isColorPickerVisible()||(this._glyphWidget.value.hide(),this._contentWidget.value.hide())}_createHoverWidgets(){this._contentWidget.value=new $c(this._editor,this._hoverVisibleKey,this._markerDecorationsService,this._keybindingService,this._themeService,this._modeService,this._openerService),this._glyphWidget.value=new Gc(this._editor,this._modeService,this._openerService)}showContentHover(e,t,n){this.contentWidget.startShowingAt(e,t,n)}dispose(){this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),this._glyphWidget.dispose(),this._contentWidget.dispose()}};Qc.ID="editor.contrib.hover",Qc=Zc([Xc(1,Vl.a),Xc(2,Nl.a),Xc(3,Yc.a),Xc(4,vt.a),Xc(5,we.c),Xc(6,K.b)],Qc);class Jc extends V.b{constructor(){super({id:"editor.action.showHover",label:U.a({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2087),weight:100}})}run(e,t){if(!t.hasModel())return;let n=Qc.get(t);if(!n)return;const i=t.getPosition(),r=new ge.a(i.lineNumber,i.column,i.lineNumber,i.column),o=2===t.getOption(2);n.showContentHover(r,1,o)}}class ed extends V.b{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:U.a({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let n=Qc.get(t);if(!n)return;const i=t.getPosition();if(!i)return;const r=new ge.a(i.lineNumber,i.column,i.lineNumber,i.column),o=Wl.get(t).startFindDefinitionFromCursor(i);o?o.then(()=>{n.showContentHover(r,1,!0)}):n.showContentHover(r,1,!0)}}Object(V.m)(Qc.ID,Qc),Object(V.k)(Jc),Object(V.k)(ed),Object(we.g)((e,t)=>{const n=e.getColor(ve.H);n&&t.addRule(`.monaco-editor .hoverHighlight { background-color: ${n}; }`);const i=e.getColor(ve.E);i&&t.addRule(`.monaco-editor .monaco-hover { background-color: ${i}; }`);const r=e.getColor(ve.F);r&&(t.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${r}; }`),t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${r.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${r.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${r.transparent(.5)}; }`));const o=e.getColor(ve.rc);o&&t.addRule(`.monaco-editor .monaco-hover a { color: ${o}; }`);const s=e.getColor(ve.G);s&&t.addRule(`.monaco-editor .monaco-hover { color: ${s}; }`);const a=e.getColor(ve.I);a&&t.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${a}; }`);const l=e.getColor(ve.qc);l&&t.addRule(`.monaco-editor .monaco-hover code { background-color: ${l}; }`)});var td=n(130);function nd(e,t){let n=0;for(let i=0;i<e.length;i++)"\t"===e.charAt(i)?n+=t:n++;return n}function id(e,t,n){e=e<0?0:e;let i="";if(!n){let n=Math.floor(e/t);e%=t;for(let e=0;e<n;e++)i+="\t"}for(let t=0;t<e;t++)i+=" ";return i}function rd(e,t,n,i){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return[];let r=Pn.a.getIndentationRules(e.getLanguageIdentifier().id);if(!r)return[];for(n=Math.min(n,e.getLineCount());t<=n&&r.unIndentedLinePattern;){let n=e.getLineContent(t);if(!r.unIndentedLinePattern.test(n))break;t++}if(t>n-1)return[];const{tabSize:o,indentSize:s,insertSpaces:a}=e.getOptions(),l=(e,t)=>(t=t||1,td.a.shiftIndent(e,e.length+t,o,s,a)),c=(e,t)=>(t=t||1,td.a.unshiftIndent(e,e.length+t,o,s,a));let d,h=[],u=e.getLineContent(t),p=u;if(null!=i){d=i;let e=Ye.z(u);p=d+u.substring(e.length),r.decreaseIndentPattern&&r.decreaseIndentPattern.test(p)&&(d=c(d),p=d+u.substring(e.length)),u!==p&&h.push(Mn.a.replace(new q.a(t,1,t,e.length+1),be.b.normalizeIndentation(d,s,a)))}else d=Ye.z(u);let m=d;r.increaseIndentPattern&&r.increaseIndentPattern.test(p)?(m=l(m),d=l(d)):r.indentNextLinePattern&&r.indentNextLinePattern.test(p)&&(m=l(m));for(let i=++t;i<=n;i++){let t=e.getLineContent(i),n=Ye.z(t),o=m+t.substring(n.length);r.decreaseIndentPattern&&r.decreaseIndentPattern.test(o)&&(m=c(m),d=c(d)),n!==m&&h.push(Mn.a.replace(new q.a(i,1,i,n.length+1),be.b.normalizeIndentation(m,s,a))),r.unIndentedLinePattern&&r.unIndentedLinePattern.test(t)||(r.increaseIndentPattern&&r.increaseIndentPattern.test(o)?(d=l(d),m=d):m=r.indentNextLinePattern&&r.indentNextLinePattern.test(o)?l(m):d)}return h}class od extends V.b{constructor(){super({id:od.ID,label:U.a("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),r=t.getSelection();if(!r)return;const o=new fd(r,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),n.updateOptions({insertSpaces:!0})}}od.ID="editor.action.indentationToSpaces";class sd extends V.b{constructor(){super({id:sd.ID,label:U.a("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),r=t.getSelection();if(!r)return;const o=new bd(r,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),n.updateOptions({insertSpaces:!1})}}sd.ID="editor.action.indentationToTabs";class ad extends V.b{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){const n=e.get(Sn.a),i=e.get(tt.a);let r=t.getModel();if(!r)return;let o=i.getCreationOptions(r.getLanguageIdentifier().language,r.uri,r.isForSimpleWidget);const s=[1,2,3,4,5,6,7,8].map(e=>({id:e.toString(),label:e.toString(),description:e===o.tabSize?U.a("configuredTabSize","Configured Tab Size"):void 0})),a=Math.min(r.getOptions().tabSize-1,7);setTimeout(()=>{n.pick(s,{placeHolder:U.a({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:s[a]}).then(e=>{e&&r&&!r.isDisposed()&&r.updateOptions({tabSize:parseInt(e.label,10),insertSpaces:this.insertSpaces})})},50)}}class ld extends ad{constructor(){super(!1,{id:ld.ID,label:U.a("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}ld.ID="editor.action.indentUsingTabs";class cd extends ad{constructor(){super(!0,{id:cd.ID,label:U.a("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}cd.ID="editor.action.indentUsingSpaces";class dd extends V.b{constructor(){super({id:dd.ID,label:U.a("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){const n=e.get(tt.a);let i=t.getModel();if(!i)return;let r=n.getCreationOptions(i.getLanguageIdentifier().language,i.uri,i.isForSimpleWidget);i.detectIndentation(r.insertSpaces,r.tabSize)}}dd.ID="editor.action.detectIndentation";class hd extends V.b{constructor(){super({id:"editor.action.reindentlines",label:U.a("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=rd(n,1,n.getLineCount());i.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,i),t.pushUndoStop())}}class ud extends V.b{constructor(){super({id:"editor.action.reindentselectedlines",label:U.a("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:H.a.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=t.getSelections();if(null===i)return;let r=[];for(let e of i){let t=e.startLineNumber,i=e.endLineNumber;if(t!==i&&1===e.endColumn&&i--,1===t){if(t===i)continue}else t--;let o=rd(n,t,i);r.push(...o)}r.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop())}}class pd{constructor(e,t){this._initialSelection=t,this._edits=[],this._selectionId=null;for(let t of e)t.range&&"string"==typeof t.text&&this._edits.push(t)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(ge.a.lift(e.range),e.text);let n=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),n||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class md{constructor(e){this.callOnDispose=new pe.b,this.callOnModel=new pe.b,this.editor=e,this.callOnDispose.add(e.onDidChangeConfiguration(()=>this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),this.editor.getOption(8)<4||this.editor.getOption(40)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;const n=this.editor.getModel();if(!n)return;if(!n.isCheapToTokenize(e.getStartPosition().lineNumber))return;const i=this.editor.getOption(8),{tabSize:r,indentSize:o,insertSpaces:s}=n.getOptions();this.editor.pushUndoStop();let a=[],l={shiftIndent:e=>td.a.shiftIndent(e,e.length+1,r,o,s),unshiftIndent:e=>td.a.unshiftIndent(e,e.length+1,r,o,s)},c=e.startLineNumber;for(;c<=e.endLineNumber&&this.shouldIgnoreLine(n,c);)c++;if(c>e.endLineNumber)return;let d=n.getLineContent(c);if(!/\S/.test(d.substring(0,e.startColumn-1))){let e=Pn.a.getGoodIndentForLine(i,n,n.getLanguageIdentifier().id,c,l);if(null!==e){let t=Ye.z(d),i=nd(e,r);if(i!==nd(t,r)){let e=id(i,r,s);a.push({range:new ge.a(c,1,c,t.length+1),text:e}),d=e+d.substr(t.length)}else{let e=Pn.a.getIndentMetadata(n,c);if(0===e||8===e)return}}}const h=c;for(;c<e.endLineNumber&&!/\S/.test(n.getLineContent(c+1));)c++;if(c!==e.endLineNumber){let t={getLineTokens:e=>n.getLineTokens(e),getLanguageIdentifier:()=>n.getLanguageIdentifier(),getLanguageIdAtPosition:(e,t)=>n.getLanguageIdAtPosition(e,t),getLineContent:e=>e===h?d:n.getLineContent(e)},o=Pn.a.getGoodIndentForLine(i,t,n.getLanguageIdentifier().id,c+1,l);if(null!==o){let t=nd(o,r),i=nd(Ye.z(n.getLineContent(c+1)),r);if(t!==i){let o=t-i;for(let t=c+1;t<=e.endLineNumber;t++){let e=n.getLineContent(t),i=Ye.z(e),l=id(nd(i,r)+o,r,s);l!==i&&a.push({range:new ge.a(t,1,t,i.length+1),text:l})}}}}let u=new pd(a,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",u),this.editor.pushUndoStop()}shouldIgnoreLine(e,t){e.forceTokenization(t);let n=e.getLineFirstNonWhitespaceColumn(t);if(0===n)return!0;let i=e.getLineTokens(t);if(i.getCount()>0){let e=i.findTokenIndexAtOffset(n);if(e>=0&&1===i.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}}function gd(e,t,n,i){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let r="";for(let e=0;e<n;e++)r+=" ";let o=new RegExp(r,"gi");for(let n=1,s=e.getLineCount();n<=s;n++){let s=e.getLineFirstNonWhitespaceColumn(n);if(0===s&&(s=e.getLineMaxColumn(n)),1===s)continue;const a=new ge.a(n,1,n,s),l=e.getValueInRange(a),c=i?l.replace(/\t/gi,r):l.replace(o,"\t");t.addEditOperation(a,c)}}md.ID="editor.contrib.autoIndentOnPaste";class fd{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),gd(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class bd{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),gd(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}Object(V.m)(md.ID,md),Object(V.k)(od),Object(V.k)(sd),Object(V.k)(ld),Object(V.k)(cd),Object(V.k)(dd),Object(V.k)(hd),Object(V.k)(ud);class _d{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new q.a(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new q.a(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}var vd=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},wd=function(e,t){return function(n,i){t(n,i,e)}};let yd=class e{constructor(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}static get(t){return t.getContribution(e.ID)}dispose(){}run(t,n){this.currentRequest&&this.currentRequest.cancel();const i=this.editor.getSelection(),r=this.editor.getModel();if(!r||!i)return;let o=i;if(o.startLineNumber!==o.endLineNumber)return;const s=new Je.a(this.editor,5),a=r.uri;return this.editorWorkerService.canNavigateValueSet(a)?(this.currentRequest=Object(ue.f)(e=>this.editorWorkerService.navigateValueSet(a,o,n)),this.currentRequest.then(n=>{if(!n||!n.range||!n.value)return;if(!s.validate(this.editor))return;let i=ge.a.lift(n.range),r=n.range,a=n.value.length-(o.endColumn-o.startColumn);r={startLineNumber:r.startLineNumber,startColumn:r.startColumn,endLineNumber:r.endLineNumber,endColumn:r.startColumn+n.value.length},a>1&&(o=new q.a(o.startLineNumber,o.startColumn,o.endLineNumber,o.endColumn+a-1));const l=new _d(i,o,n.value);this.editor.pushUndoStop(),this.editor.executeCommand(t,l),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:r,options:e.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=Object(ue.l)(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(Z.e)}).catch(Z.e)):Promise.resolve(void 0)}};yd.ID="editor.contrib.inPlaceReplaceController",yd.DECORATION=be.a.register({className:"valueSetReplacement"}),yd=vd([wd(1,Ao.a)],yd);class Cd extends V.b{constructor(){super({id:"editor.action.inPlaceReplace.up",label:U.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3154,weight:100}})}run(e,t){const n=yd.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}}class xd extends V.b{constructor(){super({id:"editor.action.inPlaceReplace.down",label:U.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3156,weight:100}})}run(e,t){const n=yd.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}}Object(V.m)(yd.ID,yd),Object(V.k)(Cd),Object(V.k)(xd),Object(we.g)((e,t)=>{const n=e.getColor(_e.d);n&&t.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${n}; }`)});class Sd{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){let n=function(e,t){t.sort((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber);for(let e=t.length-2;e>=0;e--)t[e].lineNumber===t[e+1].lineNumber&&t.splice(e,1);let n=[],i=0,r=0,o=t.length;for(let s=1,a=e.getLineCount();s<=a;s++){let a=e.getLineContent(s),l=a.length+1,c=0;if(r<o&&t[r].lineNumber===s&&(c=t[r].column,r++,c===l))continue;if(0===a.length)continue;let d=Ye.J(a),h=0;if(-1===d)h=1;else{if(d===a.length-1)continue;h=d+2}h=Math.max(c,h),n[i++]=Mn.a.delete(new ge.a(s,h,s,l))}return n}(e,this._cursors);for(let e=0,i=n.length;e<i;e++){let i=n[e];t.addEditOperation(i.range,i.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}var kd=n(126);class Ed{constructor(e,t){this._selection=e,this._isCopyingDown=t,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let n=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,n.startLineNumber<n.endLineNumber&&1===n.endColumn&&(this._endLineNumberDelta=1,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));let i=[];for(let t=n.startLineNumber;t<=n.endLineNumber;t++)i.push(e.getLineContent(t));const r=i.join("\n");""===r&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._isCopyingDown?t.addEditOperation(new ge.a(n.startLineNumber,1,n.startLineNumber,1),r+"\n"):t.addEditOperation(new ge.a(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),"\n"+r),this._selectionId=t.trackSelection(n),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){let e=n.startLineNumber,t=n.startColumn,i=n.endLineNumber,r=n.endColumn;0!==this._startLineNumberDelta&&(e+=this._startLineNumberDelta,t=1),0!==this._endLineNumberDelta&&(i+=this._endLineNumberDelta,r=1),n=q.a.createWithDirection(e,t,i,r,this._selectionDirection)}return n}}var Td=n(75);class Ld{constructor(e,t,n){this._selection=e,this._isMovingDown=t,this._autoIndent=n,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(e,t){let n=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===n)return void(this._selectionId=t.trackSelection(this._selection));if(!this._isMovingDown&&1===this._selection.startLineNumber)return void(this._selectionId=t.trackSelection(this._selection));this._moveEndPositionDown=!1;let i=this._selection;i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(this._moveEndPositionDown=!0,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const{tabSize:r,indentSize:o,insertSpaces:s}=e.getOptions();let a=this.buildIndentConverter(r,o,s),l={getLineTokens:t=>e.getLineTokens(t),getLanguageIdentifier:()=>e.getLanguageIdentifier(),getLanguageIdAtPosition:(t,n)=>e.getLanguageIdAtPosition(t,n),getLineContent:null};if(i.startLineNumber===i.endLineNumber&&1===e.getLineMaxColumn(i.startLineNumber)){let n=i.startLineNumber,r=this._isMovingDown?n+1:n-1;1===e.getLineMaxColumn(r)?t.addEditOperation(new ge.a(1,1,1,1),null):(t.addEditOperation(new ge.a(n,1,n,1),e.getLineContent(r)),t.addEditOperation(new ge.a(r,1,r,e.getLineMaxColumn(r)),null)),i=new q.a(r,1,r,1)}else{let n,o;if(this._isMovingDown){n=i.endLineNumber+1,o=e.getLineContent(n),t.addEditOperation(new ge.a(n-1,e.getLineMaxColumn(n-1),n,e.getLineMaxColumn(n)),null);let c=o;if(this.shouldAutoIndent(e,i)){let d=this.matchEnterRule(e,a,r,n,i.startLineNumber-1);if(null!==d){let t=id(d+nd(Ye.z(e.getLineContent(n)),r),r,s);c=t+this.trimLeft(o)}else{l.getLineContent=t=>t===i.startLineNumber?e.getLineContent(n):e.getLineContent(t);let t=Pn.a.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(n,1),i.startLineNumber,a);if(null!==t){let i=Ye.z(e.getLineContent(n)),a=nd(t,r);if(a!==nd(i,r)){let e=id(a,r,s);c=e+this.trimLeft(o)}}}t.addEditOperation(new ge.a(i.startLineNumber,1,i.startLineNumber,1),c+"\n");let h=this.matchEnterRule(e,a,r,i.startLineNumber,i.startLineNumber,c);if(null!==h)0!==h&&this.getIndentEditsOfMovingBlock(e,t,i,r,s,h);else{l.getLineContent=t=>t===i.startLineNumber?c:t>=i.startLineNumber+1&&t<=i.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t);let o=Pn.a.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(n,1),i.startLineNumber+1,a);if(null!==o){const n=Ye.z(e.getLineContent(i.startLineNumber)),a=nd(o,r),l=nd(n,r);if(a!==l){const n=a-l;this.getIndentEditsOfMovingBlock(e,t,i,r,s,n)}}}}else t.addEditOperation(new ge.a(i.startLineNumber,1,i.startLineNumber,1),c+"\n")}else if(n=i.startLineNumber-1,o=e.getLineContent(n),t.addEditOperation(new ge.a(n,1,n+1,1),null),t.addEditOperation(new ge.a(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+o),this.shouldAutoIndent(e,i)){l.getLineContent=t=>t===n?e.getLineContent(i.startLineNumber):e.getLineContent(t);let o=this.matchEnterRule(e,a,r,i.startLineNumber,i.startLineNumber-2);if(null!==o)0!==o&&this.getIndentEditsOfMovingBlock(e,t,i,r,s,o);else{let o=Pn.a.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(i.startLineNumber,1),n,a);if(null!==o){let n=Ye.z(e.getLineContent(i.startLineNumber)),a=nd(o,r),l=nd(n,r);if(a!==l){let n=a-l;this.getIndentEditsOfMovingBlock(e,t,i,r,s,n)}}}}}this._selectionId=t.trackSelection(i)}buildIndentConverter(e,t,n){return{shiftIndent:i=>td.a.shiftIndent(i,i.length+1,e,t,n),unshiftIndent:i=>td.a.unshiftIndent(i,i.length+1,e,t,n)}}matchEnterRule(e,t,n,i,r,o){let s=r;for(;s>=1;){let t;if(t=s===r&&void 0!==o?o:e.getLineContent(s),Ye.J(t)>=0)break;s--}if(s<1||i>e.getLineCount())return null;let a=e.getLineMaxColumn(s),l=Pn.a.getEnterAction(this._autoIndent,e,new ge.a(s,a,s,a));if(l){let r=l.indentation;l.indentAction===Td.a.None||l.indentAction===Td.a.Indent?r=l.indentation+l.appendText:l.indentAction===Td.a.IndentOutdent?r=l.indentation:l.indentAction===Td.a.Outdent&&(r=t.unshiftIndent(l.indentation)+l.appendText);let o=e.getLineContent(i);if(this.trimLeft(o).indexOf(this.trimLeft(r))>=0){let o=Ye.z(e.getLineContent(i)),s=Ye.z(r),a=Pn.a.getIndentMetadata(e,i);return null!==a&&2&a&&(s=t.unshiftIndent(s)),nd(s,n)-nd(o,n)}}return null}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){if(this._autoIndent<4)return!1;if(!e.isCheapToTokenize(t.startLineNumber))return!1;let n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==Pn.a.getIndentRulesSupport(n)}getIndentEditsOfMovingBlock(e,t,n,i,r,o){for(let s=n.startLineNumber;s<=n.endLineNumber;s++){let a=e.getLineContent(s),l=Ye.z(a),c=id(nd(l,i)+o,i,r);c!==l&&(t.addEditOperation(new ge.a(s,1,s,l.length+1),c),s===n.endLineNumber&&n.endColumn<=l.length+1&&""===c&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber<n.endLineNumber&&(n=n.setEndPosition(n.endLineNumber,2)),n}}class Nd{constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}static getCollator(){return Nd._COLLATOR||(Nd._COLLATOR=new Intl.Collator),Nd._COLLATOR}getEditOperations(e,t){let n=function(e,t,n){let i=Id(e,t,n);if(!i)return null;return Mn.a.replace(new ge.a(i.startLineNumber,1,i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),i.after.join("\n"))}(e,this.selection,this.descending);n&&t.addEditOperation(n.range,n.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,n){if(null===e)return!1;let i=Id(e,t,n);if(!i)return!1;for(let e=0,t=i.before.length;e<t;e++)if(i.before[e]!==i.after[e])return!0;return!1}}function Id(e,t,n){let i=t.startLineNumber,r=t.endLineNumber;if(1===t.endColumn&&r--,i>=r)return null;let o=[];for(let t=i;t<=r;t++)o.push(e.getLineContent(t));let s=o.slice(0);return s.sort(Nd.getCollator().compare),!0===n&&(s=s.reverse()),{startLineNumber:i,endLineNumber:r,before:o,after:s}}Nd._COLLATOR=null;class Dd extends V.b{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;const n=t.getSelections().map((e,t)=>({selection:e,index:t,ignore:!1}));n.sort((e,t)=>ge.a.compareRangesUsingStarts(e.selection,t.selection));let i=n[0];for(let e=1;e<n.length;e++){const t=n[e];i.selection.endLineNumber===t.selection.startLineNumber&&(i.index<t.index?t.ignore=!0:(i.ignore=!0,i=t))}const r=[];for(const e of n)e.ignore||r.push(new Ed(e.selection,this.down));t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}class Od extends V.b{constructor(){super({id:"editor.action.duplicateSelection",label:U.a("duplicateSelection","Duplicate Selection"),alias:"Duplicate Selection",precondition:H.a.writable,menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miDuplicateSelection",comment:["&& denotes a mnemonic"]},"&&Duplicate Selection"),order:5}})}run(e,t,n){if(!t.hasModel())return;const i=[],r=t.getSelections(),o=t.getModel();for(const e of r)if(e.isEmpty())i.push(new Ed(e,!0));else{const t=new q.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn);i.push(new Ne.c(t,o.getValueInRange(e)))}t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Ad extends V.b{constructor(e,t){super(t),this.down=e}run(e,t){let n=[],i=t.getSelections()||[];const r=t.getOption(8);for(const e of i)n.push(new Ld(e,this.down,r));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class Rd extends V.b{constructor(e,t){super(t),this.descending=e}run(e,t){const n=t.getSelections()||[];for(const e of n)if(!Nd.canRun(t.getModel(),e,this.descending))return;let i=[];for(let e=0,t=n.length;e<t;e++)i[e]=new Nd(n[e],this.descending);t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Md extends V.b{constructor(){super({id:Md.ID,label:U.a("lines.trimTrailingWhitespace","Trim Trailing Whitespace"),alias:"Trim Trailing Whitespace",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:Object($.a)(2089,2102),weight:100}})}run(e,t,n){let i=[];"auto-save"===n.reason&&(i=(t.getSelections()||[]).map(e=>new me.a(e.positionLineNumber,e.positionColumn)));let r=t.getSelection();if(null===r)return;let o=new Sd(r,i);t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop()}}Md.ID="editor.action.trimTrailingWhitespace";class Pd extends V.b{constructor(){super({id:"editor.action.deleteLines",label:U.a("lines.delete","Delete Line"),alias:"Delete Line",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let n=this._getLinesToRemove(t),i=t.getModel();if(1===i.getLineCount()&&1===i.getLineMaxColumn(1))return;let r=0,o=[],s=[];for(let e=0,t=n.length;e<t;e++){const t=n[e];let a=t.startLineNumber,l=t.endLineNumber,c=1,d=i.getLineMaxColumn(l);l<i.getLineCount()?(l+=1,d=1):a>1&&(a-=1,c=i.getLineMaxColumn(a)),o.push(Mn.a.replace(new q.a(a,c,l,d),"")),s.push(new q.a(a-r,t.positionColumn,a-r,t.positionColumn)),r+=t.endLineNumber-t.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,o,s),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map(e=>{let t=e.endLineNumber;return e.startLineNumber<e.endLineNumber&&1===e.endColumn&&(t-=1),{startLineNumber:e.startLineNumber,selectionStartColumn:e.selectionStartColumn,endLineNumber:t,positionColumn:e.positionColumn}});t.sort((e,t)=>e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber);let n=[],i=t[0];for(let e=1;e<t.length;e++)i.endLineNumber+1>=t[e].startLineNumber?i.endLineNumber=t[e].endLineNumber:(n.push(i),i=t[e]);return n.push(i),n}}class Fd extends V.b{constructor(){super({id:"editor.action.indentLines",label:U.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2137,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,kd.a.indent(n.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class Wd extends V.b{constructor(){super({id:"editor.action.outdentLines",label:U.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2135,weight:100}})}run(e,t){B.a.Outdent.runEditorCommand(e,t,null)}}class zd extends V.b{constructor(){super({id:"editor.action.insertLineBefore",label:U.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3075,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,kd.a.lineInsertBefore(n.cursorConfig,t.getModel(),t.getSelections())))}}class Bd extends V.b{constructor(){super({id:"editor.action.insertLineAfter",label:U.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2051,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,kd.a.lineInsertAfter(n.cursorConfig,t.getModel(),t.getSelections())))}}class jd extends V.b{run(e,t){if(!t.hasModel())return;const n=t.getSelection();let i=this._getRangesToDelete(t),r=[];for(let e=0,t=i.length-1;e<t;e++){let t=i[e],n=i[e+1];null===ge.a.intersectRanges(t,n)?r.push(t):i[e+1]=ge.a.plusRange(t,n)}r.push(i[i.length-1]);let o=this._getEndCursorState(n,r),s=r.map(e=>Mn.a.replace(e,""));t.pushUndoStop(),t.executeEdits(this.id,s,o),t.pushUndoStop()}}class Vd extends V.b{constructor(){super({id:"editor.action.joinLines",label:U.a("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getSelection();if(null===i)return;n.sort(ge.a.compareRangesUsingStarts);let r=[],o=n.reduce((e,t)=>e.isEmpty()?e.endLineNumber===t.startLineNumber?(i.equalsSelection(e)&&(i=t),t):t.startLineNumber>e.endLineNumber+1?(r.push(e),t):new q.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(r.push(e),t):new q.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn));r.push(o);let s=t.getModel();if(null===s)return;let a=[],l=[],c=i,d=0;for(let e=0,t=r.length;e<t;e++){let t,n,o=r[e],h=o.startLineNumber,u=1,p=0,m=s.getLineContent(o.endLineNumber).length-o.endColumn;if(o.isEmpty()||o.startLineNumber===o.endLineNumber){let e=o.getStartPosition();e.lineNumber<s.getLineCount()?(t=h+1,n=s.getLineMaxColumn(t)):(t=e.lineNumber,n=s.getLineMaxColumn(e.lineNumber))}else t=o.endLineNumber,n=s.getLineMaxColumn(t);let g=s.getLineContent(h);for(let e=h+1;e<=t;e++){let t=s.getLineContent(e),n=s.getLineFirstNonWhitespaceColumn(e);if(n>=1){let e=!0;""===g&&(e=!1),!e||" "!==g.charAt(g.length-1)&&"\t"!==g.charAt(g.length-1)||(e=!1,g=g.replace(/[\s\uFEFF\xA0]+$/g," "));let i=t.substr(n-1);g+=(e?" ":"")+i,p=e?i.length+1:i.length}else p=0}let f=new ge.a(h,u,t,n);if(!f.isEmpty()){let e;o.isEmpty()?(a.push(Mn.a.replace(f,g)),e=new q.a(f.startLineNumber-d,g.length-p+1,h-d,g.length-p+1)):o.startLineNumber===o.endLineNumber?(a.push(Mn.a.replace(f,g)),e=new q.a(o.startLineNumber-d,o.startColumn,o.endLineNumber-d,o.endColumn)):(a.push(Mn.a.replace(f,g)),e=new q.a(o.startLineNumber-d,o.startColumn,o.startLineNumber-d,g.length-m)),null!==ge.a.intersectRanges(f,i)?c=e:l.push(e)}d+=f.endLineNumber-f.startLineNumber}l.unshift(c),t.pushUndoStop(),t.executeEdits(this.id,a,l),t.pushUndoStop()}}class Ud extends V.b{constructor(){super({id:"editor.action.transpose",label:U.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:H.a.writable})}run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getModel();if(null===i)return;let r=[];for(let e=0,t=n.length;e<t;e++){let t=n[e];if(!t.isEmpty())continue;let o=t.getStartPosition(),s=i.getLineMaxColumn(o.lineNumber);if(o.column>=s){if(o.lineNumber===i.getLineCount())continue;let e=new ge.a(o.lineNumber,Math.max(1,o.column-1),o.lineNumber+1,1),t=i.getValueInRange(e).split("").reverse().join("");r.push(new Ne.a(new q.a(o.lineNumber,Math.max(1,o.column-1),o.lineNumber+1,1),t))}else{let e=new ge.a(o.lineNumber,Math.max(1,o.column-1),o.lineNumber,o.column+1),t=i.getValueInRange(e).split("").reverse().join("");r.push(new Ne.b(e,t,new q.a(o.lineNumber,o.column+1,o.lineNumber,o.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}class Hd extends V.b{run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getModel();if(null===i)return;let r=t.getOption(105),o=[];for(let e=0,s=n.length;e<s;e++){let s=n[e];if(s.isEmpty()){let e=s.getStartPosition();const n=t.getConfiguredWordAtPosition(e);if(!n)continue;let a=new ge.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),l=i.getValueInRange(a);o.push(new Ne.b(a,this._modifyText(l,r),new q.a(e.lineNumber,e.column,e.lineNumber,e.column)))}else{let e=i.getValueInRange(s);o.push(new Ne.b(s,this._modifyText(e,r),s))}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}Object(V.k)(class extends Dd{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:U.a("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),Object(V.k)(class extends Dd{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:U.a("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),Object(V.k)(Od),Object(V.k)(class extends Ad{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:U.a("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),Object(V.k)(class extends Ad{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:U.a("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:H.a.writable,kbOpts:{kbExpr:H.a.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"2_line",title:U.a({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),Object(V.k)(class extends Rd{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:U.a("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:H.a.writable})}}),Object(V.k)(class extends Rd{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:U.a("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:H.a.writable})}}),Object(V.k)(Md),Object(V.k)(Pd),Object(V.k)(Fd),Object(V.k)(Wd),Object(V.k)(zd),Object(V.k)(Bd),Object(V.k)(class extends jd{constructor(){super({id:"deleteAllLeft",label:U.a("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let n=null,i=[],r=0;return t.forEach(t=>{let o;if(1===t.endColumn&&r>0){let e=t.startLineNumber-r;o=new q.a(e,t.startColumn,e,t.startColumn)}else o=new q.a(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);r+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=o:i.push(o)}),n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getSelections();if(null===t)return[];let n=t,i=e.getModel();return null===i?[]:(n.sort(ge.a.compareRangesUsingStarts),n=n.map(e=>{if(e.isEmpty()){if(1===e.startColumn){let t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:i.getLineContent(t).length+1;return new ge.a(t,n,e.startLineNumber,1)}return new ge.a(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return new ge.a(e.startLineNumber,1,e.endLineNumber,e.endColumn)}),n)}}),Object(V.k)(class extends jd{constructor(){super({id:"deleteAllRight",label:U.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let n=null,i=[];for(let r=0,o=t.length,s=0;r<o;r++){let o=t[r],a=new q.a(o.startLineNumber-s,o.startColumn,o.startLineNumber-s,o.startColumn);o.intersectRanges(e)?n=a:i.push(a)}return n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getModel();if(null===t)return[];let n=e.getSelections();if(null===n)return[];let i=n.map(e=>{if(e.isEmpty()){const n=t.getLineMaxColumn(e.startLineNumber);return e.startColumn===n?new ge.a(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new ge.a(e.startLineNumber,e.startColumn,e.startLineNumber,n)}return e});return i.sort(ge.a.compareRangesUsingStarts),i}}),Object(V.k)(Vd),Object(V.k)(Ud),Object(V.k)(class extends Hd{constructor(){super({id:"editor.action.transformToUppercase",label:U.a("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:H.a.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}),Object(V.k)(class extends Hd{constructor(){super({id:"editor.action.transformToLowercase",label:U.a("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:H.a.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}),Object(V.k)(class extends Hd{constructor(){super({id:"editor.action.transformToTitlecase",label:U.a("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:H.a.writable})}_modifyText(e,t){const n=("\r\n\t "+t).split("");let i="",r=!0;for(let t=0;t<e.length;t++){let o=e[t];n.indexOf(o)>=0?(r=!0,i+=o):r?(r=!1,i+=o.toLocaleUpperCase()):i+=o.toLocaleLowerCase()}return i}});n(317);var qd=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class $d{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(e){return qd(this,void 0,void 0,(function*(){return this._link.url?this._link.url:"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,e)).then(t=>(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing"))}))}}class Kd extends pe.a{constructor(e){super();let t=[];for(const[n,i]of e){const e=n.links.map(e=>new $d(e,i));t=Kd._union(t,e),Object(pe.g)(n)&&this._register(n)}this.links=t}static _union(e,t){let n,i,r,o,s=[];for(n=0,r=0,i=e.length,o=t.length;n<i&&r<o;){const i=e[n],o=t[r];if(ge.a.areIntersectingOrTouching(i.range,o.range)){n++;continue}ge.a.compareRangesUsingStarts(i.range,o.range)<0?(s.push(i),n++):(s.push(o),r++)}for(;n<i;n++)s.push(e[n]);for(;r<o;r++)s.push(t[r]);return s}}function Gd(e,t){const n=[],i=et.s.ordered(e).reverse().map((i,r)=>Promise.resolve(i.provideLinks(e,t)).then(e=>{e&&(n[r]=[e,i])},Z.f));return Promise.all(i).then(()=>{const e=new Kd(Object(G.d)(n));return t.isCancellationRequested?(e.dispose(),new Kd([])):e})}Ft.a.registerCommand("_executeLinkProvider",(e,...t)=>qd(void 0,void 0,void 0,(function*(){const[n]=t;if(!(n instanceof Qe.a))return[];const i=e.get(tt.a).getModel(n);if(!i)return[];const r=yield Gd(i,Xe.a.None);if(!r)return[];const o=r.links.slice(0);return r.dispose(),o})));var Yd=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Zd=function(e,t){return function(n,i){t(n,i,e)}},Xd=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Qd={general:be.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:be.a.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class Jd{constructor(e,t){this.link=e,this.decorationId=t}static decoration(e,t){return{range:e.range,options:Jd._getOptions(e,t,!1)}}static _getOptions(e,t,n){const i=Object.assign({},n?Qd.active:Qd.general);return i.hoverMessage=function(e,t){const n=e.url&&/^command:/i.test(e.url.toString()),i=e.tooltip?e.tooltip:n?U.a("links.navigate.executeCmd","Execute command"):U.a("links.navigate.follow","Follow link"),r=t?Ae.f?U.a("links.navigate.kb.meta.mac","cmd + click"):U.a("links.navigate.kb.meta","ctrl + click"):Ae.f?U.a("links.navigate.kb.alt.mac","option + click"):U.a("links.navigate.kb.alt","alt + click");if(e.url){return new X("",!0).appendMarkdown(`[${i}](${e.url.toString()}) (${r})`)}return(new X).appendText(`${i} (${r})`)}(e,t),i}activate(e,t){e.changeDecorationOptions(this.decorationId,Jd._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,Jd._getOptions(this.link,t,!1))}}let eh=class e{constructor(e,t,n){this.listenersToRemove=new pe.b,this.editor=e,this.openerService=t,this.notificationService=n;let i=new Ml(e);this.listenersToRemove.add(i),this.listenersToRemove.add(i.onMouseMoveOrRelevantKeyDown(([e,t])=>{this._onEditorMouseMove(e,t)})),this.listenersToRemove.add(i.onExecute(e=>{this.onEditorMouseUp(e)})),this.listenersToRemove.add(i.onCancel(e=>{this.cleanUpActiveLinkDecoration()})),this.enabled=e.getOption(54),this.listenersToRemove.add(e.onDidChangeConfiguration(t=>{const n=e.getOption(54);this.enabled!==n&&(this.enabled=n,this.updateDecorations([]),this.stop(),this.beginCompute())})),this.listenersToRemove.add(e.onDidChangeModelContent(e=>this.onChange())),this.listenersToRemove.add(e.onDidChangeModel(e=>this.onModelChanged())),this.listenersToRemove.add(e.onDidChangeModelLanguage(e=>this.onModelModeChanged())),this.listenersToRemove.add(et.s.onDidChange(e=>this.onModelModeChanged())),this.timeout=new ue.e,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(t){return t.getContribution(e.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet(()=>this.beginCompute(),e.RECOMPUTE_TIME)}beginCompute(){return Xd(this,void 0,void 0,(function*(){if(!this.editor.hasModel()||!this.enabled)return;const e=this.editor.getModel();if(et.s.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=ue.f(t=>Gd(e,t));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(e){Object(Z.e)(e)}finally{this.computePromise=null}}}))}updateDecorations(e){const t="altKey"===this.editor.getOption(61);let n=[],i=Object.keys(this.currentOccurrences);for(let e=0,t=i.length;e<t;e++){let t=i[e],r=this.currentOccurrences[t];n.push(r.decorationId)}let r=[];if(e)for(const n of e)r.push(Jd.decoration(n,t));let o=this.editor.deltaDecorations(n,r);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let t=0,n=o.length;t<n;t++){let n=new Jd(e[t],o[t]);this.currentOccurrences[n.decorationId]=n}}_onEditorMouseMove(e,t){const n="altKey"===this.editor.getOption(61);if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();const t=this.getLinkOccurrence(e.target.position);t&&this.editor.changeDecorations(e=>{t.activate(e,n),this.activeLinkDecorationId=t.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e="altKey"===this.editor.getOption(61);if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(n=>{t.deactivate(n,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;const t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,n=!1){if(!this.openerService)return;const{link:i}=e;i.resolve(Xe.a.None).then(e=>{if("string"==typeof e&&this.editor.hasModel()){const t=this.editor.getModel().uri;if(t.scheme===la.b.file&&Ye.S(e,"file:")){const n=Qe.a.parse(e);if(n.scheme===la.b.file){const i=jt.i(n);let r=null;Ye.S(i,"/./")?r="."+i.substr(1):Ye.S(i,"//./")&&(r="."+i.substr(2)),r&&(e=jt.g(t,r))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:n})},e=>{const t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(U.a("invalid.url","Failed to open this link because it is not well-formed: {0}",i.url.toString())):"missing"===t?this.notificationService.warn(U.a("missing.url","Failed to open this link because its target is missing.")):Object(Z.e)(e)})}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;const t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(const e of t){const t=this.currentOccurrences[e.id];if(t)return t}return null}isEnabled(e,t){return Boolean(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){this.timeout.cancel(),this.activeLinksList&&this.activeLinksList.dispose(),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};eh.ID="editor.linkDetector",eh.RECOMPUTE_TIME=1e3,eh=Yd([Zd(1,Vl.a),Zd(2,zt.a)],eh);class th extends V.b{constructor(){super({id:"editor.action.openLink",label:U.a("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let n=eh.get(t);if(!n)return;if(!t.hasModel())return;let i=t.getSelections();for(let e of i){let t=n.getLinkOccurrence(e.getEndPosition());t&&n.openLinkOccurrence(t,!1)}}}Object(V.m)(eh.ID,eh),Object(V.k)(th),Object(we.g)((e,t)=>{const n=e.getColor(ve.r);n&&t.addRule(`.monaco-editor .detected-link-active { color: ${n} !important; }`)});var nh=n(85);class ih extends V.b{constructor(){super({id:"editor.action.insertCursorAbove",label:U.a("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,n){if(!t.hasModel())return;const i=n&&!0===n.logicalLine,r=t._getViewModel();r.cursorConfig.readOnly||(r.pushStackElement(),r.setCursorStates(n.source,3,nh.b.addCursorUp(r,r.getCursorStates(),i)),r.revealTopMostCursor(n.source))}}class rh extends V.b{constructor(){super({id:"editor.action.insertCursorBelow",label:U.a("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,n){if(!t.hasModel())return;const i=n&&!0===n.logicalLine,r=t._getViewModel();r.cursorConfig.readOnly||(r.pushStackElement(),r.setCursorStates(n.source,3,nh.b.addCursorDown(r,r.getCursorStates(),i)),r.revealBottomMostCursor(n.source))}}class oh extends V.b{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:U.a("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,n){if(!e.isEmpty()){for(let i=e.startLineNumber;i<e.endLineNumber;i++){let e=t.getLineMaxColumn(i);n.push(new q.a(i,e,i,e))}e.endColumn>1&&n.push(new q.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;const n=t.getModel(),i=t.getSelections();let r=[];i.forEach(e=>this.getCursorsForSelection(e,n,r)),r.length>0&&t.setSelections(r)}}class sh extends V.b{constructor(){super({id:"editor.action.addCursorsToBottom",label:U.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections(),i=t.getModel().getLineCount();let r=[];for(let e=n[0].startLineNumber;e<=i;e++)r.push(new q.a(e,n[0].startColumn,e,n[0].endColumn));r.length>0&&t.setSelections(r)}}class ah extends V.b{constructor(){super({id:"editor.action.addCursorsToTop",label:U.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections();let i=[];for(let e=n[0].startLineNumber;e>=1;e--)i.push(new q.a(e,n[0].startColumn,e,n[0].endColumn));i.length>0&&t.setSelections(i)}}class lh{constructor(e,t,n){this.selections=e,this.revealRange=t,this.revealScrollType=n}}class ch{constructor(e,t,n,i,r,o,s){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=n,this.searchText=i,this.wholeWord=r,this.matchCase=o,this.currentMatch=s}static create(e,t){if(!e.hasModel())return null;const n=t.getState();if(!e.hasTextFocus()&&n.isRevealed&&n.searchString.length>0)return new ch(e,t,!1,n.searchString,n.wholeWord,n.matchCase,null);let i,r,o=!1;const s=e.getSelections();1===s.length&&s[0].isEmpty()?(o=!0,i=!0,r=!0):(i=n.wholeWord,r=n.matchCase);const a=e.getSelection();let l,c=null;if(a.isEmpty()){const t=e.getConfiguredWordAtPosition(a.getStartPosition());if(!t)return null;l=t.word,c=new q.a(a.startLineNumber,t.startColumn,a.startLineNumber,t.endColumn)}else l=e.getModel().getValueInRange(a).replace(/\r\n/g,"\n");return new ch(e,t,o,l,i,r,c)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return n?new q.a(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new lh(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1);return n?new q.a(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}selectAll(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(105):null,!1,1073741824)):[]}}class dh extends pe.a{constructor(e){super(),this._sessionDispose=this._register(new pe.b),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(dh.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){const t=ch.create(this._editor,e);if(!t)return;this._session=t;const n={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(n.wholeWordOverride=1,n.matchCaseOverride=1,n.isRegexOverride=2),e.getState().change(n,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;const n=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return n?new q.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){const t=this._editor.getSelections();if(t.length>1){const n=e.getState().matchCase;if(!mh(this._editor.getModel(),t,n)){const e=this._editor.getModel();let n=[];for(let i=0,r=t.length;i<r;i++)n[i]=this._expandEmptyToWord(e,t[i]);return void this._editor.setSelections(n)}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(e){if(!this._editor.hasModel())return;let t=null;const n=e.getState();if(n.isRevealed&&n.searchString.length>0&&n.isRegex)t=this._editor.getModel().findMatches(n.searchString,!0,n.isRegex,n.matchCase,n.wholeWord?this._editor.getOption(105):null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(n.searchScope){const e=n.searchScope;let i=[];t.forEach(t=>{e.forEach(e=>{t.range.endLineNumber<=e.endLineNumber&&t.range.startLineNumber>=e.startLineNumber&&i.push(t)})}),t=i}if(t.length>0){const e=this._editor.getSelection();for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i.range.intersectRanges(e)){t[n]=t[0],t[0]=i;break}}this._setSelections(t.map(e=>new q.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)))}}}dh.ID="editor.contrib.multiCursorController";class hh extends V.b{run(e,t){const n=dh.get(t);if(!n)return;const i=Vr.get(t);i&&this._run(n,i)}}class uh{constructor(e,t,n,i){this.searchText=e,this.matchCase=t,this.wordSeparators=n,this.modelVersionId=i}static softEquals(e,t){return!e&&!t||!(!e||!t)&&(e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators&&e.modelVersionId===t.modelVersionId)}}class ph extends pe.a{constructor(e){super(),this.editor=e,this._isEnabled=e.getOption(89),this.decorations=[],this.updateSoon=this._register(new ue.d(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(89)})),this._register(e.onDidChangeCursorSelection(e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(e=>{this._setState(null)})),this._register(e.onDidChangeModelContent(e=>{this._isEnabled&&this.updateSoon.schedule()})),this._register(Vr.get(e).getState().onFindReplaceStateChange(e=>{this._update()}))}_update(){this._setState(ph._createState(this._isEnabled,this.editor))}static _createState(e,t){if(!e)return null;if(!t.hasModel())return null;const n=t.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;const i=dh.get(t);if(!i)return null;const r=Vr.get(t);if(!r)return null;let o=i.getSession(r);if(!o){const e=t.getSelections();if(e.length>1){const n=r.getState().matchCase;if(!mh(t.getModel(),e,n))return null}o=ch.create(t,r)}if(!o)return null;if(o.currentMatch)return null;if(/^[ \t]+$/.test(o.searchText))return null;if(o.searchText.length>200)return null;const s=r.getState(),a=s.matchCase;if(s.isRevealed){let e=s.searchString;a||(e=e.toLowerCase());let t=o.searchText;if(a||(t=t.toLowerCase()),e===t&&o.matchCase===s.matchCase&&o.wholeWord===s.wholeWord&&!s.isRegex)return null}return new uh(o.searchText,o.matchCase,o.wholeWord?t.getOption(105):null,t.getModel().getVersionId())}_setState(e){if(uh.softEquals(this.state,e))return void(this.state=e);if(this.state=e,!this.state)return void(this.decorations=this.editor.deltaDecorations(this.decorations,[]));if(!this.editor.hasModel())return;const t=this.editor.getModel();if(t.isTooLargeForTokenization())return;const n=et.i.has(t)&&this.editor.getOption(63);let i=t.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(e=>e.range);i.sort(ge.a.compareRangesUsingStarts);let r=this.editor.getSelections();r.sort(ge.a.compareRangesUsingStarts);let o=[];for(let e=0,t=0,n=i.length,s=r.length;e<n;){const n=i[e];if(t>=s)o.push(n),e++;else{const i=ge.a.compareRangesUsingStarts(n,r[t]);i<0?(!r[t].isEmpty()&&ge.a.areIntersecting(n,r[t])||o.push(n),e++):(i>0||e++,t++)}}const s=o.map(e=>({range:e,options:n?ph._SELECTION_HIGHLIGHT:ph._SELECTION_HIGHLIGHT_OVERVIEW}));this.decorations=this.editor.deltaDecorations(this.decorations,s)}dispose(){this._setState(null),super.dispose()}}function mh(e,t,n){const i=gh(e,t[0],!n);for(let r=1,o=t.length;r<o;r++){const o=t[r];if(o.isEmpty())return!1;if(i!==gh(e,o,!n))return!1}return!0}function gh(e,t,n){const i=e.getValueInRange(t);return n?i.toLowerCase():i}ph.ID="editor.contrib.selectionHighlighter",ph._SELECTION_HIGHLIGHT_OVERVIEW=be.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(we.h)(ve.Wb),position:fe.d.Center}}),ph._SELECTION_HIGHLIGHT=be.a.register({stickiness:1,className:"selectionHighlight"}),Object(V.m)(dh.ID,dh),Object(V.m)(ph.ID,ph),Object(V.k)(ih),Object(V.k)(rh),Object(V.k)(oh),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:U.a("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:2082,weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:U.a("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:U.a("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:Object($.a)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:U.a("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.selectHighlights",label:U.a("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:3114,weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"3_multi",title:U.a({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}),Object(V.k)(class extends hh{constructor(){super({id:"editor.action.changeAll",label:U.a("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:K.a.and(H.a.writable,H.a.editorTextFocus),kbOpts:{kbExpr:H.a.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}),Object(V.k)(sh),Object(V.k)(ah);n(319);var fh=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const bh={Visible:new K.c("parameterHintsVisible",!1),MultipleSignatures:new K.c("parameterHintsMultipleSignatures",!1)};function _h(e,t,n,i){const r=et.y.ordered(e);return Object(ue.h)(r.map(r=>()=>Promise.resolve(r.provideSignatureHelp(e,t,i,n)).catch(e=>Object(Z.f)(e))))}Object(V.j)("_executeSignatureHelpProvider",(e,t,n)=>fh(void 0,void 0,void 0,(function*(){const i=yield _h(e,t,{triggerKind:et.z.Invoke,isRetrigger:!1,triggerCharacter:n.triggerCharacter},Xe.a.None);if(i)return setTimeout(()=>i.dispose(),0),i.value})));var vh,wh=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};!function(e){e.Default={type:0};e.Pending=class{constructor(e){this.request=e,this.type=2}};e.Active=class{constructor(e){this.hints=e,this.type=1}}}(vh||(vh={}));class yh extends pe.a{constructor(e,t=yh.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new Lt.a),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=vh.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new pe.d),this.triggerChars=new Oo.b,this.retriggerChars=new Oo.b,this.triggerId=0,this.editor=e,this.throttledDelayer=new ue.a(t),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(e=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(e=>this.onCursorChange(e))),this._register(this.editor.onDidChangeModelContent(e=>this.onModelContentChange())),this._register(et.y.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(e=>this.onDidType(e))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=vh.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){const n=this.editor.getModel();if(!n||!et.y.has(n))return;const i=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(i),t).catch(Z.e)}next(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t%e==e-1,i=this.editor.getOption(67).cycle;!(e<2||n)||i?this.updateActiveSignature(n&&i?0:t+1):this.cancel()}previous(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=0===t,i=this.editor.getOption(67).cycle;!(e<2||n)||i?this.updateActiveSignature(n&&i?e-1:t-1):this.cancel()}updateActiveSignature(e){1===this.state.type&&(this.state=new vh.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return wh(this,void 0,void 0,(function*(){const t=1===this.state.type||2===this.state.type,n=1===this.state.type?this.state.hints:void 0;if(this.cancel(!0),0===this._pendingTriggers.length)return!1;const i=this._pendingTriggers.reduce(Ch);this._pendingTriggers=[];const r={triggerKind:i.triggerKind,triggerCharacter:i.triggerCharacter,isRetrigger:t,activeSignatureHelp:n};if(!this.editor.hasModel())return!1;const o=this.editor.getModel(),s=this.editor.getPosition();this.state=new vh.Pending(Object(ue.f)(e=>_h(o,s,r,e)));try{const t=yield this.state.request;return e!==this.triggerId?(null==t||t.dispose(),!1):t&&t.value.signatures&&0!==t.value.signatures.length?(this.state=new vh.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0):(null==t||t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(t){return e===this.triggerId&&(this.state=vh.Default),Object(Z.e)(t),!1}}))}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new Oo.b,this.retriggerChars=new Oo.b;const e=this.editor.getModel();if(e)for(const t of et.y.ordered(e)){for(const e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(const e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;const t=e.length-1,n=e.charCodeAt(t);(this.triggerChars.has(n)||this.isTriggered&&this.retriggerChars.has(n))&&this.trigger({triggerKind:et.z.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:et.z.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:et.z.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(67).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function Ch(e,t){switch(t.triggerKind){case et.z.Invoke:return t;case et.z.ContentChange:return e;case et.z.TriggerCharacter:default:return t}}yh.DEFAULT_DELAY=120;var xh=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Sh=function(e,t){return function(n,i){t(n,i,e)}};const kh=ft.a,Eh=Object(Y.e)("parameter-hints-next",Y.a.chevronDown),Th=Object(Y.e)("parameter-hints-previous",Y.a.chevronUp);let Lh=class e extends pe.a{constructor(e,t,n,i){super(),this.editor=e,this.renderDisposeables=this._register(new pe.b),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new Bc(e,i,n)),this.model=this._register(new yh(e)),this.keyVisible=bh.Visible.bindTo(t),this.keyMultipleSignatures=bh.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints(e=>{e?(this.show(),this.render(e)):this.hide()}))}createParamaterHintDOMNodes(){const e=kh(".editor-widget.parameter-hints-widget"),t=ft.p(e,kh(".wrapper"));t.tabIndex=-1;const n=ft.p(t,kh(".controls")),i=ft.p(n,kh(".button"+Th.cssSelector)),r=ft.p(n,kh(".overloads")),o=ft.p(n,kh(".button"+Eh.cssSelector)),s=Object(Cs.b)(Object(Cs.a)(i,"click"));this._register(s(this.previous,this));const a=Object(Cs.b)(Object(Cs.a)(o,"click"));this._register(a(this.next,this));const l=kh(".body"),c=new Bl.a(l,{});this._register(c),t.appendChild(c.getDomNode());const d=ft.p(l,kh(".signature")),h=ft.p(l,kh(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:d,overloads:r,docs:h,scrollbar:c},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(e=>{this.visible&&this.editor.layoutContentWidget(this)}));const u=()=>{if(!this.domNodes)return;const e=this.editor.getOption(36);this.domNodes.element.style.fontSize=e.fontSize+"px"};u(),this._register(Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(36)).on(u,null)),this._register(this.editor.onDidLayoutChange(e=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&ft.e(this.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&ft.Q(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;const n=e.signatures.length>1;ft.ab(this.domNodes.element,"multiple",n),this.keyMultipleSignatures.set(n),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const i=e.signatures[e.activeSignature];if(!i)return;const r=ft.p(this.domNodes.signature,kh(".code")),o=this.editor.getOption(36);r.style.fontSize=o.fontSize+"px",r.style.fontFamily=o.fontFamily;const s=i.parameters.length>0,a=null!==(t=i.activeParameter)&&void 0!==t?t:e.activeParameter;if(s)this.renderParameters(r,i,a);else{ft.p(r,kh("span")).textContent=i.label}const l=i.parameters[a];if(null==l?void 0:l.documentation){const e=kh("span.documentation");if("string"==typeof l.documentation)e.textContent=l.documentation;else{const t=this.renderDisposeables.add(this.markdownRenderer.render(l.documentation));ft.e(t.element,"markdown-docs"),e.appendChild(t.element)}ft.p(this.domNodes.docs,kh("p",{},e))}if(void 0===i.documentation);else if("string"==typeof i.documentation)ft.p(this.domNodes.docs,kh("p",{},i.documentation));else{const e=this.renderDisposeables.add(this.markdownRenderer.render(i.documentation));ft.e(e.element,"markdown-docs"),ft.p(this.domNodes.docs,e.element)}const c=this.hasDocs(i,l);if(ft.ab(this.domNodes.signature,"has-docs",c),ft.ab(this.domNodes.docs,"empty",!c),this.domNodes.overloads.textContent=Object(Ye.M)(e.activeSignature+1,e.signatures.length.toString().length)+"/"+e.signatures.length,l){const e=this.getParameterLabel(i,a);this.announcedLabel!==e&&(ne.a(U.a("hint","{0}, hint",e)),this.announcedLabel=e)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}hasDocs(e,t){return!!(t&&"string"==typeof t.documentation&&Object(Qr.a)(t.documentation).length>0)||(!!(t&&"object"==typeof t.documentation&&Object(Qr.a)(t.documentation).value.length>0)||(!!(e.documentation&&"string"==typeof e.documentation&&Object(Qr.a)(e.documentation).length>0)||!!(e.documentation&&"object"==typeof e.documentation&&Object(Qr.a)(e.documentation.value).length>0)))}renderParameters(e,t,n){const[i,r]=this.getParameterLabelOffsets(t,n),o=document.createElement("span");o.textContent=t.label.substring(0,i);const s=document.createElement("span");s.textContent=t.label.substring(i,r),s.className="parameter active";const a=document.createElement("span");a.textContent=t.label.substring(r),ft.p(e,o,s,a)}getParameterLabel(e,t){const n=e.parameters[t];return Array.isArray(n.label)?e.label.substring(n.label[0],n.label[1]):n.label}getParameterLabelOffsets(e,t){const n=e.parameters[t];if(n){if(Array.isArray(n.label))return n.label;{const t=e.label.lastIndexOf(n.label);return t>=0?[t,t+n.label.length]:[0,0]}}return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element}getId(){return e.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;const e=Math.max(this.editor.getLayoutInfo().height/4,250)+"px";this.domNodes.element.style.maxHeight=e;const t=this.domNodes.element.getElementsByClassName("wrapper");t.length&&(t[0].style.maxHeight=e)}};Lh.ID="editor.widget.parameterHintsWidget",Lh=xh([Sh(1,K.b),Sh(2,Vl.a),Sh(3,Nl.a)],Lh),Object(we.g)((e,t)=>{const n=e.getColor(ve.F);if(n){const i=e.type===we.b?2:1;t.addRule(`.monaco-editor .parameter-hints-widget { border: ${i}px solid ${n}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${n.transparent(.5)}; }`)}const i=e.getColor(ve.E);i&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${i}; }`);const r=e.getColor(ve.rc);r&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${r}; }`);const o=e.getColor(ve.G);o&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${o}; }`);const s=e.getColor(ve.qc);s&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${s}; }`)});var Nh=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ih=function(e,t){return function(n,i){t(n,i,e)}};let Dh=class e extends pe.a{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance(Lh,this.editor))}static get(t){return t.getContribution(e.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};Dh.ID="editor.controller.parameterHints",Dh=Nh([Ih(1,gt.a)],Dh);class Oh extends V.b{constructor(){super({id:"editor.action.triggerParameterHints",label:U.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:H.a.hasSignatureHelpProvider,kbOpts:{kbExpr:H.a.editorTextFocus,primary:3082,weight:100}})}run(e,t){const n=Dh.get(t);n&&n.trigger({triggerKind:et.z.Invoke})}}Object(V.m)(Dh.ID,Dh),Object(V.k)(Oh);const Ah=V.c.bindToContribution(Dh.get);Object(V.l)(new Ah({id:"closeParameterHints",precondition:bh.Visible,handler:e=>e.cancel(),kbOpts:{weight:175,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(V.l)(new Ah({id:"showPrevParameterHint",precondition:K.a.and(bh.Visible,bh.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:H.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object(V.l)(new Ah({id:"showNextParameterHint",precondition:K.a.and(bh.Visible,bh.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:H.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}));n(321);var Rh=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Mh=function(e,t){return function(n,i){t(n,i,e)}},Ph=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Fh=new K.c("onTypeRenameInputVisible",!1);let Wh=class e extends pe.a{constructor(e,t){super(),this._debounceDuration=200,this._localToDispose=this._register(new pe.b),this._editor=e,this._enabled=!1,this._visibleContextKey=Fh.bindTo(t),this._currentDecorations=[],this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new pe.b),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize())),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(73)&&this.reinitialize()})),this._register(et.u.onDidChange(()=>this.reinitialize())),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize())),this.reinitialize()}static get(t){return t.getContribution(e.ID)}reinitialize(){const e=this._editor.getModel(),t=null!==e&&this._editor.getOption(73)&&et.u.has(e);if(t===this._enabled)return;if(this._enabled=t,this.clearRanges(),this._localToDispose.clear(),!t||null===e)return;this._languageWordPattern=Pn.a.getWordDefinition(e.getLanguageIdentifier().id),this._localToDispose.add(e.onDidChangeLanguageConfiguration(()=>{this._languageWordPattern=Pn.a.getWordDefinition(e.getLanguageIdentifier().id)}));const n=new ue.a(this._debounceDuration),i=()=>{this._rangeUpdateTriggerPromise=n.trigger(()=>this.updateRanges(),this._debounceDuration)},r=new ue.a(0),o=e=>{this._rangeSyncTriggerPromise=r.trigger(()=>this._syncRanges(e))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{i()})),this._localToDispose.add(this._editor.onDidChangeModelContent(t=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const n=e.getDecorationRange(this._currentDecorations[0]);if(n&&t.changes.every(e=>n.intersectRanges(e.range)))return void o(this._currentDecorations)}i()})),this._localToDispose.add({dispose:()=>{n.cancel(),r.cancel()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._currentDecorations||0===e.length)return;const t=this._editor.getModel(),n=t.getDecorationRange(e[0]);if(!n||n.startLineNumber!==n.endLineNumber)return this.clearRanges();const i=t.getValueInRange(n);if(this._currentWordPattern){const e=i.match(this._currentWordPattern);if((e?e[0].length:0)!==i.length)return this.clearRanges()}let r=[];for(let n=1,o=e.length;n<o;n++){const o=t.getDecorationRange(e[n]);if(o)if(o.startLineNumber!==o.endLineNumber)r.push({range:o,text:i});else{let e=t.getValueInRange(o),n=i,s=o.startColumn,a=o.endColumn;const l=Ye.d(e,n);s+=l,e=e.substr(l),n=n.substr(l);const c=Ye.e(e,n);a-=c,e=e.substr(0,e.length-c),n=n.substr(0,n.length-c),s===a&&0===n.length||r.push({range:new ge.a(o.startLineNumber,s,o.endLineNumber,a),text:n})}}if(0!==r.length)try{this._ignoreChangeEvent=!0;const e=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits("onTypeRename",r),this._editor._getViewModel().setPrevEditOperationType(e)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,[]),this._currentRequest&&(this._currentRequest.cancel(),this._currentRequest=null,this._currentRequestPosition=null)}updateRanges(t=!1){return Ph(this,void 0,void 0,(function*(){if(!this._editor.hasModel())return void this.clearRanges();const n=this._editor.getPosition();if(!this._enabled&&!t||this._editor.getSelections().length>1)return void this.clearRanges();const i=this._editor.getModel(),r=i.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===r){if(n.equals(this._currentRequestPosition))return;if(this._currentDecorations&&this._currentDecorations.length>0){const e=i.getDecorationRange(this._currentDecorations[0]);if(e&&e.containsPosition(n))return}}this._currentRequestPosition=n,this._currentRequestModelVersion=r;const o=Object(ue.f)(t=>Ph(this,void 0,void 0,(function*(){try{const s=yield jh(i,n,t);if(o!==this._currentRequest)return;if(this._currentRequest=null,r!==i.getVersionId())return;let a=[];(null==s?void 0:s.ranges)&&(a=s.ranges),this._currentWordPattern=(null==s?void 0:s.wordPattern)||this._languageWordPattern;let l=!1;for(let e=0,t=a.length;e<t;e++)if(ge.a.containsPosition(a[e],n)){if(l=!0,0!==e){const t=a[e];a.splice(e,1),a.unshift(t)}break}if(!l)return void this.clearRanges();const c=a.map(t=>({range:t,options:e.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,c)}catch(e){Object(Z.d)(e)||Object(Z.e)(e),this._currentRequest!==o&&this._currentRequest||this.clearRanges()}})));return this._currentRequest=o,o}))}};Wh.ID="editor.contrib.onTypeRename",Wh.DECORATION=be.a.register({stickiness:0,className:"on-type-rename-decoration"}),Wh=Rh([Mh(1,K.b)],Wh);class zh extends V.b{constructor(){super({id:"editor.action.onTypeRename",label:U.a("onTypeRename.label","On Type Rename Symbol"),alias:"On Type Rename Symbol",precondition:K.a.and(H.a.writable,H.a.hasRenameProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const n=e.get(Me.a),[i,r]=Array.isArray(t)&&t||[void 0,void 0];return Qe.a.isUri(i)&&me.a.isIPosition(r)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(r),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},Z.e):super.runCommand(e,t)}run(e,t){const n=Wh.get(t);return n?Promise.resolve(n.updateRanges(!0)):Promise.resolve()}}const Bh=V.c.bindToContribution(Wh.get);function jh(e,t,n){const i=et.u.ordered(e);return Object(ue.h)(i.map(i=>()=>Promise.resolve(i.provideOnTypeRenameRanges(e,t,n)).then(e=>{if(e)return{ranges:e.ranges,wordPattern:e.wordPattern||i.wordPattern}},e=>{Object(Z.f)(e)})),e=>!!e&&G.o(null==e?void 0:e.ranges))}Object(V.l)(new Bh({id:"cancelOnTypeRenameInput",precondition:Fh,handler:e=>e.clearRanges(),kbOpts:{kbExpr:H.a.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));const Vh=Object(ve.gc)("editor.onTypeRenameBackground",{dark:Nn.a.fromHex("#f00").transparent(.3),light:Nn.a.fromHex("#f00").transparent(.3),hc:Nn.a.fromHex("#f00").transparent(.3)},U.a("editorOnTypeRenameBackground","Background color when the editor auto renames on type."));Object(we.g)((e,t)=>{const n=e.getColor(Vh);n&&t.addRule(`.monaco-editor .on-type-rename-decoration { background: ${n}; border-left-color: ${n}; }`)}),Object(V.p)("_executeRenameOnTypeProvider",(e,t)=>jh(e,t,Xe.a.None)),Object(V.m)(Wh.ID,Wh),Object(V.k)(zh);n(323);var Uh=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Hh=function(e,t){return function(n,i){t(n,i,e)}};const qh=new K.c("renameInputVisible",!1);let $h=class{constructor(e,t,n,i,r){this._editor=e,this._acceptKeybindings=t,this._themeService=n,this._keybindingService=i,this._disposables=new pe.b,this.allowEditorOverflow=!0,this._visibleContextKey=qh.bindTo(r),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(36)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(U.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);const e=()=>{var e,t;const[n,i]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(n),this._label.innerText=Object(U.a)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(e=this._keybindingService.lookupKeybinding(n))||void 0===e?void 0:e.getLabel(),null===(t=this._keybindingService.lookupKeybinding(i))||void 0===t?void 0:t.getLabel())};e(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(e){var t,n,i,r;if(!this._input||!this._domNode)return;const o=e.getColor(ve.uc);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(ve.U))&&void 0!==t?t:""),this._domNode.style.boxShadow=o?" 0 2px 8px "+o:"",this._domNode.style.color=String(null!==(n=e.getColor(ve.hb))&&void 0!==n?n:""),this._input.style.backgroundColor=String(null!==(i=e.getColor(ve.fb))&&void 0!==i?i:"");const s=e.getColor(ve.gb);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(r=null==s?void 0:s.toString())&&void 0!==r?r:"none"}_updateFont(){if(!this._input||!this._label)return;const e=this._editor.getOption(36);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=e.fontSize+"px",this._label.style.fontSize=.8*e.fontSize+"px"}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}acceptInput(e){this._currentAcceptInput&&this._currentAcceptInput(e)}cancelInput(e){this._currentCancelInput&&this._currentCancelInput(e)}getInput(e,t,n,i,r,o){this._domNode.classList.toggle("preview",r),this._position=new me.a(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",i.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);const s=new pe.b;return new Promise(e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=n=>{0!==this._input.value.trim().length&&this._input.value!==t?(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:r&&n})):this.cancelInput(!0)},o.onCancellationRequested(()=>this.cancelInput(!0)),s.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{s.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};$h=Uh([Hh(2,we.c),Hh(3,vt.a),Hh(4,K.b)],$h);var Kh=n(102),Gh=n(56),Yh=n(128),Zh=n(152),Xh=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Qh=function(e,t){return function(n,i){t(n,i,e)}},Jh=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class eu{constructor(e,t){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=et.w.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return Jh(this,void 0,void 0,(function*(){const t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const n=this._providers[this._providerRenameIdx];if(!n.resolveRenameLocation)break;let i=yield n.resolveRenameLocation(this.model,this.position,e);if(i){if(!i.rejectReason)return i;t.push(i.rejectReason)}}const n=this.model.getWordAtPosition(this.position);return n?{range:new ge.a(this.position.lineNumber,n.startColumn,this.position.lineNumber,n.endColumn),text:n.word,rejectReason:t.length>0?t.join("\n"):void 0}:{range:ge.a.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join("\n"):void 0}}))}provideRenameEdits(e,t){return Jh(this,void 0,void 0,(function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)}))}_provideRenameEdits(e,t,n,i){return Jh(this,void 0,void 0,(function*(){const r=this._providers[t];if(!r)return{edits:[],rejectReason:n.join("\n")};const o=yield r.provideRenameEdits(this.model,this.position,e,i);return o?o.rejectReason?this._provideRenameEdits(e,t+1,n.concat(o.rejectReason),i):o:this._provideRenameEdits(e,t+1,n.concat(U.a("no result","No result.")),i)}))}}let tu=class e{constructor(e,t,n,i,r,o,s){this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=i,this._progressService=r,this._logService=o,this._configService=s,this._dispoableStore=new pe.b,this._cts=new Xe.b,this._renameInputField=this._dispoableStore.add(new ue.b(()=>this._dispoableStore.add(this._instaService.createInstance($h,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(t){return t.getContribution(e.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return Jh(this,void 0,void 0,(function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;const e=this.editor.getPosition(),t=new eu(this.editor.getModel(),e);if(!t.hasProvider())return;let n;this._cts=new Je.b(this.editor,5);try{const e=t.resolveRenameLocation(this._cts.token);this._progressService.showWhile(e,250),n=yield e}catch(t){return void ut.get(this.editor).showMessage(t||U.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e)}if(!n)return;if(n.rejectReason)return void ut.get(this.editor).showMessage(n.rejectReason,e);if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new Je.b(this.editor,5,n.range);let i=this.editor.getSelection(),r=0,o=n.text.length;ge.a.isEmpty(i)||ge.a.spansMultipleLines(i)||!ge.a.containsRange(n.range,i)||(r=Math.max(0,i.startColumn-n.range.startColumn),o=Math.min(n.range.endColumn,i.endColumn)-n.range.startColumn);const s=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),a=yield this._renameInputField.value.getInput(n.range,n.text,r,o,s,this._cts.token);if("boolean"==typeof a)return void(a&&this.editor.focus());this.editor.focus();const l=Object(ue.j)(t.provideRenameEdits(a.newName,this._cts.token),this._cts.token).then(e=>Jh(this,void 0,void 0,(function*(){e&&this.editor.hasModel()&&(e.rejectReason?this._notificationService.info(e.rejectReason):this._bulkEditService.apply(Ze.b.convert(e),{editor:this.editor,showPreview:a.wantsPreview,label:U.a("label","Renaming '{0}'",null==n?void 0:n.text),quotableLabel:U.a("quotableLabel","Renaming {0}",null==n?void 0:n.text)}).then(e=>{e.ariaSummary&&Object(ne.a)(U.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",n.text,a.newName,e.ariaSummary))}).catch(e=>{this._notificationService.error(U.a("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)}))})),e=>{this._notificationService.error(U.a("rename.failed","Rename failed to compute edits")),this._logService.error(e)});return this._progressService.showWhile(l,250),l}))}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};tu.ID="editor.contrib.renameController",tu=Xh([Qh(1,gt.a),Qh(2,zt.a),Qh(3,Ze.a),Qh(4,ot.a),Qh(5,Kh.b),Qh(6,Zh.a)],tu);class nu extends V.b{constructor(){super({id:"editor.action.rename",label:U.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:K.a.and(H.a.writable,H.a.hasRenameProvider),kbOpts:{kbExpr:H.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){const n=e.get(Me.a),[i,r]=Array.isArray(t)&&t||[void 0,void 0];return Qe.a.isUri(i)&&me.a.isIPosition(r)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(r),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},Z.e):super.runCommand(e,t)}run(e,t){const n=tu.get(t);return n?n.run():Promise.resolve()}}Object(V.m)(tu.ID,tu),Object(V.k)(nu);const iu=V.c.bindToContribution(tu.get);Object(V.l)(new iu({id:"acceptRenameInput",precondition:qh,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:H.a.focus,primary:3}})),Object(V.l)(new iu({id:"acceptRenameInputWithPreview",precondition:K.a.and(qh,K.a.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:H.a.focus,primary:1027}})),Object(V.l)(new iu({id:"cancelRenameInput",precondition:qh,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(V.p)("_executeDocumentRenameProvider",(function(e,t,...n){const[i]=n;return Object(Qr.b)("string"==typeof i),function(e,t,n){return Jh(this,void 0,void 0,(function*(){const i=new eu(e,t),r=yield i.resolveRenameLocation(Xe.a.None);return(null==r?void 0:r.rejectReason)?{edits:[],rejectReason:r.rejectReason}:i.provideRenameEdits(n,Xe.a.None)}))}(e,t,i)})),Gh.a.as(Yh.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:U.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}});var ru=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class ou{provideSelectionRanges(e,t){return ru(this,void 0,void 0,(function*(){const n=[];for(const i of t){const t=[];n.push(t);const r=new Map;yield new Promise(t=>ou._bracketsRightYield(t,0,e,i,r)),yield new Promise(n=>ou._bracketsLeftYield(n,0,e,i,r,t))}return n}))}static _bracketsRightYield(e,t,n,i,r){const o=new Map,s=Date.now();for(;;){if(t>=ou._maxRounds){e();break}if(!i){e();break}let a=n.findNextBracket(i);if(!a){e();break}if(Date.now()-s>ou._maxDuration){setTimeout(()=>ou._bracketsRightYield(e,t+1,n,i,r));break}const l=a.close[0];if(a.isOpen){let e=o.has(l)?o.get(l):0;o.set(l,e+1)}else{let e=o.has(l)?o.get(l):0;if(e-=1,o.set(l,Math.max(0,e)),e<0){let e=r.get(l);e||(e=new Fo.a,r.set(l,e)),e.push(a.range)}}i=a.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,i,r,o){const s=new Map,a=Date.now();for(;;){if(t>=ou._maxRounds&&0===r.size){e();break}if(!i){e();break}let l=n.findPrevBracket(i);if(!l){e();break}if(Date.now()-a>ou._maxDuration){setTimeout(()=>ou._bracketsLeftYield(e,t+1,n,i,r,o));break}const c=l.close[0];if(l.isOpen){let e=s.has(c)?s.get(c):0;if(e-=1,s.set(c,Math.max(0,e)),e<0){let e=r.get(c);if(e){let t=e.shift();0===e.size&&r.delete(c);const i=ge.a.fromPositions(l.range.getEndPosition(),t.getStartPosition()),s=ge.a.fromPositions(l.range.getStartPosition(),t.getEndPosition());o.push({range:i}),o.push({range:s}),ou._addBracketLeading(n,s,o)}}}else{let e=s.has(c)?s.get(c):0;s.set(c,e+1)}i=l.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;const i=t.startLineNumber,r=e.getLineFirstNonWhitespaceColumn(i);0!==r&&r!==t.startColumn&&(n.push({range:ge.a.fromPositions(new me.a(i,r),t.getEndPosition())}),n.push({range:ge.a.fromPositions(new me.a(i,1),t.getEndPosition())}));const o=i-1;if(o>0){const i=e.getLineFirstNonWhitespaceColumn(o);i===t.startColumn&&i!==e.getLineLastNonWhitespaceColumn(o)&&(n.push({range:ge.a.fromPositions(new me.a(o,i),t.getEndPosition())}),n.push({range:ge.a.fromPositions(new me.a(o,1),t.getEndPosition())}))}}}ou._maxDuration=30,ou._maxRounds=2;var su=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class au{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const n=new au(t,this.ranges);return n.ranges[t].equalsRange(this.ranges[this.index])?n.mov(e):n}}class lu{constructor(e){this._ignoreSelection=!1,this._editor=e}static get(e){return e.getContribution(lu.ID)}dispose(){Object(pe.f)(this._selectionListener)}run(e){if(!this._editor.hasModel())return;const t=this._editor.getSelections(),n=this._editor.getModel();if(!et.x.has(n))return;let i=Promise.resolve(void 0);return this._state||(i=du(n,t.map(e=>e.getPosition()),Xe.a.None).then(e=>{if(G.o(e)&&e.length===t.length&&this._editor.hasModel()&&G.g(this._editor.getSelections(),t,(e,t)=>e.equalsSelection(t))){for(let n=0;n<e.length;n++)e[n]=e[n].filter(e=>e.containsPosition(t[n].getStartPosition())&&e.containsPosition(t[n].getEndPosition())),e[n].unshift(t[n]);this._state=e.map(e=>new au(0,e)),Object(pe.f)(this._selectionListener),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{this._ignoreSelection||(Object(pe.f)(this._selectionListener),this._state=void 0)})}})),i.then(()=>{if(!this._state)return;this._state=this._state.map(t=>t.mov(e));const t=this._state.map(e=>q.a.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(t)}finally{this._ignoreSelection=!1}})}}lu.ID="editor.contrib.smartSelectController";class cu extends V.b{constructor(e,t){super(t),this._forward=e}run(e,t){return su(this,void 0,void 0,(function*(){let e=lu.get(t);e&&(yield e.run(this._forward))}))}}Ft.a.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");function du(e,t,n){const i=et.x.all(e);1===i.length&&i.unshift(new ou);let r=[],o=[];for(const s of i)r.push(Promise.resolve(s.provideSelectionRanges(e,t,n)).then(e=>{if(G.o(e)&&e.length===t.length)for(let n=0;n<t.length;n++){o[n]||(o[n]=[]);for(const i of e[n])ge.a.isIRange(i.range)&&ge.a.containsPosition(i.range,t[n])&&o[n].push(ge.a.lift(i.range))}},Z.f));return Promise.all(r).then(()=>o.map(t=>{if(0===t.length)return[];t.sort((e,t)=>me.a.isBefore(e.getStartPosition(),t.getStartPosition())?1:me.a.isBefore(t.getStartPosition(),e.getStartPosition())||me.a.isBefore(e.getEndPosition(),t.getEndPosition())?-1:me.a.isBefore(t.getEndPosition(),e.getEndPosition())?1:0);let n,i=[];for(const e of t)(!n||ge.a.containsRange(e,n)&&!ge.a.equalsRange(e,n))&&(i.push(e),n=e);let r=[i[0]];for(let t=1;t<i.length;t++){const n=i[t-1],o=i[t];if(o.startLineNumber!==n.startLineNumber||o.endLineNumber!==n.endLineNumber){const t=new ge.a(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineLastNonWhitespaceColumn(n.endLineNumber));t.containsRange(n)&&!t.equalsRange(n)&&o.containsRange(t)&&!o.equalsRange(t)&&r.push(t);const i=new ge.a(n.startLineNumber,1,n.endLineNumber,e.getLineMaxColumn(n.endLineNumber));i.containsRange(n)&&!i.equalsRange(t)&&o.containsRange(i)&&!o.equalsRange(i)&&r.push(i)}r.push(o)}return r}))}Object(V.m)(lu.ID,lu),Object(V.k)(class extends cu{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:U.a("smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"1_basic",title:U.a({key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})}}),Object(V.k)(class extends cu{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:U.a("smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:ye.b.MenubarSelectionMenu,group:"1_basic",title:U.a({key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})}}),et.x.register("*",new class{provideSelectionRanges(e,t){const n=[];for(const i of t){const t=[];n.push(t),this._addInWordRanges(t,e,i),this._addWordRanges(t,e,i),this._addWhitespaceLine(t,e,i),t.push({range:e.getFullModelRange()})}return n}_addInWordRanges(e,t,n){const i=t.getWordAtPosition(n);if(!i)return;let{word:r,startColumn:o}=i,s=n.column-o,a=s,l=s,c=0;for(;a>=0;a--){let e=r.charCodeAt(a);if(a!==s&&(95===e||45===e))break;if(Object(Ye.H)(e)&&Object(Ye.I)(c))break;c=e}for(a+=1;l<r.length;l++){let e=r.charCodeAt(l);if(Object(Ye.I)(e)&&Object(Ye.H)(c))break;if(95===e||45===e)break;c=e}a<l&&e.push({range:new ge.a(n.lineNumber,o+a,n.lineNumber,o+l)})}_addWordRanges(e,t,n){const i=t.getWordAtPosition(n);i&&e.push({range:new ge.a(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)})}_addWhitespaceLine(e,t,n){t.getLineLength(n.lineNumber)>0&&0===t.getLineFirstNonWhitespaceColumn(n.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(n.lineNumber)&&e.push({range:new ge.a(n.lineNumber,1,n.lineNumber,t.getLineMaxColumn(n.lineNumber))})}}),Object(V.q)("_executeSelectionRangeProvider",(function(e,...t){const[n]=t;return du(e,n,Xe.a.None)}));class hu{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let e,t=this.pos,n=0,i=this.value.charCodeAt(t);if(e=hu._table[i],"number"==typeof e)return this.pos+=1,{type:e,pos:t,len:1};if(hu.isDigitCharacter(i)){e=8;do{n+=1,i=this.value.charCodeAt(t+n)}while(hu.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}if(hu.isVariableCharacter(i)){e=9;do{i=this.value.charCodeAt(t+ ++n)}while(hu.isVariableCharacter(i)||hu.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}e=10;do{n+=1,i=this.value.charCodeAt(t+n)}while(!isNaN(i)&&void 0===hu._table[i]&&!hu.isDigitCharacter(i)&&!hu.isVariableCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}}hu._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class uu{constructor(){this._children=[]}appendChild(e){return e instanceof pu&&this._children[this._children.length-1]instanceof pu?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:n}=e,i=n.children.indexOf(e),r=n.children.slice(0);r.splice(i,1,...t),n._children=r,function e(t,n){for(const i of t)i.parent=n,e(i.children,i)}(t,n)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof yu)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class pu extends uu{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new pu(this.value)}}class mu extends uu{}class gu extends mu{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof fu?this._children[0]:void 0}clone(){let e=new gu(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}class fu extends uu{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof pu&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new fu;return this.options.forEach(e.appendChild,e),e}}class bu extends uu{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let n=!1,i=e.replace(this.regexp,(function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!n&&this._children.some(e=>e instanceof _u&&Boolean(e.elseValue))&&(i=this._replace([])),i}_replace(e){let t="";for(const n of this._children)if(n instanceof _u){let i=e[n.index]||"";i=n.resolve(i),t+=i}else t+=n.toString();return t}toString(){return""}clone(){let e=new bu;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(e=>e.clone()),e}}class _u extends uu{constructor(e,t,n,i){super(),this.index=e,this.shorthandName=t,this.ifValue=n,this.elseValue=i}resolve(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":Boolean(e)&&"string"==typeof this.ifValue?this.ifValue:Boolean(e)||"string"!=typeof this.elseValue?e||"":this.elseValue}_toPascalCase(e){const t=e.match(/[a-z]+/gi);return t?t.map((function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})).join(""):e}clone(){return new _u(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class vu extends mu{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new pu(t)],!0)}clone(){const e=new vu(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}function wu(e,t){const n=[...e];for(;n.length>0;){const e=n.shift();if(!t(e))break;n.unshift(...e.children)}}class yu extends uu{get placeholderInfo(){if(!this._placeholders){let e,t=[];this.walk((function(n){return n instanceof gu&&(t.push(n),e=!e||e.index<n.index?n:e),!0})),this._placeholders={all:t,last:e}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,n=!1;return this.walk(i=>i===e?(n=!0,!1):(t+=i.len(),!0)),n?t:-1}fullLen(e){let t=0;return wu([e],e=>(t+=e.len(),!0)),t}enclosingPlaceholders(e){let t=[],{parent:n}=e;for(;n;)n instanceof gu&&t.push(n),n=n.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof vu&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new yu;return this._children=this.children.map(e=>e.clone()),e}walk(e){wu(this.children,e)}}class Cu{constructor(){this._scanner=new hu,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,n){this._scanner.text(e),this._token=this._scanner.next();const i=new yu;for(;this._parse(i););const r=new Map,o=[];let s=0;i.walk(e=>(e instanceof gu&&(s+=1,e.isFinalTabstop?r.set(0,void 0):!r.has(e.index)&&e.children.length>0?r.set(e.index,e.children):o.push(e)),!0));for(const e of o){const t=r.get(e.index);if(t){const n=new gu(e.index);n.transform=e.transform;for(const e of t)n.appendChild(e.clone());i.replace(e,[n])}}return n||(n=s>0&&t),!r.has(0)&&n&&i.appendChild(new gu(0)),i}_accept(e,t){if(void 0===e||this._token.type===e){let e=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),e}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(14===this._token.type)return!1;if(5===this._token.type){const e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}const n=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),n}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new pu(t)),!0)}_parseTabstopOrVariableName(e){let t;const n=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new gu(Number(t)):new vu(t)),!0):this._backTo(n)}_parseComplexPlaceholder(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(n);const i=new gu(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new pu("${"+t+":")),i.children.forEach(e.appendChild,e),!0}else{if(!(i.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);{const t=new fu;for(;;){if(this._parseChoiceElement(t)){if(this._accept(2))continue;if(this._accept(7)&&(i.appendChild(t),this._accept(4)))return e.appendChild(i),!0}return this._backTo(n),!1}}}}_parseChoiceElement(e){const t=this._token,n=[];for(;2!==this._token.type&&7!==this._token.type;){let e;if(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0),!e)return this._backTo(t),!1;n.push(e)}return 0===n.length?(this._backTo(t),!1):(e.appendChild(new pu(n.join(""))),!0)}_parseComplexVariable(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(n);const i=new vu(t);if(!this._accept(1))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new pu("${"+t+":")),i.children.forEach(e.appendChild,e),!0}}_parseTransform(e){let t=new bu,n="",i="";for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(6,!0)||e,n+=e;else{if(14===this._token.type)return!1;n+=this._accept(void 0,!0)}}for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(5,!0)||this._accept(6,!0)||e,t.appendChild(new pu(e));else if(!this._parseFormatString(t)&&!this._parseAnything(t))return!1}for(;!this._accept(4);){if(14===this._token.type)return!1;i+=this._accept(void 0,!0)}try{t.regexp=new RegExp(n,i)}catch(e){return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let n=!1;this._accept(3)&&(n=!0);let i=this._accept(8,!0);if(!i)return this._backTo(t),!1;if(!n)return e.appendChild(new _u(Number(i))),!0;if(this._accept(4))return e.appendChild(new _u(Number(i))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let n=this._accept(9,!0);return n&&this._accept(4)?(e.appendChild(new _u(Number(i),n)),!0):(this._backTo(t),!1)}if(this._accept(11)){let t=this._until(4);if(t)return e.appendChild(new _u(Number(i),void 0,t,void 0)),!0}else if(this._accept(12)){let t=this._until(4);if(t)return e.appendChild(new _u(Number(i),void 0,void 0,t)),!0}else if(this._accept(13)){let t=this._until(1);if(t){let n=this._until(4);if(n)return e.appendChild(new _u(Number(i),void 0,t,n)),!0}}else{let t=this._until(4);if(t)return e.appendChild(new _u(Number(i),void 0,void 0,t)),!0}return this._backTo(t),!1}_parseAnything(e){return 14!==this._token.type&&(e.appendChild(new pu(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}var xu=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Su={Visible:new K.c("suggestWidgetVisible",!1),DetailsVisible:new K.c("suggestWidgetDetailsVisible",!1),MultipleSuggestions:new K.c("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new K.c("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new K.c("acceptSuggestionOnEnter",!0),HasInsertAndReplaceRange:new K.c("suggestionHasInsertAndReplaceRange",!1),CanResolve:new K.c("suggestionCanResolve",!1)},ku=new ye.b("suggestWidgetStatusBar");class Eu{constructor(e,t,n,i){this.position=e,this.completion=t,this.container=n,this.provider=i,this.isInvalid=!1,this.score=va.a.Default,this.distance=0,this.textLabel="string"==typeof t.label?t.label:t.label.name,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),ge.a.isIRange(t.range)?(this.editStart=new me.a(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new me.a(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new me.a(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||ge.a.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new me.a(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new me.a(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new me.a(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||ge.a.spansMultipleLines(t.range.insert)||ge.a.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),"function"!=typeof i.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return xu(this,void 0,void 0,(function*(){if(!this._resolveCache){const t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()},e=>{Object(Z.d)(e)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache}))}}class Tu{constructor(e=2,t=new Set,n=new Set){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n}}Tu.default=new Tu;class Lu{constructor(e,t,n){this.items=e,this.needsClipboard=t,this.dispoables=n}}function Nu(e,t,n=Tu.default,i={triggerKind:0},r=Xe.a.None){return xu(this,void 0,void 0,(function*(){t=t.clone();const o=e.getWordAtPosition(t),s=o?new ge.a(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):ge.a.fromPositions(t),a={replace:s,insert:s.setEndPosition(t.lineNumber,t.column)},l=[],c=new pe.b;let d=!1;const h=(e,i)=>{if(i){for(let r of i.suggestions)n.kindFilter.has(r.kind)||(r.range||(r.range=a),r.sortText||(r.sortText="string"==typeof r.label?r.label:r.label.name),!d&&r.insertTextRules&&4&r.insertTextRules&&(d=Cu.guessNeedsClipboard(r.insertText)),l.push(new Eu(t,r,i,e)));Object(pe.g)(i)&&c.add(i)}},u=(()=>xu(this,void 0,void 0,(function*(){})))();for(let o of et.d.orderedGroups(e)){let s=l.length;if(yield Promise.all(o.map(o=>xu(this,void 0,void 0,(function*(){if(!(n.providerFilter.size>0)||n.providerFilter.has(o))try{const n=yield o.provideCompletionItems(e,t,i,r);h(o,n)}catch(e){Object(Z.f)(e)}})))),s!==l.length||r.isCancellationRequested)break}return yield u,r.isCancellationRequested?(c.dispose(),Promise.reject(Object(Z.a)())):new Lu(l.sort(Ou(n.snippetSortOrder)),d,c)}))}function Iu(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLow<t.sortTextLow)return-1;if(e.sortTextLow>t.sortTextLow)return 1}return e.completion.label<t.completion.label?-1:e.completion.label>t.completion.label?1:e.completion.kind-t.completion.kind}const Du=new Map;function Ou(e){return Du.get(e)}Du.set(0,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return Iu(e,t)})),Du.set(2,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return Iu(e,t)})),Du.set(1,Iu),Object(V.j)("_executeCompletionItemProvider",(e,t,n)=>xu(void 0,void 0,void 0,(function*(){const i={incomplete:!1,suggestions:[]},r=[],o=n.maxItemsToResolve||0,s=yield Nu(e,t);for(const e of s.items)r.length<o&&r.push(e.resolve(Xe.a.None)),i.incomplete=i.incomplete||e.container.incomplete,i.suggestions.push(e.completion);try{return yield Promise.all(r),i}finally{setTimeout(()=>s.dispoables.dispose(),100)}})));const Au=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){let e={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,e}};et.d.register("*",Au);n(325);var Ru=n(169);function Mu(e){return e instanceof Qe.a}class Pu{constructor(e){this._delegates=e}resolve(e){for(const t of this._delegates){let n=t.resolve(e);if(void 0!==n)return n}}}class Fu{constructor(e,t,n,i){this._model=e,this._selection=t,this._selectionIdx=n,this._overtypingCapturer=i}resolve(e){const{name:t}=e;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){let t=this._model.getValueInRange(this._selection)||void 0,n=this._selection.startLineNumber!==this._selection.endLineNumber;if(!t&&this._overtypingCapturer){const e=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);e&&(t=e.value,n=e.multiline)}if(t&&n&&e.snippet){const n=this._model.getLineContent(this._selection.startLineNumber),i=Object(Ye.z)(n,0,this._selection.startColumn-1);let r=i;e.snippet.walk(t=>t!==e&&(t instanceof pu&&(r=Object(Ye.z)(t.value.split(/\r\n|\r|\n/).pop())),!0));const o=Object(Ye.d)(r,i);t=t.replace(/(\r\n|\r|\n)(.*)/g,(e,t,n)=>`${t}${r.substr(o)}${n}`)}return t}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){const e=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return e&&e.word||void 0}return"TM_LINE_INDEX"===t?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===t?String(this._selection.positionLineNumber):void 0}}class Wu{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const{name:t}=e;if("TM_FILENAME"===t)return pa.a(this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){const e=pa.a(this._model.uri.fsPath),t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}return"TM_DIRECTORY"===t&&this._labelService?"."===pa.b(this._model.uri.fsPath)?"":this._labelService.getUriLabel(Object(jt.d)(this._model.uri)):"TM_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri):void 0}}class zu{constructor(e,t,n,i){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=i}resolve(e){if("CLIPBOARD"!==e.name)return;const t=this._readClipboardText();if(t){if(this._spread){const e=t.split(/\r\n|\n|\r/).filter(e=>!Object(Ye.D)(e));if(e.length===this._selectionCount)return e[this._selectionIdx]}return t}}}class Bu{constructor(e,t){this._model=e,this._selection=t}resolve(e){const{name:t}=e,n=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),i=Pn.a.getComments(n);if(i)return"LINE_COMMENT"===t?i.lineCommentToken||void 0:"BLOCK_COMMENT_START"===t?i.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===t&&i.blockCommentEndToken||void 0}}class ju{resolve(e){const{name:t}=e;return"CURRENT_YEAR"===t?String((new Date).getFullYear()):"CURRENT_YEAR_SHORT"===t?String((new Date).getFullYear()).slice(-2):"CURRENT_MONTH"===t?String((new Date).getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===t?String((new Date).getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===t?String((new Date).getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===t?String((new Date).getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===t?String((new Date).getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===t?ju.dayNames[(new Date).getDay()]:"CURRENT_DAY_NAME_SHORT"===t?ju.dayNamesShort[(new Date).getDay()]:"CURRENT_MONTH_NAME"===t?ju.monthNames[(new Date).getMonth()]:"CURRENT_MONTH_NAME_SHORT"===t?ju.monthNamesShort[(new Date).getMonth()]:"CURRENT_SECONDS_UNIX"===t?String(Math.floor(Date.now()/1e3)):void 0}}ju.dayNames=[U.a("Sunday","Sunday"),U.a("Monday","Monday"),U.a("Tuesday","Tuesday"),U.a("Wednesday","Wednesday"),U.a("Thursday","Thursday"),U.a("Friday","Friday"),U.a("Saturday","Saturday")],ju.dayNamesShort=[U.a("SundayShort","Sun"),U.a("MondayShort","Mon"),U.a("TuesdayShort","Tue"),U.a("WednesdayShort","Wed"),U.a("ThursdayShort","Thu"),U.a("FridayShort","Fri"),U.a("SaturdayShort","Sat")],ju.monthNames=[U.a("January","January"),U.a("February","February"),U.a("March","March"),U.a("April","April"),U.a("May","May"),U.a("June","June"),U.a("July","July"),U.a("August","August"),U.a("September","September"),U.a("October","October"),U.a("November","November"),U.a("December","December")],ju.monthNamesShort=[U.a("JanuaryShort","Jan"),U.a("FebruaryShort","Feb"),U.a("MarchShort","Mar"),U.a("AprilShort","Apr"),U.a("MayShort","May"),U.a("JuneShort","Jun"),U.a("JulyShort","Jul"),U.a("AugustShort","Aug"),U.a("SeptemberShort","Sep"),U.a("OctoberShort","Oct"),U.a("NovemberShort","Nov"),U.a("DecemberShort","Dec")];class Vu{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;const t=function(e){return e.configuration?{configPath:e.configuration,id:e.id}:1===e.folders.length?e.folders[0].uri:void 0}(this._workspaceService.getWorkspace());return t?"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0:void 0}_resolveWorkspaceName(e){if(Mu(e))return pa.a(e.path);let t=pa.a(e.configPath.path);return t.endsWith("code-workspace")&&(t=t.substr(0,t.length-"code-workspace".length-1)),t}_resoveWorkspacePath(e){if(Mu(e))return ba(e.fsPath);let t=pa.a(e.configPath.path),n=e.configPath.fsPath;return n.endsWith(t)&&(n=n.substr(0,n.length-t.length-1)),n?ba(n):"/"}}class Uu{resolve(e){const{name:t}=e;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):void 0}}Object(we.g)((e,t)=>{function n(t){const n=e.getColor(t);return n?n.toString():"transparent"}t.addRule(`.monaco-editor .snippet-placeholder { background-color: ${n(ve.oc)}; outline-color: ${n(ve.pc)}; }`),t.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${n(ve.mc)}; outline-color: ${n(ve.nc)}; }`)});class Hu{constructor(e,t,n){this._nestingLevel=1,this._editor=e,this._snippet=t,this._offset=n,this._placeholderGroups=Object(G.m)(t.placeholders,gu.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations(t=>{for(const n of this._snippet.placeholders){const i=this._snippet.offset(n),r=this._snippet.fullLen(n),o=ge.a.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+r)),s=n.isFinalTabstop?Hu._decor.inactiveFinal:Hu._decor.inactive,a=t.addDecoration(o,s);this._placeholderDecorations.set(n,a)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(const t of this._placeholderGroups[this._placeholderGroupsIdx])if(t.transform){const n=this._placeholderDecorations.get(t),i=this._editor.getModel().getDecorationRange(n),r=this._editor.getModel().getValueInRange(i);e.push(Mn.a.replaceMove(i,t.transform.resolve(r)))}e.length>0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let t=!1;!0===e&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,t=!0):!1===e&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,t=!0);const n=this._editor.getModel().changeDecorations(e=>{const n=new Set,i=[];for(const r of this._placeholderGroups[this._placeholderGroupsIdx]){const o=this._placeholderDecorations.get(r),s=this._editor.getModel().getDecorationRange(o);i.push(new q.a(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(r),e.changeDecorationOptions(o,r.isFinalTabstop?Hu._decor.activeFinal:Hu._decor.active),n.add(r);for(const t of this._snippet.enclosingPlaceholders(r)){const i=this._placeholderDecorations.get(t);e.changeDecorationOptions(i,t.isFinalTabstop?Hu._decor.activeFinal:Hu._decor.active),n.add(t)}}for(const[t,i]of this._placeholderDecorations)n.has(t)||e.changeDecorationOptions(i,t.isFinalTabstop?Hu._decor.inactiveFinal:Hu._decor.inactive);return i});return t?this.move(e):null!=n?n:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof gu){const e=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(e).isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}computePossibleSelections(){const e=new Map;for(const t of this._placeholderGroups){let n;for(const i of t){if(i.isFinalTabstop)break;n||(n=[],e.set(i.index,n));const t=this._placeholderDecorations.get(i),r=this._editor.getModel().getDecorationRange(t);if(!r){e.delete(i.index);break}n.push(r)}}return e}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(e){const t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(n=>{for(const i of this._placeholderGroups[this._placeholderGroupsIdx]){const r=e.shift();console.assert(!r._placeholderDecorations);const o=r._snippet.placeholderInfo.last.index;for(const e of r._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=i.index+(o+1)/this._nestingLevel:e.index=i.index+e.index/this._nestingLevel;this._snippet.replace(i,r._snippet.children);const s=this._placeholderDecorations.get(i);n.removeDecoration(s),this._placeholderDecorations.delete(i);for(const e of r._snippet.placeholders){const i=r._snippet.offset(e),o=r._snippet.fullLen(e),s=ge.a.fromPositions(t.getPositionAt(r._offset+i),t.getPositionAt(r._offset+i+o)),a=n.addDecoration(s,Hu._decor.inactive);this._placeholderDecorations.set(e,a)}}this._placeholderGroups=Object(G.m)(this._snippet.placeholders,gu.compareByIndex)})}}Hu._decor={active:be.a.register({stickiness:0,className:"snippet-placeholder"}),inactive:be.a.register({stickiness:1,className:"snippet-placeholder"}),activeFinal:be.a.register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:be.a.register({stickiness:1,className:"finish-snippet-placeholder"})};const qu={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class $u{constructor(e,t,n=qu){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}static adjustWhitespace(e,t,n,i,r){const o=e.getLineContent(t.lineNumber),s=Object(Ye.z)(o,0,t.column-1);n.walk(t=>{if(t instanceof pu&&!(t.parent instanceof fu)){const n=t.value.split(/\r\n|\r|\n/);if(i)for(let t=1;t<n.length;t++){let i=Object(Ye.z)(n[t]);n[t]=e.normalizeIndentation(s+i)+n[t].substr(i.length)}if(r){const i=n.join(e.getEOL());i!==t.value&&t.parent.replace(t,[new pu(i)])}}return!0})}static adjustSelection(e,t,n,i){if(0!==n||0!==i){const{positionLineNumber:r,positionColumn:o}=t,s=o-n,a=o+i,l=e.validateRange({startLineNumber:r,startColumn:s,endLineNumber:r,endColumn:a});t=q.a.createWithDirection(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn,t.getDirection())}return t}static createEditsAndSnippets(e,t,n,i,r,o,s,a){const l=[],c=[];if(!e.hasModel())return{edits:l,snippets:c};const d=e.getModel(),h=e.invokeWithinContext(e=>e.get(Ru.a,gt.d)),u=e.invokeWithinContext(e=>new Wu(e.get(ha.a,gt.d),d)),p=()=>s;let m=0,g=d.getValueInRange($u.adjustSelection(d,e.getSelection(),n,0)),f=d.getValueInRange($u.adjustSelection(d,e.getSelection(),0,i)),b=d.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber);const _=e.getSelections().map((e,t)=>({selection:e,idx:t})).sort((e,t)=>ge.a.compareRangesUsingStarts(e.selection,t.selection));for(const{selection:s,idx:v}of _){let w=$u.adjustSelection(d,s,n,0),y=$u.adjustSelection(d,s,0,i);g!==d.getValueInRange(w)&&(w=s),f!==d.getValueInRange(y)&&(y=s);const C=s.setStartPosition(w.startLineNumber,w.startColumn).setEndPosition(y.endLineNumber,y.endColumn),x=(new Cu).parse(t,!0,r),S=C.getStartPosition();$u.adjustWhitespace(d,S,x,o||v>0&&b!==d.getLineFirstNonWhitespaceColumn(s.positionLineNumber),!0),x.resolveVariables(new Pu([u,new zu(p,v,_.length,"spread"===e.getOption(62)),new Fu(d,s,v,a),new Bu(d,s),new ju,new Vu(h),new Uu]));const k=d.getOffsetAt(S)+m;m+=x.toString().length-d.getValueLengthInRange(C),l[v]=Mn.a.replace(C,x.toString()),l[v].identifier={major:v,minor:0},c[v]=new Hu(e,x,k)}return{edits:l,snippets:c}}dispose(){Object(pe.f)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:e,snippets:t}=$u.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=t,this._editor.executeEdits("snippet",e,e=>this._snippets[0].hasPlaceholder?this._move(!0):e.filter(e=>!!e.identifier).map(e=>q.a.fromPositions(e.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=qu){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:n,snippets:i}=$u.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",n,e=>{for(const e of this._snippets)e.merge(i);return console.assert(0===i.length),this._snippets[0].hasPlaceholder?this._move(void 0):e.filter(e=>!!e.identifier).map(e=>q.a.fromPositions(e.range.getEndPosition()))})}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const n of this._snippets){const i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;let t=new Map;for(const n of this._snippets){const i=n.computePossibleSelections();if(0===t.size)for(const[n,r]of i){r.sort(ge.a.compareRangesUsingStarts);for(const i of e)if(r[0].containsRange(i)){t.set(n,[]);break}}if(0===t.size)return!1;t.forEach((e,t)=>{e.push(...i.get(t))})}e.sort(ge.a.compareRangesUsingStarts);for(let[n,i]of t)if(i.length===e.length){i.sort(ge.a.compareRangesUsingStarts);for(let r=0;r<i.length;r++)i[r].containsRange(e[r])||t.delete(n)}else t.delete(n);return t.size>0}}var Ku=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Gu=function(e,t){return function(n,i){t(n,i,e)}};const Yu={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let Zu=class e{constructor(t,n,i){this._editor=t,this._logService=n,this._snippetListener=new pe.b,this._modelVersionId=-1,this._inSnippet=e.InSnippetMode.bindTo(i),this._hasNextTabstop=e.HasNextTabstop.bindTo(i),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(i)}static get(t){return t.getContribution(e.ID)}dispose(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(pe.f)(this._session),this._snippetListener.dispose()}insert(e,t){try{this._doInsert(e,void 0===t?Yu:Object.assign(Object.assign({},Yu),t))}catch(t){this.cancel(),this._logService.error(t),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new $u(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(e=>e.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState())))}_updateState(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);const{choice:e}=this._session;var t,n;if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map(e=>q.a.fromPositions(e.getStartPosition())));const[i]=e.options;t=this._editor,n=e.options.map((e,t)=>({kind:13,label:e.value,insertText:e.value,sortText:"a".repeat(t+1),range:ge.a.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,i.value.length))})),setTimeout(()=>{Au.onlyOnceSuggestions.push(...n),t.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(Au))},0)}}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(pe.f)(this._session),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};Zu.ID="snippetController2",Zu.InSnippetMode=new K.c("inSnippetMode",!1),Zu.HasNextTabstop=new K.c("hasNextTabstop",!1),Zu.HasPrevTabstop=new K.c("hasPrevTabstop",!1),Zu=Ku([Gu(1,Kh.b),Gu(2,K.b)],Zu),Object(V.m)(Zu.ID,Zu);const Xu=V.c.bindToContribution(Zu.get);Object(V.l)(new Xu({id:"jumpToNextSnippetPlaceholder",precondition:K.a.and(Zu.InSnippetMode,Zu.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:H.a.editorTextFocus,primary:2}})),Object(V.l)(new Xu({id:"jumpToPrevSnippetPlaceholder",precondition:K.a.and(Zu.InSnippetMode,Zu.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:H.a.editorTextFocus,primary:1026}})),Object(V.l)(new Xu({id:"leaveSnippet",precondition:Zu.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:H.a.editorTextFocus,primary:9,secondary:[1033]}})),Object(V.l)(new Xu({id:"acceptSnippet",precondition:Zu.InSnippetMode,handler:e=>e.finish()}));var Qu=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Ju=function(e,t){return function(n,i){t(n,i,e)}};class ep{constructor(e){this.name=e}select(e,t,n){if(0===n.length)return 0;let i=n[0].score[0];for(let e=0;e<n.length;e++){const{score:t,completion:r}=n[e];if(t[0]!==i)break;if(r.preselect)return e}return 0}}class tp extends ep{constructor(){super("first")}memorize(e,t,n){}toJSON(){}fromJSON(){}}let np=class e{constructor(e,t,n){this._storageService=e,this._modeService=t,this._configService=n,this._disposables=new pe.b,this._persistSoon=new ue.d(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===fn.c.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,n){this._withStrategy(e,t).memorize(e,t,n),this._persistSoon.schedule()}select(e,t,n){return this._withStrategy(e,t).select(e,t,n)}_withStrategy(t,n){var i,r;const o=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:null===(i=this._modeService.getLanguageIdentifier(t.getLanguageIdAtPosition(n.lineNumber,n.column)))||void 0===i?void 0:i.language,resource:t.uri});if((null===(r=this._strategy)||void 0===r?void 0:r.name)!==o){this._saveState();const t=e._strategyCtors.get(o)||tp;this._strategy=new t;try{const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=this._storageService.get(`${e._storagePrefix}/${o}`,t);n&&this._strategy.fromJSON(JSON.parse(n))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=JSON.stringify(this._strategy);this._storageService.store(`${e._storagePrefix}/${this._strategy.name}`,n,t)}}};np._strategyCtors=new Map([["recentlyUsedByPrefix",class extends ep{constructor(){super("recentlyUsedByPrefix"),this._trie=gn.c.forStrings(),this._seq=0}memorize(e,t,n){const{word:i}=e.getWordUntilPosition(t),r=`${e.getLanguageIdentifier().language}/${i}`;this._trie.set(r,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})}select(e,t,n){let{word:i}=e.getWordUntilPosition(t);if(!i)return super.select(e,t,n);let r=`${e.getLanguageIdentifier().language}/${i}`,o=this._trie.get(r);if(o||(o=this._trie.findSubstr(r)),o)for(let e=0;e<n.length;e++){let{kind:t,insertText:i}=n[e].completion;if(t===o.type&&i===o.insertText)return e}return super.select(e,t,n)}toJSON(){let e=[];return this._trie.forEach((t,n)=>e.push([n,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(const[t,n]of e)n.type="number"==typeof n.type?n.type:Object(et.E)(n.type),this._trie.set(t,n)}}}],["recentlyUsed",class extends ep{constructor(){super("recentlyUsed"),this._cache=new gn.a(300,.66),this._seq=0}memorize(e,t,n){const{label:i}=n.completion,r=`${e.getLanguageIdentifier().language}/${i}`;this._cache.set(r,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})}select(e,t,n){if(0===n.length)return 0;const i=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(i))return super.select(e,t,n);let r=n[0].score[0],o=-1,s=-1,a=-1;for(let t=0;t<n.length&&n[t].score[0]===r;t++){const i=`${e.getLanguageIdentifier().language}/${n[t].completion.label}`,r=this._cache.peek(i);if(r&&r.touch>a&&r.type===n[t].completion.kind&&r.insertText===n[t].completion.insertText&&(a=r.touch,s=t),n[t].completion.preselect&&-1===o)return t}return-1!==s?s:-1!==o?o:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();for(const[t,n]of e)n.touch=0,n.type="number"==typeof n.type?n.type:Object(et.E)(n.type),this._cache.set(t,n);this._seq=this._cache.size}}],["first",tp]]),np._storagePrefix="suggest/memories",np=Qu([Ju(0,fn.a),Ju(1,Nl.a),Ju(2,Dn.a)],np);const ip=Object(gt.c)("ISuggestMemories");Object(mn.b)(ip,np,!0);var rp=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},op=function(e,t){return function(n,i){t(n,i,e)}};let sp=class e{constructor(t,n){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}dispose(){this.reset()}reset(){this._ckOtherSuggestions.reset(),Object(pe.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:t,index:n},i){if(0===t.items.length)return void this.reset();e._moveIndex(!0,t,n)!==n?(this._acceptNext=i,this._model=t,this._index=n,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)):this.reset()}static _moveIndex(e,t,n){let i=n;for(;i=(i+t.items.length+(e?1:-1))%t.items.length,i!==n&&t.items[i].completion.additionalTextEdits;);return i}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};sp.OtherSuggestions=new K.c("hasOtherSuggestions",!1),sp=rp([op(1,K.b)],sp);class ap{constructor(e,t,n,i,r,o,s){this.clipboardText=s,this._snippetCompareFn=ap._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=i,this._options=r,this._refilterKind=1,this._lineContext=n,"top"===o?this._snippetCompareFn=ap._compareCompletionItemsSnippetsUp:"bottom"===o&&(this._snippetCompareFn=ap._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}get allProvider(){return this._ensureCachedState(),this._allProvider}get incomplete(){return this._ensureCachedState(),this._isIncomplete}adopt(e){let t=[];for(let n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._isIncomplete=new Set,this._allProvider=new Set,this._stats={suggestionCount:0,snippetCount:0,textCount:0};const{leadingLineContent:e,characterCountDelta:t}=this._lineContext;let n="",i="";const r=1===this._refilterKind?this._items:this._filteredItems,o=[],s=!this._options.filterGraceful||r.length>2e3?va.d:va.e;for(let a=0;a<r.length;a++){const l=r[a];if(l.isInvalid)continue;l.container.incomplete&&this._isIncomplete.add(l.provider),this._allProvider.add(l.provider);const c=l.position.column-l.editStart.column,d=c+t-(l.position.column-this._column);if(n.length!==d&&(n=0===d?"":e.slice(-d),i=n.toLowerCase()),l.word=n,0===d)l.score=va.a.Default;else{let e=0;for(;e<c;){const t=n.charCodeAt(e);if(32!==t&&9!==t)break;e+=1}const t="string"==typeof l.completion.label?l.completion.label:l.completion.label.name;if(e>=d)l.score=va.a.Default;else if("string"==typeof l.completion.filterText){let r=s(n,i,e,l.completion.filterText,l.filterTextLow,0,!1);if(!r)continue;0===Object(Ye.g)(l.completion.filterText,t)?l.score=r:(l.score=Object(va.b)(n,i,e,t,l.labelLow,0),l.score[0]=r[0])}else{let r=s(n,i,e,t,l.labelLow,0,!1);if(!r)continue;l.score=r}}switch(l.idx=a,l.distance=this._wordDistance.distance(l.position,l.completion),o.push(l),this._stats.suggestionCount++,l.completion.kind){case 27:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=o.sort(this._snippetCompareFn),this._refilterKind=0}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return ap._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return ap._compareCompletionItems(e,t)}}var lp=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class cp{static create(e,t){return lp(this,void 0,void 0,(function*(){if(!t.getOption(96).localityBonus)return cp.None;if(!t.hasModel())return cp.None;const n=t.getModel(),i=t.getPosition();if(!e.canComputeWordRanges(n.uri))return cp.None;const[r]=yield(new ou).provideSelectionRanges(n,[i]);if(0===r.length)return cp.None;const o=yield e.computeWordRanges(n.uri,r[0].range);if(!o)return cp.None;const s=n.getWordUntilPosition(i);return delete o[s.word],new class extends cp{distance(e,n){if(!i.equals(t.getPosition()))return 0;if(17===n.kind)return 2<<20;let s="string"==typeof n.label?n.label:n.label.name,a=o[s];if(Object(G.n)(a))return 2<<20;let l=Object(G.c)(a,ge.a.fromPositions(e),ge.a.compareRangesUsingStarts),c=l>=0?a[l]:a[Math.max(0,~l-1)],d=r.length;for(const e of r){if(!ge.a.containsRange(e.range,c))break;d-=1}return d}}}))}}cp.None=new class extends cp{distance(){return 0}};var dp=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class hp{constructor(e,t,n,i){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=n,this.shy=i}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);const i=t.getWordAtPosition(n);return!!i&&(i.endColumn===n.column&&!!isNaN(Number(i.word)))}}class up{constructor(e,t,n){this._editor=e,this._editorWorkerService=t,this._clipboardService=n,this._toDispose=new pe.b,this._quickSuggestDelay=10,this._triggerCharacterListener=new pe.b,this._triggerQuickSuggest=new ue.e,this._state=0,this._completionDisposables=new pe.b,this._onDidCancel=new Lt.a,this._onDidTrigger=new Lt.a,this._onDidSuggest=new Lt.a,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._currentSelection=this._editor.getSelection()||new q.a(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()})),this._toDispose.add(et.d.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._onCursorChange(e)}));let i=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{i=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{i=!1,this._refilterCompletionItems()})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{i||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){Object(pe.f)(this._triggerCharacterListener),Object(pe.f)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(71),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(72)||!this._editor.hasModel()||!this._editor.getOption(99))return;const e=new Map;for(const t of et.d.all(this._editor.getModel()))for(const n of t.triggerCharacters||[]){let i=e.get(n);i||(i=new Set,i.add(void 0),e.set(n,i)),i.add(t)}const t=t=>{if(!t){const e=this._editor.getPosition();t=this._editor.getModel().getLineContent(e.lineNumber).substr(0,e.column-1)}let n="";Object(Ye.G)(t.charCodeAt(t.length-1))?Object(Ye.F)(t.charCodeAt(t.length-2))&&(n=t.substr(t.length-2)):n=t.charAt(t.length-1);const i=e.get(n);if(i){const e=this._completionModel?{items:this._completionModel.adopt(i),clipboardText:this._completionModel.clipboardText}:void 0;this.trigger({auto:!0,shy:!1,triggerCharacter:n},Boolean(this._completionModel),i,e)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(t))}get state(){return this._state}cancel(e=!1){0!==this._state&&(this._triggerQuickSuggest.cancel(),this._requestToken&&(this._requestToken.cancel(),this._requestToken=void 0),this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&et.d.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source)this.cancel();else if(et.d.has(t)&&0===this._state){if(!1===this._editor.getOption(70))return;if(!n.containsRange(this._currentSelection)&&!n.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))return;if(this._editor.getOption(96).snippetsPreventQuickSuggestions&&Zu.get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(0!==this._state)return;if(!hp.shouldAutoTrigger(this._editor))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=this._editor.getOption(70);if(!1!==n){if(!0===n);else{e.tokenizeIfCheap(t.lineNumber);const i=e.getLineTokens(t.lineNumber),r=i.getStandardTokenType(i.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if(!(n.other&&0===r||n.comments&&1===r||n.strings&&2===r))return}this.trigger({auto:!0,shy:!1})}},this._quickSuggestDelay)}}_refilterCompletionItems(){Promise.resolve().then(()=>{if(0===this._state)return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=new hp(e,t,2===this._state,!1);this._onNewContext(n)})}trigger(e,t=!1,n,i){var r;if(!this._editor.hasModel())return;const o=this._editor.getModel(),s=e.auto,a=new hp(o,this._editor.getPosition(),s,e.shy);this.cancel(t),this._state=s?2:1,this._onDidTrigger.fire({auto:s,shy:e.shy,position:this._editor.getPosition()}),this._context=a;let l={triggerKind:null!==(r=e.triggerKind)&&void 0!==r?r:0};e.triggerCharacter&&(l={triggerKind:1,triggerCharacter:e.triggerCharacter}),this._requestToken=new Xe.b;const c=this._editor.getOption(93);let d=1;switch(c){case"top":d=0;break;case"bottom":d=2}let h=up._createItemKindFilter(this._editor),u=cp.create(this._editorWorkerService,this._editor),p=Nu(o,this._editor.getPosition(),new Tu(d,h,n),l,this._requestToken.token);Promise.all([p,u]).then(([t,n])=>dp(this,void 0,void 0,(function*(){if(Object(pe.f)(this._requestToken),0===this._state)return;if(!this._editor.hasModel())return;let r=null==i?void 0:i.clipboardText;!r&&t.needsClipboard&&(r=yield this._clipboardService.readText());const o=this._editor.getModel();let a=t.items;if(i){const e=Ou(d);a=a.concat(i.items).sort(e)}const l=new hp(o,this._editor.getPosition(),s,e.shy);this._completionModel=new ap(a,this._context.column,{leadingLineContent:l.leadingLineContent,characterCountDelta:l.column-this._context.column},n,this._editor.getOption(96),this._editor.getOption(93),r),this._completionDisposables.add(t.dispoables),this._onNewContext(l)}))).catch(Z.e)}static _createItemKindFilter(e){const t=new Set;"none"===e.getOption(93)&&t.add(27);const n=e.getOption(96);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),t}_onNewContext(e){if(this._context)if(e.lineNumber===this._context.lineNumber){if(e.leadingWord.startColumn<this._context.leadingWord.startColumn)this.cancel();else if(e.column<this._context.column)e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(0!==e.leadingWord.word.length&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){const e=new Set(et.d.all(this._editor.getModel()));this._completionModel.allProvider.forEach(t=>e.delete(t));const t=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){const{incomplete:e}=this._completionModel,t=this._completionModel.adopt(e);this.trigger({auto:2===this._state,shy:!1,triggerKind:2},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else{let t=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(hp.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=t,n=this._completionModel.items.length>0,n&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}else this.cancel()}}n(327),n(329),n(154),n(331),n(333);const pp=Object(ve.gc)("symbolIcon.arrayForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),mp=Object(ve.gc)("symbolIcon.booleanForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),gp=Object(ve.gc)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),fp=Object(ve.gc)("symbolIcon.colorForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),bp=Object(ve.gc)("symbolIcon.constantForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_p=Object(ve.gc)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),vp=Object(ve.gc)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),wp=Object(ve.gc)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),yp=Object(ve.gc)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(U.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Cp=Object(ve.gc)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),xp=Object(ve.gc)("symbolIcon.fileForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Sp=Object(ve.gc)("symbolIcon.folderForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),kp=Object(ve.gc)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ep=Object(ve.gc)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Tp=Object(ve.gc)("symbolIcon.keyForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Lp=Object(ve.gc)("symbolIcon.keywordForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Np=Object(ve.gc)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(U.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ip=Object(ve.gc)("symbolIcon.moduleForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Dp=Object(ve.gc)("symbolIcon.namespaceForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Op=Object(ve.gc)("symbolIcon.nullForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ap=Object(ve.gc)("symbolIcon.numberForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Rp=Object(ve.gc)("symbolIcon.objectForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Mp=Object(ve.gc)("symbolIcon.operatorForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pp=Object(ve.gc)("symbolIcon.packageForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Fp=Object(ve.gc)("symbolIcon.propertyForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Wp=Object(ve.gc)("symbolIcon.referenceForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),zp=Object(ve.gc)("symbolIcon.snippetForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Bp=Object(ve.gc)("symbolIcon.stringForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),jp=Object(ve.gc)("symbolIcon.structForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Vp=Object(ve.gc)("symbolIcon.textForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Up=Object(ve.gc)("symbolIcon.typeParameterForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Hp=Object(ve.gc)("symbolIcon.unitForeground",{dark:ve.ab,light:ve.ab,hc:ve.ab},Object(U.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),qp=Object(ve.gc)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(U.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(we.g)((e,t)=>{const n=e.getColor(pp);n&&t.addRule(`${Y.a.symbolArray.cssSelector} { color: ${n}; }`);const i=e.getColor(mp);i&&t.addRule(`${Y.a.symbolBoolean.cssSelector} { color: ${i}; }`);const r=e.getColor(gp);r&&t.addRule(`${Y.a.symbolClass.cssSelector} { color: ${r}; }`);const o=e.getColor(Np);o&&t.addRule(`${Y.a.symbolMethod.cssSelector} { color: ${o}; }`);const s=e.getColor(fp);s&&t.addRule(`${Y.a.symbolColor.cssSelector} { color: ${s}; }`);const a=e.getColor(bp);a&&t.addRule(`${Y.a.symbolConstant.cssSelector} { color: ${a}; }`);const l=e.getColor(_p);l&&t.addRule(`${Y.a.symbolConstructor.cssSelector} { color: ${l}; }`);const c=e.getColor(vp);c&&t.addRule(`\n\t\t\t${Y.a.symbolValue.cssSelector},${Y.a.symbolEnum.cssSelector} { color: ${c}; }`);const d=e.getColor(wp);d&&t.addRule(`${Y.a.symbolEnumMember.cssSelector} { color: ${d}; }`);const h=e.getColor(yp);h&&t.addRule(`${Y.a.symbolEvent.cssSelector} { color: ${h}; }`);const u=e.getColor(Cp);u&&t.addRule(`${Y.a.symbolField.cssSelector} { color: ${u}; }`);const p=e.getColor(xp);p&&t.addRule(`${Y.a.symbolFile.cssSelector} { color: ${p}; }`);const m=e.getColor(Sp);m&&t.addRule(`${Y.a.symbolFolder.cssSelector} { color: ${m}; }`);const g=e.getColor(kp);g&&t.addRule(`${Y.a.symbolFunction.cssSelector} { color: ${g}; }`);const f=e.getColor(Ep);f&&t.addRule(`${Y.a.symbolInterface.cssSelector} { color: ${f}; }`);const b=e.getColor(Tp);b&&t.addRule(`${Y.a.symbolKey.cssSelector} { color: ${b}; }`);const _=e.getColor(Lp);_&&t.addRule(`${Y.a.symbolKeyword.cssSelector} { color: ${_}; }`);const v=e.getColor(Ip);v&&t.addRule(`${Y.a.symbolModule.cssSelector} { color: ${v}; }`);const w=e.getColor(Dp);w&&t.addRule(`${Y.a.symbolNamespace.cssSelector} { color: ${w}; }`);const y=e.getColor(Op);y&&t.addRule(`${Y.a.symbolNull.cssSelector} { color: ${y}; }`);const C=e.getColor(Ap);C&&t.addRule(`${Y.a.symbolNumber.cssSelector} { color: ${C}; }`);const x=e.getColor(Rp);x&&t.addRule(`${Y.a.symbolObject.cssSelector} { color: ${x}; }`);const S=e.getColor(Mp);S&&t.addRule(`${Y.a.symbolOperator.cssSelector} { color: ${S}; }`);const k=e.getColor(Pp);k&&t.addRule(`${Y.a.symbolPackage.cssSelector} { color: ${k}; }`);const E=e.getColor(Fp);E&&t.addRule(`${Y.a.symbolProperty.cssSelector} { color: ${E}; }`);const T=e.getColor(Wp);T&&t.addRule(`${Y.a.symbolReference.cssSelector} { color: ${T}; }`);const L=e.getColor(zp);L&&t.addRule(`${Y.a.symbolSnippet.cssSelector} { color: ${L}; }`);const N=e.getColor(Bp);N&&t.addRule(`${Y.a.symbolString.cssSelector} { color: ${N}; }`);const I=e.getColor(jp);I&&t.addRule(`${Y.a.symbolStruct.cssSelector} { color: ${I}; }`);const D=e.getColor(Vp);D&&t.addRule(`${Y.a.symbolText.cssSelector} { color: ${D}; }`);const O=e.getColor(Up);O&&t.addRule(`${Y.a.symbolTypeParameter.cssSelector} { color: ${O}; }`);const A=e.getColor(Hp);A&&t.addRule(`${Y.a.symbolUnit.cssSelector} { color: ${A}; }`);const R=e.getColor(qp);R&&t.addRule(`${Y.a.symbolVariable.cssSelector} { color: ${R}; }`)});var $p,Kp=n(113),Gp=n(146);function Yp(e,t,n,i){const r=i===$p.ROOT_FOLDER?["rootfolder-icon"]:i===$p.FOLDER?["folder-icon"]:["file-icon"];if(n){let o;if(n.scheme===la.b.data){o=jt.a.parseMetaData(n).get(jt.a.META_DATA_LABEL)}else o=Zp(Object(jt.c)(n).toLowerCase());if(i===$p.FOLDER)r.push(o+"-name-folder-icon");else{if(o){r.push(o+"-name-file-icon");const e=o.split(".");for(let t=1;t<e.length;t++)r.push(e.slice(t).join(".")+"-ext-file-icon");r.push("ext-file-icon")}const i=function(e,t,n){if(!n)return null;let i=null;if(n.scheme===la.b.data){const e=jt.a.parseMetaData(n).get(jt.a.META_DATA_MIME);e&&(i=t.getModeId(e))}else{const t=e.getModel(n);t&&(i=t.getModeId())}if(i&&i!==Gp.c)return i;return t.getModeIdByFilepathOrFirstLine(n)}(e,t,n);i&&r.push(Zp(i)+"-lang-file-icon")}}return r}function Zp(e){return e.replace(/\s/g,"\\$&")}!function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}($p||($p={}));var Xp=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Qp=function(e,t){return function(n,i){t(n,i,e)}},Jp=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const em=Object(Y.e)("suggest-more-info",Y.a.chevronRight),tm=Object(ve.gc)("editorSuggestWidget.background",{dark:ve.U,light:ve.U,hc:ve.U},U.a("editorSuggestWidgetBackground","Background color of the suggest widget.")),nm=Object(ve.gc)("editorSuggestWidget.border",{dark:ve.V,light:ve.V,hc:ve.V},U.a("editorSuggestWidgetBorder","Border color of the suggest widget.")),im=Object(ve.gc)("editorSuggestWidget.foreground",{dark:ve.B,light:ve.B,hc:ve.B},U.a("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),rm=Object(ve.gc)("editorSuggestWidget.selectedBackground",{dark:ve.xb,light:ve.xb,hc:ve.xb},U.a("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),om=Object(ve.gc)("editorSuggestWidget.highlightForeground",{dark:ve.zb,light:ve.zb,hc:ve.zb},U.a("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),sm=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i;function am(e){if(!e)return!1;const t=e.completion;return!!t.documentation||t.detail&&t.detail!==t.label}function lm(e){return"suggest-aria-id:"+e}let cm=class{constructor(e,t,n,i,r,o){this.widget=e,this.editor=t,this.triggerKeybindingLabel=n,this._modelService=i,this._modeService=r,this._themeService=o}get templateId(){return"suggestion"}renderTemplate(e){const t=Object.create(null);t.disposables=new pe.b,t.root=e,t.root.classList.add("show-file-icons"),t.icon=Object(ft.p)(e,Object(ft.a)(".icon")),t.colorspan=Object(ft.p)(t.icon,Object(ft.a)("span.colorspan"));const n=Object(ft.p)(e,Object(ft.a)(".contents")),i=Object(ft.p)(n,Object(ft.a)(".main"));t.iconContainer=Object(ft.p)(i,Object(ft.a)(".icon-label.codicon")),t.left=Object(ft.p)(i,Object(ft.a)("span.left")),t.right=Object(ft.p)(i,Object(ft.a)("span.right")),t.iconLabel=new ca.a(t.left,{supportHighlights:!0,supportCodicons:!0}),t.disposables.add(t.iconLabel),t.parametersLabel=Object(ft.p)(t.left,Object(ft.a)("span.signature-label")),t.qualifierLabel=Object(ft.p)(t.left,Object(ft.a)("span.qualifier-label")),t.detailsLabel=Object(ft.p)(t.right,Object(ft.a)("span.details-label")),t.readMore=Object(ft.p)(t.right,Object(ft.a)("span.readMore"+em.cssSelector)),t.readMore.title=U.a("readMore","Read More ({0})",this.triggerKeybindingLabel);const r=()=>{const e=this.editor.getOptions(),n=e.get(36),r=n.fontFamily,o=n.fontFeatureSettings,s=e.get(97)||n.fontSize,a=e.get(98)||n.lineHeight,l=n.fontWeight,c=s+"px",d=a+"px";t.root.style.fontSize=c,t.root.style.fontWeight=l,i.style.fontFamily=r,i.style.fontFeatureSettings=o,i.style.lineHeight=d,t.icon.style.height=d,t.icon.style.width=d,t.readMore.style.height=d,t.readMore.style.width=d};return r(),t.disposables.add(Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(36)||e.hasChanged(97)||e.hasChanged(98)).on(r,null)),t}renderElement(e,t,n){const i=n,r=e.completion,o="string"==typeof r.label?r.label:r.label.name;i.root.id=lm(t),i.colorspan.style.backgroundColor="";const s={labelEscapeNewLines:!0,matches:Object(va.c)(e.score)};let a=[];if(19===r.kind&&function(e,t){const n="string"==typeof e.completion.label?e.completion.label:e.completion.label.name;return n.match(sm)?(t[0]=n,!0):!("string"!=typeof e.completion.documentation||!e.completion.documentation.match(sm))&&(t[0]=e.completion.documentation,!0)}(e,a))i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=a[0];else if(20===r.kind&&this._themeService.getFileIconTheme().hasFileIcons){i.icon.className="icon hide",i.iconContainer.className="icon hide";const e=Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:o}),$p.FILE),t=Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:r.detail}),$p.FILE);s.extraClasses=e.length>t.length?e:t}else 23===r.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",s.extraClasses=Object(G.l)([Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:o}),$p.FOLDER),Yp(this._modelService,this._modeService,Qe.a.from({scheme:"fake",path:r.detail}),$p.FOLDER)])):(i.icon.className="icon hide",i.iconContainer.className="",Object(ft.f)(i.iconContainer,"suggest-icon "+Object(et.F)(r.kind)));r.tags&&r.tags.indexOf(1)>=0&&(s.extraClasses=(s.extraClasses||[]).concat(["deprecated"]),s.matches=[]),i.iconLabel.setLabel(o,void 0,s),"string"==typeof r.label?(i.parametersLabel.textContent="",i.qualifierLabel.textContent="",i.detailsLabel.textContent=(r.detail||"").replace(/\n.*$/m,""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=(r.label.parameters||"").replace(/\n.*$/m,""),i.qualifierLabel.textContent=(r.label.qualifier||"").replace(/\n.*$/m,""),i.detailsLabel.textContent=(r.label.type||"").replace(/\n.*$/m,""),i.root.classList.remove("string-label")),am(e)?(i.right.classList.add("can-expand-details"),Object(ft.Z)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this.widget.toggleDetails()}):(i.right.classList.remove("can-expand-details"),Object(ft.K)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};cm=Xp([Qp(3,tt.a),Qp(4,Nl.a),Qp(5,we.c)],cm);class dm{constructor(e,t,n,i,r){this.widget=t,this.editor=n,this.markdownRenderer=i,this.kbToggleDetails=r,this.borderWidth=1,this.disposables=new pe.b,this.el=Object(ft.p)(e,Object(ft.a)(".details")),this.disposables.add(Object(pe.h)(()=>e.removeChild(this.el))),this.body=Object(ft.a)(".body"),this.scrollbar=new Bl.a(this.body,{}),Object(ft.p)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(ft.p)(this.body,Object(ft.a)(".header")),this.close=Object(ft.p)(this.header,Object(ft.a)("span"+Y.a.close.cssSelector)),this.close.title=U.a("readLess","Read Less ({0})",this.kbToggleDetails),this.type=Object(ft.p)(this.header,Object(ft.a)("p.type")),this.docs=Object(ft.p)(this.body,Object(ft.a)("p.docs")),this.configureFont(),Lt.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(36)).on(this.configureFont,this,this.disposables),i.onDidRenderCodeBlock(()=>this.scrollbar.scanDomNode(),this,this.disposables)}get element(){return this.el}renderLoading(){this.type.textContent=U.a("loading","Loading..."),this.docs.textContent=""}renderItem(e,t){Object(pe.f)(this.renderDisposeable),this.renderDisposeable=void 0;let{documentation:n,detail:i}=e.completion;if(t){let t="";t+=`score: ${e.score[0]}${e.word?`, compared '${e.completion.filterText&&e.completion.filterText+" (filterText)"||e.completion.label}' with '${e.word}'`:" (no prefix)"}\n`,t+=`distance: ${e.distance}, see localityBonus-setting\n`,t+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"}\n`,n=(new X).appendCodeblock("empty",t),i="Provider: "+e.provider._debugDisplayName}if(!t&&!am(e))return this.type.textContent="",this.docs.textContent="",void this.el.classList.add("no-docs");if(this.el.classList.remove("no-docs"),"string"==typeof n)this.docs.classList.remove("markdown-docs"),this.docs.textContent=n;else{this.docs.classList.add("markdown-docs"),this.docs.innerText="";const e=this.markdownRenderer.render(n);this.renderDisposeable=e,this.docs.appendChild(e.element)}i?(this.type.innerText=i.length>1e5?i.substr(0,1e5)+"…":i,Object(ft.Z)(this.type)):(this.type.innerText="",Object(ft.K)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this.close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()}scrollDown(e=8){this.body.scrollTop+=e}scrollUp(e=8){this.body.scrollTop-=e}scrollTop(){this.body.scrollTop=0}scrollBottom(){this.body.scrollTop=this.body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}setBorderWidth(e){this.borderWidth=e}configureFont(){const e=this.editor.getOptions(),t=e.get(36),n=t.fontFamily,i=e.get(97)||t.fontSize,r=e.get(98)||t.lineHeight,o=t.fontWeight,s=i+"px",a=r+"px";this.el.style.fontSize=s,this.el.style.fontWeight=o,this.el.style.fontFeatureSettings=t.fontFeatureSettings,this.type.style.fontFamily=n,this.close.style.height=a,this.close.style.width=a}dispose(){this.disposables.dispose(),Object(pe.f)(this.renderDisposeable),this.renderDisposeable=void 0}}let hm=class e{constructor(e,t,n,i,r,o,s,a,l,c){var d,h;this.editor=e,this.telemetryService=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=0,this.isAddedAsContentWidget=!1,this.isAuto=!1,this.loadingTimeout=pe.a.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new ue.e,this.toDispose=new pe.b,this.onDidSelectEmitter=new Lt.a,this.onDidFocusEmitter=new Lt.a,this.onDidHideEmitter=new Lt.a,this.onDidShowEmitter=new Lt.a,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new Lt.a,this.onDetailsKeyDown=this._onDetailsKeydown.event;const u=this.toDispose.add(new Bc(e,s,a)),p=null!==(h=null===(d=n.lookupKeybinding("toggleSuggestionDetails"))||void 0===d?void 0:d.getLabel())&&void 0!==h?h:"";this.isAuto=!1,this.focusedItem=null,this.storageService=o,this.element=Object(ft.a)(".editor-widget.suggest-widget"),this.toDispose.add(Object(ft.i)(this.element,"click",e=>{e.target===this.element&&this.hideWidget()})),this.messageElement=Object(ft.p)(this.element,Object(ft.a)(".message")),this.listElement=Object(ft.p)(this.element,Object(ft.a)(".tree"));const m=()=>this.element.classList.toggle("with-status-bar",this.editor.getOption(96).statusBar.visible);m(),this.statusBarElement=Object(ft.p)(this.element,Object(ft.a)(".suggest-status-bar"));const g=e=>{const t=n.lookupKeybindings(e.id);return new class extends jn.a{constructor(){super(void 0,e,{label:!0,icon:!1})}updateLabel(){if(Object(G.n)(t)||!this.label)return super.updateLabel();const{label:e}=this.getAction();this.label.textContent=/{\d}/.test(e)?Ye.x(this.getAction().label,t[0].getLabel()):`${this.getAction().label} (${t[0].getLabel()})`}}},f=new ds.a(this.statusBarElement,{actionViewItemProvider:g}),b=new ds.a(this.statusBarElement,{actionViewItemProvider:g}),_=l.createMenu(ku,i);this.toDispose.add(_.onDidChange(()=>(()=>{const e=[],t=[];for(let[n,i]of _.getActions())"left"===n?e.push(...i):t.push(...i);f.clear(),f.push(e),b.clear(),b.push(t)})())),this.toDispose.add(_),this.details=c.createInstance(dm,this.element,this,this.editor,u,p);const v=()=>this.element.classList.toggle("no-icons",!this.editor.getOption(96).showIcons);v();let w=c.createInstance(cm,this,this.editor,p);this.list=new Kp.c("SuggestWidget",this.listElement,this,[w],{useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:e=>{const t="string"==typeof e.completion.label?e.completion.label:e.completion.label.name;if(e.isResolved&&this.expandDocsSettingFromStorage()){const{documentation:n,detail:i}=e.completion,r=Ye.x("{0}{1}",i||"",n?"string"==typeof n?n:n.value:"");return U.a("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,r)}return t},getWidgetAriaLabel:()=>U.a("suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this.toDispose.add(Object(ua.b)(this.list,r,{listInactiveFocusBackground:rm,listInactiveFocusOutline:ve.b})),this.toDispose.add(r.onDidColorThemeChange(e=>this.onThemeChange(e))),this.toDispose.add(e.onDidLayoutChange(()=>this.onEditorLayoutChange())),this.toDispose.add(this.list.onMouseDown(e=>this.onListMouseDownOrTap(e))),this.toDispose.add(this.list.onTap(e=>this.onListMouseDownOrTap(e))),this.toDispose.add(this.list.onDidChangeSelection(e=>this.onListSelection(e))),this.toDispose.add(this.list.onDidChangeFocus(e=>this.onListFocus(e))),this.toDispose.add(this.editor.onDidChangeCursorSelection(()=>this.onCursorSelectionChanged())),this.toDispose.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(96)&&(m(),v())})),this.ctxSuggestWidgetVisible=Su.Visible.bindTo(i),this.ctxSuggestWidgetDetailsVisible=Su.DetailsVisible.bindTo(i),this.ctxSuggestWidgetMultipleSuggestions=Su.MultipleSuggestions.bindTo(i),this.onThemeChange(r.getColorTheme()),this.toDispose.add(Object(ft.n)(this.details.element,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this.toDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e)))}onEditorMouseDown(e){this.details.element.contains(e.target.element)?this.details.element.focus():this.element.contains(e.target.element)&&this.editor.focus()}onCursorSelectionChanged(){0!==this.state&&this.editor.layoutContentWidget(this)}onEditorLayoutChange(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()}onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))}onListSelection(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])}select(e,t){const n=this.completionModel;n&&(this.onDidSelectEmitter.fire({item:e,index:t,model:n}),this.editor.focus())}onThemeChange(e){const t=e.getColor(tm);t&&(this.listElement.style.backgroundColor=t.toString(),this.statusBarElement.style.backgroundColor=t.toString(),this.details.element.style.backgroundColor=t.toString(),this.messageElement.style.backgroundColor=t.toString());const n=e.getColor(nm);n&&(this.listElement.style.borderColor=n.toString(),this.statusBarElement.style.borderColor=n.toString(),this.details.element.style.borderColor=n.toString(),this.messageElement.style.borderColor=n.toString(),this.detailsBorderColor=n.toString());const i=e.getColor(ve.Z);i&&(this.detailsFocusBorderColor=i.toString()),this.details.setBorderWidth("hc"===e.type?2:1)}onListFocus(e){if(this.ignoreFocusEvents)return;if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this.editor.setAriaOptions({activeDescendant:void 0});if(!this.completionModel)return;const t=e.elements[0],n=e.indexes[0];this.firstFocusInCurrentList=!this.focusedItem,t!==this.focusedItem&&(this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=t,this.list.reveal(n),this.currentSuggestionDetails=Object(ue.f)(e=>Jp(this,void 0,void 0,(function*(){const n=Object(ue.g)(()=>this.showDetails(!0),250);e.onCancellationRequested(()=>n.dispose());const i=yield t.resolve(e);return n.dispose(),i}))),this.currentSuggestionDetails.then(()=>{n>=this.list.length||t!==this.list.element(n)||(this.ignoreFocusEvents=!0,this.list.splice(n,1,[t]),this.list.setFocus([n]),this.ignoreFocusEvents=!1,this.expandDocsSettingFromStorage()?this.showDetails(!1):this.element.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:lm(n)}))}).catch(Z.e)),this.onDidFocusEmitter.fire({item:t,index:n,model:this.completionModel})}setState(t){if(!this.element)return;this.isAddedAsContentWidget||0===t||(this.isAddedAsContentWidget=!0,this.editor.addContentWidget(this));const n=this.state!==t;switch(this.state=t,this.element.classList.toggle("frozen",4===t),t){case 0:Object(ft.K)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,n&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=e.LOADING_MESSAGE,Object(ft.K)(this.listElement,this.details.element,this.statusBarElement),Object(ft.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,Object(ft.K)(this.listElement,this.details.element,this.statusBarElement),Object(ft.Z)(this.messageElement),this.element.classList.remove("docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(ft.K)(this.messageElement),Object(ft.Z)(this.listElement,this.statusBarElement),this.show();break;case 4:Object(ft.K)(this.messageElement),Object(ft.Z)(this.listElement),this.show();break;case 5:Object(ft.K)(this.messageElement),Object(ft.Z)(this.details.element,this.listElement,this.statusBarElement),this.show()}}showTriggered(e,t){0===this.state&&(this.isAuto=!!e,this.isAuto||(this.loadingTimeout=Object(ue.g)(()=>this.setState(1),t)))}showSuggestions(e,t,n,i){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==e&&(this.completionModel=e),n&&2!==this.state&&0!==this.state)return void this.setState(4);let r=this.completionModel.items.length;const o=0===r;if(this.ctxSuggestWidgetMultipleSuggestions.set(r>1),o)i?this.setState(0):this.setState(2),this.completionModel=null;else{if(3!==this.state){const{stats:e}=this.completionModel;e.wasAutomaticallyTriggered=!!i,this.telemetryService.publicLog("suggestWidget",Object.assign({},e))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),n?this.setState(4):this.setState(3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}selectNextPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}}selectNext(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}}selectLast(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}}selectPreviousPage(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}}selectPrevious(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}}selectFirst(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}}getFocusedItem(){if(0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}}toggleDetailsFocus(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")}toggleDetails(){if(am(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.ctxSuggestWidgetDetailsVisible.set(!1),this.updateExpandDocsSetting(!1),Object(ft.K)(this.details.element),this.element.classList.remove("docs-side","doc-below"),this.editor.layoutContentWidget(this),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.ctxSuggestWidgetDetailsVisible.set(!0),this.updateExpandDocsSetting(!0),this.showDetails(!1),this.telemetryService.publicLog2("suggestWidget:expandDetails")}}showDetails(e){e||this.expandSideOrBelow(),Object(ft.Z)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",e?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()}toggleExplainMode(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))}show(){const e=this.updateListHeight();e!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=e),this.ctxSuggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(()=>{this.element.classList.add("visible"),this.onDidShowEmitter.fire(this)},100)}hide(){this.editor.layoutContentWidget(this),this.ctxSuggestWidgetVisible.reset(),this.ctxSuggestWidgetMultipleSuggestions.reset(),this.element.classList.remove("visible")}hideWidget(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)}getPosition(){if(0===this.state)return null;let e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}}getDomNode(){return this.element}getId(){return e.ID}isFrozen(){return 4===this.state}updateListHeight(){let e=0;if(2===this.state||1===this.state)e=this.unfocusedHeight;else{const t=this.list.contentHeight/this.unfocusedHeight,{maxVisibleSuggestions:n}=this.editor.getOption(96);e=Math.min(t,n)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.statusBarElement.style.top=e+"px",this.list.layout(e),e}adjustDocsPosition(){if(!this.editor.hasModel())return;const e=this.editor.getOption(51),t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),n=Object(ft.C)(this.editor.getDomNode()),i=n.left+t.left,r=n.top+t.top+t.height,o=Object(ft.C)(this.element),s=o.left,a=o.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetY<a&&!this.preferDocPositionTop)return this.preferDocPositionTop=!0,void this.adjustDocsPosition();this.docsPositionPreviousWidgetY=a,s<i-this.listWidth?this.element.classList.add("list-right"):this.element.classList.remove("list-right"),this.element.classList.contains("docs-side")&&r-e>a&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}expandSideOrBelow(){if(!am(this.focusedItem)&&this.firstFocusInCurrentList)return void this.element.classList.remove("docs-side","docs-below");let e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])<this.maxWidgetWidth?(this.element.classList.add("docs-below"),this.element.classList.remove("docs-side")):am(this.focusedItem)&&(this.element.classList.add("docs-side"),this.element.classList.remove("docs-below"))}get maxWidgetHeight(){return this.unfocusedHeight*this.editor.getOption(96).maxVisibleSuggestions}get unfocusedHeight(){const e=this.editor.getOptions();return e.get(98)||e.get(36).lineHeight}getHeight(e){return this.unfocusedHeight}getTemplateId(e){return"suggestion"}expandDocsSettingFromStorage(){return this.storageService.getBoolean("expandSuggestionDocs",0,!1)}updateExpandDocsSetting(e){this.storageService.store("expandSuggestionDocs",e,0)}dispose(){this.details.dispose(),this.list.dispose(),this.toDispose.dispose(),this.loadingTimeout.dispose(),this.showTimeout.dispose(),this.editor.removeContentWidget(this)}};hm.ID="editor.widget.suggestWidget",hm.LOADING_MESSAGE=U.a("suggestWidget.loading","Loading..."),hm.NO_SUGGESTIONS_MESSAGE=U.a("suggestWidget.noSuggestions","No suggestions."),hm=Xp([Qp(1,Bt.a),Qp(2,vt.a),Qp(3,K.b),Qp(4,we.c),Qp(5,fn.a),Qp(6,Nl.a),Qp(7,Vl.a),Qp(8,ye.a),Qp(9,gt.a)],hm),Object(we.g)((e,t)=>{const n=e.getColor(om);n&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${n}; }`);const i=e.getColor(im);i&&t.addRule(`.monaco-editor .suggest-widget { color: ${i}; }`);const r=e.getColor(ve.rc);r&&t.addRule(`.monaco-editor .suggest-widget a { color: ${r}; }`);const o=e.getColor(ve.qc);o&&t.addRule(`.monaco-editor .suggest-widget code { background-color: ${o}; }`)});var um=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},pm=function(e,t){return function(n,i){t(n,i,e)}};let mm=class e extends pe.a{constructor(t,n){super(),this._editor=t,this._enabled=!1,this._ckAtEnd=e.AtEnd.bindTo(n),this._register(this._editor.onDidChangeConfiguration(e=>e.hasChanged(101)&&this._update())),this._update()}dispose(){super.dispose(),Object(pe.f)(this._selectionListener),this._ckAtEnd.reset()}_update(){const e="on"===this._editor.getOption(101);if(this._enabled!==e)if(this._enabled=e,this._enabled){const e=()=>{if(!this._editor.hasModel())return void this._ckAtEnd.set(!1);const e=this._editor.getModel(),t=this._editor.getSelection(),n=e.getWordAtPosition(t.getStartPosition());n?this._ckAtEnd.set(n.endColumn===t.getStartPosition().column):this._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(e),e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};mm.AtEnd=new K.c("atEndOfWord",!1),mm=um([pm(1,K.b)],mm);class gm{constructor(e,t,n){this._disposables=new pe.b,this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(i=>{if(this._active&&!t.isFrozen()){const t=i.charCodeAt(i.length-1);this._active.acceptCharacters.has(t)&&e.getOption(0)&&n(this._active.item)}}))}_onItem(e){if(!e||!Object(G.o)(e.item.completion.commitCharacters))return void this.reset();if(this._active&&this._active.item.item===e.item)return;const t=new Oo.b;for(const n of e.item.completion.commitCharacters)n.length>0&&t.add(n.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}class fm{constructor(e,t){this._disposables=new pe.b,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType(()=>{if(!this._empty)return;if(!e.hasModel())return;const t=e.getSelections(),n=t.length;let i=!1;for(let e=0;e<n;e++)if(!t[e].isEmpty()){i=!0;break}if(!i)return;this._lastOvertyped=[];const r=e.getModel();for(let e=0;e<n;e++){const n=t[e];if(r.getValueLengthInRange(n)>fm._maxSelectionLength)return;this._lastOvertyped[e]={value:r.getValueInRange(n),multiline:n.startLineNumber!==n.endLineNumber}}this._empty=!1})),this._disposables.add(t.onDidCancel(e=>{this._empty||(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}fm._maxSelectionLength=51200;var bm=n(158),_m=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},vm=function(e,t){return function(n,i){t(n,i,e)}};class wm{constructor(e,t){this._model=e,this._position=t;if(e.getLineMaxColumn(t.lineNumber)!==t.column){const n=e.getOffsetAt(t),i=e.getPositionAt(n+1);this._marker=e.deltaDecorations([],[{range:ge.a.fromPositions(t,i),options:{stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){const t=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let ym=class e{constructor(e,t,n,i,r,o,s,a){this._memoryService=n,this._commandService=i,this._contextKeyService=r,this._instantiationService=o,this._logService=s,this._lineSuffix=new pe.d,this._toDispose=new pe.b,this.editor=e,this.model=new up(this.editor,t,a),this.widget=this._toDispose.add(new ue.b(()=>{const e=this._instantiationService.createInstance(hm,this.editor);this._toDispose.add(e),this._toDispose.add(e.onDidSelect(e=>this._insertSuggestion(e,0),this));const t=new gm(this.editor,e,e=>this._insertSuggestion(e,2));this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest(e=>{0===e.completionModel.items.length&&t.reset()}));const n=Su.MakesTextEdit.bindTo(this._contextKeyService),i=Su.HasInsertAndReplaceRange.bindTo(this._contextKeyService),r=Su.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Object(pe.h)(()=>{n.reset(),i.reset(),r.reset()})),this._toDispose.add(e.onDidFocus(({item:e})=>{const t=this.editor.getPosition(),o=e.editStart.column,s=t.column;let a=!0;if(!("smart"!==this.editor.getOption(1)||2!==this.model.state||e.completion.command||e.completion.additionalTextEdits||4&e.completion.insertTextRules||s-o!==e.completion.insertText.length)){a=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:o,endLineNumber:t.lineNumber,endColumn:s})!==e.completion.insertText}n.set(a),i.set(!me.a.equals(e.editInsertEnd,e.editReplaceEnd)),r.set(Boolean(e.provider.resolveCompletionItem)||Boolean(e.completion.documentation)||e.completion.detail!==e.completion.label)})),this._toDispose.add(e.onDetailsKeyDown(e=>{e.toKeybinding().equals(new $.e(!0,!1,!1,!1,33))||Ae.f&&e.toKeybinding().equals(new $.e(!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||this.editor.focus()})),e})),this._overtypingCapturer=this._toDispose.add(new ue.b(()=>this._toDispose.add(new fm(this.editor,this.model)))),this._alternatives=this._toDispose.add(new ue.b(()=>this._toDispose.add(new sp(this.editor,this._contextKeyService)))),this._toDispose.add(o.createInstance(mm,e)),this._toDispose.add(this.model.onDidTrigger(e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new wm(this.editor.getModel(),e.position)})),this._toDispose.add(this.model.onDidSuggest(e=>{if(!e.shy){let t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items);this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}})),this._toDispose.add(this.model.onDidCancel(e=>{e.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let l=Su.AcceptSuggestionsOnEnter.bindTo(r),c=()=>{const e=this.editor.getOption(1);l.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>c())),c()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(!e||!e.item)return this._alternatives.value.reset(),this.model.cancel(),void this.model.clear();if(!this.editor.hasModel())return;const n=this.editor.getModel(),i=n.getAlternativeVersionId(),{item:r}=e,o=[],s=new Xe.b;1&t||this.editor.pushUndoStop();const a=this.getOverwriteInfo(r,Boolean(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),r),Array.isArray(r.completion.additionalTextEdits)){const e=Je.c.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",r.completion.additionalTextEdits.map(e=>Mn.a.replace(ge.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!r.isResolved){const e=new bm.a(!0);let i;const a=n.onDidChangeContent(e=>{if(e.isFlush)return s.cancel(),void a.dispose();for(let t of e.changes){const e=ge.a.getEndPosition(t.range);i&&!me.a.isBefore(e,i)||(i=e)}});let l=t;t|=2;let c=!1,d=this.editor.onWillType(()=>{d.dispose(),c=!0,2&l||this.editor.pushUndoStop()});o.push(r.resolve(s.token).then(()=>{if(!r.completion.additionalTextEdits||s.token.isCancellationRequested)return!1;if(i&&r.completion.additionalTextEdits.some(e=>me.a.isBefore(i,ge.a.getStartPosition(e.range))))return!1;c&&this.editor.pushUndoStop();const e=Je.c.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",r.completion.additionalTextEdits.map(e=>Mn.a.replace(ge.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor),!c&&2&l||this.editor.pushUndoStop(),!0}).then(t=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",e.elapsed(),t),a.dispose(),d.dispose()}))}let{insertText:l}=r.completion;4&r.completion.insertTextRules||(l=Cu.escape(l)),Zu.get(this.editor).insert(l,{overwriteBefore:a.overwriteBefore,overwriteAfter:a.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&r.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),r.completion.command?r.completion.command.id===Cm.id?this.model.trigger({auto:!0,shy:!1},!0):(o.push(this._commandService.executeCommand(r.completion.command.id,...r.completion.command.arguments?[...r.completion.command.arguments]:[]).catch(Z.e)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,e=>{for(s.cancel();n.canUndo();){i!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}}),this._alertCompletionItem(r),Promise.all(o).finally(()=>{this.model.clear(),s.dispose()})}getOverwriteInfo(e,t){Object(Qr.b)(this.editor.hasModel());let n="replace"===this.editor.getOption(96).insertMode;t&&(n=!n);const i=e.position.column-e.editStart.column,r=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column;return{overwriteBefore:i+(this.editor.getPosition().column-e.position.column),overwriteAfter:r+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem({completion:e}){const t="string"==typeof e.label?e.label:e.label.name;if(Object(G.o)(e.additionalTextEdits)){let n=U.a("arai.alert.snippet","Accepting '{0}' made {1} additional edits",t,e.additionalTextEdits.length);Object(ne.a)(n)}}triggerSuggest(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;const t=this.editor.getPosition(),n=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},i=e=>{if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;const t=this.editor.getPosition(),n=e.editStart.column,i=t.column;if(i-n!==e.completion.insertText.length)return!0;return this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:n,endLineNumber:t.lineNumber,endColumn:i})!==e.completion.insertText};Lt.b.once(this.model.onDidTrigger)(e=>{let t=[];Lt.b.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{Object(pe.f)(t),n()},void 0,t),this.model.onDidSuggest(({completionModel:e})=>{if(Object(pe.f)(t),0===e.items.length)return void n();const r=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),o=e.items[r];i(o)?(this.editor.pushUndoStop(),this._insertSuggestion({index:r,item:o,model:e},7)):n()},void 0,t)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(t.lineNumber,0),this.editor.focus()}acceptSelectedSuggestion(e,t){const n=this.widget.value.getFocusedItem();let i=0;e&&(i|=4),t&&(i|=8),this._insertSuggestion(n,i)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}};ym.ID="editor.contrib.suggestController",ym=_m([vm(1,Ao.a),vm(2,ip),vm(3,Ft.b),vm(4,K.b),vm(5,gt.a),vm(6,Kh.b),vm(7,Pe.a)],ym);class Cm extends V.b{constructor(){super({id:Cm.id,label:U.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:K.a.and(H.a.writable,H.a.hasCompletionItemProvider),kbOpts:{kbExpr:H.a.textInputFocus,primary:2058,mac:{primary:266,secondary:[521]},weight:100}})}run(e,t){const n=ym.get(t);n&&n.triggerSuggest()}}Cm.id="editor.action.triggerSuggest",Object(V.m)(ym.ID,ym),Object(V.k)(Cm);const xm=V.c.bindToContribution(ym.get);Object(V.l)(new xm({id:"acceptSelectedSuggestion",precondition:Su.Visible,handler(e){e.acceptSelectedSuggestion(!0,!1)}})),Zi.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:K.a.and(Su.Visible,H.a.textInputFocus),primary:2,weight:190}),Zi.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:K.a.and(Su.Visible,H.a.textInputFocus,Su.AcceptSuggestionsOnEnter,Su.MakesTextEdit),primary:3,weight:190}),ye.d.appendMenuItem(ku,{command:{id:"acceptSelectedSuggestion",title:U.a({key:"accept.accept",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:Su.HasInsertAndReplaceRange.toNegated()}),ye.d.appendMenuItem(ku,{command:{id:"acceptSelectedSuggestion",title:U.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")},group:"left",order:1,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","insert"))}),ye.d.appendMenuItem(ku,{command:{id:"acceptSelectedSuggestion",title:U.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},group:"left",order:1,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","replace"))}),Object(V.l)(new xm({id:"acceptAlternativeSelectedSuggestion",precondition:K.a.and(Su.Visible,H.a.textInputFocus),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:ku,group:"left",order:2,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","insert")),title:U.a({key:"accept.replace",comment:['{0} will be a keybinding, e.g "Enter to replace"']},"{0} to replace")},{menuId:ku,group:"left",order:2,when:K.a.and(Su.HasInsertAndReplaceRange,K.a.equals("config.editor.suggest.insertMode","replace")),title:U.a({key:"accept.insert",comment:['{0} will be a keybinding, e.g "Enter to insert"']},"{0} to insert")}]})),Ft.a.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object(V.l)(new xm({id:"hideSuggestWidget",precondition:Su.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:9,secondary:[1033]}})),Object(V.l)(new xm({id:"selectNextSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(V.l)(new xm({id:"selectNextPageSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:12,secondary:[2060]}})),Object(V.l)(new xm({id:"selectLastSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),Object(V.l)(new xm({id:"selectPrevSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(V.l)(new xm({id:"selectPrevPageSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:11,secondary:[2059]}})),Object(V.l)(new xm({id:"selectFirstSuggestion",precondition:K.a.and(Su.Visible,Su.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),Object(V.l)(new xm({id:"toggleSuggestionDetails",precondition:Su.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:ku,group:"right",order:1,when:K.a.and(Su.DetailsVisible,Su.CanResolve),title:U.a("detail.more","show less")},{menuId:ku,group:"right",order:1,when:K.a.and(Su.DetailsVisible.toNegated(),Su.CanResolve),title:U.a("detail.less","show more")}]})),Object(V.l)(new xm({id:"toggleExplainMode",precondition:Su.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),Object(V.l)(new xm({id:"toggleSuggestionFocus",precondition:Su.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object(V.l)(new xm({id:"insertBestCompletion",precondition:K.a.and(H.a.textInputFocus,K.a.equals("config.editor.tabCompletion","on"),mm.AtEnd,Su.Visible.toNegated(),sp.OtherSuggestions.toNegated(),Zu.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest(Object(Qr.i)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object(V.l)(new xm({id:"insertNextSuggestion",precondition:K.a.and(H.a.textInputFocus,K.a.equals("config.editor.tabCompletion","on"),sp.OtherSuggestions,Su.Visible.toNegated(),Zu.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:2}})),Object(V.l)(new xm({id:"insertPrevSuggestion",precondition:K.a.and(H.a.textInputFocus,K.a.equals("config.editor.tabCompletion","on"),sp.OtherSuggestions,Su.Visible.toNegated(),Zu.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:H.a.textInputFocus,primary:1026}}));class Sm extends V.b{constructor(){super({id:"editor.action.forceRetokenize",label:U.a("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getModel();n.resetTokenization();const i=new bm.a(!0);n.forceTokenization(n.getLineCount()),i.stop(),console.log("tokenization took "+i.elapsed())}}Object(V.k)(Sm);var km=n(161);class Em extends V.b{constructor(){super({id:Em.ID,label:U.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){const n=!km.b.getTabFocusMode();km.b.setTabFocusMode(n),n?Object(ne.a)(U.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(ne.a)(U.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}Em.ID="editor.action.toggleTabFocusMode",Object(V.k)(Em);var Tm=n(171),Lm=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Nm=function(e,t){return function(n,i){t(n,i,e)}},Im=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Dm=class extends pe.a{constructor(e,t,n){super(),this._editor=e,this._dialogService=t,this._codeEditorService=n,this._config=this._editor.getOption(103),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(103)&&(this._config=this._editor.getOption(103),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return Im(this,void 0,void 0,(function*(){if("off"===this._config)return;if(!this._editor.hasModel())return;const e=this._editor.getModel();if(!e.mightContainUnusualLineTerminators())return;if(!0===function(e,t){return e.getModelProperty(t.uri,"ignoreUnusualLineTerminators")}(this._codeEditorService,e))return;if(this._editor.getOption(72))return;if("auto"===this._config)return void e.removeUnusualLineTerminators(this._editor.getSelections());(yield this._dialogService.confirm({title:U.a("unusualLineTerminators.title","Unusual Line Terminators"),message:U.a("unusualLineTerminators.message","Detected unusual line terminators"),detail:U.a("unusualLineTerminators.detail","This file contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`."),primaryButton:U.a("unusualLineTerminators.fix","Fix this file"),secondaryButton:U.a("unusualLineTerminators.ignore","Ignore problem for this file")})).confirmed?e.removeUnusualLineTerminators(this._editor.getSelections()):function(e,t,n){e.setModelProperty(t.uri,"ignoreUnusualLineTerminators",n)}(this._codeEditorService,e,!0)}))}};Dm.ID="editor.contrib.unusualLineTerminatorsDetector",Dm=Lm([Nm(1,Tm.a),Nm(2,Me.a)],Dm),Object(V.m)(Dm.ID,Dm);var Om=n(184),Am=n(183),Rm=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Mm=function(e,t){return function(n,i){t(n,i,e)}};let Pm=class e extends pe.a{constructor(e,t,n,i){super(),this._modelService=t,this._themeService=n,this._configurationService=i,this._editor=e,this._tokenizeViewport=new ue.d(()=>this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(et.k.onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(Am.b)&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}static _getSemanticColoringProvider(e){const t=et.k.ordered(e);return t.length>0?t[0]:null}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,n=this._outstandingRequests.length;t<n;t++)if(this._outstandingRequests[t]===e)return void this._outstandingRequests.splice(t,1)}_tokenizeViewportNow(){if(!this._editor.hasModel())return;const t=this._editor.getModel();if(t.hasSemanticTokens())return;if(!Object(Am.c)(t,this._themeService,this._configurationService))return;const n=e._getSemanticColoringProvider(t);if(!n)return;const i=this._modelService.getSemanticTokensProviderStyling(n),r=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(r.map(e=>this._requestRange(t,e,n,i)))}_requestRange(e,t,n,i){const r=e.getVersionId(),o=Object(ue.f)(i=>Promise.resolve(n.provideDocumentRangeSemanticTokens(e,t,i)));return o.then(n=>{n&&!e.isDisposed()&&e.getVersionId()===r&&e.setPartialSemanticTokens(t,Object(Om.b)(n,i,e.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(o),()=>this._removeOutstandingRequest(o)),o}};Pm.ID="editor.contrib.viewportSemanticTokens",Pm=Rm([Mm(1,tt.a),Mm(2,we.c),Mm(3,Dn.a)],Pm),Object(V.m)(Pm.ID,Pm);var Fm=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Wm=function(e,t){return function(n,i){t(n,i,e)}};const zm=Object(ve.gc)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},U.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),Bm=Object(ve.gc)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},U.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),jm=Object(ve.gc)("editor.wordHighlightBorder",{light:null,dark:null,hc:ve.b},U.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),Vm=Object(ve.gc)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:ve.b},U.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),Um=Object(ve.gc)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},U.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),Hm=Object(ve.gc)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},U.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),qm=new K.c("hasWordHighlights",!1);function $m(e,t,n){const i=et.i.ordered(e);return Object(ue.h)(i.map(i=>()=>Promise.resolve(i.provideDocumentHighlights(e,t,n)).then(void 0,Z.f)),G.o)}class Km{constructor(e,t,n){this._wordRange=this._getCurrentWordRange(e,t),this.result=Object(ue.f)(i=>this._compute(e,t,n,i))}_getCurrentWordRange(e,t){const n=e.getWordAtPosition(t.getPosition());return n?new ge.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):null}isValid(e,t,n){const i=t.startLineNumber,r=t.startColumn,o=t.endColumn,s=this._getCurrentWordRange(e,t);let a=Boolean(this._wordRange&&this._wordRange.equalsRange(s));for(let t=0,s=n.length;!a&&t<s;t++){let s=e.getDecorationRange(n[t]);s&&s.startLineNumber===i&&s.startColumn<=r&&s.endColumn>=o&&(a=!0)}return a}cancel(){this.result.cancel()}}class Gm extends Km{_compute(e,t,n,i){return $m(e,t.getPosition(),i).then(e=>e||[])}}class Ym extends Km{constructor(e,t,n){super(e,t,n),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,n,i){return Object(ue.l)(250,i).then(()=>{if(!t.isEmpty())return[];const i=e.getWordAtPosition(t.getPosition());if(!i||i.word.length>1e3)return[];return e.findMatches(i.word,!0,!1,!0,n,!1).map(e=>({range:e.range,kind:et.h.Text}))})}isValid(e,t,n){const i=t.isEmpty();return this._selectionIsEmpty===i&&super.isValid(e,t,n)}}Object(V.p)("_executeDocumentHighlights",(e,t)=>$m(e,t,Xe.a.None));class Zm{constructor(e,t){this.toUnhook=new pe.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=qm.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(63),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(e=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(e)})),this.toUnhook.add(e.onDidChangeModelContent(e=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(e=>{let t=this.editor.getOption(63);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this._decorationIds.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return G.d(this._decorationIds.map(e=>this.model.getDecorationRange(e)).sort(ge.a.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights(),t=(G.j(e,e=>e.containsPosition(this.editor.getPosition()))+1)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const i=this._getWord();if(i){const r=this.editor.getModel().getLineContent(n.startLineNumber);Object(ne.a)(`${r}, ${t+1} of ${e.length} for '${i.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),t=(G.j(e,e=>e.containsPosition(this.editor.getPosition()))-1+e.length)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const i=this._getWord();if(i){const r=this.editor.getModel().getLineContent(n.startLineNumber);Object(ne.a)(`${r}, ${t+1} of ${e.length} for '${i.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){this.occurrencesHighlight&&3===e.reason?this._run():this._stopAll()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,n=e.startColumn;return this.model.getWordAtPosition({lineNumber:t,column:n})}_run(){let e=this.editor.getSelection();if(e.startLineNumber!==e.endLineNumber)return void this._stopAll();let t=e.startColumn,n=e.endColumn;const i=this._getWord();if(!i||i.startColumn>t||i.endColumn<n)return void this._stopAll();const r=this.workerRequest&&this.workerRequest.isValid(this.model,e,this._decorationIds);if(this.lastCursorPositionChangeTime=(new Date).getTime(),r)this.workerRequestCompleted&&-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();let e=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=(o=this.model,s=this.editor.getSelection(),a=this.editor.getOption(105),et.i.has(o)?new Gm(o,s,a):new Ym(o,s,a)),this.workerRequest.result.then(t=>{e===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=t||[],this._beginRenderDecorations())},Z.e)}var o,s,a}_beginRenderDecorations(){let e=(new Date).getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(const t of this.workerRequestValue)t.range&&e.push({range:t.range,options:Zm._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===et.h.Write?this._WRITE_OPTIONS:e===et.h.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}Zm._WRITE_OPTIONS=be.a.register({stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:Object(we.h)(Hm),position:fe.d.Center}}),Zm._TEXT_OPTIONS=be.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(we.h)(ve.Wb),position:fe.d.Center}}),Zm._REGULAR_OPTIONS=be.a.register({stickiness:1,className:"wordHighlight",overviewRuler:{color:Object(we.h)(Um),position:fe.d.Center}});let Xm=class e extends pe.a{constructor(e,t){super(),this.wordHighlighter=null;const n=()=>{e.hasModel()&&(this.wordHighlighter=new Zm(e,t))};this._register(e.onDidChangeModel(e=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),n()})),n()}static get(t){return t.getContribution(e.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};Xm.ID="editor.contrib.wordHighlighter",Xm=Fm([Wm(1,K.b)],Xm);class Qm extends V.b{constructor(e,t){super(t),this._isNext=e}run(e,t){const n=Xm.get(t);n&&(this._isNext?n.moveNext():n.moveBack())}}class Jm extends V.b{constructor(){super({id:"editor.action.wordHighlight.trigger",label:U.a("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:qm.toNegated(),kbOpts:{kbExpr:H.a.editorTextFocus,primary:0,weight:100}})}run(e,t,n){const i=Xm.get(t);i&&i.restoreViewState(!0)}}Object(V.m)(Xm.ID,Xm),Object(V.k)(class extends Qm{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:U.a("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:qm,kbOpts:{kbExpr:H.a.editorTextFocus,primary:65,weight:100}})}}),Object(V.k)(class extends Qm{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:U.a("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:qm,kbOpts:{kbExpr:H.a.editorTextFocus,primary:1089,weight:100}})}}),Object(V.k)(Jm),Object(we.g)((e,t)=>{const n=e.getColor(ve.Q);n&&(t.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${n}; }`),t.addRule(`.monaco-editor .selectionHighlight { background-color: ${n.transparent(.5)}; }`));const i=e.getColor(zm);i&&t.addRule(`.monaco-editor .wordHighlight { background-color: ${i}; }`);const r=e.getColor(Bm);r&&t.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${r}; }`);const o=e.getColor(ve.R);o&&t.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${o}; box-sizing: border-box; }`);const s=e.getColor(jm);s&&t.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc"===e.type?"dashed":"solid"} ${s}; box-sizing: border-box; }`);const a=e.getColor(Vm);a&&t.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc"===e.type?"dashed":"solid"} ${a}; box-sizing: border-box; }`)});var eg=n(22),tg=n(129),ng=n(117),ig=n(26);class rg extends V.c{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=Object(ng.a)(t.getOption(105)),r=t.getModel(),o=t.getSelections().map(e=>{const t=new me.a(e.positionLineNumber,e.positionColumn),n=this._move(i,r,t,this._wordNavigationType);return this._moveTo(e,n,this._inSelectionMode)});if(r.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",0,o.map(e=>eg.d.fromModelSelection(e))),1===o.length){const e=new me.a(o[0].positionLineNumber,o[0].positionColumn);t.revealPosition(e,0)}}_moveTo(e,t,n){return n?new q.a(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new q.a(t.lineNumber,t.column,t.lineNumber,t.column)}}class og extends rg{_move(e,t,n,i){return tg.a.moveWordLeft(e,t,n,i)}}class sg extends rg{_move(e,t,n,i){return tg.a.moveWordRight(e,t,n,i)}}class ag extends V.c{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=Object(ng.a)(t.getOption(105)),r=t.getModel(),o=t.getSelections().map(e=>{const t=this._delete(i,r,e,this._whitespaceHeuristics,this._wordNavigationType);return new Ne.a(t,"")});t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class lg extends ag{_delete(e,t,n,i,r){let o=tg.a.deleteWordLeft(e,t,n,i,r);return o||new ge.a(1,1,1,1)}}class cg extends ag{_delete(e,t,n,i,r){let o=tg.a.deleteWordRight(e,t,n,i,r);if(o)return o;const s=t.getLineCount(),a=t.getLineMaxColumn(s);return new ge.a(s,a,s,a)}}Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:2063,mac:{primary:527},weight:100}})}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:2065,mac:{primary:529},weight:100}})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:2063},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends og{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:3087},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:2065},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends sg{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:K.a.and(H.a.textInputFocus,us.a),win:{primary:3089},weight:101}})}_move(e,t,n,i){return super._move(Object(ng.a)(ig.g.wordSeparators.defaultValue),t,n,i)}}),Object(V.l)(new class extends lg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:H.a.writable})}}),Object(V.l)(new class extends lg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:H.a.writable})}}),Object(V.l)(new class extends lg{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}),Object(V.l)(new class extends cg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:H.a.writable})}}),Object(V.l)(new class extends cg{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:H.a.writable})}}),Object(V.l)(new class extends cg{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}});class dg extends rg{_move(e,t,n,i){return tg.b.moveWordPartLeft(e,t,n)}}Ft.a.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");Ft.a.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class hg extends rg{_move(e,t,n,i){return tg.b.moveWordPartRight(e,t,n)}}Object(V.l)(new class extends ag{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t,n,i,r){let o=tg.b.deleteWordPartLeft(e,t,n,i);return o||new ge.a(1,1,1,1)}}),Object(V.l)(new class extends ag{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:H.a.writable,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t,n,i,r){let o=tg.b.deleteWordPartRight(e,t,n,i);if(o)return o;const s=t.getLineCount(),a=t.getLineMaxColumn(s);return new ge.a(s,a,s,a)}}),Object(V.l)(new class extends dg{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}),Object(V.l)(new class extends dg{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}),Object(V.l)(new class extends hg{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}),Object(V.l)(new class extends hg{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:H.a.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}});var ug=n(55),pg=(n(335),n(35)),mg=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},gg=function(e,t){return function(n,i){t(n,i,e)}};const fg=new K.c("accessibilityHelpWidgetVisible",!1);let bg=class e extends pe.a{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(_g,this._editor))}static get(t){return t.getContribution(e.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};bg.ID="editor.contrib.accessibilityHelpController",bg=mg([gg(1,gt.a)],bg);let _g=class e extends Ri.a{constructor(e,t,n,i){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=i,this._editor=e,this._isVisibleKey=fg.bindTo(this._contextKeyService),this._domNode=Object(pg.b)(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=Object(pg.b)(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(ft.n(this._contentDomNode.domNode,"keydown",e=>{if(this._isVisible&&(e.equals(2083)&&(Object(ne.a)(ug.a.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),ft.s(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){Object(ne.a)(ug.a.openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;void 0===t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(Qe.a.parse(t)),e.preventDefault(),e.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){let i=this._keybindingService.lookupKeybinding(e);return i?Ye.x(t,i.getAriaLabel()):Ye.x(n,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let n=0;if(t){const e=this._editor.getModel();e&&t.forEach(t=>{n+=e.getValueLengthInRange(t)})}let i=function(e,t){return e&&0!==e.length?1===e.length?t?Ye.x(ug.a.singleSelectionRange,e[0].positionLineNumber,e[0].positionColumn,t):Ye.x(ug.a.singleSelection,e[0].positionLineNumber,e[0].positionColumn):t?Ye.x(ug.a.multiSelectionRange,e.length,t):e.length>0?Ye.x(ug.a.multiSelection,e.length):"":ug.a.noSelection}(t,n);e.get(47)?e.get(72)?i+=ug.a.readonlyDiffEditor:i+=ug.a.editableDiffEditor:e.get(72)?i+=ug.a.readonlyEditor:i+=ug.a.editableEditor;const r=Ae.f?ug.a.changeConfigToOnMac:ug.a.changeConfigToOnWinLinux;switch(e.get(2)){case 0:i+="\n\n - "+r;break;case 2:i+="\n\n - "+ug.a.auto_on;break;case 1:i+="\n\n - "+ug.a.auto_off,i+=" "+r}e.get(116)?i+="\n\n - "+this._descriptionForCommand(Em.ID,ug.a.tabFocusModeOnMsg,ug.a.tabFocusModeOnMsgNoKb):i+="\n\n - "+this._descriptionForCommand(Em.ID,ug.a.tabFocusModeOffMsg,ug.a.tabFocusModeOffMsgNoKb);i+="\n\n - "+(Ae.f?ug.a.openDocMac:ug.a.openDocWinLinux),i+="\n\n"+ug.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(Ic.b)(i)),this._contentDomNode.domNode.setAttribute("aria-label",i)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,ft.s(this._contentDomNode.domNode),this._editor.focus())}_layout(){let t=this._editor.getLayoutInfo(),n=Math.max(5,Math.min(e.WIDTH,t.width-40)),i=Math.max(5,Math.min(e.HEIGHT,t.height-40));this._domNode.setWidth(n),this._domNode.setHeight(i);let r=Math.round((t.height-i)/2);this._domNode.setTop(r);let o=Math.round((t.width-n)/2);this._domNode.setLeft(o)}};_g.ID="editor.contrib.accessibilityHelpWidget",_g.WIDTH=500,_g.HEIGHT=300,_g=mg([gg(1,K.b),gg(2,vt.a),gg(3,Vl.a)],_g);class vg extends V.b{constructor(){super({id:"editor.action.showAccessibilityHelp",label:ug.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let n=bg.get(t);n&&n.show()}}Object(V.m)(bg.ID,bg),Object(V.k)(vg);const wg=V.c.bindToContribution(bg.get);Object(V.l)(new wg({id:"closeAccessibilityHelp",precondition:fg,handler:e=>e.hide(),kbOpts:{weight:200,kbExpr:H.a.focus,primary:9,secondary:[1033]}})),Object(we.g)((e,t)=>{const n=e.getColor(ve.U);n&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${n}; }`);const i=e.getColor(ve.W);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`);const r=e.getColor(ve.uc);r&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${r}; }`);const o=e.getColor(ve.h);o&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${o}; }`)});n(337);class yg extends pe.a{constructor(e){super(),this.editor=e,this.widget=null,Oe.i&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const e=!this.editor.getOption(72);!this.widget&&e?this.widget=new Cg(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}yg.ID="editor.contrib.iPadShowKeyboard";class Cg extends pe.a{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(ft.i(this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(ft.i(this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return Cg.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}Cg.ID="editor.contrib.ShowKeyboardWidget",Object(V.m)(yg.ID,yg);n(339);var xg=n(90),Sg=n(139),kg=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Eg=function(e,t){return function(n,i){t(n,i,e)}};let Tg=class e extends pe.a{constructor(e,t,n){super(),this._editor=e,this._modeService=n,this._widget=null,this._register(this._editor.onDidChangeModel(e=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(et.C.onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new Ng(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};Tg.ID="editor.contrib.inspectTokens",Tg=kg([Eg(1,Sg.a),Eg(2,Nl.a)],Tg);class Lg extends V.b{constructor(){super({id:"editor.action.inspectTokens",label:ug.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let n=Tg.get(t);n&&n.launch()}}class Ng extends pe.a{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._modeService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=function(e){let t=et.C.get(e.language);return t||{getInitialState:()=>xg.c,tokenize:(t,n,i)=>Object(xg.d)(e.language,t,n,i),tokenize2:(t,n,i)=>Object(xg.e)(e.id,t,n,i)}}(this._model.getLanguageIdentifier()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return Ng._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),n=0;for(let i=t.tokens1.length-1;i>=0;i--){let r=t.tokens1[i];if(e.column-1>=r.offset){n=i;break}}let i=0;for(let n=t.tokens2.length>>>1;n>=0;n--)if(e.column-1>=t.tokens2[n<<1]){i=n;break}let r=this._model.getLineContent(e.lineNumber),o="";if(n<t.tokens1.length){let e=t.tokens1[n].offset,i=n+1<t.tokens1.length?t.tokens1[n+1].offset:r.length;o=r.substring(e,i)}Object(ft.U)(this._domNode,Object(ft.a)("h2.tm-token",void 0,function(e){let t="";for(let n=0,i=e.length;n<i;n++){let i=e.charCodeAt(n);switch(i){case 9:t+="→";break;case 32:t+="·";break;default:t+=String.fromCharCode(i)}}return t}(o),Object(ft.a)("span.tm-token-length",void 0,`${o.length} ${1===o.length?"char":"chars"}`))),Object(ft.p)(this._domNode,Object(ft.a)("hr.tokens-inspect-separator",{style:"clear:both"}));const s=1+(i<<1)<t.tokens2.length?this._decodeMetadata(t.tokens2[1+(i<<1)]):null;Object(ft.p)(this._domNode,Object(ft.a)("table.tm-metadata-table",void 0,Object(ft.a)("tbody",void 0,Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"language"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?s.languageIdentifier.language:"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"token type"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?this._tokenTypeToString(s.tokenType):"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"font style"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?this._fontStyleToString(s.fontStyle):"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"foreground"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?Nn.a.Format.CSS.formatHex(s.foreground):"-?-"))),Object(ft.a)("tr",void 0,Object(ft.a)("td.tm-metadata-key",void 0,"background"),Object(ft.a)("td.tm-metadata-value",void 0,""+(s?Nn.a.Format.CSS.formatHex(s.background):"-?-")))))),Object(ft.p)(this._domNode,Object(ft.a)("hr.tokens-inspect-separator")),n<t.tokens1.length&&Object(ft.p)(this._domNode,Object(ft.a)("span.tm-token-type",void 0,t.tokens1[n].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){let t=et.C.getColorMap(),n=et.B.getLanguageId(e),i=et.B.getTokenType(e),r=et.B.getFontStyle(e),o=et.B.getForeground(e),s=et.B.getBackground(e);return{languageIdentifier:this._modeService.getLanguageIdentifier(n),tokenType:i,fontStyle:r,foreground:t[o],background:t[s]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),0===t.length&&(t="---"),t}_getTokensAtLine(e){let t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),t,0),i=this._tokenizationSupport.tokenize2(this._model.getLineContent(e),t,0);return{startState:t,tokens1:n.tokens,tokens2:i.tokens,endState:n.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let n=1;n<e;n++){t=this._tokenizationSupport.tokenize(this._model.getLineContent(n),t,0).endState}return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}Ng._ID="editor.contrib.inspectTokensWidget",Object(V.m)(Tg.ID,Tg),Object(V.k)(Lg),Object(we.g)((e,t)=>{const n=e.getColor(ve.F);if(n){let i=e.type===we.b?2:1;t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${i}px solid ${n}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${n}; }`)}const i=e.getColor(ve.E);i&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${i}; }`);const r=e.getColor(ve.G);r&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${r}; }`)});var Ig=n(134),Dg=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Og=function(e,t){return function(n,i){t(n,i,e)}};let Ag=class e{constructor(e){this.quickInputService=e,this.registry=Gh.a.as(Ig.b.Quickaccess)}provide(t){const n=new pe.b;n.add(t.onDidAccept(()=>{const[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})})),n.add(t.onDidChangeValue(t=>{const n=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));n&&n.prefix&&n.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})}));const{editorProviders:i,globalProviders:r}=this.getQuickAccessProviders();return t.items=0===i.length||0===r.length?[...0===i.length?r:i]:[{label:Object(U.a)("globalCommands","global commands"),type:"separator"},...r,{label:Object(U.a)("editorCommands","editor commands"),type:"separator"},...i],n}getQuickAccessProviders(){const t=[],n=[];for(const i of this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)))if(i.prefix!==e.PREFIX)for(const e of i.helpEntries){const r=e.prefix||i.prefix,o=r||"…";(e.needsEditor?n:t).push({prefix:r,label:o,ariaLabel:Object(U.a)("helpPickAriaLabel","{0}, {1}",o,e.description),description:e.description})}return{editorProviders:n,globalProviders:t}}};Ag.PREFIX="?",Ag=Dg([Og(0,Sn.a)],Ag),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:Ag,prefix:"",helpEntries:[{description:ug.e.helpQuickAccessActionLabel,needsEditor:!0}]});class Rg{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var n;const i=new pe.b;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const r=i.add(new pe.d);return r.value=this.doProvide(e,t),i.add(this.onDidActiveTextEditorControlChange(()=>{r.value=void 0,r.value=this.doProvide(e,t)})),i}doProvide(e,t){const n=new pe.b,i=this.activeTextEditorControl;if(i&&this.canProvideWithTextEditor(i)){const r=Object(Ro.a)(i);if(r){let e=Object(Qr.n)(i.saveViewState());n.add(r.onDidChangeCursorPosition(()=>{e=Object(Qr.n)(i.saveViewState())})),n.add(Object(bn.a)(t.onCancellationRequested)(()=>{e&&i===this.activeTextEditorControl&&i.restoreViewState(e)}))}n.add(Object(pe.h)(()=>this.clearDecorations(i))),n.add(this.provideWithTextEditor(i,e,t))}else n.add(this.provideWithoutTextEditor(e,t));return n}canProvideWithTextEditor(e){return!0}gotoLocation(e,t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return Object(Ro.c)(e)?null===(t=e.getModel())||void 0===t?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(e=>{const n=[];this.rangeHighlightDecorationId&&(n.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),n.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const i=[{range:t,options:{className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{overviewRuler:{color:Object(we.h)(_e.s),position:fe.d.Full}}}],[r,o]=e.deltaDecorations(n,i);this.rangeHighlightDecorationId={rangeHighlightId:r,overviewRulerDecorationId:o}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class Mg extends Rg{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=Object(U.a)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,pe.a.None}provideWithTextEditor(e,t,n){const i=new pe.b;i.add(t.onDidAccept(n=>{const[i]=t.selectedItems;if(i){if(!this.isValidLineNumber(e,i.lineNumber))return;this.gotoLocation(e,{range:this.toRange(i.lineNumber,i.column),keyMods:t.keyMods,preserveFocus:n.inBackground}),n.inBackground||t.hide()}}));const r=()=>{const n=this.parsePosition(e,t.value.trim().substr(Mg.PREFIX.length)),i=this.getPickLabel(e,n.lineNumber,n.column);if(t.items=[{lineNumber:n.lineNumber,column:n.column,label:i}],t.ariaLabel=i,!this.isValidLineNumber(e,n.lineNumber))return void this.clearDecorations(e);const r=this.toRange(n.lineNumber,n.column);e.revealRangeInCenter(r,0),this.addDecorations(e,r)};r(),i.add(t.onDidChangeValue(()=>r()));const o=Object(Ro.a)(e);if(o){2===o.getOptions().get(52).renderType&&(o.updateOptions({lineNumbers:"on"}),i.add(Object(pe.h)(()=>o.updateOptions({lineNumbers:"relative"}))))}return i}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const n=t.split(/,|:|#/).map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),i=this.lineCount(e)+1;return{lineNumber:n[0]>0?n[0]:i+n[0],column:n[1]}}getPickLabel(e,t,n){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,n)?Object(U.a)("gotoLineColumnLabel","Go to line {0} and column {1}.",t,n):Object(U.a)("gotoLineLabel","Go to line {0}.",t);const i=e.getPosition()||{lineNumber:1,column:1},r=this.lineCount(e);return r>1?Object(U.a)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",i.lineNumber,i.column,r):Object(U.a)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",i.lineNumber,i.column)}isValidLineNumber(e,t){return!(!t||"number"!=typeof t)&&(t>0&&t<=this.lineCount(e))}isValidColumn(e,t,n){if(!n||"number"!=typeof n)return!1;const i=this.getModel(e);if(!i)return!1;const r={lineNumber:t,column:n};return i.validatePosition(r).equals(r)}lineCount(e){var t,n;return null!==(n=null===(t=this.getModel(e))||void 0===t?void 0:t.getLineCount())&&void 0!==n?n:0}}Mg.PREFIX=":";var Pg=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Fg=function(e,t){return function(n,i){t(n,i,e)}};let Wg=class extends Mg{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Lt.b.None}get activeTextEditorControl(){return Object(Qr.n)(this.editorService.getFocusedCodeEditor())}};Wg=Pg([Fg(0,Me.a)],Wg),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:Wg,prefix:Wg.PREFIX,helpEntries:[{description:ug.b.gotoLineActionLabel,needsEditor:!0}]});class zg extends V.b{constructor(){super({id:"editor.action.gotoLine",label:ug.b.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(Sn.a).quickAccess.show(Wg.PREFIX)}}Object(V.k)(zg);const Bg=[void 0,[]];function jg(e,t,n=0,i=0){const r=t;return r.values&&r.values.length>1?function(e,t,n,i){let r=0;const o=[];for(const s of t){const[t,a]=Vg(e,s,n,i);if("number"!=typeof t)return Bg;r+=t,o.push(...a)}return[r,Ug(o)]}(e,r.values,n,i):Vg(e,t,n,i)}function Vg(e,t,n,i){const r=Object(va.d)(t.original,t.originalLowercase,n,e,e.toLowerCase(),i,!0);return r?[r[0],Object(va.c)(r)]:Bg}function Ug(e){const t=e.sort((e,t)=>e.start-t.start),n=[];let i=void 0;for(const e of t)i&&Hg(i,e)?(i.start=Math.min(i.start,e.start),i.end=Math.max(i.end,e.end)):(i=e,n.push(e));return n}function Hg(e,t){return!(e.end<t.start)&&!(t.end<e.start)}function qg(e){"string"!=typeof e&&(e="");const t=e.toLowerCase(),{pathNormalized:n,normalized:i,normalizedLowercase:r}=$g(e),o=n.indexOf(pa.h)>=0;let s=void 0;const a=e.split(" ");if(a.length>1)for(const e of a){const{pathNormalized:t,normalized:n,normalizedLowercase:i}=$g(e);n&&(s||(s=[]),s.push({original:e,originalLowercase:e.toLowerCase(),pathNormalized:t,normalized:n,normalizedLowercase:i}))}return{original:e,originalLowercase:t,pathNormalized:n,normalized:i,normalizedLowercase:r,values:s,containsPathSeparator:o}}function $g(e){let t;t=Ae.i?e.replace(/\//g,pa.h):e.replace(/\\/g,pa.h);const n=Object(Ye.V)(t).replace(/\s/g,"");return{pathNormalized:t,normalized:n,normalizedLowercase:n.toLowerCase()}}function Kg(e){return Array.isArray(e)?qg(e.map(e=>e.original).join(" ")):qg(e.original)}var Gg=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Yg extends Rg{constructor(e=Object.create(null)){super(e),this.options=e,e.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,Object(U.a)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),pe.a.None}provideWithTextEditor(e,t,n){const i=this.getModel(e);return i?et.m.has(i)?this.doProvideWithEditorSymbols(e,i,t,n):this.doProvideWithoutEditorSymbols(e,i,t,n):pe.a.None}doProvideWithoutEditorSymbols(e,t,n,i){const r=new pe.b;return this.provideLabelPick(n,Object(U.a)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(()=>{Gg(this,void 0,void 0,(function*(){(yield this.waitForLanguageSymbolRegistry(t,r))&&!i.isCancellationRequested&&r.add(this.doProvideWithEditorSymbols(e,t,n,i))}))})(),r}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return Gg(this,void 0,void 0,(function*(){if(et.m.has(e))return!0;let n;const i=new Promise(e=>n=e),r=t.add(et.m.onDidChange(()=>{et.m.has(e)&&(r.dispose(),n(!0))}));return t.add(Object(pe.h)(()=>n(!1))),i}))}doProvideWithEditorSymbols(e,t,n,i){const r=new pe.b;r.add(n.onDidAccept(t=>{const[i]=n.selectedItems;i&&i.range&&(this.gotoLocation(e,{range:i.range.selection,keyMods:n.keyMods,preserveFocus:t.inBackground}),t.inBackground||n.hide())})),r.add(n.onDidTriggerItemButton(({item:t})=>{t&&t.range&&(this.gotoLocation(e,{range:t.range.selection,keyMods:n.keyMods,forceSideBySide:!0}),n.hide())}));const o=this.getDocumentSymbols(t,!0,i);let s=void 0;const a=()=>Gg(this,void 0,void 0,(function*(){null==s||s.dispose(!0),n.busy=!1,s=new Xe.b(i),n.busy=!0;try{const e=qg(n.value.substr(Yg.PREFIX.length).trim()),t=yield this.doGetSymbolPicks(o,e,void 0,s.token);if(i.isCancellationRequested)return;t.length>0?n.items=t:e.original.length>0?this.provideLabelPick(n,Object(U.a)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(n,Object(U.a)("noSymbolResults","No editor symbols"))}finally{i.isCancellationRequested||(n.busy=!1)}}));r.add(n.onDidChangeValue(()=>a())),a();let l=!0;return r.add(n.onDidChangeActive(()=>{const[t]=n.activeItems;if(t&&t.range){if(l)return void(l=!1);e.revealRangeInCenter(t.range.selection,0),this.addDecorations(e,t.range.decoration)}})),r}doGetSymbolPicks(e,t,n,i){return Gg(this,void 0,void 0,(function*(){const r=yield e;if(i.isCancellationRequested)return[];const o=0===t.original.indexOf(Yg.SCOPE_PREFIX),s=o?1:0;let a,l;t.values&&t.values.length>1?(a=Kg(t.values[0]),l=Kg(t.values.slice(1))):a=t;const c=[];for(let e=0;e<r.length;e++){const i=r[e],o=Object(Ye.W)(i.name),d=`$(symbol-${et.A.toString(i.kind)||"property"}) ${o}`,h=d.length-o.length;let u=i.containerName;(null==n?void 0:n.extraContainerLabel)&&(u=u?`${n.extraContainerLabel} • ${u}`:n.extraContainerLabel);let p=void 0,m=void 0,g=void 0,f=void 0;if(t.original.length>s){let e=!1;if(a!==t&&([p,m]=jg(d,Object.assign(Object.assign({},t),{values:void 0}),s,h),"number"==typeof p&&(e=!0)),"number"!=typeof p&&([p,m]=jg(d,a,s,h),"number"!=typeof p))continue;if(!e&&l){if(u&&l.original.length>0&&([g,f]=jg(u,l)),"number"!=typeof g)continue;"number"==typeof p&&(p+=g)}}const b=i.tags&&i.tags.indexOf(1)>=0;c.push({index:e,kind:i.kind,score:p,label:d,ariaLabel:o,description:u,highlights:b?void 0:{label:m,description:f},range:{selection:ge.a.collapseToStart(i.selectionRange),decoration:i.range},strikethrough:b,buttons:(()=>{var e,t;const n=(null===(e=this.options)||void 0===e?void 0:e.openSideBySideDirection)?null===(t=this.options)||void 0===t?void 0:t.openSideBySideDirection():void 0;if(n)return[{iconClass:"right"===n?Y.a.splitHorizontal.classNames:Y.a.splitVertical.classNames,tooltip:"right"===n?Object(U.a)("openToSide","Open to the Side"):Object(U.a)("openToBottom","Open to the Bottom")}]})()})}const d=c.sort((e,t)=>o?this.compareByKindAndScore(e,t):this.compareByScore(e,t));let h=[];if(o){let e=void 0,t=void 0,n=0;function u(){t&&"number"==typeof e&&n>0&&(t.label=Object(Ye.x)(Xg[e]||Zg,n))}for(const i of d)e!==i.kind?(u(),e=i.kind,n=1,t={type:"separator"},h.push(t)):n++,h.push(i);u()}else d.length>0&&(h=[{label:Object(U.a)("symbols","symbols ({0})",c.length),type:"separator"},...d]);return h}))}compareByScore(e,t){if("number"!=typeof e.score&&"number"==typeof t.score)return 1;if("number"==typeof e.score&&"number"!=typeof t.score)return-1;if("number"==typeof e.score&&"number"==typeof t.score){if(e.score>t.score)return-1;if(e.score<t.score)return 1}return e.index<t.index?-1:e.index>t.index?1:0}compareByKindAndScore(e,t){const n=Xg[e.kind]||Zg,i=Xg[t.kind]||Zg,r=n.localeCompare(i);return 0===r?this.compareByScore(e,t):r}getDocumentSymbols(e,t,n){return Gg(this,void 0,void 0,(function*(){const i=yield ss.create(e,n);if(n.isCancellationRequested)return[];const r=[];for(const e of i.children.values())e instanceof rs?r.push(e.symbol):r.push(...Wo.a.map(e.children.values(),e=>e.symbol));let o=[];return t?this.flattenDocumentSymbols(o,r,""):o=r,o.sort((e,t)=>ge.a.compareRangesUsingStarts(e.range,t.range))}))}flattenDocumentSymbols(e,t,n){for(const i of t)e.push({kind:i.kind,tags:i.tags,name:i.name,detail:i.detail,containerName:i.containerName||n,range:i.range,selectionRange:i.selectionRange,children:void 0}),i.children&&this.flattenDocumentSymbols(e,i.children,i.name)}}Yg.PREFIX="@",Yg.SCOPE_PREFIX=":",Yg.PREFIX_BY_CATEGORY=`${Yg.PREFIX}${Yg.SCOPE_PREFIX}`;const Zg=Object(U.a)("property","properties ({0})"),Xg={5:Object(U.a)("method","methods ({0})"),11:Object(U.a)("function","functions ({0})"),8:Object(U.a)("_constructor","constructors ({0})"),12:Object(U.a)("variable","variables ({0})"),4:Object(U.a)("class","classes ({0})"),22:Object(U.a)("struct","structs ({0})"),23:Object(U.a)("event","events ({0})"),24:Object(U.a)("operator","operators ({0})"),10:Object(U.a)("interface","interfaces ({0})"),2:Object(U.a)("namespace","namespaces ({0})"),3:Object(U.a)("package","packages ({0})"),25:Object(U.a)("typeParameter","type parameters ({0})"),1:Object(U.a)("modules","modules ({0})"),6:Object(U.a)("property","properties ({0})"),9:Object(U.a)("enum","enumerations ({0})"),21:Object(U.a)("enumMember","enumeration members ({0})"),14:Object(U.a)("string","strings ({0})"),0:Object(U.a)("file","files ({0})"),17:Object(U.a)("array","arrays ({0})"),15:Object(U.a)("number","numbers ({0})"),16:Object(U.a)("boolean","booleans ({0})"),18:Object(U.a)("object","objects ({0})"),19:Object(U.a)("key","keys ({0})"),7:Object(U.a)("field","fields ({0})"),13:Object(U.a)("constant","constants ({0})")};var Qg=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},Jg=function(e,t){return function(n,i){t(n,i,e)}};let ef=class extends Yg{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Lt.b.None}get activeTextEditorControl(){return Object(Qr.n)(this.editorService.getFocusedCodeEditor())}};ef=Qg([Jg(0,Me.a)],ef),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:ef,prefix:Yg.PREFIX,helpEntries:[{description:ug.f.quickOutlineActionLabel,prefix:Yg.PREFIX,needsEditor:!0},{description:ug.f.quickOutlineByCategoryActionLabel,prefix:Yg.PREFIX_BY_CATEGORY,needsEditor:!0}]});class tf extends V.b{constructor(){super({id:"editor.action.quickOutline",label:ug.f.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:H.a.hasDocumentSymbolProvider,kbOpts:{kbExpr:H.a.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(Sn.a).quickAccess.show(Yg.PREFIX)}}Object(V.k)(tf);var nf,rf=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function of(e){const t=e;return Array.isArray(t.items)}!function(e){e[e.NO_ACTION=0]="NO_ACTION",e[e.CLOSE_PICKER=1]="CLOSE_PICKER",e[e.REFRESH_PICKER=2]="REFRESH_PICKER",e[e.REMOVE_ITEM=3]="REMOVE_ITEM"}(nf||(nf={}));class sf extends pe.a{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var n;const i=new pe.b;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let r=void 0;const o=i.add(new pe.d),s=()=>rf(this,void 0,void 0,(function*(){const n=o.value=new pe.b;null==r||r.dispose(!0),e.busy=!1,r=new Xe.b(t);const i=r.token,s=e.value.substr(this.prefix.length).trim(),a=this.getPicks(s,n,i),l=(t,n)=>{var i;let r,o=void 0;if(of(t)?(r=t.items,o=t.active):r=t,0===r.length){if(n)return!1;s.length>0&&(null===(i=this.options)||void 0===i?void 0:i.noResultsPick)&&(r=[this.options.noResultsPick])}return e.items=r,o&&(e.activeItems=[o]),!0};if(null===a);else if(function(e){const t=e;return!!t.picks&&t.additionalPicks instanceof Promise}(a)){let t=!1,n=!1;yield Promise.all([(()=>rf(this,void 0,void 0,(function*(){yield Object(ue.l)(sf.FAST_PICKS_RACE_DELAY),i.isCancellationRequested||n||(t=l(a.picks,!0))})))(),(()=>rf(this,void 0,void 0,(function*(){e.busy=!0;try{const r=yield a.additionalPicks;if(i.isCancellationRequested)return;let o,s,c=void 0;of(a.picks)?(o=a.picks.items,c=a.picks.active):o=a.picks;let d=void 0;if(of(r)?(s=r.items,d=r.active):s=r,s.length>0||!t){let t=void 0;if(!c&&!d){const n=e.activeItems[0];n&&-1!==o.indexOf(n)&&(t=n)}l({items:[...o,...s],active:c||d||t})}}finally{i.isCancellationRequested||(e.busy=!1),n=!0}})))()])}else if(a instanceof Promise){e.busy=!0;try{const t=yield a;if(i.isCancellationRequested)return;l(t)}finally{i.isCancellationRequested||(e.busy=!1)}}else l(a)}));return i.add(e.onDidChangeValue(()=>s())),s(),i.add(e.onDidAccept(t=>{const[n]=e.selectedItems;"function"==typeof(null==n?void 0:n.accept)&&(t.inBackground||e.hide(),n.accept(e.keyMods,t))})),i.add(e.onDidTriggerItemButton(({button:n,item:i})=>rf(this,void 0,void 0,(function*(){var r,o;if("function"==typeof i.trigger){const a=null!==(o=null===(r=i.buttons)||void 0===r?void 0:r.indexOf(n))&&void 0!==o?o:-1;if(a>=0){const n=i.trigger(a,e.keyMods),r="number"==typeof n?n:yield n;if(t.isCancellationRequested)return;switch(r){case nf.NO_ACTION:break;case nf.CLOSE_PICKER:e.hide();break;case nf.REFRESH_PICKER:s();break;case nf.REMOVE_ITEM:const t=e.items.indexOf(i);if(-1!==t){const n=e.items.slice();n.splice(t,1),e.items=n}}}}})))),i}}function af(e,t){return t&&(e.stack||e.stacktrace)?U.a("stackTrace.format","{0}: {1}",cf(e),lf(e.stack)||lf(e.stacktrace)):cf(e)}function lf(e){return Array.isArray(e)?e.join("\n"):e}function cf(e){return"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?U.a("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||U.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function df(e=null,t=!1){if(!e)return U.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(e)){const n=G.d(e),i=df(n[0],t);return n.length>1?U.a("error.moreErrors","{0} ({1} errors in total)",i,n.length):i}if(Qr.j(e))return e;if(e.detail){const n=e.detail;if(n.error)return af(n.error,t);if(n.exception)return af(n.exception,t)}return e.stack?af(e,t):e.message?e.message:U.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}sf.FAST_PICKS_RACE_DELAY=200;var hf=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},uf=function(e,t){return function(n,i){t(n,i,e)}},pf=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let mf=class e extends sf{constructor(t,n,i,r,o,s){super(e.PREFIX,t),this.options=t,this.instantiationService=n,this.keybindingService=i,this.commandService=r,this.telemetryService=o,this.notificationService=s,this.commandsHistory=this._register(this.instantiationService.createInstance(gf))}getPicks(t,n,i){return pf(this,void 0,void 0,(function*(){const r=yield this.getCommandPicks(n,i);if(i.isCancellationRequested)return[];const o=[];for(const n of r){const i=Object(Qr.n)(e.WORD_FILTER(t,n.label)),r=n.commandAlias?Object(Qr.n)(e.WORD_FILTER(t,n.commandAlias)):void 0;i||r?(n.highlights={label:i,detail:this.options.showAlias?r:void 0},o.push(n)):t===n.commandId&&o.push(n)}const s=new Map;for(const e of o){const t=s.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):s.set(e.label,e)}o.sort((e,t)=>{const n=this.commandsHistory.peek(e.commandId),i=this.commandsHistory.peek(t.commandId);return n&&i?n>i?-1:1:n?-1:i?1:e.label.localeCompare(t.label)});const a=[];let l=!1;for(let e=0;e<o.length;e++){const t=o[e],n=this.keybindingService.lookupKeybinding(t.commandId),i=n?Object(U.a)("commandPickAriaLabelWithKeybinding","{0}, {1}",t.label,n.getAriaLabel()):t.label;0===e&&this.commandsHistory.peek(t.commandId)&&(a.push({type:"separator",label:Object(U.a)("recentlyUsed","recently used")}),l=!0),0!==e&&l&&!this.commandsHistory.peek(t.commandId)&&(a.push({type:"separator",label:Object(U.a)("morecCommands","other commands")}),l=!1),a.push(Object.assign(Object.assign({},t),{ariaLabel:i,detail:this.options.showAlias&&t.commandAlias!==t.label?t.commandAlias:void 0,keybinding:n,accept:()=>pf(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){Object(Z.d)(e)||this.notificationService.error(Object(U.a)("canNotRun","Command '{0}' resulted in an error ({1})",t.label,df(e)))}}))}))}return a}))}};mf.PREFIX=">",mf.WORD_FILTER=Object(va.j)(va.h,va.i,va.f),mf=hf([uf(1,gt.a),uf(2,vt.a),uf(3,Ft.b),uf(4,Bt.a),uf(5,zt.a)],mf);let gf=class e extends pe.a{constructor(t,n,i){super(),this.storageService=t,this.configurationService=n,this.configuredCommandsHistoryLength=0,i.registerStorageKey({key:e.PREF_KEY_CACHE,version:1}),i.registerStorageKey({key:e.PREF_KEY_COUNTER,version:1}),this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){const t=this.storageService.get(e.PREF_KEY_CACHE,0);let n;if(t)try{n=JSON.parse(t)}catch(e){}const i=e.cache=new gn.a(this.configuredCommandsHistoryLength,1);if(n){let e;e=n.usesLRU?n.entries:n.entries.sort((e,t)=>e.value-t.value),e.forEach(e=>i.set(e.key,e.value))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var n;return null===(n=e.cache)||void 0===n?void 0:n.peek(t)}static saveState(t){if(!e.cache)return;const n={usesLRU:!0,entries:[]};e.cache.forEach((e,t)=>n.entries.push({key:t,value:e})),t.store(e.PREF_KEY_CACHE,JSON.stringify(n),0),t.store(e.PREF_KEY_COUNTER,e.counter,0)}static getConfiguredCommandHistoryLength(t){var n,i;const r=null===(i=null===(n=t.getValue().workbench)||void 0===n?void 0:n.commandPalette)||void 0===i?void 0:i.history;return"number"==typeof r?r:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};gf.DEFAULT_COMMANDS_HISTORY_LENGTH=50,gf.PREF_KEY_CACHE="commandPalette.mru.cache",gf.PREF_KEY_COUNTER="commandPalette.mru.counter",gf.counter=1,gf=hf([uf(0,fn.a),uf(1,Dn.a),uf(2,Fr.a)],gf);class ff extends mf{constructor(e,t,n,i,r,o){super(e,t,n,i,r,o)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const n of e.getSupportedActions())t.push({commandId:n.id,commandAlias:n.alias,label:Object(Y.h)(n.label)||n.id});return t}}var bf=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},_f=function(e,t){return function(n,i){t(n,i,e)}},vf=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let wf=class extends ff{constructor(e,t,n,i,r,o){super({showAlias:!1},e,n,i,r,o),this.codeEditorService=t}get activeTextEditorControl(){return Object(Qr.n)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return vf(this,void 0,void 0,(function*(){return this.getCodeEditorCommandPicks()}))}};wf=bf([_f(0,gt.a),_f(1,Me.a),_f(2,vt.a),_f(3,Ft.b),_f(4,Bt.a),_f(5,zt.a)],wf),Gh.a.as(Ig.b.Quickaccess).registerQuickAccessProvider({ctor:wf,prefix:wf.PREFIX,helpEntries:[{description:ug.d.quickCommandHelp,needsEditor:!0}]});class yf extends V.b{constructor(){super({id:"editor.action.quickCommand",label:ug.d.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:H.a.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(Sn.a).quickAccess.show(wf.PREFIX)}}Object(V.k)(yf);var Cf=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},xf=function(e,t){return function(n,i){t(n,i,e)}};let Sf=class extends Xa{constructor(e,t,n,i,r,o,s){super(!0,e,t,n,i,r,o,s)}};Sf=Cf([xf(1,K.b),xf(2,Me.a),xf(3,zt.a),xf(4,gt.a),xf(5,fn.a),xf(6,Dn.a)],Sf),Object(V.m)(Xa.ID,Sf);class kf extends V.b{constructor(){super({id:"editor.action.toggleHighContrast",label:ug.i.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const n=e.get(Sg.a);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getColorTheme().themeName,n.setTheme("hc-black"))}}Object(V.k)(kf)},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},r={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","node","nodes","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","non-unicode","non-unique","no-scrolling","no-sign","no-title","no-topofpage","no-zero","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","condense","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","insert","ipow","line_exists","line_index","lines","log","log10","match","matches","nmax","nmin","numofchar","repeat","replace","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","translate","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","table","hashed","index","sorted","standard","accp","char","clnt","cuky","curr","dats","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","tims","unit","df16_scl","df34_scl","prec","varc","abap_bool","space","me","syst","sy","screen"],operators:[" +"," -","/","*","**","div","mod","=","#","@","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","and","equiv","not","or"," < "," > ","<=",">=","<>","><","=<","=>","between","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","in","le","lt","na","nb","ne","np","ns"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_$][\w-$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@operators":"operator","@default":"identifier"}}],[/<[\w]+>/,"identifier"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},r=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach((function(e){r.push(e),r.push(e.toUpperCase()),r.push(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e))}));var o={defaultToken:"",tokenPostfix:".apex",keywords:r,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"}},r={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","begin","Bytes","Crypto","Current","else","end","failwith","false","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","Set","set","sender","source","String","then","true","type","with"],typeKeywords:["int","unit","string","tz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={brackets:[],autoClosingPairs:[],surroundingPairs:[]},r={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".css",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},r={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},r={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},r={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return s}));var i=n(95),r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:i.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.a.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},r={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return s}));var i=n(95),r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.a.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},s={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},r={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return o}));var i=n(142),r=i.conf,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:i.language.operators,symbols:i.language.symbols,escapes:i.language.escapes,digits:i.language.digits,octaldigits:i.language.octaldigits,binarydigits:i.language.binarydigits,hexdigits:i.language.hexdigits,regexpctl:i.language.regexpctl,regexpesc:i.language.regexpesc,tokenizer:i.language.tokenizer}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},r={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},r={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=><!~?:&|+\-*\/\^%]+/,tokenizer:{root:[[/^(\s*)(comment:?(?:\s.*|))$/,["","comment"]],[/"/,{token:"identifier.quote",bracket:"@open",next:"@quoted_identifier"}],["LEX$",{token:"keyword",bracket:"@open",next:"@identifier_until_period"}],["LEXON",{token:"keyword",bracket:"@open",next:"@semver"}],[":",{token:"delimiter",bracket:"@open",next:"@identifier_until_period"}],[/[a-z_$][\w$]*/,{cases:{"@operators":"operator","@typeKeywords":"keyword.type","@keywords":"keyword","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},r={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ACCOUNT","ACTION","ADD","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCHANGE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GRANT","GRANTS","GROUP","GROUP_REPLICATION","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISOLATION","ISSUER","ITERATE","JOIN","JSON","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_VERSION","MASTER_USER","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NEVER","NEW","NEXT","NO","NODEGROUP","NONBLOCKING","NONE","NO_WAIT","NO_WRITE_TO_BINLOG","NUMBER","NUMERIC","NVARCHAR","OFFSET","OLD_PASSWORD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OPTIONS","OR","ORDER","OUT","OUTER","OUTFILE","OWNER","PACK_KEYS","PAGE","PARSER","PARSE_GCOL_EXPR","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PROCEDURE","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANGE","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","REDOFILE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","RESET","RESIGNAL","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNS","REVERSE","REVOKE","RIGHT","RLIKE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VIEW","VIRTUAL","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CURDATE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAST_INSERT_ID","LCASE","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROUND","ROW_COUNT","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LongFromGeoHash","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SymDifference","ST_Touches","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},r={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*</,{token:"string.delim",switchTo:"@qstring.<.>"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*</,{token:"regexp.delim",switchTo:"@qregexp.<.>"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*</,{token:"string.delim",switchTo:"@qqstring.<.>"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["A","ABORT","ABS","ABSENT","ABSOLUTE","ACCESS","ACCORDING","ACTION","ADA","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALLOCATE","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARE","ARRAY","ARRAY_AGG","ARRAY_MAX_CARDINALITY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTRIBUTE","ATTRIBUTES","AUTHORIZATION","AVG","BACKWARD","BASE64","BEFORE","BEGIN","BEGIN_FRAME","BEGIN_PARTITION","BERNOULLI","BETWEEN","BIGINT","BINARY","BIT","BIT_LENGTH","BLOB","BLOCKED","BOM","BOOLEAN","BOTH","BREADTH","BY","C","CACHE","CALL","CALLED","CARDINALITY","CASCADE","CASCADED","CASE","CAST","CATALOG","CATALOG_NAME","CEIL","CEILING","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHARACTERS","CHARACTER_LENGTH","CHARACTER_SET_CATALOG","CHARACTER_SET_NAME","CHARACTER_SET_SCHEMA","CHAR_LENGTH","CHECK","CHECKPOINT","CLASS","CLASS_ORIGIN","CLOB","CLOSE","CLUSTER","COALESCE","COBOL","COLLATE","COLLATION","COLLATION_CATALOG","COLLATION_NAME","COLLATION_SCHEMA","COLLECT","COLUMN","COLUMNS","COLUMN_NAME","COMMAND_FUNCTION","COMMAND_FUNCTION_CODE","COMMENT","COMMENTS","COMMIT","COMMITTED","CONCURRENTLY","CONDITION","CONDITION_NUMBER","CONFIGURATION","CONFLICT","CONNECT","CONNECTION","CONNECTION_NAME","CONSTRAINT","CONSTRAINTS","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONSTRUCTOR","CONTAINS","CONTENT","CONTINUE","CONTROL","CONVERSION","CONVERT","COPY","CORR","CORRESPONDING","COST","COUNT","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CSV","CUBE","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_ROW","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATALINK","DATE","DATETIME_INTERVAL_CODE","DATETIME_INTERVAL_PRECISION","DAY","DB","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DEGREE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DEPENDS","DEPTH","DEREF","DERIVED","DESC","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DISABLE","DISCARD","DISCONNECT","DISPATCH","DISTINCT","DLNEWCOPY","DLPREVIOUSCOPY","DLURLCOMPLETE","DLURLCOMPLETEONLY","DLURLCOMPLETEWRITE","DLURLPATH","DLURLPATHONLY","DLURLPATHWRITE","DLURLSCHEME","DLURLSERVER","DLVALUE","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","DYNAMIC","DYNAMIC_FUNCTION","DYNAMIC_FUNCTION_CODE","EACH","ELEMENT","ELSE","EMPTY","ENABLE","ENCODING","ENCRYPTED","END","END-EXEC","END_FRAME","END_PARTITION","ENFORCED","ENUM","EQUALS","ESCAPE","EVENT","EVERY","EXCEPT","EXCEPTION","EXCLUDE","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXP","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILE","FILTER","FINAL","FIRST","FIRST_VALUE","FLAG","FLOAT","FLOOR","FOLLOWING","FOR","FORCE","FOREIGN","FORTRAN","FORWARD","FOUND","FRAME_ROW","FREE","FREEZE","FROM","FS","FULL","FUNCTION","FUNCTIONS","FUSION","G","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HEX","HIERARCHY","HOLD","HOUR","ID","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMEDIATELY","IMMUTABLE","IMPLEMENTATION","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INDENT","INDEX","INDEXES","INDICATOR","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTANCE","INSTANTIABLE","INSTEAD","INT","INTEGER","INTEGRITY","INTERSECT","INTERSECTION","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","K","KEY","KEY_MEMBER","KEY_TYPE","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAKPROOF","LEAST","LEFT","LENGTH","LEVEL","LIBRARY","LIKE","LIKE_REGEX","LIMIT","LINK","LISTEN","LN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKED","LOGGED","LOWER","M","MAP","MAPPING","MATCH","MATCHED","MATERIALIZED","MAX","MAXVALUE","MAX_CARDINALITY","MEMBER","MERGE","MESSAGE_LENGTH","MESSAGE_OCTET_LENGTH","MESSAGE_TEXT","METHOD","MIN","MINUTE","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MORE","MOVE","MULTISET","MUMPS","NAME","NAMES","NAMESPACE","NATIONAL","NATURAL","NCHAR","NCLOB","NESTING","NEW","NEXT","NFC","NFD","NFKC","NFKD","NIL","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NTH_VALUE","NTILE","NULL","NULLABLE","NULLIF","NULLS","NUMBER","NUMERIC","OBJECT","OCCURRENCES_REGEX","OCTETS","OCTET_LENGTH","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPEN","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDERING","ORDINALITY","OTHERS","OUT","OUTER","OUTPUT","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","P","PAD","PARALLEL","PARAMETER","PARAMETER_MODE","PARAMETER_NAME","PARAMETER_ORDINAL_POSITION","PARAMETER_SPECIFIC_CATALOG","PARAMETER_SPECIFIC_NAME","PARAMETER_SPECIFIC_SCHEMA","PARSER","PARTIAL","PARTITION","PASCAL","PASSING","PASSTHROUGH","PASSWORD","PATH","PERCENT","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PERIOD","PERMISSION","PLACING","PLANS","PLI","POLICY","PORTION","POSITION","POSITION_REGEX","POWER","PRECEDES","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROGRAM","PUBLIC","QUOTE","RANGE","RANK","READ","READS","REAL","REASSIGN","RECHECK","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","REQUIRING","RESET","RESPECT","RESTART","RESTORE","RESTRICT","RESULT","RETURN","RETURNED_CARDINALITY","RETURNED_LENGTH","RETURNED_OCTET_LENGTH","RETURNED_SQLSTATE","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINE_CATALOG","ROUTINE_NAME","ROUTINE_SCHEMA","ROW","ROWS","ROW_COUNT","ROW_NUMBER","RULE","SAVEPOINT","SCALE","SCHEMA","SCHEMA_NAME","SCOPE","SCOPE_CATALOG","SCOPE_NAME","SCOPE_SCHEMA","SCROLL","SEARCH","SECOND","SECTION","SECURITY","SELECT","SELECTIVE","SELF","SENSITIVE","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SERVER_NAME","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SIZE","SKIP","SMALLINT","SNAPSHOT","SOME","SOURCE","SPACE","SPECIFIC","SPECIFICTYPE","SPECIFIC_NAME","SQL","SQLCODE","SQLERROR","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQRT","STABLE","STANDALONE","START","STATE","STATEMENT","STATIC","STATISTICS","STDDEV_POP","STDDEV_SAMP","STDIN","STDOUT","STORAGE","STRICT","STRIP","STRUCTURE","STYLE","SUBCLASS_ORIGIN","SUBMULTISET","SUBSTRING","SUBSTRING_REGEX","SUCCEEDS","SUM","SYMMETRIC","SYSID","SYSTEM","SYSTEM_TIME","SYSTEM_USER","T","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TABLE_NAME","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOKEN","TOP_LEVEL_COUNT","TRAILING","TRANSACTION","TRANSACTIONS_COMMITTED","TRANSACTIONS_ROLLED_BACK","TRANSACTION_ACTIVE","TRANSFORM","TRANSFORMS","TRANSLATE","TRANSLATE_REGEX","TRANSLATION","TREAT","TRIGGER","TRIGGER_CATALOG","TRIGGER_NAME","TRIGGER_SCHEMA","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNDER","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLINK","UNLISTEN","UNLOGGED","UNNAMED","UNNEST","UNTIL","UNTYPED","UPDATE","UPPER","URI","USAGE","USER","USER_DEFINED_TYPE_CATALOG","USER_DEFINED_TYPE_CODE","USER_DEFINED_TYPE_NAME","USER_DEFINED_TYPE_SCHEMA","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VALUE_OF","VARBINARY","VARCHAR","VARIADIC","VARYING","VAR_POP","VAR_SAMP","VERBOSE","VERSION","VERSIONING","VIEW","VIEWS","VOLATILE","WHEN","WHENEVER","WHERE","WHITESPACE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLAGG","XMLATTRIBUTES","XMLBINARY","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDECLARATION","XMLDOCUMENT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLITERATE","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSCHEMA","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","YEAR","YES","ZONE"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acos","acosd","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","atan","atan2","atan2d","atand","avg","bit","bit_and","bit_length","bit_or","bool_and","bool_or","bound_box","box","brin_summarize_new_values","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","date_part","date_trunc","decode","degrees","dense_rank","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","family","first_value","floor","format","format_type","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lead","least","left","length","line","ln","localtime","localtimestamp","log","lower","lower_inc","lower_inf","lpad","lseg","ltrim","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","max","md5","min","mod","mode","netmask","network","nextval","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_merge","rank","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","shobj_description","sign","sin","sind","split_part","sprintf","sqrt","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","strip","strpos","substr","substring","sum","table_to_xml","table_to_xml_and_xmlschema","tan","tand","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},r={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},r={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/\.@symbolic+/,action:{token:"identifier.sym"}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:"number.float"}},{regex:/\.@digit+/,action:{token:"number.float"}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:"keyword.dlr"},"@default":{token:"namespace"}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:"keyword.srp"},"@default":{token:"identifier"}}}},{regex:/%\(/,action:{token:"delimiter.parenthesis"}},{regex:/^%{(#|\^|\$)?/,action:{token:"keyword",next:"@lexing_EXTCODE",nextEmbedded:"text/javascript"}},{regex:/^%}/,action:{token:"keyword"}},{regex:/'\(/,action:{token:"delimiter.parenthesis"}},{regex:/'\[/,action:{token:"delimiter.bracket"}},{regex:/'\{/,action:{token:"delimiter.brace"}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,["string","string.escape","string"]],[/'[^\\']'/,"string"],[/"/,"string.quote","@lexing_DQUOTE"],{regex:/`\(/,action:"@brackets"},{regex:/\\/,action:{token:"punctuation"}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:"keyword"}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:"keyword"},"@keywords_types":{token:"type"},"@default":{token:"identifier"}}}},{regex:/\/\/\/\//,action:{token:"comment",next:"@lexing_COMMENT_rest"}},{regex:/\/\/.*$/,action:{token:"comment"}},{regex:/\/\*/,action:{token:"comment",next:"@lexing_COMMENT_block_c"}},{regex:/-<|=</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/@symbolic+/,action:{cases:{"@operators":"keyword","@default":"operator"}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:"number.float"}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:"number.hex"}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:"number.octal"}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:"number.float"}},{regex:/@digit@digitseq0@INTSP*/,action:{token:"number.decimal"}},{regex:/@digit+@INTSP*/,action:{token:"number"}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,"comment"],[/\(\*/,"comment","@push"],[/\(\*/,"comment.invalid"],[/\*\)/,"comment","@pop"],[/\*/,"comment"]],lexing_COMMENT_block_c:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],lexing_COMMENT_rest:[[/$/,"comment","@pop"],[/.*/,"comment"]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:"type.effect"},"@default":{token:"identifier"}}}},{regex:/,/,action:{token:"punctuation"}},{regex:/>/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},r={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\-*\/\^;\.,]+/,escapes:/`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\w-]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/^:\w*/,"metatag"],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,"variable"],[/<#/,"comment","@comment"],[/#.*$/,"comment"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/\@"/,"string",'@herestring."'],[/\@'/,"string","@herestring.'"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/`./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:"variable",next:"@popall"},"@default":{token:"string",next:"@popall"}}}],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^\$`]+/,"string"],[/@escapes/,"string.escape"],[/`./,"string.escape.invalid"],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}]],comment:[[/[^#\.]+/,"comment"],[/#>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},r={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return o}));var i=n(95),r={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:i.a.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},r={defaultToken:"",tokenPostfix:".r",roxygen:["@param","@return","@name","@rdname","@examples","@include","@docType","@S3method","@TODO","@aliases","@alias","@assignee","@author","@callGraphDepth","@callGraph","@callGraphPrimitives","@concept","@exportClass","@exportMethod","@exportPattern","@export","@formals","@format","@importClassesFrom","@importFrom","@importMethodsFrom","@import","@keywords","@method","@nord","@note","@references","@seealso","@setClass","@slot","@source","@title","@usage"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN ","NA_integer_","NA_real_","NA_complex_","NA_character_ ","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return s}));var i=n(95),r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:i.a.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.a.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},r={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,alphanumericsplus:/[A-Za-z0-9-_+:.]/,simpleRefNameWithoutBq:/(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefName(?:\s@simpleRefName)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},r={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,["white",{cases:{"for|until|while":{token:"keyword.$2",next:"@dodecl.$2"},"@declarations":{token:"keyword.$2",next:"@root.$2"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:"keyword.$0x",next:"@modifier.$0x"},for:{token:"keyword.$2",next:"@dodecl.$2"},"@linedecls":{token:"keyword.$0",next:"@root.$0"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],[/[A-Z][\w]*[!?=]?/,"constructor.identifier"],[/\$[\w]*/,"global.constant"],[/@[\w]*/,"namespace.instance.identifier"],[/@@[\w]*/,"namespace.class.identifier"],[/<<[-~](@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/[ \t\r\n]+<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/^<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],{include:"@whitespace"},[/"/,{token:"string.d.delim",next:'@dstring.d."'}],[/'/,{token:"string.sq.delim",next:"@sstring.sq"}],[/%([rsqxwW]|Q?)/,{token:"@rematch",next:"pstring"}],[/`/,{token:"string.x.delim",next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,"string.s"],[/:"/,{token:"string.s.delim",next:'@dstring.s."'}],[/:'/,{token:"string.s.delim",next:"@sstring.s"}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:"regexp.delim",next:"@regexp"}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@keywordops":"keyword","@operators":"operator","@default":""}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/0[dD]@decpart/,"number"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:"number.float","@default":"number"}}]],dodecl:[[/^/,{token:"",switchTo:"@root.$S2"}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},do:{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],modifier:[[/^/,"","@pop"],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"then|else|elsif|do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],sstring:[[/[^\\']+/,"string.$S2"],[/\\\\|\\'|\\$/,"string.$S2.escape"],[/\\./,"string.$S2.invalid"],[/'/,{token:"string.$S2.delim",next:"@pop"}]],dstring:[[/[^\\`"#]+/,"string.$S2"],[/#/,"string.$S2.escape","@interpolated"],[/\\$/,"string.$S2.escape"],[/@escapes/,"string.$S2.escape"],[/\\./,"string.$S2.escape.invalid"],[/[`"]/,{cases:{"$#==$S3":{token:"string.$S2.delim",next:"@pop"},"@default":"string.$S2"}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":["string.heredoc",{token:"string.heredoc.delimiter",next:"@pop"}],"@default":["string.heredoc","string.heredoc"]}}],[/.*/,"string.heredoc"]],interpolated:[[/\$\w*/,"global.constant","@pop"],[/@\w*/,"namespace.class.identifier","@pop"],[/@@\w*/,"namespace.instance.identifier","@pop"],[/[{]/,{token:"string.escape.curly",switchTo:"@interpolated_compound"}],["","","@pop"]],interpolated_compound:[[/[}]/,{token:"string.escape.curly",next:"@pop"}],{include:"@root"}],pregexp:[{include:"@whitespace"},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:"regexp.delim",next:"@pop"},"$#==$S2":{token:"regexp.delim",next:"@push"},"~[)}\\]]":"@brackets.regexp.escape.control","~@regexpctl":"regexp.escape.control","@default":"regexp"}}],{include:"@regexcontrol"}],regexp:[{include:"@regexcontrol"},[/[^\\\/]/,"regexp"],["/[ixmp]*",{token:"regexp.delim"},"@pop"]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,["@brackets.regexp.escape.control","regexp.escape.control","@brackets.regexp.escape.control"]],[/(\[)(\^?)/,["@brackets.regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?[:=!])/,["@brackets.regexp.escape.control","regexp.escape.control"]],[/\(\?#/,{token:"regexp.escape.control",next:"@regexpcomment"}],[/[()]/,"@brackets.regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/#/,"regexp.escape","@interpolated"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"@brackets.regexp.escape.control","@pop"]],regexpcomment:[[/[^)]+/,"comment"],[/\)/,{token:"regexp.escape.control",next:"@pop"}]],pstring:[[/%([qws])\(/,{token:"string.$1.delim",switchTo:"@qstring.$1.(.)"}],[/%([qws])\[/,{token:"string.$1.delim",switchTo:"@qstring.$1.[.]"}],[/%([qws])\{/,{token:"string.$1.delim",switchTo:"@qstring.$1.{.}"}],[/%([qws])</,{token:"string.$1.delim",switchTo:"@qstring.$1.<.>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r</,{token:"regexp.delim",switchTo:"@pregexp.<.>"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)</,{token:"string.$1.delim",switchTo:"@qqstring.$1.<.>"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},r={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawstring"}],[/\bs"""/,{token:"string.quote",bracket:"@open",next:"@sstringt"}],[/\bs"/,{token:"string.quote",bracket:"@open",next:"@sstring"}],[/\bf""""/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring"}],[/"""/,{token:"string.quote",bracket:"@open",next:"@stringt"}],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/0[xX](@hexdigits)[Ll]?/,"number.hex","@allowMethod"],[/(@digits)[fFdD]/,"number.float","@allowMethod"],[/(@digits)[lL]?/,"number","@allowMethod"],[/\b_\*/,"key"],[/\b(_)\b/,"keyword","@allowMethod"],[/\bimport\b/,"keyword","@import"],[/\b(case)([ \t]+)(class)\b/,["keyword.modifier","white","keyword"]],[/\bcase\b/,"keyword","@case"],[/\bva[lr]\b/,"keyword","@vardef"],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,["keyword","white","identifier"]],[/@name(?=[ \t]*:(?!:))/,"variable"],[/(\.)(@name|@symbols)/,["operator",{token:"@rematch",next:"@allowMethod"}]],[/([{(])(\s*)(@name(?=\s*=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".scss",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/-+\w+/,"attribute.name"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r})); /*!--------------------------------------------------------------------------------------------- * Copyright (C) David Owens II, owensd.io. All rights reserved. *--------------------------------------------------------------------------------------------*/ -var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},o={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["\x3c!--","--\x3e"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},o={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},o={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupTypeScript",(function(){return P})),n.d(t,"setupJavaScript",(function(){return F})),n.d(t,"getJavaScriptWorker",(function(){return W})),n.d(t,"getTypeScriptWorker",(function(){return z}));var i,o,r=n(29),s=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},a=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},l=function(){function e(e,t){var n=this;this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange((function(){return n._stopWorker()})),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange((function(){return n._updateExtraLibs()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},e.prototype._updateExtraLibs=function(){return s(this,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:return this._worker?(e=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return t=n.sent(),this._updateExtraLibsToken!==e?[2]:(t.updateExtraLibs(this._defaults.getExtraLibs()),[2])}}))}))},e.prototype._getClient=function(){var e=this;if(!this._client){this._worker=r.f.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath}});var t=this._worker.getProxy();this._defaults.getEagerModelSync()&&(t=t.then((function(t){return e._worker?e._worker.withSyncedResources(r.f.getModels().filter((function(t){return t.getModeId()===e._modeId})).map((function(e){return e.uri}))):t}))),this._client=t}return this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){if(t._worker)return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),c={"lib.d.ts":!0,"lib.dom.d.ts":!0,"lib.dom.iterable.d.ts":!0,"lib.es2015.collection.d.ts":!0,"lib.es2015.core.d.ts":!0,"lib.es2015.d.ts":!0,"lib.es2015.generator.d.ts":!0,"lib.es2015.iterable.d.ts":!0,"lib.es2015.promise.d.ts":!0,"lib.es2015.proxy.d.ts":!0,"lib.es2015.reflect.d.ts":!0,"lib.es2015.symbol.d.ts":!0,"lib.es2015.symbol.wellknown.d.ts":!0,"lib.es2016.array.include.d.ts":!0,"lib.es2016.d.ts":!0,"lib.es2016.full.d.ts":!0,"lib.es2017.d.ts":!0,"lib.es2017.full.d.ts":!0,"lib.es2017.intl.d.ts":!0,"lib.es2017.object.d.ts":!0,"lib.es2017.sharedmemory.d.ts":!0,"lib.es2017.string.d.ts":!0,"lib.es2017.typedarrays.d.ts":!0,"lib.es2018.asyncgenerator.d.ts":!0,"lib.es2018.asynciterable.d.ts":!0,"lib.es2018.d.ts":!0,"lib.es2018.full.d.ts":!0,"lib.es2018.intl.d.ts":!0,"lib.es2018.promise.d.ts":!0,"lib.es2018.regexp.d.ts":!0,"lib.es2019.array.d.ts":!0,"lib.es2019.d.ts":!0,"lib.es2019.full.d.ts":!0,"lib.es2019.object.d.ts":!0,"lib.es2019.string.d.ts":!0,"lib.es2019.symbol.d.ts":!0,"lib.es2020.bigint.d.ts":!0,"lib.es2020.d.ts":!0,"lib.es2020.full.d.ts":!0,"lib.es2020.intl.d.ts":!0,"lib.es2020.promise.d.ts":!0,"lib.es2020.string.d.ts":!0,"lib.es2020.symbol.wellknown.d.ts":!0,"lib.es5.d.ts":!0,"lib.es6.d.ts":!0,"lib.esnext.d.ts":!0,"lib.esnext.full.d.ts":!0,"lib.esnext.intl.d.ts":!0,"lib.esnext.promise.d.ts":!0,"lib.esnext.string.d.ts":!0,"lib.scripthost.d.ts":!0,"lib.webworker.d.ts":!0,"lib.webworker.importscripts.d.ts":!0},d=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},u=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}};function p(e,t,n){if(void 0===n&&(n=0),"string"==typeof e)return e;if(void 0===e)return"";var i="";if(n){i+=t;for(var o=0;o<n;o++)i+=" "}if(i+=e.messageText,n++,e.next)for(var r=0,s=e.next;r<s.length;r++){i+=p(s[r],t,n)}return i}function m(e){return e?e.map((function(e){return e.text})).join(""):""}!function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(o||(o={}));var g,f=function(){function e(e){this._worker=e}return e.prototype._textSpanToRange=function(e,t){var n=e.getPositionAt(t.start),i=e.getPositionAt(t.start+t.length);return{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}},e}(),b=function(){function e(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}return e.prototype.isLibFile=function(e){return!!e&&(0===e.path.indexOf("/lib.")&&!!c[e.path.slice(1)])},e.prototype.getOrCreateModel=function(e){var t=r.f.getModel(e);return t||(this.isLibFile(e)&&this._hasFetchedLibFiles?r.f.createModel(this._libFiles[e.path.slice(1)],"javascript",e):null)},e.prototype._containsLibFile=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];if(this.isLibFile(i))return!0}return!1},e.prototype.fetchLibFilesIfNecessary=function(e){return h(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return this._containsLibFile(e)?[4,this._fetchLibFiles()]:[2];case 1:return t.sent(),[2]}}))}))},e.prototype._fetchLibFiles=function(){var e=this;return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then((function(e){return e.getLibFiles()})).then((function(t){e._hasFetchedLibFiles=!0,e._libFiles=t}))),this._fetchLibFilesPromise},e}();!function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(g||(g={}));var _=function(e){function t(t,n,i,o){var s=e.call(this,o)||this;s._libFiles=t,s._defaults=n,s._selector=i,s._disposables=[],s._listener=Object.create(null);var a=function(e){if(e.getModeId()===i){var t,n=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return s._doValidate(e)}),500)}));s._listener[e.uri.toString()]={dispose:function(){n.dispose(),clearTimeout(t)}},s._doValidate(e)}},l=function(e){r.f.setModelMarkers(e,s._selector,[]);var t=e.uri.toString();s._listener[t]&&(s._listener[t].dispose(),delete s._listener[t])};s._disposables.push(r.f.onDidCreateModel(a)),s._disposables.push(r.f.onWillDisposeModel(l)),s._disposables.push(r.f.onDidChangeModelLanguage((function(e){l(e.model),a(e.model)}))),s._disposables.push({dispose:function(){for(var e=0,t=r.f.getModels();e<t.length;e++){var n=t[e];l(n)}}});var c=function(){for(var e=0,t=r.f.getModels();e<t.length;e++){var n=t[e];l(n),a(n)}};return s._disposables.push(s._defaults.onDidChange(c)),s._disposables.push(s._defaults.onDidExtraLibsChange(c)),r.f.getModels().forEach(a),s}return d(t,e),t.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},t.prototype._doValidate=function(e){return h(this,void 0,void 0,(function(){var t,n,i,o,s,a,l,c,d,h=this;return u(this,(function(u){switch(u.label){case 0:return[4,this._worker(e.uri)];case 1:return t=u.sent(),e.isDisposed()?[2]:(n=[],i=this._defaults.getDiagnosticsOptions(),o=i.noSyntaxValidation,s=i.noSemanticValidation,a=i.noSuggestionDiagnostics,o||n.push(t.getSyntacticDiagnostics(e.uri.toString())),s||n.push(t.getSemanticDiagnostics(e.uri.toString())),a||n.push(t.getSuggestionDiagnostics(e.uri.toString())),[4,Promise.all(n)]);case 2:return!(l=u.sent())||e.isDisposed()?[2]:(c=l.reduce((function(e,t){return t.concat(e)}),[]).filter((function(e){return-1===(h._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)})),d=c.map((function(e){return e.relatedInformation||[]})).reduce((function(e,t){return t.concat(e)}),[]).map((function(e){return e.file?r.e.parse(e.file.fileName):null})),[4,this._libFiles.fetchLibFilesIfNecessary(d)]);case 3:return u.sent(),e.isDisposed()?[2]:(r.f.setModelMarkers(e,this._selector,c.map((function(t){return h._convertDiagnostics(e,t)}))),[2])}}))}))},t.prototype._convertDiagnostics=function(e,t){var n=t.start||0,i=t.length||1,o=e.getPositionAt(n),s=o.lineNumber,a=o.column,l=e.getPositionAt(n+i),c=l.lineNumber,d=l.column,h=[];return t.reportsUnnecessary&&h.push(r.c.Unnecessary),t.reportsDeprecated&&h.push(r.c.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:s,startColumn:a,endLineNumber:c,endColumn:d,message:p(t.messageText,"\n"),code:t.code.toString(),tags:h,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}},t.prototype._convertRelatedInformation=function(e,t){var n=this;if(t){var i=[];return t.forEach((function(t){var o=e;if(t.file){var s=r.e.parse(t.file.fileName);o=n._libFiles.getOrCreateModel(s)}if(o){var a=t.start||0,l=t.length||1,c=o.getPositionAt(a),d=c.lineNumber,h=c.column,u=o.getPositionAt(a+l),m=u.lineNumber,g=u.column;i.push({resource:o.uri,startLineNumber:d,startColumn:h,endLineNumber:m,endColumn:g,message:p(t.messageText,"\n")})}})),i}},t.prototype._tsDiagnosticCategoryToMarkerSeverity=function(e){switch(e){case g.Error:return r.b.Error;case g.Message:return r.b.Info;case g.Warning:return r.b.Warning;case g.Suggestion:return r.b.Hint}return r.b.Info},t}(f),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!1,configurable:!0}),t.prototype.provideCompletionItems=function(e,n,i,o){return h(this,void 0,void 0,(function(){var i,o,s,a,l;return u(this,(function(c){switch(c.label){case 0:return i=e.getWordUntilPosition(n),o=new r.d(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn),s=e.uri,a=e.getOffsetAt(n),[4,this._worker(s)];case 1:return[4,c.sent().getCompletionsAtPosition(s.toString(),a)];case 2:return!(l=c.sent())||e.isDisposed()?[2]:[2,{suggestions:l.entries.map((function(i){var l,c=o;if(i.replacementSpan){var d=e.getPositionAt(i.replacementSpan.start),h=e.getPositionAt(i.replacementSpan.start+i.replacementSpan.length);c=new r.d(d.lineNumber,d.column,h.lineNumber,h.column)}var u=[];return-1!==(null===(l=i.kindModifiers)||void 0===l?void 0:l.indexOf("deprecated"))&&u.push(r.g.CompletionItemTag.Deprecated),{uri:s,position:n,offset:a,range:c,label:i.name,insertText:i.name,sortText:i.sortText,kind:t.convertKind(i.kind),tags:u}}))}]}}))}))},t.prototype.resolveCompletionItem=function(e,n){return h(this,void 0,void 0,(function(){var n,i,o,r,s;return u(this,(function(a){switch(a.label){case 0:return i=(n=e).uri,o=n.position,r=n.offset,[4,this._worker(i)];case 1:return[4,a.sent().getCompletionEntryDetails(i.toString(),r,n.label)];case 2:return(s=a.sent())?[2,{uri:i,position:o,label:s.name,kind:t.convertKind(s.kind),detail:m(s.displayParts),documentation:{value:t.createDocumentationString(s)}}]:[2,n]}}))}))},t.convertKind=function(e){switch(e){case T.primitiveType:case T.keyword:return r.g.CompletionItemKind.Keyword;case T.variable:case T.localVariable:return r.g.CompletionItemKind.Variable;case T.memberVariable:case T.memberGetAccessor:case T.memberSetAccessor:return r.g.CompletionItemKind.Field;case T.function:case T.memberFunction:case T.constructSignature:case T.callSignature:case T.indexSignature:return r.g.CompletionItemKind.Function;case T.enum:return r.g.CompletionItemKind.Enum;case T.module:return r.g.CompletionItemKind.Module;case T.class:return r.g.CompletionItemKind.Class;case T.interface:return r.g.CompletionItemKind.Interface;case T.warning:return r.g.CompletionItemKind.File}return r.g.CompletionItemKind.Property},t.createDocumentationString=function(e){var t=m(e.documentation);if(e.tags)for(var n=0,i=e.tags;n<i.length;n++){t+="\n\n"+w(i[n])}return t},t}(f);function w(e){var t="*@"+e.name+"*";if("param"===e.name&&e.text){var n=e.text.split(" "),i=n[0],o=n.slice(1);t+="`"+i+"`",o.length>0&&(t+=" — "+o.join(" "))}else e.text&&(t+=" — "+e.text);return t}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signatureHelpTriggerCharacters=["(",","],t}return d(t,e),t.prototype.provideSignatureHelp=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,o,r;return u(this,(function(s){switch(s.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,s.sent().getSignatureHelpItems(n.toString(),i)];case 2:return!(o=s.sent())||e.isDisposed()?[2]:(r={activeSignature:o.selectedItemIndex,activeParameter:o.argumentIndex,signatures:[]},o.items.forEach((function(e){var t={label:"",parameters:[]};t.documentation={value:m(e.documentation)},t.label+=m(e.prefixDisplayParts),e.parameters.forEach((function(n,i,o){var r=m(n.displayParts),s={label:r,documentation:{value:m(n.documentation)}};t.label+=r,t.parameters.push(s),i<o.length-1&&(t.label+=m(e.separatorDisplayParts))})),t.label+=m(e.suffixDisplayParts),r.signatures.push(t)})),[2,{value:r,dispose:function(){}}])}}))}))},t}(f),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideHover=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,o,r,s,a;return u(this,(function(l){switch(l.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getQuickInfoAtPosition(n.toString(),i)];case 2:return!(o=l.sent())||e.isDisposed()?[2]:(r=m(o.documentation),s=o.tags?o.tags.map((function(e){return w(e)})).join(" \n\n"):"",a=m(o.displayParts),[2,{range:this._textSpanToRange(e,o.textSpan),contents:[{value:"```typescript\n"+a+"\n```\n"},{value:r+(s?"\n\n"+s:"")}]}])}}))}))},t}(f),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideDocumentHighlights=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,o,s=this;return u(this,(function(a){switch(a.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getOccurrencesAtPosition(n.toString(),i)];case 2:return!(o=a.sent())||e.isDisposed()?[2]:[2,o.map((function(t){return{range:s._textSpanToRange(e,t.textSpan),kind:t.isWriteAccess?r.g.DocumentHighlightKind.Write:r.g.DocumentHighlightKind.Text}}))]}}))}))},t}(f),S=function(e){function t(t,n){var i=e.call(this,n)||this;return i._libFiles=t,i}return d(t,e),t.prototype.provideDefinition=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,o,s,a,l,c,d,h;return u(this,(function(u){switch(u.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,u.sent().getDefinitionAtPosition(n.toString(),i)];case 2:return!(o=u.sent())||e.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(o.map((function(e){return r.e.parse(e.fileName)})))];case 3:if(u.sent(),e.isDisposed())return[2];for(s=[],a=0,l=o;a<l.length;a++)c=l[a],d=r.e.parse(c.fileName),(h=this._libFiles.getOrCreateModel(d))&&s.push({uri:d,range:this._textSpanToRange(h,c.textSpan)});return[2,s]}}))}))},t}(f),k=function(e){function t(t,n){var i=e.call(this,n)||this;return i._libFiles=t,i}return d(t,e),t.prototype.provideReferences=function(e,t,n,i){return h(this,void 0,void 0,(function(){var n,i,o,s,a,l,c,d,h;return u(this,(function(u){switch(u.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,u.sent().getReferencesAtPosition(n.toString(),i)];case 2:return!(o=u.sent())||e.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(o.map((function(e){return r.e.parse(e.fileName)})))];case 3:if(u.sent(),e.isDisposed())return[2];for(s=[],a=0,l=o;a<l.length;a++)c=l[a],d=r.e.parse(c.fileName),(h=this._libFiles.getOrCreateModel(d))&&s.push({uri:d,range:this._textSpanToRange(h,c.textSpan)});return[2,s]}}))}))},t}(f),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideDocumentSymbols=function(e,t){return h(this,void 0,void 0,(function(){var t,n,i,o,s=this;return u(this,(function(a){switch(a.label){case 0:return t=e.uri,[4,this._worker(t)];case 1:return[4,a.sent().getNavigationBarItems(t.toString())];case 2:return!(n=a.sent())||e.isDisposed()?[2]:(i=function(t,n,o){var a={name:n.text,detail:"",kind:L[n.kind]||r.g.SymbolKind.Variable,range:s._textSpanToRange(e,n.spans[0]),selectionRange:s._textSpanToRange(e,n.spans[0]),tags:[],containerName:o};if(n.childItems&&n.childItems.length>0)for(var l=0,c=n.childItems;l<c.length;l++){var d=c[l];i(t,d,a.name)}t.push(a)},o=[],n.forEach((function(e){return i(o,e)})),[2,o])}}))}))},t}(f),T=function(){function e(){}return e.unknown="",e.keyword="keyword",e.script="script",e.module="module",e.class="class",e.interface="interface",e.type="type",e.enum="enum",e.variable="var",e.localVariable="local var",e.function="function",e.localFunction="local function",e.memberFunction="method",e.memberGetAccessor="getter",e.memberSetAccessor="setter",e.memberVariable="property",e.constructorImplementation="constructor",e.callSignature="call",e.indexSignature="index",e.constructSignature="construct",e.parameter="parameter",e.typeParameter="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.const="const",e.let="let",e.warning="warning",e}(),L=Object.create(null);L[T.module]=r.g.SymbolKind.Module,L[T.class]=r.g.SymbolKind.Class,L[T.enum]=r.g.SymbolKind.Enum,L[T.interface]=r.g.SymbolKind.Interface,L[T.memberFunction]=r.g.SymbolKind.Method,L[T.memberVariable]=r.g.SymbolKind.Property,L[T.memberGetAccessor]=r.g.SymbolKind.Property,L[T.memberSetAccessor]=r.g.SymbolKind.Property,L[T.variable]=r.g.SymbolKind.Variable,L[T.const]=r.g.SymbolKind.Variable,L[T.localVariable]=r.g.SymbolKind.Variable,L[T.variable]=r.g.SymbolKind.Variable,L[T.function]=r.g.SymbolKind.Function,L[T.localFunction]=r.g.SymbolKind.Function;var N,I,O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t._convertOptions=function(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:o.Smart,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},t.prototype._convertTextChanges=function(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}},t}(f),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){return h(this,void 0,void 0,(function(){var i,o,r,s,a=this;return u(this,(function(l){switch(l.label){case 0:return i=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),r=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),[4,this._worker(i)];case 1:return[4,l.sent().getFormattingEditsForRange(i.toString(),o,r,O._convertOptions(n))];case 2:return!(s=l.sent())||e.isDisposed()?[2]:[2,s.map((function(t){return a._convertTextChanges(e,t)}))]}}))}))},t}(O),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}","\n"]},enumerable:!1,configurable:!0}),t.prototype.provideOnTypeFormattingEdits=function(e,t,n,i,o){return h(this,void 0,void 0,(function(){var o,r,s,a=this;return u(this,(function(l){switch(l.label){case 0:return o=e.uri,r=e.getOffsetAt(t),[4,this._worker(o)];case 1:return[4,l.sent().getFormattingEditsAfterKeystroke(o.toString(),r,n,O._convertOptions(i))];case 2:return!(s=l.sent())||e.isDisposed()?[2]:[2,s.map((function(t){return a._convertTextChanges(e,t)}))]}}))}))},t}(O),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideCodeActions=function(e,t,n,i){return h(this,void 0,void 0,(function(){var i,o,r,s,a,l,c=this;return u(this,(function(d){switch(d.label){case 0:return i=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),r=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=O._convertOptions(e.getOptions()),a=n.markers.filter((function(e){return e.code})).map((function(e){return e.code})).map(Number),[4,this._worker(i)];case 1:return[4,d.sent().getCodeFixesAtPosition(i.toString(),o,r,a,s)];case 2:return!(l=d.sent())||e.isDisposed()?[2,{actions:[],dispose:function(){}}]:[2,{actions:l.filter((function(e){return 0===e.changes.filter((function(e){return e.isNewFile})).length})).map((function(t){return c._tsCodeFixActionToMonacoCodeAction(e,n,t)})),dispose:function(){}}]}}))}))},t.prototype._tsCodeFixActionToMonacoCodeAction=function(e,t,n){for(var i=[],o=0,r=n.changes;o<r.length;o++)for(var s=0,a=r[o].textChanges;s<a.length;s++){var l=a[s];i.push({resource:e.uri,edit:{range:this._textSpanToRange(e,l.span),text:l.newText}})}return{title:n.description,edit:{edits:i},diagnostics:t.markers,kind:"quickfix"}},t}(O),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideRenameEdits=function(e,t,n,i){return h(this,void 0,void 0,(function(){var i,o,s,a,l,c,d,h,p,m;return u(this,(function(u){switch(u.label){case 0:return i=e.uri,o=i.toString(),s=e.getOffsetAt(t),[4,this._worker(i)];case 1:return[4,(a=u.sent()).getRenameInfo(o,s,{allowRenameOfImportPath:!1})];case 2:if(!1===(l=u.sent()).canRename)return[2,{edits:[],rejectReason:l.localizedErrorMessage}];if(void 0!==l.fileToRename)throw new Error("Renaming files is not supported.");return[4,a.findRenameLocations(o,s,!1,!1,!1)];case 3:if(!(c=u.sent())||e.isDisposed())return[2];for(d=[],h=0,p=c;h<p.length;h++)m=p[h],d.push({resource:r.e.parse(m.fileName),edit:{range:this._textSpanToRange(e,m.textSpan),text:n}});return[2,{edits:d}]}}))}))},t}(f);function P(e){I=B(e,"typescript")}function F(e){N=B(e,"javascript")}function W(){return new Promise((function(e,t){if(!N)return t("JavaScript not registered!");e(N)}))}function z(){return new Promise((function(e,t){if(!I)return t("TypeScript not registered!");e(I)}))}function B(e,t){var n=new l(t,e),i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)},o=new b(i);return r.g.registerCompletionItemProvider(t,new v(i)),r.g.registerSignatureHelpProvider(t,new y(i)),r.g.registerHoverProvider(t,new C(i)),r.g.registerDocumentHighlightProvider(t,new x(i)),r.g.registerDefinitionProvider(t,new S(o,i)),r.g.registerReferenceProvider(t,new k(o,i)),r.g.registerDocumentSymbolProvider(t,new E(i)),r.g.registerDocumentRangeFormattingEditProvider(t,new D(i)),r.g.registerOnTypeFormattingEditProvider(t,new A(i)),r.g.registerCodeActionProvider(t,new R(i)),r.g.registerRenameProvider(t,new M(i)),new _(o,e,t,i),i}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return N}));var i=n(59),o=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.e.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),r=n(38),s=function(){function e(e,t,n){var o=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===o._languageId&&(o._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return o._doValidate(e.uri,n)}),500)})),o._doValidate(e.uri,n))},s=function(e){i.e.setModelMarkers(e,o._languageId,[]);var t=e.uri.toString(),n=o._listener[t];n&&(n.dispose(),delete o._listener[t])};this._disposables.push(i.e.onDidCreateModel(r)),this._disposables.push(i.e.onWillDisposeModel((function(e){s(e),o._resetSchema(e.uri)}))),this._disposables.push(i.e.onDidChangeModelLanguage((function(e){s(e.model),r(e.model),o._resetSchema(e.model.uri)}))),this._disposables.push(n.onDidChange((function(e){i.e.getModels().forEach((function(e){e.getModeId()===o._languageId&&(s(e),r(e))}))}))),this._disposables.push({dispose:function(){for(var e in i.e.getModels().forEach(s),o._listener)o._listener[e].dispose()}}),i.e.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._resetSchema=function(e){this._worker().then((function(t){t.resetSchema(e.toString())}))},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var o=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:a(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),r=i.e.getModel(e);r&&r.getModeId()===t&&i.e.setModelMarkers(r,t,o)}))})).then(void 0,(function(e){console.error(e)}))},e}();function a(e){switch(e){case r.b.Error:return i.b.Error;case r.b.Warning:return i.b.Warning;case r.b.Information:return i.b.Info;case r.b.Hint:return i.b.Hint;default:return i.b.Info}}function l(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function c(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function d(e){if(e)return new i.c(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function h(e){var t=i.f.CompletionItemKind;switch(e){case r.a.Text:return t.Text;case r.a.Method:return t.Method;case r.a.Function:return t.Function;case r.a.Constructor:return t.Constructor;case r.a.Field:return t.Field;case r.a.Variable:return t.Variable;case r.a.Class:return t.Class;case r.a.Interface:return t.Interface;case r.a.Module:return t.Module;case r.a.Property:return t.Property;case r.a.Unit:return t.Unit;case r.a.Value:return t.Value;case r.a.Enum:return t.Enum;case r.a.Keyword:return t.Keyword;case r.a.Snippet:return t.Snippet;case r.a.Color:return t.Color;case r.a.File:return t.File;case r.a.Reference:return t.Reference}return t.Property}function u(e){if(e)return{range:d(e.range),text:e.newText}}var p=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,o){var s=e.uri;return this._worker(s).then((function(e){return e.doComplete(s.toString(),l(t))})).then((function(n){if(n){var o=e.getWordUntilPosition(t),s=new i.c(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn),a=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:s,kind:h(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:d(e.textEdit.insert),replace:d(e.textEdit.replace)}:n.range=d(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(u)),e.insertTextFormat===r.d.Snippet&&(n.insertTextRules=i.f.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function m(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function g(e){if(e)return Array.isArray(e)?e.map(m):[m(e)]}var f=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),l(t))})).then((function(e){if(e)return{range:d(e.range),contents:g(e.contents)}}))},e}();function b(e){var t=i.f.SymbolKind;switch(e){case r.e.File:return t.Array;case r.e.Module:return t.Module;case r.e.Namespace:return t.Namespace;case r.e.Package:return t.Package;case r.e.Class:return t.Class;case r.e.Method:return t.Method;case r.e.Property:return t.Property;case r.e.Field:return t.Field;case r.e.Constructor:return t.Constructor;case r.e.Enum:return t.Enum;case r.e.Interface:return t.Interface;case r.e.Function:return t.Function;case r.e.Variable:return t.Variable;case r.e.Constant:return t.Constant;case r.e.String:return t.String;case r.e.Number:return t.Number;case r.e.Boolean:return t.Boolean;case r.e.Array:return t.Array}return t.Function}var _=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:b(e.kind),range:d(e.location.range),selectionRange:d(e.location.range),tags:[]}}))}))},e}();function v(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var w=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,v(t)).then((function(e){if(e&&0!==e.length)return e.map(u)}))}))},e}(),y=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.format(o.toString(),c(t),v(n)).then((function(e){if(e&&0!==e.length)return e.map(u)}))}))},e}(),C=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:d(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,c(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=u(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(u)),t}))}))},e}(),x=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var o=e.uri;return this._worker(o).then((function(e){return e.getFoldingRanges(o.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case r.c.Comment:return i.f.FoldingRangeKind.Comment;case r.c.Imports:return i.f.FoldingRangeKind.Imports;case r.c.Region:return i.f.FoldingRangeKind.Region}return}(e.kind)),t}))}))},e}();var S=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(l))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:d(e.range)}),e=e.parent;return t}))}))},e}(),k=n(65);function E(e){return{getInitialState:function(){return new L(null,null,!1,null)},tokenize:function(t,n,i,o){return function(e,t,n,i,o){void 0===i&&(i=0);var r=0,s=!1;switch(n.scanError){case 2:t='"'+t,r=1;break;case 1:t="/*"+t,r=2}var a=k.a(t),l=n.lastWasColon,c=n.parents,d={tokens:[],endState:n.clone()};for(;;){var h=i+a.getPosition(),u="",p=a.scan();if(17===p)break;if(h===i+a.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(s&&(h-=r),s=r>0,p){case 1:c=T.push(c,0),u="delimiter.bracket.json",l=!1;break;case 2:c=T.pop(c),u="delimiter.bracket.json",l=!1;break;case 3:c=T.push(c,1),u="delimiter.array.json",l=!1;break;case 4:c=T.pop(c),u="delimiter.array.json",l=!1;break;case 6:u="delimiter.colon.json",l=!0;break;case 5:u="delimiter.comma.json",l=!1;break;case 8:case 9:case 7:u="keyword.json",l=!1;break;case 10:var m=1===(c?c.type:0);u=l||m?"string.value.json":"string.key.json",l=!1;break;case 11:u="number.json",l=!1}if(e)switch(p){case 12:u="comment.line.json";break;case 13:u="comment.block.json"}d.endState=new L(n.getStateData(),a.getTokenError(),l,c),d.tokens.push({startIndex:h,scopes:u})}return d}(e,t,n,i)}}}var T=function(){function e(e,t){this.parent=e,this.type=t}return e.pop=function(e){return e?e.parent:null},e.push=function(t,n){return new e(t,n)},e.equals=function(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t;){if(e===t)return!0;if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0},e}(),L=function(){function e(e,t,n,i){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=i}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon,this.parents)},e.prototype.equals=function(t){return t===this||!!(t&&t instanceof e)&&(this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon&&T.equals(this.parents,t.parents))},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}();function N(e){var t=[],n=[],r=new o(e);t.push(r);var a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.getLanguageServiceWorker.apply(r,e)};function l(){var t=e.languageId,o=e.modeConfiguration;O(n),o.documentFormattingEdits&&n.push(i.f.registerDocumentFormattingEditProvider(t,new w(a))),o.documentRangeFormattingEdits&&n.push(i.f.registerDocumentRangeFormattingEditProvider(t,new y(a))),o.completionItems&&n.push(i.f.registerCompletionItemProvider(t,new p(a))),o.hovers&&n.push(i.f.registerHoverProvider(t,new f(a))),o.documentSymbols&&n.push(i.f.registerDocumentSymbolProvider(t,new _(a))),o.tokens&&n.push(i.f.setTokensProvider(t,E(!0))),o.colors&&n.push(i.f.registerColorProvider(t,new C(a))),o.foldingRanges&&n.push(i.f.registerFoldingRangeProvider(t,new x(a))),o.diagnostics&&n.push(new s(t,a,e)),o.selectionRanges&&n.push(i.f.registerSelectionRangeProvider(t,new S(a)))}l(),t.push(i.f.setLanguageConfiguration(e.languageId,D));var c=e.modeConfiguration;return e.onDidChange((function(e){e.modeConfiguration!==c&&(c=e.modeConfiguration,l())})),t.push(I(n)),I(t)}function I(e){return{dispose:function(){return O(e)}}}function O(e){for(;e.length;)e.pop().dispose()}var D={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return T}));var i=n(52),o=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=window.setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.e.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),r=n(48),s=function(){function e(e,t,n){var o=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===o._languageId&&(o._listener[e.uri.toString()]=e.onDidChangeContent((function(){window.clearTimeout(t),t=window.setTimeout((function(){return o._doValidate(e.uri,n)}),500)})),o._doValidate(e.uri,n))},s=function(e){i.e.setModelMarkers(e,o._languageId,[]);var t=e.uri.toString(),n=o._listener[t];n&&(n.dispose(),delete o._listener[t])};this._disposables.push(i.e.onDidCreateModel(r)),this._disposables.push(i.e.onWillDisposeModel(s)),this._disposables.push(i.e.onDidChangeModelLanguage((function(e){s(e.model),r(e.model)}))),n.onDidChange((function(e){i.e.getModels().forEach((function(e){e.getModeId()===o._languageId&&(s(e),r(e))}))})),this._disposables.push({dispose:function(){for(var e in o._listener)o._listener[e].dispose()}}),i.e.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(t){return t.doValidation(e.toString())})).then((function(n){var o=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:a(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),r=i.e.getModel(e);r.getModeId()===t&&i.e.setModelMarkers(r,t,o)})).then(void 0,(function(e){console.error(e)}))},e}();function a(e){switch(e){case r.b.Error:return i.b.Error;case r.b.Warning:return i.b.Warning;case r.b.Information:return i.b.Info;case r.b.Hint:return i.b.Hint;default:return i.b.Info}}function l(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function c(e){if(e)return new i.c(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function d(e){var t=i.f.CompletionItemKind;switch(e){case r.a.Text:return t.Text;case r.a.Method:return t.Method;case r.a.Function:return t.Function;case r.a.Constructor:return t.Constructor;case r.a.Field:return t.Field;case r.a.Variable:return t.Variable;case r.a.Class:return t.Class;case r.a.Interface:return t.Interface;case r.a.Module:return t.Module;case r.a.Property:return t.Property;case r.a.Unit:return t.Unit;case r.a.Value:return t.Value;case r.a.Enum:return t.Enum;case r.a.Keyword:return t.Keyword;case r.a.Snippet:return t.Snippet;case r.a.Color:return t.Color;case r.a.File:return t.File;case r.a.Reference:return t.Reference}return t.Property}function h(e){if(e)return{range:c(e.range),text:e.newText}}var u=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,o){var s=e.uri;return this._worker(s).then((function(e){return e.doComplete(s.toString(),l(t))})).then((function(n){if(n){var o=e.getWordUntilPosition(t),s=new i.c(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn),a=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:s,kind:d(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:c(e.textEdit.insert),replace:c(e.textEdit.replace)}:n.range=c(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(h)),e.insertTextFormat===r.e.Snippet&&(n.insertTextRules=i.f.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function p(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function m(e){if(e)return Array.isArray(e)?e.map(p):[p(e)]}var g=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),l(t))})).then((function(e){if(e)return{range:c(e.range),contents:m(e.contents)}}))},e}();function f(e){switch(e){case r.c.Read:return i.f.DocumentHighlightKind.Read;case r.c.Write:return i.f.DocumentHighlightKind.Write;case r.c.Text:return i.f.DocumentHighlightKind.Text}return i.f.DocumentHighlightKind.Text}var b=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),l(t))})).then((function(e){if(e)return e.map((function(e){return{range:c(e.range),kind:f(e.kind)}}))}))},e}();function _(e){return{uri:i.d.parse(e.uri),range:c(e.range)}}var v=function(){function e(e){this._worker=e}return e.prototype.provideDefinition=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDefinition(i.toString(),l(t))})).then((function(e){if(e)return[_(e)]}))},e}(),w=function(){function e(e){this._worker=e}return e.prototype.provideReferences=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.findReferences(o.toString(),l(t))})).then((function(e){if(e)return e.map(_)}))},e}();var y=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,o){var r=e.uri;return this._worker(r).then((function(e){return e.doRename(r.toString(),l(t),n)})).then((function(e){return function(e){if(e&&e.changes){var t=[];for(var n in e.changes)for(var o=i.d.parse(n),r=0,s=e.changes[n];r<s.length;r++){var a=s[r];t.push({resource:o,edit:{range:c(a.range),text:a.newText}})}return{edits:t}}}(e)}))},e}();function C(e){var t=i.f.SymbolKind;switch(e){case r.f.File:return t.Array;case r.f.Module:return t.Module;case r.f.Namespace:return t.Namespace;case r.f.Package:return t.Package;case r.f.Class:return t.Class;case r.f.Method:return t.Method;case r.f.Property:return t.Property;case r.f.Field:return t.Field;case r.f.Constructor:return t.Constructor;case r.f.Enum:return t.Enum;case r.f.Interface:return t.Interface;case r.f.Function:return t.Function;case r.f.Variable:return t.Variable;case r.f.Constant:return t.Constant;case r.f.String:return t.String;case r.f.Number:return t.Number;case r.f.Boolean:return t.Boolean;case r.f.Array:return t.Array}return t.Function}var x=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:C(e.kind),tags:[],range:c(e.location.range),selectionRange:c(e.location.range)}}))}))},e}(),S=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:c(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,function(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=h(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(h)),t}))}))},e}(),k=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var o=e.uri;return this._worker(o).then((function(e){return e.getFoldingRanges(o.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case r.d.Comment:return i.f.FoldingRangeKind.Comment;case r.d.Imports:return i.f.FoldingRangeKind.Imports;case r.d.Region:return i.f.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var E=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(l))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:c(e.range)}),e=e.parent;return t}))}))},e}();function T(e){var t=[],n=[],r=new o(e);t.push(r);var a,l,c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.getLanguageServiceWorker.apply(r,e)};return a=e.languageId,l=e.modeConfiguration,N(n),l.completionItems&&n.push(i.f.registerCompletionItemProvider(a,new u(c))),l.hovers&&n.push(i.f.registerHoverProvider(a,new g(c))),l.documentHighlights&&n.push(i.f.registerDocumentHighlightProvider(a,new b(c))),l.definitions&&n.push(i.f.registerDefinitionProvider(a,new v(c))),l.references&&n.push(i.f.registerReferenceProvider(a,new w(c))),l.documentSymbols&&n.push(i.f.registerDocumentSymbolProvider(a,new x(c))),l.rename&&n.push(i.f.registerRenameProvider(a,new y(c))),l.colors&&n.push(i.f.registerColorProvider(a,new S(c))),l.foldingRanges&&n.push(i.f.registerFoldingRangeProvider(a,new k(c))),l.diagnostics&&n.push(new s(a,c,e)),l.selectionRanges&&n.push(i.f.registerSelectionRangeProvider(a,new E(c))),t.push(L(n)),L(t)}function L(e){return{dispose:function(){return N(e)}}}function N(e){for(;e.length;)e.pop().dispose()}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode1",(function(){return T})),n.d(t,"setupMode",(function(){return L}));var i=n(47),o=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.e.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),r=n(31),s=function(){function e(e,t,n){var o=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===o._languageId&&(o._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return o._doValidate(e.uri,n)}),500)})),o._doValidate(e.uri,n))},s=function(e){i.e.setModelMarkers(e,o._languageId,[]);var t=e.uri.toString(),n=o._listener[t];n&&(n.dispose(),delete o._listener[t])};this._disposables.push(i.e.onDidCreateModel(r)),this._disposables.push(i.e.onWillDisposeModel((function(e){s(e)}))),this._disposables.push(i.e.onDidChangeModelLanguage((function(e){s(e.model),r(e.model)}))),this._disposables.push(n.onDidChange((function(e){i.e.getModels().forEach((function(e){e.getModeId()===o._languageId&&(s(e),r(e))}))}))),this._disposables.push({dispose:function(){for(var e in o._listener)o._listener[e].dispose()}}),i.e.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var o=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:a(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n}));i.e.setModelMarkers(i.e.getModel(e),t,o)}))})).then(void 0,(function(e){console.error(e)}))},e}();function a(e){switch(e){case r.b.Error:return i.b.Error;case r.b.Warning:return i.b.Warning;case r.b.Information:return i.b.Info;case r.b.Hint:return i.b.Hint;default:return i.b.Info}}function l(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function c(e){if(e)return new i.c(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function d(e){var t=i.f.CompletionItemKind;switch(e){case r.a.Text:return t.Text;case r.a.Method:return t.Method;case r.a.Function:return t.Function;case r.a.Constructor:return t.Constructor;case r.a.Field:return t.Field;case r.a.Variable:return t.Variable;case r.a.Class:return t.Class;case r.a.Interface:return t.Interface;case r.a.Module:return t.Module;case r.a.Property:return t.Property;case r.a.Unit:return t.Unit;case r.a.Value:return t.Value;case r.a.Enum:return t.Enum;case r.a.Keyword:return t.Keyword;case r.a.Snippet:return t.Snippet;case r.a.Color:return t.Color;case r.a.File:return t.File;case r.a.Reference:return t.Reference}return t.Property}function h(e){if(e)return{range:c(e.range),text:e.newText}}var u=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,o){var s=e.uri;return this._worker(s).then((function(e){return e.doComplete(s.toString(),l(t))})).then((function(n){if(n){var o=e.getWordUntilPosition(t),s=new i.c(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn),a=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:s,kind:d(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:c(e.textEdit.insert),replace:c(e.textEdit.replace)}:n.range=c(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(h)),e.insertTextFormat===r.e.Snippet&&(n.insertTextRules=i.f.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function p(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function m(e){if(e)return Array.isArray(e)?e.map(p):[p(e)]}var g=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),l(t))})).then((function(e){if(e)return{range:c(e.range),contents:m(e.contents)}}))},e}();function f(e){var t=i.f.DocumentHighlightKind;switch(e){case r.c.Read:return t.Read;case r.c.Write:return t.Write;case r.c.Text:return t.Text}return t.Text}var b=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),l(t))})).then((function(e){if(e)return e.map((function(e){return{range:c(e.range),kind:f(e.kind)}}))}))},e}();function _(e){var t=i.f.SymbolKind;switch(e){case r.f.File:return t.Array;case r.f.Module:return t.Module;case r.f.Namespace:return t.Namespace;case r.f.Package:return t.Package;case r.f.Class:return t.Class;case r.f.Method:return t.Method;case r.f.Property:return t.Property;case r.f.Field:return t.Field;case r.f.Constructor:return t.Constructor;case r.f.Enum:return t.Enum;case r.f.Interface:return t.Interface;case r.f.Function:return t.Function;case r.f.Variable:return t.Variable;case r.f.Constant:return t.Constant;case r.f.String:return t.String;case r.f.Number:return t.Number;case r.f.Boolean:return t.Boolean;case r.f.Array:return t.Array}return t.Function}var v=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:_(e.kind),tags:[],range:c(e.location.range),selectionRange:c(e.location.range)}}))}))},e}(),w=function(){function e(e){this._worker=e}return e.prototype.provideLinks=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentLinks(n.toString())})).then((function(e){if(e)return{links:e.map((function(e){return{range:c(e.range),url:e.target}}))}}))},e}();function y(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var C=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,y(t)).then((function(e){if(e&&0!==e.length)return e.map(h)}))}))},e}(),x=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.format(o.toString(),function(e){if(e)return{start:l(e.getStartPosition()),end:l(e.getEndPosition())}}(t),y(n)).then((function(e){if(e&&0!==e.length)return e.map(h)}))}))},e}(),S=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,o){var r=e.uri;return this._worker(r).then((function(e){return e.doRename(r.toString(),l(t),n)})).then((function(e){return function(e){if(!e||!e.changes)return;var t=[];for(var n in e.changes)for(var o=i.d.parse(n),r=0,s=e.changes[n];r<s.length;r++){var a=s[r];t.push({resource:o,edit:{range:c(a.range),text:a.newText}})}return{edits:t}}(e)}))},e}();var k=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var o=e.uri;return this._worker(o).then((function(e){return e.getFoldingRanges(o.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case r.d.Comment:return i.f.FoldingRangeKind.Comment;case r.d.Imports:return i.f.FoldingRangeKind.Imports;case r.d.Region:return i.f.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var E=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(l))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:c(e.range)}),e=e.parent;return t}))}))},e}();function T(e){var t=new o(e),n=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.getLanguageServiceWorker.apply(t,e)},r=e.languageId;i.f.registerCompletionItemProvider(r,new u(n)),i.f.registerHoverProvider(r,new g(n)),i.f.registerDocumentHighlightProvider(r,new b(n)),i.f.registerLinkProvider(r,new w(n)),i.f.registerFoldingRangeProvider(r,new k(n)),i.f.registerDocumentSymbolProvider(r,new v(n)),i.f.registerSelectionRangeProvider(r,new E(n)),i.f.registerRenameProvider(r,new S(n)),"html"===r&&(i.f.registerDocumentFormattingEditProvider(r,new C(n)),i.f.registerDocumentRangeFormattingEditProvider(r,new x(n)),new s(r,n,e))}function L(e){var t=[],n=[],r=new o(e);t.push(r);var a,l,c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.getLanguageServiceWorker.apply(r,e)};return a=e.languageId,l=e.modeConfiguration,I(n),l.completionItems&&n.push(i.f.registerCompletionItemProvider(a,new u(c))),l.hovers&&n.push(i.f.registerHoverProvider(a,new g(c))),l.documentHighlights&&n.push(i.f.registerDocumentHighlightProvider(a,new b(c))),l.links&&n.push(i.f.registerLinkProvider(a,new w(c))),l.documentSymbols&&n.push(i.f.registerDocumentSymbolProvider(a,new v(c))),l.rename&&n.push(i.f.registerRenameProvider(a,new S(c))),l.foldingRanges&&n.push(i.f.registerFoldingRangeProvider(a,new k(c))),l.selectionRanges&&n.push(i.f.registerSelectionRangeProvider(a,new E(c))),l.documentFormattingEdits&&n.push(i.f.registerDocumentFormattingEditProvider(a,new C(c))),l.documentRangeFormattingEdits&&n.push(i.f.registerDocumentRangeFormattingEditProvider(a,new x(c))),l.diagnostics&&n.push(new s(a,c,e)),t.push(N(n)),N(t)}function N(e){return{dispose:function(){return I(e)}}}function I(e){for(;e.length;)e.pop().dispose()}}]); \ No newline at end of file +var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},r={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},r={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["\x3c!--","--\x3e"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},r={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},r={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},r={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},r={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupTypeScript",(function(){return P})),n.d(t,"setupJavaScript",(function(){return F})),n.d(t,"getJavaScriptWorker",(function(){return W})),n.d(t,"getTypeScriptWorker",(function(){return z}));var i,r,o=n(29),s=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},a=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},l=function(){function e(e,t){var n=this;this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange((function(){return n._stopWorker()})),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange((function(){return n._updateExtraLibs()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},e.prototype._updateExtraLibs=function(){return s(this,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:return this._worker?(e=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return t=n.sent(),this._updateExtraLibsToken!==e?[2]:(t.updateExtraLibs(this._defaults.getExtraLibs()),[2])}}))}))},e.prototype._getClient=function(){var e=this;if(!this._client){this._worker=o.f.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath}});var t=this._worker.getProxy();this._defaults.getEagerModelSync()&&(t=t.then((function(t){return e._worker?e._worker.withSyncedResources(o.f.getModels().filter((function(t){return t.getModeId()===e._modeId})).map((function(e){return e.uri}))):t}))),this._client=t}return this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){if(t._worker)return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),c={"lib.d.ts":!0,"lib.dom.d.ts":!0,"lib.dom.iterable.d.ts":!0,"lib.es2015.collection.d.ts":!0,"lib.es2015.core.d.ts":!0,"lib.es2015.d.ts":!0,"lib.es2015.generator.d.ts":!0,"lib.es2015.iterable.d.ts":!0,"lib.es2015.promise.d.ts":!0,"lib.es2015.proxy.d.ts":!0,"lib.es2015.reflect.d.ts":!0,"lib.es2015.symbol.d.ts":!0,"lib.es2015.symbol.wellknown.d.ts":!0,"lib.es2016.array.include.d.ts":!0,"lib.es2016.d.ts":!0,"lib.es2016.full.d.ts":!0,"lib.es2017.d.ts":!0,"lib.es2017.full.d.ts":!0,"lib.es2017.intl.d.ts":!0,"lib.es2017.object.d.ts":!0,"lib.es2017.sharedmemory.d.ts":!0,"lib.es2017.string.d.ts":!0,"lib.es2017.typedarrays.d.ts":!0,"lib.es2018.asyncgenerator.d.ts":!0,"lib.es2018.asynciterable.d.ts":!0,"lib.es2018.d.ts":!0,"lib.es2018.full.d.ts":!0,"lib.es2018.intl.d.ts":!0,"lib.es2018.promise.d.ts":!0,"lib.es2018.regexp.d.ts":!0,"lib.es2019.array.d.ts":!0,"lib.es2019.d.ts":!0,"lib.es2019.full.d.ts":!0,"lib.es2019.object.d.ts":!0,"lib.es2019.string.d.ts":!0,"lib.es2019.symbol.d.ts":!0,"lib.es2020.bigint.d.ts":!0,"lib.es2020.d.ts":!0,"lib.es2020.full.d.ts":!0,"lib.es2020.intl.d.ts":!0,"lib.es2020.promise.d.ts":!0,"lib.es2020.string.d.ts":!0,"lib.es2020.symbol.wellknown.d.ts":!0,"lib.es5.d.ts":!0,"lib.es6.d.ts":!0,"lib.esnext.d.ts":!0,"lib.esnext.full.d.ts":!0,"lib.esnext.intl.d.ts":!0,"lib.esnext.promise.d.ts":!0,"lib.esnext.string.d.ts":!0,"lib.scripthost.d.ts":!0,"lib.webworker.d.ts":!0,"lib.webworker.importscripts.d.ts":!0},d=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},u=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};function p(e,t,n){if(void 0===n&&(n=0),"string"==typeof e)return e;if(void 0===e)return"";var i="";if(n){i+=t;for(var r=0;r<n;r++)i+=" "}if(i+=e.messageText,n++,e.next)for(var o=0,s=e.next;o<s.length;o++){i+=p(s[o],t,n)}return i}function m(e){return e?e.map((function(e){return e.text})).join(""):""}!function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(r||(r={}));var g,f=function(){function e(e){this._worker=e}return e.prototype._textSpanToRange=function(e,t){var n=e.getPositionAt(t.start),i=e.getPositionAt(t.start+t.length);return{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}},e}(),b=function(){function e(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}return e.prototype.isLibFile=function(e){return!!e&&(0===e.path.indexOf("/lib.")&&!!c[e.path.slice(1)])},e.prototype.getOrCreateModel=function(e){var t=o.f.getModel(e);return t||(this.isLibFile(e)&&this._hasFetchedLibFiles?o.f.createModel(this._libFiles[e.path.slice(1)],"javascript",e):null)},e.prototype._containsLibFile=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];if(this.isLibFile(i))return!0}return!1},e.prototype.fetchLibFilesIfNecessary=function(e){return h(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return this._containsLibFile(e)?[4,this._fetchLibFiles()]:[2];case 1:return t.sent(),[2]}}))}))},e.prototype._fetchLibFiles=function(){var e=this;return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then((function(e){return e.getLibFiles()})).then((function(t){e._hasFetchedLibFiles=!0,e._libFiles=t}))),this._fetchLibFilesPromise},e}();!function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(g||(g={}));var _=function(e){function t(t,n,i,r){var s=e.call(this,r)||this;s._libFiles=t,s._defaults=n,s._selector=i,s._disposables=[],s._listener=Object.create(null);var a=function(e){if(e.getModeId()===i){var t,n=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return s._doValidate(e)}),500)}));s._listener[e.uri.toString()]={dispose:function(){n.dispose(),clearTimeout(t)}},s._doValidate(e)}},l=function(e){o.f.setModelMarkers(e,s._selector,[]);var t=e.uri.toString();s._listener[t]&&(s._listener[t].dispose(),delete s._listener[t])};s._disposables.push(o.f.onDidCreateModel(a)),s._disposables.push(o.f.onWillDisposeModel(l)),s._disposables.push(o.f.onDidChangeModelLanguage((function(e){l(e.model),a(e.model)}))),s._disposables.push({dispose:function(){for(var e=0,t=o.f.getModels();e<t.length;e++){var n=t[e];l(n)}}});var c=function(){for(var e=0,t=o.f.getModels();e<t.length;e++){var n=t[e];l(n),a(n)}};return s._disposables.push(s._defaults.onDidChange(c)),s._disposables.push(s._defaults.onDidExtraLibsChange(c)),o.f.getModels().forEach(a),s}return d(t,e),t.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},t.prototype._doValidate=function(e){return h(this,void 0,void 0,(function(){var t,n,i,r,s,a,l,c,d,h=this;return u(this,(function(u){switch(u.label){case 0:return[4,this._worker(e.uri)];case 1:return t=u.sent(),e.isDisposed()?[2]:(n=[],i=this._defaults.getDiagnosticsOptions(),r=i.noSyntaxValidation,s=i.noSemanticValidation,a=i.noSuggestionDiagnostics,r||n.push(t.getSyntacticDiagnostics(e.uri.toString())),s||n.push(t.getSemanticDiagnostics(e.uri.toString())),a||n.push(t.getSuggestionDiagnostics(e.uri.toString())),[4,Promise.all(n)]);case 2:return!(l=u.sent())||e.isDisposed()?[2]:(c=l.reduce((function(e,t){return t.concat(e)}),[]).filter((function(e){return-1===(h._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)})),d=c.map((function(e){return e.relatedInformation||[]})).reduce((function(e,t){return t.concat(e)}),[]).map((function(e){return e.file?o.e.parse(e.file.fileName):null})),[4,this._libFiles.fetchLibFilesIfNecessary(d)]);case 3:return u.sent(),e.isDisposed()?[2]:(o.f.setModelMarkers(e,this._selector,c.map((function(t){return h._convertDiagnostics(e,t)}))),[2])}}))}))},t.prototype._convertDiagnostics=function(e,t){var n=t.start||0,i=t.length||1,r=e.getPositionAt(n),s=r.lineNumber,a=r.column,l=e.getPositionAt(n+i),c=l.lineNumber,d=l.column,h=[];return t.reportsUnnecessary&&h.push(o.c.Unnecessary),t.reportsDeprecated&&h.push(o.c.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:s,startColumn:a,endLineNumber:c,endColumn:d,message:p(t.messageText,"\n"),code:t.code.toString(),tags:h,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}},t.prototype._convertRelatedInformation=function(e,t){var n=this;if(t){var i=[];return t.forEach((function(t){var r=e;if(t.file){var s=o.e.parse(t.file.fileName);r=n._libFiles.getOrCreateModel(s)}if(r){var a=t.start||0,l=t.length||1,c=r.getPositionAt(a),d=c.lineNumber,h=c.column,u=r.getPositionAt(a+l),m=u.lineNumber,g=u.column;i.push({resource:r.uri,startLineNumber:d,startColumn:h,endLineNumber:m,endColumn:g,message:p(t.messageText,"\n")})}})),i}},t.prototype._tsDiagnosticCategoryToMarkerSeverity=function(e){switch(e){case g.Error:return o.b.Error;case g.Message:return o.b.Info;case g.Warning:return o.b.Warning;case g.Suggestion:return o.b.Hint}return o.b.Info},t}(f),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!1,configurable:!0}),t.prototype.provideCompletionItems=function(e,n,i,r){return h(this,void 0,void 0,(function(){var i,r,s,a,l;return u(this,(function(c){switch(c.label){case 0:return i=e.getWordUntilPosition(n),r=new o.d(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn),s=e.uri,a=e.getOffsetAt(n),[4,this._worker(s)];case 1:return[4,c.sent().getCompletionsAtPosition(s.toString(),a)];case 2:return!(l=c.sent())||e.isDisposed()?[2]:[2,{suggestions:l.entries.map((function(i){var l,c=r;if(i.replacementSpan){var d=e.getPositionAt(i.replacementSpan.start),h=e.getPositionAt(i.replacementSpan.start+i.replacementSpan.length);c=new o.d(d.lineNumber,d.column,h.lineNumber,h.column)}var u=[];return-1!==(null===(l=i.kindModifiers)||void 0===l?void 0:l.indexOf("deprecated"))&&u.push(o.g.CompletionItemTag.Deprecated),{uri:s,position:n,offset:a,range:c,label:i.name,insertText:i.name,sortText:i.sortText,kind:t.convertKind(i.kind),tags:u}}))}]}}))}))},t.prototype.resolveCompletionItem=function(e,n){return h(this,void 0,void 0,(function(){var n,i,r,o,s;return u(this,(function(a){switch(a.label){case 0:return i=(n=e).uri,r=n.position,o=n.offset,[4,this._worker(i)];case 1:return[4,a.sent().getCompletionEntryDetails(i.toString(),o,n.label)];case 2:return(s=a.sent())?[2,{uri:i,position:r,label:s.name,kind:t.convertKind(s.kind),detail:m(s.displayParts),documentation:{value:t.createDocumentationString(s)}}]:[2,n]}}))}))},t.convertKind=function(e){switch(e){case T.primitiveType:case T.keyword:return o.g.CompletionItemKind.Keyword;case T.variable:case T.localVariable:return o.g.CompletionItemKind.Variable;case T.memberVariable:case T.memberGetAccessor:case T.memberSetAccessor:return o.g.CompletionItemKind.Field;case T.function:case T.memberFunction:case T.constructSignature:case T.callSignature:case T.indexSignature:return o.g.CompletionItemKind.Function;case T.enum:return o.g.CompletionItemKind.Enum;case T.module:return o.g.CompletionItemKind.Module;case T.class:return o.g.CompletionItemKind.Class;case T.interface:return o.g.CompletionItemKind.Interface;case T.warning:return o.g.CompletionItemKind.File}return o.g.CompletionItemKind.Property},t.createDocumentationString=function(e){var t=m(e.documentation);if(e.tags)for(var n=0,i=e.tags;n<i.length;n++){t+="\n\n"+w(i[n])}return t},t}(f);function w(e){var t="*@"+e.name+"*";if("param"===e.name&&e.text){var n=e.text.split(" "),i=n[0],r=n.slice(1);t+="`"+i+"`",r.length>0&&(t+=" — "+r.join(" "))}else e.text&&(t+=" — "+e.text);return t}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signatureHelpTriggerCharacters=["(",","],t}return d(t,e),t.prototype.provideSignatureHelp=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,r,o;return u(this,(function(s){switch(s.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,s.sent().getSignatureHelpItems(n.toString(),i)];case 2:return!(r=s.sent())||e.isDisposed()?[2]:(o={activeSignature:r.selectedItemIndex,activeParameter:r.argumentIndex,signatures:[]},r.items.forEach((function(e){var t={label:"",parameters:[]};t.documentation={value:m(e.documentation)},t.label+=m(e.prefixDisplayParts),e.parameters.forEach((function(n,i,r){var o=m(n.displayParts),s={label:o,documentation:{value:m(n.documentation)}};t.label+=o,t.parameters.push(s),i<r.length-1&&(t.label+=m(e.separatorDisplayParts))})),t.label+=m(e.suffixDisplayParts),o.signatures.push(t)})),[2,{value:o,dispose:function(){}}])}}))}))},t}(f),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideHover=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,r,o,s,a;return u(this,(function(l){switch(l.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getQuickInfoAtPosition(n.toString(),i)];case 2:return!(r=l.sent())||e.isDisposed()?[2]:(o=m(r.documentation),s=r.tags?r.tags.map((function(e){return w(e)})).join(" \n\n"):"",a=m(r.displayParts),[2,{range:this._textSpanToRange(e,r.textSpan),contents:[{value:"```typescript\n"+a+"\n```\n"},{value:o+(s?"\n\n"+s:"")}]}])}}))}))},t}(f),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideDocumentHighlights=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,r,s=this;return u(this,(function(a){switch(a.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getOccurrencesAtPosition(n.toString(),i)];case 2:return!(r=a.sent())||e.isDisposed()?[2]:[2,r.map((function(t){return{range:s._textSpanToRange(e,t.textSpan),kind:t.isWriteAccess?o.g.DocumentHighlightKind.Write:o.g.DocumentHighlightKind.Text}}))]}}))}))},t}(f),S=function(e){function t(t,n){var i=e.call(this,n)||this;return i._libFiles=t,i}return d(t,e),t.prototype.provideDefinition=function(e,t,n){return h(this,void 0,void 0,(function(){var n,i,r,s,a,l,c,d,h;return u(this,(function(u){switch(u.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,u.sent().getDefinitionAtPosition(n.toString(),i)];case 2:return!(r=u.sent())||e.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(r.map((function(e){return o.e.parse(e.fileName)})))];case 3:if(u.sent(),e.isDisposed())return[2];for(s=[],a=0,l=r;a<l.length;a++)c=l[a],d=o.e.parse(c.fileName),(h=this._libFiles.getOrCreateModel(d))&&s.push({uri:d,range:this._textSpanToRange(h,c.textSpan)});return[2,s]}}))}))},t}(f),k=function(e){function t(t,n){var i=e.call(this,n)||this;return i._libFiles=t,i}return d(t,e),t.prototype.provideReferences=function(e,t,n,i){return h(this,void 0,void 0,(function(){var n,i,r,s,a,l,c,d,h;return u(this,(function(u){switch(u.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,u.sent().getReferencesAtPosition(n.toString(),i)];case 2:return!(r=u.sent())||e.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(r.map((function(e){return o.e.parse(e.fileName)})))];case 3:if(u.sent(),e.isDisposed())return[2];for(s=[],a=0,l=r;a<l.length;a++)c=l[a],d=o.e.parse(c.fileName),(h=this._libFiles.getOrCreateModel(d))&&s.push({uri:d,range:this._textSpanToRange(h,c.textSpan)});return[2,s]}}))}))},t}(f),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideDocumentSymbols=function(e,t){return h(this,void 0,void 0,(function(){var t,n,i,r,s=this;return u(this,(function(a){switch(a.label){case 0:return t=e.uri,[4,this._worker(t)];case 1:return[4,a.sent().getNavigationBarItems(t.toString())];case 2:return!(n=a.sent())||e.isDisposed()?[2]:(i=function(t,n,r){var a={name:n.text,detail:"",kind:L[n.kind]||o.g.SymbolKind.Variable,range:s._textSpanToRange(e,n.spans[0]),selectionRange:s._textSpanToRange(e,n.spans[0]),tags:[],containerName:r};if(n.childItems&&n.childItems.length>0)for(var l=0,c=n.childItems;l<c.length;l++){var d=c[l];i(t,d,a.name)}t.push(a)},r=[],n.forEach((function(e){return i(r,e)})),[2,r])}}))}))},t}(f),T=function(){function e(){}return e.unknown="",e.keyword="keyword",e.script="script",e.module="module",e.class="class",e.interface="interface",e.type="type",e.enum="enum",e.variable="var",e.localVariable="local var",e.function="function",e.localFunction="local function",e.memberFunction="method",e.memberGetAccessor="getter",e.memberSetAccessor="setter",e.memberVariable="property",e.constructorImplementation="constructor",e.callSignature="call",e.indexSignature="index",e.constructSignature="construct",e.parameter="parameter",e.typeParameter="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.const="const",e.let="let",e.warning="warning",e}(),L=Object.create(null);L[T.module]=o.g.SymbolKind.Module,L[T.class]=o.g.SymbolKind.Class,L[T.enum]=o.g.SymbolKind.Enum,L[T.interface]=o.g.SymbolKind.Interface,L[T.memberFunction]=o.g.SymbolKind.Method,L[T.memberVariable]=o.g.SymbolKind.Property,L[T.memberGetAccessor]=o.g.SymbolKind.Property,L[T.memberSetAccessor]=o.g.SymbolKind.Property,L[T.variable]=o.g.SymbolKind.Variable,L[T.const]=o.g.SymbolKind.Variable,L[T.localVariable]=o.g.SymbolKind.Variable,L[T.variable]=o.g.SymbolKind.Variable,L[T.function]=o.g.SymbolKind.Function,L[T.localFunction]=o.g.SymbolKind.Function;var N,I,D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t._convertOptions=function(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:r.Smart,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},t.prototype._convertTextChanges=function(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}},t}(f),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){return h(this,void 0,void 0,(function(){var i,r,o,s,a=this;return u(this,(function(l){switch(l.label){case 0:return i=e.uri,r=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),o=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),[4,this._worker(i)];case 1:return[4,l.sent().getFormattingEditsForRange(i.toString(),r,o,D._convertOptions(n))];case 2:return!(s=l.sent())||e.isDisposed()?[2]:[2,s.map((function(t){return a._convertTextChanges(e,t)}))]}}))}))},t}(D),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),Object.defineProperty(t.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}","\n"]},enumerable:!1,configurable:!0}),t.prototype.provideOnTypeFormattingEdits=function(e,t,n,i,r){return h(this,void 0,void 0,(function(){var r,o,s,a=this;return u(this,(function(l){switch(l.label){case 0:return r=e.uri,o=e.getOffsetAt(t),[4,this._worker(r)];case 1:return[4,l.sent().getFormattingEditsAfterKeystroke(r.toString(),o,n,D._convertOptions(i))];case 2:return!(s=l.sent())||e.isDisposed()?[2]:[2,s.map((function(t){return a._convertTextChanges(e,t)}))]}}))}))},t}(D),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideCodeActions=function(e,t,n,i){return h(this,void 0,void 0,(function(){var i,r,o,s,a,l,c=this;return u(this,(function(d){switch(d.label){case 0:return i=e.uri,r=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),o=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=D._convertOptions(e.getOptions()),a=n.markers.filter((function(e){return e.code})).map((function(e){return e.code})).map(Number),[4,this._worker(i)];case 1:return[4,d.sent().getCodeFixesAtPosition(i.toString(),r,o,a,s)];case 2:return!(l=d.sent())||e.isDisposed()?[2,{actions:[],dispose:function(){}}]:[2,{actions:l.filter((function(e){return 0===e.changes.filter((function(e){return e.isNewFile})).length})).map((function(t){return c._tsCodeFixActionToMonacoCodeAction(e,n,t)})),dispose:function(){}}]}}))}))},t.prototype._tsCodeFixActionToMonacoCodeAction=function(e,t,n){for(var i=[],r=0,o=n.changes;r<o.length;r++)for(var s=0,a=o[r].textChanges;s<a.length;s++){var l=a[s];i.push({resource:e.uri,edit:{range:this._textSpanToRange(e,l.span),text:l.newText}})}return{title:n.description,edit:{edits:i},diagnostics:t.markers,kind:"quickfix"}},t}(D),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.provideRenameEdits=function(e,t,n,i){return h(this,void 0,void 0,(function(){var i,r,s,a,l,c,d,h,p,m;return u(this,(function(u){switch(u.label){case 0:return i=e.uri,r=i.toString(),s=e.getOffsetAt(t),[4,this._worker(i)];case 1:return[4,(a=u.sent()).getRenameInfo(r,s,{allowRenameOfImportPath:!1})];case 2:if(!1===(l=u.sent()).canRename)return[2,{edits:[],rejectReason:l.localizedErrorMessage}];if(void 0!==l.fileToRename)throw new Error("Renaming files is not supported.");return[4,a.findRenameLocations(r,s,!1,!1,!1)];case 3:if(!(c=u.sent())||e.isDisposed())return[2];for(d=[],h=0,p=c;h<p.length;h++)m=p[h],d.push({resource:o.e.parse(m.fileName),edit:{range:this._textSpanToRange(e,m.textSpan),text:n}});return[2,{edits:d}]}}))}))},t}(f);function P(e){I=B(e,"typescript")}function F(e){N=B(e,"javascript")}function W(){return new Promise((function(e,t){if(!N)return t("JavaScript not registered!");e(N)}))}function z(){return new Promise((function(e,t){if(!I)return t("TypeScript not registered!");e(I)}))}function B(e,t){var n=new l(t,e),i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)},r=new b(i);return o.g.registerCompletionItemProvider(t,new v(i)),o.g.registerSignatureHelpProvider(t,new y(i)),o.g.registerHoverProvider(t,new C(i)),o.g.registerDocumentHighlightProvider(t,new x(i)),o.g.registerDefinitionProvider(t,new S(r,i)),o.g.registerReferenceProvider(t,new k(r,i)),o.g.registerDocumentSymbolProvider(t,new E(i)),o.g.registerDocumentRangeFormattingEditProvider(t,new O(i)),o.g.registerOnTypeFormattingEditProvider(t,new A(i)),o.g.registerCodeActionProvider(t,new R(i)),o.g.registerRenameProvider(t,new M(i)),new _(r,e,t,i),i}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return N}));var i=n(59),r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.e.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),o=n(38),s=function(){function e(e,t,n){var r=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var o=function(e){var t,n=e.getModeId();n===r._languageId&&(r._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return r._doValidate(e.uri,n)}),500)})),r._doValidate(e.uri,n))},s=function(e){i.e.setModelMarkers(e,r._languageId,[]);var t=e.uri.toString(),n=r._listener[t];n&&(n.dispose(),delete r._listener[t])};this._disposables.push(i.e.onDidCreateModel(o)),this._disposables.push(i.e.onWillDisposeModel((function(e){s(e),r._resetSchema(e.uri)}))),this._disposables.push(i.e.onDidChangeModelLanguage((function(e){s(e.model),o(e.model),r._resetSchema(e.model.uri)}))),this._disposables.push(n.onDidChange((function(e){i.e.getModels().forEach((function(e){e.getModeId()===r._languageId&&(s(e),o(e))}))}))),this._disposables.push({dispose:function(){for(var e in i.e.getModels().forEach(s),r._listener)r._listener[e].dispose()}}),i.e.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._resetSchema=function(e){this._worker().then((function(t){t.resetSchema(e.toString())}))},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var r=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:a(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),o=i.e.getModel(e);o&&o.getModeId()===t&&i.e.setModelMarkers(o,t,r)}))})).then(void 0,(function(e){console.error(e)}))},e}();function a(e){switch(e){case o.b.Error:return i.b.Error;case o.b.Warning:return i.b.Warning;case o.b.Information:return i.b.Info;case o.b.Hint:return i.b.Hint;default:return i.b.Info}}function l(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function c(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function d(e){if(e)return new i.c(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function h(e){var t=i.f.CompletionItemKind;switch(e){case o.a.Text:return t.Text;case o.a.Method:return t.Method;case o.a.Function:return t.Function;case o.a.Constructor:return t.Constructor;case o.a.Field:return t.Field;case o.a.Variable:return t.Variable;case o.a.Class:return t.Class;case o.a.Interface:return t.Interface;case o.a.Module:return t.Module;case o.a.Property:return t.Property;case o.a.Unit:return t.Unit;case o.a.Value:return t.Value;case o.a.Enum:return t.Enum;case o.a.Keyword:return t.Keyword;case o.a.Snippet:return t.Snippet;case o.a.Color:return t.Color;case o.a.File:return t.File;case o.a.Reference:return t.Reference}return t.Property}function u(e){if(e)return{range:d(e.range),text:e.newText}}var p=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,r){var s=e.uri;return this._worker(s).then((function(e){return e.doComplete(s.toString(),l(t))})).then((function(n){if(n){var r=e.getWordUntilPosition(t),s=new i.c(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),a=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:s,kind:h(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:d(e.textEdit.insert),replace:d(e.textEdit.replace)}:n.range=d(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(u)),e.insertTextFormat===o.d.Snippet&&(n.insertTextRules=i.f.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function m(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function g(e){if(e)return Array.isArray(e)?e.map(m):[m(e)]}var f=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),l(t))})).then((function(e){if(e)return{range:d(e.range),contents:g(e.contents)}}))},e}();function b(e){var t=i.f.SymbolKind;switch(e){case o.e.File:return t.Array;case o.e.Module:return t.Module;case o.e.Namespace:return t.Namespace;case o.e.Package:return t.Package;case o.e.Class:return t.Class;case o.e.Method:return t.Method;case o.e.Property:return t.Property;case o.e.Field:return t.Field;case o.e.Constructor:return t.Constructor;case o.e.Enum:return t.Enum;case o.e.Interface:return t.Interface;case o.e.Function:return t.Function;case o.e.Variable:return t.Variable;case o.e.Constant:return t.Constant;case o.e.String:return t.String;case o.e.Number:return t.Number;case o.e.Boolean:return t.Boolean;case o.e.Array:return t.Array}return t.Function}var _=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:b(e.kind),range:d(e.location.range),selectionRange:d(e.location.range),tags:[]}}))}))},e}();function v(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var w=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,v(t)).then((function(e){if(e&&0!==e.length)return e.map(u)}))}))},e}(),y=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.format(r.toString(),c(t),v(n)).then((function(e){if(e&&0!==e.length)return e.map(u)}))}))},e}(),C=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:d(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,c(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=u(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(u)),t}))}))},e}(),x=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.getFoldingRanges(r.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case o.c.Comment:return i.f.FoldingRangeKind.Comment;case o.c.Imports:return i.f.FoldingRangeKind.Imports;case o.c.Region:return i.f.FoldingRangeKind.Region}return}(e.kind)),t}))}))},e}();var S=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(l))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:d(e.range)}),e=e.parent;return t}))}))},e}(),k=n(65);function E(e){return{getInitialState:function(){return new L(null,null,!1,null)},tokenize:function(t,n,i,r){return function(e,t,n,i,r){void 0===i&&(i=0);var o=0,s=!1;switch(n.scanError){case 2:t='"'+t,o=1;break;case 1:t="/*"+t,o=2}var a=k.a(t),l=n.lastWasColon,c=n.parents,d={tokens:[],endState:n.clone()};for(;;){var h=i+a.getPosition(),u="",p=a.scan();if(17===p)break;if(h===i+a.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(s&&(h-=o),s=o>0,p){case 1:c=T.push(c,0),u="delimiter.bracket.json",l=!1;break;case 2:c=T.pop(c),u="delimiter.bracket.json",l=!1;break;case 3:c=T.push(c,1),u="delimiter.array.json",l=!1;break;case 4:c=T.pop(c),u="delimiter.array.json",l=!1;break;case 6:u="delimiter.colon.json",l=!0;break;case 5:u="delimiter.comma.json",l=!1;break;case 8:case 9:case 7:u="keyword.json",l=!1;break;case 10:var m=1===(c?c.type:0);u=l||m?"string.value.json":"string.key.json",l=!1;break;case 11:u="number.json",l=!1}if(e)switch(p){case 12:u="comment.line.json";break;case 13:u="comment.block.json"}d.endState=new L(n.getStateData(),a.getTokenError(),l,c),d.tokens.push({startIndex:h,scopes:u})}return d}(e,t,n,i)}}}var T=function(){function e(e,t){this.parent=e,this.type=t}return e.pop=function(e){return e?e.parent:null},e.push=function(t,n){return new e(t,n)},e.equals=function(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t;){if(e===t)return!0;if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0},e}(),L=function(){function e(e,t,n,i){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=i}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon,this.parents)},e.prototype.equals=function(t){return t===this||!!(t&&t instanceof e)&&(this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon&&T.equals(this.parents,t.parents))},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}();function N(e){var t=[],n=[],o=new r(e);t.push(o);var a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.getLanguageServiceWorker.apply(o,e)};function l(){var t=e.languageId,r=e.modeConfiguration;D(n),r.documentFormattingEdits&&n.push(i.f.registerDocumentFormattingEditProvider(t,new w(a))),r.documentRangeFormattingEdits&&n.push(i.f.registerDocumentRangeFormattingEditProvider(t,new y(a))),r.completionItems&&n.push(i.f.registerCompletionItemProvider(t,new p(a))),r.hovers&&n.push(i.f.registerHoverProvider(t,new f(a))),r.documentSymbols&&n.push(i.f.registerDocumentSymbolProvider(t,new _(a))),r.tokens&&n.push(i.f.setTokensProvider(t,E(!0))),r.colors&&n.push(i.f.registerColorProvider(t,new C(a))),r.foldingRanges&&n.push(i.f.registerFoldingRangeProvider(t,new x(a))),r.diagnostics&&n.push(new s(t,a,e)),r.selectionRanges&&n.push(i.f.registerSelectionRangeProvider(t,new S(a)))}l(),t.push(i.f.setLanguageConfiguration(e.languageId,O));var c=e.modeConfiguration;return e.onDidChange((function(e){e.modeConfiguration!==c&&(c=e.modeConfiguration,l())})),t.push(I(n)),I(t)}function I(e){return{dispose:function(){return D(e)}}}function D(e){for(;e.length;)e.pop().dispose()}var O={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return T}));var i=n(52),r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=window.setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.e.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),o=n(48),s=function(){function e(e,t,n){var r=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var o=function(e){var t,n=e.getModeId();n===r._languageId&&(r._listener[e.uri.toString()]=e.onDidChangeContent((function(){window.clearTimeout(t),t=window.setTimeout((function(){return r._doValidate(e.uri,n)}),500)})),r._doValidate(e.uri,n))},s=function(e){i.e.setModelMarkers(e,r._languageId,[]);var t=e.uri.toString(),n=r._listener[t];n&&(n.dispose(),delete r._listener[t])};this._disposables.push(i.e.onDidCreateModel(o)),this._disposables.push(i.e.onWillDisposeModel(s)),this._disposables.push(i.e.onDidChangeModelLanguage((function(e){s(e.model),o(e.model)}))),n.onDidChange((function(e){i.e.getModels().forEach((function(e){e.getModeId()===r._languageId&&(s(e),o(e))}))})),this._disposables.push({dispose:function(){for(var e in r._listener)r._listener[e].dispose()}}),i.e.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(t){return t.doValidation(e.toString())})).then((function(n){var r=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:a(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),o=i.e.getModel(e);o.getModeId()===t&&i.e.setModelMarkers(o,t,r)})).then(void 0,(function(e){console.error(e)}))},e}();function a(e){switch(e){case o.b.Error:return i.b.Error;case o.b.Warning:return i.b.Warning;case o.b.Information:return i.b.Info;case o.b.Hint:return i.b.Hint;default:return i.b.Info}}function l(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function c(e){if(e)return new i.c(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function d(e){var t=i.f.CompletionItemKind;switch(e){case o.a.Text:return t.Text;case o.a.Method:return t.Method;case o.a.Function:return t.Function;case o.a.Constructor:return t.Constructor;case o.a.Field:return t.Field;case o.a.Variable:return t.Variable;case o.a.Class:return t.Class;case o.a.Interface:return t.Interface;case o.a.Module:return t.Module;case o.a.Property:return t.Property;case o.a.Unit:return t.Unit;case o.a.Value:return t.Value;case o.a.Enum:return t.Enum;case o.a.Keyword:return t.Keyword;case o.a.Snippet:return t.Snippet;case o.a.Color:return t.Color;case o.a.File:return t.File;case o.a.Reference:return t.Reference}return t.Property}function h(e){if(e)return{range:c(e.range),text:e.newText}}var u=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,r){var s=e.uri;return this._worker(s).then((function(e){return e.doComplete(s.toString(),l(t))})).then((function(n){if(n){var r=e.getWordUntilPosition(t),s=new i.c(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),a=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:s,kind:d(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:c(e.textEdit.insert),replace:c(e.textEdit.replace)}:n.range=c(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(h)),e.insertTextFormat===o.e.Snippet&&(n.insertTextRules=i.f.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function p(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function m(e){if(e)return Array.isArray(e)?e.map(p):[p(e)]}var g=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),l(t))})).then((function(e){if(e)return{range:c(e.range),contents:m(e.contents)}}))},e}();function f(e){switch(e){case o.c.Read:return i.f.DocumentHighlightKind.Read;case o.c.Write:return i.f.DocumentHighlightKind.Write;case o.c.Text:return i.f.DocumentHighlightKind.Text}return i.f.DocumentHighlightKind.Text}var b=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),l(t))})).then((function(e){if(e)return e.map((function(e){return{range:c(e.range),kind:f(e.kind)}}))}))},e}();function _(e){return{uri:i.d.parse(e.uri),range:c(e.range)}}var v=function(){function e(e){this._worker=e}return e.prototype.provideDefinition=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDefinition(i.toString(),l(t))})).then((function(e){if(e)return[_(e)]}))},e}(),w=function(){function e(e){this._worker=e}return e.prototype.provideReferences=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.findReferences(r.toString(),l(t))})).then((function(e){if(e)return e.map(_)}))},e}();var y=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,r){var o=e.uri;return this._worker(o).then((function(e){return e.doRename(o.toString(),l(t),n)})).then((function(e){return function(e){if(e&&e.changes){var t=[];for(var n in e.changes)for(var r=i.d.parse(n),o=0,s=e.changes[n];o<s.length;o++){var a=s[o];t.push({resource:r,edit:{range:c(a.range),text:a.newText}})}return{edits:t}}}(e)}))},e}();function C(e){var t=i.f.SymbolKind;switch(e){case o.f.File:return t.Array;case o.f.Module:return t.Module;case o.f.Namespace:return t.Namespace;case o.f.Package:return t.Package;case o.f.Class:return t.Class;case o.f.Method:return t.Method;case o.f.Property:return t.Property;case o.f.Field:return t.Field;case o.f.Constructor:return t.Constructor;case o.f.Enum:return t.Enum;case o.f.Interface:return t.Interface;case o.f.Function:return t.Function;case o.f.Variable:return t.Variable;case o.f.Constant:return t.Constant;case o.f.String:return t.String;case o.f.Number:return t.Number;case o.f.Boolean:return t.Boolean;case o.f.Array:return t.Array}return t.Function}var x=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:C(e.kind),tags:[],range:c(e.location.range),selectionRange:c(e.location.range)}}))}))},e}(),S=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:c(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,function(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=h(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(h)),t}))}))},e}(),k=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.getFoldingRanges(r.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case o.d.Comment:return i.f.FoldingRangeKind.Comment;case o.d.Imports:return i.f.FoldingRangeKind.Imports;case o.d.Region:return i.f.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var E=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(l))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:c(e.range)}),e=e.parent;return t}))}))},e}();function T(e){var t=[],n=[],o=new r(e);t.push(o);var a,l,c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.getLanguageServiceWorker.apply(o,e)};return a=e.languageId,l=e.modeConfiguration,N(n),l.completionItems&&n.push(i.f.registerCompletionItemProvider(a,new u(c))),l.hovers&&n.push(i.f.registerHoverProvider(a,new g(c))),l.documentHighlights&&n.push(i.f.registerDocumentHighlightProvider(a,new b(c))),l.definitions&&n.push(i.f.registerDefinitionProvider(a,new v(c))),l.references&&n.push(i.f.registerReferenceProvider(a,new w(c))),l.documentSymbols&&n.push(i.f.registerDocumentSymbolProvider(a,new x(c))),l.rename&&n.push(i.f.registerRenameProvider(a,new y(c))),l.colors&&n.push(i.f.registerColorProvider(a,new S(c))),l.foldingRanges&&n.push(i.f.registerFoldingRangeProvider(a,new k(c))),l.diagnostics&&n.push(new s(a,c,e)),l.selectionRanges&&n.push(i.f.registerSelectionRangeProvider(a,new E(c))),t.push(L(n)),L(t)}function L(e){return{dispose:function(){return N(e)}}}function N(e){for(;e.length;)e.pop().dispose()}},function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode1",(function(){return T})),n.d(t,"setupMode",(function(){return L}));var i=n(47),r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.e.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),o=n(31),s=function(){function e(e,t,n){var r=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var o=function(e){var t,n=e.getModeId();n===r._languageId&&(r._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return r._doValidate(e.uri,n)}),500)})),r._doValidate(e.uri,n))},s=function(e){i.e.setModelMarkers(e,r._languageId,[]);var t=e.uri.toString(),n=r._listener[t];n&&(n.dispose(),delete r._listener[t])};this._disposables.push(i.e.onDidCreateModel(o)),this._disposables.push(i.e.onWillDisposeModel((function(e){s(e)}))),this._disposables.push(i.e.onDidChangeModelLanguage((function(e){s(e.model),o(e.model)}))),this._disposables.push(n.onDidChange((function(e){i.e.getModels().forEach((function(e){e.getModeId()===r._languageId&&(s(e),o(e))}))}))),this._disposables.push({dispose:function(){for(var e in r._listener)r._listener[e].dispose()}}),i.e.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var r=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:a(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n}));i.e.setModelMarkers(i.e.getModel(e),t,r)}))})).then(void 0,(function(e){console.error(e)}))},e}();function a(e){switch(e){case o.b.Error:return i.b.Error;case o.b.Warning:return i.b.Warning;case o.b.Information:return i.b.Info;case o.b.Hint:return i.b.Hint;default:return i.b.Info}}function l(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function c(e){if(e)return new i.c(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function d(e){var t=i.f.CompletionItemKind;switch(e){case o.a.Text:return t.Text;case o.a.Method:return t.Method;case o.a.Function:return t.Function;case o.a.Constructor:return t.Constructor;case o.a.Field:return t.Field;case o.a.Variable:return t.Variable;case o.a.Class:return t.Class;case o.a.Interface:return t.Interface;case o.a.Module:return t.Module;case o.a.Property:return t.Property;case o.a.Unit:return t.Unit;case o.a.Value:return t.Value;case o.a.Enum:return t.Enum;case o.a.Keyword:return t.Keyword;case o.a.Snippet:return t.Snippet;case o.a.Color:return t.Color;case o.a.File:return t.File;case o.a.Reference:return t.Reference}return t.Property}function h(e){if(e)return{range:c(e.range),text:e.newText}}var u=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,r){var s=e.uri;return this._worker(s).then((function(e){return e.doComplete(s.toString(),l(t))})).then((function(n){if(n){var r=e.getWordUntilPosition(t),s=new i.c(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),a=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:s,kind:d(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:c(e.textEdit.insert),replace:c(e.textEdit.replace)}:n.range=c(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(h)),e.insertTextFormat===o.e.Snippet&&(n.insertTextRules=i.f.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function p(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function m(e){if(e)return Array.isArray(e)?e.map(p):[p(e)]}var g=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),l(t))})).then((function(e){if(e)return{range:c(e.range),contents:m(e.contents)}}))},e}();function f(e){var t=i.f.DocumentHighlightKind;switch(e){case o.c.Read:return t.Read;case o.c.Write:return t.Write;case o.c.Text:return t.Text}return t.Text}var b=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),l(t))})).then((function(e){if(e)return e.map((function(e){return{range:c(e.range),kind:f(e.kind)}}))}))},e}();function _(e){var t=i.f.SymbolKind;switch(e){case o.f.File:return t.Array;case o.f.Module:return t.Module;case o.f.Namespace:return t.Namespace;case o.f.Package:return t.Package;case o.f.Class:return t.Class;case o.f.Method:return t.Method;case o.f.Property:return t.Property;case o.f.Field:return t.Field;case o.f.Constructor:return t.Constructor;case o.f.Enum:return t.Enum;case o.f.Interface:return t.Interface;case o.f.Function:return t.Function;case o.f.Variable:return t.Variable;case o.f.Constant:return t.Constant;case o.f.String:return t.String;case o.f.Number:return t.Number;case o.f.Boolean:return t.Boolean;case o.f.Array:return t.Array}return t.Function}var v=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:_(e.kind),tags:[],range:c(e.location.range),selectionRange:c(e.location.range)}}))}))},e}(),w=function(){function e(e){this._worker=e}return e.prototype.provideLinks=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentLinks(n.toString())})).then((function(e){if(e)return{links:e.map((function(e){return{range:c(e.range),url:e.target}}))}}))},e}();function y(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var C=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,y(t)).then((function(e){if(e&&0!==e.length)return e.map(h)}))}))},e}(),x=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.format(r.toString(),function(e){if(e)return{start:l(e.getStartPosition()),end:l(e.getEndPosition())}}(t),y(n)).then((function(e){if(e&&0!==e.length)return e.map(h)}))}))},e}(),S=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,r){var o=e.uri;return this._worker(o).then((function(e){return e.doRename(o.toString(),l(t),n)})).then((function(e){return function(e){if(!e||!e.changes)return;var t=[];for(var n in e.changes)for(var r=i.d.parse(n),o=0,s=e.changes[n];o<s.length;o++){var a=s[o];t.push({resource:r,edit:{range:c(a.range),text:a.newText}})}return{edits:t}}(e)}))},e}();var k=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.getFoldingRanges(r.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case o.d.Comment:return i.f.FoldingRangeKind.Comment;case o.d.Imports:return i.f.FoldingRangeKind.Imports;case o.d.Region:return i.f.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var E=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(l))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:c(e.range)}),e=e.parent;return t}))}))},e}();function T(e){var t=new r(e),n=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.getLanguageServiceWorker.apply(t,e)},o=e.languageId;i.f.registerCompletionItemProvider(o,new u(n)),i.f.registerHoverProvider(o,new g(n)),i.f.registerDocumentHighlightProvider(o,new b(n)),i.f.registerLinkProvider(o,new w(n)),i.f.registerFoldingRangeProvider(o,new k(n)),i.f.registerDocumentSymbolProvider(o,new v(n)),i.f.registerSelectionRangeProvider(o,new E(n)),i.f.registerRenameProvider(o,new S(n)),"html"===o&&(i.f.registerDocumentFormattingEditProvider(o,new C(n)),i.f.registerDocumentRangeFormattingEditProvider(o,new x(n)),new s(o,n,e))}function L(e){var t=[],n=[],o=new r(e);t.push(o);var a,l,c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.getLanguageServiceWorker.apply(o,e)};return a=e.languageId,l=e.modeConfiguration,I(n),l.completionItems&&n.push(i.f.registerCompletionItemProvider(a,new u(c))),l.hovers&&n.push(i.f.registerHoverProvider(a,new g(c))),l.documentHighlights&&n.push(i.f.registerDocumentHighlightProvider(a,new b(c))),l.links&&n.push(i.f.registerLinkProvider(a,new w(c))),l.documentSymbols&&n.push(i.f.registerDocumentSymbolProvider(a,new v(c))),l.rename&&n.push(i.f.registerRenameProvider(a,new S(c))),l.foldingRanges&&n.push(i.f.registerFoldingRangeProvider(a,new k(c))),l.selectionRanges&&n.push(i.f.registerSelectionRangeProvider(a,new E(c))),l.documentFormattingEdits&&n.push(i.f.registerDocumentFormattingEditProvider(a,new C(c))),l.documentRangeFormattingEdits&&n.push(i.f.registerDocumentRangeFormattingEditProvider(a,new x(c))),l.diagnostics&&n.push(new s(a,c,e)),t.push(N(n)),N(t)}function N(e){return{dispose:function(){return I(e)}}}function I(e){for(;e.length;)e.pop().dispose()}}]); \ No newline at end of file diff --git a/monaco/workers/css.worker.js b/monaco/workers/css.worker.js index 73de20f..1dd1a51 100644 --- a/monaco/workers/css.worker.js +++ b/monaco/workers/css.worker.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=345)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(25),i=n(6),o=n(43),s=n(23),a=n(9),l=n(3),c=n(21),d=n(77),h=n(40);class p{static chord(e,t){return Object(o.a)(e,t)}}function u(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:i.a,KeyCode:h.o,KeyMod:p,Position:a.a,Range:l.a,Selection:c.a,SelectionDirection:h.z,MarkerSeverity:h.p,MarkerTag:h.q,Uri:s.a,Token:d.a}}p.CtrlCmd=2048,p.Shift=1024,p.Alt=512,p.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(36);class i{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(r.a)(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(r.a)(e),t=Object(r.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(r.a)(e),t=Object(r.a)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,r=0,o=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=this.prefixSum[r],s=o-this.values[r],e<s)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-s)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return W}));var r=n(15);class i{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function a(e,t,n){return new h(new s(e),new s(t)).ComputeDiff(n).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class d{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[r,i,o]=h._getElements(e),[s,a,l]=h._getElements(t);this._hasStrings=o&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,o){for(o[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i(e,0,n,r-n+1)]):e<=t?(l.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i(e,t-e+1,n,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],a=[0],c=this.ComputeRecursionPoint(e,t,n,r,s,a,o),d=s[0],h=a[0];if(null!==c)return c;if(!o[0]){const s=this.ComputeDiffRecursive(e,d,n,h,o);let a=[];return a=o[0]?[new i(d+1,t-(d+1)+1,h+1,r-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,r,o),this.ConcatenateChanges(s,a)}return[new i(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,a,l,c,h,p,u,m,f,g,b,y,v){let w=null,x=null,S=new d,C=t,k=n,E=m[0]-b[0]-r,_=-1073741824,F=this.m_forwardHistory.length-1;do{const t=E+e;t===C||t<k&&c[t-1]<c[t+1]?(f=(p=c[t+1])-E-r,p<_&&S.MarkNextChange(),_=p,S.AddModifiedElement(p+1,f),E=t+1-e):(f=(p=c[t-1]+1)-E-r,p<_&&S.MarkNextChange(),_=p-1,S.AddOriginalElement(p,f+1),E=t-1-e),F>=0&&(e=(c=this.m_forwardHistory[F])[0],C=1,k=c.length-1)}while(--F>=-1);if(w=S.getReverseChanges(),v[0]){let e=m[0]+1,t=b[0]+1;if(null!==w&&w.length>0){const n=w[w.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}x=[new i(e,u-e+1,t,g-t+1)]}else{S=new d,C=s,k=a,E=m[0]-b[0]-l,_=1073741824,F=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=E+o;e===C||e<k&&h[e-1]>=h[e+1]?(f=(p=h[e+1]-1)-E-l,p>_&&S.MarkNextChange(),_=p+1,S.AddOriginalElement(p+1,f+1),E=e+1-o):(f=(p=h[e-1])-E-l,p>_&&S.MarkNextChange(),_=p,S.AddModifiedElement(p+1,f+1),E=e-1-o),F>=0&&(o=(h=this.m_reverseHistory[F])[0],C=1,k=h.length-1)}while(--F>=-1);x=S.getChanges()}return this.ConcatenateChanges(w,x)}ComputeRecursionPoint(e,t,n,r,o,s,a){let l=0,d=0,h=0,p=0,u=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(r-n),g=f+1,b=new Int32Array(g),y=new Int32Array(g),v=r-n,w=t-e,x=e-n,S=t-r,C=(w-v)%2==0;b[v]=e,y[w]=t,a[0]=!1;for(let k=1;k<=f/2+1;k++){let f=0,E=0;h=this.ClipDiagonalBound(v-k,k,v,g),p=this.ClipDiagonalBound(v+k,k,v,g);for(let e=h;e<=p;e+=2){l=e===h||e<p&&b[e-1]<b[e+1]?b[e+1]:b[e-1]+1,d=l-(e-v)-x;const n=l;for(;l<t&&d<r&&this.ElementsAreEqual(l+1,d+1);)l++,d++;if(b[e]=l,l+d>f+E&&(f=l,E=d),!C&&Math.abs(e-w)<=k-1&&l>=y[e])return o[0]=l,s[0]=d,n<=y[e]&&k<=1448?this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a):null}const _=(f-e+(E-n)-k)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,_))return a[0]=!0,o[0]=f,s[0]=E,_>0&&k<=1448?this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a):(e++,n++,[new i(e,t-e+1,n,r-n+1)]);u=this.ClipDiagonalBound(w-k,k,w,g),m=this.ClipDiagonalBound(w+k,k,w,g);for(let i=u;i<=m;i+=2){l=i===u||i<m&&y[i-1]>=y[i+1]?y[i+1]-1:y[i-1],d=l-(i-w)-S;const c=l;for(;l>e&&d>n&&this.ElementsAreEqual(l,d);)l--,d--;if(y[i]=l,C&&Math.abs(i-v)<=k&&l<=b[i])return o[0]=l,s[0]=d,c>=b[i]&&k<=1448?this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a):null}if(k<=1447){let e=new Int32Array(p-h+2);e[0]=v-h+1,c.Copy2(b,h,e,1,p-h+1),this.m_forwardHistory.push(e),e=new Int32Array(m-u+2),e[0]=w-u+1,c.Copy2(y,u,e,1,m-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];n.originalLength>0&&(r=n.originalStart+n.originalLength),n.modifiedLength>0&&(i=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<r||c<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const d=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);d>l&&(l=d,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return c.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],c.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(r,o,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}var p=n(11),u=n(23),m=n(9),f=n(3),g=n(8);function b(e,t,n,r){return new h(e,t,n).ComputeDiff(r)}class y{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=C(e[r],1),n[r]=k(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,l=e?this._endColumns[a]:t.length+1;for(let e=n;e<l;e++)r[s]=t.charCodeAt(e-1),i[s]=a+1,o[s]=e,s++}return new v(r,i,o)}}class v{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class w{constructor(e,t,n,r,i,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r,i,o,s,a,l,c,d;return 0===e.originalLength?(r=0,i=0,o=0,s=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,l=0,c=0,d=0):(a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new w(r,i,o,s,a,l,c,d)}}class x{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let a,l,c,d,h=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=r.getStartLineNumber(t.modifiedStart)-1,d=0):(c=r.getStartLineNumber(t.modifiedStart),d=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=b(o,a,i,!0).changes;s&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(l)),h=[];for(let e=0,t=l.length;e<t;e++)h.push(w.createFromDiffChange(l[e],o,a))}return new x(a,l,c,d,h)}}class S{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new y(e),this.modified=new y(t),this.continueLineDiff=E(n.maxComputationTime),this.continueCharDiff=E(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=b(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(x.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,a=s?s.originalStart:this.originalLines.length,l=s?s.modifiedStart:this.modifiedLines.length;for(;i<a&&o<l;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=C(e,1),s=C(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=k(e,1),s=k(t,1);const a=e.length+1,l=t.length+1;for(;n<a&&s<l;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<l)&&this._pushTrimWhitespaceCharChange(r,i+1,n,a,o+1,s,l)}}i++,o++}s&&(r.push(x.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new w(t,n,t,r,i,o,i,s)]),e.push(new x(t,t,i,i,a))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const a=e.length;if(0===a)return!1;const l=e[a-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===i&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new w(t,n,t,r,i,o,i,s)),!0))}}function C(e,t){const n=g.w(e);return-1===n?t:n+1}function k(e,t){const n=g.J(e);return-1===n?t:n+2}function E(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var _=n(101);var F=n(73),D=n(76);class T{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class R{constructor(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++){let[i,o,s]=e[r];o>t&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new T(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,i,o]=e[t];r.set(n,i,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let N=null;let z=null;class A{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===N&&(N=new R([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),N}()){const n=function(){if(null===z){z=new D.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)z.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)z.set(t.charCodeAt(e),2)}return z}();let r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let a=0,l=0,c=0,d=1,h=!1,p=!1,u=!1,m=!1;for(;a<s;){let e=!1;const s=o.charCodeAt(a);if(13===d){let t;switch(s){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:u=!0,p=!0,t=0;break;case 93:u=!1,t=p?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=u?0:1;break;default:t=n.get(s)}1===t&&(r.push(A._createLink(n,o,i,l,a)),e=!0)}else if(12===d){let t;91===s?(p=!0,t=0):t=n.get(s),1===t?e=!0:d=13}else d=t.nextState(d,s),0===d&&(e=!0);e&&(d=1,h=!1,p=!1,m=!1,l=a+1,c=s),a++}13===d&&r.push(A._createLink(n,o,i,l,s))}return r}}class I{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){let n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){let e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}I.INSTANCE=new I;var M=n(100),P=n(14),O=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class L extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new _.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),r[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(F.d)(e.column,Object(F.c)(t),this._lines[e.lineNumber-1],0);return n?new f.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){let n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const e of r)i.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class W{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new L(u.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return O(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const s=i.getLinesContent(),a=o.getLinesContent(),l=new S(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return O(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Object(r.p)(t,(e,t)=>{if(e.range&&t.range)return f.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:r,eol:s}of t){if("number"==typeof s&&(o=s),f.a.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>W._diffLimit){i.push({range:e,text:r});continue}const l=a(t,r,!1),c=n.offsetAt(f.a.lift(e).getStartPosition());for(const e of l){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return O(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?A.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return O(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return null;const o=[],s=new Set,a=new RegExp(n,r),l=i.getWordAtPosition(t,a);l&&s.add(i.getValueInRange(l));for(let e of i.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>W._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,r){return O(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,r,i){return O(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=o.getValueInRange(t),l=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!l)return null;let c=o.getValueInRange(l);return I.INSTANCE.navigateValueSet(t,a,l,c,n)}))}loadForeignModule(e,t,n){let r={host:P.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(P.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}W._diffLimit=1e5,W._suggestionsLimit=1e4,"function"==typeof importScripts&&(p.b.monaco=Object(M.a)())},11:function(e,t,n){"use strict";(function(e,r){n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return b})),n.d(t,"d",(function(){return y})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return C})),n.d(t,"a",(function(){return k})),n.d(t,"e",(function(){return F}));let i=!1,o=!1,s=!1,a=!1,l=!1,c=!1,d=void 0,h="en",p=void 0,u=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,d="en",h="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];d=e.locale,h=n||"en",p=e._translationsConfigFile}catch(e){}a=!0}}else u=navigator.userAgent,i=u.indexOf("Windows")>=0,o=u.indexOf("Macintosh")>=0,c=(u.indexOf("Macintosh")>=0||u.indexOf("iPad")>=0||u.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=u.indexOf("Linux")>=0,l=!0,d=navigator.language,h=d;let f=0;o?f=1:i?f=3:s&&(f=2);const g=i,b=o,y=s,v=a,w=l,x=c,S="object"==typeof self?self:"object"==typeof r?r:{},C=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"==typeof S.postMessage&&!S.importScripts){let e=[];S.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),S.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),k=o||c?2:i?1:3;let E=!0,_=!1;function F(){if(!_){_=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);E=513===t[0]}return E}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){a(e)||r.onUnexpectedError(e)}function o(e){a(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function a(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function d(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return s}));var r=n(94),i=n(104);let o=!1;function s(e){if(o)return;o=!0;const t=new r.b(e=>{self.postMessage(e)},t=>new i.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||s(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function d(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function u(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(p(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function f(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function g(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function b(e){return null===e?void 0:e}n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"g",(function(){return p})),n.d(t,"m",(function(){return u})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"n",(function(){return b}))},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r,i,o,s=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,u=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new f(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=p.exec(e);return n?new f(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(u),g=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function b(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=g[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function y(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=g[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?y:b,r="",i=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=h,r+=h),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?r+=n(d,!1):(r+=n(d.substr(0,c),!1),r+=":",r+=n(d.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(p=s.charCodeAt(1))>=65&&p<=90&&(s="/"+String.fromCharCode(p+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var p;(p=s.charCodeAt(0))>=65&&p<=90&&(s=String.fromCharCode(p+32)+":"+s.substr(2))}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),l&&(r+="#",r+=t?l:b(l,!1)),r}var x=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(x)?e.replace(x,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},15:function(e,t,n){"use strict";function r(e,t=0){return e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else{if(!(s>0))return o;i=o-1}}return-(r+1)}function a(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function l(e,t){return function e(t,n,r,i,o){if(i<=r)return;const s=r+(i-r)/2|0;if(e(t,n,r,s,o),e(t,n,s+1,i,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,r,i,o){let s=n,a=r+1;for(let t=n;t<=i;t++)o[t]=e[t];for(let l=n;l<=i;l++)s>r?e[l]=o[a++]:a>i?e[l]=o[s++]:t(o[a],o[s])<0?e[l]=o[a++]:e[l]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let r=void 0;for(const i of l(e.slice(0),t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function d(e){return e.filter(e=>!!e)}function h(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function u(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const r=t(e);return!n[r]&&(n[r]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function f(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function g(e,t,n){const r=f(e,t);return r<0?n:e[r]}function b(e,t){return e.length>0?e[0]:t}function y(e){return[].concat(...e)}function v(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function w(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function x(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function S(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function C(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return r})),n.d(t,"u",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"p",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return p})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return g})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return y})),n.d(t,"s",(function(){return v})),n.d(t,"a",(function(){return w})),n.d(t,"r",(function(){return x})),n.d(t,"q",(function(){return S})),n.d(t,"b",(function(){return C}))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return u}));var r=n(37);function i(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function a(e){if(r.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function l(...e){return e.forEach(i),{dispose:()=>a(e)}}function c(e){const t={dispose:()=>{e()}};return t}class d{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{a(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?d.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}d.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new d}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class p{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class u{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(3);class o extends i.a{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return g}));var r=n(11),i=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;const l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{constructor(e,t,n,r,i,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof d||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new p(t,n,r,i,o)}static parse(e,t=!1){const n=c.exec(e);return n?new p(n[2]||"",v(n[4]||""),v(n[5]||""),v(n[7]||""),v(n[9]||""),t):new p("","","","","")}static file(e){let t="";if(r.i&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){const n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new p("file",t,e,"","")}static from(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=r.i&&"file"===e.scheme?d.file(i.i.join(g(e,!0),...t)).path:i.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof d)return e;{const t=new p(e);return t._formatted=e.external,t._fsPath=e._sep===h?e.fsPath:null,t}}return e}}const h=r.i?1:void 0;class p extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const u={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=u[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function f(e){let t=void 0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=u[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function g(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(n=n.replace(/\//g,"\\")),n}function b(e,t){const n=t?f:m;let r="",{scheme:i,authority:o,path:s,query:a,fragment:c}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=l,r+=l),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),c&&(r+="#",r+=t?c:m(c,!1)),r}const y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(y)?e.replace(y,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(6);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var r=n(11);const i=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,o=i.cwd,s=i.env,a=i.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return n<a?(n=a,r=l):n===a&&(r=Math.max(r,l)),o>c?(o=c,s=d):o===c&&(s=Math.min(s,d)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},345:function(e,t,n){"use strict";n.r(t);var r=n(131),i=n(48),o=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},a=function(){function e(e,t){switch(this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageId){case"css":this._languageService=i.h();break;case"less":this._languageService=i.i();break;case"scss":this._languageService=i.j();break;default:throw new Error("Invalid language id: "+this._languageId)}this._languageService.configure(this._languageSettings)}return e.prototype.doValidation=function(e){return o(this,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){return(t=this._getTextDocument(e))?(n=this._languageService.parseStylesheet(t),r=this._languageService.doValidation(t,n),[2,Promise.resolve(r)]):[2,Promise.resolve([])]}))}))},e.prototype.doComplete=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.doComplete(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.doHover=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.doHover(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findDefinition=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.findDefinition(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findReferences=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.findReferences(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findDocumentHighlights=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.findDocumentHighlights(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findDocumentSymbols=function(e){return o(this,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseStylesheet(t),r=this._languageService.findDocumentSymbols(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.doCodeActions=function(e,t,n){return o(this,void 0,void 0,(function(){var r,i,o;return s(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseStylesheet(r),o=this._languageService.doCodeActions(r,t,n,i),[2,Promise.resolve(o)]}))}))},e.prototype.findDocumentColors=function(e){return o(this,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseStylesheet(t),r=this._languageService.findDocumentColors(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.getColorPresentations=function(e,t,n){return o(this,void 0,void 0,(function(){var r,i,o;return s(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseStylesheet(r),o=this._languageService.getColorPresentations(r,i,t,n),[2,Promise.resolve(o)]}))}))},e.prototype.getFoldingRanges=function(e,t){return o(this,void 0,void 0,(function(){var n,r;return s(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t),[2,Promise.resolve(r)]}))}))},e.prototype.getSelectionRanges=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.getSelectionRanges(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.doRename=function(e,t,n){return o(this,void 0,void 0,(function(){var r,i,o;return s(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseStylesheet(r),o=this._languageService.doRename(r,t,n,i),[2,Promise.resolve(o)]}))}))},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var r=n[t];if(r.uri.toString()===e)return i.g.create(e,this._languageId,r.version,r.getValue())}return null},e}();self.onmessage=function(){r.initialize((function(e,t){return new a(e,t)}))}},36:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},37:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(r||(r={}))},40:function(e,t,n){"use strict";var r,i,o,s,a,l,c,d,h,p,u,m,f,g,b,y,v,w,x,S,C,k,E,_,F,D,T,R,N,z,A,I,M;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return g})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return x})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return k})),n.d(t,"w",(function(){return E})),n.d(t,"x",(function(){return _})),n.d(t,"y",(function(){return F})),n.d(t,"z",(function(){return D})),n.d(t,"A",(function(){return T})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return N})),n.d(t,"D",(function(){return z})),n.d(t,"E",(function(){return A})),n.d(t,"F",(function(){return I})),n.d(t,"G",(function(){return M})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(p||(p={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(u||(u={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(g||(g={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(b||(b={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(y||(y={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(v||(v={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(w||(w={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(x||(x={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(C||(C={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(k||(k={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(E||(E={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(_||(_={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(F||(F={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(D||(D={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(T||(T={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(R||(R={})),function(e){e[e.Deprecated=1]="Deprecated"}(N||(N={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(z||(z={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(I||(I={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(M||(M={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"h",(function(){return v}));var r=n(28);class i extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new i(t,"string",e)}function s(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,r){let i="",o=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(r(l))break;l=47}if(r(l)){if(s===c-1||1===a);else if(2===a){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=c,a=0;continue}if(0!==i.length){i="",o=0,s=c,a=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,c)}`:i=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function d(e,t){if(null===t||"object"!=typeof t)throw new i("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const h={resolve(...e){let t="",n="",i=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(c=e[a],o(c,"path"),0===c.length)continue}else 0===t.length?c=r.a():(c=r.b["="+t]||r.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const d=c.length;let h=0,p="",u=!1;const m=c.charCodeAt(0);if(1===d)s(m)&&(h=1,u=!0);else if(s(m))if(u=!0,s(c.charCodeAt(1))){let e=2,t=e;for(;e<d&&!s(c.charCodeAt(e));)e++;if(e<d&&e!==t){const n=c.slice(t,e);for(t=e;e<d&&s(c.charCodeAt(e));)e++;if(e<d&&e!==t){for(t=e;e<d&&!s(c.charCodeAt(e));)e++;e!==d&&e===t||(p=`\\\\${n}\\${c.slice(t,e)}`,h=e)}}}else h=1;else l(m)&&58===c.charCodeAt(1)&&(p=c.slice(0,2),h=2,d>2&&s(c.charCodeAt(2))&&(u=!0,h=3));if(p.length>0)if(t.length>0){if(p.toLowerCase()!==t.toLowerCase())continue}else t=p;if(i){if(t.length>0)break}else if(n=`${c.slice(h)}\\${n}`,i=u,u&&t.length>0)break}return n=c(n,!i,"\\",s),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const d=e.charCodeAt(0);if(1===t)return a(d)?"\\":e;if(s(d))if(i=!0,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){const a=e.slice(o,i);for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return`\\\\${a}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${a}\\${e.slice(o,i)}`,r=i)}}}else r=1;else l(d)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),r=2,t>2&&s(e.charCodeAt(2))&&(i=!0,r=3));let h=r<t?c(e.slice(r),!i,"\\",s):"";return 0!==h.length||i||(h="."),h.length>0&&s(e.charCodeAt(t-1))&&(h+="\\"),void 0===n?i?"\\"+h:h:i?`${n}\\${h}`:`${n}${h}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&l(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];o(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&s(n.charCodeAt(0))){++i;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++i,e>2&&(s(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&s(t.charCodeAt(i));)i++;i>=2&&(t="\\"+t.slice(i))}return h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=h.resolve(e),r=h.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&92===e.charCodeAt(i);)i++;let s=e.length;for(;s-1>i&&92===e.charCodeAt(s-1);)s--;const a=s-i;let l=0;for(;l<t.length&&92===t.charCodeAt(l);)l++;let c=t.length;for(;c-1>l&&92===t.charCodeAt(c-1);)c--;const d=c-l,p=a<d?a:d;let u=-1,m=0;for(;m<p;m++){const n=e.charCodeAt(i+m);if(n!==t.charCodeAt(l+m))break;92===n&&(u=m)}if(m!==p){if(-1===u)return r}else{if(d>p){if(92===t.charCodeAt(l+m))return r.slice(l+m+1);if(2===m)return r.slice(l+m)}a>p&&(92===e.charCodeAt(i+m)?u=m:2===m&&(u=3)),-1===u&&(u=0)}let f="";for(m=i+u+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(f+=0===f.length?"..":"\\..");return l+=u,f.length>0?`${f}${r.slice(l,c)}`:(92===r.charCodeAt(l)&&++l,r.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return s(i)?e:".";if(s(i)){if(n=r=1,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else l(i)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,r=n);let a=-1,c=!0;for(let n=t-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!c){a=n;break}}else c=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,a=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(n=e.length-1;n>=r;--n){const c=e.charCodeAt(n);if(s(c)){if(!a){r=n+1;break}}else-1===l&&(a=!1,l=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=l))}return r===i?i=l:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=0,n=-1,r=0,i=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!a){r=o+1;break}}else-1===i&&(a=!1,i=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===i||0===c||1===c&&n===i-1&&n===r+1?"":e.slice(n,i)},format:d.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return s(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(i)){if(r=1,s(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(l(i)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(r=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let a=-1,c=r,d=-1,h=!0,p=e.length-1,u=0;for(;p>=r;--p)if(i=e.charCodeAt(p),s(i)){if(!h){c=p+1;break}}else-1===d&&(h=!1,d=p+1),46===i?-1===a?a=p:1!==u&&(u=1):-1!==a&&(u=-1);return-1!==d&&(-1===a||0===u||1===u&&a===d-1&&a===c+1?t.base=t.name=e.slice(c,d):(t.name=e.slice(c,a),t.base=e.slice(c,d),t.ext=e.slice(a,d))),t.dir=c>0&&c!==r?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},p={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const s=i>=0?e[i]:r.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=c(t,!n,"/",a),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",a)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];o(r,"path"),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":p.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=p.resolve(e))===(t=p.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let a=-1,l=0;for(;l<s;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;47===n&&(a=l)}if(l===s)if(i>s){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else r>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0));let c="";for(l=1+a+1;l<=n;++l)l!==n&&47!==e.charCodeAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(47===l){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(47!==a)-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:d.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,l=!0,c=e.length-1,d=0;for(;c>=r;--c){const t=e.charCodeAt(c);if(47!==t)-1===a&&(l=!1,a=c+1),46===t?-1===i?i=c:1!==d&&(d=1):-1!==i&&(d=-1);else if(!l){s=c+1;break}}if(-1!==a){const r=0===s&&n?1:s;-1===i||0===d||1===d&&i===a-1&&i===s+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};p.win32=h.win32=h,p.posix=h.posix=p;const u="win32"===r.c?h.normalize:p.normalize,m="win32"===r.c?h.resolve:p.resolve,f="win32"===r.c?h.relative:p.relative,g="win32"===r.c?h.dirname:p.dirname,b="win32"===r.c?h.basename:p.basename,y="win32"===r.c?h.extname:p.extname,v="win32"===r.c?h.sep:p.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return f}));var r=n(13);class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,s=new i,a=new i;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function d(e,t){if(0===e)return null;const n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new u(0!==r?[h(n,t),h(r,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),r=!!(256&e);return new p(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n=t,r=n){o.define(e,t),s.define(e,n),a.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(l||(l={}));class p{constructor(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new u([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class u{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}class f{}},48:function(e,t,n){"use strict";var r;n.d(t,"g",(function(){return pr})),n.d(t,"d",(function(){return mn})),n.d(t,"b",(function(){return bn})),n.d(t,"a",(function(){return Wn})),n.d(t,"e",(function(){return Un})),n.d(t,"c",(function(){return Yn})),n.d(t,"f",(function(){return Xn})),n.d(t,"h",(function(){return Ko})),n.d(t,"j",(function(){return qo})),n.d(t,"i",(function(){return $o})),function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"}(r||(r={}));var i=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),o="a".charCodeAt(0),s="f".charCodeAt(0),a="z".charCodeAt(0),l="A".charCodeAt(0),c="F".charCodeAt(0),d="Z".charCodeAt(0),h="0".charCodeAt(0),p="9".charCodeAt(0),u="~".charCodeAt(0),m="^".charCodeAt(0),f="=".charCodeAt(0),g="|".charCodeAt(0),b="-".charCodeAt(0),y="_".charCodeAt(0),v="%".charCodeAt(0),w="*".charCodeAt(0),x="(".charCodeAt(0),S=")".charCodeAt(0),C="<".charCodeAt(0),k=">".charCodeAt(0),E="@".charCodeAt(0),_="#".charCodeAt(0),F="$".charCodeAt(0),D="\\".charCodeAt(0),T="/".charCodeAt(0),R="\n".charCodeAt(0),N="\r".charCodeAt(0),z="\f".charCodeAt(0),A='"'.charCodeAt(0),I="'".charCodeAt(0),M=" ".charCodeAt(0),P="\t".charCodeAt(0),O=";".charCodeAt(0),L=":".charCodeAt(0),W="{".charCodeAt(0),U="}".charCodeAt(0),j="[".charCodeAt(0),V="]".charCodeAt(0),B=",".charCodeAt(0),K=".".charCodeAt(0),q="!".charCodeAt(0),$={};$[O]=r.SemiColon,$[L]=r.Colon,$[W]=r.CurlyL,$[U]=r.CurlyR,$[V]=r.BracketR,$[j]=r.BracketL,$[x]=r.ParenthesisL,$[S]=r.ParenthesisR,$[B]=r.Comma;var G={};G.em=r.EMS,G.ex=r.EXS,G.px=r.Length,G.cm=r.Length,G.mm=r.Length,G.in=r.Length,G.pt=r.Length,G.pc=r.Length,G.deg=r.Angle,G.rad=r.Angle,G.grad=r.Angle,G.ms=r.Time,G.s=r.Time,G.hz=r.Freq,G.khz=r.Freq,G["%"]=r.Percentage,G.fr=r.Percentage,G.dpi=r.Resolution,G.dpcm=r.Resolution;var H=function(){function e(){this.stream=new i(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new i(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,r.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,r.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([C,q,b,b]))return this.finishToken(e,r.CDO);if(this.stream.advanceIfChars([b,b,k]))return this.finishToken(e,r.CDC);var t=[];if(this.ident(t))return this.finishToken(e,r.Ident,t.join(""));if(this.stream.advanceIfChar(E)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,r.Charset,n):this.finishToken(e,r.AtKeyword,n)}return this.finishToken(e,r.Delim)}if(this.stream.advanceIfChar(_))return t=["#"],this._name(t)?this.finishToken(e,r.Hash,t.join("")):this.finishToken(e,r.Delim);if(this.stream.advanceIfChar(q))return this.finishToken(e,r.Exclamation);if(this._number()){var i=this.stream.pos();if(t=[this.stream.substring(e,i)],this.stream.advanceIfChar(v))return this.finishToken(e,r.Percentage);if(this.ident(t)){var o=this.stream.substring(i).toLowerCase(),s=G[o];return void 0!==s?this.finishToken(e,s,t.join("")):this.finishToken(e,r.Dimension,t.join(""))}return this.finishToken(e,r.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):void 0!==(a=$[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===u&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.Includes)):this.stream.peekChar(0)===g&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.Dashmatch)):this.stream.peekChar(0)===w&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.SubstringOperator)):this.stream.peekChar(0)===m&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.PrefixOperator)):this.stream.peekChar(0)===F&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,r.Delim))},e.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,r.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,r.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([T,w])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===T?(e=!0,!1):(t=n===w,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===K&&(t=1),(e=this.stream.peekChar(t))>=h&&e<=p&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=h&&e<=p||0===t&&e===K})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case N:case z:case R:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===N&&this.stream.advanceIfChar(R)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===D){this.stream.advance(1),n=this.stream.peekChar();for(var r=0;r<6&&(n>=h&&n<=p||n>=o&&n<=s||n>=l&&n<=c);)this.stream.advance(1),n=this.stream.peekChar(),r++;if(r>0){try{var i=parseInt(this.stream.substring(this.stream.pos()-r),16);i&&e.push(String.fromCharCode(i))}catch(e){}return n===M||n===P?this.stream.advance(1):this._newline([]),!0}if(n!==N&&n!==z&&n!==R)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==D&&n!==N&&n!==z&&n!==R&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===I||this.stream.peekChar()===A){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),r.String):r.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==D&&t!==I&&t!==A&&t!==x&&t!==S&&t!==M&&t!==P&&t!==R&&t!==z&&t!==N&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},e.prototype._whitespace=function(){return this.stream.advanceWhileChar((function(e){return e===M||e===P||e===R||e===z||e===N}))>0},e.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos();if(this._minus(e)&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===y||t>=o&&t<=a||t>=l&&t<=d||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===b&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===y||t===b||t>=o&&t<=a||t>=l&&t<=d||t>=h&&t<=p||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}();function Y(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function J(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function X(e,t){return void 0===t&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}var Q,Z,ee,te=(Q=function(e,t){return(Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function ne(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function re(e,t){for(var n=ne(e,t),r=[];n;)r.unshift(n),n=n.parent;return r}!function(e){e[e.Undefined=0]="Undefined",e[e.Identifier=1]="Identifier",e[e.Stylesheet=2]="Stylesheet",e[e.Ruleset=3]="Ruleset",e[e.Selector=4]="Selector",e[e.SimpleSelector=5]="SimpleSelector",e[e.SelectorInterpolation=6]="SelectorInterpolation",e[e.SelectorCombinator=7]="SelectorCombinator",e[e.SelectorCombinatorParent=8]="SelectorCombinatorParent",e[e.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",e[e.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",e[e.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",e[e.Page=12]="Page",e[e.PageBoxMarginBox=13]="PageBoxMarginBox",e[e.ClassSelector=14]="ClassSelector",e[e.IdentifierSelector=15]="IdentifierSelector",e[e.ElementNameSelector=16]="ElementNameSelector",e[e.PseudoSelector=17]="PseudoSelector",e[e.AttributeSelector=18]="AttributeSelector",e[e.Declaration=19]="Declaration",e[e.Declarations=20]="Declarations",e[e.Property=21]="Property",e[e.Expression=22]="Expression",e[e.BinaryExpression=23]="BinaryExpression",e[e.Term=24]="Term",e[e.Operator=25]="Operator",e[e.Value=26]="Value",e[e.StringLiteral=27]="StringLiteral",e[e.URILiteral=28]="URILiteral",e[e.EscapedValue=29]="EscapedValue",e[e.Function=30]="Function",e[e.NumericValue=31]="NumericValue",e[e.HexColorValue=32]="HexColorValue",e[e.MixinDeclaration=33]="MixinDeclaration",e[e.MixinReference=34]="MixinReference",e[e.VariableName=35]="VariableName",e[e.VariableDeclaration=36]="VariableDeclaration",e[e.Prio=37]="Prio",e[e.Interpolation=38]="Interpolation",e[e.NestedProperties=39]="NestedProperties",e[e.ExtendsReference=40]="ExtendsReference",e[e.SelectorPlaceholder=41]="SelectorPlaceholder",e[e.Debug=42]="Debug",e[e.If=43]="If",e[e.Else=44]="Else",e[e.For=45]="For",e[e.Each=46]="Each",e[e.While=47]="While",e[e.MixinContentReference=48]="MixinContentReference",e[e.MixinContentDeclaration=49]="MixinContentDeclaration",e[e.Media=50]="Media",e[e.Keyframe=51]="Keyframe",e[e.FontFace=52]="FontFace",e[e.Import=53]="Import",e[e.Namespace=54]="Namespace",e[e.Invocation=55]="Invocation",e[e.FunctionDeclaration=56]="FunctionDeclaration",e[e.ReturnStatement=57]="ReturnStatement",e[e.MediaQuery=58]="MediaQuery",e[e.FunctionParameter=59]="FunctionParameter",e[e.FunctionArgument=60]="FunctionArgument",e[e.KeyframeSelector=61]="KeyframeSelector",e[e.ViewPort=62]="ViewPort",e[e.Document=63]="Document",e[e.AtApplyRule=64]="AtApplyRule",e[e.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",e[e.CustomPropertySet=66]="CustomPropertySet",e[e.ListEntry=67]="ListEntry",e[e.Supports=68]="Supports",e[e.SupportsCondition=69]="SupportsCondition",e[e.NamespacePrefix=70]="NamespacePrefix",e[e.GridLine=71]="GridLine",e[e.Plugin=72]="Plugin",e[e.UnknownAtRule=73]="UnknownAtRule",e[e.Use=74]="Use",e[e.ModuleConfiguration=75]="ModuleConfiguration",e[e.Forward=76]="Forward",e[e.ForwardVisibility=77]="ForwardVisibility",e[e.Module=78]="Module"}(Z||(Z={})),function(e){e[e.Mixin=0]="Mixin",e[e.Rule=1]="Rule",e[e.Variable=2]="Variable",e[e.Function=3]="Function",e[e.Keyframe=4]="Keyframe",e[e.Unknown=5]="Unknown",e[e.Module=6]="Module",e[e.Forward=7]="Forward",e[e.ForwardVisibility=8]="ForwardVisibility"}(ee||(ee={}));var ie,oe=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||Z.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){n[t].accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var r=this.children;return r||(r=this.children=[]),-1!==t?r.splice(t,0,e):r.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.addChild(r)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if((t=this.children[n]).offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){for(var e=this.parent;e instanceof se;)e=e.parent;return e},e.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this;n&&!e.some((function(e){return n.type===e}));)n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),se=function(e){function t(t,n){void 0===n&&(n=-1);var r=e.call(this,-1,-1)||this;return r.attachTo(t,n),r.offset=-1,r.length=-1,r}return te(t,e),t}(oe),ae=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.isCustomProperty=!1,r}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(oe),le=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Stylesheet},enumerable:!0,configurable:!0}),t}(oe),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Declarations},enumerable:!0,configurable:!0}),t}(oe),de=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(oe),he=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(Z.Declarations)},t}(de),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Selector},enumerable:!0,configurable:!0}),t}(oe),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.SimpleSelector},enumerable:!0,configurable:!0}),t}(oe),me=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(oe),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t}(oe),ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(fe),be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.CustomPropertySet},enumerable:!0,configurable:!0}),t}(de),ye=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.property=null,r}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof ce&&this.parent.getParent()instanceof Ne){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(fe),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return e=this.getText(),(t=/[_\+]+$/.exec(e))&&t[0].length?e.substr(0,e.length-t[0].length):e;var e,t},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(oe),we=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(oe)),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(oe),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(oe),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(de),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(de),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new se(this)),this.variables},t}(de),_e=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.While},enumerable:!0,configurable:!0}),t}(de),Fe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Else},enumerable:!0,configurable:!0}),t}(de),De=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ViewPort},enumerable:!0,configurable:!0}),t}(de),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FontFace},enumerable:!0,configurable:!0}),t}(de),Ne=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.NestedProperties},enumerable:!0,configurable:!0}),t}(de),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(de),Ae=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.KeyframeSelector},enumerable:!0,configurable:!0}),t}(de),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(oe),Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(oe),Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),Le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),We=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Namespace},enumerable:!0,configurable:!0}),t}(oe),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Media},enumerable:!0,configurable:!0}),t}(de),je=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Supports},enumerable:!0,configurable:!0}),t}(de),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Document},enumerable:!0,configurable:!0}),t}(de),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new se(this)),this.mediums},t}(oe),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MediaQuery},enumerable:!0,configurable:!0}),t}(oe),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.SupportsCondition},enumerable:!0,configurable:!0}),t}(oe),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Page},enumerable:!0,configurable:!0}),t}(de),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(de),He=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Expression},enumerable:!0,configurable:!0}),t}(oe),Ye=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(oe),Je=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(oe),Xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(oe),Qe=(function(e){function t(t,n){return e.call(this,t,n)||this}te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Operator},enumerable:!0,configurable:!0})}(oe),function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.HexColorValue},enumerable:!0,configurable:!0}),t}(oe)),Ze=".".charCodeAt(0),et="0".charCodeAt(0),tt="9".charCodeAt(0),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,r=0,i=t.length;r<i&&(e=t.charCodeAt(r),et<=e&&e<=tt||e===Ze);r++)n+=1;return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(oe),rt=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.variable=null,r.value=null,r.needsSemicolon=!0,r}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(fe),it=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Interpolation},enumerable:!0,configurable:!0}),t}(oe),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(oe),st=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t}(oe),at=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(oe),lt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),ct=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new se(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(oe),dt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(de),ht=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(de),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(oe),ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new se(this)),this.conditions},t}(oe),mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(oe),ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe);!function(e){e[e.Ignore=1]="Ignore",e[e.Warning=2]="Warning",e[e.Error=4]="Error"}(ie||(ie={}));var gt=function(){function e(e,t,n,r,i,o){void 0===i&&(i=e.offset),void 0===o&&(o=e.length),this.node=e,this.rule=t,this.level=n,this.message=r||t.message,this.offset=i,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),bt=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function yt(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return void 0!==t[r]?t[r]:e}))}function vt(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return yt(t,n)}function wt(e){return vt}var xt=wt(),St=function(e,t){this.id=e,this.message=t},Ct={NumberExpected:new St("css-numberexpected",xt("expected.number","number expected")),ConditionExpected:new St("css-conditionexpected",xt("expected.condt","condition expected")),RuleOrSelectorExpected:new St("css-ruleorselectorexpected",xt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new St("css-dotexpected",xt("expected.dot","dot expected")),ColonExpected:new St("css-colonexpected",xt("expected.colon","colon expected")),SemiColonExpected:new St("css-semicolonexpected",xt("expected.semicolon","semi-colon expected")),TermExpected:new St("css-termexpected",xt("expected.term","term expected")),ExpressionExpected:new St("css-expressionexpected",xt("expected.expression","expression expected")),OperatorExpected:new St("css-operatorexpected",xt("expected.operator","operator expected")),IdentifierExpected:new St("css-identifierexpected",xt("expected.ident","identifier expected")),PercentageExpected:new St("css-percentageexpected",xt("expected.percentage","percentage expected")),URIOrStringExpected:new St("css-uriorstringexpected",xt("expected.uriorstring","uri or string expected")),URIExpected:new St("css-uriexpected",xt("expected.uri","URI expected")),VariableNameExpected:new St("css-varnameexpected",xt("expected.varname","variable name expected")),VariableValueExpected:new St("css-varvalueexpected",xt("expected.varvalue","variable value expected")),PropertyValueExpected:new St("css-propertyvalueexpected",xt("expected.propvalue","property value expected")),LeftCurlyExpected:new St("css-lcurlyexpected",xt("expected.lcurly","{ expected")),RightCurlyExpected:new St("css-rcurlyexpected",xt("expected.rcurly","} expected")),LeftSquareBracketExpected:new St("css-rbracketexpected",xt("expected.lsquare","[ expected")),RightSquareBracketExpected:new St("css-lbracketexpected",xt("expected.rsquare","] expected")),LeftParenthesisExpected:new St("css-lparentexpected",xt("expected.lparen","( expected")),RightParenthesisExpected:new St("css-rparentexpected",xt("expected.rparent",") expected")),CommaExpected:new St("css-commaexpected",xt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new St("css-pagedirordeclexpected",xt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new St("css-unknownatrule",xt("unknown.atrule","at-rule unknown")),UnknownKeyword:new St("css-unknownkeyword",xt("unknown.keyword","unknown keyword")),SelectorExpected:new St("css-selectorexpected",xt("expected.selector","selector expected")),StringLiteralExpected:new St("css-stringliteralexpected",xt("expected.stringliteral","string literal expected")),WhitespaceExpected:new St("css-whitespaceexpected",xt("expected.whitespace","whitespace expected")),MediaQueryExpected:new St("css-mediaqueryexpected",xt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new St("css-idorwildcardexpected",xt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new St("css-wildcardexpected",xt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new St("css-idorvarexpected",xt("expected.idorvar","identifier or variable expected"))},kt={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function Et(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function _t(e,t){var n;if(""!==(n=t?{kind:"markdown",value:Tt(e)}:{kind:"plaintext",value:Dt(e)}).value)return n}function Ft(e){return(e=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(/</g,"<").replace(/>/g,">")}function Dt(e){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;var t="";e.status&&(t+=Et(e.status)),t+=e.description;var n=Rt(e.browsers);return n&&(t+="\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return e.name+": "+e.url})).join(" | ")),t}function Tt(e){if(!e.description||""===e.description)return"";var t="";e.status&&(t+=Et(e.status)),t+=Ft("string"==typeof e.description?e.description:e.description.value);var n=Rt(e.browsers);return n&&(t+="\n\n("+Ft(n)+")"),"syntax"in e&&e.syntax&&(t+="\n\nSyntax: "+Ft(e.syntax)),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | ")),t}function Rt(e){return void 0===e&&(e=[]),0===e.length?null:e.map((function(e){var t="",n=e.match(/([A-Z]+)(\d+)?/),r=n[1],i=n[2];return r in kt&&(t+=kt[r]),i&&(t+=" "+i),t})).join(", ")}var Nt=wt(),zt=[{func:"rgb($red, $green, $blue)",desc:Nt("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Nt("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Nt("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Nt("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],At={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},It={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Mt(e,t){var n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);var r=parseFloat(n[1])/t;if(r>=0&&r<=1)return r}throw new Error}function Pt(e){var t=e.getName();return!!t&&/^(rgb|rgba|hsl|hsla)$/gi.test(t)}function Ot(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Lt(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ot(e.charCodeAt(1))/255,green:17*Ot(e.charCodeAt(2))/255,blue:17*Ot(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ot(e.charCodeAt(1))/255,green:17*Ot(e.charCodeAt(2))/255,blue:17*Ot(e.charCodeAt(3))/255,alpha:17*Ot(e.charCodeAt(4))/255};case 7:return{red:(16*Ot(e.charCodeAt(1))+Ot(e.charCodeAt(2)))/255,green:(16*Ot(e.charCodeAt(3))+Ot(e.charCodeAt(4)))/255,blue:(16*Ot(e.charCodeAt(5))+Ot(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ot(e.charCodeAt(1))+Ot(e.charCodeAt(2)))/255,green:(16*Ot(e.charCodeAt(3))+Ot(e.charCodeAt(4)))/255,blue:(16*Ot(e.charCodeAt(5))+Ot(e.charCodeAt(6)))/255,alpha:(16*Ot(e.charCodeAt(7))+Ot(e.charCodeAt(8)))/255}}return null}function Wt(e){if(e.type===Z.HexColorValue)return Lt(e.getText());if(e.type===Z.Function){var t=e,n=t.getName(),r=t.getArguments().getChildren();if(!n||r.length<3||r.length>4)return null;try{var i=4===r.length?Mt(r[3],1):1;if("rgb"===n||"rgba"===n)return{red:Mt(r[0],255),green:Mt(r[1],255),blue:Mt(r[2],255),alpha:i};if("hsl"===n||"hsla"===n)return function(e,t,n,r){if(void 0===r&&(r=1),0===t)return{red:n,green:n,blue:n,alpha:r};var i=function(e,t,n){for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return{red:i(s,o,(e/=60)+2),green:i(s,o,e),blue:i(s,o,e-2),alpha:r}}(function(e){var t=e.getText();if(t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(t)%360;throw new Error}(r[0]),Mt(r[1],100),Mt(r[2],100),i)}catch(e){return null}}else if(e.type===Z.Identifier){if(e.parent&&e.parent.type!==Z.Term)return null;var o=e.parent;if(o&&o.parent&&o.parent.type===Z.BinaryExpression){var s=o.parent;if(s.parent&&s.parent.type===Z.ListEntry&&s.parent.key===s)return null}var a=e.getText().toLowerCase();if("none"===a)return null;var l=At[a];if(l)return Lt(l)}return null}var Ut={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},jt={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},Vt={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Bt=["medium","thick","thin"],Kt={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},qt={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},$t={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Gt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Ht={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Yt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Jt={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Xt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Qt=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],Zt=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function en(e){return Object.keys(e).map((function(t){return e[t]}))}function tn(e){return void 0!==e}var nn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r},rn=function(){function e(e){void 0===e&&(e=new H),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=e,this.token={type:r.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return e.prototype.peekIdent=function(e){return r.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(e){return r.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekDelim=function(e){return r.Delim===this.token.type&&e===this.token.text},e.prototype.peek=function(e){return e===this.token.type},e.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},e.prototype.try=function(e){var t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)},e.prototype.acceptOneKeyword=function(e){if(r.AtKeyword===this.token.type)for(var t=0,n=e;t<n.length;t++){var i=n[t];if(i.length===this.token.text.length&&i===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(e){return e===this.token.type&&(this.consumeToken(),!0)},e.prototype.acceptIdent=function(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)},e.prototype.acceptKeyword=function(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)},e.prototype.acceptDelim=function(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)},e.prototype.acceptRegexp=function(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)},e.prototype._parseRegexp=function(e){var t=this.createNode(Z.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)},e.prototype.acceptUnquotedString=function(){var e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)},e.prototype.resync=function(e,t){for(;;){if(e&&-1!==e.indexOf(this.token.type))return this.consumeToken(),!0;if(t&&-1!==t.indexOf(this.token.type))return!0;if(this.token.type===r.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(e){return new oe(this.token.offset,this.token.len,e)},e.prototype.create=function(e){return new e(this.token.offset,this.token.len)},e.prototype.finish=function(e,t,n,r){if(!(e instanceof se)&&(t&&this.markError(e,t,n,r),this.prevToken)){var i=this.prevToken.offset+this.prevToken.len;e.length=i>e.offset?i-e.offset:0}return e},e.prototype.markError=function(e,t,n,r){this.token!==this.lastErrorToken&&(e.addIssue(new gt(e,t,ie.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||r)&&this.resync(n,r)},e.prototype.parseStylesheet=function(e){var t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,(function(r,i){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(r,i)}))},e.prototype.internalParse=function(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();var r=t.bind(this)();return r&&(r.textProvider=n||function(t,n){return e.substr(t,n)}),r},e.prototype._parseStylesheet=function(){for(var e=this.create(le);e.addChild(this._parseStylesheetStart()););var t=!1;do{var n=!1;do{n=!1;var i=this._parseStylesheetStatement();for(i&&(e.addChild(i),n=!0,t=!1,this.peek(r.EOF)||!this._needsSemicolonAfter(i)||this.accept(r.SemiColon)||this.markError(e,Ct.SemiColonExpected));this.accept(r.SemiColon)||this.accept(r.CDO)||this.accept(r.CDC);)n=!0,t=!1}while(n);if(this.peek(r.EOF))break;t||(this.peek(r.AtKeyword)?this.markError(e,Ct.UnknownAtRule):this.markError(e,Ct.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(r.EOF));return this.finish(e)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(e){return void 0===e&&(e=!1),this.peek(r.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},e.prototype._parseStylesheetAtStatement=function(e){return void 0===e&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(r.Comma)&&this._parseSelector(e););if(this.accept(r.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},e.prototype._parseRuleset=function(e){void 0===e&&(e=!1);var t=this.create(he),n=t.getSelectors();if(!n.addChild(this._parseSelector(e)))return null;for(;this.accept(r.Comma);)if(!n.addChild(this._parseSelector(e)))return this.finish(t,Ct.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseAtApply()||this._parseUnknownAtRule()},e.prototype._parseRuleSetDeclaration=function(){return this.peek(r.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()},e.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var e=this.create(me);return this.consumeToken(),e.setIdentifier(this._parseIdent([ee.Variable]))?this.finish(e):this.finish(e,Ct.IdentifierExpected)},e.prototype._needsSemicolonAfter=function(e){switch(e.type){case Z.Keyframe:case Z.ViewPort:case Z.Media:case Z.Ruleset:case Z.Namespace:case Z.If:case Z.For:case Z.Each:case Z.While:case Z.MixinDeclaration:case Z.FunctionDeclaration:case Z.MixinContentDeclaration:return!1;case Z.ExtendsReference:case Z.MixinContentReference:case Z.ReturnStatement:case Z.MediaQuery:case Z.Debug:case Z.Import:case Z.AtApplyRule:case Z.CustomPropertyDeclaration:return!0;case Z.VariableDeclaration:return e.needsSemicolon;case Z.MixinReference:return!e.getContent();case Z.Declaration:return!e.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(e){var t=this.create(ce);if(!this.accept(r.CurlyL))return null;for(var n=e();t.addChild(n)&&!this.peek(r.CurlyR);){if(this._needsSemicolonAfter(n)&&!this.accept(r.SemiColon))return this.finish(t,Ct.SemiColonExpected,[r.SemiColon,r.CurlyR]);for(n&&this.prevToken&&this.prevToken.type===r.SemiColon&&(n.semicolonPosition=this.prevToken.offset);this.accept(r.SemiColon););n=e()}return this.accept(r.CurlyR)?this.finish(t):this.finish(t,Ct.RightCurlyExpected,[r.CurlyR,r.SemiColon])},e.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,Ct.LeftCurlyExpected,[r.CurlyR,r.SemiColon])},e.prototype._parseSelector=function(e){var t=this.create(pe),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null},e.prototype._parseDeclaration=function(e){var t=this.create(ye);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(r.Colon)){var n=e?nn(e,[r.SemiColon]):[r.SemiColon];return this.finish(t,Ct.ColonExpected,[r.Colon],n)}return this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseExpr())?(t.addChild(this._parsePrio()),this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):this.finish(t,Ct.PropertyValueExpected)},e.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(r.Ident,/^--/))return null;var e=this.create(ge);if(!e.setProperty(this._parseProperty()))return null;if(!this.accept(r.Colon))return this.finish(e,Ct.ColonExpected,[r.Colon]);this.prevToken&&(e.colonPosition=this.prevToken.offset);var t=this.mark();if(this.peek(r.CurlyL)){var n=this.create(be),i=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(n.setDeclarations(i)&&!i.isErroneous(!0)&&(n.addChild(this._parsePrio()),this.peek(r.SemiColon)))return this.finish(n),e.setPropertySet(n),e.semicolonPosition=this.token.offset,this.finish(e);this.restoreAtMark(t)}var o=this._parseExpr();return o&&!o.isErroneous(!0)&&(this._parsePrio(),this.peek(r.SemiColon))?(e.setValue(o),e.semicolonPosition=this.token.offset,this.finish(e)):(this.restoreAtMark(t),e.addChild(this._parseCustomPropertyValue()),e.addChild(this._parsePrio()),tn(e.colonPosition)&&this.token.offset===e.colonPosition+1?this.finish(e,Ct.PropertyValueExpected):this.finish(e))},e.prototype._parseCustomPropertyValue=function(){var e=this.create(oe),t=function(){return 0===n&&0===i&&0===o},n=0,i=0,o=0;e:for(;;){switch(this.token.type){case r.SemiColon:case r.Exclamation:if(t())break e;break;case r.CurlyL:n++;break;case r.CurlyR:if(--n<0){if(0===i&&0===o)break e;return this.finish(e,Ct.LeftCurlyExpected)}break;case r.ParenthesisL:i++;break;case r.ParenthesisR:if(--i<0)return this.finish(e,Ct.LeftParenthesisExpected);break;case r.BracketL:o++;break;case r.BracketR:if(--o<0)return this.finish(e,Ct.LeftSquareBracketExpected);break;case r.BadString:break e;case r.EOF:var s=Ct.RightCurlyExpected;return o>0?s=Ct.RightSquareBracketExpected:i>0&&(s=Ct.RightParenthesisExpected),this.finish(e,s)}this.consumeToken()}return this.finish(e)},e.prototype._tryToParseDeclaration=function(){var e=this.mark();return this._parseProperty()&&this.accept(r.Colon)?(this.restoreAtMark(e),this._parseDeclaration()):(this.restoreAtMark(e),null)},e.prototype._parseProperty=function(){var e=this.create(ve),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(r.Charset))return null;var e=this.create(oe);return this.consumeToken(),this.accept(r.String)?this.accept(r.SemiColon)?this.finish(e):this.finish(e,Ct.SemiColonExpected):this.finish(e,Ct.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Ie);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(r.SemiColon)||this.peek(r.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,Ct.URIOrStringExpected)},e.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(We);return this.consumeToken(),e.addChild(this._parseURILiteral())||(e.addChild(this._parseIdent()),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral()))?this.accept(r.SemiColon)?this.finish(e):this.finish(e,Ct.SemiColonExpected):this.finish(e,Ct.URIExpected,[r.SemiColon])},e.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(Re);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(Te);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(r.AtKeyword,this.keyframeRegex))return null;var e=this.create(ze),t=this.create(oe);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,Ct.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,Ct.IdentifierExpected,[r.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])},e.prototype._parseKeyframeSelector=function(){var e=this.create(Ae);if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return null;for(;this.accept(r.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return this.finish(e,Ct.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var e=this.create(Ae),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return null;for(;this.accept(r.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return this.restoreAtMark(t),null;return this.peek(r.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},e.prototype._parseSupports=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(je);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},e.prototype._parseSupportsDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var e=this.create(qe);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(r.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},e.prototype._parseSupportsConditionInParens=function(){var e=this.create(qe);if(this.accept(r.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),e.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(r.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,Ct.RightParenthesisExpected,[r.ParenthesisR],[]):this.finish(e,Ct.ConditionExpected);if(this.peek(r.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(r.ParenthesisL)){for(var n=1;this.token.type!==r.EOF&&0!==n;)this.token.type===r.ParenthesisL?n++:this.token.type===r.ParenthesisR&&n--,this.consumeToken();return this.finish(e)}this.restoreAtMark(t)}return this.finish(e,Ct.LeftParenthesisExpected,[],[r.ParenthesisL])},e.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(Ue);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,Ct.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var e=this.create(Be);if(!e.addChild(this._parseMediaQuery([r.CurlyL])))return this.finish(e,Ct.MediaQueryExpected);for(;this.accept(r.Comma);)if(!e.addChild(this._parseMediaQuery([r.CurlyL])))return this.finish(e,Ct.MediaQueryExpected);return this.finish(e)},e.prototype._parseMediaQuery=function(e){var t=this.create(Ke),n=!0,i=!1;if(!this.peek(r.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!t.addChild(this._parseIdent()))return null;i=!0,n=this.acceptIdent("and")}for(;n;)if(t.addChild(this._parseMediaContentStart()))n=this.acceptIdent("and");else{if(!this.accept(r.ParenthesisL))return i?this.finish(t,Ct.LeftParenthesisExpected,[],e):null;if(!t.addChild(this._parseMediaFeatureName()))return this.finish(t,Ct.IdentifierExpected,[],e);if(this.accept(r.Colon)&&!t.addChild(this._parseExpr()))return this.finish(t,Ct.TermExpected,[],e);if(!this.accept(r.ParenthesisR))return this.finish(t,Ct.RightParenthesisExpected,[],e);n=this.acceptIdent("and")}return this.finish(t)},e.prototype._parseMediaContentStart=function(){return null},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMedium=function(){var e=this.create(oe);return e.addChild(this._parseIdent())?this.finish(e):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create($e);if(this.consumeToken(),e.addChild(this._parsePageSelector()))for(;this.accept(r.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,Ct.IdentifierExpected);return this._parseBody(e,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(r.AtKeyword))return null;var e=this.create(Ge);return this.acceptOneKeyword(Zt)||this.markError(e,Ct.UnknownAtRule,[],[r.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(r.Ident)&&!this.peek(r.Colon))return null;var e=this.create(oe);return e.addChild(this._parseIdent()),this.accept(r.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,Ct.IdentifierExpected):this.finish(e)},e.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(Ve);return this.consumeToken(),this.resync([],[r.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(r.AtKeyword))return null;var e=this.create(ht);e.addChild(this._parseUnknownAtRuleName());var t=0,n=0,i=0,o=0;e:for(;;){switch(this.token.type){case r.SemiColon:if(0===n&&0===i&&0===o)break e;break;case r.EOF:return n>0?this.finish(e,Ct.RightCurlyExpected):o>0?this.finish(e,Ct.RightSquareBracketExpected):i>0?this.finish(e,Ct.RightParenthesisExpected):this.finish(e);case r.CurlyL:t++,n++;break;case r.CurlyR:if(n--,t>0&&0===n){if(this.consumeToken(),o>0)return this.finish(e,Ct.RightSquareBracketExpected);if(i>0)return this.finish(e,Ct.RightParenthesisExpected);break e}if(n<0){if(0===i&&0===o)break e;return this.finish(e,Ct.LeftCurlyExpected)}break;case r.ParenthesisL:i++;break;case r.ParenthesisR:if(--i<0)return this.finish(e,Ct.LeftParenthesisExpected);break;case r.BracketL:o++;break;case r.BracketR:if(--o<0)return this.finish(e,Ct.LeftSquareBracketExpected)}this.consumeToken()}return e},e.prototype._parseUnknownAtRuleName=function(){var e=this.create(oe);return this.accept(r.AtKeyword)?this.finish(e):e},e.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(r.Dashmatch)||this.peek(r.Includes)||this.peek(r.SubstringOperator)||this.peek(r.PrefixOperator)||this.peek(r.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(Z.Operator);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(oe);return this.consumeToken(),this.finish(e)},e.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(oe);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=Z.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=Z.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){e=this.create(oe);return this.consumeToken(),e.type=Z.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){e=this.create(oe);return this.consumeToken(),e.type=Z.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){e=this.create(oe);this.consumeToken();t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=Z.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},e.prototype._parseSimpleSelector=function(){var e=this.create(ue),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(r.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(Z.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,Ct.IdentifierExpected)}else this.consumeToken();return this.finish(e)},e.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(Z.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,Ct.IdentifierExpected):this.finish(e)},e.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(Z.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(Z.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseAttrib=function(){if(!this.peek(r.BracketL))return null;var e=this.create(Xe);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(r.BracketR)?this.finish(e):this.finish(e,Ct.RightSquareBracketExpected)):this.finish(e,Ct.IdentifierExpected)},e.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(r.ParenthesisL)){if(t.addChild(this.try((function(){var t=e.create(oe);if(!t.addChild(e._parseSelector(!1)))return null;for(;e.accept(r.Comma)&&t.addChild(e._parseSelector(!1)););return e.peek(r.ParenthesisR)?e.finish(t):null}))||this._parseBinaryExpr()),!this.accept(r.ParenthesisR))return this.finish(t,Ct.RightParenthesisExpected)}return this.finish(t)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(r.Colon))return null;var e=this.mark(),t=this.createNode(Z.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(r.Colon)&&this.hasWhitespace()&&this.markError(t,Ct.IdentifierExpected),t.addChild(this._parseIdent())||this.markError(t,Ct.IdentifierExpected),t)},e.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},e.prototype._parsePrio=function(){if(!this.peek(r.Exclamation))return null;var e=this.createNode(Z.Prio);return this.accept(r.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},e.prototype._parseExpr=function(e){void 0===e&&(e=!1);var t=this.create(He);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(r.Comma)){if(e)return this.finish(t);this.consumeToken()}if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},e.prototype._parseNamedLine=function(){if(!this.peek(r.BracketL))return null;var e=this.createNode(Z.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(r.BracketR)?this.finish(e):this.finish(e,Ct.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(e,t){var n=this.create(Ye);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,Ct.TermExpected);n=this.finish(n);var r=this._parseOperator();return r&&(n=this._parseBinaryExpr(n,r)),this.finish(n)},e.prototype._parseTerm=function(){var e=this.create(Je);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseTermExpression())?this.finish(e):null},e.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},e.prototype._parseOperation=function(){if(!this.peek(r.ParenthesisL))return null;var e=this.create(oe);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(r.Num)||this.peek(r.Percentage)||this.peek(r.Resolution)||this.peek(r.Length)||this.peek(r.EMS)||this.peek(r.EXS)||this.peek(r.Angle)||this.peek(r.Time)||this.peek(r.Dimension)||this.peek(r.Freq)){var e=this.create(nt);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(r.String)&&!this.peek(r.BadString))return null;var e=this.createNode(Z.StringLiteral);return this.consumeToken(),this.finish(e)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(r.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(Z.URILiteral);return this.accept(r.Ident),this.hasWhitespace()||!this.peek(r.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var e=this.create(oe);return this.accept(r.String)||this.accept(r.BadString)||this.acceptUnquotedString()?this.finish(e):null},e.prototype._parseIdent=function(e){if(!this.peek(r.Ident))return null;var t=this.create(ae);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(r.Ident,/^--/),this.consumeToken(),this.finish(t)},e.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,Ct.ExpressionExpected);return this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(r.Ident))return null;var e=this.create(ae);if(e.referenceTypes=[ee.Function],this.acceptIdent("progid")){if(this.accept(r.Colon))for(;this.accept(r.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},e.prototype._parseFunctionArgument=function(){var e=this.create(Se);return e.setValue(this._parseExpr(!0))?this.finish(e):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(r.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(Qe);return this.consumeToken(),this.finish(e)}return null},e}();function on(e,t){return-1!==e.indexOf(t)}function sn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++)for(var o=i[r],s=0,a=o;s<a.length;s++){var l=a[s];on(n,l)||n.push(l)}return n}var an,ln,cn,dn,hn,pn,un,mn,fn,gn,bn,yn,vn,wn,xn,Sn,Cn,kn,En,_n,Fn,Dn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tn=function(){function e(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(e){this.children.push(e),e.setParent(this)},e.prototype.setParent=function(e){this.parent=e},e.prototype.findScope=function(e,t){return void 0===t&&(t=0),this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},e.prototype.findInScope=function(e,t){void 0===t&&(t=0);var n=e+t,r=function(e,t){var n=0,r=e.length;if(0===r)return 0;for(;n<r;){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}(this.children,(function(e){return e.offset>n}));if(0===r)return this;var i=this.children[r-1];return i.offset<=e&&i.offset+i.length>=e+t?i.findInScope(e,t):this},e.prototype.addSymbol=function(e){this.symbols.push(e)},e.prototype.getSymbol=function(e,t){for(var n=0;n<this.symbols.length;n++){var r=this.symbols[n];if(r.name===e&&r.type===t)return r}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),Rn=function(e){function t(){return e.call(this,0,Number.MAX_VALUE)||this}return Dn(t,e),t}(Tn),Nn=function(e,t,n,r){this.name=e,this.value=t,this.node=n,this.type=r},zn=function(){function e(e){this.scope=e}return e.prototype.addSymbol=function(e,t,n,r){if(-1!==e.offset){var i=this.scope.findScope(e.offset,e.length);i&&i.addSymbol(new Nn(t,n,e,r))}},e.prototype.addScope=function(e){if(-1!==e.offset){var t=this.scope.findScope(e.offset,e.length);if(t&&(t.offset!==e.offset||t.length!==e.length)){var n=new Tn(e.offset,e.length);return t.addChild(n),n}return t}return null},e.prototype.addSymbolToChildScope=function(e,t,n,r,i){if(e&&-1!==e.offset){var o=this.addScope(e);o&&o.addSymbol(new Nn(n,r,t,i))}},e.prototype.visitNode=function(e){switch(e.type){case Z.Keyframe:return this.addSymbol(e,e.getName(),void 0,ee.Keyframe),!0;case Z.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(e);case Z.VariableDeclaration:return this.visitVariableDeclarationNode(e);case Z.Ruleset:return this.visitRuleSet(e);case Z.MixinDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Mixin),!0;case Z.FunctionDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Function),!0;case Z.FunctionParameter:return this.visitFunctionParameterNode(e);case Z.Declarations:return this.addScope(e),!0;case Z.For:var t=e,n=t.getDeclarations();return n&&t.variable&&this.addSymbolToChildScope(n,t.variable,t.variable.getName(),void 0,ee.Variable),!0;case Z.Each:var r=e,i=r.getDeclarations();if(i)for(var o=0,s=r.getVariables().getChildren();o<s.length;o++){var a=s[o];this.addSymbolToChildScope(i,a,a.getName(),void 0,ee.Variable)}return!0}return!0},e.prototype.visitRuleSet=function(e){var t=this.scope.findScope(e.offset,e.length);if(t)for(var n=0,r=e.getSelectors().getChildren();n<r.length;n++){var i=r[n];i instanceof pe&&1===i.getChildren().length&&t.addSymbol(new Nn(i.getChild(0).getText(),void 0,i,ee.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():void 0;return this.addSymbol(e,e.getName(),t,ee.Variable),!0},e.prototype.visitFunctionParameterNode=function(e){var t=e.getParent().getDeclarations();if(t){var n=e.getDefaultValue(),r=n?n.getText():void 0;this.addSymbolToChildScope(t,e,e.getName(),r,ee.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():"";return this.addCSSVariable(e.getProperty(),e.getProperty().getName(),t,ee.Variable),!0},e.prototype.addCSSVariable=function(e,t,n,r){-1!==e.offset&&this.scope.addSymbol(new Nn(t,n,e,r))},e}(),An=function(){function e(e){this.global=new Rn,e.acceptVisitor(new zn(this.global))}return e.prototype.findSymbolsAtOffset=function(e,t){for(var n=this.global.findScope(e,0),r=[],i={};n;){for(var o=n.getSymbols(),s=0;s<o.length;s++){var a=o[s];a.type!==t||i[a.name]||(r.push(a),i[a.name]=!0)}n=n.parent}return r},e.prototype.internalFindSymbol=function(e,t){var n=e;if(e.parent instanceof xe&&e.parent.getParent()instanceof de&&(n=e.parent.getParent().getDeclarations()),e.parent instanceof Se&&e.parent.getParent()instanceof we){var r=e.parent.getParent().getIdentifier();if(r){var i=this.internalFindSymbol(r,[ee.Function]);i&&(n=i.node.getDeclarations())}}if(!n)return null;for(var o=e.getText(),s=this.global.findScope(n.offset,n.length);s;){for(var a=0;a<t.length;a++){var l=t[a],c=s.getSymbol(o,l);if(c)return c}s=s.parent}return null},e.prototype.evaluateReferenceTypes=function(e){if(e instanceof ae){var t=e.referenceTypes;if(t)return t;if(e.isCustomProperty)return[ee.Variable];var n=function(e){var t=e.findParent(Z.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(e);if(n){var r=n.getNonPrefixedPropertyName();if(("animation"===r||"animation-name"===r)&&n.getValue()&&n.getValue().offset===e.offset)return[ee.Keyframe]}}else if(e instanceof ot)return[ee.Variable];return e.findAParent(Z.Selector,Z.ExtendsReference)?[ee.Rule]:null},e.prototype.findSymbolFromNode=function(e){if(!e)return null;for(;e.type===Z.Interpolation;)e=e.getParent();var t=this.evaluateReferenceTypes(e);return t?this.internalFindSymbol(e,t):null},e.prototype.matchesSymbol=function(e,t){if(!e)return!1;for(;e.type===Z.Interpolation;)e=e.getParent();if(!e.matches(t.name))return!1;var n=this.evaluateReferenceTypes(e);return!(!n||-1===n.indexOf(t.type))&&this.internalFindSymbol(e,n)===t},e.prototype.findSymbol=function(e,t,n){for(var r=this.global.findScope(n);r;){var i=r.getSymbol(e,t);if(i)return i;r=r.parent}return null},e}();!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return dr.objectLiteral(t)&&dr.number(t.line)&&dr.number(t.character)}}(an||(an={})),function(e){e.create=function(e,t,n,r){if(dr.number(e)&&dr.number(t)&&dr.number(n)&&dr.number(r))return{start:an.create(e,t),end:an.create(n,r)};if(an.is(e)&&an.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return dr.objectLiteral(t)&&an.is(t.start)&&an.is(t.end)}}(ln||(ln={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&(dr.string(t.uri)||dr.undefined(t.uri))}}(cn||(cn={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.targetRange)&&dr.string(t.targetUri)&&(ln.is(t.targetSelectionRange)||dr.undefined(t.targetSelectionRange))&&(ln.is(t.originSelectionRange)||dr.undefined(t.originSelectionRange))}}(dn||(dn={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return dr.number(t.red)&&dr.number(t.green)&&dr.number(t.blue)&&dr.number(t.alpha)}}(hn||(hn={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return ln.is(t.range)&&hn.is(t.color)}}(pn||(pn={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return dr.string(t.label)&&(dr.undefined(t.textEdit)||Sn.is(t))&&(dr.undefined(t.additionalTextEdits)||dr.typedArray(t.additionalTextEdits,Sn.is))}}(un||(un={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(mn||(mn={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return dr.defined(n)&&(o.startCharacter=n),dr.defined(r)&&(o.endCharacter=r),dr.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return dr.number(t.startLine)&&dr.number(t.startLine)&&(dr.undefined(t.startCharacter)||dr.number(t.startCharacter))&&(dr.undefined(t.endCharacter)||dr.number(t.endCharacter))&&(dr.undefined(t.kind)||dr.string(t.kind))}}(fn||(fn={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return dr.defined(t)&&cn.is(t.location)&&dr.string(t.message)}}(gn||(gn={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(bn||(bn={})),function(e){e.Unnecessary=1,e.Deprecated=2}(yn||(yn={})),function(e){e.is=function(e){var t=e;return null!=t&&(dr.number(t.value)||dr.string(t.value))&&dr.string(t.target)}}(vn||(vn={})),function(e){e.create=function(e,t,n,r,i,o){var s={range:e,message:t};return dr.defined(n)&&(s.severity=n),dr.defined(r)&&(s.code=r),dr.defined(i)&&(s.source=i),dr.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&dr.string(t.message)&&(dr.number(t.severity)||dr.undefined(t.severity))&&(dr.number(t.code)||dr.string(t.code)||dr.undefined(t.code))&&(dr.string(t.source)||dr.undefined(t.source))&&(dr.undefined(t.relatedInformation)||dr.typedArray(t.relatedInformation,gn.is))}}(wn||(wn={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return dr.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.title)&&dr.string(t.command)}}(xn||(xn={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return dr.objectLiteral(t)&&dr.string(t.newText)&&ln.is(t.range)}}(Sn||(Sn={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return dr.defined(t)&&Mn.is(t.textDocument)&&Array.isArray(t.edits)}}(Cn||(Cn={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&dr.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||dr.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||dr.boolean(t.options.ignoreIfExists)))}}(kn||(kn={})),function(e){e.create=function(e,t,n){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&"rename"===t.kind&&dr.string(t.oldUri)&&dr.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||dr.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||dr.boolean(t.options.ignoreIfExists)))}}(En||(En={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&dr.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||dr.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||dr.boolean(t.options.ignoreIfNotExists)))}}(_n||(_n={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return dr.string(e.kind)?kn.is(e)||En.is(e)||_n.is(e):Cn.is(e)})))}}(Fn||(Fn={}));var In,Mn,Pn,On,Ln,Wn,Un,jn,Vn,Bn,Kn,qn,$n,Gn,Hn,Yn,Jn,Xn,Qn,Zn,er,tr,nr,rr,ir,or,sr,ar,lr=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(Sn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(Sn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(Sn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(Cn.is(e)){var n=new lr(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new lr(e.changes[n]);t._textEditChanges[n]=r})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Mn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new lr(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new lr(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kn.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(En.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(_n.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.uri)}}(In||(In={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.uri)&&(null===t.version||dr.number(t.version))}}(Mn||(Mn={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.uri)&&dr.string(t.languageId)&&dr.number(t.version)&&dr.string(t.text)}}(Pn||(Pn={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(On||(On={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(On||(On={})),function(e){e.is=function(e){var t=e;return dr.objectLiteral(e)&&On.is(t.kind)&&dr.string(t.value)}}(Ln||(Ln={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(Wn||(Wn={})),function(e){e.PlainText=1,e.Snippet=2}(Un||(Un={})),function(e){e.Deprecated=1}(jn||(jn={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&dr.string(t.newText)&&ln.is(t.insert)&&ln.is(t.replace)}}(Vn||(Vn={})),function(e){e.create=function(e){return{label:e}}}(Bn||(Bn={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Kn||(Kn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return dr.string(t)||dr.objectLiteral(t)&&dr.string(t.language)&&dr.string(t.value)}}(qn||(qn={})),function(e){e.is=function(e){var t=e;return!!t&&dr.objectLiteral(t)&&(Ln.is(t.contents)||qn.is(t.contents)||dr.typedArray(t.contents,qn.is))&&(void 0===e.range||ln.is(e.range))}}($n||($n={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(Gn||(Gn={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return dr.defined(t)&&(i.documentation=t),dr.defined(n)?i.parameters=n:i.parameters=[],i}}(Hn||(Hn={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Yn||(Yn={})),function(e){e.create=function(e,t){var n={range:e};return dr.number(t)&&(n.kind=t),n}}(Jn||(Jn={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Xn||(Xn={})),function(e){e.Deprecated=1}(Qn||(Qn={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(Zn||(Zn={})),function(e){e.create=function(e,t,n,r,i,o){var s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&dr.string(t.name)&&dr.number(t.kind)&&ln.is(t.range)&&ln.is(t.selectionRange)&&(void 0===t.detail||dr.string(t.detail))&&(void 0===t.deprecated||dr.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(er||(er={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(tr||(tr={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return dr.defined(t)&&dr.typedArray(t.diagnostics,wn.is)&&(void 0===t.only||dr.typedArray(t.only,dr.string))}}(nr||(nr={})),function(e){e.create=function(e,t,n){var r={title:e};return xn.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&dr.string(t.title)&&(void 0===t.diagnostics||dr.typedArray(t.diagnostics,wn.is))&&(void 0===t.kind||dr.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||xn.is(t.command))&&(void 0===t.isPreferred||dr.boolean(t.isPreferred))&&(void 0===t.edit||Fn.is(t.edit))}}(rr||(rr={})),function(e){e.create=function(e,t){var n={range:e};return dr.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&(dr.undefined(t.command)||xn.is(t.command))}}(ir||(ir={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return dr.defined(t)&&dr.number(t.tabSize)&&dr.boolean(t.insertSpaces)}}(or||(or={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&(dr.undefined(t.target)||dr.string(t.target))}}(sr||(sr={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&ln.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ar||(ar={}));var cr;!function(e){e.create=function(e,t,n,r){return new hr(e,t,n,r)},e.is=function(e){var t=e;return!!(dr.defined(t)&&dr.string(t.uri)&&(dr.undefined(t.languageId)||dr.string(t.languageId))&&dr.number(t.lineCount)&&dr.func(t.getText)&&dr.func(t.positionAt)&&dr.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,l=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[l++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[l++]=i[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var s=r[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),i=a}return n}}(cr||(cr={}));var dr,hr=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return an.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return an.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(dr||(dr={}));var pr,ur,mr,fr=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var r=0,i=t;r<i.length;r++){var o=i[r];if(e.isIncremental(o)){var s=br(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,p=gr(o.text,!1,a);if(d-c===p.length)for(var u=0,m=p.length;u<m;u++)h[u+c+1]=p[u];else p.length<1e4?h.splice.apply(h,[c+1,d-c].concat(p)):this._lineOffsets=h=h.slice(0,c+1).concat(p,h.slice(d+1));var f=o.text.length-(l-a);if(0!==f)for(u=c+1+p.length,m=h.length;u<m;u++)h[u]=h[u]+f}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=gr(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function gr(e,t,n){void 0===n&&(n=0);for(var r=t?[n]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function br(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function yr(e){var t=br(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,r){return new fr(e,t,n,r)},e.update=function(e,t,n){if(e instanceof fr)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),r=0,i=[],o=0,s=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,l=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[l++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[l++]=i[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(yr),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],l=e.offsetAt(a.range.start);if(l<r)throw new Error("Overlapping edit");l>r&&i.push(n.substring(r,l)),a.newText.length&&i.push(a.newText),r=e.offsetAt(a.range.end)}return i.push(n.substr(r)),i.join("")}}(pr||(pr={})),(ur||(ur={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[On.Markdown,On.PlainText]}},hover:{contentFormat:[On.Markdown,On.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(mr||(mr={}));var vr=n(144),wr="/".charCodeAt(0),xr=".".charCodeAt(0);function Sr(e){var t=e.lastIndexOf("/");return-1!==t?e.substr(0,t):""}function Cr(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];0===i.length||1===i.length&&i.charCodeAt(0)===xr||(2===i.length&&i.charCodeAt(0)===xr&&i.charCodeAt(1)===xr?t.pop():t.push(i))}e.length>1&&0===e[e.length-1].length&&t.push("");var o=t.join("/");return 0===e[0].length&&(o="/"+o),o}function kr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=vr.a.parse(e),i=r.path.split("/"),o=0,s=t;o<s.length;o++){var a=s[o];i.push.apply(i,a.split("/"))}return r.with({path:Cr(i)}).toString()}var Er=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},_r=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Fr=function(){function e(e){this.readDirectory=e,this.literalCompletions=[],this.importCompletions=[]}return e.prototype.onCssURILiteralValue=function(e){this.literalCompletions.push(e)},e.prototype.onCssImportPath=function(e){this.importCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return Er(this,void 0,void 0,(function(){var n,r,i,o,s,a,l,c,d,h,p,u,m,f,g,b,y;return _r(this,(function(v){switch(v.label){case 0:n={items:[],isIncomplete:!1},r=0,i=this.literalCompletions,v.label=1;case 1:return r<i.length?(o=i[r],s=o.uriValue,"."!==(m=Tr(s))&&".."!==m?[3,2]:(n.isIncomplete=!0,[3,4])):[3,5];case 2:return[4,this.providePathSuggestions(s,o.position,o.range,e,t)];case 3:for(a=v.sent(),l=0,c=a;l<c.length;l++)y=c[l],n.items.push(y);v.label=4;case 4:return r++,[3,1];case 5:d=0,h=this.importCompletions,v.label=6;case 6:return d<h.length?(p=h[d],u=p.pathValue,"."!==(m=Tr(u))&&".."!==m?[3,7]:(n.isIncomplete=!0,[3,9])):[3,10];case 7:return[4,this.providePathSuggestions(u,p.position,p.range,e,t)];case 8:for(f=v.sent(),"scss"===e.languageId&&f.forEach((function(e){Y(e.label,"_")&&J(e.label,".scss")&&(e.textEdit?e.textEdit.newText=e.label.slice(1,-5):e.label=e.label.slice(1,-5))})),g=0,b=f;g<b.length;g++)y=b[g],n.items.push(y);v.label=9;case 9:return d++,[3,6];case 10:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,r,i){return Er(this,void 0,void 0,(function(){var o,s,a,l,c,d,h,p,u,m,f,g,b,y,v;return _r(this,(function(w){switch(w.label){case 0:if(o=Tr(e),s=Y(e,"'")||Y(e,'"'),a=s?o.slice(0,t.character-(n.start.character+1)):o.slice(0,t.character-n.start.character),l=r.uri,c=s?function(e,t,n){var r=zr(e.start,t),i=zr(e.end,n);return ln.create(r,i)}(n,1,-1):n,d=function(e,t,n){var r,i=e.lastIndexOf("/");if(-1===i)r=n;else{var o=t.slice(i+1),s=zr(n.end,-o.length),a=o.indexOf(" "),l=void 0;l=-1!==a?zr(s,a):n.end,r=ln.create(s,l)}return r}(a,o,c),h=a.substring(0,a.lastIndexOf("/")+1),!(p=i.resolveReference(h||".",l)))return[3,4];w.label=1;case 1:return w.trys.push([1,3,,4]),u=[],[4,this.readDirectory(p)];case 2:for(m=w.sent(),f=0,g=m;f<g.length;f++)b=g[f],y=b[0],v=b[1],y.charCodeAt(0)===Dr||v!==mr.Directory&&kr(p,y)===l||u.push(Rr(y,v===mr.Directory,d));return[2,u];case 3:return w.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Dr=".".charCodeAt(0);function Tr(e){return Y(e,"'")||Y(e,'"')?e.slice(1,-1):e}function Rr(e,t,n){return t?{label:Nr(e+="/"),kind:Wn.Folder,textEdit:Sn.replace(n,Nr(e)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:Nr(e),kind:Wn.File,textEdit:Sn.replace(n,Nr(e))}}function Nr(e){return e.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function zr(e,t){return an.create(e.line,e.character+t)}var Ar,Ir=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},Mr=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Pr=wt(),Or=Un.Snippet;!function(e){e.Enums=" ",e.Normal="d",e.VendorPrefixed="x",e.Term="y",e.Variable="z"}(Ar||(Ar={}));var Lr=function(){function e(e,t,n){void 0===e&&(e=null),this.variablePrefix=e,this.lsOptions=t,this.cssDataManager=n,this.completionParticipants=[]}return e.prototype.configure=function(e){this.settings=e},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new An(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,r){return Ir(this,void 0,void 0,(function(){var i,o,s,a;return Mr(this,(function(l){switch(l.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n)];i=new Fr(this.lsOptions.fileSystemProvider.readDirectory),o=this.completionParticipants,this.completionParticipants=[i].concat(o),s=this.doComplete(e,t,n),l.label=1;case 1:return l.trys.push([1,,3,4]),[4,i.computeCompletions(e,r)];case 2:return a=l.sent(),[2,{isIncomplete:s.isIncomplete||a.isIncomplete,items:a.items.concat(s.items)}];case 3:return this.completionParticipants=o,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){var n=t-1,r=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n;try{var r={isIncomplete:!1,items:[]};this.nodePath=re(this.styleSheet,this.offset);for(var i=this.nodePath.length-1;i>=0;i--){var o=this.nodePath[i];if(o instanceof ve)this.getCompletionsForDeclarationProperty(o.getParent(),r);else if(o instanceof He)o.parent instanceof it?this.getVariableProposals(null,r):this.getCompletionsForExpression(o,r);else if(o instanceof ue){var s=o.findAParent(Z.ExtendsReference,Z.Ruleset);if(s)if(s.type===Z.ExtendsReference)this.getCompletionsForExtendsReference(s,o,r);else{var a=s;this.getCompletionsForSelector(a,a&&a.isNested(),r)}}else if(o instanceof Se)this.getCompletionsForFunctionArgument(o,o.getParent(),r);else if(o instanceof ce)this.getCompletionsForDeclarations(o,r);else if(o instanceof rt)this.getCompletionsForVariableDeclaration(o,r);else if(o instanceof he)this.getCompletionsForRuleSet(o,r);else if(o instanceof it)this.getCompletionsForInterpolation(o,r);else if(o instanceof De)this.getCompletionsForFunctionDeclaration(o,r);else if(o instanceof ct)this.getCompletionsForMixinReference(o,r);else if(o instanceof we)this.getCompletionsForFunctionArgument(null,o,r);else if(o instanceof je)this.getCompletionsForSupports(o,r);else if(o instanceof qe)this.getCompletionsForSupportsCondition(o,r);else if(o instanceof st)this.getCompletionsForExtendsReference(o,null,r);else if(o.type===Z.URILiteral)this.getCompletionForUriLiteralValue(o,r);else if(null===o.parent)this.getCompletionForTopLevel(r);else{if(o.type!==Z.StringLiteral||!this.isImportPathParent(o.parent.type))continue;this.getCompletionForImportPath(o,r)}if(r.items.length>0||this.offset>o.offset)return this.finalize(r)}return this.getCompletionsForStylesheet(r),0===r.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,r),this.finalize(r)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(e){return e===Z.Import},e.prototype.finalize=function(e){return e},e.prototype.findInNodePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this.nodePath.length-1;n>=0;n--){var r=this.nodePath[n];if(-1!==e.indexOf(r.type))return r}return null},e.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},e.prototype.getPropertyProposals=function(e,t){var n=this,r=this.isTriggerPropertyValueCompletionEnabled,i=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach((function(o){var s,a,l=!1;e?(s=n.getCompletionRange(e.getProperty()),a=o.name,tn(e.colonPosition)||(a+=": ",l=!0)):(s=n.getCompletionRange(null),a=o.name+": ",l=!0),!e&&i&&(a+="$0;"),e&&!e.semicolonPosition&&i&&n.offset>=n.textDocument.offsetAt(s.end)&&(a+="$0;");var c={label:o.name,documentation:_t(o,n.doesSupportMarkdown()),tags:Wr(o)?[jn.Deprecated]:[],textEdit:Sn.replace(s,a),insertTextFormat:Un.Snippet,kind:Wn.Property};o.restrictions||(l=!1),r&&l&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"});var d=(255-("number"==typeof o.relevance?Math.min(Math.max(o.relevance,0),99):50)).toString(16),h=Y(o.name,"-")?Ar.VendorPrefixed:Ar.Normal;c.sortText=h+"_"+d,t.items.push(c)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(e.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n=this,r=e.getFullPropertyName(),i=this.cssDataManager.getProperty(r),o=e.getValue()||null;o&&o.hasChildren();)o=o.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:r,propertyValue:n.currentWord,range:n.getCompletionRange(o)})})),i){if(i.restrictions)for(var s=0,a=i.restrictions;s<a.length;s++){switch(a[s]){case"color":this.getColorProposals(i,o,t);break;case"position":this.getPositionProposals(i,o,t);break;case"repeat":this.getRepeatStyleProposals(i,o,t);break;case"line-style":this.getLineStyleProposals(i,o,t);break;case"line-width":this.getLineWidthProposals(i,o,t);break;case"geometry-box":this.getGeometryBoxProposals(i,o,t);break;case"box":this.getBoxProposals(i,o,t);break;case"image":this.getImageProposals(i,o,t);break;case"timing-function":this.getTimingFunctionProposals(i,o,t);break;case"shape":this.getBasicShapeProposals(i,o,t)}}this.getValueEnumProposals(i,o,t),this.getCSSWideKeywordProposals(i,o,t),this.getUnitProposals(i,o,t)}else for(var l=0,c=function(e,t){var n=t.getFullPropertyName(),r=new Ur;function i(e){return(e instanceof ae||e instanceof nt||e instanceof Qe)&&r.add(e.getText()),!0}return e.accept((function(e){if(e instanceof ye&&e!==t&&function(e){var t=e.getFullPropertyName();return n===t}(e)){var r=e.getValue();r&&r.accept(i)}return!0})),r}(this.styleSheet,e).getEntries();l<c.length;l++){var d=c[l];t.items.push({label:d,textEdit:Sn.replace(this.getCompletionRange(o),d),kind:Wn.Value})}return this.getVariableProposals(o,t),this.getTermProposals(i,o,t),t},e.prototype.getValueEnumProposals=function(e,t,n){if(e.values)for(var r=0,i=e.values;r<i.length;r++){var o=i[r],s=o.name,a=void 0;if(J(s,")")){var l=s.lastIndexOf("(");-1!==l&&(s=s.substr(0,l)+"($1)",a=Or)}var c=Ar.Enums;Y(o.name,"-")&&(c+=Ar.VendorPrefixed);var d={label:o.name,documentation:_t(o,this.doesSupportMarkdown()),tags:Wr(e)?[jn.Deprecated]:[],textEdit:Sn.replace(this.getCompletionRange(t),s),sortText:c,kind:Wn.Value,insertTextFormat:a};n.items.push(d)}return n},e.prototype.getCSSWideKeywordProposals=function(e,t,n){for(var r in $t)n.items.push({label:r,documentation:$t[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getCompletionsForInterpolation=function(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t},e.prototype.getVariableProposals=function(e,t){for(var n=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable);n<r.length;n++){var i=r[n],o=Y(i.name,"--")?"var("+i.name+")":i.name,s={label:i.name,documentation:i.value?X(i.value):i.value,textEdit:Sn.replace(this.getCompletionRange(e),o),kind:Wn.Variable,sortText:Ar.Variable};if("string"==typeof s.documentation&&Br(s.documentation)&&(s.kind=Wn.Color),i.node.type===Z.FunctionParameter){var a=i.node.getParent();a.type===Z.MixinDeclaration&&(s.detail=Pr("completion.argument","argument from '{0}'",a.getName()))}t.items.push(s)}return t},e.prototype.getVariableProposalsForCSSVarFunction=function(e){for(var t=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable),n=0,r=t=t.filter((function(e){return Y(e.name,"--")}));n<r.length;n++){var i=r[n],o={label:i.name,documentation:i.value?X(i.value):i.value,textEdit:Sn.replace(this.getCompletionRange(null),i.name),kind:Wn.Variable};"string"==typeof o.documentation&&Br(o.documentation)&&(o.kind=Wn.Color),e.items.push(o)}return e},e.prototype.getUnitProposals=function(e,t,n){var r="0";if(this.currentWord.length>0){var i=this.currentWord.match(/^-?\d[\.\d+]*/);i&&(r=i[0],n.isIncomplete=r.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===Z.Term&&(t=t.getParent()),e.restrictions)for(var o=0,s=e.restrictions;o<s.length;o++){var a=s[o],l=Jt[a];if(l)for(var c=0,d=l;c<d.length;c++){var h=r+d[c];n.items.push({label:h,textEdit:Sn.replace(this.getCompletionRange(t),h),kind:Wn.Unit})}}return n},e.prototype.getCompletionRange=function(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){var t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return ln.create(n,t)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(e,t,n){for(var r in At)n.items.push({label:r,documentation:At[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Color});for(var r in It)n.items.push({label:r,documentation:It[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});var i=new Ur;this.styleSheet.acceptVisitor(new Vr(i,this.offset));for(var o=0,s=i.getEntries();o<s.length;o++){r=s[o];n.items.push({label:r,textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Color})}for(var a=function(e){var r=1,i=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+r+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:Sn.replace(l.getCompletionRange(t),i),insertTextFormat:Or,kind:Wn.Function})},l=this,c=0,d=zt;c<d.length;c++){a(d[c])}return n},e.prototype.getPositionProposals=function(e,t,n){for(var r in Ut)n.items.push({label:r,documentation:Ut[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getRepeatStyleProposals=function(e,t,n){for(var r in jt)n.items.push({label:r,documentation:jt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getLineStyleProposals=function(e,t,n){for(var r in Vt)n.items.push({label:r,documentation:Vt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getLineWidthProposals=function(e,t,n){for(var r=0,i=Bt;r<i.length;r++){var o=i[r];n.items.push({label:o,textEdit:Sn.replace(this.getCompletionRange(t),o),kind:Wn.Value})}return n},e.prototype.getGeometryBoxProposals=function(e,t,n){for(var r in qt)n.items.push({label:r,documentation:qt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getBoxProposals=function(e,t,n){for(var r in Kt)n.items.push({label:r,documentation:Kt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getImageProposals=function(e,t,n){for(var r in Gt){var i=jr(r);n.items.push({label:r,documentation:Gt[r],textEdit:Sn.replace(this.getCompletionRange(t),i),kind:Wn.Function,insertTextFormat:r!==i?Or:void 0})}return n},e.prototype.getTimingFunctionProposals=function(e,t,n){for(var r in Ht){var i=jr(r);n.items.push({label:r,documentation:Ht[r],textEdit:Sn.replace(this.getCompletionRange(t),i),kind:Wn.Function,insertTextFormat:r!==i?Or:void 0})}return n},e.prototype.getBasicShapeProposals=function(e,t,n){for(var r in Yt){var i=jr(r);n.items.push({label:r,documentation:Yt[r],textEdit:Sn.replace(this.getCompletionRange(t),i),kind:Wn.Function,insertTextFormat:r!==i?Or:void 0})}return n},e.prototype.getCompletionsForStylesheet=function(e){var t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof he?this.getCompletionsForRuleSet(t,e):t instanceof je?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)},e.prototype.getCompletionForTopLevel=function(e){var t=this;return this.cssDataManager.getAtDirectives().forEach((function(n){e.items.push({label:n.name,textEdit:Sn.replace(t.getCompletionRange(null),n.name),documentation:_t(n,t.doesSupportMarkdown()),tags:Wr(n)?[jn.Deprecated]:[],kind:Wn.Keyword})})),this.getCompletionsForSelector(null,!1,e),e},e.prototype.getCompletionsForRuleSet=function(e,t){var n=e.getDeclarations();return n&&n.endsWith("}")&&this.offset>=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},e.prototype.getCompletionsForSelector=function(e,t,n){var r=this,i=this.findInNodePath(Z.PseudoSelector,Z.IdentifierSelector,Z.ClassSelector,Z.ElementNameSelector);if(!i&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach((function(e){var t=jr(e.name),o={label:e.name,textEdit:Sn.replace(r.getCompletionRange(i),t),documentation:_t(e,r.doesSupportMarkdown()),tags:Wr(e)?[jn.Deprecated]:[],kind:Wn.Function,insertTextFormat:e.name!==t?Or:void 0};Y(e.name,":-")&&(o.sortText=Ar.VendorPrefixed),n.items.push(o)})),this.cssDataManager.getPseudoElements().forEach((function(e){var t=jr(e.name),o={label:e.name,textEdit:Sn.replace(r.getCompletionRange(i),t),documentation:_t(e,r.doesSupportMarkdown()),tags:Wr(e)?[jn.Deprecated]:[],kind:Wn.Function,insertTextFormat:e.name!==t?Or:void 0};Y(e.name,"::-")&&(o.sortText=Ar.VendorPrefixed),n.items.push(o)})),!t){for(var o=0,s=Xt;o<s.length;o++){var a=s[o];n.items.push({label:a,textEdit:Sn.replace(this.getCompletionRange(i),a),kind:Wn.Keyword})}for(var l=0,c=Qt;l<c.length;l++){a=c[l];n.items.push({label:a,textEdit:Sn.replace(this.getCompletionRange(i),a),kind:Wn.Keyword})}}var d={};d[this.currentWord]=!0;var h=this.textDocument.getText();if(this.styleSheet.accept((function(e){if(e.type===Z.SimpleSelector&&e.length>0){var t=h.substr(e.offset,e.length);return"."!==t.charAt(0)||d[t]||(d[t]=!0,n.items.push({label:t,textEdit:Sn.replace(r.getCompletionRange(i),t),kind:Wn.Keyword})),!1}return!0})),e&&e.isNested()){var p=e.getSelectors().findFirstChildBeforeOffset(this.offset);p&&0===e.getSelectors().getChildren().indexOf(p)&&this.getPropertyProposals(null,n)}return n},e.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof fe){var r=n;if(!tn(r.colonPosition)||this.offset<=r.colonPosition)return this.getCompletionsForDeclarationProperty(r,t);if(tn(r.semicolonPosition)&&r.semicolonPosition<this.offset)return this.offset===r.semicolonPosition+1?t:this.getCompletionsForDeclarationProperty(null,t);if(r instanceof ye)return this.getCompletionsForDeclarationValue(r,t)}else n instanceof st?this.getCompletionsForExtendsReference(n,null,t):(this.currentWord&&"@"===this.currentWord[0]||n instanceof he)&&this.getCompletionsForDeclarationProperty(null,t);return t},e.prototype.getCompletionsForVariableDeclaration=function(e,t){return this.offset&&tn(e.colonPosition)&&this.offset>e.colonPosition&&this.getVariableProposals(e.getValue(),t),t},e.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();if(n instanceof Se)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;var r=e.findParent(Z.Declaration);if(!r)return this.getTermProposals(void 0,null,t),t;var i=e.findChildAtOffset(this.offset,!0);return i?i instanceof nt||i instanceof ae?this.getCompletionsForDeclarationValue(r,t):t:this.getCompletionsForDeclarationValue(r,t)},e.prototype.getCompletionsForFunctionArgument=function(e,t,n){var r=t.getIdentifier();return r&&r.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},e.prototype.getCompletionsForFunctionDeclaration=function(e,t){var n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset<n.end&&this.getTermProposals(void 0,null,t),t},e.prototype.getCompletionsForMixinReference=function(e,t){for(var n=this,r=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Mixin);r<i.length;r++){var o=i[r];o.node instanceof dt&&t.items.push(this.makeTermProposal(o,o.node.getParameters(),null))}var s=e.getIdentifier()||null;return this.completionParticipants.forEach((function(e){e.onCssMixinReference&&e.onCssMixinReference({mixinName:n.currentWord,range:n.getCompletionRange(s)})})),t},e.prototype.getTermProposals=function(e,t,n){for(var r=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Function);r<i.length;r++){var o=i[r];o.node instanceof De&&n.items.push(this.makeTermProposal(o,o.node.getParameters(),t))}return n},e.prototype.makeTermProposal=function(e,t,n){e.node;var r=t.getChildren().map((function(e){return e instanceof xe?e.getName():e.getText()})),i=e.name+"("+r.map((function(e,t){return"${"+(t+1)+":"+e+"}"})).join(", ")+")";return{label:e.name,detail:e.name+"("+r.join(", ")+")",textEdit:Sn.replace(this.getCompletionRange(n),i),insertTextFormat:Or,kind:Wn.Function,sortText:Ar.Term}},e.prototype.getCompletionsForSupportsCondition=function(e,t){var n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof ye)return!tn(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof qe)return this.getCompletionsForSupportsCondition(n,t)}return tn(e.lParent)&&this.offset>e.lParent&&(!tn(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},e.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();if(!n||this.offset<=n.offset){var r=e.findFirstChildBeforeOffset(this.offset);return r instanceof qe?this.getCompletionsForSupportsCondition(r,t):t}return this.getCompletionForTopLevel(t)},e.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},e.prototype.getCompletionForUriLiteralValue=function(e,t){var n,r,i;if(e.hasChildren()){var o=e.getChild(0);n=o.getText(),r=this.position,i=this.getCompletionRange(o)}else{n="",r=this.position;var s=this.textDocument.positionAt(e.offset+"url(".length);i=ln.create(s,s)}return this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:r,range:i})})),t},e.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!tn(this.supportsMarkdown)){if(!tn(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var r=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(r)&&-1!==r.indexOf(On.Markdown)}return this.supportsMarkdown},e}();function Wr(e){return!(!e.status||"nonstandard"!==e.status&&"obsolete"!==e.status)}var Ur=function(){function e(){this.entries={}}return e.prototype.add=function(e){this.entries[e]=!0},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function jr(e){return e.replace(/\(\)$/,"($1)")}var Vr=function(){function e(e,t){this.entries=e,this.currentOffset=t}return e.prototype.visitNode=function(e){return(e instanceof Qe||e instanceof we&&Pt(e))&&(this.currentOffset<e.offset||e.end<this.currentOffset)&&this.entries.add(e.getText()),!0},e}();function Br(e){return e.toLowerCase()in At||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Kr,qr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$r=wt(),Gr=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,n=this.attributes;t<n.length;t++){var r=n[t];if(r.name===e)return r.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(e){if(this.attributes){var t=this.attributes[this.attributes.length-1];t.value=t.value+e}},e.prototype.prepend=function(e){if(this.attributes){var t=this.attributes[0];t.value=e+t.value}},e.prototype.findRoot=function(){for(var e=this;e.parent&&!(e.parent instanceof Hr);)e=e.parent;return e},e.prototype.removeChild=function(e){if(this.children){var t=this.children.indexOf(e);if(-1!==t)return this.children.splice(t,1),!0}return!1},e.prototype.addAttr=function(e,t){this.attributes||(this.attributes=[]);for(var n=0,r=this.attributes;n<r.length;n++){var i=r[n];if(i.name===e)return void(i.value+=" "+t)}this.attributes.push({name:e,value:t})},e.prototype.clone=function(t){void 0===t&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var r=0,i=this.attributes;r<i.length;r++){var o=i[r];n.addAttr(o.name,o.value)}}if(t&&this.children){n.children=[];for(var s=0;s<this.children.length;s++)n.addChild(this.children[s].clone())}return n},e.prototype.cloneWithParent=function(){var e=this.clone(!1);!this.parent||this.parent instanceof Hr||this.parent.cloneWithParent().addChild(e);return e},e}(),Hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return qr(t,e),t}(Gr),Yr=function(e){function t(t){var n=e.call(this)||this;return n.addAttr("name",t),n}return qr(t,e),t}(Gr),Jr=function(){function e(e){this.quote=e,this.result=[]}return e.prototype.print=function(e){return this.result=[],e instanceof Hr?e.children&&this.doPrint(e.children,0):this.doPrint([e],0),[{language:"html",value:this.result.join("\n")}]},e.prototype.doPrint=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];this.doPrintElement(i,t),i.children&&this.doPrint(i.children,t+1)}},e.prototype.writeLine=function(e,t){var n=new Array(e+1).join(" ");this.result.push(n+t)},e.prototype.doPrintElement=function(e,t){var n=e.findAttribute("name");if(e instanceof Yr||"…"===n)this.writeLine(t,n);else{var r=["<"];if(n?r.push(n):r.push("element"),e.attributes)for(var i=0,o=e.attributes;i<o.length;i++){var s=o[i];if("name"!==s.name){r.push(" "),r.push(s.name);var a=s.value;a&&(r.push("="),r.push(Kr.ensure(a,this.quote)))}}r.push(">"),this.writeLine(t,r.join(""))}},e}();!function(e){function t(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Kr||(Kr={}));var Xr=function(){this.id=0,this.attr=0,this.tag=0};function Qr(e,t){for(var n=new Gr,r=0,i=e.getChildren();r<i.length;r++){var o=i[r];switch(o.type){case Z.SelectorCombinator:if(t){var s=o.getText().split("&");if(1===s.length){n.addAttr("name",s[0]);break}if(n=t.cloneWithParent(),s[0])n.findRoot().prepend(s[0]);for(var a=1;a<s.length;a++){if(a>1){var l=t.cloneWithParent();n.addChild(l.findRoot()),n=l}n.append(s[a])}}break;case Z.SelectorPlaceholder:if(o.matches("@at-root"))return n;case Z.ElementNameSelector:var c=o.getText();n.addAttr("name","*"===c?"element":Zr(c));break;case Z.ClassSelector:n.addAttr("class",Zr(o.getText().substring(1)));break;case Z.IdentifierSelector:n.addAttr("id",Zr(o.getText().substring(1)));break;case Z.MixinDeclaration:n.addAttr("class",o.getName());break;case Z.PseudoSelector:n.addAttr(Zr(o.getText()),"");break;case Z.AttributeSelector:var d=o,h=d.getIdentifier();if(h){var p=d.getValue(),u=d.getOperator(),m=void 0;if(p&&u)switch(Zr(u.getText())){case"|=":m=Kr.remove(Zr(p.getText()))+"-…";break;case"^=":m=Kr.remove(Zr(p.getText()))+"…";break;case"$=":m="…"+Kr.remove(Zr(p.getText()));break;case"~=":m=" … "+Kr.remove(Zr(p.getText()))+" … ";break;case"*=":m="…"+Kr.remove(Zr(p.getText()))+"…";break;default:m=Kr.remove(Zr(p.getText()))}n.addAttr(Zr(h.getText()),m)}}}return n}function Zr(e){var t=new H;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}var ei=function(){function e(e){this.cssDataManager=e}return e.prototype.selectorToMarkedString=function(e){var t=function(e){if(e.matches("@at-root"))return null;var t=new Hr,n=[],r=e.getParent();if(r instanceof he)for(var i=r.getParent();i&&!ni(i);){if(i instanceof he){if(i.getSelectors().matches("@at-root"))break;n.push(i)}i=i.getParent()}for(var o=new ti(t),s=n.length-1;s>=0;s--){var a=n[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(e),t}(e);if(t){var n=new Jr('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n}return[]},e.prototype.simpleSelectorToMarkedString=function(e){var t=Qr(e),n=new Jr('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n},e.prototype.isPseudoElementIdentifier=function(e){var t=e.match(/^::?([\w-]+)/);return!!t&&!!this.cssDataManager.getPseudoElement("::"+t[1])},e.prototype.selectorToSpecificityMarkedString=function(e){var t=this,n=function(e){for(var i=0,o=e.getChildren();i<o.length;i++){var s=o[i];switch(s.type){case Z.IdentifierSelector:r.id++;break;case Z.ClassSelector:case Z.AttributeSelector:r.attr++;break;case Z.ElementNameSelector:if(s.matches("*"))break;r.tag++;break;case Z.PseudoSelector:var a=s.getText();if(t.isPseudoElementIdentifier(a))r.tag++;else{if(a.match(/^:not/i))break;r.attr++}}s.getChildren().length>0&&n(s)}},r=new Xr;return n(e),$r("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",r.id,r.attr,r.tag)},e}(),ti=function(){function e(e){this.prev=null,this.element=e}return e.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof Hr)&&e.getChildren().some((function(e){return e.hasChildren()&&e.getChild(0).type===Z.SelectorCombinator}))){var n=this.element.findRoot();n.parent instanceof Hr&&(t=this.element,this.element=n.parent,this.element.removeChild(n),this.prev=null)}for(var r=0,i=e.getChildren();r<i.length;r++){var o=i[r];if(o instanceof ue){if(this.prev instanceof ue){var s=new Yr("…");this.element.addChild(s),this.element=s}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(Qr(o)),this.element.addChild(new Yr("⋮")));var a=Qr(o,t),l=a.findRoot();this.element.addChild(l),this.element=a}(o instanceof ue||o.type===Z.SelectorCombinatorParent||o.type===Z.SelectorCombinatorShadowPiercingDescendant||o.type===Z.SelectorCombinatorSibling||o.type===Z.SelectorCombinatorAllSiblings)&&(this.prev=o)}},e}();function ni(e){switch(e.type){case Z.MixinDeclaration:case Z.Stylesheet:return!0}return!1}var ri=function(){function e(e,t){this.clientCapabilities=e,this.cssDataManager=t,this.selectorPrinting=new ei(t)}return e.prototype.doHover=function(e,t,n){function r(t){return ln.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var i=re(n,e.offsetAt(t)),o=null,s=0;s<i.length;s++){var a=i[s];if(a instanceof pe){o={contents:this.selectorPrinting.selectorToMarkedString(a),range:r(a)};break}if(a instanceof ue){Y(a.getText(),"@")||(o={contents:this.selectorPrinting.simpleSelectorToMarkedString(a),range:r(a)});break}if(a instanceof ye){var l=a.getFullPropertyName();(d=this.cssDataManager.getProperty(l))&&(o=(h=_t(d,this.doesSupportMarkdown()))?{contents:h,range:r(a)}:null)}else if(a instanceof ht){var c=a.getText();(d=this.cssDataManager.getAtDirective(c))&&(o=(h=_t(d,this.doesSupportMarkdown()))?{contents:h,range:r(a)}:null)}else if(a instanceof oe&&a.type===Z.PseudoSelector){var d,h,p=a.getText();(d="::"===p.slice(0,2)?this.cssDataManager.getPseudoElement(p):this.cssDataManager.getPseudoClass(p))&&(o=(h=_t(d,this.doesSupportMarkdown()))?{contents:h,range:r(a)}:null)}else;}return o&&(o.contents=this.convertContents(o.contents)),o},e.prototype.convertContents=function(e){return this.doesSupportMarkdown()||"string"==typeof e?e:"kind"in e?{kind:"plaintext",value:e.value}:Array.isArray(e)?e.map((function(e){return"string"==typeof e?e:e.value})):e.value},e.prototype.doesSupportMarkdown=function(){if(!tn(this.supportsMarkdown)){if(!tn(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(On.Markdown)}return this.supportsMarkdown},e}(),ii=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},oi=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},si=wt(),ai=function(){function e(e){this.fileSystemProvider=e}return e.prototype.findDefinition=function(e,t,n){var r=new An(n),i=ne(n,e.offsetAt(t));if(!i)return null;var o=r.findSymbolFromNode(i);return o?{uri:e.uri,range:li(o.node,e)}:null},e.prototype.findReferences=function(e,t,n){return this.findDocumentHighlights(e,t,n).map((function(t){return{uri:e.uri,range:t.range}}))},e.prototype.findDocumentHighlights=function(e,t,n){var r=[],i=ne(n,e.offsetAt(t));if(!i||i.type===Z.Stylesheet||i.type===Z.Declarations)return r;i.type===Z.Identifier&&i.parent&&i.parent.type===Z.ClassSelector&&(i=i.parent);var o=new An(n),s=o.findSymbolFromNode(i),a=i.getText();return n.accept((function(t){if(s){if(o.matchesSymbol(t,s))return r.push({kind:ci(t),range:li(t,e)}),!1}else i&&i.type===t.type&&t.matches(a)&&r.push({kind:ci(t),range:li(t,e)});return!0})),r},e.prototype.isRawStringDocumentLinkNode=function(e){return e.type===Z.Import},e.prototype.findDocumentLinks=function(e,t,n){for(var r=this.findUnresolvedLinks(e,t),i=0;i<r.length;i++){var o=r[i].target;if(o&&!/^\w+:\/\//g.test(o)){var s=n.resolveReference(o,e.uri);s&&(r[i].target=s)}}return r},e.prototype.findDocumentLinks2=function(e,t,n){return ii(this,void 0,void 0,(function(){var r,i,o,s,a,l,c;return oi(this,(function(d){switch(d.label){case 0:r=this.findUnresolvedLinks(e,t),i=[],o=0,s=r,d.label=1;case 1:return o<s.length?(a=s[o],!(l=a.target)||/^\w+:\/\//g.test(l)?[3,3]:[4,this.resolveRelativeReference(l,e.uri,n)]):[3,5];case 2:return void 0!==(c=d.sent())&&(a.target=c,i.push(a)),[3,4];case 3:i.push(a),d.label=4;case 4:return o++,[3,1];case 5:return[2,i]}}))}))},e.prototype.findUnresolvedLinks=function(e,t){var n=this,r=[],i=function(t){var n=t.getText(),i=li(t,e);i.start.line===i.end.line&&i.start.character===i.end.character||((Y(n,"'")||Y(n,'"'))&&(n=n.slice(1,-1)),r.push({target:n,range:i}))};return t.accept((function(e){if(e.type===Z.URILiteral){var t=e.getChild(0);return t&&i(t),!1}if(e.parent&&n.isRawStringDocumentLinkNode(e.parent)){var r=e.getText();return(Y(r,"'")||Y(r,'"'))&&i(e),!1}return!0})),r},e.prototype.findDocumentSymbols=function(e,t){var n=[];return t.accept((function(t){var r={name:null,kind:Xn.Class,location:null},i=t;if(t instanceof pe)return r.name=t.getText(),(i=t.findAParent(Z.Ruleset,Z.ExtendsReference))&&(r.location=cn.create(e.uri,li(i,e)),n.push(r)),!1;if(t instanceof rt)r.name=t.getName(),r.kind=Xn.Variable;else if(t instanceof dt)r.name=t.getName(),r.kind=Xn.Method;else if(t instanceof De)r.name=t.getName(),r.kind=Xn.Function;else if(t instanceof ze)r.name=si("literal.keyframes","@keyframes {0}",t.getName());else if(t instanceof Re)r.name=si("literal.fontface","@font-face");else if(t instanceof Ue){var o=t.getChild(0);o instanceof Be&&(r.name="@media "+o.getText(),r.kind=Xn.Module)}return r.name&&(r.location=cn.create(e.uri,li(i,e)),n.push(r)),!0})),n},e.prototype.findDocumentColors=function(e,t){var n=[];return t.accept((function(t){var r=function(e,t){var n=Wt(e);if(n){var r=li(e,t);return{color:n,range:r}}return null}(t,e);return r&&n.push(r),!0})),n},e.prototype.getColorPresentations=function(e,t,n,r){var i,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);i=1===n.alpha?"rgb("+s+", "+a+", "+l+")":"rgba("+s+", "+a+", "+l+", "+n.alpha+")",o.push({label:i,textEdit:Sn.replace(r,i)}),i=1===n.alpha?"#"+di(s)+di(a)+di(l):"#"+di(s)+di(a)+di(l)+di(Math.round(255*n.alpha)),o.push({label:i,textEdit:Sn.replace(r,i)});var c=function(e){var t=e.red,n=e.green,r=e.blue,i=e.alpha,o=Math.max(t,n,r),s=Math.min(t,n,r),a=0,l=0,c=(s+o)/2,d=o-s;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case t:a=(n-r)/d+(n<r?6:0);break;case n:a=(r-t)/d+2;break;case r:a=(t-n)/d+4}a*=60,a=Math.round(a)}return{h:a,s:l,l:c,a:i}}(n);return i=1===c.a?"hsl("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%)":"hsla("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%, "+c.a+")",o.push({label:i,textEdit:Sn.replace(r,i)}),o},e.prototype.doRename=function(e,t,n,r){var i,o=this.findDocumentHighlights(e,t,r).map((function(e){return Sn.replace(e.range,n)}));return{changes:(i={},i[e.uri]=o,i)}},e.prototype.resolveRelativeReference=function(e,t,n){return ii(this,void 0,void 0,(function(){var r,i,o,s,a;return oi(this,(function(l){switch(l.label){case 0:return"~"===e[0]&&"/"!==e[1]&&this.fileSystemProvider?(e=e.substring(1),Y(t,"file://")?(r=function(e){if("@"===e[0])return e.substring(0,e.indexOf("/",e.indexOf("/")+1));return e.substring(0,e.indexOf("/"))}(e),i=n.resolveReference("/",t),o=Sr(t),[4,this.resolvePathToModule(r,o,i)]):[3,2]):[3,3];case 1:if(s=l.sent())return a=e.substring(r.length+1),[2,kr(s,a)];l.label=2;case 2:case 3:return[2,n.resolveReference(e,t)]}}))}))},e.prototype.resolvePathToModule=function(e,t,n){return ii(this,void 0,void 0,(function(){var r;return oi(this,(function(i){switch(i.label){case 0:return r=kr(t,"node_modules",e,"package.json"),[4,this.fileExists(r)];case 1:return i.sent()?[2,Sr(r)]:n&&t.startsWith(n)&&t.length!==n.length?[2,this.resolvePathToModule(e,Sr(t),n)]:[2,void 0]}}))}))},e.prototype.fileExists=function(e){return ii(this,void 0,void 0,(function(){var t;return oi(this,(function(n){switch(n.label){case 0:if(!this.fileSystemProvider)return[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(e)];case 2:return(t=n.sent()).type===mr.Unknown&&-1===t.size?[2,!1]:[2,!0];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},e}();function li(e,t){return ln.create(t.positionAt(e.offset),t.positionAt(e.end))}function ci(e){if(e.type===Z.Selector)return Yn.Write;if(e instanceof ae&&e.parent&&e.parent instanceof ve&&e.isCustomProperty)return Yn.Write;if(e.parent)switch(e.parent.type){case Z.FunctionDeclaration:case Z.MixinDeclaration:case Z.Keyframe:case Z.VariableDeclaration:case Z.FunctionParameter:return Yn.Write}return Yn.Read}function di(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}var hi=wt(),pi=ie.Warning,ui=ie.Error,mi=ie.Ignore,fi=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},gi=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},bi={AllVendorPrefixes:new fi("compatibleVendorPrefixes",hi("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),mi),IncludeStandardPropertyWhenUsingVendorPrefix:new fi("vendorPrefix",hi("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),pi),DuplicateDeclarations:new fi("duplicateProperties",hi("rule.duplicateDeclarations","Do not use duplicate style definitions"),mi),EmptyRuleSet:new fi("emptyRules",hi("rule.emptyRuleSets","Do not use empty rulesets"),pi),ImportStatemement:new fi("importStatement",hi("rule.importDirective","Import statements do not load in parallel"),mi),BewareOfBoxModelSize:new fi("boxModel",hi("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),mi),UniversalSelector:new fi("universalSelector",hi("rule.universalSelector","The universal selector (*) is known to be slow"),mi),ZeroWithUnit:new fi("zeroUnits",hi("rule.zeroWidthUnit","No unit for zero needed"),mi),RequiredPropertiesForFontFace:new fi("fontFaceProperties",hi("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),pi),HexColorLength:new fi("hexColorLength",hi("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),ui),ArgsInColorFunction:new fi("argumentsInColorFunction",hi("rule.colorFunction","Invalid number of parameters"),ui),UnknownProperty:new fi("unknownProperties",hi("rule.unknownProperty","Unknown property."),pi),UnknownAtRules:new fi("unknownAtRules",hi("rule.unknownAtRules","Unknown at-rule."),pi),IEStarHack:new fi("ieHack",hi("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),mi),UnknownVendorSpecificProperty:new fi("unknownVendorSpecificProperties",hi("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),mi),PropertyIgnoredDueToDisplay:new fi("propertyIgnoredDueToDisplay",hi("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),pi),AvoidImportant:new fi("important",hi("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),mi),AvoidFloat:new fi("float",hi("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),mi),AvoidIdSelector:new fi("idSelector",hi("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),mi)},yi={ValidProperties:new gi("validProperties",hi("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},vi=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var t=function(e){switch(e){case"ignore":return ie.Ignore;case"warning":return ie.Warning;case"error":return ie.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();var wi=wt(),xi=function(){function e(e){this.cssDataManager=e}return e.prototype.doCodeActions=function(e,t,n,r){return this.doCodeActions2(e,t,n,r).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return xn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},e.prototype.doCodeActions2=function(e,t,n,r){var i=[];if(n.diagnostics)for(var o=0,s=n.diagnostics;o<s.length;o++){var a=s[o];this.appendFixesForMarker(e,r,a,i)}return i},e.prototype.getFixesForUnknownProperty=function(e,t,n,r){var i=t.getName(),o=[];this.cssDataManager.getProperties().forEach((function(e){var t=function(e,t,n){void 0===n&&(n=4);var r=Math.abs(e.length-t.length);if(r>n)return 0;var i,o,s=[],a=[];for(i=0;i<t.length+1;++i)a.push(0);for(i=0;i<e.length+1;++i)s.push(a);for(i=1;i<e.length+1;++i)for(o=1;o<t.length+1;++o)e[i-1]===t[o-1]?s[i][o]=s[i-1][o-1]+1:s[i][o]=Math.max(s[i-1][o],s[i][o-1]);return s[e.length][t.length]-Math.sqrt(r)}(i,e.name);t>=i.length/2&&o.push({property:e.name,score:t})})),o.sort((function(e,t){return t.score-e.score||e.property.localeCompare(t.property)}));for(var s=3,a=0,l=o;a<l.length;a++){var c=l[a].property,d=wi("css.codeaction.rename","Rename to '{0}'",c),h=Sn.replace(n.range,c),p=Mn.create(e.uri,e.version),u={documentChanges:[Cn.create(p,[h])]},m=rr.create(d,u,tr.QuickFix);if(m.diagnostics=[n],r.push(m),--s<=0)return}},e.prototype.appendFixesForMarker=function(e,t,n,r){if(n.code===bi.UnknownProperty.id)for(var i=e.offsetAt(n.range.start),o=e.offsetAt(n.range.end),s=re(t,i),a=s.length-1;a>=0;a--){var l=s[a];if(l instanceof ye){var c=l.getProperty();if(c&&c.offset===i&&c.end===o)return void this.getFixesForUnknownProperty(e,c,n,r)}}},e}(),Si=function(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e};function Ci(e,t,n,r){var i=e[t];i.value=n,n&&(on(i.properties,r)||i.properties.push(r))}function ki(e,t,n,r){"top"===t||"right"===t||"bottom"===t||"left"===t?Ci(e,t,n,r):function(e,t,n){Ci(e,"top",t,n),Ci(e,"right",t,n),Ci(e,"bottom",t,n),Ci(e,"left",t,n)}(e,n,r)}function Ei(e,t,n){switch(t.length){case 1:ki(e,void 0,t[0],n);break;case 2:ki(e,"top",t[0],n),ki(e,"bottom",t[0],n),ki(e,"right",t[1],n),ki(e,"left",t[1],n);break;case 3:ki(e,"top",t[0],n),ki(e,"right",t[1],n),ki(e,"left",t[1],n),ki(e,"bottom",t[2],n);break;case 4:ki(e,"top",t[0],n),ki(e,"right",t[1],n),ki(e,"bottom",t[2],n),ki(e,"left",t[3],n)}}function _i(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(e.matches(i))return!0}return!1}function Fi(e,t){return void 0===t&&(t=!0),(!t||!_i(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function Di(e,t){return void 0===t&&(t=!0),e.map((function(e){return Fi(e,t)}))}function Ti(e,t){return void 0===t&&(t=!0),!_i(e,["none","hidden"])&&(!t||!_i(e,["initial","unset"]))}function Ri(e,t){return void 0===t&&(t=!0),e.map((function(e){return Ti(e,t)}))}function Ni(e){var t=e.getChildren();if(1===t.length)return Fi(i=t[0])&&Ti(i);for(var n=0,r=t;n<r.length;n++){var i;if(!Fi(i=r[n],!1)||!Ti(i,!1))return!1}return!0}var zi=wt(),Ai=function(){function e(){this.data={}}return e.prototype.add=function(e,t,n){var r=this.data[e];r||(r={nodes:[],names:[]},this.data[e]=r),r.names.push(t),n&&r.nodes.push(n)},e}(),Ii=function(){function e(e,t,n){var r=this;this.cssDataManager=n,this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new Ai,this.validProperties={};var i=t.getSetting(yi.ValidProperties);Array.isArray(i)&&i.forEach((function(e){if("string"==typeof e){var t=e.trim().toLowerCase();t.length&&(r.validProperties[t]=!0)}}))}return e.entries=function(t,n,r,i,o){var s=new e(n,r,i);return t.acceptVisitor(s),s.completeValidations(),s.getEntries(o)},e.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},e.prototype.fetch=function(e,t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];o.fullPropertyName===t&&n.push(o)}return n},e.prototype.fetchWithValue=function(e,t,n){for(var r=[],i=0,o=e;i<o.length;i++){var s=o[i];if(s.fullPropertyName===t){var a=s.node.getValue();a&&this.findValueInExpression(a,n)&&r.push(s)}}return r},e.prototype.findValueInExpression=function(e,t){var n=!1;return e.accept((function(e){return e.type===Z.Identifier&&e.matches(t)&&(n=!0),!n})),n},e.prototype.getEntries=function(e){return void 0===e&&(e=ie.Warning|ie.Error),this.warnings.filter((function(t){return 0!=(t.getLevel()&e)}))},e.prototype.addEntry=function(e,t,n){var r=new gt(e,t,this.settings.getRule(t),n);this.warnings.push(r)},e.prototype.getMissingNames=function(e,t){for(var n=e.slice(0),r=0;r<t.length;r++){var i=n.indexOf(t[r]);-1!==i&&(n[i]=null)}var o=null;for(r=0;r<n.length;r++){var s=n[r];s&&(o=null===o?zi("namelist.single","'{0}'",s):zi("namelist.concatenated","{0}, '{1}'",o,s))}return o},e.prototype.visitNode=function(e){switch(e.type){case Z.UnknownAtRule:return this.visitUnknownAtRule(e);case Z.Keyframe:return this.visitKeyframe(e);case Z.FontFace:return this.visitFontFace(e);case Z.Ruleset:return this.visitRuleSet(e);case Z.SimpleSelector:return this.visitSimpleSelector(e);case Z.Function:return this.visitFunction(e);case Z.NumericValue:return this.visitNumericValue(e);case Z.Import:return this.visitImport(e);case Z.HexColorValue:return this.visitHexColorValue(e);case Z.Prio:return this.visitPrio(e)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(e){var t=e.getChild(0);return!!t&&(!this.cssDataManager.getAtDirective(t.getText())&&(this.addEntry(t,bi.UnknownAtRules,"Unknown at rule "+t.getText()),!0))},e.prototype.visitKeyframe=function(e){var t=e.getKeyword();if(!t)return!1;var n=t.getText();return this.keyframes.add(e.getName(),n,"@keyframes"!==n?t:null),!0},e.prototype.validateKeyframes=function(){var e=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var t in this.keyframes.data){var n=this.keyframes.data[t].names,r=-1===n.indexOf("@keyframes");if(r||1!==n.length){var i=this.getMissingNames(e,n);if(i||r)for(var o=0,s=this.keyframes.data[t].nodes;o<s.length;o++){var a=s[o];if(r){var l=zi("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(a,bi.IncludeStandardPropertyWhenUsingVendorPrefix,l)}if(i){l=zi("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",i);this.addEntry(a,bi.AllVendorPrefixes,l)}}}}return!0},e.prototype.visitSimpleSelector=function(e){var t=this.documentText.charAt(e.offset);return 1===e.length&&"*"===t&&this.addEntry(e,bi.UniversalSelector),"#"===t&&this.addEntry(e,bi.AvoidIdSelector),!0},e.prototype.visitImport=function(e){return this.addEntry(e,bi.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),bi.EmptyRuleSet);for(var r=[],i=0,o=n.getChildren();i<o.length;i++){(C=o[i])instanceof ye&&r.push(new Si(C))}var s=function(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,r=e;n<r.length;n++){var i=r[n],o=i.node.value;if(void 0!==o)switch(i.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":t.width=i;break;case"height":t.height=i;break;default:var s=i.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:ki(t,s[1],Ni(o),i);break;case"width":ki(t,s[1],Fi(o,!1),i);break;case"style":ki(t,s[1],Ti(o,!0),i)}break;case"width":Ei(t,Di(o.getChildren(),!1),i);break;case"style":Ei(t,Ri(o.getChildren(),!0),i)}break;case"padding":1===s.length?Ei(t,Di(o.getChildren(),!0),i):ki(t,s[1],Fi(o,!0),i)}}}return t}(r);if(s.width){var a=[];if(s.right.value&&(a=sn(a,s.right.properties)),s.left.value&&(a=sn(a,s.left.properties)),0!==a.length){for(var l=0,c=a;l<c.length;l++){var d=c[l];this.addEntry(d.node,bi.BewareOfBoxModelSize)}this.addEntry(s.width.node,bi.BewareOfBoxModelSize)}}if(s.height){a=[];if(s.top.value&&(a=sn(a,s.top.properties)),s.bottom.value&&(a=sn(a,s.bottom.properties)),0!==a.length){for(var h=0,p=a;h<p.length;h++){d=p[h];this.addEntry(d.node,bi.BewareOfBoxModelSize)}this.addEntry(s.height.node,bi.BewareOfBoxModelSize)}}var u=this.fetchWithValue(r,"display","inline");if(u.length>0)for(var m=0,f=["width","height","margin-top","margin-bottom","float"];m<f.length;m++)for(var g=f[m],b=this.fetch(r,g),y=0;y<b.length;y++){var v=b[y].node,w=v.getValue();("float"!==g||w&&!w.matches("none"))&&this.addEntry(v,bi.PropertyIgnoredDueToDisplay,zi("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((u=this.fetchWithValue(r,"display","inline-block")).length>0)for(b=this.fetch(r,"float"),y=0;y<b.length;y++){var x=b[y].node;(w=x.getValue())&&!w.matches("none")&&this.addEntry(x,bi.PropertyIgnoredDueToDisplay,zi("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((u=this.fetchWithValue(r,"display","block")).length>0)for(b=this.fetch(r,"vertical-align"),y=0;y<b.length;y++)this.addEntry(b[y].node,bi.PropertyIgnoredDueToDisplay,zi("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var S=this.fetch(r,"float");for(y=0;y<S.length;y++){var C=S[y];this.isValidPropertyDeclaration(C)||this.addEntry(C.node,bi.AvoidFloat)}for(var k=0;k<r.length;k++){if("background"!==(C=r[k]).fullPropertyName&&!this.validProperties[C.fullPropertyName])if((w=C.node.getValue())&&"-"!==this.documentText.charAt(w.offset)){var E=this.fetch(r,C.fullPropertyName);if(E.length>1)for(var _=0;_<E.length;_++){var F=E[_].node.getValue();F&&"-"!==this.documentText.charAt(F.offset)&&E[_]!==C&&this.addEntry(C.node,bi.DuplicateDeclarations)}}}if(!t.getSelectors().matches(":export")){for(var D=new Ai,T=!1,R=0,N=r;R<N.length;R++){var z=(C=N[R]).node;if(this.isCSSDeclaration(z)){var A=C.fullPropertyName,I=A.charAt(0);if("-"===I){if("-"!==A.charAt(1)){this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(z.getProperty(),bi.UnknownVendorSpecificProperty);var M=z.getNonPrefixedPropertyName();D.add(M,A,z.getProperty())}}else{var P=A;"*"!==I&&"_"!==I||(this.addEntry(z.getProperty(),bi.IEStarHack),A=A.substr(1)),this.cssDataManager.isKnownProperty(P)||this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(z.getProperty(),bi.UnknownProperty,zi("property.unknownproperty.detailed","Unknown property: '{0}'",z.getFullPropertyName())),D.add(A,A,null)}}else T=!0}if(!T)for(var O in D.data){var L=D.data[O],W=L.names,U=this.cssDataManager.isStandardProperty(O)&&-1===W.indexOf(O);if(U||1!==W.length){for(var j=[],V=(k=0,e.prefixes.length);k<V;k++){var B=e.prefixes[k];this.cssDataManager.isStandardProperty(B+O)&&j.push(B+O)}var K=this.getMissingNames(j,W);if(K||U)for(var q=0,$=L.nodes;q<$.length;q++){var G=$[q];if(U){var H=zi("property.standard.missing","Also define the standard property '{0}' for compatibility",O);this.addEntry(G,bi.IncludeStandardPropertyWhenUsingVendorPrefix,H)}if(K){H=zi("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",K);this.addEntry(G,bi.AllVendorPrefixes,H)}}}}}return!0},e.prototype.visitPrio=function(e){return this.addEntry(e,bi.AvoidImportant),!0},e.prototype.visitNumericValue=function(e){var t=e.findParent(Z.Function);if(t&&"calc"===t.getName())return!0;var n=e.findParent(Z.Declaration);if(n&&n.getValue()){var r=e.getValue();if(!r.unit||-1===Jt.length.indexOf(r.unit.toLowerCase()))return!0;0===parseFloat(r.value)&&r.unit&&!this.validProperties[n.getFullPropertyName()]&&this.addEntry(e,bi.ZeroWithUnit)}return!0},e.prototype.visitFontFace=function(e){var t=e.getDeclarations();if(!t)return!1;for(var n=!1,r=!1,i=!1,o=0,s=t.getChildren();o<s.length;o++){var a=s[o];if(this.isCSSDeclaration(a)){var l=a.getProperty().getName().toLowerCase();"src"===l&&(n=!0),"font-family"===l&&(r=!0)}else i=!0}return i||n&&r||this.addEntry(e,bi.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(e){if(e instanceof ye){if(!e.getValue())return!1;var t=e.getProperty();if(!t)return!1;var n=t.getIdentifier();return!(!n||n.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(e){var t=e.length;return 9!==t&&7!==t&&5!==t&&4!==t&&this.addEntry(e,bi.HexColorLength),!1},e.prototype.visitFunction=function(e){var t=e.getName().toLowerCase(),n=-1,r=0;switch(t){case"rgb(":case"hsl(":n=3;break;case"rgba(":case"hsla(":n=4}return-1!==n&&(e.getArguments().accept((function(e){return!(e instanceof Ye)||(r+=1,!1)})),r!==n&&this.addEntry(e,bi.ArgsInColorFunction)),!0},e.prefixes=["-ms-","-moz-","-o-","-webkit-"],e}(),Mi=function(){function e(e){this.cssDataManager=e}return e.prototype.configure=function(e){this.settings=e},e.prototype.doValidation=function(e,t,n){if(void 0===n&&(n=this.settings),n&&!1===n.validate)return[];var r=[];r.push.apply(r,bt.entries(t)),r.push.apply(r,Ii.entries(t,e,new vi(n&&n.lint),this.cssDataManager));var i=[];for(var o in bi)i.push(bi[o].id);return r.filter((function(e){return e.getLevel()!==ie.Ignore})).map((function(t){var n=ln.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),r=e.languageId;return{code:t.getRule().id,source:r,message:t.getMessage(),severity:t.getLevel()===ie.Warning?bn.Warning:bn.Error,range:n}}))},e}(),Pi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oi="/".charCodeAt(0),Li="\n".charCodeAt(0),Wi="\r".charCodeAt(0),Ui="\f".charCodeAt(0),ji="$".charCodeAt(0),Vi="#".charCodeAt(0),Bi="{".charCodeAt(0),Ki="=".charCodeAt(0),qi="!".charCodeAt(0),$i="<".charCodeAt(0),Gi=">".charCodeAt(0),Hi=".".charCodeAt(0),Yi=("@".charCodeAt(0),r.CustomToken),Ji=Yi++,Xi=Yi++,Qi=(Yi++,Yi++),Zi=Yi++,eo=Yi++,to=Yi++,no=Yi++,ro=(Yi++,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pi(t,e),t.prototype.scanNext=function(t){if(this.stream.advanceIfChar(ji)){var n=["$"];if(this.ident(n))return this.finishToken(t,Ji,n.join(""));this.stream.goBackTo(t)}return this.stream.advanceIfChars([Vi,Bi])?this.finishToken(t,Xi):this.stream.advanceIfChars([Ki,Ki])?this.finishToken(t,Qi):this.stream.advanceIfChars([qi,Ki])?this.finishToken(t,Zi):this.stream.advanceIfChar($i)?this.stream.advanceIfChar(Ki)?this.finishToken(t,to):this.finishToken(t,r.Delim):this.stream.advanceIfChar(Gi)?this.stream.advanceIfChar(Ki)?this.finishToken(t,eo):this.finishToken(t,r.Delim):this.stream.advanceIfChars([Hi,Hi,Hi])?this.finishToken(t,no):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Oi,Oi]))&&(this.stream.advanceWhileChar((function(e){switch(e){case Li:case Wi:case Ui:return!1;default:return!0}})),!0)},t}(H)),io=wt(),oo=function(e,t){this.id=e,this.message=t},so={FromExpected:new oo("scss-fromexpected",io("expected.from","'from' expected")),ThroughOrToExpected:new oo("scss-throughexpected",io("expected.through","'through' or 'to' expected")),InExpected:new oo("scss-fromexpected",io("expected.in","'in' expected"))},ao=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),lo=function(e){function t(){return e.call(this,new ro)||this}return ao(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(r.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(t)||e.prototype._parseStylesheetAtStatement.call(this,t):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Ie);if(this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.URIOrStringExpected);for(;this.accept(r.Comma);)if(!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.URIOrStringExpected);return this.peek(r.SemiColon)||this.peek(r.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)},t.prototype._parseVariableDeclaration=function(e){if(void 0===e&&(e=[]),!this.peek(Ji))return null;var t=this.create(rt);if(!t.setVariable(this._parseVariable()))return null;if(!this.accept(r.Colon))return this.finish(t,Ct.ColonExpected);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),!t.setValue(this._parseExpr()))return this.finish(t,Ct.VariableValueExpected,[],e);for(;this.peek(r.Exclamation);)if(t.addChild(this._tryParsePrio()));else{if(this.consumeToken(),!this.peekRegExp(r.Ident,/^(default|global)$/))return this.finish(t,Ct.UnknownKeyword);this.consumeToken()}return this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(Ji))return null;var e=this.create(ot);return this.consumeToken(),e},t.prototype._parseModuleMember=function(){var e=this.mark(),t=this.create(ft);return t.setIdentifier(this._parseIdent([ee.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,Ct.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(e){var t=this;if(!this.peek(r.Ident)&&!this.peek(Xi)&&!this.peekDelim("-"))return null;var n=this.create(ae);n.referenceTypes=e,n.isCustomProperty=this.peekRegExp(r.Ident,/^--/);for(var i,o=!1;(this.accept(r.Ident)||n.addChild((i=void 0,i=t.mark(),t.acceptDelim("-")&&(t.hasWhitespace()||t.acceptDelim("-"),t.hasWhitespace())?(t.restoreAtMark(i),null):t._parseInterpolation()))||o&&this.acceptRegexp(/[\w-]/))&&(o=!0,!this.hasWhitespace()););return o?this.finish(n):null},t.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||e.prototype._parseTermExpression.call(this)},t.prototype._parseInterpolation=function(){if(this.peek(Xi)){var e=this.create(it);return this.consumeToken(),e.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(r.CurlyR)?this.finish(e):this.finish(e,Ct.RightCurlyExpected):this.accept(r.CurlyR)?this.finish(e):this.finish(e,Ct.ExpressionExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Qi)||this.peek(Zi)||this.peek(eo)||this.peek(to)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(Z.Operator);return this.consumeToken(),this.finish(t)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(oe);return this.consumeToken(),this.finish(t)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(r.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(e){var t=this.create(ye);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(r.Colon))return this.finish(t,Ct.ColonExpected,[r.Colon],e);this.prevToken&&(t.colonPosition=this.prevToken.offset);var n=!1;if(t.setValue(this._parseExpr())&&(n=!0,t.addChild(this._parsePrio())),this.peek(r.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!n)return this.finish(t,Ct.PropertyValueExpected);return this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseNestedProperties=function(){var e=this.create(Ne);return this._parseBody(e,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(st);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,Ct.SelectorExpected);for(;this.accept(r.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(r.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,Ct.UnknownKeyword):this.finish(e)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Z.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(r.Num)||this.accept(r.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var e=this.createNode(Z.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){e=this.createNode(Z.SelectorPlaceholder);return this.consumeToken(),this.finish(e)}return null},t.prototype._parseElementName=function(){var t=this.mark(),n=e.prototype._parseElementName.call(this);return n&&!this.hasWhitespace()&&this.peek(r.ParenthesisL)?(this.restoreAtMark(t),null):n},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var e=this.createNode(Z.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)},t.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(r.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},t.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},t.prototype._internalParseIfStatement=function(e){var t=this.create(Ce);if(this.consumeToken(),!t.setExpression(this._parseExpr(!0)))return this.finish(t,Ct.ExpressionExpected);if(this._parseBody(t,e),this.acceptKeyword("@else"))if(this.peekIdent("if"))t.setElseClause(this._internalParseIfStatement(e));else if(this.peek(r.CurlyL)){var n=this.create(Fe);this._parseBody(n,e),t.setElseClause(n)}return this.finish(t)},t.prototype._parseForStatement=function(e){if(!this.peekKeyword("@for"))return null;var t=this.create(ke);return this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,Ct.ExpressionExpected,[r.CurlyR]):this.finish(t,so.ThroughOrToExpected,[r.CurlyR]):this.finish(t,Ct.ExpressionExpected,[r.CurlyR]):this.finish(t,so.FromExpected,[r.CurlyR]):this.finish(t,Ct.VariableNameExpected,[r.CurlyR])},t.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(Ee);this.consumeToken();var n=t.getVariables();if(!n.addChild(this._parseVariable()))return this.finish(t,Ct.VariableNameExpected,[r.CurlyR]);for(;this.accept(r.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,Ct.VariableNameExpected,[r.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,Ct.ExpressionExpected,[r.CurlyR]):this.finish(t,so.InExpected,[r.CurlyR])},t.prototype._parseWhileStatement=function(e){if(!this.peekKeyword("@while"))return null;var t=this.create(_e);return this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,Ct.ExpressionExpected,[r.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(De);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Function])))return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected,[r.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ct.VariableNameExpected);return this.accept(r.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,Ct.RightParenthesisExpected,[r.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var e=this.createNode(Z.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,Ct.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(dt);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Mixin])))return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);if(this.accept(r.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ct.VariableNameExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected,[r.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var e=this.create(xe);return e.setIdentifier(this._parseVariable())?(this.accept(no),this.accept(r.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,Ct.VariableValueExpected,[],[r.Comma,r.ParenthesisR]):this.finish(e)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.create(at);if(this.consumeToken(),this.accept(r.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,Ct.ExpressionExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected)}return this.finish(e)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(ct);this.consumeToken();var t=this._parseIdent([ee.Mixin]);if(!e.setIdentifier(t))return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([ee.Mixin]);if(!n)return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);var i=this.create(ft);t.referenceTypes=[ee.Module],i.setIdentifier(t),e.setIdentifier(n),e.addChild(i)}if(this.accept(r.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,Ct.ExpressionExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(r.CurlyL))&&e.setContent(this._parseMixinContentDeclaration()),this.finish(e)},t.prototype._parseMixinContentDeclaration=function(){var e=this.create(lt);if(this.acceptIdent("using")){if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected,[r.CurlyL]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ct.VariableNameExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected,[r.CurlyL])}return this.peek(r.CurlyL)&&this._parseBody(e,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(e)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var e=this.create(Se),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(r.Colon))e.setIdentifier(n);else{if(this.accept(no))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(no),e.addChild(this._parsePrio()),this.finish(e)):e.setValue(this._tryParsePrio())?this.finish(e):null},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(r.ParenthesisR)){this.restoreAtMark(t);var i=this.create(oe);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return n},t.prototype._parseOperation=function(){if(!this.peek(r.ParenthesisL))return null;var e=this.create(oe);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(r.Comma);return this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},t.prototype._parseListElement=function(){var e=this.create(pt),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(r.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,Ct.ExpressionExpected)}else e.setValue(t);return this.finish(e)},t.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var e=this.create(Me);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.StringLiteralExpected);if(!this.peek(r.SemiColon)&&!this.peek(r.EOF)){if(!this.peekRegExp(r.Ident,/as|with/))return this.finish(e,Ct.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([ee.Module]))&&!this.acceptDelim("*"))return this.finish(e,Ct.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected,[r.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ct.VariableNameExpected);for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ct.VariableNameExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected)}}return this.accept(r.SemiColon)||this.accept(r.EOF)?this.finish(e):this.finish(e,Ct.SemiColonExpected)},t.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Pe);return e.setIdentifier(this._parseVariable())?this.accept(r.Colon)&&e.setValue(this._parseExpr(!0))?this.finish(e):this.finish(e,Ct.VariableValueExpected,[],[r.Comma,r.ParenthesisR]):null},t.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var e=this.create(Oe);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.StringLiteralExpected);if(!this.peek(r.SemiColon)&&!this.peek(r.EOF)){if(!this.peekRegExp(r.Ident,/as|hide|show/))return this.finish(e,Ct.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([ee.Forward]);if(!e.setIdentifier(t))return this.finish(e,Ct.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,Ct.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,Ct.IdentifierOrVariableExpected)}return this.accept(r.SemiColon)||this.accept(r.EOF)?this.finish(e):this.finish(e,Ct.SemiColonExpected)},t.prototype._parseForwardVisibility=function(){var e=this.create(Le);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent()););return e.getChildren().length>1?e:null},t.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||e.prototype._parseSupportsCondition.call(this)},t}(rn),co=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ho=wt(),po=function(e){function t(n,r){var i=e.call(this,"$",n,r)||this;return uo(t.scssModuleLoaders),uo(t.scssModuleBuiltIns),i}return co(t,e),t.prototype.isImportPathParent=function(t){return t===Z.Forward||t===Z.Use||e.prototype.isImportPathParent.call(this,t)},t.prototype.getCompletionForImportPath=function(n,r){var i=n.getParent().type;if(i===Z.Forward||i===Z.Use)for(var o=0,s=t.scssModuleBuiltIns;o<s.length;o++){var a=s[o],l={label:a.label,documentation:a.documentation,textEdit:Sn.replace(this.getCompletionRange(n),"'"+a.label+"'"),kind:Wn.Module};r.items.push(l)}return e.prototype.getCompletionForImportPath.call(this,n,r)},t.prototype.createReplaceFunction=function(){var e=1;return function(n,r){return"\\"+r+": ${"+e+++":"+(t.variableDefaults[r]||"")+"}"}},t.prototype.createFunctionProposals=function(e,t,n,r){for(var i=0,o=e;i<o.length;i++){var s=o[i],a=s.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),l={label:s.func.substr(0,s.func.indexOf("(")),detail:s.func,documentation:s.desc,textEdit:Sn.replace(this.getCompletionRange(t),a),insertTextFormat:Un.Snippet,kind:Wn.Function};n&&(l.sortText="z"),r.items.push(l)}return r},t.prototype.getCompletionsForSelector=function(n,r,i){return this.createFunctionProposals(t.selectorFuncs,null,!0,i),e.prototype.getCompletionsForSelector.call(this,n,r,i)},t.prototype.getTermProposals=function(n,r,i){var o=t.builtInFuncs;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,r,!0,i),e.prototype.getTermProposals.call(this,n,r,i)},t.prototype.getColorProposals=function(n,r,i){return this.createFunctionProposals(t.colorProposals,r,!1,i),e.prototype.getColorProposals.call(this,n,r,i)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionForAtDirectives(n),this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.prototype.getCompletionsForExtendsReference=function(e,t,n){for(var r=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Rule);r<i.length;r++){var o=i[r],s={label:o.name,textEdit:Sn.replace(this.getCompletionRange(t),o.name),kind:Wn.Function};n.items.push(s)}return n},t.prototype.getCompletionForAtDirectives=function(e){var n;return(n=e.items).push.apply(n,t.scssAtDirectives),e},t.prototype.getCompletionForTopLevel=function(t){return this.getCompletionForAtDirectives(t),this.getCompletionForModuleLoaders(t),e.prototype.getCompletionForTopLevel.call(this,t),t},t.prototype.getCompletionForModuleLoaders=function(e){var n;return(n=e.items).push.apply(n,t.scssModuleLoaders),e},t.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},t.colorProposals=[{func:"red($color)",desc:ho("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:ho("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:ho("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:ho("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:ho("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:ho("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:ho("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:ho("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:ho("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:ho("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:ho("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:ho("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:ho("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:ho("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:ho("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:ho("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:ho("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:ho("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:ho("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:ho("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:ho("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:ho("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],t.selectorFuncs=[{func:"selector-nest($selectors…)",desc:ho("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:ho("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:ho("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:ho("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:ho("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:ho("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:ho("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:ho("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],t.builtInFuncs=[{func:"unquote($string)",desc:ho("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:ho("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:ho("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:ho("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:ho("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:ho("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:ho("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:ho("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:ho("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:ho("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:ho("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:ho("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:ho("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:ho("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:ho("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:ho("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:ho("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:ho("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:ho("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:ho("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:ho("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:ho("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:ho("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:ho("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:ho("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:ho("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:ho("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:ho("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:ho("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:ho("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:ho("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:ho("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:ho("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:ho("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:ho("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:ho("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:ho("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:ho("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:ho("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:ho("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:ho("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:ho("scss.builtin.call","Dynamically calls a Sass function.")}],t.scssAtDirectives=[{label:"@extend",documentation:ho("scss.builtin.@extend","Inherits the styles of another selector."),kind:Wn.Keyword},{label:"@at-root",documentation:ho("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:Wn.Keyword},{label:"@debug",documentation:ho("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:Wn.Keyword},{label:"@warn",documentation:ho("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:Wn.Keyword},{label:"@error",documentation:ho("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:Wn.Keyword},{label:"@if",documentation:ho("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@for",documentation:ho("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@each",documentation:ho("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@while",documentation:ho("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@mixin",documentation:ho("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@include",documentation:ho("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:Wn.Keyword},{label:"@function",documentation:ho("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:Wn.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:ho("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@forward",documentation:ho("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Un.Snippet,kind:Wn.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:ho("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:ho("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:ho("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:ho("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:ho("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:ho("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:ho("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],t}(Lr);function uo(e){e.forEach((function(e){if(e.documentation&&e.references&&e.references.length>0){var t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "),e.documentation=t}}))}var mo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fo="/".charCodeAt(0),go="\n".charCodeAt(0),bo="\r".charCodeAt(0),yo="\f".charCodeAt(0),vo="`".charCodeAt(0),wo=".".charCodeAt(0),xo=r.CustomToken,So=xo++,Co=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mo(t,e),t.prototype.scanNext=function(t){var n=this.escapedJavaScript();return null!==n?this.finishToken(t,n):this.stream.advanceIfChars([wo,wo,wo])?this.finishToken(t,So):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([fo,fo]))&&(this.stream.advanceWhileChar((function(e){switch(e){case go:case bo:case yo:return!1;default:return!0}})),!0)},t.prototype.escapedJavaScript=function(){return this.stream.peekChar()===vo?(this.stream.advance(1),this.stream.advanceWhileChar((function(e){return e!==vo})),this.stream.advanceIfChar(vo)?r.EscapedJavaScript:r.BadEscapedJavaScript):null},t}(H),ko=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Eo=function(e){function t(){return e.call(this,new Co)||this}return ko(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(r.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var e=this.create(Ie);if(this.consumeToken(),this.accept(r.ParenthesisL)){if(!this.accept(r.Ident))return this.finish(e,Ct.IdentifierExpected,[r.SemiColon]);do{if(!this.accept(r.Comma))break}while(this.accept(r.Ident));if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected,[r.SemiColon])}return e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(r.SemiColon)||this.peek(r.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,Ct.URIOrStringExpected,[r.SemiColon])},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var e=this.createNode(Z.Plugin);return this.consumeToken(),e.addChild(this._parseStringLiteral())?this.accept(r.SemiColon)?this.finish(e):this.finish(e,Ct.SemiColonExpected):this.finish(e,Ct.StringLiteralExpected)},t.prototype._parseMediaQuery=function(t){var n=e.prototype._parseMediaQuery.call(this,t);if(!n){var r=this.create(Ke);return r.addChild(this._parseVariable())?this.finish(r):null}return n},t.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(e){void 0===e&&(e=[]);var t=this.create(rt),n=this.mark();if(!t.setVariable(this._parseVariable(!0)))return null;if(!this.accept(r.Colon))return this.restoreAtMark(n),null;if(this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseDetachedRuleSet()))t.needsSemicolon=!1;else if(!t.setValue(this._parseExpr()))return this.finish(t,Ct.VariableValueExpected,[],e);return t.addChild(this._parsePrio()),this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseDetachedRuleSet=function(){var e=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;var t=this.create(dt);if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,Ct.IdentifierExpected,[],[r.ParenthesisR]);if(!this.accept(r.ParenthesisR))return this.restoreAtMark(e),null}if(!this.peek(r.CurlyL))return null;var n=this.create(de);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(e){if(!e.addChild(this._parseLookupValue()))return!1;for(var t=!1;this.peek(r.BracketL)&&(t=!0),e.addChild(this._parseLookupValue());)t=!1;return!t},t.prototype._parseLookupValue=function(){var e=this.create(oe),t=this.mark();return this.accept(r.BracketL)&&((e.addChild(this._parseVariable(!1,!0))||e.addChild(this._parsePropertyIdentifier()))&&this.accept(r.BracketR)||this.accept(r.BracketR))?e:(this.restoreAtMark(t),null)},t.prototype._parseVariable=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=!e&&this.peekDelim("$");if(!this.peekDelim("@")&&!n&&!this.peek(r.AtKeyword))return null;for(var i=this.create(ot),o=this.mark();this.acceptDelim("@")||!e&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(o),null;return(this.accept(r.AtKeyword)||this.accept(r.Ident))&&(t||!this.peek(r.BracketL)||this._addLookupChildren(i))?i:(this.restoreAtMark(o),null)},t.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||e.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},t.prototype._parseEscaped=function(){if(this.peek(r.EscapedJavaScript)||this.peek(r.BadEscapedJavaScript)){var e=this.createNode(Z.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){e=this.createNode(Z.EscapedValue);return this.consumeToken(),this.accept(r.String)||this.accept(r.EscapedJavaScript)?this.finish(e):this.finish(e,Ct.TermExpected)}return null},t.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var e=this.createNode(Z.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){e=this.createNode(Z.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){e=this.createNode(Z.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(r.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(e){var t=this.create(pe),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var i=this.mark();if(t.addChild(this._parseGuard())&&this.peek(r.CurlyL))break;this.restoreAtMark(i),t.addChild(this._parseCombinator())}return n?this.finish(t):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Z.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(r.Num)||this.accept(r.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var e=this.createNode(Z.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null},t.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;var n=this.mark(),r=this.create(ae);r.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");return(e?r.isCustomProperty?r.addChild(this._parseIdent()):r.addChild(this._parseRegexp(t)):r.isCustomProperty?this._acceptInterpolatedIdent(r):this._acceptInterpolatedIdent(r,t))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(r)):(this.restoreAtMark(n),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(r.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},t.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,i=!1,o=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},s=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(r.Ident)};(s()||e.addChild(this._parseInterpolation()||this.try(o)))&&(i=!0,!this.hasWhitespace()););return i},t.prototype._parseInterpolation=function(){var e=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var t=this.createNode(Z.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(r.CurlyL)?(this.restoreAtMark(e),null):t.addChild(this._parseIdent())?this.accept(r.CurlyR)?this.finish(t):this.finish(t,Ct.RightCurlyExpected):this.finish(t,Ct.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(dt);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,Ct.IdentifierExpected,[],[r.ParenthesisR]);return this.accept(r.ParenthesisR)?(t.setGuard(this._parseGuard()),this.peek(r.CurlyL)?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)):(this.restoreAtMark(e),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(ae),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(r.Hash))return null;e=this.create(ae),this.consumeToken()}return e.referenceTypes=[ee.Mixin],this.finish(e)},t.prototype._parsePseudo=function(){if(!this.peek(r.Colon))return null;var t=this.mark(),n=this.create(st);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var e=this.mark(),t=this.create(st);return this.consumeToken(),!this.hasWhitespace()&&this.accept(r.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)},t.prototype._completeExtends=function(e){if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,Ct.SelectorExpected);for(;this.accept(r.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,Ct.SelectorExpected);return this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(r.AtKeyword))return null;var e=this.mark(),t=this.create(ct);return!t.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(r.ParenthesisL)?this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected):(this.restoreAtMark(e),null)},t.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(ct),i=this._parseMixinDeclarationIdentifier();i;){this.acceptDelim(">");var o=this._parseMixinDeclarationIdentifier();if(!o)break;n.getNamespaces().addChild(i),i=o}if(!n.setIdentifier(i))return this.restoreAtMark(t),null;var s=!1;if(this.accept(r.ParenthesisL)){if(s=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,Ct.ExpressionExpected);if(!this.accept(r.ParenthesisR))return this.finish(n,Ct.RightParenthesisExpected);i.referenceTypes=[ee.Mixin]}else i.referenceTypes=[ee.Mixin,ee.Rule];return this.peek(r.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),s||this.peek(r.SemiColon)||this.peek(r.CurlyR)||this.peek(r.EOF)?this.finish(n):(this.restoreAtMark(t),null)},t.prototype._parseMixinArgument=function(){var e=this.create(Se),t=this.mark(),n=this._parseVariable();return n&&(this.accept(r.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},t.prototype._parseMixinParameter=function(){var e=this.create(xe);if(this.peekKeyword("@rest")){var t=this.create(oe);return this.consumeToken(),this.accept(So)?(e.setIdentifier(this.finish(t)),this.finish(e)):this.finish(e,Ct.DotExpected,[],[r.Comma,r.ParenthesisR])}if(this.peek(So)){var n=this.create(oe);return this.consumeToken(),e.setIdentifier(this.finish(n)),this.finish(e)}var i=!1;return e.setIdentifier(this._parseVariable())&&(this.accept(r.Colon),i=!0),e.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||i?this.finish(e):null},t.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(ut);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,Ct.ConditionExpected);for(;this.acceptIdent("and")||this.accept(r.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,Ct.ConditionExpected);return this.finish(e)},t.prototype._parseGuardCondition=function(){if(!this.peek(r.ParenthesisL))return null;var e=this.create(mt);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},t.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,Ct.ExpressionExpected);return this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(ae);return t.referenceTypes=[ee.Function],this.consumeToken(),this.finish(t)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(r.ParenthesisR)){this.restoreAtMark(t);var i=this.create(oe);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return n},t}(rn),_o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fo=wt(),Do=function(e){function t(t,n){return e.call(this,"@",t,n)||this}return _o(t,e),t.prototype.createFunctionProposals=function(e,t,n,r){for(var i=0,o=e;i<o.length;i++){var s=o[i],a={label:s.name,detail:s.example,documentation:s.description,textEdit:Sn.replace(this.getCompletionRange(t),s.name+"($0)"),insertTextFormat:Un.Snippet,kind:Wn.Function};n&&(a.sortText="z"),r.items.push(a)}return r},t.prototype.getTermProposals=function(n,r,i){var o=t.builtInProposals;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,r,!0,i),e.prototype.getTermProposals.call(this,n,r,i)},t.prototype.getColorProposals=function(n,r,i){return this.createFunctionProposals(t.colorProposals,r,!1,i),e.prototype.getColorProposals.call(this,n,r,i)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:Fo("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:Fo("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:Fo("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:Fo("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:Fo("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:Fo("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:Fo("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:Fo("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:Fo("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:Fo("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:Fo("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:Fo("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:Fo("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:Fo("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:Fo("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:Fo("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:Fo("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:Fo("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:Fo("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:Fo("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:Fo("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:Fo("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:Fo("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:Fo("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:Fo("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:Fo("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:Fo("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:Fo("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:Fo("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:Fo("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],t.colorProposals=[{name:"argb",example:"argb(@color);",description:Fo("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:Fo("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:Fo("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:Fo("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:Fo("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:Fo("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:Fo("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:Fo("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:Fo("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:Fo("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:Fo("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:Fo("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:Fo("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:Fo("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:Fo("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:Fo("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:Fo("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:Fo("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:Fo("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:Fo("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:Fo("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:Fo("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:Fo("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:Fo("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:Fo("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:Fo("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:Fo("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],t}(Lr);function To(e,t){return function(e,t){var n=t&&t.rangeLimit||Number.MAX_VALUE,r=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n})),i=[],o=-1;return r.forEach((function(e){e.startLine<o&&o<e.endLine||(i.push(e),o=e.endLine)})),i.length<n?i:i.slice(0,n)}(function(e){function t(t){return e.positionAt(t.offset).line}function n(t){return e.positionAt(t.offset+t.len).line}var i=[],o=[],s=function(){switch(e.languageId){case"scss":return new ro;case"less":return new Co;default:return new H}}();s.ignoreComment=!1,s.setSource(e.getText());var a=s.scan(),l=null,c=function(){switch(a.type){case r.CurlyL:case Xi:o.push({line:t(a),type:"brace",isStart:!0});break;case r.CurlyR:if(0!==o.length){if(!(p=Ro(o,"brace")))break;var c=n(a);"brace"===p.type&&(l&&n(l)!==c&&c--,p.line!==c&&i.push({startLine:p.line,endLine:c,kind:void 0}))}break;case r.Comment:var d=function(e){return"#region"===e?{line:t(a),type:"comment",isStart:!0}:{line:n(a),type:"comment",isStart:!1}},h=function(t){var n=t.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(n)return d(n[1]);if("scss"===e.languageId||"less"===e.languageId){var r=t.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(r)return d(r[1])}return null}(a);if(h)if(h.isStart)o.push(h);else{var p;if(!(p=Ro(o,"comment")))break;"comment"===p.type&&p.line!==h.line&&i.push({startLine:p.line,endLine:h.line,kind:"region"})}else{var u=function(e,r){var i=t(e),o=n(e);return i!==o?{startLine:i,endLine:o,kind:r}:null}(a,"comment");u&&i.push(u)}}l=a,a=s.scan()};for(;a.type!==r.EOF;)c();return i}(e),t)}function Ro(e,t){if(0===e.length)return null;for(var n=e.length-1;n>=0;n--)if(e[n].type===t&&e[n].isStart)return e.splice(n,1)[0];return null}var No={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:59,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:81,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:50,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",relevance:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",relevance:69,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-duration",syntax:"<time>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"animation-timing-function",syntax:"<timing-function>#",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-blend-mode",browsers:["E79","FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",relevance:67,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"background-color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"background-origin",syntax:"<box>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-position",syntax:"<bg-position>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"behavior",browsers:["IE6"],relevance:50,description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"border-bottom-width",syntax:"<line-width>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",relevance:75,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",relevance:86,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"border-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-left-color",syntax:"<color>",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"border-left-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"border-left-width",syntax:"<line-width>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right-color",syntax:"<color>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"border-right-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"border-right-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"border-spacing",syntax:"<length> <length>?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-top-color",syntax:"<color>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"border-top-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"border-top-width",syntax:"<line-width>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"box-decoration-break",browsers:["E79","FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",relevance:50,description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"caret-color",browsers:["E79","FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Sets the color of an element's text",restrictions:["color"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],relevance:50,description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",relevance:52,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"column-rule-color",syntax:"<color>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"column-rule-style",syntax:"<'border-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"column-rule-width",syntax:"<'border-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"contain",browsers:["E79","FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],syntax:"none | strict | content | [ size || layout || style || paint ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],relevance:50,description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",relevance:50,description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:74,description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"fill-opacity",relevance:52,description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",relevance:78,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"flex-grow",syntax:"<number>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-shrink",syntax:"<number>",relevance:69,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"font-kerning",browsers:["E79","FF32","S9","C33","O20"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"font-size-adjust",browsers:["E79","FF40","C43","O30"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",relevance:83,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["E79","FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["E79","FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"font-variant-ligatures",browsers:["E79","FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["E79","FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"glyph-orientation-horizontal",relevance:50,description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],relevance:50,description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",relevance:1,description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"image-orientation",browsers:["E81","FF26","S13.1","C81","O67"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-rendering",browsers:["E79","FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["E79","FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"inline-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"isolation",browsers:["E79","FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",relevance:82,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],relevance:50,description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"margin-block-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-block-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["E79","FF53","S4","C1","O15"],syntax:"<geometry-box>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"mask-type",browsers:["E79","FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"max-block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"max-inline-size",browsers:["E79","FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"min-inline-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"mix-blend-mode",browsers:["E79","FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"motion-offset",browsers:["C46","O33"],relevance:50,description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],relevance:50,description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",relevance:0,description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],relevance:50,description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],relevance:50,description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],relevance:50,description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],relevance:50,description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],relevance:50,description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],relevance:50,description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],relevance:50,description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],relevance:50,description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",relevance:0,description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],relevance:50,description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",relevance:0,description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",relevance:0,description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",relevance:0,description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",relevance:0,description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",relevance:0,description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],relevance:50,description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],relevance:50,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],relevance:50,description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],relevance:50,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],relevance:50,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],relevance:50,description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],relevance:50,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],relevance:50,description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],relevance:50,description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],relevance:50,description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",relevance:0,description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",relevance:0,description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",relevance:0,description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",relevance:0,description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],relevance:50,description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],relevance:50,description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],relevance:50,description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],relevance:50,description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],relevance:50,description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],relevance:50,description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],relevance:50,description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],relevance:50,description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",relevance:0,description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],relevance:50,description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE5"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",relevance:0,description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",relevance:0,description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",relevance:0,description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",relevance:0,description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],relevance:50,description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],relevance:50,description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],relevance:50,description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],relevance:50,description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],relevance:50,description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",relevance:0,description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",relevance:0,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],relevance:50,description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],relevance:50,description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",relevance:0,description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",relevance:0,description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],relevance:50,description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],relevance:50,description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],relevance:50,description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],relevance:50,description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",relevance:50,description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],relevance:50,description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],relevance:50,description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"opacity",syntax:"<alpha-value>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"order",syntax:"<integer>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"-o-table-baseline",browsers:["O9.6"],relevance:50,description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],relevance:50,description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"outline-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",relevance:50,description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-bottom",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-right",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],syntax:"normal | [ fill || stroke || markers ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"perspective-origin",syntax:"<position>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",relevance:80,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],description:"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.",restrictions:["enum"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",relevance:50,description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"resize",browsers:["E79","FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE6"],relevance:50,description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"scroll-behavior",browsers:["E79","FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"shape-image-threshold",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<alpha-value>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"shape-margin",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<length-percentage>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-outside",browsers:["E79","FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],relevance:50,description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],syntax:"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",relevance:52,description:"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.",restrictions:["length"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",relevance:67,description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"stop-color",relevance:51,description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"stop-opacity",relevance:50,description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:63,description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],relevance:58,description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"stroke-dashoffset",relevance:58,description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],relevance:53,description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],relevance:50,description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"stroke-miterlimit",relevance:50,description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"stroke-opacity",relevance:51,description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"stroke-width",relevance:60,description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:"interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style."},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",relevance:50,description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"tab-size",browsers:["E79","FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O34"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],relevance:50,description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"text-decoration-color",browsers:["E79","FF36","S12.1","C57","O44"],syntax:"<color>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"text-decoration-line",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"text-orientation",browsers:["E79","FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["E79","FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["E79","FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"text-rendering",browsers:["E79","FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"text-underline-position",values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | from-font | [ under || [ left | right ] ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"transform-style",browsers:["E12","FF16","S9","C36","O23"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O23"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"transition-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"transition-duration",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"transition-timing-function",syntax:"<timing-function>#",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",relevance:58,description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",relevance:24,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",relevance:0,description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],relevance:50,description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],relevance:50,restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],relevance:50,description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["E79","S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],relevance:50,description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],relevance:50,description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],relevance:50,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],relevance:50,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],relevance:50,description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],relevance:50,description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",relevance:0,description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",relevance:0,description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",relevance:0,description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",relevance:0,description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",relevance:0,description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],relevance:50,description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],relevance:50,description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E12","C16","O≤15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}],restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],relevance:50,description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],relevance:50,restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",relevance:0,description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"will-change",browsers:["E79","FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",relevance:0,description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",relevance:0,browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",relevance:0,description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",relevance:0,description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",relevance:0,description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",relevance:0,description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",relevance:0,browsers:["E79","S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",relevance:0,description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",relevance:0,description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",relevance:0,description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",relevance:50,browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",relevance:0,description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",relevance:0,browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",relevance:0,browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",relevance:0,description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | menulist-button | <compat-auto>",relevance:60,browsers:["E84","FF1","S3","C84","O70"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",relevance:50,browsers:["E79","FF71","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}],description:"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"backdrop-filter",syntax:"none | <filter-function-list>",relevance:51,browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",relevance:50,browsers:["E79","FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"font-optical-sizing",syntax:"auto | none",relevance:50,browsers:["E17","FF62","S11","C79","O66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",relevance:50,browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"font-smooth",status:"nonstandard",syntax:"auto | never | always | <absolute-size> | <length>",relevance:0,browsers:["E79","FF25","S4","C5","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-smooth"}],description:""},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",relevance:50,browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",relevance:50,description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",relevance:50,browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"inset",syntax:"<'top'>{1,4}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",relevance:50,browsers:["E79","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-trim",status:"experimental",syntax:"none | in-flow | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-trim"}],description:"The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges."},{name:"mask",syntax:"<mask-layer>#",relevance:50,browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"mask-border",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",relevance:50,description:"The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."},{name:"mask-border-mode",syntax:"luminance | alpha",relevance:50,description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:50,description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",syntax:"<number-percentage>{1,4} fill?",relevance:50,description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",syntax:"none | <image>",relevance:50,description:"The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["E79","FF72","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:51,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",relevance:50,browsers:["E79","FF53","S9","C59","O46"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",relevance:50,browsers:["E79","FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",relevance:50,browsers:["E79","FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"row-gap",syntax:"normal | <length-percentage>",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",relevance:50,description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scale",syntax:"none | <number>{1,3}",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"scroll-snap-stop",syntax:"normal | always",relevance:50,browsers:["E79","C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:56,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"transform-box",syntax:"content-box | border-box | fill-box | stroke-box | view-box",relevance:50,browsers:["E79","FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",relevance:50,description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",relevance:54,description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"bleed",syntax:"auto | <length>",relevance:50,description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",syntax:"none | [ crop || cross ]",relevance:50,description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"min-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["E79","FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["E79","FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["E79","FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["E79","FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["E79","FF78","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",browsers:["FF78","C72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:where"}],description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["E79","FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E","IE10"],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E","IE10"],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E","IE10"],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E","IE10"],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E","IE10"],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E","IE10"],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E","IE10"],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E","IE10"],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["E79","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]},{name:"::-webkit-outer-spin-button",browsers:["S5","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["E79","S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-corner",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-thumb",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-search-cancel-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:'The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input\'s track to alter its numerical value.'},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E80","FF68","S11.1","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},zo=function(){function e(e){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(e)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(e){if(Array.isArray(e.properties))for(var t=0,n=e.properties;t<n.length;t++){var r=n[t];"string"==typeof r.name&&this._properties.push(r)}if(Array.isArray(e.atDirectives))for(var i=0,o=e.atDirectives;i<o.length;i++){Ao(r=o[i])&&this._atDirectives.push(r)}if(Array.isArray(e.pseudoClasses))for(var s=0,a=e.pseudoClasses;s<a.length;s++){Io(r=a[s])&&this._pseudoClasses.push(r)}if(Array.isArray(e.pseudoElements))for(var l=0,c=e.pseudoElements;l<c.length;l++){Mo(r=c[l])&&this._pseudoElements.push(r)}},e}();function Ao(e){return"string"==typeof e.name}function Io(e){return"string"==typeof e.name}function Mo(e){return"string"==typeof e.name}var Po=function(){function e(e){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders(!1!==(null==e?void 0:e.useDefaultDataProvider),(null==e?void 0:e.customDataProviders)||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new zo(No)),(n=this.dataProviders).push.apply(n,t),this.collectData()},e.prototype.collectData=function(){var e=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach((function(t){t.provideProperties().forEach((function(t){e._propertySet[t.name]||(e._propertySet[t.name]=t)})),t.provideAtDirectives().forEach((function(t){e._atDirectiveSet[t.name]||(e._atDirectiveSet[t.name]=t)})),t.providePseudoClasses().forEach((function(t){e._pseudoClassSet[t.name]||(e._pseudoClassSet[t.name]=t)})),t.providePseudoElements().forEach((function(t){e._pseudoElementSet[t.name]||(e._pseudoElementSet[t.name]=t)}))})),this._properties=en(this._propertySet),this._atDirectives=en(this._atDirectiveSet),this._pseudoClasses=en(this._pseudoClassSet),this._pseudoElements=en(this._pseudoElementSet)},e.prototype.getProperty=function(e){return this._propertySet[e]},e.prototype.getAtDirective=function(e){return this._atDirectiveSet[e]},e.prototype.getPseudoClass=function(e){return this._pseudoClassSet[e]},e.prototype.getPseudoElement=function(e){return this._pseudoElementSet[e]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(e){return e.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(e){return this.isKnownProperty(e)&&(!this._propertySet[e.toLowerCase()].status||"standard"===this._propertySet[e.toLowerCase()].status)},e}();function Oo(e,t,n){return t.map((function(t){for(var r=function(t){var r=e.offsetAt(t),i=n.findChildAtOffset(r,!0);if(!i)return[];var o=[];for(;i;)i.parent&&i.offset===i.parent.offset&&i.end===i.parent.end||(i.type===Z.Declarations&&r>i.offset&&r<i.end&&o.push([i.offset+1,i.end-1]),o.push([i.offset,i.end])),i=i.parent;return o}(t),i=void 0,o=r.length-1;o>=0;o--)i=ar.create(ln.create(e.positionAt(r[o][0]),e.positionAt(r[o][1])),i);return i||(i=ar.create(ln.create(t,t))),i}))}var Lo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wo=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},Uo=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},jo=function(e){function t(t){return e.call(this,t)||this}return Lo(t,e),t.prototype.isRawStringDocumentLinkNode=function(t){return e.prototype.isRawStringDocumentLinkNode.call(this,t)||t.type===Z.Use||t.type===Z.Forward},t.prototype.resolveRelativeReference=function(t,n,r){return Wo(this,void 0,void 0,(function(){var i,o,s,a;return Uo(this,(function(l){switch(l.label){case 0:return Y(t,"sass:")?[2,void 0]:[4,e.prototype.resolveRelativeReference.call(this,t,n,r)];case 1:if(i=l.sent(),!this.fileSystemProvider||!i||0!==function(e){for(var t=e.length-1;t>=0;t--){var n=e.charCodeAt(t);if(n===xr){if(t>0&&e.charCodeAt(t-1)!==wr)return e.substr(t);break}if(n===wr)break}return""}(i).length)return[3,8];l.label=2;case 2:if(l.trys.push([2,7,,8]),o=vr.a.parse(i),!(s=function(e){if(""!==e.path&&!e.path.endsWith(".scss")&&!e.path.endsWith(".css")){if(e.path.endsWith("/"))return[e.with({path:e.path+"index.scss"}).toString(),e.with({path:e.path+"_index.scss"}).toString()];var t=e.path.split("/"),n=t[t.length-1],r=e.path.slice(0,-n.length);if(n.startsWith("_"))return e.path.endsWith(".scss")?void 0:[e.with({path:e.path+".scss"}).toString()];var i=n+".scss",o=function(t){return e.with({path:r+t}).toString()};return[o(i),o("_"+i),o(i.slice(0,-5)+"/index.scss"),o(i.slice(0,-5)+"/_index.scss"),o(i.slice(0,-5)+".css")]}}(o)))return[3,6];a=0,l.label=3;case 3:return a<s.length?[4,this.fileExists(s[a])]:[3,6];case 4:if(l.sent())return[2,s[a]];l.label=5;case 5:return a++,[3,3];case 6:return[2,void 0];case 7:return l.sent(),[3,8];case 8:return[2,i]}}))}))},t}(ai);function Vo(e,t,n,r,i,o,s){return{configure:function(e){o.configure(e),t.configure(e)},setDataProviders:s.setDataProviders.bind(s),doValidation:o.doValidation.bind(o),parseStylesheet:e.parseStylesheet.bind(e),doComplete:t.doComplete.bind(t),doComplete2:t.doComplete2.bind(t),setCompletionParticipants:t.setCompletionParticipants.bind(t),doHover:n.doHover.bind(n),findDefinition:r.findDefinition.bind(r),findReferences:r.findReferences.bind(r),findDocumentHighlights:r.findDocumentHighlights.bind(r),findDocumentLinks:r.findDocumentLinks.bind(r),findDocumentLinks2:r.findDocumentLinks2.bind(r),findDocumentSymbols:r.findDocumentSymbols.bind(r),doCodeActions:i.doCodeActions.bind(i),doCodeActions2:i.doCodeActions2.bind(i),findColorSymbols:function(e,t){return r.findDocumentColors(e,t).map((function(e){return e.range}))},findDocumentColors:r.findDocumentColors.bind(r),getColorPresentations:r.getColorPresentations.bind(r),doRename:r.doRename.bind(r),getFoldingRanges:To,getSelectionRanges:Oo}}var Bo={};function Ko(e){void 0===e&&(e=Bo);var t=new Po(e);return Vo(new rn,new Lr(null,e,t),new ri(e&&e.clientCapabilities,t),new ai(e&&e.fileSystemProvider),new xi(t),new Mi(t),t)}function qo(e){void 0===e&&(e=Bo);var t=new Po(e);return Vo(new lo,new po(e,t),new ri(e&&e.clientCapabilities,t),new jo(e&&e.fileSystemProvider),new xi(t),new Mi(t),t)}function $o(e){void 0===e&&(e=Bo);var t=new Po(e);return Vo(new Eo,new Do(e,t),new ri(e&&e.clientCapabilities,t),new ai(e&&e.fileSystemProvider),new xi(t),new Mi(t),t)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==r.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d}));var r,i=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t){return l((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function r(e,t){return l((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function i(e,t){return l((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function s(e,t,r){let i=r;return n(e,e=>(i=t(i,e),i))}function l(e){let t;const n=new a({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,r=!1,i){let o,s=void 0,l=void 0,c=0;const d=new a({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{c++,s=t(s,e),r&&!l&&(d.fire(s),s=void 0),clearTimeout(l),l=setTimeout(()=>{const e=s;s=void 0,l=void 0,(!r||c>1)&&d.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return d.event}function d(e){let t,n=!0;return i(e,e=>{const r=n||e!==t;return n=!1,t=e,r})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=s,e.snapshot=l,e.debounce=c,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-r)},e.latch=d,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)});const o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new a({onFirstListenerAdd(){i||(i=e(e=>s.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(r(this.event,e))}filter(e){return new h(i(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(d(this.event))}debounce(e,t=100,n=!1,r){return new h(c(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new a;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(r||(r={}));class a{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let l,c;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(l&&l(),c.dispose=a._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(i.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}a._noop=function(){};class l extends a{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(n,e)):t.call(n,e)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class d{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const i=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,n,r,i=s){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?(r+=e,o=0):r+=o,a(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}Date.now();const o=e-1-r;let c=-1,d=null;for(let e=1;;e++){Date.now(),i.timeBudget;const r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);const s=l(t,n,o,c);if(!s&&d)break;if(d=s,r<=0)break;c=r}if(d){let e={word:d[0],startColumn:r+1+d.index,endColumn:r+1+d.index+d[0].length};return t.lastIndex=0,e}return null}function l(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(36);class i{constructor(e){let t=Object(r.b)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(r.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new i(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));class r{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class i{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function i(e,t,n="0"){const r=""+e,i=[r];for(let e=r.length;e<t;e++)i.push(n);return i.reverse().join("")}n.d(t,"D",(function(){return r})),n.d(t,"M",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return a})),n.d(t,"v",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return d})),n.d(t,"Q",(function(){return h})),n.d(t,"p",(function(){return p})),n.d(t,"V",(function(){return u})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return f})),n.d(t,"q",(function(){return g})),n.d(t,"P",(function(){return b})),n.d(t,"O",(function(){return y})),n.d(t,"w",(function(){return v})),n.d(t,"z",(function(){return w})),n.d(t,"J",(function(){return x})),n.d(t,"f",(function(){return S})),n.d(t,"h",(function(){return C})),n.d(t,"g",(function(){return k})),n.d(t,"i",(function(){return E})),n.d(t,"H",(function(){return _})),n.d(t,"I",(function(){return F})),n.d(t,"t",(function(){return T})),n.d(t,"T",(function(){return N})),n.d(t,"d",(function(){return z})),n.d(t,"e",(function(){return A})),n.d(t,"F",(function(){return I})),n.d(t,"G",(function(){return M})),n.d(t,"j",(function(){return P})),n.d(t,"A",(function(){return O})),n.d(t,"L",(function(){return W})),n.d(t,"N",(function(){return U})),n.d(t,"r",(function(){return j})),n.d(t,"m",(function(){return B})),n.d(t,"k",(function(){return q})),n.d(t,"B",(function(){return G})),n.d(t,"a",(function(){return H})),n.d(t,"n",(function(){return Y})),n.d(t,"l",(function(){return J})),n.d(t,"E",(function(){return X})),n.d(t,"C",(function(){return Q})),n.d(t,"b",(function(){return Z})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"c",(function(){return ie}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return h(d(e,t),t)}function d(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function h(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function p(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function u(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function g(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function y(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function w(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function x(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function C(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function k(e,t){return E(e,t,0,e.length,0,t.length)}function E(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let s=e.charCodeAt(n),a=t.charCodeAt(i);if(s===a)continue;const l=s-a;if((32!==l||!F(a))&&(-32!==l||!F(s)))return _(s)&&_(a)?l:C(e.toLowerCase(),t.toLowerCase(),n,r,i,o)}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function _(e){return e>=97&&e<=122}function F(e){return e>=65&&e<=90}function D(e){return _(e)||F(e)}function T(e,t){return e.length===t.length&&R(e,t)}function R(e,t,n=e.length){for(let r=0;r<n;r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)if(D(n)&&D(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function N(e,t){const n=t.length;return!(t.length>e.length)&&R(e,t,n)}function z(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function A(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function I(e){return 55296<=e&&e<=56319}function M(e){return 56320<=e&&e<=57343}function P(e,t){return t-56320+(e-55296<<10)+65536}function O(e,t,n){const r=e.charCodeAt(n);if(I(r)&&n+1<t){const t=e.charCodeAt(n+1);if(M(t))return P(r,t)}return r}function L(e,t){const n=e.charCodeAt(t-1);if(M(n)&&t>1){const r=e.charCodeAt(t-2);if(I(r))return P(r,n)}return n}function W(e,t){const n=oe.getInstance(),r=t,i=e.length,o=O(e,i,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<i;){const r=O(e,i,t),o=n.getGraphemeBreakType(r);if(ie(s,o))break;t+=r>=65536?2:1,s=o}return t-r}function U(e,t){const n=oe.getInstance(),r=t,i=L(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=L(e,t),i=n.getGraphemeBreakType(r);if(ie(i,o))break;t-=r>=65536?2:1,o=i}return r-t}function j(e){const t=e.byteLength,n=[];let r=0;for(;r<t;){const i=e[r];let o;if(o=i>=240&&r+3<t?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=224&&r+2<t?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=192&&r+1<t?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(r))}else n.push(String.fromCharCode(65533))}return n.join("")}const V=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function B(e){return V.test(e)}const K=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function q(e){return K.test(e)}const $=/^[\t\n\r\x20-\x7E]*$/;function G(e){return $.test(e)}const H=/[\u2028\u2029]/;function Y(e){return H.test(e)}function J(e){for(let t=0,n=e.length;t<n;t++)if(X(e.charCodeAt(t)))return!0;return!1}function X(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const Z=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return oe.getInstance().getGraphemeBreakType(e)}function ie(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l,c=[],d=!1,h=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):h=-1,c.length&&u())}function u(){if(!d){var e=a(p);d=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||a(u)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return h}));var r=n(8);function i(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>o(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),o(e[n],t)),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function l(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function c(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function d(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(i=a,o=-1,a=0):(i=e.charCodeAt(0),o=0);;){let l=i;if(r.F(i)){if(!(o+1<t)){a=i;break}{const t=e.charCodeAt(o+1);r.G(t)?(o++,l=r.j(i,t)):l=65533}}else r.G(i)&&(l=65533);if(s=this._push(n,s,l),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,a=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,r=1518500249):t<40?(n=s^a^c,r=1859775393):t<60?(n=s&a|s&c|a&c,r=2400959708):(n=s^a^c,r=3395469782),i=l(o,5)+n+d+r+e.getUint32(4*t,!1)&4294967295,d=c,c=a,a=l(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var r=n(13),i=n(2),o=n(11),s=n(14);let a=!1;function l(e){o.h&&(a||(a=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(r.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class d extends i.a{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let i=null;void 0!==self.require&&"function"==typeof self.require.getConfig?i=self.require.getConfig():void 0!==self.requirejs&&(i=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(i)),t,o]);const a=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{r=n,this._onModuleLoaded.then(t=>{e(s.c(t,a))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}class h{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=s.c(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=345)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(25),i=n(6),o=n(43),s=n(23),a=n(9),l=n(3),c=n(21),d=n(77),h=n(40);class p{static chord(e,t){return Object(o.a)(e,t)}}function u(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:i.a,KeyCode:h.o,KeyMod:p,Position:a.a,Range:l.a,Selection:c.a,SelectionDirection:h.z,MarkerSeverity:h.p,MarkerTag:h.q,Uri:s.a,Token:d.a}}p.CtrlCmd=2048,p.Shift=1024,p.Alt=512,p.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(36);class i{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(r.a)(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(r.a)(e),t=Object(r.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(r.a)(e),t=Object(r.a)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,r=0,o=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=this.prefixSum[r],s=o-this.values[r],e<s)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-s)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return W}));var r=n(16);class i{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function a(e,t,n){return new h(new s(e),new s(t)).ComputeDiff(n).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class d{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[r,i,o]=h._getElements(e),[s,a,l]=h._getElements(t);this._hasStrings=o&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,o){for(o[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i(e,0,n,r-n+1)]):e<=t?(l.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i(e,t-e+1,n,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],a=[0],c=this.ComputeRecursionPoint(e,t,n,r,s,a,o),d=s[0],h=a[0];if(null!==c)return c;if(!o[0]){const s=this.ComputeDiffRecursive(e,d,n,h,o);let a=[];return a=o[0]?[new i(d+1,t-(d+1)+1,h+1,r-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,r,o),this.ConcatenateChanges(s,a)}return[new i(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,a,l,c,h,p,u,m,f,g,b,y,v){let w=null,x=null,S=new d,C=t,k=n,E=m[0]-b[0]-r,_=-1073741824,F=this.m_forwardHistory.length-1;do{const t=E+e;t===C||t<k&&c[t-1]<c[t+1]?(f=(p=c[t+1])-E-r,p<_&&S.MarkNextChange(),_=p,S.AddModifiedElement(p+1,f),E=t+1-e):(f=(p=c[t-1]+1)-E-r,p<_&&S.MarkNextChange(),_=p-1,S.AddOriginalElement(p,f+1),E=t-1-e),F>=0&&(e=(c=this.m_forwardHistory[F])[0],C=1,k=c.length-1)}while(--F>=-1);if(w=S.getReverseChanges(),v[0]){let e=m[0]+1,t=b[0]+1;if(null!==w&&w.length>0){const n=w[w.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}x=[new i(e,u-e+1,t,g-t+1)]}else{S=new d,C=s,k=a,E=m[0]-b[0]-l,_=1073741824,F=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=E+o;e===C||e<k&&h[e-1]>=h[e+1]?(f=(p=h[e+1]-1)-E-l,p>_&&S.MarkNextChange(),_=p+1,S.AddOriginalElement(p+1,f+1),E=e+1-o):(f=(p=h[e-1])-E-l,p>_&&S.MarkNextChange(),_=p,S.AddModifiedElement(p+1,f+1),E=e-1-o),F>=0&&(o=(h=this.m_reverseHistory[F])[0],C=1,k=h.length-1)}while(--F>=-1);x=S.getChanges()}return this.ConcatenateChanges(w,x)}ComputeRecursionPoint(e,t,n,r,o,s,a){let l=0,d=0,h=0,p=0,u=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(r-n),g=f+1,b=new Int32Array(g),y=new Int32Array(g),v=r-n,w=t-e,x=e-n,S=t-r,C=(w-v)%2==0;b[v]=e,y[w]=t,a[0]=!1;for(let k=1;k<=f/2+1;k++){let f=0,E=0;h=this.ClipDiagonalBound(v-k,k,v,g),p=this.ClipDiagonalBound(v+k,k,v,g);for(let e=h;e<=p;e+=2){l=e===h||e<p&&b[e-1]<b[e+1]?b[e+1]:b[e-1]+1,d=l-(e-v)-x;const n=l;for(;l<t&&d<r&&this.ElementsAreEqual(l+1,d+1);)l++,d++;if(b[e]=l,l+d>f+E&&(f=l,E=d),!C&&Math.abs(e-w)<=k-1&&l>=y[e])return o[0]=l,s[0]=d,n<=y[e]&&k<=1448?this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a):null}const _=(f-e+(E-n)-k)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,_))return a[0]=!0,o[0]=f,s[0]=E,_>0&&k<=1448?this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a):(e++,n++,[new i(e,t-e+1,n,r-n+1)]);u=this.ClipDiagonalBound(w-k,k,w,g),m=this.ClipDiagonalBound(w+k,k,w,g);for(let i=u;i<=m;i+=2){l=i===u||i<m&&y[i-1]>=y[i+1]?y[i+1]-1:y[i-1],d=l-(i-w)-S;const c=l;for(;l>e&&d>n&&this.ElementsAreEqual(l,d);)l--,d--;if(y[i]=l,C&&Math.abs(i-v)<=k&&l<=b[i])return o[0]=l,s[0]=d,c>=b[i]&&k<=1448?this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a):null}if(k<=1447){let e=new Int32Array(p-h+2);e[0]=v-h+1,c.Copy2(b,h,e,1,p-h+1),this.m_forwardHistory.push(e),e=new Int32Array(m-u+2),e[0]=w-u+1,c.Copy2(y,u,e,1,m-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,h,p,x,w,u,m,S,b,y,l,t,o,d,r,s,C,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];n.originalLength>0&&(r=n.originalStart+n.originalLength),n.modifiedLength>0&&(i=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<r||c<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const d=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);d>l&&(l=d,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return c.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],c.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(r,o,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}var p=n(11),u=n(23),m=n(9),f=n(3),g=n(8);function b(e,t,n,r){return new h(e,t,n).ComputeDiff(r)}class y{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=C(e[r],1),n[r]=k(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,l=e?this._endColumns[a]:t.length+1;for(let e=n;e<l;e++)r[s]=t.charCodeAt(e-1),i[s]=a+1,o[s]=e,s++}return new v(r,i,o)}}class v{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class w{constructor(e,t,n,r,i,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r,i,o,s,a,l,c,d;return 0===e.originalLength?(r=0,i=0,o=0,s=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,l=0,c=0,d=0):(a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new w(r,i,o,s,a,l,c,d)}}class x{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let a,l,c,d,h=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=r.getStartLineNumber(t.modifiedStart)-1,d=0):(c=r.getStartLineNumber(t.modifiedStart),d=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=b(o,a,i,!0).changes;s&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(l)),h=[];for(let e=0,t=l.length;e<t;e++)h.push(w.createFromDiffChange(l[e],o,a))}return new x(a,l,c,d,h)}}class S{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new y(e),this.modified=new y(t),this.continueLineDiff=E(n.maxComputationTime),this.continueCharDiff=E(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=b(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(x.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,a=s?s.originalStart:this.originalLines.length,l=s?s.modifiedStart:this.modifiedLines.length;for(;i<a&&o<l;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=C(e,1),s=C(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=k(e,1),s=k(t,1);const a=e.length+1,l=t.length+1;for(;n<a&&s<l;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<l)&&this._pushTrimWhitespaceCharChange(r,i+1,n,a,o+1,s,l)}}i++,o++}s&&(r.push(x.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new w(t,n,t,r,i,o,i,s)]),e.push(new x(t,t,i,i,a))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const a=e.length;if(0===a)return!1;const l=e[a-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===i&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new w(t,n,t,r,i,o,i,s)),!0))}}function C(e,t){const n=g.w(e);return-1===n?t:n+1}function k(e,t){const n=g.J(e);return-1===n?t:n+2}function E(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var _=n(101);var F=n(73),D=n(76);class T{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class R{constructor(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++){let[i,o,s]=e[r];o>t&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new T(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,i,o]=e[t];r.set(n,i,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let N=null;let z=null;class A{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===N&&(N=new R([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),N}()){const n=function(){if(null===z){z=new D.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)z.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)z.set(t.charCodeAt(e),2)}return z}();let r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let a=0,l=0,c=0,d=1,h=!1,p=!1,u=!1,m=!1;for(;a<s;){let e=!1;const s=o.charCodeAt(a);if(13===d){let t;switch(s){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:u=!0,p=!0,t=0;break;case 93:u=!1,t=p?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=u?0:1;break;default:t=n.get(s)}1===t&&(r.push(A._createLink(n,o,i,l,a)),e=!0)}else if(12===d){let t;91===s?(p=!0,t=0):t=n.get(s),1===t?e=!0:d=13}else d=t.nextState(d,s),0===d&&(e=!0);e&&(d=1,h=!1,p=!1,m=!1,l=a+1,c=s),a++}13===d&&r.push(A._createLink(n,o,i,l,s))}return r}}class I{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){let n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){let e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}I.INSTANCE=new I;var M=n(100),P=n(14),O=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class L extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new _.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),r[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(F.d)(e.column,Object(F.c)(t),this._lines[e.lineNumber-1],0);return n?new f.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){let n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const e of r)i.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class W{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new L(u.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return O(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const s=i.getLinesContent(),a=o.getLinesContent(),l=new S(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return O(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Object(r.p)(t,(e,t)=>{if(e.range&&t.range)return f.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:r,eol:s}of t){if("number"==typeof s&&(o=s),f.a.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>W._diffLimit){i.push({range:e,text:r});continue}const l=a(t,r,!1),c=n.offsetAt(f.a.lift(e).getStartPosition());for(const e of l){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return O(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?A.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return O(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return null;const o=[],s=new Set,a=new RegExp(n,r),l=i.getWordAtPosition(t,a);l&&s.add(i.getValueInRange(l));for(let e of i.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>W._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,r){return O(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,r,i){return O(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=o.getValueInRange(t),l=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!l)return null;let c=o.getValueInRange(l);return I.INSTANCE.navigateValueSet(t,a,l,c,n)}))}loadForeignModule(e,t,n){let r={host:P.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(P.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}W._diffLimit=1e5,W._suggestionsLimit=1e4,"function"==typeof importScripts&&(p.b.monaco=Object(M.a)())},11:function(e,t,n){"use strict";(function(e,r){n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return b})),n.d(t,"d",(function(){return y})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return C})),n.d(t,"a",(function(){return k})),n.d(t,"e",(function(){return F}));let i=!1,o=!1,s=!1,a=!1,l=!1,c=!1,d=void 0,h="en",p=void 0,u=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,d="en",h="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];d=e.locale,h=n||"en",p=e._translationsConfigFile}catch(e){}a=!0}}else u=navigator.userAgent,i=u.indexOf("Windows")>=0,o=u.indexOf("Macintosh")>=0,c=(u.indexOf("Macintosh")>=0||u.indexOf("iPad")>=0||u.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=u.indexOf("Linux")>=0,l=!0,d=navigator.language,h=d;let f=0;o?f=1:i?f=3:s&&(f=2);const g=i,b=o,y=s,v=a,w=l,x=c,S="object"==typeof self?self:"object"==typeof r?r:{},C=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"==typeof S.postMessage&&!S.importScripts){let e=[];S.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),S.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),k=o||c?2:i?1:3;let E=!0,_=!1;function F(){if(!_){_=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);E=513===t[0]}return E}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){a(e)||r.onUnexpectedError(e)}function o(e){a(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function a(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function d(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return s}));var r=n(94),i=n(104);let o=!1;function s(e){if(o)return;o=!0;const t=new r.b(e=>{self.postMessage(e)},t=>new i.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||s(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function d(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function u(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(p(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function f(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function g(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function b(e){return null===e?void 0:e}n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"g",(function(){return p})),n.d(t,"m",(function(){return u})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"n",(function(){return b}))},144:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r,i,o,s=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var h="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,u=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new f(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=p.exec(e);return n?new f(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(u),g=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function b(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=g[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function y(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=g[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function w(e,t){var n=t?y:b,r="",i=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=h,r+=h),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?r+=n(d,!1):(r+=n(d.substr(0,c),!1),r+=":",r+=n(d.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(p=s.charCodeAt(1))>=65&&p<=90&&(s="/"+String.fromCharCode(p+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var p;(p=s.charCodeAt(0))>=65&&p<=90&&(s=String.fromCharCode(p+32)+":"+s.substr(2))}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),l&&(r+="#",r+=t?l:b(l,!1)),r}var x=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(x)?e.replace(x,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},16:function(e,t,n){"use strict";function r(e,t=0){return e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else{if(!(s>0))return o;i=o-1}}return-(r+1)}function a(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function l(e,t){return function e(t,n,r,i,o){if(i<=r)return;const s=r+(i-r)/2|0;if(e(t,n,r,s,o),e(t,n,s+1,i,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,r,i,o){let s=n,a=r+1;for(let t=n;t<=i;t++)o[t]=e[t];for(let l=n;l<=i;l++)s>r?e[l]=o[a++]:a>i?e[l]=o[s++]:t(o[a],o[s])<0?e[l]=o[a++]:e[l]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let r=void 0;for(const i of l(e.slice(0),t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function d(e){return e.filter(e=>!!e)}function h(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function u(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const r=t(e);return!n[r]&&(n[r]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function f(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function g(e,t,n){const r=f(e,t);return r<0?n:e[r]}function b(e,t){return e.length>0?e[0]:t}function y(e){return[].concat(...e)}function v(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function w(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function x(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function S(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function C(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return r})),n.d(t,"u",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"p",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return p})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return g})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return y})),n.d(t,"s",(function(){return v})),n.d(t,"a",(function(){return w})),n.d(t,"r",(function(){return x})),n.d(t,"q",(function(){return S})),n.d(t,"b",(function(){return C}))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return u}));var r=n(37);function i(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function a(e){if(r.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function l(...e){return e.forEach(i),{dispose:()=>a(e)}}function c(e){const t={dispose:()=>{e()}};return t}class d{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{a(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?d.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}d.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new d}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class p{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class u{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(3);class o extends i.a{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return g}));var r=n(11),i=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;const l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{constructor(e,t,n,r,i,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof d||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new p(t,n,r,i,o)}static parse(e,t=!1){const n=c.exec(e);return n?new p(n[2]||"",v(n[4]||""),v(n[5]||""),v(n[7]||""),v(n[9]||""),t):new p("","","","","")}static file(e){let t="";if(r.i&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){const n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new p("file",t,e,"","")}static from(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=r.i&&"file"===e.scheme?d.file(i.i.join(g(e,!0),...t)).path:i.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof d)return e;{const t=new p(e);return t._formatted=e.external,t._fsPath=e._sep===h?e.fsPath:null,t}}return e}}const h=r.i?1:void 0;class p extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const u={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=u[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function f(e){let t=void 0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=u[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function g(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(n=n.replace(/\//g,"\\")),n}function b(e,t){const n=t?f:m;let r="",{scheme:i,authority:o,path:s,query:a,fragment:c}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=l,r+=l),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),c&&(r+="#",r+=t?c:m(c,!1)),r}const y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(y)?e.replace(y,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(6);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var r=n(11);const i=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,o=i.cwd,s=i.env,a=i.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return n<a?(n=a,r=l):n===a&&(r=Math.max(r,l)),o>c?(o=c,s=d):o===c&&(s=Math.min(s,d)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},345:function(e,t,n){"use strict";n.r(t);var r=n(131),i=n(48),o=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},a=function(){function e(e,t){switch(this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageId){case"css":this._languageService=i.h();break;case"less":this._languageService=i.i();break;case"scss":this._languageService=i.j();break;default:throw new Error("Invalid language id: "+this._languageId)}this._languageService.configure(this._languageSettings)}return e.prototype.doValidation=function(e){return o(this,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){return(t=this._getTextDocument(e))?(n=this._languageService.parseStylesheet(t),r=this._languageService.doValidation(t,n),[2,Promise.resolve(r)]):[2,Promise.resolve([])]}))}))},e.prototype.doComplete=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.doComplete(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.doHover=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.doHover(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findDefinition=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.findDefinition(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findReferences=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.findReferences(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findDocumentHighlights=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.findDocumentHighlights(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.findDocumentSymbols=function(e){return o(this,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseStylesheet(t),r=this._languageService.findDocumentSymbols(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.doCodeActions=function(e,t,n){return o(this,void 0,void 0,(function(){var r,i,o;return s(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseStylesheet(r),o=this._languageService.doCodeActions(r,t,n,i),[2,Promise.resolve(o)]}))}))},e.prototype.findDocumentColors=function(e){return o(this,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseStylesheet(t),r=this._languageService.findDocumentColors(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.getColorPresentations=function(e,t,n){return o(this,void 0,void 0,(function(){var r,i,o;return s(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseStylesheet(r),o=this._languageService.getColorPresentations(r,i,t,n),[2,Promise.resolve(o)]}))}))},e.prototype.getFoldingRanges=function(e,t){return o(this,void 0,void 0,(function(){var n,r;return s(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t),[2,Promise.resolve(r)]}))}))},e.prototype.getSelectionRanges=function(e,t){return o(this,void 0,void 0,(function(){var n,r,i;return s(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseStylesheet(n),i=this._languageService.getSelectionRanges(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype.doRename=function(e,t,n){return o(this,void 0,void 0,(function(){var r,i,o;return s(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseStylesheet(r),o=this._languageService.doRename(r,t,n,i),[2,Promise.resolve(o)]}))}))},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var r=n[t];if(r.uri.toString()===e)return i.g.create(e,this._languageId,r.version,r.getValue())}return null},e}();self.onmessage=function(){r.initialize((function(e,t){return new a(e,t)}))}},36:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},37:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(r||(r={}))},40:function(e,t,n){"use strict";var r,i,o,s,a,l,c,d,h,p,u,m,f,g,b,y,v,w,x,S,C,k,E,_,F,D,T,R,N,z,A,I,M;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return g})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return w})),n.d(t,"s",(function(){return x})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return k})),n.d(t,"w",(function(){return E})),n.d(t,"x",(function(){return _})),n.d(t,"y",(function(){return F})),n.d(t,"z",(function(){return D})),n.d(t,"A",(function(){return T})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return N})),n.d(t,"D",(function(){return z})),n.d(t,"E",(function(){return A})),n.d(t,"F",(function(){return I})),n.d(t,"G",(function(){return M})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(p||(p={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(u||(u={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(g||(g={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(b||(b={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(y||(y={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(v||(v={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(w||(w={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(x||(x={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(C||(C={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(k||(k={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(E||(E={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(_||(_={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(F||(F={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(D||(D={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(T||(T={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(R||(R={})),function(e){e[e.Deprecated=1]="Deprecated"}(N||(N={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(z||(z={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(I||(I={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(M||(M={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"h",(function(){return v}));var r=n(28);class i extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new i(t,"string",e)}function s(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,r){let i="",o=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(r(l))break;l=47}if(r(l)){if(s===c-1||1===a);else if(2===a){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=c,a=0;continue}if(0!==i.length){i="",o=0,s=c,a=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,c)}`:i=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===l&&-1!==a?++a:a=-1}return i}function d(e,t){if(null===t||"object"!=typeof t)throw new i("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const h={resolve(...e){let t="",n="",i=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(c=e[a],o(c,"path"),0===c.length)continue}else 0===t.length?c=r.a():(c=r.b["="+t]||r.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const d=c.length;let h=0,p="",u=!1;const m=c.charCodeAt(0);if(1===d)s(m)&&(h=1,u=!0);else if(s(m))if(u=!0,s(c.charCodeAt(1))){let e=2,t=e;for(;e<d&&!s(c.charCodeAt(e));)e++;if(e<d&&e!==t){const n=c.slice(t,e);for(t=e;e<d&&s(c.charCodeAt(e));)e++;if(e<d&&e!==t){for(t=e;e<d&&!s(c.charCodeAt(e));)e++;e!==d&&e===t||(p=`\\\\${n}\\${c.slice(t,e)}`,h=e)}}}else h=1;else l(m)&&58===c.charCodeAt(1)&&(p=c.slice(0,2),h=2,d>2&&s(c.charCodeAt(2))&&(u=!0,h=3));if(p.length>0)if(t.length>0){if(p.toLowerCase()!==t.toLowerCase())continue}else t=p;if(i){if(t.length>0)break}else if(n=`${c.slice(h)}\\${n}`,i=u,u&&t.length>0)break}return n=c(n,!i,"\\",s),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const d=e.charCodeAt(0);if(1===t)return a(d)?"\\":e;if(s(d))if(i=!0,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){const a=e.slice(o,i);for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return`\\\\${a}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${a}\\${e.slice(o,i)}`,r=i)}}}else r=1;else l(d)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),r=2,t>2&&s(e.charCodeAt(2))&&(i=!0,r=3));let h=r<t?c(e.slice(r),!i,"\\",s):"";return 0!==h.length||i||(h="."),h.length>0&&s(e.charCodeAt(t-1))&&(h+="\\"),void 0===n?i?"\\"+h:h:i?`${n}\\${h}`:`${n}${h}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&l(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];o(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&s(n.charCodeAt(0))){++i;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++i,e>2&&(s(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&s(t.charCodeAt(i));)i++;i>=2&&(t="\\"+t.slice(i))}return h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=h.resolve(e),r=h.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&92===e.charCodeAt(i);)i++;let s=e.length;for(;s-1>i&&92===e.charCodeAt(s-1);)s--;const a=s-i;let l=0;for(;l<t.length&&92===t.charCodeAt(l);)l++;let c=t.length;for(;c-1>l&&92===t.charCodeAt(c-1);)c--;const d=c-l,p=a<d?a:d;let u=-1,m=0;for(;m<p;m++){const n=e.charCodeAt(i+m);if(n!==t.charCodeAt(l+m))break;92===n&&(u=m)}if(m!==p){if(-1===u)return r}else{if(d>p){if(92===t.charCodeAt(l+m))return r.slice(l+m+1);if(2===m)return r.slice(l+m)}a>p&&(92===e.charCodeAt(i+m)?u=m:2===m&&(u=3)),-1===u&&(u=0)}let f="";for(m=i+u+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(f+=0===f.length?"..":"\\..");return l+=u,f.length>0?`${f}${r.slice(l,c)}`:(92===r.charCodeAt(l)&&++l,r.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return s(i)?e:".";if(s(i)){if(n=r=1,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else l(i)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,r=n);let a=-1,c=!0;for(let n=t-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!c){a=n;break}}else c=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,a=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(n=e.length-1;n>=r;--n){const c=e.charCodeAt(n);if(s(c)){if(!a){r=n+1;break}}else-1===l&&(a=!1,l=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=l))}return r===i?i=l:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=0,n=-1,r=0,i=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!a){r=o+1;break}}else-1===i&&(a=!1,i=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===i||0===c||1===c&&n===i-1&&n===r+1?"":e.slice(n,i)},format:d.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return s(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(i)){if(r=1,s(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(l(i)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(r=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let a=-1,c=r,d=-1,h=!0,p=e.length-1,u=0;for(;p>=r;--p)if(i=e.charCodeAt(p),s(i)){if(!h){c=p+1;break}}else-1===d&&(h=!1,d=p+1),46===i?-1===a?a=p:1!==u&&(u=1):-1!==a&&(u=-1);return-1!==d&&(-1===a||0===u||1===u&&a===d-1&&a===c+1?t.base=t.name=e.slice(c,d):(t.name=e.slice(c,a),t.base=e.slice(c,d),t.ext=e.slice(a,d))),t.dir=c>0&&c!==r?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},p={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const s=i>=0?e[i]:r.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=c(t,!n,"/",a),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",a)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];o(r,"path"),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":p.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=p.resolve(e))===(t=p.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let a=-1,l=0;for(;l<s;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;47===n&&(a=l)}if(l===s)if(i>s){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else r>s&&(47===e.charCodeAt(1+l)?a=l:0===l&&(a=0));let c="";for(l=1+a+1;l<=n;++l)l!==n&&47!==e.charCodeAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(47===l){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(47!==a)-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:d.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,l=!0,c=e.length-1,d=0;for(;c>=r;--c){const t=e.charCodeAt(c);if(47!==t)-1===a&&(l=!1,a=c+1),46===t?-1===i?i=c:1!==d&&(d=1):-1!==i&&(d=-1);else if(!l){s=c+1;break}}if(-1!==a){const r=0===s&&n?1:s;-1===i||0===d||1===d&&i===a-1&&i===s+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};p.win32=h.win32=h,p.posix=h.posix=p;const u="win32"===r.c?h.normalize:p.normalize,m="win32"===r.c?h.resolve:p.resolve,f="win32"===r.c?h.relative:p.relative,g="win32"===r.c?h.dirname:p.dirname,b="win32"===r.c?h.basename:p.basename,y="win32"===r.c?h.extname:p.extname,v="win32"===r.c?h.sep:p.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return f}));var r=n(13);class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,s=new i,a=new i;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function d(e,t){if(0===e)return null;const n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new u(0!==r?[h(n,t),h(r,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),r=!!(256&e);return new p(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n=t,r=n){o.define(e,t),s.define(e,n),a.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(l||(l={}));class p{constructor(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new u([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class u{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}class f{}},48:function(e,t,n){"use strict";var r;n.d(t,"g",(function(){return pr})),n.d(t,"d",(function(){return mn})),n.d(t,"b",(function(){return bn})),n.d(t,"a",(function(){return Wn})),n.d(t,"e",(function(){return Un})),n.d(t,"c",(function(){return Yn})),n.d(t,"f",(function(){return Xn})),n.d(t,"h",(function(){return Ko})),n.d(t,"j",(function(){return qo})),n.d(t,"i",(function(){return $o})),function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"}(r||(r={}));var i=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),o="a".charCodeAt(0),s="f".charCodeAt(0),a="z".charCodeAt(0),l="A".charCodeAt(0),c="F".charCodeAt(0),d="Z".charCodeAt(0),h="0".charCodeAt(0),p="9".charCodeAt(0),u="~".charCodeAt(0),m="^".charCodeAt(0),f="=".charCodeAt(0),g="|".charCodeAt(0),b="-".charCodeAt(0),y="_".charCodeAt(0),v="%".charCodeAt(0),w="*".charCodeAt(0),x="(".charCodeAt(0),S=")".charCodeAt(0),C="<".charCodeAt(0),k=">".charCodeAt(0),E="@".charCodeAt(0),_="#".charCodeAt(0),F="$".charCodeAt(0),D="\\".charCodeAt(0),T="/".charCodeAt(0),R="\n".charCodeAt(0),N="\r".charCodeAt(0),z="\f".charCodeAt(0),A='"'.charCodeAt(0),I="'".charCodeAt(0),M=" ".charCodeAt(0),P="\t".charCodeAt(0),O=";".charCodeAt(0),L=":".charCodeAt(0),W="{".charCodeAt(0),U="}".charCodeAt(0),j="[".charCodeAt(0),V="]".charCodeAt(0),B=",".charCodeAt(0),K=".".charCodeAt(0),q="!".charCodeAt(0),$={};$[O]=r.SemiColon,$[L]=r.Colon,$[W]=r.CurlyL,$[U]=r.CurlyR,$[V]=r.BracketR,$[j]=r.BracketL,$[x]=r.ParenthesisL,$[S]=r.ParenthesisR,$[B]=r.Comma;var G={};G.em=r.EMS,G.ex=r.EXS,G.px=r.Length,G.cm=r.Length,G.mm=r.Length,G.in=r.Length,G.pt=r.Length,G.pc=r.Length,G.deg=r.Angle,G.rad=r.Angle,G.grad=r.Angle,G.ms=r.Time,G.s=r.Time,G.hz=r.Freq,G.khz=r.Freq,G["%"]=r.Percentage,G.fr=r.Percentage,G.dpi=r.Resolution,G.dpcm=r.Resolution;var H=function(){function e(){this.stream=new i(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new i(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,r.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,r.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([C,q,b,b]))return this.finishToken(e,r.CDO);if(this.stream.advanceIfChars([b,b,k]))return this.finishToken(e,r.CDC);var t=[];if(this.ident(t))return this.finishToken(e,r.Ident,t.join(""));if(this.stream.advanceIfChar(E)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,r.Charset,n):this.finishToken(e,r.AtKeyword,n)}return this.finishToken(e,r.Delim)}if(this.stream.advanceIfChar(_))return t=["#"],this._name(t)?this.finishToken(e,r.Hash,t.join("")):this.finishToken(e,r.Delim);if(this.stream.advanceIfChar(q))return this.finishToken(e,r.Exclamation);if(this._number()){var i=this.stream.pos();if(t=[this.stream.substring(e,i)],this.stream.advanceIfChar(v))return this.finishToken(e,r.Percentage);if(this.ident(t)){var o=this.stream.substring(i).toLowerCase(),s=G[o];return void 0!==s?this.finishToken(e,s,t.join("")):this.finishToken(e,r.Dimension,t.join(""))}return this.finishToken(e,r.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):void 0!==(a=$[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===u&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.Includes)):this.stream.peekChar(0)===g&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.Dashmatch)):this.stream.peekChar(0)===w&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.SubstringOperator)):this.stream.peekChar(0)===m&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.PrefixOperator)):this.stream.peekChar(0)===F&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(e,r.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,r.Delim))},e.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,r.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,r.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([T,w])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===T?(e=!0,!1):(t=n===w,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===K&&(t=1),(e=this.stream.peekChar(t))>=h&&e<=p&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=h&&e<=p||0===t&&e===K})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case N:case z:case R:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===N&&this.stream.advanceIfChar(R)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===D){this.stream.advance(1),n=this.stream.peekChar();for(var r=0;r<6&&(n>=h&&n<=p||n>=o&&n<=s||n>=l&&n<=c);)this.stream.advance(1),n=this.stream.peekChar(),r++;if(r>0){try{var i=parseInt(this.stream.substring(this.stream.pos()-r),16);i&&e.push(String.fromCharCode(i))}catch(e){}return n===M||n===P?this.stream.advance(1):this._newline([]),!0}if(n!==N&&n!==z&&n!==R)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==D&&n!==N&&n!==z&&n!==R&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===I||this.stream.peekChar()===A){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),r.String):r.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==D&&t!==I&&t!==A&&t!==x&&t!==S&&t!==M&&t!==P&&t!==R&&t!==z&&t!==N&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},e.prototype._whitespace=function(){return this.stream.advanceWhileChar((function(e){return e===M||e===P||e===R||e===z||e===N}))>0},e.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos();if(this._minus(e)&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===y||t>=o&&t<=a||t>=l&&t<=d||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===b&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===y||t===b||t>=o&&t<=a||t>=l&&t<=d||t>=h&&t<=p||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}();function Y(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function J(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function X(e,t){return void 0===t&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}var Q,Z,ee,te=(Q=function(e,t){return(Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function ne(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function re(e,t){for(var n=ne(e,t),r=[];n;)r.unshift(n),n=n.parent;return r}!function(e){e[e.Undefined=0]="Undefined",e[e.Identifier=1]="Identifier",e[e.Stylesheet=2]="Stylesheet",e[e.Ruleset=3]="Ruleset",e[e.Selector=4]="Selector",e[e.SimpleSelector=5]="SimpleSelector",e[e.SelectorInterpolation=6]="SelectorInterpolation",e[e.SelectorCombinator=7]="SelectorCombinator",e[e.SelectorCombinatorParent=8]="SelectorCombinatorParent",e[e.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",e[e.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",e[e.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",e[e.Page=12]="Page",e[e.PageBoxMarginBox=13]="PageBoxMarginBox",e[e.ClassSelector=14]="ClassSelector",e[e.IdentifierSelector=15]="IdentifierSelector",e[e.ElementNameSelector=16]="ElementNameSelector",e[e.PseudoSelector=17]="PseudoSelector",e[e.AttributeSelector=18]="AttributeSelector",e[e.Declaration=19]="Declaration",e[e.Declarations=20]="Declarations",e[e.Property=21]="Property",e[e.Expression=22]="Expression",e[e.BinaryExpression=23]="BinaryExpression",e[e.Term=24]="Term",e[e.Operator=25]="Operator",e[e.Value=26]="Value",e[e.StringLiteral=27]="StringLiteral",e[e.URILiteral=28]="URILiteral",e[e.EscapedValue=29]="EscapedValue",e[e.Function=30]="Function",e[e.NumericValue=31]="NumericValue",e[e.HexColorValue=32]="HexColorValue",e[e.MixinDeclaration=33]="MixinDeclaration",e[e.MixinReference=34]="MixinReference",e[e.VariableName=35]="VariableName",e[e.VariableDeclaration=36]="VariableDeclaration",e[e.Prio=37]="Prio",e[e.Interpolation=38]="Interpolation",e[e.NestedProperties=39]="NestedProperties",e[e.ExtendsReference=40]="ExtendsReference",e[e.SelectorPlaceholder=41]="SelectorPlaceholder",e[e.Debug=42]="Debug",e[e.If=43]="If",e[e.Else=44]="Else",e[e.For=45]="For",e[e.Each=46]="Each",e[e.While=47]="While",e[e.MixinContentReference=48]="MixinContentReference",e[e.MixinContentDeclaration=49]="MixinContentDeclaration",e[e.Media=50]="Media",e[e.Keyframe=51]="Keyframe",e[e.FontFace=52]="FontFace",e[e.Import=53]="Import",e[e.Namespace=54]="Namespace",e[e.Invocation=55]="Invocation",e[e.FunctionDeclaration=56]="FunctionDeclaration",e[e.ReturnStatement=57]="ReturnStatement",e[e.MediaQuery=58]="MediaQuery",e[e.FunctionParameter=59]="FunctionParameter",e[e.FunctionArgument=60]="FunctionArgument",e[e.KeyframeSelector=61]="KeyframeSelector",e[e.ViewPort=62]="ViewPort",e[e.Document=63]="Document",e[e.AtApplyRule=64]="AtApplyRule",e[e.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",e[e.CustomPropertySet=66]="CustomPropertySet",e[e.ListEntry=67]="ListEntry",e[e.Supports=68]="Supports",e[e.SupportsCondition=69]="SupportsCondition",e[e.NamespacePrefix=70]="NamespacePrefix",e[e.GridLine=71]="GridLine",e[e.Plugin=72]="Plugin",e[e.UnknownAtRule=73]="UnknownAtRule",e[e.Use=74]="Use",e[e.ModuleConfiguration=75]="ModuleConfiguration",e[e.Forward=76]="Forward",e[e.ForwardVisibility=77]="ForwardVisibility",e[e.Module=78]="Module"}(Z||(Z={})),function(e){e[e.Mixin=0]="Mixin",e[e.Rule=1]="Rule",e[e.Variable=2]="Variable",e[e.Function=3]="Function",e[e.Keyframe=4]="Keyframe",e[e.Unknown=5]="Unknown",e[e.Module=6]="Module",e[e.Forward=7]="Forward",e[e.ForwardVisibility=8]="ForwardVisibility"}(ee||(ee={}));var ie,oe=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||Z.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){n[t].accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var r=this.children;return r||(r=this.children=[]),-1!==t?r.splice(t,0,e):r.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.addChild(r)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if((t=this.children[n]).offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){for(var e=this.parent;e instanceof se;)e=e.parent;return e},e.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this;n&&!e.some((function(e){return n.type===e}));)n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),se=function(e){function t(t,n){void 0===n&&(n=-1);var r=e.call(this,-1,-1)||this;return r.attachTo(t,n),r.offset=-1,r.length=-1,r}return te(t,e),t}(oe),ae=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.isCustomProperty=!1,r}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(oe),le=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Stylesheet},enumerable:!0,configurable:!0}),t}(oe),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Declarations},enumerable:!0,configurable:!0}),t}(oe),de=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(oe),he=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(Z.Declarations)},t}(de),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Selector},enumerable:!0,configurable:!0}),t}(oe),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.SimpleSelector},enumerable:!0,configurable:!0}),t}(oe),me=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(oe),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t}(oe),ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(fe),be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.CustomPropertySet},enumerable:!0,configurable:!0}),t}(de),ye=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.property=null,r}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof ce&&this.parent.getParent()instanceof Ne){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(fe),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return e=this.getText(),(t=/[_\+]+$/.exec(e))&&t[0].length?e.substr(0,e.length-t[0].length):e;var e,t},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(oe),we=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(oe)),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(oe),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(oe),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(de),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(de),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new se(this)),this.variables},t}(de),_e=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.While},enumerable:!0,configurable:!0}),t}(de),Fe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Else},enumerable:!0,configurable:!0}),t}(de),De=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ViewPort},enumerable:!0,configurable:!0}),t}(de),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.FontFace},enumerable:!0,configurable:!0}),t}(de),Ne=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.NestedProperties},enumerable:!0,configurable:!0}),t}(de),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(de),Ae=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.KeyframeSelector},enumerable:!0,configurable:!0}),t}(de),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(oe),Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(oe),Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),Le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe),We=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Namespace},enumerable:!0,configurable:!0}),t}(oe),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Media},enumerable:!0,configurable:!0}),t}(de),je=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Supports},enumerable:!0,configurable:!0}),t}(de),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Document},enumerable:!0,configurable:!0}),t}(de),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new se(this)),this.mediums},t}(oe),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MediaQuery},enumerable:!0,configurable:!0}),t}(oe),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.SupportsCondition},enumerable:!0,configurable:!0}),t}(oe),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Page},enumerable:!0,configurable:!0}),t}(de),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(de),He=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Expression},enumerable:!0,configurable:!0}),t}(oe),Ye=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(oe),Je=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(oe),Xe=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(oe),Qe=(function(e){function t(t,n){return e.call(this,t,n)||this}te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Operator},enumerable:!0,configurable:!0})}(oe),function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.HexColorValue},enumerable:!0,configurable:!0}),t}(oe)),Ze=".".charCodeAt(0),et="0".charCodeAt(0),tt="9".charCodeAt(0),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,r=0,i=t.length;r<i&&(e=t.charCodeAt(r),et<=e&&e<=tt||e===Ze);r++)n+=1;return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(oe),rt=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.variable=null,r.value=null,r.needsSemicolon=!0,r}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(fe),it=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Interpolation},enumerable:!0,configurable:!0}),t}(oe),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(oe),st=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new se(this)),this.selectors},t}(oe),at=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t}(oe),lt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinContentReference},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t}(de),ct=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new se(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new se(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(oe),dt=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new se(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(de),ht=function(e){function t(t,n){return e.call(this,t,n)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(de),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(oe),ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new se(this)),this.conditions},t}(oe),mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(oe),ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Z.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(oe);!function(e){e[e.Ignore=1]="Ignore",e[e.Warning=2]="Warning",e[e.Error=4]="Error"}(ie||(ie={}));var gt=function(){function e(e,t,n,r,i,o){void 0===i&&(i=e.offset),void 0===o&&(o=e.length),this.node=e,this.rule=t,this.level=n,this.message=r||t.message,this.offset=i,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),bt=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function yt(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return void 0!==t[r]?t[r]:e}))}function vt(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return yt(t,n)}function wt(e){return vt}var xt=wt(),St=function(e,t){this.id=e,this.message=t},Ct={NumberExpected:new St("css-numberexpected",xt("expected.number","number expected")),ConditionExpected:new St("css-conditionexpected",xt("expected.condt","condition expected")),RuleOrSelectorExpected:new St("css-ruleorselectorexpected",xt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new St("css-dotexpected",xt("expected.dot","dot expected")),ColonExpected:new St("css-colonexpected",xt("expected.colon","colon expected")),SemiColonExpected:new St("css-semicolonexpected",xt("expected.semicolon","semi-colon expected")),TermExpected:new St("css-termexpected",xt("expected.term","term expected")),ExpressionExpected:new St("css-expressionexpected",xt("expected.expression","expression expected")),OperatorExpected:new St("css-operatorexpected",xt("expected.operator","operator expected")),IdentifierExpected:new St("css-identifierexpected",xt("expected.ident","identifier expected")),PercentageExpected:new St("css-percentageexpected",xt("expected.percentage","percentage expected")),URIOrStringExpected:new St("css-uriorstringexpected",xt("expected.uriorstring","uri or string expected")),URIExpected:new St("css-uriexpected",xt("expected.uri","URI expected")),VariableNameExpected:new St("css-varnameexpected",xt("expected.varname","variable name expected")),VariableValueExpected:new St("css-varvalueexpected",xt("expected.varvalue","variable value expected")),PropertyValueExpected:new St("css-propertyvalueexpected",xt("expected.propvalue","property value expected")),LeftCurlyExpected:new St("css-lcurlyexpected",xt("expected.lcurly","{ expected")),RightCurlyExpected:new St("css-rcurlyexpected",xt("expected.rcurly","} expected")),LeftSquareBracketExpected:new St("css-rbracketexpected",xt("expected.lsquare","[ expected")),RightSquareBracketExpected:new St("css-lbracketexpected",xt("expected.rsquare","] expected")),LeftParenthesisExpected:new St("css-lparentexpected",xt("expected.lparen","( expected")),RightParenthesisExpected:new St("css-rparentexpected",xt("expected.rparent",") expected")),CommaExpected:new St("css-commaexpected",xt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new St("css-pagedirordeclexpected",xt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new St("css-unknownatrule",xt("unknown.atrule","at-rule unknown")),UnknownKeyword:new St("css-unknownkeyword",xt("unknown.keyword","unknown keyword")),SelectorExpected:new St("css-selectorexpected",xt("expected.selector","selector expected")),StringLiteralExpected:new St("css-stringliteralexpected",xt("expected.stringliteral","string literal expected")),WhitespaceExpected:new St("css-whitespaceexpected",xt("expected.whitespace","whitespace expected")),MediaQueryExpected:new St("css-mediaqueryexpected",xt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new St("css-idorwildcardexpected",xt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new St("css-wildcardexpected",xt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new St("css-idorvarexpected",xt("expected.idorvar","identifier or variable expected"))},kt={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function Et(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function _t(e,t){var n;if(""!==(n=t?{kind:"markdown",value:Tt(e)}:{kind:"plaintext",value:Dt(e)}).value)return n}function Ft(e){return(e=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(/</g,"<").replace(/>/g,">")}function Dt(e){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;var t="";e.status&&(t+=Et(e.status)),t+=e.description;var n=Rt(e.browsers);return n&&(t+="\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return e.name+": "+e.url})).join(" | ")),t}function Tt(e){if(!e.description||""===e.description)return"";var t="";e.status&&(t+=Et(e.status)),t+=Ft("string"==typeof e.description?e.description:e.description.value);var n=Rt(e.browsers);return n&&(t+="\n\n("+Ft(n)+")"),"syntax"in e&&e.syntax&&(t+="\n\nSyntax: "+Ft(e.syntax)),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | ")),t}function Rt(e){return void 0===e&&(e=[]),0===e.length?null:e.map((function(e){var t="",n=e.match(/([A-Z]+)(\d+)?/),r=n[1],i=n[2];return r in kt&&(t+=kt[r]),i&&(t+=" "+i),t})).join(", ")}var Nt=wt(),zt=[{func:"rgb($red, $green, $blue)",desc:Nt("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Nt("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Nt("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Nt("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],At={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},It={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Mt(e,t){var n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);var r=parseFloat(n[1])/t;if(r>=0&&r<=1)return r}throw new Error}function Pt(e){var t=e.getName();return!!t&&/^(rgb|rgba|hsl|hsla)$/gi.test(t)}function Ot(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Lt(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ot(e.charCodeAt(1))/255,green:17*Ot(e.charCodeAt(2))/255,blue:17*Ot(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ot(e.charCodeAt(1))/255,green:17*Ot(e.charCodeAt(2))/255,blue:17*Ot(e.charCodeAt(3))/255,alpha:17*Ot(e.charCodeAt(4))/255};case 7:return{red:(16*Ot(e.charCodeAt(1))+Ot(e.charCodeAt(2)))/255,green:(16*Ot(e.charCodeAt(3))+Ot(e.charCodeAt(4)))/255,blue:(16*Ot(e.charCodeAt(5))+Ot(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ot(e.charCodeAt(1))+Ot(e.charCodeAt(2)))/255,green:(16*Ot(e.charCodeAt(3))+Ot(e.charCodeAt(4)))/255,blue:(16*Ot(e.charCodeAt(5))+Ot(e.charCodeAt(6)))/255,alpha:(16*Ot(e.charCodeAt(7))+Ot(e.charCodeAt(8)))/255}}return null}function Wt(e){if(e.type===Z.HexColorValue)return Lt(e.getText());if(e.type===Z.Function){var t=e,n=t.getName(),r=t.getArguments().getChildren();if(!n||r.length<3||r.length>4)return null;try{var i=4===r.length?Mt(r[3],1):1;if("rgb"===n||"rgba"===n)return{red:Mt(r[0],255),green:Mt(r[1],255),blue:Mt(r[2],255),alpha:i};if("hsl"===n||"hsla"===n)return function(e,t,n,r){if(void 0===r&&(r=1),0===t)return{red:n,green:n,blue:n,alpha:r};var i=function(e,t,n){for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return{red:i(s,o,(e/=60)+2),green:i(s,o,e),blue:i(s,o,e-2),alpha:r}}(function(e){var t=e.getText();if(t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(t)%360;throw new Error}(r[0]),Mt(r[1],100),Mt(r[2],100),i)}catch(e){return null}}else if(e.type===Z.Identifier){if(e.parent&&e.parent.type!==Z.Term)return null;var o=e.parent;if(o&&o.parent&&o.parent.type===Z.BinaryExpression){var s=o.parent;if(s.parent&&s.parent.type===Z.ListEntry&&s.parent.key===s)return null}var a=e.getText().toLowerCase();if("none"===a)return null;var l=At[a];if(l)return Lt(l)}return null}var Ut={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},jt={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},Vt={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Bt=["medium","thick","thin"],Kt={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},qt={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},$t={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Gt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Ht={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Yt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Jt={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Xt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Qt=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],Zt=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function en(e){return Object.keys(e).map((function(t){return e[t]}))}function tn(e){return void 0!==e}var nn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r},rn=function(){function e(e){void 0===e&&(e=new H),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=e,this.token={type:r.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return e.prototype.peekIdent=function(e){return r.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(e){return r.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekDelim=function(e){return r.Delim===this.token.type&&e===this.token.text},e.prototype.peek=function(e){return e===this.token.type},e.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},e.prototype.try=function(e){var t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)},e.prototype.acceptOneKeyword=function(e){if(r.AtKeyword===this.token.type)for(var t=0,n=e;t<n.length;t++){var i=n[t];if(i.length===this.token.text.length&&i===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(e){return e===this.token.type&&(this.consumeToken(),!0)},e.prototype.acceptIdent=function(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)},e.prototype.acceptKeyword=function(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)},e.prototype.acceptDelim=function(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)},e.prototype.acceptRegexp=function(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)},e.prototype._parseRegexp=function(e){var t=this.createNode(Z.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)},e.prototype.acceptUnquotedString=function(){var e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)},e.prototype.resync=function(e,t){for(;;){if(e&&-1!==e.indexOf(this.token.type))return this.consumeToken(),!0;if(t&&-1!==t.indexOf(this.token.type))return!0;if(this.token.type===r.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(e){return new oe(this.token.offset,this.token.len,e)},e.prototype.create=function(e){return new e(this.token.offset,this.token.len)},e.prototype.finish=function(e,t,n,r){if(!(e instanceof se)&&(t&&this.markError(e,t,n,r),this.prevToken)){var i=this.prevToken.offset+this.prevToken.len;e.length=i>e.offset?i-e.offset:0}return e},e.prototype.markError=function(e,t,n,r){this.token!==this.lastErrorToken&&(e.addIssue(new gt(e,t,ie.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||r)&&this.resync(n,r)},e.prototype.parseStylesheet=function(e){var t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,(function(r,i){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(r,i)}))},e.prototype.internalParse=function(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();var r=t.bind(this)();return r&&(r.textProvider=n||function(t,n){return e.substr(t,n)}),r},e.prototype._parseStylesheet=function(){for(var e=this.create(le);e.addChild(this._parseStylesheetStart()););var t=!1;do{var n=!1;do{n=!1;var i=this._parseStylesheetStatement();for(i&&(e.addChild(i),n=!0,t=!1,this.peek(r.EOF)||!this._needsSemicolonAfter(i)||this.accept(r.SemiColon)||this.markError(e,Ct.SemiColonExpected));this.accept(r.SemiColon)||this.accept(r.CDO)||this.accept(r.CDC);)n=!0,t=!1}while(n);if(this.peek(r.EOF))break;t||(this.peek(r.AtKeyword)?this.markError(e,Ct.UnknownAtRule):this.markError(e,Ct.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(r.EOF));return this.finish(e)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(e){return void 0===e&&(e=!1),this.peek(r.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},e.prototype._parseStylesheetAtStatement=function(e){return void 0===e&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(r.Comma)&&this._parseSelector(e););if(this.accept(r.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},e.prototype._parseRuleset=function(e){void 0===e&&(e=!1);var t=this.create(he),n=t.getSelectors();if(!n.addChild(this._parseSelector(e)))return null;for(;this.accept(r.Comma);)if(!n.addChild(this._parseSelector(e)))return this.finish(t,Ct.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseAtApply()||this._parseUnknownAtRule()},e.prototype._parseRuleSetDeclaration=function(){return this.peek(r.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()},e.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var e=this.create(me);return this.consumeToken(),e.setIdentifier(this._parseIdent([ee.Variable]))?this.finish(e):this.finish(e,Ct.IdentifierExpected)},e.prototype._needsSemicolonAfter=function(e){switch(e.type){case Z.Keyframe:case Z.ViewPort:case Z.Media:case Z.Ruleset:case Z.Namespace:case Z.If:case Z.For:case Z.Each:case Z.While:case Z.MixinDeclaration:case Z.FunctionDeclaration:case Z.MixinContentDeclaration:return!1;case Z.ExtendsReference:case Z.MixinContentReference:case Z.ReturnStatement:case Z.MediaQuery:case Z.Debug:case Z.Import:case Z.AtApplyRule:case Z.CustomPropertyDeclaration:return!0;case Z.VariableDeclaration:return e.needsSemicolon;case Z.MixinReference:return!e.getContent();case Z.Declaration:return!e.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(e){var t=this.create(ce);if(!this.accept(r.CurlyL))return null;for(var n=e();t.addChild(n)&&!this.peek(r.CurlyR);){if(this._needsSemicolonAfter(n)&&!this.accept(r.SemiColon))return this.finish(t,Ct.SemiColonExpected,[r.SemiColon,r.CurlyR]);for(n&&this.prevToken&&this.prevToken.type===r.SemiColon&&(n.semicolonPosition=this.prevToken.offset);this.accept(r.SemiColon););n=e()}return this.accept(r.CurlyR)?this.finish(t):this.finish(t,Ct.RightCurlyExpected,[r.CurlyR,r.SemiColon])},e.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,Ct.LeftCurlyExpected,[r.CurlyR,r.SemiColon])},e.prototype._parseSelector=function(e){var t=this.create(pe),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null},e.prototype._parseDeclaration=function(e){var t=this.create(ye);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(r.Colon)){var n=e?nn(e,[r.SemiColon]):[r.SemiColon];return this.finish(t,Ct.ColonExpected,[r.Colon],n)}return this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseExpr())?(t.addChild(this._parsePrio()),this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):this.finish(t,Ct.PropertyValueExpected)},e.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(r.Ident,/^--/))return null;var e=this.create(ge);if(!e.setProperty(this._parseProperty()))return null;if(!this.accept(r.Colon))return this.finish(e,Ct.ColonExpected,[r.Colon]);this.prevToken&&(e.colonPosition=this.prevToken.offset);var t=this.mark();if(this.peek(r.CurlyL)){var n=this.create(be),i=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(n.setDeclarations(i)&&!i.isErroneous(!0)&&(n.addChild(this._parsePrio()),this.peek(r.SemiColon)))return this.finish(n),e.setPropertySet(n),e.semicolonPosition=this.token.offset,this.finish(e);this.restoreAtMark(t)}var o=this._parseExpr();return o&&!o.isErroneous(!0)&&(this._parsePrio(),this.peek(r.SemiColon))?(e.setValue(o),e.semicolonPosition=this.token.offset,this.finish(e)):(this.restoreAtMark(t),e.addChild(this._parseCustomPropertyValue()),e.addChild(this._parsePrio()),tn(e.colonPosition)&&this.token.offset===e.colonPosition+1?this.finish(e,Ct.PropertyValueExpected):this.finish(e))},e.prototype._parseCustomPropertyValue=function(){var e=this.create(oe),t=function(){return 0===n&&0===i&&0===o},n=0,i=0,o=0;e:for(;;){switch(this.token.type){case r.SemiColon:case r.Exclamation:if(t())break e;break;case r.CurlyL:n++;break;case r.CurlyR:if(--n<0){if(0===i&&0===o)break e;return this.finish(e,Ct.LeftCurlyExpected)}break;case r.ParenthesisL:i++;break;case r.ParenthesisR:if(--i<0)return this.finish(e,Ct.LeftParenthesisExpected);break;case r.BracketL:o++;break;case r.BracketR:if(--o<0)return this.finish(e,Ct.LeftSquareBracketExpected);break;case r.BadString:break e;case r.EOF:var s=Ct.RightCurlyExpected;return o>0?s=Ct.RightSquareBracketExpected:i>0&&(s=Ct.RightParenthesisExpected),this.finish(e,s)}this.consumeToken()}return this.finish(e)},e.prototype._tryToParseDeclaration=function(){var e=this.mark();return this._parseProperty()&&this.accept(r.Colon)?(this.restoreAtMark(e),this._parseDeclaration()):(this.restoreAtMark(e),null)},e.prototype._parseProperty=function(){var e=this.create(ve),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(r.Charset))return null;var e=this.create(oe);return this.consumeToken(),this.accept(r.String)?this.accept(r.SemiColon)?this.finish(e):this.finish(e,Ct.SemiColonExpected):this.finish(e,Ct.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Ie);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(r.SemiColon)||this.peek(r.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,Ct.URIOrStringExpected)},e.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(We);return this.consumeToken(),e.addChild(this._parseURILiteral())||(e.addChild(this._parseIdent()),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral()))?this.accept(r.SemiColon)?this.finish(e):this.finish(e,Ct.SemiColonExpected):this.finish(e,Ct.URIExpected,[r.SemiColon])},e.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(Re);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(Te);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(r.AtKeyword,this.keyframeRegex))return null;var e=this.create(ze),t=this.create(oe);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,Ct.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,Ct.IdentifierExpected,[r.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])},e.prototype._parseKeyframeSelector=function(){var e=this.create(Ae);if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return null;for(;this.accept(r.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return this.finish(e,Ct.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var e=this.create(Ae),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return null;for(;this.accept(r.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(r.Percentage))return this.restoreAtMark(t),null;return this.peek(r.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},e.prototype._parseSupports=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(je);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},e.prototype._parseSupportsDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var e=this.create(qe);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(r.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},e.prototype._parseSupportsConditionInParens=function(){var e=this.create(qe);if(this.accept(r.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),e.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(r.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,Ct.RightParenthesisExpected,[r.ParenthesisR],[]):this.finish(e,Ct.ConditionExpected);if(this.peek(r.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(r.ParenthesisL)){for(var n=1;this.token.type!==r.EOF&&0!==n;)this.token.type===r.ParenthesisL?n++:this.token.type===r.ParenthesisR&&n--,this.consumeToken();return this.finish(e)}this.restoreAtMark(t)}return this.finish(e,Ct.LeftParenthesisExpected,[],[r.ParenthesisL])},e.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(Ue);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,Ct.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var e=this.create(Be);if(!e.addChild(this._parseMediaQuery([r.CurlyL])))return this.finish(e,Ct.MediaQueryExpected);for(;this.accept(r.Comma);)if(!e.addChild(this._parseMediaQuery([r.CurlyL])))return this.finish(e,Ct.MediaQueryExpected);return this.finish(e)},e.prototype._parseMediaQuery=function(e){var t=this.create(Ke),n=!0,i=!1;if(!this.peek(r.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!t.addChild(this._parseIdent()))return null;i=!0,n=this.acceptIdent("and")}for(;n;)if(t.addChild(this._parseMediaContentStart()))n=this.acceptIdent("and");else{if(!this.accept(r.ParenthesisL))return i?this.finish(t,Ct.LeftParenthesisExpected,[],e):null;if(!t.addChild(this._parseMediaFeatureName()))return this.finish(t,Ct.IdentifierExpected,[],e);if(this.accept(r.Colon)&&!t.addChild(this._parseExpr()))return this.finish(t,Ct.TermExpected,[],e);if(!this.accept(r.ParenthesisR))return this.finish(t,Ct.RightParenthesisExpected,[],e);n=this.acceptIdent("and")}return this.finish(t)},e.prototype._parseMediaContentStart=function(){return null},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMedium=function(){var e=this.create(oe);return e.addChild(this._parseIdent())?this.finish(e):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create($e);if(this.consumeToken(),e.addChild(this._parsePageSelector()))for(;this.accept(r.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,Ct.IdentifierExpected);return this._parseBody(e,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(r.AtKeyword))return null;var e=this.create(Ge);return this.acceptOneKeyword(Zt)||this.markError(e,Ct.UnknownAtRule,[],[r.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(r.Ident)&&!this.peek(r.Colon))return null;var e=this.create(oe);return e.addChild(this._parseIdent()),this.accept(r.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,Ct.IdentifierExpected):this.finish(e)},e.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(Ve);return this.consumeToken(),this.resync([],[r.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(r.AtKeyword))return null;var e=this.create(ht);e.addChild(this._parseUnknownAtRuleName());var t=0,n=0,i=0,o=0;e:for(;;){switch(this.token.type){case r.SemiColon:if(0===n&&0===i&&0===o)break e;break;case r.EOF:return n>0?this.finish(e,Ct.RightCurlyExpected):o>0?this.finish(e,Ct.RightSquareBracketExpected):i>0?this.finish(e,Ct.RightParenthesisExpected):this.finish(e);case r.CurlyL:t++,n++;break;case r.CurlyR:if(n--,t>0&&0===n){if(this.consumeToken(),o>0)return this.finish(e,Ct.RightSquareBracketExpected);if(i>0)return this.finish(e,Ct.RightParenthesisExpected);break e}if(n<0){if(0===i&&0===o)break e;return this.finish(e,Ct.LeftCurlyExpected)}break;case r.ParenthesisL:i++;break;case r.ParenthesisR:if(--i<0)return this.finish(e,Ct.LeftParenthesisExpected);break;case r.BracketL:o++;break;case r.BracketR:if(--o<0)return this.finish(e,Ct.LeftSquareBracketExpected)}this.consumeToken()}return e},e.prototype._parseUnknownAtRuleName=function(){var e=this.create(oe);return this.accept(r.AtKeyword)?this.finish(e):e},e.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(r.Dashmatch)||this.peek(r.Includes)||this.peek(r.SubstringOperator)||this.peek(r.PrefixOperator)||this.peek(r.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(Z.Operator);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(oe);return this.consumeToken(),this.finish(e)},e.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(oe);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=Z.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=Z.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){e=this.create(oe);return this.consumeToken(),e.type=Z.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){e=this.create(oe);return this.consumeToken(),e.type=Z.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){e=this.create(oe);this.consumeToken();t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=Z.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},e.prototype._parseSimpleSelector=function(){var e=this.create(ue),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(r.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(Z.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,Ct.IdentifierExpected)}else this.consumeToken();return this.finish(e)},e.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(Z.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,Ct.IdentifierExpected):this.finish(e)},e.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(Z.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(Z.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseAttrib=function(){if(!this.peek(r.BracketL))return null;var e=this.create(Xe);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(r.BracketR)?this.finish(e):this.finish(e,Ct.RightSquareBracketExpected)):this.finish(e,Ct.IdentifierExpected)},e.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(r.ParenthesisL)){if(t.addChild(this.try((function(){var t=e.create(oe);if(!t.addChild(e._parseSelector(!1)))return null;for(;e.accept(r.Comma)&&t.addChild(e._parseSelector(!1)););return e.peek(r.ParenthesisR)?e.finish(t):null}))||this._parseBinaryExpr()),!this.accept(r.ParenthesisR))return this.finish(t,Ct.RightParenthesisExpected)}return this.finish(t)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(r.Colon))return null;var e=this.mark(),t=this.createNode(Z.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(r.Colon)&&this.hasWhitespace()&&this.markError(t,Ct.IdentifierExpected),t.addChild(this._parseIdent())||this.markError(t,Ct.IdentifierExpected),t)},e.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},e.prototype._parsePrio=function(){if(!this.peek(r.Exclamation))return null;var e=this.createNode(Z.Prio);return this.accept(r.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},e.prototype._parseExpr=function(e){void 0===e&&(e=!1);var t=this.create(He);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(r.Comma)){if(e)return this.finish(t);this.consumeToken()}if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},e.prototype._parseNamedLine=function(){if(!this.peek(r.BracketL))return null;var e=this.createNode(Z.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(r.BracketR)?this.finish(e):this.finish(e,Ct.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(e,t){var n=this.create(Ye);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,Ct.TermExpected);n=this.finish(n);var r=this._parseOperator();return r&&(n=this._parseBinaryExpr(n,r)),this.finish(n)},e.prototype._parseTerm=function(){var e=this.create(Je);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseTermExpression())?this.finish(e):null},e.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},e.prototype._parseOperation=function(){if(!this.peek(r.ParenthesisL))return null;var e=this.create(oe);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(r.Num)||this.peek(r.Percentage)||this.peek(r.Resolution)||this.peek(r.Length)||this.peek(r.EMS)||this.peek(r.EXS)||this.peek(r.Angle)||this.peek(r.Time)||this.peek(r.Dimension)||this.peek(r.Freq)){var e=this.create(nt);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(r.String)&&!this.peek(r.BadString))return null;var e=this.createNode(Z.StringLiteral);return this.consumeToken(),this.finish(e)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(r.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(Z.URILiteral);return this.accept(r.Ident),this.hasWhitespace()||!this.peek(r.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var e=this.create(oe);return this.accept(r.String)||this.accept(r.BadString)||this.acceptUnquotedString()?this.finish(e):null},e.prototype._parseIdent=function(e){if(!this.peek(r.Ident))return null;var t=this.create(ae);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(r.Ident,/^--/),this.consumeToken(),this.finish(t)},e.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,Ct.ExpressionExpected);return this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(r.Ident))return null;var e=this.create(ae);if(e.referenceTypes=[ee.Function],this.acceptIdent("progid")){if(this.accept(r.Colon))for(;this.accept(r.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},e.prototype._parseFunctionArgument=function(){var e=this.create(Se);return e.setValue(this._parseExpr(!0))?this.finish(e):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(r.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(Qe);return this.consumeToken(),this.finish(e)}return null},e}();function on(e,t){return-1!==e.indexOf(t)}function sn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++)for(var o=i[r],s=0,a=o;s<a.length;s++){var l=a[s];on(n,l)||n.push(l)}return n}var an,ln,cn,dn,hn,pn,un,mn,fn,gn,bn,yn,vn,wn,xn,Sn,Cn,kn,En,_n,Fn,Dn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tn=function(){function e(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(e){this.children.push(e),e.setParent(this)},e.prototype.setParent=function(e){this.parent=e},e.prototype.findScope=function(e,t){return void 0===t&&(t=0),this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},e.prototype.findInScope=function(e,t){void 0===t&&(t=0);var n=e+t,r=function(e,t){var n=0,r=e.length;if(0===r)return 0;for(;n<r;){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}(this.children,(function(e){return e.offset>n}));if(0===r)return this;var i=this.children[r-1];return i.offset<=e&&i.offset+i.length>=e+t?i.findInScope(e,t):this},e.prototype.addSymbol=function(e){this.symbols.push(e)},e.prototype.getSymbol=function(e,t){for(var n=0;n<this.symbols.length;n++){var r=this.symbols[n];if(r.name===e&&r.type===t)return r}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),Rn=function(e){function t(){return e.call(this,0,Number.MAX_VALUE)||this}return Dn(t,e),t}(Tn),Nn=function(e,t,n,r){this.name=e,this.value=t,this.node=n,this.type=r},zn=function(){function e(e){this.scope=e}return e.prototype.addSymbol=function(e,t,n,r){if(-1!==e.offset){var i=this.scope.findScope(e.offset,e.length);i&&i.addSymbol(new Nn(t,n,e,r))}},e.prototype.addScope=function(e){if(-1!==e.offset){var t=this.scope.findScope(e.offset,e.length);if(t&&(t.offset!==e.offset||t.length!==e.length)){var n=new Tn(e.offset,e.length);return t.addChild(n),n}return t}return null},e.prototype.addSymbolToChildScope=function(e,t,n,r,i){if(e&&-1!==e.offset){var o=this.addScope(e);o&&o.addSymbol(new Nn(n,r,t,i))}},e.prototype.visitNode=function(e){switch(e.type){case Z.Keyframe:return this.addSymbol(e,e.getName(),void 0,ee.Keyframe),!0;case Z.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(e);case Z.VariableDeclaration:return this.visitVariableDeclarationNode(e);case Z.Ruleset:return this.visitRuleSet(e);case Z.MixinDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Mixin),!0;case Z.FunctionDeclaration:return this.addSymbol(e,e.getName(),void 0,ee.Function),!0;case Z.FunctionParameter:return this.visitFunctionParameterNode(e);case Z.Declarations:return this.addScope(e),!0;case Z.For:var t=e,n=t.getDeclarations();return n&&t.variable&&this.addSymbolToChildScope(n,t.variable,t.variable.getName(),void 0,ee.Variable),!0;case Z.Each:var r=e,i=r.getDeclarations();if(i)for(var o=0,s=r.getVariables().getChildren();o<s.length;o++){var a=s[o];this.addSymbolToChildScope(i,a,a.getName(),void 0,ee.Variable)}return!0}return!0},e.prototype.visitRuleSet=function(e){var t=this.scope.findScope(e.offset,e.length);if(t)for(var n=0,r=e.getSelectors().getChildren();n<r.length;n++){var i=r[n];i instanceof pe&&1===i.getChildren().length&&t.addSymbol(new Nn(i.getChild(0).getText(),void 0,i,ee.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():void 0;return this.addSymbol(e,e.getName(),t,ee.Variable),!0},e.prototype.visitFunctionParameterNode=function(e){var t=e.getParent().getDeclarations();if(t){var n=e.getDefaultValue(),r=n?n.getText():void 0;this.addSymbolToChildScope(t,e,e.getName(),r,ee.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():"";return this.addCSSVariable(e.getProperty(),e.getProperty().getName(),t,ee.Variable),!0},e.prototype.addCSSVariable=function(e,t,n,r){-1!==e.offset&&this.scope.addSymbol(new Nn(t,n,e,r))},e}(),An=function(){function e(e){this.global=new Rn,e.acceptVisitor(new zn(this.global))}return e.prototype.findSymbolsAtOffset=function(e,t){for(var n=this.global.findScope(e,0),r=[],i={};n;){for(var o=n.getSymbols(),s=0;s<o.length;s++){var a=o[s];a.type!==t||i[a.name]||(r.push(a),i[a.name]=!0)}n=n.parent}return r},e.prototype.internalFindSymbol=function(e,t){var n=e;if(e.parent instanceof xe&&e.parent.getParent()instanceof de&&(n=e.parent.getParent().getDeclarations()),e.parent instanceof Se&&e.parent.getParent()instanceof we){var r=e.parent.getParent().getIdentifier();if(r){var i=this.internalFindSymbol(r,[ee.Function]);i&&(n=i.node.getDeclarations())}}if(!n)return null;for(var o=e.getText(),s=this.global.findScope(n.offset,n.length);s;){for(var a=0;a<t.length;a++){var l=t[a],c=s.getSymbol(o,l);if(c)return c}s=s.parent}return null},e.prototype.evaluateReferenceTypes=function(e){if(e instanceof ae){var t=e.referenceTypes;if(t)return t;if(e.isCustomProperty)return[ee.Variable];var n=function(e){var t=e.findParent(Z.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(e);if(n){var r=n.getNonPrefixedPropertyName();if(("animation"===r||"animation-name"===r)&&n.getValue()&&n.getValue().offset===e.offset)return[ee.Keyframe]}}else if(e instanceof ot)return[ee.Variable];return e.findAParent(Z.Selector,Z.ExtendsReference)?[ee.Rule]:null},e.prototype.findSymbolFromNode=function(e){if(!e)return null;for(;e.type===Z.Interpolation;)e=e.getParent();var t=this.evaluateReferenceTypes(e);return t?this.internalFindSymbol(e,t):null},e.prototype.matchesSymbol=function(e,t){if(!e)return!1;for(;e.type===Z.Interpolation;)e=e.getParent();if(!e.matches(t.name))return!1;var n=this.evaluateReferenceTypes(e);return!(!n||-1===n.indexOf(t.type))&&this.internalFindSymbol(e,n)===t},e.prototype.findSymbol=function(e,t,n){for(var r=this.global.findScope(n);r;){var i=r.getSymbol(e,t);if(i)return i;r=r.parent}return null},e}();!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return dr.objectLiteral(t)&&dr.number(t.line)&&dr.number(t.character)}}(an||(an={})),function(e){e.create=function(e,t,n,r){if(dr.number(e)&&dr.number(t)&&dr.number(n)&&dr.number(r))return{start:an.create(e,t),end:an.create(n,r)};if(an.is(e)&&an.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return dr.objectLiteral(t)&&an.is(t.start)&&an.is(t.end)}}(ln||(ln={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&(dr.string(t.uri)||dr.undefined(t.uri))}}(cn||(cn={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.targetRange)&&dr.string(t.targetUri)&&(ln.is(t.targetSelectionRange)||dr.undefined(t.targetSelectionRange))&&(ln.is(t.originSelectionRange)||dr.undefined(t.originSelectionRange))}}(dn||(dn={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return dr.number(t.red)&&dr.number(t.green)&&dr.number(t.blue)&&dr.number(t.alpha)}}(hn||(hn={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return ln.is(t.range)&&hn.is(t.color)}}(pn||(pn={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return dr.string(t.label)&&(dr.undefined(t.textEdit)||Sn.is(t))&&(dr.undefined(t.additionalTextEdits)||dr.typedArray(t.additionalTextEdits,Sn.is))}}(un||(un={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(mn||(mn={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return dr.defined(n)&&(o.startCharacter=n),dr.defined(r)&&(o.endCharacter=r),dr.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return dr.number(t.startLine)&&dr.number(t.startLine)&&(dr.undefined(t.startCharacter)||dr.number(t.startCharacter))&&(dr.undefined(t.endCharacter)||dr.number(t.endCharacter))&&(dr.undefined(t.kind)||dr.string(t.kind))}}(fn||(fn={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return dr.defined(t)&&cn.is(t.location)&&dr.string(t.message)}}(gn||(gn={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(bn||(bn={})),function(e){e.Unnecessary=1,e.Deprecated=2}(yn||(yn={})),function(e){e.is=function(e){var t=e;return null!=t&&(dr.number(t.value)||dr.string(t.value))&&dr.string(t.target)}}(vn||(vn={})),function(e){e.create=function(e,t,n,r,i,o){var s={range:e,message:t};return dr.defined(n)&&(s.severity=n),dr.defined(r)&&(s.code=r),dr.defined(i)&&(s.source=i),dr.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&dr.string(t.message)&&(dr.number(t.severity)||dr.undefined(t.severity))&&(dr.number(t.code)||dr.string(t.code)||dr.undefined(t.code))&&(dr.string(t.source)||dr.undefined(t.source))&&(dr.undefined(t.relatedInformation)||dr.typedArray(t.relatedInformation,gn.is))}}(wn||(wn={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return dr.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.title)&&dr.string(t.command)}}(xn||(xn={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return dr.objectLiteral(t)&&dr.string(t.newText)&&ln.is(t.range)}}(Sn||(Sn={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return dr.defined(t)&&Mn.is(t.textDocument)&&Array.isArray(t.edits)}}(Cn||(Cn={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&dr.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||dr.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||dr.boolean(t.options.ignoreIfExists)))}}(kn||(kn={})),function(e){e.create=function(e,t,n){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&"rename"===t.kind&&dr.string(t.oldUri)&&dr.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||dr.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||dr.boolean(t.options.ignoreIfExists)))}}(En||(En={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&dr.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||dr.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||dr.boolean(t.options.ignoreIfNotExists)))}}(_n||(_n={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return dr.string(e.kind)?kn.is(e)||En.is(e)||_n.is(e):Cn.is(e)})))}}(Fn||(Fn={}));var In,Mn,Pn,On,Ln,Wn,Un,jn,Vn,Bn,Kn,qn,$n,Gn,Hn,Yn,Jn,Xn,Qn,Zn,er,tr,nr,rr,ir,or,sr,ar,lr=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(Sn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(Sn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(Sn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(Cn.is(e)){var n=new lr(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new lr(e.changes[n]);t._textEditChanges[n]=r})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Mn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new lr(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new lr(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kn.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(En.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(_n.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.uri)}}(In||(In={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.uri)&&(null===t.version||dr.number(t.version))}}(Mn||(Mn={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return dr.defined(t)&&dr.string(t.uri)&&dr.string(t.languageId)&&dr.number(t.version)&&dr.string(t.text)}}(Pn||(Pn={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(On||(On={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(On||(On={})),function(e){e.is=function(e){var t=e;return dr.objectLiteral(e)&&On.is(t.kind)&&dr.string(t.value)}}(Ln||(Ln={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(Wn||(Wn={})),function(e){e.PlainText=1,e.Snippet=2}(Un||(Un={})),function(e){e.Deprecated=1}(jn||(jn={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&dr.string(t.newText)&&ln.is(t.insert)&&ln.is(t.replace)}}(Vn||(Vn={})),function(e){e.create=function(e){return{label:e}}}(Bn||(Bn={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Kn||(Kn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return dr.string(t)||dr.objectLiteral(t)&&dr.string(t.language)&&dr.string(t.value)}}(qn||(qn={})),function(e){e.is=function(e){var t=e;return!!t&&dr.objectLiteral(t)&&(Ln.is(t.contents)||qn.is(t.contents)||dr.typedArray(t.contents,qn.is))&&(void 0===e.range||ln.is(e.range))}}($n||($n={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(Gn||(Gn={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return dr.defined(t)&&(i.documentation=t),dr.defined(n)?i.parameters=n:i.parameters=[],i}}(Hn||(Hn={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Yn||(Yn={})),function(e){e.create=function(e,t){var n={range:e};return dr.number(t)&&(n.kind=t),n}}(Jn||(Jn={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Xn||(Xn={})),function(e){e.Deprecated=1}(Qn||(Qn={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(Zn||(Zn={})),function(e){e.create=function(e,t,n,r,i,o){var s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&dr.string(t.name)&&dr.number(t.kind)&&ln.is(t.range)&&ln.is(t.selectionRange)&&(void 0===t.detail||dr.string(t.detail))&&(void 0===t.deprecated||dr.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(er||(er={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(tr||(tr={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return dr.defined(t)&&dr.typedArray(t.diagnostics,wn.is)&&(void 0===t.only||dr.typedArray(t.only,dr.string))}}(nr||(nr={})),function(e){e.create=function(e,t,n){var r={title:e};return xn.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&dr.string(t.title)&&(void 0===t.diagnostics||dr.typedArray(t.diagnostics,wn.is))&&(void 0===t.kind||dr.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||xn.is(t.command))&&(void 0===t.isPreferred||dr.boolean(t.isPreferred))&&(void 0===t.edit||Fn.is(t.edit))}}(rr||(rr={})),function(e){e.create=function(e,t){var n={range:e};return dr.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&(dr.undefined(t.command)||xn.is(t.command))}}(ir||(ir={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return dr.defined(t)&&dr.number(t.tabSize)&&dr.boolean(t.insertSpaces)}}(or||(or={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return dr.defined(t)&&ln.is(t.range)&&(dr.undefined(t.target)||dr.string(t.target))}}(sr||(sr={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&ln.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ar||(ar={}));var cr;!function(e){e.create=function(e,t,n,r){return new hr(e,t,n,r)},e.is=function(e){var t=e;return!!(dr.defined(t)&&dr.string(t.uri)&&(dr.undefined(t.languageId)||dr.string(t.languageId))&&dr.number(t.lineCount)&&dr.func(t.getText)&&dr.func(t.positionAt)&&dr.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,l=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[l++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[l++]=i[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var s=r[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),i=a}return n}}(cr||(cr={}));var dr,hr=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return an.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return an.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(dr||(dr={}));var pr,ur,mr,fr=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var r=0,i=t;r<i.length;r++){var o=i[r];if(e.isIncremental(o)){var s=br(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,p=gr(o.text,!1,a);if(d-c===p.length)for(var u=0,m=p.length;u<m;u++)h[u+c+1]=p[u];else p.length<1e4?h.splice.apply(h,[c+1,d-c].concat(p)):this._lineOffsets=h=h.slice(0,c+1).concat(p,h.slice(d+1));var f=o.text.length-(l-a);if(0!==f)for(u=c+1+p.length,m=h.length;u<m;u++)h[u]=h[u]+f}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=gr(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function gr(e,t,n){void 0===n&&(n=0);for(var r=t?[n]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function br(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function yr(e){var t=br(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,r){return new fr(e,t,n,r)},e.update=function(e,t,n){if(e instanceof fr)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),r=0,i=[],o=0,s=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,l=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[l++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[l++]=i[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(yr),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],l=e.offsetAt(a.range.start);if(l<r)throw new Error("Overlapping edit");l>r&&i.push(n.substring(r,l)),a.newText.length&&i.push(a.newText),r=e.offsetAt(a.range.end)}return i.push(n.substr(r)),i.join("")}}(pr||(pr={})),(ur||(ur={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[On.Markdown,On.PlainText]}},hover:{contentFormat:[On.Markdown,On.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(mr||(mr={}));var vr=n(144),wr="/".charCodeAt(0),xr=".".charCodeAt(0);function Sr(e){var t=e.lastIndexOf("/");return-1!==t?e.substr(0,t):""}function Cr(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];0===i.length||1===i.length&&i.charCodeAt(0)===xr||(2===i.length&&i.charCodeAt(0)===xr&&i.charCodeAt(1)===xr?t.pop():t.push(i))}e.length>1&&0===e[e.length-1].length&&t.push("");var o=t.join("/");return 0===e[0].length&&(o="/"+o),o}function kr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=vr.a.parse(e),i=r.path.split("/"),o=0,s=t;o<s.length;o++){var a=s[o];i.push.apply(i,a.split("/"))}return r.with({path:Cr(i)}).toString()}var Er=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},_r=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Fr=function(){function e(e){this.readDirectory=e,this.literalCompletions=[],this.importCompletions=[]}return e.prototype.onCssURILiteralValue=function(e){this.literalCompletions.push(e)},e.prototype.onCssImportPath=function(e){this.importCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return Er(this,void 0,void 0,(function(){var n,r,i,o,s,a,l,c,d,h,p,u,m,f,g,b,y;return _r(this,(function(v){switch(v.label){case 0:n={items:[],isIncomplete:!1},r=0,i=this.literalCompletions,v.label=1;case 1:return r<i.length?(o=i[r],s=o.uriValue,"."!==(m=Tr(s))&&".."!==m?[3,2]:(n.isIncomplete=!0,[3,4])):[3,5];case 2:return[4,this.providePathSuggestions(s,o.position,o.range,e,t)];case 3:for(a=v.sent(),l=0,c=a;l<c.length;l++)y=c[l],n.items.push(y);v.label=4;case 4:return r++,[3,1];case 5:d=0,h=this.importCompletions,v.label=6;case 6:return d<h.length?(p=h[d],u=p.pathValue,"."!==(m=Tr(u))&&".."!==m?[3,7]:(n.isIncomplete=!0,[3,9])):[3,10];case 7:return[4,this.providePathSuggestions(u,p.position,p.range,e,t)];case 8:for(f=v.sent(),"scss"===e.languageId&&f.forEach((function(e){Y(e.label,"_")&&J(e.label,".scss")&&(e.textEdit?e.textEdit.newText=e.label.slice(1,-5):e.label=e.label.slice(1,-5))})),g=0,b=f;g<b.length;g++)y=b[g],n.items.push(y);v.label=9;case 9:return d++,[3,6];case 10:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,r,i){return Er(this,void 0,void 0,(function(){var o,s,a,l,c,d,h,p,u,m,f,g,b,y,v;return _r(this,(function(w){switch(w.label){case 0:if(o=Tr(e),s=Y(e,"'")||Y(e,'"'),a=s?o.slice(0,t.character-(n.start.character+1)):o.slice(0,t.character-n.start.character),l=r.uri,c=s?function(e,t,n){var r=zr(e.start,t),i=zr(e.end,n);return ln.create(r,i)}(n,1,-1):n,d=function(e,t,n){var r,i=e.lastIndexOf("/");if(-1===i)r=n;else{var o=t.slice(i+1),s=zr(n.end,-o.length),a=o.indexOf(" "),l=void 0;l=-1!==a?zr(s,a):n.end,r=ln.create(s,l)}return r}(a,o,c),h=a.substring(0,a.lastIndexOf("/")+1),!(p=i.resolveReference(h||".",l)))return[3,4];w.label=1;case 1:return w.trys.push([1,3,,4]),u=[],[4,this.readDirectory(p)];case 2:for(m=w.sent(),f=0,g=m;f<g.length;f++)b=g[f],y=b[0],v=b[1],y.charCodeAt(0)===Dr||v!==mr.Directory&&kr(p,y)===l||u.push(Rr(y,v===mr.Directory,d));return[2,u];case 3:return w.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Dr=".".charCodeAt(0);function Tr(e){return Y(e,"'")||Y(e,'"')?e.slice(1,-1):e}function Rr(e,t,n){return t?{label:Nr(e+="/"),kind:Wn.Folder,textEdit:Sn.replace(n,Nr(e)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:Nr(e),kind:Wn.File,textEdit:Sn.replace(n,Nr(e))}}function Nr(e){return e.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function zr(e,t){return an.create(e.line,e.character+t)}var Ar,Ir=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},Mr=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Pr=wt(),Or=Un.Snippet;!function(e){e.Enums=" ",e.Normal="d",e.VendorPrefixed="x",e.Term="y",e.Variable="z"}(Ar||(Ar={}));var Lr=function(){function e(e,t,n){void 0===e&&(e=null),this.variablePrefix=e,this.lsOptions=t,this.cssDataManager=n,this.completionParticipants=[]}return e.prototype.configure=function(e){this.settings=e},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new An(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,r){return Ir(this,void 0,void 0,(function(){var i,o,s,a;return Mr(this,(function(l){switch(l.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n)];i=new Fr(this.lsOptions.fileSystemProvider.readDirectory),o=this.completionParticipants,this.completionParticipants=[i].concat(o),s=this.doComplete(e,t,n),l.label=1;case 1:return l.trys.push([1,,3,4]),[4,i.computeCompletions(e,r)];case 2:return a=l.sent(),[2,{isIncomplete:s.isIncomplete||a.isIncomplete,items:a.items.concat(s.items)}];case 3:return this.completionParticipants=o,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){var n=t-1,r=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n;try{var r={isIncomplete:!1,items:[]};this.nodePath=re(this.styleSheet,this.offset);for(var i=this.nodePath.length-1;i>=0;i--){var o=this.nodePath[i];if(o instanceof ve)this.getCompletionsForDeclarationProperty(o.getParent(),r);else if(o instanceof He)o.parent instanceof it?this.getVariableProposals(null,r):this.getCompletionsForExpression(o,r);else if(o instanceof ue){var s=o.findAParent(Z.ExtendsReference,Z.Ruleset);if(s)if(s.type===Z.ExtendsReference)this.getCompletionsForExtendsReference(s,o,r);else{var a=s;this.getCompletionsForSelector(a,a&&a.isNested(),r)}}else if(o instanceof Se)this.getCompletionsForFunctionArgument(o,o.getParent(),r);else if(o instanceof ce)this.getCompletionsForDeclarations(o,r);else if(o instanceof rt)this.getCompletionsForVariableDeclaration(o,r);else if(o instanceof he)this.getCompletionsForRuleSet(o,r);else if(o instanceof it)this.getCompletionsForInterpolation(o,r);else if(o instanceof De)this.getCompletionsForFunctionDeclaration(o,r);else if(o instanceof ct)this.getCompletionsForMixinReference(o,r);else if(o instanceof we)this.getCompletionsForFunctionArgument(null,o,r);else if(o instanceof je)this.getCompletionsForSupports(o,r);else if(o instanceof qe)this.getCompletionsForSupportsCondition(o,r);else if(o instanceof st)this.getCompletionsForExtendsReference(o,null,r);else if(o.type===Z.URILiteral)this.getCompletionForUriLiteralValue(o,r);else if(null===o.parent)this.getCompletionForTopLevel(r);else{if(o.type!==Z.StringLiteral||!this.isImportPathParent(o.parent.type))continue;this.getCompletionForImportPath(o,r)}if(r.items.length>0||this.offset>o.offset)return this.finalize(r)}return this.getCompletionsForStylesheet(r),0===r.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,r),this.finalize(r)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(e){return e===Z.Import},e.prototype.finalize=function(e){return e},e.prototype.findInNodePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this.nodePath.length-1;n>=0;n--){var r=this.nodePath[n];if(-1!==e.indexOf(r.type))return r}return null},e.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},e.prototype.getPropertyProposals=function(e,t){var n=this,r=this.isTriggerPropertyValueCompletionEnabled,i=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach((function(o){var s,a,l=!1;e?(s=n.getCompletionRange(e.getProperty()),a=o.name,tn(e.colonPosition)||(a+=": ",l=!0)):(s=n.getCompletionRange(null),a=o.name+": ",l=!0),!e&&i&&(a+="$0;"),e&&!e.semicolonPosition&&i&&n.offset>=n.textDocument.offsetAt(s.end)&&(a+="$0;");var c={label:o.name,documentation:_t(o,n.doesSupportMarkdown()),tags:Wr(o)?[jn.Deprecated]:[],textEdit:Sn.replace(s,a),insertTextFormat:Un.Snippet,kind:Wn.Property};o.restrictions||(l=!1),r&&l&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"});var d=(255-("number"==typeof o.relevance?Math.min(Math.max(o.relevance,0),99):50)).toString(16),h=Y(o.name,"-")?Ar.VendorPrefixed:Ar.Normal;c.sortText=h+"_"+d,t.items.push(c)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(e.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n=this,r=e.getFullPropertyName(),i=this.cssDataManager.getProperty(r),o=e.getValue()||null;o&&o.hasChildren();)o=o.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:r,propertyValue:n.currentWord,range:n.getCompletionRange(o)})})),i){if(i.restrictions)for(var s=0,a=i.restrictions;s<a.length;s++){switch(a[s]){case"color":this.getColorProposals(i,o,t);break;case"position":this.getPositionProposals(i,o,t);break;case"repeat":this.getRepeatStyleProposals(i,o,t);break;case"line-style":this.getLineStyleProposals(i,o,t);break;case"line-width":this.getLineWidthProposals(i,o,t);break;case"geometry-box":this.getGeometryBoxProposals(i,o,t);break;case"box":this.getBoxProposals(i,o,t);break;case"image":this.getImageProposals(i,o,t);break;case"timing-function":this.getTimingFunctionProposals(i,o,t);break;case"shape":this.getBasicShapeProposals(i,o,t)}}this.getValueEnumProposals(i,o,t),this.getCSSWideKeywordProposals(i,o,t),this.getUnitProposals(i,o,t)}else for(var l=0,c=function(e,t){var n=t.getFullPropertyName(),r=new Ur;function i(e){return(e instanceof ae||e instanceof nt||e instanceof Qe)&&r.add(e.getText()),!0}return e.accept((function(e){if(e instanceof ye&&e!==t&&function(e){var t=e.getFullPropertyName();return n===t}(e)){var r=e.getValue();r&&r.accept(i)}return!0})),r}(this.styleSheet,e).getEntries();l<c.length;l++){var d=c[l];t.items.push({label:d,textEdit:Sn.replace(this.getCompletionRange(o),d),kind:Wn.Value})}return this.getVariableProposals(o,t),this.getTermProposals(i,o,t),t},e.prototype.getValueEnumProposals=function(e,t,n){if(e.values)for(var r=0,i=e.values;r<i.length;r++){var o=i[r],s=o.name,a=void 0;if(J(s,")")){var l=s.lastIndexOf("(");-1!==l&&(s=s.substr(0,l)+"($1)",a=Or)}var c=Ar.Enums;Y(o.name,"-")&&(c+=Ar.VendorPrefixed);var d={label:o.name,documentation:_t(o,this.doesSupportMarkdown()),tags:Wr(e)?[jn.Deprecated]:[],textEdit:Sn.replace(this.getCompletionRange(t),s),sortText:c,kind:Wn.Value,insertTextFormat:a};n.items.push(d)}return n},e.prototype.getCSSWideKeywordProposals=function(e,t,n){for(var r in $t)n.items.push({label:r,documentation:$t[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getCompletionsForInterpolation=function(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t},e.prototype.getVariableProposals=function(e,t){for(var n=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable);n<r.length;n++){var i=r[n],o=Y(i.name,"--")?"var("+i.name+")":i.name,s={label:i.name,documentation:i.value?X(i.value):i.value,textEdit:Sn.replace(this.getCompletionRange(e),o),kind:Wn.Variable,sortText:Ar.Variable};if("string"==typeof s.documentation&&Br(s.documentation)&&(s.kind=Wn.Color),i.node.type===Z.FunctionParameter){var a=i.node.getParent();a.type===Z.MixinDeclaration&&(s.detail=Pr("completion.argument","argument from '{0}'",a.getName()))}t.items.push(s)}return t},e.prototype.getVariableProposalsForCSSVarFunction=function(e){for(var t=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Variable),n=0,r=t=t.filter((function(e){return Y(e.name,"--")}));n<r.length;n++){var i=r[n],o={label:i.name,documentation:i.value?X(i.value):i.value,textEdit:Sn.replace(this.getCompletionRange(null),i.name),kind:Wn.Variable};"string"==typeof o.documentation&&Br(o.documentation)&&(o.kind=Wn.Color),e.items.push(o)}return e},e.prototype.getUnitProposals=function(e,t,n){var r="0";if(this.currentWord.length>0){var i=this.currentWord.match(/^-?\d[\.\d+]*/);i&&(r=i[0],n.isIncomplete=r.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===Z.Term&&(t=t.getParent()),e.restrictions)for(var o=0,s=e.restrictions;o<s.length;o++){var a=s[o],l=Jt[a];if(l)for(var c=0,d=l;c<d.length;c++){var h=r+d[c];n.items.push({label:h,textEdit:Sn.replace(this.getCompletionRange(t),h),kind:Wn.Unit})}}return n},e.prototype.getCompletionRange=function(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){var t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return ln.create(n,t)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(e,t,n){for(var r in At)n.items.push({label:r,documentation:At[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Color});for(var r in It)n.items.push({label:r,documentation:It[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});var i=new Ur;this.styleSheet.acceptVisitor(new Vr(i,this.offset));for(var o=0,s=i.getEntries();o<s.length;o++){r=s[o];n.items.push({label:r,textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Color})}for(var a=function(e){var r=1,i=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+r+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:Sn.replace(l.getCompletionRange(t),i),insertTextFormat:Or,kind:Wn.Function})},l=this,c=0,d=zt;c<d.length;c++){a(d[c])}return n},e.prototype.getPositionProposals=function(e,t,n){for(var r in Ut)n.items.push({label:r,documentation:Ut[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getRepeatStyleProposals=function(e,t,n){for(var r in jt)n.items.push({label:r,documentation:jt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getLineStyleProposals=function(e,t,n){for(var r in Vt)n.items.push({label:r,documentation:Vt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getLineWidthProposals=function(e,t,n){for(var r=0,i=Bt;r<i.length;r++){var o=i[r];n.items.push({label:o,textEdit:Sn.replace(this.getCompletionRange(t),o),kind:Wn.Value})}return n},e.prototype.getGeometryBoxProposals=function(e,t,n){for(var r in qt)n.items.push({label:r,documentation:qt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getBoxProposals=function(e,t,n){for(var r in Kt)n.items.push({label:r,documentation:Kt[r],textEdit:Sn.replace(this.getCompletionRange(t),r),kind:Wn.Value});return n},e.prototype.getImageProposals=function(e,t,n){for(var r in Gt){var i=jr(r);n.items.push({label:r,documentation:Gt[r],textEdit:Sn.replace(this.getCompletionRange(t),i),kind:Wn.Function,insertTextFormat:r!==i?Or:void 0})}return n},e.prototype.getTimingFunctionProposals=function(e,t,n){for(var r in Ht){var i=jr(r);n.items.push({label:r,documentation:Ht[r],textEdit:Sn.replace(this.getCompletionRange(t),i),kind:Wn.Function,insertTextFormat:r!==i?Or:void 0})}return n},e.prototype.getBasicShapeProposals=function(e,t,n){for(var r in Yt){var i=jr(r);n.items.push({label:r,documentation:Yt[r],textEdit:Sn.replace(this.getCompletionRange(t),i),kind:Wn.Function,insertTextFormat:r!==i?Or:void 0})}return n},e.prototype.getCompletionsForStylesheet=function(e){var t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof he?this.getCompletionsForRuleSet(t,e):t instanceof je?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)},e.prototype.getCompletionForTopLevel=function(e){var t=this;return this.cssDataManager.getAtDirectives().forEach((function(n){e.items.push({label:n.name,textEdit:Sn.replace(t.getCompletionRange(null),n.name),documentation:_t(n,t.doesSupportMarkdown()),tags:Wr(n)?[jn.Deprecated]:[],kind:Wn.Keyword})})),this.getCompletionsForSelector(null,!1,e),e},e.prototype.getCompletionsForRuleSet=function(e,t){var n=e.getDeclarations();return n&&n.endsWith("}")&&this.offset>=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},e.prototype.getCompletionsForSelector=function(e,t,n){var r=this,i=this.findInNodePath(Z.PseudoSelector,Z.IdentifierSelector,Z.ClassSelector,Z.ElementNameSelector);if(!i&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=ln.create(an.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach((function(e){var t=jr(e.name),o={label:e.name,textEdit:Sn.replace(r.getCompletionRange(i),t),documentation:_t(e,r.doesSupportMarkdown()),tags:Wr(e)?[jn.Deprecated]:[],kind:Wn.Function,insertTextFormat:e.name!==t?Or:void 0};Y(e.name,":-")&&(o.sortText=Ar.VendorPrefixed),n.items.push(o)})),this.cssDataManager.getPseudoElements().forEach((function(e){var t=jr(e.name),o={label:e.name,textEdit:Sn.replace(r.getCompletionRange(i),t),documentation:_t(e,r.doesSupportMarkdown()),tags:Wr(e)?[jn.Deprecated]:[],kind:Wn.Function,insertTextFormat:e.name!==t?Or:void 0};Y(e.name,"::-")&&(o.sortText=Ar.VendorPrefixed),n.items.push(o)})),!t){for(var o=0,s=Xt;o<s.length;o++){var a=s[o];n.items.push({label:a,textEdit:Sn.replace(this.getCompletionRange(i),a),kind:Wn.Keyword})}for(var l=0,c=Qt;l<c.length;l++){a=c[l];n.items.push({label:a,textEdit:Sn.replace(this.getCompletionRange(i),a),kind:Wn.Keyword})}}var d={};d[this.currentWord]=!0;var h=this.textDocument.getText();if(this.styleSheet.accept((function(e){if(e.type===Z.SimpleSelector&&e.length>0){var t=h.substr(e.offset,e.length);return"."!==t.charAt(0)||d[t]||(d[t]=!0,n.items.push({label:t,textEdit:Sn.replace(r.getCompletionRange(i),t),kind:Wn.Keyword})),!1}return!0})),e&&e.isNested()){var p=e.getSelectors().findFirstChildBeforeOffset(this.offset);p&&0===e.getSelectors().getChildren().indexOf(p)&&this.getPropertyProposals(null,n)}return n},e.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof fe){var r=n;if(!tn(r.colonPosition)||this.offset<=r.colonPosition)return this.getCompletionsForDeclarationProperty(r,t);if(tn(r.semicolonPosition)&&r.semicolonPosition<this.offset)return this.offset===r.semicolonPosition+1?t:this.getCompletionsForDeclarationProperty(null,t);if(r instanceof ye)return this.getCompletionsForDeclarationValue(r,t)}else n instanceof st?this.getCompletionsForExtendsReference(n,null,t):(this.currentWord&&"@"===this.currentWord[0]||n instanceof he)&&this.getCompletionsForDeclarationProperty(null,t);return t},e.prototype.getCompletionsForVariableDeclaration=function(e,t){return this.offset&&tn(e.colonPosition)&&this.offset>e.colonPosition&&this.getVariableProposals(e.getValue(),t),t},e.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();if(n instanceof Se)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;var r=e.findParent(Z.Declaration);if(!r)return this.getTermProposals(void 0,null,t),t;var i=e.findChildAtOffset(this.offset,!0);return i?i instanceof nt||i instanceof ae?this.getCompletionsForDeclarationValue(r,t):t:this.getCompletionsForDeclarationValue(r,t)},e.prototype.getCompletionsForFunctionArgument=function(e,t,n){var r=t.getIdentifier();return r&&r.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},e.prototype.getCompletionsForFunctionDeclaration=function(e,t){var n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset<n.end&&this.getTermProposals(void 0,null,t),t},e.prototype.getCompletionsForMixinReference=function(e,t){for(var n=this,r=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Mixin);r<i.length;r++){var o=i[r];o.node instanceof dt&&t.items.push(this.makeTermProposal(o,o.node.getParameters(),null))}var s=e.getIdentifier()||null;return this.completionParticipants.forEach((function(e){e.onCssMixinReference&&e.onCssMixinReference({mixinName:n.currentWord,range:n.getCompletionRange(s)})})),t},e.prototype.getTermProposals=function(e,t,n){for(var r=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Function);r<i.length;r++){var o=i[r];o.node instanceof De&&n.items.push(this.makeTermProposal(o,o.node.getParameters(),t))}return n},e.prototype.makeTermProposal=function(e,t,n){e.node;var r=t.getChildren().map((function(e){return e instanceof xe?e.getName():e.getText()})),i=e.name+"("+r.map((function(e,t){return"${"+(t+1)+":"+e+"}"})).join(", ")+")";return{label:e.name,detail:e.name+"("+r.join(", ")+")",textEdit:Sn.replace(this.getCompletionRange(n),i),insertTextFormat:Or,kind:Wn.Function,sortText:Ar.Term}},e.prototype.getCompletionsForSupportsCondition=function(e,t){var n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof ye)return!tn(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof qe)return this.getCompletionsForSupportsCondition(n,t)}return tn(e.lParent)&&this.offset>e.lParent&&(!tn(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},e.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();if(!n||this.offset<=n.offset){var r=e.findFirstChildBeforeOffset(this.offset);return r instanceof qe?this.getCompletionsForSupportsCondition(r,t):t}return this.getCompletionForTopLevel(t)},e.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},e.prototype.getCompletionForUriLiteralValue=function(e,t){var n,r,i;if(e.hasChildren()){var o=e.getChild(0);n=o.getText(),r=this.position,i=this.getCompletionRange(o)}else{n="",r=this.position;var s=this.textDocument.positionAt(e.offset+"url(".length);i=ln.create(s,s)}return this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:r,range:i})})),t},e.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!tn(this.supportsMarkdown)){if(!tn(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var r=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(r)&&-1!==r.indexOf(On.Markdown)}return this.supportsMarkdown},e}();function Wr(e){return!(!e.status||"nonstandard"!==e.status&&"obsolete"!==e.status)}var Ur=function(){function e(){this.entries={}}return e.prototype.add=function(e){this.entries[e]=!0},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function jr(e){return e.replace(/\(\)$/,"($1)")}var Vr=function(){function e(e,t){this.entries=e,this.currentOffset=t}return e.prototype.visitNode=function(e){return(e instanceof Qe||e instanceof we&&Pt(e))&&(this.currentOffset<e.offset||e.end<this.currentOffset)&&this.entries.add(e.getText()),!0},e}();function Br(e){return e.toLowerCase()in At||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Kr,qr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$r=wt(),Gr=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,n=this.attributes;t<n.length;t++){var r=n[t];if(r.name===e)return r.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(e){if(this.attributes){var t=this.attributes[this.attributes.length-1];t.value=t.value+e}},e.prototype.prepend=function(e){if(this.attributes){var t=this.attributes[0];t.value=e+t.value}},e.prototype.findRoot=function(){for(var e=this;e.parent&&!(e.parent instanceof Hr);)e=e.parent;return e},e.prototype.removeChild=function(e){if(this.children){var t=this.children.indexOf(e);if(-1!==t)return this.children.splice(t,1),!0}return!1},e.prototype.addAttr=function(e,t){this.attributes||(this.attributes=[]);for(var n=0,r=this.attributes;n<r.length;n++){var i=r[n];if(i.name===e)return void(i.value+=" "+t)}this.attributes.push({name:e,value:t})},e.prototype.clone=function(t){void 0===t&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var r=0,i=this.attributes;r<i.length;r++){var o=i[r];n.addAttr(o.name,o.value)}}if(t&&this.children){n.children=[];for(var s=0;s<this.children.length;s++)n.addChild(this.children[s].clone())}return n},e.prototype.cloneWithParent=function(){var e=this.clone(!1);!this.parent||this.parent instanceof Hr||this.parent.cloneWithParent().addChild(e);return e},e}(),Hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return qr(t,e),t}(Gr),Yr=function(e){function t(t){var n=e.call(this)||this;return n.addAttr("name",t),n}return qr(t,e),t}(Gr),Jr=function(){function e(e){this.quote=e,this.result=[]}return e.prototype.print=function(e){return this.result=[],e instanceof Hr?e.children&&this.doPrint(e.children,0):this.doPrint([e],0),[{language:"html",value:this.result.join("\n")}]},e.prototype.doPrint=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];this.doPrintElement(i,t),i.children&&this.doPrint(i.children,t+1)}},e.prototype.writeLine=function(e,t){var n=new Array(e+1).join(" ");this.result.push(n+t)},e.prototype.doPrintElement=function(e,t){var n=e.findAttribute("name");if(e instanceof Yr||"…"===n)this.writeLine(t,n);else{var r=["<"];if(n?r.push(n):r.push("element"),e.attributes)for(var i=0,o=e.attributes;i<o.length;i++){var s=o[i];if("name"!==s.name){r.push(" "),r.push(s.name);var a=s.value;a&&(r.push("="),r.push(Kr.ensure(a,this.quote)))}}r.push(">"),this.writeLine(t,r.join(""))}},e}();!function(e){function t(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Kr||(Kr={}));var Xr=function(){this.id=0,this.attr=0,this.tag=0};function Qr(e,t){for(var n=new Gr,r=0,i=e.getChildren();r<i.length;r++){var o=i[r];switch(o.type){case Z.SelectorCombinator:if(t){var s=o.getText().split("&");if(1===s.length){n.addAttr("name",s[0]);break}if(n=t.cloneWithParent(),s[0])n.findRoot().prepend(s[0]);for(var a=1;a<s.length;a++){if(a>1){var l=t.cloneWithParent();n.addChild(l.findRoot()),n=l}n.append(s[a])}}break;case Z.SelectorPlaceholder:if(o.matches("@at-root"))return n;case Z.ElementNameSelector:var c=o.getText();n.addAttr("name","*"===c?"element":Zr(c));break;case Z.ClassSelector:n.addAttr("class",Zr(o.getText().substring(1)));break;case Z.IdentifierSelector:n.addAttr("id",Zr(o.getText().substring(1)));break;case Z.MixinDeclaration:n.addAttr("class",o.getName());break;case Z.PseudoSelector:n.addAttr(Zr(o.getText()),"");break;case Z.AttributeSelector:var d=o,h=d.getIdentifier();if(h){var p=d.getValue(),u=d.getOperator(),m=void 0;if(p&&u)switch(Zr(u.getText())){case"|=":m=Kr.remove(Zr(p.getText()))+"-…";break;case"^=":m=Kr.remove(Zr(p.getText()))+"…";break;case"$=":m="…"+Kr.remove(Zr(p.getText()));break;case"~=":m=" … "+Kr.remove(Zr(p.getText()))+" … ";break;case"*=":m="…"+Kr.remove(Zr(p.getText()))+"…";break;default:m=Kr.remove(Zr(p.getText()))}n.addAttr(Zr(h.getText()),m)}}}return n}function Zr(e){var t=new H;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}var ei=function(){function e(e){this.cssDataManager=e}return e.prototype.selectorToMarkedString=function(e){var t=function(e){if(e.matches("@at-root"))return null;var t=new Hr,n=[],r=e.getParent();if(r instanceof he)for(var i=r.getParent();i&&!ni(i);){if(i instanceof he){if(i.getSelectors().matches("@at-root"))break;n.push(i)}i=i.getParent()}for(var o=new ti(t),s=n.length-1;s>=0;s--){var a=n[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(e),t}(e);if(t){var n=new Jr('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n}return[]},e.prototype.simpleSelectorToMarkedString=function(e){var t=Qr(e),n=new Jr('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n},e.prototype.isPseudoElementIdentifier=function(e){var t=e.match(/^::?([\w-]+)/);return!!t&&!!this.cssDataManager.getPseudoElement("::"+t[1])},e.prototype.selectorToSpecificityMarkedString=function(e){var t=this,n=function(e){for(var i=0,o=e.getChildren();i<o.length;i++){var s=o[i];switch(s.type){case Z.IdentifierSelector:r.id++;break;case Z.ClassSelector:case Z.AttributeSelector:r.attr++;break;case Z.ElementNameSelector:if(s.matches("*"))break;r.tag++;break;case Z.PseudoSelector:var a=s.getText();if(t.isPseudoElementIdentifier(a))r.tag++;else{if(a.match(/^:not/i))break;r.attr++}}s.getChildren().length>0&&n(s)}},r=new Xr;return n(e),$r("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",r.id,r.attr,r.tag)},e}(),ti=function(){function e(e){this.prev=null,this.element=e}return e.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof Hr)&&e.getChildren().some((function(e){return e.hasChildren()&&e.getChild(0).type===Z.SelectorCombinator}))){var n=this.element.findRoot();n.parent instanceof Hr&&(t=this.element,this.element=n.parent,this.element.removeChild(n),this.prev=null)}for(var r=0,i=e.getChildren();r<i.length;r++){var o=i[r];if(o instanceof ue){if(this.prev instanceof ue){var s=new Yr("…");this.element.addChild(s),this.element=s}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(Qr(o)),this.element.addChild(new Yr("⋮")));var a=Qr(o,t),l=a.findRoot();this.element.addChild(l),this.element=a}(o instanceof ue||o.type===Z.SelectorCombinatorParent||o.type===Z.SelectorCombinatorShadowPiercingDescendant||o.type===Z.SelectorCombinatorSibling||o.type===Z.SelectorCombinatorAllSiblings)&&(this.prev=o)}},e}();function ni(e){switch(e.type){case Z.MixinDeclaration:case Z.Stylesheet:return!0}return!1}var ri=function(){function e(e,t){this.clientCapabilities=e,this.cssDataManager=t,this.selectorPrinting=new ei(t)}return e.prototype.doHover=function(e,t,n){function r(t){return ln.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var i=re(n,e.offsetAt(t)),o=null,s=0;s<i.length;s++){var a=i[s];if(a instanceof pe){o={contents:this.selectorPrinting.selectorToMarkedString(a),range:r(a)};break}if(a instanceof ue){Y(a.getText(),"@")||(o={contents:this.selectorPrinting.simpleSelectorToMarkedString(a),range:r(a)});break}if(a instanceof ye){var l=a.getFullPropertyName();(d=this.cssDataManager.getProperty(l))&&(o=(h=_t(d,this.doesSupportMarkdown()))?{contents:h,range:r(a)}:null)}else if(a instanceof ht){var c=a.getText();(d=this.cssDataManager.getAtDirective(c))&&(o=(h=_t(d,this.doesSupportMarkdown()))?{contents:h,range:r(a)}:null)}else if(a instanceof oe&&a.type===Z.PseudoSelector){var d,h,p=a.getText();(d="::"===p.slice(0,2)?this.cssDataManager.getPseudoElement(p):this.cssDataManager.getPseudoClass(p))&&(o=(h=_t(d,this.doesSupportMarkdown()))?{contents:h,range:r(a)}:null)}else;}return o&&(o.contents=this.convertContents(o.contents)),o},e.prototype.convertContents=function(e){return this.doesSupportMarkdown()||"string"==typeof e?e:"kind"in e?{kind:"plaintext",value:e.value}:Array.isArray(e)?e.map((function(e){return"string"==typeof e?e:e.value})):e.value},e.prototype.doesSupportMarkdown=function(){if(!tn(this.supportsMarkdown)){if(!tn(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(On.Markdown)}return this.supportsMarkdown},e}(),ii=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},oi=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},si=wt(),ai=function(){function e(e){this.fileSystemProvider=e}return e.prototype.findDefinition=function(e,t,n){var r=new An(n),i=ne(n,e.offsetAt(t));if(!i)return null;var o=r.findSymbolFromNode(i);return o?{uri:e.uri,range:li(o.node,e)}:null},e.prototype.findReferences=function(e,t,n){return this.findDocumentHighlights(e,t,n).map((function(t){return{uri:e.uri,range:t.range}}))},e.prototype.findDocumentHighlights=function(e,t,n){var r=[],i=ne(n,e.offsetAt(t));if(!i||i.type===Z.Stylesheet||i.type===Z.Declarations)return r;i.type===Z.Identifier&&i.parent&&i.parent.type===Z.ClassSelector&&(i=i.parent);var o=new An(n),s=o.findSymbolFromNode(i),a=i.getText();return n.accept((function(t){if(s){if(o.matchesSymbol(t,s))return r.push({kind:ci(t),range:li(t,e)}),!1}else i&&i.type===t.type&&t.matches(a)&&r.push({kind:ci(t),range:li(t,e)});return!0})),r},e.prototype.isRawStringDocumentLinkNode=function(e){return e.type===Z.Import},e.prototype.findDocumentLinks=function(e,t,n){for(var r=this.findUnresolvedLinks(e,t),i=0;i<r.length;i++){var o=r[i].target;if(o&&!/^\w+:\/\//g.test(o)){var s=n.resolveReference(o,e.uri);s&&(r[i].target=s)}}return r},e.prototype.findDocumentLinks2=function(e,t,n){return ii(this,void 0,void 0,(function(){var r,i,o,s,a,l,c;return oi(this,(function(d){switch(d.label){case 0:r=this.findUnresolvedLinks(e,t),i=[],o=0,s=r,d.label=1;case 1:return o<s.length?(a=s[o],!(l=a.target)||/^\w+:\/\//g.test(l)?[3,3]:[4,this.resolveRelativeReference(l,e.uri,n)]):[3,5];case 2:return void 0!==(c=d.sent())&&(a.target=c,i.push(a)),[3,4];case 3:i.push(a),d.label=4;case 4:return o++,[3,1];case 5:return[2,i]}}))}))},e.prototype.findUnresolvedLinks=function(e,t){var n=this,r=[],i=function(t){var n=t.getText(),i=li(t,e);i.start.line===i.end.line&&i.start.character===i.end.character||((Y(n,"'")||Y(n,'"'))&&(n=n.slice(1,-1)),r.push({target:n,range:i}))};return t.accept((function(e){if(e.type===Z.URILiteral){var t=e.getChild(0);return t&&i(t),!1}if(e.parent&&n.isRawStringDocumentLinkNode(e.parent)){var r=e.getText();return(Y(r,"'")||Y(r,'"'))&&i(e),!1}return!0})),r},e.prototype.findDocumentSymbols=function(e,t){var n=[];return t.accept((function(t){var r={name:null,kind:Xn.Class,location:null},i=t;if(t instanceof pe)return r.name=t.getText(),(i=t.findAParent(Z.Ruleset,Z.ExtendsReference))&&(r.location=cn.create(e.uri,li(i,e)),n.push(r)),!1;if(t instanceof rt)r.name=t.getName(),r.kind=Xn.Variable;else if(t instanceof dt)r.name=t.getName(),r.kind=Xn.Method;else if(t instanceof De)r.name=t.getName(),r.kind=Xn.Function;else if(t instanceof ze)r.name=si("literal.keyframes","@keyframes {0}",t.getName());else if(t instanceof Re)r.name=si("literal.fontface","@font-face");else if(t instanceof Ue){var o=t.getChild(0);o instanceof Be&&(r.name="@media "+o.getText(),r.kind=Xn.Module)}return r.name&&(r.location=cn.create(e.uri,li(i,e)),n.push(r)),!0})),n},e.prototype.findDocumentColors=function(e,t){var n=[];return t.accept((function(t){var r=function(e,t){var n=Wt(e);if(n){var r=li(e,t);return{color:n,range:r}}return null}(t,e);return r&&n.push(r),!0})),n},e.prototype.getColorPresentations=function(e,t,n,r){var i,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);i=1===n.alpha?"rgb("+s+", "+a+", "+l+")":"rgba("+s+", "+a+", "+l+", "+n.alpha+")",o.push({label:i,textEdit:Sn.replace(r,i)}),i=1===n.alpha?"#"+di(s)+di(a)+di(l):"#"+di(s)+di(a)+di(l)+di(Math.round(255*n.alpha)),o.push({label:i,textEdit:Sn.replace(r,i)});var c=function(e){var t=e.red,n=e.green,r=e.blue,i=e.alpha,o=Math.max(t,n,r),s=Math.min(t,n,r),a=0,l=0,c=(s+o)/2,d=o-s;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case t:a=(n-r)/d+(n<r?6:0);break;case n:a=(r-t)/d+2;break;case r:a=(t-n)/d+4}a*=60,a=Math.round(a)}return{h:a,s:l,l:c,a:i}}(n);return i=1===c.a?"hsl("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%)":"hsla("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%, "+c.a+")",o.push({label:i,textEdit:Sn.replace(r,i)}),o},e.prototype.doRename=function(e,t,n,r){var i,o=this.findDocumentHighlights(e,t,r).map((function(e){return Sn.replace(e.range,n)}));return{changes:(i={},i[e.uri]=o,i)}},e.prototype.resolveRelativeReference=function(e,t,n){return ii(this,void 0,void 0,(function(){var r,i,o,s,a;return oi(this,(function(l){switch(l.label){case 0:return"~"===e[0]&&"/"!==e[1]&&this.fileSystemProvider?(e=e.substring(1),Y(t,"file://")?(r=function(e){if("@"===e[0])return e.substring(0,e.indexOf("/",e.indexOf("/")+1));return e.substring(0,e.indexOf("/"))}(e),i=n.resolveReference("/",t),o=Sr(t),[4,this.resolvePathToModule(r,o,i)]):[3,2]):[3,3];case 1:if(s=l.sent())return a=e.substring(r.length+1),[2,kr(s,a)];l.label=2;case 2:case 3:return[2,n.resolveReference(e,t)]}}))}))},e.prototype.resolvePathToModule=function(e,t,n){return ii(this,void 0,void 0,(function(){var r;return oi(this,(function(i){switch(i.label){case 0:return r=kr(t,"node_modules",e,"package.json"),[4,this.fileExists(r)];case 1:return i.sent()?[2,Sr(r)]:n&&t.startsWith(n)&&t.length!==n.length?[2,this.resolvePathToModule(e,Sr(t),n)]:[2,void 0]}}))}))},e.prototype.fileExists=function(e){return ii(this,void 0,void 0,(function(){var t;return oi(this,(function(n){switch(n.label){case 0:if(!this.fileSystemProvider)return[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(e)];case 2:return(t=n.sent()).type===mr.Unknown&&-1===t.size?[2,!1]:[2,!0];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},e}();function li(e,t){return ln.create(t.positionAt(e.offset),t.positionAt(e.end))}function ci(e){if(e.type===Z.Selector)return Yn.Write;if(e instanceof ae&&e.parent&&e.parent instanceof ve&&e.isCustomProperty)return Yn.Write;if(e.parent)switch(e.parent.type){case Z.FunctionDeclaration:case Z.MixinDeclaration:case Z.Keyframe:case Z.VariableDeclaration:case Z.FunctionParameter:return Yn.Write}return Yn.Read}function di(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}var hi=wt(),pi=ie.Warning,ui=ie.Error,mi=ie.Ignore,fi=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},gi=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},bi={AllVendorPrefixes:new fi("compatibleVendorPrefixes",hi("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),mi),IncludeStandardPropertyWhenUsingVendorPrefix:new fi("vendorPrefix",hi("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),pi),DuplicateDeclarations:new fi("duplicateProperties",hi("rule.duplicateDeclarations","Do not use duplicate style definitions"),mi),EmptyRuleSet:new fi("emptyRules",hi("rule.emptyRuleSets","Do not use empty rulesets"),pi),ImportStatemement:new fi("importStatement",hi("rule.importDirective","Import statements do not load in parallel"),mi),BewareOfBoxModelSize:new fi("boxModel",hi("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),mi),UniversalSelector:new fi("universalSelector",hi("rule.universalSelector","The universal selector (*) is known to be slow"),mi),ZeroWithUnit:new fi("zeroUnits",hi("rule.zeroWidthUnit","No unit for zero needed"),mi),RequiredPropertiesForFontFace:new fi("fontFaceProperties",hi("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),pi),HexColorLength:new fi("hexColorLength",hi("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),ui),ArgsInColorFunction:new fi("argumentsInColorFunction",hi("rule.colorFunction","Invalid number of parameters"),ui),UnknownProperty:new fi("unknownProperties",hi("rule.unknownProperty","Unknown property."),pi),UnknownAtRules:new fi("unknownAtRules",hi("rule.unknownAtRules","Unknown at-rule."),pi),IEStarHack:new fi("ieHack",hi("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),mi),UnknownVendorSpecificProperty:new fi("unknownVendorSpecificProperties",hi("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),mi),PropertyIgnoredDueToDisplay:new fi("propertyIgnoredDueToDisplay",hi("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),pi),AvoidImportant:new fi("important",hi("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),mi),AvoidFloat:new fi("float",hi("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),mi),AvoidIdSelector:new fi("idSelector",hi("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),mi)},yi={ValidProperties:new gi("validProperties",hi("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},vi=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var t=function(e){switch(e){case"ignore":return ie.Ignore;case"warning":return ie.Warning;case"error":return ie.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();var wi=wt(),xi=function(){function e(e){this.cssDataManager=e}return e.prototype.doCodeActions=function(e,t,n,r){return this.doCodeActions2(e,t,n,r).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return xn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},e.prototype.doCodeActions2=function(e,t,n,r){var i=[];if(n.diagnostics)for(var o=0,s=n.diagnostics;o<s.length;o++){var a=s[o];this.appendFixesForMarker(e,r,a,i)}return i},e.prototype.getFixesForUnknownProperty=function(e,t,n,r){var i=t.getName(),o=[];this.cssDataManager.getProperties().forEach((function(e){var t=function(e,t,n){void 0===n&&(n=4);var r=Math.abs(e.length-t.length);if(r>n)return 0;var i,o,s=[],a=[];for(i=0;i<t.length+1;++i)a.push(0);for(i=0;i<e.length+1;++i)s.push(a);for(i=1;i<e.length+1;++i)for(o=1;o<t.length+1;++o)e[i-1]===t[o-1]?s[i][o]=s[i-1][o-1]+1:s[i][o]=Math.max(s[i-1][o],s[i][o-1]);return s[e.length][t.length]-Math.sqrt(r)}(i,e.name);t>=i.length/2&&o.push({property:e.name,score:t})})),o.sort((function(e,t){return t.score-e.score||e.property.localeCompare(t.property)}));for(var s=3,a=0,l=o;a<l.length;a++){var c=l[a].property,d=wi("css.codeaction.rename","Rename to '{0}'",c),h=Sn.replace(n.range,c),p=Mn.create(e.uri,e.version),u={documentChanges:[Cn.create(p,[h])]},m=rr.create(d,u,tr.QuickFix);if(m.diagnostics=[n],r.push(m),--s<=0)return}},e.prototype.appendFixesForMarker=function(e,t,n,r){if(n.code===bi.UnknownProperty.id)for(var i=e.offsetAt(n.range.start),o=e.offsetAt(n.range.end),s=re(t,i),a=s.length-1;a>=0;a--){var l=s[a];if(l instanceof ye){var c=l.getProperty();if(c&&c.offset===i&&c.end===o)return void this.getFixesForUnknownProperty(e,c,n,r)}}},e}(),Si=function(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e};function Ci(e,t,n,r){var i=e[t];i.value=n,n&&(on(i.properties,r)||i.properties.push(r))}function ki(e,t,n,r){"top"===t||"right"===t||"bottom"===t||"left"===t?Ci(e,t,n,r):function(e,t,n){Ci(e,"top",t,n),Ci(e,"right",t,n),Ci(e,"bottom",t,n),Ci(e,"left",t,n)}(e,n,r)}function Ei(e,t,n){switch(t.length){case 1:ki(e,void 0,t[0],n);break;case 2:ki(e,"top",t[0],n),ki(e,"bottom",t[0],n),ki(e,"right",t[1],n),ki(e,"left",t[1],n);break;case 3:ki(e,"top",t[0],n),ki(e,"right",t[1],n),ki(e,"left",t[1],n),ki(e,"bottom",t[2],n);break;case 4:ki(e,"top",t[0],n),ki(e,"right",t[1],n),ki(e,"bottom",t[2],n),ki(e,"left",t[3],n)}}function _i(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(e.matches(i))return!0}return!1}function Fi(e,t){return void 0===t&&(t=!0),(!t||!_i(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function Di(e,t){return void 0===t&&(t=!0),e.map((function(e){return Fi(e,t)}))}function Ti(e,t){return void 0===t&&(t=!0),!_i(e,["none","hidden"])&&(!t||!_i(e,["initial","unset"]))}function Ri(e,t){return void 0===t&&(t=!0),e.map((function(e){return Ti(e,t)}))}function Ni(e){var t=e.getChildren();if(1===t.length)return Fi(i=t[0])&&Ti(i);for(var n=0,r=t;n<r.length;n++){var i;if(!Fi(i=r[n],!1)||!Ti(i,!1))return!1}return!0}var zi=wt(),Ai=function(){function e(){this.data={}}return e.prototype.add=function(e,t,n){var r=this.data[e];r||(r={nodes:[],names:[]},this.data[e]=r),r.names.push(t),n&&r.nodes.push(n)},e}(),Ii=function(){function e(e,t,n){var r=this;this.cssDataManager=n,this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new Ai,this.validProperties={};var i=t.getSetting(yi.ValidProperties);Array.isArray(i)&&i.forEach((function(e){if("string"==typeof e){var t=e.trim().toLowerCase();t.length&&(r.validProperties[t]=!0)}}))}return e.entries=function(t,n,r,i,o){var s=new e(n,r,i);return t.acceptVisitor(s),s.completeValidations(),s.getEntries(o)},e.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},e.prototype.fetch=function(e,t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];o.fullPropertyName===t&&n.push(o)}return n},e.prototype.fetchWithValue=function(e,t,n){for(var r=[],i=0,o=e;i<o.length;i++){var s=o[i];if(s.fullPropertyName===t){var a=s.node.getValue();a&&this.findValueInExpression(a,n)&&r.push(s)}}return r},e.prototype.findValueInExpression=function(e,t){var n=!1;return e.accept((function(e){return e.type===Z.Identifier&&e.matches(t)&&(n=!0),!n})),n},e.prototype.getEntries=function(e){return void 0===e&&(e=ie.Warning|ie.Error),this.warnings.filter((function(t){return 0!=(t.getLevel()&e)}))},e.prototype.addEntry=function(e,t,n){var r=new gt(e,t,this.settings.getRule(t),n);this.warnings.push(r)},e.prototype.getMissingNames=function(e,t){for(var n=e.slice(0),r=0;r<t.length;r++){var i=n.indexOf(t[r]);-1!==i&&(n[i]=null)}var o=null;for(r=0;r<n.length;r++){var s=n[r];s&&(o=null===o?zi("namelist.single","'{0}'",s):zi("namelist.concatenated","{0}, '{1}'",o,s))}return o},e.prototype.visitNode=function(e){switch(e.type){case Z.UnknownAtRule:return this.visitUnknownAtRule(e);case Z.Keyframe:return this.visitKeyframe(e);case Z.FontFace:return this.visitFontFace(e);case Z.Ruleset:return this.visitRuleSet(e);case Z.SimpleSelector:return this.visitSimpleSelector(e);case Z.Function:return this.visitFunction(e);case Z.NumericValue:return this.visitNumericValue(e);case Z.Import:return this.visitImport(e);case Z.HexColorValue:return this.visitHexColorValue(e);case Z.Prio:return this.visitPrio(e)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(e){var t=e.getChild(0);return!!t&&(!this.cssDataManager.getAtDirective(t.getText())&&(this.addEntry(t,bi.UnknownAtRules,"Unknown at rule "+t.getText()),!0))},e.prototype.visitKeyframe=function(e){var t=e.getKeyword();if(!t)return!1;var n=t.getText();return this.keyframes.add(e.getName(),n,"@keyframes"!==n?t:null),!0},e.prototype.validateKeyframes=function(){var e=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var t in this.keyframes.data){var n=this.keyframes.data[t].names,r=-1===n.indexOf("@keyframes");if(r||1!==n.length){var i=this.getMissingNames(e,n);if(i||r)for(var o=0,s=this.keyframes.data[t].nodes;o<s.length;o++){var a=s[o];if(r){var l=zi("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(a,bi.IncludeStandardPropertyWhenUsingVendorPrefix,l)}if(i){l=zi("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",i);this.addEntry(a,bi.AllVendorPrefixes,l)}}}}return!0},e.prototype.visitSimpleSelector=function(e){var t=this.documentText.charAt(e.offset);return 1===e.length&&"*"===t&&this.addEntry(e,bi.UniversalSelector),"#"===t&&this.addEntry(e,bi.AvoidIdSelector),!0},e.prototype.visitImport=function(e){return this.addEntry(e,bi.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),bi.EmptyRuleSet);for(var r=[],i=0,o=n.getChildren();i<o.length;i++){(C=o[i])instanceof ye&&r.push(new Si(C))}var s=function(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,r=e;n<r.length;n++){var i=r[n],o=i.node.value;if(void 0!==o)switch(i.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":t.width=i;break;case"height":t.height=i;break;default:var s=i.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:ki(t,s[1],Ni(o),i);break;case"width":ki(t,s[1],Fi(o,!1),i);break;case"style":ki(t,s[1],Ti(o,!0),i)}break;case"width":Ei(t,Di(o.getChildren(),!1),i);break;case"style":Ei(t,Ri(o.getChildren(),!0),i)}break;case"padding":1===s.length?Ei(t,Di(o.getChildren(),!0),i):ki(t,s[1],Fi(o,!0),i)}}}return t}(r);if(s.width){var a=[];if(s.right.value&&(a=sn(a,s.right.properties)),s.left.value&&(a=sn(a,s.left.properties)),0!==a.length){for(var l=0,c=a;l<c.length;l++){var d=c[l];this.addEntry(d.node,bi.BewareOfBoxModelSize)}this.addEntry(s.width.node,bi.BewareOfBoxModelSize)}}if(s.height){a=[];if(s.top.value&&(a=sn(a,s.top.properties)),s.bottom.value&&(a=sn(a,s.bottom.properties)),0!==a.length){for(var h=0,p=a;h<p.length;h++){d=p[h];this.addEntry(d.node,bi.BewareOfBoxModelSize)}this.addEntry(s.height.node,bi.BewareOfBoxModelSize)}}var u=this.fetchWithValue(r,"display","inline");if(u.length>0)for(var m=0,f=["width","height","margin-top","margin-bottom","float"];m<f.length;m++)for(var g=f[m],b=this.fetch(r,g),y=0;y<b.length;y++){var v=b[y].node,w=v.getValue();("float"!==g||w&&!w.matches("none"))&&this.addEntry(v,bi.PropertyIgnoredDueToDisplay,zi("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((u=this.fetchWithValue(r,"display","inline-block")).length>0)for(b=this.fetch(r,"float"),y=0;y<b.length;y++){var x=b[y].node;(w=x.getValue())&&!w.matches("none")&&this.addEntry(x,bi.PropertyIgnoredDueToDisplay,zi("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((u=this.fetchWithValue(r,"display","block")).length>0)for(b=this.fetch(r,"vertical-align"),y=0;y<b.length;y++)this.addEntry(b[y].node,bi.PropertyIgnoredDueToDisplay,zi("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var S=this.fetch(r,"float");for(y=0;y<S.length;y++){var C=S[y];this.isValidPropertyDeclaration(C)||this.addEntry(C.node,bi.AvoidFloat)}for(var k=0;k<r.length;k++){if("background"!==(C=r[k]).fullPropertyName&&!this.validProperties[C.fullPropertyName])if((w=C.node.getValue())&&"-"!==this.documentText.charAt(w.offset)){var E=this.fetch(r,C.fullPropertyName);if(E.length>1)for(var _=0;_<E.length;_++){var F=E[_].node.getValue();F&&"-"!==this.documentText.charAt(F.offset)&&E[_]!==C&&this.addEntry(C.node,bi.DuplicateDeclarations)}}}if(!t.getSelectors().matches(":export")){for(var D=new Ai,T=!1,R=0,N=r;R<N.length;R++){var z=(C=N[R]).node;if(this.isCSSDeclaration(z)){var A=C.fullPropertyName,I=A.charAt(0);if("-"===I){if("-"!==A.charAt(1)){this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(z.getProperty(),bi.UnknownVendorSpecificProperty);var M=z.getNonPrefixedPropertyName();D.add(M,A,z.getProperty())}}else{var P=A;"*"!==I&&"_"!==I||(this.addEntry(z.getProperty(),bi.IEStarHack),A=A.substr(1)),this.cssDataManager.isKnownProperty(P)||this.cssDataManager.isKnownProperty(A)||this.validProperties[A]||this.addEntry(z.getProperty(),bi.UnknownProperty,zi("property.unknownproperty.detailed","Unknown property: '{0}'",z.getFullPropertyName())),D.add(A,A,null)}}else T=!0}if(!T)for(var O in D.data){var L=D.data[O],W=L.names,U=this.cssDataManager.isStandardProperty(O)&&-1===W.indexOf(O);if(U||1!==W.length){for(var j=[],V=(k=0,e.prefixes.length);k<V;k++){var B=e.prefixes[k];this.cssDataManager.isStandardProperty(B+O)&&j.push(B+O)}var K=this.getMissingNames(j,W);if(K||U)for(var q=0,$=L.nodes;q<$.length;q++){var G=$[q];if(U){var H=zi("property.standard.missing","Also define the standard property '{0}' for compatibility",O);this.addEntry(G,bi.IncludeStandardPropertyWhenUsingVendorPrefix,H)}if(K){H=zi("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",K);this.addEntry(G,bi.AllVendorPrefixes,H)}}}}}return!0},e.prototype.visitPrio=function(e){return this.addEntry(e,bi.AvoidImportant),!0},e.prototype.visitNumericValue=function(e){var t=e.findParent(Z.Function);if(t&&"calc"===t.getName())return!0;var n=e.findParent(Z.Declaration);if(n&&n.getValue()){var r=e.getValue();if(!r.unit||-1===Jt.length.indexOf(r.unit.toLowerCase()))return!0;0===parseFloat(r.value)&&r.unit&&!this.validProperties[n.getFullPropertyName()]&&this.addEntry(e,bi.ZeroWithUnit)}return!0},e.prototype.visitFontFace=function(e){var t=e.getDeclarations();if(!t)return!1;for(var n=!1,r=!1,i=!1,o=0,s=t.getChildren();o<s.length;o++){var a=s[o];if(this.isCSSDeclaration(a)){var l=a.getProperty().getName().toLowerCase();"src"===l&&(n=!0),"font-family"===l&&(r=!0)}else i=!0}return i||n&&r||this.addEntry(e,bi.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(e){if(e instanceof ye){if(!e.getValue())return!1;var t=e.getProperty();if(!t)return!1;var n=t.getIdentifier();return!(!n||n.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(e){var t=e.length;return 9!==t&&7!==t&&5!==t&&4!==t&&this.addEntry(e,bi.HexColorLength),!1},e.prototype.visitFunction=function(e){var t=e.getName().toLowerCase(),n=-1,r=0;switch(t){case"rgb(":case"hsl(":n=3;break;case"rgba(":case"hsla(":n=4}return-1!==n&&(e.getArguments().accept((function(e){return!(e instanceof Ye)||(r+=1,!1)})),r!==n&&this.addEntry(e,bi.ArgsInColorFunction)),!0},e.prefixes=["-ms-","-moz-","-o-","-webkit-"],e}(),Mi=function(){function e(e){this.cssDataManager=e}return e.prototype.configure=function(e){this.settings=e},e.prototype.doValidation=function(e,t,n){if(void 0===n&&(n=this.settings),n&&!1===n.validate)return[];var r=[];r.push.apply(r,bt.entries(t)),r.push.apply(r,Ii.entries(t,e,new vi(n&&n.lint),this.cssDataManager));var i=[];for(var o in bi)i.push(bi[o].id);return r.filter((function(e){return e.getLevel()!==ie.Ignore})).map((function(t){var n=ln.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),r=e.languageId;return{code:t.getRule().id,source:r,message:t.getMessage(),severity:t.getLevel()===ie.Warning?bn.Warning:bn.Error,range:n}}))},e}(),Pi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oi="/".charCodeAt(0),Li="\n".charCodeAt(0),Wi="\r".charCodeAt(0),Ui="\f".charCodeAt(0),ji="$".charCodeAt(0),Vi="#".charCodeAt(0),Bi="{".charCodeAt(0),Ki="=".charCodeAt(0),qi="!".charCodeAt(0),$i="<".charCodeAt(0),Gi=">".charCodeAt(0),Hi=".".charCodeAt(0),Yi=("@".charCodeAt(0),r.CustomToken),Ji=Yi++,Xi=Yi++,Qi=(Yi++,Yi++),Zi=Yi++,eo=Yi++,to=Yi++,no=Yi++,ro=(Yi++,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pi(t,e),t.prototype.scanNext=function(t){if(this.stream.advanceIfChar(ji)){var n=["$"];if(this.ident(n))return this.finishToken(t,Ji,n.join(""));this.stream.goBackTo(t)}return this.stream.advanceIfChars([Vi,Bi])?this.finishToken(t,Xi):this.stream.advanceIfChars([Ki,Ki])?this.finishToken(t,Qi):this.stream.advanceIfChars([qi,Ki])?this.finishToken(t,Zi):this.stream.advanceIfChar($i)?this.stream.advanceIfChar(Ki)?this.finishToken(t,to):this.finishToken(t,r.Delim):this.stream.advanceIfChar(Gi)?this.stream.advanceIfChar(Ki)?this.finishToken(t,eo):this.finishToken(t,r.Delim):this.stream.advanceIfChars([Hi,Hi,Hi])?this.finishToken(t,no):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Oi,Oi]))&&(this.stream.advanceWhileChar((function(e){switch(e){case Li:case Wi:case Ui:return!1;default:return!0}})),!0)},t}(H)),io=wt(),oo=function(e,t){this.id=e,this.message=t},so={FromExpected:new oo("scss-fromexpected",io("expected.from","'from' expected")),ThroughOrToExpected:new oo("scss-throughexpected",io("expected.through","'through' or 'to' expected")),InExpected:new oo("scss-fromexpected",io("expected.in","'in' expected"))},ao=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),lo=function(e){function t(){return e.call(this,new ro)||this}return ao(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(r.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(t)||e.prototype._parseStylesheetAtStatement.call(this,t):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Ie);if(this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.URIOrStringExpected);for(;this.accept(r.Comma);)if(!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.URIOrStringExpected);return this.peek(r.SemiColon)||this.peek(r.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)},t.prototype._parseVariableDeclaration=function(e){if(void 0===e&&(e=[]),!this.peek(Ji))return null;var t=this.create(rt);if(!t.setVariable(this._parseVariable()))return null;if(!this.accept(r.Colon))return this.finish(t,Ct.ColonExpected);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),!t.setValue(this._parseExpr()))return this.finish(t,Ct.VariableValueExpected,[],e);for(;this.peek(r.Exclamation);)if(t.addChild(this._tryParsePrio()));else{if(this.consumeToken(),!this.peekRegExp(r.Ident,/^(default|global)$/))return this.finish(t,Ct.UnknownKeyword);this.consumeToken()}return this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(Ji))return null;var e=this.create(ot);return this.consumeToken(),e},t.prototype._parseModuleMember=function(){var e=this.mark(),t=this.create(ft);return t.setIdentifier(this._parseIdent([ee.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,Ct.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(e){var t=this;if(!this.peek(r.Ident)&&!this.peek(Xi)&&!this.peekDelim("-"))return null;var n=this.create(ae);n.referenceTypes=e,n.isCustomProperty=this.peekRegExp(r.Ident,/^--/);for(var i,o=!1;(this.accept(r.Ident)||n.addChild((i=void 0,i=t.mark(),t.acceptDelim("-")&&(t.hasWhitespace()||t.acceptDelim("-"),t.hasWhitespace())?(t.restoreAtMark(i),null):t._parseInterpolation()))||o&&this.acceptRegexp(/[\w-]/))&&(o=!0,!this.hasWhitespace()););return o?this.finish(n):null},t.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||e.prototype._parseTermExpression.call(this)},t.prototype._parseInterpolation=function(){if(this.peek(Xi)){var e=this.create(it);return this.consumeToken(),e.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(r.CurlyR)?this.finish(e):this.finish(e,Ct.RightCurlyExpected):this.accept(r.CurlyR)?this.finish(e):this.finish(e,Ct.ExpressionExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Qi)||this.peek(Zi)||this.peek(eo)||this.peek(to)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(Z.Operator);return this.consumeToken(),this.finish(t)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(oe);return this.consumeToken(),this.finish(t)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(r.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(e){var t=this.create(ye);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(r.Colon))return this.finish(t,Ct.ColonExpected,[r.Colon],e);this.prevToken&&(t.colonPosition=this.prevToken.offset);var n=!1;if(t.setValue(this._parseExpr())&&(n=!0,t.addChild(this._parsePrio())),this.peek(r.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!n)return this.finish(t,Ct.PropertyValueExpected);return this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseNestedProperties=function(){var e=this.create(Ne);return this._parseBody(e,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(st);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,Ct.SelectorExpected);for(;this.accept(r.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(r.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,Ct.UnknownKeyword):this.finish(e)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Z.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(r.Num)||this.accept(r.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var e=this.createNode(Z.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){e=this.createNode(Z.SelectorPlaceholder);return this.consumeToken(),this.finish(e)}return null},t.prototype._parseElementName=function(){var t=this.mark(),n=e.prototype._parseElementName.call(this);return n&&!this.hasWhitespace()&&this.peek(r.ParenthesisL)?(this.restoreAtMark(t),null):n},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var e=this.createNode(Z.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)},t.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(r.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},t.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},t.prototype._internalParseIfStatement=function(e){var t=this.create(Ce);if(this.consumeToken(),!t.setExpression(this._parseExpr(!0)))return this.finish(t,Ct.ExpressionExpected);if(this._parseBody(t,e),this.acceptKeyword("@else"))if(this.peekIdent("if"))t.setElseClause(this._internalParseIfStatement(e));else if(this.peek(r.CurlyL)){var n=this.create(Fe);this._parseBody(n,e),t.setElseClause(n)}return this.finish(t)},t.prototype._parseForStatement=function(e){if(!this.peekKeyword("@for"))return null;var t=this.create(ke);return this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,Ct.ExpressionExpected,[r.CurlyR]):this.finish(t,so.ThroughOrToExpected,[r.CurlyR]):this.finish(t,Ct.ExpressionExpected,[r.CurlyR]):this.finish(t,so.FromExpected,[r.CurlyR]):this.finish(t,Ct.VariableNameExpected,[r.CurlyR])},t.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(Ee);this.consumeToken();var n=t.getVariables();if(!n.addChild(this._parseVariable()))return this.finish(t,Ct.VariableNameExpected,[r.CurlyR]);for(;this.accept(r.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,Ct.VariableNameExpected,[r.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,Ct.ExpressionExpected,[r.CurlyR]):this.finish(t,so.InExpected,[r.CurlyR])},t.prototype._parseWhileStatement=function(e){if(!this.peekKeyword("@while"))return null;var t=this.create(_e);return this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,Ct.ExpressionExpected,[r.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(De);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Function])))return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected,[r.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ct.VariableNameExpected);return this.accept(r.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,Ct.RightParenthesisExpected,[r.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var e=this.createNode(Z.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,Ct.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(dt);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([ee.Mixin])))return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);if(this.accept(r.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ct.VariableNameExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected,[r.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var e=this.create(xe);return e.setIdentifier(this._parseVariable())?(this.accept(no),this.accept(r.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,Ct.VariableValueExpected,[],[r.Comma,r.ParenthesisR]):this.finish(e)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.create(at);if(this.consumeToken(),this.accept(r.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,Ct.ExpressionExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected)}return this.finish(e)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(ct);this.consumeToken();var t=this._parseIdent([ee.Mixin]);if(!e.setIdentifier(t))return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([ee.Mixin]);if(!n)return this.finish(e,Ct.IdentifierExpected,[r.CurlyR]);var i=this.create(ft);t.referenceTypes=[ee.Module],i.setIdentifier(t),e.setIdentifier(n),e.addChild(i)}if(this.accept(r.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,Ct.ExpressionExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(r.CurlyL))&&e.setContent(this._parseMixinContentDeclaration()),this.finish(e)},t.prototype._parseMixinContentDeclaration=function(){var e=this.create(lt);if(this.acceptIdent("using")){if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected,[r.CurlyL]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ct.VariableNameExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected,[r.CurlyL])}return this.peek(r.CurlyL)&&this._parseBody(e,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(e)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var e=this.create(Se),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(r.Colon))e.setIdentifier(n);else{if(this.accept(no))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(no),e.addChild(this._parsePrio()),this.finish(e)):e.setValue(this._tryParsePrio())?this.finish(e):null},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(r.ParenthesisR)){this.restoreAtMark(t);var i=this.create(oe);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return n},t.prototype._parseOperation=function(){if(!this.peek(r.ParenthesisL))return null;var e=this.create(oe);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(r.Comma);return this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},t.prototype._parseListElement=function(){var e=this.create(pt),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(r.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,Ct.ExpressionExpected)}else e.setValue(t);return this.finish(e)},t.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var e=this.create(Me);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.StringLiteralExpected);if(!this.peek(r.SemiColon)&&!this.peek(r.EOF)){if(!this.peekRegExp(r.Ident,/as|with/))return this.finish(e,Ct.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([ee.Module]))&&!this.acceptDelim("*"))return this.finish(e,Ct.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected,[r.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ct.VariableNameExpected);for(;this.accept(r.Comma)&&!this.peek(r.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ct.VariableNameExpected);if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected)}}return this.accept(r.SemiColon)||this.accept(r.EOF)?this.finish(e):this.finish(e,Ct.SemiColonExpected)},t.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Pe);return e.setIdentifier(this._parseVariable())?this.accept(r.Colon)&&e.setValue(this._parseExpr(!0))?this.finish(e):this.finish(e,Ct.VariableValueExpected,[],[r.Comma,r.ParenthesisR]):null},t.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var e=this.create(Oe);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,Ct.StringLiteralExpected);if(!this.peek(r.SemiColon)&&!this.peek(r.EOF)){if(!this.peekRegExp(r.Ident,/as|hide|show/))return this.finish(e,Ct.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([ee.Forward]);if(!e.setIdentifier(t))return this.finish(e,Ct.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,Ct.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,Ct.IdentifierOrVariableExpected)}return this.accept(r.SemiColon)||this.accept(r.EOF)?this.finish(e):this.finish(e,Ct.SemiColonExpected)},t.prototype._parseForwardVisibility=function(){var e=this.create(Le);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent()););return e.getChildren().length>1?e:null},t.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||e.prototype._parseSupportsCondition.call(this)},t}(rn),co=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ho=wt(),po=function(e){function t(n,r){var i=e.call(this,"$",n,r)||this;return uo(t.scssModuleLoaders),uo(t.scssModuleBuiltIns),i}return co(t,e),t.prototype.isImportPathParent=function(t){return t===Z.Forward||t===Z.Use||e.prototype.isImportPathParent.call(this,t)},t.prototype.getCompletionForImportPath=function(n,r){var i=n.getParent().type;if(i===Z.Forward||i===Z.Use)for(var o=0,s=t.scssModuleBuiltIns;o<s.length;o++){var a=s[o],l={label:a.label,documentation:a.documentation,textEdit:Sn.replace(this.getCompletionRange(n),"'"+a.label+"'"),kind:Wn.Module};r.items.push(l)}return e.prototype.getCompletionForImportPath.call(this,n,r)},t.prototype.createReplaceFunction=function(){var e=1;return function(n,r){return"\\"+r+": ${"+e+++":"+(t.variableDefaults[r]||"")+"}"}},t.prototype.createFunctionProposals=function(e,t,n,r){for(var i=0,o=e;i<o.length;i++){var s=o[i],a=s.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),l={label:s.func.substr(0,s.func.indexOf("(")),detail:s.func,documentation:s.desc,textEdit:Sn.replace(this.getCompletionRange(t),a),insertTextFormat:Un.Snippet,kind:Wn.Function};n&&(l.sortText="z"),r.items.push(l)}return r},t.prototype.getCompletionsForSelector=function(n,r,i){return this.createFunctionProposals(t.selectorFuncs,null,!0,i),e.prototype.getCompletionsForSelector.call(this,n,r,i)},t.prototype.getTermProposals=function(n,r,i){var o=t.builtInFuncs;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,r,!0,i),e.prototype.getTermProposals.call(this,n,r,i)},t.prototype.getColorProposals=function(n,r,i){return this.createFunctionProposals(t.colorProposals,r,!1,i),e.prototype.getColorProposals.call(this,n,r,i)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionForAtDirectives(n),this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.prototype.getCompletionsForExtendsReference=function(e,t,n){for(var r=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,ee.Rule);r<i.length;r++){var o=i[r],s={label:o.name,textEdit:Sn.replace(this.getCompletionRange(t),o.name),kind:Wn.Function};n.items.push(s)}return n},t.prototype.getCompletionForAtDirectives=function(e){var n;return(n=e.items).push.apply(n,t.scssAtDirectives),e},t.prototype.getCompletionForTopLevel=function(t){return this.getCompletionForAtDirectives(t),this.getCompletionForModuleLoaders(t),e.prototype.getCompletionForTopLevel.call(this,t),t},t.prototype.getCompletionForModuleLoaders=function(e){var n;return(n=e.items).push.apply(n,t.scssModuleLoaders),e},t.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},t.colorProposals=[{func:"red($color)",desc:ho("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:ho("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:ho("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:ho("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:ho("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:ho("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:ho("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:ho("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:ho("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:ho("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:ho("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:ho("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:ho("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:ho("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:ho("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:ho("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:ho("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:ho("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:ho("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:ho("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:ho("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:ho("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:ho("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],t.selectorFuncs=[{func:"selector-nest($selectors…)",desc:ho("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:ho("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:ho("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:ho("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:ho("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:ho("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:ho("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:ho("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],t.builtInFuncs=[{func:"unquote($string)",desc:ho("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:ho("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:ho("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:ho("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:ho("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:ho("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:ho("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:ho("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:ho("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:ho("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:ho("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:ho("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:ho("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:ho("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:ho("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:ho("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:ho("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:ho("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:ho("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:ho("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:ho("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:ho("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:ho("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:ho("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:ho("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:ho("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:ho("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:ho("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:ho("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:ho("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:ho("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:ho("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:ho("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:ho("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:ho("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:ho("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:ho("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:ho("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:ho("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:ho("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:ho("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:ho("scss.builtin.call","Dynamically calls a Sass function.")}],t.scssAtDirectives=[{label:"@extend",documentation:ho("scss.builtin.@extend","Inherits the styles of another selector."),kind:Wn.Keyword},{label:"@at-root",documentation:ho("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:Wn.Keyword},{label:"@debug",documentation:ho("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:Wn.Keyword},{label:"@warn",documentation:ho("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:Wn.Keyword},{label:"@error",documentation:ho("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:Wn.Keyword},{label:"@if",documentation:ho("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@for",documentation:ho("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@each",documentation:ho("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@while",documentation:ho("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@mixin",documentation:ho("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@include",documentation:ho("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:Wn.Keyword},{label:"@function",documentation:ho("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:Wn.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:ho("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Un.Snippet,kind:Wn.Keyword},{label:"@forward",documentation:ho("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Un.Snippet,kind:Wn.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:ho("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:ho("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:ho("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:ho("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:ho("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:ho("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:ho("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}]}],t}(Lr);function uo(e){e.forEach((function(e){if(e.documentation&&e.references&&e.references.length>0){var t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "),e.documentation=t}}))}var mo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fo="/".charCodeAt(0),go="\n".charCodeAt(0),bo="\r".charCodeAt(0),yo="\f".charCodeAt(0),vo="`".charCodeAt(0),wo=".".charCodeAt(0),xo=r.CustomToken,So=xo++,Co=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mo(t,e),t.prototype.scanNext=function(t){var n=this.escapedJavaScript();return null!==n?this.finishToken(t,n):this.stream.advanceIfChars([wo,wo,wo])?this.finishToken(t,So):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([fo,fo]))&&(this.stream.advanceWhileChar((function(e){switch(e){case go:case bo:case yo:return!1;default:return!0}})),!0)},t.prototype.escapedJavaScript=function(){return this.stream.peekChar()===vo?(this.stream.advance(1),this.stream.advanceWhileChar((function(e){return e!==vo})),this.stream.advanceIfChar(vo)?r.EscapedJavaScript:r.BadEscapedJavaScript):null},t}(H),ko=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Eo=function(e){function t(){return e.call(this,new Co)||this}return ko(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(r.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var e=this.create(Ie);if(this.consumeToken(),this.accept(r.ParenthesisL)){if(!this.accept(r.Ident))return this.finish(e,Ct.IdentifierExpected,[r.SemiColon]);do{if(!this.accept(r.Comma))break}while(this.accept(r.Ident));if(!this.accept(r.ParenthesisR))return this.finish(e,Ct.RightParenthesisExpected,[r.SemiColon])}return e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(r.SemiColon)||this.peek(r.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,Ct.URIOrStringExpected,[r.SemiColon])},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var e=this.createNode(Z.Plugin);return this.consumeToken(),e.addChild(this._parseStringLiteral())?this.accept(r.SemiColon)?this.finish(e):this.finish(e,Ct.SemiColonExpected):this.finish(e,Ct.StringLiteralExpected)},t.prototype._parseMediaQuery=function(t){var n=e.prototype._parseMediaQuery.call(this,t);if(!n){var r=this.create(Ke);return r.addChild(this._parseVariable())?this.finish(r):null}return n},t.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(e){void 0===e&&(e=[]);var t=this.create(rt),n=this.mark();if(!t.setVariable(this._parseVariable(!0)))return null;if(!this.accept(r.Colon))return this.restoreAtMark(n),null;if(this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseDetachedRuleSet()))t.needsSemicolon=!1;else if(!t.setValue(this._parseExpr()))return this.finish(t,Ct.VariableValueExpected,[],e);return t.addChild(this._parsePrio()),this.peek(r.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseDetachedRuleSet=function(){var e=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;var t=this.create(dt);if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,Ct.IdentifierExpected,[],[r.ParenthesisR]);if(!this.accept(r.ParenthesisR))return this.restoreAtMark(e),null}if(!this.peek(r.CurlyL))return null;var n=this.create(de);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(e){if(!e.addChild(this._parseLookupValue()))return!1;for(var t=!1;this.peek(r.BracketL)&&(t=!0),e.addChild(this._parseLookupValue());)t=!1;return!t},t.prototype._parseLookupValue=function(){var e=this.create(oe),t=this.mark();return this.accept(r.BracketL)&&((e.addChild(this._parseVariable(!1,!0))||e.addChild(this._parsePropertyIdentifier()))&&this.accept(r.BracketR)||this.accept(r.BracketR))?e:(this.restoreAtMark(t),null)},t.prototype._parseVariable=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=!e&&this.peekDelim("$");if(!this.peekDelim("@")&&!n&&!this.peek(r.AtKeyword))return null;for(var i=this.create(ot),o=this.mark();this.acceptDelim("@")||!e&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(o),null;return(this.accept(r.AtKeyword)||this.accept(r.Ident))&&(t||!this.peek(r.BracketL)||this._addLookupChildren(i))?i:(this.restoreAtMark(o),null)},t.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||e.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},t.prototype._parseEscaped=function(){if(this.peek(r.EscapedJavaScript)||this.peek(r.BadEscapedJavaScript)){var e=this.createNode(Z.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){e=this.createNode(Z.EscapedValue);return this.consumeToken(),this.accept(r.String)||this.accept(r.EscapedJavaScript)?this.finish(e):this.finish(e,Ct.TermExpected)}return null},t.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var e=this.createNode(Z.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){e=this.createNode(Z.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){e=this.createNode(Z.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(r.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([ee.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(e){var t=this.create(pe),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var i=this.mark();if(t.addChild(this._parseGuard())&&this.peek(r.CurlyL))break;this.restoreAtMark(i),t.addChild(this._parseCombinator())}return n?this.finish(t):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Z.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(r.Num)||this.accept(r.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var e=this.createNode(Z.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null},t.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;var n=this.mark(),r=this.create(ae);r.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");return(e?r.isCustomProperty?r.addChild(this._parseIdent()):r.addChild(this._parseRegexp(t)):r.isCustomProperty?this._acceptInterpolatedIdent(r):this._acceptInterpolatedIdent(r,t))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(r)):(this.restoreAtMark(n),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(r.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},t.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,i=!1,o=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},s=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(r.Ident)};(s()||e.addChild(this._parseInterpolation()||this.try(o)))&&(i=!0,!this.hasWhitespace()););return i},t.prototype._parseInterpolation=function(){var e=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var t=this.createNode(Z.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(r.CurlyL)?(this.restoreAtMark(e),null):t.addChild(this._parseIdent())?this.accept(r.CurlyR)?this.finish(t):this.finish(t,Ct.RightCurlyExpected):this.finish(t,Ct.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(dt);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,Ct.IdentifierExpected,[],[r.ParenthesisR]);return this.accept(r.ParenthesisR)?(t.setGuard(this._parseGuard()),this.peek(r.CurlyL)?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)):(this.restoreAtMark(e),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(ae),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(r.Hash))return null;e=this.create(ae),this.consumeToken()}return e.referenceTypes=[ee.Mixin],this.finish(e)},t.prototype._parsePseudo=function(){if(!this.peek(r.Colon))return null;var t=this.mark(),n=this.create(st);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var e=this.mark(),t=this.create(st);return this.consumeToken(),!this.hasWhitespace()&&this.accept(r.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)},t.prototype._completeExtends=function(e){if(!this.accept(r.ParenthesisL))return this.finish(e,Ct.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,Ct.SelectorExpected);for(;this.accept(r.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,Ct.SelectorExpected);return this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(r.AtKeyword))return null;var e=this.mark(),t=this.create(ct);return!t.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(r.ParenthesisL)?this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected):(this.restoreAtMark(e),null)},t.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(ct),i=this._parseMixinDeclarationIdentifier();i;){this.acceptDelim(">");var o=this._parseMixinDeclarationIdentifier();if(!o)break;n.getNamespaces().addChild(i),i=o}if(!n.setIdentifier(i))return this.restoreAtMark(t),null;var s=!1;if(this.accept(r.ParenthesisL)){if(s=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,Ct.ExpressionExpected);if(!this.accept(r.ParenthesisR))return this.finish(n,Ct.RightParenthesisExpected);i.referenceTypes=[ee.Mixin]}else i.referenceTypes=[ee.Mixin,ee.Rule];return this.peek(r.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),s||this.peek(r.SemiColon)||this.peek(r.CurlyR)||this.peek(r.EOF)?this.finish(n):(this.restoreAtMark(t),null)},t.prototype._parseMixinArgument=function(){var e=this.create(Se),t=this.mark(),n=this._parseVariable();return n&&(this.accept(r.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},t.prototype._parseMixinParameter=function(){var e=this.create(xe);if(this.peekKeyword("@rest")){var t=this.create(oe);return this.consumeToken(),this.accept(So)?(e.setIdentifier(this.finish(t)),this.finish(e)):this.finish(e,Ct.DotExpected,[],[r.Comma,r.ParenthesisR])}if(this.peek(So)){var n=this.create(oe);return this.consumeToken(),e.setIdentifier(this.finish(n)),this.finish(e)}var i=!1;return e.setIdentifier(this._parseVariable())&&(this.accept(r.Colon),i=!0),e.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||i?this.finish(e):null},t.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(ut);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,Ct.ConditionExpected);for(;this.acceptIdent("and")||this.accept(r.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,Ct.ConditionExpected);return this.finish(e)},t.prototype._parseGuardCondition=function(){if(!this.peek(r.ParenthesisL))return null;var e=this.create(mt);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(r.ParenthesisR)?this.finish(e):this.finish(e,Ct.RightParenthesisExpected)},t.prototype._parseFunction=function(){var e=this.mark(),t=this.create(we);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(r.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(r.Comma)||this.accept(r.SemiColon))&&!this.peek(r.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,Ct.ExpressionExpected);return this.accept(r.ParenthesisR)?this.finish(t):this.finish(t,Ct.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(ae);return t.referenceTypes=[ee.Function],this.consumeToken(),this.finish(t)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(r.ParenthesisR)){this.restoreAtMark(t);var i=this.create(oe);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return n},t}(rn),_o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fo=wt(),Do=function(e){function t(t,n){return e.call(this,"@",t,n)||this}return _o(t,e),t.prototype.createFunctionProposals=function(e,t,n,r){for(var i=0,o=e;i<o.length;i++){var s=o[i],a={label:s.name,detail:s.example,documentation:s.description,textEdit:Sn.replace(this.getCompletionRange(t),s.name+"($0)"),insertTextFormat:Un.Snippet,kind:Wn.Function};n&&(a.sortText="z"),r.items.push(a)}return r},t.prototype.getTermProposals=function(n,r,i){var o=t.builtInProposals;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,r,!0,i),e.prototype.getTermProposals.call(this,n,r,i)},t.prototype.getColorProposals=function(n,r,i){return this.createFunctionProposals(t.colorProposals,r,!1,i),e.prototype.getColorProposals.call(this,n,r,i)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:Fo("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:Fo("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:Fo("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:Fo("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:Fo("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:Fo("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:Fo("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:Fo("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:Fo("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:Fo("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:Fo("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:Fo("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:Fo("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:Fo("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:Fo("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:Fo("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:Fo("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:Fo("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:Fo("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:Fo("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:Fo("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:Fo("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:Fo("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:Fo("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:Fo("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:Fo("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:Fo("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:Fo("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:Fo("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:Fo("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],t.colorProposals=[{name:"argb",example:"argb(@color);",description:Fo("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:Fo("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:Fo("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:Fo("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:Fo("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:Fo("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:Fo("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:Fo("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:Fo("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:Fo("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:Fo("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:Fo("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:Fo("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:Fo("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:Fo("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:Fo("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:Fo("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:Fo("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:Fo("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:Fo("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:Fo("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:Fo("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:Fo("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:Fo("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:Fo("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:Fo("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:Fo("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],t}(Lr);function To(e,t){return function(e,t){var n=t&&t.rangeLimit||Number.MAX_VALUE,r=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n})),i=[],o=-1;return r.forEach((function(e){e.startLine<o&&o<e.endLine||(i.push(e),o=e.endLine)})),i.length<n?i:i.slice(0,n)}(function(e){function t(t){return e.positionAt(t.offset).line}function n(t){return e.positionAt(t.offset+t.len).line}var i=[],o=[],s=function(){switch(e.languageId){case"scss":return new ro;case"less":return new Co;default:return new H}}();s.ignoreComment=!1,s.setSource(e.getText());var a=s.scan(),l=null,c=function(){switch(a.type){case r.CurlyL:case Xi:o.push({line:t(a),type:"brace",isStart:!0});break;case r.CurlyR:if(0!==o.length){if(!(p=Ro(o,"brace")))break;var c=n(a);"brace"===p.type&&(l&&n(l)!==c&&c--,p.line!==c&&i.push({startLine:p.line,endLine:c,kind:void 0}))}break;case r.Comment:var d=function(e){return"#region"===e?{line:t(a),type:"comment",isStart:!0}:{line:n(a),type:"comment",isStart:!1}},h=function(t){var n=t.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(n)return d(n[1]);if("scss"===e.languageId||"less"===e.languageId){var r=t.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(r)return d(r[1])}return null}(a);if(h)if(h.isStart)o.push(h);else{var p;if(!(p=Ro(o,"comment")))break;"comment"===p.type&&p.line!==h.line&&i.push({startLine:p.line,endLine:h.line,kind:"region"})}else{var u=function(e,r){var i=t(e),o=n(e);return i!==o?{startLine:i,endLine:o,kind:r}:null}(a,"comment");u&&i.push(u)}}l=a,a=s.scan()};for(;a.type!==r.EOF;)c();return i}(e),t)}function Ro(e,t){if(0===e.length)return null;for(var n=e.length-1;n>=0;n--)if(e[n].type===t&&e[n].isStart)return e.splice(n,1)[0];return null}var No={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",relevance:59,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",relevance:81,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",relevance:50,description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",relevance:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",relevance:69,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-duration",syntax:"<time>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"animation-timing-function",syntax:"<timing-function>#",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-blend-mode",browsers:["E79","FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",relevance:67,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"background-color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"background-origin",syntax:"<box>#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-position",syntax:"<bg-position>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:85,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"behavior",browsers:["IE6"],relevance:50,description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"border-bottom-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"border-bottom-width",syntax:"<line-width>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",relevance:75,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",relevance:86,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"border-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-end-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-start-color",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-end-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-left-color",syntax:"<color>",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"border-left-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"border-left-width",syntax:"<line-width>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right-color",syntax:"<color>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"border-right-style",syntax:"<line-style>",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"border-right-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"border-spacing",syntax:"<length> <length>?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-top-color",syntax:"<color>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"border-top-style",syntax:"<line-style>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"border-top-width",syntax:"<line-width>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"box-decoration-break",browsers:["E79","FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",relevance:50,description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",relevance:50,description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"caret-color",browsers:["E79","FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"color",syntax:"<color>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Sets the color of an element's text",restrictions:["color"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],relevance:50,description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",relevance:52,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"column-rule-color",syntax:"<color>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"column-rule-style",syntax:"<'border-style'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"column-rule-width",syntax:"<'border-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"contain",browsers:["E79","FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],syntax:"none | strict | content | [ size || layout || style || paint ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],relevance:50,description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",relevance:50,description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:74,description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"fill-opacity",relevance:52,description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],relevance:50,description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",relevance:78,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",relevance:58,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"flex-grow",syntax:"<number>",relevance:71,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-shrink",syntax:"<number>",relevance:69,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"font-kerning",browsers:["E79","FF32","S9","C33","O20"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",relevance:94,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"font-size-adjust",browsers:["E79","FF40","C43","O30"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",relevance:83,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["E79","FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["E79","FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"font-variant-ligatures",browsers:["E79","FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["E79","FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["E79","FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"glyph-orientation-horizontal",relevance:50,description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],relevance:50,description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",relevance:1,description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",relevance:1,description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"image-orientation",browsers:["E81","FF26","S13.1","C81","O67"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-rendering",browsers:["E79","FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["E79","FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"inline-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"isolation",browsers:["E79","FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",relevance:82,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],relevance:50,description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],relevance:50,description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"margin-block-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-block-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],relevance:50,description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["E79","FF53","S4","C1","O15"],syntax:"<geometry-box>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"mask-type",browsers:["E79","FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"max-block-size",browsers:["E79","FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"max-inline-size",browsers:["E79","FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],syntax:"<'max-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:89,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"min-inline-size",browsers:["E79","FF41","S12.1","C57","O44"],syntax:"<'min-width'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"mix-blend-mode",browsers:["E79","FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["E79","FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"motion-offset",browsers:["C46","O33"],relevance:50,description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],relevance:50,description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],relevance:50,description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",relevance:0,description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],relevance:50,description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],relevance:50,description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",relevance:0,description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],relevance:50,description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],relevance:50,description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],relevance:50,description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],relevance:50,description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],relevance:50,description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],relevance:50,description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",relevance:0,description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],relevance:50,description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",relevance:0,description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",relevance:0,description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",relevance:0,description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",relevance:0,description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",relevance:0,description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",relevance:0,description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",relevance:0,description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],relevance:50,description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],relevance:50,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],relevance:50,description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],relevance:50,description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],relevance:50,description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],relevance:50,description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],relevance:50,description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],relevance:50,description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",relevance:0,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],relevance:50,description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],relevance:50,description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E12","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],relevance:50,description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E12","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],relevance:50,description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E12","IE10"],relevance:50,description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E12","IE10"],relevance:50,description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",relevance:0,description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",relevance:0,description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",relevance:0,description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",relevance:0,description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],relevance:50,description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],relevance:50,description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],relevance:50,description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],relevance:50,description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],relevance:50,description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],relevance:50,description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],relevance:50,description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],relevance:50,description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",relevance:0,description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],relevance:50,description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",relevance:0,description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE5"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",relevance:0,description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",relevance:0,description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",relevance:0,description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",relevance:0,description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",relevance:0,description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",relevance:0,description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",relevance:0,description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],relevance:50,description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",relevance:0,description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],relevance:50,description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],relevance:50,description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],relevance:50,description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],relevance:50,description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],relevance:50,description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",relevance:0,description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",relevance:0,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],relevance:50,description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],relevance:50,description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",relevance:0,description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",relevance:0,description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",relevance:0,description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],relevance:50,description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],relevance:50,description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],relevance:50,description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],relevance:50,description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],relevance:50,description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",relevance:50,description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],relevance:50,description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],relevance:50,description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"opacity",syntax:"<alpha-value>",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"order",syntax:"<integer>",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"-o-table-baseline",browsers:["O9.6"],relevance:50,description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],relevance:50,description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],relevance:50,description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],relevance:50,description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",relevance:59,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"outline-width",syntax:"<line-width>",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",relevance:92,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",relevance:63,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:79,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",relevance:50,description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-bottom",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-end",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-inline-start",browsers:["E79","FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-right",syntax:"<length> | <percentage>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],syntax:"normal | [ fill || stroke || markers ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"perspective-origin",syntax:"<position>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",relevance:80,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],description:"The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.",restrictions:["enum"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",relevance:50,description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"resize",browsers:["E79","FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:90,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],relevance:50,description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE6"],relevance:50,description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"scroll-behavior",browsers:["E79","FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"shape-image-threshold",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<alpha-value>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"shape-margin",browsers:["E79","FF62","S10.1","C37","O24"],syntax:"<length-percentage>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-outside",browsers:["E79","FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],relevance:50,description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],syntax:"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",relevance:52,description:"The size CSS at-rule descriptor, used with the @page at-rule, defines the size and orientation of the box which is used to represent a page. Most of the time, this size corresponds to the target size of the printed page if applicable.",restrictions:["length"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",relevance:67,description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"stop-color",relevance:51,description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"stop-opacity",relevance:50,description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],relevance:63,description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],relevance:58,description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"stroke-dashoffset",relevance:58,description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],relevance:53,description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],relevance:50,description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"stroke-miterlimit",relevance:50,description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"stroke-opacity",relevance:51,description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"stroke-width",relevance:60,description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",relevance:50,description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:"interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style."},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",relevance:50,description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",relevance:61,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"tab-size",browsers:["E79","FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",relevance:93,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O34"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],relevance:50,description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"text-decoration-color",browsers:["E79","FF36","S12.1","C57","O44"],syntax:"<color>",relevance:52,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"text-decoration-line",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["E79","FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"text-orientation",browsers:["E79","FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["E79","FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["E79","FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",relevance:81,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"text-rendering",browsers:["E79","FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",relevance:68,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",relevance:84,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"text-underline-position",values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | from-font | [ under || [ left | right ] ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",relevance:95,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",relevance:65,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"transform-style",browsers:["E12","FF16","S9","C36","O23"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O23"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",relevance:54,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"transition-delay",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"transition-duration",syntax:"<time>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",relevance:64,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"transition-timing-function",syntax:"<timing-function>#",relevance:60,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",relevance:58,description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",relevance:24,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],relevance:50,description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],relevance:50,description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],relevance:50,description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],relevance:50,description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],relevance:50,description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],relevance:50,description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],relevance:50,description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],relevance:50,description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",relevance:0,description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],relevance:50,description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],relevance:50,description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],relevance:50,restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],relevance:50,description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],relevance:50,description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],relevance:50,description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],relevance:50,description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],relevance:50,description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],relevance:50,description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],relevance:50,description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],relevance:50,description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],relevance:50,description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["E79","S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],relevance:50,description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],relevance:50,description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],relevance:50,description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],relevance:50,description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],relevance:50,description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],relevance:50,description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],relevance:50,description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],relevance:50,description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],relevance:50,description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],relevance:50,description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],relevance:50,description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],relevance:50,description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],relevance:50,description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],relevance:50,description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],relevance:50,description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],relevance:50,description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],relevance:50,description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],relevance:50,restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",relevance:0,description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",relevance:0,description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",relevance:0,description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",relevance:0,description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",relevance:0,description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],relevance:50,description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],relevance:50,restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],relevance:50,description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],relevance:50,description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],relevance:50,description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E12","C16","O≤15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"}],restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],relevance:50,description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],relevance:50,description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],relevance:50,description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],relevance:50,description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],relevance:50,description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],relevance:50,description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],relevance:50,description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],relevance:50,description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],relevance:50,description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],relevance:50,description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],relevance:50,description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],relevance:50,restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",relevance:0,description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],relevance:50,description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",relevance:88,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",relevance:51,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",relevance:96,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"will-change",browsers:["E79","FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",relevance:62,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",relevance:72,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",relevance:57,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",relevance:77,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",relevance:91,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",relevance:74,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",relevance:0,description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",relevance:0,browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"}],description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"}],description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",relevance:0,browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"}],description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"}],description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"}],description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"}],description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",relevance:0,description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",relevance:0,description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",relevance:0,browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",relevance:0,description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",relevance:0,description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",relevance:0,description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",relevance:0,browsers:["E79","S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",relevance:0,description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",relevance:0,description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",relevance:0,description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",relevance:50,browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",relevance:0,description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",relevance:0,browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",relevance:0,browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",relevance:0,description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",relevance:0,browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",relevance:0,browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | menulist-button | <compat-auto>",relevance:60,browsers:["E84","FF1","S3","C84","O70"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",relevance:50,browsers:["E79","FF71","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"}],description:"The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions."},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",relevance:0,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"backdrop-filter",syntax:"none | <filter-function-list>",relevance:51,browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",relevance:0,browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",relevance:0,browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",relevance:50,browsers:["E79","FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"font-optical-sizing",syntax:"auto | none",relevance:50,browsers:["E17","FF62","S11","C79","O66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",relevance:50,browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"font-smooth",status:"nonstandard",syntax:"auto | never | always | <absolute-size> | <length>",relevance:0,browsers:["E79","FF25","S4","C5","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-smooth"}],description:""},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",relevance:50,browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",relevance:50,description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",relevance:50,browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"inset",syntax:"<'top'>{1,4}",relevance:50,browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-block-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",relevance:50,browsers:["E79","FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",relevance:50,browsers:["E79","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"margin-trim",status:"experimental",syntax:"none | in-flow | all",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-trim"}],description:"The margin-trim property allows the container to trim the margins of its children where they adjoin the container’s edges."},{name:"mask",syntax:"<mask-layer>#",relevance:50,browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"mask-border",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",relevance:50,description:"The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."},{name:"mask-border-mode",syntax:"luminance | alpha",relevance:50,description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",syntax:"[ <length> | <number> ]{1,4}",relevance:50,description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",syntax:"[ stretch | repeat | round | space ]{1,2}",relevance:50,description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",syntax:"<number-percentage>{1,4} fill?",relevance:50,description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",syntax:"none | <image>",relevance:50,description:"The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."},{name:"mask-border-width",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",relevance:50,description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",relevance:50,browsers:["E79","FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",relevance:50,browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",relevance:50,description:"The max-liens property forces a break after a set number of lines"},{name:"offset",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"offset-anchor",syntax:"auto | <position>",relevance:50,browsers:["E79","FF72","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-distance",syntax:"<length-percentage>",relevance:50,browsers:["E79","FF72","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"offset-path",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",relevance:50,browsers:["E79","FF72","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'},{name:"offset-position",status:"experimental",syntax:"auto | <position>",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-position"}],description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"offset-rotate",syntax:"[ auto | reverse ] || <angle>",relevance:50,browsers:["E79","FF72","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"overflow-anchor",syntax:"auto | none",relevance:51,browsers:["E79","FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"overflow-block",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",relevance:0,browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",syntax:"visible | hidden | clip | scroll | auto",relevance:50,browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",syntax:"[ contain | none | auto ]{1,2}",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-block",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"}],description:"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-inline",syntax:"contain | none | auto",relevance:50,browsers:["E79","FF73","C77","O64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"}],description:"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",syntax:"contain | none | auto",relevance:50,browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",relevance:50,browsers:["E79","FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",relevance:50,browsers:["E79","FF53","S9","C59","O46"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",relevance:50,browsers:["E79","FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",relevance:50,browsers:["E79","FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"row-gap",syntax:"normal | <length-percentage>",relevance:50,browsers:["E84","FF63","S10.1","C84","O70"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",relevance:50,description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scale",syntax:"none | <number>{1,3}",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",relevance:50,browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",relevance:50,browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",relevance:50,browsers:["E79","FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"scroll-snap-stop",syntax:"normal | always",relevance:50,browsers:["E79","C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",relevance:0,browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",relevance:52,browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"text-decoration-skip-ink",syntax:"auto | all | none",relevance:50,browsers:["E79","FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",relevance:50,browsers:["E79","FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",relevance:56,browsers:["E79","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"text-underline-offset",syntax:"auto | <length> | <percentage> ",relevance:50,browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"transform-box",syntax:"content-box | border-box | fill-box | stroke-box | view-box",relevance:50,browsers:["E79","FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",relevance:50,browsers:["FF72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",relevance:50,description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",relevance:54,description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"bleed",syntax:"auto | <length>",relevance:50,description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",syntax:"none | [ crop || cross ]",relevance:50,description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"min-zoom",syntax:"auto | <number> | <percentage>",relevance:50,description:"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"orientation",syntax:"auto | portrait | landscape",relevance:50,description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"user-zoom",syntax:"zoom | fixed",relevance:50,description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"viewport-fit",syntax:"auto | contain | cover",relevance:50,description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["E79","FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["E79","FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken"}],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF78","S4","C1","O9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["E79","FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["E79","FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["E79","FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["E79","FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["E79","FF78","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",browsers:["FF78","C72"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:where"}],description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["E79","FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E","IE10"],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E","IE10"],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E","IE10"],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E","IE10"],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E","IE10"],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E","IE10"],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E","IE10"],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E","IE10"],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["E79","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimum-value",browsers:["E79","S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value"}]},{name:"::-webkit-outer-spin-button",browsers:["S5","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["E79","S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["E79","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-corner",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-thumb",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["E79","S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-search-cancel-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["E79","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:'The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input\'s track to alter its numerical value.'},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["E80","FF68","S11.1","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["E79","FF72","S13.1","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["E79","FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]},zo=function(){function e(e){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(e)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(e){if(Array.isArray(e.properties))for(var t=0,n=e.properties;t<n.length;t++){var r=n[t];"string"==typeof r.name&&this._properties.push(r)}if(Array.isArray(e.atDirectives))for(var i=0,o=e.atDirectives;i<o.length;i++){Ao(r=o[i])&&this._atDirectives.push(r)}if(Array.isArray(e.pseudoClasses))for(var s=0,a=e.pseudoClasses;s<a.length;s++){Io(r=a[s])&&this._pseudoClasses.push(r)}if(Array.isArray(e.pseudoElements))for(var l=0,c=e.pseudoElements;l<c.length;l++){Mo(r=c[l])&&this._pseudoElements.push(r)}},e}();function Ao(e){return"string"==typeof e.name}function Io(e){return"string"==typeof e.name}function Mo(e){return"string"==typeof e.name}var Po=function(){function e(e){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders(!1!==(null==e?void 0:e.useDefaultDataProvider),(null==e?void 0:e.customDataProviders)||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new zo(No)),(n=this.dataProviders).push.apply(n,t),this.collectData()},e.prototype.collectData=function(){var e=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach((function(t){t.provideProperties().forEach((function(t){e._propertySet[t.name]||(e._propertySet[t.name]=t)})),t.provideAtDirectives().forEach((function(t){e._atDirectiveSet[t.name]||(e._atDirectiveSet[t.name]=t)})),t.providePseudoClasses().forEach((function(t){e._pseudoClassSet[t.name]||(e._pseudoClassSet[t.name]=t)})),t.providePseudoElements().forEach((function(t){e._pseudoElementSet[t.name]||(e._pseudoElementSet[t.name]=t)}))})),this._properties=en(this._propertySet),this._atDirectives=en(this._atDirectiveSet),this._pseudoClasses=en(this._pseudoClassSet),this._pseudoElements=en(this._pseudoElementSet)},e.prototype.getProperty=function(e){return this._propertySet[e]},e.prototype.getAtDirective=function(e){return this._atDirectiveSet[e]},e.prototype.getPseudoClass=function(e){return this._pseudoClassSet[e]},e.prototype.getPseudoElement=function(e){return this._pseudoElementSet[e]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(e){return e.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(e){return this.isKnownProperty(e)&&(!this._propertySet[e.toLowerCase()].status||"standard"===this._propertySet[e.toLowerCase()].status)},e}();function Oo(e,t,n){return t.map((function(t){for(var r=function(t){var r=e.offsetAt(t),i=n.findChildAtOffset(r,!0);if(!i)return[];var o=[];for(;i;)i.parent&&i.offset===i.parent.offset&&i.end===i.parent.end||(i.type===Z.Declarations&&r>i.offset&&r<i.end&&o.push([i.offset+1,i.end-1]),o.push([i.offset,i.end])),i=i.parent;return o}(t),i=void 0,o=r.length-1;o>=0;o--)i=ar.create(ln.create(e.positionAt(r[o][0]),e.positionAt(r[o][1])),i);return i||(i=ar.create(ln.create(t,t))),i}))}var Lo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wo=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},Uo=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},jo=function(e){function t(t){return e.call(this,t)||this}return Lo(t,e),t.prototype.isRawStringDocumentLinkNode=function(t){return e.prototype.isRawStringDocumentLinkNode.call(this,t)||t.type===Z.Use||t.type===Z.Forward},t.prototype.resolveRelativeReference=function(t,n,r){return Wo(this,void 0,void 0,(function(){var i,o,s,a;return Uo(this,(function(l){switch(l.label){case 0:return Y(t,"sass:")?[2,void 0]:[4,e.prototype.resolveRelativeReference.call(this,t,n,r)];case 1:if(i=l.sent(),!this.fileSystemProvider||!i||0!==function(e){for(var t=e.length-1;t>=0;t--){var n=e.charCodeAt(t);if(n===xr){if(t>0&&e.charCodeAt(t-1)!==wr)return e.substr(t);break}if(n===wr)break}return""}(i).length)return[3,8];l.label=2;case 2:if(l.trys.push([2,7,,8]),o=vr.a.parse(i),!(s=function(e){if(""!==e.path&&!e.path.endsWith(".scss")&&!e.path.endsWith(".css")){if(e.path.endsWith("/"))return[e.with({path:e.path+"index.scss"}).toString(),e.with({path:e.path+"_index.scss"}).toString()];var t=e.path.split("/"),n=t[t.length-1],r=e.path.slice(0,-n.length);if(n.startsWith("_"))return e.path.endsWith(".scss")?void 0:[e.with({path:e.path+".scss"}).toString()];var i=n+".scss",o=function(t){return e.with({path:r+t}).toString()};return[o(i),o("_"+i),o(i.slice(0,-5)+"/index.scss"),o(i.slice(0,-5)+"/_index.scss"),o(i.slice(0,-5)+".css")]}}(o)))return[3,6];a=0,l.label=3;case 3:return a<s.length?[4,this.fileExists(s[a])]:[3,6];case 4:if(l.sent())return[2,s[a]];l.label=5;case 5:return a++,[3,3];case 6:return[2,void 0];case 7:return l.sent(),[3,8];case 8:return[2,i]}}))}))},t}(ai);function Vo(e,t,n,r,i,o,s){return{configure:function(e){o.configure(e),t.configure(e)},setDataProviders:s.setDataProviders.bind(s),doValidation:o.doValidation.bind(o),parseStylesheet:e.parseStylesheet.bind(e),doComplete:t.doComplete.bind(t),doComplete2:t.doComplete2.bind(t),setCompletionParticipants:t.setCompletionParticipants.bind(t),doHover:n.doHover.bind(n),findDefinition:r.findDefinition.bind(r),findReferences:r.findReferences.bind(r),findDocumentHighlights:r.findDocumentHighlights.bind(r),findDocumentLinks:r.findDocumentLinks.bind(r),findDocumentLinks2:r.findDocumentLinks2.bind(r),findDocumentSymbols:r.findDocumentSymbols.bind(r),doCodeActions:i.doCodeActions.bind(i),doCodeActions2:i.doCodeActions2.bind(i),findColorSymbols:function(e,t){return r.findDocumentColors(e,t).map((function(e){return e.range}))},findDocumentColors:r.findDocumentColors.bind(r),getColorPresentations:r.getColorPresentations.bind(r),doRename:r.doRename.bind(r),getFoldingRanges:To,getSelectionRanges:Oo}}var Bo={};function Ko(e){void 0===e&&(e=Bo);var t=new Po(e);return Vo(new rn,new Lr(null,e,t),new ri(e&&e.clientCapabilities,t),new ai(e&&e.fileSystemProvider),new xi(t),new Mi(t),t)}function qo(e){void 0===e&&(e=Bo);var t=new Po(e);return Vo(new lo,new po(e,t),new ri(e&&e.clientCapabilities,t),new jo(e&&e.fileSystemProvider),new xi(t),new Mi(t),t)}function $o(e){void 0===e&&(e=Bo);var t=new Po(e);return Vo(new Eo,new Do(e,t),new ri(e&&e.clientCapabilities,t),new ai(e&&e.fileSystemProvider),new xi(t),new Mi(t),t)}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==r.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d}));var r,i=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t){return l((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function r(e,t){return l((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function i(e,t){return l((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function s(e,t,r){let i=r;return n(e,e=>(i=t(i,e),i))}function l(e){let t;const n=new a({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,r=!1,i){let o,s=void 0,l=void 0,c=0;const d=new a({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{c++,s=t(s,e),r&&!l&&(d.fire(s),s=void 0),clearTimeout(l),l=setTimeout(()=>{const e=s;s=void 0,l=void 0,(!r||c>1)&&d.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return d.event}function d(e){let t,n=!0;return i(e,e=>{const r=n||e!==t;return n=!1,t=e,r})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=s,e.snapshot=l,e.debounce=c,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-r)},e.latch=d,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)});const o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new a({onFirstListenerAdd(){i||(i=e(e=>s.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(r(this.event,e))}filter(e){return new h(i(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(d(this.event))}debounce(e,t=100,n=!1,r){return new h(c(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new a;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(r||(r={}));class a{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let l,c;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(l&&l(),c.dispose=a._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(i.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}a._noop=function(){};class l extends a{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(n,e)):t.call(n,e)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class d{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const i=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,n,r,i=s){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?(r+=e,o=0):r+=o,a(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}Date.now();const o=e-1-r;let c=-1,d=null;for(let e=1;;e++){Date.now(),i.timeBudget;const r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);const s=l(t,n,o,c);if(!s&&d)break;if(d=s,r<=0)break;c=r}if(d){let e={word:d[0],startColumn:r+1+d.index,endColumn:r+1+d.index+d[0].length};return t.lastIndex=0,e}return null}function l(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(36);class i{constructor(e){let t=Object(r.b)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(r.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new i(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));class r{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class i{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function i(e,t,n="0"){const r=""+e,i=[r];for(let e=r.length;e<t;e++)i.push(n);return i.reverse().join("")}n.d(t,"D",(function(){return r})),n.d(t,"M",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return a})),n.d(t,"v",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return d})),n.d(t,"Q",(function(){return h})),n.d(t,"p",(function(){return p})),n.d(t,"V",(function(){return u})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return f})),n.d(t,"q",(function(){return g})),n.d(t,"P",(function(){return b})),n.d(t,"O",(function(){return y})),n.d(t,"w",(function(){return v})),n.d(t,"z",(function(){return w})),n.d(t,"J",(function(){return x})),n.d(t,"f",(function(){return S})),n.d(t,"h",(function(){return C})),n.d(t,"g",(function(){return k})),n.d(t,"i",(function(){return E})),n.d(t,"H",(function(){return _})),n.d(t,"I",(function(){return F})),n.d(t,"t",(function(){return T})),n.d(t,"T",(function(){return N})),n.d(t,"d",(function(){return z})),n.d(t,"e",(function(){return A})),n.d(t,"F",(function(){return I})),n.d(t,"G",(function(){return M})),n.d(t,"j",(function(){return P})),n.d(t,"A",(function(){return O})),n.d(t,"L",(function(){return W})),n.d(t,"N",(function(){return U})),n.d(t,"r",(function(){return j})),n.d(t,"m",(function(){return B})),n.d(t,"k",(function(){return q})),n.d(t,"B",(function(){return G})),n.d(t,"a",(function(){return H})),n.d(t,"n",(function(){return Y})),n.d(t,"l",(function(){return J})),n.d(t,"E",(function(){return X})),n.d(t,"C",(function(){return Q})),n.d(t,"b",(function(){return Z})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"c",(function(){return ie}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return h(d(e,t),t)}function d(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function h(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function p(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function u(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function g(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function y(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function w(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function x(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function C(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function k(e,t){return E(e,t,0,e.length,0,t.length)}function E(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let s=e.charCodeAt(n),a=t.charCodeAt(i);if(s===a)continue;const l=s-a;if((32!==l||!F(a))&&(-32!==l||!F(s)))return _(s)&&_(a)?l:C(e.toLowerCase(),t.toLowerCase(),n,r,i,o)}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function _(e){return e>=97&&e<=122}function F(e){return e>=65&&e<=90}function D(e){return _(e)||F(e)}function T(e,t){return e.length===t.length&&R(e,t)}function R(e,t,n=e.length){for(let r=0;r<n;r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)if(D(n)&&D(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function N(e,t){const n=t.length;return!(t.length>e.length)&&R(e,t,n)}function z(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function A(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function I(e){return 55296<=e&&e<=56319}function M(e){return 56320<=e&&e<=57343}function P(e,t){return t-56320+(e-55296<<10)+65536}function O(e,t,n){const r=e.charCodeAt(n);if(I(r)&&n+1<t){const t=e.charCodeAt(n+1);if(M(t))return P(r,t)}return r}function L(e,t){const n=e.charCodeAt(t-1);if(M(n)&&t>1){const r=e.charCodeAt(t-2);if(I(r))return P(r,n)}return n}function W(e,t){const n=oe.getInstance(),r=t,i=e.length,o=O(e,i,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<i;){const r=O(e,i,t),o=n.getGraphemeBreakType(r);if(ie(s,o))break;t+=r>=65536?2:1,s=o}return t-r}function U(e,t){const n=oe.getInstance(),r=t,i=L(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=L(e,t),i=n.getGraphemeBreakType(r);if(ie(i,o))break;t-=r>=65536?2:1,o=i}return r-t}function j(e){const t=e.byteLength,n=[];let r=0;for(;r<t;){const i=e[r];let o;if(o=i>=240&&r+3<t?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=224&&r+2<t?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=192&&r+1<t?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(r))}else n.push(String.fromCharCode(65533))}return n.join("")}const V=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function B(e){return V.test(e)}const K=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function q(e){return K.test(e)}const $=/^[\t\n\r\x20-\x7E]*$/;function G(e){return $.test(e)}const H=/[\u2028\u2029]/;function Y(e){return H.test(e)}function J(e){for(let t=0,n=e.length;t<n;t++)if(X(e.charCodeAt(t)))return!0;return!1}function X(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const Z=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return oe.getInstance().getGraphemeBreakType(e)}function ie(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l,c=[],d=!1,h=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):h=-1,c.length&&u())}function u(){if(!d){var e=a(p);d=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||a(u)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return h}));var r=n(8);function i(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>o(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),o(e[n],t)),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function l(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function c(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function d(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(i=a,o=-1,a=0):(i=e.charCodeAt(0),o=0);;){let l=i;if(r.F(i)){if(!(o+1<t)){a=i;break}{const t=e.charCodeAt(o+1);r.G(t)?(o++,l=r.j(i,t)):l=65533}}else r.G(i)&&(l=65533);if(s=this._push(n,s,l),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,a=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,r=1518500249):t<40?(n=s^a^c,r=1859775393):t<60?(n=s&a|s&c|a&c,r=2400959708):(n=s^a^c,r=3395469782),i=l(o,5)+n+d+r+e.getUint32(4*t,!1)&4294967295,d=c,c=a,a=l(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var r=n(13),i=n(2),o=n(11),s=n(14);let a=!1;function l(e){o.h&&(a||(a=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(r.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class d extends i.a{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let i=null;void 0!==self.require&&"function"==typeof self.require.getConfig?i=self.require.getConfig():void 0!==self.requirejs&&(i=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(i)),t,o]);const a=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{r=n,this._onModuleLoaded.then(t=>{e(s.c(t,a))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}class h{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=s.c(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file diff --git a/monaco/workers/editor.worker.js b/monaco/workers/editor.worker.js index 8441746..57d9cc4 100644 --- a/monaco/workers/editor.worker.js +++ b/monaco/workers/editor.worker.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=131)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(25),i=n(6),o=n(43),s=n(23),u=n(9),a=n(3),l=n(21),c=n(77),h=n(40);class d{static chord(e,t){return Object(o.a)(e,t)}}function f(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:i.a,KeyCode:h.o,KeyMod:d,Position:u.a,Range:a.a,Selection:l.a,SelectionDirection:h.z,MarkerSeverity:h.p,MarkerTag:h.q,Uri:s.a,Token:c.a}}d.CtrlCmd=2048,d.Shift=1024,d.Alt=512,d.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(36);class i{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(r.a)(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(r.a)(e),t=Object(r.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(r.a)(e),t=Object(r.a)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,r=0,o=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=this.prefixSum[r],s=o-this.values[r],e<s)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-s)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return B}));var r=n(15);class i{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function u(e,t,n){return new h(new s(e),new s(t)).ComputeDiff(n).changes}class a{static Assert(e,t){if(!e)throw new Error(t)}}class l{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class c{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[r,i,o]=h._getElements(e),[s,u,a]=h._getElements(t);this._hasStrings=o&&a,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,o){for(o[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i(e,0,n,r-n+1)]):e<=t?(a.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],u=[0],l=this.ComputeRecursionPoint(e,t,n,r,s,u,o),c=s[0],h=u[0];if(null!==l)return l;if(!o[0]){const s=this.ComputeDiffRecursive(e,c,n,h,o);let u=[];return u=o[0]?[new i(c+1,t-(c+1)+1,h+1,r-(h+1)+1)]:this.ComputeDiffRecursive(c+1,t,h+1,r,o),this.ConcatenateChanges(s,u)}return[new i(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,u,a,l,h,d,f,m,g,_,p,C,b){let L=null,E=null,S=new c,N=t,y=n,A=m[0]-p[0]-r,v=-1073741824,w=this.m_forwardHistory.length-1;do{const t=A+e;t===N||t<y&&l[t-1]<l[t+1]?(g=(d=l[t+1])-A-r,d<v&&S.MarkNextChange(),v=d,S.AddModifiedElement(d+1,g),A=t+1-e):(g=(d=l[t-1]+1)-A-r,d<v&&S.MarkNextChange(),v=d-1,S.AddOriginalElement(d,g+1),A=t-1-e),w>=0&&(e=(l=this.m_forwardHistory[w])[0],N=1,y=l.length-1)}while(--w>=-1);if(L=S.getReverseChanges(),b[0]){let e=m[0]+1,t=p[0]+1;if(null!==L&&L.length>0){const n=L[L.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}E=[new i(e,f-e+1,t,_-t+1)]}else{S=new c,N=s,y=u,A=m[0]-p[0]-a,v=1073741824,w=C?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=A+o;e===N||e<y&&h[e-1]>=h[e+1]?(g=(d=h[e+1]-1)-A-a,d>v&&S.MarkNextChange(),v=d+1,S.AddOriginalElement(d+1,g+1),A=e+1-o):(g=(d=h[e-1])-A-a,d>v&&S.MarkNextChange(),v=d,S.AddModifiedElement(d+1,g+1),A=e-1-o),w>=0&&(o=(h=this.m_reverseHistory[w])[0],N=1,y=h.length-1)}while(--w>=-1);E=S.getChanges()}return this.ConcatenateChanges(L,E)}ComputeRecursionPoint(e,t,n,r,o,s,u){let a=0,c=0,h=0,d=0,f=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(r-n),_=g+1,p=new Int32Array(_),C=new Int32Array(_),b=r-n,L=t-e,E=e-n,S=t-r,N=(L-b)%2==0;p[b]=e,C[L]=t,u[0]=!1;for(let y=1;y<=g/2+1;y++){let g=0,A=0;h=this.ClipDiagonalBound(b-y,y,b,_),d=this.ClipDiagonalBound(b+y,y,b,_);for(let e=h;e<=d;e+=2){a=e===h||e<d&&p[e-1]<p[e+1]?p[e+1]:p[e-1]+1,c=a-(e-b)-E;const n=a;for(;a<t&&c<r&&this.ElementsAreEqual(a+1,c+1);)a++,c++;if(p[e]=a,a+c>g+A&&(g=a,A=c),!N&&Math.abs(e-L)<=y-1&&a>=C[e])return o[0]=a,s[0]=c,n<=C[e]&&y<=1448?this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u):null}const v=(g-e+(A-n)-y)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,v))return u[0]=!0,o[0]=g,s[0]=A,v>0&&y<=1448?this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u):(e++,n++,[new i(e,t-e+1,n,r-n+1)]);f=this.ClipDiagonalBound(L-y,y,L,_),m=this.ClipDiagonalBound(L+y,y,L,_);for(let i=f;i<=m;i+=2){a=i===f||i<m&&C[i-1]>=C[i+1]?C[i+1]-1:C[i-1],c=a-(i-L)-S;const l=a;for(;a>e&&c>n&&this.ElementsAreEqual(a,c);)a--,c--;if(C[i]=a,N&&Math.abs(i-b)<=y&&a<=p[i])return o[0]=a,s[0]=c,l>=p[i]&&y<=1448?this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u):null}if(y<=1447){let e=new Int32Array(d-h+2);e[0]=b-h+1,l.Copy2(p,h,e,1,d-h+1),this.m_forwardHistory.push(e),e=new Int32Array(m-f+2),e[0]=L-f+1,l.Copy2(C,f,e,1,m-f+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let u=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],u)&&(e[t]=u[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];n.originalLength>0&&(r=n.originalStart+n.originalLength),n.modifiedLength>0&&(i=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let u=0,a=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,l=n.modifiedStart-e;if(t<r||l<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(l,l+n.modifiedLength))break;const c=this._boundaryScore(t,n.originalLength,l,n.modifiedLength);c>a&&(a=c,u=e)}n.originalStart-=u,n.modifiedStart-=u}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return l.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],l.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return l.Copy(e,0,n,0,e.length),l.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(r,o,s,u),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}var d=n(11),f=n(23),m=n(9),g=n(3),_=n(8);function p(e,t,n,r){return new h(e,t,n).ComputeDiff(r)}class C{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=N(e[r],1),n[r]=y(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let u=t;u<=n;u++){const t=this.lines[u],n=e?this._startColumns[u]:1,a=e?this._endColumns[u]:t.length+1;for(let e=n;e<a;e++)r[s]=t.charCodeAt(e-1),i[s]=u+1,o[s]=e,s++}return new b(r,i,o)}}class b{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class L{constructor(e,t,n,r,i,o,s,u){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=u}static createFromDiffChange(e,t,n){let r,i,o,s,u,a,l,c;return 0===e.originalLength?(r=0,i=0,o=0,s=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(u=0,a=0,l=0,c=0):(u=n.getStartLineNumber(e.modifiedStart),a=n.getStartColumn(e.modifiedStart),l=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),c=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new L(r,i,o,s,u,a,l,c)}}class E{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let u,a,l,c,h=void 0;if(0===t.originalLength?(u=n.getStartLineNumber(t.originalStart)-1,a=0):(u=n.getStartLineNumber(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(l=r.getStartLineNumber(t.modifiedStart)-1,c=0):(l=r.getStartLineNumber(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),u=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let a=p(o,u,i,!0).changes;s&&(a=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(a)),h=[];for(let e=0,t=a.length;e<t;e++)h.push(L.createFromDiffChange(a[e],o,u))}return new E(u,a,l,c,h)}}class S{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new C(e),this.modified=new C(t),this.continueLineDiff=A(n.maxComputationTime),this.continueCharDiff=A(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=p(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,u=s?s.originalStart:this.originalLines.length,a=s?s.modifiedStart:this.modifiedLines.length;for(;i<u&&o<a;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=N(e,1),s=N(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=y(e,1),s=y(t,1);const u=e.length+1,a=t.length+1;for(;n<u&&s<a;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<u||s<a)&&this._pushTrimWhitespaceCharChange(r,i+1,n,u,o+1,s,a)}}i++,o++}s&&(r.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let u=void 0;this.shouldComputeCharChanges&&(u=[new L(t,n,t,r,i,o,i,s)]),e.push(new E(t,t,i,i,u))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const u=e.length;if(0===u)return!1;const a=e[u-1];return 0!==a.originalEndLineNumber&&0!==a.modifiedEndLineNumber&&(a.originalEndLineNumber+1===t&&a.modifiedEndLineNumber+1===i&&(a.originalEndLineNumber=t,a.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&a.charChanges&&a.charChanges.push(new L(t,n,t,r,i,o,i,s)),!0))}}function N(e,t){const n=_.w(e);return-1===n?t:n+1}function y(e,t){const n=_.J(e);return-1===n?t:n+2}function A(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var v=n(101);var w=n(73),O=n(76);class T{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class x{constructor(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++){let[i,o,s]=e[r];o>t&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new T(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,i,o]=e[t];r.set(n,i,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let D=null;let M=null;class I{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===D&&(D=new x([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),D}()){const n=function(){if(null===M){M=new O.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)M.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)M.set(t.charCodeAt(e),2)}return M}();let r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let u=0,a=0,l=0,c=1,h=!1,d=!1,f=!1,m=!1;for(;u<s;){let e=!1;const s=o.charCodeAt(u);if(13===c){let t;switch(s){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:f=!0,d=!0,t=0;break;case 93:f=!1,t=d?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===l||96===l?0:1;break;case 34:t=39===l||96===l?0:1;break;case 96:t=39===l||34===l?0:1;break;case 42:t=42===l?1:0;break;case 124:t=124===l?1:0;break;case 32:t=f?0:1;break;default:t=n.get(s)}1===t&&(r.push(I._createLink(n,o,i,a,u)),e=!0)}else if(12===c){let t;91===s?(d=!0,t=0):t=n.get(s),1===t?e=!0:c=13}else c=t.nextState(c,s),0===c&&(e=!0);e&&(c=1,h=!1,d=!1,m=!1,a=u+1,l=s),u++}13===c&&r.push(I._createLink(n,o,i,a,s))}return r}}class k{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){let n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){let e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}k.INSTANCE=new k;var P=n(100),R=n(14),F=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}))};class U extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new v.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),r[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(w.d)(e.column,Object(w.c)(t),this._lines[e.lineNumber-1],0);return n?new g.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){let n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const e of r)i.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class B{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new U(f.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return F(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const s=i.getLinesContent(),u=o.getLinesContent(),a=new S(s,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),l=!(a.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:a.quitEarly,identical:l,changes:a.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return F(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Object(r.p)(t,(e,t)=>{if(e.range&&t.range)return g.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:r,eol:s}of t){if("number"==typeof s&&(o=s),g.a.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>B._diffLimit){i.push({range:e,text:r});continue}const a=u(t,r,!1),l=n.offsetAt(g.a.lift(e).getStartPosition());for(const e of a){const t=n.positionAt(l+e.originalStart),o=n.positionAt(l+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return F(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?I.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return F(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return null;const o=[],s=new Set,u=new RegExp(n,r),a=i.getWordAtPosition(t,u);a&&s.add(i.getValueInRange(a));for(let e of i.words(u))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>B._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,r){return F(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,r,i){return F(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let u=o.getValueInRange(t),a=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!a)return null;let l=o.getValueInRange(a);return k.INSTANCE.navigateValueSet(t,u,a,l,n)}))}loadForeignModule(e,t,n){let r={host:R.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(R.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}B._diffLimit=1e5,B._suggestionsLimit=1e4,"function"==typeof importScripts&&(d.b.monaco=Object(P.a)())},11:function(e,t,n){"use strict";(function(e,r){n.d(t,"i",(function(){return _})),n.d(t,"f",(function(){return p})),n.d(t,"d",(function(){return C})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return L})),n.d(t,"c",(function(){return E})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return N})),n.d(t,"a",(function(){return y})),n.d(t,"e",(function(){return w}));let i=!1,o=!1,s=!1,u=!1,a=!1,l=!1,c=void 0,h="en",d=void 0,f=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,c="en",h="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];c=e.locale,h=n||"en",d=e._translationsConfigFile}catch(e){}u=!0}}else f=navigator.userAgent,i=f.indexOf("Windows")>=0,o=f.indexOf("Macintosh")>=0,l=(f.indexOf("Macintosh")>=0||f.indexOf("iPad")>=0||f.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=f.indexOf("Linux")>=0,a=!0,c=navigator.language,h=c;let g=0;o?g=1:i?g=3:s&&(g=2);const _=i,p=o,C=s,b=u,L=a,E=l,S="object"==typeof self?self:"object"==typeof r?r:{},N=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"==typeof S.postMessage&&!S.importScripts){let e=[];S.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),S.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),y=o||l?2:i?1:3;let A=!0,v=!1;function w(){if(!v){v=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);A=513===t[0]}return A}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){u(e)||r.onUnexpectedError(e)}function o(e){u(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function u(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function a(){const e=new Error("Canceled");return e.name=e.message,e}function l(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function c(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return s}));var r=n(94),i=n(104);let o=!1;function s(e){if(o)return;o=!0;const t=new r.b(e=>{self.postMessage(e)},t=>new i.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||s(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function u(e){return!0===e||!1===e}function a(e){return void 0===e}function l(e){return a(e)||null===e}function c(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(l(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function d(e){return"function"==typeof e}function f(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(d(t)){try{if(e instanceof t)return}catch(e){}if(!l(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function _(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function p(e){return null===e?void 0:e}n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return h})),n.d(t,"g",(function(){return d})),n.d(t,"m",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return _})),n.d(t,"n",(function(){return p}))},15:function(e,t,n){"use strict";function r(e,t=0){return e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else{if(!(s>0))return o;i=o-1}}return-(r+1)}function u(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function a(e,t){return function e(t,n,r,i,o){if(i<=r)return;const s=r+(i-r)/2|0;if(e(t,n,r,s,o),e(t,n,s+1,i,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,r,i,o){let s=n,u=r+1;for(let t=n;t<=i;t++)o[t]=e[t];for(let a=n;a<=i;a++)s>r?e[a]=o[u++]:u>i?e[a]=o[s++]:t(o[u],o[s])<0?e[a]=o[u++]:e[a]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}function l(e,t){const n=[];let r=void 0;for(const i of a(e.slice(0),t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function c(e){return e.filter(e=>!!e)}function h(e){return!Array.isArray(e)||0===e.length}function d(e){return Array.isArray(e)&&e.length>0}function f(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const r=t(e);return!n[r]&&(n[r]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function g(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function _(e,t,n){const r=g(e,t);return r<0?n:e[r]}function p(e,t){return e.length>0?e[0]:t}function C(e){return[].concat(...e)}function b(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function L(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function E(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function S(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function N(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return r})),n.d(t,"u",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"p",(function(){return a})),n.d(t,"m",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return _})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return C})),n.d(t,"s",(function(){return b})),n.d(t,"a",(function(){return L})),n.d(t,"r",(function(){return E})),n.d(t,"q",(function(){return S})),n.d(t,"b",(function(){return N}))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(37);function i(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function u(e){if(r.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function a(...e){return e.forEach(i),{dispose:()=>u(e)}}function l(e){const t={dispose:()=>{e()}};return t}class c{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?c.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}c.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new c}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class d{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class f{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(3);class o extends i.a{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return _}));var r=n(11),i=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,u=/^\/\//;const a="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class c{constructor(e,t,n,r,i,l=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,l),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==a&&(t=a+t):t=a}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(u.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,l))}static isUri(e){return e instanceof c||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return _(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new d(t,n,r,i,o)}static parse(e,t=!1){const n=l.exec(e);return n?new d(n[2]||"",b(n[4]||""),b(n[5]||""),b(n[7]||""),b(n[9]||""),t):new d("","","","","")}static file(e){let t="";if(r.i&&(e=e.replace(/\\/g,a)),e[0]===a&&e[1]===a){const n=e.indexOf(a,2);-1===n?(t=e.substring(2),e=a):(t=e.substring(2,n),e=e.substring(n)||a)}return new d("file",t,e,"","")}static from(e){return new d(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=r.i&&"file"===e.scheme?c.file(i.i.join(_(e,!0),...t)).path:i.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return p(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof c)return e;{const t=new d(e);return t._formatted=e.external,t._fsPath=e._sep===h?e.fsPath:null,t}}return e}}const h=r.i?1:void 0;class d extends c{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=_(this,!1)),this._fsPath}toString(e=!1){return e?p(this,!0):(this._formatted||(this._formatted=p(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const f={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=f[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function g(e){let t=void 0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=f[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function _(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(n=n.replace(/\//g,"\\")),n}function p(e,t){const n=t?g:m;let r="",{scheme:i,authority:o,path:s,query:u,fragment:l}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=a,r+=a),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0)}return u&&(r+="?",r+=n(u,!1)),l&&(r+="#",r+=t?l:m(l,!1)),r}const C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function b(e){return e.match(C)?e.replace(C,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return u}));var r=n(6);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class u{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u}));var r=n(11);const i=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,o=i.cwd,s=i.env,u=i.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,u=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,c=t.endColumn;return n<u?(n=u,r=a):n===u&&(r=Math.max(r,a)),o>l?(o=l,s=c):o===l&&(s=Math.min(s,c)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},36:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},37:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(r||(r={}))},40:function(e,t,n){"use strict";var r,i,o,s,u,a,l,c,h,d,f,m,g,_,p,C,b,L,E,S,N,y,A,v,w,O,T,x,D,M,I,k,P;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return p})),n.d(t,"p",(function(){return C})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return L})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return y})),n.d(t,"w",(function(){return A})),n.d(t,"x",(function(){return v})),n.d(t,"y",(function(){return w})),n.d(t,"z",(function(){return O})),n.d(t,"A",(function(){return T})),n.d(t,"B",(function(){return x})),n.d(t,"C",(function(){return D})),n.d(t,"D",(function(){return M})),n.d(t,"E",(function(){return I})),n.d(t,"F",(function(){return k})),n.d(t,"G",(function(){return P})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(u||(u={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(a||(a={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(c||(c={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(d||(d={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(f||(f={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(_||(_={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(p||(p={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(C||(C={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(L||(L={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(E||(E={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(N||(N={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(y||(y={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(A||(A={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(v||(v={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(w||(w={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(O||(O={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(T||(T={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(x||(x={})),function(e){e[e.Deprecated=1]="Deprecated"}(D||(D={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(M||(M={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(I||(I={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(k||(k={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(P||(P={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return f})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return C})),n.d(t,"h",(function(){return b}));var r=n(28);class i extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new i(t,"string",e)}function s(e){return 47===e||92===e}function u(e){return 47===e}function a(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e,t,n,r){let i="",o=0,s=-1,u=0,a=0;for(let l=0;l<=e.length;++l){if(l<e.length)a=e.charCodeAt(l);else{if(r(a))break;a=47}if(r(a)){if(s===l-1||1===u);else if(2===u){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=l,u=0;continue}if(0!==i.length){i="",o=0,s=l,u=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,l)}`:i=e.slice(s+1,l),o=l-s-1;s=l,u=0}else 46===a&&-1!==u?++u:u=-1}return i}function c(e,t){if(null===t||"object"!=typeof t)throw new i("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const h={resolve(...e){let t="",n="",i=!1;for(let u=e.length-1;u>=-1;u--){let l;if(u>=0){if(l=e[u],o(l,"path"),0===l.length)continue}else 0===t.length?l=r.a():(l=r.b["="+t]||r.a(),(void 0===l||l.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===l.charCodeAt(2))&&(l=t+"\\"));const c=l.length;let h=0,d="",f=!1;const m=l.charCodeAt(0);if(1===c)s(m)&&(h=1,f=!0);else if(s(m))if(f=!0,s(l.charCodeAt(1))){let e=2,t=e;for(;e<c&&!s(l.charCodeAt(e));)e++;if(e<c&&e!==t){const n=l.slice(t,e);for(t=e;e<c&&s(l.charCodeAt(e));)e++;if(e<c&&e!==t){for(t=e;e<c&&!s(l.charCodeAt(e));)e++;e!==c&&e===t||(d=`\\\\${n}\\${l.slice(t,e)}`,h=e)}}}else h=1;else a(m)&&58===l.charCodeAt(1)&&(d=l.slice(0,2),h=2,c>2&&s(l.charCodeAt(2))&&(f=!0,h=3));if(d.length>0)if(t.length>0){if(d.toLowerCase()!==t.toLowerCase())continue}else t=d;if(i){if(t.length>0)break}else if(n=`${l.slice(h)}\\${n}`,i=f,f&&t.length>0)break}return n=l(n,!i,"\\",s),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const c=e.charCodeAt(0);if(1===t)return u(c)?"\\":e;if(s(c))if(i=!0,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){const u=e.slice(o,i);for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return`\\\\${u}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${u}\\${e.slice(o,i)}`,r=i)}}}else r=1;else a(c)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),r=2,t>2&&s(e.charCodeAt(2))&&(i=!0,r=3));let h=r<t?l(e.slice(r),!i,"\\",s):"";return 0!==h.length||i||(h="."),h.length>0&&s(e.charCodeAt(t-1))&&(h+="\\"),void 0===n?i?"\\"+h:h:i?`${n}\\${h}`:`${n}${h}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&a(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];o(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&s(n.charCodeAt(0))){++i;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++i,e>2&&(s(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&s(t.charCodeAt(i));)i++;i>=2&&(t="\\"+t.slice(i))}return h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=h.resolve(e),r=h.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&92===e.charCodeAt(i);)i++;let s=e.length;for(;s-1>i&&92===e.charCodeAt(s-1);)s--;const u=s-i;let a=0;for(;a<t.length&&92===t.charCodeAt(a);)a++;let l=t.length;for(;l-1>a&&92===t.charCodeAt(l-1);)l--;const c=l-a,d=u<c?u:c;let f=-1,m=0;for(;m<d;m++){const n=e.charCodeAt(i+m);if(n!==t.charCodeAt(a+m))break;92===n&&(f=m)}if(m!==d){if(-1===f)return r}else{if(c>d){if(92===t.charCodeAt(a+m))return r.slice(a+m+1);if(2===m)return r.slice(a+m)}u>d&&(92===e.charCodeAt(i+m)?f=m:2===m&&(f=3)),-1===f&&(f=0)}let g="";for(m=i+f+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(g+=0===g.length?"..":"\\..");return a+=f,g.length>0?`${g}${r.slice(a,l)}`:(92===r.charCodeAt(a)&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(a(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return s(i)?e:".";if(s(i)){if(n=r=1,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else a(i)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,r=n);let u=-1,l=!0;for(let n=t-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!l){u=n;break}}else l=!1;if(-1===u){if(-1===n)return".";u=n}return e.slice(0,u)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,u=!0;if(e.length>=2&&a(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(s(l)){if(!u){r=n+1;break}}else-1===a&&(u=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!u){r=n+1;break}}else-1===i&&(u=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=0,n=-1,r=0,i=-1,u=!0,l=0;e.length>=2&&58===e.charCodeAt(1)&&a(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!u){r=o+1;break}}else-1===i&&(u=!1,i=o+1),46===t?-1===n?n=o:1!==l&&(l=1):-1!==n&&(l=-1)}return-1===n||-1===i||0===l||1===l&&n===i-1&&n===r+1?"":e.slice(n,i)},format:c.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return s(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(i)){if(r=1,s(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(a(i)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(r=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let u=-1,l=r,c=-1,h=!0,d=e.length-1,f=0;for(;d>=r;--d)if(i=e.charCodeAt(d),s(i)){if(!h){l=d+1;break}}else-1===c&&(h=!1,c=d+1),46===i?-1===u?u=d:1!==f&&(f=1):-1!==u&&(f=-1);return-1!==c&&(-1===u||0===f||1===f&&u===c-1&&u===l+1?t.base=t.name=e.slice(l,c):(t.name=e.slice(l,u),t.base=e.slice(l,c),t.ext=e.slice(u,c))),t.dir=l>0&&l!==r?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},d={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const s=i>=0?e[i]:r.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=l(t,!n,"/",u),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=l(e,!t,"/",u)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];o(r,"path"),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":d.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=d.resolve(e))===(t=d.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let u=-1,a=0;for(;a<s;a++){const n=e.charCodeAt(1+a);if(n!==t.charCodeAt(1+a))break;47===n&&(u=a)}if(a===s)if(i>s){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>s&&(47===e.charCodeAt(1+a)?u=a:0===a&&(u=0));let l="";for(a=1+u+1;a<=n;++a)a!==n&&47!==e.charCodeAt(a)||(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+u)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,u=-1;for(n=e.length-1;n>=0;--n){const a=e.charCodeAt(n);if(47===a){if(!s){r=n+1;break}}else-1===u&&(s=!1,u=n+1),o>=0&&(a===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=u))}return r===i?i=u:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const u=e.charCodeAt(o);if(47!==u)-1===r&&(i=!1,r=o+1),46===u?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:c.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,u=-1,a=!0,l=e.length-1,c=0;for(;l>=r;--l){const t=e.charCodeAt(l);if(47!==t)-1===u&&(a=!1,u=l+1),46===t?-1===i?i=l:1!==c&&(c=1):-1!==i&&(c=-1);else if(!a){s=l+1;break}}if(-1!==u){const r=0===s&&n?1:s;-1===i||0===c||1===c&&i===u-1&&i===s+1?t.base=t.name=e.slice(r,u):(t.name=e.slice(r,i),t.base=e.slice(r,u),t.ext=e.slice(i,u))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};d.win32=h.win32=h,d.posix=h.posix=d;const f="win32"===r.c?h.normalize:d.normalize,m="win32"===r.c?h.resolve:d.resolve,g="win32"===r.c?h.relative:d.relative,_="win32"===r.c?h.dirname:d.dirname,p="win32"===r.c?h.basename:d.basename,C="win32"===r.c?h.extname:d.extname,b="win32"===r.c?h.sep:d.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return g}));var r=n(13);class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,s=new i,u=new i;var a;function l(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){if(0===e)return null;const n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new f(0!==r?[h(n,t),h(r,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),r=!!(256&e);return new d(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n=t,r=n){o.define(e,t),s.define(e,n),u.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return u.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||u.strToKeyCode(e)}}(a||(a={}));class d{constructor(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new f([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class f{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}class g{}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==r.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c}));var r,i=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t){return a((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function r(e,t){return a((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function i(e,t){return a((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function s(e,t,r){let i=r;return n(e,e=>(i=t(i,e),i))}function a(e){let t;const n=new u({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function l(e,t,n=100,r=!1,i){let o,s=void 0,a=void 0,l=0;const c=new u({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{l++,s=t(s,e),r&&!a&&(c.fire(s),s=void 0),clearTimeout(a),a=setTimeout(()=>{const e=s;s=void 0,a=void 0,(!r||l>1)&&c.fire(e),l=0},n)})},onLastListenerRemove(){o.dispose()}});return c.event}function c(e){let t,n=!0;return i(e,e=>{const r=n||e!==t;return n=!1,t=e,r})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=s,e.snapshot=a,e.debounce=l,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-r)},e.latch=c,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)});const o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new u({onFirstListenerAdd(){i||(i=e(e=>s.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(r(this.event,e))}filter(e){return new h(i(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(c(this.event))}debounce(e,t=100,n=!1,r){return new h(l(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new u({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new u({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new u;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(r||(r={}));class u{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let a,l;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(a=this._leakageMon.check(this._listeners.size)),l={dispose:()=>{if(a&&a(),l.dispose=u._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(l):Array.isArray(n)&&n.push(l),l}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(i.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}u._noop=function(){};class a extends u{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class l{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(n,e)):t.call(n,e)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class c{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.a.None,this.emitter=new u({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return u}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const i=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function u(e,t,n,r,i=s){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?(r+=e,o=0):r+=o,u(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}Date.now();const o=e-1-r;let l=-1,c=null;for(let e=1;;e++){Date.now(),i.timeBudget;const r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);const s=a(t,n,o,l);if(!s&&c)break;if(c=s,r<=0)break;l=r}if(c){let e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function a(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(36);class i{constructor(e){let t=Object(r.b)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(r.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new i(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));class r{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class i{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function i(e,t,n="0"){const r=""+e,i=[r];for(let e=r.length;e<t;e++)i.push(n);return i.reverse().join("")}n.d(t,"D",(function(){return r})),n.d(t,"M",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return u})),n.d(t,"v",(function(){return a})),n.d(t,"W",(function(){return l})),n.d(t,"K",(function(){return c})),n.d(t,"Q",(function(){return h})),n.d(t,"p",(function(){return d})),n.d(t,"V",(function(){return f})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"q",(function(){return _})),n.d(t,"P",(function(){return p})),n.d(t,"O",(function(){return C})),n.d(t,"w",(function(){return b})),n.d(t,"z",(function(){return L})),n.d(t,"J",(function(){return E})),n.d(t,"f",(function(){return S})),n.d(t,"h",(function(){return N})),n.d(t,"g",(function(){return y})),n.d(t,"i",(function(){return A})),n.d(t,"H",(function(){return v})),n.d(t,"I",(function(){return w})),n.d(t,"t",(function(){return T})),n.d(t,"T",(function(){return D})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return I})),n.d(t,"F",(function(){return k})),n.d(t,"G",(function(){return P})),n.d(t,"j",(function(){return R})),n.d(t,"A",(function(){return F})),n.d(t,"L",(function(){return B})),n.d(t,"N",(function(){return K})),n.d(t,"r",(function(){return q})),n.d(t,"m",(function(){return H})),n.d(t,"k",(function(){return V})),n.d(t,"B",(function(){return $})),n.d(t,"a",(function(){return G})),n.d(t,"n",(function(){return z})),n.d(t,"l",(function(){return Q})),n.d(t,"E",(function(){return J})),n.d(t,"C",(function(){return X})),n.d(t,"b",(function(){return Z})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"c",(function(){return ie}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function u(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t=" "){return h(c(e,t),t)}function c(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function h(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function d(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function f(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function g(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function _(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function p(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function C(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function b(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function L(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function E(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function N(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const s=r-n,u=o-i;return s<u?-1:s>u?1:0}function y(e,t){return A(e,t,0,e.length,0,t.length)}function A(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let s=e.charCodeAt(n),u=t.charCodeAt(i);if(s===u)continue;const a=s-u;if((32!==a||!w(u))&&(-32!==a||!w(s)))return v(s)&&v(u)?a:N(e.toLowerCase(),t.toLowerCase(),n,r,i,o)}const s=r-n,u=o-i;return s<u?-1:s>u?1:0}function v(e){return e>=97&&e<=122}function w(e){return e>=65&&e<=90}function O(e){return v(e)||w(e)}function T(e,t){return e.length===t.length&&x(e,t)}function x(e,t,n=e.length){for(let r=0;r<n;r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)if(O(n)&&O(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function D(e,t){const n=t.length;return!(t.length>e.length)&&x(e,t,n)}function M(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function I(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function k(e){return 55296<=e&&e<=56319}function P(e){return 56320<=e&&e<=57343}function R(e,t){return t-56320+(e-55296<<10)+65536}function F(e,t,n){const r=e.charCodeAt(n);if(k(r)&&n+1<t){const t=e.charCodeAt(n+1);if(P(t))return R(r,t)}return r}function U(e,t){const n=e.charCodeAt(t-1);if(P(n)&&t>1){const r=e.charCodeAt(t-2);if(k(r))return R(r,n)}return n}function B(e,t){const n=oe.getInstance(),r=t,i=e.length,o=F(e,i,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<i;){const r=F(e,i,t),o=n.getGraphemeBreakType(r);if(ie(s,o))break;t+=r>=65536?2:1,s=o}return t-r}function K(e,t){const n=oe.getInstance(),r=t,i=U(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=U(e,t),i=n.getGraphemeBreakType(r);if(ie(i,o))break;t-=r>=65536?2:1,o=i}return r-t}function q(e){const t=e.byteLength,n=[];let r=0;for(;r<t;){const i=e[r];let o;if(o=i>=240&&r+3<t?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=224&&r+2<t?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=192&&r+1<t?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(r))}else n.push(String.fromCharCode(65533))}return n.join("")}const W=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function H(e){return W.test(e)}const j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function V(e){return j.test(e)}const Y=/^[\t\n\r\x20-\x7E]*$/;function $(e){return Y.test(e)}const G=/[\u2028\u2029]/;function z(e){return G.test(e)}function Q(e){for(let t=0,n=e.length;t<n;t++)if(J(e.charCodeAt(t)))return!0;return!1}function J(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function X(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const Z=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return oe.getInstance().getGraphemeBreakType(e)}function ie(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],c=!1,h=-1;function d(){c&&a&&(c=!1,a.length?l=a.concat(l):h=-1,l.length&&f())}function f(){if(!c){var e=u(d);c=!0;for(var t=l.length;t;){for(a=l,l=[];++h<t;)a&&a[h].run();h=-1,t=l.length}a=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new m(e,t)),1!==l.length||c||u(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return h}));var r=n(8);function i(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>o(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=u(n,t),o(e[n],t)),t)}(e,t);case"string":return u(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function u(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function a(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function l(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function c(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,s=this._buffLen,u=this._leftoverHighSurrogate;for(0!==u?(i=u,o=-1,u=0):(i=e.charCodeAt(0),o=0);;){let a=i;if(r.F(i)){if(!(o+1<t)){u=i;break}{const t=e.charCodeAt(o+1);r.G(t)?(o++,a=r.j(i,t)):a=65533}}else r.G(i)&&(a=65533);if(s=this._push(n,s,a),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=u}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),c(this._h0)+c(this._h1)+c(this._h2)+c(this._h3)+c(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,l(this._buff,this._buffLen),this._buffLen>56&&(this._step(),l(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,a(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,u=this._h2,l=this._h3,c=this._h4;for(let t=0;t<80;t++)t<20?(n=s&u|~s&l,r=1518500249):t<40?(n=s^u^l,r=1859775393):t<60?(n=s&u|s&l|u&l,r=2400959708):(n=s^u^l,r=3395469782),i=a(o,5)+n+c+r+e.getUint32(4*t,!1)&4294967295,c=l,l=u,u=a(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+u&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+c&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h}));var r=n(13),i=n(2),o=n(11),s=n(14);let u=!1;function a(e){o.h&&(u||(u=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class l{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(r.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class c extends i.a{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new l({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let i=null;void 0!==self.require&&"function"==typeof self.require.getConfig?i=self.require.getConfig():void 0!==self.requirejs&&(i=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(i)),t,o]);const u=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{r=n,this._onModuleLoaded.then(t=>{e(s.c(t,u))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}class h{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new l({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=s.c(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=131)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(25),i=n(6),o=n(43),s=n(23),u=n(9),a=n(3),l=n(21),c=n(77),h=n(40);class d{static chord(e,t){return Object(o.a)(e,t)}}function f(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:i.a,KeyCode:h.o,KeyMod:d,Position:u.a,Range:a.a,Selection:l.a,SelectionDirection:h.z,MarkerSeverity:h.p,MarkerTag:h.q,Uri:s.a,Token:c.a}}d.CtrlCmd=2048,d.Shift=1024,d.Alt=512,d.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(36);class i{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(r.a)(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(r.a)(e),t=Object(r.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(r.a)(e),t=Object(r.a)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,r=0,o=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=this.prefixSum[r],s=o-this.values[r],e<s)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-s)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return B}));var r=n(16);class i{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function u(e,t,n){return new h(new s(e),new s(t)).ComputeDiff(n).changes}class a{static Assert(e,t){if(!e)throw new Error(t)}}class l{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class c{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[r,i,o]=h._getElements(e),[s,u,a]=h._getElements(t);this._hasStrings=o&&a,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,o){for(o[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i(e,0,n,r-n+1)]):e<=t?(a.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],u=[0],l=this.ComputeRecursionPoint(e,t,n,r,s,u,o),c=s[0],h=u[0];if(null!==l)return l;if(!o[0]){const s=this.ComputeDiffRecursive(e,c,n,h,o);let u=[];return u=o[0]?[new i(c+1,t-(c+1)+1,h+1,r-(h+1)+1)]:this.ComputeDiffRecursive(c+1,t,h+1,r,o),this.ConcatenateChanges(s,u)}return[new i(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,u,a,l,h,d,f,m,g,_,p,C,b){let L=null,E=null,S=new c,N=t,y=n,A=m[0]-p[0]-r,v=-1073741824,w=this.m_forwardHistory.length-1;do{const t=A+e;t===N||t<y&&l[t-1]<l[t+1]?(g=(d=l[t+1])-A-r,d<v&&S.MarkNextChange(),v=d,S.AddModifiedElement(d+1,g),A=t+1-e):(g=(d=l[t-1]+1)-A-r,d<v&&S.MarkNextChange(),v=d-1,S.AddOriginalElement(d,g+1),A=t-1-e),w>=0&&(e=(l=this.m_forwardHistory[w])[0],N=1,y=l.length-1)}while(--w>=-1);if(L=S.getReverseChanges(),b[0]){let e=m[0]+1,t=p[0]+1;if(null!==L&&L.length>0){const n=L[L.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}E=[new i(e,f-e+1,t,_-t+1)]}else{S=new c,N=s,y=u,A=m[0]-p[0]-a,v=1073741824,w=C?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=A+o;e===N||e<y&&h[e-1]>=h[e+1]?(g=(d=h[e+1]-1)-A-a,d>v&&S.MarkNextChange(),v=d+1,S.AddOriginalElement(d+1,g+1),A=e+1-o):(g=(d=h[e-1])-A-a,d>v&&S.MarkNextChange(),v=d,S.AddModifiedElement(d+1,g+1),A=e-1-o),w>=0&&(o=(h=this.m_reverseHistory[w])[0],N=1,y=h.length-1)}while(--w>=-1);E=S.getChanges()}return this.ConcatenateChanges(L,E)}ComputeRecursionPoint(e,t,n,r,o,s,u){let a=0,c=0,h=0,d=0,f=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(r-n),_=g+1,p=new Int32Array(_),C=new Int32Array(_),b=r-n,L=t-e,E=e-n,S=t-r,N=(L-b)%2==0;p[b]=e,C[L]=t,u[0]=!1;for(let y=1;y<=g/2+1;y++){let g=0,A=0;h=this.ClipDiagonalBound(b-y,y,b,_),d=this.ClipDiagonalBound(b+y,y,b,_);for(let e=h;e<=d;e+=2){a=e===h||e<d&&p[e-1]<p[e+1]?p[e+1]:p[e-1]+1,c=a-(e-b)-E;const n=a;for(;a<t&&c<r&&this.ElementsAreEqual(a+1,c+1);)a++,c++;if(p[e]=a,a+c>g+A&&(g=a,A=c),!N&&Math.abs(e-L)<=y-1&&a>=C[e])return o[0]=a,s[0]=c,n<=C[e]&&y<=1448?this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u):null}const v=(g-e+(A-n)-y)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,v))return u[0]=!0,o[0]=g,s[0]=A,v>0&&y<=1448?this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u):(e++,n++,[new i(e,t-e+1,n,r-n+1)]);f=this.ClipDiagonalBound(L-y,y,L,_),m=this.ClipDiagonalBound(L+y,y,L,_);for(let i=f;i<=m;i+=2){a=i===f||i<m&&C[i-1]>=C[i+1]?C[i+1]-1:C[i-1],c=a-(i-L)-S;const l=a;for(;a>e&&c>n&&this.ElementsAreEqual(a,c);)a--,c--;if(C[i]=a,N&&Math.abs(i-b)<=y&&a<=p[i])return o[0]=a,s[0]=c,l>=p[i]&&y<=1448?this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u):null}if(y<=1447){let e=new Int32Array(d-h+2);e[0]=b-h+1,l.Copy2(p,h,e,1,d-h+1),this.m_forwardHistory.push(e),e=new Int32Array(m-f+2),e[0]=L-f+1,l.Copy2(C,f,e,1,m-f+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,h,d,E,L,f,m,S,p,C,a,t,o,c,r,s,N,u)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let u=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],u)&&(e[t]=u[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];n.originalLength>0&&(r=n.originalStart+n.originalLength),n.modifiedLength>0&&(i=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let u=0,a=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,l=n.modifiedStart-e;if(t<r||l<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(l,l+n.modifiedLength))break;const c=this._boundaryScore(t,n.originalLength,l,n.modifiedLength);c>a&&(a=c,u=e)}n.originalStart-=u,n.modifiedStart-=u}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return l.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],l.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return l.Copy(e,0,n,0,e.length),l.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(r,o,s,u),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}var d=n(11),f=n(23),m=n(9),g=n(3),_=n(8);function p(e,t,n,r){return new h(e,t,n).ComputeDiff(r)}class C{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=N(e[r],1),n[r]=y(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let u=t;u<=n;u++){const t=this.lines[u],n=e?this._startColumns[u]:1,a=e?this._endColumns[u]:t.length+1;for(let e=n;e<a;e++)r[s]=t.charCodeAt(e-1),i[s]=u+1,o[s]=e,s++}return new b(r,i,o)}}class b{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class L{constructor(e,t,n,r,i,o,s,u){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=u}static createFromDiffChange(e,t,n){let r,i,o,s,u,a,l,c;return 0===e.originalLength?(r=0,i=0,o=0,s=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(u=0,a=0,l=0,c=0):(u=n.getStartLineNumber(e.modifiedStart),a=n.getStartColumn(e.modifiedStart),l=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),c=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new L(r,i,o,s,u,a,l,c)}}class E{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let u,a,l,c,h=void 0;if(0===t.originalLength?(u=n.getStartLineNumber(t.originalStart)-1,a=0):(u=n.getStartLineNumber(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(l=r.getStartLineNumber(t.modifiedStart)-1,c=0):(l=r.getStartLineNumber(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),u=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let a=p(o,u,i,!0).changes;s&&(a=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(a)),h=[];for(let e=0,t=a.length;e<t;e++)h.push(L.createFromDiffChange(a[e],o,u))}return new E(u,a,l,c,h)}}class S{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new C(e),this.modified=new C(t),this.continueLineDiff=A(n.maxComputationTime),this.continueCharDiff=A(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=p(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,u=s?s.originalStart:this.originalLines.length,a=s?s.modifiedStart:this.modifiedLines.length;for(;i<u&&o<a;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=N(e,1),s=N(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=y(e,1),s=y(t,1);const u=e.length+1,a=t.length+1;for(;n<u&&s<a;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<u||s<a)&&this._pushTrimWhitespaceCharChange(r,i+1,n,u,o+1,s,a)}}i++,o++}s&&(r.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let u=void 0;this.shouldComputeCharChanges&&(u=[new L(t,n,t,r,i,o,i,s)]),e.push(new E(t,t,i,i,u))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const u=e.length;if(0===u)return!1;const a=e[u-1];return 0!==a.originalEndLineNumber&&0!==a.modifiedEndLineNumber&&(a.originalEndLineNumber+1===t&&a.modifiedEndLineNumber+1===i&&(a.originalEndLineNumber=t,a.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&a.charChanges&&a.charChanges.push(new L(t,n,t,r,i,o,i,s)),!0))}}function N(e,t){const n=_.w(e);return-1===n?t:n+1}function y(e,t){const n=_.J(e);return-1===n?t:n+2}function A(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var v=n(101);var w=n(73),O=n(76);class T{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class x{constructor(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++){let[i,o,s]=e[r];o>t&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new T(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,i,o]=e[t];r.set(n,i,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let D=null;let M=null;class I{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===D&&(D=new x([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),D}()){const n=function(){if(null===M){M=new O.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)M.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)M.set(t.charCodeAt(e),2)}return M}();let r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let u=0,a=0,l=0,c=1,h=!1,d=!1,f=!1,m=!1;for(;u<s;){let e=!1;const s=o.charCodeAt(u);if(13===c){let t;switch(s){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:f=!0,d=!0,t=0;break;case 93:f=!1,t=d?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===l||96===l?0:1;break;case 34:t=39===l||96===l?0:1;break;case 96:t=39===l||34===l?0:1;break;case 42:t=42===l?1:0;break;case 124:t=124===l?1:0;break;case 32:t=f?0:1;break;default:t=n.get(s)}1===t&&(r.push(I._createLink(n,o,i,a,u)),e=!0)}else if(12===c){let t;91===s?(d=!0,t=0):t=n.get(s),1===t?e=!0:c=13}else c=t.nextState(c,s),0===c&&(e=!0);e&&(c=1,h=!1,d=!1,m=!1,a=u+1,l=s),u++}13===c&&r.push(I._createLink(n,o,i,a,s))}return r}}class k{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){let n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){let e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}k.INSTANCE=new k;var P=n(100),R=n(14),F=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}))};class U extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new v.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),r[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(w.d)(e.column,Object(w.c)(t),this._lines[e.lineNumber-1],0);return n?new g.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){let n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const e of r)i.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class B{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new U(f.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return F(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const s=i.getLinesContent(),u=o.getLinesContent(),a=new S(s,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),l=!(a.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:a.quitEarly,identical:l,changes:a.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return F(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Object(r.p)(t,(e,t)=>{if(e.range&&t.range)return g.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:r,eol:s}of t){if("number"==typeof s&&(o=s),g.a.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>B._diffLimit){i.push({range:e,text:r});continue}const a=u(t,r,!1),l=n.offsetAt(g.a.lift(e).getStartPosition());for(const e of a){const t=n.positionAt(l+e.originalStart),o=n.positionAt(l+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return F(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?I.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return F(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return null;const o=[],s=new Set,u=new RegExp(n,r),a=i.getWordAtPosition(t,u);a&&s.add(i.getValueInRange(a));for(let e of i.words(u))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>B._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,r){return F(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,r,i){return F(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let u=o.getValueInRange(t),a=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!a)return null;let l=o.getValueInRange(a);return k.INSTANCE.navigateValueSet(t,u,a,l,n)}))}loadForeignModule(e,t,n){let r={host:R.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(R.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}B._diffLimit=1e5,B._suggestionsLimit=1e4,"function"==typeof importScripts&&(d.b.monaco=Object(P.a)())},11:function(e,t,n){"use strict";(function(e,r){n.d(t,"i",(function(){return _})),n.d(t,"f",(function(){return p})),n.d(t,"d",(function(){return C})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return L})),n.d(t,"c",(function(){return E})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return N})),n.d(t,"a",(function(){return y})),n.d(t,"e",(function(){return w}));let i=!1,o=!1,s=!1,u=!1,a=!1,l=!1,c=void 0,h="en",d=void 0,f=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,c="en",h="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];c=e.locale,h=n||"en",d=e._translationsConfigFile}catch(e){}u=!0}}else f=navigator.userAgent,i=f.indexOf("Windows")>=0,o=f.indexOf("Macintosh")>=0,l=(f.indexOf("Macintosh")>=0||f.indexOf("iPad")>=0||f.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=f.indexOf("Linux")>=0,a=!0,c=navigator.language,h=c;let g=0;o?g=1:i?g=3:s&&(g=2);const _=i,p=o,C=s,b=u,L=a,E=l,S="object"==typeof self?self:"object"==typeof r?r:{},N=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"==typeof S.postMessage&&!S.importScripts){let e=[];S.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),S.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),y=o||l?2:i?1:3;let A=!0,v=!1;function w(){if(!v){v=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);A=513===t[0]}return A}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){u(e)||r.onUnexpectedError(e)}function o(e){u(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function u(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function a(){const e=new Error("Canceled");return e.name=e.message,e}function l(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function c(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return s}));var r=n(94),i=n(104);let o=!1;function s(e){if(o)return;o=!0;const t=new r.b(e=>{self.postMessage(e)},t=>new i.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||s(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function u(e){return!0===e||!1===e}function a(e){return void 0===e}function l(e){return a(e)||null===e}function c(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(l(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function d(e){return"function"==typeof e}function f(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(d(t)){try{if(e instanceof t)return}catch(e){}if(!l(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function _(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function p(e){return null===e?void 0:e}n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return h})),n.d(t,"g",(function(){return d})),n.d(t,"m",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return _})),n.d(t,"n",(function(){return p}))},16:function(e,t,n){"use strict";function r(e,t=0){return e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else{if(!(s>0))return o;i=o-1}}return-(r+1)}function u(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function a(e,t){return function e(t,n,r,i,o){if(i<=r)return;const s=r+(i-r)/2|0;if(e(t,n,r,s,o),e(t,n,s+1,i,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,r,i,o){let s=n,u=r+1;for(let t=n;t<=i;t++)o[t]=e[t];for(let a=n;a<=i;a++)s>r?e[a]=o[u++]:u>i?e[a]=o[s++]:t(o[u],o[s])<0?e[a]=o[u++]:e[a]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}function l(e,t){const n=[];let r=void 0;for(const i of a(e.slice(0),t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function c(e){return e.filter(e=>!!e)}function h(e){return!Array.isArray(e)||0===e.length}function d(e){return Array.isArray(e)&&e.length>0}function f(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const r=t(e);return!n[r]&&(n[r]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function g(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function _(e,t,n){const r=g(e,t);return r<0?n:e[r]}function p(e,t){return e.length>0?e[0]:t}function C(e){return[].concat(...e)}function b(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function L(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function E(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function S(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function N(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return r})),n.d(t,"u",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"p",(function(){return a})),n.d(t,"m",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return _})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return C})),n.d(t,"s",(function(){return b})),n.d(t,"a",(function(){return L})),n.d(t,"r",(function(){return E})),n.d(t,"q",(function(){return S})),n.d(t,"b",(function(){return N}))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(37);function i(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function u(e){if(r.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function a(...e){return e.forEach(i),{dispose:()=>u(e)}}function l(e){const t={dispose:()=>{e()}};return t}class c{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?c.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}c.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new c}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class d{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class f{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(3);class o extends i.a{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return _}));var r=n(11),i=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,u=/^\/\//;const a="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class c{constructor(e,t,n,r,i,l=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,l),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==a&&(t=a+t):t=a}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(u.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,l))}static isUri(e){return e instanceof c||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return _(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new d(t,n,r,i,o)}static parse(e,t=!1){const n=l.exec(e);return n?new d(n[2]||"",b(n[4]||""),b(n[5]||""),b(n[7]||""),b(n[9]||""),t):new d("","","","","")}static file(e){let t="";if(r.i&&(e=e.replace(/\\/g,a)),e[0]===a&&e[1]===a){const n=e.indexOf(a,2);-1===n?(t=e.substring(2),e=a):(t=e.substring(2,n),e=e.substring(n)||a)}return new d("file",t,e,"","")}static from(e){return new d(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=r.i&&"file"===e.scheme?c.file(i.i.join(_(e,!0),...t)).path:i.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return p(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof c)return e;{const t=new d(e);return t._formatted=e.external,t._fsPath=e._sep===h?e.fsPath:null,t}}return e}}const h=r.i?1:void 0;class d extends c{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=_(this,!1)),this._fsPath}toString(e=!1){return e?p(this,!0):(this._formatted||(this._formatted=p(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const f={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=f[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function g(e){let t=void 0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=f[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function _(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(n=n.replace(/\//g,"\\")),n}function p(e,t){const n=t?g:m;let r="",{scheme:i,authority:o,path:s,query:u,fragment:l}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=a,r+=a),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0)}return u&&(r+="?",r+=n(u,!1)),l&&(r+="#",r+=t?l:m(l,!1)),r}const C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function b(e){return e.match(C)?e.replace(C,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return u}));var r=n(6);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class u{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u}));var r=n(11);const i=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,o=i.cwd,s=i.env,u=i.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,u=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,c=t.endColumn;return n<u?(n=u,r=a):n===u&&(r=Math.max(r,a)),o>l?(o=l,s=c):o===l&&(s=Math.min(s,c)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},36:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},37:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(r||(r={}))},40:function(e,t,n){"use strict";var r,i,o,s,u,a,l,c,h,d,f,m,g,_,p,C,b,L,E,S,N,y,A,v,w,O,T,x,D,M,I,k,P;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return p})),n.d(t,"p",(function(){return C})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return L})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return y})),n.d(t,"w",(function(){return A})),n.d(t,"x",(function(){return v})),n.d(t,"y",(function(){return w})),n.d(t,"z",(function(){return O})),n.d(t,"A",(function(){return T})),n.d(t,"B",(function(){return x})),n.d(t,"C",(function(){return D})),n.d(t,"D",(function(){return M})),n.d(t,"E",(function(){return I})),n.d(t,"F",(function(){return k})),n.d(t,"G",(function(){return P})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(u||(u={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(a||(a={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(c||(c={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(h||(h={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(d||(d={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(f||(f={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(_||(_={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(p||(p={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(C||(C={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(L||(L={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(E||(E={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(N||(N={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(y||(y={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(A||(A={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(v||(v={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(w||(w={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(O||(O={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(T||(T={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(x||(x={})),function(e){e[e.Deprecated=1]="Deprecated"}(D||(D={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(M||(M={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(I||(I={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(k||(k={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(P||(P={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return f})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return C})),n.d(t,"h",(function(){return b}));var r=n(28);class i extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new i(t,"string",e)}function s(e){return 47===e||92===e}function u(e){return 47===e}function a(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e,t,n,r){let i="",o=0,s=-1,u=0,a=0;for(let l=0;l<=e.length;++l){if(l<e.length)a=e.charCodeAt(l);else{if(r(a))break;a=47}if(r(a)){if(s===l-1||1===u);else if(2===u){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=l,u=0;continue}if(0!==i.length){i="",o=0,s=l,u=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,l)}`:i=e.slice(s+1,l),o=l-s-1;s=l,u=0}else 46===a&&-1!==u?++u:u=-1}return i}function c(e,t){if(null===t||"object"!=typeof t)throw new i("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const h={resolve(...e){let t="",n="",i=!1;for(let u=e.length-1;u>=-1;u--){let l;if(u>=0){if(l=e[u],o(l,"path"),0===l.length)continue}else 0===t.length?l=r.a():(l=r.b["="+t]||r.a(),(void 0===l||l.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===l.charCodeAt(2))&&(l=t+"\\"));const c=l.length;let h=0,d="",f=!1;const m=l.charCodeAt(0);if(1===c)s(m)&&(h=1,f=!0);else if(s(m))if(f=!0,s(l.charCodeAt(1))){let e=2,t=e;for(;e<c&&!s(l.charCodeAt(e));)e++;if(e<c&&e!==t){const n=l.slice(t,e);for(t=e;e<c&&s(l.charCodeAt(e));)e++;if(e<c&&e!==t){for(t=e;e<c&&!s(l.charCodeAt(e));)e++;e!==c&&e===t||(d=`\\\\${n}\\${l.slice(t,e)}`,h=e)}}}else h=1;else a(m)&&58===l.charCodeAt(1)&&(d=l.slice(0,2),h=2,c>2&&s(l.charCodeAt(2))&&(f=!0,h=3));if(d.length>0)if(t.length>0){if(d.toLowerCase()!==t.toLowerCase())continue}else t=d;if(i){if(t.length>0)break}else if(n=`${l.slice(h)}\\${n}`,i=f,f&&t.length>0)break}return n=l(n,!i,"\\",s),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const c=e.charCodeAt(0);if(1===t)return u(c)?"\\":e;if(s(c))if(i=!0,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){const u=e.slice(o,i);for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return`\\\\${u}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${u}\\${e.slice(o,i)}`,r=i)}}}else r=1;else a(c)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),r=2,t>2&&s(e.charCodeAt(2))&&(i=!0,r=3));let h=r<t?l(e.slice(r),!i,"\\",s):"";return 0!==h.length||i||(h="."),h.length>0&&s(e.charCodeAt(t-1))&&(h+="\\"),void 0===n?i?"\\"+h:h:i?`${n}\\${h}`:`${n}${h}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&a(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];o(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&s(n.charCodeAt(0))){++i;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++i,e>2&&(s(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&s(t.charCodeAt(i));)i++;i>=2&&(t="\\"+t.slice(i))}return h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=h.resolve(e),r=h.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&92===e.charCodeAt(i);)i++;let s=e.length;for(;s-1>i&&92===e.charCodeAt(s-1);)s--;const u=s-i;let a=0;for(;a<t.length&&92===t.charCodeAt(a);)a++;let l=t.length;for(;l-1>a&&92===t.charCodeAt(l-1);)l--;const c=l-a,d=u<c?u:c;let f=-1,m=0;for(;m<d;m++){const n=e.charCodeAt(i+m);if(n!==t.charCodeAt(a+m))break;92===n&&(f=m)}if(m!==d){if(-1===f)return r}else{if(c>d){if(92===t.charCodeAt(a+m))return r.slice(a+m+1);if(2===m)return r.slice(a+m)}u>d&&(92===e.charCodeAt(i+m)?f=m:2===m&&(f=3)),-1===f&&(f=0)}let g="";for(m=i+f+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(g+=0===g.length?"..":"\\..");return a+=f,g.length>0?`${g}${r.slice(a,l)}`:(92===r.charCodeAt(a)&&++a,r.slice(a,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=h.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(a(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return s(i)?e:".";if(s(i)){if(n=r=1,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else a(i)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,r=n);let u=-1,l=!0;for(let n=t-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!l){u=n;break}}else l=!1;if(-1===u){if(-1===n)return".";u=n}return e.slice(0,u)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,u=!0;if(e.length>=2&&a(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(s(l)){if(!u){r=n+1;break}}else-1===a&&(u=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!u){r=n+1;break}}else-1===i&&(u=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=0,n=-1,r=0,i=-1,u=!0,l=0;e.length>=2&&58===e.charCodeAt(1)&&a(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!u){r=o+1;break}}else-1===i&&(u=!1,i=o+1),46===t?-1===n?n=o:1!==l&&(l=1):-1!==n&&(l=-1)}return-1===n||-1===i||0===l||1===l&&n===i-1&&n===r+1?"":e.slice(n,i)},format:c.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return s(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(i)){if(r=1,s(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(a(i)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(r=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let u=-1,l=r,c=-1,h=!0,d=e.length-1,f=0;for(;d>=r;--d)if(i=e.charCodeAt(d),s(i)){if(!h){l=d+1;break}}else-1===c&&(h=!1,c=d+1),46===i?-1===u?u=d:1!==f&&(f=1):-1!==u&&(f=-1);return-1!==c&&(-1===u||0===f||1===f&&u===c-1&&u===l+1?t.base=t.name=e.slice(l,c):(t.name=e.slice(l,u),t.base=e.slice(l,c),t.ext=e.slice(u,c))),t.dir=l>0&&l!==r?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},d={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const s=i>=0?e[i]:r.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=l(t,!n,"/",u),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=l(e,!t,"/",u)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];o(r,"path"),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":d.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=d.resolve(e))===(t=d.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let u=-1,a=0;for(;a<s;a++){const n=e.charCodeAt(1+a);if(n!==t.charCodeAt(1+a))break;47===n&&(u=a)}if(a===s)if(i>s){if(47===t.charCodeAt(1+a))return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>s&&(47===e.charCodeAt(1+a)?u=a:0===a&&(u=0));let l="";for(a=1+u+1;a<=n;++a)a!==n&&47!==e.charCodeAt(a)||(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+u)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,u=-1;for(n=e.length-1;n>=0;--n){const a=e.charCodeAt(n);if(47===a){if(!s){r=n+1;break}}else-1===u&&(s=!1,u=n+1),o>=0&&(a===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=u))}return r===i?i=u:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const u=e.charCodeAt(o);if(47!==u)-1===r&&(i=!1,r=o+1),46===u?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:c.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,u=-1,a=!0,l=e.length-1,c=0;for(;l>=r;--l){const t=e.charCodeAt(l);if(47!==t)-1===u&&(a=!1,u=l+1),46===t?-1===i?i=l:1!==c&&(c=1):-1!==i&&(c=-1);else if(!a){s=l+1;break}}if(-1!==u){const r=0===s&&n?1:s;-1===i||0===c||1===c&&i===u-1&&i===s+1?t.base=t.name=e.slice(r,u):(t.name=e.slice(r,i),t.base=e.slice(r,u),t.ext=e.slice(i,u))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};d.win32=h.win32=h,d.posix=h.posix=d;const f="win32"===r.c?h.normalize:d.normalize,m="win32"===r.c?h.resolve:d.resolve,g="win32"===r.c?h.relative:d.relative,_="win32"===r.c?h.dirname:d.dirname,p="win32"===r.c?h.basename:d.basename,C="win32"===r.c?h.extname:d.extname,b="win32"===r.c?h.sep:d.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return g}));var r=n(13);class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,s=new i,u=new i;var a;function l(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){if(0===e)return null;const n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new f(0!==r?[h(n,t),h(r,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),r=!!(256&e);return new d(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n=t,r=n){o.define(e,t),s.define(e,n),u.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return u.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||u.strToKeyCode(e)}}(a||(a={}));class d{constructor(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new f([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class f{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}class g{}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==r.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c}));var r,i=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t){return a((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function r(e,t){return a((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function i(e,t){return a((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function s(e,t,r){let i=r;return n(e,e=>(i=t(i,e),i))}function a(e){let t;const n=new u({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function l(e,t,n=100,r=!1,i){let o,s=void 0,a=void 0,l=0;const c=new u({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{l++,s=t(s,e),r&&!a&&(c.fire(s),s=void 0),clearTimeout(a),a=setTimeout(()=>{const e=s;s=void 0,a=void 0,(!r||l>1)&&c.fire(e),l=0},n)})},onLastListenerRemove(){o.dispose()}});return c.event}function c(e){let t,n=!0;return i(e,e=>{const r=n||e!==t;return n=!1,t=e,r})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=s,e.snapshot=a,e.debounce=l,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-r)},e.latch=c,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)});const o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new u({onFirstListenerAdd(){i||(i=e(e=>s.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(r(this.event,e))}filter(e){return new h(i(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(c(this.event))}debounce(e,t=100,n=!1,r){return new h(l(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new u({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new u({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new u;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(r||(r={}));class u{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let a,l;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(a=this._leakageMon.check(this._listeners.size)),l={dispose:()=>{if(a&&a(),l.dispose=u._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(l):Array.isArray(n)&&n.push(l),l}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(i.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}u._noop=function(){};class a extends u{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class l{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(n,e)):t.call(n,e)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class c{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.a.None,this.emitter=new u({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return u}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const i=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function u(e,t,n,r,i=s){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?(r+=e,o=0):r+=o,u(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}Date.now();const o=e-1-r;let l=-1,c=null;for(let e=1;;e++){Date.now(),i.timeBudget;const r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);const s=a(t,n,o,l);if(!s&&c)break;if(c=s,r<=0)break;l=r}if(c){let e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function a(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(36);class i{constructor(e){let t=Object(r.b)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(r.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new i(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));class r{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class i{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function i(e,t,n="0"){const r=""+e,i=[r];for(let e=r.length;e<t;e++)i.push(n);return i.reverse().join("")}n.d(t,"D",(function(){return r})),n.d(t,"M",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return u})),n.d(t,"v",(function(){return a})),n.d(t,"W",(function(){return l})),n.d(t,"K",(function(){return c})),n.d(t,"Q",(function(){return h})),n.d(t,"p",(function(){return d})),n.d(t,"V",(function(){return f})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"q",(function(){return _})),n.d(t,"P",(function(){return p})),n.d(t,"O",(function(){return C})),n.d(t,"w",(function(){return b})),n.d(t,"z",(function(){return L})),n.d(t,"J",(function(){return E})),n.d(t,"f",(function(){return S})),n.d(t,"h",(function(){return N})),n.d(t,"g",(function(){return y})),n.d(t,"i",(function(){return A})),n.d(t,"H",(function(){return v})),n.d(t,"I",(function(){return w})),n.d(t,"t",(function(){return T})),n.d(t,"T",(function(){return D})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return I})),n.d(t,"F",(function(){return k})),n.d(t,"G",(function(){return P})),n.d(t,"j",(function(){return R})),n.d(t,"A",(function(){return F})),n.d(t,"L",(function(){return B})),n.d(t,"N",(function(){return K})),n.d(t,"r",(function(){return q})),n.d(t,"m",(function(){return H})),n.d(t,"k",(function(){return V})),n.d(t,"B",(function(){return $})),n.d(t,"a",(function(){return G})),n.d(t,"n",(function(){return z})),n.d(t,"l",(function(){return Q})),n.d(t,"E",(function(){return J})),n.d(t,"C",(function(){return X})),n.d(t,"b",(function(){return Z})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"c",(function(){return ie}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function u(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t=" "){return h(c(e,t),t)}function c(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function h(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function d(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function f(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function g(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function _(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function p(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function C(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function b(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function L(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function E(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function N(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const s=r-n,u=o-i;return s<u?-1:s>u?1:0}function y(e,t){return A(e,t,0,e.length,0,t.length)}function A(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let s=e.charCodeAt(n),u=t.charCodeAt(i);if(s===u)continue;const a=s-u;if((32!==a||!w(u))&&(-32!==a||!w(s)))return v(s)&&v(u)?a:N(e.toLowerCase(),t.toLowerCase(),n,r,i,o)}const s=r-n,u=o-i;return s<u?-1:s>u?1:0}function v(e){return e>=97&&e<=122}function w(e){return e>=65&&e<=90}function O(e){return v(e)||w(e)}function T(e,t){return e.length===t.length&&x(e,t)}function x(e,t,n=e.length){for(let r=0;r<n;r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)if(O(n)&&O(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function D(e,t){const n=t.length;return!(t.length>e.length)&&x(e,t,n)}function M(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function I(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function k(e){return 55296<=e&&e<=56319}function P(e){return 56320<=e&&e<=57343}function R(e,t){return t-56320+(e-55296<<10)+65536}function F(e,t,n){const r=e.charCodeAt(n);if(k(r)&&n+1<t){const t=e.charCodeAt(n+1);if(P(t))return R(r,t)}return r}function U(e,t){const n=e.charCodeAt(t-1);if(P(n)&&t>1){const r=e.charCodeAt(t-2);if(k(r))return R(r,n)}return n}function B(e,t){const n=oe.getInstance(),r=t,i=e.length,o=F(e,i,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<i;){const r=F(e,i,t),o=n.getGraphemeBreakType(r);if(ie(s,o))break;t+=r>=65536?2:1,s=o}return t-r}function K(e,t){const n=oe.getInstance(),r=t,i=U(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=U(e,t),i=n.getGraphemeBreakType(r);if(ie(i,o))break;t-=r>=65536?2:1,o=i}return r-t}function q(e){const t=e.byteLength,n=[];let r=0;for(;r<t;){const i=e[r];let o;if(o=i>=240&&r+3<t?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=224&&r+2<t?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=192&&r+1<t?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(r))}else n.push(String.fromCharCode(65533))}return n.join("")}const W=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function H(e){return W.test(e)}const j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function V(e){return j.test(e)}const Y=/^[\t\n\r\x20-\x7E]*$/;function $(e){return Y.test(e)}const G=/[\u2028\u2029]/;function z(e){return G.test(e)}function Q(e){for(let t=0,n=e.length;t<n;t++)if(J(e.charCodeAt(t)))return!0;return!1}function J(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function X(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const Z=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return oe.getInstance().getGraphemeBreakType(e)}function ie(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],c=!1,h=-1;function d(){c&&a&&(c=!1,a.length?l=a.concat(l):h=-1,l.length&&f())}function f(){if(!c){var e=u(d);c=!0;for(var t=l.length;t;){for(a=l,l=[];++h<t;)a&&a[h].run();h=-1,t=l.length}a=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new m(e,t)),1!==l.length||c||u(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return h}));var r=n(8);function i(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>o(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=u(n,t),o(e[n],t)),t)}(e,t);case"string":return u(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function u(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function a(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function l(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function c(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,s=this._buffLen,u=this._leftoverHighSurrogate;for(0!==u?(i=u,o=-1,u=0):(i=e.charCodeAt(0),o=0);;){let a=i;if(r.F(i)){if(!(o+1<t)){u=i;break}{const t=e.charCodeAt(o+1);r.G(t)?(o++,a=r.j(i,t)):a=65533}}else r.G(i)&&(a=65533);if(s=this._push(n,s,a),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=u}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),c(this._h0)+c(this._h1)+c(this._h2)+c(this._h3)+c(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,l(this._buff,this._buffLen),this._buffLen>56&&(this._step(),l(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,a(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,u=this._h2,l=this._h3,c=this._h4;for(let t=0;t<80;t++)t<20?(n=s&u|~s&l,r=1518500249):t<40?(n=s^u^l,r=1859775393):t<60?(n=s&u|s&l|u&l,r=2400959708):(n=s^u^l,r=3395469782),i=a(o,5)+n+c+r+e.getUint32(4*t,!1)&4294967295,c=l,l=u,u=a(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+u&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+c&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h}));var r=n(13),i=n(2),o=n(11),s=n(14);let u=!1;function a(e){o.h&&(u||(u=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class l{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(r.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class c extends i.a{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new l({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let i=null;void 0!==self.require&&"function"==typeof self.require.getConfig?i=self.require.getConfig():void 0!==self.requirejs&&(i=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(i)),t,o]);const u=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{r=n,this._onModuleLoaded.then(t=>{e(s.c(t,u))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}class h{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new l({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=s.c(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file diff --git a/monaco/workers/html.worker.js b/monaco/workers/html.worker.js index a4ae134..ea4349b 100644 --- a/monaco/workers/html.worker.js +++ b/monaco/workers/html.worker.js @@ -1 +1 @@ -!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=346)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(25),r=n(6),o=n(43),a=n(23),s=n(9),l=n(3),c=n(21),h=n(77),d=n(40);class u{static chord(e,t){return Object(o.a)(e,t)}}function p(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.b,Emitter:r.a,KeyCode:d.o,KeyMod:u,Position:s.a,Range:l.a,Selection:c.a,SelectionDirection:d.z,MarkerSeverity:d.p,MarkerTag:d.q,Uri:a.a,Token:h.a}}u.CtrlCmd=2048,u.Shift=1024,u.Alt=512,u.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n(36);class r{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(i.a)(e);const n=this.values,r=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(i.a)(e),t=Object(i.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(i.a)(e),t=Object(i.a)(t);const n=this.values,r=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(i.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,i=0,o=0,a=0;for(;t<=n;)if(i=t+(n-t)/2|0,o=this.prefixSum[i],a=o-this.values[i],e<a)n=i-1;else{if(!(e>=o))break;t=i+1}return new r(i,e-a)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n(15);class r{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class a{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function s(e,t,n){return new d(new a(e),new a(t)).ComputeDiff(n).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}static Copy2(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}}class h{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new r(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[i,r,o]=d._getElements(e),[a,s,l]=d._getElements(t);this._hasStrings=o&&l,this._originalStringElements=i,this._originalElementsOrHash=r,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(d._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,i,r){const o=[!1];let a=this.ComputeDiffRecursive(e,t,n,i,o);return r&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}}ComputeDiffRecursive(e,t,n,i,o){for(o[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let o;return n<=i?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new r(e,0,n,i-n+1)]):e<=t?(l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[new r(e,t-e+1,n,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const a=[0],s=[0],c=this.ComputeRecursionPoint(e,t,n,i,a,s,o),h=a[0],d=s[0];if(null!==c)return c;if(!o[0]){const a=this.ComputeDiffRecursive(e,h,n,d,o);let s=[];return s=o[0]?[new r(h+1,t-(h+1)+1,d+1,i-(d+1)+1)]:this.ComputeDiffRecursive(h+1,t,d+1,i,o),this.ConcatenateChanges(a,s)}return[new r(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,o,a,s,l,c,d,u,p,m,f,g,b,_,w){let v=null,y=null,T=new h,k=t,S=n,x=m[0]-b[0]-i,L=-1073741824,C=this.m_forwardHistory.length-1;do{const t=x+e;t===k||t<S&&c[t-1]<c[t+1]?(f=(u=c[t+1])-x-i,u<L&&T.MarkNextChange(),L=u,T.AddModifiedElement(u+1,f),x=t+1-e):(f=(u=c[t-1]+1)-x-i,u<L&&T.MarkNextChange(),L=u-1,T.AddOriginalElement(u,f+1),x=t-1-e),C>=0&&(e=(c=this.m_forwardHistory[C])[0],k=1,S=c.length-1)}while(--C>=-1);if(v=T.getReverseChanges(),w[0]){let e=m[0]+1,t=b[0]+1;if(null!==v&&v.length>0){const n=v[v.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new r(e,p-e+1,t,g-t+1)]}else{T=new h,k=a,S=s,x=m[0]-b[0]-l,L=1073741824,C=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+o;e===k||e<S&&d[e-1]>=d[e+1]?(f=(u=d[e+1]-1)-x-l,u>L&&T.MarkNextChange(),L=u+1,T.AddOriginalElement(u+1,f+1),x=e+1-o):(f=(u=d[e-1])-x-l,u>L&&T.MarkNextChange(),L=u,T.AddModifiedElement(u+1,f+1),x=e-1-o),C>=0&&(o=(d=this.m_reverseHistory[C])[0],k=1,S=d.length-1)}while(--C>=-1);y=T.getChanges()}return this.ConcatenateChanges(v,y)}ComputeRecursionPoint(e,t,n,i,o,a,s){let l=0,h=0,d=0,u=0,p=0,m=0;e--,n--,o[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(i-n),g=f+1,b=new Int32Array(g),_=new Int32Array(g),w=i-n,v=t-e,y=e-n,T=t-i,k=(v-w)%2==0;b[w]=e,_[v]=t,s[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,x=0;d=this.ClipDiagonalBound(w-S,S,w,g),u=this.ClipDiagonalBound(w+S,S,w,g);for(let e=d;e<=u;e+=2){l=e===d||e<u&&b[e-1]<b[e+1]?b[e+1]:b[e-1]+1,h=l-(e-w)-y;const n=l;for(;l<t&&h<i&&this.ElementsAreEqual(l+1,h+1);)l++,h++;if(b[e]=l,l+h>f+x&&(f=l,x=h),!k&&Math.abs(e-v)<=S-1&&l>=_[e])return o[0]=l,a[0]=h,n<=_[e]&&S<=1448?this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s):null}const L=(f-e+(x-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L))return s[0]=!0,o[0]=f,a[0]=x,L>0&&S<=1448?this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s):(e++,n++,[new r(e,t-e+1,n,i-n+1)]);p=this.ClipDiagonalBound(v-S,S,v,g),m=this.ClipDiagonalBound(v+S,S,v,g);for(let r=p;r<=m;r+=2){l=r===p||r<m&&_[r-1]>=_[r+1]?_[r+1]-1:_[r-1],h=l-(r-v)-T;const c=l;for(;l>e&&h>n&&this.ElementsAreEqual(l,h);)l--,h--;if(_[r]=l,k&&Math.abs(r-w)<=S&&l<=b[r])return o[0]=l,a[0]=h,c>=b[r]&&S<=1448?this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s):null}if(S<=1447){let e=new Int32Array(u-d+2);e[0]=w-d+1,c.Copy2(b,d,e,1,u-d+1),this.m_forwardHistory.push(e),e=new Int32Array(m-p+2),e[0]=v-p+1,c.Copy2(_,p,e,1,m-p+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,r=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,a=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<r&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let s=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],s)&&(e[t]=s[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,r=0;if(t>0){const n=e[t-1];n.originalLength>0&&(i=n.originalStart+n.originalLength),n.modifiedLength>0&&(r=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,a=n.modifiedLength>0;let s=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<i||c<r)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const h=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);h>l&&(l=h,s=e)}n.originalStart-=s,n.modifiedStart-=s}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return c.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],c.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let o=e.originalLength;const a=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r(i,o,a,s),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const r=t%2==0;if(e<0){return r===(n%2==0)?0:1}return r===((i-n-1)%2==0)?i-1:i-2}}var u=n(11),p=n(23),m=n(9),f=n(3),g=n(8);function b(e,t,n,i){return new d(e,t,n).ComputeDiff(i)}class _{constructor(e){const t=[],n=[];for(let i=0,r=e.length;i<r;i++)t[i]=k(e[i],1),n[i]=S(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const i=[],r=[],o=[];let a=0;for(let s=t;s<=n;s++){const t=this.lines[s],n=e?this._startColumns[s]:1,l=e?this._endColumns[s]:t.length+1;for(let e=n;e<l;e++)i[a]=t.charCodeAt(e-1),r[a]=s+1,o[a]=e,a++}return new w(i,r,o)}}class w{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class v{constructor(e,t,n,i,r,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=r,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){let i,r,o,a,s,l,c,h;return 0===e.originalLength?(i=0,r=0,o=0,a=0):(i=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(s=0,l=0,c=0,h=0):(s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new v(i,r,o,a,s,l,c,h)}}class y{constructor(e,t,n,i,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=r}static createFromDiffResult(e,t,n,i,r,o,a){let s,l,c,h,d=void 0;if(0===t.originalLength?(s=n.getStartLineNumber(t.originalStart)-1,l=0):(s=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=i.getStartLineNumber(t.modifiedStart)-1,h=0):(c=i.getStartLineNumber(t.modifiedStart),h=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=b(o,s,r,!0).changes;a&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i<r;i++){const r=e[i],o=r.originalStart-(n.originalStart+n.originalLength),a=r.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,a)<3?(n.originalLength=r.originalStart+r.originalLength-n.originalStart,n.modifiedLength=r.modifiedStart+r.modifiedLength-n.modifiedStart):(t.push(r),n=r)}return t}(l)),d=[];for(let e=0,t=l.length;e<t;e++)d.push(v.createFromDiffChange(l[e],o,s))}return new y(s,l,c,h,d)}}class T{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new _(e),this.modified=new _(t),this.continueLineDiff=x(n.maxComputationTime),this.continueCharDiff=x(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=b(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const i=[];let r=0,o=0;for(let e=-1,n=t.length;e<n;e++){const a=e+1<n?t[e+1]:null,s=a?a.originalStart:this.originalLines.length,l=a?a.modifiedStart:this.modifiedLines.length;for(;r<s&&o<l;){const e=this.originalLines[r],t=this.modifiedLines[o];if(e!==t){{let n=k(e,1),a=k(t,1);for(;n>1&&a>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(a-2))break;n--,a--}(n>1||a>1)&&this._pushTrimWhitespaceCharChange(i,r+1,1,n,o+1,1,a)}{let n=S(e,1),a=S(t,1);const s=e.length+1,l=t.length+1;for(;n<s&&a<l;){if(e.charCodeAt(n-1)!==e.charCodeAt(a-1))break;n++,a++}(n<s||a<l)&&this._pushTrimWhitespaceCharChange(i,r+1,n,s,o+1,a,l)}}r++,o++}a&&(i.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,a,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),r+=a.originalLength,o+=a.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,r,o,a){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,r,o,a))return;let s=void 0;this.shouldComputeCharChanges&&(s=[new v(t,n,t,i,r,o,r,a)]),e.push(new y(t,t,r,r,s))}_mergeTrimWhitespaceCharChange(e,t,n,i,r,o,a){const s=e.length;if(0===s)return!1;const l=e[s-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===r&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=r,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new v(t,n,t,i,r,o,r,a)),!0))}}function k(e,t){const n=g.w(e);return-1===n?t:n+1}function S(e,t){const n=g.J(e);return-1===n?t:n+2}function x(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var L=n(101);var C=n(73),E=n(76);class A{constructor(e,t,n){const i=new Uint8Array(e*t);for(let r=0,o=e*t;r<o;r++)i[r]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class M{constructor(e){let t=0,n=0;for(let i=0,r=e.length;i<r;i++){let[r,o,a]=e[i];o>t&&(t=o),r>n&&(n=r),a>n&&(n=a)}t++,n++;let i=new A(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,r,o]=e[t];i.set(n,r,o)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let R=null;let I=null;class U{static _createLink(e,t,n,i,r){let o=r-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:o+2},url:t.substring(i,o+1)}}static computeLinks(e,t=function(){return null===R&&(R=new M([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),R}()){const n=function(){if(null===I){I=new E.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)I.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)I.set(t.charCodeAt(e),2)}return I}();let i=[];for(let r=1,o=e.getLineCount();r<=o;r++){const o=e.getLineContent(r),a=o.length;let s=0,l=0,c=0,h=1,d=!1,u=!1,p=!1,m=!1;for(;s<a;){let e=!1;const a=o.charCodeAt(s);if(13===h){let t;switch(a){case 40:d=!0,t=0;break;case 41:t=d?0:1;break;case 91:p=!0,u=!0,t=0;break;case 93:p=!1,t=u?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=p?0:1;break;default:t=n.get(a)}1===t&&(i.push(U._createLink(n,o,r,l,s)),e=!0)}else if(12===h){let t;91===a?(u=!0,t=0):t=n.get(a),1===t?e=!0:h=13}else h=t.nextState(h,a),0===h&&(e=!0);e&&(h=1,d=!1,u=!1,m=!1,l=s+1,c=a),s++}13===h&&i.push(U._createLink(n,o,r,l,a))}return i}}class N{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,i,r){if(e&&t){let n=this.doNavigateValueSet(t,r);if(n)return{range:e,value:n}}if(n&&i){let e=this.doNavigateValueSet(i,r);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),r=parseFloat(e);return isNaN(i)||isNaN(r)||i!==r?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let r=0,o=e.length;null===i&&r<o;r++)i=this.valueSetReplace(e[r],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}N.INSTANCE=new N;var H=n(100),z=n(14),W=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class D extends class{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new L.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let i=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),i[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(C.d)(e.column,Object(C.c)(t),this._lines[e.lineNumber-1],0);return n?new f.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,r="",o=0,a=[];return{*[Symbol.iterator](){for(;;)if(o<a.length){const e=r.substring(a[o].start,a[o].end);o+=1,yield e}else{if(!(i<t.length))break;r=t[i],a=n(r,e),o=0,i+=1}}}}getLineWords(e,t){let n=this._lines[e-1],i=this._wordenize(n,t),r=[];for(const e of i)r.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return r}_wordenize(e,t){const n=[];let i;for(t.lastIndex=0;(i=t.exec(e))&&0!==i[0].length;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,r=[];r.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<i;e++)r.push(this._lines[e]);return r.push(this._lines[i].substring(0,e.endColumn-1)),r.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class O{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new D(p.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,i){return W(this,void 0,void 0,(function*(){const r=this._getModel(e),o=this._getModel(t);if(!r||!o)return null;const a=r.getLinesContent(),s=o.getLinesContent(),l=new T(a,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(r,o);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0}computeMoreMinimalEdits(e,t){return W(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const r=[];let o=void 0;t=Object(i.p)(t,(e,t)=>{if(e.range&&t.range)return f.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:i,eol:a}of t){if("number"==typeof a&&(o=a),f.a.isEmpty(e)&&!i)continue;const t=n.getValueInRange(e);if(i=i.replace(/\r\n|\n|\r/g,n.eol),t===i)continue;if(Math.max(i.length,t.length)>O._diffLimit){r.push({range:e,text:i});continue}const l=s(t,i,!1),c=n.offsetAt(f.a.lift(e).getStartPosition());for(const e of l){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),a={text:i.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(a.range)!==a.text&&r.push(a)}}return"number"==typeof o&&r.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return W(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?U.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,i){return W(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return null;const o=[],a=new Set,s=new RegExp(n,i),l=r.getWordAtPosition(t,s);l&&a.add(r.getValueInRange(l));for(let e of r.words(s))if(!a.has(e)&&(a.add(e),isNaN(Number(e))&&(o.push(e),a.size>O._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,i){return W(this,void 0,void 0,(function*(){let r=this._getModel(e);if(!r)return Object.create(null);const o=new RegExp(n,i),a=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=r.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=a[n.word];t||(t=[],a[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return a}))}navigateValueSet(e,t,n,i,r){return W(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let a=new RegExp(i,r);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let s=o.getValueInRange(t),l=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!l)return null;let c=o.getValueInRange(l);return N.INSTANCE.navigateValueSet(t,s,l,c,n)}))}loadForeignModule(e,t,n){let i={host:z.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(z.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}O._diffLimit=1e5,O._suggestionsLimit=1e4,"function"==typeof importScripts&&(u.b.monaco=Object(H.a)())},11:function(e,t,n){"use strict";(function(e,i){n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return T})),n.d(t,"j",(function(){return k})),n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return C}));let r=!1,o=!1,a=!1,s=!1,l=!1,c=!1,h=void 0,d="en",u=void 0,p=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){r="win32"===e.platform,o="darwin"===e.platform,a="linux"===e.platform,h="en",d="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];h=e.locale,d=n||"en",u=e._translationsConfigFile}catch(e){}s=!0}}else p=navigator.userAgent,r=p.indexOf("Windows")>=0,o=p.indexOf("Macintosh")>=0,c=(p.indexOf("Macintosh")>=0||p.indexOf("iPad")>=0||p.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=p.indexOf("Linux")>=0,l=!0,h=navigator.language,d=h;let f=0;o?f=1:r?f=3:a&&(f=2);const g=r,b=o,_=a,w=s,v=l,y=c,T="object"==typeof self?self:"object"==typeof i?i:{},k=function(){if(T.setImmediate)return T.setImmediate.bind(T);if("function"==typeof T.postMessage&&!T.importScripts){let e=[];T.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),T.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),S=o||c?2:r?1:3;let x=!0,L=!1;function C(){if(!L){L=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);x=513===t[0]}return x}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return h}));const i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function r(e){s(e)||i.onUnexpectedError(e)}function o(e){s(e)||i.onUnexpectedExternalError(e)}function a(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function h(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return a}));var i=n(94),r=n(104);let o=!1;function a(e){if(o)return;o=!0;const t=new i.b(e=>{self.postMessage(e)},t=>new r.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||a(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function i(e){return Array.isArray(e)}function r(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function a(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function h(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function d(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function p(e,t){const n=Math.min(e.length,t.length);for(let i=0;i<n;i++)m(e[i],t[i])}function m(e,t){if(r(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(u(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function f(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function g(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const t of e)i[t]=n(t);return i}function b(e){return null===e?void 0:e}n.d(t,"e",(function(){return i})),n.d(t,"j",(function(){return r})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"n",(function(){return b}))},15:function(e,t,n){"use strict";function i(e,t=0){return e[e.length-(1+t)]}function r(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function a(e,t,n){let i=0,r=e.length-1;for(;i<=r;){const o=(i+r)/2|0,a=n(e[o],t);if(a<0)i=o+1;else{if(!(a>0))return o;r=o-1}}return-(i+1)}function s(e,t){let n=0,i=e.length;if(0===i)return 0;for(;n<i;){const r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function l(e,t){return function e(t,n,i,r,o){if(r<=i)return;const a=i+(r-i)/2|0;if(e(t,n,i,a,o),e(t,n,a+1,r,o),n(t[a],t[a+1])<=0)return;!function(e,t,n,i,r,o){let a=n,s=i+1;for(let t=n;t<=r;t++)o[t]=e[t];for(let l=n;l<=r;l++)a>i?e[l]=o[s++]:s>r?e[l]=o[a++]:t(o[s],o[a])<0?e[l]=o[s++]:e[l]=o[a++]}(t,n,i,a,r,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let i=void 0;for(const r of l(e.slice(0),t))i&&0===t(i[0],r)?i.push(r):(i=[r],n.push(i));return n}function h(e){return e.filter(e=>!!e)}function d(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&e.length>0}function p(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const i=t(e);return!n[i]&&(n[i]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function f(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function g(e,t,n){const i=f(e,t);return i<0?n:e[i]}function b(e,t){return e.length>0?e[0]:t}function _(e){return[].concat(...e)}function w(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let e=n;e<t;e++)i.push(e);else for(let e=n;e>t;e--)i.push(e);return i}function v(e,t,n){const i=e.slice(0,t),r=e.slice(t);return i.concat(n,r)}function y(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function T(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function k(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return i})),n.d(t,"u",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"p",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"n",(function(){return d})),n.d(t,"o",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return g})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return _})),n.d(t,"s",(function(){return w})),n.d(t,"a",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"q",(function(){return T})),n.d(t,"b",(function(){return k}))},176:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,o,a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var s=navigator.userAgent;o=s.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,h=/^\/\//;var d="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==d&&(t=d+t):t=d}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(h.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new f(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new f(n[2]||"",T(n[4]||""),T(n[5]||""),T(n[7]||""),T(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,d)),e[0]===d&&e[1]===d){var n=e.indexOf(d,2);-1===n?(t=e.substring(2),e=d):(t=e.substring(2,n),e=e.substring(n)||d)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),v(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),g=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var a=g[o];void 0!==a?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=a):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=g[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function w(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function v(e,t){var n=t?_:b,i="",r=e.scheme,o=e.authority,a=e.path,s=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=d,i+=d),o){var c=o.indexOf("@");if(-1!==c){var h=o.substr(0,c);o=o.substr(c+1),-1===(c=h.indexOf(":"))?i+=n(h,!1):(i+=n(h.substr(0,c),!1),i+=":",i+=n(h.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(u=a.charCodeAt(1))>=65&&u<=90&&(a="/"+String.fromCharCode(u+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var u;(u=a.charCodeAt(0))>=65&&u<=90&&(a=String.fromCharCode(u+32)+":"+a.substr(2))}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function T(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return p}));var i=n(37);function r(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function a(e){return"function"==typeof e.dispose&&0===e.dispose.length}function s(e){if(i.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function l(...e){return e.forEach(r),{dispose:()=>s(e)}}function c(e){const t={dispose:()=>{e()}};return t}class h{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{s(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?h.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}h.DISABLE_DISPOSED_WARNING=!1;class d{constructor(){this._store=new h}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}d.None=Object.freeze({dispose(){}});class u{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class p{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(9),r=n(3);class o extends r.a{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,i,r){return 0===r?new o(e,t,n,i):new o(n,i,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return g}));var i=n(11),r=n(42);const o=/^\w[\w\d+.-]*$/,a=/^\//,s=/^\/\//;const l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(e,t,n,i,r,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!a.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof h||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:r,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new u(t,n,i,r,o)}static parse(e,t=!1){const n=c.exec(e);return n?new u(n[2]||"",w(n[4]||""),w(n[5]||""),w(n[7]||""),w(n[9]||""),t):new u("","","","","")}static file(e){let t="";if(i.i&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){const n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new u("file",t,e,"","")}static from(e){return new u(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=i.i&&"file"===e.scheme?h.file(r.i.join(g(e,!0),...t)).path:r.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new u(e);return t._formatted=e.external,t._fsPath=e._sep===d?e.fsPath:null,t}}return e}}const d=i.i?1:void 0;class u extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const p={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,i=-1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));const t=p[o];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=t):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function f(e){let t=void 0;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=p[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function g(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.i&&(n=n.replace(/\//g,"\\")),n}function b(e,t){const n=t?f:m;let i="",{scheme:r,authority:o,path:a,query:s,fragment:c}=e;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=l,i+=l),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?i+=n(o,!1):(i+=n(o.substr(0,e),!1),i+=o.substr(e))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){const e=a.charCodeAt(1);e>=65&&e<=90&&(a=`/${String.fromCharCode(e+32)}:${a.substr(3)}`)}else if(a.length>=2&&58===a.charCodeAt(1)){const e=a.charCodeAt(0);e>=65&&e<=90&&(a=`${String.fromCharCode(e+32)}:${a.substr(2)}`)}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),c&&(i+="#",i+=t?c:m(c,!1)),i}const _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function w(e){return e.match(_)?e.replace(_,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var i=n(6);const r=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof a||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r})}(o||(o={}));class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new i.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class s{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var i=n(11);const r=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return i.i?"win32":i.f?"darwin":"linux"},nextTick:e=>Object(i.j)(e)}:e,o=r.cwd,a=r.env,s=r.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(9);class r{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return r.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return r.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return r.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return r.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return r.plusRange(this,e)}static plusRange(e,t){let n,i,o,a;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,a=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,a=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,a=e.endColumn),new r(n,i,o,a)}intersectRanges(e){return r.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,a=e.endColumn,s=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,h=t.endColumn;return n<s?(n=s,i=l):n===s&&(i=Math.max(i,l)),o>c?(o=c,a=h):o===c&&(a=Math.min(a,h)),n>o||n===o&&i>a?null:new r(n,i,o,a)}equalsRange(e){return r.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return r.getEndPosition(this)}static getEndPosition(e){return new i.a(e.endLineNumber,e.endColumn)}getStartPosition(){return r.getStartPosition(this)}static getStartPosition(e){return new i.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new r(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new r(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return r.collapseToStart(this)}static collapseToStart(e){return new r(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;if(n===i){return(0|e.endColumn)-(0|t.endColumn)}return n-i}return n-i}return n-i}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},31:function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return i(t,n)}function o(e){return r}var a,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k,S,x,L;n.d(t,"g",(function(){return oe})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return I})),n.d(t,"e",(function(){return U})),n.d(t,"c",(function(){return F})),n.d(t,"f",(function(){return j})),n.d(t,"h",(function(){return Ht})),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.number(t.line)&&ie.number(t.character)}}(a||(a={})),function(e){e.create=function(e,t,n,i){if(ie.number(e)&&ie.number(t)&&ie.number(n)&&ie.number(i))return{start:a.create(e,t),end:a.create(n,i)};if(a.is(e)&&a.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return ie.objectLiteral(t)&&a.is(t.start)&&a.is(t.end)}}(s||(s={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&(ie.string(t.uri)||ie.undefined(t.uri))}}(l||(l={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.targetRange)&&ie.string(t.targetUri)&&(s.is(t.targetSelectionRange)||ie.undefined(t.targetSelectionRange))&&(s.is(t.originSelectionRange)||ie.undefined(t.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ie.number(t.red)&&ie.number(t.green)&&ie.number(t.blue)&&ie.number(t.alpha)}}(h||(h={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return s.is(t.range)&&h.is(t.color)}}(d||(d={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ie.string(t.label)&&(ie.undefined(t.textEdit)||y.is(t))&&(ie.undefined(t.additionalTextEdits)||ie.typedArray(t.additionalTextEdits,y.is))}}(u||(u={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(p||(p={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return ie.defined(n)&&(o.startCharacter=n),ie.defined(i)&&(o.endCharacter=i),ie.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return ie.number(t.startLine)&&ie.number(t.startLine)&&(ie.undefined(t.startCharacter)||ie.number(t.startCharacter))&&(ie.undefined(t.endCharacter)||ie.number(t.endCharacter))&&(ie.undefined(t.kind)||ie.string(t.kind))}}(m||(m={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ie.defined(t)&&l.is(t.location)&&ie.string(t.message)}}(f||(f={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(g||(g={})),function(e){e.Unnecessary=1,e.Deprecated=2}(b||(b={})),function(e){e.is=function(e){var t=e;return null!=t&&(ie.number(t.value)||ie.string(t.value))&&ie.string(t.target)}}(_||(_={})),function(e){e.create=function(e,t,n,i,r,o){var a={range:e,message:t};return ie.defined(n)&&(a.severity=n),ie.defined(i)&&(a.code=i),ie.defined(r)&&(a.source=r),ie.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&ie.string(t.message)&&(ie.number(t.severity)||ie.undefined(t.severity))&&(ie.number(t.code)||ie.string(t.code)||ie.undefined(t.code))&&(ie.string(t.source)||ie.undefined(t.source))&&(ie.undefined(t.relatedInformation)||ie.typedArray(t.relatedInformation,f.is))}}(w||(w={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return ie.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.title)&&ie.string(t.command)}}(v||(v={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.string(t.newText)&&s.is(t.range)}}(y||(y={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ie.defined(t)&&E.is(t.textDocument)&&Array.isArray(t.edits)}}(T||(T={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(k||(k={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ie.string(t.oldUri)&&ie.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(S||(S={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ie.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ie.boolean(t.options.ignoreIfNotExists)))}}(x||(x={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ie.string(e.kind)?k.is(e)||S.is(e)||x.is(e):T.is(e)})))}}(L||(L={}));var C,E,A,M,R,I,U,N,H,z,W,D,O,P,q,F,B,j,G,V,K,Y,$,J,Q,X,Z,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(y.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(y.replace(e,t))},e.prototype.delete=function(e){this.edits.push(y.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(T.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new te(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(E.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new te(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new te(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(k.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(S.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(x.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)}}(C||(C={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&(null===t.version||ie.number(t.version))}}(E||(E={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&ie.string(t.languageId)&&ie.number(t.version)&&ie.string(t.text)}}(A||(A={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(M||(M={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(M||(M={})),function(e){e.is=function(e){var t=e;return ie.objectLiteral(e)&&M.is(t.kind)&&ie.string(t.value)}}(R||(R={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(I||(I={})),function(e){e.PlainText=1,e.Snippet=2}(U||(U={})),function(e){e.Deprecated=1}(N||(N={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ie.string(t.newText)&&s.is(t.insert)&&s.is(t.replace)}}(H||(H={})),function(e){e.create=function(e){return{label:e}}}(z||(z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(W||(W={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ie.string(t)||ie.objectLiteral(t)&&ie.string(t.language)&&ie.string(t.value)}}(D||(D={})),function(e){e.is=function(e){var t=e;return!!t&&ie.objectLiteral(t)&&(R.is(t.contents)||D.is(t.contents)||ie.typedArray(t.contents,D.is))&&(void 0===e.range||s.is(e.range))}}(O||(O={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(P||(P={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return ie.defined(t)&&(r.documentation=t),ie.defined(n)?r.parameters=n:r.parameters=[],r}}(q||(q={})),function(e){e.Text=1,e.Read=2,e.Write=3}(F||(F={})),function(e){e.create=function(e,t){var n={range:e};return ie.number(t)&&(n.kind=t),n}}(B||(B={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(j||(j={})),function(e){e.Deprecated=1}(G||(G={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}(V||(V={})),function(e){e.create=function(e,t,n,i,r,o){var a={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&ie.string(t.name)&&ie.number(t.kind)&&s.is(t.range)&&s.is(t.selectionRange)&&(void 0===t.detail||ie.string(t.detail))&&(void 0===t.deprecated||ie.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(K||(K={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(Y||(Y={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ie.defined(t)&&ie.typedArray(t.diagnostics,w.is)&&(void 0===t.only||ie.typedArray(t.only,ie.string))}}($||($={})),function(e){e.create=function(e,t,n){var i={title:e};return v.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ie.string(t.title)&&(void 0===t.diagnostics||ie.typedArray(t.diagnostics,w.is))&&(void 0===t.kind||ie.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||v.is(t.command))&&(void 0===t.isPreferred||ie.boolean(t.isPreferred))&&(void 0===t.edit||L.is(t.edit))}}(J||(J={})),function(e){e.create=function(e,t){var n={range:e};return ie.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&(ie.undefined(t.command)||v.is(t.command))}}(Q||(Q={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.number(t.tabSize)&&ie.boolean(t.insertSpaces)}}(X||(X={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&(ie.undefined(t.target)||ie.string(t.target))}}(Z||(Z={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&s.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,i){return new re(e,t,n,i)},e.is=function(e){var t=e;return!!(ie.defined(t)&&ie.string(t.uri)&&(ie.undefined(t.languageId)||ie.string(t.languageId))&&ie.number(t.lineCount)&&ie.func(t.getText)&&ie.func(t.positionAt)&&ie.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var a=0,s=0,l=0;for(;a<r.length&&s<o.length;){var c=n(r[a],o[s]);t[l++]=c<=0?r[a++]:o[s++]}for(;a<r.length;)t[l++]=r[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var a=i[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+a.newText+n.substring(l,n.length),r=s}return n}}(ne||(ne={}));var ie,re=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return a.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return a.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ie||(ie={}));var oe,ae,se,le,ce,he=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var a=ue(o.range),s=this.offsetAt(a.start),l=this.offsetAt(a.end);this._content=this._content.substring(0,s)+o.text+this._content.substring(l,this._content.length);var c=Math.max(a.start.line,0),h=Math.max(a.end.line,0),d=this._lineOffsets,u=de(o.text,!1,s);if(h-c===u.length)for(var p=0,m=u.length;p<m;p++)d[p+c+1]=u[p];else u.length<1e4?d.splice.apply(d,[c+1,h-c].concat(u)):this._lineOffsets=d=d.slice(0,c+1).concat(u,d.slice(h+1));var f=o.text.length-(l-s);if(0!==f)for(p=c+1+u.length,m=d.length;p<m;p++)d[p]=d[p]+f}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=de(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function de(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function ue(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function pe(e){var t=ue(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new he(e,t,n,i)},e.update=function(e,t,n){if(e instanceof he)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,r=[],o=0,a=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var a=0,s=0,l=0;for(;a<r.length&&s<o.length;){var c=n(r[a],o[s]);t[l++]=c<=0?r[a++]:o[s++]}for(;a<r.length;)t[l++]=r[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t.map(pe),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<a.length;o++){var s=a[o],l=e.offsetAt(s.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&r.push(n.substring(i,l)),s.newText.length&&r.push(s.newText),i=e.offsetAt(s.range.end)}return r.push(n.substr(i)),r.join("")}}(oe||(oe={})),function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"}(ae||(ae={})),function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"}(se||(se={})),(le||(le={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[M.Markdown,M.PlainText]}},hover:{contentFormat:[M.Markdown,M.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(ce||(ce={}));var me=o(),fe=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index,t[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){for(;this.position+e.length<=this.source.length;){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){return this.advanceWhileChar((function(e){return e===Ce||e===Ee||e===Se||e===Le||e===xe}))>0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),ge="!".charCodeAt(0),be="-".charCodeAt(0),_e="<".charCodeAt(0),we=">".charCodeAt(0),ve="/".charCodeAt(0),ye="=".charCodeAt(0),Te='"'.charCodeAt(0),ke="'".charCodeAt(0),Se="\n".charCodeAt(0),xe="\r".charCodeAt(0),Le="\f".charCodeAt(0),Ce=" ".charCodeAt(0),Ee="\t".charCodeAt(0),Ae={"text/x-handlebars-template":!0};function Me(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=se.WithinContent),void 0===i&&(i=!1);var r,o,a,s,l,c=new fe(e,t),h=n,d=0,u=ae.Unknown;function p(){return c.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function m(e,t,n){return u=t,d=e,r=n,t}return{scan:function(){var e=c.pos(),t=h,n=function e(){var t,n=c.pos();if(c.eos())return m(n,ae.EOS);switch(h){case se.WithinComment:return c.advanceIfChars([be,be,we])?(h=se.WithinContent,m(n,ae.EndCommentTag)):(c.advanceUntilChars([be,be,we]),m(n,ae.Comment));case se.WithinDoctype:return c.advanceIfChar(we)?(h=se.WithinContent,m(n,ae.EndDoctypeTag)):(c.advanceUntilChar(we),m(n,ae.Doctype));case se.WithinContent:if(c.advanceIfChar(_e)){if(!c.eos()&&c.peekChar()===ge){if(c.advanceIfChars([ge,be,be]))return h=se.WithinComment,m(n,ae.StartCommentTag);if(c.advanceIfRegExp(/^!doctype/i))return h=se.WithinDoctype,m(n,ae.StartDoctypeTag)}return c.advanceIfChar(ve)?(h=se.AfterOpeningEndTag,m(n,ae.EndTagOpen)):(h=se.AfterOpeningStartTag,m(n,ae.StartTagOpen))}return c.advanceUntilChar(_e),m(n,ae.Content);case se.AfterOpeningEndTag:return p().length>0?(h=se.WithinEndTag,m(n,ae.EndTag)):c.skipWhitespace()?m(n,ae.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(h=se.WithinEndTag,c.advanceUntilChar(we),n<c.pos()?m(n,ae.Unknown,me("error.endTagNameExpected","End tag name expected.")):e());case se.WithinEndTag:if(c.skipWhitespace())return m(n,ae.Whitespace);if(c.advanceIfChar(we))return h=se.WithinContent,m(n,ae.EndTagClose);if(i&&c.peekChar()===_e)return h=se.WithinContent,m(n,ae.EndTagClose,me("error.closingBracketMissing","Closing bracket missing."));t=me("error.closingBracketExpected","Closing bracket expected.");break;case se.AfterOpeningStartTag:return a=p(),l=void 0,s=void 0,a.length>0?(o=!1,h=se.WithinTag,m(n,ae.StartTag)):c.skipWhitespace()?m(n,ae.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(h=se.WithinTag,c.advanceUntilChar(we),n<c.pos()?m(n,ae.Unknown,me("error.startTagNameExpected","Start tag name expected.")):e());case se.WithinTag:return c.skipWhitespace()?(o=!0,m(n,ae.Whitespace)):o&&(s=c.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(h=se.AfterAttributeName,o=!1,m(n,ae.AttributeName)):c.advanceIfChars([ve,we])?(h=se.WithinContent,m(n,ae.StartTagSelfClose)):c.advanceIfChar(we)?(h="script"===a?l&&Ae[l]?se.WithinContent:se.WithinScriptContent:"style"===a?se.WithinStyleContent:se.WithinContent,m(n,ae.StartTagClose)):i&&c.peekChar()===_e?(h=se.WithinContent,m(n,ae.StartTagClose,me("error.closingBracketMissing","Closing bracket missing."))):(c.advance(1),m(n,ae.Unknown,me("error.unexpectedCharacterInTag","Unexpected character in tag.")));case se.AfterAttributeName:return c.skipWhitespace()?(o=!0,m(n,ae.Whitespace)):c.advanceIfChar(ye)?(h=se.BeforeAttributeValue,m(n,ae.DelimiterAssign)):(h=se.WithinTag,e());case se.BeforeAttributeValue:if(c.skipWhitespace())return m(n,ae.Whitespace);var r=c.advanceIfRegExp(/^[^\s"'`=<>]+/);if(r.length>0)return c.peekChar()===we&&c.peekChar(-1)===ve&&(c.goBack(1),r=r.substr(0,r.length-1)),"type"===s&&(l=r),h=se.WithinTag,o=!1,m(n,ae.AttributeValue);var d=c.peekChar();return d===ke||d===Te?(c.advance(1),c.advanceUntilChar(d)&&c.advance(1),"type"===s&&(l=c.getSource().substring(n+1,c.pos()-1)),h=se.WithinTag,o=!1,m(n,ae.AttributeValue)):(h=se.WithinTag,o=!1,e());case se.WithinScriptContent:for(var u=1;!c.eos();){var f=c.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===f.length)return c.goToEnd(),m(n,ae.Script);if("\x3c!--"===f)1===u&&(u=2);else if("--\x3e"===f)u=1;else if("/"!==f[1])2===u&&(u=3);else{if(3!==u){c.goBack(f.length);break}u=2}}return h=se.WithinContent,n<c.pos()?m(n,ae.Script):e();case se.WithinStyleContent:return c.advanceUntilRegExp(/<\/style/i),h=se.WithinContent,n<c.pos()?m(n,ae.Styles):e()}return c.advance(1),h=se.WithinContent,m(n,ae.Unknown,t)}();return n===ae.EOS||e!==c.pos()||i&&(n===ae.StartTagClose||n===ae.EndTagClose)?n:(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+h),c.advance(1),m(e,ae.Unknown))},getTokenType:function(){return u},getTokenOffset:function(){return d},getTokenLength:function(){return c.pos()-d},getTokenEnd:function(){return c.pos()},getTokenText:function(){return c.getSource().substring(d,c.pos())},getScannerState:function(){return h},getTokenError:function(){return r}}}function Re(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}var Ie=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Ue(e){return!!e&&function(e,t,n){for(var i=0,r=e.length-1;i<=r;){var o=(i+r)/2|0,a=n(e[o],t);if(a<0)i=o+1;else{if(!(a>0))return o;r=o-1}}return-(i+1)}(Ie,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}var Ne=function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}return Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),e.prototype.isSameTag=function(e){return void 0===this.tag?void 0===e:void 0!==e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=Re(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=Re(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this},e}();function He(e){for(var t=Me(e,void 0,void 0,!0),n=new Ne(0,e.length,[],void 0),i=n,r=-1,o=void 0,a=null,s=t.scan();s!==ae.EOS;){switch(s){case ae.StartTagOpen:var l=new Ne(t.getTokenOffset(),e.length,[],i);i.children.push(l),i=l;break;case ae.StartTag:i.tag=t.getTokenText();break;case ae.StartTagClose:i.parent&&(i.end=t.getTokenEnd(),t.getTokenLength()?(i.startTagEnd=t.getTokenEnd(),i.tag&&Ue(i.tag)&&(i.closed=!0,i=i.parent)):i=i.parent);break;case ae.StartTagSelfClose:i.parent&&(i.closed=!0,i.end=t.getTokenEnd(),i.startTagEnd=t.getTokenEnd(),i=i.parent);break;case ae.EndTagOpen:r=t.getTokenOffset(),o=void 0;break;case ae.EndTag:o=t.getTokenText().toLowerCase();break;case ae.EndTagClose:for(var c=i;!c.isSameTag(o)&&c.parent;)c=c.parent;if(c.parent){for(;i!==c;)i.end=r,i.closed=!1,i=i.parent;i.closed=!0,i.endTagStart=r,i.end=t.getTokenEnd(),i=i.parent}break;case ae.AttributeName:a=t.getTokenText(),(h=i.attributes)||(i.attributes=h={}),h[a]=null;break;case ae.AttributeValue:var h,d=t.getTokenText();(h=i.attributes)&&a&&(h[a]=d,a=null)}s=t.scan()}for(;i.parent;)i.end=e.length,i.closed=!1,i=i.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}var ze={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function We(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function De(e,t){for(var n="";t>0;)1==(1&t)&&(n+=e),e+=e,t>>>=1;return n}var Oe="a".charCodeAt(0),Pe="z".charCodeAt(0),qe="A".charCodeAt(0),Fe="Z".charCodeAt(0),Be="0".charCodeAt(0),je="9".charCodeAt(0);function Ge(e,t){var n=e.charCodeAt(t);return Oe<=n&&n<=Pe||qe<=n&&n<=Fe||Be<=n&&n<=je}function Ve(e){return void 0!==e}var Ke=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name.toLowerCase()]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t},e.prototype.provideValues=function(e,t){var n=this,i=[];t=t.toLowerCase();var r=function(e){e.forEach((function(e){e.name.toLowerCase()===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))},o=this._tagMap[e.toLowerCase()];return o?(r(o.attributes),r(this._globalAttributes),i):[]},e}();function Ye(e,t){var n={kind:t?"markdown":"plaintext",value:""};if(e.description){var i=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);i&&(n.value+=i.value)}if(e.references&&e.references.length>0&&(n.value+="\n\n",n.value+=t?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),""!==n.value)return n}var $e=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},Je=function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Qe=function(){function e(e){this.readDirectory=e,this.atributeCompletions=[]}return e.prototype.onHtmlAttributeValue=function(e){(function(e,t){var n=tt[e];if(n)return"string"==typeof n?n===t:-1!==n.indexOf(t);return!1})(e.tag,e.attribute)&&this.atributeCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return $e(this,void 0,void 0,(function(){var n,i,r,o,a,l,c,h,d,u;return Je(this,(function(p){switch(p.label){case 0:n={items:[],isIncomplete:!1},i=0,r=this.atributeCompletions,p.label=1;case 1:return i<r.length?(o=r[i],function(e){if(We(e,"http")||We(e,"https")||We(e,"//"))return!1;return!0}(a=function(e){return We(e,"'")||We(e,'"')?e.slice(1,-1):e}(e.getText(o.range)))?"."!==a&&".."!==a?[3,2]:(n.isIncomplete=!0,[3,4]):[3,4]):[3,5];case 2:return l=function(e,t,n){var i,r=e.lastIndexOf("/");if(-1===r)i=function(e,t,n){var i=et(e.start,t),r=et(e.end,n);return s.create(i,r)}(n,1,-1);else{var o=t.slice(r+1),a=et(n.end,-1-o.length),l=o.indexOf(" "),c=void 0;c=-1!==l?et(a,l):et(n.end,-1),i=s.create(a,c)}return i}(o.value,a,o.range),[4,this.providePathSuggestions(o.value,l,e,t)];case 3:for(c=p.sent(),h=0,d=c;h<d.length;h++)u=d[h],n.items.push(u);p.label=4;case 4:return i++,[3,1];case 5:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,i){return $e(this,void 0,void 0,(function(){var r,o,a,s,l,c,h,d,u;return Je(this,(function(p){switch(p.label){case 0:if(r=e.substring(0,e.lastIndexOf("/")+1),!(o=i.resolveReference(r||".",n.uri)))return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),a=[],[4,this.readDirectory(o)];case 2:for(s=p.sent(),l=0,c=s;l<c.length;l++)h=c[l],d=h[0],u=h[1],d.charCodeAt(0)!==Xe&&a.push(Ze(d,u===ce.Directory,t));return[2,a];case 3:return p.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Xe=".".charCodeAt(0);function Ze(e,t,n){return t?{label:e+="/",kind:I.Folder,textEdit:y.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:e,kind:I.File,textEdit:y.replace(n,e)}}function et(e,t){return a.create(e.line,e.character+t)}var tt={a:"href",area:"href",body:"background",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},nt=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},it=function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},rt=o(),ot=function(){function e(e,t){this.lsOptions=e,this.dataManager=t,this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,i,r){return nt(this,void 0,void 0,(function(){var o,a,s,l;return it(this,(function(c){switch(c.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n,r)];o=new Qe(this.lsOptions.fileSystemProvider.readDirectory),a=this.completionParticipants,this.completionParticipants=[o].concat(a),s=this.doComplete(e,t,n,r),c.label=1;case 1:return c.trys.push([1,,3,4]),[4,o.computeCompletions(e,i)];case 2:return l=c.sent(),[2,{isIncomplete:s.isIncomplete||l.isIncomplete,items:l.items.concat(s.items)}];case 3:return this.completionParticipants=a,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n,i){var r=this._doComplete(e,t,n,i);return this.convertCompletionList(r)},e.prototype._doComplete=function(e,t,n,i){var r={isIncomplete:!1,items:[]},o=this.completionParticipants,l=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)&&(!i||!1!==i[t.getId()])})),c=this.doesSupportMarkdown(),h=e.getText(),d=e.offsetAt(t),u=n.findNodeBefore(d);if(!u)return r;var p,m=Me(h,u.start),f="";function g(t,n){return void 0===n&&(n=d),t>d&&(t=d),{start:e.positionAt(t),end:e.positionAt(n)}}function b(e,t){var n=g(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:e.name,kind:I.Property,documentation:Ye(e,c),textEdit:y.replace(n,e.name),insertTextFormat:U.PlainText})}))})),r}function _(e){for(var t=e;t>0;){var n=h.charAt(t-1);if("\n\r".indexOf(n)>=0)return h.substring(t,e);if(!at(n))return null;t--}return h.substring(0,e)}function w(e,t,n){void 0===n&&(n=d);var i=g(e,n),o=st(h,n,se.WithinEndTag,ae.EndTagClose)?"":">",a=u;for(t&&(a=a.parent);a;){var s=a.tag;if(s&&(!a.closed||a.endTagStart&&a.endTagStart>d)){var p={label:"/"+s,kind:I.Property,filterText:"/"+s,textEdit:y.replace(i,"/"+s+o),insertTextFormat:U.PlainText},m=_(a.start),f=_(e-1);if(null!==m&&null!==f&&m!==f){var b=m+"</"+s+o;p.textEdit=y.replace(g(e-1-f.length),b),p.filterText=f+"</"+s}return r.items.push(p),r}a=a.parent}return t||l.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:"/"+e.name,kind:I.Property,documentation:Ye(e,c),filterText:"/"+e+o,textEdit:y.replace(i,"/"+e+o),insertTextFormat:U.PlainText})}))})),r}function v(t,n){if(i&&i.hideAutoCompleteProposals)return r;if(!Ue(n)){var o=e.positionAt(t);r.items.push({label:"</"+n+">",kind:I.Property,filterText:"</"+n+">",textEdit:y.insert(o,"$0</"+n+">"),insertTextFormat:U.Snippet})}return r}function T(e,t){return b(e,t),w(e,!0,t),r}function k(e,t){void 0===t&&(t=d);for(var i=d;i<t&&"<"!==h[i];)i++;var o=g(e,i),a=st(h,t,se.AfterAttributeName,ae.DelimiterAssign)?"":'="$1"',s=Object.create(null);return l.forEach((function(e){e.provideAttributes(f).forEach((function(e){if(!s[e.name]){s[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&a.length&&(n+=a,(e.valueSet||"style"===e.name)&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),r.items.push({label:e.name,kind:"handler"===e.valueSet?I.Function:I.Value,documentation:Ye(e,c),textEdit:y.replace(o,n),insertTextFormat:U.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!We(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return r.items.push({label:t,kind:I.Value,textEdit:y.replace(e,i[t]),insertTextFormat:U.Snippet})}))}(o,s),r}function S(n,i){var a,s,u,m;if(void 0===i&&(i=d),d>n&&d<=i&&(m=h[n],/^["']*$/.test(m))){var b=n+1,_=i;i>n&&h[i-1]===h[n]&&_--;var w=function(e,t,n){for(;t>n&&!at(e[t-1]);)t--;return t}(h,d,b),v=function(e,t,n){for(;t<n&&!at(e[t]);)t++;return t}(h,d,_);a=g(w,v),u=d>=b&&d<=_?h.substring(b,d):"",s=!1}else a=g(n,i),u=h.substring(n,d),s=!0;if(o.length>0)for(var T=f.toLowerCase(),k=p.toLowerCase(),S=g(n,i),x=0,L=o;x<L.length;x++){var E=L[x];E.onHtmlAttributeValue&&E.onHtmlAttributeValue({document:e,position:t,tag:T,attribute:k,value:u,range:S})}return l.forEach((function(e){e.provideValues(f,p).forEach((function(e){var t=s?'"'+e.name+'"':e.name;r.items.push({label:e.name,filterText:t,kind:I.Unit,documentation:Ye(e,c),textEdit:y.replace(a,t),insertTextFormat:U.PlainText})}))})),C(),r}function x(e){return d===m.getTokenEnd()&&(A=m.scan())===e&&m.getTokenOffset()===d?m.getTokenEnd():d}function L(){for(var n=0,i=o;n<i.length;n++){var r=i[n];r.onHtmlContent&&r.onHtmlContent({document:e,position:t})}return C()}function C(){for(var e,n,i,o=d-1,l=t.character;o>=0&&Ge(h,o);)o--,l--;if(o>=0&&"&"===h[o]){var c=s.create(a.create(t.line,l-1),t);for(var u in ze)if(n=";",i=void 0,(i=(e=u).length-n.length)>0?e.lastIndexOf(n)===i:0===i&&e===n){var p="&"+u;r.items.push({label:p,kind:I.Keyword,documentation:rt("entity.propose","Character entity representing '"+ze[u]+"'"),textEdit:y.replace(c,p),insertTextFormat:U.PlainText})}}return r}for(var E,A=m.scan();A!==ae.EOS&&m.getTokenOffset()<=d;){switch(A){case ae.StartTagOpen:if(m.getTokenEnd()===d){var M=x(ae.StartTag);return 0===t.line&&(E=void 0,E=g(d,M),r.items.push({label:"!DOCTYPE",kind:I.Property,documentation:"A preamble for an HTML document.",textEdit:y.replace(E,"!DOCTYPE html>"),insertTextFormat:U.PlainText})),T(d,M)}break;case ae.StartTag:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return b(m.getTokenOffset(),m.getTokenEnd());f=m.getTokenText();break;case ae.AttributeName:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return k(m.getTokenOffset(),m.getTokenEnd());p=m.getTokenText();break;case ae.DelimiterAssign:if(m.getTokenEnd()===d){M=x(ae.AttributeValue);return S(d,M)}break;case ae.AttributeValue:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return S(m.getTokenOffset(),m.getTokenEnd());break;case ae.Whitespace:if(d<=m.getTokenEnd())switch(m.getScannerState()){case se.AfterOpeningStartTag:return T(m.getTokenOffset(),x(ae.StartTag));case se.WithinTag:case se.AfterAttributeName:return k(m.getTokenEnd());case se.BeforeAttributeValue:return S(m.getTokenEnd());case se.AfterOpeningEndTag:return w(m.getTokenOffset()-1,!1);case se.WithinContent:return L()}break;case ae.EndTagOpen:if(d<=m.getTokenEnd())return w(m.getTokenOffset()+1,!1,x(ae.EndTag));break;case ae.EndTag:if(d<=m.getTokenEnd())for(var R=m.getTokenOffset()-1;R>=0;){var N=h.charAt(R);if("/"===N)return w(R,!1,m.getTokenEnd());if(!at(N))break;R--}break;case ae.StartTagClose:if(d<=m.getTokenEnd()&&f)return v(m.getTokenEnd(),f);break;case ae.Content:if(d<=m.getTokenEnd())return L();break;default:if(d<=m.getTokenEnd())return r}A=m.scan()}return r},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var r=e.getText().charAt(i-1);if(">"===r){if((a=n.findNodeBefore(i))&&a.tag&&!Ue(a.tag)&&a.start<i&&(!a.endTagStart||a.endTagStart>i))for(var o=(s=Me(e.getText(),a.start)).scan();o!==ae.EOS&&s.getTokenEnd()<=i;){if(o===ae.StartTagClose&&s.getTokenEnd()===i)return"$0</"+a.tag+">";o=s.scan()}}else if("/"===r){for(var a=n.findNodeBefore(i);a&&a.closed;)a=a.parent;if(a&&a.tag){var s;for(o=(s=Me(e.getText(),a.start)).scan();o!==ae.EOS&&s.getTokenEnd()<=i;){if(o===ae.EndTagOpen&&s.getTokenEnd()===i)return a.tag+">";o=s.scan()}}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!Ve(this.supportsMarkdown)){if(!Ve(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(M.Markdown)}return this.supportsMarkdown},e}();function at(e){return/^\s*$/.test(e)}function st(e,t,n,i){for(var r=Me(e,t,n),o=r.scan();o===ae.Whitespace;)o=r.scan();return o===i}var lt=function(){function e(e,t){this.lsOptions=e,this.dataManager=t}return e.prototype.doHover=function(e,t,n){var i=this.convertContents.bind(this),r=this.doesSupportMarkdown(),o=e.offsetAt(t),a=n.findNodeAt(o);if(!a||!a.tag)return null;var s=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)}));function l(e,t,n){for(var o=function(n){var o=null;if(n.provideTags().forEach((function(n){if(n.name.toLowerCase()===e.toLowerCase()){var i=Ye(n,r);i||(i={kind:r?"markdown":"plaintext",value:""}),o={contents:i,range:t}}})),o)return o.contents=i(o.contents),{value:o}},a=0,l=s;a<l.length;a++){var c=o(l[a]);if("object"==typeof c)return c.value}return null}function c(t,n){for(var i=Me(e.getText(),n),r=i.scan();r!==ae.EOS&&(i.getTokenEnd()<o||i.getTokenEnd()===o&&r!==t);)r=i.scan();return r===t&&o<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(a.endTagStart&&o>=a.endTagStart){var h=c(ae.EndTag,a.endTagStart);return h?l(a.tag,h):null}var d=c(ae.StartTag,a.start);if(d)return l(a.tag,d);var u=c(ae.AttributeName,a.start);if(u)return function(e,t,n){for(var o=function(o){var a=null;if(o.provideAttributes(e).forEach((function(e){if(t===e.name&&e.description){var i=Ye(e,r);a=i?{contents:i,range:n}:null}})),a)return a.contents=i(a.contents),{value:a}},a=0,l=s;a<l.length;a++){var c=o(l[a]);if("object"==typeof c)return c.value}return null}(m=a.tag,e.getText(u),u);var p=c(ae.AttributeValue,a.start);if(p){var m=a.tag,f=function(e){if(e.length<=1)return e.replace(/['"]/,"");"'"!==e[0]&&'"'!==e[0]||(e=e.slice(1));"'"!==e[e.length-1]&&'"'!==e[e.length-1]||(e=e.slice(0,-1));return e}(e.getText(p)),g=function(t,n){for(var i=Me(e.getText(),t),r=i.scan(),o=void 0;r!==ae.EOS&&i.getTokenEnd()<=n;)(r=i.scan())===ae.AttributeName&&(o=i.getTokenText());return o}(a.start,e.offsetAt(p.start));if(g)return function(e,t,n,o){for(var a=function(a){var s=null;if(a.provideValues(e,t).forEach((function(e){if(n===e.name&&e.description){var t=Ye(e,r);s=t?{contents:t,range:o}:null}})),s)return s.contents=i(s.contents),{value:s}},l=0,c=s;l<c.length;l++){var h=a(c[l]);if("object"==typeof h)return h.value}return null}(m,g,f,p)}return null},e.prototype.convertContents=function(e){if(!this.doesSupportMarkdown()){if("string"==typeof e)return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(!Array.isArray(e))return e.value;e.map((function(e){return"string"==typeof e?e:e.value}))}return e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!Ve(this.supportsMarkdown)){if(!Ve(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities)||void 0===e?void 0:e.textDocument)||void 0===t?void 0:t.hover)||void 0===n?void 0:n.contentFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(M.Markdown)}return this.supportsMarkdown},e}();function ct(e,t){return e}var ht=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},,,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,r=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(17).Options,r=n(2).Output,o=n(8).InputScanner,a=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,h=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=!0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&s.test(e||"")&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new o(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,f=!1,g=!1,b=!1,_=!1,w=!1,v=this._ch;i=""!==this._input.read(h),p=v,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),v=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(d),T=a.get_directives(y);T&&"start"===T.ignore&&(y+=a.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s$/,""),this.print_string(k),this._output.space_before_token=!0),"extend"===(k=k.replace(/\s$/,""))?_=!0:"import"===k&&(w=!0),k in this.NESTED_AT_RULE?(this._nestedLevel+=1,k in this.CONDITIONAL_GROUP_RULE&&(b=!0)):f||0!==m||-1===k.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),b?(b=!1,f=this._indentLevel>this._nestedLevel):f=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),w=!1,_=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(g&&(this.outdent(),g=!1),_=!1,w=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==m||w?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}r.prototype=new i,e.exports.Options=r}]),dt=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},function(e,t,n){var i=n(8).InputScanner,r=n(3).Token,o=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new o,this._reset();for(var t=new r(s.START,""),n=null,i=[],a=new o;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)a.add(e),e=this._get_next_token(t,n);a.isEmpty()||(e.comments_before=a,a=new o),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new r(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=s},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function r(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},r.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],r=e.exec(t);r;)i.push(t.substring(n,r.index)),n=r.index+r[0].length,r=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=r},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function o(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}o.prototype=new i,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},o.prototype.read_options=function(e){var t=this._create();for(var n in r)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},o.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},o.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},o.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},o.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=o},,,,function(e,t,n){var i=n(19).Beautifier,r=n(20).Options;e.exports=function(e,t,n,r){return new i(e,t,n,r).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(20).Options,r=n(2).Output,o=n(21).Tokenizer,a=n(21).TOKEN,s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new r(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==a.TEXT&&e.previous.type!==a.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var h=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==a.EOF&&e.closed!==n;){if(n.type===a.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===a.EQUALS&&n.next.next&&n.next.next.type===a.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function d(e,t){return-1!==t.indexOf(e)}function u(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,r){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var o=new i(t,"html");this._options=o,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&s.test(e)&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},r=new f,h=new c(this._options,n),d=new o(e,this._options).tokenize();this._tag_stack=new p(h);for(var u=null,m=d.next();m.type!==a.EOF;)m.type===a.TAG_OPEN||m.type===a.COMMENT?r=u=this._handle_tag_open(h,m,r,i):m.type===a.ATTRIBUTE||m.type===a.EQUALS||m.type===a.VALUE||m.type===a.TEXT&&!r.tag_complete?u=this._handle_inside_tag(h,m,r,d):m.type===a.TAG_CLOSE?u=this._handle_tag_close(h,m,r):m.type===a.TEXT?u=this._handle_text(h,m,r):h.add_raw_token(m),i=u,m=d.next();return h._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var r=n.has_wrapped_attrs,o={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===a.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===a.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===a.EQUALS||t.type===a.VALUE&&t.previous.type===a.EQUALS)&&e.set_space_before_token(!1),t.type===a.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),r=r||0!==t.newlines),this._is_wrap_attributes_force)){var s=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,h=0;do{if((l=i.peek(h)).type===a.ATTRIBUTE){c=!1;break}h+=1}while(h<4&&l.type!==a.EOF&&l.type!==a.TAG_CLOSE);s=!c}s&&(e.print_newline(!1),r=!0)}e.print_token(t),r=r||e.previous_token_wrapped(),n.has_wrapped_attrs=r}return o},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var r,o=t.text,a=1,s="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?a=0:"separate"===this._options.indent_scripts&&(a=-e.indent_level);var c=e.get_full_indent(a);if(o=o.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===o[0]&&o.match(/^(<!--|<!\[CDATA\[)/)){var h=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(o);if(!h)return void e.add_raw_token(t);s=c+h[1]+"\n",o=h[4],h[5]&&(l=c+h[5]),o=o.replace(/\n[ \t]*$/,""),(h[2]||-1!==h[3].indexOf("\n"))&&(h=h[3].match(/[ \t]+$/))&&(t.whitespace_before=h[0])}if(o)if(r){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,o=r(c+o,new d)}else{var u=t.whitespace_before;u&&(o=o.replace(new RegExp("\n("+u+")?","g"),"\n")),o=c+o.replace(/\n/g,"\n"+c)}s&&(o=o?s+o+"\n"+l:s+l),e.print_newline(!1),o&&(t.text=o,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var r=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===a.TAG_OPEN&&0===t.text.indexOf("</")?(e.add_raw_token(t),r.start_tag_token=this._tag_stack.try_pop(r.tag_name)):(e.traverse_whitespace(t),this._set_tag_position(e,t,r,n,i),r.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=t.text.length+1),r.tag_complete||r.is_unformatted||(e.alignment_size=r.alignment_size),r};var f=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===t.text&&">"===this.tag_check&&null!==t.next&&(this.tag_check=t.next.text)),this.tag_check=this.tag_check.toLowerCase(),t.type===a.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new f(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||d(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&d(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&d(t.tag_check,this._options.content_unformatted),t.is_inline_element=d(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=h(n.tag_check,t)))),d(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&r.type===a.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||r.type===a.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===r.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===r.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))};var g=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],b=["a","audio","del","ins","map","noscript","video"];m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==g.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==b.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,e.exports.Options=r},function(e,t,n){var i=n(9).Tokenizer,r=n(9).TOKEN,o=n(13).Directives,a=n(14).TemplatablePattern,s=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new o(/<\!--/,/-->/),h=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new a(this._input).read_options(this._options),r=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(o).until_after(o)}};(h.prototype=new i)._is_comment=function(e){return!1},h.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},h.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},h.prototype._reset=function(){this._current_tag_name=""},h.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(i,e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},h.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i));return t},h.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},h.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},h.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},h.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},h.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var o=this._input.next();o+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,o)}else(r=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},h.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},h.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]){var r=t.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var o=this._read_comment_or_cdata(e);if(o)return o.type=l.TEXT,o;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},h.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=h,e.exports.TOKEN=l}]);function ut(e,t,n){var i=e.getText(),r=!0,o=0,l=n.tabSize||4;if(t){for(var c=e.offsetAt(t.start),h=c;h>0&>(i,h-1);)h--;0===h||ft(i,h-1)?c=h:h<c&&(c=h+1);for(var d=e.offsetAt(t.end),u=d;u<i.length&>(i,u);)u++;(u===i.length||ft(i,u))&&(d=u),t=s.create(e.positionAt(c),e.positionAt(d));var p=i.substring(0,c);if(new RegExp(/.*[<][^>]*$/).test(p))return[{range:t,newText:i=i.substring(c,d)}];if(r=d===i.length,i=i.substring(c,d),0!==c){var m=e.offsetAt(a.create(t.start.line,0));o=function(e,t,n){var i=t,r=0,o=n.tabSize||4;for(;i<e.length;){var a=e.charAt(i);if(" "===a)r++;else{if("\t"!==a)break;r+=o}i++}return Math.floor(r/o)}(e.getText(),m,n)}}else t=s.create(a.create(0,0),e.positionAt(i.length));var f={indent_size:l,indent_char:n.insertSpaces?" ":"\t",indent_empty_lines:pt(n,"indentEmptyLines",!1),wrap_line_length:pt(n,"wrapLineLength",120),unformatted:mt(n,"unformatted",void 0),content_unformatted:mt(n,"contentUnformatted",void 0),indent_inner_html:pt(n,"indentInnerHtml",!1),preserve_newlines:pt(n,"preserveNewLines",!0),max_preserve_newlines:pt(n,"maxPreserveNewLines",32786),indent_handlebars:pt(n,"indentHandlebars",!1),end_with_newline:r&&pt(n,"endWithNewline",!1),extra_liners:mt(n,"extraLiners",void 0),wrap_attributes:pt(n,"wrapAttributes","auto"),wrap_attributes_indent_size:pt(n,"wrapAttributesIndentSize",void 0),eol:"\n"},g=function(e,t){return dt(e,t,ct,ht)}(i.replace(/^\s+/,""),f);if(o>0){var b=n.insertSpaces?De(" ",l*o):De("\t",o);g=g.split("\n").join("\n"+b),0===t.start.character&&(g=b+g)}return[{range:t,newText:g}]}function pt(e,t,n){if(e&&e.hasOwnProperty(t)){var i=e[t];if(null!==i)return i}return n}function mt(e,t,n){var i=pt(e,t,null);return"string"==typeof i?i.length>0?i.split(",").map((function(e){return e.trim().toLowerCase()})):[]:n}function ft(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function gt(e,t){return-1!==" \t".indexOf(e.charAt(t))}var bt=n(176);function _t(e){var t=e[0];return t!==e[e.length-1]||"'"!==t&&'"'!==t||(e=e.substr(1,e.length-2)),e}function wt(e,t,n,i,r,o){var a=_t(n);if(l=a,c=e.languageId,l.length&&("handlebars"!==c||!/{{.*}}/.test(l))&&/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(l)){var l,c;a.length<n.length&&(i++,r--);var h=function(e,t,n,i){if(!/^\s*javascript\:/i.test(t)&&!/[\n\r]/.test(t))return t=t.replace(/^\s*/g,""),/^https?:\/\//i.test(t)||/^file:\/\//i.test(t)?t:/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(We(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}(e.uri,a,t,o);if(h&&function(e){try{return bt.a.parse(e),!0}catch(e){return!1}}(h))return{range:s.create(e.positionAt(i),e.positionAt(r)),target:h}}}function vt(e,t){for(var n=[],i=Me(e.getText(),0),r=i.scan(),o=void 0,a=!1,s=void 0,l={};r!==ae.EOS;){switch(r){case ae.StartTag:if(!s)a="base"===i.getTokenText().toLowerCase();break;case ae.AttributeName:o=i.getTokenText().toLowerCase();break;case ae.AttributeValue:if("src"===o||"href"===o){var c=i.getTokenText();if(!a)(u=wt(e,t,c,i.getTokenOffset(),i.getTokenEnd(),s))&&n.push(u);a&&void 0===s&&(s=_t(c))&&t&&(s=t.resolveReference(s,e.uri)),a=!1,o=void 0}else if("id"===o){l[_t(i.getTokenText())]=i.getTokenOffset()}}r=i.scan()}for(var h=0,d=n;h<d.length;h++){var u=d[h],p=e.uri+"#";if(u.target&&We(u.target,p)){var m=l[u.target.substr(p.length)];if(void 0!==m){var f=e.positionAt(m);u.target=""+p+(f.line+1)+","+(f.character+1)}}}return n}function yt(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];var o=[],a=St(ae.StartTag,e,r.start),s="number"==typeof r.endTagStart&&St(ae.EndTag,e,r.endTagStart);return(a&&kt(a,t)||s&&kt(s,t))&&(a&&o.push({kind:F.Read,range:a}),s&&o.push({kind:F.Read,range:s})),o}function Tt(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function kt(e,t){return Tt(e.start,t)&&Tt(t,e.end)}function St(e,t,n){for(var i=Me(t.getText(),n),r=i.scan();r!==ae.EOS&&r!==e;)r=i.scan();return r!==ae.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function xt(e,t){var n=[];return t.roots.forEach((function(t){!function e(t,n,i,r){var o=function(e){var t=e.tag;if(e.attributes){var n=e.attributes.id,i=e.attributes.class;n&&(t+="#"+n.replace(/[\"\']/g,"")),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map((function(e){return"."+e})).join(""))}return t||"?"}(n),a=l.create(t.uri,s.create(t.positionAt(n.start),t.positionAt(n.end))),c={name:o,location:a,containerName:i,kind:j.Field};r.push(c),n.children.forEach((function(n){e(t,n,o,r)}))}(e,t,"",n)})),n}function Lt(e,t,n,i){var r,o=e.offsetAt(t),a=i.findNodeAt(o);if(!a.tag)return null;if(!function(e,t,n){if(e.endTagStart&&e.endTagStart+"</".length<=t&&t<=e.endTagStart+"</".length+n.length)return!0;return e.start+"<".length<=t&&t<=e.start+"<".length+n.length}(a,o,a.tag))return null;var s=[],l={start:e.positionAt(a.start+"<".length),end:e.positionAt(a.start+"<".length+a.tag.length)};if(s.push({range:l,newText:n}),a.endTagStart){var c={start:e.positionAt(a.endTagStart+"</".length),end:e.positionAt(a.endTagStart+"</".length+a.tag.length)};s.push({range:c,newText:n})}return{changes:((r={})[e.uri.toString()]=s,r)}}function Ct(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return null;if(!r.endTagStart)return null;if(r.start+"<".length<=i&&i<=r.start+"<".length+r.tag.length){var o=i-"<".length-r.start+r.endTagStart+"</".length;return e.positionAt(o)}if(r.endTagStart+"</".length<=i&&i<=r.endTagStart+"</".length+r.tag.length){o=i-"</".length-r.endTagStart+r.start+"<".length;return e.positionAt(o)}return null}function Et(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i),o=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+"<".length<=i&&i<=r.start+"<".length+o||r.endTagStart+"</".length<=i&&i<=r.endTagStart+"</".length+o)?[s.create(e.positionAt(r.start+"<".length),e.positionAt(r.start+"<".length+o)),s.create(e.positionAt(r.endTagStart+"</".length),e.positionAt(r.endTagStart+"</".length+o))]:null}function At(e,t){var n=Me(e.getText()),i=n.scan(),r=[],o=[],a=null,s=-1;function l(e){r.push(e),s=e.startLine}for(;i!==ae.EOS;){switch(i){case ae.StartTag:var c=n.getTokenText(),h=e.positionAt(n.getTokenOffset()).line;o.push({startLine:h,tagName:c}),a=c;break;case ae.EndTag:a=n.getTokenText();break;case ae.StartTagClose:if(!a||!Ue(a))break;case ae.EndTagClose:case ae.StartTagSelfClose:for(var d=o.length-1;d>=0&&o[d].tagName!==a;)d--;if(d>=0){var u=o[d];o.length=d,(f=e.positionAt(n.getTokenOffset()).line-1)>(h=u.startLine)&&s!==h&&l({startLine:h,endLine:f})}break;case ae.Comment:h=e.positionAt(n.getTokenOffset()).line;var m=n.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(m)if(m[1])o.push({startLine:h,tagName:""});else{for(d=o.length-1;d>=0&&o[d].tagName.length;)d--;if(d>=0){var f;u=o[d];o.length=d,(f=h)>(h=u.startLine)&&s!==h&&l({startLine:h,endLine:f,kind:p.Region})}}else h<(f=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line)&&l({startLine:h,endLine:f,kind:p.Comment})}i=n.scan()}var g=t&&t.rangeLimit||Number.MAX_VALUE;return r.length>g?function(e,t){e=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n}));for(var n=void 0,i=[],r=[],o=[],a=function(e,t){r[e]=t,t<30&&(o[t]=(o[t]||0)+1)},s=0;s<e.length;s++){var l=e[s];if(n){if(l.startLine>n.startLine)if(l.endLine<=n.endLine)i.push(n),n=l,a(s,i.length);else if(l.startLine>n.endLine){do{n=i.pop()}while(n&&l.startLine>n.endLine);n&&i.push(n),n=l,a(s,i.length)}}else n=l,a(s,0)}var c=0,h=0;for(s=0;s<o.length;s++){var d=o[s];if(d){if(d+c>t){h=s;break}c+=d}}var u=[];for(s=0;s<e.length;s++){var p=r[s];"number"==typeof p&&(p<h||p===h&&c++<t)&&u.push(e[s])}return u}(r,g):r}function Mt(e,t){return t.map((function(t){for(var n=function(e,t){var n=He(e.getText()),i=e.offsetAt(t),r=n.findNodeAt(i),o=function(e){var t=e,n=[];for(;t.parent;)t=t.parent,(i=t,i.startTagEnd&&i.endTagStart&&i.startTagEnd<i.endTagStart?[[i.startTagEnd,i.endTagStart],[i.start,i.end]]:[[i.start,i.end]]).forEach((function(e){return n.push(e)}));var i;return n}(r);if(r.startTagEnd&&!r.endTagStart){if(r.startTagEnd!==r.end)return[[r.start,r.end]];var a=s.create(e.positionAt(r.startTagEnd-2),e.positionAt(r.startTagEnd));"/>"===e.getText(a)?o.unshift([r.start+1,r.startTagEnd-2]):o.unshift([r.start+1,r.startTagEnd-1]);var l=Rt(e,r,i);return o=l.concat(o)}if(!r.startTagEnd||!r.endTagStart)return o;if(o.unshift([r.start,r.end]),r.start<i&&i<r.startTagEnd){o.unshift([r.start+1,r.startTagEnd-1]);l=Rt(e,r,i);return o=l.concat(o)}return r.startTagEnd<=i&&i<=r.endTagStart?(o.unshift([r.startTagEnd,r.endTagStart]),o):(i>=r.endTagStart+2&&o.unshift([r.endTagStart+2,r.end-1]),o)}(e,t),i=void 0,r=void 0,o=n.length-1;o>=0;o--){var a=n[o];i&&a[0]===i[0]&&a[1]===i[1]||(r=ee.create(s.create(e.positionAt(n[o][0]),e.positionAt(n[o][1])),r)),i=a}return r||(r=ee.create(s.create(t,t))),r}))}function Rt(e,t,n){for(var i=s.create(e.positionAt(t.start),e.positionAt(t.end)),r=e.getText(i),o=n-t.start,a=Me(r),l=a.scan(),c=t.start,h=[],d=!1,u=-1;l!==ae.EOS;){switch(l){case ae.AttributeName:if(o<a.getTokenOffset()){d=!1;break}o<=a.getTokenEnd()&&h.unshift([a.getTokenOffset(),a.getTokenEnd()]),d=!0,u=a.getTokenOffset();break;case ae.AttributeValue:if(!d)break;var p=a.getTokenText();if(o<a.getTokenOffset()){h.push([u,a.getTokenEnd()]);break}o>=a.getTokenOffset()&&o<=a.getTokenEnd()&&(h.unshift([a.getTokenOffset(),a.getTokenEnd()]),('"'===p[0]&&'"'===p[p.length-1]||"'"===p[0]&&"'"===p[p.length-1])&&o>=a.getTokenOffset()+1&&o<=a.getTokenEnd()-1&&h.unshift([a.getTokenOffset()+1,a.getTokenEnd()-1]),h.push([u,a.getTokenEnd()]))}l=a.scan()}return h.map((function(e){return[e[0]+c,e[1]+c]}))}var It={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]},Ut=function(){function e(e){this.dataProviders=[],this.setDataProviders(!1!==e.useDefaultDataProvider,e.customDataProviders||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new Ke("html5",It)),(n=this.dataProviders).push.apply(n,t)},e.prototype.getDataProviders=function(){return this.dataProviders},e}(),Nt={};function Ht(e){void 0===e&&(e=Nt);var t=new Ut(e),n=new lt(e,t),i=new ot(e,t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:Me,parseHTMLDocument:function(e){return He(e.getText())},doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:ut,findDocumentHighlights:yt,findDocumentLinks:vt,findDocumentSymbols:xt,getFoldingRanges:At,getSelectionRanges:Mt,doTagComplete:i.doTagComplete.bind(i),doRename:Lt,findMatchingTagPosition:Ct,findOnTypeRenameRanges:Et}}},346:function(e,t,n){"use strict";n.r(t);var i=n(131),r=n(31),o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},s=function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=r.h()}return e.prototype.doValidation=function(e){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,Promise.resolve([])]}))}))},e.prototype.doComplete=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return s(this,(function(r){return n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),[2,Promise.resolve(this._languageService.doComplete(n,t,i,this._languageSettings&&this._languageSettings.suggest))]}))}))},e.prototype.format=function(e,t,n){return a(this,void 0,void 0,(function(){var i,r,a;return s(this,(function(s){return i=this._getTextDocument(e),r=o(o({},this._languageSettings.format),n),a=this._languageService.format(i,t,r),[2,Promise.resolve(a)]}))}))},e.prototype.doHover=function(e,t){return a(this,void 0,void 0,(function(){var n,i,r;return s(this,(function(o){return n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),r=this._languageService.doHover(n,t,i),[2,Promise.resolve(r)]}))}))},e.prototype.findDocumentHighlights=function(e,t){return a(this,void 0,void 0,(function(){var n,i,r;return s(this,(function(o){return n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentHighlights(n,t,i),[2,Promise.resolve(r)]}))}))},e.prototype.findDocumentLinks=function(e){return a(this,void 0,void 0,(function(){var t,n;return s(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.findDocumentLinks(t,null),[2,Promise.resolve(n)]}))}))},e.prototype.findDocumentSymbols=function(e){return a(this,void 0,void 0,(function(){var t,n,i;return s(this,(function(r){return t=this._getTextDocument(e),n=this._languageService.parseHTMLDocument(t),i=this._languageService.findDocumentSymbols(t,n),[2,Promise.resolve(i)]}))}))},e.prototype.getFoldingRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return s(this,(function(r){return n=this._getTextDocument(e),i=this._languageService.getFoldingRanges(n,t),[2,Promise.resolve(i)]}))}))},e.prototype.getSelectionRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return s(this,(function(r){return n=this._getTextDocument(e),i=this._languageService.getSelectionRanges(n,t),[2,Promise.resolve(i)]}))}))},e.prototype.doRename=function(e,t,n){return a(this,void 0,void 0,(function(){var i,r,o;return s(this,(function(a){return i=this._getTextDocument(e),r=this._languageService.parseHTMLDocument(i),o=this._languageService.doRename(i,t,n,r),[2,Promise.resolve(o)]}))}))},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var i=n[t];if(i.uri.toString()===e)return r.g.create(e,this._languageId,i.version,i.getValue())}return null},e}();self.onmessage=function(){i.initialize((function(e,t){return new l(e,t)}))}},36:function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function r(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}))},37:function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const i=[];if(0===n)return[i,t];const r=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=r.next();if(t.done)return[i,e.empty()];i.push(t.value)}return[i,{[Symbol.iterator]:()=>r}]}}(i||(i={}))},40:function(e,t,n){"use strict";var i,r,o,a,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k,S,x,L,C,E,A,M,R,I,U,N,H;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return g})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return w})),n.d(t,"r",(function(){return v})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return T})),n.d(t,"u",(function(){return k})),n.d(t,"v",(function(){return S})),n.d(t,"w",(function(){return x})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return E})),n.d(t,"A",(function(){return A})),n.d(t,"B",(function(){return M})),n.d(t,"C",(function(){return R})),n.d(t,"D",(function(){return I})),n.d(t,"E",(function(){return U})),n.d(t,"F",(function(){return N})),n.d(t,"G",(function(){return H})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(r||(r={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(a||(a={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(s||(s={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(h||(h={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(u||(u={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(p||(p={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(g||(g={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(b||(b={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(_||(_={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(w||(w={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(v||(v={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(y||(y={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(T||(T={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(k||(k={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(S||(S={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(x||(x={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(L||(L={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(C||(C={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(E||(E={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(A||(A={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(M||(M={})),function(e){e[e.Deprecated=1]="Deprecated"}(R||(R={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(I||(I={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(U||(U={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(N||(N={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(H||(H={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _})),n.d(t,"h",(function(){return w}));var i=n(28);class r extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const r=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${r} ${i} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new r(t,"string",e)}function a(e){return 47===e||92===e}function s(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,i){let r="",o=0,a=-1,s=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(i(l))break;l=47}if(i(l)){if(a===c-1||1===s);else if(2===s){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){const e=r.lastIndexOf(n);-1===e?(r="",o=0):(r=r.slice(0,e),o=r.length-1-r.lastIndexOf(n)),a=c,s=0;continue}if(0!==r.length){r="",o=0,a=c,s=0;continue}}t&&(r+=r.length>0?n+"..":"..",o=2)}else r.length>0?r+=`${n}${e.slice(a+1,c)}`:r=e.slice(a+1,c),o=c-a-1;a=c,s=0}else 46===l&&-1!==s?++s:s=-1}return r}function h(e,t){if(null===t||"object"!=typeof t)throw new r("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const d={resolve(...e){let t="",n="",r=!1;for(let s=e.length-1;s>=-1;s--){let c;if(s>=0){if(c=e[s],o(c,"path"),0===c.length)continue}else 0===t.length?c=i.a():(c=i.b["="+t]||i.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const h=c.length;let d=0,u="",p=!1;const m=c.charCodeAt(0);if(1===h)a(m)&&(d=1,p=!0);else if(a(m))if(p=!0,a(c.charCodeAt(1))){let e=2,t=e;for(;e<h&&!a(c.charCodeAt(e));)e++;if(e<h&&e!==t){const n=c.slice(t,e);for(t=e;e<h&&a(c.charCodeAt(e));)e++;if(e<h&&e!==t){for(t=e;e<h&&!a(c.charCodeAt(e));)e++;e!==h&&e===t||(u=`\\\\${n}\\${c.slice(t,e)}`,d=e)}}}else d=1;else l(m)&&58===c.charCodeAt(1)&&(u=c.slice(0,2),d=2,h>2&&a(c.charCodeAt(2))&&(p=!0,d=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(r){if(t.length>0)break}else if(n=`${c.slice(d)}\\${n}`,r=p,p&&t.length>0)break}return n=c(n,!r,"\\",a),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,i=0,r=!1;const h=e.charCodeAt(0);if(1===t)return s(h)?"\\":e;if(a(h))if(r=!0,a(e.charCodeAt(1))){let r=2,o=r;for(;r<t&&!a(e.charCodeAt(r));)r++;if(r<t&&r!==o){const s=e.slice(o,r);for(o=r;r<t&&a(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&!a(e.charCodeAt(r));)r++;if(r===t)return`\\\\${s}\\${e.slice(o)}\\`;r!==o&&(n=`\\\\${s}\\${e.slice(o,r)}`,i=r)}}}else i=1;else l(h)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),i=2,t>2&&a(e.charCodeAt(2))&&(r=!0,i=3));let d=i<t?c(e.slice(i),!r,"\\",a):"";return 0!==d.length||r||(d="."),d.length>0&&a(e.charCodeAt(t-1))&&(d+="\\"),void 0===n?r?"\\"+d:d:r?`${n}\\${d}`:`${n}${d}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return a(n)||t>2&&l(n)&&58===e.charCodeAt(1)&&a(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let i=0;i<e.length;++i){const r=e[i];o(r,"path"),r.length>0&&(void 0===t?t=n=r:t+="\\"+r)}if(void 0===t)return".";let i=!0,r=0;if("string"==typeof n&&a(n.charCodeAt(0))){++r;const e=n.length;e>1&&a(n.charCodeAt(1))&&(++r,e>2&&(a(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&a(t.charCodeAt(r));)r++;r>=2&&(t="\\"+t.slice(r))}return d.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=d.resolve(e),i=d.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let r=0;for(;r<e.length&&92===e.charCodeAt(r);)r++;let a=e.length;for(;a-1>r&&92===e.charCodeAt(a-1);)a--;const s=a-r;let l=0;for(;l<t.length&&92===t.charCodeAt(l);)l++;let c=t.length;for(;c-1>l&&92===t.charCodeAt(c-1);)c--;const h=c-l,u=s<h?s:h;let p=-1,m=0;for(;m<u;m++){const n=e.charCodeAt(r+m);if(n!==t.charCodeAt(l+m))break;92===n&&(p=m)}if(m!==u){if(-1===p)return i}else{if(h>u){if(92===t.charCodeAt(l+m))return i.slice(l+m+1);if(2===m)return i.slice(l+m)}s>u&&(92===e.charCodeAt(r+m)?p=m:2===m&&(p=3)),-1===p&&(p=0)}let f="";for(m=r+p+1;m<=a;++m)m!==a&&92!==e.charCodeAt(m)||(f+=0===f.length?"..":"\\..");return l+=p,f.length>0?`${f}${i.slice(l,c)}`:(92===i.charCodeAt(l)&&++l,i.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=d.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(1===t)return a(r)?e:".";if(a(r)){if(n=i=1,a(e.charCodeAt(1))){let r=2,o=r;for(;r<t&&!a(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&a(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&!a(e.charCodeAt(r));)r++;if(r===t)return e;r!==o&&(n=i=r+1)}}}}else l(r)&&58===e.charCodeAt(1)&&(n=t>2&&a(e.charCodeAt(2))?3:2,i=n);let s=-1,c=!0;for(let n=t-1;n>=i;--n)if(a(e.charCodeAt(n))){if(!c){s=n;break}}else c=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,i=0,r=-1,s=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(n=e.length-1;n>=i;--n){const c=e.charCodeAt(n);if(a(c)){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=l))}return i===r?r=l:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=i;--n)if(a(e.charCodeAt(n))){if(!s){i=n+1;break}}else-1===r&&(s=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){o(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=i=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(a(t)){if(!s){i=o+1;break}}else-1===r&&(s=!1,r=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===r||0===c||1===c&&n===r-1&&n===i+1?"":e.slice(n,r)},format:h.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(1===n)return a(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(a(r)){if(i=1,a(e.charCodeAt(1))){let t=2,r=t;for(;t<n&&!a(e.charCodeAt(t));)t++;if(t<n&&t!==r){for(r=t;t<n&&a(e.charCodeAt(t));)t++;if(t<n&&t!==r){for(r=t;t<n&&!a(e.charCodeAt(t));)t++;t===n?i=t:t!==r&&(i=t+1)}}}}else if(l(r)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(i=2,a(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let s=-1,c=i,h=-1,d=!0,u=e.length-1,p=0;for(;u>=i;--u)if(r=e.charCodeAt(u),a(r)){if(!d){c=u+1;break}}else-1===h&&(d=!1,h=u+1),46===r?-1===s?s=u:1!==p&&(p=1):-1!==s&&(p=-1);return-1!==h&&(-1===s||0===p||1===p&&s===h-1&&s===c+1?t.base=t.name=e.slice(c,h):(t.name=e.slice(c,s),t.base=e.slice(c,h),t.ext=e.slice(s,h))),t.dir=c>0&&c!==i?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},u={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const a=r>=0?e[r]:i.a();o(a,"path"),0!==a.length&&(t=`${a}/${t}`,n=47===a.charCodeAt(0))}return t=c(t,!n,"/",s),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",s)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];o(i,"path"),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":u.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=u.resolve(e))===(t=u.resolve(t)))return"";const n=e.length,i=n-1,r=t.length-1,a=i<r?i:r;let s=-1,l=0;for(;l<a;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;47===n&&(s=l)}if(l===a)if(r>a){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else i>a&&(47===e.charCodeAt(1+l)?s=l:0===l&&(s=0));let c="";for(l=1+s+1;l<=n;++l)l!==n&&47!==e.charCodeAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+s)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!i){n=t;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,i=0,r=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(47===l){if(!a){i=n+1;break}}else-1===s&&(a=!1,s=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=s))}return i===r?r=s:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){i=n+1;break}}else-1===r&&(a=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){o(e,"path");let t=-1,n=0,i=-1,r=!0,a=0;for(let o=e.length-1;o>=0;--o){const s=e.charCodeAt(o);if(47!==s)-1===i&&(r=!1,i=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!r){n=o+1;break}}return-1===t||-1===i||0===a||1===a&&t===i-1&&t===n+1?"":e.slice(t,i)},format:h.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let i;n?(t.root="/",i=1):i=0;let r=-1,a=0,s=-1,l=!0,c=e.length-1,h=0;for(;c>=i;--c){const t=e.charCodeAt(c);if(47!==t)-1===s&&(l=!1,s=c+1),46===t?-1===r?r=c:1!==h&&(h=1):-1!==r&&(h=-1);else if(!l){a=c+1;break}}if(-1!==s){const i=0===a&&n?1:a;-1===r||0===h||1===h&&r===s-1&&r===a+1?t.base=t.name=e.slice(i,s):(t.name=e.slice(i,r),t.base=e.slice(i,s),t.ext=e.slice(r,s))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};u.win32=d.win32=d,u.posix=d.posix=u;const p="win32"===i.c?d.normalize:u.normalize,m="win32"===i.c?d.resolve:u.resolve,f="win32"===i.c?d.relative:u.relative,g="win32"===i.c?d.dirname:u.dirname,b="win32"===i.c?d.basename:u.basename,_="win32"===i.c?d.extname:u.extname,w="win32"===i.c?d.sep:u.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return f}));var i=n(13);class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new r,a=new r,s=new r;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function h(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new p(0!==i?[d(n,t),d(i,t)]:[d(n,t)])}function d(e,t){const n=!!(2048&e),i=!!(256&e);return new u(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n=t,i=n){o.define(e,t),a.define(e,n),s.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return s.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||s.strToKeyCode(e)}}(l||(l={}));class u{constructor(e,t,n,i,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=r}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw Object(i.b)("parts");this.parts=e}}class m{constructor(e,t,n,i,r,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=r,this.keyAriaLabel=o}}class f{}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class r{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==i.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return h}));var i,r=n(13),o=n(2),a=n(53);!function(e){function t(e){return(t,n=null,i)=>{let r,o=!1;return r=e(e=>{if(!o)return r?r.dispose():o=!0,t.call(n,e)},null,i),o&&r.dispose(),r}}function n(e,t){return l((n,i=null,r)=>e(e=>n.call(i,t(e)),null,r))}function i(e,t){return l((n,i=null,r)=>e(e=>{t(e),n.call(i,e)},null,r))}function r(e,t){return l((n,i=null,r)=>e(e=>t(e)&&n.call(i,e),null,r))}function a(e,t,i){let r=i;return n(e,e=>(r=t(r,e),r))}function l(e){let t;const n=new s({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,i=!1,r){let o,a=void 0,l=void 0,c=0;const h=new s({leakWarningThreshold:r,onFirstListenerAdd(){o=e(e=>{c++,a=t(a,e),i&&!l&&(h.fire(a),a=void 0),clearTimeout(l),l=setTimeout(()=>{const e=a;a=void 0,l=void 0,(!i||c>1)&&h.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return h.event}function h(e){let t,n=!0;return r(e,e=>{const i=n||e!==t;return n=!1,t=e,i})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,i)))},e.reduce=a,e.snapshot=l,e.debounce=c,e.stopwatch=function(e){const i=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-i)},e.latch=h,e.buffer=function(e,t=!1,n=[]){let i=n.slice(),r=e(e=>{i?i.push(e):a.fire(e)});const o=()=>{i&&i.forEach(e=>a.fire(e)),i=null},a=new s({onFirstListenerAdd(){r||(r=e(e=>a.fire(e)))},onFirstListenerDidAdd(){i&&(t?setTimeout(o):o())},onLastListenerRemove(){r&&r.dispose(),r=null}});return a.event};class d{constructor(e){this.event=e}map(e){return new d(n(this.event,e))}forEach(e){return new d(i(this.event,e))}filter(e){return new d(r(this.event,e))}reduce(e,t){return new d(a(this.event,e,t))}latch(){return new d(h(this.event))}debounce(e,t=100,n=!1,i){return new d(c(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>r.fire(n(...e)),r=new s({onFirstListenerAdd:()=>e.on(t,i),onLastListenerRemove:()=>e.removeListener(t,i)});return r.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>r.fire(n(...e)),r=new s({onFirstListenerAdd:()=>e.addEventListener(t,i),onLastListenerRemove:()=>e.removeEventListener(t,i)});return r.event},e.fromPromise=function(e){const t=new s;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(i||(i={}));class s{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new a.a);const i=this._listeners.isEmpty();i&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const r=this._listeners.push(t?[e,t]:e);let l,c;return i&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(l&&l(),c.dispose=s._noop,!this._disposed&&(r(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new a.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(r.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}s._noop=function(){};class l extends s{constructor(e){super(e),this._isPaused=0,this._eventQueue=new a.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e(e=>{const i=this.buffers[this.buffers.length-1];i?i.push(()=>t.call(n,e)):t.call(n,e)},void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class h{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=o.a.None,this.emitter=new s({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s}));const i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of i)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=r;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const a={maxLen:1e3,windowSize:15,timeBudget:150};function s(e,t,n,i,r=a){if(n.length>r.maxLen){let o=e-r.maxLen/2;return o<0?(i+=e,o=0):i+=o,s(e,t,n=n.substring(o,e+r.maxLen/2),i,r)}Date.now();const o=e-1-i;let c=-1,h=null;for(let e=1;;e++){Date.now(),r.timeBudget;const i=o-r.windowSize*e;t.lastIndex=Math.max(0,i);const a=l(t,n,o,c);if(!a&&h)break;if(h=a,i<=0)break;c=i}if(h){let e={word:h[0],startColumn:i+1+h.index,endColumn:i+1+h.index+h[0].length};return t.lastIndex=0,e}return null}function l(e,t,n,i){let r;for(;r=e.exec(t);){const t=r.index||0;if(t<=n&&e.lastIndex>=n)return r;if(i>0&&t>i)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(36);class r{constructor(e){let t=Object(i.b)(e);this._defaultValue=t,this._asciiMap=r._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(i.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new r(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o}));class i{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class r{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}function r(e,t,n="0"){const i=""+e,r=[i];for(let e=i.length;e<t;e++)r.push(n);return r.reverse().join("")}n.d(t,"D",(function(){return i})),n.d(t,"M",(function(){return r})),n.d(t,"x",(function(){return a})),n.d(t,"u",(function(){return s})),n.d(t,"v",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return h})),n.d(t,"Q",(function(){return d})),n.d(t,"p",(function(){return u})),n.d(t,"V",(function(){return p})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return f})),n.d(t,"q",(function(){return g})),n.d(t,"P",(function(){return b})),n.d(t,"O",(function(){return _})),n.d(t,"w",(function(){return w})),n.d(t,"z",(function(){return v})),n.d(t,"J",(function(){return y})),n.d(t,"f",(function(){return T})),n.d(t,"h",(function(){return k})),n.d(t,"g",(function(){return S})),n.d(t,"i",(function(){return x})),n.d(t,"H",(function(){return L})),n.d(t,"I",(function(){return C})),n.d(t,"t",(function(){return A})),n.d(t,"T",(function(){return R})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return U})),n.d(t,"F",(function(){return N})),n.d(t,"G",(function(){return H})),n.d(t,"j",(function(){return z})),n.d(t,"A",(function(){return W})),n.d(t,"L",(function(){return O})),n.d(t,"N",(function(){return P})),n.d(t,"r",(function(){return q})),n.d(t,"m",(function(){return B})),n.d(t,"k",(function(){return G})),n.d(t,"B",(function(){return K})),n.d(t,"a",(function(){return Y})),n.d(t,"n",(function(){return $})),n.d(t,"l",(function(){return J})),n.d(t,"E",(function(){return Q})),n.d(t,"C",(function(){return X})),n.d(t,"b",(function(){return Z})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return ie})),n.d(t,"c",(function(){return re}));const o=/{(\d+)}/g;function a(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return d(h(e,t),t)}function h(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function d(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let r=i,o=-1;for(;o=e.lastIndexOf(t,r-1),-1!==o&&o+n===r;){if(0===o)return"";r=o}return e.substring(0,r)}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function g(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function w(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function v(e,t=0,n=e.length){for(let i=t;i<n;i++){const n=e.charCodeAt(i);if(32!==n&&9!==n)return e.substring(t,i)}return e.substring(t,n)}function y(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function T(e,t){return e<t?-1:e>t?1:0}function k(e,t,n=0,i=e.length,r=0,o=t.length){for(;n<i&&r<o;n++,r++){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(i<o)return-1;if(i>o)return 1}const a=i-n,s=o-r;return a<s?-1:a>s?1:0}function S(e,t){return x(e,t,0,e.length,0,t.length)}function x(e,t,n=0,i=e.length,r=0,o=t.length){for(;n<i&&r<o;n++,r++){let a=e.charCodeAt(n),s=t.charCodeAt(r);if(a===s)continue;const l=a-s;if((32!==l||!C(s))&&(-32!==l||!C(a)))return L(a)&&L(s)?l:k(e.toLowerCase(),t.toLowerCase(),n,i,r,o)}const a=i-n,s=o-r;return a<s?-1:a>s?1:0}function L(e){return e>=97&&e<=122}function C(e){return e>=65&&e<=90}function E(e){return L(e)||C(e)}function A(e,t){return e.length===t.length&&M(e,t)}function M(e,t,n=e.length){for(let i=0;i<n;i++){const n=e.charCodeAt(i),r=t.charCodeAt(i);if(n!==r)if(E(n)&&E(r)){const e=Math.abs(n-r);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}function R(e,t){const n=t.length;return!(t.length>e.length)&&M(e,t,n)}function I(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function U(e,t){let n,i=Math.min(e.length,t.length);const r=e.length-1,o=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(r-n)!==t.charCodeAt(o-n))return n;return i}function N(e){return 55296<=e&&e<=56319}function H(e){return 56320<=e&&e<=57343}function z(e,t){return t-56320+(e-55296<<10)+65536}function W(e,t,n){const i=e.charCodeAt(n);if(N(i)&&n+1<t){const t=e.charCodeAt(n+1);if(H(t))return z(i,t)}return i}function D(e,t){const n=e.charCodeAt(t-1);if(H(n)&&t>1){const i=e.charCodeAt(t-2);if(N(i))return z(i,n)}return n}function O(e,t){const n=oe.getInstance(),i=t,r=e.length,o=W(e,r,t);t+=o>=65536?2:1;let a=n.getGraphemeBreakType(o);for(;t<r;){const i=W(e,r,t),o=n.getGraphemeBreakType(i);if(re(a,o))break;t+=i>=65536?2:1,a=o}return t-i}function P(e,t){const n=oe.getInstance(),i=t,r=D(e,t);t-=r>=65536?2:1;let o=n.getGraphemeBreakType(r);for(;t>0;){const i=D(e,t),r=n.getGraphemeBreakType(i);if(re(r,o))break;t-=i>=65536?2:1,o=r}return i-t}function q(e){const t=e.byteLength,n=[];let i=0;for(;i<t;){const r=e[i];let o;if(o=r>=240&&i+3<t?(7&e[i++])<<18>>>0|(63&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:r>=224&&i+2<t?(15&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:r>=192&&i+1<t?(31&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:e[i++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),i=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(i))}else n.push(String.fromCharCode(65533))}return n.join("")}const F=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function B(e){return F.test(e)}const j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function G(e){return j.test(e)}const V=/^[\t\n\r\x20-\x7E]*$/;function K(e){return V.test(e)}const Y=/[\u2028\u2029]/;function $(e){return Y.test(e)}function J(e){for(let t=0,n=e.length;t<n;t++)if(Q(e.charCodeAt(t)))return!0;return!1}function Q(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function X(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const Z=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ie(e){return oe.getInstance().getGraphemeBreakType(e)}function re(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,c=[],h=!1,d=-1;function u(){h&&l&&(h=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!h){var e=s(u);h=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,h=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||h||s(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return d}));var i=n(8);function r(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?a(349,t):Array.isArray(e)?(n=e,i=a(104579,i=t),n.reduce((e,t)=>o(t,e),i)):function(e,t){return t=a(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=s(n,t),o(e[n],t)),t)}(e,t);case"string":return s(e,t);case"boolean":return function(e,t){return a(e?433:863,t)}(e,t);case"number":return a(e,t);case"undefined":return a(937,t);default:return a(617,t)}var n,i}function a(e,t){return(t<<5)-t+e|0}function s(e,t){t=a(149417,t);for(let n=0,i=e.length;n<i;n++)t=a(e.charCodeAt(n),t);return t}function l(e,t,n=32){const i=n-t;return(e<<t|(~((1<<i)-1)&e)>>>i)>>>0}function c(e,t=0,n=e.byteLength,i=0){for(let r=0;r<n;r++)e[t+r]=i}function h(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class d{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,o,a=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(r=s,o=-1,s=0):(r=e.charCodeAt(0),o=0);;){let l=r;if(i.F(r)){if(!(o+1<t)){s=r;break}{const t=e.charCodeAt(o+1);i.G(t)?(o++,l=i.j(r,t)):l=65533}}else i.G(r)&&(l=65533);if(a=this._push(n,a,l),o++,!(o<t))break;r=e.charCodeAt(o)}this._buffLen=a,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=d._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,i,r,o=this._h0,a=this._h1,s=this._h2,c=this._h3,h=this._h4;for(let t=0;t<80;t++)t<20?(n=a&s|~a&c,i=1518500249):t<40?(n=a^s^c,i=1859775393):t<60?(n=a&s|a&c|s&c,i=2400959708):(n=a^s^c,i=3395469782),r=l(o,5)+n+h+i+e.getUint32(4*t,!1)&4294967295,h=c,c=s,s=l(a,30),a=o,o=r;this._h0=this._h0+o&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+h&4294967295}}d._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return i.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,i=0|t.lineNumber;if(n===i){return(0|e.column)-(0|t.column)}return n-i}clone(){return new i(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new i(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return d}));var i=n(13),r=n(2),o=n(11),a=n(14);let s=!1;function l(e){o.h&&(s||(s=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((i,r)=>{this._pendingReplies[n]={resolve:i,reject:r},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(i.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(i.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class h extends r.a{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{i&&i(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let r=null;void 0!==self.require&&"function"==typeof self.require.getConfig?r=self.require.getConfig():void 0!==self.requirejs&&(r=self.requirejs.s.contexts._.config);const o=a.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(r)),t,o]);const s=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{i=n,this._onModuleLoaded.then(t=>{e(a.c(t,s))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,i)},i)})}_onError(e,t){console.error(e),console.info(t)}}class d{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,i){this._protocol.setWorkerId(e);const r=a.c(i,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(a.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(r),this._requestHandler?e(a.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file +!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=346)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(25),r=n(6),o=n(43),a=n(23),s=n(9),l=n(3),c=n(21),h=n(77),d=n(40);class u{static chord(e,t){return Object(o.a)(e,t)}}function p(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.b,Emitter:r.a,KeyCode:d.o,KeyMod:u,Position:s.a,Range:l.a,Selection:c.a,SelectionDirection:d.z,MarkerSeverity:d.p,MarkerTag:d.q,Uri:a.a,Token:h.a}}u.CtrlCmd=2048,u.Shift=1024,u.Alt=512,u.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n(36);class r{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(i.a)(e);const n=this.values,r=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(i.a)(e),t=Object(i.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(i.a)(e),t=Object(i.a)(t);const n=this.values,r=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(i.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,i=0,o=0,a=0;for(;t<=n;)if(i=t+(n-t)/2|0,o=this.prefixSum[i],a=o-this.values[i],e<a)n=i-1;else{if(!(e>=o))break;t=i+1}return new r(i,e-a)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n(16);class r{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class a{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function s(e,t,n){return new d(new a(e),new a(t)).ComputeDiff(n).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}static Copy2(e,t,n,i,r){for(let o=0;o<r;o++)n[i+o]=e[t+o]}}class h{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new r(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[i,r,o]=d._getElements(e),[a,s,l]=d._getElements(t);this._hasStrings=o&&l,this._originalStringElements=i,this._originalElementsOrHash=r,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(d._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,i,r){const o=[!1];let a=this.ComputeDiffRecursive(e,t,n,i,o);return r&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}}ComputeDiffRecursive(e,t,n,i,o){for(o[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let o;return n<=i?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new r(e,0,n,i-n+1)]):e<=t?(l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[new r(e,t-e+1,n,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const a=[0],s=[0],c=this.ComputeRecursionPoint(e,t,n,i,a,s,o),h=a[0],d=s[0];if(null!==c)return c;if(!o[0]){const a=this.ComputeDiffRecursive(e,h,n,d,o);let s=[];return s=o[0]?[new r(h+1,t-(h+1)+1,d+1,i-(d+1)+1)]:this.ComputeDiffRecursive(h+1,t,d+1,i,o),this.ConcatenateChanges(a,s)}return[new r(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,o,a,s,l,c,d,u,p,m,f,g,b,_,w){let v=null,y=null,T=new h,k=t,S=n,x=m[0]-b[0]-i,L=-1073741824,C=this.m_forwardHistory.length-1;do{const t=x+e;t===k||t<S&&c[t-1]<c[t+1]?(f=(u=c[t+1])-x-i,u<L&&T.MarkNextChange(),L=u,T.AddModifiedElement(u+1,f),x=t+1-e):(f=(u=c[t-1]+1)-x-i,u<L&&T.MarkNextChange(),L=u-1,T.AddOriginalElement(u,f+1),x=t-1-e),C>=0&&(e=(c=this.m_forwardHistory[C])[0],k=1,S=c.length-1)}while(--C>=-1);if(v=T.getReverseChanges(),w[0]){let e=m[0]+1,t=b[0]+1;if(null!==v&&v.length>0){const n=v[v.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new r(e,p-e+1,t,g-t+1)]}else{T=new h,k=a,S=s,x=m[0]-b[0]-l,L=1073741824,C=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+o;e===k||e<S&&d[e-1]>=d[e+1]?(f=(u=d[e+1]-1)-x-l,u>L&&T.MarkNextChange(),L=u+1,T.AddOriginalElement(u+1,f+1),x=e+1-o):(f=(u=d[e-1])-x-l,u>L&&T.MarkNextChange(),L=u,T.AddModifiedElement(u+1,f+1),x=e-1-o),C>=0&&(o=(d=this.m_reverseHistory[C])[0],k=1,S=d.length-1)}while(--C>=-1);y=T.getChanges()}return this.ConcatenateChanges(v,y)}ComputeRecursionPoint(e,t,n,i,o,a,s){let l=0,h=0,d=0,u=0,p=0,m=0;e--,n--,o[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(i-n),g=f+1,b=new Int32Array(g),_=new Int32Array(g),w=i-n,v=t-e,y=e-n,T=t-i,k=(v-w)%2==0;b[w]=e,_[v]=t,s[0]=!1;for(let S=1;S<=f/2+1;S++){let f=0,x=0;d=this.ClipDiagonalBound(w-S,S,w,g),u=this.ClipDiagonalBound(w+S,S,w,g);for(let e=d;e<=u;e+=2){l=e===d||e<u&&b[e-1]<b[e+1]?b[e+1]:b[e-1]+1,h=l-(e-w)-y;const n=l;for(;l<t&&h<i&&this.ElementsAreEqual(l+1,h+1);)l++,h++;if(b[e]=l,l+h>f+x&&(f=l,x=h),!k&&Math.abs(e-v)<=S-1&&l>=_[e])return o[0]=l,a[0]=h,n<=_[e]&&S<=1448?this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s):null}const L=(f-e+(x-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L))return s[0]=!0,o[0]=f,a[0]=x,L>0&&S<=1448?this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s):(e++,n++,[new r(e,t-e+1,n,i-n+1)]);p=this.ClipDiagonalBound(v-S,S,v,g),m=this.ClipDiagonalBound(v+S,S,v,g);for(let r=p;r<=m;r+=2){l=r===p||r<m&&_[r-1]>=_[r+1]?_[r+1]-1:_[r-1],h=l-(r-v)-T;const c=l;for(;l>e&&h>n&&this.ElementsAreEqual(l,h);)l--,h--;if(_[r]=l,k&&Math.abs(r-w)<=S&&l<=b[r])return o[0]=l,a[0]=h,c>=b[r]&&S<=1448?this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s):null}if(S<=1447){let e=new Int32Array(u-d+2);e[0]=w-d+1,c.Copy2(b,d,e,1,u-d+1),this.m_forwardHistory.push(e),e=new Int32Array(m-p+2),e[0]=v-p+1,c.Copy2(_,p,e,1,m-p+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(w,d,u,y,v,p,m,T,b,_,l,t,o,h,i,a,k,s)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,r=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,a=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<r&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let s=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],s)&&(e[t]=s[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,r=0;if(t>0){const n=e[t-1];n.originalLength>0&&(i=n.originalStart+n.originalLength),n.modifiedLength>0&&(r=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,a=n.modifiedLength>0;let s=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<i||c<r)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const h=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);h>l&&(l=h,s=e)}n.originalStart-=s,n.modifiedStart-=s}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return c.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],c.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let o=e.originalLength;const a=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r(i,o,a,s),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const r=t%2==0;if(e<0){return r===(n%2==0)?0:1}return r===((i-n-1)%2==0)?i-1:i-2}}var u=n(11),p=n(23),m=n(9),f=n(3),g=n(8);function b(e,t,n,i){return new d(e,t,n).ComputeDiff(i)}class _{constructor(e){const t=[],n=[];for(let i=0,r=e.length;i<r;i++)t[i]=k(e[i],1),n[i]=S(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const i=[],r=[],o=[];let a=0;for(let s=t;s<=n;s++){const t=this.lines[s],n=e?this._startColumns[s]:1,l=e?this._endColumns[s]:t.length+1;for(let e=n;e<l;e++)i[a]=t.charCodeAt(e-1),r[a]=s+1,o[a]=e,a++}return new w(i,r,o)}}class w{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class v{constructor(e,t,n,i,r,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=r,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){let i,r,o,a,s,l,c,h;return 0===e.originalLength?(i=0,r=0,o=0,a=0):(i=t.getStartLineNumber(e.originalStart),r=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(s=0,l=0,c=0,h=0):(s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new v(i,r,o,a,s,l,c,h)}}class y{constructor(e,t,n,i,r){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=r}static createFromDiffResult(e,t,n,i,r,o,a){let s,l,c,h,d=void 0;if(0===t.originalLength?(s=n.getStartLineNumber(t.originalStart)-1,l=0):(s=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=i.getStartLineNumber(t.modifiedStart)-1,h=0):(c=i.getStartLineNumber(t.modifiedStart),h=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&r()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=b(o,s,r,!0).changes;a&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i<r;i++){const r=e[i],o=r.originalStart-(n.originalStart+n.originalLength),a=r.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,a)<3?(n.originalLength=r.originalStart+r.originalLength-n.originalStart,n.modifiedLength=r.modifiedStart+r.modifiedLength-n.modifiedStart):(t.push(r),n=r)}return t}(l)),d=[];for(let e=0,t=l.length;e<t;e++)d.push(v.createFromDiffChange(l[e],o,s))}return new y(s,l,c,h,d)}}class T{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new _(e),this.modified=new _(t),this.continueLineDiff=x(n.maxComputationTime),this.continueCharDiff=x(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=b(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const i=[];let r=0,o=0;for(let e=-1,n=t.length;e<n;e++){const a=e+1<n?t[e+1]:null,s=a?a.originalStart:this.originalLines.length,l=a?a.modifiedStart:this.modifiedLines.length;for(;r<s&&o<l;){const e=this.originalLines[r],t=this.modifiedLines[o];if(e!==t){{let n=k(e,1),a=k(t,1);for(;n>1&&a>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(a-2))break;n--,a--}(n>1||a>1)&&this._pushTrimWhitespaceCharChange(i,r+1,1,n,o+1,1,a)}{let n=S(e,1),a=S(t,1);const s=e.length+1,l=t.length+1;for(;n<s&&a<l;){if(e.charCodeAt(n-1)!==e.charCodeAt(a-1))break;n++,a++}(n<s||a<l)&&this._pushTrimWhitespaceCharChange(i,r+1,n,s,o+1,a,l)}}r++,o++}a&&(i.push(y.createFromDiffResult(this.shouldIgnoreTrimWhitespace,a,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),r+=a.originalLength,o+=a.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,r,o,a){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,r,o,a))return;let s=void 0;this.shouldComputeCharChanges&&(s=[new v(t,n,t,i,r,o,r,a)]),e.push(new y(t,t,r,r,s))}_mergeTrimWhitespaceCharChange(e,t,n,i,r,o,a){const s=e.length;if(0===s)return!1;const l=e[s-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===r&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=r,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new v(t,n,t,i,r,o,r,a)),!0))}}function k(e,t){const n=g.w(e);return-1===n?t:n+1}function S(e,t){const n=g.J(e);return-1===n?t:n+2}function x(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var L=n(101);var C=n(73),E=n(76);class A{constructor(e,t,n){const i=new Uint8Array(e*t);for(let r=0,o=e*t;r<o;r++)i[r]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class M{constructor(e){let t=0,n=0;for(let i=0,r=e.length;i<r;i++){let[r,o,a]=e[i];o>t&&(t=o),r>n&&(n=r),a>n&&(n=a)}t++,n++;let i=new A(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,r,o]=e[t];i.set(n,r,o)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let R=null;let I=null;class U{static _createLink(e,t,n,i,r){let o=r-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:o+2},url:t.substring(i,o+1)}}static computeLinks(e,t=function(){return null===R&&(R=new M([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),R}()){const n=function(){if(null===I){I=new E.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)I.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)I.set(t.charCodeAt(e),2)}return I}();let i=[];for(let r=1,o=e.getLineCount();r<=o;r++){const o=e.getLineContent(r),a=o.length;let s=0,l=0,c=0,h=1,d=!1,u=!1,p=!1,m=!1;for(;s<a;){let e=!1;const a=o.charCodeAt(s);if(13===h){let t;switch(a){case 40:d=!0,t=0;break;case 41:t=d?0:1;break;case 91:p=!0,u=!0,t=0;break;case 93:p=!1,t=u?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=p?0:1;break;default:t=n.get(a)}1===t&&(i.push(U._createLink(n,o,r,l,s)),e=!0)}else if(12===h){let t;91===a?(u=!0,t=0):t=n.get(a),1===t?e=!0:h=13}else h=t.nextState(h,a),0===h&&(e=!0);e&&(h=1,d=!1,u=!1,m=!1,l=s+1,c=a),s++}13===h&&i.push(U._createLink(n,o,r,l,a))}return i}}class N{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,i,r){if(e&&t){let n=this.doNavigateValueSet(t,r);if(n)return{range:e,value:n}}if(n&&i){let e=this.doNavigateValueSet(i,r);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),r=parseFloat(e);return isNaN(i)||isNaN(r)||i!==r?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let r=0,o=e.length;null===i&&r<o;r++)i=this.valueSetReplace(e[r],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}N.INSTANCE=new N;var H=n(100),z=n(14),W=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class D extends class{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new L.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let i=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),i[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(C.d)(e.column,Object(C.c)(t),this._lines[e.lineNumber-1],0);return n?new f.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,r="",o=0,a=[];return{*[Symbol.iterator](){for(;;)if(o<a.length){const e=r.substring(a[o].start,a[o].end);o+=1,yield e}else{if(!(i<t.length))break;r=t[i],a=n(r,e),o=0,i+=1}}}}getLineWords(e,t){let n=this._lines[e-1],i=this._wordenize(n,t),r=[];for(const e of i)r.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return r}_wordenize(e,t){const n=[];let i;for(t.lastIndex=0;(i=t.exec(e))&&0!==i[0].length;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,r=[];r.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<i;e++)r.push(this._lines[e]);return r.push(this._lines[i].substring(0,e.endColumn-1)),r.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class O{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new D(p.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,i){return W(this,void 0,void 0,(function*(){const r=this._getModel(e),o=this._getModel(t);if(!r||!o)return null;const a=r.getLinesContent(),s=o.getLinesContent(),l=new T(a,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(r,o);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0}computeMoreMinimalEdits(e,t){return W(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const r=[];let o=void 0;t=Object(i.p)(t,(e,t)=>{if(e.range&&t.range)return f.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:i,eol:a}of t){if("number"==typeof a&&(o=a),f.a.isEmpty(e)&&!i)continue;const t=n.getValueInRange(e);if(i=i.replace(/\r\n|\n|\r/g,n.eol),t===i)continue;if(Math.max(i.length,t.length)>O._diffLimit){r.push({range:e,text:i});continue}const l=s(t,i,!1),c=n.offsetAt(f.a.lift(e).getStartPosition());for(const e of l){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),a={text:i.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(a.range)!==a.text&&r.push(a)}}return"number"==typeof o&&r.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return W(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?U.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,i){return W(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return null;const o=[],a=new Set,s=new RegExp(n,i),l=r.getWordAtPosition(t,s);l&&a.add(r.getValueInRange(l));for(let e of r.words(s))if(!a.has(e)&&(a.add(e),isNaN(Number(e))&&(o.push(e),a.size>O._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,i){return W(this,void 0,void 0,(function*(){let r=this._getModel(e);if(!r)return Object.create(null);const o=new RegExp(n,i),a=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=r.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=a[n.word];t||(t=[],a[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return a}))}navigateValueSet(e,t,n,i,r){return W(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let a=new RegExp(i,r);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let s=o.getValueInRange(t),l=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!l)return null;let c=o.getValueInRange(l);return N.INSTANCE.navigateValueSet(t,s,l,c,n)}))}loadForeignModule(e,t,n){let i={host:z.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(z.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}O._diffLimit=1e5,O._suggestionsLimit=1e4,"function"==typeof importScripts&&(u.b.monaco=Object(H.a)())},11:function(e,t,n){"use strict";(function(e,i){n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return T})),n.d(t,"j",(function(){return k})),n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return C}));let r=!1,o=!1,a=!1,s=!1,l=!1,c=!1,h=void 0,d="en",u=void 0,p=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){r="win32"===e.platform,o="darwin"===e.platform,a="linux"===e.platform,h="en",d="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];h=e.locale,d=n||"en",u=e._translationsConfigFile}catch(e){}s=!0}}else p=navigator.userAgent,r=p.indexOf("Windows")>=0,o=p.indexOf("Macintosh")>=0,c=(p.indexOf("Macintosh")>=0||p.indexOf("iPad")>=0||p.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=p.indexOf("Linux")>=0,l=!0,h=navigator.language,d=h;let f=0;o?f=1:r?f=3:a&&(f=2);const g=r,b=o,_=a,w=s,v=l,y=c,T="object"==typeof self?self:"object"==typeof i?i:{},k=function(){if(T.setImmediate)return T.setImmediate.bind(T);if("function"==typeof T.postMessage&&!T.importScripts){let e=[];T.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),T.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),S=o||c?2:r?1:3;let x=!0,L=!1;function C(){if(!L){L=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);x=513===t[0]}return x}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return h}));const i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function r(e){s(e)||i.onUnexpectedError(e)}function o(e){s(e)||i.onUnexpectedExternalError(e)}function a(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function h(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return a}));var i=n(94),r=n(104);let o=!1;function a(e){if(o)return;o=!0;const t=new i.b(e=>{self.postMessage(e)},t=>new r.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||a(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function i(e){return Array.isArray(e)}function r(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function a(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function h(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function d(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function p(e,t){const n=Math.min(e.length,t.length);for(let i=0;i<n;i++)m(e[i],t[i])}function m(e,t){if(r(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(u(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function f(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function g(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const t of e)i[t]=n(t);return i}function b(e){return null===e?void 0:e}n.d(t,"e",(function(){return i})),n.d(t,"j",(function(){return r})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"n",(function(){return b}))},16:function(e,t,n){"use strict";function i(e,t=0){return e[e.length-(1+t)]}function r(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function a(e,t,n){let i=0,r=e.length-1;for(;i<=r;){const o=(i+r)/2|0,a=n(e[o],t);if(a<0)i=o+1;else{if(!(a>0))return o;r=o-1}}return-(i+1)}function s(e,t){let n=0,i=e.length;if(0===i)return 0;for(;n<i;){const r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function l(e,t){return function e(t,n,i,r,o){if(r<=i)return;const a=i+(r-i)/2|0;if(e(t,n,i,a,o),e(t,n,a+1,r,o),n(t[a],t[a+1])<=0)return;!function(e,t,n,i,r,o){let a=n,s=i+1;for(let t=n;t<=r;t++)o[t]=e[t];for(let l=n;l<=r;l++)a>i?e[l]=o[s++]:s>r?e[l]=o[a++]:t(o[s],o[a])<0?e[l]=o[s++]:e[l]=o[a++]}(t,n,i,a,r,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let i=void 0;for(const r of l(e.slice(0),t))i&&0===t(i[0],r)?i.push(r):(i=[r],n.push(i));return n}function h(e){return e.filter(e=>!!e)}function d(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&e.length>0}function p(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const i=t(e);return!n[i]&&(n[i]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function f(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function g(e,t,n){const i=f(e,t);return i<0?n:e[i]}function b(e,t){return e.length>0?e[0]:t}function _(e){return[].concat(...e)}function w(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let e=n;e<t;e++)i.push(e);else for(let e=n;e>t;e--)i.push(e);return i}function v(e,t,n){const i=e.slice(0,t),r=e.slice(t);return i.concat(n,r)}function y(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function T(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function k(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return i})),n.d(t,"u",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"p",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"n",(function(){return d})),n.d(t,"o",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return g})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return _})),n.d(t,"s",(function(){return w})),n.d(t,"a",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"q",(function(){return T})),n.d(t,"b",(function(){return k}))},176:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,o,a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var s=navigator.userAgent;o=s.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,h=/^\/\//;var d="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==d&&(t=d+t):t=d}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(h.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new f(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new f(n[2]||"",T(n[4]||""),T(n[5]||""),T(n[7]||""),T(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,d)),e[0]===d&&e[1]===d){var n=e.indexOf(d,2);-1===n?(t=e.substring(2),e=d):(t=e.substring(2,n),e=e.substring(n)||d)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),v(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),g=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var a=g[o];void 0!==a?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=a):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=g[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function w(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function v(e,t){var n=t?_:b,i="",r=e.scheme,o=e.authority,a=e.path,s=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=d,i+=d),o){var c=o.indexOf("@");if(-1!==c){var h=o.substr(0,c);o=o.substr(c+1),-1===(c=h.indexOf(":"))?i+=n(h,!1):(i+=n(h.substr(0,c),!1),i+=":",i+=n(h.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(u=a.charCodeAt(1))>=65&&u<=90&&(a="/"+String.fromCharCode(u+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var u;(u=a.charCodeAt(0))>=65&&u<=90&&(a=String.fromCharCode(u+32)+":"+a.substr(2))}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}var y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function T(e){return e.match(y)?e.replace(y,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return p}));var i=n(37);function r(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function a(e){return"function"==typeof e.dispose&&0===e.dispose.length}function s(e){if(i.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function l(...e){return e.forEach(r),{dispose:()=>s(e)}}function c(e){const t={dispose:()=>{e()}};return t}class h{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{s(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?h.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}h.DISABLE_DISPOSED_WARNING=!1;class d{constructor(){this._store=new h}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}d.None=Object.freeze({dispose(){}});class u{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class p{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(9),r=n(3);class o extends r.a{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,i,r){return 0===r?new o(e,t,n,i):new o(n,i,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return g}));var i=n(11),r=n(42);const o=/^\w[\w\d+.-]*$/,a=/^\//,s=/^\/\//;const l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(e,t,n,i,r,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!a.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof h||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:r,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new u(t,n,i,r,o)}static parse(e,t=!1){const n=c.exec(e);return n?new u(n[2]||"",w(n[4]||""),w(n[5]||""),w(n[7]||""),w(n[9]||""),t):new u("","","","","")}static file(e){let t="";if(i.i&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){const n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new u("file",t,e,"","")}static from(e){return new u(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=i.i&&"file"===e.scheme?h.file(r.i.join(g(e,!0),...t)).path:r.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new u(e);return t._formatted=e.external,t._fsPath=e._sep===d?e.fsPath:null,t}}return e}}const d=i.i?1:void 0;class u extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const p={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,i=-1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));const t=p[o];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=t):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function f(e){let t=void 0;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=p[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function g(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.i&&(n=n.replace(/\//g,"\\")),n}function b(e,t){const n=t?f:m;let i="",{scheme:r,authority:o,path:a,query:s,fragment:c}=e;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=l,i+=l),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?i+=n(o,!1):(i+=n(o.substr(0,e),!1),i+=o.substr(e))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){const e=a.charCodeAt(1);e>=65&&e<=90&&(a=`/${String.fromCharCode(e+32)}:${a.substr(3)}`)}else if(a.length>=2&&58===a.charCodeAt(1)){const e=a.charCodeAt(0);e>=65&&e<=90&&(a=`${String.fromCharCode(e+32)}:${a.substr(2)}`)}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),c&&(i+="#",i+=t?c:m(c,!1)),i}const _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function w(e){return e.match(_)?e.replace(_,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var i=n(6);const r=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof a||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r})}(o||(o={}));class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new i.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class s{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var i=n(11);const r=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return i.i?"win32":i.f?"darwin":"linux"},nextTick:e=>Object(i.j)(e)}:e,o=r.cwd,a=r.env,s=r.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(9);class r{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return r.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return r.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return r.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return r.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return r.plusRange(this,e)}static plusRange(e,t){let n,i,o,a;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,a=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,a=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,a=e.endColumn),new r(n,i,o,a)}intersectRanges(e){return r.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,a=e.endColumn,s=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,h=t.endColumn;return n<s?(n=s,i=l):n===s&&(i=Math.max(i,l)),o>c?(o=c,a=h):o===c&&(a=Math.min(a,h)),n>o||n===o&&i>a?null:new r(n,i,o,a)}equalsRange(e){return r.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return r.getEndPosition(this)}static getEndPosition(e){return new i.a(e.endLineNumber,e.endColumn)}getStartPosition(){return r.getStartPosition(this)}static getStartPosition(e){return new i.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new r(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new r(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return r.collapseToStart(this)}static collapseToStart(e){return new r(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;if(n===i){return(0|e.endColumn)-(0|t.endColumn)}return n-i}return n-i}return n-i}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},31:function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return i(t,n)}function o(e){return r}var a,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k,S,x,L;n.d(t,"g",(function(){return oe})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return I})),n.d(t,"e",(function(){return U})),n.d(t,"c",(function(){return F})),n.d(t,"f",(function(){return j})),n.d(t,"h",(function(){return Ht})),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.number(t.line)&&ie.number(t.character)}}(a||(a={})),function(e){e.create=function(e,t,n,i){if(ie.number(e)&&ie.number(t)&&ie.number(n)&&ie.number(i))return{start:a.create(e,t),end:a.create(n,i)};if(a.is(e)&&a.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return ie.objectLiteral(t)&&a.is(t.start)&&a.is(t.end)}}(s||(s={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&(ie.string(t.uri)||ie.undefined(t.uri))}}(l||(l={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.targetRange)&&ie.string(t.targetUri)&&(s.is(t.targetSelectionRange)||ie.undefined(t.targetSelectionRange))&&(s.is(t.originSelectionRange)||ie.undefined(t.originSelectionRange))}}(c||(c={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ie.number(t.red)&&ie.number(t.green)&&ie.number(t.blue)&&ie.number(t.alpha)}}(h||(h={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return s.is(t.range)&&h.is(t.color)}}(d||(d={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ie.string(t.label)&&(ie.undefined(t.textEdit)||y.is(t))&&(ie.undefined(t.additionalTextEdits)||ie.typedArray(t.additionalTextEdits,y.is))}}(u||(u={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(p||(p={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return ie.defined(n)&&(o.startCharacter=n),ie.defined(i)&&(o.endCharacter=i),ie.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return ie.number(t.startLine)&&ie.number(t.startLine)&&(ie.undefined(t.startCharacter)||ie.number(t.startCharacter))&&(ie.undefined(t.endCharacter)||ie.number(t.endCharacter))&&(ie.undefined(t.kind)||ie.string(t.kind))}}(m||(m={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ie.defined(t)&&l.is(t.location)&&ie.string(t.message)}}(f||(f={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(g||(g={})),function(e){e.Unnecessary=1,e.Deprecated=2}(b||(b={})),function(e){e.is=function(e){var t=e;return null!=t&&(ie.number(t.value)||ie.string(t.value))&&ie.string(t.target)}}(_||(_={})),function(e){e.create=function(e,t,n,i,r,o){var a={range:e,message:t};return ie.defined(n)&&(a.severity=n),ie.defined(i)&&(a.code=i),ie.defined(r)&&(a.source=r),ie.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&ie.string(t.message)&&(ie.number(t.severity)||ie.undefined(t.severity))&&(ie.number(t.code)||ie.string(t.code)||ie.undefined(t.code))&&(ie.string(t.source)||ie.undefined(t.source))&&(ie.undefined(t.relatedInformation)||ie.typedArray(t.relatedInformation,f.is))}}(w||(w={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return ie.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.title)&&ie.string(t.command)}}(v||(v={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ie.objectLiteral(t)&&ie.string(t.newText)&&s.is(t.range)}}(y||(y={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ie.defined(t)&&E.is(t.textDocument)&&Array.isArray(t.edits)}}(T||(T={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(k||(k={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ie.string(t.oldUri)&&ie.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ie.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ie.boolean(t.options.ignoreIfExists)))}}(S||(S={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ie.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ie.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ie.boolean(t.options.ignoreIfNotExists)))}}(x||(x={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ie.string(e.kind)?k.is(e)||S.is(e)||x.is(e):T.is(e)})))}}(L||(L={}));var C,E,A,M,R,I,U,N,H,z,W,D,O,P,q,F,B,j,G,V,K,Y,$,J,Q,X,Z,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(y.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(y.replace(e,t))},e.prototype.delete=function(e){this.edits.push(y.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(T.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new te(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return void 0===this._workspaceEdit?{documentChanges:[]}:this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(E.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new te(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new te(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(k.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(S.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(x.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)}}(C||(C={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&(null===t.version||ie.number(t.version))}}(E||(E={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ie.defined(t)&&ie.string(t.uri)&&ie.string(t.languageId)&&ie.number(t.version)&&ie.string(t.text)}}(A||(A={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(M||(M={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(M||(M={})),function(e){e.is=function(e){var t=e;return ie.objectLiteral(e)&&M.is(t.kind)&&ie.string(t.value)}}(R||(R={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(I||(I={})),function(e){e.PlainText=1,e.Snippet=2}(U||(U={})),function(e){e.Deprecated=1}(N||(N={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ie.string(t.newText)&&s.is(t.insert)&&s.is(t.replace)}}(H||(H={})),function(e){e.create=function(e){return{label:e}}}(z||(z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(W||(W={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ie.string(t)||ie.objectLiteral(t)&&ie.string(t.language)&&ie.string(t.value)}}(D||(D={})),function(e){e.is=function(e){var t=e;return!!t&&ie.objectLiteral(t)&&(R.is(t.contents)||D.is(t.contents)||ie.typedArray(t.contents,D.is))&&(void 0===e.range||s.is(e.range))}}(O||(O={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(P||(P={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return ie.defined(t)&&(r.documentation=t),ie.defined(n)?r.parameters=n:r.parameters=[],r}}(q||(q={})),function(e){e.Text=1,e.Read=2,e.Write=3}(F||(F={})),function(e){e.create=function(e,t){var n={range:e};return ie.number(t)&&(n.kind=t),n}}(B||(B={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(j||(j={})),function(e){e.Deprecated=1}(G||(G={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}(V||(V={})),function(e){e.create=function(e,t,n,i,r,o){var a={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&ie.string(t.name)&&ie.number(t.kind)&&s.is(t.range)&&s.is(t.selectionRange)&&(void 0===t.detail||ie.string(t.detail))&&(void 0===t.deprecated||ie.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(K||(K={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(Y||(Y={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ie.defined(t)&&ie.typedArray(t.diagnostics,w.is)&&(void 0===t.only||ie.typedArray(t.only,ie.string))}}($||($={})),function(e){e.create=function(e,t,n){var i={title:e};return v.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ie.string(t.title)&&(void 0===t.diagnostics||ie.typedArray(t.diagnostics,w.is))&&(void 0===t.kind||ie.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||v.is(t.command))&&(void 0===t.isPreferred||ie.boolean(t.isPreferred))&&(void 0===t.edit||L.is(t.edit))}}(J||(J={})),function(e){e.create=function(e,t){var n={range:e};return ie.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&(ie.undefined(t.command)||v.is(t.command))}}(Q||(Q={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ie.defined(t)&&ie.number(t.tabSize)&&ie.boolean(t.insertSpaces)}}(X||(X={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ie.defined(t)&&s.is(t.range)&&(ie.undefined(t.target)||ie.string(t.target))}}(Z||(Z={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&s.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,i){return new re(e,t,n,i)},e.is=function(e){var t=e;return!!(ie.defined(t)&&ie.string(t.uri)&&(ie.undefined(t.languageId)||ie.string(t.languageId))&&ie.number(t.lineCount)&&ie.func(t.getText)&&ie.func(t.positionAt)&&ie.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var a=0,s=0,l=0;for(;a<r.length&&s<o.length;){var c=n(r[a],o[s]);t[l++]=c<=0?r[a++]:o[s++]}for(;a<r.length;)t[l++]=r[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var a=i[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+a.newText+n.substring(l,n.length),r=s}return n}}(ne||(ne={}));var ie,re=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return a.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return a.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ie||(ie={}));var oe,ae,se,le,ce,he=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var a=ue(o.range),s=this.offsetAt(a.start),l=this.offsetAt(a.end);this._content=this._content.substring(0,s)+o.text+this._content.substring(l,this._content.length);var c=Math.max(a.start.line,0),h=Math.max(a.end.line,0),d=this._lineOffsets,u=de(o.text,!1,s);if(h-c===u.length)for(var p=0,m=u.length;p<m;p++)d[p+c+1]=u[p];else u.length<1e4?d.splice.apply(d,[c+1,h-c].concat(u)):this._lineOffsets=d=d.slice(0,c+1).concat(u,d.slice(h+1));var f=o.text.length-(l-s);if(0!==f)for(p=c+1+u.length,m=d.length;p<m;p++)d[p]=d[p]+f}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=de(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function de(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function ue(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function pe(e){var t=ue(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new he(e,t,n,i)},e.update=function(e,t,n){if(e instanceof he)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,r=[],o=0,a=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var a=0,s=0,l=0;for(;a<r.length&&s<o.length;){var c=n(r[a],o[s]);t[l++]=c<=0?r[a++]:o[s++]}for(;a<r.length;)t[l++]=r[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t.map(pe),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<a.length;o++){var s=a[o],l=e.offsetAt(s.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&r.push(n.substring(i,l)),s.newText.length&&r.push(s.newText),i=e.offsetAt(s.range.end)}return r.push(n.substr(i)),r.join("")}}(oe||(oe={})),function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"}(ae||(ae={})),function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"}(se||(se={})),(le||(le={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[M.Markdown,M.PlainText]}},hover:{contentFormat:[M.Markdown,M.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(ce||(ce={}));var me=o(),fe=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index,t[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){for(;this.position+e.length<=this.source.length;){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){return this.advanceWhileChar((function(e){return e===Ce||e===Ee||e===Se||e===Le||e===xe}))>0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),ge="!".charCodeAt(0),be="-".charCodeAt(0),_e="<".charCodeAt(0),we=">".charCodeAt(0),ve="/".charCodeAt(0),ye="=".charCodeAt(0),Te='"'.charCodeAt(0),ke="'".charCodeAt(0),Se="\n".charCodeAt(0),xe="\r".charCodeAt(0),Le="\f".charCodeAt(0),Ce=" ".charCodeAt(0),Ee="\t".charCodeAt(0),Ae={"text/x-handlebars-template":!0};function Me(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=se.WithinContent),void 0===i&&(i=!1);var r,o,a,s,l,c=new fe(e,t),h=n,d=0,u=ae.Unknown;function p(){return c.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function m(e,t,n){return u=t,d=e,r=n,t}return{scan:function(){var e=c.pos(),t=h,n=function e(){var t,n=c.pos();if(c.eos())return m(n,ae.EOS);switch(h){case se.WithinComment:return c.advanceIfChars([be,be,we])?(h=se.WithinContent,m(n,ae.EndCommentTag)):(c.advanceUntilChars([be,be,we]),m(n,ae.Comment));case se.WithinDoctype:return c.advanceIfChar(we)?(h=se.WithinContent,m(n,ae.EndDoctypeTag)):(c.advanceUntilChar(we),m(n,ae.Doctype));case se.WithinContent:if(c.advanceIfChar(_e)){if(!c.eos()&&c.peekChar()===ge){if(c.advanceIfChars([ge,be,be]))return h=se.WithinComment,m(n,ae.StartCommentTag);if(c.advanceIfRegExp(/^!doctype/i))return h=se.WithinDoctype,m(n,ae.StartDoctypeTag)}return c.advanceIfChar(ve)?(h=se.AfterOpeningEndTag,m(n,ae.EndTagOpen)):(h=se.AfterOpeningStartTag,m(n,ae.StartTagOpen))}return c.advanceUntilChar(_e),m(n,ae.Content);case se.AfterOpeningEndTag:return p().length>0?(h=se.WithinEndTag,m(n,ae.EndTag)):c.skipWhitespace()?m(n,ae.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(h=se.WithinEndTag,c.advanceUntilChar(we),n<c.pos()?m(n,ae.Unknown,me("error.endTagNameExpected","End tag name expected.")):e());case se.WithinEndTag:if(c.skipWhitespace())return m(n,ae.Whitespace);if(c.advanceIfChar(we))return h=se.WithinContent,m(n,ae.EndTagClose);if(i&&c.peekChar()===_e)return h=se.WithinContent,m(n,ae.EndTagClose,me("error.closingBracketMissing","Closing bracket missing."));t=me("error.closingBracketExpected","Closing bracket expected.");break;case se.AfterOpeningStartTag:return a=p(),l=void 0,s=void 0,a.length>0?(o=!1,h=se.WithinTag,m(n,ae.StartTag)):c.skipWhitespace()?m(n,ae.Whitespace,me("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(h=se.WithinTag,c.advanceUntilChar(we),n<c.pos()?m(n,ae.Unknown,me("error.startTagNameExpected","Start tag name expected.")):e());case se.WithinTag:return c.skipWhitespace()?(o=!0,m(n,ae.Whitespace)):o&&(s=c.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(h=se.AfterAttributeName,o=!1,m(n,ae.AttributeName)):c.advanceIfChars([ve,we])?(h=se.WithinContent,m(n,ae.StartTagSelfClose)):c.advanceIfChar(we)?(h="script"===a?l&&Ae[l]?se.WithinContent:se.WithinScriptContent:"style"===a?se.WithinStyleContent:se.WithinContent,m(n,ae.StartTagClose)):i&&c.peekChar()===_e?(h=se.WithinContent,m(n,ae.StartTagClose,me("error.closingBracketMissing","Closing bracket missing."))):(c.advance(1),m(n,ae.Unknown,me("error.unexpectedCharacterInTag","Unexpected character in tag.")));case se.AfterAttributeName:return c.skipWhitespace()?(o=!0,m(n,ae.Whitespace)):c.advanceIfChar(ye)?(h=se.BeforeAttributeValue,m(n,ae.DelimiterAssign)):(h=se.WithinTag,e());case se.BeforeAttributeValue:if(c.skipWhitespace())return m(n,ae.Whitespace);var r=c.advanceIfRegExp(/^[^\s"'`=<>]+/);if(r.length>0)return c.peekChar()===we&&c.peekChar(-1)===ve&&(c.goBack(1),r=r.substr(0,r.length-1)),"type"===s&&(l=r),h=se.WithinTag,o=!1,m(n,ae.AttributeValue);var d=c.peekChar();return d===ke||d===Te?(c.advance(1),c.advanceUntilChar(d)&&c.advance(1),"type"===s&&(l=c.getSource().substring(n+1,c.pos()-1)),h=se.WithinTag,o=!1,m(n,ae.AttributeValue)):(h=se.WithinTag,o=!1,e());case se.WithinScriptContent:for(var u=1;!c.eos();){var f=c.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===f.length)return c.goToEnd(),m(n,ae.Script);if("\x3c!--"===f)1===u&&(u=2);else if("--\x3e"===f)u=1;else if("/"!==f[1])2===u&&(u=3);else{if(3!==u){c.goBack(f.length);break}u=2}}return h=se.WithinContent,n<c.pos()?m(n,ae.Script):e();case se.WithinStyleContent:return c.advanceUntilRegExp(/<\/style/i),h=se.WithinContent,n<c.pos()?m(n,ae.Styles):e()}return c.advance(1),h=se.WithinContent,m(n,ae.Unknown,t)}();return n===ae.EOS||e!==c.pos()||i&&(n===ae.StartTagClose||n===ae.EndTagClose)?n:(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+h),c.advance(1),m(e,ae.Unknown))},getTokenType:function(){return u},getTokenOffset:function(){return d},getTokenLength:function(){return c.pos()-d},getTokenEnd:function(){return c.pos()},getTokenText:function(){return c.getSource().substring(d,c.pos())},getScannerState:function(){return h},getTokenError:function(){return r}}}function Re(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}var Ie=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Ue(e){return!!e&&function(e,t,n){for(var i=0,r=e.length-1;i<=r;){var o=(i+r)/2|0,a=n(e[o],t);if(a<0)i=o+1;else{if(!(a>0))return o;r=o-1}}return-(i+1)}(Ie,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}var Ne=function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}return Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),e.prototype.isSameTag=function(e){return void 0===this.tag?void 0===e:void 0!==e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=Re(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=Re(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this},e}();function He(e){for(var t=Me(e,void 0,void 0,!0),n=new Ne(0,e.length,[],void 0),i=n,r=-1,o=void 0,a=null,s=t.scan();s!==ae.EOS;){switch(s){case ae.StartTagOpen:var l=new Ne(t.getTokenOffset(),e.length,[],i);i.children.push(l),i=l;break;case ae.StartTag:i.tag=t.getTokenText();break;case ae.StartTagClose:i.parent&&(i.end=t.getTokenEnd(),t.getTokenLength()?(i.startTagEnd=t.getTokenEnd(),i.tag&&Ue(i.tag)&&(i.closed=!0,i=i.parent)):i=i.parent);break;case ae.StartTagSelfClose:i.parent&&(i.closed=!0,i.end=t.getTokenEnd(),i.startTagEnd=t.getTokenEnd(),i=i.parent);break;case ae.EndTagOpen:r=t.getTokenOffset(),o=void 0;break;case ae.EndTag:o=t.getTokenText().toLowerCase();break;case ae.EndTagClose:for(var c=i;!c.isSameTag(o)&&c.parent;)c=c.parent;if(c.parent){for(;i!==c;)i.end=r,i.closed=!1,i=i.parent;i.closed=!0,i.endTagStart=r,i.end=t.getTokenEnd(),i=i.parent}break;case ae.AttributeName:a=t.getTokenText(),(h=i.attributes)||(i.attributes=h={}),h[a]=null;break;case ae.AttributeValue:var h,d=t.getTokenText();(h=i.attributes)&&a&&(h[a]=d,a=null)}s=t.scan()}for(;i.parent;)i.end=e.length,i.closed=!1,i=i.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}var ze={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function We(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function De(e,t){for(var n="";t>0;)1==(1&t)&&(n+=e),e+=e,t>>>=1;return n}var Oe="a".charCodeAt(0),Pe="z".charCodeAt(0),qe="A".charCodeAt(0),Fe="Z".charCodeAt(0),Be="0".charCodeAt(0),je="9".charCodeAt(0);function Ge(e,t){var n=e.charCodeAt(t);return Oe<=n&&n<=Pe||qe<=n&&n<=Fe||Be<=n&&n<=je}function Ve(e){return void 0!==e}var Ke=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name.toLowerCase()]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t},e.prototype.provideValues=function(e,t){var n=this,i=[];t=t.toLowerCase();var r=function(e){e.forEach((function(e){e.name.toLowerCase()===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))},o=this._tagMap[e.toLowerCase()];return o?(r(o.attributes),r(this._globalAttributes),i):[]},e}();function Ye(e,t){var n={kind:t?"markdown":"plaintext",value:""};if(e.description){var i=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);i&&(n.value+=i.value)}if(e.references&&e.references.length>0&&(n.value+="\n\n",n.value+=t?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),""!==n.value)return n}var $e=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},Je=function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Qe=function(){function e(e){this.readDirectory=e,this.atributeCompletions=[]}return e.prototype.onHtmlAttributeValue=function(e){(function(e,t){var n=tt[e];if(n)return"string"==typeof n?n===t:-1!==n.indexOf(t);return!1})(e.tag,e.attribute)&&this.atributeCompletions.push(e)},e.prototype.computeCompletions=function(e,t){return $e(this,void 0,void 0,(function(){var n,i,r,o,a,l,c,h,d,u;return Je(this,(function(p){switch(p.label){case 0:n={items:[],isIncomplete:!1},i=0,r=this.atributeCompletions,p.label=1;case 1:return i<r.length?(o=r[i],function(e){if(We(e,"http")||We(e,"https")||We(e,"//"))return!1;return!0}(a=function(e){return We(e,"'")||We(e,'"')?e.slice(1,-1):e}(e.getText(o.range)))?"."!==a&&".."!==a?[3,2]:(n.isIncomplete=!0,[3,4]):[3,4]):[3,5];case 2:return l=function(e,t,n){var i,r=e.lastIndexOf("/");if(-1===r)i=function(e,t,n){var i=et(e.start,t),r=et(e.end,n);return s.create(i,r)}(n,1,-1);else{var o=t.slice(r+1),a=et(n.end,-1-o.length),l=o.indexOf(" "),c=void 0;c=-1!==l?et(a,l):et(n.end,-1),i=s.create(a,c)}return i}(o.value,a,o.range),[4,this.providePathSuggestions(o.value,l,e,t)];case 3:for(c=p.sent(),h=0,d=c;h<d.length;h++)u=d[h],n.items.push(u);p.label=4;case 4:return i++,[3,1];case 5:return[2,n]}}))}))},e.prototype.providePathSuggestions=function(e,t,n,i){return $e(this,void 0,void 0,(function(){var r,o,a,s,l,c,h,d,u;return Je(this,(function(p){switch(p.label){case 0:if(r=e.substring(0,e.lastIndexOf("/")+1),!(o=i.resolveReference(r||".",n.uri)))return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),a=[],[4,this.readDirectory(o)];case 2:for(s=p.sent(),l=0,c=s;l<c.length;l++)h=c[l],d=h[0],u=h[1],d.charCodeAt(0)!==Xe&&a.push(Ze(d,u===ce.Directory,t));return[2,a];case 3:return p.sent(),[3,4];case 4:return[2,[]]}}))}))},e}(),Xe=".".charCodeAt(0);function Ze(e,t,n){return t?{label:e+="/",kind:I.Folder,textEdit:y.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:e,kind:I.File,textEdit:y.replace(n,e)}}function et(e,t){return a.create(e.line,e.character+t)}var tt={a:"href",area:"href",body:"background",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},nt=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},it=function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},rt=o(),ot=function(){function e(e,t){this.lsOptions=e,this.dataManager=t,this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete2=function(e,t,n,i,r){return nt(this,void 0,void 0,(function(){var o,a,s,l;return it(this,(function(c){switch(c.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(e,t,n,r)];o=new Qe(this.lsOptions.fileSystemProvider.readDirectory),a=this.completionParticipants,this.completionParticipants=[o].concat(a),s=this.doComplete(e,t,n,r),c.label=1;case 1:return c.trys.push([1,,3,4]),[4,o.computeCompletions(e,i)];case 2:return l=c.sent(),[2,{isIncomplete:s.isIncomplete||l.isIncomplete,items:l.items.concat(s.items)}];case 3:return this.completionParticipants=a,[7];case 4:return[2]}}))}))},e.prototype.doComplete=function(e,t,n,i){var r=this._doComplete(e,t,n,i);return this.convertCompletionList(r)},e.prototype._doComplete=function(e,t,n,i){var r={isIncomplete:!1,items:[]},o=this.completionParticipants,l=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)&&(!i||!1!==i[t.getId()])})),c=this.doesSupportMarkdown(),h=e.getText(),d=e.offsetAt(t),u=n.findNodeBefore(d);if(!u)return r;var p,m=Me(h,u.start),f="";function g(t,n){return void 0===n&&(n=d),t>d&&(t=d),{start:e.positionAt(t),end:e.positionAt(n)}}function b(e,t){var n=g(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:e.name,kind:I.Property,documentation:Ye(e,c),textEdit:y.replace(n,e.name),insertTextFormat:U.PlainText})}))})),r}function _(e){for(var t=e;t>0;){var n=h.charAt(t-1);if("\n\r".indexOf(n)>=0)return h.substring(t,e);if(!at(n))return null;t--}return h.substring(0,e)}function w(e,t,n){void 0===n&&(n=d);var i=g(e,n),o=st(h,n,se.WithinEndTag,ae.EndTagClose)?"":">",a=u;for(t&&(a=a.parent);a;){var s=a.tag;if(s&&(!a.closed||a.endTagStart&&a.endTagStart>d)){var p={label:"/"+s,kind:I.Property,filterText:"/"+s,textEdit:y.replace(i,"/"+s+o),insertTextFormat:U.PlainText},m=_(a.start),f=_(e-1);if(null!==m&&null!==f&&m!==f){var b=m+"</"+s+o;p.textEdit=y.replace(g(e-1-f.length),b),p.filterText=f+"</"+s}return r.items.push(p),r}a=a.parent}return t||l.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:"/"+e.name,kind:I.Property,documentation:Ye(e,c),filterText:"/"+e+o,textEdit:y.replace(i,"/"+e+o),insertTextFormat:U.PlainText})}))})),r}function v(t,n){if(i&&i.hideAutoCompleteProposals)return r;if(!Ue(n)){var o=e.positionAt(t);r.items.push({label:"</"+n+">",kind:I.Property,filterText:"</"+n+">",textEdit:y.insert(o,"$0</"+n+">"),insertTextFormat:U.Snippet})}return r}function T(e,t){return b(e,t),w(e,!0,t),r}function k(e,t){void 0===t&&(t=d);for(var i=d;i<t&&"<"!==h[i];)i++;var o=g(e,i),a=st(h,t,se.AfterAttributeName,ae.DelimiterAssign)?"":'="$1"',s=Object.create(null);return l.forEach((function(e){e.provideAttributes(f).forEach((function(e){if(!s[e.name]){s[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&a.length&&(n+=a,(e.valueSet||"style"===e.name)&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),r.items.push({label:e.name,kind:"handler"===e.valueSet?I.Function:I.Value,documentation:Ye(e,c),textEdit:y.replace(o,n),insertTextFormat:U.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!We(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return r.items.push({label:t,kind:I.Value,textEdit:y.replace(e,i[t]),insertTextFormat:U.Snippet})}))}(o,s),r}function S(n,i){var a,s,u,m;if(void 0===i&&(i=d),d>n&&d<=i&&(m=h[n],/^["']*$/.test(m))){var b=n+1,_=i;i>n&&h[i-1]===h[n]&&_--;var w=function(e,t,n){for(;t>n&&!at(e[t-1]);)t--;return t}(h,d,b),v=function(e,t,n){for(;t<n&&!at(e[t]);)t++;return t}(h,d,_);a=g(w,v),u=d>=b&&d<=_?h.substring(b,d):"",s=!1}else a=g(n,i),u=h.substring(n,d),s=!0;if(o.length>0)for(var T=f.toLowerCase(),k=p.toLowerCase(),S=g(n,i),x=0,L=o;x<L.length;x++){var E=L[x];E.onHtmlAttributeValue&&E.onHtmlAttributeValue({document:e,position:t,tag:T,attribute:k,value:u,range:S})}return l.forEach((function(e){e.provideValues(f,p).forEach((function(e){var t=s?'"'+e.name+'"':e.name;r.items.push({label:e.name,filterText:t,kind:I.Unit,documentation:Ye(e,c),textEdit:y.replace(a,t),insertTextFormat:U.PlainText})}))})),C(),r}function x(e){return d===m.getTokenEnd()&&(A=m.scan())===e&&m.getTokenOffset()===d?m.getTokenEnd():d}function L(){for(var n=0,i=o;n<i.length;n++){var r=i[n];r.onHtmlContent&&r.onHtmlContent({document:e,position:t})}return C()}function C(){for(var e,n,i,o=d-1,l=t.character;o>=0&&Ge(h,o);)o--,l--;if(o>=0&&"&"===h[o]){var c=s.create(a.create(t.line,l-1),t);for(var u in ze)if(n=";",i=void 0,(i=(e=u).length-n.length)>0?e.lastIndexOf(n)===i:0===i&&e===n){var p="&"+u;r.items.push({label:p,kind:I.Keyword,documentation:rt("entity.propose","Character entity representing '"+ze[u]+"'"),textEdit:y.replace(c,p),insertTextFormat:U.PlainText})}}return r}for(var E,A=m.scan();A!==ae.EOS&&m.getTokenOffset()<=d;){switch(A){case ae.StartTagOpen:if(m.getTokenEnd()===d){var M=x(ae.StartTag);return 0===t.line&&(E=void 0,E=g(d,M),r.items.push({label:"!DOCTYPE",kind:I.Property,documentation:"A preamble for an HTML document.",textEdit:y.replace(E,"!DOCTYPE html>"),insertTextFormat:U.PlainText})),T(d,M)}break;case ae.StartTag:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return b(m.getTokenOffset(),m.getTokenEnd());f=m.getTokenText();break;case ae.AttributeName:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return k(m.getTokenOffset(),m.getTokenEnd());p=m.getTokenText();break;case ae.DelimiterAssign:if(m.getTokenEnd()===d){M=x(ae.AttributeValue);return S(d,M)}break;case ae.AttributeValue:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return S(m.getTokenOffset(),m.getTokenEnd());break;case ae.Whitespace:if(d<=m.getTokenEnd())switch(m.getScannerState()){case se.AfterOpeningStartTag:return T(m.getTokenOffset(),x(ae.StartTag));case se.WithinTag:case se.AfterAttributeName:return k(m.getTokenEnd());case se.BeforeAttributeValue:return S(m.getTokenEnd());case se.AfterOpeningEndTag:return w(m.getTokenOffset()-1,!1);case se.WithinContent:return L()}break;case ae.EndTagOpen:if(d<=m.getTokenEnd())return w(m.getTokenOffset()+1,!1,x(ae.EndTag));break;case ae.EndTag:if(d<=m.getTokenEnd())for(var R=m.getTokenOffset()-1;R>=0;){var N=h.charAt(R);if("/"===N)return w(R,!1,m.getTokenEnd());if(!at(N))break;R--}break;case ae.StartTagClose:if(d<=m.getTokenEnd()&&f)return v(m.getTokenEnd(),f);break;case ae.Content:if(d<=m.getTokenEnd())return L();break;default:if(d<=m.getTokenEnd())return r}A=m.scan()}return r},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var r=e.getText().charAt(i-1);if(">"===r){if((a=n.findNodeBefore(i))&&a.tag&&!Ue(a.tag)&&a.start<i&&(!a.endTagStart||a.endTagStart>i))for(var o=(s=Me(e.getText(),a.start)).scan();o!==ae.EOS&&s.getTokenEnd()<=i;){if(o===ae.StartTagClose&&s.getTokenEnd()===i)return"$0</"+a.tag+">";o=s.scan()}}else if("/"===r){for(var a=n.findNodeBefore(i);a&&a.closed;)a=a.parent;if(a&&a.tag){var s;for(o=(s=Me(e.getText(),a.start)).scan();o!==ae.EOS&&s.getTokenEnd()<=i;){if(o===ae.EndTagOpen&&s.getTokenEnd()===i)return a.tag+">";o=s.scan()}}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!Ve(this.supportsMarkdown)){if(!Ve(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(M.Markdown)}return this.supportsMarkdown},e}();function at(e){return/^\s*$/.test(e)}function st(e,t,n,i){for(var r=Me(e,t,n),o=r.scan();o===ae.Whitespace;)o=r.scan();return o===i}var lt=function(){function e(e,t){this.lsOptions=e,this.dataManager=t}return e.prototype.doHover=function(e,t,n){var i=this.convertContents.bind(this),r=this.doesSupportMarkdown(),o=e.offsetAt(t),a=n.findNodeAt(o);if(!a||!a.tag)return null;var s=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)}));function l(e,t,n){for(var o=function(n){var o=null;if(n.provideTags().forEach((function(n){if(n.name.toLowerCase()===e.toLowerCase()){var i=Ye(n,r);i||(i={kind:r?"markdown":"plaintext",value:""}),o={contents:i,range:t}}})),o)return o.contents=i(o.contents),{value:o}},a=0,l=s;a<l.length;a++){var c=o(l[a]);if("object"==typeof c)return c.value}return null}function c(t,n){for(var i=Me(e.getText(),n),r=i.scan();r!==ae.EOS&&(i.getTokenEnd()<o||i.getTokenEnd()===o&&r!==t);)r=i.scan();return r===t&&o<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(a.endTagStart&&o>=a.endTagStart){var h=c(ae.EndTag,a.endTagStart);return h?l(a.tag,h):null}var d=c(ae.StartTag,a.start);if(d)return l(a.tag,d);var u=c(ae.AttributeName,a.start);if(u)return function(e,t,n){for(var o=function(o){var a=null;if(o.provideAttributes(e).forEach((function(e){if(t===e.name&&e.description){var i=Ye(e,r);a=i?{contents:i,range:n}:null}})),a)return a.contents=i(a.contents),{value:a}},a=0,l=s;a<l.length;a++){var c=o(l[a]);if("object"==typeof c)return c.value}return null}(m=a.tag,e.getText(u),u);var p=c(ae.AttributeValue,a.start);if(p){var m=a.tag,f=function(e){if(e.length<=1)return e.replace(/['"]/,"");"'"!==e[0]&&'"'!==e[0]||(e=e.slice(1));"'"!==e[e.length-1]&&'"'!==e[e.length-1]||(e=e.slice(0,-1));return e}(e.getText(p)),g=function(t,n){for(var i=Me(e.getText(),t),r=i.scan(),o=void 0;r!==ae.EOS&&i.getTokenEnd()<=n;)(r=i.scan())===ae.AttributeName&&(o=i.getTokenText());return o}(a.start,e.offsetAt(p.start));if(g)return function(e,t,n,o){for(var a=function(a){var s=null;if(a.provideValues(e,t).forEach((function(e){if(n===e.name&&e.description){var t=Ye(e,r);s=t?{contents:t,range:o}:null}})),s)return s.contents=i(s.contents),{value:s}},l=0,c=s;l<c.length;l++){var h=a(c[l]);if("object"==typeof h)return h.value}return null}(m,g,f,p)}return null},e.prototype.convertContents=function(e){if(!this.doesSupportMarkdown()){if("string"==typeof e)return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(!Array.isArray(e))return e.value;e.map((function(e){return"string"==typeof e?e:e.value}))}return e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!Ve(this.supportsMarkdown)){if(!Ve(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities)||void 0===e?void 0:e.textDocument)||void 0===t?void 0:t.hover)||void 0===n?void 0:n.contentFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(M.Markdown)}return this.supportsMarkdown},e}();function ct(e,t){return e}var ht=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},,,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,r=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(17).Options,r=n(2).Output,o=n(8).InputScanner,a=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,h=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=!0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&s.test(e||"")&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new o(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,f=!1,g=!1,b=!1,_=!1,w=!1,v=this._ch;i=""!==this._input.read(h),p=v,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),v=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(d),T=a.get_directives(y);T&&"start"===T.ignore&&(y+=a.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s$/,""),this.print_string(k),this._output.space_before_token=!0),"extend"===(k=k.replace(/\s$/,""))?_=!0:"import"===k&&(w=!0),k in this.NESTED_AT_RULE?(this._nestedLevel+=1,k in this.CONDITIONAL_GROUP_RULE&&(b=!0)):f||0!==m||-1===k.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),b?(b=!1,f=this._indentLevel>this._nestedLevel):f=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),w=!1,_=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(g&&(this.outdent(),g=!1),_=!1,w=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==m||w?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}r.prototype=new i,e.exports.Options=r}]),dt=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},function(e,t,n){var i=n(8).InputScanner,r=n(3).Token,o=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new o,this._reset();for(var t=new r(s.START,""),n=null,i=[],a=new o;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)a.add(e),e=this._get_next_token(t,n);a.isEmpty()||(e.comments_before=a,a=new o),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new r(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=s},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function r(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},r.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],r=e.exec(t);r;)i.push(t.substring(n,r.index)),n=r.index+r[0].length,r=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=r},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function o(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}o.prototype=new i,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},o.prototype.read_options=function(e){var t=this._create();for(var n in r)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},o.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},o.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},o.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},o.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=o},,,,function(e,t,n){var i=n(19).Beautifier,r=n(20).Options;e.exports=function(e,t,n,r){return new i(e,t,n,r).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(20).Options,r=n(2).Output,o=n(21).Tokenizer,a=n(21).TOKEN,s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new r(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==a.TEXT&&e.previous.type!==a.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var h=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==a.EOF&&e.closed!==n;){if(n.type===a.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===a.EQUALS&&n.next.next&&n.next.next.type===a.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function d(e,t){return-1!==t.indexOf(e)}function u(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,r){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var o=new i(t,"html");this._options=o,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&s.test(e)&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},r=new f,h=new c(this._options,n),d=new o(e,this._options).tokenize();this._tag_stack=new p(h);for(var u=null,m=d.next();m.type!==a.EOF;)m.type===a.TAG_OPEN||m.type===a.COMMENT?r=u=this._handle_tag_open(h,m,r,i):m.type===a.ATTRIBUTE||m.type===a.EQUALS||m.type===a.VALUE||m.type===a.TEXT&&!r.tag_complete?u=this._handle_inside_tag(h,m,r,d):m.type===a.TAG_CLOSE?u=this._handle_tag_close(h,m,r):m.type===a.TEXT?u=this._handle_text(h,m,r):h.add_raw_token(m),i=u,m=d.next();return h._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var r=n.has_wrapped_attrs,o={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===a.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===a.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===a.EQUALS||t.type===a.VALUE&&t.previous.type===a.EQUALS)&&e.set_space_before_token(!1),t.type===a.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),r=r||0!==t.newlines),this._is_wrap_attributes_force)){var s=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,h=0;do{if((l=i.peek(h)).type===a.ATTRIBUTE){c=!1;break}h+=1}while(h<4&&l.type!==a.EOF&&l.type!==a.TAG_CLOSE);s=!c}s&&(e.print_newline(!1),r=!0)}e.print_token(t),r=r||e.previous_token_wrapped(),n.has_wrapped_attrs=r}return o},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var r,o=t.text,a=1,s="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?a=0:"separate"===this._options.indent_scripts&&(a=-e.indent_level);var c=e.get_full_indent(a);if(o=o.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===o[0]&&o.match(/^(<!--|<!\[CDATA\[)/)){var h=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(o);if(!h)return void e.add_raw_token(t);s=c+h[1]+"\n",o=h[4],h[5]&&(l=c+h[5]),o=o.replace(/\n[ \t]*$/,""),(h[2]||-1!==h[3].indexOf("\n"))&&(h=h[3].match(/[ \t]+$/))&&(t.whitespace_before=h[0])}if(o)if(r){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,o=r(c+o,new d)}else{var u=t.whitespace_before;u&&(o=o.replace(new RegExp("\n("+u+")?","g"),"\n")),o=c+o.replace(/\n/g,"\n"+c)}s&&(o=o?s+o+"\n"+l:s+l),e.print_newline(!1),o&&(t.text=o,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var r=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===a.TAG_OPEN&&0===t.text.indexOf("</")?(e.add_raw_token(t),r.start_tag_token=this._tag_stack.try_pop(r.tag_name)):(e.traverse_whitespace(t),this._set_tag_position(e,t,r,n,i),r.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=t.text.length+1),r.tag_complete||r.is_unformatted||(e.alignment_size=r.alignment_size),r};var f=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===t.text&&">"===this.tag_check&&null!==t.next&&(this.tag_check=t.next.text)),this.tag_check=this.tag_check.toLowerCase(),t.type===a.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new f(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||d(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&d(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&d(t.tag_check,this._options.content_unformatted),t.is_inline_element=d(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=h(n.tag_check,t)))),d(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&r.type===a.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||r.type===a.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===r.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===r.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))};var g=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],b=["a","audio","del","ins","map","noscript","video"];m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==g.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==b.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,e.exports.Options=r},function(e,t,n){var i=n(9).Tokenizer,r=n(9).TOKEN,o=n(13).Directives,a=n(14).TemplatablePattern,s=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new o(/<\!--/,/-->/),h=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new a(this._input).read_options(this._options),r=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(o).until_after(o)}};(h.prototype=new i)._is_comment=function(e){return!1},h.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},h.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},h.prototype._reset=function(){this._current_tag_name=""},h.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(i,e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},h.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i));return t},h.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},h.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},h.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},h.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},h.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var o=this._input.next();o+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,o)}else(r=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},h.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},h.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]){var r=t.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var o=this._read_comment_or_cdata(e);if(o)return o.type=l.TEXT,o;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},h.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=h,e.exports.TOKEN=l}]);function ut(e,t,n){var i=e.getText(),r=!0,o=0,l=n.tabSize||4;if(t){for(var c=e.offsetAt(t.start),h=c;h>0&>(i,h-1);)h--;0===h||ft(i,h-1)?c=h:h<c&&(c=h+1);for(var d=e.offsetAt(t.end),u=d;u<i.length&>(i,u);)u++;(u===i.length||ft(i,u))&&(d=u),t=s.create(e.positionAt(c),e.positionAt(d));var p=i.substring(0,c);if(new RegExp(/.*[<][^>]*$/).test(p))return[{range:t,newText:i=i.substring(c,d)}];if(r=d===i.length,i=i.substring(c,d),0!==c){var m=e.offsetAt(a.create(t.start.line,0));o=function(e,t,n){var i=t,r=0,o=n.tabSize||4;for(;i<e.length;){var a=e.charAt(i);if(" "===a)r++;else{if("\t"!==a)break;r+=o}i++}return Math.floor(r/o)}(e.getText(),m,n)}}else t=s.create(a.create(0,0),e.positionAt(i.length));var f={indent_size:l,indent_char:n.insertSpaces?" ":"\t",indent_empty_lines:pt(n,"indentEmptyLines",!1),wrap_line_length:pt(n,"wrapLineLength",120),unformatted:mt(n,"unformatted",void 0),content_unformatted:mt(n,"contentUnformatted",void 0),indent_inner_html:pt(n,"indentInnerHtml",!1),preserve_newlines:pt(n,"preserveNewLines",!0),max_preserve_newlines:pt(n,"maxPreserveNewLines",32786),indent_handlebars:pt(n,"indentHandlebars",!1),end_with_newline:r&&pt(n,"endWithNewline",!1),extra_liners:mt(n,"extraLiners",void 0),wrap_attributes:pt(n,"wrapAttributes","auto"),wrap_attributes_indent_size:pt(n,"wrapAttributesIndentSize",void 0),eol:"\n"},g=function(e,t){return dt(e,t,ct,ht)}(i.replace(/^\s+/,""),f);if(o>0){var b=n.insertSpaces?De(" ",l*o):De("\t",o);g=g.split("\n").join("\n"+b),0===t.start.character&&(g=b+g)}return[{range:t,newText:g}]}function pt(e,t,n){if(e&&e.hasOwnProperty(t)){var i=e[t];if(null!==i)return i}return n}function mt(e,t,n){var i=pt(e,t,null);return"string"==typeof i?i.length>0?i.split(",").map((function(e){return e.trim().toLowerCase()})):[]:n}function ft(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function gt(e,t){return-1!==" \t".indexOf(e.charAt(t))}var bt=n(176);function _t(e){var t=e[0];return t!==e[e.length-1]||"'"!==t&&'"'!==t||(e=e.substr(1,e.length-2)),e}function wt(e,t,n,i,r,o){var a=_t(n);if(l=a,c=e.languageId,l.length&&("handlebars"!==c||!/{{.*}}/.test(l))&&/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(l)){var l,c;a.length<n.length&&(i++,r--);var h=function(e,t,n,i){if(!/^\s*javascript\:/i.test(t)&&!/[\n\r]/.test(t))return t=t.replace(/^\s*/g,""),/^https?:\/\//i.test(t)||/^file:\/\//i.test(t)?t:/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(We(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}(e.uri,a,t,o);if(h&&function(e){try{return bt.a.parse(e),!0}catch(e){return!1}}(h))return{range:s.create(e.positionAt(i),e.positionAt(r)),target:h}}}function vt(e,t){for(var n=[],i=Me(e.getText(),0),r=i.scan(),o=void 0,a=!1,s=void 0,l={};r!==ae.EOS;){switch(r){case ae.StartTag:if(!s)a="base"===i.getTokenText().toLowerCase();break;case ae.AttributeName:o=i.getTokenText().toLowerCase();break;case ae.AttributeValue:if("src"===o||"href"===o){var c=i.getTokenText();if(!a)(u=wt(e,t,c,i.getTokenOffset(),i.getTokenEnd(),s))&&n.push(u);a&&void 0===s&&(s=_t(c))&&t&&(s=t.resolveReference(s,e.uri)),a=!1,o=void 0}else if("id"===o){l[_t(i.getTokenText())]=i.getTokenOffset()}}r=i.scan()}for(var h=0,d=n;h<d.length;h++){var u=d[h],p=e.uri+"#";if(u.target&&We(u.target,p)){var m=l[u.target.substr(p.length)];if(void 0!==m){var f=e.positionAt(m);u.target=""+p+(f.line+1)+","+(f.character+1)}}}return n}function yt(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];var o=[],a=St(ae.StartTag,e,r.start),s="number"==typeof r.endTagStart&&St(ae.EndTag,e,r.endTagStart);return(a&&kt(a,t)||s&&kt(s,t))&&(a&&o.push({kind:F.Read,range:a}),s&&o.push({kind:F.Read,range:s})),o}function Tt(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function kt(e,t){return Tt(e.start,t)&&Tt(t,e.end)}function St(e,t,n){for(var i=Me(t.getText(),n),r=i.scan();r!==ae.EOS&&r!==e;)r=i.scan();return r!==ae.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function xt(e,t){var n=[];return t.roots.forEach((function(t){!function e(t,n,i,r){var o=function(e){var t=e.tag;if(e.attributes){var n=e.attributes.id,i=e.attributes.class;n&&(t+="#"+n.replace(/[\"\']/g,"")),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map((function(e){return"."+e})).join(""))}return t||"?"}(n),a=l.create(t.uri,s.create(t.positionAt(n.start),t.positionAt(n.end))),c={name:o,location:a,containerName:i,kind:j.Field};r.push(c),n.children.forEach((function(n){e(t,n,o,r)}))}(e,t,"",n)})),n}function Lt(e,t,n,i){var r,o=e.offsetAt(t),a=i.findNodeAt(o);if(!a.tag)return null;if(!function(e,t,n){if(e.endTagStart&&e.endTagStart+"</".length<=t&&t<=e.endTagStart+"</".length+n.length)return!0;return e.start+"<".length<=t&&t<=e.start+"<".length+n.length}(a,o,a.tag))return null;var s=[],l={start:e.positionAt(a.start+"<".length),end:e.positionAt(a.start+"<".length+a.tag.length)};if(s.push({range:l,newText:n}),a.endTagStart){var c={start:e.positionAt(a.endTagStart+"</".length),end:e.positionAt(a.endTagStart+"</".length+a.tag.length)};s.push({range:c,newText:n})}return{changes:((r={})[e.uri.toString()]=s,r)}}function Ct(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return null;if(!r.endTagStart)return null;if(r.start+"<".length<=i&&i<=r.start+"<".length+r.tag.length){var o=i-"<".length-r.start+r.endTagStart+"</".length;return e.positionAt(o)}if(r.endTagStart+"</".length<=i&&i<=r.endTagStart+"</".length+r.tag.length){o=i-"</".length-r.endTagStart+r.start+"<".length;return e.positionAt(o)}return null}function Et(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i),o=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+"<".length<=i&&i<=r.start+"<".length+o||r.endTagStart+"</".length<=i&&i<=r.endTagStart+"</".length+o)?[s.create(e.positionAt(r.start+"<".length),e.positionAt(r.start+"<".length+o)),s.create(e.positionAt(r.endTagStart+"</".length),e.positionAt(r.endTagStart+"</".length+o))]:null}function At(e,t){var n=Me(e.getText()),i=n.scan(),r=[],o=[],a=null,s=-1;function l(e){r.push(e),s=e.startLine}for(;i!==ae.EOS;){switch(i){case ae.StartTag:var c=n.getTokenText(),h=e.positionAt(n.getTokenOffset()).line;o.push({startLine:h,tagName:c}),a=c;break;case ae.EndTag:a=n.getTokenText();break;case ae.StartTagClose:if(!a||!Ue(a))break;case ae.EndTagClose:case ae.StartTagSelfClose:for(var d=o.length-1;d>=0&&o[d].tagName!==a;)d--;if(d>=0){var u=o[d];o.length=d,(f=e.positionAt(n.getTokenOffset()).line-1)>(h=u.startLine)&&s!==h&&l({startLine:h,endLine:f})}break;case ae.Comment:h=e.positionAt(n.getTokenOffset()).line;var m=n.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(m)if(m[1])o.push({startLine:h,tagName:""});else{for(d=o.length-1;d>=0&&o[d].tagName.length;)d--;if(d>=0){var f;u=o[d];o.length=d,(f=h)>(h=u.startLine)&&s!==h&&l({startLine:h,endLine:f,kind:p.Region})}}else h<(f=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line)&&l({startLine:h,endLine:f,kind:p.Comment})}i=n.scan()}var g=t&&t.rangeLimit||Number.MAX_VALUE;return r.length>g?function(e,t){e=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n}));for(var n=void 0,i=[],r=[],o=[],a=function(e,t){r[e]=t,t<30&&(o[t]=(o[t]||0)+1)},s=0;s<e.length;s++){var l=e[s];if(n){if(l.startLine>n.startLine)if(l.endLine<=n.endLine)i.push(n),n=l,a(s,i.length);else if(l.startLine>n.endLine){do{n=i.pop()}while(n&&l.startLine>n.endLine);n&&i.push(n),n=l,a(s,i.length)}}else n=l,a(s,0)}var c=0,h=0;for(s=0;s<o.length;s++){var d=o[s];if(d){if(d+c>t){h=s;break}c+=d}}var u=[];for(s=0;s<e.length;s++){var p=r[s];"number"==typeof p&&(p<h||p===h&&c++<t)&&u.push(e[s])}return u}(r,g):r}function Mt(e,t){return t.map((function(t){for(var n=function(e,t){var n=He(e.getText()),i=e.offsetAt(t),r=n.findNodeAt(i),o=function(e){var t=e,n=[];for(;t.parent;)t=t.parent,(i=t,i.startTagEnd&&i.endTagStart&&i.startTagEnd<i.endTagStart?[[i.startTagEnd,i.endTagStart],[i.start,i.end]]:[[i.start,i.end]]).forEach((function(e){return n.push(e)}));var i;return n}(r);if(r.startTagEnd&&!r.endTagStart){if(r.startTagEnd!==r.end)return[[r.start,r.end]];var a=s.create(e.positionAt(r.startTagEnd-2),e.positionAt(r.startTagEnd));"/>"===e.getText(a)?o.unshift([r.start+1,r.startTagEnd-2]):o.unshift([r.start+1,r.startTagEnd-1]);var l=Rt(e,r,i);return o=l.concat(o)}if(!r.startTagEnd||!r.endTagStart)return o;if(o.unshift([r.start,r.end]),r.start<i&&i<r.startTagEnd){o.unshift([r.start+1,r.startTagEnd-1]);l=Rt(e,r,i);return o=l.concat(o)}return r.startTagEnd<=i&&i<=r.endTagStart?(o.unshift([r.startTagEnd,r.endTagStart]),o):(i>=r.endTagStart+2&&o.unshift([r.endTagStart+2,r.end-1]),o)}(e,t),i=void 0,r=void 0,o=n.length-1;o>=0;o--){var a=n[o];i&&a[0]===i[0]&&a[1]===i[1]||(r=ee.create(s.create(e.positionAt(n[o][0]),e.positionAt(n[o][1])),r)),i=a}return r||(r=ee.create(s.create(t,t))),r}))}function Rt(e,t,n){for(var i=s.create(e.positionAt(t.start),e.positionAt(t.end)),r=e.getText(i),o=n-t.start,a=Me(r),l=a.scan(),c=t.start,h=[],d=!1,u=-1;l!==ae.EOS;){switch(l){case ae.AttributeName:if(o<a.getTokenOffset()){d=!1;break}o<=a.getTokenEnd()&&h.unshift([a.getTokenOffset(),a.getTokenEnd()]),d=!0,u=a.getTokenOffset();break;case ae.AttributeValue:if(!d)break;var p=a.getTokenText();if(o<a.getTokenOffset()){h.push([u,a.getTokenEnd()]);break}o>=a.getTokenOffset()&&o<=a.getTokenEnd()&&(h.unshift([a.getTokenOffset(),a.getTokenEnd()]),('"'===p[0]&&'"'===p[p.length-1]||"'"===p[0]&&"'"===p[p.length-1])&&o>=a.getTokenOffset()+1&&o<=a.getTokenEnd()-1&&h.unshift([a.getTokenOffset()+1,a.getTokenEnd()-1]),h.push([u,a.getTokenEnd()]))}l=a.scan()}return h.map((function(e){return[e[0]+c,e[1]+c]}))}var It={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]},Ut=function(){function e(e){this.dataProviders=[],this.setDataProviders(!1!==e.useDefaultDataProvider,e.customDataProviders||[])}return e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new Ke("html5",It)),(n=this.dataProviders).push.apply(n,t)},e.prototype.getDataProviders=function(){return this.dataProviders},e}(),Nt={};function Ht(e){void 0===e&&(e=Nt);var t=new Ut(e),n=new lt(e,t),i=new ot(e,t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:Me,parseHTMLDocument:function(e){return He(e.getText())},doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:ut,findDocumentHighlights:yt,findDocumentLinks:vt,findDocumentSymbols:xt,getFoldingRanges:At,getSelectionRanges:Mt,doTagComplete:i.doTagComplete.bind(i),doRename:Lt,findMatchingTagPosition:Ct,findOnTypeRenameRanges:Et}}},346:function(e,t,n){"use strict";n.r(t);var i=n(131),r=n(31),o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},s=function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=r.h()}return e.prototype.doValidation=function(e){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,Promise.resolve([])]}))}))},e.prototype.doComplete=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return s(this,(function(r){return n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),[2,Promise.resolve(this._languageService.doComplete(n,t,i,this._languageSettings&&this._languageSettings.suggest))]}))}))},e.prototype.format=function(e,t,n){return a(this,void 0,void 0,(function(){var i,r,a;return s(this,(function(s){return i=this._getTextDocument(e),r=o(o({},this._languageSettings.format),n),a=this._languageService.format(i,t,r),[2,Promise.resolve(a)]}))}))},e.prototype.doHover=function(e,t){return a(this,void 0,void 0,(function(){var n,i,r;return s(this,(function(o){return n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),r=this._languageService.doHover(n,t,i),[2,Promise.resolve(r)]}))}))},e.prototype.findDocumentHighlights=function(e,t){return a(this,void 0,void 0,(function(){var n,i,r;return s(this,(function(o){return n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentHighlights(n,t,i),[2,Promise.resolve(r)]}))}))},e.prototype.findDocumentLinks=function(e){return a(this,void 0,void 0,(function(){var t,n;return s(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.findDocumentLinks(t,null),[2,Promise.resolve(n)]}))}))},e.prototype.findDocumentSymbols=function(e){return a(this,void 0,void 0,(function(){var t,n,i;return s(this,(function(r){return t=this._getTextDocument(e),n=this._languageService.parseHTMLDocument(t),i=this._languageService.findDocumentSymbols(t,n),[2,Promise.resolve(i)]}))}))},e.prototype.getFoldingRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return s(this,(function(r){return n=this._getTextDocument(e),i=this._languageService.getFoldingRanges(n,t),[2,Promise.resolve(i)]}))}))},e.prototype.getSelectionRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return s(this,(function(r){return n=this._getTextDocument(e),i=this._languageService.getSelectionRanges(n,t),[2,Promise.resolve(i)]}))}))},e.prototype.doRename=function(e,t,n){return a(this,void 0,void 0,(function(){var i,r,o;return s(this,(function(a){return i=this._getTextDocument(e),r=this._languageService.parseHTMLDocument(i),o=this._languageService.doRename(i,t,n,r),[2,Promise.resolve(o)]}))}))},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var i=n[t];if(i.uri.toString()===e)return r.g.create(e,this._languageId,i.version,i.getValue())}return null},e}();self.onmessage=function(){i.initialize((function(e,t){return new l(e,t)}))}},36:function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function r(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}))},37:function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const i=[];if(0===n)return[i,t];const r=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=r.next();if(t.done)return[i,e.empty()];i.push(t.value)}return[i,{[Symbol.iterator]:()=>r}]}}(i||(i={}))},40:function(e,t,n){"use strict";var i,r,o,a,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k,S,x,L,C,E,A,M,R,I,U,N,H;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return g})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return w})),n.d(t,"r",(function(){return v})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return T})),n.d(t,"u",(function(){return k})),n.d(t,"v",(function(){return S})),n.d(t,"w",(function(){return x})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return E})),n.d(t,"A",(function(){return A})),n.d(t,"B",(function(){return M})),n.d(t,"C",(function(){return R})),n.d(t,"D",(function(){return I})),n.d(t,"E",(function(){return U})),n.d(t,"F",(function(){return N})),n.d(t,"G",(function(){return H})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(r||(r={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(a||(a={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(s||(s={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(h||(h={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(u||(u={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(p||(p={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(g||(g={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(b||(b={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(_||(_={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(w||(w={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(v||(v={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(y||(y={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(T||(T={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(k||(k={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(S||(S={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(x||(x={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(L||(L={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(C||(C={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(E||(E={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(A||(A={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(M||(M={})),function(e){e[e.Deprecated=1]="Deprecated"}(R||(R={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(I||(I={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(U||(U={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(N||(N={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(H||(H={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _})),n.d(t,"h",(function(){return w}));var i=n(28);class r extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const r=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${r} ${i} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new r(t,"string",e)}function a(e){return 47===e||92===e}function s(e){return 47===e}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,i){let r="",o=0,a=-1,s=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(i(l))break;l=47}if(i(l)){if(a===c-1||1===s);else if(2===s){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){const e=r.lastIndexOf(n);-1===e?(r="",o=0):(r=r.slice(0,e),o=r.length-1-r.lastIndexOf(n)),a=c,s=0;continue}if(0!==r.length){r="",o=0,a=c,s=0;continue}}t&&(r+=r.length>0?n+"..":"..",o=2)}else r.length>0?r+=`${n}${e.slice(a+1,c)}`:r=e.slice(a+1,c),o=c-a-1;a=c,s=0}else 46===l&&-1!==s?++s:s=-1}return r}function h(e,t){if(null===t||"object"!=typeof t)throw new r("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const d={resolve(...e){let t="",n="",r=!1;for(let s=e.length-1;s>=-1;s--){let c;if(s>=0){if(c=e[s],o(c,"path"),0===c.length)continue}else 0===t.length?c=i.a():(c=i.b["="+t]||i.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const h=c.length;let d=0,u="",p=!1;const m=c.charCodeAt(0);if(1===h)a(m)&&(d=1,p=!0);else if(a(m))if(p=!0,a(c.charCodeAt(1))){let e=2,t=e;for(;e<h&&!a(c.charCodeAt(e));)e++;if(e<h&&e!==t){const n=c.slice(t,e);for(t=e;e<h&&a(c.charCodeAt(e));)e++;if(e<h&&e!==t){for(t=e;e<h&&!a(c.charCodeAt(e));)e++;e!==h&&e===t||(u=`\\\\${n}\\${c.slice(t,e)}`,d=e)}}}else d=1;else l(m)&&58===c.charCodeAt(1)&&(u=c.slice(0,2),d=2,h>2&&a(c.charCodeAt(2))&&(p=!0,d=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(r){if(t.length>0)break}else if(n=`${c.slice(d)}\\${n}`,r=p,p&&t.length>0)break}return n=c(n,!r,"\\",a),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,i=0,r=!1;const h=e.charCodeAt(0);if(1===t)return s(h)?"\\":e;if(a(h))if(r=!0,a(e.charCodeAt(1))){let r=2,o=r;for(;r<t&&!a(e.charCodeAt(r));)r++;if(r<t&&r!==o){const s=e.slice(o,r);for(o=r;r<t&&a(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&!a(e.charCodeAt(r));)r++;if(r===t)return`\\\\${s}\\${e.slice(o)}\\`;r!==o&&(n=`\\\\${s}\\${e.slice(o,r)}`,i=r)}}}else i=1;else l(h)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),i=2,t>2&&a(e.charCodeAt(2))&&(r=!0,i=3));let d=i<t?c(e.slice(i),!r,"\\",a):"";return 0!==d.length||r||(d="."),d.length>0&&a(e.charCodeAt(t-1))&&(d+="\\"),void 0===n?r?"\\"+d:d:r?`${n}\\${d}`:`${n}${d}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return a(n)||t>2&&l(n)&&58===e.charCodeAt(1)&&a(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let i=0;i<e.length;++i){const r=e[i];o(r,"path"),r.length>0&&(void 0===t?t=n=r:t+="\\"+r)}if(void 0===t)return".";let i=!0,r=0;if("string"==typeof n&&a(n.charCodeAt(0))){++r;const e=n.length;e>1&&a(n.charCodeAt(1))&&(++r,e>2&&(a(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&a(t.charCodeAt(r));)r++;r>=2&&(t="\\"+t.slice(r))}return d.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=d.resolve(e),i=d.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let r=0;for(;r<e.length&&92===e.charCodeAt(r);)r++;let a=e.length;for(;a-1>r&&92===e.charCodeAt(a-1);)a--;const s=a-r;let l=0;for(;l<t.length&&92===t.charCodeAt(l);)l++;let c=t.length;for(;c-1>l&&92===t.charCodeAt(c-1);)c--;const h=c-l,u=s<h?s:h;let p=-1,m=0;for(;m<u;m++){const n=e.charCodeAt(r+m);if(n!==t.charCodeAt(l+m))break;92===n&&(p=m)}if(m!==u){if(-1===p)return i}else{if(h>u){if(92===t.charCodeAt(l+m))return i.slice(l+m+1);if(2===m)return i.slice(l+m)}s>u&&(92===e.charCodeAt(r+m)?p=m:2===m&&(p=3)),-1===p&&(p=0)}let f="";for(m=r+p+1;m<=a;++m)m!==a&&92!==e.charCodeAt(m)||(f+=0===f.length?"..":"\\..");return l+=p,f.length>0?`${f}${i.slice(l,c)}`:(92===i.charCodeAt(l)&&++l,i.slice(l,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=d.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(1===t)return a(r)?e:".";if(a(r)){if(n=i=1,a(e.charCodeAt(1))){let r=2,o=r;for(;r<t&&!a(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&a(e.charCodeAt(r));)r++;if(r<t&&r!==o){for(o=r;r<t&&!a(e.charCodeAt(r));)r++;if(r===t)return e;r!==o&&(n=i=r+1)}}}}else l(r)&&58===e.charCodeAt(1)&&(n=t>2&&a(e.charCodeAt(2))?3:2,i=n);let s=-1,c=!0;for(let n=t-1;n>=i;--n)if(a(e.charCodeAt(n))){if(!c){s=n;break}}else c=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,i=0,r=-1,s=!0;if(e.length>=2&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(n=e.length-1;n>=i;--n){const c=e.charCodeAt(n);if(a(c)){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=l))}return i===r?r=l:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=i;--n)if(a(e.charCodeAt(n))){if(!s){i=n+1;break}}else-1===r&&(s=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){o(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=i=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(a(t)){if(!s){i=o+1;break}}else-1===r&&(s=!1,r=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===r||0===c||1===c&&n===r-1&&n===i+1?"":e.slice(n,r)},format:h.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(1===n)return a(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(a(r)){if(i=1,a(e.charCodeAt(1))){let t=2,r=t;for(;t<n&&!a(e.charCodeAt(t));)t++;if(t<n&&t!==r){for(r=t;t<n&&a(e.charCodeAt(t));)t++;if(t<n&&t!==r){for(r=t;t<n&&!a(e.charCodeAt(t));)t++;t===n?i=t:t!==r&&(i=t+1)}}}}else if(l(r)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(i=2,a(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let s=-1,c=i,h=-1,d=!0,u=e.length-1,p=0;for(;u>=i;--u)if(r=e.charCodeAt(u),a(r)){if(!d){c=u+1;break}}else-1===h&&(d=!1,h=u+1),46===r?-1===s?s=u:1!==p&&(p=1):-1!==s&&(p=-1);return-1!==h&&(-1===s||0===p||1===p&&s===h-1&&s===c+1?t.base=t.name=e.slice(c,h):(t.name=e.slice(c,s),t.base=e.slice(c,h),t.ext=e.slice(s,h))),t.dir=c>0&&c!==i?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},u={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const a=r>=0?e[r]:i.a();o(a,"path"),0!==a.length&&(t=`${a}/${t}`,n=47===a.charCodeAt(0))}return t=c(t,!n,"/",s),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",s)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];o(i,"path"),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":u.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=u.resolve(e))===(t=u.resolve(t)))return"";const n=e.length,i=n-1,r=t.length-1,a=i<r?i:r;let s=-1,l=0;for(;l<a;l++){const n=e.charCodeAt(1+l);if(n!==t.charCodeAt(1+l))break;47===n&&(s=l)}if(l===a)if(r>a){if(47===t.charCodeAt(1+l))return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else i>a&&(47===e.charCodeAt(1+l)?s=l:0===l&&(s=0));let c="";for(l=1+s+1;l<=n;++l)l!==n&&47!==e.charCodeAt(l)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+s)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!i){n=t;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,i=0,r=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(47===l){if(!a){i=n+1;break}}else-1===s&&(a=!1,s=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(r=n):(o=-1,r=s))}return i===r?r=s:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){i=n+1;break}}else-1===r&&(a=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname(e){o(e,"path");let t=-1,n=0,i=-1,r=!0,a=0;for(let o=e.length-1;o>=0;--o){const s=e.charCodeAt(o);if(47!==s)-1===i&&(r=!1,i=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!r){n=o+1;break}}return-1===t||-1===i||0===a||1===a&&t===i-1&&t===n+1?"":e.slice(t,i)},format:h.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let i;n?(t.root="/",i=1):i=0;let r=-1,a=0,s=-1,l=!0,c=e.length-1,h=0;for(;c>=i;--c){const t=e.charCodeAt(c);if(47!==t)-1===s&&(l=!1,s=c+1),46===t?-1===r?r=c:1!==h&&(h=1):-1!==r&&(h=-1);else if(!l){a=c+1;break}}if(-1!==s){const i=0===a&&n?1:a;-1===r||0===h||1===h&&r===s-1&&r===a+1?t.base=t.name=e.slice(i,s):(t.name=e.slice(i,r),t.base=e.slice(i,s),t.ext=e.slice(r,s))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};u.win32=d.win32=d,u.posix=d.posix=u;const p="win32"===i.c?d.normalize:u.normalize,m="win32"===i.c?d.resolve:u.resolve,f="win32"===i.c?d.relative:u.relative,g="win32"===i.c?d.dirname:u.dirname,b="win32"===i.c?d.basename:u.basename,_="win32"===i.c?d.extname:u.extname,w="win32"===i.c?d.sep:u.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return f}));var i=n(13);class r{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new r,a=new r,s=new r;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function h(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new p(0!==i?[d(n,t),d(i,t)]:[d(n,t)])}function d(e,t){const n=!!(2048&e),i=!!(256&e);return new u(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n=t,i=n){o.define(e,t),a.define(e,n),s.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return s.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||s.strToKeyCode(e)}}(l||(l={}));class u{constructor(e,t,n,i,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=r}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw Object(i.b)("parts");this.parts=e}}class m{constructor(e,t,n,i,r,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=r,this.keyAriaLabel=o}}class f{}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class r{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==i.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return h}));var i,r=n(13),o=n(2),a=n(53);!function(e){function t(e){return(t,n=null,i)=>{let r,o=!1;return r=e(e=>{if(!o)return r?r.dispose():o=!0,t.call(n,e)},null,i),o&&r.dispose(),r}}function n(e,t){return l((n,i=null,r)=>e(e=>n.call(i,t(e)),null,r))}function i(e,t){return l((n,i=null,r)=>e(e=>{t(e),n.call(i,e)},null,r))}function r(e,t){return l((n,i=null,r)=>e(e=>t(e)&&n.call(i,e),null,r))}function a(e,t,i){let r=i;return n(e,e=>(r=t(r,e),r))}function l(e){let t;const n=new s({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,i=!1,r){let o,a=void 0,l=void 0,c=0;const h=new s({leakWarningThreshold:r,onFirstListenerAdd(){o=e(e=>{c++,a=t(a,e),i&&!l&&(h.fire(a),a=void 0),clearTimeout(l),l=setTimeout(()=>{const e=a;a=void 0,l=void 0,(!i||c>1)&&h.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return h.event}function h(e){let t,n=!0;return r(e,e=>{const i=n||e!==t;return n=!1,t=e,i})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,i)))},e.reduce=a,e.snapshot=l,e.debounce=c,e.stopwatch=function(e){const i=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-i)},e.latch=h,e.buffer=function(e,t=!1,n=[]){let i=n.slice(),r=e(e=>{i?i.push(e):a.fire(e)});const o=()=>{i&&i.forEach(e=>a.fire(e)),i=null},a=new s({onFirstListenerAdd(){r||(r=e(e=>a.fire(e)))},onFirstListenerDidAdd(){i&&(t?setTimeout(o):o())},onLastListenerRemove(){r&&r.dispose(),r=null}});return a.event};class d{constructor(e){this.event=e}map(e){return new d(n(this.event,e))}forEach(e){return new d(i(this.event,e))}filter(e){return new d(r(this.event,e))}reduce(e,t){return new d(a(this.event,e,t))}latch(){return new d(h(this.event))}debounce(e,t=100,n=!1,i){return new d(c(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>r.fire(n(...e)),r=new s({onFirstListenerAdd:()=>e.on(t,i),onLastListenerRemove:()=>e.removeListener(t,i)});return r.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>r.fire(n(...e)),r=new s({onFirstListenerAdd:()=>e.addEventListener(t,i),onLastListenerRemove:()=>e.removeEventListener(t,i)});return r.event},e.fromPromise=function(e){const t=new s;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(i||(i={}));class s{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new a.a);const i=this._listeners.isEmpty();i&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const r=this._listeners.push(t?[e,t]:e);let l,c;return i&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(l=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(l&&l(),c.dispose=s._noop,!this._disposed&&(r(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new a.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(r.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}s._noop=function(){};class l extends s{constructor(e){super(e),this._isPaused=0,this._eventQueue=new a.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e(e=>{const i=this.buffers[this.buffers.length-1];i?i.push(()=>t.call(n,e)):t.call(n,e)},void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class h{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=o.a.None,this.emitter=new s({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s}));const i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of i)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=r;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const a={maxLen:1e3,windowSize:15,timeBudget:150};function s(e,t,n,i,r=a){if(n.length>r.maxLen){let o=e-r.maxLen/2;return o<0?(i+=e,o=0):i+=o,s(e,t,n=n.substring(o,e+r.maxLen/2),i,r)}Date.now();const o=e-1-i;let c=-1,h=null;for(let e=1;;e++){Date.now(),r.timeBudget;const i=o-r.windowSize*e;t.lastIndex=Math.max(0,i);const a=l(t,n,o,c);if(!a&&h)break;if(h=a,i<=0)break;c=i}if(h){let e={word:h[0],startColumn:i+1+h.index,endColumn:i+1+h.index+h[0].length};return t.lastIndex=0,e}return null}function l(e,t,n,i){let r;for(;r=e.exec(t);){const t=r.index||0;if(t<=n&&e.lastIndex>=n)return r;if(i>0&&t>i)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(36);class r{constructor(e){let t=Object(i.b)(e);this._defaultValue=t,this._asciiMap=r._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(i.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new r(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o}));class i{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class r{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}function r(e,t,n="0"){const i=""+e,r=[i];for(let e=i.length;e<t;e++)r.push(n);return r.reverse().join("")}n.d(t,"D",(function(){return i})),n.d(t,"M",(function(){return r})),n.d(t,"x",(function(){return a})),n.d(t,"u",(function(){return s})),n.d(t,"v",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return h})),n.d(t,"Q",(function(){return d})),n.d(t,"p",(function(){return u})),n.d(t,"V",(function(){return p})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return f})),n.d(t,"q",(function(){return g})),n.d(t,"P",(function(){return b})),n.d(t,"O",(function(){return _})),n.d(t,"w",(function(){return w})),n.d(t,"z",(function(){return v})),n.d(t,"J",(function(){return y})),n.d(t,"f",(function(){return T})),n.d(t,"h",(function(){return k})),n.d(t,"g",(function(){return S})),n.d(t,"i",(function(){return x})),n.d(t,"H",(function(){return L})),n.d(t,"I",(function(){return C})),n.d(t,"t",(function(){return A})),n.d(t,"T",(function(){return R})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return U})),n.d(t,"F",(function(){return N})),n.d(t,"G",(function(){return H})),n.d(t,"j",(function(){return z})),n.d(t,"A",(function(){return W})),n.d(t,"L",(function(){return O})),n.d(t,"N",(function(){return P})),n.d(t,"r",(function(){return q})),n.d(t,"m",(function(){return B})),n.d(t,"k",(function(){return G})),n.d(t,"B",(function(){return K})),n.d(t,"a",(function(){return Y})),n.d(t,"n",(function(){return $})),n.d(t,"l",(function(){return J})),n.d(t,"E",(function(){return Q})),n.d(t,"C",(function(){return X})),n.d(t,"b",(function(){return Z})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return ie})),n.d(t,"c",(function(){return re}));const o=/{(\d+)}/g;function a(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return d(h(e,t),t)}function h(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function d(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let r=i,o=-1;for(;o=e.lastIndexOf(t,r-1),-1!==o&&o+n===r;){if(0===o)return"";r=o}return e.substring(0,r)}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function g(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function b(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function w(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function v(e,t=0,n=e.length){for(let i=t;i<n;i++){const n=e.charCodeAt(i);if(32!==n&&9!==n)return e.substring(t,i)}return e.substring(t,n)}function y(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function T(e,t){return e<t?-1:e>t?1:0}function k(e,t,n=0,i=e.length,r=0,o=t.length){for(;n<i&&r<o;n++,r++){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(i<o)return-1;if(i>o)return 1}const a=i-n,s=o-r;return a<s?-1:a>s?1:0}function S(e,t){return x(e,t,0,e.length,0,t.length)}function x(e,t,n=0,i=e.length,r=0,o=t.length){for(;n<i&&r<o;n++,r++){let a=e.charCodeAt(n),s=t.charCodeAt(r);if(a===s)continue;const l=a-s;if((32!==l||!C(s))&&(-32!==l||!C(a)))return L(a)&&L(s)?l:k(e.toLowerCase(),t.toLowerCase(),n,i,r,o)}const a=i-n,s=o-r;return a<s?-1:a>s?1:0}function L(e){return e>=97&&e<=122}function C(e){return e>=65&&e<=90}function E(e){return L(e)||C(e)}function A(e,t){return e.length===t.length&&M(e,t)}function M(e,t,n=e.length){for(let i=0;i<n;i++){const n=e.charCodeAt(i),r=t.charCodeAt(i);if(n!==r)if(E(n)&&E(r)){const e=Math.abs(n-r);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}function R(e,t){const n=t.length;return!(t.length>e.length)&&M(e,t,n)}function I(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function U(e,t){let n,i=Math.min(e.length,t.length);const r=e.length-1,o=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(r-n)!==t.charCodeAt(o-n))return n;return i}function N(e){return 55296<=e&&e<=56319}function H(e){return 56320<=e&&e<=57343}function z(e,t){return t-56320+(e-55296<<10)+65536}function W(e,t,n){const i=e.charCodeAt(n);if(N(i)&&n+1<t){const t=e.charCodeAt(n+1);if(H(t))return z(i,t)}return i}function D(e,t){const n=e.charCodeAt(t-1);if(H(n)&&t>1){const i=e.charCodeAt(t-2);if(N(i))return z(i,n)}return n}function O(e,t){const n=oe.getInstance(),i=t,r=e.length,o=W(e,r,t);t+=o>=65536?2:1;let a=n.getGraphemeBreakType(o);for(;t<r;){const i=W(e,r,t),o=n.getGraphemeBreakType(i);if(re(a,o))break;t+=i>=65536?2:1,a=o}return t-i}function P(e,t){const n=oe.getInstance(),i=t,r=D(e,t);t-=r>=65536?2:1;let o=n.getGraphemeBreakType(r);for(;t>0;){const i=D(e,t),r=n.getGraphemeBreakType(i);if(re(r,o))break;t-=i>=65536?2:1,o=r}return i-t}function q(e){const t=e.byteLength,n=[];let i=0;for(;i<t;){const r=e[i];let o;if(o=r>=240&&i+3<t?(7&e[i++])<<18>>>0|(63&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:r>=224&&i+2<t?(15&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:r>=192&&i+1<t?(31&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:e[i++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),i=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(i))}else n.push(String.fromCharCode(65533))}return n.join("")}const F=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function B(e){return F.test(e)}const j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function G(e){return j.test(e)}const V=/^[\t\n\r\x20-\x7E]*$/;function K(e){return V.test(e)}const Y=/[\u2028\u2029]/;function $(e){return Y.test(e)}function J(e){for(let t=0,n=e.length;t<n;t++)if(Q(e.charCodeAt(t)))return!0;return!1}function Q(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function X(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const Z=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function ie(e){return oe.getInstance().getGraphemeBreakType(e)}function re(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,c=[],h=!1,d=-1;function u(){h&&l&&(h=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!h){var e=s(u);h=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,h=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||h||s(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return d}));var i=n(8);function r(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?a(349,t):Array.isArray(e)?(n=e,i=a(104579,i=t),n.reduce((e,t)=>o(t,e),i)):function(e,t){return t=a(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=s(n,t),o(e[n],t)),t)}(e,t);case"string":return s(e,t);case"boolean":return function(e,t){return a(e?433:863,t)}(e,t);case"number":return a(e,t);case"undefined":return a(937,t);default:return a(617,t)}var n,i}function a(e,t){return(t<<5)-t+e|0}function s(e,t){t=a(149417,t);for(let n=0,i=e.length;n<i;n++)t=a(e.charCodeAt(n),t);return t}function l(e,t,n=32){const i=n-t;return(e<<t|(~((1<<i)-1)&e)>>>i)>>>0}function c(e,t=0,n=e.byteLength,i=0){for(let r=0;r<n;r++)e[t+r]=i}function h(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class d{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,o,a=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(r=s,o=-1,s=0):(r=e.charCodeAt(0),o=0);;){let l=r;if(i.F(r)){if(!(o+1<t)){s=r;break}{const t=e.charCodeAt(o+1);i.G(t)?(o++,l=i.j(r,t)):l=65533}}else i.G(r)&&(l=65533);if(a=this._push(n,a,l),o++,!(o<t))break;r=e.charCodeAt(o)}this._buffLen=a,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=d._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,i,r,o=this._h0,a=this._h1,s=this._h2,c=this._h3,h=this._h4;for(let t=0;t<80;t++)t<20?(n=a&s|~a&c,i=1518500249):t<40?(n=a^s^c,i=1859775393):t<60?(n=a&s|a&c|s&c,i=2400959708):(n=a^s^c,i=3395469782),r=l(o,5)+n+h+i+e.getUint32(4*t,!1)&4294967295,h=c,c=s,s=l(a,30),a=o,o=r;this._h0=this._h0+o&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+h&4294967295}}d._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return i.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,i=0|t.lineNumber;if(n===i){return(0|e.column)-(0|t.column)}return n-i}clone(){return new i(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new i(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return d}));var i=n(13),r=n(2),o=n(11),a=n(14);let s=!1;function l(e){o.h&&(s||(s=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((i,r)=>{this._pendingReplies[n]={resolve:i,reject:r},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(i.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(i.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class h extends r.a{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{i&&i(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let r=null;void 0!==self.require&&"function"==typeof self.require.getConfig?r=self.require.getConfig():void 0!==self.requirejs&&(r=self.requirejs.s.contexts._.config);const o=a.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(r)),t,o]);const s=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{i=n,this._onModuleLoaded.then(t=>{e(a.c(t,s))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,i)},i)})}_onError(e,t){console.error(e),console.info(t)}}class d{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,i){this._protocol.setWorkerId(e);const r=a.c(i,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(a.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(r),this._requestHandler?e(a.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file diff --git a/monaco/workers/json.worker.js b/monaco/workers/json.worker.js index 23a555c..a2a9428 100644 --- a/monaco/workers/json.worker.js +++ b/monaco/workers/json.worker.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=344)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(25),i=n(6),o=n(43),s=n(23),a=n(9),u=n(3),c=n(21),l=n(77),f=n(40);class h{static chord(e,t){return Object(o.a)(e,t)}}function d(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:i.a,KeyCode:f.o,KeyMod:h,Position:a.a,Range:u.a,Selection:c.a,SelectionDirection:f.z,MarkerSeverity:f.p,MarkerTag:f.q,Uri:s.a,Token:l.a}}h.CtrlCmd=2048,h.Shift=1024,h.Alt=512,h.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(36);class i{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(r.a)(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(r.a)(e),t=Object(r.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(r.a)(e),t=Object(r.a)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,r=0,o=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=this.prefixSum[r],s=o-this.values[r],e<s)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-s)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return U}));var r=n(15);class i{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function a(e,t,n){return new f(new s(e),new s(t)).ComputeDiff(n).changes}class u{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class l{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class f{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[r,i,o]=f._getElements(e),[s,a,u]=f._getElements(t);this._hasStrings=o&&u,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(f._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,o){for(o[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(u.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i(e,0,n,r-n+1)]):e<=t?(u.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i(e,t-e+1,n,0)]):(u.Assert(e===t+1,"originalStart should only be one more than originalEnd"),u.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],a=[0],c=this.ComputeRecursionPoint(e,t,n,r,s,a,o),l=s[0],f=a[0];if(null!==c)return c;if(!o[0]){const s=this.ComputeDiffRecursive(e,l,n,f,o);let a=[];return a=o[0]?[new i(l+1,t-(l+1)+1,f+1,r-(f+1)+1)]:this.ComputeDiffRecursive(l+1,t,f+1,r,o),this.ConcatenateChanges(s,a)}return[new i(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,a,u,c,f,h,d,m,g,p,v,y,b){let C=null,_=null,S=new l,E=t,A=n,x=m[0]-v[0]-r,w=-1073741824,N=this.m_forwardHistory.length-1;do{const t=x+e;t===E||t<A&&c[t-1]<c[t+1]?(g=(h=c[t+1])-x-r,h<w&&S.MarkNextChange(),w=h,S.AddModifiedElement(h+1,g),x=t+1-e):(g=(h=c[t-1]+1)-x-r,h<w&&S.MarkNextChange(),w=h-1,S.AddOriginalElement(h,g+1),x=t-1-e),N>=0&&(e=(c=this.m_forwardHistory[N])[0],E=1,A=c.length-1)}while(--N>=-1);if(C=S.getReverseChanges(),b[0]){let e=m[0]+1,t=v[0]+1;if(null!==C&&C.length>0){const n=C[C.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}_=[new i(e,d-e+1,t,p-t+1)]}else{S=new l,E=s,A=a,x=m[0]-v[0]-u,w=1073741824,N=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+o;e===E||e<A&&f[e-1]>=f[e+1]?(g=(h=f[e+1]-1)-x-u,h>w&&S.MarkNextChange(),w=h+1,S.AddOriginalElement(h+1,g+1),x=e+1-o):(g=(h=f[e-1])-x-u,h>w&&S.MarkNextChange(),w=h,S.AddModifiedElement(h+1,g+1),x=e-1-o),N>=0&&(o=(f=this.m_reverseHistory[N])[0],E=1,A=f.length-1)}while(--N>=-1);_=S.getChanges()}return this.ConcatenateChanges(C,_)}ComputeRecursionPoint(e,t,n,r,o,s,a){let u=0,l=0,f=0,h=0,d=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(r-n),p=g+1,v=new Int32Array(p),y=new Int32Array(p),b=r-n,C=t-e,_=e-n,S=t-r,E=(C-b)%2==0;v[b]=e,y[C]=t,a[0]=!1;for(let A=1;A<=g/2+1;A++){let g=0,x=0;f=this.ClipDiagonalBound(b-A,A,b,p),h=this.ClipDiagonalBound(b+A,A,b,p);for(let e=f;e<=h;e+=2){u=e===f||e<h&&v[e-1]<v[e+1]?v[e+1]:v[e-1]+1,l=u-(e-b)-_;const n=u;for(;u<t&&l<r&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(v[e]=u,u+l>g+x&&(g=u,x=l),!E&&Math.abs(e-C)<=A-1&&u>=y[e])return o[0]=u,s[0]=l,n<=y[e]&&A<=1448?this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a):null}const w=(g-e+(x-n)-A)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,w))return a[0]=!0,o[0]=g,s[0]=x,w>0&&A<=1448?this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a):(e++,n++,[new i(e,t-e+1,n,r-n+1)]);d=this.ClipDiagonalBound(C-A,A,C,p),m=this.ClipDiagonalBound(C+A,A,C,p);for(let i=d;i<=m;i+=2){u=i===d||i<m&&y[i-1]>=y[i+1]?y[i+1]-1:y[i-1],l=u-(i-C)-S;const c=u;for(;u>e&&l>n&&this.ElementsAreEqual(u,l);)u--,l--;if(y[i]=u,E&&Math.abs(i-b)<=A&&u<=v[i])return o[0]=u,s[0]=l,c>=v[i]&&A<=1448?this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a):null}if(A<=1447){let e=new Int32Array(h-f+2);e[0]=b-f+1,c.Copy2(v,f,e,1,h-f+1),this.m_forwardHistory.push(e),e=new Int32Array(m-d+2),e[0]=C-d+1,c.Copy2(y,d,e,1,m-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];n.originalLength>0&&(r=n.originalStart+n.originalLength),n.modifiedLength>0&&(i=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let a=0,u=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<r||c<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const l=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);l>u&&(u=l,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return c.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],c.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(u.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),u.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(r,o,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}var h=n(11),d=n(23),m=n(9),g=n(3),p=n(8);function v(e,t,n,r){return new f(e,t,n).ComputeDiff(r)}class y{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=E(e[r],1),n[r]=A(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,u=e?this._endColumns[a]:t.length+1;for(let e=n;e<u;e++)r[s]=t.charCodeAt(e-1),i[s]=a+1,o[s]=e,s++}return new b(r,i,o)}}class b{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class C{constructor(e,t,n,r,i,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r,i,o,s,a,u,c,l;return 0===e.originalLength?(r=0,i=0,o=0,s=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,u=0,c=0,l=0):(a=n.getStartLineNumber(e.modifiedStart),u=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),l=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new C(r,i,o,s,a,u,c,l)}}class _{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let a,u,c,l,f=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,u=0):(a=n.getStartLineNumber(t.originalStart),u=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=r.getStartLineNumber(t.modifiedStart)-1,l=0):(c=r.getStartLineNumber(t.modifiedStart),l=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let u=v(o,a,i,!0).changes;s&&(u=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(u)),f=[];for(let e=0,t=u.length;e<t;e++)f.push(C.createFromDiffChange(u[e],o,a))}return new _(a,u,c,l,f)}}class S{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new y(e),this.modified=new y(t),this.continueLineDiff=x(n.maxComputationTime),this.continueCharDiff=x(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=v(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(_.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,a=s?s.originalStart:this.originalLines.length,u=s?s.modifiedStart:this.modifiedLines.length;for(;i<a&&o<u;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=E(e,1),s=E(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=A(e,1),s=A(t,1);const a=e.length+1,u=t.length+1;for(;n<a&&s<u;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<u)&&this._pushTrimWhitespaceCharChange(r,i+1,n,a,o+1,s,u)}}i++,o++}s&&(r.push(_.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new C(t,n,t,r,i,o,i,s)]),e.push(new _(t,t,i,i,a))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const a=e.length;if(0===a)return!1;const u=e[a-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===i&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new C(t,n,t,r,i,o,i,s)),!0))}}function E(e,t){const n=p.w(e);return-1===n?t:n+1}function A(e,t){const n=p.J(e);return-1===n?t:n+2}function x(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var w=n(101);var N=n(73),L=n(76);class k{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class T{constructor(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++){let[i,o,s]=e[r];o>t&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new k(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,i,o]=e[t];r.set(n,i,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let O=null;let I=null;class M{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===O&&(O=new T([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),O}()){const n=function(){if(null===I){I=new L.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)I.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)I.set(t.charCodeAt(e),2)}return I}();let r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let a=0,u=0,c=0,l=1,f=!1,h=!1,d=!1,m=!1;for(;a<s;){let e=!1;const s=o.charCodeAt(a);if(13===l){let t;switch(s){case 40:f=!0,t=0;break;case 41:t=f?0:1;break;case 91:d=!0,h=!0,t=0;break;case 93:d=!1,t=h?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=d?0:1;break;default:t=n.get(s)}1===t&&(r.push(M._createLink(n,o,i,u,a)),e=!0)}else if(12===l){let t;91===s?(h=!0,t=0):t=n.get(s),1===t?e=!0:l=13}else l=t.nextState(l,s),0===l&&(e=!0);e&&(l=1,f=!1,h=!1,m=!1,u=a+1,c=s),a++}13===l&&r.push(M._createLink(n,o,i,u,s))}return r}}class P{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){let n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){let e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}P.INSTANCE=new P;var D=n(100),F=n(14),R=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};class j extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new w.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),r[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(N.d)(e.column,Object(N.c)(t),this._lines[e.lineNumber-1],0);return n?new g.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){let n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const e of r)i.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class U{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new j(d.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return R(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const s=i.getLinesContent(),a=o.getLinesContent(),u=new S(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),c=!(u.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:u.quitEarly,identical:c,changes:u.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return R(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Object(r.p)(t,(e,t)=>{if(e.range&&t.range)return g.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:r,eol:s}of t){if("number"==typeof s&&(o=s),g.a.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>U._diffLimit){i.push({range:e,text:r});continue}const u=a(t,r,!1),c=n.offsetAt(g.a.lift(e).getStartPosition());for(const e of u){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return R(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?M.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return R(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return null;const o=[],s=new Set,a=new RegExp(n,r),u=i.getWordAtPosition(t,a);u&&s.add(i.getValueInRange(u));for(let e of i.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>U._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,r){return R(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,r,i){return R(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=o.getValueInRange(t),u=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!u)return null;let c=o.getValueInRange(u);return P.INSTANCE.navigateValueSet(t,a,u,c,n)}))}loadForeignModule(e,t,n){let r={host:F.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(F.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}U._diffLimit=1e5,U._suggestionsLimit=1e4,"function"==typeof importScripts&&(h.b.monaco=Object(D.a)())},11:function(e,t,n){"use strict";(function(e,r){n.d(t,"i",(function(){return p})),n.d(t,"f",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return C})),n.d(t,"c",(function(){return _})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return E})),n.d(t,"a",(function(){return A})),n.d(t,"e",(function(){return N}));let i=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=void 0,f="en",h=void 0,d=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,l="en",f="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];l=e.locale,f=n||"en",h=e._translationsConfigFile}catch(e){}a=!0}}else d=navigator.userAgent,i=d.indexOf("Windows")>=0,o=d.indexOf("Macintosh")>=0,c=(d.indexOf("Macintosh")>=0||d.indexOf("iPad")>=0||d.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=d.indexOf("Linux")>=0,u=!0,l=navigator.language,f=l;let g=0;o?g=1:i?g=3:s&&(g=2);const p=i,v=o,y=s,b=a,C=u,_=c,S="object"==typeof self?self:"object"==typeof r?r:{},E=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"==typeof S.postMessage&&!S.importScripts){let e=[];S.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),S.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),A=o||c?2:i?1:3;let x=!0,w=!1;function N(){if(!w){w=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);x=513===t[0]}return x}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){a(e)||r.onUnexpectedError(e)}function o(e){a(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function a(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function u(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function l(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return s}));var r=n(94),i=n(104);let o=!1;function s(e){if(o)return;o=!0;const t=new r.b(e=>{self.postMessage(e)},t=>new i.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||s(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function u(e){return void 0===e}function c(e){return u(e)||null===e}function l(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function f(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function h(e){return"function"==typeof e}function d(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(h(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function p(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function v(e){return null===e?void 0:e}n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"g",(function(){return h})),n.d(t,"m",(function(){return d})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return p})),n.d(t,"n",(function(){return v}))},140:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r,i,o,s=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var u=/^\w[\w\d+.-]*$/,c=/^\//,l=/^\/\//;var f="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!u.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new g(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=h.exec(e);return n?new g(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var n=e.indexOf(f,2);-1===n?(t=e.substring(2),e=f):(t=e.substring(2,n),e=e.substring(n)||f)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),C(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?C(this,!0):(this._formatted||(this._formatted=C(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(d),p=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function v(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=p[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function y(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=p[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function b(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function C(e,t){var n=t?y:v,r="",i=e.scheme,o=e.authority,s=e.path,a=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=f,r+=f),o){var c=o.indexOf("@");if(-1!==c){var l=o.substr(0,c);o=o.substr(c+1),-1===(c=l.indexOf(":"))?r+=n(l,!1):(r+=n(l.substr(0,c),!1),r+=":",r+=n(l.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),u&&(r+="#",r+=t?u:v(u,!1)),r}var _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(_)?e.replace(_,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},15:function(e,t,n){"use strict";function r(e,t=0){return e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else{if(!(s>0))return o;i=o-1}}return-(r+1)}function a(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function u(e,t){return function e(t,n,r,i,o){if(i<=r)return;const s=r+(i-r)/2|0;if(e(t,n,r,s,o),e(t,n,s+1,i,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,r,i,o){let s=n,a=r+1;for(let t=n;t<=i;t++)o[t]=e[t];for(let u=n;u<=i;u++)s>r?e[u]=o[a++]:a>i?e[u]=o[s++]:t(o[a],o[s])<0?e[u]=o[a++]:e[u]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let r=void 0;for(const i of u(e.slice(0),t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function l(e){return e.filter(e=>!!e)}function f(e){return!Array.isArray(e)||0===e.length}function h(e){return Array.isArray(e)&&e.length>0}function d(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const r=t(e);return!n[r]&&(n[r]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function g(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function p(e,t,n){const r=g(e,t);return r<0?n:e[r]}function v(e,t){return e.length>0?e[0]:t}function y(e){return[].concat(...e)}function b(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function C(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function _(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function S(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function E(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return r})),n.d(t,"u",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"p",(function(){return u})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return h})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return p})),n.d(t,"k",(function(){return v})),n.d(t,"l",(function(){return y})),n.d(t,"s",(function(){return b})),n.d(t,"a",(function(){return C})),n.d(t,"r",(function(){return _})),n.d(t,"q",(function(){return S})),n.d(t,"b",(function(){return E}))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return d}));var r=n(37);function i(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function a(e){if(r.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function u(...e){return e.forEach(i),{dispose:()=>a(e)}}function c(e){const t={dispose:()=>{e()}};return t}class l{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{a(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?l.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}l.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new l}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class h{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class d{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(3);class o extends i.a{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return p}));var r=n(11),i=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;const u="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{constructor(e,t,n,r,i,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof l||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return p(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new h(t,n,r,i,o)}static parse(e,t=!1){const n=c.exec(e);return n?new h(n[2]||"",b(n[4]||""),b(n[5]||""),b(n[7]||""),b(n[9]||""),t):new h("","","","","")}static file(e){let t="";if(r.i&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){const n=e.indexOf(u,2);-1===n?(t=e.substring(2),e=u):(t=e.substring(2,n),e=e.substring(n)||u)}return new h("file",t,e,"","")}static from(e){return new h(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=r.i&&"file"===e.scheme?l.file(i.i.join(p(e,!0),...t)).path:i.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{const t=new h(e);return t._formatted=e.external,t._fsPath=e._sep===f?e.fsPath:null,t}}return e}}const f=r.i?1:void 0;class h extends l{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=p(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const d={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=d[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function g(e){let t=void 0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=d[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function p(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(n=n.replace(/\//g,"\\")),n}function v(e,t){const n=t?g:m;let r="",{scheme:i,authority:o,path:s,query:a,fragment:c}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=u,r+=u),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),c&&(r+="#",r+=t?c:m(c,!1)),r}const y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function b(e){return e.match(y)?e.replace(y,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(6);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var r=n(11);const i=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,o=i.cwd,s=i.env,a=i.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,u=t.startColumn,c=t.endLineNumber,l=t.endColumn;return n<a?(n=a,r=u):n===a&&(r=Math.max(r,u)),o>c?(o=c,s=l):o===c&&(s=Math.min(s,l)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},344:function(e,t,n){"use strict";n.r(t);var r,i=n(131),o=n(38),s=n(140),a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},u=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};"undefined"!=typeof fetch&&(r=function(e){return fetch(e).then((function(e){return e.text()}))});var c=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=o.g({workspaceContext:{resolveRelativePath:function(e,t){return function(e,t){if(function(e){return e.charCodeAt(0)===l}(t)){var n=s.a.parse(e),r=t.split("/");return n.with({path:h(r)}).toString()}return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=s.a.parse(e),i=r.path.split("/"),o=0,a=t;o<a.length;o++){var u=a[o];i.push.apply(i,u.split("/"))}return r.with({path:h(i)}).toString()}(e,t)}(t.substr(0,t.lastIndexOf("/")+1),e)}},schemaRequestService:t.enableSchemaRequest&&r}),this._languageService.configure(this._languageSettings)}return e.prototype.doValidation=function(e){return a(this,void 0,void 0,(function(){var t,n;return u(this,(function(r){return(t=this._getTextDocument(e))?(n=this._languageService.parseJSONDocument(t),[2,this._languageService.doValidation(t,n)]):[2,Promise.resolve([])]}))}))},e.prototype.doComplete=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return u(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n),[2,this._languageService.doComplete(n,t,r)]}))}))},e.prototype.doResolve=function(e){return a(this,void 0,void 0,(function(){return u(this,(function(t){return[2,this._languageService.doResolve(e)]}))}))},e.prototype.doHover=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return u(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n),[2,this._languageService.doHover(n,t,r)]}))}))},e.prototype.format=function(e,t,n){return a(this,void 0,void 0,(function(){var r,i;return u(this,(function(o){return r=this._getTextDocument(e),i=this._languageService.format(r,t,n),[2,Promise.resolve(i)]}))}))},e.prototype.resetSchema=function(e){return a(this,void 0,void 0,(function(){return u(this,(function(t){return[2,Promise.resolve(this._languageService.resetSchema(e))]}))}))},e.prototype.findDocumentSymbols=function(e){return a(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentSymbols(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.findDocumentColors=function(e){return a(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentColors(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.getColorPresentations=function(e,t,n){return a(this,void 0,void 0,(function(){var r,i,o;return u(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseJSONDocument(r),o=this._languageService.getColorPresentations(r,i,t,n),[2,Promise.resolve(o)]}))}))},e.prototype.getFoldingRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return u(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t),[2,Promise.resolve(r)]}))}))},e.prototype.getSelectionRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,r,i;return u(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n),i=this._languageService.getSelectionRanges(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var r=n[t];if(r.uri.toString()===e)return o.f.create(e,this._languageId,r.version,r.getValue())}return null},e}(),l="/".charCodeAt(0),f=".".charCodeAt(0);function h(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];0===i.length||1===i.length&&i.charCodeAt(0)===f||(2===i.length&&i.charCodeAt(0)===f&&i.charCodeAt(1)===f?t.pop():t.push(i))}e.length>1&&0===e[e.length-1].length&&t.push("");var o=t.join("/");return 0===e[0].length&&(o="/"+o),o}self.onmessage=function(){i.initialize((function(e,t){return new c(e,t)}))}},36:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},37:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(r||(r={}))},38:function(e,t,n){"use strict";n.d(t,"f",(function(){return oe})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return M})),n.d(t,"d",(function(){return P})),n.d(t,"e",(function(){return K})),n.d(t,"g",(function(){return _t}));var r,i,o,s,a,u,c,l,f,h,d,m,g,p,v,y,b,C,_,S,E=n(65);function A(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!A(e[n],t[n]))return!1}else{var i=[];for(r in e)i.push(r);i.sort();var o=[];for(r in t)o.push(r);if(o.sort(),!A(i,o))return!1;for(n=0;n<i.length;n++)if(!A(e[i[n]],t[i[n]]))return!1}return!0}function x(e){return"number"==typeof e}function w(e){return void 0!==e}function N(e){return"boolean"==typeof e}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return re.objectLiteral(t)&&re.number(t.line)&&re.number(t.character)}}(r||(r={})),function(e){e.create=function(e,t,n,i){if(re.number(e)&&re.number(t)&&re.number(n)&&re.number(i))return{start:r.create(e,t),end:r.create(n,i)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return re.objectLiteral(t)&&r.is(t.start)&&r.is(t.end)}}(i||(i={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&(re.string(t.uri)||re.undefined(t.uri))}}(o||(o={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.targetRange)&&re.string(t.targetUri)&&(i.is(t.targetSelectionRange)||re.undefined(t.targetSelectionRange))&&(i.is(t.originSelectionRange)||re.undefined(t.originSelectionRange))}}(s||(s={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return re.number(t.red)&&re.number(t.green)&&re.number(t.blue)&&re.number(t.alpha)}}(a||(a={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return i.is(t.range)&&a.is(t.color)}}(u||(u={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return re.string(t.label)&&(re.undefined(t.textEdit)||v.is(t))&&(re.undefined(t.additionalTextEdits)||re.typedArray(t.additionalTextEdits,v.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(l||(l={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return re.defined(n)&&(o.startCharacter=n),re.defined(r)&&(o.endCharacter=r),re.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return re.number(t.startLine)&&re.number(t.startLine)&&(re.undefined(t.startCharacter)||re.number(t.startCharacter))&&(re.undefined(t.endCharacter)||re.number(t.endCharacter))&&(re.undefined(t.kind)||re.string(t.kind))}}(f||(f={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return re.defined(t)&&o.is(t.location)&&re.string(t.message)}}(h||(h={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(d||(d={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e.create=function(e,t,n,r,i,o){var s={range:e,message:t};return re.defined(n)&&(s.severity=n),re.defined(r)&&(s.code=r),re.defined(i)&&(s.source=i),re.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&re.string(t.message)&&(re.number(t.severity)||re.undefined(t.severity))&&(re.number(t.code)||re.string(t.code)||re.undefined(t.code))&&(re.string(t.source)||re.undefined(t.source))&&(re.undefined(t.relatedInformation)||re.typedArray(t.relatedInformation,h.is))}}(g||(g={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return re.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.title)&&re.string(t.command)}}(p||(p={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return re.objectLiteral(t)&&re.string(t.newText)&&i.is(t.range)}}(v||(v={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return re.defined(t)&&k.is(t.textDocument)&&Array.isArray(t.edits)}}(y||(y={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&re.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||re.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||re.boolean(t.options.ignoreIfExists)))}}(b||(b={})),function(e){e.create=function(e,t,n){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&"rename"===t.kind&&re.string(t.oldUri)&&re.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||re.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||re.boolean(t.options.ignoreIfExists)))}}(C||(C={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&re.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||re.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||re.boolean(t.options.ignoreIfNotExists)))}}(_||(_={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return re.string(e.kind)?b.is(e)||C.is(e)||_.is(e):y.is(e)})))}}(S||(S={}));var L,k,T,O,I,M,P,D,F,R,j,U,V,$,W,B,K,q,H,Y,G,z,J,Q,Z,X,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(v.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(v.replace(e,t))},e.prototype.delete=function(e){this.edits.push(v.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(y.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new te(e.changes[n]);t._textEditChanges[n]=r})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(k.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new te(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new te(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(C.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(_.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.uri)&&(null===t.version||re.number(t.version))}}(k||(k={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.uri)&&re.string(t.languageId)&&re.number(t.version)&&re.string(t.text)}}(T||(T={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(O||(O={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(O||(O={})),function(e){e.is=function(e){var t=e;return re.objectLiteral(e)&&O.is(t.kind)&&re.string(t.value)}}(I||(I={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(M||(M={})),function(e){e.PlainText=1,e.Snippet=2}(P||(P={})),function(e){e.Deprecated=1}(D||(D={})),function(e){e.create=function(e){return{label:e}}}(F||(F={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(R||(R={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return re.string(t)||re.objectLiteral(t)&&re.string(t.language)&&re.string(t.value)}}(j||(j={})),function(e){e.is=function(e){var t=e;return!!t&&re.objectLiteral(t)&&(I.is(t.contents)||j.is(t.contents)||re.typedArray(t.contents,j.is))&&(void 0===e.range||i.is(e.range))}}(U||(U={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(V||(V={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return re.defined(t)&&(i.documentation=t),re.defined(n)?i.parameters=n:i.parameters=[],i}}($||($={})),function(e){e.Text=1,e.Read=2,e.Write=3}(W||(W={})),function(e){e.create=function(e,t){var n={range:e};return re.number(t)&&(n.kind=t),n}}(B||(B={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(K||(K={})),function(e){e.Deprecated=1}(q||(q={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(H||(H={})),function(e){e.create=function(e,t,n,r,i,o){var s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&re.string(t.name)&&re.number(t.kind)&&i.is(t.range)&&i.is(t.selectionRange)&&(void 0===t.detail||re.string(t.detail))&&(void 0===t.deprecated||re.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(Y||(Y={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(G||(G={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return re.defined(t)&&re.typedArray(t.diagnostics,g.is)&&(void 0===t.only||re.typedArray(t.only,re.string))}}(z||(z={})),function(e){e.create=function(e,t,n){var r={title:e};return p.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&re.string(t.title)&&(void 0===t.diagnostics||re.typedArray(t.diagnostics,g.is))&&(void 0===t.kind||re.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||p.is(t.command))&&(void 0===t.isPreferred||re.boolean(t.isPreferred))&&(void 0===t.edit||S.is(t.edit))}}(J||(J={})),function(e){e.create=function(e,t){var n={range:e};return re.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&(re.undefined(t.command)||p.is(t.command))}}(Q||(Q={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return re.defined(t)&&re.number(t.tabSize)&&re.boolean(t.insertSpaces)}}(Z||(Z={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&(re.undefined(t.target)||re.string(t.target))}}(X||(X={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&i.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,r){return new ie(e,t,n,r)},e.is=function(e){var t=e;return!!(re.defined(t)&&re.string(t.uri)&&(re.undefined(t.languageId)||re.string(t.languageId))&&re.number(t.lineCount)&&re.func(t.getText)&&re.func(t.positionAt)&&re.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,u=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[u++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[u++]=i[s++];for(;a<o.length;)t[u++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var s=r[o],a=e.offsetAt(s.range.start),u=e.offsetAt(s.range.end);if(!(u<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(u,n.length),i=a}return n}}(ne||(ne={}));var re,ie=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return r.create(0,e);for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var s=n-1;return r.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(re||(re={}));var oe,se,ae,ue=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var r=0,i=t;r<i.length;r++){var o=i[r];if(e.isIncremental(o)){var s=le(o.range),a=this.offsetAt(s.start),u=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(u,this._content.length);var c=Math.max(s.start.line,0),l=Math.max(s.end.line,0),f=this._lineOffsets,h=ce(o.text,!1,a);if(l-c===h.length)for(var d=0,m=h.length;d<m;d++)f[d+c+1]=h[d];else h.length<1e4?f.splice.apply(f,[c+1,l-c].concat(h)):this._lineOffsets=f=f.slice(0,c+1).concat(h,f.slice(l+1));var g=o.text.length-(u-a);if(0!==g)for(d=c+1+h.length,m=f.length;d<m;d++)f[d]=f[d]+g}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ce(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function ce(e,t,n){void 0===n&&(n=0);for(var r=t?[n]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function le(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function fe(e){var t=le(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function he(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return void 0!==t[r]?t[r]:e}))}function de(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return he(t,n)}function me(e){return de}!function(e){e.create=function(e,t,n,r){return new ue(e,t,n,r)},e.update=function(e,t,n){if(e instanceof ue)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),r=0,i=[],o=0,s=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,u=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[u++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[u++]=i[s++];for(;a<o.length;)t[u++]=o[a++];return t}(t.map(fe),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],u=e.offsetAt(a.range.start);if(u<r)throw new Error("Overlapping edit");u>r&&i.push(n.substring(r,u)),a.newText.length&&i.push(a.newText),r=e.offsetAt(a.range.end)}return i.push(n.substr(r)),i.join("")}}(oe||(oe={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(se||(se={})),(ae||(ae={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[O.Markdown,O.PlainText],commitCharactersSupport:!0}}}};var ge,pe,ve=(ge=function(e,t){return(ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ye=me(),be={"color-hex":{errorMessage:ye("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:ye("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:ye("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:ye("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:ye("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},Ce=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),_e=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return ve(t,e),t}(Ce),Se=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return ve(t,e),t}(Ce),Ee=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return ve(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Ce),Ae=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return ve(t,e),t}(Ce),xe=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return ve(t,e),t}(Ce),we=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return ve(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Ce),Ne=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return ve(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Ce);function Le(e){return N(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(pe||(pe={}));var ke=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Pe(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Te=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Oe=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.merge(r)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var r=n[t];r.code===se.EnumValueMismatch&&(r.message=ye("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function Ie(e){return E.e(e)}function Me(e){return E.d(e)}function Pe(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var De=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}return e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return E.b(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var r=e(n),i=n.children;if(Array.isArray(i))for(var o=0;o<i.length&&r;o++)r=t(i[o]);return r};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var n=new Oe;return Fe(this.root,t,n,Te.instance),n.problems.map((function(t){var n=i.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return g.create(n,t.message,t.severity,t.code)}))}},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1);var r=new ke(t,n);return this.root&&e&&Fe(this.root,e,new Oe,r),r.schemas},e}();function Fe(e,t,n,r){if(e&&r.include(e)){var i=e;switch(i.type){case"object":!function(e,t,n,r){for(var i=Object.create(null),o=[],s=0,a=e.properties;s<a.length;s++){var u=(b=a[s]).keyNode.value;i[u]=b.valueNode,o.push(u)}if(Array.isArray(t.required))for(var c=0,l=t.required;c<l.length;c++){var f=l[c];if(!i[f]){var h=e.parent&&"property"===e.parent.type&&e.parent.keyNode,m=h?{offset:h.offset,length:h.length}:{offset:e.offset,length:1};n.problems.push({location:m,severity:d.Warning,message:ye("MissingRequiredPropWarning",'Missing property "{0}".',f)})}}var g=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var p=0,v=Object.keys(t.properties);p<v.length;p++){f=v[p];g(f);var y=t.properties[f];if(M=i[f])if(N(y))if(y)n.propertiesMatches++,n.propertiesValueMatches++;else{var b=M.parent;n.problems.push({location:{offset:b.keyNode.offset,length:b.keyNode.length},severity:d.Warning,message:t.errorMessage||ye("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{var C=new Oe;Fe(M,y,C,r),n.mergePropertyMatch(C)}}if(t.patternProperties)for(var _=0,S=Object.keys(t.patternProperties);_<S.length;_++)for(var E=S[_],A=new RegExp(E),w=0,L=o.slice(0);w<L.length;w++){f=L[w];if(A.test(f))if(g(f),M=i[f])if(N(y=t.patternProperties[E]))if(y)n.propertiesMatches++,n.propertiesValueMatches++;else{b=M.parent;n.problems.push({location:{offset:b.keyNode.offset,length:b.keyNode.length},severity:d.Warning,message:t.errorMessage||ye("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{C=new Oe;Fe(M,y,C,r),n.mergePropertyMatch(C)}}if("object"==typeof t.additionalProperties)for(var k=0,T=o;k<T.length;k++){f=T[k];if(M=i[f]){C=new Oe;Fe(M,t.additionalProperties,C,r),n.mergePropertyMatch(C)}}else if(!1===t.additionalProperties&&o.length>0)for(var O=0,I=o;O<I.length;O++){var M;f=I[O];if(M=i[f]){b=M.parent;n.problems.push({location:{offset:b.keyNode.offset,length:b.keyNode.length},severity:d.Warning,message:t.errorMessage||ye("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}}x(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});x(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var P=0,D=Object.keys(t.dependencies);P<D.length;P++){u=D[P];if(i[u]){var F=t.dependencies[u];if(Array.isArray(F))for(var R=0,j=F;R<j.length;R++){var U=j[R];i[U]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",U,u)})}else if(y=Le(F)){C=new Oe;Fe(e,y,C,r),n.mergePropertyMatch(C)}}}var V=Le(t.propertyNames);if(V)for(var $=0,W=e.properties;$<W.length;$++){var B=W[$];(u=B.keyNode)&&Fe(u,V,n,Te.instance)}}(i,t,n,r);break;case"array":!function(e,t,n,r){if(Array.isArray(t.items)){for(var i=t.items,o=0;o<i.length;o++){var s=Le(i[o]),a=new Oe;(h=e.items[o])?(Fe(h,s,a,r),n.mergePropertyMatch(a)):e.items.length>=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length)if("object"==typeof t.additionalItems)for(var u=i.length;u<e.items.length;u++){a=new Oe;Fe(e.items[u],t.additionalItems,a,r),n.mergePropertyMatch(a)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var c=Le(t.items);if(c)for(var l=0,f=e.items;l<f.length;l++){var h=f[l];a=new Oe;Fe(h,c,a,r),n.mergePropertyMatch(a)}}var m=Le(t.contains);if(m){e.items.some((function(e){var t=new Oe;return Fe(e,m,t,Te.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.errorMessage||ye("requiredItemMissingWarning","Array does not contain required item.")})}x(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});x(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var g=Ie(e);g.some((function(e,t){return t!==g.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("uniqueItemsWarning","Array has duplicate items.")})}}(i,t,n,r);break;case"string":!function(e,t,n,r){x(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});x(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(i=t.pattern,"string"==typeof i){new RegExp(t.pattern).test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.patternErrorMessage||t.errorMessage||ye("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var i;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(o=ye("uriSchemeMissing","URI with a scheme is expected.")):o=ye("uriMissing","URI is expected.")}else o=ye("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.patternErrorMessage||t.errorMessage||ye("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var a=be[t.format];e.value&&a.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}}(i,t,n);break;case"number":!function(e,t,n,r){var i=e.value;function o(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(x(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=i%t.multipleOf;else{var a=o(t.multipleOf),u=o(i);if(a&&u){var c=Math.pow(10,Math.abs(u.multiplier-a.multiplier));u.multiplier<a.multiplier?u.value*=c:a.value*=c,s=u.value%a.value}}0!==s&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function l(e,t){return x(t)?t:N(t)&&t?e:void 0}function f(e,t){if(!N(t)||!t)return e}var h=l(t.minimum,t.exclusiveMinimum);x(h)&&i<=h&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",h)});var m=l(t.maximum,t.exclusiveMaximum);x(m)&&i>=m&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",m)});var g=f(t.minimum,t.exclusiveMinimum);x(g)&&i<g&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("minimumWarning","Value is below the minimum of {0}.",g)});var p=f(t.maximum,t.exclusiveMaximum);x(p)&&i>p&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("maximumWarning","Value is above the maximum of {0}.",p)})}(i,t,n);break;case"property":return Fe(i.valueNode,t,n,r)}!function(){function e(e){return i.type===e||"integer"===e&&"number"===i.type&&i.isInteger}Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,message:t.errorMessage||ye("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,message:t.errorMessage||ye("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,s=t.allOf;o<s.length;o++){var a=s[o];Fe(i,Le(a),n,r)}var u=Le(t.not);if(u){var c=new Oe,l=r.newSub();Fe(i,u,c,l),c.hasProblems()||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,message:ye("notSchemaWarning","Matches a schema that is not allowed.")});for(var f=0,h=l.schemas;f<h.length;f++){var m=h[f];m.inverted=!m.inverted,r.add(m)}}var g=function(e,t){for(var o=[],s=void 0,a=0,u=e;a<u.length;a++){var c=Le(u[a]),l=new Oe,f=r.newSub();if(Fe(i,c,l,f),l.hasProblems()||o.push(c),s)if(t||l.hasProblems()||s.validationResult.hasProblems()){var h=l.compare(s.validationResult);h>0?s={schema:c,validationResult:l,matchingSchemas:f}:0===h&&(s.matchingSchemas.merge(f),s.validationResult.mergeEnumValues(l))}else s.matchingSchemas.merge(f),s.validationResult.propertiesMatches+=l.propertiesMatches,s.validationResult.propertiesValueMatches+=l.propertiesValueMatches;else s={schema:c,validationResult:l,matchingSchemas:f}}return o.length>1&&t&&n.problems.push({location:{offset:i.offset,length:1},severity:d.Warning,message:ye("oneOfWarning","Matches multiple schemas when only one must validate.")}),s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,r.merge(s.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&g(t.anyOf,!1);Array.isArray(t.oneOf)&&g(t.oneOf,!0);var p=function(e){var t=new Oe,o=r.newSub();Fe(i,Le(e),t,o),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,r.merge(o)},v=Le(t.if);v&&function(e,t,n){var o=Le(e),s=new Oe,a=r.newSub();Fe(i,o,s,a),r.merge(a),s.hasProblems()?n&&p(n):t&&p(t)}(v,Le(t.then),Le(t.else));if(Array.isArray(t.enum)){for(var y=Ie(i),b=!1,C=0,_=t.enum;C<_.length;C++){var S=_[C];if(A(y,S)){b=!0;break}}n.enumValues=t.enum,n.enumValueMatch=b,b||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,code:se.EnumValueMismatch,message:t.errorMessage||ye("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(w(t.const)){A(y=Ie(i),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,code:se.EnumValueMismatch,message:t.errorMessage||ye("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&i.parent&&n.problems.push({location:{offset:i.parent.offset,length:i.parent.length},severity:d.Warning,message:t.deprecationMessage})}(),r.add({node:i,schema:t})}}function Re(e,t){var n=[],r=-1,o=e.getText(),s=E.a(o,!1),a=t&&t.collectComments?[]:void 0;function u(){for(;;){var t=s.scan();switch(f(),t){case 12:case 13:Array.isArray(a)&&a.push(i.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function c(t,o,s,a,u){if(void 0===u&&(u=d.Error),0===n.length||s!==r){var c=i.create(e.positionAt(s),e.positionAt(a));n.push(g.create(c,t,u,o,e.languageId)),r=s}}function l(e,t,n,r,i){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===i&&(i=[]);var a=s.getTokenOffset(),l=s.getTokenOffset()+s.getTokenLength();if(a===l&&a>0){for(a--;a>0&&/\s/.test(o.charAt(a));)a--;l=a+1}if(c(e,t,a,l),n&&h(n,!1),r.length+i.length>0)for(var f=s.getToken();17!==f;){if(-1!==r.indexOf(f)){u();break}if(-1!==i.indexOf(f))break;f=u()}return n}function f(){switch(s.getTokenError()){case 4:return l(ye("InvalidUnicode","Invalid unicode sequence in string."),se.InvalidUnicode),!0;case 5:return l(ye("InvalidEscapeCharacter","Invalid escape character in string."),se.InvalidEscapeCharacter),!0;case 3:return l(ye("UnexpectedEndOfNumber","Unexpected end of number."),se.UnexpectedEndOfNumber),!0;case 1:return l(ye("UnexpectedEndOfComment","Unexpected end of comment."),se.UnexpectedEndOfComment),!0;case 2:return l(ye("UnexpectedEndOfString","Unexpected end of string."),se.UnexpectedEndOfString),!0;case 6:return l(ye("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),se.InvalidCharacter),!0}return!1}function h(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&u(),e}var m=new xe(void 0,0,0);function p(t,n){var r=new we(t,s.getTokenOffset(),m),i=v(r);if(!i){if(16!==s.getToken())return;l(ye("DoubleQuotesExpected","Property keys must be doublequoted"),se.Undefined);var o=new xe(r,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),i=o,u()}r.keyNode=i;var a=n[i.value];if(a?(c(ye("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,d.Warning),"object"==typeof a&&c(ye("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,a.keyNode.offset,a.keyNode.offset+a.keyNode.length,d.Warning),n[i.value]=!0):n[i.value]=r,6===s.getToken())r.colonOffset=s.getTokenOffset(),u();else if(l(ye("ColonExpected","Colon expected"),se.ColonExpected),10===s.getToken()&&e.positionAt(i.offset+i.length).line<e.positionAt(s.getTokenOffset()).line)return r.length=i.length,r;var f=y(r);return f?(r.valueNode=f,r.length=f.offset+f.length-r.offset,r):l(ye("ValueExpected","Value expected"),se.ValueExpected,r,[],[2,5])}function v(e){if(10===s.getToken()){var t=new xe(e,s.getTokenOffset());return t.value=s.getTokenValue(),h(t,!0)}}function y(e){return function(e){if(3===s.getToken()){var t=new Ee(e,s.getTokenOffset());u();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){n||l(ye("ValueExpected","Value expected"),se.ValueExpected);var r=s.getTokenOffset();if(u(),4===s.getToken()){n&&c(ye("TrailingComma","Trailing comma"),se.TrailingComma,r,r+1);continue}}else n&&l(ye("ExpectedComma","Expected comma"),se.CommaExpected);var i=y(t);i?t.items.push(i):l(ye("PropertyExpected","Value expected"),se.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?l(ye("ExpectedCloseBracket","Expected comma or closing bracket"),se.CommaOrCloseBacketExpected,t):h(t,!0)}}(e)||function(e){if(1===s.getToken()){var t=new Ne(e,s.getTokenOffset()),n=Object.create(null);u();for(var r=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){r||l(ye("PropertyExpected","Property expected"),se.PropertyExpected);var i=s.getTokenOffset();if(u(),2===s.getToken()){r&&c(ye("TrailingComma","Trailing comma"),se.TrailingComma,i,i+1);continue}}else r&&l(ye("ExpectedComma","Expected comma"),se.CommaExpected);var o=p(t,n);o?t.properties.push(o):l(ye("PropertyExpected","Property expected"),se.PropertyExpected,void 0,[],[2,5]),r=!0}return 2!==s.getToken()?l(ye("ExpectedCloseBrace","Expected comma or closing brace"),se.CommaOrCloseBraceExpected,t):h(t,!0)}}(e)||v(e)||function(e){if(11===s.getToken()){var t=new Ae(e,s.getTokenOffset());if(0===s.getTokenError()){var n=s.getTokenValue();try{var r=JSON.parse(n);if(!x(r))return l(ye("InvalidNumberFormat","Invalid number format."),se.Undefined,t);t.value=r}catch(e){return l(ye("InvalidNumberFormat","Invalid number format."),se.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return h(t,!0)}}(e)||function(e){switch(s.getToken()){case 7:return h(new _e(e,s.getTokenOffset()),!0);case 8:return h(new Se(e,!0,s.getTokenOffset()),!0);case 9:return h(new Se(e,!1,s.getTokenOffset()),!0);default:return}}(e)}var b=void 0;return 17!==u()&&((b=y(b))?17!==s.getToken()&&l(ye("End of file expected","End of file expected."),se.Undefined):l(ye("Invalid symbol","Expected a JSON object, array or literal."),se.Undefined)),new De(b,n,a)}function je(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function Ue(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}var Ve=me(),$e=function(){function e(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===r&&(r={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=r}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r=this,o={items:[],isIncomplete:!1},s=e.getText(),a=e.offsetAt(t),u=n.getNodeFromOffset(a,!0);if(this.isInComment(e,u?u.offset:0,a))return Promise.resolve(o);if(u&&a===u.offset+u.length&&a>0){var c=s[a-1];("object"===u.type&&"}"===c||"array"===u.type&&"]"===c)&&(u=u.parent)}var l,f=this.getCurrentWord(e,a);if(!u||"string"!==u.type&&"number"!==u.type&&"boolean"!==u.type&&"null"!==u.type){var h=a-f.length;h>0&&'"'===s[h-1]&&h--,l=i.create(e.positionAt(h),t)}else l=i.create(e.positionAt(u.offset),e.positionAt(u.offset+u.length));var d={},m={add:function(e){var t=e.label,n=d[t];if(n)n.documentation||(n.documentation=e.documentation);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var r=t.substr(0,57).trim()+"...";d[r]||(t=r)}l&&void 0!==e.insertText&&(e.textEdit=v.replace(l,e.insertText)),e.label=t,d[t]=e,o.items.push(e)}},setAsIncomplete:function(){o.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return o.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var i=[],c=!0,h="",g=void 0;if(u&&"string"===u.type){var p=u.parent;p&&"property"===p.type&&p.keyNode===u&&(c=!p.valueNode,g=p,h=s.substr(u.offset+1,u.length-2),p&&(u=p.parent))}if(u&&"object"===u.type){if(u.offset===a)return o;u.properties.forEach((function(e){g&&g===e||(d[e.keyNode.value]=F.create("__"))}));var v="";c&&(v=r.evaluateSeparatorAfter(e,e.offsetAt(l.end))),t?r.getPropertyCompletions(t,n,u,c,v,m):r.getSchemaLessPropertyCompletions(n,u,h,m);var y=Me(u);r.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,y,f,c,""===v,m);n&&i.push(n)})),!t&&f.length>0&&'"'!==s.charAt(a-f.length-1)&&(m.add({kind:M.Property,label:r.getLabelForValue(f),insertText:r.getInsertTextForProperty(f,void 0,!1,v),insertTextFormat:P.Snippet,documentation:""}),m.setAsIncomplete())}var b={};return t?r.getValueCompletions(t,n,u,a,e,m,b):r.getSchemaLessValueCompletions(n,u,a,e,m),r.contributions.length>0&&r.getContributedValueCompletions(n,u,a,e,m,i),r.promiseConstructor.all(i).then((function(){if(0===m.getNumberOfProposals()){var t=a;!u||"string"!==u.type&&"number"!==u.type&&"boolean"!==u.type&&"null"!==u.type||(t=u.offset+u.length);var n=r.evaluateSeparatorAfter(e,t);r.addFillerValueCompletions(b,n,m)}return o}))}))},e.prototype.getPropertyCompletions=function(e,t,n,r,i,o){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:M.Property,label:e,insertText:s.getInsertTextForProperty(e,n,r,i),insertTextFormat:P.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&je(a.insertText,"$1"+i)&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(a)}}));var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var u=function(e,t){void 0===t&&(t=void 0);var n={kind:M.Property,label:e,insertText:s.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:P.Snippet,filterText:s.getFilterTextForValue(e),documentation:t||s.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&je(n.insertText,"$1"+i)&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(n)};if(a.enum)for(var c=0;c<a.enum.length;c++){var l=void 0;a.markdownEnumDescriptions&&c<a.markdownEnumDescriptions.length?l=s.fromMarkup(a.markdownEnumDescriptions[c]):a.enumDescriptions&&c<a.enumDescriptions.length&&(l=a.enumDescriptions[c]),u(a.enum[c],l)}a.const&&u(a.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,r){var i=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;r.add({kind:M.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:P.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var s=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===s&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&r.add({kind:M.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:P.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,r,i){var o=this,s=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(s=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:P.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:P.Snippet,documentation:""});var a=this.evaluateSeparatorAfter(r,s),u=function(e){e.parent&&!Pe(e.parent,n,!0)&&i.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,r),insertText:o.getInsertTextForMatchingNode(e,r,a),insertTextFormat:P.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,a,i)};if("property"===t.type&&n>(t.colonOffset||0)){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var l=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===l&&e.valueNode&&u(e.valueNode),!0})),"$schema"===l&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var f=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===f&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(u),!0}))}else t.items.forEach(u)},e.prototype.getValueCompletions=function(e,t,n,r,i,o,s){var a=r,u=void 0,c=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(a=n.offset+n.length,c=n,n=n.parent),n){if("property"===n.type&&r>(n.colonOffset||0)){var l=n.valueNode;if(l&&r>l.offset+l.length)return;u=n.keyNode.value,n=n.parent}if(n&&(void 0!==u||"array"===n.type)){for(var f=this.evaluateSeparatorAfter(i,a),h=0,d=t.getMatchingSchemas(e.schema,n.offset,c);h<d.length;h++){var m=d[h];if(m.node===n&&!m.inverted&&m.schema){if("array"===n.type&&m.schema.items)if(Array.isArray(m.schema.items)){var g=this.findItemAtOffset(n,i,r);g<m.schema.items.length&&this.addSchemaValueCompletions(m.schema.items[g],f,o,s)}else this.addSchemaValueCompletions(m.schema.items,f,o,s);if(void 0!==u){var p=!1;if(m.schema.properties)(C=m.schema.properties[u])&&(p=!0,this.addSchemaValueCompletions(C,f,o,s));if(m.schema.patternProperties&&!p)for(var v=0,y=Object.keys(m.schema.patternProperties);v<y.length;v++){var b=y[v];if(new RegExp(b).test(u)){p=!0;var C=m.schema.patternProperties[b];this.addSchemaValueCompletions(C,f,o,s)}}if(m.schema.additionalProperties&&!p){C=m.schema.additionalProperties;this.addSchemaValueCompletions(C,f,o,s)}}}}"$schema"!==u||n.parent||this.addDollarSchemaCompletions(f,o),s.boolean&&(this.addBooleanValueCompletion(!0,f,o),this.addBooleanValueCompletion(!1,f,o)),s.null&&this.addNullValueCompletion(f,o)}}else this.addSchemaValueCompletions(e.schema,"",o,s)},e.prototype.getContributedValueCompletions=function(e,t,n,r,i,o){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),t&&"property"===t.type&&n>(t.colonOffset||0)){var s=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var u=Me(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(r.uri,u,s,i);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var o=!1;if(w(e.default)){for(var s=e.type,a=e.default,u=r;u>0;u--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:P.Snippet,detail:Ve("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(s){for(var a=e.type,u=s,c=r;c>0;c--)u=[u],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(u),insertText:i.getInsertTextForValue(u,t),insertTextFormat:P.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(s){var a,u,c=e.type,l=s.body,f=s.label;if(w(l)){e.type;for(var h=r;h>0;h--)l=[l],"array";a=i.getInsertTextForSnippetValue(l,t),u=i.getFilterTextForSnippetValue(l),f=f||i.getLabelForSnippetValue(l)}else{if("string"!=typeof s.bodyText)return;var d="",m="",g="";for(h=r;h>0;h--)d=d+g+"[\n",m=m+"\n"+g+"]",g+="\t",c="array";a=d+g+s.bodyText.split("\n").join("\n"+g)+m+t,f=f||a,u=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(c),label:f,documentation:i.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:P.Snippet,filterText:u}),o=!0})),!o&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(w(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:P.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r<i;r++){var o=e.enum[r],s=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&r<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?s=this.fromMarkup(e.markdownEnumDescriptions[r]):e.enumDescriptions&&r<e.enumDescriptions.length&&(s=e.enumDescriptions[r]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:P.Snippet,documentation:s})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!w(e.const)){var n=e.type;Array.isArray(n)?n.forEach((function(e){return t[e]=!0})):n&&(t[n]=!0)}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:P.Snippet,detail:Ve("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:P.Snippet,detail:Ve("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:P.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:P.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(r){return t.add({kind:M.Module,label:n.getLabelForValue(r),filterText:n.getFilterTextForValue(r),insertText:n.getInsertTextForValue(r,e),insertTextFormat:P.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,n,r){if(null!==t&&"object"==typeof t){var i=n+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",s=0;s<t.length;s++)o+=i+e(t[s],i,r),s<t.length-1&&(o+=","),o+="\n";return o+=n+"]"}var a=Object.keys(t);if(0===a.length)return"{}";for(o="{\n",s=0;s<a.length;s++){var u=a[s];o+=i+JSON.stringify(u)+": "+e(t[u],i,r),s<a.length-1&&(o+=","),o+="\n"}return o+=n+"}"}return r(t)}(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:void 0}if(!e)return M.Value;switch(e){case"string":return M.Value;case"object":return M.Module;case"property":return M.Property;default:return M.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i=this.getInsertTextForValue(e,"");if(!n)return i;var o,s=i+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;w(u)&&(o=this.getInsertTextForSnippetValue(u,""))}a+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),w(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),a++),Array.isArray(t.examples)&&t.examples.length&&(o||(o=this.getInsertTextForGuessedValue(t.examples[0],"")),a+=t.examples.length),0===a){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||a>1)&&(o="$1"),s+o+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=E.a(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=E.a(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var s=i[o];if(n>s.offset+s.length)return r.setPosition(s.offset+s.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?o+1:o;if(n>=s.offset)return o}return 0},e.prototype.isInComment=function(e,t,n){var r=E.a(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()<n;)i=r.scan();return(12===i||13===i)&&r.getTokenOffset()<=n},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:O.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!w(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(O.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!w(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),We=function(){function e(e,t,n){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doHover=function(e,t,n){var r=e.offsetAt(t),o=n.getNodeFromOffset(r);if(!o||("object"===o.type||"array"===o.type)&&r>o.offset+1&&r<o.offset+o.length-1)return this.promise.resolve(null);var s=o;if("string"===o.type){var a=o.parent;if(a&&"property"===a.type&&a.keyNode===o&&!(o=a.valueNode))return this.promise.resolve(null)}for(var u=i.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),c=function(e){return{contents:e,range:u}},l=Me(o),f=this.contributions.length-1;f>=0;f--){var h=this.contributions[f].getInfoContribution(e.uri,l);if(h)return h.then((function(e){return c(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e&&o){var t=n.getMatchingSchemas(e.schema,o.offset),r=void 0,i=void 0,s=void 0,a=void 0;t.every((function(e){if(e.node===o&&!e.inverted&&e.schema&&(r=r||e.schema.title,i=i||e.schema.markdownDescription||Be(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Ie(o));e.schema.markdownEnumDescriptions?s=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(s=Be(e.schema.enumDescriptions[t])),s&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0}));var u="";return r&&(u=Be(r)),i&&(u.length>0&&(u+="\n\n"),u+=i),s&&(u.length>0&&(u+="\n\n"),u+="`"+function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(a)+"`: "+s),c([u])}return null}))},e}();function Be(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var Ke=n(140),qe=me(),He=function(){function e(e,t){this.patternRegExps=[],this.isInclude=[];try{for(var n=0,r=e;n<r.length;n++){var i=r[n],o="!"!==i[0];o||(i=i.substring(1)),this.patternRegExps.push(new RegExp(Ue(i)+"$")),this.isInclude.push(o)}this.uris=t}catch(e){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0;n<this.patternRegExps.length;n++){this.patternRegExps[n].test(e)&&(t=this.isInclude[n])}return t},e.prototype.getURIs=function(){return this.uris},e}(),Ye=function(){function e(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new Ge(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),Ge=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},ze=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){var t=this.getSectionRecursive(e,this.schema);if(t)return Le(t)},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var r=0,i=Object.keys(t.patternProperties);r<i.length;r++){var o=i[r];if(new RegExp(o).test(n))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var s=parseInt(n,10);if(!isNaN(s)&&t.items[s])return this.getSectionRecursive(e,t.items[s])}else if(t.items)return this.getSectionRecursive(e,t.items)}},e}(),Je=function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var n=Ke.a.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,n=!1,r=[e=Ze(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var o=r.pop(),s=0;s<i.length;s++){var a=i[s];a&&(a.url===o||a.dependencies[o])&&(a.url!==o&&r.push(a.url),a.clearSchema(),i[s]=void 0,n=!0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var r=Ze(n);this.contributionSchemas[r]=this.addSchemaHandle(r,t[n])}}if(Array.isArray(e.schemaAssociations))for(var i=0,o=e.schemaAssociations;i<o.length;i++){var s=o[i],a=s.uris.map(Ze),u=this.addFilePatternAssociation(s.pattern,a);this.contributionAssociations.push(u)}},e.prototype.addSchemaHandle=function(e,t){var n=new Ye(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.addFilePatternAssociation=function(e,t){var n=new He(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var r=Ze(e);return this.registeredSchemasIds[r]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[e]),n?this.addSchemaHandle(r,n):this.getOrAddSchemaHandle(r)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var r=n[t];this.filePatternAssociations.push(r)}},e.prototype.getResolvedSchema=function(e){var t=Ze(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=qe("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Xe(e));return this.promise.resolve(new Ge({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=qe("json.schema.nocontent","Unable to load schema from '{0}': No content.",Xe(e));return new Ge({},[n])}var r,i=[];r=E.f(t,i);var o=i.length?[qe("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Xe(e),i[0].offset)]:[];return new Ge(r,o)}),(function(t){var n=t.toString(),r=t.toString().split("Error: ");return r.length>1&&(n=r[1]),je(n,".")&&(n=n.substr(0,n.length-1)),new Ge({},[qe("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Xe(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t,n){var r=this,i=e.errors.slice(0),o=e.schema;if(o.$schema){var s=Ze(o.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new ze({},[qe("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s&&i.push(qe("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var a=this.contextService,u=function(e,t,n,r){var o=r?decodeURIComponent(r):void 0,s=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(n=n[e])})),n}(t,o);if(s)for(var a in s)s.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=s[a]);else i.push(qe("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",o,n))},c=function(e,t,n,o,s){a&&!/^\w+:\/\/.*/.test(t)&&(t=a.resolveRelativePath(t,o)),t=Ze(t);var c=r.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(r){if(s[t]=!0,r.errors.length){var o=n?t+"#"+n:t;i.push(qe("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,r.errors[0]))}return u(e,r.schema,t,n),l(e,r.schema,t,c.dependencies)}))},l=function(e,t,n,i){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var o=[e],s=[],a=[],l=function(e){for(var r=[];e.$ref;){var s=e.$ref,l=s.split("#",2);if(delete e.$ref,l[0].length>0)return void a.push(c(e,l[0],l[1],n,i));-1===r.indexOf(s)&&(u(e,t,n,l[1]),r.push(s))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];"object"==typeof i&&o.push(i)}}(e.items,e.additionalItems,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if("object"==typeof i)for(var s in i){var a=s,u=i[a];"object"==typeof u&&o.push(u)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if(Array.isArray(i))for(var s=0,a=i;s<a.length;s++){var u=a[s];"object"==typeof u&&o.push(u)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};o.length;){var f=o.pop();s.indexOf(f)>=0||(s.push(f),l(f))}return r.promise.all(a)};return l(o,o,t,n).then((function(e){return new ze(o,i)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(n.length>0){var r=n[0].valueNode;if(r&&"string"===r.type){var i=Ie(r);if(i&&function(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}(i,".")&&this.contextService&&(i=this.contextService.resolveRelativePath(i,e)),i){var o=Ze(i);return this.getOrAddSchemaHandle(o).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;for(var s=Object.create(null),a=[],u=0,c=this.filePatternAssociations;u<c.length;u++){var l=c[u];if(l.matchesPattern(e))for(var f=0,h=l.getURIs();f<h.length;f++){var d=h[f];s[d]||(a.push(d),s[d]=!0)}}var m=a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:m},m},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+Qe++;return this.resolveSchemaContent(new Ge(n),r,{}).then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))},e}(),Qe=0;function Ze(e){try{return Ke.a.parse(e).toString()}catch(t){return e}}function Xe(e){try{var t=Ke.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var et=me(),tt=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:d.Error)},e.prototype.doValidation=function(e,t,n,r){var o=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],a={},u=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,s.push(e))},c=function(r){var a=n?rt(n.trailingCommas):d.Error,c=n?rt(n.comments):o.commentSeverity;if(r){if(r.errors.length&&t.root){var l=t.root,f="object"===l.type?l.properties[0]:void 0;if(f&&"$schema"===f.keyNode.value){var h=f.valueNode||f,m=i.create(e.positionAt(h.offset),e.positionAt(h.offset+h.length));u(g.create(m,r.errors[0],d.Warning,se.SchemaResolveError))}else{m=i.create(e.positionAt(l.offset),e.positionAt(l.offset+1));u(g.create(m,r.errors[0],d.Warning,se.SchemaResolveError))}}else{var p=t.validate(e,r.schema);p&&p.forEach(u)}(function e(t){if(t&&"object"==typeof t){if(N(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,r=t.allOf;n<r.length;n++){var i=r[n],o=e(i);if(N(o))return o}}return})(r.schema)&&(c=void 0),function e(t){if(t&&"object"==typeof t){if(N(t.allowTrailingCommas))return t.allowTrailingCommas;var n=t;if(N(n.allowsTrailingCommas))return n.allowsTrailingCommas;if(t.allOf)for(var r=0,i=t.allOf;r<i.length;r++){var o=i[r],s=e(o);if(N(s))return s}}return}(r.schema)&&(a=void 0)}for(var v=0,y=t.syntaxErrors;v<y.length;v++){var b=y[v];if(b.code===se.TrailingComma){if("number"!=typeof a)continue;b.severity=a}u(b)}if("number"==typeof c){var C=et("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){u(g.create(e,C,c,se.CommentNotPermitted))}))}return s};if(r){var l=r.id||"schemaservice://untitled/"+nt++;return this.jsonSchemaService.resolveSchemaContent(new Ge(r),l,{}).then((function(e){return c(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return c(e)}))},e}(),nt=0;function rt(e){switch(e){case"error":return d.Error;case"warning":return d.Warning;case"ignore":return}}function it(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function ot(e){if("#"===e[0])switch(e.length){case 4:return{red:17*it(e.charCodeAt(1))/255,green:17*it(e.charCodeAt(2))/255,blue:17*it(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*it(e.charCodeAt(1))/255,green:17*it(e.charCodeAt(2))/255,blue:17*it(e.charCodeAt(3))/255,alpha:17*it(e.charCodeAt(4))/255};case 7:return{red:(16*it(e.charCodeAt(1))+it(e.charCodeAt(2)))/255,green:(16*it(e.charCodeAt(3))+it(e.charCodeAt(4)))/255,blue:(16*it(e.charCodeAt(5))+it(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*it(e.charCodeAt(1))+it(e.charCodeAt(2)))/255,green:(16*it(e.charCodeAt(3))+it(e.charCodeAt(4)))/255,blue:(16*it(e.charCodeAt(5))+it(e.charCodeAt(6)))/255,alpha:(16*it(e.charCodeAt(7))+it(e.charCodeAt(8)))/255}}}var st=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var s=n.resultLimit||Number.MAX_VALUE,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||je(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var u=[],c=0,l=i.items;c<l.length;c++){var f=l[c];if("object"===f.type)for(var h=0,d=f.properties;h<d.length;h++){var m=d[h];if("key"===m.keyNode.value&&m.valueNode){var g=o.create(e.uri,at(e,f));if(u.push({name:Ie(m.valueNode),kind:K.Function,location:g}),--s<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),u}}}return u}for(var p=[{node:i,containerName:""}],v=0,y=!1,b=[],C=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&p.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(s>0){s--;var a=o.create(e.uri,at(e,t)),u=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:a,containerName:n}),p.push({node:i,containerName:u})}else y=!0}))};v<p.length;){var _=p[v++];C(_.node,_.containerName)}return y&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),b},e.prototype.findDocumentSymbols2=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var o=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||je(s.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,h=l.properties;f<h.length;f++){var d=h[f];if("key"===d.keyNode.value&&d.valueNode){var m=at(e,l),g=at(e,d.keyNode);if(a.push({name:Ie(d.valueNode),kind:K.Function,range:m,selectionRange:g}),--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),a}}}return a}for(var p=[],v=[{node:i,result:p}],y=0,b=!1,C=function(t,n){"array"===t.type?t.items.forEach((function(t,i){if(t)if(o>0){o--;var s=at(e,t),a=s,u={name:String(i),kind:r.getSymbolKind(t.type),range:s,selectionRange:a,children:[]};n.push(u),v.push({result:u.children,node:t})}else b=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var s=at(e,t),a=at(e,t.keyNode),u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:s,selectionRange:a,children:[]};n.push(u),v.push({result:u.children,node:i})}else b=!0}))};y<v.length;){var _=v[y++];C(_.node,_.result)}return b&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),p},e.prototype.getSymbolKind=function(e){switch(e){case"object":return K.Module;case"string":return K.String;case"number":return K.Number;case"array":return K.Array;case"boolean":return K.Boolean;default:return K.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.findDocumentColors=function(e,t,n){return this.schemaService.getSchemaForResource(e.uri,t).then((function(r){var i=[];if(r)for(var o=n&&"number"==typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,s={},a=0,u=t.getMatchingSchemas(r.schema);a<u.length;a++){var c=u[a];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var l=String(c.node.offset);if(!s[l]){var f=ot(Ie(c.node));if(f){var h=at(e,c.node);i.push({color:f,range:h})}if(s[l]=!0,--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),i}}}return i}))},e.prototype.getColorPresentations=function(e,t,n,r){var i,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),u=Math.round(255*n.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===n.alpha?"#"+c(s)+c(a)+c(u):"#"+c(s)+c(a)+c(u)+c(Math.round(255*n.alpha)),o.push({label:i,textEdit:v.replace(r,JSON.stringify(i))}),o},e}();function at(e,t){return i.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var ut=me(),ct={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:ut("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:ut("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},lt={id:ut("schema.json.id","A unique identifier for the schema."),$schema:ut("schema.json.$schema","The schema to verify this document against."),title:ut("schema.json.title","A descriptive title of the element."),description:ut("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:ut("schema.json.default","A default value. Used by suggestions."),multipleOf:ut("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:ut("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:ut("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:ut("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:ut("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:ut("schema.json.maxLength","The maximum length of a string."),minLength:ut("schema.json.minLength","The minimum length of a string."),pattern:ut("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:ut("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:ut("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:ut("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:ut("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:ut("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:ut("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:ut("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:ut("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:ut("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:ut("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:ut("schema.json.properties","A map of property names to schemas for each property."),patternProperties:ut("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:ut("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:ut("schema.json.enum","The set of literal values that are valid."),type:ut("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:ut("schema.json.format","Describes the format expected for the value."),allOf:ut("schema.json.allOf","An array of schemas, all of which must match."),anyOf:ut("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:ut("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:ut("schema.json.not","A schema which must not match."),$id:ut("schema.json.$id","A unique identifier for the schema."),$ref:ut("schema.json.$ref","Reference a definition hosted on any location."),$comment:ut("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:ut("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:ut("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:ut("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:ut("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:ut("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:ut("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:ut("schema.json.contentEncoding","Describes the content encoding of a string property."),if:ut("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:ut("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:ut("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var ft in ct.schemas){var ht=ct.schemas[ft];for(var dt in ht.properties){var mt=ht.properties[dt];"boolean"==typeof mt&&(mt=ht.properties[dt]={});var gt=lt[dt];gt?mt.description=gt:console.log(dt+": localize('schema.json."+dt+'\', "")')}}function pt(e,t){var n=[],i=[],o=[],s=-1,a=Object(E.a)(e.getText(),!1),u=a.scan();function c(e){n.push(e),i.push(o.length)}for(;17!==u;){switch(u){case 1:case 3:var f={startLine:m=e.positionAt(a.getTokenOffset()).line,endLine:m,kind:1===u?"object":"array"};o.push(f);break;case 2:case 4:var h=2===u?"object":"array";if(o.length>0&&o[o.length-1].kind===h){f=o.pop();var d=e.positionAt(a.getTokenOffset()).line;f&&d>f.startLine+1&&s!==f.startLine&&(f.endLine=d-1,c(f),s=f.startLine)}break;case 13:var m=e.positionAt(a.getTokenOffset()).line,g=e.positionAt(a.getTokenOffset()+a.getTokenLength()).line;1===a.getTokenError()&&m+1<e.lineCount?a.setPosition(e.offsetAt(r.create(m+1,0))):m<g&&(c({startLine:m,endLine:g,kind:l.Comment}),s=m);break;case 12:var p=e.getText().substr(a.getTokenOffset(),a.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(p){d=e.positionAt(a.getTokenOffset()).line;if(p[1]){f={startLine:d,endLine:d,kind:l.Region};o.push(f)}else{for(var v=o.length-1;v>=0&&o[v].kind!==l.Region;)v--;if(v>=0){f=o[v];o.length=v,d>f.startLine&&s!==f.startLine&&(f.endLine=d,c(f),s=f.startLine)}}}}u=a.scan()}var y=t&&t.rangeLimit;if("number"!=typeof y||n.length<=y)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var b=[],C=0,_=i;C<_.length;C++){(N=_[C])<30&&(b[N]=(b[N]||0)+1)}var S=0,A=0;for(v=0;v<b.length;v++){var x=b[v];if(x){if(x+S>y){A=v;break}S+=x}}var w=[];for(v=0;v<n.length;v++){var N;"number"==typeof(N=i[v])&&(N<A||N===A&&S++<y)&&w.push(n[v])}return w}function vt(e,t,n){function r(t,n){return i.create(e.positionAt(t),e.positionAt(n))}var o=Object(E.a)(e.getText(),!0);function s(e,t){return o.setPosition(e),o.scan()===t?o.getTokenOffset()+o.getTokenLength():-1}return t.map((function(t){for(var o=e.offsetAt(t),a=n.getNodeFromOffset(o,!0),u=[];a;){switch(a.type){case"string":case"object":case"array":var c=a.offset+1,l=a.offset+a.length-1;c<l&&o>=c&&o<=l&&u.push(r(c,l)),u.push(r(a.offset,a.offset+a.length));break;case"number":case"boolean":case"null":case"property":u.push(r(a.offset,a.offset+a.length))}if("property"===a.type||a.parent&&"array"===a.parent.type){var f=s(a.offset+a.length,5);-1!==f&&u.push(r(a.offset,f))}a=a.parent}for(var h=void 0,d=u.length-1;d>=0;d--)h=ee.create(u[d],h);return h||(h=ee.create(i.create(t,t))),h}))}function yt(e,t,n){var r=e.offsetAt(t),i=n.getNodeFromOffset(r,!0);if(!i||!function(e){return"string"===e.type&&e.parent&&"property"===e.parent.type&&e.parent.valueNode===e&&"$ref"===e.parent.keyNode.value||!1}(i))return Promise.resolve([]);var o=i.parent.valueNode,s=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(Ct)}(t);if(!n)return null;return function e(t,n){if(!n)return null;if(0===t.length)return n;var r=t.shift();if(n&&"object"===n.type){var i=n.properties.find((function(e){return e.keyNode.value===r}));return i?e(t,i.valueNode):null}if(n&&"array"===n.type&&r.match(/^(0|[1-9][0-9]*)$/)){var o=Number.parseInt(r),s=n.items[o];return s?e(t,s):null}return null}(n,e.root)}(n,o.value);if(!s)return Promise.resolve([]);var a={targetUri:e.uri,originSelectionRange:bt(e,o),targetRange:bt(e,s),targetSelectionRange:bt(e,s)};return Promise.resolve([a])}function bt(e,t){return i.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}function Ct(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function _t(e){var t=e.promiseConstructor||Promise,n=new Je(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(ct);var r=new $e(n,e.contributions,t,e.clientCapabilities),o=new We(n,e.contributions,t),s=new st(n),a=new tt(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),a.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:a.doValidation.bind(a),parseJSONDocument:function(e){return Re(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new De(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:r.doResolve.bind(r),doComplete:r.doComplete.bind(r),findDocumentSymbols:s.findDocumentSymbols.bind(s),findDocumentSymbols2:s.findDocumentSymbols2.bind(s),findColorSymbols:function(e,t){return s.findDocumentColors(e,t).then((function(e){return e.map((function(e){return e.range}))}))},findDocumentColors:s.findDocumentColors.bind(s),getColorPresentations:s.getColorPresentations.bind(s),doHover:o.doHover.bind(o),getFoldingRanges:pt,getSelectionRanges:vt,findDefinition:yt,format:function(e,t,n){var r=void 0;if(t){var o=e.offsetAt(t.start);r={offset:o,length:e.offsetAt(t.end)-o}}var s={tabSize:n?n.tabSize:4,insertSpaces:!n||n.insertSpaces,eol:"\n"};return Object(E.c)(e.getText(),r,s).map((function(t){return v.replace(i.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}},40:function(e,t,n){"use strict";var r,i,o,s,a,u,c,l,f,h,d,m,g,p,v,y,b,C,_,S,E,A,x,w,N,L,k,T,O,I,M,P,D;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return h})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return C})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return E})),n.d(t,"v",(function(){return A})),n.d(t,"w",(function(){return x})),n.d(t,"x",(function(){return w})),n.d(t,"y",(function(){return N})),n.d(t,"z",(function(){return L})),n.d(t,"A",(function(){return k})),n.d(t,"B",(function(){return T})),n.d(t,"C",(function(){return O})),n.d(t,"D",(function(){return I})),n.d(t,"E",(function(){return M})),n.d(t,"F",(function(){return P})),n.d(t,"G",(function(){return D})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(u||(u={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(l||(l={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(h||(h={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(d||(d={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(p||(p={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(v||(v={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(y||(y={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(_||(_={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(E||(E={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(A||(A={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(x||(x={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(w||(w={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(N||(N={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(L||(L={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(k||(k={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(T||(T={})),function(e){e[e.Deprecated=1]="Deprecated"}(O||(O={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(I||(I={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(M||(M={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(P||(P={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(D||(D={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"h",(function(){return b}));var r=n(28);class i extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new i(t,"string",e)}function s(e){return 47===e||92===e}function a(e){return 47===e}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,r){let i="",o=0,s=-1,a=0,u=0;for(let c=0;c<=e.length;++c){if(c<e.length)u=e.charCodeAt(c);else{if(r(u))break;u=47}if(r(u)){if(s===c-1||1===a);else if(2===a){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=c,a=0;continue}if(0!==i.length){i="",o=0,s=c,a=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,c)}`:i=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===u&&-1!==a?++a:a=-1}return i}function l(e,t){if(null===t||"object"!=typeof t)throw new i("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const f={resolve(...e){let t="",n="",i=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(c=e[a],o(c,"path"),0===c.length)continue}else 0===t.length?c=r.a():(c=r.b["="+t]||r.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const l=c.length;let f=0,h="",d=!1;const m=c.charCodeAt(0);if(1===l)s(m)&&(f=1,d=!0);else if(s(m))if(d=!0,s(c.charCodeAt(1))){let e=2,t=e;for(;e<l&&!s(c.charCodeAt(e));)e++;if(e<l&&e!==t){const n=c.slice(t,e);for(t=e;e<l&&s(c.charCodeAt(e));)e++;if(e<l&&e!==t){for(t=e;e<l&&!s(c.charCodeAt(e));)e++;e!==l&&e===t||(h=`\\\\${n}\\${c.slice(t,e)}`,f=e)}}}else f=1;else u(m)&&58===c.charCodeAt(1)&&(h=c.slice(0,2),f=2,l>2&&s(c.charCodeAt(2))&&(d=!0,f=3));if(h.length>0)if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h;if(i){if(t.length>0)break}else if(n=`${c.slice(f)}\\${n}`,i=d,d&&t.length>0)break}return n=c(n,!i,"\\",s),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const l=e.charCodeAt(0);if(1===t)return a(l)?"\\":e;if(s(l))if(i=!0,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){const a=e.slice(o,i);for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return`\\\\${a}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${a}\\${e.slice(o,i)}`,r=i)}}}else r=1;else u(l)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),r=2,t>2&&s(e.charCodeAt(2))&&(i=!0,r=3));let f=r<t?c(e.slice(r),!i,"\\",s):"";return 0!==f.length||i||(f="."),f.length>0&&s(e.charCodeAt(t-1))&&(f+="\\"),void 0===n?i?"\\"+f:f:i?`${n}\\${f}`:`${n}${f}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&u(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];o(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&s(n.charCodeAt(0))){++i;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++i,e>2&&(s(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&s(t.charCodeAt(i));)i++;i>=2&&(t="\\"+t.slice(i))}return f.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=f.resolve(e),r=f.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&92===e.charCodeAt(i);)i++;let s=e.length;for(;s-1>i&&92===e.charCodeAt(s-1);)s--;const a=s-i;let u=0;for(;u<t.length&&92===t.charCodeAt(u);)u++;let c=t.length;for(;c-1>u&&92===t.charCodeAt(c-1);)c--;const l=c-u,h=a<l?a:l;let d=-1,m=0;for(;m<h;m++){const n=e.charCodeAt(i+m);if(n!==t.charCodeAt(u+m))break;92===n&&(d=m)}if(m!==h){if(-1===d)return r}else{if(l>h){if(92===t.charCodeAt(u+m))return r.slice(u+m+1);if(2===m)return r.slice(u+m)}a>h&&(92===e.charCodeAt(i+m)?d=m:2===m&&(d=3)),-1===d&&(d=0)}let g="";for(m=i+d+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(g+=0===g.length?"..":"\\..");return u+=d,g.length>0?`${g}${r.slice(u,c)}`:(92===r.charCodeAt(u)&&++u,r.slice(u,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=f.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(u(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return s(i)?e:".";if(s(i)){if(n=r=1,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else u(i)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,r=n);let a=-1,c=!0;for(let n=t-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!c){a=n;break}}else c=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,a=!0;if(e.length>=2&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,u=-1;for(n=e.length-1;n>=r;--n){const c=e.charCodeAt(n);if(s(c)){if(!a){r=n+1;break}}else-1===u&&(a=!1,u=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=u))}return r===i?i=u:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=0,n=-1,r=0,i=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&u(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!a){r=o+1;break}}else-1===i&&(a=!1,i=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===i||0===c||1===c&&n===i-1&&n===r+1?"":e.slice(n,i)},format:l.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return s(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(i)){if(r=1,s(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(u(i)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(r=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let a=-1,c=r,l=-1,f=!0,h=e.length-1,d=0;for(;h>=r;--h)if(i=e.charCodeAt(h),s(i)){if(!f){c=h+1;break}}else-1===l&&(f=!1,l=h+1),46===i?-1===a?a=h:1!==d&&(d=1):-1!==a&&(d=-1);return-1!==l&&(-1===a||0===d||1===d&&a===l-1&&a===c+1?t.base=t.name=e.slice(c,l):(t.name=e.slice(c,a),t.base=e.slice(c,l),t.ext=e.slice(a,l))),t.dir=c>0&&c!==r?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},h={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const s=i>=0?e[i]:r.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=c(t,!n,"/",a),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",a)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];o(r,"path"),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=h.resolve(e))===(t=h.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let a=-1,u=0;for(;u<s;u++){const n=e.charCodeAt(1+u);if(n!==t.charCodeAt(1+u))break;47===n&&(a=u)}if(u===s)if(i>s){if(47===t.charCodeAt(1+u))return t.slice(1+u+1);if(0===u)return t.slice(1+u)}else r>s&&(47===e.charCodeAt(1+u)?a=u:0===u&&(a=0));let c="";for(u=1+a+1;u<=n;++u)u!==n&&47!==e.charCodeAt(u)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const u=e.charCodeAt(n);if(47===u){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(u===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(47!==a)-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:l.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,u=!0,c=e.length-1,l=0;for(;c>=r;--c){const t=e.charCodeAt(c);if(47!==t)-1===a&&(u=!1,a=c+1),46===t?-1===i?i=c:1!==l&&(l=1):-1!==i&&(l=-1);else if(!u){s=c+1;break}}if(-1!==a){const r=0===s&&n?1:s;-1===i||0===l||1===l&&i===a-1&&i===s+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};h.win32=f.win32=f,h.posix=f.posix=h;const d="win32"===r.c?f.normalize:h.normalize,m="win32"===r.c?f.resolve:h.resolve,g="win32"===r.c?f.relative:h.relative,p="win32"===r.c?f.dirname:h.dirname,v="win32"===r.c?f.basename:h.basename,y="win32"===r.c?f.extname:h.extname,b="win32"===r.c?f.sep:h.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return g}));var r=n(13);class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,s=new i,a=new i;var u;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function l(e,t){if(0===e)return null;const n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new d(0!==r?[f(n,t),f(r,t)]:[f(n,t)])}function f(e,t){const n=!!(2048&e),r=!!(256&e);return new h(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n=t,r=n){o.define(e,t),s.define(e,n),a.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(u||(u={}));class h{constructor(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new d([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class d{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}class g{}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==r.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r,i=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t){return u((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function r(e,t){return u((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function i(e,t){return u((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function s(e,t,r){let i=r;return n(e,e=>(i=t(i,e),i))}function u(e){let t;const n=new a({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,r=!1,i){let o,s=void 0,u=void 0,c=0;const l=new a({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{c++,s=t(s,e),r&&!u&&(l.fire(s),s=void 0),clearTimeout(u),u=setTimeout(()=>{const e=s;s=void 0,u=void 0,(!r||c>1)&&l.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return l.event}function l(e){let t,n=!0;return i(e,e=>{const r=n||e!==t;return n=!1,t=e,r})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=s,e.snapshot=u,e.debounce=c,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-r)},e.latch=l,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)});const o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new a({onFirstListenerAdd(){i||(i=e(e=>s.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class f{constructor(e){this.event=e}map(e){return new f(n(this.event,e))}forEach(e){return new f(r(this.event,e))}filter(e){return new f(i(this.event,e))}reduce(e,t){return new f(s(this.event,e,t))}latch(){return new f(l(this.event))}debounce(e,t=100,n=!1,r){return new f(c(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new f(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new a;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(r||(r={}));class a{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let u,c;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(u=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(u&&u(),c.dispose=a._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(i.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}a._noop=function(){};class u extends a{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(n,e)):t.call(n,e)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class l{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},65:function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=!1);var n=e.length,r=0,a="",u=0,c=16,l=0,f=0,h=0,d=0,m=0;function g(t,n){for(var i=0,o=0;i<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)o=16*o+s-48;else if(s>=65&&s<=70)o=16*o+s-65+10;else{if(!(s>=97&&s<=102))break;o=16*o+s-97+10}r++,i++}return i<t&&(o=-1),o}function p(){if(a="",m=0,u=r,f=l,d=h,r>=n)return u=n,c=17;var t=e.charCodeAt(r);if(i(t)){do{r++,a+=String.fromCharCode(t),t=e.charCodeAt(r)}while(i(t));return c=15}if(o(t))return r++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,a+="\n"),l++,h=r,c=14;switch(t){case 123:return r++,c=1;case 125:return r++,c=2;case 91:return r++,c=3;case 93:return r++,c=4;case 58:return r++,c=6;case 44:return r++,c=5;case 34:return r++,a=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),m=2;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(i,r),r++;break}if(92!==s){if(s>=0&&s<=31){if(o(s)){t+=e.substring(i,r),m=2;break}m=6}r++}else{if(t+=e.substring(i,r),++r>=n){m=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=g(4,!0);a>=0?t+=String.fromCharCode(a):m=4;break;default:m=5}i=r}}return t}(),c=10;case 47:var p=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!o(e.charCodeAt(r));)r++;return a=e.substring(p,r),c=12}if(42===e.charCodeAt(r+1)){r+=2;for(var y=n-1,b=!1;r<y;){var C=e.charCodeAt(r);if(42===C&&47===e.charCodeAt(r+1)){r+=2,b=!0;break}r++,o(C)&&(13===C&&10===e.charCodeAt(r)&&r++,l++,h=r)}return b||(r++,m=1),a=e.substring(p,r),c=13}return a+=String.fromCharCode(t),r++,c=16;case 45:if(a+=String.fromCharCode(t),++r===n||!s(e.charCodeAt(r)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&s(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&s(e.charCodeAt(r))))return m=3,e.substring(t,r);for(r++;r<e.length&&s(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&s(e.charCodeAt(r))){for(r++;r<e.length&&s(e.charCodeAt(r));)r++;n=r}else m=3;return e.substring(t,n)}(),c=11;default:for(;r<n&&v(t);)r++,t=e.charCodeAt(r);if(u!==r){switch(a=e.substring(u,r)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return a+=String.fromCharCode(t),r++,c=16}}function v(e){if(i(e)||o(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,a="",u=0,c=16,m=0},getPosition:function(){return r},scan:t?function(){var e;do{e=p()}while(e>=12&&e<=15);return e}:p,getToken:function(){return c},getTokenValue:function(){return a},getTokenOffset:function(){return u},getTokenLength:function(){return r-u},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return u-d},getTokenError:function(){return m}}}function i(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function o(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e>=48&&e<=57}function a(e,t,n){var i,o,s,a,l;if(t){for(a=t.offset,l=a+t.length,s=a;s>0&&!c(e,s-1);)s--;for(var f=l;f<e.length&&!c(e,f);)f++;o=e.substring(s,f),i=function(e,t){var n=0,r=0,i=t.tabSize||4;for(;n<e.length;){var o=e.charAt(n);if(" "===o)r++;else{if("\t"!==o)break;r+=i}n++}return Math.floor(r/i)}(o,n)}else o=e,i=0,s=0,a=0,l=e.length;var h,d=function(e,t){for(var n=0;n<t.length;n++){var r=t.charAt(n);if("\r"===r)return n+1<t.length&&"\n"===t.charAt(n+1)?"\r\n":"\r";if("\n"===r)return"\n"}return e&&e.eol||"\n"}(n,e),m=!1,g=0;h=n.insertSpaces?u(" ",n.tabSize||4):"\t";var p=r(o,!1),v=!1;function y(){return d+u(h,i+g)}function b(){var e=p.scan();for(m=!1;15===e||14===e;)m=m||14===e,e=p.scan();return v=16===e||0!==p.getTokenError(),e}var C=[];function _(t,n,r){!v&&n<l&&r>a&&e.substring(n,r)!==t&&C.push({offset:n,length:r-n,content:t})}var S=b();if(17!==S){var E=p.getTokenOffset()+s;_(u(h,i),s,E)}for(;17!==S;){for(var A=p.getTokenOffset()+p.getTokenLength()+s,x=b(),w="";!m&&(12===x||13===x);){_(" ",A,p.getTokenOffset()+s),A=p.getTokenOffset()+p.getTokenLength()+s,w=12===x?y():"",x=b()}if(2===x)1!==S&&(g--,w=y());else if(4===x)3!==S&&(g--,w=y());else{switch(S){case 3:case 1:g++,w=y();break;case 5:case 12:w=y();break;case 13:w=m?y():" ";break;case 6:w=" ";break;case 10:if(6===x){w="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===x||13===x?w=" ":5!==x&&17!==x&&(v=!0);break;case 16:v=!0}!m||12!==x&&13!==x||(w=y())}_(w,A,p.getTokenOffset()+s),S=x}return C}function u(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function c(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var l;function f(e,t,n){void 0===n&&(n=l.DEFAULT);var i=r(e,!1);function o(e){return e?function(){return e(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}var a=o(t.onObjectBegin),u=s(t.onObjectProperty),c=o(t.onObjectEnd),f=o(t.onArrayBegin),h=o(t.onArrayEnd),d=s(t.onLiteralValue),m=s(t.onSeparator),g=o(t.onComment),p=s(t.onError),v=n&&n.disallowComments,y=n&&n.allowTrailingComma;function b(){for(;;){var e=i.scan();switch(i.getTokenError()){case 4:C(14);break;case 5:C(15);break;case 3:C(13);break;case 1:v||C(11);break;case 2:C(12);break;case 6:C(16)}switch(e){case 12:case 13:v?C(10):g();break;case 16:C(1);break;case 15:case 14:break;default:return e}}}function C(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),p(e),t.length+n.length>0)for(var r=i.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function _(e){var t=i.getTokenValue();return e?d(t):u(t),b(),!0}function S(){switch(i.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||C(4,[],[]),m(","),b(),4===i.getToken()&&y)break}else e&&C(6,[],[]);S()||C(4,[],[4,5]),e=!0}return h(),4!==i.getToken()?C(8,[4],[]):b(),!0}();case 1:return function(){a(),b();for(var e=!1;2!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||C(4,[],[]),m(","),b(),2===i.getToken()&&y)break}else e&&C(6,[],[]);(10!==i.getToken()?(C(3,[],[2,5]),0):(_(!1),6===i.getToken()?(m(":"),b(),S()||C(4,[],[2,5])):C(5,[],[2,5]),1))||C(4,[],[2,5]),e=!0}return c(),2!==i.getToken()?C(7,[2],[]):b(),!0}();case 10:return _(!0);default:return function(){switch(i.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(i.getTokenValue()))&&(C(2),e=0)}catch(e){C(2)}d(e);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return b(),!0}()}}return b(),17===i.getToken()?!!n.allowEmptyContent||(C(4,[],[]),!1):S()?(17!==i.getToken()&&C(9,[],[]),!0):(C(4,[],[]),!1)}n.d(t,"a",(function(){return h})),n.d(t,"f",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return v})),function(e){e.DEFAULT={allowTrailingComma:!1}}(l||(l={}));var h=r,d=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=l.DEFAULT);var r=null,i=[],o=[];function s(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}return f(e,{onObjectBegin:function(){var e={};s(e),o.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var e=[];s(e),o.push(i),i=e,r=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},m=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var i=t.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=n;o++){var s=e(i[o],n,r);if(s)return s}return t}},g=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var i=t.parent.children.indexOf(t);-1!==i&&n.push(i)}return n},p=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var n=Object.create(null),r=0,i=t.children;r<i.length;r++){var o=i[r],s=o.children[1];s&&(n[o.children[0].value]=e(s))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function v(e,t,n){return a(e,t,n)}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const i=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,n,r,i=s){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?(r+=e,o=0):r+=o,a(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}Date.now();const o=e-1-r;let c=-1,l=null;for(let e=1;;e++){Date.now(),i.timeBudget;const r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);const s=u(t,n,o,c);if(!s&&l)break;if(l=s,r<=0)break;c=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function u(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(36);class i{constructor(e){let t=Object(r.b)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(r.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new i(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));class r{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class i{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function i(e,t,n="0"){const r=""+e,i=[r];for(let e=r.length;e<t;e++)i.push(n);return i.reverse().join("")}n.d(t,"D",(function(){return r})),n.d(t,"M",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return a})),n.d(t,"v",(function(){return u})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return l})),n.d(t,"Q",(function(){return f})),n.d(t,"p",(function(){return h})),n.d(t,"V",(function(){return d})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"q",(function(){return p})),n.d(t,"P",(function(){return v})),n.d(t,"O",(function(){return y})),n.d(t,"w",(function(){return b})),n.d(t,"z",(function(){return C})),n.d(t,"J",(function(){return _})),n.d(t,"f",(function(){return S})),n.d(t,"h",(function(){return E})),n.d(t,"g",(function(){return A})),n.d(t,"i",(function(){return x})),n.d(t,"H",(function(){return w})),n.d(t,"I",(function(){return N})),n.d(t,"t",(function(){return k})),n.d(t,"T",(function(){return O})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return M})),n.d(t,"F",(function(){return P})),n.d(t,"G",(function(){return D})),n.d(t,"j",(function(){return F})),n.d(t,"A",(function(){return R})),n.d(t,"L",(function(){return U})),n.d(t,"N",(function(){return V})),n.d(t,"r",(function(){return $})),n.d(t,"m",(function(){return B})),n.d(t,"k",(function(){return q})),n.d(t,"B",(function(){return Y})),n.d(t,"a",(function(){return G})),n.d(t,"n",(function(){return z})),n.d(t,"l",(function(){return J})),n.d(t,"E",(function(){return Q})),n.d(t,"C",(function(){return Z})),n.d(t,"b",(function(){return X})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"c",(function(){return ie}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function u(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return f(l(e,t),t)}function l(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function f(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function h(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function d(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function g(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function p(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=u(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function v(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function y(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function b(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function C(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function _(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function E(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function A(e,t){return x(e,t,0,e.length,0,t.length)}function x(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let s=e.charCodeAt(n),a=t.charCodeAt(i);if(s===a)continue;const u=s-a;if((32!==u||!N(a))&&(-32!==u||!N(s)))return w(s)&&w(a)?u:E(e.toLowerCase(),t.toLowerCase(),n,r,i,o)}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function w(e){return e>=97&&e<=122}function N(e){return e>=65&&e<=90}function L(e){return w(e)||N(e)}function k(e,t){return e.length===t.length&&T(e,t)}function T(e,t,n=e.length){for(let r=0;r<n;r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)if(L(n)&&L(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function O(e,t){const n=t.length;return!(t.length>e.length)&&T(e,t,n)}function I(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function M(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function P(e){return 55296<=e&&e<=56319}function D(e){return 56320<=e&&e<=57343}function F(e,t){return t-56320+(e-55296<<10)+65536}function R(e,t,n){const r=e.charCodeAt(n);if(P(r)&&n+1<t){const t=e.charCodeAt(n+1);if(D(t))return F(r,t)}return r}function j(e,t){const n=e.charCodeAt(t-1);if(D(n)&&t>1){const r=e.charCodeAt(t-2);if(P(r))return F(r,n)}return n}function U(e,t){const n=oe.getInstance(),r=t,i=e.length,o=R(e,i,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<i;){const r=R(e,i,t),o=n.getGraphemeBreakType(r);if(ie(s,o))break;t+=r>=65536?2:1,s=o}return t-r}function V(e,t){const n=oe.getInstance(),r=t,i=j(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=j(e,t),i=n.getGraphemeBreakType(r);if(ie(i,o))break;t-=r>=65536?2:1,o=i}return r-t}function $(e){const t=e.byteLength,n=[];let r=0;for(;r<t;){const i=e[r];let o;if(o=i>=240&&r+3<t?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=224&&r+2<t?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=192&&r+1<t?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(r))}else n.push(String.fromCharCode(65533))}return n.join("")}const W=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function B(e){return W.test(e)}const K=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function q(e){return K.test(e)}const H=/^[\t\n\r\x20-\x7E]*$/;function Y(e){return H.test(e)}const G=/[\u2028\u2029]/;function z(e){return G.test(e)}function J(e){for(let t=0,n=e.length;t<n;t++)if(Q(e.charCodeAt(t)))return!0;return!1}function Q(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Z(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const X=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return oe.getInstance().getGraphemeBreakType(e)}function ie(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||l||a(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return f}));var r=n(8);function i(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>o(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),o(e[n],t)),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function u(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function c(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function l(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class f{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(i=a,o=-1,a=0):(i=e.charCodeAt(0),o=0);;){let u=i;if(r.F(i)){if(!(o+1<t)){a=i;break}{const t=e.charCodeAt(o+1);r.G(t)?(o++,u=r.j(i,t)):u=65533}}else r.G(i)&&(u=65533);if(s=this._push(n,s,u),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),l(this._h0)+l(this._h1)+l(this._h2)+l(this._h3)+l(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=f._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,u(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,a=this._h2,c=this._h3,l=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,r=1518500249):t<40?(n=s^a^c,r=1859775393):t<60?(n=s&a|s&c|a&c,r=2400959708):(n=s^a^c,r=3395469782),i=u(o,5)+n+l+r+e.getUint32(4*t,!1)&4294967295,l=c,c=a,a=u(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+l&4294967295}}f._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(13),i=n(2),o=n(11),s=n(14);let a=!1;function u(e){o.h&&(a||(a=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(r.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class l extends i.a{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let i=null;void 0!==self.require&&"function"==typeof self.require.getConfig?i=self.require.getConfig():void 0!==self.requirejs&&(i=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(i)),t,o]);const a=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{r=n,this._onModuleLoaded.then(t=>{e(s.c(t,a))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}class f{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=s.c(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=344)}({100:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(25),i=n(6),o=n(43),s=n(23),a=n(9),u=n(3),c=n(21),l=n(77),f=n(40);class h{static chord(e,t){return Object(o.a)(e,t)}}function d(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:i.a,KeyCode:f.o,KeyMod:h,Position:a.a,Range:u.a,Selection:c.a,SelectionDirection:f.z,MarkerSeverity:f.p,MarkerTag:f.q,Uri:s.a,Token:l.a}}h.CtrlCmd=2048,h.Shift=1024,h.Alt=512,h.WinCtrl=256},101:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(36);class i{constructor(e,t){this.index=e,this.remainder=t}}class o{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Object(r.a)(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Object(r.a)(e),t=Object(r.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Object(r.a)(e),t=Object(r.a)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,r=0,o=0,s=0;for(;t<=n;)if(r=t+(n-t)/2|0,o=this.prefixSum[r],s=o-this.values[r],e<s)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-s)}}},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return U}));var r=n(16);class i{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=n(89);class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function a(e,t,n){return new f(new s(e),new s(t)).ComputeDiff(n).changes}class u{static Assert(e,t){if(!e)throw new Error(t)}}class c{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class l{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class f{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[r,i,o]=f._getElements(e),[s,a,u]=f._getElements(t);this._hasStrings=o&&u,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(f._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=Object(o.c)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,o){for(o[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let o;return n<=r?(u.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new i(e,0,n,r-n+1)]):e<=t?(u.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new i(e,t-e+1,n,0)]):(u.Assert(e===t+1,"originalStart should only be one more than originalEnd"),u.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const s=[0],a=[0],c=this.ComputeRecursionPoint(e,t,n,r,s,a,o),l=s[0],f=a[0];if(null!==c)return c;if(!o[0]){const s=this.ComputeDiffRecursive(e,l,n,f,o);let a=[];return a=o[0]?[new i(l+1,t-(l+1)+1,f+1,r-(f+1)+1)]:this.ComputeDiffRecursive(l+1,t,f+1,r,o),this.ConcatenateChanges(s,a)}return[new i(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,o,s,a,u,c,f,h,d,m,g,p,v,y,b){let C=null,_=null,S=new l,E=t,A=n,x=m[0]-v[0]-r,w=-1073741824,N=this.m_forwardHistory.length-1;do{const t=x+e;t===E||t<A&&c[t-1]<c[t+1]?(g=(h=c[t+1])-x-r,h<w&&S.MarkNextChange(),w=h,S.AddModifiedElement(h+1,g),x=t+1-e):(g=(h=c[t-1]+1)-x-r,h<w&&S.MarkNextChange(),w=h-1,S.AddOriginalElement(h,g+1),x=t-1-e),N>=0&&(e=(c=this.m_forwardHistory[N])[0],E=1,A=c.length-1)}while(--N>=-1);if(C=S.getReverseChanges(),b[0]){let e=m[0]+1,t=v[0]+1;if(null!==C&&C.length>0){const n=C[C.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}_=[new i(e,d-e+1,t,p-t+1)]}else{S=new l,E=s,A=a,x=m[0]-v[0]-u,w=1073741824,N=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+o;e===E||e<A&&f[e-1]>=f[e+1]?(g=(h=f[e+1]-1)-x-u,h>w&&S.MarkNextChange(),w=h+1,S.AddOriginalElement(h+1,g+1),x=e+1-o):(g=(h=f[e-1])-x-u,h>w&&S.MarkNextChange(),w=h,S.AddModifiedElement(h+1,g+1),x=e-1-o),N>=0&&(o=(f=this.m_reverseHistory[N])[0],E=1,A=f.length-1)}while(--N>=-1);_=S.getChanges()}return this.ConcatenateChanges(C,_)}ComputeRecursionPoint(e,t,n,r,o,s,a){let u=0,l=0,f=0,h=0,d=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(r-n),p=g+1,v=new Int32Array(p),y=new Int32Array(p),b=r-n,C=t-e,_=e-n,S=t-r,E=(C-b)%2==0;v[b]=e,y[C]=t,a[0]=!1;for(let A=1;A<=g/2+1;A++){let g=0,x=0;f=this.ClipDiagonalBound(b-A,A,b,p),h=this.ClipDiagonalBound(b+A,A,b,p);for(let e=f;e<=h;e+=2){u=e===f||e<h&&v[e-1]<v[e+1]?v[e+1]:v[e-1]+1,l=u-(e-b)-_;const n=u;for(;u<t&&l<r&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(v[e]=u,u+l>g+x&&(g=u,x=l),!E&&Math.abs(e-C)<=A-1&&u>=y[e])return o[0]=u,s[0]=l,n<=y[e]&&A<=1448?this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a):null}const w=(g-e+(x-n)-A)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,w))return a[0]=!0,o[0]=g,s[0]=x,w>0&&A<=1448?this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a):(e++,n++,[new i(e,t-e+1,n,r-n+1)]);d=this.ClipDiagonalBound(C-A,A,C,p),m=this.ClipDiagonalBound(C+A,A,C,p);for(let i=d;i<=m;i+=2){u=i===d||i<m&&y[i-1]>=y[i+1]?y[i+1]-1:y[i-1],l=u-(i-C)-S;const c=u;for(;u>e&&l>n&&this.ElementsAreEqual(u,l);)u--,l--;if(y[i]=u,E&&Math.abs(i-b)<=A&&u<=v[i])return o[0]=u,s[0]=l,c>=v[i]&&A<=1448?this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a):null}if(A<=1447){let e=new Int32Array(h-f+2);e[0]=b-f+1,c.Copy2(v,f,e,1,h-f+1),this.m_forwardHistory.push(e),e=new Int32Array(m-d+2),e[0]=C-d+1,c.Copy2(y,d,e,1,m-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,f,h,_,C,d,m,S,v,y,u,t,o,l,r,s,E,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];n.originalLength>0&&(r=n.originalStart+n.originalLength),n.modifiedLength>0&&(i=n.modifiedStart+n.modifiedLength)}const o=n.originalLength>0,s=n.modifiedLength>0;let a=0,u=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<r||c<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const l=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);l>u&&(u=l,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return c.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],c.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return c.Copy(e,0,n,0,e.length),c.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(u.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),u.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let o=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(r,o,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}var h=n(11),d=n(23),m=n(9),g=n(3),p=n(8);function v(e,t,n,r){return new f(e,t,n).ComputeDiff(r)}class y{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=E(e[r],1),n[r]=A(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,u=e?this._endColumns[a]:t.length+1;for(let e=n;e<u;e++)r[s]=t.charCodeAt(e-1),i[s]=a+1,o[s]=e,s++}return new b(r,i,o)}}class b{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class C{constructor(e,t,n,r,i,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let r,i,o,s,a,u,c,l;return 0===e.originalLength?(r=0,i=0,o=0,s=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,u=0,c=0,l=0):(a=n.getStartLineNumber(e.modifiedStart),u=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),l=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new C(r,i,o,s,a,u,c,l)}}class _{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let a,u,c,l,f=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,u=0):(a=n.getStartLineNumber(t.originalStart),u=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=r.getStartLineNumber(t.modifiedStart)-1,l=0):(c=r.getStartLineNumber(t.modifiedStart),l=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let u=v(o,a,i,!0).changes;s&&(u=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(u)),f=[];for(let e=0,t=u.length;e<t;e++)f.push(C.createFromDiffChange(u[e],o,a))}return new _(a,u,c,l,f)}}class S{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new y(e),this.modified=new y(t),this.continueLineDiff=x(n.maxComputationTime),this.continueCharDiff=x(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=v(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(_.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let e=-1,n=t.length;e<n;e++){const s=e+1<n?t[e+1]:null,a=s?s.originalStart:this.originalLines.length,u=s?s.modifiedStart:this.modifiedLines.length;for(;i<a&&o<u;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=E(e,1),s=E(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=A(e,1),s=A(t,1);const a=e.length+1,u=t.length+1;for(;n<a&&s<u;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<u)&&this._pushTrimWhitespaceCharChange(r,i+1,n,a,o+1,s,u)}}i++,o++}s&&(r.push(_.createFromDiffResult(this.shouldIgnoreTrimWhitespace,s,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=s.originalLength,o+=s.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new C(t,n,t,r,i,o,i,s)]),e.push(new _(t,t,i,i,a))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const a=e.length;if(0===a)return!1;const u=e[a-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===i&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new C(t,n,t,r,i,o,i,s)),!0))}}function E(e,t){const n=p.w(e);return-1===n?t:n+1}function A(e,t){const n=p.J(e);return-1===n?t:n+2}function x(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var w=n(101);var N=n(73),L=n(76);class k{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class T{constructor(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++){let[i,o,s]=e[r];o>t&&(t=o),i>n&&(n=i),s>n&&(n=s)}t++,n++;let r=new k(n,t,0);for(let t=0,n=e.length;t<n;t++){let[n,i,o]=e[t];r.set(n,i,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let O=null;let I=null;class M{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===O&&(O=new T([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),O}()){const n=function(){if(null===I){I=new L.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let t=0;t<e.length;t++)I.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)I.set(t.charCodeAt(e),2)}return I}();let r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let a=0,u=0,c=0,l=1,f=!1,h=!1,d=!1,m=!1;for(;a<s;){let e=!1;const s=o.charCodeAt(a);if(13===l){let t;switch(s){case 40:f=!0,t=0;break;case 41:t=f?0:1;break;case 91:d=!0,h=!0,t=0;break;case 93:d=!1,t=h?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=d?0:1;break;default:t=n.get(s)}1===t&&(r.push(M._createLink(n,o,i,u,a)),e=!0)}else if(12===l){let t;91===s?(h=!0,t=0):t=n.get(s),1===t?e=!0:l=13}else l=t.nextState(l,s),0===l&&(e=!0);e&&(l=1,f=!1,h=!1,m=!1,u=a+1,c=s),a++}13===l&&r.push(M._createLink(n,o,i,u,s))}return r}}class P{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){let n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){let e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}P.INSTANCE=new P;var D=n(100),F=n(14),R=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};class j extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new w.a(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),r[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=Object(N.d)(e.column,Object(N.c)(t),this._lines[e.lineNumber-1],0);return n?new g.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){let n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const e of r)i.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class U{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new j(d.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return R(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const s=i.getLinesContent(),a=o.getLinesContent(),u=new S(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),c=!(u.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:u.quitEarly,identical:c,changes:u.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return R(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Object(r.p)(t,(e,t)=>{if(e.range&&t.range)return g.a.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)});for(let{range:e,text:r,eol:s}of t){if("number"==typeof s&&(o=s),g.a.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>U._diffLimit){i.push({range:e,text:r});continue}const u=a(t,r,!1),c=n.offsetAt(g.a.lift(e).getStartPosition());for(const e of u){const t=n.positionAt(c+e.originalStart),o=n.positionAt(c+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return R(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?M.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return R(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return null;const o=[],s=new Set,a=new RegExp(n,r),u=i.getWordAtPosition(t,a);u&&s.add(i.getValueInRange(u));for(let e of i.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(o.push(e),s.size>U._suggestionsLimit)))break;return o}))}computeWordRanges(e,t,n,r){return R(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,r,i){return R(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return null;let s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=o.getValueInRange(t),u=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!u)return null;let c=o.getValueInRange(u);return P.INSTANCE.navigateValueSet(t,a,u,c,n)}))}loadForeignModule(e,t,n){let r={host:F.c(n,(e,t)=>this._host.fhr(e,t)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(F.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}U._diffLimit=1e5,U._suggestionsLimit=1e4,"function"==typeof importScripts&&(h.b.monaco=Object(D.a)())},11:function(e,t,n){"use strict";(function(e,r){n.d(t,"i",(function(){return p})),n.d(t,"f",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return C})),n.d(t,"c",(function(){return _})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return E})),n.d(t,"a",(function(){return A})),n.d(t,"e",(function(){return N}));let i=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=void 0,f="en",h=void 0,d=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,l="en",f="en";const t=e.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];l=e.locale,f=n||"en",h=e._translationsConfigFile}catch(e){}a=!0}}else d=navigator.userAgent,i=d.indexOf("Windows")>=0,o=d.indexOf("Macintosh")>=0,c=(d.indexOf("Macintosh")>=0||d.indexOf("iPad")>=0||d.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=d.indexOf("Linux")>=0,u=!0,l=navigator.language,f=l;let g=0;o?g=1:i?g=3:s&&(g=2);const p=i,v=o,y=s,b=a,C=u,_=c,S="object"==typeof self?self:"object"==typeof r?r:{},E=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"==typeof S.postMessage&&!S.importScripts){let e=[];S.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),S.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),A=o||c?2:i?1:3;let x=!0,w=!1;function N(){if(!w){w=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);x=513===t[0]}return x}}).call(this,n(86),n(137))},13:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){a(e)||r.onUnexpectedError(e)}function o(e){a(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}function a(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function u(){const e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function l(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return s}));var r=n(94),i=n(104);let o=!1;function s(e){if(o)return;o=!0;const t=new r.b(e=>{self.postMessage(e)},t=>new i.a(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{o||s(null)}},137:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},14:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function u(e){return void 0===e}function c(e){return u(e)||null===e}function l(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function f(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function h(e){return"function"==typeof e}function d(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(h(t)){try{if(e instanceof t)return}catch(e){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function p(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function v(e){return null===e?void 0:e}n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"g",(function(){return h})),n.d(t,"m",(function(){return d})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return p})),n.d(t,"n",(function(){return v}))},140:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r,i,o,s=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var u=/^\w[\w\d+.-]*$/,c=/^\//,l=/^\/\//;var f="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!u.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new g(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=h.exec(e);return n?new g(n[2]||"",S(n[4]||""),S(n[5]||""),S(n[7]||""),S(n[9]||""),t):new g("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var n=e.indexOf(f,2);-1===n?(t=e.substring(2),e=f):(t=e.substring(2,n),e=e.substring(n)||f)}return new g("file",t,e,"","")},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),C(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=o?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?C(this,!0):(this._formatted||(this._formatted=C(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(d),p=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function v(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=p[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function y(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=p[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function b(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o&&(n=n.replace(/\//g,"\\")),n}function C(e,t){var n=t?y:v,r="",i=e.scheme,o=e.authority,s=e.path,a=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=f,r+=f),o){var c=o.indexOf("@");if(-1!==c){var l=o.substr(0,c);o=o.substr(c+1),-1===(c=l.indexOf(":"))?r+=n(l,!1):(r+=n(l.substr(0,c),!1),r+=":",r+=n(l.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),u&&(r+="#",r+=t?u:v(u,!1)),r}var _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(_)?e.replace(_,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}}).call(this,n(86))},16:function(e,t,n){"use strict";function r(e,t=0){return e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else{if(!(s>0))return o;i=o-1}}return-(r+1)}function a(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function u(e,t){return function e(t,n,r,i,o){if(i<=r)return;const s=r+(i-r)/2|0;if(e(t,n,r,s,o),e(t,n,s+1,i,o),n(t[s],t[s+1])<=0)return;!function(e,t,n,r,i,o){let s=n,a=r+1;for(let t=n;t<=i;t++)o[t]=e[t];for(let u=n;u<=i;u++)s>r?e[u]=o[a++]:a>i?e[u]=o[s++]:t(o[a],o[s])<0?e[u]=o[a++]:e[u]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}function c(e,t){const n=[];let r=void 0;for(const i of u(e.slice(0),t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function l(e){return e.filter(e=>!!e)}function f(e){return!Array.isArray(e)||0===e.length}function h(e){return Array.isArray(e)&&e.length>0}function d(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const r=t(e);return!n[r]&&(n[r]=!0,!0)})}function m(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function g(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function p(e,t,n){const r=g(e,t);return r<0?n:e[r]}function v(e,t){return e.length>0?e[0]:t}function y(e){return[].concat(...e)}function b(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function C(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function _(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function S(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function E(e){return Array.isArray(e)?e:[e]}n.d(t,"t",(function(){return r})),n.d(t,"u",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"p",(function(){return u})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return h})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return p})),n.d(t,"k",(function(){return v})),n.d(t,"l",(function(){return y})),n.d(t,"s",(function(){return b})),n.d(t,"a",(function(){return C})),n.d(t,"r",(function(){return _})),n.d(t,"q",(function(){return S})),n.d(t,"b",(function(){return E}))},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return d}));var r=n(37);function i(e){}class o extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function a(e){if(r.a.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new o(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function u(...e){return e.forEach(i),{dispose:()=>a(e)}}function c(e){const t={dispose:()=>{e()}};return t}class l{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{a(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?l.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}l.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new l}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class h{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class d{constructor(e){this.object=e}dispose(){}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(3);class o extends i.a{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new o(e,t,n,r):new o(n,r,e,t)}}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return p}));var r=n(11),i=n(42);const o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;const u="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{constructor(e,t,n,r,i,c=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,c),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,c))}static isUri(e){return e instanceof l||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return p(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new h(t,n,r,i,o)}static parse(e,t=!1){const n=c.exec(e);return n?new h(n[2]||"",b(n[4]||""),b(n[5]||""),b(n[7]||""),b(n[9]||""),t):new h("","","","","")}static file(e){let t="";if(r.i&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){const n=e.indexOf(u,2);-1===n?(t=e.substring(2),e=u):(t=e.substring(2,n),e=e.substring(n)||u)}return new h("file",t,e,"","")}static from(e){return new h(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=r.i&&"file"===e.scheme?l.file(i.i.join(p(e,!0),...t)).path:i.e.join(e.path,...t),e.with({path:n})}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{const t=new h(e);return t._formatted=e.external,t._fsPath=e._sep===f?e.fsPath:null,t}}return e}}const f=r.i?1:void 0;class h extends l{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=p(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const d={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n=void 0,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=d[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function g(e){let t=void 0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=d[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function p(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(n=n.replace(/\//g,"\\")),n}function v(e,t){const n=t?g:m;let r="",{scheme:i,authority:o,path:s,query:a,fragment:c}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=u,r+=u),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),c&&(r+="#",r+=t?c:m(c,!1)),r}const y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function b(e){return e.match(y)?e.replace(y,e=>function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)):e}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(6);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(o||(o={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?i:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=o.None}}},28:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var r=n(11);const i=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,o=i.cwd,s=i.env,a=i.platform}).call(this,n(86))},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);class i{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,o,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,s=e.endColumn),new i(n,r,o,s)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,s=e.endColumn,a=t.startLineNumber,u=t.startColumn,c=t.endLineNumber,l=t.endColumn;return n<a?(n=a,r=u):n===a&&(r=Math.max(r,u)),o>c?(o=c,s=l):o===c&&(s=Math.min(s,l)),n>o||n===o&&r>s?null:new i(n,r,o,s)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},344:function(e,t,n){"use strict";n.r(t);var r,i=n(131),o=n(38),s=n(140),a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},u=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};"undefined"!=typeof fetch&&(r=function(e){return fetch(e).then((function(e){return e.text()}))});var c=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=o.g({workspaceContext:{resolveRelativePath:function(e,t){return function(e,t){if(function(e){return e.charCodeAt(0)===l}(t)){var n=s.a.parse(e),r=t.split("/");return n.with({path:h(r)}).toString()}return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=s.a.parse(e),i=r.path.split("/"),o=0,a=t;o<a.length;o++){var u=a[o];i.push.apply(i,u.split("/"))}return r.with({path:h(i)}).toString()}(e,t)}(t.substr(0,t.lastIndexOf("/")+1),e)}},schemaRequestService:t.enableSchemaRequest&&r}),this._languageService.configure(this._languageSettings)}return e.prototype.doValidation=function(e){return a(this,void 0,void 0,(function(){var t,n;return u(this,(function(r){return(t=this._getTextDocument(e))?(n=this._languageService.parseJSONDocument(t),[2,this._languageService.doValidation(t,n)]):[2,Promise.resolve([])]}))}))},e.prototype.doComplete=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return u(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n),[2,this._languageService.doComplete(n,t,r)]}))}))},e.prototype.doResolve=function(e){return a(this,void 0,void 0,(function(){return u(this,(function(t){return[2,this._languageService.doResolve(e)]}))}))},e.prototype.doHover=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return u(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n),[2,this._languageService.doHover(n,t,r)]}))}))},e.prototype.format=function(e,t,n){return a(this,void 0,void 0,(function(){var r,i;return u(this,(function(o){return r=this._getTextDocument(e),i=this._languageService.format(r,t,n),[2,Promise.resolve(i)]}))}))},e.prototype.resetSchema=function(e){return a(this,void 0,void 0,(function(){return u(this,(function(t){return[2,Promise.resolve(this._languageService.resetSchema(e))]}))}))},e.prototype.findDocumentSymbols=function(e){return a(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentSymbols(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.findDocumentColors=function(e){return a(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(i){return t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentColors(t,n),[2,Promise.resolve(r)]}))}))},e.prototype.getColorPresentations=function(e,t,n){return a(this,void 0,void 0,(function(){var r,i,o;return u(this,(function(s){return r=this._getTextDocument(e),i=this._languageService.parseJSONDocument(r),o=this._languageService.getColorPresentations(r,i,t,n),[2,Promise.resolve(o)]}))}))},e.prototype.getFoldingRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return u(this,(function(i){return n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t),[2,Promise.resolve(r)]}))}))},e.prototype.getSelectionRanges=function(e,t){return a(this,void 0,void 0,(function(){var n,r,i;return u(this,(function(o){return n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n),i=this._languageService.getSelectionRanges(n,t,r),[2,Promise.resolve(i)]}))}))},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var r=n[t];if(r.uri.toString()===e)return o.f.create(e,this._languageId,r.version,r.getValue())}return null},e}(),l="/".charCodeAt(0),f=".".charCodeAt(0);function h(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];0===i.length||1===i.length&&i.charCodeAt(0)===f||(2===i.length&&i.charCodeAt(0)===f&&i.charCodeAt(1)===f?t.pop():t.push(i))}e.length>1&&0===e[e.length-1].length&&t.push("");var o=t.join("/");return 0===e[0].length&&(o="/"+o),o}self.onmessage=function(){i.initialize((function(e,t){return new c(e,t)}))}},36:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},37:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){for(const n of e)yield t(n)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(r||(r={}))},38:function(e,t,n){"use strict";n.d(t,"f",(function(){return oe})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return M})),n.d(t,"d",(function(){return P})),n.d(t,"e",(function(){return K})),n.d(t,"g",(function(){return _t}));var r,i,o,s,a,u,c,l,f,h,d,m,g,p,v,y,b,C,_,S,E=n(65);function A(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!A(e[n],t[n]))return!1}else{var i=[];for(r in e)i.push(r);i.sort();var o=[];for(r in t)o.push(r);if(o.sort(),!A(i,o))return!1;for(n=0;n<i.length;n++)if(!A(e[i[n]],t[i[n]]))return!1}return!0}function x(e){return"number"==typeof e}function w(e){return void 0!==e}function N(e){return"boolean"==typeof e}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return re.objectLiteral(t)&&re.number(t.line)&&re.number(t.character)}}(r||(r={})),function(e){e.create=function(e,t,n,i){if(re.number(e)&&re.number(t)&&re.number(n)&&re.number(i))return{start:r.create(e,t),end:r.create(n,i)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return re.objectLiteral(t)&&r.is(t.start)&&r.is(t.end)}}(i||(i={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&(re.string(t.uri)||re.undefined(t.uri))}}(o||(o={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.targetRange)&&re.string(t.targetUri)&&(i.is(t.targetSelectionRange)||re.undefined(t.targetSelectionRange))&&(i.is(t.originSelectionRange)||re.undefined(t.originSelectionRange))}}(s||(s={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return re.number(t.red)&&re.number(t.green)&&re.number(t.blue)&&re.number(t.alpha)}}(a||(a={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return i.is(t.range)&&a.is(t.color)}}(u||(u={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return re.string(t.label)&&(re.undefined(t.textEdit)||v.is(t))&&(re.undefined(t.additionalTextEdits)||re.typedArray(t.additionalTextEdits,v.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(l||(l={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return re.defined(n)&&(o.startCharacter=n),re.defined(r)&&(o.endCharacter=r),re.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return re.number(t.startLine)&&re.number(t.startLine)&&(re.undefined(t.startCharacter)||re.number(t.startCharacter))&&(re.undefined(t.endCharacter)||re.number(t.endCharacter))&&(re.undefined(t.kind)||re.string(t.kind))}}(f||(f={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return re.defined(t)&&o.is(t.location)&&re.string(t.message)}}(h||(h={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(d||(d={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e.create=function(e,t,n,r,i,o){var s={range:e,message:t};return re.defined(n)&&(s.severity=n),re.defined(r)&&(s.code=r),re.defined(i)&&(s.source=i),re.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&re.string(t.message)&&(re.number(t.severity)||re.undefined(t.severity))&&(re.number(t.code)||re.string(t.code)||re.undefined(t.code))&&(re.string(t.source)||re.undefined(t.source))&&(re.undefined(t.relatedInformation)||re.typedArray(t.relatedInformation,h.is))}}(g||(g={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return re.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.title)&&re.string(t.command)}}(p||(p={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return re.objectLiteral(t)&&re.string(t.newText)&&i.is(t.range)}}(v||(v={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return re.defined(t)&&k.is(t.textDocument)&&Array.isArray(t.edits)}}(y||(y={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&re.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||re.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||re.boolean(t.options.ignoreIfExists)))}}(b||(b={})),function(e){e.create=function(e,t,n){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&"rename"===t.kind&&re.string(t.oldUri)&&re.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||re.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||re.boolean(t.options.ignoreIfExists)))}}(C||(C={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&re.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||re.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||re.boolean(t.options.ignoreIfNotExists)))}}(_||(_={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return re.string(e.kind)?b.is(e)||C.is(e)||_.is(e):y.is(e)})))}}(S||(S={}));var L,k,T,O,I,M,P,D,F,R,j,U,V,$,W,B,K,q,H,Y,G,z,J,Q,Z,X,ee,te=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(v.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(v.replace(e,t))},e.prototype.delete=function(e){this.edits.push(v.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(y.is(e)){var n=new te(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new te(e.changes[n]);t._textEditChanges[n]=r})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(k.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new te(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new te(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(C.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(_.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.uri)&&(null===t.version||re.number(t.version))}}(k||(k={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return re.defined(t)&&re.string(t.uri)&&re.string(t.languageId)&&re.number(t.version)&&re.string(t.text)}}(T||(T={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(O||(O={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(O||(O={})),function(e){e.is=function(e){var t=e;return re.objectLiteral(e)&&O.is(t.kind)&&re.string(t.value)}}(I||(I={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(M||(M={})),function(e){e.PlainText=1,e.Snippet=2}(P||(P={})),function(e){e.Deprecated=1}(D||(D={})),function(e){e.create=function(e){return{label:e}}}(F||(F={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(R||(R={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return re.string(t)||re.objectLiteral(t)&&re.string(t.language)&&re.string(t.value)}}(j||(j={})),function(e){e.is=function(e){var t=e;return!!t&&re.objectLiteral(t)&&(I.is(t.contents)||j.is(t.contents)||re.typedArray(t.contents,j.is))&&(void 0===e.range||i.is(e.range))}}(U||(U={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(V||(V={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return re.defined(t)&&(i.documentation=t),re.defined(n)?i.parameters=n:i.parameters=[],i}}($||($={})),function(e){e.Text=1,e.Read=2,e.Write=3}(W||(W={})),function(e){e.create=function(e,t){var n={range:e};return re.number(t)&&(n.kind=t),n}}(B||(B={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(K||(K={})),function(e){e.Deprecated=1}(q||(q={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(H||(H={})),function(e){e.create=function(e,t,n,r,i,o){var s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&re.string(t.name)&&re.number(t.kind)&&i.is(t.range)&&i.is(t.selectionRange)&&(void 0===t.detail||re.string(t.detail))&&(void 0===t.deprecated||re.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(Y||(Y={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(G||(G={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return re.defined(t)&&re.typedArray(t.diagnostics,g.is)&&(void 0===t.only||re.typedArray(t.only,re.string))}}(z||(z={})),function(e){e.create=function(e,t,n){var r={title:e};return p.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&re.string(t.title)&&(void 0===t.diagnostics||re.typedArray(t.diagnostics,g.is))&&(void 0===t.kind||re.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||p.is(t.command))&&(void 0===t.isPreferred||re.boolean(t.isPreferred))&&(void 0===t.edit||S.is(t.edit))}}(J||(J={})),function(e){e.create=function(e,t){var n={range:e};return re.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&(re.undefined(t.command)||p.is(t.command))}}(Q||(Q={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return re.defined(t)&&re.number(t.tabSize)&&re.boolean(t.insertSpaces)}}(Z||(Z={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return re.defined(t)&&i.is(t.range)&&(re.undefined(t.target)||re.string(t.target))}}(X||(X={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&i.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ee||(ee={}));var ne;!function(e){e.create=function(e,t,n,r){return new ie(e,t,n,r)},e.is=function(e){var t=e;return!!(re.defined(t)&&re.string(t.uri)&&(re.undefined(t.languageId)||re.string(t.languageId))&&re.number(t.lineCount)&&re.func(t.getText)&&re.func(t.positionAt)&&re.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,u=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[u++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[u++]=i[s++];for(;a<o.length;)t[u++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var s=r[o],a=e.offsetAt(s.range.start),u=e.offsetAt(s.range.end);if(!(u<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(u,n.length),i=a}return n}}(ne||(ne={}));var re,ie=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return r.create(0,e);for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var s=n-1;return r.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(re||(re={}));var oe,se,ae,ue=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var r=0,i=t;r<i.length;r++){var o=i[r];if(e.isIncremental(o)){var s=le(o.range),a=this.offsetAt(s.start),u=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(u,this._content.length);var c=Math.max(s.start.line,0),l=Math.max(s.end.line,0),f=this._lineOffsets,h=ce(o.text,!1,a);if(l-c===h.length)for(var d=0,m=h.length;d<m;d++)f[d+c+1]=h[d];else h.length<1e4?f.splice.apply(f,[c+1,l-c].concat(h)):this._lineOffsets=f=f.slice(0,c+1).concat(h,f.slice(l+1));var g=o.text.length-(u-a);if(0!==g)for(d=c+1+h.length,m=f.length;d<m;d++)f[d]=f[d]+g}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ce(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function ce(e,t,n){void 0===n&&(n=0);for(var r=t?[n]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function le(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function fe(e){var t=le(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function he(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return void 0!==t[r]?t[r]:e}))}function de(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return he(t,n)}function me(e){return de}!function(e){e.create=function(e,t,n,r){return new ue(e,t,n,r)},e.update=function(e,t,n){if(e instanceof ue)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),r=0,i=[],o=0,s=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var s=0,a=0,u=0;for(;s<i.length&&a<o.length;){var c=n(i[s],o[a]);t[u++]=c<=0?i[s++]:o[a++]}for(;s<i.length;)t[u++]=i[s++];for(;a<o.length;)t[u++]=o[a++];return t}(t.map(fe),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));o<s.length;o++){var a=s[o],u=e.offsetAt(a.range.start);if(u<r)throw new Error("Overlapping edit");u>r&&i.push(n.substring(r,u)),a.newText.length&&i.push(a.newText),r=e.offsetAt(a.range.end)}return i.push(n.substr(r)),i.join("")}}(oe||(oe={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(se||(se={})),(ae||(ae={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[O.Markdown,O.PlainText],commitCharactersSupport:!0}}}};var ge,pe,ve=(ge=function(e,t){return(ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ye=me(),be={"color-hex":{errorMessage:ye("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:ye("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:ye("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:ye("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:ye("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},Ce=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),_e=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return ve(t,e),t}(Ce),Se=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return ve(t,e),t}(Ce),Ee=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return ve(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Ce),Ae=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return ve(t,e),t}(Ce),xe=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return ve(t,e),t}(Ce),we=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return ve(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Ce),Ne=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return ve(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Ce);function Le(e){return N(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(pe||(pe={}));var ke=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Pe(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Te=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Oe=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.merge(r)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var r=n[t];r.code===se.EnumValueMismatch&&(r.message=ye("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function Ie(e){return E.e(e)}function Me(e){return E.d(e)}function Pe(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var De=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}return e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return E.b(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var r=e(n),i=n.children;if(Array.isArray(i))for(var o=0;o<i.length&&r;o++)r=t(i[o]);return r};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var n=new Oe;return Fe(this.root,t,n,Te.instance),n.problems.map((function(t){var n=i.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return g.create(n,t.message,t.severity,t.code)}))}},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1);var r=new ke(t,n);return this.root&&e&&Fe(this.root,e,new Oe,r),r.schemas},e}();function Fe(e,t,n,r){if(e&&r.include(e)){var i=e;switch(i.type){case"object":!function(e,t,n,r){for(var i=Object.create(null),o=[],s=0,a=e.properties;s<a.length;s++){var u=(b=a[s]).keyNode.value;i[u]=b.valueNode,o.push(u)}if(Array.isArray(t.required))for(var c=0,l=t.required;c<l.length;c++){var f=l[c];if(!i[f]){var h=e.parent&&"property"===e.parent.type&&e.parent.keyNode,m=h?{offset:h.offset,length:h.length}:{offset:e.offset,length:1};n.problems.push({location:m,severity:d.Warning,message:ye("MissingRequiredPropWarning",'Missing property "{0}".',f)})}}var g=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var p=0,v=Object.keys(t.properties);p<v.length;p++){f=v[p];g(f);var y=t.properties[f];if(M=i[f])if(N(y))if(y)n.propertiesMatches++,n.propertiesValueMatches++;else{var b=M.parent;n.problems.push({location:{offset:b.keyNode.offset,length:b.keyNode.length},severity:d.Warning,message:t.errorMessage||ye("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{var C=new Oe;Fe(M,y,C,r),n.mergePropertyMatch(C)}}if(t.patternProperties)for(var _=0,S=Object.keys(t.patternProperties);_<S.length;_++)for(var E=S[_],A=new RegExp(E),w=0,L=o.slice(0);w<L.length;w++){f=L[w];if(A.test(f))if(g(f),M=i[f])if(N(y=t.patternProperties[E]))if(y)n.propertiesMatches++,n.propertiesValueMatches++;else{b=M.parent;n.problems.push({location:{offset:b.keyNode.offset,length:b.keyNode.length},severity:d.Warning,message:t.errorMessage||ye("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{C=new Oe;Fe(M,y,C,r),n.mergePropertyMatch(C)}}if("object"==typeof t.additionalProperties)for(var k=0,T=o;k<T.length;k++){f=T[k];if(M=i[f]){C=new Oe;Fe(M,t.additionalProperties,C,r),n.mergePropertyMatch(C)}}else if(!1===t.additionalProperties&&o.length>0)for(var O=0,I=o;O<I.length;O++){var M;f=I[O];if(M=i[f]){b=M.parent;n.problems.push({location:{offset:b.keyNode.offset,length:b.keyNode.length},severity:d.Warning,message:t.errorMessage||ye("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}}x(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});x(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var P=0,D=Object.keys(t.dependencies);P<D.length;P++){u=D[P];if(i[u]){var F=t.dependencies[u];if(Array.isArray(F))for(var R=0,j=F;R<j.length;R++){var U=j[R];i[U]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",U,u)})}else if(y=Le(F)){C=new Oe;Fe(e,y,C,r),n.mergePropertyMatch(C)}}}var V=Le(t.propertyNames);if(V)for(var $=0,W=e.properties;$<W.length;$++){var B=W[$];(u=B.keyNode)&&Fe(u,V,n,Te.instance)}}(i,t,n,r);break;case"array":!function(e,t,n,r){if(Array.isArray(t.items)){for(var i=t.items,o=0;o<i.length;o++){var s=Le(i[o]),a=new Oe;(h=e.items[o])?(Fe(h,s,a,r),n.mergePropertyMatch(a)):e.items.length>=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length)if("object"==typeof t.additionalItems)for(var u=i.length;u<e.items.length;u++){a=new Oe;Fe(e.items[u],t.additionalItems,a,r),n.mergePropertyMatch(a)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var c=Le(t.items);if(c)for(var l=0,f=e.items;l<f.length;l++){var h=f[l];a=new Oe;Fe(h,c,a,r),n.mergePropertyMatch(a)}}var m=Le(t.contains);if(m){e.items.some((function(e){var t=new Oe;return Fe(e,m,t,Te.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.errorMessage||ye("requiredItemMissingWarning","Array does not contain required item.")})}x(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});x(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var g=Ie(e);g.some((function(e,t){return t!==g.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("uniqueItemsWarning","Array has duplicate items.")})}}(i,t,n,r);break;case"string":!function(e,t,n,r){x(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});x(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(i=t.pattern,"string"==typeof i){new RegExp(t.pattern).test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.patternErrorMessage||t.errorMessage||ye("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var i;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(o=ye("uriSchemeMissing","URI with a scheme is expected.")):o=ye("uriMissing","URI is expected.")}else o=ye("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.patternErrorMessage||t.errorMessage||ye("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var a=be[t.format];e.value&&a.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:t.patternErrorMessage||t.errorMessage||a.errorMessage})}}(i,t,n);break;case"number":!function(e,t,n,r){var i=e.value;function o(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(x(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=i%t.multipleOf;else{var a=o(t.multipleOf),u=o(i);if(a&&u){var c=Math.pow(10,Math.abs(u.multiplier-a.multiplier));u.multiplier<a.multiplier?u.value*=c:a.value*=c,s=u.value%a.value}}0!==s&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function l(e,t){return x(t)?t:N(t)&&t?e:void 0}function f(e,t){if(!N(t)||!t)return e}var h=l(t.minimum,t.exclusiveMinimum);x(h)&&i<=h&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",h)});var m=l(t.maximum,t.exclusiveMaximum);x(m)&&i>=m&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",m)});var g=f(t.minimum,t.exclusiveMinimum);x(g)&&i<g&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("minimumWarning","Value is below the minimum of {0}.",g)});var p=f(t.maximum,t.exclusiveMaximum);x(p)&&i>p&&n.problems.push({location:{offset:e.offset,length:e.length},severity:d.Warning,message:ye("maximumWarning","Value is above the maximum of {0}.",p)})}(i,t,n);break;case"property":return Fe(i.valueNode,t,n,r)}!function(){function e(e){return i.type===e||"integer"===e&&"number"===i.type&&i.isInteger}Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,message:t.errorMessage||ye("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,message:t.errorMessage||ye("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,s=t.allOf;o<s.length;o++){var a=s[o];Fe(i,Le(a),n,r)}var u=Le(t.not);if(u){var c=new Oe,l=r.newSub();Fe(i,u,c,l),c.hasProblems()||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,message:ye("notSchemaWarning","Matches a schema that is not allowed.")});for(var f=0,h=l.schemas;f<h.length;f++){var m=h[f];m.inverted=!m.inverted,r.add(m)}}var g=function(e,t){for(var o=[],s=void 0,a=0,u=e;a<u.length;a++){var c=Le(u[a]),l=new Oe,f=r.newSub();if(Fe(i,c,l,f),l.hasProblems()||o.push(c),s)if(t||l.hasProblems()||s.validationResult.hasProblems()){var h=l.compare(s.validationResult);h>0?s={schema:c,validationResult:l,matchingSchemas:f}:0===h&&(s.matchingSchemas.merge(f),s.validationResult.mergeEnumValues(l))}else s.matchingSchemas.merge(f),s.validationResult.propertiesMatches+=l.propertiesMatches,s.validationResult.propertiesValueMatches+=l.propertiesValueMatches;else s={schema:c,validationResult:l,matchingSchemas:f}}return o.length>1&&t&&n.problems.push({location:{offset:i.offset,length:1},severity:d.Warning,message:ye("oneOfWarning","Matches multiple schemas when only one must validate.")}),s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,r.merge(s.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&g(t.anyOf,!1);Array.isArray(t.oneOf)&&g(t.oneOf,!0);var p=function(e){var t=new Oe,o=r.newSub();Fe(i,Le(e),t,o),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,r.merge(o)},v=Le(t.if);v&&function(e,t,n){var o=Le(e),s=new Oe,a=r.newSub();Fe(i,o,s,a),r.merge(a),s.hasProblems()?n&&p(n):t&&p(t)}(v,Le(t.then),Le(t.else));if(Array.isArray(t.enum)){for(var y=Ie(i),b=!1,C=0,_=t.enum;C<_.length;C++){var S=_[C];if(A(y,S)){b=!0;break}}n.enumValues=t.enum,n.enumValueMatch=b,b||n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,code:se.EnumValueMismatch,message:t.errorMessage||ye("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(w(t.const)){A(y=Ie(i),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:i.offset,length:i.length},severity:d.Warning,code:se.EnumValueMismatch,message:t.errorMessage||ye("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&i.parent&&n.problems.push({location:{offset:i.parent.offset,length:i.parent.length},severity:d.Warning,message:t.deprecationMessage})}(),r.add({node:i,schema:t})}}function Re(e,t){var n=[],r=-1,o=e.getText(),s=E.a(o,!1),a=t&&t.collectComments?[]:void 0;function u(){for(;;){var t=s.scan();switch(f(),t){case 12:case 13:Array.isArray(a)&&a.push(i.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return t}}}function c(t,o,s,a,u){if(void 0===u&&(u=d.Error),0===n.length||s!==r){var c=i.create(e.positionAt(s),e.positionAt(a));n.push(g.create(c,t,u,o,e.languageId)),r=s}}function l(e,t,n,r,i){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===i&&(i=[]);var a=s.getTokenOffset(),l=s.getTokenOffset()+s.getTokenLength();if(a===l&&a>0){for(a--;a>0&&/\s/.test(o.charAt(a));)a--;l=a+1}if(c(e,t,a,l),n&&h(n,!1),r.length+i.length>0)for(var f=s.getToken();17!==f;){if(-1!==r.indexOf(f)){u();break}if(-1!==i.indexOf(f))break;f=u()}return n}function f(){switch(s.getTokenError()){case 4:return l(ye("InvalidUnicode","Invalid unicode sequence in string."),se.InvalidUnicode),!0;case 5:return l(ye("InvalidEscapeCharacter","Invalid escape character in string."),se.InvalidEscapeCharacter),!0;case 3:return l(ye("UnexpectedEndOfNumber","Unexpected end of number."),se.UnexpectedEndOfNumber),!0;case 1:return l(ye("UnexpectedEndOfComment","Unexpected end of comment."),se.UnexpectedEndOfComment),!0;case 2:return l(ye("UnexpectedEndOfString","Unexpected end of string."),se.UnexpectedEndOfString),!0;case 6:return l(ye("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),se.InvalidCharacter),!0}return!1}function h(e,t){return e.length=s.getTokenOffset()+s.getTokenLength()-e.offset,t&&u(),e}var m=new xe(void 0,0,0);function p(t,n){var r=new we(t,s.getTokenOffset(),m),i=v(r);if(!i){if(16!==s.getToken())return;l(ye("DoubleQuotesExpected","Property keys must be doublequoted"),se.Undefined);var o=new xe(r,s.getTokenOffset(),s.getTokenLength());o.value=s.getTokenValue(),i=o,u()}r.keyNode=i;var a=n[i.value];if(a?(c(ye("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,d.Warning),"object"==typeof a&&c(ye("DuplicateKeyWarning","Duplicate object key"),se.DuplicateKey,a.keyNode.offset,a.keyNode.offset+a.keyNode.length,d.Warning),n[i.value]=!0):n[i.value]=r,6===s.getToken())r.colonOffset=s.getTokenOffset(),u();else if(l(ye("ColonExpected","Colon expected"),se.ColonExpected),10===s.getToken()&&e.positionAt(i.offset+i.length).line<e.positionAt(s.getTokenOffset()).line)return r.length=i.length,r;var f=y(r);return f?(r.valueNode=f,r.length=f.offset+f.length-r.offset,r):l(ye("ValueExpected","Value expected"),se.ValueExpected,r,[],[2,5])}function v(e){if(10===s.getToken()){var t=new xe(e,s.getTokenOffset());return t.value=s.getTokenValue(),h(t,!0)}}function y(e){return function(e){if(3===s.getToken()){var t=new Ee(e,s.getTokenOffset());u();for(var n=!1;4!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){n||l(ye("ValueExpected","Value expected"),se.ValueExpected);var r=s.getTokenOffset();if(u(),4===s.getToken()){n&&c(ye("TrailingComma","Trailing comma"),se.TrailingComma,r,r+1);continue}}else n&&l(ye("ExpectedComma","Expected comma"),se.CommaExpected);var i=y(t);i?t.items.push(i):l(ye("PropertyExpected","Value expected"),se.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==s.getToken()?l(ye("ExpectedCloseBracket","Expected comma or closing bracket"),se.CommaOrCloseBacketExpected,t):h(t,!0)}}(e)||function(e){if(1===s.getToken()){var t=new Ne(e,s.getTokenOffset()),n=Object.create(null);u();for(var r=!1;2!==s.getToken()&&17!==s.getToken();){if(5===s.getToken()){r||l(ye("PropertyExpected","Property expected"),se.PropertyExpected);var i=s.getTokenOffset();if(u(),2===s.getToken()){r&&c(ye("TrailingComma","Trailing comma"),se.TrailingComma,i,i+1);continue}}else r&&l(ye("ExpectedComma","Expected comma"),se.CommaExpected);var o=p(t,n);o?t.properties.push(o):l(ye("PropertyExpected","Property expected"),se.PropertyExpected,void 0,[],[2,5]),r=!0}return 2!==s.getToken()?l(ye("ExpectedCloseBrace","Expected comma or closing brace"),se.CommaOrCloseBraceExpected,t):h(t,!0)}}(e)||v(e)||function(e){if(11===s.getToken()){var t=new Ae(e,s.getTokenOffset());if(0===s.getTokenError()){var n=s.getTokenValue();try{var r=JSON.parse(n);if(!x(r))return l(ye("InvalidNumberFormat","Invalid number format."),se.Undefined,t);t.value=r}catch(e){return l(ye("InvalidNumberFormat","Invalid number format."),se.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return h(t,!0)}}(e)||function(e){switch(s.getToken()){case 7:return h(new _e(e,s.getTokenOffset()),!0);case 8:return h(new Se(e,!0,s.getTokenOffset()),!0);case 9:return h(new Se(e,!1,s.getTokenOffset()),!0);default:return}}(e)}var b=void 0;return 17!==u()&&((b=y(b))?17!==s.getToken()&&l(ye("End of file expected","End of file expected."),se.Undefined):l(ye("Invalid symbol","Expected a JSON object, array or literal."),se.Undefined)),new De(b,n,a)}function je(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function Ue(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}var Ve=me(),$e=function(){function e(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===r&&(r={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=r}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r=this,o={items:[],isIncomplete:!1},s=e.getText(),a=e.offsetAt(t),u=n.getNodeFromOffset(a,!0);if(this.isInComment(e,u?u.offset:0,a))return Promise.resolve(o);if(u&&a===u.offset+u.length&&a>0){var c=s[a-1];("object"===u.type&&"}"===c||"array"===u.type&&"]"===c)&&(u=u.parent)}var l,f=this.getCurrentWord(e,a);if(!u||"string"!==u.type&&"number"!==u.type&&"boolean"!==u.type&&"null"!==u.type){var h=a-f.length;h>0&&'"'===s[h-1]&&h--,l=i.create(e.positionAt(h),t)}else l=i.create(e.positionAt(u.offset),e.positionAt(u.offset+u.length));var d={},m={add:function(e){var t=e.label,n=d[t];if(n)n.documentation||(n.documentation=e.documentation);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var r=t.substr(0,57).trim()+"...";d[r]||(t=r)}l&&void 0!==e.insertText&&(e.textEdit=v.replace(l,e.insertText)),e.label=t,d[t]=e,o.items.push(e)}},setAsIncomplete:function(){o.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return o.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var i=[],c=!0,h="",g=void 0;if(u&&"string"===u.type){var p=u.parent;p&&"property"===p.type&&p.keyNode===u&&(c=!p.valueNode,g=p,h=s.substr(u.offset+1,u.length-2),p&&(u=p.parent))}if(u&&"object"===u.type){if(u.offset===a)return o;u.properties.forEach((function(e){g&&g===e||(d[e.keyNode.value]=F.create("__"))}));var v="";c&&(v=r.evaluateSeparatorAfter(e,e.offsetAt(l.end))),t?r.getPropertyCompletions(t,n,u,c,v,m):r.getSchemaLessPropertyCompletions(n,u,h,m);var y=Me(u);r.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,y,f,c,""===v,m);n&&i.push(n)})),!t&&f.length>0&&'"'!==s.charAt(a-f.length-1)&&(m.add({kind:M.Property,label:r.getLabelForValue(f),insertText:r.getInsertTextForProperty(f,void 0,!1,v),insertTextFormat:P.Snippet,documentation:""}),m.setAsIncomplete())}var b={};return t?r.getValueCompletions(t,n,u,a,e,m,b):r.getSchemaLessValueCompletions(n,u,a,e,m),r.contributions.length>0&&r.getContributedValueCompletions(n,u,a,e,m,i),r.promiseConstructor.all(i).then((function(){if(0===m.getNumberOfProposals()){var t=a;!u||"string"!==u.type&&"number"!==u.type&&"boolean"!==u.type&&"null"!==u.type||(t=u.offset+u.length);var n=r.evaluateSeparatorAfter(e,t);r.addFillerValueCompletions(b,n,m)}return o}))}))},e.prototype.getPropertyCompletions=function(e,t,n,r,i,o){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:M.Property,label:e,insertText:s.getInsertTextForProperty(e,n,r,i),insertTextFormat:P.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&je(a.insertText,"$1"+i)&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(a)}}));var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var u=function(e,t){void 0===t&&(t=void 0);var n={kind:M.Property,label:e,insertText:s.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:P.Snippet,filterText:s.getFilterTextForValue(e),documentation:t||s.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&je(n.insertText,"$1"+i)&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(n)};if(a.enum)for(var c=0;c<a.enum.length;c++){var l=void 0;a.markdownEnumDescriptions&&c<a.markdownEnumDescriptions.length?l=s.fromMarkup(a.markdownEnumDescriptions[c]):a.enumDescriptions&&c<a.enumDescriptions.length&&(l=a.enumDescriptions[c]),u(a.enum[c],l)}a.const&&u(a.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,r){var i=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;r.add({kind:M.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:P.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var s=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===s&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&r.add({kind:M.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:P.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,r,i){var o=this,s=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(s=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:P.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:P.Snippet,documentation:""});var a=this.evaluateSeparatorAfter(r,s),u=function(e){e.parent&&!Pe(e.parent,n,!0)&&i.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,r),insertText:o.getInsertTextForMatchingNode(e,r,a),insertTextFormat:P.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,a,i)};if("property"===t.type&&n>(t.colonOffset||0)){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var l=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===l&&e.valueNode&&u(e.valueNode),!0})),"$schema"===l&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var f=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===f&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(u),!0}))}else t.items.forEach(u)},e.prototype.getValueCompletions=function(e,t,n,r,i,o,s){var a=r,u=void 0,c=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(a=n.offset+n.length,c=n,n=n.parent),n){if("property"===n.type&&r>(n.colonOffset||0)){var l=n.valueNode;if(l&&r>l.offset+l.length)return;u=n.keyNode.value,n=n.parent}if(n&&(void 0!==u||"array"===n.type)){for(var f=this.evaluateSeparatorAfter(i,a),h=0,d=t.getMatchingSchemas(e.schema,n.offset,c);h<d.length;h++){var m=d[h];if(m.node===n&&!m.inverted&&m.schema){if("array"===n.type&&m.schema.items)if(Array.isArray(m.schema.items)){var g=this.findItemAtOffset(n,i,r);g<m.schema.items.length&&this.addSchemaValueCompletions(m.schema.items[g],f,o,s)}else this.addSchemaValueCompletions(m.schema.items,f,o,s);if(void 0!==u){var p=!1;if(m.schema.properties)(C=m.schema.properties[u])&&(p=!0,this.addSchemaValueCompletions(C,f,o,s));if(m.schema.patternProperties&&!p)for(var v=0,y=Object.keys(m.schema.patternProperties);v<y.length;v++){var b=y[v];if(new RegExp(b).test(u)){p=!0;var C=m.schema.patternProperties[b];this.addSchemaValueCompletions(C,f,o,s)}}if(m.schema.additionalProperties&&!p){C=m.schema.additionalProperties;this.addSchemaValueCompletions(C,f,o,s)}}}}"$schema"!==u||n.parent||this.addDollarSchemaCompletions(f,o),s.boolean&&(this.addBooleanValueCompletion(!0,f,o),this.addBooleanValueCompletion(!1,f,o)),s.null&&this.addNullValueCompletion(f,o)}}else this.addSchemaValueCompletions(e.schema,"",o,s)},e.prototype.getContributedValueCompletions=function(e,t,n,r,i,o){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),t&&"property"===t.type&&n>(t.colonOffset||0)){var s=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var u=Me(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(r.uri,u,s,i);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var o=!1;if(w(e.default)){for(var s=e.type,a=e.default,u=r;u>0;u--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:P.Snippet,detail:Ve("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(s){for(var a=e.type,u=s,c=r;c>0;c--)u=[u],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(u),insertText:i.getInsertTextForValue(u,t),insertTextFormat:P.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(s){var a,u,c=e.type,l=s.body,f=s.label;if(w(l)){e.type;for(var h=r;h>0;h--)l=[l],"array";a=i.getInsertTextForSnippetValue(l,t),u=i.getFilterTextForSnippetValue(l),f=f||i.getLabelForSnippetValue(l)}else{if("string"!=typeof s.bodyText)return;var d="",m="",g="";for(h=r;h>0;h--)d=d+g+"[\n",m=m+"\n"+g+"]",g+="\t",c="array";a=d+g+s.bodyText.split("\n").join("\n"+g)+m+t,f=f||a,u=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(c),label:f,documentation:i.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:P.Snippet,filterText:u}),o=!0})),!o&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(w(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:P.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r<i;r++){var o=e.enum[r],s=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&r<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?s=this.fromMarkup(e.markdownEnumDescriptions[r]):e.enumDescriptions&&r<e.enumDescriptions.length&&(s=e.enumDescriptions[r]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:P.Snippet,documentation:s})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!w(e.const)){var n=e.type;Array.isArray(n)?n.forEach((function(e){return t[e]=!0})):n&&(t[n]=!0)}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:P.Snippet,detail:Ve("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:P.Snippet,detail:Ve("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:P.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:P.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(r){return t.add({kind:M.Module,label:n.getLabelForValue(r),filterText:n.getFilterTextForValue(r),insertText:n.getInsertTextForValue(r,e),insertTextFormat:P.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,n,r){if(null!==t&&"object"==typeof t){var i=n+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",s=0;s<t.length;s++)o+=i+e(t[s],i,r),s<t.length-1&&(o+=","),o+="\n";return o+=n+"]"}var a=Object.keys(t);if(0===a.length)return"{}";for(o="{\n",s=0;s<a.length;s++){var u=a[s];o+=i+JSON.stringify(u)+": "+e(t[u],i,r),s<a.length-1&&(o+=","),o+="\n"}return o+=n+"}"}return r(t)}(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:void 0}if(!e)return M.Value;switch(e){case"string":return M.Value;case"object":return M.Module;case"property":return M.Property;default:return M.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i=this.getInsertTextForValue(e,"");if(!n)return i;var o,s=i+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;w(u)&&(o=this.getInsertTextForSnippetValue(u,""))}a+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),w(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),a++),Array.isArray(t.examples)&&t.examples.length&&(o||(o=this.getInsertTextForGuessedValue(t.examples[0],"")),a+=t.examples.length),0===a){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||a>1)&&(o="$1"),s+o+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=E.a(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=E.a(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var s=i[o];if(n>s.offset+s.length)return r.setPosition(s.offset+s.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?o+1:o;if(n>=s.offset)return o}return 0},e.prototype.isInComment=function(e,t,n){var r=E.a(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()<n;)i=r.scan();return(12===i||13===i)&&r.getTokenOffset()<=n},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:O.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!w(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(O.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!w(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),We=function(){function e(e,t,n){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doHover=function(e,t,n){var r=e.offsetAt(t),o=n.getNodeFromOffset(r);if(!o||("object"===o.type||"array"===o.type)&&r>o.offset+1&&r<o.offset+o.length-1)return this.promise.resolve(null);var s=o;if("string"===o.type){var a=o.parent;if(a&&"property"===a.type&&a.keyNode===o&&!(o=a.valueNode))return this.promise.resolve(null)}for(var u=i.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),c=function(e){return{contents:e,range:u}},l=Me(o),f=this.contributions.length-1;f>=0;f--){var h=this.contributions[f].getInfoContribution(e.uri,l);if(h)return h.then((function(e){return c(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e&&o){var t=n.getMatchingSchemas(e.schema,o.offset),r=void 0,i=void 0,s=void 0,a=void 0;t.every((function(e){if(e.node===o&&!e.inverted&&e.schema&&(r=r||e.schema.title,i=i||e.schema.markdownDescription||Be(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Ie(o));e.schema.markdownEnumDescriptions?s=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(s=Be(e.schema.enumDescriptions[t])),s&&"string"!=typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0}));var u="";return r&&(u=Be(r)),i&&(u.length>0&&(u+="\n\n"),u+=i),s&&(u.length>0&&(u+="\n\n"),u+="`"+function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(a)+"`: "+s),c([u])}return null}))},e}();function Be(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var Ke=n(140),qe=me(),He=function(){function e(e,t){this.patternRegExps=[],this.isInclude=[];try{for(var n=0,r=e;n<r.length;n++){var i=r[n],o="!"!==i[0];o||(i=i.substring(1)),this.patternRegExps.push(new RegExp(Ue(i)+"$")),this.isInclude.push(o)}this.uris=t}catch(e){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0;n<this.patternRegExps.length;n++){this.patternRegExps[n].test(e)&&(t=this.isInclude[n])}return t},e.prototype.getURIs=function(){return this.uris},e}(),Ye=function(){function e(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new Ge(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),Ge=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},ze=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){var t=this.getSectionRecursive(e,this.schema);if(t)return Le(t)},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var r=0,i=Object.keys(t.patternProperties);r<i.length;r++){var o=i[r];if(new RegExp(o).test(n))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var s=parseInt(n,10);if(!isNaN(s)&&t.items[s])return this.getSectionRecursive(e,t.items[s])}else if(t.items)return this.getSectionRecursive(e,t.items)}},e}(),Je=function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var n=Ke.a.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,n=!1,r=[e=Ze(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var o=r.pop(),s=0;s<i.length;s++){var a=i[s];a&&(a.url===o||a.dependencies[o])&&(a.url!==o&&r.push(a.url),a.clearSchema(),i[s]=void 0,n=!0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var r=Ze(n);this.contributionSchemas[r]=this.addSchemaHandle(r,t[n])}}if(Array.isArray(e.schemaAssociations))for(var i=0,o=e.schemaAssociations;i<o.length;i++){var s=o[i],a=s.uris.map(Ze),u=this.addFilePatternAssociation(s.pattern,a);this.contributionAssociations.push(u)}},e.prototype.addSchemaHandle=function(e,t){var n=new Ye(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.addFilePatternAssociation=function(e,t){var n=new He(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var r=Ze(e);return this.registeredSchemasIds[r]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[e]),n?this.addSchemaHandle(r,n):this.getOrAddSchemaHandle(r)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var r=n[t];this.filePatternAssociations.push(r)}},e.prototype.getResolvedSchema=function(e){var t=Ze(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=qe("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Xe(e));return this.promise.resolve(new Ge({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=qe("json.schema.nocontent","Unable to load schema from '{0}': No content.",Xe(e));return new Ge({},[n])}var r,i=[];r=E.f(t,i);var o=i.length?[qe("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Xe(e),i[0].offset)]:[];return new Ge(r,o)}),(function(t){var n=t.toString(),r=t.toString().split("Error: ");return r.length>1&&(n=r[1]),je(n,".")&&(n=n.substr(0,n.length-1)),new Ge({},[qe("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Xe(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t,n){var r=this,i=e.errors.slice(0),o=e.schema;if(o.$schema){var s=Ze(o.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new ze({},[qe("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s&&i.push(qe("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var a=this.contextService,u=function(e,t,n,r){var o=r?decodeURIComponent(r):void 0,s=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(n=n[e])})),n}(t,o);if(s)for(var a in s)s.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=s[a]);else i.push(qe("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",o,n))},c=function(e,t,n,o,s){a&&!/^\w+:\/\/.*/.test(t)&&(t=a.resolveRelativePath(t,o)),t=Ze(t);var c=r.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(r){if(s[t]=!0,r.errors.length){var o=n?t+"#"+n:t;i.push(qe("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,r.errors[0]))}return u(e,r.schema,t,n),l(e,r.schema,t,c.dependencies)}))},l=function(e,t,n,i){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var o=[e],s=[],a=[],l=function(e){for(var r=[];e.$ref;){var s=e.$ref,l=s.split("#",2);if(delete e.$ref,l[0].length>0)return void a.push(c(e,l[0],l[1],n,i));-1===r.indexOf(s)&&(u(e,t,n,l[1]),r.push(s))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];"object"==typeof i&&o.push(i)}}(e.items,e.additionalItems,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if("object"==typeof i)for(var s in i){var a=s,u=i[a];"object"==typeof u&&o.push(u)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if(Array.isArray(i))for(var s=0,a=i;s<a.length;s++){var u=a[s];"object"==typeof u&&o.push(u)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};o.length;){var f=o.pop();s.indexOf(f)>=0||(s.push(f),l(f))}return r.promise.all(a)};return l(o,o,t,n).then((function(e){return new ze(o,i)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(n.length>0){var r=n[0].valueNode;if(r&&"string"===r.type){var i=Ie(r);if(i&&function(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}(i,".")&&this.contextService&&(i=this.contextService.resolveRelativePath(i,e)),i){var o=Ze(i);return this.getOrAddSchemaHandle(o).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;for(var s=Object.create(null),a=[],u=0,c=this.filePatternAssociations;u<c.length;u++){var l=c[u];if(l.matchesPattern(e))for(var f=0,h=l.getURIs();f<h.length;f++){var d=h[f];s[d]||(a.push(d),s[d]=!0)}}var m=a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:m},m},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+Qe++;return this.resolveSchemaContent(new Ge(n),r,{}).then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))},e}(),Qe=0;function Ze(e){try{return Ke.a.parse(e).toString()}catch(t){return e}}function Xe(e){try{var t=Ke.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var et=me(),tt=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:d.Error)},e.prototype.doValidation=function(e,t,n,r){var o=this;if(!this.validationEnabled)return this.promise.resolve([]);var s=[],a={},u=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,s.push(e))},c=function(r){var a=n?rt(n.trailingCommas):d.Error,c=n?rt(n.comments):o.commentSeverity;if(r){if(r.errors.length&&t.root){var l=t.root,f="object"===l.type?l.properties[0]:void 0;if(f&&"$schema"===f.keyNode.value){var h=f.valueNode||f,m=i.create(e.positionAt(h.offset),e.positionAt(h.offset+h.length));u(g.create(m,r.errors[0],d.Warning,se.SchemaResolveError))}else{m=i.create(e.positionAt(l.offset),e.positionAt(l.offset+1));u(g.create(m,r.errors[0],d.Warning,se.SchemaResolveError))}}else{var p=t.validate(e,r.schema);p&&p.forEach(u)}(function e(t){if(t&&"object"==typeof t){if(N(t.allowComments))return t.allowComments;if(t.allOf)for(var n=0,r=t.allOf;n<r.length;n++){var i=r[n],o=e(i);if(N(o))return o}}return})(r.schema)&&(c=void 0),function e(t){if(t&&"object"==typeof t){if(N(t.allowTrailingCommas))return t.allowTrailingCommas;var n=t;if(N(n.allowsTrailingCommas))return n.allowsTrailingCommas;if(t.allOf)for(var r=0,i=t.allOf;r<i.length;r++){var o=i[r],s=e(o);if(N(s))return s}}return}(r.schema)&&(a=void 0)}for(var v=0,y=t.syntaxErrors;v<y.length;v++){var b=y[v];if(b.code===se.TrailingComma){if("number"!=typeof a)continue;b.severity=a}u(b)}if("number"==typeof c){var C=et("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){u(g.create(e,C,c,se.CommentNotPermitted))}))}return s};if(r){var l=r.id||"schemaservice://untitled/"+nt++;return this.jsonSchemaService.resolveSchemaContent(new Ge(r),l,{}).then((function(e){return c(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return c(e)}))},e}(),nt=0;function rt(e){switch(e){case"error":return d.Error;case"warning":return d.Warning;case"ignore":return}}function it(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function ot(e){if("#"===e[0])switch(e.length){case 4:return{red:17*it(e.charCodeAt(1))/255,green:17*it(e.charCodeAt(2))/255,blue:17*it(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*it(e.charCodeAt(1))/255,green:17*it(e.charCodeAt(2))/255,blue:17*it(e.charCodeAt(3))/255,alpha:17*it(e.charCodeAt(4))/255};case 7:return{red:(16*it(e.charCodeAt(1))+it(e.charCodeAt(2)))/255,green:(16*it(e.charCodeAt(3))+it(e.charCodeAt(4)))/255,blue:(16*it(e.charCodeAt(5))+it(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*it(e.charCodeAt(1))+it(e.charCodeAt(2)))/255,green:(16*it(e.charCodeAt(3))+it(e.charCodeAt(4)))/255,blue:(16*it(e.charCodeAt(5))+it(e.charCodeAt(6)))/255,alpha:(16*it(e.charCodeAt(7))+it(e.charCodeAt(8)))/255}}}var st=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var s=n.resultLimit||Number.MAX_VALUE,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||je(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var u=[],c=0,l=i.items;c<l.length;c++){var f=l[c];if("object"===f.type)for(var h=0,d=f.properties;h<d.length;h++){var m=d[h];if("key"===m.keyNode.value&&m.valueNode){var g=o.create(e.uri,at(e,f));if(u.push({name:Ie(m.valueNode),kind:K.Function,location:g}),--s<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),u}}}return u}for(var p=[{node:i,containerName:""}],v=0,y=!1,b=[],C=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&p.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(s>0){s--;var a=o.create(e.uri,at(e,t)),u=n?n+"."+t.keyNode.value:t.keyNode.value;b.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:a,containerName:n}),p.push({node:i,containerName:u})}else y=!0}))};v<p.length;){var _=p[v++];C(_.node,_.containerName)}return y&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),b},e.prototype.findDocumentSymbols2=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var o=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||je(s.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var a=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,h=l.properties;f<h.length;f++){var d=h[f];if("key"===d.keyNode.value&&d.valueNode){var m=at(e,l),g=at(e,d.keyNode);if(a.push({name:Ie(d.valueNode),kind:K.Function,range:m,selectionRange:g}),--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),a}}}return a}for(var p=[],v=[{node:i,result:p}],y=0,b=!1,C=function(t,n){"array"===t.type?t.items.forEach((function(t,i){if(t)if(o>0){o--;var s=at(e,t),a=s,u={name:String(i),kind:r.getSymbolKind(t.type),range:s,selectionRange:a,children:[]};n.push(u),v.push({result:u.children,node:t})}else b=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var s=at(e,t),a=at(e,t.keyNode),u={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:s,selectionRange:a,children:[]};n.push(u),v.push({result:u.children,node:i})}else b=!0}))};y<v.length;){var _=v[y++];C(_.node,_.result)}return b&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),p},e.prototype.getSymbolKind=function(e){switch(e){case"object":return K.Module;case"string":return K.String;case"number":return K.Number;case"array":return K.Array;case"boolean":return K.Boolean;default:return K.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.findDocumentColors=function(e,t,n){return this.schemaService.getSchemaForResource(e.uri,t).then((function(r){var i=[];if(r)for(var o=n&&"number"==typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,s={},a=0,u=t.getMatchingSchemas(r.schema);a<u.length;a++){var c=u[a];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var l=String(c.node.offset);if(!s[l]){var f=ot(Ie(c.node));if(f){var h=at(e,c.node);i.push({color:f,range:h})}if(s[l]=!0,--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),i}}}return i}))},e.prototype.getColorPresentations=function(e,t,n,r){var i,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),u=Math.round(255*n.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===n.alpha?"#"+c(s)+c(a)+c(u):"#"+c(s)+c(a)+c(u)+c(Math.round(255*n.alpha)),o.push({label:i,textEdit:v.replace(r,JSON.stringify(i))}),o},e}();function at(e,t){return i.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var ut=me(),ct={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:ut("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:ut("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},lt={id:ut("schema.json.id","A unique identifier for the schema."),$schema:ut("schema.json.$schema","The schema to verify this document against."),title:ut("schema.json.title","A descriptive title of the element."),description:ut("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:ut("schema.json.default","A default value. Used by suggestions."),multipleOf:ut("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:ut("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:ut("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:ut("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:ut("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:ut("schema.json.maxLength","The maximum length of a string."),minLength:ut("schema.json.minLength","The minimum length of a string."),pattern:ut("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:ut("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:ut("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:ut("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:ut("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:ut("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:ut("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:ut("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:ut("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:ut("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:ut("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:ut("schema.json.properties","A map of property names to schemas for each property."),patternProperties:ut("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:ut("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:ut("schema.json.enum","The set of literal values that are valid."),type:ut("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:ut("schema.json.format","Describes the format expected for the value."),allOf:ut("schema.json.allOf","An array of schemas, all of which must match."),anyOf:ut("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:ut("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:ut("schema.json.not","A schema which must not match."),$id:ut("schema.json.$id","A unique identifier for the schema."),$ref:ut("schema.json.$ref","Reference a definition hosted on any location."),$comment:ut("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:ut("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:ut("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:ut("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:ut("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:ut("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:ut("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:ut("schema.json.contentEncoding","Describes the content encoding of a string property."),if:ut("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:ut("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:ut("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var ft in ct.schemas){var ht=ct.schemas[ft];for(var dt in ht.properties){var mt=ht.properties[dt];"boolean"==typeof mt&&(mt=ht.properties[dt]={});var gt=lt[dt];gt?mt.description=gt:console.log(dt+": localize('schema.json."+dt+'\', "")')}}function pt(e,t){var n=[],i=[],o=[],s=-1,a=Object(E.a)(e.getText(),!1),u=a.scan();function c(e){n.push(e),i.push(o.length)}for(;17!==u;){switch(u){case 1:case 3:var f={startLine:m=e.positionAt(a.getTokenOffset()).line,endLine:m,kind:1===u?"object":"array"};o.push(f);break;case 2:case 4:var h=2===u?"object":"array";if(o.length>0&&o[o.length-1].kind===h){f=o.pop();var d=e.positionAt(a.getTokenOffset()).line;f&&d>f.startLine+1&&s!==f.startLine&&(f.endLine=d-1,c(f),s=f.startLine)}break;case 13:var m=e.positionAt(a.getTokenOffset()).line,g=e.positionAt(a.getTokenOffset()+a.getTokenLength()).line;1===a.getTokenError()&&m+1<e.lineCount?a.setPosition(e.offsetAt(r.create(m+1,0))):m<g&&(c({startLine:m,endLine:g,kind:l.Comment}),s=m);break;case 12:var p=e.getText().substr(a.getTokenOffset(),a.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(p){d=e.positionAt(a.getTokenOffset()).line;if(p[1]){f={startLine:d,endLine:d,kind:l.Region};o.push(f)}else{for(var v=o.length-1;v>=0&&o[v].kind!==l.Region;)v--;if(v>=0){f=o[v];o.length=v,d>f.startLine&&s!==f.startLine&&(f.endLine=d,c(f),s=f.startLine)}}}}u=a.scan()}var y=t&&t.rangeLimit;if("number"!=typeof y||n.length<=y)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var b=[],C=0,_=i;C<_.length;C++){(N=_[C])<30&&(b[N]=(b[N]||0)+1)}var S=0,A=0;for(v=0;v<b.length;v++){var x=b[v];if(x){if(x+S>y){A=v;break}S+=x}}var w=[];for(v=0;v<n.length;v++){var N;"number"==typeof(N=i[v])&&(N<A||N===A&&S++<y)&&w.push(n[v])}return w}function vt(e,t,n){function r(t,n){return i.create(e.positionAt(t),e.positionAt(n))}var o=Object(E.a)(e.getText(),!0);function s(e,t){return o.setPosition(e),o.scan()===t?o.getTokenOffset()+o.getTokenLength():-1}return t.map((function(t){for(var o=e.offsetAt(t),a=n.getNodeFromOffset(o,!0),u=[];a;){switch(a.type){case"string":case"object":case"array":var c=a.offset+1,l=a.offset+a.length-1;c<l&&o>=c&&o<=l&&u.push(r(c,l)),u.push(r(a.offset,a.offset+a.length));break;case"number":case"boolean":case"null":case"property":u.push(r(a.offset,a.offset+a.length))}if("property"===a.type||a.parent&&"array"===a.parent.type){var f=s(a.offset+a.length,5);-1!==f&&u.push(r(a.offset,f))}a=a.parent}for(var h=void 0,d=u.length-1;d>=0;d--)h=ee.create(u[d],h);return h||(h=ee.create(i.create(t,t))),h}))}function yt(e,t,n){var r=e.offsetAt(t),i=n.getNodeFromOffset(r,!0);if(!i||!function(e){return"string"===e.type&&e.parent&&"property"===e.parent.type&&e.parent.valueNode===e&&"$ref"===e.parent.keyNode.value||!1}(i))return Promise.resolve([]);var o=i.parent.valueNode,s=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(Ct)}(t);if(!n)return null;return function e(t,n){if(!n)return null;if(0===t.length)return n;var r=t.shift();if(n&&"object"===n.type){var i=n.properties.find((function(e){return e.keyNode.value===r}));return i?e(t,i.valueNode):null}if(n&&"array"===n.type&&r.match(/^(0|[1-9][0-9]*)$/)){var o=Number.parseInt(r),s=n.items[o];return s?e(t,s):null}return null}(n,e.root)}(n,o.value);if(!s)return Promise.resolve([]);var a={targetUri:e.uri,originSelectionRange:bt(e,o),targetRange:bt(e,s),targetSelectionRange:bt(e,s)};return Promise.resolve([a])}function bt(e,t){return i.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}function Ct(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function _t(e){var t=e.promiseConstructor||Promise,n=new Je(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(ct);var r=new $e(n,e.contributions,t,e.clientCapabilities),o=new We(n,e.contributions,t),s=new st(n),a=new tt(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),a.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:a.doValidation.bind(a),parseJSONDocument:function(e){return Re(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new De(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:r.doResolve.bind(r),doComplete:r.doComplete.bind(r),findDocumentSymbols:s.findDocumentSymbols.bind(s),findDocumentSymbols2:s.findDocumentSymbols2.bind(s),findColorSymbols:function(e,t){return s.findDocumentColors(e,t).then((function(e){return e.map((function(e){return e.range}))}))},findDocumentColors:s.findDocumentColors.bind(s),getColorPresentations:s.getColorPresentations.bind(s),doHover:o.doHover.bind(o),getFoldingRanges:pt,getSelectionRanges:vt,findDefinition:yt,format:function(e,t,n){var r=void 0;if(t){var o=e.offsetAt(t.start);r={offset:o,length:e.offsetAt(t.end)-o}}var s={tabSize:n?n.tabSize:4,insertSpaces:!n||n.insertSpaces,eol:"\n"};return Object(E.c)(e.getText(),r,s).map((function(t){return v.replace(i.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}},40:function(e,t,n){"use strict";var r,i,o,s,a,u,c,l,f,h,d,m,g,p,v,y,b,C,_,S,E,A,x,w,N,L,k,T,O,I,M,P,D;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return h})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return C})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return E})),n.d(t,"v",(function(){return A})),n.d(t,"w",(function(){return x})),n.d(t,"x",(function(){return w})),n.d(t,"y",(function(){return N})),n.d(t,"z",(function(){return L})),n.d(t,"A",(function(){return k})),n.d(t,"B",(function(){return T})),n.d(t,"C",(function(){return O})),n.d(t,"D",(function(){return I})),n.d(t,"E",(function(){return M})),n.d(t,"F",(function(){return P})),n.d(t,"G",(function(){return D})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(u||(u={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(l||(l={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(f||(f={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(h||(h={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(d||(d={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(p||(p={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(v||(v={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(y||(y={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(_||(_={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(E||(E={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(A||(A={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(x||(x={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(w||(w={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(N||(N={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(L||(L={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(k||(k={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(T||(T={})),function(e){e[e.Deprecated=1]="Deprecated"}(O||(O={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(I||(I={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(M||(M={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(P||(P={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(D||(D={}))},42:function(e,t,n){"use strict";n.d(t,"i",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"h",(function(){return b}));var r=n(28);class i extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function o(e,t){if("string"!=typeof e)throw new i(t,"string",e)}function s(e){return 47===e||92===e}function a(e){return 47===e}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e,t,n,r){let i="",o=0,s=-1,a=0,u=0;for(let c=0;c<=e.length;++c){if(c<e.length)u=e.charCodeAt(c);else{if(r(u))break;u=47}if(r(u)){if(s===c-1||1===a);else if(2===a){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=c,a=0;continue}if(0!==i.length){i="",o=0,s=c,a=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(s+1,c)}`:i=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===u&&-1!==a?++a:a=-1}return i}function l(e,t){if(null===t||"object"!=typeof t)throw new i("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const f={resolve(...e){let t="",n="",i=!1;for(let a=e.length-1;a>=-1;a--){let c;if(a>=0){if(c=e[a],o(c,"path"),0===c.length)continue}else 0===t.length?c=r.a():(c=r.b["="+t]||r.a(),(void 0===c||c.slice(0,2).toLowerCase()!==t.toLowerCase()&&92===c.charCodeAt(2))&&(c=t+"\\"));const l=c.length;let f=0,h="",d=!1;const m=c.charCodeAt(0);if(1===l)s(m)&&(f=1,d=!0);else if(s(m))if(d=!0,s(c.charCodeAt(1))){let e=2,t=e;for(;e<l&&!s(c.charCodeAt(e));)e++;if(e<l&&e!==t){const n=c.slice(t,e);for(t=e;e<l&&s(c.charCodeAt(e));)e++;if(e<l&&e!==t){for(t=e;e<l&&!s(c.charCodeAt(e));)e++;e!==l&&e===t||(h=`\\\\${n}\\${c.slice(t,e)}`,f=e)}}}else f=1;else u(m)&&58===c.charCodeAt(1)&&(h=c.slice(0,2),f=2,l>2&&s(c.charCodeAt(2))&&(d=!0,f=3));if(h.length>0)if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h;if(i){if(t.length>0)break}else if(n=`${c.slice(f)}\\${n}`,i=d,d&&t.length>0)break}return n=c(n,!i,"\\",s),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){o(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const l=e.charCodeAt(0);if(1===t)return a(l)?"\\":e;if(s(l))if(i=!0,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){const a=e.slice(o,i);for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return`\\\\${a}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${a}\\${e.slice(o,i)}`,r=i)}}}else r=1;else u(l)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),r=2,t>2&&s(e.charCodeAt(2))&&(i=!0,r=3));let f=r<t?c(e.slice(r),!i,"\\",s):"";return 0!==f.length||i||(f="."),f.length>0&&s(e.charCodeAt(t-1))&&(f+="\\"),void 0===n?i?"\\"+f:f:i?`${n}\\${f}`:`${n}${f}`},isAbsolute(e){o(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return s(n)||t>2&&u(n)&&58===e.charCodeAt(1)&&s(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];o(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&s(n.charCodeAt(0))){++i;const e=n.length;e>1&&s(n.charCodeAt(1))&&(++i,e>2&&(s(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&s(t.charCodeAt(i));)i++;i>=2&&(t="\\"+t.slice(i))}return f.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";const n=f.resolve(e),r=f.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&92===e.charCodeAt(i);)i++;let s=e.length;for(;s-1>i&&92===e.charCodeAt(s-1);)s--;const a=s-i;let u=0;for(;u<t.length&&92===t.charCodeAt(u);)u++;let c=t.length;for(;c-1>u&&92===t.charCodeAt(c-1);)c--;const l=c-u,h=a<l?a:l;let d=-1,m=0;for(;m<h;m++){const n=e.charCodeAt(i+m);if(n!==t.charCodeAt(u+m))break;92===n&&(d=m)}if(m!==h){if(-1===d)return r}else{if(l>h){if(92===t.charCodeAt(u+m))return r.slice(u+m+1);if(2===m)return r.slice(u+m)}a>h&&(92===e.charCodeAt(i+m)?d=m:2===m&&(d=3)),-1===d&&(d=0)}let g="";for(m=i+d+1;m<=s;++m)m!==s&&92!==e.charCodeAt(m)||(g+=0===g.length?"..":"\\..");return u+=d,g.length>0?`${g}${r.slice(u,c)}`:(92===r.charCodeAt(u)&&++u,r.slice(u,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=f.resolve(e);if(t.length<=2)return e;if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){const e=t.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+t.slice(2)}}else if(u(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname(e){o(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return s(i)?e:".";if(s(i)){if(n=r=1,s(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&s(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!s(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else u(i)&&58===e.charCodeAt(1)&&(n=t>2&&s(e.charCodeAt(2))?3:2,r=n);let a=-1,c=!0;for(let n=t-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!c){a=n;break}}else c=!1;if(-1===a){if(-1===n)return".";a=n}return e.slice(0,a)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,a=!0;if(e.length>=2&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,u=-1;for(n=e.length-1;n>=r;--n){const c=e.charCodeAt(n);if(s(c)){if(!a){r=n+1;break}}else-1===u&&(a=!1,u=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=u))}return r===i?i=u:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(s(e.charCodeAt(n))){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=0,n=-1,r=0,i=-1,a=!0,c=0;e.length>=2&&58===e.charCodeAt(1)&&u(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const t=e.charCodeAt(o);if(s(t)){if(!a){r=o+1;break}}else-1===i&&(a=!1,i=o+1),46===t?-1===n?n=o:1!==c&&(c=1):-1!==n&&(c=-1)}return-1===n||-1===i||0===c||1===c&&n===i-1&&n===r+1?"":e.slice(n,i)},format:l.bind(null,"\\"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return s(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(s(i)){if(r=1,s(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&s(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!s(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(u(i)&&58===e.charCodeAt(1)){if(n<=2)return t.root=t.dir=e,t;if(r=2,s(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let a=-1,c=r,l=-1,f=!0,h=e.length-1,d=0;for(;h>=r;--h)if(i=e.charCodeAt(h),s(i)){if(!f){c=h+1;break}}else-1===l&&(f=!1,l=h+1),46===i?-1===a?a=h:1!==d&&(d=1):-1!==a&&(d=-1);return-1!==l&&(-1===a||0===d||1===d&&a===l-1&&a===c+1?t.base=t.name=e.slice(c,l):(t.name=e.slice(c,a),t.base=e.slice(c,l),t.ext=e.slice(a,l))),t.dir=c>0&&c!==r?e.slice(0,c-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},h={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const s=i>=0?e[i]:r.a();o(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=47===s.charCodeAt(0))}return t=c(t,!n,"/",a),n?"/"+t:t.length>0?t:"."},normalize(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=c(e,!t,"/",a)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute:e=>(o(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];o(r,"path"),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":h.normalize(t)},relative(e,t){if(o(e,"from"),o(t,"to"),e===t)return"";if((e=h.resolve(e))===(t=h.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,s=r<i?r:i;let a=-1,u=0;for(;u<s;u++){const n=e.charCodeAt(1+u);if(n!==t.charCodeAt(1+u))break;47===n&&(a=u)}if(u===s)if(i>s){if(47===t.charCodeAt(1+u))return t.slice(1+u+1);if(0===u)return t.slice(1+u)}else r>s&&(47===e.charCodeAt(1+u)?a=u:0===u&&(a=0));let c="";for(u=1+a+1;u<=n;++u)u!==n&&47!==e.charCodeAt(u)||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(o(e,"path"),0===e.length)return".";const t=47===e.charCodeAt(0);let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(47===e.charCodeAt(t)){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&o(t,"ext"),o(e,"path");let n,r=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const u=e.charCodeAt(n);if(47===u){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(u===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){o(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const a=e.charCodeAt(o);if(47!==a)-1===r&&(i=!1,r=o+1),46===a?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)},format:l.bind(null,"/"),parse(e){o(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=47===e.charCodeAt(0);let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,u=!0,c=e.length-1,l=0;for(;c>=r;--c){const t=e.charCodeAt(c);if(47!==t)-1===a&&(u=!1,a=c+1),46===t?-1===i?i=c:1!==l&&(l=1):-1!==i&&(l=-1);else if(!u){s=c+1;break}}if(-1!==a){const r=0===s&&n?1:s;-1===i||0===l||1===l&&i===a-1&&i===s+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};h.win32=f.win32=f,h.posix=f.posix=h;const d="win32"===r.c?f.normalize:h.normalize,m="win32"===r.c?f.resolve:h.resolve,g="win32"===r.c?f.relative:h.relative,p="win32"===r.c?f.dirname:h.dirname,v="win32"===r.c?f.basename:h.basename,y="win32"===r.c?f.extname:h.extname,b="win32"===r.c?f.sep:h.sep},43:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return g}));var r=n(13);class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,s=new i,a=new i;var u;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function l(e,t){if(0===e)return null;const n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new d(0!==r?[f(n,t),f(r,t)]:[f(n,t)])}function f(e,t){const n=!!(2048&e),r=!!(256&e);return new h(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n=t,r=n){o.define(e,t),s.define(e,n),a.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(u||(u={}));class h{constructor(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new d([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class d{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}class g{}},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==r.Undefined;t=t.next)e.push(t.element);return e}}},6:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l}));var r,i=n(13),o=n(2),s=n(53);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function n(e,t){return u((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function r(e,t){return u((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function i(e,t){return u((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function s(e,t,r){let i=r;return n(e,e=>(i=t(i,e),i))}function u(e){let t;const n=new a({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,r=!1,i){let o,s=void 0,u=void 0,c=0;const l=new a({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{c++,s=t(s,e),r&&!u&&(l.fire(s),s=void 0),clearTimeout(u),u=setTimeout(()=>{const e=s;s=void 0,u=void 0,(!r||c>1)&&l.fire(e),c=0},n)})},onLastListenerRemove(){o.dispose()}});return l.event}function l(e){let t,n=!0;return i(e,e=>{const r=n||e!==t;return n=!1,t=e,r})}e.None=()=>o.a.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>Object(o.e)(...e.map(e=>e(e=>t.call(n,e),null,r)))},e.reduce=s,e.snapshot=u,e.debounce=c,e.stopwatch=function(e){const r=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-r)},e.latch=l,e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)});const o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new a({onFirstListenerAdd(){i||(i=e(e=>s.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class f{constructor(e){this.event=e}map(e){return new f(n(this.event,e))}forEach(e){return new f(r(this.event,e))}filter(e){return new f(i(this.event,e))}reduce(e,t){return new f(s(this.event,e,t))}latch(){return new f(l(this.event))}debounce(e,t=100,n=!1,r){return new f(c(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new f(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new a({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.fromPromise=function(e){const t=new a;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(r||(r={}));class a{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new s.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(t?[e,t]:e);let u,c;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(u=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(u&&u(),c.dispose=a._noop,!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof o.b?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.a);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){Object(i.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}a._noop=function(){};class u extends a{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class c{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>t.call(n,e)):t.call(n,e)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class l{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.a.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},65:function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=!1);var n=e.length,r=0,a="",u=0,c=16,l=0,f=0,h=0,d=0,m=0;function g(t,n){for(var i=0,o=0;i<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)o=16*o+s-48;else if(s>=65&&s<=70)o=16*o+s-65+10;else{if(!(s>=97&&s<=102))break;o=16*o+s-97+10}r++,i++}return i<t&&(o=-1),o}function p(){if(a="",m=0,u=r,f=l,d=h,r>=n)return u=n,c=17;var t=e.charCodeAt(r);if(i(t)){do{r++,a+=String.fromCharCode(t),t=e.charCodeAt(r)}while(i(t));return c=15}if(o(t))return r++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,a+="\n"),l++,h=r,c=14;switch(t){case 123:return r++,c=1;case 125:return r++,c=2;case 91:return r++,c=3;case 93:return r++,c=4;case 58:return r++,c=6;case 44:return r++,c=5;case 34:return r++,a=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),m=2;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(i,r),r++;break}if(92!==s){if(s>=0&&s<=31){if(o(s)){t+=e.substring(i,r),m=2;break}m=6}r++}else{if(t+=e.substring(i,r),++r>=n){m=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=g(4,!0);a>=0?t+=String.fromCharCode(a):m=4;break;default:m=5}i=r}}return t}(),c=10;case 47:var p=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!o(e.charCodeAt(r));)r++;return a=e.substring(p,r),c=12}if(42===e.charCodeAt(r+1)){r+=2;for(var y=n-1,b=!1;r<y;){var C=e.charCodeAt(r);if(42===C&&47===e.charCodeAt(r+1)){r+=2,b=!0;break}r++,o(C)&&(13===C&&10===e.charCodeAt(r)&&r++,l++,h=r)}return b||(r++,m=1),a=e.substring(p,r),c=13}return a+=String.fromCharCode(t),r++,c=16;case 45:if(a+=String.fromCharCode(t),++r===n||!s(e.charCodeAt(r)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&s(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&s(e.charCodeAt(r))))return m=3,e.substring(t,r);for(r++;r<e.length&&s(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&s(e.charCodeAt(r))){for(r++;r<e.length&&s(e.charCodeAt(r));)r++;n=r}else m=3;return e.substring(t,n)}(),c=11;default:for(;r<n&&v(t);)r++,t=e.charCodeAt(r);if(u!==r){switch(a=e.substring(u,r)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return a+=String.fromCharCode(t),r++,c=16}}function v(e){if(i(e)||o(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,a="",u=0,c=16,m=0},getPosition:function(){return r},scan:t?function(){var e;do{e=p()}while(e>=12&&e<=15);return e}:p,getToken:function(){return c},getTokenValue:function(){return a},getTokenOffset:function(){return u},getTokenLength:function(){return r-u},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return u-d},getTokenError:function(){return m}}}function i(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function o(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e>=48&&e<=57}function a(e,t,n){var i,o,s,a,l;if(t){for(a=t.offset,l=a+t.length,s=a;s>0&&!c(e,s-1);)s--;for(var f=l;f<e.length&&!c(e,f);)f++;o=e.substring(s,f),i=function(e,t){var n=0,r=0,i=t.tabSize||4;for(;n<e.length;){var o=e.charAt(n);if(" "===o)r++;else{if("\t"!==o)break;r+=i}n++}return Math.floor(r/i)}(o,n)}else o=e,i=0,s=0,a=0,l=e.length;var h,d=function(e,t){for(var n=0;n<t.length;n++){var r=t.charAt(n);if("\r"===r)return n+1<t.length&&"\n"===t.charAt(n+1)?"\r\n":"\r";if("\n"===r)return"\n"}return e&&e.eol||"\n"}(n,e),m=!1,g=0;h=n.insertSpaces?u(" ",n.tabSize||4):"\t";var p=r(o,!1),v=!1;function y(){return d+u(h,i+g)}function b(){var e=p.scan();for(m=!1;15===e||14===e;)m=m||14===e,e=p.scan();return v=16===e||0!==p.getTokenError(),e}var C=[];function _(t,n,r){!v&&n<l&&r>a&&e.substring(n,r)!==t&&C.push({offset:n,length:r-n,content:t})}var S=b();if(17!==S){var E=p.getTokenOffset()+s;_(u(h,i),s,E)}for(;17!==S;){for(var A=p.getTokenOffset()+p.getTokenLength()+s,x=b(),w="";!m&&(12===x||13===x);){_(" ",A,p.getTokenOffset()+s),A=p.getTokenOffset()+p.getTokenLength()+s,w=12===x?y():"",x=b()}if(2===x)1!==S&&(g--,w=y());else if(4===x)3!==S&&(g--,w=y());else{switch(S){case 3:case 1:g++,w=y();break;case 5:case 12:w=y();break;case 13:w=m?y():" ";break;case 6:w=" ";break;case 10:if(6===x){w="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===x||13===x?w=" ":5!==x&&17!==x&&(v=!0);break;case 16:v=!0}!m||12!==x&&13!==x||(w=y())}_(w,A,p.getTokenOffset()+s),S=x}return C}function u(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function c(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var l;function f(e,t,n){void 0===n&&(n=l.DEFAULT);var i=r(e,!1);function o(e){return e?function(){return e(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}var a=o(t.onObjectBegin),u=s(t.onObjectProperty),c=o(t.onObjectEnd),f=o(t.onArrayBegin),h=o(t.onArrayEnd),d=s(t.onLiteralValue),m=s(t.onSeparator),g=o(t.onComment),p=s(t.onError),v=n&&n.disallowComments,y=n&&n.allowTrailingComma;function b(){for(;;){var e=i.scan();switch(i.getTokenError()){case 4:C(14);break;case 5:C(15);break;case 3:C(13);break;case 1:v||C(11);break;case 2:C(12);break;case 6:C(16)}switch(e){case 12:case 13:v?C(10):g();break;case 16:C(1);break;case 15:case 14:break;default:return e}}}function C(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),p(e),t.length+n.length>0)for(var r=i.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function _(e){var t=i.getTokenValue();return e?d(t):u(t),b(),!0}function S(){switch(i.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||C(4,[],[]),m(","),b(),4===i.getToken()&&y)break}else e&&C(6,[],[]);S()||C(4,[],[4,5]),e=!0}return h(),4!==i.getToken()?C(8,[4],[]):b(),!0}();case 1:return function(){a(),b();for(var e=!1;2!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||C(4,[],[]),m(","),b(),2===i.getToken()&&y)break}else e&&C(6,[],[]);(10!==i.getToken()?(C(3,[],[2,5]),0):(_(!1),6===i.getToken()?(m(":"),b(),S()||C(4,[],[2,5])):C(5,[],[2,5]),1))||C(4,[],[2,5]),e=!0}return c(),2!==i.getToken()?C(7,[2],[]):b(),!0}();case 10:return _(!0);default:return function(){switch(i.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(i.getTokenValue()))&&(C(2),e=0)}catch(e){C(2)}d(e);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return b(),!0}()}}return b(),17===i.getToken()?!!n.allowEmptyContent||(C(4,[],[]),!1):S()?(17!==i.getToken()&&C(9,[],[]),!0):(C(4,[],[]),!1)}n.d(t,"a",(function(){return h})),n.d(t,"f",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return v})),function(e){e.DEFAULT={allowTrailingComma:!1}}(l||(l={}));var h=r,d=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=l.DEFAULT);var r=null,i=[],o=[];function s(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}return f(e,{onObjectBegin:function(){var e={};s(e),o.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var e=[];s(e),o.push(i),i=e,r=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},m=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var i=t.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=n;o++){var s=e(i[o],n,r);if(s)return s}return t}},g=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var i=t.parent.children.indexOf(t);-1!==i&&n.push(i)}return n},p=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var n=Object.create(null),r=0,i=t.children;r<i.length;r++){var o=i[r],s=o.children[1];s&&(n[o.children[0].value]=e(s))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function v(e,t,n){return a(e,t,n)}},73:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const i=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const s={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,n,r,i=s){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?(r+=e,o=0):r+=o,a(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}Date.now();const o=e-1-r;let c=-1,l=null;for(let e=1;;e++){Date.now(),i.timeBudget;const r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);const s=u(t,n,o,c);if(!s&&l)break;if(l=s,r<=0)break;c=r}if(l){let e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function u(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(36);class i{constructor(e){let t=Object(r.b)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Object(r.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class o{constructor(){this._actual=new i(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));class r{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class i{constructor(e,t){this.tokens=e,this.endState=t}}class o{constructor(e,t){this.tokens=e,this.endState=t}}},8:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function i(e,t,n="0"){const r=""+e,i=[r];for(let e=r.length;e<t;e++)i.push(n);return i.reverse().join("")}n.d(t,"D",(function(){return r})),n.d(t,"M",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return a})),n.d(t,"v",(function(){return u})),n.d(t,"W",(function(){return c})),n.d(t,"K",(function(){return l})),n.d(t,"Q",(function(){return f})),n.d(t,"p",(function(){return h})),n.d(t,"V",(function(){return d})),n.d(t,"S",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"q",(function(){return p})),n.d(t,"P",(function(){return v})),n.d(t,"O",(function(){return y})),n.d(t,"w",(function(){return b})),n.d(t,"z",(function(){return C})),n.d(t,"J",(function(){return _})),n.d(t,"f",(function(){return S})),n.d(t,"h",(function(){return E})),n.d(t,"g",(function(){return A})),n.d(t,"i",(function(){return x})),n.d(t,"H",(function(){return w})),n.d(t,"I",(function(){return N})),n.d(t,"t",(function(){return k})),n.d(t,"T",(function(){return O})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return M})),n.d(t,"F",(function(){return P})),n.d(t,"G",(function(){return D})),n.d(t,"j",(function(){return F})),n.d(t,"A",(function(){return R})),n.d(t,"L",(function(){return U})),n.d(t,"N",(function(){return V})),n.d(t,"r",(function(){return $})),n.d(t,"m",(function(){return B})),n.d(t,"k",(function(){return q})),n.d(t,"B",(function(){return Y})),n.d(t,"a",(function(){return G})),n.d(t,"n",(function(){return z})),n.d(t,"l",(function(){return J})),n.d(t,"E",(function(){return Q})),n.d(t,"C",(function(){return Z})),n.d(t,"b",(function(){return X})),n.d(t,"U",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"R",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"c",(function(){return ie}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function u(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return f(l(e,t),t)}function l(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function f(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function h(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function d(e){return e.replace(/\*/g,"")}function m(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function g(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function p(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=u(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function v(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function y(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function b(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function C(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function _(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function E(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function A(e,t){return x(e,t,0,e.length,0,t.length)}function x(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let s=e.charCodeAt(n),a=t.charCodeAt(i);if(s===a)continue;const u=s-a;if((32!==u||!N(a))&&(-32!==u||!N(s)))return w(s)&&w(a)?u:E(e.toLowerCase(),t.toLowerCase(),n,r,i,o)}const s=r-n,a=o-i;return s<a?-1:s>a?1:0}function w(e){return e>=97&&e<=122}function N(e){return e>=65&&e<=90}function L(e){return w(e)||N(e)}function k(e,t){return e.length===t.length&&T(e,t)}function T(e,t,n=e.length){for(let r=0;r<n;r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)if(L(n)&&L(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function O(e,t){const n=t.length;return!(t.length>e.length)&&T(e,t,n)}function I(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function M(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function P(e){return 55296<=e&&e<=56319}function D(e){return 56320<=e&&e<=57343}function F(e,t){return t-56320+(e-55296<<10)+65536}function R(e,t,n){const r=e.charCodeAt(n);if(P(r)&&n+1<t){const t=e.charCodeAt(n+1);if(D(t))return F(r,t)}return r}function j(e,t){const n=e.charCodeAt(t-1);if(D(n)&&t>1){const r=e.charCodeAt(t-2);if(P(r))return F(r,n)}return n}function U(e,t){const n=oe.getInstance(),r=t,i=e.length,o=R(e,i,t);t+=o>=65536?2:1;let s=n.getGraphemeBreakType(o);for(;t<i;){const r=R(e,i,t),o=n.getGraphemeBreakType(r);if(ie(s,o))break;t+=r>=65536?2:1,s=o}return t-r}function V(e,t){const n=oe.getInstance(),r=t,i=j(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=j(e,t),i=n.getGraphemeBreakType(r);if(ie(i,o))break;t-=r>=65536?2:1,o=i}return r-t}function $(e){const t=e.byteLength,n=[];let r=0;for(;r<t;){const i=e[r];let o;if(o=i>=240&&r+3<t?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=224&&r+2<t?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:i>=192&&r+1<t?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],o>=0&&o<=55295||o>=57344&&o<=65535)n.push(String.fromCharCode(o));else if(o>=65536&&o<=1114111){const e=o-65536,t=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(r))}else n.push(String.fromCharCode(65533))}return n.join("")}const W=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function B(e){return W.test(e)}const K=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function q(e){return K.test(e)}const H=/^[\t\n\r\x20-\x7E]*$/;function Y(e){return H.test(e)}const G=/[\u2028\u2029]/;function z(e){return G.test(e)}function J(e){for(let t=0,n=e.length;t<n;t++)if(Q(e.charCodeAt(t)))return!0;return!1}function Q(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Z(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const X=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function te(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ne(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return oe.getInstance().getGraphemeBreakType(e)}function ie(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class oe{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return oe._INSTANCE||(oe._INSTANCE=new oe),oe._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}oe._INSTANCE=null},86:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||l||a(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},89:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return f}));var r=n(8);function i(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>o(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),o(e[n],t)),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function u(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function c(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function l(e,t=32){return function(e,t,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class f{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(i=a,o=-1,a=0):(i=e.charCodeAt(0),o=0);;){let u=i;if(r.F(i)){if(!(o+1<t)){a=i;break}{const t=e.charCodeAt(o+1);r.G(t)?(o++,u=r.j(i,t)):u=65533}}else r.G(i)&&(u=65533);if(s=this._push(n,s,u),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=s,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),l(this._h0)+l(this._h1)+l(this._h2)+l(this._h3)+l(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=f._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,u(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,a=this._h2,c=this._h3,l=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,r=1518500249):t<40?(n=s^a^c,r=1859775393):t<60?(n=s&a|s&c|a&c,r=2400959708):(n=s^a^c,r=3395469782),i=u(o,5)+n+l+r+e.getUint32(4*t,!1)&4294967295,l=c,c=a,a=u(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+l&4294967295}}f._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new r(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return r.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(13),i=n(2),o=n(11),s=n(14);let a=!1;function u(e){o.h&&(a||(a=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class c{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Object(r.g)(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class l extends i.a{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new c({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let i=null;void 0!==self.require&&"function"==typeof self.require.getConfig?i=self.require.getConfig():void 0!==self.requirejs&&(i=self.requirejs.s.contexts._.config);const o=s.d(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(i)),t,o]);const a=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{r=n,this._onModuleLoaded.then(t=>{e(s.c(t,a))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}class f{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new c({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=s.c(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(s.d(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(s.d(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}}}); \ No newline at end of file diff --git a/monaco/workers/ts.worker.js b/monaco/workers/ts.worker.js index 83dd2e0..0077665 100644 --- a/monaco/workers/ts.worker.js +++ b/monaco/workers/ts.worker.js @@ -1,4 +1,4 @@ -!function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=343)}({100:function(e,n,t){"use strict";t.d(n,"a",(function(){return f}));var r=t(25),a=t(6),i=t(43),o=t(23),s=t(9),c=t(3),l=t(21),u=t(77),d=t(40);class p{static chord(e,n){return Object(i.a)(e,n)}}function f(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:a.a,KeyCode:d.o,KeyMod:p,Position:s.a,Range:c.a,Selection:l.a,SelectionDirection:d.z,MarkerSeverity:d.p,MarkerTag:d.q,Uri:o.a,Token:u.a}}p.CtrlCmd=2048,p.Shift=1024,p.Alt=512,p.WinCtrl=256},101:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"a",(function(){return i}));var r=t(36);class a{constructor(e,n){this.index=e,this.remainder=n}}class i{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=Object(r.a)(e);const t=this.values,a=this.prefixSum,i=n.length;return 0!==i&&(this.values=new Uint32Array(t.length+i),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+i),this.values.set(n,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,n){return e=Object(r.a)(e),n=Object(r.a)(n),this.values[e]!==n&&(this.values[e]=n,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,n){e=Object(r.a)(e),n=Object(r.a)(n);const t=this.values,a=this.prefixSum;if(e>=t.length)return!1;let i=t.length-e;return n>=i&&(n=i),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let n=0,t=this.values.length-1,r=0,i=0,o=0;for(;n<=t;)if(r=n+(t-n)/2|0,i=this.prefixSum[r],o=i-this.values[r],e<o)t=r-1;else{if(!(e>=i))break;n=r+1}return new a(r,e-o)}}},104:function(e,n,t){"use strict";t.d(n,"a",(function(){return B}));var r=t(15);class a{constructor(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var i=t(89);class o{constructor(e){this.source=e}getElements(){const e=this.source,n=new Int32Array(e.length);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return n}}function s(e,n,t){return new d(new o(e),new o(n)).ComputeDiff(t).changes}class c{static Assert(e,n){if(!e)throw new Error(n)}}class l{static Copy(e,n,t,r,a){for(let i=0;i<a;i++)t[r+i]=e[n+i]}static Copy2(e,n,t,r,a){for(let i=0;i<a;i++)t[r+i]=e[n+i]}}class u{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new a(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,n,t=null){this.ContinueProcessingPredicate=t;const[r,a,i]=d._getElements(e),[o,s,c]=d._getElements(n);this._hasStrings=i&&c,this._originalStringElements=r,this._originalElementsOrHash=a,this._modifiedStringElements=o,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const n=e.getElements();if(d._isStringArray(n)){const e=new Int32Array(n.length);for(let t=0,r=n.length;t<r;t++)e[t]=Object(i.c)(n[t],0);return[n,e,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[n]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[n])}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]===this._originalElementsOrHash[n]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[n])}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[n]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[n])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,t,r,a){const i=[!1];let o=this.ComputeDiffRecursive(e,n,t,r,i);return a&&(o=this.PrettifyChanges(o)),{quitEarly:i[0],changes:o}}ComputeDiffRecursive(e,n,t,r,i){for(i[0]=!1;e<=n&&t<=r&&this.ElementsAreEqual(e,t);)e++,t++;for(;n>=e&&r>=t&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||t>r){let i;return t<=r?(c.Assert(e===n+1,"originalStart should only be one more than originalEnd"),i=[new a(e,0,t,r-t+1)]):e<=n?(c.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new a(e,n-e+1,t,0)]):(c.Assert(e===n+1,"originalStart should only be one more than originalEnd"),c.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const o=[0],s=[0],l=this.ComputeRecursionPoint(e,n,t,r,o,s,i),u=o[0],d=s[0];if(null!==l)return l;if(!i[0]){const o=this.ComputeDiffRecursive(e,u,t,d,i);let s=[];return s=i[0]?[new a(u+1,n-(u+1)+1,d+1,r-(d+1)+1)]:this.ComputeDiffRecursive(u+1,n,d+1,r,i),this.ConcatenateChanges(o,s)}return[new a(e,n-e+1,t,r-t+1)]}WALKTRACE(e,n,t,r,i,o,s,c,l,d,p,f,m,_,g,y,h,v){let b=null,E=null,T=new u,S=n,L=t,x=m[0]-y[0]-r,A=-1073741824,D=this.m_forwardHistory.length-1;do{const n=x+e;n===S||n<L&&l[n-1]<l[n+1]?(_=(p=l[n+1])-x-r,p<A&&T.MarkNextChange(),A=p,T.AddModifiedElement(p+1,_),x=n+1-e):(_=(p=l[n-1]+1)-x-r,p<A&&T.MarkNextChange(),A=p-1,T.AddOriginalElement(p,_+1),x=n-1-e),D>=0&&(e=(l=this.m_forwardHistory[D])[0],S=1,L=l.length-1)}while(--D>=-1);if(b=T.getReverseChanges(),v[0]){let e=m[0]+1,n=y[0]+1;if(null!==b&&b.length>0){const t=b[b.length-1];e=Math.max(e,t.getOriginalEnd()),n=Math.max(n,t.getModifiedEnd())}E=[new a(e,f-e+1,n,g-n+1)]}else{T=new u,S=o,L=s,x=m[0]-y[0]-c,A=1073741824,D=h?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+i;e===S||e<L&&d[e-1]>=d[e+1]?(_=(p=d[e+1]-1)-x-c,p>A&&T.MarkNextChange(),A=p+1,T.AddOriginalElement(p+1,_+1),x=e+1-i):(_=(p=d[e-1])-x-c,p>A&&T.MarkNextChange(),A=p,T.AddModifiedElement(p+1,_+1),x=e-1-i),D>=0&&(i=(d=this.m_reverseHistory[D])[0],S=1,L=d.length-1)}while(--D>=-1);E=T.getChanges()}return this.ConcatenateChanges(b,E)}ComputeRecursionPoint(e,n,t,r,i,o,s){let c=0,u=0,d=0,p=0,f=0,m=0;e--,t--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const _=n-e+(r-t),g=_+1,y=new Int32Array(g),h=new Int32Array(g),v=r-t,b=n-e,E=e-t,T=n-r,S=(b-v)%2==0;y[v]=e,h[b]=n,s[0]=!1;for(let L=1;L<=_/2+1;L++){let _=0,x=0;d=this.ClipDiagonalBound(v-L,L,v,g),p=this.ClipDiagonalBound(v+L,L,v,g);for(let e=d;e<=p;e+=2){c=e===d||e<p&&y[e-1]<y[e+1]?y[e+1]:y[e-1]+1,u=c-(e-v)-E;const t=c;for(;c<n&&u<r&&this.ElementsAreEqual(c+1,u+1);)c++,u++;if(y[e]=c,c+u>_+x&&(_=c,x=u),!S&&Math.abs(e-b)<=L-1&&c>=h[e])return i[0]=c,o[0]=u,t<=h[e]&&L<=1448?this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s):null}const A=(_-e+(x-t)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(_,A))return s[0]=!0,i[0]=_,o[0]=x,A>0&&L<=1448?this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s):(e++,t++,[new a(e,n-e+1,t,r-t+1)]);f=this.ClipDiagonalBound(b-L,L,b,g),m=this.ClipDiagonalBound(b+L,L,b,g);for(let a=f;a<=m;a+=2){c=a===f||a<m&&h[a-1]>=h[a+1]?h[a+1]-1:h[a-1],u=c-(a-b)-T;const l=c;for(;c>e&&u>t&&this.ElementsAreEqual(c,u);)c--,u--;if(h[a]=c,S&&Math.abs(a-v)<=L&&c<=y[a])return i[0]=c,o[0]=u,l>=y[a]&&L<=1448?this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s):null}if(L<=1447){let e=new Int32Array(p-d+2);e[0]=v-d+1,l.Copy2(y,d,e,1,p-d+1),this.m_forwardHistory.push(e),e=new Int32Array(m-f+2),e[0]=b-f+1,l.Copy2(h,f,e,1,m-f+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s)}PrettifyChanges(e){for(let n=0;n<e.length;n++){const t=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,a=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,i=t.originalLength>0,o=t.modifiedLength>0;for(;t.originalStart+t.originalLength<r&&t.modifiedStart+t.modifiedLength<a&&(!i||this.OriginalElementsAreEqual(t.originalStart,t.originalStart+t.originalLength))&&(!o||this.ModifiedElementsAreEqual(t.modifiedStart,t.modifiedStart+t.modifiedLength));)t.originalStart++,t.modifiedStart++;let s=[null];n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],s)&&(e[n]=s[0],e.splice(n+1,1),n--)}for(let n=e.length-1;n>=0;n--){const t=e[n];let r=0,a=0;if(n>0){const t=e[n-1];t.originalLength>0&&(r=t.originalStart+t.originalLength),t.modifiedLength>0&&(a=t.modifiedStart+t.modifiedLength)}const i=t.originalLength>0,o=t.modifiedLength>0;let s=0,c=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength);for(let e=1;;e++){const n=t.originalStart-e,l=t.modifiedStart-e;if(n<r||l<a)break;if(i&&!this.OriginalElementsAreEqual(n,n+t.originalLength))break;if(o&&!this.ModifiedElementsAreEqual(l,l+t.modifiedLength))break;const u=this._boundaryScore(n,t.originalLength,l,t.modifiedLength);u>c&&(c=u,s=e)}t.originalStart-=s,t.modifiedStart-=s}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1}_boundaryScore(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)}ConcatenateChanges(e,n){let t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){const r=new Array(e.length+n.length-1);return l.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],l.Copy(n,1,r,e.length,n.length-1),r}{const t=new Array(e.length+n.length);return l.Copy(e,0,t,0,e.length),l.Copy(n,0,t,e.length,n.length),t}}ChangesOverlap(e,n,t){if(c.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),c.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(i=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(s=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new a(r,i,o,s),!0}return t[0]=null,!1}ClipDiagonalBound(e,n,t,r){if(e>=0&&e<r)return e;const a=n%2==0;if(e<0){return a===(t%2==0)?0:1}return a===((r-t-1)%2==0)?r-1:r-2}}var p=t(11),f=t(23),m=t(9),_=t(3),g=t(8);function y(e,n,t,r){return new d(e,n,t).ComputeDiff(r)}class h{constructor(e){const n=[],t=[];for(let r=0,a=e.length;r<a;r++)n[r]=S(e[r],1),t[r]=L(e[r],1);this.lines=e,this._startColumns=n,this._endColumns=t}getElements(){const e=[];for(let n=0,t=this.lines.length;n<t;n++)e[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,n,t){const r=[],a=[],i=[];let o=0;for(let s=n;s<=t;s++){const n=this.lines[s],t=e?this._startColumns[s]:1,c=e?this._endColumns[s]:n.length+1;for(let e=t;e<c;e++)r[o]=n.charCodeAt(e-1),a[o]=s+1,i[o]=e,o++}return new v(r,a,i)}}class v{constructor(e,n,t){this._charCodes=e,this._lineNumbers=n,this._columns=t}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class b{constructor(e,n,t,r,a,i,o,s){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=t,this.originalEndColumn=r,this.modifiedStartLineNumber=a,this.modifiedStartColumn=i,this.modifiedEndLineNumber=o,this.modifiedEndColumn=s}static createFromDiffChange(e,n,t){let r,a,i,o,s,c,l,u;return 0===e.originalLength?(r=0,a=0,i=0,o=0):(r=n.getStartLineNumber(e.originalStart),a=n.getStartColumn(e.originalStart),i=n.getEndLineNumber(e.originalStart+e.originalLength-1),o=n.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(s=0,c=0,l=0,u=0):(s=t.getStartLineNumber(e.modifiedStart),c=t.getStartColumn(e.modifiedStart),l=t.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=t.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new b(r,a,i,o,s,c,l,u)}}class E{constructor(e,n,t,r,a){this.originalStartLineNumber=e,this.originalEndLineNumber=n,this.modifiedStartLineNumber=t,this.modifiedEndLineNumber=r,this.charChanges=a}static createFromDiffResult(e,n,t,r,a,i,o){let s,c,l,u,d=void 0;if(0===n.originalLength?(s=t.getStartLineNumber(n.originalStart)-1,c=0):(s=t.getStartLineNumber(n.originalStart),c=t.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(l=r.getStartLineNumber(n.modifiedStart)-1,u=0):(l=r.getStartLineNumber(n.modifiedStart),u=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),i&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&a()){const i=t.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),s=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);let c=y(i,s,a,!0).changes;o&&(c=function(e){if(e.length<=1)return e;const n=[e[0]];let t=n[0];for(let r=1,a=e.length;r<a;r++){const a=e[r],i=a.originalStart-(t.originalStart+t.originalLength),o=a.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(i,o)<3?(t.originalLength=a.originalStart+a.originalLength-t.originalStart,t.modifiedLength=a.modifiedStart+a.modifiedLength-t.modifiedStart):(n.push(a),t=a)}return n}(c)),d=[];for(let e=0,n=c.length;e<n;e++)d.push(b.createFromDiffChange(c[e],i,s))}return new E(s,c,l,u,d)}}class T{constructor(e,n,t){this.shouldComputeCharChanges=t.shouldComputeCharChanges,this.shouldPostProcessCharChanges=t.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=t.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=t.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=n,this.original=new h(e),this.modified=new h(n),this.continueLineDiff=x(t.maxComputationTime),this.continueCharDiff=x(0===t.maxComputationTime?0:Math.min(t.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=y(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=e.changes,t=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let t=0,r=n.length;t<r;t++)e.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[t],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:t,changes:e}}const r=[];let a=0,i=0;for(let e=-1,t=n.length;e<t;e++){const o=e+1<t?n[e+1]:null,s=o?o.originalStart:this.originalLines.length,c=o?o.modifiedStart:this.modifiedLines.length;for(;a<s&&i<c;){const e=this.originalLines[a],n=this.modifiedLines[i];if(e!==n){{let t=S(e,1),o=S(n,1);for(;t>1&&o>1;){if(e.charCodeAt(t-2)!==n.charCodeAt(o-2))break;t--,o--}(t>1||o>1)&&this._pushTrimWhitespaceCharChange(r,a+1,1,t,i+1,1,o)}{let t=L(e,1),o=L(n,1);const s=e.length+1,c=n.length+1;for(;t<s&&o<c;){if(e.charCodeAt(t-1)!==e.charCodeAt(o-1))break;t++,o++}(t<s||o<c)&&this._pushTrimWhitespaceCharChange(r,a+1,t,s,i+1,o,c)}}a++,i++}o&&(r.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,o,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=o.originalLength,i+=o.modifiedLength)}return{quitEarly:t,changes:r}}_pushTrimWhitespaceCharChange(e,n,t,r,a,i,o){if(this._mergeTrimWhitespaceCharChange(e,n,t,r,a,i,o))return;let s=void 0;this.shouldComputeCharChanges&&(s=[new b(n,t,n,r,a,i,a,o)]),e.push(new E(n,n,a,a,s))}_mergeTrimWhitespaceCharChange(e,n,t,r,a,i,o){const s=e.length;if(0===s)return!1;const c=e[s-1];return 0!==c.originalEndLineNumber&&0!==c.modifiedEndLineNumber&&(c.originalEndLineNumber+1===n&&c.modifiedEndLineNumber+1===a&&(c.originalEndLineNumber=n,c.modifiedEndLineNumber=a,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new b(n,t,n,r,a,i,a,o)),!0))}}function S(e,n){const t=g.w(e);return-1===t?n:t+1}function L(e,n){const t=g.J(e);return-1===t?n:t+2}function x(e){if(0===e)return()=>!0;const n=Date.now();return()=>Date.now()-n<e}var A=t(101);var D=t(73),C=t(76);class I{constructor(e,n,t){const r=new Uint8Array(e*n);for(let a=0,i=e*n;a<i;a++)r[a]=t;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,t){this._data[e*this.cols+n]=t}}class N{constructor(e){let n=0,t=0;for(let r=0,a=e.length;r<a;r++){let[a,i,o]=e[r];i>n&&(n=i),a>t&&(t=a),o>t&&(t=o)}n++,t++;let r=new I(t,n,0);for(let n=0,t=e.length;n<t;n++){let[t,a,i]=e[n];r.set(t,a,i)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}}let R=null;let k=null;class O{static _createLink(e,n,t,r,a){let i=a-1;do{const t=n.charCodeAt(i);if(2!==e.get(t))break;i--}while(i>r);if(r>0){const e=n.charCodeAt(r-1),t=n.charCodeAt(i);(40===e&&41===t||91===e&&93===t||123===e&&125===t)&&i--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}}static computeLinks(e,n=function(){return null===R&&(R=new N([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),R}()){const t=function(){if(null===k){k=new C.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let n=0;n<e.length;n++)k.set(e.charCodeAt(n),1);const n=".,;";for(let e=0;e<n.length;e++)k.set(n.charCodeAt(e),2)}return k}();let r=[];for(let a=1,i=e.getLineCount();a<=i;a++){const i=e.getLineContent(a),o=i.length;let s=0,c=0,l=0,u=1,d=!1,p=!1,f=!1,m=!1;for(;s<o;){let e=!1;const o=i.charCodeAt(s);if(13===u){let n;switch(o){case 40:d=!0,n=0;break;case 41:n=d?0:1;break;case 91:f=!0,p=!0,n=0;break;case 93:f=!1,n=p?0:1;break;case 123:m=!0,n=0;break;case 125:n=m?0:1;break;case 39:n=34===l||96===l?0:1;break;case 34:n=39===l||96===l?0:1;break;case 96:n=39===l||34===l?0:1;break;case 42:n=42===l?1:0;break;case 124:n=124===l?1:0;break;case 32:n=f?0:1;break;default:n=t.get(o)}1===n&&(r.push(O._createLink(t,i,a,c,s)),e=!0)}else if(12===u){let n;91===o?(p=!0,n=0):n=t.get(o),1===n?e=!0:u=13}else u=n.nextState(u,o),0===u&&(e=!0);e&&(u=1,d=!1,p=!1,m=!1,c=s+1,l=o),s++}13===u&&r.push(O._createLink(t,i,a,c,o))}return r}}class P{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,n,t,r,a){if(e&&n){let t=this.doNavigateValueSet(n,a);if(t)return{range:e,value:t}}if(t&&r){let e=this.doNavigateValueSet(r,a);if(e)return{range:t,value:e}}return null}doNavigateValueSet(e,n){let t=this.numberReplace(e,n);return null!==t?t:this.textReplace(e,n)}numberReplace(e,n){let t=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),a=parseFloat(e);return isNaN(r)||isNaN(a)||r!==a?null:0!==r||n?(r=Math.floor(r*t),r+=n?t:-t,String(r/t)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,t){let r=null;for(let a=0,i=e.length;null===r&&a<i;a++)r=this.valueSetReplace(e[a],n,t);return r}valueSetReplace(e,n,t){let r=e.indexOf(n);return r>=0?(r+=t?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}P.INSTANCE=new P;var M=t(100),w=t(14),F=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class G extends class{constructor(e,n,t,r){this._uri=e,this._lines=n,this._eol=t,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const n=e.changes;for(const e of n)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,n=this._lines.length,t=new Uint32Array(n);for(let r=0;r<n;r++)t[r]=this._lines[r].length+e;this._lineStarts=new A.a(t)}}_setLineText(e,n){this._lines[e]=n,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,n){if(0===n.length)return;let t=n.split(/\r\n|\r|\n/);if(1===t.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+t[0]+this._lines[e.lineNumber-1].substring(e.column-1));t[t.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+t[0]);let r=new Uint32Array(t.length-1);for(let n=1;n<t.length;n++)this._lines.splice(e.lineNumber+n-1,0,t[n]),r[n-1]=t[n].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,n){let t=Object(D.d)(e.column,Object(D.c)(n),this._lines[e.lineNumber-1],0);return t?new _.a(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null}words(e){const n=this._lines,t=this._wordenize.bind(this);let r=0,a="",i=0,o=[];return{*[Symbol.iterator](){for(;;)if(i<o.length){const e=a.substring(o[i].start,o[i].end);i+=1,yield e}else{if(!(r<n.length))break;a=n[r],o=t(a,e),i=0,r+=1}}}}getLineWords(e,n){let t=this._lines[e-1],r=this._wordenize(t,n),a=[];for(const e of r)a.push({word:t.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return a}_wordenize(e,n){const t=[];let r;for(n.lastIndex=0;(r=n.exec(e))&&0!==r[0].length;)t.push({start:r.index,end:r.index+r[0].length});return t}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let n=this._eol,t=e.startLineNumber-1,r=e.endLineNumber-1,a=[];a.push(this._lines[t].substring(e.startColumn-1));for(let e=t+1;e<r;e++)a.push(this._lines[e]);return a.push(this._lines[r].substring(0,e.endColumn-1)),a.join(n)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let n=this._lineStarts.getIndexOf(e),t=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,t)}}_validateRange(e){const n=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),t=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return n.lineNumber!==e.startLineNumber||n.column!==e.startColumn||t.lineNumber!==e.endLineNumber||t.column!==e.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:t.lineNumber,endColumn:t.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:n,column:t}=e,r=!1;if(n<1)n=1,t=1,r=!0;else if(n>this._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{let e=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>e&&(t=e,r=!0)}return r?{lineNumber:n,column:t}:e}}class B{constructor(e,n){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(n=>e.push(this._models[n])),e}acceptNewModel(e){this._models[e.url]=new G(f.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,n){if(!this._models[e])return;this._models[e].onEvents(n)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,n,t,r){return F(this,void 0,void 0,(function*(){const a=this._getModel(e),i=this._getModel(n);if(!a||!i)return null;const o=a.getLinesContent(),s=i.getLinesContent(),c=new T(o,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),l=!(c.changes.length>0)&&this._modelsAreIdentical(a,i);return{quitEarly:c.quitEarly,identical:l,changes:c.changes}}))}_modelsAreIdentical(e,n){const t=e.getLineCount();if(t!==n.getLineCount())return!1;for(let r=1;r<=t;r++){if(e.getLineContent(r)!==n.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,n){return F(this,void 0,void 0,(function*(){const t=this._getModel(e);if(!t)return n;const a=[];let i=void 0;n=Object(r.p)(n,(e,n)=>{if(e.range&&n.range)return _.a.compareRangesUsingStarts(e.range,n.range);return(e.range?0:1)-(n.range?0:1)});for(let{range:e,text:r,eol:o}of n){if("number"==typeof o&&(i=o),_.a.isEmpty(e)&&!r)continue;const n=t.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,t.eol),n===r)continue;if(Math.max(r.length,n.length)>B._diffLimit){a.push({range:e,text:r});continue}const c=s(n,r,!1),l=t.offsetAt(_.a.lift(e).getStartPosition());for(const e of c){const n=t.positionAt(l+e.originalStart),i=t.positionAt(l+e.originalStart+e.originalLength),o={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}};t.getValueInRange(o.range)!==o.text&&a.push(o)}}return"number"==typeof i&&a.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),a}))}computeLinks(e){return F(this,void 0,void 0,(function*(){let n=this._getModel(e);return n?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?O.computeLinks(e):[]}(n):null}))}textualSuggest(e,n,t,r){return F(this,void 0,void 0,(function*(){const a=this._getModel(e);if(!a)return null;const i=[],o=new Set,s=new RegExp(t,r),c=a.getWordAtPosition(n,s);c&&o.add(a.getValueInRange(c));for(let e of a.words(s))if(!o.has(e)&&(o.add(e),isNaN(Number(e))&&(i.push(e),o.size>B._suggestionsLimit)))break;return i}))}computeWordRanges(e,n,t,r){return F(this,void 0,void 0,(function*(){let a=this._getModel(e);if(!a)return Object.create(null);const i=new RegExp(t,r),o=Object.create(null);for(let e=n.startLineNumber;e<n.endLineNumber;e++){let n=a.getLineWords(e,i);for(const t of n){if(!isNaN(Number(t.word)))continue;let n=o[t.word];n||(n=[],o[t.word]=n),n.push({startLineNumber:e,startColumn:t.startColumn,endLineNumber:e,endColumn:t.endColumn})}}return o}))}navigateValueSet(e,n,t,r,a){return F(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return null;let o=new RegExp(r,a);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});let s=i.getValueInRange(n),c=i.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o);if(!c)return null;let l=i.getValueInRange(c);return P.INSTANCE.navigateValueSet(n,s,c,l,t)}))}loadForeignModule(e,n,t){let r={host:w.c(t,(e,n)=>this._host.fhr(e,n)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,n),Promise.resolve(w.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,n){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(e){return Promise.reject(e)}}}B._diffLimit=1e5,B._suggestionsLimit=1e4,"function"==typeof importScripts&&(p.b.monaco=Object(M.a)())},11:function(e,n,t){"use strict";(function(e,r){t.d(n,"i",(function(){return g})),t.d(n,"f",(function(){return y})),t.d(n,"d",(function(){return h})),t.d(n,"g",(function(){return v})),t.d(n,"h",(function(){return b})),t.d(n,"c",(function(){return E})),t.d(n,"b",(function(){return T})),t.d(n,"j",(function(){return S})),t.d(n,"a",(function(){return L})),t.d(n,"e",(function(){return D}));let a=!1,i=!1,o=!1,s=!1,c=!1,l=!1,u=void 0,d="en",p=void 0,f=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){a="win32"===e.platform,i="darwin"===e.platform,o="linux"===e.platform,u="en",d="en";const n=e.env.VSCODE_NLS_CONFIG;if(n)try{const e=JSON.parse(n),t=e.availableLanguages["*"];u=e.locale,d=t||"en",p=e._translationsConfigFile}catch(e){}s=!0}}else f=navigator.userAgent,a=f.indexOf("Windows")>=0,i=f.indexOf("Macintosh")>=0,l=(f.indexOf("Macintosh")>=0||f.indexOf("iPad")>=0||f.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,o=f.indexOf("Linux")>=0,c=!0,u=navigator.language,d=u;let _=0;i?_=1:a?_=3:o&&(_=2);const g=a,y=i,h=o,v=s,b=c,E=l,T="object"==typeof self?self:"object"==typeof r?r:{},S=function(){if(T.setImmediate)return T.setImmediate.bind(T);if("function"==typeof T.postMessage&&!T.importScripts){let e=[];T.addEventListener("message",n=>{if(n.data&&n.data.vscodeSetImmediateId)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id===n.data.vscodeSetImmediateId)return e.splice(t,1),void r.callback()}});let n=0;return t=>{const r=++n;e.push({id:r,callback:t}),T.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const n=Promise.resolve();return e=>n.then(e)}(),L=i||l?2:a?1:3;let x=!0,A=!1;function D(){if(!A){A=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const n=new Uint16Array(e.buffer);x=513===n[0]}return x}}).call(this,t(86),t(137))},13:function(e,n,t){"use strict";t.d(n,"e",(function(){return a})),t.d(n,"f",(function(){return i})),t.d(n,"g",(function(){return o})),t.d(n,"d",(function(){return s})),t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return u}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function a(e){s(e)||r.onUnexpectedError(e)}function i(e){s(e)||r.onUnexpectedExternalError(e)}function o(e){if(e instanceof Error){let{name:n,message:t}=e;return{$isError:!0,name:n,message:t,stack:e.stacktrace||e.stack}}return e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function c(){const e=new Error("Canceled");return e.name=e.message,e}function l(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function u(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,n,t){"use strict";t.r(n),t.d(n,"initialize",(function(){return o}));var r=t(94),a=t(104);let i=!1;function o(e){if(i)return;i=!0;const n=new r.b(e=>{self.postMessage(e)},n=>new a.a(n,e));self.onmessage=e=>{n.onmessage(e.data)}}self.onmessage=e=>{i||o(null)}},137:function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t},14:function(e,n,t){"use strict";function r(e){return Array.isArray(e)}function a(e){return"string"==typeof e}function i(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function o(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!0===e||!1===e}function c(e){return void 0===e}function l(e){return c(e)||null===e}function u(e,n){if(!e)throw new Error(n?`Unexpected type, expected '${n}'`:"Unexpected type")}function d(e){if(l(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function f(e,n){const t=Math.min(e.length,n.length);for(let r=0;r<t;r++)m(e[r],n[r])}function m(e,n){if(a(n)){if(typeof e!==n)throw new Error("argument does not match constraint: typeof "+n)}else if(p(n)){try{if(e instanceof n)return}catch(e){}if(!l(e)&&e.constructor===n)return;if(1===n.length&&!0===n.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function _(e){const n=[];for(const t of function(e){let n=[],t=Object.getPrototypeOf(e);for(;Object.prototype!==t;)n=n.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return n}(e))"function"==typeof e[t]&&n.push(t);return n}function g(e,n){const t=e=>function(){const t=Array.prototype.slice.call(arguments,0);return n(e,t)};let r={};for(const n of e)r[n]=t(n);return r}function y(e){return null===e?void 0:e}t.d(n,"e",(function(){return r})),t.d(n,"j",(function(){return a})),t.d(n,"i",(function(){return i})),t.d(n,"h",(function(){return o})),t.d(n,"f",(function(){return s})),t.d(n,"k",(function(){return c})),t.d(n,"l",(function(){return l})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return d})),t.d(n,"g",(function(){return p})),t.d(n,"m",(function(){return f})),t.d(n,"d",(function(){return _})),t.d(n,"c",(function(){return g})),t.d(n,"n",(function(){return y}))},15:function(e,n,t){"use strict";function r(e,n=0){return e[e.length-(1+n)]}function a(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function i(e,n,t=((e,n)=>e===n)){if(e===n)return!0;if(!e||!n)return!1;if(e.length!==n.length)return!1;for(let r=0,a=e.length;r<a;r++)if(!t(e[r],n[r]))return!1;return!0}function o(e,n,t){let r=0,a=e.length-1;for(;r<=a;){const i=(r+a)/2|0,o=t(e[i],n);if(o<0)r=i+1;else{if(!(o>0))return i;a=i-1}}return-(r+1)}function s(e,n){let t=0,r=e.length;if(0===r)return 0;for(;t<r;){const a=Math.floor((t+r)/2);n(e[a])?r=a:t=a+1}return t}function c(e,n){return function e(n,t,r,a,i){if(a<=r)return;const o=r+(a-r)/2|0;if(e(n,t,r,o,i),e(n,t,o+1,a,i),t(n[o],n[o+1])<=0)return;!function(e,n,t,r,a,i){let o=t,s=r+1;for(let n=t;n<=a;n++)i[n]=e[n];for(let c=t;c<=a;c++)o>r?e[c]=i[s++]:s>a?e[c]=i[o++]:n(i[s],i[o])<0?e[c]=i[s++]:e[c]=i[o++]}(n,t,r,o,a,i)}(e,n,0,e.length-1,[]),e}function l(e,n){const t=[];let r=void 0;for(const a of c(e.slice(0),n))r&&0===n(r[0],a)?r.push(a):(r=[a],t.push(r));return t}function u(e){return e.filter(e=>!!e)}function d(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function f(e,n){if(!n)return e.filter((n,t)=>e.indexOf(n)===t);const t=Object.create(null);return e.filter(e=>{const r=n(e);return!t[r]&&(t[r]=!0,!0)})}function m(e){const n=new Set;return e.filter(e=>!n.has(e)&&(n.add(e),!0))}function _(e,n){for(let t=0;t<e.length;t++){if(n(e[t]))return t}return-1}function g(e,n,t){const r=_(e,n);return r<0?t:e[r]}function y(e,n){return e.length>0?e[0]:n}function h(e){return[].concat(...e)}function v(e,n){let t="number"==typeof n?e:0;"number"==typeof n?t=e:(t=0,n=e);const r=[];if(t<=n)for(let e=t;e<n;e++)r.push(e);else for(let e=t;e>n;e--)r.push(e);return r}function b(e,n,t){const r=e.slice(0,n),a=e.slice(n);return r.concat(t,a)}function E(e,n){const t=e.indexOf(n);t>-1&&(e.splice(t,1),e.unshift(n))}function T(e,n){const t=e.indexOf(n);t>-1&&(e.splice(t,1),e.push(n))}function S(e){return Array.isArray(e)?e:[e]}t.d(n,"t",(function(){return r})),t.d(n,"u",(function(){return a})),t.d(n,"g",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"h",(function(){return s})),t.d(n,"p",(function(){return c})),t.d(n,"m",(function(){return l})),t.d(n,"d",(function(){return u})),t.d(n,"n",(function(){return d})),t.d(n,"o",(function(){return p})),t.d(n,"e",(function(){return f})),t.d(n,"f",(function(){return m})),t.d(n,"j",(function(){return _})),t.d(n,"i",(function(){return g})),t.d(n,"k",(function(){return y})),t.d(n,"l",(function(){return h})),t.d(n,"s",(function(){return v})),t.d(n,"a",(function(){return b})),t.d(n,"r",(function(){return E})),t.d(n,"q",(function(){return T})),t.d(n,"b",(function(){return S}))},157:function(e,n,t){"use strict";t.r(n),function(e,r,a){t.d(n,"createClassifier",(function(){return m})),t.d(n,"createLanguageService",(function(){return _})),t.d(n,"displayPartsToString",(function(){return g})),t.d(n,"EndOfLineState",(function(){return y})),t.d(n,"flattenDiagnosticMessageText",(function(){return h})),t.d(n,"IndentStyle",(function(){return v})),t.d(n,"ScriptKind",(function(){return b})),t.d(n,"ScriptTarget",(function(){return E})),t.d(n,"TokenClass",(function(){return T})); +!function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=343)}({100:function(e,n,t){"use strict";t.d(n,"a",(function(){return f}));var r=t(25),a=t(6),i=t(43),o=t(23),s=t(9),c=t(3),l=t(21),u=t(77),d=t(40);class p{static chord(e,n){return Object(i.a)(e,n)}}function f(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.b,Emitter:a.a,KeyCode:d.o,KeyMod:p,Position:s.a,Range:c.a,Selection:l.a,SelectionDirection:d.z,MarkerSeverity:d.p,MarkerTag:d.q,Uri:o.a,Token:u.a}}p.CtrlCmd=2048,p.Shift=1024,p.Alt=512,p.WinCtrl=256},101:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"a",(function(){return i}));var r=t(36);class a{constructor(e,n){this.index=e,this.remainder=n}}class i{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=Object(r.a)(e);const t=this.values,a=this.prefixSum,i=n.length;return 0!==i&&(this.values=new Uint32Array(t.length+i),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+i),this.values.set(n,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,n){return e=Object(r.a)(e),n=Object(r.a)(n),this.values[e]!==n&&(this.values[e]=n,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,n){e=Object(r.a)(e),n=Object(r.a)(n);const t=this.values,a=this.prefixSum;if(e>=t.length)return!1;let i=t.length-e;return n>=i&&(n=i),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Object(r.a)(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let n=0,t=this.values.length-1,r=0,i=0,o=0;for(;n<=t;)if(r=n+(t-n)/2|0,i=this.prefixSum[r],o=i-this.values[r],e<o)t=r-1;else{if(!(e>=i))break;n=r+1}return new a(r,e-o)}}},104:function(e,n,t){"use strict";t.d(n,"a",(function(){return B}));var r=t(16);class a{constructor(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var i=t(89);class o{constructor(e){this.source=e}getElements(){const e=this.source,n=new Int32Array(e.length);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return n}}function s(e,n,t){return new d(new o(e),new o(n)).ComputeDiff(t).changes}class c{static Assert(e,n){if(!e)throw new Error(n)}}class l{static Copy(e,n,t,r,a){for(let i=0;i<a;i++)t[r+i]=e[n+i]}static Copy2(e,n,t,r,a){for(let i=0;i<a;i++)t[r+i]=e[n+i]}}class u{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new a(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,n,t=null){this.ContinueProcessingPredicate=t;const[r,a,i]=d._getElements(e),[o,s,c]=d._getElements(n);this._hasStrings=i&&c,this._originalStringElements=r,this._originalElementsOrHash=a,this._modifiedStringElements=o,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const n=e.getElements();if(d._isStringArray(n)){const e=new Int32Array(n.length);for(let t=0,r=n.length;t<r;t++)e[t]=Object(i.c)(n[t],0);return[n,e,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[n]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[n])}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]===this._originalElementsOrHash[n]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[n])}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[n]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[n])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,t,r,a){const i=[!1];let o=this.ComputeDiffRecursive(e,n,t,r,i);return a&&(o=this.PrettifyChanges(o)),{quitEarly:i[0],changes:o}}ComputeDiffRecursive(e,n,t,r,i){for(i[0]=!1;e<=n&&t<=r&&this.ElementsAreEqual(e,t);)e++,t++;for(;n>=e&&r>=t&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||t>r){let i;return t<=r?(c.Assert(e===n+1,"originalStart should only be one more than originalEnd"),i=[new a(e,0,t,r-t+1)]):e<=n?(c.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new a(e,n-e+1,t,0)]):(c.Assert(e===n+1,"originalStart should only be one more than originalEnd"),c.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const o=[0],s=[0],l=this.ComputeRecursionPoint(e,n,t,r,o,s,i),u=o[0],d=s[0];if(null!==l)return l;if(!i[0]){const o=this.ComputeDiffRecursive(e,u,t,d,i);let s=[];return s=i[0]?[new a(u+1,n-(u+1)+1,d+1,r-(d+1)+1)]:this.ComputeDiffRecursive(u+1,n,d+1,r,i),this.ConcatenateChanges(o,s)}return[new a(e,n-e+1,t,r-t+1)]}WALKTRACE(e,n,t,r,i,o,s,c,l,d,p,f,m,_,g,y,h,v){let b=null,E=null,T=new u,S=n,L=t,x=m[0]-y[0]-r,A=-1073741824,D=this.m_forwardHistory.length-1;do{const n=x+e;n===S||n<L&&l[n-1]<l[n+1]?(_=(p=l[n+1])-x-r,p<A&&T.MarkNextChange(),A=p,T.AddModifiedElement(p+1,_),x=n+1-e):(_=(p=l[n-1]+1)-x-r,p<A&&T.MarkNextChange(),A=p-1,T.AddOriginalElement(p,_+1),x=n-1-e),D>=0&&(e=(l=this.m_forwardHistory[D])[0],S=1,L=l.length-1)}while(--D>=-1);if(b=T.getReverseChanges(),v[0]){let e=m[0]+1,n=y[0]+1;if(null!==b&&b.length>0){const t=b[b.length-1];e=Math.max(e,t.getOriginalEnd()),n=Math.max(n,t.getModifiedEnd())}E=[new a(e,f-e+1,n,g-n+1)]}else{T=new u,S=o,L=s,x=m[0]-y[0]-c,A=1073741824,D=h?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+i;e===S||e<L&&d[e-1]>=d[e+1]?(_=(p=d[e+1]-1)-x-c,p>A&&T.MarkNextChange(),A=p+1,T.AddOriginalElement(p+1,_+1),x=e+1-i):(_=(p=d[e-1])-x-c,p>A&&T.MarkNextChange(),A=p,T.AddModifiedElement(p+1,_+1),x=e-1-i),D>=0&&(i=(d=this.m_reverseHistory[D])[0],S=1,L=d.length-1)}while(--D>=-1);E=T.getChanges()}return this.ConcatenateChanges(b,E)}ComputeRecursionPoint(e,n,t,r,i,o,s){let c=0,u=0,d=0,p=0,f=0,m=0;e--,t--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const _=n-e+(r-t),g=_+1,y=new Int32Array(g),h=new Int32Array(g),v=r-t,b=n-e,E=e-t,T=n-r,S=(b-v)%2==0;y[v]=e,h[b]=n,s[0]=!1;for(let L=1;L<=_/2+1;L++){let _=0,x=0;d=this.ClipDiagonalBound(v-L,L,v,g),p=this.ClipDiagonalBound(v+L,L,v,g);for(let e=d;e<=p;e+=2){c=e===d||e<p&&y[e-1]<y[e+1]?y[e+1]:y[e-1]+1,u=c-(e-v)-E;const t=c;for(;c<n&&u<r&&this.ElementsAreEqual(c+1,u+1);)c++,u++;if(y[e]=c,c+u>_+x&&(_=c,x=u),!S&&Math.abs(e-b)<=L-1&&c>=h[e])return i[0]=c,o[0]=u,t<=h[e]&&L<=1448?this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s):null}const A=(_-e+(x-t)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(_,A))return s[0]=!0,i[0]=_,o[0]=x,A>0&&L<=1448?this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s):(e++,t++,[new a(e,n-e+1,t,r-t+1)]);f=this.ClipDiagonalBound(b-L,L,b,g),m=this.ClipDiagonalBound(b+L,L,b,g);for(let a=f;a<=m;a+=2){c=a===f||a<m&&h[a-1]>=h[a+1]?h[a+1]-1:h[a-1],u=c-(a-b)-T;const l=c;for(;c>e&&u>t&&this.ElementsAreEqual(c,u);)c--,u--;if(h[a]=c,S&&Math.abs(a-v)<=L&&c<=y[a])return i[0]=c,o[0]=u,l>=y[a]&&L<=1448?this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s):null}if(L<=1447){let e=new Int32Array(p-d+2);e[0]=v-d+1,l.Copy2(y,d,e,1,p-d+1),this.m_forwardHistory.push(e),e=new Int32Array(m-f+2),e[0]=b-f+1,l.Copy2(h,f,e,1,m-f+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,d,p,E,b,f,m,T,y,h,c,n,i,u,r,o,S,s)}PrettifyChanges(e){for(let n=0;n<e.length;n++){const t=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,a=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,i=t.originalLength>0,o=t.modifiedLength>0;for(;t.originalStart+t.originalLength<r&&t.modifiedStart+t.modifiedLength<a&&(!i||this.OriginalElementsAreEqual(t.originalStart,t.originalStart+t.originalLength))&&(!o||this.ModifiedElementsAreEqual(t.modifiedStart,t.modifiedStart+t.modifiedLength));)t.originalStart++,t.modifiedStart++;let s=[null];n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],s)&&(e[n]=s[0],e.splice(n+1,1),n--)}for(let n=e.length-1;n>=0;n--){const t=e[n];let r=0,a=0;if(n>0){const t=e[n-1];t.originalLength>0&&(r=t.originalStart+t.originalLength),t.modifiedLength>0&&(a=t.modifiedStart+t.modifiedLength)}const i=t.originalLength>0,o=t.modifiedLength>0;let s=0,c=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength);for(let e=1;;e++){const n=t.originalStart-e,l=t.modifiedStart-e;if(n<r||l<a)break;if(i&&!this.OriginalElementsAreEqual(n,n+t.originalLength))break;if(o&&!this.ModifiedElementsAreEqual(l,l+t.modifiedLength))break;const u=this._boundaryScore(n,t.originalLength,l,t.modifiedLength);u>c&&(c=u,s=e)}t.originalStart-=s,t.modifiedStart-=s}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1}_boundaryScore(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)}ConcatenateChanges(e,n){let t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){const r=new Array(e.length+n.length-1);return l.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],l.Copy(n,1,r,e.length,n.length-1),r}{const t=new Array(e.length+n.length);return l.Copy(e,0,t,0,e.length),l.Copy(n,0,t,e.length,n.length),t}}ChangesOverlap(e,n,t){if(c.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),c.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(i=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(s=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new a(r,i,o,s),!0}return t[0]=null,!1}ClipDiagonalBound(e,n,t,r){if(e>=0&&e<r)return e;const a=n%2==0;if(e<0){return a===(t%2==0)?0:1}return a===((r-t-1)%2==0)?r-1:r-2}}var p=t(11),f=t(23),m=t(9),_=t(3),g=t(8);function y(e,n,t,r){return new d(e,n,t).ComputeDiff(r)}class h{constructor(e){const n=[],t=[];for(let r=0,a=e.length;r<a;r++)n[r]=S(e[r],1),t[r]=L(e[r],1);this.lines=e,this._startColumns=n,this._endColumns=t}getElements(){const e=[];for(let n=0,t=this.lines.length;n<t;n++)e[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,n,t){const r=[],a=[],i=[];let o=0;for(let s=n;s<=t;s++){const n=this.lines[s],t=e?this._startColumns[s]:1,c=e?this._endColumns[s]:n.length+1;for(let e=t;e<c;e++)r[o]=n.charCodeAt(e-1),a[o]=s+1,i[o]=e,o++}return new v(r,a,i)}}class v{constructor(e,n,t){this._charCodes=e,this._lineNumbers=n,this._columns=t}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class b{constructor(e,n,t,r,a,i,o,s){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=t,this.originalEndColumn=r,this.modifiedStartLineNumber=a,this.modifiedStartColumn=i,this.modifiedEndLineNumber=o,this.modifiedEndColumn=s}static createFromDiffChange(e,n,t){let r,a,i,o,s,c,l,u;return 0===e.originalLength?(r=0,a=0,i=0,o=0):(r=n.getStartLineNumber(e.originalStart),a=n.getStartColumn(e.originalStart),i=n.getEndLineNumber(e.originalStart+e.originalLength-1),o=n.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(s=0,c=0,l=0,u=0):(s=t.getStartLineNumber(e.modifiedStart),c=t.getStartColumn(e.modifiedStart),l=t.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=t.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new b(r,a,i,o,s,c,l,u)}}class E{constructor(e,n,t,r,a){this.originalStartLineNumber=e,this.originalEndLineNumber=n,this.modifiedStartLineNumber=t,this.modifiedEndLineNumber=r,this.charChanges=a}static createFromDiffResult(e,n,t,r,a,i,o){let s,c,l,u,d=void 0;if(0===n.originalLength?(s=t.getStartLineNumber(n.originalStart)-1,c=0):(s=t.getStartLineNumber(n.originalStart),c=t.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(l=r.getStartLineNumber(n.modifiedStart)-1,u=0):(l=r.getStartLineNumber(n.modifiedStart),u=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),i&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&a()){const i=t.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),s=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);let c=y(i,s,a,!0).changes;o&&(c=function(e){if(e.length<=1)return e;const n=[e[0]];let t=n[0];for(let r=1,a=e.length;r<a;r++){const a=e[r],i=a.originalStart-(t.originalStart+t.originalLength),o=a.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(i,o)<3?(t.originalLength=a.originalStart+a.originalLength-t.originalStart,t.modifiedLength=a.modifiedStart+a.modifiedLength-t.modifiedStart):(n.push(a),t=a)}return n}(c)),d=[];for(let e=0,n=c.length;e<n;e++)d.push(b.createFromDiffChange(c[e],i,s))}return new E(s,c,l,u,d)}}class T{constructor(e,n,t){this.shouldComputeCharChanges=t.shouldComputeCharChanges,this.shouldPostProcessCharChanges=t.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=t.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=t.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=n,this.original=new h(e),this.modified=new h(n),this.continueLineDiff=x(t.maxComputationTime),this.continueCharDiff=x(0===t.maxComputationTime?0:Math.min(t.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=y(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=e.changes,t=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let t=0,r=n.length;t<r;t++)e.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[t],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:t,changes:e}}const r=[];let a=0,i=0;for(let e=-1,t=n.length;e<t;e++){const o=e+1<t?n[e+1]:null,s=o?o.originalStart:this.originalLines.length,c=o?o.modifiedStart:this.modifiedLines.length;for(;a<s&&i<c;){const e=this.originalLines[a],n=this.modifiedLines[i];if(e!==n){{let t=S(e,1),o=S(n,1);for(;t>1&&o>1;){if(e.charCodeAt(t-2)!==n.charCodeAt(o-2))break;t--,o--}(t>1||o>1)&&this._pushTrimWhitespaceCharChange(r,a+1,1,t,i+1,1,o)}{let t=L(e,1),o=L(n,1);const s=e.length+1,c=n.length+1;for(;t<s&&o<c;){if(e.charCodeAt(t-1)!==e.charCodeAt(o-1))break;t++,o++}(t<s||o<c)&&this._pushTrimWhitespaceCharChange(r,a+1,t,s,i+1,o,c)}}a++,i++}o&&(r.push(E.createFromDiffResult(this.shouldIgnoreTrimWhitespace,o,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=o.originalLength,i+=o.modifiedLength)}return{quitEarly:t,changes:r}}_pushTrimWhitespaceCharChange(e,n,t,r,a,i,o){if(this._mergeTrimWhitespaceCharChange(e,n,t,r,a,i,o))return;let s=void 0;this.shouldComputeCharChanges&&(s=[new b(n,t,n,r,a,i,a,o)]),e.push(new E(n,n,a,a,s))}_mergeTrimWhitespaceCharChange(e,n,t,r,a,i,o){const s=e.length;if(0===s)return!1;const c=e[s-1];return 0!==c.originalEndLineNumber&&0!==c.modifiedEndLineNumber&&(c.originalEndLineNumber+1===n&&c.modifiedEndLineNumber+1===a&&(c.originalEndLineNumber=n,c.modifiedEndLineNumber=a,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new b(n,t,n,r,a,i,a,o)),!0))}}function S(e,n){const t=g.w(e);return-1===t?n:t+1}function L(e,n){const t=g.J(e);return-1===t?n:t+2}function x(e){if(0===e)return()=>!0;const n=Date.now();return()=>Date.now()-n<e}var A=t(101);var D=t(73),C=t(76);class I{constructor(e,n,t){const r=new Uint8Array(e*n);for(let a=0,i=e*n;a<i;a++)r[a]=t;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,t){this._data[e*this.cols+n]=t}}class N{constructor(e){let n=0,t=0;for(let r=0,a=e.length;r<a;r++){let[a,i,o]=e[r];i>n&&(n=i),a>t&&(t=a),o>t&&(t=o)}n++,t++;let r=new I(t,n,0);for(let n=0,t=e.length;n<t;n++){let[t,a,i]=e[n];r.set(t,a,i)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}}let R=null;let k=null;class O{static _createLink(e,n,t,r,a){let i=a-1;do{const t=n.charCodeAt(i);if(2!==e.get(t))break;i--}while(i>r);if(r>0){const e=n.charCodeAt(r-1),t=n.charCodeAt(i);(40===e&&41===t||91===e&&93===t||123===e&&125===t)&&i--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}}static computeLinks(e,n=function(){return null===R&&(R=new N([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),R}()){const t=function(){if(null===k){k=new C.a(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let n=0;n<e.length;n++)k.set(e.charCodeAt(n),1);const n=".,;";for(let e=0;e<n.length;e++)k.set(n.charCodeAt(e),2)}return k}();let r=[];for(let a=1,i=e.getLineCount();a<=i;a++){const i=e.getLineContent(a),o=i.length;let s=0,c=0,l=0,u=1,d=!1,p=!1,f=!1,m=!1;for(;s<o;){let e=!1;const o=i.charCodeAt(s);if(13===u){let n;switch(o){case 40:d=!0,n=0;break;case 41:n=d?0:1;break;case 91:f=!0,p=!0,n=0;break;case 93:f=!1,n=p?0:1;break;case 123:m=!0,n=0;break;case 125:n=m?0:1;break;case 39:n=34===l||96===l?0:1;break;case 34:n=39===l||96===l?0:1;break;case 96:n=39===l||34===l?0:1;break;case 42:n=42===l?1:0;break;case 124:n=124===l?1:0;break;case 32:n=f?0:1;break;default:n=t.get(o)}1===n&&(r.push(O._createLink(t,i,a,c,s)),e=!0)}else if(12===u){let n;91===o?(p=!0,n=0):n=t.get(o),1===n?e=!0:u=13}else u=n.nextState(u,o),0===u&&(e=!0);e&&(u=1,d=!1,p=!1,m=!1,c=s+1,l=o),s++}13===u&&r.push(O._createLink(t,i,a,c,o))}return r}}class P{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,n,t,r,a){if(e&&n){let t=this.doNavigateValueSet(n,a);if(t)return{range:e,value:t}}if(t&&r){let e=this.doNavigateValueSet(r,a);if(e)return{range:t,value:e}}return null}doNavigateValueSet(e,n){let t=this.numberReplace(e,n);return null!==t?t:this.textReplace(e,n)}numberReplace(e,n){let t=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),a=parseFloat(e);return isNaN(r)||isNaN(a)||r!==a?null:0!==r||n?(r=Math.floor(r*t),r+=n?t:-t,String(r/t)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,t){let r=null;for(let a=0,i=e.length;null===r&&a<i;a++)r=this.valueSetReplace(e[a],n,t);return r}valueSetReplace(e,n,t){let r=e.indexOf(n);return r>=0?(r+=t?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}P.INSTANCE=new P;var M=t(100),w=t(14),F=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class G extends class{constructor(e,n,t,r){this._uri=e,this._lines=n,this._eol=t,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const n=e.changes;for(const e of n)this._acceptDeleteRange(e.range),this._acceptInsertText(new m.a(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,n=this._lines.length,t=new Uint32Array(n);for(let r=0;r<n;r++)t[r]=this._lines[r].length+e;this._lineStarts=new A.a(t)}}_setLineText(e,n){this._lines[e]=n,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,n){if(0===n.length)return;let t=n.split(/\r\n|\r|\n/);if(1===t.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+t[0]+this._lines[e.lineNumber-1].substring(e.column-1));t[t.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+t[0]);let r=new Uint32Array(t.length-1);for(let n=1;n<t.length;n++)this._lines.splice(e.lineNumber+n-1,0,t[n]),r[n-1]=t[n].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,n){let t=Object(D.d)(e.column,Object(D.c)(n),this._lines[e.lineNumber-1],0);return t?new _.a(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null}words(e){const n=this._lines,t=this._wordenize.bind(this);let r=0,a="",i=0,o=[];return{*[Symbol.iterator](){for(;;)if(i<o.length){const e=a.substring(o[i].start,o[i].end);i+=1,yield e}else{if(!(r<n.length))break;a=n[r],o=t(a,e),i=0,r+=1}}}}getLineWords(e,n){let t=this._lines[e-1],r=this._wordenize(t,n),a=[];for(const e of r)a.push({word:t.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return a}_wordenize(e,n){const t=[];let r;for(n.lastIndex=0;(r=n.exec(e))&&0!==r[0].length;)t.push({start:r.index,end:r.index+r[0].length});return t}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let n=this._eol,t=e.startLineNumber-1,r=e.endLineNumber-1,a=[];a.push(this._lines[t].substring(e.startColumn-1));for(let e=t+1;e<r;e++)a.push(this._lines[e]);return a.push(this._lines[r].substring(0,e.endColumn-1)),a.join(n)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let n=this._lineStarts.getIndexOf(e),t=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,t)}}_validateRange(e){const n=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),t=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return n.lineNumber!==e.startLineNumber||n.column!==e.startColumn||t.lineNumber!==e.endLineNumber||t.column!==e.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:t.lineNumber,endColumn:t.column}:e}_validatePosition(e){if(!m.a.isIPosition(e))throw new Error("bad position");let{lineNumber:n,column:t}=e,r=!1;if(n<1)n=1,t=1,r=!0;else if(n>this._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{let e=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>e&&(t=e,r=!0)}return r?{lineNumber:n,column:t}:e}}class B{constructor(e,n){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(n=>e.push(this._models[n])),e}acceptNewModel(e){this._models[e.url]=new G(f.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,n){if(!this._models[e])return;this._models[e].onEvents(n)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,n,t,r){return F(this,void 0,void 0,(function*(){const a=this._getModel(e),i=this._getModel(n);if(!a||!i)return null;const o=a.getLinesContent(),s=i.getLinesContent(),c=new T(o,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),l=!(c.changes.length>0)&&this._modelsAreIdentical(a,i);return{quitEarly:c.quitEarly,identical:l,changes:c.changes}}))}_modelsAreIdentical(e,n){const t=e.getLineCount();if(t!==n.getLineCount())return!1;for(let r=1;r<=t;r++){if(e.getLineContent(r)!==n.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,n){return F(this,void 0,void 0,(function*(){const t=this._getModel(e);if(!t)return n;const a=[];let i=void 0;n=Object(r.p)(n,(e,n)=>{if(e.range&&n.range)return _.a.compareRangesUsingStarts(e.range,n.range);return(e.range?0:1)-(n.range?0:1)});for(let{range:e,text:r,eol:o}of n){if("number"==typeof o&&(i=o),_.a.isEmpty(e)&&!r)continue;const n=t.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,t.eol),n===r)continue;if(Math.max(r.length,n.length)>B._diffLimit){a.push({range:e,text:r});continue}const c=s(n,r,!1),l=t.offsetAt(_.a.lift(e).getStartPosition());for(const e of c){const n=t.positionAt(l+e.originalStart),i=t.positionAt(l+e.originalStart+e.originalLength),o={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}};t.getValueInRange(o.range)!==o.text&&a.push(o)}}return"number"==typeof i&&a.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),a}))}computeLinks(e){return F(this,void 0,void 0,(function*(){let n=this._getModel(e);return n?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?O.computeLinks(e):[]}(n):null}))}textualSuggest(e,n,t,r){return F(this,void 0,void 0,(function*(){const a=this._getModel(e);if(!a)return null;const i=[],o=new Set,s=new RegExp(t,r),c=a.getWordAtPosition(n,s);c&&o.add(a.getValueInRange(c));for(let e of a.words(s))if(!o.has(e)&&(o.add(e),isNaN(Number(e))&&(i.push(e),o.size>B._suggestionsLimit)))break;return i}))}computeWordRanges(e,n,t,r){return F(this,void 0,void 0,(function*(){let a=this._getModel(e);if(!a)return Object.create(null);const i=new RegExp(t,r),o=Object.create(null);for(let e=n.startLineNumber;e<n.endLineNumber;e++){let n=a.getLineWords(e,i);for(const t of n){if(!isNaN(Number(t.word)))continue;let n=o[t.word];n||(n=[],o[t.word]=n),n.push({startLineNumber:e,startColumn:t.startColumn,endLineNumber:e,endColumn:t.endColumn})}}return o}))}navigateValueSet(e,n,t,r,a){return F(this,void 0,void 0,(function*(){let i=this._getModel(e);if(!i)return null;let o=new RegExp(r,a);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});let s=i.getValueInRange(n),c=i.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o);if(!c)return null;let l=i.getValueInRange(c);return P.INSTANCE.navigateValueSet(n,s,c,l,t)}))}loadForeignModule(e,n,t){let r={host:w.c(t,(e,n)=>this._host.fhr(e,n)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,n),Promise.resolve(w.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,n){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(e){return Promise.reject(e)}}}B._diffLimit=1e5,B._suggestionsLimit=1e4,"function"==typeof importScripts&&(p.b.monaco=Object(M.a)())},11:function(e,n,t){"use strict";(function(e,r){t.d(n,"i",(function(){return g})),t.d(n,"f",(function(){return y})),t.d(n,"d",(function(){return h})),t.d(n,"g",(function(){return v})),t.d(n,"h",(function(){return b})),t.d(n,"c",(function(){return E})),t.d(n,"b",(function(){return T})),t.d(n,"j",(function(){return S})),t.d(n,"a",(function(){return L})),t.d(n,"e",(function(){return D}));let a=!1,i=!1,o=!1,s=!1,c=!1,l=!1,u=void 0,d="en",p=void 0,f=void 0;const m=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||m){if("object"==typeof e){a="win32"===e.platform,i="darwin"===e.platform,o="linux"===e.platform,u="en",d="en";const n=e.env.VSCODE_NLS_CONFIG;if(n)try{const e=JSON.parse(n),t=e.availableLanguages["*"];u=e.locale,d=t||"en",p=e._translationsConfigFile}catch(e){}s=!0}}else f=navigator.userAgent,a=f.indexOf("Windows")>=0,i=f.indexOf("Macintosh")>=0,l=(f.indexOf("Macintosh")>=0||f.indexOf("iPad")>=0||f.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,o=f.indexOf("Linux")>=0,c=!0,u=navigator.language,d=u;let _=0;i?_=1:a?_=3:o&&(_=2);const g=a,y=i,h=o,v=s,b=c,E=l,T="object"==typeof self?self:"object"==typeof r?r:{},S=function(){if(T.setImmediate)return T.setImmediate.bind(T);if("function"==typeof T.postMessage&&!T.importScripts){let e=[];T.addEventListener("message",n=>{if(n.data&&n.data.vscodeSetImmediateId)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id===n.data.vscodeSetImmediateId)return e.splice(t,1),void r.callback()}});let n=0;return t=>{const r=++n;e.push({id:r,callback:t}),T.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);const n=Promise.resolve();return e=>n.then(e)}(),L=i||l?2:a?1:3;let x=!0,A=!1;function D(){if(!A){A=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const n=new Uint16Array(e.buffer);x=513===n[0]}return x}}).call(this,t(86),t(137))},13:function(e,n,t){"use strict";t.d(n,"e",(function(){return a})),t.d(n,"f",(function(){return i})),t.d(n,"g",(function(){return o})),t.d(n,"d",(function(){return s})),t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return u}));const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function a(e){s(e)||r.onUnexpectedError(e)}function i(e){s(e)||r.onUnexpectedExternalError(e)}function o(e){if(e instanceof Error){let{name:n,message:t}=e;return{$isError:!0,name:n,message:t,stack:e.stacktrace||e.stack}}return e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function c(){const e=new Error("Canceled");return e.name=e.message,e}function l(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function u(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},131:function(e,n,t){"use strict";t.r(n),t.d(n,"initialize",(function(){return o}));var r=t(94),a=t(104);let i=!1;function o(e){if(i)return;i=!0;const n=new r.b(e=>{self.postMessage(e)},n=>new a.a(n,e));self.onmessage=e=>{n.onmessage(e.data)}}self.onmessage=e=>{i||o(null)}},137:function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t},14:function(e,n,t){"use strict";function r(e){return Array.isArray(e)}function a(e){return"string"==typeof e}function i(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function o(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!0===e||!1===e}function c(e){return void 0===e}function l(e){return c(e)||null===e}function u(e,n){if(!e)throw new Error(n?`Unexpected type, expected '${n}'`:"Unexpected type")}function d(e){if(l(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function p(e){return"function"==typeof e}function f(e,n){const t=Math.min(e.length,n.length);for(let r=0;r<t;r++)m(e[r],n[r])}function m(e,n){if(a(n)){if(typeof e!==n)throw new Error("argument does not match constraint: typeof "+n)}else if(p(n)){try{if(e instanceof n)return}catch(e){}if(!l(e)&&e.constructor===n)return;if(1===n.length&&!0===n.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function _(e){const n=[];for(const t of function(e){let n=[],t=Object.getPrototypeOf(e);for(;Object.prototype!==t;)n=n.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return n}(e))"function"==typeof e[t]&&n.push(t);return n}function g(e,n){const t=e=>function(){const t=Array.prototype.slice.call(arguments,0);return n(e,t)};let r={};for(const n of e)r[n]=t(n);return r}function y(e){return null===e?void 0:e}t.d(n,"e",(function(){return r})),t.d(n,"j",(function(){return a})),t.d(n,"i",(function(){return i})),t.d(n,"h",(function(){return o})),t.d(n,"f",(function(){return s})),t.d(n,"k",(function(){return c})),t.d(n,"l",(function(){return l})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return d})),t.d(n,"g",(function(){return p})),t.d(n,"m",(function(){return f})),t.d(n,"d",(function(){return _})),t.d(n,"c",(function(){return g})),t.d(n,"n",(function(){return y}))},157:function(e,n,t){"use strict";t.r(n),function(e,r,a){t.d(n,"createClassifier",(function(){return m})),t.d(n,"createLanguageService",(function(){return _})),t.d(n,"displayPartsToString",(function(){return g})),t.d(n,"EndOfLineState",(function(){return y})),t.d(n,"flattenDiagnosticMessageText",(function(){return h})),t.d(n,"IndentStyle",(function(){return v})),t.d(n,"ScriptKind",(function(){return b})),t.d(n,"ScriptTarget",(function(){return E})),t.d(n,"TokenClass",(function(){return T})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -13,4 +13,4 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ -var i,o=function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),a=0;for(n=0;n<t;n++)for(var i=arguments[n],o=0,s=i.length;o<s;o++,a++)r[a]=i[o];return r},s=function(){return(s=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e}).apply(this,arguments)},c=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},l=function(e,n){var t,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=n.call(e,o)}catch(e){i=[6,e],r=0}finally{t=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},u=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t},d=(i=function(e,n){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)},function(e,n){function t(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)});!function(e){function n(){var e={};return e.prev=e,{head:e,tail:e,size:0}}function t(e,n){return e===n||e!=e&&n!=n}function r(e){var n=e.prev;if(!n||n===e)throw new Error("Illegal state");return n}function a(e){for(;e;){var n=!e.prev;if(e=e.next,!n)return e}}function i(e,n){for(var a=e.tail;a!==e.head;a=r(a))if(t(a.key,n))return a}function o(e,n,t){var r=i(e,n);if(!r){var a=function(e,n){return{key:e,value:n,next:void 0,prev:void 0}}(n,t);return a.prev=e.tail,e.tail.next=a,e.tail=a,e.size++,a}r.value=t}function s(e,n){for(var a=e.tail;a!==e.head;a=r(a)){if(void 0===a.prev)throw new Error("Illegal state");if(t(a.key,n)){if(a.next)a.next.prev=a.prev;else{if(e.tail!==a)throw new Error("Illegal state");e.tail=a.prev}return a.prev.next=a.next,a.next=a.prev,a.prev=void 0,e.size--,a}}}function c(e){for(var n=e.tail;n!==e.head;){var t=r(n);n.next=e.head,n.prev=void 0,n=t}e.head.next=void 0,e.tail=e.head,e.size=0}function l(e,n){for(var t=e.head;t;)(t=a(t))&&n(t.value,t.key)}function u(e,n){if(e)for(var t=e.next();!t.done;t=e.next())n(t.value)}function d(e,n){return{current:e.head,selector:n}}function p(e){return e.current=a(e.current),e.current?{value:e.selector(e.current.key,e.current.value),done:!1}:{value:void 0,done:!0}}!function(e){e.createMapShim=function(e){var t=function(){function e(e,n){this._data=d(e,n)}return e.prototype.next=function(){return p(this._data)},e}();return function(){function r(t){var r=this;this._mapData=n(),u(e(t),(function(e){var n=e[0],t=e[1];return r.set(n,t)}))}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.get=function(e){var n;return null===(n=i(this._mapData,e))||void 0===n?void 0:n.value},r.prototype.set=function(e,n){return o(this._mapData,e,n),this},r.prototype.has=function(e){return!!i(this._mapData,e)},r.prototype.delete=function(e){return!!s(this._mapData,e)},r.prototype.clear=function(){c(this._mapData)},r.prototype.keys=function(){return new t(this._mapData,(function(e,n){return e}))},r.prototype.values=function(){return new t(this._mapData,(function(e,n){return n}))},r.prototype.entries=function(){return new t(this._mapData,(function(e,n){return[e,n]}))},r.prototype.forEach=function(e){l(this._mapData,e)},r}()},e.createSetShim=function(e){var t=function(){function e(e,n){this._data=d(e,n)}return e.prototype.next=function(){return p(this._data)},e}();return function(){function r(t){var r=this;this._mapData=n(),u(e(t),(function(e){return r.add(e)}))}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.add=function(e){return o(this._mapData,e,e),this},r.prototype.has=function(e){return!!i(this._mapData,e)},r.prototype.delete=function(e){return!!s(this._mapData,e)},r.prototype.clear=function(){c(this._mapData)},r.prototype.keys=function(){return new t(this._mapData,(function(e,n){return e}))},r.prototype.values=function(){return new t(this._mapData,(function(e,n){return n}))},r.prototype.entries=function(){return new t(this._mapData,(function(e,n){return[e,n]}))},r.prototype.forEach=function(e){l(this._mapData,e)},r}()}}(e.ShimCollections||(e.ShimCollections={}))}(p||(p={})),function(e){e.versionMajorMinor="4.0",e.version="4.0.3",function(e){e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan"}(e.Comparison||(e.Comparison={})),function(e){e.tryGetNativeMap=function(){return"undefined"!=typeof Map&&"entries"in Map.prototype&&1===new Map([[0,0]]).size?Map:void 0},e.tryGetNativeSet=function(){return"undefined"!=typeof Set&&"entries"in Set.prototype&&1===new Set([0]).size?Set:void 0}}(e.NativeCollections||(e.NativeCollections={}))}(p||(p={})),function(e){function n(n,r,a){var i,o=null!==(i=e.NativeCollections[r]())&&void 0!==i?i:null===e.ShimCollections||void 0===e.ShimCollections?void 0:e.ShimCollections[a](t);if(o)return o;throw new Error("TypeScript requires an environment that provides a compatible native "+n+" implementation.")}function t(n){if(n){if(C(n))return _(n);if(n instanceof e.Map)return n.entries();if(n instanceof e.Set)return n.values();throw new Error("Iteration not supported.")}}function r(e,n,t){if(void 0===t&&(t=P),e)for(var r=0,a=e;r<a.length;r++){if(t(a[r],n))return!0}return!1}function a(e,n){if(e){if(!n)return e.length>0;for(var t=0,r=e;t<r.length;t++){if(n(r[t]))return!0}}return!1}function i(e,n){return a(n)?a(e)?o(e,n):n:e}function s(e,n){return n}function c(e){return e.map(s)}function l(e,n){return void 0===n?e:void 0===e?[n]:(e.push(n),e)}function u(e,n){return n<0?e.length+n:n}function d(e,n,t,r){if(void 0===n||0===n.length)return e;if(void 0===e)return n.slice(t,r);t=void 0===t?0:u(n,t),r=void 0===r?n.length:u(n,r);for(var a=t;a<r&&a<n.length;a++)void 0!==n[a]&&e.push(n[a]);return e}function p(e,n,t){return!r(e,n,t)&&(e.push(n),!0)}function f(e,n,t){n.sort((function(n,r){return t(e[n],e[r])||w(n,r)}))}function m(e,n){return 0===e.length?e:e.slice().sort(n)}function _(e){var n=0;return{next:function(){return n===e.length?{value:void 0,done:!0}:(n++,{value:e[n-1],done:!1})}}}function g(e,n,t,r,a){return y(e,t(n),t,r,a)}function y(e,n,t,r,i){if(!a(e))return-1;for(var o=i||0,s=e.length-1;o<=s;){var c=o+(s-o>>1);switch(r(t(e[c]),n)){case-1:o=c+1;break;case 0:return c;case 1:s=c-1}}return~o}function h(e,n,t,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=t;o<=s;)c=n(c,e[o],o),o++;return c}}return t}e.Map=n("Map","tryGetNativeMap","createMapShim"),e.Set=n("Set","tryGetNativeSet","createSetShim"),e.getIterator=t,e.emptyArray=[],e.emptyMap=new e.Map,e.emptySet=new e.Set,e.createMap=function(){return new e.Map},e.createMapFromTemplate=function(n){var t=new e.Map;for(var r in n)v.call(n,r)&&t.set(r,n[r]);return t},e.length=function(e){return e?e.length:0},e.forEach=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(r)return r}},e.forEachRight=function(e,n){if(e)for(var t=e.length-1;t>=0;t--){var r=n(e[t],t);if(r)return r}},e.firstDefined=function(e,n){if(void 0!==e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(void 0!==r)return r}},e.firstDefinedIterator=function(e,n){for(;;){var t=e.next();if(t.done)return;var r=n(t.value);if(void 0!==r)return r}},e.reduceLeftIterator=function(e,n,t){var r=t;if(e)for(var a=e.next(),i=0;!a.done;a=e.next(),i++)r=n(r,a.value,i);return r},e.zipWith=function(n,t,r){var a=[];e.Debug.assertEqual(n.length,t.length);for(var i=0;i<n.length;i++)a.push(r(n[i],t[i],i));return a},e.zipToIterator=function(n,t){e.Debug.assertEqual(n.length,t.length);var r=0;return{next:function(){return r===n.length?{value:void 0,done:!0}:(r++,{value:[n[r-1],t[r-1]],done:!1})}}},e.zipToMap=function(n,t){e.Debug.assert(n.length===t.length);for(var r=new e.Map,a=0;a<n.length;++a)r.set(n[a],t[a]);return r},e.intersperse=function(e,n){if(e.length<=1)return e;for(var t=[],r=0,a=e.length;r<a;r++)r&&t.push(n),t.push(e[r]);return t},e.every=function(e,n){if(e)for(var t=0;t<e.length;t++)if(!n(e[t],t))return!1;return!0},e.find=function(e,n){for(var t=0;t<e.length;t++){var r=e[t];if(n(r,t))return r}},e.findLast=function(e,n){for(var t=e.length-1;t>=0;t--){var r=e[t];if(n(r,t))return r}},e.findIndex=function(e,n,t){for(var r=t||0;r<e.length;r++)if(n(e[r],r))return r;return-1},e.findLastIndex=function(e,n,t){for(var r=void 0===t?e.length-1:t;r>=0;r--)if(n(e[r],r))return r;return-1},e.findMap=function(n,t){for(var r=0;r<n.length;r++){var a=t(n[r],r);if(a)return a}return e.Debug.fail()},e.contains=r,e.arraysEqual=function(e,n,t){return void 0===t&&(t=P),e.length===n.length&&e.every((function(e,r){return t(e,n[r])}))},e.indexOfAnyCharCode=function(e,n,t){for(var a=t||0;a<e.length;a++)if(r(n,e.charCodeAt(a)))return a;return-1},e.countWhere=function(e,n){var t=0;if(e)for(var r=0;r<e.length;r++){n(e[r],r)&&t++}return t},e.filter=function(e,n){if(e){for(var t=e.length,r=0;r<t&&n(e[r]);)r++;if(r<t){var a=e.slice(0,r);for(r++;r<t;){var i=e[r];n(i)&&a.push(i),r++}return a}}return e},e.filterMutate=function(e,n){for(var t=0,r=0;r<e.length;r++)n(e[r],r,e)&&(e[t]=e[r],t++);e.length=t},e.clear=function(e){e.length=0},e.map=function(e,n){var t;if(e){t=[];for(var r=0;r<e.length;r++)t.push(n(e[r],r))}return t},e.mapIterator=function(e,n){return{next:function(){var t=e.next();return t.done?t:{value:n(t.value),done:!1}}}},e.sameMap=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=e[t],a=n(r,t);if(r!==a){var i=e.slice(0,t);for(i.push(a),t++;t<e.length;t++)i.push(n(e[t],t));return i}}return e},e.flatten=function(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t];a&&(C(a)?d(n,a):n.push(a))}return n},e.flatMap=function(n,t){var r;if(n)for(var a=0;a<n.length;a++){var i=t(n[a],a);i&&(r=C(i)?d(r,i):l(r,i))}return r||e.emptyArray},e.flatMapToMutable=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);a&&(C(a)?d(t,a):t.push(a))}return t},e.flatMapIterator=function(n,t){var r=n.next();if(r.done)return e.emptyIterator;var a=i(r.value);return{next:function(){for(;;){var e=a.next();if(!e.done)return e;var t=n.next();if(t.done)return t;a=i(t.value)}}};function i(n){var r=t(n);return void 0===r?e.emptyIterator:C(r)?_(r):r}},e.sameFlatMap=function(e,n){var t;if(e)for(var r=0;r<e.length;r++){var a=e[r],i=n(a,r);(t||a!==i||C(i))&&(t||(t=e.slice(0,r)),C(i)?d(t,i):t.push(i))}return t||e},e.mapAllOrFail=function(e,n){for(var t=[],r=0;r<e.length;r++){var a=n(e[r],r);if(void 0===a)return;t.push(a)}return t},e.mapDefined=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);void 0!==a&&t.push(a)}return t},e.mapDefinedIterator=function(e,n){return{next:function(){for(;;){var t=e.next();if(t.done)return t;var r=n(t.value);if(void 0!==r)return{value:r,done:!1}}}}},e.mapDefinedEntries=function(n,t){if(n){var r=new e.Map;return n.forEach((function(e,n){var a=t(n,e);if(void 0!==a){var i=a[0],o=a[1];void 0!==i&&void 0!==o&&r.set(i,o)}})),r}},e.mapDefinedValues=function(n,t){if(n){var r=new e.Set;return n.forEach((function(e){var n=t(e);void 0!==n&&r.add(n)})),r}},e.getOrUpdate=function(e,n,t){if(e.has(n))return e.get(n);var r=t();return e.set(n,r),r},e.tryAddToSet=function(e,n){return!e.has(n)&&(e.add(n),!0)},e.emptyIterator={next:function(){return{value:void 0,done:!0}}},e.singleIterator=function(e){var n=!1;return{next:function(){var t=n;return n=!0,t?{value:void 0,done:!0}:{value:e,done:!1}}}},e.spanMap=function(e,n,t){var r;if(e){r=[];for(var a=e.length,i=void 0,o=void 0,s=0,c=0;s<a;){for(;c<a;){if(o=n(e[c],c),0===c)i=o;else if(o!==i)break;c++}if(s<c){var l=t(e.slice(s,c),i,s,c);l&&r.push(l),s=c}i=o,c++}}return r},e.mapEntries=function(n,t){if(n){var r=new e.Map;return n.forEach((function(e,n){var a=t(n,e),i=a[0],o=a[1];r.set(i,o)})),r}},e.some=a,e.getRangesWhere=function(e,n,t){for(var r,a=0;a<e.length;a++)n(e[a])?r=void 0===r?a:r:void 0!==r&&(t(r,a),r=void 0);void 0!==r&&t(r,e.length)},e.concatenate=i,e.indicesOf=c,e.deduplicate=function(e,n,t){return 0===e.length?[]:1===e.length?e.slice():t?function(e,n,t){var r=c(e);f(e,r,t);for(var a=e[r[0]],i=[r[0]],o=1;o<r.length;o++){var s=r[o],l=e[s];n(a,l)||(i.push(s),a=l)}return i.sort(),i.map((function(n){return e[n]}))}(e,n,t):function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){p(t,a[r],n)}return t}(e,n)},e.insertSorted=function(e,n,t){if(0!==e.length){var r=g(e,n,N,t);r<0&&e.splice(~r,0,n)}else e.push(n)},e.sortAndDeduplicate=function(n,t,r){return function(n,t){if(0===n.length)return e.emptyArray;for(var r=n[0],a=[r],i=1;i<n.length;i++){var o=n[i];switch(t(o,r)){case!0:case 0:continue;case-1:return e.Debug.fail("Array is unsorted.")}a.push(r=o)}return a}(m(n,t),r||t||G)},e.arrayIsSorted=function(e,n){if(e.length<2)return!0;for(var t=e[0],r=0,a=e.slice(1);r<a.length;r++){var i=a[r];if(1===n(t,i))return!1;t=i}return!0},e.arrayIsEqualTo=function(e,n,t){if(void 0===t&&(t=P),!e||!n)return e===n;if(e.length!==n.length)return!1;for(var r=0;r<e.length;r++)if(!t(e[r],n[r],r))return!1;return!0},e.compact=function(e){var n;if(e)for(var t=0;t<e.length;t++){var r=e[t];!n&&r||(n||(n=e.slice(0,t)),r&&n.push(r))}return n||e},e.relativeComplement=function(n,t,r){if(!t||!n||0===t.length||0===n.length)return t;var a=[];e:for(var i=0,o=0;o<t.length;o++){o>0&&e.Debug.assertGreaterThanOrEqual(r(t[o],t[o-1]),0);n:for(var s=i;i<n.length;i++)switch(i>s&&e.Debug.assertGreaterThanOrEqual(r(n[i],n[i-1]),0),r(t[o],n[i])){case-1:a.push(t[o]);continue e;case 0:continue e;case 1:continue n}}return a},e.sum=function(e,n){for(var t=0,r=0,a=e;r<a.length;r++){t+=a[r][n]}return t},e.append=l,e.combine=function(e,n){return void 0===e?n:void 0===n?e:C(e)?C(n)?i(e,n):l(e,n):C(n)?l(n,e):[e,n]},e.addRange=d,e.pushIfUnique=p,e.appendIfUnique=function(e,n,t){return e?(p(e,n,t),e):[n]},e.sort=m,e.arrayIterator=_,e.arrayReverseIterator=function(e){var n=e.length;return{next:function(){return 0===n?{value:void 0,done:!0}:(n--,{value:e[n],done:!1})}}},e.stableSort=function(e,n){var t=c(e);return f(e,t,n),t.map((function(n){return e[n]}))},e.rangeEquals=function(e,n,t,r){for(;t<r;){if(e[t]!==n[t])return!1;t++}return!0},e.elementAt=function(e,n){if(e&&(n=u(e,n))<e.length)return e[n]},e.firstOrUndefined=function(e){return 0===e.length?void 0:e[0]},e.first=function(n){return e.Debug.assert(0!==n.length),n[0]},e.lastOrUndefined=function(e){return 0===e.length?void 0:e[e.length-1]},e.last=function(n){return e.Debug.assert(0!==n.length),n[n.length-1]},e.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},e.singleOrMany=function(e){return e&&1===e.length?e[0]:e},e.replaceElement=function(e,n,t){var r=e.slice(0);return r[n]=t,r},e.binarySearch=g,e.binarySearchKey=y,e.reduceLeft=h;var v=Object.prototype.hasOwnProperty;function b(e,n){return v.call(e,n)}function E(e){var n=[];for(var t in e)v.call(e,t)&&n.push(t);return n}e.hasProperty=b,e.getProperty=function(e,n){return v.call(e,n)?e[n]:void 0},e.getOwnKeys=E,e.getAllKeys=function(e){var n=[];do{for(var t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++){p(n,r[t])}}while(e=Object.getPrototypeOf(e));return n},e.getOwnValues=function(e){var n=[];for(var t in e)v.call(e,t)&&n.push(e[t]);return n};var T=Object.entries?Object.entries:function(e){for(var n=E(e),t=Array(n.length),r=0,a=n;r<a.length;r++){var i=a[r];t.push([i,e[i]])}return t};function S(e,n){for(var t=[],r=e.next();!r.done;r=e.next())t.push(n?n(r.value):r.value);return t}function L(e,n,t){void 0===t&&(t=N);for(var r=x(),a=0,i=e;a<i.length;a++){var o=i[a];r.add(n(o),t(o))}return r}function x(){var n=new e.Map;return n.add=A,n.remove=D,n}function A(e,n){var t=this.get(e);return t?t.push(n):this.set(e,t=[n]),t}function D(e,n){var t=this.get(e);t&&(q(t,n),t.length||this.delete(e))}function C(e){return Array.isArray?Array.isArray(e):e instanceof Array}function I(e){}function N(e){return e}function R(e){return e.toLowerCase()}e.getEntries=function(e){return e?T(e):[]},e.arrayOf=function(e,n){for(var t=new Array(e),r=0;r<e;r++)t[r]=n(r);return t},e.arrayFrom=S,e.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];for(var r=0,a=n;r<a.length;r++){var i=a[r];if(void 0!==i)for(var o in i)b(i,o)&&(e[o]=i[o])}return e},e.equalOwnProperties=function(e,n,t){if(void 0===t&&(t=P),e===n)return!0;if(!e||!n)return!1;for(var r in e)if(v.call(e,r)){if(!v.call(n,r))return!1;if(!t(e[r],n[r]))return!1}for(var r in n)if(v.call(n,r)&&!v.call(e,r))return!1;return!0},e.arrayToMap=function(n,t,r){void 0===r&&(r=N);for(var a=new e.Map,i=0,o=n;i<o.length;i++){var s=o[i],c=t(s);void 0!==c&&a.set(c,r(s))}return a},e.arrayToNumericMap=function(e,n,t){void 0===t&&(t=N);for(var r=[],a=0,i=e;a<i.length;a++){var o=i[a];r[n(o)]=t(o)}return r},e.arrayToMultiMap=L,e.group=function(e,n,t){return void 0===t&&(t=N),S(L(e,n).values(),t)},e.clone=function(e){var n={};for(var t in e)v.call(e,t)&&(n[t]=e[t]);return n},e.extend=function(e,n){var t={};for(var r in n)v.call(n,r)&&(t[r]=n[r]);for(var r in e)v.call(e,r)&&(t[r]=e[r]);return t},e.copyProperties=function(e,n){for(var t in n)v.call(n,t)&&(e[t]=n[t])},e.maybeBind=function(e,n){return n?n.bind(e):void 0},e.createMultiMap=x,e.createUnderscoreEscapedMultiMap=function(){return x()},e.isArray=C,e.toArray=function(e){return C(e)?e:[e]},e.isString=function(e){return"string"==typeof e},e.isNumber=function(e){return"number"==typeof e},e.tryCast=function(e,n){return void 0!==e&&n(e)?e:void 0},e.cast=function(n,t){return void 0!==n&&t(n)?n:e.Debug.fail("Invalid cast. The supplied value "+n+" did not pass the test '"+e.Debug.getFunctionName(t)+"'.")},e.noop=I,e.returnFalse=function(){return!1},e.returnTrue=function(){return!0},e.returnUndefined=function(){},e.identity=N,e.toLowerCase=R;var k=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function O(e){return k.test(e)?e.replace(k,R):e}function P(e,n){return e===n}function M(e,n){return e===n?0:void 0===e?-1:void 0===n?1:e<n?-1:1}function w(e,n){return M(e,n)}function F(e,n){return e===n?0:void 0===e?-1:void 0===n?1:(e=e.toUpperCase())<(n=n.toUpperCase())?-1:e>n?1:0}function G(e,n){return M(e,n)}e.toFileNameLowerCase=O,e.notImplemented=function(){throw new Error("Not implemented")},e.memoize=function(e){var n;return function(){return e&&(n=e(),e=void 0),n}},e.memoizeOne=function(n){var t=new e.Map;return function(e){var r=typeof e+":"+e,a=t.get(r);return void 0!==a||t.has(r)||(a=n(e),t.set(r,a)),a}},e.compose=function(e,n,t,r,a){if(a){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(e){return h(i,(function(e,n){return n(e)}),e)}}return r?function(a){return r(t(n(e(a))))}:t?function(r){return t(n(e(r)))}:n?function(t){return n(e(t))}:e?function(n){return e(n)}:function(e){return e}},function(e){e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive"}(e.AssertionLevel||(e.AssertionLevel={})),e.equateValues=P,e.equateStringsCaseInsensitive=function(e,n){return e===n||void 0!==e&&void 0!==n&&e.toUpperCase()===n.toUpperCase()},e.equateStringsCaseSensitive=function(e,n){return P(e,n)},e.compareValues=w,e.compareTextSpans=function(e,n){return w(null==e?void 0:e.start,null==n?void 0:n.start)||w(null==e?void 0:e.length,null==n?void 0:n.length)},e.min=function(e,n,t){return-1===t(e,n)?e:n},e.compareStringsCaseInsensitive=F,e.compareStringsCaseSensitive=G,e.getStringComparer=function(e){return e?F:G};var B,U,V=function(){var e,n,t=function(){if("object"==typeof Intl&&"function"==typeof Intl.Collator)return a;if("function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0)return i;return o}();return function(r){return void 0===r?e||(e=t(r)):"en-US"===r?n||(n=t(r)):t(r)};function r(e,n,t){if(e===n)return 0;if(void 0===e)return-1;if(void 0===n)return 1;var r=t(e,n);return r<0?-1:r>0?1:0}function a(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return r(e,t,n)}}function i(e){return void 0!==e?o():function(e,t){return r(e,t,n)};function n(e,n){return e.localeCompare(n)}}function o(){return function(n,t){return r(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return e<n?-1:e>n?1:0}}}();function j(e,n,t){for(var r=new Array(n.length+1),a=new Array(n.length+1),i=t+1,o=0;o<=n.length;o++)r[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),c=o>t?o-t:1,l=n.length>t+o?t+o:n.length;a[0]=o;for(var u=o,d=1;d<c;d++)a[d]=i;for(d=c;d<=l;d++){var p=s===n.charCodeAt(d-1)?r[d-1]:Math.min(r[d]+1,a[d-1]+1,r[d-1]+2);a[d]=p,u=Math.min(u,p)}for(d=l+1;d<=n.length;d++)a[d]=i;if(u>t)return;var f=r;r=a,a=f}var m=r[n.length];return m>t?void 0:m}function K(e,n){var t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function H(e,n){for(var t=n;t<e.length-1;t++)e[t]=e[t+1];e.pop()}function W(e,n){e[n]=e[e.length-1],e.pop()}function q(e,n){return function(e,n){for(var t=0;t<e.length;t++)if(n(e[t]))return W(e,t),!0;return!1}(e,(function(e){return e===n}))}function z(e,n){return 0===e.lastIndexOf(n,0)}function J(e,n){var t=e.prefix,r=e.suffix;return n.length>=t.length+r.length&&z(n,t)&&K(n,r)}e.getUILocale=function(){return U},e.setUILocale=function(e){U!==e&&(U=e,B=void 0)},e.compareStringsCaseSensitiveUI=function(e,n){return(B||(B=V(U)))(e,n)},e.compareProperties=function(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])},e.compareBooleans=function(e,n){return w(e?1:0,n?1:0)},e.getSpellingSuggestion=function(n,t,r){for(var a,i=Math.min(2,Math.floor(.34*n.length)),o=Math.floor(.4*n.length)+1,s=!1,c=n.toLowerCase(),l=0,u=t;l<u.length;l++){var d=u[l],p=r(d);if(void 0!==p&&Math.abs(p.length-c.length)<=i){var f=p.toLowerCase();if(f===c){if(p===n)continue;return d}if(s)continue;if(p.length<3)continue;var m=j(c,f,o-1);if(void 0===m)continue;m<3?(s=!0,a=d):(e.Debug.assert(m<o),o=m,a=d)}}return a},e.endsWith=K,e.removeSuffix=function(e,n){return K(e,n)?e.slice(0,e.length-n.length):e},e.tryRemoveSuffix=function(e,n){return K(e,n)?e.slice(0,e.length-n.length):void 0},e.stringContains=function(e,n){return-1!==e.indexOf(n)},e.removeMinAndVersionNumbers=function(e){var n=/[.-]((min)|(\d+(\.\d+)*))$/;return e.replace(n,"").replace(n,"")},e.orderedRemoveItem=function(e,n){for(var t=0;t<e.length;t++)if(e[t]===n)return H(e,t),!0;return!1},e.orderedRemoveItemAt=H,e.unorderedRemoveItemAt=W,e.unorderedRemoveItem=q,e.createGetCanonicalFileName=function(e){return e?N:O},e.patternText=function(e){return e.prefix+"*"+e.suffix},e.matchedText=function(n,t){return e.Debug.assert(J(n,t)),t.substring(n.prefix.length,t.length-n.suffix.length)},e.findBestPatternMatch=function(e,n,t){for(var r,a=-1,i=0,o=e;i<o.length;i++){var s=o[i],c=n(s);J(c,t)&&c.prefix.length>a&&(a=c.prefix.length,r=s)}return r},e.startsWith=z,e.removePrefix=function(e,n){return z(e,n)?e.substr(n.length):e},e.tryRemovePrefix=function(e,n,t){return void 0===t&&(t=N),z(t(e),t(n))?e.substring(n.length):void 0},e.and=function(e,n){return function(t){return e(t)&&n(t)}},e.or=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r=0,a=e;r<a.length;r++){var i=a[r];if(i.apply(void 0,n))return!0}return!1}},e.not=function(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return!e.apply(void 0,n)}},e.assertType=function(e){},e.singleElementArray=function(e){return void 0===e?void 0:[e]},e.enumerateInsertsAndDeletes=function(e,n,t,r,a,i){i=i||I;for(var o=0,s=0,c=e.length,l=n.length,u=!1;o<c&&s<l;){var d=e[o],p=n[s],f=t(d,p);-1===f?(r(d),o++,u=!0):1===f?(a(p),s++,u=!0):(i(p,d),o++,s++)}for(;o<c;)r(e[o++]),u=!0;for(;s<l;)a(n[s++]),u=!0;return u},e.fill=function(e,n){for(var t=Array(e),r=0;r<e;r++)t[r]=n(r);return t},e.cartesianProduct=function(e){var n=[];return function e(n,t,r,a){for(var i=0,o=n[a];i<o.length;i++){var s=o[i],c=void 0;r?(c=r.slice()).push(s):c=[s],a===n.length-1?t.push(c):e(n,t,c,a+1)}}(e,n,void 0,0),n},e.padLeft=function(e,n){for(;e.length<n;)e=" "+e;return e},e.padRight=function(e,n){for(;e.length<n;)e+=" ";return e}}(p||(p={})),function(e){var n;!function(e){e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose"}(n=e.LogLevel||(e.LogLevel={})),function(t){var r,a,i=0;function o(){return null!=r?r:r=new e.Version(e.version)}function s(e){return t.currentLogLevel<=e}function c(e,n){t.loggingHost&&s(e)&&t.loggingHost.log(e,n)}function l(e){c(n.Info,e)}t.currentLogLevel=n.Warning,t.isDebugging=!1,t.getTypeScriptVersion=o,t.shouldLog=s,t.log=l,(a=l=t.log||(t.log={})).error=function(e){c(n.Error,e)},a.warn=function(e){c(n.Warning,e)},a.log=function(e){c(n.Info,e)},a.trace=function(e){c(n.Verbose,e)};var u={};function d(e){return i>=e}function p(n,r){return!!d(n)||(u[r]={level:n,assertion:t[r]},t[r]=e.noop,!1)}function f(e,n){var t=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||f),t}function m(e,n,t,r){e||(n=n?"False expression: "+n:"False expression.",t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),f(n,r||m))}function _(e,n,t){null==e&&f(n,t||_)}function g(e,n,t){return _(e,n,t||g),e}function y(e,n,t){for(var r=0,a=e;r<a.length;r++){_(a[r],n,t||y)}}function h(e,n,t){return y(e,n,t||h),e}function v(e){if("function"!=typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var n=Function.prototype.toString.call(e),t=/^function\s+([\w\$]+)\s*\(/.exec(n);return t?t[1]:""}function b(n,t,r){void 0===n&&(n=0);var a=function(n){var t=[];for(var r in n){var a=n[r];"number"==typeof a&&t.push([a,r])}return e.stableSort(t,(function(n,t){return e.compareValues(n[0],t[0])}))}(t);if(0===n)return a.length>0&&0===a[0][0]?a[0][1]:"0";if(r){for(var i="",o=n,s=0,c=a;s<c.length;s++){var l=c[s],u=l[0],d=l[1];if(u>n)break;0!==u&&u&n&&(i=i+(i?"|":"")+d,o&=~u)}if(0===o)return i}else for(var p=0,f=a;p<f.length;p++){var m=f[p];u=m[0],d=m[1];if(u===n)return d}return n.toString()}function E(n){return b(n,e.SyntaxKind,!1)}function T(n){return b(n,e.NodeFlags,!0)}function S(n){return b(n,e.ModifierFlags,!0)}function L(n){return b(n,e.TransformFlags,!0)}function x(n){return b(n,e.EmitFlags,!0)}function A(n){return b(n,e.SymbolFlags,!0)}function D(n){return b(n,e.TypeFlags,!0)}function C(n){return b(n,e.ObjectFlags,!0)}t.getAssertionLevel=function(){return i},t.setAssertionLevel=function(n){var r=i;if(i=n,n>r)for(var a=0,o=e.getOwnKeys(u);a<o.length;a++){var s=o[a],c=u[s];void 0!==c&&t[s]!==c.assertion&&n>=c.level&&(t[s]=c,u[s]=void 0)}},t.shouldAssert=d,t.fail=f,t.failBadSyntaxKind=function e(n,t,r){return f((t||"Unexpected node.")+"\r\nNode "+E(n.kind)+" was unexpected.",r||e)},t.assert=m,t.assertEqual=function e(n,t,r,a,i){n!==t&&f("Expected "+n+" === "+t+". "+(r?a?r+" "+a:r:""),i||e)},t.assertLessThan=function e(n,t,r,a){n>=t&&f("Expected "+n+" < "+t+". "+(r||""),a||e)},t.assertLessThanOrEqual=function e(n,t,r){n>t&&f("Expected "+n+" <= "+t,r||e)},t.assertGreaterThanOrEqual=function e(n,t,r){n<t&&f("Expected "+n+" >= "+t,r||e)},t.assertIsDefined=_,t.checkDefined=g,t.assertDefined=g,t.assertEachIsDefined=y,t.checkEachDefined=h,t.assertEachDefined=h,t.assertNever=function n(t,r,a){return void 0===r&&(r="Illegal value:"),f(r+" "+("object"==typeof t&&e.hasProperty(t,"kind")&&e.hasProperty(t,"pos")&&E?"SyntaxKind: "+E(t.kind):JSON.stringify(t)),a||n)},t.assertEachNode=function n(t,r,a,i){p(1,"assertEachNode")&&m(void 0===r||e.every(t,r),a||"Unexpected node.",(function(){return"Node array did not pass test '"+v(r)+"'."}),i||n)},t.assertNode=function e(n,t,r,a){p(1,"assertNode")&&m(void 0!==n&&(void 0===t||t(n)),r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" did not pass test '"+v(t)+"'."}),a||e)},t.assertNotNode=function e(n,t,r,a){p(1,"assertNotNode")&&m(void 0===n||void 0===t||!t(n),r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" should not have passed test '"+v(t)+"'."}),a||e)},t.assertOptionalNode=function e(n,t,r,a){p(1,"assertOptionalNode")&&m(void 0===t||void 0===n||t(n),r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" did not pass test '"+v(t)+"'."}),a||e)},t.assertOptionalToken=function e(n,t,r,a){p(1,"assertOptionalToken")&&m(void 0===t||void 0===n||n.kind===t,r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" was not a '"+E(t)+"' token."}),a||e)},t.assertMissingNode=function e(n,t,r){p(1,"assertMissingNode")&&m(void 0===n,t||"Unexpected node.",(function(){return"Node "+E(n.kind)+" was unexpected'."}),r||e)},t.getFunctionName=v,t.formatSymbol=function(n){return"{ name: "+e.unescapeLeadingUnderscores(n.escapedName)+"; flags: "+A(n.flags)+"; declarations: "+e.map(n.declarations,(function(e){return E(e.kind)}))+" }"},t.formatEnum=b,t.formatSyntaxKind=E,t.formatNodeFlags=T,t.formatModifierFlags=S,t.formatTransformFlags=L,t.formatEmitFlags=x,t.formatSymbolFlags=A,t.formatTypeFlags=D,t.formatObjectFlags=C;var I,N=!1;function R(e){return function(){if(k(),!I)throw new Error("Debugging helpers could not be loaded.");return I}().formatControlFlowGraph(e)}function k(){if(!N){Object.defineProperties(e.objectAllocator.getSymbolConstructor().prototype,{__debugFlags:{get:function(){return A(this.flags)}}}),Object.defineProperties(e.objectAllocator.getTypeConstructor().prototype,{__debugFlags:{get:function(){return D(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?C(this.objectFlags):""}},__debugTypeToString:{value:function(){return this.checker.typeToString(this)}}});for(var n=0,t=[e.objectAllocator.getNodeConstructor(),e.objectAllocator.getIdentifierConstructor(),e.objectAllocator.getTokenConstructor(),e.objectAllocator.getSourceFileConstructor()];n<t.length;n++){var r=t[n];r.prototype.hasOwnProperty("__debugKind")||Object.defineProperties(r.prototype,{__debugKind:{get:function(){return E(this.kind)}},__debugNodeFlags:{get:function(){return T(this.flags)}},__debugModifierFlags:{get:function(){return S(e.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return L(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return e.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return x(e.getEmitFlags(this))}},__debugGetText:{value:function(n){if(e.nodeIsSynthesized(this))return"";var t=e.getParseTreeNode(this),r=t&&e.getSourceFileOfNode(t);return r?e.getSourceTextOfNodeFromSourceFile(r,t,n):""}}})}try{if(e.sys&&e.sys.require){e.getDirectoryPath(e.resolvePath(e.sys.getExecutingFilePath()));var a=void 0;a.error||(a.module.init(e),I=a.module)}}catch(e){}N=!0}}function O(n,t,r,a,i){var o=t?"DeprecationError: ":"DeprecationWarning: ";return o+="'"+n+"' ",o+=a?"has been deprecated since v"+a:"is deprecated",o+=t?" and can no longer be used.":r?" and will no longer be usable after v"+r+".":".",o+=i?" "+e.formatStringFromArgs(i,[n],0):""}function P(n,t){var r,a;void 0===t&&(t={});var i="string"==typeof t.typeScriptVersion?new e.Version(t.typeScriptVersion):null!==(r=t.typeScriptVersion)&&void 0!==r?r:o(),s="string"==typeof t.errorAfter?new e.Version(t.errorAfter):t.errorAfter,c="string"==typeof t.warnAfter?new e.Version(t.warnAfter):t.warnAfter,u="string"==typeof t.since?new e.Version(t.since):null!==(a=t.since)&&void 0!==a?a:c,d=t.error||s&&i.compareTo(s)<=0,p=!c||i.compareTo(c)>=0;return d?function(e,n,t,r){var a=O(e,!0,n,t,r);return function(){throw new TypeError(a)}}(n,s,u,t.message):p?function(e,n,t,r){var a=!1;return function(){a||(l.warn(O(e,!1,n,t,r)),a=!0)}}(n,s,u,t.message):e.noop}t.printControlFlowGraph=function(e){return console.log(R(e))},t.formatControlFlowGraph=R,t.attachFlowNodeDebugInfo=function(n){N&&("__debugFlowFlags"in n||Object.defineProperties(n,{__debugFlowFlags:{get:function(){return b(this.flags,e.FlowFlags,!0)}},__debugToString:{value:function(){return R(this)}}}))},t.enableDebugInfo=k,t.deprecate=function(e,n){return function(e,n){return function(){return e(),n.apply(this,arguments)}}(P(v(e),n),e)}}(e.Debug||(e.Debug={}))}(p||(p={})),function(e){e.timestamp="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:Date.now?Date.now:function(){return+new Date}}(p||(p={})),function(e){!function(n){var t,r,a,i="function"==typeof onProfilerEvent&&!0===onProfilerEvent.profiler?onProfilerEvent:function(){},o=!1,s=0;function c(n,t,r){var a=0;return{enter:function(){1==++a&&l(t)},exit:function(){0==--a?(l(r),u(n,t,r)):a<0&&e.Debug.fail("enter/exit count does not match.")}}}function l(n){o&&(r.set(n,e.timestamp()),t.set(n,(t.get(n)||0)+1),i(n))}function u(n,t,i){if(o){var c=i&&r.get(i)||e.timestamp(),l=t&&r.get(t)||s;a.set(n,(a.get(n)||0)+(c-l))}}n.createTimerIf=function(e,t,r,a){return e?c(t,r,a):n.nullTimer},n.createTimer=c,n.nullTimer={enter:e.noop,exit:e.noop},n.mark=l,n.measure=u,n.getCount=function(e){return t&&t.get(e)||0},n.getDuration=function(e){return a&&a.get(e)||0},n.forEachMeasure=function(e){a.forEach((function(n,t){e(t,n)}))},n.enable=function(){t=new e.Map,r=new e.Map,a=new e.Map,o=!0,s=e.timestamp()},n.disable=function(){o=!1}}(e.performance||(e.performance={}))}(p||(p={})),function(n){var t,r,a={logEvent:n.noop,logErrEvent:n.noop,logPerfEvent:n.noop,logInfoEvent:n.noop,logStartCommand:n.noop,logStopCommand:n.noop,logStartUpdateProgram:n.noop,logStopUpdateProgram:n.noop,logStartUpdateGraph:n.noop,logStopUpdateGraph:n.noop,logStartResolveModule:n.noop,logStopResolveModule:n.noop,logStartParseSourceFile:n.noop,logStopParseSourceFile:n.noop,logStartReadFile:n.noop,logStopReadFile:n.noop,logStartBindFile:n.noop,logStopBindFile:n.noop,logStartScheduledOperation:n.noop,logStopScheduledOperation:n.noop};try{t=e.env.TS_ETW_MODULE_PATH;r=void 0}catch(e){r=void 0}n.perfLogger=r&&r.logEvent?r:a}(p||(p={})),function(e){var n=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,t=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,r=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,a=/^(0|[1-9]\d*)$/,i=function(){function n(n,a,i,s,c){if(void 0===a&&(a=0),void 0===i&&(i=0),void 0===s&&(s=""),void 0===c&&(c=""),"string"==typeof n){var l=e.Debug.checkDefined(o(n),"Invalid version");n=l.major,a=l.minor,i=l.patch,s=l.prerelease,c=l.build}e.Debug.assert(n>=0,"Invalid argument: major"),e.Debug.assert(a>=0,"Invalid argument: minor"),e.Debug.assert(i>=0,"Invalid argument: patch"),e.Debug.assert(!s||t.test(s),"Invalid argument: prerelease"),e.Debug.assert(!c||r.test(c),"Invalid argument: build"),this.major=n,this.minor=a,this.patch=i,this.prerelease=s?s.split("."):e.emptyArray,this.build=c?c.split("."):e.emptyArray}return n.tryParse=function(e){var t=o(e);if(t)return new n(t.major,t.minor,t.patch,t.prerelease,t.build)},n.prototype.compareTo=function(n){return this===n?0:void 0===n?1:e.compareValues(this.major,n.major)||e.compareValues(this.minor,n.minor)||e.compareValues(this.patch,n.patch)||function(n,t){if(n===t)return 0;if(0===n.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var r=Math.min(n.length,t.length),i=0;i<r;i++){var o=n[i],s=t[i];if(o!==s){var c=a.test(o),l=a.test(s);if(c||l){if(c!==l)return c?-1:1;if(u=e.compareValues(+o,+s))return u}else{var u;if(u=e.compareStringsCaseSensitive(o,s))return u}}}return e.compareValues(n.length,t.length)}(this.prerelease,n.prerelease)},n.prototype.increment=function(t){switch(t){case"major":return new n(this.major+1,0,0);case"minor":return new n(this.major,this.minor+1,0);case"patch":return new n(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(t)}},n.prototype.toString=function(){var n=this.major+"."+this.minor+"."+this.patch;return e.some(this.prerelease)&&(n+="-"+this.prerelease.join(".")),e.some(this.build)&&(n+="+"+this.build.join(".")),n},n.zero=new n(0,0,0),n}();function o(e){var a=n.exec(e);if(a){var i=a[1],o=a[2],s=void 0===o?"0":o,c=a[3],l=void 0===c?"0":c,u=a[4],d=void 0===u?"":u,p=a[5],f=void 0===p?"":p;if((!d||t.test(d))&&(!f||r.test(f)))return{major:parseInt(i,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:d,build:f}}}e.Version=i;var s=function(){function n(n){this._alternatives=n?e.Debug.checkDefined(f(n),"Invalid range spec."):e.emptyArray}return n.tryParse=function(e){var t=f(e);if(t){var r=new n("");return r._alternatives=t,r}},n.prototype.test=function(e){return"string"==typeof e&&(e=new i(e)),function(e,n){if(0===n.length)return!0;for(var t=0,r=n;t<r.length;t++){var a=r[t];if(v(e,a))return!0}return!1}(e,this._alternatives)},n.prototype.toString=function(){return n=this._alternatives,e.map(n,E).join(" || ")||"*";var n},n}();e.VersionRange=s;var c=/\s*\|\|\s*/g,l=/\s+/g,u=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,d=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,p=/^\s*(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function f(e){for(var n=[],t=0,r=e.trim().split(c);t<r.length;t++){var a=r[t];if(a){var i=[],o=d.exec(a);if(o){if(!_(o[1],o[2],i))return}else for(var s=0,u=a.split(l);s<u.length;s++){var f=u[s],m=p.exec(f);if(!m||!g(m[1],m[2],i))return}n.push(i)}}return n}function m(e){var n=u.exec(e);if(n){var t=n[1],r=n[2],a=void 0===r?"*":r,o=n[3],s=void 0===o?"*":o,c=n[4],l=n[5];return{version:new i(y(t)?0:parseInt(t,10),y(t)||y(a)?0:parseInt(a,10),y(t)||y(a)||y(s)?0:parseInt(s,10),c,l),major:t,minor:a,patch:s}}}function _(e,n,t){var r=m(e);if(!r)return!1;var a=m(n);return!!a&&(y(r.major)||t.push(h(">=",r.version)),y(a.major)||t.push(y(a.minor)?h("<",a.version.increment("major")):y(a.patch)?h("<",a.version.increment("minor")):h("<=",a.version)),!0)}function g(e,n,t){var r=m(n);if(!r)return!1;var a=r.version,o=r.major,s=r.minor,c=r.patch;if(y(o))"<"!==e&&">"!==e||t.push(h("<",i.zero));else switch(e){case"~":t.push(h(">=",a)),t.push(h("<",a.increment(y(s)?"major":"minor")));break;case"^":t.push(h(">=",a)),t.push(h("<",a.increment(a.major>0||y(s)?"major":a.minor>0||y(c)?"minor":"patch")));break;case"<":case">=":t.push(h(e,a));break;case"<=":case">":t.push(y(s)?h("<="===e?"<":">=",a.increment("major")):y(c)?h("<="===e?"<":">=",a.increment("minor")):h(e,a));break;case"=":case void 0:y(s)||y(c)?(t.push(h(">=",a)),t.push(h("<",a.increment(y(s)?"major":"minor")))):t.push(h("=",a));break;default:return!1}return!0}function y(e){return"*"===e||"x"===e||"X"===e}function h(e,n){return{operator:e,operand:n}}function v(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!b(e,a.operator,a.operand))return!1}return!0}function b(n,t,r){var a=n.compareTo(r);switch(t){case"<":return a<0;case"<=":return a<=0;case">":return a>0;case">=":return a>=0;case"=":return 0===a;default:return e.Debug.assertNever(t)}}function E(n){return e.map(n,T).join(" ")}function T(e){return""+e.operator+e.operand}}(p||(p={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.EqualsToken=62]="EqualsToken",e[e.PlusEqualsToken=63]="PlusEqualsToken",e[e.MinusEqualsToken=64]="MinusEqualsToken",e[e.AsteriskEqualsToken=65]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=66]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=67]="SlashEqualsToken",e[e.PercentEqualsToken=68]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=69]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=70]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=72]="AmpersandEqualsToken",e[e.BarEqualsToken=73]="BarEqualsToken",e[e.BarBarEqualsToken=74]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=75]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=76]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=77]="CaretEqualsToken",e[e.Identifier=78]="Identifier",e[e.PrivateIdentifier=79]="PrivateIdentifier",e[e.BreakKeyword=80]="BreakKeyword",e[e.CaseKeyword=81]="CaseKeyword",e[e.CatchKeyword=82]="CatchKeyword",e[e.ClassKeyword=83]="ClassKeyword",e[e.ConstKeyword=84]="ConstKeyword",e[e.ContinueKeyword=85]="ContinueKeyword",e[e.DebuggerKeyword=86]="DebuggerKeyword",e[e.DefaultKeyword=87]="DefaultKeyword",e[e.DeleteKeyword=88]="DeleteKeyword",e[e.DoKeyword=89]="DoKeyword",e[e.ElseKeyword=90]="ElseKeyword",e[e.EnumKeyword=91]="EnumKeyword",e[e.ExportKeyword=92]="ExportKeyword",e[e.ExtendsKeyword=93]="ExtendsKeyword",e[e.FalseKeyword=94]="FalseKeyword",e[e.FinallyKeyword=95]="FinallyKeyword",e[e.ForKeyword=96]="ForKeyword",e[e.FunctionKeyword=97]="FunctionKeyword",e[e.IfKeyword=98]="IfKeyword",e[e.ImportKeyword=99]="ImportKeyword",e[e.InKeyword=100]="InKeyword",e[e.InstanceOfKeyword=101]="InstanceOfKeyword",e[e.NewKeyword=102]="NewKeyword",e[e.NullKeyword=103]="NullKeyword",e[e.ReturnKeyword=104]="ReturnKeyword",e[e.SuperKeyword=105]="SuperKeyword",e[e.SwitchKeyword=106]="SwitchKeyword",e[e.ThisKeyword=107]="ThisKeyword",e[e.ThrowKeyword=108]="ThrowKeyword",e[e.TrueKeyword=109]="TrueKeyword",e[e.TryKeyword=110]="TryKeyword",e[e.TypeOfKeyword=111]="TypeOfKeyword",e[e.VarKeyword=112]="VarKeyword",e[e.VoidKeyword=113]="VoidKeyword",e[e.WhileKeyword=114]="WhileKeyword",e[e.WithKeyword=115]="WithKeyword",e[e.ImplementsKeyword=116]="ImplementsKeyword",e[e.InterfaceKeyword=117]="InterfaceKeyword",e[e.LetKeyword=118]="LetKeyword",e[e.PackageKeyword=119]="PackageKeyword",e[e.PrivateKeyword=120]="PrivateKeyword",e[e.ProtectedKeyword=121]="ProtectedKeyword",e[e.PublicKeyword=122]="PublicKeyword",e[e.StaticKeyword=123]="StaticKeyword",e[e.YieldKeyword=124]="YieldKeyword",e[e.AbstractKeyword=125]="AbstractKeyword",e[e.AsKeyword=126]="AsKeyword",e[e.AssertsKeyword=127]="AssertsKeyword",e[e.AnyKeyword=128]="AnyKeyword",e[e.AsyncKeyword=129]="AsyncKeyword",e[e.AwaitKeyword=130]="AwaitKeyword",e[e.BooleanKeyword=131]="BooleanKeyword",e[e.ConstructorKeyword=132]="ConstructorKeyword",e[e.DeclareKeyword=133]="DeclareKeyword",e[e.GetKeyword=134]="GetKeyword",e[e.InferKeyword=135]="InferKeyword",e[e.IsKeyword=136]="IsKeyword",e[e.KeyOfKeyword=137]="KeyOfKeyword",e[e.ModuleKeyword=138]="ModuleKeyword",e[e.NamespaceKeyword=139]="NamespaceKeyword",e[e.NeverKeyword=140]="NeverKeyword",e[e.ReadonlyKeyword=141]="ReadonlyKeyword",e[e.RequireKeyword=142]="RequireKeyword",e[e.NumberKeyword=143]="NumberKeyword",e[e.ObjectKeyword=144]="ObjectKeyword",e[e.SetKeyword=145]="SetKeyword",e[e.StringKeyword=146]="StringKeyword",e[e.SymbolKeyword=147]="SymbolKeyword",e[e.TypeKeyword=148]="TypeKeyword",e[e.UndefinedKeyword=149]="UndefinedKeyword",e[e.UniqueKeyword=150]="UniqueKeyword",e[e.UnknownKeyword=151]="UnknownKeyword",e[e.FromKeyword=152]="FromKeyword",e[e.GlobalKeyword=153]="GlobalKeyword",e[e.BigIntKeyword=154]="BigIntKeyword",e[e.OfKeyword=155]="OfKeyword",e[e.QualifiedName=156]="QualifiedName",e[e.ComputedPropertyName=157]="ComputedPropertyName",e[e.TypeParameter=158]="TypeParameter",e[e.Parameter=159]="Parameter",e[e.Decorator=160]="Decorator",e[e.PropertySignature=161]="PropertySignature",e[e.PropertyDeclaration=162]="PropertyDeclaration",e[e.MethodSignature=163]="MethodSignature",e[e.MethodDeclaration=164]="MethodDeclaration",e[e.Constructor=165]="Constructor",e[e.GetAccessor=166]="GetAccessor",e[e.SetAccessor=167]="SetAccessor",e[e.CallSignature=168]="CallSignature",e[e.ConstructSignature=169]="ConstructSignature",e[e.IndexSignature=170]="IndexSignature",e[e.TypePredicate=171]="TypePredicate",e[e.TypeReference=172]="TypeReference",e[e.FunctionType=173]="FunctionType",e[e.ConstructorType=174]="ConstructorType",e[e.TypeQuery=175]="TypeQuery",e[e.TypeLiteral=176]="TypeLiteral",e[e.ArrayType=177]="ArrayType",e[e.TupleType=178]="TupleType",e[e.OptionalType=179]="OptionalType",e[e.RestType=180]="RestType",e[e.UnionType=181]="UnionType",e[e.IntersectionType=182]="IntersectionType",e[e.ConditionalType=183]="ConditionalType",e[e.InferType=184]="InferType",e[e.ParenthesizedType=185]="ParenthesizedType",e[e.ThisType=186]="ThisType",e[e.TypeOperator=187]="TypeOperator",e[e.IndexedAccessType=188]="IndexedAccessType",e[e.MappedType=189]="MappedType",e[e.LiteralType=190]="LiteralType",e[e.NamedTupleMember=191]="NamedTupleMember",e[e.ImportType=192]="ImportType",e[e.ObjectBindingPattern=193]="ObjectBindingPattern",e[e.ArrayBindingPattern=194]="ArrayBindingPattern",e[e.BindingElement=195]="BindingElement",e[e.ArrayLiteralExpression=196]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=197]="ObjectLiteralExpression",e[e.PropertyAccessExpression=198]="PropertyAccessExpression",e[e.ElementAccessExpression=199]="ElementAccessExpression",e[e.CallExpression=200]="CallExpression",e[e.NewExpression=201]="NewExpression",e[e.TaggedTemplateExpression=202]="TaggedTemplateExpression",e[e.TypeAssertionExpression=203]="TypeAssertionExpression",e[e.ParenthesizedExpression=204]="ParenthesizedExpression",e[e.FunctionExpression=205]="FunctionExpression",e[e.ArrowFunction=206]="ArrowFunction",e[e.DeleteExpression=207]="DeleteExpression",e[e.TypeOfExpression=208]="TypeOfExpression",e[e.VoidExpression=209]="VoidExpression",e[e.AwaitExpression=210]="AwaitExpression",e[e.PrefixUnaryExpression=211]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=212]="PostfixUnaryExpression",e[e.BinaryExpression=213]="BinaryExpression",e[e.ConditionalExpression=214]="ConditionalExpression",e[e.TemplateExpression=215]="TemplateExpression",e[e.YieldExpression=216]="YieldExpression",e[e.SpreadElement=217]="SpreadElement",e[e.ClassExpression=218]="ClassExpression",e[e.OmittedExpression=219]="OmittedExpression",e[e.ExpressionWithTypeArguments=220]="ExpressionWithTypeArguments",e[e.AsExpression=221]="AsExpression",e[e.NonNullExpression=222]="NonNullExpression",e[e.MetaProperty=223]="MetaProperty",e[e.SyntheticExpression=224]="SyntheticExpression",e[e.TemplateSpan=225]="TemplateSpan",e[e.SemicolonClassElement=226]="SemicolonClassElement",e[e.Block=227]="Block",e[e.EmptyStatement=228]="EmptyStatement",e[e.VariableStatement=229]="VariableStatement",e[e.ExpressionStatement=230]="ExpressionStatement",e[e.IfStatement=231]="IfStatement",e[e.DoStatement=232]="DoStatement",e[e.WhileStatement=233]="WhileStatement",e[e.ForStatement=234]="ForStatement",e[e.ForInStatement=235]="ForInStatement",e[e.ForOfStatement=236]="ForOfStatement",e[e.ContinueStatement=237]="ContinueStatement",e[e.BreakStatement=238]="BreakStatement",e[e.ReturnStatement=239]="ReturnStatement",e[e.WithStatement=240]="WithStatement",e[e.SwitchStatement=241]="SwitchStatement",e[e.LabeledStatement=242]="LabeledStatement",e[e.ThrowStatement=243]="ThrowStatement",e[e.TryStatement=244]="TryStatement",e[e.DebuggerStatement=245]="DebuggerStatement",e[e.VariableDeclaration=246]="VariableDeclaration",e[e.VariableDeclarationList=247]="VariableDeclarationList",e[e.FunctionDeclaration=248]="FunctionDeclaration",e[e.ClassDeclaration=249]="ClassDeclaration",e[e.InterfaceDeclaration=250]="InterfaceDeclaration",e[e.TypeAliasDeclaration=251]="TypeAliasDeclaration",e[e.EnumDeclaration=252]="EnumDeclaration",e[e.ModuleDeclaration=253]="ModuleDeclaration",e[e.ModuleBlock=254]="ModuleBlock",e[e.CaseBlock=255]="CaseBlock",e[e.NamespaceExportDeclaration=256]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=257]="ImportEqualsDeclaration",e[e.ImportDeclaration=258]="ImportDeclaration",e[e.ImportClause=259]="ImportClause",e[e.NamespaceImport=260]="NamespaceImport",e[e.NamedImports=261]="NamedImports",e[e.ImportSpecifier=262]="ImportSpecifier",e[e.ExportAssignment=263]="ExportAssignment",e[e.ExportDeclaration=264]="ExportDeclaration",e[e.NamedExports=265]="NamedExports",e[e.NamespaceExport=266]="NamespaceExport",e[e.ExportSpecifier=267]="ExportSpecifier",e[e.MissingDeclaration=268]="MissingDeclaration",e[e.ExternalModuleReference=269]="ExternalModuleReference",e[e.JsxElement=270]="JsxElement",e[e.JsxSelfClosingElement=271]="JsxSelfClosingElement",e[e.JsxOpeningElement=272]="JsxOpeningElement",e[e.JsxClosingElement=273]="JsxClosingElement",e[e.JsxFragment=274]="JsxFragment",e[e.JsxOpeningFragment=275]="JsxOpeningFragment",e[e.JsxClosingFragment=276]="JsxClosingFragment",e[e.JsxAttribute=277]="JsxAttribute",e[e.JsxAttributes=278]="JsxAttributes",e[e.JsxSpreadAttribute=279]="JsxSpreadAttribute",e[e.JsxExpression=280]="JsxExpression",e[e.CaseClause=281]="CaseClause",e[e.DefaultClause=282]="DefaultClause",e[e.HeritageClause=283]="HeritageClause",e[e.CatchClause=284]="CatchClause",e[e.PropertyAssignment=285]="PropertyAssignment",e[e.ShorthandPropertyAssignment=286]="ShorthandPropertyAssignment",e[e.SpreadAssignment=287]="SpreadAssignment",e[e.EnumMember=288]="EnumMember",e[e.UnparsedPrologue=289]="UnparsedPrologue",e[e.UnparsedPrepend=290]="UnparsedPrepend",e[e.UnparsedText=291]="UnparsedText",e[e.UnparsedInternalText=292]="UnparsedInternalText",e[e.UnparsedSyntheticReference=293]="UnparsedSyntheticReference",e[e.SourceFile=294]="SourceFile",e[e.Bundle=295]="Bundle",e[e.UnparsedSource=296]="UnparsedSource",e[e.InputFiles=297]="InputFiles",e[e.JSDocTypeExpression=298]="JSDocTypeExpression",e[e.JSDocAllType=299]="JSDocAllType",e[e.JSDocUnknownType=300]="JSDocUnknownType",e[e.JSDocNullableType=301]="JSDocNullableType",e[e.JSDocNonNullableType=302]="JSDocNonNullableType",e[e.JSDocOptionalType=303]="JSDocOptionalType",e[e.JSDocFunctionType=304]="JSDocFunctionType",e[e.JSDocVariadicType=305]="JSDocVariadicType",e[e.JSDocNamepathType=306]="JSDocNamepathType",e[e.JSDocComment=307]="JSDocComment",e[e.JSDocTypeLiteral=308]="JSDocTypeLiteral",e[e.JSDocSignature=309]="JSDocSignature",e[e.JSDocTag=310]="JSDocTag",e[e.JSDocAugmentsTag=311]="JSDocAugmentsTag",e[e.JSDocImplementsTag=312]="JSDocImplementsTag",e[e.JSDocAuthorTag=313]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=314]="JSDocDeprecatedTag",e[e.JSDocClassTag=315]="JSDocClassTag",e[e.JSDocPublicTag=316]="JSDocPublicTag",e[e.JSDocPrivateTag=317]="JSDocPrivateTag",e[e.JSDocProtectedTag=318]="JSDocProtectedTag",e[e.JSDocReadonlyTag=319]="JSDocReadonlyTag",e[e.JSDocCallbackTag=320]="JSDocCallbackTag",e[e.JSDocEnumTag=321]="JSDocEnumTag",e[e.JSDocParameterTag=322]="JSDocParameterTag",e[e.JSDocReturnTag=323]="JSDocReturnTag",e[e.JSDocThisTag=324]="JSDocThisTag",e[e.JSDocTypeTag=325]="JSDocTypeTag",e[e.JSDocTemplateTag=326]="JSDocTemplateTag",e[e.JSDocTypedefTag=327]="JSDocTypedefTag",e[e.JSDocPropertyTag=328]="JSDocPropertyTag",e[e.SyntaxList=329]="SyntaxList",e[e.NotEmittedStatement=330]="NotEmittedStatement",e[e.PartiallyEmittedExpression=331]="PartiallyEmittedExpression",e[e.CommaListExpression=332]="CommaListExpression",e[e.MergeDeclarationMarker=333]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=334]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=335]="SyntheticReferenceExpression",e[e.Count=336]="Count",e[e.FirstAssignment=62]="FirstAssignment",e[e.LastAssignment=77]="LastAssignment",e[e.FirstCompoundAssignment=63]="FirstCompoundAssignment",e[e.LastCompoundAssignment=77]="LastCompoundAssignment",e[e.FirstReservedWord=80]="FirstReservedWord",e[e.LastReservedWord=115]="LastReservedWord",e[e.FirstKeyword=80]="FirstKeyword",e[e.LastKeyword=155]="LastKeyword",e[e.FirstFutureReservedWord=116]="FirstFutureReservedWord",e[e.LastFutureReservedWord=124]="LastFutureReservedWord",e[e.FirstTypeNode=171]="FirstTypeNode",e[e.LastTypeNode=192]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=77]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=155]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=77]="LastBinaryOperator",e[e.FirstStatement=229]="FirstStatement",e[e.LastStatement=245]="LastStatement",e[e.FirstNode=156]="FirstNode",e[e.FirstJSDocNode=298]="FirstJSDocNode",e[e.LastJSDocNode=328]="LastJSDocNode",e[e.FirstJSDocTagNode=310]="FirstJSDocTagNode",e[e.LastJSDocTagNode=328]="LastJSDocTagNode",e[e.FirstContextualKeyword=125]="FirstContextualKeyword",e[e.LastContextualKeyword=155]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.ThisNodeHasError=65536]="ThisNodeHasError",e[e.JavaScriptFile=131072]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=524288]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",e[e.JSDoc=4194304]="JSDoc",e[e.Ambient=8388608]="Ambient",e[e.InWithStatement=16777216]="InWithStatement",e[e.JsonFile=33554432]="JsonFile",e[e.TypeCached=67108864]="TypeCached",e[e.Deprecated=134217728]="Deprecated",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=25358336]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=11263]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={})),function(e){e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore"}(e.CommentDirectiveType||(e.CommentDirectiveType={}));var n,t=function(){};e.OperationCanceledException=t,function(e){e[e.Import=0]="Import",e[e.ReferenceFile=1]="ReferenceFile",e[e.TypeReferenceDirective=2]="TypeReferenceDirective"}(e.RefFileKind||(e.RefFileKind={})),function(e){e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns"}(e.ContextFlags||(e.ContextFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.NoUndefinedOptionalParameterType=1073741824]="NoUndefinedOptionalParameterType",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",e[e.NodeBuilderFlagsMask=814775659]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial"}(e.CheckFlags||(e.CheckFlags={})),function(e){e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",e[e.AssignmentsMarked=8388608]="AssignmentsMarked",e[e.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109440]="Unit",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.Primitive=131068]="Primitive",e[e.StringLike=132]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DisjointDomains=67238908]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=4194304]="InstantiablePrimitive",e[e.Instantiable=63176704]="Instantiable",e[e.StructuredOrInstantiable=66846720]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Substructure=66584576]="Substructure",e[e.Narrowable=133970943]="Narrowable",e[e.NotPrimitiveUnion=66994211]="NotPrimitiveUnion",e[e.IncludesMask=71041023]="IncludesMask",e[e.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.JSLiteral=16384]="JSLiteral",e[e.FreshLiteral=32768]="FreshLiteral",e[e.ArrayLiteral=65536]="ArrayLiteral",e[e.ObjectRestType=131072]="ObjectRestType",e[e.PrimitiveUnion=262144]="PrimitiveUnion",e[e.ContainsWideningType=524288]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=1048576]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=2097152]="NonInferrableType",e[e.IsGenericObjectTypeComputed=4194304]="IsGenericObjectTypeComputed",e[e.IsGenericObjectType=8388608]="IsGenericObjectType",e[e.IsGenericIndexTypeComputed=16777216]="IsGenericIndexTypeComputed",e[e.IsGenericIndexType=33554432]="IsGenericIndexType",e[e.CouldContainTypeVariablesComputed=67108864]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=134217728]="CouldContainTypeVariables",e[e.ContainsIntersections=268435456]="ContainsIntersections",e[e.IsNeverIntersectionComputed=268435456]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=536870912]="IsNeverIntersection",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=1572864]="RequiresWidening",e[e.PropagatingFlags=3670016]="PropagatingFlags"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback"}(e.VarianceFlags||(e.VarianceFlags={})),function(e){e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Variable=12]="Variable"}(e.ElementFlags||(e.ElementFlags={})),function(e){e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.IsInnerCallChain=4]="IsInnerCallChain",e[e.IsOuterCallChain=8]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=16]="IsUntypedSignatureInJSFile",e[e.PropagatingFlags=19]="PropagatingFlags",e[e.CallChainFlags=12]="CallChainFlags"}(e.SignatureFlags||(e.SignatureFlags={})),function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Function=2]="Function",e[e.Composite=3]="Composite",e[e.Merged=4]="Merged"}(e.TypeMapKind||(e.TypeMapKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.HomomorphicMappedType=4]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=8]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=16]="MappedTypeConstraint",e[e.ContravariantConditional=32]="ContravariantConditional",e[e.ReturnType=64]="ReturnType",e[e.LiteralKeyof=128]="LiteralKeyof",e[e.NoConstraints=256]="NoConstraints",e[e.AlwaysStrict=512]="AlwaysStrict",e[e.MaxValue=1024]="MaxValue",e[e.PriorityImpliesCombination=208]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(n=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,t){void 0===t&&(t=!0);var r=n[e.category];return t?r.toLowerCase():r},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.UseFsEvents=3]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=4]="UseFsEventsOnParentDirectory"}(e.WatchFileKind||(e.WatchFileKind={})),function(e){e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling"}(e.WatchDirectoryKind||(e.WatchDirectoryKind={})),function(e){e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority"}(e.PollingWatchKind||(e.PollingWatchKind={})),function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ESNext=99]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error"}(e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo"}(e.Extension||(e.Extension={})),function(e){e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2020=8]="ContainsES2020",e[e.ContainsES2019=16]="ContainsES2019",e[e.ContainsES2018=32]="ContainsES2018",e[e.ContainsES2017=64]="ContainsES2017",e[e.ContainsES2016=128]="ContainsES2016",e[e.ContainsES2015=256]="ContainsES2015",e[e.ContainsGenerator=512]="ContainsGenerator",e[e.ContainsDestructuringAssignment=1024]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=2048]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=4096]="ContainsLexicalThis",e[e.ContainsRestOrSpread=8192]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=16384]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=32768]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=65536]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=131072]="ContainsBindingPattern",e[e.ContainsYield=262144]="ContainsYield",e[e.ContainsAwait=524288]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=1048576]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=2097152]="ContainsDynamicImport",e[e.ContainsClassFields=4194304]="ContainsClassFields",e[e.ContainsPossibleTopLevelAwait=8388608]="ContainsPossibleTopLevelAwait",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2020=8]="AssertES2020",e[e.AssertES2019=16]="AssertES2019",e[e.AssertES2018=32]="AssertES2018",e[e.AssertES2017=64]="AssertES2017",e[e.AssertES2016=128]="AssertES2016",e[e.AssertES2015=256]="AssertES2015",e[e.AssertGenerator=512]="AssertGenerator",e[e.AssertDestructuringAssignment=1024]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=547309568]="ArrowFunctionExcludes",e[e.FunctionExcludes=547313664]="FunctionExcludes",e[e.ConstructorExcludes=547311616]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=538923008]="MethodOrAccessorExcludes",e[e.PropertyExcludes=536875008]="PropertyExcludes",e[e.ClassExcludes=536905728]="ClassExcludes",e[e.ModuleExcludes=546379776]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536922112]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536879104]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=537018368]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536887296]="CatchClauseExcludes",e[e.BindingPatternExcludes=536879104]="BindingPatternExcludes",e[e.PropertyNamePropagatingFlags=4096]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.Spread=1024]="Spread",e[e.SpreadArrays=2048]="SpreadArrays",e[e.Await=4096]="Await",e[e.AsyncGenerator=8192]="AsyncGenerator",e[e.AsyncDelegator=16384]="AsyncDelegator",e[e.AsyncValues=32768]="AsyncValues",e[e.ExportStar=65536]="ExportStar",e[e.ImportStar=131072]="ImportStar",e[e.ImportDefault=262144]="ImportDefault",e[e.MakeTemplateObject=524288]="MakeTemplateObject",e[e.ClassPrivateFieldGet=1048576]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=2097152]="ClassPrivateFieldSet",e[e.CreateBinding=4194304]="CreateBinding",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=4194304]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=32768]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=12288]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=53248]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue"}(e.EmitHint||(e.EmitHint={})),function(e){e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All"}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),function(e){e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters"}(e.LexicalEnvironmentFlags||(e.LexicalEnvironmentFlags={})),function(e){e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=262656]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment"}(e.ListFormat||(e.ListFormat={})),function(e){e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4}}}(p||(p={})),function(n){var t,r;function a(e){var n;return(n={})[r.Low]=e.Low,n[r.Medium]=e.Medium,n[r.High]=e.High,n}n.generateDjb2Hash=function(e){for(var n=5381,t=0;t<e.length;t++)n=(n<<5)+n+e.charCodeAt(t);return n.toString()},n.setStackTraceLimit=function(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)},function(e){e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted"}(t=n.FileWatcherEventKind||(n.FileWatcherEventKind={})),function(e){e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low"}(r=n.PollingInterval||(n.PollingInterval={})),n.missingFileModifiedTime=new Date(0);var i={Low:32,Medium:64,High:256},o=a(i);function c(e){if(e.getEnvironmentVariable){var t=function(e,n){var t=c(e);if(t)return r("Low"),r("Medium"),r("High"),!0;return!1;function r(e){n[e]=t[e]||n[e]}}("TSC_WATCH_POLLINGINTERVAL",r);o=l("TSC_WATCH_POLLINGCHUNKSIZE",i)||o,n.unchangedPollThresholds=l("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",i)||n.unchangedPollThresholds}function c(n){var t;return r("Low"),r("Medium"),r("High"),t;function r(r){var a=function(n,t){return e.getEnvironmentVariable(n+"_"+t.toUpperCase())}(n,r);a&&((t||(t={}))[r]=Number(a))}}function l(e,n){var r=c(e);return(t||r)&&a(r?s(s({},n),r):n)}}function l(e){var t=[],a=[],i=l(r.Low),s=l(r.Medium),c=l(r.High);return function(e,r,a){var i={fileName:e,callback:r,unchangedPolls:0,mtime:v(e)};return t.push(i),_(i,a),{close:function(){i.isClosed=!0,n.unorderedRemoveItem(t,i)}}};function l(e){var n=[];return n.pollingInterval=e,n.pollIndex=0,n.pollScheduled=!1,n}function u(e){e.pollIndex=f(e,e.pollingInterval,e.pollIndex,o[e.pollingInterval]),e.length?h(e.pollingInterval):(n.Debug.assert(0===e.pollIndex),e.pollScheduled=!1)}function p(e){f(a,r.Low,0,a.length),u(e),!e.pollScheduled&&a.length&&h(r.Low)}function f(e,t,i,o){for(var s=e.length,c=i,l=0;l<o&&s>0;f(),s--){var u=e[i];if(u)if(u.isClosed)e[i]=void 0;else{l++;var p=d(u,v(u.fileName));u.isClosed?e[i]=void 0:p?(u.unchangedPolls=0,e!==a&&(e[i]=void 0,g(u))):u.unchangedPolls!==n.unchangedPollThresholds[t]?u.unchangedPolls++:e===a?(u.unchangedPolls=1,e[i]=void 0,_(u,r.Low)):t!==r.High&&(u.unchangedPolls++,e[i]=void 0,_(u,t===r.Low?r.Medium:r.High)),e[i]&&(c<i&&(e[c]=u,e[i]=void 0),c++)}}return i;function f(){++i===e.length&&(c<i&&(e.length=c),i=0,c=0)}}function m(e){switch(e){case r.Low:return i;case r.Medium:return s;case r.High:return c}}function _(e,n){m(n).push(e),y(n)}function g(e){a.push(e),y(r.Low)}function y(e){m(e).pollScheduled||h(e)}function h(n){m(n).pollScheduled=e.setTimeout(n===r.Low?p:u,n,m(n))}function v(t){return e.getModifiedTime(t)||n.missingFileModifiedTime}}function u(e,a){var i=n.createMultiMap(),o=new n.Map,s=n.createGetCanonicalFileName(a);return function(a,c,l,u){var d=s(a);i.add(d,c);var p=n.getDirectoryPath(d)||".",f=o.get(p)||function(a,c,l){var u=e(a,1,(function(e,r){if(n.isString(r)){var o=n.getNormalizedAbsolutePath(r,a),c=o&&i.get(s(o));if(c)for(var l=0,u=c;l<u.length;l++){(0,u[l])(o,t.Changed)}}}),!1,r.Medium,l);return u.referenceCount=0,o.set(c,u),u}(n.getDirectoryPath(a)||".",p,u);return f.referenceCount++,{close:function(){1===f.referenceCount?(f.close(),o.delete(p)):f.referenceCount--,i.remove(d,c)}}}}function d(e,n){var t=e.mtime.getTime(),r=n.getTime();return t!==r&&(e.mtime=n,e.callback(e.fileName,p(t,r)),!0)}function p(e,n){return 0===e?t.Created:0===n?t.Deleted:t.Changed}function f(e){var t,r=new n.Map,a=n.createMultiMap(),i=new n.Map,o=n.getStringComparer(!e.useCaseSensitiveFileNames),s=n.createGetCanonicalFileName(e.useCaseSensitiveFileNames);return function(n,t,r,a){return r?c(n,a,t):e.watchDirectory(n,t,r,a)};function c(o,c,f){var m=s(o),_=r.get(m);_?_.refCount++:(_={watcher:e.watchDirectory(o,(function(a){p(a)||((null==c?void 0:c.synchronousWatchDirectory)?(l(m,a),d(o,m,c)):function(a,o,c,d){var p=r.get(o);if(p&&e.directoryExists(a))return void function(n,r,a,o){var s=i.get(r);s?s.fileNames.push(a):i.set(r,{dirName:n,options:o,fileNames:[a]});t&&(e.clearTimeout(t),t=void 0);t=e.setTimeout(u,1e3)}(a,o,c,d);l(o,c),function e(t){if(!t)return;var a=t.childWatches;t.childWatches=n.emptyArray;for(var i=0,o=a;i<o.length;i++){var c=o[i];c.close(),e(r.get(s(c.dirName)))}}(p)}(o,m,a,c))}),!1,c),refCount:1,childWatches:n.emptyArray},r.set(m,_),d(o,m,c));var g=f&&{dirName:o,callback:f};return g&&a.add(m,g),{dirName:o,close:function(){var e=n.Debug.checkDefined(r.get(m));g&&a.remove(m,g),e.refCount--,e.refCount||(r.delete(m),n.closeFileWatcherOf(e),e.childWatches.forEach(n.closeFileWatcher))}}}function l(e,t,r){var i,o;n.isString(t)?i=t:o=t,a.forEach((function(t,a){var s;if((!o||!0!==o.get(a))&&(a===e||n.startsWith(e,a)&&e[a.length]===n.directorySeparator))if(o)if(r){var c=o.get(a);c?(s=c).push.apply(s,r):o.set(a,r.slice())}else o.set(a,!0);else t.forEach((function(e){return(0,e.callback)(i)}))}))}function u(){t=void 0,n.sysLog("sysLog:: onTimerToUpdateChildWatches:: "+i.size);for(var e=n.timestamp(),r=new n.Map;!t&&i.size;){var o=i.entries().next(),s=o.value,c=s[0],u=s[1],p=u.dirName,f=u.options,m=u.fileNames,_=o.done;n.Debug.assert(!_),i.delete(c);var g=d(p,c,f);l(c,r,g?void 0:m)}n.sysLog("sysLog:: invokingWatchers:: "+(n.timestamp()-e)+"ms:: "+i.size),a.forEach((function(e,t){var a=r.get(t);a&&e.forEach((function(e){var t=e.callback,r=e.dirName;n.isArray(a)?a.forEach(t):t(r)}))}));var y=n.timestamp()-e;n.sysLog("sysLog:: Elapsed "+y+"ms:: onTimerToUpdateChildWatches:: "+i.size+" "+t)}function d(t,a,i){var s,l=r.get(a);if(!l)return!1;var u=n.enumerateInsertsAndDeletes(e.directoryExists(t)?n.mapDefined(e.getAccessibleSortedChildDirectories(t),(function(r){var a=n.getNormalizedAbsolutePath(r,t);return p(a)||0!==o(a,n.normalizePath(e.realpath(a)))?void 0:a})):n.emptyArray,l.childWatches,(function(e,n){return o(e,n.dirName)}),(function(e){d(c(e,i))}),n.closeFileWatcher,d);return l.childWatches=s||n.emptyArray,u;function d(e){(s||(s=[])).push(e)}}function p(t){return n.some(n.ignoredPaths,(function(r){return function(t,r){return!!n.stringContains(t,r)||!e.useCaseSensitiveFileNames&&n.stringContains(s(t),r)}(t,r)}))}}function m(e,t){return function(r,a){"rename"===r&&t(a?n.normalizePath(n.combinePaths(e,a)):e)}}n.unchangedPollThresholds=a(i),n.setCustomPollingValues=c,n.createDynamicPriorityPollingWatchFile=l,n.createSingleFileWatcherPerName=function(e,t){var r=new n.Map,a=n.createMultiMap(),i=n.createGetCanonicalFileName(t);return function(t,o,s,c){var l=i(t),u=r.get(l);return u?u.refCount++:r.set(l,{watcher:e(t,(function(e,t){return n.forEach(a.get(l),(function(n){return n(e,t)}))}),s,c),refCount:1}),a.add(l,o),{close:function(){var e=n.Debug.checkDefined(r.get(l));a.remove(l,o),e.refCount--,e.refCount||(r.delete(l),n.closeFileWatcherOf(e))}}}},n.onWatchedFileStat=d,n.getFileWatcherEventKind=p,n.ignoredPaths=["/node_modules/.","/.git","/.#"],n.sysLog=n.noop,n.setSysLog=function(e){n.sysLog=e},n.createDirectoryWatcherSupportingRecursive=f,function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(n.FileSystemEntryKind||(n.FileSystemEntryKind={})),n.createFileWatcherCallback=function(e){return function(n,r){return e(r===t.Changed?"change":"rename","")}},n.createSystemWatchFunctions=function(e){var a,i,o,s=e.pollingWatchFile,c=e.getModifiedTime,d=e.setTimeout,p=e.clearTimeout,_=e.fsWatch,g=e.fileExists,y=e.useCaseSensitiveFileNames,h=e.fsSupportsRecursiveFsWatch,v=e.directoryExists,b=e.getAccessibleSortedChildDirectories,E=e.realpath,T=e.tscWatchFile,S=e.useNonPollingWatchers,L=e.tscWatchDirectory;return{watchFile:function(e,a,o,c){c=function(e,t){if(e&&void 0!==e.watchFile)return e;switch(T){case"PriorityPollingInterval":return{watchFile:n.WatchFileKind.PriorityPollingInterval};case"DynamicPriorityPolling":return{watchFile:n.WatchFileKind.DynamicPriorityPolling};case"UseFsEvents":return A(n.WatchFileKind.UseFsEvents,n.PollingWatchKind.PriorityInterval,e);case"UseFsEventsWithFallbackDynamicPolling":return A(n.WatchFileKind.UseFsEvents,n.PollingWatchKind.DynamicPriority,e);case"UseFsEventsOnParentDirectory":t=!0;default:return t?A(n.WatchFileKind.UseFsEventsOnParentDirectory,n.PollingWatchKind.PriorityInterval,e):{watchFile:n.WatchFileKind.FixedPollingInterval}}}(c,S);var l=n.Debug.checkDefined(c.watchFile);switch(l){case n.WatchFileKind.FixedPollingInterval:return s(e,a,r.Low,void 0);case n.WatchFileKind.PriorityPollingInterval:return s(e,a,o,void 0);case n.WatchFileKind.DynamicPriorityPolling:return x()(e,a,o,void 0);case n.WatchFileKind.UseFsEvents:return _(e,0,function(e,n,r){return function(a){n(e,"rename"===a?r(e)?t.Created:t.Deleted:t.Changed)}}(e,a,g),!1,o,n.getFallbackOptions(c));case n.WatchFileKind.UseFsEventsOnParentDirectory:return i||(i=u(_,y)),i(e,a,o,n.getFallbackOptions(c));default:n.Debug.assertNever(l)}},watchDirectory:function(e,t,a,i){if(h)return _(e,1,m(e,t),a,r.Medium,n.getFallbackOptions(i));o||(o=f({useCaseSensitiveFileNames:y,directoryExists:v,getAccessibleSortedChildDirectories:b,watchDirectory:D,realpath:E,setTimeout:d,clearTimeout:p}));return o(e,t,a,i)}};function x(){return a||(a=l({getModifiedTime:c,setTimeout:d}))}function A(e,n,t){var r=null==t?void 0:t.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?n:r}}function D(e,t,a,i){n.Debug.assert(!a),i=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(L){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:n.WatchDirectoryKind.FixedPollingInterval};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:n.WatchDirectoryKind.DynamicPriorityPolling};default:var t=null==e?void 0:e.fallbackPolling;return{watchDirectory:n.WatchDirectoryKind.UseFsEvents,fallbackPolling:void 0!==t?t:void 0}}}(i);var o=n.Debug.checkDefined(i.watchDirectory);switch(o){case n.WatchDirectoryKind.FixedPollingInterval:return s(e,(function(){return t(e)}),r.Medium,void 0);case n.WatchDirectoryKind.DynamicPriorityPolling:return x()(e,(function(){return t(e)}),r.Medium,void 0);case n.WatchDirectoryKind.UseFsEvents:return _(e,1,m(e,t),a,r.Medium,n.getFallbackOptions(i));default:n.Debug.assertNever(o)}}},n.patchWriteFileEnsuringDirectory=function(e){var t=e.writeFile;e.writeFile=function(r,a,i){return n.writeFileEnsuringDirectories(r,a,!!i,(function(n,r,a){return t.call(e,n,r,a)}),(function(n){return e.createDirectory(n)}),(function(n){return e.directoryExists(n)}))}},n.getNodeMajorVersion=function(){if(void 0!==e){var n=e.version;if(n){var t=n.indexOf(".");if(-1!==t)return parseInt(n.substring(1,t))}}},n.sys=void 0,n.sys&&n.sys.getEnvironmentVariable&&(c(n.sys),n.Debug.setAssertionLevel(/^development$/i.test(n.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),n.sys&&n.sys.debugMode&&(n.Debug.isDebugging=!0)}(p||(p={})),function(e){e.directorySeparator="/";var n=/\\/g;function t(e){return 47===e||92===e}function r(e){return u(e)>0}function a(e){return 0!==u(e)}function i(e){return/^\.\.?($|[\\/])/.test(e)}function s(n,t){return n.length>t.length&&e.endsWith(n,t)}function c(e){return e.length>0&&t(e.charCodeAt(e.length-1))}function l(e){return e>=97&&e<=122||e>=65&&e<=90}function u(n){if(!n)return 0;var t=n.charCodeAt(0);if(47===t||92===t){if(n.charCodeAt(1)!==t)return 1;var r=n.indexOf(47===t?e.directorySeparator:"\\",2);return r<0?n.length:r+1}if(l(t)&&58===n.charCodeAt(1)){var a=n.charCodeAt(2);if(47===a||92===a)return 3;if(2===n.length)return 2}var i=n.indexOf("://");if(-1!==i){var o=i+"://".length,s=n.indexOf(e.directorySeparator,o);if(-1!==s){var c=n.slice(0,i),u=n.slice(o,s);if("file"===c&&(""===u||"localhost"===u)&&l(n.charCodeAt(s+1))){var d=function(e,n){var t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){var r=e.charCodeAt(n+2);if(97===r||65===r)return n+3}return-1}(n,s+2);if(-1!==d){if(47===n.charCodeAt(d))return~(d+1);if(d===n.length)return~d}}return~(s+1)}return~n.length}return 0}function d(e){var n=u(e);return n<0?~n:n}function p(n){var t=d(n=h(n));return t===n.length?n:(n=x(n)).slice(0,Math.max(t,n.lastIndexOf(e.directorySeparator)))}function f(n,t,r){if(d(n=h(n))===n.length)return"";var a=(n=x(n)).slice(Math.max(d(n),n.lastIndexOf(e.directorySeparator)+1)),i=void 0!==t&&void 0!==r?_(a,t,r):void 0;return i?a.slice(0,a.length-i.length):a}function m(n,t,r){if(e.startsWith(t,".")||(t="."+t),n.length>=t.length&&46===n.charCodeAt(n.length-t.length)){var a=n.slice(n.length-t.length);if(r(a,t))return a}}function _(n,t,r){if(t)return function(e,n,t){if("string"==typeof n)return m(e,n,t)||"";for(var r=0,a=n;r<a.length;r++){var i=m(e,a[r],t);if(i)return i}return""}(x(n),t,r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive);var a=f(n),i=a.lastIndexOf(".");return i>=0?a.substring(i):""}function g(n,t){return void 0===t&&(t=""),function(n,t){var r=n.substring(0,t),a=n.substring(t).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),o([r],a)}(n=b(t,n),d(n))}function y(n){return 0===n.length?"":(n[0]&&A(n[0]))+n.slice(1).join(e.directorySeparator)}function h(t){return t.replace(n,e.directorySeparator)}function v(n){if(!e.some(n))return[];for(var t=[n[0]],r=1;r<n.length;r++){var a=n[r];if(a&&"."!==a){if(".."===a)if(t.length>1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(a)}}return t}function b(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&(e=h(e));for(var r=0,a=n;r<a.length;r++){var i=a[r];i&&(i=h(i),e=e&&0===d(i)?A(e)+i:i)}return e}function E(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return L(e.some(t)?b.apply(void 0,o([n],t)):h(n))}function T(e,n){return v(g(e,n))}function S(e,n){return y(T(e,n))}function L(e){var n=y(v(g(e=h(e))));return n&&c(e)?A(n):n}function x(e){return c(e)?e.substr(0,e.length-1):e}function A(n){return c(n)?n:n+e.directorySeparator}function D(e){return a(e)||i(e)?e:"./"+e}e.isAnyDirectorySeparator=t,e.isUrl=function(e){return u(e)<0},e.isRootedDiskPath=r,e.isDiskPathRoot=function(e){var n=u(e);return n>0&&n===e.length},e.pathIsAbsolute=a,e.pathIsRelative=i,e.hasExtension=function(n){return e.stringContains(f(n),".")},e.fileExtensionIs=s,e.fileExtensionIsOneOf=function(e,n){for(var t=0,r=n;t<r.length;t++){if(s(e,r[t]))return!0}return!1},e.hasTrailingDirectorySeparator=c,e.getRootLength=d,e.getDirectoryPath=p,e.getBaseFileName=f,e.getAnyExtensionFromPath=_,e.getPathComponents=g,e.getPathFromPathComponents=y,e.normalizeSlashes=h,e.reducePathComponents=v,e.combinePaths=b,e.resolvePath=E,e.getNormalizedPathComponents=T,e.getNormalizedAbsolutePath=S,e.normalizePath=L,e.getNormalizedAbsolutePathWithoutRoot=function(n,t){return function(n){return 0===n.length?"":n.slice(1).join(e.directorySeparator)}(T(n,t))},e.toPath=function(e,n,t){return t(r(e)?L(e):S(e,n))},e.normalizePathAndParts=function(n){var t=v(g(n=h(n))),r=t[0],a=t.slice(1);if(a.length){var i=r+a.join(e.directorySeparator);return{path:c(n)?A(i):i,parts:a}}return{path:r,parts:a}},e.removeTrailingDirectorySeparator=x,e.ensureTrailingDirectorySeparator=A,e.ensurePathIsNonModuleName=D,e.changeAnyExtension=function(n,t,r,a){var i=void 0!==r&&void 0!==a?_(n,r,a):_(n);return i?n.slice(0,n.length-i.length)+(e.startsWith(t,".")?t:"."+t):n};var C=/(^|\/)\.{0,2}($|\/)/;function I(n,t,r){if(n===t)return 0;if(void 0===n)return-1;if(void 0===t)return 1;var a=n.substring(0,d(n)),i=t.substring(0,d(t)),o=e.compareStringsCaseInsensitive(a,i);if(0!==o)return o;var s=n.substring(a.length),c=t.substring(i.length);if(!C.test(s)&&!C.test(c))return r(s,c);for(var l=v(g(n)),u=v(g(t)),p=Math.min(l.length,u.length),f=1;f<p;f++){var m=r(l[f],u[f]);if(0!==m)return m}return e.compareValues(l.length,u.length)}function N(n,t,r,a){var i,s=v(g(n)),c=v(g(t));for(i=0;i<s.length&&i<c.length;i++){var l=a(s[i]),u=a(c[i]);if(!(0===i?e.equateStringsCaseInsensitive:r)(l,u))break}if(0===i)return c;for(var d=c.slice(i),p=[];i<s.length;i++)p.push("..");return o([""],p,d)}function R(n,t,r){e.Debug.assert(d(n)>0==d(t)>0,"Paths must either both be absolute or both be relative");var a="function"==typeof r?r:e.identity;return y(N(n,t,"boolean"==typeof r&&r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,a))}function k(n,t,a,i,o){var s=N(E(a,n),E(a,t),e.equateStringsCaseSensitive,i),c=s[0];if(o&&r(c)){var l=c.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=l+c}return y(s)}e.comparePathsCaseSensitive=function(n,t){return I(n,t,e.compareStringsCaseSensitive)},e.comparePathsCaseInsensitive=function(n,t){return I(n,t,e.compareStringsCaseInsensitive)},e.comparePaths=function(n,t,r,a){return"string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),I(n,t,e.getStringComparer(a))},e.containsPath=function(n,t,r,a){if("string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),void 0===n||void 0===t)return!1;if(n===t)return!0;var i=v(g(n)),o=v(g(t));if(o.length<i.length)return!1;for(var s=a?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,c=0;c<i.length;c++){if(!(0===c?e.equateStringsCaseInsensitive:s)(i[c],o[c]))return!1}return!0},e.startsWithDirectory=function(n,t,r){var a=r(n),i=r(t);return e.startsWith(a,i+"/")||e.startsWith(a,i+"\\")},e.getPathComponentsRelativeTo=N,e.getRelativePathFromDirectory=R,e.convertToRelativePath=function(e,n,t){return r(e)?k(n,e,n,t,!1):e},e.getRelativePathFromFile=function(e,n,t){return D(R(p(e),n,t))},e.getRelativePathToDirectoryOrUrl=k,e.forEachAncestorDirectory=function(e,n){for(;;){var t=n(e);if(void 0!==t)return t;var r=p(e);if(r===e)return;e=r}},e.isNodeModulesDirectory=function(n){return e.endsWith(n,"/node_modules")}}(p||(p={})),function(e){function n(e,n,t,r,a,i,o){return{code:e,category:n,key:t,message:r,reportsUnnecessary:a,elidedInCompatabilityPyramid:i,reportsDeprecated:o}}e.Diagnostics={Unterminated_string_literal:n(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:n(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:n(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:n(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:n(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:n(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:n(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:n(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:n(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:n(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:n(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:n(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:n(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:n(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:n(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:n(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:n(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:n(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:n(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_either_string_or_number:n(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_either_string_or_number_1023","An index signature parameter type must be either 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:n(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:n(1025,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:n(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:n(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:n(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:n(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:n(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:n(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:n(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:n(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:n(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:n(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:n(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:n(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:n(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:n(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:n(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:n(1046,e.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:n(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:n(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:n(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:n(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:n(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:n(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:n(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:n(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:n(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:n(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:n(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:n(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:n(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:n(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:n(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:n(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:n(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:n(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:n(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:n(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:n(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:n(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:n(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:n(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:n(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:n(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:n(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:n(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:n(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:n(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:n(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:n(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:n(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:n(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:n(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:n(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:n(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:n(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:n(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:n(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:n(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:n(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:n(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:n(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:n(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:n(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:n(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:n(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:n(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:n(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:n(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:n(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:n(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:n(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:n(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:n(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:n(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:n(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:n(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:n(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:n(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:n(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:n(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:n(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:n(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:n(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:n(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:n(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:n(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:n(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:n(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:n(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:n(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:n(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:n(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:n(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:n(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:n(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:n(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:n(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:n(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:n(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:n(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:n(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:n(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:n(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:n(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:n(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:n(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:n(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:n(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:n(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:n(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:n(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:n(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:n(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:n(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:n(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:n(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:n(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:n(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:n(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:n(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:n(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:n(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:n(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:n(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:n(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:n(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:n(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:n(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:n(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:n(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:n(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),with_statements_are_not_allowed_in_an_async_function_block:n(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:n(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:n(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:n(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:n(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:n(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:n(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:n(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:n(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:n(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:n(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:n(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:n(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:n(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:n(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:n(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:n(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system:n(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:n(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:n(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:n(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:n(1360,e.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:n(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:n(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:n(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:n(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:n(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:n(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:n(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:n(1368,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_1368","Specify emit/checking behavior for imports that are only used for types"),Did_you_mean_0:n(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),Only_ECMAScript_imports_may_use_import_type:n(1370,e.DiagnosticCategory.Error,"Only_ECMAScript_imports_may_use_import_type_1370","Only ECMAScript imports may use 'import type'."),This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error:n(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is__1371","This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:n(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:n(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:n(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:n(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:n(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:n(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:n(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:n(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:n(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:n(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:n(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:n(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),The_types_of_0_are_incompatible_between_these_types:n(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:n(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:n(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:n(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Duplicate_identifier_0:n(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:n(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:n(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:n(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:n(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:n(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:n(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:n(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:n(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:n(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:n(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:n(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:n(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:n(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:n(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:n(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:n(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:n(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:n(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:n(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:n(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:n(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:n(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:n(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:n(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:n(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:n(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:n(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:n(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:n(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:n(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:n(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:n(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:n(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:n(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:n(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:n(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:n(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:n(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:n(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:n(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:n(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:n(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:n(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:n(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:n(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:n(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:n(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:n(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:n(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:n(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:n(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:n(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:n(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:n(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:n(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:n(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:n(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:n(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:n(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:n(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:n(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:n(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:n(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:n(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:n(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:n(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:n(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:n(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:n(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:n(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:n(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:n(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:n(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:n(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:n(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:n(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:n(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:n(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:n(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:n(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:n(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:n(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:n(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:n(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:n(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:n(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:n(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:n(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:n(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:n(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:n(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:n(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:n(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:n(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:n(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:n(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:n(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:n(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:n(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:n(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:n(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:n(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:n(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:n(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:n(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:n(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:n(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:n(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:n(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:n(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:n(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:n(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:n(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:n(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:n(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:n(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:n(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:n(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:n(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:n(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:n(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:n(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:n(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:n(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:n(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:n(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:n(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:n(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:n(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:n(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:n(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:n(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:n(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:n(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:n(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:n(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:n(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:n(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:n(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:n(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:n(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:n(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:n(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:n(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:n(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:n(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:n(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:n(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:n(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:n(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:n(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:n(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:n(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:n(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:n(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:n(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:n(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:n(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:n(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:n(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:n(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:n(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:n(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:n(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:n(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:n(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:n(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:n(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:n(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:n(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:n(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:n(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:n(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:n(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:n(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:n(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:n(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:n(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:n(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:n(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:n(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:n(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:n(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:n(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:n(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:n(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:n(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:n(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:n(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:n(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:n(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:n(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:n(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:n(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:n(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:n(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:n(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:n(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:n(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:n(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:n(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:n(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:n(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:n(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:n(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:n(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:n(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:n(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:n(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:n(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:n(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:n(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:n(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:n(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:n(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:n(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:n(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:n(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:n(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:n(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:n(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:n(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:n(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:n(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:n(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:n(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:n(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Element_at_index_0_is_variadic_in_one_type_but_not_in_the_other:n(2622,e.DiagnosticCategory.Error,"Element_at_index_0_is_variadic_in_one_type_but_not_in_the_other_2622","Element at index {0} is variadic in one type but not in the other."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:n(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:n(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:n(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:n(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:n(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:n(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:n(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:n(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:n(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:n(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:n(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:n(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:n(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:n(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:n(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:n(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:n(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:n(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:n(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:n(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:n(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:n(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:n(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:n(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:n(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:n(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:n(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:n(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:n(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:n(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:n(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:n(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:n(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:n(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:n(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:n(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:n(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:n(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:n(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:n(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:n(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:n(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:n(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:n(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:n(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:n(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:n(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:n(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:n(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:n(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:n(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:n(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:n(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:n(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:n(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:n(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:n(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:n(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:n(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:n(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:n(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:n(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:n(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:n(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:n(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:n(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:n(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:n(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:n(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:n(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:n(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:n(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:n(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:n(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:n(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:n(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:n(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:n(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:n(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:n(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:n(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:n(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:n(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:n(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:n(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:n(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:n(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:n(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:n(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:n(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:n(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:n(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),Import_declaration_0_is_using_private_name_1:n(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:n(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:n(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:n(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:n(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:n(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:n(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:n(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:n(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:n(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:n(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:n(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:n(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:n(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:n(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:n(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:n(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:n(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:n(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:n(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:n(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:n(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:n(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:n(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:n(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:n(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:n(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:n(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:n(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:n(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:n(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:n(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:n(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:n(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:n(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:n(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:n(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:n(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:n(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:n(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:n(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:n(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:n(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:n(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:n(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:n(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:n(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:n(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:n(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:n(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:n(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:n(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:n(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:n(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:n(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:n(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:n(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:n(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:n(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:n(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a `...` before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:n(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:n(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:n(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:n(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:n(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:n(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:n(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:n(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:n(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:n(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT:n(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext:n(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'."),Print_this_message:n(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:n(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:n(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:n(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:n(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:n(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unsupported_locale_0:n(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:n(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:n(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:n(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:n(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:n(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:n(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:n(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:n(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:n(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:n(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:n(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:n(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:n(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:n(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:n(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:n(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:n(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:n(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:n(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:n(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:n(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:n(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:n(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:n(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:n(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:n(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:n(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:n(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:n(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:n(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:n(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:n(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:n(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:n(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:n(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:n(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:n(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:n(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:n(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:n(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:n(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:n(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:n(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:n(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:n(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:n(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:n(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:n(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:n(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:n(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:n(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:n(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:n(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:n(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:n(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:n(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:n(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:n(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:n(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:n(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:n(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:n(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:n(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:n(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:n(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:n(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:n(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:n(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:n(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:n(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:n(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:n(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:n(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:n(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:n(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:n(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:n(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:n(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:n(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:n(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:n(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:n(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:n(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:n(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:n(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:n(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:n(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:n(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:n(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:n(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:n(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:n(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:n(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:n(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:n(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:n(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:n(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:n(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:n(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:n(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:n(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:n(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:n(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:n(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:n(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:n(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:n(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:n(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:n(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:n(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:n(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory:n(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling:n(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority:n(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority'."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:n(6228,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6228","Synchronously call callbacks and update the state of directory watchers on platforms that don't support recursive watching natively."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:n(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:n(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:n(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:n(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:n(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:n(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:n(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:n(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Projects_to_reference:n(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:n(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:n(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:n(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:n(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:n(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:n(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:n(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated",void 0,void 0,!0),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:n(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:n(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Variable_0_implicitly_has_an_1_type:n(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:n(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:n(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:n(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:n(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:n(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:n(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:n(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:n(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:n(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:n(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:n(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:n(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:n(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:n(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:n(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:n(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:n(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:n(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:n(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),You_cannot_rename_this_element:n(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:n(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:n(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:n(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:n(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:n(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:n(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:n(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:n(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:n(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:n(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:n(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:n(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:n(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:n(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:n(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:n(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:n(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:n(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:n(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:n(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:n(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:n(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:n(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:n(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:n(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:n(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:n(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:n(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:n(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:n(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:n(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:n(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:n(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:n(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:n(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:n(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:n(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:n(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:n(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:n(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:n(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:n(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:n(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:n(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:n(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:n(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:n(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:n(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:n(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:n(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:n(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:n(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:n(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:n(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:n(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:n(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:n(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:n(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:n(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:n(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:n(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:n(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:n(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:n(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:n(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:n(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:n(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:n(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:n(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:n(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:n(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:n(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:n(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:n(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:n(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:n(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:n(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:n(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:n(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:n(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:n(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:n(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:n(95102,e.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:n(95103,e.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:n(95104,e.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:n(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:n(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:n(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:n(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:n(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:n(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:n(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:n(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:n(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:n(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:n(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:n(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:n(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:n(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:n(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:n(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:n(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:n(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:n(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:n(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:n(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:n(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:n(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:n(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:n(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:n(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:n(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:n(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:n(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:n(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:n(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:n(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:n(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:n(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:n(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:n(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:n(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:n(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:n(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:n(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters"),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:n(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:n(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:n(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:n(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:n(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:n(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:n(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:n(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:n(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:n(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier"),A_method_cannot_be_named_with_a_private_identifier:n(18022,e.DiagnosticCategory.Error,"A_method_cannot_be_named_with_a_private_identifier_18022","A method cannot be named with a private identifier."),An_accessor_cannot_be_named_with_a_private_identifier:n(18023,e.DiagnosticCategory.Error,"An_accessor_cannot_be_named_with_a_private_identifier_18023","An accessor cannot be named with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:n(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:n(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:n(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:n(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:n(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:n(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:n(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:n(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:n(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:n(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:n(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.")}}(p||(p={})),function(e){var n;function t(e){return e>=78}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||t(e)};var r=((n={abstract:125,any:128,as:126,asserts:127,bigint:154,boolean:131,break:80,case:81,catch:82,class:83,continue:85,const:84}).constructor=132,n.debugger=86,n.declare=133,n.default=87,n.delete=88,n.do=89,n.else=90,n.enum=91,n.export=92,n.extends=93,n.false=94,n.finally=95,n.for=96,n.from=152,n.function=97,n.get=134,n.if=98,n.implements=116,n.import=99,n.in=100,n.infer=135,n.instanceof=101,n.interface=117,n.is=136,n.keyof=137,n.let=118,n.module=138,n.namespace=139,n.never=140,n.new=102,n.null=103,n.number=143,n.object=144,n.package=119,n.private=120,n.protected=121,n.public=122,n.readonly=141,n.require=142,n.global=153,n.return=104,n.set=145,n.static=123,n.string=146,n.super=105,n.switch=106,n.symbol=147,n.this=107,n.throw=108,n.true=109,n.try=110,n.type=148,n.typeof=111,n.undefined=149,n.unique=150,n.unknown=151,n.var=112,n.void=113,n.while=114,n.with=115,n.yield=124,n.async=129,n.await=130,n.of=155,n),a=new e.Map(e.getEntries(r)),i=new e.Map(e.getEntries(s(s({},r),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,"</":30,">>":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":77,"||=":74,"&&=":75,"??=":76,"@":59,"`":61}))),o=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],c=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],l=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],u=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],d=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],p=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],f=/^\s*\/\/\/?\s*@(ts-expect-error|ts-ignore)/,m=/^\s*(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function _(e,n){if(e<n[0])return!1;for(var t,r=0,a=n.length;r+1<a;){if(t=r+(a-r)/2,n[t-=t%2]<=e&&e<=n[t+1])return!0;e<n[t]?a=t:r=t+2}return!1}function g(e,n){return _(e,n>=2?d:1===n?l:o)}e.isUnicodeIdentifierStart=g;var y,h=(y=[],i.forEach((function(e,n){y[e]=n})),y);function v(e){for(var n=new Array,t=0,r=0;t<e.length;){var a=e.charCodeAt(t);switch(t++,a){case 13:10===e.charCodeAt(t)&&t++;case 10:n.push(r),r=t;break;default:a>127&&A(a)&&(n.push(r),r=t)}}return n.push(r),n}function b(n,t,r,a,i){(t<0||t>=n.length)&&(i?t=t<0?0:t>=n.length?n.length-1:t:e.Debug.fail("Bad line number. Line: "+t+", lineStarts.length: "+n.length+" , line map is correct? "+(void 0!==a?e.arraysEqual(n,v(a)):"unknown")));var o=n[t]+r;return i?o>n[t+1]?n[t+1]:"string"==typeof a&&o>a.length?a.length:o:(t<n.length-1?e.Debug.assert(o<n[t+1]):void 0!==a&&e.Debug.assert(o<=a.length),o)}function E(e){return e.lineMap||(e.lineMap=v(e.text))}function T(e,n){var t=S(e,n);return{line:t,character:n-e[t]}}function S(n,t,r){var a=e.binarySearch(n,t,e.identity,e.compareValues,r);return a<0&&(a=~a-1,e.Debug.assert(-1!==a,"position cannot precede the beginning of the file")),a}function L(e){return x(e)||A(e)}function x(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function A(e){return 10===e||13===e||8232===e||8233===e}function D(e){return e>=48&&e<=57}function C(e){return D(e)||e>=65&&e<=70||e>=97&&e<=102}function I(e){return e>=48&&e<=55}e.tokenToString=function(e){return h[e]},e.stringToToken=function(e){return i.get(e)},e.computeLineStarts=v,e.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):b(E(e),n,t,e.text,r)},e.computePositionOfLineAndCharacter=b,e.getLineStarts=E,e.computeLineAndCharacterOfPosition=T,e.computeLineOfPosition=S,e.getLinesBetweenPositions=function(e,n,t){if(n===t)return 0;var r=E(e),a=Math.min(n,t),i=a===t,o=i?n:t,s=S(r,a),c=S(r,o,s);return i?s-c:c-s},e.getLineAndCharacterOfPosition=function(e,n){return T(E(e),n)},e.isWhiteSpaceLike=L,e.isWhiteSpaceSingleLine=x,e.isLineBreak=A,e.isOctalDigit=I,e.couldStartTrivia=function(e,n){var t=e.charCodeAt(n);switch(t){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===n;default:return t>127}},e.skipTrivia=function(n,t,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(t))return t;for(;;){var i=n.charCodeAt(t);switch(i){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(a)break;if(47===n.charCodeAt(t+1)){for(t+=2;t<n.length&&!A(n.charCodeAt(t));)t++;continue}if(42===n.charCodeAt(t+1)){for(t+=2;t<n.length;){if(42===n.charCodeAt(t)&&47===n.charCodeAt(t+1)){t+=2;break}t++}continue}break;case 60:case 124:case 61:case 62:if(R(n,t)){t=k(n,t);continue}break;case 35:if(0===t&&P(n,t)){t=M(n,t);continue}break;default:if(i>127&&L(i)){t++;continue}}return t}};var N="<<<<<<<".length;function R(n,t){if(e.Debug.assert(t>=0),0===t||A(n.charCodeAt(t-1))){var r=n.charCodeAt(t);if(t+N<n.length){for(var a=0;a<N;a++)if(n.charCodeAt(t+a)!==r)return!1;return 61===r||32===n.charCodeAt(t+N)}}return!1}function k(n,t,r){r&&r(e.Diagnostics.Merge_conflict_marker_encountered,t,N);var a=n.charCodeAt(t),i=n.length;if(60===a||62===a)for(;t<i&&!A(n.charCodeAt(t));)t++;else for(e.Debug.assert(124===a||61===a);t<i;){var o=n.charCodeAt(t);if((61===o||62===o)&&o!==a&&R(n,t))break;t++}return t}var O=/^#!.*/;function P(n,t){return e.Debug.assert(0===t),O.test(n)}function M(e,n){return n+=O.exec(e)[0].length}function w(e,n,t,r,a,i,o){var s,c,l,u,d=!1,p=r,f=o;if(0===t){p=!0;var m=U(n);m&&(t=m.length)}e:for(;t>=0&&t<n.length;){var _=n.charCodeAt(t);switch(_){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)break e;p=!0,d&&(u=!0);continue;case 9:case 11:case 12:case 32:t++;continue;case 47:var g=n.charCodeAt(t+1),y=!1;if(47===g||42===g){var h=47===g?2:3,v=t;if(t+=2,47===g)for(;t<n.length;){if(A(n.charCodeAt(t))){y=!0;break}t++}else for(;t<n.length;){if(42===n.charCodeAt(t)&&47===n.charCodeAt(t+1)){t+=2;break}t++}if(p){if(d&&(f=a(s,c,l,u,i,f),!e&&f))return f;s=v,c=t,l=h,u=y,d=!0}continue}break e;default:if(_>127&&L(_)){d&&A(_)&&(u=!0),t++;continue}break e}}return d&&(f=a(s,c,l,u,i,f)),f}function F(e,n,t,r,a){return w(!0,e,n,!1,t,r,a)}function G(e,n,t,r,a){return w(!0,e,n,!0,t,r,a)}function B(e,n,t,r,a,i){return i||(i=[]),i.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function U(e){var n=O.exec(e);if(n)return n[0]}function V(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&g(e,n)}function j(e,n,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===t&&(45===e||58===e)||e>127&&function(e,n){return _(e,n>=2?p:1===n?u:c)}(e,n)}e.isShebangTrivia=P,e.scanShebangTrivia=M,e.forEachLeadingCommentRange=function(e,n,t,r){return w(!1,e,n,!1,t,r)},e.forEachTrailingCommentRange=function(e,n,t,r){return w(!1,e,n,!0,t,r)},e.reduceEachLeadingCommentRange=F,e.reduceEachTrailingCommentRange=G,e.getLeadingCommentRanges=function(e,n){return F(e,n,B,void 0,void 0)},e.getTrailingCommentRanges=function(e,n){return G(e,n,B,void 0,void 0)},e.getShebang=U,e.isIdentifierStart=V,e.isIdentifierPart=j,e.isIdentifierText=function(e,n,t){var r=K(e,0);if(!V(r,n))return!1;for(var a=H(r);a<e.length;a+=H(r))if(!j(r=K(e,a),n,t))return!1;return!0},e.createScanner=function(n,r,i,o,s,c,l){void 0===i&&(i=0);var u,d,p,_,g,y,h,v,b=o,E=0;ce(b,c,l);var T={getStartPos:function(){return p},getTextPos:function(){return u},getToken:function(){return g},getTokenPos:function(){return _},getTokenText:function(){return b.substring(_,u)},getTokenValue:function(){return y},hasUnicodeEscape:function(){return 0!=(1024&h)},hasExtendedUnicodeEscape:function(){return 0!=(8&h)},hasPrecedingLineBreak:function(){return 0!=(1&h)},hasPrecedingJSDocComment:function(){return 0!=(2&h)},isIdentifier:function(){return 78===g||g>115},isReservedWord:function(){return g>=80&&g<=115},isUnterminated:function(){return 0!=(4&h)},getCommentDirectives:function(){return v},getNumericLiteralFlags:function(){return 1008&h},getTokenFlags:function(){return h},reScanGreaterToken:function(){if(31===g){if(62===b.charCodeAt(u))return 62===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=71):(u+=2,g=49):61===b.charCodeAt(u+1)?(u+=2,g=70):(u++,g=48);if(61===b.charCodeAt(u))return u++,g=33}return g},reScanAsteriskEqualsToken:function(){return e.Debug.assert(65===g,"'reScanAsteriskEqualsToken' should only be called on a '*='"),u=_+1,g=62},reScanSlashToken:function(){if(43===g||67===g){for(var t=_+1,r=!1,a=!1;;){if(t>=d){h|=4,S(e.Diagnostics.Unterminated_regular_expression_literal);break}var i=b.charCodeAt(t);if(A(i)){h|=4,S(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===i&&!a){t++;break}91===i?a=!0:92===i?r=!0:93===i&&(a=!1)}t++}for(;t<d&&j(b.charCodeAt(t),n);)t++;u=t,y=b.substring(_,u),g=13}return g},reScanTemplateToken:function(n){return e.Debug.assert(19===g,"'reScanTemplateToken' should only be called on a '}'"),u=_,g=z(n)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return u=_,g=z(!0)},scanJsxIdentifier:function(){if(t(g))for(;u<d;){if(45!==b.charCodeAt(u)){var e=u;if(y+=$(),u===e)break}else y+="-",u++}return g},scanJsxAttributeValue:oe,reScanJsxAttributeValue:function(){return u=_=p,oe()},reScanJsxToken:function(){return u=_=p,g=ie()},reScanLessThanToken:function(){if(47===g)return u=_+1,g=29;return g},reScanQuestionToken:function(){return e.Debug.assert(60===g,"'reScanQuestionToken' should only be called on a '??'"),u=_+1,g=57},scanJsxToken:ie,scanJsDocToken:function(){if(p=_=u,h=0,u>=d)return g=1;var e=K(b,u);switch(u+=H(e),e){case 9:case 11:case 12:case 32:for(;u<d&&x(b.charCodeAt(u));)u++;return g=5;case 64:return g=59;case 13:10===b.charCodeAt(u)&&u++;case 10:return h|=1,g=4;case 42:return g=41;case 123:return g=18;case 125:return g=19;case 91:return g=22;case 93:return g=23;case 60:return g=29;case 62:return g=31;case 61:return g=62;case 44:return g=27;case 46:return g=24;case 96:return g=61;case 92:u--;var t=Z();if(t>=0&&V(t,n))return u+=3,h|=8,y=Y()+$(),g=ee();var r=Q();return r>=0&&V(r,n)?(u+=6,h|=1024,y=String.fromCharCode(r)+$(),g=ee()):(u++,g=0)}if(V(e,n)){for(var a=e;u<d&&j(a=K(b,u),n)||45===b.charCodeAt(u);)u+=H(a);return y=b.substring(_,u),92===a&&(y+=$()),g=ee()}return g=0},scan:re,getText:function(){return b},clearCommentDirectives:function(){v=void 0},setText:ce,setScriptTarget:function(e){n=e},setLanguageVariant:function(e){i=e},setOnError:function(e){s=e},setTextPos:le,setInJSDocType:function(e){E+=e?1:-1},tryScan:function(e){return se(e,!1)},lookAhead:function(e){return se(e,!0)},scanRange:function(e,n,t){var r=d,a=u,i=p,o=_,s=g,c=y,l=h,f=v;ce(b,e,n);var m=t();return d=r,u=a,p=i,_=o,g=s,y=c,h=l,v=f,m}};return e.Debug.isDebugging&&Object.defineProperty(T,"__debugShowCurrentPositionInText",{get:function(){var e=T.getText();return e.slice(0,T.getStartPos())+"║"+e.slice(T.getStartPos())}}),T;function S(e,n,t){if(void 0===n&&(n=u),s){var r=u;u=n,s(e,t||0),u=r}}function N(){for(var n=u,t=!1,r=!1,a="";;){var i=b.charCodeAt(u);if(95!==i){if(!D(i))break;t=!0,r=!1,u++}else h|=512,t?(t=!1,r=!0,a+=b.substring(n,u)):S(r?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),n=++u}return 95===b.charCodeAt(u-1)&&S(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),a+b.substring(n,u)}function O(){var n,t,r=u,a=N();46===b.charCodeAt(u)&&(u++,n=N());var i,o=u;if(69===b.charCodeAt(u)||101===b.charCodeAt(u)){u++,h|=16,43!==b.charCodeAt(u)&&45!==b.charCodeAt(u)||u++;var s=u,c=N();c?(t=b.substring(o,s)+c,o=u):S(e.Diagnostics.Digit_expected)}if(512&h?(i=a,n&&(i+="."+n),t&&(i+=t)):i=b.substring(r,o),void 0!==n||16&h)return w(r,void 0===n&&!!(16&h)),{type:8,value:""+ +i};y=i;var l=te();return w(r),{type:l,value:y}}function w(t,r){if(V(K(b,u),n)){var a=u,i=$().length;1===i&&"n"===b[a]?S(r?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,t,a-t+1):(S(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,a,i),u=a)}}function F(){for(var e=u;I(b.charCodeAt(u));)u++;return+b.substring(e,u)}function G(e,n){var t=U(e,!1,n);return t?parseInt(t,16):-1}function B(e,n){return U(e,!0,n)}function U(n,t,r){for(var a=[],i=!1,o=!1;a.length<n||t;){var s=b.charCodeAt(u);if(r&&95===s)h|=512,i?(i=!1,o=!0):S(o?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++;else{if(i=r,s>=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;a.push(s),u++,o=!1}}return a.length<n&&(a=[]),95===b.charCodeAt(u-1)&&S(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),String.fromCharCode.apply(String,a)}function W(n){void 0===n&&(n=!1);for(var t=b.charCodeAt(u),r="",a=++u;;){if(u>=d){r+=b.substring(a,u),h|=4,S(e.Diagnostics.Unterminated_string_literal);break}var i=b.charCodeAt(u);if(i===t){r+=b.substring(a,u),u++;break}if(92!==i||n){if(A(i)&&!n){r+=b.substring(a,u),h|=4,S(e.Diagnostics.Unterminated_string_literal);break}u++}else r+=b.substring(a,u),r+=J(),a=u}return r}function z(n){for(var t,r=96===b.charCodeAt(u),a=++u,i="";;){if(u>=d){i+=b.substring(a,u),h|=4,S(e.Diagnostics.Unterminated_template_literal),t=r?14:17;break}var o=b.charCodeAt(u);if(96===o){i+=b.substring(a,u),u++,t=r?14:17;break}if(36===o&&u+1<d&&123===b.charCodeAt(u+1)){i+=b.substring(a,u),u+=2,t=r?15:16;break}92!==o?13!==o?u++:(i+=b.substring(a,u),++u<d&&10===b.charCodeAt(u)&&u++,i+="\n",a=u):(i+=b.substring(a,u),i+=J(n),a=u)}return e.Debug.assert(void 0!==t),y=i,t}function J(n){var t=u;if(++u>=d)return S(e.Diagnostics.Unexpected_end_of_text),"";var r=b.charCodeAt(u);switch(u++,r){case 48:return n&&u<d&&D(b.charCodeAt(u))?(u++,h|=2048,b.substring(t,u)):"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(n)for(var a=u;a<u+4;a++)if(a<d&&!C(b.charCodeAt(a))&&123!==b.charCodeAt(a))return u=a,h|=2048,b.substring(t,u);if(u<d&&123===b.charCodeAt(u)){if(u++,n&&!C(b.charCodeAt(u)))return h|=2048,b.substring(t,u);if(n){var i=u,o=B(1,!1),s=o?parseInt(o,16):-1;if(!(s<=1114111&&125===b.charCodeAt(u)))return h|=2048,b.substring(t,u);u=i}return h|=8,Y()}return h|=1024,X(4);case 120:if(n){if(!C(b.charCodeAt(u)))return h|=2048,b.substring(t,u);if(!C(b.charCodeAt(u+1)))return u++,h|=2048,b.substring(t,u)}return X(2);case 13:u<d&&10===b.charCodeAt(u)&&u++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(r)}}function X(n){var t=G(n,!1);return t>=0?String.fromCharCode(t):(S(e.Diagnostics.Hexadecimal_digit_expected),"")}function Y(){var n=B(1,!1),t=n?parseInt(n,16):-1,r=!1;return t<0?(S(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(S(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),u>=d?(S(e.Diagnostics.Unexpected_end_of_text),r=!0):125===b.charCodeAt(u)?u++:(S(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":q(t)}function Q(){if(u+5<d&&117===b.charCodeAt(u+1)){var e=u;u+=2;var n=G(4,!1);return u=e,n}return-1}function Z(){if(n>=2&&117===K(b,u+1)&&123===K(b,u+2)){var e=u;u+=3;var t=B(1,!1),r=t?parseInt(t,16):-1;return u=e,r}return-1}function $(){for(var e="",t=u;u<d;){var r=K(b,u);if(j(r,n))u+=H(r);else{if(92!==r)break;if((r=Z())>=0&&j(r,n)){u+=3,h|=8,e+=Y(),t=u;continue}if(!((r=Q())>=0&&j(r,n)))break;h|=1024,e+=b.substring(t,u),e+=q(r),t=u+=6}}return e+=b.substring(t,u)}function ee(){var e=y.length;if(e>=2&&e<=11){var n=y.charCodeAt(0);if(n>=97&&n<=122){var t=a.get(y);if(void 0!==t)return g=t}}return g=78}function ne(n){for(var t="",r=!1,a=!1;;){var i=b.charCodeAt(u);if(95!==i){if(r=!0,!D(i)||i-48>=n)break;t+=b[u],u++,a=!1}else h|=512,r?(r=!1,a=!0):S(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++}return 95===b.charCodeAt(u-1)&&S(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),t}function te(){if(110===b.charCodeAt(u))return y+="n",384&h&&(y=e.parsePseudoBigInt(y)+"n"),u++,9;var n=128&h?parseInt(y.slice(2),2):256&h?parseInt(y.slice(2),8):+y;return y=""+n,8}function re(){var t;p=u,h=0;for(var a=!1;;){if(_=u,u>=d)return g=1;var o=K(b,u);if(35===o&&0===u&&P(b,u)){if(u=M(b,u),r)continue;return g=6}switch(o){case 10:case 13:if(h|=1,r){u++;continue}return 13===o&&u+1<d&&10===b.charCodeAt(u+1)?u+=2:u++,g=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(r){u++;continue}for(;u<d&&x(b.charCodeAt(u));)u++;return g=5;case 33:return 61===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=37):(u+=2,g=35):(u++,g=53);case 34:case 39:return y=W(),g=10;case 96:return g=z(!1);case 37:return 61===b.charCodeAt(u+1)?(u+=2,g=68):(u++,g=44);case 38:return 38===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=75):(u+=2,g=55):61===b.charCodeAt(u+1)?(u+=2,g=72):(u++,g=50);case 40:return u++,g=20;case 41:return u++,g=21;case 42:if(61===b.charCodeAt(u+1))return u+=2,g=65;if(42===b.charCodeAt(u+1))return 61===b.charCodeAt(u+2)?(u+=3,g=66):(u+=2,g=42);if(u++,E&&!a&&1&h){a=!0;continue}return g=41;case 43:return 43===b.charCodeAt(u+1)?(u+=2,g=45):61===b.charCodeAt(u+1)?(u+=2,g=63):(u++,g=39);case 44:return u++,g=27;case 45:return 45===b.charCodeAt(u+1)?(u+=2,g=46):61===b.charCodeAt(u+1)?(u+=2,g=64):(u++,g=40);case 46:return D(b.charCodeAt(u+1))?(y=O().value,g=8):46===b.charCodeAt(u+1)&&46===b.charCodeAt(u+2)?(u+=3,g=25):(u++,g=24);case 47:if(47===b.charCodeAt(u+1)){for(u+=2;u<d&&!A(b.charCodeAt(u));)u++;if(v=ae(v,b.slice(_,u),f,_),r)continue;return g=2}if(42===b.charCodeAt(u+1)){u+=2,42===b.charCodeAt(u)&&47!==b.charCodeAt(u+1)&&(h|=2);for(var s=!1,c=_;u<d;){var l=b.charCodeAt(u);if(42===l&&47===b.charCodeAt(u+1)){u+=2,s=!0;break}u++,A(l)&&(c=u,h|=1)}if(v=ae(v,b.slice(c,u),m,c),s||S(e.Diagnostics.Asterisk_Slash_expected),r)continue;return s||(h|=4),g=3}return 61===b.charCodeAt(u+1)?(u+=2,g=67):(u++,g=43);case 48:if(u+2<d&&(88===b.charCodeAt(u+1)||120===b.charCodeAt(u+1)))return u+=2,(y=B(1,!0))||(S(e.Diagnostics.Hexadecimal_digit_expected),y="0"),y="0x"+y,h|=64,g=te();if(u+2<d&&(66===b.charCodeAt(u+1)||98===b.charCodeAt(u+1)))return u+=2,(y=ne(2))||(S(e.Diagnostics.Binary_digit_expected),y="0"),y="0b"+y,h|=128,g=te();if(u+2<d&&(79===b.charCodeAt(u+1)||111===b.charCodeAt(u+1)))return u+=2,(y=ne(8))||(S(e.Diagnostics.Octal_digit_expected),y="0"),y="0o"+y,h|=256,g=te();if(u+1<d&&I(b.charCodeAt(u+1)))return y=""+F(),h|=32,g=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t=O(),g=t.type,y=t.value,g;case 58:return u++,g=58;case 59:return u++,g=26;case 60:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return 60===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=69):(u+=2,g=47):61===b.charCodeAt(u+1)?(u+=2,g=32):1===i&&47===b.charCodeAt(u+1)&&42!==b.charCodeAt(u+2)?(u+=2,g=30):(u++,g=29);case 61:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return 61===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=36):(u+=2,g=34):62===b.charCodeAt(u+1)?(u+=2,g=38):(u++,g=62);case 62:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return u++,g=31;case 63:return 46!==b.charCodeAt(u+1)||D(b.charCodeAt(u+2))?63===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=76):(u+=2,g=60):(u++,g=57):(u+=2,g=28);case 91:return u++,g=22;case 93:return u++,g=23;case 94:return 61===b.charCodeAt(u+1)?(u+=2,g=77):(u++,g=52);case 123:return u++,g=18;case 124:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return 124===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=74):(u+=2,g=56):61===b.charCodeAt(u+1)?(u+=2,g=73):(u++,g=51);case 125:return u++,g=19;case 126:return u++,g=54;case 64:return u++,g=59;case 92:var T=Z();if(T>=0&&V(T,n))return u+=3,h|=8,y=Y()+$(),g=ee();var L=Q();return L>=0&&V(L,n)?(u+=6,h|=1024,y=String.fromCharCode(L)+$(),g=ee()):(S(e.Diagnostics.Invalid_character),u++,g=0);case 35:if(0!==u&&"!"===b[u+1])return S(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),u++,g=0;if(u++,V(o=b.charCodeAt(u),n)){for(u++;u<d&&j(o=b.charCodeAt(u),n);)u++;y=b.substring(_,u),92===o&&(y+=$())}else y="#",S(e.Diagnostics.Invalid_character);return g=79;default:if(V(o,n)){for(u+=H(o);u<d&&j(o=K(b,u),n);)u+=H(o);return y=b.substring(_,u),92===o&&(y+=$()),g=ee()}if(x(o)){u+=H(o);continue}if(A(o)){h|=1,u+=H(o);continue}return S(e.Diagnostics.Invalid_character),u+=H(o),g=0}}}function ae(n,t,r,a){var i=function(e,n){var t=n.exec(e);if(!t)return;switch(t[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}return}(t,r);return void 0===i?n:e.append(n,{range:{pos:a,end:u},type:i})}function ie(){if(p=_=u,u>=d)return g=1;var n=b.charCodeAt(u);if(60===n)return 47===b.charCodeAt(u+1)?(u+=2,g=30):(u++,g=29);if(123===n)return u++,g=18;for(var t=0,r=-1;u<d&&(x(n)||(r=u),123!==(n=b.charCodeAt(u)));){if(60===n){if(R(b,u))return u=k(b,u,S),g=7;break}62===n&&S(e.Diagnostics.Unexpected_token_Did_you_mean_or_gt,u,1),125===n&&S(e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,u,1),r>0&&r++,A(n)&&0===t?t=-1:L(n)||(t=u),u++}var a=-1===r?u:r;return y=b.substring(p,a),-1===t?12:11}function oe(){switch(p=u,b.charCodeAt(u)){case 34:case 39:return y=W(!0),g=10;default:return re()}}function se(e,n){var t=u,r=p,a=_,i=g,o=y,s=h,c=e();return c&&!n||(u=t,p=r,_=a,g=i,y=o,h=s),c}function ce(e,n,t){b=e||"",d=void 0===t?b.length:n+t,le(n||0)}function le(n){e.Debug.assert(n>=0),u=n,p=n,_=n,g=0,y=void 0,h=0}};var K=String.prototype.codePointAt?function(e,n){return e.codePointAt(n)}:function(e,n){var t=e.length;if(!(n<0||n>=t)){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&t>n+1){var a=e.charCodeAt(n+1);if(a>=56320&&a<=57343)return 1024*(r-55296)+a-56320+65536}return r}};function H(e){return e>=65536?2:1}var W=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(n){if(e.Debug.assert(0<=n&&n<=1114111),n<=65535)return String.fromCharCode(n);var t=Math.floor((n-65536)/1024)+55296,r=(n-65536)%1024+56320;return String.fromCharCode(t,r)};function q(e){return W(e)}e.utf16EncodeAsString=q}(p||(p={})),function(e){function n(e){return e.start+e.length}function t(e){return 0===e.length}function r(e,n){var t=i(e,n);return t&&0===t.length?void 0:t}function a(e,n,t,r){return t<=e+n&&t+r>=e}function i(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));return r<=a?s(r,a):void 0}function o(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function s(e,n){return o(e,n-e)}function c(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function l(n){return!!Y(n)&&e.every(n.elements,u)}function u(n){return!!e.isOmittedExpression(n)||l(n.name)}function d(n){for(var t=n.parent;e.isBindingElement(t.parent);)t=t.parent.parent;return t.parent}function p(n,t){e.isBindingElement(n)&&(n=d(n));var r=t(n);return 246===n.kind&&(n=n.parent),n&&247===n.kind&&(r|=t(n),n=n.parent),n&&229===n.kind&&(r|=t(n)),r}function f(e){return 0==(8&e.flags)}function m(e){var n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function _(e){return m(e.escapedText)}function g(n){var t=n.parent.parent;if(t){if(ie(t))return y(t);switch(t.kind){case 229:if(t.declarationList&&t.declarationList.declarations[0])return y(t.declarationList.declarations[0]);break;case 230:var r=t.expression;switch(213===r.kind&&62===r.operatorToken.kind&&(r=r.left),r.kind){case 198:return r.name;case 199:var a=r.argumentExpression;if(e.isIdentifier(a))return a}break;case 204:return y(t.expression);case 242:if(ie(t.statement)||ne(t.statement))return y(t.statement)}}}function y(n){var t=E(n);return t&&e.isIdentifier(t)?t:void 0}function h(e){return e.name||g(e)}function v(e){return!!e.name}function b(n){switch(n.kind){case 78:return n;case 328:case 322:var t=n.name;if(156===t.kind)return t.right;break;case 200:case 213:var r=n;switch(e.getAssignmentDeclarationKind(r)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}case 327:return h(n);case 321:return g(n);case 263:var a=n.expression;return e.isIdentifier(a)?a:void 0;case 199:var i=n;if(e.isBindableStaticElementAccessExpression(i))return i.argumentExpression}return n.name}function E(n){if(void 0!==n)return b(n)||(e.isFunctionExpression(n)||e.isClassExpression(n)?T(n):void 0)}function T(n){if(n.parent){if(e.isPropertyAssignment(n.parent)||e.isBindingElement(n.parent))return n.parent.name;if(e.isBinaryExpression(n.parent)&&n===n.parent.right){if(e.isIdentifier(n.parent.left))return n.parent.left;if(e.isAccessExpression(n.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(n.parent.left)}else if(e.isVariableDeclaration(n.parent)&&e.isIdentifier(n.parent.name))return n.parent.name}}function S(n,t){if(n.name){if(e.isIdentifier(n.name)){var r=n.name.escapedText;return I(n.parent,t).filter((function(n){return e.isJSDocParameterTag(n)&&e.isIdentifier(n.name)&&n.name.escapedText===r}))}var a=n.parent.parameters.indexOf(n);e.Debug.assert(a>-1,"Parameters should always be in their parents' parameter list");var i=I(n.parent,t).filter(e.isJSDocParameterTag);if(a<i.length)return[i[a]]}return e.emptyArray}function L(e){return S(e,!1)}function x(n,t){var r=n.name.escapedText;return I(n.parent,t).filter((function(n){return e.isJSDocTemplateTag(n)&&n.typeParameters.some((function(e){return e.name.escapedText===r}))}))}function A(n){return R(n,e.isJSDocReturnTag)}function D(n){var t=R(n,e.isJSDocTypeTag);if(t&&t.typeExpression&&t.typeExpression.type)return t}function C(n){var t=R(n,e.isJSDocTypeTag);return!t&&e.isParameter(n)&&(t=e.find(L(n),(function(e){return!!e.typeExpression}))),t&&t.typeExpression&&t.typeExpression.type}function I(n,t){var r=n.jsDocCache;if(void 0===r||t){var a=e.getJSDocCommentsAndTags(n,t);e.Debug.assert(a.length<2||a[0]!==a[1]),r=e.flatMap(a,(function(n){return e.isJSDoc(n)?n.tags:n})),t||(n.jsDocCache=r)}return r}function N(e){return I(e,!1)}function R(n,t,r){return e.find(I(n,r),t)}function k(e,n){return N(e).filter(n)}function O(e){var n=e.kind;return!!(32&e.flags)&&(198===n||199===n||200===n||222===n)}function P(n){return O(n)&&!e.isNonNullExpression(n)&&!!n.questionDotToken}function M(n){return e.skipOuterExpressions(n,8)}function w(e){switch(e.kind){case 291:case 292:return!0;default:return!1}}function F(e){return e>=156}function G(e){return 8<=e&&e<=14}function B(e){return 14<=e&&e<=17}function U(n){return e.isPropertyDeclaration(n)&&e.isPrivateIdentifier(n.name)}function V(e){switch(e){case 125:case 129:case 84:case 133:case 87:case 92:case 122:case 120:case 121:case 141:case 123:return!0}return!1}function j(n){return!!(92&e.modifierToFlag(n))}function K(e){return e&&W(e.kind)}function H(e){switch(e){case 248:case 164:case 165:case 166:case 167:case 205:case 206:return!0;default:return!1}}function W(e){switch(e){case 163:case 168:case 309:case 169:case 170:case 173:case 304:case 174:return!0;default:return H(e)}}function q(e){var n=e.kind;return 165===n||162===n||164===n||166===n||167===n||170===n||226===n}function z(e){return e&&(249===e.kind||218===e.kind)}function J(e){var n=e.kind;return 169===n||168===n||161===n||163===n||170===n}function X(e){var n=e.kind;return 285===n||286===n||287===n||164===n||166===n||167===n}function Y(e){if(e){var n=e.kind;return 194===n||193===n}return!1}function Q(e){switch(e.kind){case 193:case 197:return!0}return!1}function Z(e){switch(e.kind){case 194:case 196:return!0}return!1}function $(e){switch(e){case 198:case 199:case 201:case 200:case 270:case 271:case 274:case 202:case 196:case 204:case 197:case 218:case 205:case 78:case 13:case 8:case 9:case 10:case 14:case 215:case 94:case 103:case 107:case 109:case 105:case 222:case 223:case 99:return!0;default:return!1}}function ee(e){switch(e){case 211:case 212:case 207:case 208:case 209:case 210:case 203:return!0;default:return $(e)}}function ne(e){return function(e){switch(e){case 214:case 216:case 206:case 213:case 217:case 221:case 219:case 332:case 331:return!0;default:return ee(e)}}(M(e).kind)}function te(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function re(e){return 248===e||268===e||249===e||250===e||251===e||252===e||253===e||258===e||257===e||264===e||263===e||256===e}function ae(e){return 238===e||237===e||245===e||232===e||230===e||228===e||235===e||236===e||234===e||231===e||242===e||239===e||241===e||243===e||244===e||229===e||233===e||240===e||330===e||334===e||333===e}function ie(n){return 158===n.kind?n.parent&&326!==n.parent.kind||e.isInJSFile(n):206===(t=n.kind)||195===t||249===t||218===t||165===t||252===t||288===t||267===t||248===t||205===t||166===t||259===t||257===t||262===t||250===t||277===t||164===t||163===t||253===t||256===t||260===t||266===t||159===t||285===t||162===t||161===t||167===t||286===t||251===t||158===t||246===t||327===t||320===t||328===t;var t}function oe(e){return e.kind>=310&&e.kind<=328}e.isExternalModuleNameRelative=function(n){return e.pathIsRelative(n)||e.isRootedDiskPath(n)},e.sortAndDeduplicateDiagnostics=function(n){return e.sortAndDeduplicate(n,e.compareDiagnostics)},e.getDefaultLibFileName=function(e){switch(e.target){case 99:return"lib.esnext.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}},e.textSpanEnd=n,e.textSpanIsEmpty=t,e.textSpanContainsPosition=function(e,t){return t>=e.start&&t<n(e)},e.textRangeContainsPositionInclusive=function(e,n){return n>=e.pos&&n<=e.end},e.textSpanContainsTextSpan=function(e,t){return t.start>=e.start&&n(t)<=n(e)},e.textSpanOverlapsWith=function(e,n){return void 0!==r(e,n)},e.textSpanOverlap=r,e.textSpanIntersectsWithTextSpan=function(e,n){return a(e.start,e.length,n.start,n.length)},e.textSpanIntersectsWith=function(e,n,t){return a(e.start,e.length,n,t)},e.decodedTextSpanIntersectsWith=a,e.textSpanIntersectsWithPosition=function(e,t){return t<=n(e)&&t>=e.start},e.textSpanIntersection=i,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return t(e.span)&&0===e.newLength},e.createTextChangeRange=c,e.unchangedTextChangeRange=c(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var r=t[0],a=r.span.start,i=n(r.span),o=a+r.newLength,l=1;l<t.length;l++){var u=t[l],d=a,p=i,f=o,m=u.span.start,_=n(u.span),g=m+u.newLength;a=Math.min(d,m),i=Math.max(p,p+(_-f)),o=Math.max(g,g+(f-_))}return c(s(a,i),o-a)},e.getTypeParameterOwner=function(e){if(e&&158===e.kind)for(var n=e;n;n=n.parent)if(K(n)||z(n)||250===n.kind)return n},e.isParameterPropertyDeclaration=function(n,t){return e.hasSyntacticModifier(n,92)&&165===t.kind},e.isEmptyBindingPattern=l,e.isEmptyBindingElement=u,e.walkUpBindingElementsAndPatterns=d,e.getCombinedModifierFlags=function(n){return p(n,e.getEffectiveModifierFlags)},e.getCombinedNodeFlagsAlwaysIncludeJSDoc=function(n){return p(n,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc)},e.getCombinedNodeFlags=function(e){return p(e,(function(e){return e.flags}))},e.validateLocaleAndSetLanguage=function(n,t,r){var a=/^([a-z]+)([_\-]([a-z]+))?$/.exec(n.toLowerCase());if(a){var i=a[1];o(i,a[3],r)||o(i,void 0,r),e.setUILocale(n)}else r&&r.push(e.createCompilerDiagnostic(e.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));function o(n,r,a){var i=e.normalizePath(t.getExecutingFilePath()),o=e.getDirectoryPath(i),s=e.combinePaths(o,n);if(r&&(s=s+"-"+r),s=t.resolvePath(e.combinePaths(s,"diagnosticMessages.generated.json")),!t.fileExists(s))return!1;var c="";try{c=t.readFile(s)}catch(n){return a&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file_0,s)),!1}try{e.setLocalizedDiagnosticMessages(JSON.parse(c))}catch(n){return a&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Corrupted_locale_file_0,s)),!1}return!0}},e.getOriginalNode=function(e,n){if(e)for(;void 0!==e.original;)e=e.original;return!n||n(e)?e:void 0},e.isParseTreeNode=f,e.getParseTreeNode=function(e,n){if(void 0===e||f(e))return e;for(e=e.original;e;){if(f(e))return!n||n(e)?e:void 0;e=e.original}},e.escapeLeadingUnderscores=function(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=m,e.idText=_,e.symbolName=function(e){return e.valueDeclaration&&U(e.valueDeclaration)?_(e.valueDeclaration.name):m(e.escapedName)},e.nodeHasName=function n(t,r){return!(!v(t)||!e.isIdentifier(t.name)||_(t.name)!==_(r))||!(!e.isVariableStatement(t)||!e.some(t.declarationList.declarations,(function(e){return n(e,r)})))},e.getNameOfJSDocTypedef=h,e.isNamedDeclaration=v,e.getNonAssignedNameOfDeclaration=b,e.getNameOfDeclaration=E,e.getAssignedName=T,e.getJSDocParameterTags=L,e.getJSDocParameterTagsNoCache=function(e){return S(e,!0)},e.getJSDocTypeParameterTags=function(e){return x(e,!1)},e.getJSDocTypeParameterTagsNoCache=function(e){return x(e,!0)},e.hasJSDocParameterTags=function(n){return!!R(n,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(n){return R(n,e.isJSDocAugmentsTag)},e.getJSDocImplementsTags=function(n){return k(n,e.isJSDocImplementsTag)},e.getJSDocClassTag=function(n){return R(n,e.isJSDocClassTag)},e.getJSDocPublicTag=function(n){return R(n,e.isJSDocPublicTag)},e.getJSDocPublicTagNoCache=function(n){return R(n,e.isJSDocPublicTag,!0)},e.getJSDocPrivateTag=function(n){return R(n,e.isJSDocPrivateTag)},e.getJSDocPrivateTagNoCache=function(n){return R(n,e.isJSDocPrivateTag,!0)},e.getJSDocProtectedTag=function(n){return R(n,e.isJSDocProtectedTag)},e.getJSDocProtectedTagNoCache=function(n){return R(n,e.isJSDocProtectedTag,!0)},e.getJSDocReadonlyTag=function(n){return R(n,e.isJSDocReadonlyTag)},e.getJSDocReadonlyTagNoCache=function(n){return R(n,e.isJSDocReadonlyTag,!0)},e.getJSDocDeprecatedTag=function(n){return R(n,e.isJSDocDeprecatedTag)},e.getJSDocDeprecatedTagNoCache=function(n){return R(n,e.isJSDocDeprecatedTag,!0)},e.getJSDocEnumTag=function(n){return R(n,e.isJSDocEnumTag)},e.getJSDocThisTag=function(n){return R(n,e.isJSDocThisTag)},e.getJSDocReturnTag=A,e.getJSDocTemplateTag=function(n){return R(n,e.isJSDocTemplateTag)},e.getJSDocTypeTag=D,e.getJSDocType=C,e.getJSDocReturnType=function(n){var t=A(n);if(t&&t.typeExpression)return t.typeExpression.type;var r=D(n);if(r&&r.typeExpression){var a=r.typeExpression.type;if(e.isTypeLiteralNode(a)){var i=e.find(a.members,e.isCallSignatureDeclaration);return i&&i.type}if(e.isFunctionTypeNode(a)||e.isJSDocFunctionType(a))return a.type}},e.getJSDocTags=N,e.getJSDocTagsNoCache=function(e){return I(e,!0)},e.getAllJSDocTags=k,e.getAllJSDocTagsOfKind=function(e,n){return N(e).filter((function(e){return e.kind===n}))},e.getEffectiveTypeParameterDeclarations=function(n){if(e.isJSDocSignature(n))return e.emptyArray;if(e.isJSDocTypeAlias(n))return e.Debug.assert(307===n.parent.kind),e.flatMap(n.parent.tags,(function(n){return e.isJSDocTemplateTag(n)?n.typeParameters:void 0}));if(n.typeParameters)return n.typeParameters;if(e.isInJSFile(n)){var t=e.getJSDocTypeParameterDeclarations(n);if(t.length)return t;var r=C(n);if(r&&e.isFunctionTypeNode(r)&&r.typeParameters)return r.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(n){return n.constraint?n.constraint:e.isJSDocTemplateTag(n.parent)&&n===n.parent.typeParameters[0]?n.parent.constraint:void 0},e.isIdentifierOrPrivateIdentifier=function(e){return 78===e.kind||79===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 167===e.kind||166===e.kind},e.isPropertyAccessChain=function(n){return e.isPropertyAccessExpression(n)&&!!(32&n.flags)},e.isElementAccessChain=function(n){return e.isElementAccessExpression(n)&&!!(32&n.flags)},e.isCallChain=function(n){return e.isCallExpression(n)&&!!(32&n.flags)},e.isOptionalChain=O,e.isOptionalChainRoot=P,e.isExpressionOfOptionalChainRoot=function(e){return P(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!O(e.parent)||P(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 213===e.kind&&60===e.operatorToken.kind},e.isConstTypeReference=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"const"===n.typeName.escapedText&&!n.typeArguments},e.skipPartiallyEmittedExpressions=M,e.isNonNullChain=function(n){return e.isNonNullExpression(n)&&!!(32&n.flags)},e.isBreakOrContinueStatement=function(e){return 238===e.kind||237===e.kind},e.isNamedExportBindings=function(e){return 266===e.kind||265===e.kind},e.isUnparsedTextLike=w,e.isUnparsedNode=function(e){return w(e)||289===e.kind||293===e.kind},e.isJSDocPropertyLikeTag=function(e){return 328===e.kind||322===e.kind},e.isNode=function(e){return F(e.kind)},e.isNodeKind=F,e.isToken=function(e){return e.kind>=0&&e.kind<=155},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=G,e.isLiteralExpression=function(e){return G(e.kind)},e.isTemplateLiteralKind=B,e.isTemplateLiteralToken=function(e){return B(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var n=e.kind;return 16===n||17===n},e.isImportOrExportSpecifier=function(n){return e.isImportSpecifier(n)||e.isExportSpecifier(n)},e.isTypeOnlyImportOrExportDeclaration=function(e){switch(e.kind){case 262:case 267:return e.parent.parent.isTypeOnly;case 260:return e.parent.isTypeOnly;case 259:return e.isTypeOnly;default:return!1}},e.isStringTextContainingNode=function(e){return 10===e.kind||B(e.kind)},e.isGeneratedIdentifier=function(n){return e.isIdentifier(n)&&(7&n.autoGenerateFlags)>0},e.isPrivateIdentifierPropertyDeclaration=U,e.isPrivateIdentifierPropertyAccessExpression=function(n){return e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name)},e.isModifierKind=V,e.isParameterPropertyModifier=j,e.isClassMemberModifier=function(e){return j(e)||123===e},e.isModifier=function(e){return V(e.kind)},e.isEntityName=function(e){var n=e.kind;return 156===n||78===n},e.isPropertyName=function(e){var n=e.kind;return 78===n||79===n||10===n||8===n||157===n},e.isBindingName=function(e){var n=e.kind;return 78===n||193===n||194===n},e.isFunctionLike=K,e.isFunctionLikeDeclaration=function(e){return e&&H(e.kind)},e.isFunctionLikeKind=W,e.isFunctionOrModuleBlock=function(n){return e.isSourceFile(n)||e.isModuleBlock(n)||e.isBlock(n)&&K(n.parent)},e.isClassElement=q,e.isClassLike=z,e.isAccessor=function(e){return e&&(166===e.kind||167===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 164:case 166:case 167:return!0;default:return!1}},e.isTypeElement=J,e.isClassOrTypeElement=function(e){return J(e)||q(e)},e.isObjectLiteralElementLike=X,e.isTypeNode=function(n){return e.isTypeNodeKind(n.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 173:case 174:return!0}return!1},e.isBindingPattern=Y,e.isAssignmentPattern=function(e){var n=e.kind;return 196===n||197===n},e.isArrayBindingElement=function(e){var n=e.kind;return 195===n||219===n},e.isDeclarationBindingElement=function(e){switch(e.kind){case 246:case 159:case 195:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return Q(e)||Z(e)},e.isObjectBindingOrAssignmentPattern=Q,e.isArrayBindingOrAssignmentPattern=Z,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var n=e.kind;return 198===n||156===n||192===n},e.isPropertyAccessOrQualifiedName=function(e){var n=e.kind;return 198===n||156===n},e.isCallLikeExpression=function(e){switch(e.kind){case 272:case 271:case 200:case 201:case 202:case 160:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 200===e.kind||201===e.kind},e.isTemplateLiteral=function(e){var n=e.kind;return 215===n||14===n},e.isLeftHandSideExpression=function(e){return $(M(e).kind)},e.isUnaryExpression=function(e){return ee(M(e).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 212:return!0;case 211:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=ne,e.isAssertionExpression=function(e){var n=e.kind;return 203===n||221===n},e.isNotEmittedOrPartiallyEmittedNode=function(n){return e.isNotEmittedStatement(n)||e.isPartiallyEmittedExpression(n)},e.isIterationStatement=function e(n,t){switch(n.kind){case 234:case 235:case 236:case 232:case 233:return!0;case 242:return t&&e(n.statement,t)}return!1},e.isScopeMarker=te,e.hasScopeMarker=function(n){return e.some(n,te)},e.needsScopeMarker=function(n){return!(e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasSyntacticModifier(n,1)||e.isAmbientModule(n))},e.isExternalModuleIndicator=function(n){return e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasSyntacticModifier(n,1)},e.isForInOrOfStatement=function(e){return 235===e.kind||236===e.kind},e.isConciseBody=function(n){return e.isBlock(n)||ne(n)},e.isFunctionBody=function(n){return e.isBlock(n)},e.isForInitializer=function(n){return e.isVariableDeclarationList(n)||ne(n)},e.isModuleBody=function(e){var n=e.kind;return 254===n||253===n||78===n},e.isNamespaceBody=function(e){var n=e.kind;return 254===n||253===n},e.isJSDocNamespaceBody=function(e){var n=e.kind;return 78===n||253===n},e.isNamedImportBindings=function(e){var n=e.kind;return 261===n||260===n},e.isModuleOrEnumDeclaration=function(e){return 253===e.kind||252===e.kind},e.isDeclaration=ie,e.isDeclarationStatement=function(e){return re(e.kind)},e.isStatementButNotDeclaration=function(e){return ae(e.kind)},e.isStatement=function(n){var t=n.kind;return ae(t)||re(t)||function(n){if(227!==n.kind)return!1;if(void 0!==n.parent&&(244===n.parent.kind||284===n.parent.kind))return!1;return!e.isFunctionBlock(n)}(n)},e.isStatementOrBlock=function(e){var n=e.kind;return ae(n)||re(n)||227===n},e.isModuleReference=function(e){var n=e.kind;return 269===n||156===n||78===n},e.isJsxTagNameExpression=function(e){var n=e.kind;return 107===n||78===n||198===n},e.isJsxChild=function(e){var n=e.kind;return 270===n||280===n||271===n||11===n||274===n},e.isJsxAttributeLike=function(e){var n=e.kind;return 277===n||279===n},e.isStringLiteralOrJsxExpression=function(e){var n=e.kind;return 10===n||280===n},e.isJsxOpeningLikeElement=function(e){var n=e.kind;return 272===n||271===n},e.isCaseOrDefaultClause=function(e){var n=e.kind;return 281===n||282===n},e.isJSDocNode=function(e){return e.kind>=298&&e.kind<=328},e.isJSDocCommentContainingNode=function(n){return 307===n.kind||306===n.kind||oe(n)||e.isJSDocTypeLiteral(n)||e.isJSDocSignature(n)},e.isJSDocTag=oe,e.isSetAccessor=function(e){return 167===e.kind},e.isGetAccessor=function(e){return 166===e.kind},e.hasJSDocNodes=function(e){var n=e.jsDoc;return!!n&&n.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=function(e){return!!e.initializer},e.hasOnlyExpressionInitializer=function(e){switch(e.kind){case 246:case 159:case 195:case 161:case 162:case 285:case 288:return!0;default:return!1}},e.isObjectLiteralElement=function(e){return 277===e.kind||279===e.kind||X(e)},e.isTypeReferenceType=function(e){return 172===e.kind||220===e.kind};e.guessIndentation=function(n){for(var t=1073741823,r=0,a=n;r<a.length;r++){var i=a[r];if(i.length){for(var o=0;o<i.length&&o<t&&e.isWhiteSpaceLike(i.charCodeAt(o));o++);if(o<t&&(t=o),0===t)return 0}}return 1073741823===t?void 0:t},e.isStringLiteralLike=function(e){return 10===e.kind||14===e.kind}}(p||(p={})),function(e){e.resolvingEmptyArray=[],e.externalHelpersModuleNameText="tslib",e.defaultMaximumTruncationLength=160,e.noTruncationMaximumTruncationLength=1e6,e.getDeclarationOfKind=function(e,n){var t=e.declarations;if(t)for(var r=0,a=t;r<a.length;r++){var i=a[r];if(i.kind===n)return i}},e.createUnderscoreEscapedMap=function(){return new e.Map},e.hasEntries=function(e){return!!e&&!!e.size},e.createSymbolTable=function(n){var t=new e.Map;if(n)for(var r=0,a=n;r<a.length;r++){var i=a[r];t.set(i.escapedName,i)}return t},e.isTransientSymbol=function(e){return 0!=(33554432&e.flags)};var n,t,r=(n="",{getText:function(){return n},write:t=function(e){return n+=e},rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:function(e,n){return t(e)},writeTrailingSemicolon:t,writeComment:t,getTextPos:function(){return n.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!n.length&&e.isWhiteSpaceLike(n.charCodeAt(n.length-1))},writeLine:function(){return n+=" "},increaseIndent:e.noop,decreaseIndent:e.noop,clear:function(){return n=""},trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop});function a(n,t){return e.moduleResolutionOptionDeclarations.some((function(e){return!zr(pr(n,e),pr(t,e))}))}function i(e,n){for(;e;){var t=n(e);if("quit"===t)return;if(t)return e;e=e.parent}}function c(e){return e.end-e.pos}function l(n){return function(n){if(!(524288&n.flags)){(0!=(65536&n.flags)||e.forEachChild(n,l))&&(n.flags|=262144),n.flags|=524288}}(n),0!=(262144&n.flags)}function u(e){for(;e&&294!==e.kind;)e=e.parent;return e}function d(n,t){e.Debug.assert(n>=0);var r=e.getLineStarts(t),a=n,i=t.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;for(e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));o<=s&&e.isLineBreak(i.charCodeAt(s));)s--;return s}function p(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function f(e){return!p(e)}function m(e,n,t){if(void 0===n||0===n.length)return e;for(var r=0;r<e.length&&t(e[r]);++r);return e.splice.apply(e,o([r,0],n)),e}function _(e,n,t){if(void 0===n)return e;for(var r=0;r<e.length&&t(e[r]);++r);return e.splice(r,0,n),e}function g(e){return K(e)||!!(1048576&S(e))}function y(e,n){return 42===e.charCodeAt(n+1)&&33===e.charCodeAt(n+2)}function h(n,t,r){return p(n)?n.pos:e.isJSDocNode(n)||11===n.kind?e.skipTrivia((t||u(n)).text,n.pos,!1,!0):r&&e.hasJSDocNodes(n)?h(n.jsDoc[0],t):329===n.kind&&n._children.length>0?h(n._children[0],t,r):e.skipTrivia((t||u(n)).text,n.pos)}function v(e,n,t){return void 0===t&&(t=!1),b(e.text,n,t)}function b(n,t,r){if(void 0===r&&(r=!1),p(t))return"";var a=n.substring(r?t.pos:e.skipTrivia(n,t.pos),t.end);return function(n){return!!i(n,e.isJSDocTypeExpression)}(t)&&(a=a.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),a}function E(e,n){return void 0===n&&(n=!1),v(u(e),e,n)}function T(e){return e.pos}function S(e){var n=e.emitNode;return n&&n.flags||0}function L(e){var n=hn(e);return 246===n.kind&&284===n.parent.kind}function x(n){return e.isModuleDeclaration(n)&&(10===n.name.kind||D(n))}function A(n){return e.isModuleDeclaration(n)||e.isIdentifier(n)}function D(e){return!!(1024&e.flags)}function C(e){return x(e)&&I(e)}function I(n){switch(n.parent.kind){case 294:return e.isExternalModule(n.parent);case 254:return x(n.parent.parent)&&e.isSourceFile(n.parent.parent.parent)&&!e.isExternalModule(n.parent.parent.parent)}return!1}function N(n,t){switch(n.kind){case 294:case 255:case 284:case 253:case 234:case 235:case 236:case 165:case 164:case 166:case 167:case 248:case 205:case 206:return!0;case 227:return!e.isFunctionLike(t)}return!1}function R(n){switch(n.kind){case 168:case 169:case 163:case 170:case 173:case 174:case 304:case 249:case 218:case 250:case 251:case 326:case 248:case 164:case 165:case 166:case 167:case 205:case 206:return!0;default:return e.assertType(n),!1}}function k(e){switch(e.kind){case 258:case 257:return!0;default:return!1}}function O(e){return e&&0!==c(e)?E(e):"(Missing)"}function P(n){switch(n.kind){case 78:case 79:return n.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(n.text);case 157:return cn(n.expression)?e.escapeLeadingUnderscores(n.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(n)}}function M(n){switch(n.kind){case 107:return"this";case 79:case 78:return 0===c(n)?e.idText(n):E(n);case 156:return M(n.left)+"."+M(n.right);case 198:return e.isIdentifier(n.name)||e.isPrivateIdentifier(n.name)?M(n.expression)+"."+M(n.name):e.Debug.assertNever(n.name);default:return e.Debug.assertNever(n)}}function w(e,n,t,r,a,i,o){var s=G(e,n);return rr(e,s.start,s.length,t,r,a,i,o)}function F(n,t){var r=e.createScanner(n.languageVersion,!0,n.languageVariant,n.text,void 0,t);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function G(n,t){var r=t;switch(t.kind){case 294:var a=e.skipTrivia(n.text,0,!1);return a===n.text.length?e.createTextSpan(0,0):F(n,a);case 246:case 195:case 249:case 218:case 250:case 253:case 252:case 288:case 248:case 205:case 164:case 166:case 167:case 251:case 162:case 161:r=t.name;break;case 206:return function(n,t){var r=e.skipTrivia(n.text,t.pos);if(t.body&&227===t.body.kind){var a=e.getLineAndCharacterOfPosition(n,t.body.pos).line;if(a<e.getLineAndCharacterOfPosition(n,t.body.end).line)return e.createTextSpan(r,d(a,n)-r+1)}return e.createTextSpanFromBounds(r,t.end)}(n,t);case 281:case 282:var i=e.skipTrivia(n.text,t.pos),o=t.statements.length>0?t.statements[0].pos:t.end;return e.createTextSpanFromBounds(i,o)}if(void 0===r)return F(n,t.pos);e.Debug.assert(!e.isJSDoc(r));var s=p(r),c=s||e.isJsxText(t)?r.pos:e.skipTrivia(n.text,r.pos);return s?(e.Debug.assert(c===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,r.end)}function B(e){return 6===e.scriptKind}function U(n){return!!(2&e.getCombinedNodeFlags(n))}function V(e){return 200===e.kind&&99===e.expression.kind}function j(n){return e.isImportTypeNode(n)&&e.isLiteralTypeNode(n.argument)&&e.isStringLiteral(n.argument.literal)}function K(e){return 230===e.kind&&10===e.expression.kind}function H(e){return!!(1048576&S(e))}function W(n){return e.isIdentifier(n.name)&&!n.initializer}e.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||a(e,n)},e.optionsHaveModuleResolutionChanges=a,e.findAncestor=i,e.forEachAncestor=function(n,t){for(;;){var r=t(n);if("quit"===r)return;if(void 0!==r)return r;if(e.isSourceFile(n))return;n=n.parent}},e.forEachEntry=function(e,n){for(var t=e.entries(),r=t.next();!r.done;r=t.next()){var a=r.value,i=a[0],o=n(a[1],i);if(o)return o}},e.forEachKey=function(e,n){for(var t=e.keys(),r=t.next();!r.done;r=t.next()){var a=n(r.value);if(a)return a}},e.copyEntries=function(e,n){e.forEach((function(e,t){n.set(t,e)}))},e.usingSingleLineStringWriter=function(e){var n=r.getText();try{return e(r),r.getText()}finally{r.clear(),r.writeKeyword(n)}},e.getFullWidth=c,e.getResolvedModule=function(e,n){return e&&e.resolvedModules&&e.resolvedModules.get(n)},e.setResolvedModule=function(n,t,r){n.resolvedModules||(n.resolvedModules=new e.Map),n.resolvedModules.set(t,r)},e.setResolvedTypeReferenceDirective=function(n,t,r){n.resolvedTypeReferenceDirectiveNames||(n.resolvedTypeReferenceDirectiveNames=new e.Map),n.resolvedTypeReferenceDirectiveNames.set(t,r)},e.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular},e.moduleResolutionIsEqualTo=function(e,n){return e.isExternalLibraryImport===n.isExternalLibraryImport&&e.extension===n.extension&&e.resolvedFileName===n.resolvedFileName&&e.originalPath===n.originalPath&&(t=e.packageId,r=n.packageId,t===r||!!t&&!!r&&t.name===r.name&&t.subModuleName===r.subModuleName&&t.version===r.version);var t,r},e.packageIdToString=function(e){var n=e.name,t=e.subModuleName;return(t?n+"/"+t:n)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary},e.hasChangesInResolutions=function(n,t,r,a){e.Debug.assert(n.length===t.length);for(var i=0;i<n.length;i++){var o=t[i],s=r&&r.get(n[i]);if(s?!o||!a(s,o):o)return!0}return!1},e.containsParseError=l,e.getSourceFileOfNode=u,e.isStatementWithLocals=function(e){switch(e.kind){case 227:case 255:case 234:case 235:case 236:return!0}return!1},e.getStartPositionOfLine=function(n,t){return e.Debug.assert(n>=0),e.getLineStarts(t)[n]},e.nodePosToString=function(n){var t=u(n),r=e.getLineAndCharacterOfPosition(t,n.pos);return t.fileName+"("+(r.line+1)+","+(r.character+1)+")"},e.getEndLinePosition=d,e.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n)||e.identifiers.has(n))},e.nodeIsMissing=p,e.nodeIsPresent=f,e.insertStatementsAfterStandardPrologue=function(e,n){return m(e,n,K)},e.insertStatementsAfterCustomPrologue=function(e,n){return m(e,n,g)},e.insertStatementAfterStandardPrologue=function(e,n){return _(e,n,K)},e.insertStatementAfterCustomPrologue=function(e,n){return _(e,n,g)},e.isRecognizedTripleSlashComment=function(n,t,r){if(47===n.charCodeAt(t+1)&&t+2<r&&47===n.charCodeAt(t+2)){var a=n.substring(t,r);return!!(a.match(e.fullTripleSlashReferencePathRegEx)||a.match(e.fullTripleSlashAMDReferencePathRegEx)||a.match(q)||a.match(z))}return!1},e.isPinnedComment=y,e.createCommentDirectivesMap=function(n,t){var r=new e.Map(t.map((function(t){return[""+e.getLineAndCharacterOfPosition(n,t.range.end).line,t]}))),a=new e.Map;return{getUnusedExpectations:function(){return e.arrayFrom(r.entries()).filter((function(e){var n=e[0];return 0===e[1].type&&!a.get(n)})).map((function(e){e[0];return e[1]}))},markUsed:function(e){if(!r.has(""+e))return!1;return a.set(""+e,!0),!0}}},e.getTokenPosOfNode=h,e.getNonDecoratorTokenPosOfNode=function(n,t){return p(n)||!n.decorators?h(n,t):e.skipTrivia((t||u(n)).text,n.decorators.end)},e.getSourceTextOfNodeFromSourceFile=v,e.getTextOfNodeFromSourceText=b,e.getTextOfNode=E,e.indexOfNode=function(n,t){return e.binarySearch(n,t,T,e.compareValues)},e.getEmitFlags=S,e.getLiteralText=function(n,t,r,a){if(!vn(n)&&n.parent&&!(e.isNumericLiteral(n)&&512&n.numericLiteralFlags||e.isBigIntLiteral(n)))return v(t,n);switch(n.kind){case 10:var i=a?Gn:r||16777216&S(n)?Rn:On;return n.singleQuote?"'"+i(n.text,39)+"'":'"'+i(n.text,34)+'"';case 14:case 15:case 16:case 17:i=r||16777216&S(n)?Rn:On;var o=n.rawText||function(e){return e.replace(Ln,"\\${")}(i(n.text,96));switch(n.kind){case 14:return"`"+o+"`";case 15:return"`"+o+"${";case 16:return"}"+o+"${";case 17:return"}"+o+"`"}break;case 8:case 9:case 13:return n.text}return e.Debug.fail("Literal kind '"+n.kind+"' not accounted for.")},e.getTextOfConstantValue=function(n){return e.isString(n)?'"'+On(n)+'"':""+n},e.makeIdentifierFromModuleName=function(n){return e.getBaseFileName(n).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},e.isBlockOrCatchScoped=function(n){return 0!=(3&e.getCombinedNodeFlags(n))||L(n)},e.isCatchClauseVariableDeclarationOrBindingElement=L,e.isAmbientModule=x,e.isModuleWithStringLiteralName=function(n){return e.isModuleDeclaration(n)&&10===n.name.kind},e.isNonGlobalAmbientModule=function(n){return e.isModuleDeclaration(n)&&e.isStringLiteral(n.name)},e.isEffectiveModuleDeclaration=A,e.isShorthandAmbientModuleSymbol=function(e){return(n=e.valueDeclaration)&&253===n.kind&&!n.body;var n},e.isBlockScopedContainerTopLevel=function(n){return 294===n.kind||253===n.kind||e.isFunctionLike(n)},e.isGlobalScopeAugmentation=D,e.isExternalModuleAugmentation=C,e.isModuleAugmentationExternal=I,e.getNonAugmentationDeclaration=function(n){return e.find(n.declarations,(function(n){return!(C(n)||e.isModuleDeclaration(n)&&D(n))}))},e.isEffectiveExternalModule=function(n,t){return e.isExternalModule(n)||t.isolatedModules||lr(t)===e.ModuleKind.CommonJS&&!!n.commonJsModuleIndicator},e.isEffectiveStrictModeSourceFile=function(n,t){switch(n.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!n.isDeclarationFile&&(!!dr(t,"alwaysStrict")||(!!e.startsWithUseStrict(n.statements)||!(!e.isExternalModule(n)&&!t.isolatedModules)&&(lr(t)>=e.ModuleKind.ES2015||!t.noImplicitUseStrict)))},e.isBlockScope=N,e.isDeclarationWithTypeParameters=function(n){switch(n.kind){case 320:case 327:case 309:return!0;default:return e.assertType(n),R(n)}},e.isDeclarationWithTypeParameterChildren=R,e.isAnyImportSyntax=k,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 258:case 257:case 229:case 249:case 248:case 253:case 251:case 250:case 252:return!0;default:return!1}},e.isAnyImportOrReExport=function(n){return k(n)||e.isExportDeclaration(n)},e.getEnclosingBlockScopeContainer=function(e){return i(e.parent,(function(e){return N(e,e.parent)}))},e.declarationNameToString=O,e.getNameFromIndexInfo=function(e){return e.declaration?O(e.declaration.parameters[0].name):void 0},e.isComputedNonLiteralName=function(e){return 157===e.kind&&!cn(e.expression)},e.getTextOfPropertyName=P,e.entityNameToString=M,e.createDiagnosticForNode=function(e,n,t,r,a,i){return w(u(e),e,n,t,r,a,i)},e.createDiagnosticForNodeArray=function(n,t,r,a,i,o,s){var c=e.skipTrivia(n.text,t.pos);return rr(n,c,t.end-c,r,a,i,o,s)},e.createDiagnosticForNodeInSourceFile=w,e.createDiagnosticForNodeFromMessageChain=function(e,n,t){var r=u(e),a=G(r,e);return{file:r,start:a.start,length:a.length,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}},e.createDiagnosticForRange=function(e,n,t){return{file:e,start:n.pos,length:n.end-n.pos,code:t.code,category:t.category,messageText:t.message}},e.getSpanOfTokenAtPosition=F,e.getErrorSpanForNode=G,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=B,e.isEnumConst=function(n){return!!(2048&e.getCombinedModifierFlags(n))},e.isDeclarationReadonly=function(n){return!(!(64&e.getCombinedModifierFlags(n))||e.isParameterPropertyDeclaration(n,n.parent))},e.isVarConst=U,e.isLet=function(n){return!!(1&e.getCombinedNodeFlags(n))},e.isSuperCall=function(e){return 200===e.kind&&105===e.expression.kind},e.isImportCall=V,e.isImportMeta=function(n){return e.isMetaProperty(n)&&99===n.keywordToken&&"meta"===n.name.escapedText},e.isLiteralImportTypeNode=j,e.isPrologueDirective=K,e.isCustomPrologue=H,e.isHoistedFunction=function(n){return H(n)&&e.isFunctionDeclaration(n)},e.isHoistedVariableStatement=function(n){return H(n)&&e.isVariableStatement(n)&&e.every(n.declarationList.declarations,W)},e.getLeadingCommentRangesOfNode=function(n,t){return 11!==n.kind?e.getLeadingCommentRanges(t.text,n.pos):void 0},e.getJSDocCommentRanges=function(n,t){var r=159===n.kind||158===n.kind||205===n.kind||206===n.kind||204===n.kind?e.concatenate(e.getTrailingCommentRanges(t,n.pos),e.getLeadingCommentRanges(t,n.pos)):e.getLeadingCommentRanges(t,n.pos);return e.filter(r,(function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)}))},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var q=/^(\/\/\/\s*<reference\s+types\s*=\s*)('|")(.+?)\2.*?\/>/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var z=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)('|")(.+?)\2\s*\/>/;function J(n){if(171<=n.kind&&n.kind<=192)return!0;switch(n.kind){case 128:case 151:case 143:case 154:case 146:case 131:case 147:case 144:case 149:case 140:return!0;case 113:return 209!==n.parent.kind;case 220:return!xt(n);case 158:return 189===n.parent.kind||184===n.parent.kind;case 78:(156===n.parent.kind&&n.parent.right===n||198===n.parent.kind&&n.parent.name===n)&&(n=n.parent),e.Debug.assert(78===n.kind||156===n.kind||198===n.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 156:case 198:case 107:var t=n.parent;if(175===t.kind)return!1;if(192===t.kind)return!t.isTypeOf;if(171<=t.kind&&t.kind<=192)return!0;switch(t.kind){case 220:return!xt(t);case 158:case 326:return n===t.constraint;case 162:case 161:case 159:case 246:return n===t.type;case 248:case 205:case 206:case 165:case 164:case 163:case 166:case 167:return n===t.type;case 168:case 169:case 170:case 203:return n===t.type;case 200:case 201:return e.contains(t.typeArguments,n);case 202:return!1}}return!1}function X(e){if(e)switch(e.kind){case 195:case 288:case 159:case 285:case 162:case 161:case 286:case 246:return!0}return!1}function Y(e){return 247===e.parent.kind&&229===e.parent.parent.kind}function Q(e,n,t){return e.properties.filter((function(e){if(285===e.kind){var r=P(e.name);return n===r||!!t&&t===r}return!1}))}function Z(n){if(n&&n.statements.length){var t=n.statements[0].expression;return e.tryCast(t,e.isObjectLiteralExpression)}}function $(n,t){var r=Z(n);return r?Q(r,t):e.emptyArray}function ee(n,t){for(e.Debug.assert(294!==n.kind);;){if(!(n=n.parent))return e.Debug.fail();switch(n.kind){case 157:if(e.isClassLike(n.parent.parent))return n;n=n.parent;break;case 160:159===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break;case 206:if(!t)continue;case 248:case 205:case 253:case 162:case 161:case 164:case 163:case 165:case 166:case 167:case 168:case 169:case 170:case 252:case 294:return n}}}function ne(e){var n=e.kind;return(198===n||199===n)&&105===e.expression.kind}function te(n,t,r){if(e.isNamedDeclaration(n)&&e.isPrivateIdentifier(n.name))return!1;switch(n.kind){case 249:return!0;case 162:return 249===t.kind;case 166:case 167:case 164:return void 0!==n.body&&249===t.kind;case 159:return void 0!==t.body&&(165===t.kind||164===t.kind||167===t.kind)&&249===r.kind}return!1}function re(e,n,t){return void 0!==e.decorators&&te(e,n,t)}function ae(e,n,t){return re(e,n,t)||ie(e,n)}function ie(n,t){switch(n.kind){case 249:return e.some(n.members,(function(e){return ae(e,n,t)}));case 164:case 167:return e.some(n.parameters,(function(e){return re(e,n,t)}));default:return!1}}function oe(e){var n=e.parent;return(272===n.kind||271===n.kind||273===n.kind)&&n.tagName===e}function se(e){switch(e.kind){case 105:case 103:case 109:case 94:case 13:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 221:case 203:case 222:case 204:case 205:case 218:case 206:case 209:case 207:case 208:case 211:case 212:case 213:case 214:case 217:case 215:case 219:case 270:case 271:case 274:case 216:case 210:case 223:return!0;case 156:for(;156===e.parent.kind;)e=e.parent;return 175===e.parent.kind||oe(e);case 78:if(175===e.parent.kind||oe(e))return!0;case 8:case 9:case 10:case 14:case 107:return ce(e);default:return!1}}function ce(e){var n=e.parent;switch(n.kind){case 246:case 159:case 162:case 161:case 288:case 285:case 195:return n.initializer===e;case 230:case 231:case 232:case 233:case 239:case 240:case 241:case 281:case 243:return n.expression===e;case 234:var t=n;return t.initializer===e&&247!==t.initializer.kind||t.condition===e||t.incrementor===e;case 235:case 236:var r=n;return r.initializer===e&&247!==r.initializer.kind||r.expression===e;case 203:case 221:case 225:case 157:return e===n.expression;case 160:case 280:case 279:case 287:return!0;case 220:return n.expression===e&&xt(n);case 286:return n.objectAssignmentInitializer===e;default:return se(n)}}function le(e){for(;156===e.kind||78===e.kind;)e=e.parent;return 175===e.kind}function ue(e){return 257===e.kind&&269===e.moduleReference.kind}function de(e){return pe(e)}function pe(e){return!!e&&!!(131072&e.flags)}function fe(n,t){if(200!==n.kind)return!1;var r=n,a=r.expression,i=r.arguments;if(78!==a.kind||"require"!==a.escapedText)return!1;if(1!==i.length)return!1;var o=i[0];return!t||e.isStringLiteralLike(o)}function me(n,t){return e.isVariableDeclaration(n)&&!!n.initializer&&fe(n.initializer,t)}function _e(n){return e.isBinaryExpression(n)||Wt(n)||e.isIdentifier(n)||e.isCallExpression(n)}function ge(n){return pe(n)&&n.initializer&&e.isBinaryExpression(n.initializer)&&(56===n.initializer.operatorToken.kind||60===n.initializer.operatorToken.kind)&&n.name&&At(n.name)&&he(n.name,n.initializer.left)?n.initializer.right:n.initializer}function ye(n,t){if(e.isCallExpression(n)){var r=Xe(n.expression);return 205===r.kind||206===r.kind?n:void 0}return 205===n.kind||218===n.kind||206===n.kind||e.isObjectLiteralExpression(n)&&(0===n.properties.length||t)?n:void 0}function he(n,t){if(mn(n)&&mn(t))return _n(n)===_n(t);if(e.isIdentifier(n)&&xe(t)&&(107===t.expression.kind||e.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))){var r=Ne(t);return e.isPrivateIdentifier(r)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),he(n,r)}return!(!xe(n)||!xe(t))&&(ke(n)===ke(t)&&he(n.expression,t.expression))}function ve(e){for(;Lt(e,!0);)e=e.right;return e}function be(n){return e.isIdentifier(n)&&"exports"===n.escapedText}function Ee(n){return e.isIdentifier(n)&&"module"===n.escapedText}function Te(n){return(e.isPropertyAccessExpression(n)||Ae(n))&&Ee(n.expression)&&"exports"===ke(n)}function Se(n){var t=function(n){if(e.isCallExpression(n)){if(!Le(n))return 0;var t=n.arguments[0];return be(t)||Te(t)?8:De(t)&&"prototype"===ke(t)?9:7}if(62!==n.operatorToken.kind||!Wt(n.left)||(r=ve(n),e.isVoidExpression(r)&&e.isNumericLiteral(r.expression)&&"0"===r.expression.text))return 0;var r;if(Ie(n.left.expression,!0)&&"prototype"===ke(n.left)&&e.isObjectLiteralExpression(Pe(n)))return 6;return Oe(n.left)}(n);return 5===t||pe(n)?t:0}function Le(n){return 3===e.length(n.arguments)&&e.isPropertyAccessExpression(n.expression)&&e.isIdentifier(n.expression.expression)&&"Object"===e.idText(n.expression.expression)&&"defineProperty"===e.idText(n.expression.name)&&cn(n.arguments[1])&&Ie(n.arguments[0],!0)}function xe(n){return e.isPropertyAccessExpression(n)||Ae(n)}function Ae(n){return e.isElementAccessExpression(n)&&(cn(n.argumentExpression)||pn(n.argumentExpression))}function De(n,t){return e.isPropertyAccessExpression(n)&&(!t&&107===n.expression.kind||e.isIdentifier(n.name)&&Ie(n.expression,!0))||Ce(n,t)}function Ce(e,n){return Ae(e)&&(!n&&107===e.expression.kind||At(e.expression)||De(e.expression,!0))}function Ie(e,n){return At(e)||De(e,n)}function Ne(n){return e.isPropertyAccessExpression(n)?n.name:n.argumentExpression}function Re(n){if(e.isPropertyAccessExpression(n))return n.name;var t=Xe(n.argumentExpression);return e.isNumericLiteral(t)||e.isStringLiteralLike(t)?t:n}function ke(n){var t=Re(n);if(t){if(e.isIdentifier(t))return t.escapedText;if(e.isStringLiteralLike(t)||e.isNumericLiteral(t))return e.escapeLeadingUnderscores(t.text)}if(e.isElementAccessExpression(n)&&pn(n.argumentExpression))return gn(e.idText(n.argumentExpression.name))}function Oe(n){if(107===n.expression.kind)return 4;if(Te(n))return 2;if(Ie(n.expression,!0)){if(Ct(n.expression))return 3;for(var t=n;!e.isIdentifier(t.expression);)t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===ke(t))&&De(n))return 1;if(Ie(n,!0)||e.isElementAccessExpression(n)&&dn(n))return 5}return 0}function Pe(n){for(;e.isBinaryExpression(n.right);)n=n.right;return n.right}function Me(n){switch(n.parent.kind){case 258:case 264:return n.parent;case 269:return n.parent.parent;case 200:return V(n.parent)||fe(n.parent,!1)?n.parent:void 0;case 190:return e.Debug.assert(e.isStringLiteral(n)),e.tryCast(n.parent.parent,e.isImportTypeNode);default:return}}function we(e){return 327===e.kind||320===e.kind||321===e.kind}function Fe(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&0!==Se(n.expression)&&e.isBinaryExpression(n.expression.right)&&(56===n.expression.right.operatorToken.kind||60===n.expression.right.operatorToken.kind)?n.expression.right.right:void 0}function Ge(e){switch(e.kind){case 229:var n=Be(e);return n&&n.initializer;case 162:case 285:return e.initializer}}function Be(n){return e.isVariableStatement(n)?e.firstOrUndefined(n.declarationList.declarations):void 0}function Ue(n){return e.isModuleDeclaration(n)&&n.body&&253===n.body.kind?n.body:void 0}function Ve(n){var t=n.parent;return 285===t.kind||263===t.kind||162===t.kind||230===t.kind&&198===n.kind||Ue(t)||e.isBinaryExpression(n)&&62===n.operatorToken.kind?t:t.parent&&(Be(t.parent)===n||e.isBinaryExpression(t)&&62===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(Be(t.parent.parent)||Ge(t.parent.parent)===n||Fe(t.parent.parent))?t.parent.parent:void 0}function je(n){var t=Ke(n);return t&&e.isFunctionLike(t)?t:void 0}function Ke(n){var t=He(n);return Fe(t)||function(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&62===n.expression.operatorToken.kind?ve(n.expression):void 0}(t)||Ge(t)||Be(t)||Ue(t)||t}function He(n){return e.Debug.checkDefined(i(n.parent,e.isJSDoc)).parent}function We(n){var t=e.isJSDocParameterTag(n)?n.typeExpression&&n.typeExpression.type:n.type;return void 0!==n.dotDotDotToken||!!t&&305===t.kind}function qe(e){for(var n=e.parent;;){switch(n.kind){case 213:var t=n.operatorToken.kind;return Et(t)&&n.left===e?62===t||bt(t)?1:2:0;case 211:case 212:var r=n.operator;return 45===r||46===r?2:0;case 235:case 236:return n.initializer===e?1:0;case 204:case 196:case 217:case 222:e=n;break;case 286:if(n.name!==e)return 0;e=n.parent;break;case 285:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function ze(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function Je(e){return ze(e,204)}function Xe(n){return e.skipOuterExpressions(n,1)}function Ye(n){return At(n)||e.isClassExpression(n)}function Qe(e){return Ye(Ze(e))}function Ze(n){return e.isExportAssignment(n)?n.expression:n.right}function $e(n){var t=en(n);if(t&&pe(n)){var r=e.getJSDocAugmentsTag(n);if(r)return r.class}return t}function en(e){var n=rn(e.heritageClauses,93);return n&&n.types.length>0?n.types[0]:void 0}function nn(n){if(pe(n))return e.getJSDocImplementsTags(n).map((function(e){return e.class}));var t=rn(n.heritageClauses,116);return null==t?void 0:t.types}function tn(e){var n=rn(e.heritageClauses,93);return n?n.types:void 0}function rn(e,n){if(e)for(var t=0,r=e;t<r.length;t++){var a=r[t];if(a.token===n)return a}}function an(e){return 80<=e&&e<=155}function on(e){return 125<=e&&e<=155}function sn(e){return an(e)&&!on(e)}function cn(n){return e.isStringLiteralLike(n)||e.isNumericLiteral(n)}function ln(n){return e.isPrefixUnaryExpression(n)&&(39===n.operator||40===n.operator)&&e.isNumericLiteral(n.operand)}function un(n){var t=e.getNameOfDeclaration(n);return!!t&&dn(t)}function dn(n){if(157!==n.kind&&199!==n.kind)return!1;var t=e.isElementAccessExpression(n)?Xe(n.argumentExpression):n.expression;return!cn(t)&&!ln(t)&&!pn(t)}function pn(n){return e.isPropertyAccessExpression(n)&&yn(n.expression)}function fn(n){switch(n.kind){case 78:case 79:return n.escapedText;case 10:case 8:return e.escapeLeadingUnderscores(n.text);case 157:var t=n.expression;return pn(t)?gn(e.idText(t.name)):cn(t)?e.escapeLeadingUnderscores(t.text):ln(t)?40===t.operator?e.tokenToString(t.operator)+t.operand.text:t.operand.text:void 0;default:return e.Debug.assertNever(n)}}function mn(e){switch(e.kind){case 78:case 10:case 14:case 8:return!0;default:return!1}}function _n(n){return e.isIdentifierOrPrivateIdentifier(n)?e.idText(n):n.text}function gn(e){return"__@"+e}function yn(e){return 78===e.kind&&"Symbol"===e.escapedText}function hn(e){for(;195===e.kind;)e=e.parent.parent;return e}function vn(e){return Hr(e.pos)||Hr(e.end)}function bn(e,n,t){switch(e){case 201:return t?0:1;case 211:case 208:case 209:case 207:case 210:case 214:case 216:return 1;case 213:switch(n){case 42:case 62:case 63:case 64:case 66:case 65:case 67:case 68:case 69:case 70:case 71:case 72:case 77:case 73:case 74:case 75:case 76:return 1}}return 0}function En(e){return 213===e.kind?e.operatorToken.kind:211===e.kind||212===e.kind?e.operator:e.kind}function Tn(e,n,t){switch(e){case 332:return 0;case 217:return 1;case 216:return 2;case 214:return 4;case 213:switch(n){case 27:return 0;case 62:case 63:case 64:case 66:case 65:case 67:case 68:case 69:case 70:case 71:case 72:case 77:case 73:case 74:case 75:case 76:return 3;default:return Sn(n)}case 211:case 208:case 209:case 207:case 210:return 16;case 212:return 17;case 200:return 18;case 201:return t?19:18;case 202:case 198:case 199:return 19;case 107:case 105:case 78:case 103:case 109:case 94:case 8:case 9:case 10:case 196:case 197:case 205:case 206:case 218:case 13:case 14:case 215:case 204:case 219:case 270:case 271:case 274:return 20;default:return-1}}function Sn(e){switch(e){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 101:case 100:case 126:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}e.isPartOfTypeNode=J,e.isChildOfNodeWithKind=function(e,n){for(;e;){if(e.kind===n)return!0;e=e.parent}return!1},e.forEachReturnStatement=function(n,t){return function n(r){switch(r.kind){case 239:return t(r);case 255:case 227:case 231:case 232:case 233:case 234:case 235:case 236:case 240:case 241:case 281:case 282:case 242:case 244:case 284:return e.forEachChild(r,n)}}(n)},e.forEachYieldExpression=function(n,t){return function n(r){switch(r.kind){case 216:t(r);var a=r.expression;return void(a&&n(a));case 252:case 250:case 253:case 251:return;default:if(e.isFunctionLike(r)){if(r.name&&157===r.name.kind)return void n(r.name.expression)}else J(r)||e.forEachChild(r,n)}}(n)},e.getRestParameterElementType=function(n){return n&&177===n.kind?n.elementType:n&&172===n.kind?e.singleOrUndefined(n.typeArguments):void 0},e.getMembersOfDeclaration=function(e){switch(e.kind){case 250:case 249:case 218:case 176:return e.members;case 197:return e.properties}},e.isVariableLike=X,e.isVariableLikeOrAccessor=function(n){return X(n)||e.isAccessor(n)},e.isVariableDeclarationInVariableStatement=Y,e.isValidESSymbolDeclaration=function(n){return e.isVariableDeclaration(n)?U(n)&&e.isIdentifier(n.name)&&Y(n):e.isPropertyDeclaration(n)?ut(n)&<(n):e.isPropertySignature(n)&&ut(n)},e.introducesArgumentsExoticObject=function(e){switch(e.kind){case 164:case 163:case 165:case 166:case 167:case 248:case 205:return!0}return!1},e.unwrapInnermostStatementOfLabel=function(e,n){for(;;){if(n&&n(e),242!==e.statement.kind)return e.statement;e=e.statement}},e.isFunctionBlock=function(n){return n&&227===n.kind&&e.isFunctionLike(n.parent)},e.isObjectLiteralMethod=function(e){return e&&164===e.kind&&197===e.parent.kind},e.isObjectLiteralOrClassExpressionMethod=function(e){return 164===e.kind&&(197===e.parent.kind||218===e.parent.kind)},e.isIdentifierTypePredicate=function(e){return e&&1===e.kind},e.isThisTypePredicate=function(e){return e&&0===e.kind},e.getPropertyAssignment=Q,e.getTsConfigObjectLiteralExpression=Z,e.getTsConfigPropArrayElementValue=function(n,t,r){return e.firstDefined($(n,t),(function(n){return e.isArrayLiteralExpression(n.initializer)?e.find(n.initializer.elements,(function(n){return e.isStringLiteral(n)&&n.text===r})):void 0}))},e.getTsConfigPropArray=$,e.getContainingFunction=function(n){return i(n.parent,e.isFunctionLike)},e.getContainingFunctionDeclaration=function(n){return i(n.parent,e.isFunctionLikeDeclaration)},e.getContainingClass=function(n){return i(n.parent,e.isClassLike)},e.getThisContainer=ee,e.isInTopLevelContext=function(n){e.isIdentifier(n)&&(e.isClassDeclaration(n.parent)||e.isFunctionDeclaration(n.parent))&&n.parent.name===n&&(n=n.parent);var t=ee(n,!0);return e.isSourceFile(t)},e.getNewTargetContainer=function(e){var n=ee(e,!1);if(n)switch(n.kind){case 165:case 248:case 205:return n}},e.getSuperContainer=function(n,t){for(;;){if(!(n=n.parent))return n;switch(n.kind){case 157:n=n.parent;break;case 248:case 205:case 206:if(!t)continue;case 162:case 161:case 164:case 163:case 165:case 166:case 167:return n;case 160:159===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent)}}},e.getImmediatelyInvokedFunctionExpression=function(e){if(205===e.kind||206===e.kind){for(var n=e,t=e.parent;204===t.kind;)n=t,t=t.parent;if(200===t.kind&&t.expression===n)return t}},e.isSuperOrSuperProperty=function(e){return 105===e.kind||ne(e)},e.isSuperProperty=ne,e.isThisProperty=function(e){var n=e.kind;return(198===n||199===n)&&107===e.expression.kind},e.getEntityNameFromTypeNode=function(e){switch(e.kind){case 172:return e.typeName;case 220:return At(e.expression)?e.expression:void 0;case 78:case 156:return e}},e.getInvokedExpression=function(e){switch(e.kind){case 202:return e.tag;case 272:case 271:return e.tagName;default:return e.expression}},e.nodeCanBeDecorated=te,e.nodeIsDecorated=re,e.nodeOrChildIsDecorated=ae,e.childIsDecorated=ie,e.isJSXTagName=oe,e.isExpressionNode=se,e.isInExpressionContext=ce,e.isPartOfTypeQuery=le,e.isExternalModuleImportEqualsDeclaration=ue,e.getExternalModuleImportEqualsDeclarationExpression=function(n){return e.Debug.assert(ue(n)),n.moduleReference.expression},e.isInternalModuleImportEqualsDeclaration=function(e){return 257===e.kind&&269!==e.moduleReference.kind},e.isSourceFileJS=de,e.isSourceFileNotJS=function(e){return!pe(e)},e.isInJSFile=pe,e.isInJsonFile=function(e){return!!e&&!!(33554432&e.flags)},e.isSourceFileNotJson=function(e){return!B(e)},e.isInJSDoc=function(e){return!!e&&!!(4194304&e.flags)},e.isJSDocIndexSignature=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText&&n.typeArguments&&2===n.typeArguments.length&&(146===n.typeArguments[0].kind||143===n.typeArguments[0].kind)},e.isRequireCall=fe,e.isRequireVariableDeclaration=me,e.isRequireVariableStatement=function(n,t){return void 0===t&&(t=!0),e.isVariableStatement(n)&&n.declarationList.declarations.length>0&&e.every(n.declarationList.declarations,(function(e){return me(e,t)}))},e.isSingleOrDoubleQuote=function(e){return 39===e||34===e},e.isStringDoubleQuoted=function(e,n){return 34===v(n,e).charCodeAt(0)},e.getDeclarationOfExpando=function(n){if(n.parent){var t,r;if(e.isVariableDeclaration(n.parent)&&n.parent.initializer===n){if(!pe(n)&&!U(n.parent))return;t=n.parent.name,r=n.parent}else if(e.isBinaryExpression(n.parent)){var a=n.parent,i=n.parent.operatorToken.kind;if(62===i&&a.right===n)r=t=a.left;else if(!(56!==i&&60!==i||(e.isVariableDeclaration(a.parent)&&a.parent.initializer===a?(t=a.parent.name,r=a.parent):e.isBinaryExpression(a.parent)&&62===a.parent.operatorToken.kind&&a.parent.right===a&&(r=t=a.parent.left),t&&Ie(t)&&he(t,a.left))))return}if(t&&ye(n,Ct(t)))return r}},e.isAssignmentDeclaration=_e,e.getEffectiveInitializer=ge,e.getDeclaredExpandoInitializer=function(e){var n=ge(e);return n&&ye(n,Ct(e.name))},e.getAssignedExpandoInitializer=function(n){if(n&&n.parent&&e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind){var t=Ct(n.parent.left);return ye(n.parent.right,t)||function(n,t,r){var a=e.isBinaryExpression(t)&&(56===t.operatorToken.kind||60===t.operatorToken.kind)&&ye(t.right,r);if(a&&he(n,t.left))return a}(n.parent.left,n.parent.right,t)}if(n&&e.isCallExpression(n)&&Le(n)){var r=function(n,t){return e.forEach(n.properties,(function(n){return e.isPropertyAssignment(n)&&e.isIdentifier(n.name)&&"value"===n.name.escapedText&&n.initializer&&ye(n.initializer,t)}))}(n.arguments[2],"prototype"===n.arguments[1].text);if(r)return r}},e.getExpandoInitializer=ye,e.isDefaultedExpandoInitializer=function(n){var t=e.isVariableDeclaration(n.parent)?n.parent.name:e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind?n.parent.left:void 0;return t&&ye(n.right,Ct(t))&&At(t)&&he(t,n.left)},e.getNameOfExpando=function(n){if(e.isBinaryExpression(n.parent)){var t=56!==n.parent.operatorToken.kind&&60!==n.parent.operatorToken.kind||!e.isBinaryExpression(n.parent.parent)?n.parent:n.parent.parent;if(62===t.operatorToken.kind&&e.isIdentifier(t.left))return t.left}else if(e.isVariableDeclaration(n.parent))return n.parent.name},e.getRightMostAssignedExpression=ve,e.isExportsIdentifier=be,e.isModuleIdentifier=Ee,e.isModuleExportsAccessExpression=Te,e.getAssignmentDeclarationKind=Se,e.isBindableObjectDefinePropertyCall=Le,e.isLiteralLikeAccess=xe,e.isLiteralLikeElementAccess=Ae,e.isBindableStaticAccessExpression=De,e.isBindableStaticElementAccessExpression=Ce,e.isBindableStaticNameExpression=Ie,e.getNameOrArgument=Ne,e.getElementOrPropertyAccessArgumentExpressionOrName=Re,e.getElementOrPropertyAccessName=ke,e.getAssignmentDeclarationPropertyAccessKind=Oe,e.getInitializerOfBinaryExpression=Pe,e.isPrototypePropertyAssignment=function(n){return e.isBinaryExpression(n)&&3===Se(n)},e.isSpecialPropertyDeclaration=function(n){return pe(n)&&n.parent&&230===n.parent.kind&&(!e.isElementAccessExpression(n)||Ae(n))&&!!e.getJSDocTypeTag(n.parent)},e.setValueDeclaration=function(e,n){var t=e.valueDeclaration;(!t||(!(8388608&n.flags)||8388608&t.flags)&&_e(t)&&!_e(n)||t.kind!==n.kind&&A(t))&&(e.valueDeclaration=n)},e.isFunctionSymbol=function(n){if(!n||!n.valueDeclaration)return!1;var t=n.valueDeclaration;return 248===t.kind||e.isVariableDeclaration(t)&&t.initializer&&e.isFunctionLike(t.initializer)},e.importFromModuleSpecifier=function(n){return Me(n)||e.Debug.failBadSyntaxKind(n.parent)},e.tryGetImportFromModuleSpecifier=Me,e.getExternalModuleName=function(n){switch(n.kind){case 258:case 264:return n.moduleSpecifier;case 257:return 269===n.moduleReference.kind?n.moduleReference.expression:void 0;case 192:return j(n)?n.argument.literal:void 0;default:return e.Debug.assertNever(n)}},e.getNamespaceDeclarationNode=function(n){switch(n.kind){case 258:return n.importClause&&e.tryCast(n.importClause.namedBindings,e.isNamespaceImport);case 257:return n;case 264:return n.exportClause&&e.tryCast(n.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(n)}},e.isDefaultImport=function(e){return 258===e.kind&&!!e.importClause&&!!e.importClause.name},e.forEachImportClauseDeclaration=function(n,t){var r;if(n.name&&(r=t(n)))return r;if(n.namedBindings&&(r=e.isNamespaceImport(n.namedBindings)?t(n.namedBindings):e.forEach(n.namedBindings.elements,t)))return r},e.hasQuestionToken=function(e){if(e)switch(e.kind){case 159:case 164:case 163:case 286:case 285:case 162:case 161:return void 0!==e.questionToken}return!1},e.isJSDocConstructSignature=function(n){var t=e.isJSDocFunctionType(n)?e.firstOrUndefined(n.parameters):void 0,r=e.tryCast(t&&t.name,e.isIdentifier);return!!r&&"new"===r.escapedText},e.isJSDocTypeAlias=we,e.isTypeAlias=function(n){return we(n)||e.isTypeAliasDeclaration(n)},e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Ge,e.getSingleVariableOfVariableStatement=Be,e.getJSDocCommentsAndTags=function(n,t){var r;X(n)&&e.hasInitializer(n)&&e.hasJSDocNodes(n.initializer)&&(r=e.append(r,e.last(n.initializer.jsDoc)));for(var a=n;a&&a.parent;){if(e.hasJSDocNodes(a)&&(r=e.append(r,e.last(a.jsDoc))),159===a.kind){r=e.addRange(r,(t?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(a));break}if(158===a.kind){r=e.addRange(r,(t?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(a));break}a=Ve(a)}return r||e.emptyArray},e.getParameterSymbolFromJSDoc=function(n){if(n.symbol)return n.symbol;if(e.isIdentifier(n.name)){var t=n.name.escapedText,r=je(n);if(r){var a=e.find(r.parameters,(function(e){return 78===e.name.kind&&e.name.escapedText===t}));return a&&a.symbol}}},e.getHostSignatureFromJSDoc=je,e.getEffectiveJSDocHost=Ke,e.getJSDocHost=He,e.getTypeParameterFromJsDoc=function(n){var t=n.name.escapedText,r=n.parent.parent.parent.typeParameters;return r&&e.find(r,(function(e){return e.name.escapedText===t}))},e.hasRestParameter=function(n){var t=e.lastOrUndefined(n.parameters);return!!t&&We(t)},e.isRestParameter=We,e.hasTypeArguments=function(e){return!!e.typeArguments},function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=qe,e.isAssignmentTarget=function(e){return 0!==qe(e)},e.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.kind){case 227:case 229:case 240:case 231:case 241:case 255:case 281:case 282:case 242:case 234:case 235:case 236:case 232:case 233:case 244:case 284:return!0}return!1},e.isValueSignatureDeclaration=function(n){return e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isMethodOrAccessor(n)||e.isFunctionDeclaration(n)||e.isConstructorDeclaration(n)},e.walkUpParenthesizedTypes=function(e){return ze(e,185)},e.walkUpParenthesizedExpressions=Je,e.skipParentheses=Xe,e.isDeleteTarget=function(e){return(198===e.kind||199===e.kind)&&((e=Je(e.parent))&&207===e.kind)},e.isNodeDescendantOf=function(e,n){for(;e;){if(e===n)return!0;e=e.parent}return!1},e.isDeclarationName=function(n){return!e.isSourceFile(n)&&!e.isBindingPattern(n)&&e.isDeclaration(n.parent)&&n.parent.name===n},e.getDeclarationFromName=function(n){var t=n.parent;switch(n.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(t))return t.parent;case 78:if(e.isDeclaration(t))return t.name===n?t:void 0;if(e.isQualifiedName(t)){var r=t.parent;return e.isJSDocParameterTag(r)&&r.name===t?r:void 0}var a=t.parent;return e.isBinaryExpression(a)&&0!==Se(a)&&(a.left.symbol||a.symbol)&&e.getNameOfDeclaration(a)===n?a:void 0;case 79:return e.isDeclaration(t)&&t.name===n?t:void 0;default:return}},e.isLiteralComputedPropertyDeclarationName=function(n){return cn(n)&&157===n.parent.kind&&e.isDeclaration(n.parent.parent)},e.isIdentifierName=function(e){var n=e.parent;switch(n.kind){case 162:case 161:case 164:case 163:case 166:case 167:case 288:case 285:case 198:return n.name===e;case 156:return n.right===e;case 195:case 262:return n.propertyName===e;case 267:case 277:return!0}return!1},e.isAliasSymbolDeclaration=function(n){return 257===n.kind||256===n.kind||259===n.kind&&!!n.name||260===n.kind||266===n.kind||262===n.kind||267===n.kind||263===n.kind&&Qe(n)||e.isBinaryExpression(n)&&2===Se(n)&&Qe(n)||e.isPropertyAccessExpression(n)&&e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind&&Ye(n.parent.right)||286===n.kind||285===n.kind&&Ye(n.initializer)},e.getAliasDeclarationFromName=function e(n){switch(n.parent.kind){case 259:case 262:case 260:case 267:case 263:case 257:return n.parent;case 156:do{n=n.parent}while(156===n.parent.kind);return e(n)}},e.isAliasableExpression=Ye,e.exportAssignmentIsAlias=Qe,e.getExportAssignmentExpression=Ze,e.getPropertyAssignmentAliasLikeExpression=function(e){return 286===e.kind?e.name:285===e.kind?e.initializer:e.parent.right},e.getEffectiveBaseTypeNode=$e,e.getClassExtendsHeritageElement=en,e.getEffectiveImplementsTypeNodes=nn,e.getAllSuperTypeNodes=function(n){return e.isInterfaceDeclaration(n)?tn(n)||e.emptyArray:e.isClassLike(n)&&e.concatenate(e.singleElementArray($e(n)),nn(n))||e.emptyArray},e.getInterfaceBaseTypeNodes=tn,e.getHeritageClause=rn,e.getAncestor=function(e,n){for(;e;){if(e.kind===n)return e;e=e.parent}},e.isKeyword=an,e.isContextualKeyword=on,e.isNonContextualKeyword=sn,e.isFutureReservedKeyword=function(e){return 116<=e&&e<=124},e.isStringANonContextualKeyword=function(n){var t=e.stringToToken(n);return void 0!==t&&sn(t)},e.isStringAKeyword=function(n){var t=e.stringToToken(n);return void 0!==t&&an(t)},e.isIdentifierANonContextualKeyword=function(e){var n=e.originalKeywordKind;return!!n&&!on(n)},e.isTrivia=function(e){return 2<=e&&e<=7},function(e){e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator"}(e.FunctionFlags||(e.FunctionFlags={})),e.getFunctionFlags=function(e){if(!e)return 4;var n=0;switch(e.kind){case 248:case 205:case 164:e.asteriskToken&&(n|=1);case 206:ct(e,256)&&(n|=2)}return e.body||(n|=4),n},e.isAsyncFunction=function(e){switch(e.kind){case 248:case 205:case 206:case 164:return void 0!==e.body&&void 0===e.asteriskToken&&ct(e,256)}return!1},e.isStringOrNumericLiteralLike=cn,e.isSignedNumericLiteral=ln,e.hasDynamicName=un,e.isDynamicName=dn,e.isWellKnownSymbolSyntactically=pn,e.getPropertyNameForPropertyNameNode=fn,e.isPropertyNameLiteral=mn,e.getTextOfIdentifierOrLiteral=_n,e.getEscapedTextOfIdentifierOrLiteral=function(n){return e.isIdentifierOrPrivateIdentifier(n)?n.escapedText:e.escapeLeadingUnderscores(n.text)},e.getPropertyNameForUniqueESSymbol=function(n){return"__@"+e.getSymbolId(n)+"@"+n.escapedName},e.getPropertyNameForKnownSymbolName=gn,e.getSymbolNameForPrivateIdentifier=function(n,t){return"__#"+e.getSymbolId(n)+"@"+t},e.isKnownSymbol=function(n){return e.startsWith(n.escapedName,"__@")},e.isESSymbolIdentifier=yn,e.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},e.isParameterDeclaration=function(e){return 159===hn(e).kind},e.getRootDeclaration=hn,e.nodeStartsNewLexicalEnvironment=function(e){var n=e.kind;return 165===n||205===n||248===n||206===n||164===n||166===n||167===n||253===n||294===n},e.nodeIsSynthesized=vn,e.getOriginalSourceFile=function(n){return e.getParseTreeNode(n,e.isSourceFile)||n},function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=function(e){var n=En(e),t=201===e.kind&&void 0!==e.arguments;return bn(e.kind,n,t)},e.getOperatorAssociativity=bn,e.getExpressionPrecedence=function(e){var n=En(e),t=201===e.kind&&void 0!==e.arguments;return Tn(e.kind,n,t)},e.getOperator=En,function(e){e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid"}(e.OperatorPrecedence||(e.OperatorPrecedence={})),e.getOperatorPrecedence=Tn,e.getBinaryOperatorPrecedence=Sn,e.createDiagnosticCollection=function(){var n=[],t=[],r=new e.Map,a=!1;return{add:function(i){var o;i.file?(o=r.get(i.file.fileName))||(o=[],r.set(i.file.fileName,o),e.insertSorted(t,i.file.fileName,e.compareStringsCaseSensitive)):(a&&(a=!1,n=n.slice()),o=n);e.insertSorted(o,i,or)},lookup:function(t){var a;a=t.file?r.get(t.file.fileName):n;if(!a)return;var i=e.binarySearch(a,t,e.identity,sr);if(i>=0)return a[i];return},getGlobalDiagnostics:function(){return a=!0,n},getDiagnostics:function(a){if(a)return r.get(a)||[];var i=e.flatMapToMutable(t,(function(e){return r.get(e)}));if(!n.length)return i;return i.unshift.apply(i,n),i},reattachFileDiagnostics:function(n){e.forEach(r.get(n.fileName),(function(e){return e.file=n}))}}};var Ln=/\$\{/g;e.hasInvalidEscape=function(n){return n&&!!(e.isNoSubstitutionTemplateLiteral(n)?n.templateFlags:n.head.templateFlags||e.some(n.templateSpans,(function(e){return!!e.literal.templateFlags})))};var xn=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,An=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Dn=/[\\`]/g,Cn=new e.Map(e.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085"}));function In(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Nn(e,n,t){if(0===e.charCodeAt(0)){var r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return Cn.get(e)||In(e.charCodeAt(0))}function Rn(e,n){var t=96===n?Dn:39===n?An:xn;return e.replace(t,Nn)}e.escapeString=Rn;var kn=/[^\u0000-\u007F]/g;function On(e,n){return e=Rn(e,n),kn.test(e)?e.replace(kn,(function(e){return In(e.charCodeAt(0))})):e}e.escapeNonAsciiString=On;var Pn=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,Mn=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,wn=new e.Map(e.getEntries({'"':""","'":"'"}));function Fn(e){return 0===e.charCodeAt(0)?"�":wn.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Gn(e,n){var t=39===n?Mn:Pn;return e.replace(t,Fn)}e.escapeJsxAttributeString=Gn,e.stripQuotes=function(e){var n,t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e},e.isIntrinsicJsxName=function(n){var t=n.charCodeAt(0);return t>=97&&t<=122||e.stringContains(n,"-")};var Bn=[""," "];function Un(e){return void 0===Bn[e]&&(Bn[e]=Un(e-1)+Bn[1]),Bn[e]}function Vn(){return Bn[1].length}function jn(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function Kn(e,n,t){return n.moduleName||Hn(e,n.fileName,t&&t.fileName)}function Hn(n,t,r){var a=function(e){return n.getCanonicalFileName(e)},i=e.toPath(r?e.getDirectoryPath(r):n.getCommonSourceDirectory(),n.getCurrentDirectory(),a),o=e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),s=Ur(e.getRelativePathToDirectoryOrUrl(i,o,i,a,!1));return r?e.ensurePathIsNonModuleName(s):s}function Wn(e,n,t,r,a){var i=n.declarationDir||n.outDir;return Ur(i?Xn(e,i,t,r,a):e)+".d.ts"}function qn(e){return e.outFile||e.out}function zn(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&de(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&!(B(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&(t||!n.isSourceOfProjectReferenceRedirect(e.fileName))}function Jn(e,n,t){return Xn(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function Xn(n,t,r,a,i){var o=e.getNormalizedAbsolutePath(n,r);return o=0===i(o).indexOf(i(a))?o.substring(a.length):o,e.combinePaths(t,o)}function Yn(n,t){return e.computeLineOfPosition(n,t)}function Qn(e){if(e&&e.parameters.length>0){var n=2===e.parameters.length&&Zn(e.parameters[0]);return e.parameters[n?1:0]}}function Zn(e){return $n(e.name)}function $n(e){return!!e&&78===e.kind&&et(e)}function et(e){return 107===e.originalKeywordKind}function nt(n){if(pe(n)||!e.isFunctionDeclaration(n)){var t=n.type;return t||!pe(n)?t:e.isJSDocPropertyLikeTag(n)?n.typeExpression&&n.typeExpression.type:e.getJSDocType(n)}}function tt(e,n,t,r){rt(e,n,t.pos,r)}function rt(e,n,t,r){r&&r.length&&t!==r[0].pos&&Yn(e,t)!==Yn(e,r[0].pos)&&n.writeLine()}function at(e,n,t,r,a,i,o,s){if(r&&r.length>0){a&&t.writeSpace(" ");for(var c=!1,l=0,u=r;l<u.length;l++){var d=u[l];c&&(t.writeSpace(" "),c=!1),s(e,n,t,d.pos,d.end,o),d.hasTrailingNewLine?t.writeLine():c=!0}c&&i&&t.writeSpace(" ")}}function it(e,n,t,r,a,i){var o=Math.min(n,i-1),s=e.substring(a,o).replace(/^\s+|\s+$/g,"");s?(t.writeComment(s),o!==n&&t.writeLine()):t.rawWrite(r)}function ot(n,t,r){for(var a=0;t<r&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));t++)9===n.charCodeAt(t)?a+=Vn()-a%Vn():a++;return a}function st(e,n){return!!dt(e,n)}function ct(e,n){return!!pt(e,n)}function lt(e){return ct(e,32)}function ut(e){return st(e,64)}function dt(e,n){return mt(e)&n}function pt(e,n){return _t(e)&n}function ft(e,n,t){return e.kind>=0&&e.kind<=155?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|yt(e)),!n||4096&e.modifierFlagsCache||!t&&!pe(e)||!e.parent||(e.modifierFlagsCache|=4096|gt(e)),-536875009&e.modifierFlagsCache)}function mt(e){return ft(e,!0)}function _t(e){return ft(e,!1)}function gt(n){var t=0;return n.parent&&!e.isParameter(n)&&(pe(n)&&(e.getJSDocPublicTagNoCache(n)&&(t|=4),e.getJSDocPrivateTagNoCache(n)&&(t|=8),e.getJSDocProtectedTagNoCache(n)&&(t|=16),e.getJSDocReadonlyTagNoCache(n)&&(t|=64)),e.getJSDocDeprecatedTagNoCache(n)&&(t|=8192)),t}function yt(e){var n=ht(e.modifiers);return(4&e.flags||78===e.kind&&e.isInJSDocNamespace)&&(n|=1),n}function ht(e){var n=0;if(e)for(var t=0,r=e;t<r.length;t++){n|=vt(r[t].kind)}return n}function vt(e){switch(e){case 123:return 32;case 122:return 4;case 121:return 16;case 120:return 8;case 125:return 128;case 92:return 1;case 133:return 2;case 84:return 2048;case 87:return 512;case 129:return 256;case 141:return 64}return 0}function bt(e){return 74===e||75===e||76===e}function Et(e){return e>=62&&e<=77}function Tt(e){var n=St(e);return n&&!n.isImplements?n.class:void 0}function St(n){return e.isExpressionWithTypeArguments(n)&&e.isHeritageClause(n.parent)&&e.isClassLike(n.parent.parent)?{class:n.parent.parent,isImplements:116===n.parent.token}:void 0}function Lt(n,t){return e.isBinaryExpression(n)&&(t?62===n.operatorToken.kind:Et(n.operatorToken.kind))&&e.isLeftHandSideExpression(n.left)}function xt(e){return void 0!==Tt(e)}function At(e){return 78===e.kind||Dt(e)}function Dt(n){return e.isPropertyAccessExpression(n)&&e.isIdentifier(n.name)&&At(n.expression)}function Ct(e){return De(e)&&"prototype"===ke(e)}e.getIndentString=Un,e.getIndentSize=Vn,e.createTextWriter=function(n){var t,r,a,i,o,s=!1;function c(n){var r=e.computeLineStarts(n);r.length>1?(i=i+r.length-1,o=t.length-n.length+e.last(r),a=o-t.length==0):a=!1}function l(e){e&&e.length&&(a&&(e=Un(r)+e,a=!1),t+=e,c(e))}function u(e){e&&(s=!1),l(e)}function d(){t="",r=0,a=!0,i=0,o=0,s=!1}return d(),{write:u,rawWrite:function(e){void 0!==e&&(t+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&u(e)},writeLine:function(e){a&&!e||(i++,o=(t+=n).length,a=!0,s=!1)},increaseIndent:function(){r++},decreaseIndent:function(){r--},getIndent:function(){return r},getTextPos:function(){return t.length},getLine:function(){return i},getColumn:function(){return a?r*Vn():t.length-o},getText:function(){return t},isAtStartOfLine:function(){return a},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},clear:d,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:u,writeOperator:u,writeParameter:u,writeProperty:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeSymbol:function(e,n){return u(e)},writeTrailingSemicolon:u,writeComment:function(e){e&&(s=!0),l(e)},getTextPosWithWriteLine:function(){return a?t.length:t.length+n.length}}},e.getTrailingSemicolonDeferringWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return s(s({},e),{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})},e.hostUsesCaseSensitiveFileNames=jn,e.hostGetCanonicalFileName=function(n){return e.createGetCanonicalFileName(jn(n))},e.getResolvedExternalModuleName=Kn,e.getExternalModuleNameFromDeclaration=function(e,n,t){var r=n.getExternalModuleFileFromDeclaration(t);if(r&&!r.isDeclarationFile)return Kn(e,r)},e.getExternalModuleNameFromPath=Hn,e.getOwnEmitOutputFilePath=function(e,n,t){var r=n.getCompilerOptions();return(r.outDir?Ur(Jn(e,n,r.outDir)):Ur(e))+t},e.getDeclarationEmitOutputFilePath=function(e,n){return Wn(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=Wn,e.outFile=qn,e.getSourceFilesToEmit=function(n,t,r){var a=n.getCompilerOptions();if(qn(a)){var i=lr(a),o=a.emitDeclarationOnly||i===e.ModuleKind.AMD||i===e.ModuleKind.System;return e.filter(n.getSourceFiles(),(function(t){return(o||!e.isExternalModule(t))&&zn(t,n,r)}))}var s=void 0===t?n.getSourceFiles():[t];return e.filter(s,(function(e){return zn(e,n,r)}))},e.sourceFileMayBeEmitted=zn,e.getSourceFilePathInNewDir=Jn,e.getSourceFilePathInNewDirWorker=Xn,e.writeFile=function(n,t,r,a,i,o){n.writeFile(r,a,i,(function(n){t.add(ar(e.Diagnostics.Could_not_write_file_0_Colon_1,r,n))}),o)},e.writeFileEnsuringDirectories=function(n,t,r,a,i,o){try{a(n,t,r)}catch(s){!function n(t,r,a){t.length>e.getRootLength(t)&&!a(t)&&(n(e.getDirectoryPath(t),r,a),r(t))}(e.getDirectoryPath(e.normalizePath(n)),i,o),a(n,t,r)}},e.getLineOfLocalPosition=function(n,t){var r=e.getLineStarts(n);return e.computeLineOfPosition(r,t)},e.getLineOfLocalPositionFromLineMap=Yn,e.getFirstConstructorWithBody=function(n){return e.find(n.members,(function(n){return e.isConstructorDeclaration(n)&&f(n.body)}))},e.getSetAccessorValueParameter=Qn,e.getSetAccessorTypeAnnotationNode=function(e){var n=Qn(e);return n&&n.type},e.getThisParameter=function(n){if(n.parameters.length&&!e.isJSDocSignature(n)){var t=n.parameters[0];if(Zn(t))return t}},e.parameterIsThisKeyword=Zn,e.isThisIdentifier=$n,e.identifierIsThisKeyword=et,e.getAllAccessorDeclarations=function(n,t){var r,a,i,o;return un(t)?(r=t,166===t.kind?i=t:167===t.kind?o=t:e.Debug.fail("Accessor has wrong kind")):e.forEach(n,(function(n){e.isAccessor(n)&&ct(n,32)===ct(t,32)&&(fn(n.name)===fn(t.name)&&(r?a||(a=n):r=n,166!==n.kind||i||(i=n),167!==n.kind||o||(o=n)))})),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}},e.getEffectiveTypeAnnotationNode=nt,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(n){return e.isJSDocSignature(n)?n.type&&n.type.typeExpression&&n.type.typeExpression.type:n.type||(pe(n)?e.getJSDocReturnType(n):void 0)},e.getJSDocTypeParameterDeclarations=function(n){return e.flatMap(e.getJSDocTags(n),(function(n){return function(n){return e.isJSDocTemplateTag(n)&&!(307===n.parent.kind&&n.parent.tags.some(we))}(n)?n.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var n=Qn(e);return n&&nt(n)},e.emitNewLineBeforeLeadingComments=tt,e.emitNewLineBeforeLeadingCommentsOfPosition=rt,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&Yn(e,t)!==Yn(e,r)&&n.writeLine()},e.emitComments=at,e.emitDetachedComments=function(n,t,r,a,i,o,s){var c,l;if(s?0===i.pos&&(c=e.filter(e.getLeadingCommentRanges(n,i.pos),(function(e){return y(n,e.pos)}))):c=e.getLeadingCommentRanges(n,i.pos),c){for(var u=[],d=void 0,p=0,f=c;p<f.length;p++){var m=f[p];if(d){var _=Yn(t,d.end);if(Yn(t,m.pos)>=_+2)break}u.push(m),d=m}if(u.length){_=Yn(t,e.last(u).end);Yn(t,e.skipTrivia(n,i.pos))>=_+2&&(tt(t,r,i,c),at(n,t,r,u,!1,!0,o,a),l={nodePos:i.pos,detachedCommentEndPos:e.last(u).end})}}return l},e.writeCommentRange=function(n,t,r,a,i,o){if(42===n.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(t,a),c=t.length,l=void 0,u=a,d=s.line;u<i;d++){var p=d+1===c?n.length+1:t[d+1];if(u!==a){void 0===l&&(l=ot(n,t[s.line],a));var f=r.getIndent()*Vn()-l+ot(n,u,p);if(f>0){var m=f%Vn(),_=Un((f-m)/Vn());for(r.rawWrite(_);m;)r.rawWrite(" "),m--}else r.rawWrite("")}it(n,i,r,o,u,p),u=p}else r.writeComment(n.substring(a,i))},e.hasEffectiveModifiers=function(e){return 0!==mt(e)},e.hasSyntacticModifiers=function(e){return 0!==_t(e)},e.hasEffectiveModifier=st,e.hasSyntacticModifier=ct,e.hasStaticModifier=lt,e.hasEffectiveReadonlyModifier=ut,e.getSelectedEffectiveModifierFlags=dt,e.getSelectedSyntacticModifierFlags=pt,e.getEffectiveModifierFlags=mt,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return ft(e,!0,!0)},e.getSyntacticModifierFlags=_t,e.getEffectiveModifierFlagsNoCache=function(e){return yt(e)|gt(e)},e.getSyntacticModifierFlagsNoCache=yt,e.modifiersToFlags=ht,e.modifierToFlag=vt,e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isLogicalOrCoalescingAssignmentOperator=bt,e.isLogicalOrCoalescingAssignmentExpression=function(e){return bt(e.operatorToken.kind)},e.isAssignmentOperator=Et,e.tryGetClassExtendingExpressionWithTypeArguments=Tt,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=St,e.isAssignmentExpression=Lt,e.isDestructuringAssignment=function(e){if(Lt(e,!0)){var n=e.left.kind;return 197===n||196===n}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=xt,e.isEntityNameExpression=At,e.getFirstIdentifier=function(e){switch(e.kind){case 78:return e;case 156:do{e=e.left}while(78!==e.kind);return e;case 198:do{e=e.expression}while(78!==e.kind);return e}},e.isDottedName=function e(n){return 78===n.kind||107===n.kind||105===n.kind||198===n.kind&&e(n.expression)||204===n.kind&&e(n.expression)},e.isPropertyAccessEntityNameExpression=Dt,e.tryGetPropertyAccessOrIdentifierToString=function n(t){if(e.isPropertyAccessExpression(t)){var r=n(t.expression);if(void 0!==r)return r+"."+M(t.name)}else if(e.isIdentifier(t))return e.unescapeLeadingUnderscores(t.escapedText)},e.isPrototypeAccess=Ct,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 156===e.parent.kind&&e.parent.right===e||198===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 197===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 196===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(n){if(function(n){return n&&e.length(n.declarations)>0&&ct(n.declarations[0],512)}(n))for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];if(a.localSymbol)return a.localSymbol}},e.tryExtractTSExtension=function(n){return e.find(e.supportedTSExtensionsForExtractExtension,(function(t){return e.fileExtensionIs(n,t)}))};var It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Nt(n){for(var t,r,a,i,o="",s=function(n){for(var t=[],r=n.length,a=0;a<r;a++){var i=n.charCodeAt(a);i<128?t.push(i):i<2048?(t.push(i>>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return t}(n),c=0,l=s.length;c<l;)t=s[c]>>2,r=(3&s[c])<<4|s[c+1]>>4,a=(15&s[c+1])<<2|s[c+2]>>6,i=63&s[c+2],c+1>=l?a=i=64:c+2>=l&&(i=64),o+=It.charAt(t)+It.charAt(r)+It.charAt(a)+It.charAt(i),c+=3;return o}e.convertToBase64=Nt,e.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):Nt(n)},e.base64decode=function(e,n){if(e&&e.base64decode)return e.base64decode(n);for(var t=n.length,r=[],a=0;a<t&&n.charCodeAt(a)!==It.charCodeAt(64);){var i=It.indexOf(n[a]),o=It.indexOf(n[a+1]),s=It.indexOf(n[a+2]),c=It.indexOf(n[a+3]),l=(63&i)<<2|o>>4&3,u=(15&o)<<4|s>>2&15,d=(3&s)<<6|63&c;0===u&&0!==s?r.push(l):0===d&&0!==c?r.push(l,u):r.push(l,u,d),a+=4}return function(e){for(var n="",t=0,r=e.length;t<r;){var a=e[t];if(a<128)n+=String.fromCharCode(a),t++;else if(192==(192&a)){for(var i=63&a,o=e[++t];128==(192&o);)i=i<<6|63&o,o=e[++t];n+=String.fromCharCode(i)}else n+=String.fromCharCode(a),t++}return n}(r)},e.readJson=function(n,t){try{var r=t.readFile(n);if(!r)return{};var a=e.parseConfigFileTextToJson(n,r);return a.error?{}:a.config}catch(e){return{}}},e.directoryProbablyExists=function(e,n){return!n.directoryExists||n.directoryExists(e)};var Rt;function kt(n,t){return void 0===t&&(t=n),e.Debug.assert(t>=n||-1===t),{pos:n,end:t}}function Ot(e,n){return kt(n,e.end)}function Pt(e){return e.decorators&&e.decorators.length>0?Ot(e,e.decorators.end):e}function Mt(e,n,t){return wt(Ft(e,t,!1),n.end,t)}function wt(n,t,r){return 0===e.getLinesBetweenPositions(r,n,t)}function Ft(n,t,r){return Hr(n.pos)?-1:e.skipTrivia(t.text,n.pos,!1,r)}function Gt(e){return void 0!==e.initializer}function Bt(e){return 33554432&e.flags?e.checkFlags:0}function Ut(n){var t=n.parent;if(!t)return 0;switch(t.kind){case 204:return Ut(t);case 212:case 211:var r=t.operator;return 45===r||46===r?c():0;case 213:var a=t,i=a.left,o=a.operatorToken;return i===n&&Et(o.kind)?62===o.kind?1:c():0;case 198:return t.name!==n?0:Ut(t);case 285:var s=Ut(t.parent);return n===t.name?function(n){switch(n){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(n)}}(s):s;case 286:return n===t.objectAssignmentInitializer?0:Ut(t.parent);case 196:return Ut(t);default:return 0}function c(){return t.parent&&230===function(e){for(;204===e.kind;)e=e.parent;return e}(t.parent).kind?1:2}}function Vt(e,n,t){var r=t.onDeleteValue,a=t.onExistingValue;e.forEach((function(t,i){var o=n.get(i);void 0===o?(e.delete(i),r(t,i)):a&&a(t,o,i)}))}function jt(e){if(32&e.flags){var n=Kt(e);return!!n&&ct(n,128)}return!1}function Kt(n){return e.find(n.declarations,e.isClassLike)}function Ht(e){return 3899393&e.flags?e.objectFlags:0}function Wt(e){return 198===e.kind||199===e.kind}function qt(e,n){this.flags=e,this.escapedName=n,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function zt(n,t){this.flags=t,e.Debug.isDebugging&&(this.checker=n)}function Jt(n,t){this.flags=t,e.Debug.isDebugging&&(this.checker=n)}function Xt(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Yt(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function Qt(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function Zt(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t||function(e){return e}}function $t(n,t,r){return void 0===r&&(r=0),n.replace(/{(\d+)}/g,(function(n,a){return""+e.Debug.checkDefined(t[+a+r])}))}function er(n){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[n.key]||n.message}function nr(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function tr(n,t){var r=t.fileName||"",a=t.text.length;e.Debug.assertEqual(n.fileName,r),e.Debug.assertLessThanOrEqual(n.start,a),e.Debug.assertLessThanOrEqual(n.start+n.length,a);var i={file:t,start:n.start,length:n.length,messageText:n.messageText,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary};if(n.relatedInformation){i.relatedInformation=[];for(var o=0,s=n.relatedInformation;o<s.length;o++){var c=s[o];nr(c)&&c.fileName===r?(e.Debug.assertLessThanOrEqual(c.start,a),e.Debug.assertLessThanOrEqual(c.start+c.length,a),i.relatedInformation.push(tr(c,t))):i.relatedInformation.push(c)}}return i}function rr(n,t,r,a){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0),n&&(e.Debug.assertLessThanOrEqual(t,n.text.length),e.Debug.assertLessThanOrEqual(t+r,n.text.length));var i=er(a);return arguments.length>4&&(i=$t(i,arguments,4)),{file:n,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary,reportsDeprecated:a.reportsDeprecated}}function ar(e){var n=er(e);return arguments.length>1&&(n=$t(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function ir(e){return e.file?e.file.path:void 0}function or(n,t){return sr(n,t)||function(n,t){if(!n.relatedInformation&&!t.relatedInformation)return 0;if(n.relatedInformation&&t.relatedInformation)return e.compareValues(n.relatedInformation.length,t.relatedInformation.length)||e.forEach(n.relatedInformation,(function(e,n){return or(e,t.relatedInformation[n])}))||0;return n.relatedInformation?-1:1}(n,t)||0}function sr(n,t){return e.compareStringsCaseSensitive(ir(n),ir(t))||e.compareValues(n.start,t.start)||e.compareValues(n.length,t.length)||e.compareValues(n.code,t.code)||function n(t,r){if("string"==typeof t&&"string"==typeof r)return e.compareStringsCaseSensitive(t,r);if("string"==typeof t)return-1;if("string"==typeof r)return 1;var a=e.compareStringsCaseSensitive(t.messageText,r.messageText);if(a)return a;if(!t.next&&!r.next)return 0;if(!t.next)return-1;if(!r.next)return 1;for(var i=Math.min(t.next.length,r.next.length),o=0;o<i;o++)if(a=n(t.next[o],r.next[o]))return a;if(t.next.length<r.next.length)return-1;if(t.next.length>r.next.length)return 1;return 0}(n.messageText,t.messageText)||0}function cr(e){return e.target||0}function lr(n){return"number"==typeof n.module?n.module:cr(n)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function ur(e){return!(!e.declaration&&!e.composite)}function dr(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function pr(e,n){return n.strictFlag?dr(e,n.name):e[n.name]}function fr(e){for(var n=!1,t=0;t<e.length;t++)if(42===e.charCodeAt(t)){if(n)return!1;n=!0}return!0}function mr(){var n,t;return{getSymlinkedFiles:function(){return t},getSymlinkedDirectories:function(){return n},setSymlinkedFile:function(n,r){return(t||(t=new e.Map)).set(n,r)},setSymlinkedDirectory:function(t,r){return(n||(n=new e.Map)).set(t,r)}}}function _r(n,t,r,a){for(var i=e.getPathComponents(e.toPath(n,r,a)),o=e.getPathComponents(e.toPath(t,r,a)),s=!1;!gr(i[i.length-2],a)&&!gr(o[o.length-2],a)&&a(i[i.length-1])===a(o[o.length-1]);)i.pop(),o.pop(),s=!0;return s?[e.getPathFromPathComponents(i),e.getPathFromPathComponents(o)]:void 0}function gr(n,t){return"node_modules"===t(n)||e.startsWith(n,"@")}e.getNewLineCharacter=function(n,t){switch(n.newLine){case 0:return"\r\n";case 1:return"\n"}return t?t():e.sys?e.sys.newLine:"\r\n"},e.createRange=kt,e.moveRangeEnd=function(e,n){return kt(e.pos,n)},e.moveRangePos=Ot,e.moveRangePastDecorators=Pt,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?Ot(e,e.modifiers.end):Pt(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(n,t){return kt(n,n+e.tokenToString(t).length)},e.rangeIsOnSingleLine=function(e,n){return Mt(e,e,n)},e.rangeStartPositionsAreOnSameLine=function(e,n,t){return wt(Ft(e,t,!1),Ft(n,t,!1),t)},e.rangeEndPositionsAreOnSameLine=function(e,n,t){return wt(e.end,n.end,t)},e.rangeStartIsOnSameLineAsRangeEnd=Mt,e.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return wt(e.end,Ft(n,t,!1),t)},e.getLinesBetweenRangeEndAndRangeStart=function(n,t,r,a){var i=Ft(t,r,a);return e.getLinesBetweenPositions(r,n.end,i)},e.getLinesBetweenRangeEndPositions=function(n,t,r){return e.getLinesBetweenPositions(r,n.end,t.end)},e.isNodeArrayMultiLine=function(e,n){return!wt(e.pos,e.end,n)},e.positionsAreOnSameLine=wt,e.getStartPositionOfRange=Ft,e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(n,t,r,a){var i=e.skipTrivia(r.text,n,!1,a),o=function(n,t,r){void 0===t&&(t=0);for(;n-- >t;)if(!e.isWhiteSpaceLike(r.text.charCodeAt(n)))return n}(i,t,r);return e.getLinesBetweenPositions(r,null!=o?o:t,i)},e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(n,t,r,a){var i=e.skipTrivia(r.text,n,!1,a);return e.getLinesBetweenPositions(r,n,Math.min(t,i))},e.isDeclarationNameOfEnumOrNamespace=function(n){var t=e.getParseTreeNode(n);if(t)switch(t.parent.kind){case 252:case 253:return t===t.parent.name}return!1},e.getInitializedVariables=function(n){return e.filter(n.declarations,Gt)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=Bt,e.getDeclarationModifierFlagsFromSymbol=function(n){if(n.valueDeclaration){var t=e.getCombinedModifierFlags(n.valueDeclaration);return n.parent&&32&n.parent.flags?t:-29&t}if(6&Bt(n)){var r=n.checkFlags;return(1024&r?8:256&r?4:16)|(2048&r?32:0)}return 4194304&n.flags?36:0},e.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===Ut(e)},e.isWriteAccess=function(e){return 0!==Ut(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(Rt||(Rt={})),e.compareDataObjects=function e(n,t){if(!n||!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if("object"==typeof n[r]){if(!e(n[r],t[r]))return!1}else if("function"!=typeof n[r]&&n[r]!==t[r])return!1;return!0},e.clearMap=function(e,n){e.forEach(n),e.clear()},e.mutateMapSkippingNewValues=Vt,e.mutateMap=function(e,n,t){Vt(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},e.isAbstractConstructorType=function(e){return!!(16&Ht(e))&&!!e.symbol&&jt(e.symbol)},e.isAbstractConstructorSymbol=jt,e.getClassLikeDeclarationOfSymbol=Kt,e.getObjectFlags=Ht,e.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(n,t){return!!e.forEachAncestorDirectory(n,(function(e){return!!t(e)||void 0}))},e.isUMDExportSymbol=function(n){return!!n&&!!n.declarations&&!!n.declarations[0]&&e.isNamespaceExportDeclaration(n.declarations[0])},e.showModuleSpecifier=function(n){var t=n.moduleSpecifier;return e.isStringLiteral(t)?t.text:E(t)},e.getLastChild=function(n){var t;return e.forEachChild(n,(function(e){f(e)&&(t=e)}),(function(e){for(var n=e.length-1;n>=0;n--)if(f(e[n])){t=e[n];break}})),t},e.addToSeen=function(e,n,t){return void 0===t&&(t=!0),n=String(n),!e.has(n)&&(e.set(n,t),!0)},e.isObjectTypeDeclaration=function(n){return e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isTypeLiteralNode(n)},e.isTypeNodeKind=function(e){return e>=171&&e<=192||128===e||151===e||143===e||154===e||144===e||131===e||146===e||147===e||113===e||149===e||140===e||220===e||299===e||300===e||301===e||302===e||303===e||304===e||305===e},e.isAccessExpression=Wt,e.getNameOfAccessExpression=function(n){return 198===n.kind?n.name:(e.Debug.assert(199===n.kind),n.argumentExpression)},e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},e.isNamedImportsOrExports=function(e){return 261===e.kind||265===e.kind},e.getLeftmostExpression=function(e,n){for(;;){switch(e.kind){case 212:e=e.operand;continue;case 213:e=e.left;continue;case 214:e=e.condition;continue;case 202:e=e.tag;continue;case 200:if(n)return e;case 221:case 199:case 198:case 222:case 331:e=e.expression;continue}return e}},e.objectAllocator={getNodeConstructor:function(){return Xt},getTokenConstructor:function(){return Yt},getIdentifierConstructor:function(){return Qt},getPrivateIdentifierConstructor:function(){return Xt},getSourceFileConstructor:function(){return Xt},getSymbolConstructor:function(){return qt},getTypeConstructor:function(){return zt},getSignatureConstructor:function(){return Jt},getSourceMapSourceConstructor:function(){return Zt}},e.setObjectAllocator=function(n){e.objectAllocator=n},e.formatStringFromArgs=$t,e.setLocalizedDiagnosticMessages=function(n){e.localizedDiagnosticMessages=n},e.getLocaleSpecificMessage=er,e.createDetachedDiagnostic=function(n,t,r,a){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0);var i=er(a);return arguments.length>4&&(i=$t(i,arguments,4)),{file:void 0,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary,fileName:n}},e.attachFileToDiagnostics=function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r];t.push(tr(i,n))}return t},e.createFileDiagnostic=rr,e.formatMessage=function(e,n){var t=er(n);return arguments.length>2&&(t=$t(t,arguments,2)),t},e.createCompilerDiagnostic=ar,e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,n){var t=er(n);return arguments.length>2&&(t=$t(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}},e.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next[0];t.next=[n]},e.compareDiagnostics=or,e.compareDiagnosticsSkipRelatedInformation=sr,e.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},e.getEmitScriptTarget=cr,e.getEmitModuleKind=lr,e.getEmitModuleResolutionKind=function(n){var t=n.moduleResolution;return void 0===t&&(t=lr(n)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),t},e.hasJsonModuleEmitEnabled=function(n){switch(lr(n)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:return!0;default:return!1}},e.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!ur(e)||!e.declarationMap)},e.getAllowSyntheticDefaultImports=function(n){var t=lr(n);return void 0!==n.allowSyntheticDefaultImports?n.allowSyntheticDefaultImports:n.esModuleInterop||t===e.ModuleKind.System},e.getEmitDeclarations=ur,e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=dr,e.compilerOptionsAffectSemanticDiagnostics=function(n,t){return t!==n&&e.semanticDiagnosticsOptionDeclarations.some((function(e){return!zr(pr(t,e),pr(n,e))}))},e.compilerOptionsAffectEmit=function(n,t){return t!==n&&e.affectsEmitOptionDeclarations.some((function(e){return!zr(pr(t,e),pr(n,e))}))},e.getCompilerOptionValue=pr,e.hasZeroOrOneAsteriskCharacter=fr,e.createSymlinkCache=mr,e.discoverProbableSymlinks=function(n,t,r){for(var a=mr(),i=0,o=e.flatten(e.mapDefined(n,(function(n){return n.resolvedModules&&e.compact(e.arrayFrom(e.mapIterator(n.resolvedModules.values(),(function(e){return e&&e.originalPath&&e.resolvedFileName!==e.originalPath?[e.resolvedFileName,e.originalPath]:void 0}))))})));i<o.length;i++){var s=o[i],c=_r(s[0],s[1],r,t)||e.emptyArray,l=c[0],u=c[1];l&&u&&a.setSymlinkedDirectory(e.toPath(u,r,t),{real:l,realPath:e.toPath(l,r,t)})}return a},e.tryRemoveDirectoryPrefix=function(n,t,r){var a,i=e.tryRemovePrefix(n,t,r);return void 0===i?void 0:(a=i,e.isAnyDirectorySeparator(a.charCodeAt(0))?a.slice(1):void 0)};var yr=/[^\w\s\/]/g;function hr(e){return"\\"+e}e.regExpEscape=function(e){return e.replace(yr,hr)};var vr=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var br="(?!("+e.commonPackageFolders.join("|")+")(/|$))",Er={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+br+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Cr(e,Er.singleAsteriskRegexFragment)}},Tr={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+br+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Cr(e,Tr.singleAsteriskRegexFragment)}},Sr={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return Cr(e,Sr.singleAsteriskRegexFragment)}},Lr={files:Er,directories:Tr,exclude:Sr};function xr(e,n,t){var r=Ar(e,n,t);if(r&&r.length)return"^("+r.map((function(e){return"("+e+")"})).join("|")+")"+("exclude"===t?"($|/)":"$")}function Ar(n,t,r){if(void 0!==n&&0!==n.length)return e.flatMap(n,(function(n){return n&&function(n,t,r,a){var i=a.singleAsteriskRegexFragment,o=a.doubleAsteriskRegexFragment,s=a.replaceWildcardCharacter,c="",l=!1,u=e.getNormalizedPathComponents(n,t),d=e.last(u);if("exclude"!==r&&"**"===d)return;u[0]=e.removeTrailingDirectorySeparator(u[0]),Dr(d)&&u.push("**","*");for(var p=0,f=0,m=u;f<m.length;f++){var _=m[f];if("**"===_)c+=o;else if("directories"===r&&(c+="(",p++),l&&(c+=e.directorySeparator),"exclude"!==r){var g="";42===_.charCodeAt(0)?(g+="([^./]"+i+")?",_=_.substr(1)):63===_.charCodeAt(0)&&(g+="[^./]",_=_.substr(1)),(g+=_.replace(yr,s))!==_&&(c+=br),c+=g}else c+=_.replace(yr,s);l=!0}for(;p>0;)c+=")?",p--;return c}(n,t,r,Lr[r])}))}function Dr(e){return!/[.*?]/.test(e)}function Cr(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function Ir(n,t,r,a,i){n=e.normalizePath(n),i=e.normalizePath(i);var o=e.combinePaths(i,n);return{includeFilePatterns:e.map(Ar(r,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:xr(r,o,"files"),includeDirectoryPattern:xr(r,o,"directories"),excludePattern:xr(t,o,"exclude"),basePaths:Rr(n,r,a)}}function Nr(e,n){return new RegExp(e,n?"":"i")}function Rr(n,t,r){var a=[n];if(t){for(var i=[],o=0,s=t;o<s.length;o++){var c=s[o],l=e.isRootedDiskPath(c)?c:e.normalizePath(e.combinePaths(n,c));i.push(kr(l))}i.sort(e.getStringComparer(!r));for(var u=function(t){e.every(a,(function(a){return!e.containsPath(a,t,n,!r)}))&&a.push(t)},d=0,p=i;d<p.length;d++){u(p[d])}}return a}function kr(n){var t=e.indexOfAnyCharCode(n,vr);return t<0?e.hasExtension(n)?e.removeTrailingDirectorySeparator(e.getDirectoryPath(n)):n:n.substring(0,n.lastIndexOf(e.directorySeparator,t))}function Or(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}e.getRegularExpressionForWildcard=xr,e.getRegularExpressionsForWildcards=Ar,e.isImplicitGlob=Dr,e.getFileMatcherPatterns=Ir,e.getRegexFromPattern=Nr,e.matchFiles=function(n,t,r,a,i,o,s,c,l){n=e.normalizePath(n),o=e.normalizePath(o);for(var u=Ir(n,r,a,i,o),d=u.includeFilePatterns&&u.includeFilePatterns.map((function(e){return Nr(e,i)})),p=u.includeDirectoryPattern&&Nr(u.includeDirectoryPattern,i),f=u.excludePattern&&Nr(u.excludePattern,i),m=d?d.map((function(){return[]})):[[]],_=new e.Map,g=e.createGetCanonicalFileName(i),y=0,h=u.basePaths;y<h.length;y++){var v=h[y];b(v,e.combinePaths(o,v),s)}return e.flatten(m);function b(n,r,a){var i=g(l(r));if(!_.has(i)){_.set(i,!0);for(var o=c(n),s=o.files,u=o.directories,y=function(a){var i=e.combinePaths(n,a),o=e.combinePaths(r,a);if(t&&!e.fileExtensionIsOneOf(i,t))return"continue";if(f&&f.test(o))return"continue";if(d){var s=e.findIndex(d,(function(e){return e.test(o)}));-1!==s&&m[s].push(i)}else m[0].push(i)},h=0,v=e.sort(s,e.compareStringsCaseSensitive);h<v.length;h++){y(S=v[h])}if(void 0===a||0!=--a)for(var E=0,T=e.sort(u,e.compareStringsCaseSensitive);E<T.length;E++){var S=T[E],L=e.combinePaths(n,S),x=e.combinePaths(r,S);p&&!p.test(x)||f&&f.test(x)||b(L,x,a)}}}},e.ensureScriptKind=function(e,n){return n||Or(e)||3},e.getScriptKindFromFileName=Or,e.supportedTSExtensions=[".ts",".tsx",".d.ts"],e.supportedTSExtensionsWithJson=[".ts",".tsx",".d.ts",".json"],e.supportedTSExtensionsForExtractExtension=[".d.ts",".ts",".tsx"],e.supportedJSExtensions=[".js",".jsx"],e.supportedJSAndJsonExtensions=[".js",".jsx",".json"];var Pr=o(e.supportedTSExtensions,e.supportedJSExtensions),Mr=o(e.supportedTSExtensions,e.supportedJSExtensions,[".json"]);function wr(n,t){var r=n&&n.allowJs;if(!t||0===t.length)return r?Pr:e.supportedTSExtensions;var a=o(r?Pr:e.supportedTSExtensions,e.mapDefined(t,(function(e){return 7===e.scriptKind||r&&(1===(n=e.scriptKind)||2===n)?e.extension:void 0;var n})));return e.deduplicate(a,e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function Fr(n,t){return n&&n.resolveJsonModule?t===Pr?Mr:t===e.supportedTSExtensions?e.supportedTSExtensionsWithJson:o(t,[".json"]):t}function Gr(e,n){return e<2?0:e<n.length?2:n.length}e.getSupportedExtensions=wr,e.getSuppoertedExtensionsWithJsonIfResolveJsonModule=Fr,e.hasJSFileExtension=function(n){return e.some(e.supportedJSExtensions,(function(t){return e.fileExtensionIs(n,t)}))},e.hasTSFileExtension=function(n){return e.some(e.supportedTSExtensions,(function(t){return e.fileExtensionIs(n,t)}))},e.isSupportedSourceFileName=function(n,t,r){if(!n)return!1;for(var a=0,i=Fr(t,wr(t,r));a<i.length;a++){var o=i[a];if(e.fileExtensionIs(n,o))return!0}return!1},function(e){e[e.TypeScriptFiles=0]="TypeScriptFiles",e[e.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",e[e.Highest=0]="Highest",e[e.Lowest=2]="Lowest"}(e.ExtensionPriority||(e.ExtensionPriority={})),e.getExtensionPriority=function(n,t){for(var r=t.length-1;r>=0;r--)if(e.fileExtensionIs(n,t[r]))return Gr(r,t);return 0},e.adjustExtensionPriority=Gr,e.getNextLowestExtensionPriority=function(e,n){return e<2?2:n.length};var Br=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function Ur(e){for(var n=0,t=Br;n<t.length;n++){var r=Vr(e,t[n]);if(void 0!==r)return r}return e}function Vr(n,t){return e.fileExtensionIs(n,t)?jr(n,t):void 0}function jr(e,n){return e.substring(0,e.length-n.length)}function Kr(n){e.Debug.assert(fr(n));var t=n.indexOf("*");return-1===t?void 0:{prefix:n.substr(0,t),suffix:n.substr(t+1)}}function Hr(e){return!(e>=0)}function Wr(e){return".ts"===e||".tsx"===e||".d.ts"===e}function qr(n){return e.find(Br,(function(t){return e.fileExtensionIs(n,t)}))}function zr(n,t){return n===t||"object"==typeof n&&null!==n&&"object"==typeof t&&null!==t&&e.equalOwnProperties(n,t,zr)}function Jr(e,n){return e.pos=n,e}function Xr(e,n){return e.end=n,e}function Yr(e,n,t){return Xr(Jr(e,n),t)}function Qr(e,n){return e&&n&&(e.parent=n),e}e.removeFileExtension=Ur,e.tryRemoveExtension=Vr,e.removeExtension=jr,e.changeExtension=function(n,t){return e.changeAnyExtension(n,t,Br,!1)},e.tryParsePattern=Kr,e.positionIsSynthesized=Hr,e.extensionIsTS=Wr,e.resolutionExtensionIsTSOrJson=function(e){return Wr(e)||".json"===e},e.extensionFromPath=function(n){var t=qr(n);return void 0!==t?t:e.Debug.fail("File "+n+" has unknown extension.")},e.isAnySupportedFileExtension=function(e){return void 0!==qr(e)},e.tryGetExtensionFromPath=qr,e.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(n,t){for(var r=[],a=0,i=n;a<i.length;a++){var o=i[a];if(fr(o)){var s=Kr(o);if(s)r.push(s);else if(o===t)return o}}return e.findBestPatternMatch(r,(function(e){return e}),t)},e.sliceAfter=function(n,t){var r=n.indexOf(t);return e.Debug.assert(-1!==r),n.slice(r)},e.addRelatedInfo=function(e){for(var n,t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length?(e.relatedInformation||(e.relatedInformation=[]),(n=e.relatedInformation).push.apply(n,t),e):e},e.minAndMax=function(n,t){e.Debug.assert(0!==n.length);for(var r=t(n[0]),a=r,i=1;i<n.length;i++){var o=t(n[i]);o<r?r=o:o>a&&(a=o)}return{min:r,max:a}},e.rangeOfNode=function(e){return{pos:h(e),end:e.end}},e.rangeOfTypeParameters=function(e){return{pos:e.pos-1,end:e.end+1}},e.skipTypeChecking=function(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)},e.isJsonEqual=zr,e.parsePseudoBigInt=function(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:for(var t=e.length-1,r=0;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}for(var a=e.length-1,i=(a-2)*n,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,c=0;s>=2;s--,c+=n){var l=c>>>4,u=e.charCodeAt(s),d=(u<=57?u-48:10+u-(u<=70?65:97))<<(15&c);o[l]|=d;var p=d>>>16;p&&(o[l+1]|=p)}for(var f="",m=o.length-1,_=!0;_;){var g=0;_=!1;for(l=m;l>=0;l--){var y=g<<16|o[l],h=y/10|0;o[l]=h,g=y-10*h,h&&!_&&(m=l,_=!0)}f=g+f}return f},e.pseudoBigIntToString=function(e){var n=e.negative,t=e.base10Value;return(n&&"0"!==t?"-":"")+t},e.isValidTypeOnlyAliasUseSite=function(e){return!!(8388608&e.flags)||le(e)||function(e){if(78!==e.kind)return!1;var n=i(e.parent,(function(e){switch(e.kind){case 283:return!0;case 198:case 220:return!1;default:return"quit"}}));return 116===(null==n?void 0:n.token)||250===(null==n?void 0:n.parent.kind)}(e)||function(e){for(;78===e.kind||198===e.kind;)e=e.parent;if(157!==e.kind)return!1;if(ct(e.parent,128))return!0;var n=e.parent.parent.kind;return 250===n||176===n}(e)||!se(e)},e.typeOnlyDeclarationIsExport=function(e){return 267===e.kind},e.isIdentifierTypeReference=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)},e.arrayIsHomogeneous=function(n,t){if(void 0===t&&(t=e.equateValues),n.length<2)return!0;for(var r=n[0],a=1,i=n.length;a<i;a++){if(!t(r,n[a]))return!1}return!0},e.setTextRangePos=Jr,e.setTextRangeEnd=Xr,e.setTextRangePosEnd=Yr,e.setTextRangePosWidth=function(e,n,t){return Yr(e,n,n+t)},e.setNodeFlags=function(e,n){return e&&(e.flags=n),e},e.setParent=Qr,e.setEachParent=function(e,n){if(e)for(var t=0,r=e;t<r.length;t++){Qr(r[t],n)}return e},e.setParentRecursive=function(n,t){return n?(e.forEachChildRecursively(n,e.isJSDocNode(n)?r:function(n,t){return r(n,t)||function(n){if(e.hasJSDocNodes(n))for(var t=0,a=n.jsDoc;t<a.length;t++){var i=a[t];r(i,n),e.forEachChildRecursively(i,r)}}(n)}),n):n;function r(e,n){if(t&&e.parent===n)return"skip";Qr(e,n)}}}(p||(p={})),function(e){e.createBaseNodeFactory=function(){var n,t,r,a,i;return{createBaseSourceFileNode:function(n){return new(i||(i=e.objectAllocator.getSourceFileConstructor()))(n,-1,-1)},createBaseIdentifierNode:function(n){return new(r||(r=e.objectAllocator.getIdentifierConstructor()))(n,-1,-1)},createBasePrivateIdentifierNode:function(n){return new(a||(a=e.objectAllocator.getPrivateIdentifierConstructor()))(n,-1,-1)},createBaseTokenNode:function(n){return new(t||(t=e.objectAllocator.getTokenConstructor()))(n,-1,-1)},createBaseNode:function(t){return new(n||(n=e.objectAllocator.getNodeConstructor()))(t,-1,-1)}}}}(p||(p={})),function(e){e.createParenthesizerRules=function(n){return{parenthesizeLeftSideOfBinary:function(e,n){return r(e,n,!0)},parenthesizeRightSideOfBinary:function(e,n,t){return r(e,t,!1,n)},parenthesizeExpressionOfComputedPropertyName:function(t){return e.isCommaSequence(t)?n.createParenthesizedExpression(t):t},parenthesizeConditionOfConditionalExpression:function(t){var r=e.getOperatorPrecedence(214,57),a=e.skipPartiallyEmittedExpressions(t),i=e.getExpressionPrecedence(a);if(1!==e.compareValues(i,r))return n.createParenthesizedExpression(t);return t},parenthesizeBranchOfConditionalExpression:function(t){var r=e.skipPartiallyEmittedExpressions(t);return e.isCommaSequence(r)?n.createParenthesizedExpression(t):t},parenthesizeExpressionOfExportDefault:function(t){var r=e.skipPartiallyEmittedExpressions(t),a=e.isCommaSequence(r);if(!a)switch(e.getLeftmostExpression(r,!1).kind){case 218:case 205:a=!0}return a?n.createParenthesizedExpression(t):t},parenthesizeExpressionOfNew:function(t){var r=e.getLeftmostExpression(t,!0);switch(r.kind){case 200:return n.createParenthesizedExpression(t);case 201:return r.arguments?t:n.createParenthesizedExpression(t)}return a(t)},parenthesizeLeftSideOfAccess:a,parenthesizeOperandOfPostfixUnary:function(t){return e.isLeftHandSideExpression(t)?t:e.setTextRange(n.createParenthesizedExpression(t),t)},parenthesizeOperandOfPrefixUnary:function(t){return e.isUnaryExpression(t)?t:e.setTextRange(n.createParenthesizedExpression(t),t)},parenthesizeExpressionsOfCommaDelimitedList:function(t){var r=e.sameMap(t,i);return e.setTextRange(n.createNodeArray(r,t.hasTrailingComma),t)},parenthesizeExpressionForDisallowedComma:i,parenthesizeExpressionOfExpressionStatement:function(t){var r=e.skipPartiallyEmittedExpressions(t);if(e.isCallExpression(r)){var a=r.expression,i=e.skipPartiallyEmittedExpressions(a).kind;if(205===i||206===i){var o=n.updateCallExpression(r,e.setTextRange(n.createParenthesizedExpression(a),a),r.typeArguments,r.arguments);return n.restoreOuterExpressions(t,o,8)}}var s=e.getLeftmostExpression(r,!1).kind;if(197===s||205===s)return e.setTextRange(n.createParenthesizedExpression(t),t);return t},parenthesizeConciseBodyOfArrowFunction:function(t){if(!e.isBlock(t)&&(e.isCommaSequence(t)||197===e.getLeftmostExpression(t,!1).kind))return e.setTextRange(n.createParenthesizedExpression(t),t);return t},parenthesizeMemberOfConditionalType:o,parenthesizeMemberOfElementType:s,parenthesizeElementTypeOfArrayType:function(e){switch(e.kind){case 175:case 187:case 184:return n.createParenthesizedType(e)}return s(e)},parenthesizeConstituentTypesOfUnionOrIntersectionType:function(t){return n.createNodeArray(e.sameMap(t,s))},parenthesizeTypeArguments:function(t){if(e.some(t))return n.createNodeArray(e.sameMap(t,c))}};function t(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isLiteralKind(n.kind))return n.kind;if(213===n.kind&&39===n.operatorToken.kind){if(void 0!==n.cachedLiteralKind)return n.cachedLiteralKind;var r=t(n.left),a=e.isLiteralKind(r)&&r===t(n.right)?r:0;return n.cachedLiteralKind=a,a}return 0}function r(r,a,i,o){return 204===e.skipPartiallyEmittedExpressions(a).kind?a:function(n,r,a,i){var o=e.getOperatorPrecedence(213,n),s=e.getOperatorAssociativity(213,n),c=e.skipPartiallyEmittedExpressions(r);if(!a&&206===r.kind&&o>3)return!0;var l=e.getExpressionPrecedence(c);switch(e.compareValues(l,o)){case-1:return!(!a&&1===s&&216===r.kind);case 1:return!1;case 0:if(a)return 1===s;if(e.isBinaryExpression(c)&&c.operatorToken.kind===n){if(function(e){return 41===e||51===e||50===e||52===e}(n))return!1;if(39===n){var u=i?t(i):0;if(e.isLiteralKind(u)&&u===t(c))return!1}}return 0===e.getExpressionAssociativity(c)}}(r,a,i,o)?n.createParenthesizedExpression(a):a}function a(t){var r=e.skipPartiallyEmittedExpressions(t);return e.isLeftHandSideExpression(r)&&(201!==r.kind||r.arguments)?t:e.setTextRange(n.createParenthesizedExpression(t),t)}function i(t){var r=e.skipPartiallyEmittedExpressions(t);return e.getExpressionPrecedence(r)>e.getOperatorPrecedence(213,27)?t:e.setTextRange(n.createParenthesizedExpression(t),t)}function o(e){return 183===e.kind?n.createParenthesizedType(e):e}function s(e){switch(e.kind){case 181:case 182:case 173:case 174:return n.createParenthesizedType(e)}return o(e)}function c(t,r){return 0===r&&e.isFunctionOrConstructorTypeNode(t)&&t.typeParameters?n.createParenthesizedType(t):t}},e.nullParenthesizerRules={parenthesizeLeftSideOfBinary:function(e,n){return n},parenthesizeRightSideOfBinary:function(e,n,t){return t},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(n){return e.cast(n,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(n){return e.cast(n,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(n){return e.cast(n,e.isNodeArray)},parenthesizeTypeArguments:function(n){return n&&e.cast(n,e.isNodeArray)}}}(p||(p={})),function(e){e.createNodeConverters=function(n){return{convertToFunctionBlock:function(t,r){if(e.isBlock(t))return t;var a=n.createReturnStatement(t);e.setTextRange(a,t);var i=n.createBlock([a],r);return e.setTextRange(i,t),i},convertToFunctionExpression:function(t){if(!t.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var r=n.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);e.setOriginalNode(r,t),e.setTextRange(r,t),e.getStartsOnNewLine(t)&&e.setStartsOnNewLine(r,!0);return r},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:r,convertToAssignmentPattern:a,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function t(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createSpreadElement(t.name),t),t);var r=s(t.name);return t.initializer?e.setOriginalNode(e.setTextRange(n.createAssignment(r,t.initializer),t),t):r}return e.cast(t,e.isExpression)}function r(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createSpreadAssignment(t.name),t),t);if(t.propertyName){var r=s(t.name);return e.setOriginalNode(e.setTextRange(n.createPropertyAssignment(t.propertyName,t.initializer?n.createAssignment(r,t.initializer):r),t),t)}return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return e.cast(t,e.isObjectLiteralElementLike)}function a(e){switch(e.kind){case 194:case 196:return o(e);case 193:case 197:return i(e)}}function i(t){return e.isObjectBindingPattern(t)?e.setOriginalNode(e.setTextRange(n.createObjectLiteralExpression(e.map(t.elements,r)),t),t):e.cast(t,e.isObjectLiteralExpression)}function o(r){return e.isArrayBindingPattern(r)?e.setOriginalNode(e.setTextRange(n.createArrayLiteralExpression(e.map(r.elements,t)),r),r):e.cast(r,e.isArrayLiteralExpression)}function s(n){return e.isBindingPattern(n)?a(n):e.cast(n,e.isExpression)}},e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}}(p||(p={})),function(e){var n,t=0;function r(r,f){var m=8&r?a:i,_=e.memoize((function(){return 1&r?e.nullParenthesizerRules:e.createParenthesizerRules(C)})),g=e.memoize((function(){return 2&r?e.nullNodeConverters:e.createNodeConverters(C)})),y=e.memoizeOne((function(e){return function(n,t){return In(n,e,t)}})),v=e.memoizeOne((function(e){return function(n){return Dn(e,n)}})),b=e.memoizeOne((function(e){return function(n){return Cn(n,e)}})),E=e.memoizeOne((function(e){return function(){return function(e){return N(e)}(e)}})),T=e.memoizeOne((function(e){return function(n){return qt(e,n)}})),S=e.memoizeOne((function(e){return function(n,t){return function(e,n,t){return n.type!==t?m(qt(e,t),n):n}(e,n,t)}})),L=e.memoizeOne((function(e){return function(n,t){return or(e,n,t)}})),x=e.memoizeOne((function(e){return function(n,t,r){return function(e,n,t,r){void 0===t&&(t=Qt(n));return n.tagName!==t||n.comment!==r?m(or(e,t,r),n):n}(e,n,t,r)}})),A=e.memoizeOne((function(e){return function(n,t,r){return sr(e,n,t,r)}})),D=e.memoizeOne((function(e){return function(n,t,r,a){return function(e,n,t,r,a){void 0===t&&(t=Qt(n));return n.tagName!==t||n.typeExpression!==r||n.comment!==a?m(sr(e,t,r,a),n):n}(e,n,t,r,a)}})),C={get parenthesizer(){return _()},get converters(){return g()},createNodeArray:I,createNumericLiteral:K,createBigIntLiteral:H,createStringLiteral:q,createStringLiteralFromNode:function(n){var t=W(e.getTextOfIdentifierOrLiteral(n),void 0);return t.textSourceNode=n,t},createRegularExpressionLiteral:z,createLiteralLikeNode:function(e,n){switch(e){case 8:return K(n,0);case 9:return H(n);case 10:return q(n,void 0);case 11:return _r(n,!1);case 12:return _r(n,!0);case 13:return z(n);case 14:return On(e,n,void 0,0)}},createIdentifier:Y,updateIdentifier:function(n,t){return n.typeArguments!==t?m(Y(e.idText(n),t),n):n},createTempVariable:Q,createLoopVariable:function(){return X("",2)},createUniqueName:function(n,t){void 0===t&&(t=0);return e.Debug.assert(!(7&t),"Argument out of range: flags"),e.Debug.assert(32!=(48&t),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),X(n,3|t)},getGeneratedNameForNode:Z,createPrivateIdentifier:function(n){e.startsWith(n,"#")||e.Debug.fail("First character of private identifier must be #: "+n);var t=f.createBasePrivateIdentifierNode(79);return t.escapedText=e.escapeLeadingUnderscores(n),t.transformFlags|=4194304,t},createToken:ee,createSuper:function(){return ee(105)},createThis:ne,createNull:function(){return ee(103)},createTrue:te,createFalse:re,createModifier:ae,createModifiersFromModifierFlags:ie,createQualifiedName:oe,updateQualifiedName:function(e,n,t){return e.left!==n||e.right!==t?m(oe(n,t),e):e},createComputedPropertyName:se,updateComputedPropertyName:function(e,n){return e.expression!==n?m(se(n),e):e},createTypeParameterDeclaration:ce,updateTypeParameterDeclaration:function(e,n,t,r){return e.name!==n||e.constraint!==t||e.default!==r?m(ce(n,t,r),e):e},createParameterDeclaration:le,updateParameterDeclaration:ue,createDecorator:de,updateDecorator:function(e,n){return e.expression!==n?m(de(n),e):e},createPropertySignature:pe,updatePropertySignature:fe,createPropertyDeclaration:me,updatePropertyDeclaration:_e,createMethodSignature:ge,updateMethodSignature:ye,createMethodDeclaration:he,updateMethodDeclaration:ve,createConstructorDeclaration:be,updateConstructorDeclaration:Ee,createGetAccessorDeclaration:Te,updateGetAccessorDeclaration:Se,createSetAccessorDeclaration:Le,updateSetAccessorDeclaration:xe,createCallSignature:Ae,updateCallSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(Ae(n,t,r),e):e},createConstructSignature:De,updateConstructSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(De(n,t,r),e):e},createIndexSignature:Ce,updateIndexSignature:Ie,createKeywordTypeNode:function(e){return ee(e)},createTypePredicateNode:Ne,updateTypePredicateNode:function(e,n,t,r){return e.assertsModifier!==n||e.parameterName!==t||e.type!==r?m(Ne(n,t,r),e):e},createTypeReferenceNode:Re,updateTypeReferenceNode:function(e,n,t){return e.typeName!==n||e.typeArguments!==t?m(Re(n,t),e):e},createFunctionTypeNode:ke,updateFunctionTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(ke(n,t,r),e):e},createConstructorTypeNode:Oe,updateConstructorTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(Oe(n,t,r),e):e},createTypeQueryNode:Pe,updateTypeQueryNode:function(e,n){return e.exprName!==n?m(Pe(n),e):e},createTypeLiteralNode:Me,updateTypeLiteralNode:function(e,n){return e.members!==n?m(Me(n),e):e},createArrayTypeNode:we,updateArrayTypeNode:function(e,n){return e.elementType!==n?m(we(n),e):e},createTupleTypeNode:Fe,updateTupleTypeNode:function(e,n){return e.elements!==n?m(Fe(n),e):e},createNamedTupleMember:Ge,updateNamedTupleMember:function(e,n,t,r,a){return e.dotDotDotToken!==n||e.name!==t||e.questionToken!==r||e.type!==a?m(Ge(n,t,r,a),e):e},createOptionalTypeNode:Be,updateOptionalTypeNode:function(e,n){return e.type!==n?m(Be(n),e):e},createRestTypeNode:Ue,updateRestTypeNode:function(e,n){return e.type!==n?m(Ue(n),e):e},createUnionTypeNode:function(e){return Ve(181,e)},updateUnionTypeNode:function(e,n){return je(e,n)},createIntersectionTypeNode:function(e){return Ve(182,e)},updateIntersectionTypeNode:function(e,n){return je(e,n)},createConditionalTypeNode:Ke,updateConditionalTypeNode:function(e,n,t,r,a){return e.checkType!==n||e.extendsType!==t||e.trueType!==r||e.falseType!==a?m(Ke(n,t,r,a),e):e},createInferTypeNode:He,updateInferTypeNode:function(e,n){return e.typeParameter!==n?m(He(n),e):e},createImportTypeNode:We,updateImportTypeNode:function(e,n,t,r,a){void 0===a&&(a=e.isTypeOf);return e.argument!==n||e.qualifier!==t||e.typeArguments!==r||e.isTypeOf!==a?m(We(n,t,r,a),e):e},createParenthesizedType:qe,updateParenthesizedType:function(e,n){return e.type!==n?m(qe(n),e):e},createThisTypeNode:function(){var e=N(186);return e.transformFlags=1,e},createTypeOperatorNode:ze,updateTypeOperatorNode:function(e,n){return e.type!==n?m(ze(e.operator,n),e):e},createIndexedAccessTypeNode:Je,updateIndexedAccessTypeNode:function(e,n,t){return e.objectType!==n||e.indexType!==t?m(Je(n,t),e):e},createMappedTypeNode:Xe,updateMappedTypeNode:function(e,n,t,r,a){return e.readonlyToken!==n||e.typeParameter!==t||e.questionToken!==r||e.type!==a?m(Xe(n,t,r,a),e):e},createLiteralTypeNode:Ye,updateLiteralTypeNode:function(e,n){return e.literal!==n?m(Ye(n),e):e},createObjectBindingPattern:Qe,updateObjectBindingPattern:function(e,n){return e.elements!==n?m(Qe(n),e):e},createArrayBindingPattern:Ze,updateArrayBindingPattern:function(e,n){return e.elements!==n?m(Ze(n),e):e},createBindingElement:$e,updateBindingElement:function(e,n,t,r,a){return e.propertyName!==t||e.dotDotDotToken!==n||e.name!==r||e.initializer!==a?m($e(n,t,r,a),e):e},createArrayLiteralExpression:nn,updateArrayLiteralExpression:function(e,n){return e.elements!==n?m(nn(n,e.multiLine),e):e},createObjectLiteralExpression:tn,updateObjectLiteralExpression:function(e,n){return e.properties!==n?m(tn(n,e.multiLine),e):e},createPropertyAccessExpression:4&r?function(n,t){return e.setEmitFlags(rn(n,t),131072)}:rn,updatePropertyAccessExpression:function(n,t,r){if(e.isPropertyAccessChain(n))return on(n,t,n.questionDotToken,e.cast(r,e.isIdentifier));return n.expression!==t||n.name!==r?m(rn(t,r),n):n},createPropertyAccessChain:4&r?function(n,t,r){return e.setEmitFlags(an(n,t,r),131072)}:an,updatePropertyAccessChain:on,createElementAccessExpression:sn,updateElementAccessExpression:function(n,t,r){if(e.isElementAccessChain(n))return ln(n,t,n.questionDotToken,r);return n.expression!==t||n.argumentExpression!==r?m(sn(t,r),n):n},createElementAccessChain:cn,updateElementAccessChain:ln,createCallExpression:un,updateCallExpression:function(n,t,r,a){if(e.isCallChain(n))return pn(n,t,n.questionDotToken,r,a);return n.expression!==t||n.typeArguments!==r||n.arguments!==a?m(un(t,r,a),n):n},createCallChain:dn,updateCallChain:pn,createNewExpression:fn,updateNewExpression:function(e,n,t,r){return e.expression!==n||e.typeArguments!==t||e.arguments!==r?m(fn(n,t,r),e):e},createTaggedTemplateExpression:mn,updateTaggedTemplateExpression:function(e,n,t,r){return e.tag!==n||e.typeArguments!==t||e.template!==r?m(mn(n,t,r),e):e},createTypeAssertion:_n,updateTypeAssertion:gn,createParenthesizedExpression:yn,updateParenthesizedExpression:hn,createFunctionExpression:vn,updateFunctionExpression:bn,createArrowFunction:En,updateArrowFunction:Tn,createDeleteExpression:Sn,updateDeleteExpression:function(e,n){return e.expression!==n?m(Sn(n),e):e},createTypeOfExpression:Ln,updateTypeOfExpression:function(e,n){return e.expression!==n?m(Ln(n),e):e},createVoidExpression:xn,updateVoidExpression:function(e,n){return e.expression!==n?m(xn(n),e):e},createAwaitExpression:An,updateAwaitExpression:function(e,n){return e.expression!==n?m(An(n),e):e},createPrefixUnaryExpression:Dn,updatePrefixUnaryExpression:function(e,n){return e.operand!==n?m(Dn(e.operator,n),e):e},createPostfixUnaryExpression:Cn,updatePostfixUnaryExpression:function(e,n){return e.operand!==n?m(Cn(n,e.operator),e):e},createBinaryExpression:In,updateBinaryExpression:function(e,n,t,r){return e.left!==n||e.operatorToken!==t||e.right!==r?m(In(n,t,r),e):e},createConditionalExpression:Nn,updateConditionalExpression:function(e,n,t,r,a,i){return e.condition!==n||e.questionToken!==t||e.whenTrue!==r||e.colonToken!==a||e.whenFalse!==i?m(Nn(n,t,r,a,i),e):e},createTemplateExpression:Rn,updateTemplateExpression:function(e,n,t){return e.head!==n||e.templateSpans!==t?m(Rn(n,t),e):e},createTemplateHead:function(e,n,t){return kn(15,e,n,t)},createTemplateMiddle:function(e,n,t){return kn(16,e,n,t)},createTemplateTail:function(e,n,t){return kn(17,e,n,t)},createNoSubstitutionTemplateLiteral:function(e,n,t){return kn(14,e,n,t)},createTemplateLiteralLikeNode:On,createYieldExpression:Pn,updateYieldExpression:function(e,n,t){return e.expression!==t||e.asteriskToken!==n?m(Pn(n,t),e):e},createSpreadElement:Mn,updateSpreadElement:function(e,n){return e.expression!==n?m(Mn(n),e):e},createClassExpression:wn,updateClassExpression:Fn,createOmittedExpression:function(){return en(219)},createExpressionWithTypeArguments:Gn,updateExpressionWithTypeArguments:function(e,n,t){return e.expression!==n||e.typeArguments!==t?m(Gn(n,t),e):e},createAsExpression:Bn,updateAsExpression:Un,createNonNullExpression:Vn,updateNonNullExpression:jn,createNonNullChain:Kn,updateNonNullChain:Hn,createMetaProperty:Wn,updateMetaProperty:function(e,n){return e.name!==n?m(Wn(e.keywordToken,n),e):e},createTemplateSpan:qn,updateTemplateSpan:function(e,n,t){return e.expression!==n||e.literal!==t?m(qn(n,t),e):e},createSemicolonClassElement:function(){var e=N(226);return e.transformFlags|=256,e},createBlock:zn,updateBlock:function(e,n){return e.statements!==n?m(zn(n,e.multiLine),e):e},createVariableStatement:Jn,updateVariableStatement:Xn,createEmptyStatement:Yn,createExpressionStatement:Qn,updateExpressionStatement:function(e,n){return e.expression!==n?m(Qn(n),e):e},createIfStatement:Zn,updateIfStatement:function(e,n,t,r){return e.expression!==n||e.thenStatement!==t||e.elseStatement!==r?m(Zn(n,t,r),e):e},createDoStatement:$n,updateDoStatement:function(e,n,t){return e.statement!==n||e.expression!==t?m($n(n,t),e):e},createWhileStatement:et,updateWhileStatement:function(e,n,t){return e.expression!==n||e.statement!==t?m(et(n,t),e):e},createForStatement:nt,updateForStatement:function(e,n,t,r,a){return e.initializer!==n||e.condition!==t||e.incrementor!==r||e.statement!==a?m(nt(n,t,r,a),e):e},createForInStatement:tt,updateForInStatement:function(e,n,t,r){return e.initializer!==n||e.expression!==t||e.statement!==r?m(tt(n,t,r),e):e},createForOfStatement:rt,updateForOfStatement:function(e,n,t,r,a){return e.awaitModifier!==n||e.initializer!==t||e.expression!==r||e.statement!==a?m(rt(n,t,r,a),e):e},createContinueStatement:at,updateContinueStatement:function(e,n){return e.label!==n?m(at(n),e):e},createBreakStatement:it,updateBreakStatement:function(e,n){return e.label!==n?m(it(n),e):e},createReturnStatement:ot,updateReturnStatement:function(e,n){return e.expression!==n?m(ot(n),e):e},createWithStatement:st,updateWithStatement:function(e,n,t){return e.expression!==n||e.statement!==t?m(st(n,t),e):e},createSwitchStatement:ct,updateSwitchStatement:function(e,n,t){return e.expression!==n||e.caseBlock!==t?m(ct(n,t),e):e},createLabeledStatement:lt,updateLabeledStatement:ut,createThrowStatement:dt,updateThrowStatement:function(e,n){return e.expression!==n?m(dt(n),e):e},createTryStatement:pt,updateTryStatement:function(e,n,t,r){return e.tryBlock!==n||e.catchClause!==t||e.finallyBlock!==r?m(pt(n,t,r),e):e},createDebuggerStatement:function(){return N(245)},createVariableDeclaration:ft,updateVariableDeclaration:function(e,n,t,r,a){return e.name!==n||e.type!==r||e.exclamationToken!==t||e.initializer!==a?m(ft(n,t,r,a),e):e},createVariableDeclarationList:mt,updateVariableDeclarationList:function(e,n){return e.declarations!==n?m(mt(n,e.flags),e):e},createFunctionDeclaration:_t,updateFunctionDeclaration:gt,createClassDeclaration:yt,updateClassDeclaration:ht,createInterfaceDeclaration:vt,updateInterfaceDeclaration:bt,createTypeAliasDeclaration:Et,updateTypeAliasDeclaration:Tt,createEnumDeclaration:St,updateEnumDeclaration:Lt,createModuleDeclaration:xt,updateModuleDeclaration:At,createModuleBlock:Dt,updateModuleBlock:function(e,n){return e.statements!==n?m(Dt(n),e):e},createCaseBlock:Ct,updateCaseBlock:function(e,n){return e.clauses!==n?m(Ct(n),e):e},createNamespaceExportDeclaration:It,updateNamespaceExportDeclaration:function(e,n){return e.name!==n?m(It(n),e):e},createImportEqualsDeclaration:Nt,updateImportEqualsDeclaration:Rt,createImportDeclaration:kt,updateImportDeclaration:Ot,createImportClause:Pt,updateImportClause:function(e,n,t,r){return e.isTypeOnly!==n||e.name!==t||e.namedBindings!==r?m(Pt(n,t,r),e):e},createNamespaceImport:Mt,updateNamespaceImport:function(e,n){return e.name!==n?m(Mt(n),e):e},createNamespaceExport:wt,updateNamespaceExport:function(e,n){return e.name!==n?m(wt(n),e):e},createNamedImports:Ft,updateNamedImports:function(e,n){return e.elements!==n?m(Ft(n),e):e},createImportSpecifier:Gt,updateImportSpecifier:function(e,n,t){return e.propertyName!==n||e.name!==t?m(Gt(n,t),e):e},createExportAssignment:Bt,updateExportAssignment:Ut,createExportDeclaration:Vt,updateExportDeclaration:jt,createNamedExports:Kt,updateNamedExports:function(e,n){return e.elements!==n?m(Kt(n),e):e},createExportSpecifier:Ht,updateExportSpecifier:function(e,n,t){return e.propertyName!==n||e.name!==t?m(Ht(n,t),e):e},createMissingDeclaration:function(){return R(268,void 0,void 0)},createExternalModuleReference:Wt,updateExternalModuleReference:function(e,n){return e.expression!==n?m(Wt(n),e):e},get createJSDocAllType(){return E(299)},get createJSDocUnknownType(){return E(300)},get createJSDocNonNullableType(){return T(302)},get updateJSDocNonNullableType(){return S(302)},get createJSDocNullableType(){return T(301)},get updateJSDocNullableType(){return S(301)},get createJSDocOptionalType(){return T(303)},get updateJSDocOptionalType(){return S(303)},get createJSDocVariadicType(){return T(305)},get updateJSDocVariadicType(){return S(305)},get createJSDocNamepathType(){return T(306)},get updateJSDocNamepathType(){return S(306)},createJSDocFunctionType:zt,updateJSDocFunctionType:function(e,n,t){return e.parameters!==n||e.type!==t?m(zt(n,t),e):e},createJSDocTypeLiteral:Jt,updateJSDocTypeLiteral:function(e,n,t){return e.jsDocPropertyTags!==n||e.isArrayType!==t?m(Jt(n,t),e):e},createJSDocTypeExpression:Xt,updateJSDocTypeExpression:function(e,n){return e.type!==n?m(Xt(n),e):e},createJSDocSignature:Yt,updateJSDocSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?m(Yt(n,t,r),e):e},createJSDocTemplateTag:$t,updateJSDocTemplateTag:function(e,n,t,r,a){void 0===n&&(n=Qt(e));return e.tagName!==n||e.constraint!==t||e.typeParameters!==r||e.comment!==a?m($t(n,t,r,a),e):e},createJSDocTypedefTag:er,updateJSDocTypedefTag:function(e,n,t,r,a){void 0===n&&(n=Qt(e));return e.tagName!==n||e.typeExpression!==t||e.fullName!==r||e.comment!==a?m(er(n,t,r,a),e):e},createJSDocParameterTag:nr,updateJSDocParameterTag:function(e,n,t,r,a,i,o){void 0===n&&(n=Qt(e));return e.tagName!==n||e.name!==t||e.isBracketed!==r||e.typeExpression!==a||e.isNameFirst!==i||e.comment!==o?m(nr(n,t,r,a,i,o),e):e},createJSDocPropertyTag:tr,updateJSDocPropertyTag:function(e,n,t,r,a,i,o){void 0===n&&(n=Qt(e));return e.tagName!==n||e.name!==t||e.isBracketed!==r||e.typeExpression!==a||e.isNameFirst!==i||e.comment!==o?m(tr(n,t,r,a,i,o),e):e},createJSDocCallbackTag:rr,updateJSDocCallbackTag:function(e,n,t,r,a){void 0===n&&(n=Qt(e));return e.tagName!==n||e.typeExpression!==t||e.fullName!==r||e.comment!==a?m(rr(n,t,r,a),e):e},createJSDocAugmentsTag:ar,updateJSDocAugmentsTag:function(e,n,t,r){void 0===n&&(n=Qt(e));return e.tagName!==n||e.class!==t||e.comment!==r?m(ar(n,t,r),e):e},createJSDocImplementsTag:ir,updateJSDocImplementsTag:function(e,n,t,r){void 0===n&&(n=Qt(e));return e.tagName!==n||e.class!==t||e.comment!==r?m(ir(n,t,r),e):e},get createJSDocTypeTag(){return A(325)},get updateJSDocTypeTag(){return D(325)},get createJSDocReturnTag(){return A(323)},get updateJSDocReturnTag(){return D(323)},get createJSDocThisTag(){return A(324)},get updateJSDocThisTag(){return D(324)},get createJSDocEnumTag(){return A(321)},get updateJSDocEnumTag(){return D(321)},get createJSDocAuthorTag(){return L(313)},get updateJSDocAuthorTag(){return x(313)},get createJSDocClassTag(){return L(315)},get updateJSDocClassTag(){return x(315)},get createJSDocPublicTag(){return L(316)},get updateJSDocPublicTag(){return x(316)},get createJSDocPrivateTag(){return L(317)},get updateJSDocPrivateTag(){return x(317)},get createJSDocProtectedTag(){return L(318)},get updateJSDocProtectedTag(){return x(318)},get createJSDocReadonlyTag(){return L(319)},get updateJSDocReadonlyTag(){return x(319)},get createJSDocDeprecatedTag(){return L(314)},get updateJSDocDeprecatedTag(){return x(314)},createJSDocUnknownTag:cr,updateJSDocUnknownTag:function(e,n,t){return e.tagName!==n||e.comment!==t?m(cr(n,t),e):e},createJSDocComment:lr,updateJSDocComment:function(e,n,t){return e.comment!==n||e.tags!==t?m(lr(n,t),e):e},createJsxElement:ur,updateJsxElement:function(e,n,t,r){return e.openingElement!==n||e.children!==t||e.closingElement!==r?m(ur(n,t,r),e):e},createJsxSelfClosingElement:dr,updateJsxSelfClosingElement:function(e,n,t,r){return e.tagName!==n||e.typeArguments!==t||e.attributes!==r?m(dr(n,t,r),e):e},createJsxOpeningElement:pr,updateJsxOpeningElement:function(e,n,t,r){return e.tagName!==n||e.typeArguments!==t||e.attributes!==r?m(pr(n,t,r),e):e},createJsxClosingElement:fr,updateJsxClosingElement:function(e,n){return e.tagName!==n?m(fr(n),e):e},createJsxFragment:mr,createJsxText:_r,updateJsxText:function(e,n,t){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==t?m(_r(n,t),e):e},createJsxOpeningFragment:function(){var e=N(275);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){var e=N(276);return e.transformFlags|=2,e},updateJsxFragment:function(e,n,t,r){return e.openingFragment!==n||e.children!==t||e.closingFragment!==r?m(mr(n,t,r),e):e},createJsxAttribute:gr,updateJsxAttribute:function(e,n,t){return e.name!==n||e.initializer!==t?m(gr(n,t),e):e},createJsxAttributes:yr,updateJsxAttributes:function(e,n){return e.properties!==n?m(yr(n),e):e},createJsxSpreadAttribute:hr,updateJsxSpreadAttribute:function(e,n){return e.expression!==n?m(hr(n),e):e},createJsxExpression:vr,updateJsxExpression:function(e,n){return e.expression!==n?m(vr(e.dotDotDotToken,n),e):e},createCaseClause:br,updateCaseClause:function(e,n,t){return e.expression!==n||e.statements!==t?m(br(n,t),e):e},createDefaultClause:Er,updateDefaultClause:function(e,n){return e.statements!==n?m(Er(n),e):e},createHeritageClause:Tr,updateHeritageClause:function(e,n){return e.types!==n?m(Tr(e.token,n),e):e},createCatchClause:Sr,updateCatchClause:function(e,n,t){return e.variableDeclaration!==n||e.block!==t?m(Sr(n,t),e):e},createPropertyAssignment:Lr,updatePropertyAssignment:function(e,n,t){return e.name!==n||e.initializer!==t?function(e,n){n.decorators&&(e.decorators=n.decorators);n.modifiers&&(e.modifiers=n.modifiers);n.questionToken&&(e.questionToken=n.questionToken);n.exclamationToken&&(e.exclamationToken=n.exclamationToken);return m(e,n)}(Lr(n,t),e):e},createShorthandPropertyAssignment:xr,updateShorthandPropertyAssignment:function(e,n,t){return e.name!==n||e.objectAssignmentInitializer!==t?function(e,n){n.decorators&&(e.decorators=n.decorators);n.modifiers&&(e.modifiers=n.modifiers);n.equalsToken&&(e.equalsToken=n.equalsToken);n.questionToken&&(e.questionToken=n.questionToken);n.exclamationToken&&(e.exclamationToken=n.exclamationToken);return m(e,n)}(xr(n,t),e):e},createSpreadAssignment:Ar,updateSpreadAssignment:function(e,n){return e.expression!==n?m(Ar(n),e):e},createEnumMember:Dr,updateEnumMember:function(e,n,t){return e.name!==n||e.initializer!==t?m(Dr(n,t),e):e},createSourceFile:function(e,n,t){var r=f.createBaseSourceFileNode(294);return r.statements=I(e),r.endOfFileToken=n,r.flags|=t,r.fileName="",r.text="",r.languageVersion=0,r.languageVariant=0,r.scriptKind=0,r.isDeclarationFile=!1,r.hasNoDefaultLib=!1,r.transformFlags|=d(r.statements)|u(r.endOfFileToken),r},updateSourceFile:function(n,t,r,a,i,o,s){void 0===r&&(r=n.isDeclarationFile);void 0===a&&(a=n.referencedFiles);void 0===i&&(i=n.typeReferenceDirectives);void 0===o&&(o=n.hasNoDefaultLib);void 0===s&&(s=n.libReferenceDirectives);return n.statements!==t||n.isDeclarationFile!==r||n.referencedFiles!==a||n.typeReferenceDirectives!==i||n.hasNoDefaultLib!==o||n.libReferenceDirectives!==s?m(function(n,t,r,a,i,o,s){var c=f.createBaseSourceFileNode(294);for(var l in n)"emitNode"!==l&&!e.hasProperty(c,l)&&e.hasProperty(n,l)&&(c[l]=n[l]);return c.flags|=n.flags,c.statements=I(t),c.endOfFileToken=n.endOfFileToken,c.isDeclarationFile=r,c.referencedFiles=a,c.typeReferenceDirectives=i,c.hasNoDefaultLib=o,c.libReferenceDirectives=s,c.transformFlags=d(c.statements)|u(c.endOfFileToken),c}(n,t,r,a,i,o,s),n):n},createBundle:Cr,updateBundle:function(n,t,r){void 0===r&&(r=e.emptyArray);return n.sourceFiles!==t||n.prepends!==r?m(Cr(t,r),n):n},createUnparsedSource:function(n,t,r){var a=N(296);return a.prologues=n,a.syntheticReferences=t,a.texts=r,a.fileName="",a.text="",a.referencedFiles=e.emptyArray,a.libReferenceDirectives=e.emptyArray,a.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(a,n)},a},createUnparsedPrologue:function(e){return Ir(289,e)},createUnparsedPrepend:function(e,n){var t=Ir(290,e);return t.texts=n,t},createUnparsedTextLike:function(e,n){return Ir(n?292:291,e)},createUnparsedSyntheticReference:function(e){var n=N(293);return n.data=e.data,n.section=e,n},createInputFiles:function(){var e=N(297);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,n,t){void 0===n&&(n=!1);var r=N(224);return r.type=e,r.isSpread=n,r.tupleNameSource=t,r},createSyntaxList:function(e){var n=N(329);return n._children=e,n},createNotEmittedStatement:function(n){var t=N(330);return t.original=n,e.setTextRange(t,n),t},createPartiallyEmittedExpression:Nr,updatePartiallyEmittedExpression:Rr,createCommaListExpression:Or,updateCommaListExpression:function(e,n){return e.elements!==n?m(Or(n),e):e},createEndOfDeclarationMarker:function(e){var n=N(334);return n.emitNode={},n.original=e,n},createMergeDeclarationMarker:function(e){var n=N(333);return n.emitNode={},n.original=e,n},createSyntheticReferenceExpression:Pr,updateSyntheticReferenceExpression:function(e,n,t){return e.expression!==n||e.thisArg!==t?m(Pr(n,t),e):e},cloneNode:Mr,get createComma(){return y(27)},get createAssignment(){return y(62)},get createLogicalOr(){return y(56)},get createLogicalAnd(){return y(55)},get createBitwiseOr(){return y(51)},get createBitwiseXor(){return y(52)},get createBitwiseAnd(){return y(50)},get createStrictEquality(){return y(36)},get createStrictInequality(){return y(37)},get createEquality(){return y(34)},get createInequality(){return y(35)},get createLessThan(){return y(29)},get createLessThanEquals(){return y(32)},get createGreaterThan(){return y(31)},get createGreaterThanEquals(){return y(33)},get createLeftShift(){return y(47)},get createRightShift(){return y(48)},get createUnsignedRightShift(){return y(49)},get createAdd(){return y(39)},get createSubtract(){return y(40)},get createMultiply(){return y(41)},get createDivide(){return y(43)},get createModulo(){return y(44)},get createExponent(){return y(42)},get createPrefixPlus(){return v(39)},get createPrefixMinus(){return v(40)},get createPrefixIncrement(){return v(45)},get createPrefixDecrement(){return v(46)},get createBitwiseNot(){return v(54)},get createLogicalNot(){return v(53)},get createPostfixIncrement(){return b(45)},get createPostfixDecrement(){return b(46)},createImmediatelyInvokedFunctionExpression:function(e,n,t){return un(vn(void 0,void 0,void 0,void 0,n?[n]:[],void 0,zn(e,!0)),void 0,t?[t]:[])},createImmediatelyInvokedArrowFunction:function(e,n,t){return un(En(void 0,void 0,n?[n]:[],void 0,void 0,zn(e,!0)),void 0,t?[t]:[])},createVoidZero:wr,createExportDefault:function(e){return Bt(void 0,void 0,!1,e)},createExternalModuleExport:function(e){return Vt(void 0,void 0,!1,Kt([Ht(void 0,e)]))},createTypeCheck:function(e,n){return"undefined"===n?C.createStrictEquality(e,wr()):C.createStrictEquality(Ln(e),q(n))},createMethodCall:Fr,createGlobalMethodCall:Gr,createFunctionBindCall:function(e,n,t){return Fr(e,"bind",o([n],t))},createFunctionCallCall:function(e,n,t){return Fr(e,"call",o([n],t))},createFunctionApplyCall:function(e,n,t){return Fr(e,"apply",[n,t])},createArraySliceCall:function(e,n){return Fr(e,"slice",void 0===n?[]:[Yr(n)])},createArrayConcatCall:function(e,n){return Fr(e,"concat",n)},createObjectDefinePropertyCall:function(e,n,t){return Gr("Object","defineProperty",[e,Yr(n),t])},createPropertyDescriptor:function(n,t){var r=[];Br(r,"enumerable",Yr(n.enumerable)),Br(r,"configurable",Yr(n.configurable));var a=Br(r,"writable",Yr(n.writable));a=Br(r,"value",n.value)||a;var i=Br(r,"get",n.get);return i=Br(r,"set",n.set)||i,e.Debug.assert(!(a&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),tn(r,!t)},createCallBinding:function(n,t,r,a){void 0===a&&(a=!1);var i,o,s=e.skipOuterExpressions(n,15);e.isSuperProperty(s)?(i=ne(),o=s):e.isSuperKeyword(s)?(i=ne(),o=void 0!==r&&r<2?e.setTextRange(Y("_super"),s):s):4096&e.getEmitFlags(s)?(i=wr(),o=_().parenthesizeLeftSideOfAccess(s)):e.isPropertyAccessExpression(s)?Ur(s.expression,a)?(i=Q(t),o=rn(e.setTextRange(C.createAssignment(i,s.expression),s.expression),s.name),e.setTextRange(o,s)):(i=s.expression,o=s):e.isElementAccessExpression(s)?Ur(s.expression,a)?(i=Q(t),o=sn(e.setTextRange(C.createAssignment(i,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(i=s.expression,o=s):(i=wr(),o=_().parenthesizeLeftSideOfAccess(n));return{target:o,thisArg:i}},inlineExpressions:function(n){return n.length>10?Or(n):e.reduceLeft(n,C.createComma)},getInternalName:function(e,n,t){return Vr(e,n,t,49152)},getLocalName:function(e,n,t){return Vr(e,n,t,16384)},getExportName:jr,getDeclarationName:function(e,n,t){return Vr(e,n,t)},getNamespaceMemberName:Kr,getExternalModuleOrNamespaceExportName:function(n,t,r,a){if(n&&e.hasSyntacticModifier(t,1))return Kr(n,Vr(t),r,a);return jr(t,r,a)},restoreOuterExpressions:function n(t,r,a){void 0===a&&(a=15);if(t&&e.isOuterExpression(t,a)&&(i=t,!(e.isParenthesizedExpression(i)&&e.nodeIsSynthesized(i)&&e.nodeIsSynthesized(e.getSourceMapRange(i))&&e.nodeIsSynthesized(e.getCommentRange(i)))||e.some(e.getSyntheticLeadingComments(i))||e.some(e.getSyntheticTrailingComments(i))))return function(e,n){switch(e.kind){case 204:return hn(e,n);case 203:return gn(e,e.type,n);case 221:return Un(e,n,e.type);case 222:return jn(e,n);case 331:return Rr(e,n)}}(t,n(t.expression,r));var i;return r},restoreEnclosingLabel:function n(t,r,a){if(!r)return t;var i=ut(r,r.label,e.isLabeledStatement(r.statement)?n(t,r.statement):t);a&&a(r);return i},createUseStrictPrologue:Hr,copyPrologue:function(e,n,t,r){var a=Wr(e,n,t);return qr(e,n,a,r)},copyStandardPrologue:Wr,copyCustomPrologue:qr,ensureUseStrict:function(n){if(!e.findUseStrictPrologue(n))return e.setTextRange(I(o([Hr()],n)),n);return n},liftToBlock:function(n){return e.Debug.assert(e.every(n,e.isStatementOrBlock),"Cannot lift nodes to a Block."),e.singleOrUndefined(n)||zn(n)},mergeLexicalEnvironment:function(n,t){if(!e.some(t))return n;var r=zr(n,e.isPrologueDirective,0),a=zr(n,e.isHoistedFunction,r),i=zr(n,e.isHoistedVariableStatement,a),s=zr(t,e.isPrologueDirective,0),c=zr(t,e.isHoistedFunction,s),l=zr(t,e.isHoistedVariableStatement,c),u=zr(t,e.isCustomPrologue,l);e.Debug.assert(u===t.length,"Expected declarations to be valid standard or custom prologues");var d=e.isNodeArray(n)?n.slice():n;u>l&&d.splice.apply(d,o([i,0],t.slice(l,u)));l>c&&d.splice.apply(d,o([a,0],t.slice(c,l)));c>s&&d.splice.apply(d,o([r,0],t.slice(s,c)));if(s>0)if(0===r)d.splice.apply(d,o([0,0],t.slice(0,s)));else{for(var p=new e.Map,f=0;f<r;f++){var m=n[f];p.set(m.expression.text,!0)}for(f=s-1;f>=0;f--){var _=t[f];p.has(_.expression.text)||d.unshift(_)}}if(e.isNodeArray(n))return e.setTextRange(I(d,n.hasTrailingComma),n);return n},updateModifiers:function(n,t){var r;"number"==typeof t&&(t=ie(t));return e.isParameter(n)?ue(n,n.decorators,t,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):e.isPropertySignature(n)?fe(n,t,n.name,n.questionToken,n.type):e.isPropertyDeclaration(n)?_e(n,n.decorators,t,n.name,null!==(r=n.questionToken)&&void 0!==r?r:n.exclamationToken,n.type,n.initializer):e.isMethodSignature(n)?ye(n,t,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):e.isMethodDeclaration(n)?ve(n,n.decorators,t,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):e.isConstructorDeclaration(n)?Ee(n,n.decorators,t,n.parameters,n.body):e.isGetAccessorDeclaration(n)?Se(n,n.decorators,t,n.name,n.parameters,n.type,n.body):e.isSetAccessorDeclaration(n)?xe(n,n.decorators,t,n.name,n.parameters,n.body):e.isIndexSignatureDeclaration(n)?Ie(n,n.decorators,t,n.parameters,n.type):e.isFunctionExpression(n)?bn(n,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):e.isArrowFunction(n)?Tn(n,t,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):e.isClassExpression(n)?Fn(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isVariableStatement(n)?Xn(n,t,n.declarationList):e.isFunctionDeclaration(n)?gt(n,n.decorators,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):e.isClassDeclaration(n)?ht(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isInterfaceDeclaration(n)?bt(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isTypeAliasDeclaration(n)?Tt(n,n.decorators,t,n.name,n.typeParameters,n.type):e.isEnumDeclaration(n)?Lt(n,n.decorators,t,n.name,n.members):e.isModuleDeclaration(n)?At(n,n.decorators,t,n.name,n.body):e.isImportEqualsDeclaration(n)?Rt(n,n.decorators,t,n.name,n.moduleReference):e.isImportDeclaration(n)?Ot(n,n.decorators,t,n.importClause,n.moduleSpecifier):e.isExportAssignment(n)?Ut(n,n.decorators,t,n.expression):e.isExportDeclaration(n)?jt(n,n.decorators,t,n.isTypeOnly,n.exportClause,n.moduleSpecifier):e.Debug.assertNever(n)}};return C;function I(n,t){if(void 0===n||n===e.emptyArray)n=[];else if(e.isNodeArray(n))return void 0===n.transformFlags&&p(n),n;var r=n.length,a=r>=1&&r<=4?n.slice():n;return e.setTextRangePosEnd(a,-1,-1),a.hasTrailingComma=!!t,p(a),a}function N(e){return f.createBaseNode(e)}function R(e,n,t){var r=N(e);return r.decorators=Jr(n),r.modifiers=Jr(t),r.transformFlags|=d(r.decorators)|d(r.modifiers),r.symbol=void 0,r.localSymbol=void 0,r.locals=void 0,r.nextContainer=void 0,r}function k(n,t,r,a){var i=R(n,t,r);if(a=Xr(a),i.name=a,a)switch(i.kind){case 164:case 166:case 167:case 162:case 285:if(e.isIdentifier(a)){i.transformFlags|=l(a);break}default:i.transformFlags|=u(a)}return i}function O(e,n,t,r,a){var i=k(e,n,t,r);return i.typeParameters=Jr(a),i.transformFlags|=d(i.typeParameters),a&&(i.transformFlags|=1),i}function P(e,n,t,r,a,i,o){var s=O(e,n,t,r,a);return s.parameters=I(i),s.type=o,s.transformFlags|=d(s.parameters)|u(s.type),o&&(s.transformFlags|=1),s}function M(e,n){return n.typeArguments&&(e.typeArguments=n.typeArguments),m(e,n)}function w(e,n,t,r,a,i,o,s){var c=P(e,n,t,r,a,i,o);return c.body=s,c.transformFlags|=-8388609&u(c.body),s||(c.transformFlags|=1),c}function F(e,n){return n.exclamationToken&&(e.exclamationToken=n.exclamationToken),n.typeArguments&&(e.typeArguments=n.typeArguments),M(e,n)}function G(e,n,t,r,a,i){var o=O(e,n,t,r,a);return o.heritageClauses=Jr(i),o.transformFlags|=d(o.heritageClauses),o}function B(e,n,t,r,a,i,o){var s=G(e,n,t,r,a,i);return s.members=I(o),s.transformFlags|=d(s.members),s}function U(e,n,t,r,a){var i=k(e,n,t,r);return i.initializer=a,i.transformFlags|=u(i.initializer),i}function V(e,n,t,r,a,i){var o=U(e,n,t,r,i);return o.type=a,o.transformFlags|=u(a),a&&(o.transformFlags|=1),o}function j(e,n){var t=$(e);return t.text=n,t}function K(e,n){void 0===n&&(n=0);var t=j(8,"number"==typeof e?e+"":e);return t.numericLiteralFlags=n,384&n&&(t.transformFlags|=256),t}function H(n){var t=j(9,"string"==typeof n?n:e.pseudoBigIntToString(n)+"n");return t.transformFlags|=4,t}function W(e,n){var t=j(10,e);return t.singleQuote=n,t}function q(e,n,t){var r=W(e,n);return r.hasExtendedUnicodeEscape=t,t&&(r.transformFlags|=256),r}function z(e){return j(13,e)}function J(n,t){void 0===t&&n&&(t=e.stringToToken(n)),78===t&&(t=void 0);var r=f.createBaseIdentifierNode(78);return r.originalKeywordKind=t,r.escapedText=e.escapeLeadingUnderscores(n),r}function X(e,n){var r=J(e,void 0);return r.autoGenerateFlags=n,r.autoGenerateId=t,t++,r}function Y(e,n,t){var r=J(e,t);return n&&(r.typeArguments=I(n)),130===r.originalKeywordKind&&(r.transformFlags|=8388608),r}function Q(e,n){var t=1;n&&(t|=8);var r=X("",t);return e&&e(r),r}function Z(n,t){void 0===t&&(t=0),e.Debug.assert(!(7&t),"Argument out of range: flags");var r=X(n&&e.isIdentifier(n)?e.idText(n):"",4|t);return r.original=n,r}function $(e){return f.createBaseTokenNode(e)}function ee(n){e.Debug.assert(n>=0&&n<=155,"Invalid token"),e.Debug.assert(n<=14||n>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(n<=8||n>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(78!==n,"Invalid token. Use 'createIdentifier' to create identifiers");var t=$(n),r=0;switch(n){case 129:r=96;break;case 122:case 120:case 121:case 141:case 125:case 133:case 84:case 128:case 143:case 154:case 140:case 144:case 146:case 131:case 147:case 113:case 151:case 149:r=1;break;case 123:case 105:r=256;break;case 107:r=4096}return r&&(t.transformFlags|=r),t}function ne(){return ee(107)}function te(){return ee(109)}function re(){return ee(94)}function ae(e){return ee(e)}function ie(e){var n=[];return 1&e&&n.push(ae(92)),2&e&&n.push(ae(133)),512&e&&n.push(ae(87)),2048&e&&n.push(ae(84)),4&e&&n.push(ae(122)),8&e&&n.push(ae(120)),16&e&&n.push(ae(121)),128&e&&n.push(ae(125)),32&e&&n.push(ae(123)),64&e&&n.push(ae(141)),256&e&&n.push(ae(129)),n}function oe(e,n){var t=N(156);return t.left=e,t.right=Xr(n),t.transformFlags|=u(t.left)|l(t.right),t}function se(e){var n=N(157);return n.expression=_().parenthesizeExpressionOfComputedPropertyName(e),n.transformFlags|=33024|u(n.expression),n}function ce(e,n,t){var r=k(158,void 0,void 0,e);return r.constraint=n,r.default=t,r.transformFlags=1,r}function le(n,t,r,a,i,o,s){var c=V(159,n,t,a,o,s&&_().parenthesizeExpressionForDisallowedComma(s));return c.dotDotDotToken=r,c.questionToken=i,e.isThisIdentifier(c.name)?c.transformFlags=1:(c.transformFlags|=u(c.dotDotDotToken)|u(c.questionToken),i&&(c.transformFlags|=1),92&e.modifiersToFlags(c.modifiers)&&(c.transformFlags|=2048),(s||r)&&(c.transformFlags|=256)),c}function ue(e,n,t,r,a,i,o,s){return e.decorators!==n||e.modifiers!==t||e.dotDotDotToken!==r||e.name!==a||e.questionToken!==i||e.type!==o||e.initializer!==s?m(le(n,t,r,a,i,o,s),e):e}function de(e){var n=N(160);return n.expression=_().parenthesizeLeftSideOfAccess(e),n.transformFlags|=2049|u(n.expression),n}function pe(e,n,t,r){var a=k(161,void 0,e,n);return a.type=r,a.questionToken=t,a.transformFlags=1,a}function fe(e,n,t,r,a){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.type!==a?m(pe(n,t,r,a),e):e}function me(n,t,r,a,i,o){var s=V(162,n,t,r,i,o);return s.questionToken=a&&e.isQuestionToken(a)?a:void 0,s.exclamationToken=a&&e.isExclamationToken(a)?a:void 0,s.transformFlags|=u(s.questionToken)|u(s.exclamationToken)|4194304,(e.isComputedPropertyName(s.name)||e.hasStaticModifier(s)&&s.initializer)&&(s.transformFlags|=2048),(a||2&e.modifiersToFlags(s.modifiers))&&(s.transformFlags|=1),s}function _e(n,t,r,a,i,o,s){return n.decorators!==t||n.modifiers!==r||n.name!==a||n.questionToken!==(void 0!==i&&e.isQuestionToken(i)?i:void 0)||n.exclamationToken!==(void 0!==i&&e.isExclamationToken(i)?i:void 0)||n.type!==o||n.initializer!==s?m(me(t,r,a,i,o,s),n):n}function ge(e,n,t,r,a,i){var o=P(163,void 0,e,n,r,a,i);return o.questionToken=t,o.transformFlags=1,o}function ye(e,n,t,r,a,i,o){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.typeParameters!==a||e.parameters!==i||e.type!==o?M(ge(n,t,r,a,i,o),e):e}function he(n,t,r,a,i,o,s,c,l){var d=w(164,n,t,a,o,s,c,l);return d.asteriskToken=r,d.questionToken=i,d.transformFlags|=u(d.asteriskToken)|u(d.questionToken)|256,i&&(d.transformFlags|=1),256&e.modifiersToFlags(d.modifiers)?d.transformFlags|=r?32:64:r&&(d.transformFlags|=512),d}function ve(e,n,t,r,a,i,o,s,c,l){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.questionToken!==i||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?F(he(n,t,r,a,i,o,s,c,l),e):e}function be(e,n,t,r){var a=w(165,e,n,void 0,void 0,t,void 0,r);return a.transformFlags|=256,a}function Ee(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.parameters!==r||e.body!==a?F(be(n,t,r,a),e):e}function Te(e,n,t,r,a,i){return w(166,e,n,t,void 0,r,a,i)}function Se(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.type!==i||e.body!==o?F(Te(n,t,r,a,i,o),e):e}function Le(e,n,t,r,a){return w(167,e,n,t,void 0,r,void 0,a)}function xe(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.body!==i?F(Le(n,t,r,a,i),e):e}function Ae(e,n,t){var r=P(168,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function De(e,n,t){var r=P(169,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Ce(e,n,t,r){var a=P(170,e,n,void 0,void 0,t,r);return a.transformFlags=1,a}function Ie(e,n,t,r,a){return e.parameters!==r||e.type!==a||e.decorators!==n||e.modifiers!==t?M(Ce(n,t,r,a),e):e}function Ne(e,n,t){var r=N(171);return r.assertsModifier=e,r.parameterName=Xr(n),r.type=t,r.transformFlags=1,r}function Re(e,n){var t=N(172);return t.typeName=Xr(e),t.typeArguments=n&&_().parenthesizeTypeArguments(I(n)),t.transformFlags=1,t}function ke(e,n,t){var r=P(173,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Oe(e,n,t){var r=P(174,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Pe(e){var n=N(175);return n.exprName=e,n.transformFlags=1,n}function Me(e){var n=N(176);return n.members=I(e),n.transformFlags=1,n}function we(e){var n=N(177);return n.elementType=_().parenthesizeElementTypeOfArrayType(e),n.transformFlags=1,n}function Fe(e){var n=N(178);return n.elements=I(e),n.transformFlags=1,n}function Ge(e,n,t,r){var a=N(191);return a.dotDotDotToken=e,a.name=n,a.questionToken=t,a.type=r,a.transformFlags=1,a}function Be(e){var n=N(179);return n.type=_().parenthesizeElementTypeOfArrayType(e),n.transformFlags=1,n}function Ue(e){var n=N(180);return n.type=e,n.transformFlags=1,n}function Ve(e,n){var t=N(e);return t.types=_().parenthesizeConstituentTypesOfUnionOrIntersectionType(n),t.transformFlags=1,t}function je(e,n){return e.types!==n?m(Ve(e.kind,n),e):e}function Ke(e,n,t,r){var a=N(183);return a.checkType=_().parenthesizeMemberOfConditionalType(e),a.extendsType=_().parenthesizeMemberOfConditionalType(n),a.trueType=t,a.falseType=r,a.transformFlags=1,a}function He(e){var n=N(184);return n.typeParameter=e,n.transformFlags=1,n}function We(e,n,t,r){void 0===r&&(r=!1);var a=N(192);return a.argument=e,a.qualifier=n,a.typeArguments=t&&_().parenthesizeTypeArguments(t),a.isTypeOf=r,a.transformFlags=1,a}function qe(e){var n=N(185);return n.type=e,n.transformFlags=1,n}function ze(e,n){var t=N(187);return t.operator=e,t.type=_().parenthesizeMemberOfElementType(n),t.transformFlags=1,t}function Je(e,n){var t=N(188);return t.objectType=_().parenthesizeMemberOfElementType(e),t.indexType=n,t.transformFlags=1,t}function Xe(e,n,t,r){var a=N(189);return a.readonlyToken=e,a.typeParameter=n,a.questionToken=t,a.type=r,a.transformFlags=1,a}function Ye(e){var n=N(190);return n.literal=e,n.transformFlags=1,n}function Qe(e){var n=N(193);return n.elements=I(e),n.transformFlags|=131328|d(n.elements),8192&n.transformFlags&&(n.transformFlags|=16416),n}function Ze(e){var n=N(194);return n.elements=I(e),n.transformFlags|=131328|d(n.elements),n}function $e(n,t,r,a){var i=U(195,void 0,void 0,r,a);return i.propertyName=Xr(t),i.dotDotDotToken=n,i.transformFlags|=256|u(i.dotDotDotToken),i.propertyName&&(i.transformFlags|=e.isIdentifier(i.propertyName)?l(i.propertyName):u(i.propertyName)),n&&(i.transformFlags|=8192),i}function en(e){return N(e)}function nn(e,n){var t=en(196);return t.elements=_().parenthesizeExpressionsOfCommaDelimitedList(I(e)),t.multiLine=n,t.transformFlags|=d(t.elements),t}function tn(e,n){var t=en(197);return t.properties=I(e),t.multiLine=n,t.transformFlags|=d(t.properties),t}function rn(n,t){var r=en(198);return r.expression=_().parenthesizeLeftSideOfAccess(n),r.name=Xr(t),r.transformFlags=u(r.expression)|(e.isIdentifier(r.name)?l(r.name):u(r.name)),e.isSuperKeyword(n)&&(r.transformFlags|=96),r}function an(n,t,r){var a=en(198);return a.flags|=32,a.expression=_().parenthesizeLeftSideOfAccess(n),a.questionDotToken=t,a.name=Xr(r),a.transformFlags|=8|u(a.expression)|u(a.questionDotToken)|(e.isIdentifier(a.name)?l(a.name):u(a.name)),a}function on(n,t,r,a){return e.Debug.assert(!!(32&n.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==t||n.questionDotToken!==r||n.name!==a?m(an(t,r,a),n):n}function sn(n,t){var r=en(199);return r.expression=_().parenthesizeLeftSideOfAccess(n),r.argumentExpression=Yr(t),r.transformFlags|=u(r.expression)|u(r.argumentExpression),e.isSuperKeyword(n)&&(r.transformFlags|=96),r}function cn(e,n,t){var r=en(199);return r.flags|=32,r.expression=_().parenthesizeLeftSideOfAccess(e),r.questionDotToken=n,r.argumentExpression=Yr(t),r.transformFlags|=u(r.expression)|u(r.questionDotToken)|u(r.argumentExpression)|8,r}function ln(n,t,r,a){return e.Debug.assert(!!(32&n.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==t||n.questionDotToken!==r||n.argumentExpression!==a?m(cn(t,r,a),n):n}function un(n,t,r){var a=en(200);return a.expression=_().parenthesizeLeftSideOfAccess(n),a.typeArguments=Jr(t),a.arguments=_().parenthesizeExpressionsOfCommaDelimitedList(I(r)),a.transformFlags|=u(a.expression)|d(a.typeArguments)|d(a.arguments),a.typeArguments&&(a.transformFlags|=1),e.isImportKeyword(a.expression)?a.transformFlags|=2097152:e.isSuperProperty(a.expression)&&(a.transformFlags|=4096),a}function dn(n,t,r,a){var i=en(200);return i.flags|=32,i.expression=_().parenthesizeLeftSideOfAccess(n),i.questionDotToken=t,i.typeArguments=Jr(r),i.arguments=_().parenthesizeExpressionsOfCommaDelimitedList(I(a)),i.transformFlags|=u(i.expression)|u(i.questionDotToken)|d(i.typeArguments)|d(i.arguments)|8,i.typeArguments&&(i.transformFlags|=1),e.isSuperProperty(i.expression)&&(i.transformFlags|=4096),i}function pn(n,t,r,a,i){return e.Debug.assert(!!(32&n.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==t||n.questionDotToken!==r||n.typeArguments!==a||n.arguments!==i?m(dn(t,r,a,i),n):n}function fn(e,n,t){var r=en(201);return r.expression=_().parenthesizeExpressionOfNew(e),r.typeArguments=Jr(n),r.arguments=t?_().parenthesizeExpressionsOfCommaDelimitedList(t):void 0,r.transformFlags|=u(r.expression)|d(r.typeArguments)|d(r.arguments)|8,r.typeArguments&&(r.transformFlags|=1),r}function mn(n,t,r){var a=en(202);return a.tag=_().parenthesizeLeftSideOfAccess(n),a.typeArguments=Jr(t),a.template=r,a.transformFlags|=u(a.tag)|d(a.typeArguments)|u(a.template)|256,a.typeArguments&&(a.transformFlags|=1),e.hasInvalidEscape(a.template)&&(a.transformFlags|=32),a}function _n(e,n){var t=en(203);return t.expression=_().parenthesizeOperandOfPrefixUnary(n),t.type=e,t.transformFlags|=u(t.expression)|u(t.type)|1,t}function gn(e,n,t){return e.type!==n||e.expression!==t?m(_n(n,t),e):e}function yn(e){var n=en(204);return n.expression=e,n.transformFlags=u(n.expression),n}function hn(e,n){return e.expression!==n?m(yn(n),e):e}function vn(n,t,r,a,i,o,s){var c=w(205,void 0,n,r,a,i,o,s);return c.asteriskToken=t,c.transformFlags|=u(c.asteriskToken),c.typeParameters&&(c.transformFlags|=1),256&e.modifiersToFlags(c.modifiers)?c.asteriskToken?c.transformFlags|=32:c.transformFlags|=64:c.asteriskToken&&(c.transformFlags|=512),c}function bn(e,n,t,r,a,i,o,s){return e.name!==r||e.modifiers!==n||e.asteriskToken!==t||e.typeParameters!==a||e.parameters!==i||e.type!==o||e.body!==s?F(vn(n,t,r,a,i,o,s),e):e}function En(n,t,r,a,i,o){var s=w(206,void 0,n,void 0,t,r,a,_().parenthesizeConciseBodyOfArrowFunction(o));return s.equalsGreaterThanToken=null!=i?i:ee(38),s.transformFlags|=256|u(s.equalsGreaterThanToken),256&e.modifiersToFlags(s.modifiers)&&(s.transformFlags|=64),s}function Tn(e,n,t,r,a,i,o){return e.modifiers!==n||e.typeParameters!==t||e.parameters!==r||e.type!==a||e.equalsGreaterThanToken!==i||e.body!==o?F(En(n,t,r,a,i,o),e):e}function Sn(e){var n=en(207);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=u(n.expression),n}function Ln(e){var n=en(208);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=u(n.expression),n}function xn(e){var n=en(209);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=u(n.expression),n}function An(e){var n=en(210);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=524384|u(n.expression),n}function Dn(e,n){var t=en(211);return t.operator=e,t.operand=_().parenthesizeOperandOfPrefixUnary(n),t.transformFlags|=u(t.operand),t}function Cn(e,n){var t=en(212);return t.operator=n,t.operand=_().parenthesizeOperandOfPostfixUnary(e),t.transformFlags=u(t.operand),t}function In(n,t,r){var a,i=en(213),o="number"==typeof(a=t)?ee(a):a,s=o.kind;return i.left=_().parenthesizeLeftSideOfBinary(s,n),i.operatorToken=o,i.right=_().parenthesizeRightSideOfBinary(s,i.left,r),i.transformFlags|=u(i.left)|u(i.operatorToken)|u(i.right),60===s?i.transformFlags|=8:62===s?e.isObjectLiteralExpression(i.left)?i.transformFlags|=1312:e.isArrayLiteralExpression(i.left)&&(i.transformFlags|=1280):42===s||66===s?i.transformFlags|=128:e.isLogicalOrCoalescingAssignmentOperator(s)&&(i.transformFlags|=4),i}function Nn(e,n,t,r,a){var i=en(214);return i.condition=_().parenthesizeConditionOfConditionalExpression(e),i.questionToken=null!=n?n:ee(57),i.whenTrue=_().parenthesizeBranchOfConditionalExpression(t),i.colonToken=null!=r?r:ee(58),i.whenFalse=_().parenthesizeBranchOfConditionalExpression(a),i.transformFlags|=u(i.condition)|u(i.questionToken)|u(i.whenTrue)|u(i.colonToken)|u(i.whenFalse),i}function Rn(e,n){var t=en(215);return t.head=e,t.templateSpans=I(n),t.transformFlags|=u(t.head)|d(t.templateSpans)|256,t}function kn(t,r,a,i){void 0===i&&(i=0),e.Debug.assert(!(-2049&i),"Unsupported template flags.");var o=void 0;if(void 0!==a&&a!==r&&"object"==typeof(o=function(t,r){n||(n=e.createScanner(99,!1,0));switch(t){case 14:n.setText("`"+r+"`");break;case 15:n.setText("`"+r+"${");break;case 16:n.setText("}"+r+"${");break;case 17:n.setText("}"+r+"`")}var a,i=n.scan();23===i&&(i=n.reScanTemplateToken(!1));if(n.isUnterminated())return n.setText(void 0),c;switch(i){case 14:case 15:case 16:case 17:a=n.getTokenValue()}if(void 0===a||1!==n.scan())return n.setText(void 0),c;return n.setText(void 0),a}(t,a)))return e.Debug.fail("Invalid raw text");if(void 0===r){if(void 0===o)return e.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");r=o}else void 0!==o&&e.Debug.assert(r===o,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return On(t,r,a,i)}function On(e,n,t,r){var a=$(e);return a.text=n,a.rawText=t,a.templateFlags=2048&r,a.transformFlags|=256,a.templateFlags&&(a.transformFlags|=32),a}function Pn(n,t){e.Debug.assert(!n||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");var r=en(216);return r.expression=t&&_().parenthesizeExpressionForDisallowedComma(t),r.asteriskToken=n,r.transformFlags|=262432|(u(r.expression)|u(r.asteriskToken)),r}function Mn(e){var n=en(217);return n.expression=_().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=8448|u(n.expression),n}function wn(e,n,t,r,a,i){var o=B(218,e,n,t,r,a,i);return o.transformFlags|=256,o}function Fn(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?m(wn(n,t,r,a,i,o),e):e}function Gn(e,n){var t=N(220);return t.expression=_().parenthesizeLeftSideOfAccess(e),t.typeArguments=n&&_().parenthesizeTypeArguments(n),t.transformFlags|=u(t.expression)|d(t.typeArguments)|256,t}function Bn(e,n){var t=en(221);return t.expression=e,t.type=n,t.transformFlags|=u(t.expression)|u(t.type)|1,t}function Un(e,n,t){return e.expression!==n||e.type!==t?m(Bn(n,t),e):e}function Vn(e){var n=en(222);return n.expression=_().parenthesizeLeftSideOfAccess(e),n.transformFlags|=1|u(n.expression),n}function jn(n,t){return e.isNonNullChain(n)?Hn(n,t):n.expression!==t?m(Vn(t),n):n}function Kn(e){var n=en(222);return n.flags|=32,n.expression=_().parenthesizeLeftSideOfAccess(e),n.transformFlags|=1|u(n.expression),n}function Hn(n,t){return e.Debug.assert(!!(32&n.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==t?m(Kn(t),n):n}function Wn(n,t){var r=en(223);switch(r.keywordToken=n,r.name=t,r.transformFlags|=u(r.name),n){case 102:r.transformFlags|=256;break;case 99:r.transformFlags|=4;break;default:return e.Debug.assertNever(n)}return r}function qn(e,n){var t=N(225);return t.expression=e,t.literal=n,t.transformFlags|=u(t.expression)|u(t.literal)|256,t}function zn(e,n){var t=N(227);return t.statements=I(e),t.multiLine=n,t.transformFlags|=d(t.statements),t}function Jn(n,t){var r=R(229,void 0,n);return r.declarationList=e.isArray(t)?mt(t):t,r.transformFlags|=u(r.declarationList),2&e.modifiersToFlags(r.modifiers)&&(r.transformFlags=1),r}function Xn(e,n,t){return e.modifiers!==n||e.declarationList!==t?m(Jn(n,t),e):e}function Yn(){return N(228)}function Qn(e){var n=N(230);return n.expression=_().parenthesizeExpressionOfExpressionStatement(e),n.transformFlags|=u(n.expression),n}function Zn(e,n,t){var r=N(231);return r.expression=e,r.thenStatement=Qr(n),r.elseStatement=Qr(t),r.transformFlags|=u(r.expression)|u(r.thenStatement)|u(r.elseStatement),r}function $n(e,n){var t=N(232);return t.statement=Qr(e),t.expression=n,t.transformFlags|=u(t.statement)|u(t.expression),t}function et(e,n){var t=N(233);return t.expression=e,t.statement=Qr(n),t.transformFlags|=u(t.expression)|u(t.statement),t}function nt(e,n,t,r){var a=N(234);return a.initializer=e,a.condition=n,a.incrementor=t,a.statement=Qr(r),a.transformFlags|=u(a.initializer)|u(a.condition)|u(a.incrementor)|u(a.statement),a}function tt(e,n,t){var r=N(235);return r.initializer=e,r.expression=n,r.statement=Qr(t),r.transformFlags|=u(r.initializer)|u(r.expression)|u(r.statement),r}function rt(e,n,t,r){var a=N(236);return a.awaitModifier=e,a.initializer=n,a.expression=_().parenthesizeExpressionForDisallowedComma(t),a.statement=Qr(r),a.transformFlags|=u(a.awaitModifier)|u(a.initializer)|u(a.expression)|u(a.statement)|256,e&&(a.transformFlags|=32),a}function at(e){var n=N(237);return n.label=Xr(e),n.transformFlags|=1048576|u(n.label),n}function it(e){var n=N(238);return n.label=Xr(e),n.transformFlags|=1048576|u(n.label),n}function ot(e){var n=N(239);return n.expression=e,n.transformFlags|=1048608|u(n.expression),n}function st(e,n){var t=N(240);return t.expression=e,t.statement=Qr(n),t.transformFlags|=u(t.expression)|u(t.statement),t}function ct(e,n){var t=N(241);return t.expression=_().parenthesizeExpressionForDisallowedComma(e),t.caseBlock=n,t.transformFlags|=u(t.expression)|u(t.caseBlock),t}function lt(e,n){var t=N(242);return t.label=Xr(e),t.statement=Qr(n),t.transformFlags|=u(t.label)|u(t.statement),t}function ut(e,n,t){return e.label!==n||e.statement!==t?m(lt(n,t),e):e}function dt(e){var n=N(243);return n.expression=e,n.transformFlags|=u(n.expression),n}function pt(e,n,t){var r=N(244);return r.tryBlock=e,r.catchClause=n,r.finallyBlock=t,r.transformFlags|=u(r.tryBlock)|u(r.catchClause)|u(r.finallyBlock),r}function ft(e,n,t,r){var a=V(246,void 0,void 0,e,t,r&&_().parenthesizeExpressionForDisallowedComma(r));return a.exclamationToken=n,a.transformFlags|=u(a.exclamationToken),n&&(a.transformFlags|=1),a}function mt(e,n){void 0===n&&(n=0);var t=N(247);return t.flags|=3&n,t.declarations=I(e),t.transformFlags|=1048576|d(t.declarations),3&n&&(t.transformFlags|=65792),t}function _t(n,t,r,a,i,o,s,c){var l=w(248,n,t,a,i,o,s,c);return l.asteriskToken=r,!l.body||2&e.modifiersToFlags(l.modifiers)?l.transformFlags=1:(l.transformFlags|=1048576|u(l.asteriskToken),256&e.modifiersToFlags(l.modifiers)?l.asteriskToken?l.transformFlags|=32:l.transformFlags|=64:l.asteriskToken&&(l.transformFlags|=512)),l}function gt(e,n,t,r,a,i,o,s,c){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==c?F(_t(n,t,r,a,i,o,s,c),e):e}function yt(n,t,r,a,i,o){var s=B(249,n,t,r,a,i,o);return 2&e.modifiersToFlags(s.modifiers)?s.transformFlags=1:(s.transformFlags|=256,2048&s.transformFlags&&(s.transformFlags|=1)),s}function ht(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?m(yt(n,t,r,a,i,o),e):e}function vt(e,n,t,r,a,i){var o=G(250,e,n,t,r,a);return o.members=I(i),o.transformFlags=1,o}function bt(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?m(vt(n,t,r,a,i,o),e):e}function Et(e,n,t,r,a){var i=O(251,e,n,t,r);return i.type=a,i.transformFlags=1,i}function Tt(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.type!==i?m(Et(n,t,r,a,i),e):e}function St(e,n,t,r){var a=k(252,e,n,t);return a.members=I(r),a.transformFlags|=1|d(a.members),a.transformFlags&=-8388609,a}function Lt(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.members!==a?m(St(n,t,r,a),e):e}function xt(n,t,r,a,i){void 0===i&&(i=0);var o=R(253,n,t);return o.flags|=1044&i,o.name=r,o.body=a,2&e.modifiersToFlags(o.modifiers)?o.transformFlags=1:o.transformFlags|=u(o.name)|u(o.body)|1,o.transformFlags&=-8388609,o}function At(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.body!==a?m(xt(n,t,r,a,e.flags),e):e}function Dt(e){var n=N(254);return n.statements=I(e),n.transformFlags|=d(n.statements),n}function Ct(e){var n=N(255);return n.clauses=I(e),n.transformFlags|=d(n.clauses),n}function It(e){var n=k(256,void 0,void 0,e);return n.transformFlags=1,n}function Nt(n,t,r,a){var i=k(257,n,t,r);return i.moduleReference=a,i.transformFlags|=u(i.moduleReference),e.isExternalModuleReference(i.moduleReference)||(i.transformFlags|=1),i.transformFlags&=-8388609,i}function Rt(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.moduleReference!==a?m(Nt(n,t,r,a),e):e}function kt(e,n,t,r){var a=R(258,e,n);return a.importClause=t,a.moduleSpecifier=r,a.transformFlags|=u(a.importClause)|u(a.moduleSpecifier),a.transformFlags&=-8388609,a}function Ot(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.importClause!==r||e.moduleSpecifier!==a?m(kt(n,t,r,a),e):e}function Pt(e,n,t){var r=N(259);return r.isTypeOnly=e,r.name=n,r.namedBindings=t,r.transformFlags|=u(r.name)|u(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-8388609,r}function Mt(e){var n=N(260);return n.name=e,n.transformFlags|=u(n.name),n.transformFlags&=-8388609,n}function wt(e){var n=N(266);return n.name=e,n.transformFlags|=4|u(n.name),n.transformFlags&=-8388609,n}function Ft(e){var n=N(261);return n.elements=I(e),n.transformFlags|=d(n.elements),n.transformFlags&=-8388609,n}function Gt(e,n){var t=N(262);return t.propertyName=e,t.name=n,t.transformFlags|=u(t.propertyName)|u(t.name),t.transformFlags&=-8388609,t}function Bt(e,n,t,r){var a=R(263,e,n);return a.isExportEquals=t,a.expression=t?_().parenthesizeRightSideOfBinary(62,void 0,r):_().parenthesizeExpressionOfExportDefault(r),a.transformFlags|=u(a.expression),a.transformFlags&=-8388609,a}function Ut(e,n,t,r){return e.decorators!==n||e.modifiers!==t||e.expression!==r?m(Bt(n,t,e.isExportEquals,r),e):e}function Vt(e,n,t,r,a){var i=R(264,e,n);return i.isTypeOnly=t,i.exportClause=r,i.moduleSpecifier=a,i.transformFlags|=u(i.exportClause)|u(i.moduleSpecifier),i.transformFlags&=-8388609,i}function jt(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.isTypeOnly!==r||e.exportClause!==a||e.moduleSpecifier!==i?m(Vt(n,t,r,a,i),e):e}function Kt(e){var n=N(265);return n.elements=I(e),n.transformFlags|=d(n.elements),n.transformFlags&=-8388609,n}function Ht(e,n){var t=N(267);return t.propertyName=Xr(e),t.name=Xr(n),t.transformFlags|=u(t.propertyName)|u(t.name),t.transformFlags&=-8388609,t}function Wt(e){var n=N(269);return n.expression=e,n.transformFlags|=u(n.expression),n.transformFlags&=-8388609,n}function qt(e,n){var t=N(e);return t.type=n,t}function zt(e,n){return P(304,void 0,void 0,void 0,void 0,e,n)}function Jt(e,n){void 0===n&&(n=!1);var t=N(308);return t.jsDocPropertyTags=Jr(e),t.isArrayType=n,t}function Xt(e){var n=N(298);return n.type=e,n}function Yt(e,n,t){var r=N(309);return r.typeParameters=Jr(e),r.parameters=I(n),r.type=t,r}function Qt(n){var t=s(n.kind);return n.tagName.escapedText===e.escapeLeadingUnderscores(t)?n.tagName:Y(t)}function Zt(e,n,t){var r=N(e);return r.tagName=n,r.comment=t,r}function $t(e,n,t,r){var a=Zt(326,null!=e?e:Y("template"),r);return a.constraint=n,a.typeParameters=I(t),a}function er(n,t,r,a){var i=Zt(327,null!=n?n:Y("typedef"),a);return i.typeExpression=t,i.fullName=r,i.name=e.getJSDocTypeAliasName(r),i}function nr(e,n,t,r,a,i){var o=Zt(322,null!=e?e:Y("param"),i);return o.typeExpression=r,o.name=n,o.isNameFirst=!!a,o.isBracketed=t,o}function tr(e,n,t,r,a,i){var o=Zt(328,null!=e?e:Y("prop"),i);return o.typeExpression=r,o.name=n,o.isNameFirst=!!a,o.isBracketed=t,o}function rr(n,t,r,a){var i=Zt(320,null!=n?n:Y("callback"),a);return i.typeExpression=t,i.fullName=r,i.name=e.getJSDocTypeAliasName(r),i}function ar(e,n,t){var r=Zt(311,null!=e?e:Y("augments"),t);return r.class=n,r}function ir(e,n,t){var r=Zt(312,null!=e?e:Y("implements"),t);return r.class=n,r}function or(e,n,t){return Zt(e,null!=n?n:Y(s(e)),t)}function sr(e,n,t,r){var a=Zt(e,null!=n?n:Y(s(e)),r);return a.typeExpression=t,a}function cr(e,n){return Zt(310,e,n)}function lr(e,n){var t=N(307);return t.comment=e,t.tags=Jr(n),t}function ur(e,n,t){var r=N(270);return r.openingElement=e,r.children=I(n),r.closingElement=t,r.transformFlags|=u(r.openingElement)|d(r.children)|u(r.closingElement)|2,r}function dr(e,n,t){var r=N(271);return r.tagName=e,r.typeArguments=Jr(n),r.attributes=t,r.transformFlags|=u(r.tagName)|d(r.typeArguments)|u(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function pr(e,n,t){var r=N(272);return r.tagName=e,r.typeArguments=Jr(n),r.attributes=t,r.transformFlags|=u(r.tagName)|d(r.typeArguments)|u(r.attributes)|2,n&&(r.transformFlags|=1),r}function fr(e){var n=N(273);return n.tagName=e,n.transformFlags|=2|u(n.tagName),n}function mr(e,n,t){var r=N(274);return r.openingFragment=e,r.children=I(n),r.closingFragment=t,r.transformFlags|=u(r.openingFragment)|d(r.children)|u(r.closingFragment)|2,r}function _r(e,n){var t=N(11);return t.text=e,t.containsOnlyTriviaWhiteSpaces=!!n,t.transformFlags|=2,t}function gr(e,n){var t=N(277);return t.name=e,t.initializer=n,t.transformFlags|=u(t.name)|u(t.initializer)|2,t}function yr(e){var n=N(278);return n.properties=I(e),n.transformFlags|=2|d(n.properties),n}function hr(e){var n=N(279);return n.expression=e,n.transformFlags|=2|u(n.expression),n}function vr(e,n){var t=N(280);return t.dotDotDotToken=e,t.expression=n,t.transformFlags|=u(t.dotDotDotToken)|u(t.expression)|2,t}function br(e,n){var t=N(281);return t.expression=_().parenthesizeExpressionForDisallowedComma(e),t.statements=I(n),t.transformFlags|=u(t.expression)|d(t.statements),t}function Er(e){var n=N(282);return n.statements=I(e),n.transformFlags=d(n.statements),n}function Tr(n,t){var r=N(283);switch(r.token=n,r.types=I(t),r.transformFlags|=d(r.types),n){case 93:r.transformFlags|=256;break;case 116:r.transformFlags|=1;break;default:return e.Debug.assertNever(n)}return r}function Sr(n,t){var r=N(284);return n=e.isString(n)?ft(n,void 0,void 0,void 0):n,r.variableDeclaration=n,r.block=t,r.transformFlags|=u(r.variableDeclaration)|u(r.block),n||(r.transformFlags|=16),r}function Lr(e,n){var t=k(285,void 0,void 0,e);return t.initializer=_().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=u(t.name)|u(t.initializer),t}function xr(e,n){var t=k(286,void 0,void 0,e);return t.objectAssignmentInitializer=n&&_().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=256|u(t.objectAssignmentInitializer),t}function Ar(e){var n=N(287);return n.expression=_().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=16416|u(n.expression),n}function Dr(e,n){var t=N(288);return t.name=Xr(e),t.initializer=n&&_().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=u(t.name)|u(t.initializer)|1,t}function Cr(n,t){void 0===t&&(t=e.emptyArray);var r=N(295);return r.prepends=t,r.sourceFiles=n,r}function Ir(e,n){var t=N(e);return t.data=n,t}function Nr(n,t){var r=N(331);return r.expression=n,r.original=t,r.transformFlags|=1|u(r.expression),e.setTextRange(r,t),r}function Rr(e,n){return e.expression!==n?m(Nr(n,e.original),e):e}function kr(n){if(e.nodeIsSynthesized(n)&&!e.isParseTreeNode(n)&&!n.original&&!n.emitNode&&!n.id){if(e.isCommaListExpression(n))return n.elements;if(e.isBinaryExpression(n)&&e.isCommaToken(n.operatorToken))return[n.left,n.right]}return n}function Or(n){var t=N(332);return t.elements=I(e.sameFlatMap(n,kr)),t.transformFlags|=d(t.elements),t}function Pr(e,n){var t=N(335);return t.expression=e,t.thisArg=n,t.transformFlags|=u(t.expression)|u(t.thisArg),t}function Mr(n){if(void 0===n)return n;var t=e.isSourceFile(n)?f.createBaseSourceFileNode(294):e.isIdentifier(n)?f.createBaseIdentifierNode(78):e.isPrivateIdentifier(n)?f.createBasePrivateIdentifierNode(79):e.isNodeKind(n.kind)?f.createBaseNode(n.kind):f.createBaseTokenNode(n.kind);for(var r in t.flags|=-9&n.flags,t.transformFlags=n.transformFlags,h(t,n),n)!t.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(t[r]=n[r]);return t}function wr(){return xn(K("0"))}function Fr(e,n,t){return un(rn(e,n),void 0,t)}function Gr(e,n,t){return Fr(Y(e),n,t)}function Br(e,n,t){return!!t&&(e.push(Lr(n,t)),!0)}function Ur(n,t){var r=e.skipParentheses(n);switch(r.kind){case 78:return t;case 107:case 8:case 9:case 10:return!1;case 196:return 0!==r.elements.length;case 197:return r.properties.length>0;default:return!0}}function Vr(n,t,r,a){void 0===a&&(a=0);var i=e.getNameOfDeclaration(n);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.setParent(e.setTextRange(Mr(i),i),i.parent);return a|=e.getEmitFlags(i),r||(a|=48),t||(a|=1536),a&&e.setEmitFlags(o,a),o}return Z(n)}function jr(e,n,t){return Vr(e,n,t,8192)}function Kr(n,t,r,a){var i=rn(n,e.nodeIsSynthesized(t)?t:Mr(t));e.setTextRange(i,t);var o=0;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function Hr(){return e.startOnNewLine(Qn(q("use strict")))}function Wr(n,t,r){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var a,i=!1,o=0,s=n.length;o<s;){var c=n[o];if(!e.isPrologueDirective(c))break;a=c,e.isStringLiteral(a.expression)&&"use strict"===a.expression.text&&(i=!0),t.push(c),o++}return r&&!i&&t.push(Hr()),o}function qr(n,t,r,a,i){void 0===i&&(i=e.returnTrue);for(var o=n.length;void 0!==r&&r<o;){var s=n[r];if(!(1048576&e.getEmitFlags(s)&&i(s)))break;e.append(t,a?e.visitNode(s,a,e.isStatement):s),r++}return r}function zr(e,n,t){for(var r=t;r<e.length&&n(e[r]);)r++;return r}function Jr(e){return e?I(e):void 0}function Xr(e){return"string"==typeof e?Y(e):e}function Yr(e){return"string"==typeof e?q(e):"number"==typeof e?K(e):"boolean"==typeof e?e?te():re():e}function Qr(n){return n&&e.isNotEmittedStatement(n)?e.setTextRange(h(Yn(),n),n):n}}function a(n,t){return n!==t&&e.setTextRange(n,t),n}function i(n,t){return n!==t&&(h(n,t),e.setTextRange(n,t)),n}function s(n){switch(n){case 325:return"type";case 323:return"returns";case 324:return"this";case 321:return"enum";case 313:return"author";case 315:return"class";case 316:return"public";case 317:return"private";case 318:return"protected";case 319:return"readonly";case 326:return"template";case 327:return"typedef";case 322:return"param";case 328:return"prop";case 320:return"callback";case 311:return"augments";case 312:return"implements";default:return e.Debug.fail("Unsupported kind: "+e.Debug.formatSyntaxKind(n))}}!function(e){e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode"}(e.NodeFactoryFlags||(e.NodeFactoryFlags={})),e.createNodeFactory=r;var c={};function l(e){return-8388609&u(e)}function u(n){if(!n)return 0;var t,r=n.transformFlags&~f(n.kind);return e.isNamedDeclaration(n)&&e.isPropertyName(n.name)?(t=n.name,r|4096&t.transformFlags):r}function d(e){return e?e.transformFlags:0}function p(e){for(var n=0,t=0,r=e;t<r.length;t++){n|=u(r[t])}e.transformFlags=n}function f(e){if(e>=171&&e<=192)return-2;switch(e){case 200:case 201:case 196:return 536879104;case 253:return 546379776;case 159:return 536870912;case 206:return 547309568;case 205:case 248:return 547313664;case 247:return 537018368;case 249:case 218:return 536905728;case 165:return 547311616;case 162:return 536875008;case 164:case 166:case 167:return 538923008;case 128:case 143:case 154:case 140:case 146:case 144:case 131:case 147:case 113:case 158:case 161:case 163:case 168:case 169:case 170:case 250:case 251:return-2;case 197:return 536922112;case 284:return 536887296;case 193:case 194:return 536879104;case 203:case 221:case 331:case 204:case 105:return 536870912;case 198:case 199:default:return 536870912}}e.getTransformFlagsSubtreeExclusions=f;var m=e.createBaseNodeFactory();function _(e){return e.flags|=8,e}var g,y={createBaseSourceFileNode:function(e){return _(m.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return _(m.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return _(m.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return _(m.createBaseTokenNode(e))},createBaseNode:function(e){return _(m.createBaseNode(e))}};function h(n,t){if(n.original=t,t){var r=t.emitNode;r&&(n.emitNode=function(n,t){var r=n.flags,a=n.leadingComments,i=n.trailingComments,o=n.commentRange,s=n.sourceMapRange,c=n.tokenSourceMapRanges,l=n.constantValue,u=n.helpers,d=n.startsOnNewLine;t||(t={});a&&(t.leadingComments=e.addRange(a.slice(),t.leadingComments));i&&(t.trailingComments=e.addRange(i.slice(),t.trailingComments));r&&(t.flags=r);o&&(t.commentRange=o);s&&(t.sourceMapRange=s);c&&(t.tokenSourceMapRanges=function(e,n){n||(n=[]);for(var t in e)n[t]=e[t];return n}(c,t.tokenSourceMapRanges));void 0!==l&&(t.constantValue=l);if(u)for(var p=0,f=u;p<f.length;p++){var m=f[p];t.helpers=e.appendIfUnique(t.helpers,m)}void 0!==d&&(t.startsOnNewLine=d);return t}(r,n.emitNode))}return n}e.factory=r(4,y),e.createUnparsedSourceFile=function(n,t,r){var a,i,o,s,c,l,u,d,p,f;e.isString(n)?(o="",s=n,c=n.length,l=t,u=r):(e.Debug.assert("js"===t||"dts"===t),o=("js"===t?n.javascriptPath:n.declarationPath)||"",l="js"===t?n.javascriptMapPath:n.declarationMapPath,d=function(){return"js"===t?n.javascriptText:n.declarationText},p=function(){return"js"===t?n.javascriptMapText:n.declarationMapText},c=function(){return d().length},n.buildInfo&&n.buildInfo.bundle&&(e.Debug.assert(void 0===r||"boolean"==typeof r),a=r,i="js"===t?n.buildInfo.bundle.js:n.buildInfo.bundle.dts,f=n.oldFileOfCurrentEmit));var m=f?function(n){for(var t,r,a=0,i=n.sections;a<i.length;a++){var o=i[a];switch(o.kind){case"internal":case"text":t=e.append(t,e.setTextRange(e.factory.createUnparsedTextLike(o.data,"internal"===o.kind),o));break;case"no-default-lib":case"reference":case"type":case"lib":r=e.append(r,e.setTextRange(e.factory.createUnparsedSyntheticReference(o),o));break;case"prologue":case"emitHelpers":case"prepend":break;default:e.Debug.assertNever(o)}}var s=e.factory.createUnparsedSource(e.emptyArray,r,null!=t?t:e.emptyArray);return e.setEachParent(r,s),e.setEachParent(t,s),s.helpers=e.map(n.sources&&n.sources.helpers,(function(n){return e.getAllUnscopedEmitHelpers().get(n)})),s}(e.Debug.assertDefined(i)):function(n,t,r){for(var a,i,o,s,c,l,u,d,p=0,f=n?n.sections:e.emptyArray;p<f.length;p++){var m=f[p];switch(m.kind){case"prologue":a=e.append(a,e.setTextRange(e.factory.createUnparsedPrologue(m.data),m));break;case"emitHelpers":i=e.append(i,e.getAllUnscopedEmitHelpers().get(m.data));break;case"no-default-lib":d=!0;break;case"reference":o=e.append(o,{pos:-1,end:-1,fileName:m.data});break;case"type":s=e.append(s,m.data);break;case"lib":c=e.append(c,{pos:-1,end:-1,fileName:m.data});break;case"prepend":for(var _=void 0,g=0,y=m.texts;g<y.length;g++){var h=y[g];t&&"internal"===h.kind||(_=e.append(_,e.setTextRange(e.factory.createUnparsedTextLike(h.data,"internal"===h.kind),h)))}l=e.addRange(l,_),u=e.append(u,e.factory.createUnparsedPrepend(m.data,null!=_?_:e.emptyArray));break;case"internal":if(t){u||(u=[]);break}case"text":u=e.append(u,e.setTextRange(e.factory.createUnparsedTextLike(m.data,"internal"===m.kind),m));break;default:e.Debug.assertNever(m)}}if(!u){var v=e.factory.createUnparsedTextLike(void 0,!1);e.setTextRangePosWidth(v,0,"function"==typeof r?r():r),u=[v]}var b=e.parseNodeFactory.createUnparsedSource(null!=a?a:e.emptyArray,void 0,u);return e.setEachParent(a,b),e.setEachParent(u,b),e.setEachParent(l,b),b.hasNoDefaultLib=d,b.helpers=i,b.referencedFiles=o||e.emptyArray,b.typeReferenceDirectives=s,b.libReferenceDirectives=c||e.emptyArray,b}(i,a,c);return m.fileName=o,m.sourceMapPath=l,m.oldFileOfCurrentEmit=f,d&&p?(Object.defineProperty(m,"text",{get:d}),Object.defineProperty(m,"sourceMapText",{get:p})):(e.Debug.assert(!f),m.text=null!=s?s:"",m.sourceMapText=u),m},e.createInputFiles=function(n,t,r,a,i,o,s,c,l,u,d){var p=e.parseNodeFactory.createInputFiles();if(e.isString(n))p.javascriptText=n,p.javascriptMapPath=r,p.javascriptMapText=a,p.declarationText=t,p.declarationMapPath=i,p.declarationMapText=o,p.javascriptPath=s,p.declarationPath=c,p.buildInfoPath=l,p.buildInfo=u,p.oldFileOfCurrentEmit=d;else{var f,m=new e.Map,_=function(e){if(void 0!==e){var t=m.get(e);return void 0===t&&(t=n(e),m.set(e,void 0!==t&&t)),!1!==t?t:void 0}},g=function(e){var n=_(e);return void 0!==n?n:"/* Input file "+e+" was missing */\r\n"};p.javascriptPath=t,p.javascriptMapPath=r,p.declarationPath=e.Debug.assertDefined(a),p.declarationMapPath=i,p.buildInfoPath=o,Object.defineProperties(p,{javascriptText:{get:function(){return g(t)}},javascriptMapText:{get:function(){return _(r)}},declarationText:{get:function(){return g(e.Debug.assertDefined(a))}},declarationMapText:{get:function(){return _(i)}},buildInfo:{get:function(){return function(n){if(void 0===f){var t=n();f=void 0!==t&&e.getBuildInfo(t)}return f||void 0}((function(){return _(o)}))}}})}return p},e.createSourceMapSource=function(n,t,r){return new(g||(g=e.objectAllocator.getSourceMapSourceConstructor()))(n,t,r)},e.setOriginalNode=h}(p||(p={})),function(e){function n(t){var r;if(!t.emitNode){if(e.isParseTreeNode(t)){if(294===t.kind)return t.emitNode={annotatedNodes:[t]};n(null!==(r=e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(t))))&&void 0!==r?r:e.Debug.fail("Could not determine parsed source file.")).annotatedNodes.push(t)}t.emitNode={}}return t.emitNode}function t(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.leadingComments}function r(e,t){return n(e).leadingComments=t,e}function a(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.trailingComments}function i(e,t){return n(e).trailingComments=t,e}e.getOrCreateEmitNode=n,e.disposeEmitNodes=function(n){var t,r,a=null===(r=null===(t=e.getSourceFileOfNode(e.getParseTreeNode(n)))||void 0===t?void 0:t.emitNode)||void 0===r?void 0:r.annotatedNodes;if(a)for(var i=0,o=a;i<o.length;i++){o[i].emitNode=void 0}},e.removeAllComments=function(e){var t=n(e);return t.flags|=1536,t.leadingComments=void 0,t.trailingComments=void 0,e},e.setEmitFlags=function(e,t){return n(e).flags=t,e},e.addEmitFlags=function(e,t){var r=n(e);return r.flags=r.flags|t,e},e.getSourceMapRange=function(e){var n,t;return null!==(t=null===(n=e.emitNode)||void 0===n?void 0:n.sourceMapRange)&&void 0!==t?t:e},e.setSourceMapRange=function(e,t){return n(e).sourceMapRange=t,e},e.getTokenSourceMapRange=function(e,n){var t,r;return null===(r=null===(t=e.emitNode)||void 0===t?void 0:t.tokenSourceMapRanges)||void 0===r?void 0:r[n]},e.setTokenSourceMapRange=function(e,t,r){var a,i=n(e);return(null!==(a=i.tokenSourceMapRanges)&&void 0!==a?a:i.tokenSourceMapRanges=[])[t]=r,e},e.getStartsOnNewLine=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.startsOnNewLine},e.setStartsOnNewLine=function(e,t){return n(e).startsOnNewLine=t,e},e.getCommentRange=function(e){var n,t;return null!==(t=null===(n=e.emitNode)||void 0===n?void 0:n.commentRange)&&void 0!==t?t:e},e.setCommentRange=function(e,t){return n(e).commentRange=t,e},e.getSyntheticLeadingComments=t,e.setSyntheticLeadingComments=r,e.addSyntheticLeadingComment=function(n,a,i,o){return r(n,e.append(t(n),{kind:a,pos:-1,end:-1,hasTrailingNewLine:o,text:i}))},e.getSyntheticTrailingComments=a,e.setSyntheticTrailingComments=i,e.addSyntheticTrailingComment=function(n,t,r,o){return i(n,e.append(a(n),{kind:t,pos:-1,end:-1,hasTrailingNewLine:o,text:r}))},e.moveSyntheticComments=function(e,o){r(e,t(o)),i(e,a(o));var s=n(o);return s.leadingComments=void 0,s.trailingComments=void 0,e},e.getConstantValue=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.constantValue},e.setConstantValue=function(e,t){return n(e).constantValue=t,e},e.addEmitHelper=function(t,r){var a=n(t);return a.helpers=e.append(a.helpers,r),t},e.addEmitHelpers=function(t,r){if(e.some(r))for(var a=n(t),i=0,o=r;i<o.length;i++){var s=o[i];a.helpers=e.appendIfUnique(a.helpers,s)}return t},e.removeEmitHelper=function(n,t){var r,a=null===(r=n.emitNode)||void 0===r?void 0:r.helpers;return!!a&&e.orderedRemoveItem(a,t)},e.getEmitHelpers=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.helpers},e.moveEmitHelpers=function(t,r,a){var i=t.emitNode,o=i&&i.helpers;if(e.some(o)){for(var s=n(r),c=0,l=0;l<o.length;l++){var u=o[l];a(u)?(c++,s.helpers=e.appendIfUnique(s.helpers,u)):c>0&&(o[l-c]=u)}c>0&&(o.length-=c)}},e.ignoreSourceNewlines=function(e){return n(e).flags|=134217728,e}}(p||(p={})),function(e){function n(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return function(t){for(var r="",a=0;a<n.length;a++)r+=e[a],r+=t(n[a]);return r+=e[e.length-1]}}var t;e.createEmitHelperFactory=function(n){var t=n.factory;return{getUnscopedHelperName:r,createDecorateHelper:function(a,i,o,s){n.requestEmitHelper(e.decorateHelper);var c=[];c.push(t.createArrayLiteralExpression(a,!0)),c.push(i),o&&(c.push(o),s&&c.push(s));return t.createCallExpression(r("__decorate"),void 0,c)},createMetadataHelper:function(a,i){return n.requestEmitHelper(e.metadataHelper),t.createCallExpression(r("__metadata"),void 0,[t.createStringLiteral(a),i])},createParamHelper:function(a,i,o){return n.requestEmitHelper(e.paramHelper),e.setTextRange(t.createCallExpression(r("__param"),void 0,[t.createNumericLiteral(i+""),a]),o)},createAssignHelper:function(a){if(n.getCompilerOptions().target>=2)return t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,a);return n.requestEmitHelper(e.assignHelper),t.createCallExpression(r("__assign"),void 0,a)},createAwaitHelper:function(a){return n.requestEmitHelper(e.awaitHelper),t.createCallExpression(r("__await"),void 0,[a])},createAsyncGeneratorHelper:function(a,i){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncGeneratorHelper),(a.emitNode||(a.emitNode={})).flags|=786432,t.createCallExpression(r("__asyncGenerator"),void 0,[i?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),a])},createAsyncDelegatorHelper:function(a){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncDelegator),t.createCallExpression(r("__asyncDelegator"),void 0,[a])},createAsyncValuesHelper:function(a){return n.requestEmitHelper(e.asyncValues),t.createCallExpression(r("__asyncValues"),void 0,[a])},createRestHelper:function(a,i,o,s){n.requestEmitHelper(e.restHelper);for(var c=[],l=0,u=0;u<i.length-1;u++){var d=e.getPropertyNameOfBindingOrAssignmentElement(i[u]);if(d)if(e.isComputedPropertyName(d)){e.Debug.assertIsDefined(o,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var p=o[l];l++,c.push(t.createConditionalExpression(t.createTypeCheck(p,"symbol"),void 0,p,void 0,t.createAdd(p,t.createStringLiteral(""))))}else c.push(t.createStringLiteralFromNode(d))}return t.createCallExpression(r("__rest"),void 0,[a,e.setTextRange(t.createArrayLiteralExpression(c),s)])},createAwaiterHelper:function(a,i,o,s){n.requestEmitHelper(e.awaiterHelper);var c=t.createFunctionExpression(void 0,t.createToken(41),void 0,void 0,[],void 0,s);return(c.emitNode||(c.emitNode={})).flags|=786432,t.createCallExpression(r("__awaiter"),void 0,[a?t.createThis():t.createVoidZero(),i?t.createIdentifier("arguments"):t.createVoidZero(),o?e.createExpressionFromEntityName(t,o):t.createVoidZero(),c])},createExtendsHelper:function(a){return n.requestEmitHelper(e.extendsHelper),t.createCallExpression(r("__extends"),void 0,[a,t.createUniqueName("_super",48)])},createTemplateObjectHelper:function(a,i){return n.requestEmitHelper(e.templateObjectHelper),t.createCallExpression(r("__makeTemplateObject"),void 0,[a,i])},createSpreadHelper:function(a){return n.requestEmitHelper(e.readHelper),n.requestEmitHelper(e.spreadHelper),t.createCallExpression(r("__spread"),void 0,a)},createSpreadArraysHelper:function(a){return n.requestEmitHelper(e.spreadArraysHelper),t.createCallExpression(r("__spreadArrays"),void 0,a)},createValuesHelper:function(a){return n.requestEmitHelper(e.valuesHelper),t.createCallExpression(r("__values"),void 0,[a])},createReadHelper:function(a,i){return n.requestEmitHelper(e.readHelper),t.createCallExpression(r("__read"),void 0,void 0!==i?[a,t.createNumericLiteral(i+"")]:[a])},createGeneratorHelper:function(a){return n.requestEmitHelper(e.generatorHelper),t.createCallExpression(r("__generator"),void 0,[t.createThis(),a])},createCreateBindingHelper:function(a,i,s){return n.requestEmitHelper(e.createBindingHelper),t.createCallExpression(r("__createBinding"),void 0,o([t.createIdentifier("exports"),a,i],s?[s]:[]))},createImportStarHelper:function(a){return n.requestEmitHelper(e.importStarHelper),t.createCallExpression(r("__importStar"),void 0,[a])},createImportStarCallbackHelper:function(){return n.requestEmitHelper(e.importStarHelper),r("__importStar")},createImportDefaultHelper:function(a){return n.requestEmitHelper(e.importDefaultHelper),t.createCallExpression(r("__importDefault"),void 0,[a])},createExportStarHelper:function(a,i){void 0===i&&(i=t.createIdentifier("exports"));return n.requestEmitHelper(e.exportStarHelper),n.requestEmitHelper(e.createBindingHelper),t.createCallExpression(r("__exportStar"),void 0,[a,i])},createClassPrivateFieldGetHelper:function(a,i){return n.requestEmitHelper(e.classPrivateFieldGetHelper),t.createCallExpression(r("__classPrivateFieldGet"),void 0,[a,i])},createClassPrivateFieldSetHelper:function(a,i,o){return n.requestEmitHelper(e.classPrivateFieldSetHelper),t.createCallExpression(r("__classPrivateFieldSet"),void 0,[a,i,o])}};function r(n){return e.setEmitFlags(t.createIdentifier(n),4098)}},e.compareEmitHelpers=function(n,t){return n===t||n.priority===t.priority?0:void 0===n.priority?1:void 0===t.priority?-1:e.compareValues(n.priority,t.priority)},e.helperString=n,e.decorateHelper={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:'\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},e.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},e.paramHelper={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"},e.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},e.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},e.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[e.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[e.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'},e.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"},e.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},e.readHelper={name:"typescript:read",importName:"__read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},e.spreadHelper={name:"typescript:spread",importName:"__spread",scoped:!1,dependencies:[e.readHelper],text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"},e.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:!1,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"},e.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},e.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},e.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"},e.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'},e.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'},e.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},e.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[e.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n };'},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\n };'},e.getAllUnscopedEmitHelpers=function(){return t||(t=e.arrayToMap([e.decorateHelper,e.metadataHelper,e.paramHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.restHelper,e.awaiterHelper,e.extendsHelper,e.templateObjectHelper,e.spreadHelper,e.spreadArraysHelper,e.valuesHelper,e.readHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.exportStarHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.createBindingHelper,e.setModuleDefaultHelper],(function(e){return e.name})))},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:n(c(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:n(c(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}}(p||(p={})),function(e){e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isIdentifier=function(e){return 78===e.kind},e.isQualifiedName=function(e){return 156===e.kind},e.isComputedPropertyName=function(e){return 157===e.kind},e.isPrivateIdentifier=function(e){return 79===e.kind},e.isSuperKeyword=function(e){return 105===e.kind},e.isImportKeyword=function(e){return 99===e.kind},e.isCommaToken=function(e){return 27===e.kind},e.isQuestionToken=function(e){return 57===e.kind},e.isExclamationToken=function(e){return 53===e.kind},e.isTypeParameterDeclaration=function(e){return 158===e.kind},e.isParameter=function(e){return 159===e.kind},e.isDecorator=function(e){return 160===e.kind},e.isPropertySignature=function(e){return 161===e.kind},e.isPropertyDeclaration=function(e){return 162===e.kind},e.isMethodSignature=function(e){return 163===e.kind},e.isMethodDeclaration=function(e){return 164===e.kind},e.isConstructorDeclaration=function(e){return 165===e.kind},e.isGetAccessorDeclaration=function(e){return 166===e.kind},e.isSetAccessorDeclaration=function(e){return 167===e.kind},e.isCallSignatureDeclaration=function(e){return 168===e.kind},e.isConstructSignatureDeclaration=function(e){return 169===e.kind},e.isIndexSignatureDeclaration=function(e){return 170===e.kind},e.isTypePredicateNode=function(e){return 171===e.kind},e.isTypeReferenceNode=function(e){return 172===e.kind},e.isFunctionTypeNode=function(e){return 173===e.kind},e.isConstructorTypeNode=function(e){return 174===e.kind},e.isTypeQueryNode=function(e){return 175===e.kind},e.isTypeLiteralNode=function(e){return 176===e.kind},e.isArrayTypeNode=function(e){return 177===e.kind},e.isTupleTypeNode=function(e){return 178===e.kind},e.isNamedTupleMember=function(e){return 191===e.kind},e.isOptionalTypeNode=function(e){return 179===e.kind},e.isRestTypeNode=function(e){return 180===e.kind},e.isUnionTypeNode=function(e){return 181===e.kind},e.isIntersectionTypeNode=function(e){return 182===e.kind},e.isConditionalTypeNode=function(e){return 183===e.kind},e.isInferTypeNode=function(e){return 184===e.kind},e.isParenthesizedTypeNode=function(e){return 185===e.kind},e.isThisTypeNode=function(e){return 186===e.kind},e.isTypeOperatorNode=function(e){return 187===e.kind},e.isIndexedAccessTypeNode=function(e){return 188===e.kind},e.isMappedTypeNode=function(e){return 189===e.kind},e.isLiteralTypeNode=function(e){return 190===e.kind},e.isImportTypeNode=function(e){return 192===e.kind},e.isObjectBindingPattern=function(e){return 193===e.kind},e.isArrayBindingPattern=function(e){return 194===e.kind},e.isBindingElement=function(e){return 195===e.kind},e.isArrayLiteralExpression=function(e){return 196===e.kind},e.isObjectLiteralExpression=function(e){return 197===e.kind},e.isPropertyAccessExpression=function(e){return 198===e.kind},e.isElementAccessExpression=function(e){return 199===e.kind},e.isCallExpression=function(e){return 200===e.kind},e.isNewExpression=function(e){return 201===e.kind},e.isTaggedTemplateExpression=function(e){return 202===e.kind},e.isTypeAssertionExpression=function(e){return 203===e.kind},e.isParenthesizedExpression=function(e){return 204===e.kind},e.isFunctionExpression=function(e){return 205===e.kind},e.isArrowFunction=function(e){return 206===e.kind},e.isDeleteExpression=function(e){return 207===e.kind},e.isTypeOfExpression=function(e){return 208===e.kind},e.isVoidExpression=function(e){return 209===e.kind},e.isAwaitExpression=function(e){return 210===e.kind},e.isPrefixUnaryExpression=function(e){return 211===e.kind},e.isPostfixUnaryExpression=function(e){return 212===e.kind},e.isBinaryExpression=function(e){return 213===e.kind},e.isConditionalExpression=function(e){return 214===e.kind},e.isTemplateExpression=function(e){return 215===e.kind},e.isYieldExpression=function(e){return 216===e.kind},e.isSpreadElement=function(e){return 217===e.kind},e.isClassExpression=function(e){return 218===e.kind},e.isOmittedExpression=function(e){return 219===e.kind},e.isExpressionWithTypeArguments=function(e){return 220===e.kind},e.isAsExpression=function(e){return 221===e.kind},e.isNonNullExpression=function(e){return 222===e.kind},e.isMetaProperty=function(e){return 223===e.kind},e.isSyntheticExpression=function(e){return 224===e.kind},e.isPartiallyEmittedExpression=function(e){return 331===e.kind},e.isCommaListExpression=function(e){return 332===e.kind},e.isTemplateSpan=function(e){return 225===e.kind},e.isSemicolonClassElement=function(e){return 226===e.kind},e.isBlock=function(e){return 227===e.kind},e.isVariableStatement=function(e){return 229===e.kind},e.isEmptyStatement=function(e){return 228===e.kind},e.isExpressionStatement=function(e){return 230===e.kind},e.isIfStatement=function(e){return 231===e.kind},e.isDoStatement=function(e){return 232===e.kind},e.isWhileStatement=function(e){return 233===e.kind},e.isForStatement=function(e){return 234===e.kind},e.isForInStatement=function(e){return 235===e.kind},e.isForOfStatement=function(e){return 236===e.kind},e.isContinueStatement=function(e){return 237===e.kind},e.isBreakStatement=function(e){return 238===e.kind},e.isReturnStatement=function(e){return 239===e.kind},e.isWithStatement=function(e){return 240===e.kind},e.isSwitchStatement=function(e){return 241===e.kind},e.isLabeledStatement=function(e){return 242===e.kind},e.isThrowStatement=function(e){return 243===e.kind},e.isTryStatement=function(e){return 244===e.kind},e.isDebuggerStatement=function(e){return 245===e.kind},e.isVariableDeclaration=function(e){return 246===e.kind},e.isVariableDeclarationList=function(e){return 247===e.kind},e.isFunctionDeclaration=function(e){return 248===e.kind},e.isClassDeclaration=function(e){return 249===e.kind},e.isInterfaceDeclaration=function(e){return 250===e.kind},e.isTypeAliasDeclaration=function(e){return 251===e.kind},e.isEnumDeclaration=function(e){return 252===e.kind},e.isModuleDeclaration=function(e){return 253===e.kind},e.isModuleBlock=function(e){return 254===e.kind},e.isCaseBlock=function(e){return 255===e.kind},e.isNamespaceExportDeclaration=function(e){return 256===e.kind},e.isImportEqualsDeclaration=function(e){return 257===e.kind},e.isImportDeclaration=function(e){return 258===e.kind},e.isImportClause=function(e){return 259===e.kind},e.isNamespaceImport=function(e){return 260===e.kind},e.isNamespaceExport=function(e){return 266===e.kind},e.isNamedImports=function(e){return 261===e.kind},e.isImportSpecifier=function(e){return 262===e.kind},e.isExportAssignment=function(e){return 263===e.kind},e.isExportDeclaration=function(e){return 264===e.kind},e.isNamedExports=function(e){return 265===e.kind},e.isExportSpecifier=function(e){return 267===e.kind},e.isMissingDeclaration=function(e){return 268===e.kind},e.isNotEmittedStatement=function(e){return 330===e.kind},e.isSyntheticReference=function(e){return 335===e.kind},e.isMergeDeclarationMarker=function(e){return 333===e.kind},e.isEndOfDeclarationMarker=function(e){return 334===e.kind},e.isExternalModuleReference=function(e){return 269===e.kind},e.isJsxElement=function(e){return 270===e.kind},e.isJsxSelfClosingElement=function(e){return 271===e.kind},e.isJsxOpeningElement=function(e){return 272===e.kind},e.isJsxClosingElement=function(e){return 273===e.kind},e.isJsxFragment=function(e){return 274===e.kind},e.isJsxOpeningFragment=function(e){return 275===e.kind},e.isJsxClosingFragment=function(e){return 276===e.kind},e.isJsxAttribute=function(e){return 277===e.kind},e.isJsxAttributes=function(e){return 278===e.kind},e.isJsxSpreadAttribute=function(e){return 279===e.kind},e.isJsxExpression=function(e){return 280===e.kind},e.isCaseClause=function(e){return 281===e.kind},e.isDefaultClause=function(e){return 282===e.kind},e.isHeritageClause=function(e){return 283===e.kind},e.isCatchClause=function(e){return 284===e.kind},e.isPropertyAssignment=function(e){return 285===e.kind},e.isShorthandPropertyAssignment=function(e){return 286===e.kind},e.isSpreadAssignment=function(e){return 287===e.kind},e.isEnumMember=function(e){return 288===e.kind},e.isUnparsedPrepend=function(e){return 290===e.kind},e.isSourceFile=function(e){return 294===e.kind},e.isBundle=function(e){return 295===e.kind},e.isUnparsedSource=function(e){return 296===e.kind},e.isJSDocTypeExpression=function(e){return 298===e.kind},e.isJSDocAllType=function(e){return 299===e.kind},e.isJSDocUnknownType=function(e){return 300===e.kind},e.isJSDocNullableType=function(e){return 301===e.kind},e.isJSDocNonNullableType=function(e){return 302===e.kind},e.isJSDocOptionalType=function(e){return 303===e.kind},e.isJSDocFunctionType=function(e){return 304===e.kind},e.isJSDocVariadicType=function(e){return 305===e.kind},e.isJSDocNamepathType=function(e){return 306===e.kind},e.isJSDoc=function(e){return 307===e.kind},e.isJSDocTypeLiteral=function(e){return 308===e.kind},e.isJSDocSignature=function(e){return 309===e.kind},e.isJSDocAugmentsTag=function(e){return 311===e.kind},e.isJSDocAuthorTag=function(e){return 313===e.kind},e.isJSDocClassTag=function(e){return 315===e.kind},e.isJSDocCallbackTag=function(e){return 320===e.kind},e.isJSDocPublicTag=function(e){return 316===e.kind},e.isJSDocPrivateTag=function(e){return 317===e.kind},e.isJSDocProtectedTag=function(e){return 318===e.kind},e.isJSDocReadonlyTag=function(e){return 319===e.kind},e.isJSDocDeprecatedTag=function(e){return 314===e.kind},e.isJSDocEnumTag=function(e){return 321===e.kind},e.isJSDocParameterTag=function(e){return 322===e.kind},e.isJSDocReturnTag=function(e){return 323===e.kind},e.isJSDocThisTag=function(e){return 324===e.kind},e.isJSDocTypeTag=function(e){return 325===e.kind},e.isJSDocTemplateTag=function(e){return 326===e.kind},e.isJSDocTypedefTag=function(e){return 327===e.kind},e.isJSDocUnknownTag=function(e){return 310===e.kind},e.isJSDocPropertyTag=function(e){return 328===e.kind},e.isJSDocImplementsTag=function(e){return 312===e.kind},e.isSyntaxList=function(e){return 329===e.kind}}(p||(p={})),function(e){function n(n,t,r,a){if(e.isComputedPropertyName(r))return e.setTextRange(n.createElementAccessExpression(t,r.expression),a);var i=e.setTextRange(e.isIdentifierOrPrivateIdentifier(r)?n.createPropertyAccessExpression(t,r):n.createElementAccessExpression(t,r),r);return e.getOrCreateEmitNode(i).flags|=64,i}function t(n,t){var r=e.parseNodeFactory.createIdentifier(n||"React");return e.setParent(r,e.getParseTreeNode(t)),r}function r(n,a,i){if(e.isQualifiedName(a)){var o=r(n,a.left,i),s=n.createIdentifier(e.idText(a.right));return s.escapedText=a.right.escapedText,n.createPropertyAccessExpression(o,s)}return t(e.idText(a),i)}function a(e,n,a,i){return n?r(e,n,i):e.createPropertyAccessExpression(t(a,i),"createElement")}function i(n,t){return e.isIdentifier(t)?n.createStringLiteralFromNode(t):e.isComputedPropertyName(t)?e.setParent(e.setTextRange(n.cloneNode(t.expression),t.expression),t.expression.parent):e.setParent(e.setTextRange(n.cloneNode(t),t),t.parent)}function s(n){return e.isStringLiteral(n.expression)&&"use strict"===n.expression.text}function c(e,n){switch(void 0===n&&(n=15),e.kind){case 204:return 0!=(1&n);case 203:case 221:return 0!=(2&n);case 222:return 0!=(4&n);case 331:return 0!=(8&n)}return!1}function l(e,n){for(void 0===n&&(n=15);c(e,n);)e=e.expression;return e}function u(n){return e.setStartsOnNewLine(n,!0)}function d(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function p(n,t,r,a,i){if(r.importHelpers&&e.isEffectiveExternalModule(t,r)){var o=d(t);if(o)return o;var s=e.getEmitModuleKind(r),c=(a||r.esModuleInterop&&i)&&s!==e.ModuleKind.System&&s<e.ModuleKind.ES2015;if(!c){var l=e.getEmitHelpers(t);if(l)for(var u=0,p=l;u<p.length;u++){if(!p[u].scoped){c=!0;break}}}if(c){var f=e.getOriginalNode(t,e.isSourceFile),m=e.getOrCreateEmitNode(f);return m.externalHelpersModuleName||(m.externalHelpersModuleName=n.createUniqueName(e.externalHelpersModuleNameText))}}}function f(n,t,r,a){if(t)return t.moduleName?n.createStringLiteral(t.moduleName):!t.isDeclarationFile&&e.outFile(a)?n.createStringLiteral(e.getExternalModuleNameFromPath(r,t.fileName)):void 0}function m(n){if(e.isDeclarationBindingElement(n))return n.name;if(!e.isObjectLiteralElementLike(n))return e.isAssignmentExpression(n,!0)?m(n.left):e.isSpreadElement(n)?m(n.expression):n;switch(n.kind){case 285:return m(n.initializer);case 286:return n.name;case 287:return m(n.expression)}}function _(n){switch(n.kind){case 195:if(n.propertyName){var t=n.propertyName;return e.isPrivateIdentifier(t)?e.Debug.failBadSyntaxKind(t):e.isComputedPropertyName(t)&&g(t.expression)?t.expression:t}break;case 285:if(n.name){t=n.name;return e.isPrivateIdentifier(t)?e.Debug.failBadSyntaxKind(t):e.isComputedPropertyName(t)&&g(t.expression)?t.expression:t}break;case 287:return n.name&&e.isPrivateIdentifier(n.name)?e.Debug.failBadSyntaxKind(n.name):n.name}var r=m(n);if(r&&e.isPropertyName(r))return r}function g(e){var n=e.kind;return 10===n||8===n}e.createEmptyExports=function(e){return e.createExportDeclaration(void 0,void 0,!1,e.createNamedExports([]),void 0)},e.createMemberAccessForPropertyName=n,e.createExpressionForJsxElement=function(n,t,r,i,o,s,c,l){var d=[i];if(o&&d.push(o),s&&s.length>0)if(o||d.push(n.createNull()),s.length>1)for(var p=0,f=s;p<f.length;p++){var m=f[p];u(m),d.push(m)}else d.push(s[0]);return e.setTextRange(n.createCallExpression(a(n,t,r,c),void 0,d),l)},e.createExpressionForJsxFragment=function(n,i,o,s,c,l,d){var p=[function(e,n,a,i){return n?r(e,n,i):e.createPropertyAccessExpression(t(a,i),"Fragment")}(n,o,s,l),n.createNull()];if(c&&c.length>0)if(c.length>1)for(var f=0,m=c;f<m.length;f++){var _=m[f];u(_),p.push(_)}else p.push(c[0]);return e.setTextRange(n.createCallExpression(a(n,i,s,l),void 0,p),d)},e.createForOfBindingStatement=function(n,t,r){if(e.isVariableDeclarationList(t)){var a=e.first(t.declarations),i=n.updateVariableDeclaration(a,a.name,void 0,void 0,r);return e.setTextRange(n.createVariableStatement(void 0,n.updateVariableDeclarationList(t,[i])),t)}var o=e.setTextRange(n.createAssignment(t,r),t);return e.setTextRange(n.createExpressionStatement(o),t)},e.insertLeadingStatement=function(n,t,r){return e.isBlock(t)?n.updateBlock(t,e.setTextRange(n.createNodeArray(o([r],t.statements)),t.statements)):n.createBlock(n.createNodeArray([t,r]),!0)},e.createExpressionFromEntityName=function n(t,r){if(e.isQualifiedName(r)){var a=n(t,r.left),i=e.setParent(e.setTextRange(t.cloneNode(r.right),r.right),r.right.parent);return e.setTextRange(t.createPropertyAccessExpression(a,i),r)}return e.setParent(e.setTextRange(t.cloneNode(r),r),r.parent)},e.createExpressionForPropertyName=i,e.createExpressionForObjectLiteralElementLike=function(t,r,a,o){switch(a.name&&e.isPrivateIdentifier(a.name)&&e.Debug.failBadSyntaxKind(a.name,"Private identifiers are not allowed in object literals."),a.kind){case 166:case 167:return function(n,t,r,a,o){var s=e.getAllAccessorDeclarations(t,r),c=s.firstAccessor,l=s.getAccessor,u=s.setAccessor;if(r===c)return e.setTextRange(n.createObjectDefinePropertyCall(a,i(n,r.name),n.createPropertyDescriptor({enumerable:n.createFalse(),configurable:!0,get:l&&e.setTextRange(e.setOriginalNode(n.createFunctionExpression(l.modifiers,void 0,void 0,void 0,l.parameters,void 0,l.body),l),l),set:u&&e.setTextRange(e.setOriginalNode(n.createFunctionExpression(u.modifiers,void 0,void 0,void 0,u.parameters,void 0,u.body),u),u)},!o)),c)}(t,r.properties,a,o,!!r.multiLine);case 285:return function(t,r,a){return e.setOriginalNode(e.setTextRange(t.createAssignment(n(t,a,r.name,r.name),r.initializer),r),r)}(t,a,o);case 286:return function(t,r,a){return e.setOriginalNode(e.setTextRange(t.createAssignment(n(t,a,r.name,r.name),t.cloneNode(r.name)),r),r)}(t,a,o);case 164:return function(t,r,a){return e.setOriginalNode(e.setTextRange(t.createAssignment(n(t,a,r.name,r.name),e.setOriginalNode(e.setTextRange(t.createFunctionExpression(r.modifiers,r.asteriskToken,void 0,void 0,r.parameters,void 0,r.body),r),r)),r),r)}(t,a,o)}},e.isInternalName=function(n){return 0!=(32768&e.getEmitFlags(n))},e.isLocalName=function(n){return 0!=(16384&e.getEmitFlags(n))},e.isExportName=function(n){return 0!=(8192&e.getEmitFlags(n))},e.findUseStrictPrologue=function(n){for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!e.isPrologueDirective(a))break;if(s(a))return a}},e.startsWithUseStrict=function(n){var t=e.firstOrUndefined(n);return void 0!==t&&e.isPrologueDirective(t)&&s(t)},e.isCommaSequence=function(e){return 213===e.kind&&27===e.operatorToken.kind||332===e.kind},e.isOuterExpression=c,e.skipOuterExpressions=l,e.skipAssertions=function(e){return l(e,6)},e.startOnNewLine=u,e.getExternalHelpersModuleName=d,e.hasRecordedExternalHelpers=function(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return!(!r||!r.externalHelpersModuleName&&!r.externalHelpers)},e.createExternalHelpersImportDeclarationIfNeeded=function(n,t,r,a,i,o,s){if(a.importHelpers&&e.isEffectiveExternalModule(r,a)){var c=void 0,l=e.getEmitModuleKind(a);if(l>=e.ModuleKind.ES2015&&l<=e.ModuleKind.ESNext){var u=e.getEmitHelpers(r);if(u){for(var d=[],f=0,m=u;f<m.length;f++){var _=m[f];if(!_.scoped){var g=_.importName;g&&e.pushIfUnique(d,g)}}if(e.some(d)){d.sort(e.compareStringsCaseSensitive),c=n.createNamedImports(e.map(d,(function(a){return e.isFileLevelUniqueName(r,a)?n.createImportSpecifier(void 0,n.createIdentifier(a)):n.createImportSpecifier(n.createIdentifier(a),t.getUnscopedHelperName(a))})));var y=e.getOriginalNode(r,e.isSourceFile);e.getOrCreateEmitNode(y).externalHelpers=!0}}}else{var h=p(n,r,a,i,o||s);h&&(c=n.createNamespaceImport(h))}if(c){var v=n.createImportDeclaration(void 0,void 0,n.createImportClause(!1,void 0,c),n.createStringLiteral(e.externalHelpersModuleNameText));return e.addEmitFlags(v,67108864),v}}},e.getOrCreateExternalHelpersModuleNameIfNeeded=p,e.getLocalNameForExternalImport=function(n,t,r){var a=e.getNamespaceDeclarationNode(t);if(a&&!e.isDefaultImport(t)){var i=a.name;return e.isGeneratedIdentifier(i)?i:n.createIdentifier(e.getSourceTextOfNodeFromSourceFile(r,i)||e.idText(i))}return 258===t.kind&&t.importClause||264===t.kind&&t.moduleSpecifier?n.getGeneratedNameForNode(t):void 0},e.getExternalModuleNameLiteral=function(n,t,r,a,i,o){var s=e.getExternalModuleName(t);if(10===s.kind)return function(e,n,t,r,a){return f(t,r.getExternalModuleFileFromDeclaration(e),n,a)}(t,a,n,i,o)||function(e,n,t){var r=t.renamedDependencies&&t.renamedDependencies.get(n.text);return r&&e.createStringLiteral(r)}(n,s,r)||n.cloneNode(s)},e.tryGetModuleNameFromFile=f,e.getInitializerOfBindingOrAssignmentElement=function n(t){if(e.isDeclarationBindingElement(t))return t.initializer;if(e.isPropertyAssignment(t)){var r=t.initializer;return e.isAssignmentExpression(r,!0)?r.right:void 0}return e.isShorthandPropertyAssignment(t)?t.objectAssignmentInitializer:e.isAssignmentExpression(t,!0)?t.right:e.isSpreadElement(t)?n(t.expression):void 0},e.getTargetOfBindingOrAssignmentElement=m,e.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 159:case 195:return e.dotDotDotToken;case 217:case 287:return e}},e.getPropertyNameOfBindingOrAssignmentElement=function(n){var t=_(n);return e.Debug.assert(!!t||e.isSpreadAssignment(n),"Invalid property name for binding element."),t},e.tryGetPropertyNameOfBindingOrAssignmentElement=_,e.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 193:case 194:case 196:return e.elements;case 197:return e.properties}},e.getJSDocTypeAliasName=function(n){if(n)for(var t=n;;){if(e.isIdentifier(t)||!t.body)return e.isIdentifier(t)?t:t.name;t=t.body}},e.canHaveModifiers=function(e){var n=e.kind;return 159===n||161===n||162===n||163===n||164===n||165===n||166===n||167===n||170===n||205===n||206===n||218===n||229===n||248===n||249===n||250===n||251===n||252===n||253===n||257===n||258===n||263===n||264===n},e.isExportModifier=function(e){return 92===e.kind},e.isAsyncModifier=function(e){return 129===e.kind},e.isStaticModifier=function(e){return 123===e.kind}}(p||(p={})),function(e){e.setTextRange=function(n,t){return t?e.setTextRangePosEnd(n,t.pos,t.end):n}}(p||(p={})),function(e){var n,t,r,a,i,o,s,c,l;function u(e,n){return n&&e(n)}function d(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;r<a.length;r++){var i=e(a[r]);if(i)return i}}}function p(e,n){return 42===e.charCodeAt(n+1)&&42===e.charCodeAt(n+2)&&47!==e.charCodeAt(n+3)}function f(n,t,r){if(n&&!(n.kind<=155))switch(n.kind){case 156:return u(t,n.left)||u(t,n.right);case 158:return u(t,n.name)||u(t,n.constraint)||u(t,n.default)||u(t,n.expression);case 286:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.exclamationToken)||u(t,n.equalsToken)||u(t,n.objectAssignmentInitializer);case 287:return u(t,n.expression);case 159:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.dotDotDotToken)||u(t,n.name)||u(t,n.questionToken)||u(t,n.type)||u(t,n.initializer);case 162:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.exclamationToken)||u(t,n.type)||u(t,n.initializer);case 161:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.type)||u(t,n.initializer);case 285:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.initializer);case 246:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.exclamationToken)||u(t,n.type)||u(t,n.initializer);case 195:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.dotDotDotToken)||u(t,n.propertyName)||u(t,n.name)||u(t,n.initializer);case 173:case 174:case 168:case 169:case 170:return d(t,r,n.decorators)||d(t,r,n.modifiers)||d(t,r,n.typeParameters)||d(t,r,n.parameters)||u(t,n.type);case 164:case 163:case 165:case 166:case 167:case 205:case 248:case 206:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.asteriskToken)||u(t,n.name)||u(t,n.questionToken)||u(t,n.exclamationToken)||d(t,r,n.typeParameters)||d(t,r,n.parameters)||u(t,n.type)||u(t,n.equalsGreaterThanToken)||u(t,n.body);case 172:return u(t,n.typeName)||d(t,r,n.typeArguments);case 171:return u(t,n.assertsModifier)||u(t,n.parameterName)||u(t,n.type);case 175:return u(t,n.exprName);case 176:return d(t,r,n.members);case 177:return u(t,n.elementType);case 178:return d(t,r,n.elements);case 181:case 182:return d(t,r,n.types);case 183:return u(t,n.checkType)||u(t,n.extendsType)||u(t,n.trueType)||u(t,n.falseType);case 184:return u(t,n.typeParameter);case 192:return u(t,n.argument)||u(t,n.qualifier)||d(t,r,n.typeArguments);case 185:case 187:return u(t,n.type);case 188:return u(t,n.objectType)||u(t,n.indexType);case 189:return u(t,n.readonlyToken)||u(t,n.typeParameter)||u(t,n.questionToken)||u(t,n.type);case 190:return u(t,n.literal);case 191:return u(t,n.dotDotDotToken)||u(t,n.name)||u(t,n.questionToken)||u(t,n.type);case 193:case 194:case 196:return d(t,r,n.elements);case 197:return d(t,r,n.properties);case 198:return u(t,n.expression)||u(t,n.questionDotToken)||u(t,n.name);case 199:return u(t,n.expression)||u(t,n.questionDotToken)||u(t,n.argumentExpression);case 200:case 201:return u(t,n.expression)||u(t,n.questionDotToken)||d(t,r,n.typeArguments)||d(t,r,n.arguments);case 202:return u(t,n.tag)||u(t,n.questionDotToken)||d(t,r,n.typeArguments)||u(t,n.template);case 203:return u(t,n.type)||u(t,n.expression);case 204:case 207:case 208:case 209:return u(t,n.expression);case 211:return u(t,n.operand);case 216:return u(t,n.asteriskToken)||u(t,n.expression);case 210:return u(t,n.expression);case 212:return u(t,n.operand);case 213:return u(t,n.left)||u(t,n.operatorToken)||u(t,n.right);case 221:return u(t,n.expression)||u(t,n.type);case 222:return u(t,n.expression);case 223:return u(t,n.name);case 214:return u(t,n.condition)||u(t,n.questionToken)||u(t,n.whenTrue)||u(t,n.colonToken)||u(t,n.whenFalse);case 217:return u(t,n.expression);case 227:case 254:return d(t,r,n.statements);case 294:return d(t,r,n.statements)||u(t,n.endOfFileToken);case 229:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.declarationList);case 247:return d(t,r,n.declarations);case 230:return u(t,n.expression);case 231:return u(t,n.expression)||u(t,n.thenStatement)||u(t,n.elseStatement);case 232:return u(t,n.statement)||u(t,n.expression);case 233:return u(t,n.expression)||u(t,n.statement);case 234:return u(t,n.initializer)||u(t,n.condition)||u(t,n.incrementor)||u(t,n.statement);case 235:return u(t,n.initializer)||u(t,n.expression)||u(t,n.statement);case 236:return u(t,n.awaitModifier)||u(t,n.initializer)||u(t,n.expression)||u(t,n.statement);case 237:case 238:return u(t,n.label);case 239:return u(t,n.expression);case 240:return u(t,n.expression)||u(t,n.statement);case 241:return u(t,n.expression)||u(t,n.caseBlock);case 255:return d(t,r,n.clauses);case 281:return u(t,n.expression)||d(t,r,n.statements);case 282:return d(t,r,n.statements);case 242:return u(t,n.label)||u(t,n.statement);case 243:return u(t,n.expression);case 244:return u(t,n.tryBlock)||u(t,n.catchClause)||u(t,n.finallyBlock);case 284:return u(t,n.variableDeclaration)||u(t,n.block);case 160:return u(t,n.expression);case 249:case 218:case 250:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||d(t,r,n.typeParameters)||d(t,r,n.heritageClauses)||d(t,r,n.members);case 251:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||d(t,r,n.typeParameters)||u(t,n.type);case 252:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||d(t,r,n.members);case 288:return u(t,n.name)||u(t,n.initializer);case 253:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.body);case 257:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.moduleReference);case 258:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.importClause)||u(t,n.moduleSpecifier);case 259:return u(t,n.name)||u(t,n.namedBindings);case 256:case 260:case 266:return u(t,n.name);case 261:case 265:return d(t,r,n.elements);case 264:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.exportClause)||u(t,n.moduleSpecifier);case 262:case 267:return u(t,n.propertyName)||u(t,n.name);case 263:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.expression);case 215:return u(t,n.head)||d(t,r,n.templateSpans);case 225:return u(t,n.expression)||u(t,n.literal);case 157:return u(t,n.expression);case 283:return d(t,r,n.types);case 220:return u(t,n.expression)||d(t,r,n.typeArguments);case 269:return u(t,n.expression);case 268:return d(t,r,n.decorators);case 332:return d(t,r,n.elements);case 270:return u(t,n.openingElement)||d(t,r,n.children)||u(t,n.closingElement);case 274:return u(t,n.openingFragment)||d(t,r,n.children)||u(t,n.closingFragment);case 271:case 272:return u(t,n.tagName)||d(t,r,n.typeArguments)||u(t,n.attributes);case 278:return d(t,r,n.properties);case 277:return u(t,n.name)||u(t,n.initializer);case 279:return u(t,n.expression);case 280:return u(t,n.dotDotDotToken)||u(t,n.expression);case 273:return u(t,n.tagName);case 179:case 180:case 298:case 302:case 301:case 303:case 305:return u(t,n.type);case 304:return d(t,r,n.parameters)||u(t,n.type);case 307:return d(t,r,n.tags);case 322:case 328:return u(t,n.tagName)||(n.isNameFirst?u(t,n.name)||u(t,n.typeExpression):u(t,n.typeExpression)||u(t,n.name));case 313:return u(t,n.tagName);case 312:case 311:return u(t,n.tagName)||u(t,n.class);case 326:return u(t,n.tagName)||u(t,n.constraint)||d(t,r,n.typeParameters);case 327:return u(t,n.tagName)||(n.typeExpression&&298===n.typeExpression.kind?u(t,n.typeExpression)||u(t,n.fullName):u(t,n.fullName)||u(t,n.typeExpression));case 320:return u(t,n.tagName)||u(t,n.fullName)||u(t,n.typeExpression);case 323:case 325:case 324:case 321:return u(t,n.tagName)||u(t,n.typeExpression);case 309:return e.forEach(n.typeParameters,t)||e.forEach(n.parameters,t)||u(t,n.type);case 308:return e.forEach(n.jsDocPropertyTags,t);case 310:case 315:case 316:case 317:case 318:case 319:return u(t,n.tagName);case 331:return u(t,n.expression)}}function m(e){return void 0!==e.externalModuleIndicator}function _(n){return e.fileExtensionIs(n,".d.ts")}function g(n,t){for(var r=[],a=0,i=e.getLeadingCommentRanges(t,0)||e.emptyArray;a<i.length;a++){var o=i[a];T(r,o,t.substring(o.pos,o.end))}n.pragmas=new e.Map;for(var s=0,c=r;s<c.length;s++){var l=c[s];if(n.pragmas.has(l.name)){var u=n.pragmas.get(l.name);u instanceof Array?u.push(l.args):n.pragmas.set(l.name,[u,l.args])}else n.pragmas.set(l.name,l.args)}}function y(n,t){n.checkJsDirective=void 0,n.referencedFiles=[],n.typeReferenceDirectives=[],n.libReferenceDirectives=[],n.amdDependencies=[],n.hasNoDefaultLib=!1,n.pragmas.forEach((function(r,a){switch(a){case"reference":var i=n.referencedFiles,o=n.typeReferenceDirectives,s=n.libReferenceDirectives;e.forEach(e.toArray(r),(function(r){var a=r.arguments,c=a.types,l=a.lib,u=a.path;r.arguments["no-default-lib"]?n.hasNoDefaultLib=!0:c?o.push({pos:c.pos,end:c.end,fileName:c.value}):l?s.push({pos:l.pos,end:l.end,fileName:l.value}):u?i.push({pos:u.pos,end:u.end,fileName:u.value}):t(r.range.pos,r.range.end-r.range.pos,e.Diagnostics.Invalid_reference_directive_syntax)}));break;case"amd-dependency":n.amdDependencies=e.map(e.toArray(r),(function(e){return{name:e.arguments.name,path:e.arguments.path}}));break;case"amd-module":if(r instanceof Array)for(var c=0,l=r;c<l.length;c++){var u=l[c];n.moduleName&&t(u.range.pos,u.range.end-u.range.pos,e.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),n.moduleName=u.arguments.name}else n.moduleName=r.arguments.name;break;case"ts-nocheck":case"ts-check":e.forEach(e.toArray(r),(function(e){(!n.checkJsDirective||e.range.pos>n.checkJsDirective.pos)&&(n.checkJsDirective={enabled:"ts-check"===a,end:e.range.end,pos:e.range.pos})}));break;case"jsx":case"jsxfrag":return;default:e.Debug.fail("Unhandled pragma kind")}}))}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(n||(n={})),function(e){e[e.TryParse=0]="TryParse",e[e.Lookahead=1]="Lookahead",e[e.Reparse=2]="Reparse"}(t||(t={})),e.parseBaseNodeFactory={createBaseSourceFileNode:function(n){return new(s||(s=e.objectAllocator.getSourceFileConstructor()))(n,-1,-1)},createBaseIdentifierNode:function(n){return new(i||(i=e.objectAllocator.getIdentifierConstructor()))(n,-1,-1)},createBasePrivateIdentifierNode:function(n){return new(o||(o=e.objectAllocator.getPrivateIdentifierConstructor()))(n,-1,-1)},createBaseTokenNode:function(n){return new(a||(a=e.objectAllocator.getTokenConstructor()))(n,-1,-1)},createBaseNode:function(n){return new(r||(r=e.objectAllocator.getNodeConstructor()))(n,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory),e.isJSDocLikeText=p,e.forEachChild=f,e.forEachChildRecursively=function(n,t,r){for(var a=[n];a.length;){var i=a.pop(),o=c(i,s(i));if(o)return o}return;function s(e){var n=[];return f(e,t,t),n;function t(e){n.unshift(e)}}function c(n,i){for(var o=0,s=i;o<s.length;o++){var c=s[o];if(e.isArray(c)){if(r)if(d=r(c,n)){if("skip"===d)continue;return d}for(var l=c.length-1;l>=0;l--){var u=c[l];if(d=t(u,n)){if("skip"===d)continue;return d}a.push(u)}}else{var d;if(a.push(c),d=t(c,n)){if("skip"===d)continue;return d}}}}},e.createSourceFile=function(n,t,r,a,i){var o;return void 0===a&&(a=!1),e.performance.mark("beforeParse"),e.perfLogger.logStartParseSourceFile(n),o=100===r?c.parseSourceFile(n,t,r,void 0,a,6):c.parseSourceFile(n,t,r,void 0,a,i),e.perfLogger.logStopParseSourceFile(),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),o},e.parseIsolatedEntityName=function(e,n){return c.parseIsolatedEntityName(e,n)},e.parseJsonText=function(e,n){return c.parseJsonText(e,n)},e.isExternalModule=m,e.updateSourceFile=function(e,n,t,r){void 0===r&&(r=!1);var a=l.updateSourceFile(e,n,t,r);return a.flags|=3145728&e.flags,a},e.parseIsolatedJSDocComment=function(e,n,t){var r=c.JSDocParser.parseIsolatedJSDocComment(e,n,t);return r&&r.jsDoc&&c.fixupParentReferences(r.jsDoc),r},e.parseJSDocTypeExpressionForTests=function(e,n,t){return c.JSDocParser.parseJSDocTypeExpressionForTests(e,n,t)},function(n){var t,r,a,i,o,s=e.createScanner(99,!0);function c(e){return D++,e}var u,d,h,v,b,E,T,S,x,A,D,C,I,N,R,k,O,P={createBaseSourceFileNode:function(e){return c(new o(e,0,0))},createBaseIdentifierNode:function(e){return c(new a(e,0,0))},createBasePrivateIdentifierNode:function(e){return c(new i(e,0,0))},createBaseTokenNode:function(e){return c(new r(e,0,0))},createBaseNode:function(e){return c(new t(e,0,0))}},M=e.createNodeFactory(11,P),w=!0,F=!1;function G(n,t,r,a,i){void 0===r&&(r=2),void 0===i&&(i=!1),B(n,t,r,a,6),d=O,be();var o,s,c=_e();if(1===ye())o=Ue([],c,c),s=Fe();else{var l=void 0;switch(ye()){case 22:l=yr();break;case 109:case 94:case 103:l=Fe();break;case 40:l=Ce((function(){return 8===be()&&58!==be()}))?qt():vr();break;case 8:case 10:if(Ce((function(){return 58!==be()}))){l=Nn();break}default:l=vr()}var u=M.createExpressionStatement(l);Ve(u,c),o=Ue([u],c),s=we(1,e.Diagnostics.Unexpected_token)}var p=X(n,2,6,!1,o,s,d);i&&J(p),p.nodeCount=D,p.identifierCount=N,p.identifiers=C,p.parseDiagnostics=e.attachFileToDiagnostics(T,p),S&&(p.jsDocDiagnostics=e.attachFileToDiagnostics(S,p));var f=p;return U(),f}function B(n,c,l,p,f){switch(t=e.objectAllocator.getNodeConstructor(),r=e.objectAllocator.getTokenConstructor(),a=e.objectAllocator.getIdentifierConstructor(),i=e.objectAllocator.getPrivateIdentifierConstructor(),o=e.objectAllocator.getSourceFileConstructor(),u=e.normalizePath(n),h=c,v=l,x=p,b=f,E=e.getLanguageVariant(f),T=[],R=0,C=new e.Map,I=new e.Map,N=0,D=0,d=0,w=!0,b){case 1:case 2:O=131072;break;case 6:O=33685504;break;default:O=0}F=!1,s.setText(h),s.setOnError(me),s.setScriptTarget(v),s.setLanguageVariant(E)}function U(){s.clearCommentDirectives(),s.setText(""),s.setOnError(void 0),h=void 0,v=void 0,x=void 0,b=void 0,E=void 0,d=0,T=void 0,S=void 0,R=0,C=void 0,k=void 0,w=!0}function V(n,t,r){var a=_(u);a&&(O|=8388608),d=O,be();var i=_n(0,Fr);e.Debug.assert(1===ye());var o=z(Fe()),c=X(u,n,r,a,i,o,d);return g(c,h),y(c,(function(n,t,r){T.push(e.createDetachedDiagnostic(u,n,t,r))})),c.commentDirectives=s.getCommentDirectives(),c.nodeCount=D,c.identifierCount=N,c.identifiers=C,c.parseDiagnostics=e.attachFileToDiagnostics(T,c),S&&(c.jsDocDiagnostics=e.attachFileToDiagnostics(S,c)),t&&J(c),c}function j(e,n){return n?z(e):e}n.parseSourceFile=function(n,t,r,a,i,o){if(void 0===i&&(i=!1),6===(o=e.ensureScriptKind(n,o))){var s=G(n,t,r,a,i);return e.convertToObjectWorker(s,s.parseDiagnostics,!1,void 0,void 0),s.referencedFiles=e.emptyArray,s.typeReferenceDirectives=e.emptyArray,s.libReferenceDirectives=e.emptyArray,s.amdDependencies=e.emptyArray,s.hasNoDefaultLib=!1,s.pragmas=e.emptyMap,s}B(n,t,r,a,o);var c=V(r,i,o);return U(),c},n.parseIsolatedEntityName=function(e,n){B("",e,n,void 0,1),be();var t=Ln(!0),r=1===ye()&&!T.length;return U(),r?t:void 0},n.parseJsonText=G;var K,H,W,q=!1;function z(n){e.Debug.assert(!n.jsDoc);var t=e.mapDefined(e.getJSDocCommentRanges(n,h),(function(e){return W.parseJSDocComment(n,e.pos,e.end-e.pos)}));return t.length&&(n.jsDoc=t),q&&(q=!1,n.flags|=134217728),n}function J(n){e.setParentRecursive(n,!0)}function X(n,t,r,a,i,o,c){var u=M.createSourceFile(i,o,c);return e.setTextRangePosWidth(u,0,h.length),function(n){n.externalModuleIndicator=e.forEach(n.statements,Ia)||function(e){return 2097152&e.flags?Na(e):void 0}(n)}(u),!a&&m(u)&&8388608&u.transformFlags&&(u=function(n){var t=x,r=l.createSyntaxCursor(n);x={currentNode:function(e){var n=r.currentNode(e);w&&n&&f(n)&&(n.intersectsChange=!0);return n}};var a=[],i=T;T=[];for(var o=0,c=m(n.statements,0),u=function(){var t=n.statements[o],r=n.statements[c];e.addRange(a,n.statements,o,c),o=_(n.statements,c);var l=e.findIndex(i,(function(e){return e.start>=t.pos})),u=l>=0?e.findIndex(i,(function(e){return e.start>=r.pos}),l):-1;l>=0&&e.addRange(T,i,l,u>=0?u:void 0),De((function(){var e=O;for(O|=32768,s.setTextPos(r.pos),be();1!==ye();){var t=s.getStartPos(),i=gn(0,Fr);if(a.push(i),t===s.getStartPos()&&be(),o>=0){var c=n.statements[o];if(i.end===c.pos)break;i.end>c.pos&&(o=_(n.statements,o+1))}}O=e}),2),c=o>=0?m(n.statements,o):-1};-1!==c;)u();if(o>=0){var d=n.statements[o];e.addRange(a,n.statements,o);var p=e.findIndex(i,(function(e){return e.start>=d.pos}));p>=0&&e.addRange(T,i,p)}return x=t,M.updateSourceFile(n,e.setTextRange(M.createNodeArray(a),n.statements));function f(e){return!(32768&e.flags||!(8388608&e.transformFlags))}function m(e,n){for(var t=n;t<e.length;t++)if(f(e[t]))return t;return-1}function _(e,n){for(var t=n;t<e.length;t++)if(!f(e[t]))return t;return-1}}(u)),u.text=h,u.bindDiagnostics=[],u.bindSuggestionDiagnostics=void 0,u.languageVersion=t,u.fileName=n,u.languageVariant=e.getLanguageVariant(r),u.isDeclarationFile=a,u.scriptKind=r,u}function Y(e,n){e?O|=n:O&=~n}function Q(e){Y(e,4096)}function Z(e){Y(e,8192)}function $(e){Y(e,16384)}function ee(e){Y(e,32768)}function ne(e,n){var t=e&O;if(t){Y(!1,t);var r=n();return Y(!0,t),r}return n()}function te(e,n){var t=e&~O;if(t){Y(!0,t);var r=n();return Y(!1,t),r}return n()}function re(e){return ne(4096,e)}function ae(e){return te(32768,e)}function ie(e){return 0!=(O&e)}function oe(){return ie(8192)}function se(){return ie(4096)}function ce(){return ie(16384)}function le(){return ie(32768)}function ue(e,n){pe(s.getTokenPos(),s.getTextPos(),e,n)}function de(n,t,r,a){var i=e.lastOrUndefined(T);i&&n===i.start||T.push(e.createDetachedDiagnostic(u,n,t,r,a)),F=!0}function pe(e,n,t,r){de(e,n-e,t,r)}function fe(e,n,t){pe(e.pos,e.end,n,t)}function me(e,n){de(s.getTextPos(),n,e)}function _e(){return s.getStartPos()}function ge(){return s.hasPrecedingJSDocComment()}function ye(){return A}function he(){return A=s.scan()}function ve(e){return be(),e()}function be(){return e.isKeyword(A)&&(s.hasUnicodeEscape()||s.hasExtendedUnicodeEscape())&&pe(s.getTokenPos(),s.getTextPos(),e.Diagnostics.Keywords_cannot_contain_escape_characters),he()}function Ee(){return A=s.scanJsDocToken()}function Te(){return A=s.reScanGreaterToken()}function Se(){return A=s.reScanTemplateHeadOrNoSubstitutionTemplate()}function Le(){return A=s.reScanLessThanToken()}function xe(){return A=s.scanJsxIdentifier()}function Ae(){return A=s.scanJsxToken()}function De(n,t){var r=A,a=T.length,i=F,o=O,c=0!==t?s.lookAhead(n):s.tryScan(n);return e.Debug.assert(o===O),c&&0===t||(A=r,2!==t&&(T.length=a),F=i),c}function Ce(e){return De(e,1)}function Ie(e){return De(e,0)}function Ne(){return 78===ye()||ye()>115}function Re(){return 78===ye()||(124!==ye()||!oe())&&((130!==ye()||!le())&&ye()>115)}function ke(n,t,r){return void 0===r&&(r=!0),ye()===n?(r&&be(),!0):(t?ue(t):ue(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function Oe(e){return ye()===e&&(be(),!0)}function Pe(e){if(ye()===e)return Fe()}function Me(e){if(ye()===e)return n=_e(),t=ye(),Ee(),Ve(M.createToken(t),n);var n,t}function we(n,t,r){return Pe(n)||je(n,!1,t||e.Diagnostics._0_expected,r||e.tokenToString(n))}function Fe(){var e=_e(),n=ye();return be(),Ve(M.createToken(n),e)}function Ge(){return 26===ye()||(19===ye()||1===ye()||s.hasPrecedingLineBreak())}function Be(){return Ge()?(26===ye()&&be(),!0):ke(26)}function Ue(n,t,r,a){var i=M.createNodeArray(n,a);return e.setTextRangePosEnd(i,t,null!=r?r:s.getStartPos()),i}function Ve(n,t,r){return e.setTextRangePosEnd(n,t,null!=r?r:s.getStartPos()),O&&(n.flags|=O),F&&(F=!1,n.flags|=65536),n}function je(n,t,r,a){t?de(s.getStartPos(),0,r,a):r&&ue(r,a);var i=_e();return Ve(78===n?M.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(n)?M.createTemplateLiteralLikeNode(n,"","",void 0):8===n?M.createNumericLiteral("",void 0):10===n?M.createStringLiteral("",void 0):268===n?M.createMissingDeclaration():M.createToken(n),i)}function Ke(e){var n=C.get(e);return void 0===n&&C.set(e,n=e),n}function He(n,t,r){if(N++,n){var a=_e(),i=ye(),o=Ke(s.getTokenValue());return he(),Ve(M.createIdentifier(o,void 0,i),a)}if(79===ye())return ue(r||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),He(!0);var c=1===ye(),l=s.isReservedWord(),u=s.getTokenText(),d=l?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return je(78,c,t||d,u)}function We(e){return He(Ne(),void 0,e)}function qe(e,n){return He(Re(),e,n)}function ze(n){return He(e.tokenIsIdentifierOrKeyword(ye()),n)}function Je(){return e.tokenIsIdentifierOrKeyword(ye())||10===ye()||8===ye()}function Xe(e){if(10===ye()||8===ye()){var n=Nn();return n.text=Ke(n.text),n}return e&&22===ye()?function(){var e=_e();ke(22);var n=re(Ot);return ke(23),Ve(M.createComputedPropertyName(n),e)}():79===ye()?Qe():ze()}function Ye(){return Xe(!0)}function Qe(){var e,n,t=_e(),r=M.createPrivateIdentifier((e=s.getTokenText(),void 0===(n=I.get(e))&&I.set(e,n=e),n));return be(),Ve(r,t)}function Ze(e){return ye()===e&&Ie(en)}function $e(){return be(),!s.hasPrecedingLineBreak()&&rn()}function en(){switch(ye()){case 84:return 91===be();case 92:return be(),87===ye()?Ce(an):148===ye()?Ce(tn):nn();case 87:return an();case 123:case 134:case 145:return be(),rn();default:return $e()}}function nn(){return 41!==ye()&&126!==ye()&&18!==ye()&&rn()}function tn(){return be(),nn()}function rn(){return 22===ye()||18===ye()||41===ye()||25===ye()||Je()}function an(){return be(),83===ye()||97===ye()||117===ye()||125===ye()&&Ce(Nr)||129===ye()&&Ce(Rr)}function on(n,t){if(yn(n))return!0;switch(n){case 0:case 1:case 3:return!(26===ye()&&t)&&Mr();case 2:return 81===ye()||87===ye();case 4:return Ce(Zn);case 5:return Ce(aa)||26===ye()&&!t;case 6:return 22===ye()||Je();case 12:switch(ye()){case 22:case 41:case 25:case 24:return!0;default:return Je()}case 18:return Je();case 9:return 22===ye()||25===ye()||Je();case 7:return 18===ye()?Ce(sn):t?Re()&&!dn():Rt()&&!dn();case 8:return Wr();case 10:return 27===ye()||25===ye()||Wr();case 19:return Re();case 15:switch(ye()){case 27:case 24:return!0}case 11:return 25===ye()||kt();case 16:return Un(!1);case 17:return Un(!0);case 20:case 21:return 27===ye()||yt();case 22:return ha();case 23:return e.tokenIsIdentifierOrKeyword(ye());case 13:return e.tokenIsIdentifierOrKeyword(ye())||18===ye();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function sn(){if(e.Debug.assert(18===ye()),19===be()){var n=be();return 27===n||18===n||93===n||116===n}return!0}function cn(){return be(),Re()}function ln(){return be(),e.tokenIsIdentifierOrKeyword(ye())}function un(){return be(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ye())}function dn(){return(116===ye()||93===ye())&&Ce(pn)}function pn(){return be(),kt()}function fn(){return be(),yt()}function mn(e){if(1===ye())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===ye();case 3:return 19===ye()||81===ye()||87===ye();case 7:return 18===ye()||93===ye()||116===ye();case 8:return function(){if(Ge())return!0;if(Kt(ye()))return!0;if(38===ye())return!0;return!1}();case 19:return 31===ye()||20===ye()||18===ye()||93===ye()||116===ye();case 11:return 21===ye()||26===ye();case 15:case 21:case 10:return 23===ye();case 17:case 16:case 18:return 21===ye()||23===ye();case 20:return 27!==ye();case 22:return 18===ye()||19===ye();case 13:return 31===ye()||43===ye();case 14:return 29===ye()&&Ce(Sa);default:return!1}}function _n(e,n){var t=R;R|=1<<e;for(var r=[],a=_e();!mn(e);)if(on(e,!1)){var i=gn(e,n);r.push(i)}else if(vn(e))break;return R=t,Ue(r,a)}function gn(e,n){var t=yn(e);return t?hn(t):n()}function yn(n){if(x&&function(e){switch(e){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}(n)&&!F){var t=x.currentNode(s.getStartPos());if(!(e.nodeIsMissing(t)||t.intersectsChange||e.containsParseError(t)))if((25358336&t.flags)===O&&function(e,n){switch(n){case 5:return function(e){if(e)switch(e.kind){case 165:case 170:case 166:case 167:case 162:case 226:return!0;case 164:var n=e;return!(78===n.name.kind&&132===n.name.originalKeywordKind)}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 281:case 282:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 248:case 229:case 227:case 231:case 230:case 243:case 239:case 241:case 238:case 237:case 235:case 236:case 234:case 233:case 240:case 228:case 244:case 242:case 232:case 245:case 258:case 257:case 264:case 263:case 253:case 249:case 250:case 252:case 251:return!0}return!1}(e);case 6:return function(e){return 288===e.kind}(e);case 4:return function(e){if(e)switch(e.kind){case 169:case 163:case 170:case 161:case 168:return!0}return!1}(e);case 8:return function(e){if(246!==e.kind)return!1;return void 0===e.initializer}(e);case 17:case 16:return function(e){if(159!==e.kind)return!1;return void 0===e.initializer}(e)}return!1}(t,n))return t.jsDocCache&&(t.jsDocCache=void 0),t}}function hn(e){return s.setTextPos(e.end),be(),e}function vn(n){return ue(function(n){switch(n){case 0:case 1:return e.Diagnostics.Declaration_or_statement_expected;case 2:return e.Diagnostics.case_or_default_expected;case 3:return e.Diagnostics.Statement_expected;case 18:case 4:return e.Diagnostics.Property_or_signature_expected;case 5:return e.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected;case 6:return e.Diagnostics.Enum_member_expected;case 7:return e.Diagnostics.Expression_expected;case 8:return e.Diagnostics.Variable_declaration_expected;case 9:return e.Diagnostics.Property_destructuring_pattern_expected;case 10:return e.Diagnostics.Array_element_destructuring_pattern_expected;case 11:return e.Diagnostics.Argument_expression_expected;case 12:return e.Diagnostics.Property_assignment_expected;case 15:return e.Diagnostics.Expression_or_comma_expected;case 17:case 16:return e.Diagnostics.Parameter_declaration_expected;case 19:return e.Diagnostics.Type_parameter_declaration_expected;case 20:return e.Diagnostics.Type_argument_expected;case 21:return e.Diagnostics.Type_expected;case 22:return e.Diagnostics.Unexpected_token_expected;case 23:case 13:case 14:return e.Diagnostics.Identifier_expected;default:return}}(n)),!!function(){for(var e=0;e<24;e++)if(R&1<<e&&(on(e,!0)||mn(e)))return!0;return!1}()||(be(),!1)}function bn(e,n,t){var r=R;R|=1<<e;for(var a=[],i=_e(),o=-1;;)if(on(e,!1)){var c=s.getStartPos();if(a.push(gn(e,n)),o=s.getTokenPos(),Oe(27))continue;if(o=-1,mn(e))break;ke(27,En(e)),t&&26===ye()&&!s.hasPrecedingLineBreak()&&be(),c===s.getStartPos()&&be()}else{if(mn(e))break;if(vn(e))break}return R=r,Ue(a,i,void 0,o>=0)}function En(n){return 6===n?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Tn(){var e=Ue([],_e());return e.isMissingList=!0,e}function Sn(e,n,t,r){if(ke(t)){var a=bn(e,n);return ke(r),a}return Tn()}function Ln(e,n){for(var t=_e(),r=e?ze(n):qe(n),a=_e();Oe(24);){if(29===ye()){r.jsdocDotPos=a;break}a=_e(),r=Ve(M.createQualifiedName(r,An(e,!1)),t)}return r}function xn(e,n){return Ve(M.createQualifiedName(e,n),e.pos)}function An(n,t){if(s.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ye())&&Ce(Ir))return je(78,!0,e.Diagnostics.Identifier_expected);if(79===ye()){var r=Qe();return t?r:je(78,!0,e.Diagnostics.Identifier_expected)}return n?ze():qe()}function Dn(n){var t=_e();return Ve(M.createTemplateExpression(function(n){n&&Se();var t=Rn(ye());return e.Debug.assert(15===t.kind,"Template head has wrong token kind"),t}(n),function(e){var n,t=_e(),r=[];do{n=In(e),r.push(n)}while(16===n.literal.kind);return Ue(r,t)}(n)),t)}function Cn(n){return 19===ye()?(function(e){A=s.reScanTemplateToken(e)}(n),t=Rn(ye()),e.Debug.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),t):we(17,e.Diagnostics._0_expected,e.tokenToString(19));var t}function In(e){var n=_e();return Ve(M.createTemplateSpan(re(Ot),Cn(e)),n)}function Nn(){return Rn(ye())}function Rn(n){var t=_e(),r=e.isTemplateLiteralKind(n)?M.createTemplateLiteralLikeNode(n,s.getTokenValue(),function(e){var n=14===e||17===e,t=s.getTokenText();return t.substring(1,t.length-(s.isUnterminated()?0:n?1:2))}(n),2048&s.getTokenFlags()):8===n?M.createNumericLiteral(s.getTokenValue(),s.getNumericLiteralFlags()):10===n?M.createStringLiteral(s.getTokenValue(),void 0,s.hasExtendedUnicodeEscape()):e.isLiteralKind(n)?M.createLiteralLikeNode(n,s.getTokenValue()):e.Debug.fail();return s.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),s.isUnterminated()&&(r.isUnterminated=!0),be(),Ve(r,t)}function kn(){return Ln(!0,e.Diagnostics.Type_expected)}function On(){if(!s.hasPrecedingLineBreak()&&29===Le())return Sn(20,Ct,29,31)}function Pn(){var e=_e();return Ve(M.createTypeReferenceNode(kn(),On()),e)}function Mn(){var e=_e();return be(),Ve(M.createThisTypeNode(),e)}function wn(){var e,n=_e();return 107!==ye()&&102!==ye()||(e=ze(),ke(58)),Ve(M.createParameterDeclaration(void 0,void 0,void 0,e,void 0,Fn(),void 0),n)}function Fn(){s.setInJSDocType(!0);var e=_e();if(Oe(138)){var n=M.createJSDocNamepathType(void 0);e:for(;;)switch(ye()){case 19:case 1:case 27:case 5:break e;default:Ee()}return s.setInJSDocType(!1),Ve(n,e)}var t=Oe(25),r=At();return s.setInJSDocType(!1),t&&(r=Ve(M.createJSDocVariadicType(r),e)),62===ye()?(be(),Ve(M.createJSDocOptionalType(r),e)):r}function Gn(){var e,n,t=_e(),r=qe();Oe(93)&&(yt()||!kt()?e=Ct():n=zt());var a=Oe(62)?Ct():void 0,i=M.createTypeParameterDeclaration(r,e,a);return i.expression=n,Ve(i,t)}function Bn(){if(29===ye())return Sn(19,Gn,29,31)}function Un(n){return 25===ye()||Wr()||e.isModifierKind(ye())||59===ye()||yt(!n)}function Vn(){return Kn(!0)}function jn(){return Kn(!1)}function Kn(n){var t=_e(),r=ge();if(107===ye())return j(Ve(M.createParameterDeclaration(void 0,void 0,void 0,He(!0),void 0,Nt(),void 0),t),r);var a=n?ae(sa):sa(),i=w;w=!1;var o=la(),s=j(Ve(M.createParameterDeclaration(a,o,Pe(25),function(n){var t=qr(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return 0===e.getFullWidth(t)&&!e.some(n)&&e.isModifierKind(ye())&&be(),t}(o),Pe(57),Nt(),Pt()),t),r);return w=i,s}function Hn(n,t){if(function(n,t){if(38===n)return ke(n),!0;if(Oe(58))return!0;if(t&&38===ye())return ue(e.Diagnostics._0_expected,e.tokenToString(58)),be(),!0;return!1}(n,t))return At()}function Wn(e){var n=oe(),t=le();Z(!!(1&e)),ee(!!(2&e));var r=32&e?bn(17,wn):bn(16,t?Vn:jn);return Z(n),ee(t),r}function qn(e){if(!ke(20))return Tn();var n=Wn(e);return ke(21),n}function zn(){Oe(27)||Be()}function Jn(e){var n=_e(),t=ge();169===e&&ke(102);var r=Bn(),a=qn(4),i=Hn(58,!0);return zn(),j(Ve(168===e?M.createCallSignature(r,a,i):M.createConstructSignature(r,a,i),n),t)}function Xn(){return 22===ye()&&Ce(Yn)}function Yn(){if(be(),25===ye()||23===ye())return!0;if(e.isModifierKind(ye())){if(be(),Re())return!0}else{if(!Re())return!1;be()}return 58===ye()||27===ye()||57===ye()&&(be(),58===ye()||27===ye()||23===ye())}function Qn(e,n,t,r){var a=Sn(16,jn,22,23),i=Nt();return zn(),j(Ve(M.createIndexSignature(t,r,a,i),e),n)}function Zn(){if(20===ye()||29===ye())return!0;for(var n=!1;e.isModifierKind(ye());)n=!0,be();return 22===ye()||(Je()&&(n=!0,be()),!!n&&(20===ye()||29===ye()||57===ye()||58===ye()||27===ye()||Ge()))}function $n(){if(20===ye()||29===ye())return Jn(168);if(102===ye()&&Ce(et))return Jn(169);var e=_e(),n=ge(),t=la();return Xn()?Qn(e,n,void 0,t):function(e,n,t){var r,a=Ye(),i=Pe(57);if(20===ye()||29===ye()){var o=Bn(),s=qn(4),c=Hn(58,!0);r=M.createMethodSignature(t,a,i,o,s,c)}else{c=Nt();r=M.createPropertySignature(t,a,i,c),62===ye()&&(r.initializer=Pt())}return zn(),j(Ve(r,e),n)}(e,n,t)}function et(){return be(),20===ye()||29===ye()}function nt(){return 24===be()}function tt(){switch(be()){case 20:case 29:case 24:return!0}return!1}function rt(){var e;return ke(18)?(e=_n(4,$n),ke(19)):e=Tn(),e}function at(){return be(),39===ye()||40===ye()?141===be():(141===ye()&&be(),22===ye()&&cn()&&100===be())}function it(){var e,n=_e();ke(18),141!==ye()&&39!==ye()&&40!==ye()||141!==(e=Fe()).kind&&ke(141),ke(22);var t,r=function(){var e=_e(),n=ze();ke(100);var t=Ct();return Ve(M.createTypeParameterDeclaration(n,t,void 0),e)}();ke(23),57!==ye()&&39!==ye()&&40!==ye()||57!==(t=Fe()).kind&&ke(57);var a=Nt();return Be(),ke(19),Ve(M.createMappedTypeNode(e,r,t,a),n)}function ot(){var n=_e();if(Oe(25))return Ve(M.createRestTypeNode(Ct()),n);var t=Ct();if(e.isJSDocNullableType(t)&&t.pos===t.type.pos){var r=M.createOptionalTypeNode(t.type);return e.setTextRange(r,t),r.flags=t.flags,r}return t}function st(){return 58===be()||57===ye()&&58===be()}function ct(){return 25===ye()?e.tokenIsIdentifierOrKeyword(be())&&st():e.tokenIsIdentifierOrKeyword(ye())&&st()}function lt(){if(Ce(ct)){var e=_e(),n=ge(),t=Pe(25),r=ze(),a=Pe(57);ke(58);var i=ot();return j(Ve(M.createNamedTupleMember(t,r,a,i),e),n)}return ot()}function ut(){var e=_e(),n=ge(),t=Oe(102),r=Bn(),a=qn(4),i=Hn(38,!1);return j(Ve(t?M.createConstructorTypeNode(r,a,i):M.createFunctionTypeNode(r,a,i),e),n)}function dt(){var e=Fe();return 24===ye()?void 0:e}function pt(e){var n=_e();e&&be();var t=109===ye()||94===ye()||103===ye()?Fe():Rn(ye());return e&&(t=Ve(M.createPrefixUnaryExpression(40,t),n)),Ve(M.createLiteralTypeNode(t),n)}function ft(){return be(),99===ye()}function mt(){d|=1048576;var e=_e(),n=Oe(111);ke(99),ke(20);var t=Ct();ke(21);var r=Oe(24)?kn():void 0,a=On();return Ve(M.createImportTypeNode(t,r,a,n),e)}function _t(){return be(),8===ye()||9===ye()}function gt(){switch(ye()){case 128:case 151:case 146:case 143:case 154:case 147:case 131:case 149:case 140:case 144:return Ie(dt)||Pn();case 65:s.reScanAsteriskEqualsToken();case 41:return t=_e(),be(),Ve(M.createJSDocAllType(),t);case 60:s.reScanQuestionToken();case 57:return function(){var e=_e();return be(),27===ye()||19===ye()||21===ye()||31===ye()||62===ye()||51===ye()?Ve(M.createJSDocUnknownType(),e):Ve(M.createJSDocNullableType(Ct()),e)}();case 97:return function(){var e=_e(),n=ge();if(Ce(Ta)){be();var t=qn(36),r=Hn(58,!1);return j(Ve(M.createJSDocFunctionType(t,r),e),n)}return Ve(M.createTypeReferenceNode(ze(),void 0),e)}();case 53:return function(){var e=_e();return be(),Ve(M.createJSDocNonNullableType(gt()),e)}();case 14:case 10:case 8:case 9:case 109:case 94:case 103:return pt();case 40:return Ce(_t)?pt(!0):Pn();case 113:return Fe();case 107:var e=Mn();return 136!==ye()||s.hasPrecedingLineBreak()?e:(n=e,be(),Ve(M.createTypePredicateNode(void 0,n,Ct()),n.pos));case 111:return Ce(ft)?mt():function(){var e=_e();return ke(111),Ve(M.createTypeQueryNode(Ln(!0)),e)}();case 18:return Ce(at)?it():function(){var e=_e();return Ve(M.createTypeLiteralNode(rt()),e)}();case 22:return function(){var e=_e();return Ve(M.createTupleTypeNode(Sn(21,lt,22,23)),e)}();case 20:return function(){var e=_e();ke(20);var n=Ct();return ke(21),Ve(M.createParenthesizedType(n),e)}();case 99:return mt();case 127:return Ce(Ir)?function(){var e=_e(),n=we(127),t=107===ye()?Mn():qe(),r=Oe(136)?Ct():void 0;return Ve(M.createTypePredicateNode(n,t,r),e)}():Pn();default:return Pn()}var n,t}function yt(e){switch(ye()){case 128:case 151:case 146:case 143:case 154:case 131:case 141:case 147:case 150:case 113:case 149:case 103:case 107:case 111:case 140:case 18:case 22:case 29:case 51:case 50:case 102:case 10:case 8:case 9:case 109:case 94:case 144:case 41:case 57:case 53:case 25:case 135:case 99:case 127:return!0;case 97:return!e;case 40:return!e&&Ce(_t);case 20:return!e&&Ce(ht);default:return Re()}}function ht(){return be(),21===ye()||Un(!1)||yt()}function vt(){var e=_e();return ke(135),Ve(M.createInferTypeNode(function(){var e=_e();return Ve(M.createTypeParameterDeclaration(qe(),void 0,void 0),e)}()),e)}function bt(){var e=ye();switch(e){case 137:case 150:case 141:return function(e){var n=_e();return ke(e),Ve(M.createTypeOperatorNode(e,bt()),n)}(e);case 135:return vt()}return function(){for(var e=_e(),n=gt();!s.hasPrecedingLineBreak();)switch(ye()){case 53:be(),n=Ve(M.createJSDocNonNullableType(n),e);break;case 57:if(Ce(fn))return n;be(),n=Ve(M.createJSDocNullableType(n),e);break;case 22:if(ke(22),yt()){var t=Ct();ke(23),n=Ve(M.createIndexedAccessTypeNode(n,t),e)}else ke(23),n=Ve(M.createArrayTypeNode(n),e);break;default:return n}return n}()}function Et(n){if(Lt()){var t=ut();return fe(t,e.isFunctionTypeNode(t)?n?e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n?e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type),t}}function Tt(e,n,t){var r=_e(),a=51===e,i=Oe(e),o=i&&Et(a)||n();if(ye()===e||i){for(var s=[o];Oe(e);)s.push(Et(a)||n());o=Ve(t(Ue(s,r)),r)}return o}function St(){return Tt(50,bt,M.createIntersectionTypeNode)}function Lt(){return 29===ye()||(!(20!==ye()||!Ce(xt))||102===ye())}function xt(){if(be(),21===ye()||25===ye())return!0;if(function(){if(e.isModifierKind(ye())&&la(),Re()||107===ye())return be(),!0;if(22===ye()||18===ye()){var n=T.length;return qr(),n===T.length}return!1}()){if(58===ye()||27===ye()||57===ye()||62===ye())return!0;if(21===ye()&&(be(),38===ye()))return!0}return!1}function At(){var e=_e(),n=Re()&&Ie(Dt),t=Ct();return n?Ve(M.createTypePredicateNode(void 0,n,t),e):t}function Dt(){var e=qe();if(136===ye()&&!s.hasPrecedingLineBreak())return be(),e}function Ct(){return ne(40960,It)}function It(e){if(Lt())return ut();var n=_e(),t=Tt(51,St,M.createUnionTypeNode);if(!e&&!s.hasPrecedingLineBreak()&&Oe(93)){var r=It(!0);ke(57);var a=It();ke(58);var i=It();return Ve(M.createConditionalTypeNode(t,r,a,i),n)}return t}function Nt(){return Oe(58)?Ct():void 0}function Rt(){switch(ye()){case 107:case 105:case 103:case 109:case 94:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 97:case 83:case 102:case 43:case 67:case 78:return!0;case 99:return Ce(tt);default:return Re()}}function kt(){if(Rt())return!0;switch(ye()){case 39:case 40:case 54:case 53:case 88:case 111:case 113:case 45:case 46:case 29:case 130:case 124:case 79:return!0;default:return!!function(){if(se()&&100===ye())return!1;return e.getBinaryOperatorPrecedence(ye())>0}()||Re()}}function Ot(){var e=ce();e&&$(!1);for(var n,t=_e(),r=Mt();n=Pe(27);)r=Wt(r,n,Mt(),t);return e&&$(!0),r}function Pt(){return Oe(62)?Mt():void 0}function Mt(){if(function(){if(124===ye())return!!oe()||Ce(kr);return!1}())return function(){var e=_e();return be(),s.hasPrecedingLineBreak()||41!==ye()&&!kt()?Ve(M.createYieldExpression(void 0,void 0),e):Ve(M.createYieldExpression(Pe(41),Mt()),e)}();var n=function(){var e=function(){if(20===ye()||29===ye()||129===ye())return Ce(Ft);if(38===ye())return 1;return 0}();if(0===e)return;return 1===e?Ut(!0):Ie(Gt)}()||function(){if(129===ye()&&1===Ce(Bt)){var e=_e(),n=ua(),t=jt(0);return wt(e,t,n)}return}();if(n)return n;var t=_e(),r=jt(0);return 78===r.kind&&38===ye()?wt(t,r,void 0):e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(Te())?Wt(r,Fe(),Mt(),t):function(n,t){var r,a=Pe(57);if(!a)return n;return Ve(M.createConditionalExpression(n,a,ne(20480,Mt),r=we(58),e.nodeIsPresent(r)?Mt():je(78,!1,e.Diagnostics._0_expected,e.tokenToString(58))),t)}(r,t)}function wt(n,t,r){e.Debug.assert(38===ye(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var a=M.createParameterDeclaration(void 0,void 0,void 0,t,void 0,void 0,void 0);Ve(a,t.pos);var i=Ue([a],a.pos,a.end),o=we(38),s=Vt(!!r);return z(Ve(M.createArrowFunction(r,void 0,i,void 0,o,s),n))}function Ft(){if(129===ye()){if(be(),s.hasPrecedingLineBreak())return 0;if(20!==ye()&&29!==ye())return 0}var n=ye(),t=be();if(20===n){if(21===t)switch(be()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(e.isModifierKind(t)&&129!==t&&Ce(cn))return 1;if(!Re()&&107!==t)return 0;switch(be()){case 58:return 1;case 57:return be(),58===ye()||27===ye()||62===ye()||21===ye()?1:0;case 27:case 62:case 21:return 2}return 0}return e.Debug.assert(29===n),Re()?1===E?Ce((function(){var e=be();if(93===e)switch(be()){case 62:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0}function Gt(){var n=s.getTokenPos();if(!(null==k?void 0:k.has(n))){var t=Ut(!1);return t||(k||(k=new e.Set)).add(n),t}}function Bt(){if(129===ye()){if(be(),s.hasPrecedingLineBreak()||38===ye())return 0;var e=jt(0);if(!s.hasPrecedingLineBreak()&&78===e.kind&&38===ye())return 1}return 0}function Ut(n){var t,r=_e(),a=ge(),i=ua(),o=e.some(i,e.isAsyncModifier)?2:0,s=Bn();if(ke(20)){if(t=Wn(o),!ke(21)&&!n)return}else{if(!n)return;t=Tn()}var c=Hn(58,!1);if(!c||n||!function n(t){switch(t.kind){case 172:return e.nodeIsMissing(t.typeName);case 173:case 174:var r=t,a=r.parameters,i=r.type;return!!a.isMissingList||n(i);case 185:return n(t.type);default:return!1}}(c)){var l=c&&e.isJSDocFunctionType(c);if(n||38===ye()||!l&&18===ye()){var u=ye(),d=we(38),p=38===u||18===u?Vt(e.some(i,e.isAsyncModifier)):qe();return j(Ve(M.createArrowFunction(i,s,t,c,d,p),r),a)}}}function Vt(e){if(18===ye())return Sr(e?2:0);if(26!==ye()&&97!==ye()&&83!==ye()&&Mr()&&(18===ye()||97===ye()||83===ye()||59===ye()||!kt()))return Sr(16|(e?2:0));var n=w;w=!1;var t=e?ae(Mt):ne(32768,Mt);return w=n,t}function jt(e){var n=_e();return Ht(e,zt(),n)}function Kt(e){return 100===e||155===e}function Ht(n,t,r){for(;;){Te();var a=e.getBinaryOperatorPrecedence(ye());if(!(42===ye()?a>=n:a>n))break;if(100===ye()&&se())break;if(126===ye()){if(s.hasPrecedingLineBreak())break;be(),i=t,o=Ct(),t=Ve(M.createAsExpression(i,o),i.pos)}else t=Wt(t,Fe(),jt(a),r)}var i,o;return t}function Wt(e,n,t,r){return Ve(M.createBinaryExpression(e,n,t),r)}function qt(){var e=_e();return Ve(M.createPrefixUnaryExpression(ye(),ve(Jt)),e)}function zt(){if(function(){switch(ye()){case 39:case 40:case 54:case 53:case 88:case 111:case 113:case 130:return!1;case 29:if(1!==E)return!1;default:return!0}}()){var n=_e(),t=Xt();return 42===ye()?Ht(e.getBinaryOperatorPrecedence(ye()),t,n):t}var r=ye(),a=Jt();if(42===ye()){n=e.skipTrivia(h,a.pos);var i=a.end;203===a.kind?pe(n,i,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):pe(n,i,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(r))}return a}function Jt(){switch(ye()){case 39:case 40:case 54:case 53:return qt();case 88:return e=_e(),Ve(M.createDeleteExpression(ve(Jt)),e);case 111:return function(){var e=_e();return Ve(M.createTypeOfExpression(ve(Jt)),e)}();case 113:return function(){var e=_e();return Ve(M.createVoidExpression(ve(Jt)),e)}();case 29:return function(){var e=_e();ke(29);var n=Ct();ke(31);var t=Jt();return Ve(M.createTypeAssertion(n,t),e)}();case 130:if(130===ye()&&(le()||Ce(kr)))return function(){var e=_e();return Ve(M.createAwaitExpression(ve(Jt)),e)}();default:return Xt()}var e}function Xt(){if(45===ye()||46===ye()){var n=_e();return Ve(M.createPrefixUnaryExpression(ye(),ve(Yt)),n)}if(1===E&&29===ye()&&Ce(un))return Zt(!0);var t=Yt();if(e.Debug.assert(e.isLeftHandSideExpression(t)),(45===ye()||46===ye())&&!s.hasPrecedingLineBreak()){var r=ye();return be(),Ve(M.createPostfixUnaryExpression(t,r),t.pos)}return t}function Yt(){var n,t=_e();return 99===ye()?Ce(et)?(d|=1048576,n=Fe()):Ce(nt)?(be(),be(),n=Ve(M.createMetaProperty(99,ze()),t),d|=2097152):n=Qt():n=105===ye()?function(){var n=_e(),t=Fe();if(29===ye()){var r=_e();void 0!==Ie(fr)&&pe(r,_e(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===ye()||24===ye()||22===ye())return t;return we(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),Ve(M.createPropertyAccessExpression(t,An(!0,!0)),n)}():Qt(),dr(t,n)}function Qt(){return cr(_e(),mr(),!0)}function Zt(n,t){var r,a=_e(),i=function(e){var n=_e();if(ke(29),31===ye())return Ae(),Ve(M.createJsxOpeningFragment(),n);var t,r=nr(),a=ya(),i=function(){var e=_e();return Ve(M.createJsxAttributes(_n(13,rr)),e)}();31===ye()?(Ae(),t=M.createJsxOpeningElement(r,a,i)):(ke(43),e?ke(31):(ke(31,void 0,!1),Ae()),t=M.createJsxSelfClosingElement(r,a,i));return Ve(t,n)}(n);if(272===i.kind){var o=er(i),s=function(e){var n=_e();ke(30);var t=nr();e?ke(31):(ke(31,void 0,!1),Ae());return Ve(M.createJsxClosingElement(t),n)}(n);L(i.tagName,s.tagName)||fe(s,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(h,i.tagName)),r=Ve(M.createJsxElement(i,o,s),a)}else 275===i.kind?r=Ve(M.createJsxFragment(i,er(i),function(n){var t=_e();ke(30),e.tokenIsIdentifierOrKeyword(ye())&&fe(nr(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);n?ke(31):(ke(31,void 0,!1),Ae());return Ve(M.createJsxJsxClosingFragment(),t)}(n)),a):(e.Debug.assert(271===i.kind),r=i);if(n&&29===ye()){var c=void 0===t?r.pos:t,l=Ie((function(){return Zt(!0,c)}));if(l){var u=je(27,!1);return e.setTextRangePosWidth(u,l.pos,0),pe(e.skipTrivia(h,c),l.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),Ve(M.createBinaryExpression(r,u,l),a)}}return r}function $t(n,t){switch(t){case 1:if(e.isJsxOpeningFragment(n))fe(n,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var r=n.tagName;pe(e.skipTrivia(h,r.pos),r.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(h,n.tagName))}return;case 30:case 7:return;case 11:case 12:return a=_e(),i=M.createJsxText(s.getTokenValue(),12===A),A=s.scanJsxToken(),Ve(i,a);case 18:return tr(!1);case 29:return Zt(!1);default:return e.Debug.assertNever(t)}var a,i}function er(e){var n=[],t=_e(),r=R;for(R|=16384;;){var a=$t(e,A=s.reScanJsxToken());if(!a)break;n.push(a)}return R=r,Ue(n,t)}function nr(){var e=_e();xe();for(var n=107===ye()?Fe():ze();Oe(24);)n=Ve(M.createPropertyAccessExpression(n,An(!0,!1)),e);return n}function tr(e){var n,t,r=_e();if(ke(18))return 19!==ye()&&(n=Pe(25),t=Ot()),e?ke(19):ke(19,void 0,!1)&&Ae(),Ve(M.createJsxExpression(n,t),r)}function rr(){if(18===ye())return function(){var e=_e();ke(18),ke(25);var n=Ot();return ke(19),Ve(M.createJsxSpreadAttribute(n),e)}();xe();var e=_e();return Ve(M.createJsxAttribute(ze(),62!==ye()?void 0:10===(A=s.scanJsxAttributeValue())?Nn():tr(!0)),e)}function ar(){return be(),e.tokenIsIdentifierOrKeyword(ye())||22===ye()||lr()}function ir(n){if(32&n.flags)return!0;if(e.isNonNullExpression(n)){for(var t=n.expression;e.isNonNullExpression(t)&&!(32&t.flags);)t=t.expression;if(32&t.flags){for(;e.isNonNullExpression(n);)n.flags|=32,n=n.expression;return!0}}return!1}function or(n,t,r){var a=An(!0,!0),i=r||ir(t),o=i?M.createPropertyAccessChain(t,r,a):M.createPropertyAccessExpression(t,a);return i&&e.isPrivateIdentifier(o.name)&&fe(o.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),Ve(o,n)}function sr(n,t,r){var a;if(23===ye())a=je(78,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var i=re(Ot);e.isStringOrNumericLiteralLike(i)&&(i.text=Ke(i.text)),a=i}return ke(23),Ve(r||ir(t)?M.createElementAccessChain(t,r,a):M.createElementAccessExpression(t,a),n)}function cr(n,t,r){for(;;){var a=void 0,i=!1;if(r&&28===ye()&&Ce(ar)?(a=we(28),i=e.tokenIsIdentifierOrKeyword(ye())):i=Oe(24),i)t=or(n,t,a);else if(a||53!==ye()||s.hasPrecedingLineBreak())if(!a&&ce()||!Oe(22)){if(!lr())return t;t=ur(n,t,a,void 0)}else t=sr(n,t,a);else be(),t=Ve(M.createNonNullExpression(t),n)}}function lr(){return 14===ye()||15===ye()}function ur(e,n,t,r){var a=M.createTaggedTemplateExpression(n,r,14===ye()?(Se(),Nn()):Dn(!0));return(t||32&n.flags)&&(a.flags|=32),a.questionDotToken=t,Ve(a,e)}function dr(n,t){for(;;){t=cr(n,t,!0);var r=Pe(28);if(29===ye()||47===ye()){var a=Ie(fr);if(a){if(lr()){t=ur(n,t,r,a);continue}var i=pr();t=Ve(r||ir(t)?M.createCallChain(t,r,a,i):M.createCallExpression(t,a,i),n);continue}}else if(20===ye()){i=pr();t=Ve(r||ir(t)?M.createCallChain(t,r,void 0,i):M.createCallExpression(t,void 0,i),n);continue}if(r){var o=je(78,!1,e.Diagnostics.Identifier_expected);t=Ve(M.createPropertyAccessChain(t,r,o),n)}break}return t}function pr(){ke(20);var e=bn(11,gr);return ke(21),e}function fr(){if(29===Le()){be();var e=bn(20,Ct);if(ke(31))return e&&function(){switch(ye()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}()?e:void 0}}function mr(){switch(ye()){case 8:case 9:case 10:case 14:return Nn();case 107:case 105:case 103:case 109:case 94:return Fe();case 20:return function(){var e=_e(),n=ge();ke(20);var t=re(Ot);return ke(21),j(Ve(M.createParenthesizedExpression(t),e),n)}();case 22:return yr();case 18:return vr();case 129:if(!Ce(Rr))break;return br();case 83:return fa(_e(),ge(),void 0,void 0,218);case 97:return br();case 102:return function(){var n=_e();if(ke(102),Oe(24)){var t=ze();return Ve(M.createMetaProperty(102,t),n)}var r,a,i=_e(),o=mr();for(;;){o=cr(i,o,!1),r=Ie(fr),lr()&&(e.Debug.assert(!!r,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),o=ur(i,o,void 0,r),r=void 0);break}20===ye()?a=pr():r&&pe(n,s.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list);return Ve(M.createNewExpression(o,r,a),n)}();case 43:case 67:if(13===(A=s.reScanSlashToken()))return Nn();break;case 15:return Dn(!1)}return qe(e.Diagnostics.Expression_expected)}function _r(){return 25===ye()?function(){var e=_e();ke(25);var n=Mt();return Ve(M.createSpreadElement(n),e)}():27===ye()?Ve(M.createOmittedExpression(),_e()):Mt()}function gr(){return ne(20480,_r)}function yr(){var e=_e();ke(22);var n=s.hasPrecedingLineBreak(),t=bn(15,_r);return ke(23),Ve(M.createArrayLiteralExpression(t,n),e)}function hr(){var e=_e(),n=ge();if(Pe(25)){var t=Mt();return j(Ve(M.createSpreadAssignment(t),e),n)}var r=sa(),a=la();if(Ze(134))return ra(e,n,r,a,166);if(Ze(145))return ra(e,n,r,a,167);var i,o=Pe(41),s=Re(),c=Ye(),l=Pe(57),u=Pe(53);if(o||20===ye()||29===ye())return ea(e,n,r,a,o,c,l,u);if(s&&58!==ye()){var d=Pe(62),p=d?re(Mt):void 0;(i=M.createShorthandPropertyAssignment(c,p)).equalsToken=d}else{ke(58);var f=re(Mt);i=M.createPropertyAssignment(c,f)}return i.decorators=r,i.modifiers=a,i.questionToken=l,i.exclamationToken=u,j(Ve(i,e),n)}function vr(){var n=_e(),t=s.getTokenPos();ke(18);var r=s.hasPrecedingLineBreak(),a=bn(12,hr,!0);if(!ke(19)){var i=e.lastOrUndefined(T);i&&i.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(i,e.createDetachedDiagnostic(u,t,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return Ve(M.createObjectLiteralExpression(a,r),n)}function br(){var n=ce();n&&$(!1);var t=_e(),r=ge(),a=la();ke(97);var i=Pe(41),o=i?1:0,s=e.some(a,e.isAsyncModifier)?2:0,c=o&&s?te(40960,Er):o?function(e){return te(8192,e)}(Er):s?ae(Er):Er(),l=Bn(),u=qn(o|s),d=Hn(58,!1),p=Sr(o|s);return n&&$(!0),j(Ve(M.createFunctionExpression(a,i,c,l,u,d,p),t),r)}function Er(){return Ne()?We():void 0}function Tr(n,t){var r=_e(),a=s.getTokenPos();if(ke(18,t)||n){var i=s.hasPrecedingLineBreak(),o=_n(1,Fr);if(!ke(19)){var c=e.lastOrUndefined(T);c&&c.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(c,e.createDetachedDiagnostic(u,a,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return Ve(M.createBlock(o,i),r)}o=Tn();return Ve(M.createBlock(o,void 0),r)}function Sr(e,n){var t=oe();Z(!!(1&e));var r=le();ee(!!(2&e));var a=w;w=!1;var i=ce();i&&$(!1);var o=Tr(!!(16&e),n);return i&&$(!0),w=a,Z(t),ee(r),o}function Lr(){var e=_e();ke(96);var n,t,r=Pe(130);if(ke(20),26!==ye()&&(n=112===ye()||118===ye()||84===ye()?Xr(!0):te(4096,Ot)),r?ke(155):Oe(155)){var a=re(Mt);ke(21),t=M.createForOfStatement(r,n,a,Fr())}else if(Oe(100)){a=re(Ot);ke(21),t=M.createForInStatement(n,a,Fr())}else{ke(26);var i=26!==ye()&&21!==ye()?re(Ot):void 0;ke(26);var o=21!==ye()?re(Ot):void 0;ke(21),t=M.createForStatement(n,i,o,Fr())}return Ve(t,e)}function xr(e){var n=_e();ke(238===e?80:85);var t=Ge()?void 0:qe();return Be(),Ve(238===e?M.createBreakStatement(t):M.createContinueStatement(t),n)}function Ar(){return 81===ye()?function(){var e=_e();ke(81);var n=re(Ot);ke(58);var t=_n(3,Fr);return Ve(M.createCaseClause(n,t),e)}():function(){var e=_e();ke(87),ke(58);var n=_n(3,Fr);return Ve(M.createDefaultClause(n),e)}()}function Dr(){var e=_e();ke(106),ke(20);var n=re(Ot);ke(21);var t=function(){var e=_e();ke(18);var n=_n(2,Ar);return ke(19),Ve(M.createCaseBlock(n),e)}();return Ve(M.createSwitchStatement(n,t),e)}function Cr(){var e=_e();ke(110);var n,t=Tr(!1),r=82===ye()?function(){var e,n=_e();ke(82),Oe(20)?(e=Jr(),ke(21)):e=void 0;var t=Tr(!1);return Ve(M.createCatchClause(e,t),n)}():void 0;return r&&95!==ye()||(ke(95),n=Tr(!1)),Ve(M.createTryStatement(t,r,n),e)}function Ir(){return be(),e.tokenIsIdentifierOrKeyword(ye())&&!s.hasPrecedingLineBreak()}function Nr(){return be(),83===ye()&&!s.hasPrecedingLineBreak()}function Rr(){return be(),97===ye()&&!s.hasPrecedingLineBreak()}function kr(){return be(),(e.tokenIsIdentifierOrKeyword(ye())||8===ye()||9===ye()||10===ye())&&!s.hasPrecedingLineBreak()}function Or(){for(;;)switch(ye()){case 112:case 118:case 84:case 97:case 83:case 91:return!0;case 117:case 148:return be(),!s.hasPrecedingLineBreak()&&Re();case 138:case 139:return Vr();case 125:case 129:case 133:case 120:case 121:case 122:case 141:if(be(),s.hasPrecedingLineBreak())return!1;continue;case 153:return be(),18===ye()||78===ye()||92===ye();case 99:return be(),10===ye()||41===ye()||18===ye()||e.tokenIsIdentifierOrKeyword(ye());case 92:var n=be();if(148===n&&(n=Ce(be)),62===n||41===n||18===n||87===n||126===n)return!0;continue;case 123:be();continue;default:return!1}}function Pr(){return Ce(Or)}function Mr(){switch(ye()){case 59:case 26:case 18:case 112:case 118:case 97:case 83:case 91:case 98:case 89:case 114:case 96:case 85:case 80:case 104:case 115:case 106:case 108:case 110:case 86:case 82:case 95:return!0;case 99:return Pr()||Ce(tt);case 84:case 92:return Pr();case 129:case 133:case 117:case 138:case 139:case 148:case 153:return!0;case 122:case 120:case 121:case 123:case 141:return Pr()||!Ce(Ir);default:return kt()}}function wr(){return be(),Re()||18===ye()||22===ye()}function Fr(){switch(ye()){case 26:return n=_e(),ke(26),Ve(M.createEmptyStatement(),n);case 18:return Tr(!1);case 112:return Qr(_e(),ge(),void 0,void 0);case 118:if(Ce(wr))return Qr(_e(),ge(),void 0,void 0);break;case 97:return Zr(_e(),ge(),void 0,void 0);case 83:return pa(_e(),ge(),void 0,void 0);case 98:return function(){var e=_e();ke(98),ke(20);var n=re(Ot);ke(21);var t=Fr(),r=Oe(90)?Fr():void 0;return Ve(M.createIfStatement(n,t,r),e)}();case 89:return function(){var e=_e();ke(89);var n=Fr();ke(114),ke(20);var t=re(Ot);return ke(21),Oe(26),Ve(M.createDoStatement(n,t),e)}();case 114:return function(){var e=_e();ke(114),ke(20);var n=re(Ot);ke(21);var t=Fr();return Ve(M.createWhileStatement(n,t),e)}();case 96:return Lr();case 85:return xr(237);case 80:return xr(238);case 104:return function(){var e=_e();ke(104);var n=Ge()?void 0:re(Ot);return Be(),Ve(M.createReturnStatement(n),e)}();case 115:return function(){var e=_e();ke(115),ke(20);var n=re(Ot);ke(21);var t=te(16777216,Fr);return Ve(M.createWithStatement(n,t),e)}();case 106:return Dr();case 108:return function(){var e=_e();ke(108);var n=s.hasPrecedingLineBreak()?void 0:re(Ot);return void 0===n&&(N++,n=Ve(M.createIdentifier(""),_e())),Be(),Ve(M.createThrowStatement(n),e)}();case 110:case 82:case 95:return Cr();case 86:return function(){var e=_e();return ke(86),Be(),Ve(M.createDebuggerStatement(),e)}();case 59:return Br();case 129:case 117:case 148:case 138:case 139:case 133:case 84:case 91:case 92:case 99:case 120:case 121:case 122:case 125:case 123:case 141:case 153:if(Pr())return Br()}var n;return function(){var n,t=_e(),r=ge(),a=20===ye(),i=re(Ot);return e.isIdentifier(i)&&Oe(58)?n=M.createLabeledStatement(i,Fr()):(Be(),n=M.createExpressionStatement(i),a&&(r=!1)),j(Ve(n,t),r)}()}function Gr(e){return 133===e.kind}function Br(){var n=e.some(Ce((function(){return sa(),la()})),Gr);if(n){var t=te(8388608,(function(){var e=yn(R);if(e)return hn(e)}));if(t)return t}var r=_e(),a=ge(),i=sa(),o=la();if(n){for(var s=0,c=o;s<c.length;s++){c[s].flags|=8388608}return te(8388608,(function(){return Ur(r,a,i,o)}))}return Ur(r,a,i,o)}function Ur(n,t,r,a){switch(ye()){case 112:case 118:case 84:return Qr(n,t,r,a);case 97:return Zr(n,t,r,a);case 83:return pa(n,t,r,a);case 117:return function(e,n,t,r){ke(117);var a=qe(),i=Bn(),o=ma(),s=rt();return j(Ve(M.createInterfaceDeclaration(t,r,a,i,o,s),e),n)}(n,t,r,a);case 148:return function(e,n,t,r){ke(148);var a=qe(),i=Bn();ke(62);var o=Ct();return Be(),j(Ve(M.createTypeAliasDeclaration(t,r,a,i,o),e),n)}(n,t,r,a);case 91:return function(e,n,t,r){ke(91);var a,i=qe();ke(18)?(a=ne(40960,(function(){return bn(6,va)})),ke(19)):a=Tn();return j(Ve(M.createEnumDeclaration(t,r,i,a),e),n)}(n,t,r,a);case 153:case 138:case 139:return function(e,n,t,r){var a=0;if(153===ye())return Ea(e,n,t,r);if(Oe(139))a|=16;else if(ke(138),10===ye())return Ea(e,n,t,r);return function e(n,t,r,a,i){var o=16&i,s=qe(),c=Oe(24)?e(_e(),!1,void 0,void 0,4|o):ba();return j(Ve(M.createModuleDeclaration(r,a,s,c,i),n),t)}(e,n,t,r,a)}(n,t,r,a);case 99:return function(n,t,r,a){ke(99);var i,o=s.getStartPos();Re()&&(i=qe());var c,l=!1;152===ye()||"type"!==(null==i?void 0:i.escapedText)||!Re()&&41!==ye()&&18!==ye()||(l=!0,i=Re()?qe():void 0);if(i&&27!==ye()&&152!==ye())return function(n,t,r,a,i,o){ke(62);var s=142===ye()&&Ce(Ta)?function(){var e=_e();ke(142),ke(20);var n=La();return ke(21),Ve(M.createExternalModuleReference(n),e)}():Ln(!1);Be();var c=j(Ve(M.createImportEqualsDeclaration(r,a,i,s),n),t);o&&fe(c,e.Diagnostics.Only_ECMAScript_imports_may_use_import_type);return c}(n,t,r,a,i,l);(i||41===ye()||18===ye())&&(c=function(e,n,t){var r;e&&!Oe(27)||(r=41===ye()?function(){var e=_e();ke(41),ke(126);var n=qe();return Ve(M.createNamespaceImport(n),e)}():xa(261));return Ve(M.createImportClause(t,e,r),n)}(i,o,l),ke(152));var u=La();return Be(),j(Ve(M.createImportDeclaration(r,a,c,u),n),t)}(n,t,r,a);case 92:switch(be(),ye()){case 87:case 62:return function(e,n,t,r){var a,i=le();ee(!0),Oe(62)?a=!0:ke(87);var o=Mt();return Be(),ee(i),j(Ve(M.createExportAssignment(t,r,a,o),e),n)}(n,t,r,a);case 126:return function(e,n,t,r){ke(126),ke(139);var a=qe();Be();var i=M.createNamespaceExportDeclaration(a);return i.decorators=t,i.modifiers=r,j(Ve(i,e),n)}(n,t,r,a);default:return function(e,n,t,r){var a,i,o=le();ee(!0);var c=Oe(148),l=_e();Oe(41)?(Oe(126)&&(a=function(e){return Ve(M.createNamespaceExport(qe()),e)}(l)),ke(152),i=La()):(a=xa(265),(152===ye()||10===ye()&&!s.hasPrecedingLineBreak())&&(ke(152),i=La()));return Be(),ee(o),j(Ve(M.createExportDeclaration(t,r,c,a,i),e),n)}(n,t,r,a)}default:if(r||a){var i=je(268,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(i,n),i.decorators=r,i.modifiers=a,i}return}}function Vr(){return be(),!s.hasPrecedingLineBreak()&&(Re()||10===ye())}function jr(e,n){if(18===ye()||!Ge())return Sr(e,n);Be()}function Kr(){var e=_e();if(27===ye())return Ve(M.createOmittedExpression(),e);var n=Pe(25),t=qr(),r=Pt();return Ve(M.createBindingElement(n,void 0,t,r),e)}function Hr(){var e,n=_e(),t=Pe(25),r=Ne(),a=Ye();r&&58!==ye()?(e=a,a=void 0):(ke(58),e=qr());var i=Pt();return Ve(M.createBindingElement(t,a,e,i),n)}function Wr(){return 18===ye()||22===ye()||79===ye()||Ne()}function qr(e){return 22===ye()?function(){var e=_e();ke(22);var n=bn(10,Kr);return ke(23),Ve(M.createArrayBindingPattern(n),e)}():18===ye()?function(){var e=_e();ke(18);var n=bn(9,Hr);return ke(19),Ve(M.createObjectBindingPattern(n),e)}():We(e)}function zr(){return Jr(!0)}function Jr(n){var t,r=_e(),a=qr(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);n&&78===a.kind&&53===ye()&&!s.hasPrecedingLineBreak()&&(t=Fe());var i=Nt(),o=Kt(ye())?void 0:Pt();return Ve(M.createVariableDeclaration(a,t,i,o),r)}function Xr(n){var t,r=_e(),a=0;switch(ye()){case 112:break;case 118:a|=1;break;case 84:a|=2;break;default:e.Debug.fail()}if(be(),155===ye()&&Ce(Yr))t=Tn();else{var i=se();Q(n),t=bn(8,n?Jr:zr),Q(i)}return Ve(M.createVariableDeclarationList(t,a),r)}function Yr(){return cn()&&21===be()}function Qr(e,n,t,r){var a=Xr(!1);Be();var i=M.createVariableStatement(r,a);return i.decorators=t,j(Ve(i,e),n)}function Zr(n,t,r,a){var i=le(),o=e.modifiersToFlags(a);ke(97);var s=Pe(41),c=512&o?Er():We(),l=s?1:0,u=256&o?2:0,d=Bn();1&o&&ee(!0);var p=qn(l|u),f=Hn(58,!1),m=jr(l|u,e.Diagnostics.or_expected);return ee(i),j(Ve(M.createFunctionDeclaration(r,a,s,c,d,p,f,m),n),t)}function $r(n,t,r,a){return Ie((function(){if(132===ye()?ke(132):10===ye()&&20===Ce(be)?Ie((function(){var e=Nn();return"constructor"===e.text?e:void 0})):void 0){var i=Bn(),o=qn(0),s=Hn(58,!1),c=jr(0,e.Diagnostics.or_expected),l=M.createConstructorDeclaration(r,a,o,c);return l.typeParameters=i,l.type=s,j(Ve(l,n),t)}}))}function ea(n,t,r,a,i,o,s,c,l){var u=i?1:0,d=e.some(a,e.isAsyncModifier)?2:0,p=Bn(),f=qn(u|d),m=Hn(58,!1),_=jr(u|d,l),g=M.createMethodDeclaration(r,a,i,o,s,p,f,m,_);return g.exclamationToken=c,j(Ve(g,n),t)}function na(e,n,t,r,a,i){var o=i||s.hasPrecedingLineBreak()?void 0:Pe(53),c=Nt(),l=ne(45056,Pt);return Be(),j(Ve(M.createPropertyDeclaration(t,r,a,i||o,c,l),e),n)}function ta(n,t,r,a){var i=Pe(41),o=Ye(),s=Pe(57);return i||20===ye()||29===ye()?ea(n,t,r,a,i,o,s,void 0,e.Diagnostics.or_expected):na(n,t,r,a,o,s)}function ra(e,n,t,r,a){var i=Ye(),o=Bn(),s=qn(0),c=Hn(58,!1),l=jr(0),u=166===a?M.createGetAccessorDeclaration(t,r,i,s,c,l):M.createSetAccessorDeclaration(t,r,i,s,l);return u.typeParameters=o,c&&167===u.kind&&(u.type=c),j(Ve(u,e),n)}function aa(){var n;if(59===ye())return!0;for(;e.isModifierKind(ye());){if(n=ye(),e.isClassMemberModifier(n))return!0;be()}if(41===ye())return!0;if(Je()&&(n=ye(),be()),22===ye())return!0;if(void 0!==n){if(!e.isKeyword(n)||145===n||134===n)return!0;switch(ye()){case 20:case 29:case 53:case 58:case 62:case 57:return!0;default:return Ge()}}return!1}function ia(){if(le()&&130===ye()){var n=_e(),t=qe(e.Diagnostics.Expression_expected);return be(),dr(n,cr(n,t,!0))}return Yt()}function oa(){var e=_e();if(Oe(59)){var n=te(16384,ia);return Ve(M.createDecorator(n),e)}}function sa(){for(var n,t,r=_e();t=oa();)n=e.append(n,t);return n&&Ue(n,r)}function ca(n){var t=_e(),r=ye();if(84===ye()&&n){if(!Ie($e))return}else if(!e.isModifierKind(ye())||!Ie(en))return;return Ve(M.createToken(r),t)}function la(n){for(var t,r,a=_e();r=ca(n);)t=e.append(t,r);return t&&Ue(t,a)}function ua(){var e;if(129===ye()){var n=_e();be(),e=Ue([Ve(M.createToken(129),n)],n)}return e}function da(){var n=_e();if(26===ye())return be(),Ve(M.createSemicolonClassElement(),n);var t=ge(),r=sa(),a=la(!0);if(Ze(134))return ra(n,t,r,a,166);if(Ze(145))return ra(n,t,r,a,167);if(132===ye()||10===ye()){var i=$r(n,t,r,a);if(i)return i}if(Xn())return Qn(n,t,r,a);if(e.tokenIsIdentifierOrKeyword(ye())||10===ye()||8===ye()||41===ye()||22===ye()){if(e.some(a,Gr)){for(var o=0,s=a;o<s.length;o++){s[o].flags|=8388608}return te(8388608,(function(){return ta(n,t,r,a)}))}return ta(n,t,r,a)}if(r||a){var c=je(78,!0,e.Diagnostics.Declaration_expected);return na(n,t,r,a,c,void 0)}return e.Debug.fail("Should not have attempted to parse class member declaration.")}function pa(e,n,t,r){return fa(e,n,t,r,249)}function fa(n,t,r,a,i){var o=le();ke(83);var s=!Ne()||116===ye()&&Ce(ln)?void 0:He(Ne()),c=Bn();e.some(a,e.isExportModifier)&&ee(!0);var l,u=ma();return ke(18)?(l=_n(5,da),ke(19)):l=Tn(),ee(o),j(Ve(249===i?M.createClassDeclaration(r,a,s,c,u,l):M.createClassExpression(r,a,s,c,u,l),n),t)}function ma(){if(ha())return _n(22,_a)}function _a(){var n=_e(),t=ye();e.Debug.assert(93===t||116===t),be();var r=bn(7,ga);return Ve(M.createHeritageClause(t,r),n)}function ga(){var e=_e(),n=Yt(),t=ya();return Ve(M.createExpressionWithTypeArguments(n,t),e)}function ya(){return 29===ye()?Sn(20,Ct,29,31):void 0}function ha(){return 93===ye()||116===ye()}function va(){var e=_e(),n=ge(),t=Ye(),r=re(Pt);return j(Ve(M.createEnumMember(t,r),e),n)}function ba(){var e,n=_e();return ke(18)?(e=_n(1,Fr),ke(19)):e=Tn(),Ve(M.createModuleBlock(e),n)}function Ea(e,n,t,r){var a,i,o=0;return 153===ye()?(a=qe(),o|=1024):(a=Nn()).text=Ke(a.text),18===ye()?i=ba():Be(),j(Ve(M.createModuleDeclaration(t,r,a,i,o),e),n)}function Ta(){return 20===be()}function Sa(){return 43===be()}function La(){if(10===ye()){var e=Nn();return e.text=Ke(e.text),e}return Ot()}function xa(e){var n=_e();return Ve(261===e?M.createNamedImports(Sn(23,Da,18,19)):M.createNamedExports(Sn(23,Aa,18,19)),n)}function Aa(){return Ca(267)}function Da(){return Ca(262)}function Ca(n){var t,r,a=_e(),i=e.isKeyword(ye())&&!Re(),o=s.getTokenPos(),c=s.getTextPos(),l=ze();return 126===ye()?(t=l,ke(126),i=e.isKeyword(ye())&&!Re(),o=s.getTokenPos(),c=s.getTextPos(),r=ze()):r=l,262===n&&i&&pe(o,c,e.Diagnostics.Identifier_expected),Ve(262===n?M.createImportSpecifier(t,r):M.createExportSpecifier(t,r),a)}function Ia(n){return function(n,t){return e.some(n.modifiers,(function(e){return e.kind===t}))}(n,92)||e.isImportEqualsDeclaration(n)&&e.isExternalModuleReference(n.moduleReference)||e.isImportDeclaration(n)||e.isExportAssignment(n)||e.isExportDeclaration(n)?n:void 0}function Na(n){return function(n){return e.isMetaProperty(n)&&99===n.keywordToken&&"meta"===n.name.escapedText}(n)?n:f(n,Na)}n.fixupParentReferences=J,function(e){e[e.SourceElements=0]="SourceElements",e[e.BlockStatements=1]="BlockStatements",e[e.SwitchClauses=2]="SwitchClauses",e[e.SwitchClauseStatements=3]="SwitchClauseStatements",e[e.TypeMembers=4]="TypeMembers",e[e.ClassMembers=5]="ClassMembers",e[e.EnumMembers=6]="EnumMembers",e[e.HeritageClauseElement=7]="HeritageClauseElement",e[e.VariableDeclarations=8]="VariableDeclarations",e[e.ObjectBindingElements=9]="ObjectBindingElements",e[e.ArrayBindingElements=10]="ArrayBindingElements",e[e.ArgumentExpressions=11]="ArgumentExpressions",e[e.ObjectLiteralMembers=12]="ObjectLiteralMembers",e[e.JsxAttributes=13]="JsxAttributes",e[e.JsxChildren=14]="JsxChildren",e[e.ArrayLiteralMembers=15]="ArrayLiteralMembers",e[e.Parameters=16]="Parameters",e[e.JSDocParameters=17]="JSDocParameters",e[e.RestProperties=18]="RestProperties",e[e.TypeParameters=19]="TypeParameters",e[e.TypeArguments=20]="TypeArguments",e[e.TupleElementTypes=21]="TupleElementTypes",e[e.HeritageClauses=22]="HeritageClauses",e[e.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",e[e.Count=24]="Count"}(K||(K={})),function(e){e[e.False=0]="False",e[e.True=1]="True",e[e.Unknown=2]="Unknown"}(H||(H={})),function(n){function t(n){var t,r=_e(),a=(n?Oe:ke)(18),i=te(4194304,Fn);n&&!a||(t=19,ye()===t?Ee():ue(e.Diagnostics._0_expected,e.tokenToString(t)));var o=M.createJSDocTypeExpression(i);return J(o),Ve(o,r)}var r,a;function i(n,r){void 0===n&&(n=0);var a=h,i=void 0===r?a.length:n+r;if(r=i-n,e.Debug.assert(n>=0),e.Debug.assert(n<=i),e.Debug.assert(i<=a.length),p(a,n)){var o,c,l,d=[];return s.scanRange(n+3,r-5,(function(){var e,t,r,u=1,p=n-Math.max(a.lastIndexOf("\n",n),0)+4;function _(n){e||(e=p),d.push(n),p+=n.length}for(Ee();G(5););G(4)&&(u=0,p=0);e:for(;;){switch(ye()){case 59:0===u||1===u?(m(d),S(v(p)),u=0,e=void 0):_(s.getTokenText());break;case 4:d.push(s.getTokenText()),u=0,p=0;break;case 41:var g=s.getTokenText();1===u||2===u?(u=2,_(g)):(u=1,p+=g.length);break;case 5:var y=s.getTokenText();2===u?d.push(y):void 0!==e&&p+y.length>e&&d.push(y.slice(e-p-1)),p+=y.length;break;case 1:break e;default:u=2,_(s.getTokenText())}Ee()}return f(d),m(d),t=d.length?d.join(""):void 0,r=o&&Ue(o,c,l),Ve(M.createJSDocComment(t,r),n,i)}))}function f(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function m(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function _(){for(;;){if(Ee(),1===ye())return!0;if(5!==ye()&&4!==ye())return!1}}function g(){if(5!==ye()&&4!==ye()||!Ce(_))for(;5===ye()||4===ye();)Ee()}function y(){if((5===ye()||4===ye())&&Ce(_))return"";for(var e=s.hasPrecedingLineBreak(),n=!1,t="";e&&41===ye()||5===ye()||4===ye();)t+=s.getTokenText(),4===ye()?(e=!0,n=!0,t=""):41===ye()&&(e=!1),Ee();return n?t:""}function v(n){e.Debug.assert(59===ye());var r=s.getTokenPos();Ee();var a,i=B(void 0),c=y();switch(i.escapedText){case"author":a=function(e,n,t,r){var a=Ie((function(){return function(){var e=[],n=!1,t=!1,r=s.getToken();e:for(;;){switch(r){case 78:case 5:case 24:case 59:e.push(s.getTokenText());break;case 29:if(n||t)return;n=!0,e.push(s.getTokenText());break;case 31:if(!n||t)return;t=!0,e.push(s.getTokenText()),s.setTextPos(s.getTokenPos()+1);break e;case 4:case 1:break e}r=Ee()}if(n&&t)return 0===e.length?void 0:e.join("")}()}));if(!a){var i=_e();return Ve(M.createJSDocAuthorTag(n,b(e,i,t,r)),e,i)}var o=a;if(Ce((function(){return 4!==be()}))){var c=E(t);c&&(o+=c)}return Ve(M.createJSDocAuthorTag(n,o),e)}(r,i,n,c);break;case"implements":a=function(e,n,t,r){var a=I(),i=_e();return Ve(M.createJSDocImplementsTag(n,a,b(e,i,t,r)),e,i)}(r,i,n,c);break;case"augments":case"extends":a=function(e,n,t,r){var a=I(),i=_e();return Ve(M.createJSDocAugmentsTag(n,a,b(e,i,t,r)),e,i)}(r,i,n,c);break;case"class":case"constructor":a=R(r,M.createJSDocClassTag,i,n,c);break;case"public":a=R(r,M.createJSDocPublicTag,i,n,c);break;case"private":a=R(r,M.createJSDocPrivateTag,i,n,c);break;case"protected":a=R(r,M.createJSDocProtectedTag,i,n,c);break;case"readonly":a=R(r,M.createJSDocReadonlyTag,i,n,c);break;case"deprecated":q=!0,a=R(r,M.createJSDocDeprecatedTag,i,n,c);break;case"this":a=function(e,n,r,a){var i=t(!0);g();var o=_e();return Ve(M.createJSDocThisTag(n,i,b(e,o,r,a)),e,o)}(r,i,n,c);break;case"enum":a=function(e,n,r,a){var i=t(!0);g();var o=_e();return Ve(M.createJSDocEnumTag(n,i,b(e,o,r,a)),e,o)}(r,i,n,c);break;case"arg":case"argument":case"param":return D(r,i,2,n);case"return":case"returns":a=function(n,t,r,a){e.some(o,e.isJSDocReturnTag)&&pe(t.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var i=L(),c=_e();return Ve(M.createJSDocReturnTag(t,i,b(n,c,r,a)),n,c)}(r,i,n,c);break;case"template":a=function(n,r,a,i){var o=18===ye()?t():void 0,s=function(){var n=_e(),t=[];do{g(),t.push((r=void 0,a=void 0,r=_e(),a=B(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Ve(M.createTypeParameterDeclaration(a,void 0,void 0),r))),y()}while(G(27));var r,a;return Ue(t,n)}(),c=_e();return Ve(M.createJSDocTemplateTag(r,o,s,b(n,c,a,i)),n,c)}(r,i,n,c);break;case"type":a=C(r,i,n,c);break;case"typedef":a=function(n,t,r,a){var i,o=L();y();var s=k();g();var c,l=E(r);if(!o||A(o.type)){for(var d=void 0,p=void 0,f=void 0,m=!1;d=Ie((function(){return P(r)}));)if(m=!0,325===d.kind){if(p){ue(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var _=e.lastOrUndefined(T);_&&e.addRelatedInfo(_,e.createDetachedDiagnostic(u,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}p=d}else f=e.append(f,d);if(m){var h=o&&177===o.type.kind,v=M.createJSDocTypeLiteral(f,h);o=p&&p.typeExpression&&!A(p.typeExpression.type)?p.typeExpression:Ve(v,n),c=o.end}}c=c||void 0!==l?_e():(null!==(i=null!=s?s:o)&&void 0!==i?i:t).end,l||(l=b(n,c,r,a));return Ve(M.createJSDocTypedefTag(t,o,s,l),n,c)}(r,i,n,c);break;case"callback":a=function(n,t,r,a){var i=k();g();var o=E(r),s=function(n){var t,r,a=_e();for(;t=Ie((function(){return w(4,n)}));)r=e.append(r,t);return Ue(r||[],a)}(r),c=Ie((function(){if(G(59)){var e=v(r);if(e&&323===e.kind)return e}})),l=Ve(M.createJSDocSignature(void 0,s,c),n),u=_e();o||(o=b(n,u,r,a));return Ve(M.createJSDocCallbackTag(t,l,i,o),n,u)}(r,i,n,c);break;default:a=function(e,n,t,r){var a=_e();return Ve(M.createJSDocUnknownTag(n,b(e,a,t,r)),e,a)}(r,i,n,c)}return a}function b(e,n,t,r){return r||(t+=n-e),E(t,r.slice(t))}function E(n,t){var r,a=[],i=0;function o(e){r||(r=n),a.push(e),n+=e.length}void 0!==t&&(""!==t&&o(t),i=1);var c=ye();e:for(;;){switch(c){case 4:i=0,a.push(s.getTokenText()),n=0;break;case 59:if(3===i){a.push(s.getTokenText());break}s.setTextPos(s.getTextPos()-1);case 1:break e;case 5:if(2===i||3===i)o(s.getTokenText());else{var l=s.getTokenText();void 0!==r&&n+l.length>r&&a.push(l.slice(r-n)),n+=l.length}break;case 18:i=2,Ce((function(){return 59===Ee()&&e.tokenIsIdentifierOrKeyword(Ee())&&"link"===s.getTokenText()}))&&(o(s.getTokenText()),Ee(),o(s.getTokenText()),Ee()),o(s.getTokenText());break;case 61:i=3===i?2:3,o(s.getTokenText());break;case 41:if(0===i){i=1,n+=1;break}default:3!==i&&(i=2),o(s.getTokenText())}c=Ee()}return f(a),m(a),0===a.length?void 0:a.join("")}function S(e){e&&(o?o.push(e):(o=[e],c=e.pos),l=e.end)}function L(){return y(),18===ye()?t():void 0}function x(){var n=G(22);n&&g();var t,r=G(61),a=function(){var e=B();Oe(22)&&ke(23);for(;Oe(24);){var n=B();Oe(22)&&ke(23),e=xn(e,n)}return e}();return r&&(Me(t=61)||je(t,!1,e.Diagnostics._0_expected,e.tokenToString(t))),n&&(g(),Pe(62)&&Ot(),ke(23)),{name:a,isBracketed:n}}function A(n){switch(n.kind){case 144:return!0;case 177:return A(n.elementType);default:return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText&&!n.typeArguments}}function D(n,t,r,a){var i=L(),o=!i;y();var c=x(),l=c.name,u=c.isBracketed;g(),o&&(i=L());var d=E(a+s.getStartPos()-n),p=4!==r&&function(n,t,r,a){if(n&&A(n.type)){for(var i=_e(),o=void 0,s=void 0;o=Ie((function(){return w(r,a,t)}));)322!==o.kind&&328!==o.kind||(s=e.append(s,o));if(s){var c=Ve(M.createJSDocTypeLiteral(s,177===n.type.kind),i);return Ve(M.createJSDocTypeExpression(c),i)}}}(i,l,r,a);return p&&(i=p,o=!0),Ve(1===r?M.createJSDocPropertyTag(t,l,u,i,o,d):M.createJSDocParameterTag(t,l,u,i,o,d),n)}function C(n,r,a,i){e.some(o,e.isJSDocTypeTag)&&pe(r.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var c=t(!0),l=_e(),u=void 0!==a&&void 0!==i?b(n,l,a,i):void 0;return Ve(M.createJSDocTypeTag(r,c,u),n,l)}function I(){var e=Oe(18),n=_e(),t=function(){var e=_e(),n=B();for(;Oe(24);){var t=B();n=Ve(M.createPropertyAccessExpression(n,t),e)}return n}(),r=ya(),a=Ve(M.createExpressionWithTypeArguments(t,r),n);return e&&ke(19),a}function R(e,n,t,r,a){var i=_e();return Ve(n(t,b(e,i,r,a)),e,i)}function k(n){var t=s.getTokenPos();if(e.tokenIsIdentifierOrKeyword(ye())){var r=B();if(Oe(24)){var a=k(!0);return Ve(M.createModuleDeclaration(void 0,void 0,r,a,n?4:void 0),t)}return n&&(r.isInJSDocNamespace=!0),r}}function O(n,t){for(;!e.isIdentifier(n)||!e.isIdentifier(t);){if(e.isIdentifier(n)||e.isIdentifier(t)||n.right.escapedText!==t.right.escapedText)return!1;n=n.left,t=t.left}return n.escapedText===t.escapedText}function P(e){return w(1,e)}function w(n,t,r){for(var a=!0,i=!1;;)switch(Ee()){case 59:if(a){var o=F(n,t);return!(o&&(322===o.kind||328===o.kind)&&4!==n&&r&&(e.isIdentifier(o.name)||!O(r,o.name.left)))&&o}i=!1;break;case 4:a=!0,i=!1;break;case 41:i&&(a=!1),i=!0;break;case 78:a=!1;break;case 1:return!1}}function F(n,t){e.Debug.assert(59===ye());var r=s.getStartPos();Ee();var a,i=B();switch(g(),i.escapedText){case"type":return 1===n&&C(r,i);case"prop":case"property":a=1;break;case"arg":case"argument":case"param":a=6;break;default:return!1}return!!(n&a)&&D(r,i,n,t)}function G(e){return ye()===e&&(Ee(),!0)}function B(n){if(!e.tokenIsIdentifierOrKeyword(ye()))return je(78,!n,n||e.Diagnostics.Identifier_expected);N++;var t=s.getTokenPos(),r=s.getTextPos(),a=ye(),i=Ke(s.getTokenValue()),o=Ve(M.createIdentifier(i,void 0,a),t,r);return Ee(),o}}n.parseJSDocTypeExpressionForTests=function(n,r,a){B("file.js",n,99,void 0,1),s.setText(n,r,a),A=s.scan();var i=t(),o=X("file.js",99,1,!1,[],M.createToken(1),0),c=e.attachFileToDiagnostics(T,o);return S&&(o.jsDocDiagnostics=e.attachFileToDiagnostics(S,o)),U(),i?{jsDocTypeExpression:i,diagnostics:c}:void 0},n.parseJSDocTypeExpression=t,n.parseIsolatedJSDocComment=function(n,t,r){B("",n,99,void 0,1);var a=te(4194304,(function(){return i(t,r)})),o={languageVariant:0,text:n},s=e.attachFileToDiagnostics(T,o);return U(),a?{jsDoc:a,diagnostics:s}:void 0},n.parseJSDocComment=function(n,t,r){var a=A,o=T.length,s=F,c=te(4194304,(function(){return i(t,r)}));return e.setParent(c,n),131072&O&&(S||(S=[]),S.push.apply(S,T)),A=a,T.length=o,F=s,c},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks"}(r||(r={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(a||(a={}))}(W=n.JSDocParser||(n.JSDocParser={}))}(c||(c={})),function(n){function t(n,t,a,o,s,c){return void(t?u(n):l(n));function l(n){var t="";if(c&&r(n)&&(t=o.substring(n.pos,n.end)),n._children&&(n._children=void 0),e.setTextRangePosEnd(n,n.pos+a,n.end+a),c&&r(n)&&e.Debug.assert(t===s.substring(n.pos,n.end)),f(n,l,u),e.hasJSDocNodes(n))for(var d=0,p=n.jsDoc;d<p.length;d++){l(p[d])}i(n,c)}function u(n){n._children=void 0,e.setTextRangePosEnd(n,n.pos+a,n.end+a);for(var t=0,r=n;t<r.length;t++){l(r[t])}}}function r(e){switch(e.kind){case 10:case 8:case 78:return!0}return!1}function a(n,t,r,a,i){e.Debug.assert(n.end>=t,"Adjusting an element that was entirely before the change range"),e.Debug.assert(n.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(n.pos<=n.end);var o=Math.min(n.pos,a),s=n.end>=r?n.end+i:Math.min(n.end,a);e.Debug.assert(o<=s),n.parent&&(e.Debug.assertGreaterThanOrEqual(o,n.parent.pos),e.Debug.assertLessThanOrEqual(s,n.parent.end)),e.setTextRangePosEnd(n,o,s)}function i(n,t){if(t){var r=n.pos,a=function(n){e.Debug.assert(n.pos>=r),r=n.end};if(e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;i<o.length;i++){a(o[i])}f(n,a),e.Debug.assert(r<=n.end)}}function o(n,t){var r,a=n;if(f(n,(function n(i){if(e.nodeIsMissing(i))return;if(!(i.pos<=t))return e.Debug.assert(i.pos>t),!0;if(i.pos>=a.pos&&(a=i),t<i.end)return f(i,n),!0;e.Debug.assert(i.end<=t),r=i})),r){var i=function(n){for(;;){var t=e.getLastChild(n);if(!t)return n;n=t}}(r);i.pos>a.pos&&(a=i)}return a}function s(n,t,r,a){var i=n.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===t.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=t.substr(0,r.span.start);e.Debug.assert(o===s);var c=i.substring(e.textSpanEnd(r.span),i.length),l=t.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),t.length);e.Debug.assert(c===l)}}function l(n){var t=n.statements,r=0;e.Debug.assert(r<t.length);var a=t[r],i=-1;return{currentNode:function(o){return o!==i&&(a&&a.end===o&&r<t.length-1&&(r++,a=t[r]),a&&a.pos===o||function(e){return t=void 0,r=-1,a=void 0,void f(n,i,o);function i(n){return e>=n.pos&&e<n.end&&(f(n,i,o),!0)}function o(n){if(e>=n.pos&&e<n.end)for(var s=0;s<n.length;s++){var c=n[s];if(c){if(c.pos===e)return t=n,r=s,a=c,!0;if(c.pos<e&&e<c.end)return f(c,i,o),!0}}return!1}}(o)),i=o,e.Debug.assert(!a||a.pos===o),a}}}var u;n.updateSourceFile=function(n,r,u,d){if(s(n,r,u,d=d||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(u))return n;if(0===n.statements.length)return c.parseSourceFile(n.fileName,r,n.languageVersion,void 0,!0,n.scriptKind);var p=n;e.Debug.assert(!p.hasBeenIncrementallyParsed),p.hasBeenIncrementallyParsed=!0,c.fixupParentReferences(p);var m=n.text,_=l(n),g=function(n,t){for(var r=t.span.start,a=0;r>0&&a<=1;a++){var i=o(n,r);e.Debug.assert(i.pos<=r);var s=i.pos;r=Math.max(0,s-1)}var c=e.createTextSpanFromBounds(r,e.textSpanEnd(t.span)),l=t.newLength+(t.span.start-r);return e.createTextChangeRange(c,l)}(n,u);s(n,r,g,d),e.Debug.assert(g.span.start<=u.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(u.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(u)));var y=e.textChangeRangeNewSpan(g).length-g.span.length;!function(n,r,o,s,c,l,u,d){return void p(n);function p(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!1,c,l,u,d);else{var _=n.end;if(_>=r){if(n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,c),f(n,p,m),e.hasJSDocNodes(n))for(var g=0,y=n.jsDoc;g<y.length;g++){p(y[g])}i(n,d)}else e.Debug.assert(_<r)}}function m(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!0,c,l,u,d);else{var i=n.end;if(i>=r){n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,c);for(var f=0,m=n;f<m.length;f++){p(m[f])}}else e.Debug.assert(i<r)}}}(p,g.span.start,e.textSpanEnd(g.span),e.textSpanEnd(e.textChangeRangeNewSpan(g)),y,m,r,d);var h=c.parseSourceFile(n.fileName,r,n.languageVersion,_,!0,n.scriptKind);return h.commentDirectives=function(n,t,r,a,i,o,s,c){if(!n)return t;for(var l,u=!1,d=0,p=n;d<p.length;d++){var f=p[d],m=f.range,_=f.type;if(m.end<r)l=e.append(l,f);else if(m.pos>a){y();var g={range:{pos:m.pos+i,end:m.end+i},type:_};l=e.append(l,g),c&&e.Debug.assert(o.substring(m.pos,m.end)===s.substring(g.range.pos,g.range.end))}}return y(),l;function y(){u||(u=!0,l?t&&l.push.apply(l,t):l=t)}}(n.commentDirectives,h.commentDirectives,g.span.start,e.textSpanEnd(g.span),y,m,r,d),h},n.createSyntaxCursor=l,function(e){e[e.Value=-1]="Value"}(u||(u={}))}(l||(l={})),e.isDeclarationFileName=_,e.processCommentPragmas=g,e.processPragmasIntoFields=y;var h=new e.Map;function v(e){if(h.has(e))return h.get(e);var n=new RegExp("(\\s"+e+"\\s*=\\s*)('|\")(.+?)\\2","im");return h.set(e,n),n}var b=/^\/\/\/\s*<(\S+)\s.*?\/>/im,E=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function T(n,t,r){var a=2===t.kind&&b.exec(r);if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(!(o&&1&o.kind))return;if(o.args){for(var s={},c=0,l=o.args;c<l.length;c++){var u=l[c],d=v(u.name).exec(r);if(!d&&!u.optional)return;if(d)if(u.captureSpan){var p=t.pos+d.index+d[1].length+d[2].length;s[u.name]={value:d[3],pos:p,end:p+d[3].length}}else s[u.name]=d[3]}n.push({name:i,args:{arguments:s,range:t}})}else n.push({name:i,args:{arguments:{},range:t}})}else{var f=2===t.kind&&E.exec(r);if(f)return S(n,t,2,f);if(3===t.kind)for(var m=/\s*@(\S+)\s*(.*)\s*$/gim,_=void 0;_=m.exec(r);)S(n,t,4,_)}}function S(n,t,r,a){if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(o&&o.kind&r){var s=function(n,t){if(!t)return{};if(!n.args)return{};for(var r=t.split(/\s+/),a={},i=0;i<n.args.length;i++){var o=n.args[i];if(!r[i]&&!o.optional)return"fail";if(o.captureSpan)return e.Debug.fail("Capture spans not yet implemented for non-xml pragmas");a[o.name]=r[i]}return a}(o,a[2]);"fail"!==s&&n.push({name:i,args:{arguments:s,range:t}})}}}function L(e,n){return e.kind===n.kind&&(78===e.kind?e.escapedText===n.escapedText:107===e.kind||e.name.escapedText===n.name.escapedText&&L(e.expression,n.expression))}e.tagNamesAreEquivalent=L}(p||(p={})),function(e){e.compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"};var n,t,r=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["esnext.array","lib.es2019.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.esnext.string.d.ts"],["esnext.promise","lib.esnext.promise.d.ts"]];function a(n){var t=new e.Map,r=new e.Map;return e.forEach(n,(function(e){t.set(e.name.toLowerCase(),e),e.shortName&&r.set(e.shortName,e.name)})),{optionsNameMap:t,shortOptionNames:r}}function i(){return n||(n=a(e.optionDeclarations))}function c(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function l(n){return u(n,e.createCompilerDiagnostic)}function u(n,t){var r=e.arrayFrom(n.type.keys()).map((function(e){return"'"+e+"'"})).join(", ");return t(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+n.name,r)}function d(e,n,t){return le(e,ue(n||""),t)}function p(n,t,r){if(void 0===t&&(t=""),t=ue(t),!e.startsWith(t,"-")){if(""===t)return[];var a=t.split(",");switch(n.element.type){case"number":return e.map(a,parseInt);case"string":return e.map(a,(function(e){return e||""}));default:return e.mapDefined(a,(function(e){return d(n.element,e,r)}))}}}function f(e){return e.name}function m(n,t,r,a){var i=e.getSpellingSuggestion(n,t.optionDeclarations,f);return i?r(t.unknownDidYouMeanDiagnostic,a||n,i.name):r(t.unknownOptionDiagnostic,a||n)}function _(n,t,r){var a,i={},o=[],s=[];return c(t),{options:i,watchOptions:a,fileNames:o,errors:s};function c(t){for(var r=0;r<t.length;){var c=t[r];if(r++,64===c.charCodeAt(0))l(c.slice(1));else if(45===c.charCodeAt(0)){var u=c.slice(45===c.charCodeAt(1)?2:1),d=h(n.getOptionsNameMap,u,!0);if(d)r=g(t,r,n,d,i,s);else{var p=h(R.getOptionsNameMap,u,!0);p?r=g(t,r,R,p,a||(a={}),s):s.push(m(u,n,e.createCompilerDiagnostic,c))}}else o.push(c)}}function l(n){var t=T(n,r||function(n){return e.sys.readFile(n)});if(e.isString(t)){for(var a=[],i=0;;){for(;i<t.length&&t.charCodeAt(i)<=32;)i++;if(i>=t.length)break;var o=i;if(34===t.charCodeAt(o)){for(i++;i<t.length&&34!==t.charCodeAt(i);)i++;i<t.length?(a.push(t.substring(o+1,i)),i++):s.push(e.createCompilerDiagnostic(e.Diagnostics.Unterminated_quoted_string_in_response_file_0,n))}else{for(;t.charCodeAt(i)>32;)i++;a.push(t.substring(o,i))}}c(a)}else s.push(t)}}function g(n,t,r,a,i,o){if(a.isTSConfigOnly)"null"===(s=n[t])?(i[a.name]=void 0,t++):"boolean"===a.type?"false"===s?(i[a.name]=!1,t++):("true"===s&&t++,o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,a.name))):(o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,a.name)),s&&!e.startsWith(s,"-")&&t++);else if(n[t]||"boolean"===a.type||o.push(e.createCompilerDiagnostic(r.optionTypeMismatchDiagnostic,a.name,F(a))),"null"!==n[t])switch(a.type){case"number":i[a.name]=parseInt(n[t]),t++;break;case"boolean":var s=n[t];i[a.name]="false"!==s,"false"!==s&&"true"!==s||t++;break;case"string":i[a.name]=n[t]||"",t++;break;case"list":var c=p(a,n[t],o);i[a.name]=c||[],c&&t++;break;default:i[a.name]=d(a,n[t],o),t++}else i[a.name]=void 0,t++;return t}function y(e,n){return h(i,e,n)}function h(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();var r=e(),a=r.optionsNameMap,i=r.shortOptionNames;if(t){var o=i.get(n);void 0!==o&&(n=o)}return a.get(n)}e.libs=r.map((function(e){return e[0]})),e.libMap=new e.Map(r),e.optionsForWatch=[{name:"watchFile",type:new e.Map(e.getEntries({fixedpollinginterval:e.WatchFileKind.FixedPollingInterval,prioritypollinginterval:e.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:e.WatchFileKind.DynamicPriorityPolling,usefsevents:e.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:e.WatchFileKind.UseFsEventsOnParentDirectory})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory},{name:"watchDirectory",type:new e.Map(e.getEntries({usefsevents:e.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:e.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:e.WatchDirectoryKind.DynamicPriorityPolling})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling},{name:"fallbackPolling",type:new e.Map(e.getEntries({fixedinterval:e.PollingWatchKind.FixedInterval,priorityinterval:e.PollingWatchKind.PriorityInterval,dynamicpriority:e.PollingWatchKind.DynamicPriority})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority},{name:"synchronousWatchDirectory",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively}],e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_a_CPU_profile},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us}],e.optionDeclarations=o(e.commonOptionsWithBuild,[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},{name:"target",shortName:"t",type:new e.Map(e.getEntries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT},{name:"module",shortName:"m",type:new e.Map(e.getEntries({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,es2020:e.ModuleKind.ES2020,esnext:e.ModuleKind.ESNext})),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:new e.Map(e.getEntries({preserve:1,"react-native":3,react:2})),affectsSourceFile:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files,transpileOptionValue:void 0},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation,transpileOptionValue:void 0},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information,transpileOptionValue:void 0},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs,transpileOptionValue:void 0},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"importsNotUsedAsValues",type:new e.Map(e.getEntries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule,transpileOptionValue:!0},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:new e.Map(e.getEntries({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic})),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime,transpileOptionValue:void 0},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"jsxFragmentFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"newLine",type:new e.Map(e.getEntries({crlf:0,lf:1})),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts,transpileOptionValue:!0},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files,transpileOptionValue:!0},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_solution_searching_for_this_project},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_loading_referenced_projects},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported,transpileOptionValue:void 0},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files,transpileOptionValue:void 0},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_class_fields_with_Define_instead_of_Set},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(n){return e.hasProperty(n,"transpileOptionValue")})),e.buildOpts=o(e.commonOptionsWithBuild,[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.createOptionNameMap=a,e.getOptionsNameMap=i,e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},e.convertEnableAutoDiscoveryToEnable=c,e.createCompilerDiagnosticForInvalidCustomType=l,e.parseCustomTypeOption=d,e.parseListTypeOption=p,e.parseCommandLineWorker=_,e.compilerOptionsDidYouMeanDiagnostics={getOptionsNameMap:i,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument},e.parseCommandLine=function(n,t){return _(e.compilerOptionsDidYouMeanDiagnostics,n,t)},e.getOptionFromName=y;var v={getOptionsNameMap:function(){return t||(t=a(e.buildOpts))},optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function b(n,t){var r=e.parseJsonText(n,t);return{config:M(r,r.parseDiagnostics),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function E(n,t){var r=T(n,t);return e.isString(r)?e.parseJsonText(n,r):{parseDiagnostics:[r]}}function T(n,t){var r;try{r=t(n)}catch(t){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,n,t.message)}return void 0===r?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,n):r}function S(n){return e.arrayToMap(n,f)}e.parseBuildCommand=function(n){var t=_(v,n),r=t.options,a=t.watchOptions,i=t.fileNames,o=t.errors,s=r;return 0===i.length&&i.push("."),s.clean&&s.force&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),s.clean&&s.verbose&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),s.clean&&s.watch&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),s.watch&&s.dry&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:s,watchOptions:a,projects:i,errors:o}},e.getDiagnosticText=function(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=e.createCompilerDiagnostic.apply(void 0,arguments);return a.messageText},e.getParsedCommandLineOfConfigFile=function(n,t,r,a,i,o){var s=T(n,(function(e){return r.readFile(e)}));if(e.isString(s)){var c=e.parseJsonText(n,s),l=r.getCurrentDirectory();return c.path=e.toPath(n,l,e.createGetCanonicalFileName(r.useCaseSensitiveFileNames)),c.resolvedPath=c.path,c.originalFileName=c.fileName,W(c,r,e.getNormalizedAbsolutePath(e.getDirectoryPath(n),l),t,e.getNormalizedAbsolutePath(n,l),void 0,o,a,i)}r.onUnRecoverableConfigFileDiagnostic(s)},e.readConfigFile=function(n,t){var r=T(n,t);return e.isString(r)?b(n,r):{config:{},error:r}},e.parseConfigFileTextToJson=b,e.readJsonConfigFile=E,e.tryReadFile=T;var L,x={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1};function A(){return L||(L=a(e.optionsForWatch))}var D,C,I,N,R={getOptionsNameMap:A,optionDeclarations:e.optionsForWatch,unknownOptionDiagnostic:e.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Watch_option_0_requires_a_value_of_type_1};function k(){return D||(D=S(e.optionDeclarations))}function O(){return C||(C=S(e.optionsForWatch))}function P(){return I||(I=S(e.typeAcquisitionDeclarations))}function M(e,n){return w(e,n,!0,void 0,void 0)}function w(n,t,r,a,i){return n.statements.length?c(n.statements[0].expression,a):r?{}:void 0;function o(e){return a&&a.elementOptions===e}function s(a,s,u,d){for(var p=r?{}:void 0,f=function(a){if(285!==a.kind)return t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.Property_assignment_expected)),"continue";a.questionToken&&t.push(e.createDiagnosticForNodeInSourceFile(n,a.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),l(a.name)||t.push(e.createDiagnosticForNodeInSourceFile(n,a.name,e.Diagnostics.String_literal_with_double_quotes_expected));var f=e.isComputedNonLiteralName(a.name)?void 0:e.getTextOfPropertyName(a.name),_=f&&e.unescapeLeadingUnderscores(f),g=_&&s?s.get(_):void 0;_&&u&&!g&&(s?t.push(m(_,u,(function(t,r,i){return e.createDiagnosticForNodeInSourceFile(n,a.name,t,r,i)}))):t.push(e.createDiagnosticForNodeInSourceFile(n,a.name,u.unknownOptionDiagnostic,_)));var y=c(a.initializer,g);if(void 0!==_&&(r&&(p[_]=y),i&&(d||o(s)))){var h=G(g,y);d?h&&i.onSetValidOptionKeyValueInParent(d,g,y):o(s)&&(h?i.onSetValidOptionKeyValueInRoot(_,a.name,y,a.initializer):g||i.onSetUnknownOptionKeyValueInRoot(_,a.name,y,a.initializer))}},_=0,g=a.properties;_<g.length;_++){f(g[_])}return p}function c(a,i){switch(a.kind){case 109:return g(i&&"boolean"!==i.type),!0;case 94:return g(i&&"boolean"!==i.type),!1;case 103:return g(i&&"extends"===i.name),null;case 10:l(a)||t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.String_literal_with_double_quotes_expected)),g(i&&e.isString(i.type)&&"string"!==i.type);var o=a.text;if(i&&!e.isString(i.type)){var d=i;d.type.has(o.toLowerCase())||t.push(u(d,(function(t,r,i){return e.createDiagnosticForNodeInSourceFile(n,a,t,r,i)})))}return o;case 8:return g(i&&"number"!==i.type),Number(a.text);case 211:if(40!==a.operator||8!==a.operand.kind)break;return g(i&&"number"!==i.type),-Number(a.operand.text);case 197:g(i&&"object"!==i.type);var p=a;if(i){var f=i;return s(p,f.elementOptions,f.extraKeyDiagnostics,f.name)}return s(p,void 0,void 0,void 0);case 196:return g(i&&"list"!==i.type),m=a.elements,_=i&&i.element,r?e.filter(m.map((function(e){return c(e,_)})),(function(e){return void 0!==e})):m.forEach((function(e){return c(e,_)}))}var m,_;return void(i?g(!0):t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)));function g(r){r&&t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,i.name,F(i)))}}function l(t){return e.isStringLiteral(t)&&e.isStringDoubleQuoted(t,n)}}function F(n){return"list"===n.type?"Array":e.isString(n.type)?n.type:"string"}function G(n,t){return!!n&&(!!z(t)||("list"===n.type?e.isArray(t):typeof t===(e.isString(n.type)?n.type:"string")))}function B(n){return s({},e.arrayFrom(n.entries()).reduce((function(e,n){var t;return s(s({},e),((t={})[n[0]]=n[1],t))}),{}))}function U(n){if(e.length(n)){if(1!==e.length(n))return n;if("**/*"!==n[0])return n}}function V(n,t){return e.forEachEntry(t,(function(e,t){if(e===n)return t}))}function j(e,n){return K(e,i(),n)}function K(n,t,r){var a=t.optionsNameMap,i=new e.Map,o=r&&e.createGetCanonicalFileName(r.useCaseSensitiveFileNames),s=function(t){if(e.hasProperty(n,t)){if(a.has(t)&&a.get(t).category===e.Diagnostics.Command_line_Options)return"continue";var s=n[t],c=a.get(t.toLowerCase());if(c){var l=function e(n){return"string"===n.type||"number"===n.type||"boolean"===n.type||"object"===n.type?void 0:"list"===n.type?e(n.element):n.type}(c);l?"list"===c.type?i.set(t,s.map((function(e){return V(e,l)}))):i.set(t,V(s,l)):r&&c.isFilePath?i.set(t,e.getRelativePathFromFile(r.configFilePath,e.getNormalizedAbsolutePath(s,e.getDirectoryPath(r.configFilePath)),o)):i.set(t,s)}}};for(var c in n)s(c);return i}function H(e,n,t){if(e&&!z(n))if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function W(e,n,t,r,a,i,o,s,c){return X(void 0,e,n,t,r,c,a,i,o,s)}function q(e,n){n&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:n})}function z(e){return null==e}function J(n,t){return e.getDirectoryPath(e.getNormalizedAbsolutePath(n,t))}function X(n,t,r,a,i,o,s,c,l,u){void 0===i&&(i={}),void 0===c&&(c=[]),void 0===l&&(l=[]),e.Debug.assert(void 0===n&&void 0!==t||void 0!==n&&void 0===t);var d,p=[],f=ee(n,t,r,a,s,c,p,u),m=f.raw,_=e.extend(i,f.options||{}),g=o&&f.watchOptions?e.extend(o,f.watchOptions):f.watchOptions||o;_.configFilePath=s&&e.normalizeSlashes(s),q(_,t);var y=function(){var n=S("references",(function(e){return"object"==typeof e}),"object");if(e.isArray(n))for(var i=0,o=n;i<o.length;i++){var u=o[i];"string"!=typeof u.path?L(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(d||(d=[])).push({path:e.getNormalizedAbsolutePath(u.path,a),originalPath:u.path,prepend:u.prepend,circular:u.circular})}var f=E(T("files"));if(f){var g="no-prop"===n||e.isArray(n)&&0===n.length,y=e.hasProperty(m,"extends");if(0===f.length&&g&&!y)if(t){var h=s||"tsconfig.json",v=e.Diagnostics.The_files_list_in_config_file_0_is_empty,b=e.firstDefined(e.getTsConfigPropArray(t,"files"),(function(e){return e.initializer})),x=b?e.createDiagnosticForNodeInSourceFile(t,b,v,h):e.createCompilerDiagnostic(v,h);p.push(x)}else L(e.Diagnostics.The_files_list_in_config_file_0_is_empty,s||"tsconfig.json")}var A=E(T("include")),D=T("exclude"),C=E(D);if("no-prop"===D&&m.compilerOptions){var I=m.compilerOptions.outDir,N=m.compilerOptions.declarationDir;(I||N)&&(C=[I,N].filter((function(e){return!!e})))}void 0===f&&void 0===A&&(A=["**/*"]);var R=function(n,t,r,a,i,o,s,c,l){var u,d;a=e.normalizePath(a),t&&(u=ge(t,s,!1,l,"include"));r&&(d=ge(r,s,!0,l,"exclude"));var p=function(n,t,r,a){var i=e.getRegularExpressionForWildcard(t,r,"exclude"),o=i&&new RegExp(i,a?"":"i"),s={};if(void 0!==n){for(var c=[],l=0,u=n;l<u.length;l++){var d=u[l],p=e.normalizePath(e.combinePaths(r,d));if(!o||!o.test(p)){var f=ye(p,a);if(f){var m=f.key,_=f.flags,g=s[m];(void 0===g||g<_)&&(s[m]=_,1===_&&c.push(m))}}}for(var m in s)if(e.hasProperty(s,m))for(var y=0,h=c;y<h.length;y++){var v=h[y];m!==v&&e.containsPath(v,m,r,!a)&&delete s[m]}}return s}(u,d,a,o.useCaseSensitiveFileNames);return _e({filesSpecs:n,includeSpecs:t,excludeSpecs:r,validatedFilesSpec:e.filter(n,e.isString),validatedIncludeSpecs:u,validatedExcludeSpecs:d,wildcardDirectories:p},a,i,o,c)}(f,A,C,s?J(s,a):a,_,r,p,l,t);Q(R,Z(m),c)&&p.push(Y(R.spec,s));return R}(),h=y.fileNames,v=y.wildcardDirectories,b=y.spec;return{options:_,watchOptions:g,fileNames:h,projectReferences:d,typeAcquisition:f.typeAcquisition||ae(),raw:m,errors:p,wildcardDirectories:v,compileOnSave:!!m.compileOnSave,configFileSpecs:b};function E(n){return e.isArray(n)?n:void 0}function T(n){return S(n,e.isString,"string")}function S(n,r,a){if(e.hasProperty(m,n)&&!z(m[n])){if(e.isArray(m[n])){var i=m[n];return t||e.every(i,r)||p.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n,a)),i}return L(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n,"Array"),"not-array"}return"no-prop"}function L(n,r,a){t||p.push(e.createCompilerDiagnostic(n,r,a))}}function Y(n,t){var r=n.includeSpecs,a=n.excludeSpecs;return e.createCompilerDiagnostic(e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,t||"tsconfig.json",JSON.stringify(r||[]),JSON.stringify(a||[]))}function Q(e,n,t){return 0===e.fileNames.length&&n&&(!t||0===t.length)}function Z(n){return!e.hasProperty(n,"files")&&!e.hasProperty(n,"references")}function $(e){return!!e.options}function ee(n,t,r,a,i,s,c,l){a=e.normalizeSlashes(a);var u=e.getNormalizedAbsolutePath(i||"",a);if(s.indexOf(u)>=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,o(s,[u]).join(" -> "))),{raw:n||M(t,c)};var d=n?function(n,t,r,a,i){e.hasProperty(n,"excludes")&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=re(n.compilerOptions,r,i,a),c=ie(n.typeAcquisition||n.typingOptions,r,i,a),l=function(e,n,t){return oe(O(),e,n,void 0,R,t)}(n.watchOptions,r,i);if(n.compileOnSave=function(n,t,r){if(!e.hasProperty(n,e.compileOnSaveCommandLineOption.name))return!1;var a=se(e.compileOnSaveCommandLineOption,n.compileOnSave,t,r);return"boolean"==typeof a&&a}(n,r,i),n.extends)if(e.isString(n.extends)){var u=a?J(a,r):r;o=ne(n.extends,t,u,i,e.createCompilerDiagnostic)}else i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:n,options:s,watchOptions:l,typeAcquisition:c,extendedConfigPath:o}}(n,r,a,i,c):function(n,t,r,a,i){var o,s,c,l,u=te(a),d={onSetValidOptionKeyValueInParent:function(n,t,i){var l;switch(n){case"compilerOptions":l=u;break;case"watchOptions":l=c||(c={});break;case"typeAcquisition":l=o||(o=ae(a));break;case"typingOptions":l=s||(s=ae(a));break;default:e.Debug.fail("Unknown option")}l[t.name]=function n(t,r,a){if(z(a))return;if("list"===t.type){var i=t;return i.element.isFilePath||!e.isString(i.element.type)?e.filter(e.map(a,(function(e){return n(i.element,r,e)})),(function(e){return!!e})):a}if(!e.isString(t.type))return t.type.get(e.isString(a)?a.toLowerCase():a);return ce(t,r,a)}(t,r,i)},onSetValidOptionKeyValueInRoot:function(o,s,c,u){switch(o){case"extends":var d=a?J(a,r):r;return void(l=ne(c,t,d,i,(function(t,r){return e.createDiagnosticForNodeInSourceFile(n,u,t,r)})))}},onSetUnknownOptionKeyValueInRoot:function(t,r,a,o){"excludes"===t&&i.push(e.createDiagnosticForNodeInSourceFile(n,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},p=w(n,i,!0,(void 0===N&&(N={name:void 0,type:"object",elementOptions:S([{name:"compilerOptions",type:"object",elementOptions:k(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:O(),extraKeyDiagnostics:R},{name:"typingOptions",type:"object",elementOptions:P(),extraKeyDiagnostics:x},{name:"typeAcquisition",type:"object",elementOptions:P(),extraKeyDiagnostics:x},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])}),N),d);o||(o=s?void 0!==s.enableAutoDiscovery?{enable:s.enableAutoDiscovery,include:s.include,exclude:s.exclude}:s:ae(a));return{raw:p,options:u,watchOptions:c,typeAcquisition:o,extendedConfigPath:l}}(t,r,a,i,c);if(d.extendedConfigPath){s=s.concat([u]);var p=function(n,t,r,a,i,o,s){var c,l,u,d,p=r.useCaseSensitiveFileNames?t:e.toFileNameLowerCase(t);if(s&&(l=s.get(p)))u=l.extendedResult,d=l.extendedConfig;else{if(!(u=E(t,(function(e){return r.readFile(e)}))).parseDiagnostics.length){var f=e.getDirectoryPath(t);if($(d=ee(void 0,u,r,f,e.getBaseFileName(t),i,o,s))){var m=e.convertToRelativePath(f,a,e.identity),_=function(n){return e.isRootedDiskPath(n)?n:e.combinePaths(m,n)},g=function(n){y[n]&&(y[n]=e.map(y[n],_))},y=d.raw;g("include"),g("exclude"),g("files")}}s&&s.set(p,{extendedResult:u,extendedConfig:d})}n&&(n.extendedSourceFiles=[u.fileName],u.extendedSourceFiles&&(c=n.extendedSourceFiles).push.apply(c,u.extendedSourceFiles));if(u.parseDiagnostics.length)return void o.push.apply(o,u.parseDiagnostics);return d}(t,d.extendedConfigPath,r,a,s,c,l);if(p&&$(p)){var f=p.raw,m=d.raw,_=function(e){var n=m[e]||f[e];n&&(m[e]=n)};_("include"),_("exclude"),_("files"),void 0===m.compileOnSave&&(m.compileOnSave=f.compileOnSave),d.options=e.assign({},p.options,d.options),d.watchOptions=d.watchOptions&&p.watchOptions?e.assign({},p.watchOptions,d.watchOptions):d.watchOptions||p.watchOptions}}return d}function ne(n,t,r,a,i){if(n=e.normalizeSlashes(n),e.isRootedDiskPath(n)||e.startsWith(n,"./")||e.startsWith(n,"../")){var o=e.getNormalizedAbsolutePath(n,r);return t.fileExists(o)||e.endsWith(o,".json")||(o+=".json",t.fileExists(o))?o:void a.push(i(e.Diagnostics.File_0_not_found,n))}var s=e.nodeModuleNameResolver(n,e.combinePaths(r,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;a.push(i(e.Diagnostics.File_0_not_found,n))}function te(n){return n&&"jsconfig.json"===e.getBaseFileName(n)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function re(n,t,r,a){var i=te(a);return oe(k(),n,t,i,e.compilerOptionsDidYouMeanDiagnostics,r),a&&(i.configFilePath=e.normalizeSlashes(a)),i}function ae(n){return{enable:!!n&&"jsconfig.json"===e.getBaseFileName(n),include:[],exclude:[]}}function ie(e,n,t,r){var a=ae(r),i=c(e);return oe(P(),i,n,a,x,t),a}function oe(n,t,r,a,i,o){if(t){for(var s in t){var c=n.get(s);c?(a||(a={}))[c.name]=se(c,t[s],r,o):o.push(m(s,i,e.createCompilerDiagnostic))}return a}}function se(n,t,r,a){if(G(n,t)){var i=n.type;return"list"===i&&e.isArray(t)?function(n,t,r,a){return e.filter(e.map(t,(function(e){return se(n.element,e,r,a)})),(function(e){return!!e}))}(n,t,r,a):e.isString(i)?ce(n,r,t):le(n,t,a)}a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n.name,F(n)))}function ce(n,t,r){return n.isFilePath&&""===(r=e.getNormalizedAbsolutePath(r,t))&&(r="."),r}function le(e,n,t){if(!z(n)){var r=n.toLowerCase(),a=e.type.get(r);if(void 0!==a)return a;t.push(l(e))}}function ue(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.convertToObject=M,e.convertToObjectWorker=w,e.convertToTSConfig=function(n,t,r){var a=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames),i=e.map(e.filter(n.fileNames,n.configFileSpecs&&n.configFileSpecs.validatedIncludeSpecs?function(n,t,r,a){if(!t)return function(e){return!0};var i=e.getFileMatcherPatterns(n,r,t,a.useCaseSensitiveFileNames,a.getCurrentDirectory()),o=i.excludePattern&&e.getRegexFromPattern(i.excludePattern,a.useCaseSensitiveFileNames),s=i.includeFilePattern&&e.getRegexFromPattern(i.includeFilePattern,a.useCaseSensitiveFileNames);if(s)return o?function(e){return!(s.test(e)&&!o.test(e))}:function(e){return!s.test(e)};if(o)return function(e){return o.test(e)};return function(e){return!0}}(t,n.configFileSpecs.validatedIncludeSpecs,n.configFileSpecs.validatedExcludeSpecs,r):function(e){return!0}),(function(n){return e.getRelativePathFromFile(e.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),e.getNormalizedAbsolutePath(n,r.getCurrentDirectory()),a)})),o=j(n.options,{configFilePath:e.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),useCaseSensitiveFileNames:r.useCaseSensitiveFileNames}),c=n.watchOptions&&K(n.watchOptions,A());return s(s({compilerOptions:s(s({},B(o)),{showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0}),watchOptions:c&&B(c),references:e.map(n.projectReferences,(function(e){return s(s({},e),{path:e.originalPath?e.originalPath:"",originalPath:void 0})})),files:e.length(i)?i:void 0},n.configFileSpecs?{include:U(n.configFileSpecs.validatedIncludeSpecs),exclude:n.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!n.compileOnSave||void 0})},e.generateTSConfig=function(n,t,r){var a=j(e.extend(n,e.defaultInitCompilerOptions));return function(){for(var n=e.createMultiMap(),c=0,l=e.optionDeclarations;c<l.length;c++){var u=l[c],d=u.category;s(u)&&n.add(e.getLocaleSpecificMessage(d),u)}var p=0,f=0,m=[];n.forEach((function(n,t){0!==m.length&&m.push({value:""}),m.push({value:"/* "+t+" */"});for(var r=0,o=n;r<o.length;r++){var s=o[r],c=void 0;c=a.has(s.name)?'"'+s.name+'": '+JSON.stringify(a.get(s.name))+((f+=1)===a.size?"":","):'// "'+s.name+'": '+JSON.stringify(i(s))+",",m.push({value:c,description:"/* "+(s.description&&e.getLocaleSpecificMessage(s.description)||s.name)+" */"}),p=Math.max(c.length,p)}}));var _=o(2),g=[];g.push("{"),g.push(_+'"compilerOptions": {'),g.push(""+_+_+"/* "+e.getLocaleSpecificMessage(e.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file)+" */"),g.push("");for(var y=0,h=m;y<h.length;y++){var v=h[y],b=v.value,E=v.description,T=void 0===E?"":E;g.push(b&&""+_+_+b+(T&&o(p-b.length+2)+T))}if(t.length){g.push(_+"},"),g.push(_+'"files": [');for(var S=0;S<t.length;S++)g.push(""+_+_+JSON.stringify(t[S])+(S===t.length-1?"":","));g.push(_+"]")}else g.push(_+"}");return g.push("}"),g.join(r)+r}();function i(n){switch(n.type){case"number":return 1;case"boolean":return!0;case"string":return n.isFilePath?"./":"";case"list":return[];case"object":return{};default:var t=n.type.keys().next();return t.done?e.Debug.fail("Expected 'option.type' to have entries."):t.value}}function o(e){return Array(e+1).join(" ")}function s(n){var t=n.category,r=n.name;return void 0!==t&&t!==e.Diagnostics.Command_line_Options&&(t!==e.Diagnostics.Advanced_Options||a.has(r))}},e.convertToOptionsWithAbsolutePaths=function(n,t){var r={},a=i().optionsNameMap;for(var o in n)e.hasProperty(n,o)&&(r[o]=H(a.get(o.toLowerCase()),n[o],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r},e.parseJsonConfigFileContent=function(e,n,t,r,a,i,o,s,c){return X(e,void 0,n,t,r,c,a,i,o,s)},e.parseJsonSourceFileConfigFileContent=W,e.setConfigFileInOptions=q,e.canJsonReportNoInputFiles=Z,e.updateErrorForNoInputFiles=function(n,t,r,a,i){var o=a.length;return Q(n,i)?a.push(Y(r,t)):e.filterMutate(a,(function(n){return!function(n){return n.code===e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}(n)})),o!==a.length},e.convertCompilerOptionsFromJson=function(e,n,t){var r=[];return{options:re(e,n,r,t),errors:r}},e.convertTypeAcquisitionFromJson=function(e,n,t){var r=[];return{options:ie(e,n,r,t),errors:r}};var de=/(^|\/)\*\*\/?$/,pe=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/,fe=/\/[^/]*?[*?][^/]*\//,me=/^[^*?]*(?=\/[^/]*[*?])/;function _e(n,t,r,a,i){void 0===i&&(i=e.emptyArray),t=e.normalizePath(t);var o,s=e.createGetCanonicalFileName(a.useCaseSensitiveFileNames),c=new e.Map,l=new e.Map,u=new e.Map,d=n.validatedFilesSpec,p=n.validatedIncludeSpecs,f=n.validatedExcludeSpecs,m=n.wildcardDirectories,_=e.getSupportedExtensions(r,i),g=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(r,_);if(d)for(var y=0,h=d;y<h.length;y++){var v=h[y],b=e.getNormalizedAbsolutePath(v,t);c.set(s(b),b)}if(p&&p.length>0)for(var E=function(n){if(e.fileExtensionIs(n,".json")){if(!o){var r=p.filter((function(n){return e.endsWith(n,".json")})),i=e.map(e.getRegularExpressionsForWildcards(r,t,"files"),(function(e){return"^"+e+"$"}));o=i?i.map((function(n){return e.getRegexFromPattern(n,a.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(n)}))){var d=s(n);c.has(d)||u.has(d)||u.set(d,n)}return"continue"}if(function(n,t,r,a,i){for(var o=e.getExtensionPriority(n,a),s=e.adjustExtensionPriority(o,a),c=0;c<s;c++){var l=a[c],u=i(e.changeExtension(n,l));if(t.has(u)||r.has(u))return!0}return!1}(n,c,l,_,s))return"continue";!function(n,t,r,a){for(var i=e.getExtensionPriority(n,r),o=e.getNextLowestExtensionPriority(i,r);o<r.length;o++){var s=r[o],c=a(e.changeExtension(n,s));t.delete(c)}}(n,l,_,s);var f=s(n);c.has(f)||l.has(f)||l.set(f,n)},T=0,S=a.readDirectory(t,g,f,p,void 0);T<S.length;T++){E(b=S[T])}var L=e.arrayFrom(c.values()),x=e.arrayFrom(l.values());return{fileNames:L.concat(x,e.arrayFrom(u.values())),wildcardDirectories:m,spec:n}}function ge(n,t,r,a,i){return n.filter((function(n){if(!e.isString(n))return!1;var o=function(n,t){if(!t&&de.test(n))return e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0;if(pe.test(n))return e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0}(n,r);return void 0!==o&&t.push(function(n,t){var r=e.getTsConfigPropArrayElementValue(a,i,t);return r?e.createDiagnosticForNodeInSourceFile(a,r,n,t):e.createCompilerDiagnostic(n,t)}(o,n)),void 0===o}))}function ye(n,t){var r=me.exec(n);return r?{key:t?r[0]:e.toFileNameLowerCase(r[0]),flags:fe.test(n)?1:0}:e.isImplicitGlob(n)?{key:t?n:e.toFileNameLowerCase(n),flags:1}:void 0}function he(n,t){switch(t.type){case"object":case"string":return"";case"number":return"number"==typeof n?n:"";case"boolean":return"boolean"==typeof n?n:"";case"list":var r=t.element;return e.isArray(n)?n.map((function(e){return he(e,r)})):"";default:return e.forEachEntry(t.type,(function(e,t){if(e===n)return t}))}}e.getFileNamesFromConfigSpecs=_e,e.isExcludedFile=function(n,t,r,a,i){var o=t.validatedFilesSpec,s=t.validatedIncludeSpecs,c=t.validatedExcludeSpecs;if(!e.length(s)||!e.length(c))return!1;r=e.normalizePath(r);var l=e.createGetCanonicalFileName(a);if(o)for(var u=0,d=o;u<d.length;u++){var p=d[u];if(l(e.getNormalizedAbsolutePath(p,r))===n)return!1}var f=e.getRegularExpressionForWildcard(c,e.combinePaths(e.normalizePath(i),r),"exclude"),m=f&&e.getRegexFromPattern(f,a);return!!m&&(!!m.test(n)||!e.hasExtension(n)&&m.test(e.ensureTrailingDirectorySeparator(n)))},e.convertCompilerOptionsForTelemetry=function(e){var n={};for(var t in e)if(e.hasOwnProperty(t)){var r=y(t);void 0!==r&&(n[t]=he(e[t],r))}return n}}(p||(p={})),function(e){function n(n){n.trace(e.formatMessage.apply(void 0,arguments))}function t(e,n){return!!e.traceResolution&&void 0!==n.trace}function r(n,t){var r;if(t&&n){var a=n.packageJsonContent;"string"==typeof a.name&&"string"==typeof a.version&&(r={name:a.name,subModuleName:t.path.slice(n.packageDirectory.length+e.directorySeparator.length),version:a.version})}return t&&{path:t.path,extension:t.ext,packageId:r}}function a(e){return r(void 0,e)}function i(n){if(n)return e.Debug.assert(void 0===n.packageId),{path:n.path,ext:n.extension}}var c,l;function u(n){if(n)return e.Debug.assert(e.extensionIsTS(n.extension)),{fileName:n.path,packageId:n.packageId}}function d(e,n,t,r){var a;return r?((a=r.failedLookupLocations).push.apply(a,t),r):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:n,packageId:e.packageId},failedLookupLocations:t}}function p(t,r,a,i){if(e.hasProperty(t,r)){var o=t[r];if(typeof o===a&&null!==o)return o;i.traceEnabled&&n(i.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,r,a,null===o?"null":typeof o)}else i.traceEnabled&&n(i.host,e.Diagnostics.package_json_does_not_have_a_0_field,r)}function f(t,r,a,i){var o=p(t,r,"string",i);if(void 0!==o){if(o){var s=e.normalizePath(e.combinePaths(a,o));return i.traceEnabled&&n(i.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,r,o,s),s}i.traceEnabled&&n(i.host,e.Diagnostics.package_json_had_a_falsy_0_field,r)}}function m(e,n,t){return f(e,"typings",n,t)||f(e,"types",n,t)}function _(e,n,t){return f(e,"main",n,t)}function g(t,r){var a=function(t,r){var a=p(t,"typesVersions","object",r);if(void 0!==a)return r.traceEnabled&&n(r.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),a}(t,r);if(void 0!==a){if(r.traceEnabled)for(var i in a)e.hasProperty(a,i)&&!e.VersionRange.tryParse(i)&&n(r.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,i);var o=y(a);if(o){var s=o.version,c=o.paths;if("object"==typeof c)return o;r.traceEnabled&&n(r.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['"+s+"']","object",typeof c)}else r.traceEnabled&&n(r.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor)}}function y(n){for(var t in l||(l=new e.Version(e.version)),n)if(e.hasProperty(n,t)){var r=e.VersionRange.tryParse(t);if(void 0!==r&&r.test(l))return{version:t,paths:n[t]}}}function h(n,t){return n.typeRoots?n.typeRoots:(n.configFilePath?r=e.getDirectoryPath(n.configFilePath):t.getCurrentDirectory&&(r=t.getCurrentDirectory()),void 0!==r?function(n,t){if(!t.directoryExists)return[e.combinePaths(n,v)];var r;return e.forEachAncestorDirectory(e.normalizePath(n),(function(n){var a=e.combinePaths(n,v);t.directoryExists(a)&&(r||(r=[])).push(a)})),r}(r,t):void 0);var r}e.trace=n,e.isTraceEnabled=t,function(e){e[e.TypeScript=0]="TypeScript",e[e.JavaScript=1]="JavaScript",e[e.Json=2]="Json",e[e.TSConfig=3]="TSConfig",e[e.DtsOnly=4]="DtsOnly"}(c||(c={})),e.getPackageJsonTypesVersionsPaths=y,e.getEffectiveTypeRoots=h;var v=e.combinePaths("node_modules","@types");function b(n){var t=new e.Map,r=new e.Map;return{ownMap:t,redirectsMap:r,getOrCreateMapOfCacheRedirects:function(a){if(!a)return t;var i=a.sourceFile.path,o=r.get(i);o||(o=!n||e.optionsHaveModuleResolutionChanges(n,a.commandLine.options)?new e.Map:t,r.set(i,o));return o},clear:function(){t.clear(),r.clear()},setOwnOptions:function(e){n=e},setOwnMap:function(e){t=e}}}function E(n,t,r,a){return{getOrCreateCacheForDirectory:function(t,o){var s=e.toPath(t,r,a);return i(n,o,s,(function(){return new e.Map}))},getOrCreateCacheForModuleName:function(n,r){return e.Debug.assert(!e.isExternalModuleNameRelative(n)),i(t,r,n,o)},directoryToModuleNameMap:n,moduleNameToDirectoryMap:t};function i(e,n,t,r){var a=e.getOrCreateMapOfCacheRedirects(n),i=a.get(t);return i||(i=r(),a.set(t,i)),i}function o(){var n=new e.Map;return{get:function(t){return n.get(e.toPath(t,r,a))},set:function(t,i){var o=e.toPath(t,r,a);if(n.has(o))return;n.set(o,i);var s=i.resolvedModule&&(i.resolvedModule.originalPath||i.resolvedModule.resolvedFileName),c=s&&function(n,t){var i=e.toPath(e.getDirectoryPath(t),r,a),o=0,s=Math.min(n.length,i.length);for(;o<s&&n.charCodeAt(o)===i.charCodeAt(o);)o++;if(o===n.length&&(i.length===o||i[o]===e.directorySeparator))return n;var c=e.getRootLength(n);if(o<c)return;var l=n.lastIndexOf(e.directorySeparator,o-1);if(-1===l)return;return n.substr(0,Math.max(l,c))}(o,s),l=o;for(;l!==c;){var u=e.getDirectoryPath(l);if(u===l||n.has(u))break;n.set(u,i),l=u}}}}}function T(t,r,a,i,o){var s=function(t,r,a,i){var o=i.compilerOptions,s=o.baseUrl,c=o.paths;if(s&&c&&!e.pathIsRelative(r))return i.traceEnabled&&(n(i.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,s,r),n(i.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,r)),q(t,r,s,c,a,!1,i)}(t,r,i,o);return s?s.value:e.isExternalModuleNameRelative(r)?function(t,r,a,i,o){if(!o.compilerOptions.rootDirs)return;o.traceEnabled&&n(o.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,r);for(var s,c,l=e.normalizePath(e.combinePaths(a,r)),u=0,d=o.compilerOptions.rootDirs;u<d.length;u++){var p=d[u],f=e.normalizePath(p);e.endsWith(f,e.directorySeparator)||(f+=e.directorySeparator);var m=e.startsWith(l,f)&&(void 0===c||c.length<f.length);o.traceEnabled&&n(o.host,e.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,f,l,m),m&&(c=f,s=p)}if(c){o.traceEnabled&&n(o.host,e.Diagnostics.Longest_matching_prefix_for_0_is_1,l,c);var _=l.substr(c.length);o.traceEnabled&&n(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,_,c,l);var g=i(t,l,!e.directoryProbablyExists(a,o.host),o);if(g)return g;o.traceEnabled&&n(o.host,e.Diagnostics.Trying_other_entries_in_rootDirs);for(var y=0,h=o.compilerOptions.rootDirs;y<h.length;y++){if((p=h[y])!==s){var v=e.combinePaths(e.normalizePath(p),_);o.traceEnabled&&n(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,_,p,v);var b=e.getDirectoryPath(v),E=i(t,v,!e.directoryProbablyExists(b,o.host),o);if(E)return E}}o.traceEnabled&&n(o.host,e.Diagnostics.Module_resolution_using_rootDirs_has_failed)}return}(t,r,a,i,o):function(t,r,a,i){var o=i.compilerOptions.baseUrl;if(!o)return;i.traceEnabled&&n(i.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,o,r);var s=e.normalizePath(e.combinePaths(o,r));i.traceEnabled&&n(i.host,e.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,r,o,s);return a(t,s,!e.directoryProbablyExists(e.getDirectoryPath(s),i.host),i)}(t,r,i,o)}e.resolveTypeReferenceDirective=function(r,a,i,o,s){var l=t(i,o);s&&(i=s.commandLine.options);var d=[],p={compilerOptions:i,host:o,traceEnabled:l,failedLookupLocations:d},f=h(i,o);l&&(void 0===a?void 0===f?n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,r):n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,r,f):void 0===f?n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,r,a):n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,r,a,f),s&&n(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,s.sourceFile.fileName));var m,_=function(){if(f&&f.length)return l&&n(o,e.Diagnostics.Resolving_with_primary_search_path_0,f.join(", ")),e.firstDefined(f,(function(t){var a=e.combinePaths(t,r),i=e.getDirectoryPath(a),s=e.directoryProbablyExists(i,o);return!s&&l&&n(o,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,i),u(G(c.DtsOnly,a,!s,p))}));l&&n(o,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),g=!0;if(_||(_=function(){var t=a&&e.getDirectoryPath(a);if(void 0!==t){l&&n(o,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,t);var i=void 0;if(e.isExternalModuleNameRelative(r)){var s=e.normalizePathAndParts(e.combinePaths(t,r)).path;i=R(c.DtsOnly,s,!1,p,!0)}else{var d=j(c.DtsOnly,r,t,p,void 0,void 0);i=d&&d.value}var f=u(i);return!f&&l&&n(o,e.Diagnostics.Type_reference_directive_0_was_not_resolved,r),f}l&&n(o,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),g=!1),_){var y=_.fileName,v=_.packageId,b=i.preserveSymlinks?y:N(y,o,l);l&&(v?n(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,r,b,e.packageIdToString(v),g):n(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,r,b,g)),m={primary:g,resolvedFileName:b,packageId:v,isExternalLibraryImport:k(y)}}return{resolvedTypeReferenceDirective:m,failedLookupLocations:d}},e.getAutomaticTypeDirectiveNames=function(n,t){if(n.types)return n.types;var r=[];if(t.directoryExists&&t.getDirectories){var a=h(n,t);if(a)for(var i=0,o=a;i<o.length;i++){var s=o[i];if(t.directoryExists(s))for(var c=0,l=t.getDirectories(s);c<l.length;c++){var u=l[c],d=e.normalizePath(u),p=e.combinePaths(s,d,"package.json");if(!(t.fileExists(p)&&null===e.readJson(p,t).typings)){var f=e.getBaseFileName(d);46!==f.charCodeAt(0)&&r.push(f)}}}}return r},e.createModuleResolutionCache=function(e,n,t){return E(b(t),b(t),e,n)},e.createCacheWithRedirects=b,e.createModuleResolutionCacheWithMaps=E,e.resolveModuleNameFromCache=function(n,t,r){var a=e.getDirectoryPath(t),i=r&&r.getOrCreateCacheForDirectory(a);return i&&i.get(n)},e.resolveModuleName=function(r,a,i,o,s,c){var l=t(i,o);c&&(i=c.commandLine.options),l&&(n(o,e.Diagnostics.Resolving_module_0_from_1,r,a),c&&n(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,c.sourceFile.fileName));var u=e.getDirectoryPath(a),d=s&&s.getOrCreateCacheForDirectory(u,c),p=d&&d.get(r);if(p)l&&n(o,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,r,u);else{var f=i.moduleResolution;switch(void 0===f?(f=e.getEmitModuleKind(i)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic,l&&n(o,e.Diagnostics.Module_resolution_kind_is_not_specified_using_0,e.ModuleResolutionKind[f])):l&&n(o,e.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,e.ModuleResolutionKind[f]),e.perfLogger.logStartResolveModule(r),f){case e.ModuleResolutionKind.NodeJs:p=C(r,a,i,o,s,c);break;case e.ModuleResolutionKind.Classic:p=Y(r,a,i,o,s,c);break;default:return e.Debug.fail("Unexpected moduleResolution: "+f)}p&&p.resolvedModule&&e.perfLogger.logInfoEvent('Module "'+r+'" resolved to "'+p.resolvedModule.resolvedFileName+'"'),e.perfLogger.logStopResolveModule(p&&p.resolvedModule?""+p.resolvedModule.resolvedFileName:"null"),d&&(d.set(r,p),e.isExternalModuleNameRelative(r)||s.getOrCreateCacheForModuleName(r,c).set(u,p))}return l&&(p.resolvedModule?p.resolvedModule.packageId?n(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,r,p.resolvedModule.resolvedFileName,e.packageIdToString(p.resolvedModule.packageId)):n(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1,r,p.resolvedModule.resolvedFileName):n(o,e.Diagnostics.Module_name_0_was_not_resolved,r)),p},e.resolveJSModule=function(e,n,t){var r=D(e,n,t),a=r.resolvedModule,i=r.failedLookupLocations;if(!a)throw new Error("Could not resolve JS module '"+e+"' starting at '"+n+"'. Looked in: "+i.join(", "));return a.resolvedFileName},e.tryResolveJSModule=function(e,n,t){var r=D(e,n,t).resolvedModule;return r&&r.resolvedFileName};var S=[c.JavaScript],L=[c.TypeScript,c.JavaScript],x=o(L,[c.Json]),A=[c.TSConfig];function D(n,t,r){return I(n,t,{moduleResolution:e.ModuleResolutionKind.NodeJs,allowJs:!0},r,void 0,S,void 0)}function C(n,t,r,a,i,o,s){return I(n,e.getDirectoryPath(t),r,a,i,s?A:r.resolveJsonModule?x:L,o)}function I(r,a,i,o,l,u,p){var f,m,_=t(i,o),g=[],y={compilerOptions:i,host:o,traceEnabled:_,failedLookupLocations:g},h=e.forEach(u,(function(t){return function(t){var u=T(t,r,a,(function(e,n,t,r){return R(e,n,t,r,!0)}),y);if(u)return Q({resolved:u,isExternalLibraryImport:k(u.path)});if(e.isExternalModuleNameRelative(r)){var d=e.normalizePathAndParts(e.combinePaths(a,r)),f=d.path,m=d.parts,g=R(t,f,!1,y,!0);return g&&Q({resolved:g,isExternalLibraryImport:e.contains(m,"node_modules")})}_&&n(o,e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,r,c[t]);var h=j(t,r,a,y,l,p);if(!h)return;var v=h.value;if(!i.preserveSymlinks&&v&&!v.originalPath){var b=N(v.path,o,_),E=b===v.path?void 0:v.path;v=s(s({},v),{path:b,originalPath:E})}return{value:v&&{resolved:v,isExternalLibraryImport:!0}}}(t)}));return d(null===(f=null==h?void 0:h.value)||void 0===f?void 0:f.resolved,null===(m=null==h?void 0:h.value)||void 0===m?void 0:m.isExternalLibraryImport,g,y.resultFromCache)}function N(t,r,a){if(!r.realpath)return t;var i=e.normalizePath(r.realpath(t));return a&&n(r,e.Diagnostics.Resolving_real_path_for_0_result_1,t,i),e.Debug.assert(r.fileExists(i),t+" linked to nonexistent file "+i),i}function R(t,a,i,o,s){if(o.traceEnabled&&n(o.host,e.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,a,c[t]),!e.hasTrailingDirectorySeparator(a)){if(!i){var l=e.getDirectoryPath(a);e.directoryProbablyExists(l,o.host)||(o.traceEnabled&&n(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,l),i=!0)}var u=M(t,a,i,o);if(u){var d=s?function(n){var t=e.normalizePath(n.path),r=t.lastIndexOf(e.nodeModulesPathPart);if(-1===r)return;var a=r+e.nodeModulesPathPart.length,i=O(t,a);64===t.charCodeAt(a)&&(i=O(t,i));return t.slice(0,i)}(u):void 0;return r(d?B(d,!1,o):void 0,u)}}i||(e.directoryProbablyExists(a,o.host)||(o.traceEnabled&&n(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,a),i=!0));return G(t,a,i,o,s)}function k(n){return e.stringContains(n,e.nodeModulesPathPart)}function O(n,t){var r=n.indexOf(e.directorySeparator,t+1);return-1===r?t:r}function P(e,n,t,r){return a(M(e,n,t,r))}function M(t,r,a,i){if(t===c.Json||t===c.TSConfig){var o=e.tryRemoveExtension(r,".json");return void 0===o&&t===c.Json?void 0:w(o||r,t,a,i)}var s=w(r,t,a,i);if(s)return s;if(e.hasJSFileExtension(r)){var l=e.removeFileExtension(r);if(i.traceEnabled){var u=r.substring(l.length);n(i.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,r,u)}return w(l,t,a,i)}}function w(n,t,r,a){if(!r){var i=e.getDirectoryPath(n);i&&(r=!e.directoryProbablyExists(i,a.host))}switch(t){case c.DtsOnly:return o(".d.ts");case c.TypeScript:return o(".ts")||o(".tsx")||o(".d.ts");case c.JavaScript:return o(".js")||o(".jsx");case c.TSConfig:case c.Json:return o(".json")}function o(e){var t=F(n+e,r,a);return void 0===t?void 0:{path:t,ext:e}}}function F(t,r,a){if(!r){if(a.host.fileExists(t))return a.traceEnabled&&n(a.host,e.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,t),t;a.traceEnabled&&n(a.host,e.Diagnostics.File_0_does_not_exist,t)}a.failedLookupLocations.push(t)}function G(e,n,t,a,i){void 0===i&&(i=!0);var o=i?B(n,t,a):void 0;return r(o,U(e,n,t,a,o&&o.packageJsonContent,o&&o.versionPaths))}function B(t,r,a){var i=a.host,o=a.traceEnabled,s=!r&&e.directoryProbablyExists(t,i),c=e.combinePaths(t,"package.json");if(s&&i.fileExists(c)){var l=e.readJson(c,i);return o&&n(i,e.Diagnostics.Found_package_json_at_0,c),{packageDirectory:t,packageJsonContent:l,versionPaths:g(l,a)}}s&&o&&n(i,e.Diagnostics.File_0_does_not_exist,c),a.failedLookupLocations.push(c)}function U(t,r,o,s,l,u){var d;if(l)switch(t){case c.JavaScript:case c.Json:d=_(l,r,s);break;case c.TypeScript:d=m(l,r,s)||_(l,r,s);break;case c.DtsOnly:d=m(l,r,s);break;case c.TSConfig:d=function(e,n,t){return f(e,"tsconfig",n,t)}(l,r,s);break;default:return e.Debug.assertNever(t)}var p=function(t,r,i,o){var s=F(r,i,o);if(s){var l=function(n,t){var r=e.tryGetExtensionFromPath(t);return void 0!==r&&function(e,n){switch(e){case c.JavaScript:return".js"===n||".jsx"===n;case c.TSConfig:case c.Json:return".json"===n;case c.TypeScript:return".ts"===n||".tsx"===n||".d.ts"===n;case c.DtsOnly:return".d.ts"===n}}(n,r)?{path:t,ext:r}:void 0}(t,s);if(l)return a(l);o.traceEnabled&&n(o.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,s)}return R(t===c.DtsOnly?c.TypeScript:t,r,i,o,!1)},g=d?!e.directoryProbablyExists(e.getDirectoryPath(d),s.host):void 0,y=o||!e.directoryProbablyExists(r,s.host),h=e.combinePaths(r,t===c.TSConfig?"tsconfig":"index");if(u&&(!d||e.containsPath(r,d))){var v=e.getRelativePathFromDirectory(r,d||h,!1);s.traceEnabled&&n(s.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,u.version,e.version,v);var b=q(t,v,r,u.paths,p,g||y,s);if(b)return i(b.value)}var E=d&&i(p(t,d,g,s));return E||M(t,h,y,s)}function V(n){var t=n.indexOf(e.directorySeparator);return"@"===n[0]&&(t=n.indexOf(e.directorySeparator,t+1)),-1===t?{packageName:n,rest:""}:{packageName:n.slice(0,t),rest:n.slice(t+1)}}function j(e,n,t,r,a,i){return K(e,n,t,r,!1,a,i)}function K(n,t,r,a,i,o,s){var c=o&&o.getOrCreateCacheForModuleName(t,s);return e.forEachAncestorDirectory(e.normalizeSlashes(r),(function(r){if("node_modules"!==e.getBaseFileName(r)){var o=X(c,t,r,a);return o||Q(H(n,t,r,a,i))}}))}function H(t,r,a,i,o){var s=e.combinePaths(a,"node_modules"),l=e.directoryProbablyExists(s,i.host);!l&&i.traceEnabled&&n(i.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,s);var u=o?void 0:W(t,r,s,l,i);if(u)return u;if(t===c.TypeScript||t===c.DtsOnly){var d=e.combinePaths(s,"@types"),p=l;return l&&!e.directoryProbablyExists(d,i.host)&&(i.traceEnabled&&n(i.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,d),p=!1),W(c.DtsOnly,function(t,r){var a=z(t);r.traceEnabled&&a!==t&&n(r.host,e.Diagnostics.Scoped_package_detected_looking_in_0,a);return a}(r,i),d,p,i)}}function W(t,i,o,s,c){var l=e.normalizePath(e.combinePaths(o,i)),u=B(l,!s,c);if(u){var d=M(t,l,!s,c);if(d)return a(d);var p=U(t,l,!s,c,u.packageJsonContent,u.versionPaths);return r(u,p)}var f=function(e,n,t,a){var i=M(e,n,t,a)||U(e,n,t,a,u&&u.packageJsonContent,u&&u.versionPaths);return r(u,i)},m=V(i),_=m.packageName,g=m.rest;if(""!==g){var y=e.combinePaths(o,_);if((u=B(y,!s,c))&&u.versionPaths){c.traceEnabled&&n(c.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,u.versionPaths.version,e.version,g);var h=s&&e.directoryProbablyExists(y,c.host),v=q(t,g,y,u.versionPaths.paths,f,!h,c);if(v)return v.value}}return f(t,l,!s,c)}function q(t,r,i,o,s,c,l){var u=e.matchPatternOrExact(e.getOwnKeys(o),r);if(u){var d=e.isString(u)?void 0:e.matchedText(u,r),p=e.isString(u)?u:e.patternText(u);return l.traceEnabled&&n(l.host,e.Diagnostics.Module_name_0_matched_pattern_1,r,p),{value:e.forEach(o[p],(function(r){var o=d?r.replace("*",d):r,u=e.normalizePath(e.combinePaths(i,o));l.traceEnabled&&n(l.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,r,o);var p=e.tryGetExtensionFromPath(u);if(void 0!==p){var f=F(u,c,l);if(void 0!==f)return a({path:f,ext:p})}return s(t,u,c||!e.directoryProbablyExists(e.getDirectoryPath(u),l.host),l)}))}}}e.nodeModuleNameResolver=C,e.nodeModulesPathPart="/node_modules/",e.pathContainsNodeModules=k,e.parsePackageName=V;function z(n){if(e.startsWith(n,"@")){var t=n.replace(e.directorySeparator,"__");if(t!==n)return t.slice(1)}return n}function J(n){return e.stringContains(n,"__")?"@"+n.replace("__",e.directorySeparator):n}function X(t,r,a,i){var o=t&&t.get(a);if(o)return i.traceEnabled&&n(i.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,r,a),i.resultFromCache=o,{value:o.resolvedModule&&{path:o.resolvedModule.resolvedFileName,originalPath:o.resolvedModule.originalPath||!0,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId}}}function Y(n,r,a,i,o,s){var l=[],u={compilerOptions:a,host:i,traceEnabled:t(a,i),failedLookupLocations:l},p=e.getDirectoryPath(r),f=m(c.TypeScript)||m(c.JavaScript);return d(f&&f.value,!1,l,u.resultFromCache);function m(t){var r=T(t,n,p,P,u);if(r)return{value:r};if(e.isExternalModuleNameRelative(n)){var a=e.normalizePath(e.combinePaths(p,n));return Q(P(t,a,!1,u))}var i=o&&o.getOrCreateCacheForModuleName(n,s),l=e.forEachAncestorDirectory(p,(function(r){var a=X(i,n,r,u);if(a)return a;var o=e.normalizePath(e.combinePaths(r,n));return Q(P(t,o,!1,u))}));return l||(t===c.TypeScript?function(e,n,t){return K(c.DtsOnly,e,n,t,!0,void 0,void 0)}(n,p,u):void 0)}}function Q(e){return void 0!==e?{value:e}:void 0}e.getTypesPackageName=function(e){return"@types/"+z(e)},e.mangleScopedPackageName=z,e.getPackageNameFromTypesPackageName=function(n){var t=e.removePrefix(n,"@types/");return t!==n?J(t):n},e.unmangleScopedPackageName=J,e.classicNameResolver=Y,e.loadModuleFromGlobalCache=function(r,a,i,o,s){var l=t(i,o);l&&n(o,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,a,r,s);var u=[],p={compilerOptions:i,host:o,traceEnabled:l,failedLookupLocations:u};return d(H(c.DtsOnly,r,s,p,!1),!0,u,p.resultFromCache)}}(p||(p={})),function(e){var n;function t(n,t){return n.body&&!n.body.parent&&(e.setParent(n.body,n),e.setParentRecursive(n.body,!1)),n.body?r(n.body,t):1}function r(n,i){void 0===i&&(i=new e.Map);var o=e.getNodeId(n);if(i.has(o))return i.get(o)||0;i.set(o,void 0);var s=function(n,i){switch(n.kind){case 250:case 251:return 0;case 252:if(e.isEnumConst(n))return 2;break;case 258:case 257:if(!e.hasSyntacticModifier(n,1))return 0;break;case 264:var o=n;if(!o.moduleSpecifier&&o.exportClause&&265===o.exportClause.kind){for(var s=0,c=0,l=o.exportClause.elements;c<l.length;c++){var u=a(l[c],i);if(u>s&&(s=u),1===s)return s}return s}break;case 254:var d=0;return e.forEachChild(n,(function(n){var t=r(n,i);switch(t){case 0:return;case 2:return void(d=2);case 1:return d=1,!0;default:e.Debug.assertNever(t)}})),d;case 253:return t(n,i);case 78:if(n.isInJSDocNamespace)return 0}return 1}(n,i);return i.set(o,s),s}function a(n,t){for(var a=n.propertyName||n.name,i=n.parent;i;){if(e.isBlock(i)||e.isModuleBlock(i)||e.isSourceFile(i)){for(var o=void 0,s=0,c=i.statements;s<c.length;s++){var l=c[s];if(e.nodeHasName(l,a)){l.parent||(e.setParent(l,i),e.setParentRecursive(l,!1));var u=r(l,t);if((void 0===o||u>o)&&(o=u),1===o)return o}}if(void 0!==o)return o}i=i.parent}return 1}function i(n){return e.Debug.attachFlowNodeDebugInfo(n),n}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t,function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(n||(n={}));var c=function(){var n,r,a,c,p,f,m,_,g,y,h,v,b,E,T,S,L,x,A,D,C,I,N,R,k=0,O={flags:1},P={flags:1};function M(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(t)||n,t,r,a,i,o)}return function(t,o){n=t,r=o,a=e.getEmitScriptTarget(r),I=function(n,t){return!(!e.getStrictOptionValue(t,"alwaysStrict")||n.isDeclarationFile)||!!n.externalModuleIndicator}(n,o),R=new e.Set,k=0,N=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(O),e.Debug.attachFlowNodeDebugInfo(P),n.locals||(Pe(n),n.symbolCount=k,n.classifiableNames=R,function(){if(!g)return;for(var t=p,r=_,a=m,o=c,s=h,l=0,d=g;l<d.length;l++){var f=d[l],y=e.getJSDocHost(f);p=e.findAncestor(y.parent,(function(e){return!!(1&Ee(e))}))||n,m=e.getEnclosingBlockScopeContainer(y)||n,h=i({flags:2}),c=f,Pe(f.typeExpression);var v=e.getNameOfDeclaration(f);if((e.isJSDocEnumTag(f)||!f.fullName)&&v&&e.isPropertyAccessEntityNameExpression(v.parent)){var b=Je(v.parent);if(b){qe(n.symbol,v.parent,b,!!e.findAncestor(v,(function(n){return e.isPropertyAccessExpression(n)&&"prototype"===n.name.escapedText})),!1);var E=p;switch(e.getAssignmentDeclarationPropertyAccessKind(v.parent)){case 1:case 2:p=e.isExternalOrCommonJsModule(n)?n:void 0;break;case 4:p=v.parent.expression;break;case 3:p=v.parent.expression.name;break;case 5:p=u(n,v.parent.expression)?n:e.isPropertyAccessExpression(v.parent.expression)?v.parent.expression.name:v.parent.expression;break;case 0:return e.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}p&&V(f,524288,788968),p=E}}else e.isJSDocEnumTag(f)||!f.fullName||78===f.fullName.kind?(c=f.parent,De(f,524288,788968)):Pe(f.fullName)}p=t,_=r,m=a,c=o,h=s}()),n=void 0,r=void 0,a=void 0,c=void 0,p=void 0,f=void 0,m=void 0,_=void 0,g=void 0,y=!1,h=void 0,v=void 0,b=void 0,E=void 0,T=void 0,S=void 0,L=void 0,A=void 0,D=!1,C=0};function w(e,n){return k++,new N(e,n)}function F(n,t,r){n.flags|=r,t.symbol=n,n.declarations=e.appendIfUnique(n.declarations,t),1955&r&&!n.exports&&(n.exports=e.createSymbolTable()),6240&r&&!n.members&&(n.members=e.createSymbolTable()),n.constEnumOnlyModule&&304&n.flags&&(n.constEnumOnlyModule=!1),111551&r&&e.setValueDeclaration(n,t)}function G(n){if(263===n.kind)return n.isExportEquals?"export=":"default";var t=e.getNameOfDeclaration(n);if(t){if(e.isAmbientModule(n)){var r=e.getTextOfIdentifierOrLiteral(t);return e.isGlobalScopeAugmentation(n)?"__global":'"'+r+'"'}if(157===t.kind){var a=t.expression;return e.isStringOrNumericLiteralLike(a)?e.escapeLeadingUnderscores(a.text):e.isSignedNumericLiteral(a)?e.tokenToString(a.operator)+a.operand.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(a)),e.getPropertyNameForKnownSymbolName(e.idText(a.name)))}if(e.isWellKnownSymbolSyntactically(t))return e.getPropertyNameForKnownSymbolName(e.idText(t.name));if(e.isPrivateIdentifier(t)){var i=e.getContainingClass(n);if(!i)return;var o=i.symbol;return e.getSymbolNameForPrivateIdentifier(o,t.escapedText)}return e.isPropertyNameLiteral(t)?e.getEscapedTextOfIdentifierOrLiteral(t):void 0}switch(n.kind){case 165:return"__constructor";case 173:case 168:case 309:return"__call";case 174:case 169:return"__new";case 170:return"__index";case 264:return"__export";case 294:return"export=";case 213:if(2===e.getAssignmentDeclarationKind(n))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 304:return e.isJSDocConstructSignature(n)?"__new":"__call";case 159:return e.Debug.assert(304===n.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[n.parent.kind]:n.parent.kind)+", expected JSDocFunctionType"})),"arg"+n.parent.parameters.indexOf(n)}}function B(n){return e.isNamedDeclaration(n)?e.declarationNameToString(n.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(G(n)))}function U(t,r,a,i,s,c){e.Debug.assert(!e.hasDynamicName(a));var l,u=e.hasSyntacticModifier(a,512)||e.isExportSpecifier(a)&&"default"===a.name.escapedText,d=u&&r?"default":G(a);if(void 0===d)l=w(0,"__missing");else if(l=t.get(d),2885600&i&&R.add(d),l){if(c&&!l.isReplaceableByMethod)return l;if(l.flags&s)if(l.isReplaceableByMethod)t.set(d,l=w(0,d));else if(!(3&i&&67108864&l.flags)){e.isNamedDeclaration(a)&&e.setParent(a.name,a);var p=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,f=!0;(384&l.flags||384&i)&&(p=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,f=!1);var m=!1;e.length(l.declarations)&&(u||l.declarations&&l.declarations.length&&263===a.kind&&!a.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports,f=!1,m=!0);var _=[];e.isTypeAliasDeclaration(a)&&e.nodeIsMissing(a.type)&&e.hasSyntacticModifier(a,1)&&2887656&l.flags&&_.push(M(a,e.Diagnostics.Did_you_mean_0,"export type { "+e.unescapeLeadingUnderscores(a.name.escapedText)+" }"));var g=e.getNameOfDeclaration(a)||a;e.forEach(l.declarations,(function(t,r){var a=e.getNameOfDeclaration(t)||t,i=M(a,p,f?B(t):void 0);n.bindDiagnostics.push(m?e.addRelatedInfo(i,M(g,0===r?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):i),m&&_.push(M(a,e.Diagnostics.The_first_export_default_is_here))}));var y=M(g,p,f?B(a):void 0);n.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,o([y],_))),l=w(0,d)}}else t.set(d,l=w(0,d)),c&&(l.isReplaceableByMethod=!0);return F(l,a,i),l.parent?e.Debug.assert(l.parent===r,"Existing symbol parent should match new one"):l.parent=r,l}function V(n,t,r){var a=1&e.getCombinedModifierFlags(n);if(2097152&t)return 267===n.kind||257===n.kind&&a?U(p.symbol.exports,p.symbol,n,t,r):U(p.locals,void 0,n,t,r);if(e.isJSDocTypeAlias(n)&&e.Debug.assert(e.isInJSFile(n)),!e.isAmbientModule(n)&&(a||64&p.flags)||e.isJSDocTypeAlias(n)){if(!p.locals||e.hasSyntacticModifier(n,512)&&!G(n))return U(p.symbol.exports,p.symbol,n,t,r);var i=111551&t?1048576:0,o=U(p.locals,void 0,n,i,r);return o.exportSymbol=U(p.symbol.exports,p.symbol,n,t,r),n.localSymbol=o,o}return U(p.locals,void 0,n,t,r)}function j(e){K(e,(function(e){return 248===e.kind?Pe(e):void 0})),K(e,(function(e){return 248!==e.kind?Pe(e):void 0}))}function K(n,t){void 0===t&&(t=Pe),void 0!==n&&e.forEach(n,t)}function H(n){e.forEachChild(n,Pe,K)}function W(n){if(function(n){if(!(1&h.flags))return!1;if(h===O){if((e.isStatementButNotDeclaration(n)&&228!==n.kind||249===n.kind||253===n.kind&&function(e){var n=t(e);return 1===n||2===n&&!!r.preserveConstEnums}(n))&&(h=P,!r.allowUnreachableCode)){var a=e.unreachableCodeIsError(r)&&!(8388608&n.flags)&&(!e.isVariableStatement(n)||!!(3&e.getCombinedNodeFlags(n.declarationList))||n.declarationList.declarations.some((function(e){return!!e.initializer})));!function(n,t){if(e.isStatement(n)&&l(n)&&e.isBlock(n.parent)){var r=n.parent.statements,a=e.sliceAfter(r,n);e.getRangesWhere(a,l,(function(e,n){return t(a[e],a[n-1])}))}else t(n,n)}(n,(function(n,t){return Oe(a,n,t,e.Diagnostics.Unreachable_code_detected)}))}}return!0}(n))return H(n),void Me(n);switch(n.kind>=229&&n.kind<=245&&!r.allowUnreachableCode&&(n.flowNode=h),n.kind){case 233:!function(e){var n=fe(e,Z()),t=Q(),r=Q();ne(n,h),h=n,de(e.expression,t,r),h=oe(t),pe(e.statement,r,n),ne(n,h),h=oe(r)}(n);break;case 232:!function(e){var n=Z(),t=fe(e,Q()),r=Q();ne(n,h),h=n,pe(e.statement,r,t),ne(t,h),h=oe(t),de(e.expression,n,r),h=oe(r)}(n);break;case 234:!function(e){var n=fe(e,Z()),t=Q(),r=Q();Pe(e.initializer),ne(n,h),h=n,de(e.condition,t,r),h=oe(t),pe(e.statement,r,n),Pe(e.incrementor),ne(n,h),h=oe(r)}(n);break;case 235:case 236:!function(e){var n=fe(e,Z()),t=Q();Pe(e.expression),ne(n,h),h=n,236===e.kind&&Pe(e.awaitModifier);ne(t,h),Pe(e.initializer),247!==e.initializer.kind&&ge(e.initializer);pe(e.statement,t,n),ne(n,h),h=oe(t)}(n);break;case 231:!function(e){var n=Q(),t=Q(),r=Q();de(e.expression,n,t),h=oe(n),Pe(e.thenStatement),ne(r,h),h=oe(t),Pe(e.elseStatement),ne(r,h),h=oe(r)}(n);break;case 239:case 243:!function(e){Pe(e.expression),239===e.kind&&(D=!0,E&&ne(E,h));h=O}(n);break;case 238:case 237:!function(e){if(Pe(e.label),e.label){var n=function(e){for(var n=A;n;n=n.next)if(n.name===e)return n;return}(e.label.escapedText);n&&(n.referenced=!0,me(e,n.breakTarget,n.continueTarget))}else me(e,v,b)}(n);break;case 244:!function(n){var t=E,r=L,a=Q(),i=Q(),o=Q();n.finallyBlock&&(E=i);ne(o,h),L=o,Pe(n.tryBlock),ne(a,h),n.catchClause&&(h=oe(o),ne(o=Q(),h),L=o,Pe(n.catchClause),ne(a,h));if(E=t,L=r,n.finallyBlock){var s=Q();s.antecedents=e.concatenate(e.concatenate(a.antecedents,o.antecedents),i.antecedents),h=s,Pe(n.finallyBlock),1&h.flags?h=O:(E&&i.antecedents&&ne(E,$(s,i.antecedents,h)),L&&o.antecedents&&ne(L,$(s,o.antecedents,h)),h=a.antecedents?$(s,a.antecedents,h):O)}else h=oe(a)}(n);break;case 241:!function(n){var t=Q();Pe(n.expression);var r=v,a=x;v=t,x=h,Pe(n.caseBlock),ne(t,h);var i=e.forEach(n.caseBlock.clauses,(function(e){return 282===e.kind}));n.possiblyExhaustive=!i&&!t.antecedents,i||ne(t,re(x,n,0,0));v=r,x=a,h=oe(t)}(n);break;case 255:!function(e){for(var n=e.clauses,t=q(e.parent.expression),a=O,i=0;i<n.length;i++){for(var o=i;!n[i].statements.length&&i+1<n.length;)Pe(n[i]),i++;var s=Q();ne(s,t?re(x,e.parent,o,i+1):x),ne(s,a),h=oe(s);var c=n[i];Pe(c),a=h,1&h.flags||i===n.length-1||!r.noFallthroughCasesInSwitch||(c.fallthroughFlowNode=h)}}(n);break;case 281:!function(e){var n=h;h=x,Pe(e.expression),h=n,K(e.statements)}(n);break;case 230:!function(n){if(Pe(n.expression),200===n.expression.kind){var t=n.expression;e.isDottedName(t.expression)&&105!==t.expression.kind&&(h=ie(h,t))}}(n);break;case 242:!function(n){var t=Q();A={next:A,name:n.label.escapedText,breakTarget:t,continueTarget:void 0,referenced:!1},Pe(n.label),Pe(n.statement),A.referenced||r.allowUnusedLabels||function(e,n,t){Oe(e,n,n,t)}(e.unusedLabelIsError(r),n.label,e.Diagnostics.Unused_label);A=A.next,ne(t,h),h=oe(t)}(n);break;case 211:!function(e){if(53===e.operator){var n=T;T=S,S=n,H(e),S=T,T=n}else H(e),45!==e.operator&&46!==e.operator||ge(e.operand)}(n);break;case 212:!function(e){H(e),(45===e.operator||46===e.operator)&&ge(e.operand)}(n);break;case 213:!function(n){var t={expr:[n],state:[1],inStrictMode:[void 0],parent:[void 0]},r=0;for(;r>=0;)switch(n=t.expr[r],t.state[r]){case 0:e.setParent(n,c);var a=I;Fe(n);var i=c;c=n,l(1,a,i);break;case 1:if(55===(s=n.operatorToken.kind)||56===s||60===s||e.isLogicalOrCoalescingAssignmentOperator(s)){if(le(n)){var o=Q();ye(n,o,o),h=oe(o)}else ye(n,T,S);u()}else l(2),d(n.left);break;case 2:l(3),d(n.operatorToken);break;case 3:l(4),d(n.right);break;case 4:var s=n.operatorToken.kind;if(e.isAssignmentOperator(s)&&!e.isAssignmentTarget(n))if(ge(n.left),62===s&&199===n.left.kind)Y(n.left.expression)&&(h=ae(256,h,n));u();break;default:return e.Debug.fail("Invalid state "+t.state[r]+" for bindBinaryExpressionFlow")}function l(e,n,a){t.state[r]=e,void 0!==n&&(t.inStrictMode[r]=n),void 0!==a&&(t.parent[r]=a)}function u(){void 0!==t.inStrictMode[r]&&(I=t.inStrictMode[r],c=t.parent[r]),r--}function d(n){n&&e.isBinaryExpression(n)?(r++,t.expr[r]=n,t.state[r]=0,t.inStrictMode[r]=void 0,t.parent[r]=void 0):Pe(n)}}(n);break;case 207:!function(e){H(e),198===e.expression.kind&&ge(e.expression)}(n);break;case 214:!function(e){var n=Q(),t=Q(),r=Q();de(e.condition,n,t),h=oe(n),Pe(e.questionToken),Pe(e.whenTrue),ne(r,h),h=oe(t),Pe(e.colonToken),Pe(e.whenFalse),ne(r,h),h=oe(r)}(n);break;case 246:!function(n){H(n),(n.initializer||e.isForInOrOfStatement(n.parent.parent))&&function n(t){var r=e.isOmittedExpression(t)?void 0:t.name;if(e.isBindingPattern(r))for(var a=0,i=r.elements;a<i.length;a++){var o=i[a];n(o)}else h=ae(16,h,t)}(n)}(n);break;case 198:case 199:!function(n){e.isOptionalChain(n)?be(n):H(n)}(n);break;case 200:!function(n){if(e.isOptionalChain(n))be(n);else{var t=e.skipParentheses(n.expression);205===t.kind||206===t.kind?(K(n.typeArguments),K(n.arguments),Pe(n.expression)):(H(n),105===n.expression.kind&&(h=ie(h,n)))}if(198===n.expression.kind){var r=n.expression;e.isIdentifier(r.name)&&Y(r.expression)&&e.isPushOrUnshiftIdentifier(r.name)&&(h=ae(256,h,n))}}(n);break;case 222:!function(n){e.isOptionalChain(n)?be(n):H(n)}(n);break;case 327:case 320:case 321:!function(n){e.setParent(n.tagName,n),321!==n.kind&&n.fullName&&(e.setParent(n.fullName,n),e.setParentRecursive(n.fullName,!1))}(n);break;case 294:j(n.statements),Pe(n.endOfFileToken);break;case 227:case 254:j(n.statements);break;default:H(n)}Me(n)}function q(n){switch(n.kind){case 78:case 107:case 198:case 199:return J(n);case 200:return function(e){if(e.arguments)for(var n=0,t=e.arguments;n<t.length;n++){if(J(t[n]))return!0}if(198===e.expression.kind&&J(e.expression.expression))return!0;return!1}(n);case 204:return q(n.expression);case 213:return function(n){switch(n.operatorToken.kind){case 62:case 74:case 75:case 76:return J(n.left);case 34:case 35:case 36:case 37:return Y(n.left)||Y(n.right)||X(n.right,n.left)||X(n.left,n.right);case 101:return Y(n.left);case 100:return t=n.left,r=n.right,e.isStringLiteralLike(t)&&q(r);case 27:return q(n.right)}var t,r;return!1}(n);case 211:return 53===n.operator&&q(n.operand);case 208:return q(n.expression)}return!1}function z(n){return 78===n.kind||107===n.kind||105===n.kind||(e.isPropertyAccessExpression(n)||e.isNonNullExpression(n)||e.isParenthesizedExpression(n))&&z(n.expression)||e.isElementAccessExpression(n)&&e.isStringOrNumericLiteralLike(n.argumentExpression)&&z(n.expression)||e.isAssignmentExpression(n)&&z(n.left)}function J(n){return z(n)||e.isOptionalChain(n)&&J(n.expression)}function X(n,t){return e.isTypeOfExpression(n)&&Y(n.expression)&&e.isStringLiteralLike(t)}function Y(e){switch(e.kind){case 204:return Y(e.expression);case 213:switch(e.operatorToken.kind){case 62:return Y(e.left);case 27:return Y(e.right)}}return J(e)}function Q(){return i({flags:4,antecedents:void 0})}function Z(){return i({flags:8,antecedents:void 0})}function $(e,n,t){return i({flags:1024,target:e,antecedents:n,antecedent:t})}function ee(e){e.flags|=2048&e.flags?4096:2048}function ne(n,t){1&t.flags||e.contains(n.antecedents,t)||((n.antecedents||(n.antecedents=[])).push(t),ee(t))}function te(n,t,r){return 1&t.flags?t:r?!(109===r.kind&&64&n||94===r.kind&&32&n)||e.isExpressionOfOptionalChainRoot(r)||e.isNullishCoalesce(r.parent)?q(r)?(ee(t),i({flags:n,antecedent:t,node:r})):t:O:32&n?t:O}function re(e,n,t,r){return ee(e),i({flags:128,antecedent:e,switchStatement:n,clauseStart:t,clauseEnd:r})}function ae(e,n,t){ee(n);var r=i({flags:e,antecedent:n,node:t});return L&&ne(L,r),r}function ie(e,n){return ee(e),i({flags:512,antecedent:e,node:n})}function oe(e){var n=e.antecedents;return n?1===n.length?n[0]:e:O}function se(e){for(;;)if(204===e.kind)e=e.expression;else{if(211!==e.kind||53!==e.operator)return 213===e.kind&&(55===e.operatorToken.kind||56===e.operatorToken.kind||60===e.operatorToken.kind);e=e.operand}}function ce(n){return n=e.skipParentheses(n),e.isBinaryExpression(n)&&e.isLogicalOrCoalescingAssignmentOperator(n.operatorToken.kind)}function le(n){for(;e.isParenthesizedExpression(n.parent)||e.isPrefixUnaryExpression(n.parent)&&53===n.parent.operator;)n=n.parent;return!(function(e){var n=e.parent;switch(n.kind){case 231:case 233:case 232:return n.expression===e;case 234:case 214:return n.condition===e}return!1}(n)||ce(n.parent)||se(n.parent)||e.isOptionalChain(n.parent)&&n.parent.expression===n)}function ue(e,n,t,r){var a=T,i=S;T=t,S=r,e(n),T=a,S=i}function de(n,t,r){ue(Pe,n,t,r),n&&(ce(n)||se(n)||e.isOptionalChain(n)&&e.isOutermostOptionalChain(n))||(ne(t,te(32,h,n)),ne(r,te(64,h,n)))}function pe(e,n,t){var r=v,a=b;v=n,b=t,Pe(e),v=r,b=a}function fe(e,n){for(var t=A;t&&242===e.parent.kind;)t.continueTarget=n,t=t.next,e=e.parent;return n}function me(e,n,t){var r=238===e.kind?n:t;r&&(ne(r,h),h=O)}function _e(e){213===e.kind&&62===e.operatorToken.kind?ge(e.left):ge(e)}function ge(e){if(z(e))h=ae(16,h,e);else if(196===e.kind)for(var n=0,t=e.elements;n<t.length;n++){var r=t[n];217===r.kind?ge(r.expression):_e(r)}else if(197===e.kind)for(var a=0,i=e.properties;a<i.length;a++){var o=i[a];285===o.kind?_e(o.initializer):286===o.kind?ge(o.name):287===o.kind&&ge(o.expression)}}function ye(n,t,r){var a=Q();55===n.operatorToken.kind||75===n.operatorToken.kind?de(n.left,a,r):de(n.left,t,a),h=oe(a),Pe(n.operatorToken),e.isLogicalOrCoalescingAssignmentOperator(n.operatorToken.kind)?(ue(Pe,n.right,t,r),ge(n.left),ne(t,te(32,h,n)),ne(r,te(64,h,n))):de(n.right,t,r)}function he(e){switch(e.kind){case 198:Pe(e.questionDotToken),Pe(e.name);break;case 199:Pe(e.questionDotToken),Pe(e.argumentExpression);break;case 200:Pe(e.questionDotToken),K(e.typeArguments),K(e.arguments)}}function ve(n,t,r){var a=e.isOptionalChainRoot(n)?Q():void 0;!function(n,t,r){ue(Pe,n,t,r),e.isOptionalChain(n)&&!e.isOutermostOptionalChain(n)||(ne(t,te(32,h,n)),ne(r,te(64,h,n)))}(n.expression,a||t,r),a&&(h=oe(a)),ue(he,n,t,r),e.isOutermostOptionalChain(n)&&(ne(t,te(32,h,n)),ne(r,te(64,h,n)))}function be(e){if(le(e)){var n=Q();ve(e,n,n),h=oe(n)}else ve(e,T,S)}function Ee(n){switch(n.kind){case 218:case 249:case 252:case 197:case 176:case 308:case 278:return 1;case 250:return 65;case 253:case 251:case 189:return 33;case 294:return 37;case 164:if(e.isObjectLiteralOrClassExpressionMethod(n))return 173;case 165:case 248:case 163:case 166:case 167:case 168:case 309:case 304:case 173:case 169:case 170:case 174:return 45;case 205:case 206:return 61;case 254:return 4;case 162:return n.initializer?4:0;case 284:case 234:case 235:case 236:case 255:return 2;case 227:return e.isFunctionLike(n.parent)?0:2}return 0}function Te(e){_&&(_.nextContainer=e),_=e}function Se(t,r,a){switch(p.kind){case 253:return V(t,r,a);case 294:return function(t,r,a){return e.isExternalModule(n)?V(t,r,a):U(n.locals,void 0,t,r,a)}(t,r,a);case 218:case 249:return function(n,t,r){return e.hasSyntacticModifier(n,32)?U(p.symbol.exports,p.symbol,n,t,r):U(p.symbol.members,p.symbol,n,t,r)}(t,r,a);case 252:return U(p.symbol.exports,p.symbol,t,r,a);case 176:case 308:case 197:case 250:case 278:return U(p.symbol.members,p.symbol,t,r,a);case 173:case 174:case 168:case 169:case 309:case 170:case 164:case 163:case 165:case 166:case 167:case 248:case 205:case 206:case 304:case 327:case 320:case 251:case 189:return U(p.locals,void 0,t,r,a)}}function Le(n){8388608&n.flags&&!function(n){var t=e.isSourceFile(n)?n:e.tryCast(n.body,e.isModuleBlock);return!!t&&t.statements.some((function(n){return e.isExportDeclaration(n)||e.isExportAssignment(n)}))}(n)?n.flags|=64:n.flags&=-65}function xe(e){var n=t(e),r=0!==n;return Se(e,r?512:1024,r?110735:0),n}function Ae(e,n,t){var r=w(n,t);return 106508&n&&(r.parent=p.symbol),F(r,e,n),r}function De(n,t,r){switch(m.kind){case 253:V(n,t,r);break;case 294:if(e.isExternalOrCommonJsModule(p)){V(n,t,r);break}default:m.locals||(m.locals=e.createSymbolTable(),Te(m)),U(m.locals,void 0,n,t,r)}}function Ce(t){n.parseDiagnostics.length||8388608&t.flags||4194304&t.flags||e.isIdentifierName(t)||(I&&t.originalKeywordKind>=116&&t.originalKeywordKind<=124?n.bindDiagnostics.push(M(t,function(t){if(e.getContainingClass(t))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(t),e.declarationNameToString(t))):130===t.originalKeywordKind?e.isExternalModule(n)&&e.isInTopLevelContext(t)?n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(t))):32768&t.flags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(t))):124===t.originalKeywordKind&&8192&t.flags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(t))))}function Ie(t,r){if(r&&78===r.kind){var a=r;if(o=a,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var i=e.getErrorSpanForNode(n,r);n.bindDiagnostics.push(e.createFileDiagnostic(n,i.start,i.length,function(t){if(e.getContainingClass(t))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(t),e.idText(a)))}}var o}function Ne(e){I&&Ie(e,e.name)}function Re(t){if(a<2&&294!==m.kind&&253!==m.kind&&!e.isFunctionLike(m)){var r=e.getErrorSpanForNode(n,t);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,function(t){return e.getContainingClass(t)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}(t)))}}function ke(t,r,a,i,o){var s=e.getSpanOfTokenAtPosition(n,t.pos);n.bindDiagnostics.push(e.createFileDiagnostic(n,s.start,s.length,r,a,i,o))}function Oe(t,r,a,i){!function(t,r,a){var i=e.createFileDiagnostic(n,r.pos,r.end-r.pos,a);t?n.bindDiagnostics.push(i):n.bindSuggestionDiagnostics=e.append(n.bindSuggestionDiagnostics,s(s({},i),{category:e.DiagnosticCategory.Suggestion}))}(t,{pos:e.getTokenPosOfNode(r,n),end:a.end},i)}function Pe(n){if(n){e.setParent(n,c);var t=I;if(Fe(n),n.kind>155){var r=c;c=n;var a=Ee(n);0===a?W(n):function(n,t){var r=p,a=f,o=m;if(1&t?(206!==n.kind&&(f=p),p=m=n,32&t&&(p.locals=e.createSymbolTable()),Te(p)):2&t&&((m=n).locals=void 0),4&t){var s=h,c=v,l=b,u=E,d=L,_=A,g=D,T=16&t&&!e.hasSyntacticModifier(n,256)&&!n.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(n);T||(h=i({flags:2}),144&t&&(h.node=n)),E=T||165===n.kind||e.isInJSFile&&(248===n.kind||205===n.kind)?Q():void 0,L=void 0,v=void 0,b=void 0,A=void 0,D=!1,W(n),n.flags&=-2817,!(1&h.flags)&&8&t&&e.nodeIsPresent(n.body)&&(n.flags|=256,D&&(n.flags|=512),n.endFlowNode=h),294===n.kind&&(n.flags|=C),E&&(ne(E,h),h=oe(E),(165===n.kind||e.isInJSFile&&(248===n.kind||205===n.kind))&&(n.returnFlowNode=h)),T||(h=s),v=c,b=l,E=u,L=d,A=_,D=g}else 64&t?(y=!1,W(n),n.flags=y?128|n.flags:-129&n.flags):W(n);p=r,f=a,m=o}(n,a),c=r}else{r=c;1===n.kind&&(c=n),Me(n),c=r}I=t}}function Me(n){if(e.hasJSDocNodes(n))if(e.isInJSFile(n))for(var t=0,r=n.jsDoc;t<r.length;t++){Pe(o=r[t])}else for(var a=0,i=n.jsDoc;a<i.length;a++){var o=i[a];e.setParent(o,n),e.setParentRecursive(o,!1)}}function we(t){if(!I)for(var r=0,a=t;r<a.length;r++){var i=a[r];if(!e.isPrologueDirective(i))return;if(o=i,s=void 0,'"use strict"'===(s=e.getSourceTextOfNodeFromSourceFile(n,o.expression))||"'use strict'"===s)return void(I=!0)}var o,s}function Fe(t){switch(t.kind){case 78:if(t.isInJSDocNamespace){for(var a=t.parent;a&&!e.isJSDocTypeAlias(a);)a=a.parent;De(a,524288,788968);break}case 107:return h&&(e.isExpression(t)||286===c.kind)&&(t.flowNode=h),Ce(t);case 105:t.flowNode=h;break;case 79:return function(t){"#constructor"===t.escapedText&&(n.parseDiagnostics.length||n.bindDiagnostics.push(M(t,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(t))))}(t);case 198:case 199:var i=t;h&&z(i)&&(i.flowNode=h),e.isSpecialPropertyDeclaration(i)&&function(n){107===n.expression.kind?Ve(n):e.isBindableStaticAccessExpression(n)&&294===n.parent.parent.kind&&(e.isPrototypeAccess(n.expression)?He(n,n.parent):We(n))}(i),e.isInJSFile(i)&&n.commonJsModuleIndicator&&e.isModuleExportsAccessExpression(i)&&!d(m,"module")&&U(n.locals,void 0,i.expression,134217729,111550);break;case 213:switch(e.getAssignmentDeclarationKind(t)){case 1:Ue(t);break;case 2:!function(t){if(!Be(t))return;var r=e.getRightMostAssignedExpression(t.right);if(e.isEmptyObjectLiteral(r)||p===n&&u(n,r))return;var a=e.exportAssignmentIsAlias(t)?2097152:1049092,i=U(n.symbol.exports,n.symbol,t,67108864|a,0);e.setValueDeclaration(i,t)}(t);break;case 3:He(t.left,t);break;case 6:!function(n){e.setParent(n.left,n),e.setParent(n.right,n),Xe(n.left.expression,n.left,!1,!0)}(t);break;case 4:Ve(t);break;case 5:!function(t){var r=Ye(t.left.expression,p)||Ye(t.left.expression,m);if(!e.isInJSFile(t)&&!e.isFunctionSymbol(r))return;if(e.setParent(t.left,t),e.setParent(t.right,t),e.isIdentifier(t.left.expression)&&p===n&&u(n,t.left.expression))Ue(t);else if(e.hasDynamicName(t)){Ae(t,67108868,"__computed");var a=qe(r,t.left.expression,Je(t.left),!1,!1);Ke(t,a)}else We(e.cast(t.left,e.isBindableStaticNameExpression))}(t);break;case 0:break;default:e.Debug.fail("Unknown binary expression special property assignment kind")}return function(n){I&&e.isLeftHandSideExpression(n.left)&&e.isAssignmentOperator(n.operatorToken.kind)&&Ie(n,n.left)}(t);case 284:return function(e){I&&e.variableDeclaration&&Ie(e,e.variableDeclaration.name)}(t);case 207:return function(t){if(I&&78===t.expression.kind){var r=e.getErrorSpanForNode(n,t.expression);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(t);case 8:return function(t){I&&32&t.numericLiteralFlags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(t);case 212:return function(e){I&&Ie(e,e.operand)}(t);case 211:return function(e){I&&(45!==e.operator&&46!==e.operator||Ie(e,e.operand))}(t);case 240:return function(n){I&&ke(n,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(t);case 242:return function(n){I&&r.target>=2&&(e.isDeclarationStatement(n.statement)||e.isVariableStatement(n.statement))&&ke(n.label,e.Diagnostics.A_label_is_not_allowed_here)}(t);case 186:return void(y=!0);case 171:break;case 158:return function(n){if(e.isJSDocTemplateTag(n.parent)){var t=e.find(n.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(n.parent);t?(t.locals||(t.locals=e.createSymbolTable()),U(t.locals,void 0,n,262144,526824)):Se(n,262144,526824)}else if(184===n.parent.kind){var r=function(n){var t=e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&n.parent.extendsType===n}));return t&&t.parent}(n.parent);r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,n,262144,526824)):Ae(n,262144,G(n))}else Se(n,262144,526824)}(t);case 159:return $e(t);case 246:return Ze(t);case 195:return t.flowNode=h,Ze(t);case 162:case 161:return function(e){return en(e,4|(e.questionToken?16777216:0),0)}(t);case 285:case 286:return en(t,4,0);case 288:return en(t,8,900095);case 168:case 169:case 170:return Se(t,131072,0);case 164:case 163:return en(t,8192|(t.questionToken?16777216:0),e.isObjectLiteralMethod(t)?0:103359);case 248:return function(t){n.isDeclarationFile||8388608&t.flags||e.isAsyncFunction(t)&&(C|=2048);Ne(t),I?(Re(t),De(t,16,110991)):Se(t,16,110991)}(t);case 165:return Se(t,16384,0);case 166:return en(t,32768,46015);case 167:return en(t,65536,78783);case 173:case 304:case 309:case 174:return function(n){var t=w(131072,G(n));F(t,n,131072);var r=w(2048,"__type");F(r,n,2048),r.members=e.createSymbolTable(),r.members.set(t.escapedName,t)}(t);case 176:case 308:case 189:return function(e){return Ae(e,2048,"__type")}(t);case 315:return function(n){H(n);var t=e.getHostSignatureFromJSDoc(n);t&&164!==t.kind&&F(t.symbol,t,32)}(t);case 197:return function(t){var r;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(r||(r={})),I&&!e.isAssignmentTarget(t))for(var a=new e.Map,i=0,o=t.properties;i<o.length;i++){var s=o[i];if(287!==s.kind&&78===s.name.kind){var c=s.name,l=285===s.kind||286===s.kind||164===s.kind?1:2,u=a.get(c.escapedText);if(u){if(1===l&&1===u){var d=e.getErrorSpanForNode(n,c);n.bindDiagnostics.push(e.createFileDiagnostic(n,d.start,d.length,e.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))}}else a.set(c.escapedText,l)}}return Ae(t,4096,"__object")}(t);case 205:case 206:return function(t){n.isDeclarationFile||8388608&t.flags||e.isAsyncFunction(t)&&(C|=2048);h&&(t.flowNode=h);Ne(t);var r=t.name?t.name.escapedText:"__function";return Ae(t,16,r)}(t);case 200:switch(e.getAssignmentDeclarationKind(t)){case 7:return function(e){var n=Ye(e.arguments[0]),t=294===e.parent.parent.kind;n=qe(n,e.arguments[0],t,!1,!1),ze(e,n,!1)}(t);case 8:return function(e){if(!Be(e))return;var n=Qe(e.arguments[0],void 0,(function(e,n){return n&&F(n,e,67110400),n}));if(n){U(n.exports,n,e,1048580,0)}}(t);case 9:return function(e){var n=Ye(e.arguments[0].expression);n&&n.valueDeclaration&&F(n,n.valueDeclaration,32);ze(e,n,!0)}(t);case 0:break;default:return e.Debug.fail("Unknown call expression assignment declaration kind")}e.isInJSFile(t)&&function(t){!n.commonJsModuleIndicator&&e.isRequireCall(t,!1)&&Be(t)}(t);break;case 218:case 249:return I=!0,function(t){if(249===t.kind)De(t,32,899503);else{var r=t.name?t.name.escapedText:"__class";Ae(t,32,r),t.name&&R.add(t.name.escapedText)}var a=t.symbol,i=w(4194308,"prototype"),o=a.exports.get(i.escapedName);o&&(t.name&&e.setParent(t.name,t),n.bindDiagnostics.push(M(o.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.symbolName(i))));a.exports.set(i.escapedName,i),i.parent=a}(t);case 250:return De(t,64,788872);case 251:return De(t,524288,788968);case 252:return function(n){return e.isEnumConst(n)?De(n,128,899967):De(n,256,899327)}(t);case 253:return function(t){if(Le(t),e.isAmbientModule(t))if(e.hasSyntacticModifier(t,1)&&ke(t,e.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),e.isModuleAugmentationExternal(t))xe(t);else{var r=void 0;if(10===t.name.kind){var a=t.name.text;e.hasZeroOrOneAsteriskCharacter(a)?r=e.tryParsePattern(a):ke(t.name,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,a)}var i=Se(t,512,110735);n.patternAmbientModules=e.append(n.patternAmbientModules,r&&{pattern:r,symbol:i})}else{var o=xe(t);if(0!==o)(i=t.symbol).constEnumOnlyModule=!(304&i.flags)&&2===o&&!1!==i.constEnumOnlyModule}}(t);case 278:return function(e){return Ae(e,4096,"__jsxAttributes")}(t);case 277:return function(e,n,t){return Se(e,n,t)}(t,4,0);case 257:case 260:case 262:case 267:return Se(t,2097152,2097152);case 256:return function(t){t.modifiers&&t.modifiers.length&&n.bindDiagnostics.push(M(t,e.Diagnostics.Modifiers_cannot_appear_here));var r=e.isSourceFile(t.parent)?e.isExternalModule(t.parent)?t.parent.isDeclarationFile?void 0:e.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:e.Diagnostics.Global_module_exports_may_only_appear_in_module_files:e.Diagnostics.Global_module_exports_may_only_appear_at_top_level;r?n.bindDiagnostics.push(M(t,r)):(n.symbol.globalExports=n.symbol.globalExports||e.createSymbolTable(),U(n.symbol.globalExports,n.symbol,t,2097152,2097152))}(t);case 259:return function(e){e.name&&Se(e,2097152,2097152)}(t);case 264:return function(n){p.symbol&&p.symbol.exports?n.exportClause?e.isNamespaceExport(n.exportClause)&&(e.setParent(n.exportClause,n),U(p.symbol.exports,p.symbol,n.exportClause,2097152,2097152)):U(p.symbol.exports,p.symbol,n,8388608,0):Ae(n,8388608,G(n))}(t);case 263:return function(n){if(p.symbol&&p.symbol.exports){var t=e.exportAssignmentIsAlias(n)?2097152:4,r=U(p.symbol.exports,p.symbol,n,t,67108863);n.isExportEquals&&e.setValueDeclaration(r,n)}else Ae(n,2097152,G(n))}(t);case 294:return we(t.statements),function(){if(Le(n),e.isExternalModule(n))Ge();else if(e.isJsonSourceFile(n)){Ge();var t=n.symbol;U(n.symbol.exports,n.symbol,n,4,67108863),n.symbol=t}}();case 227:if(!e.isFunctionLike(t.parent))return;case 254:return we(t.statements);case 322:if(309===t.parent.kind)return $e(t);if(308!==t.parent.kind)break;case 328:var o=t;return Se(o,o.isBracketed||o.typeExpression&&303===o.typeExpression.type.kind?16777220:4,0);case 327:case 320:case 321:return(g||(g=[])).push(t)}}function Ge(){Ae(n,512,'"'+e.removeFileExtension(n.fileName)+'"')}function Be(e){return!n.externalModuleIndicator&&(n.commonJsModuleIndicator||(n.commonJsModuleIndicator=e,Ge()),!0)}function Ue(n){if(Be(n)){var t=Qe(n.left.expression,void 0,(function(e,n){return n&&F(n,e,67110400),n}));if(t){var r=e.isClassExpression(n.right)?1048612:1048580;U(t.exports,t,n.left,r,0)}}}function Ve(n){if(e.Debug.assert(e.isInJSFile(n)),!(e.isBinaryExpression(n)&&e.isPropertyAccessExpression(n.left)&&e.isPrivateIdentifier(n.left.name)||e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name))){var t=e.getThisContainer(n,!1);switch(t.kind){case 248:case 205:var r=t.symbol;if(e.isBinaryExpression(t.parent)&&62===t.parent.operatorToken.kind){var a=t.parent.left;e.isBindableStaticAccessExpression(a)&&e.isPrototypeAccess(a.expression)&&(r=Ye(a.expression.expression,f))}r&&r.valueDeclaration&&(r.members=r.members||e.createSymbolTable(),e.hasDynamicName(n)?je(n,r):U(r.members,r,n,67108868,0),F(r,r.valueDeclaration,32));break;case 165:case 162:case 164:case 166:case 167:var i=t.parent,o=e.hasSyntacticModifier(t,32)?i.symbol.exports:i.symbol.members;e.hasDynamicName(n)?je(n,i.symbol):U(o,i.symbol,n,67108868,0,!0);break;case 294:if(e.hasDynamicName(n))break;t.commonJsModuleIndicator?U(t.symbol.exports,t.symbol,n,1048580,0):Se(n,1,111550);break;default:e.Debug.failBadSyntaxKind(t)}}}function je(e,n){Ae(e,4,"__computed"),Ke(e,n)}function Ke(n,t){t&&(t.assignmentDeclarationMembers||(t.assignmentDeclarationMembers=new e.Map)).set(e.getNodeId(n),n)}function He(n,t){var r=n.expression,a=r.expression;e.setParent(a,r),e.setParent(r,n),e.setParent(n,t),Xe(a,n,!0,!0)}function We(n){e.Debug.assert(!e.isIdentifier(n)),e.setParent(n.expression,n),Xe(n.expression,n,!1,!1)}function qe(t,r,a,i,o){if(2097152&(null==t?void 0:t.flags))return t;if(a&&!i){t=Qe(r,t,(function(t,r,a){return r?(F(r,t,67110400),r):U(a?a.exports:n.jsGlobalAugmentations||(n.jsGlobalAugmentations=e.createSymbolTable()),a,t,67110400,110735)}))}return o&&t&&t.valueDeclaration&&F(t,t.valueDeclaration,32),t}function ze(n,t,r){if(t&&function(n){if(1072&n.flags)return!0;var t=n.valueDeclaration;if(t&&e.isCallExpression(t))return!!e.getAssignedExpandoInitializer(t);var r=t?e.isVariableDeclaration(t)?t.initializer:e.isBinaryExpression(t)?t.right:e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)?t.parent.right:void 0:void 0;if(r=r&&e.getRightMostAssignedExpression(r)){var a=e.isPrototypeAccess(e.isVariableDeclaration(t)?t.name:e.isBinaryExpression(t)?t.left:t);return!!e.getExpandoInitializer(!e.isBinaryExpression(r)||56!==r.operatorToken.kind&&60!==r.operatorToken.kind?r:r.right,a)}return!1}(t)){var a=r?t.members||(t.members=e.createSymbolTable()):t.exports||(t.exports=e.createSymbolTable()),i=0,o=0;e.isFunctionLikeDeclaration(e.getAssignedExpandoInitializer(n))?(i=8192,o=103359):e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n)&&(e.some(n.arguments[2].properties,(function(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isIdentifier(t)&&"set"===e.idText(t)}))&&(i|=65540,o|=78783),e.some(n.arguments[2].properties,(function(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isIdentifier(t)&&"get"===e.idText(t)}))&&(i|=32772,o|=46015)),0===i&&(i=4,o=0),U(a,t,n,67108864|i,-67108865&o)}}function Je(n){return e.isBinaryExpression(n.parent)?294===function(n){for(;e.isBinaryExpression(n.parent);)n=n.parent;return n.parent}(n.parent).parent.kind:294===n.parent.parent.kind}function Xe(e,n,t,r){var a=Ye(e,p)||Ye(e,m),i=Je(n);ze(n,a=qe(a,n.expression,i,t,r),t)}function Ye(n,t){if(void 0===t&&(t=p),e.isIdentifier(n))return d(t,n.escapedText);var r=Ye(n.expression);return r&&r.exports&&r.exports.get(e.getElementOrPropertyAccessName(n))}function Qe(t,r,a){if(u(n,t))return n.symbol;if(e.isIdentifier(t))return a(t,Ye(t),r);var i=Qe(t.expression,r,a),o=e.getNameOrArgument(t);return e.isPrivateIdentifier(o)&&e.Debug.fail("unexpected PrivateIdentifier"),a(o,i&&i.exports&&i.exports.get(e.getElementOrPropertyAccessName(t)),i)}function Ze(n){I&&Ie(n,n.name),e.isBindingPattern(n.name)||(e.isBlockOrCatchScoped(n)?De(n,2,111551):e.isParameterDeclaration(n)?Se(n,1,111551):Se(n,1,111550))}function $e(n){if((322!==n.kind||309===p.kind)&&(!I||8388608&n.flags||Ie(n,n.name),e.isBindingPattern(n.name)?Ae(n,1,"__"+n.parent.parameters.indexOf(n)):Se(n,1,111551),e.isParameterPropertyDeclaration(n,n.parent))){var t=n.parent.parent;U(t.symbol.members,t.symbol,n,4|(n.questionToken?16777216:0),0)}}function en(t,r,a){return n.isDeclarationFile||8388608&t.flags||!e.isAsyncFunction(t)||(C|=2048),h&&e.isObjectLiteralOrClassExpressionMethod(t)&&(t.flowNode=h),e.hasDynamicName(t)?Ae(t,r,"__computed"):Se(t,r,a)}}();function l(n){return!(e.isFunctionDeclaration(n)||function(n){switch(n.kind){case 250:case 251:return!0;case 253:return 1!==t(n);case 252:return e.hasSyntacticModifier(n,2048);default:return!1}}(n)||e.isEnumDeclaration(n)||e.isVariableStatement(n)&&!(3&e.getCombinedNodeFlags(n))&&n.declarationList.declarations.some((function(e){return!e.initializer})))}function u(n,t){for(var r=0,a=[t];a.length&&r<100;){if(r++,t=a.shift(),e.isExportsIdentifier(t)||e.isModuleExportsAccessExpression(t))return!0;if(e.isIdentifier(t)){var i=d(n,t.escapedText);if(i&&i.valueDeclaration&&e.isVariableDeclaration(i.valueDeclaration)&&i.valueDeclaration.initializer){var o=i.valueDeclaration.initializer;a.push(o),e.isAssignmentExpression(o,!0)&&(a.push(o.left),a.push(o.right))}}}return!1}function d(n,t){var r=n.locals&&n.locals.get(t);return r?r.exportSymbol||r:e.isSourceFile(n)&&n.jsGlobalAugmentations&&n.jsGlobalAugmentations.has(t)?n.jsGlobalAugmentations.get(t):n.symbol&&n.symbol.exports&&n.symbol.exports.get(t)}e.bindSourceFile=function(n,t){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+n.fileName),c(n,t),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=u}(p||(p={})),function(e){e.createGetSymbolWalker=function(n,t,r,a,i,o,s,c,l,u,d){return function(p){void 0===p&&(p=function(){return!0});var f=[],m=[];return{walkType:function(n){try{return _(n),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(f),e.clear(m)}},walkSymbol:function(n){try{return h(n),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(f),e.clear(m)}}};function _(n){if(n&&(!f[n.id]&&(f[n.id]=n,!h(n.symbol)))){if(524288&n.flags){var t=n,r=t.objectFlags;4&r&&function(n){_(n.target),e.forEach(d(n),_)}(n),32&r&&function(e){_(e.typeParameter),_(e.constraintType),_(e.templateType),_(e.modifiersType)}(n),3&r&&(y(i=n),e.forEach(i.typeParameters,_),e.forEach(a(i),_),_(i.thisType)),24&r&&y(t)}var i;262144&n.flags&&function(e){_(l(e))}(n),3145728&n.flags&&function(n){e.forEach(n.types,_)}(n),4194304&n.flags&&function(e){_(e.type)}(n),8388608&n.flags&&function(e){_(e.objectType),_(e.indexType),_(e.constraint)}(n)}}function g(a){var i=t(a);i&&_(i.type),e.forEach(a.typeParameters,_);for(var o=0,s=a.parameters;o<s.length;o++){h(s[o])}_(n(a)),_(r(a))}function y(e){_(c(e,0)),_(c(e,1));for(var n=i(e),t=0,r=n.callSignatures;t<r.length;t++){g(r[t])}for(var a=0,o=n.constructSignatures;a<o.length;a++){g(o[a])}for(var s=0,l=n.properties;s<l.length;s++){h(l[s])}}function h(n){if(!n)return!1;var t=e.getSymbolId(n);return!m[t]&&(m[t]=n,!p(n)||(_(o(n)),n.exports&&n.exports.forEach(h),e.forEach(n.declarations,(function(e){if(e.type&&175===e.type.kind){var n=e.type;h(s(u(n.exprName)))}})),!1))}}}}(p||(p={})),function(e){var n,t,r,a,i=/^".+"$/,c="(anonymous)",u=1,d=1,p=1,f=1;!function(e){e[e.AllowsSyncIterablesFlag=1]="AllowsSyncIterablesFlag",e[e.AllowsAsyncIterablesFlag=2]="AllowsAsyncIterablesFlag",e[e.AllowsStringInputFlag=4]="AllowsStringInputFlag",e[e.ForOfFlag=8]="ForOfFlag",e[e.YieldStarFlag=16]="YieldStarFlag",e[e.SpreadFlag=32]="SpreadFlag",e[e.DestructuringFlag=64]="DestructuringFlag",e[e.Element=1]="Element",e[e.Spread=33]="Spread",e[e.Destructuring=65]="Destructuring",e[e.ForOf=13]="ForOf",e[e.ForAwaitOf=15]="ForAwaitOf",e[e.YieldStar=17]="YieldStar",e[e.AsyncYieldStar=19]="AsyncYieldStar",e[e.GeneratorReturnType=1]="GeneratorReturnType",e[e.AsyncGeneratorReturnType=2]="AsyncGeneratorReturnType"}(n||(n={})),function(e){e[e.Yield=0]="Yield",e[e.Return=1]="Return",e[e.Next=2]="Next"}(t||(t={})),function(e){e[e.Normal=0]="Normal",e[e.FunctionReturn=1]="FunctionReturn",e[e.GeneratorNext=2]="GeneratorNext",e[e.GeneratorYield=3]="GeneratorYield"}(r||(r={})),function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.All=16777215]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.UndefinedFacts=9830144]="UndefinedFacts",e[e.NullFacts=9363232]="NullFacts",e[e.EmptyObjectStrictFacts=16318463]="EmptyObjectStrictFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.EmptyObjectFacts=16777215]="EmptyObjectFacts"}(a||(a={}));var m,_,g,y,h,v,b,E,T,S=new e.Map(e.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64})),L=new e.Map(e.getEntries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384}));!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType",e[e.ImmediateBaseConstraint=4]="ImmediateBaseConstraint",e[e.EnumTagType=5]="EnumTagType",e[e.ResolvedTypeArguments=6]="ResolvedTypeArguments",e[e.ResolvedBaseTypes=7]="ResolvedBaseTypes"}(m||(m={})),function(e){e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp"}(_||(_={})),function(e){e[e.None=0]="None",e[e.NoIndexSignatures=1]="NoIndexSignatures",e[e.Writing=2]="Writing",e[e.CacheSymbol=4]="CacheSymbol",e[e.NoTupleBoundsCheck=8]="NoTupleBoundsCheck"}(g||(g={})),function(e){e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.Callback=3]="Callback"}(y||(y={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.PropertyCheck=4]="PropertyCheck",e[e.InPropertyCheck=8]="InPropertyCheck"}(h||(h={})),function(e){e[e.IncludeReadonly=1]="IncludeReadonly",e[e.ExcludeReadonly=2]="ExcludeReadonly",e[e.IncludeOptional=4]="IncludeOptional",e[e.ExcludeOptional=8]="ExcludeOptional"}(v||(v={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.Both=3]="Both"}(b||(b={})),function(e){e.resolvedExports="resolvedExports",e.resolvedMembers="resolvedMembers"}(E||(E={})),function(e){e[e.Local=0]="Local",e[e.Parameter=1]="Parameter"}(T||(T={}));var x,A,D,C=e.and(P,(function(n){return!e.isAccessor(n)}));function I(){}function N(){this.flags=0}function R(e){return e.id||(e.id=d,d++),e.id}function k(e){return e.id||(e.id=u,u++),e.id}function O(n,t){var r=e.getModuleInstanceState(n);return 1===r||t&&2===r}function P(e){return 248!==e.kind&&164!==e.kind||!!e.body}function M(n){switch(n.parent.kind){case 262:case 267:return e.isIdentifier(n);default:return e.isDeclarationName(n)}}function w(e){switch(e.kind){case 259:case 257:case 260:case 262:return!0;case 78:return 262===e.parent.kind;default:return!1}}function F(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function G(e){return!!(1&e.flags)}function B(e){return!!(2&e.flags)}!function(e){e[e.GetAccessor=1]="GetAccessor",e[e.SetAccessor=2]="SetAccessor",e[e.PropertyAssignment=4]="PropertyAssignment",e[e.Method=8]="Method",e[e.GetOrSetAccessor=3]="GetOrSetAccessor",e[e.PropertyAssignmentOrMethod=12]="PropertyAssignmentOrMethod"}(x||(x={})),function(e){e[e.None=0]="None",e[e.ExportValue=1]="ExportValue",e[e.ExportType=2]="ExportType",e[e.ExportNamespace=4]="ExportNamespace"}(A||(A={})),e.getNodeId=R,e.getSymbolId=k,e.isInstantiatedModule=O,e.createTypeChecker=function(n,t){var r,a,u,d,m=e.memoize((function(){var t=new e.Set;return n.getSourceFiles().forEach((function(n){n.resolvedModules&&e.forEachEntry(n.resolvedModules,(function(e){e&&e.packageId&&t.add(e.packageId.name)}))})),t})),_=e.objectAllocator.getSymbolConstructor(),g=e.objectAllocator.getTypeConstructor(),y=e.objectAllocator.getSignatureConstructor(),h=0,v=0,b=0,E=0,T=0,x=0,A=0,U=e.createSymbolTable(),V=[1],j=n.getCompilerOptions(),K=e.getEmitScriptTarget(j),H=e.getEmitModuleKind(j),W=e.getAllowSyntheticDefaultImports(j),q=e.getStrictOptionValue(j,"strictNullChecks"),z=e.getStrictOptionValue(j,"strictFunctionTypes"),J=e.getStrictOptionValue(j,"strictBindCallApply"),X=e.getStrictOptionValue(j,"strictPropertyInitialization"),Y=e.getStrictOptionValue(j,"noImplicitAny"),Q=e.getStrictOptionValue(j,"noImplicitThis"),Z=!!j.keyofStringsOnly,$=j.suppressExcessPropertyErrors?0:32768,ee=function(){var t,r=n.getResolvedTypeReferenceDirectives();r&&(t=new e.Map,r.forEach((function(r,a){if(r&&r.resolvedFileName){var i=n.getSourceFile(r.resolvedFileName);i&&function r(a,i){if(t.has(a.path))return;t.set(a.path,i);for(var o=0,s=a.referencedFiles;o<s.length;o++){var c=s[o].fileName,l=e.resolveTripleslashReference(c,a.fileName),u=n.getSourceFile(l);u&&r(u,i)}}(i,a)}})));return{getReferencedExportContainer:WE,getReferencedImportDeclaration:qE,getReferencedDeclarationWithCollidingName:JE,isDeclarationWithCollidingName:XE,isValueAliasDeclaration:function(n){var t=e.getParseTreeNode(n);return!t||YE(t)},hasGlobalName:_T,isReferencedAliasDeclaration:function(n,t){var r=e.getParseTreeNode(n);return!r||eT(r,t)},getNodeCheckFlags:function(n){var t=e.getParseTreeNode(n);return t?oT(t):0},isTopLevelValueImportEqualsWithEntityName:QE,isDeclarationVisible:ui,isImplementationOfOverload:nT,isRequiredInitializedParameter:tT,isOptionalUninitializedParameterProperty:rT,isExpandoFunctionDeclaration:aT,getPropertiesOfContainerFunction:iT,createTypeOfDeclaration:pT,createReturnTypeOfSignatureDeclaration:fT,createTypeOfExpression:mT,createLiteralConstValue:vT,isSymbolAccessible:Ha,isEntityNameVisible:Ya,getConstantValue:function(n){var t=e.getParseTreeNode(n,cT);return t?lT(t):void 0},collectLinkedAliases:di,getReferencedValueDeclaration:yT,getTypeReferenceSerializationKind:dT,isOptionalParameter:uc,moduleExportsSomeValue:HE,isArgumentsLocalBinding:KE,getExternalModuleFileFromDeclaration:TT,getTypeReferenceDirectivesForEntityName:function(e){if(!t)return;var n=790504;(78===e.kind&&qf(e)||198===e.kind&&!function(e){return e.parent&&220===e.parent.kind&&e.parent.parent&&283===e.parent.parent.kind}(e))&&(n=1160127);var r=ra(e,n,!0);return r&&r!==he?a(r,n):void 0},getTypeReferenceDirectivesForSymbol:a,isLiteralConstDeclaration:hT,isLateBound:function(n){var t=e.getParseTreeNode(n,e.isDeclaration),r=t&&va(t);return!!(r&&4096&e.getCheckFlags(r))},getJsxFactoryEntity:bT,getJsxFragmentFactoryEntity:ET,getAllAccessorDeclarations:function(n){var t=167===(n=e.getParseTreeNode(n,e.isGetOrSetAccessorDeclaration)).kind?166:167,r=e.getDeclarationOfKind(va(n),t);return{firstAccessor:r&&r.pos<n.pos?r:n,secondAccessor:r&&r.pos<n.pos?n:r,setAccessor:167===n.kind?n:r,getAccessor:166===n.kind?n:r}},getSymbolOfExternalModuleSpecifier:function(e){return oa(e,e,void 0)},isBindingCapturedByNode:function(n,t){var r=e.getParseTreeNode(n),a=e.getParseTreeNode(t);return!!r&&!!a&&(e.isVariableDeclaration(a)||e.isBindingElement(a))&&function(n,t){var r=br(n);return!!r&&e.contains(r.capturedBlockScopeBindings,va(t))}(r,a)},getDeclarationStatementsForSourceFile:function(n,t,r,a){var i=e.getParseTreeNode(n);e.Debug.assert(i&&294===i.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");var o=va(n);return o?o.exports?ne.symbolTableToDeclarationStatements(o.exports,n,t,r,a):[]:n.locals?ne.symbolTableToDeclarationStatements(n.locals,n,t,r,a):[]},isImportRequiredByAugmentation:function(n){var t=e.getSourceFileOfNode(n);if(!t.symbol)return!1;var r=TT(n);if(!r)return!1;if(r===t)return!1;for(var a=_a(t.symbol),i=0,o=e.arrayFrom(a.values());i<o.length;i++){var s=o[i];if(s.mergeId)for(var c=ha(s),l=0,u=c.declarations;l<u.length;l++){var d=u[l];if(e.getSourceFileOfNode(d)===r)return!0}}return!1}};function a(n,r){if(t&&function(n){if(!n.declarations)return!1;var r=n;for(;;){var a=ba(r);if(!a)break;r=a}if(r.valueDeclaration&&294===r.valueDeclaration.kind&&512&r.flags)return!1;for(var i=0,o=n.declarations;i<o.length;i++){var s=o[i],c=e.getSourceFileOfNode(s);if(t.has(c.path))return!0}return!1}(n)){for(var a,i=0,o=n.declarations;i<o.length;i++){var s=o[i];if(s.symbol&&s.symbol.flags&r){var c=e.getSourceFileOfNode(s),l=t.get(c.path);if(!l)return;(a||(a=[])).push(l)}}return a}}}(),ne=function(){return{typeToTypeNode:function(e,n,r,a){return t(n,r,a,(function(n){return c(e,n)}))},indexInfoToIndexSignatureDeclaration:function(e,n,r,a,i){return t(r,a,i,(function(t){return p(e,n,t,void 0)}))},signatureToSignatureDeclaration:function(e,n,r,a,i){return t(r,a,i,(function(t){return f(e,n,t)}))},symbolToEntityName:function(e,n,r,a,i){return t(r,a,i,(function(t){return A(e,t,n,!1)}))},symbolToExpression:function(e,n,r,a,i){return t(r,a,i,(function(t){return D(e,t,n)}))},symbolToTypeParameterDeclarations:function(e,n,r,a){return t(n,r,a,(function(n){return b(e,n)}))},symbolToParameterDeclaration:function(e,n,r,a){return t(n,r,a,(function(n){return g(e,n)}))},typeParameterToDeclaration:function(e,n,r,a){return t(n,r,a,(function(n){return _(e,n)}))},symbolTableToDeclarationStatements:function(n,r,a,i,l){return t(r,a,i,(function(t){return function(n,t,r){var a=q(e.factory.createPropertyDeclaration,164,!0),i=q((function(n,t,r,a,i){return e.factory.createPropertySignature(t,r,a,i)}),163,!1),l=t.enclosingDeclaration,u=[],d=new e.Set,m=[],g=t;t=s(s({},g),{usedSymbolNames:new e.Set(g.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:s(s({},g.tracker),{trackSymbol:function(e,n,r){if(0===Ha(e,n,r,!1).accessibility){var a=v(e,t,r);4&e.flags||R(a[0])}else g.tracker&&g.tracker.trackSymbol&&g.tracker.trackSymbol(e,n,r)}})}),e.forEachEntry(n,(function(n,t){$(n,e.unescapeLeadingUnderscores(t))}));var y=!r,h=n.get("export=");h&&n.size>1&&2097152&h.flags&&(n=e.createSymbolTable()).set("export=",h);return C(n),S(u);function b(e){return!!e&&78===e.kind}function E(n){var t=e.find(n,e.isExportAssignment),r=e.findIndex(n,e.isModuleDeclaration),a=-1!==r?n[r]:void 0;if(a&&t&&t.isExportEquals&&e.isIdentifier(t.expression)&&e.isIdentifier(a.name)&&e.idText(a.name)===e.idText(t.expression)&&a.body&&e.isModuleBlock(a.body)){var i=e.filter(n,(function(n){return!!(1&e.getEffectiveModifierFlags(n))})),s=a.name,c=a.body;if(e.length(i)&&(a=e.factory.updateModuleDeclaration(a,a.decorators,a.modifiers,a.name,c=e.factory.updateModuleBlock(c,e.factory.createNodeArray(o(a.body.statements,[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(i,(function(n){return t=n,e.isVariableStatement(t)?e.filter(e.map(t.declarationList.declarations,e.getNameOfDeclaration),b):e.filter([e.getNameOfDeclaration(t)],b);var t})),(function(n){return e.factory.createExportSpecifier(void 0,n)}))),void 0)])))),n=o(n.slice(0,r),[a],n.slice(r+1))),!e.find(n,(function(n){return n!==a&&e.nodeHasName(n,s)}))){u=[];var l=!e.some(c.statements,(function(n){return e.hasSyntacticModifier(n,1)||e.isExportAssignment(n)||e.isExportDeclaration(n)}));e.forEach(c.statements,(function(e){O(e,l?1:0)})),n=o(e.filter(n,(function(e){return e!==a&&e!==t})),u)}}return n}function S(n){return n=function(n){var t=e.findIndex(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(t>=0){var r=n[t],a=e.mapDefined(r.exportClause.elements,(function(t){if(!t.propertyName){var r=e.indicesOf(n),a=e.filter(r,(function(r){return e.nodeHasName(n[r],t.name)}));if(e.length(a)&&e.every(a,(function(e){return L(n[e])}))){for(var i=0,o=a;i<o.length;i++){var s=o[i];n[s]=(c=n[s],l=void 0,l=-3&(1|e.getEffectiveModifierFlags(c)),e.factory.updateModifiers(c,l))}return}}var c,l;return t}));e.length(a)?n[t]=e.factory.updateExportDeclaration(r,r.decorators,r.modifiers,r.isTypeOnly,e.factory.updateNamedExports(r.exportClause,a),r.moduleSpecifier):e.orderedRemoveItemAt(n,t)}return n}(n=function(n){var t=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(e.length(t)>1){var r=e.filter(n,(function(n){return!e.isExportDeclaration(n)||!!n.moduleSpecifier||!n.exportClause}));n=o(r,[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(t,(function(n){return e.cast(n.exportClause,e.isNamedExports).elements}))),void 0)])}var a=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(e.length(a)>1){var i=e.group(a,(function(n){return e.isStringLiteral(n.moduleSpecifier)?">"+n.moduleSpecifier.text:">"}));if(i.length!==a.length)for(var s=function(t){t.length>1&&(n=o(e.filter(n,(function(e){return-1===t.indexOf(e)})),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(t,(function(n){return e.cast(n.exportClause,e.isNamedExports).elements}))),t[0].moduleSpecifier)]))},c=0,l=i;c<l.length;c++){s(l[c])}}return n}(n=E(n))),l&&(e.isSourceFile(l)&&e.isExternalOrCommonJsModule(l)||e.isModuleDeclaration(l))&&(!e.some(n,e.isExternalModuleIndicator)||!e.hasScopeMarker(n)&&e.some(n,e.needsScopeMarker))&&n.push(e.createEmptyExports(e.factory)),n}function L(n){return e.isEnumDeclaration(n)||e.isVariableStatement(n)||e.isFunctionDeclaration(n)||e.isClassDeclaration(n)||e.isModuleDeclaration(n)&&!e.isExternalModuleAugmentation(n)&&!e.isGlobalScopeAugmentation(n)||e.isInterfaceDeclaration(n)||IE(n)}function x(n){var t=-2&e.getEffectiveModifierFlags(n);return e.factory.updateModifiers(n,t)}function C(n,t,r){t||m.push(new e.Map),n.forEach((function(e){I(e,!1,!!r)})),t||(m[m.length-1].forEach((function(e){I(e,!0,!!r)})),m.pop())}function I(n,u,p){var f=ha(n);if(!d.has(k(f))&&(d.add(k(f)),!u||e.length(n.declarations)&&e.some(n.declarations,(function(n){return!!e.findAncestor(n,(function(e){return e===l}))})))){var m=t;t=function(n){var t=s({},n);t.typeParameterNames&&(t.typeParameterNames=new e.Map(t.typeParameterNames));t.typeParameterNamesByText&&(t.typeParameterNamesByText=new e.Set(t.typeParameterNamesByText));t.typeParameterSymbolList&&(t.typeParameterSymbolList=new e.Set(t.typeParameterSymbolList));return t}(t);var g=function(n,s,u){var d=e.unescapeLeadingUnderscores(n.escapedName),p="default"===n.escapedName;if(s&&!(131072&t.flags)&&e.isStringANonContextualKeyword(d)&&!p)return void(t.encounteredError=!0);var f=p&&!!(-113&n.flags||16&n.flags&&e.length(Cs(to(n))))&&!(2097152&n.flags),m=!f&&!s&&e.isStringANonContextualKeyword(d)&&!p;(f||m)&&(s=!0);var g=(s?0:1)|(p&&!f?512:0),y=1536&n.flags&&7&n.flags&&"export="!==n.escapedName,h=y&&W(to(n),n);(8208&n.flags||h)&&F(to(n),n,$(n,d),g);524288&n.flags&&function(n,r,a){var i=To(n),o=vr(n).typeParameters,s=e.map(o,(function(e){return _(e,t)})),l=e.find(n.declarations,e.isJSDocTypeAlias),u=l?l.comment||l.parent.comment:void 0,d=t.flags;t.flags|=8388608,O(e.setSyntheticLeadingComments(e.factory.createTypeAliasDeclaration(void 0,void 0,$(n,r),s,c(i,t)),u?[{kind:3,text:"*\n * "+u.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),a),t.flags=d}(n,d,g);if(7&n.flags&&"export="!==n.escapedName&&!(4194304&n.flags)&&!(32&n.flags)&&!h)if(u){H(n)&&(m=!1,f=!1)}else{var v=to(n),b=$(n,d);if(16&n.flags||!W(v,n)){var E=2&n.flags?qm(n)?2:1:void 0,S=!f&&4&n.flags?Q(b,n):b,L=n.declarations&&e.find(n.declarations,(function(n){return e.isVariableDeclaration(n)}));L&&e.isVariableDeclarationList(L.parent)&&1===L.parent.declarations.length&&(L=L.parent.parent),O(e.setTextRange(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(S,void 0,w(t,v,n,l,R,r))],E)),L),S!==b?-2&g:g),S===b||s||(O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(S,b)])),0),m=!1,f=!1)}else F(v,n,b,g)}384&n.flags&&function(n,t,r){O(e.factory.createEnumDeclaration(void 0,e.factory.createModifiersFromModifierFlags(kh(n)?2048:0),$(n,t),e.map(e.filter(Cs(to(n)),(function(e){return!!(8&e.flags)})),(function(n){var t=n.declarations&&n.declarations[0]&&e.isEnumMember(n.declarations[0])?lT(n.declarations[0]):void 0;return e.factory.createEnumMember(e.unescapeLeadingUnderscores(n.escapedName),void 0===t?void 0:"string"==typeof t?e.factory.createStringLiteral(t):e.factory.createNumericLiteral(t))}))),r)}(n,d,g);32&n.flags&&(4&n.flags&&e.isBinaryExpression(n.valueDeclaration.parent)&&e.isClassExpression(n.valueDeclaration.parent.right)?U(n,$(n,d),g):function(n,r,i){var s,l=lo(n),u=e.map(l,(function(e){return _(e,t)})),d=Eo(n),p=ho(d),f=e.mapDefined(function(n){for(var t=e.emptyArray,r=0,a=n.symbol.declarations;r<a.length;r++){var i=a[r],o=e.getEffectiveImplementsTypeNodes(i);if(o)for(var s=0,c=o;s<c.length;s++){var l=Vu(c[s]);l!==Se&&(t===e.emptyArray?t=[l]:t.push(l))}}return t}(d),Y),m=to(n),g=!!(null===(s=m.symbol)||void 0===s?void 0:s.valueDeclaration)&&e.isClassLike(m.symbol.valueDeclaration),y=g?go(m):be,h=o(e.length(p)?[e.factory.createHeritageClause(93,e.map(p,(function(n){return function(n,r,a){var i=X(n,111551);if(i)return i;var o=Q(a+"_base");return O(e.factory.createVariableStatement(undefined,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(o,undefined,c(r,t))],2)),0),e.factory.createExpressionWithTypeArguments(e.factory.createIdentifier(o),void 0)}(n,y,r)})))]:[],e.length(f)?[e.factory.createHeritageClause(116,f)]:[]),v=function(n,t,r){if(!e.length(t))return r;var a=new e.Map;e.forEach(r,(function(e){a.set(e.escapedName,e)}));for(var i=0,o=t;i<o.length;i++)for(var s=Cs(Xo(o[i],n.thisType)),c=0,l=s;c<l.length;c++){var u=l[c],d=a.get(u.escapedName);d&&!hp(d,u)&&a.delete(u.escapedName)}return e.arrayFrom(a.values())}(d,p,Cs(d)),b=e.filter(v,(function(n){var t=n.valueDeclaration;return t&&!(e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name))})),E=e.some(v,(function(n){var t=n.valueDeclaration;return t&&e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name)}))?[e.factory.createPropertyDeclaration(void 0,void 0,e.factory.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:e.emptyArray,T=e.flatMap(b,(function(e){return a(e,!1,p[0])})),S=e.flatMap(e.filter(Cs(m),(function(e){return!(4194304&e.flags||"prototype"===e.escapedName||B(e))})),(function(e){return a(e,!0,y)})),L=!g&&n.valueDeclaration&&e.isInJSFile(n.valueDeclaration)&&!e.some(ec(m,1))?[e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(8),[],void 0)]:z(1,m,p[0],165),x=J(d,p[0]);O(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,r,u,h,o(x,S,L,T,E)),n.declarations&&e.filter(n.declarations,(function(n){return e.isClassDeclaration(n)||e.isClassExpression(n)}))[0]),i)}(n,$(n,d),g));(1536&n.flags&&(!y||function(n){return e.every(M(n),(function(e){return!(111551&Jr(e).flags)}))}(n))||h)&&function(n,r,a){var i=M(n),o=e.arrayToMultiMap(i,(function(e){return e.parent&&e.parent===n?"real":"merged"})),s=o.get("real")||e.emptyArray,c=o.get("merged")||e.emptyArray;if(e.length(s)){var l=$(n,r);G(s,l,a,!!(67108880&n.flags))}if(e.length(c)){var u=e.getSourceFileOfNode(t.enclosingDeclaration),d=(l=$(n,r),e.factory.createModuleBlock([e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.mapDefined(e.filter(c,(function(e){return"export="!==e.escapedName})),(function(r){var a,i,o=e.unescapeLeadingUnderscores(r.escapedName),s=$(r,o),c=r.declarations&&Mr(r);if(!u||(c?u===e.getSourceFileOfNode(c):e.some(r.declarations,(function(n){return e.getSourceFileOfNode(n)===u})))){var l=c&&qr(c,!0);R(l||r);var d=l?$(l,e.unescapeLeadingUnderscores(l.escapedName)):s;return e.factory.createExportSpecifier(o===d?void 0:d,o)}null===(i=null===(a=t.tracker)||void 0===a?void 0:a.reportNonlocalAugmentation)||void 0===i||i.call(a,u,n,r)}))))]));O(e.factory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(l),d,16),0)}}(n,d,g);64&n.flags&&function(n,r,a){var s=Eo(n),c=lo(n),l=e.map(c,(function(e){return _(e,t)})),u=ho(s),d=e.length(u)?Kl(u):void 0,p=e.flatMap(Cs(s),(function(e){return function(e,n){return i(e,!1,n)}(e,d)})),f=z(0,s,d,168),m=z(1,s,d,169),g=J(s,d),y=e.length(u)?[e.factory.createHeritageClause(93,e.mapDefined(u,(function(e){return X(e,111551)})))]:void 0;O(e.factory.createInterfaceDeclaration(void 0,void 0,$(n,r),l,y,o(g,m,f,p)),a)}(n,d,g);2097152&n.flags&&U(n,$(n,d),g);4&n.flags&&"export="===n.escapedName&&H(n);if(8388608&n.flags)for(var x=0,A=n.declarations;x<A.length;x++){var D=A[x],C=ia(D,D.moduleSpecifier);C&&O(e.factory.createExportDeclaration(void 0,void 0,!1,void 0,e.factory.createStringLiteral(T(C,t))),0)}f?O(e.factory.createExportAssignment(void 0,void 0,!1,e.factory.createIdentifier($(n,d))),0):m&&O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier($(n,d),d)])),0)}(n,u,p);return t=m,g}}function R(n){if(!e.some(n.declarations,e.isParameterDeclaration)){e.Debug.assertIsDefined(m[m.length-1]),Q(e.unescapeLeadingUnderscores(n.escapedName),n);var t=!!(2097152&n.flags)&&!e.some(n.declarations,(function(n){return!!e.findAncestor(n,e.isExportDeclaration)||e.isNamespaceExport(n)||e.isImportEqualsDeclaration(n)&&!e.isExternalModuleReference(n.moduleReference)}));m[t?0:m.length-1].set(k(n),n)}}function O(n,r){if(e.canHaveModifiers(n)){var a=0;1&r&&t.enclosingDeclaration&&(function(n){return e.isSourceFile(n)&&(e.isExternalOrCommonJsModule(n)||e.isJsonSourceFile(n))||e.isAmbientModule(n)&&!e.isGlobalScopeAugmentation(n)}(t.enclosingDeclaration)||e.isModuleDeclaration(t.enclosingDeclaration))&&L(n)&&(a|=1),!y||1&a||t.enclosingDeclaration&&8388608&t.enclosingDeclaration.flags||!(e.isEnumDeclaration(n)||e.isVariableStatement(n)||e.isFunctionDeclaration(n)||e.isClassDeclaration(n)||e.isModuleDeclaration(n))||(a|=2),512&r&&(e.isClassDeclaration(n)||e.isInterfaceDeclaration(n)||e.isFunctionDeclaration(n))&&(a|=512),a&&(n=e.factory.updateModifiers(n,a|e.getEffectiveModifierFlags(n)))}u.push(n)}function M(n){return n.exports?e.filter(e.arrayFrom(n.exports.values()),B):[]}function F(n,a,i,o){for(var s=0,c=ec(n,0);s<c.length;s++){var l=c[s],u=f(l,248,t,{name:e.factory.createIdentifier(i),privateSymbolVisitor:R,bundledImports:r});O(e.setTextRange(u,l.declaration&&e.isVariableDeclaration(l.declaration.parent)&&l.declaration.parent.parent||l.declaration),o)}1536&a.flags&&a.exports&&a.exports.size||G(e.filter(Cs(n),B),i,o,!0)}function G(n,r,a,i){if(e.length(n)){var o=e.arrayToMultiMap(n,(function(n){return!e.length(n.declarations)||e.some(n.declarations,(function(n){return e.getSourceFileOfNode(n)===e.getSourceFileOfNode(t.enclosingDeclaration)}))?"local":"remote"})).get("local")||e.emptyArray,c=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(r),e.factory.createModuleBlock([]),16);e.setParent(c,l),c.locals=e.createSymbolTable(n),c.symbol=n[0].parent;var d=u;u=[];var p=y;y=!1;var f=s(s({},t),{enclosingDeclaration:c}),m=t;t=f,C(e.createSymbolTable(o),i,!0),t=m,y=p;var _=u;u=d;var g=e.map(_,(function(n){return e.isExportAssignment(n)&&!n.isExportEquals&&e.isIdentifier(n.expression)?e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(n.expression,e.factory.createIdentifier("default"))])):n})),h=e.every(g,(function(n){return e.hasSyntacticModifier(n,1)}))?e.map(g,x):g;O(c=e.factory.updateModuleDeclaration(c,c.decorators,c.modifiers,c.name,e.factory.createModuleBlock(h)),a)}}function B(n){return!!(2887656&n.flags)||!(4194304&n.flags||"prototype"===n.escapedName||n.valueDeclaration&&e.isClassLike(n.valueDeclaration.parent))}function U(n,r,a){var i=Mr(n);if(!i)return e.Debug.fail();var o=ha(qr(i,!0));if(o){var s=e.unescapeLeadingUnderscores(o.escapedName);"export="===s&&(j.esModuleInterop||j.allowSyntheticDefaultImports)&&(s="default");var c=$(o,s);switch(R(o),i.kind){case 257:var l=!(512&o.flags);O(e.factory.createImportEqualsDeclaration(void 0,void 0,e.factory.createIdentifier(r),l?A(o,t,67108863,!1):e.factory.createExternalModuleReference(e.factory.createStringLiteral(T(n,t)))),l?a:0);break;case 256:O(e.factory.createNamespaceExportDeclaration(e.idText(i.name)),0);break;case 259:O(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,e.factory.createIdentifier(r),void 0),e.factory.createStringLiteral(T(o.parent||o,t))),0);break;case 260:O(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(r))),e.factory.createStringLiteral(T(o,t))),0);break;case 266:O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamespaceExport(e.factory.createIdentifier(r)),e.factory.createStringLiteral(T(o,t))),0);break;case 262:O(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(r!==s?e.factory.createIdentifier(s):void 0,e.factory.createIdentifier(r))])),e.factory.createStringLiteral(T(o.parent||o,t))),0);break;case 267:var u=i.parent.parent.moduleSpecifier;V(e.unescapeLeadingUnderscores(n.escapedName),u?s:c,u&&e.isStringLiteralLike(u)?e.factory.createStringLiteral(u.text):void 0);break;case 263:H(n);break;case 213:case 198:"default"===n.escapedName||"export="===n.escapedName?H(n):V(r,c);break;default:return e.Debug.failBadSyntaxKind(i,"Unhandled alias declaration kind in symbol serializer!")}}}function V(n,t,r){O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(n!==t?t:void 0,n)]),r),0)}function H(n){if(4194304&n.flags)return!1;var a=e.unescapeLeadingUnderscores(n.escapedName),i="export="===a,o=i||"default"===a,s=n.declarations&&Mr(n),c=s&&qr(s,!0);if(c&&e.length(c.declarations)&&e.some(c.declarations,(function(n){return e.getSourceFileOfNode(n)===e.getSourceFileOfNode(l)}))){var d=o?e.getExportAssignmentExpression(s):e.getPropertyAssignmentAliasLikeExpression(s),p=e.isEntityNameExpression(d)?function(n){switch(n.kind){case 78:return n;case 156:do{n=n.left}while(78!==n.kind);return n;case 198:do{if(e.isModuleExportsAccessExpression(n.expression)&&!e.isPrivateIdentifier(n.name))return n.name;n=n.expression}while(78!==n.kind);return n}}(d):void 0,f=p&&ra(p,67108863,!0,!0,l);(f||c)&&R(f||c);var m=t.tracker.trackSymbol;if(t.tracker.trackSymbol=e.noop,o)u.push(e.factory.createExportAssignment(void 0,void 0,i,D(c,t,67108863)));else if(p===d)V(a,e.idText(p));else if(e.isClassExpression(d))V(a,$(c,e.symbolName(c)));else{var _=Q(a,n);O(e.factory.createImportEqualsDeclaration(void 0,void 0,e.factory.createIdentifier(_),A(c,t,67108863,!1)),0),V(a,_)}return t.tracker.trackSymbol=m,!0}_=Q(a,n);var g=df(to(ha(n)));return W(g,n)?F(g,n,_,o?0:1):O(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(_,void 0,w(t,g,n,l,R,r))],2)),a===_?1:0),o?(u.push(e.factory.createExportAssignment(void 0,void 0,i,e.factory.createIdentifier(_))),!0):a!==_&&(V(a,_),!0)}function W(n,r){var a=e.getSourceFileOfNode(t.enclosingDeclaration);return 48&e.getObjectFlags(n)&&!rc(n,0)&&!rc(n,1)&&!(!e.length(Cs(n))&&!e.length(ec(n,0)))&&!e.length(ec(n,1))&&!P(r,l)&&!(n.symbol&&e.some(n.symbol.declarations,(function(n){return e.getSourceFileOfNode(n)!==a})))&&!e.some(Cs(n),(function(e){return Vo(e.escapedName)}))&&!e.some(Cs(n),(function(n){return e.some(n.declarations,(function(n){return e.getSourceFileOfNode(n)!==a}))}))&&e.every(Cs(n),(function(n){return e.isIdentifierText(e.symbolName(n),K)}))}function q(n,a,i){return function(o,s,c){var u=e.getDeclarationModifierFlagsFromSymbol(o),d=!!(8&u);if(s&&2887656&o.flags)return[];if(4194304&o.flags||c&&Zs(c,o.escapedName)&&Sh(Zs(c,o.escapedName))===Sh(o)&&(16777216&o.flags)==(16777216&Zs(c,o.escapedName).flags)&&Td(to(o),yi(c,o.escapedName)))return[];var p=-257&u|(s?32:0),m=N(o,t),_=e.find(o.declarations,e.or(e.isPropertyDeclaration,e.isAccessor,e.isVariableDeclaration,e.isPropertySignature,e.isBinaryExpression,e.isPropertyAccessExpression));if(98304&o.flags&&i){var g=[];if(65536&o.flags&&g.push(e.setTextRange(e.factory.createSetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(p),m,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"arg",void 0,d?void 0:w(t,to(o),o,l,R,r))],void 0),e.find(o.declarations,e.isSetAccessor)||_)),32768&o.flags){var y=8&u;g.push(e.setTextRange(e.factory.createGetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(p),m,[],y?void 0:w(t,to(o),o,l,R,r),void 0),e.find(o.declarations,e.isGetAccessor)||_))}return g}if(7&o.flags)return e.setTextRange(n(void 0,e.factory.createModifiersFromModifierFlags((Sh(o)?64:0)|p),m,16777216&o.flags?e.factory.createToken(57):void 0,d?void 0:w(t,to(o),o,l,R,r),void 0),e.find(o.declarations,e.or(e.isPropertyDeclaration,e.isVariableDeclaration))||_);if(8208&o.flags){var h=ec(to(o),0);if(8&p)return e.setTextRange(n(void 0,e.factory.createModifiersFromModifierFlags((Sh(o)?64:0)|p),m,16777216&o.flags?e.factory.createToken(57):void 0,void 0,void 0),e.find(o.declarations,e.isFunctionLikeDeclaration)||h[0]&&h[0].declaration||o.declarations[0]);for(var v=[],b=0,E=h;b<E.length;b++){var T=E[b],S=f(T,a,t,{name:m,questionToken:16777216&o.flags?e.factory.createToken(57):void 0,modifiers:p?e.factory.createModifiersFromModifierFlags(p):void 0});v.push(e.setTextRange(S,T.declaration))}return v}return e.Debug.fail("Unhandled class member kind! "+(o.__debugFlags||o.flags))}}function z(n,r,a,i){var o=ec(r,n);if(1===n){if(!a&&e.every(o,(function(n){return 0===e.length(n.parameters)})))return[];if(a){var s=ec(a,1);if(!e.length(s)&&e.every(o,(function(n){return 0===e.length(n.parameters)})))return[];if(s.length===o.length){for(var c=!1,l=0;l<s.length;l++)if(!bp(o[l],s[l],!1,!1,!0,Sd)){c=!0;break}if(!c)return[]}}for(var u=0,d=0,p=o;d<p.length;d++){var m=p[d];m.declaration&&(u|=e.getSelectedEffectiveModifierFlags(m.declaration,24))}if(u)return[e.setTextRange(e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(u),[],void 0),o[0].declaration)]}for(var _=[],g=0,y=o;g<y.length;g++){var h=y[g],v=f(h,i,t);_.push(e.setTextRange(v,h.declaration))}return _}function J(e,n){for(var r=[],a=0,i=[0,1];a<i.length;a++){var o=i[a],s=rc(e,o);if(s){if(n){var c=rc(n,o);if(c&&Td(s.type,c.type))continue}r.push(p(s,o,t,void 0))}}return r}function X(n,r){var a,i;if(n.target&&Ka(n.target.symbol,l,r)?(a=e.map(Hc(n),(function(e){return c(e,t)})),i=D(n.target.symbol,t,788968)):n.symbol&&Ka(n.symbol,l,r)&&(i=D(n.symbol,t,788968)),i)return e.factory.createExpressionWithTypeArguments(i,a)}function Y(n){var r=X(n,788968);return r||(n.symbol?e.factory.createExpressionWithTypeArguments(D(n.symbol,t,788968),void 0):void 0)}function Q(e,n){var r,a,i=n?k(n):void 0;if(i&&t.remappedSymbolNames.has(i))return t.remappedSymbolNames.get(i);n&&(e=Z(n,e));for(var o=0,s=e;null===(r=t.usedSymbolNames)||void 0===r?void 0:r.has(e);)e=s+"_"+ ++o;return null===(a=t.usedSymbolNames)||void 0===a||a.add(e),i&&t.remappedSymbolNames.set(i,e),e}function Z(n,r){if("default"===r||"__class"===r||"__function"===r){var a=t.flags;t.flags|=16777216;var i=li(n,t);t.flags=a,r=i.length>0&&e.isSingleOrDoubleQuote(i.charCodeAt(0))?e.stripQuotes(i):i}return"default"===r?r="_default":"export="===r&&(r="_exports"),r=e.isIdentifierText(r,K)&&!e.isStringANonContextualKeyword(r)?r:"_"+r.replace(/[^a-zA-Z0-9]/g,"_")}function $(e,n){var r=k(e);return t.remappedSymbolNames.has(r)?t.remappedSymbolNames.get(r):(n=Z(e,n),t.remappedSymbolNames.set(r,n),n)}}(n,t,l)}))}};function t(t,r,a,i){e.Debug.assert(void 0===t||0==(8&t.flags));var o={enclosingDeclaration:t,flags:r||0,tracker:a&&a.trackSymbol?a:{trackSymbol:e.noop,moduleResolverHost:134217728&r?{getCommonSourceDirectory:n.getCommonSourceDirectory?function(){return n.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return n.getSourceFiles()},getCurrentDirectory:function(){return n.getCurrentDirectory()},getSymlinkCache:e.maybeBind(n,n.getSymlinkCache),useCaseSensitiveFileNames:e.maybeBind(n,n.useCaseSensitiveFileNames),redirectTargetsMap:n.redirectTargetsMap,getProjectReferenceRedirect:function(e){return n.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return n.isSourceOfProjectReferenceRedirect(e)},fileExists:function(e){return n.fileExists(e)}}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},s=i(o);return o.encounteredError?void 0:s}function a(n){return n.truncating?n.truncating:n.truncating=n.approximateLength>(1&n.flags?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function c(n,t){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var i=8388608&t.flags;if(t.flags&=-8388609,!n)return 262144&t.flags?(t.approximateLength+=3,e.factory.createKeywordTypeNode(128)):void(t.encounteredError=!0);if(536870912&t.flags||(n=zs(n)),1&n.flags)return t.approximateLength+=3,e.factory.createKeywordTypeNode(128);if(2&n.flags)return e.factory.createKeywordTypeNode(151);if(4&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(8&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(143);if(64&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(154);if(16&n.flags)return t.approximateLength+=7,e.factory.createKeywordTypeNode(131);if(1024&n.flags&&!(1048576&n.flags)){var o=ba(n.symbol),s=S(o,t,788968);return Io(o)===n?s:G(s,e.factory.createTypeReferenceNode(e.symbolName(n.symbol),void 0))}if(1056&n.flags)return S(n.symbol,t,788968);if(128&n.flags)return t.approximateLength+=n.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(n.value,!!(268435456&t.flags)),16777216));if(256&n.flags){var _=n.value;return t.approximateLength+=(""+_).length,e.factory.createLiteralTypeNode(_<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-_)):e.factory.createNumericLiteral(_))}if(2048&n.flags)return t.approximateLength+=e.pseudoBigIntToString(n.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(n.value));if(512&n.flags)return t.approximateLength+=n.intrinsicName.length,e.factory.createLiteralTypeNode("true"===n.intrinsicName?e.factory.createTrue():e.factory.createFalse());if(8192&n.flags){if(!(1048576&t.flags)){if(ja(n.symbol,t.enclosingDeclaration))return t.approximateLength+=6,S(n.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,e.factory.createTypeOperatorNode(150,e.factory.createKeywordTypeNode(147))}if(16384&n.flags)return t.approximateLength+=4,e.factory.createKeywordTypeNode(113);if(32768&n.flags)return t.approximateLength+=9,e.factory.createKeywordTypeNode(149);if(65536&n.flags)return t.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(131072&n.flags)return t.approximateLength+=5,e.factory.createKeywordTypeNode(140);if(4096&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(67108864&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(144);if(au(n))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),t.tracker.reportInaccessibleThisError&&t.tracker.reportInaccessibleThisError()),t.approximateLength+=4,e.factory.createThisTypeNode();if(!i&&n.aliasSymbol&&(16384&t.flags||Va(n.aliasSymbol,t.enclosingDeclaration))){var g=d(n.aliasTypeArguments,t);return!Oa(n.aliasSymbol.escapedName)||32&n.aliasSymbol.flags?S(n.aliasSymbol,t,788968,g):e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),g)}var y=e.getObjectFlags(n);if(4&y)return e.Debug.assert(!!(524288&n.flags)),n.node?M(n,F):F(n);if(262144&n.flags||3&y){if(262144&n.flags&&e.contains(t.inferTypeParameters,n))return t.approximateLength+=e.symbolName(n.symbol).length+6,e.factory.createInferTypeNode(m(n,t,void 0));if(4&t.flags&&262144&n.flags&&!Va(n.symbol,t.enclosingDeclaration)){var h=x(n,t);return t.approximateLength+=e.idText(h).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(h)),void 0)}return n.symbol?S(n.symbol,t,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(3145728&n.flags){var v=1048576&n.flags?function(e){for(var n=[],t=0,r=0;r<e.length;r++){var a=e[r];if(t|=a.flags,!(98304&a.flags)){if(1536&a.flags){var i=512&a.flags?Ge:xo(a);if(1048576&i.flags){var o=i.types.length;if(r+o<=e.length&&Pu(e[r+o-1])===Pu(i.types[o-1])){n.push(i),r+=o-1;continue}}}n.push(a)}}65536&t&&n.push(Ie);32768&t&&n.push(Ae);return n||e}(n.types):n.types;if(1===e.length(v))return c(v[0],t);var b=d(v,t,!0);return b&&b.length>0?1048576&n.flags?e.factory.createUnionTypeNode(b):e.factory.createIntersectionTypeNode(b):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&y)return e.Debug.assert(!!(524288&n.flags)),P(n);if(4194304&n.flags){var E=n.type;t.approximateLength+=6;var T=c(E,t);return e.factory.createTypeOperatorNode(137,T)}if(8388608&n.flags){var L=c(n.objectType,t);T=c(n.indexType,t);return t.approximateLength+=2,e.factory.createIndexedAccessTypeNode(L,T)}if(16777216&n.flags){var A=c(n.checkType,t),D=t.inferTypeParameters;t.inferTypeParameters=n.root.inferTypeParameters;var C=c(n.extendsType,t);t.inferTypeParameters=D;var I=O(gu(n)),N=O(yu(n));return t.approximateLength+=15,e.factory.createConditionalTypeNode(A,C,I,N)}return 33554432&n.flags?c(n.baseType,t):e.Debug.fail("Should be unreachable.");function O(e){var n,r,a;return 1048576&e.flags?(null===(n=t.visitedTypes)||void 0===n?void 0:n.has(Nl(e)))?(131072&t.flags||(t.encounteredError=!0,null===(a=null===(r=t.tracker)||void 0===r?void 0:r.reportCyclicStructureError)||void 0===a||a.call(r)),l(t)):M(e,(function(e){return c(e,t)})):c(e,t)}function P(n){var r,a=n.id,i=n.symbol;if(i){if(Oy(i.valueDeclaration)){var o=n===Eo(i)?788968:111551;return S(i,t,o)}if(32&i.flags&&!Zi(i)&&!(218===i.valueDeclaration.kind&&2048&t.flags)||896&i.flags||function(){var n,r=!!(8192&i.flags)&&e.some(i.declarations,(function(n){return e.hasSyntacticModifier(n,32)})),o=!!(16&i.flags)&&(i.parent||e.forEach(i.declarations,(function(e){return 294===e.parent.kind||254===e.parent.kind})));if(r||o)return(!!(4096&t.flags)||(null===(n=t.visitedTypes)||void 0===n?void 0:n.has(a)))&&(!(8&t.flags)||ja(i,t.enclosingDeclaration))}())return S(i,t,111551);if(null===(r=t.visitedTypes)||void 0===r?void 0:r.has(a)){var s=function(n){if(n.symbol&&2048&n.symbol.flags){var t=e.walkUpParenthesizedTypes(n.symbol.declarations[0].parent);if(251===t.kind)return va(t)}return}(n);return s?S(s,t,788968):l(t)}return M(n,w)}return w(n)}function M(n,r){var a,i=n.id,o=16&e.getObjectFlags(n)&&n.symbol&&32&n.symbol.flags,s=4&e.getObjectFlags(n)&&n.node?"N"+R(n.node):n.symbol?(o?"+":"")+k(n.symbol):void 0;if(t.visitedTypes||(t.visitedTypes=new e.Set),s&&!t.symbolDepth&&(t.symbolDepth=new e.Map),s){if((a=t.symbolDepth.get(s)||0)>10)return l(t);t.symbolDepth.set(s,a+1)}t.visitedTypes.add(i);var c=r(n);return t.visitedTypes.delete(i),s&&t.symbolDepth.set(s,a),c}function w(n){if(Ss(n)||n.containsError)return function(n){e.Debug.assert(!!(524288&n.flags));var r,a=n.declaration.readonlyToken?e.factory.createToken(n.declaration.readonlyToken.kind):void 0,i=n.declaration.questionToken?e.factory.createToken(n.declaration.questionToken.kind):void 0;r=hs(n)?e.factory.createTypeOperatorNode(137,c(vs(n),t)):c(_s(n),t);var o=m(ms(n),t,r),s=c(gs(n),t),l=e.factory.createMappedTypeNode(a,o,i,s);return t.approximateLength+=10,e.setEmitFlags(l,1)}(n);var r=Ls(n);if(!r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(!r.callSignatures.length&&!r.constructSignatures.length)return t.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(1===r.callSignatures.length&&!r.constructSignatures.length)return f(r.callSignatures[0],173,t);if(1===r.constructSignatures.length&&!r.callSignatures.length)return f(r.constructSignatures[0],174,t)}var i=t.flags;t.flags|=4194304;var o=function(n){if(a(t))return[e.factory.createPropertySignature(void 0,"...",void 0,void 0)];for(var r=[],i=0,o=n.callSignatures;i<o.length;i++){var s=o[i];r.push(f(s,168,t))}for(var c=0,d=n.constructSignatures;c<d.length;c++){s=d[c];r.push(f(s,169,t))}if(n.stringIndexInfo){var m=void 0;m=2048&n.objectFlags?p(Pc(be,n.stringIndexInfo.isReadonly,n.stringIndexInfo.declaration),0,t,l(t)):p(n.stringIndexInfo,0,t,void 0),r.push(m)}n.numberIndexInfo&&r.push(p(n.numberIndexInfo,1,t,void 0));var _=n.properties;if(!_)return r;for(var g=0,y=0,h=_;y<h.length;y++){var v=h[y];if(g++,2048&t.flags){if(4194304&v.flags)continue;24&e.getDeclarationModifierFlagsFromSymbol(v)&&t.tracker.reportPrivateInBaseOfClassExpression&&t.tracker.reportPrivateInBaseOfClassExpression(e.unescapeLeadingUnderscores(v.escapedName))}if(a(t)&&g+2<_.length-1){r.push(e.factory.createPropertySignature(void 0,"... "+(_.length-g)+" more ...",void 0,void 0)),u(_[_.length-1],t,r);break}u(v,t,r)}return r.length?r:void 0}(r);t.flags=i;var s=e.factory.createTypeLiteralNode(o);return t.approximateLength+=2,e.setEmitFlags(s,1024&t.flags?0:1)}function F(n){var r=Hc(n);if(n.target===hn||n.target===vn){if(2&t.flags){var a=c(r[0],t);return e.factory.createTypeReferenceNode(n.target===hn?"Array":"ReadonlyArray",[a])}var i=c(r[0],t),o=e.factory.createArrayTypeNode(i);return n.target===hn?o:e.factory.createTypeOperatorNode(141,o)}if(!(8&n.target.objectFlags)){if(2048&t.flags&&n.symbol.valueDeclaration&&e.isClassLike(n.symbol.valueDeclaration)&&!ja(n.symbol,t.enclosingDeclaration))return P(n);var s=n.target.outerTypeParameters,l=(T=0,void 0);if(s)for(var u=s.length;T<u;){var p=T,f=Gc(s[T]);do{T++}while(T<u&&Gc(s[T])===f);if(!e.rangeEquals(s,r,p,T)){var m=d(r.slice(p,T),t),_=t.flags;t.flags|=16;var g=S(f,t,788968,m);t.flags=_,l=l?G(l,g):g}}var y=void 0;if(r.length>0){var h=(n.target.typeParameters||e.emptyArray).length;y=d(r.slice(T,h),t)}L=t.flags;t.flags|=16;var v=S(n.symbol,t,788968,y);return t.flags=L,l?G(l,v):v}if(r.length>0){var b=Wc(n),E=d(r.slice(0,b),t);if(E){if(n.target.labeledElementDeclarations)for(var T=0;T<E.length;T++){var L=n.target.elementFlags[T];E[T]=e.factory.createNamedTupleMember(12&L?e.factory.createToken(25):void 0,e.factory.createIdentifier(e.unescapeLeadingUnderscores(zy(n.target.labeledElementDeclarations[T]))),2&L?e.factory.createToken(57):void 0,4&L?e.factory.createArrayTypeNode(E[T]):E[T])}else for(var T=0;T<Math.min(b,E.length);T++){var L=n.target.elementFlags[T];E[T]=12&L?e.factory.createRestTypeNode(4&L?e.factory.createArrayTypeNode(E[T]):E[T]):2&L?e.factory.createOptionalTypeNode(E[T]):E[T]}var x=e.setEmitFlags(e.factory.createTupleTypeNode(E),1);return n.target.readonly?e.factory.createTypeOperatorNode(141,x):x}}if(t.encounteredError||524288&t.flags){x=e.setEmitFlags(e.factory.createTupleTypeNode([]),1);return n.target.readonly?e.factory.createTypeOperatorNode(141,x):x}t.encounteredError=!0}function G(n,t){if(e.isImportTypeNode(n)){var r=n.typeArguments,a=n.qualifier;a&&(a=e.isIdentifier(a)?e.factory.updateIdentifier(a,r):e.factory.updateQualifiedName(a,a.left,e.factory.updateIdentifier(a.right,r))),r=t.typeArguments;for(var i=0,o=B(t);i<o.length;i++){var s=o[i];a=a?e.factory.createQualifiedName(a,s):s}return e.factory.updateImportTypeNode(n,n.argument,a,r,n.isTypeOf)}r=n.typeArguments;var c=n.typeName;c=e.isIdentifier(c)?e.factory.updateIdentifier(c,r):e.factory.updateQualifiedName(c,c.left,e.factory.updateIdentifier(c.right,r)),r=t.typeArguments;for(var l=0,u=B(t);l<u.length;l++){s=u[l];c=e.factory.createQualifiedName(c,s)}return e.factory.updateTypeReferenceNode(n,c,r)}function B(n){for(var t=n.typeName,r=[];!e.isIdentifier(t);)r.unshift(t.right),t=t.left;return r.unshift(t),r}}function l(n){return n.approximateLength+=3,1&n.flags?e.factory.createKeywordTypeNode(128):e.factory.createTypeReferenceNode(e.factory.createIdentifier("..."),void 0)}function u(n,t,r){var a=!!(8192&e.getCheckFlags(n)),i=a&&33554432&t.flags?be:to(n),o=t.enclosingDeclaration;if(t.enclosingDeclaration=void 0,t.tracker.trackSymbol&&4096&e.getCheckFlags(n)){var s=e.first(n.declarations);if(jo(s))if(e.isBinaryExpression(s)){var c=e.getNameOfDeclaration(s);c&&e.isElementAccessExpression(c)&&e.isPropertyAccessEntityNameExpression(c.argumentExpression)&&y(c.argumentExpression,o,t)}else y(s.name.expression,o,t)}t.enclosingDeclaration=o;var u=N(n,t);t.approximateLength+=e.symbolName(n).length+1;var d=16777216&n.flags?e.factory.createToken(57):void 0;if(8208&n.flags&&!xs(i).length&&!Sh(n))for(var p=0,m=ec(Em(i,(function(e){return!(32768&e.flags)})),0);p<m.length;p++){var _=f(m[p],163,t,{name:u,questionToken:d});r.push(E(_))}else{var g=t.flags;t.flags|=a?33554432:0;var h=void 0;h=a&&33554432&g?l(t):i?w(t,i,n,o):e.factory.createKeywordTypeNode(128),t.flags=g;var v=Sh(n)?[e.factory.createToken(141)]:void 0;v&&(t.approximateLength+=9);var b=e.factory.createPropertySignature(v,u,d,h);r.push(E(b))}function E(t){if(e.some(n.declarations,(function(e){return 328===e.kind}))){var r=e.find(n.declarations,(function(e){return 328===e.kind})).comment;r&&e.setSyntheticLeadingComments(t,[{kind:3,text:"*\n * "+r.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else n.valueDeclaration&&e.setCommentRange(t,n.valueDeclaration);return t}}function d(n,t,r){if(e.some(n)){if(a(t)){if(!r)return[e.factory.createTypeReferenceNode("...",void 0)];if(n.length>2)return[c(n[0],t),e.factory.createTypeReferenceNode("... "+(n.length-2)+" more ...",void 0),c(n[n.length-1],t)]}for(var i=!(64&t.flags)?e.createUnderscoreEscapedMultiMap():void 0,o=[],s=0,l=0,u=n;l<u.length;l++){var d=u[l];if(s++,a(t)&&s+2<n.length-1){o.push(e.factory.createTypeReferenceNode("... "+(n.length-s)+" more ...",void 0));var p=c(n[n.length-1],t);p&&o.push(p);break}t.approximateLength+=2;var f=c(d,t);f&&(o.push(f),i&&e.isIdentifierTypeReference(f)&&i.add(f.typeName.escapedText,[d,o.length-1]))}if(i){var m=t.flags;t.flags|=64,i.forEach((function(n){if(!e.arrayIsHomogeneous(n,(function(e,n){return function(e,n){return e===n||!!e.symbol&&e.symbol===n.symbol||!!e.aliasSymbol&&e.aliasSymbol===n.aliasSymbol}(e[0],n[0])})))for(var r=0,a=n;r<a.length;r++){var i=a[r],s=i[0],l=i[1];o[l]=c(s,t)}})),t.flags=m}return o}}function p(n,t,r,a){var i=e.getNameFromIndexInfo(n)||"x",o=e.factory.createKeywordTypeNode(0===t?146:143),s=e.factory.createParameterDeclaration(void 0,void 0,void 0,i,void 0,o,void 0);return a||(a=c(n.type||be,r)),n.type||2097152&r.flags||(r.encounteredError=!0),r.approximateLength+=i.length+4,e.factory.createIndexSignature(void 0,n.isReadonly?[e.factory.createToken(141)]:void 0,[s],a)}function f(n,t,r,a){var i,o,s,l,u,d,p=256&r.flags;p&&(r.flags&=-257),32&r.flags&&n.target&&n.mapper&&n.target.typeParameters?d=n.target.typeParameters.map((function(e){return c(pd(e,n.mapper),r)})):u=n.typeParameters&&n.typeParameters.map((function(e){return _(e,r)}));var f,m=ns(n,!0)[0].map((function(e){return g(e,r,165===t,null==a?void 0:a.privateSymbolVisitor,null==a?void 0:a.bundledImports)}));if(n.thisParameter){var y=g(n.thisParameter,r);m.unshift(y)}var h=bc(n);if(h){var v=2===h.kind||3===h.kind?e.factory.createToken(127):void 0,b=1===h.kind||3===h.kind?e.setEmitFlags(e.factory.createIdentifier(h.parameterName),16777216):e.factory.createThisTypeNode(),E=h.type&&c(h.type,r);f=e.factory.createTypePredicateNode(v,b,E)}else{var T=Ec(n);!T||p&&hi(T)?p||(f=e.factory.createKeywordTypeNode(128)):f=function(n,t,r,a,i){if(t!==Se&&n.enclosingDeclaration){var o=r.declaration&&e.getEffectiveReturnTypeNode(r.declaration);if(e.findAncestor(o,(function(e){return e===n.enclosingDeclaration}))&&o&&pd(Vu(o),r.mapper)===t&&M(o,t)){var s=F(n,o,a,i);if(s)return s}}return c(t,n)}(r,T,n,null==a?void 0:a.privateSymbolVisitor,null==a?void 0:a.bundledImports)}r.approximateLength+=3;var S=168===t?e.factory.createCallSignature(u,m,f):169===t?e.factory.createConstructSignature(u,m,f):163===t?e.factory.createMethodSignature(null==a?void 0:a.modifiers,null!==(i=null==a?void 0:a.name)&&void 0!==i?i:e.factory.createIdentifier(""),null==a?void 0:a.questionToken,u,m,f):164===t?e.factory.createMethodDeclaration(void 0,null==a?void 0:a.modifiers,void 0,null!==(o=null==a?void 0:a.name)&&void 0!==o?o:e.factory.createIdentifier(""),void 0,u,m,f,void 0):165===t?e.factory.createConstructorDeclaration(void 0,null==a?void 0:a.modifiers,m,void 0):166===t?e.factory.createGetAccessorDeclaration(void 0,null==a?void 0:a.modifiers,null!==(s=null==a?void 0:a.name)&&void 0!==s?s:e.factory.createIdentifier(""),m,f,void 0):167===t?e.factory.createSetAccessorDeclaration(void 0,null==a?void 0:a.modifiers,null!==(l=null==a?void 0:a.name)&&void 0!==l?l:e.factory.createIdentifier(""),m,void 0):170===t?e.factory.createIndexSignature(void 0,null==a?void 0:a.modifiers,m,f):304===t?e.factory.createJSDocFunctionType(m,f):173===t?e.factory.createFunctionTypeNode(u,m,null!=f?f:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):174===t?e.factory.createConstructorTypeNode(u,m,null!=f?f:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):248===t?e.factory.createFunctionDeclaration(void 0,null==a?void 0:a.modifiers,void 0,(null==a?void 0:a.name)?e.cast(a.name,e.isIdentifier):e.factory.createIdentifier(""),u,m,f,void 0):205===t?e.factory.createFunctionExpression(null==a?void 0:a.modifiers,void 0,(null==a?void 0:a.name)?e.cast(a.name,e.isIdentifier):e.factory.createIdentifier(""),u,m,f,e.factory.createBlock([])):206===t?e.factory.createArrowFunction(null==a?void 0:a.modifiers,u,m,f,void 0,e.factory.createBlock([])):e.Debug.assertNever(t);return d&&(S.typeArguments=e.factory.createNodeArray(d)),S}function m(n,t,r){var a=t.flags;t.flags&=-513;var i=x(n,t),o=Us(n),s=o&&c(o,t);return t.flags=a,e.factory.createTypeParameterDeclaration(i,r,s)}function _(e,n,t){return void 0===t&&(t=Ns(e)),m(e,n,t&&c(t,n))}function g(n,t,r,a,i){var o=e.getDeclarationOfKind(n,159);o||e.isTransientSymbol(n)||(o=e.getDeclarationOfKind(n,322));var s,c=to(n);o&&tT(o)&&(c=Yp(c)),1073741824&t.flags&&o&&!e.isJSDocParameterTag(o)&&(s=o,q&&uc(s)&&!s.initializer)&&(c=am(c,524288));var l=w(t,c,n,t.enclosingDeclaration,a,i),u=!(8192&t.flags)&&r&&o&&o.modifiers?o.modifiers.map(e.factory.cloneNode):void 0,d=o&&e.isRestParameter(o)||32768&e.getCheckFlags(n)?e.factory.createToken(25):void 0,p=o&&o.name?78===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name),16777216):156===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name.right),16777216):function n(r){t.tracker.trackSymbol&&e.isComputedPropertyName(r)&&Uo(r)&&y(r.expression,t.enclosingDeclaration,t);var a=e.visitEachChild(r,n,e.nullTransformationContext,void 0,n);return e.isBindingElement(a)&&(a=e.factory.updateBindingElement(a,a.dotDotDotToken,a.propertyName,a.name,void 0)),e.nodeIsSynthesized(a)||(a=e.factory.cloneNode(a)),e.setEmitFlags(a,16777217)}(o.name):e.symbolName(n),f=o&&uc(o)||16384&e.getCheckFlags(n)?e.factory.createToken(57):void 0,m=e.factory.createParameterDeclaration(void 0,u,d,p,f,l,void 0);return t.approximateLength+=e.symbolName(n).length+3,m}function y(n,t,r){if(r.tracker.trackSymbol){var a=e.getFirstIdentifier(n),i=xr(a,a.escapedText,1160127,void 0,void 0,!0);i&&r.tracker.trackSymbol(i,t,111551)}}function h(e,n,t,r){return n.tracker.trackSymbol(e,n.enclosingDeclaration,t),v(e,n,t,r)}function v(n,t,r,a){var i;return 262144&n.flags||!(t.enclosingDeclaration||64&t.flags)||134217728&t.flags?i=[n]:(i=e.Debug.checkDefined(function n(r,i,o){var s,c=Ba(r,t.enclosingDeclaration,i,!!(128&t.flags));if(!c||Ua(c[0],t.enclosingDeclaration,1===c.length?i:Ga(i))){var l=Ea(c?c[0]:r,t.enclosingDeclaration,i);if(e.length(l)){s=l.map((function(n){return e.some(n.declarations,Ja)?T(n,t):void 0}));var u=l.map((function(e,n){return n}));u.sort((function(n,t){var r=s[n],a=s[t];if(r&&a){var i=e.pathIsRelative(a);return e.pathIsRelative(r)===i?e.moduleSpecifiers.countPathComponents(r)-e.moduleSpecifiers.countPathComponents(a):i?-1:1}return 0}));for(var d=u.map((function(e){return l[e]})),p=0,f=d;p<f.length;p++){var m=f[p],_=n(m,Ga(i),!1);if(_){if(m.exports&&m.exports.get("export=")&&La(m.exports.get("export="),r)){c=_;break}c=_.concat(c||[Sa(m,r)||r]);break}}}}if(c)return c;if(o||!(6144&r.flags)){if(!o&&!a&&e.forEach(r.declarations,Ja))return;return[r]}}(n,r,!0)),e.Debug.assert(i&&i.length>0)),i}function b(n,t){var r;return 524384&tE(n).flags&&(r=e.factory.createNodeArray(e.map(lo(n),(function(e){return _(e,t)})))),r}function E(n,t,r){var a;e.Debug.assert(n&&0<=t&&t<n.length);var i=n[t],o=k(i);if(!(null===(a=r.typeParameterSymbolList)||void 0===a?void 0:a.has(o))){var s;if((r.typeParameterSymbolList||(r.typeParameterSymbolList=new e.Set)).add(o),512&r.flags&&t<n.length-1){var c=i,l=n[t+1];if(1&e.getCheckFlags(l)){var u=function(n){return e.concatenate(co(n),lo(n))}(2097152&c.flags?Xr(c):c);s=d(e.map(u,(function(e){return zu(e,l.mapper)})),r)}else s=b(i,r)}return s}}function T(n,t){var r,a=e.getDeclarationOfKind(n,294);if(!a){var o=e.firstDefined(n.declarations,(function(e){return Ta(e,n)}));o&&(a=e.getDeclarationOfKind(o,294))}if(a&&void 0!==a.moduleName)return a.moduleName;if(!a){if(t.tracker.trackReferencedAmbientModule){var c=e.filter(n.declarations,e.isAmbientModule);if(e.length(c))for(var l=0,u=c;l<u.length;l++){var d=u[l];t.tracker.trackReferencedAmbientModule(d,n)}}if(i.test(n.escapedName))return n.escapedName.substring(1,n.escapedName.length-1)}if(!t.enclosingDeclaration||!t.tracker.moduleResolverHost)return i.test(n.escapedName)?n.escapedName.substring(1,n.escapedName.length-1):e.getSourceFileOfNode(e.getNonAugmentationDeclaration(n)).fileName;var p=e.getSourceFileOfNode(e.getOriginalNode(t.enclosingDeclaration)),f=vr(n),m=f.specifierCache&&f.specifierCache.get(p.path);if(!m){var _=!!e.outFile(j),g=t.tracker.moduleResolverHost,y=_?s(s({},j),{baseUrl:g.getCommonSourceDirectory()}):j;m=e.first(e.moduleSpecifiers.getModuleSpecifiers(n,y,p,g,{importModuleSpecifierPreference:_?"non-relative":"relative"})),null!==(r=f.specifierCache)&&void 0!==r||(f.specifierCache=new e.Map),f.specifierCache.set(p.path,m)}return m}function S(n,t,r,a){var i=h(n,t,r,!(16384&t.flags)),o=111551===r;if(e.some(i[0].declarations,Ja)){var s=i.length>1?g(i,i.length-1,1):void 0,c=a||E(i,0,t),l=T(i[0],t);!(67108864&t.flags)&&e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.NodeJs&&l.indexOf("/node_modules/")>=0&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(l));var u=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(l));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(i[0]),t.approximateLength+=l.length+10,!s||e.isEntityName(s)){if(s)(m=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.factory.createImportTypeNode(u,s,c,o)}var d=function n(t){return e.isIndexedAccessTypeNode(t.objectType)?n(t.objectType):t}(s),p=d.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(u,p,c,o),d.indexType)}var f=g(i,i.length-1,0);if(e.isIndexedAccessTypeNode(f))return f;if(o)return e.factory.createTypeQueryNode(f);var m,_=(m=e.isIdentifier(f)?f:f.right).typeArguments;return m.typeArguments=void 0,e.factory.createTypeReferenceNode(f,_);function g(n,r,i){var o,s=r===n.length-1?a:E(n,r,t),c=n[r],l=n[r-1];if(0===r)t.flags|=16777216,o=li(c,t),t.approximateLength+=(o?o.length:0)+1,t.flags^=16777216;else if(l&&ma(l)){var u=ma(l);e.forEachEntry(u,(function(n,t){if(La(n,c)&&!Vo(t)&&"export="!==t)return o=e.unescapeLeadingUnderscores(t),!0}))}if(o||(o=li(c,t)),t.approximateLength+=o.length+1,!(16&t.flags)&&l&&zo(l)&&zo(l).get(c.escapedName)&&La(zo(l).get(c.escapedName),c)){var d=g(n,r-1,i);return e.isIndexedAccessTypeNode(d)?e.factory.createIndexedAccessTypeNode(d,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(d,s),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o)))}var p=e.setEmitFlags(e.factory.createIdentifier(o,s),16777216);if(p.symbol=c,r>i){d=g(n,r-1,i);return e.isEntityName(d)?e.factory.createQualifiedName(d,p):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return p}}function L(e,n,t){var r=xr(n.enclosingDeclaration,e,788968,void 0,e,!1);return!!r&&!(262144&r.flags&&r===t.symbol)}function x(n,t){var r;if(4&t.flags&&t.typeParameterNames){var a=t.typeParameterNames.get(Nl(n));if(a)return a}var i=A(n.symbol,t,788968,!0);if(!(78&i.kind))return e.factory.createIdentifier("(Missing type parameter)");if(4&t.flags){for(var o=i.escapedText,s=0,c=o;(null===(r=t.typeParameterNamesByText)||void 0===r?void 0:r.has(c))||L(c,t,n);)c=o+"_"+ ++s;c!==o&&(i=e.factory.createIdentifier(c,i.typeArguments)),(t.typeParameterNames||(t.typeParameterNames=new e.Map)).set(Nl(n),i),(t.typeParameterNamesByText||(t.typeParameterNamesByText=new e.Set)).add(i.escapedText)}return i}function A(n,t,r,a){var i=h(n,t,r);return!a||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=li(o,t);0===a&&(t.flags^=16777216);var c=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216);return c.symbol=o,a>0?e.factory.createQualifiedName(n(r,a-1),c):c}(i,i.length-1)}function D(n,t,r){var a=h(n,t,r);return function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=li(o,t);0===a&&(t.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,Ja))return e.factory.createStringLiteral(T(o,t));var l=35===c?s.length>1&&e.isIdentifierStart(s.charCodeAt(1),K):e.isIdentifierStart(c,K);if(0===a||l){var u=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216);return u.symbol=o,a>0?e.factory.createPropertyAccessExpression(n(r,a-1),u):u}91===c&&(s=s.substring(1,s.length-1),c=s.charCodeAt(0));var d=void 0;return e.isSingleOrDoubleQuote(c)?d=e.factory.createStringLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})),39===c):""+ +s===s&&(d=e.factory.createNumericLiteral(+s)),d||((d=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216)).symbol=o),e.factory.createElementAccessExpression(n(r,a-1),d)}(a,a.length-1)}function C(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isStringLiteral(t)}function I(n){var t=e.getNameOfDeclaration(n);return!!(t&&e.isStringLiteral(t)&&(t.singleQuote||!e.nodeIsSynthesized(t)&&e.startsWith(e.getTextOfNode(t,!1),"'")))}function N(n,t){var r=!!e.length(n.declarations)&&e.every(n.declarations,I),a=function(n,t,r){var a=vr(n).nameType;if(a){if(384&a.flags){var i=""+a.value;return e.isIdentifierText(i,j.target)||U_(i)?U_(i)&&e.startsWith(i,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+i)):O(i):e.factory.createStringLiteral(i,!!r)}if(8192&a.flags)return e.factory.createComputedPropertyName(D(a.symbol,t,111551))}}(n,t,r);return a||(e.isKnownSymbol(n)?e.factory.createComputedPropertyName(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("Symbol"),n.escapedName.substr(3))):O(e.unescapeLeadingUnderscores(n.escapedName),!!e.length(n.declarations)&&e.every(n.declarations,C),r))}function O(n,t,r){return e.isIdentifierText(n,j.target)?e.factory.createIdentifier(n):!t&&U_(n)&&+n>=0?e.factory.createNumericLiteral(+n):e.factory.createStringLiteral(n,!!r)}function P(n,t){return n.declarations&&e.find(n.declarations,(function(n){return!(!e.getEffectiveTypeAnnotationNode(n)||t&&!e.findAncestor(n,(function(e){return e===t})))}))}function M(n,t){return!(4&e.getObjectFlags(t))||!e.isTypeReferenceNode(n)||e.length(n.typeArguments)>=fc(t.target.typeParameters)}function w(n,t,r,a,i,o){if(t!==Se&&a){var s=P(r,a);if(s&&!e.isFunctionLikeDeclaration(s)){var l=e.getEffectiveTypeAnnotationNode(s);if(Vu(l)===t&&M(l,t)){var u=F(n,l,i,o);if(u)return u}}}var d=n.flags;8192&t.flags&&t.symbol===r&&(n.flags|=1048576);var p=c(t,n);return n.flags=d,p}function F(t,a,i,o){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var s=!1,l=e.getSourceFileOfNode(a),u=e.visitNode(a,(function r(a){var u,d;if(e.isJSDocAllType(a)||306===a.kind)return e.factory.createKeywordTypeNode(128);if(e.isJSDocUnknownType(a))return e.factory.createKeywordTypeNode(151);if(e.isJSDocNullableType(a))return e.factory.createUnionTypeNode([e.visitNode(a.type,r),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(a))return e.factory.createUnionTypeNode([e.visitNode(a.type,r),e.factory.createKeywordTypeNode(149)]);if(e.isJSDocNonNullableType(a))return e.visitNode(a.type,r);if(e.isJSDocVariadicType(a))return e.factory.createArrayTypeNode(e.visitNode(a.type,r));if(e.isJSDocTypeLiteral(a))return e.factory.createTypeLiteralNode(e.map(a.jsDocPropertyTags,(function(n){var i=e.isIdentifier(n.name)?n.name:n.name.right,o=yi(Vu(a),i.escapedText),s=o&&n.typeExpression&&Vu(n.typeExpression.type)!==o?c(o,t):void 0;return e.factory.createPropertySignature(void 0,i,n.typeExpression&&e.isJSDocOptionalType(n.typeExpression.type)?e.factory.createToken(57):void 0,s||n.typeExpression&&e.visitNode(n.typeExpression.type,r)||e.factory.createKeywordTypeNode(128))})));if(e.isTypeReferenceNode(a)&&e.isIdentifier(a.typeName)&&""===a.typeName.escapedText)return e.setOriginalNode(e.factory.createKeywordTypeNode(128),a);if((e.isExpressionWithTypeArguments(a)||e.isTypeReferenceNode(a))&&e.isJSDocIndexSignature(a))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,e.visitNode(a.typeArguments[0],r))],e.visitNode(a.typeArguments[1],r))]);if(e.isJSDocFunctionType(a)){var p;return e.isJSDocConstructSignature(a)?e.factory.createConstructorTypeNode(e.visitNodes(a.typeParameters,r),e.mapDefined(a.parameters,(function(n,t){return n.name&&e.isIdentifier(n.name)&&"new"===n.name.escapedText?void(p=n.type):e.factory.createParameterDeclaration(void 0,void 0,g(n),y(n,t),n.questionToken,e.visitNode(n.type,r),void 0)})),e.visitNode(p||a.type,r)||e.factory.createKeywordTypeNode(128)):e.factory.createFunctionTypeNode(e.visitNodes(a.typeParameters,r),e.map(a.parameters,(function(n,t){return e.factory.createParameterDeclaration(void 0,void 0,g(n),y(n,t),n.questionToken,e.visitNode(n.type,r),void 0)})),e.visitNode(a.type,r)||e.factory.createKeywordTypeNode(128))}if(e.isTypeReferenceNode(a)&&e.isInJSDoc(a)&&(!M(a,Vu(a))||rl(a)||he===Xc(Jc(a),788968,!0)))return e.setOriginalNode(c(Vu(a),t),a);if(e.isLiteralImportTypeNode(a))return e.factory.updateImportTypeNode(a,e.factory.updateLiteralTypeNode(a.argument,function(r,a){if(o){if(t.tracker&&t.tracker.moduleResolverHost){var i=TT(r);if(i){var s={getCanonicalFileName:e.createGetCanonicalFileName(!!n.useCaseSensitiveFileNames),getCurrentDirectory:function(){return t.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return t.tracker.moduleResolverHost.getCommonSourceDirectory()}},c=e.getResolvedExternalModuleName(s,i);return e.factory.createStringLiteral(c)}}}else if(t.tracker&&t.tracker.trackExternalModuleSymbolOfImportTypeNode){var l=oa(a,a,void 0);l&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(l)}return a}(a,a.argument.literal)),a.qualifier,e.visitNodes(a.typeArguments,r,e.isTypeNode),a.isTypeOf);if(e.isEntityName(a)||e.isEntityNameExpression(a)){var f=e.getFirstIdentifier(a);if(e.isInJSFile(a)&&(e.isExportsIdentifier(f)||e.isModuleExportsAccessExpression(f.parent)||e.isQualifiedName(f.parent)&&e.isModuleIdentifier(f.parent.left)&&e.isExportsIdentifier(f.parent.right)))return s=!0,a;var m=ra(f,67108863,!0,!0);if(m&&(0!==Ha(m,t.enclosingDeclaration,67108863,!1).accessibility?s=!0:(null===(d=null===(u=t.tracker)||void 0===u?void 0:u.trackSymbol)||void 0===d||d.call(u,m,t.enclosingDeclaration,67108863),null==i||i(m)),e.isIdentifier(a))){var _=262144&m.flags?x(Io(m),t):e.factory.cloneNode(a);return _.symbol=m,e.setEmitFlags(e.setOriginalNode(_,a),16777216)}}l&&e.isTupleTypeNode(a)&&e.getLineAndCharacterOfPosition(l,a.pos).line===e.getLineAndCharacterOfPosition(l,a.end).line&&e.setEmitFlags(a,1);return e.visitEachChild(a,r,e.nullTransformationContext);function g(n){return n.dotDotDotToken||(n.type&&e.isJSDocVariadicType(n.type)?e.factory.createToken(25):void 0)}function y(n,t){return n.name&&e.isIdentifier(n.name)&&"this"===n.name.escapedText?"this":g(n)?"args":"arg"+t}}));if(!s)return u===a?e.setTextRange(e.factory.cloneNode(a),a):u}}(),te=e.createSymbolTable(),re=ur(4,"undefined");re.declarations=[];var ae=ur(1536,"globalThis",8);ae.exports=te,ae.declarations=[],te.set(ae.escapedName,ae);var ie,oe=ur(4,"arguments"),se=ur(4,"require"),ce={getNodeCount:function(){return e.sum(n.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(n.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(n.getSourceFiles(),"symbolCount")+v},getTypeCount:function(){return h},getInstantiationCount:function(){return E},getRelationCacheSizes:function(){return{assignable:$t.size,identity:nr.size,subtype:Qt.size,strictSubtype:Zt.size}},isUndefinedSymbol:function(e){return e===re},isArgumentsSymbol:function(e){return e===oe},isUnknownSymbol:function(e){return e===he},getMergedSymbol:ha,getDiagnostics:DE,getGlobalDiagnostics:function(){return CE(),zt.getGlobalDiagnostics()},getTypeOfSymbolAtLocation:function(n,t){var r=e.getParseTreeNode(t);return r?function(n,t){if(n=n.exportSymbol||n,78===t.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),e.isExpressionNode(t)&&!e.isAssignmentTarget(t))){var r=tv(t);if(xa(br(t).resolvedSymbol)===n)return r}return to(n)}(n,r):Se},getSymbolsOfParameterPropertyDeclaration:function(n,t){var r=e.getParseTreeNode(n,e.isParameter);return void 0===r?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(n,t){var r=n.parent,a=n.parent.parent,i=Tr(r.locals,t,111551),o=Tr(zo(a.symbol),t,111551);if(i&&o)return[i,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(r,e.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:Io,getPropertiesOfType:Cs,getPropertyOfType:function(n,t){return Zs(n,e.escapeLeadingUnderscores(t))},getPrivateIdentifierPropertyOfType:function(n,t,r){var a=e.getParseTreeNode(r);if(a){var i=Dg(e.escapeLeadingUnderscores(t),a);return i?Cg(n,i):void 0}},getTypeOfPropertyOfType:function(n,t){return yi(n,e.escapeLeadingUnderscores(t))},getIndexInfoOfType:rc,getSignaturesOfType:ec,getIndexTypeOfType:ac,getBaseTypes:ho,getBaseTypeOfLiteralType:Op,getWidenedType:df,getTypeFromTypeNode:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t?Vu(t):Se},getParameterType:Qy,getPromisedTypeOfPromise:Dv,getAwaitedType:function(e){return Iv(e)},getReturnTypeOfSignature:Ec,isNullableType:yg,getNullableType:Xp,getNonNullableType:Qp,getNonOptionalType:ef,getTypeArguments:Hc,typeToTypeNode:ne.typeToTypeNode,indexInfoToIndexSignatureDeclaration:ne.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:ne.signatureToSignatureDeclaration,symbolToEntityName:ne.symbolToEntityName,symbolToExpression:ne.symbolToExpression,symbolToTypeParameterDeclarations:ne.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:ne.symbolToParameterDeclaration,typeParameterToDeclaration:ne.typeParameterToDeclaration,getSymbolsInScope:function(n,t){var r=e.getParseTreeNode(n);return r?function(n,t){if(16777216&n.flags)return[];var r=e.createSymbolTable(),a=!1;return i(),r.delete("this"),sc(r);function i(){for(;n;){switch(n.locals&&!Er(n)&&s(n.locals,t),n.kind){case 294:if(!e.isExternalOrCommonJsModule(n))break;case 253:s(va(n).exports,2623475&t);break;case 252:s(va(n).exports,8&t);break;case 218:n.name&&o(n.symbol,t);case 249:case 250:a||s(zo(va(n)),788968&t);break;case 205:n.name&&o(n.symbol,t)}e.introducesArgumentsExoticObject(n)&&o(oe,t),a=e.hasSyntacticModifier(n,32),n=n.parent}s(te,t)}function o(n,t){if(e.getCombinedLocalAndExportSymbolFlags(n)&t){var a=n.escapedName;r.has(a)||r.set(a,n)}}function s(e,n){n&&e.forEach((function(e){o(e,n)}))}}(r,t):[]},getSymbolAtLocation:function(n){var t=e.getParseTreeNode(n);return t?ME(t,!0):void 0},getShorthandAssignmentValueSymbol:function(n){var t=e.getParseTreeNode(n);return t?function(e){if(e&&286===e.kind)return ra(e.name,2208703);return}(t):void 0},getExportSpecifierLocalTargetSymbol:function(n){var t=e.getParseTreeNode(n,e.isExportSpecifier);return t?function(e){return e.parent.parent.moduleSpecifier?Kr(e.parent.parent,e):ra(e.propertyName||e.name,2998271)}(t):void 0},getExportSymbolOfSymbol:function(e){return ha(e.exportSymbol||e)},getTypeAtLocation:function(n){var t=e.getParseTreeNode(n);return t?wE(t):Se},getTypeOfAssignmentPattern:function(n){var t=e.getParseTreeNode(n,e.isAssignmentPattern);return t&&FE(t)||Se},getPropertySymbolOfDestructuringAssignment:function(n){var t=e.getParseTreeNode(n,e.isIdentifier);return t?function(n){var t=FE(e.cast(n.parent.parent,e.isAssignmentPattern));return t&&Zs(t,n.escapedText)}(t):void 0},signatureToString:function(n,t,r,a){return Za(n,e.getParseTreeNode(t),r,a)},typeToString:function(n,t,r){return $a(n,e.getParseTreeNode(t),r)},symbolToString:function(n,t,r,a){return Qa(n,e.getParseTreeNode(t),r,a)},typePredicateToString:function(n,t,r){return ai(n,e.getParseTreeNode(t),r)},writeSignature:function(n,t,r,a,i){return Za(n,e.getParseTreeNode(t),r,a,i)},writeType:function(n,t,r,a){return $a(n,e.getParseTreeNode(t),r,a)},writeSymbol:function(n,t,r,a,i){return Qa(n,e.getParseTreeNode(t),r,a,i)},writeTypePredicate:function(n,t,r,a){return ai(n,e.getParseTreeNode(t),r,a)},getAugmentedPropertiesOfType:VE,getRootSymbols:function n(t){var r=function(n){if(6&e.getCheckFlags(n))return e.mapDefined(vr(n).containingType.types,(function(e){return Zs(e,n.escapedName)}));if(33554432&n.flags){var t=n,r=t.leftSpread,a=t.rightSpread,i=t.syntheticOrigin;return r?[r,a]:i?[i]:e.singleElementArray(function(e){var n,t=e;for(;t=vr(t).target;)n=t;return n}(n))}return}(t);return r?e.flatMap(r,n):[t]},getContextualType:function(n,t){var r=e.getParseTreeNode(n,e.isExpression);if(r){var a=e.findAncestor(r,e.isCallLikeExpression),i=a&&br(a).resolvedSignature;if(4&t&&a){var o=r;do{br(o).skipDirectInference=!0,o=o.parent}while(o&&o!==a);br(a).resolvedSignature=void 0}var s=D_(r,t);if(4&t&&a){o=r;do{br(o).skipDirectInference=void 0,o=o.parent}while(o&&o!==a);br(a).resolvedSignature=i}return s}},getContextualTypeForObjectLiteralElement:function(n){var t=e.getParseTreeNode(n,e.isObjectLiteralElementLike);return t?v_(t):void 0},getContextualTypeForArgumentAtIndex:function(n,t){var r=e.getParseTreeNode(n,e.isCallLikeExpression);return r&&__(r,t)},getContextualTypeForJsxAttribute:function(n){var t=e.getParseTreeNode(n,e.isJsxAttributeLike);return t&&T_(t)},isContextSensitive:yd,getFullyQualifiedName:ta,getResolvedSignature:function(e,n,t){return le(e,n,t,0)},getResolvedSignatureForSignatureHelp:function(e,n,t){return le(e,n,t,16)},getExpandedParameters:ns,hasEffectiveRestParameter:th,getConstantValue:function(n){var t=e.getParseTreeNode(n,cT);return t?lT(t):void 0},isValidPropertyAccess:function(n,t){var r=e.getParseTreeNode(n,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!r&&function(e,n){switch(e.kind){case 198:return Vg(e,105===e.expression.kind,n,df(iv(e.expression)));case 156:return Vg(e,!1,n,df(iv(e.left)));case 192:return Vg(e,!1,n,Vu(e))}}(r,e.escapeLeadingUnderscores(t))},isValidPropertyAccessForCompletions:function(n,t,r){var a=e.getParseTreeNode(n,e.isPropertyAccessExpression);return!!a&&function(e,n,t){return Vg(e,198===e.kind&&105===e.expression.kind,t.escapedName,n)}(a,t,r)},getSignatureFromDeclaration:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?_c(t):void 0},isImplementationOfOverload:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?nT(t):void 0},getImmediateAliasedSymbol:K_,getAliasedSymbol:Xr,getEmitResolver:function(e,n){return DE(e,n),ee},getExportsOfModule:pa,getExportsAndPropertiesOfModule:function(n){var t=pa(n),r=la(n);r!==n&&e.addRange(t,Cs(to(r)));return t},getSymbolWalker:e.createGetSymbolWalker((function(e){return Lc(e)||be}),bc,Ec,ho,Ls,to,Wf,tc,Ns,e.getFirstIdentifier,Hc),getAmbientModules:function(){dn||(dn=[],te.forEach((function(e,n){i.test(n)&&dn.push(e)})));return dn},getJsxIntrinsicTagNamesAt:function(n){var t=Z_(D.IntrinsicElements,n);return t?Cs(t):e.emptyArray},isOptionalParameter:function(n){var t=e.getParseTreeNode(n,e.isParameter);return!!t&&uc(t)},tryGetMemberInModuleExports:function(n,t){return fa(e.escapeLeadingUnderscores(n),t)},tryGetMemberInModuleExportsAndProperties:function(n,t){return function(n,t){var r=fa(n,t);if(r)return r;var a=la(t);if(a===t)return;var i=to(a);return 131068&i.flags||1&e.getObjectFlags(i)||Ip(i)?void 0:Zs(i,n)}(e.escapeLeadingUnderscores(n),t)},tryFindAmbientModuleWithoutAugmentations:function(e){return lc(e,!1)},getApparentType:js,getUnionType:wl,isTypeAssignableTo:Dd,createAnonymousType:wa,createSignature:Qo,createSymbol:ur,createIndexInfo:Pc,getAnyType:function(){return be},getStringType:function(){return Re},getNumberType:function(){return ke},createPromiseType:lh,createArrayType:vl,getElementTypeOfArrayType:xp,getBooleanType:function(){return Ge},getFalseType:function(e){return e?Pe:Me},getTrueType:function(e){return e?we:Fe},getVoidType:function(){return Ue},getUndefinedType:function(){return Ae},getNullType:function(){return Ie},getESSymbolType:function(){return Be},getNeverType:function(){return Ve},getOptionalType:function(){return Ce},isSymbolAccessible:Ha,isArrayType:Tp,isTupleType:Gp,isArrayLikeType:Ap,isTypeInvalidDueToUnionDiscriminant:function(e,n){return n.properties.some((function(n){var t=n.name&&Wl(n.name),r=t&&Bo(t)?Ho(t):void 0,a=void 0===r?void 0:yi(e,r);return!!a&&kp(a)&&!Dd(wE(n),a)}))},getAllPossiblePropertiesOfTypes:function(n){var t=wl(n);if(!(1048576&t.flags))return VE(t);for(var r=e.createSymbolTable(),a=0,i=n;a<i.length;a++)for(var o=i[a],s=0,c=VE(o);s<c.length;s++){var l=c[s].escapedName;if(!r.has(l)){var u=Hs(t,l);u&&r.set(l,u)}}return e.arrayFrom(r.values())},getSuggestedSymbolForNonexistentProperty:Pg,getSuggestionForNonexistentProperty:wg,getSuggestedSymbolForNonexistentJSXAttribute:Mg,getSuggestedSymbolForNonexistentSymbol:function(n,t,r){return Fg(n,e.escapeLeadingUnderscores(t),r)},getSuggestionForNonexistentSymbol:function(n,t,r){return function(n,t,r){var a=Fg(n,t,r);return a&&e.symbolName(a)}(n,e.escapeLeadingUnderscores(t),r)},getSuggestedSymbolForNonexistentModule:Gg,getSuggestionForNonexistentExport:function(n,t){var r=Gg(n,t);return r&&e.symbolName(r)},getBaseConstraintOfType:Ms,getDefaultFromTypeParameter:function(e){return e&&262144&e.flags?Us(e):void 0},resolveName:function(n,t,r,a){return xr(t,e.escapeLeadingUnderscores(n),r,void 0,void 0,!1,a)},getJsxNamespace:function(n){return e.unescapeLeadingUnderscores(ar(n))},getAccessibleSymbolChain:Ba,getTypePredicateOfSignature:bc,resolveExternalModuleName:function(n){var t=e.getParseTreeNode(n,e.isExpression);return t&&ia(t,t,!0)},resolveExternalModuleSymbol:la,tryGetThisTypeAt:function(n,t){var r=e.getParseTreeNode(n);return r&&r_(r,t)},getTypeArgumentConstraint:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t&&function(n){var t=e.tryCast(n.parent,e.isTypeReferenceType);if(!t)return;var r=hv(t),a=Ns(r[t.typeArguments.indexOf(n)]);return a&&pd(a,qu(r,gv(t,r)))}(t)},getSuggestionDiagnostics:function(t,a){var i,o=e.getParseTreeNode(t,e.isSourceFile)||e.Debug.fail("Could not determine parsed source file.");if(e.skipTypeChecking(o,j,n))return e.emptyArray;try{return r=a,LE(o),e.Debug.assert(!!(1&br(o).flags)),i=e.addRange(i,Jt.getDiagnostics(o.fileName)),Vv(AE(o),(function(n,t,r){e.containsParseError(n)||xE(t,!!(8388608&n.flags))||(i||(i=[])).push(s(s({},r),{category:e.DiagnosticCategory.Suggestion}))})),i||e.emptyArray}finally{r=void 0}},runWithCancellationToken:function(e,n){try{return r=e,n(ce)}finally{r=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:lo,isDeclarationVisible:ui};function le(n,t,r,a){var i=e.getParseTreeNode(n,e.isCallLikeExpression);ie=r;var o=i?ky(i,t,a):void 0;return ie=void 0,o}var ue=new e.Map,de=new e.Map,pe=new e.Map,fe=new e.Map,me=new e.Map,_e=new e.Map,ge=[],ye=new e.Map,he=ur(4,"unknown"),ve=ur(0,"__resolving__"),be=Ia(1,"any"),Ee=Ia(1,"any"),Te=Ia(1,"any"),Se=Ia(1,"error"),Le=Ia(1,"any",524288),xe=Ia(2,"unknown"),Ae=Ia(32768,"undefined"),De=q?Ae:Ia(32768,"undefined",524288),Ce=Ia(32768,"undefined"),Ie=Ia(65536,"null"),Ne=q?Ie:Ia(65536,"null",524288),Re=Ia(4,"string"),ke=Ia(8,"number"),Oe=Ia(64,"bigint"),Pe=Ia(512,"false"),Me=Ia(512,"false"),we=Ia(512,"true"),Fe=Ia(512,"true");we.regularType=Fe,we.freshType=we,Fe.regularType=Fe,Fe.freshType=we,Pe.regularType=Me,Pe.freshType=Pe,Me.regularType=Me,Me.freshType=Pe;var Ge=Na([Me,Fe]);Na([Me,we]),Na([Pe,Fe]),Na([Pe,we]);var Be=Ia(4096,"symbol"),Ue=Ia(16384,"void"),Ve=Ia(131072,"never"),je=Ia(131072,"never"),Ke=Ia(131072,"never",2097152),He=Ia(131072,"never"),We=Ia(131072,"never"),qe=Ia(67108864,"object"),ze=wl([Re,ke,Be]),Je=Z?Re:ze,Xe=wl([ke,Oe]),Ye=Xu((function(e){return 262144&e.flags?(n=e).constraint===xe?n:n.restrictiveInstantiation||(n.restrictiveInstantiation=ka(n.symbol),n.restrictiveInstantiation.constraint=xe,n.restrictiveInstantiation):e;var n})),Qe=Xu((function(e){return 262144&e.flags?Te:e})),Ze=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),$e=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0);$e.objectFlags|=4096;var en=ur(2048,"__type");en.members=e.createSymbolTable();var nn=wa(en,U,e.emptyArray,e.emptyArray,void 0,void 0),tn=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0);tn.instantiations=new e.Map;var rn=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0);rn.objectFlags|=2097152;var an=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),on=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),sn=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),cn=ka(),ln=ka();ln.constraint=cn;var un,dn,pn,fn,mn,_n,gn,yn,hn,vn,bn,En,Tn,Sn,Ln,xn,An,Dn,Cn,In,Nn,Rn,kn,On,Pn,Mn,wn,Fn,Gn,Bn,Un,Vn,jn,Kn,Hn,Wn,qn,zn,Jn,Xn,Yn,Qn,Zn,$n,et,nt,tt,rt=ka(),at=pc(1,"<<unresolved>>",0,be),it=Qo(void 0,void 0,void 0,e.emptyArray,be,void 0,0,0),ot=Qo(void 0,void 0,void 0,e.emptyArray,Se,void 0,0,0),st=Qo(void 0,void 0,void 0,e.emptyArray,be,void 0,0,0),ct=Qo(void 0,void 0,void 0,e.emptyArray,je,void 0,0,0),lt=Pc(Re,!0),ut=new e.Map,dt={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},pt=Sb(be,be,be),ft=Sb(be,be,xe),mt=Sb(Ve,be,Ae),_t={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return Kn||(Kn=ul("AsyncIterator",3,e))||tn},getGlobalIterableType:function(e){return jn||(jn=ul("AsyncIterable",1,e))||tn},getGlobalIterableIteratorType:function(e){return Hn||(Hn=ul("AsyncIterableIterator",1,e))||tn},getGlobalGeneratorType:function(e){return Wn||(Wn=ul("AsyncGenerator",3,e))||tn},resolveIterationType:Iv,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},gt={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return Fn||(Fn=ul("Iterator",3,e))||tn},getGlobalIterableType:_l,getGlobalIterableIteratorType:function(e){return Gn||(Gn=ul("IterableIterator",1,e))||tn},getGlobalGeneratorType:function(e){return Bn||(Bn=ul("Generator",3,e))||tn},resolveIterationType:function(e,n){return e},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},yt=new e.Map,ht=!1,vt=new e.Map,bt=0,Et=0,Tt=0,St=!1,Lt=0,xt=wu(""),At=wu(0),Dt=wu({negative:!1,base10Value:"0"}),Ct=[],It=[],Nt=[],Rt=0,kt=[],Ot=[],Pt=[],Mt=[],wt=[],Ft=[],Gt=[],Bt=[],Ut=[],Vt=[],jt=[],Kt=[],Ht=[],Wt=[],qt=[],zt=e.createDiagnosticCollection(),Jt=e.createDiagnosticCollection(),Xt=new e.Map(e.getEntries({string:Re,number:ke,bigint:Oe,boolean:Ge,symbol:Be,undefined:Ae})),Yt=wl(e.arrayFrom(S.keys(),wu)),Qt=new e.Map,Zt=new e.Map,$t=new e.Map,er=new e.Map,nr=new e.Map,tr=new e.Map,rr=e.createSymbolTable();return rr.set(re.escapedName,re),function(){for(var t=0,r=n.getSourceFiles();t<r.length;t++){var a=r[t];e.bindSourceFile(a,j)}var i;un=new e.Map;for(var o=0,s=n.getSourceFiles();o<s.length;o++){if(!(a=s[o]).redirectInfo){if(!e.isExternalOrCommonJsModule(a)){var c=a.locals.get("globalThis");if(c)for(var l=0,u=c.declarations;l<u.length;l++){var d=u[l];zt.add(e.createDiagnosticForNode(d,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}yr(te,a.locals)}if(a.jsGlobalAugmentations&&yr(te,a.jsGlobalAugmentations),a.patternAmbientModules&&a.patternAmbientModules.length&&(pn=e.concatenate(pn,a.patternAmbientModules)),a.moduleAugmentations.length&&(i||(i=[])).push(a.moduleAugmentations),a.symbol&&a.symbol.globalExports)a.symbol.globalExports.forEach((function(e,n){te.has(n)||te.set(n,e)}))}}if(i)for(var p=0,f=i;p<f.length;p++)for(var m=f[p],_=0,g=m;_<g.length;_++){var y=g[_];e.isGlobalScopeAugmentation(y.parent)&&hr(y)}(function(n,t,r){t.forEach((function(t,a){var i=n.get(a);i?e.forEach(i.declarations,function(n,t){return function(r){return zt.add(e.createDiagnosticForNode(r,t,n))}}(e.unescapeLeadingUnderscores(a),r)):n.set(a,t)}))})(te,rr,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0),vr(re).type=De,vr(oe).type=ul("IArguments",0,!0),vr(he).type=Se,vr(ae).type=Ra(16,ae),hn=ul("Array",1,!0),mn=ul("Object",0,!0),_n=ul("Function",0,!0),gn=J&&ul("CallableFunction",0,!0)||_n,yn=J&&ul("NewableFunction",0,!0)||_n,bn=ul("String",0,!0),En=ul("Number",0,!0),Tn=ul("Boolean",0,!0),Sn=ul("RegExp",0,!0),xn=vl(be),(An=vl(Ee))===Ze&&(An=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0));if(vn=gl("ReadonlyArray",1)||hn,Dn=vn?yl(vn,[be]):xn,Ln=gl("ThisType",1),i)for(var h=0,v=i;h<v.length;h++){m=v[h];for(var b=0,E=m;b<E.length;b++){y=E[b];e.isGlobalScopeAugmentation(y.parent)||hr(y)}}un.forEach((function(n){var t=n.firstFile,r=n.secondFile,a=n.conflictingSymbols;if(a.size<8)a.forEach((function(n,t){for(var r=n.isBlockScoped,a=n.firstFileLocations,i=n.secondFileLocations,o=r?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,s=0,c=a;s<c.length;s++){gr(c[s],o,t,i)}for(var l=0,u=i;l<u.length;l++){gr(u[l],o,t,a)}}));else{var i=e.arrayFrom(a.keys()).join(", ");zt.add(e.addRelatedInfo(e.createDiagnosticForNode(t,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,i),e.createDiagnosticForNode(r,e.Diagnostics.Conflicts_are_in_this_file))),zt.add(e.addRelatedInfo(e.createDiagnosticForNode(r,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,i),e.createDiagnosticForNode(t,e.Diagnostics.Conflicts_are_in_this_file)))}})),un=void 0}(),ce;function ar(n){if(n){var t=e.getSourceFileOfNode(n);if(t)if(e.isJsxOpeningFragment(n)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;var r=t.pragmas.get("jsxfrag");if(r){var a=e.isArray(r)?r[0]:r;if(t.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,K),e.visitNode(t.localJsxFragmentFactory,s),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=e.getFirstIdentifier(t.localJsxFragmentFactory).escapedText}var i=ET(n);if(i)return t.localJsxFragmentFactory=i,t.localJsxFragmentNamespace=e.getFirstIdentifier(i).escapedText}else{if(t.localJsxNamespace)return t.localJsxNamespace;var o=t.pragmas.get("jsx");if(o){a=e.isArray(o)?o[0]:o;if(t.localJsxFactory=e.parseIsolatedEntityName(a.arguments.factory,K),e.visitNode(t.localJsxFactory,s),t.localJsxFactory)return t.localJsxNamespace=e.getFirstIdentifier(t.localJsxFactory).escapedText}}}return et||(et="React",j.jsxFactory?(nt=e.parseIsolatedEntityName(j.jsxFactory,K),e.visitNode(nt,s),nt&&(et=e.getFirstIdentifier(nt).escapedText)):j.reactNamespace&&(et=e.escapeLeadingUnderscores(j.reactNamespace))),nt||(nt=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(et)),"createElement")),et;function s(n){return e.setTextRangePosEnd(n,-1,-1),e.visitEachChild(n,s,e.nullTransformationContext)}}function ir(e,n,t,r,a,i,o){var s=or(n,t,r,a,i,o);return s.skippedOn=e,s}function or(n,t,r,a,i,o){var s=n?e.createDiagnosticForNode(n,t,r,a,i,o):e.createCompilerDiagnostic(t,r,a,i,o);return zt.add(s),s}function sr(n,t){n?zt.add(t):Jt.add(s(s({},t),{category:e.DiagnosticCategory.Suggestion}))}function cr(n,t,r,a,i,o,s){sr(n,"message"in r?e.createDiagnosticForNode(t,r,a,i,o,s):e.createDiagnosticForNodeFromMessageChain(t,r))}function lr(n,t,r,a,i,o,s){var c=or(n,r,a,i,o,s);if(t){var l=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(c,l)}return c}function ur(e,n,t){v++;var r=new _(33554432|e,n);return r.checkFlags=t||0,r}function dr(e){var n=0;return 2&e&&(n|=111551),1&e&&(n|=111550),4&e&&(n|=0),8&e&&(n|=900095),16&e&&(n|=110991),32&e&&(n|=899503),64&e&&(n|=788872),256&e&&(n|=899327),128&e&&(n|=899967),512&e&&(n|=110735),8192&e&&(n|=103359),32768&e&&(n|=46015),65536&e&&(n|=78783),262144&e&&(n|=526824),524288&e&&(n|=788968),2097152&e&&(n|=2097152),n}function pr(e,n){n.mergeId||(n.mergeId=p,p++),kt[n.mergeId]=e}function fr(n){var t=ur(n.flags,n.escapedName);return t.declarations=n.declarations?n.declarations.slice():[],t.parent=n.parent,n.valueDeclaration&&(t.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),n.members&&(t.members=new e.Map(n.members)),n.exports&&(t.exports=new e.Map(n.exports)),pr(t,n),t}function mr(n,t,r){if(void 0===r&&(r=!1),!(n.flags&dr(t.flags))||67108864&(t.flags|n.flags)){if(t===n)return n;if(!(33554432&n.flags)){var a=Jr(n);if(a===he)return t;n=fr(a)}512&t.flags&&512&n.flags&&n.constEnumOnlyModule&&!t.constEnumOnlyModule&&(n.constEnumOnlyModule=!1),n.flags|=t.flags,t.valueDeclaration&&e.setValueDeclaration(n,t.valueDeclaration),e.addRange(n.declarations,t.declarations),t.members&&(n.members||(n.members=e.createSymbolTable()),yr(n.members,t.members,r)),t.exports&&(n.exports||(n.exports=e.createSymbolTable()),yr(n.exports,t.exports,r)),r||pr(n,t)}else if(1024&n.flags)n!==ae&&or(e.getNameOfDeclaration(t.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Qa(n));else{var i=!!(384&n.flags||384&t.flags),o=!!(2&n.flags||2&t.flags),s=i?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:o?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,c=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),l=n.declarations&&e.getSourceFileOfNode(n.declarations[0]),u=Qa(t);if(c&&l&&un&&!i&&c!==l){var d=-1===e.comparePaths(c.path,l.path)?c:l,p=d===c?l:c,f=e.getOrUpdate(un,d.path+"|"+p.path,(function(){return{firstFile:d,secondFile:p,conflictingSymbols:new e.Map}})),m=e.getOrUpdate(f.conflictingSymbols,u,(function(){return{isBlockScoped:o,firstFileLocations:[],secondFileLocations:[]}}));_(m.firstFileLocations,t),_(m.secondFileLocations,n)}else _r(t,s,u,n),_r(n,s,u,t)}return n;function _(n,t){for(var r=0,a=t.declarations;r<a.length;r++){var i=a[r];e.pushIfUnique(n,i)}}}function _r(n,t,r,a){e.forEach(n.declarations,(function(e){gr(e,t,r,a.declarations)}))}function gr(n,t,r,a){for(var i=(e.getExpandoInitializer(n,!1)?e.getNameOfExpando(n):e.getNameOfDeclaration(n))||n,o=function(n,t,r,a,i,o){var s=n?e.createDiagnosticForNode(n,t,r,a,i,o):e.createCompilerDiagnostic(t,r,a,i,o),c=zt.lookup(s);return c||(zt.add(s),s)}(i,t,r),s=function(n){var t=(e.getExpandoInitializer(n,!1)?e.getNameOfExpando(n):e.getNameOfDeclaration(n))||n;if(t===i)return"continue";o.relatedInformation=o.relatedInformation||[];var a=e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,r),s=e.createDiagnosticForNode(t,e.Diagnostics.and_here);if(e.length(o.relatedInformation)>=5||e.some(o.relatedInformation,(function(n){return 0===e.compareDiagnostics(n,s)||0===e.compareDiagnostics(n,a)})))return"continue";e.addRelatedInfo(o,e.length(o.relatedInformation)?s:a)},c=0,l=a||e.emptyArray;c<l.length;c++){s(l[c])}}function yr(e,n,t){void 0===t&&(t=!1),n.forEach((function(n,r){var a=e.get(r);e.set(r,a?mr(a,n,t):n)}))}function hr(n){var t,r,a=n.parent;if(a.symbol.declarations[0]===a)if(e.isGlobalScopeAugmentation(a))yr(te,a.symbol.exports);else{var i=oa(n,n,8388608&n.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!i)return;if(1920&(i=la(i)).flags)if(e.some(pn,(function(e){return i===e.symbol}))){var o=mr(a.symbol,i,!0);fn||(fn=new e.Map),fn.set(n.text,o)}else{if((null===(t=i.exports)||void 0===t?void 0:t.get("__export"))&&(null===(r=a.symbol.exports)||void 0===r?void 0:r.size))for(var s=qo(i,"resolvedExports"),c=0,l=e.arrayFrom(a.symbol.exports.entries());c<l.length;c++){var u=l[c],d=u[0],p=u[1];s.has(d)&&!i.exports.has(d)&&mr(s.get(d),p)}mr(i,a.symbol)}else or(n,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,n.text)}else e.Debug.assert(a.symbol.declarations.length>1)}function vr(e){if(33554432&e.flags)return e;var n=k(e);return Ot[n]||(Ot[n]=new I)}function br(e){var n=R(e);return Pt[n]||(Pt[n]=new N)}function Er(n){return 294===n.kind&&!e.isExternalOrCommonJsModule(n)}function Tr(n,t,r){if(r){var a=ha(n.get(t));if(a){if(e.Debug.assert(0==(1&e.getCheckFlags(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(2097152&a.flags){var i=Xr(a);if(i===he||i.flags&r)return a}}}}function Sr(t,r){var a=e.getSourceFileOfNode(t),i=e.getSourceFileOfNode(r),o=e.getEnclosingBlockScopeContainer(t);if(a!==i){if(H&&(a.externalModuleIndicator||i.externalModuleIndicator)||!e.outFile(j)||qf(r)||8388608&t.flags)return!0;if(l(r,t))return!0;var s=n.getSourceFiles();return s.indexOf(a)<=s.indexOf(i)}if(t.pos<=r.pos&&(!e.isPropertyDeclaration(t)||!e.isThisProperty(r.parent)||t.initializer||t.exclamationToken)){if(195===t.kind){var c=e.getAncestor(r,195);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos<c.pos:Sr(e.getAncestor(t,246),r)}return 246===t.kind?!function(n,t){switch(n.parent.parent.kind){case 229:case 234:case 236:if(Or(t,n,o))return!0}var r=n.parent.parent;return e.isForInOrOfStatement(r)&&Or(t,r.expression,o)}(t,r):e.isClassDeclaration(t)?!e.findAncestor(r,(function(n){return e.isComputedPropertyName(n)&&n.parent.parent===t})):e.isPropertyDeclaration(t)?!u(t,r,!1):!e.isParameterPropertyDeclaration(t,t.parent)||!(99===j.target&&j.useDefineForClassFields&&e.getContainingClass(t)===e.getContainingClass(r)&&l(r,t))}return!!(267===r.parent.kind||263===r.parent.kind&&r.parent.isExportEquals)||(!(263!==r.kind||!r.isExportEquals)||(!!(4194304&r.flags||qf(r)||e.findAncestor(r,(function(n){return e.isInterfaceDeclaration(n)||e.isTypeAliasDeclaration(n)})))||!!l(r,t)&&(99!==j.target||!j.useDefineForClassFields||!e.getContainingClass(t)||!e.isPropertyDeclaration(t)&&!e.isParameterPropertyDeclaration(t,t.parent)||!u(t,r,!0))));function l(n,t){return!!e.findAncestor(n,(function(r){if(r===o)return"quit";if(e.isFunctionLike(r))return!0;if(r.parent&&162===r.parent.kind&&r.parent.initializer===r)if(e.hasSyntacticModifier(r.parent,32)){if(164===t.kind)return!0}else if(!(162===t.kind&&!e.hasSyntacticModifier(t,32))||e.getContainingClass(n)!==e.getContainingClass(t))return!0;return!1}))}function u(n,t,r){return!(t.end>n.end)&&void 0===e.findAncestor(t,(function(t){if(t===n)return"quit";switch(t.kind){case 206:return!0;case 162:return!r||!(e.isPropertyDeclaration(n)&&t.parent===n.parent||e.isParameterPropertyDeclaration(n,n.parent)&&t.parent===n.parent.parent)||"quit";case 227:switch(t.parent.kind){case 166:case 164:case 167:return!0;default:return!1}default:return!1}}))}}function Lr(n,t,r){var a=e.getEmitScriptTarget(j),i=t;if(e.isParameter(r)&&i.body&&n.valueDeclaration.pos>=i.body.pos&&n.valueDeclaration.end<=i.body.end&&a>=2){var o=br(i);return void 0===o.declarationRequiresScopeChange&&(o.declarationRequiresScopeChange=e.forEach(i.parameters,(function(e){return s(e.name)||!!e.initializer&&s(e.initializer)}))||!1),!o.declarationRequiresScopeChange}return!1;function s(n){switch(n.kind){case 206:case 205:case 248:case 165:return!1;case 164:case 166:case 167:case 285:return s(n.name);case 162:return e.hasStaticModifier(n)?a<99||!j.useDefineForClassFields:s(n.name);default:return e.isNullishCoalesce(n)||e.isOptionalChain(n)?a<7:e.isBindingElement(n)&&n.dotDotDotToken&&e.isObjectBindingPattern(n.parent)?a<4:!e.isTypeNode(n)&&(e.forEachChild(n,s)||!1)}}}function xr(e,n,t,r,a,i,o,s){return void 0===o&&(o=!1),Ar(e,n,t,r,a,i,o,Tr,s)}function Ar(n,t,r,a,i,o,s,c,l){var u,d,p,f,m,_,g=n,y=!1,h=n,v=!1;e:for(;n;){if(n.locals&&!Er(n)&&(u=c(n.locals,t,r))){var b=!0;if(e.isFunctionLike(n)&&d&&d!==n.body?(r&u.flags&788968&&307!==d.kind&&(b=!!(262144&u.flags)&&(d===n.type||159===d.kind||158===d.kind)),r&u.flags&3&&(Lr(u,n,d)?b=!1:1&u.flags&&(b=159===d.kind||d===n.type&&!!e.findAncestor(u.valueDeclaration,e.isParameter)))):183===n.kind&&(b=d===n.trueType),b)break e;u=void 0}switch(y=y||Dr(n,d),n.kind){case 294:if(!e.isExternalOrCommonJsModule(n))break;v=!0;case 253:var E=va(n).exports||U;if(294===n.kind||e.isModuleDeclaration(n)&&8388608&n.flags&&!e.isGlobalScopeAugmentation(n)){if(u=E.get("default")){var T=e.getLocalSymbolForExportDefault(u);if(T&&u.flags&r&&T.escapedName===t)break e;u=void 0}var S=E.get(t);if(S&&2097152===S.flags&&(e.getDeclarationOfKind(S,267)||e.getDeclarationOfKind(S,266)))break}if("default"!==t&&(u=c(E,t,2623475&r))){if(!e.isSourceFile(n)||!n.commonJsModuleIndicator||u.declarations.some(e.isJSDocTypeAlias))break e;u=void 0}break;case 252:if(u=c(va(n).exports,t,8&r))break e;break;case 162:if(!e.hasSyntacticModifier(n,32)){var L=Da(n.parent);L&&L.locals&&c(L.locals,t,111551&r)&&(f=n)}break;case 249:case 218:case 250:if(u=c(va(n).members||U,t,788968&r)){if(!Nr(u,n)){u=void 0;break}if(d&&e.hasSyntacticModifier(d,32))return void or(h,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(218===n.kind&&32&r){var x=n.name;if(x&&t===x.escapedText){u=n.symbol;break e}}break;case 220:if(d===n.expression&&93===n.parent.token){var A=n.parent.parent;if(e.isClassLike(A)&&(u=c(va(A).members,t,788968&r)))return void(a&&or(h,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 157:if(_=n.parent.parent,(e.isClassLike(_)||250===_.kind)&&(u=c(va(_).members,t,788968&r)))return void or(h,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 206:if(j.target>=2)break;case 164:case 165:case 166:case 167:case 248:if(3&r&&"arguments"===t){u=oe;break e}break;case 205:if(3&r&&"arguments"===t){u=oe;break e}if(16&r){var D=n.name;if(D&&t===D.escapedText){u=n.symbol;break e}}break;case 160:n.parent&&159===n.parent.kind&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||249===n.parent.kind)&&(n=n.parent);break;case 327:case 320:case 321:n=e.getJSDocHost(n);break;case 159:d&&(d===n.initializer||d===n.name&&e.isBindingPattern(d))&&(m||(m=n));break;case 195:if(d&&(d===n.initializer||d===n.name&&e.isBindingPattern(d)))159===(k=e.getRootDeclaration(n)).kind&&(m||(m=n))}Cr(n)&&(p=n),d=n,n=n.parent}if(!o||!u||p&&u===p.symbol||(u.isReferenced|=r),!u){if(d&&(e.Debug.assert(294===d.kind),d.commonJsModuleIndicator&&"exports"===t&&r&d.symbol.flags))return d.symbol;s||(u=c(te,t,r))}if(!u&&g&&e.isInJSFile(g)&&g.parent&&e.isRequireCall(g.parent,!1))return se;if(u){if(a){if(f&&(99!==j.target||!j.useDefineForClassFields)){var C=f.name;return void or(h,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(C),Ir(i))}if(h&&(2&r||(32&r||384&r)&&111551==(111551&r))){var I=xa(u);(2&I.flags||32&I.flags||384&I.flags)&&function(n,t){if(e.Debug.assert(!!(2&n.flags||32&n.flags||384&n.flags)),67108881&n.flags&&32&n.flags)return;var r=e.find(n.declarations,(function(n){return e.isBlockOrCatchScoped(n)||e.isClassLike(n)||252===n.kind}));if(void 0===r)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&r.flags||Sr(r,t))){var a=void 0,i=e.declarationNameToString(e.getNameOfDeclaration(r));2&n.flags?a=or(t,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,i):32&n.flags?a=or(t,e.Diagnostics.Class_0_used_before_its_declaration,i):256&n.flags?a=or(t,e.Diagnostics.Enum_0_used_before_its_declaration,i):(e.Debug.assert(!!(128&n.flags)),j.preserveConstEnums&&(a=or(t,e.Diagnostics.Enum_0_used_before_its_declaration,i))),a&&e.addRelatedInfo(a,e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_here,i))}}(I,h)}if(u&&v&&111551==(111551&r)&&!(4194304&g.flags)){var N=ha(u);e.length(N.declarations)&&e.every(N.declarations,(function(n){return e.isNamespaceExportDeclaration(n)||e.isSourceFile(n)&&!!n.symbol.globalExports}))&&cr(!j.allowUmdGlobalAccess,h,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(t))}if(u&&m&&!y&&111551==(111551&r)){var R=ha(Jo(u)),k=e.getRootDeclaration(m);R===va(m)?or(h,e.Diagnostics.Parameter_0_cannot_reference_itself,e.declarationNameToString(m.name)):R.valueDeclaration&&R.valueDeclaration.pos>m.pos&&k.parent.locals&&c(k.parent.locals,R.escapedName,r)===R&&or(h,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(m.name),e.declarationNameToString(h))}u&&h&&111551&r&&2097152&u.flags&&function(n,t,r){if(!e.isValidTypeOnlyAliasUseSite(r)){var a=Zr(n);if(a){var i=e.typeOnlyDeclarationIsExport(a),o=i?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,s=i?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,c=e.unescapeLeadingUnderscores(t);e.addRelatedInfo(or(r,o,c),e.createDiagnosticForNode(a,s,c))}}}(u,t,h)}return u}if(a&&!(h&&(function(n,t,r){if(!e.isIdentifier(n)||n.escapedText!==t||NE(n)||qf(n))return!1;var a=e.getThisContainer(n,!1),i=a;for(;i;){if(e.isClassLike(i.parent)){var o=va(i.parent);if(!o)break;if(Zs(to(o),t))return or(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Ir(r),Qa(o)),!0;if(i===a&&!e.hasSyntacticModifier(i,32))if(Zs(Io(o).thisType,t))return or(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Ir(r)),!0}i=i.parent}return!1}(h,t,i)||Rr(h)||function(n,t,r){var a=1920|(e.isInJSFile(n)?111551:0);if(r===a){var i=Jr(xr(n,t,788968&~a,void 0,void 0,!1)),o=n.parent;if(i){if(e.isQualifiedName(o)){e.Debug.assert(o.left===n,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(Zs(Io(i),s))return or(o,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,e.unescapeLeadingUnderscores(t),e.unescapeLeadingUnderscores(s)),!0}return or(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(t)),!0}}return!1}(h,t,r)||function(n,t){if(kr(t)&&267===n.parent.kind)return or(n,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0;return!1}(h,t)||function(n,t,r){if(111551&r){if(kr(t))return or(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(t)),!0;var a=Jr(xr(n,t,788544,void 0,void 0,!1));if(a&&!(1024&a.flags)){var i=function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here;return or(n,i,e.unescapeLeadingUnderscores(t)),!0}}return!1}(h,t,r)||function(n,t,r){if(111127&r){if(Jr(xr(n,t,1024,void 0,void 0,!1)))return or(n,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(t)),!0}else if(788544&r){if(Jr(xr(n,t,1536,void 0,void 0,!1)))return or(n,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(t)),!0}return!1}(h,t,r)||function(n,t,r){if(788584&r){var a=Jr(xr(n,t,111127,void 0,void 0,!1));if(a&&!(1920&a.flags))return or(n,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.unescapeLeadingUnderscores(t)),!0}return!1}(h,t,r)))){var O=void 0;if(l&&Rt<10&&(O=Fg(g,t,r))){var P=Qa(O),M=or(h,l,Ir(i),P);O.valueDeclaration&&e.addRelatedInfo(M,e.createDiagnosticForNode(O.valueDeclaration,e.Diagnostics._0_is_declared_here,P))}O||or(h,a,Ir(i)),Rt++}}function Dr(n,t){return 206!==n.kind&&205!==n.kind?e.isTypeQueryNode(n)||(e.isFunctionLikeDeclaration(n)||162===n.kind&&!e.hasSyntacticModifier(n,32))&&(!t||t!==n.name):(!t||t!==n.name)&&(!(!n.asteriskToken&&!e.hasSyntacticModifier(n,256))||!e.getImmediatelyInvokedFunctionExpression(n))}function Cr(e){switch(e.kind){case 248:case 249:case 250:case 252:case 251:case 253:return!0;default:return!1}}function Ir(n){return e.isString(n)?e.unescapeLeadingUnderscores(n):e.declarationNameToString(n)}function Nr(n,t){for(var r=0,a=n.declarations;r<a.length;r++){var i=a[r];if(158===i.kind)if((e.isJSDocTemplateTag(i.parent)?e.getJSDocHost(i.parent):i.parent)===t)return!(e.isJSDocTemplateTag(i.parent)&&e.find(i.parent.parent.tags,e.isJSDocTypeAlias))}return!1}function Rr(n){var t=function n(t){switch(t.kind){case 78:case 198:return t.parent?n(t.parent):void 0;case 220:if(e.isEntityNameExpression(t.expression))return t.expression;default:return}}(n);return!(!t||!ra(t,64,!0))&&(or(n,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(t)),!0)}function kr(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function Or(n,t,r){return!!t&&!!e.findAncestor(n,(function(n){return n===r||e.isFunctionLike(n)?"quit":n===t}))}function Pr(e){switch(e.kind){case 257:return e;case 259:return e.parent;case 260:return e.parent.parent;case 262:return e.parent.parent.parent;default:return}}function Mr(n){return e.find(n.declarations,wr)}function wr(n){return 257===n.kind||256===n.kind||259===n.kind&&!!n.name||260===n.kind||266===n.kind||262===n.kind||267===n.kind||263===n.kind&&e.exportAssignmentIsAlias(n)||e.isBinaryExpression(n)&&2===e.getAssignmentDeclarationKind(n)&&e.exportAssignmentIsAlias(n)||e.isPropertyAccessExpression(n)&&e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind&&Fr(n.parent.right)||286===n.kind||285===n.kind&&Fr(n.initializer)}function Fr(n){return e.isAliasableExpression(n)||e.isFunctionExpression(n)&&Oy(n)}function Gr(n,t){if(269===n.moduleReference.kind){var r=ia(n,e.getExternalModuleImportEqualsDeclarationExpression(n)),a=la(r);return Yr(n,r,a,!1),a}var i=na(n.moduleReference,t);return function(n,t){if(Yr(n,void 0,t,!1)){var r=Zr(va(n)),a=e.typeOnlyDeclarationIsExport(r),i=a?e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,o=a?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,s=e.unescapeLeadingUnderscores(r.name.escapedText);e.addRelatedInfo(or(n.moduleReference,i),e.createDiagnosticForNode(r,o,s))}}(n,i),i}function Br(e,n,t,r){var a=e.exports.get("export=");if(a)return Zs(to(a),n);var i=e.exports.get(n),o=Jr(i,r);return Yr(t,i,o,!1),o}function Ur(n){return e.isExportAssignment(n)&&!n.isExportEquals||e.hasSyntacticModifier(n,512)||e.isExportSpecifier(n)}function Vr(n,t,r){if(!W)return!1;if(!n||n.isDeclarationFile){var a=Br(t,"default",void 0,!0);return(!a||!e.some(a.declarations,Ur))&&!Br(t,e.escapeLeadingUnderscores("__esModule"),void 0,r)}return e.isSourceFileJS(n)?!n.externalModuleIndicator&&!Br(t,e.escapeLeadingUnderscores("__esModule"),void 0,r):da(t)}function jr(n,t){var r=ia(n,n.parent.moduleSpecifier);if(r){var a=void 0;a=e.isShorthandAmbientModuleSymbol(r)?r:Br(r,"default",n,t);var i=Vr(e.find(r.declarations,e.isSourceFile),r,t);if(a||i){if(i){var o=la(r,t)||Jr(r,t);return Yr(n,r,o,!1),o}}else if(da(r)){var s=H>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",c=r.exports.get("export=").valueDeclaration,l=or(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Qa(r),s);e.addRelatedInfo(l,e.createDiagnosticForNode(c,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,s))}else!function(n,t){var r,a;if(null===(r=n.exports)||void 0===r?void 0:r.has(t.symbol.escapedName))or(t.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Qa(n),Qa(t.symbol));else{var i=or(t.name,e.Diagnostics.Module_0_has_no_default_export,Qa(n)),o=null===(a=n.exports)||void 0===a?void 0:a.get("__export");if(o){var s=e.find(o.declarations,(function(n){var t,r;return!!(e.isExportDeclaration(n)&&n.moduleSpecifier&&(null===(r=null===(t=ia(n,n.moduleSpecifier))||void 0===t?void 0:t.exports)||void 0===r?void 0:r.has("default")))}));s&&e.addRelatedInfo(i,e.createDiagnosticForNode(s,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}(r,n);return Yr(n,a,void 0,!1),a}}function Kr(n,t,r){var a;void 0===r&&(r=!1);var i=ia(n,n.moduleSpecifier),s=t.propertyName||t.name,c="default"===s.escapedText&&!(!j.allowSyntheticDefaultImports&&!j.esModuleInterop),l=ua(i,n.moduleSpecifier,r,c);if(l&&s.escapedText){if(e.isShorthandAmbientModuleSymbol(i))return i;var u=void 0;u=i&&i.exports&&i.exports.get("export=")?Zs(to(l),s.escapedText):function(e,n){if(3&e.flags){var t=e.valueDeclaration.type;if(t)return Jr(Zs(Vu(t),n))}}(l,s.escapedText),u=Jr(u,r);var d=function(e,n,t){var r;if(1536&e.flags){var a=(null!==(r=n.propertyName)&&void 0!==r?r:n.name).escapedText,i=ma(e).get(a),o=Jr(i,t);return Yr(n,i,o,!1),o}}(l,t,r);if(void 0===d&&"default"===s.escapedText)Vr(e.find(i.declarations,e.isSourceFile),i,r)&&(d=la(i,r)||Jr(i,r));var p=d&&u&&d!==u?function(n,t){if(n===he&&t===he)return he;if(790504&n.flags)return n;var r=ur(n.flags|t.flags,n.escapedName);return r.declarations=e.deduplicate(e.concatenate(n.declarations,t.declarations),e.equateValues),r.parent=n.parent||t.parent,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration),t.members&&(r.members=new e.Map(t.members)),n.exports&&(r.exports=new e.Map(n.exports)),r}(u,d):d||u;if(!p){var f=ta(i,n),m=e.declarationNameToString(s),_=Gg(s,l);if(void 0!==_){var g=Qa(_),y=or(s,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2,f,m,g);_.valueDeclaration&&e.addRelatedInfo(y,e.createDiagnosticForNode(_.valueDeclaration,e.Diagnostics._0_is_declared_here,g))}else(null===(a=i.exports)||void 0===a?void 0:a.has("default"))?or(s,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,f,m):function(n,t,r,a,i){var s,c=null===(s=a.valueDeclaration.locals)||void 0===s?void 0:s.get(t.escapedText),l=a.exports;if(c){var u=null==l?void 0:l.get("export=");if(u)La(u,c)?function(n,t,r,a){if(H>=e.ModuleKind.ES2015){var i=j.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;or(t,i,r)}else if(e.isInJSFile(n)){i=j.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;or(t,i,r)}else{i=j.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;or(t,i,r,r,a)}}(n,t,r,i):or(t,e.Diagnostics.Module_0_has_no_exported_member_1,i,r);else{var d=l?e.find(sc(l),(function(e){return!!La(e,c)})):void 0,p=d?or(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,i,r,Qa(d)):or(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,i,r);e.addRelatedInfo.apply(void 0,o([p],e.map(c.declarations,(function(n,t){return e.createDiagnosticForNode(n,0===t?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,r)}))))}}else or(t,e.Diagnostics.Module_0_has_no_exported_member_1,i,r)}(n,s,m,i,f)}return p}}function Hr(e,n,t){var r=e.parent.parent.moduleSpecifier?Kr(e.parent.parent,e,t):ra(e.propertyName||e.name,n,!1,t);return Yr(e,void 0,r,!1),r}function Wr(n,t){if(e.isClassExpression(n))return Vh(n).symbol;if(e.isEntityName(n)||e.isEntityNameExpression(n)){var r=ra(n,901119,!0,t);return r||(Vh(n),br(n).resolvedSymbol)}}function qr(n,t){switch(void 0===t&&(t=!1),n.kind){case 257:return Gr(n,t);case 259:return jr(n,t);case 260:return function(e,n){var t=e.parent.parent.moduleSpecifier,r=ia(e,t),a=ua(r,t,n,!1);return Yr(e,r,a,!1),a}(n,t);case 266:return function(e,n){var t=e.parent.moduleSpecifier,r=t&&ia(e,t),a=t&&ua(r,t,n,!1);return Yr(e,r,a,!1),a}(n,t);case 262:return function(e,n){var t=Kr(e.parent.parent.parent,e,n);return Yr(e,void 0,t,!1),t}(n,t);case 267:return Hr(n,901119,t);case 263:case 213:return function(n,t){var r=Wr(e.isExportAssignment(n)?n.expression:n.right,t);return Yr(n,void 0,r,!1),r}(n,t);case 256:return function(e,n){var t=la(e.parent.symbol,n);return Yr(e,void 0,t,!1),t}(n,t);case 286:return ra(n.name,901119,!0,t);case 285:return function(e,n){return Wr(e.initializer,n)}(n,t);case 198:return function(n,t){if(e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind)return Wr(n.parent.right,t)}(n,t);default:return e.Debug.fail()}}function zr(e,n){return void 0===n&&(n=901119),!!e&&(2097152==(e.flags&(2097152|n))||!!(2097152&e.flags&&67108864&e.flags))}function Jr(e,n){return!n&&zr(e)?Xr(e):e}function Xr(n){e.Debug.assert(0!=(2097152&n.flags),"Should only get Alias here.");var t=vr(n);if(t.target)t.target===ve&&(t.target=he);else{t.target=ve;var r=Mr(n);if(!r)return e.Debug.fail();var a=qr(r);t.target===ve?t.target=a||he:or(r,e.Diagnostics.Circular_definition_of_import_alias_0,Qa(n))}return t.target}function Yr(n,t,r,a){if(!n)return!1;var i=va(n);if(e.isTypeOnlyImportOrExportDeclaration(n))return vr(i).typeOnlyDeclaration=n,!0;var o=vr(i);return Qr(o,t,a)||Qr(o,r,a)}function Qr(n,t,r){var a,i,o;if(t&&(void 0===n.typeOnlyDeclaration||r&&!1===n.typeOnlyDeclaration)){var s=null!==(i=null===(a=t.exports)||void 0===a?void 0:a.get("export="))&&void 0!==i?i:t,c=s.declarations&&e.find(s.declarations,e.isTypeOnlyImportOrExportDeclaration);n.typeOnlyDeclaration=null!==(o=null!=c?c:vr(s).typeOnlyDeclaration)&&void 0!==o&&o}return!!n.typeOnlyDeclaration}function Zr(e){if(2097152&e.flags)return vr(e).typeOnlyDeclaration||void 0}function $r(e){var n=va(e),t=Xr(n);t&&((t===he||111551&t.flags&&!$E(t)&&!Zr(n))&&ea(n))}function ea(n){var t=vr(n);if(!t.referenced){t.referenced=!0;var r=Mr(n);if(!r)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(r)){var a=Jr(n);(a===he||111551&a.flags)&&Vh(r.moduleReference)}}}function na(n,t){return 78===n.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),78===n.kind||156===n.parent.kind?ra(n,1920,!1,t):(e.Debug.assert(257===n.parent.kind),ra(n,901119,!1,t))}function ta(e,n){return e.parent?ta(e.parent,n)+"."+Qa(e):Qa(e,n,void 0,20)}function ra(n,t,r,a,i){if(!e.nodeIsMissing(n)){var o,s=1920|(e.isInJSFile(n)?111551&t:0);if(78===n.kind){var c=t===s||e.nodeIsSynthesized(n)?e.Diagnostics.Cannot_find_namespace_0:Hf(e.getFirstIdentifier(n)),l=e.isInJSFile(n)&&!e.nodeIsSynthesized(n)?function(n,t){if(nl(n.parent)){var r=function(n){if(e.findAncestor(n,(function(n){return e.isJSDocNode(n)||4194304&n.flags?e.isJSDocTypeAlias(n):"quit"})))return;var t=e.getJSDocHost(n);if(e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&3===e.getAssignmentDeclarationKind(t.expression)){if(a=va(t.expression.left))return aa(a)}if((e.isObjectLiteralMethod(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent)){if(a=va(t.parent.parent.left))return aa(a)}var r=e.getEffectiveJSDocHost(n);if(r&&e.isFunctionLike(r)){var a;return(a=va(r))&&a.valueDeclaration}}(n.parent);if(r)return xr(r,n.escapedText,t,void 0,n,!0)}}(n,t):void 0;if(!(o=ha(xr(i||n,n.escapedText,t,r||l?void 0:c,n,!0))))return ha(l)}else{if(156!==n.kind&&198!==n.kind)throw e.Debug.assertNever(n,"Unknown entity name kind.");var u=156===n.kind?n.left:n.expression,d=156===n.kind?n.right:n.name,p=ra(u,s,r,!1,i);if(!p||e.nodeIsMissing(d))return;if(p===he)return p;if(e.isInJSFile(n)&&p.valueDeclaration&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&Vy(p.valueDeclaration.initializer)){var f=p.valueDeclaration.initializer.arguments[0],m=ia(f,f);if(m){var _=la(m);_&&(p=_)}}if(!(o=ha(Tr(ma(p),d.escapedText,t))))return void(r||or(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,ta(p),e.declarationNameToString(d)))}return e.Debug.assert(0==(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(n)&&e.isEntityName(n)&&(2097152&o.flags||263===n.parent.kind)&&Yr(e.getAliasDeclarationFromName(n),o,void 0,!0),o.flags&t||a?o:Xr(o)}}function aa(n){var t=n.parent.valueDeclaration;if(t)return(e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0)||t}function ia(n,t,r){var a=e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.Classic?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return oa(n,t,r?void 0:a)}function oa(n,t,r,a){return void 0===a&&(a=!1),e.isStringLiteralLike(t)?sa(n,t.text,r,t,a):void 0}function sa(t,r,a,i,o){(void 0===o&&(o=!1),e.startsWith(r,"@types/"))&&or(i,e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(r,"@types/"),r);var s=lc(r,!0);if(s)return s;var c=e.getSourceFileOfNode(t),l=e.getResolvedModule(c,r),u=l&&e.getResolutionDiagnostic(j,l),d=l&&!u&&n.getSourceFile(l.resolvedFileName);if(d)return d.symbol?(l.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(l.extension)&&ca(!1,i,l,r),ha(d.symbol)):void(a&&or(i,e.Diagnostics.File_0_is_not_a_module,d.fileName));if(pn){var p=e.findBestPatternMatch(pn,(function(e){return e.pattern}),r);if(p){var f=fn&&fn.get(r);return ha(f?f:p.symbol)}}if(l&&!e.resolutionExtensionIsTSOrJson(l.extension)&&void 0===u||u===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?or(i,e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,r,l.resolvedFileName):ca(Y&&!!a,i,l,r);else if(a){if(l){var m=n.getProjectReferenceRedirect(l.resolvedFileName);if(m)return void or(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,m,l.resolvedFileName)}if(u)or(i,u,r,l.resolvedFileName);else{var _=e.tryExtractTSExtension(r);if(_)or(i,e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,_,e.removeExtension(r,_));else!j.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(j)?or(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r):or(i,a,r)}}}function ca(n,t,r,a){var i,o=r.packageId,s=r.resolvedFileName,c=!e.isExternalModuleNameRelative(a)&&o?(i=o.name,m().has(e.getTypesPackageName(i))?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,o.name,e.mangleScopedPackageName(o.name)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(o.name))):void 0;cr(n,t,e.chainDiagnosticMessages(c,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,s))}function la(n,t){if(null==n?void 0:n.exports){var r=function(n,t){if(!n||n===he||n===t||1===t.exports.size||2097152&n.flags)return n;var r=vr(n);if(r.cjsExportMerged)return r.cjsExportMerged;var a=33554432&n.flags?n:fr(n);a.flags=512|a.flags,void 0===a.exports&&(a.exports=e.createSymbolTable());return t.exports.forEach((function(e,n){"export="!==n&&a.exports.set(n,a.exports.has(n)?mr(a.exports.get(n),e):e)})),vr(a).cjsExportMerged=a,r.cjsExportMerged=a}(ha(Jr(n.exports.get("export="),t)),ha(n));return ha(r)||n}}function ua(n,t,r,a){var i=la(n,r);if(!r&&i){if(!(a||1539&i.flags||e.getDeclarationOfKind(i,294))){var o=H>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return or(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),i}if(j.esModuleInterop){var s=t.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=to(i),l=$s(c,0);if(l&&l.length||(l=$s(c,1)),l&&l.length){var u=Uy(c,i,n),d=ur(i.flags,i.escapedName);d.declarations=i.declarations?i.declarations.slice():[],d.parent=i.parent,d.target=i,d.originatingImport=s,i.valueDeclaration&&(d.valueDeclaration=i.valueDeclaration),i.constEnumOnlyModule&&(d.constEnumOnlyModule=!0),i.members&&(d.members=new e.Map(i.members)),i.exports&&(d.exports=new e.Map(i.exports));var p=Ls(u);return d.type=wa(d,p.members,e.emptyArray,e.emptyArray,p.stringIndexInfo,p.numberIndexInfo),d}}}}return i}function da(e){return void 0!==e.exports.get("export=")}function pa(e){return sc(_a(e))}function fa(e,n){var t=_a(n);if(t)return t.get(e)}function ma(e){return 6256&e.flags?qo(e,"resolvedExports"):1536&e.flags?_a(e):e.exports||U}function _a(e){var n=vr(e);return n.resolvedExports||(n.resolvedExports=ya(e))}function ga(n,t,r,a){t&&t.forEach((function(t,i){if("default"!==i){var o=n.get(i);if(o){if(r&&a&&o&&Jr(o)!==Jr(t)){var s=r.get(i);s.exportsWithDuplicate?s.exportsWithDuplicate.push(a):s.exportsWithDuplicate=[a]}}else n.set(i,t),r&&a&&r.set(i,{specifierText:e.getTextOfNode(a.moduleSpecifier)})}}))}function ya(n){var t=[];return function n(r){if(!(r&&r.exports&&e.pushIfUnique(t,r)))return;var a=new e.Map(r.exports),i=r.exports.get("__export");if(i){for(var o=e.createSymbolTable(),s=new e.Map,c=0,l=i.declarations;c<l.length;c++){var u=l[c],d=ia(u,u.moduleSpecifier),p=n(d);ga(o,p,s,u)}s.forEach((function(n,t){var r=n.exportsWithDuplicate;if("export="!==t&&r&&r.length&&!a.has(t))for(var i=0,o=r;i<o.length;i++){var c=o[i];zt.add(e.createDiagnosticForNode(c,e.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,s.get(t).specifierText,e.unescapeLeadingUnderscores(t)))}})),ga(a,o)}return a}(n=la(n))||U}function ha(e){var n;return e&&e.mergeId&&(n=kt[e.mergeId])?n:e}function va(e){return ha(e.symbol&&Jo(e.symbol))}function ba(e){return ha(e.parent&&Jo(e.parent))}function Ea(t,r,a){var i=ba(t);if(i&&!(262144&t.flags)){var o=e.mapDefined(i.declarations,(function(e){return i&&Ta(e,i)})),s=r&&function(t,r){var a,i=e.getSourceFileOfNode(r),o=R(i),s=vr(t);if(s.extendedContainersByFile&&(a=s.extendedContainersByFile.get(o)))return a;if(i&&i.imports){for(var c=0,l=i.imports;c<l.length;c++){var u=l[c];if(!e.nodeIsSynthesized(u)){var d=ia(r,u,!0);if(d)Sa(d,t)&&(a=e.append(a,d))}}if(e.length(a))return(s.extendedContainersByFile||(s.extendedContainersByFile=new e.Map)).set(o,a),a}if(s.extendedContainers)return s.extendedContainers;for(var p=0,f=n.getSourceFiles();p<f.length;p++){var m=f[p];if(e.isExternalModule(m)){var _=va(m);Sa(_,t)&&(a=e.append(a,_))}}return s.extendedContainers=a||e.emptyArray}(t,r),c=function(n,t){var r=!!e.length(n.declarations)&&e.first(n.declarations);if(111551&t&&r&&r.parent&&e.isVariableDeclaration(r.parent)&&(e.isObjectLiteralExpression(r)&&r===r.parent.initializer||e.isTypeLiteralNode(r)&&r===r.parent.type))return va(r.parent)}(i,a);if(r&&Ba(i,r,1920,!1))return e.append(e.concatenate(e.concatenate([i],o),s),c);var l=e.append(e.append(o,i),c);return e.concatenate(l,s)}var u=e.mapDefined(t.declarations,(function(n){return!e.isAmbientModule(n)&&n.parent&&Ja(n.parent)?va(n.parent):e.isClassExpression(n)&&e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind&&e.isAccessExpression(n.parent.left)&&e.isEntityNameExpression(n.parent.left.expression)?e.isModuleExportsAccessExpression(n.parent.left)||e.isExportsIdentifier(n.parent.left.expression)?va(e.getSourceFileOfNode(n)):(Vh(n.parent.left.expression),br(n.parent.left.expression).resolvedSymbol):void 0}));if(e.length(u))return e.mapDefined(u,(function(e){return Sa(e,t)?e:void 0}))}function Ta(e,n){var t=qa(e),r=t&&t.exports&&t.exports.get("export=");return r&&La(r,n)?t:void 0}function Sa(n,t){if(n===ba(t))return t;var r=n.exports&&n.exports.get("export=");if(r&&La(r,t))return n;var a=ma(n),i=a.get(t.escapedName);return i&&La(i,t)?i:e.forEachEntry(a,(function(e){if(La(e,t))return e}))}function La(e,n){if(ha(Jr(ha(e)))===ha(Jr(ha(n))))return e}function xa(e){return ha(e&&0!=(1048576&e.flags)?e.exportSymbol:e)}function Aa(e){return!!(111551&e.flags||2097152&e.flags&&111551&Xr(e).flags&&!Zr(e))}function Da(n){for(var t=0,r=n.members;t<r.length;t++){var a=r[t];if(165===a.kind&&e.nodeIsPresent(a.body))return a}}function Ca(e){var n=new g(ce,e);return h++,n.id=h,n}function Ia(e,n,t){void 0===t&&(t=0);var r=Ca(e);return r.intrinsicName=n,r.objectFlags=t,r}function Na(e){var n=wl(e);return n.flags|=16,n.intrinsicName="boolean",n}function Ra(e,n){var t=Ca(524288);return t.objectFlags=e,t.symbol=n,t.members=void 0,t.properties=void 0,t.callSignatures=void 0,t.constructSignatures=void 0,t.stringIndexInfo=void 0,t.numberIndexInfo=void 0,t}function ka(e){var n=Ca(262144);return e&&(n.symbol=e),n}function Oa(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function Pa(n){var t;return n.forEach((function(e,n){!Oa(n)&&Aa(e)&&(t||(t=[])).push(e)})),t||e.emptyArray}function Ma(n,t,r,a,i,o){return n.members=t,n.properties=t===U?e.emptyArray:Pa(t),n.callSignatures=r,n.constructSignatures=a,n.stringIndexInfo=i,n.numberIndexInfo=o,n}function wa(e,n,t,r,a,i){return Ma(Ra(16,e),n,t,r,a,i)}function Fa(n,t){for(var r,a=function(n){if(n.locals&&!Er(n)&&(r=t(n.locals)))return{value:r};switch(n.kind){case 294:if(!e.isExternalOrCommonJsModule(n))break;case 253:var a=va(n);if(r=t((null==a?void 0:a.exports)||U))return{value:r};break;case 249:case 218:case 250:var i;if((va(n).members||U).forEach((function(n,t){788968&n.flags&&(i||(i=e.createSymbolTable())).set(t,n)})),i&&(r=t(i)))return{value:r}}},i=n;i;i=i.parent){var o=a(i);if("object"==typeof o)return o.value}return t(te)}function Ga(e){return 111551===e?111551:1920}function Ba(n,t,r,a,i){if(void 0===i&&(i=new e.Map),n&&!function(e){if(e.declarations&&e.declarations.length){for(var n=0,t=e.declarations;n<t.length;n++){switch(t[n].kind){case 162:case 164:case 166:case 167:continue;default:return!1}}return!0}return!1}(n)){var o=k(n),s=i.get(o);return s||i.set(o,s=[]),Fa(t,c)}function c(r,i){if(e.pushIfUnique(s,r)){var o=function(r,i){if(u(r.get(n.escapedName),void 0,i))return[n];return e.forEachEntry(r,(function(r){if(2097152&r.flags&&"export="!==r.escapedName&&"default"!==r.escapedName&&!(e.isUMDExportSymbol(r)&&t&&e.isExternalModule(e.getSourceFileOfNode(t)))&&(!a||e.some(r.declarations,e.isExternalModuleImportEqualsDeclaration))&&(i||!e.getDeclarationOfKind(r,267))){var o=d(r,Xr(r),i);if(o)return o}if(r.escapedName===n.escapedName&&r.exportSymbol&&u(ha(r.exportSymbol),void 0,i))return[n]}))||(r===te?d(ae,ae,i):void 0)}(r,i);return s.pop(),o}}function l(e,n){return!Ua(e,t,n)||!!Ba(e.parent,t,Ga(n),a,i)}function u(t,a,i){return(n===(a||t)||ha(n)===ha(a||t))&&!e.some(t.declarations,Ja)&&(i||l(ha(t),r))}function d(e,n,t){if(u(e,n,t))return[e];var a=ma(n),i=a&&c(a,!0);return i&&l(e,Ga(r))?[e].concat(i):void 0}}function Ua(n,t,r){var a=!1;return Fa(t,(function(t){var i=ha(t.get(n.escapedName));return!!i&&(i===n||!!((i=2097152&i.flags&&!e.getDeclarationOfKind(i,267)?Xr(i):i).flags&r)&&(a=!0,!0))})),a}function Va(e,n){return 0===Wa(e,n,788968,!1,!0).accessibility}function ja(e,n){return 0===Wa(e,n,111551,!1,!0).accessibility}function Ka(e,n,t){return 0===Wa(e,n,t,!1,!1).accessibility}function Ha(e,n,t,r){return Wa(e,n,t,r,!0)}function Wa(n,t,r,a,i){if(n&&t){var o=function n(t,r,a,i,o,s){if(e.length(t)){for(var c,l=!1,u=0,d=t;u<d.length;u++){var p=d[u],f=Ba(p,r,i,!1);if(f){c=p;var m=Xa(f[0],o);if(m)return m}else if(s&&e.some(p.declarations,Ja)){if(o){l=!0;continue}return{accessibility:0}}var _=n(Ea(p,r,i),r,a,a===p?Ga(i):i,o,s);if(_)return _}return l?{accessibility:0}:c?{accessibility:1,errorSymbolName:Qa(a,r,i),errorModuleName:c!==a?Qa(c,r,1920):void 0}:void 0}}([n],t,n,r,a,i);if(o)return o;var s=e.forEach(n.declarations,qa);if(s)if(s!==qa(t))return{accessibility:2,errorSymbolName:Qa(n,t,r),errorModuleName:Qa(s)};return{accessibility:1,errorSymbolName:Qa(n,t,r)}}return{accessibility:0}}function qa(n){var t=e.findAncestor(n,za);return t&&va(t)}function za(n){return e.isAmbientModule(n)||294===n.kind&&e.isExternalOrCommonJsModule(n)}function Ja(n){return e.isModuleWithStringLiteralName(n)||294===n.kind&&e.isExternalOrCommonJsModule(n)}function Xa(n,t){var r;if(e.every(e.filter(n.declarations,(function(e){return 78!==e.kind})),(function(n){if(!ui(n)){var t=Pr(n);return t&&!e.hasSyntacticModifier(t,1)&&ui(t.parent)?a(n,t):e.isVariableDeclaration(n)&&e.isVariableStatement(n.parent.parent)&&!e.hasSyntacticModifier(n.parent.parent,1)&&ui(n.parent.parent.parent)?a(n,n.parent.parent):!(!e.isLateVisibilityPaintedStatement(n)||e.hasSyntacticModifier(n,1)||!ui(n.parent))&&a(n,n)}return!0})))return{accessibility:0,aliasesToMakeVisible:r};function a(n,a){return t&&(br(n).isVisible=!0,r=e.appendIfUnique(r,a)),!0}}function Ya(n,t){var r;r=175===n.parent.kind||e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)||157===n.parent.kind?1160127:156===n.kind||198===n.kind||257===n.parent.kind?1920:788968;var a=e.getFirstIdentifier(n),i=xr(t,a.escapedText,r,void 0,void 0,!1);return i&&262144&i.flags&&788968&r?{accessibility:0}:i&&Xa(i,!0)||{accessibility:1,errorSymbolName:e.getTextOfNode(a),errorNode:a}}function Qa(n,t,r,a,i){void 0===a&&(a=4);var o=70221824;2&a&&(o|=128),1&a&&(o|=512),8&a&&(o|=16384),16&a&&(o|=134217728);var s=4&a?ne.symbolToExpression:ne.symbolToEntityName;return i?c(i).getText():e.usingSingleLineStringWriter(c);function c(a){var i=s(n,r,t,o),c=294===(null==t?void 0:t.kind)?e.createPrinter({removeComments:!0,neverAsciiEscape:!0}):e.createPrinter({removeComments:!0}),l=t&&e.getSourceFileOfNode(t);return c.writeNode(4,i,l,a),a}}function Za(n,t,r,a,i){return void 0===r&&(r=0),i?o(i).getText():e.usingSingleLineStringWriter(o);function o(i){var o;o=262144&r?1===a?174:173:1===a?169:168;var s=ne.signatureToSignatureDeclaration(n,o,t,70222336|ri(r)),c=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),l=t&&e.getSourceFileOfNode(t);return c.writeNode(4,s,l,e.getTrailingSemicolonDeferringWriter(i)),i}}function $a(n,t,r,a){void 0===r&&(r=1064960),void 0===a&&(a=e.createTextWriter(""));var i=j.noErrorTruncation||1&r,o=ne.typeToTypeNode(n,t,70221824|ri(r)|(i?1:0),a);if(void 0===o)return e.Debug.fail("should always get typenode");var s=e.createPrinter({removeComments:!0}),c=t&&e.getSourceFileOfNode(t);s.writeNode(4,o,c,a);var l=a.getText(),u=i?2*e.noTruncationMaximumTruncationLength:2*e.defaultMaximumTruncationLength;return u&&l&&l.length>=u?l.substr(0,u-"...".length)+"...":l}function ei(e,n){var t=ti(e.symbol)?$a(e,e.symbol.valueDeclaration):$a(e),r=ti(n.symbol)?$a(n,n.symbol.valueDeclaration):$a(n);return t===r&&(t=ni(e),r=ni(n)),[t,r]}function ni(e){return $a(e,void 0,64)}function ti(n){return n&&n.valueDeclaration&&e.isExpression(n.valueDeclaration)&&!yd(n.valueDeclaration)}function ri(e){return void 0===e&&(e=0),814775659&e}function ai(n,t,r,a){return void 0===r&&(r=16384),a?i(a).getText():e.usingSingleLineStringWriter(i);function i(a){var i=e.factory.createTypePredicateNode(2===n.kind||3===n.kind?e.factory.createToken(127):void 0,1===n.kind||3===n.kind?e.factory.createIdentifier(n.parameterName):e.factory.createThisTypeNode(),n.type&&ne.typeToTypeNode(n.type,t,70222336|ri(r))),o=e.createPrinter({removeComments:!0}),s=t&&e.getSourceFileOfNode(t);return o.writeNode(4,i,s,a),a}}function ii(e){return 8===e?"private":16===e?"protected":"public"}function oi(n){return n&&n.parent&&254===n.parent.kind&&e.isExternalModuleAugmentation(n.parent.parent)}function si(n){return 294===n.kind||e.isAmbientModule(n)}function ci(n,t){var r=vr(n).nameType;if(r){if(384&r.flags){var a=""+r.value;return e.isIdentifierText(a,j.target)||U_(a)?U_(a)&&e.startsWith(a,"-")?"["+a+"]":a:'"'+e.escapeString(a,34)+'"'}if(8192&r.flags)return"["+li(r.symbol,t)+"]"}}function li(n,t){if(t&&"default"===n.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!n.declarations||t.enclosingDeclaration&&e.findAncestor(n.declarations[0],si)!==e.findAncestor(t.enclosingDeclaration,si)))return"default";if(n.declarations&&n.declarations.length){var r=e.firstDefined(n.declarations,(function(n){return e.getNameOfDeclaration(n)?n:void 0})),a=r&&e.getNameOfDeclaration(r);if(r&&a){if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r))return e.symbolName(n);if(e.isComputedPropertyName(a)&&!(4096&e.getCheckFlags(n))){var i=vr(n).nameType;if(i&&384&i.flags){var o=ci(n,t);if(void 0!==o)return o}}return e.declarationNameToString(a)}if(r||(r=n.declarations[0]),r.parent&&246===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(r.kind){case 218:case 205:case 206:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),218===r.kind?"(Anonymous class)":"(Anonymous function)"}}var s=ci(n,t);return void 0!==s?s:e.symbolName(n)}function ui(n){if(n){var t=br(n);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(n.kind){case 320:case 327:case 321:return!!(n.parent&&n.parent.parent&&n.parent.parent.parent&&e.isSourceFile(n.parent.parent.parent));case 195:return ui(n.parent.parent);case 246:if(e.isBindingPattern(n.name)&&!n.name.elements.length)return!1;case 253:case 249:case 250:case 251:case 248:case 252:case 257:if(e.isExternalModuleAugmentation(n))return!0;var t=gi(n);return 1&e.getCombinedModifierFlags(n)||257!==n.kind&&294!==t.kind&&8388608&t.flags?ui(t):Er(t);case 162:case 161:case 166:case 167:case 164:case 163:if(e.hasEffectiveModifier(n,24))return!1;case 165:case 169:case 168:case 170:case 159:case 254:case 173:case 174:case 176:case 172:case 177:case 178:case 181:case 182:case 185:case 191:return ui(n.parent);case 259:case 260:case 262:return!1;case 158:case 294:case 256:return!0;case 263:default:return!1}}()),t.isVisible}return!1}function di(n,t){var r,a,i;return n.parent&&263===n.parent.kind?r=xr(n,n.escapedText,2998271,void 0,n,!1):267===n.parent.kind&&(r=Hr(n.parent,2998271)),r&&((i=new e.Set).add(k(r)),function n(r){e.forEach(r,(function(r){var o=Pr(r)||r;if(t?br(r).isVisible=!0:(a=a||[],e.pushIfUnique(a,o)),e.isInternalModuleImportEqualsDeclaration(r)){var s=r.moduleReference,c=xr(r,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1);c&&i&&e.tryAddToSet(i,k(c))&&n(c.declarations)}}))}(r.declarations)),a}function pi(e,n){var t=fi(e,n);if(t>=0){for(var r=Ct.length,a=t;a<r;a++)It[a]=!1;return!1}return Ct.push(e),It.push(!0),Nt.push(n),!0}function fi(e,n){for(var t=Ct.length-1;t>=0;t--){if(mi(Ct[t],Nt[t]))return-1;if(Ct[t]===e&&Nt[t]===n)return t}return-1}function mi(n,t){switch(t){case 0:return!!vr(n).type;case 5:return!!br(n).resolvedEnumType;case 2:return!!vr(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!n.resolvedTypeArguments;case 7:return!!n.baseTypesResolved}return e.Debug.assertNever(t)}function _i(){return Ct.pop(),Nt.pop(),It.pop()}function gi(n){return e.findAncestor(e.getRootDeclaration(n),(function(e){switch(e.kind){case 246:case 247:case 262:case 261:case 260:case 259:return!1;default:return!0}})).parent}function yi(e,n){var t=Zs(e,n);return t?to(t):void 0}function hi(e){return e&&0!=(1&e.flags)}function vi(e){var n=va(e);return n&&vr(n).type||Ci(e,!1)}function bi(n,t,r){if(131072&(n=Em(n,(function(e){return!(98304&e.flags)}))).flags)return Ze;if(1048576&n.flags)return Sm(n,(function(e){return bi(e,t,r)}));var a=wl(e.map(t,Wl));if(tu(n)||ru(a)){if(131072&a.flags)return n;var i=Xn||(Xn=ll("Omit",524288,e.Diagnostics.Cannot_find_global_type_0));return i?zc(i,[n,a]):Se}for(var o=e.createSymbolTable(),s=0,c=Cs(n);s<c.length;s++){var l=c[s];Dd(ql(l,8576),a)||24&e.getDeclarationModifierFlagsFromSymbol(l)||!Iu(l)||o.set(l.escapedName,Nu(l,!1))}var u=rc(n,0),d=rc(n,1),p=wa(r,o,e.emptyArray,e.emptyArray,u,d);return p.objectFlags|=131072,p}function Ei(e,n){var t=Ti(e);return t?jm(t,n):n}function Ti(n){var t=function(e){var n=e.parent.parent;switch(n.kind){case 195:case 285:return Ti(n);case 196:return Ti(e.parent);case 246:return n.initializer;case 213:return n.right}}(n);if(t&&t.flowNode){var r=function(e){var n=e.parent;if(195===e.kind&&193===n.kind)return Si(e.propertyName||e.name);if(285===e.kind||286===e.kind)return Si(e.name);return""+n.elements.indexOf(e)}(n);if(r){var a=e.setTextRange(e.parseNodeFactory.createStringLiteral(r),n),i=e.setTextRange(e.parseNodeFactory.createElementAccessExpression(t,a),n);return e.setParent(a,i),e.setParent(i,n),i.flowNode=t.flowNode,i}}}function Si(e){var n=Wl(e);return 384&n.flags?""+n.value:void 0}function Li(n){var t,r=n.parent,a=vi(r.parent);if(!a||hi(a))return a;if(q&&8388608&n.flags&&e.isParameterDeclaration(n)?a=Qp(a):!q||!r.parent.initializer||65536&rm(pm(r.parent.initializer))||(a=am(a,524288)),193===r.kind)if(n.dotDotDotToken){if(2&(a=zs(a)).flags||!W_(a))return or(n,e.Diagnostics.Rest_types_may_only_be_created_from_object_types),Se;for(var i=[],o=0,s=r.elements;o<s.length;o++){var c=s[o];c.dotDotDotToken||i.push(c.propertyName||c.name)}t=bi(a,i,n.symbol)}else{var l=n.propertyName||n.name;t=Ei(n,Xm(lu(a,p=Wl(l),l),n.name))}else{var u=bb(65,a,Ae,r),d=r.elements.indexOf(n);if(n.dotDotDotToken)t=bm(a,Gp)?Sm(a,(function(e){return Cl(e,d)})):vl(u);else if(Ap(a)){var p=wu(d),f=M_(n)?8:0;t=Ei(n,Xm(du(a,p,n.name,f)||Se,n.name))}else t=u}return n.initializer?e.getEffectiveTypeAnnotationNode(e.walkUpBindingElementsAndPatterns(n))?!q||32768&qp(Kh(n))?t:am(t,524288):Hh(n,wl([am(t,524288),Kh(n)],2)):t}function xi(n){var t=e.getJSDocType(n);if(t)return Vu(t)}function Ai(n){var t=e.skipParentheses(n);return 196===t.kind&&0===t.elements.length}function Di(e,n){return void 0===n&&(n=!0),q&&n?Yp(e):e}function Ci(n,t){if(e.isVariableDeclaration(n)&&235===n.parent.parent.kind){var r=Xl(hg(iv(n.parent.parent.expression)));return 4456448&r.flags?Yl(r):Re}if(e.isVariableDeclaration(n)&&236===n.parent.parent.kind)return vb(n.parent.parent)||be;if(e.isBindingPattern(n.parent))return Li(n);var a,i,o=t&&(e.isParameter(n)&&cc(n)||dc(n)||!e.isBindingElement(n)&&!e.isVariableDeclaration(n)&&!!n.questionToken),s=Wi(n);if(s)return Di(s,o);if((Y||e.isInJSFile(n))&&e.isVariableDeclaration(n)&&!e.isBindingPattern(n.name)&&!(1&e.getCombinedModifierFlags(n))&&!(8388608&n.flags)){if(!(2&e.getCombinedNodeFlags(n)||n.initializer&&(a=n.initializer,i=e.skipParentheses(a),103!==i.kind&&(78!==i.kind||Wf(i)!==re))))return Ee;if(n.initializer&&Ai(n.initializer))return An}if(e.isParameter(n)){var c=n.parent;if(167===c.kind&&!Ko(c)){var l=e.getDeclarationOfKind(va(n.parent),166);if(l){var u=_c(l),d=UT(c);return d&&n===d?(e.Debug.assert(!d.type),to(u.thisParameter)):Ec(u)}}if(e.isInJSFile(n)){var p=e.getJSDocType(c);if(p&&e.isFunctionTypeNode(p)){var f=_c(p),m=c.parameters.indexOf(n);return n.dotDotDotToken?$y(f,m):Qy(f,m)}}if(g="this"===n.symbol.escapedName?c_(c):l_(n))return Di(g,o)}if(e.hasOnlyExpressionInitializer(n)&&n.initializer){if(e.isInJSFile(n)&&!e.isParameter(n)){var _=Mi(n,va(n),e.getDeclaredExpandoInitializer(n));if(_)return _}return Di(g=Hh(n,Kh(n)),o)}if(e.isPropertyDeclaration(n)&&!e.hasStaticModifier(n)&&(Y||e.isInJSFile(n))){var g,y=Da(n.parent);return(g=y?ki(n.symbol,y):2&e.getEffectiveModifierFlags(n)?_p(n.symbol):void 0)&&Di(g,o)}return e.isJsxAttribute(n)?we:e.isBindingPattern(n.name)?Vi(n.name,!1,!0):void 0}function Ii(n){if(n.valueDeclaration&&e.isBinaryExpression(n.valueDeclaration)){var t=vr(n);return void 0===t.isConstructorDeclaredProperty&&(t.isConstructorDeclaredProperty=!!Ri(n)&&e.every(n.declarations,(function(t){return e.isBinaryExpression(t)&&4===e.getAssignmentDeclarationKind(t)&&(199!==t.left.kind||e.isStringOrNumericLiteralLike(t.left.argumentExpression))&&!wi(void 0,t,n,t)}))),t.isConstructorDeclaredProperty}return!1}function Ni(n){var t=n.valueDeclaration;return t&&e.isPropertyDeclaration(t)&&!e.getEffectiveTypeAnnotationNode(t)&&!t.initializer&&(Y||e.isInJSFile(t))}function Ri(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t],i=e.getThisContainer(a,!1);if(i&&(165===i.kind||Oy(i)))return i}}function ki(n,t){var r=e.factory.createPropertyAccessExpression(e.factory.createThis(),e.unescapeLeadingUnderscores(n.escapedName));e.setParent(r.expression,r),e.setParent(r,t),r.flowNode=t.returnFlowNode;var a=Oi(r,n);return!Y||a!==Ee&&a!==An||or(n.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,Qa(n),$a(a)),bm(a,yg)?void 0:sb(a)}function Oi(n,t){var r=t&&(!Ni(t)||2&e.getEffectiveModifierFlags(t.valueDeclaration))&&_p(t)||Ae;return jm(n,Ee,r)}function Pi(n,t){var r,a=e.getAssignedExpandoInitializer(n.valueDeclaration);if(a){var i=e.getJSDocTypeTag(a);return i&&i.typeExpression?Vu(i.typeExpression):Mi(n.valueDeclaration,n,a)||Pp(Vh(a))}var o=!1,s=!1;if(Ii(n)&&(r=ki(n,Ri(n))),!r){for(var c=void 0,l=void 0,u=0,d=n.declarations;u<d.length;u++){var p=d[u],f=e.isBinaryExpression(p)||e.isCallExpression(p)?p:e.isAccessExpression(p)?e.isBinaryExpression(p.parent)?p.parent:p:void 0;if(f){var m=e.isAccessExpression(f)?e.getAssignmentDeclarationPropertyAccessKind(f):e.getAssignmentDeclarationKind(f);4===m&&(Gi(f)?o=!0:s=!0),e.isCallExpression(f)||(c=wi(c,f,n,p)),c||(l||(l=[])).push(e.isBinaryExpression(f)||e.isCallExpression(f)?Fi(n,t,f,m):Ve)}}if(!(r=c)){if(!e.length(l))return Se;var _=o?function(n,t){return e.Debug.assert(n.length===t.length),n.filter((function(n,r){var a=t[r],i=e.isBinaryExpression(a)?a:e.isBinaryExpression(a.parent)?a.parent:void 0;return i&&Gi(i)}))}(l,n.declarations):void 0;if(s){var g=_p(n);g&&((_||(_=[])).push(g),o=!0)}r=wl(e.some(_,(function(e){return!!(-98305&e.flags)}))?_:l,2)}}var y=df(Di(r,s&&!o));return Em(y,(function(e){return!!(-98305&e.flags)}))===Ve?(ff(n.valueDeclaration,be),be):y}function Mi(n,t,r){var a,i;if(e.isInJSFile(n)&&r&&e.isObjectLiteralExpression(r)&&!r.properties.length){for(var o=e.createSymbolTable();e.isBinaryExpression(n)||e.isPropertyAccessExpression(n);){var s=va(n);(null===(a=null==s?void 0:s.exports)||void 0===a?void 0:a.size)&&yr(o,s.exports),n=e.isBinaryExpression(n)?n.parent:n.parent.parent}var c=va(n);(null===(i=null==c?void 0:c.exports)||void 0===i?void 0:i.size)&&yr(o,c.exports);var l=wa(t,o,e.emptyArray,e.emptyArray,void 0,void 0);return l.objectFlags|=16384,l}}function wi(n,t,r,a){var i=e.getEffectiveTypeAnnotationNode(t.parent);if(i){var o=df(Vu(i));if(!n)return o;n===Se||o===Se||Td(n,o)||lb(void 0,n,a,o)}if(r.parent){var s=e.getEffectiveTypeAnnotationNode(r.parent.valueDeclaration);if(s)return yi(Vu(s),r.escapedName)}return n}function Fi(n,t,r,a){if(e.isCallExpression(r)){if(t)return to(t);var i=Vh(r.arguments[2]),o=yi(i,"value");if(o)return o;var s=yi(i,"get");if(s){var c=ey(s);if(c)return Ec(c)}var l=yi(i,"set");if(l){var u=ey(l);if(u)return ih(u)}return be}if(function(n,t){return e.isPropertyAccessExpression(n)&&107===n.expression.kind&&e.forEachChildRecursively(t,(function(e){return zf(n,e)}))}(r.left,r.right))return be;var d=t?to(t):Pp(Vh(r.right));if(524288&d.flags&&2===a&&"export="===n.escapedName){var p=Ls(d),f=e.createSymbolTable();e.copyEntries(p.members,f),t&&!t.exports&&(t.exports=e.createSymbolTable()),(t||n).exports.forEach((function(n,t){var r,a=f.get(t);if(a&&a!==n)if(111551&n.flags&&111551&a.flags){if(e.getSourceFileOfNode(n.valueDeclaration)!==e.getSourceFileOfNode(a.valueDeclaration)){var i=e.unescapeLeadingUnderscores(n.escapedName),o=(null===(r=e.tryCast(a.valueDeclaration,e.isNamedDeclaration))||void 0===r?void 0:r.name)||a.valueDeclaration;e.addRelatedInfo(or(n.valueDeclaration,e.Diagnostics.Duplicate_identifier_0,i),e.createDiagnosticForNode(o,e.Diagnostics._0_was_also_declared_here,i)),e.addRelatedInfo(or(o,e.Diagnostics.Duplicate_identifier_0,i),e.createDiagnosticForNode(n.valueDeclaration,e.Diagnostics._0_was_also_declared_here,i))}var s=ur(n.flags|a.flags,t);s.type=wl([to(n),to(a)]),s.valueDeclaration=a.valueDeclaration,s.declarations=e.concatenate(a.declarations,n.declarations),f.set(t,s)}else f.set(t,mr(n,a));else f.set(t,n)}));var m=wa(p.symbol,f,p.callSignatures,p.constructSignatures,p.stringIndexInfo,p.numberIndexInfo);return m.objectFlags|=16384&e.getObjectFlags(d),m}return Dp(d)?(ff(r,xn),xn):d}function Gi(n){var t=e.getThisContainer(n,!1);return 165===t.kind||248===t.kind||205===t.kind&&!e.isPrototypePropertyAssignment(t.parent)}function Bi(n,t,r){return n.initializer?Di(Hh(n,Kh(n,e.isBindingPattern(n.name)?Vi(n.name,!0,!1):xe))):e.isBindingPattern(n.name)?Vi(n.name,t,r):(r&&!Hi(n)&&ff(n,be),t?Le:be)}function Ui(n,t,r){var a,i=n.elements,o=e.lastOrUndefined(i),s=o&&195===o.kind&&o.dotDotDotToken?o:void 0;if(0===i.length||1===i.length&&s)return K>=2?(a=be,yl(_l(!0),[a])):xn;var c=e.map(i,(function(n){return e.isOmittedExpression(n)?be:Bi(n,t,r)})),l=e.findLastIndex(i,(function(n){return!(n===s||e.isOmittedExpression(n)||M_(n))}),i.length-1)+1,u=xl(c,e.map(i,(function(e,n){return e===s?4:n>=l?2:1})));return t&&((u=jc(u)).pattern=n,u.objectFlags|=1048576),u}function Vi(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),193===n.kind?function(n,t,r){var a,i=e.createSymbolTable(),o=1048704;e.forEach(n.elements,(function(e){var n=e.propertyName||e.name;if(e.dotDotDotToken)a=Pc(be,!1);else{var s=Wl(n);if(Bo(s)){var c=Ho(s),l=ur(4|(e.initializer?16777216:0),c);l.type=Bi(e,t,r),l.bindingElement=e,i.set(l.escapedName,l)}else o|=512}}));var s=wa(void 0,i,e.emptyArray,e.emptyArray,a,void 0);return s.objectFlags|=o,t&&(s.pattern=n,s.objectFlags|=1048576),s}(n,t,r):Ui(n,t,r)}function ji(e,n){return Ki(Ci(e,!0),e,n)}function Ki(n,t,r){return n?(r&&mf(t,n),8192&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==va(t)&&(n=Be),df(n)):(n=e.isParameter(t)&&t.dotDotDotToken?xn:be,r&&(Hi(t)||ff(t,n)),n)}function Hi(n){var t=e.getRootDeclaration(n);return Tv(159===t.kind?t.parent:t)}function Wi(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Vu(t)}function qi(n){var t=vr(n);if(!t.type){var r=function(n){if(4194304&n.flags)return(t=Io(ba(n))).typeParameters?Vc(t,e.map(t.typeParameters,(function(e){return be}))):t;var t;if(n===se)return be;if(134217728&n.flags){var r=va(e.getSourceFileOfNode(n.valueDeclaration)),a=e.createSymbolTable();return a.set("exports",r),wa(n,a,e.emptyArray,e.emptyArray,void 0,void 0)}var i,o=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(o)){var s=o;if(!s.type)return be;var c=wE(s.type);return hi(c)||c===xe?c:Se}if(e.isSourceFile(o)&&e.isJsonSourceFile(o))return o.statements.length?df(Pp(iv(o.statements[0].expression))):Ze;if(!pi(n,0))return 512&n.flags&&!(67108864&n.flags)?$i(n):no(n);if(263===o.kind)i=Ki(Vh(o.expression),o);else if(e.isBinaryExpression(o)||e.isInJSFile(o)&&(e.isCallExpression(o)||(e.isPropertyAccessExpression(o)||e.isBindableStaticElementAccessExpression(o))&&e.isBinaryExpression(o.parent)))i=Pi(n);else if(e.isPropertyAccessExpression(o)||e.isElementAccessExpression(o)||e.isIdentifier(o)||e.isStringLiteralLike(o)||e.isNumericLiteral(o)||e.isClassDeclaration(o)||e.isFunctionDeclaration(o)||e.isMethodDeclaration(o)&&!e.isObjectLiteralMethod(o)||e.isMethodSignature(o)||e.isSourceFile(o)){if(9136&n.flags)return $i(n);i=e.isBinaryExpression(o.parent)?Pi(n):Wi(o)||be}else if(e.isPropertyAssignment(o))i=Wi(o)||Jh(o);else if(e.isJsxAttribute(o))i=Wi(o)||J_(o);else if(e.isShorthandPropertyAssignment(o))i=Wi(o)||zh(o.name,0);else if(e.isObjectLiteralMethod(o))i=Wi(o)||Xh(o,0);else if(e.isParameter(o)||e.isPropertyDeclaration(o)||e.isPropertySignature(o)||e.isVariableDeclaration(o)||e.isBindingElement(o)||e.isJSDocPropertyLikeTag(o))i=ji(o,!0);else if(e.isEnumDeclaration(o))i=$i(n);else if(e.isEnumMember(o))i=eo(n);else{if(!e.isAccessor(o))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(o.kind)+" for "+e.Debug.formatSymbol(n));i=Qi(n)}if(!_i())return 512&n.flags&&!(67108864&n.flags)?$i(n):no(n);return i}(n);t.type||(t.type=r)}return t.type}function zi(n){if(n)return 166===n.kind?e.getEffectiveReturnTypeNode(n):e.getEffectiveSetAccessorTypeAnnotationNode(n)}function Ji(e){var n=zi(e);return n&&Vu(n)}function Xi(e){return vc(_c(e))}function Yi(n){var t=vr(n);return t.type||(t.type=function(n){if(!pi(n,0))return Se;var t=Qi(n);if(!_i()){if(t=be,Y)or(e.getDeclarationOfKind(n,166),e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Qa(n))}return t}(n))}function Qi(n){var t=e.getDeclarationOfKind(n,166),r=e.getDeclarationOfKind(n,167);if(t&&e.isInJSFile(t)){var a=xi(t);if(a)return a}var i=Ji(t);if(i)return i;var o=Ji(r);return o||(t&&t.body?ph(t):(r?Tv(r)||cr(Y,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Qa(n)):(e.Debug.assert(!!t,"there must exist a getter as we are current checking either setter or getter in this function"),Tv(t)||cr(Y,t,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Qa(n))),be))}function Zi(n){var t=go(Eo(n));return 8650752&t.flags?t:2097152&t.flags?e.find(t.types,(function(e){return!!(8650752&e.flags)})):void 0}function $i(n){var t=vr(n),r=t;if(!t.type){var a=n.valueDeclaration&&e.getDeclarationOfExpando(n.valueDeclaration);if(a){var i=Py(n,va(a));i&&(n=t=i)}r.type=t.type=function(n){var t=n.valueDeclaration;if(1536&n.flags&&e.isShorthandAmbientModuleSymbol(n))return be;if(t&&(213===t.kind||e.isAccessExpression(t)&&213===t.parent.kind))return Pi(n);if(512&n.flags&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var r=la(n);if(r!==n){if(!pi(n,0))return Se;var a=ha(n.exports.get("export=")),i=Pi(a,a===r?void 0:r);return _i()?i:no(n)}}var o=Ra(16,n);if(32&n.flags){var s=Zi(n);return s?Kl([o,s]):o}return q&&16777216&n.flags?Yp(o):o}(n)}return t.type}function eo(e){var n=vr(e);return n.type||(n.type=Do(e))}function no(n){var t=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(or(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Qa(n)),Se):(Y&&(159!==t.kind||t.initializer)&&or(n.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Qa(n)),be)}function to(n){var t=e.getCheckFlags(n);return 65536&t?function(n){var t=vr(n);return t.type||(e.Debug.assertIsDefined(t.deferralParent),e.Debug.assertIsDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?wl(t.deferralConstituents):Kl(t.deferralConstituents)),t.type}(n):1&t?function(e){var n=vr(e);if(!n.type){if(!pi(e,0))return n.type=Se;var t=pd(to(n.target),n.mapper);_i()||(t=no(e)),n.type=t}return n.type}(n):262144&t?function(n){if(!n.type){if(!pi(n,0))return n.mappedType.containsError=!0,Se;var t=pd(gs(n.mappedType.target||n.mappedType),n.mapper),r=q&&16777216&n.flags&&!Ch(t,49152)?Yp(t):524288&n.checkFlags?am(t,524288):t;_i()||(or(d,e.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Qa(n),$a(n.mappedType)),r=Se),n.type=r,n.mapper=void 0}return n.type}(n):8192&t?function(e){return Cf(e.propertyType,e.mappedType,e.constraintType)}(n):7&n.flags?qi(n):9136&n.flags?$i(n):8&n.flags?eo(n):98304&n.flags?Yi(n):2097152&n.flags?function(e){var n=vr(e);if(!n.type){var t=Xr(e);n.type=111551&t.flags?to(t):Se}return n.type}(n):Se}function ro(n,t){return void 0!==n&&void 0!==t&&0!=(4&e.getObjectFlags(n))&&n.target===t}function ao(n){return 4&e.getObjectFlags(n)?n.target:n}function io(n,t){return function n(r){if(7&e.getObjectFlags(r)){var a=ao(r);return a===t||e.some(ho(a),n)}if(2097152&r.flags)return e.some(r.types,n);return!1}(n)}function oo(n,t){for(var r=0,a=t;r<a.length;r++){var i=a[r];n=e.appendIfUnique(n,Co(va(i)))}return n}function so(n,t){for(;;){if((n=n.parent)&&e.isBinaryExpression(n)){var r=e.getAssignmentDeclarationKind(n);if(6===r||3===r){var a=va(n.left);a&&a.parent&&!e.findAncestor(a.parent.valueDeclaration,(function(e){return n===e}))&&(n=a.parent.valueDeclaration)}}if(!n)return;switch(n.kind){case 229:case 249:case 218:case 250:case 168:case 169:case 163:case 173:case 174:case 304:case 248:case 164:case 205:case 206:case 251:case 326:case 327:case 321:case 320:case 189:case 183:var i=so(n,t);if(189===n.kind)return e.append(i,Co(va(n.typeParameter)));if(183===n.kind)return e.concatenate(i,hu(n));if(229===n.kind&&!e.isInJSFile(n))break;var o=oo(i,e.getEffectiveTypeParameterDeclarations(n)),s=t&&(249===n.kind||218===n.kind||250===n.kind||Oy(n))&&Eo(va(n)).thisType;return s?e.append(o,s):o;case 322:var c=e.getParameterSymbolFromJSDoc(n);c&&(n=c.valueDeclaration)}}}function co(n){var t=32&n.flags?n.valueDeclaration:e.getDeclarationOfKind(n,250);return e.Debug.assert(!!t,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),so(t)}function lo(n){for(var t,r=0,a=n.declarations;r<a.length;r++){var i=a[r];if(250===i.kind||249===i.kind||218===i.kind||Oy(i)||e.isTypeAlias(i)){var o=i;t=oo(t,e.getEffectiveTypeParameterDeclarations(o))}}return t}function uo(e){var n=ec(e,1);if(1===n.length){var t=n[0];return!t.typeParameters&&1===t.parameters.length&&G(t)&&xp(qy(t.parameters[0]))===be}return!1}function po(e){if(ec(e,1).length>0)return!0;if(8650752&e.flags){var n=Ms(e);return!!n&&uo(n)}return!1}function fo(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function mo(n,t,r){var a=e.length(t),i=e.isInJSFile(r);return e.filter(ec(n,1),(function(n){return(i||a>=fc(n.typeParameters))&&a<=e.length(n.typeParameters)}))}function _o(n,t,r){var a=mo(n,t,r),i=e.map(t,Vu);return e.sameMap(a,(function(n){return e.some(n.typeParameters)?xc(n,i,e.isInJSFile(r)):n}))}function go(n){if(!n.resolvedBaseConstructorType){var t=n.symbol.valueDeclaration,r=e.getEffectiveBaseTypeNode(t),a=fo(n);if(!a)return n.resolvedBaseConstructorType=Ae;if(!pi(n,1))return Se;var i=iv(a.expression);if(r&&a!==r&&(e.Debug.assert(!r.typeArguments),iv(r.expression)),2621440&i.flags&&Ls(i),!_i())return or(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Qa(n.symbol)),n.resolvedBaseConstructorType=Se;if(!(1&i.flags||i===Ne||po(i))){var o=or(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,$a(i));if(262144&i.flags){var s=Fc(i),c=xe;if(s){var l=ec(s,1);l[0]&&(c=Ec(l[0]))}e.addRelatedInfo(o,e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Qa(i.symbol),$a(c)))}return n.resolvedBaseConstructorType=Se}n.resolvedBaseConstructorType=i}return n.resolvedBaseConstructorType}function yo(n,t){or(n,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,$a(t,void 0,2))}function ho(n){if(!n.baseTypesResolved){if(pi(n,7)&&(8&n.objectFlags?n.resolvedBaseTypes=[vo(n)]:96&n.symbol.flags?(32&n.symbol.flags&&function(n){n.resolvedBaseTypes=e.resolvingEmptyArray;var t=js(go(n));if(!(2621441&t.flags))return n.resolvedBaseTypes=e.emptyArray;var r,a=fo(n),i=t.symbol?Io(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var n=e.outerTypeParameters;if(n){var t=n.length-1,r=Hc(e);return n[t].symbol!==r[t].symbol}return!0}(i))r=qc(a,t.symbol);else if(1&t.flags)r=t;else{var o=_o(t,a.typeArguments,a);if(!o.length)return or(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=e.emptyArray;r=Ec(o[0])}if(r===Se)return n.resolvedBaseTypes=e.emptyArray;var s=zs(r);if(!bo(s)){var c=Qs(void 0,r),l=e.chainDiagnosticMessages(c,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,$a(s));return zt.add(e.createDiagnosticForNodeFromMessageChain(a.expression,l)),n.resolvedBaseTypes=e.emptyArray}if(n===s||io(s,n))return or(n.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,$a(n,void 0,2)),n.resolvedBaseTypes=e.emptyArray;n.resolvedBaseTypes===e.resolvingEmptyArray&&(n.members=void 0);n.resolvedBaseTypes=[s]}(n),64&n.symbol.flags&&function(n){n.resolvedBaseTypes=n.resolvedBaseTypes||e.emptyArray;for(var t=0,r=n.symbol.declarations;t<r.length;t++){var a=r[t];if(250===a.kind&&e.getInterfaceBaseTypeNodes(a))for(var i=0,o=e.getInterfaceBaseTypeNodes(a);i<o.length;i++){var s=o[i],c=zs(Vu(s));c!==Se&&(bo(c)?n===c||io(c,n)?yo(a,n):n.resolvedBaseTypes===e.emptyArray?n.resolvedBaseTypes=[c]:n.resolvedBaseTypes.push(c):or(s,e.Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}(n)):e.Debug.fail("type must be class or interface"),!_i()))for(var t=0,r=n.symbol.declarations;t<r.length;t++){var a=r[t];249!==a.kind&&250!==a.kind||yo(a,n)}n.baseTypesResolved=!0}return n.resolvedBaseTypes}function vo(n){return vl(wl(e.sameMap(n.typeParameters,(function(e,t){return 8&n.elementFlags[t]?lu(e,ke):e}))||e.emptyArray),n.readonly)}function bo(n){if(262144&n.flags){var t=Ms(n);if(t)return bo(t)}return!!(67633153&n.flags&&!Ss(n)||2097152&n.flags&&e.every(n.types,bo))}function Eo(n){var t,r,a,i,o=vr(n),s=o;if(!o.declaredType){var c=32&n.flags?1:2,l=Py(n,(t=n.valueDeclaration,r=t&&t.parent&&(e.isFunctionDeclaration(t)&&va(t)||e.isBinaryExpression(t.parent)&&va(t.parent.left)||e.isVariableDeclaration(t.parent)&&va(t.parent)),a=r&&r.exports&&r.exports.get("prototype"),(i=a&&a.valueDeclaration&&function(n){if(!n.parent)return!1;for(var t=n.parent;t&&198===t.kind;)t=t.parent;if(t&&e.isBinaryExpression(t)&&e.isPrototypeAccess(t.left)&&62===t.operatorToken.kind){var r=e.getInitializerOfBinaryExpression(t);return e.isObjectLiteralExpression(r)&&r}}(a.valueDeclaration))?va(i):void 0));l&&(n=o=l);var u=s.declaredType=o.declaredType=Ra(c,n),d=co(n),p=lo(n);(d||p||1===c||!function(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];if(250===a.kind){if(128&a.flags)return!1;var i=e.getInterfaceBaseTypeNodes(a);if(i)for(var o=0,s=i;o<s.length;o++){var c=s[o];if(e.isEntityNameExpression(c.expression)){var l=ra(c.expression,788968,!0);if(!l||!(64&l.flags)||Eo(l).thisType)return!1}}}}return!0}(n))&&(u.objectFlags|=4,u.typeParameters=e.concatenate(d,p),u.outerTypeParameters=d,u.localTypeParameters=p,u.instantiations=new e.Map,u.instantiations.set(Bc(u.typeParameters),u),u.target=u,u.resolvedTypeArguments=u.typeParameters,u.thisType=ka(n),u.thisType.isThisType=!0,u.thisType.constraint=u)}return o.declaredType}function To(n){var t=vr(n);if(!t.declaredType){if(!pi(n,2))return Se;var r=e.Debug.checkDefined(e.find(n.declarations,e.isTypeAlias),"Type alias symbol with no valid declaration found"),a=e.isJSDocTypeAlias(r)?r.typeExpression:r.type,i=a?Vu(a):Se;if(_i()){var o=lo(n);o&&(t.typeParameters=o,t.instantiations=new e.Map,t.instantiations.set(Bc(o),i))}else i=Se,or(e.isNamedDeclaration(r)?r.name:r||r,e.Diagnostics.Type_alias_0_circularly_references_itself,Qa(n));t.declaredType=i}return t.declaredType}function So(n){var t=n.initializer;if(!t)return!(8388608&n.flags);switch(t.kind){case 10:case 8:case 14:return!0;case 211:return 40===t.operator&&8===t.operand.kind;case 78:return e.nodeIsMissing(t)||!!va(n.parent).exports.get(t.escapedText);case 213:return function n(t){return!!e.isStringLiteralLike(t)||213===t.kind&&(n(t.left)&&n(t.right))}(t);default:return!1}}function Lo(n){var t=vr(n);if(void 0!==t.enumKind)return t.enumKind;for(var r=!1,a=0,i=n.declarations;a<i.length;a++){var o=i[a];if(252===o.kind)for(var s=0,c=o.members;s<c.length;s++){var l=c[s];if(l.initializer&&e.isStringLiteralLike(l.initializer))return t.enumKind=1;So(l)||(r=!0)}}return t.enumKind=r?0:1}function xo(e){return 1024&e.flags&&!(1048576&e.flags)?Io(ba(e.symbol)):e}function Ao(e){var n=vr(e);if(n.declaredType)return n.declaredType;if(1===Lo(e)){b++;for(var t=[],r=0,a=e.declarations;r<a.length;r++){var i=a[r];if(252===i.kind)for(var o=0,s=i.members;o<s.length;o++){var c=s[o],l=sT(c),u=Ou(wu(void 0!==l?l:0,b,va(c)));vr(va(c)).declaredType=u,t.push(Pu(u))}}if(t.length){var d=wl(t,1,e,void 0);return 1048576&d.flags&&(d.flags|=1024,d.symbol=e),n.declaredType=d}}var p=Ca(32);return p.symbol=e,n.declaredType=p}function Do(e){var n=vr(e);if(!n.declaredType){var t=Ao(ba(e));n.declaredType||(n.declaredType=t)}return n.declaredType}function Co(e){var n=vr(e);return n.declaredType||(n.declaredType=ka(e))}function Io(e){return No(e)||Se}function No(e){return 96&e.flags?Eo(e):524288&e.flags?To(e):262144&e.flags?Co(e):384&e.flags?Ao(e):8&e.flags?Do(e):2097152&e.flags?function(e){var n=vr(e);return n.declaredType||(n.declaredType=Io(Xr(e)))}(e):void 0}function Ro(e){switch(e.kind){case 128:case 151:case 146:case 143:case 154:case 131:case 147:case 144:case 113:case 149:case 140:case 190:return!0;case 177:return Ro(e.elementType);case 172:return!e.typeArguments||e.typeArguments.every(Ro)}return!1}function ko(n){var t=e.getEffectiveConstraintOfTypeParameter(n);return!t||Ro(t)}function Oo(n){var t=e.getEffectiveTypeAnnotationNode(n);return t?Ro(t):!e.hasInitializer(n)}function Po(n){if(n.declarations&&1===n.declarations.length){var t=n.declarations[0];if(t)switch(t.kind){case 162:case 161:return Oo(t);case 164:case 163:case 165:case 166:case 167:return r=t,a=e.getEffectiveReturnTypeNode(r),i=e.getEffectiveTypeParameterDeclarations(r),(165===r.kind||!!a&&Ro(a))&&r.parameters.every(Oo)&&i.every(ko)}}var r,a,i;return!1}function Mo(n,t,r){for(var a=e.createSymbolTable(),i=0,o=n;i<o.length;i++){var s=o[i];a.set(s.escapedName,r&&Po(s)?s:ad(s,t))}return a}function wo(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];e.has(a.escapedName)||Fo(a)||e.set(a.escapedName,a)}}function Fo(n){return!!n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration)&&e.hasSyntacticModifier(n.valueDeclaration,32)}function Go(n){if(!n.declaredProperties){var t=n.symbol,r=zo(t);n.declaredProperties=Pa(r),n.declaredCallSignatures=e.emptyArray,n.declaredConstructSignatures=e.emptyArray,n.declaredCallSignatures=hc(r.get("__call")),n.declaredConstructSignatures=hc(r.get("__new")),n.declaredStringIndexInfo=Mc(t,0),n.declaredNumberIndexInfo=Mc(t,1)}return n}function Bo(e){return!!(8576&e.flags)}function Uo(n){if(!e.isComputedPropertyName(n)&&!e.isElementAccessExpression(n))return!1;var t=e.isComputedPropertyName(n)?n.expression:n.argumentExpression;return e.isEntityNameExpression(t)&&Bo(e.isComputedPropertyName(n)?V_(n):Vh(t))}function Vo(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function jo(n){var t=e.getNameOfDeclaration(n);return!!t&&Uo(t)}function Ko(n){return e.hasDynamicName(n)&&!jo(n)}function Ho(n){return 8192&n.flags?n.escapedName:384&n.flags?e.escapeLeadingUnderscores(""+n.value):e.Debug.fail()}function Wo(n,t,r,a){e.Debug.assert(!!a.symbol,"The member is expected to have a symbol.");var i=br(a);if(!i.resolvedSymbol){i.resolvedSymbol=a.symbol;var o=e.isBinaryExpression(a)?a.left:a.name,s=e.isElementAccessExpression(o)?Vh(o.argumentExpression):V_(o);if(Bo(s)){var c=Ho(s),l=a.symbol.flags,u=r.get(c);u||r.set(c,u=ur(0,c,4096));var d=t&&t.get(c);if(u.flags&dr(l)||d){var p=d?e.concatenate(d.declarations,u.declarations):u.declarations,f=!(8192&s.flags)&&e.unescapeLeadingUnderscores(c)||e.declarationNameToString(o);e.forEach(p,(function(n){return or(e.getNameOfDeclaration(n)||n,e.Diagnostics.Property_0_was_also_declared_here,f)})),or(o||a,e.Diagnostics.Duplicate_property_0,f),u=ur(0,c,4096)}return u.nameType=s,function(n,t,r){e.Debug.assert(!!(4096&e.getCheckFlags(n)),"Expected a late-bound symbol."),n.flags|=r,vr(t.symbol).lateSymbol=n,n.declarations?n.declarations.push(t):n.declarations=[t],111551&r&&(n.valueDeclaration&&n.valueDeclaration.kind===t.kind||(n.valueDeclaration=t))}(u,a,l),u.parent?e.Debug.assert(u.parent===n,"Existing symbol parent should match new one"):u.parent=n,i.resolvedSymbol=u}}return i.resolvedSymbol}function qo(n,t){var r=vr(n);if(!r[t]){var a="resolvedExports"===t,i=a?1536&n.flags?ya(n):n.exports:n.members;r[t]=i||U;for(var o=e.createSymbolTable(),s=0,c=n.declarations;s<c.length;s++){var l=c[s],u=e.getMembersOfDeclaration(l);if(u)for(var d=0,p=u;d<p.length;d++){var f=p[d];a===e.hasStaticModifier(f)&&jo(f)&&Wo(n,i,o,f)}}var m=n.assignmentDeclarationMembers;if(m)for(var _=0,g=e.arrayFrom(m.values());_<g.length;_++){f=g[_];var y=e.getAssignmentDeclarationKind(f);a===!(3===y||4===y||9===y||6===y)&&jo(f)&&Wo(n,i,o,f)}r[t]=function(n,t){if(!(null==n?void 0:n.size))return t;if(!(null==t?void 0:t.size))return n;var r=e.createSymbolTable();return yr(r,n),yr(r,t),r}(i,o)||U}return r[t]}function zo(e){return 6256&e.flags?qo(e,"resolvedMembers"):e.members||U}function Jo(n){if(106500&n.flags&&"__computed"===n.escapedName){var t=vr(n);if(!t.lateSymbol&&e.some(n.declarations,jo)){var r=ha(n.parent);e.some(n.declarations,e.hasStaticModifier)?ma(r):zo(r)}return t.lateSymbol||(t.lateSymbol=n)}return n}function Xo(n,t,r){if(4&e.getObjectFlags(n)){var a=n.target,i=Hc(n);if(e.length(a.typeParameters)===e.length(i)){var o=Vc(a,e.concatenate(i,[t||a.thisType]));return r?js(o):o}}else if(2097152&n.flags)return Kl(e.map(n.types,(function(e){return Xo(e,t,r)})));return r?js(n):n}function Yo(n,t,r,a){var i,o,s,c,l,u;e.rangeEquals(r,a,0,r.length)?(o=t.symbol?zo(t.symbol):e.createSymbolTable(t.declaredProperties),s=t.declaredCallSignatures,c=t.declaredConstructSignatures,l=t.declaredStringIndexInfo,u=t.declaredNumberIndexInfo):(i=qu(r,a),o=Mo(t.declaredProperties,i,1===r.length),s=Wu(t.declaredCallSignatures,i),c=Wu(t.declaredConstructSignatures,i),l=gd(t.declaredStringIndexInfo,i),u=gd(t.declaredNumberIndexInfo,i));var d=ho(t);if(d.length){t.symbol&&o===zo(t.symbol)&&(o=e.createSymbolTable(t.declaredProperties)),Ma(n,o,s,c,l,u);for(var p=e.lastOrUndefined(a),f=0,m=d;f<m.length;f++){var _=m[f],g=p?Xo(pd(_,i),p):_;wo(o,Cs(g)),s=e.concatenate(s,ec(g,0)),c=e.concatenate(c,ec(g,1)),l||(l=g===be?Pc(be,!1):rc(g,0)),u=u||rc(g,1)}}Ma(n,o,s,c,l,u)}function Qo(e,n,t,r,a,i,o,s){var c=new y(ce,s);return c.declaration=e,c.typeParameters=n,c.parameters=r,c.thisParameter=t,c.resolvedReturnType=a,c.resolvedTypePredicate=i,c.minArgumentCount=o,c.target=void 0,c.mapper=void 0,c.unionSignatures=void 0,c}function Zo(e){var n=Qo(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,19&e.flags);return n.target=e.target,n.mapper=e.mapper,n.unionSignatures=e.unionSignatures,n}function $o(e,n){var t=Zo(e);return t.unionSignatures=n,t.target=void 0,t.mapper=void 0,t}function es(n,t){if((12&n.flags)===t)return n;n.optionalCallSignatureCache||(n.optionalCallSignatureCache={});var r=4===t?"inner":"outer";return n.optionalCallSignatureCache[r]||(n.optionalCallSignatureCache[r]=function(n,t){e.Debug.assert(4===t||8===t,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");var r=Zo(n);return r.flags|=t,r}(n,t))}function ns(n,t){if(G(n)){var r=n.parameters.length-1,a=to(n.parameters[r]);if(Gp(a))return[i(a,r)];if(!t&&1048576&a.flags&&e.every(a.types,Gp))return e.map(a.types,(function(e){return i(e,r)}))}return[n.parameters];function i(t,r){var a=Hc(t),i=t.target.labeledElementDeclarations,o=e.map(a,(function(e,a){var o=!!i&&zy(i[a])||Jy(n,r+a,t),s=t.target.elementFlags[a],c=ur(1,o,12&s?32768:2&s?16384:0);return c.type=4&s?vl(e):e,c}));return e.concatenate(n.parameters.slice(0,r),o)}}function ts(e,n,t,r,a){for(var i=0,o=e;i<o.length;i++){var s=o[i];if(bp(s,n,t,r,a,t?xd:Sd))return s}}function rs(n,t,r){if(t.typeParameters){if(r>0)return;for(var a=1;a<n.length;a++)if(!ts(n[a],t,!1,!1,!1))return;return[t]}var i;for(a=0;a<n.length;a++){var o=a===r?t:ts(n[a],t,!0,!1,!0);if(!o)return;i=e.appendIfUnique(i,o)}return i}function as(n){for(var t,r,a=0;a<n.length;a++){if(0===n[a].length)return e.emptyArray;n[a].length>1&&(r=void 0===r?a:-1);for(var i=0,o=n[a];i<o.length;i++){var s=o[i];if(!t||!ts(t,s,!1,!1,!0)){var c=rs(n,s,a);if(c){var l=s;if(c.length>1){var u=s.thisParameter,d=e.forEach(c,(function(e){return e.thisParameter}));if(d)u=af(d,Kl(e.mapDefined(c,(function(e){return e.thisParameter&&to(e.thisParameter)}))));(l=$o(s,c)).thisParameter=u}(t||(t=[])).push(l)}}}}if(!e.length(t)&&-1!==r){for(var p=n[void 0!==r?r:0],f=p.slice(),m=function(n){if(n!==p){var t=n[0];if(e.Debug.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(f=t.typeParameters&&e.some(f,(function(e){return!!e.typeParameters}))?void 0:e.map(f,(function(n){return function(n,t){var r=n.declaration,a=function(e,n){for(var t=eh(e),r=eh(n),a=t>=r?e:n,i=a===e?n:e,o=a===e?t:r,s=th(e)||th(n),c=s&&!th(a),l=new Array(o+(c?1:0)),u=0;u<o;u++){var d=Zy(a,u),p=Zy(i,u)||xe,f=Kl([d,p]),m=s&&!c&&u===o-1,_=u>=nh(a)&&u>=nh(i),g=u>=t?void 0:Jy(e,u),y=u>=r?void 0:Jy(n,u),h=ur(1|(_&&!m?16777216:0),(g===y?g:g?y?void 0:g:y)||"arg"+u);h.type=m?vl(f):f,l[u]=h}if(c){var v=ur(1,"args");v.type=vl(Qy(i,o)),l[o]=v}return l}(n,t),i=function(e,n){if(!e||!n)return e||n;var t=Kl([to(e),to(n)]);return af(e,t)}(n.thisParameter,t.thisParameter),o=Math.max(n.minArgumentCount,t.minArgumentCount),s=Qo(r,n.typeParameters||t.typeParameters,i,a,void 0,void 0,o,19&(n.flags|t.flags));return s.unionSignatures=e.concatenate(n.unionSignatures||[n],[t]),s}(n,t)}))))return"break"}},_=0,g=n;_<g.length;_++){if("break"===m(g[_]))break}t=f}return t||e.emptyArray}function is(e,n){for(var t=[],r=!1,a=0,i=e;a<i.length;a++){var o=rc(js(i[a]),n);if(!o)return;t.push(o.type),r=r||o.isReadonly}return Pc(wl(t,2),r)}function os(e,n){return e?n?Kl([e,n]):e:n}function ss(e,n){return e?n?Pc(Kl([e.type,n.type]),e.isReadonly&&n.isReadonly):e:n}function cs(e,n){return e&&n&&Pc(wl([e.type,n.type]),e.isReadonly||n.isReadonly)}function ls(n){var t=e.countWhere(n,(function(e){return ec(e,1).length>0})),r=e.map(n,uo);if(t>0&&t===e.countWhere(r,(function(e){return e}))){var a=r.indexOf(!0);r[a]=!1}return r}function us(n){for(var t,r,a,i,o=n.types,s=ls(o),c=e.countWhere(s,(function(e){return e})),l=function(l){var u=n.types[l];if(!s[l]){var d=ec(u,1);d.length&&c>0&&(d=e.map(d,(function(e){var n=Zo(e);return n.resolvedReturnType=function(e,n,t,r){for(var a=[],i=0;i<n.length;i++)i===r?a.push(e):t[i]&&a.push(Ec(ec(n[i],1)[0]));return Kl(a)}(Ec(e),o,s,l),n}))),r=ds(r,d)}t=ds(t,ec(u,0)),a=ss(a,rc(u,0)),i=ss(i,rc(u,1))},u=0;u<o.length;u++)l(u);Ma(n,U,t||e.emptyArray,r||e.emptyArray,a,i)}function ds(n,t){for(var r=function(t){n&&!e.every(n,(function(e){return!bp(e,t,!1,!1,!1,Sd)}))||(n=e.append(n,t))},a=0,i=t;a<i.length;a++){r(i[a])}return n}function ps(n){var t=ha(n.symbol);if(n.target)Ma(n,U,e.emptyArray,e.emptyArray,void 0,void 0),Ma(n,i=Mo(xs(n.target),n.mapper,!1),r=Wu(ec(n.target,0),n.mapper),a=Wu(ec(n.target,1),n.mapper),o=gd(rc(n.target,0),n.mapper),l=gd(rc(n.target,1),n.mapper));else if(2048&t.flags){Ma(n,U,e.emptyArray,e.emptyArray,void 0,void 0);var r=hc((i=zo(t)).get("__call")),a=hc(i.get("__new"));Ma(n,i,r,a,o=Mc(t,0),l=Mc(t,1))}else{var i=U,o=void 0;if(t.exports&&(i=ma(t),t===ae)){var s=new e.Map;i.forEach((function(e){418&e.flags||s.set(e.escapedName,e)})),i=s}if(Ma(n,i,e.emptyArray,e.emptyArray,void 0,void 0),32&t.flags){var c=go(Eo(t));11272192&c.flags?wo(i=e.createSymbolTable(Pa(i)),Cs(c)):c===be&&(o=Pc(be,!1))}var l=384&t.flags&&(32&Io(t).flags||e.some(n.properties,(function(e){return!!(296&to(e).flags)})))?lt:void 0;if(Ma(n,i,e.emptyArray,e.emptyArray,o,l),8208&t.flags&&(n.callSignatures=hc(t)),32&t.flags){var u=Eo(t);a=t.members?hc(t.members.get("__constructor")):e.emptyArray;16&t.flags&&(a=e.addRange(a.slice(),e.mapDefined(n.callSignatures,(function(e){return Oy(e.declaration)?Qo(e.declaration,e.typeParameters,e.thisParameter,e.parameters,u,void 0,e.minArgumentCount,19&e.flags):void 0})))),a.length||(a=function(n){var t=ec(go(n),1);if(0===t.length)return[Qo(void 0,n.localTypeParameters,void 0,e.emptyArray,n,void 0,0,0)];for(var r=fo(n),a=e.isInJSFile(r),i=il(r),o=e.length(i),s=[],c=0,l=t;c<l.length;c++){var u=l[c],d=fc(u.typeParameters),p=e.length(u.typeParameters);if(a||o>=d&&o<=p){var f=p?Dc(u,mc(i,u.typeParameters,d,a)):Zo(u);f.typeParameters=n.localTypeParameters,f.resolvedReturnType=n,s.push(f)}}return s}(u)),n.constructSignatures=a}}}function fs(n){if(131069&n.flags)return n;if(4194304&n.flags){var t=js(n.type);return Bp(t)?Il(t):Xl(t)}if(16777216&n.flags){if(n.root.isDistributive){var r=n.checkType,a=fs(r);if(a!==r)return dd(n,ed(n.root.checkType,a,n.mapper))}return n}return 1048576&n.flags?wl(e.sameMap(n.types,fs)):2097152&n.flags?Kl(e.sameMap(n.types,fs)):Ve}function ms(e){return e.typeParameter||(e.typeParameter=Co(va(e.declaration.typeParameter)))}function _s(e){return e.constraintType||(e.constraintType=Ns(ms(e))||Se)}function gs(e){return e.templateType||(e.templateType=e.declaration.type?pd(Di(Vu(e.declaration.type),!!(4&bs(e))),e.mapper):Se)}function ys(n){return e.getEffectiveConstraintOfTypeParameter(n.declaration.typeParameter)}function hs(e){var n=ys(e);return 187===n.kind&&137===n.operator}function vs(e){if(!e.modifiersType)if(hs(e))e.modifiersType=pd(Vu(ys(e).type),e.mapper);else{var n=_s(fu(e.declaration)),t=n&&262144&n.flags?Ns(n):n;e.modifiersType=t&&4194304&t.flags?pd(t.type,e.mapper):xe}return e.modifiersType}function bs(e){var n=e.declaration;return(n.readonlyToken?40===n.readonlyToken.kind?2:1:0)|(n.questionToken?40===n.questionToken.kind?8:4:0)}function Es(e){var n=bs(e);return 8&n?-1:4&n?1:0}function Ts(e){var n=Es(e),t=vs(e);return n||(Ss(t)?Es(t):0)}function Ss(n){return!!(32&e.getObjectFlags(n))&&ru(_s(n))}function Ls(n){return n.members||(524288&n.flags?4&n.objectFlags?function(n){var t=Go(n.target),r=e.concatenate(t.typeParameters,[t.thisType]),a=Hc(n);Yo(n,t,r,a.length===r.length?a:e.concatenate(a,[n]))}(n):3&n.objectFlags?function(n){Yo(n,Go(n),e.emptyArray,e.emptyArray)}(n):2048&n.objectFlags?function(n){for(var t=rc(n.source,0),r=bs(n.mappedType),a=!(1&r),i=4&r?0:16777216,o=t&&Pc(Cf(t.type,n.mappedType,n.constraintType),a&&t.isReadonly),s=e.createSymbolTable(),c=0,l=Cs(n.source);c<l.length;c++){var u=l[c],d=8192|(a&&Sh(u)?8:0),p=ur(4|u.flags&i,u.escapedName,d);p.declarations=u.declarations,p.nameType=vr(u).nameType,p.propertyType=to(u),p.mappedType=n.mappedType,p.constraintType=n.constraintType,s.set(u.escapedName,p)}Ma(n,s,e.emptyArray,e.emptyArray,o,void 0)}(n):16&n.objectFlags?ps(n):32&n.objectFlags&&function(n){var t,r,a=e.createSymbolTable();Ma(n,U,e.emptyArray,e.emptyArray,void 0,void 0);var i=ms(n),o=_s(n),s=gs(n.target||n),c=js(vs(n)),l=bs(n),u=Z?128:8576;if(hs(n)){for(var d=0,p=Cs(c);d<p.length;d++){f(ql(p[d],u))}(1&c.flags||rc(c,0))&&f(Re),!Z&&rc(c,1)&&f(ke)}else vm(fs(o),f);function f(e){var o=nd(n.mapper,i,e);if(Bo(e)){var u=Ho(e),d=a.get(u);if(d)d.nameType=wl([d.nameType,e]),d.mapper=nd(n.mapper,i,d.nameType);else{var p=Zs(c,u),f=!!(4&l||!(8&l)&&p&&16777216&p.flags),m=ur(4|(f?16777216:0),u,262144|(!!(1&l||!(2&l)&&p&&Sh(p))?8:0)|(q&&!f&&p&&16777216&p.flags?524288:0));m.mappedType=n,p&&(m.syntheticOrigin=p,m.declarations=p.declarations),m.nameType=e,m.mapper=o,a.set(u,m)}}else if(45&e.flags){var _=pd(s,o);5&e.flags?t=Pc(_,!!(1&l)):r=Pc(r?wl([r.type,_]):_,!!(1&l))}}Ma(n,a,e.emptyArray,e.emptyArray,t,r)}(n):1048576&n.flags?function(n){var t=as(e.map(n.types,(function(e){return e===_n?[ot]:ec(e,0)}))),r=as(e.map(n.types,(function(e){return ec(e,1)}))),a=is(n.types,0),i=is(n.types,1);Ma(n,U,t,r,a,i)}(n):2097152&n.flags&&us(n)),n}function xs(n){return 524288&n.flags?Ls(n).properties:e.emptyArray}function As(e,n){if(524288&e.flags){var t=Ls(e).members.get(n);if(t&&Aa(t))return t}}function Ds(n){if(!n.resolvedProperties){for(var t=e.createSymbolTable(),r=0,a=n.types;r<a.length;r++){for(var i=a[r],o=0,s=Cs(i);o<s.length;o++){var c=s[o];if(!t.has(c.escapedName)){var l=qs(n,c.escapedName);l&&t.set(c.escapedName,l)}}if(1048576&n.flags&&!rc(i,0)&&!rc(i,1))break}n.resolvedProperties=Pa(t)}return n.resolvedProperties}function Cs(e){return 3145728&(e=Ks(e)).flags?Ds(e):xs(e)}function Is(e){return 262144&e.flags?Ns(e):8388608&e.flags?function(e){return Fs(e)?function(e){var n=Rs(e.indexType);if(n&&n!==e.indexType){var t=du(e.objectType,n);if(t)return t}var r=Rs(e.objectType);if(r&&r!==e.objectType)return du(r,e.indexType);return}(e):void 0}(e):16777216&e.flags?function(e){return Fs(e)?Ps(e):void 0}(e):Ms(e)}function Ns(e){return Fs(e)?Fc(e):void 0}function Rs(e){var n=iu(e,!1);return n!==e?n:Is(e)}function ks(e){if(!e.resolvedDefaultConstraint){var n=function(e){return e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?pd(e.root.trueType,e.combinedMapper):gu(e))}(e),t=yu(e);e.resolvedDefaultConstraint=hi(n)?t:hi(t)?n:wl([n,t])}return e.resolvedDefaultConstraint}function Os(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var n=iu(e.checkType,!1),t=n===e.checkType?Is(n):n;if(t&&t!==e.checkType){var r=dd(e,ed(e.root.checkType,t,e.mapper));if(!(131072&r.flags))return r}}}function Ps(e){return Os(e)||ks(e)}function Ms(e){if(62128128&e.flags){var n=Gs(e);return n!==an&&n!==on?n:void 0}return 4194304&e.flags?Je:void 0}function ws(e){return Ms(e)||e}function Fs(e){return Gs(e)!==on}function Gs(n){var t=!1;return n.resolvedBaseConstraint||(n.resolvedBaseConstraint=Xo(r(n),n));function r(n){if(!n.immediateBaseConstraint){if(!pi(n,4))return on;if(A>=50)return or(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),t=!0,n.immediateBaseConstraint=an;A++;var r=function(e){if(262144&e.flags){var n=Fc(e);return e.isThisType||!n?n:a(n)}if(3145728&e.flags){for(var t=e.types,r=[],i=0,o=t;i<o.length;i++){var s=a(o[i]);s&&r.push(s)}return 1048576&e.flags&&r.length===t.length?wl(r):2097152&e.flags&&r.length?Kl(r):void 0}if(4194304&e.flags)return Je;if(8388608&e.flags){var c=a(e.objectType),l=a(e.indexType),u=c&&l&&du(c,l);return u&&a(u)}if(16777216&e.flags){n=Ps(e);A++;var d=n&&a(n);return A--,d}if(33554432&e.flags)return a(e.substitute);return e}(iu(n,!1));if(A--,!_i()){if(262144&n.flags){var i=wc(n);if(i){var o=or(i,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,$a(n));!d||e.isNodeDescendantOf(i,d)||e.isNodeDescendantOf(d,i)||e.addRelatedInfo(o,e.createDiagnosticForNode(d,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}r=on}t&&(r=on),n.immediateBaseConstraint=r||an}return n.immediateBaseConstraint}function a(e){var n=r(e);return n!==an&&n!==on?n:void 0}}function Bs(n){if(n.default)n.default===sn&&(n.default=on);else if(n.target){var t=Bs(n.target);n.default=t?pd(t,n.mapper):an}else{n.default=sn;var r=n.symbol&&e.forEach(n.symbol.declarations,(function(n){return e.isTypeParameterDeclaration(n)&&n.default})),a=r?Vu(r):an;n.default===sn&&(n.default=a)}return n.default}function Us(e){var n=Bs(e);return n!==an&&n!==on?n:void 0}function Vs(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){var n=od(e);if(n){var t=Ns(n);if(t&&(Tp(t)||Gp(t)))return pd(e,ed(n,t,e.mapper))}return e}(e))}function js(n){var t,r=63176704&n.flags?Ms(n)||xe:n;return 32&e.getObjectFlags(r)?Vs(r):2097152&r.flags?function(e){return e.resolvedApparentType||(e.resolvedApparentType=Xo(e,e,!0))}(r):132&r.flags?bn:296&r.flags?En:2112&r.flags?(t=K>=7,Yn||(Yn=ul("BigInt",0,t))||Ze):528&r.flags?Tn:12288&r.flags?pl(K>=2):67108864&r.flags?Ze:4194304&r.flags?Je:2&r.flags&&!q?Ze:r}function Ks(e){return zs(js(zs(e)))}function Hs(n,t){for(var r,a,i,o=1048576&n.flags,s=o?0:16777216,c=4,l=0,u=0,d=n.types;u<d.length;u++){if(!((L=js(d[u]))===Se||131072&L.flags)){var p=(S=Zs(L,t))?e.getDeclarationModifierFlagsFromSymbol(S):0;if(S){if(o?s|=16777216&S.flags:s&=S.flags,r){if(S!==r){a||(a=new e.Map).set(k(r),r);var f=k(S);a.has(f)||a.set(f,S)}}else r=S;l|=(Sh(S)?8:0)|(24&p?0:256)|(16&p?512:0)|(8&p?1024:0)|(32&p?2048:0),fg(S)||(c=2)}else if(o){var m=!Vo(t)&&(U_(t)&&rc(L,1)||rc(L,0));m?(l|=32|(m.isReadonly?8:0),i=e.append(i,Gp(L)?Vp(L)||Ae:m.type)):Ff(L)?(l|=32,i=e.append(i,Ae)):l|=16}}}if(r&&!(o&&(a||48&l)&&1536&l)){if(!(a||16&l||i))return r;for(var _,g,y,h,v=[],b=!1,E=0,T=a?e.arrayFrom(a.values()):[r];E<T.length;E++){var S=T[E];h?S.valueDeclaration&&S.valueDeclaration!==h&&(b=!0):h=S.valueDeclaration,_=e.addRange(_,S.declarations);var L=to(S);g?L!==g&&(l|=64):(g=L,y=vr(S).nameType),kp(L)&&(l|=128),131072&L.flags&&(l|=131072),v.push(L)}e.addRange(v,i);var x=ur(4|s,t,c|l);return x.containingType=n,!b&&h&&(x.valueDeclaration=h,h.symbol.parent&&(x.parent=h.symbol.parent)),x.declarations=_,x.nameType=y,v.length>2?(x.checkFlags|=65536,x.deferralParent=n,x.deferralConstituents=v):x.type=o?wl(v):Kl(v),x}}function Ws(n,t){var r=n.propertyCache||(n.propertyCache=e.createSymbolTable()),a=r.get(t);return a||(a=Hs(n,t))&&r.set(t,a),a}function qs(n,t){var r=Ws(n,t);return!r||16&e.getCheckFlags(r)?void 0:r}function zs(n){return 1048576&n.flags&&268435456&n.objectFlags?n.resolvedReducedType||(n.resolvedReducedType=function(n){var t=e.sameMap(n.types,zs);if(t===n.types)return n;var r=wl(t);1048576&r.flags&&(r.resolvedReducedType=r);return r}(n)):2097152&n.flags?(268435456&n.objectFlags||(n.objectFlags|=268435456|(e.some(Ds(n),Js)?536870912:0)),536870912&n.objectFlags?Ve:n):n}function Js(e){return Xs(e)||Ys(e)}function Xs(n){return!(16777216&n.flags||192!=(131264&e.getCheckFlags(n))||!(131072&to(n).flags))}function Ys(n){return!n.valueDeclaration&&!!(1024&e.getCheckFlags(n))}function Qs(n,t){if(536870912&e.getObjectFlags(t)){var r=e.find(Ds(t),Xs);if(r)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,$a(t,void 0,536870912),Qa(r));var a=e.find(Ds(t),Ys);if(a)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,$a(t,void 0,536870912),Qa(a))}return n}function Zs(e,n){if(524288&(e=Ks(e)).flags){var t=Ls(e),r=t.members.get(n);if(r&&Aa(r))return r;var a=t===rn?_n:t.callSignatures.length?gn:t.constructSignatures.length?yn:void 0;if(a){var i=As(a,n);if(i)return i}return As(mn,n)}if(3145728&e.flags)return qs(e,n)}function $s(n,t){if(3670016&n.flags){var r=Ls(n);return 0===t?r.callSignatures:r.constructSignatures}return e.emptyArray}function ec(e,n){return $s(Ks(e),n)}function nc(e,n){if(3670016&e.flags){var t=Ls(e);return 0===n?t.stringIndexInfo:t.numberIndexInfo}}function tc(e,n){var t=nc(e,n);return t&&t.type}function rc(e,n){return nc(Ks(e),n)}function ac(e,n){return tc(Ks(e),n)}function ic(n,t){if(rf(n)){for(var r=[],a=0,i=Cs(n);a<i.length;a++){var o=i[a];(0===t||U_(o.escapedName))&&r.push(to(o))}if(0===t&&e.append(r,ac(n,1)),r.length)return wl(r)}}function oc(n){for(var t,r=0,a=e.getEffectiveTypeParameterDeclarations(n);r<a.length;r++){var i=a[r];t=e.appendIfUnique(t,Co(i.symbol))}return t}function sc(e){var n=[];return e.forEach((function(e,t){Oa(t)||n.push(e)})),n}function cc(n){return e.isInJSFile(n)&&(n.type&&303===n.type.kind||e.getJSDocParameterTags(n).some((function(e){var n=e.isBracketed,t=e.typeExpression;return n||!!t&&303===t.type.kind})))}function lc(n,t){if(!e.isExternalModuleNameRelative(n)){var r=Tr(te,'"'+n+'"',512);return r&&t?ha(r):r}}function uc(n){if(e.hasQuestionToken(n)||dc(n)||cc(n))return!0;if(n.initializer){var t=_c(n.parent),r=n.parent.parameters.indexOf(n);return e.Debug.assert(r>=0),r>=nh(t,!0)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return!!a&&(!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length)}function dc(n){if(!e.isJSDocPropertyLikeTag(n))return!1;var t=n.isBracketed,r=n.typeExpression;return t||!!r&&303===r.type.kind}function pc(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function fc(n){var t,r=0;if(n)for(var a=0;a<n.length;a++)(t=n[a]).symbol&&e.forEach(t.symbol.declarations,(function(n){return e.isTypeParameterDeclaration(n)&&n.default}))||(r=a+1);return r}function mc(n,t,r,a){var i=e.length(t);if(!i)return[];var o=e.length(n);if(a||o>=r&&o<=i){for(var s=n?n.slice():[],c=o;c<i;c++)s[c]=Se;var l=jf(a);for(c=o;c<i;c++){var u=Us(t[c]);a&&u&&(Td(u,xe)||Td(u,Ze))&&(u=be),s[c]=u?pd(u,qu(t,s)):l}return s.length=t.length,s}return n&&n.slice()}function _c(n){var t,r=br(n);if(!r.resolvedSignature){var a=[],i=0,o=0,s=void 0,c=!1,l=e.getImmediatelyInvokedFunctionExpression(n),u=e.isJSDocConstructSignature(n);!l&&e.isInJSFile(n)&&e.isValueSignatureDeclaration(n)&&!e.hasJSDocParameterTags(n)&&!e.getJSDocType(n)&&(i|=16);for(var d=u?1:0;d<n.parameters.length;d++){var p=n.parameters[d],f=p.symbol,m=e.isJSDocParameterTag(p)?p.typeExpression&&p.typeExpression.type:p.type;if(f&&4&f.flags&&!e.isBindingPattern(p.name))f=xr(p,f.escapedName,111551,void 0,void 0,!1);0===d&&"this"===f.escapedName?(c=!0,s=p.symbol):a.push(f),m&&190===m.kind&&(i|=2),dc(p)||p.initializer||p.questionToken||p.dotDotDotToken||l&&a.length>l.arguments.length&&!m||cc(p)||(o=a.length)}if(!(166!==n.kind&&167!==n.kind||Ko(n)||c&&s)){var _=166===n.kind?167:166,g=e.getDeclarationOfKind(va(n),_);g&&(s=(t=UT(g))&&t.symbol)}var y=165===n.kind?Eo(ha(n.parent.symbol)):void 0,h=y?y.localTypeParameters:oc(n);(e.hasRestParameter(n)||e.isInJSFile(n)&&function(n,t){if(e.isJSDocSignature(n)||!yc(n))return!1;var r=e.lastOrUndefined(n.parameters),a=r?e.getJSDocParameterTags(r):e.getJSDocTags(n).filter(e.isJSDocParameterTag),i=e.firstDefined(a,(function(n){return n.typeExpression&&e.isJSDocVariadicType(n.typeExpression.type)?n.typeExpression.type:void 0})),o=ur(3,"args",32768);o.type=i?vl(Vu(i.type)):xn,i&&t.pop();return t.push(o),!0}(n,a))&&(i|=1),r.resolvedSignature=Qo(n,h,s,a,void 0,void 0,o,i)}return r.resolvedSignature}function gc(n){if(e.isInJSFile(n)&&e.isFunctionLikeDeclaration(n)){var t=e.getJSDocTypeTag(n),r=t&&t.typeExpression&&ey(Vu(t.typeExpression));return r&&Cc(r)}}function yc(n){var t=br(n);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function n(t){if(!t)return!1;switch(t.kind){case 78:return"arguments"===t.escapedText&&e.isExpressionNode(t);case 162:case 164:case 166:case 167:return 157===t.name.kind&&n(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&!!e.forEachChild(t,n)}}(n.body)),t.containsArgumentsReference}function hc(n){if(!n)return e.emptyArray;for(var t=[],r=0;r<n.declarations.length;r++){var a=n.declarations[r];if(e.isFunctionLike(a)){if(r>0&&a.body){var i=n.declarations[r-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)continue}t.push(_c(a))}}return t}function vc(e){if(e.thisParameter)return to(e.thisParameter)}function bc(n){if(!n.resolvedTypePredicate){if(n.target){var t=bc(n.target);n.resolvedTypePredicate=t?(o=t,s=n.mapper,pc(o.kind,o.parameterName,o.parameterIndex,pd(o.type,s))):at}else if(n.unionSignatures)n.resolvedTypePredicate=function(e){for(var n,t=[],r=0,a=e;r<a.length;r++){var i=bc(a[r]);if(i&&2!==i.kind&&3!==i.kind){if(n){if(!Fl(n,i))return}else n=i;t.push(i.type)}}if(!n)return;var o=wl(t);return pc(n.kind,n.parameterName,n.parameterIndex,o)}(n.unionSignatures)||at;else{var r=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration),a=void 0;if(!r&&e.isInJSFile(n.declaration)){var i=gc(n.declaration);i&&n!==i&&(a=bc(i))}n.resolvedTypePredicate=r&&e.isTypePredicateNode(r)?function(n,t){var r=n.parameterName,a=n.type&&Vu(n.type);return 186===r.kind?pc(n.assertsModifier?2:0,void 0,void 0,a):pc(n.assertsModifier?3:1,r.escapedText,e.findIndex(t.parameters,(function(e){return e.escapedName===r.escapedText})),a)}(r,n):a||at}e.Debug.assert(!!n.resolvedTypePredicate)}var o,s;return n.resolvedTypePredicate===at?void 0:n.resolvedTypePredicate}function Ec(n){if(!n.resolvedReturnType){if(!pi(n,3))return Se;var t=n.target?pd(Ec(n.target),n.mapper):n.unionSignatures?wl(e.map(n.unionSignatures,Ec),2):Tc(n.declaration)||(e.nodeIsMissing(n.declaration.body)?be:ph(n.declaration));if(4&n.flags?t=Zp(t):8&n.flags&&(t=Yp(t)),!_i()){if(n.declaration){var r=e.getEffectiveReturnTypeNode(n.declaration);if(r)or(r,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Y){var a=n.declaration,i=e.getNameOfDeclaration(a);i?or(i,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(i)):or(a,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}t=be}n.resolvedReturnType=t}return n.resolvedReturnType}function Tc(n){if(165===n.kind)return Eo(ha(n.parent.symbol));if(e.isJSDocConstructSignature(n))return Vu(n.parameters[0].type);var t,r=e.getEffectiveReturnTypeNode(n);if(r)return Vu(r);if(166===n.kind&&!Ko(n)){var a=e.isInJSFile(n)&&xi(n);if(a)return a;var i=Ji(e.getDeclarationOfKind(va(n),167));if(i)return i}return(t=gc(n))&&Ec(t)}function Sc(e){return!e.resolvedReturnType&&fi(e,3)>=0}function Lc(e){if(G(e)){var n=to(e.parameters[e.parameters.length-1]),t=Gp(n)?Vp(n):n;return t&&ac(t,1)}}function xc(e,n,t,r){var a=Ac(e,mc(n,e.typeParameters,fc(e.typeParameters),t));if(r){var i=ny(Ec(a));if(i){var o=Zo(i);o.typeParameters=r;var s=Zo(a);return s.resolvedReturnType=Rc(o),s}}return a}function Ac(n,t){var r=n.instantiations||(n.instantiations=new e.Map),a=Bc(t),i=r.get(a);return i||r.set(a,i=Dc(n,t)),i}function Dc(e,n){return rd(e,function(e,n){return qu(e.typeParameters,n)}(e,n),!0)}function Cc(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return rd(e,Qu(e.typeParameters),!0)}(e)):e}function Ic(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=function(n){return xc(n,e.map(n.typeParameters,(function(e){return e.target&&!Ns(e.target)?e.target:e})),e.isInJSFile(n.declaration))}(n)):n}function Nc(n){var t=n.typeParameters;if(t){var r=Qu(t);return rd(n,qu(t,e.map(t,(function(e){return pd(Ms(e),r)||xe}))),!0)}return n}function Rc(n){if(!n.isolatedSignatureType){var t=n.declaration?n.declaration.kind:0,r=165===t||169===t||174===t,a=Ra(16);a.members=U,a.properties=e.emptyArray,a.callSignatures=r?e.emptyArray:[n],a.constructSignatures=r?[n]:e.emptyArray,n.isolatedSignatureType=a}return n.isolatedSignatureType}function kc(e){return e.members.get("__index")}function Oc(n,t){var r=1===t?143:146,a=kc(n);if(a)for(var i=0,o=a.declarations;i<o.length;i++){var s=o[i],c=e.cast(s,e.isIndexSignatureDeclaration);if(1===c.parameters.length){var l=c.parameters[0];if(l.type&&l.type.kind===r)return c}}}function Pc(e,n,t){return{type:e,isReadonly:n,declaration:t}}function Mc(n,t){var r=Oc(n,t);if(r)return Pc(r.type?Vu(r.type):be,e.hasEffectiveModifier(r,64),r)}function wc(n){return e.mapDefined(e.filter(n.symbol&&n.symbol.declarations,e.isTypeParameterDeclaration),e.getEffectiveConstraintOfTypeParameter)[0]}function Fc(n){if(!n.constraint)if(n.target){var t=Ns(n.target);n.constraint=t?pd(t,n.mapper):an}else{var r=wc(n);if(r){var a=Vu(r);1&a.flags&&a!==Se&&(a=189===r.parent.parent.kind?Je:xe),n.constraint=a}else n.constraint=function(n){var t;if(n.symbol)for(var r=0,a=n.symbol.declarations;r<a.length;r++){var i=a[r];if(184===i.parent.kind){var o=i.parent.parent;if(172===o.kind){var s=o,c=hv(s);if(c){var l=s.typeArguments.indexOf(i.parent);if(l<c.length){var u=Ns(c[l]);if(u){var d=pd(u,qu(c,gv(s,c)));d!==n&&(t=e.append(t,d))}}}}else(159===o.kind&&o.dotDotDotToken||180===o.kind||191===o.kind&&o.dotDotDotToken)&&(t=e.append(t,vl(xe)))}}return t&&Kl(t)}(n)||an}return n.constraint===an?void 0:n.constraint}function Gc(n){var t=e.getDeclarationOfKind(n.symbol,158),r=e.isJSDocTemplateTag(t.parent)?e.getHostSignatureFromJSDoc(t.parent):t.parent;return r&&va(r)}function Bc(e){var n="";if(e)for(var t=e.length,r=0;r<t;){for(var a=e[r].id,i=1;r+i<t&&e[r+i].id===a+i;)i++;n.length&&(n+=","),n+=a,i>1&&(n+=":"+i),r+=i}return n}function Uc(n,t){for(var r=0,a=0,i=n;a<i.length;a++){var o=i[a];o.flags&t||(r|=e.getObjectFlags(o))}return 3670016&r}function Vc(e,n){var t=Bc(n),r=e.instantiations.get(t);return r||(r=Ra(4,e.symbol),e.instantiations.set(t,r),r.objectFlags|=n?Uc(n,0):0,r.target=e,r.resolvedTypeArguments=n),r}function jc(e){var n=Ca(e.flags);return n.symbol=e.symbol,n.objectFlags=e.objectFlags,n.target=e.target,n.resolvedTypeArguments=e.resolvedTypeArguments,n}function Kc(e,n,t){var r=Tu(n),a=Su(r),i=Ra(4,e.symbol);return i.target=e,i.node=n,i.mapper=t,i.aliasSymbol=r,i.aliasTypeArguments=t?Hu(a,t):a,i}function Hc(n){var t,r;if(!n.resolvedTypeArguments){if(!pi(n,6))return(null===(t=n.target.localTypeParameters)||void 0===t?void 0:t.map((function(){return Se})))||e.emptyArray;var a=n.node,i=a?172===a.kind?e.concatenate(n.target.outerTypeParameters,gv(a,n.target.localTypeParameters)):177===a.kind?[Vu(a.elementType)]:e.map(a.elements,Vu):e.emptyArray;_i()?n.resolvedTypeArguments=n.mapper?Hu(i,n.mapper):i:(n.resolvedTypeArguments=(null===(r=n.target.localTypeParameters)||void 0===r?void 0:r.map((function(){return Se})))||e.emptyArray,or(n.node||d,n.target.symbol?e.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:e.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,n.target.symbol&&Qa(n.target.symbol)))}return n.resolvedTypeArguments}function Wc(n){return e.length(n.target.typeParameters)}function qc(n,t){var r=Io(ha(t)),a=r.localTypeParameters;if(a){var i=e.length(n.typeArguments),o=fc(a),s=e.isInJSFile(n);if(!(!Y&&s)&&(i<o||i>a.length)){var c=s&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent);if(or(n,o===a.length?c?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:c?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,$a(r,void 0,2),o,a.length),!s)return Se}return 172===n.kind&&Sl(n,e.length(n.typeArguments)!==a.length)?Kc(r,n,void 0):Vc(r,e.concatenate(r.outerTypeParameters,mc(il(n),a,o,s)))}return tl(n,t)?r:Se}function zc(n,t){var r=Io(n),a=vr(n),i=a.typeParameters,o=Bc(t),s=a.instantiations.get(o);return s||a.instantiations.set(o,s=pd(r,qu(i,mc(t,i,fc(i),e.isInJSFile(n.valueDeclaration))))),s}function Jc(n){switch(n.kind){case 172:return n.typeName;case 220:var t=n.expression;if(e.isEntityNameExpression(t))return t}}function Xc(e,n,t){return e&&ra(e,n,t)||he}function Yc(n,t){if(t===he)return Se;if(96&(t=function(n){var t=n.valueDeclaration;if(t&&e.isInJSFile(t)&&!(524288&n.flags)&&!e.getExpandoInitializer(t,!1)){var r=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);if(r){var a=va(r);if(a)return Py(a,n)}}}(t)||t).flags)return qc(n,t);if(524288&t.flags)return function(n,t){var r=Io(t),a=vr(t).typeParameters;if(a){var i=e.length(n.typeArguments),o=fc(a);return i<o||i>a.length?(or(n,o===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Qa(t),o,a.length),Se):zc(t,il(n))}return tl(n,t)?r:Se}(n,t);var r=No(t);if(r)return tl(n,t)?Pu(r):Se;if(111551&t.flags&&nl(n)){var a=function(n,t){var r=br(n);if(!r.resolvedJSDocType){var a=to(t),i=a;if(t.valueDeclaration){var o=e.getRootDeclaration(t.valueDeclaration),s=!1;if(e.isVariableDeclaration(o)&&o.initializer){for(var c=o.initializer;e.isPropertyAccessExpression(c);)c=c.expression;s=e.isCallExpression(c)&&e.isRequireCall(c,!0)&&!!a.symbol}var l=192===n.kind&&n.qualifier;a.symbol&&(s||l)&&(i=Yc(n,a.symbol))}r.resolvedJSDocType=i}return r.resolvedJSDocType}(n,t);return a||(Xc(Jc(n),788968),to(t))}return Se}function Qc(e,n){if(3&n.flags||n===e)return e;var t=Nl(e)+">"+Nl(n),r=_e.get(t);if(r)return r;var a=Ca(33554432);return a.baseType=e,a.substitute=n,_e.set(t,a),a}function Zc(e){return 178===e.kind&&1===e.elements.length}function $c(e,n,t){return Zc(n)&&Zc(t)?$c(e,n.elements[0],t.elements[0]):mu(Vu(n))===e?Vu(t):void 0}function el(n,t){for(var r;t&&!e.isStatement(t)&&307!==t.kind;){var a=t.parent;if(183===a.kind&&t===a.trueType){var i=$c(n,a.checkType,a.extendsType);i&&(r=e.append(r,i))}t=a}return r?Qc(n,Kl(e.append(r,n))):n}function nl(e){return!!(4194304&e.flags)&&(172===e.kind||192===e.kind)}function tl(n,t){return!n.typeArguments||(or(n,e.Diagnostics.Type_0_is_not_generic,t?Qa(t):n.typeName?e.declarationNameToString(n.typeName):c),!1)}function rl(n){if(e.isIdentifier(n.typeName)){var t=n.typeArguments;switch(n.typeName.escapedText){case"String":return tl(n),Re;case"Number":return tl(n),ke;case"Boolean":return tl(n),Ge;case"Void":return tl(n),Ue;case"Undefined":return tl(n),Ae;case"Null":return tl(n),Ie;case"Function":case"function":return tl(n),_n;case"array":return t&&t.length||Y?void 0:xn;case"promise":return t&&t.length||Y?void 0:lh(be);case"Object":if(t&&2===t.length){if(e.isJSDocIndexSignature(n)){var r=Vu(t[0]),a=Pc(Vu(t[1]),!1);return wa(void 0,U,e.emptyArray,e.emptyArray,r===Re?a:void 0,r===ke?a:void 0)}return be}return tl(n),Y?void 0:be}}}function al(n){var t=br(n);if(!t.resolvedType){if(e.isConstTypeReference(n)&&e.isAssertionExpression(n.parent))return t.resolvedSymbol=he,t.resolvedType=Vh(n.parent.expression);var r=void 0,a=void 0;nl(n)&&((a=rl(n))||((r=Xc(Jc(n),788968,!0))===he?r=Xc(Jc(n),900095):Xc(Jc(n),788968),a=Yc(n,r))),a||(a=Yc(n,r=Xc(Jc(n),788968))),t.resolvedSymbol=r,t.resolvedType=a}return t.resolvedType}function il(n){return e.map(n.typeArguments,Vu)}function ol(e){var n=br(e);return n.resolvedType||(n.resolvedType=Pu(df(iv(e.exprName)))),n.resolvedType}function sl(n,t){function r(e){for(var n=0,t=e.declarations;n<t.length;n++){var r=t[n];switch(r.kind){case 249:case 250:case 252:return r}}}if(!n)return t?tn:Ze;var a=Io(n);return 524288&a.flags?e.length(a.typeParameters)!==t?(or(r(n),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(n),t),t?tn:Ze):a:(or(r(n),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,e.symbolName(n)),t?tn:Ze)}function cl(n,t){return ll(n,111551,t?e.Diagnostics.Cannot_find_global_value_0:void 0)}function ll(e,n,t){return xr(void 0,e,n,t,e,!1)}function ul(n,t,r){var a=function(n,t){return ll(n,788968,t?e.Diagnostics.Cannot_find_global_type_0:void 0)}(n,r);return a||r?sl(a,t):void 0}function dl(e){return In||(In=cl("Symbol",e))}function pl(e){return Nn||(Nn=ul("Symbol",0,e))||Ze}function fl(e){return kn||(kn=ul("Promise",1,e))||tn}function ml(e){return Pn||(Pn=cl("Promise",e))}function _l(e){return wn||(wn=ul("Iterable",1,e))||tn}function gl(e,n){void 0===n&&(n=0);var t=ll(e,788968,void 0);return t&&sl(t,n)}function yl(e,n){return e!==tn?Vc(e,n):Ze}function hl(e){return yl(Rn||(Rn=ul("TypedPropertyDescriptor",1,!0))||tn,[e])}function vl(e,n){return yl(n?vn:hn,[e])}function bl(e){switch(e.kind){case 179:return 2;case 180:return El(e);case 191:return e.questionToken?2:e.dotDotDotToken?El(e):1;default:return 1}}function El(e){return Uu(e.type)?4:8}function Tl(n){var t=function(n){return e.isTypeOperatorNode(n)&&141===n.operator}(n.parent);return Uu(n)?t?vn:hn:Al(e.map(n.elements,bl),t,e.some(n.elements,(function(e){return 191!==e.kind}))?void 0:n.elements)}function Sl(n,t){return!!Tu(n)||function e(n){var t=n.parent;switch(t.kind){case 185:case 191:case 172:case 181:case 182:case 188:case 183:case 187:case 177:case 178:return e(t);case 251:return!0}return!1}(n)&&(177===n.kind?Ll(n.elementType):178===n.kind?e.some(n.elements,Ll):t||e.some(n.typeArguments,Ll))}function Ll(n){switch(n.kind){case 172:return nl(n)||!!(524288&Xc(n.typeName,788968).flags);case 175:return!0;case 187:return 150!==n.operator&&Ll(n.type);case 185:case 179:case 191:case 303:case 301:case 302:case 298:return Ll(n.type);case 180:return 177!==n.type.kind||Ll(n.type.elementType);case 181:case 182:return e.some(n.types,Ll);case 188:return Ll(n.objectType)||Ll(n.indexType);case 183:return Ll(n.checkType)||Ll(n.extendsType)||Ll(n.trueType)||Ll(n.falseType)}return!1}function xl(n,t,r,a){void 0===r&&(r=!1);var i=Al(t||e.map(n,(function(e){return 1})),r,a);return i===tn?Ze:n.length?Dl(i,n):i}function Al(n,t,r){if(1===n.length&&4&n[0])return t?vn:hn;var a=e.map(n,(function(e){return 1&e?"#":2&e?"?":4&e?".":"*"})).join()+(t?"R":"")+(r&&r.length?","+e.map(r,R).join(","):""),i=ue.get(a);return i||ue.set(a,i=function(n,t,r){var a,i=n.length,o=e.findLastIndex(n,(function(e){return!!(9&e)}))+1,s=[],c=0;if(i){a=new Array(i);for(var l=0;l<i;l++){var u=a[l]=ka(),d=n[l];if(!(12&(c|=d))){var p=ur(4|(2&d?16777216:0),""+l,t?8:0);p.tupleLabelDeclaration=null==r?void 0:r[l],p.type=u,s.push(p)}}}var f=s.length,m=ur(4,"length");if(12&c)m.type=ke;else{var _=[];for(l=o;l<=i;l++)_.push(wu(l));m.type=wl(_)}s.push(m);var g=Ra(12);return g.typeParameters=a,g.outerTypeParameters=void 0,g.localTypeParameters=a,g.instantiations=new e.Map,g.instantiations.set(Bc(g.typeParameters),g),g.target=g,g.resolvedTypeArguments=g.typeParameters,g.thisType=ka(),g.thisType.isThisType=!0,g.thisType.constraint=g,g.declaredProperties=s,g.declaredCallSignatures=e.emptyArray,g.declaredConstructSignatures=e.emptyArray,g.declaredStringIndexInfo=void 0,g.declaredNumberIndexInfo=void 0,g.elementFlags=n,g.minLength=o,g.fixedLength=f,g.hasRestElement=!!(12&c),g.combinedFlags=c,g.readonly=t,g.labeledElementDeclarations=r,g}(n,t,r)),i}function Dl(n,t){return 8&n.objectFlags&&8&n.combinedFlags?function n(t,r){var a,i,o,s=e.findIndex(r,(function(e,n){return!!(8&t.elementFlags[n]&&1179648&e.flags)}));if(s>=0)return Sm(r[s],(function(a){return n(t,e.replaceElement(r,s,a))}));if(e.findIndex(r,(function(e,n){return!(!(8&t.elementFlags[n])||58982400&e.flags||Ss(e))}))<0)return Vc(t,r);for(var c,l=[],u=[],d=[],p=-1,f=function(n){var s=r[n],c=t.elementFlags[n];8&c?58982400&s.flags||Ss(s)?g(s,8,null===(a=t.labeledElementDeclarations)||void 0===a?void 0:a[n]):Gp(s)?e.forEach(Hc(s),(function(e,n){var t;return g(e,s.target.elementFlags[n],null===(t=s.target.labeledElementDeclarations)||void 0===t?void 0:t[n])})):g(Ap(s)&&ac(s,1)||Se,4,null===(i=t.labeledElementDeclarations)||void 0===i?void 0:i[n]):g(s,c,null===(o=t.labeledElementDeclarations)||void 0===o?void 0:o[n])},m=0;m<r.length;m++)f(m);c&&(l[l.length-1]=wl(c));var _=Al(u,t.readonly,d);return _===tn?Ze:u.length?Vc(_,l):_;function g(e,n,t){if(c)c.push(8&n?lu(e,ke):e);else{if(1&n&&p>=0){for(var r=p;r<u.length;r++)2&u[r]&&(u[r]=1);p=-1}else 2&n&&p<0?p=u.length:4&n&&(c=[e]);l.push(e),u.push(n),d&&t?d.push(t):d=void 0}}}(n,t):Vc(n,t)}function Cl(n,t,r){void 0===r&&(r=0);var a=n.target,i=Wc(n)-r;return t>a.fixedLength?function(e){var n=Vp(e);return n&&vl(n)}(n)||xl(e.emptyArray):xl(Hc(n).slice(t,i),a.elementFlags.slice(t,i),!1,a.labeledElementDeclarations&&a.labeledElementDeclarations.slice(t,i))}function Il(n){return wl(e.append(e.arrayOf(n.target.fixedLength,(function(e){return wu(""+e)})),Xl(n.target.readonly?vn:hn)))}function Nl(e){return e.id}function Rl(n,t){return e.binarySearch(n,t,Nl,e.compareValues)>=0}function kl(n,t){var r=e.binarySearch(n,t,Nl,e.compareValues);return r<0&&(n.splice(~r,0,t),!0)}function Ol(n,t,r){var a=r.flags;if(1048576&a)return Pl(n,t,r.types);if(!(131072&a))if(t|=71041023&a,66846720&a&&(t|=262144),r===Te&&(t|=8388608),!q&&98304&a)524288&e.getObjectFlags(r)||(t|=4194304);else{var i=n.length,o=i&&r.id>n[i-1].id?~i:e.binarySearch(n,r,Nl,e.compareValues);o<0&&n.splice(~o,0,r)}return t}function Pl(e,n,t){for(var r=0,a=t;r<a.length;r++){n=Ol(e,n,a[r])}return n}function Ml(n,t){var r=n.length;if(0===r||function(e){var n=e[0];if(1024&n.flags){for(var t=ba(n.symbol),r=1;r<e.length;r++){var a=e[r];if(!(1024&a.flags)||t!==ba(a.symbol))return!1}return!0}return!1}(n))return!0;for(var a=r,i=0;a>0;)for(var o=n[--a],s=0,c=n;s<c.length;s++){var l=c[s];if(o!==l){if(1e5===i)if(i/(r-a)*r>(t?25e6:1e6))return or(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1;if(i++,Qd(o,l,Zt)&&(!(1&e.getObjectFlags(ao(o)))||!(1&e.getObjectFlags(ao(l)))||Cd(o,l))){e.orderedRemoveItemAt(n,a);break}}}return!0}function wl(n,t,r,a){if(void 0===t&&(t=1),0===n.length)return Ve;if(1===n.length)return n[0];var i=[],o=Pl(i,0,n);if(0!==t){if(3&o)return 1&o?8388608&o?Te:be:xe;switch(t){case 1:11136&o&&function(n,t){for(var r=n.length;r>0;){var a=n[--r];(128&a.flags&&4&t||256&a.flags&&8&t||2048&a.flags&&64&t||8192&a.flags&&4096&t||Mu(a)&&Rl(n,a.regularType))&&e.orderedRemoveItemAt(n,r)}}(i,o);break;case 2:if(!Ml(i,!(262144&o)))return Se}if(0===i.length)return 65536&o?4194304&o?Ie:Ne:32768&o?4194304&o?Ae:De:Ve}return Gl(i,(66994211&o?0:262144)|(2097152&o?268435456:0),r,a)}function Fl(e,n){return e.kind===n.kind&&e.parameterIndex===n.parameterIndex}function Gl(e,n,t,r){if(0===e.length)return Ve;if(1===e.length)return e[0];var a=Bc(e),i=de.get(a);return i||(i=Ca(1048576),de.set(a,i),i.objectFlags=n|Uc(e,98304),i.types=e,i.aliasSymbol=t,i.aliasTypeArguments=r),i}function Bl(e,n,t){var r=t.flags;return 2097152&r?Ul(e,n,t.types):(zd(t)?16777216&n||(n|=16777216,e.set(t.id.toString(),t)):(3&r?t===Te&&(n|=8388608):!q&&98304&r||e.has(t.id.toString())||(109440&t.flags&&109440&n&&(n|=67108864),e.set(t.id.toString(),t)),n|=71041023&r),n)}function Ul(e,n,t){for(var r=0,a=t;r<a.length;r++){n=Bl(e,n,Pu(a[r]))}return n}function Vl(e,n){for(var t=0,r=e;t<r.length;t++){var a=r[t];if(!Rl(a.types,n)){var i=128&n.flags?Re:256&n.flags?ke:2048&n.flags?Oe:8192&n.flags?Be:void 0;if(!i||!Rl(a.types,i))return!1}}return!0}function jl(n,t){if(e.every(n,(function(n){return!!(1048576&n.flags)&&e.some(n.types,(function(e){return!!(e.flags&t)}))}))){for(var r=0;r<n.length;r++)n[r]=Em(n[r],(function(e){return!(e.flags&t)}));return!0}return!1}function Kl(n,t,r){var a=new e.Map,i=Ul(a,0,n),o=e.arrayFrom(a.values());if(131072&i||q&&98304&i&&84410368&i||67108864&i&&130044&i||132&i&&67238776&i||296&i&&67238612&i||2112&i&&67236796&i||12288&i&&67226620&i||49152&i&&67189756&i)return Ve;if(1&i)return 8388608&i?Te:be;if(!q&&98304&i)return 32768&i?Ae:Ie;if((4&i&&128&i||8&i&&256&i||64&i&&2048&i||4096&i&&8192&i)&&function(n,t){for(var r=n.length;r>0;){var a=n[--r];(4&a.flags&&128&t||8&a.flags&&256&t||64&a.flags&&2048&t||4096&a.flags&&8192&t)&&e.orderedRemoveItemAt(n,r)}}(o,i),16777216&i&&524288&i&&e.orderedRemoveItemAt(o,e.findIndex(o,zd)),0===o.length)return xe;if(1===o.length)return o[0];var s=Bc(o),c=pe.get(s);if(!c){if(1048576&i)if(function(n){var t,r=e.findIndex(n,(function(n){return!!(262144&e.getObjectFlags(n))}));if(r<0)return!1;for(var a=r+1;a<n.length;){var i=n[a];262144&e.getObjectFlags(i)?((t||(t=[n[r]])).push(i),e.orderedRemoveItemAt(n,a)):a++}if(!t)return!1;for(var o=[],s=[],c=0,l=t;c<l.length;c++)for(var u=0,d=l[c].types;u<d.length;u++){kl(o,i=d[u])&&Vl(t,i)&&kl(s,i)}return n[r]=Gl(s,262144),!0}(o))c=Kl(o,t,r);else if(jl(o,32768))c=wl([Kl(o),Ae],1,t,r);else if(jl(o,65536))c=wl([Kl(o),Ie],1,t,r);else{if(e.reduceLeft(o,(function(e,n){return e*(1048576&n.flags?n.types.length:1)}),1)>=1e5)return or(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),Se;var l=e.findIndex(o,(function(e){return 0!=(1048576&e.flags)})),u=o[l];c=wl(e.map(u.types,(function(n){return Kl(e.replaceElement(o,l,n))})),1,t,r)}else c=function(e,n,t){var r=Ca(2097152);return r.objectFlags=Uc(e,98304),r.types=e,r.aliasSymbol=n,r.aliasTypeArguments=t,r}(o,t,r);pe.set(s,c)}return c}function Hl(e,n){var t=Ca(4194304);return t.type=e,t.stringsOnly=n,t}function Wl(n){return e.isPrivateIdentifier(n)?Ve:e.isIdentifier(n)?wu(e.unescapeLeadingUnderscores(n.escapedText)):Pu(e.isComputedPropertyName(n)?V_(n):iv(n))}function ql(n,t){if(!(24&e.getDeclarationModifierFlagsFromSymbol(n))){var r=vr(Jo(n)).nameType;if(!r&&!e.isKnownSymbol(n))if("default"===n.escapedName)r=wu("default");else{var a=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);r=a&&Wl(a)||wu(e.symbolName(n))}if(r&&r.flags&t)return r}return Ve}function zl(n,t){return wl(e.map(Cs(n),(function(e){return ql(e,t)})))}function Jl(e){var n=rc(e,1);return n!==lt?n:void 0}function Xl(n,t,r){return void 0===t&&(t=Z),1048576&(n=zs(n)).flags?Kl(e.map(n.types,(function(e){return Xl(e,t,r)}))):2097152&n.flags?wl(e.map(n.types,(function(e){return Xl(e,t,r)}))):58982400&n.flags||Bp(n)?function(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=Hl(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=Hl(e,!1))}(n,t):32&e.getObjectFlags(n)?Em(_s(n),(function(e){return!(r&&5&e.flags)})):n===Te?Te:2&n.flags?Ve:131073&n.flags?Je:t?!r&&rc(n,0)?Re:zl(n,128):!r&&rc(n,0)?wl([Re,ke,zl(n,8192)]):Jl(n)?wl([ke,zl(n,8320)]):zl(n,8576)}function Yl(n){if(Z)return n;var t=Jn||(Jn=ll("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return t?zc(t,[n,Re]):Re}function Ql(n){return!Y&&(!!(16384&e.getObjectFlags(n))||(1048576&n.flags?e.every(n.types,Ql):2097152&n.flags?e.some(n.types,Ql):!!(63176704&n.flags)&&Ql(Gs(n))))}function Zl(n,t){var r=t&&199===t.kind?t:void 0;return Bo(n)?Ho(n):r&&Wg(r.argumentExpression,n,!1)?e.getPropertyNameForKnownSymbolName(e.idText(r.argumentExpression.name)):t&&e.isPropertyName(t)?e.getPropertyNameForPropertyNameNode(t):void 0}function $l(n,t){return!(8208&t.flags)||!e.isCallLikeExpression(e.findAncestor(n,(function(n){return!e.isAccessExpression(n)}))||n.parent)&&e.every(t.declarations,(function(n){return!e.isFunctionLike(n)||!!(134217728&e.getCombinedNodeFlags(n))}))}function eu(n,t,r,a,i,o,s,c){var l,u,d=o&&199===o.kind?o:void 0,p=o&&e.isPrivateIdentifier(o)?void 0:Zl(r,o);if(void 0!==p){var f=Zs(t,p);if(f){if(c&&o&&134217728&(null===(l=f.valueDeclaration)||void 0===l?void 0:l.flags)&&$l(o,f))cr(!1,null!==(u=null==d?void 0:d.argumentExpression)&&void 0!==u?u:e.isIndexedAccessTypeNode(o)?o.indexType:o,e.Diagnostics._0_is_deprecated,p);if(d){if(Ug(f,d,107===d.expression.kind),Lh(d,f,e.getAssignmentTargetKind(d)))return void or(d.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Qa(f));if(4&s&&(br(o).resolvedSymbol=f),Ig(d,f))return Ee}var m=to(f);return d&&1!==e.getAssignmentTargetKind(d)?jm(d,m):m}if(bm(t,Gp)&&U_(p)&&+p>=0){if(o&&bm(t,(function(e){return!e.target.hasRestElement}))&&!(8&s)){var _=nu(o);Gp(t)?or(_,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,$a(t),Wc(t),e.unescapeLeadingUnderscores(p)):or(_,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(p),$a(t))}return T(rc(t,1)),Sm(t,(function(e){return Vp(e)||Ae}))}}if(!(98304&r.flags)&&Ih(r,12716)){if(131073&t.flags)return t;var g=rc(t,0),y=Ih(r,296)&&rc(t,1)||g;if(y)return 1&s&&y===g?void(d&&or(d,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,$a(r),$a(n))):o&&!Ih(r,12)?(or(_=nu(o),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,$a(r)),y.type):(T(y),y.type);if(131072&r.flags)return Ve;if(Ql(t))return be;if(d&&!Rh(t)){if(t.symbol===ae&&void 0!==p&&ae.exports.has(p)&&418&ae.exports.get(p).flags)or(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(p),$a(t));else if(Y&&!j.suppressImplicitAnyIndexErrors&&!i)if(void 0!==p&&Og(p,t))or(d,e.Diagnostics.Property_0_is_a_static_member_of_type_1,p,$a(t));else if(ac(t,1))or(d.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var h=void 0;if(void 0!==p&&(h=wg(p,t)))void 0!==h&&or(d.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,p,$a(t),h);else{var v=function(n,t,r){var a=e.isAssignmentTarget(t)?"set":"get";if(!function(e){var t=As(n,e);if(t){var a=ey(to(t));return!!a&&nh(a)>=1&&Dd(r,Qy(a,0))}return!1}(a))return;var i=e.tryGetPropertyAccessOrIdentifierToString(t.expression);void 0===i?i=a:i+="."+a;return i}(t,d,r);if(void 0!==v)or(d,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,$a(t),v);else{var b=void 0;if(1024&r.flags)b=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+$a(r)+"]",$a(t));else if(8192&r.flags){var E=ta(r.symbol,d);b=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+E+"]",$a(t))}else 128&r.flags||256&r.flags?b=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,$a(t)):12&r.flags&&(b=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,$a(r),$a(t)));b=e.chainDiagnosticMessages(b,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,$a(a),$a(t)),zt.add(e.createDiagnosticForNodeFromMessageChain(d,b))}}}return}}if(Ql(t))return be;if(o){_=nu(o);384&r.flags?or(_,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,$a(t)):12&r.flags?or(_,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,$a(t),$a(r)):or(_,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,$a(r))}return hi(r)?r:void 0;function T(n){n&&n.isReadonly&&d&&(e.isAssignmentTarget(d)||e.isDeleteTarget(d))&&or(d,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,$a(t))}}function nu(e){return 199===e.kind?e.argumentExpression:188===e.kind?e.indexType:157===e.kind?e.expression:e}function tu(n){return 3145728&n.flags?(4194304&n.objectFlags||(n.objectFlags|=4194304|(e.some(n.types,tu)?8388608:0)),!!(8388608&n.objectFlags)):!!(58982400&n.flags)||Ss(n)||Bp(n)}function ru(n){return 3145728&n.flags?(16777216&n.objectFlags||(n.objectFlags|=16777216|(e.some(n.types,ru)?33554432:0)),!!(33554432&n.objectFlags)):!!(63176704&n.flags)}function au(e){return!!(262144&e.flags&&e.isThisType)}function iu(n,t){return 8388608&n.flags?function(n,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(n[r])return n[r]===on?n:n[r];n[r]=on;var a=function(e){if(33554432&e.flags)return e.substitute;return e}(iu(n.objectType,t)),i=iu(n.indexType,t),o=function(n,t,r){if(1048576&t.flags){var a=e.map(t.types,(function(e){return iu(lu(n,e),r)}));return r?Kl(a):wl(a)}}(a,i,t);if(o)return n[r]=o;if(!(63176704&i.flags)){var s=ou(a,i,t);if(s)return n[r]=s}if(Bp(a)&&296&i.flags){var c=Kp(a,8&i.flags?0:a.target.fixedLength,0,t);if(c)return n[r]=c}if(Ss(a))return n[r]=Sm(cu(a,n.indexType),(function(e){return iu(e,t)}));return n[r]=n}(n,t):16777216&n.flags?function(e,n){var t=e.checkType,r=e.extendsType,a=gu(e),i=yu(e);if(131072&i.flags&&mu(a)===mu(t)){if(1&t.flags||Dd(_d(t),_d(r)))return iu(a,n);if(su(t,r))return Ve}else if(131072&a.flags&&mu(i)===mu(t)){if(!(1&t.flags)&&Dd(_d(t),_d(r)))return Ve;if(1&t.flags||su(t,r))return iu(i,n)}return e}(n,t):n}function ou(n,t,r){if(3145728&n.flags){var a=e.map(n.types,(function(e){return iu(lu(e,t),r)}));return 2097152&n.flags||r?Kl(a):wl(a)}}function su(e,n){return!!(131072&wl([os(e,n),Ve]).flags)}function cu(e,n){var t=qu([ms(e)],[n]),r=Zu(e.mapper,t);return pd(gs(e),r)}function lu(e,n,t,r,a){return du(e,n,t,0,r,a)||(t?Se:xe)}function uu(e,n){return bm(e,(function(e){if(384&e.flags){var t=Ho(e);if(U_(t)){var r=+t;return r>=0&&r<n}}return!1}))}function du(e,n,t,r,a,i){if(void 0===r&&(r=0),e===Te||n===Te)return Te;if(!Jd(e)||98304&n.flags||!Ih(n,12)||(n=Re),ru(n)||(t&&188!==t.kind?Bp(e)&&!uu(n,e.target.fixedLength):tu(e)&&(!Gp(e)||!uu(n,e.target.fixedLength)))){if(3&e.flags)return e;var o=e.id+","+n.id,s=me.get(o);return s||me.set(o,s=function(e,n,t,r){var a=Ca(8388608);return a.objectType=e,a.indexType=n,a.aliasSymbol=t,a.aliasTypeArguments=r,a}(e,n,a,i)),s}var c=Ks(e);if(1048576&n.flags&&!(16&n.flags)){for(var l=[],u=!1,d=0,p=n.types;d<p.length;d++){var f=eu(e,c,p[d],n,u,t,r);if(f)l.push(f);else{if(!t)return;u=!0}}if(u)return;return 2&r?Kl(l,a,i):wl(l,1,a,i)}return eu(e,c,n,n,!1,t,4|r,!0)}function pu(e){var n=br(e);if(!n.resolvedType){var t=Vu(e.objectType),r=Vu(e.indexType),a=Tu(e),i=lu(t,r,e,a,Su(a));n.resolvedType=8388608&i.flags&&i.objectType===t&&i.indexType===r?el(i,e):i}return n.resolvedType}function fu(e){var n=br(e);if(!n.resolvedType){var t=Ra(32,e.symbol);t.declaration=e,t.aliasSymbol=Tu(e),t.aliasTypeArguments=Su(t.aliasSymbol),n.resolvedType=t,_s(t)}return n.resolvedType}function mu(e){return 33554432&e.flags?e.baseType:8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?lu(mu(e.objectType),mu(e.indexType)):e}function _u(n,t){for(var r,a,i=function(){var i=pd(n.checkType,t),o=tu(i)||ru(i),s=pd(n.extendsType,t);if(i===Te||s===Te)return{value:Te};var c=void 0;if(n.inferTypeParameters){var l=yf(n.inferTypeParameters,void 0,0);o&&e.some(n.inferTypeParameters,(function(e){return e===s}))||Pf(l.inferences,i,s,768),c=$u(t,l.mapper)}var u=c?pd(n.extendsType,c):s;if(!o&&!tu(u)&&!ru(u)){if(!(3&u.flags)&&(1&i.flags||!Dd(md(i),md(u)))){1&i.flags&&(a||(a=[])).push(fd(n.trueType,c||t));var d=n.falseType;if(16777216&d.flags){var p=d.root;if(p.node.parent===n.node&&(!p.isDistributive||p.checkType===n.checkType))return n=p,"continue"}return r=fd(d,t),"break"}if(3&u.flags||Dd(_d(i),_d(u)))return r=fd(n.trueType,c||t),"break"}var f=mu(i);return(r=Ca(16777216)).root=n,r.checkType=f,r.extendsType=s,r.mapper=t,r.combinedMapper=c,r.aliasSymbol=n.aliasSymbol,r.aliasTypeArguments=Hu(n.aliasTypeArguments,t),"break"};;){var o=i();if("object"==typeof o)return o.value;if("break"===o)break}return a?wl(e.append(a,r)):r}function gu(e){return e.resolvedTrueType||(e.resolvedTrueType=pd(e.root.trueType,e.mapper))}function yu(e){return e.resolvedFalseType||(e.resolvedFalseType=pd(e.root.falseType,e.mapper))}function hu(n){var t;return n.locals&&n.locals.forEach((function(n){262144&n.flags&&(t=e.append(t,Io(n)))})),t}function vu(n){var t=br(n);if(!t.resolvedType){if(n.isTypeOf&&n.typeArguments)return or(n,e.Diagnostics.Type_arguments_cannot_be_used_here),t.resolvedSymbol=he,t.resolvedType=Se;if(!e.isLiteralImportTypeNode(n))return or(n.argument,e.Diagnostics.String_literal_expected),t.resolvedSymbol=he,t.resolvedType=Se;var r=n.isTypeOf?111551:4194304&n.flags?900095:788968,a=ia(n,n.argument.literal);if(!a)return t.resolvedSymbol=he,t.resolvedType=Se;var i=la(a,!1);if(e.nodeIsMissing(n.qualifier)){if(i.flags&r)t.resolvedType=bu(n,t,i,r);else or(n,111551===r?e.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0,n.argument.literal.text),t.resolvedSymbol=he,t.resolvedType=Se}else{for(var o=function n(t){return e.isIdentifier(t)?[t]:e.append(n(t.left),t.right)}(n.qualifier),s=i,c=void 0;c=o.shift();){var l=o.length?1920:r,u=Tr(ma(ha(Jr(s))),c.escapedText,l);if(!u)return or(c,e.Diagnostics.Namespace_0_has_no_exported_member_1,ta(s),e.declarationNameToString(c)),t.resolvedType=Se;br(c).resolvedSymbol=u,br(c.parent).resolvedSymbol=u,s=u}t.resolvedType=bu(n,t,s,r)}}return t.resolvedType}function bu(e,n,t,r){var a=Jr(t);return n.resolvedSymbol=a,111551===r?to(t):Yc(e,a)}function Eu(n){var t=br(n);if(!t.resolvedType){var r=Tu(n);if(0!==zo(n.symbol).size||r){var a=Ra(16,n.symbol);a.aliasSymbol=r,a.aliasTypeArguments=Su(r),e.isJSDocTypeLiteral(n)&&n.isArrayType&&(a=vl(a)),t.resolvedType=a}else t.resolvedType=nn}return t.resolvedType}function Tu(n){for(var t=n.parent;e.isParenthesizedTypeNode(t)||e.isTypeOperatorNode(t)&&141===t.operator;)t=t.parent;return e.isTypeAlias(t)?va(t):void 0}function Su(e){return e?lo(e):void 0}function Lu(e){return!!(524288&e.flags)&&!Ss(e)}function xu(e){return qd(e)||!!(71405564&e.flags)}function Au(n){return!!(524288&n.flags)&&!!(16&e.getObjectFlags(n))&&(1===e.length(Cs(n))||e.every(Cs(n),(function(e){return!!(16777216&e.flags)})))}function Du(n,t){if(2===n.types.length){var r=n.types[0],a=n.types[1];if(e.every(n.types,xu))return qd(r)?r:qd(a)?a:Ze;if(xu(r)&&Au(a))return i(a);if(xu(a)&&Au(r))return i(r)}function i(n){for(var r=e.createSymbolTable(),a=0,i=Cs(n);a<i.length;a++){var o=i[a];if(24&e.getDeclarationModifierFlagsFromSymbol(o));else if(Iu(o)){var s=65536&o.flags&&!(32768&o.flags),c=ur(16777220,o.escapedName,t?8:0);c.type=s?Ae:to(o),c.declarations=o.declarations,c.nameType=vr(o).nameType,c.syntheticOrigin=o,r.set(o.escapedName,c)}}var l=wa(n.symbol,r,e.emptyArray,e.emptyArray,rc(n,0),rc(n,1));return l.objectFlags|=1048704,l}}function Cu(n,t,r,a,i){if(1&n.flags||1&t.flags)return be;if(2&n.flags||2&t.flags)return xe;if(131072&n.flags)return t;if(131072&t.flags)return n;var o;if(1048576&n.flags)return(o=Du(n,i))?Cu(o,t,r,a,i):Sm(n,(function(e){return Cu(e,t,r,a,i)}));if(1048576&t.flags)return(o=Du(t,i))?Cu(n,o,r,a,i):Sm(t,(function(e){return Cu(n,e,r,a,i)}));if(71307260&t.flags)return n;if(tu(n)||tu(t)){if(qd(n))return t;if(2097152&n.flags){var s=n.types,c=s[s.length-1];if(Lu(c)&&Lu(t))return Kl(e.concatenate(s.slice(0,s.length-1),[Cu(c,t,r,a,i)]))}return Kl([n,t])}var l,u,d=e.createSymbolTable(),p=new e.Set;n===Ze?(l=rc(t,0),u=rc(t,1)):(l=cs(rc(n,0),rc(t,0)),u=cs(rc(n,1),rc(t,1)));for(var f=0,m=Cs(t);f<m.length;f++){var _=m[f];24&e.getDeclarationModifierFlagsFromSymbol(_)?p.add(_.escapedName):Iu(_)&&d.set(_.escapedName,Nu(_,i))}for(var g=0,y=Cs(n);g<y.length;g++){var h=y[g];if(!p.has(h.escapedName)&&Iu(h))if(d.has(h.escapedName)){var v=to(_=d.get(h.escapedName));if(16777216&_.flags){var b=e.concatenate(h.declarations,_.declarations),E=ur(4|16777216&h.flags,h.escapedName);E.type=wl([to(h),am(v,524288)]),E.leftSpread=h,E.rightSpread=_,E.declarations=b,E.nameType=vr(h).nameType,d.set(h.escapedName,E)}}else d.set(h.escapedName,Nu(h,i))}var T=wa(r,d,e.emptyArray,e.emptyArray,Ru(l,i),Ru(u,i));return T.objectFlags|=1049728|a,T}function Iu(n){return!(e.some(n.declarations,e.isPrivateIdentifierPropertyDeclaration)||106496&n.flags&&n.declarations.some((function(n){return e.isClassLike(n.parent)})))}function Nu(e,n){var t=65536&e.flags&&!(32768&e.flags);if(!t&&n===Sh(e))return e;var r=ur(4|16777216&e.flags,e.escapedName,n?8:0);return r.type=t?Ae:to(e),r.declarations=e.declarations,r.nameType=vr(e).nameType,r.syntheticOrigin=e,r}function Ru(e,n){return e&&e.isReadonly!==n?Pc(e.type,n,e.declaration):e}function ku(e,n,t){var r=Ca(e);return r.symbol=t,r.value=n,r}function Ou(e){if(2944&e.flags){if(!e.freshType){var n=ku(e.flags,e.value,e.symbol);n.regularType=e,n.freshType=n,e.freshType=n}return e.freshType}return e}function Pu(n){return 2944&n.flags?n.regularType:1048576&n.flags?n.regularType||(n.regularType=wl(e.sameMap(n.types,Pu))):n}function Mu(e){return!!(2944&e.flags)&&e.freshType===e}function wu(n,t,r){var a=(t||"")+("number"==typeof n?"#":"string"==typeof n?"@":"n")+("object"==typeof n?e.pseudoBigIntToString(n):n),i=fe.get(a);if(!i){var o=("number"==typeof n?256:"string"==typeof n?128:2048)|(t?1024:0);fe.set(a,i=ku(o,n,r)),i.regularType=i}return i}function Fu(n){if(e.isValidESSymbolDeclaration(n)){var t=va(n),r=vr(t);return r.uniqueESSymbolType||(r.uniqueESSymbolType=function(e){var n=Ca(8192);return n.symbol=e,n.escapedName="__@"+n.symbol.escapedName+"@"+k(n.symbol),n}(t))}return Be}function Gu(n){var t=br(n);return t.resolvedType||(t.resolvedType=function(n){var t=e.getThisContainer(n,!1),r=t&&t.parent;if(r&&(e.isClassLike(r)||250===r.kind)&&!e.hasSyntacticModifier(t,32)&&(!e.isConstructorDeclaration(t)||e.isNodeDescendantOf(n,t.body)))return Eo(va(r)).thisType;if(r&&e.isObjectLiteralExpression(r)&&e.isBinaryExpression(r.parent)&&6===e.getAssignmentDeclarationKind(r.parent))return Eo(va(r.parent.left).parent).thisType;var a=4194304&n.flags?e.getHostSignatureFromJSDoc(n):void 0;return a&&e.isFunctionExpression(a)&&e.isBinaryExpression(a.parent)&&3===e.getAssignmentDeclarationKind(a.parent)?Eo(va(a.parent.left).parent).thisType:Oy(t)&&e.isNodeDescendantOf(n,t.body)?Eo(va(t)).thisType:(or(n,e.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Se)}(n)),t.resolvedType}function Bu(e){return Vu(Uu(e.type)||e.type)}function Uu(e){switch(e.kind){case 185:return Uu(e.type);case 178:if(1===e.elements.length&&(180===(e=e.elements[0]).kind||191===e.kind&&e.dotDotDotToken))return Uu(e.type);break;case 177:return e.elementType}}function Vu(e){return el(ju(e),e)}function ju(n){switch(n.kind){case 128:case 299:case 300:return be;case 151:return xe;case 146:return Re;case 143:return ke;case 154:return Oe;case 131:return Ge;case 147:return Be;case 113:return Ue;case 149:return Ae;case 103:return Ie;case 140:return Ve;case 144:return 131072&n.flags&&!Y?be:qe;case 186:case 107:return Gu(n);case 190:return function(e){if(103===e.literal.kind)return Ie;var n=br(e);return n.resolvedType||(n.resolvedType=Pu(iv(e.literal))),n.resolvedType}(n);case 172:return al(n);case 171:return n.assertsModifier?Ue:Ge;case 220:return al(n);case 175:return ol(n);case 177:case 178:return function(n){var t=br(n);if(!t.resolvedType){var r=Tl(n);if(r===tn)t.resolvedType=Ze;else if(178===n.kind&&e.some(n.elements,(function(e){return!!(8&bl(e))}))||!Sl(n)){var a=177===n.kind?[Vu(n.elementType)]:e.map(n.elements,Vu);t.resolvedType=Dl(r,a)}else t.resolvedType=178===n.kind&&0===n.elements.length?r:Kc(r,n,void 0)}return t.resolvedType}(n);case 179:return function(e){var n=Vu(e.type);return q?Yp(n):n}(n);case 181:return function(n){var t=br(n);if(!t.resolvedType){var r=Tu(n);t.resolvedType=wl(e.map(n.types,Vu),1,r,Su(r))}return t.resolvedType}(n);case 182:return function(n){var t=br(n);if(!t.resolvedType){var r=Tu(n);t.resolvedType=Kl(e.map(n.types,Vu),r,Su(r))}return t.resolvedType}(n);case 301:return function(e){var n=Vu(e.type);return q?Xp(n,65536):n}(n);case 303:return Di(Vu(n.type));case 191:return function(e){var n=br(e);return n.resolvedType||(n.resolvedType=e.dotDotDotToken?Bu(e):e.questionToken&&q?Yp(Vu(e.type)):Vu(e.type))}(n);case 185:case 302:case 298:return Vu(n.type);case 180:return Bu(n);case 305:return function(n){var t=Vu(n.type),r=n.parent,a=n.parent.parent;if(e.isJSDocTypeExpression(n.parent)&&e.isJSDocParameterTag(a)){var i=e.getHostSignatureFromJSDoc(a);if(i){var o=e.lastOrUndefined(i.parameters),s=e.getParameterSymbolFromJSDoc(a);if(!o||s&&o.symbol===s&&e.isRestParameter(o))return vl(t)}}if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent))return vl(t);return Di(t)}(n);case 173:case 174:case 176:case 308:case 304:case 309:return Eu(n);case 187:return function(n){var t=br(n);if(!t.resolvedType)switch(n.operator){case 137:t.resolvedType=Xl(Vu(n.type));break;case 150:t.resolvedType=147===n.type.kind?Fu(e.walkUpParenthesizedTypes(n.parent)):Se;break;case 141:t.resolvedType=Vu(n.type);break;default:throw e.Debug.assertNever(n.operator)}return t.resolvedType}(n);case 188:return pu(n);case 189:return fu(n);case 183:return function(n){var t=br(n);if(!t.resolvedType){var r=Vu(n.checkType),a=Tu(n),i=Su(a),o=so(n,!0),s=i?o:e.filter(o,(function(e){return id(e,n)})),c={node:n,checkType:r,extendsType:Vu(n.extendsType),trueType:Vu(n.trueType),falseType:Vu(n.falseType),isDistributive:!!(262144&r.flags),inferTypeParameters:hu(n),outerTypeParameters:s,instantiations:void 0,aliasSymbol:a,aliasTypeArguments:i};t.resolvedType=_u(c,void 0),s&&(c.instantiations=new e.Map,c.instantiations.set(Bc(s),t.resolvedType))}return t.resolvedType}(n);case 184:return function(e){var n=br(e);return n.resolvedType||(n.resolvedType=Co(va(e.typeParameter))),n.resolvedType}(n);case 192:return vu(n);case 78:case 156:case 198:var t=ME(n);return t?Io(t):Se;default:return Se}}function Ku(e,n,t){if(e&&e.length)for(var r=0;r<e.length;r++){var a=e[r],i=t(a,n);if(a!==i){var o=0===r?[]:e.slice(0,r);for(o.push(i),r++;r<e.length;r++)o.push(t(e[r],n));return o}}return e}function Hu(e,n){return Ku(e,n,pd)}function Wu(e,n){return Ku(e,n,rd)}function qu(e,n){return 1===e.length?Ju(e[0],n?n[0]:be):function(e,n){return{kind:1,sources:e,targets:n}}(e,n)}function zu(e,n){switch(n.kind){case 0:return e===n.source?n.target:e;case 1:for(var t=n.sources,r=n.targets,a=0;a<t.length;a++)if(e===t[a])return r?r[a]:be;return e;case 2:return n.func(e);case 3:case 4:var i=zu(e,n.mapper1);return i!==e&&3===n.kind?pd(i,n.mapper2):zu(i,n.mapper2)}}function Ju(e,n){return{kind:0,source:e,target:n}}function Xu(e){return{kind:2,func:e}}function Yu(e,n,t){return{kind:e,mapper1:n,mapper2:t}}function Qu(e){return qu(e,void 0)}function Zu(e,n){return e?Yu(3,e,n):n}function $u(e,n){return e?Yu(4,e,n):n}function ed(e,n,t){return t?Yu(4,Ju(e,n),t):Ju(e,n)}function nd(e,n,t){return e?Yu(4,e,Ju(n,t)):Ju(n,t)}function td(e){var n=ka(e.symbol);return n.target=e,n}function rd(n,t,r){var a;if(n.typeParameters&&!r){a=e.map(n.typeParameters,td),t=Zu(qu(n.typeParameters,a),t);for(var i=0,o=a;i<o.length;i++){o[i].mapper=t}}var s=Qo(n.declaration,a,n.thisParameter&&ad(n.thisParameter,t),Ku(n.parameters,t,ad),void 0,void 0,n.minArgumentCount,19&n.flags);return s.target=n,s.mapper=t,s}function ad(n,t){var r=vr(n);if(r.type&&!Lf(r.type))return n;1&e.getCheckFlags(n)&&(n=r.target,t=Zu(r.mapper,t));var a=ur(n.flags,n.escapedName,1|53256&e.getCheckFlags(n));return a.declarations=n.declarations,a.parent=n.parent,a.target=n,a.mapper=t,n.valueDeclaration&&(a.valueDeclaration=n.valueDeclaration),r.nameType&&(a.nameType=r.nameType),a}function id(n,t){if(n.symbol&&n.symbol.declarations&&1===n.symbol.declarations.length){for(var r=n.symbol.declarations[0].parent,a=t;a!==r;a=a.parent)if(!a||227===a.kind||183===a.kind&&e.forEachChild(a.extendsType,i))return!0;return!!e.forEachChild(t,i)}return!0;function i(t){switch(t.kind){case 186:return!!n.isThisType;case 78:return!n.isThisType&&e.isPartOfTypeNode(t)&&function(e){return!(156===e.kind||172===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||192===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(t)&&ju(t)===n;case 175:return!0}return!!e.forEachChild(t,i)}}function od(e){var n=_s(e);if(4194304&n.flags){var t=mu(n.type);if(262144&t.flags)return t}}function sd(n,t){var r=od(n);if(r){var a=pd(r,t);if(r!==a)return Sm(zs(a),(function(a){if(61603843&a.flags&&a!==Te&&a!==Se){if(Bp(a))return function(n,t,r,a){var i=n.target.elementFlags,o=e.map(Hc(n),(function(e,n){var o=8&i[n]?e:4&i[n]?vl(e):xl([e],[i[n]]);return sd(t,ed(r,o,a))})),s=cd(n.target.readonly,bs(t));return xl(o,e.map(o,(function(e){return 8})),s)}(a,n,r,t);var i=ed(r,a,t);return Tp(a)?function(e,n,t){var r=ld(n,ke,!0,t);return r===Se?Se:vl(r,cd(Sp(e),bs(n)))}(a,n,i):Gp(a)?function(n,t,r){var a=n.target.elementFlags,i=e.map(Hc(n),(function(e,n){return ld(t,wu(""+n),!!(2&a[n]),r)})),o=bs(t),s=4&o?e.map(a,(function(e){return 1&e?2:e})):8&o?e.map(a,(function(e){return 2&e?1:e})):a,c=cd(n.target.readonly,o);return e.contains(i,Se)?Se:xl(i,s,c,n.target.labeledElementDeclarations)}(a,n,i):ud(n,i)}return a}))}return ud(n,t)}function cd(e,n){return!!(1&n)||!(2&n)&&e}function ld(e,n,t,r){var a=nd(r,ms(e),n),i=pd(gs(e.target||e),a),o=bs(e);return q&&4&o&&!Ch(i,49152)?Yp(i):q&&8&o&&t?am(i,524288):i}function ud(e,n){var t=Ra(64|e.objectFlags,e.symbol);if(32&e.objectFlags){t.declaration=e.declaration;var r=ms(e),a=td(r);t.typeParameter=a,n=Zu(Ju(r,a),n),a.mapper=n}return t.target=e,t.mapper=n,t.aliasSymbol=e.aliasSymbol,t.aliasTypeArguments=Hu(e.aliasTypeArguments,n),t}function dd(n,t){var r=n.root;if(r.outerTypeParameters){var a=e.map(r.outerTypeParameters,(function(e){return zu(e,t)})),i=Bc(a),o=r.instantiations.get(i);if(!o)o=function(e,n){if(e.isDistributive){var t=e.checkType,r=zu(t,n);if(t!==r&&1179648&r.flags)return Sm(r,(function(r){return _u(e,ed(t,r,n))}))}return _u(e,n)}(r,qu(r.outerTypeParameters,a)),r.instantiations.set(i,o);return o}return n}function pd(n,t){if(!(n&&t&&Lf(n)))return n;if(50===x||T>=5e6)return or(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),Se;E++,T++,x++;var r=function(n,t){var r=n.flags;if(262144&r)return zu(n,t);if(524288&r){var a=n.objectFlags;if(52&a){if(4&a&&!n.node){var i=n.resolvedTypeArguments,o=Hu(i,t);return o!==i?Dl(n.target,o):n}return function(n,t){var r=64&n.objectFlags?n.target:n,a=4&n.objectFlags?n.node:n.symbol.declarations[0],i=br(a),o=i.outerTypeParameters;if(!o){var s=so(a,!0);if(Oy(a)){var c=oc(a);s=e.addRange(s,c)}o=s||e.emptyArray,o=(4&r.objectFlags||2048&r.symbol.flags)&&!r.aliasTypeArguments?e.filter(o,(function(e){return id(e,a)})):o,i.outerTypeParameters=o,o.length&&(i.instantiations=new e.Map,i.instantiations.set(Bc(o),r))}if(o.length){var l=Zu(n.mapper,t),u=e.map(o,(function(e){return zu(e,l)})),d=Bc(u),p=i.instantiations.get(d);if(!p){var f=qu(o,u);p=4&r.objectFlags?Kc(n.target,n.node,f):32&r.objectFlags?sd(r,f):ud(r,f),i.instantiations.set(d,p)}return p}return n}(n,t)}return n}if(3145728&r){var s=n.types,c=Hu(s,t);return c===s?n:2097152&r?Kl(c,n.aliasSymbol,Hu(n.aliasTypeArguments,t)):wl(c,1,n.aliasSymbol,Hu(n.aliasTypeArguments,t))}if(4194304&r)return Xl(pd(n.type,t));if(8388608&r)return lu(pd(n.objectType,t),pd(n.indexType,t),void 0,n.aliasSymbol,Hu(n.aliasTypeArguments,t));if(16777216&r)return dd(n,Zu(n.mapper,t));if(33554432&r){var l=pd(n.baseType,t);if(8650752&l.flags)return Qc(l,pd(n.substitute,t));var u=pd(n.substitute,t);return 3&u.flags||Dd(_d(l),_d(u))?l:u}return n}(n,t);return x--,r}function fd(e,n){x--;var t=pd(e,n);return x++,t}function md(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=pd(e,Qe))}function _d(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=pd(e,Ye),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function gd(e,n){return e&&Pc(pd(e.type,n),e.isReadonly,e.declaration)}function yd(n){switch(e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n)),n.kind){case 205:case 206:case 164:case 248:return hd(n);case 197:return e.some(n.properties,yd);case 196:return e.some(n.elements,yd);case 214:return yd(n.whenTrue)||yd(n.whenFalse);case 213:return(56===n.operatorToken.kind||60===n.operatorToken.kind)&&(yd(n.left)||yd(n.right));case 285:return yd(n.initializer);case 204:return yd(n.expression);case 278:return e.some(n.properties,yd)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,yd);case 277:var t=n.initializer;return!!t&&yd(t);case 280:var r=n.expression;return!!r&&yd(r)}return!1}function hd(n){return(!e.isFunctionDeclaration(n)||e.isInJSFile(n)&&!!xi(n))&&(vd(n)||function(n){return!n.typeParameters&&!e.getEffectiveReturnTypeNode(n)&&!!n.body&&227!==n.body.kind&&yd(n.body)}(n))}function vd(n){if(!n.typeParameters){if(e.some(n.parameters,(function(n){return!e.getEffectiveTypeAnnotationNode(n)})))return!0;if(206!==n.kind){var t=e.firstOrUndefined(n.parameters);if(!t||!e.parameterIsThisKeyword(t))return!0}}return!1}function bd(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||k_(n)||e.isObjectLiteralMethod(n))&&hd(n)}function Ed(n){if(524288&n.flags){var t=Ls(n);if(t.constructSignatures.length||t.callSignatures.length){var r=Ra(16,n.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=e.emptyArray,r.constructSignatures=e.emptyArray,r}}else if(2097152&n.flags)return Kl(e.map(n.types,Ed));return n}function Td(e,n){return Qd(e,n,nr)}function Sd(e,n){return Qd(e,n,nr)?-1:0}function Ld(e,n){return Qd(e,n,$t)?-1:0}function xd(e,n){return Qd(e,n,Qt)?-1:0}function Ad(e,n){return Qd(e,n,Qt)}function Dd(e,n){return Qd(e,n,$t)}function Cd(n,t){return 1048576&n.flags?e.every(n.types,(function(e){return Cd(e,t)})):1048576&t.flags?e.some(t.types,(function(e){return Cd(n,e)})):58982400&n.flags?Cd(Ms(n)||xe,t):t===mn?!!(67633152&n.flags):t===_n?!!(524288&n.flags)&&tm(n):io(n,ao(t))}function Id(e,n){return Qd(e,n,er)}function Nd(e,n){return Id(e,n)||Id(n,e)}function Rd(e,n,t,r,a,i){return ep(e,n,$t,t,r,a,i)}function kd(e,n,t,r,a,i){return Od(e,n,$t,t,r,a,i,void 0)}function Od(e,n,t,r,a,i,o,s){return!!Qd(e,n,t)||(!r||!Md(a,e,n,t,i,o,s))&&ep(e,n,t,r,i,o,s)}function Pd(n){return!!(16777216&n.flags||2097152&n.flags&&e.some(n.types,Pd))}function Md(n,t,r,a,i,o,c){if(!n||Pd(r))return!1;if(!ep(t,r,a,void 0)&&function(n,t,r,a,i,o,s){for(var c=ec(t,0),l=ec(t,1),u=0,d=[l,c];u<d.length;u++){var p=d[u];if(e.some(p,(function(e){var n=Ec(e);return!(131073&n.flags)&&ep(n,r,a,void 0)}))){var f=s||{};Rd(t,r,n,i,o,f);var m=f.errors[f.errors.length-1];return e.addRelatedInfo(m,e.createDiagnosticForNode(n,p===l?e.Diagnostics.Did_you_mean_to_use_new_with_this_expression:e.Diagnostics.Did_you_mean_to_call_this_expression)),!0}}return!1}(n,t,r,a,i,o,c))return!0;switch(n.kind){case 280:case 204:return Md(n.expression,t,r,a,i,o,c);case 213:switch(n.operatorToken.kind){case 62:case 27:return Md(n.right,t,r,a,i,o,c)}break;case 197:return function(n,t,r,a,i,o){return!(131068&r.flags)&&Gd(function(n){var t,r,a,i;return l(this,(function(o){switch(o.label){case 0:if(!e.length(n.properties))return[2];t=0,r=n.properties,o.label=1;case 1:if(!(t<r.length))return[3,8];if(a=r[t],e.isSpreadAssignment(a))return[3,7];if(!(i=ql(va(a),8576))||131072&i.flags)return[3,7];switch(a.kind){case 167:case 166:case 164:case 286:return[3,2];case 285:return[3,4]}return[3,6];case 2:return[4,{errorNode:a.name,innerExpression:void 0,nameType:i}];case 3:return o.sent(),[3,7];case 4:return[4,{errorNode:a.name,innerExpression:a.initializer,nameType:i,errorMessage:e.isComputedNonLiteralName(a.name)?e.Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0}];case 5:return o.sent(),[3,7];case 6:e.Debug.assertNever(a),o.label=7;case 7:return t++,[3,1];case 8:return[2]}}))}(n),t,r,a,i,o)}(n,t,r,a,o,c);case 196:return function(e,n,t,r,a,i){if(131068&t.flags)return!1;if(Cp(n))return Gd(Vd(e,t),n,t,r,a,i);var o=e.contextualType;e.contextualType=t;try{var s=w_(e,1,!0);return e.contextualType=o,!!Cp(s)&&Gd(Vd(e,t),s,t,r,a,i)}finally{e.contextualType=o}}(n,t,r,a,o,c);case 278:return function(n,t,r,a,i,o){var c,u=Gd(function(n){var t,r,a;return l(this,(function(i){switch(i.label){case 0:if(!e.length(n.properties))return[2];t=0,r=n.properties,i.label=1;case 1:return t<r.length?(a=r[t],e.isJsxSpreadAttribute(a)?[3,3]:[4,{errorNode:a.name,innerExpression:a.initializer,nameType:wu(e.idText(a.name))}]):[3,4];case 2:i.sent(),i.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}(n),t,r,a,i,o);if(e.isJsxOpeningElement(n.parent)&&e.isJsxElement(n.parent.parent)){var d=n.parent.parent,p=tg(eg(n)),f=void 0===p?"children":e.unescapeLeadingUnderscores(p),m=wu(f),_=lu(r,m),g=Ud(d.children);if(!e.length(g))return u;var y=e.length(g)>1,h=Em(_,Ip),v=Em(_,(function(e){return!Ip(e)}));if(y){if(h!==Ve){var b=xl(X_(d,0)),E=function(n,t){var r,a,i,o,s;return l(this,(function(c){switch(c.label){case 0:if(!e.length(n.children))return[2];r=0,a=0,c.label=1;case 1:return a<n.children.length?(i=n.children[a],o=wu(a-r),(s=Bd(i,o,t))?[4,s]:[3,3]):[3,5];case 2:return c.sent(),[3,4];case 3:r++,c.label=4;case 4:return a++,[3,1];case 5:return[2]}}))}(d,L);u=Gd(E,b,h,a,i,o)||u}else if(!Qd(lu(t,m),_,a)){u=!0;var T=or(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,f,$a(_));o&&o.skipLogging&&(o.errors||(o.errors=[])).push(T)}}else if(v!==Ve){var S=Bd(g[0],m,L);S&&(u=Gd(function(){return l(this,(function(e){switch(e.label){case 0:return[4,S];case 1:return e.sent(),[2]}}))}(),t,r,a,i,o)||u)}else if(!Qd(lu(t,m),_,a)){u=!0;T=or(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,f,$a(_));o&&o.skipLogging&&(o.errors||(o.errors=[])).push(T)}}return u;function L(){if(!c){var t=e.getTextOfNode(n.parent.tagName),a=tg(eg(n)),i=void 0===a?"children":e.unescapeLeadingUnderscores(a),o=lu(r,wu(i)),l=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;c=s(s({},l),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,l,t,i,$a(o))})}return c}}(n,t,r,a,o,c);case 206:return function(n,t,r,a,i,o){if(e.isBlock(n.body))return!1;if(e.some(n.parameters,e.hasType))return!1;var s=ey(t);if(!s)return!1;var c=ec(r,0);if(!e.length(c))return!1;var l=n.body,u=Ec(s),d=wl(e.map(c,Ec));if(!ep(u,d,a,void 0)){var p=l&&Md(l,u,d,a,void 0,i,o);if(p)return p;var f=o||{};if(ep(u,d,a,l,void 0,i,f),f.errors)return r.symbol&&e.length(r.symbol.declarations)&&e.addRelatedInfo(f.errors[f.errors.length-1],e.createDiagnosticForNode(r.symbol.declarations[0],e.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature)),0==(2&e.getFunctionFlags(n))&&!yi(u,"then")&&ep(lh(u),d,a,void 0)&&e.addRelatedInfo(f.errors[f.errors.length-1],e.createDiagnosticForNode(n,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}(n,t,r,a,o,c)}return!1}function wd(e,n,t){var r=du(n,t);if(r)return r;if(1048576&n.flags){var a=tp(e,n);if(a)return du(a,t)}}function Fd(e,n){e.contextualType=n;try{return zh(e,1,n)}finally{e.contextualType=void 0}}function Gd(n,t,r,a,i,o){for(var s=!1,c=n.next();!c.done;c=n.next()){var l=c.value,u=l.errorNode,d=l.innerExpression,p=l.nameType,f=l.errorMessage,m=wd(t,r,p);if(m&&!(8388608&m.flags)){var _=du(t,p);if(_&&!ep(_,m,a,void 0))if(d&&Md(d,_,m,a,void 0,i,o))s=!0;else{var g=o||{},y=d?Fd(d,_):_;if(ep(y,m,a,u,f,i,g)&&y!==_&&ep(_,m,a,u,f,i,g),g.errors){var h=g.errors[g.errors.length-1],v=Bo(p)?Ho(p):void 0,b=void 0!==v?Zs(r,v):void 0,E=!1;if(!b){var T=Ih(p,296)&&rc(r,1)||rc(r,0)||void 0;T&&T.declaration&&!e.getSourceFileOfNode(T.declaration).hasNoDefaultLib&&(E=!0,e.addRelatedInfo(h,e.createDiagnosticForNode(T.declaration,e.Diagnostics.The_expected_type_comes_from_this_index_signature)))}if(!E&&(b&&e.length(b.declarations)||r.symbol&&e.length(r.symbol.declarations))){var S=b&&e.length(b.declarations)?b.declarations[0]:r.symbol.declarations[0];e.getSourceFileOfNode(S).hasNoDefaultLib||e.addRelatedInfo(h,e.createDiagnosticForNode(S,e.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!v||8192&p.flags?$a(p):e.unescapeLeadingUnderscores(v),$a(r)))}}s=!0}}}return s}function Bd(n,t,r){switch(n.kind){case 280:return{errorNode:n,innerExpression:n.expression,nameType:t};case 11:if(n.containsOnlyTriviaWhiteSpaces)break;return{errorNode:n,innerExpression:void 0,nameType:t,errorMessage:r()};case 270:case 271:case 274:return{errorNode:n,innerExpression:n,nameType:t};default:return e.Debug.assertNever(n,"Found invalid jsx child")}}function Ud(n){return e.filter(n,(function(n){return!e.isJsxText(n)||!n.containsOnlyTriviaWhiteSpaces}))}function Vd(n,t){var r,a,i,o;return l(this,(function(s){switch(s.label){case 0:if(!(r=e.length(n.elements)))return[2];a=0,s.label=1;case 1:return a<r?Cp(t)&&!Zs(t,""+a)?[3,3]:(i=n.elements[a],e.isOmittedExpression(i)?[3,3]:(o=wu(a),[4,{errorNode:i,innerExpression:i,nameType:o}])):[3,4];case 2:s.sent(),s.label=3;case 3:return a++,[3,1];case 4:return[2]}}))}function jd(e,n,t,r,a){return ep(e,n,er,t,r,a)}function Kd(n,t,r,a,i,o,s,c){if(n===t)return-1;if(!(l=t).typeParameters&&(!l.thisParameter||hi(qy(l.thisParameter)))&&1===l.parameters.length&&G(l)&&(qy(l.parameters[0])===xn||hi(qy(l.parameters[0])))&&hi(Ec(l)))return-1;var l,u=eh(t);if(!th(t)&&(8&r?th(n)||eh(n)>u:nh(n)>u))return 0;n.typeParameters&&n.typeParameters!==t.typeParameters&&(n=ry(n,t=Ic(t),void 0,s));var d=eh(n),p=ah(n),f=ah(t);if((p||f)&&pd(p||f,c),p&&f&&d!==u)return 0;var m=t.declaration?t.declaration.kind:0,_=!(3&r)&&z&&164!==m&&163!==m&&165!==m,g=-1,y=vc(n);if(y&&y!==Ue){var h=vc(t);if(h){if(!(T=!_&&s(y,h,!1)||s(h,y,a)))return a&&i(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;g&=T}}for(var v=p||f?Math.min(d,u):Math.max(d,u),b=p||f?v-1:-1,E=0;E<v;E++){var T,S=E===b?$y(n,E):Qy(n,E),L=E===b?$y(t,E):Qy(t,E),x=3&r?void 0:ey(Qp(S)),A=3&r?void 0:ey(Qp(L));if((T=x&&A&&!bc(x)&&!bc(A)&&(98304&qp(S))==(98304&qp(L))?Kd(A,x,8&r|(_?2:1),a,i,o,s,c):!(3&r)&&!_&&s(S,L,!1)||s(L,S,a))&&8&r&&E>=nh(n)&&E<nh(t)&&s(S,L,!1)&&(T=0),!T)return a&&i(e.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,e.unescapeLeadingUnderscores(Jy(n,E)),e.unescapeLeadingUnderscores(Jy(t,E))),0;g&=T}if(!(4&r)){var D=Sc(t)?be:t.declaration&&Oy(t.declaration)?Eo(ha(t.declaration.symbol)):Ec(t);if(D===Ue)return g;var C=Sc(n)?be:n.declaration&&Oy(n.declaration)?Eo(ha(n.declaration.symbol)):Ec(n),I=bc(t);if(I){var N=bc(n);if(N)g&=function(n,t,r,a,i){if(n.kind!==t.kind)return r&&(a(e.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),a(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ai(n),ai(t))),0;if((1===n.kind||3===n.kind)&&n.parameterIndex!==t.parameterIndex)return r&&(a(e.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,n.parameterName,t.parameterName),a(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ai(n),ai(t))),0;var o=n.type===t.type?-1:n.type&&t.type?i(n.type,t.type,r):0;0===o&&r&&a(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ai(n),ai(t));return o}(N,I,a,i,s);else if(e.isIdentifierTypePredicate(I))return a&&i(e.Diagnostics.Signature_0_must_be_a_type_predicate,Za(n)),0}else!(g&=1&r&&s(D,C,!1)||s(C,D,a))&&a&&o&&o(C,D)}return g}function Hd(e,n){var t=Cc(e),r=Cc(n),a=Ec(t),i=Ec(r);return!(i!==Ue&&!Qd(i,a,$t)&&!Qd(a,i,$t))&&0!==Kd(t,r,!0?4:0,!1,void 0,void 0,Ld,void 0)}function Wd(e){return e!==rn&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&!e.stringIndexInfo&&!e.numberIndexInfo}function qd(n){return 524288&n.flags?!Ss(n)&&Wd(Ls(n)):!!(67108864&n.flags)||(1048576&n.flags?e.some(n.types,qd):!!(2097152&n.flags)&&e.every(n.types,qd))}function zd(n){return!!(16&e.getObjectFlags(n)&&(n.members&&Wd(n)||n.symbol&&2048&n.symbol.flags&&0===zo(n.symbol).size))}function Jd(n){return 524288&n.flags&&!Ss(n)&&0===Cs(n).length&&rc(n,0)&&!rc(n,1)||3145728&n.flags&&e.every(n.types,Jd)||!1}function Xd(n,t,r){if(n===t)return!0;var a=k(n)+","+k(t),i=tr.get(a);if(void 0!==i&&(4&i||!(2&i)||!r))return!!(1&i);if(!(n.escapedName===t.escapedName&&256&n.flags&&256&t.flags))return tr.set(a,6),!1;for(var o=to(t),s=0,c=Cs(to(n));s<c.length;s++){var l=c[s];if(8&l.flags){var u=Zs(o,l.escapedName);if(!(u&&8&u.flags))return r?(r(e.Diagnostics.Property_0_is_missing_in_type_1,e.symbolName(l),$a(Io(t),void 0,64)),tr.set(a,6)):tr.set(a,2),!1}}return tr.set(a,1),!0}function Yd(e,n,t,r){var a=e.flags,i=n.flags;if(3&i||131072&a||e===Te)return!0;if(131072&i)return!1;if(132&a&&4&i)return!0;if(128&a&&1024&a&&128&i&&!(1024&i)&&e.value===n.value)return!0;if(296&a&&8&i)return!0;if(256&a&&1024&a&&256&i&&!(1024&i)&&e.value===n.value)return!0;if(2112&a&&64&i)return!0;if(528&a&&16&i)return!0;if(12288&a&&4096&i)return!0;if(32&a&&32&i&&Xd(e.symbol,n.symbol,r))return!0;if(1024&a&&1024&i){if(1048576&a&&1048576&i&&Xd(e.symbol,n.symbol,r))return!0;if(2944&a&&2944&i&&e.value===n.value&&Xd(ba(e.symbol),ba(n.symbol),r))return!0}if(32768&a&&(!q||49152&i))return!0;if(65536&a&&(!q||65536&i))return!0;if(524288&a&&67108864&i)return!0;if(t===$t||t===er){if(1&a)return!0;if(264&a&&!(1024&a)&&(32&i||256&i&&1024&i))return!0}return!1}function Qd(e,n,t){if(Mu(e)&&(e=e.regularType),Mu(n)&&(n=n.regularType),e===n)return!0;if(t!==nr){if(t===er&&!(131072&n.flags)&&Yd(n,e,t)||Yd(e,n,t))return!0}else if(!(3145728&e.flags||3145728&n.flags||e.flags===n.flags||66584576&e.flags))return!1;if(524288&e.flags&&524288&n.flags){var r=t.get(pp(e,n,0,t));if(void 0!==r)return!!(1&r)}return!!(66846720&e.flags||66846720&n.flags)&&ep(e,n,t,void 0)}function Zd(n,t){return 4096&e.getObjectFlags(n)&&!q_(t.escapedName)}function $d(n,t){for(;;){var r=Mu(n)?n.regularType:4&e.getObjectFlags(n)&&n.node?Vc(n.target,Hc(n)):3145728&n.flags?zs(n):33554432&n.flags?t?n.baseType:n.substitute:25165824&n.flags?iu(n,t):n;if(r===n)break;n=r}return n}function ep(n,t,r,a,i,s,l){var u,p,f,m,_,g,y=0,h=0,v=0,b=!1,E=0,T=[],S=!1;e.Debug.assert(r!==nr||!a,"no error reporting in identity checking");var L=G(n,t,!!a,i);if(T.length&&P(),b){var x=or(a||d,e.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,$a(n),$a(t));l&&(l.errors||(l.errors=[])).push(x)}else if(u){if(s){var A=s();A&&(e.concatenateDiagnosticMessageChains(A,u),u=A)}var C=void 0;if(i&&a&&!L&&n.symbol){var I=vr(n.symbol);if(I.originatingImport&&!e.isImportCall(I.originatingImport))if(ep(to(I.target),t,r,void 0)){var N=e.createDiagnosticForNode(I.originatingImport,e.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);C=e.append(C,N)}}x=e.createDiagnosticForNodeFromMessageChain(a,u,C);p&&e.addRelatedInfo.apply(void 0,o([x],p)),l&&(l.errors||(l.errors=[])).push(x),l&&l.skipLogging||zt.add(x)}return a&&l&&l.skipLogging&&0===L&&e.Debug.assert(!!l.errors,"missed opportunity to interact with error."),0!==L;function R(e){u=e.errorInfo,g=e.lastSkippedInfo,T=e.incompatibleStack,E=e.overrideNextErrorInfo,p=e.relatedInfo}function k(){return{errorInfo:u,lastSkippedInfo:g,incompatibleStack:T.slice(),overrideNextErrorInfo:E,relatedInfo:p?p.slice():void 0}}function O(e,n,t,r,a){E++,g=void 0,T.push([e,n,t,r,a])}function P(){var n=T;T=[];var t=g;if(g=void 0,1===n.length)return M.apply(void 0,n[0]),void(t&&w.apply(void 0,o([void 0],t)));for(var r="",a=[];n.length;){var i=n.pop(),s=i[0],c=i.slice(1);switch(s.code){case e.Diagnostics.Types_of_property_0_are_incompatible.code:0===r.indexOf("new ")&&(r="("+r+")");var l=""+c[0];r=0===r.length?""+l:e.isIdentifierText(l,j.target)?r+"."+l:"["===l[0]&&"]"===l[l.length-1]?""+r+l:r+"["+l+"]";break;case e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:if(0===r.length){var u=s;s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?u=e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible:s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(u=e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible),a.unshift([u,c[0],c[1]])}else{r=""+(s.code===e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code||s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"")+r+"("+(s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...")+")"}break;default:return e.Debug.fail("Unhandled Diagnostic: "+s.code)}}r?M(")"===r[r.length-1]?e.Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types:e.Diagnostics.The_types_of_0_are_incompatible_between_these_types,r):a.shift();for(var d=0,p=a;d<p.length;d++){var f=p[d],m=(s=f[0],c=f.slice(1),s.elidedInCompatabilityPyramid);s.elidedInCompatabilityPyramid=!1,M.apply(void 0,o([s],c)),s.elidedInCompatabilityPyramid=m}t&&w.apply(void 0,o([void 0],t))}function M(n,t,r,i,o){e.Debug.assert(!!a),T.length&&P(),n.elidedInCompatabilityPyramid||(u=e.chainDiagnosticMessages(u,n,t,r,i,o))}function w(n,t,a){T.length&&P();var i=ei(t,a),o=i[0],s=i[1],c=t,l=o;if(kp(t)&&!np(a)&&(c=Op(t),e.Debug.assert(!Dd(c,a),"generalized source shouldn't be assignable"),l=ni(c)),262144&a.flags){var u=Ms(a),d=void 0;u&&(Dd(c,u)||(d=Dd(t,u)))?M(e.Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,d?o:l,s,$a(u)):M(e.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,s,l)}n||(n=r===er?e.Diagnostics.Type_0_is_not_comparable_to_type_1:o===s?e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:e.Diagnostics.Type_0_is_not_assignable_to_type_1),M(n,l,s)}function F(n,t,r){return Gp(n)?n.target.readonly&&Lp(t)?(r&&M(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,$a(n),$a(t)),!1):Gp(t)||Tp(t):Sp(n)&&Lp(t)?(r&&M(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,$a(n),$a(t)),!1):!Gp(t)||Tp(n)}function G(n,t,i,o,s){if(void 0===i&&(i=!1),void 0===s&&(s=0),524288&n.flags&&131068&t.flags)return Yd(n,t,r,i?M:void 0)?-1:(T(n,t,0,!!(4096&e.getObjectFlags(n))),0);var c=$d(n,!1),l=$d(t,!0);if(c===l)return-1;if(r===nr)return function(e,n){var t=e.flags&n.flags;if(!(66584576&t))return 0;if(3145728&t){var r=B(e,n);return r&&(r&=B(n,e)),r}return K(e,n,!1,0)}(c,l);if(262144&c.flags&&Is(c)===l)return-1;if(1048576&l.flags&&524288&c.flags&&l.types.length<=3&&Ch(l,98304)){var d=Lm(l,-98305);if(!(1179648&d.flags)){if(c===d)return-1;l=d}}if(r===er&&!(131072&l.flags)&&Yd(l,c,r)||Yd(c,l,r,i?M:void 0))return-1;var p=!!(4096&e.getObjectFlags(c)),f=!(2&s)&&Ff(c)&&32768&e.getObjectFlags(c);if(f&&function(n,t,i){if(!ug(t)||!Y&&16384&e.getObjectFlags(t))return!1;var o=!!(4096&e.getObjectFlags(n));if((r===$t||r===er)&&(hm(mn,t)||!o&&qd(t)))return!1;var s,c=t;1048576&t.flags&&(c=$T(n,t,G)||function(e){if(Ch(e,67108864)){var n=Em(e,(function(e){return!(131068&e.flags)}));if(!(131072&n.flags))return n}return e}(t),s=1048576&c.flags?c.types:[c]);for(var l=function(t){if(function(e,n){return e.valueDeclaration&&n.valueDeclaration&&e.valueDeclaration.parent===n.valueDeclaration}(t,n.symbol)&&!Zd(n,t)){if(!lg(c,t.escapedName,o)){if(i){var r=Em(c,ug);if(!a)return{value:e.Debug.fail()};if(e.isJsxAttributes(a)||e.isJsxOpeningLikeElement(a)||e.isJsxOpeningLikeElement(a.parent)){t.valueDeclaration&&e.isJsxAttribute(t.valueDeclaration)&&e.getSourceFileOfNode(a)===e.getSourceFileOfNode(t.valueDeclaration.name)&&(a=t.valueDeclaration.name);var l=Qa(t),u=Mg(l,r);(p=u?Qa(u):void 0)?M(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,$a(r),p):M(e.Diagnostics.Property_0_does_not_exist_on_type_1,l,$a(r))}else{var d=n.symbol&&e.firstOrUndefined(n.symbol.declarations),p=void 0;if(t.valueDeclaration&&e.findAncestor(t.valueDeclaration,(function(e){return e===d}))&&e.getSourceFileOfNode(d)===e.getSourceFileOfNode(a)){var f=t.valueDeclaration;e.Debug.assertNode(f,e.isObjectLiteralElementLike),a=f;var m=f.name;e.isIdentifier(m)&&(p=wg(m,r))}void 0!==p?M(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Qa(t),$a(r),p):M(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Qa(t),$a(r))}}return{value:!0}}if(s&&!G(to(t),function(n,t){return wl(e.reduceLeft(n,(function(n,r){var a=3145728&(r=js(r)).flags?qs(r,t):As(r,t),i=a&&to(a)||U_(t)&&ac(r,1)||ac(r,0)||Ae;return e.append(n,i)}),void 0)||e.emptyArray)}(s,t.escapedName),i))return i&&O(e.Diagnostics.Types_of_property_0_are_incompatible,Qa(t)),{value:!0}}},u=0,d=Cs(n);u<d.length;u++){var p=d[u],f=l(p);if("object"==typeof f)return f.value}return!1}(c,l,i))return i&&w(o,c,l),0;var m=r!==er&&!(2&s)&&2752508&c.flags&&c!==mn&&2621440&l.flags&&ap(l)&&(Cs(c).length>0||jE(c));if(m&&!function(e,n,t){for(var r=0,a=Cs(e);r<a.length;r++){var i=a[r];if(lg(n,i.escapedName,t))return!0}return!1}(c,l,p)){if(i){var _=ec(c,0),y=ec(c,1);_.length>0&&G(Ec(_[0]),l,!1)||y.length>0&&G(Ec(y[0]),l,!1)?M(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,$a(c),$a(l)):M(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,$a(c),$a(l))}return 0}var h=0,v=k();if(1048576&c.flags?h=r===er?V(c,l,i&&!(131068&c.flags),s):function(e,n,t,r){for(var a=-1,i=e.types,o=0;o<i.length;o++){var s=i[o];if(1048576&n.flags&&n.types.length===i.length){var c=G(s,n.types[o],!1,void 0,r);if(c){a&=c;continue}}var l=G(s,n,t,void 0,r);if(!l)return 0;a&=l}return a}(c,l,i&&!(131068&c.flags),s):(1048576&l.flags?h=U(of(c),l,i&&!(131068&c.flags)&&!(131068&l.flags)):2097152&l.flags?h=function(e,n,t,r){for(var a=-1,i=n.types,o=0,s=i;o<s.length;o++){var c=s[o],l=G(e,c,t,void 0,r);if(!l)return 0;a&=l}return a}(of(c),l,i,2):2097152&c.flags&&(h=V(c,l,!1,1)),!h&&(66846720&c.flags||66846720&l.flags)&&(h=K(c,l,i,s))&&R(v)),!h&&2359296&c.flags){var b=function(n,t){for(var r,a=!1,i=0,o=n;i<o.length;i++){if(63176704&(u=o[i]).flags){for(var s=Is(u);s&&21233664&s.flags;)s=Is(s);s&&(r=e.append(r,s),t&&(r=e.append(r,u)))}else 67238908&u.flags&&(a=!0)}if(r&&(t||a)){if(a)for(var c=0,l=n;c<l.length;c++){var u;67238908&(u=l[c]).flags&&(r=e.append(r,u))}return Kl(r)}}(2097152&c.flags?c.types:[c],!!(1048576&l.flags));b&&(2097152&c.flags||1048576&l.flags)&&bm(b,(function(e){return e!==c}))&&(h=G(b,l,!1,void 0,s))&&R(v)}return h&&!S&&(2097152&l.flags&&(f||m)||Lu(l)&&!Tp(l)&&!Gp(l)&&2097152&c.flags&&3670016&js(c).flags&&!e.some(c.types,(function(n){return!!(2097152&e.getObjectFlags(n))})))&&(S=!0,h&=K(c,l,i,4),S=!1),T(c,l,h,p),h;function T(r,s,c,l){if(!c&&i){r=n.aliasSymbol?n:r,s=t.aliasSymbol?t:s;var d=E>0;if(d&&E--,524288&r.flags&&524288&s.flags){var p=u;F(r,s,i),u!==p&&(d=!!u)}if(524288&r.flags&&131068&s.flags)!function(n,t){var r=ti(n.symbol)?$a(n,n.symbol.valueDeclaration):$a(n),a=ti(t.symbol)?$a(t,t.symbol.valueDeclaration):$a(t);(bn===n&&Re===t||En===n&&ke===t||Tn===n&&Ge===t||pl(!1)===n&&Be===t)&&M(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,a,r)}(r,s);else if(r.symbol&&524288&r.flags&&mn===r)M(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(l&&2097152&s.flags){var f=s.types,m=Z_(D.IntrinsicAttributes,a),_=Z_(D.IntrinsicClassAttributes,a);if(m!==Se&&_!==Se&&(e.contains(f,m)||e.contains(f,_)))return c}else u=Qs(u,t);if(!o&&d)return g=[r,s],c;w(o,r,s)}}}function B(e,n){for(var t=-1,r=0,a=e.types;r<a.length;r++){var i=U(a[r],n,!1);if(!i)return 0;t&=i}return t}function U(e,n,t){var r=n.types;if(1048576&n.flags&&Rl(r,e))return-1;for(var a=0,i=r;a<i.length;a++){var o=G(e,i[a],!1);if(o)return o}t&&G(e,tp(e,n,G)||r[r.length-1],!0);return 0}function V(e,n,t,r){var a=e.types;if(1048576&e.flags&&Rl(a,n))return-1;for(var i=a.length,o=0;o<i;o++){var s=G(a[o],n,t&&o===i-1,void 0,r);if(s)return s}return 0}function K(n,t,a,i){if(b)return 0;var o=pp(n,t,i|(S?8:0),r),s=r.get(o);if(void 0!==s&&(!(a&&2&s)||4&s)){if(tt){var c=24&s;8&c&&pd(n,Xu(H)),16&c&&pd(n,Xu(W))}return 1&s?-1:0}if(f){for(var l=0;l<y;l++)if(o===f[l])return 1;if(100===h)return b=!0,0}else f=[],m=[],_=[];var d=y;f[y]=o,y++,m[h]=n,_[h]=t,h++;var p,g=v;1&v||!gp(n,m,h)||(v|=1),2&v||!gp(t,_,h)||(v|=2);var E=0;tt&&(p=tt,tt=function(e){return E|=e?16:8,p(e)});var T=3!==v?function(n,t,a,i){if(4&i)return Q(n,t,a,void 0,0);var o,s,c=n.flags&t.flags;if(r===nr&&!(524288&c)){if(4194304&c)return G(n.type,t.type,!1);var l=0;return 8388608&c&&(l=G(n.objectType,t.objectType,!1))&&(l&=G(n.indexType,t.indexType,!1))||16777216&c&&n.root.isDistributive===t.root.isDistributive&&(l=G(n.checkType,t.checkType,!1))&&(l&=G(n.extendsType,t.extendsType,!1))&&(l&=G(gu(n),gu(t),!1))&&(l&=G(yu(n),yu(t),!1))?l:33554432&c?G(n.substitute,t.substitute,!1):0}var d=!1,p=k();if(17301504&n.flags&&n.aliasSymbol&&n.aliasTypeArguments&&n.aliasSymbol===t.aliasSymbol&&!n.aliasTypeArgumentsContainsMarker&&!t.aliasTypeArgumentsContainsMarker){if((U=op(n.aliasSymbol))===e.emptyArray)return 1;if(void 0!==(V=Y(n.aliasTypeArguments,t.aliasTypeArguments,U,i)))return V}if(Up(n)&&!n.target.readonly&&(o=G(Hc(n)[0],t))||Up(t)&&(t.target.readonly||Lp(Ms(n)||n))&&(o=G(n,Hc(t)[0])))return o;if(262144&t.flags){if(32&e.getObjectFlags(n)&&G(Xl(t),_s(n))&&!(4&bs(n))){var f=gs(n),m=lu(t,ms(n));if(o=G(f,m,a))return o}}else if(4194304&t.flags){var _=t.type;if(4194304&n.flags&&(o=G(_,n.type,!1)))return o;if(Gp(_)){if(o=G(n,Il(_),a))return o}else if((I=Rs(_))&&-1===G(n,Xl(I,t.stringsOnly),a))return-1}else if(8388608&t.flags){if(r===$t||r===er){var g=t.objectType,y=t.indexType,h=Ms(g)||g,v=Ms(y)||y;if(!tu(h)&&!ru(v))if((I=du(h,v,void 0,2|(h!==g?1:0)))&&(o=G(n,I,a)))return o}}else if(Ss(t)){var b=gs(t),E=bs(t);if(!(8&E)){if(8388608&b.flags&&b.objectType===n&&b.indexType===ms(t))return-1;if(!Ss(n)){var T=_s(t),S=Xl(n,void 0,!0),L=4&E,x=L?os(T,S):void 0;if(L?!(131072&x.flags):G(T,S)){f=gs(t);var A=ms(t),D=Lm(f,-98305);if(8388608&D.flags&&D.indexType===A){if(o=G(n,D.objectType,a))return o}else{var C=x?Kl([x,A]):A;m=lu(n,C);if(o=G(m,f,a))return o}}s=u,R(p)}}}if(8650752&n.flags){var I;if(8388608&n.flags&&8388608&t.flags){if((o=G(n.objectType,t.objectType,a))&&(o&=G(n.indexType,t.indexType,a)),o)return R(p),o}else if(!(I=Is(n))||262144&n.flags&&1&I.flags){if(o=G(Ze,Lm(t,-67108865)))return R(p),o}else{if(o=G(I,t,!1,void 0,i))return R(p),o;if(o=G(Xo(I,n),t,a,void 0,i))return R(p),o}}else if(4194304&n.flags){if(o=G(Je,t,a))return R(p),o}else if(16777216&n.flags){if(16777216&t.flags){var N=n.root.inferTypeParameters,O=n.extendsType,P=void 0;if(N){var M=yf(N,void 0,0,G);Pf(M.inferences,t.extendsType,O,768),O=pd(O,M.mapper),P=M.mapper}if(Td(O,t.extendsType)&&(G(n.checkType,t.checkType)||G(t.checkType,n.checkType))&&((o=G(pd(gu(n),P),gu(t),a))&&(o&=G(yu(n),yu(t),a)),o))return R(p),o}else{var w=Os(n);if(w&&(o=G(w,t,a)))return R(p),o}var F=ks(n);if(F&&(o=G(F,t,a)))return R(p),o}else{if(r!==Qt&&r!==Zt&&(X=t,32&e.getObjectFlags(X)&&4&bs(X))&&qd(n))return-1;if(Ss(t))return Ss(n)&&(o=function(e,n,t){if(r===er||(r===nr?bs(e)===bs(n):Ts(e)<=Ts(n))){var a,i=_s(n),o=pd(_s(e),Xu(Ts(e)<0?H:W));if(a=G(i,o,t)){var s=qu([ms(e)],[ms(n)]);return a&G(pd(gs(e),s),gs(n),t)}}return 0}(n,t,a))?(R(p),o):0;var B=!!(131068&n.flags);if(r!==nr)n=js(n);else if(Ss(n))return 0;if(4&e.getObjectFlags(n)&&4&e.getObjectFlags(t)&&n.target===t.target&&!(8192&e.getObjectFlags(n)||8192&e.getObjectFlags(t))){var U,V;if((U=cp(n.target))===e.emptyArray)return 1;if(void 0!==(V=Y(Hc(n),Hc(t),U,i)))return V}else{if(Sp(t)?Tp(n)||Gp(n):Tp(t)&&Gp(n)&&!n.target.readonly)return r!==nr?G(ac(n,1)||be,ac(t,1)||be,a):0;if((r===Qt||r===Zt)&&qd(t)&&32768&e.getObjectFlags(t)&&!qd(n))return 0}if(2621440&n.flags&&524288&t.flags){var j=a&&u===p.errorInfo&&!B;if((o=Q(n,t,j,void 0,i))&&(o&=Z(n,t,0,j))&&(o&=Z(n,t,1,j))&&(o&=re(n,t,0,B,j,i))&&(o&=re(n,t,1,B,j,i)),d&&o)u=s||u||p.errorInfo;else if(o)return o}if(2621440&n.flags&&1048576&t.flags){var K=Lm(t,36175872);if(1048576&K.flags){var z=function(n,t){var a=Zf(Cs(n),t);if(!a)return 0;for(var i=1,o=0,s=a;o<s.length;o++){var c=s[o];if((i*=Tm(to(c)))>25)return 0}for(var l=new Array(a.length),u=new e.Set,d=0;d<a.length;d++){var p=to(c=a[d]);l[d]=1048576&p.flags?p.types:[p],u.add(c.escapedName)}for(var f=e.cartesianProduct(l),m=[],_=function(i){var o=!1;e:for(var s=0,c=t.types;s<c.length;s++){for(var l=c[s],u=function(e){var o=a[e],s=Zs(l,o.escapedName);return s?o===s?"continue":J(n,t,o,s,(function(n){return i[e]}),!1,0,q||r===er)?void 0:"continue-outer":"continue-outer"},d=0;d<a.length;d++){switch(u(d)){case"continue-outer":continue e}}e.pushIfUnique(m,l,e.equateValues),o=!0}if(!o)return{value:0}},g=0,y=f;g<y.length;g++){var h=y[g],v=_(h);if("object"==typeof v)return v.value}for(var b=-1,E=0,T=m;E<T.length;E++){var S=T[E];if((b&=Q(n,S,!1,u,0))&&(b&=Z(n,S,0,!1))&&(b&=Z(n,S,1,!1))&&(!(b&=re(n,S,0,!1,!1,0))||Gp(n)&&Gp(S)||(b&=re(n,S,1,!1,!1,0))),!b)return b}return b}(n,K);if(z)return z}}}var X;return 0;function Y(n,t,i,c){if(o=function(n,t,a,i,o){if(void 0===n&&(n=e.emptyArray),void 0===t&&(t=e.emptyArray),void 0===a&&(a=e.emptyArray),n.length!==t.length&&r===nr)return 0;for(var s=n.length<=t.length?n.length:t.length,c=-1,l=0;l<s;l++){var u=l<a.length?a[l]:1,d=7&u;if(4!==d){var p=n[l],f=t[l],m=-1;if(8&u?m=r===nr?G(p,f,!1):Sd(p,f):1===d?m=G(p,f,i,void 0,o):2===d?m=G(f,p,i,void 0,o):3===d?(m=G(f,p,!1))||(m=G(p,f,i,void 0,o)):(m=G(p,f,i,void 0,o))&&(m&=G(f,p,i,void 0,o)),!m)return 0;c&=m}}return c}(n,t,i,a,c))return o;if(e.some(i,(function(e){return!!(24&e)})))return s=void 0,void R(p);var l=t&&function(e,n){for(var t=0;t<n.length;t++)if(1==(7&n[t])&&16384&e[t].flags)return!0;return!1}(t,i);if(d=!l,i!==e.emptyArray&&!l){if(d&&(!a||!e.some(i,(function(e){return 0==(7&e)}))))return 0;s=u,R(p)}}}(n,t,a,i):1;if(tt&&(tt=p),v=g,h--,T){if(-1===T||0===h){for(l=d;l<y;l++)r.set(f[l],1|E);y=d}}else r.set(o,2|(a?4:0)|E),y=d;return T}function H(e){return!tt||e!==cn&&e!==ln&&e!==rt||tt(!1),e}function W(e){return!tt||e!==cn&&e!==ln&&e!==rt||tt(!0),e}function z(e,n){if(!n||0===e.length)return e;for(var t,r=0;r<e.length;r++)n.has(e[r].escapedName)?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t||e}function J(n,t,r,a,i,o,s,c){var l=e.getDeclarationModifierFlagsFromSymbol(r),u=e.getDeclarationModifierFlagsFromSymbol(a);if(8&l||8&u){if(r.valueDeclaration!==a.valueDeclaration)return o&&(8&l&&8&u?M(e.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,Qa(a)):M(e.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,Qa(a),$a(8&l?n:t),$a(8&l?t:n))),0}else if(16&u){if(!function(n,t){return!fp(t,(function(t){return!!(16&e.getDeclarationModifierFlagsFromSymbol(t))&&(r=n,a=mp(t),!fp(r,(function(e){var n=mp(e);return!!n&&io(n,a)})));var r,a}))}(r,a))return o&&M(e.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Qa(a),$a(mp(r)||n),$a(mp(a)||t)),0}else if(16&l)return o&&M(e.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,Qa(a),$a(n),$a(t)),0;var d=function(n,t,r,a,i){var o=q&&!!(48&e.getCheckFlags(t)),s=r(n);if(65536&e.getCheckFlags(t)&&!vr(t).type){var c=vr(t);e.Debug.assertIsDefined(c.deferralParent),e.Debug.assertIsDefined(c.deferralConstituents);for(var l=!!(1048576&c.deferralParent.flags),u=l?0:-1,d=0,p=c.deferralConstituents;d<p.length;d++){var f=G(s,p[d],!1,void 0,l?0:2);if(l){if(f)return f}else{if(!f)return G(s,Di(to(t),o),a);u&=f}}return l&&!u&&o&&(u=G(s,Ae)),l&&!u&&a?G(s,Di(to(t),o),a):u}return G(s,Di(to(t),o),a,void 0,i)}(r,a,i,o,s);return d?c||!(16777216&r.flags)||16777216&a.flags?d:(o&&M(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,Qa(a),$a(n),$a(t)),0):(o&&O(e.Diagnostics.Types_of_property_0_are_incompatible,Qa(a)),0)}function X(n,t,r,a){var s=!1;if(r.valueDeclaration&&e.isNamedDeclaration(r.valueDeclaration)&&e.isPrivateIdentifier(r.valueDeclaration.name)&&n.symbol&&32&n.symbol.flags){var l=r.valueDeclaration.name.escapedText,d=e.getSymbolNameForPrivateIdentifier(n.symbol,l);if(d&&Zs(n,d)){var f=e.factory.getDeclarationName(n.symbol.valueDeclaration),m=e.factory.getDeclarationName(t.symbol.valueDeclaration);return void M(e.Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,Ir(l),Ir(""===f.escapedText?c:f),Ir(""===m.escapedText?c:m))}}var _,g=e.arrayFrom(If(n,t,a,!1));if((!i||i.code!==e.Diagnostics.Class_0_incorrectly_implements_interface_1.code&&i.code!==e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(s=!0),1===g.length){var y=Qa(r);M.apply(void 0,o([e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,y],ei(n,t))),e.length(r.declarations)&&(_=e.createDiagnosticForNode(r.declarations[0],e.Diagnostics._0_is_declared_here,y),e.Debug.assert(!!u),p?p.push(_):p=[_]),s&&u&&E++}else F(n,t,!1)&&(g.length>5?M(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,$a(n),$a(t),e.map(g.slice(0,4),(function(e){return Qa(e)})).join(", "),g.length-4):M(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,$a(n),$a(t),e.map(g,(function(e){return Qa(e)})).join(", ")),s&&u&&E++)}function Q(n,t,a,i,o){if(r===nr)return function(e,n,t){if(!(524288&e.flags&&524288&n.flags))return 0;var r=z(xs(e),t),a=z(xs(n),t);if(r.length!==a.length)return 0;for(var i=-1,o=0,s=r;o<s.length;o++){var c=s[o],l=As(n,c.escapedName);if(!l)return 0;var u=vp(c,l,G);if(!u)return 0;i&=u}return i}(n,t,i);var s=-1;if(Gp(t)){if(Tp(n)||Gp(n)){if(!t.target.readonly&&(Sp(n)||Gp(n)&&n.target.readonly))return 0;var c=Wc(n),l=Wc(t),u=Gp(n)?4&n.target.combinedFlags:4,d=4&t.target.combinedFlags,p=Gp(n)?n.target.minLength:0,f=t.target.minLength;if(!u&&c<f)return a&&M(e.Diagnostics.Source_has_0_element_s_but_target_requires_1,c,f),0;if(!d&&l<p)return a&&M(e.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,p,l),0;if(!d&&u)return a&&(p<f?M(e.Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer,f):M(e.Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more,l)),0;for(var m=Math.max(c,l),_=0;_<m;_++){var g=_<l?t.target.elementFlags[_]:d,y=Gp(n)&&_<c?n.target.elementFlags[_]:u,h=!!i;if(y&&g){if(8&g&&!(8&y)||8&y&&!(12&g))return a&&M(e.Diagnostics.Element_at_index_0_is_variadic_in_one_type_but_not_in_the_other,_),0;if(1&g&&!(1&y))return a&&M(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,_,$a(n),$a(t)),0;if(h&&((12&y||12&g)&&(h=!1),h&&(null==i?void 0:i.has(""+_))))continue;var v=Hc(n)[Math.min(_,c-1)],b=Hc(t)[Math.min(_,l-1)];if(!(k=G(v,8&y&&4&g?vl(b):b,a,void 0,o)))return a&&O(e.Diagnostics.Types_of_property_0_are_incompatible,_),0;s&=k}}return s}if(12&t.target.combinedFlags)return 0}var E=!(r!==Qt&&r!==Zt||Ff(n)||Dp(n)||Gp(n)),T=Nf(n,t,E,!1);if(T)return a&&X(n,t,T,E),0;if(Ff(t))for(var S=0,L=z(Cs(n),i);S<L.length;S++){if(!As(t,(I=L[S]).escapedName))if((v=to(I))!==Ae&&v!==De&&v!==Ce)return a&&M(e.Diagnostics.Property_0_does_not_exist_on_type_1,Qa(I),$a(t)),0}for(var x=Cs(t),A=Gp(n)&&Gp(t),D=0,C=z(x,i);D<C.length;D++){var I,N=C[D],R=N.escapedName;if(!(4194304&N.flags)&&(!A||U_(R)||"length"===R))if((I=Zs(n,R))&&I!==N){var k;if(!(k=J(n,t,I,N,to,a,o,r===er)))return 0;s&=k}}return s}function Z(n,t,a,i){if(r===nr)return function(e,n,t){var r=ec(e,t),a=ec(n,t);if(r.length!==a.length)return 0;for(var i=-1,o=0;o<r.length;o++){var s=bp(r[o],a[o],!1,!1,!1,G);if(!s)return 0;i&=s}return i}(n,t,a);if(t===rn||n===rn)return-1;var o=n.symbol&&Oy(n.symbol.valueDeclaration),s=t.symbol&&Oy(t.symbol.valueDeclaration),c=ec(n,o&&1===a?0:a),l=ec(t,s&&1===a?0:a);if(1===a&&c.length&&l.length){if(e.isAbstractConstructorType(n)&&!e.isAbstractConstructorType(t))return i&&M(e.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!function(n,t,r){if(!n.declaration||!t.declaration)return!0;var a=e.getSelectedEffectiveModifierFlags(n.declaration,24),i=e.getSelectedEffectiveModifierFlags(t.declaration,24);if(8===i)return!0;if(16===i&&8!==a)return!0;if(16!==i&&!a)return!0;r&&M(e.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,ii(a),ii(i));return!1}(c[0],l[0],i))return 0}var u=-1,d=k(),p=1===a?ee:$;if(64&e.getObjectFlags(n)&&64&e.getObjectFlags(t)&&n.symbol===t.symbol)for(var f=0;f<l.length;f++){if(!(E=ne(c[f],l[f],!0,i,p(c[f],l[f]))))return 0;u&=E}else if(1===c.length&&1===l.length){var m=r===er||!!j.noStrictGenericChecks;u=ne(c[0],l[0],m,i,p(c[0],l[0]))}else e:for(var _=0,g=l;_<g.length;_++){for(var y=g[_],h=i,v=0,b=c;v<b.length;v++){var E,T=b[v];if(E=ne(T,y,!0,h,p(T,y))){u&=E,R(d);continue e}h=!1}return h&&M(e.Diagnostics.Type_0_provides_no_match_for_the_signature_1,$a(n),Za(y,void 0,void 0,a)),0}return u}function $(n,t){return 0===n.parameters.length&&0===t.parameters.length?function(n,t){return O(e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,$a(n),$a(t))}:function(n,t){return O(e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,$a(n),$a(t))}}function ee(n,t){return 0===n.parameters.length&&0===t.parameters.length?function(n,t){return O(e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,$a(n),$a(t))}:function(n,t){return O(e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,$a(n),$a(t))}}function ne(e,n,t,a,i){return Kd(t?Cc(e):e,t?Cc(n):n,r===Zt?8:0,a,M,i,G,Xu(W))}function te(n,t,r){var a=G(n,t,r);return!a&&r&&M(e.Diagnostics.Index_signatures_are_incompatible),a}function re(n,t,a,i,o,s){if(r===nr)return function(e,n,t){var r=rc(n,t),a=rc(e,t);if(!a&&!r)return-1;if(a&&r&&a.isReadonly===r.isReadonly)return G(a.type,r.type);return 0}(n,t,a);var c=ac(t,a);if(!c||1&c.flags&&!i)return-1;if(Ss(n))return ac(t,0)?G(gs(n),c,o):0;var l=ac(n,a)||1===a&&ac(n,0);if(l)return te(l,c,o);if(!(1&s)&&rf(n)){var u=function(n,t,r,a){for(var i=-1,o=0,s=2097152&n.flags?Ds(n):xs(n);o<s.length;o++){var c=s[o];if(!Zd(n,c)){var l=vr(c).nameType;if(!(l&&8192&l.flags)&&(0===r||U_(c.escapedName))){var u=G(to(c),t,a);if(!u)return a&&M(e.Diagnostics.Property_0_is_incompatible_with_index_signature,Qa(c)),0;i&=u}}}return i}(n,c,a,o);if(u&&0===a){var d=ac(n,1);d&&(u&=te(d,c,o))}return u}return o&&M(e.Diagnostics.Index_signature_is_missing_in_type_0,$a(n)),0}}function np(n){if(16&n.flags)return!1;if(3145728&n.flags)return!!e.forEach(n.types,np);if(63176704&n.flags){var t=Is(n);if(t)return np(t)}return Rp(n)}function tp(n,t,r){return void 0===r&&(r=Ld),$T(n,t,r,!0)||function(n,t){var r=e.getObjectFlags(n);if(20&r&&1048576&t.flags)return e.find(t.types,(function(t){if(524288&t.flags){var a=r&e.getObjectFlags(t);if(4&a)return n.target===t.target;if(16&a)return!!n.aliasSymbol&&n.aliasSymbol===t.aliasSymbol}return!1}))}(n,t)||function(n,t){if(128&e.getObjectFlags(n)&&vm(t,Ap))return e.find(t.types,(function(e){return!Ap(e)}))}(n,t)||function(n,t){var r=0;if(ec(n,r).length>0||ec(n,r=1).length>0)return e.find(t.types,(function(e){return ec(e,r).length>0}))}(n,t)||function(n,t){for(var r,a=0,i=0,o=t.types;i<o.length;i++){var s=o[i],c=Kl([Xl(n),Xl(s)]);if(4194304&c.flags)r=s,a=1/0;else if(1048576&c.flags){var l=e.length(e.filter(c.types,Rp));l>=a&&(r=s,a=l)}else Rp(c)&&1>=a&&(r=s,a=1)}return r}(n,t)}function rp(n,t,r,a,i){for(var o=n.types.map((function(e){})),s=0,c=t;s<c.length;s++){var l=c[s],u=l[0],d=l[1],p=Ws(n,d);if(!(i&&p&&16&e.getCheckFlags(p)))for(var f=0,m=0,_=n.types;m<_.length;m++){var g=yi(_[m],d);g&&r(u(),g)?o[f]=void 0===o[f]||o[f]:o[f]=!1,f++}}var y=o.indexOf(!0);return-1===y||-1!==o.indexOf(!0,y+1)?a:n.types[y]}function ap(n){if(524288&n.flags){var t=Ls(n);return 0===t.callSignatures.length&&0===t.constructSignatures.length&&!t.stringIndexInfo&&!t.numberIndexInfo&&t.properties.length>0&&e.every(t.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&n.flags)&&e.every(n.types,ap)}function ip(n,t,r){var a=Vc(n,e.map(n.typeParameters,(function(e){return e===t?r:e})));return a.objectFlags|=8192,a}function op(e){var n=vr(e);return sp(n.typeParameters,n,(function(t,r,a){var i=zc(e,Hu(n.typeParameters,Ju(r,a)));return i.aliasTypeArgumentsContainsMarker=!0,i}))}function sp(n,t,r){void 0===n&&(n=e.emptyArray);var a=t.variances;if(!a){t.variances=e.emptyArray,a=[];for(var i=function(e){var n=!1,i=!1,o=tt;tt=function(e){return e?i=!0:n=!0};var s=r(t,e,cn),c=r(t,e,ln),l=(Dd(c,s)?1:0)|(Dd(s,c)?2:0);3===l&&Dd(r(t,e,rt),s)&&(l=4),tt=o,(n||i)&&(n&&(l|=8),i&&(l|=16)),a.push(l)},o=0,s=n;o<s.length;o++){i(s[o])}t.variances=a}return a}function cp(e){return e===hn||e===vn||8&e.objectFlags?V:sp(e.typeParameters,e,ip)}function lp(e){return 262144&e.flags&&!Ns(e)}function up(n){return function(n){return!!(4&e.getObjectFlags(n))&&!n.node}(n)&&e.some(Hc(n),(function(e){return lp(e)||up(e)}))}function dp(e,n,t){void 0===t&&(t=0);for(var r=""+e.target.id,a=0,i=Hc(e);a<i.length;a++){var o=i[a];if(lp(o)){var s=n.indexOf(o);s<0&&(s=n.length,n.push(o)),r+="="+s}else t<4&&up(o)?r+="<"+dp(o,n,t+1)+">":r+="-"+o.id}return r}function pp(e,n,t,r){if(r===nr&&e.id>n.id){var a=e;e=n,n=a}var i=t?":"+t:"";if(up(e)&&up(n)){var o=[];return dp(e,o)+","+dp(n,o)+i}return e.id+","+n.id+i}function fp(n,t){if(!(6&e.getCheckFlags(n)))return t(n);for(var r=0,a=n.containingType.types;r<a.length;r++){var i=Zs(a[r],n.escapedName),o=i&&fp(i,t);if(o)return o}}function mp(e){return e.parent&&32&e.parent.flags?Io(ba(e)):void 0}function _p(e){var n=mp(e),t=n&&ho(n)[0];return t&&yi(t,e.escapedName)}function gp(n,t,r){if(r>=5&&524288&n.flags){if(!Gf(n)){var a=n.symbol;if(a)for(var i=0,o=0;o<r;o++){if(524288&(c=t[o]).flags&&c.symbol===a&&++i>=5)return!0}}if(e.getObjectFlags(n)&&n.node){var s=n.target;for(i=0,o=0;o<r;o++){var c=t[o];if(e.getObjectFlags(c)&&c.node&&c.target===s&&++i>=5)return!0}}}if(r>=5&&8388608&n.flags)for(s=yp(n),i=0,o=0;o<r;o++){if(yp(c=t[o])===s&&++i>=5)return!0}return!1}function yp(e){for(var n=e;8388608&n.flags;)n=n.objectType;return n}function hp(e,n){return 0!==vp(e,n,Sd)}function vp(n,t,r){if(n===t)return-1;var a=24&e.getDeclarationModifierFlagsFromSymbol(n);if(a!==(24&e.getDeclarationModifierFlagsFromSymbol(t)))return 0;if(a){if(tE(n)!==tE(t))return 0}else if((16777216&n.flags)!=(16777216&t.flags))return 0;return Sh(n)!==Sh(t)?0:r(to(n),to(t))}function bp(n,t,r,a,i,o){if(n===t)return-1;if(!function(e,n,t){var r=eh(e),a=eh(n),i=nh(e),o=nh(n),s=th(e),c=th(n);return r===a&&i===o&&s===c||!!(t&&i<=o)}(n,t,r))return 0;if(e.length(n.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var s=qu(n.typeParameters,t.typeParameters),c=0;c<t.typeParameters.length;c++){if(!((_=n.typeParameters[c])===(f=t.typeParameters[c])||o(pd(Fc(_),s)||xe,Fc(f)||xe)&&o(pd(Us(_),s)||xe,Us(f)||xe)))return 0}n=rd(n,s,!0)}var l=-1;if(!a){var u=vc(n);if(u){var d=vc(t);if(d){if(!(m=o(u,d)))return 0;l&=m}}}var p=eh(t);for(c=0;c<p;c++){var f,m,_=Qy(n,c);if(!(m=o(f=Qy(t,c),_)))return 0;l&=m}if(!i){var g=bc(n),y=bc(t);l&=g||y?function(e,n,t){return e&&n&&Fl(e,n)?e.type===n.type?-1:e.type&&n.type?t(e.type,n.type):0:0}(g,y,o):o(Ec(n),Ec(t))}return l}function Ep(n){return function(e){for(var n,t=0,r=e;t<r.length;t++){var a=r[t],i=Op(a);if(n||(n=i),i===a||i!==n)return!1}return!0}(n)?wl(n):e.reduceLeft(n,(function(e,n){return Ad(e,n)?n:e}))}function Tp(n){return!!(4&e.getObjectFlags(n))&&(n.target===hn||n.target===vn)}function Sp(n){return!!(4&e.getObjectFlags(n))&&n.target===vn}function Lp(e){return Tp(e)&&!Sp(e)||Gp(e)&&!e.target.readonly}function xp(e){return Tp(e)?Hc(e)[0]:void 0}function Ap(e){return Tp(e)||!(98304&e.flags)&&Dd(e,Dn)}function Dp(e){var n=Tp(e)?Hc(e)[0]:void 0;return n===De||n===He}function Cp(e){return Gp(e)||!!Zs(e,"0")}function Ip(e){return Ap(e)||Cp(e)}function Np(e){return!(240512&e.flags)}function Rp(e){return!!(109440&e.flags)}function kp(n){return!!(16&n.flags)||(1048576&n.flags?!!(1024&n.flags)||e.every(n.types,Rp):Rp(n))}function Op(n){return 1024&n.flags?xo(n):128&n.flags?Re:256&n.flags?ke:2048&n.flags?Oe:512&n.flags?Ge:1048576&n.flags?wl(e.sameMap(n.types,Op)):n}function Pp(n){return 1024&n.flags&&Mu(n)?xo(n):128&n.flags&&Mu(n)?Re:256&n.flags&&Mu(n)?ke:2048&n.flags&&Mu(n)?Oe:512&n.flags&&Mu(n)?Ge:1048576&n.flags?wl(e.sameMap(n.types,Pp)):n}function Mp(n){return 8192&n.flags?Be:1048576&n.flags?wl(e.sameMap(n.types,Mp)):n}function wp(e,n){return Wh(e,n)||(e=Mp(Pp(e))),e}function Fp(e,n,t,r){e&&Rp(e)&&(e=wp(e,n?Kb(t,n,r):void 0));return e}function Gp(n){return!!(4&e.getObjectFlags(n)&&8&n.target.objectFlags)}function Bp(e){return Gp(e)&&!!(8&e.target.combinedFlags)}function Up(e){return Bp(e)&&1===e.target.elementFlags.length}function Vp(e){return Kp(e,e.target.fixedLength)}function jp(n){return Gp(n)?Wc(n)-e.findLastIndex(n.target.elementFlags,(function(e){return!(3&e)}))-1:0}function Kp(e,n,t,r){void 0===t&&(t=0),void 0===r&&(r=!1);var a=Wc(e)-t;if(n<a){for(var i=Hc(e),o=[],s=n;s<a;s++){var c=i[s];o.push(8&e.target.elementFlags[s]?lu(c,ke):c)}return r?Kl(o):wl(o)}}function Hp(e){return"0"===e.value.base10Value}function Wp(e){for(var n=0,t=0,r=e;t<r.length;t++){n|=qp(r[t])}return n}function qp(e){return 1048576&e.flags?Wp(e.types):128&e.flags?""===e.value?128:0:256&e.flags?0===e.value?256:0:2048&e.flags?Hp(e)?2048:0:512&e.flags?e===Pe||e===Me?512:0:117724&e.flags}function zp(e){return 117632&qp(e)?Em(e,(function(e){return!(117632&qp(e))})):e}function Jp(e){return 4&e.flags?xt:8&e.flags?At:64&e.flags?Dt:e===Me||e===Pe||114688&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&Hp(e)?e:Ve}function Xp(e,n){var t=n&~e.flags&98304;return 0===t?e:wl(32768===t?[e,Ae]:65536===t?[e,Ie]:[e,Ae,Ie])}function Yp(n){return e.Debug.assert(q),32768&n.flags?n:wl([n,Ae])}function Qp(e){return q?function(e){return Cn||(Cn=ll("NonNullable",524288,void 0)||he),Cn!==he?zc(Cn,[e]):am(e,2097152)}(e):e}function Zp(e){return q?wl([e,Ce]):e}function $p(e){return e!==Ce}function ef(e){return q?Em(e,$p):e}function nf(n,t,r){return r?e.isOutermostOptionalChain(t)?Yp(n):Zp(n):n}function tf(n,t){return e.isExpressionOfOptionalChainRoot(t)?Qp(n):e.isOptionalChain(t)?ef(n):n}function rf(n){return 2097152&n.flags?e.every(n.types,rf):!(!n.symbol||0==(7040&n.symbol.flags)||jE(n))||!!(2048&e.getObjectFlags(n)&&rf(n.source))}function af(n,t){var r=ur(n.flags,n.escapedName,8&e.getCheckFlags(n));r.declarations=n.declarations,r.parent=n.parent,r.type=t,r.target=n,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration);var a=vr(n).nameType;return a&&(r.nameType=a),r}function of(n){if(!(Ff(n)&&32768&e.getObjectFlags(n)))return n;var t=n.regularType;if(t)return t;var r=n,a=function(n,t){for(var r=e.createSymbolTable(),a=0,i=xs(n);a<i.length;a++){var o=i[a],s=to(o),c=t(s);r.set(o.escapedName,c===s?o:af(o,c))}return r}(n,of),i=wa(r.symbol,a,r.callSignatures,r.constructSignatures,r.stringIndexInfo,r.numberIndexInfo);return i.flags=r.flags,i.objectFlags|=-32769&r.objectFlags,n.regularType=i,i}function sf(e,n,t){return{parent:e,propertyName:n,siblings:t,resolvedProperties:void 0}}function cf(n){if(!n.resolvedProperties){for(var t=new e.Map,r=0,a=function e(n){if(!n.siblings){for(var t=[],r=0,a=e(n.parent);r<a.length;r++){var i=a[r];if(Ff(i)){var o=As(i,n.propertyName);o&&vm(to(o),(function(e){t.push(e)}))}}n.siblings=t}return n.siblings}(n);r<a.length;r++){var i=a[r];if(Ff(i)&&!(1024&e.getObjectFlags(i)))for(var o=0,s=Cs(i);o<s.length;o++){var c=s[o];t.set(c.escapedName,c)}}n.resolvedProperties=e.arrayFrom(t.values())}return n.resolvedProperties}function lf(e,n){if(!(4&e.flags))return e;var t=to(e),r=pf(t,n&&sf(n,e.escapedName,void 0));return r===t?e:af(e,r)}function uf(e){var n=ye.get(e.escapedName);if(n)return n;var t=af(e,Ae);return t.flags|=16777216,ye.set(e.escapedName,t),t}function df(e){return pf(e,void 0)}function pf(n,t){if(1572864&e.getObjectFlags(n)){if(void 0===t&&n.widened)return n.widened;var r=void 0;if(98305&n.flags)r=be;else if(Ff(n))r=function(n,t){for(var r=e.createSymbolTable(),a=0,i=xs(n);a<i.length;a++){var o=i[a];r.set(o.escapedName,lf(o,t))}if(t)for(var s=0,c=cf(t);s<c.length;s++){o=c[s];r.has(o.escapedName)||r.set(o.escapedName,uf(o))}var l=rc(n,0),u=rc(n,1),d=wa(n.symbol,r,e.emptyArray,e.emptyArray,l&&Pc(df(l.type),l.isReadonly),u&&Pc(df(u.type),u.isReadonly));return d.objectFlags|=2113536&e.getObjectFlags(n),d}(n,t);else if(1048576&n.flags){var a=t||sf(void 0,void 0,n.types),i=e.sameMap(n.types,(function(e){return 98304&e.flags?e:pf(e,a)}));r=wl(i,e.some(i,qd)?2:1)}else 2097152&n.flags?r=Kl(e.sameMap(n.types,df)):(Tp(n)||Gp(n))&&(r=Vc(n.target,e.sameMap(Hc(n),df)));return r&&void 0===t&&(n.widened=r),r||n}return n}function ff(n,t,r){var a=$a(df(t));if(!e.isInJSFile(n)||e.isCheckJsEnabledForFile(e.getSourceFileOfNode(n),j)){var i;switch(n.kind){case 213:case 162:case 161:i=Y?e.Diagnostics.Member_0_implicitly_has_an_1_type:e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 159:var o=n;if(e.isIdentifier(o.name)&&(e.isCallSignatureDeclaration(o.parent)||e.isMethodSignature(o.parent)||e.isFunctionTypeNode(o.parent))&&o.parent.parameters.indexOf(o)>-1&&(xr(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o);return void cr(Y,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name))}i=n.dotDotDotToken?Y?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Y?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 195:if(i=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!Y)return;break;case 304:return void or(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 248:case 164:case 163:case 166:case 167:case 205:case 206:if(Y&&!n.name)return void or(n,3===r?e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);i=Y?3===r?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 189:return void(Y&&or(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:i=Y?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}cr(Y,n,i,e.declarationNameToString(e.getNameOfDeclaration(n)),a)}}function mf(n,r,a){!(t&&Y&&524288&e.getObjectFlags(r))||a&&O_(n)||function n(t){var r=!1;if(524288&e.getObjectFlags(t)){if(1048576&t.flags)if(e.some(t.types,qd))r=!0;else for(var a=0,i=t.types;a<i.length;a++){n(d=i[a])&&(r=!0)}if(Tp(t)||Gp(t))for(var o=0,s=Hc(t);o<s.length;o++){n(d=s[o])&&(r=!0)}if(Ff(t))for(var c=0,l=xs(t);c<l.length;c++){var u=l[c],d=to(u);524288&e.getObjectFlags(d)&&(n(d)||or(u.valueDeclaration,e.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,Qa(u),$a(df(d))),r=!0)}}return r}(r)||ff(n,r,a)}function _f(e,n,t){var r=eh(e),a=eh(n),i=rh(e),o=rh(n),s=o?a-1:a,c=i?s:Math.min(r,s),l=vc(e);if(l){var u=vc(n);u&&t(l,u)}for(var d=0;d<c;d++)t(Qy(e,d),Qy(n,d));o&&t($y(e,c),o)}function gf(e,n,t){var r=bc(e),a=bc(n);r&&a&&Fl(r,a)&&r.type&&a.type?t(r.type,a.type):t(Ec(e),Ec(n))}function yf(e,n,t,r){return hf(e.map(Ef),n,t,r||Ld)}function hf(e,n,t,r){var a={inferences:e,signature:n,flags:t,compareTypes:r,mapper:Xu((function(e){return vf(a,e,!0)})),nonFixingMapper:Xu((function(e){return vf(a,e,!1)}))};return a}function vf(e,n,t){for(var r=e.inferences,a=0;a<r.length;a++){var i=r[a];if(n===i.typeParameter)return t&&!i.isFixed&&(bf(r),i.isFixed=!0),Vf(e,a)}return n}function bf(e){for(var n=0,t=e;n<t.length;n++){var r=t[n];r.isFixed||(r.inferredType=void 0)}}function Ef(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function Tf(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed,impliedArity:e.impliedArity}}function Sf(e){return e&&e.mapper}function Lf(n){var t=e.getObjectFlags(n);if(67108864&t)return!!(134217728&t);var r=!!(63176704&n.flags||524288&n.flags&&!xf(n)&&(4&t&&(n.node||e.forEach(Hc(n),Lf))||16&t&&n.symbol&&14384&n.symbol.flags&&n.symbol.declarations||131104&t)||3145728&n.flags&&!(1024&n.flags)&&!xf(n)&&e.some(n.types,Lf));return 3899393&n.flags&&(n.objectFlags|=67108864|(r?134217728:0)),r}function xf(n){if(n.aliasSymbol&&!n.aliasTypeArguments){var t=e.getDeclarationOfKind(n.aliasSymbol,251);return!(!t||!e.findAncestor(t.parent,(function(e){return 294===e.kind||253!==e.kind&&"quit"})))}return!1}function Af(n,t){return!!(n===t||3145728&n.flags&&e.some(n.types,(function(e){return Af(e,t)}))||16777216&n.flags&&(Af(gu(n),t)||Af(yu(n),t)))}function Df(n,t,r){if(!ht){var a=n.id+","+t.id+","+r.id;if(yt.has(a))return yt.get(a);ht=!0;var i=function(n,t,r){if(!(rc(n,0)||0!==Cs(n).length&&function n(t){return!(2097152&e.getObjectFlags(t))||Ff(t)&&e.some(Cs(t),(function(e){return n(to(e))}))}(n)))return;if(Tp(n))return vl(Cf(Hc(n)[0],t,r),Sp(n));if(Gp(n)){var a=e.map(Hc(n),(function(e){return Cf(e,t,r)})),i=4&bs(t)?e.sameMap(n.target.elementFlags,(function(e){return 2&e?1:e})):n.target.elementFlags;return xl(a,i,n.target.readonly,n.target.labeledElementDeclarations)}var o=Ra(2064,void 0);return o.source=n,o.mappedType=t,o.constraintType=r,o}(n,t,r);return ht=!1,yt.set(a,i),i}}function Cf(e,n,t){var r=lu(t.type,ms(n)),a=gs(n),i=Ef(r);return Pf([i],e,a),Rf(i)||xe}function If(n,t,r,a){var i,o,s,c,u,d,p;return l(this,(function(l){switch(l.label){case 0:i=Cs(t),o=0,s=i,l.label=1;case 1:return o<s.length?Fo(c=s[o])||!r&&(16777216&c.flags||48&e.getCheckFlags(c))?[3,5]:(u=Zs(n,c.escapedName))?[3,3]:[4,c]:[3,6];case 2:return l.sent(),[3,5];case 3:return a&&109440&(d=to(c)).flags?1&(p=to(u)).flags||Pu(p)===Pu(d)?[3,5]:[4,c]:[3,5];case 4:l.sent(),l.label=5;case 5:return o++,[3,1];case 6:return[2]}}))}function Nf(e,n,t,r){var a=If(e,n,t,r).next();if(!a.done)return a.value}function Rf(e){return e.candidates?wl(e.candidates,2):e.contraCandidates?Kl(e.contraCandidates):void 0}function kf(e){return!!br(e).skipDirectInference}function Of(n){return!(!n.symbol||!e.some(n.symbol.declarations,kf))}function Pf(n,t,r,a,i){var o,s;void 0===a&&(a=0),void 0===i&&(i=!1);var c,l=!1,u=1024,d=!0,p=0,f=[];function m(t,o){if(Lf(o)){if(t===Te){var s=c;return c=t,m(o,o),void(c=s)}if(t.aliasSymbol&&t.aliasTypeArguments&&t.aliasSymbol===o.aliasSymbol)h(t.aliasTypeArguments,o.aliasTypeArguments,op(t.aliasSymbol));else if(t===o&&3145728&t.flags)for(var p=0,f=t.types;p<f.length;p++){var v=f[p];m(v,v)}else{if(1048576&o.flags){var S=y(1048576&t.flags?t.types:[t],o.types,Mf),L=y(S[0],S[1],wf),x=L[0];if(0===(D=L[1]).length)return;if(o=wl(D),0===x.length)return void _(t,o,1);t=wl(x)}else if(2097152&o.flags&&e.some(o.types,(function(e){return!!b(e)||Ss(e)&&!!b(od(e)||Ve)}))){if(!(1048576&t.flags)){var A=y(2097152&t.flags?t.types:[t],o.types,Td),D=(x=A[0],A[1]);if(0===x.length||0===D.length)return;t=Kl(x),o=Kl(D)}}else 41943040&o.flags&&(o=mu(o));if(8650752&o.flags){if(2097152&e.getObjectFlags(t)||t===Le||t===je||64&a&&(t===Ee||t===An)||Of(t))return;var C=b(o);if(C){if(!C.isFixed){if((void 0===C.priority||a<C.priority)&&(C.candidates=void 0,C.contraCandidates=void 0,C.topLevel=!0,C.priority=a),a===C.priority){var I=c||t;i&&!l?e.contains(C.contraCandidates,I)||(C.contraCandidates=e.append(C.contraCandidates,I),bf(n)):e.contains(C.candidates,I)||(C.candidates=e.append(C.candidates,I),bf(n))}!(64&a)&&262144&o.flags&&C.topLevel&&!Af(r,o)&&(C.topLevel=!1,bf(n))}return void(u=Math.min(u,a))}if((F=iu(o,!1))!==o)g(t,F,m);else if(8388608&o.flags){var N=iu(o.indexType,!1);if(63176704&N.flags){var R=ou(iu(o.objectType,!1),N,!1);R&&R!==o&&g(t,R,m)}}}if(!(4&e.getObjectFlags(t)&&4&e.getObjectFlags(o)&&(t.target===o.target||Tp(t)&&Tp(o)))||t.node&&o.node)if(4194304&t.flags&&4194304&o.flags)i=!i,m(t.type,o.type),i=!i;else if((kp(t)||4&t.flags)&&4194304&o.flags){var k=function(n){var t=e.createSymbolTable();vm(n,(function(n){if(128&n.flags){var r=e.escapeLeadingUnderscores(n.value),a=ur(4,r);a.type=be,n.symbol&&(a.declarations=n.symbol.declarations,a.valueDeclaration=n.symbol.valueDeclaration),t.set(r,a)}}));var r=4&n.flags?Pc(Ze,!1):void 0;return wa(void 0,t,e.emptyArray,e.emptyArray,r,void 0)}(t);i=!i,_(k,o.type,128),i=!i}else if(8388608&t.flags&&8388608&o.flags)m(t.objectType,o.objectType),m(t.indexType,o.indexType);else if(16777216&t.flags&&16777216&o.flags)m(t.checkType,o.checkType),m(t.extendsType,o.extendsType),m(gu(t),gu(o)),m(yu(t),yu(o));else if(16777216&o.flags){var O=a;a|=i?32:0,E(t,[gu(o),yu(o)],o.flags),a=O}else if(3145728&o.flags)E(t,o.types,o.flags);else if(1048576&t.flags)for(var P=0,M=t.types;P<M.length;P++){m(M[P],o)}else{if(t=zs(t),!(256&a&&65273856&t.flags)){var w=js(t);if(w!==t&&d&&!(2621440&w.flags))return d=!1,m(w,o);t=w}2621440&t.flags&&g(t,o,T)}else h(Hc(t),Hc(o),cp(t.target));var F;if(25165824&t.flags)(F=iu(t,i))!==t&&m(F,o)}}}function _(e,n,t){var r=a;a|=t,m(e,n),a=r}function g(n,t,r){var a=n.id+","+t.id,i=s&&s.get(a);if(void 0===i){(s||(s=new e.Map)).set(a,-1);var o=u;u=1024,r(n,t),s.set(a,u),u=Math.min(u,o)}else u=Math.min(u,i)}function y(n,t,r){for(var a,i,o=0,s=t;o<s.length;o++)for(var c=s[o],l=0,u=n;l<u.length;l++){var d=u[l];r(d,c)&&(m(d,c),a=e.appendIfUnique(a,d),i=e.appendIfUnique(i,c))}return[a?e.filter(n,(function(n){return!e.contains(a,n)})):n,i?e.filter(t,(function(n){return!e.contains(i,n)})):t]}function h(e,n,t){for(var r=e.length<n.length?e.length:n.length,a=0;a<r;a++)a<t.length&&2==(7&t[a])?v(e[a],n[a]):m(e[a],n[a])}function v(e,n){z||512&a?(i=!i,m(e,n),i=!i):m(e,n)}function b(e){if(8650752&e.flags)for(var t=0,r=n;t<r.length;t++){var a=r[t];if(e===a.typeParameter)return a}}function E(n,t,r){var i=0;if(1048576&r){for(var o=void 0,s=1048576&n.flags?n.types:[n],c=new Array(s.length),l=!1,d=0,p=t;d<p.length;d++){if(b(L=p[d]))o=L,i++;else for(var f=0;f<s.length;f++){var g=u;u=1024,m(s[f],L),u===a&&(c[f]=!0),l=l||-1===u,u=Math.min(u,g)}}if(0===i){var y=function(n){for(var t,r=0,a=n;r<a.length;r++){var i=a[r],o=2097152&i.flags&&e.find(i.types,(function(e){return!!b(e)}));if(!o||t&&o!==t)return;t=o}return t}(t);return void(y&&_(n,y,1))}if(1===i&&!l){var h=e.flatMap(s,(function(e,n){return c[n]?void 0:e}));if(h.length)return void m(wl(h),o)}}else for(var v=0,E=t;v<E.length;v++){b(L=E[v])?i++:m(n,L)}if(2097152&r?1===i:i>0)for(var T=0,S=t;T<S.length;T++){var L;b(L=S[T])&&_(n,L,1)}}function T(n,t){var r=524288&t.flags&&!(16&e.getObjectFlags(t)&&t.symbol&&32&t.symbol.flags),a=4&e.getObjectFlags(t)&&t.node?$d(t,!1):r?Gp(t)?t.target:t.symbol:void 0;if(a){if(e.contains(o,a)){if(4&e.getObjectFlags(t)&&t.node)return;return void(u=-1)}if(f[p]=t,p++,gp(t,f,p))return u=-1,void p--;(o||(o=[])).push(a),S(n,t),o.pop(),p--}else S(n,t)}function S(n,t){if(4&e.getObjectFlags(n)&&4&e.getObjectFlags(t)&&(n.target===t.target||Tp(n)&&Tp(t)))h(Hc(n),Hc(t),cp(n.target));else{var r,a;if(Ss(n)&&Ss(t)&&(m(_s(n),_s(t)),m(gs(n),gs(t))),32&e.getObjectFlags(t))if(function n(t,r,a){if(1048576&a.flags){for(var i=!1,o=0,s=a.types;o<s.length;o++){i=n(t,r,s[o])||i}return i}if(4194304&a.flags){var c=b(a.type);if(c&&!c.isFixed&&!Of(t)){var l=Df(t,r,a);l&&_(l,c.typeParameter,2097152&e.getObjectFlags(t)?8:4)}return!0}if(262144&a.flags){_(Xl(t),a,16);var u=Is(a);if(u&&n(t,r,u))return!0;var d=e.map(Cs(t),to),p=ac(t,0),f=Jl(t),g=f&&f.type;return m(wl(e.append(e.append(d,p),g)),gs(r)),!0}return!1}(n,t,_s(t)))return;if(!function(e,n){return Gp(e)&&Gp(n)?function(e,n){return!(8&n.target.combinedFlags)&&n.target.minLength>e.target.minLength||!n.target.hasRestElement&&(e.target.hasRestElement||n.target.fixedLength<e.target.fixedLength)}(e,n):!!Nf(e,n,!1,!0)&&!!Nf(n,e,!1,!0)}(n,t)){if(Tp(n)||Gp(n)){if(Gp(t)){var i=Wc(n),o=Wc(t),s=Hc(t),c=t.target.elementFlags;if(Gp(n)&&(a=t,Wc(r=n)===Wc(a)&&e.every(r.target.elementFlags,(function(e,n){return(12&e)==(12&a.target.elementFlags[n])})))){for(var l=0;l<o;l++)m(Hc(n)[l],s[l]);return}var u=Gp(n)?Math.min(n.target.fixedLength,t.target.fixedLength):0,d=!Gp(n)||i>0&&4&n.target.elementFlags[i-1]?Hc(n)[i-1]:void 0,p=12&t.target.combinedFlags?d?jp(t):Math.min(jp(n),jp(t)):0,f=d?0:p;for(l=0;l<u;l++)m(Hc(n)[l],s[l]);if(d&&i-u==1)for(l=u;l<o-p;l++)m(8&c[l]?vl(d):d,s[l]);else{var g=o-u-p;if(2===g&&c[u]&c[u+1]&8&&Gp(n)){var y=b(s[u]);y&&void 0!==y.impliedArity&&(m(Cl(n,u,f+i-y.impliedArity),s[u]),m(Cl(n,u+y.impliedArity,f),s[u+1]))}else if(1===g&&8&c[u]){var v=2&t.target.elementFlags[o-1];_(Gp(n)?Cl(n,u,f):vl(d),s[u],v?2:0)}else if(1===g&&4&c[u]){var E=Gp(n)?Kp(n,u,f):d;E&&m(E,s[u])}}for(l=0;l<p;l++)m(d||Hc(n)[i-l-1],s[o-l-1]);return}if(Tp(t))return void A(n,t)}!function(e,n){for(var t=xs(n),r=0,a=t;r<a.length;r++){var i=a[r],o=Zs(e,i.escapedName);o&&m(to(o),to(i))}}(n,t),L(n,t,0),L(n,t,1),A(n,t)}}}function L(n,t,r){for(var a=ec(n,r),i=ec(t,r),o=a.length,s=i.length,c=o<s?o:s,l=!!(2097152&e.getObjectFlags(n)),u=0;u<c;u++)x(Nc(a[o-c+u]),Cc(i[s-c+u]),l)}function x(e,n,t){if(!t){var r=l,a=n.declaration?n.declaration.kind:0;l=l||164===a||163===a||165===a,_f(e,n,v),l=r}gf(e,n,m)}function A(e,n){var t=ac(n,0);t&&((r=ac(e,0)||ic(e,0))&&m(r,t));var r,a=ac(n,1);a&&((r=ac(e,1)||ac(e,0)||ic(e,1))&&m(r,a))}m(t,r)}function Mf(e,n){return Td(e,n)||!!(4&n.flags&&128&e.flags||8&n.flags&&256&e.flags)}function wf(e,n){return!!(524288&e.flags&&524288&n.flags&&e.symbol&&e.symbol===n.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===n.aliasSymbol)}function Ff(n){return!!(128&e.getObjectFlags(n))}function Gf(n){return!!(65664&e.getObjectFlags(n))}function Bf(n){return 208&n.priority?Kl(n.contraCandidates):(t=n.contraCandidates,e.reduceLeft(t,(function(e,n){return Ad(n,e)?n:e})));var t}function Uf(n,t){var r,a,i=function(n){if(n.length>1){var t=e.filter(n,Gf);if(t.length){var r=wl(t,2);return e.concatenate(e.filter(n,(function(e){return!Gf(e)})),[r])}}return n}(n.candidates),o=(r=n.typeParameter,!!(a=Ns(r))&&Ch(16777216&a.flags?ks(a):a,4325372)),s=!o&&n.topLevel&&(n.isFixed||!Af(Ec(t),n.typeParameter)),c=o?e.sameMap(i,Pu):s?e.sameMap(i,Pp):i;return df(208&n.priority?wl(c,2):function(n){if(!q)return Ep(n);var t=e.filter(n,(function(e){return!(98304&e.flags)}));return t.length?Xp(Ep(t),98304&Wp(n)):wl(n,2)}(c))}function Vf(n,t){var r=n.inferences[t];if(!r.inferredType){var a=void 0,i=n.signature;if(i){var o=r.candidates?Uf(r,i):void 0;if(r.contraCandidates){var s=Bf(r);a=!o||131072&o.flags||!Ad(o,s)?s:o}else if(o)a=o;else if(1&n.flags)a=je;else{var c=Us(r.typeParameter);c&&(a=pd(c,$u(function(n,t){return Xu((function(r){return e.findIndex(n.inferences,(function(e){return e.typeParameter===r}))>=t?xe:r}))}(n,t),n.nonFixingMapper)))}}else a=Rf(r);r.inferredType=a||jf(!!(2&n.flags));var l=Ns(r.typeParameter);if(l){var u=pd(l,n.nonFixingMapper);a&&n.compareTypes(a,Xo(u,a))||(r.inferredType=a=u)}}return r.inferredType}function jf(e){return e?be:xe}function Kf(e){for(var n=[],t=0;t<e.inferences.length;t++)n.push(Vf(e,t));return n}function Hf(n){switch(n.escapedText){case"document":case"console":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return j.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery;case"describe":case"suite":case"it":case"test":return j.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha;case"process":case"require":case"Buffer":case"module":return j.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode;case"Map":case"Set":case"Promise":case"Symbol":case"WeakMap":case"WeakSet":case"Iterator":case"AsyncIterator":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later;default:return 286===n.parent.kind?e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:e.Diagnostics.Cannot_find_name_0}}function Wf(n){var t=br(n);return t.resolvedSymbol||(t.resolvedSymbol=!e.nodeIsMissing(n)&&xr(n,n.escapedText,1160127,Hf(n),n,!e.isWriteOnlyAccess(n),!1,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1)||he),t.resolvedSymbol}function qf(n){return!!e.findAncestor(n,(function(e){return 175===e.kind||78!==e.kind&&156!==e.kind&&"quit"}))}function zf(n,t){switch(t.kind){case 204:case 222:return zf(n,t.expression);case 213:return e.isAssignmentExpression(t)&&zf(n,t.left)}switch(n.kind){case 78:return 78===t.kind&&Wf(n)===Wf(t)||(246===t.kind||195===t.kind)&&xa(Wf(n))===va(t);case 107:return 107===t.kind;case 105:return 105===t.kind;case 222:case 204:return zf(n.expression,t);case 198:case 199:return e.isAccessExpression(t)&&Jf(n)===Jf(t)&&zf(n.expression,t.expression)}return!1}function Jf(n){return 198===n.kind?n.name.escapedText:e.isStringOrNumericLiteralLike(n.argumentExpression)?e.escapeLeadingUnderscores(n.argumentExpression.text):void 0}function Xf(n,t){for(;e.isAccessExpression(n);)if(zf(n=n.expression,t))return!0;return!1}function Yf(n,t){for(;e.isOptionalChain(n);)if(zf(n=n.expression,t))return!0;return!1}function Qf(n,t){if(n&&1048576&n.flags){var r=Ws(n,t);if(r&&2&e.getCheckFlags(r))return void 0===r.isDiscriminantProperty&&(r.isDiscriminantProperty=192==(192&r.checkFlags)&&!Ch(to(r),63176704)),!!r.isDiscriminantProperty}return!1}function Zf(e,n){for(var t,r=0,a=e;r<a.length;r++){var i=a[r];if(Qf(n,i.escapedName)){if(t){t.push(i);continue}t=[i]}}return t}function $f(e,n){return zf(e,n)||Xf(e,n)}function em(e){return(!e.id||e.id<0)&&(e.id=f,f++),e.id}function nm(e,n){if(e!==n){if(131072&n.flags)return n;var t=Em(e,(function(e){return function(e,n){if(!(1048576&e.flags))return Dd(e,n);for(var t=0,r=e.types;t<r.length;t++){if(Dd(r[t],n))return!0}return!1}(n,e)}));if(512&n.flags&&Mu(n)&&(t=Sm(t,Ou)),Dd(n,t))return t}return e}function tm(e){var n=Ls(e);return!!(n.callSignatures.length||n.constructSignatures.length||n.members.get("bind")&&Ad(e,_n))}function rm(n){var t=n.flags;if(4&t)return q?16317953:16776705;if(128&t){var r=""===n.value;return q?r?12123649:7929345:r?12582401:16776705}if(40&t)return q?16317698:16776450;if(256&t){var a=0===n.value;return q?a?12123394:7929090:a?12582146:16776450}if(64&t)return q?16317188:16775940;if(2048&t){a=Hp(n);return q?a?12122884:7928580:a?12581636:16775940}return 16&t?q?16316168:16774920:528&t?q?n===Pe||n===Me?12121864:7927560:n===Pe||n===Me?12580616:16774920:524288&t?16&e.getObjectFlags(n)&&qd(n)?q?16318463:16777215:tm(n)?q?7880640:16728e3:q?7888800:16736160:49152&t?9830144:65536&t?9363232:12288&t?q?7925520:16772880:67108864&t?q?7888800:16736160:131072&t?0:63176704&t?rm(Ms(n)||xe):3145728&t?function(e){for(var n=0,t=0,r=e;t<r.length;t++){n|=rm(r[t])}return n}(n.types):16777215}function am(e,n){return Em(e,(function(e){return 0!=(rm(e)&n)}))}function im(e,n){if(n){var t=tv(n);return wl([am(e,524288),t])}return e}function om(e,n){var t=Wl(n);if(!Bo(t))return Se;var r=Ho(t);return Xm(yi(e,r),n)||U_(r)&&ac(e,1)||ac(e,0)||Se}function sm(e,n){return bm(e,Cp)&&function(e,n){var t=yi(e,""+n);return t||(bm(e,Gp)?Sm(e,(function(e){return Vp(e)||Ae})):void 0)}(e,n)||bb(65,e,Ae,void 0)||Se}function cm(e){return vl(bb(65,e,Ae,void 0)||Se)}function lm(e){return 213===e.parent.kind&&e.parent.left===e||236===e.parent.kind&&e.parent.initializer===e}function um(e){return om(dm(e.parent),e.name)}function dm(e){var n=e.parent;switch(n.kind){case 235:return Re;case 236:return vb(n)||Se;case 213:return function(e){return 196===e.parent.kind&&lm(e.parent)||285===e.parent.kind&&lm(e.parent.parent)?im(dm(e),e.right):tv(e.right)}(n);case 207:return Ae;case 196:return function(e,n){return sm(dm(e),e.elements.indexOf(n))}(n,e);case 217:return function(e){return cm(dm(e.parent))}(n);case 285:return um(n);case 286:return function(e){return im(um(e),e.objectAssignmentInitializer)}(n)}return Se}function pm(e){return br(e).resolvedType||tv(e)}function fm(e){return 246===e.kind?function(e){return e.initializer?pm(e.initializer):235===e.parent.parent.kind?Re:236===e.parent.parent.kind&&vb(e.parent.parent)||Se}(e):function(e){var n=e.parent,t=fm(n.parent);return im(193===n.kind?om(t,e.propertyName||e.name):e.dotDotDotToken?cm(t):sm(t,n.elements.indexOf(e)),e.initializer)}(e)}function mm(e){switch(e.kind){case 204:return mm(e.expression);case 213:switch(e.operatorToken.kind){case 62:case 74:case 75:case 76:return mm(e.left);case 27:return mm(e.right)}}return e}function _m(e){return 281===e.kind?Pu(tv(e.expression)):Ve}function gm(e){var n=br(e);if(!n.switchTypes){n.switchTypes=[];for(var t=0,r=e.caseBlock.clauses;t<r.length;t++){var a=r[t];n.switchTypes.push(_m(a))}}return n.switchTypes}function ym(n,t){for(var r=[],a=0,i=n.caseBlock.clauses;a<i.length;a++){var o=i[a];if(281===o.kind){if(e.isStringLiteralLike(o.expression)){r.push(o.expression.text);continue}return e.emptyArray}t&&r.push(void 0)}return r}function hm(e,n){return e===n||1048576&n.flags&&function(e,n){if(1048576&e.flags){for(var t=0,r=e.types;t<r.length;t++){var a=r[t];if(!Rl(n.types,a))return!1}return!0}if(1024&e.flags&&xo(e)===n)return!0;return Rl(n.types,e)}(e,n)}function vm(n,t){return 1048576&n.flags?e.forEach(n.types,t):t(n)}function bm(n,t){return 1048576&n.flags?e.every(n.types,t):t(n)}function Em(n,t){if(1048576&n.flags){var r=n.types,a=e.filter(r,t);return a===r?n:Gl(a,n.objectFlags)}return 131072&n.flags||t(n)?n:Ve}function Tm(e){return 1048576&e.flags?e.types.length:1}function Sm(e,n,t){if(131072&e.flags)return e;if(!(1048576&e.flags))return n(e);for(var r,a=0,i=e.types;a<i.length;a++){var o=n(i[a]);o&&(r?r.push(o):r=[o])}return r&&wl(r,t?0:1)}function Lm(e,n){return Em(e,(function(e){return 0!=(e.flags&n)}))}function xm(e,n){return hm(Re,e)&&Ch(n,128)||hm(ke,e)&&Ch(n,256)||hm(Oe,e)&&Ch(n,2048)?Sm(e,(function(e){return 4&e.flags?Lm(n,132):8&e.flags?Lm(n,264):64&e.flags?Lm(n,2112):e})):e}function Am(e){return 0===e.flags}function Dm(e){return 0===e.flags?e.type:e}function Cm(e,n){return n?{flags:0,type:131072&e.flags?je:e}:e}function Im(e){return ge[e.id]||(ge[e.id]=function(e){var n=Ra(256);return n.elementType=e,n}(e))}function Nm(e,n){var t=of(Op(av(n)));return hm(t,e.elementType)?e:Im(wl([e.elementType,t]))}function Rm(e){return e.finalArrayType||(e.finalArrayType=131072&(n=e.elementType).flags?An:vl(1048576&n.flags?wl(n.types,2):n));var n}function km(n){return 256&e.getObjectFlags(n)?Rm(n):n}function Om(n){return 256&e.getObjectFlags(n)?n.elementType:Ve}function Pm(n,t){return function(n){for(var t=!1,r=0,a=n;r<a.length;r++){var i=a[r];if(!(131072&i.flags)){if(!(256&e.getObjectFlags(i)))return!1;t=!0}}return t}(n)?Im(wl(e.map(n,Om))):wl(e.sameMap(n,km),t)}function Mm(n){var t=function e(n){var t=n.parent;return 204===t.kind||213===t.kind&&62===t.operatorToken.kind&&t.left===n||213===t.kind&&27===t.operatorToken.kind&&t.right===n?e(t):n}(n),r=t.parent,a=e.isPropertyAccessExpression(r)&&("length"===r.name.escapedText||200===r.parent.kind&&e.isIdentifier(r.name)&&e.isPushOrUnshiftIdentifier(r.name)),i=199===r.kind&&r.expression===t&&213===r.parent.kind&&62===r.parent.operatorToken.kind&&r.parent.left===r&&!e.isAssignmentTarget(r.parent)&&Ih(tv(r.argumentExpression),296);return a||i}function wm(n,t){if(8752&n.flags)return to(n);if(7&n.flags){var r=n.valueDeclaration;if(r){if(function(n){return(246===n.kind||159===n.kind||162===n.kind||161===n.kind)&&!!e.getEffectiveTypeAnnotationNode(n)}(r))return to(n);if(e.isVariableDeclaration(r)&&236===r.parent.parent.kind){var a=r.parent.parent,i=Fm(a.expression,void 0);if(i)return bb(a.awaitModifier?15:13,i,Ae,void 0)}t&&e.addRelatedInfo(t,e.createDiagnosticForNode(r,e.Diagnostics._0_needs_an_explicit_type_annotation,Qa(n)))}}}function Fm(n,t){if(!(16777216&n.flags))switch(n.kind){case 78:var r=xa(Wf(n));return wm(2097152&r.flags?Xr(r):r,t);case 107:return function(n){var t=e.getThisContainer(n,!1);if(e.isFunctionLike(t)){var r=_c(t);if(r.thisParameter)return wm(r.thisParameter)}if(e.isClassLike(t.parent)){var a=va(t.parent);return e.hasSyntacticModifier(t,32)?to(a):Io(a).thisType}}(n);case 105:return i_(n);case 198:var a=Fm(n.expression,t),i=a&&Zs(a,n.name.escapedText);return i&&wm(i,t);case 204:return Fm(n.expression,t)}}function Gm(n){var t=br(n),r=t.effectsSignature;if(void 0===r){var a=void 0;230===n.parent.kind?a=Fm(n.expression,void 0):105!==n.expression.kind&&(a=e.isOptionalChain(n)?Tg(tf(iv(n.expression),n.expression),n.expression):gg(n.expression));var i=ec(a&&js(a)||xe,0),o=1!==i.length||i[0].typeParameters?e.some(i,Bm)?ky(n):void 0:i[0];r=t.effectsSignature=o&&Bm(o)?o:ot}return r===ot?void 0:r}function Bm(e){return!!(bc(e)||e.declaration&&131072&(Tc(e.declaration)||xe).flags)}function Um(n){var t=function n(t,r){for(;;){if(t===Qn)return Zn;var a=t.flags;if(4096&a){if(!r){var i=em(t),o=Vt[i];return void 0!==o?o:Vt[i]=n(t,!0)}r=!1}if(368&a)t=t.antecedent;else if(512&a){var s=Gm(t.node);if(s){var c=bc(s);if(c&&3===c.kind&&!c.type){var l=t.node.arguments[c.parameterIndex];if(l&&Vm(l))return!1}if(131072&Ec(s).flags)return!1}t=t.antecedent}else{if(4&a)return e.some(t.antecedents,(function(e){return n(e,!1)}));if(8&a)t=t.antecedents[0];else{if(!(128&a)){if(1024&a){Qn=void 0;var u=t.target,d=u.antecedents;u.antecedents=t.antecedents;var p=n(t.antecedent,!1);return u.antecedents=d,p}return!(1&a)}if(t.clauseStart===t.clauseEnd&&gh(t.switchStatement))return!1;t=t.antecedent}}}}(n,!1);return Qn=n,Zn=t,t}function Vm(n){var t=e.skipParentheses(n);return 94===t.kind||213===t.kind&&(55===t.operatorToken.kind&&(Vm(t.left)||Vm(t.right))||56===t.operatorToken.kind&&Vm(t.left)&&Vm(t.right))}function jm(n,t,r,a,i){var o;void 0===r&&(r=t);var s=!1,c=0;if(St)return Se;if(!n.flowNode||!i&&!(133970943&t.flags))return t;Lt++;var l=Tt,u=Dm(f(n.flowNode));Tt=l;var d=256&e.getObjectFlags(u)&&Mm(n)?An:km(u);return d===We||n.parent&&222===n.parent.kind&&131072&am(d,2097152).flags?t:d;function p(){return s?o:(s=!0,o=function e(n,t,r,a){switch(n.kind){case 78:var i=Wf(n);return i!==he?(a?R(a):"-1")+"|"+Nl(t)+"|"+Nl(r)+"|"+(zm(n)?"@":"")+k(i):void 0;case 107:return"0|"+(a?R(a):"-1")+"|"+Nl(t)+"|"+Nl(r);case 222:case 204:return e(n.expression,t,r,a);case 198:case 199:var o=Jf(n);if(void 0!==o){var s=e(n.expression,t,r,a);return s&&s+"."+o}}}(n,t,r,a))}function f(i){if(2e3===c)return St=!0,o=n,s=e.findAncestor(o,e.isFunctionOrModuleBlock),u=e.getSourceFileOfNode(o),d=e.getSpanOfTokenAtPosition(u,s.statements.pos),zt.add(e.createFileDiagnostic(u,d.start,d.length,e.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),Se;var o,s,u,d;for(c++;;){var p=i.flags;if(4096&p)for(var m=l;m<Tt;m++)if(Bt[m]===i)return c--,Ut[m];var T=void 0;if(16&p){if(!(T=_(i))){i=i.antecedent;continue}}else if(512&p){if(!(T=g(i))){i=i.antecedent;continue}}else if(96&p)T=h(i);else if(128&p)T=v(i);else if(12&p){if(1===i.antecedents.length){i=i.antecedents[0];continue}T=4&p?b(i):E(i)}else if(256&p){if(!(T=y(i))){i=i.antecedent;continue}}else if(1024&p){var S=i.target,L=S.antecedents;S.antecedents=i.antecedents,T=f(i.antecedent),S.antecedents=L}else if(2&p){var x=i.node;if(x&&x!==a&&198!==n.kind&&199!==n.kind&&107!==n.kind){i=x.flowNode;continue}T=r}else T=sb(t);return 4096&p&&(Bt[Tt]=i,Ut[Tt]=T,Tt++),c--,T}}function m(e){var t=e.node;return Xm(246===t.kind||195===t.kind?fm(t):dm(t),n)}function _(r){var a=r.node;if(zf(n,a)){if(!Um(r))return We;if(2===e.getAssignmentTargetKind(a)){var i=f(r.antecedent);return Cm(Op(Dm(i)),Am(i))}if(t===Ee||t===An){if(function(e){return 246===e.kind&&e.initializer&&Ai(e.initializer)||195!==e.kind&&213===e.parent.kind&&Ai(e.parent.right)}(a))return Im(Ve);var o=Pp(m(r));return Dd(o,t)?o:xn}return 1048576&t.flags?nm(t,m(r)):t}if(Xf(n,a)){if(!Um(r))return We;if(e.isVariableDeclaration(a)&&(e.isInJSFile(a)||e.isVarConst(a))){var s=e.getDeclaredExpandoInitializer(a);if(s&&(205===s.kind||206===s.kind))return f(r.antecedent)}return t}if(e.isVariableDeclaration(a)&&235===a.parent.parent.kind&&zf(n,a.parent.parent.expression))return hg(Dm(f(r.antecedent)))}function g(n){var t=Gm(n.node);if(t){var r=bc(t);if(r&&(2===r.kind||3===r.kind)){var a=f(n.antecedent),i=km(Dm(a)),o=r.type?j(i,r,n.node,!0):3===r.kind&&r.parameterIndex>=0&&r.parameterIndex<n.node.arguments.length?function n(t,r){var a=e.skipParentheses(r);if(94===a.kind)return We;if(213===a.kind){if(55===a.operatorToken.kind)return n(n(t,a.left),a.right);if(56===a.operatorToken.kind)return wl([n(t,a.left),n(t,a.right)])}return K(t,a,!0)}(i,n.node.arguments[r.parameterIndex]):i;return o===i?a:Cm(o,Am(a))}if(131072&Ec(t).flags)return We}}function y(r){if(t===Ee||t===An){var a=r.node,i=200===a.kind?a.expression.expression:a.left.expression;if(zf(n,mm(i))){var o=f(r.antecedent),s=Dm(o);if(256&e.getObjectFlags(s)){var c=s;if(200===a.kind)for(var l=0,u=a.arguments;l<u.length;l++){c=Nm(c,u[l])}else Ih(av(a.left.argumentExpression),296)&&(c=Nm(c,a.right));return c===s?o:Cm(c,Am(o))}return o}}}function h(e){var n=f(e.antecedent),t=Dm(n);if(131072&t.flags)return n;var r=0!=(32&e.flags),a=km(t),i=K(a,e.node,r);return i===a?n:Cm(i,Am(n))}function v(t){var r=t.switchStatement.expression,a=f(t.antecedent),i=Dm(a);return zf(n,r)?i=M(i,t.switchStatement,t.clauseStart,t.clauseEnd):208===r.kind&&zf(n,r.expression)?i=function(n,t,r,a){var i=ym(t,!0);if(!i.length)return n;var o,s,c=e.findIndex(i,(function(e){return void 0===e})),l=r===a||c>=r&&c<a;if(c>-1){var u=i.filter((function(e){return void 0!==e})),d=c<r?r-1:r,p=c<a?a-1:a;o=u.slice(d,p),s=_h(d,p,u,l)}else o=i.slice(r,a),s=_h(r,a,i,l);if(l)return Em(n,(function(e){return(rm(e)&s)===s}));var f=am(wl(o.map((function(e){return w(n,e)||n}))),s);return am(Sm(n,F(f)),s)}(i,t.switchStatement,t.clauseStart,t.clauseEnd):(q&&(Yf(r,n)?i=P(i,t.switchStatement,t.clauseStart,t.clauseEnd,(function(e){return!(163840&e.flags)})):208===r.kind&&Yf(r.expression,n)&&(i=P(i,t.switchStatement,t.clauseStart,t.clauseEnd,(function(e){return!(131072&e.flags||128&e.flags&&"undefined"===e.value)})))),T(r,i)&&(i=x(i,r,(function(e){return M(e,t.switchStatement,t.clauseStart,t.clauseEnd)})))),Cm(i,Am(a))}function b(n){for(var a,i=[],o=!1,s=!1,c=0,l=n.antecedents;c<l.length;c++){var u=l[c];if(!a&&128&u.flags&&u.clauseStart===u.clauseEnd)a=u;else{if((p=Dm(d=f(u)))===t&&t===r)return p;e.pushIfUnique(i,p),hm(p,t)||(o=!0),Am(d)&&(s=!0)}}if(a){var d,p=Dm(d=f(a));if(!e.contains(i,p)&&!gh(a.switchStatement)){if(p===t&&t===r)return p;i.push(p),hm(p,t)||(o=!0),Am(d)&&(s=!0)}}return Cm(Pm(i,o?2:1),s)}function E(n){var r=em(n),a=Mt[r]||(Mt[r]=new e.Map),i=p();if(!i)return t;var o=a.get(i);if(o)return o;for(var s=bt;s<Et;s++)if(wt[s]===n&&Ft[s]===i&&Gt[s].length)return Cm(Pm(Gt[s],1),!0);for(var c,l=[],u=!1,d=0,m=n.antecedents;d<m.length;d++){var _=m[d],g=void 0;if(c){wt[Et]=n,Ft[Et]=i,Gt[Et]=l,Et++;var y=$n;$n=void 0,g=f(_),$n=y,Et--;var h=a.get(i);if(h)return h}else g=c=f(_);var v=Dm(g);if(e.pushIfUnique(l,v),hm(v,t)||(u=!0),v===t)break}var b=Pm(l,u?2:1);return Am(c)?Cm(b,!0):(a.set(i,b),b)}function T(r,a){var i=1048576&t.flags?t:a;if(!(1048576&i.flags&&e.isAccessExpression(r)))return!1;var o=Jf(r);return void 0!==o&&(zf(n,r.expression)&&Qf(i,o))}function x(e,n,t){var r=Jf(n);if(void 0===r)return e;var a=yi(e,r);if(!a)return e;var i=t(a);return Em(e,(function(e){var n=function(e,n){return yi(e,n)||U_(n)&&ac(e,1)||ac(e,0)||xe}(e,r);return!(131072&n.flags)&&Id(n,i)}))}function A(e,t,r){return zf(n,t)?am(e,r?4194304:8388608):(q&&r&&Yf(t,n)&&(e=am(e,2097152)),T(t,e)?x(e,t,(function(e){return am(e,r?4194304:8388608)})):e)}function D(n,t,r){if(1572864&n.flags||au(n)||2097152&n.flags&&e.every(n.types,(function(e){return e.symbol!==ae}))){var a=e.escapeLeadingUnderscores(t.text);return Em(n,(function(e){return function(e,n,t){if(rc(e,0))return!0;var r=Zs(e,n);return r?!!(16777216&r.flags)||t:!t}(e,a,r)}))}return n}function C(t,r,a){switch(r.operatorToken.kind){case 62:case 74:case 75:case 76:return A(K(t,r.right,a),r.left,a);case 34:case 35:case 36:case 37:var i=r.operatorToken.kind,o=mm(r.left),s=mm(r.right);if(208===o.kind&&e.isStringLiteralLike(s))return O(t,o,i,s,a);if(208===s.kind&&e.isStringLiteralLike(o))return O(t,s,i,o,a);if(zf(n,o))return N(t,i,s,a);if(zf(n,s))return N(t,i,o,a);if(q&&(Yf(o,n)?t=I(t,i,s,a):Yf(s,n)&&(t=I(t,i,o,a))),T(o,t))return x(t,o,(function(e){return N(e,i,s,a)}));if(T(s,t))return x(t,s,(function(e){return N(e,i,o,a)}));if(G(o))return B(t,i,s,a);if(G(s))return B(t,i,o,a);break;case 101:return function(t,r,a){var i=mm(r.left);if(!zf(n,i))return a&&q&&Yf(i,n)?am(t,2097152):t;var o,s=tv(r.right);if(!Cd(s,_n))return t;var c=Zs(s,"prototype");if(c){var l=to(c);hi(l)||(o=l)}if(hi(t)&&(o===mn||o===_n))return t;if(!o){var u=ec(s,1);o=u.length?wl(e.map(u,(function(e){return Ec(Cc(e))}))):Ze}if(!a&&1048576&s.flags){if(!e.find(s.types,(function(e){return!po(e)})))return t}return U(t,o,a,Cd)}(t,r,a);case 100:var c=mm(r.right);if(e.isStringLiteralLike(r.left)&&zf(n,c))return D(t,r.left,a);break;case 27:return K(t,r.right,a)}return t}function I(e,n,t,r){var a=34===n||36===n,i=34===n||35===n?98304:32768,o=tv(t);return a!==r&&bm(o,(function(e){return!!(e.flags&i)}))||a===r&&bm(o,(function(e){return!(e.flags&(3|i))}))?am(e,2097152):e}function N(e,n,t,r){if(1&e.flags)return e;35!==n&&37!==n||(r=!r);var a=tv(t);if(2&e.flags&&r&&(36===n||37===n))return 67239932&a.flags?a:524288&a.flags?qe:e;if(98304&a.flags)return q?am(e,34===n||35===n?r?262144:2097152:65536&a.flags?r?131072:1048576:r?65536:524288):e;if(r)return xm(Em(e,34===n?function(e){return Nd(e,a)||(n=a,0!=(524&e.flags)&&0!=(28&n.flags));var n}:function(e){return Nd(e,a)}),a);if(Rp(a)){var i=Pu(a);return Em(e,(function(e){return Rp(e)?!Nd(e,a):Pu(e)!==i}))}return e}function O(e,t,r,a,i){35!==r&&37!==r||(i=!i);var o=mm(t.expression);if(!zf(n,o))return q&&Yf(o,n)&&i===("undefined"!==a.text)?am(e,2097152):e;if(1&e.flags&&"function"===a.text)return e;if(i&&2&e.flags&&"object"===a.text){if(213===t.parent.parent.kind){var s=t.parent.parent;if(55===s.operatorToken.kind&&s.right===t.parent&&function e(n,t){return zf(n,t)||213===t.kind&&55===t.operatorToken.kind&&(e(n,t.left)||e(n,t.right))}(n,s.left))return qe}return wl([qe,Ie])}var c=i?S.get(a.text)||128:L.get(a.text)||32768,l=w(e,a.text);return am(i&&l?Sm(e,F(l)):e,c)}function P(n,t,r,a,i){return r!==a&&e.every(gm(t).slice(r,a),i)?am(n,2097152):n}function M(n,t,r,a){var i=gm(t);if(!i.length)return n;var o=i.slice(r,a),s=r===a||e.contains(o,Ve);if(2&n.flags&&!s){for(var c=void 0,l=0;l<o.length;l+=1){var u=o[l];if(67239932&u.flags)void 0!==c&&c.push(u);else{if(!(524288&u.flags))return n;void 0===c&&(c=o.slice(0,l)),c.push(qe)}}return wl(void 0===c?o:c)}var d=wl(o),p=131072&d.flags?Ve:xm(Em(n,(function(e){return Nd(d,e)})),d);if(!s)return p;var f=Em(n,(function(n){return!(Rp(n)&&e.contains(i,Pu(n)))}));return 131072&p.flags?f:wl([p,f])}function w(e,n){switch(n){case"function":return 1&e.flags?e:_n;case"object":return 2&e.flags?wl([qe,Ie]):e;default:return Xt.get(n)}}function F(e){return function(n){if(Ad(n,e))return n;if(Ad(e,n))return e;if(63176704&n.flags){var t=Ms(n)||be;if(Ad(e,t))return Kl([n,e])}return n}}function G(t){return(e.isPropertyAccessExpression(t)&&"constructor"===e.idText(t.name)||e.isElementAccessExpression(t)&&e.isStringLiteralLike(t.argumentExpression)&&"constructor"===t.argumentExpression.text)&&zf(n,t.expression)}function B(n,t,r,a){if(a?34!==t&&36!==t:35!==t&&37!==t)return n;var i=tv(r);if(!uT(i)&&!po(i))return n;var o=Zs(i,"prototype");if(!o)return n;var s=to(o),c=hi(s)?void 0:s;return c&&c!==mn&&c!==_n?hi(n)?c:Em(n,(function(n){return function(n,t){if(524288&n.flags&&1&e.getObjectFlags(n)||524288&t.flags&&1&e.getObjectFlags(t))return n.symbol===t.symbol;return Ad(n,t)}(n,c)})):n}function U(e,n,t,r){if(!t)return Em(e,(function(e){return!r(e,n)}));if(1048576&e.flags){var a=Em(e,(function(e){return r(e,n)}));if(!(131072&a.flags))return a}return Ad(n,e)?n:Dd(e,n)?e:Dd(n,e)?n:Kl([e,n])}function V(t,r,a){if(function(e,n){if(e.arguments)for(var t=0,r=e.arguments;t<r.length;t++){if($f(n,r[t]))return!0}return!(198!==e.expression.kind||!$f(n,e.expression.expression))}(r,n)){var i=a||!e.isCallChain(r)?Gm(r):void 0,o=i&&bc(i);if(o&&(0===o.kind||1===o.kind))return j(t,o,r,a)}return t}function j(t,r,a,i){if(r.type&&(!hi(t)||r.type!==mn&&r.type!==_n)){var o=function(n,t){if(1===n.kind||3===n.kind)return t.arguments[n.parameterIndex];var r=e.skipParentheses(t.expression);return e.isAccessExpression(r)?e.skipParentheses(r.expression):void 0}(r,a);if(o){if(zf(n,o))return U(t,r.type,i,Ad);if(q&&i&&Yf(o,n)&&!(65536&rm(r.type))&&(t=am(t,2097152)),T(o,t))return x(t,o,(function(e){return U(e,r.type,i,Ad)}))}}return t}function K(t,r,a){if(e.isExpressionOfOptionalChainRoot(r)||e.isBinaryExpression(r.parent)&&60===r.parent.operatorToken.kind&&r.parent.left===r)return function(e,t,r){if(zf(n,t))return am(e,r?2097152:262144);if(T(t,e))return x(e,t,(function(e){return am(e,r?2097152:262144)}));return e}(t,r,a);switch(r.kind){case 78:case 107:case 105:case 198:case 199:return A(t,r,a);case 200:return V(t,r,a);case 204:return K(t,r.expression,a);case 213:return C(t,r,a);case 211:if(53===r.operator)return K(t,r.operand,!a)}return t}}function Km(n){return e.findAncestor(n.parent,(function(n){return e.isFunctionLike(n)&&!e.getImmediatelyInvokedFunctionExpression(n)||254===n.kind||294===n.kind||162===n.kind}))}function Hm(n){var t,r=e.getRootDeclaration(n.valueDeclaration).parent,a=br(r);return 8388608&a.flags||(a.flags|=8388608,t=r,e.findAncestor(t.parent,(function(n){return e.isFunctionLike(n)&&!!(8388608&br(n).flags)}))||Wm(r)),n.isAssigned||!1}function Wm(n){if(78===n.kind){if(e.isAssignmentTarget(n)){var t=Wf(n);t.valueDeclaration&&159===e.getRootDeclaration(t.valueDeclaration).kind&&(t.isAssigned=!0)}}else e.forEachChild(n,Wm)}function qm(e){return 3&e.flags&&0!=(2&pg(e))&&to(e)!==An}function zm(e){var n=e.parent;return 198===n.kind||200===n.kind&&n.expression===e||199===n.kind&&n.expression===e||195===n.kind&&n.name===e&&!!n.initializer}function Jm(e){return 58982400&e.flags&&Ch(Ms(e)||xe,98304)}function Xm(e,n){return e&&zm(n)&&vm(e,Jm)?Sm(df(e),ws):e}function Ym(n,t){!zr(n,111551)||qf(t)||Zr(n)||(j.preserveConstEnums&&function(n){return!!e.findAncestor(n,(function(n){return n.parent&&e.isExportAssignment(n.parent)&&n.parent.expression===n&&e.isEntityNameExpression(n)}))}(t)||!$E(Xr(n))?ea(n):function(e){var n=vr(e);n.constEnumReferenced||(n.constEnumReferenced=!0)}(n))}function Qm(n){var t=Wf(n);if(t===he)return Se;if(t===oe){var r=e.getContainingFunction(n);return K<2&&(206===r.kind?or(n,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasSyntacticModifier(r,256)&&or(n,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),br(r).flags|=8192,to(t)}n.parent&&e.isPropertyAccessExpression(n.parent)&&n.parent.expression===n||Ym(t,n);var a=xa(t),i=a.valueDeclaration;if(i&&134217728&e.getCombinedNodeFlags(i)&&$l(n.parent,a)&&cr(!1,n,e.Diagnostics._0_is_deprecated,n.escapedText),32&a.flags)if(249===i.kind&&e.nodeIsDecorated(i))for(r=e.getContainingClass(n);void 0!==r;){if(r===i&&r.name!==n){br(i).flags|=16777216,br(n).flags|=33554432;break}r=e.getContainingClass(r)}else if(218===i.kind)for(r=e.getThisContainer(n,!1);294!==r.kind;){if(r.parent===i){162===r.kind&&e.hasSyntacticModifier(r,32)&&(br(i).flags|=16777216,br(n).flags|=33554432);break}r=e.getThisContainer(r,!1)}!function(n,t){if(K>=2||0==(34&t.flags)||e.isSourceFile(t.valueDeclaration)||284===t.valueDeclaration.parent.kind)return;var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration),a=function(n,t){return!!e.findAncestor(n,(function(n){return n===t?"quit":e.isFunctionLike(n)}))}(n.parent,r),i=r,o=!1;for(;i&&!e.nodeStartsNewLexicalEnvironment(i);){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent}if(o){if(a){var s=!0;if(e.isForStatement(r))if((d=e.getAncestor(t.valueDeclaration,247))&&d.parent===r){var c=function(n,t){return e.findAncestor(n,(function(e){return e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement}))}(n.parent,r);if(c){var l=br(c);l.flags|=131072;var u=l.capturedBlockScopeBindings||(l.capturedBlockScopeBindings=[]);e.pushIfUnique(u,t),c===r.initializer&&(s=!1)}}s&&(br(i).flags|=65536)}var d;if(e.isForStatement(r))(d=e.getAncestor(t.valueDeclaration,247))&&d.parent===r&&function(n,t){var r=n;for(;204===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(211===r.parent.kind||212===r.parent.kind){var i=r.parent;a=45===i.operator||46===i.operator}if(!a)return!1;return!!e.findAncestor(r,(function(e){return e===t?"quit":e===t.statement}))}(n,r)&&(br(t.valueDeclaration).flags|=4194304);br(t.valueDeclaration).flags|=524288}a&&(br(t.valueDeclaration).flags|=262144)}(n,t);var o=Xm(to(a),n),s=e.getAssignmentTargetKind(n);if(s){if(!(3&a.flags||e.isInJSFile(n)&&512&a.flags))return or(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,Qa(t)),Se;if(Sh(a))return 3&a.flags?or(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Qa(t)):or(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Qa(t)),Se}var c=2097152&a.flags;if(3&a.flags){if(1===s)return o}else{if(!c)return o;i=e.find(t.declarations,w)}if(!i)return o;for(var l=159===e.getRootDeclaration(i).kind,u=Km(i),d=Km(n),p=d!==u,f=n.parent&&n.parent.parent&&e.isSpreadAssignment(n.parent)&&lm(n.parent.parent),m=134217728&t.flags;d!==u&&(205===d.kind||206===d.kind||e.isObjectLiteralOrClassExpressionMethod(d))&&(qm(a)||l&&!Hm(a));)d=Km(d);var _=l||c||p||f||m||e.isBindingElement(i)||o!==Ee&&o!==An&&(!q||0!=(16387&o.flags)||qf(n)||267===n.parent.kind)||222===n.parent.kind||246===i.kind&&i.exclamationToken||8388608&i.flags,g=jm(n,o,_?l?function(e,n){if(pi(n.symbol,2)){var t=q&&159===n.kind&&n.initializer&&32768&qp(e)&&!(32768&qp(iv(n.initializer)));return _i(),t?am(e,524288):e}return no(n.symbol),e}(o,i):o:o===Ee||o===An?Ae:Yp(o),d,!_);if(Mm(n)||o!==Ee&&o!==An){if(!_&&!(32768&qp(o))&&32768&qp(g))return or(n,e.Diagnostics.Variable_0_is_used_before_being_assigned,Qa(t)),o}else if(g===Ee||g===An)return Y&&(or(e.getNameOfDeclaration(i),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Qa(t),$a(g)),or(n,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Qa(t),$a(g))),sb(g);return s?Op(g):g}function Zm(e,n){(br(e).flags|=2,162===n.kind||165===n.kind)?br(n.parent).flags|=4:br(n).flags|=4}function $m(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,$m)}function e_(e){return go(Io(va(e)))===Ne}function n_(n,t,r){var a=t.parent;e.getClassExtendsHeritageElement(a)&&!e_(a)&&n.flowNode&&!function n(t,r){for(;;){var a=t.flags;if(4096&a){if(!r){var i=em(t),o=jt[i];return void 0!==o?o:jt[i]=n(t,!0)}r=!1}if(496&a)t=t.antecedent;else if(512&a){if(105===t.node.expression.kind)return!0;t=t.antecedent}else{if(4&a)return e.every(t.antecedents,(function(e){return n(e,!1)}));if(!(8&a)){if(1024&a){var s=t.target,c=s.antecedents;s.antecedents=t.antecedents;var l=n(t.antecedent,!1);return s.antecedents=c,l}return!!(1&a)}t=t.antecedents[0]}}}(n.flowNode,!1)&&or(n,r)}function t_(n){var t=e.getThisContainer(n,!0),r=!1;switch(165===t.kind&&n_(n,t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),206===t.kind&&(t=e.getThisContainer(t,!1),r=!0),t.kind){case 253:or(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 252:or(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 165:a_(n,t)&&or(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 162:case 161:!e.hasSyntacticModifier(t,32)||99===j.target&&j.useDefineForClassFields||or(n,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 157:or(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}r&&K<2&&Zm(n,t);var a=r_(n,!0,t);if(Q){var i=to(ae);if(a===i&&r)or(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){var o=or(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(t)){var s=r_(t);s&&s!==i&&e.addRelatedInfo(o,e.createDiagnosticForNode(t,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||be}function r_(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(r)&&(!d_(n)||e.getThisParameter(r))){var i=Xi(r)||a&&function(n){var t=e.getJSDocType(n);if(t&&304===t.kind){var r=t;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return Vu(r.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return Vu(a.typeExpression)}(r);if(!i){var o=function(n){if(205===n.kind&&e.isBinaryExpression(n.parent)&&3===e.getAssignmentDeclarationKind(n.parent))return n.parent.left.expression.expression;if(164===n.kind&&197===n.parent.kind&&e.isBinaryExpression(n.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.left.expression;if(205===n.kind&&285===n.parent.kind&&197===n.parent.parent.kind&&e.isBinaryExpression(n.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.left.expression;if(205===n.kind&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.arguments[0].expression}(r);if(a&&o){var s=iv(o).symbol;s&&s.members&&16&s.flags&&(i=Io(s).thisType)}else Oy(r)&&(i=Io(ha(r.symbol)).thisType);i||(i=c_(r))}if(i)return jm(n,i)}if(e.isClassLike(r.parent)){var c=va(r.parent);return jm(n,e.hasSyntacticModifier(r,32)?to(c):Io(c).thisType)}if(e.isSourceFile(r)){if(r.commonJsModuleIndicator){var l=va(r);return l&&to(l)}if(r.externalModuleIndicator)return Ae;if(t)return to(ae)}}function a_(n,t){return!!e.findAncestor(n,(function(n){return e.isFunctionLikeDeclaration(n)?"quit":159===n.kind&&n.parent===t}))}function i_(n){var t=200===n.parent.kind&&n.parent.expression===n,r=e.getSuperContainer(n,!0),a=r,i=!1;if(!t)for(;a&&206===a.kind;)a=e.getSuperContainer(a,!0),i=K<2;var o=0;if(!function(n){if(!n)return!1;if(t)return 165===n.kind;if(e.isClassLike(n.parent)||197===n.parent.kind)return e.hasSyntacticModifier(n,32)?164===n.kind||163===n.kind||166===n.kind||167===n.kind:164===n.kind||163===n.kind||166===n.kind||167===n.kind||162===n.kind||161===n.kind||165===n.kind;return!1}(a)){var s=e.findAncestor(n,(function(e){return e===a?"quit":157===e.kind}));return s&&157===s.kind?or(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?or(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):a&&a.parent&&(e.isClassLike(a.parent)||197===a.parent.kind)?or(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):or(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Se}if(t||165!==r.kind||n_(n,a,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),o=e.hasSyntacticModifier(a,32)||t?512:256,br(n).flags|=o,164===a.kind&&e.hasSyntacticModifier(a,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?br(a).flags|=4096:br(a).flags|=2048),i&&Zm(n.parent,a),197===a.parent.kind)return K<2?(or(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Se):be;var c=a.parent;if(!e.getClassExtendsHeritageElement(c))return or(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Se;var l=Io(va(c)),u=l&&ho(l)[0];return u?165===a.kind&&a_(n,a)?(or(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Se):512===o?go(l):Xo(u,l.thisType):Se}function o_(n){return 4&e.getObjectFlags(n)&&n.target===Ln?Hc(n)[0]:void 0}function s_(n){return Sm(n,(function(n){return 2097152&n.flags?e.forEach(n.types,o_):o_(n)}))}function c_(n){if(206!==n.kind){if(bd(n)){var t=P_(n);if(t){var r=t.thisParameter;if(r)return to(r)}}var a=e.isInJSFile(n);if(Q||a){var i=function(e){return 164!==e.kind&&166!==e.kind&&167!==e.kind||197!==e.parent.kind?205===e.kind&&285===e.parent.kind?e.parent.parent:void 0:e.parent}(n);if(i){for(var o=L_(i),s=i,c=o;c;){var l=s_(c);if(l)return pd(l,Sf(C_(i)));if(285!==s.parent.kind)break;c=L_(s=s.parent.parent)}return df(o?Qp(o):Vh(i))}var u=e.walkUpParenthesizedExpressions(n.parent);if(213===u.kind&&62===u.operatorToken.kind){var d=u.left;if(e.isAccessExpression(d)){var p=d.expression;if(a&&e.isIdentifier(p)){var f=e.getSourceFileOfNode(u);if(f.commonJsModuleIndicator&&Wf(p)===f.symbol)return}return df(Vh(p))}}}}}function l_(n){var t=n.parent;if(bd(t)){var r=e.getImmediatelyInvokedFunctionExpression(t);if(r&&r.arguments){var a=py(r),i=t.parameters.indexOf(n);if(n.dotDotDotToken)return oy(a,i,a.length,be,void 0,0);var o=br(r),s=o.resolvedSignature;o.resolvedSignature=it;var c=i<a.length?Pp(iv(a[i])):n.initializer?void 0:De;return o.resolvedSignature=s,c}var l=P_(t);if(l){var u=t.parameters.indexOf(n)-(e.getThisParameter(t)?1:0);return n.dotDotDotToken&&e.lastOrUndefined(t.parameters)===n?$y(l,u):Zy(l,u)}}}function u_(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Vu(t);switch(n.kind){case 159:return l_(n);case 195:return function(n){var t=n.parent.parent,r=n.propertyName||n.name,a=u_(t)||195!==t.kind&&t.initializer&&Kh(t);if(a&&!e.isBindingPattern(r)&&!e.isComputedNonLiteralName(r)){var i=Wl(r);if(Bo(i)){var o=Ho(i);return yi(a,o)}}}(n)}}function d_(n){for(var t=!1;n.parent&&!e.isFunctionLike(n.parent);){if(e.isParameter(n.parent)&&(t||n.parent.initializer===n))return!0;e.isBindingElement(n.parent)&&n.parent.initializer===n&&(t=!0),n=n.parent}return!1}function p_(n,t){var r=!!(2&e.getFunctionFlags(t)),a=f_(t);if(a)return Kb(n,a,r)||void 0}function f_(e){var n=Tc(e);if(n)return n;var t=O_(e);return t&&!Sc(t)?Ec(t):void 0}function m_(e,n){var t=py(e).indexOf(n);return-1===t?void 0:__(e,t)}function __(n,t){var r=br(n).resolvedSignature===st?st:ky(n);return e.isJsxOpeningLikeElement(n)&&0===t?I_(r,n):Qy(r,t)}function g_(n,t){var r=n.parent,a=r.left,i=r.operatorToken,o=r.right;switch(i.kind){case 62:case 75:case 74:case 76:if(n!==o)return;var s=function(n){var t=e.getAssignmentDeclarationKind(n);switch(t){case 0:return!0;case 5:case 1:case 6:case 3:if(n.left.symbol){var r=n.left.symbol.valueDeclaration;if(!r)return!1;var a=e.cast(n.left,e.isAccessExpression),i=e.getEffectiveTypeAnnotationNode(r);if(i)return Vu(i);if(e.isIdentifier(a.expression)){var o=a.expression,s=xr(o,o.escapedText,111551,void 0,o.escapedText,!0);if(s){if(l=s.valueDeclaration&&e.getEffectiveTypeAnnotationNode(s.valueDeclaration)){var c=e.getElementOrPropertyAccessName(a);if(void 0!==c)return(u=y_(Vu(l),c))||!1}return!1}}return!e.isInJSFile(r)}return!0;case 2:case 4:if(!n.symbol)return!0;var l,u;if(n.symbol.valueDeclaration)if(l=e.getEffectiveTypeAnnotationNode(n.symbol.valueDeclaration))if(u=Vu(l))return u;if(2===t)return!1;var d=e.cast(n.left,e.isAccessExpression);if(!e.isObjectLiteralMethod(e.getThisContainer(d.expression,!1)))return!1;var p=t_(d.expression),f=e.getElementOrPropertyAccessName(d);return void 0!==f&&p&&y_(p,f)||!1;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(t)}}(r);if(!s)return;return!0===s?tv(a):s;case 56:case 60:var c=D_(r,t);return n===o&&(c&&c.pattern||!c&&!e.isDefaultedExpandoInitializer(r))?tv(a):c;case 55:case 27:return n===o?D_(r,t):void 0;default:return}}function y_(n,t){return Sm(n,(function(n){if(Ss(n)){var r=_s(n),a=Ms(r)||r,i=wu(e.unescapeLeadingUnderscores(t));if(Dd(i,a))return cu(n,i)}else if(3670016&n.flags){var o=Zs(n,t);if(o)return c=o,262144&e.getCheckFlags(c)&&!c.type&&fi(c,0)>=0?void 0:to(o);if(Gp(n)){var s=Vp(n);if(s&&U_(t)&&+t>=0)return s}return U_(t)&&h_(n,1)||h_(n,0)}var c}),!0)}function h_(e,n){return Sm(e,(function(e){return tc(e,n)}),!0)}function v_(e,n){var t=L_(e.parent,n);if(t){if(!Ko(e)){var r=y_(t,va(e).escapedName);if(r)return r}return G_(e.name)&&h_(t,1)||h_(t,0)}}function b_(e,n){return e&&(y_(e,""+n)||Eb(1,e,Ae,void 0,!1))}function E_(n){var t=n.parent;return e.isJsxAttributeLike(t)?D_(n):e.isJsxElement(t)?function(e,n){var t=L_(e.openingElement.tagName),r=tg(eg(e));if(t&&!hi(t)&&r&&""!==r){var a=Ud(e.children),i=a.indexOf(n),o=y_(t,r);return o&&(1===a.length?o:Sm(o,(function(e){return Ap(e)?lu(e,wu(i)):e}),!0))}}(t,n):void 0}function T_(n){if(e.isJsxAttribute(n)){var t=L_(n.parent);if(!t||hi(t))return;return y_(t,n.name.escapedText)}return D_(n.parent)}function S_(e){switch(e.kind){case 10:case 8:case 9:case 14:case 109:case 94:case 103:case 78:case 149:return!0;case 198:case 204:return S_(e.expression);case 280:return!e.expression||S_(e.expression)}return!1}function L_(n,t){var r=x_(e.isObjectLiteralMethod(n)?function(n,t){if(e.Debug.assert(e.isObjectLiteralMethod(n)),!(16777216&n.flags))return v_(n,t)}(n,t):D_(n,t),n,t);if(r&&!(t&&2&t&&8650752&r.flags)){var a=Sm(r,js,!0);if(1048576&a.flags){if(e.isObjectLiteralExpression(n))return function(n,t){return rp(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&285===e.kind&&S_(e.initializer)&&Qf(t,e.symbol.escapedName)})),(function(e){return[function(){return iv(e.initializer)},e.symbol.escapedName]})),Dd,t)}(n,a);if(e.isJsxAttributes(n))return function(n,t){return rp(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&277===e.kind&&Qf(t,e.symbol.escapedName)&&(!e.initializer||S_(e.initializer))})),(function(e){return[e.initializer?function(){return iv(e.initializer)}:function(){return we},e.symbol.escapedName]})),Dd,t)}(n,a)}return a}}function x_(n,t,r){if(n&&Ch(n,63176704)){var a=C_(t);if(a&&e.some(a.inferences,Zh)){if(r&&1&r)return A_(n,a.nonFixingMapper);if(a.returnMapper)return A_(n,a.returnMapper)}}return n}function A_(n,t){return 63176704&n.flags?pd(n,t):1048576&n.flags?wl(e.map(n.types,(function(e){return A_(e,t)})),0):2097152&n.flags?Kl(e.map(n.types,(function(e){return A_(e,t)}))):n}function D_(n,t){if(16777216&n.flags);else{if(n.contextualType)return n.contextualType;var r=n.parent;switch(r.kind){case 246:case 159:case 162:case 161:case 195:return function(n,t){var r=n.parent;if(e.hasInitializer(r)&&n===r.initializer){var a=u_(r);if(a)return a;if(!(8&t)&&e.isBindingPattern(r.name))return Vi(r.name,!0,!1)}}(n,t);case 206:case 239:return function(n){var t=e.getContainingFunction(n);if(t){var r=f_(t);if(r){var a=e.getFunctionFlags(t);if(1&a){var i=Db(r,2&a?2:1,void 0);if(!i)return;r=i.returnType}if(2&a){var o=Sm(r,Iv);return o&&wl([o,uh(o)])}return r}}}(n);case 216:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t),a=f_(t);if(a)return n.asteriskToken?a:Kb(0,a,0!=(2&r))}}(r);case 210:return function(e,n){var t=D_(e,n);if(t){var r=Iv(t);return r&&wl([r,uh(r)])}}(r,t);case 200:if(99===r.expression.kind)return Re;case 201:return m_(r,n);case 203:case 221:return e.isConstTypeReference(r.type)?function(n){if(e.isCallLikeExpression(n.parent))return m_(n.parent,n);return}(r):Vu(r.type);case 213:return g_(n,t);case 285:case 286:return v_(r,t);case 287:return L_(r.parent,t);case 196:var a=r;return b_(L_(a,t),e.indexOfNode(a.elements,n));case 214:return function(e,n){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?D_(t,n):void 0}(n,t);case 225:return e.Debug.assert(215===r.parent.kind),function(e,n){if(202===e.parent.kind)return m_(e.parent,n)}(r.parent,n);case 204:var i=e.isInJSFile(r)?e.getJSDocTypeTag(r):void 0;return i?Vu(i.typeExpression.type):D_(r,t);case 280:return E_(r);case 277:case 279:return T_(r);case 272:case 271:return function(n,t){if(e.isJsxOpeningElement(n)&&n.parent.contextualType&&4!==t)return n.parent.contextualType;return __(n,0)}(r,t)}}}function C_(n){var t=e.findAncestor(n,(function(e){return!!e.inferenceContext}));return t&&t.inferenceContext}function I_(n,t){return 0!==cy(t)?function(e,n){var t=oh(e,xe);t=N_(n,eg(n),t);var r=Z_(D.IntrinsicAttributes,n);r!==Se&&(t=os(r,t));return t}(n,t):function(n,t){var r=eg(t),a=(o=r,ng(D.ElementAttributesPropertyNameContainer,o)),i=void 0===a?oh(n,xe):""===a?Ec(n):function(e,n){if(e.unionSignatures){for(var t=[],r=0,a=e.unionSignatures;r<a.length;r++){var i=Ec(a[r]);if(hi(i))return i;var o=yi(i,n);if(!o)return;t.push(o)}return Kl(t)}var s=Ec(e);return hi(s)?s:yi(s,n)}(n,a);var o;if(!i)return a&&e.length(t.attributes.properties)&&or(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(a)),xe;if(hi(i=N_(t,r,i)))return i;var s=i,c=Z_(D.IntrinsicClassAttributes,t);if(c!==Se){var l=lo(c.symbol),u=Ec(n);s=os(l?Vc(c,mc([u],l,fc(l),e.isInJSFile(t))):c,s)}var d=Z_(D.IntrinsicAttributes,t);return d!==Se&&(s=os(d,s)),s}(n,t)}function N_(n,t,r){var a,i=(a=t)&&Tr(a.exports,D.LibraryManagedAttributes,788968);if(i){var o=Io(i),s=function(e){if(z_(e.tagName))return Rc(Iy(e,n=ag(e)));var n,t=Vh(e.tagName);return 128&t.flags?(n=rg(t,e))?Rc(Iy(e,n)):Se:t}(n);if(e.length(o.typeParameters)>=2)return Vc(o,c=mc([s,r],o.typeParameters,2,e.isInJSFile(n)));if(e.length(o.aliasTypeArguments)>=2){var c=mc([s,r],o.aliasTypeArguments,2,e.isInJSFile(n));return zc(o.aliasSymbol,c)}}return r}function R_(n,t){var r=ec(n,0);if(1===r.length){var a=r[0];if(!function(n,t){for(var r=0;r<t.parameters.length;r++){var a=t.parameters[r];if(a.initializer||a.questionToken||a.dotDotDotToken||cc(a))break}t.parameters.length&&e.parameterIsThisKeyword(t.parameters[0])&&r--;return!th(n)&&eh(n)<r}(a,t))return a}}function k_(e){return 205===e.kind||206===e.kind}function O_(n){return k_(n)||e.isObjectLiteralMethod(n)?P_(n):void 0}function P_(n){e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n));var t=gc(n);if(t)return t;var r=L_(n,1);if(r){if(!(1048576&r.flags))return R_(r,n);for(var a,i=0,o=r.types;i<o.length;i++){var s=R_(o[i],n);if(s)if(a){if(!bp(a[0],s,!1,!0,!0,Sd))return;a.push(s)}else a=[s]}return a?1===a.length?a[0]:$o(a[0],a):void 0}}function M_(e){return 195===e.kind&&!!e.initializer||213===e.kind&&62===e.operatorToken.kind}function w_(n,t,r){for(var a=n.elements,i=a.length,o=[],s=[],c=L_(n),l=e.isAssignmentTarget(n),u=qh(n),d=0;d<i;d++){var p=a[d];if(217===p.kind){K<2&&ST(p,j.downlevelIteration?1536:2048);var f=iv(p.expression,t,r);if(Ap(f))o.push(f),s.push(8);else if(l){var m=ac(f,1)||Eb(65,f,Ae,void 0,!1)||xe;o.push(m),s.push(4)}else o.push(bb(33,f,Ae,p.expression)),s.push(4)}else{var _=zh(p,t,b_(c,o.length),r);o.push(_),s.push(1)}}return l?xl(o,s):r||u||c&&vm(c,Cp)?F_(xl(o,s,u)):F_(vl(o.length?wl(e.sameMap(o,(function(e,n){return 8&s[n]?du(e,ke)||be:e})),2):q?He:De,u))}function F_(n){if(!(4&e.getObjectFlags(n)))return n;var t=n.literalType;return t||((t=n.literalType=jc(n)).objectFlags|=1114112),t}function G_(e){switch(e.kind){case 157:return function(e){return Ih(V_(e),296)}(e);case 78:return U_(e.escapedText);case 8:case 10:return U_(e.text);default:return!1}}function B_(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function U_(e){return(+e).toString()===e}function V_(n){var t=br(n.expression);return t.resolvedType||(t.resolvedType=iv(n.expression),98304&t.resolvedType.flags||!Ih(t.resolvedType,12716)&&!Dd(t.resolvedType,ze)?or(n,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):Wg(n.expression,t.resolvedType,!0)),t.resolvedType}function j_(n,t,r,a){for(var i,o,s,c=[],l=t;l<r.length;l++)(0===a||(i=r[l],o=void 0,s=void 0,s=null===(o=i.declarations)||void 0===o?void 0:o[0],U_(i.escapedName)||s&&e.isNamedDeclaration(s)&&G_(s.name)))&&c.push(to(r[l]));return Pc(c.length?wl(c,2):Ae,qh(n))}function K_(n){e.Debug.assert(0!=(2097152&n.flags),"Should only get Alias here.");var t=vr(n);if(!t.immediateTarget){var r=Mr(n);if(!r)return e.Debug.fail();t.immediateTarget=qr(r,!0)}return t.immediateTarget}function H_(n,t){var r=e.isAssignmentTarget(n);!function(n,t){for(var r=new e.Map,a=0,i=n.properties;a<i.length;a++){var o=i[a];if(287!==o.kind){var s=o.name;if(157===s.kind&&MT(s),286===o.kind&&!t&&o.objectAssignmentInitializer)return XT(o.equalsToken,e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern);if(79===s.kind)return XT(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);if(o.modifiers)for(var c=0,l=o.modifiers;c<l.length;c++){var u=l[c];129===u.kind&&164===o.kind||XT(u,e.Diagnostics._0_modifier_cannot_be_used_here,e.getTextOfNode(u))}var d=void 0;switch(o.kind){case 286:GT(o.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 285:FT(o.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional),8===s.kind&&ZT(s),d=4;break;case 164:d=8;break;case 166:d=1;break;case 167:d=2;break;default:throw e.Debug.assertNever(o,"Unexpected syntax kind:"+o.kind)}if(!t){var p=e.getPropertyNameForPropertyNameNode(s);if(void 0===p)continue;var f=r.get(p);if(f)if(12&d&&12&f)XT(s,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(s));else{if(!(3&d&&3&f))return XT(s,e.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===f||d===f)return XT(s,e.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);r.set(p,d|f)}else r.set(p,d)}}else if(t){var m=e.skipParentheses(o.expression);if(e.isArrayLiteralExpression(m)||e.isObjectLiteralExpression(m))return XT(o.expression,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}}}(n,r);for(var a=q?e.createSymbolTable():void 0,i=e.createSymbolTable(),o=[],s=Ze,c=L_(n),l=c&&c.pattern&&(193===c.pattern.kind||197===c.pattern.kind),u=qh(n),d=u?8:0,p=e.isInJSFile(n)&&!e.isInJsonFile(n),f=e.getJSDocEnumTag(n),m=!c&&p&&!f,_=$,g=!1,y=!1,h=!1,v=0,b=n.properties;v<b.length;v++){var E=b[v];E.name&&e.isComputedPropertyName(E.name)&&!e.isWellKnownSymbolSyntactically(E.name)&&V_(E.name)}for(var T=0,S=0,L=n.properties;S<L.length;S++){var x=L[S],A=va(x),D=x.name&&157===x.name.kind&&!e.isWellKnownSymbolSyntactically(x.name.expression)?V_(x.name):void 0;if(285===x.kind||286===x.kind||e.isObjectLiteralMethod(x)){var C=285===x.kind?Jh(x,t):286===x.kind?zh(!r&&x.objectAssignmentInitializer?x.objectAssignmentInitializer:x.name,t):Xh(x,t);if(p){var I=xi(x);I?(Rd(C,I,x),C=I):f&&f.typeExpression&&Rd(C,Vu(f.typeExpression),x)}_|=3670016&e.getObjectFlags(C);var N=D&&Bo(D)?D:void 0,R=N?ur(4|A.flags,Ho(N),4096|d):ur(4|A.flags,A.escapedName,d);if(N&&(R.nameType=N),r)(285===x.kind&&M_(x.initializer)||286===x.kind&&x.objectAssignmentInitializer)&&(R.flags|=16777216);else if(l&&!(512&e.getObjectFlags(c))){var k=Zs(c,A.escapedName);k?R.flags|=16777216&k.flags:j.suppressExcessPropertyErrors||rc(c,0)||or(x.name,e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Qa(A),$a(c))}R.declarations=A.declarations,R.parent=A.parent,A.valueDeclaration&&(R.valueDeclaration=A.valueDeclaration),R.type=C,R.target=A,A=R,null==a||a.set(R.escapedName,R)}else{if(287===x.kind){if(K<2&&ST(x,2),o.length>0&&(s=Cu(s,M(),n.symbol,_,u),o=[],i=e.createSymbolTable(),y=!1,h=!1),!W_(C=zs(iv(x.expression))))return or(x,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),Se;a&&Y_(C,a,x),s=Cu(s,C,n.symbol,_,u),T=o.length;continue}e.Debug.assert(166===x.kind||167===x.kind),TE(x)}!D||8576&D.flags?i.set(A.escapedName,A):Dd(D,ze)&&(Dd(D,ke)?h=!0:y=!0,r&&(g=!0)),o.push(A)}if(l&&287!==n.parent.kind)for(var O=0,P=Cs(c);O<P.length;O++){R=P[O];i.get(R.escapedName)||Zs(s,R.escapedName)||(16777216&R.flags||or(R.valueDeclaration||R.bindingElement,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),i.set(R.escapedName,R),o.push(R))}return s!==Ze?(o.length>0&&(s=Cu(s,M(),n.symbol,_,u),o=[],i=e.createSymbolTable(),y=!1,h=!1),Sm(s,(function(e){return e===Ze?M():e}))):M();function M(){var t=y?j_(n,T,o,0):void 0,a=h?j_(n,T,o,1):void 0,s=wa(n.symbol,i,e.emptyArray,e.emptyArray,t,a);return s.objectFlags|=1048704|_,m&&(s.objectFlags|=16384),g&&(s.objectFlags|=512),r&&(s.pattern=n),s}}function W_(n){if(63176704&n.flags){var t=Ms(n);if(void 0!==t)return W_(t)}return!!(126615553&n.flags||117632&qp(n)&&W_(zp(n))||3145728&n.flags&&e.every(n.types,W_))}function q_(n){return!e.stringContains(n,"-")}function z_(n){return 78===n.kind&&e.isIntrinsicJsxName(n.escapedText)}function J_(e,n){return e.initializer?zh(e.initializer,n):we}function X_(e,n){for(var t=[],r=0,a=e.children;r<a.length;r++){var i=a[r];11===i.kind?i.containsOnlyTriviaWhiteSpaces||t.push(Re):t.push(zh(i,n))}return t}function Y_(n,t,r){for(var a=0,i=Cs(n);a<i.length;a++){var o=i[a],s=t.get(o.escapedName),c=to(o);if(s&&!Ch(c,98304)&&!(Ch(c,3)&&16777216&o.flags)){var l=or(s.valueDeclaration,e.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,e.unescapeLeadingUnderscores(s.escapedName));e.addRelatedInfo(l,e.createDiagnosticForNode(r,e.Diagnostics.This_spread_always_overwrites_this_property))}}}function Q_(n,t){return function(n,t){for(var r,a=n.attributes,i=q?e.createSymbolTable():void 0,o=e.createSymbolTable(),s=$e,c=!1,l=!1,u=4096,d=tg(eg(n)),p=0,f=a.properties;p<f.length;p++){var m=f[p],_=m.symbol;if(e.isJsxAttribute(m)){var g=J_(m,t);u|=3670016&e.getObjectFlags(g);var y=ur(33554436|_.flags,_.escapedName);y.declarations=_.declarations,y.parent=_.parent,_.valueDeclaration&&(y.valueDeclaration=_.valueDeclaration),y.type=g,y.target=_,o.set(y.escapedName,y),null==i||i.set(y.escapedName,y),m.name.escapedText===d&&(l=!0)}else{e.Debug.assert(279===m.kind),o.size>0&&(s=Cu(s,L(),a.symbol,u,!1),o=e.createSymbolTable()),hi(g=zs(Vh(m.expression,t)))&&(c=!0),W_(g)?(s=Cu(s,g,a.symbol,u,!1),i&&Y_(g,i,m)):r=r?Kl([r,g]):g}}c||o.size>0&&(s=Cu(s,L(),a.symbol,u,!1));var h=270===n.parent.kind?n.parent:void 0;if(h&&h.openingElement===n&&h.children.length>0){var v=X_(h,t);if(!c&&d&&""!==d){l&&or(a,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d));var b=L_(n.attributes),E=b&&y_(b,d),T=ur(33554436,d);T.type=1===v.length?v[0]:E&&vm(E,Cp)?xl(v):vl(wl(v)),T.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(d),void 0,void 0),e.setParent(T.valueDeclaration,a),T.valueDeclaration.symbol=T;var S=e.createSymbolTable();S.set(d,T),s=Cu(s,wa(a.symbol,S,e.emptyArray,e.emptyArray,void 0,void 0),a.symbol,u,!1)}}return c?be:r&&s!==$e?Kl([r,s]):r||(s===$e?L():s);function L(){u|=$;var n=wa(a.symbol,o,e.emptyArray,e.emptyArray,void 0,void 0);return n.objectFlags|=1048704|u,n}}(n.parent,t)}function Z_(e,n){var t=eg(n),r=t&&ma(t),a=r&&Tr(r,e,788968);return a?Io(a):Se}function $_(n){var t=br(n);if(!t.resolvedSymbol){var r=Z_(D.IntrinsicElements,n);if(r!==Se){if(!e.isIdentifier(n.tagName))return e.Debug.fail();var a=Zs(r,n.tagName.escapedText);return a?(t.jsxFlags|=1,t.resolvedSymbol=a):ac(r,0)?(t.jsxFlags|=2,t.resolvedSymbol=r.symbol):(or(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(n.tagName),"JSX."+D.IntrinsicElements),t.resolvedSymbol=he)}return Y&&or(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(D.IntrinsicElements)),t.resolvedSymbol=he}return t.resolvedSymbol}function eg(e){var n=e&&br(e);if(n&&n.jsxNamespace)return n.jsxNamespace;if(!n||!1!==n.jsxNamespace){var t=ar(e),r=xr(e,t,1920,void 0,t,!1);if(r){var a=Jr(Tr(ma(Jr(r)),D.JSX,1920));if(a)return n&&(n.jsxNamespace=a),a;n&&(n.jsxNamespace=!1)}}return ll(D.JSX,1920,void 0)}function ng(n,t){var r=t&&Tr(t.exports,n,788968),a=r&&Io(r),i=a&&Cs(a);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&or(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function tg(e){return ng(D.ElementChildrenAttributeNameContainer,e)}function rg(n,t){var r=Z_(D.IntrinsicElements,t);if(r!==Se){var a=n.value,i=Zs(r,e.escapeLeadingUnderscores(a));if(i)return to(i);var o=ac(r,0);return o||void 0}return be}function ag(n){e.Debug.assert(z_(n.tagName));var t=br(n);if(!t.resolvedJsxElementAttributesType){var r=$_(n);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=to(r):2&t.jsxFlags?t.resolvedJsxElementAttributesType=ac(Io(r),0):t.resolvedJsxElementAttributesType=Se}return t.resolvedJsxElementAttributesType}function ig(e){var n=Z_(D.ElementClass,e);if(n!==Se)return n}function og(e){return Z_(D.Element,e)}function sg(e){var n=og(e);if(n)return wl([n,Ie])}function cg(n){var t,r=e.isJsxOpeningLikeElement(n);r&&function(n){RT(n,n.typeArguments);for(var t=new e.Map,r=0,a=n.attributes.properties;r<a.length;r++){var i=a[r];if(279!==i.kind){var o=i.name,s=i.initializer;if(t.get(o.escapedText))return XT(o,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(t.set(o.escapedText,!0),s&&280===s.kind&&!s.expression)return XT(s,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}(n),t=n,0===(j.jsx||0)&&or(t,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===og(t)&&Y&&or(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist);var a,i=zt&&2===j.jsx?e.Diagnostics.Cannot_find_name_0:void 0,o=ar(n),s=r?n.tagName:n;if(e.isJsxOpeningFragment(n)&&"null"===o||(a=xr(s,o,111551,i,o,!0)),a&&(a.isReferenced=67108863,2097152&a.flags&&!Zr(a)&&ea(a)),r){var c=n,l=ky(c);wy(l,n),function(n,t,r){if(1===n)(a=sg(r))&&ep(t,a,$t,r.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,o);else if(0===n){(i=ig(r))&&ep(t,i,$t,r.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,o)}else{var a=sg(r),i=ig(r);if(!a||!i)return;ep(t,wl([a,i]),$t,r.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,o)}function o(){var n=e.getTextOfNode(r.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,n)}}(cy(c),Ec(l),c)}}function lg(e,n,t){if(524288&e.flags){var r=Ls(e);if(r.stringIndexInfo||r.numberIndexInfo&&U_(n)||As(e,n)||t&&!q_(n))return!0}else if(3145728&e.flags&&ug(e))for(var a=0,i=e.types;a<i.length;a++){if(lg(i[a],n,t))return!0}return!1}function ug(n){return!!(524288&n.flags&&!(512&e.getObjectFlags(n))||67108864&n.flags||1048576&n.flags&&e.some(n.types,ug)||2097152&n.flags&&e.every(n.types,ug))}function dg(n,t){if(function(n){if(n.expression&&e.isCommaSequence(n.expression))XT(n.expression,e.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(n),n.expression){var r=iv(n.expression,t);return n.dotDotDotToken&&r!==be&&!Tp(r)&&or(n,e.Diagnostics.JSX_spread_child_must_be_an_array_type),r}return Se}function pg(n){return n.valueDeclaration?e.getCombinedNodeFlags(n.valueDeclaration):0}function fg(n){if(8192&n.flags||4&e.getCheckFlags(n))return!0;if(e.isInJSFile(n.valueDeclaration)){var t=n.valueDeclaration.parent;return t&&e.isBinaryExpression(t)&&3===e.getAssignmentDeclarationKind(t)}}function mg(n,t,r,a){var i,o=e.getDeclarationModifierFlagsFromSymbol(a),s=156===n.kind?n.right:192===n.kind?n:n.name;if(t){if(K<2&&_g(a))return or(s,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(128&o)return or(s,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Qa(a),$a(mp(a))),!1}if(128&o&&e.isThisProperty(n)&&_g(a)&&((i=e.getClassLikeDeclarationOfSymbol(ba(a)))&&function(n){return!!e.findAncestor(n,(function(n){return!!(e.isConstructorDeclaration(n)&&e.nodeIsPresent(n.body)||e.isPropertyDeclaration(n))||!(!e.isClassLike(n)&&!e.isFunctionLikeDeclaration(n))&&"quit"}))}(n)))return or(s,e.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Qa(a),e.getTextOfIdentifierOrLiteral(i.name)),!1;if(e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name))return!!e.getContainingClass(n)||(or(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),!1);if(!(24&o))return!0;if(8&o)return!!kE(n,i=e.getClassLikeDeclarationOfSymbol(ba(a)))||(or(s,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,Qa(a),$a(mp(a))),!1);if(t)return!0;var c=RE(n,(function(n){var t=Io(va(n));return function(n,t){return fp(t,(function(t){return!!(16&e.getDeclarationModifierFlagsFromSymbol(t))&&!io(n,mp(t))}))?void 0:n}(t,a)?t:void 0}));if(!c){var l=void 0;if(32&o||!(l=function(n){var t=e.getThisContainer(n,!1);return t&&e.isFunctionLike(t)?e.getThisParameter(t):void 0}(n))||!l.type)return or(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Qa(a),$a(mp(a)||r)),!1;var u=Vu(l.type);c=(262144&u.flags?Ns(u):u).target}return!!(32&o)||(262144&r.flags&&(r=r.isThisType?Ns(r):Ms(r)),!(!r||!io(r,c))||(or(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1,Qa(a),$a(c)),!1))}function _g(e){return!!fp(e,(function(e){return!(8192&e.flags)}))}function gg(e){return Tg(iv(e),e)}function yg(e){return!!(98304&(q?qp(e):e.flags))}function hg(e){return yg(e)?Qp(e):e}function vg(n,t){or(n,32768&t?65536&t?e.Diagnostics.Object_is_possibly_null_or_undefined:e.Diagnostics.Object_is_possibly_undefined:e.Diagnostics.Object_is_possibly_null)}function bg(n,t){or(n,32768&t?65536&t?e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function Eg(n,t,r){if(q&&2&n.flags)return or(t,e.Diagnostics.Object_is_of_type_unknown),Se;var a=98304&(q?qp(n):n.flags);if(a){r(t,a);var i=Qp(n);return 229376&i.flags?Se:i}return n}function Tg(e,n){return Eg(e,n,vg)}function Sg(n,t){var r=Tg(n,t);return r!==Se&&16384&r.flags&&or(t,e.Diagnostics.Object_is_possibly_undefined),r}function Lg(e){return 32&e.flags?function(e){var n=iv(e.expression),t=tf(n,e.expression);return nf(Ng(e,e.expression,Tg(t,e.expression),e.name),e,t!==n)}(e):Ng(e,e.expression,gg(e.expression),e.name)}function xg(e){return Ng(e,e.left,gg(e.left),e.right)}function Ag(n){for(;204===n.parent.kind;)n=n.parent;return e.isCallOrNewExpression(n.parent)&&n.parent.expression===n}function Dg(n,t){for(var r=e.getContainingClass(t);r;r=e.getContainingClass(r)){var a=r.symbol,i=e.getSymbolNameForPrivateIdentifier(a,n),o=a.members&&a.members.get(i)||a.exports&&a.exports.get(i);if(o)return o}}function Cg(e,n){return Zs(e,n.escapedName)}function Ig(n,t){return e.isThisProperty(n)&&(Ni(t)||Ii(t))&&e.getThisContainer(n,!0)===Ri(t)}function Ng(n,t,r,a){var i,o=br(t).resolvedSymbol,s=e.getAssignmentTargetKind(n),l=js(0!==s||Ag(n)?df(r):r);e.isPrivateIdentifier(a)&&ST(n,1048576);var u,d,p=hi(l)||l===je;if(e.isPrivateIdentifier(a)){var f=Dg(a.escapedText,a);if(p){if(f)return l;if(!e.getContainingClass(a))return XT(a,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),be}if(!(u=f?Cg(r,f):void 0)&&function(n,t,r){var a,i=Cs(n);i&&e.forEach(i,(function(n){var r=n.valueDeclaration;if(r&&e.isNamedDeclaration(r)&&e.isPrivateIdentifier(r.name)&&r.name.escapedText===t.escapedText)return a=n,!0}));var o=Ir(t);if(a){var s=a.valueDeclaration,l=e.getContainingClass(s);if(e.Debug.assert(!!l),r){var u=r.valueDeclaration,d=e.getContainingClass(u);if(e.Debug.assert(!!d),e.findAncestor(d,(function(e){return l===e}))){var p=or(t,e.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,o,$a(n));return e.addRelatedInfo(p,e.createDiagnosticForNode(u,e.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,o),e.createDiagnosticForNode(s,e.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,o)),!0}}return or(t,e.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,o,Ir(l.name||c)),!0}return!1}(r,a,f))return Se}else{if(p)return e.isIdentifier(t)&&o&&Ym(o,n),l;u=Zs(l,a.escapedText)}if(!e.isIdentifier(t)||!o||u&&$E(u)||Ym(o,n),u){if(134217728&(null===(i=u.valueDeclaration)||void 0===i?void 0:i.flags)&&$l(n,u)&&cr(!1,a,e.Diagnostics._0_is_deprecated,a.escapedText),function(n,t,r){var a,i=n.valueDeclaration;if(!i||e.getSourceFileOfNode(t).isDeclarationFile)return;var o=e.idText(r);!function(n){return!!e.findAncestor(n,(function(n){switch(n.kind){case 162:return!0;case 285:case 164:case 166:case 167:case 287:case 157:case 225:case 280:case 277:case 278:case 279:case 272:case 220:case 283:return!1;default:return!e.isExpressionNode(n)&&"quit"}}))}(t)||e.isAccessExpression(t)&&e.isAccessExpression(t.expression)||Sr(i,r)||function(e){if(!(32&e.parent.flags))return!1;var n=to(e.parent);for(;;){if(!(n=n.symbol&&kg(n)))return!1;var t=Zs(n,e.escapedName);if(t&&t.valueDeclaration)return!0}}(n)?249!==i.kind||172===t.parent.kind||8388608&i.flags||Sr(i,r)||(a=or(r,e.Diagnostics.Class_0_used_before_its_declaration,o)):a=or(r,e.Diagnostics.Property_0_is_used_before_its_initialization,o);a&&e.addRelatedInfo(a,e.createDiagnosticForNode(i,e.Diagnostics._0_is_declared_here,o))}(u,n,a),Ug(u,n,107===t.kind),br(n).resolvedSymbol=u,mg(n,105===t.kind,l,u),Lh(n,u,s))return or(a,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,e.idText(a)),Se;d=Ig(n,u)?Ee:Xm(to(u),n)}else{var m=e.isPrivateIdentifier(a)||0!==s&&tu(r)&&!au(r)?void 0:rc(l,0);if(!m||!m.type)return Ql(r)?be:r.symbol===ae?(ae.exports.has(a.escapedText)&&418&ae.exports.get(a.escapedText).flags?or(a,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(a.escapedText),$a(r)):Y&&or(a,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,$a(r)),be):(a.escapedText&&!Rr(n)&&function(n,t){var r,a;if(!e.isPrivateIdentifier(n)&&1048576&t.flags&&!(131068&t.flags))for(var i=0,o=t.types;i<o.length;i++){var s=o[i];if(!Zs(s,n.escapedText)&&!rc(s,0)){r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(n),$a(s));break}}if(Og(n.escapedText,t))r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_is_a_static_member_of_type_1,e.declarationNameToString(n),$a(t));else{var c=Dv(t);if(c&&Zs(c,n.escapedText))r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(n),$a(t)),a=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await);else{var l=Pg(n,t);if(void 0!==l){var u=e.symbolName(l);r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,e.declarationNameToString(n),$a(t),u),a=l.valueDeclaration&&e.createDiagnosticForNode(l.valueDeclaration,e.Diagnostics._0_is_declared_here,u)}else r=e.chainDiagnosticMessages(Qs(r,t),e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(n),$a(t))}}var d=e.createDiagnosticForNodeFromMessageChain(n,r);a&&e.addRelatedInfo(d,a);zt.add(d)}(a,au(r)?l:r),Se);m.isReadonly&&(e.isAssignmentTarget(n)||e.isDeleteTarget(n))&&or(n,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,$a(l)),d=m.type}return Rg(n,u,d,a)}function Rg(n,t,r,a){var i=e.getAssignmentTargetKind(n);if(!e.isAccessExpression(n)||1===i||t&&!(98311&t.flags)&&!(8192&t.flags&&1048576&r.flags))return r;if(r===Ee)return Oi(n,t);var o=!1;if(q&&X&&107===n.expression.kind){var s=t&&t.valueDeclaration;if(s&&rE(s)){var c=Km(n);165!==c.kind||c.parent!==s.parent||8388608&s.flags||(o=!0)}}else q&&t&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)&&e.getAssignmentDeclarationPropertyAccessKind(t.valueDeclaration)&&Km(n)===Km(t.valueDeclaration)&&(o=!0);var l=jm(n,r,o?Yp(r):r);return o&&!(32768&qp(r))&&32768&qp(l)?(or(a,e.Diagnostics.Property_0_is_used_before_being_assigned,Qa(t)),r):i?Op(l):l}function kg(e){var n=ho(e);if(0!==n.length)return Kl(n)}function Og(n,t){var r=t.symbol&&Zs(to(t.symbol),n);return void 0!==r&&r.valueDeclaration&&e.hasSyntacticModifier(r.valueDeclaration,32)}function Pg(n,t){return Bg(e.isString(n)?n:e.idText(n),Cs(t),111551)}function Mg(n,t){var r=e.isString(n)?n:e.idText(n),a=Cs(t),i="for"===r?e.find(a,(function(n){return"htmlFor"===e.symbolName(n)})):"class"===r?e.find(a,(function(n){return"className"===e.symbolName(n)})):void 0;return null!=i?i:Bg(r,a,111551)}function wg(n,t){var r=Pg(n,t);return r&&e.symbolName(r)}function Fg(n,t,r){return e.Debug.assert(void 0!==t,"outername should always be defined"),Ar(n,t,r,void 0,t,!1,!1,(function(n,r,a){return e.Debug.assertEqual(t,r,"name should equal outerName"),Tr(n,r,a)||Bg(e.unescapeLeadingUnderscores(r),e.arrayFrom(n.values()),a)}))}function Gg(n,t){return t.exports&&Bg(e.idText(n),pa(t),2623475)}function Bg(n,t,r){return e.getSpellingSuggestion(n,t,(function(n){var t=e.symbolName(n);if(e.startsWith(t,'"'))return;if(n.flags&r)return t;if(2097152&n.flags){var a=function(e){if(vr(e).target!==ve)return Xr(e)}(n);if(a&&a.flags&r)return t}return}))}function Ug(n,t,r){var a=n&&106500&n.flags&&n.valueDeclaration;if(a){var i=e.hasEffectiveModifier(a,8),o=e.isNamedDeclaration(n.valueDeclaration)&&e.isPrivateIdentifier(n.valueDeclaration.name);if((i||o)&&(!t||!e.isWriteOnlyAccess(t)||65536&n.flags)){if(r){var s=e.findAncestor(t,e.isFunctionLikeDeclaration);if(s&&s.symbol===n)return}(1&e.getCheckFlags(n)?vr(n).target:n).isReferenced=67108863}}}function Vg(n,t,r,a){if(a===Se||hi(a))return!0;var i=Zs(a,r);if(i){if(e.isPropertyAccessExpression(n)&&i.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(i.valueDeclaration)){var o=e.getContainingClass(i.valueDeclaration);return!e.isOptionalChain(n)&&!!e.findAncestor(n,(function(e){return e===o}))}return mg(n,t,a,i)}return e.isInJSFile(n)&&0!=(1048576&a.flags)&&a.types.some((function(e){return Vg(n,t,r,e)}))}function jg(n){var t=n.initializer;if(247===t.kind){var r=t.declarations[0];if(r&&!e.isBindingPattern(r.name))return va(r)}else if(78===t.kind)return Wf(t)}function Kg(e){return 32&e.flags?function(e){var n=iv(e.expression),t=tf(n,e.expression);return nf(Hg(e,Tg(t,e.expression)),e,t!==n)}(e):Hg(e,gg(e.expression))}function Hg(n,t){var r=0!==e.getAssignmentTargetKind(n)||Ag(n)?df(t):t,a=n.argumentExpression,i=iv(a);if(r===Se||r===je)return r;if(Rh(r)&&!e.isStringLiteralLike(a))return or(a,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Se;var o=du(r,function(n){var t,r=e.skipParentheses(n);if(78===r.kind){var a=Wf(r);if(3&a.flags)for(var i=n,o=n.parent;o;){if(235===o.kind&&i===o.statement&&jg(o)===a&&(ac(t=tv(o.expression),1)&&!ac(t,0)))return!0;i=o,o=o.parent}}return!1}(a)?ke:i,n,e.isAssignmentTarget(n)?2|(tu(r)&&!au(r)?1:0):0)||Se;return bv(Rg(n,o.symbol,o,a),n)}function Wg(n,t,r){if(t===Se)return!1;if(!e.isWellKnownSymbolSyntactically(n))return!1;if(0==(12288&t.flags))return r&&or(n,e.Diagnostics.A_computed_property_name_of_the_form_0_must_be_of_type_symbol,e.getTextOfNode(n)),!1;var a=n.expression,i=Wf(a);if(!i)return!1;var o=dl(!0);return!!o&&(i===o||(r&&or(a,e.Diagnostics.Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object),!1))}function qg(n){return e.isCallOrNewExpression(n)||e.isTaggedTemplateExpression(n)||e.isJsxOpeningLikeElement(n)}function zg(n){return qg(n)&&e.forEach(n.typeArguments,bE),202===n.kind?iv(n.template):e.isJsxOpeningLikeElement(n)?iv(n.attributes):160!==n.kind&&e.forEach(n.arguments,(function(e){iv(e)})),it}function Jg(e){return zg(e),ot}function Xg(e){return!!e&&(217===e.kind||224===e.kind&&e.isSpread)}function Yg(n){return e.findIndex(n,Xg)}function Qg(e){return!!(16384&e.flags)}function Zg(n,t,r,a){var i;void 0===a&&(a=!1);var o=!1,s=eh(r),c=nh(r);if(202===n.kind)if(i=t.length,215===n.template.kind){var l=e.last(n.template.templateSpans);o=e.nodeIsMissing(l.literal)||!!l.literal.isUnterminated}else{var u=n.template;e.Debug.assert(14===u.kind),o=!!u.isUnterminated}else if(160===n.kind)i=fy(n,r);else if(e.isJsxOpeningLikeElement(n)){if(o=n.attributes.end===n.end)return!0;i=0===c?t.length:1,s=0===t.length?s:1,c=Math.min(c,1)}else{if(!n.arguments)return e.Debug.assert(201===n.kind),0===nh(r);i=a?t.length+1:t.length,o=n.arguments.end===n.end;var d=Yg(t);if(d>=0)return d>=nh(r)&&(th(r)||d<eh(r))}if(!th(r)&&i>s)return!1;if(o||i>=c)return!0;for(var p=i;p<c;p++){if(131072&Em(Qy(r,p),Qg).flags)return!1}return!0}function $g(n,t){var r=e.length(n.typeParameters),a=fc(n.typeParameters);return!e.some(t)||t.length>=a&&t.length<=r}function ey(e){return ty(e,0,!1)}function ny(e){return ty(e,0,!1)||ty(e,1,!1)}function ty(e,n,t){if(524288&e.flags){var r=Ls(e);if(t||0===r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function ry(n,t,r,a){var i=yf(n.typeParameters,n,0,a),o=rh(t),s=r&&(o&&262144&o.flags?r.nonFixingMapper:r.mapper);return _f(s?rd(t,s):t,n,(function(e,n){Pf(i.inferences,e,n)})),r||gf(t,n,(function(e,n){Pf(i.inferences,e,n,64)})),xc(n,Kf(i),e.isInJSFile(t.declaration))}function ay(n,t,r,a,i){if(e.isJsxOpeningLikeElement(n))return function(e,n,t,r){var a=I_(n,e),i=Uh(e.attributes,a,r,t);return Pf(r.inferences,i,a),Kf(r)}(n,t,a,i);if(160!==n.kind){var o=D_(n,e.every(t.typeParameters,(function(e){return!!Us(e)}))?8:0);if(o){var s=C_(n),c=pd(o,Sf(function(n,t){return void 0===t&&(t=0),n&&hf(e.map(n.inferences,Tf),n.signature,n.flags|t,n.compareTypes)}(s,1))),l=ey(c),u=l&&l.typeParameters?Rc(Ac(l,l.typeParameters)):c,d=Ec(t);Pf(i.inferences,u,d,64);var p=yf(t.typeParameters,t,i.flags),f=pd(o,s&&s.returnMapper);Pf(p.inferences,f,d),i.returnMapper=e.some(p.inferences,Zh)?Sf(function(n){var t=e.filter(n.inferences,Zh);return t.length?hf(e.map(t,Tf),n.signature,n.flags,n.compareTypes):void 0}(p)):void 0}}var m=ah(t),_=m?Math.min(eh(t)-1,r.length):r.length;if(m&&262144&m.flags){var g=e.find(i.inferences,(function(e){return e.typeParameter===m}));g&&(g.impliedArity=e.findIndex(r,Xg,_)<0?r.length-_:void 0)}var y=vc(t);if(y){var h=uy(n),v=h?iv(h):Ue;Pf(i.inferences,v,y)}for(var b=0;b<_;b++){var E=r[b];if(219!==E.kind){var T=Qy(t,b),S=Uh(E,T,i,a);Pf(i.inferences,S,T)}}if(m){var L=oy(r,_,r.length,m,i,a);Pf(i.inferences,L,m)}return Kf(i)}function iy(e){return 1048576&e.flags?Sm(e,iy):1&e.flags||Lp(Ms(e)||e)?e:Gp(e)?xl(Hc(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):xl([e],[8])}function oy(n,t,r,a,i,o){if(t>=r-1&&Xg(d=n[r-1]))return iy(224===d.kind?d.type:Uh(d.expression,a,i,o));for(var s=[],c=[],l=[],u=t;u<r;u++){var d;if(Xg(d=n[u])){var p=224===d.kind?d.type:iv(d.expression);Ap(p)?(s.push(p),c.push(8)):(s.push(bb(33,p,Ae,217===d.kind?d.expression:d)),c.push(4))}else{var f=lu(a,wu(u-t)),m=Uh(d,f,i,o),_=Ch(f,4325372);s.push(_?Pu(m):Pp(m)),c.push(1)}224===d.kind&&d.tupleNameSource&&l.push(d.tupleNameSource)}return xl(s,c,!1,e.length(l)===e.length(s)?l:void 0)}function sy(n,t,r,a){for(var i,o=e.isInJSFile(n.declaration),s=n.typeParameters,c=mc(e.map(t,Vu),s,fc(s),o),l=0;l<t.length;l++){e.Debug.assert(void 0!==s[l],"Should not call checkTypeArguments with too many type arguments");var u=Ns(s[l]);if(u){var d=r&&a?function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:void 0,p=a||e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;i||(i=qu(s,c));var f=c[l];if(!Rd(f,Xo(pd(u,i),f),r?t[l]:void 0,p,d))return}}return c}function cy(n){if(z_(n.tagName))return 2;var t=js(iv(n.tagName));return e.length(ec(t,1))?0:e.length(ec(t,0))?1:2}function ly(n,t,r,a,i,o,s){var c={errors:void 0,skipLogging:!0};if(e.isJsxOpeningLikeElement(n))return function(n,t,r,a,i,o,s){var c=I_(t,n),l=Uh(n.attributes,c,void 0,a);return function(){var t,r=e.isJsxOpeningElement(n)||e.isJsxSelfClosingElement(n)&&!z_(n.tagName)?iv(n.tagName):void 0;if(!r)return!0;var a=ec(r,0);if(!e.length(a))return!0;var o=bT(n);if(!o)return!0;var c=ra(o,111551,!0,!1,n);if(!c)return!0;var l=ec(to(c),0);if(!e.length(l))return!0;for(var u=!1,d=0,p=0,f=l;p<f.length;p++){var m=ec(Qy(f[p],0),0);if(e.length(m))for(var _=0,g=m;_<g.length;_++){var y=g[_];if(u=!0,th(y))return!0;var h=eh(y);h>d&&(d=h)}}if(!u)return!0;for(var v=1/0,b=0,E=a;b<E.length;b++){var T=nh(E[b]);T<v&&(v=T)}if(v<=d)return!0;if(i){var S=e.createDiagnosticForNode(n.tagName,e.Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,e.entityNameToString(n.tagName),v,e.entityNameToString(o),d),L=null===(t=ME(n.tagName))||void 0===t?void 0:t.valueDeclaration;L&&e.addRelatedInfo(S,e.createDiagnosticForNode(L,e.Diagnostics._0_is_declared_here,e.entityNameToString(n.tagName))),s&&s.skipLogging&&(s.errors||(s.errors=[])).push(S),s.skipLogging||zt.add(S)}return!1}()&&Od(l,c,r,i?n.tagName:void 0,n.attributes,void 0,o,s)}(n,r,a,i,o,s,c)?void 0:(e.Debug.assert(!o||!!c.errors,"jsx should have errors when reporting errors"),c.errors||e.emptyArray);var l=vc(r);if(l&&l!==Ue&&201!==n.kind){var u=uy(n),d=void 0;u?(d=iv(u),e.isOptionalChainRoot(u.parent)?d=Qp(d):e.isOptionalChain(u.parent)&&(d=ef(d))):d=Ue;var p=o?u||n:void 0,f=e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!ep(d,l,a,p,f,s,c))return e.Debug.assert(!o||!!c.errors,"this parameter should have errors when reporting errors"),c.errors||e.emptyArray}for(var m=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,_=ah(r),g=_?Math.min(eh(r)-1,t.length):t.length,y=0;y<g;y++){var h=t[y];if(219!==h.kind){var v=Qy(r,y),b=Uh(h,v,void 0,i),E=4&i?of(b):b;if(!Od(E,v,a,o?h:void 0,h,m,s,c))return e.Debug.assert(!o||!!c.errors,"parameter should have errors when reporting errors"),S(h,E,v),c.errors||e.emptyArray}}if(_){var T=oy(t,g,t.length,_,void 0,i);p=o?g<t.length?t[g]:n:void 0;if(!ep(T,_,a,p,m,void 0,c))return e.Debug.assert(!o||!!c.errors,"rest parameter should have errors when reporting errors"),S(p,T,_),c.errors||e.emptyArray}return;function S(n,t,r){if(n&&o&&c.errors&&c.errors.length){if(Av(r))return;var i=Av(t);i&&Qd(i,r,a)&&e.addRelatedInfo(c.errors[0],e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await))}}}function uy(n){if(200===n.kind){var t=e.skipOuterExpressions(n.expression);if(e.isAccessExpression(t))return t.expression}}function dy(n,t,r,a){var i=e.parseNodeFactory.createSyntheticExpression(t,r,a);return e.setTextRange(i,n),e.setParent(i,n),i}function py(n){if(202===n.kind){var t=n.template,r=[dy(t,qn||(qn=ul("TemplateStringsArray",0,!0))||Ze)];return 215===t.kind&&e.forEach(t.templateSpans,(function(e){r.push(e.expression)})),r}if(160===n.kind)return function(n){var t=n.parent,r=n.expression;switch(t.kind){case 249:case 218:return[dy(r,to(va(t)))];case 159:var a=t.parent;return[dy(r,165===t.parent.kind?to(va(a)):Se),dy(r,be),dy(r,ke)];case 162:case 164:case 166:case 167:var i=162!==t.kind&&0!==K;return[dy(r,BE(t)),dy(r,UE(t)),dy(r,i?hl(wE(t)):be)]}return e.Debug.fail()}(n);if(e.isJsxOpeningLikeElement(n))return n.attributes.properties.length>0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,i=Yg(a);if(i>=0){for(var o=a.slice(0,i),s=function(n){var t=a[n],r=217===t.kind&&(Et?iv(t.expression):Vh(t.expression));r&&Gp(r)?e.forEach(Hc(r),(function(e,n){var a,i=r.target.elementFlags[n],s=dy(t,4&i?vl(e):e,!!(12&i),null===(a=r.target.labeledElementDeclarations)||void 0===a?void 0:a[n]);o.push(s)})):o.push(t)},c=i;c<a.length;c++)s(c);return o}return a}function fy(n,t){switch(n.parent.kind){case 249:case 218:return 1;case 162:return 2;case 164:case 166:case 167:return 0===K||t.parameters.length<=2?2:3;case 159:return 3;default:return e.Debug.fail()}}function my(n,t){var r,a,i=e.getSourceFileOfNode(n);if(e.isPropertyAccessExpression(n.expression)){var o=e.getErrorSpanForNode(i,n.expression.name);r=o.start,a=t?o.length:n.end-r}else{var s=e.getErrorSpanForNode(i,n.expression);r=s.start,a=t?s.length:n.end-r}return{start:r,length:a,sourceFile:i}}function _y(n,t,r,a,i,o){if(e.isCallExpression(n)){var s=my(n),c=s.sourceFile,l=s.start,u=s.length;return e.createFileDiagnostic(c,l,u,t,r,a,i,o)}return e.createDiagnosticForNode(n,t,r,a,i,o)}function gy(n,t,r){for(var a,i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,c=Number.POSITIVE_INFINITY,l=r.length,u=0,d=t;u<d.length;u++){var p=d[u],f=nh(p),m=eh(p);f<l&&f>s&&(s=f),l<m&&m<c&&(c=m),f<i&&(i=f,a=p),o=Math.max(o,m)}var _,g,y=e.some(t,th),h=y?i:i<o?i+"-"+o:i,v=Yg(r)>-1;l<=o&&v&&l--;var b=y||v?y&&v?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(a&&nh(a)>l&&a.declaration){var E=a.declaration.parameters[a.thisParameter?l+1:l];E&&(g=e.createDiagnosticForNode(E,e.isBindingPattern(E.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.isRestParameter(E)?e.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,E.name?e.isBindingPattern(E.name)?void 0:e.idText(e.getFirstIdentifier(E.name)):l))}if(i<l&&l<o)return _y(n,e.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,l,s,c);if(!v&&l<i){var T=_y(n,b,h,l);return g?e.addRelatedInfo(T,g):T}if(y||v){if(_=e.factory.createNodeArray(r),v&&l){var S=e.elementAt(r,Yg(r)+1)||void 0;_=e.factory.createNodeArray(r.slice(o>l&&S?r.indexOf(S):Math.min(o,r.length-1)))}}else _=e.factory.createNodeArray(r.slice(o));var L=e.first(_).pos,x=e.last(_).end;x===L&&x++,e.setTextRangePosEnd(_,L,x);var A=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),_,b,h,l);return g?e.addRelatedInfo(A,g):A}function yy(n,r,a,i,o,s){var c,l=202===n.kind,u=160===n.kind,d=e.isJsxOpeningLikeElement(n),p=!a&&t;u||(c=n.typeArguments,(l||d||105!==n.expression.kind)&&e.forEach(c,bE));var f=a||[];if(function(n,t,r){var a,i,o,s,c=0,l=-1;e.Debug.assert(!t.length);for(var u=0,d=n;u<d.length;u++){var p=d[u],f=p.declaration&&va(p.declaration),m=p.declaration&&p.declaration.parent;i&&f!==i?(o=c=t.length,a=m):a&&m===a?o+=1:(a=m,o=c),i=f,B(p)?(s=++l,c++):s=o,t.splice(s,0,r?es(p,r):p)}}(r,f,o),!f.length)return p&&zt.add(_y(n,e.Diagnostics.Call_target_does_not_contain_any_signatures)),Jg(n);var m,_,g,y,h=py(n),v=1===f.length&&!f[0].typeParameters,b=u||v||!e.some(h,yd)?0:4,E=!!(16&i)&&200===n.kind&&n.arguments.hasTrailingComma;if(f.length>1&&(y=q(f,Qt,E)),y||(y=q(f,$t,E)),y)return y;if(p)if(m)if(1===m.length||m.length>3){var T,S=m[m.length-1];m.length>3&&(T=e.chainDiagnosticMessages(T,e.Diagnostics.The_last_overload_gave_the_following_error),T=e.chainDiagnosticMessages(T,e.Diagnostics.No_overload_matches_this_call));var L=ly(n,h,S,$t,0,!0,(function(){return T}));if(L)for(var x=0,A=L;x<A.length;x++){var D=A[x];S.declaration&&m.length>3&&e.addRelatedInfo(D,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),zt.add(D)}else e.Debug.fail("No error for last overload signature")}else{for(var C=[],I=0,N=Number.MAX_VALUE,R=0,k=0,O=function(t){var r=ly(n,h,t,$t,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,k+1,f.length,Za(t))}));r?(r.length<=N&&(N=r.length,R=k),I=Math.max(I,r.length),C.push(r)):e.Debug.fail("No error for 3 or fewer overload signatures"),k++},P=0,M=m;P<M.length;P++){O(M[P])}var w=I>1?C[R]:e.flatten(C);e.Debug.assert(w.length>0,"No errors reported for 3 or fewer overload signatures");var F=e.chainDiagnosticMessages(e.map(w,(function(e){return"string"==typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),U=e.flatMap(w,(function(e){return e.relatedInformation}));if(e.every(w,(function(e){return e.start===w[0].start&&e.length===w[0].length&&e.file===w[0].file}))){var V=w[0],j=V.file,K=V.start,H=V.length;zt.add({file:j,start:K,length:H,code:F.code,category:F.category,messageText:F,relatedInformation:U})}else zt.add(e.createDiagnosticForNodeFromMessageChain(n,F,U))}else if(_)zt.add(gy(n,[_],h));else if(g)sy(g,n.typeArguments,!0,s);else{var W=e.filter(r,(function(e){return $g(e,c)}));0===W.length?zt.add(function(n,t,r){var a=r.length;if(1===t.length){var i=fc((d=t[0]).typeParameters),o=e.length(d.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,i<o?i+"-"+o:i,a)}for(var s=-1/0,c=1/0,l=0,u=t;l<u.length;l++){var d,p=fc((d=u[l]).typeParameters);o=e.length(d.typeParameters);p>a?c=Math.min(c,p):o<a&&(s=Math.max(s,o))}return s!==-1/0&&c!==1/0?e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,a,s,c):e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,s===-1/0?c:s,a)}(n,r,c)):u?s&&zt.add(_y(n,s)):zt.add(gy(n,W,h))}return function(n,t,r,a){return e.Debug.assert(t.length>0),TE(n),a||1===t.length||t.some((function(e){return!!e.typeParameters}))?function(n,t,r){var a=function(e,n){for(var t=-1,r=-1,a=0;a<e.length;a++){var i=e[a],o=eh(i);if(th(i)||o>=n)return a;o>r&&(r=o,t=a)}return t}(t,void 0===ie?r.length:ie),i=t[a],o=i.typeParameters;if(!o)return i;var s=qg(n)?n.typeArguments:void 0,c=s?Dc(i,function(e,n,t){var r=e.map(wE);for(;r.length>n.length;)r.pop();for(;r.length<n.length;)r.push(Ns(n[r.length])||jf(t));return r}(s,o,e.isInJSFile(n))):function(n,t,r,a){var i=yf(t,r,e.isInJSFile(n)?2:0),o=ay(n,r,a,12,i);return Dc(r,o)}(n,o,i,r);return t[a]=c,c}(n,t,r):function(n){var t,r=e.mapDefined(n,(function(e){return e.thisParameter}));r.length&&(t=vy(r,r.map(qy)));for(var a=e.minAndMax(n,hy),i=a.min,o=a.max,s=[],c=function(t){var r=e.mapDefined(n,(function(n){return G(n)?t<n.parameters.length-1?n.parameters[t]:e.last(n.parameters):t<n.parameters.length?n.parameters[t]:void 0}));e.Debug.assert(0!==r.length),s.push(vy(r,e.mapDefined(n,(function(e){return Zy(e,t)}))))},l=0;l<o;l++)c(l);var u=e.mapDefined(n,(function(n){return G(n)?e.last(n.parameters):void 0})),d=0;if(0!==u.length){var p=vl(wl(e.mapDefined(n,Lc),2));s.push(by(u,p)),d|=1}n.some(B)&&(d|=2);return Qo(n[0].declaration,void 0,t,s,Kl(n.map(Ec)),void 0,i,d)}(t)}(n,f,h,!!a);function q(t,r,a){if(void 0===a&&(a=!1),m=void 0,_=void 0,g=void 0,v){var i=t[0];if(e.some(c)||!Zg(n,h,i,a))return;return ly(n,h,i,r,0,!1,void 0)?void(m=[i]):i}for(var o=0;o<t.length;o++){if($g(i=t[o],c)&&Zg(n,h,i,a)){var s=void 0,l=void 0;if(i.typeParameters){var u=void 0;if(e.some(c)){if(!(u=sy(i,c,!1))){g=i;continue}}else l=yf(i.typeParameters,i,e.isInJSFile(n)?2:0),u=ay(n,i,h,8|b,l),b|=4&l.flags?8:0;if(s=xc(i,u,e.isInJSFile(i.declaration),l&&l.inferredTypeParameters),ah(i)&&!Zg(n,h,s,a)){_=s;continue}}else s=i;if(!ly(n,h,s,r,b,!1,void 0)){if(b){if(b=0,l)if(s=xc(i,u=ay(n,i,h,b,l),e.isInJSFile(i.declaration),l&&l.inferredTypeParameters),ah(i)&&!Zg(n,h,s,a)){_=s;continue}if(ly(n,h,s,r,b,!1,void 0)){(m||(m=[])).push(s);continue}}return t[o]=s,s}(m||(m=[])).push(s)}}}}function hy(e){var n=e.parameters.length;return G(e)?n-1:n}function vy(e,n){return by(e,wl(n,2))}function by(n,t){return af(e.first(n),t)}function Ey(e){return!(!e.typeParameters||!uT(Ec(e)))}function Ty(e,n,t,r){return hi(e)||hi(n)&&!!(262144&e.flags)||!t&&!r&&!(1179648&n.flags)&&Dd(e,_n)}function Sy(n,t,r){if(n.arguments&&K<1){var a=Yg(n.arguments);a>=0&&or(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=gg(n.expression);if(i===je)return ct;if((i=js(i))===Se)return Jg(n);if(hi(i))return n.typeArguments&&or(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),zg(n);var o=ec(i,1);if(o.length){if(!function(n,t){if(!t||!t.declaration)return!0;var r=t.declaration,a=e.getSelectedEffectiveModifierFlags(r,24);if(!a||165!==r.kind)return!0;var i=e.getClassLikeDeclarationOfSymbol(r.parent.symbol),o=Io(r.parent.symbol);if(!kE(n,i)){var s=e.getContainingClass(n);if(s&&16&a){var c=wE(s);if(function n(t,r){var a=ho(r);if(!e.length(a))return!1;var i=a[0];if(2097152&i.flags){for(var o=ls(i.types),s=0,c=0,l=i.types;c<l.length;c++){var u=l[c];if(!o[s]&&3&e.getObjectFlags(u)){if(u.symbol===t)return!0;if(n(t,u))return!0}s++}return!1}if(i.symbol===t)return!0;return n(t,i)}(r.parent.symbol,c))return!0}return 8&a&&or(n,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,$a(o)),16&a&&or(n,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,$a(o)),!1}return!0}(n,o[0]))return Jg(n);var s=i.symbol&&e.getClassLikeDeclarationOfSymbol(i.symbol);return s&&e.hasSyntacticModifier(s,128)?(or(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Jg(n)):yy(n,o,t,r,0)}var c=ec(i,0);if(c.length){var l=yy(n,c,t,r,0);return Y||(l.declaration&&!Oy(l.declaration)&&Ec(l)!==Ue&&or(n,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),vc(l)===Ue&&or(n,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),l}return xy(n.expression,i,1),Jg(n)}function Ly(n,t,r){var a,i=0===r,o=Iv(t),s=o&&ec(o,r).length>0;if(1048576&t.flags){for(var c=!1,l=0,u=t.types;l<u.length;l++){var d=u[l];if(0!==ec(d,r).length){if(c=!0,a)break}else if(a||(a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,$a(d)),a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Not_all_constituents_of_type_0_are_callable:e.Diagnostics.Not_all_constituents_of_type_0_are_constructable,$a(t))),c)break}c||(a=e.chainDiagnosticMessages(void 0,i?e.Diagnostics.No_constituent_of_type_0_is_callable:e.Diagnostics.No_constituent_of_type_0_is_constructable,$a(t))),a||(a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:e.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,$a(t)))}else a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,$a(t));var p=i?e.Diagnostics.This_expression_is_not_callable:e.Diagnostics.This_expression_is_not_constructable;if(e.isCallExpression(n.parent)&&0===n.parent.arguments.length){var f=br(n).resolvedSymbol;f&&32768&f.flags&&(p=e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:e.chainDiagnosticMessages(a,p),relatedMessage:s?e.Diagnostics.Did_you_forget_to_use_await:void 0}}function xy(n,t,r,a){var i=Ly(n,t,r),o=i.messageChain,s=i.relatedMessage,c=e.createDiagnosticForNodeFromMessageChain(n,o);if(s&&e.addRelatedInfo(c,e.createDiagnosticForNode(n,s)),e.isCallExpression(n.parent)){var l=my(n.parent,!0),u=l.start,d=l.length;c.start=u,c.length=d}zt.add(c),Ay(t,r,a?e.addRelatedInfo(c,a):c)}function Ay(n,t,r){if(n.symbol){var a=vr(n.symbol).originatingImport;if(a&&!e.isImportCall(a)){var i=ec(to(vr(n.symbol).target),t);if(!i||!i.length)return;e.addRelatedInfo(r,e.createDiagnosticForNode(a,e.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}}function Dy(n){switch(n.parent.kind){case 249:case 218:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 159:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 162:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 164:case 166:case 167:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return e.Debug.fail()}}function Cy(n,t,r){var a=iv(n.expression),i=js(a);if(i===Se)return Jg(n);var o,s,c=ec(i,0),l=ec(i,1).length;if(Ty(a,i,c.length,l))return zg(n);if(o=n,(s=c).length&&e.every(s,(function(e){return 0===e.minArgumentCount&&!G(e)&&e.parameters.length<fy(o,e)}))){var u=e.getTextOfNode(n.expression,!1);return or(n,e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,u),Jg(n)}var d=Dy(n);if(!c.length){var p=Ly(n.expression,i,0),f=e.chainDiagnosticMessages(p.messageChain,d),m=e.createDiagnosticForNodeFromMessageChain(n.expression,f);return p.relatedMessage&&e.addRelatedInfo(m,e.createDiagnosticForNode(n.expression,p.relatedMessage)),zt.add(m),Ay(i,0,m),Jg(n)}return yy(n,c,t,r,0,d)}function Iy(n,t){var r=eg(n),a=r&&ma(r),i=a&&Tr(a,D.Element,788968),o=i&&ne.symbolToEntityName(i,788968,n),s=e.factory.createFunctionTypeNode(void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"props",void 0,ne.typeToTypeNode(t,n))],o?e.factory.createTypeReferenceNode(o,void 0):e.factory.createKeywordTypeNode(128)),c=ur(1,"props");return c.type=t,Qo(s,void 0,void 0,[c],i?Io(i):Se,void 0,1,0)}function Ny(n,t,r){if(z_(n.tagName)){var a=ag(n),i=Iy(n,a);return kd(Uh(n.attributes,I_(i,n),void 0,0),a,n.tagName,n.attributes),i}var o=iv(n.tagName),s=js(o);if(s===Se)return Jg(n);var c=function n(t,r){if(4&t.flags)return[it];if(128&t.flags){var a=rg(t,r);return a?[Iy(r,a)]:(or(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,"JSX."+D.IntrinsicElements),e.emptyArray)}var i=js(t),o=ec(i,1);return 0===o.length&&(o=ec(i,0)),0===o.length&&1048576&i.flags&&(o=as(e.map(i.types,(function(e){return n(e,r)})))),o}(o,n);return Ty(o,s,c.length,0)?zg(n):0===c.length?(or(n.tagName,e.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,e.getTextOfNode(n.tagName)),Jg(n)):yy(n,c,t,r,0)}function Ry(n,t,r){switch(n.kind){case 200:return function(n,t,r){if(105===n.expression.kind){var a=i_(n.expression);if(hi(a)){for(var i=0,o=n.arguments;i<o.length;i++){iv(o[i])}return it}if(a!==Se){var s=e.getEffectiveBaseTypeNode(e.getContainingClass(n));if(s)return yy(n,_o(a,s.typeArguments,s),t,r,0)}return zg(n)}var c,l=iv(n.expression);if(e.isCallChain(n)){var u=tf(l,n.expression);c=u===l?0:e.isOutermostOptionalChain(n)?8:4,l=u}else c=0;if((l=Eg(l,n.expression,bg))===je)return ct;var d=js(l);if(d===Se)return Jg(n);var p=ec(d,0),f=ec(d,1).length;if(Ty(l,d,p.length,f))return l!==Se&&n.typeArguments&&or(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),zg(n);if(!p.length){if(f)or(n,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,$a(l));else{var m=void 0;if(1===n.arguments.length){var _=e.getSourceFileOfNode(n).text;e.isLineBreak(_.charCodeAt(e.skipTrivia(_,n.expression.end,!0)-1))&&(m=e.createDiagnosticForNode(n.expression,e.Diagnostics.Are_you_missing_a_semicolon))}xy(n.expression,d,0,m)}return Jg(n)}return 8&r&&!n.typeArguments&&p.some(Ey)?(Qh(n,r),st):p.some((function(n){return e.isInJSFile(n.declaration)&&!!e.getJSDocClassTag(n.declaration)}))?(or(n,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,$a(l)),Jg(n)):yy(n,p,t,r,c)}(n,t,r);case 201:return Sy(n,t,r);case 202:return function(e,n,t){var r=iv(e.tag),a=js(r);if(a===Se)return Jg(e);var i=ec(a,0),o=ec(a,1).length;return Ty(r,a,i.length,o)?zg(e):i.length?yy(e,i,n,t,0):(xy(e.tag,a,0),Jg(e))}(n,t,r);case 160:return Cy(n,t,r);case 272:case 271:return Ny(n,t,r)}throw e.Debug.assertNever(n,"Branch in 'resolveSignature' should be unreachable.")}function ky(e,n,t){var r=br(e),a=r.resolvedSignature;if(a&&a!==st&&!n)return a;r.resolvedSignature=st;var i=Ry(e,n,t||0);return i!==st&&(r.resolvedSignature=bt===Et?i:a),i}function Oy(n){var t;if(!n||!e.isInJSFile(n))return!1;var r=e.isFunctionDeclaration(n)||e.isFunctionExpression(n)?n:e.isVariableDeclaration(n)&&n.initializer&&e.isFunctionExpression(n.initializer)?n.initializer:void 0;if(r){if(e.getJSDocClassTag(n))return!0;var a=va(r);return!!(null===(t=null==a?void 0:a.members)||void 0===t?void 0:t.size)}return!1}function Py(n,t){var r,a;if(t){var i=vr(t);if(!i.inferredClassSymbol||!i.inferredClassSymbol.has(k(n))){var o=e.isTransientSymbol(n)?n:fr(n);return o.exports=o.exports||e.createSymbolTable(),o.members=o.members||e.createSymbolTable(),o.flags|=32&t.flags,(null===(r=t.exports)||void 0===r?void 0:r.size)&&yr(o.exports,t.exports),(null===(a=t.members)||void 0===a?void 0:a.size)&&yr(o.members,t.members),(i.inferredClassSymbol||(i.inferredClassSymbol=new e.Map)).set(k(o),o),o}return i.inferredClassSymbol.get(k(n))}}function My(n,t){var r;RT(n,n.typeArguments)||kT(n.arguments);var a=ky(n,void 0,t);if(a===st)return Ke;if(wy(a,n),105===n.expression.kind)return Ue;if(201===n.kind){var i=a.declaration;if(i&&165!==i.kind&&169!==i.kind&&174!==i.kind&&!e.isJSDocConstructSignature(i)&&!Oy(i))return Y&&or(n,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),be}if(e.isInJSFile(n)&&Vy(n))return function(e){var n=ia(e,e);if(n){var t=la(n);if(t)return to(t)}return be}(n.arguments[0]);var o=Ec(a);if(12288&o.flags&&Gy(n))return Fu(e.walkUpParenthesizedExpressions(n.parent));if(200===n.kind&&230===n.parent.kind&&16384&o.flags&&bc(a))if(e.isDottedName(n.expression)){if(!Gm(n)){var s=or(n.expression,e.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);Fm(n.expression,s)}}else or(n.expression,e.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(e.isInJSFile(n)){var c=e.getDeclarationOfExpando(n);if(c){var l=va(c);if(null===(r=null==l?void 0:l.exports)||void 0===r?void 0:r.size){var u=wa(l,l.exports,e.emptyArray,e.emptyArray,void 0,void 0);return u.objectFlags|=16384,Kl([o,u])}}}return o}function wy(n,t){n.declaration&&134217728&n.declaration.flags&&cr(!1,Fy(t),e.Diagnostics._0_is_deprecated,Za(n))}function Fy(n){switch((n=e.skipParentheses(n)).kind){case 200:case 160:case 201:return Fy(n.expression);case 202:return Fy(n.tag);case 272:case 271:return Fy(n.tagName);case 199:return n.argumentExpression;case 198:return n.name;case 172:var t=n;return e.isQualifiedName(t.typeName)?t.typeName.right:t;default:return n}}function Gy(n){if(!e.isCallExpression(n))return!1;var t=n.expression;if(e.isPropertyAccessExpression(t)&&"for"===t.name.escapedText&&(t=t.expression),!e.isIdentifier(t)||"Symbol"!==t.escapedText)return!1;var r=dl(!1);return!!r&&r===xr(t,"Symbol",111551,void 0,void 0,!1)}function By(n){if(kT(n.arguments)||function(n){if(H===e.ModuleKind.ES2015)return XT(n,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd);if(n.typeArguments)return XT(n,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var t=n.arguments;if(1!==t.length)return XT(n,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument);if(DT(t),e.isSpreadElement(t[0]))return XT(t[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}(n),0===n.arguments.length)return dh(n,be);for(var t=n.arguments[0],r=Vh(t),a=1;a<n.arguments.length;++a)Vh(n.arguments[a]);(32768&r.flags||65536&r.flags||!Dd(r,Re))&&or(t,e.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,$a(r));var i=ia(n,t);if(i){var o=ua(i,t,!0,!1);if(o)return dh(n,Uy(to(o),o,i))}return dh(n,be)}function Uy(n,t,r){if(W&&n&&n!==Se){var a=n;if(!a.syntheticType)if(Vr(e.find(r.declarations,e.isSourceFile),r,!1)){var i=e.createSymbolTable(),o=ur(2097152,"default");o.nameType=wu("default"),o.target=Jr(t),i.set("default",o);var s=ur(2048,"__type"),c=wa(s,i,e.emptyArray,e.emptyArray,void 0,void 0);s.type=c,a.syntheticType=W_(n)?Cu(n,c,s,0,!1):c}else a.syntheticType=n;return a.syntheticType}return n}function Vy(n){if(!e.isRequireCall(n,!0))return!1;if(!e.isIdentifier(n.expression))return e.Debug.fail();var t=xr(n.expression,n.expression.escapedText,111551,void 0,void 0,!0);if(t===se)return!0;if(2097152&t.flags)return!1;var r=16&t.flags?248:3&t.flags?246:0;if(0!==r){var a=e.getDeclarationOfKind(t,r);return!!a&&!!(8388608&a.flags)}return!1}function jy(n){(function(n){if(n.questionDotToken||32&n.flags)return XT(n.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain);return!1})(n)||RT(n,n.typeArguments),K<2&&ST(n,524288);var t=ky(n);return wy(t,n),Ec(t)}function Ky(n,r,a,i){var o=iv(a,i);if(e.isConstTypeReference(r))return function n(t){switch(t.kind){case 10:case 14:case 8:case 9:case 109:case 94:case 196:case 197:return!0;case 204:return n(t.expression);case 211:var r=t.operator,a=t.operand;return 40===r&&(8===a.kind||9===a.kind)||39===r&&8===a.kind;case 198:case 199:var i=t.expression;if(e.isIdentifier(i)){var o=ME(i);return o&&2097152&o.flags&&(o=Xr(o)),!!(o&&384&o.flags&&1===Lo(o))}}return!1}(a)||or(a,e.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),Pu(o);bE(r),o=of(Op(o));var s=Vu(r);t&&s!==Se&&(Id(s,df(o))||jd(o,s,n,e.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first));return s}function Hy(e){return 32&e.flags?function(e){var n=iv(e.expression),t=tf(n,e.expression);return nf(Qp(t),e,t!==n)}(e):Qp(iv(e.expression))}function Wy(n){return function(n){var t=n.name.escapedText;switch(n.keywordToken){case 102:if("target"!==t)return XT(n.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,n.name.escapedText,e.tokenToString(n.keywordToken),"target");break;case 99:if("meta"!==t)XT(n.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,n.name.escapedText,e.tokenToString(n.keywordToken),"meta")}}(n),102===n.keywordToken?function(n){var t=e.getNewTargetContainer(n);return t?165===t.kind?to(va(t.parent)):to(va(t)):(or(n,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Se)}(n):99===n.keywordToken?function(n){H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System&&or(n,e.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system);var t=e.getSourceFileOfNode(n);return e.Debug.assert(!!(2097152&t.flags),"Containing file is missing import meta node flag."),e.Debug.assert(!!t.externalModuleIndicator,"Containing file should be a module."),"meta"===n.name.escapedText?function(){return zn||(zn=ul("ImportMeta",0,!0))||Ze}():Se}(n):e.Debug.assertNever(n.keywordToken)}function qy(n){var t=to(n);if(q){var r=n.valueDeclaration;if(r&&e.hasInitializer(r))return Yp(t)}return t}function zy(n){return e.Debug.assert(e.isIdentifier(n.name)),n.name.escapedText}function Jy(e,n,t){var r=e.parameters.length-(G(e)?1:0);if(n<r)return e.parameters[n].escapedName;var a=e.parameters[r]||he,i=t||to(a);if(Gp(i)){var o=i.target.labeledElementDeclarations,s=n-r;return o&&zy(o[s])||a.escapedName+"_"+s}return a.escapedName}function Xy(n){return 191===n.kind||e.isParameter(n)&&n.name&&e.isIdentifier(n.name)}function Yy(e,n){var t=e.parameters.length-(G(e)?1:0);if(n<t){var r=e.parameters[n].valueDeclaration;return r&&Xy(r)?r:void 0}var a=e.parameters[t]||he,i=to(a);if(Gp(i)){var o=i.target.labeledElementDeclarations;return o&&o[n-t]}return a.valueDeclaration&&Xy(a.valueDeclaration)?a.valueDeclaration:void 0}function Qy(e,n){return Zy(e,n)||be}function Zy(e,n){var t=e.parameters.length-(G(e)?1:0);if(n<t)return qy(e.parameters[n]);if(G(e)){var r=to(e.parameters[t]),a=n-t;if(!Gp(r)||r.target.hasRestElement||a<r.target.fixedLength)return lu(r,wu(a))}}function $y(n,t){var r=eh(n),a=nh(n),i=rh(n);if(i&&t>=r-1)return t===r-1?i:vl(lu(i,ke));for(var o=[],s=[],c=[],l=t;l<r;l++){!i||l<r-1?(o.push(Qy(n,l)),s.push(l<a?1:2)):(o.push(i),s.push(8));var u=Yy(n,l);u&&c.push(u)}return xl(o,s,!1,e.length(c)===e.length(o)?c:void 0)}function eh(e){var n=e.parameters.length;if(G(e)){var t=to(e.parameters[n-1]);if(Gp(t))return n+t.target.fixedLength-(t.target.hasRestElement?0:1)}return n}function nh(n,t){if(G(n)){var r=to(n.parameters[n.parameters.length-1]);if(Gp(r)){var a=e.findIndex(r.target.elementFlags,(function(e){return!(1&e)})),i=a<0?r.target.fixedLength:a;if(i>0)return n.parameters.length-1+i}}return!t&&16&n.flags?0:n.minArgumentCount}function th(e){if(G(e)){var n=to(e.parameters[e.parameters.length-1]);return!Gp(n)||n.target.hasRestElement}return!1}function rh(e){if(G(e)){var n=to(e.parameters[e.parameters.length-1]);if(!Gp(n))return n;if(n.target.hasRestElement)return Cl(n,n.target.fixedLength)}}function ah(e){var n=rh(e);return!n||Tp(n)||hi(n)||0!=(131072&zs(n).flags)?void 0:n}function ih(e){return oh(e,Ve)}function oh(e,n){return e.parameters.length>0?Qy(e,0):n}function sh(n,t){(n.typeParameters=t.typeParameters,t.thisParameter)&&((!(i=n.thisParameter)||i.valueDeclaration&&!i.valueDeclaration.type)&&(i||(n.thisParameter=af(t.thisParameter,void 0)),ch(n.thisParameter,to(t.thisParameter))));for(var r=n.parameters.length-(G(n)?1:0),a=0;a<r;a++){var i=n.parameters[a];if(!e.getEffectiveTypeAnnotationNode(i.valueDeclaration))ch(i,Zy(t,a))}if(G(n)){i=e.last(n.parameters);if(e.isTransientSymbol(i)||!e.getEffectiveTypeAnnotationNode(i.valueDeclaration))ch(i,$y(t,r))}}function ch(n,t){var r=vr(n);if(!r.type){var a=n.valueDeclaration;r.type=t||ji(a,!0),78!==a.name.kind&&(r.type===xe&&(r.type=Vi(a.name)),function n(t){for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];e.isOmittedExpression(i)||(78===i.name.kind?vr(va(i)).type=Li(i):n(i.name))}}(a.name))}}function lh(e){var n=fl(!0);return n!==tn?Vc(n,[e=Iv(e)||xe]):xe}function uh(e){var n,t=(n=!0,On||(On=ul("PromiseLike",1,n))||tn);return t!==tn?Vc(t,[e=Iv(e)||xe]):xe}function dh(n,t){var r=lh(t);return r===xe?(or(n,e.isImportCall(n)?e.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Se):(ml(!0)||or(n,e.isImportCall(n)?e.Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),r)}function ph(n,t){if(!n.body)return Se;var r,a,i,o=e.getFunctionFlags(n),s=0!=(2&o),c=0!=(1&o),l=Ue;if(227!==n.body.kind)r=Vh(n.body,t&&-9&t),s&&(r=Cv(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));else if(c){var u=hh(n,t);u?u.length>0&&(r=wl(u,2)):l=Ve;var d=function(n,t){var r=[],a=[],i=0!=(2&e.getFunctionFlags(n));return e.forEachYieldExpression(n.body,(function(n){var o,s=n.expression?iv(n.expression,t):De;if(e.pushIfUnique(r,mh(n,s,be,i)),n.asteriskToken){var c=Db(s,i?19:17,n.expression);o=c&&c.nextType}else o=D_(n);o&&e.pushIfUnique(a,o)})),{yieldTypes:r,nextTypes:a}}(n,t),p=d.yieldTypes,f=d.nextTypes;a=e.some(p)?wl(p,2):void 0,i=e.some(f)?Kl(f):void 0}else{var m=hh(n,t);if(!m)return 2&o?dh(n,Ve):Ve;if(0===m.length)return 2&o?dh(n,Ue):Ue;r=wl(m,2)}if(r||a||i){if(a&&mf(n,a,3),r&&mf(n,r,1),i&&mf(n,i,2),r&&Rp(r)||a&&Rp(a)||i&&Rp(i)){var _=O_(n),g=_?_===_c(n)?c?void 0:r:x_(Ec(_),n):void 0;c?(a=Fp(a,g,0,s),r=Fp(r,g,1,s),i=Fp(i,g,2,s)):r=function(e,n,t){return e&&Rp(e)&&(e=wp(e,n?t?Dv(n):n:void 0)),e}(r,g,s)}a&&(a=df(a)),r&&(r=df(r)),i&&(i=df(i))}return c?fh(a||Ve,r||l,i||p_(2,n)||xe,s):s?lh(r||l):r||l}function fh(e,n,t,r){var a=r?_t:gt,i=a.getGlobalGeneratorType(!1);if(e=a.resolveIterationType(e,void 0)||xe,n=a.resolveIterationType(n,void 0)||xe,t=a.resolveIterationType(t,void 0)||xe,i===tn){var o=a.getGlobalIterableIteratorType(!1),s=o!==tn?Rb(o,a):void 0,c=s?s.returnType:be,l=s?s.nextType:Ae;return Dd(n,c)&&Dd(l,t)?o!==tn?yl(o,[e]):(a.getGlobalIterableIteratorType(!0),Ze):(a.getGlobalGeneratorType(!0),Ze)}return yl(i,[e,n,t])}function mh(n,t,r,a){var i=n.expression||n,o=n.asteriskToken?bb(a?19:17,t,r,i):t;return a?Iv(o,i,n.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o}function _h(e,n,t,r){var a=0;if(r){for(var i=n;i<t.length;i++)a|=L.get(t[i])||32768;for(i=e;i<n;i++)a&=~(L.get(t[i])||0);for(i=0;i<e;i++)a|=L.get(t[i])||32768}else{for(i=e;i<n;i++)a|=S.get(t[i])||128;for(i=0;i<e;i++)a&=~(S.get(t[i])||0)}return a}function gh(n){var t=br(n);return void 0!==t.isExhaustive?t.isExhaustive:t.isExhaustive=function(n){if(208===n.expression.kind){var t=tv(n.expression.expression),r=_h(0,0,ym(n,!1),!0),a=Ms(t)||t;return 3&a.flags?556800==(556800&r):!!(131072&Em(a,(function(e){return(rm(e)&r)===r})).flags)}var i=tv(n.expression);if(!kp(i))return!1;var o=gm(n);if(!o.length||e.some(o,Np))return!1;return s=Sm(i,Pu),c=o,1048576&s.flags?!e.forEach(s.types,(function(n){return!e.contains(c,n)})):e.contains(c,s);var s,c}(n)}function yh(e){return e.endFlowNode&&Um(e.endFlowNode)}function hh(n,t){var r=e.getFunctionFlags(n),a=[],i=yh(n),o=!1;if(e.forEachReturnStatement(n.body,(function(s){var c=s.expression;if(c){var l=Vh(c,t&&-9&t);2&r&&(l=Cv(l,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)),131072&l.flags&&(o=!0),e.pushIfUnique(a,l)}else i=!0})),0!==a.length||i||!o&&!function(e){switch(e.kind){case 205:case 206:return!0;case 164:return 197===e.parent.kind;default:return!1}}(n))return!(q&&a.length&&i)||Oy(n)&&a.some((function(e){return e.symbol===n.symbol}))||e.pushIfUnique(a,Ae),a}function vh(n,r){if(t){var a=e.getFunctionFlags(n),i=r&&qb(r,a);if((!i||!Ch(i,16385))&&163!==n.kind&&!e.nodeIsMissing(n.body)&&227===n.body.kind&&yh(n)){var o=512&n.flags;if(i&&131072&i.flags)or(e.getEffectiveReturnTypeNode(n),e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(i&&!o)or(e.getEffectiveReturnTypeNode(n),e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(i&&q&&!Dd(Ae,i))or(e.getEffectiveReturnTypeNode(n)||n,e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(j.noImplicitReturns){if(!i){if(!o)return;if(zb(n,Ec(_c(n))))return}or(e.getEffectiveReturnTypeNode(n)||n,e.Diagnostics.Not_all_code_paths_return_a_value)}}}}function bh(n,t){if(e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n)),TE(n),t&&4&t&&yd(n)){if(!e.getEffectiveReturnTypeNode(n)&&!vd(n)){var r=P_(n);if(r&&Lf(Ec(r))){var a=br(n);if(a.contextFreeType)return a.contextFreeType;var i=ph(n,t),o=Qo(void 0,void 0,void 0,e.emptyArray,i,void 0,0,0),s=wa(n.symbol,U,[o],e.emptyArray,void 0,void 0);return s.objectFlags|=2097152,a.contextFreeType=s}}return rn}return NT(n)||205!==n.kind||wT(n),function(n,t){var r=br(n);if(!(1024&r.flags)){var a=P_(n);if(!(1024&r.flags)){r.flags|=1024;var i=e.firstOrUndefined(ec(to(va(n)),0));if(!i)return;if(yd(n))if(a){var o=C_(n);t&&2&t&&function(n,t,r){for(var a=n.parameters.length-(G(n)?1:0),i=0;i<a;i++){var o=n.parameters[i].valueDeclaration;if(o.type){var s=e.getEffectiveTypeAnnotationNode(o);s&&Pf(r.inferences,Vu(s),Qy(t,i))}}var c=rh(t);if(c&&262144&c.flags){sh(n,rd(t,r.nonFixingMapper));var l=eh(t)-1;Pf(r.inferences,$y(n,l),c)}}(i,a,o);var s=o?rd(a,o.mapper):a;sh(i,s)}else!function(e){e.thisParameter&&ch(e.thisParameter);for(var n=0,t=e.parameters;n<t.length;n++){ch(t[n])}}(i);if(a&&!Tc(n)&&!i.resolvedReturnType){var c=ph(n,t);i.resolvedReturnType||(i.resolvedReturnType=c)}lv(n)}}}(n,t),to(va(n))}function Eh(e,n,t,r){if(void 0===r&&(r=!1),!Dd(n,Xe)){var a=r&&Av(n);return lr(e,!!a&&Dd(a,Xe),t),!1}return!0}function Th(n){if(!e.isCallExpression(n))return!1;if(!e.isBindableObjectDefinePropertyCall(n))return!1;var t=Vh(n.arguments[2]);if(yi(t,"value")){var r=Zs(t,"writable"),a=r&&to(r);if(!a||a===Pe||a===Me)return!0;if(r&&r.valueDeclaration&&e.isPropertyAssignment(r.valueDeclaration)){var i=iv(r.valueDeclaration.initializer);if(i===Pe||i===Me)return!0}return!1}return!Zs(t,"set")}function Sh(n){return!!(8&e.getCheckFlags(n)||4&n.flags&&64&e.getDeclarationModifierFlagsFromSymbol(n)||3&n.flags&&2&pg(n)||98304&n.flags&&!(65536&n.flags)||8&n.flags||e.some(n.declarations,Th))}function Lh(n,t,r){var a,i;if(0===r)return!1;if(Sh(t)){if(4&t.flags&&e.isAccessExpression(n)&&107===n.expression.kind){var o=e.getContainingFunction(n);if(!o||165!==o.kind&&!Oy(o))return!0;if(t.valueDeclaration){var s=e.isBinaryExpression(t.valueDeclaration),c=o.parent===t.valueDeclaration.parent,l=o===t.valueDeclaration.parent,u=s&&(null===(a=t.parent)||void 0===a?void 0:a.valueDeclaration)===o.parent,d=s&&(null===(i=t.parent)||void 0===i?void 0:i.valueDeclaration)===o;return!(c||l||u||d)}}return!0}if(e.isAccessExpression(n)){var p=e.skipParentheses(n.expression);if(78===p.kind){var f=br(p).resolvedSymbol;if(2097152&f.flags){var m=Mr(f);return!!m&&260===m.kind}}}return!1}function xh(n,t,r){var a=e.skipOuterExpressions(n,7);return 78===a.kind||e.isAccessExpression(a)?!(32&a.flags)||(or(n,r),!1):(or(n,t),!1)}function Ah(n){iv(n.expression);var t=e.skipParentheses(n.expression);if(!e.isAccessExpression(t))return or(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),Ge;e.isPropertyAccessExpression(t)&&e.isPrivateIdentifier(t.name)&&or(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var r=xa(br(t).resolvedSymbol);return r&&(Sh(r)&&or(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),function(n,t){!q||131075&t.flags||32768&qp(t)||or(n,e.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}(t,to(r))),Ge}function Dh(e){return Ch(e,2112)?Ih(e,3)||Ch(e,296)?Xe:Oe:ke}function Ch(e,n){if(e.flags&n)return!0;if(3145728&e.flags)for(var t=0,r=e.types;t<r.length;t++){if(Ch(r[t],n))return!0}return!1}function Ih(e,n,t){return!!(e.flags&n)||!(t&&114691&e.flags)&&(!!(296&n)&&Dd(e,ke)||!!(2112&n)&&Dd(e,Oe)||!!(132&n)&&Dd(e,Re)||!!(528&n)&&Dd(e,Ge)||!!(16384&n)&&Dd(e,Ue)||!!(131072&n)&&Dd(e,Ve)||!!(65536&n)&&Dd(e,Ie)||!!(32768&n)&&Dd(e,Ae)||!!(4096&n)&&Dd(e,Be)||!!(67108864&n)&&Dd(e,qe))}function Nh(n,t,r){return 1048576&n.flags?e.every(n.types,(function(e){return Nh(e,t,r)})):Ih(n,t,r)}function Rh(n){return!!(16&e.getObjectFlags(n))&&!!n.symbol&&kh(n.symbol)}function kh(e){return 0!=(128&e.flags)}function Oh(n,t,r,a,i){void 0===i&&(i=!1);var o=n.properties,s=o[r];if(285===s.kind||286===s.kind){var c=s.name,l=Wl(c);if(Bo(l)){var u=Zs(t,Ho(l));u&&(Ug(u,s,i),mg(s,!1,t,u))}var d=Ei(s,lu(t,l,c));return Mh(286===s.kind?s:s.initializer,d)}if(287===s.kind){if(!(r<o.length-1)){K<99&&ST(s,4);var p=[];if(a)for(var f=0,m=a;f<m.length;f++){var _=m[f];e.isSpreadAssignment(_)||p.push(_.name)}d=bi(t,p,t.symbol);return DT(a,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),Mh(s.expression,d)}or(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else or(s,e.Diagnostics.Property_assignment_expected)}function Ph(n,t,r,a,i){var o=n.elements,s=o[r];if(219!==s.kind){if(217!==s.kind){var c=wu(r);if(Ap(t)){var l=M_(s)?8:0,u=du(t,c,dy(s,c),l)||Se;return Mh(s,Ei(s,M_(s)?am(u,524288):u),i)}return Mh(s,a,i)}if(r<o.length-1)or(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var d=s.expression;if(213!==d.kind||62!==d.operatorToken.kind)return DT(n.elements,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),Mh(d,bm(t,Gp)?Sm(t,(function(e){return Cl(e,r)})):vl(a),i);or(d.operatorToken,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function Mh(n,t,r,a){var i;if(286===n.kind){var o=n;o.objectAssignmentInitializer&&(!q||32768&qp(iv(o.objectAssignmentInitializer))||(t=am(t,524288)),function(e,n,t,r,a){var i,o=n.kind;if(62===o&&(197===e.kind||196===e.kind))return Mh(e,iv(t,r),r,107===t.kind);i=55===o||56===o||60===o?gb(e,r):iv(e,r);var s=iv(t,r);Bh(e,n,t,i,s,a)}(o.name,o.equalsToken,o.objectAssignmentInitializer,r)),i=n.name}else i=n;return 213===i.kind&&62===i.operatorToken.kind&&(Fh(i,r),i=i.left),197===i.kind?function(e,n,t){var r=e.properties;if(q&&0===r.length)return Tg(n,e);for(var a=0;a<r.length;a++)Oh(e,n,a,r,t);return n}(i,t,a):196===i.kind?function(e,n,t){var r=e.elements;K<2&&j.downlevelIteration&&ST(e,512);for(var a=bb(65,n,Ae,e)||Se,i=0;i<r.length;i++)Ph(e,n,i,a,t);return n}(i,t,r):function(n,t,r){var a=iv(n,r),i=287===n.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,o=287===n.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;xh(n,i,o)&&kd(t,a,n,n);e.isPrivateIdentifierPropertyAccessExpression(n)&&ST(n.parent,2097152);return t}(i,t,r)}function wh(e,n){return 0!=(98304&n.flags)||Id(e,n)}function Fh(n,t){for(var r,a={expr:[n],state:[0],leftType:[void 0]},i=0;i>=0;)switch(n=a.expr[i],a.state[i]){case 0:if(e.isInJSFile(n)&&e.getAssignedExpandoInitializer(n)){l(iv(n.right,t));break}if(Gh(n),62===(o=n.operatorToken.kind)&&(197===n.left.kind||196===n.left.kind)){l(Mh(n.left,iv(n.right,t),t,107===n.right.kind));break}u(1),d(n.left);break;case 1:var o,s=r;a.leftType[i]=s,55!==(o=n.operatorToken.kind)&&56!==o&&60!==o||_b(s,n.left),u(2),d(n.right);break;case 2:s=a.leftType[i];var c=r;l(Bh(n.left,n.operatorToken,n.right,s,c,n));break;default:return e.Debug.fail("Invalid state "+a.state[i]+" for checkBinaryExpression")}return r;function l(e){r=e,i--}function u(e){a.state[i]=e}function d(n){e.isBinaryExpression(n)?(i++,a.expr[i]=n,a.state[i]=0,a.leftType[i]=void 0):r=iv(n,t)}}function Gh(n){var t=n.left,r=n.operatorToken,a=n.right;60===r.kind&&(!e.isBinaryExpression(t)||56!==t.operatorToken.kind&&55!==t.operatorToken.kind||XT(t,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(t.operatorToken.kind),e.tokenToString(r.kind)),!e.isBinaryExpression(a)||56!==a.operatorToken.kind&&55!==a.operatorToken.kind||XT(a,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(a.operatorToken.kind),e.tokenToString(r.kind)))}function Bh(n,r,a,i,o,s){var c,l,u=r.kind;switch(u){case 41:case 42:case 65:case 66:case 43:case 67:case 44:case 68:case 40:case 64:case 47:case 69:case 48:case 70:case 49:case 71:case 51:case 73:case 52:case 77:case 50:case 72:if(i===je||o===je)return je;i=Tg(i,n),o=Tg(o,a);var d=void 0;if(528&i.flags&&528&o.flags&&void 0!==(d=function(e){switch(e){case 51:case 73:return 56;case 52:case 77:return 37;case 50:case 72:return 55;default:return}}(r.kind)))return or(s||r,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(r.kind),e.tokenToString(d)),ke;var p,f=Eh(n,i,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),m=Eh(a,o,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);if(Ih(i,3)&&Ih(o,3)||!Ch(i,2112)&&!Ch(o,2112))p=ke;else if(S(i,o)){switch(u){case 49:case 71:D();break;case 42:case 66:K<3&&or(s,e.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}p=Oe}else D(S),p=Se;return f&&m&&x(p),p;case 39:case 63:if(i===je||o===je)return je;Ih(i,132)||Ih(o,132)||(i=Tg(i,n),o=Tg(o,a));var _=void 0;if(Ih(i,296,!0)&&Ih(o,296,!0)?_=ke:Ih(i,2112,!0)&&Ih(o,2112,!0)?_=Oe:Ih(i,132,!0)||Ih(o,132,!0)?_=Re:(hi(i)||hi(o))&&(_=i===Se||o===Se?Se:be),_&&!L(u))return _;if(!_){return D((function(e,n){return Ih(e,2543)&&Ih(n,2543)})),be}return 63===u&&x(_),_;case 29:case 31:case 32:case 33:return L(u)&&(i=Op(Tg(i,n)),o=Op(Tg(o,a)),A((function(e,n){return Id(e,n)||Id(n,e)||Dd(e,Xe)&&Dd(n,Xe)}))),Ge;case 34:case 35:case 36:case 37:return A((function(e,n){return wh(e,n)||wh(n,e)})),Ge;case 101:return function(n,t,r,a){return r===je||a===je?je:(!hi(r)&&Nh(r,131068)&&or(n,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),hi(a)||jE(a)||Ad(a,_n)||or(t,e.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),Ge)}(n,a,i,o);case 100:return function(n,t,r,a){return r===je||a===je?je:(r=Tg(r,n),a=Tg(a,t),Nh(r,12716)||Ih(r,4456448)||or(n,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol),Nh(a,126091264)||or(t,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Ge)}(n,a,i,o);case 55:case 75:var g=4194304&rm(i)?wl([(l=q?i:Op(o),Sm(l,Jp)),o]):i;return 75===u&&x(o),g;case 56:case 74:var y=8388608&rm(i)?wl([zp(i),o],2):i;return 74===u&&x(o),y;case 60:case 76:var h=262144&rm(i)?wl([Qp(i),o],2):i;return 76===u&&x(o),h;case 62:var v=e.isBinaryExpression(n.parent)?e.getAssignmentDeclarationKind(n.parent):0;return function(n,t){if(2===n)for(var r=0,a=xs(t);r<a.length;r++){var i=a[r],o=to(i);if(o.symbol&&32&o.symbol.flags){var s=i.escapedName,c=xr(i.valueDeclaration,s,788968,void 0,s,!1);c&&c.declarations.some(e.isJSDocTypedefTag)&&(_r(c,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),i),_r(i,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),c))}}}(v,o),function(t){var r;switch(t){case 2:return!0;case 1:case 5:case 6:case 3:case 4:var i=va(n),o=e.getAssignedExpandoInitializer(a);return!!o&&e.isObjectLiteralExpression(o)&&!!(null===(r=null==i?void 0:i.exports)||void 0===r?void 0:r.size);default:return!1}}(v)?(524288&o.flags&&(2===v||6===v||qd(o)||tm(o)||1&e.getObjectFlags(o))||x(o),i):(x(o),of(o));case 27:if(!j.allowUnreachableCode&&function n(t){switch((t=e.skipParentheses(t)).kind){case 78:case 10:case 13:case 202:case 215:case 14:case 8:case 9:case 109:case 94:case 103:case 149:case 205:case 218:case 206:case 196:case 197:case 208:case 222:case 271:case 270:return!0;case 214:return n(t.whenTrue)&&n(t.whenFalse);case 213:return!e.isAssignmentOperator(t.operatorToken.kind)&&(n(t.left)&&n(t.right));case 211:case 212:switch(t.operator){case 53:case 39:case 40:case 54:return!0}return!1;case 209:case 203:case 221:default:return!1}}(n)&&(78!==(c=a).kind||"eval"!==c.escapedText)){var b=e.getSourceFileOfNode(n),E=b.text,T=e.skipTrivia(E,n.pos);b.parseDiagnostics.some((function(n){return n.code===e.Diagnostics.JSX_expressions_must_have_one_parent_element.code&&e.textSpanContainsPosition(n,T)}))||or(n,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return o;default:return e.Debug.fail()}function S(e,n){return Ih(e,2112)&&Ih(n,2112)}function L(t){var r=Ch(i,12288)?n:Ch(o,12288)?a:void 0;return!r||(or(r,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(t)),!1)}function x(r){t&&e.isAssignmentOperator(u)&&(!xh(n,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)||e.isIdentifier(n)&&"exports"===e.unescapeLeadingUnderscores(n.escapedText)||kd(r,i,n,a))}function A(e){return!e(i,o)&&(D(e),!0)}function D(n){var t,a=!1,c=s||r;if(n){var l=Iv(i),u=Iv(o);a=!(l===i&&u===o)&&!(!l||!u)&&n(l,u)}var d=i,p=o;!a&&n&&(t=function(e,n,t){var r=e,a=n,i=Op(e),o=Op(n);t(i,o)||(r=i,a=o);return[r,a]}(i,o,n),d=t[0],p=t[1]);var f=ei(d,p),m=f[0],_=f[1];(function(n,t,a,i){var o;switch(r.kind){case 36:case 34:o="false";break;case 37:case 35:o="true"}if(o)return lr(n,t,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,o,a,i);return})(c,a,m,_)||lr(c,a,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(r.kind),m,_)}}function Uh(n,t,r,a){var i=function(n){return 278!==n.kind||e.isJsxSelfClosingElement(n.parent)?n:n.parent.parent}(n),o=i.contextualType,s=i.inferenceContext;try{i.contextualType=t,i.inferenceContext=r;var c=iv(n,1|a|(r?2:0));return Ch(c,2944)&&Wh(c,x_(t,n))?Pu(c):c}finally{i.contextualType=o,i.inferenceContext=s}}function Vh(e,n){var t=br(e);if(!t.resolvedType){if(n&&0!==n)return iv(e,n);var r=bt,a=$n;bt=Et,$n=void 0,t.resolvedType=iv(e,n),$n=a,bt=r}return t.resolvedType}function jh(n){return 203===(n=e.skipParentheses(n)).kind||221===n.kind}function Kh(n,t){var r=e.getEffectiveInitializer(n),a=rv(r)||(t?Uh(r,t,void 0,0):Vh(r));return e.isParameter(n)&&194===n.name.kind&&Gp(a)&&!a.target.hasRestElement&&Wc(a)<n.name.elements.length?function(n,t){for(var r=t.elements,a=Hc(n).slice(),i=n.target.elementFlags.slice(),o=Wc(n);o<r.length;o++){var s=r[o];(o<r.length-1||195!==s.kind||!s.dotDotDotToken)&&(a.push(!e.isOmittedExpression(s)&&M_(s)?Bi(s,!1,!1):be),i.push(2),e.isOmittedExpression(s)||M_(s)||ff(s,be))}return xl(a,i,n.target.readonly)}(a,n.name):a}function Hh(n,t){var r=2&e.getCombinedNodeFlags(n)||e.isDeclarationReadonly(n)?t:Pp(t);if(e.isInJSFile(n)){if(98304&r.flags)return ff(n,be),be;if(Dp(r))return ff(n,xn),xn}return r}function Wh(n,t){if(t){if(3145728&t.flags){var r=t.types;return e.some(r,(function(e){return Wh(n,e)}))}if(58982400&t.flags){var a=Ms(t)||xe;return Ch(a,4)&&Ch(n,128)||Ch(a,8)&&Ch(n,256)||Ch(a,64)&&Ch(n,2048)||Ch(a,4096)&&Ch(n,8192)||Wh(n,a)}return!!(4194432&t.flags&&Ch(n,128)||256&t.flags&&Ch(n,256)||2048&t.flags&&Ch(n,2048)||512&t.flags&&Ch(n,512)||8192&t.flags&&Ch(n,8192))}return!1}function qh(n){var t=n.parent;return e.isAssertionExpression(t)&&e.isConstTypeReference(t.type)||(e.isParenthesizedExpression(t)||e.isArrayLiteralExpression(t)||e.isSpreadElement(t))&&qh(t)||(e.isPropertyAssignment(t)||e.isShorthandPropertyAssignment(t))&&qh(t.parent)}function zh(e,n,t,r){var a=iv(e,n,r);return qh(e)?Pu(a):jh(e)?a:wp(a,x_(2===arguments.length?D_(e):t,e))}function Jh(e,n){return 157===e.name.kind&&V_(e.name),zh(e.initializer,n)}function Xh(e,n){return jT(e),157===e.name.kind&&V_(e.name),Yh(e,bh(e,n),n)}function Yh(n,t,r){if(r&&10&r){var a=ty(t,0,!0),i=ty(t,1,!0),o=a||i;if(o&&o.typeParameters){var s=L_(n,2);if(s){var c=ty(Qp(s),a?0:1,!1);if(c&&!c.typeParameters){if(8&r)return Qh(n,r),rn;var l=C_(n),u=l.signature&&Ec(l.signature),d=u&&ny(u);if(d&&!d.typeParameters&&!e.every(l.inferences,Zh)){var p=function(n,t){for(var r,a,i=[],o=0,s=t;o<s.length;o++){var c=(f=s[o]).symbol.escapedName;if($h(n.inferredTypeParameters,c)||$h(i,c)){var l=ka(ur(262144,ev(e.concatenate(n.inferredTypeParameters,i),c)));l.target=f,r=e.append(r,f),a=e.append(a,l),i.push(l)}else i.push(f)}if(a)for(var u=qu(r,a),d=0,p=a;d<p.length;d++){var f;(f=p[d]).mapper=u}return i}(l,o.typeParameters),f=Ac(o,p),m=e.map(l.inferences,(function(e){return Ef(e.typeParameter)}));if(_f(f,c,(function(e,n){Pf(m,e,n,0,!0)})),e.some(m,Zh)&&(gf(f,c,(function(e,n){Pf(m,e,n)})),!function(e,n){for(var t=0;t<e.length;t++)if(Zh(e[t])&&Zh(n[t]))return!0;return!1}(l.inferences,m)))return function(e,n){for(var t=0;t<e.length;t++)!Zh(e[t])&&Zh(n[t])&&(e[t]=n[t])}(l.inferences,m),l.inferredTypeParameters=e.concatenate(l.inferredTypeParameters,p),Rc(f)}return Rc(ry(o,c,l))}}}}return t}function Qh(e,n){2&n&&(C_(e).flags|=4)}function Zh(e){return!(!e.candidates&&!e.contraCandidates)}function $h(n,t){return e.some(n,(function(e){return e.symbol.escapedName===t}))}function ev(e,n){for(var t=n.length;t>1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57;)t--;for(var r=n.slice(0,t),a=1;;a++){var i=r+a;if(!$h(e,i))return i}}function nv(e){var n=ey(e);if(n&&!n.typeParameters)return Ec(n)}function tv(n){var t=rv(n);if(t)return t;if(67108864&n.flags&&$n){var r=$n[R(n)];if(r)return r}var a=Lt,i=iv(n);Lt!==a&&(($n||($n=[]))[R(n)]=i,e.setNodeFlags(n,67108864|n.flags));return i}function rv(n){var t=e.skipParentheses(n);if(!e.isCallExpression(t)||105===t.expression.kind||e.isRequireCall(t,!0)||Gy(t)){if(e.isAssertionExpression(t)&&!e.isConstTypeReference(t.type))return Vu(t.type);if(8===n.kind||10===n.kind||109===n.kind||94===n.kind)return iv(n)}else{var r=e.isCallChain(t)?function(e){var n=iv(e.expression),t=tf(n,e.expression),r=nv(n);return r&&nf(r,e,t!==n)}(t):nv(gg(t.expression));if(r)return r}}function av(e){var n=br(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=be;try{return n.contextFreeType=iv(e,4)}finally{e.contextualType=t}}function iv(n,a,i){var o=d;d=n,T=0;var s=Yh(n,function(n,a,i){var o=n.kind;if(r)switch(o){case 218:case 205:case 206:r.throwIfCancellationRequested()}switch(o){case 78:return Qm(n);case 107:return t_(n);case 105:return i_(n);case 103:return Ne;case 14:case 10:return Ou(wu(n.text));case 8:return ZT(n),Ou(wu(+n.text));case 9:return function(n){if(!(e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent))&&K<7&&XT(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))return!0}(n),Ou(function(n){return wu({negative:!1,base10Value:e.parsePseudoBigInt(n.text)})}(n));case 109:return we;case 94:return Pe;case 215:return function(n){return e.forEach(n.templateSpans,(function(n){Ch(iv(n.expression),12288)&&or(n.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String)})),Re}(n);case 13:return Sn;case 196:return w_(n,a,i);case 197:return H_(n,a);case 198:return Lg(n);case 156:return xg(n);case 199:return Kg(n);case 200:if(99===n.expression.kind)return By(n);case 201:return My(n,a);case 202:return jy(n);case 204:return function(n,t){var r=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;if(r)return Ky(r,r.typeExpression.type,n.expression,t);return iv(n.expression,t)}(n,a);case 218:return function(e){return eE(e),TE(e),to(va(e))}(n);case 205:case 206:return bh(n,a);case 208:return function(e){return iv(e.expression),Yt}(n);case 203:case 221:return function(e){return Ky(e,e.type,e.expression)}(n);case 222:return Hy(n);case 223:return Wy(n);case 207:return Ah(n);case 209:return function(e){return iv(e.expression),De}(n);case 210:return function(n){if(t){var r;if(!(32768&n.flags))if(e.isInTopLevelContext(n)){if(!qT(r=e.getSourceFileOfNode(n))){var a=void 0;if(!e.isEffectiveExternalModule(r,j)){a||(a=e.getSpanOfTokenAtPosition(r,n.pos));var i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module);zt.add(i)}if(H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System||K<4){a=e.getSpanOfTokenAtPosition(r,n.pos);i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher);zt.add(i)}}}else if(!qT(r=e.getSourceFileOfNode(n))){a=e.getSpanOfTokenAtPosition(r,n.pos),i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);var o=e.getContainingFunction(n);if(o&&165!==o.kind&&0==(2&e.getFunctionFlags(o))){var s=e.createDiagnosticForNode(o,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(i,s)}zt.add(i)}d_(n)&&or(n,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var c=iv(n.expression),l=Cv(c,n,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return l!==c||l===Se||3&c.flags||sr(!1,e.createDiagnosticForNode(n,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),l}(n);case 211:return function(n){var t=iv(n.operand);if(t===je)return je;switch(n.operand.kind){case 8:switch(n.operator){case 40:return Ou(wu(-n.operand.text));case 39:return Ou(wu(+n.operand.text))}break;case 9:if(40===n.operator)return Ou(wu({negative:!0,base10Value:e.parsePseudoBigInt(n.operand.text)}))}switch(n.operator){case 39:case 40:case 54:return Tg(t,n.operand),Ch(t,12288)&&or(n.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(n.operator)),39===n.operator?(Ch(t,2112)&&or(n.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(n.operator),$a(Op(t))),ke):Dh(t);case 53:gb(n.operand);var r=12582912&rm(t);return 4194304===r?Pe:8388608===r?we:Ge;case 45:case 46:return Eh(n.operand,Tg(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&xh(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Dh(t)}return Se}(n);case 212:return function(n){var t=iv(n.operand);return t===je?je:(Eh(n.operand,Tg(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&xh(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Dh(t))}(n);case 213:return Fh(n,a);case 214:return function(e,n){var t=gb(e.condition);return mb(e.condition,e.whenTrue,t),wl([iv(e.whenTrue,n),iv(e.whenFalse,n)],2)}(n,a);case 217:return function(e,n){return K<2&&ST(e,j.downlevelIteration?1536:2048),bb(33,iv(e.expression,n),Ae,e.expression)}(n,a);case 219:return De;case 216:return function(n){t&&(8192&n.flags||zT(n,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),d_(n)&&or(n,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var r=e.getContainingFunction(n);if(!r)return be;var a=e.getFunctionFlags(r);if(!(1&a))return be;var i=0!=(2&a);n.asteriskToken&&(i&&K<99&&ST(n,53248),!i&&K<2&&j.downlevelIteration&&ST(n,256));var o=Tc(r),s=o&&Hb(o,i),c=s&&s.yieldType||be,l=s&&s.nextType||be,u=i?Iv(l)||be:l,d=n.expression?iv(n.expression):De,p=mh(n,d,u,i);return o&&p&&kd(p,c,n.expression||n,n.expression),n.asteriskToken?Tb(i?19:17,1,d,n.expression)||be:o?Kb(2,o,i)||be:p_(2,r)||be}(n);case 224:return function(e){return e.isSpread?lu(e.type,ke):e.type}(n);case 280:return dg(n,a);case 270:case 271:return function(e,n){return TE(e),og(e)||be}(n);case 274:return function(n){cg(n.openingFragment);var t=e.getSourceFileOfNode(n);return 2!==j.jsx||!j.jsxFactory&&!t.pragmas.has("jsx")||j.jsxFragmentFactory||t.pragmas.has("jsxfrag")||or(n,j.jsxFactory?e.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:e.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),X_(n),og(n)||be}(n);case 278:return Q_(n,a);case 272:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Se}(n,a,i),a);return Rh(s)&&function(n,t){198===n.parent.kind&&n.parent.expression===n||199===n.parent.kind&&n.parent.expression===n||(78===n.kind||156===n.kind)&&OE(n)||175===n.parent.kind&&n.parent.exprName===n||267===n.parent.kind||or(n,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);if(j.isolatedModules){e.Debug.assert(!!(128&t.symbol.flags)),8388608&t.symbol.valueDeclaration.flags&&or(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(n,s),d=o,s}function ov(n){n.expression&&zT(n.expression,e.Diagnostics.Type_expected),bE(n.constraint),bE(n.default);var r=Co(va(n));Ms(r),function(e){return Bs(e)!==on}(r)||or(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,$a(r));var a=Ns(r),i=Us(r);a&&i&&Rd(i,Xo(pd(a,Ju(r,i)),i),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),t&&Yb(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function sv(n){xT(n),cb(n);var t=e.getContainingFunction(n);e.hasSyntacticModifier(n,92)&&(165===t.kind&&e.nodeIsPresent(t.body)||or(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),165===t.kind&&e.isIdentifier(n.name)&&"constructor"===n.name.escapedText&&or(n.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),n.questionToken&&e.isBindingPattern(n.name)&&t.body&&or(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&("this"===n.name.escapedText||"new"===n.name.escapedText)&&(0!==t.parameters.indexOf(n)&&or(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),165!==t.kind&&169!==t.kind&&174!==t.kind||or(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),206===t.kind&&or(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),166!==t.kind&&167!==t.kind||or(n,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),!n.dotDotDotToken||e.isBindingPattern(n.name)||Dd(zs(to(n.symbol)),Dn)||or(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function cv(n,t,r){for(var a=0,i=n.elements;a<i.length;a++){var o=i[a];if(!e.isOmittedExpression(o)){var s=o.name;if(78===s.kind&&s.escapedText===r)return or(t,e.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,r),!0;if((194===s.kind||193===s.kind)&&cv(s,t,r))return!0}}}function lv(n){170===n.kind?function(n){xT(n)||function(n){var t=n.parameters[0];if(1!==n.parameters.length)return XT(t?t.name:n,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(DT(n.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return XT(t.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(t))return XT(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return XT(t.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return XT(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return XT(t.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);if(146!==t.type.kind&&143!==t.type.kind){var r=Vu(t.type);return 4&r.flags||8&r.flags?XT(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,e.getTextOfNode(t.name),$a(r),$a(n.type?Vu(n.type):be)):1048576&r.flags&&Nh(r,384,!0)?XT(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead):XT(t.name,e.Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number)}if(!n.type)return XT(n,e.Diagnostics.An_index_signature_must_have_a_type_annotation)}(n)}(n):173!==n.kind&&248!==n.kind&&174!==n.kind&&168!==n.kind&&165!==n.kind&&169!==n.kind||NT(n);var r=e.getFunctionFlags(n);if(4&r||(3==(3&r)&&K<99&&ST(n,12288),2==(3&r)&&K<4&&ST(n,64),0!=(3&r)&&K<2&&ST(n,128)),Qb(n.typeParameters),e.forEach(n.parameters,sv),n.type&&bE(n.type),t){!function(n){if(K>=2||!e.hasRestParameter(n)||8388608&n.flags||e.nodeIsMissing(n.body))return;e.forEach(n.parameters,(function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===oe.escapedName&&ir("noEmit",n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(n);var a=e.getEffectiveReturnTypeNode(n);if(Y&&!a)switch(n.kind){case 169:or(n,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 168:or(n,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(a){var i=e.getFunctionFlags(n);if(1==(5&i)){var o=Vu(a);if(o===Ue)or(a,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=Kb(0,o,0!=(2&i))||be;Rd(fh(s,Kb(1,o,0!=(2&i))||s,Kb(2,o,0!=(2&i))||xe,!!(2&i)),o,a)}}else 2==(3&i)&&function(n,t){var r=Vu(t);if(K>=2){if(r===Se)return;var a=fl(!0);if(a!==tn&&!ro(r,a))return void or(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,$a(Iv(r)||Ue))}else{if(function(n){kv(n&&e.getEntityNameFromTypeNode(n))}(t),r===Se)return;var i=e.getEntityNameFromTypeNode(t);if(void 0===i)return void or(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,$a(r));var o=ra(i,111551,!0),s=o?to(o):Se;if(s===Se)return void(78===i.kind&&"Promise"===i.escapedText&&ao(r)===fl(!1)?or(t,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):or(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i)));var c=(d=!0,Mn||(Mn=ul("PromiseConstructorLike",0,d))||Ze);if(c===Ze)return void or(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i));if(!Rd(s,c,t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return;var l=i&&e.getFirstIdentifier(i),u=Tr(n.locals,l.escapedText,111551);if(u)return void or(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(i))}var d;Cv(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(n,a)}170!==n.kind&&304!==n.kind&&Uv(n)}}function uv(n){for(var t=new e.Map,r=0,a=n.members;r<a.length;r++){var i=a[r];if(161===i.kind){var o=void 0,s=i.name;switch(s.kind){case 10:case 8:o=s.text;break;case 78:o=e.idText(s);break;default:continue}t.get(o)?(or(e.getNameOfDeclaration(i.symbol.valueDeclaration),e.Diagnostics.Duplicate_identifier_0,o),or(i.name,e.Diagnostics.Duplicate_identifier_0,o)):t.set(o,!0)}}}function dv(n){if(250===n.kind){var t=va(n);if(t.declarations.length>0&&t.declarations[0]!==n)return}var r=kc(va(n));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o<s.length;o++){var c=s[o];if(1===c.parameters.length&&c.parameters[0].type)switch(c.parameters[0].type.kind){case 146:i?or(c,e.Diagnostics.Duplicate_string_index_signature):i=!0;break;case 143:a?or(c,e.Diagnostics.Duplicate_number_index_signature):a=!0}}}function pv(n){if(xT(n)||function(n){if(e.isClassLike(n.parent)){if(e.isStringLiteral(n.name)&&"constructor"===n.name.text)return XT(n.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(VT(n.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(K<2&&e.isPrivateIdentifier(n.name))return XT(n.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(250===n.parent.kind){if(VT(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(n.initializer)return XT(n.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(176===n.parent.kind){if(VT(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(n.initializer)return XT(n.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}8388608&n.flags&&HT(n);if(e.isPropertyDeclaration(n)&&n.exclamationToken&&(!e.isClassLike(n.parent)||!n.type||n.initializer||8388608&n.flags||e.hasSyntacticModifier(n,160)))return XT(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)}(n)||MT(n.name),cb(n),e.isPrivateIdentifier(n.name)&&K<99)for(var t=e.getEnclosingBlockScopeContainer(n);t;t=e.getEnclosingBlockScopeContainer(t))br(t).flags|=67108864}function fv(n){lv(n),function(n){var t=e.isInJSFile(n)?e.getJSDocTypeParameterDeclarations(n):void 0,r=n.typeParameters||t&&e.firstOrUndefined(t);if(r){var a=r.pos===r.end?r.pos:e.skipTrivia(e.getSourceFileOfNode(n).text,r.pos);return JT(n,a,r.end-a,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(n)||function(n){var t=e.getEffectiveReturnTypeNode(n);if(t)XT(t,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}(n),bE(n.body);var r=va(n);if(n===e.getDeclarationOfKind(r,n.kind)&&Lv(r),!e.nodeIsMissing(n.body)&&t){var a=n.parent;if(e.getClassExtendsHeritageElement(a)){Zm(n.parent,a);var i=e_(a),o=$m(n.body);if(o){if(i&&or(o,e.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==j.target||!j.useDefineForClassFields)&&(e.some(n.parent.members,(function(n){return!!e.isPrivateIdentifierPropertyDeclaration(n)||162===n.kind&&!e.hasSyntacticModifier(n,32)&&!!n.initializer}))||e.some(n.parameters,(function(n){return e.hasSyntacticModifier(n,92)})))){for(var s=void 0,c=0,l=n.body.statements;c<l.length;c++){var u=l[c];if(230===u.kind&&e.isSuperCall(u.expression)){s=u;break}if(!e.isPrologueDirective(u))break}s||or(n,e.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else i||or(n,e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}}function mv(n){if(t){if(NT(n)||function(n){if(!(8388608&n.flags)){if(K<1)return XT(n.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(void 0===n.body&&!e.hasSyntacticModifier(n,128))return JT(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(n.body&&e.hasSyntacticModifier(n,128))return XT(n,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(n.typeParameters)return XT(n.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!function(e){return UT(e)||e.parameters.length===(166===e.kind?0:1)}(n))return XT(n.name,166===n.kind?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(167===n.kind){if(n.type)return XT(n.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var t=e.Debug.checkDefined(e.getSetAccessorValueParameter(n),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return XT(t.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return XT(t.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return XT(n.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(n)||MT(n.name),Fv(n),lv(n),166===n.kind&&!(8388608&n.flags)&&e.nodeIsPresent(n.body)&&256&n.flags&&(512&n.flags||or(n.name,e.Diagnostics.A_get_accessor_must_return_a_value)),157===n.name.kind&&V_(n.name),e.isPrivateIdentifier(n.name)&&or(n.name,e.Diagnostics.An_accessor_cannot_be_named_with_a_private_identifier),!Ko(n)){var r=166===n.kind?167:166,a=e.getDeclarationOfKind(va(n),r);if(a){var i=e.getEffectiveModifierFlags(n),o=e.getEffectiveModifierFlags(a);(28&i)!=(28&o)&&or(n.name,e.Diagnostics.Getter_and_setter_accessors_do_not_agree_in_visibility),(128&i)!=(128&o)&&or(n.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),_v(n,a,Ji,e.Diagnostics.get_and_set_accessor_must_have_the_same_type),_v(n,a,Xi,e.Diagnostics.get_and_set_accessor_must_have_the_same_this_type)}}var s=Yi(va(n));166===n.kind&&vh(n,s)}bE(n.body)}function _v(e,n,t,r){var a=t(e),i=t(n);a&&i&&!Td(a,i)&&or(e,r)}function gv(n,t){return mc(e.map(n.typeArguments,Vu),t,fc(t),e.isInJSFile(n))}function yv(n,t){for(var r,a,i=!0,o=0;o<t.length;o++){var s=Ns(t[o]);s&&(r||(a=qu(t,r=gv(n,t))),i=i&&Rd(r[o],pd(s,a),n.typeArguments[o],e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return i}function hv(n){var t=al(n);if(t!==Se){var r=br(n).resolvedSymbol;if(r)return 524288&r.flags&&vr(r).typeParameters||(4&e.getObjectFlags(t)?t.target.localTypeParameters:void 0)}}function vv(n){RT(n,n.typeArguments),172!==n.kind||void 0===n.typeName.jsdocDotPos||e.isInJSFile(n)||e.isInJSDoc(n)||JT(n,n.typeName.jsdocDotPos,1,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments),e.forEach(n.typeArguments,bE);var r=al(n);if(r!==Se){if(n.typeArguments&&t){var a=hv(n);a&&yv(n,a)}var i=br(n).resolvedSymbol;i&&(e.some(i.declarations,(function(e){return IE(e)&&!!(134217728&e.flags)}))&&cr(!1,Fy(n),e.Diagnostics._0_is_deprecated,i.escapedName),32&r.flags&&8&i.flags&&or(n,e.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,$a(r)))}}function bv(n,t){if(!(8388608&n.flags))return n;var r=n.objectType,a=n.indexType;if(Dd(a,Xl(r,!1)))return 199===t.kind&&e.isAssignmentTarget(t)&&32&e.getObjectFlags(r)&&1&bs(r)&&or(t,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,$a(r)),n;var i=js(r);if(rc(i,1)&&Ih(a,296))return n;if(tu(r)){var o=Zl(a,t);if(o){var s=vm(i,(function(e){return Zs(e,o)}));if(s&&24&e.getDeclarationModifierFlagsFromSymbol(s))return or(t,e.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,e.unescapeLeadingUnderscores(o)),Se}}return or(t,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,$a(a),$a(r)),Se}function Ev(n){!function(n){if(150===n.operator){if(147!==n.type.kind)return XT(n.type,e.Diagnostics._0_expected,e.tokenToString(147));var t=e.walkUpParenthesizedTypes(n.parent);switch(e.isInJSFile(t)&&e.isJSDocTypeExpression(t)&&(t=t.parent,e.isJSDocTypeTag(t)&&(t=t.parent.parent)),t.kind){case 246:var r=t;if(78!==r.name.kind)return XT(n,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(r))return XT(n,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&r.parent.flags))return XT(t.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 162:if(!e.hasSyntacticModifier(t,32)||!e.hasEffectiveModifier(t,64))return XT(t.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 161:if(!e.hasSyntacticModifier(t,64))return XT(t.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:XT(n,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(141===n.operator&&177!==n.type.kind&&178!==n.type.kind)zT(n,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(147))}(n),bE(n.type)}function Tv(n){return(e.hasEffectiveModifier(n,8)||e.isPrivateIdentifierPropertyDeclaration(n))&&!!(8388608&n.flags)}function Sv(n,t){var r=e.getCombinedModifierFlags(n);return 250!==n.parent.kind&&249!==n.parent.kind&&218!==n.parent.kind&&8388608&n.flags&&(2&r||e.isModuleBlock(n.parent)&&e.isModuleDeclaration(n.parent.parent)&&e.isGlobalScopeAugmentation(n.parent.parent)||(r|=1),r|=2),r&t}function Lv(n){if(t){for(var r,a,i,o=0,s=155,c=!1,l=!0,u=!1,d=n.declarations,p=0!=(16384&n.flags),f=!1,m=!1,_=!1,g=[],y=0,h=d;y<h.length;y++){var v=h[y],b=8388608&v.flags,E=250===v.parent.kind||176===v.parent.kind||b;if(E&&(i=void 0),249!==v.kind&&218!==v.kind||b||(_=!0),248===v.kind||164===v.kind||163===v.kind||165===v.kind){g.push(v);var T=Sv(v,155);o|=T,s&=T,c=c||e.hasQuestionToken(v),l=l&&e.hasQuestionToken(v);var S=e.nodeIsPresent(v.body);S&&r?p?m=!0:f=!0:(null==i?void 0:i.parent)===v.parent&&i.end!==v.pos&&N(i),S?r||(r=v):u=!0,i=v,E||(a=v)}}if(m&&e.forEach(g,(function(n){or(n,e.Diagnostics.Multiple_constructor_implementations_are_not_allowed)})),f&&e.forEach(g,(function(n){or(e.getNameOfDeclaration(n)||n,e.Diagnostics.Duplicate_function_implementation)})),_&&!p&&16&n.flags&&e.forEach(d,(function(t){gr(t,e.Diagnostics.Duplicate_identifier_0,e.symbolName(n),d)})),!a||a.body||e.hasSyntacticModifier(a,128)||a.questionToken||N(a),u&&(function(n,t,r,a,i){if(0!==(a^i)){var o=Sv(I(n,t),r);e.forEach(n,(function(n){var t=Sv(n,r)^o;1&t?or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):2&t?or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):24&t?or(e.getNameOfDeclaration(n)||n,e.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):128&t&&or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)}))}}(d,r,155,o,s),function(n,t,r,a){if(r!==a){var i=e.hasQuestionToken(I(n,t));e.forEach(n,(function(n){e.hasQuestionToken(n)!==i&&or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_optional_or_required)}))}}(d,r,c,l),r))for(var L=hc(n),x=_c(r),A=0,D=L;A<D.length;A++){var C=D[A];if(!Hd(x,C)){e.addRelatedInfo(or(C.declaration,e.Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),e.createDiagnosticForNode(r,e.Diagnostics.The_implementation_signature_is_declared_here));break}}}function I(e,n){return void 0!==n&&n.parent===e[0].parent?n:e[0]}function N(n){if(!n.name||!e.nodeIsMissing(n.name)){var t=!1,r=e.forEachChild(n.parent,(function(e){if(t)return e;t=e===n}));if(r&&r.pos===n.end&&r.kind===n.kind){var a=r.name||r,i=r.name;if(n.name&&i&&(e.isPrivateIdentifier(n.name)&&e.isPrivateIdentifier(i)&&n.name.escapedText===i.escapedText||e.isComputedPropertyName(n.name)&&e.isComputedPropertyName(i)||e.isPropertyNameLiteral(n.name)&&e.isPropertyNameLiteral(i)&&e.getEscapedTextOfIdentifierOrLiteral(n.name)===e.getEscapedTextOfIdentifierOrLiteral(i))){if((164===n.kind||163===n.kind)&&e.hasSyntacticModifier(n,32)!==e.hasSyntacticModifier(r,32))or(a,e.hasSyntacticModifier(n,32)?e.Diagnostics.Function_overload_must_be_static:e.Diagnostics.Function_overload_must_not_be_static);return}if(e.nodeIsPresent(r.body))return void or(a,e.Diagnostics.Function_implementation_name_must_be_0,e.declarationNameToString(n.name))}var o=n.name||n;p?or(o,e.Diagnostics.Constructor_implementation_is_missing):e.hasSyntacticModifier(n,128)?or(o,e.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):or(o,e.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}function xv(n){if(t){var r=n.localSymbol;if((r||(r=va(n)).exportSymbol)&&e.getDeclarationOfKind(r,n.kind)===n){for(var a=0,i=0,o=0,s=0,c=r.declarations;s<c.length;s++){var l=y(_=c[s]),u=Sv(_,513);1&u?512&u?o|=l:a|=l:i|=l}var d=a&i,p=o&(a|i);if(d||p)for(var f=0,m=r.declarations;f<m.length;f++){l=y(_=m[f]);var _,g=e.getNameOfDeclaration(_);l&p?or(g,e.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,e.declarationNameToString(g)):l&d&&or(g,e.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,e.declarationNameToString(g))}}}function y(n){var t=n;switch(t.kind){case 250:case 251:case 327:case 320:case 321:return 2;case 253:return e.isAmbientModule(t)||0!==e.getModuleInstanceState(t)?5:4;case 249:case 252:case 288:return 3;case 294:return 7;case 263:if(!e.isEntityNameExpression(t.expression))return 1;t=t.expression;case 257:case 260:case 259:var r=0,a=Xr(va(t));return e.forEach(a.declarations,(function(e){r|=y(e)})),r;case 246:case 195:case 248:case 262:case 78:return 1;default:return e.Debug.failBadSyntaxKind(t)}}}function Av(e,n,t,r){var a=Dv(e,n);return a&&Iv(a,n,t,r)}function Dv(n,t){if(!hi(n)){var r=n;if(r.promisedTypeOfPromise)return r.promisedTypeOfPromise;if(ro(n,fl(!1)))return r.promisedTypeOfPromise=Hc(n)[0];var a=yi(n,"then");if(!hi(a)){var i=a?ec(a,0):e.emptyArray;if(0!==i.length){var o=am(wl(e.map(i,ih)),2097152);if(!hi(o)){var s=ec(o,0);if(0!==s.length)return r.promisedTypeOfPromise=wl(e.map(s,ih),2);t&&or(t,e.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}}else t&&or(t,e.Diagnostics.A_promise_must_have_a_then_method)}}}function Cv(e,n,t,r){return Iv(e,n,t,r)||Se}function Iv(e,n,t,r){if(hi(e))return e;var a=e;return a.awaitedTypeOfType?a.awaitedTypeOfType:a.awaitedTypeOfType=Sm(e,n?function(e){return Nv(e,n,t,r)}:Nv)}function Nv(n,t,r,a){var i=n;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;var o=Dv(n);if(o){if(n.id===o.id||qt.lastIndexOf(o.id)>=0)return void(t&&or(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));qt.push(n.id);var s=Iv(o,t,r,a);if(qt.pop(),!s)return;return i.awaitedTypeOfType=s}if(!function(e){var n=yi(e,"then");return!!n&&ec(am(n,2097152),0).length>0}(n))return i.awaitedTypeOfType=n;if(t){if(!r)return e.Debug.fail();or(t,r,a)}}function Rv(n){var t=ky(n);wy(t,n);var r=Ec(t);if(!(1&r.flags)){var a,i,o=Dy(n);switch(n.parent.kind){case 249:a=wl([to(va(n.parent)),Ue]);break;case 159:a=Ue,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 162:a=Ue,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 164:case 166:case 167:a=wl([hl(wE(n.parent)),Ue]);break;default:return e.Debug.fail()}Rd(r,a,n,o,(function(){return i}))}}function kv(n){if(n){var t=e.getFirstIdentifier(n),r=2097152|(78===n.kind?788968:1920),a=xr(t,t.escapedText,r,void 0,void 0,!0);a&&2097152&a.flags&&Aa(a)&&!$E(Xr(a))&&!Zr(a)&&ea(a)}}function Ov(n){var t=Pv(n);t&&e.isEntityName(t)&&kv(t)}function Pv(e){if(e)switch(e.kind){case 182:case 181:return Mv(e.types);case 183:return Mv([e.trueType,e.falseType]);case 185:case 191:return Pv(e.type);case 172:return e.typeName}}function Mv(n){for(var t,r=0,a=n;r<a.length;r++){for(var i=a[r];185===i.kind||191===i.kind;)i=i.type;if(140!==i.kind&&(q||(190!==i.kind||103!==i.literal.kind)&&149!==i.kind)){var o=Pv(i);if(!o)return;if(t){if(!e.isIdentifier(t)||!e.isIdentifier(o)||t.escapedText!==o.escapedText)return}else t=o}}return t}function wv(n){var t=e.getEffectiveTypeAnnotationNode(n);return e.isRestParameter(n)?e.getRestParameterElementType(t):t}function Fv(n){if(n.decorators&&e.nodeCanBeDecorated(n,n.parent,n.parent.parent)){j.experimentalDecorators||or(n,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning);var t=n.decorators[0];if(ST(t,8),159===n.kind&&ST(t,32),j.emitDecoratorMetadata)switch(ST(t,16),n.kind){case 249:var r=e.getFirstConstructorWithBody(n);if(r)for(var a=0,i=r.parameters;a<i.length;a++){Ov(wv(i[a]))}break;case 166:case 167:var o=166===n.kind?167:166,s=e.getDeclarationOfKind(va(n),o);Ov(zi(n)||s&&zi(s));break;case 164:for(var c=0,l=n.parameters;c<l.length;c++){Ov(wv(l[c]))}Ov(e.getEffectiveReturnTypeNode(n));break;case 162:Ov(e.getEffectiveTypeAnnotationNode(n));break;case 159:Ov(wv(n));for(var u=0,d=n.parent.parameters;u<d.length;u++){Ov(wv(d[u]))}}e.forEach(n.decorators,Rv)}}function Gv(e){switch(e.kind){case 78:return e;case 198:return e.name;default:return}}function Bv(n){Fv(n),lv(n);var r=e.getFunctionFlags(n);if(n.name&&157===n.name.kind&&V_(n.name),!Ko(n)){var a=va(n),i=n.localSymbol||a,o=e.find(i.declarations,(function(e){return e.kind===n.kind&&!(131072&e.flags)}));n===o&&Lv(i),a.parent&&e.getDeclarationOfKind(a,n.kind)===n&&Lv(a)}var s=163===n.kind?void 0:n.body;if(bE(s),vh(n,Tc(n)),t&&!e.getEffectiveReturnTypeNode(n)&&(e.nodeIsMissing(s)&&!Tv(n)&&ff(n,be),1&r&&e.nodeIsPresent(s)&&Ec(_c(n))),e.isInJSFile(n)){var c=e.getJSDocTypeTag(n);c&&c.typeExpression&&!R_(Vu(c.typeExpression),n)&&or(c,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Uv(n){if(t){var r=e.getSourceFileOfNode(n),a=vt.get(r.path);a||(a=[],vt.set(r.path,a)),a.push(n)}}function Vv(n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r];switch(i.kind){case 249:case 218:Hv(i,t),qv(i,t);break;case 294:case 253:case 227:case 255:case 234:case 235:case 236:Qv(i,t);break;case 165:case 205:case 248:case 206:case 164:case 166:case 167:i.body&&Qv(i,t),qv(i,t);break;case 163:case 168:case 169:case 173:case 174:case 251:case 250:qv(i,t);break;case 184:Wv(i,t);break;default:e.Debug.assertNever(i,"Node should not have been registered for unused identifiers check")}}}function jv(n,t,r){var a=e.getNameOfDeclaration(n)||n,i=IE(n)?e.Diagnostics._0_is_declared_but_never_used:e.Diagnostics._0_is_declared_but_its_value_is_never_read;r(n,0,e.createDiagnosticForNode(a,i,t))}function Kv(n){return e.isIdentifier(n)&&95===e.idText(n).charCodeAt(0)}function Hv(n,t){for(var r=0,a=n.members;r<a.length;r++){var i=a[r];switch(i.kind){case 164:case 162:case 166:case 167:if(167===i.kind&&32768&i.symbol.flags)break;var o=va(i);o.isReferenced||!(e.hasEffectiveModifier(i,8)||e.isNamedDeclaration(i)&&e.isPrivateIdentifier(i.name))||8388608&i.flags||t(i,0,e.createDiagnosticForNode(i.name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Qa(o)));break;case 165:for(var s=0,c=i.parameters;s<c.length;s++){var l=c[s];!l.symbol.isReferenced&&e.hasSyntacticModifier(l,8)&&t(l,0,e.createDiagnosticForNode(l.name,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,e.symbolName(l.symbol)))}break;case 170:case 226:break;default:e.Debug.fail()}}}function Wv(n,t){var r=n.typeParameter;zv(r)&&t(n,1,e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(r.name)))}function qv(n,t){if(e.last(va(n).declarations)===n)for(var r=e.getEffectiveTypeParameterDeclarations(n),a=new e.Set,i=0,o=r;i<o.length;i++){var s=o[i];if(zv(s)){var c=e.idText(s.name),l=s.parent;if(184!==l.kind&&l.typeParameters.every(zv)){if(e.tryAddToSet(a,l)){var u=e.isJSDocTemplateTag(l)?e.rangeOfNode(l):e.rangeOfTypeParameters(l.typeParameters),d=1===l.typeParameters.length,p=d?e.Diagnostics._0_is_declared_but_its_value_is_never_read:e.Diagnostics.All_type_parameters_are_unused,f=d?c:void 0;t(s,1,e.createFileDiagnostic(e.getSourceFileOfNode(l),u.pos,u.end-u.pos,p,f))}}else t(s,1,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,c))}}}function zv(e){return!(262144&ha(e.symbol).isReferenced||Kv(e.name))}function Jv(e,n,t,r){var a=String(r(n)),i=e.get(a);i?i[1].push(t):e.set(a,[n,[t]])}function Xv(n){return e.tryCast(e.getRootDeclaration(n),e.isParameter)}function Yv(n){return e.isBindingElement(n)&&Kv(n.name)?!!e.findAncestor(n.parent,(function(n){return!(e.isArrayBindingPattern(n)||e.isVariableDeclaration(n)||e.isVariableDeclarationList(n))&&(!!e.isForOfStatement(n)||"quit")})):e.isAmbientModule(n)||(e.isVariableDeclaration(n)&&e.isForInOrOfStatement(n.parent.parent)||$v(n))&&Kv(n.name)}function Qv(n,t){var r=new e.Map,a=new e.Map,i=new e.Map;n.locals.forEach((function(n){var o;if(!(262144&n.flags?!(3&n.flags)||3&n.isReferenced:n.isReferenced||n.exportSymbol))for(var s=0,c=n.declarations;s<c.length;s++){var l=c[s];if(!Yv(l))if($v(l))Jv(r,259===(o=l).kind?o:260===o.kind?o.parent:o.parent.parent,l,R);else if(e.isBindingElement(l)&&e.isObjectBindingPattern(l.parent)){l!==e.last(l.parent.elements)&&e.last(l.parent.elements).dotDotDotToken||Jv(a,l.parent,l,R)}else if(e.isVariableDeclaration(l))Jv(i,l.parent,l,R);else{var u=n.valueDeclaration&&Xv(n.valueDeclaration),d=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);u&&d?e.isParameterPropertyDeclaration(u,u.parent)||e.parameterIsThisKeyword(u)||Kv(d)||t(u,1,e.createDiagnosticForNode(d,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(n))):jv(l,e.symbolName(n),t)}}})),r.forEach((function(n){var r=n[0],a=n[1],i=r.parent;if((r.name?1:0)+(r.namedBindings?260===r.namedBindings.kind?1:r.namedBindings.elements.length:0)===a.length)t(i,0,1===a.length?e.createDiagnosticForNode(i,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.first(a).name)):e.createDiagnosticForNode(i,e.Diagnostics.All_imports_in_import_declaration_are_unused));else for(var o=0,s=a;o<s.length;o++){var c=s[o];jv(c,e.idText(c.name),t)}})),a.forEach((function(n){var r=n[0],a=n[1],o=Xv(r.parent)?1:0;if(r.elements.length===a.length)1===a.length&&246===r.parent.kind&&247===r.parent.parent.kind?Jv(i,r.parent.parent,r.parent,R):t(r,o,1===a.length?e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(e.first(a).name)):e.createDiagnosticForNode(r,e.Diagnostics.All_destructured_elements_are_unused));else for(var s=0,c=a;s<c.length;s++){var l=c[s];t(l,o,e.createDiagnosticForNode(l,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(l.name)))}})),i.forEach((function(n){var r=n[0],a=n[1];if(r.declarations.length===a.length)t(r,0,1===a.length?e.createDiagnosticForNode(e.first(a).name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(e.first(a).name)):e.createDiagnosticForNode(229===r.parent.kind?r.parent:r,e.Diagnostics.All_variables_are_unused));else for(var i=0,o=a;i<o.length;i++){var s=o[i];t(s,0,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(s.name)))}}))}function Zv(n){switch(n.kind){case 78:return e.idText(n);case 194:case 193:return Zv(e.cast(e.first(n.elements),e.isBindingElement).name);default:return e.Debug.assertNever(n)}}function $v(e){return 259===e.kind||262===e.kind||260===e.kind}function eb(n){if(227===n.kind&&QT(n),e.isFunctionOrModuleBlock(n)){var t=St;e.forEach(n.statements,bE),St=t}else e.forEach(n.statements,bE);n.locals&&Uv(n)}function nb(n,t,r){if(!t||t.escapedText!==r)return!1;if(162===n.kind||161===n.kind||164===n.kind||163===n.kind||166===n.kind||167===n.kind)return!1;if(8388608&n.flags)return!1;var a=e.getRootDeclaration(n);return 159!==a.kind||!e.nodeIsMissing(a.parent.body)}function tb(n){e.findAncestor(n,(function(t){return!!(4&oT(t))&&(78!==n.kind?or(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):or(n,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)}))}function rb(n){e.findAncestor(n,(function(t){return!!(8&oT(t))&&(78!==n.kind?or(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):or(n,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)}))}function ab(n){67108864&oT(e.getEnclosingBlockScopeContainer(n))&&ir("noEmit",n,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,"WeakMap")}function ib(n,t){if(!(H>=e.ModuleKind.ES2015)&&(nb(n,t,"require")||nb(n,t,"exports"))&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=gi(n);294===r.kind&&e.isExternalOrCommonJsModule(r)&&ir("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function ob(n,t){if(!(K>=4)&&nb(n,t,"Promise")&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=gi(n);294===r.kind&&e.isExternalOrCommonJsModule(r)&&2048&r.flags&&ir("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function sb(e){return e===Ee?be:e===An?xn:e}function cb(n){var t;if(Fv(n),e.isBindingElement(n)||bE(n.type),n.name){if(157===n.name.kind&&(V_(n.name),n.initializer&&Vh(n.initializer)),195===n.kind){193===n.parent.kind&&K<99&&ST(n,4),n.propertyName&&157===n.propertyName.kind&&V_(n.propertyName);var r=n.parent.parent,a=vi(r),i=n.propertyName||n.name;if(a&&!e.isBindingPattern(i)){var o=Wl(i);if(Bo(o)){var s=Zs(a,Ho(o));s&&(Ug(s,void 0,!1),mg(r,!!r.initializer&&105===r.initializer.kind,a,s))}}}if(e.isBindingPattern(n.name)&&(194===n.name.kind&&K<2&&j.downlevelIteration&&ST(n,512),e.forEach(n.name.elements,bE)),n.initializer&&159===e.getRootDeclaration(n).kind&&e.nodeIsMissing(e.getContainingFunction(n).body))or(n,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(n.name)){var c=n.initializer&&235!==n.parent.parent.kind,l=0===n.name.elements.length;if(c||l){var u=ji(n);if(c){var d=Vh(n.initializer);q&&l?Sg(d,n):kd(d,ji(n),n,n.initializer)}l&&(e.isArrayBindingPattern(n.name)?bb(65,u,Ae,n):q&&Sg(u,n))}}else{var p=va(n),f=sb(to(p));if(n===p.valueDeclaration){var m=e.getEffectiveInitializer(n);if(m)e.isInJSFile(n)&&e.isObjectLiteralExpression(m)&&(0===m.properties.length||e.isPrototypeAccess(n.name))&&!!(null===(t=p.exports)||void 0===t?void 0:t.size)||235===n.parent.parent.kind||kd(Vh(m),f,n,m,void 0);p.declarations.length>1&&e.some(p.declarations,(function(t){return t!==n&&e.isVariableLike(t)&&!ub(t,n)}))&&or(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var _=sb(ji(n));f===Se||_===Se||Td(f,_)||67108864&p.flags||lb(p.valueDeclaration,f,n,_),n.initializer&&kd(Vh(n.initializer),_,n,n.initializer,void 0),ub(n,p.valueDeclaration)||or(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}162!==n.kind&&161!==n.kind&&(xv(n),246!==n.kind&&195!==n.kind||function(n){if(0==(3&e.getCombinedNodeFlags(n))&&!e.isParameterDeclaration(n)&&(246!==n.kind||n.initializer)){var t=va(n);if(1&t.flags){if(!e.isIdentifier(n.name))return e.Debug.fail();var r=xr(n,n.name.escapedText,3,void 0,void 0,!1);if(r&&r!==t&&2&r.flags&&3&pg(r)){var a=e.getAncestor(r.valueDeclaration,247),i=229===a.parent.kind&&a.parent.parent?a.parent.parent:void 0;if(!(i&&(227===i.kind&&e.isFunctionLike(i.parent)||254===i.kind||253===i.kind||294===i.kind))){var o=Qa(r);or(n,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(n),ib(n,n.name),ob(n,n.name),K<99&&nb(n,n.name,"WeakMap")&&Wt.push(n))}}}function lb(n,t,r,a){var i=e.getNameOfDeclaration(r),o=162===r.kind||161===r.kind?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,s=e.declarationNameToString(i),c=or(i,o,s,$a(t),$a(a));n&&e.addRelatedInfo(c,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,s))}function ub(n,t){if(159===n.kind&&246===t.kind||246===n.kind&&159===t.kind)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(t))return!1;return e.getSelectedEffectiveModifierFlags(n,504)===e.getSelectedEffectiveModifierFlags(t,504)}function db(n){return function(n){if(235!==n.parent.parent.kind&&236!==n.parent.parent.kind)if(8388608&n.flags)HT(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return XT(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return XT(n,e.Diagnostics.const_declarations_must_be_initialized)}if(n.exclamationToken&&(229!==n.parent.parent.kind||!n.type||n.initializer||8388608&n.flags))return XT(n.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation);var t=e.getEmitModuleKind(j);t<e.ModuleKind.ES2015&&t!==e.ModuleKind.System&&!(8388608&n.parent.parent.flags)&&e.hasSyntacticModifier(n.parent.parent,1)&&function n(t){if(78===t.kind){if("__esModule"===e.idText(t))return function(n,t,r,a,i,o){if(!qT(e.getSourceFileOfNode(t)))return ir(n,t,r,a,i,o),!0;return!1}("noEmit",t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var r=t.elements,a=0,i=r;a<i.length;a++){var o=i[a];if(!e.isOmittedExpression(o))return n(o.name)}return!1}(n.name);(e.isLet(n)||e.isVarConst(n))&&function n(t){if(78===t.kind){if(118===t.originalKeywordKind)return XT(t,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(var r=t.elements,a=0,i=r;a<i.length;a++){var o=i[a];e.isOmittedExpression(o)||n(o.name)}return!1}(n.name)}(n),cb(n)}function pb(n){return function(n){if(n.dotDotDotToken){var t=n.parent.elements;if(n!==e.last(t))return XT(n,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(DT(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),n.propertyName)return XT(n.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(n.dotDotDotToken&&n.initializer)JT(n,n.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}(n),cb(n)}function fb(n){xT(n)||WT(n.declarationList)||function(n){if(!function e(n){switch(n.kind){case 231:case 232:case 233:case 240:case 234:case 235:case 236:return!1;case 242:return e(n.parent)}return!0}(n.parent)){if(e.isLet(n.declarationList))return XT(n,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block);if(e.isVarConst(n.declarationList))XT(n,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}(n),e.forEach(n.declarationList.declarations,bE)}function mb(n,t,r){if(q){var a=e.isIdentifier(n)?n:e.isPropertyAccessExpression(n)?n.name:void 0;if(a)if(!qp(r))if(0!==ec(r,0).length){var i=ME(a);if(i)e.forEachChild(t,(function t(r){if(e.isIdentifier(r)){var o=ME(r);if(o&&o===i){if(e.isIdentifier(n))return!0;for(var s=a.parent,c=r.parent;s&&c;){if(e.isIdentifier(s)&&e.isIdentifier(c)||107===s.kind&&107===c.kind)return ME(s)===ME(c);if(!e.isPropertyAccessExpression(s)||!e.isPropertyAccessExpression(c))return!1;if(ME(s.name)!==ME(c.name))return!1;c=c.expression,s=s.expression}}}return e.forEachChild(r,t)}))||or(n,e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}function _b(n,t){return 16384&n.flags&&or(t,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),n}function gb(e,n){return _b(iv(e,n),e)}function yb(n){BT(n);var t,r=hg(iv(n.expression));if(247===n.initializer.kind){var a=n.initializer.declarations[0];a&&e.isBindingPattern(a.name)&&or(a.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),hb(n)}else{var i=n.initializer,o=iv(i);196===i.kind||197===i.kind?or(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Dd(131072&(t=Yl(Xl(r))).flags?Re:t,o)?xh(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):or(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}r!==Ve&&Ih(r,126091264)||or(n.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,$a(r)),bE(n.statement),n.locals&&Uv(n)}function hb(e){var n=e.initializer;n.declarations.length>=1&&db(n.declarations[0])}function vb(e){return bb(e.awaitModifier?15:13,gg(e.expression),Ae,e.expression)}function bb(e,n,t,r){return hi(n)?n:Eb(e,n,t,r,!0)||be}function Eb(n,t,r,a,i){var o=0!=(2&n);if(t!==Ve){var s=K>=2,c=!s&&j.downlevelIteration;if(s||c||o){var l=Db(t,n,s?a:void 0);if(i&&l){var u=8&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&n?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;u&&Rd(r,l.nextType,a,u)}if(l||s)return l&&l.yieldType}var d=t,p=!1,f=!1;if(4&n){if(1048576&d.flags){var m=t.types,_=e.filter(m,(function(e){return!(132&e.flags)}));_!==m&&(d=wl(_,2))}else 132&d.flags&&(d=Ve);if((f=d!==t)&&(K<1&&a&&(or(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),p=!0),131072&d.flags))return Re}if(!Ap(d)){if(a&&!p){var g=Tb(n,0,t,void 0),y=4&n&&!f?c?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:g?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:c?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:g?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type,!0],h=y[0];lr(a,y[1]&&!!Av(d),h,$a(d))}return f?Re:void 0}var v=ac(d,1);return f&&v?132&v.flags?Re:wl([v,Re],2):v}Pb(a,t,o)}function Tb(e,n,t,r){if(!hi(t)){var a=Db(t,e,r);return a&&a[F(n)]}}function Sb(e,n,t){if(void 0===e&&(e=Ve),void 0===n&&(n=Ve),void 0===t&&(t=xe),67359327&e.flags&&180227&n.flags&&180227&t.flags){var r=Bc([e,n,t]),a=ut.get(r);return a||(a={yieldType:e,returnType:n,nextType:t},ut.set(r,a)),a}return{yieldType:e,returnType:n,nextType:t}}function Lb(n){for(var t,r,a,i=0,o=n;i<o.length;i++){var s=o[i];if(void 0!==s&&s!==dt){if(s===pt)return pt;t=e.append(t,s.yieldType),r=e.append(r,s.returnType),a=e.append(a,s.nextType)}}return t||r||a?Sb(t&&wl(t),r&&wl(r),a&&Kl(a)):dt}function xb(e,n){return e[n]}function Ab(e,n,t){return e[n]=t}function Db(n,t,r){if(hi(n))return pt;if(!(1048576&n.flags)){var a=Ib(n,t,r);return a===dt?void(r&&Pb(r,n,!!(2&t))):a}var i,o=2&t?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",s=xb(n,o);if(s)return s===dt?void 0:s;for(var c=0,l=n.types;c<l.length;c++){var u=Ib(l[c],t,r);u===dt?r&&(Pb(r,n,!!(2&t)),r=void 0):i=e.append(i,u)}var d=i?Lb(i):dt;return Ab(n,o,d),d===dt?void 0:d}function Cb(e,n){if(e===dt)return dt;if(e===pt)return pt;var t=e.yieldType,r=e.returnType,a=e.nextType;return Sb(Iv(t,n)||be,Iv(r,n)||be,a)}function Ib(e,n,t){if(hi(e))return pt;var r;if(2&n&&(r=Nb(e,_t)||kb(e,_t)))return r;if(1&n&&(r=Nb(e,gt)||kb(e,gt))){if(!(2&n))return r;if(r!==dt)return Ab(e,"iterationTypesOfAsyncIterable",Cb(r,t))}if(2&n&&(r=Ob(e,_t,t))!==dt)return r;if(1&n&&(r=Ob(e,gt,t))!==dt)return 2&n?Ab(e,"iterationTypesOfAsyncIterable",r?Cb(r,t):dt):r;return dt}function Nb(e,n){return xb(e,n.iterableCacheKey)}function Rb(e,n){var t=Nb(e,n)||Ob(e,n,void 0);return t===dt?mt:t}function kb(e,n){var t;if(ro(e,t=n.getGlobalIterableType(!1))||ro(e,t=n.getGlobalIterableIteratorType(!1))){var r=Hc(e)[0],a=Rb(t,n),i=a.returnType,o=a.nextType;return Ab(e,n.iterableCacheKey,Sb(r,i,o))}if(ro(e,n.getGlobalGeneratorType(!1))){var s=Hc(e);r=s[0],i=s[1],o=s[2];return Ab(e,n.iterableCacheKey,Sb(r,i,o))}}function Ob(n,t,r){var a,i=Zs(n,e.getPropertyNameForKnownSymbolName(t.iteratorSymbolName)),o=!i||16777216&i.flags?void 0:to(i);if(hi(o))return Ab(n,t.iterableCacheKey,pt);var s=o?ec(o,0):void 0;if(!e.some(s))return Ab(n,t.iterableCacheKey,dt);var c=null!==(a=Mb(Kl(e.map(s,Ec)),t,r))&&void 0!==a?a:dt;return Ab(n,t.iterableCacheKey,c)}function Pb(n,t,r){var a=r?e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;lr(n,!!Av(t),a,$a(t))}function Mb(e,n,t){if(hi(e))return pt;var r=wb(e,n)||function(e,n){var t=n.getGlobalIterableIteratorType(!1);if(ro(e,t)){var r=Hc(e)[0],a=wb(t,n)||jb(t,n,void 0),i=a===dt?mt:a,o=i.returnType,s=i.nextType;return Ab(e,n.iteratorCacheKey,Sb(r,o,s))}if(ro(e,n.getGlobalIteratorType(!1))||ro(e,n.getGlobalGeneratorType(!1))){var c=Hc(e);r=c[0],o=c[1],s=c[2];return Ab(e,n.iteratorCacheKey,Sb(r,o,s))}}(e,n)||jb(e,n,t);return r===dt?void 0:r}function wb(e,n){return xb(e,n.iteratorCacheKey)}function Fb(e,n){var t=yi(e,"done")||Pe;return Dd(0===n?Pe:we,t)}function Gb(e){return Fb(e,0)}function Bb(e){return Fb(e,1)}function Ub(e){if(hi(e))return pt;var n,t=xb(e,"iterationTypesOfIteratorResult");if(t)return t;if(ro(e,(n=!1,Un||(Un=ul("IteratorYieldResult",1,n))||tn)))return Ab(e,"iterationTypesOfIteratorResult",Sb(Hc(e)[0],void 0,void 0));if(ro(e,function(e){return Vn||(Vn=ul("IteratorReturnResult",1,e))||tn}(!1)))return Ab(e,"iterationTypesOfIteratorResult",Sb(void 0,Hc(e)[0],void 0));var r=Em(e,Gb),a=r!==Ve?yi(r,"value"):void 0,i=Em(e,Bb),o=i!==Ve?yi(i,"value"):void 0;return Ab(e,"iterationTypesOfIteratorResult",a||o?Sb(a,o||Ue,void 0):dt)}function Vb(n,t,r,a){var i=Zs(n,r);if(i||"next"===r){var o=!i||"next"===r&&16777216&i.flags?void 0:"next"===r?to(i):am(to(i),2097152);if(hi(o))return"next"===r?pt:ft;var s,c,l,u,d,p=o?ec(o,0):e.emptyArray;if(0===p.length){if(a)or(a,"next"===r?t.mustHaveANextMethodDiagnostic:t.mustBeAMethodDiagnostic,r);return"next"===r?pt:void 0}for(var f=0,m=p;f<m.length;f++){var _=m[f];"throw"!==r&&e.some(_.parameters)&&(s=e.append(s,Qy(_,0))),c=e.append(c,Ec(_))}if("throw"!==r){var g=s?wl(s):xe;if("next"===r)u=g;else if("return"===r){var y=t.resolveIterationType(g,a)||be;l=e.append(l,y)}}var h=c?Kl(c):Ve,v=Ub(t.resolveIterationType(h,a)||be);return v===dt?(a&&or(a,t.mustHaveAValueDiagnostic,r),d=be,l=e.append(l,be)):(d=v.yieldType,l=e.append(l,v.returnType)),Sb(d,wl(l),u)}}function jb(e,n,t){var r=Lb([Vb(e,n,"next",t),Vb(e,n,"return",t),Vb(e,n,"throw",t)]);return Ab(e,n.iteratorCacheKey,r)}function Kb(e,n,t){if(!hi(n)){var r=Hb(n,t);return r&&r[F(e)]}}function Hb(e,n){if(hi(e))return pt;var t=n?_t:gt;return Db(e,n?2:1,void 0)||Mb(e,t,void 0)}function Wb(n){QT(n)||function(n){var t=n;for(;t;){if(e.isFunctionLike(t))return XT(n,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 242:if(n.label&&t.label.escapedText===n.label.escapedText)return!!(237===n.kind&&!e.isIterationStatement(t.statement,!0))&&XT(n,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 241:if(238===n.kind&&!n.label)return!1;break;default:if(e.isIterationStatement(t,!1)&&!n.label)return!1}t=t.parent}if(n.label){var r=238===n.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return XT(n,r)}r=238===n.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;XT(n,r)}(n)}function qb(e,n){var t,r,a=!!(2&n);return!!(1&n)?null!==(t=Kb(1,e,a))&&void 0!==t?t:Se:a?null!==(r=Iv(e))&&void 0!==r?r:Se:e}function zb(n,t){var r=qb(t,e.getFunctionFlags(n));return!!r&&Ch(r,16387)}function Jb(n){QT(n)||e.isIdentifier(n.expression)&&!n.expression.escapedText&&function(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!qT(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return zt.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,t,r,a,i)),!0}}(n,e.Diagnostics.Line_break_not_permitted_here),n.expression&&iv(n.expression)}function Xb(n){var t,r=Oc(n.symbol,1),a=Oc(n.symbol,0),i=ac(n,0),o=ac(n,1);if(i||o){e.forEach(xs(n),(function(e){var t=to(e);f(e,t,n,a,i,0),f(e,t,n,r,o,1)}));var s=n.symbol.valueDeclaration;if(1&e.getObjectFlags(n)&&e.isClassLike(s))for(var c=0,l=s.members;c<l.length;c++){var u=l[c];if(!e.hasSyntacticModifier(u,32)&&Ko(u)){var d=va(u),p=to(d);f(d,p,n,a,i,0),f(d,p,n,r,o,1)}}}i&&o&&(!(t=r||a)&&2&e.getObjectFlags(n)&&(t=e.forEach(ho(n),(function(e){return ac(e,0)&&ac(e,1)}))?void 0:n.symbol.declarations[0]));function f(n,t,r,a,i,o){if(i&&!e.isKnownSymbol(n)){var s=n.valueDeclaration,c=s&&e.getNameOfDeclaration(s);if((!c||!e.isPrivateIdentifier(c))&&(1!==o||(c?G_(c):U_(n.escapedName)))){var l;if(s&&c&&(213===s.kind||157===c.kind||n.parent===r.symbol))l=s;else if(a)l=a;else if(2&e.getObjectFlags(r)){l=e.forEach(ho(r),(function(e){return As(e,n.escapedName)&&ac(e,o)}))?void 0:r.symbol.declarations[0]}if(l&&!Dd(t,i))or(l,0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2,Qa(n),$a(t),$a(i))}}}t&&!Dd(o,i)&&or(t,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1,$a(o),$a(i))}function Yb(e,n){switch(e.escapedText){case"any":case"unknown":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":or(e,n,e.escapedText)}}function Qb(n){if(n)for(var r=!1,a=0;a<n.length;a++){var i=n[a];if(ov(i),t){i.default?(r=!0,Zb(i.default,n,a)):r&&or(i,e.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var o=0;o<a;o++)n[o].symbol===i.symbol&&or(i.name,e.Diagnostics.Duplicate_identifier_0,e.declarationNameToString(i.name))}}}function Zb(n,t,r){!function n(a){if(172===a.kind){var i=al(a);if(262144&i.flags)for(var o=r;o<t.length;o++)i.symbol===va(t[o])&&or(a,e.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}e.forEachChild(a,n)}(n)}function $b(n){if(1!==n.declarations.length){var t=vr(n);if(!t.typeParametersChecked){t.typeParametersChecked=!0;var r=function(n){return e.filter(n.declarations,(function(e){return 249===e.kind||250===e.kind}))}(n);if(r.length<=1)return;if(!function(n,t){for(var r=e.length(t),a=fc(t),i=0,o=n;i<o.length;i++){var s=o[i],c=e.getEffectiveTypeParameterDeclarations(s),l=c.length;if(l<a||l>r)return!1;for(var u=0;u<l;u++){var d=c[u],p=t[u];if(d.name.escapedText!==p.symbol.escapedName)return!1;var f=e.getEffectiveConstraintOfTypeParameter(d),m=f&&Vu(f),_=Ns(p);if(m&&_&&!Td(m,_))return!1;var g=d.default&&Vu(d.default),y=Us(p);if(g&&y&&!Td(g,y))return!1}}return!0}(r,Io(n).localTypeParameters))for(var a=Qa(n),i=0,o=r;i<o.length;i++){or(o[i].name,e.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,a)}}}}function eE(n){var r;!function(n){var t=e.getSourceFileOfNode(n);(function(n){var t=!1,r=!1;if(!xT(n)&&n.heritageClauses)for(var a=0,i=n.heritageClauses;a<i.length;a++){var o=i[a];if(93===o.token){if(t)return zT(o,e.Diagnostics.extends_clause_already_seen);if(r)return zT(o,e.Diagnostics.extends_clause_must_precede_implements_clause);if(o.types.length>1)return zT(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(116===o.token),r)return zT(o,e.Diagnostics.implements_clause_already_seen);r=!0}OT(o)}})(n)||CT(n.typeParameters,t)}(n),Fv(n),n.name&&(Yb(n.name,e.Diagnostics.Class_name_cannot_be_0),ib(n,n.name),ob(n,n.name),8388608&n.flags||(r=n.name,1===K&&"Object"===r.escapedText&&H<e.ModuleKind.ES2015&&or(r,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[H]))),Qb(e.getEffectiveTypeParameterDeclarations(n)),xv(n);var a=va(n),i=Io(a),o=Xo(i),s=to(a);$b(a),function(n){for(var t=new e.Map,r=new e.Map,a=new e.Map,i=0,o=n.members;i<o.length;i++){var s=o[i];if(165===s.kind)for(var c=0,l=s.parameters;c<l.length;c++){var u=l[c];e.isParameterPropertyDeclaration(u,s)&&!e.isBindingPattern(u.name)&&_(t,u.name,u.name.escapedText,3)}else{var d=e.hasSyntacticModifier(s,32),p=s.name;if(!p)return;var f=e.isPrivateIdentifier(p)?a:d?r:t,m=p&&e.getPropertyNameForPropertyNameNode(p);if(m)switch(s.kind){case 166:_(f,p,m,1);break;case 167:_(f,p,m,2);break;case 162:_(f,p,m,3);break;case 164:_(f,p,m,8)}}}function _(n,t,r,a){var i=n.get(r);i?8&i?8!==a&&or(t,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(t)):i&a?or(t,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(t)):n.set(r,i|a):n.set(r,a)}}(n),8388608&n.flags||function(n){for(var t=0,r=n.members;t<r.length;t++){var a=r[t],i=a.name;if(e.hasSyntacticModifier(a,32)&&i){var o=e.getPropertyNameForPropertyNameNode(i);switch(o){case"name":case"length":case"caller":case"arguments":case"prototype":or(i,e.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,o,li(va(n)))}}}}(n);var c=e.getEffectiveBaseTypeNode(n);if(c){e.forEach(c.typeArguments,bE),K<2&&ST(c.parent,1);var l=e.getClassExtendsHeritageElement(n);l&&l!==c&&iv(l.expression);var u=ho(i);if(u.length&&t){var d=u[0],p=go(i),f=js(p);if(function(n,t){var r=ec(n,1);if(r.length){var a=r[0].declaration;if(a&&e.hasEffectiveModifier(a,8)){var i=e.getClassLikeDeclarationOfSymbol(n.symbol);kE(t,i)||or(t,e.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,ta(n.symbol))}}}(f,c),bE(c.expression),e.some(c.typeArguments)){e.forEach(c.typeArguments,bE);for(var m=0,_=mo(f,c.typeArguments,c);m<_.length;m++){if(!yv(c,_[m].typeParameters))break}}if(Rd(o,T=Xo(d,i.thisType),void 0)?Rd(s,Ed(f),n.name||n,e.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1):nE(n,o,T,e.Diagnostics.Class_0_incorrectly_extends_base_class_1),8650752&p.flags&&!uo(s)&&or(n.name||n,e.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any),!(f.symbol&&32&f.symbol.flags||8650752&p.flags)){var g=_o(f,c.typeArguments,c);e.forEach(g,(function(e){return!Oy(e.declaration)&&!Td(Ec(e),d)}))&&or(c.expression,e.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}!function(n,t){var r=Cs(t);e:for(var a=0,i=r;a<i.length;a++){var o=i[a],s=tE(o);if(!(4194304&s.flags)){var c=As(n,s.escapedName);if(c){var l=tE(c),u=e.getDeclarationModifierFlagsFromSymbol(s);if(e.Debug.assert(!!l,"derived should point to something, even if it is the base class' declaration."),l===s){var d=e.getClassLikeDeclarationOfSymbol(n.symbol);if(128&u&&(!d||!e.hasSyntacticModifier(d,128))){for(var p=0,f=ho(n);p<f.length;p++){var m=f[p];if(m!==t){var _=As(m,s.escapedName),g=_&&tE(_);if(g&&g!==s)continue e}}218===d.kind?or(d,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Qa(o),$a(t)):or(d,e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,$a(n),Qa(o),$a(t))}}else{var y=e.getDeclarationModifierFlagsFromSymbol(l);if(8&u||8&y)continue;var h=void 0,v=98308&s.flags,b=98308&l.flags;if(v&&b){if(128&u&&!(s.valueDeclaration&&e.isPropertyDeclaration(s.valueDeclaration)&&s.valueDeclaration.initializer)||s.valueDeclaration&&250===s.valueDeclaration.parent.kind||l.valueDeclaration&&e.isBinaryExpression(l.valueDeclaration))continue;var E=4!==v&&4===b,T=4===v&&4!==b;if(E||T){var S=E?e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;or(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,S,Qa(s),$a(t),$a(n))}else if(j.useDefineForClassFields){var L=e.find(l.declarations,(function(e){return 162===e.kind&&!e.initializer}));if(L&&!(33554432&l.flags)&&!(128&u)&&!(128&y)&&!l.declarations.some((function(e){return!!(8388608&e.flags)}))){var x=Da(e.getClassLikeDeclarationOfSymbol(n.symbol)),A=L.name;if(L.exclamationToken||!x||!e.isIdentifier(A)||!q||!aE(A,n,x)){var D=e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;or(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,D,Qa(s),$a(t))}}}continue}if(fg(s)){if(fg(l)||4&l.flags)continue;e.Debug.assert(!!(98304&l.flags)),h=e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else h=98304&s.flags?e.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:e.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;or(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,h,$a(t),Qa(s),$a(n))}}}}}(i,d)}}var y=e.getEffectiveImplementsTypeNodes(n);if(y)for(var h=0,v=y;h<v.length;h++){var b=v[h];if(e.isEntityNameExpression(b.expression)||or(b.expression,e.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),vv(b),t){var E=zs(Vu(b));if(E!==Se)if(bo(E)){var T,S=E.symbol&&32&E.symbol.flags?e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:e.Diagnostics.Class_0_incorrectly_implements_interface_1;Rd(o,T=Xo(E,i.thisType),void 0)||nE(n,o,T,S)}else or(b,e.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}t&&(Xb(i),dv(n),function(n){if(!q||!X||8388608&n.flags)return;for(var t=Da(n),r=0,a=n.members;r<a.length;r++){var i=a[r];if(!(2&e.getEffectiveModifierFlags(i))&&rE(i)){var o=i.name;if(e.isIdentifier(o)||e.isPrivateIdentifier(o)){var s=to(va(i));3&s.flags||32768&qp(s)||t&&aE(o,s,t)||or(i.name,e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,e.declarationNameToString(o))}}}}(n))}function nE(n,t,r,a){for(var i=!1,o=function(n){if(e.hasStaticModifier(n))return"continue";var a=n.name&&ME(n.name)||ME(n);if(a){var o=Zs(t,a.escapedName),s=Zs(r,a.escapedName);if(o&&s){Rd(to(o),to(s),n.name||n,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Qa(a),$a(t),$a(r))}))||(i=!0)}}},s=0,c=n.members;s<c.length;s++){o(c[s])}i||Rd(t,r,n.name||n,a)}function tE(n){return 1&e.getCheckFlags(n)?n.target:n}function rE(n){return 162===n.kind&&!e.hasSyntacticModifier(n,160)&&!n.exclamationToken&&!n.initializer}function aE(n,t,r){var a=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);return e.setParent(a.expression,a),e.setParent(a,r),a.flowNode=r.returnFlowNode,!(32768&qp(jm(a,t,Yp(t))))}function iE(n){if(xT(n)||function(n){var t=!1;if(n.heritageClauses)for(var r=0,a=n.heritageClauses;r<a.length;r++){var i=a[r];if(93!==i.token)return e.Debug.assert(116===i.token),zT(i,e.Diagnostics.Interface_declaration_cannot_have_implements_clause);if(t)return zT(i,e.Diagnostics.extends_clause_already_seen);t=!0,OT(i)}}(n),Qb(n.typeParameters),t){Yb(n.name,e.Diagnostics.Interface_name_cannot_be_0),xv(n);var r=va(n);if($b(r),n===e.getDeclarationOfKind(r,250)){var a=Io(r),i=Xo(a);if(function(n,t){var r=ho(n);if(r.length<2)return!0;var a=new e.Map;e.forEach(Go(n).declaredProperties,(function(e){a.set(e.escapedName,{prop:e,containingType:n})}));for(var i=!0,o=0,s=r;o<s.length;o++)for(var c=s[o],l=0,u=Cs(Xo(c,n.thisType));l<u.length;l++){var d=u[l],p=a.get(d.escapedName);if(p){if(p.containingType!==n&&!hp(p.prop,d)){i=!1;var f=$a(p.containingType),m=$a(c),_=e.chainDiagnosticMessages(void 0,e.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,Qa(d),f,m);_=e.chainDiagnosticMessages(_,e.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,$a(n),f,m),zt.add(e.createDiagnosticForNodeFromMessageChain(t,_))}}else a.set(d.escapedName,{prop:d,containingType:c})}return i}(a,n.name)){for(var o=0,s=ho(a);o<s.length;o++){Rd(i,Xo(s[o],a.thisType),n.name,e.Diagnostics.Interface_0_incorrectly_extends_interface_1)}Xb(a)}}uv(n)}e.forEach(e.getInterfaceBaseTypeNodes(n),(function(n){e.isEntityNameExpression(n.expression)||or(n.expression,e.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),vv(n)})),e.forEach(n.members,bE),t&&(dv(n),Uv(n))}function oE(e){var n=br(e);if(!(16384&n.flags)){n.flags|=16384;for(var t=0,r=0,a=e.members;r<a.length;r++){var i=a[r],o=sE(i,t);br(i).enumMemberValue=o,t="number"==typeof o?o+1:void 0}}}function sE(n,t){if(e.isComputedNonLiteralName(n.name))or(n.name,e.Diagnostics.Computed_property_names_are_not_allowed_in_enums);else{var r=e.getTextOfPropertyName(n.name);U_(r)&&!B_(r)&&or(n.name,e.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}return n.initializer?function(n){var t=Lo(va(n.parent)),r=e.isEnumConst(n.parent),a=n.initializer,i=1!==t||So(n)?function t(r){switch(r.kind){case 211:var a=t(r.operand);if("number"==typeof a)switch(r.operator){case 39:return a;case 40:return-a;case 54:return~a}break;case 213:var i=t(r.left),o=t(r.right);if("number"==typeof i&&"number"==typeof o)switch(r.operatorToken.kind){case 51:return i|o;case 50:return i&o;case 48:return i>>o;case 49:return i>>>o;case 47:return i<<o;case 52:return i^o;case 41:return i*o;case 43:return i/o;case 39:return i+o;case 40:return i-o;case 44:return i%o;case 42:return Math.pow(i,o)}else if("string"==typeof i&&"string"==typeof o&&39===r.operatorToken.kind)return i+o;break;case 10:case 14:return r.text;case 8:return ZT(r),+r.text;case 204:return t(r.expression);case 78:var c=r;return B_(c.escapedText)?+c.escapedText:e.nodeIsMissing(r)?0:s(r,va(n.parent),c.escapedText);case 199:case 198:var l=r;if(function n(t){return 78===t.kind||198===t.kind&&n(t.expression)||199===t.kind&&n(t.expression)&&e.isStringLiteralLike(t.argumentExpression)}(l)){var u=tv(l.expression);if(u.symbol&&384&u.symbol.flags){var d=void 0;return d=198===l.kind?l.name.escapedText:e.escapeLeadingUnderscores(e.cast(l.argumentExpression,e.isLiteralExpression).text),s(r,u.symbol,d)}}}return}(a):void 0;if(void 0!==i)r&&"number"==typeof i&&!isFinite(i)&&or(a,isNaN(i)?e.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:e.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);else{if(1===t)return or(a,e.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;if(r)or(a,e.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values);else if(8388608&n.parent.flags)or(a,e.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);else{var o=iv(a);Ih(o,296)?Rd(o,Io(va(n.parent)),a,void 0):or(a,e.Diagnostics.Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead,$a(o))}}return i;function s(t,r,a){var i=r.exports.get(a);if(i){var o=i.valueDeclaration;if(o!==n)return Sr(o,n)?sT(o):(or(t,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);or(t,e.Diagnostics.Property_0_is_used_before_being_assigned,Qa(i))}}}(n):8388608&n.parent.flags&&!e.isEnumConst(n.parent)&&0===Lo(va(n.parent))?void 0:void 0!==t?t:void or(n.name,e.Diagnostics.Enum_member_must_have_initializer)}function cE(n){e.isPrivateIdentifier(n.name)&&or(n,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function lE(n){if(t){var r=e.isGlobalScopeAugmentation(n),a=8388608&n.flags;r&&!a&&or(n.name,e.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);var i=e.isAmbientModule(n);if(gE(n,i?e.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:e.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module))return;xT(n)||a||10!==n.name.kind||XT(n.name,e.Diagnostics.Only_ambient_modules_can_use_quoted_names),e.isIdentifier(n.name)&&(ib(n,n.name),ob(n,n.name)),xv(n);var o=va(n);if(512&o.flags&&!a&&o.declarations.length>1&&O(n,!!j.preserveConstEnums||!!j.isolatedModules)){var s=function(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];if((249===a.kind||248===a.kind&&e.nodeIsPresent(a.body))&&!(8388608&a.flags))return a}}(o);s&&(e.getSourceFileOfNode(n)!==e.getSourceFileOfNode(s)?or(n.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):n.pos<s.pos&&or(n.name,e.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));var c=e.getDeclarationOfKind(o,249);c&&(d=n,p=c,f=e.getEnclosingBlockScopeContainer(d),m=e.getEnclosingBlockScopeContainer(p),Er(f)?Er(m):!Er(m)&&f===m)&&(br(n).flags|=32768)}if(i)if(e.isExternalModuleAugmentation(n)){if((r||33554432&va(n).flags)&&n.body)for(var l=0,u=n.body.statements;l<u.length;l++){uE(u[l],r)}}else Er(n.parent)?r?or(n.name,e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(n.name))&&or(n.name,e.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):or(n.name,r?e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:e.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}var d,p,f,m;n.body&&(bE(n.body),e.isGlobalScopeAugmentation(n)||Uv(n))}function uE(n,t){switch(n.kind){case 229:for(var r=0,a=n.declarationList.declarations;r<a.length;r++){uE(a[r],t)}break;case 263:case 264:zT(n,e.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 257:case 258:zT(n,e.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 195:case 246:var i=n.name;if(e.isBindingPattern(i)){for(var o=0,s=i.elements;o<s.length;o++){uE(s[o],t)}break}case 249:case 252:case 248:case 250:case 253:case 251:if(t)return;var c=va(n);if(c){var l=!(33554432&c.flags);l||(l=!!c.parent&&e.isExternalModuleAugmentation(c.parent.declarations[0]))}}}function dE(n){var t=e.getExternalModuleName(n);if(!t||e.nodeIsMissing(t))return!1;if(!e.isStringLiteral(t))return or(t,e.Diagnostics.String_literal_expected),!1;var r=254===n.parent.kind&&e.isAmbientModule(n.parent.parent);return 294===n.parent.kind||r?!(r&&e.isExternalModuleNameRelative(t.text)&&!oi(n))||(or(n,e.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1):(or(t,264===n.kind?e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:e.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module),!1)}function pE(n){var t=va(n),r=Xr(t);if(r!==he){var a=(1160127&(t=ha(t.exportSymbol||t)).flags?111551:0)|(788968&t.flags?788968:0)|(1920&t.flags?1920:0);if(r.flags&a)or(n,267===n.kind?e.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:e.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0,Qa(t));!j.isolatedModules||267!==n.kind||n.parent.parent.isTypeOnly||111551&r.flags||8388608&n.flags||or(n,e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type),e.isImportSpecifier(n)&&e.every(r.declarations,(function(n){return!!(134217728&e.getCombinedNodeFlags(n))}))&&cr(!1,n.name,e.Diagnostics._0_is_deprecated,t.escapedName)}}function fE(n){ib(n,n.name),ob(n,n.name),pE(n),262===n.kind&&"default"===e.idText(n.propertyName||n.name)&&j.esModuleInterop&&H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&ST(n,262144)}function mE(n){if(!gE(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(!xT(n)&&e.hasEffectiveModifiers(n)&&zT(n,e.Diagnostics.An_import_declaration_cannot_have_modifiers),dE(n))){var t=n.importClause;if(t&&!function(n){if(n.isTypeOnly&&n.name&&n.namedBindings)return XT(n,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);return!1}(t))if(t.name&&fE(t),t.namedBindings)if(260===t.namedBindings.kind)fE(t.namedBindings),H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&j.esModuleInterop&&ST(n,131072);else ia(n,n.moduleSpecifier)&&e.forEach(t.namedBindings.elements,fE)}}function _E(n){if(!gE(n,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!xT(n)&&e.hasEffectiveModifiers(n)&&zT(n,e.Diagnostics.An_export_declaration_cannot_have_modifiers),n.moduleSpecifier&&n.exportClause&&e.isNamedExports(n.exportClause)&&e.length(n.exportClause.elements)&&0===K&&ST(n,4194304),function(n){var t,r=n.isTypeOnly&&265!==(null===(t=n.exportClause)||void 0===t?void 0:t.kind);r&&XT(n,e.Diagnostics.Only_named_exports_may_use_export_type)}(n),!n.moduleSpecifier||dE(n)))if(n.exportClause&&!e.isNamespaceExport(n.exportClause)){e.forEach(n.exportClause.elements,hE);var t=254===n.parent.kind&&e.isAmbientModule(n.parent.parent),r=!t&&254===n.parent.kind&&!n.moduleSpecifier&&8388608&n.flags;294===n.parent.kind||t||r||or(n,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=ia(n,n.moduleSpecifier);a&&da(a)?or(n.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Qa(a)):n.exportClause&&pE(n.exportClause),H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&(n.exportClause?j.esModuleInterop&&ST(n,131072):ST(n,65536))}}function gE(e,n){var t=294===e.parent.kind||254===e.parent.kind||253===e.parent.kind;return t||zT(e,n),!t}function yE(n){return e.forEachImportClauseDeclaration(n,(function(e){return!!vr(va(e)).constEnumReferenced}))}function hE(n){if(pE(n),e.getEmitDeclarations(j)&&di(n.propertyName||n.name,!0),n.parent.parent.moduleSpecifier)j.esModuleInterop&&H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&"default"===e.idText(n.propertyName||n.name)&&ST(n,262144);else{var t=n.propertyName||n.name,r=xr(t,t.escapedText,2998271,void 0,void 0,!0);if(r&&(r===re||r===ae||Er(gi(r.declarations[0]))))or(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(t));else{$r(n);var a=r&&(2097152&r.flags?Xr(r):r);(!a||a===he||111551&a.flags)&&Vh(n.propertyName||n.name)}}}function vE(n){var t=va(n),r=vr(t);if(!r.exportsChecked){var a=t.exports.get("export=");if(a&&function(n){return e.forEachEntry(n.exports,(function(e,n){return"export="!==n}))}(t)){var i=Mr(a)||a.valueDeclaration;oi(i)||e.isInJSFile(i)||or(i,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var o=_a(t);o&&o.forEach((function(n,t){var r=n.declarations,a=n.flags;if("__export"!==t&&!(1984&a)){var i=e.countWhere(r,C);if(!(524288&a&&i<=2)&&i>1)for(var o=0,s=r;o<s.length;o++){var c=s[o];P(c)&&zt.add(e.createDiagnosticForNode(c,e.Diagnostics.Cannot_redeclare_exported_variable_0,e.unescapeLeadingUnderscores(t)))}}})),r.exportsChecked=!0}}function bE(n){if(n){var a=d;d=n,T=0,function(n){e.isInJSFile(n)&&e.forEach(n.jsDoc,(function(n){var t=n.tags;return e.forEach(t,bE)}));var a=n.kind;if(r)switch(a){case 253:case 249:case 250:case 248:r.throwIfCancellationRequested()}a>=229&&a<=245&&n.flowNode&&!Um(n.flowNode)&&cr(!1===j.allowUnreachableCode,n,e.Diagnostics.Unreachable_code_detected);switch(a){case 158:return ov(n);case 159:return sv(n);case 162:return pv(n);case 161:return function(n){return e.isPrivateIdentifier(n.name)&&or(n,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),pv(n)}(n);case 173:case 174:case 168:case 169:case 170:return lv(n);case 164:case 163:return function(n){jT(n)||MT(n.name),e.isPrivateIdentifier(n.name)&&or(n,e.Diagnostics.A_method_cannot_be_named_with_a_private_identifier),Bv(n),e.hasSyntacticModifier(n,128)&&164===n.kind&&n.body&&or(n,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(n.name))}(n);case 165:return fv(n);case 166:case 167:return mv(n);case 172:return vv(n);case 171:return function(n){var t=function(e){switch(e.parent.kind){case 206:case 168:case 248:case 205:case 173:case 164:case 163:var n=e.parent;if(e===n.type)return n}}(n);if(t){var r=_c(t),a=bc(r);if(a){bE(n.type);var i=n.parameterName;if(0===a.kind||2===a.kind)Gu(i);else if(a.parameterIndex>=0){if(G(r)&&a.parameterIndex===r.parameters.length-1)or(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(a.type){Rd(a.type,to(r.parameters[a.parameterIndex]),n.type,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}))}}else if(i){for(var o=!1,s=0,c=t.parameters;s<c.length;s++){var l=c[s].name;if(e.isBindingPattern(l)&&cv(l,i,a.parameterName)){o=!0;break}}o||or(n.parameterName,e.Diagnostics.Cannot_find_parameter_0,a.parameterName)}}}else or(n,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}(n);case 175:return function(e){ol(e)}(n);case 176:return function(n){e.forEach(n.members,bE),t&&(Xb(Eu(n)),dv(n),uv(n))}(n);case 177:return function(e){bE(e.elementType)}(n);case 178:return function(n){for(var t=n.elements,r=!1,a=e.some(t,e.isNamedTupleMember),i=0;i<t.length;i++){var o=t[i];if(191!==o.kind&&a){XT(o,e.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var s=bl(o);if(8&s){if(!Ap(Vu(o.type))){or(o,e.Diagnostics.A_rest_element_type_must_be_an_array_type);break}}else if(4&s){if(i!==t.length-1){XT(o,e.Diagnostics.A_rest_element_must_be_last_in_a_tuple_type);break}}else if(2&s)r=!0;else if(r){XT(o,e.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}e.forEach(n.elements,bE)}(n);case 181:case 182:return function(n){e.forEach(n.types,bE)}(n);case 185:case 179:case 180:return bE(n.type);case 186:return function(e){Gu(e)}(n);case 187:return Ev(n);case 183:return function(n){e.forEachChild(n,bE)}(n);case 184:return function(n){e.findAncestor(n,(function(e){return e.parent&&183===e.parent.kind&&e.parent.extendsType===e}))||XT(n,e.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),bE(n.typeParameter),Uv(n)}(n);case 192:return function(e){bE(e.argument),Vu(e)}(n);case 191:return function(n){n.dotDotDotToken&&n.questionToken&&XT(n,e.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest),179===n.type.kind&&XT(n.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),180===n.type.kind&&XT(n.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),bE(n.type),Vu(n)}(n);case 311:return function(n){var t=e.getEffectiveJSDocHost(n);if(t&&(e.isClassDeclaration(t)||e.isClassExpression(t))){var r=e.getJSDocTags(t).filter(e.isJSDocAugmentsTag);e.Debug.assert(r.length>0),r.length>1&&or(r[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=Gv(n.class.expression),i=e.getClassExtendsHeritageElement(t);if(i){var o=Gv(i.expression);o&&a.escapedText!==o.escapedText&&or(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(o))}}else or(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 312:return function(n){var t=e.getEffectiveJSDocHost(n);t&&(e.isClassDeclaration(t)||e.isClassExpression(t))||or(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 327:case 320:case 321:return function(n){n.typeExpression||or(n.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),n.name&&Yb(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),bE(n.typeExpression)}(n);case 326:return function(e){bE(e.constraint);for(var n=0,t=e.typeParameters;n<t.length;n++){bE(t[n])}}(n);case 325:return function(e){bE(e.typeExpression)}(n);case 322:return function(n){if(bE(n.typeExpression),!e.getParameterSymbolFromJSDoc(n)){var t=e.getHostSignatureFromJSDoc(n);if(t){var r=e.getJSDocTags(t).filter(e.isJSDocParameterTag).indexOf(n);if(r>-1&&r<t.parameters.length&&e.isBindingPattern(t.parameters[r].name))return;yc(t)?e.findLast(e.getJSDocTags(t),e.isJSDocParameterTag)===n&&n.typeExpression&&n.typeExpression.type&&!Tp(Vu(n.typeExpression.type))&&or(n.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,e.idText(156===n.name.kind?n.name.right:n.name)):e.isQualifiedName(n.name)?or(n.name,e.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,e.entityNameToString(n.name),e.entityNameToString(n.name.left)):or(n.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,e.idText(n.name))}}}(n);case 328:return function(e){bE(e.typeExpression)}(n);case 304:!function(n){!t||n.type||e.isJSDocConstructSignature(n)||ff(n,be),lv(n)}(n);case 302:case 301:case 299:case 300:case 308:return EE(n),void e.forEachChild(n,bE);case 305:return void function(n){EE(n),bE(n.type);var t=n.parent;if(e.isParameter(t)&&e.isJSDocFunctionType(t.parent))return void(e.last(t.parent.parameters)!==t&&or(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list));e.isJSDocTypeExpression(t)||or(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var r=n.parent.parent;if(!e.isJSDocParameterTag(r))return void or(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var a=e.getParameterSymbolFromJSDoc(r);if(!a)return;var i=e.getHostSignatureFromJSDoc(r);i&&e.last(i.parameters).symbol===a||or(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}(n);case 298:return bE(n.type);case 188:return function(e){bE(e.objectType),bE(e.indexType),bv(pu(e),e)}(n);case 189:return function(n){bE(n.typeParameter),bE(n.type),n.type||ff(n,be),Rd(_s(fu(n)),Je,e.getEffectiveConstraintOfTypeParameter(n.typeParameter))}(n);case 248:return function(e){t&&(Bv(e),wT(e),ib(e,e.name),ob(e,e.name))}(n);case 227:case 254:return eb(n);case 229:return fb(n);case 230:return function(e){QT(e),iv(e.expression)}(n);case 231:return function(n){QT(n);var t=gb(n.expression);mb(n.expression,n.thenStatement,t),bE(n.thenStatement),228===n.thenStatement.kind&&or(n.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),bE(n.elseStatement)}(n);case 232:return function(e){QT(e),bE(e.statement),gb(e.expression)}(n);case 233:return function(e){QT(e),gb(e.expression),bE(e.statement)}(n);case 234:return function(n){QT(n)||n.initializer&&247===n.initializer.kind&&WT(n.initializer),n.initializer&&(247===n.initializer.kind?e.forEach(n.initializer.declarations,db):iv(n.initializer)),n.condition&&gb(n.condition),n.incrementor&&iv(n.incrementor),bE(n.statement),n.locals&&Uv(n)}(n);case 235:return yb(n);case 236:return function(n){if(BT(n),n.awaitModifier?2==(6&e.getFunctionFlags(e.getContainingFunction(n)))&&K<99&&ST(n,32768):j.downlevelIteration&&K<2&&ST(n,256),247===n.initializer.kind)hb(n);else{var t=n.initializer,r=vb(n);if(196===t.kind||197===t.kind)Mh(t,r||Se);else{var a=iv(t);xh(t,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),r&&kd(r,a,t,n.expression)}}bE(n.statement),n.locals&&Uv(n)}(n);case 237:case 238:return Wb(n);case 239:return function(n){var t;if(!QT(n)){var r=e.getContainingFunction(n);if(r){var a=Ec(_c(r)),i=e.getFunctionFlags(r);if(q||n.expression||131072&a.flags){var o=n.expression?Vh(n.expression):Ae;if(167===r.kind)n.expression&&or(n,e.Diagnostics.Setters_cannot_return_a_value);else if(165===r.kind)n.expression&&!kd(o,a,n,n.expression)&&or(n,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(Tc(r)){var s=null!==(t=qb(a,i))&&void 0!==t?t:a,c=2&i?Cv(o,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o;s&&kd(c,s,n,n.expression)}}else 165!==r.kind&&j.noImplicitReturns&&!zb(r,a)&&or(n,e.Diagnostics.Not_all_code_paths_return_a_value)}else zT(n,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}}(n);case 240:return function(n){QT(n)||32768&n.flags&&zT(n,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),iv(n.expression);var t=e.getSourceFileOfNode(n);if(!qT(t)){var r=e.getSpanOfTokenAtPosition(t,n.pos).start;JT(t,r,n.statement.pos-r,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}(n);case 241:return function(n){var r;QT(n);var a=!1,i=iv(n.expression),o=kp(i);e.forEach(n.caseBlock.clauses,(function(n){if(282!==n.kind||a||(void 0===r?r=n:(XT(n,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),a=!0)),t&&281===n.kind){var s=iv(n.expression),c=kp(s),l=i;c&&o||(s=c?Op(s):s,l=Op(i)),wh(l,s)||jd(s,l,n.expression,void 0)}e.forEach(n.statements,bE),j.noFallthroughCasesInSwitch&&n.fallthroughFlowNode&&Um(n.fallthroughFlowNode)&&or(n,e.Diagnostics.Fallthrough_case_in_switch)})),n.caseBlock.locals&&Uv(n.caseBlock)}(n);case 242:return function(n){QT(n)||e.findAncestor(n.parent,(function(t){return e.isFunctionLike(t)?"quit":242===t.kind&&t.label.escapedText===n.label.escapedText&&(XT(n.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(n.label)),!0)})),bE(n.statement)}(n);case 243:return Jb(n);case 244:return function(n){QT(n),eb(n.tryBlock);var t=n.catchClause;if(t){if(t.variableDeclaration)if(t.variableDeclaration.type&&wE(t.variableDeclaration)===Se)zT(t.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified);else if(t.variableDeclaration.initializer)zT(t.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var r=t.block.locals;r&&e.forEachKey(t.locals,(function(n){var t=r.get(n);t&&0!=(2&t.flags)&&XT(t.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,n)}))}eb(t.block)}n.finallyBlock&&eb(n.finallyBlock)}(n);case 246:return db(n);case 195:return pb(n);case 249:return function(n){n.name||e.hasSyntacticModifier(n,512)||zT(n,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),eE(n),e.forEach(n.members,bE),Uv(n)}(n);case 250:return iE(n);case 251:return function(n){xT(n),Yb(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),xv(n),Qb(n.typeParameters),bE(n.type),Uv(n)}(n);case 252:return function(n){if(t){xT(n),Yb(n.name,e.Diagnostics.Enum_name_cannot_be_0),ib(n,n.name),ob(n,n.name),xv(n),n.members.forEach(cE),oE(n);var r=va(n);if(n===e.getDeclarationOfKind(r,n.kind)){if(r.declarations.length>1){var a=e.isEnumConst(n);e.forEach(r.declarations,(function(n){e.isEnumDeclaration(n)&&e.isEnumConst(n)!==a&&or(e.getNameOfDeclaration(n),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var i=!1;e.forEach(r.declarations,(function(n){if(252!==n.kind)return!1;var t=n;if(!t.members.length)return!1;var r=t.members[0];r.initializer||(i?or(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)}))}}}(n);case 253:return lE(n);case 258:return mE(n);case 257:return function(n){if(!gE(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(xT(n),e.isInternalModuleImportEqualsDeclaration(n)||dE(n)))if(fE(n),e.hasSyntacticModifier(n,1)&&$r(n),269!==n.moduleReference.kind){var t=Xr(va(n));if(t!==he){if(111551&t.flags){var r=e.getFirstIdentifier(n.moduleReference);1920&ra(r,112575).flags||or(r,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(r))}788968&t.flags&&Yb(n.name,e.Diagnostics.Import_name_cannot_be_0)}}else H>=e.ModuleKind.ES2015&&!(8388608&n.flags)&&XT(n,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}(n);case 264:return _E(n);case 263:return function(n){if(!gE(n,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var t=294===n.parent.kind?n.parent:n.parent.parent;if(253!==t.kind||e.isAmbientModule(t)){if(!xT(n)&&e.hasEffectiveModifiers(n)&&zT(n,e.Diagnostics.An_export_assignment_cannot_have_modifiers),78===n.expression.kind){var r=n.expression,a=ra(r,67108863,!0,!0,n);if(a){Ym(a,r);var i=2097152&a.flags?Xr(a):a;(i===he||111551&i.flags)&&Vh(n.expression)}e.getEmitDeclarations(j)&&di(n.expression,!0)}else Vh(n.expression);vE(t),8388608&n.flags&&!e.isEntityNameExpression(n.expression)&&XT(n.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!n.isExportEquals||8388608&n.flags||(H>=e.ModuleKind.ES2015?XT(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):H===e.ModuleKind.System&&XT(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else n.isExportEquals?or(n,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):or(n,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(n);case 228:case 245:return void QT(n);case 268:(function(e){Fv(e)})(n)}}(n),d=a}}function EE(n){e.isInJSFile(n)||XT(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function TE(n){var t=br(e.getSourceFileOfNode(n));if(!(1&t.flags)){t.deferredNodes=t.deferredNodes||new e.Map;var r=R(n);t.deferredNodes.set(r,n)}}function SE(n){var t=d;switch(d=n,T=0,n.kind){case 200:case 201:case 202:case 160:case 272:zg(n);break;case 205:case 206:case 164:case 163:!function(n){e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n));var t=e.getFunctionFlags(n),r=Tc(n);if(vh(n,r),n.body)if(e.getEffectiveReturnTypeNode(n)||Ec(_c(n)),227===n.body.kind)bE(n.body);else{var a=iv(n.body),i=r&&qb(r,t);if(i)if(2==(3&t))kd(Cv(a,n.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),i,n.body,n.body);else kd(a,i,n.body,n.body)}}(n);break;case 166:case 167:mv(n);break;case 218:!function(n){e.forEach(n.members,bE),Uv(n)}(n);break;case 271:!function(e){cg(e),zg(e)}(n);break;case 270:!function(e){cg(e.openingElement),z_(e.closingElement.tagName)?$_(e.closingElement):iv(e.closingElement.tagName),X_(e)}(n)}d=t}function LE(t){e.performance.mark("beforeCheck"),function(t){var r=br(t);if(!(1&r.flags)){if(e.skipTypeChecking(t,j,n))return;!function(n){!!(8388608&n.flags)&&function(n){for(var t=0,r=n.statements;t<r.length;t++){var a=r[t];if((e.isDeclaration(a)||229===a.kind)&&YT(a))return!0}}(n)}(t),e.clear(Kt),e.clear(Ht),e.clear(Wt),e.forEach(t.statements,bE),bE(t.endOfFileToken),function(e){var n=br(e);n.deferredNodes&&n.deferredNodes.forEach(SE)}(t),e.isExternalOrCommonJsModule(t)&&Uv(t),t.isDeclarationFile||!j.noUnusedLocals&&!j.noUnusedParameters||Vv(AE(t),(function(n,t,r){!e.containsParseError(n)&&xE(t,!!(8388608&n.flags))&&zt.add(r)})),2===j.importsNotUsedAsValues&&!t.isDeclarationFile&&e.isExternalModule(t)&&function(n){for(var t=0,r=n.statements;t<r.length;t++){var a=r[t];e.isImportDeclaration(a)&&a.importClause&&!a.importClause.isTypeOnly&&(i=a.importClause,e.forEachImportClauseDeclaration(i,(function(e){return!!va(e).isReferenced})))&&!eT(a.importClause,!0)&&!yE(a.importClause)&&or(a,e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error)}var i}(t),e.isExternalOrCommonJsModule(t)&&vE(t),Kt.length&&(e.forEach(Kt,tb),e.clear(Kt)),Ht.length&&(e.forEach(Ht,rb),e.clear(Ht)),Wt.length&&(e.forEach(Wt,ab),e.clear(Wt)),r.flags|=1}}(t),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck")}function xE(n,t){if(t)return!1;switch(n){case 0:return!!j.noUnusedLocals;case 1:return!!j.noUnusedParameters;default:return e.Debug.assertNever(n)}}function AE(n){return vt.get(n.path)||e.emptyArray}function DE(t,a){try{return r=a,function(t){if(CE(),t){var r=zt.getGlobalDiagnostics(),a=r.length;LE(t);var i=zt.getDiagnostics(t.fileName),o=zt.getGlobalDiagnostics();if(o!==r){var s=e.relativeComplement(r,o,e.compareDiagnostics);return e.concatenate(s,i)}return 0===a&&o.length>0?e.concatenate(o,i):i}return e.forEach(n.getSourceFiles(),LE),zt.getDiagnostics()}(t)}finally{r=void 0}}function CE(){if(!t)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function IE(e){switch(e.kind){case 158:case 249:case 250:case 251:case 252:case 327:case 320:case 321:return!0;case 259:return e.isTypeOnly;case 262:case 267:return e.parent.parent.isTypeOnly;default:return!1}}function NE(e){for(;156===e.parent.kind;)e=e.parent;return 172===e.parent.kind}function RE(n,t){for(var r;(n=e.getContainingClass(n))&&!(r=t(n)););return r}function kE(e,n){return!!RE(e,(function(e){return e===n}))}function OE(e){return void 0!==function(e){for(;156===e.parent.kind;)e=e.parent;return 257===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:263===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function PE(n){if(e.isDeclarationName(n))return va(n.parent);if(e.isInJSFile(n)&&198===n.parent.kind&&n.parent===n.parent.parent.left&&!e.isPrivateIdentifier(n)){var t=function(n){switch(e.getAssignmentDeclarationKind(n.parent.parent)){case 1:case 3:return va(n.parent);case 4:case 2:case 5:return va(n.parent.parent)}}(n);if(t)return t}if(263===n.parent.kind&&e.isEntityNameExpression(n)){var r=ra(n,2998271,!0);if(r&&r!==he)return r}else if(!e.isPropertyAccessExpression(n)&&!e.isPrivateIdentifier(n)&&OE(n)){var a=e.getAncestor(n,257);return e.Debug.assert(void 0!==a),na(n,!0)}if(!e.isPropertyAccessExpression(n)&&!e.isPrivateIdentifier(n)){var i=function(n){for(var t=n.parent;e.isQualifiedName(t);)n=t,t=t.parent;if(t&&192===t.kind&&t.qualifier===n)return t}(n);if(i){Vu(i);var o=br(n).resolvedSymbol;return o===he?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(n);)n=n.parent;if(function(e){for(;198===e.parent.kind;)e=e.parent;return 220===e.parent.kind}(n)){var s=0;220===n.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(n)?ra(n,s):void 0;if(c)return c}if(322===n.parent.kind)return e.getParameterSymbolFromJSDoc(n.parent);if(158===n.parent.kind&&326===n.parent.parent.kind){e.Debug.assert(!e.isInJSFile(n));var l=e.getTypeParameterFromJsDoc(n.parent);return l&&l.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;if(78===n.kind){if(e.isJSXTagName(n)&&z_(n)){var u=$_(n.parent);return u===he?void 0:u}return ra(n,111551,!1,!0)}if(198===n.kind||156===n.kind){var d=br(n);return d.resolvedSymbol||(198===n.kind?Lg(n):xg(n)),d.resolvedSymbol}}else if(NE(n)){return ra(n,s=172===n.parent.kind?788968:1920,!1,!0)}return 171===n.parent.kind?ra(n,1):void 0}function ME(n,t){if(294===n.kind)return e.isExternalModule(n)?ha(n.symbol):void 0;var r=n.parent,a=r.parent;if(!(16777216&n.flags)){if(M(n)){var i=va(r);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?K_(i):i}if(e.isLiteralComputedPropertyDeclarationName(n))return va(r.parent);if(78===n.kind){if(OE(n))return PE(n);if(195===r.kind&&193===a.kind&&n===r.propertyName){var o=Zs(wE(a),n.escapedText);if(o)return o}}switch(n.kind){case 78:case 79:case 198:case 156:return PE(n);case 107:var s=e.getThisContainer(n,!1);if(e.isFunctionLike(s)){var c=_c(s);if(c.thisParameter)return c.thisParameter}if(e.isInExpressionContext(n))return iv(n).symbol;case 186:return Gu(n).symbol;case 105:return iv(n).symbol;case 132:var l=n.parent;return l&&165===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(258===n.parent.kind||264===n.parent.kind)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return ia(n,n,t);if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r)&&r.arguments[1]===n)return va(r);case 8:var u=e.isElementAccessExpression(r)?r.argumentExpression===n?tv(r.expression):void 0:e.isLiteralTypeNode(r)&&e.isIndexedAccessTypeNode(a)?Vu(a.objectType):void 0;return u&&Zs(u,e.escapeLeadingUnderscores(n.text));case 87:case 97:case 38:case 83:return va(n.parent);case 192:return e.isLiteralImportTypeNode(n)?ME(n.argument.literal,t):void 0;case 92:return e.isExportAssignment(n.parent)?e.Debug.checkDefined(n.parent.symbol):void 0;default:return}}}function wE(n){if(16777216&n.flags)return Se;var t,r,a=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),i=a&&Eo(va(a.class));if(e.isPartOfTypeNode(n)){var o=Vu(n);return i?Xo(o,i.thisType):o}if(e.isExpressionNode(n))return GE(n);if(i&&!a.isImplements){var s=e.firstOrUndefined(ho(i));return s?Xo(s,i.thisType):Se}if(IE(n))return Io(r=va(n));if(78===(t=n).kind&&IE(t.parent)&&e.getNameOfDeclaration(t.parent)===t)return(r=ME(n))?Io(r):Se;if(e.isDeclaration(n))return to(r=va(n));if(M(n))return(r=ME(n))?to(r):Se;if(e.isBindingPattern(n))return Ci(n.parent,!0)||Se;if(OE(n)&&(r=ME(n))){var c=Io(r);return c!==Se?c:to(r)}return Se}function FE(n){if(e.Debug.assert(197===n.kind||196===n.kind),236===n.parent.kind)return Mh(n,vb(n.parent)||Se);if(213===n.parent.kind)return Mh(n,tv(n.parent.right)||Se);if(285===n.parent.kind){var t=e.cast(n.parent.parent,e.isObjectLiteralExpression);return Oh(t,FE(t)||Se,e.indexOfNode(t.properties,n.parent))}var r=e.cast(n.parent,e.isArrayLiteralExpression),a=FE(r)||Se,i=bb(65,a,Ae,n.parent)||Se;return Ph(r,a,r.elements.indexOf(n),i)}function GE(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),Pu(tv(n))}function BE(n){var t=va(n.parent);return e.hasSyntacticModifier(n,32)?to(t):Io(t)}function UE(n){var t=n.name;switch(t.kind){case 78:return wu(e.idText(t));case 8:case 10:return wu(t.text);case 157:var r=V_(t);return Ih(r,12288)?r:Re;default:return e.Debug.fail("Unsupported property name.")}}function VE(n){n=js(n);var t=e.createSymbolTable(Cs(n)),r=ec(n,0).length?gn:ec(n,1).length?yn:void 0;return r&&e.forEach(Cs(r),(function(e){t.has(e.escapedName)||t.set(e.escapedName,e)})),Pa(t)}function jE(n){return e.typeHasCallOrConstructSignatures(n,ce)}function KE(n){if(e.isGeneratedIdentifier(n))return!1;var t=e.getParseTreeNode(n,e.isIdentifier);if(!t)return!1;var r=t.parent;return!!r&&(!((e.isPropertyAccessExpression(r)||e.isPropertyAssignment(r))&&r.name===t)&&gT(t)===oe)}function HE(n){var t=ia(n.parent,n);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var r=da(t),a=vr(t=la(t));return void 0===a.exportsSomeValue&&(a.exportsSomeValue=r?!!(111551&t.flags):e.forEachEntry(_a(t),(function(e){return(e=Jr(e))&&!!(111551&e.flags)}))),a.exportsSomeValue}function WE(n,t){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var a=gT(r,function(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}(r));if(a){if(1048576&a.flags){var i=ha(a.exportSymbol);if(!t&&944&i.flags&&!(3&i.flags))return;a=i}var o=ba(a);if(o){if(512&o.flags&&294===o.valueDeclaration.kind){var s=o.valueDeclaration;return s!==e.getSourceFileOfNode(r)?void 0:s}return e.findAncestor(r.parent,(function(n){return e.isModuleOrEnumDeclaration(n)&&va(n)===o}))}}}}function qE(n){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=gT(t);if(zr(r,111551)&&!Zr(r))return Mr(r)}}function zE(n){if(418&n.flags&&!e.isSourceFile(n.valueDeclaration)){var t=vr(n);if(void 0===t.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(r)||function(n){return e.isBindingElement(n.valueDeclaration)&&284===e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind}(n)){var a=br(n.valueDeclaration);if(xr(r.parent,n.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(262144&a.flags){var i=524288&a.flags,o=e.isIterationStatement(r,!1),s=227===r.kind&&e.isIterationStatement(r.parent,!1);t.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||i&&(o||s))}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function JE(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=gT(t);if(r&&zE(r))return r.valueDeclaration}}}function XE(n){var t=e.getParseTreeNode(n,e.isDeclaration);if(t){var r=va(t);if(r)return zE(r)}return!1}function YE(n){switch(n.kind){case 257:return ZE(va(n)||he);case 259:case 260:case 262:case 267:var t=va(n)||he;return ZE(t)&&!Zr(t);case 264:var r=n.exportClause;return!!r&&(e.isNamespaceExport(r)||e.some(r.elements,YE));case 263:return!n.expression||78!==n.expression.kind||ZE(va(n)||he)}return!1}function QE(n){var t=e.getParseTreeNode(n,e.isImportEqualsDeclaration);return!(void 0===t||294!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(ZE(va(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function ZE(e){var n=Xr(e);return n===he||!!(111551&n.flags)&&(j.preserveConstEnums||!$E(n))}function $E(e){return kh(e)||!!e.constEnumOnlyModule}function eT(n,t){if(wr(n)){var r=va(n);if(r&&vr(r).referenced)return!0;var a=vr(r).target;if(a&&1&e.getEffectiveModifierFlags(n)&&111551&a.flags&&(j.preserveConstEnums||!$E(a)))return!0}return!!t&&!!e.forEachChild(n,(function(e){return eT(e,t)}))}function nT(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var t=hc(va(n));return t.length>1||1===t.length&&t[0].declaration!==n}return!1}function tT(n){return!(!q||uc(n)||e.isJSDocParameterTag(n)||!n.initializer||e.hasSyntacticModifier(n,92))}function rT(n){return q&&uc(n)&&!n.initializer&&e.hasSyntacticModifier(n,92)}function aT(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return!1;var r=va(t);return!!(r&&16&r.flags)&&!!e.forEachEntry(ma(r),(function(n){return 111551&n.flags&&n.valueDeclaration&&e.isPropertyAccessExpression(n.valueDeclaration)}))}function iT(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return e.emptyArray;var r=va(t);return r&&Cs(to(r))||e.emptyArray}function oT(e){return br(e).flags||0}function sT(e){return oE(e.parent),br(e).enumMemberValue}function cT(e){switch(e.kind){case 288:case 198:case 199:return!0}return!1}function lT(n){if(288===n.kind)return sT(n);var t=br(n).resolvedSymbol;if(t&&8&t.flags){var r=t.valueDeclaration;if(e.isEnumConst(r.parent))return sT(r)}}function uT(e){return!!(524288&e.flags)&&ec(e,0).length>0}function dT(n,t){var r,a=e.getParseTreeNode(n,e.isEntityName);if(!a)return e.TypeReferenceSerializationKind.Unknown;if(t&&!(t=e.getParseTreeNode(t)))return e.TypeReferenceSerializationKind.Unknown;var i=ra(a,111551,!0,!0,t),o=(null===(r=null==i?void 0:i.declarations)||void 0===r?void 0:r.every(e.isTypeOnlyImportOrExportDeclaration))||!1,s=i&&2097152&i.flags?Xr(i):i,c=ra(a,788968,!0,!1,t);if(s&&s===c){var l=ml(!1);if(l&&s===l)return e.TypeReferenceSerializationKind.Promise;var u=to(s);if(u&&po(u))return o?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!c)return o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var d=Io(c);return d===Se?o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:3&d.flags?e.TypeReferenceSerializationKind.ObjectType:Ih(d,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Ih(d,528)?e.TypeReferenceSerializationKind.BooleanType:Ih(d,296)?e.TypeReferenceSerializationKind.NumberLikeType:Ih(d,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:Ih(d,132)?e.TypeReferenceSerializationKind.StringLikeType:Gp(d)?e.TypeReferenceSerializationKind.ArrayLikeType:Ih(d,12288)?e.TypeReferenceSerializationKind.ESSymbolType:uT(d)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Tp(d)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function pT(n,t,r,a,i){var o=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!o)return e.factory.createToken(128);var s=va(o),c=!s||133120&s.flags?Se:Pp(to(s));return 8192&c.flags&&c.symbol===s&&(r|=1048576),i&&(c=Yp(c)),ne.typeToTypeNode(c,t,1024|r,a)}function fT(n,t,r,a){var i=e.getParseTreeNode(n,e.isFunctionLike);if(!i)return e.factory.createToken(128);var o=_c(i);return ne.typeToTypeNode(Ec(o),t,1024|r,a)}function mT(n,t,r,a){var i=e.getParseTreeNode(n,e.isExpression);if(!i)return e.factory.createToken(128);var o=df(GE(i));return ne.typeToTypeNode(o,t,1024|r,a)}function _T(n){return te.has(e.escapeLeadingUnderscores(n))}function gT(n,t){var r=br(n).resolvedSymbol;if(r)return r;var a=n;if(t){var i=n.parent;e.isDeclaration(i)&&n===i.name&&(a=gi(i))}return xr(a,n.escapedText,3257279,void 0,void 0,!0)}function yT(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=gT(t);if(r)return xa(r).valueDeclaration}}}function hT(n){return!!(e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n))&&Mu(to(va(n)))}function vT(n,t){return function(n,t,r){var a=1024&n.flags?ne.symbolToExpression(n.symbol,111551,t,void 0,r):n===we?e.factory.createTrue():n===Pe&&e.factory.createFalse();if(a)return a;var i=n.value;return"object"==typeof i?e.factory.createBigIntLiteral(i):"number"==typeof i?e.factory.createNumericLiteral(i):e.factory.createStringLiteral(i)}(to(va(n)),n,t)}function bT(n){return n?(ar(n),e.getSourceFileOfNode(n).localJsxFactory||nt):nt}function ET(n){if(n){var t=e.getSourceFileOfNode(n);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;var r=t.pragmas.get("jsxfrag"),a=e.isArray(r)?r[0]:r;if(a)return t.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,K),t.localJsxFragmentFactory}}if(j.jsxFragmentFactory)return e.parseIsolatedEntityName(j.jsxFragmentFactory,K)}function TT(n){var t=253===n.kind?e.tryCast(n.name,e.isStringLiteral):e.getExternalModuleName(n),r=oa(t,t,void 0);if(r)return e.getDeclarationOfKind(r,294)}function ST(n,t){if((a&t)!==t&&j.importHelpers){var r=e.getSourceFileOfNode(n);if(e.isEffectiveExternalModule(r,j)&&!(8388608&n.flags)){var i=function(n,t){u||(u=sa(n,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||he);return u}(r,n);if(i!==he)for(var o=t&~a,s=1;s<=4194304;s<<=1)if(o&s){var c=LT(s);Tr(i.exports,e.escapeLeadingUnderscores(c),111551)||or(n,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,c)}a|=t}}}function LT(n){switch(n){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spread";case 2048:return"__spreadArrays";case 4096:return"__await";case 8192:return"__asyncGenerator";case 16384:return"__asyncDelegator";case 32768:return"__asyncValues";case 65536:return"__exportStar";case 131072:return"__importStar";case 262144:return"__importDefault";case 524288:return"__makeTemplateObject";case 1048576:return"__classPrivateFieldGet";case 2097152:return"__classPrivateFieldSet";case 4194304:return"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function xT(n){return function(n){if(!n.decorators)return!1;if(!e.nodeCanBeDecorated(n,n.parent,n.parent.parent))return 164!==n.kind||e.nodeIsPresent(n.body)?zT(n,e.Diagnostics.Decorators_are_not_valid_here):zT(n,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(166===n.kind||167===n.kind){var t=e.getAllAccessorDeclarations(n.parent.members,n);if(t.firstAccessor.decorators&&n===t.secondAccessor)return zT(n,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(n)||function(n){var t,r,a,i,o=function(n){return!!n.modifiers&&(function(n){switch(n.kind){case 166:case 167:case 165:case 162:case 161:case 164:case 163:case 170:case 253:case 258:case 257:case 264:case 263:case 205:case 206:case 159:return!1;default:if(254===n.parent.kind||294===n.parent.kind)return!1;switch(n.kind){case 248:return AT(n,129);case 249:return AT(n,125);case 250:case 229:case 251:return!0;case 252:return AT(n,84);default:return e.Debug.fail(),!1}}}(n)?zT(n,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(n);if(void 0!==o)return o;for(var s=0,c=0,l=n.modifiers;c<l.length;c++){var u=l[c];if(141!==u.kind){if(161===n.kind||163===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(u.kind));if(170===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(u.kind))}switch(u.kind){case 84:if(252!==n.kind)return XT(n,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(84));break;case 122:case 121:case 120:var d=ii(e.modifierToFlag(u.kind));if(28&s)return XT(u,e.Diagnostics.Accessibility_modifier_already_seen);if(32&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"static");if(64&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"readonly");if(256&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"async");if(254===n.parent.kind||294===n.parent.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);if(128&s)return 120===u.kind?XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,d,"abstract"):XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"abstract");if(e.isPrivateIdentifierPropertyDeclaration(n))return XT(u,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=e.modifierToFlag(u.kind);break;case 123:if(32&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"static");if(64&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(254===n.parent.kind||294===n.parent.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(e.isPrivateIdentifierPropertyDeclaration(n))return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"static");s|=32,t=u;break;case 141:if(64&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"readonly");if(162!==n.kind&&161!==n.kind&&170!==n.kind&&159!==n.kind)return XT(u,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64,i=u;break;case 92:if(1&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"export");if(2&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(e.isClassLike(n.parent))return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_class_element,"export");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 87:var p=294===n.parent.kind?n.parent:n.parent.parent;if(253===p.kind&&!e.isAmbientModule(p))return XT(u,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);s|=512;break;case 133:if(2&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(e.isClassLike(n.parent)&&!e.isPropertyDeclaration(n))return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_class_element,"declare");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(8388608&n.parent.flags&&254===n.parent.kind)return XT(u,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(e.isPrivateIdentifierPropertyDeclaration(n))return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");s|=2,r=u;break;case 125:if(128&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"abstract");if(249!==n.kind){if(164!==n.kind&&162!==n.kind&&166!==n.kind&&167!==n.kind)return XT(u,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(249!==n.parent.kind||!e.hasSyntacticModifier(n.parent,128))return XT(u,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract")}if(e.isNamedDeclaration(n)&&79===n.name.kind)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=128;break;case 129:if(256&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"async");if(2&s||8388608&n.parent.flags)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");s|=256,a=u}}if(165===n.kind)return 32&s?XT(t,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):128&s?XT(t,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"abstract"):256&s?XT(a,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!!(64&s)&&XT(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"readonly");if((258===n.kind||257===n.kind)&&2&s)return XT(r,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare");if(159===n.kind&&92&s&&e.isBindingPattern(n.name))return XT(n,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern);if(159===n.kind&&92&s&&n.dotDotDotToken)return XT(n,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter);if(256&s)return function(n,t){switch(n.kind){case 164:case 248:case 205:case 206:return!1}return XT(t,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}(n,a);return!1}(n)}function AT(e,n){return e.modifiers.length>1||e.modifiers[0].kind!==n}function DT(n,t){return void 0===t&&(t=e.Diagnostics.Trailing_comma_not_allowed),!(!n||!n.hasTrailingComma)&&JT(n[0],n.end-",".length,",".length,t)}function CT(n,t){if(n&&0===n.length){var r=n.pos-"<".length;return JT(t,r,e.skipTrivia(t.text,n.end)+">".length-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function IT(n){if(K>=3){var t=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(t){var r=(i=n.parameters,e.filter(i,(function(n){return!!n.initializer||e.isBindingPattern(n.name)||e.isRestParameter(n)})));if(e.length(r)){e.forEach(r,(function(n){e.addRelatedInfo(or(n,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))}));var a=r.map((function(n,t){return 0===t?e.createDiagnosticForNode(n,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(n,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,o([or(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a)),!0}}}var i;return!1}function NT(n){var t=e.getSourceFileOfNode(n);return xT(n)||CT(n.typeParameters,t)||function(n){for(var t=!1,r=n.length,a=0;a<r;a++){var i=n[a];if(i.dotDotDotToken){if(a!==r-1)return XT(i.dotDotDotToken,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(8388608&i.flags||DT(n,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),i.questionToken)return XT(i.questionToken,e.Diagnostics.A_rest_parameter_cannot_be_optional);if(i.initializer)return XT(i.name,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(uc(i)){if(t=!0,i.questionToken&&i.initializer)return XT(i.name,e.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(t&&!i.initializer)return XT(i.name,e.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}(n.parameters)||function(n,t){if(!e.isArrowFunction(n))return!1;var r=n.equalsGreaterThanToken,a=e.getLineAndCharacterOfPosition(t,r.pos).line,i=e.getLineAndCharacterOfPosition(t,r.end).line;return a!==i&&XT(r,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}(n,t)||e.isFunctionLikeDeclaration(n)&&IT(n)}function RT(n,t){return DT(t)||function(n,t){if(t&&0===t.length){var r=e.getSourceFileOfNode(n),a=t.pos-"<".length;return JT(r,a,e.skipTrivia(r.text,t.end)+">".length-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(n,t)}function kT(n){return function(n){if(n)for(var t=0,r=n;t<r.length;t++){var a=r[t];if(219===a.kind)return JT(a,a.pos,0,e.Diagnostics.Argument_expression_expected)}return!1}(n)}function OT(n){var t=n.types;if(DT(t))return!0;if(t&&0===t.length){var r=e.tokenToString(n.token);return JT(n,t.pos,0,e.Diagnostics._0_list_cannot_be_empty,r)}return e.some(t,PT)}function PT(e){return RT(e,e.typeArguments)}function MT(n){if(157!==n.kind)return!1;var t=n;return 213===t.expression.kind&&27===t.expression.operatorToken.kind&&XT(t.expression,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function wT(n){if(n.asteriskToken){if(e.Debug.assert(248===n.kind||205===n.kind||164===n.kind),8388608&n.flags)return XT(n.asteriskToken,e.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);if(!n.body)return XT(n.asteriskToken,e.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}function FT(e,n){return!!e&&XT(e,n)}function GT(e,n){return!!e&&XT(e,n)}function BT(n){if(QT(n))return!0;if(236===n.kind&&n.awaitModifier&&0==(32768&n.flags)){if(!qT(e.getSourceFileOfNode(n))){var t=e.createDiagnosticForNode(n.awaitModifier,e.Diagnostics.A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator),r=e.getContainingFunction(n);if(r&&165!==r.kind){e.Debug.assert(0==(2&e.getFunctionFlags(r)),"Enclosing function should never be an async function.");var a=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(t,a)}return zt.add(t),!0}return!1}if(247===n.initializer.kind){var i=n.initializer;if(!WT(i)){var o=i.declarations;if(!o.length)return!1;if(o.length>1){t=235===n.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return zT(i.declarations[1],t)}var s=o[0];if(s.initializer){var t=235===n.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return XT(s.name,t)}if(s.type)return XT(s,t=235===n.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function UT(n){if(n.parameters.length===(166===n.kind?1:2))return e.getThisParameter(n)}function VT(n,t){if(function(n){return e.isDynamicName(n)&&!Uo(n)}(n))return XT(n,t)}function jT(n){if(NT(n))return!0;if(164===n.kind){if(197===n.parent.kind){if(n.modifiers&&(1!==n.modifiers.length||129!==e.first(n.modifiers).kind))return zT(n,e.Diagnostics.Modifiers_cannot_appear_here);if(FT(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(GT(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===n.body)return JT(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(wT(n))return!0}if(e.isClassLike(n.parent)){if(8388608&n.flags)return VT(n.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(164===n.kind&&!n.body)return VT(n.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(250===n.parent.kind)return VT(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(176===n.parent.kind)return VT(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function KT(n){return e.isStringOrNumericLiteralLike(n)||211===n.kind&&40===n.operator&&8===n.operand.kind}function HT(n){var t,r=n.initializer;if(r){var a=!(KT(r)||function(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&KT(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(1024&Vh(n).flags)}(r)||109===r.kind||94===r.kind||(t=r,9===t.kind||211===t.kind&&40===t.operator&&9===t.operand.kind)),i=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(!i||n.type)return XT(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(a)return XT(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!i||a)return XT(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function WT(n){var t=n.declarations;return!!DT(n.declarations)||!n.declarations.length&&JT(n,t.pos,t.end-t.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function qT(e){return e.parseDiagnostics.length>0}function zT(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!qT(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return zt.add(e.createFileDiagnostic(o,s.start,s.length,t,r,a,i)),!0}return!1}function JT(n,t,r,a,i,o,s){var c=e.getSourceFileOfNode(n);return!qT(c)&&(zt.add(e.createFileDiagnostic(c,t,r,a,i,o,s)),!0)}function XT(n,t,r,a,i){return!qT(e.getSourceFileOfNode(n))&&(zt.add(e.createDiagnosticForNode(n,t,r,a,i)),!0)}function YT(n){return 250!==n.kind&&251!==n.kind&&258!==n.kind&&257!==n.kind&&264!==n.kind&&263!==n.kind&&256!==n.kind&&!e.hasSyntacticModifier(n,515)&&zT(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function QT(n){if(8388608&n.flags){if(!br(n).hasReportedStatementInAmbientContext&&(e.isFunctionLike(n.parent)||e.isAccessor(n.parent)))return br(n).hasReportedStatementInAmbientContext=zT(n,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(227===n.parent.kind||254===n.parent.kind||294===n.parent.kind){var t=br(n.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=zT(n,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function ZT(n){if(32&n.numericLiteralFlags){var t=void 0;if(K>=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,190)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,288)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var r=e.isPrefixUnaryExpression(n.parent)&&40===n.parent.operator,a=(r?"-":"")+"0o"+n.text;return XT(r?n.parent:n,t,a)}}return function(n){if(16&n.numericLiteralFlags||n.text.length<=15||-1!==n.text.indexOf("."))return;var t=+e.getTextOfNode(n);if(t<=Math.pow(2,53)-1&&t+1>t)return;sr(!1,e.createDiagnosticForNode(n,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(n),!1}function $T(n,t,r,a){if(1048576&t.flags&&2621440&n.flags){var i=Cs(n);if(i){var o=Zf(i,t);if(o)return rp(t,e.map(o,(function(e){return[function(){return to(e)},e.escapedName]})),r,void 0,a)}}}},function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"}(D||(D={})),e.signatureHasRestParameter=G,e.signatureHasLiteralTypes=B}(p||(p={})),function(e){var n=e.or(e.isTypeNode,e.isTypeParameterDeclaration);function t(n,t,r,a){if(void 0===n||void 0===t)return n;var i,o=t(n);return o===n?n:void 0!==o?(i=e.isArray(o)?(a||c)(o):o,e.Debug.assertNode(i,r),i):void 0}function r(n,t,r,a,i){if(void 0===n||void 0===t)return n;var o,s,c=n.length;(void 0===a||a<0)&&(a=0),(void 0===i||i>c-a)&&(i=c-a);var l=-1,u=-1;(a>0||i<c)&&(o=[],s=n.hasTrailingComma&&a+i===c);for(var d=0;d<i;d++){var p=n[d+a],f=void 0!==p?t(p):void 0;if((void 0!==o||void 0===f||f!==p)&&(void 0===o&&(o=n.slice(0,d),s=n.hasTrailingComma,l=n.pos,u=n.end),f))if(e.isArray(f))for(var m=0,_=f;m<_.length;m++){var g=_[m];e.Debug.assertNode(g,r),o.push(g)}else e.Debug.assertNode(f,r),o.push(f)}if(o){var y=e.factory.createNodeArray(o,s);return e.setTextRangePosEnd(y,l,u),y}return n}function a(n,t,a,i,o,s){return void 0===s&&(s=r),a.startLexicalEnvironment(),n=s(n,t,e.isStatement,i),o&&(n=a.factory.ensureUseStrict(n)),e.factory.mergeLexicalEnvironment(n,a.endLexicalEnvironment())}function i(n,t,a,i){var s;return void 0===i&&(i=r),a.startLexicalEnvironment(),n&&(a.setLexicalEnvironmentFlags(1,!0),s=i(n,t,e.isParameterDeclaration),2&a.getLexicalEnvironmentFlags()&&e.getEmitScriptTarget(a.getCompilerOptions())>=2&&(s=function(n,t){for(var r,a=0;a<n.length;a++){var i=n[a],s=o(i,t);(r||s!==i)&&(r||(r=n.slice(0,a)),r[a]=s)}if(r)return e.setTextRange(t.factory.createNodeArray(r,n.hasTrailingComma),n);return n}(s,a)),a.setLexicalEnvironmentFlags(1,!1)),a.suspendLexicalEnvironment(),s}function o(n,t){return n.dotDotDotToken?n:e.isBindingPattern(n.name)?function(e,n){var t=n.factory;return n.addInitializationStatement(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(e.name,void 0,e.type,e.initializer?t.createConditionalExpression(t.createStrictEquality(t.getGeneratedNameForNode(e),t.createVoidZero()),void 0,e.initializer,void 0,t.getGeneratedNameForNode(e)):t.getGeneratedNameForNode(e))]))),t.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,t.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}(n,t):n.initializer?function(n,t,r,a){var i=a.factory;return a.addInitializationStatement(i.createIfStatement(i.createTypeCheck(i.cloneNode(t),"undefined"),e.setEmitFlags(e.setTextRange(i.createBlock([i.createExpressionStatement(e.setEmitFlags(e.setTextRange(i.createAssignment(e.setEmitFlags(i.cloneNode(t),48),e.setEmitFlags(r,1584|e.getEmitFlags(r))),n),1536))]),n),1953))),i.updateParameterDeclaration(n,n.decorators,n.modifiers,n.dotDotDotToken,n.name,n.questionToken,n.type,void 0)}(n,n.name,n.initializer,t):n}function s(n,r,a,i){void 0===i&&(i=t),a.resumeLexicalEnvironment();var o=i(n,r,e.isConciseBody),s=a.endLexicalEnvironment();if(e.some(s)){if(!o)return a.factory.createBlock(s);var c=a.factory.converters.convertToFunctionBlock(o),l=e.factory.mergeLexicalEnvironment(c.statements,s);return a.factory.updateBlock(c,l)}return o}function c(n){return e.Debug.assert(n.length<=1,"Too many nodes written to output."),e.singleOrUndefined(n)}e.visitNode=t,e.visitNodes=r,e.visitLexicalEnvironment=a,e.visitParameterList=i,e.visitFunctionBody=s,e.visitEachChild=function(o,c,l,u,d,p){if(void 0===u&&(u=r),void 0===p&&(p=t),void 0!==o){var f=o.kind;if(f>0&&f<=155||186===f)return o;var m=l.factory;switch(f){case 78:return m.updateIdentifier(o,u(o.typeArguments,c,n));case 156:return m.updateQualifiedName(o,p(o.left,c,e.isEntityName),p(o.right,c,e.isIdentifier));case 157:return m.updateComputedPropertyName(o,p(o.expression,c,e.isExpression));case 158:return m.updateTypeParameterDeclaration(o,p(o.name,c,e.isIdentifier),p(o.constraint,c,e.isTypeNode),p(o.default,c,e.isTypeNode));case 159:return m.updateParameterDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.dotDotDotToken,d,e.isToken),p(o.name,c,e.isBindingName),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 160:return m.updateDecorator(o,p(o.expression,c,e.isExpression));case 161:return m.updatePropertySignature(o,u(o.modifiers,c,e.isToken),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode));case 162:return m.updatePropertyDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),p(o.questionToken||o.exclamationToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 163:return m.updateMethodSignature(o,u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 164:return m.updateMethodDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 165:return m.updateConstructorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),i(o.parameters,c,l,u),s(o.body,c,l,p));case 166:return m.updateGetAccessorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 167:return m.updateSetAccessorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),i(o.parameters,c,l,u),s(o.body,c,l,p));case 168:return m.updateCallSignature(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 169:return m.updateConstructSignature(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 170:return m.updateIndexSignature(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 171:return m.updateTypePredicateNode(o,p(o.assertsModifier,c),p(o.parameterName,c),p(o.type,c,e.isTypeNode));case 172:return m.updateTypeReferenceNode(o,p(o.typeName,c,e.isEntityName),u(o.typeArguments,c,e.isTypeNode));case 173:return m.updateFunctionTypeNode(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 174:return m.updateConstructorTypeNode(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 175:return m.updateTypeQueryNode(o,p(o.exprName,c,e.isEntityName));case 176:return m.updateTypeLiteralNode(o,u(o.members,c,e.isTypeElement));case 177:return m.updateArrayTypeNode(o,p(o.elementType,c,e.isTypeNode));case 178:return m.updateTupleTypeNode(o,u(o.elements,c,e.isTypeNode));case 179:return m.updateOptionalTypeNode(o,p(o.type,c,e.isTypeNode));case 180:return m.updateRestTypeNode(o,p(o.type,c,e.isTypeNode));case 181:return m.updateUnionTypeNode(o,u(o.types,c,e.isTypeNode));case 182:return m.updateIntersectionTypeNode(o,u(o.types,c,e.isTypeNode));case 183:return m.updateConditionalTypeNode(o,p(o.checkType,c,e.isTypeNode),p(o.extendsType,c,e.isTypeNode),p(o.trueType,c,e.isTypeNode),p(o.falseType,c,e.isTypeNode));case 184:return m.updateInferTypeNode(o,p(o.typeParameter,c,e.isTypeParameterDeclaration));case 192:return m.updateImportTypeNode(o,p(o.argument,c,e.isTypeNode),p(o.qualifier,c,e.isEntityName),r(o.typeArguments,c,e.isTypeNode),o.isTypeOf);case 191:return m.updateNamedTupleMember(o,t(o.dotDotDotToken,c,e.isToken),t(o.name,c,e.isIdentifier),t(o.questionToken,c,e.isToken),t(o.type,c,e.isTypeNode));case 185:return m.updateParenthesizedType(o,p(o.type,c,e.isTypeNode));case 187:return m.updateTypeOperatorNode(o,p(o.type,c,e.isTypeNode));case 188:return m.updateIndexedAccessTypeNode(o,p(o.objectType,c,e.isTypeNode),p(o.indexType,c,e.isTypeNode));case 189:return m.updateMappedTypeNode(o,p(o.readonlyToken,d,e.isToken),p(o.typeParameter,c,e.isTypeParameterDeclaration),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode));case 190:return m.updateLiteralTypeNode(o,p(o.literal,c,e.isExpression));case 193:return m.updateObjectBindingPattern(o,u(o.elements,c,e.isBindingElement));case 194:return m.updateArrayBindingPattern(o,u(o.elements,c,e.isArrayBindingElement));case 195:return m.updateBindingElement(o,p(o.dotDotDotToken,d,e.isToken),p(o.propertyName,c,e.isPropertyName),p(o.name,c,e.isBindingName),p(o.initializer,c,e.isExpression));case 196:return m.updateArrayLiteralExpression(o,u(o.elements,c,e.isExpression));case 197:return m.updateObjectLiteralExpression(o,u(o.properties,c,e.isObjectLiteralElementLike));case 198:return 32&o.flags?m.updatePropertyAccessChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),p(o.name,c,e.isIdentifier)):m.updatePropertyAccessExpression(o,p(o.expression,c,e.isExpression),p(o.name,c,e.isIdentifierOrPrivateIdentifier));case 199:return 32&o.flags?m.updateElementAccessChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),p(o.argumentExpression,c,e.isExpression)):m.updateElementAccessExpression(o,p(o.expression,c,e.isExpression),p(o.argumentExpression,c,e.isExpression));case 200:return 32&o.flags?m.updateCallChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression)):m.updateCallExpression(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression));case 201:return m.updateNewExpression(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression));case 202:return m.updateTaggedTemplateExpression(o,p(o.tag,c,e.isExpression),r(o.typeArguments,c,e.isExpression),p(o.template,c,e.isTemplateLiteral));case 203:return m.updateTypeAssertion(o,p(o.type,c,e.isTypeNode),p(o.expression,c,e.isExpression));case 204:return m.updateParenthesizedExpression(o,p(o.expression,c,e.isExpression));case 205:return m.updateFunctionExpression(o,u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 206:return m.updateArrowFunction(o,u(o.modifiers,c,e.isModifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),p(o.equalsGreaterThanToken,d,e.isToken),s(o.body,c,l,p));case 207:return m.updateDeleteExpression(o,p(o.expression,c,e.isExpression));case 208:return m.updateTypeOfExpression(o,p(o.expression,c,e.isExpression));case 209:return m.updateVoidExpression(o,p(o.expression,c,e.isExpression));case 210:return m.updateAwaitExpression(o,p(o.expression,c,e.isExpression));case 211:return m.updatePrefixUnaryExpression(o,p(o.operand,c,e.isExpression));case 212:return m.updatePostfixUnaryExpression(o,p(o.operand,c,e.isExpression));case 213:return m.updateBinaryExpression(o,p(o.left,c,e.isExpression),p(o.operatorToken,d,e.isToken),p(o.right,c,e.isExpression));case 214:return m.updateConditionalExpression(o,p(o.condition,c,e.isExpression),p(o.questionToken,d,e.isToken),p(o.whenTrue,c,e.isExpression),p(o.colonToken,d,e.isToken),p(o.whenFalse,c,e.isExpression));case 215:return m.updateTemplateExpression(o,p(o.head,c,e.isTemplateHead),u(o.templateSpans,c,e.isTemplateSpan));case 216:return m.updateYieldExpression(o,p(o.asteriskToken,d,e.isToken),p(o.expression,c,e.isExpression));case 217:return m.updateSpreadElement(o,p(o.expression,c,e.isExpression));case 218:return m.updateClassExpression(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 220:return m.updateExpressionWithTypeArguments(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode));case 221:return m.updateAsExpression(o,p(o.expression,c,e.isExpression),p(o.type,c,e.isTypeNode));case 222:return 32&o.flags?m.updateNonNullChain(o,p(o.expression,c,e.isExpression)):m.updateNonNullExpression(o,p(o.expression,c,e.isExpression));case 223:return m.updateMetaProperty(o,p(o.name,c,e.isIdentifier));case 225:return m.updateTemplateSpan(o,p(o.expression,c,e.isExpression),p(o.literal,c,e.isTemplateMiddleOrTemplateTail));case 227:return m.updateBlock(o,u(o.statements,c,e.isStatement));case 229:return m.updateVariableStatement(o,u(o.modifiers,c,e.isModifier),p(o.declarationList,c,e.isVariableDeclarationList));case 230:return m.updateExpressionStatement(o,p(o.expression,c,e.isExpression));case 231:return m.updateIfStatement(o,p(o.expression,c,e.isExpression),p(o.thenStatement,c,e.isStatement,m.liftToBlock),p(o.elseStatement,c,e.isStatement,m.liftToBlock));case 232:return m.updateDoStatement(o,p(o.statement,c,e.isStatement,m.liftToBlock),p(o.expression,c,e.isExpression));case 233:return m.updateWhileStatement(o,p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 234:return m.updateForStatement(o,p(o.initializer,c,e.isForInitializer),p(o.condition,c,e.isExpression),p(o.incrementor,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 235:return m.updateForInStatement(o,p(o.initializer,c,e.isForInitializer),p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 236:return m.updateForOfStatement(o,p(o.awaitModifier,d,e.isToken),p(o.initializer,c,e.isForInitializer),p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 237:return m.updateContinueStatement(o,p(o.label,c,e.isIdentifier));case 238:return m.updateBreakStatement(o,p(o.label,c,e.isIdentifier));case 239:return m.updateReturnStatement(o,p(o.expression,c,e.isExpression));case 240:return m.updateWithStatement(o,p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 241:return m.updateSwitchStatement(o,p(o.expression,c,e.isExpression),p(o.caseBlock,c,e.isCaseBlock));case 242:return m.updateLabeledStatement(o,p(o.label,c,e.isIdentifier),p(o.statement,c,e.isStatement,m.liftToBlock));case 243:return m.updateThrowStatement(o,p(o.expression,c,e.isExpression));case 244:return m.updateTryStatement(o,p(o.tryBlock,c,e.isBlock),p(o.catchClause,c,e.isCatchClause),p(o.finallyBlock,c,e.isBlock));case 246:return m.updateVariableDeclaration(o,p(o.name,c,e.isBindingName),p(o.exclamationToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 247:return m.updateVariableDeclarationList(o,u(o.declarations,c,e.isVariableDeclaration));case 248:return m.updateFunctionDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 249:return m.updateClassDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 250:return m.updateInterfaceDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isTypeElement));case 251:return m.updateTypeAliasDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),p(o.type,c,e.isTypeNode));case 252:return m.updateEnumDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.members,c,e.isEnumMember));case 253:return m.updateModuleDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),p(o.body,c,e.isModuleBody));case 254:return m.updateModuleBlock(o,u(o.statements,c,e.isStatement));case 255:return m.updateCaseBlock(o,u(o.clauses,c,e.isCaseOrDefaultClause));case 256:return m.updateNamespaceExportDeclaration(o,p(o.name,c,e.isIdentifier));case 257:return m.updateImportEqualsDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),p(o.moduleReference,c,e.isModuleReference));case 258:return m.updateImportDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.importClause,c,e.isImportClause),p(o.moduleSpecifier,c,e.isExpression));case 259:return m.updateImportClause(o,o.isTypeOnly,p(o.name,c,e.isIdentifier),p(o.namedBindings,c,e.isNamedImportBindings));case 260:return m.updateNamespaceImport(o,p(o.name,c,e.isIdentifier));case 266:return m.updateNamespaceExport(o,p(o.name,c,e.isIdentifier));case 261:return m.updateNamedImports(o,u(o.elements,c,e.isImportSpecifier));case 262:return m.updateImportSpecifier(o,p(o.propertyName,c,e.isIdentifier),p(o.name,c,e.isIdentifier));case 263:return m.updateExportAssignment(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.expression,c,e.isExpression));case 264:return m.updateExportDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),o.isTypeOnly,p(o.exportClause,c,e.isNamedExportBindings),p(o.moduleSpecifier,c,e.isExpression));case 265:return m.updateNamedExports(o,u(o.elements,c,e.isExportSpecifier));case 267:return m.updateExportSpecifier(o,p(o.propertyName,c,e.isIdentifier),p(o.name,c,e.isIdentifier));case 269:return m.updateExternalModuleReference(o,p(o.expression,c,e.isExpression));case 270:return m.updateJsxElement(o,p(o.openingElement,c,e.isJsxOpeningElement),u(o.children,c,e.isJsxChild),p(o.closingElement,c,e.isJsxClosingElement));case 271:return m.updateJsxSelfClosingElement(o,p(o.tagName,c,e.isJsxTagNameExpression),u(o.typeArguments,c,e.isTypeNode),p(o.attributes,c,e.isJsxAttributes));case 272:return m.updateJsxOpeningElement(o,p(o.tagName,c,e.isJsxTagNameExpression),u(o.typeArguments,c,e.isTypeNode),p(o.attributes,c,e.isJsxAttributes));case 273:return m.updateJsxClosingElement(o,p(o.tagName,c,e.isJsxTagNameExpression));case 274:return m.updateJsxFragment(o,p(o.openingFragment,c,e.isJsxOpeningFragment),u(o.children,c,e.isJsxChild),p(o.closingFragment,c,e.isJsxClosingFragment));case 277:return m.updateJsxAttribute(o,p(o.name,c,e.isIdentifier),p(o.initializer,c,e.isStringLiteralOrJsxExpression));case 278:return m.updateJsxAttributes(o,u(o.properties,c,e.isJsxAttributeLike));case 279:return m.updateJsxSpreadAttribute(o,p(o.expression,c,e.isExpression));case 280:return m.updateJsxExpression(o,p(o.expression,c,e.isExpression));case 281:return m.updateCaseClause(o,p(o.expression,c,e.isExpression),u(o.statements,c,e.isStatement));case 282:return m.updateDefaultClause(o,u(o.statements,c,e.isStatement));case 283:return m.updateHeritageClause(o,u(o.types,c,e.isExpressionWithTypeArguments));case 284:return m.updateCatchClause(o,p(o.variableDeclaration,c,e.isVariableDeclaration),p(o.block,c,e.isBlock));case 285:return m.updatePropertyAssignment(o,p(o.name,c,e.isPropertyName),p(o.initializer,c,e.isExpression));case 286:return m.updateShorthandPropertyAssignment(o,p(o.name,c,e.isIdentifier),p(o.objectAssignmentInitializer,c,e.isExpression));case 287:return m.updateSpreadAssignment(o,p(o.expression,c,e.isExpression));case 288:return m.updateEnumMember(o,p(o.name,c,e.isPropertyName),p(o.initializer,c,e.isExpression));case 294:return m.updateSourceFile(o,a(o.statements,c,l));case 331:return m.updatePartiallyEmittedExpression(o,p(o.expression,c,e.isExpression));case 332:return m.updateCommaListExpression(o,u(o.elements,c,e.isExpression));default:return o}}}}(p||(p={})),function(e){e.createSourceMapGenerator=function(n,t,r,a,o){var c,l,u=o.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,d=u.enter,p=u.exit,f=[],m=[],_=new e.Map,g=[],y="",h=0,v=0,b=0,E=0,T=0,S=0,L=!1,x=0,A=0,D=0,C=0,I=0,N=0,R=!1,k=!1,O=!1;return{getSources:function(){return f},addSource:P,setSourceContent:M,addName:w,addMapping:F,appendSourceMap:function(n,t,r,a,o,s){e.Debug.assert(n>=x,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),d();for(var c,l=[],u=i(r.mappings),f=u.next();!f.done;f=u.next()){var m=f.value;if(s&&(m.generatedLine>s.line||m.generatedLine===s.line&&m.generatedCharacter>s.character))break;if(!o||!(m.generatedLine<o.line||o.line===m.generatedLine&&m.generatedCharacter<o.character)){var _=void 0,g=void 0,y=void 0,h=void 0;if(void 0!==m.sourceIndex){if(void 0===(_=l[m.sourceIndex])){var v=r.sources[m.sourceIndex],b=r.sourceRoot?e.combinePaths(r.sourceRoot,v):v,E=e.combinePaths(e.getDirectoryPath(a),b);l[m.sourceIndex]=_=P(E),r.sourcesContent&&"string"==typeof r.sourcesContent[m.sourceIndex]&&M(_,r.sourcesContent[m.sourceIndex])}g=m.sourceLine,y=m.sourceCharacter,r.names&&void 0!==m.nameIndex&&(c||(c=[]),void 0===(h=c[m.nameIndex])&&(c[m.nameIndex]=h=w(r.names[m.nameIndex])))}var T=m.generatedLine-(o?o.line:0),S=T+n,L=o&&o.line===m.generatedLine?m.generatedCharacter-o.character:m.generatedCharacter;F(S,0===T?L+t:L,_,g,y,h)}}p()},toJSON:B,toString:function(){return JSON.stringify(B())}};function P(t){d();var r=e.getRelativePathToDirectoryOrUrl(a,t,n.getCurrentDirectory(),n.getCanonicalFileName,!0),i=_.get(r);return void 0===i&&(i=m.length,m.push(r),f.push(t),_.set(r,i)),p(),i}function M(e,n){if(d(),null!==n){for(c||(c=[]);c.length<e;)c.push(null);c[e]=n}p()}function w(n){d(),l||(l=new e.Map);var t=l.get(n);return void 0===t&&(t=g.length,g.push(n),l.set(n,t)),p(),t}function F(n,t,r,a,i,o){e.Debug.assert(n>=x,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===r||r>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),d(),(function(e,n){return!R||x!==e||A!==n}(n,t)||function(e,n,t){return void 0!==e&&void 0!==n&&void 0!==t&&D===e&&(C>n||C===n&&I>t)}(r,a,i))&&(G(),x=n,A=t,k=!1,O=!1,R=!0),void 0!==r&&void 0!==a&&void 0!==i&&(D=r,C=a,I=i,k=!0,void 0!==o&&(N=o,O=!0)),p()}function G(){if(R&&(!L||h!==x||v!==A||b!==D||E!==C||T!==I||S!==N)){if(d(),h<x)do{y+=";",h++,v=0}while(h<x);else e.Debug.assertEqual(h,x,"generatedLine cannot backtrack"),L&&(y+=",");y+=s(A-v),v=A,k&&(y+=s(D-b),b=D,y+=s(C-E),E=C,y+=s(I-T),T=I,O&&(y+=s(N-S),S=N)),L=!0,p()}}function B(){return G(),{version:3,file:t,sourceRoot:r,sources:m,names:g,mappings:y,sourcesContent:c}}};var n=/^\/\/[@#] source[M]appingURL=(.+)\s*$/,t=/^\s*(\/\/[@#] .*)?$/;function r(e){return"string"==typeof e||null===e}function a(n){return null!==n&&"object"==typeof n&&3===n.version&&"string"==typeof n.file&&"string"==typeof n.mappings&&e.isArray(n.sources)&&e.every(n.sources,e.isString)&&(void 0===n.sourceRoot||null===n.sourceRoot||"string"==typeof n.sourceRoot)&&(void 0===n.sourcesContent||null===n.sourcesContent||e.isArray(n.sourcesContent)&&e.every(n.sourcesContent,r))&&(void 0===n.names||null===n.names||e.isArray(n.names)&&e.every(n.names,e.isString))}function i(e){var n,t=!1,r=0,a=0,i=0,o=0,s=0,c=0,l=0;return{get pos(){return r},get error(){return n},get state(){return u(!0,!0)},next:function(){for(;!t&&r<e.length;){var n=e.charCodeAt(r);if(59!==n){if(44!==n){var p=!1,y=!1;if(i+=g(),m())return d();if(i<0)return f("Invalid generatedCharacter found");if(!_()){if(p=!0,o+=g(),m())return d();if(o<0)return f("Invalid sourceIndex found");if(_())return f("Unsupported Format: No entries after sourceIndex");if(s+=g(),m())return d();if(s<0)return f("Invalid sourceLine found");if(_())return f("Unsupported Format: No entries after sourceLine");if(c+=g(),m())return d();if(c<0)return f("Invalid sourceCharacter found");if(!_()){if(y=!0,l+=g(),m())return d();if(l<0)return f("Invalid nameIndex found");if(!_())return f("Unsupported Error Format: Entries after nameIndex")}}return{value:u(p,y),done:t}}r++}else a++,i=0,r++}return d()}};function u(e,n){return{generatedLine:a,generatedCharacter:i,sourceIndex:e?o:void 0,sourceLine:e?s:void 0,sourceCharacter:e?c:void 0,nameIndex:n?l:void 0}}function d(){return t=!0,{value:void 0,done:!0}}function p(e){void 0===n&&(n=e)}function f(e){return p(e),d()}function m(){return void 0!==n}function _(){return r===e.length||44===e.charCodeAt(r)||59===e.charCodeAt(r)}function g(){for(var n,t=!0,a=0,i=0;t;r++){if(r>=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(n=e.charCodeAt(r))>=65&&n<=90?n-65:n>=97&&n<=122?n-97+26:n>=48&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1===o)return p("Invalid character in VLQ"),-1;t=0!=(32&o),i|=(31&o)<<a,a+=5}return 0==(1&i)?i>>=1:i=-(i>>=1),i}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(n){n<0?n=1+(-n<<1):n<<=1;var t,r="";do{var a=31&n;(n>>=5)>0&&(a|=32),r+=String.fromCharCode((t=a)>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:e.Debug.fail(t+": not a base64 value"))}while(n>0);return r}function c(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function l(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function u(n,t){return e.Debug.assert(n.sourceIndex===t.sourceIndex),e.compareValues(n.sourcePosition,t.sourcePosition)}function d(n,t){return e.compareValues(n.generatedPosition,t.generatedPosition)}function p(e){return e.sourcePosition}function f(e){return e.generatedPosition}e.getLineInfo=function(e,n){return{getLineCount:function(){return n.length},getLineText:function(t){return e.substring(n[t],n[t+1])}}},e.tryGetSourceMappingURL=function(e){for(var r=e.getLineCount()-1;r>=0;r--){var a=e.getLineText(r),i=n.exec(a);if(i)return i[1];if(!a.match(t))break}},e.isRawSourceMap=a,e.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(a(n))return n}catch(e){}},e.decodeMappings=i,e.sameMapping=function(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(n,t,r){var a,s,m,_=e.getDirectoryPath(r),g=t.sourceRoot?e.getNormalizedAbsolutePath(t.sourceRoot,_):_,y=e.getNormalizedAbsolutePath(t.file,_),h=n.getSourceFileLike(y),v=t.sources.map((function(n){return e.getNormalizedAbsolutePath(n,g)})),b=new e.Map(v.map((function(e,t){return[n.getCanonicalFileName(e),t]})));return{getSourcePosition:function(n){var t=L();if(!e.some(t))return n;var r=e.binarySearchKey(t,n.pos,f,e.compareValues);r<0&&(r=~r);var a=t[r];if(void 0===a||!c(a))return n;return{fileName:v[a.sourceIndex],pos:a.sourcePosition}},getGeneratedPosition:function(t){var r=b.get(n.getCanonicalFileName(t.fileName));if(void 0===r)return t;var a=S(r);if(!e.some(a))return t;var i=e.binarySearchKey(a,t.pos,p,e.compareValues);i<0&&(i=~i);var o=a[i];if(void 0===o||o.sourceIndex!==r)return t;return{fileName:y,pos:o.generatedPosition}}};function E(r){var a,i,s=void 0!==h?e.getPositionOfLineAndCharacter(h,r.generatedLine,r.generatedCharacter,!0):-1;if(o(r)){var c=n.getSourceFileLike(v[r.sourceIndex]);a=t.sources[r.sourceIndex],i=void 0!==c?e.getPositionOfLineAndCharacter(c,r.sourceLine,r.sourceCharacter,!0):-1}return{generatedPosition:s,source:a,sourceIndex:r.sourceIndex,sourcePosition:i,nameIndex:r.nameIndex}}function T(){if(void 0===a){var r=i(t.mappings),o=e.arrayFrom(r,E);void 0!==r.error?(n.log&&n.log("Encountered error while decoding sourcemap: "+r.error),a=e.emptyArray):a=o}return a}function S(n){if(void 0===m){for(var t=[],r=0,a=T();r<a.length;r++){var i=a[r];if(c(i)){var o=t[i.sourceIndex];o||(t[i.sourceIndex]=o=[]),o.push(i)}}m=t.map((function(n){return e.sortAndDeduplicate(n,u,l)}))}return m[n]}function L(){if(void 0===s){for(var n=[],t=0,r=T();t<r.length;t++){var a=r[t];n.push(a)}s=e.sortAndDeduplicate(n,d,l)}return s}},e.identitySourceMapConsumer={getSourcePosition:e.identity,getGeneratedPosition:e.identity}}(p||(p={})),function(e){function n(n){return(n=e.getOriginalNode(n))?e.getNodeId(n):0}function t(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function r(n){if(e.getNamespaceDeclarationNode(n))return!0;var r=n.importClause&&n.importClause.namedBindings;if(!r)return!1;if(!e.isNamedImports(r))return!1;for(var a=0,i=0,o=r.elements;i<o.length;i++){t(o[i])&&a++}return a>0&&a!==r.elements.length||!!(r.elements.length-a)&&e.isDefaultImport(n)}function a(n){return!r(n)&&(e.isDefaultImport(n)||!!n.importClause&&e.isNamedImports(n.importClause.namedBindings)&&function(n){return!!n&&(!!e.isNamedImports(n)&&e.some(n.elements,t))}(n.importClause.namedBindings))}function i(n,t,r){if(e.isBindingPattern(n.name))for(var a=0,o=n.name.elements;a<o.length;a++){var s=o[a];e.isOmittedExpression(s)||(r=i(s,t,r))}else if(!e.isGeneratedIdentifier(n.name)){var c=e.idText(n.name);t.get(c)||(t.set(c,!0),r=e.append(r,n.name))}return r}function o(e,n,t){var r=e[n];return r?r.push(t):e[n]=r=[t],r}function s(n){return e.isStringLiteralLike(n)||8===n.kind||e.isKeyword(n.kind)||e.isIdentifier(n)}e.getOriginalNodeId=n,e.chainBundle=function(n,t){return function(r){return 294===r.kind?t(r):function(r){return n.factory.createBundle(e.map(r.sourceFiles,t),r.prepends)}(r)}},e.getExportNeedsImportStarHelper=function(n){return!!e.getNamespaceDeclarationNode(n)},e.getImportNeedsImportStarHelper=r,e.getImportNeedsImportDefaultHelper=a,e.collectExternalModuleInfo=function(t,s,c,l){for(var u,d,p=[],f=e.createMultiMap(),m=[],_=new e.Map,g=!1,y=!1,h=!1,v=!1,b=0,E=s.statements;b<E.length;b++){var T=E[b];switch(T.kind){case 258:p.push(T),!h&&r(T)&&(h=!0),!v&&a(T)&&(v=!0);break;case 257:269===T.moduleReference.kind&&p.push(T);break;case 264:if(T.moduleSpecifier)if(T.exportClause)if(p.push(T),e.isNamedExports(T.exportClause))C(T);else{var S=T.exportClause.name;_.get(e.idText(S))||(o(m,n(T),S),_.set(e.idText(S),!0),u=e.append(u,S)),h=!0}else p.push(T),y=!0;else C(T);break;case 263:T.isExportEquals&&!d&&(d=T);break;case 229:if(e.hasSyntacticModifier(T,1))for(var L=0,x=T.declarationList.declarations;L<x.length;L++){var A=x[L];u=i(A,_,u)}break;case 248:if(e.hasSyntacticModifier(T,1))if(e.hasSyntacticModifier(T,512))g||(o(m,n(T),t.factory.getDeclarationName(T)),g=!0);else{S=T.name;_.get(e.idText(S))||(o(m,n(T),S),_.set(e.idText(S),!0),u=e.append(u,S))}break;case 249:if(e.hasSyntacticModifier(T,1))if(e.hasSyntacticModifier(T,512))g||(o(m,n(T),t.factory.getDeclarationName(T)),g=!0);else(S=T.name)&&!_.get(e.idText(S))&&(o(m,n(T),S),_.set(e.idText(S),!0),u=e.append(u,S))}}var D=e.createExternalHelpersImportDeclarationIfNeeded(t.factory,t.getEmitHelperFactory(),s,l,y,h,v);return D&&p.unshift(D),{externalImports:p,exportSpecifiers:f,exportEquals:d,hasExportStarsToExportValues:y,exportedBindings:m,exportedNames:u,externalHelpersImportDeclaration:D};function C(t){for(var r=0,a=e.cast(t.exportClause,e.isNamedExports).elements;r<a.length;r++){var i=a[r];if(!_.get(e.idText(i.name))){var s=i.propertyName||i.name;t.moduleSpecifier||f.add(e.idText(s),i);var l=c.getReferencedImportDeclaration(s)||c.getReferencedValueDeclaration(s);l&&o(m,n(l),i.name),_.set(e.idText(i.name),!0),u=e.append(u,i.name)}}}},e.isSimpleCopiableExpression=s,e.isSimpleInlineableExpression=function(n){return!e.isIdentifier(n)&&s(n)||e.isWellKnownSymbolSyntactically(n)},e.isCompoundAssignment=function(e){return e>=63&&e<=77},e.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 77:return 52;case 74:return 56;case 75:return 55;case 76:return 60}},e.addPrologueDirectivesAndInitialSuperCall=function(n,t,r,a){if(t.body){var i=t.body.statements,o=n.copyPrologue(i,r,!1,a);if(o===i.length)return o;var s=e.findIndex(i,(function(n){return e.isExpressionStatement(n)&&e.isSuperCall(n.expression)}),o);if(s>-1){for(var c=o;c<=s;c++)r.push(e.visitNode(i[c],a,e.isStatement));return s+1}return o}return 0},e.getProperties=function(n,t,r){return e.filter(n.members,(function(n){return function(n,t,r){return e.isPropertyDeclaration(n)&&(!!n.initializer||!t)&&e.hasStaticModifier(n)===r}(n,t,r)}))},e.isInitializedProperty=function(e){return 162===e.kind&&void 0!==e.initializer}}(p||(p={})),function(e){function n(t,r){var a=e.getTargetOfBindingOrAssignmentElement(t);return e.isBindingOrAssignmentPattern(a)?function(t,r){for(var a=e.getElementsOfBindingOrAssignmentPattern(t),i=0,o=a;i<o.length;i++){if(n(o[i],r))return!0}return!1}(a,r):!!e.isIdentifier(a)&&a.escapedText===r}function t(n){var r=e.tryGetPropertyNameOfBindingOrAssignmentElement(n);if(r&&e.isComputedPropertyName(r)&&!e.isLiteralExpression(r.expression))return!0;var a,i=e.getTargetOfBindingOrAssignmentElement(n);return!!i&&e.isBindingOrAssignmentPattern(i)&&(a=i,!!e.forEach(e.getElementsOfBindingOrAssignmentPattern(a),t))}function r(n,t,o,s,c){if(!c){var l=e.visitNode(e.getInitializerOfBindingOrAssignmentElement(t),n.visitor,e.isExpression);l?o=o?function(e,n,t,r){return n=i(e,n,!0,r),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(n,"undefined"),void 0,t,void 0,n)}(n,o,l,s):l:o||(o=n.context.factory.createVoidZero())}var u=e.getTargetOfBindingOrAssignmentElement(t);e.isObjectBindingOrAssignmentPattern(u)?function(n,t,o,s,c){var l,u,d=e.getElementsOfBindingOrAssignmentPattern(o),p=d.length;if(1!==p){var f=!e.isDeclarationBindingElement(t)||0!==p;s=i(n,s,f,c)}for(var m=0;m<p;m++){var _=d[m];if(e.getRestIndicatorOfBindingOrAssignmentElement(_)){if(m===p-1){l&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),s,c,o),l=void 0);y=n.context.getEmitHelperFactory().createRestHelper(s,d,u,o);r(n,_,y,_)}}else{var g=e.getPropertyNameOfBindingOrAssignmentElement(_);if(!(n.level>=1)||24576&_.transformFlags||24576&e.getTargetOfBindingOrAssignmentElement(_).transformFlags||e.isComputedPropertyName(g)){l&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),s,c,o),l=void 0);var y=a(n,s,g);e.isComputedPropertyName(g)&&(u=e.append(u,y.argumentExpression)),r(n,_,y,_)}else l=e.append(l,e.visitNode(_,n.visitor))}}l&&n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),s,c,o)}(n,t,u,o,s):e.isArrayBindingOrAssignmentPattern(u)?function(n,t,a,o,s){var c,l,u=e.getElementsOfBindingOrAssignmentPattern(a),d=u.length;if(n.level<1&&n.downlevelIteration)o=i(n,e.setTextRange(n.context.getEmitHelperFactory().createReadHelper(o,d>0&&e.getRestIndicatorOfBindingOrAssignmentElement(u[d-1])?void 0:d),s),!1,s);else if(1!==d&&(n.level<1||0===d)||e.every(u,e.isOmittedExpression)){var p=!e.isDeclarationBindingElement(t)||0!==d;o=i(n,o,p,s)}for(var f=0;f<d;f++){var m=u[f];if(n.level>=1)if(16384&m.transformFlags){var _=n.context.factory.createTempVariable(void 0);n.hoistTempVariables&&n.context.hoistVariableDeclaration(_),l=e.append(l,[_,m]),c=e.append(c,n.createArrayBindingOrAssignmentElement(_))}else c=e.append(c,m);else{if(e.isOmittedExpression(m))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(m)){if(f===d-1){g=n.context.factory.createArraySliceCall(o,f);r(n,m,g,m)}}else{var g=n.context.factory.createElementAccessExpression(o,f);r(n,m,g,m)}}}c&&n.emitBindingOrAssignment(n.createArrayBindingOrAssignmentPattern(c),o,s,a);if(l)for(var y=0,h=l;y<h.length;y++){var v=h[y],b=v[0];m=v[1];r(n,m,b,m)}}(n,t,u,o,s):n.emitBindingOrAssignment(u,o,s,t)}function a(n,t,r){if(e.isComputedPropertyName(r)){var a=i(n,e.visitNode(r.expression,n.visitor),!1,r);return n.context.factory.createElementAccessExpression(t,a)}if(e.isStringOrNumericLiteralLike(r)){a=e.factory.cloneNode(r);return n.context.factory.createElementAccessExpression(t,a)}var o=n.context.factory.createIdentifier(e.idText(r));return n.context.factory.createPropertyAccessExpression(t,o)}function i(n,t,r,a){if(e.isIdentifier(t)&&r)return t;var i=n.context.factory.createTempVariable(void 0);return n.hoistTempVariables?(n.context.hoistVariableDeclaration(i),n.emitExpression(e.setTextRange(n.context.factory.createAssignment(i,t),a))):n.emitBindingOrAssignment(i,t,a,void 0),i}function o(e){return e}!function(e){e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest"}(e.FlattenLevel||(e.FlattenLevel={})),e.flattenDestructuringAssignment=function(a,s,c,l,u,d){var p,f,m=a;if(e.isDestructuringAssignment(a))for(p=a.right;e.isEmptyArrayLiteral(a.left)||e.isEmptyObjectLiteral(a.left);){if(!e.isDestructuringAssignment(p))return e.visitNode(p,s,e.isExpression);m=a=p,p=a.right}var _={context:c,level:l,downlevelIteration:!!c.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:g,emitBindingOrAssignment:function(n,t,r,a){e.Debug.assertNode(n,d?e.isIdentifier:e.isExpression);var i=d?d(n,t,r):e.setTextRange(c.factory.createAssignment(e.visitNode(n,s,e.isExpression),t),r);i.original=a,g(i)},createArrayBindingOrAssignmentPattern:function(n){return function(n,t){return n.createArrayLiteralExpression(e.map(t,n.converters.convertToArrayAssignmentElement))}(c.factory,n)},createObjectBindingOrAssignmentPattern:function(n){return function(n,t){return n.createObjectLiteralExpression(e.map(t,n.converters.convertToObjectAssignmentElement))}(c.factory,n)},createArrayBindingOrAssignmentElement:o,visitor:s};if(p&&(p=e.visitNode(p,s,e.isExpression),e.isIdentifier(p)&&n(a,p.escapedText)||t(a)?p=i(_,p,!1,m):u?p=i(_,p,!0,m):e.nodeIsSynthesized(a)&&(m=p)),r(_,a,p,m,e.isDestructuringAssignment(a)),p&&u){if(!e.some(f))return p;f.push(p)}return c.factory.inlineExpressions(f)||c.factory.createOmittedExpression();function g(n){f=e.append(f,n)}},e.flattenDestructuringBinding=function(a,o,s,c,l,u,d){var p;void 0===u&&(u=!1);var f=[],m=[],_={context:s,level:c,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:u,emitExpression:function(n){p=e.append(p,n)},emitBindingOrAssignment:C,createArrayBindingOrAssignmentPattern:function(n){return function(n,t){return e.Debug.assertEachNode(t,e.isArrayBindingElement),n.createArrayBindingPattern(t)}(s.factory,n)},createObjectBindingOrAssignmentPattern:function(n){return function(n,t){return e.Debug.assertEachNode(t,e.isBindingElement),n.createObjectBindingPattern(t)}(s.factory,n)},createArrayBindingOrAssignmentElement:function(e){return function(e,n){return e.createBindingElement(void 0,void 0,n)}(s.factory,e)},visitor:o};if(e.isVariableDeclaration(a)){var g=e.getInitializerOfBindingOrAssignmentElement(a);g&&(e.isIdentifier(g)&&n(a,g.escapedText)||t(a))&&(g=i(_,g,!1,g),a=s.factory.updateVariableDeclaration(a,a.name,void 0,void 0,g))}if(r(_,a,l,a,d),p){var y=s.factory.createTempVariable(void 0);if(u){var h=s.factory.inlineExpressions(p);p=void 0,C(y,h,void 0,void 0)}else{s.hoistVariableDeclaration(y);var v=e.last(f);v.pendingExpressions=e.append(v.pendingExpressions,s.factory.createAssignment(y,v.value)),e.addRange(v.pendingExpressions,p),v.value=y}}for(var b=0,E=f;b<E.length;b++){var T=E[b],S=T.pendingExpressions,L=T.name,x=(h=T.value,T.location),A=T.original,D=s.factory.createVariableDeclaration(L,void 0,void 0,S?s.factory.inlineExpressions(e.append(S,h)):h);D.original=A,e.setTextRange(D,x),m.push(D)}return m;function C(n,t,r,a){e.Debug.assertNode(n,e.isBindingName),p&&(t=s.factory.inlineExpressions(e.append(p,t)),p=void 0),f.push({pendingExpressions:p,name:n,value:t,location:r,original:a})}}}(p||(p={})),function(e){var n;function t(n){return n.templateFlags?e.factory.createVoidZero():e.factory.createStringLiteral(n.text)}function r(n,t){var r=n.rawText;if(void 0===r){r=e.getSourceTextOfNodeFromSourceFile(t,n);var a=14===n.kind||17===n.kind;r=r.substring(1,r.length-(a?1:2))}return r=r.replace(/\r\n?/g,"\n"),e.setTextRange(e.factory.createStringLiteral(r),n)}!function(e){e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All"}(n=e.ProcessLevel||(e.ProcessLevel={})),e.processTaggedTemplateExpression=function(a,i,o,s,c,l){var u=e.visitNode(i.tag,o,e.isExpression),d=[void 0],p=[],f=[],m=i.template;if(l===n.LiftRestriction&&!e.hasInvalidEscape(m))return e.visitEachChild(i,o,a);if(e.isNoSubstitutionTemplateLiteral(m))p.push(t(m)),f.push(r(m,s));else{p.push(t(m.head)),f.push(r(m.head,s));for(var _=0,g=m.templateSpans;_<g.length;_++){var y=g[_];p.push(t(y.literal)),f.push(r(y.literal,s)),d.push(e.visitNode(y.expression,o,e.isExpression))}}var h=a.getEmitHelperFactory().createTemplateObjectHelper(e.factory.createArrayLiteralExpression(p),e.factory.createArrayLiteralExpression(f));if(e.isExternalModule(s)){var v=e.factory.createUniqueName("templateObject");c(v),d[0]=e.factory.createLogicalOr(v,e.factory.createAssignment(v,h))}else d[0]=h;return e.factory.createCallExpression(u,void 0,d)}}(p||(p={})),function(e){var n,t;!function(e){e[e.ClassAliases=1]="ClassAliases",e[e.NamespaceExports=2]="NamespaceExports",e[e.NonQualifiedEnumMembers=8]="NonQualifiedEnumMembers"}(n||(n={})),function(e){e[e.None=0]="None",e[e.HasStaticInitializedProperties=1]="HasStaticInitializedProperties",e[e.HasConstructorDecorators=2]="HasConstructorDecorators",e[e.HasMemberDecorators=4]="HasMemberDecorators",e[e.IsExportOfNamespace=8]="IsExportOfNamespace",e[e.IsNamedExternalExport=16]="IsNamedExternalExport",e[e.IsDefaultExternalExport=32]="IsDefaultExternalExport",e[e.IsDerivedClass=64]="IsDerivedClass",e[e.UseImmediatelyInvokedFunctionExpression=128]="UseImmediatelyInvokedFunctionExpression",e[e.HasAnyDecorators=6]="HasAnyDecorators",e[e.NeedsName=5]="NeedsName",e[e.MayNeedImmediatelyInvokedFunctionExpression=7]="MayNeedImmediatelyInvokedFunctionExpression",e[e.IsExported=56]="IsExported"}(t||(t={})),e.transformTypeScript=function(n){var t,r,a,i,o,s,c,l,u,d,p=n.factory,f=n.getEmitHelperFactory,m=n.startLexicalEnvironment,_=n.resumeLexicalEnvironment,g=n.endLexicalEnvironment,y=n.hoistVariableDeclaration,h=n.getEmitResolver(),v=n.getCompilerOptions(),b=e.getStrictOptionValue(v,"strictNullChecks"),E=e.getEmitScriptTarget(v),T=e.getEmitModuleKind(v),S=n.onEmitNode,L=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){var i=d,o=t;e.isSourceFile(r)&&(t=r);2&l&&function(n){return 253===e.getOriginalNode(n).kind}(r)&&(d|=2);8&l&&function(n){return 252===e.getOriginalNode(n).kind}(r)&&(d|=8);S(n,r,a),d=i,t=o},n.onSubstituteNode=function(n,t){if(t=L(n,t),1===n)return function(n){switch(n.kind){case 78:return function(n){return function(n){if(1&l&&33554432&h.getNodeCheckFlags(n)){var t=h.getReferencedValueDeclaration(n);if(t){var r=u[t.id];if(r){var a=p.cloneNode(r);return e.setSourceMapRange(a,n),e.setCommentRange(a,n),a}}}return}(n)||Ge(n)||n}(n);case 198:case 199:return function(e){return Be(e)}(n)}return n}(t);if(e.isShorthandPropertyAssignment(t))return function(n){if(2&l){var t=n.name,r=Ge(t);if(r){if(n.objectAssignmentInitializer){var a=p.createAssignment(r,n.objectAssignmentInitializer);return e.setTextRange(p.createPropertyAssignment(t,a),n)}return e.setTextRange(p.createPropertyAssignment(t,r),n)}}return n}(t);return t},n.enableSubstitution(198),n.enableSubstitution(199),function(n){if(295===n.kind)return function(n){return p.createBundle(n.sourceFiles.map(x),e.mapDefined(n.prepends,(function(n){return 297===n.kind?e.createUnparsedSourceFile(n,"js"):n})))}(n);return x(n)};function x(r){if(r.isDeclarationFile)return r;t=r;var a=A(r,F);return e.addEmitHelpers(a,n.readEmitHelpers()),t=void 0,a}function A(n,t){var r=i,a=o,l=s,u=c;!function(n){switch(n.kind){case 294:case 255:case 254:case 227:i=n,o=void 0,s=void 0;break;case 249:case 248:if(e.hasSyntacticModifier(n,2))break;n.name?ve(n):e.Debug.assert(249===n.kind||e.hasSyntacticModifier(n,512)),e.isClassDeclaration(n)&&(o=n)}}(n);var d=t(n);return i!==r&&(s=l),i=r,o=a,c=u,d}function D(e){return A(e,C)}function C(e){return 1&e.transformFlags?w(e):e}function I(e){return A(e,N)}function N(t){switch(t.kind){case 258:case 257:case 263:case 264:return function(t){if(e.getParseTreeNode(t)!==t)return 1&t.transformFlags?e.visitEachChild(t,D,n):t;switch(t.kind){case 258:return function(n){if(!n.importClause)return n;if(n.importClause.isTypeOnly)return;var t=e.visitNode(n.importClause,Se,e.isImportClause);return t||1===v.importsNotUsedAsValues||2===v.importsNotUsedAsValues?p.updateImportDeclaration(n,void 0,void 0,t,n.moduleSpecifier):void 0}(t);case 257:return Ce(t);case 263:return function(t){return h.isValueAliasDeclaration(t)?e.visitEachChild(t,D,n):void 0}(t);case 264:return function(n){if(n.isTypeOnly)return;if(!n.exportClause||e.isNamespaceExport(n.exportClause))return n;if(!h.isValueAliasDeclaration(n))return;var t=e.visitNode(n.exportClause,Ae,e.isNamedExportBindings);return t?p.updateExportDeclaration(n,void 0,void 0,n.isTypeOnly,t,n.moduleSpecifier):void 0}(t);default:e.Debug.fail("Unhandled ellided statement")}}(t);default:return C(t)}}function R(e){return A(e,k)}function k(n){if(264!==n.kind&&258!==n.kind&&259!==n.kind&&(257!==n.kind||269!==n.moduleReference.kind))return 1&n.transformFlags||e.hasSyntacticModifier(n,1)?w(n):n}function O(e){return A(e,P)}function P(n){switch(n.kind){case 165:return fe(n);case 162:return pe(n);case 170:case 166:case 167:case 164:return C(n);case 226:return n;default:return e.Debug.failBadSyntaxKind(n)}}function M(n){if(!(2270&e.modifierToFlag(n.kind)||r&&92===n.kind))return n}function w(o){if(e.isStatement(o)&&e.hasSyntacticModifier(o,2))return p.createNotEmittedStatement(o);switch(o.kind){case 92:case 87:return r?void 0:o;case 122:case 120:case 121:case 125:case 84:case 133:case 141:case 177:case 178:case 179:case 180:case 176:case 171:case 158:case 128:case 151:case 131:case 146:case 143:case 140:case 113:case 147:case 174:case 173:case 175:case 172:case 181:case 182:case 183:case 185:case 186:case 187:case 188:case 189:case 190:case 170:case 160:case 251:return;case 162:return pe(o);case 256:return;case 165:return fe(o);case 250:return p.createNotEmittedStatement(o);case 249:return function(a){if(!(U(a)||r&&e.hasSyntacticModifier(a,1)))return e.visitEachChild(a,D,n);var i=e.getProperties(a,!0,!0),o=function(n,t){var r=0;e.some(t)&&(r|=1);var a=e.getEffectiveBaseTypeNode(n);a&&103!==e.skipOuterExpressions(a.expression).kind&&(r|=64);(function(n){if(n.decorators&&n.decorators.length>0)return!0;var t=e.getFirstConstructorWithBody(n);if(t)return e.forEach(t.parameters,G);return!1})(n)&&(r|=2);e.childIsDecorated(n)&&(r|=4);Ie(n)?r|=8:!function(n){return Ne(n)&&e.hasSyntacticModifier(n,512)}(n)?Re(n)&&(r|=16):r|=32;E<=1&&7&r&&(r|=128);return r}(a,i);128&o&&n.startLexicalEnvironment();var s=a.name||(5&o?p.getGeneratedNameForNode(a):void 0),c=2&o?function(t,r){var a=e.moveRangePastDecorators(t),i=function(t){if(16777216&h.getNodeCheckFlags(t)){0==(1&l)&&(l|=1,n.enableSubstitution(78),u=[]);var r=p.createUniqueName(t.name&&!e.isGeneratedIdentifier(t.name)?e.idText(t.name):"default");return u[e.getOriginalNodeId(t)]=r,y(r),r}}(t),o=p.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,D,e.isHeritageClause),c=V(t),d=p.createClassExpression(void 0,void 0,r,void 0,s,c);e.setOriginalNode(d,t),e.setTextRange(d,a);var f=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(o,void 0,void 0,i?p.createAssignment(i,d):d)],1));return e.setOriginalNode(f,t),e.setTextRange(f,a),e.setCommentRange(f,t),f}(a,s):function(n,t,r){var a=128&r?void 0:e.visitNodes(n.modifiers,M,e.isModifier),i=p.createClassDeclaration(void 0,a,t,void 0,e.visitNodes(n.heritageClauses,D,e.isHeritageClause),V(n)),o=e.getEmitFlags(n);1&r&&(o|=32);return e.setTextRange(i,n),e.setOriginalNode(i,n),e.setEmitFlags(i,o),i}(a,s,o),d=[c];if(z(d,a,!1),z(d,a,!0),function(n,t){var r=function(n){var t=function(n){var t=n.decorators,r=H(e.getFirstConstructorWithBody(n));if(!t&&!r)return;return{decorators:t,parameters:r}}(n),r=q(n,n,t);if(!r)return;var a=u&&u[e.getOriginalNodeId(n)],i=p.getLocalName(n,!1,!0),o=f().createDecorateHelper(r,i),s=p.createAssignment(i,a?p.createAssignment(a,o):o);return e.setEmitFlags(s,1536),e.setSourceMapRange(s,e.moveRangePastDecorators(n)),s}(t);r&&n.push(e.setOriginalNode(p.createExpressionStatement(r),t))}(d,a),128&o){var m=e.createTokenRange(e.skipTrivia(t.text,a.members.end),19),_=p.getInternalName(a),g=p.createPartiallyEmittedExpression(_);e.setTextRangeEnd(g,m.end),e.setEmitFlags(g,1536);var v=p.createReturnStatement(g);e.setTextRangePos(v,m.pos),e.setEmitFlags(v,1920),d.push(v),e.insertStatementsAfterStandardPrologue(d,n.endLexicalEnvironment());var b=p.createImmediatelyInvokedArrowFunction(d);e.setEmitFlags(b,33554432);var T=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(a,!1,!1),void 0,void 0,b)]));e.setOriginalNode(T,a),e.setCommentRange(T,a),e.setSourceMapRange(T,e.moveRangePastDecorators(a)),e.startOnNewLine(T),d=[T]}8&o?Oe(d,a):(128&o||2&o)&&(32&o?d.push(p.createExportDefault(p.getLocalName(a,!1,!0))):16&o&&d.push(p.createExternalModuleExport(p.getLocalName(a,!1,!0))));d.length>1&&(d.push(p.createEndOfDeclarationMarker(a)),e.setEmitFlags(c,4194304|e.getEmitFlags(c)));return e.singleOrMany(d)}(o);case 218:return function(t){if(!U(t))return e.visitEachChild(t,D,n);var r=p.createClassExpression(void 0,void 0,t.name,void 0,e.visitNodes(t.heritageClauses,D,e.isHeritageClause),V(t));return e.setOriginalNode(r,t),e.setTextRange(r,t),r}(o);case 283:return function(t){if(116===t.token)return;return e.visitEachChild(t,D,n)}(o);case 220:return function(n){return p.updateExpressionWithTypeArguments(n,e.visitNode(n.expression,D,e.isLeftHandSideExpression),void 0)}(o);case 164:return function(t){if(!de(t))return;var r=p.updateMethodDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,ue(t),void 0,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 166:return function(t){if(!_e(t))return;var r=p.updateGetAccessorDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),ue(t),e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||p.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 167:return function(t){if(!_e(t))return;var r=p.updateSetAccessorDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),ue(t),e.visitParameterList(t.parameters,D,n),e.visitFunctionBody(t.body,D,n)||p.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 248:return function(t){if(!de(t))return p.createNotEmittedStatement(t);var r=p.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||p.createBlock([]));if(Ie(t)){var a=[r];return Oe(a,t),a}return r}(o);case 205:return function(t){if(!de(t))return p.createOmittedExpression();return p.updateFunctionExpression(t,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||p.createBlock([]))}(o);case 206:return function(t){return p.updateArrowFunction(t,e.visitNodes(t.modifiers,M,e.isModifier),void 0,e.visitParameterList(t.parameters,D,n),void 0,t.equalsGreaterThanToken,e.visitFunctionBody(t.body,D,n))}(o);case 159:return function(n){if(e.parameterIsThisKeyword(n))return;var t=p.updateParameterDeclaration(n,void 0,void 0,n.dotDotDotToken,e.visitNode(n.name,D,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,D,e.isExpression));t!==n&&(e.setCommentRange(t,n),e.setTextRange(t,e.moveRangePastModifiers(n)),e.setSourceMapRange(t,e.moveRangePastModifiers(n)),e.setEmitFlags(t.name,32));return t}(o);case 204:return function(r){var a=e.skipOuterExpressions(r.expression,-7);if(e.isAssertionExpression(a)){var i=e.visitNode(r.expression,D,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(i,t))?p.updateParenthesizedExpression(r,i):p.createPartiallyEmittedExpression(i,r)}return e.visitEachChild(r,D,n)}(o);case 203:case 221:return function(n){var t=e.visitNode(n.expression,D,e.isExpression);return p.createPartiallyEmittedExpression(t,n)}(o);case 200:return function(n){return p.updateCallExpression(n,e.visitNode(n.expression,D,e.isExpression),void 0,e.visitNodes(n.arguments,D,e.isExpression))}(o);case 201:return function(n){return p.updateNewExpression(n,e.visitNode(n.expression,D,e.isExpression),void 0,e.visitNodes(n.arguments,D,e.isExpression))}(o);case 202:return function(n){return p.updateTaggedTemplateExpression(n,e.visitNode(n.tag,D,e.isExpression),void 0,e.visitNode(n.template,D,e.isExpression))}(o);case 222:return function(n){var t=e.visitNode(n.expression,D,e.isLeftHandSideExpression);return p.createPartiallyEmittedExpression(t,n)}(o);case 252:return function(n){if(!function(n){return!e.isEnumConst(n)||v.preserveConstEnums||v.isolatedModules}(n))return p.createNotEmittedStatement(n);var r=[],o=2,s=Ee(r,n);s&&(T===e.ModuleKind.System&&i===t||(o|=512));var c=we(n),l=Fe(n),u=e.hasSyntacticModifier(n,1)?p.getExternalModuleOrNamespaceExportName(a,n,!1,!0):p.getLocalName(n,!1,!0),d=p.createLogicalOr(u,p.createAssignment(u,p.createObjectLiteralExpression()));if(he(n)){var f=p.getLocalName(n,!1,!0);d=p.createAssignment(f,d)}var _=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,c)],void 0,function(n,t){var r=a;a=t;var i=[];m();var o=e.map(n.members,ye);return e.insertStatementsAfterStandardPrologue(i,g()),e.addRange(i,o),a=r,p.createBlock(e.setTextRange(p.createNodeArray(i),n.members),!0)}(n,l)),void 0,[d]));e.setOriginalNode(_,n),s&&(e.setSyntheticLeadingComments(_,void 0),e.setSyntheticTrailingComments(_,void 0));return e.setTextRange(_,n),e.addEmitFlags(_,o),r.push(_),r.push(p.createEndOfDeclarationMarker(n)),r}(o);case 229:return function(t){if(Ie(t)){var r=e.getInitializedVariables(t.declarationList);if(0===r.length)return;return e.setTextRange(p.createExpressionStatement(p.inlineExpressions(e.map(r,ge))),t)}return e.visitEachChild(t,D,n)}(o);case 246:return function(n){return p.updateVariableDeclaration(n,e.visitNode(n.name,D,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,D,e.isExpression))}(o);case 253:return Te(o);case 257:return Ce(o);case 271:return function(n){return p.updateJsxSelfClosingElement(n,e.visitNode(n.tagName,D,e.isJsxTagNameExpression),void 0,e.visitNode(n.attributes,D,e.isJsxAttributes))}(o);case 272:return function(n){return p.updateJsxOpeningElement(n,e.visitNode(n.tagName,D,e.isJsxTagNameExpression),void 0,e.visitNode(n.attributes,D,e.isJsxAttributes))}(o);default:return e.visitEachChild(o,D,n)}}function F(t){var r=e.getStrictOptionValue(v,"alwaysStrict")&&!(e.isExternalModule(t)&&T>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return p.updateSourceFile(t,e.visitLexicalEnvironment(t.statements,I,n,0,r))}function G(e){return void 0!==e.decorators&&e.decorators.length>0}function B(e){return!!(2048&e.transformFlags)}function U(n){return e.some(n.decorators)||e.some(n.typeParameters)||e.some(n.heritageClauses,B)||e.some(n.members,B)}function V(n){var t=[],r=e.getFirstConstructorWithBody(n),a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(a)for(var i=0,o=a;i<o.length;i++){var s=o[i];e.isIdentifier(s.name)&&t.push(e.setOriginalNode(p.createPropertyDeclaration(void 0,void 0,s.name,void 0,void 0,void 0),s))}return e.addRange(t,e.visitNodes(n.members,O,e.isClassElement)),e.setTextRange(p.createNodeArray(t),n.members)}function j(n,t){return e.filter(n.members,t?function(e){return K(e,!0,n)}:function(e){return K(e,!1,n)})}function K(n,t,r){return e.nodeOrChildIsDecorated(n,r)&&t===e.hasSyntacticModifier(n,32)}function H(n){var t;if(n)for(var r=n.parameters,a=r.length>0&&e.parameterIsThisKeyword(r[0]),i=a?1:0,o=a?r.length-1:r.length,s=0;s<o;s++){var c=r[s+i];(t||c.decorators)&&(t||(t=new Array(o)),t[s]=c.decorators)}return t}function W(n,t){switch(t.kind){case 166:case 167:return function(n,t){if(!t.body)return;var r=e.getAllAccessorDeclarations(n.members,t),a=r.firstAccessor,i=r.secondAccessor,o=r.setAccessor,s=a.decorators?a:i&&i.decorators?i:void 0;if(!s||t!==s)return;var c=s.decorators,l=H(o);if(!c&&!l)return;return{decorators:c,parameters:l}}(n,t);case 164:return function(e){if(!e.body)return;var n=e.decorators,t=H(e);if(!n&&!t)return;return{decorators:n,parameters:t}}(t);case 162:return function(e){var n=e.decorators;if(!n)return;return{decorators:n}}(t);default:return}}function q(n,t,r){if(r){var a=[];return e.addRange(a,e.map(r.decorators,X)),e.addRange(a,e.flatMap(r.parameters,Y)),function(e,n,t){(function(e,n,t){v.emitDecoratorMetadata&&(Q(e)&&t.push(f().createMetadataHelper("design:type",ee(e))),$(e)&&t.push(f().createMetadataHelper("design:paramtypes",ne(e,n))),Z(e)&&t.push(f().createMetadataHelper("design:returntype",te(e))))})(e,n,t)}(n,t,a),a}}function z(n,t,r){e.addRange(n,e.map(function(e,n){for(var t,r=j(e,n),a=0,i=r;a<i.length;a++){var o=i[a],s=J(e,o);s&&(t?t.push(s):t=[s])}return t}(t,r),ke))}function J(n,t){var r=q(t,n,W(n,t));if(r){var a=function(n,t){return e.hasSyntacticModifier(t,32)?p.getDeclarationName(n):function(e){return p.createPropertyAccessExpression(p.getDeclarationName(e),"prototype")}(n)}(n,t),i=le(t,!0),o=E>0?162===t.kind?p.createVoidZero():p.createNull():void 0,s=f().createDecorateHelper(r,a,i,o);return e.setTextRange(s,e.moveRangePastDecorators(t)),e.setEmitFlags(s,1536),s}}function X(n){return e.visitNode(n.expression,D,e.isExpression)}function Y(n,t){var r;if(n){r=[];for(var a=0,i=n;a<i.length;a++){var o=i[a],s=f().createParamHelper(X(o),t);e.setTextRange(s,o.expression),e.setEmitFlags(s,1536),r.push(s)}}return r}function Q(e){var n=e.kind;return 164===n||166===n||167===n||162===n}function Z(e){return 164===e.kind}function $(n){switch(n.kind){case 249:case 218:return void 0!==e.getFirstConstructorWithBody(n);case 164:case 166:case 167:return!0}return!1}function ee(n){switch(n.kind){case 162:case 159:return re(n.type);case 167:case 166:return re(function(n){var t=h.getAllAccessorDeclarations(n);return t.setAccessor&&e.getSetAccessorTypeAnnotationNode(t.setAccessor)||t.getAccessor&&e.getEffectiveReturnTypeNode(t.getAccessor)}(n));case 249:case 218:case 164:return p.createIdentifier("Function");default:return p.createVoidZero()}}function ne(n,t){var r=e.isClassLike(n)?e.getFirstConstructorWithBody(n):e.isFunctionLike(n)&&e.nodeIsPresent(n.body)?n:void 0,a=[];if(r)for(var i=function(n,t){if(t&&166===n.kind){var r=e.getAllAccessorDeclarations(t.members,n).setAccessor;if(r)return r.parameters}return n.parameters}(r,t),o=i.length,s=0;s<o;s++){var c=i[s];0===s&&e.isIdentifier(c.name)&&"this"===c.name.escapedText||(c.dotDotDotToken?a.push(re(e.getRestParameterElementType(c.type))):a.push(ee(c)))}return p.createArrayLiteralExpression(a)}function te(n){return e.isFunctionLike(n)&&n.type?re(n.type):e.isAsyncFunction(n)?p.createIdentifier("Promise"):p.createVoidZero()}function re(n){if(void 0===n)return p.createIdentifier("Object");switch(n.kind){case 113:case 149:case 140:return p.createVoidZero();case 185:return re(n.type);case 173:case 174:return p.createIdentifier("Function");case 177:case 178:return p.createIdentifier("Array");case 171:case 131:return p.createIdentifier("Boolean");case 146:return p.createIdentifier("String");case 144:return p.createIdentifier("Object");case 190:switch(n.literal.kind){case 10:case 14:return p.createIdentifier("String");case 211:case 8:return p.createIdentifier("Number");case 9:return ce();case 109:case 94:return p.createIdentifier("Boolean");case 103:return p.createVoidZero();default:return e.Debug.failBadSyntaxKind(n.literal)}case 143:return p.createIdentifier("Number");case 154:return ce();case 147:return E<2?se():p.createIdentifier("Symbol");case 172:return function(n){var t=h.getTypeReferenceSerializationKind(n.typeName,o||i);switch(t){case e.TypeReferenceSerializationKind.Unknown:if(e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&(n.parent.trueType===n||n.parent.falseType===n)})))return p.createIdentifier("Object");var r=function e(n){if(78===n.kind){var t=oe(n);return ie(t,t)}if(78===n.left.kind)return ie(oe(n.left),oe(n));var r=e(n.left),a=p.createTempVariable(y);return p.createLogicalAnd(p.createLogicalAnd(r.left,p.createStrictInequality(p.createAssignment(a,r.right),p.createVoidZero())),p.createPropertyAccessExpression(a,n.right))}(n.typeName),a=p.createTempVariable(y);return p.createConditionalExpression(p.createTypeCheck(p.createAssignment(a,r),"function"),void 0,a,void 0,p.createIdentifier("Object"));case e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return oe(n.typeName);case e.TypeReferenceSerializationKind.VoidNullableOrNeverType:return p.createVoidZero();case e.TypeReferenceSerializationKind.BigIntLikeType:return ce();case e.TypeReferenceSerializationKind.BooleanType:return p.createIdentifier("Boolean");case e.TypeReferenceSerializationKind.NumberLikeType:return p.createIdentifier("Number");case e.TypeReferenceSerializationKind.StringLikeType:return p.createIdentifier("String");case e.TypeReferenceSerializationKind.ArrayLikeType:return p.createIdentifier("Array");case e.TypeReferenceSerializationKind.ESSymbolType:return E<2?se():p.createIdentifier("Symbol");case e.TypeReferenceSerializationKind.TypeWithCallSignature:return p.createIdentifier("Function");case e.TypeReferenceSerializationKind.Promise:return p.createIdentifier("Promise");case e.TypeReferenceSerializationKind.ObjectType:return p.createIdentifier("Object");default:return e.Debug.assertNever(t)}}(n);case 182:case 181:return ae(n.types);case 183:return ae([n.trueType,n.falseType]);case 187:if(141===n.operator)return re(n.type);break;case 175:case 188:case 189:case 176:case 128:case 151:case 186:case 192:break;case 299:case 300:case 304:case 305:case 306:break;case 301:case 302:case 303:return re(n.type);default:return e.Debug.failBadSyntaxKind(n)}return p.createIdentifier("Object")}function ae(n){for(var t,r=0,a=n;r<a.length;r++){for(var i=a[r];185===i.kind;)i=i.type;if(140!==i.kind&&(b||(190!==i.kind||103!==i.literal.kind)&&149!==i.kind)){var o=re(i);if(e.isIdentifier(o)&&"Object"===o.escapedText)return o;if(t){if(!e.isIdentifier(t)||!e.isIdentifier(o)||t.escapedText!==o.escapedText)return p.createIdentifier("Object")}else t=o}}return t||p.createVoidZero()}function ie(e,n){return p.createLogicalAnd(p.createStrictInequality(p.createTypeOfExpression(e),p.createStringLiteral("undefined")),n)}function oe(n){switch(n.kind){case 78:var t=e.setParent(e.setTextRange(e.parseNodeFactory.cloneNode(n),n),n.parent);return t.original=void 0,e.setParent(t,e.getParseTreeNode(i)),t;case 156:return function(e){return p.createPropertyAccessExpression(oe(e.left),e.right)}(n)}}function se(){return p.createConditionalExpression(p.createTypeCheck(p.createIdentifier("Symbol"),"function"),void 0,p.createIdentifier("Symbol"),void 0,p.createIdentifier("Object"))}function ce(){return E<99?p.createConditionalExpression(p.createTypeCheck(p.createIdentifier("BigInt"),"function"),void 0,p.createIdentifier("BigInt"),void 0,p.createIdentifier("Object")):p.createIdentifier("BigInt")}function le(n,t){var r=n.name;return e.isPrivateIdentifier(r)?p.createIdentifier(""):e.isComputedPropertyName(r)?t&&!e.isSimpleInlineableExpression(r.expression)?p.getGeneratedNameForNode(r):r.expression:e.isIdentifier(r)?p.createStringLiteral(e.idText(r)):p.cloneNode(r)}function ue(n){var t=n.name;if(e.isComputedPropertyName(t)&&(!e.hasStaticModifier(n)&&c||e.some(n.decorators))){var r=e.visitNode(t.expression,D,e.isExpression),a=e.skipPartiallyEmittedExpressions(r);if(!e.isSimpleInlineableExpression(a)){var i=p.getGeneratedNameForNode(t);return y(i),p.updateComputedPropertyName(t,p.createAssignment(i,r))}}return e.visitNode(t,D,e.isPropertyName)}function de(n){return!e.nodeIsMissing(n.body)}function pe(n){if(!(8388608&n.flags)){var t=p.updatePropertyDeclaration(n,void 0,e.visitNodes(n.modifiers,D,e.isModifier),ue(n),void 0,void 0,e.visitNode(n.initializer,D));return t!==n&&(e.setCommentRange(t,n),e.setSourceMapRange(t,e.moveRangePastDecorators(n))),t}}function fe(t){if(de(t))return p.updateConstructorDeclaration(t,void 0,void 0,e.visitParameterList(t.parameters,D,n),function(t,r){var a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(!e.some(a))return e.visitFunctionBody(t,D,n);var i,o=[];_(),i=e.addPrologueDirectivesAndInitialSuperCall(p,r,o,D),e.addRange(o,e.map(a,me)),e.addRange(o,e.visitNodes(t.statements,D,e.isStatement,i)),o=p.mergeLexicalEnvironment(o,g());var s=p.createBlock(e.setTextRange(p.createNodeArray(o),t.statements),!0);return e.setTextRange(s,t),e.setOriginalNode(s,t),s}(t.body,t))}function me(n){var t=n.name;if(e.isIdentifier(t)){var r=e.setParent(e.setTextRange(p.cloneNode(t),t),t.parent);e.setEmitFlags(r,1584);var a=e.setParent(e.setTextRange(p.cloneNode(t),t),t.parent);return e.setEmitFlags(a,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(p.createExpressionStatement(p.createAssignment(e.setTextRange(p.createPropertyAccessExpression(p.createThis(),r),n.name),a)),n),e.moveRangePos(n,-1))))}}function _e(n){return!(e.nodeIsMissing(n.body)&&e.hasSyntacticModifier(n,128))}function ge(t){var r=t.name;return e.isBindingPattern(r)?e.flattenDestructuringAssignment(t,D,n,0,!1,Pe):e.setTextRange(p.createAssignment(Me(r),e.visitNode(t.initializer,D,e.isExpression)),t)}function ye(t){var r=le(t,!1),i=function(t){var r=h.getConstantValue(t);return void 0!==r?"string"==typeof r?p.createStringLiteral(r):p.createNumericLiteral(r):(0==(8&l)&&(l|=8,n.enableSubstitution(78)),t.initializer?e.visitNode(t.initializer,D,e.isExpression):p.createVoidZero())}(t),o=p.createAssignment(p.createElementAccessExpression(a,r),i),s=10===i.kind?o:p.createAssignment(p.createElementAccessExpression(a,o),r);return e.setTextRange(p.createExpressionStatement(e.setTextRange(s,t)),t)}function he(n){return Ie(n)||Ne(n)&&T!==e.ModuleKind.ES2015&&T!==e.ModuleKind.ES2020&&T!==e.ModuleKind.ESNext&&T!==e.ModuleKind.System}function ve(n){s||(s=new e.Map);var t=be(n);s.has(t)||s.set(t,n)}function be(n){return e.Debug.assertNode(n.name,e.isIdentifier),n.name.escapedText}function Ee(n,t){var r=p.createVariableStatement(e.visitNodes(t.modifiers,M,e.isModifier),p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(t,!1,!0))],294===i.kind?0:1));if(e.setOriginalNode(r,t),ve(t),function(e){if(s){var n=be(e);return s.get(n)===e}return!0}(t))return 252===t.kind?e.setSourceMapRange(r.declarationList,t):e.setSourceMapRange(r,t),e.setCommentRange(r,t),e.addEmitFlags(r,4195328),n.push(r),!0;var a=p.createMergeDeclarationMarker(r);return e.setEmitFlags(a,4195840),n.push(a),!1}function Te(o){if(!function(n){var t=e.getParseTreeNode(n,e.isModuleDeclaration);return!t||e.isInstantiatedModule(t,!!v.preserveConstEnums||!!v.isolatedModules)}(o))return p.createNotEmittedStatement(o);e.Debug.assertNode(o.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),0==(2&l)&&(l|=2,n.enableSubstitution(78),n.enableSubstitution(286),n.enableEmitNotification(253));var c=[],u=2,d=Ee(c,o);d&&(T===e.ModuleKind.System&&i===t||(u|=512));var f=we(o),_=Fe(o),y=e.hasSyntacticModifier(o,1)?p.getExternalModuleOrNamespaceExportName(a,o,!1,!0):p.getLocalName(o,!1,!0),h=p.createLogicalOr(y,p.createAssignment(y,p.createObjectLiteralExpression()));if(he(o)){var b=p.getLocalName(o,!1,!0);h=p.createAssignment(b,h)}var E=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,f)],void 0,function(n,t){var i=a,o=r,c=s;a=t,r=n,s=void 0;var l,u,d=[];if(m(),n.body)if(254===n.body.kind)A(n.body,(function(n){return e.addRange(d,e.visitNodes(n.statements,R,e.isStatement))})),l=n.body.statements,u=n.body;else{var f=Te(n.body);f&&(e.isArray(f)?e.addRange(d,f):d.push(f));var _=function e(n){if(253===n.body.kind){return e(n.body)||n.body}}(n).body;l=e.moveRangePos(_.statements,-1)}e.insertStatementsAfterStandardPrologue(d,g()),a=i,r=o,s=c;var y=p.createBlock(e.setTextRange(p.createNodeArray(d),l),!0);e.setTextRange(y,u),n.body&&254===n.body.kind||e.setEmitFlags(y,1536|e.getEmitFlags(y));return y}(o,_)),void 0,[h]));return e.setOriginalNode(E,o),d&&(e.setSyntheticLeadingComments(E,void 0),e.setSyntheticTrailingComments(E,void 0)),e.setTextRange(E,o),e.addEmitFlags(E,u),c.push(E),c.push(p.createEndOfDeclarationMarker(o)),c}function Se(n){if(!n.isTypeOnly){var t=h.isReferencedAliasDeclaration(n)?n.name:void 0,r=e.visitNode(n.namedBindings,Le,e.isNamedImportBindings);return t||r?p.updateImportClause(n,!1,t,r):void 0}}function Le(n){if(260===n.kind)return h.isReferencedAliasDeclaration(n)?n:void 0;var t=e.visitNodes(n.elements,xe,e.isImportSpecifier);return e.some(t)?p.updateNamedImports(n,t):void 0}function xe(e){return h.isReferencedAliasDeclaration(e)?e:void 0}function Ae(n){return e.isNamespaceExport(n)?function(n){return p.updateNamespaceExport(n,e.visitNode(n.name,D,e.isIdentifier))}(n):function(n){var t=e.visitNodes(n.elements,De,e.isExportSpecifier);return e.some(t)?p.updateNamedExports(n,t):void 0}(n)}function De(e){return h.isValueAliasDeclaration(e)?e:void 0}function Ce(r){if(e.isExternalModuleImportEqualsDeclaration(r)){var i=h.isReferencedAliasDeclaration(r);return i||1!==v.importsNotUsedAsValues?i?e.visitEachChild(r,D,n):void 0:e.setOriginalNode(e.setTextRange(p.createImportDeclaration(void 0,void 0,void 0,r.moduleReference.expression),r),r)}if(function(n){return h.isReferencedAliasDeclaration(n)||!e.isExternalModule(t)&&h.isTopLevelValueImportEqualsWithEntityName(n)}(r)){var o,s,c,l=e.createExpressionFromEntityName(p,r.moduleReference);return e.setEmitFlags(l,3584),Re(r)||!Ie(r)?e.setOriginalNode(e.setTextRange(p.createVariableStatement(e.visitNodes(r.modifiers,M,e.isModifier),p.createVariableDeclarationList([e.setOriginalNode(p.createVariableDeclaration(r.name,void 0,void 0,l),r)])),r),r):e.setOriginalNode((o=r.name,s=l,c=r,e.setTextRange(p.createExpressionStatement(p.createAssignment(p.getNamespaceMemberName(a,o,!1,!0),s)),c)),r)}}function Ie(n){return void 0!==r&&e.hasSyntacticModifier(n,1)}function Ne(n){return void 0===r&&e.hasSyntacticModifier(n,1)}function Re(n){return Ne(n)&&!e.hasSyntacticModifier(n,512)}function ke(e){return p.createExpressionStatement(e)}function Oe(n,t){var r=p.createAssignment(p.getExternalModuleOrNamespaceExportName(a,t,!1,!0),p.getLocalName(t));e.setSourceMapRange(r,e.createRange(t.name?t.name.pos:t.pos,t.end));var i=p.createExpressionStatement(r);e.setSourceMapRange(i,e.createRange(-1,t.end)),n.push(i)}function Pe(n,t,r){return e.setTextRange(p.createAssignment(Me(n),t),r)}function Me(e){return p.getNamespaceMemberName(a,e,!1,!0)}function we(n){var t=p.getGeneratedNameForNode(n);return e.setSourceMapRange(t,n.name),t}function Fe(e){return p.getGeneratedNameForNode(e)}function Ge(n){if(l&d&&!e.isGeneratedIdentifier(n)&&!e.isLocalName(n)){var t=h.getReferencedExportContainer(n,!1);if(t&&294!==t.kind)if(2&d&&253===t.kind||8&d&&252===t.kind)return e.setTextRange(p.createPropertyAccessExpression(p.getGeneratedNameForNode(t),n),n)}}function Be(n){var t=function(n){if(v.isolatedModules)return;return e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)?h.getConstantValue(n):void 0}(n);if(void 0!==t){e.setConstantValue(n,t);var r="string"==typeof t?p.createStringLiteral(t):p.createNumericLiteral(t);if(!v.removeComments){var a=e.getOriginalNode(n,e.isAccessExpression),i=e.isPropertyAccessExpression(a)?e.declarationNameToString(a.name):e.getTextOfNode(a.argumentExpression);e.addSyntheticTrailingComment(r,3," "+i+" ")}return r}return n}}}(p||(p={})),function(e){var n,t;!function(e){e[e.ClassAliases=1]="ClassAliases"}(n||(n={})),function(e){e[e.InstanceField=0]="InstanceField"}(t||(t={})),e.transformClassFields=function(n){var t,r,a,i,s=n.factory,c=n.hoistVariableDeclaration,l=n.endLexicalEnvironment,u=n.resumeLexicalEnvironment,d=n.getEmitResolver(),p=n.getCompilerOptions(),f=e.getEmitScriptTarget(p),m=f<99,_=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=_(n,a),1===n)return function(n){switch(n.kind){case 78:return function(n){return function(n){if(1&t&&33554432&d.getNodeCheckFlags(n)){var a=d.getReferencedValueDeclaration(n);if(a){var i=r[a.id];if(i){var o=s.cloneNode(i);return e.setSourceMapRange(o,n),e.setCommentRange(o,n),o}}}return}(n)||n}(n)}return n}(a);return a};var g,y=[];return e.chainBundle(n,(function(t){var r=n.getCompilerOptions();if(t.isDeclarationFile||r.useDefineForClassFields&&99===r.target)return t;var a=e.visitEachChild(t,h,n);return e.addEmitHelpers(a,n.readEmitHelpers()),a}));function h(l){if(!(4194304&l.transformFlags))return l;switch(l.kind){case 218:case 249:return function(o){var l=a;a=void 0,m&&(y.push(g),g=void 0);var u=e.isClassDeclaration(o)?function(t){if(!e.forEach(t.members,D))return e.visitEachChild(t,h,n);var r=e.getEffectiveBaseTypeNode(t),i=!(!r||103===e.skipOuterExpressions(r.expression).kind),o=[s.updateClassDeclaration(t,void 0,t.modifiers,t.name,void 0,e.visitNodes(t.heritageClauses,h,e.isHeritageClause),C(t,i))];e.some(a)&&o.push(s.createExpressionStatement(s.inlineExpressions(a)));var c=e.getProperties(t,!0,!0);e.some(c)&&N(o,c,s.getInternalName(t));return o}(o):function(o){if(!e.forEach(o.members,D))return e.visitEachChild(o,h,n);var l=e.isClassDeclaration(e.getOriginalNode(o)),u=e.getProperties(o,!0,!0),p=e.getEffectiveBaseTypeNode(o),f=!(!p||103===e.skipOuterExpressions(p.expression).kind),m=s.updateClassExpression(o,e.visitNodes(o.decorators,h,e.isDecorator),o.modifiers,o.name,void 0,e.visitNodes(o.heritageClauses,h,e.isHeritageClause),C(o,f));if(e.some(u)||e.some(a)){if(l)return e.Debug.assertIsDefined(i,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),i&&a&&e.some(a)&&i.push(s.createExpressionStatement(s.inlineExpressions(a))),i&&e.some(u)&&N(i,u,s.getInternalName(o)),m;var _=[],g=16777216&d.getNodeCheckFlags(o),y=s.createTempVariable(c,!!g);if(g){0==(1&t)&&(t|=1,n.enableSubstitution(78),r=[]);var v=s.cloneNode(y);v.autoGenerateFlags&=-9,r[e.getOriginalNodeId(o)]=v}return e.setEmitFlags(m,65536|e.getEmitFlags(m)),_.push(e.startOnNewLine(s.createAssignment(y,m))),e.addRange(_,e.map(a,e.startOnNewLine)),e.addRange(_,function(n,t){for(var r=[],a=0,i=n;a<i.length;a++){var o=i[a],s=R(o,t);s&&(e.startOnNewLine(s),e.setSourceMapRange(s,e.moveRangePastModifiers(o)),e.setCommentRange(s,o),e.setOriginalNode(s,o),r.push(s))}return r}(u,y)),_.push(e.startOnNewLine(y)),s.inlineExpressions(_)}return m}(o);m&&(g=y.pop());return a=l,u}(l);case 162:return T(l);case 229:return function(t){var r=i;i=[];var a=e.visitEachChild(t,h,n),s=e.some(i)?o([a],i):a;return i=r,s}(l);case 157:return E(l);case 198:return function(t){if(m&&e.isPrivateIdentifier(t.name)){var r=P(t.name);if(r)return e.setOriginalNode(S(r,t.expression),t)}return e.visitEachChild(t,h,n)}(l);case 211:return function(t){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.operand)){var r=45===t.operator?39:46===t.operator?40:void 0,a=void 0;if(r&&(a=P(t.operand.name))){var i=x(e.visitNode(t.operand.expression,h,e.isExpression)),o=i.readExpression,c=i.initializeExpression,l=s.createPrefixUnaryExpression(39,S(a,o));return e.setOriginalNode(A(a,c||o,s.createBinaryExpression(l,r,s.createNumericLiteral(1)),62),t)}}return e.visitEachChild(t,h,n)}(l);case 212:return L(l,!1);case 200:return function(t){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.expression)){var r=s.createCallBinding(t.expression,c,f),a=r.thisArg,i=r.target;return s.updateCallExpression(t,s.createPropertyAccessExpression(e.visitNode(i,h),"call"),void 0,o([e.visitNode(a,h,e.isExpression)],e.visitNodes(t.arguments,h,e.isExpression)))}return e.visitEachChild(t,h,n)}(l);case 213:return function(t){if(m){if(e.isDestructuringAssignment(t)){var r=a;a=void 0,t=s.updateBinaryExpression(t,e.visitNode(t.left,v),t.operatorToken,e.visitNode(t.right,h));var i=e.some(a)?s.inlineExpressions(e.compact(o(a,[t]))):t;return a=r,i}if(e.isAssignmentExpression(t)&&e.isPrivateIdentifierPropertyAccessExpression(t.left)){var c=P(t.left.name);if(c)return e.setOriginalNode(A(c,t.left.expression,t.right,t.operatorToken.kind),t)}}return e.visitEachChild(t,h,n)}(l);case 79:return function(n){if(!m)return n;return e.setOriginalNode(s.createIdentifier(""),n)}(l);case 230:return function(t){if(e.isPostfixUnaryExpression(t.expression))return s.updateExpressionStatement(t,L(t.expression,!0));return e.visitEachChild(t,h,n)}(l);case 234:return function(t){if(t.incrementor&&e.isPostfixUnaryExpression(t.incrementor))return s.updateForStatement(t,e.visitNode(t.initializer,h,e.isForInitializer),e.visitNode(t.condition,h,e.isExpression),L(t.incrementor,!0),e.visitNode(t.statement,h,e.isStatement));return e.visitEachChild(t,h,n)}(l);case 202:return function(t){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.tag)){var r=s.createCallBinding(t.tag,c,f),a=r.thisArg,i=r.target;return s.updateTaggedTemplateExpression(t,s.createCallExpression(s.createPropertyAccessExpression(e.visitNode(i,h),"bind"),void 0,[e.visitNode(a,h,e.isExpression)]),void 0,e.visitNode(t.template,h,e.isTemplateLiteral))}return e.visitEachChild(t,h,n)}(l)}return e.visitEachChild(l,h,n)}function v(n){switch(n.kind){case 197:case 196:return function(n){return e.isArrayLiteralExpression(n)?s.updateArrayLiteralExpression(n,e.visitNodes(n.elements,w,e.isExpression)):s.updateObjectLiteralExpression(n,e.visitNodes(n.properties,F,e.isObjectLiteralElementLike))}(n);default:return h(n)}}function b(t){switch(t.kind){case 165:return;case 166:case 167:case 164:return e.visitEachChild(t,b,n);case 162:return T(t);case 157:return E(t);case 226:return t;default:return h(t)}}function E(t){var r=e.visitEachChild(t,h,n);if(e.some(a)){var i=a;i.push(t.expression),a=[],r=s.updateComputedPropertyName(r,s.inlineExpressions(i))}return r}function T(t){if(e.Debug.assert(!e.some(t.decorators)),!m&&e.isPrivateIdentifier(t.name))return s.updatePropertyDeclaration(t,void 0,e.visitNodes(t.modifiers,h,e.isModifier),t.name,void 0,void 0,void 0);var r=function(n,t){if(e.isComputedPropertyName(n)){var r=e.visitNode(n.expression,h,e.isExpression),a=e.skipPartiallyEmittedExpressions(r),i=e.isSimpleInlineableExpression(a);if(!(e.isAssignmentExpression(a)&&e.isGeneratedIdentifier(a.left))&&!i&&t){var o=s.getGeneratedNameForNode(n);return c(o),s.createAssignment(o,r)}return i||e.isIdentifier(a)?void 0:r}}(t.name,!!t.initializer||!!n.getCompilerOptions().useDefineForClassFields);r&&!e.isSimpleInlineableExpression(r)&&k().push(r)}function S(t,r){switch(r=e.visitNode(r,h,e.isExpression),t.placement){case 0:return n.getEmitHelperFactory().createClassPrivateFieldGetHelper(e.nodeIsSynthesized(r)?r:s.cloneNode(r),t.weakMapName);default:return e.Debug.fail("Unexpected private identifier placement")}}function L(t,r){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.operand)){var a=45===t.operator?39:46===t.operator?40:void 0,i=void 0;if(a&&(i=P(t.operand.name))){var o=x(e.visitNode(t.operand.expression,h,e.isExpression)),l=o.readExpression,u=o.initializeExpression,d=s.createPrefixUnaryExpression(39,S(i,l)),p=r?void 0:s.createTempVariable(c);return e.setOriginalNode(s.inlineExpressions(e.compact([A(i,u||l,s.createBinaryExpression(p?s.createAssignment(p,d):d,a,s.createNumericLiteral(1)),62),p])),t)}}return e.visitEachChild(t,h,n)}function x(n){var t=e.nodeIsSynthesized(n)?n:s.cloneNode(n);if(e.isSimpleInlineableExpression(n))return{readExpression:t,initializeExpression:void 0};var r=s.createTempVariable(c);return{readExpression:r,initializeExpression:s.createAssignment(r,t)}}function A(t,r,a,i){switch(t.placement){case 0:return function(t,r,a,i){if(r=e.visitNode(r,h,e.isExpression),a=e.visitNode(a,h,e.isExpression),e.isCompoundAssignment(i)){var o=x(r),c=o.readExpression,l=o.initializeExpression;return n.getEmitHelperFactory().createClassPrivateFieldSetHelper(l||c,t.weakMapName,s.createBinaryExpression(n.getEmitHelperFactory().createClassPrivateFieldGetHelper(c,t.weakMapName),e.getNonAssignmentOperatorForCompoundAssignment(i),a))}return n.getEmitHelperFactory().createClassPrivateFieldSetHelper(r,t.weakMapName,a)}(t,r,a,i);default:return e.Debug.fail("Unexpected private identifier placement")}}function D(n){return e.isPropertyDeclaration(n)||m&&n.name&&e.isPrivateIdentifier(n.name)}function C(t,r){if(m)for(var a=0,i=t.members;a<i.length;a++){var o=i[a];e.isPrivateIdentifierPropertyDeclaration(o)&&O(o.name)}var c=[],d=function(t,r){var a=e.visitNode(e.getFirstConstructorWithBody(t),h,e.isConstructorDeclaration),i=t.members.filter(I);if(!e.some(i))return a;var o=e.visitParameterList(a?a.parameters:void 0,h,n),c=function(t,r,a){var i=n.getCompilerOptions().useDefineForClassFields,o=e.getProperties(t,!1,!1);i||(o=e.filter(o,(function(n){return!!n.initializer||e.isPrivateIdentifier(n.name)})));if(!r&&!e.some(o))return e.visitFunctionBody(void 0,h,n);u();var c=0,d=[];!r&&a&&d.push(s.createExpressionStatement(s.createCallExpression(s.createSuper(),void 0,[s.createSpreadElement(s.createIdentifier("arguments"))])));r&&(c=e.addPrologueDirectivesAndInitialSuperCall(s,r,d,h));if(null==r?void 0:r.body){var p=e.findIndex(r.body.statements,(function(n){return!e.isParameterPropertyDeclaration(e.getOriginalNode(n),r)}),c);-1===p&&(p=r.body.statements.length),p>c&&(i||e.addRange(d,e.visitNodes(r.body.statements,h,e.isStatement,c,p-c)),c=p)}N(d,o,s.createThis()),r&&e.addRange(d,e.visitNodes(r.body.statements,h,e.isStatement,c));return d=s.mergeLexicalEnvironment(d,l()),e.setTextRange(s.createBlock(e.setTextRange(s.createNodeArray(d),r?r.body.statements:t.members),!0),r?r.body:void 0)}(t,a,r);if(!c)return;return e.startOnNewLine(e.setOriginalNode(e.setTextRange(s.createConstructorDeclaration(void 0,void 0,null!=o?o:[],c),a||t),a))}(t,r);return d&&c.push(d),e.addRange(c,e.visitNodes(t.members,b,e.isClassElement)),e.setTextRange(s.createNodeArray(c),t.members)}function I(t){return!(!e.isPropertyDeclaration(t)||e.hasStaticModifier(t))&&(n.getCompilerOptions().useDefineForClassFields?f<99:e.isInitializedProperty(t)||m&&e.isPrivateIdentifierPropertyDeclaration(t))}function N(n,t,r){for(var a=0,i=t;a<i.length;a++){var o=i[a],c=R(o,r);if(c){var l=s.createExpressionStatement(c);e.setSourceMapRange(l,e.moveRangePastModifiers(o)),e.setCommentRange(l,o),e.setOriginalNode(l,o),n.push(l)}}}function R(t,r){var a,i=!n.getCompilerOptions().useDefineForClassFields,o=e.isComputedPropertyName(t.name)&&!e.isSimpleInlineableExpression(t.name.expression)?s.updateComputedPropertyName(t.name,s.getGeneratedNameForNode(t.name)):t.name;if(m&&e.isPrivateIdentifier(o)){var c=P(o);if(c)switch(c.placement){case 0:return function(n,t,r){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(r,"set"),void 0,[n,t||e.factory.createVoidZero()])}(r,e.visitNode(t.initializer,h,e.isExpression),c.weakMapName)}else e.Debug.fail("Undeclared private name for property declaration.")}if((!e.isPrivateIdentifier(o)||t.initializer)&&(!e.isPrivateIdentifier(o)||t.initializer)){var l=e.getOriginalNode(t),u=t.initializer||i?null!==(a=e.visitNode(t.initializer,h,e.isExpression))&&void 0!==a?a:s.createVoidZero():e.isParameterPropertyDeclaration(l,l.parent)&&e.isIdentifier(o)?o:s.createVoidZero();if(i||e.isPrivateIdentifier(o)){var d=e.createMemberAccessForPropertyName(s,r,o,o);return s.createAssignment(d,u)}var p=e.isComputedPropertyName(o)?o.expression:e.isIdentifier(o)?s.createStringLiteral(e.unescapeLeadingUnderscores(o.escapedText)):o,f=s.createPropertyDescriptor({value:u,configurable:!0,writable:!0,enumerable:!0});return s.createObjectDefinePropertyCall(r,p,f)}}function k(){return a||(a=[])}function O(n){var t=e.getTextOfPropertyName(n),r=s.createUniqueName("_"+t.substring(1),24);c(r),(g||(g=new e.Map)).set(n.escapedText,{placement:0,weakMapName:r}),k().push(s.createAssignment(r,s.createNewExpression(s.createIdentifier("WeakMap"),void 0,[])))}function P(e){if(g&&(t=g.get(e.escapedText)))return t;for(var n=y.length-1;n>=0;--n){var t,r=y[n];if(r)if(t=r.get(e.escapedText))return t}}function M(t){var r=s.getGeneratedNameForNode(t),a=P(t.name);if(!a)return e.visitEachChild(t,h,n);var i=t.expression;return(e.isThisProperty(t)||e.isSuperProperty(t)||!e.isSimpleCopiableExpression(t.expression))&&(i=s.createTempVariable(c,!0),k().push(s.createBinaryExpression(i,62,t.expression))),s.createPropertyAccessExpression(s.createParenthesizedExpression(s.createObjectLiteralExpression([s.createSetAccessorDeclaration(void 0,void 0,"value",[s.createParameterDeclaration(void 0,void 0,void 0,r,void 0,void 0,void 0)],s.createBlock([s.createExpressionStatement(A(a,i,r,62))]))])),"value")}function w(n){var t=e.getTargetOfBindingOrAssignmentElement(n);if(t&&e.isPrivateIdentifierPropertyAccessExpression(t)){var r=M(t);return e.isAssignmentExpression(n)?s.updateBinaryExpression(n,r,n.operatorToken,e.visitNode(n.right,h,e.isExpression)):e.isSpreadElement(n)?s.updateSpreadElement(n,r):r}return e.visitNode(n,v)}function F(n){if(e.isPropertyAssignment(n)){var t=e.getTargetOfBindingOrAssignmentElement(n);if(t&&e.isPrivateIdentifierPropertyAccessExpression(t)){var r=e.getInitializerOfBindingOrAssignmentElement(n),a=M(t);return s.updatePropertyAssignment(n,e.visitNode(n.name,h),r?s.createAssignment(a,e.visitNode(r,h)):a)}return s.updatePropertyAssignment(n,e.visitNode(n.name,h),e.visitNode(n.initializer,v))}return e.visitNode(n,h)}}}(p||(p={})),function(e){var n,t;function r(n,t,r,a){var i=0!=(4096&t.getNodeCheckFlags(r)),o=[];return a.forEach((function(t,r){var a=e.unescapeLeadingUnderscores(r),s=[];s.push(n.createPropertyAssignment("get",n.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(n.createPropertyAccessExpression(e.setEmitFlags(n.createSuper(),4),a),4)))),i&&s.push(n.createPropertyAssignment("set",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,n.createAssignment(e.setEmitFlags(n.createPropertyAccessExpression(e.setEmitFlags(n.createSuper(),4),a),4),n.createIdentifier("v"))))),o.push(n.createPropertyAssignment(a,n.createObjectLiteralExpression(s)))})),n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createUniqueName("_super",48),void 0,void 0,n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"create"),void 0,[n.createNull(),n.createObjectLiteralExpression(o,!0)]))],2))}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),function(e){e[e.NonTopLevel=1]="NonTopLevel",e[e.HasLexicalThis=2]="HasLexicalThis"}(t||(t={})),e.transformES2017=function(n){var t,a,i,s,c=n.factory,l=n.getEmitHelperFactory,u=n.resumeLexicalEnvironment,d=n.endLexicalEnvironment,p=n.hoistVariableDeclaration,f=n.getEmitResolver(),m=n.getCompilerOptions(),_=e.getEmitScriptTarget(m),g=0,y=[],h=0,v=n.onEmitNode,b=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){if(1&t&&function(e){var n=e.kind;return 249===n||165===n||164===n||166===n||167===n}(r)){var i=6144&f.getNodeCheckFlags(r);if(i!==g){var o=g;return g=i,v(n,r,a),void(g=o)}}else if(t&&y[e.getNodeId(r)]){o=g;return g=0,v(n,r,a),void(g=o)}v(n,r,a)},n.onSubstituteNode=function(n,t){if(t=b(n,t),1===n&&g)return function(n){switch(n.kind){case 198:return U(n);case 199:return V(n);case 200:return function(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?U(t):V(t);return c.createCallExpression(c.createPropertyAccessExpression(r,"call"),void 0,o([c.createThis()],n.arguments))}return n}(n)}return n}(t);return t},e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;E(1,!1),E(2,!e.isEffectiveStrictModeSourceFile(t,m));var r=e.visitEachChild(t,A,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function E(e,n){h=n?h|e:h&~e}function T(e){return 0!=(h&e)}function S(){return T(2)}function L(e,n,t){var r=e&~h;if(r){E(r,!0);var a=n(t);return E(r,!1),a}return n(t)}function x(t){return e.visitEachChild(t,A,n)}function A(t){if(0==(64&t.transformFlags))return t;switch(t.kind){case 129:return;case 210:return function(t){if(!T(1))return e.visitEachChild(t,A,n);return e.setOriginalNode(e.setTextRange(c.createYieldExpression(void 0,e.visitNode(t.expression,A,e.isExpression)),t),t)}(t);case 164:return L(3,C,t);case 248:return L(3,I,t);case 205:return L(3,N,t);case 206:return L(1,R,t);case 198:return i&&e.isPropertyAccessExpression(t)&&105===t.expression.kind&&i.add(t.name.escapedText),e.visitEachChild(t,A,n);case 199:return i&&105===t.expression.kind&&(s=!0),e.visitEachChild(t,A,n);case 166:case 167:case 165:case 249:case 218:return L(3,x,t);default:return e.visitEachChild(t,A,n)}}function D(t){if(e.isNodeWithPossibleHoistedDeclaration(t))switch(t.kind){case 229:return function(t){if(O(t.declarationList)){var r=P(t.declarationList,!1);return r?c.createExpressionStatement(r):void 0}return e.visitEachChild(t,A,n)}(t);case 234:return function(n){var t=n.initializer;return c.updateForStatement(n,O(t)?P(t,!1):e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.condition,A,e.isExpression),e.visitNode(n.incrementor,A,e.isExpression),e.visitNode(n.statement,D,e.isStatement,c.liftToBlock))}(t);case 235:return function(n){return c.updateForInStatement(n,O(n.initializer)?P(n.initializer,!0):e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.expression,A,e.isExpression),e.visitNode(n.statement,D,e.isStatement,c.liftToBlock))}(t);case 236:return function(n){return c.updateForOfStatement(n,e.visitNode(n.awaitModifier,A,e.isToken),O(n.initializer)?P(n.initializer,!0):e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.expression,A,e.isExpression),e.visitNode(n.statement,D,e.isStatement,c.liftToBlock))}(t);case 284:return function(t){var r,i=new e.Set;if(k(t.variableDeclaration,i),i.forEach((function(n,t){a.has(t)&&(r||(r=new e.Set(a)),r.delete(t))})),r){var o=a;a=r;var s=e.visitEachChild(t,D,n);return a=o,s}return e.visitEachChild(t,D,n)}(t);case 227:case 241:case 255:case 281:case 282:case 244:case 232:case 233:case 231:case 240:case 242:return e.visitEachChild(t,D,n);default:return e.Debug.assertNever(t,"Unhandled node.")}return A(t)}function C(t){return c.updateMethodDeclaration(t,void 0,e.visitNodes(t.modifiers,A,e.isModifier),t.asteriskToken,t.name,void 0,void 0,e.visitParameterList(t.parameters,A,n),void 0,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function I(t){return c.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,A,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,A,n),void 0,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function N(t){return c.updateFunctionExpression(t,e.visitNodes(t.modifiers,A,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,A,n),void 0,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function R(t){return c.updateArrowFunction(t,e.visitNodes(t.modifiers,A,e.isModifier),void 0,e.visitParameterList(t.parameters,A,n),void 0,t.equalsGreaterThanToken,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function k(n,t){var r=n.name;if(e.isIdentifier(r))t.add(r.escapedText);else for(var a=0,i=r.elements;a<i.length;a++){var o=i[a];e.isOmittedExpression(o)||k(o,t)}}function O(n){return!!n&&e.isVariableDeclarationList(n)&&!(3&n.flags)&&n.declarations.some(F)}function P(n,t){!function(n){e.forEach(n.declarations,M)}(n);var r=e.getInitializedVariables(n);return 0===r.length?t?e.visitNode(c.converters.convertToAssignmentElementTarget(n.declarations[0].name),A,e.isExpression):void 0:c.inlineExpressions(e.map(r,w))}function M(n){var t=n.name;if(e.isIdentifier(t))p(t);else for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];e.isOmittedExpression(i)||M(i)}}function w(n){var t=e.setSourceMapRange(c.createAssignment(c.converters.convertToAssignmentElementTarget(n.name),n.initializer),n);return e.visitNode(t,A,e.isExpression)}function F(n){var t=n.name;if(e.isIdentifier(t))return a.has(t.escapedText);for(var r=0,i=t.elements;r<i.length;r++){var o=i[r];if(!e.isOmittedExpression(o)&&F(o))return!0}return!1}function G(o){u();var p=e.getOriginalNode(o,e.isFunctionLike).type,m=_<2?function(n){var t=n&&e.getEntityNameFromTypeNode(n);if(t&&e.isEntityName(t)){var r=f.getTypeReferenceSerializationKind(t);if(r===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||r===e.TypeReferenceSerializationKind.Unknown)return t}return}(p):void 0,g=206===o.kind,h=0!=(8192&f.getNodeCheckFlags(o)),v=a;a=new e.Set;for(var b=0,E=o.parameters;b<E.length;b++){k(E[b],a)}var T,L=i,x=s;if(g||(i=new e.Set,s=!1),g){var D=l().createAwaiterHelper(S(),h,m,B(o.body)),C=d();if(e.some(C)){P=c.converters.convertToFunctionBlock(D);T=c.updateBlock(P,e.setTextRange(c.createNodeArray(e.concatenate(C,P.statements)),P.statements))}else T=D}else{var I=[],N=c.copyPrologue(o.body.statements,I,!1,A);I.push(c.createReturnStatement(l().createAwaiterHelper(S(),h,m,B(o.body,N)))),e.insertStatementsAfterStandardPrologue(I,d());var R=_>=2&&6144&f.getNodeCheckFlags(o);if(R&&(0==(1&t)&&(t|=1,n.enableSubstitution(200),n.enableSubstitution(198),n.enableSubstitution(199),n.enableEmitNotification(249),n.enableEmitNotification(164),n.enableEmitNotification(166),n.enableEmitNotification(167),n.enableEmitNotification(165),n.enableEmitNotification(229)),i.size)){var O=r(c,f,o,i);y[e.getNodeId(O)]=!0,e.insertStatementsAfterStandardPrologue(I,[O])}var P=c.createBlock(I,!0);e.setTextRange(P,o.body),R&&s&&(4096&f.getNodeCheckFlags(o)?e.addEmitHelper(P,e.advancedAsyncSuperHelper):2048&f.getNodeCheckFlags(o)&&e.addEmitHelper(P,e.asyncSuperHelper)),T=P}return a=v,g||(i=L,s=x),T}function B(n,t){return e.isBlock(n)?c.updateBlock(n,e.visitNodes(n.statements,D,e.isStatement,t)):c.converters.convertToFunctionBlock(e.visitNode(n,D,e.isConciseBody))}function U(n){return 105===n.expression.kind?e.setTextRange(c.createPropertyAccessExpression(c.createUniqueName("_super",48),n.name),n):n}function V(n){return 105===n.expression.kind?(t=n.argumentExpression,r=n,4096&g?e.setTextRange(c.createPropertyAccessExpression(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[t]),"value"),r):e.setTextRange(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[t]),r)):n;var t,r}},e.createSuperAccessVariableStatement=r}(p||(p={})),function(e){var n,t;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),function(e){e[e.None=0]="None",e[e.HasLexicalThis=1]="HasLexicalThis",e[e.IterationContainer=2]="IterationContainer",e[e.AncestorFactsMask=3]="AncestorFactsMask",e[e.SourceFileIncludes=1]="SourceFileIncludes",e[e.SourceFileExcludes=2]="SourceFileExcludes",e[e.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",e[e.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",e[e.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",e[e.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",e[e.IterationStatementIncludes=2]="IterationStatementIncludes",e[e.IterationStatementExcludes=0]="IterationStatementExcludes"}(t||(t={})),e.transformES2018=function(n){var t=n.factory,r=n.getEmitHelperFactory,a=n.resumeLexicalEnvironment,i=n.endLexicalEnvironment,s=n.hoistVariableDeclaration,c=n.getEmitResolver(),l=n.getCompilerOptions(),u=e.getEmitScriptTarget(l),d=n.onEmitNode;n.onEmitNode=function(n,t,r){if(1&f&&function(e){var n=e.kind;return 249===n||165===n||164===n||166===n||167===n}(t)){var a=6144&c.getNodeCheckFlags(t);if(a!==b){var i=b;return b=a,d(n,t,r),void(b=i)}}else if(f&&T[e.getNodeId(t)]){i=b;return b=0,d(n,t,r),void(b=i)}d(n,t,r)};var p=n.onSubstituteNode;n.onSubstituteNode=function(n,r){if(r=p(n,r),1===n&&b)return function(n){switch(n.kind){case 198:return q(n);case 199:return z(n);case 200:return function(n){var r=n.expression;if(e.isSuperProperty(r)){var a=e.isPropertyAccessExpression(r)?q(r):z(r);return t.createCallExpression(t.createPropertyAccessExpression(a,"call"),void 0,o([t.createThis()],n.arguments))}return n}(n)}return n}(r);return r};var f,m,_,g,y,h,v=!1,b=0,E=0,T=[];return e.chainBundle(n,(function(r){if(r.isDeclarationFile)return r;_=r;var a=function(r){var a=S(2,e.isEffectiveStrictModeSourceFile(r,l)?0:1);v=!1;var i=e.visitEachChild(r,A,n),o=e.concatenate(i.statements,g&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(g))]),s=t.updateSourceFile(i,e.setTextRange(t.createNodeArray(o),r.statements));return L(a),s}(r);return e.addEmitHelpers(a,n.readEmitHelpers()),_=void 0,g=void 0,a}));function S(e,n){var t=E;return E=3&(E&~e|n),t}function L(e){E=e}function x(n){g=e.append(g,t.createVariableDeclaration(n))}function A(e){return R(e,!1)}function D(e){return R(e,!0)}function C(e){if(129!==e.kind)return e}function I(e,n,t,r){if(function(e,n){return E!==(E&~e|n)}(t,r)){var a=S(t,r),i=e(n);return L(a),i}return e(n)}function N(t){return e.visitEachChild(t,A,n)}function R(a,i){if(0==(32&a.transformFlags))return a;switch(a.kind){case 210:return function(a){if(2&m&&1&m)return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,r().createAwaitHelper(e.visitNode(a.expression,A,e.isExpression))),a),a);return e.visitEachChild(a,A,n)}(a);case 216:return function(a){if(2&m&&1&m){if(a.asteriskToken){var i=e.visitNode(e.Debug.assertDefined(a.expression),A,e.isExpression);return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,r().createAwaitHelper(t.updateYieldExpression(a,a.asteriskToken,e.setTextRange(r().createAsyncDelegatorHelper(e.setTextRange(r().createAsyncValuesHelper(i),i)),i)))),a),a)}return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,M(a.expression?e.visitNode(a.expression,A,e.isExpression):t.createVoidZero())),a),a)}return e.visitEachChild(a,A,n)}(a);case 239:return function(r){if(2&m&&1&m)return t.updateReturnStatement(r,M(r.expression?e.visitNode(r.expression,A,e.isExpression):t.createVoidZero()));return e.visitEachChild(r,A,n)}(a);case 242:return function(r){if(2&m){var a=e.unwrapInnermostStatementOfLabel(r);return 236===a.kind&&a.awaitModifier?P(a,r):t.restoreEnclosingLabel(e.visitNode(a,A,e.isStatement,t.liftToBlock),r)}return e.visitEachChild(r,A,n)}(a);case 197:return function(a){if(16384&a.transformFlags){var i=function(n){for(var r,a=[],i=0,o=n;i<o.length;i++){var s=o[i];if(287===s.kind){r&&(a.push(t.createObjectLiteralExpression(r)),r=void 0);var c=s.expression;a.push(e.visitNode(c,A,e.isExpression))}else r=e.append(r,285===s.kind?t.createPropertyAssignment(s.name,e.visitNode(s.initializer,A,e.isExpression)):e.visitNode(s,A,e.isObjectLiteralElementLike))}r&&a.push(t.createObjectLiteralExpression(r));return a}(a.properties);i.length&&197!==i[0].kind&&i.unshift(t.createObjectLiteralExpression());var o=i[0];if(i.length>1){for(var s=1;s<i.length;s++)o=r().createAssignHelper([o,i[s]]);return o}return r().createAssignHelper(i)}return e.visitEachChild(a,A,n)}(a);case 213:return function(r,a){if(e.isDestructuringAssignment(r)&&16384&r.left.transformFlags)return e.flattenDestructuringAssignment(r,A,n,1,!a);if(27===r.operatorToken.kind)return t.updateBinaryExpression(r,e.visitNode(r.left,D,e.isExpression),r.operatorToken,e.visitNode(r.right,a?D:A,e.isExpression));return e.visitEachChild(r,A,n)}(a,i);case 284:return function(r){if(r.variableDeclaration&&e.isBindingPattern(r.variableDeclaration.name)&&16384&r.variableDeclaration.name.transformFlags){var a=t.getGeneratedNameForNode(r.variableDeclaration.name),i=t.updateVariableDeclaration(r.variableDeclaration,r.variableDeclaration.name,void 0,void 0,a),s=e.flattenDestructuringBinding(i,A,n,1),c=e.visitNode(r.block,A,e.isBlock);return e.some(s)&&(c=t.updateBlock(c,o([t.createVariableStatement(void 0,s)],c.statements))),t.updateCatchClause(r,t.updateVariableDeclaration(r.variableDeclaration,a,void 0,void 0,void 0),c)}return e.visitEachChild(r,A,n)}(a);case 229:return function(t){if(e.hasSyntacticModifier(t,1)){var r=v;v=!0;var a=e.visitEachChild(t,A,n);return v=r,a}return e.visitEachChild(t,A,n)}(a);case 246:return function(e){if(v){var n=v;v=!1;var t=k(e,!0);return v=n,t}return k(e,!1)}(a);case 232:case 233:case 235:return I(N,a,0,2);case 236:return P(a,void 0);case 234:return I(O,a,0,2);case 209:return function(t){return e.visitEachChild(t,D,n)}(a);case 165:return I(w,a,2,1);case 164:return I(B,a,2,1);case 166:return I(F,a,2,1);case 167:return I(G,a,2,1);case 248:return I(U,a,2,1);case 205:return I(j,a,2,1);case 206:return I(V,a,2,0);case 159:return function(r){if(16384&r.transformFlags)return t.updateParameterDeclaration(r,void 0,void 0,r.dotDotDotToken,t.getGeneratedNameForNode(r),void 0,void 0,e.visitNode(r.initializer,A,e.isExpression));return e.visitEachChild(r,A,n)}(a);case 230:return function(t){return e.visitEachChild(t,D,n)}(a);case 204:return function(t,r){return e.visitEachChild(t,r?D:A,n)}(a,i);case 202:return function(t){return e.processTaggedTemplateExpression(n,t,A,_,x,e.ProcessLevel.LiftRestriction)}(a);case 198:return y&&e.isPropertyAccessExpression(a)&&105===a.expression.kind&&y.add(a.name.escapedText),e.visitEachChild(a,A,n);case 199:return y&&105===a.expression.kind&&(h=!0),e.visitEachChild(a,A,n);case 249:case 218:return I(N,a,2,1);default:return e.visitEachChild(a,A,n)}}function k(t,r){return e.isBindingPattern(t.name)&&16384&t.name.transformFlags?e.flattenDestructuringBinding(t,A,n,1,void 0,r):e.visitEachChild(t,A,n)}function O(n){return t.updateForStatement(n,e.visitNode(n.initializer,D,e.isForInitializer),e.visitNode(n.condition,A,e.isExpression),e.visitNode(n.incrementor,A,e.isExpression),e.visitNode(n.statement,A,e.isStatement))}function P(a,i){var o=S(0,2);16384&a.initializer.transformFlags&&(a=function(n){var r=e.skipParentheses(n.initializer);if(e.isVariableDeclarationList(r)||e.isAssignmentPattern(r)){var a=void 0,i=void 0,o=t.createTempVariable(void 0),s=[e.createForOfBindingStatement(t,r,o)];return e.isBlock(n.statement)?(e.addRange(s,n.statement.statements),a=n.statement,i=n.statement.statements):n.statement&&(e.append(s,n.statement),a=n.statement,i=n.statement),t.updateForOfStatement(n,n.awaitModifier,e.setTextRange(t.createVariableDeclarationList([e.setTextRange(t.createVariableDeclaration(o),n.initializer)],1),n.initializer),n.expression,e.setTextRange(t.createBlock(e.setTextRange(t.createNodeArray(s),i),!0),a))}return n}(a));var c=a.awaitModifier?function(n,a,i){var o=e.visitNode(n.expression,A,e.isExpression),c=e.isIdentifier(o)?t.getGeneratedNameForNode(o):t.createTempVariable(void 0),l=e.isIdentifier(o)?t.getGeneratedNameForNode(c):t.createTempVariable(void 0),u=t.createUniqueName("e"),d=t.getGeneratedNameForNode(u),p=t.createTempVariable(void 0),f=e.setTextRange(r().createAsyncValuesHelper(o),n.expression),m=t.createCallExpression(t.createPropertyAccessExpression(c,"next"),void 0,[]),_=t.createPropertyAccessExpression(l,"done"),g=t.createPropertyAccessExpression(l,"value"),y=t.createFunctionCallCall(p,c,[]);s(u),s(p);var h=2&i?t.inlineExpressions([t.createAssignment(u,t.createVoidZero()),f]):f,v=e.setEmitFlags(e.setTextRange(t.createForStatement(e.setEmitFlags(e.setTextRange(t.createVariableDeclarationList([e.setTextRange(t.createVariableDeclaration(c,void 0,void 0,h),n.expression),t.createVariableDeclaration(l)]),n.expression),2097152),t.createComma(t.createAssignment(l,M(m)),t.createLogicalNot(_)),void 0,function(n,r){var a,i,o=e.createForOfBindingStatement(t,n.initializer,r),s=[e.visitNode(o,A,e.isStatement)],c=e.visitNode(n.statement,A,e.isStatement);e.isBlock(c)?(e.addRange(s,c.statements),a=c,i=c.statements):s.push(c);return e.setEmitFlags(e.setTextRange(t.createBlock(e.setTextRange(t.createNodeArray(s),i),!0),a),432)}(n,g)),n),256);return t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(v,a)]),t.createCatchClause(t.createVariableDeclaration(d),e.setEmitFlags(t.createBlock([t.createExpressionStatement(t.createAssignment(u,t.createObjectLiteralExpression([t.createPropertyAssignment("error",d)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([e.setEmitFlags(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(l,t.createLogicalNot(_)),t.createAssignment(p,t.createPropertyAccessExpression(c,"return"))),t.createExpressionStatement(M(y))),1)]),void 0,e.setEmitFlags(t.createBlock([e.setEmitFlags(t.createIfStatement(u,t.createThrowStatement(t.createPropertyAccessExpression(u,"error"))),1)]),1))]))}(a,i,o):t.restoreEnclosingLabel(e.visitEachChild(a,A,n),i);return L(o),c}function M(e){return 1&m?t.createYieldExpression(void 0,r().createAwaitHelper(e)):t.createAwaitExpression(e)}function w(r){var a=m;m=0;var i=t.updateConstructorDeclaration(r,void 0,r.modifiers,e.visitParameterList(r.parameters,A,n),H(r));return m=a,i}function F(r){var a=m;m=0;var i=t.updateGetAccessorDeclaration(r,void 0,r.modifiers,e.visitNode(r.name,A,e.isPropertyName),e.visitParameterList(r.parameters,A,n),void 0,H(r));return m=a,i}function G(r){var a=m;m=0;var i=t.updateSetAccessorDeclaration(r,void 0,r.modifiers,e.visitNode(r.name,A,e.isPropertyName),e.visitParameterList(r.parameters,A,n),H(r));return m=a,i}function B(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateMethodDeclaration(r,void 0,1&m?e.visitNodes(r.modifiers,C,e.isModifier):r.modifiers,2&m?void 0:r.asteriskToken,e.visitNode(r.name,A,e.isPropertyName),e.visitNode(void 0,A,e.isToken),void 0,e.visitParameterList(r.parameters,A,n),void 0,2&m&&1&m?K(r):H(r));return m=a,i}function U(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateFunctionDeclaration(r,void 0,1&m?e.visitNodes(r.modifiers,C,e.isModifier):r.modifiers,2&m?void 0:r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,A,n),void 0,2&m&&1&m?K(r):H(r));return m=a,i}function V(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateArrowFunction(r,r.modifiers,void 0,e.visitParameterList(r.parameters,A,n),void 0,r.equalsGreaterThanToken,H(r));return m=a,i}function j(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateFunctionExpression(r,1&m?e.visitNodes(r.modifiers,C,e.isModifier):r.modifiers,2&m?void 0:r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,A,n),void 0,2&m&&1&m?K(r):H(r));return m=a,i}function K(o){a();var s=[],l=t.copyPrologue(o.body.statements,s,!1,A);W(s,o);var d=y,p=h;y=new e.Set,h=!1;var m=t.createReturnStatement(r().createAsyncGeneratorHelper(t.createFunctionExpression(void 0,t.createToken(41),o.name&&t.getGeneratedNameForNode(o.name),void 0,[],void 0,t.updateBlock(o.body,e.visitLexicalEnvironment(o.body.statements,A,n,l))),!!(1&E))),_=u>=2&&6144&c.getNodeCheckFlags(o);if(_){0==(1&f)&&(f|=1,n.enableSubstitution(200),n.enableSubstitution(198),n.enableSubstitution(199),n.enableEmitNotification(249),n.enableEmitNotification(164),n.enableEmitNotification(166),n.enableEmitNotification(167),n.enableEmitNotification(165),n.enableEmitNotification(229));var g=e.createSuperAccessVariableStatement(t,c,o,y);T[e.getNodeId(g)]=!0,e.insertStatementsAfterStandardPrologue(s,[g])}s.push(m),e.insertStatementsAfterStandardPrologue(s,i());var v=t.updateBlock(o.body,s);return _&&h&&(4096&c.getNodeCheckFlags(o)?e.addEmitHelper(v,e.advancedAsyncSuperHelper):2048&c.getNodeCheckFlags(o)&&e.addEmitHelper(v,e.asyncSuperHelper)),y=d,h=p,v}function H(n){var r;a();var o=0,s=[],c=null!==(r=e.visitNode(n.body,A,e.isConciseBody))&&void 0!==r?r:t.createBlock([]);e.isBlock(c)&&(o=t.copyPrologue(c.statements,s,!1,A)),e.addRange(s,W(void 0,n));var l=i();if(o>0||e.some(s)||e.some(l)){var u=t.converters.convertToFunctionBlock(c,!0);return e.insertStatementsAfterStandardPrologue(s,l),e.addRange(s,u.statements.slice(o)),t.updateBlock(u,e.setTextRange(t.createNodeArray(s),u.statements))}return c}function W(r,a){for(var i=0,o=a.parameters;i<o.length;i++){var s=o[i];if(16384&s.transformFlags){var c=t.getGeneratedNameForNode(s),l=e.flattenDestructuringBinding(s,A,n,1,c,!1,!0);if(e.some(l)){var u=t.createVariableStatement(void 0,t.createVariableDeclarationList(l));e.setEmitFlags(u,1048576),r=e.append(r,u)}}}return r}function q(n){return 105===n.expression.kind?e.setTextRange(t.createPropertyAccessExpression(t.createUniqueName("_super",48),n.name),n):n}function z(n){return 105===n.expression.kind?(r=n.argumentExpression,a=n,4096&b?e.setTextRange(t.createPropertyAccessExpression(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[r]),"value"),a):e.setTextRange(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[r]),a)):n;var r,a}}}(p||(p={})),function(e){e.transformES2019=function(n){var t=n.factory;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,r,n)}));function r(a){if(0==(16&a.transformFlags))return a;switch(a.kind){case 284:return function(a){if(!a.variableDeclaration)return t.updateCatchClause(a,t.createVariableDeclaration(t.createTempVariable(void 0)),e.visitNode(a.block,r,e.isBlock));return e.visitEachChild(a,r,n)}(a);default:return e.visitEachChild(a,r,n)}}}}(p||(p={})),function(e){e.transformES2020=function(n){var t=n.factory,r=n.hoistVariableDeclaration;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(c){if(0==(8&c.transformFlags))return c;switch(c.kind){case 198:case 199:case 200:if(32&c.flags){var l=o(c,!1,!1);return e.Debug.assertNotNode(l,e.isSyntheticReference),l}return e.visitEachChild(c,a,n);case 213:return 60===c.operatorToken.kind?function(n){var i=e.visitNode(n.left,a,e.isExpression),o=i;e.isSimpleCopiableExpression(i)||(o=t.createTempVariable(r),i=t.createAssignment(o,i));return t.createConditionalExpression(s(i,o),void 0,o,void 0,e.visitNode(n.right,a,e.isExpression))}(c):e.visitEachChild(c,a,n);case 207:return function(n){return e.isOptionalChain(e.skipParentheses(n.expression))?e.setOriginalNode(i(n.expression,!1,!0),n):t.updateDeleteExpression(n,e.visitNode(n.expression,a,e.isExpression))}(c);default:return e.visitEachChild(c,a,n)}}function i(s,c,l){switch(s.kind){case 204:return function(n,r,a){var o=i(n.expression,r,a);return e.isSyntheticReference(o)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(n,o.expression),o.thisArg):t.updateParenthesizedExpression(n,o)}(s,c,l);case 198:case 199:return function(n,i,s){if(e.isOptionalChain(n))return o(n,i,s);var c,l=e.visitNode(n.expression,a,e.isExpression);return e.Debug.assertNotNode(l,e.isSyntheticReference),i&&(e.isSimpleCopiableExpression(l)?c=l:(c=t.createTempVariable(r),l=t.createAssignment(c,l))),l=198===n.kind?t.updatePropertyAccessExpression(n,l,e.visitNode(n.name,a,e.isIdentifier)):t.updateElementAccessExpression(n,l,e.visitNode(n.argumentExpression,a,e.isExpression)),c?t.createSyntheticReferenceExpression(l,c):l}(s,c,l);case 200:return function(t,r){return e.isOptionalChain(t)?o(t,r,!1):e.visitEachChild(t,a,n)}(s,c);default:return e.visitNode(s,a,e.isExpression)}}function o(n,o,c){var l=function(n){e.Debug.assertNotNode(n,e.isNonNullChain);for(var t=[n];!n.questionDotToken&&!e.isTaggedTemplateExpression(n);)n=e.cast(e.skipPartiallyEmittedExpressions(n.expression),e.isOptionalChain),e.Debug.assertNotNode(n,e.isNonNullChain),t.unshift(n);return{expression:n.expression,chain:t}}(n),u=l.expression,d=l.chain,p=i(u,e.isCallChain(d[0]),!1),f=e.isSyntheticReference(p)?p.thisArg:void 0,m=e.isSyntheticReference(p)?p.expression:p,_=m;e.isSimpleCopiableExpression(m)||(_=t.createTempVariable(r),m=t.createAssignment(_,m));for(var g,y=_,h=0;h<d.length;h++){var v=d[h];switch(v.kind){case 198:case 199:h===d.length-1&&o&&(e.isSimpleCopiableExpression(y)?g=y:(g=t.createTempVariable(r),y=t.createAssignment(g,y))),y=198===v.kind?t.createPropertyAccessExpression(y,e.visitNode(v.name,a,e.isIdentifier)):t.createElementAccessExpression(y,e.visitNode(v.argumentExpression,a,e.isExpression));break;case 200:y=0===h&&f?t.createFunctionCallCall(y,105===f.kind?t.createThis():f,e.visitNodes(v.arguments,a,e.isExpression)):t.createCallExpression(y,void 0,e.visitNodes(v.arguments,a,e.isExpression))}e.setOriginalNode(y,v)}var b=c?t.createConditionalExpression(s(m,_,!0),void 0,t.createTrue(),void 0,t.createDeleteExpression(y)):t.createConditionalExpression(s(m,_,!0),void 0,t.createVoidZero(),void 0,y);return g?t.createSyntheticReferenceExpression(b,g):b}function s(e,n,r){return t.createBinaryExpression(t.createBinaryExpression(e,t.createToken(r?36:37),t.createNull()),t.createToken(r?56:55),t.createBinaryExpression(n,t.createToken(r?36:37),t.createVoidZero()))}}}(p||(p={})),function(e){e.transformESNext=function(n){var t=n.hoistVariableDeclaration,r=n.factory;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(i){if(0==(4&i.transformFlags))return i;switch(i.kind){case 213:var o=i;if(e.isLogicalOrCoalescingAssignmentExpression(o))return function(n){var i=n.operatorToken,o=e.getNonAssignmentOperatorForCompoundAssignment(i.kind),s=e.skipParentheses(e.visitNode(n.left,a,e.isLeftHandSideExpression)),c=s,l=e.skipParentheses(e.visitNode(n.right,a,e.isExpression));if(e.isAccessExpression(s)){var u=e.isSimpleCopiableExpression(s.expression),d=u?s.expression:r.createTempVariable(t),p=u?s.expression:r.createAssignment(d,s.expression);if(e.isPropertyAccessExpression(s))c=r.createPropertyAccessExpression(d,s.name),s=r.createPropertyAccessExpression(p,s.name);else{var f=e.isSimpleCopiableExpression(s.argumentExpression),m=f?s.argumentExpression:r.createTempVariable(t);c=r.createElementAccessExpression(d,m),s=r.createElementAccessExpression(p,f?s.argumentExpression:r.createAssignment(m,s.argumentExpression))}}return r.createBinaryExpression(s,o,r.createParenthesizedExpression(r.createAssignment(c,l)))}(o);default:return e.visitEachChild(i,a,n)}}}}(p||(p={})),function(e){e.transformJsx=function(t){var r,a=t.factory,i=t.getEmitHelperFactory,o=t.getCompilerOptions();return e.chainBundle(t,(function(n){if(n.isDeclarationFile)return n;r=n;var a=e.visitEachChild(n,s,t);return e.addEmitHelpers(a,t.readEmitHelpers()),a}));function s(n){return 2&n.transformFlags?function(n){switch(n.kind){case 270:return l(n,!1);case 271:return u(n,!1);case 274:return d(n,!1);case 280:return y(n);default:return e.visitEachChild(n,s,t)}}(n):n}function c(n){switch(n.kind){case 11:return function(n){var t=function(n){for(var t,r=0,a=-1,i=0;i<n.length;i++){var o=n.charCodeAt(i);e.isLineBreak(o)?(-1!==r&&-1!==a&&(t=_(t,n.substr(r,a-r+1))),r=-1):e.isWhiteSpaceSingleLine(o)||(a=i,-1===r&&(r=i))}return-1!==r?_(t,n.substr(r)):t}(n.text);return void 0===t?void 0:a.createStringLiteral(t)}(n);case 280:return y(n);case 270:return l(n,!0);case 271:return u(n,!0);case 274:return d(n,!0);default:return e.Debug.failBadSyntaxKind(n)}}function l(e,n){return p(e.openingElement,e.children,n,e)}function u(e,n){return p(e,void 0,n,e)}function d(n,i){return function(n,i,s,l){var u=e.createExpressionForJsxFragment(a,t.getEmitResolver().getJsxFactoryEntity(r),t.getEmitResolver().getJsxFragmentFactoryEntity(r),o.reactNamespace,e.mapDefined(i,c),n,l);s&&e.startOnNewLine(u);return u}(n.openingFragment,n.children,i,n)}function p(n,s,l,u){var d,p=function n(t){if(270===t.kind)return n(t.openingElement);var r=t.tagName;return e.isIdentifier(r)&&e.isIntrinsicJsxName(r.escapedText)?a.createStringLiteral(e.idText(r)):e.createExpressionFromEntityName(a,r)}(n),_=n.attributes.properties;if(0===_.length)d=a.createNull();else{var g=e.flatten(e.spanMap(_,e.isJsxSpreadAttribute,(function(n,t){return t?e.map(n,f):a.createObjectLiteralExpression(e.map(n,m))})));e.isJsxSpreadAttribute(_[0])&&g.unshift(a.createObjectLiteralExpression()),(d=e.singleOrUndefined(g))||(d=i().createAssignHelper(g))}var y=e.createExpressionForJsxElement(a,t.getEmitResolver().getJsxFactoryEntity(r),o.reactNamespace,p,d,e.mapDefined(s,c),n,u);return l&&e.startOnNewLine(y),y}function f(n){return e.visitNode(n.expression,s,e.isExpression)}function m(n){var t=function(n){var t=n.name,r=e.idText(t);return/^[A-Za-z_]\w*$/.test(r)?t:a.createStringLiteral(r)}(n),i=function(n){if(void 0===n)return a.createTrue();if(10===n.kind){var t=void 0!==n.singleQuote?n.singleQuote:!e.isStringDoubleQuoted(n,r),i=a.createStringLiteral((o=n.text,((c=g(o))===o?void 0:c)||n.text),t);return e.setTextRange(i,n)}return 280===n.kind?void 0===n.expression?a.createTrue():e.visitNode(n.expression,s,e.isExpression):e.Debug.failBadSyntaxKind(n);var o,c}(n.initializer);return a.createPropertyAssignment(t,i)}function _(e,n){var t=g(n);return void 0===e?t:e+" "+t}function g(t){return t.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(function(t,r,a,i,o,s,c){if(o)return e.utf16EncodeAsString(parseInt(o,10));if(s)return e.utf16EncodeAsString(parseInt(s,16));var l=n.get(c);return l?e.utf16EncodeAsString(l):t}))}function y(n){return e.visitNode(n.expression,s,e.isExpression)}};var n=new e.Map(e.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}(p||(p={})),function(e){e.transformES2016=function(n){var t=n.factory,r=n.hoistVariableDeclaration;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(i){if(0==(128&i.transformFlags))return i;switch(i.kind){case 213:return function(i){switch(i.operatorToken.kind){case 66:return function(n){var i,o,s=e.visitNode(n.left,a,e.isExpression),c=e.visitNode(n.right,a,e.isExpression);if(e.isElementAccessExpression(s)){var l=t.createTempVariable(r),u=t.createTempVariable(r);i=e.setTextRange(t.createElementAccessExpression(e.setTextRange(t.createAssignment(l,s.expression),s.expression),e.setTextRange(t.createAssignment(u,s.argumentExpression),s.argumentExpression)),s),o=e.setTextRange(t.createElementAccessExpression(l,u),s)}else if(e.isPropertyAccessExpression(s)){l=t.createTempVariable(r);i=e.setTextRange(t.createPropertyAccessExpression(e.setTextRange(t.createAssignment(l,s.expression),s.expression),s.name),s),o=e.setTextRange(t.createPropertyAccessExpression(l,s.name),s)}else i=s,o=s;return e.setTextRange(t.createAssignment(i,e.setTextRange(t.createGlobalMethodCall("Math","pow",[o,c]),n)),n)}(i);case 42:return function(n){var r=e.visitNode(n.left,a,e.isExpression),i=e.visitNode(n.right,a,e.isExpression);return e.setTextRange(t.createGlobalMethodCall("Math","pow",[r,i]),n)}(i);default:return e.visitEachChild(i,a,n)}}(i);default:return e.visitEachChild(i,a,n)}}}}(p||(p={})),function(e){var n,t,r,a,i;!function(e){e[e.CapturedThis=1]="CapturedThis",e[e.BlockScopedBindings=2]="BlockScopedBindings"}(n||(n={})),function(e){e[e.Body=1]="Body",e[e.Initializer=2]="Initializer"}(t||(t={})),function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter"}(r||(r={})),function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return"}(a||(a={})),function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.ArrowFunction=2]="ArrowFunction",e[e.AsyncFunctionBody=4]="AsyncFunctionBody",e[e.NonStaticClassElement=8]="NonStaticClassElement",e[e.CapturesThis=16]="CapturesThis",e[e.ExportedVariableStatement=32]="ExportedVariableStatement",e[e.TopLevel=64]="TopLevel",e[e.Block=128]="Block",e[e.IterationStatement=256]="IterationStatement",e[e.IterationStatementBlock=512]="IterationStatementBlock",e[e.IterationContainer=1024]="IterationContainer",e[e.ForStatement=2048]="ForStatement",e[e.ForInOrForOfStatement=4096]="ForInOrForOfStatement",e[e.ConstructorWithCapturedSuper=8192]="ConstructorWithCapturedSuper",e[e.AncestorFactsMask=16383]="AncestorFactsMask",e[e.BlockScopeIncludes=0]="BlockScopeIncludes",e[e.BlockScopeExcludes=7104]="BlockScopeExcludes",e[e.SourceFileIncludes=64]="SourceFileIncludes",e[e.SourceFileExcludes=8064]="SourceFileExcludes",e[e.FunctionIncludes=65]="FunctionIncludes",e[e.FunctionExcludes=16286]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=16278]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=15232]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=16278]="ConstructorExcludes",e[e.DoOrWhileStatementIncludes=1280]="DoOrWhileStatementIncludes",e[e.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",e[e.ForStatementIncludes=3328]="ForStatementIncludes",e[e.ForStatementExcludes=5056]="ForStatementExcludes",e[e.ForInOrForOfStatementIncludes=5376]="ForInOrForOfStatementIncludes",e[e.ForInOrForOfStatementExcludes=3008]="ForInOrForOfStatementExcludes",e[e.BlockIncludes=128]="BlockIncludes",e[e.BlockExcludes=6976]="BlockExcludes",e[e.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",e[e.IterationStatementBlockExcludes=7104]="IterationStatementBlockExcludes",e[e.NewTarget=16384]="NewTarget",e[e.CapturedLexicalThis=32768]="CapturedLexicalThis",e[e.SubtreeFactsMask=-16384]="SubtreeFactsMask",e[e.ArrowFunctionSubtreeExcludes=0]="ArrowFunctionSubtreeExcludes",e[e.FunctionSubtreeExcludes=49152]="FunctionSubtreeExcludes"}(i||(i={})),e.transformES2015=function(n){var t,r,a,i,s,c,l=n.factory,u=n.getEmitHelperFactory,d=n.startLexicalEnvironment,p=n.resumeLexicalEnvironment,f=n.endLexicalEnvironment,m=n.hoistVariableDeclaration,_=n.getCompilerOptions(),g=n.getEmitResolver(),y=n.onSubstituteNode,h=n.onEmitNode;function v(n){i=e.append(i,l.createVariableDeclaration(n))}return n.onEmitNode=function(n,t,r){if(1&c&&e.isFunctionLike(t)){var a=b(16286,8&e.getEmitFlags(t)?81:65);return h(n,t,r),void E(a,0,0)}h(n,t,r)},n.onSubstituteNode=function(n,t){if(t=y(n,t),1===n)return function(n){switch(n.kind){case 78:return function(n){if(2&c&&!e.isInternalName(n)){var t=g.getReferencedDeclarationWithCollidingName(n);if(t&&(!e.isClassLike(t)||!function(n,t){var r=e.getParseTreeNode(t);if(!r||r===n||r.end<=n.pos||r.pos>=n.end)return!1;var a=e.getEnclosingBlockScopeContainer(n);for(;r;){if(r===a||r===n)return!1;if(e.isClassElement(r)&&r.parent===n)return!0;r=r.parent}return!1}(t,n)))return e.setTextRange(l.getGeneratedNameForNode(e.getNameOfDeclaration(t)),n)}return n}(n);case 107:return function(n){if(1&c&&16&a)return e.setTextRange(l.createUniqueName("_this",48),n);return n}(n)}return n}(t);if(e.isIdentifier(t))return function(n){if(2&c&&!e.isInternalName(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t&&function(e){switch(e.parent.kind){case 195:case 249:case 252:case 246:return e.parent.name===e&&g.isDeclarationWithCollidingName(e.parent)}return!1}(t))return e.setTextRange(l.getGeneratedNameForNode(t),n)}return n}(t);return t},e.chainBundle(n,(function(o){if(o.isDeclarationFile)return o;t=o,r=o.text;var s=function(n){var t=b(8064,64),r=[],a=[];d();var o=l.copyPrologue(n.statements,r,!1,L);e.addRange(a,e.visitNodes(n.statements,L,e.isStatement,o)),i&&a.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(i)));return l.mergeLexicalEnvironment(r,f()),w(r,n),E(t,0,0),l.updateSourceFile(n,e.setTextRange(l.createNodeArray(e.concatenate(r,a)),n.statements))}(o);return e.addEmitHelpers(s,n.readEmitHelpers()),t=void 0,r=void 0,i=void 0,a=0,s}));function b(e,n){var t=a;return a=16383&(a&~e|n),t}function E(e,n,t){a=-16384&(a&~n|t)|e}function T(e){return 0!=(8192&a)&&239===e.kind&&!e.expression}function S(n){return 0!=(256&n.transformFlags)||void 0!==s||8192&a&&function(n){return 1048576&n.transformFlags&&(e.isReturnStatement(n)||e.isIfStatement(n)||e.isWithStatement(n)||e.isSwitchStatement(n)||e.isCaseBlock(n)||e.isCaseClause(n)||e.isDefaultClause(n)||e.isTryStatement(n)||e.isCatchClause(n)||e.isLabeledStatement(n)||e.isIterationStatement(n,!1)||e.isBlock(n))}(n)||e.isIterationStatement(n,!1)&&le(n)||0!=(33554432&e.getEmitFlags(n))}function L(r){return S(r)?function(r){switch(r.kind){case 123:return;case 249:return function(n){var t=l.createVariableDeclaration(l.getLocalName(n,!0),void 0,void 0,C(n));e.setOriginalNode(t,n);var r=[],a=l.createVariableStatement(void 0,l.createVariableDeclarationList([t]));if(e.setOriginalNode(a,n),e.setTextRange(a,n),e.startOnNewLine(a),r.push(a),e.hasSyntacticModifier(n,1)){var i=e.hasSyntacticModifier(n,512)?l.createExportDefault(l.getLocalName(n)):l.createExternalModuleExport(l.getLocalName(n));e.setOriginalNode(i,a),r.push(i)}var o=e.getEmitFlags(n);0==(4194304&o)&&(r.push(l.createEndOfDeclarationMarker(n)),e.setEmitFlags(a,4194304|o));return e.singleOrMany(r)}(r);case 218:return function(e){return C(e)}(r);case 159:return function(n){return n.dotDotDotToken?void 0:e.isBindingPattern(n.name)?e.setOriginalNode(e.setTextRange(l.createParameterDeclaration(void 0,void 0,void 0,l.getGeneratedNameForNode(n),void 0,void 0,void 0),n),n):n.initializer?e.setOriginalNode(e.setTextRange(l.createParameterDeclaration(void 0,void 0,void 0,n.name,void 0,void 0,void 0),n),n):n}(r);case 248:return function(t){var r=s;s=void 0;var i=b(16286,65),o=e.visitParameterList(t.parameters,L,n),c=H(t),u=16384&a?l.getLocalName(t):t.name;return E(i,49152,0),s=r,l.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,L,e.isModifier),t.asteriskToken,u,void 0,o,void 0,c)}(r);case 206:return function(t){4096&t.transformFlags&&(a|=32768);var r=s;s=void 0;var i=b(15232,66),o=l.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(t.parameters,L,n),void 0,H(t));e.setTextRange(o,t),e.setOriginalNode(o,t),e.setEmitFlags(o,8),32768&a&&ke();return E(i,0,0),s=r,o}(r);case 205:return function(t){var r=262144&e.getEmitFlags(t)?b(16278,69):b(16286,65),i=s;s=void 0;var o=e.visitParameterList(t.parameters,L,n),c=H(t),u=16384&a?l.getLocalName(t):t.name;return E(r,49152,0),s=i,l.updateFunctionExpression(t,void 0,t.asteriskToken,u,void 0,o,void 0,c)}(r);case 246:return J(r);case 78:return D(r);case 247:return function(t){if(3&t.flags||131072&t.transformFlags){3&t.flags&&Re();var r=e.flatMap(t.declarations,1&t.flags?z:J),a=l.createVariableDeclarationList(r);return e.setOriginalNode(a,t),e.setTextRange(a,t),e.setCommentRange(a,t),131072&t.transformFlags&&(e.isBindingPattern(t.declarations[0].name)||e.isBindingPattern(e.last(t.declarations).name))&&e.setSourceMapRange(a,function(n){for(var t=-1,r=-1,a=0,i=n;a<i.length;a++){var o=i[a];t=-1===t?o.pos:-1===o.pos?t:Math.min(t,o.pos),r=Math.max(r,o.end)}return e.createRange(t,r)}(r)),a}return e.visitEachChild(t,L,n)}(r);case 241:return function(t){if(void 0!==s){var r=s.allowedNonLabeledJumps;s.allowedNonLabeledJumps|=2;var a=e.visitEachChild(t,L,n);return s.allowedNonLabeledJumps=r,a}return e.visitEachChild(t,L,n)}(r);case 255:return function(t){var r=b(7104,0),a=e.visitEachChild(t,L,n);return E(r,0,0),a}(r);case 227:return function(t,r){if(r)return e.visitEachChild(t,L,n);var i=256&a?b(7104,512):b(6976,128),o=e.visitEachChild(t,L,n);return E(i,0,0),o}(r,!1);case 238:case 237:return function(t){if(s){var r=238===t.kind?2:4;if(!(t.label&&s.labels&&s.labels.get(e.idText(t.label))||!t.label&&s.allowedNonLabeledJumps&r)){var a=void 0,i=t.label;i?238===t.kind?(a="break-"+i.escapedText,ge(s,!0,e.idText(i),a)):(a="continue-"+i.escapedText,ge(s,!1,e.idText(i),a)):238===t.kind?(s.nonLocalJumps|=2,a="break"):(s.nonLocalJumps|=4,a="continue");var o=l.createStringLiteral(a);if(s.loopOutParameters.length){for(var c=s.loopOutParameters,u=void 0,d=0;d<c.length;d++){var p=me(c[d],1);u=0===d?p:l.createBinaryExpression(u,27,p)}o=l.createBinaryExpression(u,27,o)}return l.createReturnStatement(o)}}return e.visitEachChild(t,L,n)}(r);case 242:return function(n){s&&!s.labels&&(s.labels=new e.Map);var t=e.unwrapInnermostStatementOfLabel(n,s&&X);return e.isIterationStatement(t,!1)?function(e,n){switch(e.kind){case 232:case 233:return Z(e,n);case 234:return $(e,n);case 235:return ee(e,n);case 236:return ne(e,n)}}(t,n):l.restoreEnclosingLabel(e.visitNode(t,L,e.isStatement,l.liftToBlock),n,s&&Y)}(r);case 232:case 233:return Z(r,void 0);case 234:return $(r,void 0);case 235:return ee(r,void 0);case 236:return ne(r,void 0);case 230:return function(t){switch(t.expression.kind){case 204:return l.updateExpressionStatement(t,W(t.expression,!1));case 213:return l.updateExpressionStatement(t,q(t.expression,!1))}return e.visitEachChild(t,L,n)}(r);case 197:return function(t){for(var r=t.properties,i=-1,o=!1,s=0;s<r.length;s++){var c=r[s];if(262144&c.transformFlags&&4&a||(o=157===e.Debug.checkDefined(c.name).kind)){i=s;break}}if(i<0)return e.visitEachChild(t,L,n);var u=l.createTempVariable(m),d=[],p=l.createAssignment(u,e.setEmitFlags(l.createObjectLiteralExpression(e.visitNodes(r,L,e.isObjectLiteralElementLike,0,i),t.multiLine),o?65536:0));t.multiLine&&e.startOnNewLine(p);return d.push(p),function(n,t,r,a){for(var i=t.properties,o=i.length,s=a;s<o;s++){var c=i[s];switch(c.kind){case 166:case 167:var l=e.getAllAccessorDeclarations(t.properties,c);c===l.firstAccessor&&n.push(j(r,l,t,!!t.multiLine));break;case 164:n.push(Ee(c,r,t,t.multiLine));break;case 285:n.push(ve(c,r,t.multiLine));break;case 286:n.push(be(c,r,t.multiLine));break;default:e.Debug.failBadSyntaxKind(t)}}}(d,t,u,i),d.push(t.multiLine?e.startOnNewLine(e.setParent(e.setTextRange(l.cloneNode(u),u),u.parent)):u),l.inlineExpressions(d)}(r);case 284:return function(t){var r,a=b(7104,0);if(e.Debug.assert(!!t.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),e.isBindingPattern(t.variableDeclaration.name)){var i=l.createTempVariable(void 0),s=l.createVariableDeclaration(i);e.setTextRange(s,t.variableDeclaration);var c=e.flattenDestructuringBinding(t.variableDeclaration,L,n,0,i),u=l.createVariableDeclarationList(c);e.setTextRange(u,t.variableDeclaration);var d=l.createVariableStatement(void 0,u);r=l.updateCatchClause(t,s,(p=t.block,f=d,m=e.visitNodes(p.statements,L,e.isStatement),l.updateBlock(p,o([f],m))))}else r=e.visitEachChild(t,L,n);var p,f,m;return E(a,0,0),r}(r);case 286:return function(n){return e.setTextRange(l.createPropertyAssignment(n.name,D(l.cloneNode(n.name))),n)}(r);case 157:return function(t){return e.visitEachChild(t,L,n)}(r);case 196:return function(t){if(e.some(t.elements,e.isSpreadElement))return Se(t.elements,!0,!!t.multiLine,!!t.elements.hasTrailingComma);return e.visitEachChild(t,L,n)}(r);case 200:return function(n){if(33554432&e.getEmitFlags(n))return function(n){var t=e.cast(e.cast(e.skipOuterExpressions(n.expression),e.isArrowFunction).body,e.isBlock),r=function(n){return e.isVariableStatement(n)&&!!e.first(n.declarationList.declarations).initializer},a=s;s=void 0;var i=e.visitNodes(t.statements,L,e.isStatement);s=a;var o=e.filter(i,r),c=e.filter(i,(function(e){return!r(e)})),u=e.cast(e.first(o),e.isVariableStatement).declarationList.declarations[0],d=e.skipOuterExpressions(u.initializer),p=e.tryCast(d,e.isAssignmentExpression),f=e.cast(p?e.skipOuterExpressions(p.right):d,e.isCallExpression),m=e.cast(e.skipOuterExpressions(f.expression),e.isFunctionExpression),_=m.body.statements,g=0,y=-1,h=[];if(p){var v=e.tryCast(_[g],e.isExpressionStatement);v&&(h.push(v),g++),h.push(_[g]),g++,h.push(l.createExpressionStatement(l.createAssignment(p.left,e.cast(u.name,e.isIdentifier))))}for(;!e.isReturnStatement(e.elementAt(_,y));)y--;e.addRange(h,_,g,y),y<-1&&e.addRange(h,_,y+1);return e.addRange(h,c),e.addRange(h,o,1),l.restoreOuterExpressions(n.expression,l.restoreOuterExpressions(u.initializer,l.restoreOuterExpressions(p&&p.right,l.updateCallExpression(f,l.restoreOuterExpressions(f.expression,l.updateFunctionExpression(m,void 0,void 0,void 0,void 0,m.parameters,void 0,l.updateBlock(m.body,h))),void 0,f.arguments))))}(n);var t=e.skipOuterExpressions(n.expression);if(105===t.kind||e.isSuperProperty(t)||e.some(n.arguments,e.isSpreadElement))return Te(n,!0);return l.updateCallExpression(n,e.visitNode(n.expression,x,e.isExpression),void 0,e.visitNodes(n.arguments,L,e.isExpression))}(r);case 201:return function(t){if(e.some(t.arguments,e.isSpreadElement)){var r=l.createCallBinding(l.createPropertyAccessExpression(t.expression,"bind"),m),a=r.target,i=r.thisArg;return l.createNewExpression(l.createFunctionApplyCall(e.visitNode(a,L,e.isExpression),i,Se(l.createNodeArray(o([l.createVoidZero()],t.arguments)),!1,!1,!1)),void 0,[])}return e.visitEachChild(t,L,n)}(r);case 204:return W(r,!0);case 213:return q(r,!0);case 14:case 15:case 16:case 17:return function(n){return e.setTextRange(l.createStringLiteral(n.text),n)}(r);case 10:return function(n){if(n.hasExtendedUnicodeEscape)return e.setTextRange(l.createStringLiteral(n.text),n);return n}(r);case 8:return function(n){if(384&n.numericLiteralFlags)return e.setTextRange(l.createNumericLiteral(n.text),n);return n}(r);case 202:return function(r){return e.processTaggedTemplateExpression(n,r,L,t,v,e.ProcessLevel.All)}(r);case 215:return function(n){var t=[];(function(n,t){if(!function(n){return e.Debug.assert(0!==n.templateSpans.length),0!==n.head.text.length||0===n.templateSpans[0].literal.text.length}(t))return;n.push(l.createStringLiteral(t.head.text))})(t,n),function(n,t){for(var r=0,a=t.templateSpans;r<a.length;r++){var i=a[r];n.push(e.visitNode(i.expression,L,e.isExpression)),0!==i.literal.text.length&&n.push(l.createStringLiteral(i.literal.text))}}(t,n);var r=e.reduceLeft(t,l.createAdd);e.nodeIsSynthesized(r)&&e.setTextRange(r,n);return r}(r);case 216:return function(t){return e.visitEachChild(t,L,n)}(r);case 217:return function(n){return e.visitNode(n.expression,L,e.isExpression)}(r);case 105:return Ne(!1);case 107:return function(e){2&a&&(a|=32768);if(s)return 2&a?(s.containsLexicalThis=!0,e):s.thisName||(s.thisName=l.createUniqueName("this"));return e}(r);case 223:return function(e){if(102===e.keywordToken&&"target"===e.name.escapedText)return a|=16384,l.createUniqueName("_newTarget",48);return e}(r);case 164:return function(n){e.Debug.assert(!e.isComputedPropertyName(n.name));var t=K(n,e.moveRangePos(n,-1),void 0,void 0);return e.setEmitFlags(t,512|e.getEmitFlags(t)),e.setTextRange(l.createPropertyAssignment(n.name,t),n)}(r);case 166:case 167:return function(t){e.Debug.assert(!e.isComputedPropertyName(t.name));var r=s;s=void 0;var a,i=b(16286,65),o=e.visitParameterList(t.parameters,L,n),c=H(t);a=166===t.kind?l.updateGetAccessorDeclaration(t,t.decorators,t.modifiers,t.name,o,t.type,c):l.updateSetAccessorDeclaration(t,t.decorators,t.modifiers,t.name,o,c);return E(i,49152,0),s=r,a}(r);case 229:return function(t){var r,a=b(0,e.hasSyntacticModifier(t,1)?32:0);if(s&&0==(3&t.declarationList.flags)&&!function(n){return 1===n.declarationList.declarations.length&&!!n.declarationList.declarations[0].initializer&&!!(33554432&e.getEmitFlags(n.declarationList.declarations[0].initializer))}(t)){for(var i=void 0,o=0,c=t.declarationList.declarations;o<c.length;o++){var u=c[o];if(de(s,u),u.initializer){var d=void 0;e.isBindingPattern(u.name)?d=e.flattenDestructuringAssignment(u,L,n,0):(d=l.createBinaryExpression(u.name,62,e.visitNode(u.initializer,L,e.isExpression)),e.setTextRange(d,u)),i=e.append(i,d)}}r=i?e.setTextRange(l.createExpressionStatement(l.inlineExpressions(i)),t):void 0}else r=e.visitEachChild(t,L,n);return E(a,0,0),r}(r);case 239:return function(t){if(s)return s.nonLocalJumps|=8,T(t)&&(t=A(t)),l.createReturnStatement(l.createObjectLiteralExpression([l.createPropertyAssignment(l.createIdentifier("value"),t.expression?e.visitNode(t.expression,L,e.isExpression):l.createVoidZero())]));if(T(t))return A(t);return e.visitEachChild(t,L,n)}(r);default:return e.visitEachChild(r,L,n)}}(r):r}function x(e){return 105===e.kind?Ne(!0):L(e)}function A(n){return e.setOriginalNode(l.createReturnStatement(l.createUniqueName("_this",48)),n)}function D(e){return s&&g.isArgumentsLocalBinding(e)?s.argumentsName||(s.argumentsName=l.createUniqueName("arguments")):e}function C(i){i.name&&Re();var o=e.getClassExtendsHeritageElement(i),c=l.createFunctionExpression(void 0,void 0,void 0,void 0,o?[l.createParameterDeclaration(void 0,void 0,void 0,l.createUniqueName("_super",48))]:[],void 0,function(i,o){var c=[];d(),function(n,t,r){r&&n.push(e.setTextRange(l.createExpressionStatement(u().createExtendsHelper(l.getInternalName(t))),r))}(c,i,o),function(t,r,i){var o=s;s=void 0;var c=b(16278,73),u=e.getFirstConstructorWithBody(r),d=function(n,t){if(!n||!t)return!1;if(e.some(n.parameters))return!1;var r=e.firstOrUndefined(n.body.statements);if(!r||!e.nodeIsSynthesized(r)||230!==r.kind)return!1;var a=r.expression;if(!e.nodeIsSynthesized(a)||200!==a.kind)return!1;var i=a.expression;if(!e.nodeIsSynthesized(i)||105!==i.kind)return!1;var o=e.singleOrUndefined(a.arguments);if(!o||!e.nodeIsSynthesized(o)||217!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}(u,void 0!==i),m=l.createFunctionDeclaration(void 0,void 0,void 0,l.getInternalName(r),void 0,function(t,r){return e.visitParameterList(t&&!r?t.parameters:void 0,L,n)||[]}(u,d),void 0,function(n,t,r,i){var o=!!r&&103!==e.skipOuterExpressions(r.expression).kind;if(!n)return function(n,t){var r=[];p(),l.mergeLexicalEnvironment(r,f()),t&&r.push(l.createReturnStatement(N()));var a=l.createNodeArray(r);e.setTextRange(a,n.members);var i=l.createBlock(a,!0);return e.setTextRange(i,n),e.setEmitFlags(i,1536),i}(t,o);var s=[],c=[];p();var u,d=0;i||(d=l.copyStandardPrologue(n.body.statements,s,!1));k(c,n),M(c,n,i),i||(d=l.copyCustomPrologue(n.body.statements,c,d,L));if(i)u=N();else if(o&&d<n.body.statements.length){var m=n.body.statements[d];e.isExpressionStatement(m)&&e.isSuperCall(m.expression)&&(u=function(e){return Te(e,!1)}(m.expression))}u&&(a|=8192,d++);if(e.addRange(c,e.visitNodes(n.body.statements,L,e.isStatement,d)),l.mergeLexicalEnvironment(s,f()),G(s,n,!1),o)if(!u||d!==n.body.statements.length||4096&n.body.transformFlags)F(c,n,u||I()),function n(t){if(239===t.kind)return!0;if(231===t.kind){var r=t;if(r.elseStatement)return n(r.thenStatement)&&n(r.elseStatement)}else if(227===t.kind){var a=e.lastOrUndefined(t.statements);if(a&&n(a))return!0}return!1}(n.body)||c.push(l.createReturnStatement(l.createUniqueName("_this",48)));else{var _=e.cast(e.cast(u,e.isBinaryExpression).left,e.isCallExpression),g=l.createReturnStatement(u);e.setCommentRange(g,e.getCommentRange(_)),e.setEmitFlags(_,1536),c.push(g)}else w(s,n);var y=l.createBlock(e.setTextRange(l.createNodeArray(e.concatenate(s,c)),n.body.statements),!0);return e.setTextRange(y,n.body),y}(u,r,i,d));e.setTextRange(m,u||r),i&&e.setEmitFlags(m,8);t.push(m),E(c,49152,0),s=o}(c,i,o),function(n,r){for(var a=0,i=r.members;a<i.length;a++){var o=i[a];switch(o.kind){case 226:n.push(B(o));break;case 164:n.push(U(Oe(r,o),o,r));break;case 166:case 167:var s=e.getAllAccessorDeclarations(r.members,o);o===s.firstAccessor&&n.push(V(Oe(r,o),s,r));break;case 165:break;default:e.Debug.failBadSyntaxKind(o,t&&t.fileName)}}}(c,i);var m=e.createTokenRange(e.skipTrivia(r,i.members.end),19),_=l.getInternalName(i),g=l.createPartiallyEmittedExpression(_);e.setTextRangeEnd(g,m.end),e.setEmitFlags(g,1536);var y=l.createReturnStatement(g);e.setTextRangePos(y,m.pos),e.setEmitFlags(y,1920),c.push(y),e.insertStatementsAfterStandardPrologue(c,f());var h=l.createBlock(e.setTextRange(l.createNodeArray(c),i.members),!0);return e.setEmitFlags(h,1536),h}(i,o));e.setEmitFlags(c,65536&e.getEmitFlags(i)|524288);var m=l.createPartiallyEmittedExpression(c);e.setTextRangeEnd(m,i.end),e.setEmitFlags(m,1536);var _=l.createPartiallyEmittedExpression(m);e.setTextRangeEnd(_,e.skipTrivia(r,i.pos)),e.setEmitFlags(_,1536);var g=l.createParenthesizedExpression(l.createCallExpression(_,void 0,o?[e.visitNode(o.expression,L,e.isExpression)]:[]));return e.addSyntheticLeadingComment(g,3,"* @class "),g}function I(){return e.setEmitFlags(l.createThis(),4)}function N(){return l.createLogicalOr(l.createLogicalAnd(l.createStrictInequality(l.createUniqueName("_super",48),l.createNull()),l.createFunctionApplyCall(l.createUniqueName("_super",48),I(),l.createIdentifier("arguments"))),I())}function R(n){return void 0!==n.initializer||e.isBindingPattern(n.name)}function k(n,t){if(!e.some(t.parameters,R))return!1;for(var r=!1,a=0,i=t.parameters;a<i.length;a++){var o=i[a],s=o.name,c=o.initializer;o.dotDotDotToken||(e.isBindingPattern(s)?r=O(n,o,s,c)||r:c&&(P(n,o,s,c),r=!0))}return r}function O(t,r,a,i){return a.elements.length>0?(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(r,L,n,0,l.getGeneratedNameForNode(r)))),1048576)),!0):!!i&&(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(l.createExpressionStatement(l.createAssignment(l.getGeneratedNameForNode(r),e.visitNode(i,L,e.isExpression))),1048576)),!0)}function P(n,t,r,a){a=e.visitNode(a,L,e.isExpression);var i=l.createIfStatement(l.createTypeCheck(l.cloneNode(r),"undefined"),e.setEmitFlags(e.setTextRange(l.createBlock([l.createExpressionStatement(e.setEmitFlags(e.setTextRange(l.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(l.cloneNode(r),r),r.parent),48),e.setEmitFlags(a,1584|e.getEmitFlags(a))),t),1536))]),t),1953));e.startOnNewLine(i),e.setTextRange(i,t),e.setEmitFlags(i,1050528),e.insertStatementAfterCustomPrologue(n,i)}function M(t,r,a){var i=[],o=e.lastOrUndefined(r.parameters);if(!function(e,n){return!(!e||!e.dotDotDotToken||n)}(o,a))return!1;var s=78===o.name.kind?e.setParent(e.setTextRange(l.cloneNode(o.name),o.name),o.name.parent):l.createTempVariable(void 0);e.setEmitFlags(s,48);var c=78===o.name.kind?l.cloneNode(o.name):s,u=r.parameters.length-1,d=l.createLoopVariable();i.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(s,void 0,void 0,l.createArrayLiteralExpression([]))])),o),1048576));var p=l.createForStatement(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(d,void 0,void 0,l.createNumericLiteral(u))]),o),e.setTextRange(l.createLessThan(d,l.createPropertyAccessExpression(l.createIdentifier("arguments"),"length")),o),e.setTextRange(l.createPostfixIncrement(d),o),l.createBlock([e.startOnNewLine(e.setTextRange(l.createExpressionStatement(l.createAssignment(l.createElementAccessExpression(c,0===u?d:l.createSubtract(d,l.createNumericLiteral(u))),l.createElementAccessExpression(l.createIdentifier("arguments"),d))),o))]));return e.setEmitFlags(p,1048576),e.startOnNewLine(p),i.push(p),78!==o.name.kind&&i.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(o,L,n,0,c))),o),1048576)),e.insertStatementsAfterCustomPrologue(t,i),!0}function w(e,n){return!!(32768&a&&206!==n.kind)&&(F(e,n,l.createThis()),!0)}function F(n,t,r){ke();var a=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_this",48),void 0,void 0,r)]));e.setEmitFlags(a,1050112),e.setSourceMapRange(a,t),e.insertStatementAfterCustomPrologue(n,a)}function G(n,t,r){if(16384&a){var i=void 0;switch(t.kind){case 206:return n;case 164:case 166:case 167:i=l.createVoidZero();break;case 165:i=l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor");break;case 248:case 205:i=l.createConditionalExpression(l.createLogicalAnd(e.setEmitFlags(l.createThis(),4),l.createBinaryExpression(e.setEmitFlags(l.createThis(),4),101,l.getLocalName(t))),void 0,l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor"),void 0,l.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(t)}var o=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_newTarget",48),void 0,void 0,i)]));e.setEmitFlags(o,1050112),r&&(n=n.slice()),e.insertStatementAfterCustomPrologue(n,o)}return n}function B(n){return e.setTextRange(l.createEmptyStatement(),n)}function U(t,r,a){var i,o=e.getCommentRange(r),s=e.getSourceMapRange(r),c=K(r,r,void 0,a),u=e.visitNode(r.name,L,e.isPropertyName);if(!e.isPrivateIdentifier(u)&&n.getCompilerOptions().useDefineForClassFields){var d=e.isComputedPropertyName(u)?u.expression:e.isIdentifier(u)?l.createStringLiteral(e.unescapeLeadingUnderscores(u.escapedText)):u;i=l.createObjectDefinePropertyCall(t,d,l.createPropertyDescriptor({value:c,enumerable:!1,writable:!0,configurable:!0}))}else{var p=e.createMemberAccessForPropertyName(l,t,u,r.name);i=l.createAssignment(p,c)}e.setEmitFlags(c,1536),e.setSourceMapRange(c,s);var f=e.setTextRange(l.createExpressionStatement(i),r);return e.setOriginalNode(f,r),e.setCommentRange(f,o),e.setEmitFlags(f,48),f}function V(n,t,r){var a=l.createExpressionStatement(j(n,t,r,!1));return e.setEmitFlags(a,1536),e.setSourceMapRange(a,e.getSourceMapRange(t.firstAccessor)),a}function j(n,t,r,a){var i=t.firstAccessor,o=t.getAccessor,s=t.setAccessor,c=e.setParent(e.setTextRange(l.cloneNode(n),n),n.parent);e.setEmitFlags(c,1568),e.setSourceMapRange(c,i.name);var u=e.visitNode(i.name,L,e.isPropertyName);if(e.isPrivateIdentifier(u))return e.Debug.failBadSyntaxKind(u,"Encountered unhandled private identifier while transforming ES2015.");var d=e.createExpressionForPropertyName(l,u);e.setEmitFlags(d,1552),e.setSourceMapRange(d,i.name);var p=[];if(o){var f=K(o,void 0,void 0,r);e.setSourceMapRange(f,e.getSourceMapRange(o)),e.setEmitFlags(f,512);var m=l.createPropertyAssignment("get",f);e.setCommentRange(m,e.getCommentRange(o)),p.push(m)}if(s){var _=K(s,void 0,void 0,r);e.setSourceMapRange(_,e.getSourceMapRange(s)),e.setEmitFlags(_,512);var g=l.createPropertyAssignment("set",_);e.setCommentRange(g,e.getCommentRange(s)),p.push(g)}p.push(l.createPropertyAssignment("enumerable",o||s?l.createFalse():l.createTrue()),l.createPropertyAssignment("configurable",l.createTrue()));var y=l.createCallExpression(l.createPropertyAccessExpression(l.createIdentifier("Object"),"defineProperty"),void 0,[c,d,l.createObjectLiteralExpression(p,!0)]);return a&&e.startOnNewLine(y),y}function K(t,r,i,o){var c=s;s=void 0;var u=o&&e.isClassLike(o)&&!e.hasSyntacticModifier(t,32)?b(16286,73):b(16286,65),d=e.visitParameterList(t.parameters,L,n),p=H(t);return 16384&a&&!i&&(248===t.kind||205===t.kind)&&(i=l.getGeneratedNameForNode(t)),E(u,49152,0),s=c,e.setOriginalNode(e.setTextRange(l.createFunctionExpression(void 0,t.asteriskToken,i,void 0,d,void 0,p),r),t)}function H(n){var r,a,i,o=!1,s=!1,c=[],u=[],d=n.body;if(p(),e.isBlock(d)&&(i=l.copyStandardPrologue(d.statements,c,!1),i=l.copyCustomPrologue(d.statements,u,i,L,e.isHoistedFunction),i=l.copyCustomPrologue(d.statements,u,i,L,e.isHoistedVariableStatement)),o=k(u,n)||o,o=M(u,n,!1)||o,e.isBlock(d))i=l.copyCustomPrologue(d.statements,u,i,L),r=d.statements,e.addRange(u,e.visitNodes(d.statements,L,e.isStatement,i)),!o&&d.multiLine&&(o=!0);else{e.Debug.assert(206===n.kind),r=e.moveRangeEnd(d,-1);var m=n.equalsGreaterThanToken;e.nodeIsSynthesized(m)||e.nodeIsSynthesized(d)||(e.rangeEndIsOnSameLineAsRangeStart(m,d,t)?s=!0:o=!0);var _=e.visitNode(d,L,e.isExpression),g=l.createReturnStatement(_);e.setTextRange(g,d),e.moveSyntheticComments(g,d),e.setEmitFlags(g,1440),u.push(g),a=d}if(l.mergeLexicalEnvironment(c,f()),G(c,n,!1),w(c,n),e.some(c)&&(o=!0),u.unshift.apply(u,c),e.isBlock(d)&&e.arrayIsEqualTo(u,d.statements))return d;var y=l.createBlock(e.setTextRange(l.createNodeArray(u),r),o);return e.setTextRange(y,n.body),!o&&s&&e.setEmitFlags(y,1),a&&e.setTokenSourceMapRange(y,19,a),e.setOriginalNode(y,n.body),y}function W(t,r){if(!r)switch(t.expression.kind){case 204:return l.updateParenthesizedExpression(t,W(t.expression,!1));case 213:return l.updateParenthesizedExpression(t,q(t.expression,!1))}return e.visitEachChild(t,L,n)}function q(t,r){return e.isDestructuringAssignment(t)?e.flattenDestructuringAssignment(t,L,n,0,r):e.visitEachChild(t,L,n)}function z(t){var r=t.name;return e.isBindingPattern(r)?J(t):!t.initializer&&function(e){var n=g.getNodeCheckFlags(e),t=262144&n,r=524288&n;return!(0!=(64&a)||t&&r&&0!=(512&a))&&0==(4096&a)&&(!g.isDeclarationWithCollidingName(e)||r&&!t&&0==(6144&a))}(t)?l.updateVariableDeclaration(t,t.name,void 0,void 0,l.createVoidZero()):e.visitEachChild(t,L,n)}function J(t){var r,a=b(32,0);return r=e.isBindingPattern(t.name)?e.flattenDestructuringBinding(t,L,n,0,void 0,0!=(32&a)):e.visitEachChild(t,L,n),E(a,0,0),r}function X(n){s.labels.set(e.idText(n.label),!0)}function Y(n){s.labels.set(e.idText(n.label),!1)}function Q(t,r,i,o,c){var u=b(t,r),p=function(t,r,i,o){if(!le(t)){var c=void 0;s&&(c=s.allowedNonLabeledJumps,s.allowedNonLabeledJumps=6);var u=o?o(t,r,void 0,i):l.restoreEnclosingLabel(e.visitEachChild(t,L,n),r,s&&Y);return s&&(s.allowedNonLabeledJumps=c),u}var p=function(n){var t;switch(n.kind){case 234:case 235:case 236:var r=n.initializer;r&&247===r.kind&&(t=r)}var a=[],i=[];if(t&&3&e.getCombinedNodeFlags(t))for(var o=se(n),c=0,l=t.declarations;c<l.length;c++){var u=l[c];he(n,u,a,i,o)}var d={loopParameters:a,loopOutParameters:i};s&&(s.argumentsName&&(d.argumentsName=s.argumentsName),s.thisName&&(d.thisName=s.thisName),s.hoistedLocalVariables&&(d.hoistedLocalVariables=s.hoistedLocalVariables));return d}(t),m=[],_=s;s=p;var g,y=se(t)?function(n,t){var r=l.createUniqueName("_loop_init"),i=0!=(262144&n.initializer.transformFlags),o=0;t.containsLexicalThis&&(o|=8);i&&4&a&&(o|=262144);var s=[];s.push(l.createVariableStatement(void 0,n.initializer)),_e(t.loopOutParameters,2,1,s);var c=l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(r,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,i?l.createToken(41):void 0,void 0,void 0,void 0,void 0,e.visitNode(l.createBlock(s,!0),L,e.isBlock)),o))]),2097152)),u=l.createVariableDeclarationList(e.map(t.loopOutParameters,fe));return{functionName:r,containsYield:i,functionDeclaration:c,part:u}}(t,p):void 0,h=ue(t)?function(n,t,r){var i=l.createUniqueName("_loop");d();var o=e.visitNode(n.statement,L,e.isStatement,l.liftToBlock),s=f(),c=[];(ce(n)||function(n){return e.isForStatement(n)&&!!n.incrementor&&oe(n.incrementor)}(n))&&(t.conditionVariable=l.createUniqueName("inc"),n.incrementor?c.push(l.createIfStatement(t.conditionVariable,l.createExpressionStatement(e.visitNode(n.incrementor,L,e.isExpression)),l.createExpressionStatement(l.createAssignment(t.conditionVariable,l.createTrue())))):c.push(l.createIfStatement(l.createLogicalNot(t.conditionVariable),l.createExpressionStatement(l.createAssignment(t.conditionVariable,l.createTrue())))),ce(n)&&c.push(l.createIfStatement(l.createPrefixUnaryExpression(53,e.visitNode(n.condition,L,e.isExpression)),e.visitNode(l.createBreakStatement(),L,e.isStatement))));e.isBlock(o)?e.addRange(c,o.statements):c.push(o);_e(t.loopOutParameters,1,1,c),e.insertStatementsAfterStandardPrologue(c,s);var u=l.createBlock(c,!0);e.isBlock(o)&&e.setOriginalNode(u,o);var p=0!=(262144&n.statement.transformFlags),m=0;t.containsLexicalThis&&(m|=8);p&&0!=(4&a)&&(m|=262144);var _=l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(i,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,p?l.createToken(41):void 0,void 0,void 0,t.loopParameters,void 0,u),m))]),2097152)),g=function(n,t,r,a){var i=[],o=!(-5&t.nonLocalJumps||t.labeledNonLocalBreaks||t.labeledNonLocalContinues),s=l.createCallExpression(n,void 0,e.map(t.loopParameters,(function(e){return e.name}))),c=a?l.createYieldExpression(l.createToken(41),e.setEmitFlags(s,8388608)):s;if(o)i.push(l.createExpressionStatement(c)),_e(t.loopOutParameters,1,0,i);else{var u=l.createUniqueName("state"),d=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(u,void 0,void 0,c)]));if(i.push(d),_e(t.loopOutParameters,1,0,i),8&t.nonLocalJumps){var p=void 0;r?(r.nonLocalJumps|=8,p=l.createReturnStatement(u)):p=l.createReturnStatement(l.createPropertyAccessExpression(u,"value")),i.push(l.createIfStatement(l.createTypeCheck(u,"object"),p))}if(2&t.nonLocalJumps&&i.push(l.createIfStatement(l.createStrictEquality(u,l.createStringLiteral("break")),l.createBreakStatement())),t.labeledNonLocalBreaks||t.labeledNonLocalContinues){var f=[];ye(t.labeledNonLocalBreaks,!0,u,r,f),ye(t.labeledNonLocalContinues,!1,u,r,f),i.push(l.createSwitchStatement(u,l.createCaseBlock(f)))}}return i}(i,t,r,p);return{functionName:i,containsYield:p,functionDeclaration:_,part:g}}(t,p,_):void 0;s=_,y&&m.push(y.functionDeclaration);h&&m.push(h.functionDeclaration);(function(e,n,t){var r;n.argumentsName&&(t?t.argumentsName=n.argumentsName:(r||(r=[])).push(l.createVariableDeclaration(n.argumentsName,void 0,void 0,l.createIdentifier("arguments"))));n.thisName&&(t?t.thisName=n.thisName:(r||(r=[])).push(l.createVariableDeclaration(n.thisName,void 0,void 0,l.createIdentifier("this"))));if(n.hoistedLocalVariables)if(t)t.hoistedLocalVariables=n.hoistedLocalVariables;else{r||(r=[]);for(var a=0,i=n.hoistedLocalVariables;a<i.length;a++){var o=i[a];r.push(l.createVariableDeclaration(o))}}if(n.loopOutParameters.length){r||(r=[]);for(var s=0,c=n.loopOutParameters;s<c.length;s++){var u=c[s];r.push(l.createVariableDeclaration(u.outParamName))}}n.conditionVariable&&(r||(r=[]),r.push(l.createVariableDeclaration(n.conditionVariable,void 0,void 0,l.createFalse())));r&&e.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(r)))})(m,p,_),y&&m.push((v=y.functionName,b=y.containsYield,E=l.createCallExpression(v,void 0,[]),T=b?l.createYieldExpression(l.createToken(41),e.setEmitFlags(E,8388608)):E,l.createExpressionStatement(T)));var v,b,E,T;if(h)if(o)g=o(t,r,h.part,i);else{var S=pe(t,y,l.createBlock(h.part,!0));g=l.restoreEnclosingLabel(S,r,s&&Y)}else{var x=pe(t,y,e.visitNode(t.statement,L,e.isStatement,l.liftToBlock));g=l.restoreEnclosingLabel(x,r,s&&Y)}return m.push(g),m}(i,o,u,c);return E(u,0,0),p}function Z(e,n){return Q(0,1280,e,n)}function $(e,n){return Q(5056,3328,e,n)}function ee(e,n){return Q(3008,5376,e,n)}function ne(e,n){return Q(3008,5376,e,n,_.downlevelIteration?ie:ae)}function te(t,r,a){var i=[],o=t.initializer;if(e.isVariableDeclarationList(o)){3&t.initializer.flags&&Re();var s=e.firstOrUndefined(o.declarations);if(s&&e.isBindingPattern(s.name)){var c=e.flattenDestructuringBinding(s,L,n,0,r),u=e.setTextRange(l.createVariableDeclarationList(c),t.initializer);e.setOriginalNode(u,t.initializer),e.setSourceMapRange(u,e.createRange(c[0].pos,e.last(c).end)),i.push(l.createVariableStatement(void 0,u))}else i.push(e.setTextRange(l.createVariableStatement(void 0,e.setOriginalNode(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(s?s.name:l.createTempVariable(void 0),void 0,void 0,r)]),e.moveRangePos(o,-1)),o)),e.moveRangeEnd(o,-1)))}else{var d=l.createAssignment(o,r);e.isDestructuringAssignment(d)?i.push(l.createExpressionStatement(q(d,!1))):(e.setTextRangeEnd(d,o.end),i.push(e.setTextRange(l.createExpressionStatement(e.visitNode(d,L,e.isExpression)),e.moveRangeEnd(o,-1))))}if(a)return re(e.addRange(i,a));var p=e.visitNode(t.statement,L,e.isStatement,l.liftToBlock);return e.isBlock(p)?l.updateBlock(p,e.setTextRange(l.createNodeArray(e.concatenate(i,p.statements)),p.statements)):(i.push(p),re(i))}function re(n){return e.setEmitFlags(l.createBlock(l.createNodeArray(n),!0),432)}function ae(n,t,r){var a=e.visitNode(n.expression,L,e.isExpression),i=l.createLoopVariable(),o=e.isIdentifier(a)?l.getGeneratedNameForNode(a):l.createTempVariable(void 0);e.setEmitFlags(a,48|e.getEmitFlags(a));var c=e.setTextRange(l.createForStatement(e.setEmitFlags(e.setTextRange(l.createVariableDeclarationList([e.setTextRange(l.createVariableDeclaration(i,void 0,void 0,l.createNumericLiteral(0)),e.moveRangePos(n.expression,-1)),e.setTextRange(l.createVariableDeclaration(o,void 0,void 0,a),n.expression)]),n.expression),2097152),e.setTextRange(l.createLessThan(i,l.createPropertyAccessExpression(o,"length")),n.expression),e.setTextRange(l.createPostfixIncrement(i),n.expression),te(n,l.createElementAccessExpression(o,i),r)),n);return e.setEmitFlags(c,256),e.setTextRange(c,n),l.restoreEnclosingLabel(c,t,s&&Y)}function ie(n,t,r,a){var i=e.visitNode(n.expression,L,e.isExpression),o=e.isIdentifier(i)?l.getGeneratedNameForNode(i):l.createTempVariable(void 0),c=e.isIdentifier(i)?l.getGeneratedNameForNode(o):l.createTempVariable(void 0),d=l.createUniqueName("e"),p=l.getGeneratedNameForNode(d),f=l.createTempVariable(void 0),_=e.setTextRange(u().createValuesHelper(i),n.expression),g=l.createCallExpression(l.createPropertyAccessExpression(o,"next"),void 0,[]);m(d),m(f);var y=1024&a?l.inlineExpressions([l.createAssignment(d,l.createVoidZero()),_]):_,h=e.setEmitFlags(e.setTextRange(l.createForStatement(e.setEmitFlags(e.setTextRange(l.createVariableDeclarationList([e.setTextRange(l.createVariableDeclaration(o,void 0,void 0,y),n.expression),l.createVariableDeclaration(c,void 0,void 0,g)]),n.expression),2097152),l.createLogicalNot(l.createPropertyAccessExpression(c,"done")),l.createAssignment(c,g),te(n,l.createPropertyAccessExpression(c,"value"),r)),n),256);return l.createTryStatement(l.createBlock([l.restoreEnclosingLabel(h,t,s&&Y)]),l.createCatchClause(l.createVariableDeclaration(p),e.setEmitFlags(l.createBlock([l.createExpressionStatement(l.createAssignment(d,l.createObjectLiteralExpression([l.createPropertyAssignment("error",p)])))]),1)),l.createBlock([l.createTryStatement(l.createBlock([e.setEmitFlags(l.createIfStatement(l.createLogicalAnd(l.createLogicalAnd(c,l.createLogicalNot(l.createPropertyAccessExpression(c,"done"))),l.createAssignment(f,l.createPropertyAccessExpression(o,"return"))),l.createExpressionStatement(l.createFunctionCallCall(f,o,[]))),1)]),void 0,e.setEmitFlags(l.createBlock([e.setEmitFlags(l.createIfStatement(d,l.createThrowStatement(l.createPropertyAccessExpression(d,"error"))),1)]),1))]))}function oe(e){return 0!=(131072&g.getNodeCheckFlags(e))}function se(n){return e.isForStatement(n)&&!!n.initializer&&oe(n.initializer)}function ce(n){return e.isForStatement(n)&&!!n.condition&&oe(n.condition)}function le(e){return ue(e)||se(e)}function ue(e){return 0!=(65536&g.getNodeCheckFlags(e))}function de(n,t){n.hoistedLocalVariables||(n.hoistedLocalVariables=[]),function t(r){if(78===r.kind)n.hoistedLocalVariables.push(r);else for(var a=0,i=r.elements;a<i.length;a++){var o=i[a];e.isOmittedExpression(o)||t(o.name)}}(t.name)}function pe(n,t,r){switch(n.kind){case 234:return function(n,t,r){var a=n.condition&&oe(n.condition),i=a||n.incrementor&&oe(n.incrementor);return l.updateForStatement(n,e.visitNode(t?t.part:n.initializer,L,e.isForInitializer),e.visitNode(a?void 0:n.condition,L,e.isExpression),e.visitNode(i?void 0:n.incrementor,L,e.isExpression),r)}(n,t,r);case 235:return function(n,t){return l.updateForInStatement(n,e.visitNode(n.initializer,L,e.isForInitializer),e.visitNode(n.expression,L,e.isExpression),t)}(n,r);case 236:return function(n,t){return l.updateForOfStatement(n,void 0,e.visitNode(n.initializer,L,e.isForInitializer),e.visitNode(n.expression,L,e.isExpression),t)}(n,r);case 232:return function(n,t){return l.updateDoStatement(n,t,e.visitNode(n.expression,L,e.isExpression))}(n,r);case 233:return function(n,t){return l.updateWhileStatement(n,e.visitNode(n.expression,L,e.isExpression),t)}(n,r);default:return e.Debug.failBadSyntaxKind(n,"IterationStatement expected")}}function fe(e){return l.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function me(e,n){var t=0===n?e.outParamName:e.originalName,r=0===n?e.originalName:e.outParamName;return l.createBinaryExpression(r,62,t)}function _e(e,n,t,r){for(var a=0,i=e;a<i.length;a++){var o=i[a];o.flags&n&&r.push(l.createExpressionStatement(me(o,t)))}}function ge(n,t,r,a){t?(n.labeledNonLocalBreaks||(n.labeledNonLocalBreaks=new e.Map),n.labeledNonLocalBreaks.set(r,a)):(n.labeledNonLocalContinues||(n.labeledNonLocalContinues=new e.Map),n.labeledNonLocalContinues.set(r,a))}function ye(e,n,t,r,a){e&&e.forEach((function(e,i){var o=[];if(!r||r.labels&&r.labels.get(i)){var s=l.createIdentifier(i);o.push(n?l.createBreakStatement(s):l.createContinueStatement(s))}else ge(r,n,i,e),o.push(l.createReturnStatement(t));a.push(l.createCaseClause(l.createStringLiteral(e),o))}))}function he(n,t,r,a,i){var o=t.name;if(e.isBindingPattern(o))for(var s=0,c=o.elements;s<c.length;s++){var u=c[s];e.isOmittedExpression(u)||he(n,u,r,a,i)}else{r.push(l.createParameterDeclaration(void 0,void 0,void 0,o));var d=g.getNodeCheckFlags(t);if(4194304&d||i){var p=l.createUniqueName("out_"+e.idText(o)),f=0;4194304&d&&(f|=1),e.isForStatement(n)&&n.initializer&&g.isBindingCapturedByNode(n.initializer,t)&&(f|=2),a.push({flags:f,originalName:o,outParamName:p})}}}function ve(n,t,r){var a=l.createAssignment(e.createMemberAccessForPropertyName(l,t,e.visitNode(n.name,L,e.isPropertyName)),e.visitNode(n.initializer,L,e.isExpression));return e.setTextRange(a,n),r&&e.startOnNewLine(a),a}function be(n,t,r){var a=l.createAssignment(e.createMemberAccessForPropertyName(l,t,e.visitNode(n.name,L,e.isPropertyName)),l.cloneNode(n.name));return e.setTextRange(a,n),r&&e.startOnNewLine(a),a}function Ee(n,t,r,a){var i=l.createAssignment(e.createMemberAccessForPropertyName(l,t,e.visitNode(n.name,L,e.isPropertyName)),K(n,n,void 0,r));return e.setTextRange(i,n),a&&e.startOnNewLine(i),i}function Te(t,r){if(8192&t.transformFlags||105===t.expression.kind||e.isSuperProperty(e.skipOuterExpressions(t.expression))){var a=l.createCallBinding(t.expression,m),i=a.target,o=a.thisArg;105===t.expression.kind&&e.setEmitFlags(o,4);var s=void 0;if(s=8192&t.transformFlags?l.createFunctionApplyCall(e.visitNode(i,x,e.isExpression),105===t.expression.kind?o:e.visitNode(o,L,e.isExpression),Se(t.arguments,!1,!1,!1)):e.setTextRange(l.createFunctionCallCall(e.visitNode(i,x,e.isExpression),105===t.expression.kind?o:e.visitNode(o,L,e.isExpression),e.visitNodes(t.arguments,L,e.isExpression)),t),105===t.expression.kind){var c=l.createLogicalOr(s,I());s=r?l.createAssignment(l.createUniqueName("_this",48),c):c}return e.setOriginalNode(s,t)}return e.visitEachChild(t,L,n)}function Se(n,t,r,a){var i,o=n.length,s=e.flatten(e.spanMap(n,Ae,(function(e,n,t,i){return n(e,r,a&&i===o)})));if(_.downlevelIteration){if(1===s.length)if(xe(c=s[0],"___spread"))return s[0];return u().createSpreadHelper(s)}if(1===s.length){var c=s[0];if(!t||(i=c,e.isArrayLiteralExpression(i)&&e.every(i.elements,Le))||xe(c,"___spreadArrays"))return s[0]}return u().createSpreadArraysHelper(s)}function Le(n){return!e.isOmittedExpression(n)}function xe(n,t){return e.isCallExpression(n)&&e.isIdentifier(n.expression)&&4096&e.getEmitFlags(n.expression)&&n.expression.escapedText===t}function Ae(n){return e.isSpreadElement(n)?De:Ce}function De(n){return e.map(n,Ie)}function Ce(n,t,r){return l.createArrayLiteralExpression(e.visitNodes(l.createNodeArray(n,r),L,e.isExpression),t)}function Ie(n){return e.visitNode(n.expression,L,e.isExpression)}function Ne(e){return 8&a&&!e?l.createPropertyAccessExpression(l.createUniqueName("_super",48),"prototype"):l.createUniqueName("_super",48)}function Re(){0==(2&c)&&(c|=2,n.enableSubstitution(78))}function ke(){0==(1&c)&&(c|=1,n.enableSubstitution(107),n.enableEmitNotification(165),n.enableEmitNotification(164),n.enableEmitNotification(166),n.enableEmitNotification(167),n.enableEmitNotification(206),n.enableEmitNotification(205),n.enableEmitNotification(248))}function Oe(n,t){return e.hasSyntacticModifier(t,32)?l.getInternalName(n):l.createPropertyAccessExpression(l.getInternalName(n),"prototype")}}}(p||(p={})),function(e){e.transformES5=function(n){var t,r,a=n.factory,i=n.getCompilerOptions();1!==i.jsx&&3!==i.jsx||(t=n.onEmitNode,n.onEmitNode=function(n,a,i){switch(a.kind){case 272:case 273:case 271:var o=a.tagName;r[e.getOriginalNodeId(o)]=!0}t(n,a,i)},n.enableEmitNotification(272),n.enableEmitNotification(273),n.enableEmitNotification(271),r=[]);var o=n.onSubstituteNode;return n.onSubstituteNode=function(n,t){if(t.id&&r&&r[t.id])return o(n,t);if(t=o(n,t),e.isPropertyAccessExpression(t))return function(n){if(e.isPrivateIdentifier(n.name))return n;var t=s(n.name);if(t)return e.setTextRange(a.createElementAccessExpression(n.expression,t),n);return n}(t);if(e.isPropertyAssignment(t))return function(n){var t=e.isIdentifier(n.name)&&s(n.name);if(t)return a.updatePropertyAssignment(n,t,n.initializer);return n}(t);return t},n.enableSubstitution(198),n.enableSubstitution(285),e.chainBundle(n,(function(e){return e}));function s(n){var t=n.originalKeywordKind||(e.nodeIsSynthesized(n)?e.stringToToken(e.idText(n)):void 0);if(void 0!==t&&t>=80&&t<=115)return e.setTextRange(a.createStringLiteralFromNode(n),n)}}}(p||(p={})),function(e){var n,t,r,a,i;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(n||(n={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(t||(t={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(r||(r={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(a||(a={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(i||(i={})),e.transformGenerators=function(n){var t,r,a,i,s,c,l,u,d,p,f=n.factory,m=n.getEmitHelperFactory,_=n.resumeLexicalEnvironment,g=n.endLexicalEnvironment,y=n.hoistFunctionDeclaration,h=n.hoistVariableDeclaration,v=n.getCompilerOptions(),b=e.getEmitScriptTarget(v),E=n.getEmitResolver(),T=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=T(n,a),1===n)return function(n){if(e.isIdentifier(n))return function(n){if(!e.isGeneratedIdentifier(n)&&t&&t.has(e.idText(n))){var a=e.getOriginalNode(n);if(e.isIdentifier(a)&&a.parent){var i=E.getReferencedValueDeclaration(a);if(i){var o=r[e.getOriginalNodeId(i)];if(o){var s=e.setParent(e.setTextRange(f.cloneNode(o),o),o.parent);return e.setSourceMapRange(s,n),e.setCommentRange(s,n),s}}}}return n}(n);return n}(a);return a};var S,L,x,A,D,C,I,N,R,k,O,P,M=1,w=0,F=0;return e.chainBundle(n,(function(t){if(t.isDeclarationFile||0==(512&t.transformFlags))return t;var r=e.visitEachChild(t,G,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function G(t){var r=t.transformFlags;return i?function(t){switch(t.kind){case 232:case 233:return function(t){return i?(ie(),t=e.visitEachChild(t,G,n),se(),t):e.visitEachChild(t,G,n)}(t);case 241:return function(t){i&&ne({kind:2,isScript:!0,breakLabel:-1});t=e.visitEachChild(t,G,n),i&&ce();return t}(t);case 242:return function(t){i&&ne({kind:4,isScript:!0,labelText:e.idText(t.label),breakLabel:-1});t=e.visitEachChild(t,G,n),i&&le();return t}(t);default:return B(t)}}(t):a?B(t):e.isFunctionLikeDeclaration(t)&&t.asteriskToken?function(n){switch(n.kind){case 248:return U(n);case 205:return V(n);default:return e.Debug.failBadSyntaxKind(n)}}(t):512&r?e.visitEachChild(t,G,n):t}function B(t){switch(t.kind){case 248:return U(t);case 205:return V(t);case 166:case 167:return function(t){var r=a,o=i;return a=!1,i=!1,t=e.visitEachChild(t,G,n),a=r,i=o,t}(t);case 229:return function(n){if(262144&n.transformFlags)return void z(n.declarationList);if(1048576&e.getEmitFlags(n))return n;for(var t=0,r=n.declarationList.declarations;t<r.length;t++){var a=r[t];h(a.name)}var i=e.getInitializedVariables(n.declarationList);if(0===i.length)return;return e.setSourceMapRange(f.createExpressionStatement(f.inlineExpressions(e.map(i,J))),n)}(t);case 234:return function(t){i&&ie();var r=t.initializer;if(r&&e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a<o.length;a++){var s=o[a];h(s.name)}var c=e.getInitializedVariables(r);t=f.updateForStatement(t,c.length>0?f.inlineExpressions(e.map(c,J)):void 0,e.visitNode(t.condition,G,e.isExpression),e.visitNode(t.incrementor,G,e.isExpression),e.visitNode(t.statement,G,e.isStatement,f.liftToBlock))}else t=e.visitEachChild(t,G,n);i&&se();return t}(t);case 235:return function(t){i&&ie();var r=t.initializer;if(e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a<o.length;a++){var s=o[a];h(s.name)}t=f.updateForInStatement(t,r.declarations[0].name,e.visitNode(t.expression,G,e.isExpression),e.visitNode(t.statement,G,e.isStatement,f.liftToBlock))}else t=e.visitEachChild(t,G,n);i&&se();return t}(t);case 238:return function(t){if(i){var r=me(t.label&&e.idText(t.label));if(r>0)return he(r,t)}return e.visitEachChild(t,G,n)}(t);case 237:return function(t){if(i){var r=_e(t.label&&e.idText(t.label));if(r>0)return he(r,t)}return e.visitEachChild(t,G,n)}(t);case 239:return function(n){return t=e.visitNode(n.expression,G,e.isExpression),r=n,e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(t?[ye(2),t]:[ye(2)])),r);var t,r}(t);default:return 262144&t.transformFlags?function(t){switch(t.kind){case 213:return function(t){var r=e.getExpressionAssociativity(t);switch(r){case 0:return function(t){if(X(t.right))return e.isLogicalOperator(t.operatorToken.kind)?function(n){var t=$(),r=Z();Ee(r,e.visitNode(n.left,G,e.isExpression),n.left),55===n.operatorToken.kind?Le(t,r,n.left):Se(t,r,n.left);return Ee(r,e.visitNode(n.right,G,e.isExpression),n.right),ee(t),r}(t):27===t.operatorToken.kind?function(n){var t=[];return r(n.left),r(n.right),f.inlineExpressions(t);function r(n){e.isBinaryExpression(n)&&27===n.operatorToken.kind?(r(n.left),r(n.right)):(X(n)&&t.length>0&&(xe(1,[f.createExpressionStatement(f.inlineExpressions(t))]),t=[]),t.push(e.visitNode(n,G,e.isExpression)))}}(t):f.updateBinaryExpression(t,Q(e.visitNode(t.left,G,e.isExpression)),t.operatorToken,e.visitNode(t.right,G,e.isExpression));return e.visitEachChild(t,G,n)}(t);case 1:return function(t){var r=t.left,a=t.right;if(X(a)){var i=void 0;switch(r.kind){case 198:i=f.updatePropertyAccessExpression(r,Q(e.visitNode(r.expression,G,e.isLeftHandSideExpression)),r.name);break;case 199:i=f.updateElementAccessExpression(r,Q(e.visitNode(r.expression,G,e.isLeftHandSideExpression)),Q(e.visitNode(r.argumentExpression,G,e.isExpression)));break;default:i=e.visitNode(r,G,e.isExpression)}var o=t.operatorToken.kind;return e.isCompoundAssignment(o)?e.setTextRange(f.createAssignment(i,e.setTextRange(f.createBinaryExpression(Q(i),e.getNonAssignmentOperatorForCompoundAssignment(o),e.visitNode(a,G,e.isExpression)),t)),t):f.updateBinaryExpression(t,i,t.operatorToken,e.visitNode(a,G,e.isExpression))}return e.visitEachChild(t,G,n)}(t);default:return e.Debug.assertNever(r)}}(t);case 214:return function(t){if(X(t.whenTrue)||X(t.whenFalse)){var r=$(),a=$(),i=Z();return Le(r,e.visitNode(t.condition,G,e.isExpression),t.condition),Ee(i,e.visitNode(t.whenTrue,G,e.isExpression),t.whenTrue),Te(a),ee(r),Ee(i,e.visitNode(t.whenFalse,G,e.isExpression),t.whenFalse),ee(a),i}return e.visitEachChild(t,G,n)}(t);case 216:return function(n){var t=$(),r=e.visitNode(n.expression,G,e.isExpression);if(n.asteriskToken){!function(e,n){xe(7,[e],n)}(0==(8388608&e.getEmitFlags(n.expression))?e.setTextRange(m().createValuesHelper(r),n):r,n)}else!function(e,n){xe(6,[e],n)}(r,n);return ee(t),function(n){return e.setTextRange(f.createCallExpression(f.createPropertyAccessExpression(A,"sent"),void 0,[]),n)}(n)}(t);case 196:return function(e){return K(e.elements,void 0,void 0,e.multiLine)}(t);case 197:return function(n){var t=n.properties,r=n.multiLine,a=Y(t),i=Z();Ee(i,f.createObjectLiteralExpression(e.visitNodes(t,G,e.isObjectLiteralElementLike,0,a),r));var o=e.reduceLeft(t,(function(t,a){X(a)&&t.length>0&&(be(f.createExpressionStatement(f.inlineExpressions(t))),t=[]);var o=e.createExpressionForObjectLiteralElementLike(f,n,a,i),s=e.visitNode(o,G,e.isExpression);s&&(r&&e.startOnNewLine(s),t.push(s));return t}),[],a);return o.push(r?e.startOnNewLine(e.setParent(e.setTextRange(f.cloneNode(i),i),i.parent)):i),f.inlineExpressions(o)}(t);case 199:return function(t){if(X(t.argumentExpression))return f.updateElementAccessExpression(t,Q(e.visitNode(t.expression,G,e.isLeftHandSideExpression)),e.visitNode(t.argumentExpression,G,e.isExpression));return e.visitEachChild(t,G,n)}(t);case 200:return function(t){if(!e.isImportCall(t)&&e.forEach(t.arguments,X)){var r=f.createCallBinding(t.expression,h,b,!0),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(f.createFunctionApplyCall(Q(e.visitNode(a,G,e.isLeftHandSideExpression)),i,K(t.arguments)),t),t)}return e.visitEachChild(t,G,n)}(t);case 201:return function(t){if(e.forEach(t.arguments,X)){var r=f.createCallBinding(f.createPropertyAccessExpression(t.expression,"bind"),h),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(f.createNewExpression(f.createFunctionApplyCall(Q(e.visitNode(a,G,e.isExpression)),i,K(t.arguments,f.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,G,n)}(t);default:return e.visitEachChild(t,G,n)}}(t):1049088&t.transformFlags?e.visitEachChild(t,G,n):t}}function U(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(f.createFunctionDeclaration(void 0,t.modifiers,void 0,t.name,void 0,e.visitParameterList(t.parameters,G,n),void 0,j(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,G,n),a=r,i=o}return a?void y(t):t}function V(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(f.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,G,n),void 0,j(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,G,n),a=r,i=o}return t}function j(n){var t=[],r=a,o=i,m=s,y=c,h=l,v=u,b=d,E=p,T=M,D=S,C=L,I=x,N=A;a=!0,i=!1,s=void 0,c=void 0,l=void 0,u=void 0,d=void 0,p=void 0,M=1,S=void 0,L=void 0,x=void 0,A=f.createTempVariable(void 0),_();var R=f.copyPrologue(n.statements,t,!1,G);H(n.statements,R);var k=Ae();return e.insertStatementsAfterStandardPrologue(t,g()),t.push(f.createReturnStatement(k)),a=r,i=o,s=m,c=y,l=h,u=v,d=b,p=E,M=T,S=D,L=C,x=I,A=N,e.setTextRange(f.createBlock(t,n.multiLine),n)}function K(n,t,r,a){var i,s=Y(n);if(s>0){i=Z();var c=e.visitNodes(n,G,e.isExpression,0,s);Ee(i,f.createArrayLiteralExpression(t?o([t],c):c)),t=void 0}var l=e.reduceLeft(n,(function(n,r){if(X(r)&&n.length>0){var s=void 0!==i;i||(i=Z()),Ee(i,s?f.createArrayConcatCall(i,[f.createArrayLiteralExpression(n,a)]):f.createArrayLiteralExpression(t?o([t],n):n,a)),t=void 0,n=[]}return n.push(e.visitNode(r,G,e.isExpression)),n}),[],s);return i?f.createArrayConcatCall(i,[f.createArrayLiteralExpression(l,a)]):e.setTextRange(f.createArrayLiteralExpression(t?o([t],l):l,a),r)}function H(e,n){void 0===n&&(n=0);for(var t=e.length,r=n;r<t;r++)q(e[r])}function W(n){e.isBlock(n)?H(n.statements):q(n)}function q(a){var o=i;i||(i=X(a)),function(a){switch(a.kind){case 227:return function(n){X(n)?H(n.statements):be(e.visitNode(n,G,e.isStatement))}(a);case 230:return function(n){be(e.visitNode(n,G,e.isStatement))}(a);case 231:return function(n){if(X(n))if(X(n.thenStatement)||X(n.elseStatement)){var t=$(),r=n.elseStatement?$():void 0;Le(n.elseStatement?r:t,e.visitNode(n.expression,G,e.isExpression),n.expression),W(n.thenStatement),n.elseStatement&&(Te(t),ee(r),W(n.elseStatement)),ee(t)}else be(e.visitNode(n,G,e.isStatement));else be(e.visitNode(n,G,e.isStatement))}(a);case 232:return function(n){if(X(n)){var t=$(),r=$();oe(t),ee(r),W(n.statement),ee(t),Se(r,e.visitNode(n.expression,G,e.isExpression)),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 233:return function(n){if(X(n)){var t=$(),r=oe(t);ee(t),Le(r,e.visitNode(n.expression,G,e.isExpression)),W(n.statement),Te(t),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 234:return function(n){if(X(n)){var t=$(),r=$(),a=oe(r);if(n.initializer){var i=n.initializer;e.isVariableDeclarationList(i)?z(i):be(e.setTextRange(f.createExpressionStatement(e.visitNode(i,G,e.isExpression)),i))}ee(t),n.condition&&Le(a,e.visitNode(n.condition,G,e.isExpression)),W(n.statement),ee(r),n.incrementor&&be(e.setTextRange(f.createExpressionStatement(e.visitNode(n.incrementor,G,e.isExpression)),n.incrementor)),Te(t),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 235:return function(n){if(X(n)){var t=Z(),r=Z(),a=f.createLoopVariable(),i=n.initializer;h(a),Ee(t,f.createArrayLiteralExpression()),be(f.createForInStatement(r,e.visitNode(n.expression,G,e.isExpression),f.createExpressionStatement(f.createCallExpression(f.createPropertyAccessExpression(t,"push"),void 0,[r])))),Ee(a,f.createNumericLiteral(0));var o=$(),s=$(),c=oe(s);ee(o),Le(c,f.createLessThan(a,f.createPropertyAccessExpression(t,"length")));var l=void 0;if(e.isVariableDeclarationList(i)){for(var u=0,d=i.declarations;u<d.length;u++){var p=d[u];h(p.name)}l=f.cloneNode(i.declarations[0].name)}else l=e.visitNode(i,G,e.isExpression),e.Debug.assert(e.isLeftHandSideExpression(l));Ee(l,f.createElementAccessExpression(t,a)),W(n.statement),ee(s),be(f.createExpressionStatement(f.createPostfixIncrement(a))),Te(o),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 237:return function(n){var t=_e(n.label?e.idText(n.label):void 0);t>0?Te(t,n):be(n)}(a);case 238:return function(n){var t=me(n.label?e.idText(n.label):void 0);t>0?Te(t,n):be(n)}(a);case 239:return function(n){t=e.visitNode(n.expression,G,e.isExpression),r=n,xe(8,[t],r);var t,r}(a);case 240:return function(n){X(n)?(t=Q(e.visitNode(n.expression,G,e.isExpression)),r=$(),a=$(),ee(r),ne({kind:1,expression:t,startLabel:r,endLabel:a}),W(n.statement),e.Debug.assert(1===ae()),ee(te().endLabel)):be(e.visitNode(n,G,e.isStatement));var t,r,a}(a);case 241:return function(n){if(X(n.caseBlock)){for(var t=n.caseBlock,r=t.clauses.length,a=(ne({kind:2,isScript:!1,breakLabel:m=$()}),m),i=Q(e.visitNode(n.expression,G,e.isExpression)),o=[],s=-1,c=0;c<r;c++){var l=t.clauses[c];o.push($()),282===l.kind&&-1===s&&(s=c)}for(var u=0,d=[];u<r;){var p=0;for(c=u;c<r;c++){if(281===(l=t.clauses[c]).kind){if(X(l.expression)&&d.length>0)break;d.push(f.createCaseClause(e.visitNode(l.expression,G,e.isExpression),[he(o[c],l.expression)]))}else p++}d.length&&(be(f.createSwitchStatement(i,f.createCaseBlock(d))),u+=d.length,d=[]),p>0&&(u+=p,p=0)}Te(s>=0?o[s]:a);for(c=0;c<r;c++)ee(o[c]),H(t.clauses[c].statements);ce()}else be(e.visitNode(n,G,e.isStatement));var m}(a);case 242:return function(n){X(n)?(t=e.idText(n.label),r=$(),ne({kind:4,isScript:!1,labelText:t,breakLabel:r}),W(n.statement),le()):be(e.visitNode(n,G,e.isStatement));var t,r}(a);case 243:return function(n){var t;r=e.visitNode(null!==(t=n.expression)&&void 0!==t?t:f.createVoidZero(),G,e.isExpression),a=n,xe(9,[r],a);var r,a}(a);case 244:return function(a){X(a)?(i=$(),o=$(),ee(i),ne({kind:0,state:0,startLabel:i,endLabel:o}),ve(),W(a.tryBlock),a.catchClause&&(!function(a){var i;if(e.Debug.assert(0===ae()),e.isGeneratedIdentifier(a.name))i=a.name,h(a.name);else{var o=e.idText(a.name);i=Z(o),t||(t=new e.Map,r=[],n.enableSubstitution(78)),t.set(o,!0),r[e.getOriginalNodeId(a)]=i}var s=re();e.Debug.assert(s.state<1),Te(s.endLabel);var c=$();ee(c),s.state=1,s.catchVariable=i,s.catchLabel=c,Ee(i,f.createCallExpression(f.createPropertyAccessExpression(A,"sent"),void 0,[])),ve()}(a.catchClause.variableDeclaration),W(a.catchClause.block)),a.finallyBlock&&(!function(){e.Debug.assert(0===ae());var n=re();e.Debug.assert(n.state<2),Te(n.endLabel);var t=$();ee(t),n.state=2,n.finallyLabel=t}(),W(a.finallyBlock)),function(){e.Debug.assert(0===ae());var n=te();n.state<2?Te(n.endLabel):xe(10);ee(n.endLabel),ve(),n.state=3}()):be(e.visitEachChild(a,G,n));var i,o}(a);default:be(e.visitNode(a,G,e.isStatement))}}(a),i=o}function z(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t],i=f.cloneNode(a.name);e.setCommentRange(i,a.name),h(i)}for(var o=e.getInitializedVariables(n),s=o.length,c=0,l=[];c<s;){for(var u=c;u<s;u++){if(X((a=o[u]).initializer)&&l.length>0)break;l.push(J(a))}l.length&&(be(f.createExpressionStatement(f.inlineExpressions(l))),c+=l.length,l=[])}}function J(n){return e.setSourceMapRange(f.createAssignment(e.setSourceMapRange(f.cloneNode(n.name),n.name),e.visitNode(n.initializer,G,e.isExpression)),n)}function X(e){return!!e&&0!=(262144&e.transformFlags)}function Y(e){for(var n=e.length,t=0;t<n;t++)if(X(e[t]))return t;return-1}function Q(n){if(e.isGeneratedIdentifier(n)||4096&e.getEmitFlags(n))return n;var t=f.createTempVariable(h);return Ee(t,n,n),t}function Z(e){var n=e?f.createUniqueName(e):f.createTempVariable(void 0);return h(n),n}function $(){d||(d=[]);var e=M;return M++,d[e]=-1,e}function ee(n){e.Debug.assert(void 0!==d,"No labels were defined."),d[n]=S?S.length:0}function ne(e){s||(s=[],l=[],c=[],u=[]);var n=l.length;return l[n]=0,c[n]=S?S.length:0,s[n]=e,u.push(e),n}function te(){var n=re();if(void 0===n)return e.Debug.fail("beginBlock was never called.");var t=l.length;return l[t]=1,c[t]=S?S.length:0,s[t]=n,u.pop(),n}function re(){return e.lastOrUndefined(u)}function ae(){var e=re();return e&&e.kind}function ie(){ne({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function oe(e){var n=$();return ne({kind:3,isScript:!1,breakLabel:n,continueLabel:e}),n}function se(){e.Debug.assert(3===ae());var n=te(),t=n.breakLabel;n.isScript||ee(t)}function ce(){e.Debug.assert(2===ae());var n=te(),t=n.breakLabel;n.isScript||ee(t)}function le(){e.Debug.assert(4===ae());var n=te();n.isScript||ee(n.breakLabel)}function ue(e){return 2===e.kind||3===e.kind}function de(e){return 4===e.kind}function pe(e){return 3===e.kind}function fe(e,n){for(var t=n;t>=0;t--){var r=u[t];if(!de(r))break;if(r.labelText===e)return!0}return!1}function me(e){if(u)if(e)for(var n=u.length-1;n>=0;n--){if(de(t=u[n])&&t.labelText===e)return t.breakLabel;if(ue(t)&&fe(e,n-1))return t.breakLabel}else for(n=u.length-1;n>=0;n--){var t;if(ue(t=u[n]))return t.breakLabel}return 0}function _e(e){if(u)if(e)for(var n=u.length-1;n>=0;n--){if(pe(t=u[n])&&fe(e,n-1))return t.continueLabel}else for(n=u.length-1;n>=0;n--){var t;if(pe(t=u[n]))return t.continueLabel}return 0}function ge(e){if(void 0!==e&&e>0){void 0===p&&(p=[]);var n=f.createNumericLiteral(-1);return void 0===p[e]?p[e]=[n]:p[e].push(n),n}return f.createOmittedExpression()}function ye(n){var t=f.createNumericLiteral(n);return e.addSyntheticTrailingComment(t,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(n)),t}function he(n,t){return e.Debug.assertLessThan(0,n,"Invalid label"),e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),t)}function ve(){xe(0)}function be(e){e?xe(1,[e]):ve()}function Ee(e,n,t){xe(2,[e,n],t)}function Te(e,n){xe(3,[e],n)}function Se(e,n,t){xe(4,[e,n],t)}function Le(e,n,t){xe(5,[e,n],t)}function xe(e,n,t){void 0===S&&(S=[],L=[],x=[]),void 0===d&&ee($());var r=S.length;S[r]=e,L[r]=n,x[r]=t}function Ae(){w=0,F=0,D=void 0,C=!1,I=!1,N=void 0,R=void 0,k=void 0,O=void 0,P=void 0;var n=function(){if(S){for(var n=0;n<S.length;n++)Ne(n);De(S.length)}else De(0);if(N){var t=f.createPropertyAccessExpression(A,"label"),r=f.createSwitchStatement(t,f.createCaseBlock(N));return[e.startOnNewLine(r)]}if(R)return R;return[]}();return m().createGeneratorHelper(e.setEmitFlags(f.createFunctionExpression(void 0,void 0,void 0,void 0,[f.createParameterDeclaration(void 0,void 0,void 0,A)],void 0,f.createBlock(n,n.length>0)),524288))}function De(e){(function(e){if(!I)return!0;if(!d||!p)return!1;for(var n=0;n<d.length;n++)if(d[n]===e&&p[n])return!0;return!1})(e)&&(Ie(e),P=void 0,ke(void 0,void 0)),R&&N&&Ce(!1),function(){if(void 0!==p&&void 0!==D)for(var e=0;e<D.length;e++){var n=D[e];if(void 0!==n)for(var t=0,r=n;t<r.length;t++){var a=r[t],i=p[a];if(void 0!==i)for(var o=0,s=i;o<s.length;o++){s[o].text=String(e)}}}}()}function Ce(e){if(N||(N=[]),R){if(P)for(var n=P.length-1;n>=0;n--){var t=P[n];R=[f.createWithStatement(t.expression,f.createBlock(R))]}if(O){var r=O.startLabel,a=O.catchLabel,i=O.finallyLabel,o=O.endLabel;R.unshift(f.createExpressionStatement(f.createCallExpression(f.createPropertyAccessExpression(f.createPropertyAccessExpression(A,"trys"),"push"),void 0,[f.createArrayLiteralExpression([ge(r),ge(a),ge(i),ge(o)])]))),O=void 0}e&&R.push(f.createExpressionStatement(f.createAssignment(f.createPropertyAccessExpression(A,"label"),f.createNumericLiteral(F+1))))}N.push(f.createCaseClause(f.createNumericLiteral(F),R||[])),R=void 0}function Ie(e){if(d)for(var n=0;n<d.length;n++)d[n]===e&&(R&&(Ce(!C),C=!1,I=!1,F++),void 0===D&&(D=[]),void 0===D[F]?D[F]=[n]:D[F].push(n))}function Ne(n){if(Ie(n),function(e){if(s)for(;w<l.length&&c[w]<=e;w++){var n=s[w],t=l[w];switch(n.kind){case 0:0===t?(k||(k=[]),R||(R=[]),k.push(O),O=n):1===t&&(O=k.pop());break;case 1:0===t?(P||(P=[]),P.push(n)):1===t&&P.pop()}}}(n),!C){C=!1,I=!1;var t=S[n];if(0!==t){if(10===t)return C=!0,void Re(f.createReturnStatement(f.createArrayLiteralExpression([ye(7)])));var r=L[n];if(1===t)return Re(r[0]);var a,i,o,u=x[n];switch(t){case 2:return a=r[0],i=r[1],o=u,void Re(e.setTextRange(f.createExpressionStatement(f.createAssignment(a,i)),o));case 3:return function(n,t){C=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),t),384))}(r[0],u);case 4:return function(n,t,r){Re(e.setEmitFlags(f.createIfStatement(t,e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),r),384)),1))}(r[0],r[1],u);case 5:return function(n,t,r){Re(e.setEmitFlags(f.createIfStatement(f.createLogicalNot(t),e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),r),384)),1))}(r[0],r[1],u);case 6:return function(n,t){C=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(n?[ye(4),n]:[ye(4)])),t),384))}(r[0],u);case 7:return function(n,t){C=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(5),n])),t),384))}(r[0],u);case 8:return ke(r[0],u);case 9:return function(n,t){C=!0,I=!0,Re(e.setTextRange(f.createThrowStatement(n),t))}(r[0],u)}}}}function Re(e){e&&(R?R.push(e):R=[e])}function ke(n,t){C=!0,I=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(n?[ye(2),n]:[ye(2)])),t),384))}}}(p||(p={})),function(e){e.transformModule=function(t){var r=t.factory,a=t.getEmitHelperFactory,i=t.startLexicalEnvironment,s=t.endLexicalEnvironment,c=t.hoistVariableDeclaration,l=t.getCompilerOptions(),u=t.getEmitResolver(),d=t.getEmitHost(),p=e.getEmitScriptTarget(l),f=e.getEmitModuleKind(l),m=t.onSubstituteNode,_=t.onEmitNode;t.onSubstituteNode=function(n,t){if((t=m(n,t)).id&&h[t.id])return t;if(1===n)return function(n){switch(n.kind){case 78:return X(n);case 213:return function(n){if(e.isAssignmentOperator(n.operatorToken.kind)&&e.isIdentifier(n.left)&&!e.isGeneratedIdentifier(n.left)&&!e.isLocalName(n.left)&&!e.isDeclarationNameOfEnumOrNamespace(n.left)){var t=Y(n.left);if(t){for(var r=n,a=0,i=t;a<i.length;a++){var o=i[a];h[e.getNodeId(r)]=!0,r=z(o,r,n)}return r}}return n}(n);case 212:case 211:return function(n){if((45===n.operator||46===n.operator)&&e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&!e.isDeclarationNameOfEnumOrNamespace(n.operand)){var t=Y(n.operand);if(t){for(var a=212===n.kind?e.setTextRange(r.createBinaryExpression(n.operand,r.createToken(45===n.operator?63:64),r.createNumericLiteral(1)),n):n,i=0,o=t;i<o.length;i++){var s=o[i];h[e.getNodeId(a)]=!0,a=z(s,a)}return a}}return n}(n)}return n}(t);if(e.isShorthandPropertyAssignment(t))return function(n){var t=n.name,a=X(t);if(a!==t){if(n.objectAssignmentInitializer){var i=r.createAssignment(a,n.objectAssignmentInitializer);return e.setTextRange(r.createPropertyAssignment(t,i),n)}return e.setTextRange(r.createPropertyAssignment(t,a),n)}return n}(t);return t},t.onEmitNode=function(n,t,r){294===t.kind?(g=t,y=b[e.getOriginalNodeId(g)],h=[],_(n,t,r),g=void 0,y=void 0,h=void 0):_(n,t,r)},t.enableSubstitution(78),t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableSubstitution(286),t.enableEmitNotification(294);var g,y,h,v,b=[],E=[];return e.chainBundle(t,(function(n){if(n.isDeclarationFile||!(e.isEffectiveExternalModule(n,l)||2097152&n.transformFlags||e.isJsonSourceFile(n)&&e.hasJsonModuleEmitEnabled(l)&&e.outFile(l)))return n;g=n,y=e.collectExternalModuleInfo(t,n,u,l),b[e.getOriginalNodeId(n)]=y;var r=function(n){switch(n){case e.ModuleKind.AMD:return L;case e.ModuleKind.UMD:return x;default:return S}}(f)(n);return g=void 0,y=void 0,v=!1,r}));function T(){return!(y.exportEquals||!e.isExternalModule(g))}function S(n){i();var a=[],o=e.getStrictOptionValue(l,"alwaysStrict")||!l.noImplicitUseStrict&&e.isExternalModule(g),c=r.copyPrologue(n.statements,a,o&&!e.isJsonSourceFile(n),N);T()&&e.append(a,q()),e.length(y.exportedNames)&&e.append(a,r.createExpressionStatement(e.reduceLeft(y.exportedNames,(function(n,t){return r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.createIdentifier(e.idText(t))),n)}),r.createVoidZero()))),e.append(a,e.visitNode(y.externalHelpersImportDeclaration,N,e.isStatement)),e.addRange(a,e.visitNodes(n.statements,N,e.isStatement,c)),I(a,!1),e.insertStatementsAfterStandardPrologue(a,s());var u=r.updateSourceFile(n,e.setTextRange(r.createNodeArray(a),n.statements));return e.addEmitHelpers(u,t.readEmitHelpers()),u}function L(n){var a=r.createIdentifier("define"),i=e.tryGetModuleNameFromFile(r,n,d,l),s=e.isJsonSourceFile(n)&&n,c=A(n,!0),u=c.aliasedModuleNames,p=c.unaliasedModuleNames,f=c.importAliasNames,m=r.updateSourceFile(n,e.setTextRange(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(a,void 0,o(i?[i]:[],[r.createArrayLiteralExpression(s?e.emptyArray:o([r.createStringLiteral("require"),r.createStringLiteral("exports")],u,p)),s?s.statements.length?s.statements[0].expression:r.createObjectLiteralExpression():r.createFunctionExpression(void 0,void 0,void 0,void 0,o([r.createParameterDeclaration(void 0,void 0,void 0,"require"),r.createParameterDeclaration(void 0,void 0,void 0,"exports")],f),void 0,C(n))])))]),n.statements));return e.addEmitHelpers(m,t.readEmitHelpers()),m}function x(n){var a=A(n,!1),i=a.aliasedModuleNames,s=a.unaliasedModuleNames,c=a.importAliasNames,u=e.tryGetModuleNameFromFile(r,n,d,l),p=r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,"factory")],void 0,e.setTextRange(r.createBlock([r.createIfStatement(r.createLogicalAnd(r.createTypeCheck(r.createIdentifier("module"),"object"),r.createTypeCheck(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),"object")),r.createBlock([r.createVariableStatement(void 0,[r.createVariableDeclaration("v",void 0,void 0,r.createCallExpression(r.createIdentifier("factory"),void 0,[r.createIdentifier("require"),r.createIdentifier("exports")]))]),e.setEmitFlags(r.createIfStatement(r.createStrictInequality(r.createIdentifier("v"),r.createIdentifier("undefined")),r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),r.createIdentifier("v")))),1)]),r.createIfStatement(r.createLogicalAnd(r.createTypeCheck(r.createIdentifier("define"),"function"),r.createPropertyAccessExpression(r.createIdentifier("define"),"amd")),r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("define"),void 0,o(u?[u]:[],[r.createArrayLiteralExpression(o([r.createStringLiteral("require"),r.createStringLiteral("exports")],i,s)),r.createIdentifier("factory")])))])))],!0),void 0)),f=r.updateSourceFile(n,e.setTextRange(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(p,void 0,[r.createFunctionExpression(void 0,void 0,void 0,void 0,o([r.createParameterDeclaration(void 0,void 0,void 0,"require"),r.createParameterDeclaration(void 0,void 0,void 0,"exports")],c),void 0,C(n))]))]),n.statements));return e.addEmitHelpers(f,t.readEmitHelpers()),f}function A(n,t){for(var a=[],i=[],o=[],s=0,c=n.amdDependencies;s<c.length;s++){var p=c[s];p.name?(a.push(r.createStringLiteral(p.path)),o.push(r.createParameterDeclaration(void 0,void 0,void 0,p.name))):i.push(r.createStringLiteral(p.path))}for(var f=0,m=y.externalImports;f<m.length;f++){var _=m[f],h=e.getExternalModuleNameLiteral(r,_,g,d,u,l),v=e.getLocalNameForExternalImport(r,_,g);h&&(t&&v?(e.setEmitFlags(v,4),a.push(h),o.push(r.createParameterDeclaration(void 0,void 0,void 0,v))):i.push(h))}return{aliasedModuleNames:a,unaliasedModuleNames:i,importAliasNames:o}}function D(n){if(!e.isImportEqualsDeclaration(n)&&!e.isExportDeclaration(n)&&e.getExternalModuleNameLiteral(r,n,g,d,u,l)){var t=e.getLocalNameForExternalImport(r,n,g),a=P(n,t);if(a!==t)return r.createExpressionStatement(r.createAssignment(t,a))}}function C(t){i();var a=[],o=r.copyPrologue(t.statements,a,!l.noImplicitUseStrict,N);T()&&e.append(a,q()),e.length(y.exportedNames)&&e.append(a,r.createExpressionStatement(e.reduceLeft(y.exportedNames,(function(n,t){return r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.createIdentifier(e.idText(t))),n)}),r.createVoidZero()))),e.append(a,e.visitNode(y.externalHelpersImportDeclaration,N,e.isStatement)),f===e.ModuleKind.AMD&&e.addRange(a,e.mapDefined(y.externalImports,D)),e.addRange(a,e.visitNodes(t.statements,N,e.isStatement,o)),I(a,!0),e.insertStatementsAfterStandardPrologue(a,s());var c=r.createBlock(a,!0);return v&&e.addEmitHelper(c,n),c}function I(n,t){if(y.exportEquals){var a=e.visitNode(y.exportEquals.expression,R);if(a)if(t){var i=r.createReturnStatement(a);e.setTextRange(i,y.exportEquals),e.setEmitFlags(i,1920),n.push(i)}else{i=r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),a));e.setTextRange(i,y.exportEquals),e.setEmitFlags(i,1536),n.push(i)}}}function N(n){switch(n.kind){case 258:return function(n){var t,a=e.getNamespaceDeclarationNode(n);if(f!==e.ModuleKind.AMD){if(!n.importClause)return e.setOriginalNode(e.setTextRange(r.createExpressionStatement(M(n)),n),n);var i=[];a&&!e.isDefaultImport(n)?i.push(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,P(n,M(n)))):(i.push(r.createVariableDeclaration(r.getGeneratedNameForNode(n),void 0,void 0,P(n,M(n)))),a&&e.isDefaultImport(n)&&i.push(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,r.getGeneratedNameForNode(n)))),t=e.append(t,e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList(i,p>=2?2:0)),n),n))}else a&&e.isDefaultImport(n)&&(t=e.append(t,r.createVariableStatement(void 0,r.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,r.getGeneratedNameForNode(n)),n),n)],p>=2?2:0))));if(G(n)){var o=e.getOriginalNodeId(n);E[o]=B(E[o],n)}else t=B(t,n);return e.singleOrMany(t)}(n);case 257:return function(n){var t;e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),f!==e.ModuleKind.AMD?t=e.hasSyntacticModifier(n,1)?e.append(t,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(n.name,M(n))),n),n)):e.append(t,e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(r.cloneNode(n.name),void 0,void 0,M(n))],p>=2?2:0)),n),n)):e.hasSyntacticModifier(n,1)&&(t=e.append(t,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(r.getExportName(n),r.getLocalName(n))),n),n)));if(G(n)){var a=e.getOriginalNodeId(n);E[a]=U(E[a],n)}else t=U(t,n);return e.singleOrMany(t)}(n);case 264:return function(n){if(!n.moduleSpecifier)return;var t=r.getGeneratedNameForNode(n);if(n.exportClause&&e.isNamedExports(n.exportClause)){var i=[];f!==e.ModuleKind.AMD&&i.push(e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(t,void 0,void 0,M(n))])),n),n));for(var o=0,s=n.exportClause.elements;o<s.length;o++){var c=s[o];if(0===p)i.push(e.setOriginalNode(e.setTextRange(r.createExpressionStatement(a().createCreateBindingHelper(t,r.createStringLiteralFromNode(c.propertyName||c.name),c.propertyName?r.createStringLiteralFromNode(c.name):void 0)),c),c));else{var u=!(!l.esModuleInterop||67108864&e.getEmitFlags(n)||"default"!==e.idText(c.propertyName||c.name)),d=r.createPropertyAccessExpression(u?a().createImportDefaultHelper(t):t,c.propertyName||c.name);i.push(e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(r.getExportName(c),d,void 0,!0)),c),c))}}return e.singleOrMany(i)}return n.exportClause?((i=[]).push(e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(r.cloneNode(n.exportClause.name),function(n,t){if(!l.esModuleInterop||67108864&e.getEmitFlags(n))return t;if(e.getExportNeedsImportStarHelper(n))return a().createImportStarHelper(t);return t}(n,f!==e.ModuleKind.AMD?M(n):r.createIdentifier(e.idText(n.exportClause.name))))),n),n)),e.singleOrMany(i)):e.setOriginalNode(e.setTextRange(r.createExpressionStatement(a().createExportStarHelper(f!==e.ModuleKind.AMD?M(n):t)),n),n)}(n);case 263:return function(n){if(n.isExportEquals)return;var t,a=n.original;if(a&&G(a)){var i=e.getOriginalNodeId(n);E[i]=W(E[i],r.createIdentifier("default"),e.visitNode(n.expression,R),n,!0)}else t=W(t,r.createIdentifier("default"),e.visitNode(n.expression,R),n,!0);return e.singleOrMany(t)}(n);case 229:return function(n){var a,i,o;if(e.hasSyntacticModifier(n,1)){for(var s=void 0,c=0,l=n.declarationList.declarations;c<l.length;c++){var u=l[c];e.isIdentifier(u.name)&&e.isLocalName(u.name)?(s||(s=e.visitNodes(n.modifiers,J,e.isModifier)),i=e.append(i,u)):u.initializer&&(o=e.append(o,F(u)))}i&&(a=e.append(a,r.updateVariableStatement(n,s,r.updateVariableDeclarationList(n.declarationList,i)))),o&&(a=e.append(a,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(r.inlineExpressions(o)),n),n)))}else a=e.append(a,e.visitEachChild(n,R,t));if(G(n)){var d=e.getOriginalNodeId(n);E[d]=V(E[d],n)}else a=V(a,n);return e.singleOrMany(a)}(n);case 248:return function(n){var a;a=e.hasSyntacticModifier(n,1)?e.append(a,e.setOriginalNode(e.setTextRange(r.createFunctionDeclaration(void 0,e.visitNodes(n.modifiers,J,e.isModifier),n.asteriskToken,r.getDeclarationName(n,!0,!0),void 0,e.visitNodes(n.parameters,R),void 0,e.visitEachChild(n.body,R,t)),n),n)):e.append(a,e.visitEachChild(n,R,t));if(G(n)){var i=e.getOriginalNodeId(n);E[i]=K(E[i],n)}else a=K(a,n);return e.singleOrMany(a)}(n);case 249:return function(n){var a;a=e.hasSyntacticModifier(n,1)?e.append(a,e.setOriginalNode(e.setTextRange(r.createClassDeclaration(void 0,e.visitNodes(n.modifiers,J,e.isModifier),r.getDeclarationName(n,!0,!0),void 0,e.visitNodes(n.heritageClauses,R),e.visitNodes(n.members,R)),n),n)):e.append(a,e.visitEachChild(n,R,t));if(G(n)){var i=e.getOriginalNodeId(n);E[i]=K(E[i],n)}else a=K(a,n);return e.singleOrMany(a)}(n);case 333:return function(n){if(G(n)&&229===n.original.kind){var t=e.getOriginalNodeId(n);E[t]=V(E[t],n.original)}return n}(n);case 334:return function(n){var t=e.getOriginalNodeId(n),r=E[t];if(r)return delete E[t],e.append(r,n);return n}(n);default:return e.visitEachChild(n,R,t)}}function R(n){return 2097152&n.transformFlags||1024&n.transformFlags?e.isImportCall(n)?function(n){var t=e.visitNode(e.firstOrUndefined(n.arguments),R),a=!!(4096&n.transformFlags);switch(l.module){case e.ModuleKind.AMD:return k(t,a);case e.ModuleKind.UMD:return function(n,t){if(v=!0,e.isSimpleCopiableExpression(n)){var a=e.isGeneratedIdentifier(n)?n:e.isStringLiteral(n)?r.createStringLiteralFromNode(n):e.setEmitFlags(e.setTextRange(r.cloneNode(n),n),1536);return r.createConditionalExpression(r.createIdentifier("__syncRequire"),void 0,O(n,t),void 0,k(a,t))}var i=r.createTempVariable(c);return r.createComma(r.createAssignment(i,n),r.createConditionalExpression(r.createIdentifier("__syncRequire"),void 0,O(i,t),void 0,k(i,t)))}(null!=t?t:r.createVoidZero(),a);case e.ModuleKind.CommonJS:default:return O(t,a)}}(n):e.isDestructuringAssignment(n)?function(n){if(function n(t){if(e.isObjectLiteralExpression(t))for(var r=0,a=t.properties;r<a.length;r++){switch((s=a[r]).kind){case 285:if(n(s.initializer))return!0;break;case 286:if(n(s.name))return!0;break;case 287:if(n(s.expression))return!0;break;case 164:case 166:case 167:return!1;default:e.Debug.assertNever(s,"Unhandled object member kind")}}else if(e.isArrayLiteralExpression(t))for(var i=0,o=t.elements;i<o.length;i++){var s=o[i];if(e.isSpreadElement(s)){if(n(s.expression))return!0}else if(n(s))return!0}else if(e.isIdentifier(t))return e.length(Y(t))>(e.isExportName(t)?1:0);return!1}(n.left))return e.flattenDestructuringAssignment(n,R,t,0,!1,w);return e.visitEachChild(n,R,t)}(n):e.visitEachChild(n,R,t):n}function k(n,t){var i,o=r.createUniqueName("resolve"),s=r.createUniqueName("reject"),c=[r.createParameterDeclaration(void 0,void 0,void 0,o),r.createParameterDeclaration(void 0,void 0,void 0,s)],u=r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("require"),void 0,[r.createArrayLiteralExpression([n||r.createOmittedExpression()]),o,s]))]);p>=2?i=r.createArrowFunction(void 0,void 0,c,void 0,void 0,u):(i=r.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,u),t&&e.setEmitFlags(i,8));var d=r.createNewExpression(r.createIdentifier("Promise"),void 0,[i]);return l.esModuleInterop?r.createCallExpression(r.createPropertyAccessExpression(d,r.createIdentifier("then")),void 0,[a().createImportStarCallbackHelper()]):d}function O(n,t){var i,o=r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Promise"),"resolve"),void 0,[]),s=r.createCallExpression(r.createIdentifier("require"),void 0,n?[n]:[]);return l.esModuleInterop&&(s=a().createImportStarHelper(s)),p>=2?i=r.createArrowFunction(void 0,void 0,[],void 0,void 0,s):(i=r.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,r.createBlock([r.createReturnStatement(s)])),t&&e.setEmitFlags(i,8)),r.createCallExpression(r.createPropertyAccessExpression(o,"then"),void 0,[i])}function P(n,t){return!l.esModuleInterop||67108864&e.getEmitFlags(n)?t:e.getImportNeedsImportStarHelper(n)?a().createImportStarHelper(t):e.getImportNeedsImportDefaultHelper(n)?a().createImportDefaultHelper(t):t}function M(n){var t=e.getExternalModuleNameLiteral(r,n,g,d,u,l),a=[];return t&&a.push(t),r.createCallExpression(r.createIdentifier("require"),void 0,a)}function w(n,t,a){var i=Y(n);if(i){for(var o=e.isExportName(n)?t:r.createAssignment(n,t),s=0,c=i;s<c.length;s++){var l=c[s];e.setEmitFlags(o,4),o=z(l,o,a)}return o}return r.createAssignment(n,t)}function F(n){return e.isBindingPattern(n.name)?e.flattenDestructuringAssignment(e.visitNode(n,R),void 0,t,0,!1,w):r.createAssignment(e.setTextRange(r.createPropertyAccessExpression(r.createIdentifier("exports"),n.name),n.name),n.initializer?e.visitNode(n.initializer,R):r.createVoidZero())}function G(n){return 0!=(4194304&e.getEmitFlags(n))}function B(e,n){if(y.exportEquals)return e;var t=n.importClause;if(!t)return e;t.name&&(e=H(e,t));var r=t.namedBindings;if(r)switch(r.kind){case 260:e=H(e,r);break;case 261:for(var a=0,i=r.elements;a<i.length;a++){e=H(e,i[a],!0)}}return e}function U(e,n){return y.exportEquals?e:H(e,n)}function V(e,n){if(y.exportEquals)return e;for(var t=0,r=n.declarationList.declarations;t<r.length;t++){e=j(e,r[t])}return e}function j(n,t){if(y.exportEquals)return n;if(e.isBindingPattern(t.name))for(var r=0,a=t.name.elements;r<a.length;r++){var i=a[r];e.isOmittedExpression(i)||(n=j(n,i))}else e.isGeneratedIdentifier(t.name)||(n=H(n,t));return n}function K(n,t){if(y.exportEquals)return n;e.hasSyntacticModifier(t,1)&&(n=W(n,e.hasSyntacticModifier(t,512)?r.createIdentifier("default"):r.getDeclarationName(t),r.getLocalName(t),t));return t.name&&(n=H(n,t)),n}function H(n,t,a){var i=r.getDeclarationName(t),o=y.exportSpecifiers.get(e.idText(i));if(o)for(var s=0,c=o;s<c.length;s++){var l=c[s];n=W(n,l.name,i,l.name,void 0,a)}return n}function W(n,t,a,i,o,s){return n=e.append(n,function(n,t,a,i,o){var s=e.setTextRange(r.createExpressionStatement(z(n,t,void 0,o)),a);e.startOnNewLine(s),i||e.setEmitFlags(s,1536);return s}(t,a,i,o,s))}function q(){var n;return n=0===p?r.createExpressionStatement(z(r.createIdentifier("__esModule"),r.createTrue())):r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"defineProperty"),void 0,[r.createIdentifier("exports"),r.createStringLiteral("__esModule"),r.createObjectLiteralExpression([r.createPropertyAssignment("value",r.createTrue())])])),e.setEmitFlags(n,1048576),n}function z(n,t,a,i){return e.setTextRange(i&&0!==p?r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"defineProperty"),void 0,[r.createIdentifier("exports"),r.createStringLiteralFromNode(n),r.createObjectLiteralExpression([r.createPropertyAssignment("enumerable",r.createTrue()),r.createPropertyAssignment("get",r.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,r.createBlock([r.createReturnStatement(t)])))])]):r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.cloneNode(n)),t),a)}function J(e){switch(e.kind){case 92:case 87:return}return e}function X(n){if(4096&e.getEmitFlags(n)){var t=e.getExternalHelpersModuleName(g);return t?r.createPropertyAccessExpression(t,n):n}if(!e.isGeneratedIdentifier(n)&&!e.isLocalName(n)){var a=u.getReferencedExportContainer(n,e.isExportName(n));if(a&&294===a.kind)return e.setTextRange(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.cloneNode(n)),n);var i=u.getReferencedImportDeclaration(n);if(i){if(e.isImportClause(i))return e.setTextRange(r.createPropertyAccessExpression(r.getGeneratedNameForNode(i.parent),r.createIdentifier("default")),n);if(e.isImportSpecifier(i)){var o=i.propertyName||i.name;return e.setTextRange(r.createPropertyAccessExpression(r.getGeneratedNameForNode(i.parent.parent.parent),r.cloneNode(o)),n)}}}return n}function Y(n){if(!e.isGeneratedIdentifier(n)){var t=u.getReferencedImportDeclaration(n)||u.getReferencedValueDeclaration(n);if(t)return y&&y.exportedBindings[e.getOriginalNodeId(t)]}}};var n={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}}(p||(p={})),function(e){e.transformSystemModule=function(n){var t=n.factory,r=n.startLexicalEnvironment,a=n.endLexicalEnvironment,i=n.hoistVariableDeclaration,o=n.getCompilerOptions(),s=n.getEmitResolver(),c=n.getEmitHost(),l=n.onSubstituteNode,u=n.onEmitNode;n.onSubstituteNode=function(n,r){if(function(e){return y&&e.id&&y[e.id]}(r=l(n,r)))return r;if(1===n)return function(n){switch(n.kind){case 78:return function(n){if(4096&e.getEmitFlags(n)){var r=e.getExternalHelpersModuleName(d);return r?t.createPropertyAccessExpression(r,n):n}if(!e.isGeneratedIdentifier(n)&&!e.isLocalName(n)){var a=s.getReferencedImportDeclaration(n);if(a){if(e.isImportClause(a))return e.setTextRange(t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent),t.createIdentifier("default")),n);if(e.isImportSpecifier(a))return e.setTextRange(t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent.parent.parent),t.cloneNode(a.propertyName||a.name)),n)}}return n}(n);case 213:return function(n){if(e.isAssignmentOperator(n.operatorToken.kind)&&e.isIdentifier(n.left)&&!e.isGeneratedIdentifier(n.left)&&!e.isLocalName(n.left)&&!e.isDeclarationNameOfEnumOrNamespace(n.left)){var t=z(n.left);if(t){for(var r=n,a=0,i=t;a<i.length;a++){var o=i[a];r=V(o,J(r))}return r}}return n}(n);case 211:case 212:return function(n){if((45===n.operator||46===n.operator)&&e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&!e.isDeclarationNameOfEnumOrNamespace(n.operand)){var r=z(n.operand);if(r){for(var a=212===n.kind?e.setTextRange(t.createPrefixUnaryExpression(n.operator,n.operand),n):n,i=0,o=r;i<o.length;i++){var s=o[i];a=V(s,J(a))}return 212===n.kind&&(a=45===n.operator?t.createSubtract(J(a),t.createNumericLiteral(1)):t.createAdd(J(a),t.createNumericLiteral(1))),a}}return n}(n);case 223:return function(n){if(e.isImportMeta(n))return t.createPropertyAccessExpression(m,t.createIdentifier("meta"));return n}(n)}return n}(r);if(4===n)return function(n){switch(n.kind){case 286:return function(n){var r=n.name;if(!e.isGeneratedIdentifier(r)&&!e.isLocalName(r)){var a=s.getReferencedImportDeclaration(r);if(a){if(e.isImportClause(a))return e.setTextRange(t.createPropertyAssignment(t.cloneNode(r),t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent),t.createIdentifier("default"))),n);if(e.isImportSpecifier(a))return e.setTextRange(t.createPropertyAssignment(t.cloneNode(r),t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent.parent.parent),t.cloneNode(a.propertyName||a.name))),n)}}return n}(n)}return n}(r);return r},n.onEmitNode=function(n,t,r){if(294===t.kind){var a=e.getOriginalNodeId(t);d=t,p=h[a],f=b[a],y=E[a],m=T[a],y&&delete E[a],u(n,t,r),d=void 0,p=void 0,f=void 0,m=void 0,y=void 0}else u(n,t,r)},n.enableSubstitution(78),n.enableSubstitution(286),n.enableSubstitution(213),n.enableSubstitution(211),n.enableSubstitution(212),n.enableSubstitution(223),n.enableEmitNotification(294);var d,p,f,m,_,g,y,h=[],v=[],b=[],E=[],T=[];return e.chainBundle(n,(function(i){if(i.isDeclarationFile||!(e.isEffectiveExternalModule(i,o)||2097152&i.transformFlags))return i;var l=e.getOriginalNodeId(i);d=i,g=i,p=h[l]=e.collectExternalModuleInfo(n,i,s,o),f=t.createUniqueName("exports"),b[l]=f,m=T[l]=t.createUniqueName("context");var u=function(n){for(var r=new e.Map,a=[],i=0,l=n;i<l.length;i++){var u=l[i],p=e.getExternalModuleNameLiteral(t,u,d,c,s,o);if(p){var f=p.text,m=r.get(f);void 0!==m?a[m].externalImports.push(u):(r.set(f,a.length),a.push({name:p,externalImports:[u]}))}}return a}(p.externalImports),v=function(n,i){var s=[];r();var c=e.getStrictOptionValue(o,"alwaysStrict")||!o.noImplicitUseStrict&&e.isExternalModule(d),l=t.copyPrologue(n.statements,s,c,x);s.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration("__moduleName",void 0,void 0,t.createLogicalAnd(m,t.createPropertyAccessExpression(m,"id")))]))),e.visitNode(p.externalHelpersImportDeclaration,x,e.isStatement);var u=e.visitNodes(n.statements,x,e.isStatement,l);e.addRange(s,_),e.insertStatementsAfterStandardPrologue(s,a());var f=function(e){if(!p.hasExportStarsToExportValues)return;if(!p.exportedNames&&0===p.exportSpecifiers.size){for(var n=!1,r=0,a=p.externalImports;r<a.length;r++){var i=a[r];if(264===i.kind&&i.exportClause){n=!0;break}}if(!n){var o=S(void 0);return e.push(o),o.name}}var s=[];if(p.exportedNames)for(var c=0,l=p.exportedNames;c<l.length;c++){var u=l[c];"default"!==u.escapedText&&s.push(t.createPropertyAssignment(t.createStringLiteralFromNode(u),t.createTrue()))}var d=t.createUniqueName("exportedNames");e.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(d,void 0,void 0,t.createObjectLiteralExpression(s,!0))])));var f=S(d);return e.push(f),f.name}(s),g=524288&n.transformFlags?t.createModifiersFromModifierFlags(256):void 0,y=t.createObjectLiteralExpression([t.createPropertyAssignment("setters",L(f,i)),t.createPropertyAssignment("execute",t.createFunctionExpression(g,void 0,void 0,void 0,[],void 0,t.createBlock(u,!0)))],!0);return s.push(t.createReturnStatement(y)),t.createBlock(s,!0)}(i,u),A=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,f),t.createParameterDeclaration(void 0,void 0,void 0,m)],void 0,v),D=e.tryGetModuleNameFromFile(t,i,c,o),C=t.createArrayLiteralExpression(e.map(u,(function(e){return e.name}))),I=e.setEmitFlags(t.updateSourceFile(i,e.setTextRange(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("System"),"register"),void 0,D?[D,C,A]:[C,A]))]),i.statements)),1024);e.outFile(o)||e.moveEmitHelpers(I,v,(function(e){return!e.scoped}));y&&(E[l]=y,y=void 0);return d=void 0,p=void 0,f=void 0,m=void 0,_=void 0,g=void 0,I}));function S(n){var r=t.createUniqueName("exportStar"),a=t.createIdentifier("m"),i=t.createIdentifier("n"),o=t.createIdentifier("exports"),s=t.createStrictInequality(i,t.createStringLiteral("default"));return n&&(s=t.createLogicalAnd(s,t.createLogicalNot(t.createCallExpression(t.createPropertyAccessExpression(n,"hasOwnProperty"),void 0,[i])))),t.createFunctionDeclaration(void 0,void 0,void 0,r,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,a)],void 0,t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(o,void 0,void 0,t.createObjectLiteralExpression([]))])),t.createForInStatement(t.createVariableDeclarationList([t.createVariableDeclaration(i)]),a,t.createBlock([e.setEmitFlags(t.createIfStatement(s,t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(o,i),t.createElementAccessExpression(a,i)))),1)])),t.createExpressionStatement(t.createCallExpression(f,void 0,[o]))],!0))}function L(n,r){for(var a=[],i=0,o=r;i<o.length;i++){for(var s=o[i],c=e.forEach(s.externalImports,(function(n){return e.getLocalNameForExternalImport(t,n,d)})),l=c?t.getGeneratedNameForNode(c):t.createUniqueName(""),u=[],p=0,m=s.externalImports;p<m.length;p++){var _=m[p],g=e.getLocalNameForExternalImport(t,_,d);switch(_.kind){case 258:if(!_.importClause)break;case 257:e.Debug.assert(void 0!==g),u.push(t.createExpressionStatement(t.createAssignment(g,l)));break;case 264:if(e.Debug.assert(void 0!==g),_.exportClause)if(e.isNamedExports(_.exportClause)){for(var y=[],h=0,v=_.exportClause.elements;h<v.length;h++){var b=v[h];y.push(t.createPropertyAssignment(t.createStringLiteral(e.idText(b.name)),t.createElementAccessExpression(l,t.createStringLiteral(e.idText(b.propertyName||b.name)))))}u.push(t.createExpressionStatement(t.createCallExpression(f,void 0,[t.createObjectLiteralExpression(y,!0)])))}else u.push(t.createExpressionStatement(t.createCallExpression(f,void 0,[t.createStringLiteral(e.idText(_.exportClause.name)),l])));else u.push(t.createExpressionStatement(t.createCallExpression(n,void 0,[l])))}}a.push(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,l)],void 0,t.createBlock(u,!0)))}return t.createArrayLiteralExpression(a,!0)}function x(n){switch(n.kind){case 258:return function(n){var r;n.importClause&&i(e.getLocalNameForExternalImport(t,n,d));if(k(n)){var a=e.getOriginalNodeId(n);v[a]=O(v[a],n)}else r=O(r,n);return e.singleOrMany(r)}(n);case 257:return function(n){var r;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),i(e.getLocalNameForExternalImport(t,n,d)),k(n)){var a=e.getOriginalNodeId(n);v[a]=P(v[a],n)}else r=P(r,n);return e.singleOrMany(r)}(n);case 264:return function(n){return void e.Debug.assertIsDefined(n)}(n);case 263:return function(n){if(n.isExportEquals)return;var r=e.visitNode(n.expression,H,e.isExpression),a=n.original;if(!a||!k(a))return U(t.createIdentifier("default"),r,!0);var i=e.getOriginalNodeId(n);v[i]=B(v[i],t.createIdentifier("default"),r,!0)}(n);default:return j(n)}}function A(n){if(e.isBindingPattern(n.name))for(var r=0,a=n.name.elements;r<a.length;r++){var o=a[r];e.isOmittedExpression(o)||A(o)}else i(t.cloneNode(n.name))}function D(n){return 0==(2097152&e.getEmitFlags(n))&&(294===g.kind||0==(3&e.getOriginalNode(n).flags))}function C(t,r){var a=r?I:N;return e.isBindingPattern(t.name)?e.flattenDestructuringAssignment(t,H,n,0,!1,a):t.initializer?a(t.name,e.visitNode(t.initializer,H,e.isExpression)):t.name}function I(e,n,t){return R(e,n,t,!0)}function N(e,n,t){return R(e,n,t,!1)}function R(n,r,a,o){return i(t.cloneNode(n)),o?V(n,J(e.setTextRange(t.createAssignment(n,r),a))):J(e.setTextRange(t.createAssignment(n,r),a))}function k(n){return 0!=(4194304&e.getEmitFlags(n))}function O(e,n){if(p.exportEquals)return e;var t=n.importClause;if(!t)return e;t.name&&(e=G(e,t));var r=t.namedBindings;if(r)switch(r.kind){case 260:e=G(e,r);break;case 261:for(var a=0,i=r.elements;a<i.length;a++){e=G(e,i[a])}}return e}function P(e,n){return p.exportEquals?e:G(e,n)}function M(e,n,t){if(p.exportEquals)return e;for(var r=0,a=n.declarationList.declarations;r<a.length;r++){var i=a[r];(i.initializer||t)&&(e=w(e,i,t))}return e}function w(n,r,a){if(p.exportEquals)return n;if(e.isBindingPattern(r.name))for(var i=0,o=r.name.elements;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||(n=w(n,s,a))}else if(!e.isGeneratedIdentifier(r.name)){var c=void 0;a&&(n=B(n,r.name,t.getLocalName(r)),c=e.idText(r.name)),n=G(n,r,c)}return n}function F(n,r){if(p.exportEquals)return n;var a;if(e.hasSyntacticModifier(r,1)){var i=e.hasSyntacticModifier(r,512)?t.createStringLiteral("default"):r.name;n=B(n,i,t.getLocalName(r)),a=e.getTextOfIdentifierOrLiteral(i)}return r.name&&(n=G(n,r,a)),n}function G(n,r,a){if(p.exportEquals)return n;var i=t.getDeclarationName(r),o=p.exportSpecifiers.get(e.idText(i));if(o)for(var s=0,c=o;s<c.length;s++){var l=c[s];l.name.escapedText!==a&&(n=B(n,l.name,i))}return n}function B(n,t,r,a){return n=e.append(n,U(t,r,a))}function U(n,r,a){var i=t.createExpressionStatement(V(n,r));return e.startOnNewLine(i),a||e.setEmitFlags(i,1536),i}function V(n,r){var a=e.isIdentifier(n)?t.createStringLiteralFromNode(n):n;return e.setEmitFlags(r,1536|e.getEmitFlags(r)),e.setCommentRange(t.createCallExpression(f,void 0,[a,r]),r)}function j(r){switch(r.kind){case 229:return function(n){if(!D(n.declarationList))return e.visitNode(n,H,e.isStatement);for(var r,a,i=e.hasSyntacticModifier(n,1),o=k(n),s=0,c=n.declarationList.declarations;s<c.length;s++){var l=c[s];l.initializer?r=e.append(r,C(l,i&&!o)):A(l)}if(r&&(a=e.append(a,e.setTextRange(t.createExpressionStatement(t.inlineExpressions(r)),n))),o){var u=e.getOriginalNodeId(n);v[u]=M(v[u],n,i)}else a=M(a,n,!1);return e.singleOrMany(a)}(r);case 248:return function(r){if(_=e.hasSyntacticModifier(r,1)?e.append(_,t.updateFunctionDeclaration(r,r.decorators,e.visitNodes(r.modifiers,q,e.isModifier),r.asteriskToken,t.getDeclarationName(r,!0,!0),void 0,e.visitNodes(r.parameters,H,e.isParameterDeclaration),void 0,e.visitNode(r.body,H,e.isBlock))):e.append(_,e.visitEachChild(r,H,n)),k(r)){var a=e.getOriginalNodeId(r);v[a]=F(v[a],r)}else _=F(_,r)}(r);case 249:return function(n){var r,a=t.getLocalName(n);if(i(a),r=e.append(r,e.setTextRange(t.createExpressionStatement(t.createAssignment(a,e.setTextRange(t.createClassExpression(e.visitNodes(n.decorators,H,e.isDecorator),void 0,n.name,void 0,e.visitNodes(n.heritageClauses,H,e.isHeritageClause),e.visitNodes(n.members,H,e.isClassElement)),n))),n)),k(n)){var o=e.getOriginalNodeId(n);v[o]=F(v[o],n)}else r=F(r,n);return e.singleOrMany(r)}(r);case 234:return function(n){var r=g;return g=n,n=t.updateForStatement(n,n.initializer&&K(n.initializer),e.visitNode(n.condition,H,e.isExpression),e.visitNode(n.incrementor,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement)),g=r,n}(r);case 235:return function(n){var r=g;return g=n,n=t.updateForInStatement(n,K(n.initializer),e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock)),g=r,n}(r);case 236:return function(n){var r=g;return g=n,n=t.updateForOfStatement(n,n.awaitModifier,K(n.initializer),e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock)),g=r,n}(r);case 232:return function(n){return t.updateDoStatement(n,e.visitNode(n.statement,j,e.isStatement,t.liftToBlock),e.visitNode(n.expression,H,e.isExpression))}(r);case 233:return function(n){return t.updateWhileStatement(n,e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock))}(r);case 242:return function(n){return t.updateLabeledStatement(n,n.label,e.visitNode(n.statement,j,e.isStatement,t.liftToBlock))}(r);case 240:return function(n){return t.updateWithStatement(n,e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock))}(r);case 241:return function(n){return t.updateSwitchStatement(n,e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.caseBlock,j,e.isCaseBlock))}(r);case 255:return function(n){var r=g;return g=n,n=t.updateCaseBlock(n,e.visitNodes(n.clauses,j,e.isCaseOrDefaultClause)),g=r,n}(r);case 281:return function(n){return t.updateCaseClause(n,e.visitNode(n.expression,H,e.isExpression),e.visitNodes(n.statements,j,e.isStatement))}(r);case 282:case 244:return function(t){return e.visitEachChild(t,j,n)}(r);case 284:return function(n){var r=g;return g=n,n=t.updateCatchClause(n,n.variableDeclaration,e.visitNode(n.block,j,e.isBlock)),g=r,n}(r);case 227:return function(t){var r=g;return g=t,t=e.visitEachChild(t,j,n),g=r,t}(r);case 333:return function(n){if(k(n)&&229===n.original.kind){var t=e.getOriginalNodeId(n),r=e.hasSyntacticModifier(n.original,1);v[t]=M(v[t],n.original,r)}return n}(r);case 334:return function(n){var t=e.getOriginalNodeId(n),r=v[t];if(r)return delete v[t],e.append(r,n);var a=e.getOriginalNode(n);return e.isModuleOrEnumDeclaration(a)?e.append(G(r,a),n):n}(r);default:return H(r)}}function K(r){if(function(n){return e.isVariableDeclarationList(n)&&D(n)}(r)){for(var a=void 0,i=0,o=r.declarations;i<o.length;i++){var s=o[i];a=e.append(a,C(s,!1)),s.initializer||A(s)}return a?t.inlineExpressions(a):t.createOmittedExpression()}return e.visitEachChild(r,j,n)}function H(r){return e.isDestructuringAssignment(r)?function(t){if(W(t.left))return e.flattenDestructuringAssignment(t,H,n,0,!0);return e.visitEachChild(t,H,n)}(r):e.isImportCall(r)?function(n){return t.createCallExpression(t.createPropertyAccessExpression(m,t.createIdentifier("import")),void 0,e.some(n.arguments)?[e.visitNode(n.arguments[0],H)]:[])}(r):1024&r.transformFlags||2097152&r.transformFlags?e.visitEachChild(r,H,n):r}function W(n){if(e.isAssignmentExpression(n,!0))return W(n.left);if(e.isSpreadElement(n))return W(n.expression);if(e.isObjectLiteralExpression(n))return e.some(n.properties,W);if(e.isArrayLiteralExpression(n))return e.some(n.elements,W);if(e.isShorthandPropertyAssignment(n))return W(n.name);if(e.isPropertyAssignment(n))return W(n.initializer);if(e.isIdentifier(n)){var t=s.getReferencedExportContainer(n);return void 0!==t&&294===t.kind}return!1}function q(e){switch(e.kind){case 92:case 87:return}return e}function z(n){var r;if(!e.isGeneratedIdentifier(n)){var a=s.getReferencedImportDeclaration(n)||s.getReferencedValueDeclaration(n);if(a){var i=s.getReferencedExportContainer(n,!1);i&&294===i.kind&&(r=e.append(r,t.getDeclarationName(a))),r=e.addRange(r,p&&p.exportedBindings[e.getOriginalNodeId(a)])}}return r}function J(n){return void 0===y&&(y=[]),y[e.getNodeId(n)]=!0,n}}}(p||(p={})),function(e){e.transformECMAScriptModule=function(n){var t,r=n.factory,a=n.getEmitHelperFactory,i=n.getCompilerOptions(),s=n.onEmitNode,c=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){e.isSourceFile(r)?((e.isExternalModule(r)||i.isolatedModules)&&i.importHelpers&&(t=new e.Map),s(n,r,a),t=void 0):s(n,r,a)},n.onSubstituteNode=function(n,a){if(a=c(n,a),t&&e.isIdentifier(a)&&4096&e.getEmitFlags(a))return function(n){var a=e.idText(n),i=t.get(a);i||t.set(a,i=r.createUniqueName(a,48));return i}(a);return a},n.enableEmitNotification(294),n.enableSubstitution(78),e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;if(e.isExternalModule(t)||i.isolatedModules){var s=function(t){var o=e.createExternalHelpersImportDeclarationIfNeeded(r,a(),t,i);if(o){var s=[],c=r.copyPrologue(t.statements,s);return e.append(s,o),e.addRange(s,e.visitNodes(t.statements,l,e.isStatement,c)),r.updateSourceFile(t,e.setTextRange(r.createNodeArray(s),t.statements))}return e.visitEachChild(t,l,n)}(t);return!e.isExternalModule(t)||e.some(s.statements,e.isExternalModuleIndicator)?s:r.updateSourceFile(s,e.setTextRange(r.createNodeArray(o(s.statements,[e.createEmptyExports(r)])),s.statements))}return t}));function l(n){switch(n.kind){case 257:return;case 263:return function(e){return e.isExportEquals?void 0:e}(n);case 264:return function(n){if(void 0!==i.module&&i.module>e.ModuleKind.ES2015)return n;if(!n.exportClause||!e.isNamespaceExport(n.exportClause)||!n.moduleSpecifier)return n;var t=n.exportClause.name,a=r.getGeneratedNameForNode(t),o=r.createImportDeclaration(void 0,void 0,r.createImportClause(!1,void 0,r.createNamespaceImport(a)),n.moduleSpecifier);e.setOriginalNode(o,n.exportClause);var s=r.createExportDeclaration(void 0,void 0,!1,r.createNamedExports([r.createExportSpecifier(a,t)]));return e.setOriginalNode(s,n),[o,s]}(n)}return n}}}(p||(p={})),function(e){function n(n){return e.isVariableDeclaration(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isPropertyAccessExpression(n)||e.isBindingElement(n)||e.isConstructorDeclaration(n)?t:e.isSetAccessor(n)||e.isGetAccessor(n)?function(t){var r;r=167===n.kind?e.hasSyntacticModifier(n,32)?t.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.hasSyntacticModifier(n,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:r,errorNode:n.name,typeName:n.name}}:e.isConstructSignatureDeclaration(n)||e.isCallSignatureDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isFunctionDeclaration(n)||e.isIndexSignatureDeclaration(n)?function(t){var r;switch(n.kind){case 169:r=t.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 168:r=t.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 170:r=t.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 164:case 163:r=e.hasSyntacticModifier(n,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:249===n.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 248:r=t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail("This is unknown kind for signature: "+n.kind)}return{diagnosticMessage:r,errorNode:n.name||n}}:e.isParameter(n)?e.isParameterPropertyDeclaration(n,n.parent)&&e.hasSyntacticModifier(n.parent,8)?t:function(t){var r=function(t){switch(n.parent.kind){case 165:return t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 169:case 174:return t.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 168:return t.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 170:return t.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 164:case 163:return e.hasSyntacticModifier(n.parent,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:249===n.parent.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 248:case 173:return t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 167:case 166:return t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail("Unknown parent for parameter: "+e.SyntaxKind[n.parent.kind])}}(t);return void 0!==r?{diagnosticMessage:r,errorNode:n,typeName:n.name}:void 0}:e.isTypeParameterDeclaration(n)?function(){var t;switch(n.parent.kind){case 249:t=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 250:t=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 189:t=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 174:case 169:t=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:t=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 164:case 163:t=e.hasSyntacticModifier(n.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:249===n.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 173:case 248:t=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 251:t=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail("This is unknown parent for type parameter: "+n.parent.kind)}return{diagnosticMessage:t,errorNode:n,typeName:n.name}}:e.isExpressionWithTypeArguments(n)?function(){var t;t=e.isClassDeclaration(n.parent.parent)?e.isHeritageClause(n.parent)&&116===n.parent.token?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n.parent.parent.name?e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:t,errorNode:n,typeName:e.getNameOfDeclaration(n.parent.parent)}}:e.isImportEqualsDeclaration(n)?function(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:n,typeName:n.name}}:e.isTypeAliasDeclaration(n)?function(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:n.type,typeName:n.name}}:e.Debug.assertNever(n,"Attempted to set a declaration diagnostic context for unhandled node kind: "+e.SyntaxKind[n.kind]);function t(t){var r=function(t){return 246===n.kind||195===n.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:162===n.kind||198===n.kind||161===n.kind||159===n.kind&&e.hasSyntacticModifier(n.parent,8)?e.hasSyntacticModifier(n,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:249===n.parent.kind||159===n.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}(t);return void 0!==r?{diagnosticMessage:r,errorNode:n,typeName:n.name}:void 0}}e.canProduceDiagnostics=function(n){return e.isVariableDeclaration(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isBindingElement(n)||e.isSetAccessor(n)||e.isGetAccessor(n)||e.isConstructSignatureDeclaration(n)||e.isCallSignatureDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isFunctionDeclaration(n)||e.isParameter(n)||e.isTypeParameterDeclaration(n)||e.isExpressionWithTypeArguments(n)||e.isImportEqualsDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isConstructorDeclaration(n)||e.isIndexSignatureDeclaration(n)||e.isPropertyAccessExpression(n)},e.createGetSymbolAccessibilityDiagnosticForNodeName=function(t){return e.isSetAccessor(t)||e.isGetAccessor(t)?function(n){var r=function(n){return e.hasSyntacticModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:249===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}(n);return void 0!==r?{diagnosticMessage:r,errorNode:t,typeName:t.name}:void 0}:e.isMethodSignature(t)||e.isMethodDeclaration(t)?function(n){var r=function(n){return e.hasSyntacticModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:249===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}(n);return void 0!==r?{diagnosticMessage:r,errorNode:t,typeName:t.name}:void 0}:n(t)},e.createGetSymbolAccessibilityDiagnosticForNode=n}(p||(p={})),function(e){function n(n,t){var r=t.text.substring(n.pos,n.end);return e.stringContains(r,"@internal")}function t(t,r){var a=e.getParseTreeNode(t);if(a&&159===a.kind){var i=a.parent.parameters.indexOf(a),o=i>0?a.parent.parameters[i-1]:void 0,s=r.text,c=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,t.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,t.pos,!1,!0));return c&&c.length&&n(e.last(c),r)}var l=a&&e.getLeadingCommentRangesOfNode(a,r);return!!e.forEach(l,(function(e){return n(e,r)}))}e.getDeclarationDiagnostics=function(n,t,a){var i=n.getCompilerOptions();return e.transformNodes(t,n,e.factory,i,a?[a]:e.filter(n.getSourceFiles(),e.isSourceFileNotJson),[r],!1).diagnostics},e.isInternalDeclaration=t;function r(n){var r,c,l,u,d,p,f,m,_,g,y,h=function(){return e.Debug.fail("Diagnostic emitted without context")},v=h,b=!0,E=!1,T=!1,S=!1,L=!1,x=n.factory,A=n.getEmitHost(),D={trackSymbol:function(e,n,t){if(262144&e.flags)return;O(C.isSymbolAccessible(e,n,t,!0)),k(C.getTypeReferenceDirectivesForSymbol(e,t))},reportInaccessibleThisError:function(){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(f),"this"))},reportInaccessibleUniqueSymbolError:function(){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(f),"unique symbol"))},reportCyclicStructureError:function(){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,e.declarationNameToString(f)))},reportPrivateInBaseOfClassExpression:function(t){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},reportLikelyUnsafeImportRequiredError:function(t){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,e.declarationNameToString(f),t))},moduleResolverHost:A,trackReferencedAmbientModule:function(n,t){var r=C.getTypeReferenceDirectivesForSymbol(t,67108863);if(e.length(r))return k(r);var a=e.getSourceFileOfNode(n);_.set(e.getOriginalNodeId(a),a)},trackExternalModuleSymbolOfImportTypeNode:function(e){E||(p||(p=[])).push(e)},reportNonlocalAugmentation:function(t,r,a){for(var i=e.find(r.declarations,(function(n){return e.getSourceFileOfNode(n)===t})),o=e.filter(a.declarations,(function(n){return e.getSourceFileOfNode(n)!==t})),s=0,c=o;s<c.length;s++){var l=c[s];n.addDiagnostic(e.addRelatedInfo(e.createDiagnosticForNode(l,e.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),e.createDiagnosticForNode(i,e.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}},C=n.getEmitResolver(),I=n.getCompilerOptions(),N=I.noResolve,R=I.stripInternal;return function(t){if(294===t.kind&&t.isDeclarationFile)return t;if(295===t.kind){E=!0,_=new e.Map,g=new e.Map;var a=!1,i=x.createBundle(e.map(t.sourceFiles,(function(t){if(!t.isDeclarationFile){if(a=a||t.hasNoDefaultLib,m=t,r=t,l=void 0,d=!1,u=new e.Map,v=h,S=!1,L=!1,M(t,_),w(t,g),e.isExternalOrCommonJsModule(t)||e.isJsonSourceFile(t)){T=!1,b=!1;var i=e.isSourceFileJS(t)?x.createNodeArray(P(t,!0)):e.visitNodes(t.statements,Z);return x.updateSourceFile(t,[x.createModuleDeclaration([],[x.createModifier(133)],x.createStringLiteral(e.getResolvedExternalModuleName(n.getEmitHost(),t)),x.createModuleBlock(e.setTextRange(x.createNodeArray(Y(i)),t.statements)))],!0,[],[],!1,[])}b=!0;var o=e.isSourceFileJS(t)?x.createNodeArray(P(t)):e.visitNodes(t.statements,Z);return x.updateSourceFile(t,Y(o),!0,[],[],!1,[])}})),e.mapDefined(t.prepends,(function(n){if(297===n.kind){var t=e.createUnparsedSourceFile(n,"dts",R);return a=a||!!t.hasNoDefaultLib,M(t,_),k(t.typeReferenceDirectives),w(t,g),t}return n})));i.syntheticFileReferences=[],i.syntheticTypeReferences=V(),i.syntheticLibReferences=U(),i.hasNoDefaultLib=a;var f=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,A,!0).declarationFilePath)),D=K(i.syntheticFileReferences,f);return _.forEach(D),i}b=!0,S=!1,L=!1,r=t,m=t,v=h,E=!1,T=!1,d=!1,l=void 0,u=new e.Map,c=void 0,_=M(m,new e.Map),g=w(m,new e.Map);var C,N=[],O=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,A,!0).declarationFilePath)),F=K(N,O);if(e.isSourceFileJS(m))C=x.createNodeArray(P(t)),_.forEach(F),y=e.filter(C,e.isAnyImportSyntax);else{var G=e.visitNodes(t.statements,Z);C=e.setTextRange(x.createNodeArray(Y(G)),t.statements),_.forEach(F),y=e.filter(C,e.isAnyImportSyntax),e.isExternalModule(t)&&(!T||S&&!L)&&(C=e.setTextRange(x.createNodeArray(o(C,[e.createEmptyExports(x)])),C))}var B=x.updateSourceFile(t,C,!0,N,V(),t.hasNoDefaultLib,U());return B.exportedModulesFromDeclarationEmit=p,B;function U(){return e.map(e.arrayFrom(g.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function V(){return c?e.mapDefined(e.arrayFrom(c.keys()),j):[]}function j(n){if(y)for(var t=0,r=y;t<r.length;t++){var a=r[t];if(e.isImportEqualsDeclaration(a)&&e.isExternalModuleReference(a.moduleReference)){var i=a.moduleReference.expression;if(e.isStringLiteralLike(i)&&i.text===n)return}else if(e.isImportDeclaration(a)&&e.isStringLiteral(a.moduleSpecifier)&&a.moduleSpecifier.text===n)return}return{fileName:n,pos:-1,end:-1}}function K(n,r){return function(a){var i;if(a.isDeclarationFile)i=a.fileName;else{if(E&&e.contains(t.sourceFiles,a))return;var o=e.getOutputPathsFor(a,A,!0);i=o.declarationFilePath||o.jsFilePath||a.fileName}if(i){var c=e.moduleSpecifiers.getModuleSpecifier(s(s({},I),{baseUrl:I.baseUrl&&e.toPath(I.baseUrl,A.getCurrentDirectory(),A.getCanonicalFileName)}),m,e.toPath(r,A.getCurrentDirectory(),A.getCanonicalFileName),e.toPath(i,A.getCurrentDirectory(),A.getCanonicalFileName),A,void 0);if(!e.pathIsRelative(c))return void k([c]);var l=e.getRelativePathToDirectoryOrUrl(r,i,A.getCurrentDirectory(),A.getCanonicalFileName,!1);if(e.startsWith(l,"./")&&e.hasExtension(l)&&(l=l.substring(2)),e.startsWith(l,"node_modules/")||e.pathContainsNodeModules(l))return;n.push({pos:-1,end:-1,fileName:l})}}}};function k(n){if(n){c=c||new e.Set;for(var t=0,r=n;t<r.length;t++){var a=r[t];c.add(a)}}}function O(t){if(0===t.accessibility){if(t&&t.aliasesToMakeVisible)if(l)for(var r=0,a=t.aliasesToMakeVisible;r<a.length;r++){var i=a[r];e.pushIfUnique(l,i)}else l=t.aliasesToMakeVisible}else{var o=v(t);o&&(o.typeName?n.addDiagnostic(e.createDiagnosticForNode(t.errorNode||o.errorNode,o.diagnosticMessage,e.getTextOfNode(o.typeName),t.errorSymbolName,t.errorModuleName)):n.addDiagnostic(e.createDiagnosticForNode(t.errorNode||o.errorNode,o.diagnosticMessage,t.errorSymbolName,t.errorModuleName)))}}function P(n,t){var r=v;v=function(t){return{diagnosticMessage:t.errorModuleName?e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:t.errorNode||n}};var a=C.getDeclarationStatementsForSourceFile(n,531469,D,t);return v=r,a}function M(n,t){return N||!e.isUnparsedSource(n)&&e.isSourceFileJS(n)||e.forEach(n.referencedFiles,(function(r){var a=A.getSourceFileFromReference(n,r);a&&t.set(e.getOriginalNodeId(a),a)})),t}function w(n,t){return e.forEach(n.libReferenceDirectives,(function(n){A.getLibFileFromReference(n)&&t.set(e.toFileNameLowerCase(n.fileName),!0)})),t}function F(n,t,r){var i;d||(i=v,v=e.createGetSymbolAccessibilityDiagnosticForNode(n));var o=x.updateParameterDeclaration(n,void 0,function(n,t,r){return e.factory.createModifiersFromModifierFlags(a(n,t,r))}(n,t),n.dotDotDotToken,function n(t){return 78===t.kind?t:194===t.kind?x.updateArrayBindingPattern(t,e.visitNodes(t.elements,r)):x.updateObjectBindingPattern(t,e.visitNodes(t.elements,r));function r(e){return 219===e.kind?e:x.updateBindingElement(e,e.dotDotDotToken,e.propertyName,n(e.name),G(e)?e.initializer:void 0)}}(n.name),C.isOptionalParameter(n)?n.questionToken||x.createToken(57):void 0,U(n,r||n.type,!0),B(n));return d||(v=i),o}function G(n){return function(n){switch(n.kind){case 162:case 161:return!e.hasEffectiveModifier(n,8);case 159:case 246:return!0}return!1}(n)&&C.isLiteralConstDeclaration(e.getParseTreeNode(n))}function B(n){if(G(n))return C.createLiteralConstValue(e.getParseTreeNode(n),D)}function U(n,t,a){if((a||!e.hasEffectiveModifier(n,8))&&!G(n)){var i,o=159===n.kind&&(C.isRequiredInitializedParameter(n)||C.isOptionalUninitializedParameterProperty(n));return t&&!o?e.visitNode(t,Q):e.getParseTreeNode(n)?167===n.kind?x.createKeywordTypeNode(128):(f=n.name,d||(i=v,v=e.createGetSymbolAccessibilityDiagnosticForNode(n)),246===n.kind||195===n.kind?s(C.createTypeOfDeclaration(n,r,531469,D)):159===n.kind||162===n.kind||161===n.kind?n.initializer?s(C.createTypeOfDeclaration(n,r,531469,D,o)||C.createTypeOfExpression(n.initializer,r,531469,D)):s(C.createTypeOfDeclaration(n,r,531469,D,o)):s(C.createReturnTypeOfSignatureDeclaration(n,r,531469,D))):t?e.visitNode(t,Q):x.createKeywordTypeNode(128)}function s(e){return f=void 0,d||(v=i),e||x.createKeywordTypeNode(128)}}function V(n){switch((n=e.getParseTreeNode(n)).kind){case 248:case 253:case 250:case 249:case 251:case 252:return!C.isDeclarationVisible(n);case 246:return!j(n);case 257:case 258:case 264:case 263:return!1}return!1}function j(n){return!e.isOmittedExpression(n)&&(e.isBindingPattern(n.name)?e.some(n.name.elements,j):C.isDeclarationVisible(n))}function K(n,t,r){if(!e.hasEffectiveModifier(n,8)){var a=e.map(t,(function(e){return F(e,r)}));if(a)return x.createNodeArray(a,t.hasTrailingComma)}}function H(n,t){var r;if(!t){var a=e.getThisParameter(n);a&&(r=[F(a)])}if(e.isSetAccessorDeclaration(n)){var i=void 0;if(!t){var o=e.getSetAccessorValueParameter(n);if(o)i=F(o,void 0,ie(n,C.getAllAccessorDeclarations(n)))}i||(i=x.createParameterDeclaration(void 0,void 0,void 0,"value")),r=e.append(r,i)}return x.createNodeArray(r||e.emptyArray)}function W(n,t){return e.hasEffectiveModifier(n,8)?void 0:e.visitNodes(t,Q)}function q(n){return e.isSourceFile(n)||e.isTypeAliasDeclaration(n)||e.isModuleDeclaration(n)||e.isClassDeclaration(n)||e.isInterfaceDeclaration(n)||e.isFunctionLike(n)||e.isIndexSignatureDeclaration(n)||e.isMappedTypeNode(n)}function z(e,n){O(C.isEntityNameVisible(e,n)),k(C.getTypeReferenceDirectivesForEntityName(e))}function J(n,t){return e.hasJSDocNodes(n)&&e.hasJSDocNodes(t)&&(n.jsDoc=t.jsDoc),e.setCommentRange(n,e.getCommentRange(t))}function X(t,r){if(r){if(T=T||253!==t.kind&&192!==t.kind,e.isStringLiteralLike(r))if(E){var a=e.getExternalModuleNameFromDeclaration(n.getEmitHost(),C,t);if(a)return x.createStringLiteral(a)}else{var i=C.getSymbolOfExternalModuleSpecifier(r);i&&(p||(p=[])).push(i)}return r}}function Y(n){for(;e.length(l);){var t=l.shift();if(!e.isLateVisibilityPaintedStatement(t))return e.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: "+(e.SyntaxKind?e.SyntaxKind[t.kind]:t.kind));var r=b;b=t.parent&&e.isSourceFile(t.parent)&&!(e.isExternalModule(t.parent)&&E);var a=ee(t);b=r,u.set(e.getOriginalNodeId(t),a)}return e.visitNodes(n,(function(n){if(e.isLateVisibilityPaintedStatement(n)){var t=e.getOriginalNodeId(n);if(u.has(t)){var r=u.get(t);return u.delete(t),r&&((e.isArray(r)?e.some(r,e.needsScopeMarker):e.needsScopeMarker(r))&&(S=!0),e.isSourceFile(n.parent)&&(e.isArray(r)?e.some(r,e.isExternalModuleIndicator):e.isExternalModuleIndicator(r))&&(T=!0)),r}}return n}))}function Q(t){if(!te(t)){if(e.isDeclaration(t)){if(V(t))return;if(e.hasDynamicName(t)&&!C.isLateBound(e.getParseTreeNode(t)))return}if(!(e.isFunctionLike(t)&&C.isImplementationOfOverload(t)||e.isSemicolonClassElement(t))){var a;q(t)&&(a=r,r=t);var i=v,o=e.canProduceDiagnostics(t),s=d,c=(176===t.kind||189===t.kind)&&251!==t.parent.kind;if((e.isMethodDeclaration(t)||e.isMethodSignature(t))&&e.hasEffectiveModifier(t,8)){if(t.symbol&&t.symbol.declarations&&t.symbol.declarations[0]!==t)return;return b(x.createPropertyDeclaration(void 0,ae(t),t.name,void 0,void 0,void 0))}if(o&&!d&&(v=e.createGetSymbolAccessibilityDiagnosticForNode(t)),e.isTypeQueryNode(t)&&z(t.exprName,r),c&&(d=!0),function(e){switch(e.kind){case 169:case 165:case 164:case 166:case 167:case 162:case 161:case 163:case 168:case 170:case 246:case 158:case 220:case 172:case 183:case 173:case 174:case 192:return!0}return!1}(t))switch(t.kind){case 220:(e.isEntityName(t.expression)||e.isEntityNameExpression(t.expression))&&z(t.expression,r);var l=e.visitEachChild(t,Q,n);return b(x.updateExpressionWithTypeArguments(l,l.expression,l.typeArguments));case 172:z(t.typeName,r);l=e.visitEachChild(t,Q,n);return b(x.updateTypeReferenceNode(l,l.typeName,l.typeArguments));case 169:return b(x.updateConstructSignature(t,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type)));case 165:return b(x.createConstructorDeclaration(void 0,ae(t),K(t,t.parameters,0),void 0));case 164:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.createMethodDeclaration(void 0,ae(t),void 0,t.name,t.questionToken,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type),void 0));case 166:if(e.isPrivateIdentifier(t.name))return b(void 0);var u=ie(t,C.getAllAccessorDeclarations(t));return b(x.updateGetAccessorDeclaration(t,void 0,ae(t),t.name,H(t,e.hasEffectiveModifier(t,8)),U(t,u),void 0));case 167:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updateSetAccessorDeclaration(t,void 0,ae(t),t.name,H(t,e.hasEffectiveModifier(t,8)),void 0));case 162:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updatePropertyDeclaration(t,void 0,ae(t),t.name,t.questionToken,U(t,t.type),B(t)));case 161:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updatePropertySignature(t,ae(t),t.name,t.questionToken,U(t,t.type)));case 163:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updateMethodSignature(t,ae(t),t.name,t.questionToken,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type)));case 168:return b(x.updateCallSignature(t,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type)));case 170:return b(x.updateIndexSignature(t,void 0,ae(t),K(t,t.parameters),e.visitNode(t.type,Q)||x.createKeywordTypeNode(128)));case 246:return e.isBindingPattern(t.name)?ne(t.name):(c=!0,d=!0,b(x.updateVariableDeclaration(t,t.name,void 0,U(t,t.type),B(t))));case 158:return function(n){return 164===n.parent.kind&&e.hasEffectiveModifier(n.parent,8)}(t)&&(t.default||t.constraint)?b(x.updateTypeParameterDeclaration(t,t.name,void 0,void 0)):b(e.visitEachChild(t,Q,n));case 183:var p=e.visitNode(t.checkType,Q),_=e.visitNode(t.extendsType,Q),g=r;r=t.trueType;var y=e.visitNode(t.trueType,Q);r=g;var h=e.visitNode(t.falseType,Q);return b(x.updateConditionalTypeNode(t,p,_,y,h));case 173:return b(x.updateFunctionTypeNode(t,e.visitNodes(t.typeParameters,Q),K(t,t.parameters),e.visitNode(t.type,Q)));case 174:return b(x.updateConstructorTypeNode(t,e.visitNodes(t.typeParameters,Q),K(t,t.parameters),e.visitNode(t.type,Q)));case 192:return e.isLiteralImportTypeNode(t)?b(x.updateImportTypeNode(t,x.updateLiteralTypeNode(t.argument,X(t,t.argument.literal)),t.qualifier,e.visitNodes(t.typeArguments,Q,e.isTypeNode),t.isTypeOf)):b(t);default:e.Debug.assertNever(t,"Attempted to process unhandled node kind: "+e.SyntaxKind[t.kind])}return e.isTupleTypeNode(t)&&e.getLineAndCharacterOfPosition(m,t.pos).line===e.getLineAndCharacterOfPosition(m,t.end).line&&e.setEmitFlags(t,1),b(e.visitEachChild(t,Q,n))}}function b(n){return n&&o&&e.hasDynamicName(t)&&function(n){var t;d||(t=v,v=e.createGetSymbolAccessibilityDiagnosticForNodeName(n));f=n.name,e.Debug.assert(C.isLateBound(e.getParseTreeNode(n))),z(n.name.expression,r),d||(v=t);f=void 0}(t),q(t)&&(r=a),o&&!d&&(v=i),c&&(d=s),n===t?n:n&&e.setOriginalNode(J(n,t),t)}}function Z(n){if(function(e){switch(e.kind){case 248:case 253:case 257:case 250:case 249:case 251:case 252:case 229:case 258:case 264:case 263:return!0}return!1}(n)&&!te(n)){switch(n.kind){case 264:return e.isSourceFile(n.parent)&&(T=!0),L=!0,x.updateExportDeclaration(n,void 0,n.modifiers,n.isTypeOnly,n.exportClause,X(n,n.moduleSpecifier));case 263:if(e.isSourceFile(n.parent)&&(T=!0),L=!0,78===n.expression.kind)return n;var t=x.createUniqueName("_default",16);v=function(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:n}};var r=x.createVariableDeclaration(t,void 0,C.createTypeOfExpression(n.expression,n,531469,D),void 0);return[x.createVariableStatement(b?[x.createModifier(133)]:[],x.createVariableDeclarationList([r],2)),x.updateExportAssignment(n,n.decorators,n.modifiers,t)]}var a=ee(n);return u.set(e.getOriginalNodeId(n),a),n}}function $(n){if(e.isImportEqualsDeclaration(n)||e.hasEffectiveModifier(n,512)||!e.canHaveModifiers(n))return n;var t=x.createModifiersFromModifierFlags(11262&e.getEffectiveModifierFlags(n));return x.updateModifiers(n,t)}function ee(n){if(!te(n)){switch(n.kind){case 257:return function(n){if(C.isDeclarationVisible(n)){if(269===n.moduleReference.kind){var t=e.getExternalModuleImportEqualsDeclarationExpression(n);return x.updateImportEqualsDeclaration(n,void 0,n.modifiers,n.name,x.updateExternalModuleReference(n.moduleReference,X(n,t)))}var a=v;return v=e.createGetSymbolAccessibilityDiagnosticForNode(n),z(n.moduleReference,r),v=a,n}}(n);case 258:return function(n){if(!n.importClause)return x.updateImportDeclaration(n,void 0,n.modifiers,n.importClause,X(n,n.moduleSpecifier));var t=n.importClause&&n.importClause.name&&C.isDeclarationVisible(n.importClause)?n.importClause.name:void 0;if(!n.importClause.namedBindings)return t&&x.updateImportDeclaration(n,void 0,n.modifiers,x.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,void 0),X(n,n.moduleSpecifier));if(260===n.importClause.namedBindings.kind){var r=C.isDeclarationVisible(n.importClause.namedBindings)?n.importClause.namedBindings:void 0;return t||r?x.updateImportDeclaration(n,void 0,n.modifiers,x.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,r),X(n,n.moduleSpecifier)):void 0}var a=e.mapDefined(n.importClause.namedBindings.elements,(function(e){return C.isDeclarationVisible(e)?e:void 0}));return a&&a.length||t?x.updateImportDeclaration(n,void 0,n.modifiers,x.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,a&&a.length?x.updateNamedImports(n.importClause.namedBindings,a):void 0),X(n,n.moduleSpecifier)):C.isImportRequiredByAugmentation(n)?x.updateImportDeclaration(n,void 0,n.modifiers,void 0,X(n,n.moduleSpecifier)):void 0}(n)}if(!(e.isDeclaration(n)&&V(n)||e.isFunctionLike(n)&&C.isImplementationOfOverload(n))){var t;q(n)&&(t=r,r=n);var a=e.canProduceDiagnostics(n),i=v;a&&(v=e.createGetSymbolAccessibilityDiagnosticForNode(n));var s=b;switch(n.kind){case 251:return de(x.updateTypeAliasDeclaration(n,void 0,ae(n),n.name,e.visitNodes(n.typeParameters,Q,e.isTypeParameterDeclaration),e.visitNode(n.type,Q,e.isTypeNode)));case 250:return de(x.updateInterfaceDeclaration(n,void 0,ae(n),n.name,W(n,n.typeParameters),oe(n.heritageClauses),e.visitNodes(n.members,Q)));case 248:var c=de(x.updateFunctionDeclaration(n,void 0,ae(n),void 0,n.name,W(n,n.typeParameters),K(n,n.parameters),U(n,n.type),void 0));if(c&&C.isExpandoFunctionDeclaration(n)){var l=C.getPropertiesOfContainerFunction(n),d=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,c.name||x.createIdentifier("_default"),x.createModuleBlock([]),16);e.setParent(d,r),d.locals=e.createSymbolTable(l),d.symbol=l[0].parent;var p=[],f=e.mapDefined(l,(function(n){if(e.isPropertyAccessExpression(n.valueDeclaration)){v=e.createGetSymbolAccessibilityDiagnosticForNode(n.valueDeclaration);var t=C.createTypeOfDeclaration(n.valueDeclaration,d,531469,D);v=i;var r=e.unescapeLeadingUnderscores(n.escapedName),a=e.isStringANonContextualKeyword(r),o=a?x.getGeneratedNameForNode(n.valueDeclaration):x.createIdentifier(r);a&&p.push([o,r]);var s=x.createVariableDeclaration(o,void 0,t,void 0);return x.createVariableStatement(a?void 0:[x.createToken(92)],x.createVariableDeclarationList([s]))}}));p.length?f.push(x.createExportDeclaration(void 0,void 0,!1,x.createNamedExports(e.map(p,(function(e){var n=e[0],t=e[1];return x.createExportSpecifier(n,t)}))))):f=e.mapDefined(f,(function(e){return x.updateModifiers(e,0)}));var m=x.createModuleDeclaration(void 0,ae(n),n.name,x.createModuleBlock(f),16);if(!e.hasEffectiveModifier(c,512))return[c,m];var _=x.createModifiersFromModifierFlags(-514&e.getEffectiveModifierFlags(c)|2),g=x.updateFunctionDeclaration(c,void 0,_,void 0,c.name,c.typeParameters,c.parameters,c.type,void 0),y=x.updateModuleDeclaration(m,void 0,_,m.name,m.body),h=x.createExportAssignment(void 0,void 0,!1,m.name);return e.isSourceFile(n.parent)&&(T=!0),L=!0,[g,y,h]}return c;case 253:b=!1;var E=n.body;if(E&&254===E.kind){var A=S,I=L;L=!1,S=!1;var N=Y(e.visitNodes(E.statements,Z));8388608&n.flags&&(S=!1),e.isGlobalScopeAugmentation(n)||function(n){return e.some(n,re)}(N)||L||(N=S?x.createNodeArray(o(N,[e.createEmptyExports(x)])):e.visitNodes(N,$));var R=x.updateModuleBlock(E,N);b=s,S=A,L=I;var k=ae(n);return de(x.updateModuleDeclaration(n,void 0,k,e.isExternalModuleAugmentation(n)?X(n,n.name):n.name,R))}b=s;k=ae(n);b=!1,e.visitNode(E,Z);var O=e.getOriginalNodeId(E);R=u.get(O);return u.delete(O),de(x.updateModuleDeclaration(n,void 0,k,n.name,R));case 249:_=x.createNodeArray(ae(n));var P=W(n,n.typeParameters),M=e.getFirstConstructorWithBody(n),w=void 0;if(M){var F=v;w=e.compact(e.flatMap(M.parameters,(function(n){if(e.hasSyntacticModifier(n,92)&&!te(n))return v=e.createGetSymbolAccessibilityDiagnosticForNode(n),78===n.name.kind?J(x.createPropertyDeclaration(void 0,ae(n),n.name,n.questionToken,U(n,n.type),B(n)),n):function t(r){for(var a,i=0,o=r.elements;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||(e.isBindingPattern(s.name)&&(a=e.concatenate(a,t(s.name))),(a=a||[]).push(x.createPropertyDeclaration(void 0,ae(n),s.name,void 0,U(s,void 0),void 0)))}return a}(n.name)}))),v=F}var G=e.some(n.members,(function(n){return!!n.name&&e.isPrivateIdentifier(n.name)}))?[x.createPropertyDeclaration(void 0,void 0,x.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,H=e.concatenate(e.concatenate(G,w),e.visitNodes(n.members,Q)),ee=x.createNodeArray(H),ne=e.getEffectiveBaseTypeNode(n);if(ne&&!e.isEntityNameExpression(ne.expression)&&103!==ne.expression.kind){var ie=n.name?e.unescapeLeadingUnderscores(n.name.escapedText):"default",se=x.createUniqueName(ie+"_base",16);v=function(){return{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:ne,typeName:n.name}};var ce=x.createVariableDeclaration(se,void 0,C.createTypeOfExpression(ne.expression,n,531469,D),void 0),le=x.createVariableStatement(b?[x.createModifier(133)]:[],x.createVariableDeclarationList([ce],2)),ue=x.createNodeArray(e.map(n.heritageClauses,(function(n){if(93===n.token){var t=v;v=e.createGetSymbolAccessibilityDiagnosticForNode(n.types[0]);var r=x.updateHeritageClause(n,e.map(n.types,(function(n){return x.updateExpressionWithTypeArguments(n,se,e.visitNodes(n.typeArguments,Q))})));return v=t,r}return x.updateHeritageClause(n,e.visitNodes(x.createNodeArray(e.filter(n.types,(function(n){return e.isEntityNameExpression(n.expression)||103===n.expression.kind}))),Q))})));return[le,de(x.updateClassDeclaration(n,void 0,_,n.name,P,ue,ee))]}ue=oe(n.heritageClauses);return de(x.updateClassDeclaration(n,void 0,_,n.name,P,ue,ee));case 229:return de(function(n){if(!e.forEach(n.declarationList.declarations,j))return;var t=e.visitNodes(n.declarationList.declarations,Q);if(!e.length(t))return;return x.updateVariableStatement(n,x.createNodeArray(ae(n)),x.updateVariableDeclarationList(n.declarationList,t))}(n));case 252:return de(x.updateEnumDeclaration(n,void 0,x.createNodeArray(ae(n)),n.name,x.createNodeArray(e.mapDefined(n.members,(function(e){if(!te(e)){var n=C.getConstantValue(e);return J(x.updateEnumMember(e,e.name,void 0!==n?"string"==typeof n?x.createStringLiteral(n):x.createNumericLiteral(n):void 0),e)}})))))}return e.Debug.assertNever(n,"Unhandled top-level node in declaration emit: "+e.SyntaxKind[n.kind])}}function de(o){return q(n)&&(r=t),a&&(v=i),253===n.kind&&(b=s),o===n?o:o&&e.setOriginalNode(J(o,n),n)}}function ne(n){return e.flatten(e.mapDefined(n.elements,(function(n){return function(n){if(219===n.kind)return;if(n.name){if(!j(n))return;return e.isBindingPattern(n.name)?ne(n.name):x.createVariableDeclaration(n.name,void 0,U(n,void 0),void 0)}}(n)})))}function te(e){return!!R&&!!e&&t(e,m)}function re(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function ae(n){var t=e.getEffectiveModifierFlags(n),r=function(n){var t=11003,r=b&&!function(e){if(250===e.kind)return!0;return!1}(n)?2:0,i=294===n.parent.kind;(!i||E&&i&&e.isExternalModule(n.parent))&&(t^=2,r=0);return a(n,t,r)}(n);return t===r?n.modifiers:x.createModifiersFromModifierFlags(r)}function ie(n,t){var r=i(n);return r||n===t.firstAccessor||(r=i(t.firstAccessor),v=e.createGetSymbolAccessibilityDiagnosticForNode(t.firstAccessor)),!r&&t.secondAccessor&&n!==t.secondAccessor&&(r=i(t.secondAccessor),v=e.createGetSymbolAccessibilityDiagnosticForNode(t.secondAccessor)),r}function oe(n){return x.createNodeArray(e.filter(e.map(n,(function(n){return x.updateHeritageClause(n,e.visitNodes(x.createNodeArray(e.filter(n.types,(function(t){return e.isEntityNameExpression(t.expression)||93===n.token&&103===t.expression.kind}))),Q))})),(function(e){return e.types&&!!e.types.length})))}}function a(n,t,r){void 0===t&&(t=11259),void 0===r&&(r=0);var a=e.getEffectiveModifierFlags(n)&t|r;return 512&a&&!(1&a)&&(a^=1),512&a&&2&a&&(a^=2),a}function i(e){if(e)return 166===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}e.transformDeclarations=r}(p||(p={})),function(e){var n,t;function r(n,t,r){if(r)return e.emptyArray;var a=n.jsx,i=e.getEmitScriptTarget(n),o=e.getEmitModuleKind(n),c=[];return e.addRange(c,t&&e.map(t.before,s)),c.push(e.transformTypeScript),c.push(e.transformClassFields),2===a&&c.push(e.transformJsx),i<99&&c.push(e.transformESNext),i<7&&c.push(e.transformES2020),i<6&&c.push(e.transformES2019),i<5&&c.push(e.transformES2018),i<4&&c.push(e.transformES2017),i<3&&c.push(e.transformES2016),i<2&&(c.push(e.transformES2015),c.push(e.transformGenerators)),c.push(function(n){switch(n){case e.ModuleKind.ESNext:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(o)),i<1&&c.push(e.transformES5),e.addRange(c,t&&e.map(t.after,s)),c}function a(n){var t=[];return t.push(e.transformDeclarations),e.addRange(t,n&&e.map(n.afterDeclarations,c)),t}function i(n,t){return function(r){var a=n(r);return"function"==typeof a?t(r,a):function(n){return function(t){return e.isBundle(t)?n.transformBundle(t):n.transformSourceFile(t)}}(a)}}function s(n){return i(n,e.chainBundle)}function c(e){return i(e,(function(e,n){return n}))}function l(e,n){return n}function u(e,n,t){t(e,n)}!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(n||(n={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(t||(t={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,n,t){return{scriptTransformers:r(e,n,t),declarationTransformers:a(n)}},e.noEmitSubstitution=l,e.noEmitNotification=u,e.transformNodes=function(n,t,r,a,i,s,c){for(var d,p,f,m,_=new Array(336),g=0,y=[],h=[],v=[],b=[],E=0,T=!1,S=l,L=u,x=0,A=[],D={factory:r,getCompilerOptions:function(){return a},getEmitResolver:function(){return n},getEmitHost:function(){return t},getEmitHelperFactory:e.memoize((function(){return e.createEmitHelperFactory(D)})),startLexicalEnvironment:function(){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is suspended."),y[E]=d,h[E]=p,v[E]=f,b[E]=g,E++,d=void 0,p=void 0,f=void 0,g=0},suspendLexicalEnvironment:function(){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is already suspended."),T=!0},resumeLexicalEnvironment:function(){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(T,"Lexical environment is not suspended."),T=!1},endLexicalEnvironment:function(){var n;if(e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is suspended."),d||p||f){if(p&&(n=o(p)),d){var t=r.createVariableStatement(void 0,r.createVariableDeclarationList(d));e.setEmitFlags(t,1048576),n?n.push(t):n=[t]}f&&(n=n?o(n,f):o(f))}E--,d=y[E],p=h[E],f=v[E],g=b[E],0===E&&(y=[],h=[],v=[],b=[]);return n},setLexicalEnvironmentFlags:function(e,n){g=n?g|e:g&~e},getLexicalEnvironmentFlags:function(){return g},hoistVariableDeclaration:function(n){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed.");var t=e.setEmitFlags(r.createVariableDeclaration(n),64);d?d.push(t):d=[t];1&g&&(g|=2)},hoistFunctionDeclaration:function(n){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(n,1048576),p?p.push(n):p=[n]},addInitializationStatement:function(n){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(n,1048576),f?f.push(n):f=[n]},requestEmitHelper:function n(t){if(e.Debug.assert(x>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),t.dependencies)for(var r=0,a=t.dependencies;r<a.length;r++){var i=a[r];n(i)}m=e.append(m,t)},readEmitHelpers:function(){e.Debug.assert(x>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed.");var n=m;return m=void 0,n},enableSubstitution:function(n){e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),_[n]|=1},enableEmitNotification:function(n){e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),_[n]|=2},isSubstitutionEnabled:P,isEmitNotificationEnabled:M,get onSubstituteNode(){return S},set onSubstituteNode(n){e.Debug.assert(x<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),S=n},get onEmitNode(){return L},set onEmitNode(n){e.Debug.assert(x<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),L=n},addDiagnostic:function(e){A.push(e)}},C=0,I=i;C<I.length;C++){var N=I[C];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(N)))}e.performance.mark("beforeTransform");var R=s.map((function(e){return e(D)})),k=function(e){for(var n=0,t=R;n<t.length;n++){e=(0,t[n])(e)}return e};x=1;var O=e.map(i,c?k:function(n){return!n||e.isSourceFile(n)&&n.isDeclarationFile?n:k(n)});return x=2,e.performance.mark("afterTransform"),e.performance.measure("transformTime","beforeTransform","afterTransform"),{transformed:O,substituteNode:function(n,t){return e.Debug.assert(x<3,"Cannot substitute a node after the result is disposed."),t&&P(t)&&S(n,t)||t},emitNodeWithNotification:function(n,t,r){e.Debug.assert(x<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),t&&(M(t)?L(n,t,r):r(n,t))},isEmitNotificationEnabled:M,dispose:function(){if(x<3){for(var n=0,t=i;n<t.length;n++){var r=t[n];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(r)))}d=void 0,y=void 0,p=void 0,h=void 0,S=void 0,L=void 0,m=void 0,x=3}},diagnostics:A};function P(n){return 0!=(1&_[n.kind])&&0==(4&e.getEmitFlags(n))}function M(n){return 0!=(2&_[n.kind])||0!=(2&e.getEmitFlags(n))}},e.nullTransformationContext={get factory(){return e.factory},enableEmitNotification:e.noop,enableSubstitution:e.noop,endLexicalEnvironment:e.returnUndefined,getCompilerOptions:function(){return{}},getEmitHost:e.notImplemented,getEmitResolver:e.notImplemented,getEmitHelperFactory:e.notImplemented,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistFunctionDeclaration:e.noop,hoistVariableDeclaration:e.noop,addInitializationStatement:e.noop,isEmitNotificationEnabled:e.notImplemented,isSubstitutionEnabled:e.notImplemented,onEmitNode:e.noop,onSubstituteNode:e.notImplemented,readEmitHelpers:e.notImplemented,requestEmitHelper:e.noop,resumeLexicalEnvironment:e.noop,startLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,addDiagnostic:e.noop}}(p||(p={})),function(e){var n,t,r=function(){var e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}(),a={pos:-1,end:-1};function i(n,t,r,a,i,o){void 0===a&&(a=!1);var c=e.isArray(r)?r:e.getSourceFilesToEmit(n,r,a),u=n.getCompilerOptions();if(e.outFile(u)){var d=n.getPrependNodes();if(c.length||d.length){var p=e.factory.createBundle(c,d);if(_=t(l(p,n,a),p))return _}}else{if(!i)for(var f=0,m=c;f<m.length;f++){var _,g=m[f];if(_=t(l(g,n,a),g))return _}if(o){var y=s(u);if(y)return t({buildInfoPath:y},void 0)}}}function s(n){var t=n.configFilePath;if(e.isIncrementalCompilation(n)){if(n.tsBuildInfoFile)return n.tsBuildInfoFile;var r,a=e.outFile(n);if(a)r=e.removeFileExtension(a);else{if(!t)return;var i=e.removeFileExtension(t);r=n.outDir?n.rootDir?e.resolvePath(n.outDir,e.getRelativePathFromDirectory(n.rootDir,i,!0)):e.combinePaths(n.outDir,e.getBaseFileName(i)):i}return r+".tsbuildinfo"}}function c(n,t){var r=e.outFile(n),a=n.emitDeclarationOnly?void 0:r,i=a&&u(a,n),o=t||e.getEmitDeclarations(n)?e.removeFileExtension(r)+".d.ts":void 0;return{jsFilePath:a,sourceMapFilePath:i,declarationFilePath:o,declarationMapPath:o&&e.getAreDeclarationMapsEnabled(n)?o+".map":void 0,buildInfoPath:s(n)}}function l(n,t,r){var a=t.getCompilerOptions();if(295===n.kind)return c(a,r);var i=e.getOwnEmitOutputFilePath(n.fileName,t,d(n,a)),o=e.isJsonSourceFile(n),s=o&&0===e.comparePaths(n.fileName,i,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()),l=a.emitDeclarationOnly||s?void 0:i,p=!l||e.isJsonSourceFile(n)?void 0:u(l,a),f=r||e.getEmitDeclarations(a)&&!o?e.getDeclarationEmitOutputFilePath(n.fileName,t):void 0;return{jsFilePath:l,sourceMapFilePath:p,declarationFilePath:f,declarationMapPath:f&&e.getAreDeclarationMapsEnabled(a)?f+".map":void 0,buildInfoPath:void 0}}function u(e,n){return n.sourceMap&&!n.inlineSourceMap?e+".map":void 0}function d(n,t){if(e.isJsonSourceFile(n))return".json";if(1===t.jsx)if(e.isSourceFileJS(n)){if(e.fileExtensionIs(n.fileName,".jsx"))return".jsx"}else if(1===n.languageVariant)return".jsx";return".js"}function p(n,t,r,a){return a?e.resolvePath(a,e.getRelativePathFromDirectory(function(n){return n.options.rootDir||e.getDirectoryPath(e.Debug.checkDefined(n.options.configFilePath))}(t),n,r)):n}function f(n,t,r){return e.Debug.assert(!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json")),e.changeExtension(p(n,t,r,t.options.declarationDir||t.options.outDir),".d.ts")}function m(n,t,r){if(!t.options.emitDeclarationOnly){var a=e.fileExtensionIs(n,".json"),i=e.changeExtension(p(n,t,r,t.options.outDir),a?".json":e.fileExtensionIs(n,".tsx")&&1===t.options.jsx?".jsx":".js");return a&&0===e.comparePaths(n,i,e.Debug.checkDefined(t.options.configFilePath),r)?void 0:i}}function _(){var n;return{addOutput:function(e){e&&(n||(n=[])).push(e)},getOutputs:function(){return n||e.emptyArray}}}function g(e,n){var t=c(e.options,!1),r=t.jsFilePath,a=t.sourceMapFilePath,i=t.declarationFilePath,o=t.declarationMapPath,s=t.buildInfoPath;n(r),n(a),n(i),n(o),n(s)}function y(n,t,r,a){if(!e.fileExtensionIs(t,".d.ts")){var i=m(t,n,r);if(a(i),!e.fileExtensionIs(t,".json")&&(i&&n.options.sourceMap&&a(i+".map"),e.getEmitDeclarations(n.options))){var o=f(t,n,r);a(o),n.options.declarationMap&&a(o+".map")}}}function h(n,t,r,a,o,s,c){var l,u,d=a.scriptTransformers,p=a.declarationTransformers,f=t.getCompilerOptions(),m=f.sourceMap||f.inlineSourceMap||e.getAreDeclarationMapsEnabled(f)?[]:void 0,_=f.listEmittedFiles?[]:void 0,g=e.createDiagnosticCollection(),y=e.getNewLineCharacter(f,(function(){return t.getNewLine()})),h=e.createTextWriter(y),b=e.performance.createTimer("printTime","beforePrint","afterPrint"),T=b.enter,S=b.exit,L=!1;return T(),i(t,(function(a,i){var s,m=a.jsFilePath,y=a.sourceMapFilePath,h=a.declarationFilePath,b=a.declarationMapPath,T=a.buildInfoPath;T&&i&&e.isBundle(i)&&(s=e.getDirectoryPath(e.getNormalizedAbsolutePath(T,t.getCurrentDirectory())),l={commonSourceDirectory:S(t.getCommonSourceDirectory()),sourceFiles:i.sourceFiles.map((function(n){return S(e.getNormalizedAbsolutePath(n.fileName,t.getCurrentDirectory()))}))});(function(r,a,i,s){if(!r||o||!a)return;if(a&&t.isEmitBlocked(a)||f.noEmit)return void(L=!0);var c=e.transformNodes(n,t,e.factory,f,[r],d,!1),u=E({removeComments:f.removeComments,newLine:f.newLine,noEmitHelpers:f.noEmitHelpers,module:f.module,target:f.target,sourceMap:f.sourceMap,inlineSourceMap:f.inlineSourceMap,inlineSources:f.inlineSources,extendedDiagnostics:f.extendedDiagnostics,writeBundleFileInfo:!!l,relativeToBuildInfo:s},{hasGlobalName:n.hasGlobalName,onEmitNode:c.emitNodeWithNotification,isEmitNotificationEnabled:c.isEmitNotificationEnabled,substituteNode:c.substituteNode});e.Debug.assert(1===c.transformed.length,"Should only see one output from the transform"),A(a,i,c.transformed[0],u,f),c.dispose(),l&&(l.js=u.bundleFileInfo)})(i,m,y,S),function(r,a,i,s){if(!r)return;if(!a)return void((o||f.emitDeclarationOnly)&&(L=!0));var d=e.isSourceFile(r)?[r]:r.sourceFiles,m=c?d:e.filter(d,e.isSourceFileNotJson),_=e.outFile(f)?[e.factory.createBundle(m,e.isSourceFile(r)?void 0:r.prepends)]:m;o&&!e.getEmitDeclarations(f)&&m.forEach(x);var y=e.transformNodes(n,t,e.factory,f,_,p,!1);if(e.length(y.diagnostics))for(var h=0,v=y.diagnostics;h<v.length;h++){var b=v[h];g.add(b)}var T=E({removeComments:f.removeComments,newLine:f.newLine,noEmitHelpers:!0,module:f.module,target:f.target,sourceMap:f.sourceMap,inlineSourceMap:f.inlineSourceMap,extendedDiagnostics:f.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!l,recordInternalSection:!!l,relativeToBuildInfo:s},{hasGlobalName:n.hasGlobalName,onEmitNode:y.emitNodeWithNotification,isEmitNotificationEnabled:y.isEmitNotificationEnabled,substituteNode:y.substituteNode}),S=!!y.diagnostics&&!!y.diagnostics.length||!!t.isEmitBlocked(a)||!!f.noEmit;if(L=L||S,(!S||c)&&(e.Debug.assert(1===y.transformed.length,"Should only see one output from the decl transform"),A(a,i,y.transformed[0],T,{sourceMap:f.declarationMap,sourceRoot:f.sourceRoot,mapRoot:f.mapRoot,extendedDiagnostics:f.extendedDiagnostics}),c&&294===y.transformed[0].kind)){var D=y.transformed[0];u=D.exportedModulesFromDeclarationEmit}y.dispose(),l&&(l.dts=T.bundleFileInfo)}(i,h,b,S),function(n,a){if(!a||r||L)return;var i=t.getProgramBuildInfo();if(t.isEmitBlocked(a))return void(L=!0);var o=e.version;e.writeFile(t,g,a,v({bundle:n,program:i,version:o}),!1)}(l,T),!L&&_&&(o||(m&&_.push(m),y&&_.push(y),T&&_.push(T)),h&&_.push(h),b&&_.push(b));function S(n){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(s,n,t.getCanonicalFileName))}}),e.getSourceFilesToEmit(t,r,c),c,s,!r),S(),{emitSkipped:L,diagnostics:g.getDiagnostics(),emittedFiles:_,sourceMaps:m,exportedModulesFromDeclarationEmit:u};function x(t){e.isExportAssignment(t)?78===t.expression.kind&&n.collectLinkedAliases(t.expression,!0):e.isExportSpecifier(t)?n.collectLinkedAliases(t.propertyName||t.name,!0):e.forEachChild(t,x)}function A(n,r,a,i,o){var s,c=295===a.kind?a:void 0,l=294===a.kind?a:void 0,u=c?c.sourceFiles:[l];if(function(n,t){return(n.sourceMap||n.inlineSourceMap)&&(294!==t.kind||!e.fileExtensionIs(t.fileName,".json"))}(o,a)&&(s=e.createSourceMapGenerator(t,e.getBaseFileName(e.normalizeSlashes(n)),function(n){var t=e.normalizeSlashes(n.sourceRoot||"");return t?e.ensureTrailingDirectorySeparator(t):t}(o),function(n,r,a){if(n.sourceRoot)return t.getCommonSourceDirectory();if(n.mapRoot){var i=e.normalizeSlashes(n.mapRoot);return a&&(i=e.getDirectoryPath(e.getSourceFilePathInNewDir(a.fileName,t,i))),0===e.getRootLength(i)&&(i=e.combinePaths(t.getCommonSourceDirectory(),i)),i}return e.getDirectoryPath(e.normalizePath(r))}(o,n,l),o)),c?i.writeBundle(c,h,s):i.writeFile(l,h,s),s){m&&m.push({inputSourceFileNames:s.getSources(),sourceMap:s.toJSON()});var d=function(n,r,a,i,o){if(n.inlineSourceMap){var s=r.toString();return"data:application/json;base64,"+e.base64encode(e.sys,s)}var c=e.getBaseFileName(e.normalizeSlashes(e.Debug.checkDefined(i)));if(n.mapRoot){var l=e.normalizeSlashes(n.mapRoot);return o&&(l=e.getDirectoryPath(e.getSourceFilePathInNewDir(o.fileName,t,l))),0===e.getRootLength(l)?(l=e.combinePaths(t.getCommonSourceDirectory(),l),e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizePath(a)),e.combinePaths(l,c),t.getCurrentDirectory(),t.getCanonicalFileName,!0)):e.combinePaths(l,c)}return c}(o,s,n,r,l);if(d&&(h.isAtStartOfLine()||h.rawWrite(y),h.writeComment("//# sourceMappingURL="+d)),r){var p=s.toString();e.writeFile(t,g,r,p,!1,u)}}else h.writeLine();e.writeFile(t,g,n,h.getText(),!!f.emitBOM,u),h.clear()}}function v(e){return JSON.stringify(e,void 0,2)}function b(e){return JSON.parse(e)}function E(n,t){void 0===n&&(n={}),void 0===t&&(t={});var i,o,s,c,l,u,d,p,f,m,_,g,y,h,v,b,E,T,S=t.hasGlobalName,L=t.onEmitNode,x=void 0===L?e.noEmitNotification:L,A=t.isEmitNotificationEnabled,D=t.substituteNode,C=void 0===D?e.noEmitSubstitution:D,I=t.onBeforeEmitNodeArray,N=t.onAfterEmitNodeArray,R=t.onBeforeEmitToken,k=t.onAfterEmitToken,O=!!n.extendedDiagnostics,P=e.getNewLineCharacter(n),M=e.getEmitModuleKind(n),w=new e.Map,F=n.preserveSourceNewlines,G=function(e){m.write(e)},B=n.writeBundleFileInfo?{sections:[]}:void 0,U=B?e.Debug.checkDefined(n.relativeToBuildInfo):void 0,V=n.recordInternalSection,j=0,K="text",H=!0,W=-1,q=-1,z=-1,J=-1,X=!1,Y=!!n.removeComments,Q=e.performance.createTimerIf(O,"commentTime","beforeComment","afterComment"),Z=Q.enter,$=Q.exit;return ge(),{printNode:function(n,t,r){switch(n){case 0:e.Debug.assert(e.isSourceFile(t),"Expected a SourceFile node.");break;case 2:e.Debug.assert(e.isIdentifier(t),"Expected an Identifier node.");break;case 1:e.Debug.assert(e.isExpression(t),"Expected an Expression node.")}switch(t.kind){case 294:return ne(t);case 295:return ee(t);case 296:return function(e,n){var t=m;_e(n,void 0),fe(4,e,void 0),ge(),m=t}(t,de()),pe()}return te(n,t,r,de()),pe()},printList:function(e,n,t){return re(e,n,t,de()),pe()},printFile:ne,printBundle:ee,writeNode:te,writeList:re,writeFile:ue,writeBundle:le,bundleFileInfo:B};function ee(e){return le(e,de(),void 0),pe()}function ne(e){return ue(e,de(),void 0),pe()}function te(e,n,t,r){var a=m;_e(r,void 0),fe(e,n,t),ge(),m=a}function re(e,n,t,r){var i=m;_e(r,void 0),t&&me(t),En(a,n,e),ge(),m=i}function ae(){return m.getTextPosWithWriteLine?m.getTextPosWithWriteLine():m.getTextPos()}function ie(n,t,r){var a=e.lastOrUndefined(B.sections);a&&a.kind===r?a.end=t:B.sections.push({pos:n,end:t,kind:r})}function oe(n){if(V&&B&&i&&(e.isDeclaration(n)||e.isVariableStatement(n))&&e.isInternalDeclaration(n,i)&&"internal"!==K){var t=K;return ce(m.getTextPos()),j=ae(),K="internal",t}}function se(e){e&&(ce(m.getTextPos()),j=ae(),K=e)}function ce(e){return j<e&&(ie(j,e,K),!0)}function le(t,r,a){var i;g=!1;var o=m;_e(r,a),cn(t),sn(t),Ce(t),function(n){tn(!!n.hasNoDefaultLib,n.syntheticFileReferences||[],n.syntheticTypeReferences||[],n.syntheticLibReferences||[]);for(var t=0,r=n.prepends;t<r.length;t++){var a=r[t];if(e.isUnparsedSource(a)&&a.syntheticReferences)for(var i=0,o=a.syntheticReferences;i<o.length;i++){he(o[i]),Pn()}}}(t);for(var s=0,c=t.prepends;s<c.length;s++){var l=c[s];Pn();var u=m.getTextPos(),d=B&&B.sections;if(d&&(B.sections=[]),fe(4,l,void 0),B){var p=B.sections;B.sections=d,l.oldFileOfCurrentEmit?(i=B.sections).push.apply(i,p):(p.forEach((function(n){return e.Debug.assert(e.isBundleFileTextLike(n))})),B.sections.push({pos:u,end:m.getTextPos(),kind:"prepend",data:U(l.fileName),texts:p}))}}j=ae();for(var f=0,_=t.sourceFiles;f<_.length;f++){var y=_[f];fe(0,y,y)}if(B&&t.sourceFiles.length&&ce(m.getTextPos())){var h=function(n){for(var t,r=new e.Set,a=0;a<n.sourceFiles.length;a++){for(var i=n.sourceFiles[a],o=void 0,s=0,c=0,l=i.statements;c<l.length;c++){var u=l[c];if(!e.isPrologueDirective(u))break;r.has(u.expression.text)||(r.add(u.expression.text),(o||(o=[])).push({pos:u.pos,end:u.end,expression:{pos:u.expression.pos,end:u.expression.end,text:u.expression.text}}),s=s<u.end?u.end:s)}o&&(t||(t=[])).push({file:a,text:i.text.substring(0,s),directives:o})}return t}(t);h&&(B.sources||(B.sources={}),B.sources.prologues=h);var v=function(t){var r;if(M===e.ModuleKind.None||n.noEmitHelpers)return;for(var a=new e.Map,i=0,o=t.sourceFiles;i<o.length;i++){var s=o[i],c=void 0!==e.getExternalHelpersModuleName(s),l=Ie(s);if(l)for(var u=0,d=l;u<d.length;u++){var p=d[u];p.scoped||c||a.get(p.name)||(a.set(p.name,!0),(r||(r=[])).push(p.name))}}return r}(t);v&&(B.sources||(B.sources={}),B.sources.helpers=v)}ge(),m=o}function ue(e,n,t){g=!0;var r=m;_e(n,t),cn(e),sn(e),fe(0,e,e),ge(),m=r}function de(){return _||(_=e.createTextWriter(P))}function pe(){var e=_.getText();return _.clear(),e}function fe(e,n,t){t&&me(t),Te(e,n)}function me(e){i=e,v=void 0,b=void 0,e&&Mt(e)}function _e(t,r){t&&n.omitTrailingSemicolon&&(t=e.getTrailingSemicolonDeferringWriter(t)),y=r,H=!(m=t)||!y}function ge(){o=[],s=[],c=new e.Set,l=[],u=0,d=[],i=void 0,v=void 0,b=void 0,E=void 0,T=void 0,_e(void 0,void 0)}function ye(){return v||(v=e.getLineStarts(i))}function he(e){if(void 0!==e){var n=oe(e),t=Te(4,e);return se(n),t}}function ve(e){if(void 0!==e)return Te(2,e)}function be(e){if(void 0!==e)return Te(1,e)}function Ee(n){return Te(e.isStringLiteral(n)?6:4,n)}function Te(n,t){var r=E,a=T,i=F;E=t,T=void 0,F&&134217728&e.getEmitFlags(t)&&(F=!1),Se(0,n,t)(n,t),e.Debug.assert(E===t);var o=T;return E=r,T=a,F=i,o||t}function Se(n,t,r){switch(n){case 0:if(x!==e.noEmitNotification&&(!A||A(r)))return xe;case 1:if(C!==e.noEmitSubstitution&&(T=C(t,r))!==r)return De;case 2:if(!Y&&294!==r.kind)return _t;case 3:if(!H&&294!==r.kind&&!e.isInJsonFile(r))return Rt;case 4:return Ae;default:return e.Debug.assertNever(n)}}function Le(e,n,t){return Se(e+1,n,t)}function xe(n,t){e.Debug.assert(E===t);var r=Le(0,n,t);x(n,t,r),e.Debug.assert(E===t)}function Ae(n,t){if(e.Debug.assert(E===t||T===t),0===n)return function(n){Pn();var t=n.statements;if(vt){if(0===t.length||!e.isPrologueDirective(t[0])||e.nodeIsSynthesized(t[0]))return void vt(n,t,rn)}rn(n)}(e.cast(t,e.isSourceFile));if(2===n)return ke(e.cast(t,e.isIdentifier));if(6===n)return Ne(e.cast(t,e.isStringLiteral),!0);if(3===n)return function(e){he(e.name),kn(),Cn("in"),kn(),he(e.constraint)}(e.cast(t,e.isTypeParameterDeclaration));if(5===n)return e.Debug.assertNode(t,e.isEmptyStatement),Me(!0);if(4===n){if(e.isKeyword(t.kind))return Gn(t,Cn);switch(t.kind){case 15:case 16:case 17:return Ne(t,!1);case 296:case 290:return function(e){for(var n=0,t=e.texts;n<t.length;n++){var r=t[n];Pn(),he(r)}}(t);case 289:return Re(t);case 291:case 292:return o=t,s=ae(),Re(o),void(B&&ie(s,m.getTextPos(),291===o.kind?"text":"internal"));case 293:return function(n){var t=ae();if(Re(n),B){var r=e.clone(n.section);r.pos=t,r.end=m.getTextPos(),B.sections.push(r)}}(t);case 78:return ke(t);case 79:return function(e){(e.symbol?xn:G)(et(e,!1),e.symbol)}(t);case 156:return function(e){(function(e){78===e.kind?be(e):he(e)})(e.left),An("."),he(e.right)}(t);case 157:return function(e){An("["),be(e.expression),An("]")}(t);case 158:return function(e){he(e.name),e.constraint&&(kn(),Cn("extends"),kn(),he(e.constraint));e.default&&(kn(),In("="),kn(),he(e.default))}(t);case 159:return function(e){gn(e,e.decorators),un(e,e.modifiers),he(e.dotDotDotToken),ln(e.name,Nn),he(e.questionToken),e.parent&&304===e.parent.kind&&!e.name?he(e.type):dn(e.type);pn(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.decorators?e.decorators.end:e.pos,e)}(t);case 160:return a=t,An("@"),void be(a.expression);case 161:return function(e){gn(e,e.decorators),un(e,e.modifiers),ln(e.name,On),he(e.questionToken),dn(e.type),Dn()}(t);case 162:return function(e){gn(e,e.decorators),un(e,e.modifiers),he(e.name),he(e.questionToken),he(e.exclamationToken),dn(e.type),pn(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),Dn()}(t);case 163:return function(e){tt(e),gn(e,e.decorators),un(e,e.modifiers),he(e.name),he(e.questionToken),hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type),Dn(),rt(e)}(t);case 164:return function(e){gn(e,e.decorators),un(e,e.modifiers),he(e.asteriskToken),he(e.name),he(e.questionToken),Ve(e,je)}(t);case 165:return function(e){un(e,e.modifiers),Cn("constructor"),Ve(e,je)}(t);case 166:case 167:return function(e){gn(e,e.decorators),un(e,e.modifiers),Cn(166===e.kind?"get":"set"),kn(),he(e.name),Ve(e,je)}(t);case 168:return function(e){tt(e),gn(e,e.decorators),un(e,e.modifiers),hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type),Dn(),rt(e)}(t);case 169:return function(e){tt(e),gn(e,e.decorators),un(e,e.modifiers),Cn("new"),kn(),hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type),Dn(),rt(e)}(t);case 170:return function(e){gn(e,e.decorators),un(e,e.modifiers),n=e,t=e.parameters,En(n,t,8848),dn(e.type),Dn();var n,t}(t);case 171:return function(e){e.assertsModifier&&(he(e.assertsModifier),kn());he(e.parameterName),e.type&&(kn(),Cn("is"),kn(),he(e.type))}(t);case 172:return function(e){he(e.typeName),yn(e,e.typeArguments)}(t);case 173:return function(e){tt(e),hn(e,e.typeParameters),bn(e,e.parameters),kn(),An("=>"),kn(),he(e.type),rt(e)}(t);case 304:return function(e){Cn("function"),vn(e,e.parameters),An(":"),he(e.type)}(t);case 174:return function(e){tt(e),Cn("new"),kn(),hn(e,e.typeParameters),vn(e,e.parameters),kn(),An("=>"),kn(),he(e.type),rt(e)}(t);case 175:return function(e){Cn("typeof"),kn(),he(e.exprName)}(t);case 176:return function(n){An("{");var t=1&e.getEmitFlags(n)?768:32897;En(n,n.members,524288|t),An("}")}(t);case 177:return function(e){he(e.elementType),An("["),An("]")}(t);case 178:return function(n){Ge(22,n.pos,An,n);var t=1&e.getEmitFlags(n)?528:657;En(n,n.elements,524288|t),Ge(23,n.elements.end,An,n)}(t);case 179:return function(e){he(e.type),An("?")}(t);case 181:return function(e){En(e,e.types,516)}(t);case 182:return function(e){En(e,e.types,520)}(t);case 183:return function(e){he(e.checkType),kn(),Cn("extends"),kn(),he(e.extendsType),kn(),An("?"),kn(),he(e.trueType),kn(),An(":"),kn(),he(e.falseType)}(t);case 184:return function(e){Cn("infer"),kn(),he(e.typeParameter)}(t);case 185:return function(e){An("("),he(e.type),An(")")}(t);case 220:return function(e){be(e.expression),yn(e,e.typeArguments)}(t);case 186:return void Cn("this");case 187:return function(e){Bn(e.operator,Cn),kn(),he(e.type)}(t);case 188:return function(e){he(e.objectType),An("["),he(e.indexType),An("]")}(t);case 189:return function(n){var t=e.getEmitFlags(n);An("{"),1&t?kn():(Pn(),Mn());n.readonlyToken&&(he(n.readonlyToken),141!==n.readonlyToken.kind&&Cn("readonly"),kn());An("["),Te(3,n.typeParameter),An("]"),n.questionToken&&(he(n.questionToken),57!==n.questionToken.kind&&An("?"));An(":"),kn(),he(n.type),Dn(),1&t?kn():(Pn(),wn());An("}")}(t);case 190:return function(e){be(e.literal)}(t);case 192:return function(e){e.isTypeOf&&(Cn("typeof"),kn());Cn("import"),An("("),he(e.argument),An(")"),e.qualifier&&(An("."),he(e.qualifier));yn(e,e.typeArguments)}(t);case 299:return void An("*");case 300:return void An("?");case 301:return function(e){An("?"),he(e.type)}(t);case 302:return function(e){An("!"),he(e.type)}(t);case 303:return function(e){he(e.type),An("=")}(t);case 180:case 305:return function(e){An("..."),he(e.type)}(t);case 191:return function(e){he(e.dotDotDotToken),he(e.name),he(e.questionToken),Ge(58,e.name.end,An,e),kn(),he(e.type)}(t);case 193:return function(e){An("{"),En(e,e.elements,525136),An("}")}(t);case 194:return function(e){An("["),En(e,e.elements,524880),An("]")}(t);case 195:return function(e){he(e.dotDotDotToken),e.propertyName&&(he(e.propertyName),An(":"),kn());he(e.name),pn(e.initializer,e.name.end,e)}(t);case 225:return function(e){be(e.expression),he(e.literal)}(t);case 226:return void Dn();case 227:return function(e){Pe(e,!e.multiLine&&Zn(e))}(t);case 229:return function(e){un(e,e.modifiers),he(e.declarationList),Dn()}(t);case 228:return Me(!1);case 230:return function(n){be(n.expression),(!e.isJsonSourceFile(i)||e.nodeIsSynthesized(n.expression))&&Dn()}(t);case 231:return function(e){var n=Ge(98,e.pos,Cn,e);kn(),Ge(20,n,An,e),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.thenStatement),e.elseStatement&&(Un(e,e.thenStatement,e.elseStatement),Ge(90,e.thenStatement.end,Cn,e),231===e.elseStatement.kind?(kn(),he(e.elseStatement)):_n(e,e.elseStatement))}(t);case 232:return function(n){Ge(89,n.pos,Cn,n),_n(n,n.statement),e.isBlock(n.statement)&&!F?kn():Un(n,n.statement,n.expression);we(n,n.statement.end),Dn()}(t);case 233:return function(e){we(e,e.pos),_n(e,e.statement)}(t);case 234:return function(e){var n=Ge(96,e.pos,Cn,e);kn();var t=Ge(20,n,An,e);Fe(e.initializer),t=Ge(26,e.initializer?e.initializer.end:t,An,e),mn(e.condition),t=Ge(26,e.condition?e.condition.end:t,An,e),mn(e.incrementor),Ge(21,e.incrementor?e.incrementor.end:t,An,e),_n(e,e.statement)}(t);case 235:return function(e){var n=Ge(96,e.pos,Cn,e);kn(),Ge(20,n,An,e),Fe(e.initializer),kn(),Ge(100,e.initializer.end,Cn,e),kn(),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.statement)}(t);case 236:return function(e){var n=Ge(96,e.pos,Cn,e);kn(),function(e){e&&(he(e),kn())}(e.awaitModifier),Ge(20,n,An,e),Fe(e.initializer),kn(),Ge(155,e.initializer.end,Cn,e),kn(),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.statement)}(t);case 237:return function(e){Ge(85,e.pos,Cn,e),fn(e.label),Dn()}(t);case 238:return function(e){Ge(80,e.pos,Cn,e),fn(e.label),Dn()}(t);case 239:return function(e){Ge(104,e.pos,Cn,e),mn(e.expression),Dn()}(t);case 240:return function(e){var n=Ge(115,e.pos,Cn,e);kn(),Ge(20,n,An,e),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.statement)}(t);case 241:return function(e){var n=Ge(106,e.pos,Cn,e);kn(),Ge(20,n,An,e),be(e.expression),Ge(21,e.expression.end,An,e),kn(),he(e.caseBlock)}(t);case 242:return function(e){he(e.label),Ge(58,e.label.end,An,e),kn(),he(e.statement)}(t);case 243:return function(e){Ge(108,e.pos,Cn,e),mn(e.expression),Dn()}(t);case 244:return function(e){Ge(110,e.pos,Cn,e),kn(),he(e.tryBlock),e.catchClause&&(Un(e,e.tryBlock,e.catchClause),he(e.catchClause));e.finallyBlock&&(Un(e,e.catchClause||e.tryBlock,e.finallyBlock),Ge(95,(e.catchClause||e.tryBlock).end,Cn,e),kn(),he(e.finallyBlock))}(t);case 245:return function(e){Fn(86,e.pos,Cn),Dn()}(t);case 246:return function(e){he(e.name),he(e.exclamationToken),dn(e.type),pn(e.initializer,e.type?e.type.end:e.name.end,e)}(t);case 247:return function(n){Cn(e.isLet(n)?"let":e.isVarConst(n)?"const":"var"),kn(),En(n,n.declarations,528)}(t);case 248:return function(e){Be(e)}(t);case 249:return function(e){qe(e)}(t);case 250:return function(e){gn(e,e.decorators),un(e,e.modifiers),Cn("interface"),kn(),he(e.name),hn(e,e.typeParameters),En(e,e.heritageClauses,512),kn(),An("{"),En(e,e.members,129),An("}")}(t);case 251:return function(e){gn(e,e.decorators),un(e,e.modifiers),Cn("type"),kn(),he(e.name),hn(e,e.typeParameters),kn(),An("="),kn(),he(e.type),Dn()}(t);case 252:return function(e){un(e,e.modifiers),Cn("enum"),kn(),he(e.name),kn(),An("{"),En(e,e.members,145),An("}")}(t);case 253:return function(e){un(e,e.modifiers),1024&~e.flags&&(Cn(16&e.flags?"namespace":"module"),kn());he(e.name);var n=e.body;if(!n)return Dn();for(;253===n.kind;)An("."),he(n.name),n=n.body;kn(),he(n)}(t);case 254:return function(n){tt(n),e.forEach(n.statements,it),Pe(n,Zn(n)),rt(n)}(t);case 255:return function(e){Ge(18,e.pos,An,e),En(e,e.clauses,129),Ge(19,e.clauses.end,An,e,!0)}(t);case 256:return function(e){var n=Ge(92,e.pos,Cn,e);kn(),n=Ge(126,n,Cn,e),kn(),n=Ge(139,n,Cn,e),kn(),he(e.name),Dn()}(t);case 257:return function(e){un(e,e.modifiers),Ge(99,e.modifiers?e.modifiers.end:e.pos,Cn,e),kn(),he(e.name),kn(),Ge(62,e.name.end,An,e),kn(),function(e){78===e.kind?be(e):he(e)}(e.moduleReference),Dn()}(t);case 258:return function(e){un(e,e.modifiers),Ge(99,e.modifiers?e.modifiers.end:e.pos,Cn,e),kn(),e.importClause&&(he(e.importClause),kn(),Ge(152,e.importClause.end,Cn,e),kn());be(e.moduleSpecifier),Dn()}(t);case 259:return function(e){e.isTypeOnly&&(Ge(148,e.pos,Cn,e),kn());he(e.name),e.name&&e.namedBindings&&(Ge(27,e.name.end,An,e),kn());he(e.namedBindings)}(t);case 260:return function(e){var n=Ge(41,e.pos,An,e);kn(),Ge(126,n,Cn,e),kn(),he(e.name)}(t);case 266:return function(e){var n=Ge(41,e.pos,An,e);kn(),Ge(126,n,Cn,e),kn(),he(e.name)}(t);case 261:return function(e){ze(e)}(t);case 262:return function(e){Je(e)}(t);case 263:return function(e){var n=Ge(92,e.pos,Cn,e);kn(),e.isExportEquals?Ge(62,n,In,e):Ge(87,n,Cn,e);kn(),be(e.expression),Dn()}(t);case 264:return function(e){var n=Ge(92,e.pos,Cn,e);kn(),e.isTypeOnly&&(n=Ge(148,n,Cn,e),kn());e.exportClause?he(e.exportClause):n=Ge(41,n,An,e);if(e.moduleSpecifier){kn(),Ge(152,e.exportClause?e.exportClause.end:n,Cn,e),kn(),be(e.moduleSpecifier)}Dn()}(t);case 265:return function(e){ze(e)}(t);case 267:return function(e){Je(e)}(t);case 268:return;case 269:return function(e){Cn("require"),An("("),be(e.expression),An(")")}(t);case 11:return function(e){m.writeLiteral(e.text)}(t);case 272:case 275:return function(n){if(An("<"),e.isJsxOpeningElement(n)){var t=Jn(n.tagName,n);Xe(n.tagName),yn(n,n.typeArguments),n.attributes.properties&&n.attributes.properties.length>0&&kn(),he(n.attributes),Xn(n.attributes,n),Kn(t)}An(">")}(t);case 273:case 276:return function(n){An("</"),e.isJsxClosingElement(n)&&Xe(n.tagName);An(">")}(t);case 277:return function(e){he(e.name),function(e,n,t,r){t&&(n(e),r(t))}("=",An,e.initializer,Ee)}(t);case 278:return function(e){En(e,e.properties,262656)}(t);case 279:return function(e){An("{..."),be(e.expression),An("}")}(t);case 280:return function(e){e.expression&&(An("{"),he(e.dotDotDotToken),be(e.expression),An("}"))}(t);case 281:return function(e){Ge(81,e.pos,Cn,e),kn(),be(e.expression),Ye(e,e.statements,e.expression.end)}(t);case 282:return function(e){var n=Ge(87,e.pos,Cn,e);Ye(e,e.statements,n)}(t);case 283:return function(e){kn(),Bn(e.token,Cn),kn(),En(e,e.types,528)}(t);case 284:return function(e){var n=Ge(82,e.pos,Cn,e);kn(),e.variableDeclaration&&(Ge(20,n,An,e),he(e.variableDeclaration),Ge(21,e.variableDeclaration.end,An,e),kn());he(e.block)}(t);case 285:return function(n){he(n.name),An(":"),kn();var t=n.initializer;if(At&&0==(512&e.getEmitFlags(t))){At(e.getCommentRange(t).pos)}be(t)}(t);case 286:return function(e){he(e.name),e.objectAssignmentInitializer&&(kn(),An("="),kn(),be(e.objectAssignmentInitializer))}(t);case 287:return function(e){e.expression&&(Ge(25,e.pos,An,e),be(e.expression))}(t);case 288:return function(e){he(e.name),pn(e.initializer,e.name.end,e)}(t);case 322:case 328:return function(e){$e(e.tagName),nn(e.typeExpression),kn(),e.isBracketed&&An("[");he(e.name),e.isBracketed&&An("]");en(e.comment)}(t);case 323:case 325:case 324:case 321:return $e((r=t).tagName),nn(r.typeExpression),void en(r.comment);case 312:case 311:return function(e){$e(e.tagName),kn(),An("{"),he(e.class),An("}"),en(e.comment)}(t);case 326:return function(e){$e(e.tagName),nn(e.constraint),kn(),En(e,e.typeParameters,528),en(e.comment)}(t);case 327:return function(e){$e(e.tagName),e.typeExpression&&(298===e.typeExpression.kind?nn(e.typeExpression):(kn(),An("{"),G("Object"),e.typeExpression.isArrayType&&(An("["),An("]")),An("}")));e.fullName&&(kn(),he(e.fullName));en(e.comment),e.typeExpression&&308===e.typeExpression.kind&&Qe(e.typeExpression)}(t);case 320:return function(e){$e(e.tagName),e.name&&(kn(),he(e.name));en(e.comment),Ze(e.typeExpression)}(t);case 309:return Ze(t);case 308:return Qe(t);case 315:case 310:return function(e){$e(e.tagName),en(e.comment)}(t);case 307:return function(e){if(G("/**"),e.comment)for(var n=e.comment.split(/\r\n?|\n/g),t=0,r=n;t<r.length;t++){var a=r[t];Pn(),kn(),An("*"),kn(),G(a)}e.tags&&(1!==e.tags.length||325!==e.tags[0].kind||e.comment?En(e,e.tags,33):(kn(),he(e.tags[0])));kn(),G("*/")}(t)}if(e.isExpression(t))n=1,C!==e.noEmitSubstitution&&(T=t=C(n,t));else if(e.isToken(t))return Gn(t,An)}var r,a,o,s;if(1===n)switch(t.kind){case 8:case 9:return function(e){Ne(e,!1)}(t);case 10:case 13:case 14:return Ne(t,!1);case 78:return ke(t);case 94:case 103:case 105:case 109:case 107:case 99:return void Gn(t,Cn);case 196:return function(e){var n=e.elements,t=e.multiLine?65536:0;Tn(e,n,8914|t)}(t);case 197:return function(n){e.forEach(n.properties,ot);var t=65536&e.getEmitFlags(n);t&&Mn();var r=n.multiLine?65536:0,a=i.languageVersion>=1&&!e.isJsonSourceFile(i)?64:0;En(n,n.properties,526226|a|r),t&&wn()}(t);case 198:return function(n){var t=e.cast(be(n.expression),e.isExpression),r=n.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),n.expression.end,n.name.pos),a=Qn(n,n.expression,r),i=Qn(n,r,n.name);jn(a,!1),28===r.kind||!function(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var t=nt(n,!0,!1);return!n.numericLiteralFlags&&!e.stringContains(t,e.tokenToString(24))}if(e.isAccessExpression(n)){var r=e.getConstantValue(n);return"number"==typeof r&&isFinite(r)&&Math.floor(r)===r}}(t)||m.hasTrailingComment()||m.hasTrailingWhitespace()||An(".");n.questionDotToken?he(r):Ge(r.kind,n.expression.end,An,n);jn(i,!1),he(n.name),Kn(a,i)}(t);case 199:return function(e){be(e.expression),he(e.questionDotToken),Ge(22,e.expression.end,An,e),be(e.argumentExpression),Ge(23,e.argumentExpression.end,An,e)}(t);case 200:return function(e){be(e.expression),he(e.questionDotToken),yn(e,e.typeArguments),Tn(e,e.arguments,2576)}(t);case 201:return function(e){Ge(102,e.pos,Cn,e),kn(),be(e.expression),yn(e,e.typeArguments),Tn(e,e.arguments,18960)}(t);case 202:return function(e){be(e.tag),yn(e,e.typeArguments),kn(),be(e.template)}(t);case 203:return function(e){An("<"),he(e.type),An(">"),be(e.expression)}(t);case 204:return function(e){var n=Ge(20,e.pos,An,e),t=Jn(e.expression,e);be(e.expression),Xn(e.expression,e),Kn(t),Ge(21,e.expression?e.expression.end:n,An,e)}(t);case 205:return function(e){st(e.name),Be(e)}(t);case 206:return function(e){gn(e,e.decorators),un(e,e.modifiers),Ve(e,Oe)}(t);case 207:return function(e){Ge(88,e.pos,Cn,e),kn(),be(e.expression)}(t);case 208:return function(e){Ge(111,e.pos,Cn,e),kn(),be(e.expression)}(t);case 209:return function(e){Ge(113,e.pos,Cn,e),kn(),be(e.expression)}(t);case 210:return function(e){Ge(130,e.pos,Cn,e),kn(),be(e.expression)}(t);case 211:return function(e){Bn(e.operator,In),function(e){var n=e.operand;return 211===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))}(e)&&kn();be(e.operand)}(t);case 212:return function(e){be(e.operand),Bn(e.operator,In)}(t);case 213:return function(n){var t=[n],r=[0],a=0;for(;a>=0;)switch(n=t[a],r[a]){case 0:c(n.left);break;case 1:var i=27!==n.operatorToken.kind,o=Qn(n,n.left,n.operatorToken),s=Qn(n,n.operatorToken,n.right);jn(o,i),Lt(n.operatorToken.pos),Gn(n.operatorToken,100===n.operatorToken.kind?Cn:In),At(n.operatorToken.end,!0),jn(s,!0),c(n.right);break;case 2:o=Qn(n,n.left,n.operatorToken),s=Qn(n,n.operatorToken,n.right);Kn(o,s),a--;break;default:return e.Debug.fail("Invalid state "+r[a]+" for emitBinaryExpressionWorker")}function c(n){r[a]++;var i=E,o=T;E=n,T=void 0;var s=Se(0,1,n);s===Ae&&e.isBinaryExpression(n)?(a++,r[a]=0,t[a]=n):s(1,n),e.Debug.assert(E===n),E=i,T=o}}(t);case 214:return function(e){var n=Qn(e,e.condition,e.questionToken),t=Qn(e,e.questionToken,e.whenTrue),r=Qn(e,e.whenTrue,e.colonToken),a=Qn(e,e.colonToken,e.whenFalse);be(e.condition),jn(n,!0),he(e.questionToken),jn(t,!0),be(e.whenTrue),Kn(n,t),jn(r,!0),he(e.colonToken),jn(a,!0),be(e.whenFalse),Kn(r,a)}(t);case 215:return function(e){he(e.head),En(e,e.templateSpans,262144)}(t);case 216:return function(e){Ge(124,e.pos,Cn,e),he(e.asteriskToken),mn(e.expression)}(t);case 217:return function(e){Ge(25,e.pos,An,e),be(e.expression)}(t);case 218:return function(e){st(e.name),qe(e)}(t);case 219:return;case 221:return function(e){be(e.expression),e.type&&(kn(),Cn("as"),kn(),he(e.type))}(t);case 222:return function(e){be(e.expression),In("!")}(t);case 223:return function(e){Fn(e.keywordToken,e.pos,An),An("."),he(e.name)}(t);case 270:return function(e){he(e.openingElement),En(e,e.children,262144),he(e.closingElement)}(t);case 271:return function(e){An("<"),Xe(e.tagName),yn(e,e.typeArguments),kn(),he(e.attributes),An("/>")}(t);case 274:return function(e){he(e.openingFragment),En(e,e.children,262144),he(e.closingFragment)}(t);case 331:return function(e){be(e.expression)}(t);case 332:return function(e){Tn(e,e.elements,528)}(t)}}function De(n,t){e.Debug.assert(E===t||T===t),Le(1,n,t)(n,T),e.Debug.assert(E===t||T===t)}function Ce(t){var r=!1,a=295===t.kind?t:void 0;if(!a||M!==e.ModuleKind.None){for(var o=a?a.prepends.length:0,s=a?a.sourceFiles.length+o:1,c=0;c<s;c++){var l=a?c<o?a.prepends[c]:a.sourceFiles[c-o]:t,u=e.isSourceFile(l)?l:e.isUnparsedSource(l)?void 0:i,d=n.noEmitHelpers||!!u&&e.hasRecordedExternalHelpers(u),p=(e.isSourceFile(l)||e.isUnparsedSource(l))&&!g,f=e.isUnparsedSource(l)?l.helpers:Ie(l);if(f)for(var _=0,y=f;_<y.length;_++){var h=y[_];if(h.scoped){if(a)continue}else{if(d)continue;if(p){if(w.get(h.name))continue;w.set(h.name,!0)}}var v=ae();"string"==typeof h.text?Vn(h.text):Vn(h.text(mt)),B&&B.sections.push({pos:v,end:m.getTextPos(),kind:"emitHelpers",data:h.name}),r=!0}}return r}}function Ie(n){var t=e.getEmitHelpers(n);return t&&e.stableSort(t,e.compareEmitHelpers)}function Ne(t,r){var a,i=nt(t,n.neverAsciiEscape,r);!n.sourceMap&&!n.inlineSourceMap||10!==t.kind&&!e.isTemplateLiteralKind(t.kind)?function(e){m.writeStringLiteral(e)}(i):(a=i,m.writeLiteral(a))}function Re(e){m.rawWrite(e.parent.text.substring(e.pos,e.end))}function ke(e){(e.symbol?xn:G)(et(e,!1),e.symbol),En(e,e.typeArguments,53776)}function Oe(e){hn(e,e.typeParameters),bn(e,e.parameters),dn(e.type),kn(),he(e.equalsGreaterThanToken)}function Pe(n,t){Ge(18,n.pos,An,n);var r=t||1&e.getEmitFlags(n)?768:129;En(n,n.statements,r),Ge(19,n.statements.end,An,n,!!(1&r))}function Me(e){e?An(";"):Dn()}function we(e,n){var t=Ge(114,n,Cn,e);kn(),Ge(20,t,An,e),be(e.expression),Ge(21,e.expression.end,An,e)}function Fe(e){void 0!==e&&(247===e.kind?he(e):be(e))}function Ge(n,t,r,a,o){var s=e.getParseTreeNode(a),c=s&&s.kind===a.kind,l=t;if(c&&i&&(t=e.skipTrivia(i.text,t)),Lt&&c&&a.pos!==l){var u=o&&i&&!e.positionsAreOnSameLine(l,t,i);u&&Mn(),Lt(l),u&&wn()}return t=Bn(n,r,t),At&&c&&a.end!==t&&At(t,!0),t}function Be(e){gn(e,e.decorators),un(e,e.modifiers),Cn("function"),he(e.asteriskToken),kn(),ve(e.name),Ve(e,je)}function Ue(e,n){Ke(n)}function Ve(n,t){var r=n.body;if(r)if(e.isBlock(r)){var a=65536&e.getEmitFlags(n);a&&Mn(),tt(n),e.forEach(n.parameters,it),it(n.body),t(n),x?x(4,r,Ue):Ke(r),rt(n),a&&wn()}else t(n),kn(),be(r);else t(n),Dn()}function je(e){hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type)}function Ke(n){kn(),An("{"),Mn();var t=function(n){if(1&e.getEmitFlags(n))return!0;if(n.multiLine)return!1;if(!e.nodeIsSynthesized(n)&&!e.rangeIsOnSingleLine(n,i))return!1;if(Hn(n,n.statements,2)||qn(n,n.statements,2))return!1;for(var t,r=0,a=n.statements;r<a.length;r++){var o=a[r];if(Wn(t,o,2)>0)return!1;t=o}return!0}(n)?He:We;vt?vt(n,n.statements,t):t(n),wn(),Fn(19,n.statements.end,An,n)}function He(e){We(e,!0)}function We(e,n){var t=an(e.statements),r=m.getTextPos();Ce(e),0===t&&r===m.getTextPos()&&n?(wn(),En(e,e.statements,768),Mn()):En(e,e.statements,1,t)}function qe(n){e.forEach(n.members,ot),gn(n,n.decorators),un(n,n.modifiers),Cn("class"),n.name&&(kn(),ve(n.name));var t=65536&e.getEmitFlags(n);t&&Mn(),hn(n,n.typeParameters),En(n,n.heritageClauses,0),kn(),An("{"),En(n,n.members,129),An("}"),t&&wn()}function ze(e){An("{"),En(e,e.elements,525136),An("}")}function Je(e){e.propertyName&&(he(e.propertyName),kn(),Ge(126,e.propertyName.end,Cn,e),kn()),he(e.name)}function Xe(e){78===e.kind?be(e):he(e)}function Ye(n,t,r){var a=163969;1===t.length&&(e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t[0])||e.rangeStartPositionsAreOnSameLine(n,t[0],i))?(Fn(58,r,An,n),kn(),a&=-130):Ge(58,r,An,n),En(n,t,a)}function Qe(n){En(n,e.factory.createNodeArray(n.jsDocPropertyTags),33)}function Ze(n){n.typeParameters&&En(n,e.factory.createNodeArray(n.typeParameters),33),n.parameters&&En(n,e.factory.createNodeArray(n.parameters),33),n.type&&(Pn(),kn(),An("*"),kn(),he(n.type))}function $e(e){An("@"),he(e)}function en(e){e&&(kn(),G(e))}function nn(e){e&&(kn(),An("{"),he(e.type),An("}"))}function tn(e,n,t,r){if(e){var a=m.getTextPos();Rn('/// <reference no-default-lib="true"/>'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"no-default-lib"}),Pn()}if(i&&i.moduleName&&(Rn('/// <amd-module name="'+i.moduleName+'" />'),Pn()),i&&i.amdDependencies)for(var o=0,s=i.amdDependencies;o<s.length;o++){var c=s[o];c.name?Rn('/// <amd-dependency name="'+c.name+'" path="'+c.path+'" />'):Rn('/// <amd-dependency path="'+c.path+'" />'),Pn()}for(var l=0,u=n;l<u.length;l++){var d=u[l];a=m.getTextPos();Rn('/// <reference path="'+d.fileName+'" />'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"reference",data:d.fileName}),Pn()}for(var p=0,f=t;p<f.length;p++){d=f[p],a=m.getTextPos();Rn('/// <reference types="'+d.fileName+'" />'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"type",data:d.fileName}),Pn()}for(var _=0,g=r;_<g.length;_++){d=g[_],a=m.getTextPos();Rn('/// <reference lib="'+d.fileName+'" />'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"lib",data:d.fileName}),Pn()}}function rn(n){var t=n.statements;tt(n),e.forEach(n.statements,it),Ce(n);var r=e.findIndex(t,(function(n){return!e.isPrologueDirective(n)}));!function(e){e.isDeclarationFile&&tn(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(n),En(n,t,1,-1===r?t.length:r),rt(n)}function an(n,t,r,a){for(var i=!!t,o=0;o<n.length;o++){var s=n[o];if(!e.isPrologueDirective(s))return o;if(!r||!r.has(s.expression.text)){i&&(i=!1,me(t)),Pn();var c=m.getTextPos();he(s),a&&B&&B.sections.push({pos:c,end:m.getTextPos(),kind:"prologue",data:s.expression.text}),r&&r.add(s.expression.text)}}return n.length}function on(e,n){for(var t=0,r=e;t<r.length;t++){var a=r[t];if(!n.has(a.data)){Pn();var i=m.getTextPos();he(a),B&&B.sections.push({pos:i,end:m.getTextPos(),kind:"prologue",data:a.data}),n&&n.add(a.data)}}}function sn(n){if(e.isSourceFile(n))an(n.statements,n);else{for(var t=new e.Set,r=0,a=n.prepends;r<a.length;r++){on(a[r].prologues,t)}for(var i=0,o=n.sourceFiles;i<o.length;i++){var s=o[i];an(s.statements,s,t,!0)}me(void 0)}}function cn(n){if(e.isSourceFile(n)||e.isUnparsedSource(n)){var t=e.getShebang(n.text);if(t)return Rn(t),Pn(),!0}else{for(var r=0,a=n.prepends;r<a.length;r++){var i=a[r];if(e.Debug.assertNode(i,e.isUnparsedSource),cn(i))return!0}for(var o=0,s=n.sourceFiles;o<s.length;o++){if(cn(s[o]))return!0}}}function ln(e,n){if(e){var t=G;G=n,he(e),G=t}}function un(e,n){n&&n.length&&(En(e,n,262656),kn())}function dn(e){e&&(An(":"),kn(),he(e))}function pn(e,n,t){e&&(kn(),Ge(62,n,In,t),kn(),be(e))}function fn(e){e&&(kn(),he(e))}function mn(e){e&&(kn(),be(e))}function _n(n,t){e.isBlock(t)||1&e.getEmitFlags(n)?(kn(),he(t)):(Pn(),Mn(),e.isEmptyStatement(t)?Te(5,t):he(t),wn())}function gn(e,n){En(e,n,2146305)}function yn(e,n){En(e,n,53776)}function hn(n,t){if(e.isFunctionLike(n)&&n.typeArguments)return yn(n,n.typeArguments);En(n,t,53776)}function vn(e,n){En(e,n,2576)}function bn(n,t){!function(n,t){var r=e.singleOrUndefined(t);return r&&r.pos===n.pos&&e.isArrowFunction(n)&&!n.type&&!e.some(n.decorators)&&!e.some(n.modifiers)&&!e.some(n.typeParameters)&&!e.some(r.decorators)&&!e.some(r.modifiers)&&!r.dotDotDotToken&&!r.questionToken&&!r.type&&!r.initializer&&e.isIdentifier(r.name)}(n,t)?vn(n,t):En(n,t,528)}function En(e,n,t,r,a){Ln(he,e,n,t,r,a)}function Tn(e,n,t,r,a){Ln(be,e,n,t,r,a)}function Sn(e){switch(60&e){case 0:break;case 16:An(",");break;case 4:kn(),An("|");break;case 32:kn(),An("*"),kn();break;case 8:kn(),An("&")}}function Ln(n,t,a,o,s,c){void 0===s&&(s=0),void 0===c&&(c=a?a.length-s:0);var l=void 0===a;if(!(l&&16384&o)){var u=void 0===a||s>=a.length||0===c;if(u&&32768&o)return I&&I(a),void(N&&N(a));if(15360&o&&(An(function(e){return r[15360&e][0]}(o)),u&&!l&&At(a.pos,!0)),I&&I(a),u)!(1&o)||F&&e.rangeIsOnSingleLine(t,i)?256&o&&!(524288&o)&&kn():Pn();else{var d=0==(262144&o),p=d,m=Hn(t,a,o);m?(Pn(m),p=!1):256&o&&kn(),128&o&&Mn();for(var _=void 0,g=void 0,y=!1,h=0;h<c;h++){var v=a[s+h];if(32&o)Pn(),Sn(o);else if(_){60&o&&_.end!==t.end&&Lt(_.end),Sn(o),se(g);var b=Wn(_,v,o);b>0?(0==(131&o)&&(Mn(),y=!0),Pn(b),p=!1):_&&512&o&&kn()}if(g=oe(v),p){if(At)At(e.getCommentRange(v).pos)}else p=d;f=v.pos,n(v),y&&(wn(),y=!1),_=v}var E=64&o&&a.hasTrailingComma;16&o&&E&&An(","),_&&60&o&&_.end!==t.end&&!(1024&e.getEmitFlags(_))&&Lt(_.end),128&o&&wn(),se(g);var T=qn(t,a,o);T?Pn(T):2097408&o&&kn()}N&&N(a),15360&o&&(u&&!l&&Lt(a.end),An(function(e){return r[15360&e][1]}(o)))}}function xn(e,n){m.writeSymbol(e,n)}function An(e){m.writePunctuation(e)}function Dn(){m.writeTrailingSemicolon(";")}function Cn(e){m.writeKeyword(e)}function In(e){m.writeOperator(e)}function Nn(e){m.writeParameter(e)}function Rn(e){m.writeComment(e)}function kn(){m.writeSpace(" ")}function On(e){m.writeProperty(e)}function Pn(e){void 0===e&&(e=1);for(var n=0;n<e;n++)m.writeLine(n>0)}function Mn(){m.increaseIndent()}function wn(){m.decreaseIndent()}function Fn(n,t,r,a){return H?Bn(n,r,t):function(n,t,r,a,i){if(H||n&&e.isInJsonFile(n))return i(t,r,a);var o=n&&n.emitNode,s=o&&o.flags||0,c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[t],l=c&&c.source||h;a=kt(l,c?c.pos:a),0==(128&s)&&a>=0&&Pt(l,a);a=i(t,r,a),c&&(a=c.end);0==(256&s)&&a>=0&&Pt(l,a);return a}(a,n,r,t,Bn)}function Gn(n,t){R&&R(n),t(e.tokenToString(n.kind)),k&&k(n)}function Bn(n,t,r){var a=e.tokenToString(n);return t(a),r<0?r:r+a.length}function Un(n,t,r){if(1&e.getEmitFlags(n))kn();else if(F){var a=Qn(n,t,r);a?Pn(a):kn()}else Pn()}function Vn(n){for(var t=n.split(/\r\n?|\n/g),r=e.guessIndentation(t),a=0,i=t;a<i.length;a++){var o=i[a],s=r?o.slice(r):o;s.length&&(Pn(),G(s))}}function jn(e,n){e?(Mn(),Pn(e)):n&&kn()}function Kn(e,n){e&&wn(),n&&wn()}function Hn(n,t,r){if(2&r||F){if(65536&r)return 1;var a=t[0];if(void 0===a)return e.rangeIsOnSingleLine(n,i)?0:1;if(a.pos===f)return 0;if(11===a.kind)return 0;if(!(e.positionIsSynthesized(n.pos)||e.nodeIsSynthesized(a)||a.parent&&e.getOriginalNode(a.parent)!==e.getOriginalNode(n)))return F?zn((function(t){return e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(a.pos,n.pos,i,t)})):e.rangeStartPositionsAreOnSameLine(n,a,i)?0:1;if(Yn(a,r))return 1}return 1&r?1:0}function Wn(n,t,r){if(2&r||F){if(void 0===n||void 0===t)return 0;if(11===t.kind)return 0;if(!e.nodeIsSynthesized(n)&&!e.nodeIsSynthesized(t)&&n.parent===t.parent)return F?zn((function(r){return e.getLinesBetweenRangeEndAndRangeStart(n,t,i,r)})):e.rangeEndIsOnSameLineAsRangeStart(n,t,i)?0:1;if(Yn(n,r)||Yn(t,r))return 1}else if(e.getStartsOnNewLine(t))return 1;return 1&r?1:0}function qn(n,t,r){if(2&r||F){if(65536&r)return 1;var a=e.lastOrUndefined(t);if(void 0===a)return e.rangeIsOnSingleLine(n,i)?0:1;if(!(e.positionIsSynthesized(n.pos)||e.nodeIsSynthesized(a)||a.parent&&a.parent!==n)){if(F){var o=e.isNodeArray(t)&&!e.positionIsSynthesized(t.end)?t.end:a.end;return zn((function(t){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter(o,n.end,i,t)}))}return e.rangeEndPositionsAreOnSameLine(n,a,i)?0:1}if(Yn(a,r))return 1}return 1&r&&!(131072&r)?1:0}function zn(n){e.Debug.assert(!!F);var t=n(!0);return 0===t?n(!1):t}function Jn(e,n){var t=F&&Hn(n,[e],0);return t&&jn(t,!1),!!t}function Xn(e,n){var t=F&&qn(n,[e],0);t&&Pn(t)}function Yn(n,t){if(e.nodeIsSynthesized(n)){var r=e.getStartsOnNewLine(n);return void 0===r?0!=(65536&t):r}return 0!=(65536&t)}function Qn(n,t,r){return 131072&e.getEmitFlags(n)?0:(n=$n(n),t=$n(t),r=$n(r),e.getStartsOnNewLine(r)?1:e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r)?0:F?zn((function(n){return e.getLinesBetweenRangeEndAndRangeStart(t,r,i,n)})):e.rangeEndIsOnSameLineAsRangeStart(t,r,i)?0:1)}function Zn(n){return 0===n.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(n,n,i)}function $n(n){for(;204===n.kind&&e.nodeIsSynthesized(n);)n=n.expression;return n}function et(n,t){return e.isGeneratedIdentifier(n)?ct(n):(e.isIdentifier(n)||e.isPrivateIdentifier(n))&&(e.nodeIsSynthesized(n)||!n.parent||!i||n.parent&&i&&e.getSourceFileOfNode(n)!==e.getOriginalNode(i))?e.idText(n):10===n.kind&&n.textSourceNode?et(n.textSourceNode,t):!e.isLiteralExpression(n)||!e.nodeIsSynthesized(n)&&n.parent?e.getSourceTextOfNodeFromSourceFile(i,n,t):n.text}function nt(n,t,r){if(10===n.kind&&n.textSourceNode){var a=n.textSourceNode;if(e.isIdentifier(a)||e.isNumericLiteral(a)){var o=e.isNumericLiteral(a)?a.text:et(a);return r?'"'+e.escapeJsxAttributeString(o)+'"':t||16777216&e.getEmitFlags(n)?'"'+e.escapeString(o)+'"':'"'+e.escapeNonAsciiString(o)+'"'}return nt(a,t,r)}return e.getLiteralText(n,i,t,r)}function tt(n){n&&524288&e.getEmitFlags(n)||(l.push(u),u=0,d.push(p))}function rt(n){n&&524288&e.getEmitFlags(n)||(u=l.pop(),p=d.pop())}function at(n){p&&p!==e.lastOrUndefined(d)||(p=new e.Set),p.add(n)}function it(n){if(n)switch(n.kind){case 227:e.forEach(n.statements,it);break;case 242:case 240:case 232:case 233:it(n.statement);break;case 231:it(n.thenStatement),it(n.elseStatement);break;case 234:case 236:case 235:it(n.initializer),it(n.statement);break;case 241:it(n.caseBlock);break;case 255:e.forEach(n.clauses,it);break;case 281:case 282:e.forEach(n.statements,it);break;case 244:it(n.tryBlock),it(n.catchClause),it(n.finallyBlock);break;case 284:it(n.variableDeclaration),it(n.block);break;case 229:it(n.declarationList);break;case 247:e.forEach(n.declarations,it);break;case 246:case 159:case 195:case 249:st(n.name);break;case 248:st(n.name),524288&e.getEmitFlags(n)&&(e.forEach(n.parameters,it),it(n.body));break;case 193:case 194:e.forEach(n.elements,it);break;case 258:it(n.importClause);break;case 259:st(n.name),it(n.namedBindings);break;case 260:case 266:st(n.name);break;case 261:e.forEach(n.elements,it);break;case 262:st(n.propertyName||n.name)}}function ot(e){if(e)switch(e.kind){case 285:case 286:case 162:case 164:case 166:case 167:st(e.name)}}function st(n){n&&(e.isGeneratedIdentifier(n)?ct(n):e.isBindingPattern(n)&&it(n))}function ct(n){if(4==(7&n.autoGenerateFlags))return lt(function(n){var t=n.autoGenerateId,r=n,a=r.original;for(;a&&(r=a,!(e.isIdentifier(r)&&4&r.autoGenerateFlags&&r.autoGenerateId!==t));)a=r.original;return r}(n),n.autoGenerateFlags);var t=n.autoGenerateId;return s[t]||(s[t]=function(n){switch(7&n.autoGenerateFlags){case 1:return pt(0,!!(8&n.autoGenerateFlags));case 2:return pt(268435456,!!(8&n.autoGenerateFlags));case 3:return ft(e.idText(n),32&n.autoGenerateFlags?dt:ut,!!(16&n.autoGenerateFlags),!!(8&n.autoGenerateFlags))}return e.Debug.fail("Unsupported GeneratedIdentifierKind.")}(n))}function lt(n,t){var r=e.getNodeId(n);return o[r]||(o[r]=function(n,t){switch(n.kind){case 78:return ft(et(n),ut,!!(16&t),!!(8&t));case 253:case 252:return function(n){var t=et(n.name);return function(n,t){for(var r=t;e.isNodeDescendantOf(r,t);r=r.nextContainer)if(r.locals){var a=r.locals.get(e.escapeLeadingUnderscores(n));if(a&&3257279&a.flags)return!1}return!0}(t,n)?t:ft(t)}(n);case 258:case 264:return function(n){var t=e.getExternalModuleName(n);return ft(e.isStringLiteral(t)?e.makeIdentifierFromModuleName(t.text):"module")}(n);case 248:case 249:case 263:return ft("default");case 218:return ft("class");case 164:case 166:case 167:return function(n){if(e.isIdentifier(n.name))return lt(n.name);return pt(0)}(n);case 157:return pt(0,!0);default:return pt(0)}}(n,t))}function ut(e){return dt(e)&&!c.has(e)&&!(p&&p.has(e))}function dt(n){return!i||e.isFileLevelUniqueName(i,n,S)}function pt(e,n){if(e&&!(u&e)&&ut(t=268435456===e?"_i":"_n"))return u|=e,n&&at(t),t;for(;;){var t,r=268435455&u;if(u++,8!==r&&13!==r)if(ut(t=r<26?"_"+String.fromCharCode(97+r):"_"+(r-26)))return n&&at(t),t}}function ft(e,n,t,r){if(void 0===n&&(n=ut),t&&n(e))return r?at(e):c.add(e),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var a=1;;){var i=e+a;if(n(i))return r?at(i):c.add(i),i;a++}}function mt(e){return ft(e,dt,!0)}function _t(n,t){e.Debug.assert(E===t||T===t),Z(),X=!1;var r=e.getEmitFlags(t),a=e.getCommentRange(t),i=a.pos,o=a.end,s=330!==t.kind,c=i<0||0!=(512&r)||11===t.kind,l=o<0||0!=(1024&r)||11===t.kind,u=q,d=z,p=J;(i>0||o>0)&&i!==o&&(c||bt(i,s),(!c||i>=0&&0!=(512&r))&&(q=i),(!l||o>=0&&0!=(1024&r))&&(z=o,247===t.kind&&(J=o))),e.forEach(e.getSyntheticLeadingComments(t),gt),$();var f=Le(2,n,t);2048&r?(Y=!0,f(n,t),Y=!1):f(n,t),Z(),e.forEach(e.getSyntheticTrailingComments(t),yt),(i>0||o>0)&&i!==o&&(q=u,z=d,J=p,!l&&s&&function(e){It(e,xt)}(o)),$(),e.Debug.assert(E===t||T===t)}function gt(e){(e.hasLeadingNewline||2===e.kind)&&m.writeLine(),ht(e),e.hasTrailingNewLine||2===e.kind?m.writeLine():m.writeSpace(" ")}function yt(e){m.isAtStartOfLine()||m.writeSpace(" "),ht(e),e.hasTrailingNewLine&&m.writeLine()}function ht(n){var t=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(n),r=3===n.kind?e.computeLineStarts(t):void 0;e.writeCommentRange(t,r,m,0,t.length,P)}function vt(n,t,r){Z();var a,o,s=t.pos,c=t.end,l=e.getEmitFlags(n),u=Y||c<0||0!=(1024&l);s<0||0!=(512&l)||(a=t,(o=e.emitDetachedComments(i.text,ye(),m,Nt,a,P,Y))&&(b?b.push(o):b=[o])),$(),2048&l&&!Y?(Y=!0,r(n),Y=!1):r(n),Z(),u||(bt(t.end,!0),X&&!m.isAtStartOfLine()&&m.writeLine()),$()}function bt(e,n){X=!1,n?Ct(e,St):0===e&&Ct(e,Et)}function Et(n,t,r,a,o){(function(n,t){return e.isRecognizedTripleSlashComment(i.text,n,t)})(n,t)&&St(n,t,r,a,o)}function Tt(t,r){return!n.onlyPrintJsDocStyle||(e.isJSDocLikeText(t,r)||e.isPinnedComment(t,r))}function St(n,t,r,a,o){Tt(i.text,n)&&(X||(e.emitNewLineBeforeLeadingCommentOfPosition(ye(),m,o,n),X=!0),Ot(n),e.writeCommentRange(i.text,ye(),m,n,t,P),Ot(t),a?m.writeLine():3===r&&m.writeSpace(" "))}function Lt(e){Y||-1===e||bt(e,!0)}function xt(n,t,r,a){Tt(i.text,n)&&(m.isAtStartOfLine()||m.writeSpace(" "),Ot(n),e.writeCommentRange(i.text,ye(),m,n,t,P),Ot(t),a&&m.writeLine())}function At(e,n){Y||(Z(),It(e,n?xt:Dt),$())}function Dt(n,t,r,a){Ot(n),e.writeCommentRange(i.text,ye(),m,n,t,P),Ot(t),a?m.writeLine():m.writeSpace(" ")}function Ct(n,t){!i||-1!==q&&n===q||(function(n){return void 0!==b&&e.last(b).nodePos===n}(n)?function(n){var t=e.last(b).detachedCommentEndPos;b.length-1?b.pop():b=void 0;e.forEachLeadingCommentRange(i.text,t,n,t)}(t):e.forEachLeadingCommentRange(i.text,n,t,n))}function It(n,t){i&&(-1===z||n!==z&&n!==J)&&e.forEachTrailingCommentRange(i.text,n,t)}function Nt(n,t,r,a,o,s){Tt(i.text,a)&&(Ot(a),e.writeCommentRange(n,t,r,a,o,s),Ot(o))}function Rt(n,t){e.Debug.assert(E===t||T===t);var r=Le(3,n,t);if(e.isUnparsedSource(t)||e.isUnparsedPrepend(t))r(n,t);else if(e.isUnparsedNode(t)){var a=function(n){return void 0===n.parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=e.tryParseRawSourceMap(n.sourceMapText)||!1),n.parsedSourceMap||void 0}(t.parent);a&&y&&y.appendSourceMap(m.getLine(),m.getColumn(),a,t.parent.sourceMapPath,t.parent.getLineAndCharacterOfPosition(t.pos),t.parent.getLineAndCharacterOfPosition(t.end)),r(n,t)}else{var i=e.getSourceMapRange(t),o=i.pos,s=i.end,c=i.source,l=void 0===c?h:c,u=e.getEmitFlags(t);330!==t.kind&&0==(16&u)&&o>=0&&Pt(l,kt(l,o)),64&u?(H=!0,r(n,t),H=!1):r(n,t),330!==t.kind&&0==(32&u)&&s>=0&&Pt(l,s)}e.Debug.assert(E===t||T===t)}function kt(n,t){return n.skipTrivia?n.skipTrivia(t):e.skipTrivia(n.text,t)}function Ot(n){if(!(H||e.positionIsSynthesized(n)||wt(h))){var t=e.getLineAndCharacterOfPosition(h,n),r=t.line,a=t.character;y.addMapping(m.getLine(),m.getColumn(),W,r,a,void 0)}}function Pt(e,n){if(e!==h){var t=h;Mt(e),Ot(n),Mt(t)}else Ot(n)}function Mt(e){H||(h=e,wt(e)||(W=y.addSource(e.fileName),n.inlineSources&&y.setSourceContent(W,e.text)))}function wt(n){return e.fileExtensionIs(n.fileName,".json")}}e.isBuildInfoFile=function(n){return e.fileExtensionIs(n,".tsbuildinfo")},e.forEachEmittedFile=i,e.getTsBuildInfoEmitOutputFilePath=s,e.getOutputPathsForBundle=c,e.getOutputPathsFor=l,e.getOutputExtension=d,e.getOutputDeclarationFileName=f,e.getAllProjectOutputs=function(n,t){var r=_(),a=r.addOutput,i=r.getOutputs;if(e.outFile(n.options))g(n,a);else{for(var o=0,c=n.fileNames;o<c.length;o++){y(n,c[o],t,a)}a(s(n.options))}return i()},e.getOutputFileNames=function(n,t,r){t=e.normalizePath(t),e.Debug.assert(e.contains(n.fileNames,t),"Expected fileName to be present in command line");var a=_(),i=a.addOutput,o=a.getOutputs;return e.outFile(n.options)?g(n,i):y(n,t,r,i),o()},e.getFirstProjectOutput=function(n,t){if(e.outFile(n.options)){var r=c(n.options,!1).jsFilePath;return e.Debug.checkDefined(r,"project "+n.options.configFilePath+" expected to have at least one output")}for(var a=0,i=n.fileNames;a<i.length;a++){var o=i[a];if(!e.fileExtensionIs(o,".d.ts")){if(r=m(o,n,t))return r;if(!e.fileExtensionIs(o,".json")&&e.getEmitDeclarations(n.options))return f(o,n,t)}}var l=s(n.options);return l||e.Debug.fail("project "+n.options.configFilePath+" expected to have at least one output")},e.emitFiles=h,e.getBuildInfoText=v,e.getBuildInfo=b,e.notImplementedResolver={hasGlobalName:e.notImplemented,getReferencedExportContainer:e.notImplemented,getReferencedImportDeclaration:e.notImplemented,getReferencedDeclarationWithCollidingName:e.notImplemented,isDeclarationWithCollidingName:e.notImplemented,isValueAliasDeclaration:e.notImplemented,isReferencedAliasDeclaration:e.notImplemented,isTopLevelValueImportEqualsWithEntityName:e.notImplemented,getNodeCheckFlags:e.notImplemented,isDeclarationVisible:e.notImplemented,isLateBound:function(e){return!1},collectLinkedAliases:e.notImplemented,isImplementationOfOverload:e.notImplemented,isRequiredInitializedParameter:e.notImplemented,isOptionalUninitializedParameterProperty:e.notImplemented,isExpandoFunctionDeclaration:e.notImplemented,getPropertiesOfContainerFunction:e.notImplemented,createTypeOfDeclaration:e.notImplemented,createReturnTypeOfSignatureDeclaration:e.notImplemented,createTypeOfExpression:e.notImplemented,createLiteralConstValue:e.notImplemented,isSymbolAccessible:e.notImplemented,isEntityNameVisible:e.notImplemented,getConstantValue:e.notImplemented,getReferencedValueDeclaration:e.notImplemented,getTypeReferenceSerializationKind:e.notImplemented,isOptionalParameter:e.notImplemented,moduleExportsSomeValue:e.notImplemented,isArgumentsLocalBinding:e.notImplemented,getExternalModuleFileFromDeclaration:e.notImplemented,getTypeReferenceDirectivesForEntityName:e.notImplemented,getTypeReferenceDirectivesForSymbol:e.notImplemented,isLiteralConstDeclaration:e.notImplemented,getJsxFactoryEntity:e.notImplemented,getJsxFragmentFactoryEntity:e.notImplemented,getAllAccessorDeclarations:e.notImplemented,getSymbolOfExternalModuleSpecifier:e.notImplemented,isBindingCapturedByNode:e.notImplemented,getDeclarationStatementsForSourceFile:e.notImplemented,isImportRequiredByAugmentation:e.notImplemented},e.emitUsingBuildInfo=function(n,t,r,a){var i=c(n.options,!1),s=i.buildInfoPath,l=i.jsFilePath,u=i.sourceMapFilePath,d=i.declarationFilePath,p=i.declarationMapPath,f=t.readFile(e.Debug.checkDefined(s));if(!f)return s;var m=t.readFile(e.Debug.checkDefined(l));if(!m)return l;var _=u&&t.readFile(u);if(u&&!_||n.options.inlineSourceMap)return u||"inline sourcemap decoding";var g=d&&t.readFile(d);if(d&&!g)return d;var y=p&&t.readFile(p);if(p&&!y||n.options.inlineSourceMap)return p||"inline sourcemap decoding";var E=b(f);if(!E.bundle||!E.bundle.js||g&&!E.bundle.dts)return s;var T=e.getDirectoryPath(e.getNormalizedAbsolutePath(s,t.getCurrentDirectory())),S=e.createInputFiles(m,g,u,_,p,y,l,d,s,E,!0),L=[],x=e.createPrependNodes(n.projectReferences,r,(function(e){return t.readFile(e)})),A=function(n,t,r){var a,i=e.Debug.checkDefined(n.js),o=(null===(a=i.sources)||void 0===a?void 0:a.prologues)&&e.arrayToMap(i.sources.prologues,(function(e){return e.file}));return n.sourceFiles.map((function(n,a){var i,s,c=null==o?void 0:o.get(a),l=null==c?void 0:c.directives.map((function(n){var t=e.setTextRange(e.factory.createStringLiteral(n.expression.text),n.expression),r=e.setTextRange(e.factory.createExpressionStatement(t),n);return e.setParent(t,r),r})),u=e.factory.createToken(1),d=e.factory.createSourceFile(null!=l?l:[],u,0);return d.fileName=e.getRelativePathFromDirectory(r.getCurrentDirectory(),e.getNormalizedAbsolutePath(n,t),!r.useCaseSensitiveFileNames()),d.text=null!==(i=null==c?void 0:c.text)&&void 0!==i?i:"",e.setTextRangePosWidth(d,0,null!==(s=null==c?void 0:c.text.length)&&void 0!==s?s:0),e.setEachParent(d.statements,d),e.setTextRangePosWidth(u,d.end,0),e.setParent(u,d),d}))}(E.bundle,T,t),D={getPrependNodes:e.memoize((function(){return o(x,[S])})),getCanonicalFileName:t.getCanonicalFileName,getCommonSourceDirectory:function(){return e.getNormalizedAbsolutePath(E.bundle.commonSourceDirectory,T)},getCompilerOptions:function(){return n.options},getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.getNewLine()},getSourceFile:e.returnUndefined,getSourceFileByPath:e.returnUndefined,getSourceFiles:function(){return A},getLibFileFromReference:e.notImplemented,isSourceFileFromExternalLibrary:e.returnFalse,getResolvedProjectReferenceToRedirect:e.returnUndefined,getProjectReferenceRedirect:e.returnUndefined,isSourceOfProjectReferenceRedirect:e.returnFalse,writeFile:function(n,t,r){switch(n){case l:if(m===t)return;break;case u:if(_===t)return;break;case s:var a=b(t);a.program=E.program;var i=E.bundle,o=i.js,c=i.dts,f=i.sourceFiles;return a.bundle.js.sources=o.sources,c&&(a.bundle.dts.sources=c.sources),a.bundle.sourceFiles=f,void L.push({name:n,text:v(a),writeByteOrderMark:r});case d:if(g===t)return;break;case p:if(y===t)return;break;default:e.Debug.fail("Unexpected path: "+n)}L.push({name:n,text:t,writeByteOrderMark:r})},isEmitBlocked:e.returnFalse,readFile:function(e){return t.readFile(e)},fileExists:function(e){return t.fileExists(e)},useCaseSensitiveFileNames:function(){return t.useCaseSensitiveFileNames()},getProgramBuildInfo:e.returnUndefined,getSourceFileFromReference:e.returnUndefined,redirectTargetsMap:e.createMultiMap()};return h(e.notImplementedResolver,D,void 0,e.getTransformers(n.options,a)),L},function(e){e[e.Notification=0]="Notification",e[e.Substitution=1]="Substitution",e[e.Comments=2]="Comments",e[e.SourceMaps=3]="SourceMaps",e[e.Emit=4]="Emit"}(n||(n={})),e.createPrinter=E,function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i"}(t||(t={}))}(p||(p={})),function(e){var n;function t(e,n,t,r,a){return e.watchFile(n,t,r,a)}function r(e,n,r,a,i,o){return t(e,n,(function(e,n){return r(e,n,o)}),a,i)}function a(e,n,t,r,a){return e.watchDirectory(n,t,0!=(1&r),a)}function i(e,t){switch(e){case n.None:return t;case n.TriggerOnly:return c;case n.Verbose:return t===a?s:o}}function o(e,n,t,r,a,i,o,s,u,d,p,f){d(p+":: Added:: "+l(n,r,a,o,s,f));var m=c(e,n,t,r,a,i,o,s,u,d,p,f);return{close:function(){d(p+":: Close:: "+l(n,r,a,o,s,f)),m.close()}}}function s(n,t,r,a,i,o,s,u,d,p,f,m){var _=f+":: Added:: "+l(t,a,i,s,u,m);p(_);var g=e.timestamp(),y=c(n,t,r,a,i,o,s,u,d,p,f,m),h=e.timestamp()-g;return p("Elapsed:: "+h+"ms "+_),{close:function(){var n=f+":: Close:: "+l(t,a,i,s,u,m);p(n);var r=e.timestamp();y.close();var o=e.timestamp()-r;p("Elapsed:: "+o+"ms "+n)}}}function c(n,t,r,a,i,o,s,c,u,d,p,f){return u(n,t,(function(n,u){var m=p+":: Triggered with "+n+" "+(void 0!==u?u:"")+":: "+l(t,a,i,s,c,f);d(m);var _=e.timestamp();r(n,u,o);var g=e.timestamp()-_;d("Elapsed:: "+g+"ms "+m)}),a,i)}function l(e,n,t,r,a,i){return"WatchInfo: "+e+" "+n+" "+JSON.stringify(t)+" "+(i?i(r,a):void 0===a?r:r+" "+a)}function u(e){e.watcher.close()}e.createCachedDirectoryStructureHost=function(n,t,r){if(n.getDirectories&&n.readDirectory){var a=new e.Map,i=e.createGetCanonicalFileName(r);return{useCaseSensitiveFileNames:r,fileExists:function(e){var t=c(o(e));return t&&p(t.files,l(e))||n.fileExists(e)},readFile:function(e,t){return n.readFile(e,t)},directoryExists:n.directoryExists&&function(t){var r=o(t);return a.has(e.ensureTrailingDirectorySeparator(r))||n.directoryExists(t)},getDirectories:function(e){var t=o(e),r=u(e,t);if(r)return r.directories.slice();return n.getDirectories(e)},readDirectory:function(a,i,s,c,l){var d=o(a),p=u(a,d);if(p)return e.matchFiles(a,i,s,c,r,t,l,(function(n){var t=o(n);if(t===d)return p;return u(n,t)||e.emptyFileSystemEntries}),m);return n.readDirectory(a,i,s,c,l)},createDirectory:n.createDirectory&&function(e){var t=c(o(e)),r=l(e);t&&f(t.directories,r,!0);n.createDirectory(e)},writeFile:n.writeFile&&function(e,t,r){var a=c(o(e));a&&_(a,l(e),!0);return n.writeFile(e,t,r)},addOrDeleteFileOrDirectory:function(e,t){if(s(t))return void g();var r=c(t);if(!r)return;if(!n.directoryExists)return void g();var a=l(e),i={fileExists:n.fileExists(t),directoryExists:n.directoryExists(t)};i.directoryExists||p(r.directories,a)?g():_(r,a,i.fileExists);return i},addOrDeleteFile:function(n,t,r){if(r===e.FileWatcherEventKind.Changed)return;var a=c(t);a&&_(a,l(n),r===e.FileWatcherEventKind.Created)},clearCache:g,realpath:n.realpath&&m}}function o(n){return e.toPath(n,t,i)}function s(n){return a.get(e.ensureTrailingDirectorySeparator(n))}function c(n){return s(e.getDirectoryPath(n))}function l(n){return e.getBaseFileName(e.normalizePath(n))}function u(t,r){var i=s(r=e.ensureTrailingDirectorySeparator(r));if(i)return i;try{return function(t,r){var i={files:e.map(n.readDirectory(t,void 0,void 0,["*.*"]),l)||[],directories:n.getDirectories(t)||[]};return a.set(e.ensureTrailingDirectorySeparator(r),i),i}(t,r)}catch(n){return void e.Debug.assert(!a.has(e.ensureTrailingDirectorySeparator(r)))}}function d(e,n){return i(e)===i(n)}function p(n,t){return e.some(n,(function(e){return d(e,t)}))}function f(n,t,r){if(p(n,t)){if(!r)return e.filterMutate(n,(function(e){return!d(e,t)}))}else if(r)return n.push(t)}function m(e){return n.realpath?n.realpath(e):e}function _(e,n,t){f(e.files,n,t)}function g(){a.clear()}},function(e){e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={})),e.updateMissingFilePathsWatch=function(n,t,r){var a=n.getMissingFilePaths(),i=e.arrayToMap(a,e.identity,e.returnTrue);e.mutateMap(t,i,{createNewValue:r,onDeleteValue:e.closeFileWatcher})},e.updateWatchingWildcardDirectories=function(n,t,r){function a(e,n){return{watcher:r(e,n),flags:n}}e.mutateMap(n,t,{createNewValue:a,onDeleteValue:u,onExistingValue:function(e,t,r){if(e.flags===t)return;e.watcher.close(),n.set(r,a(r,t))}})},e.isIgnoredFileFromWildCardWatching=function(n){var t=n.watchedDirPath,r=n.fileOrDirectory,a=n.fileOrDirectoryPath,i=n.configFileName,o=n.options,s=n.configFileSpecs,c=n.program,l=n.extraFileExtensions,u=n.currentDirectory,d=n.useCaseSensitiveFileNames,p=n.writeLog,f=e.removeIgnoredPath(a);if(!f)return p("Project: "+i+" Detected ignored path: "+r),!0;if((a=f)===t)return!1;if(e.hasExtension(a)&&!e.isSupportedSourceFileName(r,o,l))return p("Project: "+i+" Detected file add/remove of non supported extension: "+r),!0;if(e.isExcludedFile(r,s,e.getNormalizedAbsolutePath(e.getDirectoryPath(i),u),d,u))return p("Project: "+i+" Detected excluded file: "+r),!0;if(!c)return!1;if(o.outFile||o.outDir)return!1;if(e.fileExtensionIs(a,".d.ts")){if(o.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(a,e.supportedJSExtensions))return!1;var m=e.removeFileExtension(a),_=function(e){return!!e.getState}(c)?c.getProgramOrUndefined():c;return!(!g(m+".ts")&&!g(m+".tsx"))&&(p("Project: "+i+" Detected output file: "+r),!0);function g(e){return _?!!_.getSourceFileByPath(e):c.getState().fileInfos.has(e)}},e.isEmittedFileOfProgram=function(e,n){return!!e&&e.isEmittedFile(n)},function(e){e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose"}(n=e.WatchLogLevel||(e.WatchLogLevel={})),e.getWatchFactory=function(o,s,c){return function(t,a,o,s,c){var l=i(t,s),u=t===n.None?r:l,d=i(t,c);t===n.Verbose&&e.sysLog===e.noop&&e.setSysLog((function(e){return a(e)}));return{watchFile:function(e,n,t,r,i,c,u){return l(e,n,t,r,i,void 0,c,u,s,a,"FileWatcher",o)},watchFilePath:function(e,n,t,r,i,c,l,d){return u(e,n,t,r,i,c,l,d,s,a,"FileWatcher",o)},watchDirectory:function(e,n,t,r,i,s,l){return d(e,n,t,r,i,void 0,s,l,c,a,"DirectoryWatcher",o)}}}(o,s,c,t,a)},e.getFallbackOptions=function(n){var t=null==n?void 0:n.fallbackPolling;return{watchFile:void 0!==t?t:e.WatchFileKind.PriorityPollingInterval}},e.closeFileWatcherOf=u}(p||(p={})),function(e){function n(n,t){var r=e.getDirectoryPath(t),a=e.isRootedDiskPath(n)?n:e.combinePaths(r,n);return e.normalizePath(a)}function t(n,t,r){var a;return e.forEach(n,(function(n){var i=e.getNormalizedPathComponents(n,t);if(i.pop(),a){for(var o=Math.min(a.length,i.length),s=0;s<o;s++)if(r(a[s])!==r(i[s])){if(0===s)return!0;a.length=s;break}i.length<a.length&&(a.length=i.length)}else a=i}))?"":a?e.getPathFromPathComponents(a):t}function r(e,n){return a(e,n)}function a(n,t,r){void 0===r&&(r=e.sys);var a,i=new e.Map,o=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames);function s(){return e.getDirectoryPath(e.normalizePath(r.getExecutingFilePath()))}var c=e.getNewLineCharacter(n,(function(){return r.newLine})),l=r.realpath&&function(e){return r.realpath(e)},u={getSourceFile:function(n,r,a){var i;try{e.performance.mark("beforeIORead"),i=u.readFile(n),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),i=""}return void 0!==i?e.createSourceFile(n,i,r,t):void 0},getDefaultLibLocation:s,getDefaultLibFileName:function(n){return e.combinePaths(s(),e.getDefaultLibFileName(n))},writeFile:function(t,o,s,c){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(t,o,s,(function(t,i,o){return function(t,i,o){if(!e.isWatchSet(n)||!r.createHash||!r.getModifiedTime)return void r.writeFile(t,i,o);a||(a=new e.Map);var s=r.createHash(i),c=r.getModifiedTime(t);if(c){var l=a.get(t);if(l&&l.byteOrderMark===o&&l.hash===s&&l.mtime.getTime()===c.getTime())return}r.writeFile(t,i,o);var u=r.getModifiedTime(t)||e.missingFileModifiedTime;a.set(t,{hash:s,byteOrderMark:o,mtime:u})}(t,i,o)}),(function(e){return(u.createDirectory||r.createDirectory)(e)}),(function(e){return n=e,!!i.has(n)||!!(u.directoryExists||r.directoryExists)(n)&&(i.set(n,!0),!0);var n})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){c&&c(e.message)}},getCurrentDirectory:e.memoize((function(){return r.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return r.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return c},fileExists:function(e){return r.fileExists(e)},readFile:function(e){return r.readFile(e)},trace:function(e){return r.write(e+c)},directoryExists:function(e){return r.directoryExists(e)},getEnvironmentVariable:function(e){return r.getEnvironmentVariable?r.getEnvironmentVariable(e):""},getDirectories:function(e){return r.getDirectories(e)},realpath:l,readDirectory:function(e,n,t,a,i){return r.readDirectory(e,n,t,a,i)},createDirectory:function(e){return r.createDirectory(e)},createHash:e.maybeBind(r,r.createHash)};return u}function i(n,t){var r=e.diagnosticCategoryName(n)+" TS"+n.code+": "+p(n.messageText,t.getNewLine())+t.getNewLine();if(n.file){var a=e.getLineAndCharacterOfPosition(n.file,n.start),i=a.line,o=a.character,s=n.file.fileName;return e.convertToRelativePath(s,t.getCurrentDirectory(),(function(e){return t.getCanonicalFileName(e)}))+"("+(i+1)+","+(o+1)+"): "+r}return r}var s;e.findConfigFile=function(n,t,r){return void 0===r&&(r="tsconfig.json"),e.forEachAncestorDirectory(n,(function(n){var a=e.combinePaths(n,r);return t(a)?a:void 0}))},e.resolveTripleslashReference=n,e.computeCommonSourceDirectoryOfFilenames=t,e.createCompilerHost=r,e.createCompilerHostWorker=a,e.changeCompilerHostLikeToUseCache=function(n,t,r){var a=n.readFile,i=n.fileExists,o=n.directoryExists,s=n.createDirectory,c=n.writeFile,l=new e.Map,u=new e.Map,d=new e.Map,p=new e.Map,f=function(e,t){var r=a.call(n,t);return l.set(e,void 0!==r&&r),r};n.readFile=function(r){var i=t(r),o=l.get(i);return void 0!==o?!1!==o?o:void 0:e.fileExtensionIs(r,".json")||e.isBuildInfoFile(r)?f(i,r):a.call(n,r)};var m=r?function(n,a,i,o){var s=t(n),c=p.get(s);if(c)return c;var l=r(n,a,i,o);return l&&(e.isDeclarationFileName(n)||e.fileExtensionIs(n,".json"))&&p.set(s,l),l}:void 0;return n.fileExists=function(e){var r=t(e),a=u.get(r);if(void 0!==a)return a;var o=i.call(n,e);return u.set(r,!!o),o},c&&(n.writeFile=function(e,r,a,i,o){var s=t(e);u.delete(s);var d=l.get(s);if(void 0!==d&&d!==r)l.delete(s),p.delete(s);else if(m){var f=p.get(s);f&&f.text!==r&&p.delete(s)}c.call(n,e,r,a,i,o)}),o&&s&&(n.directoryExists=function(e){var r=t(e),a=d.get(r);if(void 0!==a)return a;var i=o.call(n,e);return d.set(r,!!i),i},n.createDirectory=function(e){var r=t(e);d.delete(r),s.call(n,e)}),{originalReadFile:a,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:c,getSourceFileWithCache:m,readFileWithCache:function(e){var n=t(e),r=l.get(n);return void 0!==r?!1!==r?r:void 0:f(n,e)}}},e.getPreEmitDiagnostics=function(n,t,r){var a;return a=e.addRange(a,n.getConfigFileParsingDiagnostics()),a=e.addRange(a,n.getOptionsDiagnostics(r)),a=e.addRange(a,n.getSyntacticDiagnostics(t,r)),a=e.addRange(a,n.getGlobalDiagnostics(r)),a=e.addRange(a,n.getSemanticDiagnostics(t,r)),e.getEmitDeclarations(n.getCompilerOptions())&&(a=e.addRange(a,n.getDeclarationDiagnostics(t,r))),e.sortAndDeduplicateDiagnostics(a||e.emptyArray)},e.formatDiagnostics=function(e,n){for(var t="",r=0,a=e;r<a.length;r++){t+=i(a[r],n)}return t},e.formatDiagnostic=i,function(e){e.Grey="",e.Red="",e.Yellow="",e.Blue="",e.Cyan=""}(s=e.ForegroundColorEscapeSequences||(e.ForegroundColorEscapeSequences={}));function c(n){switch(n){case e.DiagnosticCategory.Error:return s.Red;case e.DiagnosticCategory.Warning:return s.Yellow;case e.DiagnosticCategory.Suggestion:return e.Debug.fail("Should never get an Info diagnostic on the command line.");case e.DiagnosticCategory.Message:return s.Blue}}function l(e,n){return n+e+""}function u(n,t,r,a,i,o){var s=e.getLineAndCharacterOfPosition(n,t),c=s.line,u=s.character,d=e.getLineAndCharacterOfPosition(n,t+r),p=d.line,f=d.character,m=e.getLineAndCharacterOfPosition(n,n.text.length).line,_=p-c>=4,g=(p+1+"").length;_&&(g=Math.max("...".length,g));for(var y="",h=c;h<=p;h++){y+=o.getNewLine(),_&&c+1<h&&h<p-1&&(y+=a+l(e.padLeft("...",g),"")+" "+o.getNewLine(),h=p-1);var v=e.getPositionOfLineAndCharacter(n,h,0),b=h<m?e.getPositionOfLineAndCharacter(n,h+1,0):n.text.length,E=n.text.slice(v,b);if(E=(E=E.replace(/\s+$/g,"")).replace("\t"," "),y+=a+l(e.padLeft(h+1+"",g),"")+" ",y+=E+o.getNewLine(),y+=a+l(e.padLeft("",g),"")+" ",y+=i,h===c){var T=h===p?f:void 0;y+=E.slice(0,u).replace(/\S/g," "),y+=E.slice(u,T).replace(/./g,"~")}else y+=h===p?E.slice(0,f).replace(/./g,"~"):E.replace(/./g,"~");y+=""}return y}function d(n,t,r,a){void 0===a&&(a=l);var i=e.getLineAndCharacterOfPosition(n,t),o=i.line,c=i.character,u="";return u+=a(r?e.convertToRelativePath(n.fileName,r.getCurrentDirectory(),(function(e){return r.getCanonicalFileName(e)})):n.fileName,s.Cyan),u+=":",u+=a(""+(o+1),s.Yellow),u+=":",u+=a(""+(c+1),s.Yellow)}function p(n,t,r){if(void 0===r&&(r=0),e.isString(n))return n;if(void 0===n)return"";var a="";if(r){a+=t;for(var i=0;i<r;i++)a+=" "}if(a+=n.messageText,r++,n.next)for(var o=0,s=n.next;o<s.length;o++){a+=p(s[o],t,r)}return a}function f(n,t,r,a){if(0===n.length)return[];for(var i=[],o=new e.Map,s=0,c=n;s<c.length;s++){var l=c[s],u=void 0;o.has(l)?u=o.get(l):o.set(l,u=a(l,t,r)),i.push(u)}return i}function m(n,t,r,a){var i=n.getCompilerOptions();if(i.noEmit)return n.getSemanticDiagnostics(t,a),t||e.outFile(i)?e.emitSkippedWithNoDiagnostics:n.emitBuildInfo(r,a);if(i.noEmitOnError){var s=o(n.getOptionsDiagnostics(a),n.getSyntacticDiagnostics(t,a),n.getGlobalDiagnostics(a),n.getSemanticDiagnostics(t,a));if(0===s.length&&e.getEmitDeclarations(n.getCompilerOptions())&&(s=n.getDeclarationDiagnostics(void 0,a)),s.length){var c;if(!t&&!e.outFile(i)){var l=n.emitBuildInfo(r,a);l.diagnostics&&(s=o(s,l.diagnostics)),c=l.emittedFiles}return{diagnostics:s,sourceMaps:void 0,emittedFiles:c,emitSkipped:!0}}}}function _(n,t){return e.filter(n,(function(e){return!e.skippedOn||!t[e.skippedOn]}))}function g(n,t){return void 0===t&&(t=n),{fileExists:function(e){return t.fileExists(e)},readDirectory:function(n,r,a,i,o){return e.Debug.assertIsDefined(t.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(n,r,a,i,o)},readFile:function(e){return t.readFile(e)},useCaseSensitiveFileNames:n.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return n.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:n.onUnRecoverableConfigFileDiagnostic||e.returnUndefined,trace:n.trace?function(e){return n.trace(e)}:void 0}}function y(n,t,r){if(!n)return e.emptyArray;for(var a,i=0;i<n.length;i++){var o=n[i],s=t(o,i);if(o.prepend&&s&&s.options){if(!e.outFile(s.options))continue;var c=e.getOutputPathsForBundle(s.options,!0),l=c.jsFilePath,u=c.sourceMapFilePath,d=c.declarationFilePath,p=c.declarationMapPath,f=c.buildInfoPath,m=e.createInputFiles(r,l,u,d,p,f);(a||(a=[])).push(m)}}return a||e.emptyArray}function h(n,t){var r=t||n;return e.resolveConfigFileProjectName(r.path)}function v(n,t){switch(t.extension){case".ts":case".d.ts":return;case".tsx":return r();case".jsx":return r()||a();case".js":return a();case".json":return n.resolveJsonModule?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}function r(){return n.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function a(){return n.allowJs||!e.getStrictOptionValue(n,"noImplicitAny")?void 0:e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function b(e){for(var n=e.imports,t=e.moduleAugmentations,r=n.map((function(e){return e.text})),a=0,i=t;a<i.length;a++){var o=i[a];10===o.kind&&r.push(o.text)}return r}e.formatColorAndReset=l,e.formatLocation=d,e.formatDiagnosticsWithColorAndContext=function(n,t){for(var r="",a=0,i=n;a<i.length;a++){var o=i[a];if(o.file)r+=d(g=o.file,y=o.start,t),r+=" - ";if(r+=l(e.diagnosticCategoryName(o),c(o.category)),r+=l(" TS"+o.code+": ",s.Grey),r+=p(o.messageText,t.getNewLine()),o.file&&(r+=t.getNewLine(),r+=u(o.file,o.start,o.length,"",c(o.category),t),o.relatedInformation)){r+=t.getNewLine();for(var f=0,m=o.relatedInformation;f<m.length;f++){var _=m[f],g=_.file,y=_.start,h=_.length,v=_.messageText;g&&(r+=t.getNewLine(),r+=" "+d(g,y,t),r+=u(g,y,h," ",s.Cyan,t)),r+=t.getNewLine(),r+=" "+p(v,t.getNewLine())}}r+=t.getNewLine()}return r},e.flattenDiagnosticMessageText=p,e.loadWithLocalCache=f,e.inferredTypesContainingFile="__inferred type names__.ts",e.isProgramUptoDate=function(n,t,r,a,i,o,s,c){if(!n||(null==s?void 0:s()))return!1;if(!e.arrayIsEqualTo(n.getRootFileNames(),t))return!1;var l;if(!e.arrayIsEqualTo(n.getProjectReferences(),c,(function(t,r,a){if(!e.projectReferenceIsEqualTo(t,r))return!1;return function n(t,r){if(t)return!!e.contains(l,t)||!!d(t.sourceFile)&&((l||(l=[])).push(t),!e.forEach(t.references,(function(e,r){return!n(e,t.commandLine.projectReferences[r])})));return!i(h(r))}(n.getResolvedProjectReferences()[a],t)})))return!1;if(n.getSourceFiles().some((function(e){return!d(e)||o(e.path)})))return!1;if(n.getMissingFilePaths().some(i))return!1;var u=n.getCompilerOptions();return!!e.compareDataObjects(u,r)&&(!u.configFile||!r.configFile||u.configFile.text===r.configFile.text);function d(e){return e.version===a(e.resolvedPath,e.fileName)}},e.getConfigFileParsingDiagnostics=function(e){return e.options.configFile?o(e.options.configFile.parseDiagnostics,e.errors):e.errors},e.createProgram=function(a,i,s,c,l){var u,d,p,E,T,S,L,x,A,D,C,I=e.isArray(a)?function(e,n,t,r,a){return{rootNames:e,options:n,host:t,oldProgram:r,configFileParsingDiagnostics:a}}(a,i,s,c,l):a,N=I.rootNames,R=I.options,k=I.configFileParsingDiagnostics,O=I.projectReferences,P=I.oldProgram,M=new e.Map,w={},F={},G=new e.Map,B=e.createDiagnosticCollection(),U="number"==typeof R.maxNodeModuleJsDepth?R.maxNodeModuleJsDepth:0,V=0,j=new e.Map,K=new e.Map;e.performance.mark("beforeProgram");var H,W,q,z,J=I.host||r(R),X=g(J),Y=R.noLib,Q=e.memoize((function(){return J.getDefaultLibFileName(R)})),Z=J.getDefaultLibLocation?J.getDefaultLibLocation():e.getDirectoryPath(Q()),$=e.createDiagnosticCollection(),ee=J.getCurrentDirectory(),ne=e.getSupportedExtensions(R),te=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(R,ne),re=new e.Map,ae=J.hasInvalidatedResolution||e.returnFalse;if(J.resolveModuleNames)q=function(n,t,r,a){return J.resolveModuleNames(e.Debug.checkEachDefined(n),t,r,a,R).map((function(n){if(!n||void 0!==n.extension)return n;var t=e.clone(n);return t.extension=e.extensionFromPath(n.resolvedFileName),t}))};else{W=e.createModuleResolutionCache(ee,(function(e){return J.getCanonicalFileName(e)}),R);var ie=function(n,t,r){return e.resolveModuleName(n,t,R,J,W,r).resolvedModule};q=function(n,t,r,a){return f(e.Debug.checkEachDefined(n),t,a,ie)}}if(J.resolveTypeReferenceDirectives)z=function(n,t,r){return J.resolveTypeReferenceDirectives(e.Debug.checkEachDefined(n),t,r,R)};else{var oe=function(n,t,r){return e.resolveTypeReferenceDirective(n,t,R,J,r).resolvedTypeReferenceDirective};z=function(n,t,r){return f(e.Debug.checkEachDefined(n),t,r,oe)}}var se,ce,le,ue,de,pe,fe=new e.Map,me=new e.Map,_e=e.createMultiMap(),ge=new e.Map,ye=J.useCaseSensitiveFileNames()?new e.Map:void 0,he=!!(null===(u=J.useSourceOfProjectReferenceRedirect)||void 0===u?void 0:u.call(J))&&!R.disableSourceOfProjectReferenceRedirect,ve=function(n){var t,r,a=n.compilerHost.fileExists,i=n.compilerHost.directoryExists,o=n.compilerHost.getDirectories,s=n.compilerHost.realpath;if(!n.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:e.noop,fileExists:c};n.compilerHost.fileExists=c,i&&(r=n.compilerHost.directoryExists=function(r){return i.call(n.compilerHost,r)?(function(t){var r;if(!n.getResolvedProjectReferences())return;if(!s||!e.stringContains(t,e.nodeModulesPathPart))return;var a=n.getSymlinkCache(),i=e.ensureTrailingDirectorySeparator(n.toPath(t));if(null===(r=a.getSymlinkedDirectories())||void 0===r?void 0:r.has(i))return;var o,c=e.normalizePath(s.call(n.compilerHost,t));if(c===t||(o=e.ensureTrailingDirectorySeparator(n.toPath(c)))===i)return void a.setSymlinkedDirectory(i,!1);a.setSymlinkedDirectory(i,{real:e.ensureTrailingDirectorySeparator(c),realPath:o})}(r),!0):!!n.getResolvedProjectReferences()&&(t||(t=new e.Set,n.forEachResolvedProjectReference((function(r){if(r){var a=e.outFile(r.commandLine.options);if(a)t.add(e.getDirectoryPath(n.toPath(a)));else{var i=r.commandLine.options.declarationDir||r.commandLine.options.outDir;i&&t.add(n.toPath(i))}}}))),l(r,!1))});o&&(n.compilerHost.getDirectories=function(e){return!n.getResolvedProjectReferences()||i&&i.call(n.compilerHost,e)?o.call(n.compilerHost,e):[]});s&&(n.compilerHost.realpath=function(e){var t;return(null===(t=n.getSymlinkCache().getSymlinkedFiles())||void 0===t?void 0:t.get(n.toPath(e)))||s.call(n.compilerHost,e)});return{onProgramCreateComplete:function(){n.compilerHost.fileExists=a,n.compilerHost.directoryExists=i,n.compilerHost.getDirectories=o},fileExists:c,directoryExists:r};function c(t){return!!a.call(n.compilerHost,t)||!!n.getResolvedProjectReferences()&&(!!e.isDeclarationFileName(t)&&l(t,!0))}function l(r,i){var o,s=i?function(t){return function(t){var r=n.getSourceOfProjectReferenceRedirect(t);return void 0!==r?!e.isString(r)||a.call(n.compilerHost,r):void 0}(t)}:function(r){return function(r){var a=n.toPath(r),i=""+a+e.directorySeparator;return e.forEachKey(t,(function(n){return a===n||e.startsWith(n,i)||e.startsWith(a,n+"/")}))}(r)},c=s(r);if(void 0!==c)return c;var l=n.getSymlinkCache(),u=l.getSymlinkedDirectories();if(!u)return!1;var d=n.toPath(r);return!!e.stringContains(d,e.nodeModulesPathPart)&&(!(!i||!(null===(o=l.getSymlinkedFiles())||void 0===o?void 0:o.has(d)))||(e.firstDefinedIterator(u.entries(),(function(t){var a=t[0],o=t[1];if(o&&e.startsWith(d,a)){var c=s(d.replace(a,o.realPath));if(i&&c){var u=e.getNormalizedAbsolutePath(r,n.compilerHost.getCurrentDirectory());l.setSymlinkedFile(d,""+o.real+u.replace(new RegExp(a,"i"),""))}return c}}))||!1))}}({compilerHost:J,getSymlinkCache:at,useSourceOfProjectReferenceRedirect:he,toPath:qe,getResolvedProjectReferences:Ye,getSourceOfProjectReferenceRedirect:kn,forEachResolvedProjectReference:Rn}),be=ve.onProgramCreateComplete,Ee=ve.fileExists,Te=ve.directoryExists,Se=function(n,t){if(!n)return!1;var r=n.getCompilerOptions();return!!e.sourceFileAffectingCompilerOptions.some((function(n){return!e.isJsonEqual(e.getCompilerOptionValue(r,n),e.getCompilerOptionValue(t,n))}))}(P,R);if(2!==(pe=function(){var n;if(!P)return 0;var t=P.getCompilerOptions();if(e.changesAffectModuleResolution(t,R))return P.structureIsReused=0;var r=P.getRootFileNames();if(!e.arrayIsEqualTo(r,N))return P.structureIsReused=0;if(!e.arrayIsEqualTo(R.types,t.types))return P.structureIsReused=0;if(Pn(P.getProjectReferences(),P.getResolvedProjectReferences(),(function(e,n,t){var r=Hn((t?t.commandLine.projectReferences:O)[n]);return e?!r||r.sourceFile!==e.sourceFile:void 0!==r}),(function(n,t){var r=t?Mn(t.sourceFile.path).commandLine.projectReferences:O;return!e.arrayIsEqualTo(n,r,e.projectReferenceIsEqualTo)})))return P.structureIsReused=0;O&&(ce=O.map(Hn));var a=[],i=[];if(P.structureIsReused=2,P.getMissingFilePaths().some((function(e){return J.fileExists(e)})))return P.structureIsReused=0;var o,s=P.getSourceFiles();!function(e){e[e.Exists=0]="Exists",e[e.Modified=1]="Modified"}(o||(o={}));for(var c=new e.Map,l=0,u=s;l<u.length;l++){var d=u[l];if(!(I=J.getSourceFileByPath?J.getSourceFileByPath(d.fileName,d.resolvedPath,R.target,void 0,Se):J.getSourceFile(d.fileName,R.target,void 0,Se)))return P.structureIsReused=0;e.Debug.assert(!I.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var p=void 0;if(d.redirectInfo){if(I!==d.redirectInfo.unredirected)return P.structureIsReused=0;p=!1,I=d}else if(P.redirectTargetsMap.has(d.path)){if(I!==d)return P.structureIsReused=0;p=!1}else p=I!==d;I.path=d.path,I.originalFileName=d.originalFileName,I.resolvedPath=d.resolvedPath,I.fileName=d.fileName;var f=P.sourceFileToPackageName.get(d.path);if(void 0!==f){var m=c.get(f),_=p?1:0;if(void 0!==m&&1===_||1===m)return P.structureIsReused=0;c.set(f,_)}if(p){if(!e.arrayIsEqualTo(d.libReferenceDirectives,I.libReferenceDirectives,hn))return P.structureIsReused=0;d.hasNoDefaultLib!==I.hasNoDefaultLib&&(P.structureIsReused=1),e.arrayIsEqualTo(d.referencedFiles,I.referencedFiles,hn)||(P.structureIsReused=1),bn(I),e.arrayIsEqualTo(d.imports,I.imports,vn)||(P.structureIsReused=1),e.arrayIsEqualTo(d.moduleAugmentations,I.moduleAugmentations,vn)||(P.structureIsReused=1),(3145728&d.flags)!=(3145728&I.flags)&&(P.structureIsReused=1),e.arrayIsEqualTo(d.typeReferenceDirectives,I.typeReferenceDirectives,hn)||(P.structureIsReused=1),i.push({oldFile:d,newFile:I})}else ae(d.path)&&(P.structureIsReused=1,i.push({oldFile:d,newFile:I}));a.push(I)}if(2!==P.structureIsReused)return P.structureIsReused;for(var g=i.map((function(e){return e.oldFile})),y=0,h=s;y<h.length;y++){var v=h[y];if(!e.contains(g,v))for(var E=0,S=v.ambientModuleNames;E<S.length;E++){var L=S[E];M.set(L,v.fileName)}}for(var x=0,A=i;x<A.length;x++){var D=A[x],I=(d=D.oldFile,D.newFile),k=e.getNormalizedAbsolutePath(I.originalFileName,ee),w=b(I),F=Je(w,k,I);if(e.hasChangesInResolutions(w,F,d.resolvedModules,e.moduleResolutionIsEqualTo)?(P.structureIsReused=1,I.resolvedModules=e.zipToMap(w,F)):I.resolvedModules=d.resolvedModules,He){var U=e.map(I.typeReferenceDirectives,(function(n){return e.toFileNameLowerCase(n.fileName)})),V=He(U,k,Nn(I.originalFileName));e.hasChangesInResolutions(U,V,d.resolvedTypeReferenceDirectiveNames,e.typeDirectiveIsEqualTo)?(P.structureIsReused=1,I.resolvedTypeReferenceDirectiveNames=e.zipToMap(U,V)):I.resolvedTypeReferenceDirectiveNames=d.resolvedTypeReferenceDirectiveNames}}if(2!==P.structureIsReused)return P.structureIsReused;if(null===(n=J.hasChangedAutomaticTypeDirectiveNames)||void 0===n?void 0:n.call(J))return P.structureIsReused=1;se=P.getMissingFilePaths(),C=P.getRefFileMap(),e.Debug.assert(a.length===P.getSourceFiles().length);for(var j=0,H=a;j<H.length;j++){I=H[j];ge.set(I.path,I)}P.getFilesByNameMap().forEach((function(e,n){e?e.path!==n?ge.set(n,ge.get(e.path)):P.isSourceFileFromExternalLibrary(e)&&K.set(e.path,!0):ge.set(n,e)})),T=a,B=P.getFileProcessingDiagnostics();for(var W=0,q=i;W<q.length;W++){var z=q[W];B.reattachFileDiagnostics(z.newFile)}return G=P.getResolvedTypeReferenceDirectives(),me=P.sourceFileToPackageName,_e=P.redirectTargetsMap,P.structureIsReused=2}())){if(p=[],E=[],O&&(ce||(ce=O.map(Hn)),N.length))for(var Le=0,xe=ce;Le<xe.length;Le++){var Ae=xe[Le];if(Ae){var De=e.outFile(Ae.commandLine.options);if(he){if(De||e.getEmitModuleKind(Ae.commandLine.options)===e.ModuleKind.None)for(var Ce=0,Ie=Ae.commandLine.fileNames;Ce<Ie.length;Ce++){Tn(ke=Ie[Ce],!1,!1,void 0)}}else if(De)Tn(e.changeExtension(De,".d.ts"),!1,!1,void 0);else if(e.getEmitModuleKind(Ae.commandLine.options)===e.ModuleKind.None)for(var Ne=0,Re=Ae.commandLine.fileNames;Ne<Re.length;Ne++){var ke=Re[Ne];e.fileExtensionIs(ke,".d.ts")||e.fileExtensionIs(ke,".json")||Tn(e.getOutputDeclarationFileName(ke,Ae.commandLine,!J.useCaseSensitiveFileNames()),!1,!1,void 0)}}}e.forEach(N,(function(e){return yn(e,!1,!1)}));var Oe=N.length?e.getAutomaticTypeDirectiveNames(R,J):e.emptyArray;if(Oe.length)for(var Pe=R.configFilePath?e.getDirectoryPath(R.configFilePath):J.getCurrentDirectory(),Me=He(Oe,e.combinePaths(Pe,e.inferredTypesContainingFile)),we=0;we<Oe.length;we++)Gn(Oe[we],Me[we]);if(N.length&&!Y){var Fe=Q();!R.lib&&Fe?yn(Fe,!0,!1):e.forEach(R.lib,(function(n){yn(e.combinePaths(Z,n),!0,!1)}))}se=e.arrayFrom(e.mapDefinedIterator(ge.entries(),(function(e){var n=e[0];return void 0===e[1]?n:void 0}))),T=e.stableSort(p,(function(n,t){return e.compareValues(We(n),We(t))})).concat(E),p=void 0,E=void 0}if(e.Debug.assert(!!se),P&&J.onReleaseOldSourceFile){for(var Ge=0,Be=P.getSourceFiles();Ge<Be.length;Ge++){var Ue=Be[Ge],Ve=rn(Ue.resolvedPath);(Se||!Ve||Ue.resolvedPath===Ue.path&&Ve.resolvedPath!==Ue.path)&&J.onReleaseOldSourceFile(Ue,P.getCompilerOptions(),!!rn(Ue.path))}P.forEachResolvedProjectReference((function(e,n){e&&!Mn(n)&&J.onReleaseOldSourceFile(e.sourceFile,P.getCompilerOptions(),!1)}))}P=void 0;var je={getRootFileNames:function(){return N},getSourceFile:tn,getSourceFileByPath:rn,getSourceFiles:function(){return T},getMissingFilePaths:function(){return se},getRefFileMap:function(){return C},getFilesByNameMap:function(){return ge},getCompilerOptions:function(){return R},getSyntacticDiagnostics:function(e,n){return an(e,sn,n)},getOptionsDiagnostics:function(){return e.sortAndDeduplicateDiagnostics(e.concatenate(B.getGlobalDiagnostics(),e.concatenate($.getGlobalDiagnostics(),function(){if(!R.configFile)return e.emptyArray;var n=$.getDiagnostics(R.configFile.fileName);return Rn((function(t){t&&(n=e.concatenate(n,$.getDiagnostics(t.sourceFile.fileName)))})),n}())))},getGlobalDiagnostics:function(){return N.length?e.sortAndDeduplicateDiagnostics($e().getGlobalDiagnostics().slice()):e.emptyArray},getSemanticDiagnostics:function(e,n){return an(e,ln,n)},getSuggestionDiagnostics:function(e,n){return cn((function(){return $e().getSuggestionDiagnostics(e,n)}))},getDeclarationDiagnostics:function(n,t){var r=je.getCompilerOptions();return!n||e.outFile(r)?fn(n,t):an(n,gn,t)},getBindAndCheckDiagnostics:function(e,n){return un(e,n)},getProgramDiagnostics:on,getTypeChecker:en,getClassifiableNames:function(){var n;if(!D){en(),D=new e.Set;for(var t=0,r=T;t<r.length;t++){var a=r[t];null===(n=a.classifiableNames)||void 0===n||n.forEach((function(e){return D.add(e)}))}}return D},getDiagnosticsProducingTypeChecker:$e,getCommonSourceDirectory:ze,emit:function(n,t,r,a,i,o){return cn((function(){return function(n,t,r,a,i,o,s){if(!s){var c=m(n,t,r,a);if(c)return c}var l=$e().getEmitResolver(e.outFile(R)?void 0:t,a);e.performance.mark("beforeEmit");var u=e.emitFiles(l,Xe(r),t,e.getTransformers(R,o,i),i,!1,s);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),u}(je,n,t,r,a,i,o)}))},getCurrentDirectory:function(){return ee},getNodeCount:function(){return $e().getNodeCount()},getIdentifierCount:function(){return $e().getIdentifierCount()},getSymbolCount:function(){return $e().getSymbolCount()},getTypeCount:function(){return $e().getTypeCount()},getInstantiationCount:function(){return $e().getInstantiationCount()},getRelationCacheSizes:function(){return $e().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return B},getResolvedTypeReferenceDirectives:function(){return G},isSourceFileFromExternalLibrary:Ze,isSourceFileDefaultLibrary:function(n){if(n.hasNoDefaultLib)return!0;if(!R.noLib)return!1;var t=J.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return R.lib?e.some(R.lib,(function(r){return t(n.fileName,e.combinePaths(Z,r))})):t(n.fileName,Q())},dropDiagnosticsProducingTypeChecker:function(){x=void 0},getSourceFileFromReference:function(e,t){return En(n(t.fileName,e.fileName),(function(e){return ge.get(qe(e))||void 0}))},getLibFileFromReference:function(n){var t=e.toFileNameLowerCase(n.fileName),r=e.libMap.get(t);if(r)return tn(e.combinePaths(Z,r))},sourceFileToPackageName:me,redirectTargetsMap:_e,isEmittedFile:function(n){if(R.noEmit)return!1;var t=qe(n);if(rn(t))return!1;var r=e.outFile(R);if(r)return rt(t,r)||rt(t,e.removeFileExtension(r)+".d.ts");if(R.declarationDir&&e.containsPath(R.declarationDir,t,ee,!J.useCaseSensitiveFileNames()))return!0;if(R.outDir)return e.containsPath(R.outDir,t,ee,!J.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(t,e.supportedJSExtensions)||e.fileExtensionIs(t,".d.ts")){var a=e.removeFileExtension(t);return!!rn(a+".ts")||!!rn(a+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return k||e.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(n,t){return W&&e.resolveModuleNameFromCache(n,t,W)},getProjectReferences:function(){return O},getResolvedProjectReferences:Ye,getProjectReferenceRedirect:Dn,getResolvedProjectReferenceToRedirect:Nn,getResolvedProjectReferenceByPath:Mn,forEachResolvedProjectReference:Rn,isSourceOfProjectReferenceRedirect:On,emitBuildInfo:function(n){e.Debug.assert(!e.outFile(R)),e.performance.mark("beforeEmit");var t=e.emitFiles(e.notImplementedResolver,Xe(n),void 0,e.noTransformers,!1,!0);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),t},fileExists:Ee,directoryExists:Te,getSymlinkCache:at,realpath:null===(d=J.realpath)||void 0===d?void 0:d.bind(J),useCaseSensitiveFileNames:function(){return J.useCaseSensitiveFileNames()}};return be(),function(){R.strictPropertyInitialization&&!e.getStrictOptionValue(R,"strictNullChecks")&&Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks");R.isolatedModules&&(R.out&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),R.outFile&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules"));R.inlineSourceMap&&(R.sourceMap&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),R.mapRoot&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"));R.paths&&void 0===R.baseUrl&&Yn(e.Diagnostics.Option_paths_cannot_be_used_without_specifying_baseUrl_option,"paths");R.composite&&(!1===R.declaration&&Yn(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===R.incremental&&Yn(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"));var n=e.outFile(R);R.tsBuildInfoFile?e.isIncrementalCompilation(R)||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!R.incremental||n||R.configFilePath||$.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));if(function(){var n=R.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(R);Pn(O,ce,(function(t,r,a){var i=(a?a.commandLine.projectReferences:O)[r],o=a&&a.sourceFile;if(t){var s=t.commandLine.options;if(!s.composite||s.noEmit)(a?a.commandLine.fileNames:N).length&&(s.composite||Zn(o,r,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),s.noEmit&&Zn(o,r,e.Diagnostics.Referenced_project_0_may_not_disable_emit,i.path));if(i.prepend){var c=e.outFile(s);c?J.fileExists(c)||Zn(o,r,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,c,i.path):Zn(o,r,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!a&&n&&n===e.getTsBuildInfoEmitOutputFilePath(s)&&(Zn(o,r,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,n,i.path),re.set(qe(n),!0))}else Zn(o,r,e.Diagnostics.File_0_not_found,i.path)}))}(),R.composite)for(var t=new e.Set(N.map(qe)),r=0,a=T;r<a.length;r++){var i=a[r];e.sourceFileMayBeEmitted(i,je)&&!t.has(i.path)&&qn(i,t,e.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,i.fileName,R.configFilePath||"")}if(R.paths)for(var o in R.paths)if(e.hasProperty(R.paths,o))if(e.hasZeroOrOneAsteriskCharacter(o)||Jn(!0,o,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,o),e.isArray(R.paths[o])){var s=R.paths[o].length;0===s&&Jn(!1,o,e.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,o);for(var c=0;c<s;c++){var l=R.paths[o][c],u=typeof l;"string"===u?e.hasZeroOrOneAsteriskCharacter(l)||zn(o,c,e.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,l,o):zn(o,c,e.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,l,o,u)}}else Jn(!1,o,e.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,o);R.sourceMap||R.inlineSourceMap||(R.inlineSources&&Yn(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),R.sourceRoot&&Yn(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot"));R.out&&R.outFile&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile");!R.mapRoot||R.sourceMap||R.declarationMap||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap");R.declarationDir&&(e.getEmitDeclarations(R)||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),n&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",R.out?"out":"outFile"));R.declarationMap&&!e.getEmitDeclarations(R)&&Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite");R.lib&&R.noLib&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib");R.noImplicitUseStrict&&e.getStrictOptionValue(R,"alwaysStrict")&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var d=R.target||0,p=e.find(T,(function(n){return e.isExternalModule(n)&&!n.isDeclarationFile}));if(R.isolatedModules){R.module===e.ModuleKind.None&&d<2&&Yn(e.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target");var f=e.find(T,(function(n){return!e.isExternalModule(n)&&!e.isSourceFileJS(n)&&!n.isDeclarationFile&&6!==n.scriptKind}));if(f){var m=e.getErrorSpanForNode(f,f);$.add(e.createFileDiagnostic(f,m.start,m.length,e.Diagnostics.All_files_must_be_modules_when_the_isolatedModules_flag_is_provided))}}else if(p&&d<2&&R.module===e.ModuleKind.None){m=e.getErrorSpanForNode(p,p.externalModuleIndicator);$.add(e.createFileDiagnostic(p,m.start,m.length,e.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(n&&!R.emitDeclarationOnly)if(R.module&&R.module!==e.ModuleKind.AMD&&R.module!==e.ModuleKind.System)Yn(e.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,R.out?"out":"outFile","module");else if(void 0===R.module&&p){m=e.getErrorSpanForNode(p,p.externalModuleIndicator);$.add(e.createFileDiagnostic(p,m.start,m.length,e.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,R.out?"out":"outFile"))}R.resolveJsonModule&&(e.getEmitModuleResolutionKind(R)!==e.ModuleResolutionKind.NodeJs?Yn(e.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule"):e.hasJsonModuleEmitEnabled(R)||Yn(e.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module"));if(R.outDir||R.sourceRoot||R.mapRoot){var _=ze();R.outDir&&""===_&&T.some((function(n){return e.getRootLength(n.fileName)>1}))&&Yn(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}R.useDefineForClassFields&&0===d&&Yn(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields");R.checkJs&&!R.allowJs&&$.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));R.emitDeclarationOnly&&(e.getEmitDeclarations(R)||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),R.noEmit&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));R.emitDecoratorMetadata&&!R.experimentalDecorators&&Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");R.jsxFactory?(R.reactNamespace&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(R.jsxFactory,d)||Qn("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,R.jsxFactory)):R.reactNamespace&&!e.isIdentifierText(R.reactNamespace,d)&&Qn("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,R.reactNamespace);R.jsxFragmentFactory&&(R.jsxFactory||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),e.parseIsolatedEntityName(R.jsxFragmentFactory,d)||Qn("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,R.jsxFragmentFactory));if(!R.noEmit&&!R.suppressOutputPathCheck){var g=Xe(),y=new e.Set;e.forEachEmittedFile(g,(function(e){R.emitDeclarationOnly||h(e.jsFilePath,y),h(e.declarationFilePath,y)}))}function h(n,t){if(n){var r=qe(n);if(ge.has(r)){var a=void 0;R.configFilePath||(a=e.chainDiagnosticMessages(void 0,e.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),a=e.chainDiagnosticMessages(a,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,n),tt(n,e.createCompilerDiagnosticFromMessageChain(a))}var i=J.useCaseSensitiveFileNames()?r:e.toFileNameLowerCase(r);t.has(i)?tt(n,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,n)):t.add(i)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),je;function Ke(n,t,r,a){e.performance.mark("beforeResolveModule");var i=q(n,t,r,a);return e.performance.mark("afterResolveModule"),e.performance.measure("ResolveModule","beforeResolveModule","afterResolveModule"),i}function He(n,t,r){e.performance.mark("beforeResolveTypeReference");var a=z(n,t,r);return e.performance.mark("afterResolveTypeReference"),e.performance.measure("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),a}function We(n){if(e.containsPath(Z,n.fileName,!1)){var t=e.getBaseFileName(n.fileName);if("lib.d.ts"===t||"lib.es6.d.ts"===t)return 0;var r=e.removeSuffix(e.removePrefix(t,"lib."),".d.ts"),a=e.libs.indexOf(r);if(-1!==a)return a+1}return e.libs.length+2}function qe(n){return e.toPath(n,ee,Vn)}function ze(){if(void 0===L){var n=e.filter(T,(function(n){return e.sourceFileMayBeEmitted(n,je)}));R.rootDir&&Kn(n,R.rootDir)?L=e.getNormalizedAbsolutePath(R.rootDir,ee):R.composite&&R.configFilePath?Kn(n,L=e.getDirectoryPath(e.normalizeSlashes(R.configFilePath))):(r=n,L=t(e.mapDefined(r,(function(e){return e.isDeclarationFile?void 0:e.fileName})),ee,Vn)),L&&L[L.length-1]!==e.directorySeparator&&(L+=e.directorySeparator)}var r;return L}function Je(n,t,r){if(0===pe&&!r.ambientModuleNames.length)return Ke(n,t,void 0,Nn(r.originalFileName));var a,i,o,s=P&&P.getSourceFile(t);if(s!==r&&r.resolvedModules){for(var c=[],l=0,u=n;l<u.length;l++){var d=u[l],p=r.resolvedModules.get(d);c.push(p)}return c}for(var f={},m=0;m<n.length;m++){d=n[m];if(r===s&&!ae(s.path)){var _=e.getResolvedModule(s,d);if(_){e.isTraceEnabled(R,J)&&e.trace(J,e.Diagnostics.Reusing_resolution_of_module_0_to_file_1_from_old_program,d,t),(i||(i=new Array(n.length)))[m]=_,(o||(o=[])).push(d);continue}}var g=!1;e.contains(r.ambientModuleNames,d)?(g=!0,e.isTraceEnabled(R,J)&&e.trace(J,e.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,d,t)):g=v(d),g?(i||(i=new Array(n.length)))[m]=f:(a||(a=[])).push(d)}var y=a&&a.length?Ke(a,t,o,Nn(r.originalFileName)):e.emptyArray;if(!i)return e.Debug.assert(y.length===n.length),y;var h=0;for(m=0;m<i.length;m++)i[m]?i[m]===f&&(i[m]=void 0):(i[m]=y[h],h++);return e.Debug.assert(h===y.length),i;function v(n){var t=e.getResolvedModule(s,n),r=t&&P.getSourceFile(t.resolvedFileName);if(t&&r)return!1;var a=M.get(n);return!!a&&(e.isTraceEnabled(R,J)&&e.trace(J,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,n,a),!0)}}function Xe(n){return{getPrependNodes:Qe,getCanonicalFileName:Vn,getCommonSourceDirectory:je.getCommonSourceDirectory,getCompilerOptions:je.getCompilerOptions,getCurrentDirectory:function(){return ee},getNewLine:function(){return J.getNewLine()},getSourceFile:je.getSourceFile,getSourceFileByPath:je.getSourceFileByPath,getSourceFiles:je.getSourceFiles,getLibFileFromReference:je.getLibFileFromReference,isSourceFileFromExternalLibrary:Ze,getResolvedProjectReferenceToRedirect:Nn,getProjectReferenceRedirect:Dn,isSourceOfProjectReferenceRedirect:On,getSymlinkCache:at,writeFile:n||function(e,n,t,r,a){return J.writeFile(e,n,t,r,a)},isEmitBlocked:nn,readFile:function(e){return J.readFile(e)},fileExists:function(n){var t=qe(n);return!!rn(t)||!e.contains(se,t)&&J.fileExists(n)},useCaseSensitiveFileNames:function(){return J.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return je.getProgramBuildInfo&&je.getProgramBuildInfo()},getSourceFileFromReference:function(e,n){return je.getSourceFileFromReference(e,n)},redirectTargetsMap:_e}}function Ye(){return ce}function Qe(){return y(O,(function(e,n){var t;return null===(t=ce[n])||void 0===t?void 0:t.commandLine}),(function(e){var n=qe(e),t=rn(n);return t?t.text:ge.has(n)?void 0:J.readFile(n)}))}function Ze(e){return!!K.get(e.path)}function $e(){return x||(x=e.createTypeChecker(je,!0))}function en(){return A||(A=e.createTypeChecker(je,!1))}function nn(e){return re.has(qe(e))}function tn(e){return rn(qe(e))}function rn(e){return ge.get(e)||void 0}function an(n,t,r){return n?t(n,r):e.sortAndDeduplicateDiagnostics(e.flatMap(je.getSourceFiles(),(function(e){return r&&r.throwIfCancellationRequested(),t(e,r)})))}function on(n){return e.skipTypeChecking(n,R,je)?e.emptyArray:function(n){for(var t,r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];var i=e.flatten(r);if(!(null===(t=n.commentDirectives)||void 0===t?void 0:t.length))return i;return pn(n,n.commentDirectives,i).diagnostics}(n,B.getDiagnostics(n.fileName),$.getDiagnostics(n.fileName))}function sn(n){return e.isSourceFileJS(n)?(n.additionalSyntacticDiagnostics||(n.additionalSyntacticDiagnostics=function(n){return cn((function(){var t=[];return r(n,n),e.forEachChildRecursively(n,r,(function(n,r){r.decorators!==n||R.experimentalDecorators||t.push(i(r,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning));switch(r.kind){case 249:case 218:case 164:case 165:case 166:case 167:case 205:case 248:case 206:if(n===r.typeParameters)return t.push(a(n,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 229:if(n===r.modifiers)return function(n,r){for(var a=0,o=n;a<o.length;a++){var s=o[a];switch(s.kind){case 84:if(r)continue;case 122:case 120:case 121:case 141:case 133:case 125:t.push(i(s,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(s.kind)))}}}(r.modifiers,229===r.kind),"skip";break;case 162:if(n===r.modifiers){for(var o=0,s=n;o<s.length;o++){var c=s[o];123!==c.kind&&t.push(i(c,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(c.kind)))}return"skip"}break;case 159:if(n===r.modifiers)return t.push(a(n,e.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 200:case 201:case 220:case 271:case 272:case 202:if(n===r.typeArguments)return t.push(a(n,e.Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}})),t;function r(n,r){switch(r.kind){case 159:case 162:case 164:if(r.questionToken===n)return t.push(i(n,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 163:case 165:case 166:case 167:case 205:case 248:case 206:case 246:if(r.type===n)return t.push(i(n,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(n.kind){case 259:if(n.isTypeOnly)return t.push(i(n.parent,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 264:if(n.isTypeOnly)return t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 257:return t.push(i(n,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 263:if(n.isExportEquals)return t.push(i(n,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 283:if(116===n.token)return t.push(i(n,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 250:var a=e.tokenToString(117);return e.Debug.assertIsDefined(a),t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 253:var o=16&n.flags?e.tokenToString(139):e.tokenToString(138);return e.Debug.assertIsDefined(o),t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 251:return t.push(i(n,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 252:var s=e.Debug.checkDefined(e.tokenToString(91));return t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,s)),"skip";case 222:return t.push(i(n,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 221:return t.push(i(n.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 203:e.Debug.fail()}}function a(t,r,a,i,o){var s=t.pos;return e.createFileDiagnostic(n,s,t.end-s,r,a,i,o)}function i(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(n,t,r,a,i,o)}}))}(n)),e.concatenate(n.additionalSyntacticDiagnostics,n.parseDiagnostics)):n.parseDiagnostics}function cn(n){try{return n()}catch(n){throw n instanceof e.OperationCanceledException&&(A=void 0,x=void 0),n}}function ln(n,t){return e.concatenate(_(un(n,t),R),on(n))}function un(e,n){return _n(e,n,w,dn)}function dn(n,t){return cn((function(){if(e.skipTypeChecking(n,R,je))return e.emptyArray;var r=$e();e.Debug.assert(!!n.bindDiagnostics);var a=e.isCheckJsEnabledForFile(n,R),i=!(!!n.checkJsDirective&&!1===n.checkJsDirective.enabled)&&(3===n.scriptKind||4===n.scriptKind||5===n.scriptKind||a||7===n.scriptKind),o=i?n.bindDiagnostics:e.emptyArray,s=i?r.getDiagnostics(n,t):e.emptyArray;return function(n){for(var t,r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];var i=e.flatten(r);if(!(null===(t=n.commentDirectives)||void 0===t?void 0:t.length))return i;for(var o=pn(n,n.commentDirectives,i),s=o.diagnostics,c=o.directives,l=0,u=c.getUnusedExpectations();l<u.length;l++){var d=u[l];s.push(e.createDiagnosticForRange(n,d.range,e.Diagnostics.Unused_ts_expect_error_directive))}return s}(n,o,s,a?n.jsDocDiagnostics:void 0)}))}function pn(n,t,r){var a=e.createCommentDirectivesMap(n,t);return{diagnostics:r.filter((function(n){return-1===function(n,t){var r=n.file,a=n.start;if(!r)return-1;var i=e.getLineStarts(r),o=e.computeLineAndCharacterOfPosition(i,a).line-1;for(;o>=0;){if(t.markUsed(o))return o;var s=r.text.slice(i[o],i[o+1]).trim();if(""!==s&&!/^(\s*)\/\/(.*)$/.test(s))return-1;o--}return-1}(n,a)})),directives:a}}function fn(e,n){return _n(e,n,F,mn)}function mn(n,t){return cn((function(){var r=$e().getEmitResolver(n,t);return e.getDeclarationDiagnostics(Xe(e.noop),r,n)||e.emptyArray}))}function _n(n,t,r,a){var i,o=n?null===(i=r.perFile)||void 0===i?void 0:i.get(n.path):r.allDiagnostics;if(o)return o;var s=a(n,t);return n?(r.perFile||(r.perFile=new e.Map)).set(n.path,s):r.allDiagnostics=s,s}function gn(e,n){return e.isDeclarationFile?[]:fn(e,n)}function yn(n,t,r){Tn(e.normalizePath(n),t,r,void 0)}function hn(e,n){return e.fileName===n.fileName}function vn(e,n){return 78===e.kind?78===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function bn(n){if(!n.imports){var t,r,a,i=e.isSourceFileJS(n),o=e.isExternalModule(n);if(R.importHelpers&&(R.isolatedModules||o)&&!n.isDeclarationFile){var s=e.factory.createStringLiteral(e.externalHelpersModuleNameText),c=e.factory.createImportDeclaration(void 0,void 0,void 0,s);e.addEmitFlags(c,67108864),e.setParent(s,c),e.setParent(c,n),t=[s]}for(var l=0,u=n.statements;l<u.length;l++){d(u[l],!1)}return(1048576&n.flags||i)&&function(n){var r=/import|require/g;for(;null!==r.exec(n.text);){var a=p(n,r.lastIndex);i&&e.isRequireCall(a,!0)||e.isImportCall(a)&&1===a.arguments.length&&e.isStringLiteralLike(a.arguments[0])?t=e.append(t,a.arguments[0]):e.isLiteralImportTypeNode(a)&&(t=e.append(t,a.argument.literal))}}(n),n.imports=t||e.emptyArray,n.moduleAugmentations=r||e.emptyArray,void(n.ambientModuleNames=a||e.emptyArray)}function d(i,s){if(e.isAnyImportOrReExport(i)){var c=e.getExternalModuleName(i);!(c&&e.isStringLiteral(c)&&c.text)||s&&e.isExternalModuleNameRelative(c.text)||(t=e.append(t,c))}else if(e.isModuleDeclaration(i)&&e.isAmbientModule(i)&&(s||e.hasSyntacticModifier(i,2)||n.isDeclarationFile)){var l=e.getTextOfIdentifierOrLiteral(i.name);if(o||s&&!e.isExternalModuleNameRelative(l))(r||(r=[])).push(i.name);else if(!s){n.isDeclarationFile&&(a||(a=[])).push(l);var u=i.body;if(u)for(var p=0,f=u.statements;p<f.length;p++){d(f[p],!0)}}}}function p(n,t){for(var r=n,a=function(e){if(e.pos<=t&&(t<e.end||t===e.end&&1===e.kind))return e};;){var o=i&&e.hasJSDocNodes(r)&&e.forEach(r.jsDoc,a)||e.forEachChild(r,a);if(!o)return r;r=o}}}function En(n,t,r,a){if(e.hasExtension(n)){var i=J.getCanonicalFileName(n);if(!R.allowNonTsExtensions&&!e.forEach(te,(function(n){return e.fileExtensionIs(i,n)})))return void(r&&(e.hasJSFileExtension(i)?r(e.Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,n):r(e.Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,n,"'"+ne.join("', '")+"'")));var o=t(n);if(r)if(o)a&&i===J.getCanonicalFileName(a.fileName)&&r(e.Diagnostics.A_file_cannot_have_a_reference_to_itself);else{var s=Dn(n);s?r(e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,s,n):r(e.Diagnostics.File_0_not_found,n)}return o}var c=R.allowNonTsExtensions&&t(n);if(c)return c;if(!r||!R.allowNonTsExtensions){var l=e.forEach(ne,(function(e){return t(n+e)}));return r&&!l&&r(e.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,n,"'"+ne.join("', '")+"'"),l}r(e.Diagnostics.File_0_not_found,n)}function Tn(e,n,t,r,a){En(e,(function(e){return Ln(e,qe(e),n,t,a,r)}),(function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return B.add(Un.apply(void 0,o([a,e],n)))}),a&&a.file)}function Sn(n,t,r){var a=r?void 0:C&&C.get(t.path),i=a&&e.find(a,(function(e){return e.referencedFileName===t.fileName}));B.add(i?Wn(i,e.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,t.fileName,n):Un(r,e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,n,t.fileName))}function Ln(n,t,r,a,i,o){if(he){var s=kn(n);if(!s&&J.realpath&&R.preserveSymlinks&&e.isDeclarationFileName(n)&&e.stringContains(n,e.nodeModulesPathPart)){var c=J.realpath(n);c!==n&&(s=kn(c))}if(s){var l=e.isString(s)?Ln(s,qe(s),r,a,i,o):void 0;return l&&An(l,t,void 0),l}}var u,d=n;if(ge.has(t)){var f=ge.get(t);if(xn(n,f||void 0,i),f&&R.forceConsistentCasingInFileNames){var m=f.fileName;qe(m)!==qe(n)&&(n=Dn(n)||n),e.getNormalizedAbsolutePathWithoutRoot(m,ee)!==e.getNormalizedAbsolutePathWithoutRoot(n,ee)&&Sn(n,f,i)}return f&&K.get(f.path)&&0===V?(K.set(f.path,!1),R.noResolve||(wn(f,r),Fn(f)),R.noLib||Bn(f),j.set(f.path,!1),jn(f)):f&&j.get(f.path)&&V<U&&(j.set(f.path,!1),jn(f)),f||void 0}if(i&&!he){var _=Cn(n);if(_){if(e.outFile(_.commandLine.options))return;var g=In(_,n);n=g,u=qe(g)}}var y=J.getSourceFile(n,R.target,(function(t){return B.add(Un(i,e.Diagnostics.Cannot_read_file_0_Colon_1,n,t))}),Se);if(o){var h=e.packageIdToString(o),v=fe.get(h);if(v){var b=function(e,n,t,r,a,i){var o=Object.create(e);return o.fileName=t,o.path=r,o.resolvedPath=a,o.originalFileName=i,o.redirectInfo={redirectTarget:e,unredirected:n},K.set(r,V>0),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o}(v,y,n,t,qe(n),d);return _e.add(v.path,n),An(b,t,u),me.set(t,o.name),E.push(b),b}y&&(fe.set(h,y),me.set(t,o.name))}if(An(y,t,u),y){if(K.set(t,V>0),y.fileName=n,y.path=t,y.resolvedPath=qe(n),y.originalFileName=d,xn(n,y,i),J.useCaseSensitiveFileNames()){var T=e.toFileNameLowerCase(t),S=ye.get(T);S?Sn(n,S,i):ye.set(T,y)}Y=Y||y.hasNoDefaultLib&&!a,R.noResolve||(wn(y,r),Fn(y)),R.noLib||Bn(y),jn(y),r?p.push(y):E.push(y)}return y}function xn(n,t,r){r&&t&&(C||(C=e.createMultiMap())).add(t.path,{referencedFileName:n,kind:r.kind,index:r.index,file:r.file.path})}function An(e,n,t){t?(ge.set(t,e),ge.set(n,e||!1)):ge.set(n,e)}function Dn(e){var n=Cn(e);return n&&In(n,e)}function Cn(n){if(ce&&ce.length&&!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json"))return Nn(n)}function In(n,t){var r=e.outFile(n.commandLine.options);return r?e.changeExtension(r,".d.ts"):e.getOutputDeclarationFileName(t,n.commandLine,!J.useCaseSensitiveFileNames())}function Nn(n){void 0===ue&&(ue=new e.Map,Rn((function(e,n){e&&qe(R.configFilePath)!==n&&e.commandLine.fileNames.forEach((function(e){return ue.set(qe(e),n)}))})));var t=ue.get(qe(n));return t&&Mn(t)}function Rn(e){return Pn(O,ce,(function(n,t,r){var a=qe(h((r?r.commandLine.projectReferences:O)[t]));return e(n,a)}))}function kn(n){if(e.isDeclarationFileName(n))return void 0===de&&(de=new e.Map,Rn((function(n){if(n){var t=e.outFile(n.commandLine.options);if(t){var r=e.changeExtension(t,".d.ts");de.set(qe(r),!0)}else e.forEach(n.commandLine.fileNames,(function(t){if(!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json")){var r=e.getOutputDeclarationFileName(t,n.commandLine,J.useCaseSensitiveFileNames());de.set(qe(r),t)}}))}}))),de.get(qe(n))}function On(e){return he&&!!Nn(e)}function Pn(n,t,r,a){var i;return function n(t,r,a,o,s){if(s){var c=s(t,a);if(c)return c}return e.forEach(r,(function(t,r){if(!e.contains(i,t)){var c=o(t,r,a);if(c)return c;if(t)return(i||(i=[])).push(t),n(t.commandLine.projectReferences,t.references,t,o,s)}}))}(n,t,void 0,r,a)}function Mn(e){if(le)return le.get(e)||void 0}function wn(t,r){e.forEach(t.referencedFiles,(function(a,i){Tn(n(a.fileName,t.fileName),r,!1,void 0,{kind:e.RefFileKind.ReferenceFile,index:i,file:t,pos:a.pos,end:a.end})}))}function Fn(n){var t=e.map(n.typeReferenceDirectives,(function(n){return e.toFileNameLowerCase(n.fileName)}));if(t)for(var r=He(t,n.originalFileName,Nn(n.originalFileName)),a=0;a<t.length;a++){var i=n.typeReferenceDirectives[a],o=r[a],s=e.toFileNameLowerCase(i.fileName);e.setResolvedTypeReferenceDirective(n,s,o),Gn(s,o,{kind:e.RefFileKind.TypeReferenceDirective,index:a,file:n,pos:i.pos,end:i.end})}}function Gn(n,t,r){var a=G.get(n);if(!a||!a.primary){var i=!0;if(t){if(t.isExternalLibraryImport&&V++,t.primary)Tn(t.resolvedFileName,!1,!1,t.packageId,r);else if(a){if(t.resolvedFileName!==a.resolvedFileName){var o=J.readFile(t.resolvedFileName),s=tn(a.resolvedFileName);if(o!==s.text){var c=r?void 0:C&&C.get(s.path),l=c&&e.find(c,(function(e){return e.referencedFileName===s.fileName}));B.add(l?Wn(l,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,n,t.resolvedFileName,a.resolvedFileName):Un(r,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,n,t.resolvedFileName,a.resolvedFileName))}}i=!1}else Tn(t.resolvedFileName,!1,!1,t.packageId,r);t.isExternalLibraryImport&&V--}else B.add(Un(r,e.Diagnostics.Cannot_find_type_definition_file_for_0,n));i&&G.set(n,t)}}function Bn(n){e.forEach(n.libReferenceDirectives,(function(t){var r=e.toFileNameLowerCase(t.fileName),a=e.libMap.get(r);if(a)yn(e.combinePaths(Z,a),!0,!0);else{var i=e.removeSuffix(e.removePrefix(r,"lib."),".d.ts"),o=e.getSpellingSuggestion(i,e.libs,e.identity),s=o?e.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:e.Diagnostics.Cannot_find_lib_definition_for_0;B.add(e.createFileDiagnostic(n,t.pos,t.end-t.pos,s,r,o))}}))}function Un(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];return n?e.createFileDiagnostic.apply(void 0,o([n.file,n.pos,n.end-n.pos,t],r)):e.createCompilerDiagnostic.apply(void 0,o([t],r))}function Vn(e){return J.getCanonicalFileName(e)}function jn(n){if(bn(n),n.imports.length||n.moduleAugmentations.length){var t=b(n),r=Je(t,e.getNormalizedAbsolutePath(n.originalFileName,ee),n);e.Debug.assert(r.length===t.length);for(var a=0;a<t.length;a++){var i=r[a];if(e.setResolvedModule(n,t[a],i),i){var o=i.isExternalLibraryImport,s=!e.resolutionExtensionIsTSOrJson(i.extension),c=o&&s,l=i.resolvedFileName;o&&V++;var u=c&&V>U,d=l&&!v(R,i)&&!R.noResolve&&a<n.imports.length&&!u&&!(s&&!R.allowJs)&&(e.isInJSFile(n.imports[a])||!(4194304&n.imports[a].flags));if(u)j.set(n.path,!0);else if(d){var p=qe(l),f=e.skipTrivia(n.text,n.imports[a].pos);Ln(l,p,!1,!1,{kind:e.RefFileKind.Import,index:a,file:n,pos:f,end:n.imports[a].end},i.packageId)}o&&V--}}}else n.resolvedModules=void 0}function Kn(n,t){for(var r,a=!0,i=J.getCanonicalFileName(e.getNormalizedAbsolutePath(t,ee)),o=0,s=n;o<s.length;o++){var c=s[o];if(!c.isDeclarationFile)0!==J.getCanonicalFileName(e.getNormalizedAbsolutePath(c.fileName,ee)).indexOf(i)&&(r||(r=new e.Set(N.map(qe))),qn(c,r,e.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,c.fileName,t),a=!1)}return a}function Hn(n){le||(le=new e.Map);var t,r,a=h(n),i=qe(a),o=le.get(i);if(void 0!==o)return o||void 0;if(J.getParsedCommandLine){if(!(t=J.getParsedCommandLine(a)))return An(void 0,i,void 0),void le.set(i,!1);r=e.Debug.checkDefined(t.options.configFile),e.Debug.assert(!r.path||r.path===i),An(r,i,void 0)}else{var s=e.getNormalizedAbsolutePath(e.getDirectoryPath(a),J.getCurrentDirectory());if(An(r=J.getSourceFile(a,100),i,void 0),void 0===r)return void le.set(i,!1);t=e.parseJsonSourceFileConfigFileContent(r,X,s,void 0,a)}r.fileName=a,r.path=i,r.resolvedPath=i,r.originalFileName=a;var c={commandLine:t,sourceFile:r};return le.set(i,c),t.projectReferences&&(c.references=t.projectReferences.map(Hn)),c}function Wn(n,t){for(var r,a,i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var c,l,u=e.Debug.checkDefined(rn(n.file)),d=n.kind,p=n.index;switch(d){case e.RefFileKind.Import:c=e.skipTrivia(u.text,u.imports[p].pos),l=u.imports[p].end;break;case e.RefFileKind.ReferenceFile:c=(r=u.referencedFiles[p]).pos,l=r.end;break;case e.RefFileKind.TypeReferenceDirective:c=(a=u.typeReferenceDirectives[p]).pos,l=a.end;break;default:return e.Debug.assertNever(d)}return e.createFileDiagnostic.apply(void 0,o([u,c,l-c,t],i))}function qn(n,t,r){for(var a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];var s=null==C?void 0:C.get(n.path),c=e.forEach(s,(function(e){return t.has(e.file)?e:void 0}))||e.elementAt(s,0);$.add(c?Wn.apply(void 0,o([c,r],a)):e.createCompilerDiagnostic.apply(void 0,o([r],a)))}function zn(n,t,r,a,i,o){for(var s=!0,c=0,l=Xn();c<l.length;c++){var u=l[c];if(e.isObjectLiteralExpression(u.initializer))for(var d=0,p=e.getPropertyAssignment(u.initializer,n);d<p.length;d++){var f=p[d].initializer;e.isArrayLiteralExpression(f)&&f.elements.length>t&&($.add(e.createDiagnosticForNodeInSourceFile(R.configFile,f.elements[t],r,a,i,o)),s=!1)}}s&&$.add(e.createCompilerDiagnostic(r,a,i,o))}function Jn(n,t,r,a){for(var i=!0,o=0,s=Xn();o<s.length;o++){var c=s[o];e.isObjectLiteralExpression(c.initializer)&&nt(c.initializer,n,t,void 0,r,a)&&(i=!1)}i&&$.add(e.createCompilerDiagnostic(r,a))}function Xn(){return function(n){var t=et();if(t)return e.getPropertyAssignment(t,n)}("paths")||e.emptyArray}function Yn(e,n,t,r){$n(!0,n,t,e,n,t,r)}function Qn(e,n,t){$n(!1,e,void 0,n,t)}function Zn(n,t,r,a,i){var o=e.firstDefined(e.getTsConfigPropArray(n||R.configFile,"references"),(function(n){return e.isArrayLiteralExpression(n.initializer)?n.initializer:void 0}));o&&o.elements.length>t?$.add(e.createDiagnosticForNodeInSourceFile(n||R.configFile,o.elements[t],r,a,i)):$.add(e.createCompilerDiagnostic(r,a,i))}function $n(n,t,r,a,i,o,s){var c=et();(!c||!nt(c,n,t,r,a,i,o,s))&&$.add(e.createCompilerDiagnostic(a,i,o,s))}function et(){if(void 0===H){H=null;var n=e.getTsConfigObjectLiteralExpression(R.configFile);if(n)for(var t=0,r=e.getPropertyAssignment(n,"compilerOptions");t<r.length;t++){var a=r[t];if(e.isObjectLiteralExpression(a.initializer)){H=a.initializer;break}}}return H}function nt(n,t,r,a,i,o,s,c){for(var l=e.getPropertyAssignment(n,r,a),u=0,d=l;u<d.length;u++){var p=d[u];$.add(e.createDiagnosticForNodeInSourceFile(R.configFile,t?p.name:p.initializer,i,o,s,c))}return!!l.length}function tt(e,n){re.set(qe(e),!0),$.add(n)}function rt(n,t){return 0===e.comparePaths(n,t,ee,!J.useCaseSensitiveFileNames())}function at(){return J.getSymlinkCache?J.getSymlinkCache():S||(S=e.discoverProbableSymlinks(T,Vn,J.getCurrentDirectory()))}},e.emitSkippedWithNoDiagnostics={diagnostics:e.emptyArray,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0},e.handleNoEmitOptions=m,e.filterSemanticDiagnotics=_,e.parseConfigHostFromCompilerHostLike=g,e.createPrependNodes=y,e.resolveProjectReferencePath=h,e.getResolutionDiagnostic=v}(p||(p={})),function(e){function n(e,n,t,r,a,i){var o=[],s=e.emit(n,(function(e,n,t){o.push({name:e,writeByteOrderMark:t,text:n})}),r,t,a,i),c=s.emitSkipped,l=s.diagnostics,u=s.exportedModulesFromDeclarationEmit;return{outputFiles:o,emitSkipped:c,diagnostics:l,exportedModulesFromDeclarationEmit:u}}e.getFileEmitOutput=n,function(t){function r(n){if(n.declarations&&n.declarations[0]){var t=e.getSourceFileOfNode(n.declarations[0]);return t&&t.resolvedPath}}function a(e,n){var t=e.getSymbolAtLocation(n);return t&&r(t)}function i(n,t,r,a){return e.toPath(n.getProjectReferenceRedirect(t)||t,r,a)}function o(n,t,r){var o;if(t.imports&&t.imports.length>0)for(var s=n.getTypeChecker(),c=0,l=t.imports;c<l.length;c++){var u=a(s,l[c]);u&&S(u)}var d=e.getDirectoryPath(t.resolvedPath);if(t.referencedFiles&&t.referencedFiles.length>0)for(var p=0,f=t.referencedFiles;p<f.length;p++){var m=f[p];S(i(n,m.fileName,d,r))}if(t.resolvedTypeReferenceDirectiveNames&&t.resolvedTypeReferenceDirectiveNames.forEach((function(e){if(e){var t=e.resolvedFileName;S(i(n,t,d,r))}})),t.moduleAugmentations.length){s=n.getTypeChecker();for(var _=0,g=t.moduleAugmentations;_<g.length;_++){var y=g[_];if(e.isStringLiteral(y)){var h=s.getSymbolAtLocation(y);h&&T(h)}}}for(var v=0,b=n.getTypeChecker().getAmbientModules();v<b.length;v++){var E=b[v];E.declarations.length>1&&T(E)}return o;function T(n){for(var r=0,a=n.declarations;r<a.length;r++){var i=a[r],o=e.getSourceFileOfNode(i);o&&o!==t&&S(o.resolvedPath)}}function S(n){(o||(o=new e.Set)).add(n)}}function s(e,n){return n&&!n.referencedMap==!e}function c(e,n){n.forEach((function(n,t){return l(e,n,t)}))}function l(e,n,t){e.fileInfos.get(t).signature=n,e.hasCalledUpdateShapeSignature.add(t)}function u(t,a,i,o,s,c,l){if(e.Debug.assert(!!i),e.Debug.assert(!l||!!t.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"),t.hasCalledUpdateShapeSignature.has(i.resolvedPath)||o.has(i.resolvedPath))return!1;var u=t.fileInfos.get(i.resolvedPath);if(!u)return e.Debug.fail();var d,p=u.signature;if(i.isDeclarationFile){if(d=i.version,l&&d!==p){var f=t.referencedMap?t.referencedMap.get(i.resolvedPath):void 0;l.set(i.resolvedPath,f||!1)}}else{var m=n(a,i,!0,s,void 0,!0),_=m.outputFiles&&a.getCompilerOptions().declarationMap?m.outputFiles.length>1?m.outputFiles[1]:void 0:m.outputFiles.length>0?m.outputFiles[0]:void 0;_?(e.Debug.assert(e.fileExtensionIs(_.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+e.getAnyExtensionFromPath(_.name)+" for "+_.name+":: All output files: "+JSON.stringify(m.outputFiles.map((function(e){return e.name})))})),d=c(_.text),l&&d!==p&&function(n,t,a){if(!t)return void a.set(n.resolvedPath,!1);var i;t.forEach((function(n){var t;(t=r(n))&&(i||(i=new e.Set),i.add(t))})),a.set(n.resolvedPath,i||!1)}(i,m.exportedModulesFromDeclarationEmit,l)):d=p}return o.set(i.resolvedPath,d),!p||d!==p}function d(n,t){if(!n.allFileNames){var r=t.getSourceFiles();n.allFileNames=r===e.emptyArray?e.emptyArray:r.map((function(e){return e.fileName}))}return n.allFileNames}function p(n,t){return e.arrayFrom(e.mapDefinedIterator(n.referencedMap.entries(),(function(e){var n=e[0];return e[1].has(t)?n:void 0})))}function f(n){return function(n){return e.some(n.moduleAugmentations,(function(n){return e.isGlobalScopeAugmentation(n.parent)}))}(n)||!e.isExternalModule(n)&&!function(n){for(var t=0,r=n.statements;t<r.length;t++){var a=r[t];if(!e.isModuleWithStringLiteralName(a))return!1}return!0}(n)}function m(n,t,r){if(n.allFilesExcludingDefaultLibraryFile)return n.allFilesExcludingDefaultLibraryFile;var a;r&&c(r);for(var i=0,o=t.getSourceFiles();i<o.length;i++){var s=o[i];s!==r&&c(s)}return n.allFilesExcludingDefaultLibraryFile=a||e.emptyArray,n.allFilesExcludingDefaultLibraryFile;function c(e){t.isSourceFileDefaultLibrary(e)||(a||(a=[])).push(e)}}function _(n,t,r){var a=t.getCompilerOptions();return a&&e.outFile(a)?[r]:m(n,t,r)}function g(n,t,r,a,i,o,s){if(f(r))return m(n,t,r);var c=t.getCompilerOptions();if(c&&(c.isolatedModules||e.outFile(c)))return[r];var l=new e.Map;l.set(r.resolvedPath,r);for(var d=p(n,r.resolvedPath);d.length>0;){var _=d.pop();if(!l.has(_)){var g=t.getSourceFileByPath(_);l.set(_,g),g&&u(n,t,g,a,i,o,s)&&d.push.apply(d,p(n,g.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(l.values(),(function(e){return e})))}t.canReuseOldState=s,t.create=function(n,t,r){var a=new e.Map,i=n.getCompilerOptions().module!==e.ModuleKind.None?new e.Map:void 0,c=i?new e.Map:void 0,l=new e.Set,u=s(i,r);n.getTypeChecker();for(var d=0,p=n.getSourceFiles();d<p.length;d++){var m=p[d],_=e.Debug.checkDefined(m.version,"Program intended to be used with Builder should have source files with versions set"),g=u?r.fileInfos.get(m.resolvedPath):void 0;if(i){var y=o(n,m,t);if(y&&i.set(m.resolvedPath,y),u){var h=r.exportedModulesMap.get(m.resolvedPath);h&&c.set(m.resolvedPath,h)}}a.set(m.resolvedPath,{version:_,signature:g&&g.signature,affectsGlobalScope:f(m)})}return{fileInfos:a,referencedMap:i,exportedModulesMap:c,hasCalledUpdateShapeSignature:l}},t.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},t.clone=function(n){return{fileInfos:new e.Map(n.fileInfos),referencedMap:n.referencedMap&&new e.Map(n.referencedMap),exportedModulesMap:n.exportedModulesMap&&new e.Map(n.exportedModulesMap),hasCalledUpdateShapeSignature:new e.Set(n.hasCalledUpdateShapeSignature)}},t.getFilesAffectedBy=function(n,t,r,a,i,o,s){var l=o||new e.Map,d=t.getSourceFileByPath(r);if(!d)return e.emptyArray;if(!u(n,t,d,l,a,i,s))return[d];var p=(n.referencedMap?g:_)(n,t,d,l,a,i,s);return o||c(n,l),p},t.updateSignaturesFromCache=c,t.updateSignatureOfFile=l,t.updateShapeSignature=u,t.updateExportedFilesMapFromCache=function(n,t){t&&(e.Debug.assert(!!n.exportedModulesMap),t.forEach((function(e,t){e?n.exportedModulesMap.set(t,e):n.exportedModulesMap.delete(t)})))},t.getAllDependencies=function(n,t,r){var a=t.getCompilerOptions();if(e.outFile(a))return d(n,t);if(!n.referencedMap||f(r))return d(n,t);for(var i=new e.Set,o=[r.resolvedPath];o.length;){var s=o.pop();if(!i.has(s)){i.add(s);var c=n.referencedMap.get(s);if(c)for(var l=c.keys(),u=l.next();!u.done;u=l.next())o.push(u.value)}}return e.arrayFrom(e.mapDefinedIterator(i.keys(),(function(e){var n,r;return null!==(r=null===(n=t.getSourceFileByPath(e))||void 0===n?void 0:n.fileName)&&void 0!==r?r:e})))},t.getReferencedByPaths=p,t.getAllFilesExcludingDefaultLibraryFile=m}(e.BuilderState||(e.BuilderState={}))}(p||(p={})),function(e){var n;function t(n,t,a){var i=e.BuilderState.create(n,t,a);i.program=n;var o=n.getCompilerOptions();i.compilerOptions=o,e.outFile(o)||(i.semanticDiagnosticsPerFile=new e.Map),i.changedFilesSet=new e.Set;var s=e.BuilderState.canReuseOldState(i.referencedMap,a),c=s?a.compilerOptions:void 0,l=s&&a.semanticDiagnosticsPerFile&&!!i.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(o,c);if(s){if(!a.currentChangedFilePath){var u=a.currentAffectedFilesSignatures;e.Debug.assert(!(a.affectedFiles||u&&u.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var d=a.changedFilesSet;l&&e.Debug.assert(!d||!e.forEachKey(d,(function(e){return a.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files"),null==d||d.forEach((function(e){return i.changedFilesSet.add(e)})),!e.outFile(o)&&a.affectedFilesPendingEmit&&(i.affectedFilesPendingEmit=a.affectedFilesPendingEmit.slice(),i.affectedFilesPendingEmitKind=a.affectedFilesPendingEmitKind&&new e.Map(a.affectedFilesPendingEmitKind),i.affectedFilesPendingEmitIndex=a.affectedFilesPendingEmitIndex,i.seenAffectedFiles=new e.Set)}var p=i.referencedMap,f=s?a.referencedMap:void 0,m=l&&!o.skipLibCheck==!c.skipLibCheck,_=m&&!o.skipDefaultLibCheck==!c.skipDefaultLibCheck;return i.fileInfos.forEach((function(o,c){var u,d,g,y;if(!s||!(u=a.fileInfos.get(c))||u.version!==o.version||(g=d=p&&p.get(c),y=f&&f.get(c),g!==y&&(void 0===g||void 0===y||g.size!==y.size||e.forEachKey(g,(function(e){return!y.has(e)}))))||d&&e.forEachKey(d,(function(e){return!i.fileInfos.has(e)&&a.fileInfos.has(e)})))i.changedFilesSet.add(c);else if(l){var h=n.getSourceFileByPath(c);if(h.isDeclarationFile&&!m)return;if(h.hasNoDefaultLib&&!_)return;var v=a.semanticDiagnosticsPerFile.get(c);v&&(i.semanticDiagnosticsPerFile.set(c,a.hasReusableDiagnostic?function(n,t,a){if(!n.length)return e.emptyArray;var i=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.getCompilerOptions()),t.getCurrentDirectory()));return n.map((function(n){var a=r(n,t,o);a.reportsUnnecessary=n.reportsUnnecessary,a.reportsDeprecated=n.reportDeprecated,a.source=n.source,a.skippedOn=n.skippedOn;var i=n.relatedInformation;return a.relatedInformation=i?i.length?i.map((function(e){return r(e,t,o)})):e.emptyArray:void 0,a}));function o(n){return e.toPath(n,i,a)}}(v,n,t):v),i.semanticDiagnosticsFromOldState||(i.semanticDiagnosticsFromOldState=new e.Set),i.semanticDiagnosticsFromOldState.add(c))}})),s&&e.forEachEntry(a.fileInfos,(function(e,n){return e.affectsGlobalScope&&!i.fileInfos.has(n)}))?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(i,n,void 0).forEach((function(e){return i.changedFilesSet.add(e.resolvedPath)})):c&&!e.outFile(o)&&e.compilerOptionsAffectEmit(o,c)&&(n.getSourceFiles().forEach((function(e){return v(i,e.resolvedPath,1)})),e.Debug.assert(!i.seenAffectedFiles||!i.seenAffectedFiles.size),i.seenAffectedFiles=i.seenAffectedFiles||new e.Set),i.buildInfoEmitPending=!!i.changedFilesSet.size,i}function r(e,n,t){var r=e.file;return s(s({},e),{file:r?n.getSourceFileByPath(t(r)):void 0})}function a(n,t){e.Debug.assert(!t||!n.affectedFiles||n.affectedFiles[n.affectedFilesIndex-1]!==t||!n.semanticDiagnosticsPerFile.has(t.resolvedPath))}function i(n,t,r){for(;;){var a=n.affectedFiles;if(a){for(var i=n.seenAffectedFiles,s=n.affectedFilesIndex;s<a.length;){var c=a[s];if(!i.has(c.resolvedPath))return n.affectedFilesIndex=s,o(n,c,t,r),c;s++}n.changedFilesSet.delete(n.currentChangedFilePath),n.currentChangedFilePath=void 0,e.BuilderState.updateSignaturesFromCache(n,n.currentAffectedFilesSignatures),n.currentAffectedFilesSignatures.clear(),e.BuilderState.updateExportedFilesMapFromCache(n,n.currentAffectedFilesExportedModulesMap),n.affectedFiles=void 0}var l=n.changedFilesSet.keys().next();if(l.done)return;var u=e.Debug.checkDefined(n.program),d=u.getCompilerOptions();if(e.outFile(d))return e.Debug.assert(!n.semanticDiagnosticsPerFile),u;n.currentAffectedFilesSignatures||(n.currentAffectedFilesSignatures=new e.Map),n.exportedModulesMap&&(n.currentAffectedFilesExportedModulesMap||(n.currentAffectedFilesExportedModulesMap=new e.Map)),n.affectedFiles=e.BuilderState.getFilesAffectedBy(n,u,l.value,t,r,n.currentAffectedFilesSignatures,n.currentAffectedFilesExportedModulesMap),n.currentChangedFilePath=l.value,n.affectedFilesIndex=0,n.seenAffectedFiles||(n.seenAffectedFiles=new e.Set)}}function o(n,t,r,a){if(c(n,t.resolvedPath),n.allFilesExcludingDefaultLibraryFile!==n.affectedFiles)n.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(n,t,r){if(!n.exportedModulesMap||!n.changedFilesSet.has(t.resolvedPath))return;if(!l(n,t.resolvedPath))return;if(n.compilerOptions.isolatedModules){var a=new e.Map;a.set(t.resolvedPath,!0);for(var i=e.BuilderState.getReferencedByPaths(n,t.resolvedPath);i.length>0;){var o=i.pop();if(!a.has(o))if(a.set(o,!0),r(n,o)&&l(n,o)){var s=e.Debug.checkDefined(n.program).getSourceFileByPath(o);i.push.apply(i,e.BuilderState.getReferencedByPaths(n,s.resolvedPath))}}}e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap);var c=new e.Set;if(e.forEachEntry(n.currentAffectedFilesExportedModulesMap,(function(e,a){return e&&e.has(t.resolvedPath)&&u(n,a,c,r)})))return;e.forEachEntry(n.exportedModulesMap,(function(e,a){return!n.currentAffectedFilesExportedModulesMap.has(a)&&e.has(t.resolvedPath)&&u(n,a,c,r)}))}(n,t,(function(n,t){return function(n,t,r,a){if(c(n,t),!n.changedFilesSet.has(t)){var i=e.Debug.checkDefined(n.program),o=i.getSourceFileByPath(t);o&&(e.BuilderState.updateShapeSignature(n,i,o,e.Debug.checkDefined(n.currentAffectedFilesSignatures),r,a,n.currentAffectedFilesExportedModulesMap),e.getEmitDeclarations(n.compilerOptions)&&v(n,t,0))}return!1}(n,t,r,a)}));else if(!n.cleanedDiagnosticsOfLibFiles){n.cleanedDiagnosticsOfLibFiles=!0;var i=e.Debug.checkDefined(n.program),o=i.getCompilerOptions();e.forEach(i.getSourceFiles(),(function(t){return i.isSourceFileDefaultLibrary(t)&&!e.skipTypeChecking(t,o,i)&&c(n,t.resolvedPath)}))}}function c(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function l(n,t){return e.Debug.checkDefined(n.currentAffectedFilesSignatures).get(t)!==e.Debug.checkDefined(n.fileInfos.get(t)).signature}function u(n,t,r,a){return e.forEachEntry(n.referencedMap,(function(i,o){return i.has(t)&&function n(t,r,a,i){if(!e.tryAddToSet(a,r))return!1;if(i(t,r))return!0;if(e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap),e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,o){return e&&e.has(r)&&n(t,o,a,i)})))return!0;if(e.forEachEntry(t.exportedModulesMap,(function(e,o){return!t.currentAffectedFilesExportedModulesMap.has(o)&&e.has(r)&&n(t,o,a,i)})))return!0;return!!e.forEachEntry(t.referencedMap,(function(e,n){return e.has(r)&&!a.has(n)&&i(t,n)}))}(n,o,r,a)}))}function d(n,t,r,a,i){i?n.buildInfoEmitPending=!1:t===n.program?(n.changedFilesSet.clear(),n.programEmitComplete=!0):(n.seenAffectedFiles.add(t.resolvedPath),void 0!==r&&(n.seenEmittedFiles||(n.seenEmittedFiles=new e.Map)).set(t.resolvedPath,r),a?(n.affectedFilesPendingEmitIndex++,n.buildInfoEmitPending=!0):n.affectedFilesIndex++)}function p(e,n,t){return d(e,t),{result:n,affected:t}}function f(e,n,t,r,a,i){return d(e,t,r,a,i),{result:n,affected:t}}function m(n,t,r){return e.concatenate(function(n,t,r){var a=t.resolvedPath;if(n.semanticDiagnosticsPerFile){var i=n.semanticDiagnosticsPerFile.get(a);if(i)return e.filterSemanticDiagnotics(i,n.compilerOptions)}var o=e.Debug.checkDefined(n.program).getBindAndCheckDiagnostics(t,r);n.semanticDiagnosticsPerFile&&n.semanticDiagnosticsPerFile.set(a,o);return e.filterSemanticDiagnotics(o,n.compilerOptions)}(n,t,r),e.Debug.checkDefined(n.program).getProgramDiagnostics(t))}function _(n,t){var r={},a=e.getOptionsNameMap().optionsNameMap;for(var i in n)e.hasProperty(n,i)&&(r[i]=g(a.get(i.toLowerCase()),n[i],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r}function g(e,n,t){if(e)if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function y(n,t){return e.Debug.assert(!!n.length),n.map((function(n){var r=h(n,t);r.reportsUnnecessary=n.reportsUnnecessary,r.reportDeprecated=n.reportsDeprecated,r.source=n.source,r.skippedOn=n.skippedOn;var a=n.relatedInformation;return r.relatedInformation=a?a.length?a.map((function(e){return h(e,t)})):e.emptyArray:void 0,r}))}function h(e,n){var t=e.file;return s(s({},e),{file:t?n(t.resolvedPath):void 0})}function v(n,t,r){n.affectedFilesPendingEmit||(n.affectedFilesPendingEmit=[]),n.affectedFilesPendingEmitKind||(n.affectedFilesPendingEmitKind=new e.Map);var a=n.affectedFilesPendingEmitKind.get(t);n.affectedFilesPendingEmit.push(t),n.affectedFilesPendingEmitKind.set(t,a||r),void 0===n.affectedFilesPendingEmitIndex&&(n.affectedFilesPendingEmitIndex=0)}function b(n,t){if(n){var r=new e.Map;for(var a in n)e.hasProperty(n,a)&&r.set(t(a),new e.Set(n[a].map(t)));return r}}function E(n,t){return{getState:e.notImplemented,backupState:e.noop,restoreState:e.noop,getProgram:r,getProgramOrUndefined:function(){return n.program},releaseProgram:function(){return n.program=void 0},getCompilerOptions:function(){return n.compilerOptions},getSourceFile:function(e){return r().getSourceFile(e)},getSourceFiles:function(){return r().getSourceFiles()},getOptionsDiagnostics:function(e){return r().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return r().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return t},getSyntacticDiagnostics:function(e,n){return r().getSyntacticDiagnostics(e,n)},getDeclarationDiagnostics:function(e,n){return r().getDeclarationDiagnostics(e,n)},getSemanticDiagnostics:function(e,n){return r().getSemanticDiagnostics(e,n)},emit:function(e,n,t,a,i){return r().emit(e,n,t,a,i)},emitBuildInfo:function(e,n){return r().emitBuildInfo(e,n)},getAllDependencies:e.notImplemented,getCurrentDirectory:function(){return r().getCurrentDirectory()},close:e.noop};function r(){return e.Debug.checkDefined(n.program)}}!function(e){e[e.DtsOnly=0]="DtsOnly",e[e.Full=1]="Full"}(e.BuilderFileEmit||(e.BuilderFileEmit={})),function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(n=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(n,t,r,a,i,o){var s,c,l;return void 0===n?(e.Debug.assert(void 0===t),s=r,l=a,e.Debug.assert(!!l),c=l.getProgram()):e.isArray(n)?(l=a,c=e.createProgram({rootNames:n,options:t,host:r,oldProgram:l&&l.getProgramOrUndefined(),configFileParsingDiagnostics:i,projectReferences:o}),s=r):(c=n,s=t,l=r,i=a),{host:s,newProgram:c,oldProgram:l,configFileParsingDiagnostics:i||e.emptyArray}},e.createBuilderProgram=function(r,o){var s=o.newProgram,c=o.host,l=o.oldProgram,u=o.configFileParsingDiagnostics,g=l&&l.getState();if(g&&s===g.program&&u===s.getConfigFileParsingDiagnostics())return s=void 0,g=void 0,l;var h,b=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),T=c.createHash||e.generateDjb2Hash,S=t(s,b,g);s.getProgramBuildInfo=function(){return function(n,t){if(!e.outFile(n.compilerOptions)){var r=e.Debug.checkDefined(n.program).getCurrentDirectory(),a=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(n.compilerOptions),r)),i={};n.fileInfos.forEach((function(e,t){var r=n.currentAffectedFilesSignatures&&n.currentAffectedFilesSignatures.get(t);i[A(t)]=void 0===r?e:{version:e.version,signature:r,affectsGlobalScope:e.affectsGlobalScope}}));var o={fileInfos:i,options:_(n.compilerOptions,(function(n){return A(e.getNormalizedAbsolutePath(n,r))}))};if(n.referencedMap){for(var s={},c=0,l=e.arrayFrom(n.referencedMap.keys()).sort(e.compareStringsCaseSensitive);c<l.length;c++){s[A(f=l[c])]=e.arrayFrom(n.referencedMap.get(f).keys(),A).sort(e.compareStringsCaseSensitive)}o.referencedMap=s}if(n.exportedModulesMap){for(var u={},d=0,p=e.arrayFrom(n.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive);d<p.length;d++){var f=p[d],m=n.currentAffectedFilesExportedModulesMap&&n.currentAffectedFilesExportedModulesMap.get(f);void 0===m?u[A(f)]=e.arrayFrom(n.exportedModulesMap.get(f).keys(),A).sort(e.compareStringsCaseSensitive):m&&(u[A(f)]=e.arrayFrom(m.keys(),A).sort(e.compareStringsCaseSensitive))}o.exportedModulesMap=u}if(n.semanticDiagnosticsPerFile){for(var g=[],h=0,v=e.arrayFrom(n.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);h<v.length;h++){f=v[h];var b=n.semanticDiagnosticsPerFile.get(f);g.push(b.length?[A(f),n.hasReusableDiagnostic?b:y(b,A)]:A(f))}o.semanticDiagnosticsPerFile=g}if(n.affectedFilesPendingEmit){for(var E=[],T=new e.Set,S=0,L=n.affectedFilesPendingEmit.slice(n.affectedFilesPendingEmitIndex).sort(e.compareStringsCaseSensitive);S<L.length;S++){var x=L[S];e.tryAddToSet(T,x)&&E.push([A(x),n.affectedFilesPendingEmitKind.get(x)])}o.affectedFilesPendingEmit=E}return o}function A(n){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(a,n,t))}}(S,b)},s=void 0,l=void 0,g=void 0;var L=E(S,u);return L.getState=function(){return S},L.backupState=function(){e.Debug.assert(void 0===h),h=function(n){var t=e.BuilderState.clone(n);return t.semanticDiagnosticsPerFile=n.semanticDiagnosticsPerFile&&new e.Map(n.semanticDiagnosticsPerFile),t.changedFilesSet=new e.Set(n.changedFilesSet),t.affectedFiles=n.affectedFiles,t.affectedFilesIndex=n.affectedFilesIndex,t.currentChangedFilePath=n.currentChangedFilePath,t.currentAffectedFilesSignatures=n.currentAffectedFilesSignatures&&new e.Map(n.currentAffectedFilesSignatures),t.currentAffectedFilesExportedModulesMap=n.currentAffectedFilesExportedModulesMap&&new e.Map(n.currentAffectedFilesExportedModulesMap),t.seenAffectedFiles=n.seenAffectedFiles&&new e.Set(n.seenAffectedFiles),t.cleanedDiagnosticsOfLibFiles=n.cleanedDiagnosticsOfLibFiles,t.semanticDiagnosticsFromOldState=n.semanticDiagnosticsFromOldState&&new e.Set(n.semanticDiagnosticsFromOldState),t.program=n.program,t.compilerOptions=n.compilerOptions,t.affectedFilesPendingEmit=n.affectedFilesPendingEmit&&n.affectedFilesPendingEmit.slice(),t.affectedFilesPendingEmitKind=n.affectedFilesPendingEmitKind&&new e.Map(n.affectedFilesPendingEmitKind),t.affectedFilesPendingEmitIndex=n.affectedFilesPendingEmitIndex,t.seenEmittedFiles=n.seenEmittedFiles&&new e.Map(n.seenEmittedFiles),t.programEmitComplete=n.programEmitComplete,t}(S)},L.restoreState=function(){S=e.Debug.checkDefined(h),h=void 0},L.getAllDependencies=function(n){return e.BuilderState.getAllDependencies(S,e.Debug.checkDefined(S.program),n)},L.getSemanticDiagnostics=function(n,t){a(S,n);var r,i=e.Debug.checkDefined(S.program).getCompilerOptions();if(e.outFile(i))return e.Debug.assert(!S.semanticDiagnosticsPerFile),e.Debug.checkDefined(S.program).getSemanticDiagnostics(n,t);if(n)return m(S,n,t);for(;A(t););for(var o=0,s=e.Debug.checkDefined(S.program).getSourceFiles();o<s.length;o++){var c=s[o];r=e.addRange(r,m(S,c,t))}return r||e.emptyArray},L.emit=function(t,i,o,s,l){if(r===n.EmitAndSemanticDiagnosticsBuilderProgram){a(S,t);var u=e.handleNoEmitOptions(L,t,i,o);if(u)return u;if(!t){for(var d=[],p=!1,f=void 0,m=[],_=void 0;_=x(i,o,s,l);)p=p||_.result.emitSkipped,f=e.addRange(f,_.result.diagnostics),m=e.addRange(m,_.result.emittedFiles),d=e.addRange(d,_.result.sourceMaps);return{emitSkipped:p,diagnostics:f||e.emptyArray,emittedFiles:m,sourceMaps:d}}}return e.Debug.checkDefined(S.program).emit(t,i||e.maybeBind(c,c.writeFile),o,s,l)},L.releaseProgram=function(){!function(n){e.BuilderState.releaseCache(n),n.program=void 0}(S),h=void 0},r===n.SemanticDiagnosticsBuilderProgram?L.getSemanticDiagnosticsOfNextAffectedFile=A:r===n.EmitAndSemanticDiagnosticsBuilderProgram?(L.getSemanticDiagnosticsOfNextAffectedFile=A,L.emitNextAffectedFile=x,L.emitBuildInfo=function(n,t){if(S.buildInfoEmitPending){var r=e.Debug.checkDefined(S.program).emitBuildInfo(n||e.maybeBind(c,c.writeFile),t);return S.buildInfoEmitPending=!1,r}return e.emitSkippedWithNoDiagnostics}):e.notImplemented(),L;function x(n,t,r,a){var o=i(S,t,T),s=1,l=!1;if(!o)if(e.outFile(S.compilerOptions)){var u=e.Debug.checkDefined(S.program);if(S.programEmitComplete)return;o=u}else{var d=function(n){var t=n.affectedFilesPendingEmit;if(t){for(var r=n.seenEmittedFiles||(n.seenEmittedFiles=new e.Map),a=n.affectedFilesPendingEmitIndex;a<t.length;a++){var i=e.Debug.checkDefined(n.program).getSourceFileByPath(t[a]);if(i){var o=r.get(i.resolvedPath),s=e.Debug.checkDefined(e.Debug.checkDefined(n.affectedFilesPendingEmitKind).get(i.resolvedPath));if(void 0===o||o<s)return n.affectedFilesPendingEmitIndex=a,{affectedFile:i,emitKind:s}}}n.affectedFilesPendingEmit=void 0,n.affectedFilesPendingEmitKind=void 0,n.affectedFilesPendingEmitIndex=void 0}}(S);if(!d){if(!S.buildInfoEmitPending)return;var p=e.Debug.checkDefined(S.program);return f(S,p.emitBuildInfo(n||e.maybeBind(c,c.writeFile),t),p,1,!1,!0)}o=d.affectedFile,s=d.emitKind,l=!0}return f(S,e.Debug.checkDefined(S.program).emit(o===S.program?void 0:o,n||e.maybeBind(c,c.writeFile),t,r||0===s,a),o,s,l)}function A(e,t){for(;;){var a=i(S,e,T);if(!a)return;if(a===S.program)return p(S,S.program.getSemanticDiagnostics(void 0,e),a);if(r===n.EmitAndSemanticDiagnosticsBuilderProgram&&v(S,a.resolvedPath,1),!t||!t(a))return p(S,m(S,a,e),a);d(S,a)}}},e.createBuildProgramUsingProgramBuildInfo=function(n,t,r){var a=e.getDirectoryPath(e.getNormalizedAbsolutePath(t,r.getCurrentDirectory())),i=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames()),o=new e.Map;for(var s in n.fileInfos)e.hasProperty(n.fileInfos,s)&&o.set(l(s),n.fileInfos[s]);var c={fileInfos:o,compilerOptions:e.convertToOptionsWithAbsolutePaths(n.options,(function(n){return e.getNormalizedAbsolutePath(n,a)})),referencedMap:b(n.referencedMap,l),exportedModulesMap:b(n.exportedModulesMap,l),semanticDiagnosticsPerFile:n.semanticDiagnosticsPerFile&&e.arrayToMap(n.semanticDiagnosticsPerFile,(function(n){return l(e.isString(n)?n:n[0])}),(function(n){return e.isString(n)?e.emptyArray:n[1]})),hasReusableDiagnostic:!0,affectedFilesPendingEmit:e.map(n.affectedFilesPendingEmit,(function(e){return l(e[0])})),affectedFilesPendingEmitKind:n.affectedFilesPendingEmit&&e.arrayToMap(n.affectedFilesPendingEmit,(function(e){return l(e[0])}),(function(e){return e[1]})),affectedFilesPendingEmitIndex:n.affectedFilesPendingEmit&&0};return{getState:function(){return c},backupState:e.noop,restoreState:e.noop,getProgram:e.notImplemented,getProgramOrUndefined:e.returnUndefined,releaseProgram:e.noop,getCompilerOptions:function(){return c.compilerOptions},getSourceFile:e.notImplemented,getSourceFiles:e.notImplemented,getOptionsDiagnostics:e.notImplemented,getGlobalDiagnostics:e.notImplemented,getConfigFileParsingDiagnostics:e.notImplemented,getSyntacticDiagnostics:e.notImplemented,getDeclarationDiagnostics:e.notImplemented,getSemanticDiagnostics:e.notImplemented,emit:e.notImplemented,getAllDependencies:e.notImplemented,getCurrentDirectory:e.notImplemented,emitNextAffectedFile:e.notImplemented,getSemanticDiagnosticsOfNextAffectedFile:e.notImplemented,emitBuildInfo:e.notImplemented,close:e.noop};function l(n){return e.toPath(n,a,i)}},e.createRedirectedBuilderProgram=E}(p||(p={})),function(e){e.createSemanticDiagnosticsBuilderProgram=function(n,t,r,a,i,o){return e.createBuilderProgram(e.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(n,t,r,a,i,o))},e.createEmitAndSemanticDiagnosticsBuilderProgram=function(n,t,r,a,i,o){return e.createBuilderProgram(e.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(n,t,r,a,i,o))},e.createAbstractBuilder=function(n,t,r,a,i,o){var s=e.getBuilderCreationParameters(n,t,r,a,i,o),c=s.newProgram,l=s.configFileParsingDiagnostics;return e.createRedirectedBuilderProgram({program:c,compilerOptions:c.getCompilerOptions()},l)}}(p||(p={})),function(e){function n(n){return e.endsWith(n,"/node_modules/.staging")?e.removeSuffix(n,"/.staging"):e.some(e.ignoredPaths,(function(t){return e.stringContains(n,t)}))?void 0:n}function t(n){var t=e.getRootLength(n);if(n.length===t)return!1;var r=n.indexOf(e.directorySeparator,t);if(-1===r)return!1;var a=n.substring(t,r+1),i=t>1||47!==n.charCodeAt(0);if(i&&0!==n.search(/[a-zA-Z]:/)&&0===a.search(/[a-zA-z]\$\//)){if(-1===(r=n.indexOf(e.directorySeparator,r+1)))return!1;a=n.substring(t+a.length,r+1)}if(i&&0!==a.search(/users\//i))return!0;for(var o=r+1,s=2;s>0;s--)if(0===(o=n.indexOf(e.directorySeparator,o)+1))return!1;return!0}e.removeIgnoredPath=n,e.canWatchDirectory=t,e.createResolutionCache=function(r,a,i){var o,s,c,l=e.createMultiMap(),u=[],d=e.createMultiMap(),p=!1,f=[],m=[],_=[],g=e.memoize((function(){return r.getCurrentDirectory()})),y=r.getCachedDirectoryStructureHost(),h=new e.Map,v=e.createCacheWithRedirects(),b=e.createCacheWithRedirects(),E=e.createModuleResolutionCacheWithMaps(v,b,g(),r.getCanonicalFileName),T=new e.Map,S=e.createCacheWithRedirects(),L=[".ts",".tsx",".js",".jsx",".json"],x=new e.Map,A=new e.Map,D=a&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(a,g())),C=D&&r.toPath(D),I=void 0!==C?C.split(e.directorySeparator).length:0,N=new e.Map;return{startRecordingFilesWithChangedResolutions:function(){o=[]},finishRecordingFilesWithChangedResolutions:function(){var e=o;return o=void 0,e},startCachingPerDirectoryResolution:M,finishCachingPerDirectoryResolution:function(){c=void 0,M(),A.forEach((function(e,n){0===e.refCount&&(A.delete(n),e.watcher.close())})),p=!1},resolveModuleNames:function(n,t,r,a){return F({names:n,containingFile:t,redirectedReference:a,cache:h,perDirectoryCacheWithRedirects:v,loader:w,getResolutionWithResolvedFileName:R,shouldRetryResolution:function(n){return!n.resolvedModule||!e.resolutionExtensionIsTSOrJson(n.resolvedModule.extension)},reusedNames:r,logChanges:i})},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,n){var t=h.get(r.toPath(n));return t&&t.get(e)},resolveTypeReferenceDirectives:function(n,t,r){return F({names:n,containingFile:t,redirectedReference:r,cache:T,perDirectoryCacheWithRedirects:S,loader:e.resolveTypeReferenceDirective,getResolutionWithResolvedFileName:k,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective}})},removeResolutionsFromProjectReferenceRedirects:function(n){if(!e.fileExtensionIs(n,".json"))return;var t=r.getCurrentProgram();if(!t)return;var a=t.getResolvedProjectReferenceByPath(n);if(!a)return;a.commandLine.fileNames.forEach((function(e){return Y(r.toPath(e))}))},removeResolutionsOfFile:Y,hasChangedAutomaticTypeDirectiveNames:function(){return p},invalidateResolutionOfFile:function(n){Y(n);var t=p;Q(d.get(n),e.returnTrue)&&p&&!t&&r.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:$,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(n){e.Debug.assert(c===n||void 0===c),c=n},createHasInvalidatedResolution:function(n){if($(),n)return s=void 0,e.returnTrue;var t=s;return s=void 0,function(e){return!!t&&t.has(e)||P(e)}},updateTypeRootsWatch:function(){var n=r.getCompilationSettings();if(n.types)return void ne();var t=e.getEffectiveTypeRoots(n,{directoryExists:re,getCurrentDirectory:g});t?e.mutateMap(N,e.arrayToMap(t,(function(e){return r.toPath(e)})),{createNewValue:te,onDeleteValue:e.closeFileWatcher}):ne()},closeTypeRootsWatch:ne,clear:function(){e.clearMap(A,e.closeFileWatcherOf),x.clear(),l.clear(),ne(),h.clear(),T.clear(),d.clear(),u.length=0,f.length=0,m.length=0,_.length=0,M(),p=!1}};function R(e){return e.resolvedModule}function k(e){return e.resolvedTypeReferenceDirective}function O(n,t){return!(void 0===n||t.length<=n.length)&&(e.startsWith(t,n)&&t[n.length]===e.directorySeparator)}function P(e){if(!c)return!1;var n=c.get(e);return!!n&&!!n.length}function M(){v.clear(),b.clear(),S.clear(),l.forEach(H),l.clear()}function w(n,t,a,i,o){var s,c=e.resolveModuleName(n,t,a,i,E,o);if(!r.getGlobalCache)return c;var l=r.getGlobalCache();if(!(void 0===l||e.isExternalModuleNameRelative(n)||c.resolvedModule&&e.extensionIsTS(c.resolvedModule.extension))){var u=e.loadModuleFromGlobalCache(e.Debug.checkDefined(r.globalCacheResolutionModuleName)(n),r.projectName,a,i,l),d=u.resolvedModule,p=u.failedLookupLocations;if(d)return c.resolvedModule=d,(s=c.failedLookupLocations).push.apply(s,p),c}return c}function F(n){var t,a=n.names,i=n.containingFile,s=n.redirectedReference,c=n.cache,l=n.perDirectoryCacheWithRedirects,u=n.loader,d=n.getResolutionWithResolvedFileName,p=n.shouldRetryResolution,f=n.reusedNames,m=n.logChanges,_=r.toPath(i),g=c.get(_)||c.set(_,new e.Map).get(_),y=e.getDirectoryPath(_),h=l.getOrCreateMapOfCacheRedirects(s),v=h.get(y);v||(v=new e.Map,h.set(y,v));for(var b=[],E=r.getCompilationSettings(),T=m&&P(_),S=r.getCurrentProgram(),L=S&&S.getResolvedProjectReferenceToRedirect(i),x=L?!s||s.sourceFile.path!==L.sourceFile.path:!!s,A=new e.Map,D=0,C=a;D<C.length;D++){var I=C[D],N=g.get(I);if(!A.has(I)&&x||!N||N.isInvalidated||T&&!e.isExternalModuleNameRelative(I)&&p(N)){var R=N,k=v.get(I);k?N=k:(N=u(I,i,E,(null===(t=r.getCompilerHost)||void 0===t?void 0:t.call(r))||r,s),v.set(I,N)),g.set(I,N),j(I,N,_,d),R&&q(R,_,d),m&&o&&!O(R,N)&&(o.push(_),m=!1)}e.Debug.assert(void 0!==N&&!N.isInvalidated),A.set(I,!0),b.push(d(N))}return g.forEach((function(n,t){A.has(t)||e.contains(f,t)||(q(n,_,d),g.delete(t))})),b;function O(e,n){if(e===n)return!0;if(!e||!n)return!1;var t=d(e),r=d(n);return t===r||!(!t||!r)&&t.resolvedFileName===r.resolvedFileName}}function G(n){return e.endsWith(n,"/node_modules/@types")}function B(n,t){if(O(C,t)){n=e.isRootedDiskPath(n)?e.normalizePath(n):e.getNormalizedAbsolutePath(n,g());var r=t.split(e.directorySeparator),a=n.split(e.directorySeparator);return e.Debug.assert(a.length===r.length,"FailedLookup: "+n+" failedLookupLocationPath: "+t),r.length>I+1?{dir:a.slice(0,I+1).join(e.directorySeparator),dirPath:r.slice(0,I+1).join(e.directorySeparator)}:{dir:D,dirPath:C,nonRecursive:!1}}return U(e.getDirectoryPath(e.getNormalizedAbsolutePath(n,g())),e.getDirectoryPath(t))}function U(n,r){for(;e.pathContainsNodeModules(r);)n=e.getDirectoryPath(n),r=e.getDirectoryPath(r);if(e.isNodeModulesDirectory(r))return t(e.getDirectoryPath(r))?{dir:n,dirPath:r}:void 0;var a,i,o=!0;if(void 0!==C)for(;!O(r,C);){var s=e.getDirectoryPath(r);if(s===r)break;o=!1,a=r,i=n,r=s,n=e.getDirectoryPath(n)}return t(r)?{dir:i||n,dirPath:a||r,nonRecursive:o}:void 0}function V(n){return e.fileExtensionIsOneOf(n,L)}function j(n,t,a,i){if(t.refCount)t.refCount++,e.Debug.assertDefined(t.files);else{t.refCount=1,e.Debug.assert(0===e.length(t.files)),e.isExternalModuleNameRelative(n)?K(t):l.add(n,t);var o=i(t);o&&o.resolvedFileName&&d.add(r.toPath(o.resolvedFileName),t)}(t.files||(t.files=[])).push(a)}function K(n){e.Debug.assert(!!n.refCount);var t=n.failedLookupLocations;if(t.length){u.push(n);for(var a=!1,i=0,o=t;i<o.length;i++){var s=o[i],c=r.toPath(s),l=B(s,c);if(l){var d=l.dir,p=l.dirPath,f=l.nonRecursive;if(!V(c)){var m=x.get(c)||0;x.set(c,m+1)}p===C?(e.Debug.assert(!f),a=!0):W(d,p,f)}}a&&W(D,C,!0)}}function H(e,n){var t=r.getCurrentProgram();t&&t.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(n)||e.forEach(K)}function W(n,t,r){var a=A.get(t);a?(e.Debug.assert(!!r==!!a.nonRecursive),a.refCount++):A.set(t,{watcher:J(n,t,r),refCount:1,nonRecursive:r})}function q(n,t,a){if(e.unorderedRemoveItem(e.Debug.assertDefined(n.files),t),n.refCount--,!n.refCount){var i=a(n);if(i&&i.resolvedFileName&&d.remove(r.toPath(i.resolvedFileName),n),e.unorderedRemoveItem(u,n)){for(var o=!1,s=0,c=n.failedLookupLocations;s<c.length;s++){var l=c[s],p=r.toPath(l),f=B(l,p);if(f){var m=f.dirPath,_=x.get(p);_&&(1===_?x.delete(p):(e.Debug.assert(_>1),x.set(p,_-1))),m===C?o=!0:z(m)}}o&&z(C)}}}function z(e){A.get(e).refCount--}function J(e,n,t){return r.watchDirectoryOfFailedLookupLocation(e,(function(e){var t=r.toPath(e);y&&y.addOrDeleteFileOrDirectory(e,t),Z(t,n===t)}),t?0:1)}function X(e,n,t){var r=e.get(n);r&&(r.forEach((function(e){return q(e,n,t)})),e.delete(n))}function Y(e){X(h,e,R),X(T,e,k)}function Q(n,t){if(!n)return!1;for(var r=!1,a=0,i=n;a<i.length;a++){var o=i[a];if(!o.isInvalidated&&t(o)){o.isInvalidated=r=!0;for(var c=0,l=e.Debug.assertDefined(o.files);c<l.length;c++){var u=l[c];(s||(s=new e.Set)).add(u),p=p||e.endsWith(u,e.inferredTypesContainingFile)}}}return r}function Z(t,a){if(a)_.push(t);else{var i=n(t);if(!i)return!1;if(t=i,r.fileIsOpen(t))return!1;var o=e.getDirectoryPath(t);if(G(t)||e.isNodeModulesDirectory(t)||G(o)||e.isNodeModulesDirectory(o))f.push(t),m.push(t);else{if(!V(t)&&!x.has(t))return!1;if(e.isEmittedFileOfProgram(r.getCurrentProgram(),t))return!1;f.push(t)}}r.scheduleInvalidateResolutionsOfFailedLookupLocations()}function $(){if(!f.length&&!m.length&&!_.length)return!1;var e=Q(u,ee);return f.length=0,m.length=0,_.length=0,e}function ee(n){return n.failedLookupLocations.some((function(n){var t=r.toPath(n);return e.contains(f,t)||m.some((function(n){return e.startsWith(t,n)}))||_.some((function(e){return O(e,t)}))}))}function ne(){e.clearMap(N,e.closeFileWatcher)}function te(e,n){return r.watchTypeRootsDirectory(n,(function(t){var a=r.toPath(t);y&&y.addOrDeleteFileOrDirectory(t,a),p=!0,r.onChangedAutomaticTypeDirectiveNames();var i=function(e,n){if(O(C,n))return C;var t=U(e,n);return t&&A.has(t.dirPath)?t.dirPath:void 0}(n,e);i&&Z(a,i===a)}),1)}function re(n){var a=e.getDirectoryPath(e.getDirectoryPath(n)),i=r.toPath(a);return i===C||t(i)}}}(p||(p={})),function(e){!function(n){var t,r;function a(n,t,r){var a=n.importModuleSpecifierPreference,i=n.importModuleSpecifierEnding;return{relativePreference:"relative"===a?0:"non-relative"===a?1:2,ending:function(){switch(i){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(n){var t=n.imports;return e.firstDefined(t,(function(n){var t=n.text;return e.pathIsRelative(t)?e.hasJSFileExtension(t):void 0}))||!1}(r)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function i(n,t,r,a,i){var o=s(t,a),l=f(t,r,a);return e.firstDefined(l,(function(e){return _(e,o,a,n)}))||c(r,o,n,i)}function s(n,t){return{getCanonicalFileName:e.createGetCanonicalFileName(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),sourceDirectory:e.getDirectoryPath(n)}}function c(n,t,r,a){var i=t.getCanonicalFileName,o=t.sourceDirectory,s=a.ending,c=a.relativePreference,u=r.baseUrl,d=r.paths,p=r.rootDirs,f=p&&function(n,t,r,a,i,o){var s=g(t,n,a);if(void 0===s)return;var c=g(r,n,a),l=void 0!==c?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,a)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?y(l,i,o):e.removeFileExtension(l)}(p,n,o,i,s,r)||y(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,n,i)),s,r);if(!u||0===c)return f;var _=h(n,u,i);if(!_)return f;var b=y(_,s,r),E=d&&m(e.removeFileExtension(_),b,d),T=void 0===E?b:E;return 1===c?T:(2!==c&&e.Debug.assertNever(c),v(T)||l(f)<l(T)?f:T)}function l(n){for(var t=0,r=e.startsWith(n,"./")?2:0;r<n.length;r++)47===n.charCodeAt(r)&&t++;return t}function u(e){var n=e.match(/\//g);return n?n.length:0}function d(n,t){return e.compareValues(u(n),u(t))}function p(n,t,r,a,i){var s=e.hostGetCanonicalFileName(r),c=r.getCurrentDirectory(),l=r.isSourceOfProjectReferenceRedirect(t)?r.getProjectReferenceRedirect(t):void 0,u=r.redirectTargetsMap.get(e.toPath(t,c,s))||e.emptyArray,d=o(l?[l]:e.emptyArray,[t],u).map((function(n){return e.getNormalizedAbsolutePath(n,c)}));if(!a){var p=e.forEach(d,i);if(p)return p}var f=(r.getSymlinkCache?r.getSymlinkCache():e.discoverProbableSymlinks(r.getSourceFiles(),s,c)).getSymlinkedDirectories(),m=!r.useCaseSensitiveFileNames||r.useCaseSensitiveFileNames()?e.compareStringsCaseSensitive:e.compareStringsCaseInsensitive;return f&&e.forEachEntry(f,(function(t,a){if(!1!==t&&!e.startsWithDirectory(n,t.realPath,s)){var o=e.find(d,(function(e){return 0===m(e.slice(0,t.real.length),t.real)}));if(void 0!==o){var c=e.getRelativePathFromDirectory(t.real,o,s),l=e.resolvePath(a,c);if(!r.fileExists||r.fileExists(l)){var u=i(l);if(u)return u}}}}))||(a?e.forEach(d,i):void 0)}function f(n,t,r){var a=r.getCurrentDirectory(),i=e.hostGetCanonicalFileName(r),o=new e.Map,s=!1;p(n,t,r,!0,(function(n){o.set(n,i(n)),s=s||e.pathContainsNodeModules(n)}));for(var c,l=[],u=function(n){var t,r=e.ensureTrailingDirectorySeparator(n);o.forEach((function(n,a){e.startsWith(n,r)&&(s&&!e.pathContainsNodeModules(a)||(t||(t=[])).push(a),o.delete(a))})),t&&(t.length>1&&t.sort(d),l.push.apply(l,t));var a=e.getDirectoryPath(n);if(a===n)return c=n,"break";c=n=a},f=e.getDirectoryPath(e.toPath(n,a,i));0!==o.size;){var m=u(f);if(f=c,"break"===m)break}if(o.size){var _=e.arrayFrom(o.values());_.length>1&&_.sort(d),l.push.apply(l,_)}return l}function m(n,t,r){for(var a in r)for(var i=0,o=r[a];i<o.length;i++){var s=o[i],c=e.removeFileExtension(e.normalizePath(s)),l=c.indexOf("*");if(-1!==l){var u=c.substr(0,l),d=c.substr(l+1);if(t.length>=u.length+d.length&&e.startsWith(t,u)&&e.endsWith(t,d)||!d&&t===e.removeTrailingDirectorySeparator(u)){var p=t.substr(u.length,t.length-d.length);return a.replace("*",p)}}else if(c===t||c===n)return a}}function _(n,t,r,a,i){var o=t.getCanonicalFileName,s=t.sourceDirectory;if(r.fileExists&&r.readFile){var c=function(n){var t,r,a=0,i=0,o=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(r||(r={}));var s=0,c=0,l=0;for(;c>=0;)switch(s=c,c=n.indexOf("/",s+1),l){case 0:n.indexOf(e.nodeModulesPathPart,s)===s&&(a=s,i=c,l=1);break;case 1:case 2:1===l&&"@"===n.charAt(s+1)?l=2:(o=c,l=3);break;case 3:l=n.indexOf(e.nodeModulesPathPart,s)===s?1:3}return t=s,l>1?{topLevelNodeModulesIndex:a,topLevelPackageNameIndex:i,packageRootIndex:o,fileNameIndex:t}:void 0}(n);if(c){var l=n;if(!i)for(var u=c.packageRootIndex,d=void 0;;){var p=E(u),f=p.moduleFileToTry,_=p.packageRootPath;if(_){l=_;break}if(d||(d=f),-1===(u=n.indexOf(e.directorySeparator,u+1))){l=T(d);break}}var g=r.getGlobalTypingsCacheLocation&&r.getGlobalTypingsCacheLocation(),h=o(l.substring(0,c.topLevelNodeModulesIndex));if(e.startsWith(s,h)||g&&e.startsWith(o(g),h)){var v=l.substring(c.topLevelPackageNameIndex+1),b=e.getPackageNameFromTypesPackageName(v);return e.getEmitModuleResolutionKind(a)!==e.ModuleResolutionKind.NodeJs&&b===v?void 0:b}}}function E(t){var i=n.substring(0,t),s=e.combinePaths(i,"package.json"),c=n;if(r.fileExists(s)){var l=JSON.parse(r.readFile(s)),u=l.typesVersions?e.getPackageJsonTypesVersionsPaths(l.typesVersions):void 0;if(u){var d=n.slice(i.length+1),p=m(e.removeFileExtension(d),y(d,0,a),u.paths);void 0!==p&&(c=e.combinePaths(i,p))}var f=l.typings||l.types||l.main;if(e.isString(f)){var _=e.toPath(f,i,o);if(e.removeFileExtension(_)===e.removeFileExtension(o(c)))return{packageRootPath:i,moduleFileToTry:c}}}return{moduleFileToTry:c}}function T(n){var t=e.removeFileExtension(n);return"/index"!==o(t.substring(c.fileNameIndex))||function(n,t){if(!n.fileExists)return;for(var r=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),a=0,i=r;a<i.length;a++){var o=i[a],s=t+o;if(n.fileExists(s))return s}}(r,t.substring(0,c.fileNameIndex))?t:t.substring(0,c.fileNameIndex)}}function g(n,t,r){return e.firstDefined(t,(function(e){var t=h(n,e,r);return v(t)?void 0:t}))}function y(n,t,r){if(e.fileExtensionIs(n,".json"))return n;var a=e.removeFileExtension(n);switch(t){case 0:return e.removeSuffix(a,"/index");case 1:return a;case 2:return a+function(n,t){var r=e.extensionFromPath(n);switch(r){case".ts":case".d.ts":return".js";case".tsx":return 1===t.jsx?".jsx":".js";case".js":case".jsx":case".json":return r;case".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported:: FileName:: "+n);default:return e.Debug.assertNever(r)}}(n,r);default:return e.Debug.assertNever(t)}}function h(n,t,r){var a=e.getRelativePathToDirectoryOrUrl(t,n,t,r,!1);return e.isRootedDiskPath(a)?void 0:a}function v(n){return e.startsWith(n,"..")}!function(e){e[e.Relative=0]="Relative",e[e.NonRelative=1]="NonRelative",e[e.Auto=2]="Auto"}(t||(t={})),function(e){e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension"}(r||(r={})),n.updateModuleSpecifier=function(n,t,r,a,o){var s=i(n,t,r,a,function(n,t){return{relativePreference:e.isExternalModuleNameRelative(t)?0:1,ending:e.hasJSFileExtension(t)?2:e.getEmitModuleResolutionKind(n)!==e.ModuleResolutionKind.NodeJs||e.endsWith(t,"index")?1:0}}(n,o));if(s!==o)return s},n.getModuleSpecifier=function(e,n,t,r,o,s){return void 0===s&&(s={}),i(e,t,r,o,a(s,e,n))},n.getNodeModulesPackageName=function(n,t,r,a){var i=s(t,a),o=f(t,r,a);return e.firstDefined(o,(function(e){return _(e,i,a,n,!0)}))},n.getModuleSpecifiers=function(n,t,r,i,o){var l=function(n){var t=e.find(n.declarations,(function(n){return e.isNonGlobalAmbientModule(n)&&(!e.isExternalModuleAugmentation(n)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(n.name)))}));if(t)return t.name.text}(n);if(l)return[l];var u=s(r.path,i),d=e.getSourceFileOfNode(n.valueDeclaration||e.getNonAugmentationDeclaration(n)),p=f(r.path,d.originalFileName,i),m=a(o,t,r),g=e.mapDefined(p,(function(e){return _(e,u,i,t)}));return g.length?g:p.map((function(e){return c(e,u,t,m)}))},n.countPathComponents=l,n.forEachFileNameOfModule=p}(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(p||(p={})),function(e){var n=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function t(t,r){var a=t===e.sys?n:{getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.newLine},getCanonicalFileName:e.createGetCanonicalFileName(t.useCaseSensitiveFileNames)};if(!r)return function(n){return t.write(e.formatDiagnostic(n,a))};var i=new Array(1);return function(n){i[0]=n,t.write(e.formatDiagnosticsWithColorAndContext(i,a)+a.getNewLine()),i[0]=void 0}}function r(n,t,r){return!(!n.clearScreen||r.preserveWatchOutput||r.extendedDiagnostics||r.diagnostics||!e.contains(e.screenStartingMessageCodes,t.code))&&(n.clearScreen(),!0)}function a(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function i(n,t){return t?function(t,i,o){r(n,t,o);var s="["+e.formatColorAndReset(a(n),e.ForegroundColorEscapeSequences.Grey)+"] ";s+=""+e.flattenDiagnosticMessageText(t.messageText,n.newLine)+(i+i),n.write(s)}:function(t,i,o){var s="";r(n,t,o)||(s+=i),s+=a(n)+" - ",s+=""+e.flattenDiagnosticMessageText(t.messageText,n.newLine)+function(n,t){return e.contains(e.screenStartingMessageCodes,n.code)?t+t:t}(t,i),n.write(s)}}function s(n){return e.countWhere(n,(function(n){return n.category===e.DiagnosticCategory.Error}))}function c(n){return 1===n?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}function l(n,t){if(0===n)return"";var r=e.createCompilerDiagnostic(1===n?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,n);return""+t+e.flattenDiagnosticMessageText(r.messageText,t)+t+t}function u(n,t){(n.getCompilerOptions().listFiles||n.getCompilerOptions().listFilesOnly)&&e.forEach(n.getSourceFiles(),(function(e){t(e.fileName)}))}function d(n,t,r,a,i,o,c,l){var d=!!n.getCompilerOptions().listFilesOnly,p=n.getConfigFileParsingDiagnostics().slice(),f=p.length;e.addRange(p,n.getSyntacticDiagnostics(void 0,o)),p.length===f&&(e.addRange(p,n.getOptionsDiagnostics(o)),d||(e.addRange(p,n.getGlobalDiagnostics(o)),p.length===f&&e.addRange(p,n.getSemanticDiagnostics(void 0,o))));var m=d?{emitSkipped:!0,diagnostics:e.emptyArray}:n.emit(void 0,i,o,c,l),_=m.emittedFiles,g=m.diagnostics;e.addRange(p,g);var y=e.sortAndDeduplicateDiagnostics(p);if(y.forEach(t),r){var h=n.getCurrentDirectory();e.forEach(_,(function(n){var t=e.getNormalizedAbsolutePath(n,h);r("TSFILE: "+t)})),u(n,r)}return a&&a(s(y)),{emitResult:m,diagnostics:y}}function p(n,t,r,a,i,o,s,c){var l=d(n,t,r,a,i,o,s,c),u=l.emitResult,p=l.diagnostics;return u.emitSkipped&&p.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:p.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function f(n,t){return void 0===n&&(n=e.sys),{onWatchStatusChange:t||i(n),watchFile:e.maybeBind(n,n.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(n,n.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(n,n.setTimeout)||e.noop,clearTimeout:e.maybeBind(n,n.clearTimeout)||e.noop}}function m(n,t){var r=e.memoize((function(){return e.getDirectoryPath(e.normalizePath(n.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames},getNewLine:function(){return n.newLine},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),getDefaultLibLocation:r,getDefaultLibFileName:function(n){return e.combinePaths(r(),e.getDefaultLibFileName(n))},fileExists:function(e){return n.fileExists(e)},readFile:function(e,t){return n.readFile(e,t)},directoryExists:function(e){return n.directoryExists(e)},getDirectories:function(e){return n.getDirectories(e)},readDirectory:function(e,t,r,a,i){return n.readDirectory(e,t,r,a,i)},realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable),trace:function(e){return n.write(e+n.newLine)},createDirectory:function(e){return n.createDirectory(e)},writeFile:function(e,t,r){return n.writeFile(e,t,r)},createHash:e.maybeBind(n,n.createHash),createProgram:t||e.createEmitAndSemanticDiagnosticsBuilderProgram}}function _(n,t,r,a){void 0===n&&(n=e.sys);var i=function(e){return n.write(e+n.newLine)},o=m(n,t);return e.copyProperties(o,f(n,a)),o.afterProgramCreate=function(t){var a=t.getCompilerOptions(),s=e.getNewLineCharacter(a,(function(){return n.newLine}));d(t,r,i,(function(n){return o.onWatchStatusChange(e.createCompilerDiagnostic(c(n),n),s,a,n)}))},o}function g(n,t,r){t(r),n.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createDiagnosticReporter=t,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.getLocaleTimeString=a,e.createWatchStatusReporter=i,e.parseConfigFileWithSystem=function(n,t,r,a,i){var o=a;o.onUnRecoverableConfigFileDiagnostic=function(e){return g(a,i,e)};var s=e.getParsedCommandLineOfConfigFile(n,t,o,void 0,r);return o.onUnRecoverableConfigFileDiagnostic=void 0,s},e.getErrorCountForSummary=s,e.getWatchErrorSummaryDiagnosticMessage=c,e.getErrorSummaryText=l,e.listFiles=u,e.emitFilesAndReportErrors=d,e.emitFilesAndReportErrorsAndGetExitStatus=p,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher},e.createWatchHost=f,e.WatchType={ConfigFile:"Config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots"},e.createWatchFactory=function(n,t){var r=n.trace?t.extendedDiagnostics?e.WatchLogLevel.Verbose:t.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,a=r!==e.WatchLogLevel.None?function(e){return n.trace(e)}:e.noop,i=e.getWatchFactory(r,a);return i.writeLog=a,i},e.createCompilerHostFromProgramHost=function(n,t,r){void 0===r&&(r=n);var a=n.useCaseSensitiveFileNames(),i=e.memoize((function(){return n.getNewLine()}));return{getSourceFile:function(r,a,i){var o;try{e.performance.mark("beforeIORead"),o=n.readFile(r,t().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){i&&i(e.message),o=""}return void 0!==o?e.createSourceFile(r,o,a):void 0},getDefaultLibLocation:e.maybeBind(n,n.getDefaultLibLocation),getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:function(t,r,a,i){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(t,r,a,(function(e,t,r){return n.writeFile(e,t,r)}),(function(e){return n.createDirectory(e)}),(function(e){return n.directoryExists(e)})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){i&&i(e.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return a},getCanonicalFileName:e.createGetCanonicalFileName(a),getNewLine:function(){return e.getNewLineCharacter(t(),i)},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:e.maybeBind(n,n.trace),directoryExists:e.maybeBind(r,r.directoryExists),getDirectories:e.maybeBind(r,r.getDirectories),realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(n,n.createHash),readDirectory:e.maybeBind(n,n.readDirectory)}},e.setGetSourceFileAsHashVersioned=function(n,t){var r=n.getSourceFile,a=t.createHash||e.generateDjb2Hash;n.getSourceFile=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var s=r.call.apply(r,o([n],e));return s&&(s.version=a.call(t,s.text)),s}},e.createProgramHost=m,e.createWatchCompilerHostOfConfigFile=function(e){var n=e.configFileName,r=e.optionsToExtend,a=e.watchOptionsToExtend,i=e.extraFileExtensions,o=e.system,s=e.createProgram,c=e.reportDiagnostic,l=e.reportWatchStatus,u=c||t(o),d=_(o,s,u,l);return d.onUnRecoverableConfigFileDiagnostic=function(e){return g(o,u,e)},d.configFileName=n,d.optionsToExtend=r,d.watchOptionsToExtend=a,d.extraFileExtensions=i,d},e.createWatchCompilerHostOfFilesAndCompilerOptions=function(e){var n=e.rootFiles,r=e.options,a=e.watchOptions,i=e.projectReferences,o=e.system,s=e.createProgram,c=e.reportDiagnostic,l=e.reportWatchStatus,u=_(o,s,c||t(o),l);return u.rootFiles=n,u.options=r,u.watchOptions=a,u.projectReferences=i,u},e.performIncrementalCompilation=function(n){var r=n.system||e.sys,a=n.host||(n.host=e.createIncrementalCompilerHost(n.options,r)),i=e.createIncrementalProgram(n),o=p(i,n.reportDiagnostic||t(r),(function(e){return a.trace&&a.trace(e)}),n.reportErrorSummary||n.options.pretty?function(e){return r.write(l(e,r.newLine))}:void 0);return n.afterProgramEmitAndDiagnostics&&n.afterProgramEmitAndDiagnostics(i),o}}(p||(p={})),function(e){function n(n,t){if(!e.outFile(n)){var r=e.getTsBuildInfoEmitOutputFilePath(n);if(r){var a=t.readFile(r);if(a){var i=e.getBuildInfo(a);if(i.version===e.version&&i.program)return e.createBuildProgramUsingProgramBuildInfo(i.program,r,t)}}}}function t(n,t){void 0===t&&(t=e.sys);var r=e.createCompilerHostWorker(n,void 0,t);return r.createHash=e.maybeBind(t,t.createHash),e.setGetSourceFileAsHashVersioned(r,t),e.changeCompilerHostLikeToUseCache(r,(function(n){return e.toPath(n,r.getCurrentDirectory(),r.getCanonicalFileName)})),r}e.readBuilderProgram=n,e.createIncrementalCompilerHost=t,e.createIncrementalProgram=function(r){var a=r.rootNames,i=r.options,o=r.configFileParsingDiagnostics,s=r.projectReferences,c=r.host,l=r.createProgram;return c=c||t(i),(l=l||e.createEmitAndSemanticDiagnosticsBuilderProgram)(a,i,c,n(i,c),o,s)},e.createWatchCompilerHost=function(n,t,r,a,i,o,s,c){return e.isArray(n)?e.createWatchCompilerHostOfFilesAndCompilerOptions({rootFiles:n,options:t,watchOptions:c,projectReferences:s,system:r,createProgram:a,reportDiagnostic:i,reportWatchStatus:o}):e.createWatchCompilerHostOfConfigFile({configFileName:n,optionsToExtend:t,watchOptionsToExtend:s,extraFileExtensions:c,system:r,createProgram:a,reportDiagnostic:i,reportWatchStatus:o})},e.createWatchProgram=function(t){var r,a,i,s,c,l,u,d,p,f=new e.Map,m=!1,_=t.useCaseSensitiveFileNames(),g=t.getCurrentDirectory(),y=t.configFileName,h=t.optionsToExtend,v=void 0===h?{}:h,b=t.watchOptionsToExtend,E=t.extraFileExtensions,T=t.createProgram,S=t.rootFiles,L=t.options,x=t.watchOptions,A=t.projectReferences,D=!1,C=!1,I=void 0===y?void 0:e.createCachedDirectoryStructureHost(t,g,_),N=I||t,R=e.parseConfigHostFromCompilerHostLike(t,N),k=J();y&&t.configFileParsingResult&&(le(t.configFileParsingResult),k=J()),ne(e.Diagnostics.Starting_compilation_in_watch_mode),y&&!t.configFileParsingResult&&(k=e.getNewLineCharacter(v,(function(){return t.getNewLine()})),e.Debug.assert(!S),ce(),k=J());var O,P=e.createWatchFactory(t,L),M=P.watchFile,w=P.watchFilePath,F=P.watchDirectory,G=P.writeLog,B=e.createGetCanonicalFileName(_);G("Current directory: "+g+" CaseSensitiveFileNames: "+_),y&&(O=M(t,y,(function(){e.Debug.assert(!!y),a=e.ConfigFileProgramReloadLevel.Full,ie()}),e.PollingInterval.High,x,e.WatchType.ConfigFile));var U=e.createCompilerHostFromProgramHost(t,(function(){return L}),N);e.setGetSourceFileAsHashVersioned(U,t);var V=U.getSourceFile;U.getSourceFile=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return Z.apply(void 0,o([e,X(e)],n))},U.getSourceFileByPath=Z,U.getNewLine=function(){return k},U.fileExists=Q,U.onReleaseOldSourceFile=function(e,n,t){var r=f.get(e.resolvedPath);void 0!==r&&(Y(r)?(u||(u=[])).push(e.path):r.sourceFile===e&&(r.fileWatcher&&r.fileWatcher.close(),f.delete(e.resolvedPath),t||j.removeResolutionsOfFile(e.path)))},U.toPath=X,U.getCompilationSettings=function(){return L},U.useSourceOfProjectReferenceRedirect=e.maybeBind(t,t.useSourceOfProjectReferenceRedirect),U.watchDirectoryOfFailedLookupLocation=function(n,r,a){return F(t,n,r,a,x,e.WatchType.FailedLookupLocations)},U.watchTypeRootsDirectory=function(n,r,a){return F(t,n,r,a,x,e.WatchType.TypeRoots)},U.getCachedDirectoryStructureHost=function(){return I},U.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!t.setTimeout||!t.clearTimeout)return j.invalidateResolutionsOfFailedLookupLocations();var e=re();G("Scheduling invalidateFailedLookup"+(e?", Cancelled earlier one":"")),l=t.setTimeout(ae,250)},U.onInvalidatedResolution=ie,U.onChangedAutomaticTypeDirectiveNames=ie,U.fileIsOpen=e.returnFalse,U.getCurrentProgram=q,U.writeLog=G;var j=e.createResolutionCache(U,y?e.getDirectoryPath(e.getNormalizedAbsolutePath(y,g)):g,!1);U.resolveModuleNames=t.resolveModuleNames?function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolveModuleNames.apply(t,e)}:function(e,n,t,r){return j.resolveModuleNames(e,n,t,r)},U.resolveTypeReferenceDirectives=t.resolveTypeReferenceDirectives?function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolveTypeReferenceDirectives.apply(t,e)}:function(e,n,t){return j.resolveTypeReferenceDirectives(e,n,t)};var K=!!t.resolveModuleNames||!!t.resolveTypeReferenceDirectives;return r=n(L,U),z(),me(),y?{getCurrentProgram:W,getProgram:se,close:H}:{getCurrentProgram:W,getProgram:se,updateRootFileNames:function(n){e.Debug.assert(!y,"Cannot update root file names with config file watch mode"),S=n,ie()},close:H};function H(){re(),j.clear(),e.clearMap(f,(function(e){e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),O&&(O.close(),O=void 0),s&&(e.clearMap(s,e.closeFileWatcherOf),s=void 0),i&&(e.clearMap(i,e.closeFileWatcher),i=void 0)}function W(){return r}function q(){return r&&r.getProgramOrUndefined()}function z(){G("Synchronizing program"),re();var n=W();m&&(k=J(),n&&e.changesAffectModuleResolution(n.getCompilerOptions(),L)&&j.clear());var a=j.createHasInvalidatedResolution(K);return e.isProgramUptoDate(q(),S,L,ee,Q,a,te,A)?C&&(r=T(void 0,void 0,U,r,p,A),C=!1):function(n){G("CreatingProgramWith::"),G(" roots: "+JSON.stringify(S)),G(" options: "+JSON.stringify(L));var t=m||!q();m=!1,C=!1,j.startCachingPerDirectoryResolution(),U.hasInvalidatedResolution=n,U.hasChangedAutomaticTypeDirectiveNames=te,r=T(S,L,U,r,p,A),j.finishCachingPerDirectoryResolution(),e.updateMissingFilePathsWatch(r.getProgram(),i||(i=new e.Map),pe),t&&j.updateTypeRootsWatch();if(u){for(var a=0,o=u;a<o.length;a++){var s=o[a];i.has(s)||f.delete(s)}u=void 0}}(a),t.afterProgramCreate&&n!==r&&t.afterProgramCreate(r),r}function J(){return e.getNewLineCharacter(L||v,(function(){return t.getNewLine()}))}function X(n){return e.toPath(n,g,B)}function Y(e){return"boolean"==typeof e}function Q(e){var n=X(e);return!Y(f.get(n))&&N.fileExists(e)}function Z(n,r,a,i,o){var s=f.get(r);if(!Y(s)){if(void 0===s||o||function(e){return"boolean"==typeof e.version}(s)){var c=V(n,a,i);if(s)c?(s.sourceFile=c,s.version=c.version,s.fileWatcher||(s.fileWatcher=w(t,n,ue,e.PollingInterval.Low,x,r,e.WatchType.SourceFile))):(s.fileWatcher&&s.fileWatcher.close(),f.set(r,!1));else if(c){var l=w(t,n,ue,e.PollingInterval.Low,x,r,e.WatchType.SourceFile);f.set(r,{sourceFile:c,version:c.version,fileWatcher:l})}else f.set(r,!1);return c}return s.sourceFile}}function $(e){var n=f.get(e);void 0!==n&&(Y(n)?f.set(e,{version:!1}):n.version=!1)}function ee(e){var n=f.get(e);return n&&n.version?n.version:void 0}function ne(n){t.onWatchStatusChange&&t.onWatchStatusChange(e.createCompilerDiagnostic(n),k,L||v)}function te(){return j.hasChangedAutomaticTypeDirectiveNames()}function re(){return!!l&&(t.clearTimeout(l),l=void 0,!0)}function ae(){l=void 0,j.invalidateResolutionsOfFailedLookupLocations()&&ie()}function ie(){t.setTimeout&&t.clearTimeout&&(c&&t.clearTimeout(c),G("Scheduling update"),c=t.setTimeout(oe,250))}function oe(){c=void 0,ne(e.Diagnostics.File_change_detected_Starting_incremental_compilation),se()}function se(){switch(a){case e.ConfigFileProgramReloadLevel.Partial:e.perfLogger.logStartUpdateProgram("PartialConfigReload"),function(){G("Reloading new file names and options");var n=e.getFileNamesFromConfigSpecs(d,e.getNormalizedAbsolutePath(e.getDirectoryPath(y),g),L,R);e.updateErrorForNoInputFiles(n,e.getNormalizedAbsolutePath(y,g),d,p,D)&&(C=!0);S=n.fileNames,z()}();break;case e.ConfigFileProgramReloadLevel.Full:e.perfLogger.logStartUpdateProgram("FullConfigReload"),function(){G("Reloading config file: "+y),a=e.ConfigFileProgramReloadLevel.None,I&&I.clearCache();ce(),m=!0,z(),me()}();break;default:e.perfLogger.logStartUpdateProgram("SynchronizeProgram"),z()}return e.perfLogger.logStopUpdateProgram("Done"),W()}function ce(){le(e.getParsedCommandLineOfConfigFile(y,v,R,void 0,b,E))}function le(n){S=n.fileNames,L=n.options,x=n.watchOptions,d=n.configFileSpecs,A=n.projectReferences,p=e.getConfigFileParsingDiagnostics(n).slice(),D=e.canJsonReportNoInputFiles(n.raw),C=!0}function ue(n,t,r){de(n,r,t),t===e.FileWatcherEventKind.Deleted&&f.has(r)&&j.invalidateResolutionOfFile(r),j.removeResolutionsFromProjectReferenceRedirects(r),$(r),ie()}function de(e,n,t){I&&I.addOrDeleteFile(e,n,t)}function pe(n){return w(t,n,fe,e.PollingInterval.Medium,x,n,e.WatchType.MissingFile)}function fe(n,t,r){de(n,r,t),t===e.FileWatcherEventKind.Created&&i.has(r)&&(i.get(r).close(),i.delete(r),$(r),ie())}function me(){d?e.updateWatchingWildcardDirectories(s||(s=new e.Map),new e.Map(e.getEntries(d.wildcardDirectories)),_e):s&&e.clearMap(s,e.closeFileWatcherOf)}function _e(n,r){return F(t,n,(function(t){e.Debug.assert(!!y);var r=X(t);I&&I.addOrDeleteFileOrDirectory(t,r),$(r),e.isIgnoredFileFromWildCardWatching({watchedDirPath:X(n),fileOrDirectory:t,fileOrDirectoryPath:r,configFileName:y,configFileSpecs:d,options:L,program:W(),currentDirectory:g,useCaseSensitiveFileNames:_,writeLog:G})||a!==e.ConfigFileProgramReloadLevel.Full&&(a=e.ConfigFileProgramReloadLevel.Partial,ie())}),r,x,e.WatchType.WildcardDirectory)}}}(p||(p={})),function(e){!function(e){e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",e[e.OutputMissing=4]="OutputMissing",e[e.OutOfDateWithSelf=5]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",e[e.UpstreamOutOfDate=7]="UpstreamOutOfDate",e[e.UpstreamBlocked=8]="UpstreamBlocked",e[e.ComputingUpstream=9]="ComputingUpstream",e[e.TsVersionOutputOfDate=10]="TsVersionOutputOfDate",e[e.ContainerOnly=11]="ContainerOnly"}(e.UpToDateStatusType||(e.UpToDateStatusType={})),e.resolveConfigFileProjectName=function(n){return e.fileExtensionIs(n,".json")?n:e.combinePaths(n,"tsconfig.json")}}(p||(p={})),function(e){var n,t,r,a=new Date(-864e13),i=new Date(864e13);function s(n,t){return function(e,n,t){var r,a=e.get(n);return a||(r=t(),e.set(n,r)),a||r}(n,t,(function(){return new e.Map}))}function c(e,n){return n>e?n:e}function l(n){return e.fileExtensionIs(n,".d.ts")}function u(e){return!!e&&!!e.buildOrder}function d(e){return u(e)?e.buildOrder:e}function p(n,t){return function(r){var a=t?"["+e.formatColorAndReset(e.getLocaleTimeString(n),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(n)+" - ";a+=""+e.flattenDiagnosticMessageText(r.messageText,n.newLine)+(n.newLine+n.newLine),n.write(a)}}function f(n,t,r,a){var i=e.createProgramHost(n,t);return i.getModifiedTime=n.getModifiedTime?function(e){return n.getModifiedTime(e)}:e.returnUndefined,i.setModifiedTime=n.setModifiedTime?function(e,t){return n.setModifiedTime(e,t)}:e.noop,i.deleteFile=n.deleteFile?function(e){return n.deleteFile(e)}:e.noop,i.reportDiagnostic=r||e.createDiagnosticReporter(n),i.reportSolutionBuilderStatus=a||p(n),i.now=e.maybeBind(n,n.now),i}function m(n,t,r,a,i){var o,s,c=t,l=t,u=c.getCurrentDirectory(),d=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),p=(o=a,s={},e.commonOptionsWithBuild.forEach((function(n){e.hasProperty(o,n.name)&&(s[n.name]=o[n.name])})),s),f=e.createCompilerHostFromProgramHost(c,(function(){return S.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(f,c),f.getParsedCommandLine=function(e){return h(S,e,g(S,e))},f.resolveModuleNames=e.maybeBind(c,c.resolveModuleNames),f.resolveTypeReferenceDirectives=e.maybeBind(c,c.resolveTypeReferenceDirectives);var m=f.resolveModuleNames?void 0:e.createModuleResolutionCache(u,d);if(!f.resolveModuleNames){var _=function(n,t,r){return e.resolveModuleName(n,t,S.projectCompilerOptions,f,m,r).resolvedModule};f.resolveModuleNames=function(n,t,r,a){return e.loadWithLocalCache(e.Debug.checkEachDefined(n),t,a,_)}}var y=e.createWatchFactory(l,a),v=y.watchFile,b=y.watchFilePath,E=y.watchDirectory,T=y.writeLog,S={host:c,hostWithWatch:l,currentDirectory:u,getCanonicalFileName:d,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(c),writeFileName:c.trace?function(e){return c.trace(e)}:void 0,options:a,baseCompilerOptions:p,rootNames:r,baseWatchOptions:i,resolvedConfigFilePaths:new e.Map,configFileCache:new e.Map,projectStatus:new e.Map,buildInfoChecked:new e.Map,extendedConfigCache:new e.Map,builderPrograms:new e.Map,diagnostics:new e.Map,projectPendingBuild:new e.Map,projectErrorsReported:new e.Map,compilerHost:f,moduleResolutionCache:m,buildOrder:void 0,readFileWithCache:function(e){return c.readFile(e)},projectCompilerOptions:p,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:n,currentInvalidatedProject:void 0,watch:n,allWatchedWildcardDirectories:new e.Map,allWatchedInputFiles:new e.Map,allWatchedConfigFiles:new e.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:v,watchFilePath:b,watchDirectory:E,writeLog:T};return S}function _(n,t){return e.toPath(t,n.currentDirectory,n.getCanonicalFileName)}function g(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);if(void 0!==r)return r;var a=_(e,n);return t.set(n,a),a}function y(e){return!!e.options}function h(n,t,r){var a,i=n.configFileCache,o=i.get(r);if(o)return y(o)?o:void 0;var s,c=n.parseConfigFileHost,l=n.baseCompilerOptions,u=n.baseWatchOptions,d=n.extendedConfigCache,p=n.host;return p.getParsedCommandLine?(s=p.getParsedCommandLine(t))||(a=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t)):(c.onUnRecoverableConfigFileDiagnostic=function(e){return a=e},s=e.getParsedCommandLineOfConfigFile(t,l,c,d,u),c.onUnRecoverableConfigFileDiagnostic=e.noop),i.set(r,s||a),s}function v(n,t){return e.resolveConfigFileProjectName(e.resolvePath(n.currentDirectory,t))}function b(n,t){for(var r,a,i=new e.Map,o=new e.Map,s=[],c=0,l=t;c<l.length;c++){u(l[c])}return a?{buildOrder:r||e.emptyArray,circularDiagnostics:a}:r||e.emptyArray;function u(t,c){var l=g(n,t);if(!o.has(l))if(i.has(l))c||(a||(a=[])).push(e.createCompilerDiagnostic(e.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,s.join("\r\n")));else{i.set(l,!0),s.push(t);var d=h(n,t,l);if(d&&d.projectReferences)for(var p=0,f=d.projectReferences;p<f.length;p++){var m=f[p];u(v(n,m.path),c||m.circular)}s.pop(),o.set(l,!0),(r||(r=[])).push(t)}}}function E(n){return n.buildOrder||function(n){var t=b(n,n.rootNames.map((function(e){return v(n,e)})));n.resolvedConfigFilePaths.clear();var r=new e.Map(d(t).map((function(e){return[g(n,e),!0]}))),a={onDeleteValue:e.noop};e.mutateMapSkippingNewValues(n.configFileCache,r,a),e.mutateMapSkippingNewValues(n.projectStatus,r,a),e.mutateMapSkippingNewValues(n.buildInfoChecked,r,a),e.mutateMapSkippingNewValues(n.builderPrograms,r,a),e.mutateMapSkippingNewValues(n.diagnostics,r,a),e.mutateMapSkippingNewValues(n.projectPendingBuild,r,a),e.mutateMapSkippingNewValues(n.projectErrorsReported,r,a),n.watch&&(e.mutateMapSkippingNewValues(n.allWatchedConfigFiles,r,{onDeleteValue:e.closeFileWatcher}),e.mutateMapSkippingNewValues(n.allWatchedWildcardDirectories,r,{onDeleteValue:function(n){return n.forEach(e.closeFileWatcherOf)}}),e.mutateMapSkippingNewValues(n.allWatchedInputFiles,r,{onDeleteValue:function(n){return n.forEach(e.closeFileWatcher)}}));return n.buildOrder=t}(n)}function T(n,t,r){var a=t&&v(n,t),i=E(n);if(u(i))return i;if(a){var o=g(n,a);if(-1===e.findIndex(i,(function(e){return g(n,e)===o})))return}var s=a?b(n,[a]):i;return e.Debug.assert(!u(s)),e.Debug.assert(!r||void 0!==a),e.Debug.assert(!r||s[s.length-1]===a),r?s.slice(0,s.length-1):s}function S(n){n.cache&&L(n);var t=n.compilerHost,r=n.host,a=n.readFileWithCache,i=t.getSourceFile,s=e.changeCompilerHostLikeToUseCache(r,(function(e){return _(n,e)}),(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return i.call.apply(i,o([t],e))})),c=s.originalReadFile,l=s.originalFileExists,u=s.originalDirectoryExists,d=s.originalCreateDirectory,p=s.originalWriteFile,f=s.getSourceFileWithCache,m=s.readFileWithCache;n.readFileWithCache=m,t.getSourceFile=f,n.cache={originalReadFile:c,originalFileExists:l,originalDirectoryExists:u,originalCreateDirectory:d,originalWriteFile:p,originalReadFileWithCache:a,originalGetSourceFile:i}}function L(e){if(e.cache){var n=e.cache,t=e.host,r=e.compilerHost,a=e.extendedConfigCache,i=e.moduleResolutionCache;t.readFile=n.originalReadFile,t.fileExists=n.originalFileExists,t.directoryExists=n.originalDirectoryExists,t.createDirectory=n.originalCreateDirectory,t.writeFile=n.originalWriteFile,r.getSourceFile=n.originalGetSourceFile,e.readFileWithCache=n.originalReadFileWithCache,a.clear(),i&&(i.directoryToModuleNameMap.clear(),i.moduleNameToDirectoryMap.clear()),e.cache=void 0}}function x(e,n){e.projectStatus.delete(n),e.diagnostics.delete(n)}function A(e,n,t){var r=e.projectPendingBuild,a=r.get(n);(void 0===a||a<t)&&r.set(n,t)}function D(n,t){n.allProjectBuildPending&&(n.allProjectBuildPending=!1,n.options.watch&&$(n,e.Diagnostics.Starting_compilation_in_watch_mode),S(n),d(E(n)).forEach((function(t){return n.projectPendingBuild.set(g(n,t),e.ConfigFileProgramReloadLevel.None)})),t&&t.throwIfCancellationRequested())}function C(n,t){return n.projectPendingBuild.delete(t),n.currentInvalidatedProject=void 0,n.diagnostics.has(t)?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function I(e,n,r,a,i){var o=!0;return{kind:t.UpdateOutputFileStamps,project:n,projectPath:r,buildOrder:i,getCompilerOptions:function(){return a.options},getCurrentDirectory:function(){return e.currentDirectory},updateOutputFileStatmps:function(){B(e,a,r),o=!1},done:function(){return o&&B(e,a,r),C(e,r)}}}function N(s,u,d,p,f,m,y){var b,E,T,S=s===t.Build?r.CreateProgram:r.EmitBundle;return s===t.Build?{kind:s,project:d,projectPath:p,buildOrder:y,getCompilerOptions:function(){return m.options},getCurrentDirectory:function(){return u.currentDirectory},getBuilderProgram:function(){return x(e.identity)},getProgram:function(){return x((function(e){return e.getProgramOrUndefined()}))},getSourceFile:function(e){return x((function(n){return n.getSourceFile(e)}))},getSourceFiles:function(){return A((function(e){return e.getSourceFiles()}))},getOptionsDiagnostics:function(e){return A((function(n){return n.getOptionsDiagnostics(e)}))},getGlobalDiagnostics:function(e){return A((function(n){return n.getGlobalDiagnostics(e)}))},getConfigFileParsingDiagnostics:function(){return A((function(e){return e.getConfigFileParsingDiagnostics()}))},getSyntacticDiagnostics:function(e,n){return A((function(t){return t.getSyntacticDiagnostics(e,n)}))},getAllDependencies:function(e){return A((function(n){return n.getAllDependencies(e)}))},getSemanticDiagnostics:function(e,n){return A((function(t){return t.getSemanticDiagnostics(e,n)}))},getSemanticDiagnosticsOfNextAffectedFile:function(e,n){return x((function(t){return t.getSemanticDiagnosticsOfNextAffectedFile&&t.getSemanticDiagnosticsOfNextAffectedFile(e,n)}))},emit:function(e,n,t,a,i){return e||a?x((function(r){return r.emit(e,n,t,a,i)})):(j(r.SemanticDiagnostics,t),S===r.EmitBuildInfo?F(n,t):S===r.Emit?w(n,t,i):void 0)},done:L}:{kind:s,project:d,projectPath:p,buildOrder:y,getCompilerOptions:function(){return m.options},getCurrentDirectory:function(){return u.currentDirectory},emit:function(e,n){return S!==r.EmitBundle?T:V(e,n)},done:L};function L(e,n,t){return j(r.Done,e,n,t),C(u,p)}function x(e){return j(r.CreateProgram),b&&e(b)}function A(n){return x(n)||e.emptyArray}function D(){if(e.Debug.assert(void 0===b),u.options.dry)return Z(u,e.Diagnostics.A_non_dry_build_would_build_project_0,d),E=n.Success,void(S=r.QueueReferencingProjects);if(u.options.verbose&&Z(u,e.Diagnostics.Building_project_0,d),0===m.fileNames.length)return ne(u,p,e.getConfigFileParsingDiagnostics(m)),E=n.None,void(S=r.QueueReferencingProjects);var t=u.host,a=u.compilerHost;u.projectCompilerOptions=m.options,function(n,t,r){if(!n.moduleResolutionCache)return;var a=n.moduleResolutionCache,i=_(n,t);if(0===a.directoryToModuleNameMap.redirectsMap.size)e.Debug.assert(0===a.moduleNameToDirectoryMap.redirectsMap.size),a.directoryToModuleNameMap.redirectsMap.set(i,a.directoryToModuleNameMap.ownMap),a.moduleNameToDirectoryMap.redirectsMap.set(i,a.moduleNameToDirectoryMap.ownMap);else{e.Debug.assert(a.moduleNameToDirectoryMap.redirectsMap.size>0);var o={sourceFile:r.options.configFile,commandLine:r};a.directoryToModuleNameMap.setOwnMap(a.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o)),a.moduleNameToDirectoryMap.setOwnMap(a.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}a.directoryToModuleNameMap.setOwnOptions(r.options),a.moduleNameToDirectoryMap.setOwnOptions(r.options)}(u,d,m),b=t.createProgram(m.fileNames,m.options,a,function(n,t,r){var a=n.options,i=n.builderPrograms,o=n.compilerHost;if(a.force)return;var s=i.get(t);return s||e.readBuilderProgram(r.options,o)}(u,p,m),e.getConfigFileParsingDiagnostics(m),m.projectReferences),u.watch&&u.builderPrograms.set(p,b),S++}function I(e,n,t){var r;e.length?(r=M(u,p,b,m,e,n,t),E=r.buildResult,S=r.step):S++}function R(t){e.Debug.assertIsDefined(b),I(o(b.getConfigFileParsingDiagnostics(),b.getOptionsDiagnostics(t),b.getGlobalDiagnostics(t),b.getSyntacticDiagnostics(void 0,t)),n.SyntaxErrors,"Syntactic")}function k(t){I(e.Debug.checkDefined(b).getSemanticDiagnostics(void 0,t),n.TypeErrors,"Semantic")}function w(t,i,o){var s,d;e.Debug.assertIsDefined(b),e.Debug.assert(S===r.Emit),b.backupState();var f=[],g=e.emitFilesAndReportErrors(b,(function(e){return(d||(d=[])).push(e)}),void 0,void 0,(function(e,n,t){return f.push({name:e,text:n,writeByteOrderMark:t})}),i,!1,o).emitResult;if(d)return b.restoreState(),s=M(u,p,b,m,d,n.DeclarationEmitErrors,"Declaration file"),E=s.buildResult,S=s.step,{emitSkipped:!0,diagnostics:g.diagnostics};var y=u.host,h=u.compilerHost,v=n.DeclarationOutputUnchanged,T=a,L=!1,x=e.createDiagnosticCollection(),A=new e.Map;return f.forEach((function(r){var a,i=r.name,o=r.text,s=r.writeByteOrderMark;!L&&l(i)&&(y.fileExists(i)&&u.readFileWithCache(i)===o?a=y.getModifiedTime(i):(v&=~n.DeclarationOutputUnchanged,L=!0)),A.set(_(u,i),i),e.writeFile(t?{writeFile:t}:h,x,i,o,s),void 0!==a&&(T=c(a,T))})),B(x,A,T,L,f.length?f[0].name:e.getFirstProjectOutput(m,!y.useCaseSensitiveFileNames()),v),g}function F(t,a){e.Debug.assertIsDefined(b),e.Debug.assert(S===r.EmitBuildInfo);var i=b.emitBuildInfo(t,a);return i.diagnostics.length&&(ee(u,i.diagnostics),u.diagnostics.set(p,o(u.diagnostics.get(p),i.diagnostics)),E=n.EmitErrors&E),i.emittedFiles&&u.writeFileName&&i.emittedFiles.forEach((function(e){return O(u,m,e)})),P(u,b,m),S=r.QueueReferencingProjects,i}function B(t,a,o,s,c,l){var d,f=t.getDiagnostics();if(f.length)return d=M(u,p,b,m,f,n.EmitErrors,"Emit"),E=d.buildResult,S=d.step,f;u.writeFileName&&a.forEach((function(e){return O(u,m,e)}));var _=G(u,m,o,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,a);return u.diagnostics.delete(p),u.projectStatus.set(p,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:s?i:_,oldestOutputFileName:c}),P(u,b,m),S=r.QueueReferencingProjects,E=l,f}function V(i,o){if(e.Debug.assert(s===t.UpdateBundle),u.options.dry)return Z(u,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,d),E=n.Success,void(S=r.QueueReferencingProjects);u.options.verbose&&Z(u,e.Diagnostics.Updating_output_of_project_0,d);var c=u.compilerHost;u.projectCompilerOptions=m.options;var l=e.emitUsingBuildInfo(m,c,(function(e){var n=v(u,e.path);return h(u,n,g(u,n))}),o);if(e.isString(l))return Z(u,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,d,Q(u,l)),S=r.BuildInvalidatedProjectOfBundle,T=N(t.Build,u,d,p,f,m,y);e.Debug.assert(!!l.length);var b=e.createDiagnosticCollection(),L=new e.Map;return l.forEach((function(n){var t=n.name,r=n.text,a=n.writeByteOrderMark;L.set(_(u,t),t),e.writeFile(i?{writeFile:i}:c,b,t,r,a)})),{emitSkipped:!1,diagnostics:B(b,L,a,!1,l[0].name,n.DeclarationOutputUnchanged)}}function j(n,t,a,i){for(;S<=n&&S<r.Done;){var o=S;switch(S){case r.CreateProgram:D();break;case r.SyntaxDiagnostics:R(t);break;case r.SemanticDiagnostics:k(t);break;case r.Emit:w(a,t,i);break;case r.EmitBuildInfo:F(a,t);break;case r.EmitBundle:V(a,i);break;case r.BuildInvalidatedProjectOfBundle:e.Debug.checkDefined(T).done(t),S=r.Done;break;case r.QueueReferencingProjects:U(u,d,p,f,m,y,e.Debug.checkDefined(E)),S++;break;case r.Done:default:e.assertType(S)}e.Debug.assert(S>o)}}}function R(n,t,r){var a=n.options;return!(t.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!a.force)||(0===r.fileNames.length||!!e.getConfigFileParsingDiagnostics(r).length||!e.isIncrementalCompilation(r.options))}function k(n,r,a){if(n.projectPendingBuild.size&&!u(r)){if(n.currentInvalidatedProject)return e.arrayIsEqualTo(n.currentInvalidatedProject.buildOrder,r)?n.currentInvalidatedProject:void 0;for(var i=n.options,o=n.projectPendingBuild,s=0;s<r.length;s++){var c=r[s],l=g(n,c),d=n.projectPendingBuild.get(l);if(void 0!==d){a&&(a=!1,ae(n,r));var p=h(n,c,l);if(p){if(d===e.ConfigFileProgramReloadLevel.Full)z(n,c,l,p),J(n,c,l,p),X(n,c,l,p);else if(d===e.ConfigFileProgramReloadLevel.Partial){var f=e.getFileNamesFromConfigSpecs(p.configFileSpecs,e.getDirectoryPath(c),p.options,n.parseConfigFileHost);e.updateErrorForNoInputFiles(f,c,p.configFileSpecs,p.errors,e.canJsonReportNoInputFiles(p.raw)),p.fileNames=f.fileNames,X(n,c,l,p)}var m=F(n,p,l);if(ie(n,c,m),!i.force){if(m.type===e.UpToDateStatusType.UpToDate){ne(n,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l),i.dry&&Z(n,e.Diagnostics.Project_0_is_up_to_date,c);continue}if(m.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes)return ne(n,l,e.getConfigFileParsingDiagnostics(p)),I(n,c,l,p,r)}if(m.type!==e.UpToDateStatusType.UpstreamBlocked){if(m.type!==e.UpToDateStatusType.ContainerOnly)return N(R(n,m,p)?t.Build:t.UpdateBundle,n,c,l,s,p,r);ne(n,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l)}else ne(n,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l),i.verbose&&Z(n,m.upstreamProjectBlocked?e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,c,m.upstreamProjectName)}else te(n,l),o.delete(l)}}}}function O(e,n,t){var r=e.writeFileName;r&&n.options.listEmittedFiles&&r("TSFILE: "+t)}function P(n,t,r){t?(t&&n.writeFileName&&e.listFiles(t,n.writeFileName),n.host.afterProgramEmitAndDiagnostics&&n.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()):n.host.afterEmitBundle&&n.host.afterEmitBundle(r),n.projectCompilerOptions=n.baseCompilerOptions}function M(t,a,i,o,s,c,l){var u=!(c&n.SyntaxErrors)&&i&&!e.outFile(i.getCompilerOptions());return ne(t,a,s),t.projectStatus.set(a,{type:e.UpToDateStatusType.Unbuildable,reason:l+" errors"}),u?{buildResult:c,step:r.EmitBuildInfo}:(P(t,i,o),{buildResult:c,step:r.QueueReferencingProjects})}function w(n,t,r,a){if(r<(n.host.getModifiedTime(t)||e.missingFileModifiedTime))return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:a,newerInputFileName:t}}function F(n,t,r){if(void 0===t)return{type:e.UpToDateStatusType.Unbuildable,reason:"File deleted mid-build"};var o=n.projectStatus.get(r);if(void 0!==o)return o;var s=function(n,t,r){for(var o=void 0,s=a,u=n.host,d=0,p=t.fileNames;d<p.length;d++){var f=p[d];if(!u.fileExists(f))return{type:e.UpToDateStatusType.Unbuildable,reason:f+" does not exist"};var m=u.getModifiedTime(f)||e.missingFileModifiedTime;m>s&&(o=f,s=m)}if(!t.fileNames.length&&!e.canJsonReportNoInputFiles(t.raw))return{type:e.UpToDateStatusType.ContainerOnly};for(var _,y=e.getAllProjectOutputs(t,!u.useCaseSensitiveFileNames()),v="(none)",b=i,E="(none)",T=a,S=a,L=!1,x=0,A=y;x<A.length;x++){var D=A[x];if(!u.fileExists(D)){_=D;break}var C=u.getModifiedTime(D)||e.missingFileModifiedTime;if(C<b&&(b=C,v=D),C<s){L=!0;break}if(C>T&&(T=C,E=D),l(D))S=c(S,u.getModifiedTime(D)||e.missingFileModifiedTime)}var I,N=!1,R=!1;if(t.projectReferences){n.projectStatus.set(r,{type:e.UpToDateStatusType.ComputingUpstream});for(var k=0,O=t.projectReferences;k<O.length;k++){var P=O[k];R=R||!!P.prepend;var M=e.resolveProjectReferencePath(P),G=g(n,M),B=F(n,h(n,M,G),G);if(B.type!==e.UpToDateStatusType.ComputingUpstream&&B.type!==e.UpToDateStatusType.ContainerOnly){if(B.type===e.UpToDateStatusType.Unbuildable||B.type===e.UpToDateStatusType.UpstreamBlocked)return{type:e.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:P.path,upstreamProjectBlocked:B.type===e.UpToDateStatusType.UpstreamBlocked};if(B.type!==e.UpToDateStatusType.UpToDate)return{type:e.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:P.path};if(!_){if(B.newestInputFileTime&&B.newestInputFileTime<=b)continue;if(B.newestDeclarationFileContentChangedTime&&B.newestDeclarationFileContentChangedTime<=b){N=!0,I=P.path;continue}return e.Debug.assert(void 0!==v,"Should have an oldest output filename here"),{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:v,newerProjectName:P.path}}}}}if(void 0!==_)return{type:e.UpToDateStatusType.OutputMissing,missingOutputFileName:_};if(L)return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:v,newerInputFileName:o};var U=w(n,t.options.configFilePath,b,v);if(U)return U;var V=e.forEach(t.options.configFile.extendedSourceFiles||e.emptyArray,(function(e){return w(n,e,b,v)}));if(V)return V;if(!n.buildInfoChecked.has(r)){n.buildInfoChecked.set(r,!0);var j=e.getTsBuildInfoEmitOutputFilePath(t.options);if(j){var K=n.readFileWithCache(j),H=K&&e.getBuildInfo(K);if(H&&(H.bundle||H.program)&&H.version!==e.version)return{type:e.UpToDateStatusType.TsVersionOutputOfDate,version:H.version}}}return R&&N?{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:v,newerProjectName:I}:{type:N?e.UpToDateStatusType.UpToDateWithUpstreamTypes:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:S,newestInputFileTime:s,newestOutputFileTime:T,newestInputFileName:o,newestOutputFileName:E,oldestOutputFileName:v}}(n,t,r);return n.projectStatus.set(r,s),s}function G(n,t,r,a,i){var o=n.host,s=e.getAllProjectOutputs(t,!o.useCaseSensitiveFileNames());if(!i||s.length!==i.size)for(var u=!!n.options.verbose,d=o.now?o.now():new Date,p=0,f=s;p<f.length;p++){var m=f[p];i&&i.has(_(n,m))||(u&&(u=!1,Z(n,a,t.options.configFilePath)),l(m)&&(r=c(r,o.getModifiedTime(m)||e.missingFileModifiedTime)),o.setModifiedTime(m,d))}return r}function B(n,t,r){if(n.options.dry)return Z(n,e.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);var i=G(n,t,a,e.Diagnostics.Updating_output_timestamps_of_project_0);n.projectStatus.set(r,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:i,oldestOutputFileName:e.getFirstProjectOutput(t,!n.host.useCaseSensitiveFileNames())})}function U(t,r,a,i,o,s,c){if(!(c&n.AnyErrors)&&o.options.composite)for(var l=i+1;l<s.length;l++){var u=s[l],d=g(t,u);if(!t.projectPendingBuild.has(d)){var p=h(t,u,d);if(p&&p.projectReferences)for(var f=0,m=p.projectReferences;f<m.length;f++){var _=m[f];if(g(t,v(t,_.path))===a){var y=t.projectStatus.get(d);if(y)switch(y.type){case e.UpToDateStatusType.UpToDate:if(c&n.DeclarationOutputUnchanged){_.prepend?t.projectStatus.set(d,{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:y.oldestOutputFileName,newerProjectName:r}):y.type=e.UpToDateStatusType.UpToDateWithUpstreamTypes;break}case e.UpToDateStatusType.UpToDateWithUpstreamTypes:case e.UpToDateStatusType.OutOfDateWithPrepend:c&n.DeclarationOutputUnchanged||t.projectStatus.set(d,{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:y.type===e.UpToDateStatusType.OutOfDateWithPrepend?y.outOfDateOutputFileName:y.oldestOutputFileName,newerProjectName:r});break;case e.UpToDateStatusType.UpstreamBlocked:g(t,v(t,y.upstreamProjectName))===a&&x(t,d)}A(t,d,e.ConfigFileProgramReloadLevel.None);break}}}}}function V(n,t,r,a){var i=T(n,t,a);if(!i)return e.ExitStatus.InvalidProject_OutputsSkipped;D(n,r);for(var o=!0,s=0;;){var c=k(n,i,o);if(!c)break;o=!1,c.done(r),n.diagnostics.has(c.projectPath)||s++}return L(n),re(n,i),function(e,n){if(!e.watchAllProjectsPending)return;e.watchAllProjectsPending=!1;for(var t=0,r=d(n);t<r.length;t++){var a=r[t],i=g(e,a),o=h(e,a,i);z(e,a,i,o),o&&(J(e,a,i,o),X(e,a,i,o))}}(n,i),u(i)?e.ExitStatus.ProjectReferenceCycle_OutputsSkipped:i.some((function(e){return n.diagnostics.has(g(n,e))}))?s?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function j(n,t,r){var a=T(n,t,r);if(!a)return e.ExitStatus.InvalidProject_OutputsSkipped;if(u(a))return ee(n,a.circularDiagnostics),e.ExitStatus.ProjectReferenceCycle_OutputsSkipped;for(var i=n.options,o=n.host,s=i.dry?[]:void 0,c=0,l=a;c<l.length;c++){var d=l[c],p=g(n,d),f=h(n,d,p);if(void 0!==f)for(var m=0,_=e.getAllProjectOutputs(f,!o.useCaseSensitiveFileNames());m<_.length;m++){var y=_[m];o.fileExists(y)&&(s?s.push(y):(o.deleteFile(y),K(n,p,e.ConfigFileProgramReloadLevel.None)))}else te(n,p)}return s&&Z(n,e.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,s.map((function(e){return"\r\n * "+e})).join("")),e.ExitStatus.Success}function K(n,t,r){n.host.getParsedCommandLine&&r===e.ConfigFileProgramReloadLevel.Partial&&(r=e.ConfigFileProgramReloadLevel.Full),r===e.ConfigFileProgramReloadLevel.Full&&(n.configFileCache.delete(t),n.buildOrder=void 0),n.needsSummary=!0,x(n,t),A(n,t,r),S(n)}function H(e,n,t){e.reportFileChangeDetected=!0,K(e,n,t),W(e)}function W(e){var n=e.hostWithWatch;n.setTimeout&&n.clearTimeout&&(e.timerToBuildInvalidatedProject&&n.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=n.setTimeout(q,250,e))}function q(n){n.timerToBuildInvalidatedProject=void 0,n.reportFileChangeDetected&&(n.reportFileChangeDetected=!1,n.projectErrorsReported.clear(),$(n,e.Diagnostics.File_change_detected_Starting_incremental_compilation));var t=E(n),r=k(n,t,!1);r&&(r.done(),n.projectPendingBuild.size)?n.watch&&!n.timerToBuildInvalidatedProject&&W(n):(L(n),re(n,t))}function z(n,t,r,a){n.watch&&!n.allWatchedConfigFiles.has(r)&&n.allWatchedConfigFiles.set(r,n.watchFile(n.hostWithWatch,t,(function(){H(n,r,e.ConfigFileProgramReloadLevel.Full)}),e.PollingInterval.High,null==a?void 0:a.watchOptions,e.WatchType.ConfigFile,t))}function J(n,t,r,a){n.watch&&e.updateWatchingWildcardDirectories(s(n.allWatchedWildcardDirectories,r),new e.Map(e.getEntries(a.configFileSpecs.wildcardDirectories)),(function(i,o){return n.watchDirectory(n.hostWithWatch,i,(function(o){e.isIgnoredFileFromWildCardWatching({watchedDirPath:_(n,i),fileOrDirectory:o,fileOrDirectoryPath:_(n,o),configFileName:t,configFileSpecs:a.configFileSpecs,currentDirectory:n.currentDirectory,options:a.options,program:n.builderPrograms.get(r),useCaseSensitiveFileNames:n.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(e){return n.writeLog(e)}})||H(n,r,e.ConfigFileProgramReloadLevel.Partial)}),o,null==a?void 0:a.watchOptions,e.WatchType.WildcardDirectory,t)}))}function X(n,t,r,a){n.watch&&e.mutateMap(s(n.allWatchedInputFiles,r),e.arrayToMap(a.fileNames,(function(e){return _(n,e)})),{createNewValue:function(i,o){return n.watchFilePath(n.hostWithWatch,o,(function(){return H(n,r,e.ConfigFileProgramReloadLevel.None)}),e.PollingInterval.Low,null==a?void 0:a.watchOptions,i,e.WatchType.SourceFile,t)},onDeleteValue:e.closeFileWatcher})}function Y(n,t,r,a,i){var o=m(n,t,r,a,i);return{build:function(e,n){return V(o,e,n)},clean:function(e){return j(o,e)},buildReferences:function(e,n){return V(o,e,n,!0)},cleanReferences:function(e){return j(o,e,!0)},getNextInvalidatedProject:function(e){return D(o,e),k(o,E(o),!1)},getBuildOrder:function(){return E(o)},getUpToDateStatusOfProject:function(e){var n=v(o,e),t=g(o,n);return F(o,h(o,n,t),t)},invalidateProject:function(n,t){return K(o,n,t||e.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return q(o)},getAllParsedConfigs:function(){return e.arrayFrom(e.mapDefinedIterator(o.configFileCache.values(),(function(e){return y(e)?e:void 0})))},close:function(){return function(n){e.clearMap(n.allWatchedConfigFiles,e.closeFileWatcher),e.clearMap(n.allWatchedWildcardDirectories,(function(n){return e.clearMap(n,e.closeFileWatcherOf)})),e.clearMap(n.allWatchedInputFiles,(function(n){return e.clearMap(n,e.closeFileWatcher)}))}(o)}}}function Q(n,t){return e.convertToRelativePath(t,n.currentDirectory,(function(e){return n.getCanonicalFileName(e)}))}function Z(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];n.host.reportSolutionBuilderStatus(e.createCompilerDiagnostic.apply(void 0,o([t],r)))}function $(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];n.hostWithWatch.onWatchStatusChange&&n.hostWithWatch.onWatchStatusChange(e.createCompilerDiagnostic.apply(void 0,o([t],r)),n.host.getNewLine(),n.baseCompilerOptions)}function ee(e,n){var t=e.host;n.forEach((function(e){return t.reportDiagnostic(e)}))}function ne(e,n,t){ee(e,t),e.projectErrorsReported.set(n,!0),t.length&&e.diagnostics.set(n,t)}function te(e,n){ne(e,n,[e.configFileCache.get(n)])}function re(n,t){if(n.needsSummary){n.needsSummary=!1;var r=n.watch||!!n.host.reportErrorSummary,a=n.diagnostics,i=0;u(t)?(ae(n,t.buildOrder),ee(n,t.circularDiagnostics),r&&(i+=e.getErrorCountForSummary(t.circularDiagnostics))):(t.forEach((function(t){var r=g(n,t);n.projectErrorsReported.has(r)||ee(n,a.get(r)||e.emptyArray)})),r&&a.forEach((function(n){return i+=e.getErrorCountForSummary(n)}))),n.watch?$(n,e.getWatchErrorSummaryDiagnosticMessage(i),i):n.host.reportErrorSummary&&n.host.reportErrorSummary(i)}}function ae(n,t){n.options.verbose&&Z(n,e.Diagnostics.Projects_in_this_build_Colon_0,t.map((function(e){return"\r\n * "+Q(n,e)})).join(""))}function ie(n,t,r){n.options.verbose&&function(n,t,r){switch(r.type){case e.UpToDateStatusType.OutOfDateWithSelf:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Q(n,t),Q(n,r.outOfDateOutputFileName),Q(n,r.newerInputFileName));case e.UpToDateStatusType.OutOfDateWithUpstream:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Q(n,t),Q(n,r.outOfDateOutputFileName),Q(n,r.newerProjectName));case e.UpToDateStatusType.OutputMissing:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,Q(n,t),Q(n,r.missingOutputFileName));case e.UpToDateStatusType.UpToDate:if(void 0!==r.newestInputFileTime)return Z(n,e.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,Q(n,t),Q(n,r.newestInputFileName||""),Q(n,r.oldestOutputFileName||""));break;case e.UpToDateStatusType.OutOfDateWithPrepend:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,Q(n,t),Q(n,r.newerProjectName));case e.UpToDateStatusType.UpToDateWithUpstreamTypes:return Z(n,e.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,Q(n,t));case e.UpToDateStatusType.UpstreamOutOfDate:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,Q(n,t),Q(n,r.upstreamProjectName));case e.UpToDateStatusType.UpstreamBlocked:return Z(n,r.upstreamProjectBlocked?e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,Q(n,t),Q(n,r.upstreamProjectName));case e.UpToDateStatusType.Unbuildable:return Z(n,e.Diagnostics.Failed_to_parse_file_0_Colon_1,Q(n,t),r.reason);case e.UpToDateStatusType.TsVersionOutputOfDate:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,Q(n,t),r.version,e.version);case e.UpToDateStatusType.ContainerOnly:case e.UpToDateStatusType.ComputingUpstream:break;default:e.assertType(r)}}(n,t,r)}!function(e){e[e.None=0]="None",e[e.Success=1]="Success",e[e.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",e[e.ConfigFileErrors=4]="ConfigFileErrors",e[e.SyntaxErrors=8]="SyntaxErrors",e[e.TypeErrors=16]="TypeErrors",e[e.DeclarationEmitErrors=32]="DeclarationEmitErrors",e[e.EmitErrors=64]="EmitErrors",e[e.AnyErrors=124]="AnyErrors"}(n||(n={})),e.isCircularBuildOrder=u,e.getBuildOrderFromAnyBuildOrder=d,e.createBuilderStatusReporter=p,e.createSolutionBuilderHost=function(n,t,r,a,i){void 0===n&&(n=e.sys);var o=f(n,t,r,a);return o.reportErrorSummary=i,o},e.createSolutionBuilderWithWatchHost=function(n,t,r,a,i){void 0===n&&(n=e.sys);var o=f(n,t,r,a),s=e.createWatchHost(n,i);return e.copyProperties(o,s),o},e.createSolutionBuilder=function(e,n,t){return Y(!1,e,n,t)},e.createSolutionBuilderWithWatch=function(e,n,t,r){return Y(!0,e,n,t,r)},function(e){e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps"}(t=e.InvalidatedProjectKind||(e.InvalidatedProjectKind={})),function(e){e[e.CreateProgram=0]="CreateProgram",e[e.SyntaxDiagnostics=1]="SyntaxDiagnostics",e[e.SemanticDiagnostics=2]="SemanticDiagnostics",e[e.Emit=3]="Emit",e[e.EmitBundle=4]="EmitBundle",e[e.EmitBuildInfo=5]="EmitBuildInfo",e[e.BuildInvalidatedProjectOfBundle=6]="BuildInvalidatedProjectOfBundle",e[e.QueueReferencingProjects=7]="QueueReferencingProjects",e[e.Done=8]="Done"}(r||(r={}))}(p||(p={})),function(e){!function(n){n.ActionSet="action::set",n.ActionInvalidate="action::invalidate",n.ActionPackageInstalled="action::packageInstalled",n.EventTypesRegistry="event::typesRegistry",n.EventBeginInstallTypes="event::beginInstallTypes",n.EventEndInstallTypes="event::endInstallTypes",n.EventInitializationFailed="event::initializationFailed",function(e){e.GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"}(n.Arguments||(n.Arguments={})),n.hasArgument=function(n){return e.sys.args.indexOf(n)>=0},n.findArgument=function(n){var t=e.sys.args.indexOf(n);return t>=0&&t<e.sys.args.length-1?e.sys.args[t+1]:void 0},n.nowString=function(){var e=new Date;return e.getHours()+":"+e.getMinutes()+":"+e.getSeconds()+"."+e.getMilliseconds()}}(e.server||(e.server={}))}(p||(p={})),function(e){!function(n){function t(n,t){return new e.Version(e.getProperty(t,"ts"+e.versionMajorMinor)||e.getProperty(t,"latest")).compareTo(n.version)<=0}function r(e){return n.nodeCoreModules.has(e)?"node":e}n.isTypingUpToDate=t,n.nodeCoreModuleList=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","http2","inspector","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","tty","url","util","v8","vm","zlib"],n.nodeCoreModules=new e.Set(n.nodeCoreModuleList),n.nonRelativeModuleNameForTypingCache=r,n.loadSafeList=function(n,t){var r=e.readConfigFile(t,(function(e){return n.readFile(e)}));return new e.Map(e.getEntries(r.config))},n.loadTypesMap=function(n,t){var r=e.readConfigFile(t,(function(e){return n.readFile(e)}));if(r.config)return new e.Map(e.getEntries(r.config.simpleMap))},n.discoverTypings=function(n,a,i,o,s,c,l,u,d){if(!l||!l.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var p=new e.Map;i=e.mapDefined(i,(function(n){var t=e.normalizePath(n);if(e.hasJSFileExtension(t))return t}));var f=[];l.include&&S(l.include,"Explicitly included types");var m=l.exclude||[],_=new e.Set(i.map(e.getDirectoryPath));_.add(o),_.forEach((function(n){L(e.combinePaths(n,"package.json"),f),L(e.combinePaths(n,"bower.json"),f),x(e.combinePaths(n,"bower_components"),f),x(e.combinePaths(n,"node_modules"),f)})),function(n){var t=e.mapDefined(n,(function(n){if(e.hasJSFileExtension(n)){var t=e.removeFileExtension(e.getBaseFileName(n.toLowerCase())),r=e.removeMinAndVersionNumbers(t);return s.get(r)}}));t.length&&S(t,"Inferred typings from file names");e.some(n,(function(n){return e.fileExtensionIs(n,".jsx")}))&&(a&&a("Inferred 'react' typings due to presence of '.jsx' extension"),T("react"))}(i),u&&S(e.deduplicate(u.map(r),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive),"Inferred typings from unresolved imports"),c.forEach((function(e,n){var r=d.get(n);p.has(n)&&void 0===p.get(n)&&void 0!==r&&t(e,r)&&p.set(n,e.typingLocation)}));for(var g=0,y=m;g<y.length;g++){var h=y[g];p.delete(h)&&a&&a("Typing for "+h+" is in exclude list, will be ignored.")}var v=[],b=[];p.forEach((function(e,n){void 0!==e?b.push(e):v.push(n)}));var E={cachedTypingPaths:b,newTypingNames:v,filesToWatch:f};return a&&a("Result: "+JSON.stringify(E)),E;function T(e){p.has(e)||p.set(e,void 0)}function S(n,t){a&&a(t+": "+JSON.stringify(n)),e.forEach(n,T)}function L(t,r){if(n.fileExists(t)){r.push(t);var a=e.readConfigFile(t,(function(e){return n.readFile(e)})).config;S(e.flatMap([a.dependencies,a.devDependencies,a.optionalDependencies,a.peerDependencies],e.getOwnKeys),"Typing names in '"+t+"' dependencies")}}function x(t,r){if(r.push(t),n.directoryExists(t)){var i=n.readDirectory(t,[".json"],void 0,void 0,2);a&&a("Searching for typing names in "+t+"; all files: "+JSON.stringify(i));for(var o=[],s=0,c=i;s<c.length;s++){var l=c[s],u=e.normalizePath(l),d=e.getBaseFileName(u);if("package.json"===d||"bower.json"===d){var f=e.readConfigFile(u,(function(e){return n.readFile(e)})).config;if(("package.json"!==d||!f._requiredBy||0!==e.filter(f._requiredBy,(function(e){return"#"===e[0]||"/"===e})).length)&&f.name){var m=f.types||f.typings;if(m){var _=e.getNormalizedAbsolutePath(m,e.getDirectoryPath(u));a&&a(" Package '"+f.name+"' provides its own types."),p.set(f.name,_)}else o.push(f.name)}}}S(o," Found package names")}}},function(e){e[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters"}(n.NameValidationResult||(n.NameValidationResult={}));function a(n,t,r,a){var i=a?"Scope":"Package";switch(t){case 1:return"'"+n+"':: "+i+" name '"+r+"' cannot be empty";case 2:return"'"+n+"':: "+i+" name '"+r+"' should be less than 214 characters";case 3:return"'"+n+"':: "+i+" name '"+r+"' cannot start with '.'";case 4:return"'"+n+"':: "+i+" name '"+r+"' cannot start with '_'";case 5:return"'"+n+"':: "+i+" name '"+r+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(t)}}n.validatePackageName=function(e){return function e(n,t){if(!n)return 1;if(n.length>214)return 2;if(46===n.charCodeAt(0))return 3;if(95===n.charCodeAt(0))return 4;if(t){var r=/^@([^/]+)\/([^/]+)$/.exec(n);if(r){var a=e(r[1],!1);if(0!==a)return{name:r[1],isScopeName:!0,result:a};var i=e(r[2],!1);return 0!==i?{name:r[2],isScopeName:!1,result:i}:0}}if(encodeURIComponent(n)!==n)return 5;return 0}(e,!0)},n.renderPackageNameValidationFailure=function(e,n){return"object"==typeof e?a(n,e.result,e.name,e.isScopeName):a(n,e,n,!1)}}(e.JsTyping||(e.JsTyping={}))}(p||(p={})),function(e){var n,t;function r(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:t.Ignore,trimTrailingWhitespace:!0}}!function(e){var n=function(){function e(e){this.text=e}return e.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new n(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(e){e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto"}(e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={})),function(e){e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic"}(e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={},function(e){e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(n=e.IndentStyle||(e.IndentStyle={})),function(e){e.Ignore="ignore",e.Insert="insert",e.Remove="remove"}(t=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=r,e.testFormatSettings=r("\n"),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))}(p||(p={})),function(e){function n(n){switch(n.kind){case 246:return e.isInJSFile(n)&&e.getJSDocEnumTag(n)?7:1;case 159:case 195:case 162:case 161:case 285:case 286:case 164:case 163:case 165:case 166:case 167:case 248:case 205:case 206:case 284:case 277:return 1;case 158:case 250:case 251:case 176:return 2;case 327:return void 0===n.name?3:2;case 288:case 249:return 3;case 253:return e.isAmbientModule(n)||1===e.getModuleInstanceState(n)?5:4;case 252:case 261:case 262:case 257:case 258:case 263:case 264:return 7;case 294:return 5}return 7}function t(n){for(;156===n.parent.kind;)n=n.parent;return e.isInternalModuleImportEqualsDeclaration(n.parent)&&n.parent.moduleReference===n}function r(e){return e.expression}function a(e){return e.tag}function i(e){return e.tagName}function o(n,t,r,a,i){var o=a?l(n):c(n);return i&&(o=e.skipOuterExpressions(o)),!!o&&!!o.parent&&t(o.parent)&&r(o.parent)===o}function c(e){return p(e)?e.parent:e}function l(e){return p(e)||f(e)?e.parent:e}function u(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isBreakOrContinueStatement))||void 0===t?void 0:t.label)===n}function d(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isLabeledStatement))||void 0===t?void 0:t.label)===n}function p(n){var t;return(null===(t=e.tryCast(n.parent,e.isPropertyAccessExpression))||void 0===t?void 0:t.name)===n}function f(n){var t;return(null===(t=e.tryCast(n.parent,e.isElementAccessExpression))||void 0===t?void 0:t.argumentExpression)===n}e.scanner=e.createScanner(99,!0),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=n,e.getMeaningFromLocation=function(r){return 294===(r=N(r)).kind?1:263===r.parent.kind||269===r.parent.kind||262===r.parent.kind||259===r.parent.kind||e.isImportEqualsDeclaration(r.parent)&&r===r.parent.name?7:t(r)?function(n){var t=156===n.kind?n:e.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0;return t&&257===t.parent.kind?7:4}(r):e.isDeclarationName(r)?n(r.parent):function(n){e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent);switch(n.kind){case 107:return!e.isExpressionNode(n);case 186:return!0}switch(n.parent.kind){case 172:return!0;case 192:return!n.parent.isTypeOf;case 220:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)}return!1}(r)?2:function(e){return function(e){var n=e,t=!0;if(156===n.parent.kind){for(;n.parent&&156===n.parent.kind;)n=n.parent;t=n.right===e}return 172===n.parent.kind&&!t}(e)||function(e){var n=e,t=!0;if(198===n.parent.kind){for(;n.parent&&198===n.parent.kind;)n=n.parent;t=n.name===e}if(!t&&220===n.parent.kind&&283===n.parent.parent.kind){var r=n.parent.parent.parent;return 249===r.kind&&116===n.parent.parent.token||250===r.kind&&93===n.parent.parent.token}return!1}(e)}(r)?4:e.isTypeParameterDeclaration(r.parent)?(e.Debug.assert(e.isJSDocTemplateTag(r.parent.parent)),2):e.isLiteralTypeNode(r.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=t,e.isCallExpressionTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isCallExpression,r,t,a)},e.isNewExpressionTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isNewExpression,r,t,a)},e.isCallOrNewExpressionTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isCallOrNewExpression,r,t,a)},e.isTaggedTemplateTag=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),o(n,e.isTaggedTemplateExpression,a,t,r)},e.isDecoratorTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isDecorator,r,t,a)},e.isJsxOpeningLikeElementTagName=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),o(n,e.isJsxOpeningLikeElement,i,t,r)},e.climbPastPropertyAccess=c,e.climbPastPropertyOrElementAccess=l,e.getTargetLabel=function(e,n){for(;e;){if(242===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(n,t){return!!e.isPropertyAccessExpression(n.expression)&&n.expression.name.text===t},e.isJumpStatementTarget=u,e.isLabelOfLabeledStatement=d,e.isLabelName=function(e){return d(e)||u(e)},e.isTagName=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isJSDocTag))||void 0===t?void 0:t.tagName)===n},e.isRightSideOfQualifiedName=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isQualifiedName))||void 0===t?void 0:t.right)===n},e.isRightSideOfPropertyAccess=p,e.isArgumentExpressionOfElementAccess=f,e.isNameOfModuleDeclaration=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isModuleDeclaration))||void 0===t?void 0:t.name)===n},e.isNameOfFunctionDeclaration=function(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isFunctionLike))||void 0===t?void 0:t.name)===n},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(n){switch(n.parent.kind){case 162:case 161:case 285:case 288:case 164:case 163:case 166:case 167:case 253:return e.getNameOfDeclaration(n.parent)===n;case 199:return n.parent.argumentExpression===n;case 157:return!0;case 190:return 188===n.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(n){return e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n},e.getContainerNode=function(n){for(e.isJSDocTypeAlias(n)&&(n=n.parent.parent);;){if(!(n=n.parent))return;switch(n.kind){case 294:case 164:case 163:case 248:case 205:case 166:case 167:case 249:case 250:case 252:case 253:return n}}},e.getNodeKind=function n(t){switch(t.kind){case 294:return e.isExternalModule(t)?"module":"script";case 253:return"module";case 249:case 218:return"class";case 250:return"interface";case 251:case 320:case 327:return"type";case 252:return"enum";case 246:return c(t);case 195:return c(e.getRootDeclaration(t));case 206:case 248:case 205:return"function";case 166:return"getter";case 167:return"setter";case 164:case 163:return"method";case 285:var r=t.initializer;return e.isFunctionLike(r)?"method":"property";case 162:case 161:case 286:case 287:return"property";case 170:return"index";case 169:return"construct";case 168:return"call";case 165:return"constructor";case 158:return"type parameter";case 288:return"enum member";case 159:return e.hasSyntacticModifier(t,92)?"property":"parameter";case 257:case 262:case 267:case 260:case 266:return"alias";case 213:var a=e.getAssignmentDeclarationKind(t),i=t.right;switch(a){case 7:case 8:case 9:case 0:return"";case 1:case 2:var o=n(i);return""===o?"const":o;case 3:return e.isFunctionExpression(i)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(i)?"method":"property";case 6:return"local class";default:return e.assertType(a),""}case 78:return e.isImportClause(t.parent)?"alias":"";case 263:var s=n(t.expression);return""===s?"const":s;default:return""}function c(n){return e.isVarConst(n)?"const":e.isLet(n)?"let":"var"}},e.isThis=function(n){switch(n.kind){case 107:return!0;case 78:return e.identifierIsThisKeyword(n)&&159===n.parent.kind;default:return!1}};var m=/^\/\/\/\s*</;function _(e,n){return y(e.pos,e.end,n)}function g(e,n){return e.pos<n&&n<e.end}function y(e,n,t){return e<=t.pos&&n>=t.end}function h(e,n,t,r){return Math.max(e,t)<Math.min(n,r)}function v(n,t,r){var a=n.getChildren(r);if(a.length){var i=e.last(a);if(i.kind===t)return!0;if(26===i.kind&&1!==a.length)return a[a.length-2].kind===t}return!1}function b(e,n,t){return!!E(e,n,t)}function E(n,t,r){return e.find(n.getChildren(r),(function(e){return e.kind===t}))}function T(n){var t=e.find(n.parent.getChildren(),(function(t){return e.isSyntaxList(t)&&_(t,n)}));return e.Debug.assert(!t||e.contains(t.getChildren(),n)),t}function S(e){return 87===e.kind}function L(e){return 83===e.kind}function x(e){return 97===e.kind}function A(n,t){if(!t)switch(n.kind){case 249:case 218:return function(n){if(e.isNamedDeclaration(n))return n.name;if(e.isClassDeclaration(n)){var t=e.find(n.modifiers,S);if(t)return t}if(e.isClassExpression(n)){var r=e.find(n.getChildren(),L);if(r)return r}}(n);case 248:case 205:return function(n){if(e.isNamedDeclaration(n))return n.name;if(e.isFunctionDeclaration(n)){var t=e.find(n.modifiers,S);if(t)return t}if(e.isFunctionExpression(n)){var r=e.find(n.getChildren(),x);if(r)return r}}(n)}if(e.isNamedDeclaration(n))return n.name}function D(n,t){if(n.importClause){if(n.importClause.name&&n.importClause.namedBindings)return;if(n.importClause.name)return n.importClause.name;if(n.importClause.namedBindings){if(e.isNamedImports(n.importClause.namedBindings)){var r=e.singleOrUndefined(n.importClause.namedBindings.elements);if(!r)return;return r.name}if(e.isNamespaceImport(n.importClause.namedBindings))return n.importClause.namedBindings.name}}if(!t)return n.moduleSpecifier}function C(n,t){if(n.exportClause){if(e.isNamedExports(n.exportClause)){if(!e.singleOrUndefined(n.exportClause.elements))return;return n.exportClause.elements[0].name}if(e.isNamespaceExport(n.exportClause))return n.exportClause.name}if(!t)return n.moduleSpecifier}function I(n,t){var r=n.parent;if((e.isModifier(n)&&(t||87!==n.kind)?e.contains(r.modifiers,n):83===n.kind?e.isClassDeclaration(r)||e.isClassExpression(n):97===n.kind?e.isFunctionDeclaration(r)||e.isFunctionExpression(n):117===n.kind?e.isInterfaceDeclaration(r):91===n.kind?e.isEnumDeclaration(r):148===n.kind?e.isTypeAliasDeclaration(r):139===n.kind||138===n.kind?e.isModuleDeclaration(r):99===n.kind?e.isImportEqualsDeclaration(r):134===n.kind?e.isGetAccessorDeclaration(r):145===n.kind&&e.isSetAccessorDeclaration(r))&&(i=A(r,t)))return i;if((112===n.kind||84===n.kind||118===n.kind)&&e.isVariableDeclarationList(r)&&1===r.declarations.length){var a=r.declarations[0];if(e.isIdentifier(a.name))return a.name}if(148===n.kind){if(e.isImportClause(r)&&r.isTypeOnly)if(i=D(r.parent,t))return i;if(e.isExportDeclaration(r)&&r.isTypeOnly)if(i=C(r,t))return i}if(126===n.kind){if(e.isImportSpecifier(r)&&r.propertyName||e.isExportSpecifier(r)&&r.propertyName||e.isNamespaceImport(r)||e.isNamespaceExport(r))return r.name;if(e.isExportDeclaration(r)&&r.exportClause&&e.isNamespaceExport(r.exportClause))return r.exportClause.name}if(99===n.kind&&e.isImportDeclaration(r)&&(i=D(r,t)))return i;if(92===n.kind){var i;if(e.isExportDeclaration(r))if(i=C(r,t))return i;if(e.isExportAssignment(r))return e.skipOuterExpressions(r.expression)}if(142===n.kind&&e.isExternalModuleReference(r))return r.expression;if(152===n.kind&&(e.isImportDeclaration(r)||e.isExportDeclaration(r))&&r.moduleSpecifier)return r.moduleSpecifier;if((93===n.kind||116===n.kind)&&e.isHeritageClause(r)&&r.token===n.kind&&(i=function(e){if(1===e.types.length)return e.types[0].expression}(r)))return i;if(93===n.kind){if(e.isTypeParameterDeclaration(r)&&r.constraint&&e.isTypeReferenceNode(r.constraint))return r.constraint.typeName;if(e.isConditionalTypeNode(r)&&e.isTypeReferenceNode(r.extendsType))return r.extendsType.typeName}if(135===n.kind&&e.isInferTypeNode(r))return r.typeParameter.name;if(100===n.kind&&e.isTypeParameterDeclaration(r)&&e.isMappedTypeNode(r.parent))return r.name;if(137===n.kind&&e.isTypeOperatorNode(r)&&137===r.operator&&e.isTypeReferenceNode(r.type))return r.type.typeName;if(141===n.kind&&e.isTypeOperatorNode(r)&&141===r.operator&&e.isArrayTypeNode(r.type)&&e.isTypeReferenceNode(r.type.elementType))return r.type.elementType.typeName;if(!t){if((102===n.kind&&e.isNewExpression(r)||113===n.kind&&e.isVoidExpression(r)||111===n.kind&&e.isTypeOfExpression(r)||130===n.kind&&e.isAwaitExpression(r)||124===n.kind&&e.isYieldExpression(r)||88===n.kind&&e.isDeleteExpression(r))&&r.expression)return e.skipOuterExpressions(r.expression);if((100===n.kind||101===n.kind)&&e.isBinaryExpression(r)&&r.operatorToken===n)return e.skipOuterExpressions(r.right);if(126===n.kind&&e.isAsExpression(r)&&e.isTypeReferenceNode(r.type))return r.type.typeName;if(100===n.kind&&e.isForInStatement(r)||155===n.kind&&e.isForOfStatement(r))return e.skipOuterExpressions(r.expression)}return n}function N(e){return I(e,!1)}function R(e,n,t){return O(e,n,!1,t,!1)}function k(e,n){return O(e,n,!0,void 0,!1)}function O(e,n,t,r,a){var i=e;e:for(;;){for(var o=0,s=i.getChildren(e);o<s.length;o++){var c=s[o];if((t?c.getFullStart():c.getStart(e,!0))>n)break;var l=c.getEnd();if(n<l||n===l&&(1===c.kind||a)){i=c;continue e}if(r&&l===n){var u=M(n,e,c);if(u&&r(u))return u}}return i}}function P(n,t,r){return function t(a){if(e.isToken(a)&&a.pos===n.end)return a;return e.firstDefined(a.getChildren(r),(function(e){return(e.pos<=n.pos&&e.end>n.end||e.pos===n.end)&&W(e,r)?t(e):void 0}))}(t)}function M(n,t,r,a){var i=function i(o){if(w(o)&&1!==o.kind)return o;for(var s=o.getChildren(t),c=0;c<s.length;c++){var l=s[c];if(n<l.end){if(l.getStart(t,!a)>=n||!W(l,t)||B(l)){var u=G(s,c,t);return u&&F(u,t)}return i(l)}}e.Debug.assert(void 0!==r||294===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var d=G(s,s.length,t);return d&&F(d,t)}(r||t);return e.Debug.assert(!(i&&B(i))),i}function w(n){return e.isToken(n)&&!B(n)}function F(e,n){if(w(e))return e;var t=e.getChildren(n),r=G(t,t.length,n);return r&&F(r,n)}function G(n,t,r){for(var a=t-1;a>=0;a--){if(B(n[a]))e.Debug.assert(a>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(W(n[a],r))return n[a]}}function B(n){return e.isJsxText(n)&&n.containsOnlyTriviaWhiteSpaces}function U(e,n,t){for(var r=e.kind,a=0;;){var i=M(e.getFullStart(),t);if(!i)return;if((e=i).kind===n){if(0===a)return e;a--}else e.kind===r&&a++}}function V(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function j(n,t,r){var a=r.getTypeAtLocation(n);return e.isOptionalChain(n.parent)&&(a=V(a,e.isOptionalChainRoot(n.parent),!0)),(e.isNewExpression(n.parent)?a.getConstructSignatures():a.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=t}))}function K(n,t){for(var r=n,a=0,i=0;r;){switch(r.kind){case 29:if((r=M(r.getFullStart(),t))&&28===r.kind&&(r=M(r.getFullStart(),t)),!r||!e.isIdentifier(r))return;if(!a)return e.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};a--;break;case 49:a=3;break;case 48:a=2;break;case 31:a++;break;case 19:if(!(r=U(r,18,t)))return;break;case 21:if(!(r=U(r,20,t)))return;break;case 23:if(!(r=U(r,22,t)))return;break;case 27:i++;break;case 38:case 78:case 10:case 8:case 9:case 109:case 94:case 111:case 93:case 137:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(r))break;return}r=M(r.getFullStart(),t)}}function H(n,t,r){return e.formatting.getRangeOfEnclosingComment(n,t,void 0,r)}function W(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function q(e,n,t){var r=H(e,n,void 0);return!!r&&t===m.test(e.text.substring(r.pos,r.end))}function z(n,t,r){return e.createTextSpanFromBounds(n.getStart(t),(r||n).getEnd())}function J(n){if(!n.isUnterminated)return e.createTextSpanFromBounds(n.getStart()+1,n.getEnd()-1)}function X(e,n){return{span:e,newText:n}}function Y(e){return 148===e.kind}function Q(n,t){return{fileExists:function(e){return n.fileExists(e)},getCurrentDirectory:function(){return t.getCurrentDirectory()},readFile:e.maybeBind(t,t.readFile),useCaseSensitiveFileNames:e.maybeBind(t,t.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(t,t.getSymlinkCache)||n.getSymlinkCache,getGlobalTypingsCacheLocation:e.maybeBind(t,t.getGlobalTypingsCacheLocation),getSourceFiles:function(){return n.getSourceFiles()},redirectTargetsMap:n.redirectTargetsMap,getProjectReferenceRedirect:function(e){return n.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return n.isSourceOfProjectReferenceRedirect(e)}}}function Z(e,n){return s(s({},Q(e,n)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function $(n,t,r,a,i){return e.factory.createImportDeclaration(void 0,void 0,n||t?e.factory.createImportClause(!!i,n,t&&t.length?e.factory.createNamedImports(t):void 0):void 0,"string"==typeof r?ee(r,a):r)}function ee(n,t){return e.factory.createStringLiteral(n,0===t)}function ne(n,t){return e.isStringDoubleQuoted(n,t)?1:0}function te(n){return"default"!==n.escapedName?n.escapedName:e.firstDefined(n.declarations,(function(n){var t=e.getNameOfDeclaration(n);return t&&78===t.kind?t.escapedText:void 0}))}function re(n,t,r,a){var i=new e.Map;return function n(o){if(!(96&o.flags&&e.addToSeen(i,e.getSymbolId(o))))return;return e.firstDefined(o.declarations,(function(i){return e.firstDefined(e.getAllSuperTypeNodes(i),(function(i){var o=r.getTypeAtLocation(i),s=o&&o.symbol&&r.getPropertyOfType(o,t);return o&&s&&(e.firstDefined(r.getRootSymbols(s),a)||n(o.symbol))}))}))}(n)}function ae(n,t,r){return e.textSpanContainsPosition(n,t.getStart(r))&&t.getEnd()<=e.textSpanEnd(n)}function ie(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function oe(e){return e.declarations&&e.declarations.length>0&&159===e.declarations[0].kind}e.getLineStartPositionForPosition=function(n,t){return e.getLineStarts(t)[t.getLineAndCharacterOfPosition(n).line]},e.rangeContainsRange=_,e.rangeContainsRangeExclusive=function(e,n){return g(e,n.pos)&&g(e,n.end)},e.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},e.rangeContainsPositionExclusive=g,e.startEndContainsRange=y,e.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},e.rangeOverlapsWithStartEnd=function(e,n,t){return h(e.pos,e.end,n,t)},e.nodeOverlapsWithStartEnd=function(e,n,t,r){return h(e.getStart(n),e.end,t,r)},e.startEndOverlapsWithStartEnd=h,e.positionBelongsToNode=function(n,t,r){return e.Debug.assert(n.pos<=t),t<n.end||!function n(t,r){if(void 0===t||e.nodeIsMissing(t))return!1;switch(t.kind){case 249:case 250:case 252:case 197:case 193:case 176:case 227:case 254:case 255:case 261:case 265:return v(t,19,r);case 284:return n(t.block,r);case 201:if(!t.arguments)return!0;case 200:case 204:case 185:return v(t,21,r);case 173:case 174:return n(t.type,r);case 165:case 166:case 167:case 248:case 205:case 164:case 163:case 169:case 168:case 206:return t.body?n(t.body,r):t.type?n(t.type,r):b(t,21,r);case 253:return!!t.body&&n(t.body,r);case 231:return t.elseStatement?n(t.elseStatement,r):n(t.thenStatement,r);case 230:return n(t.expression,r)||b(t,26,r);case 196:case 194:case 199:case 157:case 178:return v(t,23,r);case 170:return t.type?n(t.type,r):b(t,23,r);case 281:case 282:return!1;case 234:case 235:case 236:case 233:return n(t.statement,r);case 232:return b(t,114,r)?v(t,21,r):n(t.statement,r);case 175:return n(t.exprName,r);case 208:case 207:case 209:case 216:case 217:return n(t.expression,r);case 202:return n(t.template,r);case 215:var a=e.lastOrUndefined(t.templateSpans);return n(a,r);case 225:return e.nodeIsPresent(t.literal);case 264:case 258:return e.nodeIsPresent(t.moduleSpecifier);case 211:return n(t.operand,r);case 213:return n(t.right,r);case 214:return n(t.whenFalse,r);default:return!0}}(n,r)},e.findListItemInfo=function(n){var t=T(n);if(t){var r=t.getChildren();return{listItemIndex:e.indexOfNode(r,n),list:t}}},e.hasChildOfKind=b,e.findChildOfKind=E,e.findContainingList=T,e.getAdjustedReferenceLocation=N,e.getAdjustedRenameLocation=function(e){return I(e,!0)},e.getTouchingPropertyName=function(n,t){return R(n,t,(function(n){return e.isPropertyNameLiteral(n)||e.isKeyword(n.kind)||e.isPrivateIdentifier(n)}))},e.getTouchingToken=R,e.getTokenAtPosition=k,e.findTokenOnLeftOfPosition=function(n,t){var r=k(n,t);return e.isToken(r)&&t>r.getStart(n)&&t<r.getEnd()?r:M(t,n)},e.findNextToken=P,e.findPrecedingToken=M,e.isInString=function(n,t,r){if(void 0===r&&(r=M(t,n)),r&&e.isStringTextContainingNode(r)){var a=r.getStart(n),i=r.getEnd();if(a<t&&t<i)return!0;if(t===i)return!!r.isUnterminated}return!1},e.isInsideJsxElementOrAttribute=function(e,n){var t=k(e,n);return!!t&&(11===t.kind||(29===t.kind&&11===t.parent.kind||(29===t.kind&&280===t.parent.kind||(!(!t||19!==t.kind||280!==t.parent.kind)||29===t.kind&&273===t.parent.kind))))},e.isInTemplateString=function(n,t){var r=k(n,t);return e.isTemplateLiteralKind(r.kind)&&t>r.getStart(n)},e.isInJSXText=function(n,t){var r=k(n,t);return!!e.isJsxText(r)||(!(18!==r.kind||!e.isJsxExpression(r.parent)||!e.isJsxElement(r.parent.parent))||!(29!==r.kind||!e.isJsxOpeningLikeElement(r.parent)||!e.isJsxElement(r.parent.parent)))},e.isInsideJsxElement=function(e,n){return function(t){for(;t;)if(t.kind>=271&&t.kind<=280||11===t.kind||29===t.kind||31===t.kind||78===t.kind||19===t.kind||18===t.kind||43===t.kind)t=t.parent;else{if(270!==t.kind)return!1;if(n>t.getStart(e))return!0;t=t.parent}return!1}(k(e,n))},e.findPrecedingMatchingToken=U,e.removeOptionality=V,e.isPossiblyTypeArgumentPosition=function n(t,r,a){var i=K(t,r);return void 0!==i&&(e.isPartOfTypeNode(i.called)||0!==j(i.called,i.nTypeArguments,a).length||n(i.called,r,a))},e.getPossibleGenericSignatures=j,e.getPossibleTypeArgumentsInfo=K,e.isInComment=H,e.hasDocComment=function(n,t){var r=k(n,t);return!!e.findAncestor(r,e.isJSDoc)},e.getNodeModifiers=function(n){var t=e.isDeclaration(n)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(n):0,r=[];return 8&t&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),32&t&&r.push("static"),128&t&&r.push("abstract"),1&t&&r.push("export"),8192&t&&r.push("deprecated"),8388608&n.flags&&r.push("declare"),263===n.kind&&r.push("export"),r.length>0?r.join(","):""},e.getTypeArgumentOrTypeParameterList=function(n){return 172===n.kind||200===n.kind?n.typeArguments:e.isFunctionLike(n)||249===n.kind||250===n.kind?n.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(n){return!(10!==n&&13!==n&&!e.isTemplateLiteralKind(n))},e.isPunctuation=function(e){return 18<=e&&e<=77},e.isInsideTemplateLiteral=function(n,t,r){return e.isTemplateLiteralKind(n.kind)&&n.getStart(r)<t&&t<n.end||!!n.isUnterminated&&t===n.end},e.isAccessibilityModifier=function(e){switch(e){case 122:case 120:case 121:return!0}return!1},e.cloneCompilerOptions=function(n){var t=e.clone(n);return e.setConfigFileInOptions(t,n&&n.configFile),t},e.isArrayLiteralOrObjectLiteralDestructuringPattern=function e(n){if(196===n.kind||197===n.kind){if(213===n.parent.kind&&n.parent.left===n&&62===n.parent.operatorToken.kind)return!0;if(236===n.parent.kind&&n.parent.initializer===n)return!0;if(e(285===n.parent.kind?n.parent.parent:n.parent))return!0}return!1},e.isInReferenceComment=function(e,n){return q(e,n,!0)},e.isInNonReferenceComment=function(e,n){return q(e,n,!1)},e.getReplacementSpanForContextToken=function(e){if(e)switch(e.kind){case 10:case 14:return J(e);default:return z(e)}},e.createTextSpanFromNode=z,e.createTextSpanFromStringLiteralLikeContent=J,e.createTextRangeFromNode=function(n,t){return e.createRange(n.getStart(t),n.end)},e.createTextSpanFromRange=function(n){return e.createTextSpanFromBounds(n.pos,n.end)},e.createTextRangeFromSpan=function(n){return e.createRange(n.start,n.start+n.length)},e.createTextChangeFromStartLength=function(n,t,r){return X(e.createTextSpan(n,t),r)},e.createTextChange=X,e.typeKeywords=[128,127,154,131,94,137,140,103,143,144,141,146,147,109,113,149,150,151],e.isTypeKeyword=function(n){return e.contains(e.typeKeywords,n)},e.isTypeKeywordToken=Y,e.isExternalModuleSymbol=function(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)},e.nodeSeenTracker=function(){var n=[];return function(t){var r=e.getNodeId(t);return!n[r]&&(n[r]=!0)}},e.getSnapshotText=function(e){return e.getText(0,e.getLength())},e.repeatString=function(e,n){for(var t="",r=0;r<n;r++)t+=e;return t},e.skipConstraint=function(e){return e.isTypeParameter()&&e.getConstraint()||e},e.getNameFromPropertyName=function(n){return 157===n.kind?e.isStringOrNumericLiteralLike(n.expression)?n.expression.text:void 0:e.isPrivateIdentifier(n)?e.idText(n):e.getTextOfIdentifierOrLiteral(n)},e.programContainsModules=function(e){return e.getSourceFiles().some((function(n){return!(n.isDeclarationFile||e.isSourceFileFromExternalLibrary(n)||!n.externalModuleIndicator&&!n.commonJsModuleIndicator)}))},e.programContainsEs6Modules=function(e){return e.getSourceFiles().some((function(n){return!n.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(n)&&!!n.externalModuleIndicator}))},e.compilerOptionsIndicateEs6Modules=function(e){return!!e.module||e.target>=2||!!e.noEmit},e.createModuleSpecifierResolutionHost=Q,e.getModuleSpecifierResolverHost=Z,e.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?$(e,n,t,r):void 0},e.makeImport=$,e.makeStringLiteral=ee,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=ne,e.getQuotePreference=function(n,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;var r=n.imports&&e.find(n.imports,e.isStringLiteral);return r?ne(r,n):1},e.getQuoteFromPreference=function(n){switch(n){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(n)}},e.symbolNameNoDefault=function(n){var t=te(n);return void 0===t?void 0:e.unescapeLeadingUnderscores(t)},e.symbolEscapedNameNoDefault=te,e.isObjectBindingElementWithoutPropertyName=function(n){return e.isBindingElement(n)&&e.isObjectBindingPattern(n.parent)&&e.isIdentifier(n.name)&&!n.propertyName},e.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},e.getPropertySymbolsFromBaseTypes=re,e.isMemberSymbolInBaseType=function(e,n){return re(e.parent,e.name,n,(function(e){return!0}))||!1},e.getParentNodeInSpan=function(n,t,r){if(n)for(;n.parent;){if(e.isSourceFile(n.parent)||!ae(r,n.parent,t))return n;n=n.parent}},e.findModifier=function(n,t){return n.modifiers&&e.find(n.modifiers,(function(e){return e.kind===t}))},e.insertImports=function(n,t,r,a){var i=229===(e.isArray(r)?r[0]:r).kind?e.isRequireVariableStatement:e.isAnyImportSyntax,o=e.filter(t.statements,i),s=e.isArray(r)?e.stableSort(r,e.OrganizeImports.compareImportsOrRequireStatements):[r];if(o.length)if(o&&e.OrganizeImports.importsAreSorted(o))for(var c=0,l=s;c<l.length;c++){var u=l[c],d=e.OrganizeImports.getImportDeclarationInsertionIndex(o,u);if(0===d){var p=o[0]===t.statements[0]?{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude}:{};n.insertNodeBefore(t,o[0],u,!1,p)}else{var f=o[d-1];n.insertNodeAfter(t,f,u)}}else{var m=e.lastOrUndefined(o);m?n.insertNodesAfter(t,m,s):n.insertNodesAtTopOfFile(t,s,a)}else n.insertNodesAtTopOfFile(t,s,a)},e.getTypeKeywordOfTypeOnlyImport=function(n,t){return e.Debug.assert(n.isTypeOnly),e.cast(n.getChildAt(0,t),Y)},e.textSpansEqual=ie,e.documentSpansEqual=function(e,n){return e.fileName===n.fileName&&ie(e.textSpan,n.textSpan)},e.forEachUnique=function(e,n){if(e)for(var t=0;t<e.length;t++)if(e.indexOf(e[t])===t){var r=n(e[t],t);if(r)return r}},e.isTextWhiteSpaceLike=function(n,t,r){for(var a=t;a<r;a++)if(!e.isWhiteSpaceLike(n.charCodeAt(a)))return!1;return!0},e.isFirstDeclarationOfSymbolParameter=oe;var se=function(){var n,t,r,a,i=10*e.defaultMaximumTruncationLength;l();var o=function(n){return c(n,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var t=n.length&&n[n.length-1].text;return a>i&&t&&"..."!==t&&(e.isWhiteSpaceLike(t.charCodeAt(t.length-1))||n.push(le(" ",e.SymbolDisplayPartKind.space)),n.push(le("...",e.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(n){return c(n,e.SymbolDisplayPartKind.keyword)},writeOperator:function(n){return c(n,e.SymbolDisplayPartKind.operator)},writePunctuation:function(n){return c(n,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(n){return c(n,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(n){return c(n,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(n){return c(n,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(n){return c(n,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(n){return c(n,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(n){return c(n,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){if(a>i)return;s(),a+=e.length,n.push(ce(e,t))},writeLine:function(){if(a>i)return;a+=1,n.push(pe()),t=!0},write:o,writeComment:o,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return r},increaseIndent:function(){r++},decreaseIndent:function(){r--},clear:l,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function s(){if(!(a>i)&&t){var o=e.getIndentString(r);o&&(a+=o.length,n.push(le(o,e.SymbolDisplayPartKind.space))),t=!1}}function c(e,t){a>i||(s(),a+=e.length,n.push(le(e,t)))}function l(){n=[],t=!0,r=0,a=0}}();function ce(n,t){return le(n,function(n){var t=n.flags;if(3&t)return oe(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&t)return e.SymbolDisplayPartKind.propertyName;if(32768&t)return e.SymbolDisplayPartKind.propertyName;if(65536&t)return e.SymbolDisplayPartKind.propertyName;if(8&t)return e.SymbolDisplayPartKind.enumMemberName;if(16&t)return e.SymbolDisplayPartKind.functionName;if(32&t)return e.SymbolDisplayPartKind.className;if(64&t)return e.SymbolDisplayPartKind.interfaceName;if(384&t)return e.SymbolDisplayPartKind.enumName;if(1536&t)return e.SymbolDisplayPartKind.moduleName;if(8192&t)return e.SymbolDisplayPartKind.methodName;if(262144&t)return e.SymbolDisplayPartKind.typeParameterName;if(524288&t)return e.SymbolDisplayPartKind.aliasName;if(2097152&t)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(t))}function le(n,t){return{text:n,kind:e.SymbolDisplayPartKind[t]}}function ue(n){return le(e.tokenToString(n),e.SymbolDisplayPartKind.keyword)}function de(n){return le(n,e.SymbolDisplayPartKind.text)}e.symbolPart=ce,e.displayPart=le,e.spacePart=function(){return le(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=ue,e.punctuationPart=function(n){return le(e.tokenToString(n),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(n){return le(e.tokenToString(n),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(n){var t=e.stringToToken(n);return void 0===t?de(n):ue(t)},e.textPart=de;function pe(){return le("\n",e.SymbolDisplayPartKind.lineBreak)}function fe(e){try{return e(se),se.displayParts()}finally{se.clear()}}function me(e){return 0!=(33554432&e.flags)}function _e(e){return 0!=(2097152&e.flags)}function ge(e,n){void 0===n&&(n=!0);var t=e&&he(e);return t&&!n&&ve(t),t}function ye(n,t,r,a,i){var o;if(void 0===t&&(t=!0),r&&a&&e.isBindingElement(n)&&e.isIdentifier(n.name)&&e.isObjectBindingPattern(n.parent))(c=(s=a.getSymbolAtLocation(n.name))&&r.get(String(e.getSymbolId(s))))&&c.text!==(n.name||n.propertyName).getText()&&(o=e.setOriginalNode(e.factory.createBindingElement(n.dotDotDotToken,n.propertyName||n.name,c,n.initializer),n));else if(r&&a&&e.isIdentifier(n)){var s,c;(c=(s=a.getSymbolAtLocation(n))&&r.get(String(e.getSymbolId(s))))&&(o=e.setOriginalNode(e.factory.createIdentifier(c.text),n))}return o||(o=he(n,r,a,i)),o&&!t&&ve(o),i&&o&&i(n,o),o}function he(n,t,r,a){var i=t||r||a?e.visitEachChild(n,(function(e){return ye(e,!0,t,r,a)}),e.nullTransformationContext):e.visitEachChild(n,ge,e.nullTransformationContext);if(i===n){var o=e.isStringLiteral(n)?e.setOriginalNode(e.factory.createStringLiteralFromNode(n),n):e.isNumericLiteral(n)?e.setOriginalNode(e.factory.createNumericLiteral(n.text,n.numericLiteralFlags),n):e.factory.cloneNode(n);return e.setTextRange(o,n)}return i.parent=void 0,i}function ve(e){be(e),Ee(e)}function be(e){Te(e,512,Se)}function Ee(n){Te(n,1024,e.getLastChild)}function Te(n,t,r){e.addEmitFlags(n,t);var a=r(n);a&&Te(a,t,r)}function Se(e){return e.forEachChild((function(e){return e}))}function Le(n,t,r,a,i){e.forEachLeadingCommentRange(r.text,n.pos,De(t,r,a,i,e.addSyntheticLeadingComment))}function xe(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.end,De(t,r,a,i,e.addSyntheticTrailingComment))}function Ae(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.pos,De(t,r,a,i,e.addSyntheticLeadingComment))}function De(e,n,t,r,a){return function(i,o,s,c){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:c)}}function Ce(n,t){if(e.startsWith(n,t))return 0;var r=n.indexOf(" "+t);return-1===r&&(r=n.indexOf("."+t)),-1===r&&(r=n.indexOf('"'+t)),-1===r?-1:r+1}function Ie(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function Ne(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function Re(e){return 168===e||169===e||170===e||161===e||163===e}function ke(e){return 248===e||165===e||164===e||166===e||167===e}function Oe(e){return 253===e}function Pe(e){return 229===e||230===e||232===e||237===e||238===e||239===e||243===e||245===e||162===e||251===e||258===e||257===e||264===e||256===e||263===e}function Me(e,n){return Fe(e,e.fileExists,n)}function we(e){try{return e()}catch(e){return}}function Fe(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return we((function(){return n&&n.apply(e,t)}))}function Ge(n,t){if(t.readFile){var r=function(e){try{return JSON.parse(e)}catch(e){return}}(t.readFile(n)||""),a={};if(r)for(var i=0,o=["dependencies","devDependencies","optionalDependencies","peerDependencies"];i<o.length;i++){var c=o[i],l=r[c];if(l){var u=new e.Map;for(var d in l)u.set(d,l[d]);a[c]=u}}var p=[[1,a.dependencies],[2,a.devDependencies],[8,a.optionalDependencies],[4,a.peerDependencies]];return s(s({},a),{parseable:!!r,fileName:n,get:f,has:function(e,n){return!!f(e,n)}})}function f(e,n){void 0===n&&(n=15);for(var t=0,r=p;t<r.length;t++){var a=r[t],i=a[0],o=a[1];if(o&&n&i){var s=o.get(e);if(void 0!==s)return s}}}}function Be(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function Ue(n){var t=n.getSourceFile();return!(!t.externalModuleIndicator&&!t.commonJsModuleIndicator)&&(e.isInJSFile(n)||!e.findAncestor(n,e.isGlobalScopeAugmentation))}e.getNewLineOrDefaultFromHost=function(e,n){var t;return(null==n?void 0:n.newLineCharacter)||(null===(t=e.getNewLine)||void 0===t?void 0:t.call(e))||"\r\n"},e.lineBreakPart=pe,e.mapToDisplayParts=fe,e.typeToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),fe((function(a){e.writeType(n,t,17408|r,a)}))},e.symbolToDisplayParts=function(e,n,t,r,a){return void 0===a&&(a=0),fe((function(i){e.writeSymbol(n,t,r,8|a,i)}))},e.signatureToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),r|=25632,fe((function(a){e.writeSignature(n,t,r,void 0,a)}))},e.isImportOrExportSpecifierName=function(n){return!!n.parent&&e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n},e.getScriptKind=function(n,t){return e.ensureScriptKind(n,t.getScriptKind&&t.getScriptKind(n))},e.getSymbolTarget=function(n,t){for(var r=n;_e(r)||me(r)&&r.target;)r=me(r)&&r.target?r.target:e.skipAlias(r,t);return r},e.getUniqueSymbolId=function(n,t){return e.getSymbolId(e.skipAlias(n,t))},e.getFirstNonSpaceCharacterPosition=function(n,t){for(;e.isWhiteSpaceLike(n.charCodeAt(t));)t+=1;return t},e.getPrecedingNonSpaceCharacterPosition=function(n,t){for(;t>-1&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));)t-=1;return t+1},e.getSynthesizedDeepClone=ge,e.getSynthesizedDeepCloneWithRenames=ye,e.getSynthesizedDeepClones=function(n,t){return void 0===t&&(t=!0),n&&e.factory.createNodeArray(n.map((function(e){return ge(e,t)})),n.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=ve,e.suppressLeadingTrivia=be,e.suppressTrailingTrivia=Ee,e.copyComments=function(e,n){var t=e.getSourceFile();!function(e,n){for(var t=e.getFullStart(),r=e.getStart(),a=t;a<r;a++)if(10===n.charCodeAt(a))return!0;return!1}(e,t.text)?Ae(e,n,t):Le(e,n,t),xe(e,n,t)},e.getUniqueName=function(n,t){for(var r=n,a=1;!e.isFileLevelUniqueName(t,r);a++)r=n+"_"+a;return r},e.getRenameLocation=function(n,t,r,a){for(var i=0,o=-1,s=0,c=n;s<c.length;s++){var l=c[s],u=l.fileName,d=l.textChanges;e.Debug.assert(u===t);for(var p=0,f=d;p<f.length;p++){var m=f[p],_=m.span,g=m.newText,y=Ce(g,r);if(-1!==y&&(o=_.start+i+y,!a))return o;i+=g.length-_.length}}return e.Debug.assert(a),e.Debug.assert(o>=0),o},e.copyLeadingComments=Le,e.copyTrailingComments=xe,e.copyTrailingAsLeadingComments=Ae,e.needsParentheses=function(n){return e.isBinaryExpression(n)&&27===n.operatorToken.kind||e.isObjectLiteralExpression(n)},e.getContextualTypeFromParent=function(e,n){var t=e.parent;switch(t.kind){case 201:return n.getContextualType(t);case 213:var r=t,a=r.left,i=r.operatorToken,o=r.right;return Ie(i.kind)?n.getTypeAtLocation(e===o?a:o):n.getContextualType(e);case 281:return t.expression===e?Ne(t,n):void 0;default:return n.getContextualType(e)}},e.quote=function(n,t){var r=t.quotePreference||"auto",a=JSON.stringify(n);switch(r){case"auto":case"double":return a;case"single":return"'"+e.stripQuotes(a).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(r)}},e.isEqualityOperatorKind=Ie,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 215:case 202:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=Ne,e.ANONYMOUS="anonymous function",e.getTypeNodeIfAccessible=function(e,n,t,r){var a=t.getTypeChecker(),i=!0,o=function(){i=!1},s=a.typeToTypeNode(e,n,void 0,{trackSymbol:function(e,n,t){i=i&&0===a.isSymbolAccessible(e,n,t,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:Z(t,r)});return i?s:void 0},e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Re,e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=ke,e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=Oe,e.syntaxRequiresTrailingSemicolonOrASI=Pe,e.syntaxMayBeASICandidate=e.or(Re,ke,Oe,Pe),e.positionIsASICandidate=function(n,t,r){var a=e.findAncestor(t,(function(t){return t.end!==n?"quit":e.syntaxMayBeASICandidate(t.kind)}));return!!a&&function(n,t){var r=n.getLastToken(t);if(r&&26===r.kind)return!1;if(Re(n.kind)){if(r&&27===r.kind)return!1}else if(Oe(n.kind)){if((a=e.last(n.getChildren(t)))&&e.isModuleBlock(a))return!1}else if(ke(n.kind)){var a;if((a=e.last(n.getChildren(t)))&&e.isFunctionBlock(a))return!1}else if(!Pe(n.kind))return!1;if(232===n.kind)return!0;var i=P(n,e.findAncestor(n,(function(e){return!e.parent})),t);return!i||19===i.kind||t.getLineAndCharacterOfPosition(n.getEnd()).line!==t.getLineAndCharacterOfPosition(i.getStart(t)).line}(a,r)},e.probablyUsesSemicolons=function(n){var t=0,r=0;return e.forEachChild(n,(function a(i){if(Pe(i.kind)){var o=i.getLastToken(n);o&&26===o.kind?t++:r++}return t+r>=5||e.forEachChild(i,a)})),0===t&&r<=1||t/r>.2},e.tryGetDirectories=function(e,n){return Fe(e,e.getDirectories,n)||[]},e.tryReadDirectory=function(n,t,r,a,i){return Fe(n,n.readDirectory,t,r,a,i)||e.emptyArray},e.tryFileExists=Me,e.tryDirectoryExists=function(n,t){return we((function(){return e.directoryProbablyExists(t,n)}))||!1},e.tryAndIgnoreErrors=we,e.tryIOAndConsumeErrors=Fe,e.findPackageJsons=function(n,t,r){var a=[];return e.forEachAncestorDirectory(n,(function(n){if(n===r)return!0;var i=e.combinePaths(n,"package.json");Me(t,i)&&a.push(i)})),a},e.findPackageJson=function(n,t){var r;return e.forEachAncestorDirectory(n,(function(n){return"node_modules"===n||(!!(r=e.findConfigFile(n,(function(e){return Me(t,e)}),"package.json"))||void 0)})),r},e.getPackageJsonsVisibleToFile=function(n,t){if(!t.fileExists)return[];var r=[];return e.forEachAncestorDirectory(e.getDirectoryPath(n),(function(n){var a=e.combinePaths(n,"package.json");if(t.fileExists(a)){var i=Ge(a,t);i&&r.push(i)}})),r},e.createPackageJsonInfo=Ge,e.consumesNodeCoreModules=function(n){return e.some(n.imports,(function(n){var t=n.text;return e.JsTyping.nodeCoreModules.has(t)}))},e.isInsideNodeModules=function(n){return e.contains(e.getPathComponents(n),"node_modules")},e.isDiagnosticWithLocation=Be,e.findDiagnosticForNode=function(n,t){var r=z(n),a=e.binarySearchKey(t,r,e.identity,e.compareTextSpans);if(a>=0){var i=t[a];return e.Debug.assertEqual(i.file,n.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(i,Be)}},e.getDiagnosticsWithinSpan=function(n,t){var r,a=e.binarySearchKey(t,n.start,(function(e){return e.start}),e.compareValues);for(a<0&&(a=~a);(null===(r=t[a-1])||void 0===r?void 0:r.start)===n.start;)a--;for(var i=[],o=e.textSpanEnd(n);;){var s=e.tryCast(t[a],Be);if(!s||s.start>o)break;e.textSpanContainsTextSpan(n,s)&&i.push(s),a++}return i},e.getRefactorContextSpan=function(n){var t=n.startPosition,r=n.endPosition;return e.createTextSpanFromBounds(t,void 0===r?t:r)},e.mapOneOrMany=function(n,t,r){return void 0===r&&(r=e.identity),n?e.isArray(n)?r(e.map(n,t)):t(n,0):void 0},e.firstOrOnly=function(n){return e.isArray(n)?e.first(n):n},e.getNameForExportedSymbol=function(n,t){return"export="===n.escapedName||"default"===n.escapedName?e.firstDefined(n.declarations,(function(n){return e.isExportAssignment(n)&&e.isIdentifier(n.expression)?n.expression.text:void 0}))||e.codefix.moduleSymbolToValidIdentifier(function(n){var t;return e.Debug.checkDefined(n.parent,"Symbol parent was undefined. Flags: "+e.Debug.formatSymbolFlags(n.flags)+". Declarations: "+(null===(t=n.declarations)||void 0===t?void 0:t.map((function(n){var t=e.Debug.formatSyntaxKind(n.kind),r=e.isInJSFile(n),a=n.expression;return(r?"[JS]":"")+t+(a?" (expression: "+e.Debug.formatSyntaxKind(a.kind)+")":"")})).join(", "))+".")}(n),t):n.name},e.stringContainsAt=function(e,n,t){var r=n.length;if(r+t>e.length)return!1;for(var a=0;a<r;a++)if(n.charCodeAt(a)!==e.charCodeAt(a+t))return!1;return!0},e.startsWithUnderscore=function(e){return 95===e.charCodeAt(0)},e.isGlobalDeclaration=function(e){return!Ue(e)},e.isNonGlobalDeclaration=Ue}(p||(p={})),function(e){e.createClassifier=function(){var o=e.createScanner(99,!1);function s(a,s,c){var l=0,u=0,d=[],p=function(n){switch(n){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(n)}}(s),f=p.prefix,m=p.pushTemplate;a=f+a;var _=f.length;m&&d.push(15),o.setText(a);var g=0,y=[],h=0;do{l=o.scan(),e.isTrivia(l)||(E(),u=l);var v=o.getTextPos();if(r(o.getTokenPos(),v,_,i(l),y),v>=a.length){var b=t(o,l,e.lastOrUndefined(d));void 0!==b&&(g=b)}}while(1!==l);function E(){switch(l){case 43:case 67:n[u]||13!==o.reScanSlashToken()||(l=13);break;case 29:78===u&&h++;break;case 31:h>0&&h--;break;case 128:case 146:case 143:case 131:case 147:h>0&&!c&&(l=78);break;case 15:d.push(l);break;case 18:d.length>0&&d.push(l);break;case 19:if(d.length>0){var t=e.lastOrUndefined(d);15===t?17===(l=o.reScanTemplateToken(!1))?d.pop():e.Debug.assertEqual(l,16,"Should have been a template middle."):(e.Debug.assertEqual(t,18,"Should have been an open brace"),d.pop())}break;default:if(!e.isKeyword(l))break;(24===u||e.isKeyword(u)&&e.isKeyword(l)&&!function(n,t){if(!e.isAccessibilityModifier(n))return!0;switch(t){case 134:case 145:case 132:case 123:return!0;default:return!1}}(u,l))&&(l=78)}}return{endOfLineState:g,spans:y}}return{getClassificationsForLine:function(n,t,r){return function(n,t){for(var r=[],i=n.spans,o=0,s=0;s<i.length;s+=3){var c=i[s],l=i[s+1],u=i[s+2];if(o>=0){var d=c-o;d>0&&r.push({length:d,classification:e.TokenClass.Whitespace})}r.push({length:l,classification:a(u)}),o=c+l}var p=t.length-o;p>0&&r.push({length:p,classification:e.TokenClass.Whitespace});return{entries:r,finalLexState:n.endOfLineState}}(s(n,t,r),n)},getEncodedLexicalClassifications:s}};var n=e.arrayToNumericMap([78,10,8,9,13,107,45,46,21,23,19,109,94],(function(e){return e}),(function(){return!0}));function t(n,t,r){switch(t){case 10:if(!n.isUnterminated())return;for(var a=n.getTokenText(),i=a.length-1,o=0;92===a.charCodeAt(i-o);)o++;if(0==(1&o))return;return 34===a.charCodeAt(0)?3:2;case 3:return n.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(t)){if(!n.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}function r(e,n,t,r,a){if(8!==r){0===e&&t>0&&(e+=t);var i=n-e;i>0&&a.push(e-t,i,r)}}function a(n){switch(n){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return}}function i(n){if(e.isKeyword(n))return 3;if(function(e){switch(e){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 101:case 100:case 126:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 77:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:case 74:case 75:case 76:return!0;default:return!1}}(n)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(n))return 5;if(n>=18&&n<=77)return 10;switch(n){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 78:default:return e.isTemplateLiteralKind(n)?6:2}}function o(e,n){switch(n){case 253:case 249:case 250:case 248:case 218:case 205:case 206:e.throwIfCancellationRequested()}}function s(n,t,r,a,i){var s=[];return r.forEachChild((function c(l){if(l&&e.textSpanIntersectsWith(i,l.pos,l.getFullWidth())){if(o(t,l.kind),e.isIdentifier(l)&&!e.nodeIsMissing(l)&&a.has(l.escapedText)){var u=n.getSymbolAtLocation(l),d=u&&function n(t,r,a){var i=t.getFlags();return 0==(2885600&i)?void 0:32&i?11:384&i?12:524288&i?16:1536&i?4&r||1&r&&function(n){return e.some(n.declarations,(function(n){return e.isModuleDeclaration(n)&&1===e.getModuleInstanceState(n)}))}(t)?14:void 0:2097152&i?n(a.getAliasedSymbol(t),r,a):2&r?64&i?13:262144&i?15:void 0:void 0}(u,e.getMeaningFromLocation(l),n);d&&function(n,t,r){var a=t-n;e.Debug.assert(a>0,"Classification had non-positive length of "+a),s.push(n),s.push(a),s.push(r)}(l.getStart(r),l.getEnd(),d)}l.forEachChild(c)}})),{spans:s,endOfLineState:0}}function c(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function l(n){e.Debug.assert(n.spans.length%3==0);for(var t=n.spans,r=[],a=0;a<t.length;a+=3)r.push({textSpan:e.createTextSpan(t[a],t[a+1]),classificationType:c(t[a+2])});return r}function u(n,t,r){var a=r.start,i=r.length,s=e.createScanner(99,!1,t.languageVariant,t.text),c=e.createScanner(99,!1,t.languageVariant,t.text),l=[];return h(t),{spans:l,endOfLineState:0};function u(e,n,t){l.push(e),l.push(n),l.push(t)}function d(n,r,a,i){if(3===r){var o=e.parseIsolatedJSDocComment(t.text,a,i);if(o&&o.jsDoc)return e.setParent(o.jsDoc,n),void function(e){var n=e.pos;if(e.tags)for(var t=0,r=e.tags;t<r.length;t++){var a=r[t];switch(a.pos!==n&&p(n,a.pos-n),u(a.pos,1,10),u(a.tagName.pos,a.tagName.end-a.tagName.pos,18),n=a.tagName.end,a.kind){case 322:i(a);break;case 326:f(a),n=a.end;break;case 325:case 323:h(a.typeExpression),n=a.end}}n!==e.end&&p(n,e.end-n);return;function i(e){e.isNameFirst&&(p(n,e.name.pos-n),u(e.name.pos,e.name.end-e.name.pos,17),n=e.name.end),e.typeExpression&&(p(n,e.typeExpression.pos-n),h(e.typeExpression),n=e.typeExpression.end),e.isNameFirst||(p(n,e.name.pos-n),u(e.name.pos,e.name.end-e.name.pos,17),n=e.name.end)}}(o.jsDoc)}else if(2===r&&function(n,r){var a=/(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,i=t.text.substr(n,r),o=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im.exec(i);if(!o)return!1;if(!o[3]||!(o[3]in e.commentPragmas))return!1;var s=n;p(s,o[1].length),u(s+=o[1].length,o[2].length,10),u(s+=o[2].length,o[3].length,21),s+=o[3].length;var c=o[4],l=s;for(;;){var d=a.exec(c);if(!d)break;var f=s+d.index;f>l&&(p(l,f-l),l=f),u(l,d[1].length,22),l+=d[1].length,d[2].length&&(p(l,d[2].length),l+=d[2].length),u(l,d[3].length,5),l+=d[3].length,d[4].length&&(p(l,d[4].length),l+=d[4].length),u(l,d[5].length,24),l+=d[5].length}(s+=o[4].length)>l&&p(l,s-l);o[5]&&(u(s,o[5].length,10),s+=o[5].length);var m=n+r;s<m&&p(s,m-s);return!0}(a,i))return;p(a,i)}function p(e,n){u(e,n,1)}function f(e){for(var n=0,t=e.getChildren();n<t.length;n++){h(t[n])}}function m(n,t,r){var a;for(a=t;a<r&&!e.isLineBreak(n.charCodeAt(a));a++);for(u(t,a-t,1),c.setTextPos(a);c.getTextPos()<r;)_()}function _(){var e=c.getTextPos(),n=c.scan(),t=c.getTextPos(),r=y(n);r&&u(e,t-e,r)}function g(n){if(e.isJSDoc(n))return!0;if(e.nodeIsMissing(n))return!0;var r=function(e){switch(e.parent&&e.parent.kind){case 272:if(e.parent.tagName===e)return 19;break;case 273:if(e.parent.tagName===e)return 20;break;case 271:if(e.parent.tagName===e)return 21;break;case 277:if(e.parent.name===e)return 22}return}(n);if(!e.isToken(n)&&11!==n.kind&&void 0===r)return!1;var a=11===n.kind?n.pos:function(n){for(s.setTextPos(n.pos);;){var r=s.getTextPos();if(!e.couldStartTrivia(t.text,r))return r;var a=s.scan(),i=s.getTextPos(),o=i-r;if(!e.isTrivia(a))return r;switch(a){case 4:case 5:continue;case 2:case 3:d(n,a,r,o),s.setTextPos(i);continue;case 7:var c=t.text,l=c.charCodeAt(r);if(60===l||62===l){u(r,o,1);continue}e.Debug.assert(124===l||61===l),m(c,r,i);break;case 6:break;default:e.Debug.assertNever(a)}}}(n),i=n.end-a;if(e.Debug.assert(i>=0),i>0){var o=r||y(n.kind,n);o&&u(a,i,o)}return!0}function y(n,t){if(e.isKeyword(n))return 3;if((29===n||31===n)&&t&&e.getTypeArgumentOrTypeParameterList(t.parent))return 10;if(e.isPunctuation(n)){if(t){var r=t.parent;if(62===n&&(246===r.kind||162===r.kind||159===r.kind||277===r.kind))return 5;if(213===r.kind||211===r.kind||212===r.kind||214===r.kind)return 5}return 10}if(8===n)return 4;if(9===n)return 25;if(10===n)return t&&277===t.parent.kind?24:6;if(13===n)return 6;if(e.isTemplateLiteralKind(n))return 6;if(11===n)return 23;if(78===n){if(t)switch(t.parent.kind){case 249:return t.parent.name===t?11:void 0;case 158:return t.parent.name===t?15:void 0;case 250:return t.parent.name===t?13:void 0;case 252:return t.parent.name===t?12:void 0;case 253:return t.parent.name===t?14:void 0;case 159:return t.parent.name===t?e.isThisIdentifier(t)?3:17:void 0}return 2}}function h(r){if(r&&e.decodedTextSpanIntersectsWith(a,i,r.pos,r.getFullWidth())){o(n,r.kind);for(var s=0,c=r.getChildren(t);s<c.length;s++){var l=c[s];g(l)||h(l)}}}}e.getSemanticClassifications=function(e,n,t,r,a){return l(s(e,n,t,r,a))},e.getEncodedSemanticClassifications=s,e.getSyntacticClassifications=function(e,n,t){return l(u(e,n,t))},e.getEncodedSyntacticClassifications=u}(p||(p={})),function(e){!function(n){!function(t){function r(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map((function(e){var t=e.name,r=e.kind,i=e.span;return{name:t,kind:r,kindModifiers:a(e.extension),sortText:n.SortText.LocationPriority,replacementSpan:i}}))}}function a(n){switch(n){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return e.Debug.assertNever(n)}}var i;function s(n,t,r,a,i,o){var s,u,d=t.parent;switch(d.kind){case 190:switch(d.parent.kind){case 172:return{kind:2,types:l(a.getTypeArgumentConstraint(d)),isNewIdentifier:!1};case 188:return c(a.getTypeFromTypeNode(d.parent.objectType));case 192:return{kind:0,paths:f(n,t,i,o,a)};case 181:if(!e.isTypeReferenceNode(d.parent.parent))return;var p=(s=d.parent,u=d,e.mapDefined(s.types,(function(n){return n!==u&&e.isLiteralTypeNode(n)&&e.isStringLiteral(n.literal)?n.literal.text:void 0})));return{kind:2,types:l(a.getTypeArgumentConstraint(d.parent)).filter((function(n){return!e.contains(p,n.value)})),isNewIdentifier:!1};default:return}case 285:return e.isObjectLiteralExpression(d.parent)&&d.name===t?c(a.getContextualType(d.parent)):h();case 199:var m=d,_=m.expression,g=m.argumentExpression;return t===g?c(a.getTypeAtLocation(_)):void 0;case 200:case 201:if(!e.isRequireCall(d,!1)&&!e.isImportCall(d)){var y=e.SignatureHelp.getArgumentInfoForCompletions(t,r,n);return y?function(n,t){var r=!1,a=new e.Map,i=[];return t.getResolvedSignature(n.invocation,i,n.argumentCount),{kind:2,types:e.flatMap(i,(function(i){if(e.signatureHasRestParameter(i)||!(n.argumentCount>i.parameters.length)){var o=t.getParameterType(i,n.argumentIndex);return r=r||!!(4&o.flags),l(o,a)}})),isNewIdentifier:r}}(y,a):h()}case 258:case 264:case 269:return{kind:0,paths:f(n,t,i,o,a)};default:return h()}function h(){return{kind:2,types:l(e.getContextualTypeFromParent(t,a)),isNewIdentifier:!1}}}function c(n){return n&&{kind:1,symbols:e.filter(n.getApparentProperties(),(function(n){return!(n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration))})),hasIndexSignature:e.hasIndexSignature(n)}}function l(n,t){return void 0===t&&(t=new e.Map),n?(n=e.skipConstraint(n)).isUnion()?e.flatMap(n.types,(function(e){return l(e,t)})):!n.isStringLiteral()||1024&n.flags||!e.addToSeen(t,n.value)?e.emptyArray:[n]:e.emptyArray}function u(e,n,t){return{name:e,kind:n,extension:t}}function d(e){return u(e,"directory",void 0)}function p(n,t,r){var a=function(n,t){var r=Math.max(n.lastIndexOf(e.directorySeparator),n.lastIndexOf("\\")),a=-1!==r?r+1:0,i=n.length-a;return 0===i||e.isIdentifierText(n.substr(a,i),99)?void 0:e.createTextSpan(t+a,i)}(n,t);return r.map((function(e){return{name:e.name,kind:e.kind,extension:e.extension,span:a}}))}function f(n,t,r,a,i){return p(t.text,t.getStart(n)+1,function(n,t,r,a,i){var s=e.normalizeSlashes(t.text),c=n.path,l=e.getDirectoryPath(c);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}(s)||!r.baseUrl&&(e.isRootedDiskPath(s)||e.isUrl(s))?function(n,t,r,a,i){var s=m(r);return r.rootDirs?function(n,t,r,a,i,s,c){var l=i.project||s.getCurrentDirectory(),u=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames()),d=function(n,t,r,a){n=n.map((function(n){return e.normalizePath(e.isRootedDiskPath(n)?n:e.combinePaths(t,n))}));var i=e.firstDefined(n,(function(n){return e.containsPath(n,r,t,a)?r.substr(n.length):void 0}));return e.deduplicate(o(n.map((function(n){return e.combinePaths(n,i)})),[r]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(n,l,r,u);return e.flatMap(d,(function(e){return g(t,e,a,s,c)}))}(r.rootDirs,n,t,s,r,a,i):g(n,t,s,a,i)}(s,l,r,a,c):function(n,t,r,a,i){var o=r.baseUrl,s=r.paths,c=[],l=m(r);if(o){var d=r.project||a.getCurrentDirectory(),p=e.normalizePath(e.combinePaths(d,o));g(n,p,l,a,void 0,c),s&&y(c,n,p,l.extensions,s,a)}for(var f=h(n),_=0,v=function(n,t,r){var a=r.getAmbientModules().map((function(n){return e.stripQuotes(n.name)})).filter((function(t){return e.startsWith(t,n)}));if(void 0!==t){var i=e.ensureTrailingDirectorySeparator(t);return a.map((function(n){return e.removePrefix(n,i)}))}return a}(n,f,i);_<v.length;_++){var E=v[_];c.push(u(E,"external module name",void 0))}if(b(a,r,t,f,l,c),e.getEmitModuleResolutionKind(r)===e.ModuleResolutionKind.NodeJs){var S=!1;if(void 0===f)for(var L=function(e){c.some((function(n){return n.name===e}))||(S=!0,c.push(u(e,"external module name",void 0)))},x=0,A=function(n,t){if(!n.readFile||!n.fileExists)return e.emptyArray;for(var r=[],a=0,i=e.findPackageJsons(t,n);a<i.length;a++)for(var o=i[a],s=e.readJson(o,n),c=0,l=T;c<l.length;c++){var u=l[c],d=s[u];if(d)for(var p in d)d.hasOwnProperty(p)&&!e.startsWith(p,"@types/")&&r.push(p)}return r}(a,t);x<A.length;x++){var D=A[x];L(D)}S||e.forEachAncestorDirectory(t,(function(t){var r=e.combinePaths(t,"node_modules");e.tryDirectoryExists(a,r)&&g(n,r,l,a,void 0,c)}))}return c}(s,l,r,a,i)}(n,t,r,a,i))}function m(e,n){return void 0===n&&(n=!1),{extensions:_(e),includeExtensions:n}}function _(n){var t=e.getSupportedExtensions(n);return n.resolveJsonModule&&e.getEmitModuleResolutionKind(n)===e.ModuleResolutionKind.NodeJs?t.concat(".json"):t}function g(n,t,r,a,i,o){var s=r.extensions,c=r.includeExtensions;void 0===o&&(o=[]),void 0===n&&(n=""),n=e.normalizeSlashes(n),e.hasTrailingDirectorySeparator(n)||(n=e.getDirectoryPath(n)),""===n&&(n="."+e.directorySeparator),n=e.ensureTrailingDirectorySeparator(n);var l=e.resolvePath(t,n),p=e.hasTrailingDirectorySeparator(l)?l:e.getDirectoryPath(l),f=!(a.useCaseSensitiveFileNames&&a.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(a,p))return o;var m=e.tryReadDirectory(a,p,s,void 0,["./*"]);if(m){for(var _=new e.Map,g=0,h=m;g<h.length;g++){var v=h[g];if(v=e.normalizePath(v),!i||0!==e.comparePaths(v,i,t,f)){var b=c||e.fileExtensionIs(v,".json")?e.getBaseFileName(v):e.removeFileExtension(e.getBaseFileName(v));_.set(b,e.tryGetExtensionFromPath(v))}}_.forEach((function(e,n){o.push(u(n,"script",e))}))}var E=e.tryGetDirectories(a,p);if(E)for(var T=0,S=E;T<S.length;T++){var L=S[T],x=e.getBaseFileName(e.normalizePath(L));"@types"!==x&&o.push(d(x))}var A=e.findPackageJson(p,a);if(A){var D=e.readJson(A,a).typesVersions;if("object"==typeof D){var C=e.getPackageJsonTypesVersionsPaths(D),I=C&&C.paths,N=l.slice(e.ensureTrailingDirectorySeparator(p).length);I&&y(o,N,p,s,I,a)}}return o}function y(n,t,r,a,i,o){for(var s in i)if(e.hasProperty(i,s)){var c=i[s];if(c)for(var l=function(e,t,r){n.some((function(n){return n.name===e}))||n.push(u(e,t,r))},d=0,p=v(s,c,t,r,a,o);d<p.length;d++){var f=p[d];l(f.name,f.kind,f.extension)}}}function h(n){return S(n)?e.hasTrailingDirectorySeparator(n)?n:e.getDirectoryPath(n):void 0}function v(n,t,r,a,i,s){if(!e.endsWith(n,"*"))return e.stringContains(n,"*")?e.emptyArray:p(n);var c=n.slice(0,n.length-1),l=e.tryRemovePrefix(r,c);return void 0===l?p(c):e.flatMap(t,(function(n){return function(n,t,r,a,i){if(!i.readDirectory)return;var s=e.hasZeroOrOneAsteriskCharacter(r)?e.tryParsePattern(r):void 0;if(!s)return;var c=e.resolvePath(s.prefix),l=e.hasTrailingDirectorySeparator(s.prefix)?c:e.getDirectoryPath(c),p=e.hasTrailingDirectorySeparator(s.prefix)?"":e.getBaseFileName(c),f=S(n),m=f?e.hasTrailingDirectorySeparator(n)?n:e.getDirectoryPath(n):void 0,_=f?e.combinePaths(l,p+m):l,g=e.normalizePath(s.suffix),y=e.normalizePath(e.combinePaths(t,_)),h=f?y:e.ensureTrailingDirectorySeparator(y)+p,v=g?"**/*":"./*",b=e.mapDefined(e.tryReadDirectory(i,y,a,void 0,[v]),(function(n){var t=e.tryGetExtensionFromPath(n),r=T(n);return void 0===r?void 0:u(e.removeFileExtension(r),"script",t)})),E=e.mapDefined(e.tryGetDirectories(i,y).map((function(n){return e.combinePaths(y,n)})),(function(e){var n=T(e);return void 0===n?void 0:d(n)}));return o(b,E);function T(n){var t,r,a,i=(t=e.normalizePath(n),r=h,a=g,e.startsWith(t,r)&&e.endsWith(t,a)?t.slice(r.length,t.length-a.length):void 0);return void 0===i?void 0:function(n){return n[0]===e.directorySeparator?n.slice(1):n}(i)}}(l,a,n,i,s)}));function p(n){return e.startsWith(n,r)?[d(n)]:e.emptyArray}}function b(n,t,r,a,i,o){void 0===o&&(o=[]);for(var s=new e.Map,c=0,l=e.tryAndIgnoreErrors((function(){return e.getEffectiveTypeRoots(t,n)}))||e.emptyArray;c<l.length;c++){m(l[c])}for(var d=0,p=e.findPackageJsons(r,n);d<p.length;d++){var f=p[d];m(e.combinePaths(e.getDirectoryPath(f),"node_modules/@types"))}return o;function m(r){if(e.tryDirectoryExists(n,r))for(var c=0,l=e.tryGetDirectories(n,r);c<l.length;c++){var d=l[c],p=e.unmangleScopedPackageName(d);if(!t.types||e.contains(t.types,p))if(void 0===a)s.has(p)||(o.push(u(p,"external module name",void 0)),s.set(p,!0));else{var f=e.combinePaths(r,d),m=e.tryRemoveDirectoryPrefix(a,p,e.hostGetCanonicalFileName(n));void 0!==m&&g(m,f,i,n,void 0,o)}}}}t.getStringLiteralCompletions=function(t,a,i,o,c,l,u,d){if(e.isInReferenceComment(t,a))return(f=function(n,t,r,a){var i=e.getTokenAtPosition(n,t),o=e.getLeadingCommentRanges(n.text,i.pos),s=o&&e.find(o,(function(e){return t>=e.pos&&t<=e.end}));if(!s)return;var c=n.text.slice(s.pos,t),l=E.exec(c);if(!l)return;var u=l[1],d=l[2],f=l[3],_=e.getDirectoryPath(n.path),y="path"===d?g(f,_,m(r,!0),a,n.path):"types"===d?b(a,r,_,h(f),m(r)):e.Debug.fail();return p(f,s.pos+u.length,y)}(t,a,c,l))&&r(f);if(e.isInString(t,a,i)){if(!i||!e.isStringLiteralLike(i))return;var f;return function(t,a,i,o,s,c){if(void 0===t)return;switch(t.kind){case 0:return r(t.paths);case 1:var l=[];return n.getCompletionEntriesFromSymbols(t.symbols,l,a,i,i,o,99,s,4,c),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:t.hasIndexSignature,entries:l};case 2:l=t.types.map((function(n){return{name:n.value,kindModifiers:"",kind:"string",sortText:"0",replacementSpan:e.getReplacementSpanForContextToken(a)}}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,entries:l};default:return e.Debug.assertNever(t)}}(f=s(t,i,a,o,c,l),i,t,o,u,d)}},t.getStringLiteralCompletionDetails=function(t,r,i,o,c,l,u,d){if(o&&e.isStringLiteralLike(o)){var p=s(r,o,i,c,l,u);return p&&function(t,r,i,o,s,c){switch(i.kind){case 0:return(l=e.find(i.paths,(function(e){return e.name===t})))&&n.createCompletionDetails(t,a(l.extension),l.kind,[e.textPart(t)]);case 1:var l;return(l=e.find(i.symbols,(function(e){return e.name===t})))&&n.createCompletionDetailsForSymbol(l,s,o,r,c);case 2:return e.find(i.types,(function(e){return e.value===t}))?n.createCompletionDetails(t,"","type",[e.textPart(t)]):void 0;default:return e.Debug.assertNever(i)}}(t,o,p,r,c,d)}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(i||(i={}));var E=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,T=["dependencies","devDependencies","peerDependencies","optionalDependencies"];function S(n){return e.stringContains(n,e.directorySeparator)}}(n.StringCompletions||(n.StringCompletions={}))}(e.Completions||(e.Completions={}))}(p||(p={})),function(e){!function(n){var t,r,a,i,o,s;function c(e){return!!(e&&4&e.kind)}function l(e){return c(e)&&!!e.isFromPackageJson}function u(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function d(n,t){return e.isSourceFileJS(n)&&!e.isCheckJsEnabledForFile(n,t)}function p(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function f(n,t){return"object"==typeof n?e.pseudoBigIntToString(n)+"n":e.isString(n)?e.quote(n,t):JSON.stringify(n)}function m(e,n){return{name:f(e,n),kind:"string",kindModifiers:"",sortText:t.LocationPriority}}function _(n,t,r,a,i,o,s,u,d,p,f,m,_){var v,b=e.getReplacementSpanForContextToken(r),E=d&&function(e){return!!(16&e.kind)}(d),T=d&&function(e){return!!(2&e.kind)}(d)||u;if(d&&function(e){return!!(1&e.kind)}(d))v=u?"this"+(E?"?.":"")+"["+g(s,_)+"]":"this"+(E?"?.":".")+s;else if((T||E)&&f){v=T?u?"["+g(s,_)+"]":"["+s+"]":s,(E||f.questionDotToken)&&(v="?."+v);var S=e.findChildOfKind(f,24,i)||e.findChildOfKind(f,28,i);if(!S)return;var L=e.startsWith(s,f.name.text)?f.name.end:S.end;b=e.createTextSpanFromBounds(S.getStart(i),L)}if(m&&(void 0===v&&(v=s),v="{"+v+"}","boolean"!=typeof m&&(b=e.createTextSpanFromNode(m,i))),d&&function(e){return!!(8&e.kind)}(d)&&f){void 0===v&&(v=s);var x=e.findPrecedingToken(f.pos,i),A="";x&&e.positionIsASICandidate(x.end,x.parent,i)&&(A=";"),A+="(await "+f.expression.getText()+")",v=u?""+A+v:A+(E?"?.":".")+v,b=e.createTextSpanFromBounds(f.getStart(i),f.end)}if(void 0===v||_.includeCompletionsWithInsertText)return{name:s,kind:e.SymbolDisplay.getSymbolKind(o,n,a),kindModifiers:e.SymbolDisplay.getSymbolModifiers(n),sortText:t,source:h(d),hasAction:d&&c(d)||void 0,isRecommended:y(n,p,o)||void 0,insertText:v,replacementSpan:b,isPackageJsonImport:l(d)||void 0}}function g(n,t){return/^\d+$/.test(n)?n:e.quote(n,t)}function y(e,n,t){return e===n||!!(1048576&e.flags)&&t.getExportSymbolOfSymbol(e)===n}function h(n){return c(n)?e.stripQuotes(n.moduleSymbol.name):1===(null==n?void 0:n.kind)?r.ThisProperty:void 0}function v(n,r,a,i,o,s,c,l,u,d,p,f,m,g,y,h){for(var v=e.timestamp(),b=new e.Map,E=0,T=n;E<T.length;E++){var S=T[E],L=y?y[e.getSymbolId(S)]:void 0,x=A(S,c,L,u,!!f);if(x){var D=x.name,C=x.needsConvertPropertyAccess;if(!b.get(D)){var I=_(S,h&&h[e.getSymbolId(S)]||t.LocationPriority,a,i,o,s,D,C,L,g,p,m,d);if(I){var N=!(L||void 0===S.parent&&!e.some(S.declarations,(function(e){return e.getSourceFile()===i.getSourceFile()})));b.set(D,N),r.push(I)}}}}return l("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(e.timestamp()-v)),{has:function(e){return b.has(e)},add:function(e){return b.set(e,!0)}}}function b(n,t,r,a,i,o,s){var c=n.getCompilerOptions(),l=x(n,t,r,d(r,c),a,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},i,o);if(!l)return{type:"none"};if(0!==l.kind)return{type:"request",request:l};var u=l.symbols,p=l.literals,m=l.location,_=l.completionKind,g=l.symbolToOriginInfoMap,y=l.previousToken,v=l.isJsxInitializer,b=l.isTypeOnlyLocation,E=e.find(p,(function(e){return f(e,s)===i.name}));return void 0!==E?{type:"literal",literal:E}:e.firstDefined(u,(function(n){var t=g[e.getSymbolId(n)],r=A(n,c.target,t,_,l.isJsxIdentifierExpected);return r&&r.name===i.name&&h(t)===i.source?{type:"symbol",symbol:n,location:m,symbolToOriginInfoMap:g,previousToken:y,isJsxInitializer:v,isTypeOnlyLocation:b}:void 0}))||{type:"none"}}function E(n,t,r){return S(n,"",t,[e.displayPart(n,r)])}function T(n,t,r,a,i,o,s){var c=t.runWithCancellationToken(i,(function(t){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,n,r,a,a,7)})),l=c.displayParts,u=c.documentation,d=c.symbolKind,p=c.tags;return S(n.name,e.SymbolDisplay.getSymbolModifiers(n),d,l,u,p,o,s)}function S(e,n,t,r,a,i,o,s){return{name:e,kindModifiers:n,kind:t,displayParts:r,documentation:a,tags:i,codeActions:o,source:s}}function L(n,t,r){var a=r.getAccessibleSymbolChain(n,t,67108863,!1);return a?e.first(a):n.parent&&(function(e){return e.declarations.some((function(e){return 294===e.kind}))}(n.parent)?n:L(n.parent,t,r))}function x(n,r,a,i,o,s,c,l){var u=n.getTypeChecker(),d=e.timestamp(),p=e.getTokenAtPosition(a,o);r("getCompletionData: Get current token: "+(e.timestamp()-d)),d=e.timestamp();var f=e.isInComment(a,o,p);r("getCompletionData: Is inside comment: "+(e.timestamp()-d));var m=!1,_=!1;if(f){if(e.hasDocComment(a,o)){if(64===a.text.charCodeAt(o-1))return{kind:1};var g=e.getLineStartPositionForPosition(o,a);if(!/[^\*|\s(/)]/.test(a.text.substring(g,o)))return{kind:2}}var y=function(n,t){var r=e.findAncestor(n,e.isJSDoc);return r&&r.tags&&(e.rangeContainsPosition(r,t)?e.findLast(r.tags,(function(e){return e.pos<t})):void 0)}(p,o);if(y){if(y.tagName.pos<=o&&o<=y.tagName.end)return{kind:1};if(function(e){switch(e.kind){case 322:case 328:case 323:case 325:case 327:return!0;default:return!1}}(y)&&y.typeExpression&&298===y.typeExpression.kind&&((p=e.getTokenAtPosition(a,o))&&(e.isDeclarationName(p)||328===p.parent.kind&&p.parent.name===p)||(m=de(y.typeExpression))),!m&&e.isJSDocParameterTag(y)&&(e.nodeIsMissing(y.name)||y.name.pos<=o&&o<=y.name.end))return{kind:3,tag:y}}if(!m)return void r("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}d=e.timestamp();var h=e.findPrecedingToken(o,a,void 0);r("getCompletionData: Get previous token 1: "+(e.timestamp()-d));var v=h;if(v&&o<=v.end&&(e.isIdentifierOrPrivateIdentifier(v)||e.isKeyword(v.kind))){var b=e.timestamp();v=e.findPrecedingToken(v.getFullStart(),a,void 0),r("getCompletionData: Get previous token 2: "+(e.timestamp()-b))}var E,T=p,S=!1,x=!1,A=!1,D=!1,C=!1,I=!1,k=e.getTouchingPropertyName(a,o);if(v){if(function(n){var t=e.timestamp(),i=function(n){return(e.isRegularExpressionLiteral(n)||e.isStringTextContainingNode(n))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(n)),o)||o===n.end&&(!!n.isUnterminated||e.isRegularExpressionLiteral(n)))}(n)||function(n){var t=n.parent,r=t.kind;switch(n.kind){case 27:return 246===r||function(n){return 247===n.parent.kind&&!e.isPossiblyTypeArgumentPosition(n,a,u)}(n)||229===r||252===r||se(r)||250===r||194===r||251===r||e.isClassLike(t)&&!!t.typeParameters&&t.typeParameters.end>=n.pos;case 24:return 194===r;case 58:return 195===r;case 22:return 194===r;case 20:return 284===r||se(r);case 18:return 252===r;case 29:return 249===r||218===r||250===r||251===r||e.isFunctionLikeKind(r);case 123:return 162===r&&!e.isClassLike(t.parent);case 25:return 159===r||!!t.parent&&194===t.parent.kind;case 122:case 120:case 121:return 159===r&&!e.isConstructorDeclaration(t.parent);case 126:return 262===r||267===r||260===r;case 134:case 145:return!w(n);case 83:case 91:case 117:case 97:case 112:case 99:case 118:case 84:case 148:return!0;case 41:return e.isFunctionLike(n.parent)&&!e.isMethodDeclaration(n.parent)}if(R(O(n))&&w(n))return!1;if(oe(n)&&(!e.isIdentifier(n)||e.isParameterPropertyModifier(O(n))||de(n)))return!1;switch(O(n)){case 125:case 83:case 84:case 133:case 91:case 97:case 117:case 118:case 120:case 121:case 122:case 123:case 112:return!0;case 129:return e.isPropertyDeclaration(n.parent)}return e.isDeclarationName(n)&&!e.isJsxAttribute(n.parent)&&!(e.isClassLike(n.parent)&&(n!==h||o>h.end))}(n)||function(e){if(8===e.kind){var n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}(n)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(272===e.parent.kind)return 272!==k.parent.kind;if(273===e.parent.kind||271===e.parent.kind)return!!e.parent.parent&&270===e.parent.parent.kind}return!1}(n);return r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-t)),i}(v))return void r("Returning an empty list because completion was requested in an invalid position.");var G=v.parent;if(24===v.kind||28===v.kind)switch(S=24===v.kind,x=28===v.kind,G.kind){case 198:if(T=(E=G).expression,(e.isCallExpression(T)||e.isFunctionLike(T))&&T.end===v.pos&&T.getChildCount(a)&&21!==e.last(T.getChildren(a)).kind)return;break;case 156:T=G.left;break;case 253:T=G.name;break;case 192:case 223:T=G;break;default:return}else if(1===a.languageVariant){if(G&&198===G.kind&&(v=G,G=G.parent),p.parent===k)switch(p.kind){case 31:270!==p.parent.kind&&272!==p.parent.kind||(k=p);break;case 43:271===p.parent.kind&&(k=p)}switch(G.kind){case 273:43===v.kind&&(D=!0,k=v);break;case 213:if(!F(G))break;case 271:case 270:case 272:I=!0,29===v.kind&&(A=!0,k=v);break;case 277:switch(h.kind){case 62:C=!0;break;case 78:I=!0,G!==h.parent&&!G.initializer&&e.findChildOfKind(G,62,a)&&(C=h)}}}}var B=e.timestamp(),U=5,V=!1,j=0,K=[],H=[],W=[],q=l.getImportSuggestionsCache&&l.getImportSuggestionsCache(),z=re();if(S||x)!function(){U=2;var n=e.isLiteralImportTypeNode(T),t=m||n&&!T.isTypeOf||e.isPartOfTypeNode(T.parent)||e.isPossiblyTypeArgumentPosition(v,a,u),r=e.isInRightSideOfInternalImportEqualsDeclaration(T);if(e.isEntityName(T)||n){var i=e.isModuleDeclaration(T.parent);i&&(V=!0);var o=u.getSymbolAtLocation(T);if(o&&1920&(o=e.skipAlias(o,u)).flags){var c=u.getExportsOfModule(o);e.Debug.assertEachIsDefined(c,"getExportsOfModule() should all be defined");for(var l=function(e){return u.isValidPropertyAccess(n?T:T.parent,e.name)},d=function(e){return ae(e)},p=i?function(e){return!!(1920&e.flags)&&!e.declarations.every((function(e){return e.parent===T.parent}))}:r?function(e){return d(e)||l(e)}:t?d:l,f=0,_=c;f<_.length;f++){var g=_[f];p(g)&&K.push(g)}if(!t&&o.declarations&&o.declarations.some((function(e){return 294!==e.kind&&253!==e.kind&&252!==e.kind}))){var y=u.getTypeOfSymbolAtLocation(o,T).getNonOptionalType(),h=!1;if(y.isNullableType())((E=S&&!x&&!1!==s.includeAutomaticOptionalChainCompletions)||x)&&(y=y.getNonNullableType(),E&&(h=!0));ee(y,!!(32768&T.flags),h)}return}}if(e.isMetaProperty(T)&&(102===T.keywordToken||99===T.keywordToken)&&v===T.getChildAt(1)){var b=102===T.keywordToken?"target":"meta";return void K.push(u.createSymbol(4,e.escapeLeadingUnderscores(b)))}if(!t){var E;y=u.getTypeAtLocation(T).getNonOptionalType(),h=!1;if(y.isNullableType())((E=S&&!x&&!1!==s.includeAutomaticOptionalChainCompletions)||x)&&(y=y.getNonNullableType(),E&&(h=!0));ee(y,!!(32768&T.flags),h)}}();else if(A){var J=u.getJsxIntrinsicTagNamesAt(k);e.Debug.assertEachIsDefined(J,"getJsxIntrinsicTagNames() should all be defined"),te(),K=J.concat(K),U=3,j=0}else if(D){var X=v.parent.parent.openingElement.tagName,Y=u.getSymbolAtLocation(X);Y&&(K=[Y]),U=3,j=0}else if(!te())return;r("getCompletionData: Semantic work: "+(e.timestamp()-B));var Q=h&&function(n,t,r,a){var i=n.parent;switch(n.kind){case 78:return e.getContextualTypeFromParent(n,a);case 62:switch(i.kind){case 246:return a.getContextualType(i.initializer);case 213:return a.getTypeAtLocation(i.left);case 277:return a.getContextualTypeForJsxAttribute(i);default:return}case 102:return a.getContextualType(i);case 81:return e.getSwitchedType(e.cast(i,e.isCaseClause),a);case 18:return e.isJsxExpression(i)&&270!==i.parent.kind?a.getContextualTypeForJsxAttribute(i.parent):void 0;default:var o=e.SignatureHelp.getArgumentInfoForCompletions(n,t,r);return o?a.getContextualTypeForArgumentAtIndex(o.invocation,o.argumentIndex+(27===n.kind?1:0)):e.isEqualityOperatorKind(n.kind)&&e.isBinaryExpression(i)&&e.isEqualityOperatorKind(i.operatorToken.kind)?a.getTypeAtLocation(i.left):a.getContextualType(n)}}(h,o,a,u),Z=e.mapDefined(Q&&(Q.isUnion()?Q.types:[Q]),(function(e){return e.isLiteral()?e.value:void 0})),$=h&&Q&&function(n,t,r){return e.firstDefined(t&&(t.isUnion()?t.types:[t]),(function(t){var a=t&&t.symbol;return a&&424&a.flags&&!e.isAbstractConstructorSymbol(a)?L(a,n,r):void 0}))}(h,Q,u);return{kind:0,symbols:K,completionKind:U,isInSnippetScope:_,propertyAccessToConvert:E,isNewIdentifierLocation:V,location:k,keywordFilters:j,literals:Z,symbolToOriginInfoMap:H,recommendedCompletion:$,previousToken:h,isJsxInitializer:C,insideJsDocTagTypeExpression:m,symbolToSortTextMap:W,isTypeOnlyLocation:z,isJsxIdentifierExpected:I};function ee(n,t,r){V=!!n.getStringIndexType(),x&&e.some(n.getCallSignatures())&&(V=!0);var a=192===T.kind?T:T.parent;if(i)K.push.apply(K,e.filter(M(n,u),(function(e){return u.isValidPropertyAccessForCompletions(a,n,e)})));else for(var o=0,c=n.getApparentProperties();o<c.length;o++){var l=c[o];u.isValidPropertyAccessForCompletions(a,n,l)&&ne(l,!1,r)}if(t&&s.includeCompletionsWithInsertText){var d=u.getPromisedTypeOfPromise(n);if(d)for(var p=0,f=d.getApparentProperties();p<f.length;p++){l=f[p];u.isValidPropertyAccessForCompletions(a,d,l)&&ne(l,!0,r)}}}function ne(n,t,r){var a=e.firstDefined(n.declarations,(function(n){return e.tryCast(e.getNameOfDeclaration(n),e.isComputedPropertyName)}));if(a){var i=function n(t){return e.isIdentifier(t)?t:e.isPropertyAccessExpression(t)?n(t.expression):void 0}(a.expression),o=i&&u.getSymbolAtLocation(i),c=o&&L(o,v,u);if(c&&!H[e.getSymbolId(c)]){K.push(c);var l=c.parent;H[e.getSymbolId(c)]=l&&e.isExternalModuleSymbol(l)?{kind:p(6),moduleSymbol:l,isDefaultExport:!1}:{kind:p(2)}}else s.includeCompletionsWithInsertText&&(d(n),K.push(n))}else d(n),K.push(n);function d(n){s.includeCompletionsWithInsertText&&(t&&!H[e.getSymbolId(n)]?H[e.getSymbolId(n)]={kind:p(8)}:r&&(H[e.getSymbolId(n)]={kind:16}))}function p(e){return r?16|e:e}}function te(){return 1===(function(){var n,t,r=function(n){if(n){var t=n.parent;switch(n.kind){case 18:case 27:if(e.isObjectLiteralExpression(t)||e.isObjectBindingPattern(t))return t;break;case 41:return e.isMethodDeclaration(t)?e.tryCast(t.parent,e.isObjectLiteralExpression):void 0;case 78:return"async"===n.text&&e.isShorthandPropertyAssignment(n.parent)?n.parent.parent:void 0}}return}(v);if(!r)return 0;if(U=0,197===r.kind){var a=u.getContextualType(r),i=a&&u.getContextualType(r,4);if(!a||!i)return 2;V=e.hasIndexSignature(a||i),n=P(a,i,r,u),t=r.properties}else{e.Debug.assert(193===r.kind),V=!1;var o=e.getRootDeclaration(r.parent);if(!e.isVariableLike(o))return e.Debug.fail("Root declaration is not variable-like.");var s=e.hasInitializer(o)||e.hasType(o)||236===o.parent.parent.kind;if(s||159!==o.kind||(e.isExpression(o.parent)?s=!!u.getContextualType(o.parent):164!==o.parent.kind&&167!==o.parent.kind||(s=e.isExpression(o.parent.parent)&&!!u.getContextualType(o.parent.parent))),s){var c=u.getTypeAtLocation(r);if(!c)return 2;var l=e.getContainingClass(r);n=u.getPropertiesOfType(c).filter((function(n){return!(24&e.getDeclarationModifierFlagsFromSymbol(n))||l&&e.contains(c.symbol.declarations,l)})),t=r.elements}}n&&n.length>0&&(K=function(n,t){if(0===t.length)return n;for(var r=new e.Set,a=new e.Set,i=0,o=t;i<o.length;i++){var s=o[i];if((285===s.kind||286===s.kind||195===s.kind||164===s.kind||166===s.kind||167===s.kind||287===s.kind)&&!de(s)){var c=void 0;if(e.isSpreadAssignment(s))ce(s,r);else if(e.isBindingElement(s)&&s.propertyName)78===s.propertyName.kind&&(c=s.propertyName.escapedText);else{var l=e.getNameOfDeclaration(s);c=l&&e.isPropertyNameLiteral(l)?e.getEscapedTextOfIdentifierOrLiteral(l):void 0}void 0!==c&&a.add(c)}}var u=n.filter((function(e){return!a.has(e.escapedName)}));return ue(r,u),u}(n,e.Debug.checkDefined(t)));return le(),1}()||function(){var n=!v||18!==v.kind&&27!==v.kind?void 0:e.tryCast(v.parent,e.isNamedImportsOrExports);if(!n)return 0;var t=(261===n.kind?n.parent.parent:n.parent).moduleSpecifier;if(!t)return 261===n.kind?2:0;var r=u.getSymbolAtLocation(t);if(!r)return 2;U=3,V=!1;var a=u.getExportsAndPropertiesOfModule(r),i=new e.Set(n.elements.filter((function(e){return!de(e)})).map((function(e){return(e.propertyName||e.name).escapedText})));return K=a.filter((function(e){return"default"!==e.escapedName&&!i.has(e.escapedName)})),1}()||function(){var n,r=!v||18!==v.kind&&27!==v.kind?void 0:e.tryCast(v.parent,e.isNamedExports);if(!r)return 0;var a=e.findAncestor(r,e.or(e.isSourceFile,e.isModuleDeclaration));return U=5,V=!1,null===(n=a.locals)||void 0===n||n.forEach((function(n,r){var i,o;K.push(n),(null===(o=null===(i=a.symbol)||void 0===i?void 0:i.exports)||void 0===o?void 0:o.has(r))&&(W[e.getSymbolId(n)]=t.OptionalMember)})),1}()||(function(n){if(n){var t=n.parent;switch(n.kind){case 20:case 27:return e.isConstructorDeclaration(n.parent)?n.parent:void 0;default:if(oe(n))return t.parent}}}(v)?(U=5,V=!0,j=4,1):0)||function(){var n=function(n,t,r,a){switch(r.kind){case 329:return e.tryCast(r.parent,e.isObjectTypeDeclaration);case 1:var i=e.tryCast(e.lastOrUndefined(e.cast(r.parent,e.isSourceFile).statements),e.isObjectTypeDeclaration);if(i&&!e.findChildOfKind(i,19,n))return i;break;case 78:if(e.isPropertyDeclaration(r.parent)&&r.parent.initializer===r)return;if(w(r))return e.findAncestor(r,e.isObjectTypeDeclaration)}if(!t)return;switch(t.kind){case 62:return;case 26:case 19:return w(r)&&r.parent.name===r?r.parent.parent:e.tryCast(r,e.isObjectTypeDeclaration);case 18:case 27:return e.tryCast(t.parent,e.isObjectTypeDeclaration);default:if(!w(t))return e.getLineAndCharacterOfPosition(n,t.getEnd()).line!==e.getLineAndCharacterOfPosition(n,a).line&&e.isObjectTypeDeclaration(r)?r:void 0;var o=e.isClassLike(t.parent.parent)?R:N;return o(t.kind)||41===t.kind||e.isIdentifier(t)&&o(e.stringToToken(t.text))?t.parent.parent:void 0}}(a,v,k,o);if(!n)return 0;if(U=3,V=!0,j=41===v.kind?0:e.isClassLike(n)?2:3,!e.isClassLike(n))return 1;var t=26===v.kind?v.parent.parent:v.parent,r=e.isClassElement(t)?e.getEffectiveModifierFlags(t):0;if(78===v.kind&&!de(v))switch(v.getText()){case"private":r|=8;break;case"static":r|=32}if(!(8&r)){var i=e.flatMap(e.getAllSuperTypeNodes(n),(function(e){var t=u.getTypeAtLocation(e);return 32&r?(null==t?void 0:t.symbol)&&u.getPropertiesOfType(u.getTypeOfSymbolAtLocation(t.symbol,n)):t&&u.getPropertiesOfType(t)}));K=function(n,t,r){for(var a=new e.Set,i=0,o=t;i<o.length;i++){var s=o[i];if((162===s.kind||164===s.kind||166===s.kind||167===s.kind)&&(!de(s)&&!e.hasEffectiveModifier(s,8)&&e.hasEffectiveModifier(s,32)===!!(32&r))){var c=e.getPropertyNameForPropertyNameNode(s.name);c&&a.add(c)}}return n.filter((function(n){return!(a.has(n.escapedName)||!n.declarations||8&e.getDeclarationModifierFlagsFromSymbol(n)||n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration))}))}(i,n.members,r)}return 1}()||function(){var n=function(n){if(n){var t=n.parent;switch(n.kind){case 31:case 30:case 43:case 78:case 198:case 278:case 277:case 279:if(t&&(271===t.kind||272===t.kind)){if(31===n.kind){var r=e.findPrecedingToken(n.pos,a,void 0);if(!t.typeArguments||r&&43===r.kind)break}return t}if(277===t.kind)return t.parent.parent;break;case 10:if(t&&(277===t.kind||279===t.kind))return t.parent.parent;break;case 19:if(t&&280===t.kind&&t.parent&&277===t.parent.kind)return t.parent.parent.parent;if(t&&279===t.kind)return t.parent.parent}}return}(v),t=n&&u.getContextualType(n.attributes);if(!t)return 0;var r=n&&u.getContextualType(n.attributes,4);return K=function(n,t){for(var r=new e.Set,a=new e.Set,i=0,o=t;i<o.length;i++){var s=o[i];de(s)||(277===s.kind?r.add(s.name.escapedText):e.isJsxSpreadAttribute(s)&&ce(s,a))}var c=n.filter((function(e){return!r.has(e.escapedName)}));return ue(a,c),c}(P(t,r,n.attributes,u),n.attributes.properties),le(),U=3,V=!1,1}()||(function(){j=function(n){if(n){var t,r=e.findAncestor(n.parent,(function(n){return e.isClassLike(n)?"quit":!(!e.isFunctionLikeDeclaration(n)||t!==n.body)||(t=n,!1)}));return r&&r}}(v)?5:1,U=1,V=function(e){if(e){var n=e.parent.kind;switch(O(e)){case 27:return 200===n||165===n||201===n||196===n||213===n||173===n;case 20:return 200===n||165===n||201===n||204===n||185===n;case 22:return 196===n||170===n||157===n;case 138:case 139:return!0;case 24:return 253===n;case 18:return 249===n;case 62:return 246===n||213===n;case 15:return 215===n;case 16:return 225===n;case 122:case 120:case 121:return 162===n}}return!1}(v),h!==v&&e.Debug.assert(!!h,"Expected 'contextToken' to be defined when different from 'previousToken'.");var i=h!==v?h.getStart():o,d=function(n,t,r){var a=n;for(;a&&!e.positionBelongsToNode(a,t,r);)a=a.parent;return a}(v,i,a)||a;_=function(n){switch(n.kind){case 294:case 215:case 280:case 227:return!0;default:return e.isStatement(n)}}(d);var p=2887656|(z?0:111551);K=u.getSymbolsInScope(d,p),e.Debug.assertEachIsDefined(K,"getSymbolsInScope() should all be defined");for(var f=0,m=K;f<m.length;f++){var g=m[f];u.isArgumentsSymbol(g)||e.some(g.declarations,(function(e){return e.getSourceFile()===a}))||(W[e.getSymbolId(g)]=t.GlobalsOrKeywords)}if(s.includeCompletionsWithInsertText&&294!==d.kind){var y=u.tryGetThisTypeAt(d,!1);if(y&&!function(e,n,t){var r=t.resolveName("self",void 0,111551,!1);if(r&&t.getTypeOfSymbolAtLocation(r,n)===e)return!0;var a=t.resolveName("global",void 0,111551,!1);if(a&&t.getTypeOfSymbolAtLocation(a,n)===e)return!0;var i=t.resolveName("globalThis",void 0,111551,!1);if(i&&t.getTypeOfSymbolAtLocation(i,n)===e)return!0;return!1}(y,a,u))for(var b=0,E=M(y,u);b<E.length;b++){g=E[b];H[e.getSymbolId(g)]={kind:1},K.push(g),W[e.getSymbolId(g)]=t.SuggestedClassMembers}}if(s.includeCompletionsForModuleExports&&(a.externalModuleIndicator||a.commonJsModuleIndicator||e.compilerOptionsIndicateEs6Modules(n.getCompilerOptions())||e.programContainsModules(n))){var T=h&&e.isIdentifier(h)?h.text.toLowerCase():"",S=function(t,i){var o=q&&q.get(a.fileName,u,c&&i.getProjectVersion?i.getProjectVersion():void 0);if(o)return r("getSymbolsFromOtherSourceFileExports: Using cached list"),o;var s=e.timestamp();r("getSymbolsFromOtherSourceFileExports: Recomputing list"+(c?" for details entry":""));var l=new e.Map,d=new e.Map,p=new e.Map,f=new e.Map,m=[],_=new e.Map;return e.codefix.forEachExternalModuleToImportFrom(n,i,a,!c,!0,(function(n,t,r,a){if(!c||!c.source||e.stripQuotes(n.name)===c.source){var i=r.getTypeChecker(),o=i.resolveExternalModuleSymbol(n);if(e.addToSeen(l,e.getSymbolId(o))){o!==n&&e.every(o.declarations,e.isNonGlobalDeclaration)&&g(o,n,a,!0);for(var s=0,u=i.getExportsAndPropertiesOfModule(n);s<u.length;s++){var m=u[s],y=e.getSymbolId(m).toString();if(e.addToSeen(d,y)&&!e.some(m.declarations,(function(n){return e.isExportSpecifier(n)&&!!n.propertyName&&e.isIdentifierANonContextualKeyword(n.name)}))){var h=i.getMergedSymbol(m.parent)!==o;if(h||e.some(m.declarations,(function(n){return e.isExportSpecifier(n)&&!n.propertyName&&!!n.parent.parent.moduleSpecifier}))){var v=h?m:ie(m);if(!v)continue;var b=e.getSymbolId(v).toString();_.has(b)||p.has(b)?e.addToSeen(p,y):(f.set(b,{alias:m,moduleSymbol:n,isFromPackageJson:a}),p.set(y,!0))}else f.delete(y),g(m,n,a,!1)}}}}})),f.forEach((function(e){return g(e.alias,e.moduleSymbol,e.isFromPackageJson,!1)})),r("getSymbolsFromOtherSourceFileExports: "+(e.timestamp()-s)),m;function g(n,r,a,i){var o="default"===n.escapedName;if(o&&(n=e.getLocalSymbolForExportDefault(n)||n),!u.isUndefinedSymbol(n)){e.addToSeen(_,e.getSymbolId(n));var s={kind:4,moduleSymbol:r,isDefaultExport:o,isFromPackageJson:a};m.push({symbol:n,symbolName:e.getNameForExportedSymbol(n,t),origin:s,skipFilter:i})}}}(n.getCompilerOptions().target,l);!c&&q&&q.set(a.fileName,S,l.getProjectVersion&&l.getProjectVersion()),S.forEach((function(n){var r=n.symbol,a=n.symbolName,i=n.skipFilter,o=n.origin;if(c){if(c.source&&e.stripQuotes(o.moduleSymbol.name)!==c.source)return}else if(!i&&!function(e,n){if(0===n.length)return!0;for(var t=0,r=0;r<e.length;r++)if(e.charCodeAt(r)===n.charCodeAt(t)&&++t===n.length)return!0;return!1}(a.toLowerCase(),T))return;var s=e.getSymbolId(r);K.push(r),H[s]=o,W[s]=t.AutoImportSuggestions}))}!function(n){var t=re();t&&(j=v&&e.isAssertionExpression(v.parent)?6:7);e.filterMutate(n,(function(n){if(!e.isSourceFile(k)){if(e.isExportAssignment(k.parent))return!0;if(n=e.skipAlias(n,u),e.isInRightSideOfInternalImportEqualsDeclaration(k))return!!(1920&n.flags);if(t)return ae(n)}return!!(111551&e.getCombinedLocalAndExportSymbolFlags(n))}))}(K)}(),1))}function re(){return m||!function(n){return n&&111===n.kind&&(175===n.parent.kind||e.isTypeOfExpression(n.parent))}(v)&&(e.isPossiblyTypeArgumentPosition(v,a,u)||e.isPartOfTypeNode(k)||function(n){if(n){var t=n.parent.kind;switch(n.kind){case 58:return 162===t||161===t||159===t||246===t||e.isFunctionLikeKind(t);case 62:return 251===t;case 126:return 221===t;case 29:return 172===t||203===t;case 93:return 158===t}}return!1}(v))}function ae(n,t){void 0===t&&(t=new e.Map);var r=e.skipAlias(n.exportSymbol||n,u);return!!(788968&r.flags)||!!(1536&r.flags)&&e.addToSeen(t,e.getSymbolId(r))&&u.getExportsOfModule(r).some((function(e){return ae(e,t)}))}function ie(n){return function(e,n,t){var r=n;for(;2097152&r.flags&&(r=e.getImmediateAliasedSymbol(r));)if(t(r))return r}(u,n,(function(n){return e.some(n.declarations,(function(n){return e.isExportSpecifier(n)||!!n.localSymbol}))}))}function oe(n){return!!n.parent&&e.isParameter(n.parent)&&e.isConstructorDeclaration(n.parent.parent)&&(e.isParameterPropertyModifier(n.kind)||e.isDeclarationName(n))}function se(n){return e.isFunctionLikeKind(n)&&165!==n}function ce(e,n){var t=e.expression,r=u.getSymbolAtLocation(t),a=r&&u.getTypeOfSymbolAtLocation(r,t),i=a&&a.properties;i&&i.forEach((function(e){n.add(e.name)}))}function le(){K.forEach((function(n){16777216&n.flags&&(W[e.getSymbolId(n)]=W[e.getSymbolId(n)]||t.OptionalMember)}))}function ue(n,r){if(0!==n.size)for(var a=0,i=r;a<i.length;a++){var o=i[a];n.has(o.name)&&(W[e.getSymbolId(o)]=t.MemberDeclaredBySpreadAssignment)}}function de(e){return e.getStart(a)<=o&&o<=e.getEnd()}}function A(n,t,r,a,i){var o=c(r)?e.getNameForExportedSymbol(n,t):n.name;if(!(void 0===o||1536&n.flags&&e.isSingleOrDoubleQuote(o.charCodeAt(0))||e.isKnownSymbol(n))){var s={name:o,needsConvertPropertyAccess:!1};if(e.isIdentifierText(o,t,i?1:0)||n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration))return s;switch(a){case 3:return;case 0:return{name:JSON.stringify(o),needsConvertPropertyAccess:!1};case 2:case 1:return 32===o.charCodeAt(0)?void 0:{name:o,needsConvertPropertyAccess:!0};case 5:case 4:return s;default:e.Debug.assertNever(a)}}}!function(e){e.LocationPriority="0",e.OptionalMember="1",e.MemberDeclaredBySpreadAssignment="2",e.SuggestedClassMembers="3",e.GlobalsOrKeywords="4",e.AutoImportSuggestions="5",e.JavascriptIdentifiers="6"}(t=n.SortText||(n.SortText={})),function(e){e.ThisProperty="ThisProperty/"}(r=n.CompletionSource||(n.CompletionSource={})),function(e){e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport"}(a||(a={})),function(e){e[e.None=0]="None",e[e.All=1]="All",e[e.ClassElementKeywords=2]="ClassElementKeywords",e[e.InterfaceElementKeywords=3]="InterfaceElementKeywords",e[e.ConstructorParameterKeywords=4]="ConstructorParameterKeywords",e[e.FunctionLikeBodyKeywords=5]="FunctionLikeBodyKeywords",e[e.TypeAssertionKeywords=6]="TypeAssertionKeywords",e[e.TypeKeywords=7]="TypeKeywords",e[e.Last=7]="Last"}(i||(i={})),function(e){e[e.Continue=0]="Continue",e[e.Success=1]="Success",e[e.Fail=2]="Fail"}(o||(o={})),n.createImportSuggestionsForFileCache=function(){var n,t,r;return{isEmpty:function(){return!n},clear:function(){n=void 0,r=void 0,t=void 0},set:function(e,a,i){n=a,r=e,i&&(t=i)},get:function(a,i,o){if(a===r)return o?t===o?n:void 0:(e.forEach(n,(function(e){var n,t,r;(null===(n=e.symbol.declarations)||void 0===n?void 0:n.length)&&(e.symbol=i.getMergedSymbol(e.origin.isDefaultExport&&null!==(t=e.symbol.declarations[0].localSymbol)&&void 0!==t?t:e.symbol.declarations[0].symbol)),(null===(r=e.origin.moduleSymbol.declarations)||void 0===r?void 0:r.length)&&(e.origin.moduleSymbol=i.getMergedSymbol(e.origin.moduleSymbol.declarations[0].symbol))})),n)}}},n.getCompletionsAtPosition=function(r,a,i,o,s,c,l){var f=a.getTypeChecker(),_=a.getCompilerOptions(),g=e.findPrecedingToken(s,o);if(!l||e.isInString(o,s,g)||function(n,t,r,a){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!r&&e.isStringLiteralOrTemplate(r)&&a===r.getStart(n)+1;case"#":return!!r&&e.isPrivateIdentifier(r)&&!!e.getContainingClass(r);case"<":return!!r&&29===r.kind&&(!e.isBinaryExpression(r.parent)||F(r.parent));case"/":return!!r&&(e.isStringLiteralLike(r)?!!e.tryGetImportFromModuleSpecifier(r):43===r.kind&&e.isJsxClosingElement(r.parent));default:return e.Debug.assertNever(t)}}(o,l,g,s)){var y=n.StringCompletions.getStringLiteralCompletions(o,s,g,f,_,r,i,c);if(y)return y;if(g&&e.isBreakOrContinueStatement(g.parent)&&(80===g.kind||85===g.kind||78===g.kind))return function(n){var r=function(n){var r=[],a=new e.Map,i=n;for(;i&&!e.isFunctionLike(i);){if(e.isLabeledStatement(i)){var o=i.label.text;a.has(o)||(a.set(o,!0),r.push({name:o,kindModifiers:"",kind:"label",sortText:t.LocationPriority}))}i=i.parent}return r}(n);if(r.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:r}}(g.parent);var h=x(a,i,o,d(o,_),s,c,void 0,r);if(h)switch(h.kind){case 0:return function(n,r,a,i,o,s){var c=o.symbols,l=o.completionKind,u=o.isInSnippetScope,f=o.isNewIdentifierLocation,_=o.location,g=o.propertyAccessToConvert,y=o.keywordFilters,h=o.literals,b=o.symbolToOriginInfoMap,E=o.recommendedCompletion,T=o.isJsxInitializer,S=o.insideJsDocTagTypeExpression,L=o.symbolToSortTextMap;if(_&&_.parent&&e.isJsxClosingElement(_.parent)){var x=_.parent.parent.openingElement.tagName,A=!!e.findChildOfKind(_.parent,31,n);return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,entries:[{name:x.getFullText(n)+(A?"":">"),kind:"class",kindModifiers:void 0,sortText:t.LocationPriority}]}}var C=[];if(d(n,a)){var N=v(c,C,void 0,_,n,r,a.target,i,l,s,g,o.isJsxIdentifierExpected,T,E,b,L);!function(n,r,a,i,o){e.getNameTable(n).forEach((function(n,s){if(n!==r){var c=e.unescapeLeadingUnderscores(s);!a.has(c)&&e.isIdentifierText(c,i)&&(a.add(c),o.push({name:c,kind:"warning",kindModifiers:"",sortText:t.JavascriptIdentifiers,isFromUncheckedFile:!0}))}}))}(n,_.pos,N,a.target,C)}else{if(!(f||c&&0!==c.length||0!==y))return;v(c,C,void 0,_,n,r,a.target,i,l,s,g,o.isJsxIdentifierExpected,T,E,b,L)}if(0!==y)for(var R=new e.Set(C.map((function(e){return e.name}))),k=0,O=function(n,t){if(!t)return I(n);var r=n+7+1;return D[r]||(D[r]=I(n).filter((function(n){return!function(e){switch(e){case 125:case 128:case 154:case 131:case 133:case 91:case 153:case 116:case 135:case 117:case 136:case 137:case 138:case 139:case 140:case 143:case 144:case 120:case 121:case 122:case 141:case 146:case 147:case 148:case 150:case 151:return!0;default:return!1}}(e.stringToToken(n.name))})))}(y,!S&&e.isSourceFileJS(n));k<O.length;k++){var P=O[k];R.has(P.name)||C.push(P)}for(var M=0,w=h;M<w.length;M++){var F=w[M];C.push(m(F,s))}return{isGlobalCompletion:u,isMemberCompletion:p(l),isNewIdentifierLocation:f,entries:C}}(o,f,_,i,h,c);case 1:return u(e.JsDoc.getJSDocTagNameCompletions());case 2:return u(e.JsDoc.getJSDocTagCompletions());case 3:return u(e.JsDoc.getJSDocParameterNameCompletions(h.tag));default:return e.Debug.assertNever(h)}}},n.getCompletionEntriesFromSymbols=v,n.getCompletionEntryDetails=function(t,r,a,i,o,s,l,u,d){var p=t.getTypeChecker(),m=t.getCompilerOptions(),_=o.name,g=e.findPrecedingToken(i,a);if(e.isInString(a,i,g))return n.StringCompletions.getStringLiteralCompletionDetails(_,a,i,g,p,m,s,d);var y=b(t,r,a,i,o,s,u);switch(y.type){case"request":var h=y.request;switch(h.kind){case 1:return e.JsDoc.getJSDocTagNameCompletionDetails(_);case 2:return e.JsDoc.getJSDocTagCompletionDetails(_);case 3:return e.JsDoc.getJSDocParameterNameCompletionDetails(_);default:return e.Debug.assertNever(h)}case"symbol":var v=y.symbol,S=y.location,L=function(n,t,r,a,i,o,s,l,u,d,p){var f=n[e.getSymbolId(t)];if(!f||!c(f))return{codeActions:void 0,sourceDisplay:void 0};var m=f.moduleSymbol,_=a.getMergedSymbol(e.skipAlias(t.exportSymbol||t,a)),g=e.codefix.getImportCompletionAction(_,m,s,e.getNameForExportedSymbol(t,o.target),i,r,d,u&&e.isIdentifier(u)?u.getStart(s):l,p),y=g.moduleSpecifier,h=g.codeAction;return{sourceDisplay:[e.textPart(y)],codeActions:[h]}}(y.symbolToOriginInfoMap,v,t,p,s,m,a,i,y.previousToken,l,u);return T(v,p,a,S,d,L.codeActions,L.sourceDisplay);case"literal":var x=y.literal;return E(f(x,u),"string","string"==typeof x?e.SymbolDisplayPartKind.stringLiteral:e.SymbolDisplayPartKind.numericLiteral);case"none":return C().some((function(e){return e.name===_}))?E(_,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:e.Debug.assertNever(y)}},n.createCompletionDetailsForSymbol=T,n.createCompletionDetails=S,n.getCompletionEntrySymbol=function(e,n,t,r,a,i,o){var s=b(e,n,t,r,a,i,o);return"symbol"===s.type?s.symbol:void 0},function(e){e[e.Data=0]="Data",e[e.JsDocTagName=1]="JsDocTagName",e[e.JsDocTag=2]="JsDocTag",e[e.JsDocParameterName=3]="JsDocParameterName"}(s||(s={})),function(e){e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None"}(n.CompletionKind||(n.CompletionKind={}));var D=[],C=e.memoize((function(){for(var n=[],r=80;r<=155;r++)n.push({name:e.tokenToString(r),kind:"keyword",kindModifiers:"",sortText:t.GlobalsOrKeywords});return n}));function I(n){return D[n]||(D[n]=C().filter((function(t){var r=e.stringToToken(t.name);switch(n){case 0:return!1;case 1:return k(r)||133===r||138===r||148===r||139===r||126===r||e.isTypeKeyword(r)&&149!==r;case 5:return k(r);case 2:return R(r);case 3:return N(r);case 4:return e.isParameterPropertyModifier(r);case 6:return e.isTypeKeyword(r)||84===r;case 7:return e.isTypeKeyword(r);default:return e.Debug.assertNever(n)}})))}function N(e){return 141===e}function R(n){switch(n){case 125:case 132:case 134:case 145:case 129:case 133:return!0;default:return e.isClassMemberModifier(n)}}function k(n){return 129===n||130===n||!e.isContextualKeyword(n)&&!R(n)}function O(n){return e.isIdentifier(n)?n.originalKeywordKind||0:n.kind}function P(n,t,r,a){var i=t&&t!==n,o=!i||3&t.flags?n:a.getUnionType([n,t]),s=o.isUnion()?a.getAllPossiblePropertiesOfTypes(o.types.filter((function(n){return!(131068&n.flags||a.isArrayLikeType(n)||e.typeHasCallOrConstructSignatures(n,a)||a.isTypeInvalidDueToUnionDiscriminant(n,r))}))):o.getApparentProperties();return i?s.filter((function(n){return e.some(n.declarations,(function(e){return e.parent!==r}))})):s}function M(n,t){return n.isUnion()?e.Debug.checkEachDefined(t.getAllPossiblePropertiesOfTypes(n.types),"getAllPossiblePropertiesOfTypes() should all be defined"):e.Debug.checkEachDefined(n.getApparentProperties(),"getApparentProperties() should all be defined")}function w(n){return n.parent&&e.isClassOrTypeElement(n.parent)&&e.isObjectTypeDeclaration(n.parent.parent)}function F(n){var t=n.left;return e.nodeIsMissing(t)}}(e.Completions||(e.Completions={}))}(p||(p={})),function(e){!function(n){function t(n,t){return{fileName:t.fileName,textSpan:e.createTextSpanFromNode(n,t),kind:"none"}}function r(n){return e.isThrowStatement(n)?[n]:e.isTryStatement(n)?e.concatenate(n.catchClause?r(n.catchClause):n.tryBlock&&r(n.tryBlock),n.finallyBlock&&r(n.finallyBlock)):e.isFunctionLike(n)?void 0:i(n,r)}function a(n){return e.isBreakOrContinueStatement(n)?[n]:e.isFunctionLike(n)?void 0:i(n,a)}function i(n,t){var r=[];return n.forEachChild((function(n){var a=t(n);void 0!==a&&r.push.apply(r,e.toArray(a))})),r}function s(e,n){var t=c(n);return!!t&&t===e}function c(n){return e.findAncestor(n,(function(t){switch(t.kind){case 241:if(237===n.kind)return!1;case 234:case 235:case 236:case 233:case 232:return!n.label||function(n,t){return!!e.findAncestor(n.parent,(function(n){return e.isLabeledStatement(n)?n.label.escapedText===t:"quit"}))}(t,n.label.escapedText);default:return e.isFunctionLike(t)&&"quit"}}))}function l(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];return!(!t||!e.contains(r,t.kind))&&(n.push(t),!0)}function u(n){var t=[];if(l(t,n.getFirstToken(),96,114,89)&&232===n.kind)for(var r=n.getChildren(),i=r.length-1;i>=0&&!l(t,r[i],114);i--);return e.forEach(a(n.statement),(function(e){s(n,e)&&l(t,e.getFirstToken(),80,85)})),t}function d(e){var n=c(e);if(n)switch(n.kind){case 234:case 235:case 236:case 232:case 233:return u(n);case 241:return p(n)}}function p(n){var t=[];return l(t,n.getFirstToken(),106),e.forEach(n.caseBlock.clauses,(function(r){l(t,r.getFirstToken(),81,87),e.forEach(a(r),(function(e){s(n,e)&&l(t,e.getFirstToken(),80)}))})),t}function f(n,t){var r=[];(l(r,n.getFirstToken(),110),n.catchClause&&l(r,n.catchClause.getFirstToken(),82),n.finallyBlock)&&l(r,e.findChildOfKind(n,95,t),95);return r}function m(n,t){var a=function(n){for(var t=n;t.parent;){var r=t.parent;if(e.isFunctionBlock(r)||294===r.kind)return r;if(e.isTryStatement(r)&&r.tryBlock===t&&r.catchClause)return t;t=r}}(n);if(a){var i=[];return e.forEach(r(a),(function(n){i.push(e.findChildOfKind(n,108,t))})),e.isFunctionBlock(a)&&e.forEachReturnStatement(a,(function(n){i.push(e.findChildOfKind(n,104,t))})),i}}function _(n,t){var a=e.getContainingFunction(n);if(a){var i=[];return e.forEachReturnStatement(e.cast(a.body,e.isBlock),(function(n){i.push(e.findChildOfKind(n,104,t))})),e.forEach(r(a.body),(function(n){i.push(e.findChildOfKind(n,108,t))})),i}}function g(n){var t=e.getContainingFunction(n);if(t){var r=[];return t.modifiers&&t.modifiers.forEach((function(e){l(r,e,129)})),e.forEachChild(t,(function(n){y(n,(function(n){e.isAwaitExpression(n)&&l(r,n.getFirstToken(),130)}))})),r}}function y(n,t){t(n),e.isFunctionLike(n)||e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isModuleDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isTypeNode(n)||e.forEachChild(n,(function(e){return y(e,t)}))}n.getDocumentHighlights=function(n,r,a,i,s){var c=e.getTouchingPropertyName(a,i);if(c.parent&&(e.isJsxOpeningElement(c.parent)&&c.parent.tagName===c||e.isJsxClosingElement(c.parent))){var h=c.parent.parent,v=[h.openingElement,h.closingElement].map((function(e){return t(e.tagName,a)}));return[{fileName:a.fileName,highlightSpans:v}]}return function(n,t,r,a,i){var o=new e.Set(i.map((function(e){return e.fileName}))),s=e.FindAllReferences.getReferenceEntriesForNode(n,t,r,i,a,void 0,o);if(!s)return;var c=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span}));return e.arrayFrom(c.entries(),(function(n){var t=n[0],a=n[1];if(!o.has(t)){e.Debug.assert(r.redirectTargetsMap.has(t));var s=r.getSourceFile(t);t=e.find(i,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(t))}return{fileName:t,highlightSpans:a}}))}(i,c,n,r,s)||function(n,r){var a=function(n,r){switch(n.kind){case 98:case 90:return e.isIfStatement(n.parent)?function(n,r){for(var a=function(n,t){var r=[];for(;e.isIfStatement(n.parent)&&n.parent.elseStatement===n;)n=n.parent;for(;;){var a=n.getChildren(t);l(r,a[0],98);for(var i=a.length-1;i>=0&&!l(r,a[i],90);i--);if(!n.elseStatement||!e.isIfStatement(n.elseStatement))break;n=n.elseStatement}return r}(n,r),i=[],o=0;o<a.length;o++){if(90===a[o].kind&&o<a.length-1){for(var s=a[o],c=a[o+1],u=!0,d=c.getStart(r)-1;d>=s.end;d--)if(!e.isWhiteSpaceSingleLine(r.text.charCodeAt(d))){u=!1;break}if(u){i.push({fileName:r.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),c.end),kind:"reference"}),o++;continue}}i.push(t(a[o],r))}return i}(n.parent,r):void 0;case 104:return c(n.parent,e.isReturnStatement,_);case 108:return c(n.parent,e.isThrowStatement,m);case 110:case 82:case 95:return c(82===n.kind?n.parent.parent:n.parent,e.isTryStatement,f);case 106:return c(n.parent,e.isSwitchStatement,p);case 81:case 87:return e.isDefaultClause(n.parent)||e.isCaseClause(n.parent)?c(n.parent.parent.parent,e.isSwitchStatement,p):void 0;case 80:case 85:return c(n.parent,e.isBreakOrContinueStatement,d);case 96:case 114:case 89:return c(n.parent,(function(n){return e.isIterationStatement(n,!0)}),u);case 132:return s(e.isConstructorDeclaration,[132]);case 134:case 145:return s(e.isAccessor,[134,145]);case 130:return c(n.parent,e.isAwaitExpression,g);case 129:return h(g(n));case 124:return h(function(n){var t=e.getContainingFunction(n);if(!t)return;var r=[];return e.forEachChild(t,(function(n){y(n,(function(n){e.isYieldExpression(n)&&l(r,n.getFirstToken(),124)}))})),r}(n));default:return e.isModifierKind(n.kind)&&(e.isDeclaration(n.parent)||e.isVariableStatement(n.parent))?h((a=n.kind,i=n.parent,e.mapDefined(function(n,t){var r=n.parent;switch(r.kind){case 254:case 294:case 227:case 281:case 282:return 128&t&&e.isClassDeclaration(n)?o(n.members,[n]):r.statements;case 165:case 164:case 248:return o(r.parameters,e.isClassLike(r.parent)?r.parent.members:[]);case 249:case 218:case 250:case 176:var a=r.members;if(92&t){var i=e.find(r.members,e.isConstructorDeclaration);if(i)return o(a,i.parameters)}else if(128&t)return o(a,[r]);return a;default:e.Debug.assertNever(r,"Invalid container kind.")}}(i,e.modifierToFlag(a)),(function(n){return e.findModifier(n,a)})))):void 0}var a,i;function s(t,a){return c(n.parent,t,(function(n){return e.mapDefined(n.symbol.declarations,(function(n){return t(n)?e.find(n.getChildren(r),(function(n){return e.contains(a,n.kind)})):void 0}))}))}function c(e,n,t){return n(e)?h(t(e,r)):void 0}function h(e){return e&&e.map((function(e){return t(e,r)}))}}(n,r);return a&&[{fileName:r.fileName,highlightSpans:a}]}(c,a)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(p||(p={})),function(e){function n(n,r,a){void 0===r&&(r="");var i=new e.Map,o=e.createGetCanonicalFileName(!!n);function s(e,n,t,r,a,i,o){return l(e,n,t,r,a,i,!0,o)}function c(e,n,t,r,a,i,o){return l(e,n,t,r,a,i,!1,o)}function l(n,t,r,o,s,c,l,u){var d=e.getOrUpdate(i,o,(function(){return new e.Map})),p=d.get(t),f=6===u?100:r.target||1;!p&&a&&((m=a.getDocument(o,t))&&(e.Debug.assert(l),p={sourceFile:m,languageServiceRefCount:0},d.set(t,p)));if(p)p.sourceFile.version!==c&&(p.sourceFile=e.updateLanguageServiceSourceFile(p.sourceFile,s,c,s.getChangeRange(p.sourceFile.scriptSnapshot)),a&&a.setDocument(o,t,p.sourceFile)),l&&p.languageServiceRefCount++;else{var m=e.createLanguageServiceSourceFile(n,s,f,c,!1,u);a&&a.setDocument(o,t,m),p={sourceFile:m,languageServiceRefCount:1},d.set(t,p)}return e.Debug.assert(0!==p.languageServiceRefCount),p.sourceFile}function u(n,t){var r=e.Debug.checkDefined(i.get(t)),a=r.get(n);a.languageServiceRefCount--,e.Debug.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&r.delete(n)}return{acquireDocument:function(n,a,i,c,l){return s(n,e.toPath(n,r,o),a,t(a),i,c,l)},acquireDocumentWithKey:s,updateDocument:function(n,a,i,s,l){return c(n,e.toPath(n,r,o),a,t(a),i,s,l)},updateDocumentWithKey:c,releaseDocument:function(n,a){return u(e.toPath(n,r,o),t(a))},releaseDocumentWithKey:u,getLanguageServiceRefCounts:function(n){return e.arrayFrom(i.entries(),(function(e){var t=e[0],r=e[1].get(n);return[t,r&&r.languageServiceRefCount]}))},reportStats:function(){var n=e.arrayFrom(i.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var n=i.get(e),t=[];return n.forEach((function(e,n){t.push({name:n,refCount:e.languageServiceRefCount})})),t.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:t}}));return JSON.stringify(n,void 0,2)},getKeyForCompilationSettings:t}}function t(n){return e.sourceFileAffectingCompilerOptions.map((function(t){return e.getCompilerOptionValue(n,t)})).join("|")}e.createDocumentRegistry=function(e,t){return n(e,t)},e.createDocumentRegistryInternal=n}(p||(p={})),function(e){!function(n){function t(n,t){return e.forEach(294===n.kind?n.statements:n.body.statements,(function(n){return t(n)||c(n)&&e.forEach(n.body&&n.body.statements,t)}))}function r(n,r){if(n.externalModuleIndicator||void 0!==n.imports)for(var a=0,i=n.imports;a<i.length;a++){var o=i[a];r(e.importFromModuleSpecifier(o),o)}else t(n,(function(n){switch(n.kind){case 264:case 258:(t=n).moduleSpecifier&&e.isStringLiteral(t.moduleSpecifier)&&r(t,t.moduleSpecifier);break;case 257:var t;l(t=n)&&r(t,t.moduleReference.expression)}}))}function a(n,t,r){var a=n.parent;if(a){var i=r.getMergedSymbol(a);return e.isExternalModuleSymbol(i)?{exportingModuleSymbol:i,exportKind:t}:void 0}}function i(e,n){return n.getMergedSymbol(o(e).symbol)}function o(n){if(200===n.kind)return n.getSourceFile();var t=n.parent;return 294===t.kind?t:(e.Debug.assert(254===t.kind),e.cast(t.parent,c))}function c(e){return 253===e.kind&&10===e.name.kind}function l(e){return 269===e.moduleReference.kind&&10===e.moduleReference.expression.kind}n.createImportTracker=function(n,a,c,u){var d=function(n,t,a){for(var i=new e.Map,o=0,s=n;o<s.length;o++){var c=s[o];a&&a.throwIfCancellationRequested(),r(c,(function(n,r){var a=t.getSymbolAtLocation(r);if(a){var o=e.getSymbolId(a).toString(),s=i.get(o);s||i.set(o,s=[]),s.push(n)}}))}return i}(n,c,u);return function(r,p,f){var m=function(n,r,a,s,c,l){var u=s.exportingModuleSymbol,d=s.exportKind,p=e.nodeSeenTracker(),f=e.nodeSeenTracker(),m=[],_=!!u.globalExports,g=_?void 0:[];return h(u),{directImports:m,indirectUsers:y()};function y(){if(_)return n;for(var t=0,a=u.declarations;t<a.length;t++){var i=a[t];e.isExternalModuleAugmentation(i)&&r.has(i.getSourceFile().fileName)&&b(i)}return g.map(e.getSourceFileOfNode)}function h(n){var t=T(n);if(t)for(var r=0,a=t;r<a.length;r++){var s=a[r];if(p(s))switch(l&&l.throwIfCancellationRequested(),s.kind){case 200:if(!_){var u=s.parent;if(2===d&&246===u.kind){var f=u.name;if(78===f.kind){m.push(f);break}}b(s.getSourceFile())}break;case 78:break;case 257:v(s,s.name,e.hasSyntacticModifier(s,1),!1);break;case 258:m.push(s);var g=s.importClause&&s.importClause.namedBindings;g&&260===g.kind?v(s,g.name,!1,!0):!_&&e.isDefaultImport(s)&&b(o(s));break;case 264:s.exportClause?266===s.exportClause.kind?E(o(s)):m.push(s):h(i(s,c));break;case 192:m.push(s);break;default:e.Debug.failBadSyntaxKind(s,"Unexpected import kind.")}}}function v(n,r,a,i){if(2===d)i||m.push(n);else if(!_){var s=o(n);e.Debug.assert(294===s.kind||253===s.kind),a||function(n,r,a){var i=a.getSymbolAtLocation(r);return!!t(n,(function(n){if(e.isExportDeclaration(n)){var t=n.exportClause;return!n.moduleSpecifier&&t&&e.isNamedExports(t)&&t.elements.some((function(e){return a.getExportSpecifierLocalTargetSymbol(e)===i}))}}))}(s,r,c)?E(s):b(s)}}function b(n){e.Debug.assert(!_);var t=f(n);return t&&g.push(n),t}function E(n){if(b(n)){var t=c.getMergedSymbol(n.symbol);e.Debug.assert(!!(1536&t.flags));var r=T(t);if(r)for(var a=0,i=r;a<i.length;a++){var s=i[a];e.isImportTypeNode(s)||E(o(s))}}}function T(n){return a.get(e.getSymbolId(n).toString())}}(n,a,d,p,c,u),_=m.directImports,g=m.indirectUsers;return s({indirectUsers:g},function(n,t,r,a,i){var o=[],s=[];function c(e,n){o.push([e,n])}if(n)for(var u=0,d=n;u<d.length;u++){p(d[u])}return{importSearches:o,singleReferences:s};function p(n){if(257!==n.kind)if(78!==n.kind)if(192!==n.kind){if(10===n.moduleSpecifier.kind)if(264!==n.kind){var o=n.importClause||{name:void 0,namedBindings:void 0},u=o.name,d=o.namedBindings;if(d)switch(d.kind){case 260:f(d.name);break;case 261:0!==r&&1!==r||m(d);break;default:e.Debug.assertNever(d)}if(u&&(1===r||2===r)&&(!i||u.escapedText===e.symbolEscapedNameNoDefault(t)))c(u,a.getSymbolAtLocation(u))}else n.exportClause&&e.isNamedExports(n.exportClause)&&m(n.exportClause)}else if(n.qualifier){var p=e.getFirstIdentifier(n.qualifier);p.escapedText===e.symbolName(t)&&s.push(p)}else 2===r&&s.push(n.argument.literal);else f(n);else l(n)&&f(n.name)}function f(e){2!==r||i&&!_(e.escapedText)||c(e,a.getSymbolAtLocation(e))}function m(e){if(e)for(var n=0,r=e.elements;n<r.length;n++){var o=r[n],l=o.name,u=o.propertyName;if(_((u||l).escapedText))if(u)s.push(u),i&&l.escapedText!==t.escapedName||c(l,a.getSymbolAtLocation(l));else c(l,267===o.kind&&o.propertyName?a.getExportSpecifierLocalTargetSymbol(o):a.getSymbolAtLocation(l))}}function _(e){return e===t.escapedName||0!==r&&"default"===e}}(_,r,p.exportKind,c,f))}},function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals"}(n.ExportKind||(n.ExportKind={})),function(e){e[e.Import=0]="Import",e[e.Export=1]="Export"}(n.ImportExport||(n.ImportExport={})),n.findModuleReferences=function(e,n,t){for(var a=[],i=e.getTypeChecker(),o=0,s=n;o<s.length;o++){var c=s[o],l=t.valueDeclaration;if(294===l.kind){for(var u=0,d=c.referencedFiles;u<d.length;u++){var p=d[u];e.getSourceFileFromReference(c,p)===l&&a.push({kind:"reference",referencingFile:c,ref:p})}for(var f=0,m=c.typeReferenceDirectives;f<m.length;f++){p=m[f];var _=e.getResolvedTypeReferenceDirectives().get(p.fileName);void 0!==_&&_.resolvedFileName===l.fileName&&a.push({kind:"reference",referencingFile:c,ref:p})}}r(c,(function(e,n){i.getSymbolAtLocation(n)===t&&a.push({kind:"import",literal:n})}))}return a},n.getImportOrExportSymbol=function(n,t,r,i){return i?o():o()||function(){if(!function(n){var t=n.parent;switch(t.kind){case 257:return t.name===n&&l(t);case 262:return!t.propertyName;case 259:case 260:return e.Debug.assert(t.name===n),!0;default:return!1}}(n))return;var a=r.getImmediateAliasedSymbol(t);if(!a)return;"export="===(a=function(n,t){if(n.declarations)for(var r=0,a=n.declarations;r<a.length;r++){var i=a[r];if(e.isExportSpecifier(i)&&!i.propertyName&&!i.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(i)}return n}(a,r)).escapedName&&(a=function(n,t){if(2097152&n.flags)return e.Debug.checkDefined(t.getImmediateAliasedSymbol(n));var r=n.valueDeclaration;if(e.isExportAssignment(r))return e.Debug.checkDefined(r.expression.symbol);if(e.isBinaryExpression(r))return e.Debug.checkDefined(r.right.symbol);if(e.isSourceFile(r))return e.Debug.checkDefined(r.symbol);return e.Debug.fail()}(a,r));var i=e.symbolEscapedNameNoDefault(a);if(void 0===i||"default"===i||i===t.escapedName)return{kind:0,symbol:a}}();function o(){var a=n.parent,o=a.parent;if(t.exportSymbol)return 198===a.kind?t.declarations.some((function(e){return e===a}))&&e.isBinaryExpression(o)?d(o,!1):void 0:s(t.exportSymbol,c(a));var l=function(n,t){var r=e.isVariableDeclaration(n)?n:e.isBindingElement(n)?e.walkUpBindingElementsAndPatterns(n):void 0;return r?n.name!==t||e.isCatchClause(r.parent)?void 0:e.isVariableStatement(r.parent.parent)?r.parent.parent:void 0:n}(a,n);if(l&&e.hasSyntacticModifier(l,1)){if(e.isImportEqualsDeclaration(l)&&l.moduleReference===n){if(i)return;return{kind:0,symbol:r.getSymbolAtLocation(l.name)}}return s(t,c(l))}if(e.isNamespaceExport(a))return s(t,0);if(e.isExportAssignment(a))return u(a);if(e.isExportAssignment(o))return u(o);if(e.isBinaryExpression(a))return d(a,!0);if(e.isBinaryExpression(o))return d(o,!0);if(e.isJSDocTypedefTag(a))return s(t,0);function u(n){var r=e.Debug.checkDefined(n.symbol.parent,"Expected export symbol to have a parent"),a=n.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:r,exportKind:a}}}function d(n,a){var i;switch(e.getAssignmentDeclarationKind(n)){case 1:i=0;break;case 2:i=2;break;default:return}var o=a?r.getSymbolAtLocation(e.getNameOfAccessExpression(e.cast(n.left,e.isAccessExpression))):t;return o&&s(o,i)}}function s(e,n){var t=a(e,n,r);return t&&{kind:1,symbol:e,exportInfo:t}}function c(n){return e.hasSyntacticModifier(n,512)?1:0}},n.getExportInfo=a}(e.FindAllReferences||(e.FindAllReferences={}))}(p||(p={})),function(e){!function(n){var t;function r(e,n){return void 0===n&&(n=1),{kind:n,node:e.name||e,context:i(e)}}function a(e){return e&&void 0===e.kind}function i(n){if(e.isDeclaration(n))return c(n);if(n.parent){if(!e.isDeclaration(n.parent)&&!e.isExportAssignment(n.parent)){if(e.isInJSFile(n)){var t=e.isBinaryExpression(n.parent)?n.parent:e.isAccessExpression(n.parent)&&e.isBinaryExpression(n.parent.parent)&&n.parent.parent.left===n.parent?n.parent.parent:void 0;if(t&&0!==e.getAssignmentDeclarationKind(t))return c(t)}if(e.isJsxOpeningElement(n.parent)||e.isJsxClosingElement(n.parent))return n.parent.parent;if(e.isJsxSelfClosingElement(n.parent)||e.isLabeledStatement(n.parent)||e.isBreakOrContinueStatement(n.parent))return n.parent;if(e.isStringLiteralLike(n)){var r=e.tryGetImportFromModuleSpecifier(n);if(r){var a=e.findAncestor(r,(function(n){return e.isDeclaration(n)||e.isStatement(n)||e.isJSDocTag(n)}));return e.isDeclaration(a)?c(a):a}}var i=e.findAncestor(n,e.isComputedPropertyName);return i?c(i.parent):void 0}return n.parent.name===n||e.isConstructorDeclaration(n.parent)||e.isExportAssignment(n.parent)||(e.isImportOrExportSpecifier(n.parent)||e.isBindingElement(n.parent))&&n.parent.propertyName===n||87===n.kind&&e.hasSyntacticModifier(n.parent,513)?c(n.parent):void 0}}function c(n){if(n)switch(n.kind){case 246:return e.isVariableDeclarationList(n.parent)&&1===n.parent.declarations.length?e.isVariableStatement(n.parent.parent)?n.parent.parent:e.isForInOrOfStatement(n.parent.parent)?c(n.parent.parent):n.parent:n;case 195:return c(n.parent.parent);case 262:return n.parent.parent.parent;case 267:case 260:return n.parent.parent;case 259:case 266:return n.parent;case 213:return e.isExpressionStatement(n.parent)?n.parent:n;case 236:case 235:return{start:n.initializer,end:n.expression};case 285:case 286:return e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)?c(e.findAncestor(n.parent,(function(n){return e.isBinaryExpression(n)||e.isForInOrOfStatement(n)}))):n;default:return n}}function l(e,n,t){if(t){var r=a(t)?g(t.start,n,t.end):g(t,n);return r.start!==e.start||r.length!==e.length?{contextSpan:r}:void 0}}function u(n,a,i,o,s){if(294!==o.kind){var c=n.getTypeChecker();if(286===o.parent.kind){var l=[];return t.getReferenceEntriesForShorthandPropertyAssignment(o,c,(function(e){return l.push(r(e))})),l}if(105===o.kind||e.isSuperProperty(o.parent)){var u=c.getSymbolAtLocation(o);return u.valueDeclaration&&[r(u.valueDeclaration)]}return d(s,o,n,i,a,{implementations:!0,use:1})}}function d(n,r,a,i,o,s,c){return void 0===s&&(s={}),void 0===c&&(c=new e.Set(i.map((function(e){return e.fileName})))),p(t.getReferencedSymbolsForNode(n,r,a,i,o,s,c))}function p(n){return n&&e.flatMap(n,(function(e){return e.references}))}function f(n,r,a){var i=t.getIntersectingMeaningFromDeclarations(a,n),o=n.declarations&&e.firstOrUndefined(n.declarations)||a,s=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,n,o.getSourceFile(),o,o,i);return{displayParts:s.displayParts,kind:s.symbolKind}}function m(e){var n=_(e);if(0===e.kind)return s(s({},n),{isWriteAccess:!1,isDefinition:!1});var t=e.kind,r=e.node;return s(s({},n),{isWriteAccess:h(r),isDefinition:v(r),isInString:2===t||void 0})}function _(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};var n=e.node.getSourceFile(),t=g(e.node,n);return s({textSpan:t,fileName:n.fileName},l(t,n,e.context))}function g(n,t,r){var a=n.getStart(t),i=(r||n).getEnd();return e.isStringLiteralLike(n)&&(e.Debug.assert(void 0===r),a+=1,i-=1),e.createTextSpanFromBounds(a,i)}function y(e){return 0===e.kind?e.textSpan:g(e.node,e.node.getSourceFile())}function h(n){var t=e.getDeclarationFromName(n);return!!t&&function(n){if(8388608&n.flags)return!0;switch(n.kind){case 213:case 195:case 249:case 218:case 87:case 252:case 288:case 267:case 259:case 257:case 262:case 250:case 320:case 327:case 277:case 253:case 256:case 260:case 266:case 159:case 286:case 251:case 158:return!0;case 285:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent);case 248:case 205:case 165:case 164:case 166:case 167:return!!n.body;case 246:case 162:return!!n.initializer||e.isCatchClause(n.parent);case 163:case 161:case 328:case 322:return!1;default:return e.Debug.failBadSyntaxKind(n)}}(t)||87===n.kind||e.isWriteAccess(n)}function v(n){return 87===n.kind||!!e.getDeclarationFromName(n)||e.isLiteralComputedPropertyDeclarationName(n)||132===n.kind&&e.isConstructorDeclaration(n.parent)}!function(e){e[e.Symbol=0]="Symbol",e[e.Label=1]="Label",e[e.Keyword=2]="Keyword",e[e.This=3]="This",e[e.String=4]="String"}(n.DefinitionKind||(n.DefinitionKind={})),function(e){e[e.Span=0]="Span",e[e.Node=1]="Node",e[e.StringLiteral=2]="StringLiteral",e[e.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",e[e.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal"}(n.EntryKind||(n.EntryKind={})),n.nodeEntry=r,n.isContextWithStartAndEndNode=a,n.getContextNode=c,n.toContextSpan=l,function(e){e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename"}(n.FindReferencesUse||(n.FindReferencesUse={})),n.findReferencedSymbols=function(n,r,a,i,o){var u=e.getTouchingPropertyName(i,o),d=t.getReferencedSymbolsForNode(o,u,n,a,r,{use:1}),p=n.getTypeChecker();return d&&d.length?e.mapDefined(d,(function(n){var t=n.definition,a=n.references;return t&&{definition:p.runWithCancellationToken(r,(function(n){return function(n,t,r){var a=function(){switch(n.type){case 0:var a=f(m=n.symbol,t,r),i=a.displayParts,o=a.kind,s=i.map((function(e){return e.text})).join(""),l=m.declarations&&e.firstOrUndefined(m.declarations);return{node:l?e.getNameOfDeclaration(l)||l:r,name:s,kind:o,displayParts:i,context:c(l)};case 1:var u=n.node;return{node:u,name:u.text,kind:"label",displayParts:[e.displayPart(u.text,e.SymbolDisplayPartKind.text)]};case 2:var d=n.node,p=e.tokenToString(d.kind);return{node:d,name:p,kind:"keyword",displayParts:[{text:p,kind:"keyword"}]};case 3:var m,_=n.node,g=(m=t.getSymbolAtLocation(_))&&e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,m,_.getSourceFile(),e.getContainerNode(_),_).displayParts||[e.textPart("this")];return{node:_,name:"this",kind:"var",displayParts:g};case 4:var y=n.node;return{node:y,name:y.text,kind:"var",displayParts:[e.displayPart(e.getTextOfNode(y),e.SymbolDisplayPartKind.stringLiteral)]};default:return e.Debug.assertNever(n)}}(),i=a.node,o=a.name,u=a.kind,d=a.displayParts,p=a.context,m=i.getSourceFile(),_=g(e.isComputedPropertyName(i)?i.expression:i,m);return s({containerKind:"",containerName:"",fileName:m.fileName,kind:u,name:o,textSpan:_,displayParts:d},l(_,m,p))}(t,n,u)})),references:a.map(m)}})):void 0},n.getImplementationsAtPosition=function(n,t,r,a,i){var c,l=e.getTouchingPropertyName(a,i),d=u(n,t,r,l,i);if(198===l.parent.kind||195===l.parent.kind||199===l.parent.kind||105===l.kind)c=d&&o(d);else for(var p=d&&o(d),m=new e.Map;p&&p.length;){var g=p.shift();if(e.addToSeen(m,e.getNodeId(g.node))){c=e.append(c,g);var y=u(n,t,r,g.node,g.node.pos);y&&p.push.apply(p,y)}}var h=n.getTypeChecker();return e.map(c,(function(n){return function(n,t){var r=_(n);if(0!==n.kind){var a=n.node;return s(s({},r),function(n,t){var r=t.getSymbolAtLocation(e.isDeclaration(n)&&n.name?n.name:n);return r?f(r,t,n):197===n.kind?{kind:"interface",displayParts:[e.punctuationPart(20),e.textPart("object literal"),e.punctuationPart(21)]}:218===n.kind?{kind:"local class",displayParts:[e.punctuationPart(20),e.textPart("anonymous local class"),e.punctuationPart(21)]}:{kind:e.getNodeKind(n),displayParts:[]}}(a,t))}return s(s({},r),{kind:"",displayParts:[]})}(n,h)}))},n.findReferenceOrRenameEntries=function(n,r,a,i,o,s,c){return e.map(p(t.getReferencedSymbolsForNode(o,i,n,a,r,s)),(function(e){return c(e,i,n.getTypeChecker())}))},n.getReferenceEntriesForNode=d,n.toRenameLocation=function(n,t,r,a){return s(s({},_(n)),a&&function(n,t,r){if(0!==n.kind&&e.isIdentifier(t)){var a=n.node,i=n.kind,o=a.parent,s=t.text,c=e.isShorthandPropertyAssignment(o);if(c||e.isObjectBindingElementWithoutPropertyName(o)&&o.name===a&&void 0===o.dotDotDotToken){var l={prefixText:s+": "},u={suffixText:": "+s};if(3===i)return l;if(4===i)return u;if(c){var d=o.parent;return e.isObjectLiteralExpression(d)&&e.isBinaryExpression(d.parent)&&e.isModuleExportsAccessExpression(d.parent.left)?l:u}return l}if(e.isImportSpecifier(o)&&!o.propertyName){var p=e.isExportSpecifier(t.parent)?r.getExportSpecifierLocalTargetSymbol(t.parent):r.getSymbolAtLocation(t);return e.contains(p.declarations,o)?{prefixText:s+" as "}:e.emptyOptions}if(e.isExportSpecifier(o)&&!o.propertyName)return t===n.node||r.getSymbolAtLocation(t)===r.getSymbolAtLocation(n.node)?{prefixText:s+" as "}:{suffixText:" as "+s}}return e.emptyOptions}(n,t,r))},n.toReferenceEntry=m,n.toHighlightSpan=function(e){var n=_(e);if(0===e.kind)return{fileName:n.fileName,span:{textSpan:n.textSpan,kind:"reference"}};var t=h(e.node),r=s({textSpan:n.textSpan,kind:t?"writtenReference":"reference",isInString:2===e.kind||void 0},n.contextSpan&&{contextSpan:n.contextSpan});return{fileName:n.fileName,span:r}},n.getTextSpanOfEntry=y,function(t){function a(n,t,r){if(n.parent&&e.isNamespaceExportDeclaration(n.parent)){var a=r.getAliasedSymbol(t),i=r.getMergedSymbol(a);if(a!==i)return i}}function i(n,t,r,a,i,s){var l=1536&n.flags&&n.declarations&&e.find(n.declarations,e.isSourceFile);if(l){var d=n.exports.get("export="),p=c(t,n,!!d,r,s);if(!d||!s.has(l.fileName))return p;var f=t.getTypeChecker();return o(t,p,u(n=e.skipAlias(d,f),void 0,r,s,f,a,i))}}function o(n){for(var t,r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];for(var i=0,o=r;i<o.length;i++){var c=o[i];if(c&&c.length)if(t)for(var l=function(r){if(!r.definition||0!==r.definition.type)return t.push(r),"continue";var a=r.definition.symbol,i=e.findIndex(t,(function(e){return!!e.definition&&0===e.definition.type&&e.definition.symbol===a}));if(-1===i)return t.push(r),"continue";var o=t[i];t[i]={definition:o.definition,references:o.references.concat(r.references).sort((function(t,r){var a=s(n,t),i=s(n,r);if(a!==i)return e.compareValues(a,i);var o=y(t),c=y(r);return o.start!==c.start?e.compareValues(o.start,c.start):e.compareValues(o.length,c.length)}))}},u=0,d=c;u<d.length;u++){var p=d[u];l(p)}else t=c}return t}function s(e,n){var t=0===n.kind?e.getSourceFile(n.fileName):n.node.getSourceFile();return e.getSourceFiles().indexOf(t)}function c(t,a,i,o,s){e.Debug.assert(!!a.valueDeclaration);var c=e.mapDefined(n.findModuleReferences(t,o,a),(function(n){if("import"===n.kind){var t=n.literal.parent;if(e.isLiteralTypeNode(t)){var a=e.cast(t.parent,e.isImportTypeNode);if(i&&!a.qualifier)return}return r(n.literal)}return{kind:0,fileName:n.referencingFile.fileName,textSpan:e.createTextSpanFromRange(n.ref)}}));if(a.declarations)for(var l=0,u=a.declarations;l<u.length;l++){switch((m=u[l]).kind){case 294:break;case 253:s.has(m.getSourceFile().fileName)&&c.push(r(m.name));break;default:e.Debug.assert(!!(33554432&a.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}}var d=a.exports.get("export=");if(d)for(var p=0,f=d.declarations;p<f.length;p++){var m,_=(m=f[p]).getSourceFile();if(s.has(_.fileName)){var g=e.isBinaryExpression(m)&&e.isPropertyAccessExpression(m.left)?m.left.expression:e.isExportAssignment(m)?e.Debug.checkDefined(e.findChildOfKind(m,92,_)):e.getNameOfDeclaration(m)||m;c.push(r(g))}}return c.length?[{definition:{type:0,symbol:a},references:c}]:e.emptyArray}function l(n){return 141===n.kind&&e.isTypeOperatorNode(n.parent)&&141===n.parent.operator}function u(n,t,r,a,i,o,s){var c=t&&function(n,t,r,a){var i=t.parent;if(e.isExportSpecifier(i)&&a)return C(t,n,i,r);return e.firstDefined(n.declarations,(function(a){if(!a.parent){if(33554432&n.flags)return;e.Debug.fail("Unexpected symbol at "+e.Debug.formatSyntaxKind(t.kind)+": "+e.Debug.formatSymbol(n))}return e.isTypeLiteralNode(a.parent)&&e.isUnionTypeNode(a.parent.parent)?r.getPropertyOfType(r.getTypeFromTypeNode(a.parent.parent),n.name):void 0}))}(n,t,i,!G(s))||n,l=t?M(t,c):7,u=[],p=new f(r,a,t?function(n){switch(n.kind){case 132:return 1;case 78:if(e.isClassLike(n.parent))return e.Debug.assert(n.parent.name===n),2;default:return 0}}(t):0,i,o,l,s,u),_=G(s)?e.find(c.declarations,e.isExportSpecifier):void 0;if(_)D(_.name,c,_,p.createSearch(t,n,void 0),p,!0,!0);else if(t&&87===t.kind)I(t,c,p),m(t,c,{exportingModuleSymbol:e.Debug.checkDefined(c.parent,"Expected export symbol to have a parent"),exportKind:1},p);else{var g=p.createSearch(t,c,void 0,{allSearchSymbols:t?k(c,t,i,2===s.use,!!s.providePrefixAndSuffixTextForRename,!!s.implementations):[c]});d(c,p,g)}return u}function d(n,t,r){var a=function(n){var t=n.declarations,r=n.flags,a=n.parent,i=n.valueDeclaration;if(i&&(205===i.kind||218===i.kind))return i;if(!t)return;if(8196&r){var o=e.find(t,(function(n){return e.hasEffectiveModifier(n,8)||e.isPrivateIdentifierPropertyDeclaration(n)}));return o?e.getAncestor(o,249):void 0}if(t.some(e.isObjectBindingElementWithoutPropertyName))return;var s,c=a&&!(262144&n.flags);if(c&&(!e.isExternalModuleSymbol(a)||a.globalExports))return;for(var l=0,u=t;l<u.length;l++){var d=u[l],p=e.getContainerNode(d);if(s&&s!==p)return;if(!p||294===p.kind&&!e.isExternalOrCommonJsModule(p))return;s=p}return c?s.getSourceFile():s}(n);if(a)L(a,a.getSourceFile(),r,t,!(e.isSourceFile(a)&&!e.contains(t.sourceFiles,a)));else for(var i=0,o=t.sourceFiles;i<o.length;i++){var s=o[i];t.cancellationToken.throwIfCancellationRequested(),h(s,r,t)}}var p;t.getReferencedSymbolsForNode=function(n,t,s,d,p,f,m){if(void 0===f&&(f={}),void 0===m&&(m=new e.Set(d.map((function(e){return e.fileName})))),1===f.use?t=e.getAdjustedReferenceLocation(t):2===f.use&&(t=e.getAdjustedRenameLocation(t)),e.isSourceFile(t)){var _=e.GoToDefinition.getReferenceAtPosition(t,n,s),g=_&&s.getTypeChecker().getMergedSymbol(_.file.symbol);return g&&c(s,g,!1,d,m)}if(!f.implementations){var y=function(n,t,a){if(e.isTypeKeyword(n.kind)){if(113===n.kind&&e.isVoidExpression(n.parent))return;if(141===n.kind&&!l(n))return;return function(n,t,a,i){var o=e.flatMap(n,(function(n){return a.throwIfCancellationRequested(),e.mapDefined(b(n,e.tokenToString(t),n),(function(e){if(e.kind===t&&(!i||i(e)))return r(e)}))}));return o.length?[{definition:{type:2,node:o[0].node},references:o}]:void 0}(t,n.kind,a,141===n.kind?l:void 0)}if(e.isJumpStatementTarget(n)){var i=e.getTargetLabel(n.parent,n.text);return i&&T(i.parent,i)}if(e.isLabelOfLabeledStatement(n))return T(n.parent,n);if(e.isThis(n))return function(n,t,a){var i=e.getThisContainer(n,!1),o=32;switch(i.kind){case 164:case 163:if(e.isObjectLiteralMethod(i))break;case 162:case 161:case 165:case 166:case 167:o&=e.getSyntacticModifierFlags(i),i=i.parent;break;case 294:if(e.isExternalModule(i)||R(n))return;case 248:case 205:break;default:return}var s=e.flatMap(294===i.kind?t:[i.getSourceFile()],(function(n){return a.throwIfCancellationRequested(),b(n,"this",e.isSourceFile(i)?n:i).filter((function(n){if(!e.isThis(n))return!1;var t=e.getThisContainer(n,!1);switch(i.kind){case 205:case 248:return i.symbol===t.symbol;case 164:case 163:return e.isObjectLiteralMethod(i)&&i.symbol===t.symbol;case 218:case 249:return t.parent&&i.symbol===t.parent.symbol&&(32&e.getSyntacticModifierFlags(t))===o;case 294:return 294===t.kind&&!e.isExternalModule(t)&&!R(n)}}))})).map((function(e){return r(e)}));return[{definition:{type:3,node:e.firstDefined(s,(function(n){return e.isParameter(n.node.parent)?n.node:void 0}))||n},references:s}]}(n,t,a);if(105===n.kind)return function(n){var t=e.getSuperContainer(n,!1);if(!t)return;var a=32;switch(t.kind){case 162:case 161:case 164:case 163:case 165:case 166:case 167:a&=e.getSyntacticModifierFlags(t),t=t.parent;break;default:return}var i=t.getSourceFile(),o=e.mapDefined(b(i,"super",t),(function(n){if(105===n.kind){var i=e.getSuperContainer(n,!1);return i&&(32&e.getSyntacticModifierFlags(i))===a&&i.parent.symbol===t.symbol?r(n):void 0}}));return[{definition:{type:0,symbol:t.symbol},references:o}]}(n);return}(t,d,p);if(y)return y}var h=s.getTypeChecker(),v=h.getSymbolAtLocation(t);if(!v)return!f.implementations&&e.isStringLiteral(t)?function(n,t,a){var i=e.flatMap(t,(function(t){return a.throwIfCancellationRequested(),e.mapDefined(b(t,n.text),(function(t){return e.isStringLiteral(t)&&t.text===n.text?r(t,2):void 0}))}));return[{definition:{type:4,node:n},references:i}]}(t,d,p):void 0;if("export="===v.escapedName)return c(s,v.parent,!1,d,m);var E=i(v,s,d,p,f,m);if(E&&!(33554432&v.flags))return E;var S=a(t,v,h),L=S&&i(S,s,d,p,f,m);return o(s,E,u(v,t,d,m,h,p,f),L)},function(e){e[e.None=0]="None",e[e.Constructor=1]="Constructor",e[e.Class=2]="Class"}(p||(p={}));var f=function(){function t(n,t,r,a,i,o,s,c){this.sourceFiles=n,this.sourceFilesSet=t,this.specialSearchKind=r,this.checker=a,this.cancellationToken=i,this.searchMeaning=o,this.options=s,this.result=c,this.inheritsFromCache=new e.Map,this.markSeenContainingTypeReference=e.nodeSeenTracker(),this.markSeenReExportRHS=e.nodeSeenTracker(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}return t.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.fileName)},t.prototype.getImportSearches=function(e,t){return this.importTracker||(this.importTracker=n.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,t,2===this.options.use)},t.prototype.createSearch=function(n,t,r,a){void 0===a&&(a={});var i=a.text,o=void 0===i?e.stripQuotes(e.symbolName(e.getLocalSymbolForExportDefault(t)||function(n){if(33555968&n.flags){var t=n.declarations&&e.find(n.declarations,(function(n){return!e.isSourceFile(n)&&!e.isModuleDeclaration(n)}));return t&&t.symbol}}(t)||t)):i,s=a.allSearchSymbols,c=void 0===s?[t]:s;return{symbol:t,comingFrom:r,text:o,escapedText:e.escapeLeadingUnderscores(o),parents:this.options.implementations&&n?function(n,t,r){var a=e.isRightSideOfPropertyAccess(n)?n.parent:void 0,i=a&&r.getTypeAtLocation(a.expression),o=e.mapDefined(i&&(i.isUnionOrIntersection()?i.types:i.symbol===t.parent?void 0:[i]),(function(e){return e.symbol&&96&e.symbol.flags?e.symbol:void 0}));return 0===o.length?void 0:o}(n,t,this.checker):void 0,allSearchSymbols:c,includes:function(n){return e.contains(c,n)}}},t.prototype.referenceAdder=function(n){var t=e.getSymbolId(n),a=this.symbolIdToReferences[t];return a||(a=this.symbolIdToReferences[t]=[],this.result.push({definition:{type:0,symbol:n},references:a})),function(e,n){return a.push(r(e,n))}},t.prototype.addStringOrCommentReference=function(e,n){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:n}]})},t.prototype.markSearchedSymbols=function(n,t){for(var r=e.getNodeId(n),a=this.sourceFileToSeenSymbols[r]||(this.sourceFileToSeenSymbols[r]=new e.Set),i=!1,o=0,s=t;o<s.length;o++){var c=s[o];i=e.tryAddToSet(a,e.getSymbolId(c))||i}return i},t}();function m(e,n,t,r){var a=r.getImportSearches(n,t),i=a.importSearches,o=a.singleReferences,s=a.indirectUsers;if(o.length)for(var c=r.referenceAdder(n),l=0,u=o;l<u.length;l++){var d=u[l];_(d,r)&&c(d)}for(var p=0,f=i;p<f.length;p++){var m=f[p],g=m[0],y=m[1];S(g.getSourceFile(),r.createSearch(g,y,1),r)}if(s.length){var v=void 0;switch(t.exportKind){case 0:v=r.createSearch(e,n,1);break;case 1:v=2===r.options.use?void 0:r.createSearch(e,n,1,{text:"default"})}if(v)for(var b=0,E=s;b<E.length;b++){h(E[b],v,r)}}}function _(n,t){return!!x(n,t)&&(2!==t.options.use||!!e.isIdentifier(n)&&!(e.isImportOrExportSpecifier(n.parent)&&"default"===n.escapedText))}function g(e,n){if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t],i=a.getSourceFile();S(i,n.createSearch(a,e,0),n,n.includesSourceFile(i))}}function h(n,t,r){void 0!==e.getNameTable(n).get(t.escapedText)&&S(n,t,r)}function v(n,t,r,a,i){void 0===i&&(i=r);var o=e.isParameterPropertyDeclaration(n.parent,n.parent.parent)?e.first(t.getSymbolsOfParameterPropertyDeclaration(n.parent,n.text)):t.getSymbolAtLocation(n);if(o)for(var s=0,c=b(r,o.name,i);s<c.length;s++){var l=c[s];if(e.isIdentifier(l)&&l!==n&&l.escapedText===n.escapedText){var u=t.getSymbolAtLocation(l);if(u===o||t.getShorthandAssignmentValueSymbol(l.parent)===o||e.isExportSpecifier(l.parent)&&C(l,u,l.parent,t)===o){var d=a(l);if(d)return d}}}}function b(n,t,r){return void 0===r&&(r=n),E(n,t,r).map((function(t){return e.getTouchingPropertyName(n,t)}))}function E(n,t,r){void 0===r&&(r=n);var a=[];if(!t||!t.length)return a;for(var i=n.text,o=i.length,s=t.length,c=i.indexOf(t,r.pos);c>=0&&!(c>r.end);){var l=c+s;0!==c&&e.isIdentifierPart(i.charCodeAt(c-1),99)||l!==o&&e.isIdentifierPart(i.charCodeAt(l),99)||a.push(c),c=i.indexOf(t,c+s+1)}return a}function T(n,t){var a=n.getSourceFile(),i=t.text,o=e.mapDefined(b(a,i,n),(function(n){return n===t||e.isJumpStatementTarget(n)&&e.getTargetLabel(n,i)===t?r(n):void 0}));return[{definition:{type:1,node:t},references:o}]}function S(e,n,t,r){return void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),L(e,e,n,t,r)}function L(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=E(n,t.text,e);i<o.length;i++){A(n,o[i],t,r,a)}}function x(n,t){return!!(e.getMeaningFromLocation(n)&t.searchMeaning)}function A(t,r,a,i,o){var s=e.getTouchingPropertyName(t,r);if(function(n,t){switch(n.kind){case 79:case 78:return n.text.length===t.length;case 14:case 10:var r=n;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(r)||e.isNameOfModuleDeclaration(n)||e.isExpressionOfExternalModuleImportEqualsDeclaration(n)||e.isCallExpression(n.parent)&&e.isBindableObjectDefinePropertyCall(n.parent)&&n.parent.arguments[1]===n)&&r.text.length===t.length;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n)&&n.text.length===t.length;case 87:return"default".length===t.length;default:return!1}}(s,a.text)){if(x(s,i)){var c=i.checker.getSymbolAtLocation(s);if(c){var l=s.parent;if(!e.isImportSpecifier(l)||l.propertyName!==s){if(e.isExportSpecifier(l))return e.Debug.assert(78===s.kind),void D(s,c,l,a,i,o);var u=function(n,t,r,a){var i=a.checker;return O(t,r,i,!1,2!==a.options.use||!!a.options.providePrefixAndSuffixTextForRename,(function(r,a,i,o){return i&&P(t)!==P(i)&&(i=void 0),n.includes(i||a||r)?{symbol:!a||6&e.getCheckFlags(r)?r:a,kind:o}:void 0}),(function(t){return!(n.parents&&!n.parents.some((function(n){return function n(t,r,a,i){if(t===r)return!0;var o=e.getSymbolId(t)+","+e.getSymbolId(r),s=a.get(o);if(void 0!==s)return s;a.set(o,!1);var c=!!t.declarations&&t.declarations.some((function(t){return e.getAllSuperTypeNodes(t).some((function(e){var t=i.getTypeAtLocation(e);return!!t&&!!t.symbol&&n(t.symbol,r,a,i)}))}));return a.set(o,c),c}(t.parent,n,a.inheritsFromCache,i)})))}))}(a,c,s,i);if(u){switch(i.specialSearchKind){case 0:o&&I(s,u,i);break;case 1:!function(n,t,r,a){e.isNewExpressionTarget(n)&&I(n,r.symbol,a);var i=function(){return a.referenceAdder(r.symbol)};if(e.isClassLike(n.parent))e.Debug.assert(87===n.kind||n.parent.name===n),function(n,t,r){var a=N(n);if(a&&a.declarations)for(var i=0,o=a.declarations;i<o.length;i++){var s=o[i],c=e.findChildOfKind(s,132,t);e.Debug.assert(165===s.kind&&!!c),r(c)}n.exports&&n.exports.forEach((function(n){var t=n.valueDeclaration;if(t&&164===t.kind){var a=t.body;a&&F(a,107,(function(n){e.isNewExpressionTarget(n)&&r(n)}))}}))}(r.symbol,t,i());else{var o=(s=n,e.tryGetClassExtendingExpressionWithTypeArguments(e.climbPastPropertyAccess(s).parent));o&&(function(n,t){var r=N(n.symbol);if(!r||!r.declarations)return;for(var a=0,i=r.declarations;a<i.length;a++){var o=i[a];e.Debug.assert(165===o.kind);var s=o.body;s&&F(s,105,(function(n){e.isCallExpressionTarget(n)&&t(n)}))}}(o,i()),function(e,n){if(function(e){return!!N(e.symbol)}(e))return;var t=e.symbol,r=n.createSearch(void 0,t,void 0);d(t,n,r)}(o,a))}var s}(s,t,a,i);break;case 2:!function(n,t,r){I(n,t.symbol,r);var a=n.parent;if(2===r.options.use||!e.isClassLike(a))return;e.Debug.assert(a.name===n);for(var i=r.referenceAdder(t.symbol),o=0,s=a.members;o<s.length;o++){var c=s[o];e.isMethodOrAccessor(c)&&e.hasSyntacticModifier(c,32)&&(c.body&&c.body.forEachChild((function n(t){107===t.kind?i(t):e.isFunctionLike(t)||e.isClassLike(t)||t.forEachChild(n)})))}}(s,a,i);break;default:e.Debug.assertNever(i.specialSearchKind)}!function(e,t,r,a){var i=n.getImportOrExportSymbol(e,t,a.checker,1===r.comingFrom);if(!i)return;var o=i.symbol;0===i.kind?G(a.options)||g(o,a):m(e,o,i.exportInfo,a)}(s,c,a,i)}else!function(n,t,r){var a=n.flags,i=n.valueDeclaration,o=r.checker.getShorthandAssignmentValueSymbol(i),s=i&&e.getNameOfDeclaration(i);33554432&a||!s||!t.includes(o)||I(s,o,r)}(c,a,i)}}}}else!i.options.implementations&&(i.options.findInStrings&&e.isInString(t,r)||i.options.findInComments&&e.isInNonReferenceComment(t,r))&&i.addStringOrCommentReference(t.fileName,e.createTextSpan(r,a.text.length))}function D(t,r,a,i,o,s,c){e.Debug.assert(!c||!!o.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var l=a.parent,u=a.propertyName,d=a.name,p=l.parent,f=C(t,r,a,o.checker);if(c||i.includes(f)){if(u?t===u?(p.moduleSpecifier||b(),s&&2!==o.options.use&&o.markSeenReExportRHS(d)&&I(d,e.Debug.checkDefined(a.symbol),o)):o.markSeenReExportRHS(t)&&b():2===o.options.use&&"default"===d.escapedText||b(),!G(o.options)||c){var _=87===t.originalKeywordKind||87===a.name.originalKeywordKind?1:0,y=e.Debug.checkDefined(a.symbol),h=n.getExportInfo(y,_,o.checker);h&&m(t,y,h,o)}if(1!==i.comingFrom&&p.moduleSpecifier&&!u&&!G(o.options)){var v=o.checker.getExportSpecifierLocalTargetSymbol(a);v&&g(v,o)}}function b(){s&&I(t,f,o)}}function C(n,t,r,a){return function(n,t){var r=t.parent,a=t.propertyName,i=t.name;return e.Debug.assert(a===n||i===n),a?a===n:!r.parent.moduleSpecifier}(n,r)&&a.getExportSpecifierLocalTargetSymbol(r)||t}function I(n,t,r){var a="kind"in t?t:{kind:void 0,symbol:t},i=a.kind,o=a.symbol,s=r.referenceAdder(o);r.options.implementations?function(n,t,r){if(e.isDeclarationName(n)&&(a=n.parent,8388608&a.flags?!e.isInterfaceDeclaration(a)&&!e.isTypeAliasDeclaration(a):e.isVariableLike(a)?e.hasInitializer(a):e.isFunctionLikeDeclaration(a)?a.body:e.isClassLike(a)||e.isModuleOrEnumDeclaration(a)))return void t(n);var a;if(78!==n.kind)return;286===n.parent.kind&&w(n,r.checker,t);var i=function n(t){return e.isIdentifier(t)||e.isPropertyAccessExpression(t)?n(t.parent):e.isExpressionWithTypeArguments(t)?e.tryCast(t.parent.parent,e.isClassLike):void 0}(n);if(i)return void t(i);var o=e.findAncestor(n,(function(n){return!e.isQualifiedName(n.parent)&&!e.isTypeNode(n.parent)&&!e.isTypeElement(n.parent)})),s=o.parent;if(e.hasType(s)&&s.type===o&&r.markSeenContainingTypeReference(s))if(e.hasInitializer(s))l(s.initializer);else if(e.isFunctionLike(s)&&s.body){var c=s.body;227===c.kind?e.forEachReturnStatement(c,(function(e){e.expression&&l(e.expression)})):l(c)}else e.isAssertionExpression(s)&&l(s.expression);function l(e){(function e(n){switch(n.kind){case 204:return e(n.expression);case 206:case 205:case 197:case 218:case 196:return!0;default:return!1}})(e)&&t(e)}}(n,s,r):s(n,i)}function N(e){return e.members&&e.members.get("__constructor")}function R(e){return 78===e.kind&&159===e.parent.kind&&e.parent.name===e}function k(e,n,t,r,a,i){var o=[];return O(e,n,t,r,!(r&&a),(function(n,t,r){r&&P(e)!==P(r)&&(r=void 0),o.push(r||t||n)}),(function(){return!i})),o}function O(n,t,r,i,o,s,c){var l=e.getContainingObjectLiteralElement(t);if(l){var u=r.getShorthandAssignmentValueSymbol(t.parent);if(u&&i)return s(u,void 0,void 0,3);var d=r.getContextualType(l.parent),p=d&&e.firstDefined(e.getPropertySymbolsFromContextualType(l,r,d,!0),(function(e){return L(e,4)}));if(p)return p;var f=function(n,t){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent.parent)?t.getPropertySymbolOfDestructuringAssignment(n):void 0}(t,r),m=f&&s(f,void 0,void 0,4);if(m)return m;var _=u&&s(u,void 0,void 0,3);if(_)return _}var g=a(t,n,r);if(g){var y=s(g,void 0,void 0,1);if(y)return y}var h=L(n);if(h)return h;if(n.valueDeclaration&&e.isParameterPropertyDeclaration(n.valueDeclaration,n.valueDeclaration.parent)){var v=r.getSymbolsOfParameterPropertyDeclaration(e.cast(n.valueDeclaration,e.isParameter),n.name);return e.Debug.assert(2===v.length&&!!(1&v[0].flags)&&!!(4&v[1].flags)),L(1&n.flags?v[1]:v[0])}var b=e.getDeclarationOfKind(n,267);if(!i||b&&!b.propertyName){var E=b&&r.getExportSpecifierLocalTargetSymbol(b);if(E){var T=s(E,void 0,void 0,1);if(T)return T}}if(!i){var S=void 0;return(S=o?e.isObjectBindingElementWithoutPropertyName(t.parent)?e.getPropertySymbolFromBindingElement(r,t.parent):void 0:x(n,r))&&L(S,4)}if(e.Debug.assert(i),o)return(S=x(n,r))&&L(S,4);function L(n,t){return e.firstDefined(r.getRootSymbols(n),(function(a){return s(n,a,void 0,t)||(a.parent&&96&a.parent.flags&&c(a)?e.getPropertySymbolsFromBaseTypes(a.parent,a.name,r,(function(e){return s(n,a,e,t)})):void 0)}))}function x(n,t){var r=e.getDeclarationOfKind(n,195);if(r&&e.isObjectBindingElementWithoutPropertyName(r))return e.getPropertySymbolFromBindingElement(t,r)}}function P(n){return!!n.valueDeclaration&&!!(32&e.getEffectiveModifierFlags(n.valueDeclaration))}function M(n,t){var r=e.getMeaningFromLocation(n),a=t.declarations;if(a){var i=void 0;do{i=r;for(var o=0,s=a;o<s.length;o++){var c=s[o],l=e.getMeaningFromDeclaration(c);l&r&&(r|=l)}}while(r!==i)}return r}function w(n,t,r){var a=t.getSymbolAtLocation(n),i=t.getShorthandAssignmentValueSymbol(a.valueDeclaration);if(i)for(var o=0,s=i.getDeclarations();o<s.length;o++){var c=s[o];1&e.getMeaningFromDeclaration(c)&&r(c)}}function F(n,t,r){e.forEachChild(n,(function(e){e.kind===t&&r(e),F(e,t,r)}))}function G(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}t.eachExportReference=function(t,r,a,i,o,s,c,l){for(var u=n.createImportTracker(t,new e.Set(t.map((function(e){return e.fileName}))),r,a)(i,{exportKind:c?1:0,exportingModuleSymbol:o},!1),d=u.importSearches,p=u.indirectUsers,f=0,m=d;f<m.length;f++){l(m[f][0])}for(var _=0,g=p;_<g.length;_++)for(var y=0,h=b(g[_],c?"default":s);y<h.length;y++){var v=h[y];e.isIdentifier(v)&&!e.isImportOrExportSpecifier(v.parent)&&r.getSymbolAtLocation(v)===i&&l(v)}},t.isSymbolReferencedInFile=function(e,n,t,r){return void 0===r&&(r=t),v(e,n,t,(function(){return!0}),r)||!1},t.eachSymbolReferenceInFile=v,t.eachSignatureCall=function(n,t,r,a){if(n.name&&e.isIdentifier(n.name))for(var i=e.Debug.checkDefined(r.getSymbolAtLocation(n.name)),o=0,s=t;o<s.length;o++)for(var c=0,l=b(s[o],i.name);c<l.length;c++){var u=l[c];if(e.isIdentifier(u)&&u!==n.name&&u.escapedText===n.name.escapedText){var d=e.climbPastPropertyAccess(u),p=d.parent;if(e.isCallExpression(p)&&p.expression===d){var f=r.getSymbolAtLocation(u);f&&r.getRootSymbols(f).some((function(e){return e===i}))&&a(p)}}}},t.getIntersectingMeaningFromDeclarations=M,t.getReferenceEntriesForShorthandPropertyAssignment=w}(t=n.Core||(n.Core={}))}(e.FindAllReferences||(e.FindAllReferences={}))}(p||(p={})),function(e){!function(n){function t(n){return(e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isClassExpression(n))&&e.isVariableDeclaration(n.parent)&&n===n.parent.initializer&&e.isIdentifier(n.parent.name)&&!!(2&e.getCombinedNodeFlags(n.parent))}function r(n){return e.isSourceFile(n)||e.isModuleDeclaration(n)||e.isFunctionDeclaration(n)||e.isFunctionExpression(n)||e.isClassDeclaration(n)||e.isClassExpression(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isGetAccessorDeclaration(n)||e.isSetAccessorDeclaration(n)}function a(n){return e.isSourceFile(n)||e.isModuleDeclaration(n)&&e.isIdentifier(n.name)||e.isFunctionDeclaration(n)||e.isClassDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isGetAccessorDeclaration(n)||e.isSetAccessorDeclaration(n)||function(n){return(e.isFunctionExpression(n)||e.isClassExpression(n))&&e.isNamedDeclaration(n)}(n)||t(n)}function i(n){return e.isSourceFile(n)?n:e.isNamedDeclaration(n)?n.name:t(n)?n.parent.name:e.Debug.checkDefined(n.modifiers&&e.find(n.modifiers,o))}function o(e){return 87===e.kind}function s(e,n){var t=i(n);return t&&e.getSymbolAtLocation(t)}function c(n,t){if(t.body)return t;if(e.isConstructorDeclaration(t))return e.getFirstConstructorWithBody(t.parent);if(e.isFunctionDeclaration(t)||e.isMethodDeclaration(t)){var r=s(n,t);return r&&r.valueDeclaration&&e.isFunctionLikeDeclaration(r.valueDeclaration)&&r.valueDeclaration.body?r.valueDeclaration:void 0}return t}function l(n,t){var r,i=s(n,t);if(i&&i.declarations){var o=e.indicesOf(i.declarations),c=e.map(i.declarations,(function(e){return{file:e.getSourceFile().fileName,pos:e.pos}}));o.sort((function(n,t){return e.compareStringsCaseSensitive(c[n].file,c[t].file)||c[n].pos-c[t].pos}));for(var l=void 0,u=0,d=e.map(o,(function(e){return i.declarations[e]}));u<d.length;u++){var p=d[u];a(p)&&(l&&l.parent===p.parent&&l.end===p.pos||(r=e.append(r,p)),l=p)}}return r}function u(n,t){var r,a,i;return e.isFunctionLikeDeclaration(t)?null!==(a=null!==(r=c(n,t))&&void 0!==r?r:l(n,t))&&void 0!==a?a:t:null!==(i=l(n,t))&&void 0!==i?i:t}function d(n,i){for(var o=n.getTypeChecker(),s=!1;;){if(a(i))return u(o,i);var c;if(r(i))return(c=e.findAncestor(i,a))&&u(o,c);if(e.isDeclarationName(i))return a(i.parent)?u(o,i.parent):r(i.parent)?(c=e.findAncestor(i.parent,a))&&u(o,c):e.isVariableDeclaration(i.parent)&&i.parent.initializer&&t(i.parent.initializer)?i.parent.initializer:void 0;if(e.isConstructorDeclaration(i))return a(i.parent)?i.parent:void 0;if(e.isVariableDeclaration(i)&&i.initializer&&t(i.initializer))return i.initializer;if(!s){var l=o.getSymbolAtLocation(i);if(l&&(2097152&l.flags&&(l=o.getAliasedSymbol(l)),l.valueDeclaration)){s=!0,i=l.valueDeclaration;continue}}return}}function p(n,r){var a=r.getSourceFile(),i=function(n,r){if(e.isSourceFile(r))return{text:r.fileName,pos:0,end:0};if((e.isFunctionDeclaration(r)||e.isClassDeclaration(r))&&!e.isNamedDeclaration(r)){var a=r.modifiers&&e.find(r.modifiers,o);if(a)return{text:"default",pos:a.getStart(),end:a.getEnd()}}var i=t(r)?r.parent.name:e.Debug.checkDefined(e.getNameOfDeclaration(r),"Expected call hierarchy item to have a name"),s=e.isIdentifier(i)?e.idText(i):e.isStringOrNumericLiteralLike(i)?i.text:e.isComputedPropertyName(i)&&e.isStringOrNumericLiteralLike(i.expression)?i.expression.text:void 0;if(void 0===s){var c=n.getTypeChecker(),l=c.getSymbolAtLocation(i);l&&(s=c.symbolToString(l,r))}if(void 0===s){var u=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0});s=e.usingSingleLineStringWriter((function(e){return u.writeNode(4,r,r.getSourceFile(),e)}))}return{text:s,pos:i.getStart(),end:i.getEnd()}}(n,r),s=function(n){var r,a;if(t(n))return e.isModuleBlock(n.parent.parent.parent.parent)&&e.isIdentifier(n.parent.parent.parent.parent.parent.name)?n.parent.parent.parent.parent.parent.name.getText():void 0;switch(n.kind){case 166:case 167:case 164:return 197===n.parent.kind?null===(r=e.getAssignedName(n.parent))||void 0===r?void 0:r.getText():null===(a=e.getNameOfDeclaration(n.parent))||void 0===a?void 0:a.getText();case 248:case 249:case 253:if(e.isModuleBlock(n.parent)&&e.isIdentifier(n.parent.parent.name))return n.parent.parent.name.getText()}}(r),c=e.getNodeKind(r),l=e.getNodeModifiers(r),u=e.createTextSpanFromBounds(e.skipTrivia(a.text,r.getFullStart(),!1,!0),r.getEnd()),d=e.createTextSpanFromBounds(i.pos,i.end);return{file:a.fileName,kind:c,kindModifiers:l,name:i.text,containerName:s,span:u,selectionSpan:d}}function f(e){return void 0!==e}function m(n){if(1===n.kind){var t=n.node;if(e.isCallOrNewExpressionTarget(t,!0,!0)||e.isTaggedTemplateTag(t,!0,!0)||e.isDecoratorTarget(t,!0,!0)||e.isJsxOpeningLikeElementTagName(t,!0,!0)||e.isRightSideOfPropertyAccess(t)||e.isArgumentExpressionOfElementAccess(t)){var r=t.getSourceFile();return{declaration:e.findAncestor(t,a)||r,range:e.createTextRangeFromNode(t,r)}}}}function _(n){return e.getNodeId(n.declaration)}function g(n,t){var r=[],i=function(n,t){function r(r){var a=e.isTaggedTemplateExpression(r)?r.tag:e.isJsxOpeningLikeElement(r)?r.tagName:e.isAccessExpression(r)?r:r.expression,i=d(n,a);if(i){var o=e.createTextRangeFromNode(a,r.getSourceFile());if(e.isArray(i))for(var s=0,c=i;s<c.length;s++){var l=c[s];t.push({declaration:l,range:o})}else t.push({declaration:i,range:o})}}return function n(t){if(t&&!(8388608&t.flags))if(a(t)){if(e.isClassLike(t))for(var i=0,o=t.members;i<o.length;i++){var s=o[i];s.name&&e.isComputedPropertyName(s.name)&&n(s.name.expression)}}else{switch(t.kind){case 78:case 257:case 258:case 264:case 250:case 251:return;case 203:case 221:return void n(t.expression);case 246:case 159:return n(t.name),void n(t.initializer);case 200:case 201:return r(t),n(t.expression),void e.forEach(t.arguments,n);case 202:return r(t),n(t.tag),void n(t.template);case 272:case 271:return r(t),n(t.tagName),void n(t.attributes);case 160:return r(t),void n(t.expression);case 198:case 199:r(t),e.forEachChild(t,n)}e.isPartOfTypeNode(t)||e.forEachChild(t,n)}}}(n,r);switch(t.kind){case 294:!function(n,t){e.forEach(n.statements,t)}(t,i);break;case 253:!function(n,t){!e.hasSyntacticModifier(n,2)&&n.body&&e.isModuleBlock(n.body)&&e.forEach(n.body.statements,t)}(t,i);break;case 248:case 205:case 206:case 164:case 166:case 167:!function(n,t,r){var a=c(n,t);a&&(e.forEach(a.parameters,r),r(a.body))}(n.getTypeChecker(),t,i);break;case 249:case 218:!function(n,t){e.forEach(n.decorators,t);var r=e.getClassExtendsHeritageElement(n);r&&t(r.expression);for(var a=0,i=n.members;a<i.length;a++){var o=i[a];e.forEach(o.decorators,t),e.isPropertyDeclaration(o)?t(o.initializer):e.isConstructorDeclaration(o)&&o.body&&(e.forEach(o.parameters,t),t(o.body))}}(t,i);break;default:e.Debug.assertNever(t)}return r}n.resolveCallHierarchyDeclaration=d,n.createCallHierarchyItem=p,n.getIncomingCalls=function(n,t,r){if(e.isSourceFile(t)||e.isModuleDeclaration(t))return[];var a=i(t),o=e.filter(e.FindAllReferences.findReferenceOrRenameEntries(n,r,n.getSourceFiles(),a,0,{use:1},m),f);return o?e.group(o,_,(function(t){return function(n,t){return r=p(n,t[0].declaration),a=e.map(t,(function(n){return e.createTextSpanFromRange(n.range)})),{from:r,fromSpans:a};var r,a}(n,t)})):[]},n.getOutgoingCalls=function(n,t){return 8388608&t.flags||e.isMethodSignature(t)?[]:e.group(g(n,t),_,(function(t){return function(n,t){return r=p(n,t[0].declaration),a=e.map(t,(function(n){return e.createTextSpanFromRange(n.range)})),{to:r,fromSpans:a};var r,a}(n,t)}))}}(e.CallHierarchy||(e.CallHierarchy={}))}(p||(p={})),function(e){function n(n,r,a,i){var o=a(n);return function(n){var s=i&&i.tryGetSourcePosition({fileName:n,pos:0}),c=function(n){if(a(n)===o)return r;var t=e.tryRemoveDirectoryPrefix(n,o,a);return void 0===t?void 0:r+"/"+t}(s?s.fileName:n);return s?void 0===c?void 0:function(n,r,a,i){var o=e.getRelativePathFromFile(n,r,i);return t(e.getDirectoryPath(a),o)}(s.fileName,c,n,a):c}}function t(n,t){return e.ensurePathIsNonModuleName(function(n,t){return e.normalizePath(e.combinePaths(n,t))}(n,t))}function r(n,t,r){if(n){if(n.resolvedModule){var a=s(n.resolvedModule.resolvedFileName);if(a)return a}var i=e.forEach(n.failedLookupLocations,(function(n){var a=t(n);return a&&e.find(r,(function(e){return e.fileName===a}))?o(n):void 0}))||e.forEach(n.failedLookupLocations,o);return i||n.resolvedModule&&{newFileName:n.resolvedModule.resolvedFileName,updated:!1}}function o(n){return e.endsWith(n,"/package.json")?void 0:s(n)}function s(e){var n=t(e);return n&&{newFileName:n,updated:!0}}}function a(n,t){return e.createRange(n.getStart(t)+1,n.end-1)}function i(n,t){if(e.isObjectLiteralExpression(n))for(var r=0,a=n.properties;r<a.length;r++){var i=a[r];e.isPropertyAssignment(i)&&e.isStringLiteral(i.name)&&t(i,i.name.text)}}e.getEditsForFileRename=function(o,s,c,l,u,d,p){var f=e.hostUsesCaseSensitiveFileNames(l),m=e.createGetCanonicalFileName(f),_=n(s,c,m,p),g=n(c,s,m,p);return e.textChanges.ChangeTracker.with({host:l,formatContext:u,preferences:d},(function(n){!function(n,r,o,s,c,l,u){var d=n.getCompilerOptions().configFile;if(!d)return;var p=e.getDirectoryPath(d.fileName),f=e.getTsConfigObjectLiteralExpression(d);if(!f)return;function m(n){for(var t=!1,r=0,a=e.isArrayLiteralExpression(n.initializer)?n.initializer.elements:[n.initializer];r<a.length;r++){t=_(a[r])||t}return t}function _(n){if(!e.isStringLiteral(n))return!1;var i=t(p,n.text),s=o(i);return void 0!==s&&(r.replaceRangeWithText(d,a(n,d),g(s)),!0)}function g(n){return e.getRelativePathFromDirectory(p,n,!u)}i(f,(function(n,t){switch(t){case"files":case"include":case"exclude":if(!m(n)&&"include"===t&&e.isArrayLiteralExpression(n.initializer)){var a=e.mapDefined(n.initializer.elements,(function(n){return e.isStringLiteral(n)?n.text:void 0})),o=e.getFileMatcherPatterns(p,[],a,u,l);e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),u).test(s)&&!e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),u).test(c)&&r.insertNodeAfter(d,e.last(n.initializer.elements),e.factory.createStringLiteral(g(c)))}break;case"compilerOptions":i(n.initializer,(function(n,t){var r=e.getOptionFromName(t);r&&(r.isFilePath||"list"===r.type&&r.element.isFilePath)?m(n):"paths"===t&&i(n.initializer,(function(n){if(e.isArrayLiteralExpression(n.initializer))for(var t=0,r=n.initializer.elements;t<r.length;t++){_(r[t])}}))}))}}))}(o,n,_,s,c,l.getCurrentDirectory(),f),function(n,i,o,s,c,l){for(var u=n.getSourceFiles(),d=function(d){var p=o(d.fileName),f=null!=p?p:d.fileName,m=e.getDirectoryPath(f),_=s(d.fileName),g=_||d.fileName,y=e.getDirectoryPath(g),h=void 0!==p||void 0!==_;!function(n,t,r,i){for(var o=0,s=n.referencedFiles||e.emptyArray;o<s.length;o++){var c=s[o];void 0!==(d=r(c.fileName))&&d!==n.text.slice(c.pos,c.end)&&t.replaceRangeWithText(n,c,d)}for(var l=0,u=n.imports;l<u.length;l++){var d,p=u[l];void 0!==(d=i(p))&&d!==p.text&&t.replaceRangeWithText(n,a(p,n),d)}}(d,i,(function(n){if(e.pathIsRelative(n)){var r=t(y,n),a=o(r);return void 0===a?void 0:e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(m,a,l))}}),(function(t){var a=n.getTypeChecker().getSymbolAtLocation(t);if(!a||!a.declarations.some((function(n){return e.isAmbientModule(n)}))){var i=void 0!==_?r(e.resolveModuleName(t.text,g,n.getCompilerOptions(),c),o,u):function(n,t,a,i,o,s){if(n){var c=e.find(n.declarations,e.isSourceFile).fileName,l=s(c);return void 0===l?{newFileName:c,updated:!1}:{newFileName:l,updated:!0}}return r(o.resolveModuleNames?o.getResolvedModuleWithFailedLookupLocationsFromCache&&o.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,a.fileName):i.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,a.fileName),s,i.getSourceFiles())}(a,t,d,n,c,o);return void 0!==i&&(i.updated||h&&e.pathIsRelative(t.text))?e.moduleSpecifiers.updateModuleSpecifier(n.getCompilerOptions(),l(f),i.newFileName,e.createModuleSpecifierResolutionHost(n,c),t.text):void 0}}))},p=0,f=u;p<f.length;p++){var m=f[p];d(m)}}(o,n,_,g,l,m)}))},e.getPathUpdater=n}(p||(p={})),function(e){!function(n){function t(n,t,a){var s,d,p=r(t,a,n);if(p)return[(s=p.fileName,d=p.file.fileName,{fileName:d,textSpan:e.createTextSpanFromBounds(0,0),kind:"script",name:s,containerName:void 0,containerKind:void 0})];var f=e.getTouchingPropertyName(t,a);if(f!==t){var m=f.parent,_=n.getTypeChecker();if(e.isJumpStatementTarget(f)){var g=e.getTargetLabel(f.parent,f.text);return g?[l(_,g,"label",f.text,void 0)]:void 0}var y=function(n,t){var r=t.getSymbolAtLocation(n);if(r&&2097152&r.flags&&function(e,n){if(78!==e.kind)return!1;if(e.parent===n)return!0;switch(n.kind){case 259:case 257:return!0;case 262:return 261===n.parent.kind;default:return!1}}(n,r.declarations[0])){var a=t.getAliasedSymbol(r);if(a.declarations)return a}if(r&&e.isInJSFile(n)){var i=e.forEach(r.declarations,(function(n){return e.isVariableDeclaration(n)&&n.initializer&&e.isRequireCall(n.initializer,!0)?n.initializer:void 0}));if(i){var o=t.getSymbolAtLocation(i.arguments[0]);if(o)return t.resolveExternalModuleSymbol(o)}}return r}(f,_);if(!y)return function(n,t){if(!e.isPropertyAccessExpression(n.parent)||n.parent.name!==n)return;var r=t.getTypeAtLocation(n.parent.expression);return e.mapDefined(r.isUnionOrIntersection()?r.types:[r],(function(e){var n=t.getIndexInfoOfType(e,0);return n&&n.declaration&&u(t,n.declaration)}))}(f,_);var h=function(n,t){var r=function(n){var t=e.findAncestor(n,(function(n){return!e.isRightSideOfPropertyAccess(n)})),r=null==t?void 0:t.parent;return r&&e.isCallLikeExpression(r)&&e.getInvokedExpression(r)===t?r:void 0}(t),a=r&&n.getResolvedSignature(r);return e.tryCast(a&&a.declaration,(function(n){return e.isFunctionLike(n)&&!e.isFunctionTypeNode(n)}))}(_,f);if(h&&(!e.isJsxOpeningLikeElement(f.parent)||!function(e){switch(e.kind){case 165:case 174:case 169:return!0;default:return!1}}(h))){var v=u(_,h);if(_.getRootSymbols(y).some((function(n){return function(n,t){return n===t.symbol||n===t.symbol.parent||e.isAssignmentExpression(t.parent)||!e.isCallLikeExpression(t.parent)&&n===t.parent.symbol}(n,h)}))||y.declarations&&y.declarations.some((function(n){return e.isVariableDeclaration(n)&&!!n.initializer&&e.isRequireCall(n.initializer,!1)})))return[v];var b=i(_,y,f,h)||e.emptyArray;return 105===f.kind?o([v],b):o(b,[v])}if(286===f.parent.kind){var E=_.getShorthandAssignmentValueSymbol(y.valueDeclaration);return E?E.declarations.map((function(e){return c(e,_,E,f)})):[]}if(e.isPropertyName(f)&&e.isBindingElement(m)&&e.isObjectBindingPattern(m.parent)&&f===(m.propertyName||m.name)){var T=e.getNameFromPropertyName(f),S=_.getTypeAtLocation(m.parent);return void 0===T?e.emptyArray:e.flatMap(S.isUnion()?S.types:[S],(function(e){var n=e.getProperty(T);return n&&i(_,n,f)}))}var L=e.getContainingObjectLiteralElement(f);if(L){var x=L&&_.getContextualType(L.parent);if(x)return e.flatMap(e.getPropertySymbolsFromContextualType(L,_,x,!1),(function(e){return i(_,e,f)}))}return i(_,y,f)}}function r(e,n,t){var r=d(e.referencedFiles,n);if(r)return(o=t.getSourceFileFromReference(e,r))&&{fileName:r.fileName,file:o};var a=d(e.typeReferenceDirectives,n);if(a){var i=t.getResolvedTypeReferenceDirectives().get(a.fileName);return(o=i&&t.getSourceFile(i.resolvedFileName))&&{fileName:a.fileName,file:o}}var o,s=d(e.libReferenceDirectives,n);return s?(o=t.getLibFileFromReference(s))&&{fileName:s.fileName,file:o}:void 0}function a(n,t,r){return e.flatMap(!n.isUnion()||32&n.flags?[n]:n.types,(function(e){return e.symbol&&i(t,e.symbol,r)}))}function i(n,t,r,a){var i=e.filter(t.declarations,(function(n){return n!==a&&(!e.isAssignmentDeclaration(n)||n===t.valueDeclaration)}))||void 0;return function(){if(32&t.flags&&!(19&t.flags)&&(e.isNewExpressionTarget(r)||132===r.kind)){return o((e.find(i,e.isClassLike)||e.Debug.fail("Expected declaration to have at least one class-like declaration")).members,!0)}}()||(e.isCallOrNewExpressionTarget(r)||e.isNameOfFunctionDeclaration(r)?o(i,!1):void 0)||e.map(i,(function(e){return c(e,n,t,r)}));function o(a,i){if(a){var o=a.filter(i?e.isConstructorDeclaration:e.isFunctionLike),s=o.filter((function(e){return!!e.body}));return o.length?0!==s.length?s.map((function(e){return c(e,n,t,r)})):[c(e.last(o),n,t,r)]:void 0}}}function c(n,t,r,a){var i=t.symbolToString(r),o=e.SymbolDisplay.getSymbolKind(t,r,a),s=r.parent?t.symbolToString(r.parent,a):"";return l(t,n,o,i,s)}function l(n,t,r,a,i){var o=e.getNameOfDeclaration(t)||t,c=o.getSourceFile(),l=e.createTextSpanFromNode(o,c);return s(s({fileName:c.fileName,textSpan:l,kind:r,name:a,containerKind:void 0,containerName:i},e.FindAllReferences.toContextSpan(l,c,e.FindAllReferences.getContextNode(t))),{isLocal:!n.isDeclarationVisible(t)})}function u(e,n){return c(n,e,n.symbol,n)}function d(n,t){return e.find(n,(function(n){return e.textRangeContainsPositionInclusive(n,t)}))}n.getDefinitionAtPosition=t,n.getReferenceAtPosition=r,n.getTypeDefinitionAtPosition=function(n,t,r){var i=e.getTouchingPropertyName(t,r);if(i!==t){var o=n.getSymbolAtLocation(i);if(o){var s=n.getTypeOfSymbolAtLocation(o,i),c=function(n,t,r){if(t.symbol===n||n.valueDeclaration&&t.symbol&&e.isVariableDeclaration(n.valueDeclaration)&&n.valueDeclaration.initializer===t.symbol.valueDeclaration){var a=t.getCallSignatures();if(1===a.length)return r.getReturnTypeOfSignature(e.first(a))}return}(o,s,n),l=c&&a(c,n,i);return l&&0!==l.length?l:a(s,n,i)}}},n.getDefinitionAndBoundSpan=function(n,r,a){var i=t(n,r,a);if(i&&0!==i.length){var o=d(r.referencedFiles,a)||d(r.typeReferenceDirectives,a)||d(r.libReferenceDirectives,a);if(o)return{definitions:i,textSpan:e.createTextSpanFromRange(o)};var s=e.getTouchingPropertyName(r,a);return{definitions:i,textSpan:e.createTextSpan(s.getStart(),s.getWidth())}}},n.findReferenceInPosition=d}(e.GoToDefinition||(e.GoToDefinition={}))}(p||(p={})),function(e){!function(n){var t,r,a=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","listens","member","memberof","method","mixes","module","name","namespace","override","package","param","private","property","protected","public","readonly","requires","returns","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"];function i(e){var n=e.comment;switch(e.kind){case 312:case 311:return r(e.class);case 326:return a(e.typeParameters.map((function(e){return e.getText()})).join(", "));case 325:return r(e.typeExpression);case 327:case 320:case 328:case 322:var t=e.name;return t?r(t):n;default:return n}function r(e){return a(e.getText())}function a(e){return void 0===n?e:e+" "+n}}function o(n){return{name:n,kind:"",kindModifiers:"",displayParts:[e.textPart(n)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}}function s(n){switch(n.kind){case 248:case 205:case 164:case 165:case 163:return{commentOwner:n,parameters:n.parameters};case 285:return s(n.initializer);case 249:case 250:case 161:case 252:case 288:case 251:return{commentOwner:n};case 229:var t=n.declarationList.declarations;return{commentOwner:n,parameters:1===t.length&&t[0].initializer?function(n){for(;204===n.kind;)n=n.expression;switch(n.kind){case 205:case 206:return n.parameters;case 218:var t=e.find(n.members,e.isConstructorDeclaration);return t?t.parameters:e.emptyArray}return e.emptyArray}(t[0].initializer):void 0};case 294:return"quit";case 253:return 253===n.parent.kind?void 0:{commentOwner:n};case 230:return s(n.expression);case 213:var r=n;return 0===e.getAssignmentDeclarationKind(r)?"quit":{commentOwner:n,parameters:e.isFunctionLike(r.right)?r.right.parameters:e.emptyArray};case 162:var a=n.initializer;if(a&&(e.isFunctionExpression(a)||e.isArrowFunction(a)))return{commentOwner:n,parameters:a.parameters}}}n.getJsDocCommentsFromDeclarations=function(n){var t=[];return e.forEachUnique(n,(function(n){for(var r=0,a=function(n){switch(n.kind){case 322:case 328:return[n];case 320:case 327:return[n,n.parent];default:return e.getJSDocCommentsAndTags(n)}}(n);r<a.length;r++){var i=a[r].comment;void 0!==i&&e.pushIfUnique(t,i)}})),e.intersperse(e.map(t,e.textPart),e.lineBreakPart())},n.getJsDocTagsFromDeclarations=function(n){var t=[];return e.forEachUnique(n,(function(n){for(var r=0,a=e.getJSDocTags(n);r<a.length;r++){var o=a[r];t.push({name:o.tagName.text,text:i(o)})}})),t},n.getJSDocTagNameCompletions=function(){return t||(t=e.map(a,(function(e){return{name:e,kind:"keyword",kindModifiers:"",sortText:"0"}})))},n.getJSDocTagNameCompletionDetails=o,n.getJSDocTagCompletions=function(){return r||(r=e.map(a,(function(e){return{name:"@"+e,kind:"keyword",kindModifiers:"",sortText:"0"}})))},n.getJSDocTagCompletionDetails=o,n.getJSDocParameterNameCompletions=function(n){if(!e.isIdentifier(n.name))return e.emptyArray;var t=n.name.text,r=n.parent,a=r.parent;return e.isFunctionLike(a)?e.mapDefined(a.parameters,(function(a){if(e.isIdentifier(a.name)){var i=a.name.text;if(!r.tags.some((function(t){return t!==n&&e.isJSDocParameterTag(t)&&e.isIdentifier(t.name)&&t.name.escapedText===i}))&&(void 0===t||e.startsWith(i,t)))return{name:i,kind:"parameter",kindModifiers:"",sortText:"0"}}})):[]},n.getJSDocParameterNameCompletionDetails=function(n){return{name:n,kind:"parameter",kindModifiers:"",displayParts:[e.textPart(n)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}},n.getDocCommentTemplateAtPosition=function(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isJSDoc);if(!i||void 0===i.comment&&!e.length(i.tags)){var o=a.getStart(t);if(i||!(o<r)){var c=function(n){return e.forEachAncestor(n,s)}(a);if(c){var l=c.commentOwner,u=c.parameters;if(!(l.getStart(t)<r)){if(!u||0===u.length){return{newText:"/** */",caretOffset:3}}var d=function(n,t){for(var r=n.text,a=e.getLineStartPositionForPosition(t,n),i=a;i<=t&&e.isWhiteSpaceSingleLine(r.charCodeAt(i));i++);return r.slice(a,i)}(t,r),p="/**"+n+d+" * ";return{newText:p+n+function(e,n,t,r){return e.map((function(e,a){var i=e.name,o=e.dotDotDotToken,s=78===i.kind?i.text:"param"+a;return t+" * @param "+(n?o?"{...any} ":"{any} ":"")+s+r})).join("")}(u,e.hasJSFileExtension(t.fileName),d,n)+d+" */"+(o===r?n+d:""),caretOffset:p.length}}}}}}}(e.JsDoc||(e.JsDoc={}))}(p||(p={})),function(e){!function(n){function t(e,n){switch(e.kind){case 259:case 262:case 257:var t=n.getSymbolAtLocation(e.name),r=n.getAliasedSymbol(t);return t.escapedName!==r.escapedName;default:return!0}}function r(n,t){var r=e.getNameOfDeclaration(n);return!!r&&(i(r,t)||157===r.kind&&a(r.expression,t))}function a(n,t){return i(n,t)||e.isPropertyAccessExpression(n)&&(t.push(n.name.text),!0)&&a(n.expression,t)}function i(n,t){return e.isPropertyNameLiteral(n)&&(t.push(e.getTextOfIdentifierOrLiteral(n)),!0)}function o(n){var t=[],i=e.getNameOfDeclaration(n);if(i&&157===i.kind&&!a(i.expression,t))return e.emptyArray;t.shift();for(var o=e.getContainerNode(n);o;){if(!r(o,t))return e.emptyArray;o=e.getContainerNode(o)}return t.reverse()}function s(n,t){return e.compareValues(n.matchKind,t.matchKind)||e.compareStringsCaseSensitiveUI(n.name,t.name)}function c(n){var t=n.declaration,r=e.getContainerNode(t),a=r&&e.getNameOfDeclaration(r);return{name:n.name,kind:e.getNodeKind(t),kindModifiers:e.getNodeModifiers(t),matchKind:e.PatternMatchKind[n.matchKind],isCaseSensitive:n.isCaseSensitive,fileName:n.fileName,textSpan:e.createTextSpanFromNode(t),containerName:a?a.text:"",containerKind:a?e.getNodeKind(r):""}}n.getNavigateToItems=function(n,r,a,i,l,u){var d=e.createPatternMatcher(i);if(!d)return e.emptyArray;for(var p=[],f=function(e){if(a.throwIfCancellationRequested(),u&&e.isDeclarationFile)return"continue";e.getNamedDeclarations().forEach((function(n,a){!function(e,n,r,a,i,s){var c=e.getMatchForLastSegmentOfPattern(n);if(!c)return;for(var l=0,u=r;l<u.length;l++){var d=u[l];if(t(d,a))if(e.patternContainsDots){var p=e.getFullMatch(o(d),n);p&&s.push({name:n,fileName:i,matchKind:p.kind,isCaseSensitive:p.isCaseSensitive,declaration:d})}else s.push({name:n,fileName:i,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:d})}}(d,a,n,r,e.fileName,p)}))},m=0,_=n;m<_.length;m++){f(_[m])}return p.sort(s),(void 0===l?p:p.slice(0,l)).map(c)}}(e.NavigateTo||(e.NavigateTo={}))}(p||(p={})),function(e){!function(n){var t,r,a,i,o,s=/\s+/g,c=[],l=[],u=[];function d(){a=void 0,r=void 0,c=[],i=void 0,u=[]}function p(e){return V(e.getText(a))}function f(e){return e.node.kind}function m(e,n){e.children?e.children.push(n):e.children=[n]}function _(n){e.Debug.assert(!c.length);var t={node:n,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};i=t;for(var r=0,a=n.statements;r<a.length;r++){L(a[r])}return T(),e.Debug.assert(!i&&!c.length),t}function g(e,n){m(i,y(e,n))}function y(n,t){return{node:n,name:t||(e.isDeclaration(n)||e.isExpression(n)?e.getNameOfDeclaration(n):void 0),additionalNodes:void 0,parent:i,children:void 0,indent:i.indent+1}}function h(n){o||(o=new e.Map),o.set(n,!0)}function v(e){for(var n=0;n<e;n++)T()}function b(n,t){for(var r=[];!e.isPropertyNameLiteral(t);){var a=e.getNameOrArgument(t),i=e.getElementOrPropertyAccessName(t);t=t.expression,"prototype"===i||e.isPrivateIdentifier(a)||r.push(a)}r.push(t);for(var o=r.length-1;o>0;o--){E(n,a=r[o])}return[r.length-1,r[0]]}function E(e,n){var t=y(e,n);m(i,t),c.push(i),l.push(o),o=void 0,i=t}function T(){i.children&&(x(i.children,i),I(i.children)),i=c.pop(),o=l.pop()}function S(e,n,t){E(e,t),L(n),T()}function L(n){var t;if(r.throwIfCancellationRequested(),n&&!e.isToken(n))switch(n.kind){case 165:var a=n;S(a,a.body);for(var i=0,s=a.parameters;i<s.length;i++){var c=s[i];e.isParameterPropertyDeclaration(c,a)&&g(c)}break;case 164:case 166:case 167:case 163:e.hasDynamicName(n)||S(n,n.body);break;case 162:case 161:e.hasDynamicName(n)||g(n);break;case 259:var l=n;l.name&&g(l.name);var u=l.namedBindings;if(u)if(260===u.kind)g(u);else for(var d=0,p=u.elements;d<p.length;d++){g(p[d])}break;case 286:S(n,n.name);break;case 287:var f=n.expression;e.isIdentifier(f)?g(n,f):g(n);break;case 195:case 285:case 246:var m=n,_=m.name,y=m.initializer;e.isBindingPattern(_)?L(_):y&&function(e){switch(e.kind){case 206:case 205:case 218:return!0;default:return!1}}(y)?(E(n),e.forEachChild(y,L),T()):S(n,y);break;case 248:var x=n.name;x&&e.isIdentifier(x)&&h(x.text),S(n,n.body);break;case 206:case 205:S(n,n.body);break;case 252:E(n);for(var A=0,D=n.members;A<D.length;A++){F(N=D[A])||g(N)}T();break;case 249:case 218:case 250:E(n);for(var C=0,I=n.members;C<I.length;C++){var N;L(N=I[C])}T();break;case 253:S(n,function n(t){return t.body&&e.isModuleDeclaration(t.body)?n(t.body):t}(n).body);break;case 263:var R=n.expression,k=e.isObjectLiteralExpression(R)?R:e.isArrowFunction(R)||e.isFunctionExpression(R)?R.body:void 0;k?(E(n),L(k),T()):g(n);break;case 267:case 257:case 170:case 168:case 169:case 251:g(n);break;case 200:case 213:var O=e.getAssignmentDeclarationKind(n);switch(O){case 1:case 2:return void S(n,n.right);case 6:case 3:var P=(j=n).left,M=3===O?P.expression:P,w=0,G=void 0;return e.isIdentifier(M.expression)?(h(M.expression.text),G=M.expression):(w=(t=b(j,M.expression))[0],G=t[1]),6===O?e.isObjectLiteralExpression(j.right)&&j.right.properties.length>0&&(E(j,G),e.forEachChild(j.right,L),T()):e.isFunctionExpression(j.right)||e.isArrowFunction(j.right)?S(n,j.right,G):(E(j,G),S(n,j.right,P.name),T()),void v(w);case 7:case 9:var B=n,U=(G=7===O?B.arguments[0]:B.arguments[0].expression,B.arguments[1]),V=b(n,G);w=V[0];return E(n,V[1]),E(n,e.setTextRange(e.factory.createIdentifier(U.text),U)),L(n.arguments[2]),T(),T(),void v(w);case 5:var j,K=(P=(j=n).left).expression;if(e.isIdentifier(K)&&"prototype"!==e.getElementOrPropertyAccessName(P)&&o&&o.has(K.text))return void(e.isFunctionExpression(j.right)||e.isArrowFunction(j.right)?S(n,j.right,K):e.isBindableStaticAccessExpression(P)&&(E(j,K),S(j.left,j.right,e.getNameOrArgument(P)),T()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(O)}default:e.hasJSDocNodes(n)&&e.forEach(n.jsDoc,(function(n){e.forEach(n.tags,(function(n){e.isJSDocTypeAlias(n)&&g(n)}))})),e.forEachChild(n,L)}}function x(n,t){var r=new e.Map;e.filterMutate(n,(function(n,a){var i=n.name||e.getNameOfDeclaration(n.node),o=i&&p(i);if(!o)return!0;var s=r.get(o);if(!s)return r.set(o,n),!0;if(s instanceof Array){for(var c=0,l=s;c<l.length;c++){var u;if(D(u=l[c],n,a,t))return!1}return s.push(n),!0}return!D(u=s,n,a,t)&&(r.set(o,[u,n]),!0)}))}n.getNavigationBarItems=function(n,t){r=t,a=n;try{return e.map(function(e){var n=[];function t(e){if(function(e){if(e.children)return!0;switch(f(e)){case 249:case 218:case 252:case 250:case 253:case 294:case 251:case 327:case 320:return!0;case 206:case 248:case 205:return function(e){if(!e.node.body)return!1;switch(f(e.parent)){case 254:case 294:case 164:case 165:return!0;default:return!1}}(e);default:return!1}}(e)&&(n.push(e),e.children))for(var r=0,a=e.children;r<a.length;r++){t(a[r])}}return t(e),n}(_(n)),P)}finally{d()}},n.getNavigationTree=function(e,n){r=n,a=e;try{return O(_(e))}finally{d()}};var A=((t={})[5]=!0,t[3]=!0,t[7]=!0,t[9]=!0,t[0]=!1,t[1]=!1,t[2]=!1,t[8]=!1,t[6]=!0,t[4]=!1,t);function D(n,t,r,a){return!!function(n,t,r,a){function i(n){return e.isFunctionExpression(n)||e.isFunctionDeclaration(n)||e.isVariableDeclaration(n)}var o=e.isBinaryExpression(t.node)||e.isCallExpression(t.node)?e.getAssignmentDeclarationKind(t.node):0,s=e.isBinaryExpression(n.node)||e.isCallExpression(n.node)?e.getAssignmentDeclarationKind(n.node):0;if(A[o]&&A[s]||i(n.node)&&A[o]||i(t.node)&&A[s]||e.isClassDeclaration(n.node)&&A[o]||e.isClassDeclaration(t.node)&&A[s]||e.isClassDeclaration(n.node)&&i(t.node)||e.isClassDeclaration(t.node)&&i(n.node)){var c=n.additionalNodes&&e.lastOrUndefined(n.additionalNodes)||n.node;if(!e.isClassDeclaration(n.node)&&!e.isClassDeclaration(t.node)||i(n.node)||i(t.node)){var l=i(n.node)?n.node:i(t.node)?t.node:void 0;if(void 0!==l){var u=y(e.setTextRange(e.factory.createConstructorDeclaration(void 0,void 0,[],void 0),l));u.indent=n.indent+1,u.children=n.node===l?n.children:t.children,n.children=n.node===l?e.concatenate([u],t.children||[t]):e.concatenate(n.children||[n],[u])}else(n.children||t.children)&&(n.children=e.concatenate(n.children||[n],t.children||[t]),n.children&&(x(n.children,n),I(n.children)));c=n.node=e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,n.name||e.factory.createIdentifier("__class__"),void 0,void 0,[]),n.node)}else n.children=e.concatenate(n.children,t.children),n.children&&x(n.children,n);var d=t.node;return a.children[r-1].node.end===c.end?e.setTextRange(c,{pos:c.pos,end:d.end}):(n.additionalNodes||(n.additionalNodes=[]),n.additionalNodes.push(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,n.name||e.factory.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return 0!==o}(n,t,r,a)||!!function(n,t,r){if(n.kind!==t.kind||n.parent!==t.parent&&(!C(n,r)||!C(t,r)))return!1;switch(n.kind){case 162:case 164:case 166:case 167:return e.hasSyntacticModifier(n,32)===e.hasSyntacticModifier(t,32);case 253:return function e(n,t){return n.body.kind===t.body.kind&&(253!==n.body.kind||e(n.body,t.body))}(n,t);default:return!0}}(n.node,t.node,a)&&(function(n,t){var r;n.additionalNodes=n.additionalNodes||[],n.additionalNodes.push(t.node),t.additionalNodes&&(r=n.additionalNodes).push.apply(r,t.additionalNodes);n.children=e.concatenate(n.children,t.children),n.children&&(x(n.children,n),I(n.children))}(n,t),!0)}function C(n,t){var r=e.isModuleBlock(n.parent)?n.parent.parent:n.parent;return r===t.node||e.contains(t.additionalNodes,r)}function I(e){e.sort(N)}function N(n,t){return e.compareStringsCaseSensitiveUI(R(n.node),R(t.node))||e.compareValues(f(n),f(t))}function R(n){if(253===n.kind)return w(n);var t=e.getNameOfDeclaration(n);if(t&&e.isPropertyName(t)){var r=e.getPropertyNameForPropertyNameNode(t);return r&&e.unescapeLeadingUnderscores(r)}switch(n.kind){case 205:case 206:case 218:return U(n);default:return}}function k(n,t){if(253===n.kind)return V(w(n));if(t){var r=e.isIdentifier(t)?t.text:e.isElementAccessExpression(t)?"["+p(t.argumentExpression)+"]":p(t);if(r.length>0)return V(r)}switch(n.kind){case 294:var a=n;return e.isExternalModule(a)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName))))+'"':"<global>";case 263:return e.isExportAssignment(n)&&n.isExportEquals?"export=":"default";case 206:case 248:case 205:case 249:case 218:return 512&e.getSyntacticModifierFlags(n)?"default":U(n);case 165:return"constructor";case 169:return"new()";case 168:return"()";case 170:return"[]";default:return"<unknown>"}}function O(n){return{text:k(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:B(n.node),spans:M(n),nameSpan:n.name&&G(n.name),childItems:e.map(n.children,O)}}function P(n){return{text:k(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:B(n.node),spans:M(n),childItems:e.map(n.children,(function(n){return{text:k(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:e.getNodeModifiers(n.node),spans:M(n),childItems:u,indent:0,bolded:!1,grayed:!1}}))||u,indent:n.indent,bolded:!1,grayed:!1}}function M(e){var n=[G(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t<r.length;t++){var a=r[t];n.push(G(a))}return n}function w(n){if(e.isAmbientModule(n))return e.getTextOfNode(n.name);var t=[];for(t.push(e.getTextOfIdentifierOrLiteral(n.name));n.body&&253===n.body.kind;)n=n.body,t.push(e.getTextOfIdentifierOrLiteral(n.name));return t.join(".")}function F(e){return!e.name||157===e.name.kind}function G(n){return 294===n.kind?e.createTextSpanFromRange(n):e.createTextSpanFromNode(n,a)}function B(n){return n.parent&&246===n.parent.kind&&(n=n.parent),e.getNodeModifiers(n)}function U(n){var t=n.parent;if(n.name&&e.getFullWidth(n.name)>0)return V(e.declarationNameToString(n.name));if(e.isVariableDeclaration(t))return V(e.declarationNameToString(t.name));if(e.isBinaryExpression(t)&&62===t.operatorToken.kind)return p(t.left).replace(s,"");if(e.isPropertyAssignment(t))return p(t.name);if(512&e.getSyntacticModifierFlags(n))return"default";if(e.isClassLike(n))return"<class>";if(e.isCallExpression(t)){var r=function n(t){if(e.isIdentifier(t))return t.text;if(e.isPropertyAccessExpression(t)){var r=n(t.expression),a=t.name.text;return void 0===r?a:r+"."+a}return}(t.expression);if(void 0!==r)return(r=V(r)).length>150?r+" callback":r+"("+V(e.mapDefined(t.arguments,(function(n){return e.isStringLiteralLike(n)?n.getText(a):void 0})).join(", "))+") callback"}return"<function>"}function V(e){return(e=e.length>150?e.substring(0,150)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(p||(p={})),function(e){!function(n){function t(n,t){var r=e.isStringLiteral(t)&&t.text;return e.isString(r)&&e.some(n.moduleAugmentations,(function(n){return e.isStringLiteral(n)&&n.text===r}))}function r(n){return void 0!==n&&e.isStringLiteralLike(n)?n.text:void 0}function a(n){var t;if(0===n.length)return n;var r=function(n){for(var t,r={defaultImports:[],namespaceImports:[],namedImports:[]},a={defaultImports:[],namespaceImports:[],namedImports:[]},i=0,o=n;i<o.length;i++){var s=o[i];if(void 0!==s.importClause){var c=s.importClause.isTypeOnly?r:a,l=s.importClause,u=l.name,d=l.namedBindings;u&&c.defaultImports.push(s),d&&(e.isNamespaceImport(d)?c.namespaceImports.push(s):c.namedImports.push(s))}else t=t||s}return{importWithoutClause:t,typeOnlyImports:r,regularImports:a}}(n),a=r.importWithoutClause,i=r.typeOnlyImports,c=r.regularImports,l=[];a&&l.push(a);for(var d=0,p=[c,i];d<p.length;d++){var f=p[d],m=f===i,_=f.defaultImports,g=f.namespaceImports,y=f.namedImports;if(m||1!==_.length||1!==g.length||0!==y.length){for(var h=0,v=e.stableSort(g,(function(e,n){return u(e.importClause.namedBindings.name,n.importClause.namedBindings.name)}));h<v.length;h++){var b=v[h];l.push(o(b,void 0,b.importClause.namedBindings))}if(0!==_.length||0!==y.length){var E=void 0,T=[];if(1===_.length)E=_[0].importClause.name;else for(var S=0,L=_;S<L.length;S++){C=L[S];T.push(e.factory.createImportSpecifier(e.factory.createIdentifier("default"),C.importClause.name))}T.push.apply(T,e.flatMap(y,(function(e){return e.importClause.namedBindings.elements})));var x=s(T),A=_.length>0?_[0]:y[0],D=0===x.length?E?void 0:e.factory.createNamedImports(e.emptyArray):0===y.length?e.factory.createNamedImports(x):e.factory.updateNamedImports(y[0].importClause.namedBindings,x);m&&E&&D?(l.push(o(A,E,void 0)),l.push(o(null!==(t=y[0])&&void 0!==t?t:A,void 0,D))):l.push(o(A,E,D))}}else{var C=_[0];l.push(o(C,C.importClause.name,g[0].importClause.namedBindings))}}return l}function i(n){if(0===n.length)return n;var t=function(e){for(var n,t=[],r=[],a=0,i=e;a<i.length;a++){var o=i[a];void 0===o.exportClause?n=n||o:o.isTypeOnly?r.push(o):t.push(o)}return{exportWithoutClause:n,namedExports:t,typeOnlyExports:r}}(n),r=t.exportWithoutClause,a=t.namedExports,i=t.typeOnlyExports,o=[];r&&o.push(r);for(var c=0,l=[a,i];c<l.length;c++){var u=l[c];if(0!==u.length){var d=[];d.push.apply(d,e.flatMap(u,(function(n){return n.exportClause&&e.isNamedExports(n.exportClause)?n.exportClause.elements:e.emptyArray})));var p=s(d),f=u[0];o.push(e.factory.updateExportDeclaration(f,f.decorators,f.modifiers,f.isTypeOnly,f.exportClause&&(e.isNamedExports(f.exportClause)?e.factory.updateNamedExports(f.exportClause,p):e.factory.updateNamespaceExport(f.exportClause,f.exportClause.name)),f.moduleSpecifier))}}return o}function o(n,t,r){return e.factory.updateImportDeclaration(n,n.decorators,n.modifiers,e.factory.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,r),n.moduleSpecifier)}function s(n){return e.stableSort(n,c)}function c(e,n){return u(e.propertyName||e.name,n.propertyName||n.name)||u(e.name,n.name)}function l(n,t){var a=void 0===n?void 0:r(n),i=void 0===t?void 0:r(t);return e.compareBooleans(void 0===a,void 0===i)||e.compareBooleans(e.isExternalModuleNameRelative(a),e.isExternalModuleNameRelative(i))||e.compareStringsCaseInsensitive(a,i)}function u(n,t){return e.compareStringsCaseInsensitive(n.text,t.text)}function d(n){var t;switch(n.kind){case 257:return null===(t=e.tryCast(n.moduleReference,e.isExternalModuleReference))||void 0===t?void 0:t.expression;case 258:return n.moduleSpecifier;case 229:return n.declarationList.declarations[0].initializer.arguments[0]}}function p(n,t){return l(d(n),d(t))||function(n,t){return e.compareValues(f(n),f(t))}(n,t)}function f(e){var n;switch(e.kind){case 258:return e.importClause?e.importClause.isTypeOnly?1:260===(null===(n=e.importClause.namedBindings)||void 0===n?void 0:n.kind)?2:e.importClause.name?3:4:0;case 257:return 5;case 229:return 6}}n.organizeImports=function(n,s,c,u,d){var f=e.textChanges.ChangeTracker.fromContext({host:c,formatContext:s,preferences:d}),m=function(r){return e.stableSort(a(function(n,r,a){for(var i=a.getTypeChecker(),s=i.getJsxNamespace(r),c=!!(2&r.transformFlags),l=[],u=0,d=n;u<d.length;u++){var p=d[u],f=p.importClause,m=p.moduleSpecifier;if(f){var _=f.name,g=f.namedBindings;if(_&&!h(_)&&(_=void 0),g)if(e.isNamespaceImport(g))h(g.name)||(g=void 0);else{var y=g.elements.filter((function(e){return h(e.name)}));y.length<g.elements.length&&(g=y.length?e.factory.updateNamedImports(g,y):void 0)}_||g?l.push(o(p,_,g)):t(r,m)&&(r.isDeclarationFile?l.push(e.factory.createImportDeclaration(p.decorators,p.modifiers,void 0,m)):l.push(p))}else l.push(p)}return l;function h(n){return c&&n.text===s||e.FindAllReferences.Core.isSymbolReferencedInFile(n,i,r)}}(r,n,u)),(function(e,n){return p(e,n)}))};h(n.statements.filter(e.isImportDeclaration),m),h(n.statements.filter(e.isExportDeclaration),i);for(var _=0,g=n.statements.filter(e.isAmbientModule);_<g.length;_++){var y=g[_];if(y.body)h(y.body.statements.filter(e.isImportDeclaration),m),h(y.body.statements.filter(e.isExportDeclaration),i)}return f.getChanges();function h(t,a){if(0!==e.length(t)){e.suppressLeadingTrivia(t[0]);var i=e.group(t,(function(e){return r(e.moduleSpecifier)})),o=e.stableSort(i,(function(e,n){return l(e[0].moduleSpecifier,n[0].moduleSpecifier)})),u=e.flatMap(o,(function(e){return r(e[0].moduleSpecifier)?a(e):e}));0===u.length?f.delete(n,t[0]):f.replaceNodeWithNodes(n,t[0],u,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include,suffix:e.getNewLineOrDefaultFromHost(c,s.options)});for(var d=1;d<t.length;d++)f.deleteNode(n,t[d])}}},n.coalesceImports=a,n.coalesceExports=i,n.compareImportOrExportSpecifiers=c,n.compareModuleSpecifiers=l,n.importsAreSorted=function(n){return e.arrayIsSorted(n,p)},n.importSpecifiersAreSorted=function(n){return e.arrayIsSorted(n,c)},n.getImportDeclarationInsertionIndex=function(n,t){var r=e.binarySearch(n,t,e.identity,p);return r<0?~r:r},n.getImportSpecifierInsertionIndex=function(n,t){var r=e.binarySearch(n,t,e.identity,c);return r<0?~r:r},n.compareImportsOrRequireStatements=p}(e.OrganizeImports||(e.OrganizeImports={}))}(p||(p={})),function(e){!function(n){n.collectElements=function(n,t){var l=[];return function(n,t,r){var l=40,u=0,d=o(n.statements,[n.endOfFileToken]),p=d.length;for(;u<p;){for(;u<p&&!e.isAnyImportSyntax(d[u]);)_(d[u]),u++;if(u===p)break;for(var f=u;u<p&&e.isAnyImportSyntax(d[u]);)a(d[u],n,t,r),u++;var m=u-1;m!==f&&r.push(i(e.findChildOfKind(d[f],99,n).getStart(n),d[m].getEnd(),"imports"))}function _(o){var u;if(0!==l){t.throwIfCancellationRequested(),(e.isDeclaration(o)||1===o.kind)&&a(o,n,t,r),function(n){if(!e.isFunctionExpression(n)&&!e.isArrowFunction(n))return!1;var t=e.findAncestor(n,e.isVariableStatement);return!!t&&e.getSingleInitializerOfVariableStatementOrPropertyDeclaration(t)===n}(o)&&a(o.parent.parent.parent,n,t,r),e.isFunctionLike(o)&&e.isBinaryExpression(o.parent)&&e.isPropertyAccessExpression(o.parent.left)&&a(o.parent.left,n,t,r);var d=function(n,t){switch(n.kind){case 227:if(e.isFunctionLike(n.parent))return function(n,t,r){var a=function(n,t,r){if(e.isNodeArrayMultiLine(n.parameters,r)){var a=e.findChildOfKind(n,20,r);if(a)return a}return e.findChildOfKind(t,18,r)}(n,t,r),i=e.findChildOfKind(t,19,r);return a&&i&&s(a,i,n,r,206!==n.kind)}(n.parent,n,t);switch(n.parent.kind){case 232:case 235:case 236:case 234:case 231:case 233:case 240:case 284:return u(n.parent);case 244:var r=n.parent;if(r.tryBlock===n)return u(n.parent);if(r.finallyBlock===n){var a=e.findChildOfKind(r,95,t);if(a)return u(a)}default:return c(e.createTextSpanFromNode(n,t),"code")}case 254:return u(n.parent);case 249:case 218:case 250:case 252:case 255:case 176:case 193:return u(n);case 178:return u(n,!1,!e.isTupleTypeNode(n.parent),22);case 281:case 282:return(o=n.statements).length?c(e.createTextSpanFromRange(o),"code"):void 0;case 197:return l(n);case 196:return l(n,22);case 270:return function(n){var r=e.createTextSpanFromBounds(n.openingElement.getStart(t),n.closingElement.getEnd()),a=n.openingElement.tagName.getText(t);return c(r,"code",r,!1,"<"+a+">...</"+a+">")}(n);case 274:return function(n){var r=e.createTextSpanFromBounds(n.openingFragment.getStart(t),n.closingFragment.getEnd());return c(r,"code",r,!1,"<>...</>")}(n);case 271:case 272:return function(e){if(0===e.properties.length)return;return i(e.getStart(t),e.getEnd(),"code")}(n.attributes);case 215:case 14:return function(e){if(14===e.kind&&0===e.text.length)return;return i(e.getStart(t),e.getEnd(),"code")}(n);case 194:return u(n,!1,!e.isBindingElement(n.parent),22);case 206:return function(n){if(e.isBlock(n.body)||e.positionsAreOnSameLine(n.body.getFullStart(),n.body.getEnd(),t))return;return c(e.createTextSpanFromBounds(n.body.getFullStart(),n.body.getEnd()),"code",e.createTextSpanFromNode(n))}(n);case 200:return function(n){if(!n.arguments.length)return;var r=e.findChildOfKind(n,20,t),a=e.findChildOfKind(n,21,t);if(!r||!a||e.positionsAreOnSameLine(r.pos,a.pos,t))return;return s(r,a,n,t,!1,!0)}(n)}var o;function l(n,t){return void 0===t&&(t=18),u(n,!1,!e.isArrayLiteralExpression(n.parent)&&!e.isCallExpression(n.parent),t)}function u(r,a,i,o,c){void 0===a&&(a=!1),void 0===i&&(i=!0),void 0===o&&(o=18),void 0===c&&(c=18===o?19:23);var l=e.findChildOfKind(n,o,t),u=e.findChildOfKind(n,c,t);return l&&u&&s(l,u,r,t,a,i)}}(o,n);d&&r.push(d),l--,e.isCallExpression(o)?(l++,_(o.expression),l--,o.arguments.forEach(_),null===(u=o.typeArguments)||void 0===u||u.forEach(_)):e.isIfStatement(o)&&o.elseStatement&&e.isIfStatement(o.elseStatement)?(_(o.expression),_(o.thenStatement),l++,_(o.elseStatement),l--):o.forEachChild(_),l++}}}(n,t,l),function(n,t){for(var a=[],i=n.getLineStarts(),o=0,s=i;o<s.length;o++){var l=s[o],u=n.getLineEndOfPosition(l),d=r(n.text.substring(l,u));if(d&&!e.isInComment(n,l))if(d[1]){var p=a.pop();p&&(p.textSpan.length=u-p.textSpan.start,p.hintSpan.length=u-p.textSpan.start,t.push(p))}else{var f=e.createTextSpanFromBounds(n.text.indexOf("//",l),u);a.push(c(f,"region",f,!1,d[2]||"#region"))}}}(n,l),l.sort((function(e,n){return e.textSpan.start-n.textSpan.start}))};var t=/^\s*\/\/\s*#(end)?region(?:\s+(.*))?(?:\r)?$/;function r(e){return t.exec(e)}function a(n,t,a,o){var s=e.getLeadingCommentRangesOfNode(n,t);if(s){for(var c=-1,l=-1,u=0,d=t.getFullText(),p=0,f=s;p<f.length;p++){var m=f[p],_=m.kind,g=m.pos,y=m.end;switch(a.throwIfCancellationRequested(),_){case 2:if(r(d.slice(g,y))){h(),u=0;break}0===u&&(c=g),l=y,u++;break;case 3:h(),o.push(i(g,y,"comment")),u=0;break;default:e.Debug.assertNever(_)}}h()}function h(){u>1&&o.push(i(c,l,"comment"))}}function i(n,t,r){return c(e.createTextSpanFromBounds(n,t),r)}function s(n,t,r,a,i,o){return void 0===i&&(i=!1),void 0===o&&(o=!0),c(e.createTextSpanFromBounds(o?n.getFullStart():n.getStart(a),t.getEnd()),"code",e.createTextSpanFromNode(r,a),i)}function c(e,n,t,r,a){return void 0===t&&(t=e),void 0===r&&(r=!1),void 0===a&&(a="..."),{textSpan:e,kind:n,hintSpan:t,bannerText:a,autoCollapse:r}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(p||(p={})),function(e){var n;function t(e,n){return{kind:e,isCaseSensitive:n}}function r(e,n){var t=n.get(e);return t||n.set(e,t=h(e)),t}function a(a,i,o){var s=function(e,n){for(var t=e.length-n.length,r=function(t){if(x(n,(function(n,r){return p(e.charCodeAt(r+t))===n})))return{value:t}},a=0;a<=t;a++){var i=r(a);if("object"==typeof i)return i.value}return-1}(a,i.textLowerCase);if(0===s)return t(i.text.length===a.length?n.exact:n.prefix,e.startsWith(a,i.text));if(i.isLowerCase){if(-1===s)return;for(var d=0,f=r(a,o);d<f.length;d++){var m=f[d];if(c(a,m,i.text,!0))return t(n.substring,c(a,m,i.text,!1))}if(i.text.length<a.length&&u(a.charCodeAt(s)))return t(n.substring,!1)}else{if(a.indexOf(i.text)>0)return t(n.substring,!0);if(i.characterSpans.length>0){var _=r(a,o),g=!!l(a,_,i,!1)||!l(a,_,i,!0)&&void 0;if(void 0!==g)return t(n.camelCase,g)}}}function i(e,n,t){if(x(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=a(e,n.totalTextChunk,t);if(r)return r}for(var i,s=0,c=n.subWordTextChunks;s<c.length;s++){i=o(i,a(e,c[s],t))}return i}function o(n,t){return e.min(n,t,s)}function s(n,t){return void 0===n?1:void 0===t?-1:e.compareValues(n.kind,t.kind)||e.compareBooleans(!n.isCaseSensitive,!t.isCaseSensitive)}function c(e,n,t,r,a){return void 0===a&&(a={start:0,length:t.length}),a.length<=n.length&&L(0,a.length,(function(i){return function(e,n,t){return t?p(e)===p(n):e===n}(t.charCodeAt(a.start+i),e.charCodeAt(n.start+i),r)}))}function l(n,t,r,a){for(var i,o,s=r.characterSpans,l=0,d=0;;){if(d===s.length)return!0;if(l===t.length)return!1;for(var p=t[l],f=!1;d<s.length;d++){var m=s[d];if(f&&(!u(r.text.charCodeAt(s[d-1].start))||!u(r.text.charCodeAt(s[d].start))))break;if(!c(n,p,r.text,a,m))break;f=!0,i=void 0===i?l:i,o=void 0===o||o,p=e.createTextSpan(p.start+m.length,p.length-m.length)}f||void 0===o||(o=!1),l++}}function u(n){if(n>=65&&n<=90)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toUpperCase()}function d(n){if(n>=97&&n<=122)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toLowerCase()}function p(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function f(e){return e>=48&&e<=57}function m(e){return u(e)||d(e)||f(e)||95===e||36===e}function _(e){for(var n=[],t=0,r=0,a=0;a<e.length;a++){m(e.charCodeAt(a))?(0===r&&(t=a),r++):r>0&&(n.push(g(e.substr(t,r))),r=0)}return r>0&&n.push(g(e.substr(t,r))),n}function g(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:y(e)}}function y(e){return v(e,!1)}function h(e){return v(e,!0)}function v(n,t){for(var r=[],a=0,i=1;i<n.length;i++){var o=f(n.charCodeAt(i-1)),s=f(n.charCodeAt(i)),c=S(n,t,i),l=t&&T(n,i,a);(b(n.charCodeAt(i-1))||b(n.charCodeAt(i))||o!==s||c||l)&&(E(n,a,i)||r.push(e.createTextSpan(a,i-a)),a=i)}return E(n,a,n.length)||r.push(e.createTextSpan(a,n.length-a)),r}function b(e){switch(e){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function E(e,n,t){return x(e,(function(e){return b(e)&&95!==e}),n,t)}function T(e,n,t){return n!==t&&n+1<e.length&&u(e.charCodeAt(n))&&d(e.charCodeAt(n+1))&&x(e,u,t,n)}function S(e,n,t){var r=u(e.charCodeAt(t-1));return u(e.charCodeAt(t))&&(!n||!r)}function L(e,n,t){for(var r=e;r<n;r++)if(!t(r))return!1;return!0}function x(e,n,t,r){return void 0===t&&(t=0),void 0===r&&(r=e.length),L(t,r,(function(t){return n(e.charCodeAt(t),t)}))}!function(e){e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase"}(n=e.PatternMatchKind||(e.PatternMatchKind={})),e.createPatternMatcher=function(n){var t=new e.Map,r=n.trim().split(".").map((function(e){return{totalTextChunk:g(n=e.trim()),subWordTextChunks:_(n)};var n}));if(!r.some((function(e){return!e.subWordTextChunks.length})))return{getFullMatch:function(n,a){return function(n,t,r,a){var s;if(!i(t,e.last(r),a))return;if(r.length-1>n.length)return;for(var c=r.length-2,l=n.length-1;c>=0;c-=1,l-=1)s=o(s,i(n[l],r[c],a));return s}(n,a,r,t)},getMatchForLastSegmentOfPattern:function(n){return i(n,e.last(r),t)},patternContainsDots:r.length>1}},e.breakIntoCharacterSpans=y,e.breakIntoWordSpans=h}(p||(p={})),function(e){e.preProcessFile=function(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var a,i,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},c=[],l=0,u=!1;function d(){return i=o,18===(o=e.scanner.scan())?l++:19===o&&l--,o}function p(){var n=e.scanner.getTokenValue(),t=e.scanner.getTokenPos();return{fileName:n,pos:t,end:t+n.length}}function f(){c.push(p()),m()}function m(){0===l&&(u=!0)}function _(){var n=e.scanner.getToken();return 133===n&&(138===(n=d())&&10===(n=d())&&(a||(a=[]),a.push({ref:p(),depth:l})),!0)}function g(){if(24===i)return!1;var n=e.scanner.getToken();if(99===n){if(20===(n=d())){if(10===(n=d())||14===n)return f(),!0}else{if(10===n)return f(),!0;148===n&&e.scanner.lookAhead((function(){var n=e.scanner.scan();return 152!==n&&(41===n||18===n||78===n||e.isKeyword(n))}))&&(n=d());if(78===n||e.isKeyword(n))if(152===(n=d())){if(10===(n=d()))return f(),!0}else if(62===n){if(h(!0))return!0}else{if(27!==n)return!0;n=d()}if(18===n){for(n=d();19!==n&&1!==n;)n=d();19===n&&152===(n=d())&&10===(n=d())&&f()}else 41===n&&126===(n=d())&&(78===(n=d())||e.isKeyword(n))&&152===(n=d())&&10===(n=d())&&f()}return!0}return!1}function y(){var n=e.scanner.getToken();if(92===n){if(m(),148===(n=d()))e.scanner.lookAhead((function(){var n=e.scanner.scan();return 41===n||18===n}))&&(n=d());if(18===n){for(n=d();19!==n&&1!==n;)n=d();19===n&&152===(n=d())&&10===(n=d())&&f()}else if(41===n)152===(n=d())&&10===(n=d())&&f();else if(99===n){if(148===(n=d()))e.scanner.lookAhead((function(){var n=e.scanner.scan();return 78===n||e.isKeyword(n)}))&&(n=d());if((78===n||e.isKeyword(n))&&62===(n=d())&&h(!0))return!0}return!0}return!1}function h(n,t){void 0===t&&(t=!1);var r=n?d():e.scanner.getToken();return 142===r&&(20===(r=d())&&(10===(r=d())||t&&14===r)&&f(),!0)}function v(){var n=e.scanner.getToken();if(78===n&&"define"===e.scanner.getTokenValue()){if(20!==(n=d()))return!0;if(10===(n=d())||14===n){if(27!==(n=d()))return!0;n=d()}if(22!==n)return!0;for(n=d();23!==n&&1!==n;)10!==n&&14!==n||f(),n=d();return!0}return!1}if(t&&function(){for(e.scanner.setText(n),d();1!==e.scanner.getToken();)_()||g()||y()||r&&(h(!1,!0)||v())||d();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,n),e.processPragmasIntoFields(s,e.noop),u){if(a)for(var b=0,E=a;b<E.length;b++){var T=E[b];c.push(T.ref)}return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:c,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:void 0}}var S=void 0;if(a)for(var L=0,x=a;L<x.length;L++){0===(T=x[L]).depth?(S||(S=[]),S.push(T.ref.fileName)):c.push(T.ref)}return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:c,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:S}}}(p||(p={})),function(e){!function(n){function t(n){return{canRename:!1,localizedErrorMessage:e.getLocaleSpecificMessage(n)}}function r(n,t){var r=n.getStart(t),a=n.getWidth(t);return e.isStringLiteralLike(n)&&(r+=1,a-=2),e.createTextSpan(r,a)}n.getRenameInfo=function(n,a,i,o){var s=e.getAdjustedRenameLocation(e.getTouchingPropertyName(a,i));if(function(n){switch(n.kind){case 78:case 79:case 10:case 14:case 107:return!0;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n);default:return!1}}(s)){var c=function(n,a,i,o,s){var c=a.getSymbolAtLocation(n);if(!c)return;var l=c.declarations;if(!l||0===l.length)return;if(l.some(o))return t(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(e.isIdentifier(n)&&87===n.originalKeywordKind&&c.parent&&1536&c.parent.flags)return;if(e.isStringLiteralLike(n)&&e.tryGetImportFromModuleSpecifier(n))return s&&s.allowRenameOfImportPath?function(n,r,a){if(!e.isExternalModuleNameRelative(n.text))return t(e.Diagnostics.You_cannot_rename_a_module_via_a_global_import);var i=e.find(a.declarations,e.isSourceFile);if(!i)return;var o=e.endsWith(n.text,"/index")||e.endsWith(n.text,"/index.js")?void 0:e.tryRemoveSuffix(e.removeFileExtension(i.fileName),"/index"),s=void 0===o?i.fileName:o,c=void 0===o?"module":"directory",l=n.text.lastIndexOf("/")+1,u=e.createTextSpan(n.getStart(r)+1+l,n.text.length-l);return{canRename:!0,fileToRename:s,kind:c,displayName:s,fullDisplayName:s,kindModifiers:"",triggerSpan:u}}(n,i,c):void 0;var u=e.SymbolDisplay.getSymbolKind(a,c,n),d=e.isImportOrExportSpecifierName(n)||e.isStringOrNumericLiteralLike(n)&&157===n.parent.kind?e.stripQuotes(e.getTextOfIdentifierOrLiteral(n)):void 0,p=d||a.symbolToString(c),f=d||a.getFullyQualifiedName(c);return function(e,n,t,a,i,o){return{canRename:!0,fileToRename:void 0,kind:t,displayName:e,fullDisplayName:n,kindModifiers:a,triggerSpan:r(i,o)}}(p,f,u,e.SymbolDisplay.getSymbolModifiers(c),n,i)}(s,n.getTypeChecker(),a,(function(e){return n.isSourceFileDefaultLibrary(e.getSourceFile())}),o);if(c)return c}return t(e.Diagnostics.You_cannot_rename_this_element)}}(e.Rename||(e.Rename={}))}(p||(p={})),function(e){!function(n){function t(n,t,r){return e.Debug.assert(r.pos<=t),t<r.end||r.getEnd()===t&&e.getTouchingPropertyName(n,t).pos<r.end}n.getSmartSelectionRange=function(n,r){var i,o,c={textSpan:e.createTextSpanFromBounds(r.getFullStart(),r.getEnd())},u=r;e:for(;;){var d=a(u);if(!d.length)break;for(var p=0;p<d.length;p++){var f=d[p-1],m=d[p],_=d[p+1];if(m.getStart(r)>n)break e;if(t(r,n,m)){if(e.isBlock(m)||e.isTemplateSpan(m)||e.isTemplateHead(m)||e.isTemplateTail(m)||f&&e.isTemplateHead(f)||e.isVariableDeclarationList(m)&&e.isVariableStatement(u)||e.isSyntaxList(m)&&e.isVariableDeclarationList(u)||e.isVariableDeclaration(m)&&e.isSyntaxList(u)&&1===d.length){u=m;break}if(e.isTemplateSpan(u)&&_&&e.isTemplateMiddleOrTemplateTail(_))b(m.getFullStart()-"${".length,_.getStart()+"}".length);var g=e.isSyntaxList(m)&&(o=void 0,18===(o=(i=f)&&i.kind)||22===o||20===o||272===o)&&l(_)&&!e.positionsAreOnSameLine(f.getStart(),_.getStart(),r),y=e.hasJSDocNodes(m)&&m.jsDoc[0].getStart(),h=g?f.getEnd():m.getStart(),v=g?_.getStart():m.getEnd();e.isNumber(y)&&b(y,v),b(h,v),(e.isStringLiteral(m)||e.isTemplateLiteral(m))&&b(h+1,v-1),u=m;break}if(p===d.length-1)break e}}return c;function b(t,r){if(t!==r){var a=e.createTextSpanFromBounds(t,r);(!c||!e.textSpansEqual(a,c.textSpan)&&e.textSpanIntersectsWithPosition(a,n))&&(c=s({textSpan:a},c&&{parent:c}))}}};var r=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function a(n){if(e.isSourceFile(n))return i(n.getChildAt(0).getChildren(),r);if(e.isMappedTypeNode(n)){var t=n.getChildren(),a=t[0],s=t.slice(1),l=e.Debug.checkDefined(s.pop());e.Debug.assertEqual(a.kind,18),e.Debug.assertEqual(l.kind,19);var u=i(s,(function(e){return e===n.readonlyToken||141===e.kind||e===n.questionToken||57===e.kind}));return[a,c(o(i(u,(function(e){var n=e.kind;return 22===n||158===n||23===n})),(function(e){return 58===e.kind}))),l]}if(e.isPropertySignature(n))return o(s=i(n.getChildren(),(function(t){return t===n.name||e.contains(n.modifiers,t)})),(function(e){return 58===e.kind}));if(e.isParameter(n)){var d=i(n.getChildren(),(function(e){return e===n.dotDotDotToken||e===n.name}));return o(i(d,(function(e){return e===d[0]||e===n.questionToken})),(function(e){return 62===e.kind}))}return e.isBindingElement(n)?o(n.getChildren(),(function(e){return 62===e.kind})):n.getChildren()}function i(e,n){for(var t,r=[],a=0,i=e;a<i.length;a++){var o=i[a];n(o)?(t=t||[]).push(o):(t&&(r.push(c(t)),t=void 0),r.push(o))}return t&&r.push(c(t)),r}function o(n,t,r){if(void 0===r&&(r=!0),n.length<2)return n;var a=e.findIndex(n,t);if(-1===a)return n;var i=n.slice(0,a),o=n[a],s=e.last(n),l=r&&26===s.kind,u=n.slice(a+1,l?n.length-1:void 0),d=e.compact([i.length?c(i):void 0,o,u.length?c(u):void 0]);return l?d.concat(s):d}function c(n){return e.Debug.assertGreaterThanOrEqual(n.length,1),e.setTextRangePosEnd(e.parseNodeFactory.createSyntaxList(n),n[0].pos,e.last(n).end)}function l(e){var n=e&&e.kind;return 19===n||23===n||21===n||273===n}}(e.SmartSelectionRange||(e.SmartSelectionRange={}))}(p||(p={})),function(e){!function(n){var t,r;function a(n,t,r){for(var a=n.getFullStart(),i=n.parent;i;){var o=e.findPrecedingToken(a,t,i,!0);if(o)return e.rangeContainsRange(r,o);i=i.parent}return e.Debug.fail("Could not find preceding token")}function i(n,t){var r=function(n,t){if(29===n.kind||20===n.kind)return{list:f(n.parent,n,t),argumentIndex:0};var r=e.findContainingList(n);return r&&{list:r,argumentIndex:u(r,n)}}(n,t);if(r){var a=r.list,i=r.argumentIndex,o=function(n){var t=n.getChildren(),r=e.countWhere(t,(function(e){return 27!==e.kind}));t.length>0&&27===e.last(t).kind&&r++;return r}(a);return 0!==i&&e.Debug.assertLessThan(i,o),{list:a,argumentIndex:i,argumentCount:o,argumentsSpan:function(n,t){var r=n.getFullStart(),a=e.skipTrivia(t.text,n.getEnd(),!1);return e.createTextSpan(r,a-r)}(a,t)}}}function s(n,t,r){var a=n.parent;if(e.isCallOrNewExpression(a)){var o=a,s=i(n,r);if(!s)return;var c=s.list,l=s.argumentIndex,u=s.argumentCount,p=s.argumentsSpan;return{isTypeParameterList:!!a.typeArguments&&a.typeArguments.pos===c.pos,invocation:{kind:0,node:o},argumentsSpan:p,argumentIndex:l,argumentCount:u}}if(e.isNoSubstitutionTemplateLiteral(n)&&e.isTaggedTemplateExpression(a))return e.isInsideTemplateLiteral(n,t,r)?d(a,0,r):void 0;if(e.isTemplateHead(n)&&202===a.parent.kind){var f=a,m=f.parent;return e.Debug.assert(215===f.kind),d(m,l=e.isInsideTemplateLiteral(n,t,r)?0:1,r)}if(e.isTemplateSpan(a)&&e.isTaggedTemplateExpression(a.parent.parent)){var _=a;m=a.parent.parent;if(e.isTemplateTail(n)&&!e.isInsideTemplateLiteral(n,t,r))return;return d(m,l=function(n,t,r,a){if(e.Debug.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(t))return e.isInsideTemplateLiteral(t,r,a)?0:n+2;return n+1}(_.parent.templateSpans.indexOf(_),n,t,r),r)}if(e.isJsxOpeningLikeElement(a)){var g=a.attributes.pos,y=e.skipTrivia(r.text,a.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:a},argumentsSpan:e.createTextSpan(g,y-g),argumentIndex:0,argumentCount:1}}var h=e.getPossibleTypeArgumentsInfo(n,r);if(h){var v=h.called,b=h.nTypeArguments;return{isTypeParameterList:!0,invocation:o={kind:1,called:v},argumentsSpan:p=e.createTextSpanFromBounds(v.getStart(r),n.end),argumentIndex:b,argumentCount:b+1}}}function c(n){return e.isBinaryExpression(n.left)?c(n.left)+1:2}function l(n){return"__type"===n.name&&e.firstDefined(n.declarations,(function(n){return e.isFunctionTypeNode(n)?n.parent.symbol:void 0}))||n}function u(e,n){for(var t=0,r=0,a=e.getChildren();r<a.length;r++){var i=a[r];if(i===n)break;27!==i.kind&&t++}return t}function d(n,t,r){var a=e.isNoSubstitutionTemplateLiteral(n.template)?1:n.template.templateSpans.length+1;return 0!==t&&e.Debug.assertLessThan(t,a),{isTypeParameterList:!1,invocation:{kind:0,node:n},argumentsSpan:p(n,r),argumentIndex:t,argumentCount:a}}function p(n,t){var r=n.template,a=r.getStart(),i=r.getEnd();215===r.kind&&(0===e.last(r.templateSpans).literal.getFullWidth()&&(i=e.skipTrivia(t.text,i,!1)));return e.createTextSpan(a,i-a)}function f(n,t,r){var a=n.getChildren(r),i=a.indexOf(t);return e.Debug.assert(i>=0&&a.length>i+1),a[i+1]}function m(n){return 0===n.kind?e.getInvokedExpression(n.node):n.called}function _(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}!function(e){e[e.Call=0]="Call",e[e.TypeArgs=1]="TypeArgs",e[e.Contextual=2]="Contextual"}(t||(t={})),n.getSignatureHelpItems=function(n,t,r,o,u){var d=n.getTypeChecker(),p=e.findTokenOnLeftOfPosition(t,r);if(p){var f=!!o&&"characterTyped"===o.kind;if(!f||!e.isInString(t,r,p)&&!e.isInComment(t,r)){var h=!!o&&"invoked"===o.kind,v=function(n,t,r,a,o){for(var u=function(n){e.Debug.assert(e.rangeContainsRange(n.parent,n),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(n.kind)+", parent: "+e.Debug.formatSyntaxKind(n.parent.kind)}));var o=function(n,t,r,a){return function(n,t,r,a){var o=function(n,t,r){if(20!==n.kind&&27!==n.kind)return;var a=n.parent;switch(a.kind){case 204:case 164:case 205:case 206:var o=i(n,t);if(!o)return;var s=o.argumentIndex,l=o.argumentCount,u=o.argumentsSpan,d=e.isMethodDeclaration(a)?r.getContextualTypeForObjectLiteralElement(a):r.getContextualType(a);return d&&{contextualType:d,argumentIndex:s,argumentCount:l,argumentsSpan:u};case 213:var p=function n(t){return e.isBinaryExpression(t.parent)?n(t.parent):t}(a),f=r.getContextualType(p),m=20===n.kind?0:c(a)-1,_=c(p);return f&&{contextualType:f,argumentIndex:m,argumentCount:_,argumentsSpan:e.createTextSpanFromNode(a)};default:return}}(n,r,a);if(!o)return;var s=o.contextualType,u=o.argumentIndex,d=o.argumentCount,p=o.argumentsSpan,f=s.getNonNullableType(),m=f.getCallSignatures();return 1!==m.length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:e.first(m),node:n,symbol:l(f.symbol)},argumentsSpan:p,argumentIndex:u,argumentCount:d}}(n,0,r,a)||s(n,t,r)}(n,t,r,a);if(o)return{value:o}},d=n;!e.isSourceFile(d)&&(o||!e.isBlock(d));d=d.parent){var p=u(d);if("object"==typeof p)return p.value}return}(p,r,t,d,h);if(v){u.throwIfCancellationRequested();var b=function(n,t,r,i,o){var s=n.invocation,c=n.argumentCount;switch(s.kind){case 0:if(o&&!function(n,t,r){if(!e.isCallOrNewExpression(t))return!1;var i=t.getChildren(r);switch(n.kind){case 20:return e.contains(i,n);case 27:var o=e.findContainingList(n);return!!o&&e.contains(i,o);case 29:return a(n,r,t.expression);default:return!1}}(i,s.node,r))return;var l=[],u=t.getResolvedSignatureForSignatureHelp(s.node,l,c);return 0===l.length?void 0:{kind:0,candidates:l,resolvedSignature:u};case 1:var d=s.called;if(o&&!a(i,r,e.isIdentifier(d)?d.parent:d))return;if(0!==(l=e.getPossibleGenericSignatures(d,c,t)).length)return{kind:0,candidates:l,resolvedSignature:e.first(l)};var p=t.getSymbolAtLocation(d);return p&&{kind:1,symbol:p};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(v,d,t,p,f);return u.throwIfCancellationRequested(),b?d.runWithCancellationToken(u,(function(e){return 0===b.kind?g(b.candidates,b.resolvedSignature,v,t,e):function(e,n,t,r){var a=n.argumentCount,i=n.argumentsSpan,o=n.invocation,s=n.argumentIndex,c=r.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return c?{items:[y(e,c,r,_(o),t)],applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}:void 0}(b.symbol,v,t,e)})):e.isSourceFileJS(t)?function(n,t,r){if(2===n.invocation.kind)return;var a=m(n.invocation),i=e.isPropertyAccessExpression(a)?a.name.text:void 0,o=t.getTypeChecker();return void 0===i?void 0:e.firstDefined(t.getSourceFiles(),(function(t){return e.firstDefined(t.getNamedDeclarations().get(i),(function(e){var a=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),i=a&&a.getCallSignatures();if(i&&i.length)return o.runWithCancellationToken(r,(function(e){return g(i,i[0],n,t,e,!0)}))}))}))}(v,n,u):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(r||(r={})),n.getArgumentInfoForCompletions=function(e,n,t){var r=s(e,n,t);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}};function g(n,t,r,a,i,s){var c,l=r.isTypeParameterList,u=r.argumentCount,d=r.argumentsSpan,p=r.invocation,f=r.argumentIndex,g=_(p),y=2===p.kind?p.symbol:i.getSymbolAtLocation(m(p))||s&&(null===(c=t.declaration)||void 0===c?void 0:c.symbol),E=y?e.symbolToDisplayParts(i,y,s?a:void 0,void 0):e.emptyArray,T=e.map(n,(function(n){return function(n,t,r,a,i,s){var c=(r?v:b)(n,a,i,s);return e.map(c,(function(r){var s=r.isVariadic,c=r.parameters,l=r.prefix,u=r.suffix,d=o(t,l),p=o(u,function(n,t,r){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var a=r.getTypePredicateOfSignature(n);a?r.writeTypePredicate(a,t,void 0,e):r.writeType(r.getReturnTypeOfSignature(n),t,void 0,e)}))}(n,i,a)),f=n.getDocumentationComment(a),m=n.getJsDocTags();return{isVariadic:s,prefixDisplayParts:d,suffixDisplayParts:p,separatorDisplayParts:h,parameters:c,documentation:f,tags:m}}))}(n,E,l,i,g,a)}));0!==f&&e.Debug.assertLessThan(f,u);for(var S=0,L=0,x=0;x<T.length;x++){var A=T[x];if(n[x]===t&&(S=L,A.length>1))for(var D=0,C=0,I=A;C<I.length;C++){var N=I[C];if(N.isVariadic||N.parameters.length>=u){S=L+D;break}D++}L+=A.length}return e.Debug.assert(-1!==S),{items:e.flatMapToMutable(T,e.identity),applicableSpan:d,selectedItemIndex:S,argumentIndex:f,argumentCount:u}}function y(n,t,r,a,i){var s=e.symbolToDisplayParts(r,n),c=e.createPrinter({removeComments:!0}),l=t.map((function(e){return E(e,r,a,i,c)})),u=n.getDocumentationComment(r),d=n.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:o(s,[e.punctuationPart(29)]),suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:h,parameters:l,documentation:u,tags:d}}var h=[e.punctuationPart(27),e.spacePart()];function v(n,t,r,a){var i=(n.target||n).typeParameters,s=e.createPrinter({removeComments:!0}),c=(i||e.emptyArray).map((function(e){return E(e,t,r,a,s)})),l=n.thisParameter?[t.symbolToParameterDeclaration(n.thisParameter,r,70246400)]:[];return t.getExpandedParameters(n).map((function(n){var i=e.factory.createNodeArray(o(l,e.map(n,(function(e){return t.symbolToParameterDeclaration(e,r,70246400)})))),u=e.mapToDisplayParts((function(e){s.writeList(2576,i,a,e)}));return{isVariadic:!1,parameters:c,prefix:[e.punctuationPart(29)],suffix:o([e.punctuationPart(31)],u)}}))}function b(n,t,r,a){var i=t.hasEffectiveRestParameter(n),s=e.createPrinter({removeComments:!0}),c=e.mapToDisplayParts((function(i){if(n.typeParameters&&n.typeParameters.length){var o=e.factory.createNodeArray(n.typeParameters.map((function(e){return t.typeParameterToDeclaration(e,r,70246400)})));s.writeList(53776,o,a,i)}})),l=t.getExpandedParameters(n);return l.map((function(n){return{isVariadic:i&&(1===l.length||!!(32768&n[n.length-1].checkFlags)),parameters:n.map((function(n){return function(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.symbolToParameterDeclaration(n,r,70246400);i.writeNode(4,o,a,e)})),s=t.isOptionalParameter(n.valueDeclaration);return{name:n.name,documentation:n.getDocumentationComment(t),displayParts:o,isOptional:s}}(n,t,r,a,s)})),prefix:o(c,[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}))}function E(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.typeParameterToDeclaration(n,r,70246400);i.writeNode(4,o,a,e)}));return{name:n.symbol.name,documentation:n.symbol.getDocumentationComment(t),displayParts:o,isOptional:!1}}}(e.SignatureHelp||(e.SignatureHelp={}))}(p||(p={})),function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function t(n,t,r){var a=e.tryParseRawSourceMap(t);if(a&&a.sources&&a.file&&a.mappings&&(!a.sourcesContent||!a.sourcesContent.some(e.isString)))return e.createDocumentPositionMapper(n,a,r)}e.getSourceMapper=function(n){var t=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),r=n.getCurrentDirectory(),a=new e.Map,i=new e.Map;return{tryGetSourcePosition:function n(t){if(!e.isDeclarationFileName(t.fileName))return;if(!c(t.fileName))return;var r=s(t.fileName).getSourcePosition(t);return r&&r!==t?n(r)||r:void 0},tryGetGeneratedPosition:function(a){if(e.isDeclarationFileName(a.fileName))return;var i=c(a.fileName);if(!i)return;var o=n.getProgram();if(o.isSourceOfProjectReferenceRedirect(i.fileName))return;var l=o.getCompilerOptions(),u=e.outFile(l),d=u?e.removeFileExtension(u)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(a.fileName,o.getCompilerOptions(),r,o.getCommonSourceDirectory(),t);if(void 0===d)return;var p=s(d,a.fileName).getGeneratedPosition(a);return p===a?void 0:p},toLineColumnOffset:function(e,n){return u(e).getLineAndCharacterOfPosition(n)},clearCache:function(){a.clear(),i.clear()}};function o(n){return e.toPath(n,r,t)}function s(r,a){var s,c=o(r),l=i.get(c);if(l)return l;if(n.getDocumentPositionMapper)s=n.getDocumentPositionMapper(r,a);else if(n.readFile){var d=u(r);s=d&&e.getDocumentPositionMapper({getSourceFileLike:u,getCanonicalFileName:t,log:function(e){return n.log(e)}},r,e.getLineInfo(d.text,e.getLineStarts(d)),(function(e){return!n.fileExists||n.fileExists(e)?n.readFile(e):void 0}))}return i.set(c,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function c(e){var t=n.getProgram();if(t){var r=o(e),a=t.getSourceFileByPath(r);return a&&a.resolvedPath===r?a:void 0}}function l(t){var r=o(t),i=a.get(r);if(void 0!==i)return i||void 0;if(n.readFile&&(!n.fileExists||n.fileExists(r))){var s=n.readFile(r),c=!!s&&function(n,t){return{text:n,lineMap:t,getLineAndCharacterOfPosition:function(n){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),n)}}}(s);return a.set(r,c),c||void 0}a.set(r,!1)}function u(e){return n.getSourceFileLike?n.getSourceFileLike(e):c(e)||l(e)}},e.getDocumentPositionMapper=function(r,a,i,o){var s=e.tryGetSourceMappingURL(i);if(s){var c=n.exec(s);if(c){if(c[1]){var l=c[1];return t(r,e.base64decode(e.sys,l),a)}s=void 0}}var u=[];s&&u.push(s),u.push(a+".map");for(var d=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(a)),p=0,f=u;p<f.length;p++){var m=f[p],_=e.getNormalizedAbsolutePath(m,e.getDirectoryPath(a)),g=o(_,d);if(e.isString(g))return t(r,g,_);if(void 0!==g)return g||void 0}}}(p||(p={})),function(e){var n=new e.Map;function t(n){switch(n.kind){case 258:var t=n.importClause,r=n.moduleSpecifier;return t&&!t.name&&t.namedBindings&&260===t.namedBindings.kind&&e.isStringLiteral(r)?t.namedBindings.name:void 0;case 257:return n.name;default:return}}function r(n){return e.isReturnStatement(n)&&!!n.expression&&a(n.expression)}function a(n){if(!i(n)||!n.arguments.every(o))return!1;for(var t=n.expression;i(t)||e.isPropertyAccessExpression(t);){if(e.isCallExpression(t)&&!t.arguments.every(o))return!1;t=t.expression}return!0}function i(n){return e.isCallExpression(n)&&(e.hasPropertyAccessExpressionWithName(n,"then")&&function(n){return!(n.arguments.length>2)&&(n.arguments.length<2||e.some(n.arguments,(function(n){return 103===n.kind||e.isIdentifier(n)&&"undefined"===n.text})))}(n)||e.hasPropertyAccessExpressionWithName(n,"catch"))}function o(e){switch(e.kind){case 248:case 205:case 206:n.set(s(e),!0);case 103:case 78:return!0;default:return!1}}function s(e){return e.pos.toString()+":"+e.end.toString()}e.computeSuggestionDiagnostics=function(a,i,o){i.getSemanticDiagnostics(a,o);var c,l=[],u=i.getTypeChecker();a.commonJsModuleIndicator&&(e.programContainsEs6Modules(i)||e.compilerOptionsIndicateEs6Modules(i.getCompilerOptions()))&&function(n){return n.statements.some((function(n){switch(n.kind){case 229:return n.declarationList.declarations.some((function(n){return!!n.initializer&&e.isRequireCall(function n(t){return e.isPropertyAccessExpression(t)?n(t.expression):t}(n.initializer),!0)}));case 230:var t=n.expression;if(!e.isBinaryExpression(t))return e.isRequireCall(t,!0);var r=e.getAssignmentDeclarationKind(t);return 1===r||2===r;default:return!1}}))}(a)&&l.push(e.createDiagnosticForNode((c=a.commonJsModuleIndicator,e.isBinaryExpression(c)?c.left:c),e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module));var d=e.isSourceFileJS(a);if(n.clear(),function t(i){if(d)(function(n){var t,r,a,i;if(205===n.kind){if(e.isVariableDeclaration(n.parent)&&(null===(t=n.symbol.members)||void 0===t?void 0:t.size))return!0;var o=e.getDeclarationOfExpando(n),s=null==o?void 0:o.symbol;return!(!s||!(null===(r=s.exports)||void 0===r?void 0:r.size)&&!(null===(a=s.members)||void 0===a?void 0:a.size))}if(248===n.kind)return!!(null===(i=n.symbol.members)||void 0===i?void 0:i.size);return!1})(i)&&l.push(e.createDiagnosticForNode(e.isVariableDeclaration(i.parent)?i.parent.name:i,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(e.isVariableStatement(i)&&i.parent===a&&2&i.declarationList.flags&&1===i.declarationList.declarations.length){var o=i.declarationList.declarations[0].initializer;o&&e.isRequireCall(o,!0)&&l.push(e.createDiagnosticForNode(o,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(i)&&l.push(e.createDiagnosticForNode(i.name||i,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}e.isFunctionLikeDeclaration(i)&&function(t,a,i){(function(n,t){return!e.isAsyncFunction(n)&&n.body&&e.isBlock(n.body)&&(a=n.body,!!e.forEachReturnStatement(a,r))&&function(e,n){var t=n.getTypeAtLocation(e),r=n.getSignaturesOfType(t,0),a=r.length?n.getReturnTypeOfSignature(r[0]):void 0;return!!a&&!!n.getPromisedTypeOfPromise(a)}(n,t);var a})(t,a)&&!n.has(s(t))&&i.push(e.createDiagnosticForNode(!t.name&&e.isVariableDeclaration(t.parent)&&e.isIdentifier(t.parent.name)?t.parent.name:t,e.Diagnostics.This_may_be_converted_to_an_async_function))}(i,u,l);i.forEachChild(t)}(a),e.getAllowSyntheticDefaultImports(i.getCompilerOptions()))for(var p=0,f=a.imports;p<f.length;p++){var m=f[p],_=t(e.importFromModuleSpecifier(m));if(_){var g=e.getResolvedModule(a,m.text),y=g&&i.getSourceFile(g.resolvedFileName);y&&y.externalModuleIndicator&&e.isExportAssignment(y.externalModuleIndicator)&&y.externalModuleIndicator.isExportEquals&&l.push(e.createDiagnosticForNode(_,e.Diagnostics.Import_may_be_converted_to_a_default_import))}}return e.addRange(l,a.bindSuggestionDiagnostics),e.addRange(l,i.getSuggestionDiagnostics(a,o)),l.sort((function(e,n){return e.start-n.start}))},e.isReturnStatementWithFixablePromiseHandler=r,e.isFixablePromiseHandler=a}(p||(p={})),function(e){!function(n){function t(n,t,a){var i=r(n,t,a);if(""!==i)return i;var o=e.getCombinedLocalAndExportSymbolFlags(t);return 32&o?e.getDeclarationOfKind(t,218)?"local class":"class":384&o?"enum":524288&o?"type":64&o?"interface":262144&o?"type parameter":8&o?"enum member":2097152&o?"alias":1536&o?"module":i}function r(n,t,r){var i=n.getRootSymbols(t);if(1===i.length&&8192&e.first(i).flags&&0!==n.getTypeOfSymbolAtLocation(t,r).getNonNullableType().getCallSignatures().length)return"method";if(n.isUndefinedSymbol(t))return"var";if(n.isArgumentsSymbol(t))return"local var";if(107===r.kind&&e.isExpression(r))return"parameter";var o=e.getCombinedLocalAndExportSymbolFlags(t);if(3&o)return e.isFirstDeclarationOfSymbolParameter(t)?"parameter":t.valueDeclaration&&e.isVarConst(t.valueDeclaration)?"const":e.forEach(t.declarations,e.isLet)?"let":a(t)?"local var":"var";if(16&o)return a(t)?"local function":"function";if(32768&o)return"getter";if(65536&o)return"setter";if(8192&o)return"method";if(16384&o)return"constructor";if(4&o){if(33554432&o&&6&t.checkFlags){var s=e.forEach(n.getRootSymbols(t),(function(n){var t=n.getFlags();if(98311&t)return"property";e.Debug.assert(!!(8208&t))}));return s||(n.getTypeOfSymbolAtLocation(t,r).getCallSignatures().length?"method":"property")}switch(r.parent&&r.parent.kind){case 272:case 270:case 271:return 78===r.kind?"property":"JSX attribute";case 277:return"JSX attribute";default:return"property"}}return""}function a(n){return!n.parent&&e.forEach(n.declarations,(function(n){if(205===n.kind)return!0;if(246!==n.kind&&248!==n.kind)return!1;for(var t=n.parent;!e.isFunctionBlock(t);t=t.parent)if(294===t.kind||254===t.kind)return!1;return!0}))}n.getSymbolKind=t,n.getSymbolModifiers=function(n){var t=n&&n.declarations&&n.declarations.length>0?e.getNodeModifiers(n.declarations[0]):"",r=n&&16777216&n.flags?"optional":"";return t&&r?t+","+r:t||r},n.getSymbolDisplayPartsDocumentationAndSymbolKind=function n(a,i,o,s,c,l,u){void 0===l&&(l=e.getMeaningFromLocation(c));var d,p,f,m,_=[],g=[],y=[],h=e.getCombinedLocalAndExportSymbolFlags(i),v=1&l?r(a,i,c):"",b=!1,E=107===c.kind&&e.isInExpressionContext(c),T=!1;if(107===c.kind&&!E)return{displayParts:[e.keywordPart(107)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==v||32&h||2097152&h){"getter"!==v&&"setter"!==v||(v="property");var S=void 0;if(d=E?a.getTypeAtLocation(c):a.getTypeOfSymbolAtLocation(i.exportSymbol||i,c),c.parent&&198===c.parent.kind){var L=c.parent.name;(L===c||L&&0===L.getFullWidth())&&(c=c.parent)}var x=void 0;if(e.isCallOrNewExpression(c)?x=c:(e.isCallExpressionTarget(c)||e.isNewExpressionTarget(c)||c.parent&&(e.isJsxOpeningLikeElement(c.parent)||e.isTaggedTemplateExpression(c.parent))&&e.isFunctionLike(i.valueDeclaration))&&(x=c.parent),x){S=a.getResolvedSignature(x);var A=201===x.kind||e.isCallExpression(x)&&105===x.expression.kind,D=A?d.getConstructSignatures():d.getCallSignatures();if(e.contains(D,S.target)||e.contains(D,S)||(S=D.length?D[0]:void 0),S){switch(A&&32&h?(v="constructor",X(d.symbol,v)):2097152&h?(Y(v="alias"),_.push(e.spacePart()),A&&(_.push(e.keywordPart(102)),_.push(e.spacePart())),J(i)):X(i,v),v){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":_.push(e.punctuationPart(58)),_.push(e.spacePart()),16&e.getObjectFlags(d)||!d.symbol||(e.addRange(_,e.symbolToDisplayParts(a,d.symbol,s,void 0,5)),_.push(e.lineBreakPart())),A&&(_.push(e.keywordPart(102)),_.push(e.spacePart())),Q(S,D,262144);break;default:Q(S,D)}b=!0,T=D.length>1}}else if(e.isNameOfFunctionDeclaration(c)&&!(98304&h)||132===c.kind&&165===c.parent.kind){var C=c.parent;if(i.declarations&&e.find(i.declarations,(function(e){return e===(132===c.kind?C.parent:C)}))){D=165===C.kind?d.getNonNullableType().getConstructSignatures():d.getNonNullableType().getCallSignatures();S=a.isImplementationOfOverload(C)?D[0]:a.getSignatureFromDeclaration(C),165===C.kind?(v="constructor",X(d.symbol,v)):X(168!==C.kind||2048&d.symbol.flags||4096&d.symbol.flags?i:d.symbol,v),Q(S,D),b=!0,T=D.length>1}}}if(32&h&&!b&&!E&&(q(),e.getDeclarationOfKind(i,218)?Y("local class"):_.push(e.keywordPart(83)),_.push(e.spacePart()),J(i),Z(i,o)),64&h&&2&l&&(W(),_.push(e.keywordPart(117)),_.push(e.spacePart()),J(i),Z(i,o)),524288&h&&2&l&&(W(),_.push(e.keywordPart(148)),_.push(e.spacePart()),J(i),Z(i,o),_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),e.addRange(_,e.typeToDisplayParts(a,a.getDeclaredTypeOfSymbol(i),s,8388608))),384&h&&(W(),e.some(i.declarations,(function(n){return e.isEnumDeclaration(n)&&e.isEnumConst(n)}))&&(_.push(e.keywordPart(84)),_.push(e.spacePart())),_.push(e.keywordPart(91)),_.push(e.spacePart()),J(i)),1536&h&&!E){W();var I=(j=e.getDeclarationOfKind(i,253))&&j.name&&78===j.name.kind;_.push(e.keywordPart(I?139:138)),_.push(e.spacePart()),J(i)}if(262144&h&&2&l)if(W(),_.push(e.punctuationPart(20)),_.push(e.textPart("type parameter")),_.push(e.punctuationPart(21)),_.push(e.spacePart()),J(i),i.parent)z(),J(i.parent,s),Z(i.parent,s);else{var N=e.getDeclarationOfKind(i,158);if(void 0===N)return e.Debug.fail();if(j=N.parent)if(e.isFunctionLikeKind(j.kind)){z();S=a.getSignatureFromDeclaration(j);169===j.kind?(_.push(e.keywordPart(102)),_.push(e.spacePart())):168!==j.kind&&j.name&&J(j.symbol),e.addRange(_,e.signatureToDisplayParts(a,S,o,32))}else 251===j.kind&&(z(),_.push(e.keywordPart(148)),_.push(e.spacePart()),J(j.symbol),Z(j.symbol,o))}if(8&h&&(v="enum member",X(i,"enum member"),288===(j=i.declarations[0]).kind)){var R=a.getConstantValue(j);void 0!==R&&(_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),_.push(e.displayPart(e.getTextOfConstantValue(R),"number"==typeof R?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&i.flags){if(W(),!b){var k=a.getAliasedSymbol(i);if(k!==i&&k.declarations&&k.declarations.length>0){var O=k.declarations[0],P=e.getNameOfDeclaration(O);if(P){var M=e.isModuleWithStringLiteralName(O)&&e.hasSyntacticModifier(O,2),w="default"!==i.name&&!M,F=n(a,k,e.getSourceFileOfNode(O),O,P,l,w?i:k);_.push.apply(_,F.displayParts),_.push(e.lineBreakPart()),f=F.documentation,m=F.tags}}}switch(i.declarations[0].kind){case 256:_.push(e.keywordPart(92)),_.push(e.spacePart()),_.push(e.keywordPart(139));break;case 263:_.push(e.keywordPart(92)),_.push(e.spacePart()),_.push(e.keywordPart(i.declarations[0].isExportEquals?62:87));break;case 267:_.push(e.keywordPart(92));break;default:_.push(e.keywordPart(99))}_.push(e.spacePart()),J(i),e.forEach(i.declarations,(function(n){if(257===n.kind){var t=n;if(e.isExternalModuleImportEqualsDeclaration(t))_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),_.push(e.keywordPart(142)),_.push(e.punctuationPart(20)),_.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(t)),e.SymbolDisplayPartKind.stringLiteral)),_.push(e.punctuationPart(21));else{var r=a.getSymbolAtLocation(t.moduleReference);r&&(_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),J(r,s))}return!0}}))}if(!b)if(""!==v){if(d)if(E?(W(),_.push(e.keywordPart(107))):X(i,v),"property"===v||"JSX attribute"===v||3&h||"local var"===v||E){if(_.push(e.punctuationPart(58)),_.push(e.spacePart()),d.symbol&&262144&d.symbol.flags){var G=e.mapToDisplayParts((function(n){var t=a.typeParameterToDeclaration(d,s,70246400);H().writeNode(4,t,e.getSourceFileOfNode(e.getParseTreeNode(s)),n)}));e.addRange(_,G)}else e.addRange(_,e.typeToDisplayParts(a,d,s));if(i.target&&i.target.tupleLabelDeclaration){var B=i.target.tupleLabelDeclaration;e.Debug.assertNode(B.name,e.isIdentifier),_.push(e.spacePart()),_.push(e.punctuationPart(20)),_.push(e.textPart(e.idText(B.name))),_.push(e.punctuationPart(21))}}else if(16&h||8192&h||16384&h||131072&h||98304&h||"method"===v){(D=d.getNonNullableType().getCallSignatures()).length&&(Q(D[0],D),T=D.length>1)}}else v=t(a,i,c);if(0!==g.length||T||(g=i.getContextualDocumentationComment(s,a)),0===g.length&&4&h&&i.parent&&e.forEach(i.parent.declarations,(function(e){return 294===e.kind})))for(var U=0,V=i.declarations;U<V.length;U++){var j;if((j=V[U]).parent&&213===j.parent.kind){var K=a.getSymbolAtLocation(j.parent.right);if(K&&(g=K.getDocumentationComment(a),y=K.getJsDocTags(),g.length>0))break}}return 0!==y.length||T||(y=i.getJsDocTags()),0===g.length&&f&&(g=f),0===y.length&&m&&(y=m),{displayParts:_,documentation:g,symbolKind:v,tags:0===y.length?void 0:y};function H(){return p||(p=e.createPrinter({removeComments:!0})),p}function W(){_.length&&_.push(e.lineBreakPart()),q()}function q(){u&&(Y("alias"),_.push(e.spacePart()))}function z(){_.push(e.spacePart()),_.push(e.keywordPart(100)),_.push(e.spacePart())}function J(n,t){u&&n===i&&(n=u);var r=e.symbolToDisplayParts(a,n,t||o,void 0,7);e.addRange(_,r),16777216&i.flags&&_.push(e.punctuationPart(57))}function X(n,t){W(),t&&(Y(t),n&&!e.some(n.declarations,(function(n){return e.isArrowFunction(n)||(e.isFunctionExpression(n)||e.isClassExpression(n))&&!n.name}))&&(_.push(e.spacePart()),J(n)))}function Y(n){switch(n){case"var":case"function":case"let":case"const":case"constructor":return void _.push(e.textOrKeywordPart(n));default:return _.push(e.punctuationPart(20)),_.push(e.textOrKeywordPart(n)),void _.push(e.punctuationPart(21))}}function Q(n,t,r){void 0===r&&(r=0),e.addRange(_,e.signatureToDisplayParts(a,n,s,32|r)),t.length>1&&(_.push(e.spacePart()),_.push(e.punctuationPart(20)),_.push(e.operatorPart(39)),_.push(e.displayPart((t.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),_.push(e.spacePart()),_.push(e.textPart(2===t.length?"overload":"overloads")),_.push(e.punctuationPart(21))),g=n.getDocumentationComment(a),y=n.getJsDocTags(),t.length>1&&0===g.length&&0===y.length&&(g=t[0].getDocumentationComment(a),y=t[0].getJsDocTags())}function Z(n,t){var r=e.mapToDisplayParts((function(r){var i=a.symbolToTypeParameterDeclarations(n,t,70246400);H().writeList(53776,i,e.getSourceFileOfNode(e.getParseTreeNode(t)),r)}));e.addRange(_,r)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(p||(p={})),function(e){function n(n,t){var a=[],i=t.compilerOptions?r(t.compilerOptions,a):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===i[s]&&(i[s]=o[s]);for(var c=0,l=e.transpileOptionValueCompilerOptions;c<l.length;c++){var u=l[c];i[u.name]=u.transpileOptionValue}i.suppressOutputPathCheck=!0,i.allowNonTsExtensions=!0;var d=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),p=e.createSourceFile(d,n,i.target);t.moduleName&&(p.moduleName=t.moduleName),t.renamedDependencies&&(p.renamedDependencies=new e.Map(e.getEntries(t.renamedDependencies)));var f,m,_=e.getNewLineCharacter(i),g={getSourceFile:function(n){return n===e.normalizePath(d)?p:void 0},writeFile:function(n,t){e.fileExtensionIs(n,".map")?(e.Debug.assertEqual(m,void 0,"Unexpected multiple source map outputs, file:",n),m=t):(e.Debug.assertEqual(f,void 0,"Unexpected multiple outputs, file:",n),f=t)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return _},fileExists:function(e){return e===d},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},y=e.createProgram([d],i,g);return t.reportDiagnostics&&(e.addRange(a,y.getSyntacticDiagnostics(p)),e.addRange(a,y.getOptionsDiagnostics())),y.emit(void 0,void 0,void 0,void 0,t.transformers),void 0===f?e.Debug.fail("Output generation failed"):{outputText:f,diagnostics:a,sourceMapText:m}}var t;function r(n,r){t=t||e.filter(e.optionDeclarations,(function(n){return"object"==typeof n.type&&!e.forEachEntry(n.type,(function(e){return"number"!=typeof e}))})),n=e.cloneCompilerOptions(n);for(var a=function(t){if(!e.hasProperty(n,t.name))return"continue";var a=n[t.name];e.isString(a)?n[t.name]=e.parseCustomTypeOption(t,a,r):e.forEachEntry(t.type,(function(e){return e===a}))||r.push(e.createCompilerDiagnosticForInvalidCustomType(t))},i=0,o=t;i<o.length;i++){a(o[i])}return n}e.transpileModule=n,e.transpile=function(t,r,a,i,o){var s=n(t,{compilerOptions:r,fileName:a,reportDiagnostics:!!i,moduleName:o});return e.addRange(i,s.diagnostics),s.outputText},e.fixupCompilerOptions=r}(p||(p={})),function(e){!function(n){!function(e){e[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace"}(n.FormattingRequestKind||(n.FormattingRequestKind={}));var t=function(){function n(e,n,t){this.sourceFile=e,this.formattingRequestKind=n,this.options=t}return n.prototype.updateContext=function(n,t,r,a,i){this.currentTokenSpan=e.Debug.checkDefined(n),this.currentTokenParent=e.Debug.checkDefined(t),this.nextTokenSpan=e.Debug.checkDefined(r),this.nextTokenParent=e.Debug.checkDefined(a),this.contextNode=e.Debug.checkDefined(i),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},n.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},n.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},n.prototype.TokensAreOnSameLine=function(){if(void 0===this.tokensAreOnSameLine){var e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,n=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===n}return this.tokensAreOnSameLine},n.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},n.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},n.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},n.prototype.BlockIsOnOneLine=function(n){var t=e.findChildOfKind(n,18,this.sourceFile),r=e.findChildOfKind(n,19,this.sourceFile);return!(!t||!r)&&this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(r.getStart(this.sourceFile)).line},n}();n.FormattingContext=t}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){var t,r=e.createScanner(99,!1,0),a=e.createScanner(99,!1,1);!function(e){e[e.Scan=0]="Scan",e[e.RescanGreaterThanToken=1]="RescanGreaterThanToken",e[e.RescanSlashToken=2]="RescanSlashToken",e[e.RescanTemplateToken=3]="RescanTemplateToken",e[e.RescanJsxIdentifier=4]="RescanJsxIdentifier",e[e.RescanJsxText=5]="RescanJsxText",e[e.RescanJsxAttributeValue=6]="RescanJsxAttributeValue"}(t||(t={})),n.getFormattingScanner=function(t,i,o,s,c){var l=1===i?a:r;l.setText(t),l.setTextPos(o);var u,d,p,f,m,_=!0,g=c({advance:function(){m=void 0,l.getStartPos()!==o?_=!!d&&4===e.last(d).kind:l.scan();u=void 0,d=void 0;var n=l.getStartPos();for(;n<s;){var t=l.getToken();if(!e.isTrivia(t))break;l.scan();var r={pos:n,end:l.getStartPos(),kind:t};n=l.getStartPos(),u=e.append(u,r)}p=l.getStartPos()},readTokenInfo:function(t){e.Debug.assert(y());var r=function(e){switch(e.kind){case 33:case 70:case 71:case 49:case 48:return!0}return!1}(t)?1:(i=t,13===i.kind?2:function(e){return 16===e.kind||17===e.kind}(t)?3:function(n){if(n.parent)switch(n.parent.kind){case 277:case 272:case 273:case 271:return e.isKeyword(n.kind)||78===n.kind}return!1}(t)?4:function(n){if(e.isJsxText(n)){var t=e.findAncestor(n.parent,(function(n){return e.isJsxElement(n)}));return!!t&&!e.isParenthesizedExpression(t.parent)}return!1}(t)?5:(a=t,a.parent&&e.isJsxAttribute(a.parent)&&a.parent.initializer===a?6:0));var a;var i;if(m&&r===f)return v(m,t);l.getStartPos()!==p&&(e.Debug.assert(void 0!==m),l.setTextPos(p),l.scan());var o=function(n,t){var r=l.getToken();switch(f=0,t){case 1:if(31===r){f=1;var a=l.reScanGreaterToken();return e.Debug.assert(n.kind===a),a}break;case 2:if(43===(i=r)||67===i){f=2;a=l.reScanSlashToken();return e.Debug.assert(n.kind===a),a}break;case 3:if(19===r)return f=3,l.reScanTemplateToken(!1);break;case 4:return f=4,l.scanJsxIdentifier();case 5:return f=5,l.reScanJsxToken();case 6:return f=6,l.reScanJsxAttributeValue();case 0:break;default:e.Debug.assertNever(t)}var i;return r}(t,r),c=n.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),o);d&&(d=void 0);for(;l.getStartPos()<s&&(o=l.scan(),e.isTrivia(o));){var _=n.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),o);if(d||(d=[]),d.push(_),4===o){l.scan();break}}return v(m={leadingTrivia:u,trailingTrivia:d,token:c},t)},readEOFTokenRange:function(){return e.Debug.assert(h()),n.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),1)},isOnToken:y,isOnEOF:h,getCurrentLeadingTrivia:function(){return u},lastTrailingTriviaWasNewLine:function(){return _},skipToEndOf:function(e){l.setTextPos(e.end),p=l.getStartPos(),f=void 0,m=void 0,_=!1,u=void 0,d=void 0},skipToStartOf:function(e){l.setTextPos(e.pos),p=l.getStartPos(),f=void 0,m=void 0,_=!1,u=void 0,d=void 0}});return m=void 0,l.setText(void 0),g;function y(){var n=m?m.token.kind:l.getToken();return(m?m.token.pos:l.getStartPos())<s&&1!==n&&!e.isTrivia(n)}function h(){return 1===(m?m.token.kind:l.getToken())}function v(n,t){return e.isToken(t)&&n.token.kind!==t.kind&&(n.token.kind=t.kind),n}}}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){n.anyContext=e.emptyArray,function(e){e[e.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",e[e.StopProcessingTokenActions=2]="StopProcessingTokenActions",e[e.InsertSpace=4]="InsertSpace",e[e.InsertNewLine=8]="InsertNewLine",e[e.DeleteSpace=16]="DeleteSpace",e[e.DeleteToken=32]="DeleteToken",e[e.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",e[e.StopAction=3]="StopAction",e[e.ModifySpaceAction=28]="ModifySpaceAction",e[e.ModifyTokenAction=96]="ModifyTokenAction"}(n.RuleAction||(n.RuleAction={})),function(e){e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines"}(n.RuleFlags||(n.RuleFlags={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){function t(e,n,t,r,i,o){return void 0===o&&(o=0),{leftTokenRange:a(n),rightTokenRange:a(t),rule:{debugName:e,context:r,action:i,flags:o}}}function r(e){return{tokens:e,isSpecific:!0}}function a(n){return"number"==typeof n?r([n]):e.isArray(n)?r(n):n}function i(n,t,a){void 0===a&&(a=[]);for(var i=[],o=n;o<=t;o++)e.contains(a,o)||i.push(o);return r(i)}function s(e,n){return function(t){return t.options&&t.options[e]===n}}function c(e){return function(n){return n.options&&n.options.hasOwnProperty(e)&&!!n.options[e]}}function l(e){return function(n){return n.options&&n.options.hasOwnProperty(e)&&!n.options[e]}}function u(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]}}function d(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]||n.TokensAreOnSameLine()}}function p(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!!n.options[e]}}function f(e){return 234===e.contextNode.kind}function m(e){return!f(e)}function _(e){switch(e.contextNode.kind){case 213:return 27!==e.contextNode.operatorToken.kind;case 214:case 183:case 221:case 267:case 262:case 171:case 181:case 182:return!0;case 195:case 251:case 257:case 246:case 159:case 288:case 162:case 161:return 62===e.currentTokenSpan.kind||62===e.nextTokenSpan.kind;case 235:case 158:return 100===e.currentTokenSpan.kind||100===e.nextTokenSpan.kind||62===e.currentTokenSpan.kind||62===e.nextTokenSpan.kind;case 236:return 155===e.currentTokenSpan.kind||155===e.nextTokenSpan.kind}return!1}function g(e){return!_(e)}function y(e){return!h(e)}function h(n){var t=n.contextNode.kind;return 162===t||161===t||159===t||246===t||e.isFunctionLikeKind(t)}function v(e){return 214===e.contextNode.kind||183===e.contextNode.kind}function b(e){return e.TokensAreOnSameLine()||x(e)}function E(e){return 193===e.contextNode.kind||189===e.contextNode.kind||function(e){return L(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function T(e){return x(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function S(e){return L(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function L(e){return A(e.contextNode)}function x(e){return A(e.nextTokenParent)}function A(e){if(R(e))return!0;switch(e.kind){case 227:case 255:case 197:case 254:return!0}return!1}function D(e){switch(e.contextNode.kind){case 248:case 164:case 163:case 166:case 167:case 168:case 205:case 165:case 206:case 250:return!0}return!1}function C(e){return!D(e)}function I(e){return 248===e.contextNode.kind||205===e.contextNode.kind}function N(e){return R(e.contextNode)}function R(e){switch(e.kind){case 249:case 218:case 250:case 252:case 176:case 253:case 264:case 265:case 258:case 261:return!0}return!1}function k(e){switch(e.currentTokenParent.kind){case 249:case 253:case 252:case 284:case 254:case 241:return!0;case 227:var n=e.currentTokenParent.parent;if(!n||206!==n.kind&&205!==n.kind)return!0}return!1}function O(e){switch(e.contextNode.kind){case 231:case 241:case 234:case 235:case 236:case 233:case 244:case 232:case 240:case 284:return!0;default:return!1}}function P(e){return 197===e.contextNode.kind}function M(e){return function(e){return 200===e.contextNode.kind}(e)||function(e){return 201===e.contextNode.kind}(e)}function w(e){return 27!==e.currentTokenSpan.kind}function F(e){return 23!==e.nextTokenSpan.kind}function G(e){return 21!==e.nextTokenSpan.kind}function B(e){return 206===e.contextNode.kind}function U(e){return 192===e.contextNode.kind}function V(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function j(e){return 11!==e.contextNode.kind}function K(e){return 270!==e.contextNode.kind&&274!==e.contextNode.kind}function H(e){return 280===e.contextNode.kind||279===e.contextNode.kind}function W(e){return 277===e.nextTokenParent.kind}function q(e){return 277===e.contextNode.kind}function z(e){return 271===e.contextNode.kind}function J(e){return!D(e)&&!x(e)}function X(e){return e.TokensAreOnSameLine()&&!!e.contextNode.decorators&&Y(e.currentTokenParent)&&!Y(e.nextTokenParent)}function Y(n){for(;e.isExpressionNode(n);)n=n.parent;return 160===n.kind}function Q(e){return 247===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function Z(e){return 2!==e.formattingRequestKind}function $(e){return 253===e.contextNode.kind}function ee(e){return 176===e.contextNode.kind}function ne(e){return 169===e.contextNode.kind}function te(e,n){if(29!==e.kind&&31!==e.kind)return!1;switch(n.kind){case 172:case 203:case 251:case 249:case 218:case 250:case 248:case 205:case 206:case 164:case 163:case 168:case 169:case 200:case 201:case 220:return!0;default:return!1}}function re(e){return te(e.currentTokenSpan,e.currentTokenParent)||te(e.nextTokenSpan,e.nextTokenParent)}function ae(e){return 203===e.contextNode.kind}function ie(e){return 113===e.currentTokenSpan.kind&&209===e.currentTokenParent.kind}function oe(e){return 216===e.contextNode.kind&&void 0!==e.contextNode.expression}function se(e){return 222===e.contextNode.kind}function ce(e){return!function(e){switch(e.contextNode.kind){case 231:case 234:case 235:case 236:case 232:case 233:return!0;default:return!1}}(e)}function le(n){var t=n.nextTokenSpan.kind,r=n.nextTokenSpan.pos;if(e.isTrivia(t)){var a=n.nextTokenParent===n.currentTokenParent?e.findNextToken(n.currentTokenParent,e.findAncestor(n.currentTokenParent,(function(e){return!e.parent})),n.sourceFile):n.nextTokenParent.getFirstToken(n.sourceFile);if(!a)return!0;t=a.kind,r=a.getStart(n.sourceFile)}return n.sourceFile.getLineAndCharacterOfPosition(n.currentTokenSpan.pos).line===n.sourceFile.getLineAndCharacterOfPosition(r).line?19===t||1===t:226!==t&&26!==t&&(250===n.contextNode.kind||251===n.contextNode.kind?!e.isPropertySignature(n.currentTokenParent)||!!n.currentTokenParent.type||20!==t:e.isPropertyDeclaration(n.currentTokenParent)?!n.currentTokenParent.initializer:234!==n.currentTokenParent.kind&&228!==n.currentTokenParent.kind&&226!==n.currentTokenParent.kind&&22!==t&&20!==t&&39!==t&&40!==t&&43!==t&&13!==t&&27!==t&&215!==t&&15!==t&&14!==t&&24!==t)}function ue(n){return e.positionIsASICandidate(n.currentTokenSpan.end,n.currentTokenParent,n.sourceFile)}n.getAllRules=function(){for(var a=[],L=0;L<=155;L++)1!==L&&a.push(L);function A(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return{tokens:a.filter((function(n){return!e.some((function(e){return e===n}))})),isSpecific:!1}}var R={tokens:a,isSpecific:!1},Y=r(o(a,[3])),te=r(o(a,[1])),de=i(80,155),pe=i(29,77),fe=[100,101,155,126,136],me=o([78],e.typeKeywords),_e=Y,ge=r([78,3,83,92,99]),ye=r([21,3,89,110,95,90]),he=[t("IgnoreBeforeComment",R,[2,3],n.anyContext,1),t("IgnoreAfterLineComment",2,R,n.anyContext,1),t("NotSpaceBeforeColon",R,58,[V,g,y],16),t("SpaceAfterColon",58,R,[V,g],4),t("NoSpaceBeforeQuestionMark",R,57,[V,g,y],16),t("SpaceAfterQuestionMarkInConditionalOperator",57,R,[V,v],4),t("NoSpaceAfterQuestionMark",57,R,[V],16),t("NoSpaceBeforeDot",R,[24,28],[V],16),t("NoSpaceAfterDot",[24,28],R,[V],16),t("NoSpaceBetweenImportParenInImportType",99,20,[V,U],16),t("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,78,20,22,18,107,102],[V,g],16),t("NoSpaceAfterUnaryPreincrementOperator",45,[78,20,107,102],[V],16),t("NoSpaceAfterUnaryPredecrementOperator",46,[78,20,107,102],[V],16),t("NoSpaceBeforeUnaryPostincrementOperator",[78,21,23,102],45,[V,ce],16),t("NoSpaceBeforeUnaryPostdecrementOperator",[78,21,23,102],46,[V,ce],16),t("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[V,_],4),t("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[V,_],4),t("SpaceAfterAddWhenFollowedByPreincrement",39,45,[V,_],4),t("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[V,_],4),t("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[V,_],4),t("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[V,_],4),t("NoSpaceAfterCloseBrace",19,[27,26],[V],16),t("NewLineBeforeCloseBraceInBlockContext",Y,19,[S],8),t("SpaceAfterCloseBrace",19,A(21),[V,k],4),t("SpaceBetweenCloseBraceAndElse",19,90,[V],4),t("SpaceBetweenCloseBraceAndWhile",19,114,[V],4),t("NoSpaceBetweenEmptyBraceBrackets",18,19,[V,P],16),t("SpaceAfterConditionalClosingParen",21,22,[O],4),t("NoSpaceBetweenFunctionKeywordAndStar",97,41,[I],16),t("SpaceAfterStarInGeneratorDeclaration",41,78,[I],4),t("SpaceAfterFunctionInFuncDecl",97,R,[D],4),t("NewLineAfterOpenBraceInBlockContext",18,R,[S],8),t("SpaceAfterGetSetInMember",[134,145],78,[D],4),t("NoSpaceBetweenYieldKeywordAndStar",124,41,[V,oe],16),t("SpaceBetweenYieldOrYieldStarAndOperand",[124,41],R,[V,oe],4),t("NoSpaceBetweenReturnAndSemicolon",104,26,[V],16),t("SpaceAfterCertainKeywords",[112,108,102,88,104,111,130],R,[V],4),t("SpaceAfterLetConstInVariableDeclaration",[118,84],R,[V,Q],4),t("NoSpaceBeforeOpenParenInFuncCall",R,20,[V,M,w],16),t("SpaceBeforeBinaryKeywordOperator",R,fe,[V,_],4),t("SpaceAfterBinaryKeywordOperator",fe,R,[V,_],4),t("SpaceAfterVoidOperator",113,R,[V,ie],4),t("SpaceBetweenAsyncAndOpenParen",129,20,[B,V],4),t("SpaceBetweenAsyncAndFunctionKeyword",129,[97,78],[V],4),t("NoSpaceBetweenTagAndTemplateString",[78,21],[14,15],[V],16),t("SpaceBeforeJsxAttribute",R,78,[W,V],4),t("SpaceBeforeSlashInJsxOpeningElement",R,43,[z,V],4),t("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[z,V],16),t("NoSpaceBeforeEqualInJsxAttribute",R,62,[q,V],16),t("NoSpaceAfterEqualInJsxAttribute",62,R,[q,V],16),t("NoSpaceAfterModuleImport",[138,142],20,[V],16),t("SpaceAfterCertainTypeScriptKeywords",[125,83,133,87,91,92,93,134,116,99,117,138,139,120,122,121,141,145,123,148,152,137,135],R,[V],4),t("SpaceBeforeCertainTypeScriptKeywords",R,[93,116,152],[V],4),t("SpaceAfterModuleName",10,18,[$],4),t("SpaceBeforeArrow",R,38,[V],4),t("SpaceAfterArrow",38,R,[V],4),t("NoSpaceAfterEllipsis",25,78,[V],16),t("NoSpaceAfterOptionalParameters",57,[21,27],[V,g],16),t("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[V,ee],16),t("NoSpaceBeforeOpenAngularBracket",me,29,[V,re],16),t("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[V,re],16),t("NoSpaceAfterOpenAngularBracket",29,R,[V,re],16),t("NoSpaceBeforeCloseAngularBracket",R,31,[V,re],16),t("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[V,re,C],16),t("SpaceBeforeAt",[21,78],59,[V],4),t("NoSpaceAfterAt",59,R,[V],16),t("SpaceAfterDecorator",R,[125,78,92,87,83,123,122,120,121,134,145,22,41],[X],4),t("NoSpaceBeforeNonNullAssertionOperator",R,53,[V,se],16),t("NoSpaceAfterNewKeywordOnConstructorSignature",102,20,[V,ne],16),t("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[V],4)],ve=[t("SpaceAfterConstructor",132,20,[c("insertSpaceAfterConstructor"),V],4),t("NoSpaceAfterConstructor",132,20,[u("insertSpaceAfterConstructor"),V],16),t("SpaceAfterComma",27,R,[c("insertSpaceAfterCommaDelimiter"),V,K,F,G],4),t("NoSpaceAfterComma",27,R,[u("insertSpaceAfterCommaDelimiter"),V,K],16),t("SpaceAfterAnonymousFunctionKeyword",[97,41],20,[c("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),D],4),t("NoSpaceAfterAnonymousFunctionKeyword",[97,41],20,[u("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),D],16),t("SpaceAfterKeywordInControl",de,20,[c("insertSpaceAfterKeywordsInControlFlowStatements"),O],4),t("NoSpaceAfterKeywordInControl",de,20,[u("insertSpaceAfterKeywordsInControlFlowStatements"),O],16),t("SpaceAfterOpenParen",20,R,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],4),t("SpaceBeforeCloseParen",R,21,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],4),t("SpaceBetweenOpenParens",20,20,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],4),t("NoSpaceBetweenParens",20,21,[V],16),t("NoSpaceAfterOpenParen",20,R,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],16),t("NoSpaceBeforeCloseParen",R,21,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],16),t("SpaceAfterOpenBracket",22,R,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],4),t("SpaceBeforeCloseBracket",R,23,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],4),t("NoSpaceBetweenBrackets",22,23,[V],16),t("NoSpaceAfterOpenBracket",22,R,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],16),t("NoSpaceBeforeCloseBracket",R,23,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],16),t("SpaceAfterOpenBrace",18,R,[p("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),E],4),t("SpaceBeforeCloseBrace",R,19,[p("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),E],4),t("NoSpaceBetweenEmptyBraceBrackets",18,19,[V,P],16),t("NoSpaceAfterOpenBrace",18,R,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),V],16),t("NoSpaceBeforeCloseBrace",R,19,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),V],16),t("SpaceBetweenEmptyBraceBrackets",18,19,[c("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),t("NoSpaceBetweenEmptyBraceBrackets",18,19,[l("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),V],16),t("SpaceAfterTemplateHeadAndMiddle",[15,16],R,[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],4,1),t("SpaceBeforeTemplateMiddleAndTail",R,[16,17],[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),V],4),t("NoSpaceAfterTemplateHeadAndMiddle",[15,16],R,[u("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],16,1),t("NoSpaceBeforeTemplateMiddleAndTail",R,[16,17],[u("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),V],16),t("SpaceAfterOpenBraceInJsxExpression",18,R,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],4),t("SpaceBeforeCloseBraceInJsxExpression",R,19,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],4),t("NoSpaceAfterOpenBraceInJsxExpression",18,R,[u("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],16),t("NoSpaceBeforeCloseBraceInJsxExpression",R,19,[u("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],16),t("SpaceAfterSemicolonInFor",26,R,[c("insertSpaceAfterSemicolonInForStatements"),V,f],4),t("NoSpaceAfterSemicolonInFor",26,R,[u("insertSpaceAfterSemicolonInForStatements"),V,f],16),t("SpaceBeforeBinaryOperator",R,pe,[c("insertSpaceBeforeAndAfterBinaryOperators"),V,_],4),t("SpaceAfterBinaryOperator",pe,R,[c("insertSpaceBeforeAndAfterBinaryOperators"),V,_],4),t("NoSpaceBeforeBinaryOperator",R,pe,[u("insertSpaceBeforeAndAfterBinaryOperators"),V,_],16),t("NoSpaceAfterBinaryOperator",pe,R,[u("insertSpaceBeforeAndAfterBinaryOperators"),V,_],16),t("SpaceBeforeOpenParenInFuncDecl",R,20,[c("insertSpaceBeforeFunctionParenthesis"),V,D],4),t("NoSpaceBeforeOpenParenInFuncDecl",R,20,[u("insertSpaceBeforeFunctionParenthesis"),V,D],16),t("NewLineBeforeOpenBraceInControl",ye,18,[c("placeOpenBraceOnNewLineForControlBlocks"),O,T],8,1),t("NewLineBeforeOpenBraceInFunction",_e,18,[c("placeOpenBraceOnNewLineForFunctions"),D,T],8,1),t("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",ge,18,[c("placeOpenBraceOnNewLineForFunctions"),N,T],8,1),t("SpaceAfterTypeAssertion",31,R,[c("insertSpaceAfterTypeAssertion"),V,ae],4),t("NoSpaceAfterTypeAssertion",31,R,[u("insertSpaceAfterTypeAssertion"),V,ae],16),t("SpaceBeforeTypeAnnotation",R,[57,58],[c("insertSpaceBeforeTypeAnnotation"),V,h],4),t("NoSpaceBeforeTypeAnnotation",R,[57,58],[u("insertSpaceBeforeTypeAnnotation"),V,h],16),t("NoOptionalSemicolon",26,te,[s("semicolons",e.SemicolonPreference.Remove),le],32),t("OptionalSemicolon",R,te,[s("semicolons",e.SemicolonPreference.Insert),ue],64)],be=[t("NoSpaceBeforeSemicolon",R,26,[V],16),t("SpaceBeforeOpenBraceInControl",ye,18,[d("placeOpenBraceOnNewLineForControlBlocks"),O,Z,b],4,1),t("SpaceBeforeOpenBraceInFunction",_e,18,[d("placeOpenBraceOnNewLineForFunctions"),D,x,Z,b],4,1),t("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",ge,18,[d("placeOpenBraceOnNewLineForFunctions"),N,Z,b],4,1),t("NoSpaceBeforeComma",R,27,[V],16),t("NoSpaceBeforeOpenBracket",A(129,81),22,[V],16),t("NoSpaceAfterCloseBracket",23,R,[V,J],16),t("SpaceAfterSemicolon",26,R,[V],4),t("SpaceBetweenForAndAwaitKeyword",96,130,[V],4),t("SpaceBetweenStatements",[21,89,90,81],R,[V,K,m],4),t("SpaceAfterTryCatchFinally",[110,82,95],18,[V],4)];return o(he,ve,be)}}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){var t;function r(){var r,o;return void 0===t&&(r=n.getAllRules(),o=function(e){for(var n=new Array(s*s),t=new Array(n.length),r=0,a=e;r<a.length;r++)for(var o=a[r],l=o.leftTokenRange.isSpecific&&o.rightTokenRange.isSpecific,u=0,d=o.leftTokenRange.tokens;u<d.length;u++)for(var p=d[u],f=0,m=o.rightTokenRange.tokens;f<m.length;f++){var _=m[f],g=i(p,_),y=n[g];void 0===y&&(y=n[g]=[]),c(y,o.rule,l,t,g)}return n}(r),t=function(n){var t=o[i(n.currentTokenSpan.kind,n.nextTokenSpan.kind)];if(t){for(var r=[],s=0,c=0,l=t;c<l.length;c++){var u=l[c],d=~a(s);u.action&d&&e.every(u.context,(function(e){return e(n)}))&&(r.push(u),s|=u.action)}if(r.length)return r}}),t}function a(e){var n=0;return 1&e&&(n|=28),2&e&&(n|=96),28&e&&(n|=28),96&e&&(n|=96),n}function i(n,t){return e.Debug.assert(n<=155&&t<=155,"Must compute formatting context from tokens"),n*s+t}n.getFormatContext=function(e,n){return{options:e,getRules:r(),host:n}};var o,s=156;function c(t,r,a,i,s){var c,l,u,d=3&r.action?a?o.StopRulesSpecific:o.StopRulesAny:r.context!==n.anyContext?a?o.ContextRulesSpecific:o.ContextRulesAny:a?o.NoContextRulesSpecific:o.NoContextRulesAny,p=i[s]||0;t.splice(function(e,n){for(var t=0,r=0;r<=n;r+=5)t+=31&e,e>>=5;return t}(p,d),0,r),i[s]=(u=1+((c=p)>>(l=d)&31),e.Debug.assert((31&u)===u,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),c&~(31<<l)|u<<l)}!function(e){e[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=5]="StopRulesAny",e[e.ContextRulesSpecific=10]="ContextRulesSpecific",e[e.ContextRulesAny=15]="ContextRulesAny",e[e.NoContextRulesSpecific=20]="NoContextRulesSpecific",e[e.NoContextRulesAny=25]="NoContextRulesAny"}(o||(o={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){var t,r,a,i,o;function s(n,t,r){var a=e.findPrecedingToken(n,r);return a&&a.kind===t&&n===a.getEnd()?a:void 0}function c(e){for(var n=e;n&&n.parent&&n.parent.end===e.end&&!l(n.parent,n);)n=n.parent;return n}function l(n,t){switch(n.kind){case 249:case 250:return e.rangeContainsRange(n.members,t);case 253:var r=n.body;return!!r&&254===r.kind&&e.rangeContainsRange(r.statements,t);case 294:case 227:case 254:return e.rangeContainsRange(n.statements,t);case 284:return e.rangeContainsRange(n.block.statements,t)}return!1}function u(n,t,r,a){return n?d({pos:e.getLineStartPositionForPosition(n.getStart(t),t),end:n.end},t,r,a):[]}function d(t,r,a,i){var o=function(n,t){return function r(a){var i=e.forEachChild(a,(function(r){return e.startEndContainsRange(r.getStart(t),r.end,n)&&r}));if(i){var o=r(i);if(o)return o}return a}(t)}(t,r);return n.getFormattingScanner(r.text,r.languageVariant,function(n,t,r){var a=n.getStart(r);if(a===t.pos&&n.end===t.end)return a;var i=e.findPrecedingToken(t.pos,r);return i?i.end>=t.pos?n.pos:i.end:n.pos}(o,t,r),t.end,(function(s){return p(t,o,n.SmartIndenter.getIndentationForNode(o,t,r,a.options),function(e,t,r){for(var a,i=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&o!==i)break;if(n.SmartIndenter.shouldIndentChildNode(t,e,a,r))return t.indentSize;i=o,a=e,e=e.parent}return 0}(o,a.options,r),s,a,i,function(n,t){if(!n.length)return i;var r=n.filter((function(n){return e.rangeOverlapsWithStartEnd(t,n.start,n.start+n.length)})).sort((function(e,n){return e.start-n.start}));if(!r.length)return i;var a=0;return function(n){for(;;){if(a>=r.length)return!1;var t=r[a];if(n.end<=t.start)return!1;if(e.startEndOverlapsWithStartEnd(n.pos,n.end,t.start,t.start+t.length))return!0;a++}};function i(){return!1}}(r.parseDiagnostics,t),r)}))}function p(t,r,a,i,o,s,c,l,u){var d,p,m,_,g=s.options,y=s.getRules,h=s.host,v=new n.FormattingContext(u,c,g),b=-1,E=[];if(o.advance(),o.isOnToken()){var T=u.getLineAndCharacterOfPosition(r.getStart(u)).line,S=T;r.decorators&&(S=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,u)).line),function r(a,i,s,c,f,y){if(!e.rangeOverlapsWithStartEnd(t,a.getStart(u),a.getEnd()))return;var h=x(a,s,f,y),v=i;e.forEachChild(a,(function(e){S(e,-1,a,h,s,c,!1)}),(function(t){!function(t,r,i,s){e.Debug.assert(e.isNodeArray(t));var c=function(e,n){switch(e.kind){case 165:case 248:case 205:case 164:case 163:case 206:if(e.typeParameters===n)return 29;if(e.parameters===n)return 20;break;case 200:case 201:if(e.typeArguments===n)return 29;if(e.arguments===n)return 20;break;case 172:if(e.typeArguments===n)return 29;break;case 176:return 18}return 0}(r,t),l=s,d=i;if(0!==c)for(;o.isOnToken();){if((v=o.readTokenInfo(r)).token.end>t.pos)break;if(v.token.kind===c){d=u.getLineAndCharacterOfPosition(v.token.pos).line,L(v,r,s,r);var p=void 0;if(-1!==b)p=b;else{var f=e.getLineStartPositionForPosition(v.token.pos,u);p=n.SmartIndenter.findFirstNonWhitespaceColumn(f,v.token.pos,u,g)}l=x(r,i,p,g.indentSize)}else L(v,r,s,r)}for(var m=-1,_=0;_<t.length;_++){var y=t[_];m=S(y,m,a,l,d,d,!0,0===_)}var h=function(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}(c);if(0!==h&&o.isOnToken()){var v;if(27===(v=o.readTokenInfo(r)).token.kind&&e.isCallLikeExpression(r)){var E=u.getLineAndCharacterOfPosition(v.token.pos).line;d!==E&&(o.advance(),v=o.isOnToken()?o.readTokenInfo(r):void 0)}v&&v.token.kind===h&&e.rangeContainsRange(r,v.token)&&L(v,r,l,r,!0)}}(t,a,s,h)}));for(;o.isOnToken();){var E=o.readTokenInfo(a);if(E.token.end>a.end)break;11!==a.kind?L(E,a,h,a):o.advance()}if(!a.parent&&o.isOnEOF()){var T=o.readEOFTokenRange();T.end<=a.end&&d&&I(T,u.getLineAndCharacterOfPosition(T.pos).line,a,d,m,p,i,h)}function S(i,s,c,l,d,p,f,m){var y=i.getStart(u),h=u.getLineAndCharacterOfPosition(y).line,E=h;i.decorators&&(E=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(i,u)).line);var T=-1;if(f&&e.rangeContainsRange(t,c)&&-1!==(T=function(t,r,a,i,o){if(e.rangeOverlapsWithStartEnd(i,t,r)||e.rangeContainsStartEnd(i,t,r)){if(-1!==o)return o}else{var s=u.getLineAndCharacterOfPosition(t).line,c=e.getLineStartPositionForPosition(t,u),l=n.SmartIndenter.findFirstNonWhitespaceColumn(c,t,u,g);if(s!==a||t===l){var d=n.SmartIndenter.getBaseIndentation(g);return d>l?d:l}}return-1}(y,i.end,d,t,s))&&(s=T),!e.rangeOverlapsWithStartEnd(t,i.pos,i.end))return i.end<t.pos&&o.skipToEndOf(i),s;if(0===i.getFullWidth())return s;for(;o.isOnToken();){if((S=o.readTokenInfo(a)).token.end>y){S.token.pos>y&&o.skipToStartOf(i);break}L(S,a,l,a)}if(!o.isOnToken())return s;if(e.isToken(i)){var S=o.readTokenInfo(i);if(11!==i.kind)return e.Debug.assert(S.token.end===i.end,"Token end is child end"),L(S,a,l,i),s}var x=160===i.kind?h:p,A=function(e,t,r,a,i,o){var s=n.SmartIndenter.shouldIndentChildNode(g,e)?g.indentSize:0;return o===t?{indentation:t===_?b:i.getIndentation(),delta:Math.min(g.indentSize,i.getDelta(e)+s)}:-1===r?20===e.kind&&t===_?{indentation:b,delta:i.getDelta(e)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(a,e,t,u)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(a,e,t,u)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:r,delta:s}}(i,h,T,a,l,x);if(r(i,v,h,E,A.indentation,A.delta),11===i.kind){var D={pos:i.getStart(),end:i.getEnd()};if(D.pos!==D.end){var C=c.getChildren(u),I=C[e.findIndex(C,(function(e){return e.pos===i.pos}))-1];if(I&&u.getLineAndCharacterOfPosition(D.end).line!==u.getLineAndCharacterOfPosition(I.end).line){var N=u.getLineAndCharacterOfPosition(D.pos).line===u.getLineAndCharacterOfPosition(I.end).line;R(D,A.indentation,N,!1,!0)}}}return v=a,m&&196===c.kind&&-1===s&&(s=A.indentation),s}function L(n,r,a,i,s){e.Debug.assert(e.rangeContainsRange(r,n.token));var c=o.lastTrailingTriviaWasNewLine(),p=!1;n.leadingTrivia&&D(n.leadingTrivia,r,v,a);var f=0,m=e.rangeContainsRange(t,n.token),g=u.getLineAndCharacterOfPosition(n.token.pos);if(m){var y=l(n.token),h=d;if(f=C(n.token,g,r,v,a),!y)if(0===f){var E=h&&u.getLineAndCharacterOfPosition(h.end).line;p=c&&g.line!==E}else p=1===f}if(n.trailingTrivia&&D(n.trailingTrivia,r,v,a),p){var T=m&&!l(n.token)?a.getIndentationForToken(g.line,n.token.kind,i,!!s):-1,S=!0;if(n.leadingTrivia){var L=a.getIndentationForComment(n.token.kind,T,i);S=A(n.leadingTrivia,L,S,(function(e){return N(e.pos,L,!1)}))}-1!==T&&S&&(N(n.token.pos,T,1===f),_=g.line,b=T)}o.advance(),v=r}}(r,r,T,S,a,i)}if(!o.isOnToken()){var L=o.getCurrentLeadingTrivia();L&&(A(L,a,!1,(function(e){return C(e,u.getLineAndCharacterOfPosition(e.pos),r,r,void 0)})),!1!==g.trimTrailingWhitespace&&function(){var e=d?d.end:t.pos,n=u.getLineAndCharacterOfPosition(e).line,r=u.getLineAndCharacterOfPosition(t.end).line;k(n,r+1,d)}())}return E;function x(t,r,a,i){return{getIndentationForComment:function(e,n,t){switch(e){case 19:case 23:case 21:return a+o(t)}return-1!==n?n:a},getIndentationForToken:function(n,i,s,c){return!c&&function(n,a,i){switch(a){case 18:case 19:case 21:case 90:case 114:case 59:return!1;case 43:case 31:switch(i.kind){case 272:case 273:case 271:return!1}break;case 22:case 23:if(189!==i.kind)return!1}return r!==n&&!(t.decorators&&a===function(n){if(n.modifiers&&n.modifiers.length)return n.modifiers[0].kind;switch(n.kind){case 249:return 83;case 250:return 117;case 248:return 97;case 252:return 252;case 166:return 134;case 167:return 145;case 164:if(n.asteriskToken)return 41;case 162:case 159:var t=e.getNameOfDeclaration(n);if(t)return t.kind}}(t))}(n,i,s)?a+o(s):a},getIndentation:function(){return a},getDelta:o,recomputeIndentation:function(e,r){n.SmartIndenter.shouldIndentChildNode(g,r,t,u)&&(a+=e?g.indentSize:-g.indentSize,i=n.SmartIndenter.shouldIndentChildNode(g,t)?g.indentSize:0)}};function o(e){return n.SmartIndenter.nodeWillIndentChild(g,t,e,u,!0)?i:0}}function A(n,r,a,i){for(var o=0,s=n;o<s.length;o++){var c=s[o],l=e.rangeContainsRange(t,c);switch(c.kind){case 3:l&&R(c,r,!a),a=!1;break;case 2:a&&l&&i(c),a=!1;break;case 4:a=!0}}return a}function D(n,r,a,i){for(var o=0,s=n;o<s.length;o++){var c=s[o];if(e.isComment(c.kind)&&e.rangeContainsRange(t,c))C(c,u.getLineAndCharacterOfPosition(c.pos),r,a,i)}}function C(e,n,r,a,i){var o=0;l(e)||(d?o=I(e,n.line,r,d,m,p,a,i):k(u.getLineAndCharacterOfPosition(t.pos).line,n.line));return d=e,p=r,m=n.line,o}function I(n,t,r,a,i,o,s,c){v.updateContext(a,o,n,r,s);var l=y(v),d=!1!==v.options.trimTrailingWhitespace,p=0;return l?e.forEachRight(l,(function(o){switch(p=function(n,t,r,a,i){var o=i!==r;switch(n.action){case 1:return 0;case 16:if(t.end!==a.pos)return P(t.end,a.pos-t.end),o?2:0;break;case 32:P(t.pos,t.end-t.pos);break;case 8:if(1!==n.flags&&r!==i)return 0;if(1!==i-r)return M(t.end,a.pos-t.end,e.getNewLineOrDefaultFromHost(h,g)),o?0:1;break;case 4:if(1!==n.flags&&r!==i)return 0;if(1!==a.pos-t.end||32!==u.text.charCodeAt(t.end))return M(t.end,a.pos-t.end," "),o?2:0;break;case 64:s=t.end,(c=";")&&E.push(e.createTextChangeFromStartLength(s,0,c))}var s,c;return 0}(o,a,i,n,t)){case 2:r.getStart(u)===n.pos&&c.recomputeIndentation(!1,s);break;case 1:r.getStart(u)===n.pos&&c.recomputeIndentation(!0,s);break;default:e.Debug.assert(0===p)}d=d&&!(16&o.action)&&1!==o.flags})):d=d&&1!==n.kind,t!==i&&d&&k(i,t,a),p}function N(n,t,r){var a=f(t,g);if(r)M(n,0,a);else{var i=u.getLineAndCharacterOfPosition(n),o=e.getStartPositionOfLine(i.line,u);(t!==function(e,n){for(var t=0,r=0;r<n;r++)9===u.text.charCodeAt(e+r)?t+=g.tabSize-t%g.tabSize:t++;return t}(o,i.character)||function(e,n){return e!==u.text.substr(n,e.length)}(a,o))&&M(o,i.character,a)}}function R(t,r,a,i,o){void 0===i&&(i=!0);var s=u.getLineAndCharacterOfPosition(t.pos).line,c=u.getLineAndCharacterOfPosition(t.end).line;if(s!==c){for(var l=[],d=t.pos,p=s;p<c;p++){var m=e.getEndLinePosition(p,u);l.push({pos:d,end:m}),d=e.getStartPositionOfLine(p+1,u)}if(i&&l.push({pos:d,end:t.end}),0!==l.length){var _=e.getStartPositionOfLine(s,u),y=n.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(_,l[0].pos,u,g),h=0;a&&(h=1,s++);for(var v=r-y.column,b=h;b<l.length;b++,s++){var E=e.getStartPositionOfLine(s,u),T=0===b?y:n.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(l[b].pos,l[b].end,u,g);if(o){if(e.isLineBreak(u.text.charCodeAt(e.getStartPositionOfLine(s,u))))continue;v=r-T.column}var S=T.column+v;if(S>0){var L=f(S,g);M(E,T.character,L)}else P(E,T.character)}}}else a||N(t.pos,r,!1)}function k(n,t,r){for(var a=n;a<t;a++){var i=e.getStartPositionOfLine(a,u),o=e.getEndLinePosition(a,u);if(!(r&&(e.isComment(r.kind)||e.isStringOrRegularExpressionOrTemplateLiteral(r.kind))&&r.pos<=o&&r.end>o)){var s=O(i,o);-1!==s&&(e.Debug.assert(s===i||!e.isWhiteSpaceSingleLine(u.text.charCodeAt(s-1))),P(s,o+1-s))}}}function O(n,t){for(var r=t;r>=n&&e.isWhiteSpaceSingleLine(u.text.charCodeAt(r));)r--;return r!==t?r+1:-1}function P(n,t){t&&E.push(e.createTextChangeFromStartLength(n,t,""))}function M(n,t,r){(t||r)&&E.push(e.createTextChangeFromStartLength(n,t,r))}}function f(n,t){if((!a||a.tabSize!==t.tabSize||a.indentSize!==t.indentSize)&&(a={tabSize:t.tabSize,indentSize:t.indentSize},i=o=void 0),t.convertTabsToSpaces){var r=void 0,s=Math.floor(n/t.indentSize),c=n%t.indentSize;return o||(o=[]),void 0===o[s]?(r=e.repeatString(" ",t.indentSize*s),o[s]=r):r=o[s],c?r+e.repeatString(" ",c):r}var l=Math.floor(n/t.tabSize),u=n-l*t.tabSize,d=void 0;return i||(i=[]),void 0===i[l]?i[l]=d=e.repeatString("\t",l):d=i[l],u?d+e.repeatString(" ",u):d}n.createTextRangeWithKind=function(n,t,r){var a={pos:n,end:t,kind:r};return e.Debug.isDebugging&&Object.defineProperty(a,"__debugKind",{get:function(){return e.Debug.formatSyntaxKind(r)}}),a},function(e){e[e.Unknown=-1]="Unknown"}(t||(t={})),n.formatOnEnter=function(n,t,r){var a=t.getLineAndCharacterOfPosition(n).line;if(0===a)return[];for(var i=e.getEndLinePosition(a,t);e.isWhiteSpaceSingleLine(t.text.charCodeAt(i));)i--;return e.isLineBreak(t.text.charCodeAt(i))&&i--,d({pos:e.getStartPositionOfLine(a-1,t),end:i+1},t,r,2)},n.formatOnSemicolon=function(e,n,t){return u(c(s(e,26,n)),n,t,3)},n.formatOnOpeningCurly=function(n,t,r){var a=s(n,18,t);if(!a)return[];var i=c(a.parent);return d({pos:e.getLineStartPositionForPosition(i.getStart(t),t),end:n},t,r,4)},n.formatOnClosingCurly=function(e,n,t){return u(c(s(e,19,n)),n,t,5)},n.formatDocument=function(e,n){return d({pos:0,end:e.text.length},e,n,0)},n.formatSelection=function(n,t,r,a){return d({pos:e.getLineStartPositionForPosition(n,r),end:t},r,a,1)},n.formatNodeGivenIndentation=function(e,t,r,a,i,o){var s={pos:0,end:t.text.length};return n.getFormattingScanner(t.text,r,s.pos,s.end,(function(n){return p(s,e,a,i,n,o,1,(function(e){return!1}),t)}))},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(r||(r={})),n.getRangeOfEnclosingComment=function(n,t,r,a){void 0===a&&(a=e.getTokenAtPosition(n,t));var i=e.findAncestor(a,e.isJSDoc);if(i&&(a=i.parent),!(a.getStart(n)<=t&&t<a.getEnd())){var o=(r=null===r?void 0:void 0===r?e.findPrecedingToken(t,n):r)&&e.getTrailingCommentRanges(n.text,r.end),s=e.getLeadingCommentRangesOfNode(a,n),c=e.concatenate(o,s);return c&&e.find(c,(function(r){return e.rangeContainsPositionExclusive(r,t)||t===r.end&&(2===r.kind||t===n.getFullWidth())}))}},n.getIndentationString=f}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){!function(t){var r,a;function i(e){return e.baseIndentSize||0}function o(e,n,t,r,a,o,l){for(var u=e.parent;u;){var f=!0;if(t){var m=e.getStart(a);f=m<t.pos||m>t.end}var _=s(u,e,a),y=_.line===n.line||p(u,e,n.line,a);if(f){var h=g(e,a,l,!y);if(-1!==h)return h+r;if(-1!==(h=c(e,u,n,y,a,l)))return h+r}T(l,u,e,a,o)&&!y&&(r+=l.indentSize);var v=d(u,e,n.line,a);u=(e=u).parent,n=v?a.getLineAndCharacterOfPosition(e.getStart(a)):_}return r+i(l)}function s(e,n,t){var r=f(n,t),a=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(a)}function c(n,t,r,a,i,o){return(e.isDeclaration(n)||e.isStatementButNotDeclaration(n))&&(294===t.kind||!a)?h(r,i,o):-1}function l(n,t,r,a){var i=e.findNextToken(n,t,a);return i?18===i.kind?1:19===i.kind&&r===u(i,a).line?2:0:0}function u(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function d(n,t,r,a){if(!e.isCallExpression(n)||!e.contains(n.arguments,t))return!1;var i=n.expression.getEnd();return e.getLineAndCharacterOfPosition(a,i).line===r}function p(n,t,r,a){if(231===n.kind&&n.elseStatement===t){var i=e.findChildOfKind(n,90,a);return e.Debug.assert(void 0!==i),u(i,a).line===r}return!1}function f(e,n){return e.parent&&m(e.getStart(n),e.getEnd(),e.parent,n)}function m(n,t,r,a){switch(r.kind){case 172:return i(r.typeArguments);case 197:return i(r.properties);case 196:return i(r.elements);case 176:return i(r.members);case 248:case 205:case 206:case 164:case 163:case 168:case 165:case 174:case 169:return i(r.typeParameters)||i(r.parameters);case 249:case 218:case 250:case 251:case 326:return i(r.typeParameters);case 201:case 200:return i(r.typeArguments)||i(r.arguments);case 247:return i(r.declarations);case 261:case 265:return i(r.elements);case 193:case 194:return i(r.elements)}function i(i){return i&&e.rangeContainsStartEnd(function(e,n,t){for(var r=e.getChildren(t),a=1;a<r.length-1;a++)if(r[a].pos===n.pos&&r[a].end===n.end)return{pos:r[a-1].end,end:r[a+1].getStart(t)};return n}(r,i,a),n,t)?i:void 0}}function _(e,n,t){return e?h(n.getLineAndCharacterOfPosition(e.pos),n,t):-1}function g(e,n,t,r){if(e.parent&&247===e.parent.kind)return-1;var a=f(e,n);if(a){var i=a.indexOf(e);if(-1!==i){var o=y(a,i,n,t);if(-1!==o)return o}return _(a,n,t)+(r?t.indentSize:0)}return-1}function y(n,t,r,a){e.Debug.assert(t>=0&&t<n.length);for(var i=u(n[t],r),o=t-1;o>=0;o--)if(27!==n[o].kind){if(r.getLineAndCharacterOfPosition(n[o].end).line!==i.line)return h(i,r,a);i=u(n[o],r)}return-1}function h(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return b(r,r+e.character,n,t)}function v(n,t,r,a){for(var i=0,o=0,s=n;s<t;s++){var c=r.text.charCodeAt(s);if(!e.isWhiteSpaceSingleLine(c))break;9===c?o+=a.tabSize+o%a.tabSize:o++,i++}return{column:o,character:i}}function b(e,n,t,r){return v(e,n,t,r).column}function E(n,t,r,a,i){var o=r?r.kind:0;switch(t.kind){case 230:case 249:case 218:case 250:case 252:case 251:case 196:case 227:case 254:case 197:case 176:case 189:case 178:case 255:case 282:case 281:case 204:case 198:case 200:case 201:case 229:case 263:case 239:case 214:case 194:case 193:case 272:case 275:case 271:case 280:case 163:case 168:case 169:case 159:case 173:case 174:case 185:case 202:case 210:case 265:case 261:case 267:case 262:case 162:return!0;case 246:case 285:case 213:if(!n.indentMultiLineObjectLiteralBeginningOnBlankLine&&a&&197===o)return function(n,t){var r=e.skipTrivia(n.text,t.pos),a=n.getLineAndCharacterOfPosition(r).line,i=n.getLineAndCharacterOfPosition(t.end).line;return a===i}(a,r);if(213!==t.kind)return!0;break;case 232:case 233:case 235:case 236:case 234:case 231:case 248:case 205:case 164:case 206:case 165:case 166:case 167:return 227!==o;case 264:return 265!==o;case 258:return 259!==o||!!r.namedBindings&&261!==r.namedBindings.kind;case 270:return 273!==o;case 274:return 276!==o;case 182:case 181:if(176===o||178===o)return!1}return i}function T(e,n,t,r,a){return void 0===a&&(a=!1),E(e,n,t,r,!1)&&!(a&&t&&function(e,n){switch(e){case 239:case 243:case 237:case 238:return 227!==n.kind;default:return!1}}(t.kind,n))}!function(e){e[e.Unknown=-1]="Unknown"}(r||(r={})),t.getIndentation=function(t,r,a,s){if(void 0===s&&(s=!1),t>r.text.length)return i(a);if(a.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(t,r,void 0,!0),d=n.getRangeOfEnclosingComment(r,t,c||null);if(d&&3===d.kind)return function(n,t,r,a){var i=e.getLineAndCharacterOfPosition(n,t).line-1,o=e.getLineAndCharacterOfPosition(n,a.pos).line;if(e.Debug.assert(o>=0),i<=o)return b(e.getStartPositionOfLine(o,n),t,n,r);var s=e.getStartPositionOfLine(i,n),c=v(s,t,n,r),l=c.column,u=c.character;if(0===l)return l;return 42===n.text.charCodeAt(s+u)?l-1:l}(r,t,a,d);if(!c)return i(a);if(e.isStringOrRegularExpressionOrTemplateLiteral(c.kind)&&c.getStart(r)<=t&&t<c.end)return 0;var p=r.getLineAndCharacterOfPosition(t).line;if(a.indentStyle===e.IndentStyle.Block)return function(n,t,r){var a=t;for(;a>0;){var i=n.text.charCodeAt(a);if(!e.isWhiteSpaceLike(i))break;a--}return b(e.getLineStartPositionForPosition(a,n),a,n,r)}(r,t,a);if(27===c.kind&&213!==c.parent.kind){var f=function(n,t,r){var a=e.findListItemInfo(n);return a&&a.listItemIndex>0?y(a.list.getChildren(),a.listItemIndex-1,t,r):-1}(c,r,a);if(-1!==f)return f}var h=function(e,n,t){return n&&m(e,e,n,t)}(t,c.parent,r);return h&&!e.rangeContainsRange(h,c)?_(h,r,a)+a.indentSize:function(n,t,r,a,s,c){var d,p=r;for(;p;){if(e.positionBelongsToNode(p,t,n)&&T(c,p,d,n,!0)){var f=u(p,n),m=l(r,p,a,n),_=0!==m?s&&2===m?c.indentSize:0:a!==f.line?c.indentSize:0;return o(p,f,void 0,_,n,!0,c)}var y=g(p,n,c,!0);if(-1!==y)return y;d=p,p=p.parent}return i(c)}(r,t,c,p,s,a)},t.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return o(e,a,n,0,t,!1,r)},t.getBaseIndentation=i,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(a||(a={})),t.isArgumentAndStartLineOverlapsExpressionBeingCalled=d,t.childStartsOnTheSameLineWithElseInIfStatement=p,t.argumentStartsOnSameLineAsPreviousArgument=function(n,t,r,a){if(e.isCallOrNewExpression(n)){if(!n.arguments)return!1;var i=e.find(n.arguments,(function(e){return e.pos===t.pos}));if(!i)return!1;var o=n.arguments.indexOf(i);if(0===o)return!1;var s=n.arguments[o-1];if(r===e.getLineAndCharacterOfPosition(a,s.getEnd()).line)return!0}return!1},t.getContainingList=f,t.findFirstNonWhitespaceCharacterAndColumn=v,t.findFirstNonWhitespaceColumn=b,t.nodeWillIndentChild=E,t.shouldIndentChildNode=T}(n.SmartIndenter||(n.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){function t(n){var t=n.__pos;return e.Debug.assert("number"==typeof t),t}function r(n,t){e.Debug.assert("number"==typeof t),n.__pos=t}function a(n){var t=n.__end;return e.Debug.assert("number"==typeof t),t}function i(n,t){e.Debug.assert("number"==typeof t),n.__end=t}var c,l;function u(n,t){return e.skipTrivia(n,t,!1,!0)}!function(e){e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine"}(c=n.LeadingTriviaOption||(n.LeadingTriviaOption={})),function(e){e[e.Exclude=0]="Exclude",e[e.Include=1]="Include"}(l=n.TrailingTriviaOption||(n.TrailingTriviaOption={}));var d,p={leadingTriviaOption:c.Exclude,trailingTriviaOption:l.Exclude};function f(e,n,t,r){return{pos:m(e,n,r),end:_(e,t,r)}}function m(n,t,r){var a=r.leadingTriviaOption;if(a===c.Exclude)return t.getStart(n);if(a===c.StartLine)return e.getLineStartPositionForPosition(t.getStart(n),n);if(a===c.JSDoc){var i=e.getJSDocCommentRanges(t,n.text);if(null==i?void 0:i.length)return e.getLineStartPositionForPosition(i[0].pos,n)}var o=t.getFullStart(),s=t.getStart(n);if(o===s)return s;var l=e.getLineStartPositionForPosition(o,n);if(e.getLineStartPositionForPosition(s,n)===l)return a===c.IncludeAll?o:s;var d=o>0?1:0,p=e.getStartPositionOfLine(e.getLineOfLocalPosition(n,l)+d,n);return p=u(n.text,p),e.getStartPositionOfLine(e.getLineOfLocalPosition(n,p),n)}function _(n,t,r){var a=t.end,i=r.trailingTriviaOption;if(i===l.Exclude||e.isExpression(t)&&i!==l.Include)return a;var o=e.skipTrivia(n.text,a,!0);return o===a||i!==l.Include&&!e.isLineBreak(n.text.charCodeAt(o-1))?a:o}function g(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&197===e.parent.kind)}!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(d||(d={})),n.isThisTypeAnnotatable=function(n){return e.isFunctionExpression(n)||e.isFunctionDeclaration(n)};var y,h,v=function(){function n(n,t){this.newLineCharacter=n,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return n.fromContext=function(t){return new n(e.getNewLineOrDefaultFromHost(t.host,t.formatContext.options),t.formatContext)},n.with=function(e,t){var r=n.fromContext(e);return t(r),r.getChanges()},n.prototype.pushRaw=function(n,t){e.Debug.assertEqual(n.fileName,t.fileName);for(var r=0,a=t.textChanges;r<a.length;r++){var i=a[r];this.changes.push({kind:d.Text,sourceFile:n,text:i.newText,range:e.createTextRangeFromSpan(i.span)})}},n.prototype.deleteRange=function(e,n){this.changes.push({kind:d.Remove,sourceFile:e,range:n})},n.prototype.delete=function(e,n){this.deletedNodes.push({sourceFile:e,node:n})},n.prototype.deleteNode=function(e,n,t){void 0===t&&(t={leadingTriviaOption:c.IncludeAll}),this.deleteRange(e,f(e,n,n,t))},n.prototype.deleteModifier=function(n,t){this.deleteRange(n,{pos:t.getStart(n),end:e.skipTrivia(n.text,t.end,!0)})},n.prototype.deleteNodeRange=function(e,n,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});var a=m(e,n,r),i=_(e,t,r);this.deleteRange(e,{pos:a,end:i})},n.prototype.deleteNodeRangeExcludingEnd=function(e,n,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});var a=m(e,n,r),i=void 0===t?e.text.length:m(e,t,r);this.deleteRange(e,{pos:a,end:i})},n.prototype.replaceRange=function(e,n,t,r){void 0===r&&(r={}),this.changes.push({kind:d.ReplaceWithSingleNode,sourceFile:e,range:n,options:r,node:t})},n.prototype.replaceNode=function(e,n,t,r){void 0===r&&(r=p),this.replaceRange(e,f(e,n,n,r),t,r)},n.prototype.replaceNodeRange=function(e,n,t,r,a){void 0===a&&(a=p),this.replaceRange(e,f(e,n,t,a),r,a)},n.prototype.replaceRangeWithNodes=function(e,n,t,r){void 0===r&&(r={}),this.changes.push({kind:d.ReplaceWithMultipleNodes,sourceFile:e,range:n,options:r,nodes:t})},n.prototype.replaceNodeWithNodes=function(e,n,t,r){void 0===r&&(r=p),this.replaceRangeWithNodes(e,f(e,n,n,r),t,r)},n.prototype.replaceNodeWithText=function(e,n,t){this.replaceRangeWithText(e,f(e,n,n,p),t)},n.prototype.replaceNodeRangeWithNodes=function(e,n,t,r,a){void 0===a&&(a=p),this.replaceRangeWithNodes(e,f(e,n,t,a),r,a)},n.prototype.nextCommaToken=function(n,t){var r=e.findNextToken(t,t.parent,n);return r&&27===r.kind?r:void 0},n.prototype.replacePropertyAssignment=function(e,n,t){var r=this.nextCommaToken(e,n)?"":","+this.newLineCharacter;this.replaceNode(e,n,t,{suffix:r})},n.prototype.insertNodeAt=function(n,t,r,a){void 0===a&&(a={}),this.replaceRange(n,e.createRange(t),r,a)},n.prototype.insertNodesAt=function(n,t,r,a){void 0===a&&(a={}),this.replaceRangeWithNodes(n,e.createRange(t),r,a)},n.prototype.insertNodeAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},n.prototype.insertNodesAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},n.prototype.insertAtTopOfFile=function(n,t,r){var a=function(n){for(var t,r=0,a=n.statements;r<a.length;r++){var i=a[r];if(!e.isPrologueDirective(i))break;t=i}var o=0,s=n.text;if(t)return o=t.end,h(),o;var c=e.getShebang(s);void 0!==c&&(o=c.length,h());var l,u,d=e.getLeadingCommentRanges(s,o);if(!d)return o;for(var p=0,f=d;p<f.length;p++){var m=f[p];if(3===m.kind){if(e.isPinnedComment(s,m.pos)){l={range:m,pinnedOrTripleSlash:!0};continue}}else if(e.isRecognizedTripleSlashComment(s,m.pos,m.end)){l={range:m,pinnedOrTripleSlash:!0};continue}if(l){if(l.pinnedOrTripleSlash)break;var _=n.getLineAndCharacterOfPosition(m.pos).line,g=n.getLineAndCharacterOfPosition(l.range.end).line;if(_>=g+2)break}if(n.statements.length){void 0===u&&(u=n.getLineAndCharacterOfPosition(n.statements[0].getStart()).line);var y=n.getLineAndCharacterOfPosition(m.end).line;if(u<y+2)break}l={range:m,pinnedOrTripleSlash:!1}}l&&(o=l.range.end,h());return o;function h(){if(o<s.length){var n=s.charCodeAt(o);e.isLineBreak(n)&&++o<s.length&&13===n&&10===s.charCodeAt(o)&&o++}}}(n),i={prefix:0===a?void 0:this.newLineCharacter,suffix:(e.isLineBreak(n.text.charCodeAt(a))?"":this.newLineCharacter)+(r?this.newLineCharacter:"")};e.isArray(t)?this.insertNodesAt(n,a,t,i):this.insertNodeAt(n,a,t,i)},n.prototype.insertFirstParameter=function(n,t,r){var a=e.firstOrUndefined(t);a?this.insertNodeBefore(n,a,r):this.insertNodeAt(n,t.pos,r)},n.prototype.insertNodeBefore=function(e,n,t,r,a){void 0===r&&(r=!1),void 0===a&&(a={}),this.insertNodeAt(e,m(e,n,a),t,this.getOptionsForInsertNodeBefore(n,t,r))},n.prototype.insertModifierBefore=function(n,t,r){var a=r.getStart(n);this.insertNodeAt(n,a,e.factory.createToken(t),{suffix:" "})},n.prototype.insertLastModifierBefore=function(n,t,r){if(r.modifiers){var a=r.modifiers.end;this.insertNodeAt(n,a,e.factory.createToken(t),{prefix:" "})}else this.insertModifierBefore(n,t,r)},n.prototype.insertCommentBeforeLine=function(n,t,r,a){var i=e.getStartPositionOfLine(t,n),o=e.getFirstNonSpaceCharacterPosition(n.text,i),s=x(n,o),c=e.getTouchingToken(n,s?o:r),l=n.text.slice(i,o),u=(s?"":this.newLineCharacter)+"//"+a+this.newLineCharacter+l;this.insertText(n,c.getStart(n),u)},n.prototype.insertJsdocCommentBefore=function(n,t,r){var a=t.getStart(n);if(t.jsDoc)for(var i=0,o=t.jsDoc;i<o.length;i++){var s=o[i];this.deleteRange(n,{pos:e.getLineStartPositionForPosition(s.getStart(n),n),end:_(n,s,{})})}var c=e.getPrecedingNonSpaceCharacterPosition(n.text,a-1),l=n.text.slice(c,a);this.insertNodeAt(n,a,r,{preserveLeadingWhitespace:!1,suffix:this.newLineCharacter+l})},n.prototype.replaceRangeWithText=function(e,n,t){this.changes.push({kind:d.Text,sourceFile:e,range:n,text:t})},n.prototype.insertText=function(n,t,r){this.replaceRangeWithText(n,e.createRange(t),r)},n.prototype.tryInsertTypeAnnotation=function(n,t,r){var a,i;if(e.isFunctionLike(t)){if(!(i=e.findChildOfKind(t,21,n))){if(!e.isArrowFunction(t))return!1;i=e.first(t.parameters)}}else i=null!==(a=246===t.kind?t.exclamationToken:t.questionToken)&&void 0!==a?a:t.name;return this.insertNodeAt(n,i.end,r,{prefix:": "}),!0},n.prototype.tryInsertThisTypeAnnotation=function(n,t,r){var a=e.findChildOfKind(t,20,n).getStart(n)+1,i=t.parameters.length?", ":"";this.insertNodeAt(n,a,r,{prefix:"this: ",suffix:i})},n.prototype.insertTypeParameters=function(n,t,r){var a=(e.findChildOfKind(t,20,n)||e.first(t.parameters)).getStart(n);this.insertNodesAt(n,a,r,{prefix:"<",suffix:">",joiner:", "})},n.prototype.getOptionsForInsertNodeBefore=function(n,t,r){return e.isStatement(n)||e.isClassElement(n)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(n)?{suffix:", "}:e.isParameter(n)?e.isParameter(t)?{suffix:", "}:{}:e.isStringLiteral(n)&&e.isImportDeclaration(n.parent)||e.isNamedImports(n)?{suffix:", "}:e.isImportSpecifier(n)?{suffix:","+(r?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(n)},n.prototype.insertNodeAtConstructorStart=function(n,t,r){var a=e.firstOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeBefore(n,a,r):this.replaceConstructorBody(n,t,o([r],t.body.statements))},n.prototype.insertNodeAtConstructorEnd=function(n,t,r){var a=e.lastOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,o(t.body.statements,[r]))},n.prototype.replaceConstructorBody=function(n,t,r){this.replaceNode(n,t.body,e.factory.createBlock(r,!0))},n.prototype.insertNodeAtEndOfScope=function(n,t,r){var a=m(n,t.getLastToken(),{});this.insertNodeAt(n,a,r,{prefix:e.isLineBreak(n.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtStartWorker=function(e,n,t){var r,a=null!==(r=this.guessIndentationFromExistingMembers(e,n))&&void 0!==r?r:this.computeIndentationForNewMember(e,n);this.insertNodeAt(e,E(n).pos,t,this.getInsertNodeAtStartInsertOptions(e,n,a))},n.prototype.guessIndentationFromExistingMembers=function(n,t){for(var r,a=t,i=0,o=E(t);i<o.length;i++){var s=o[i];if(e.rangeStartPositionsAreOnSameLine(a,s,n))return;var c=s.getStart(n),l=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(c,n),c,n,this.formatContext.options);if(void 0===r)r=l;else if(l!==r)return;a=s}return r},n.prototype.computeIndentationForNewMember=function(n,t){var r,a=t.getStart(n);return e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(a,n),a,n,this.formatContext.options)+(null!==(r=this.formatContext.options.indentSize)&&void 0!==r?r:4)},n.prototype.getInsertNodeAtStartInsertOptions=function(n,t,r){var a=0===E(t).length,i=e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(t),{node:t,sourceFile:n}),o=e.isObjectLiteralExpression(t)&&(!e.isJsonSourceFile(n)||!a);return{indentation:r,prefix:(e.isObjectLiteralExpression(t)&&e.isJsonSourceFile(n)&&a&&!i?",":"")+this.newLineCharacter,suffix:o?",":""}},n.prototype.insertNodeAfterComma=function(e,n,t){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},n.prototype.insertNodesAfter=function(n,t,r){var a=this.insertNodeAfterWorker(n,t,e.first(r));this.insertNodesAt(n,a,r,this.getInsertNodeAfterOptions(n,t))},n.prototype.insertNodeAfterWorker=function(n,t,r){var a,i;return a=t,i=r,((e.isPropertySignature(a)||e.isPropertyDeclaration(a))&&e.isClassOrTypeElement(i)&&157===i.name.kind||e.isStatementButNotDeclaration(a)&&e.isStatementButNotDeclaration(i))&&59!==n.text.charCodeAt(t.end-1)&&this.replaceRange(n,e.createRange(t.end),e.factory.createToken(26)),_(n,t,{})},n.prototype.getInsertNodeAfterOptions=function(n,t){var r=this.getInsertNodeAfterOptionsWorker(t);return s(s({},r),{prefix:t.end===n.end&&e.isStatement(t)?r.prefix?"\n"+r.prefix:"\n":r.prefix})},n.prototype.getInsertNodeAfterOptionsWorker=function(n){switch(n.kind){case 249:case 253:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 246:case 10:case 78:return{prefix:", "};case 285:return{suffix:","+this.newLineCharacter};case 92:return{prefix:" "};case 159:return{};default:return e.Debug.assert(e.isStatement(n)||e.isClassOrTypeElement(n)),{suffix:this.newLineCharacter}}},n.prototype.insertName=function(n,t,r){if(e.Debug.assert(!t.name),206===t.kind){var a=e.findChildOfKind(t,38,n),i=e.findChildOfKind(t,20,n);i?(this.insertNodesAt(n,i.getStart(n),[e.factory.createToken(97),e.factory.createIdentifier(r)],{joiner:" "}),A(this,n,a)):(this.insertText(n,e.first(t.parameters).getStart(n),"function "+r+"("),this.replaceRange(n,a,e.factory.createToken(21))),227!==t.body.kind&&(this.insertNodesAt(n,t.body.getStart(n),[e.factory.createToken(18),e.factory.createToken(104)],{joiner:" ",suffix:" "}),this.insertNodesAt(n,t.body.end,[e.factory.createToken(26),e.factory.createToken(19)],{joiner:" "}))}else{var o=e.findChildOfKind(t,205===t.kind?97:83,n).end;this.insertNodeAt(n,o,e.factory.createIdentifier(r),{prefix:" "})}},n.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},n.prototype.insertNodeInListAfter=function(n,t,r,a){if(void 0===a&&(a=e.formatting.SmartIndenter.getContainingList(t,n)),a){var i=e.indexOfNode(a,t);if(!(i<0)){var o=t.getEnd();if(i!==a.length-1){var s=e.getTokenAtPosition(n,t.end);if(s&&g(t,s)){var c=e.getLineAndCharacterOfPosition(n,u(n.text,a[i+1].getFullStart())),l=e.getLineAndCharacterOfPosition(n,s.end),d=void 0,p=void 0;l.line===c.line?(p=s.end,d=function(e){for(var n="",t=0;t<e;t++)n+=" ";return n}(c.character-l.character)):p=e.getStartPositionOfLine(c.line,n);var f=""+e.tokenToString(s.kind)+n.text.substring(s.end,a[i+1].getStart(n));this.replaceRange(n,e.createRange(p,a[i+1].getStart(n)),r,{prefix:d,suffix:f})}}else{var m=t.getStart(n),_=e.getLineStartPositionForPosition(m,n),y=void 0,h=!1;if(1===a.length)y=27;else{var v=e.findPrecedingToken(t.pos,n);y=g(t,v)?v.kind:27,h=e.getLineStartPositionForPosition(a[i-1].getStart(n),n)!==_}if(function(n,t){for(var r=t;r<n.length;){var a=n.charCodeAt(r);if(!e.isWhiteSpaceSingleLine(a))return 47===a;r++}return!1}(n.text,t.end)&&(h=!0),h){this.replaceRange(n,e.createRange(o),e.factory.createToken(y));for(var b=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(_,m,n,this.formatContext.options),E=e.skipTrivia(n.text,o,!0,!1);E!==o&&e.isLineBreak(n.text.charCodeAt(E-1));)E--;this.replaceRange(n,e.createRange(E),r,{indentation:b,prefix:this.newLineCharacter})}else this.replaceRange(n,e.createRange(o),r,{prefix:e.tokenToString(y)+" "})}}}else e.Debug.fail("node is not a list element")},n.prototype.parenthesizeExpression=function(n,t){this.replaceRange(n,e.rangeOfNode(t),e.factory.createParenthesizedExpression(t))},n.prototype.finishClassesWithNodesInsertedAtStart=function(){var n=this;this.classesWithNodesInsertedAtStart.forEach((function(t){var r=t.node,a=t.sourceFile,i=function(n,t){var r=e.findChildOfKind(n,18,t),a=e.findChildOfKind(n,19,t);return[null==r?void 0:r.end,null==a?void 0:a.end]}(r,a),o=i[0],s=i[1];if(void 0!==o&&void 0!==s){var c=0===E(r).length,l=e.positionsAreOnSameLine(o,s,a);c&&l&&o!==s-1&&n.deleteRange(a,e.createRange(o,s-1)),l&&n.insertText(a,s-1,n.newLineCharacter)}}))},n.prototype.finishDeleteDeclarations=function(){for(var n=this,t=new e.Set,r=function(n,r){a.deletedNodes.some((function(t){return t.sourceFile===n&&e.rangeContainsRangeExclusive(t.node,r)}))||(e.isArray(r)?a.deleteRange(n,e.rangeOfTypeParameters(r)):h.deleteDeclaration(a,t,n,r))},a=this,i=0,o=this.deletedNodes;i<o.length;i++){var s=o[i];r(s.sourceFile,s.node)}t.forEach((function(r){var a=r.getSourceFile(),i=e.formatting.SmartIndenter.getContainingList(r,a);if(r===e.last(i)){var o=e.findLastIndex(i,(function(e){return!t.has(e)}),i.length-2);-1!==o&&n.deleteRange(a,{pos:i[o].end,end:b(a,i[o+1])})}}))},n.prototype.getChanges=function(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();for(var n=y.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e),t=0,r=this.newFiles;t<r.length;t++){var a=r[t],i=a.oldFile,o=a.fileName,s=a.statements;n.push(y.newFileChanges(i,o,s,this.newLineCharacter,this.formatContext))}return n},n.prototype.createNewFile=function(e,n,t){this.newFiles.push({oldFile:e,fileName:n,statements:t})},n}();function b(n,t){return e.skipTrivia(n.text,m(n,t,{leadingTriviaOption:c.IncludeAll}),!1,!0)}function E(n){return e.isObjectLiteralExpression(n)?n.properties:n.members}function T(n,t){for(var r=t.length-1;r>=0;r--){var a=t[r],i=a.span,o=a.newText;n=""+n.substring(0,i.start)+o+n.substring(e.textSpanEnd(i))}return n}function S(n){var r=e.visitEachChild(n,S,e.nullTransformationContext,L,S),i=e.nodeIsSynthesized(r)?r:Object.create(r);return e.setTextRangePosEnd(i,t(n),a(n)),i}function L(n,r,i,o,s){var c=e.visitNodes(n,r,i,o,s);if(!c)return c;var l=c===n?e.factory.createNodeArray(c.slice(0)):c;return e.setTextRangePosEnd(l,t(n),a(n)),l}function x(n,t){return!(e.isInComment(n,t)||e.isInString(n,t)||e.isInTemplateString(n,t)||e.isInJSXText(n,t))}function A(e,n,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});var a=m(n,t,r),i=_(n,t,r);e.deleteRange(n,{pos:a,end:i})}function D(n,t,r,a){var i=e.Debug.checkDefined(e.formatting.SmartIndenter.getContainingList(a,r)),o=e.indexOfNode(i,a);e.Debug.assert(-1!==o),1!==i.length?(e.Debug.assert(!t.has(a),"Deleting a node twice"),t.add(a),n.deleteRange(r,{pos:b(r,a),end:o===i.length-1?_(r,a,{}):b(r,i[o+1])})):A(n,r,a)}n.ChangeTracker=v,n.getNewFileText=function(e,n,t,r){return y.newFileChangesWorker(void 0,n,e,t,r)},function(n){function t(n,t,r,i,o){var s=r.map((function(e){return 4===e?"":a(e,n,i).text})).join(i),c=e.createSourceFile("any file name",s,99,!0,t);return T(s,e.formatting.formatDocument(c,o))+i}function a(n,t,a){var o=function(n){var t=0,a=e.createTextWriter(n);function o(n,r){if(r||!function(n){return e.skipTrivia(n,0)===n.length}(n)){t=a.getTextPos();for(var i=0;e.isWhiteSpaceLike(n.charCodeAt(n.length-i-1));)i++;t-=i}}return{onEmitNode:function(e,n,a){n&&r(n,t),a(e,n),n&&i(n,t)},onBeforeEmitNodeArray:function(e){e&&r(e,t)},onAfterEmitNodeArray:function(e){e&&i(e,t)},onBeforeEmitToken:function(e){e&&r(e,t)},onAfterEmitToken:function(e){e&&i(e,t)},write:function(e){a.write(e),o(e,!1)},writeComment:function(e){a.writeComment(e)},writeKeyword:function(e){a.writeKeyword(e),o(e,!1)},writeOperator:function(e){a.writeOperator(e),o(e,!1)},writePunctuation:function(e){a.writePunctuation(e),o(e,!1)},writeTrailingSemicolon:function(e){a.writeTrailingSemicolon(e),o(e,!1)},writeParameter:function(e){a.writeParameter(e),o(e,!1)},writeProperty:function(e){a.writeProperty(e),o(e,!1)},writeSpace:function(e){a.writeSpace(e),o(e,!1)},writeStringLiteral:function(e){a.writeStringLiteral(e),o(e,!1)},writeSymbol:function(e,n){a.writeSymbol(e,n),o(e,!1)},writeLine:function(e){a.writeLine(e)},increaseIndent:function(){a.increaseIndent()},decreaseIndent:function(){a.decreaseIndent()},getText:function(){return a.getText()},rawWrite:function(e){a.rawWrite(e),o(e,!1)},writeLiteral:function(e){a.writeLiteral(e),o(e,!0)},getTextPos:function(){return a.getTextPos()},getLine:function(){return a.getLine()},getColumn:function(){return a.getColumn()},getIndent:function(){return a.getIndent()},isAtStartOfLine:function(){return a.isAtStartOfLine()},hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:function(){a.clear(),t=0}}}(a),s="\n"===a?1:0;return e.createPrinter({newLine:s,neverAsciiEscape:!0,preserveSourceNewlines:!0},o).writeNode(4,n,t,o),{text:o.getText(),node:S(n)}}n.getTextChangesFromChanges=function(n,t,r,i){return e.mapDefined(e.group(n,(function(e){return e.sourceFile.path})),(function(n){for(var o=n[0].sourceFile,c=e.stableSort(n,(function(e,n){return e.range.pos-n.range.pos||e.range.end-n.range.end})),l=function(n){e.Debug.assert(c[n].range.end<=c[n+1].range.pos,"Changes overlap",(function(){return JSON.stringify(c[n].range)+" and "+JSON.stringify(c[n+1].range)}))},u=0;u<c.length-1;u++)l(u);var p=e.mapDefined(c,(function(n){var c=e.createTextSpanFromRange(n.range),l=function(n,t,r,i,o){if(n.kind===d.Remove)return"";if(n.kind===d.Text)return n.text;var c=n.options,l=void 0===c?{}:c,u=n.range.pos,p=function(n){return function(n,t,r,i,o,c,l){var u=i.indentation,d=i.prefix,p=i.delta,f=a(n,t,o),m=f.node,_=f.text;l&&l(m,_);var g=function(n,t){var r=n.options,a=!r.semicolons||r.semicolons===e.SemicolonPreference.Ignore,i=r.semicolons===e.SemicolonPreference.Remove||a&&!e.probablyUsesSemicolons(t);return s(s({},r),{semicolons:i?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}(c,t),y=void 0!==u?u:e.formatting.SmartIndenter.getIndentation(r,t,g,d===o||e.getLineStartPositionForPosition(r,t)===r);void 0===p&&(p=e.formatting.SmartIndenter.shouldIndentChildNode(g,n)&&g.indentSize||0);var h={text:_,getLineAndCharacterOfPosition:function(n){return e.getLineAndCharacterOfPosition(this,n)}},v=e.formatting.formatNodeGivenIndentation(m,h,t.languageVariant,y,p,s(s({},c),{options:g}));return T(_,v)}(n,t,u,l,r,i,o)},f=n.kind===d.ReplaceWithMultipleNodes?n.nodes.map((function(n){return e.removeSuffix(p(n),r)})).join(n.options.joiner||r):p(n.node),m=l.preserveLeadingWhitespace||void 0!==l.indentation||e.getLineStartPositionForPosition(u,t)===u?f:f.replace(/^\s+/,"");return(l.prefix||"")+m+(!l.suffix||e.endsWith(m,l.suffix)?"":l.suffix)}(n,o,t,r,i);if(c.length!==l.length||!e.stringContainsAt(o.text,l,c.start))return e.createTextChange(c,l)}));return p.length>0?{fileName:o.fileName,textChanges:p}:void 0}))},n.newFileChanges=function(n,r,a,i,o){var s=t(n,e.getScriptKindFromFileName(r),a,i,o);return{fileName:r,textChanges:[e.createTextChange(e.createTextSpan(0,0),s)],isNewFile:!0}},n.newFileChangesWorker=t,n.getNonformattedText=a}(y||(y={})),n.applyChanges=T,n.isValidLocationToAddComment=x,function(n){function t(n,t,r){if(r.parent.name){var a=e.Debug.checkDefined(e.getTokenAtPosition(t,r.pos-1));n.deleteRange(t,{pos:a.getStart(t),end:r.end})}else{A(n,t,e.getAncestor(r,258))}}n.deleteDeclaration=function(n,r,a,i){switch(i.kind){case 159:var o=i.parent;e.isArrowFunction(o)&&1===o.parameters.length&&!e.findChildOfKind(o,20,a)?n.replaceNodeWithText(a,i,"()"):D(n,r,a,i);break;case 258:case 257:A(n,a,i,{leadingTriviaOption:a.imports.length&&i===e.first(a.imports).parent||i===e.find(a.statements,e.isAnyImportSyntax)?c.Exclude:e.hasJSDocNodes(i)?c.JSDoc:c.StartLine});break;case 195:var s=i.parent;194===s.kind&&i!==e.last(s.elements)?A(n,a,i):D(n,r,a,i);break;case 246:!function(n,t,r,a){var i=a.parent;if(284===i.kind)return void n.deleteNodeRange(r,e.findChildOfKind(i,20,r),e.findChildOfKind(i,21,r));if(1!==i.declarations.length)return void D(n,t,r,a);var o=i.parent;switch(o.kind){case 236:case 235:n.replaceNode(r,a,e.factory.createObjectLiteralExpression());break;case 234:A(n,r,i);break;case 229:A(n,r,o,{leadingTriviaOption:e.hasJSDocNodes(o)?c.JSDoc:c.StartLine});break;default:e.Debug.assertNever(o)}}(n,r,a,i);break;case 158:D(n,r,a,i);break;case 262:var u=i.parent;1===u.elements.length?t(n,a,u):D(n,r,a,i);break;case 260:t(n,a,i);break;case 26:A(n,a,i,{trailingTriviaOption:l.Exclude});break;case 97:A(n,a,i,{leadingTriviaOption:c.Exclude});break;case 249:case 248:A(n,a,i,{leadingTriviaOption:e.hasJSDocNodes(i)?c.JSDoc:c.StartLine});break;default:e.isImportClause(i.parent)&&i.parent.name===i?function(n,t,r){if(r.namedBindings){var a=r.name.getStart(t),i=e.getTokenAtPosition(t,r.name.end);if(i&&27===i.kind){var o=e.skipTrivia(t.text,i.end,!1,!0);n.deleteRange(t,{pos:a,end:o})}else A(n,t,r.name)}else A(n,t,r.parent)}(n,a,i.parent):e.isCallExpression(i.parent)&&e.contains(i.parent.arguments,i)?D(n,r,a,i):A(n,a,i)}}}(h||(h={})),n.deleteNode=A}(e.textChanges||(e.textChanges={}))}(p||(p={})),function(e){!function(n){var t=e.createMultiMap(),r=new e.Map;function a(n){return e.isArray(n)?e.formatStringFromArgs(e.getLocaleSpecificMessage(n[0]),n.slice(1)):e.getLocaleSpecificMessage(n)}function i(e,n,t,r,a,i){return{fixName:e,description:n,changes:t,fixId:r,fixAllDescription:a,commands:i?[i]:void 0}}function c(e,n){return{changes:e,commands:n}}function l(n,t,r){for(var a=0,i=d(n);a<i.length;a++){var o=i[a];e.contains(t,o.code)&&r(o)}}function d(n){var t=n.program,r=n.sourceFile,a=n.cancellationToken;return o(t.getSemanticDiagnostics(r,a),t.getSyntacticDiagnostics(r,a),e.computeSuggestionDiagnostics(r,t,a))}n.createCodeFixActionWithoutFixAll=function(e,n,t){return i(e,a(t),n,void 0,void 0)},n.createCodeFixAction=function(e,n,t,r,o,s){return i(e,a(t),n,r,a(o),s)},n.registerCodeFix=function(n){for(var a=0,i=n.errorCodes;a<i.length;a++){var o=i[a];t.add(String(o),n)}if(n.fixIds)for(var s=0,c=n.fixIds;s<c.length;s++){var l=c[s];e.Debug.assert(!r.has(l)),r.set(l,n)}},n.getSupportedErrorCodes=function(){return e.arrayFrom(t.keys())},n.getFixes=function(n){var r=d(n),a=t.get(String(n.errorCode));return e.flatMap(a,(function(t){return e.map(t.getCodeActions(n),function(n,t){for(var r=n.errorCodes,a=0,i=0,o=t;i<o.length;i++){var c=o[i];if(e.contains(r,c.code)&&a++,a>1)break}var l=a<2;return function(e){var n=e.fixId,t=e.fixAllDescription,r=u(e,["fixId","fixAllDescription"]);return l?r:s(s({},r),{fixId:n,fixAllDescription:t})}}(t,r))}))},n.getAllFixes=function(n){return r.get(e.cast(n.fixId,e.isString)).getAllCodeActions(n)},n.createCombinedCodeActions=c,n.createFileTextChanges=function(e,n){return{fileName:e,textChanges:n}},n.codeFixAll=function(n,t,r){var a=[];return c(e.textChanges.ChangeTracker.with(n,(function(e){return l(n,t,(function(n){return r(e,n,a)}))})),0===a.length?void 0:a)},n.eachDiagnostic=l}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){var n,t;n=e.refactor||(e.refactor={}),t=new e.Map,n.registerRefactor=function(e,n){t.set(e,n)},n.getApplicableRefactors=function(n){return e.arrayFrom(e.flatMapIterator(t.values(),(function(e){return n.cancellationToken&&n.cancellationToken.isCancellationRequested()?void 0:e.getAvailableActions(n)})))},n.getEditsForRefactor=function(e,n,r){var a=t.get(n);return a&&a.getEditsForAction(e,r)}}(p||(p={})),function(e){!function(n){var t="addConvertToUnknownForNonOverlappingTypes",r=[e.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.Debug.checkDefined(e.findAncestor(a,(function(n){return e.isAsExpression(n)||e.isTypeAssertionExpression(n)})),"Expected to find an assertion expression"),o=e.isAsExpression(i)?e.factory.createAsExpression(i.expression,e.factory.createKeywordTypeNode(151)):e.factory.createTypeAssertion(e.factory.createKeywordTypeNode(151),i.expression);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,t,e.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){n.registerCodeFix({errorCodes:[e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(t){var r=t.sourceFile,a=e.textChanges.ChangeTracker.with(t,(function(n){var t=e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([]),void 0);n.insertNodeAtEndOfScope(r,r,t)}));return[n.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",a,e.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingAsync",r=[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_comparable_to_type_1.code];function a(r,a,i,o){var s=i((function(n){return function(n,t,r,a){if(a&&a.has(e.getNodeId(r)))return;null==a||a.add(e.getNodeId(r));var i=e.factory.updateModifiers(e.getSynthesizedDeepClone(r,!0),e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(256|e.getSyntacticModifierFlags(r))));n.replaceNode(t,r,i)}(n,r.sourceFile,a,o)}));return n.createCodeFixAction(t,s,e.Diagnostics.Add_async_modifier_to_containing_function,t,e.Diagnostics.Add_all_missing_async_modifiers)}function i(n,t){if(t){var r=e.getTokenAtPosition(n,t.start);return e.findAncestor(r,(function(r){return r.getStart(n)<t.start||r.getEnd()>e.textSpanEnd(t)?"quit":(e.isArrowFunction(r)||e.isMethodDeclaration(r)||e.isFunctionExpression(r)||e.isFunctionDeclaration(r))&&e.textSpansEqual(t,e.createTextSpanFromNode(r,n))}))}}n.registerCodeFix({fixIds:[t],errorCodes:r,getCodeActions:function(n){var t=n.sourceFile,r=n.errorCode,o=n.cancellationToken,s=n.program,c=n.span,l=e.find(s.getDiagnosticsProducingTypeChecker().getDiagnostics(t,o),function(n,t){return function(r){var a=r.start,i=r.length,o=r.relatedInformation,s=r.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},n)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}(c,r)),u=i(t,l&&l.relatedInformation&&e.find(l.relatedInformation,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})));if(u){return[a(n,u,(function(t){return e.textChanges.ChangeTracker.with(n,t)}))]}},getAllCodeActions:function(t){var o=t.sourceFile,s=new e.Set;return n.codeFixAll(t,r,(function(n,r){var c=r.relatedInformation&&e.find(r.relatedInformation,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})),l=i(o,c);if(l){return a(t,l,(function(e){return e(n),[]}),s)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingAwait",r=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,a=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],i=o([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,r],a);function s(t,r,a,o,s,c){var l=t.sourceFile,p=t.program,f=t.cancellationToken,m=function(n,t,r,a,o){var s=function(n,t){if(e.isPropertyAccessExpression(n.parent)&&e.isIdentifier(n.parent.expression))return{identifiers:[n.parent.expression],isCompleteFix:!0};if(e.isIdentifier(n))return{identifiers:[n],isCompleteFix:!0};if(e.isBinaryExpression(n)){for(var r=void 0,a=!0,i=0,o=[n.left,n.right];i<o.length;i++){var s=o[i],c=t.getTypeAtLocation(s);if(t.getPromisedTypeOfPromise(c)){if(!e.isIdentifier(s)){a=!1;continue}(r||(r=[])).push(s)}}return r&&{identifiers:r,isCompleteFix:a}}}(n,o);if(!s)return;for(var c,l=s.isCompleteFix,d=function(n){var s=o.getSymbolAtLocation(n);if(!s)return"continue";var d=e.tryCast(s.valueDeclaration,e.isVariableDeclaration),p=d&&e.tryCast(d.name,e.isIdentifier),f=e.getAncestor(d,229);if(!d||!f||d.type||!d.initializer||f.getSourceFile()!==t||e.hasSyntacticModifier(f,1)||!p||!u(d.initializer))return l=!1,"continue";var m=a.getSemanticDiagnostics(t,r);if(e.FindAllReferences.Core.eachSymbolReferenceInFile(p,o,t,(function(r){return n!==r&&!function(n,t,r,a){var o=e.isPropertyAccessExpression(n.parent)?n.parent.name:e.isBinaryExpression(n.parent)?n.parent:n,s=e.find(t,(function(e){return e.start===o.getStart(r)&&e.start+e.length===o.getEnd()}));return s&&e.contains(i,s.code)||1&a.getTypeAtLocation(o).flags}(r,m,t,o)})))return l=!1,"continue";(c||(c=[])).push({expression:d.initializer,declarationSymbol:s})},p=0,f=s.identifiers;p<f.length;p++){var m=f[p];d(m)}return c&&{initializers:c,needsSecondPassForFixAll:!l}}(r,l,f,p,o);if(m){var _=s((function(n){e.forEach(m.initializers,(function(e){var t=e.expression;return d(n,a,l,o,t,c)})),c&&m.needsSecondPassForFixAll&&d(n,a,l,o,r,c)}));return n.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",_,1===m.initializers.length?[e.Diagnostics.Add_await_to_initializer_for_0,m.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function c(r,a,i,o,s,c){var l=s((function(e){return d(e,i,r.sourceFile,o,a,c)}));return n.createCodeFixAction(t,l,e.Diagnostics.Add_await,t,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function l(n,t,r,a,i){var o=e.getTokenAtPosition(n,r.start),s=e.findAncestor(o,(function(t){return t.getStart(n)<r.start||t.getEnd()>e.textSpanEnd(r)?"quit":e.isExpression(t)&&e.textSpansEqual(r,e.createTextSpanFromNode(t,n))}));return s&&function(n,t,r,a,i){var o=i.getDiagnosticsProducingTypeChecker().getDiagnostics(n,a);return e.some(o,(function(n){var a=n.start,i=n.length,o=n.relatedInformation,s=n.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},r)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}(n,t,r,a,i)&&u(s)?s:void 0}function u(n){return 32768&n.kind||!!e.findAncestor(n,(function(n){return n.parent&&e.isArrowFunction(n.parent)&&n.parent.body===n||e.isBlock(n)&&(248===n.parent.kind||205===n.parent.kind||206===n.parent.kind||164===n.parent.kind)}))}function d(n,t,i,o,s,c){if(e.isBinaryExpression(s))for(var l=0,u=[s.left,s.right];l<u.length;l++){var d=u[l];if(c&&e.isIdentifier(d))if((_=o.getSymbolAtLocation(d))&&c.has(e.getSymbolId(_)))continue;var f=o.getTypeAtLocation(d),m=o.getPromisedTypeOfPromise(f)?e.factory.createAwaitExpression(d):d;n.replaceNode(i,d,m)}else if(t===r&&e.isPropertyAccessExpression(s.parent)){if(c&&e.isIdentifier(s.parent.expression))if((_=o.getSymbolAtLocation(s.parent.expression))&&c.has(e.getSymbolId(_)))return;n.replaceNode(i,s.parent.expression,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s.parent.expression))),p(n,s.parent.expression,i)}else if(e.contains(a,t)&&e.isCallOrNewExpression(s.parent)){if(c&&e.isIdentifier(s))if((_=o.getSymbolAtLocation(s))&&c.has(e.getSymbolId(_)))return;n.replaceNode(i,s,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s))),p(n,s,i)}else{var _;if(c&&e.isVariableDeclaration(s.parent)&&e.isIdentifier(s.parent.name))if((_=o.getSymbolAtLocation(s.parent.name))&&!e.tryAddToSet(c,e.getSymbolId(_)))return;n.replaceNode(i,s,e.factory.createAwaitExpression(s))}}function p(n,t,r){var a=e.findPrecedingToken(t.pos,r);a&&e.positionIsASICandidate(a.end,a.parent,r)&&n.insertText(r,t.getStart(r),";")}n.registerCodeFix({fixIds:[t],errorCodes:i,getCodeActions:function(n){var t=n.sourceFile,r=n.errorCode,a=l(t,r,n.span,n.cancellationToken,n.program);if(a){var i=n.program.getTypeChecker(),o=function(t){return e.textChanges.ChangeTracker.with(n,t)};return e.compact([s(n,a,r,i,o),c(n,a,r,i,o)])}},getAllCodeActions:function(t){var r=t.sourceFile,a=t.program,o=t.cancellationToken,u=t.program.getTypeChecker(),d=new e.Set;return n.codeFixAll(t,i,(function(e,n){var i=l(r,n.code,n,o,a);if(i){var p=function(n){return n(e),[]};return s(t,i,n.code,u,p,d)||c(t,i,n.code,u,p,d)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingConst",r=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];function a(n,t,r,a,o){var s=e.getTokenAtPosition(t,r),c=e.findAncestor(s,(function(n){return e.isForInOrOfStatement(n.parent)?n.parent.initializer===n:!function(e){switch(e.kind){case 78:case 196:case 197:case 285:case 286:return!0;default:return!1}}(n)&&"quit"}));if(c)return i(n,c,t,o);var l=s.parent;if(e.isBinaryExpression(l)&&62===l.operatorToken.kind&&e.isExpressionStatement(l.parent))return i(n,s,t,o);if(e.isArrayLiteralExpression(l)){var u=a.getTypeChecker();if(!e.every(l.elements,(function(n){return function(n,t){var r=e.isIdentifier(n)?n:e.isAssignmentExpression(n,!0)&&e.isIdentifier(n.left)?n.left:void 0;return!!r&&!t.getSymbolAtLocation(r)}(n,u)})))return;return i(n,l,t,o)}var d=e.findAncestor(s,(function(n){return!!e.isExpressionStatement(n.parent)||!function(e){switch(e.kind){case 78:case 213:case 27:return!0;default:return!1}}(n)&&"quit"}));if(d){if(!function n(t,r){if(!e.isBinaryExpression(t))return!1;if(27===t.operatorToken.kind)return e.every([t.left,t.right],(function(e){return n(e,r)}));return 62===t.operatorToken.kind&&e.isIdentifier(t.left)&&!r.getSymbolAtLocation(t.left)}(d,a.getTypeChecker()))return;return i(n,d,t,o)}}function i(n,t,r,a){a&&!e.tryAddToSet(a,t)||n.insertModifierBefore(r,84,t)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.program)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Add_const_to_unresolved_variable,t,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,t.program,i)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingDeclareProperty",r=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(e.isIdentifier(i)){var o=i.parent;162!==o.kind||a&&!e.tryAddToSet(a,o)||n.insertModifierBefore(t,133,o)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Prefix_with_declare,t,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,i)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingInvocationForDecorator",r=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isDecorator);e.Debug.assert(!!i,"Expected position to be owned by a decorator.");var o=e.factory.createCallExpression(i.expression,void 0,void 0);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Call_decorator_expression,t,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addNameToNamelessParameter",r=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r);if(!e.isIdentifier(a))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(a.kind));var i=a.parent;if(!e.isParameter(i))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(a.kind));var o=i.parent.parameters.indexOf(i);e.Debug.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(o>-1,"Parameter not found in parent parameter list.");var s=e.factory.createParameterDeclaration(void 0,i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,e.factory.createTypeReferenceNode(a,void 0),i.initializer);n.replaceNode(t,a,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_parameter_name,t,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="annotateWithTypeFromJSDoc",r=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.tryCast(e.isParameter(r.parent)?r.parent.parent:r.parent,i)}function i(n){return function(n){return e.isFunctionLikeDeclaration(n)||246===n.kind||161===n.kind||162===n.kind}(n)&&o(n)}function o(n){return e.isFunctionLikeDeclaration(n)?n.parameters.some(o)||!n.type&&!!e.getJSDocReturnType(n):!n.type&&!!e.getJSDocType(n)}function s(n,t,r){if(e.isFunctionLikeDeclaration(r)&&(e.getJSDocReturnType(r)||r.parameters.some((function(n){return!!e.getJSDocType(n)})))){if(!r.typeParameters){var a=e.getJSDocTypeParameterDeclarations(r);a.length&&n.insertTypeParameters(t,r,a)}var i=e.isArrowFunction(r)&&!e.findChildOfKind(r,20,t);i&&n.insertNodeBefore(t,e.first(r.parameters),e.factory.createToken(20));for(var o=0,s=r.parameters;o<s.length;o++){var l=s[o];if(!l.type){var u=e.getJSDocType(l);u&&n.tryInsertTypeAnnotation(t,l,c(u))}}if(i&&n.insertNodeAfter(t,e.last(r.parameters),e.factory.createToken(21)),!r.type){var d=e.getJSDocReturnType(r);d&&n.tryInsertTypeAnnotation(t,r,c(d))}}else{var p=e.Debug.checkDefined(e.getJSDocType(r),"A JSDocType for this declaration should exist");e.Debug.assert(!r.type,"The JSDocType decl should have a type"),n.tryInsertTypeAnnotation(t,r,c(p))}}function c(n){switch(n.kind){case 299:case 300:return e.factory.createTypeReferenceNode("any",e.emptyArray);case 303:return function(n){return e.factory.createUnionTypeNode([e.visitNode(n.type,c),e.factory.createTypeReferenceNode("undefined",e.emptyArray)])}(n);case 302:return c(n.type);case 301:return function(n){return e.factory.createUnionTypeNode([e.visitNode(n.type,c),e.factory.createTypeReferenceNode("null",e.emptyArray)])}(n);case 305:return function(n){return e.factory.createArrayTypeNode(e.visitNode(n.type,c))}(n);case 304:return function(n){var t;return e.factory.createFunctionTypeNode(e.emptyArray,n.parameters.map(l),null!==(t=n.type)&&void 0!==t?t:e.factory.createKeywordTypeNode(128))}(n);case 172:return function(n){var t=n.typeName,r=n.typeArguments;if(e.isIdentifier(n.typeName)){if(e.isJSDocIndexSignature(n))return function(n){var t=e.factory.createParameterDeclaration(void 0,void 0,void 0,143===n.typeArguments[0].kind?"n":"s",void 0,e.factory.createTypeReferenceNode(143===n.typeArguments[0].kind?"number":"string",[]),void 0),r=e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[t],n.typeArguments[1])]);return e.setEmitFlags(r,1),r}(n);var a=n.typeName.text;switch(n.typeName.text){case"String":case"Boolean":case"Object":case"Number":a=a.toLowerCase();break;case"array":case"date":case"promise":a=a[0].toUpperCase()+a.slice(1)}t=e.factory.createIdentifier(a),r="Array"!==a&&"Promise"!==a||n.typeArguments?e.visitNodes(n.typeArguments,c):e.factory.createNodeArray([e.factory.createTypeReferenceNode("any",e.emptyArray)])}return e.factory.createTypeReferenceNode(t,r)}(n);default:var t=e.visitEachChild(n,c,e.nullTransformationContext);return e.setEmitFlags(t,1),t}}function l(n){var t=n.parent.parameters.indexOf(n),r=305===n.type.kind&&t===n.parent.parameters.length-1,a=n.name||(r?"rest":"arg"+t),i=r?e.factory.createToken(25):n.dotDotDotToken;return e.factory.createParameterDeclaration(n.decorators,n.modifiers,i,a,n.questionToken,e.visitNode(n.type,c),n.initializer)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=a(r.sourceFile,r.span.start);if(i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return s(e,r.sourceFile,i)}));return[n.createCodeFixAction(t,o,e.Diagnostics.Annotate_with_type_from_JSDoc,t,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&s(e,n.file,t)}))}}),n.parameterShouldGetTypeFromJSDoc=i}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="convertFunctionToEs6Class",r=[e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];function a(n,t,r,a){var s=a.getSymbolAtLocation(e.getTokenAtPosition(t,r));if(s&&19&s.flags){var c=s.valueDeclaration;if(e.isFunctionDeclaration(c))n.replaceNode(t,c,function(n){var t=d(s);n.body&&t.unshift(e.factory.createConstructorDeclaration(void 0,void 0,n.parameters,n.body));var r=i(n,92);return e.factory.createClassDeclaration(void 0,r,n.name,void 0,void 0,t)}(c));else if(e.isVariableDeclaration(c)){var l=function(n){var t=n.initializer;if(!t||!e.isFunctionExpression(t)||!e.isIdentifier(n.name))return;var r=d(n.symbol);t.body&&r.unshift(e.factory.createConstructorDeclaration(void 0,void 0,t.parameters,t.body));var a=i(n.parent.parent,92);return e.factory.createClassDeclaration(void 0,a,n.name,void 0,void 0,r)}(c);if(!l)return;var u=c.parent.parent;e.isVariableDeclarationList(c.parent)&&c.parent.declarations.length>1?(n.delete(t,c),n.insertNodeAfter(t,u,l)):n.replaceNode(t,u,l)}}function d(r){var a=[];return r.members&&r.members.forEach((function(e,r){if("constructor"!==r){var i=s(e,void 0);i&&a.push.apply(a,i)}else n.delete(t,e.valueDeclaration.parent)})),r.exports&&r.exports.forEach((function(n){if("prototype"===n.name){var t=n.declarations[0];if(1===n.declarations.length&&e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)&&62===t.parent.operatorToken.kind&&e.isObjectLiteralExpression(t.parent.right))(r=s(t.parent.right.symbol,void 0))&&a.push.apply(a,r)}else{var r;(r=s(n,[e.factory.createToken(123)]))&&a.push.apply(a,r)}})),a;function s(r,a){var s=[];if(!(8192&r.flags||4096&r.flags))return s;var c,l,u=r.valueDeclaration,d=u.parent,p=d.right;if(c=u,l=p,!(e.isPropertyAccessExpression(c)?o(c)||e.isFunctionLike(l):e.every(c.properties,(function(n){return!!(e.isMethodDeclaration(n)||e.isGetOrSetAccessorDeclaration(n)||e.isPropertyAssignment(n)&&e.isFunctionExpression(n.initializer)&&n.name||o(n))}))))return s;var f=d.parent&&230===d.parent.kind?d.parent:d;if(n.delete(t,f),!p)return s.push(e.factory.createPropertyDeclaration([],a,r.name,void 0,void 0,void 0)),s;if(e.isPropertyAccessExpression(u)&&(e.isFunctionExpression(p)||e.isArrowFunction(p)))return _(s,p,u.name);if(e.isObjectLiteralExpression(p))return e.flatMap(p.properties,(function(n){return e.isMethodDeclaration(n)||e.isGetOrSetAccessorDeclaration(n)?s.concat(n):e.isPropertyAssignment(n)&&e.isFunctionExpression(n.initializer)?_(s,n.initializer,n.name):o(n)?s:[]}));if(e.isSourceFileJS(t))return s;if(!e.isPropertyAccessExpression(u))return s;var m=e.factory.createPropertyDeclaration(void 0,a,u.name,void 0,void 0,p);return e.copyLeadingComments(d.parent,m,t),s.push(m),s;function _(n,r,o){return e.isFunctionExpression(r)?function(n,r,o){var s=e.concatenate(a,i(r,129)),c=e.factory.createMethodDeclaration(void 0,s,void 0,o,void 0,void 0,r.parameters,void 0,r.body);return e.copyLeadingComments(d,c,t),n.concat(c)}(n,r,o):function(n,r,o){var s,c=r.body;s=227===c.kind?c:e.factory.createBlock([e.factory.createReturnStatement(c)]);var l=e.concatenate(a,i(r,129)),u=e.factory.createMethodDeclaration(void 0,l,void 0,o,void 0,void 0,r.parameters,void 0,s);return e.copyLeadingComments(d,u,t),n.concat(u)}(n,r,o)}}}}function i(n,t){return e.filter(n.modifiers,(function(e){return e.kind===t}))}function o(n){return!!n.name&&!(!e.isIdentifier(n.name)||"constructor"!==n.name.text)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.program.getTypeChecker())}));return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_function_to_an_ES2015_class,t,e.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return a(n,t.file,t.start,e.program.getTypeChecker())}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t,r="convertToAsyncFunction",a=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],i=!0;function s(n,t,r,a,i){var o,s=e.getTokenAtPosition(t,r);if(o=e.isIdentifier(s)&&e.isVariableDeclaration(s.parent)&&s.parent.initializer&&e.isFunctionLikeDeclaration(s.parent.initializer)?s.parent.initializer:e.tryCast(e.getContainingFunction(e.getTokenAtPosition(t,r)),e.isFunctionLikeDeclaration)){var d,f,m=new e.Map,_=e.isInJSFile(o),y=function(n,t){if(!n.body)return new e.Set;var r=new e.Set;return e.forEachChild(n.body,(function n(a){c(a,t,"then")?(r.add(e.getNodeId(a)),e.forEach(a.arguments,n)):c(a,t,"catch")?(r.add(e.getNodeId(a)),e.forEachChild(a,n)):l(a,t)?r.add(e.getNodeId(a)):e.forEachChild(a,n)})),r}(o,a),h=function(n,t,r,a){var i=new e.Map,o=e.createMultiMap();return e.forEachChild(n,(function n(s){if(e.isIdentifier(s)){var c=t.getSymbolAtLocation(s),l=c&&function(e,n){return e.valueDeclaration&&e.valueDeclaration.getSourceFile()===n}(c,a);if(c&&l){var d=g(t.getTypeAtLocation(s),t),p=e.getSymbolId(c).toString();if(!d||e.isFunctionLikeDeclaration(s.parent)||r.has(p)){if(s.parent&&(e.isParameter(s.parent)||e.isVariableDeclaration(s.parent)||e.isBindingElement(s.parent))){var f=s.text,m=o.get(f);if(m&&m.some((function(e){return e!==c}))){var _=u(s,o);i.set(p,_.identifier),r.set(p,_),o.add(f,c)}else{var y=e.getSynthesizedDeepClone(s);r.set(p,E(y)),o.add(f,c)}}}else{var h=e.firstOrUndefined(d.parameters),v=h&&e.isParameter(h.valueDeclaration)&&e.tryCast(h.valueDeclaration.name,e.isIdentifier)||e.factory.createUniqueName("result",16),b=u(v,o);r.set(p,b),o.add(v.text,c)}}}else e.forEachChild(s,n)})),e.getSynthesizedDeepCloneWithRenames(n,!0,i,t)}(o,a,m,i.sourceFile),v=h.body&&e.isBlock(h.body)?(d=h.body,f=[],e.forEachReturnStatement(d,(function(n){e.isReturnStatementWithFixablePromiseHandler(n)&&f.push(n)})),f):e.emptyArray,b={checker:a,synthNamesMap:m,setOfExpressionsToReturn:y,isInJSFile:_};if(v.length){n.insertLastModifierBefore(t,129,o);for(var T=function(r){e.forEachChild(r,(function a(i){if(e.isCallExpression(i)){var o=p(i,b);n.replaceNodeWithNodes(t,r,o)}else e.isFunctionLike(i)||e.forEachChild(i,a)}))},S=0,L=v;S<L.length;S++){T(L[S])}}}}function c(n,t,r){if(!e.isCallExpression(n))return!1;var a=e.hasPropertyAccessExpressionWithName(n,r)&&t.getTypeAtLocation(n);return!(!a||!t.getPromisedTypeOfPromise(a))}function l(n,t){return!!e.isExpression(n)&&!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(n))}function u(n,t){var r=(t.get(n.text)||e.emptyArray).length;return E(0===r?n:e.factory.createIdentifier(n.text+"_"+r))}function d(){return i=!1,e.emptyArray}function p(n,t,r){if(c(n,t.checker,"then"))return 0===n.arguments.length?d():function(n,t,r){var a=n.arguments,i=a[0],o=a[1],s=h(i,t),c=_(i,r,s,n,t);if(o){var l=h(o,t),u=e.factory.createBlock(p(n.expression,t,s).concat(c)),d=_(o,r,l,n,t),f=l?T(l)?l.identifier.text:l.bindingPattern:"e",m=e.factory.createVariableDeclaration(f),g=e.factory.createCatchClause(m,e.factory.createBlock(d));return[e.factory.createTryStatement(u,g,void 0)]}return p(n.expression,t,s).concat(c)}(n,t,r);if(c(n,t.checker,"catch"))return 0===n.arguments.length?d():function(n,t,r){var a,i=n.arguments[0],o=h(i,t);r&&!S(n,t)&&(T(r)?(a=r,t.synthNamesMap.forEach((function(n,a){if(n.identifier.text===r.identifier.text){var i=function(n){return E(e.factory.createUniqueName(n.identifier.text,16))}(r);t.synthNamesMap.set(a,i)}}))):a=E(e.factory.createUniqueName("result",16),r.types),a.hasBeenDeclared=!0);var s,c,l=e.factory.createBlock(p(n.expression,t,a)),u=_(i,a,o,n,t),d=o?T(o)?o.identifier.text:o.bindingPattern:"e",f=e.factory.createVariableDeclaration(d),m=e.factory.createCatchClause(f,e.factory.createBlock(u));if(a&&!S(n,t)){c=e.getSynthesizedDeepClone(a.identifier);var g=a.types,y=t.checker.getUnionType(g,2),v=t.isInJSFile?void 0:t.checker.typeToTypeNode(y,void 0,void 0),b=[e.factory.createVariableDeclaration(c,void 0,v)];s=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList(b,1))}var L=e.factory.createTryStatement(l,m,void 0),x=r&&c&&(A=r,1===A.kind)&&e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepCloneWithRenames(r.bindingPattern),void 0,void 0,c)],2));var A;return e.compact([s,L,x])}(n,t,r);if(e.isPropertyAccessExpression(n))return p(n.expression,t,r);var a=t.checker.getTypeAtLocation(n);return a&&t.checker.getPromisedTypeOfPromise(a)?(e.Debug.assertNode(n.original.parent,e.isPropertyAccessExpression),function(n,t,r){if(S(n,t))return[e.factory.createReturnStatement(e.getSynthesizedDeepClone(n))];return f(r,e.factory.createAwaitExpression(n),void 0)}(n,t,r)):d()}function f(n,t,r){return!n||v(n)?[e.factory.createExpressionStatement(t)]:T(n)&&n.hasBeenDeclared?[e.factory.createExpressionStatement(e.factory.createAssignment(e.getSynthesizedDeepClone(n.identifier),t))]:[e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(b(n)),void 0,r,t)],2))]}function m(n,t){if(t&&n){var r=e.factory.createUniqueName("result",16);return o(f(E(r),n,t),[e.factory.createReturnStatement(r)])}return[e.factory.createReturnStatement(n)]}function _(n,t,r,a,i){var o,s,c,u;switch(n.kind){case 103:break;case 78:if(!r)break;var p=e.factory.createCallExpression(e.getSynthesizedDeepClone(n),void 0,T(r)?[r.identifier]:[]);if(S(a,i))return m(p,null===(o=a.typeArguments)||void 0===o?void 0:o[0]);var _=i.checker.getTypeAtLocation(n),h=i.checker.getSignaturesOfType(_,0);if(!h.length)return d();var v=h[0].getReturnType(),E=f(t,e.factory.createAwaitExpression(p),null===(s=a.typeArguments)||void 0===s?void 0:s[0]);return t&&t.types.push(v),E;case 205:case 206:var L=n.body;if(e.isBlock(L)){for(var x=[],A=!1,D=0,C=L.statements;D<C.length;D++){var I=C[D];e.isReturnStatement(I)?(A=!0,e.isReturnStatementWithFixablePromiseHandler(I)?x=x.concat(y(i,[I],t)):x.push.apply(x,m(I.expression,null===(c=a.typeArguments)||void 0===c?void 0:c[0]))):x.push(I)}return S(a,i)?x.map((function(n){return e.getSynthesizedDeepClone(n)})):function(n,t,r,a){for(var i=[],o=0,s=n;o<s.length;o++){var c=s[o];if(e.isReturnStatement(c)){if(c.expression){var u=l(c.expression,r.checker)?e.factory.createAwaitExpression(c.expression):c.expression;void 0===t?i.push(e.factory.createExpressionStatement(u)):i.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(b(t),void 0,void 0,u)],2)))}}else i.push(e.getSynthesizedDeepClone(c))}a||void 0===t||i.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(b(t),void 0,void 0,e.factory.createIdentifier("undefined"))],2)));return i}(x,t,i,A)}var N=y(i,e.isFixablePromiseHandler(L)?[e.factory.createReturnStatement(L)]:e.emptyArray,t);if(N.length>0)return N;var R=g(i.checker.getTypeAtLocation(n),i.checker).getReturnType(),k=e.getSynthesizedDeepClone(L),O=i.checker.getPromisedTypeOfPromise(R)?e.factory.createAwaitExpression(k):k;if(S(a,i))return m(O,null===(u=a.typeArguments)||void 0===u?void 0:u[0]);var P=f(t,O,void 0);return t&&t.types.push(R),P;default:return d()}return e.emptyArray}function g(n,t){var r=t.getSignaturesOfType(n,0);return e.lastOrUndefined(r)}function y(n,t,r){for(var a=[],i=0,o=t;i<o.length;i++){var s=o[i];e.forEachChild(s,(function t(i){if(e.isCallExpression(i)){var o=p(i,n,r);if((a=a.concat(o)).length>0)return}else e.isFunctionLike(i)||e.forEachChild(i,t)}))}return a}function h(n,t){var r,a=[];e.isFunctionLikeDeclaration(n)?n.parameters.length>0&&(r=function n(t){if(e.isIdentifier(t))return i(t);var r=e.flatMap(t.elements,(function(t){return e.isOmittedExpression(t)?[]:[n(t.name)]}));return function(n,t,r){void 0===t&&(t=e.emptyArray);void 0===r&&(r=[]);return{kind:1,bindingPattern:n,elements:t,types:r}}(t,r)}(n.parameters[0].name)):e.isIdentifier(n)&&(r=i(n));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function i(n){var r,i=function(e){return e.symbol?e.symbol:t.checker.getSymbolAtLocation(e)}((r=n).original?r.original:r);return i&&t.synthNamesMap.get(e.getSymbolId(i).toString())||E(n,a)}}function v(n){return!n||(T(n)?!n.identifier.text:e.every(n.elements,v))}function b(e){return T(e)?e.identifier:e.bindingPattern}function E(e,n){return void 0===n&&(n=[]),{kind:0,identifier:e,types:n,hasBeenDeclared:!1}}function T(e){return 0===e.kind}function S(n,t){return!!n.original&&t.setOfExpressionsToReturn.has(e.getNodeId(n.original))}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){i=!0;var a=e.textChanges.ChangeTracker.with(t,(function(e){return s(e,t.sourceFile,t.span.start,t.program.getTypeChecker(),t)}));return i?[n.createCodeFixAction(r,a,e.Diagnostics.Convert_to_async_function,r,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return s(n,t.file,t.start,e.program.getTypeChecker(),e)}))}}),function(e){e[e.Identifier=0]="Identifier",e[e.BindingPattern=1]="BindingPattern"}(t||(t={}))}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n,t,r,a){for(var i=0,o=n.imports;i<o.length;i++){var s=o[i],c=e.getResolvedModule(n,s.text);if(c&&c.resolvedFileName===t.fileName){var l=e.importFromModuleSpecifier(s);switch(l.kind){case 257:r.replaceNode(n,l,e.makeImport(l.name,void 0,s,a));break;case 200:e.isRequireCall(l,!1)&&r.replaceNode(n,l,e.factory.createPropertyAccessExpression(e.getSynthesizedDeepClone(l),"default"))}}}}function r(n,t){n.forEachChild((function r(a){if(e.isPropertyAccessExpression(a)&&e.isExportsOrModuleExportsOrAlias(n,a.expression)&&e.isIdentifier(a.name)){var i=a.parent;t(a,e.isBinaryExpression(i)&&i.left===a&&62===i.operatorToken.kind)}a.forEachChild(r)}))}function a(t,r,a,c,m,_,g,y){switch(r.kind){case 229:return function(t,r,a,i,o,c,l){var f=r.declarationList,m=!1,_=e.flatMap(f.declarations,(function(r){var _=r.name,g=r.initializer;if(g){if(e.isExportsOrModuleExportsOrAlias(t,g))return m=!0,[];if(e.isRequireCall(g,!0))return m=!0,function(t,r,a,i,o,c,l,u){switch(r.kind){case 193:var f=e.mapAllOrFail(r.elements,(function(n){return n.dotDotDotToken||n.initializer||n.propertyName&&!e.isIdentifier(n.propertyName)||!e.isIdentifier(n.name)?void 0:d(n.propertyName&&n.propertyName.text,n.name.text)}));if(f)return[e.makeImport(void 0,f,a,u)];case 194:var m=s(n.moduleSpecifierToValidIdentifier(a.text,l),c);return[e.makeImport(e.factory.createIdentifier(m),void 0,a,u),p(void 0,e.getSynthesizedDeepClone(r),e.factory.createIdentifier(m))];case 78:return function(n,t,r,a,i,o,c){for(var l=i.getSymbolAtLocation(t),u=new e.Map,d=!1,p=0,f=o.original.get(t.text);p<f.length;p++){var m=f[p];if(i.getSymbolAtLocation(m)===l&&m!==t){var _=m.parent;if(e.isPropertyAccessExpression(_)){var g=_.expression,y=_.name.text;e.Debug.assert(g===m,"Didn't expect expression === use");var h=u.get(y);void 0===h&&(h=s(y,o),u.set(y,h)),a.replaceNode(n,_,e.factory.createIdentifier(h))}else d=!0}}var v=0===u.size?void 0:e.arrayFrom(e.mapIterator(u.entries(),(function(n){var t=n[0],r=n[1];return e.factory.createImportSpecifier(t===r?void 0:e.factory.createIdentifier(t),e.factory.createIdentifier(r))})));v||(d=!0);return[e.makeImport(d?e.getSynthesizedDeepClone(t):void 0,v,r,c)]}(t,r,a,i,o,c,u);default:return e.Debug.assertNever(r,"Convert to ES6 module got invalid name kind "+r.kind)}}(t,_,g.arguments[0],a,i,o,c,l);if(e.isPropertyAccessExpression(g)&&e.isRequireCall(g.expression,!0))return m=!0,function(n,t,r,a,i){switch(n.kind){case 193:case 194:var o=s(t,a);return[u(o,t,r,i),p(void 0,n,e.factory.createIdentifier(o))];case 78:return[u(n.text,t,r,i)];default:return e.Debug.assertNever(n,"Convert to ES6 module got invalid syntax form "+n.kind)}}(_,g.name.text,g.expression.arguments[0],o,l)}return e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([r],f.flags))}));m&&a.replaceNodeWithNodes(t,r,_)}(t,r,c,a,m,_,y),!1;case 230:var h=r.expression;switch(h.kind){case 200:return e.isRequireCall(h,!0)&&c.replaceNode(t,r,e.makeImport(void 0,void 0,h.arguments[0],y)),!1;case 213:return 62===h.operatorToken.kind&&function(n,t,r,a,s){var c=r.left,u=r.right;if(!e.isPropertyAccessExpression(c))return!1;if(e.isExportsOrModuleExportsOrAlias(n,c)){if(!e.isExportsOrModuleExportsOrAlias(n,u)){var d=e.isObjectLiteralExpression(u)?(m=u,(_=e.mapAllOrFail(m.properties,(function(n){switch(n.kind){case 166:case 167:case 286:case 287:return;case 285:return e.isIdentifier(n.name)?function(n,t){var r=[e.factory.createToken(92)];switch(t.kind){case 205:var a=t.name;if(a&&a.text!==n)return i();case 206:return l(n,r,t);case 218:return function(n,t,r){return e.factory.createClassDeclaration(e.getSynthesizedDeepClones(r.decorators),e.concatenate(t,e.getSynthesizedDeepClones(r.modifiers)),n,e.getSynthesizedDeepClones(r.typeParameters),e.getSynthesizedDeepClones(r.heritageClauses),e.getSynthesizedDeepClones(r.members))}(n,r,t);default:return i()}function i(){return p(r,e.factory.createIdentifier(n),t)}}(n.name.text,n.initializer):void 0;case 164:return e.isIdentifier(n.name)?l(n.name.text,[e.factory.createToken(92)],n):void 0;default:e.Debug.assertNever(n,"Convert to ES6 got invalid prop kind "+n.kind)}})))&&[_,!1]):e.isRequireCall(u,!0)?function(n,t){var r=n.text,a=t.getSymbolAtLocation(n),s=a?a.exports:e.emptyMap;return s.has("export=")?[[o(r)],!0]:s.has("default")?s.size>1?[[i(r),o(r)],!0]:[[o(r)],!0]:[[i(r)],!1]}(u.arguments[0],t):void 0;return d?(a.replaceNodeWithNodes(n,r.parent,d[0]),d[1]):(a.replaceRangeWithText(n,e.createRange(c.getStart(n),u.pos),"export default"),!0)}a.delete(n,r.parent)}else e.isExportsOrModuleExportsOrAlias(n,c.expression)&&function(n,t,r,a){var i=t.left.name.text,o=a.get(i);if(void 0!==o){var s=[p(void 0,o,t.right),f([e.factory.createExportSpecifier(o,i)])];r.replaceNodeWithNodes(n,t.parent,s)}else!function(n,t,r){var a=n.left,i=n.right,o=n.parent,s=a.name.text;if(!(e.isFunctionExpression(i)||e.isArrowFunction(i)||e.isClassExpression(i))||i.name&&i.name.text!==s)r.replaceNodeRangeWithNodes(t,a.expression,e.findChildOfKind(a,24,t),[e.factory.createToken(92),e.factory.createToken(84)],{joiner:" ",suffix:" "});else{r.replaceRange(t,{pos:a.getStart(t),end:i.getStart(t)},e.factory.createToken(92),{suffix:" "}),i.name||r.insertName(t,i,s);var c=e.findChildOfKind(o,26,t);c&&r.delete(t,c)}}(t,n,r)}(n,r,a,s);var m,_;return!1}(t,a,h,c,g)}default:return!1}}function i(e){return f(void 0,e)}function o(n){return f([e.factory.createExportSpecifier(void 0,"default")],n)}function s(e,n){for(;n.original.has(e)||n.additional.has(e);)e="_"+e;return n.additional.add(e),e}function c(n){var t=e.createMultiMap();return function n(t,r){e.isIdentifier(t)&&function(e){var n=e.parent;switch(n.kind){case 198:return n.name!==e;case 195:case 262:return n.propertyName!==e;default:return!0}}(t)&&r(t);t.forEachChild((function(e){return n(e,r)}))}(n,(function(e){return t.add(e.text,e)})),t}function l(n,t,r){return e.factory.createFunctionDeclaration(e.getSynthesizedDeepClones(r.decorators),e.concatenate(t,e.getSynthesizedDeepClones(r.modifiers)),e.getSynthesizedDeepClone(r.asteriskToken),n,e.getSynthesizedDeepClones(r.typeParameters),e.getSynthesizedDeepClones(r.parameters),e.getSynthesizedDeepClone(r.type),e.factory.converters.convertToFunctionBlock(e.getSynthesizedDeepClone(r.body)))}function u(n,t,r,a){return"default"===t?e.makeImport(e.factory.createIdentifier(n),void 0,r,a):e.makeImport(void 0,[d(t,n)],r,a)}function d(n,t){return e.factory.createImportSpecifier(void 0!==n&&n!==t?e.factory.createIdentifier(n):void 0,e.factory.createIdentifier(t))}function p(n,t,r){return e.factory.createVariableStatement(n,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(t,void 0,void 0,r)],2))}function f(n,t){return e.factory.createExportDeclaration(void 0,void 0,!1,n&&e.factory.createNamedExports(n),void 0===t?void 0:e.factory.createStringLiteral(t))}n.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(i){var o=i.sourceFile,l=i.program,u=i.preferences,d=e.textChanges.ChangeTracker.with(i,(function(n){if(function(n,t,i,o,l){var u={original:c(n),additional:new e.Set},d=function(n,t,a){var i=new e.Map;return r(n,(function(n){var r=n.name,o=r.text,c=r.originalKeywordKind;!i.has(o)&&(void 0!==c&&e.isNonContextualKeyword(c)||t.resolveName(o,n,111551,!0))&&i.set(o,s("_"+o,a))})),i}(n,t,u);!function(n,t,a){r(n,(function(r,i){if(!i){var o=r.name.text;a.replaceNode(n,r,e.factory.createIdentifier(t.get(o)||o))}}))}(n,d,i);for(var p=!1,f=0,m=n.statements;f<m.length;f++){var _=m[f],g=a(n,_,t,i,u,o,d,l);p=p||g}return p}(o,l.getTypeChecker(),n,l.getCompilerOptions().target,e.getQuotePreference(o,u)))for(var i=0,d=l.getSourceFiles();i<d.length;i++){var p=d[i];t(p,o,n,e.getQuotePreference(p,u))}}));return[n.createCodeFixActionWithoutFixAll("convertToEs6Module",d,e.Diagnostics.Convert_to_ES6_module)]}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="correctQualifiedNameToIndexedAccessType",r=[e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];function a(n,t){var r=e.findAncestor(e.getTokenAtPosition(n,t),e.isQualifiedName);return e.Debug.assert(!!r,"Expected position to be owned by a qualified name."),e.isIdentifier(r.left)?r:void 0}function i(n,t,r){var a=r.right.text,i=e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(r.left,void 0),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(a)));n.replaceNode(t,r,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=a(r.sourceFile,r.span.start);if(o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,r.sourceFile,o)})),c=o.left.text+'["'+o.right.text+'"]';return[n.createCodeFixAction(t,s,[e.Diagnostics.Rewrite_as_the_indexed_access_type_0,c],t,e.Diagnostics.Rewrite_all_as_indexed_access_types)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code],r="convertToTypeOnlyExport";function a(n,t){return e.tryCast(e.getTokenAtPosition(t,n.start).parent,e.isExportSpecifier)}function i(n,r,a){if(r){var i=r.parent,o=i.parent,s=function(n,r){var a=n.parent;if(1===a.elements.length)return a.elements;var i=e.getDiagnosticsWithinSpan(e.createTextSpanFromNode(a),r.program.getSemanticDiagnostics(r.sourceFile,r.cancellationToken));return e.filter(a.elements,(function(r){var a;return r===n||(null===(a=e.findDiagnosticForNode(r,i))||void 0===a?void 0:a.code)===t[0]}))}(r,a);if(s.length===i.elements.length)n.replaceNode(a.sourceFile,o,e.factory.updateExportDeclaration(o,o.decorators,o.modifiers,!0,i,o.moduleSpecifier));else{var c=e.factory.updateExportDeclaration(o,o.decorators,o.modifiers,!1,e.factory.updateNamedExports(i,e.filter(i.elements,(function(n){return!e.contains(s,n)}))),o.moduleSpecifier),l=e.factory.createExportDeclaration(void 0,void 0,!0,e.factory.createNamedExports(s),o.moduleSpecifier);n.replaceNode(a.sourceFile,o,c),n.insertNodeAfter(a.sourceFile,o,l)}}}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){return i(e,a(t.span,t.sourceFile),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Convert_to_type_only_export,r,e.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[r],getAllCodeActions:function(r){var o=new e.Map;return n.codeFixAll(r,t,(function(n,t){var s=a(t,r.sourceFile);s&&!e.addToSeen(o,e.getNodeId(s.parent.parent))&&i(n,s,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error.code],r="convertToTypeOnlyImport";function a(n,t){return e.tryCast(e.getTokenAtPosition(t,n.start).parent,e.isImportDeclaration)}function i(n,t,r){if(null==t?void 0:t.importClause){var a=t.importClause;n.insertText(r.sourceFile,t.getStart()+"import".length," type"),a.name&&a.namedBindings&&(n.deleteNodeRangeExcludingEnd(r.sourceFile,a.name,t.importClause.namedBindings),n.insertNodeBefore(r.sourceFile,t,e.factory.updateImportDeclaration(t,void 0,void 0,e.factory.createImportClause(!0,a.name,void 0),t.moduleSpecifier)))}}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){i(e,a(t.span,t.sourceFile),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Convert_to_type_only_import,r,e.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){i(n,a(t,e.sourceFile),e)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Class_0_incorrectly_implements_interface_1.code,e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],r="fixClassIncorrectlyImplementsInterface";function a(n,t){return e.Debug.checkDefined(e.getContainingClass(e.getTokenAtPosition(n,t)),"There should be a containing class")}function i(n){return!(n.valueDeclaration&&8&e.getEffectiveModifierFlags(n.valueDeclaration))}function o(t,r,a,o,s,c){var l=t.program.getTypeChecker(),u=function(n,t){var r=e.getEffectiveBaseTypeNode(n);if(!r)return e.createSymbolTable();var a=t.getTypeAtLocation(r),o=t.getPropertiesOfType(a);return e.createSymbolTable(o.filter(i))}(o,l),d=l.getTypeAtLocation(r),p=l.getPropertiesOfType(d).filter(e.and(i,(function(e){return!u.has(e.escapedName)}))),f=l.getTypeAtLocation(o),m=e.find(o.members,(function(n){return e.isConstructorDeclaration(n)}));f.getNumberIndexType()||g(d,1),f.getStringIndexType()||g(d,0);var _=n.createImportAdder(a,t.program,c,t.host);function g(e,r){var i=l.getIndexInfoOfType(e,r);i&&y(a,o,l.indexInfoToIndexSignatureDeclaration(i,r,o,void 0,n.getNoopSymbolTrackerWithResolver(t)))}function y(e,n,t){m?s.insertNodeAfter(e,m,t):s.insertNodeAtClassStart(e,n,t)}n.createMissingMemberNodes(o,p,a,t,c,_,(function(e){return y(a,o,e)})),_.writeFixes(s)}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=t.sourceFile,s=t.span,c=a(i,s.start);return e.mapDefined(e.getEffectiveImplementsTypeNodes(c),(function(a){var s=e.textChanges.ChangeTracker.with(t,(function(e){return o(t,a,i,c,e,t.preferences)}));return 0===s.length?void 0:n.createCodeFixAction(r,s,[e.Diagnostics.Implement_interface_0,a.getText(i)],r,e.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[r],getAllCodeActions:function(r){var i=new e.Map;return n.codeFixAll(r,t,(function(n,t){var s=a(t.file,t.start);if(e.addToSeen(i,e.getNodeId(s)))for(var c=0,l=e.getEffectiveImplementsTypeNodes(s);c<l.length;c++){var u=l[c];o(r,u,t.file,s,n,r.preferences)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){n.importFixName="import";var t,r,a=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Cannot_find_namespace_0.code,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code];function i(n,t,r,a,i){var o=t.getCompilerOptions(),s=[],d=[],p=new e.Map,m=new e.Map;return{addImportFromDiagnostic:function(e,n){var t=_(n,e.code,e.start,r);if(!t||!t.fixes.length)return;g(t)},addImportFromExportedSymbol:function(s,u){var d=e.Debug.checkDefined(s.parent),p=e.getNameForExportedSymbol(s,e.getEmitScriptTarget(o)),m=t.getTypeChecker(),_=m.getMergedSymbol(e.skipAlias(s,m)),y=l(n,_,d,p,i,t,r),h=!!u&&2===o.importsNotUsedAsValues,v=f(n,o);g({fixes:[c(n,y,d,p,t,void 0,h,v,i,a)],symbolName:p})},writeFixes:function(t){for(var r,i=e.getQuotePreference(n,a),o=0,c=s;o<c.length;o++){var l=c[o];E(t,n,l)}for(var f=0,_=d;f<_.length;f++){l=_[f];T(t,n,l,i)}p.forEach((function(e){var r=e.importClauseOrBindingPattern,a=e.defaultImport,i=e.namedImports,o=e.canUseTypeOnlyImport;b(t,n,r,a,i,o)})),m.forEach((function(n,t){var a=n.useRequire,o=u(n,["useRequire"]),s=a?x:L;r=e.combine(r,s(t,i,o))})),r&&e.insertImports(t,n,r,!0)}};function g(n){var t=n.fixes,r=n.symbolName,a=e.first(t);switch(a.kind){case 0:s.push(a);break;case 1:d.push(a);break;case 2:var i=a.importClauseOrBindingPattern,o=a.importKind,c=a.canUseTypeOnlyImport,l=String(e.getNodeId(i));(u=p.get(l))||p.set(l,u={importClauseOrBindingPattern:i,defaultImport:void 0,namedImports:[],canUseTypeOnlyImport:c}),0===o?e.pushIfUnique(u.namedImports,r):(e.Debug.assert(void 0===u.defaultImport||u.defaultImport===r,"(Add to Existing) Default import should be missing or match symbolName"),u.defaultImport=r);break;case 3:var u,f=a.moduleSpecifier,_=(o=a.importKind,a.useRequire),g=a.typeOnly;switch((u=m.get(f))?u.typeOnly=u.typeOnly&&g:m.set(f,u={namedImports:[],namespaceLikeImport:void 0,typeOnly:g,useRequire:_}),o){case 1:e.Debug.assert(void 0===u.defaultImport||u.defaultImport===r,"(Add new) Default import should be missing or match symbolName"),u.defaultImport=r;break;case 0:e.pushIfUnique(u.namedImports||(u.namedImports=[]),r);break;case 3:case 2:e.Debug.assert(void 0===u.namespaceLikeImport||u.namespaceLikeImport.name===r,"Namespacelike import shoudl be missing or match symbolName"),u.namespaceLikeImport={importKind:o,name:r}}break;default:e.Debug.assertNever(a,"fix wasn't never - got kind "+a.kind)}}}function c(n,t,r,a,i,o,s,c,l,u){return e.Debug.assert(t.some((function(e){return e.moduleSymbol===r})),"Some exportInfo should match the specified moduleSymbol"),e.first(p(t,a,o,s,c,i,n,l,u))}function l(n,t,r,a,i,o,s){var c=[],l=o.getCompilerOptions();return C(o,i,n,!1,s,(function(i,o,s){var u=s.getTypeChecker();if(!o||i===r||!e.startsWith(n.fileName,e.getDirectoryPath(o.fileName))){var p=y(n,i,u,l);p&&p.name===a&&e.skipAlias(p.symbol,u)===t&&c.push({moduleSymbol:i,importKind:p.kind,exportedSymbolIsTypeOnly:d(p.symbol,u)});for(var f=0,m=u.getExportsAndPropertiesOfModule(i);f<m.length;f++){var _=m[f];_.name===a&&e.skipAlias(_,u)===t&&c.push({moduleSymbol:i,importKind:0,exportedSymbolIsTypeOnly:d(_,u)})}}})),c}function d(n,t){return!(111551&e.skipAlias(n,t).flags)}function p(n,t,r,a,i,s,c,l,u){var d=s.getTypeChecker(),p=e.flatMap(n,(function(n){return function(n,t,r){var a=n.moduleSymbol,i=n.importKind;return n.exportedSymbolIsTypeOnly&&e.isSourceFileJS(r)?e.emptyArray:e.mapDefined(r.imports,(function(n){var r=e.importFromModuleSpecifier(n);return e.isRequireVariableDeclaration(r.parent,!0)?t.resolveExternalModuleName(n)===a?{declaration:r.parent,importKind:i}:void 0:(258===r.kind||257===r.kind)&&t.getSymbolAtLocation(n)===a?{declaration:r,importKind:i}:void 0}))}(n,d,c)})),f=void 0===r?void 0:function(n,t,r,a){return e.firstDefined(n,(function(n){var i=n.declaration,o=function(n){var t,r,a;switch(n.kind){case 246:return null===(t=e.tryCast(n.name,e.isIdentifier))||void 0===t?void 0:t.text;case 257:return n.name.text;case 258:return null===(a=e.tryCast(null===(r=n.importClause)||void 0===r?void 0:r.namedBindings,e.isNamespaceImport))||void 0===a?void 0:a.name.text;default:return e.Debug.assertNever(n)}}(i);if(o){var s=function(n,t){var r;switch(n.kind){case 246:return t.resolveExternalModuleName(n.initializer.arguments[0]);case 257:return t.getAliasedSymbol(n.symbol);case 258:var a=e.tryCast(null===(r=n.importClause)||void 0===r?void 0:r.namedBindings,e.isNamespaceImport);return a&&t.getAliasedSymbol(a.symbol);default:return e.Debug.assertNever(n)}}(i,a);if(s&&s.exports.has(e.escapeLeadingUnderscores(t)))return{kind:0,namespacePrefix:o,position:r}}}))}(p,t,r,d),_=function(n,t){return e.firstDefined(n,(function(e){var n=e.declaration,r=e.importKind;if(257!==n.kind){if(246===n.kind)return 0!==r&&1!==r||193!==n.name.kind?void 0:{kind:2,importClauseOrBindingPattern:n.name,importKind:r,moduleSpecifier:n.initializer.arguments[0].text,canUseTypeOnlyImport:!1};var a=n.importClause;if(a){var i=a.name,o=a.namedBindings;return 1===r&&!i||0===r&&(!o||261===o.kind)?{kind:2,importClauseOrBindingPattern:a,importKind:r,moduleSpecifier:n.moduleSpecifier.getText(),canUseTypeOnlyImport:t}:void 0}}}))}(p,void 0!==r&&function(n,t){return e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(n,t))}(c,r)),g=_?[_]:function(n,t,r,a,i,o,s,c,l){var u=e.firstDefined(t,(function(n){return function(n,t,r){var a=n.declaration,i=n.importKind,o=258===a.kind?a.moduleSpecifier:246===a.kind?a.initializer.arguments[0]:269===a.moduleReference.kind?a.moduleReference.expression:void 0;return o&&e.isStringLiteral(o)?{kind:3,moduleSpecifier:o.text,importKind:i,typeOnly:t,useRequire:r}:void 0}(n,o,s)}));return u?[u]:m(r,a,i,o,s,n,c,l)}(n,p,s,c,r,a,i,l,u);return o(f?[f]:e.emptyArray,g)}function f(n,t){return e.isSourceFileJS(n)&&!n.externalModuleIndicator&&(!!n.commonJsModuleIndicator||e.getEmitModuleKind(t)<e.ModuleKind.ES2015)}function m(n,t,r,a,i,o,s,c){var l=e.isSourceFileJS(t),u=n.getCompilerOptions(),d=k(t,n,s).allowsImportingSpecifier,p=e.flatMap(o,(function(o){var d=o.moduleSymbol,p=o.importKind,f=o.exportedSymbolIsTypeOnly;return e.moduleSpecifiers.getModuleSpecifiers(d,u,t,e.createModuleSpecifierResolutionHost(n,s),c).map((function(n){return f&&l?{kind:1,moduleSpecifier:n,position:e.Debug.checkDefined(r,"position should be defined")}:{kind:3,moduleSpecifier:n,importKind:p,useRequire:i,typeOnly:a}}))}));return e.sort(p,(function(e,n){var t=d(e.moduleSpecifier),r=d(n.moduleSpecifier);return t&&!r?-1:r&&!t?1:e.moduleSpecifier.length-n.moduleSpecifier.length}))}function _(n,t,r,a){var i=e.getTokenAtPosition(n.sourceFile,r),o=t===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?function(n,t){var r=n.sourceFile,a=n.program,i=n.host,o=n.preferences,s=a.getTypeChecker(),c=function(n,t){var r=e.isIdentifier(n)?t.getSymbolAtLocation(n):void 0;if(e.isUMDExportSymbol(r))return r;var a=n.parent;return e.isJsxOpeningLikeElement(a)&&a.tagName===n||e.isJsxOpeningFragment(a)?e.tryCast(t.resolveName(t.getJsxNamespace(a),e.isJsxOpeningLikeElement(a)?n:a,111551,!1),e.isUMDExportSymbol):void 0}(t,s);if(!c)return;var l=s.getAliasedSymbol(c),u=c.name,d=[{moduleSymbol:l,importKind:g(r,a.getCompilerOptions()),exportedSymbolIsTypeOnly:!1}],m=f(r,a.getCompilerOptions());return{fixes:p(d,u,e.isIdentifier(t)?t.getStart(r):void 0,!1,m,a,r,i,o),symbolName:u}}(n,i):e.isIdentifier(i)?function(n,t,r){var a=n.sourceFile,i=n.program,o=n.cancellationToken,s=n.host,c=n.preferences,l=i.getTypeChecker(),u=function(n,t,r){var a=r.parent;if((e.isJsxOpeningLikeElement(a)||e.isJsxClosingElement(a))&&a.tagName===r){var i=t.getJsxNamespace(n);if(e.isIntrinsicJsxName(r.text)||!t.resolveName(i,a,111551,!0))return i}return r.text}(a,l,t);e.Debug.assert("default"!==u,"'default' isn't a legal identifier and couldn't occur here");var m=i.getCompilerOptions(),_=2===m.importsNotUsedAsValues&&e.isValidTypeOnlyAliasUseSite(t),g=f(a,m),h=function(n,t,r,a,i,o,s,c){var l=e.createMultiMap();function u(n,t,r){l.add(e.getUniqueSymbolId(t,i).toString(),{moduleSymbol:n,importKind:r,exportedSymbolIsTypeOnly:d(t,i)})}return C(o,c,a,!0,s,(function(e){r.throwIfCancellationRequested();var s=y(a,e,i,o.getCompilerOptions());s&&s.name===n&&D(s.symbolForMeaning,t)&&u(e,s.symbol,s.kind);var c=i.tryGetMemberInModuleExportsAndProperties(n,e);c&&D(c,t)&&u(e,c,0)})),l}(u,e.getMeaningFromLocation(t),o,a,l,i,r,s);return{fixes:e.arrayFrom(e.flatMapIterator(h.entries(),(function(e){e[0];return p(e[1],u,t.getStart(a),_,g,i,a,s,c)}))),symbolName:u}}(n,i,a):void 0;return o&&s(s({},o),{fixes:e.sort(o.fixes,(function(e,n){return e.kind-n.kind}))})}function g(n,t){if(e.getAllowSyntheticDefaultImports(t))return 1;var r=e.getEmitModuleKind(t);switch(r){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(n)&&e.isExternalModule(n)?2:3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;default:return e.Debug.assertNever(r,"Unexpected moduleKind "+r)}}function y(n,t,r,a){var i=function(e,n,t,r){var a=t.tryGetMemberInModuleExports("default",n);if(a)return{symbol:a,kind:1};var i=t.resolveExternalModuleSymbol(n);return i===n?void 0:{symbol:i,kind:h(e,r)}}(n,t,r,a);if(i){var o=i.symbol,c=i.kind,l=function n(t,r,a,i){var o=e.getLocalSymbolForExportDefault(t);if(o)return{symbolForMeaning:o,name:o.name};var s=function(n){return n.declarations&&e.firstDefined(n.declarations,(function(n){if(e.isExportAssignment(n)){if(e.isIdentifier(n.expression))return n.expression.text}else if(e.isExportSpecifier(n))return e.Debug.assert("default"===n.name.text,"Expected the specifier to be a default export"),n.propertyName&&n.propertyName.text}))}(t);if(void 0!==s)return{symbolForMeaning:t,name:s};if(2097152&t.flags){var c=a.getImmediateAliasedSymbol(t);return c&&n(c,e.Debug.checkDefined(c.parent,"Alias targets of default exports must have a parent"),a,i)}if("default"!==t.escapedName&&"export="!==t.escapedName)return{symbolForMeaning:t,name:t.getName()};return{symbolForMeaning:t,name:N(r,i.target)}}(o,t,r,a);return l&&s({symbol:o,kind:c},l)}}function h(n,t){var r=e.getAllowSyntheticDefaultImports(t);if(e.getEmitModuleKind(t)>=e.ModuleKind.ES2015)return r?1:2;if(e.isInJSFile(n))return e.isExternalModule(n)?1:3;for(var a=0,i=n.statements;a<i.length;a++){var o=i[a];if(e.isImportEqualsDeclaration(o))return 3}return r?1:3}function v(t,r,a,i,o){var s,c=e.textChanges.ChangeTracker.with(t,(function(n){s=function(n,t,r,a,i){switch(a.kind){case 0:return E(n,t,a),[e.Diagnostics.Change_0_to_1,r,a.namespacePrefix+"."+r];case 1:return T(n,t,a,i),[e.Diagnostics.Change_0_to_1,r,S(a.moduleSpecifier,i)+r];case 2:var o=a.importClauseOrBindingPattern,s=a.importKind,c=a.canUseTypeOnlyImport,l=a.moduleSpecifier;b(n,t,o,1===s?r:void 0,0===s?[r]:e.emptyArray,c);var u=e.stripQuotes(l);return[1===s?e.Diagnostics.Add_default_import_0_to_existing_import_declaration_from_1:e.Diagnostics.Add_0_to_existing_import_declaration_from_1,r,u];case 3:s=a.importKind,l=a.moduleSpecifier;var d=a.typeOnly,p=a.useRequire?x:L,f=1===s?{defaultImport:r,typeOnly:d}:0===s?{namedImports:[r],typeOnly:d}:{namespaceLikeImport:{importKind:s,name:r},typeOnly:d};return e.insertImports(n,t,p(l,i,f),!0),[1===s?e.Diagnostics.Import_default_0_from_module_1:e.Diagnostics.Import_0_from_module_1,r,l];default:return e.Debug.assertNever(a,"Unexpected fix kind "+a.kind)}}(n,r,a,i,o)}));return n.createCodeFixAction(n.importFixName,c,s,"fixMissingImport",e.Diagnostics.Add_all_missing_imports)}function b(n,t,r,a,i,o){if(193!==r.kind){var s=!o&&r.isTypeOnly;if(a&&(e.Debug.assert(!r.name,"Cannot add a default import to an import clause that already has one"),n.insertNodeAt(t,r.getStart(t),e.factory.createIdentifier(a),{suffix:", "})),i.length){var c=r.namedBindings&&e.cast(r.namedBindings,e.isNamedImports).elements,l=e.stableSort(i.map((function(n){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(n))})),e.OrganizeImports.compareImportOrExportSpecifiers);if((null==c?void 0:c.length)&&e.OrganizeImports.importSpecifiersAreSorted(c))for(var u=0,d=l;u<d.length;u++){var p=d[u],f=e.OrganizeImports.getImportSpecifierInsertionIndex(c,p),m=r.namedBindings.elements[f-1];m?n.insertNodeInListAfter(t,m,p):n.insertNodeBefore(t,c[0],p,!e.positionsAreOnSameLine(c[0].getStart(),r.parent.getStart(),t))}else if(null==c?void 0:c.length)for(var _=0,g=l;_<g.length;_++){p=g[_];n.insertNodeInListAfter(t,e.last(c),p,c)}else if(l.length){var y=e.factory.createNamedImports(l);r.namedBindings?n.replaceNode(t,r.namedBindings,y):n.insertNodeAfter(t,e.Debug.checkDefined(r.name,"Import clause must have either named imports or a default import"),y)}}s&&n.delete(t,e.getTypeKeywordOfTypeOnlyImport(r,t))}else{a&&b(r,a,"default");for(var h=0,v=i;h<v.length;h++){b(r,v[h],void 0)}}function b(r,a,i){var o=e.factory.createBindingElement(void 0,i,a);r.elements.length?n.insertNodeInListAfter(t,e.last(r.elements),o):n.replaceNode(t,r,e.factory.createObjectBindingPattern([o]))}}function E(e,n,t){var r=t.namespacePrefix,a=t.position;e.insertText(n,a,r+".")}function T(e,n,t,r){var a=t.moduleSpecifier,i=t.position;e.insertText(n,i,S(a,r))}function S(n,t){var r=e.getQuoteFromPreference(t);return"import("+r+n+r+")."}function L(n,t,r){var a,i,o,s=e.makeStringLiteral(n,t);(void 0!==r.defaultImport||(null===(a=r.namedImports)||void 0===a?void 0:a.length))&&(o=e.combine(o,e.makeImport(void 0===r.defaultImport?void 0:e.factory.createIdentifier(r.defaultImport),null===(i=r.namedImports)||void 0===i?void 0:i.map((function(n){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(n))})),n,t,r.typeOnly)));var c=r.namespaceLikeImport,l=r.typeOnly;if(c){var u=3===c.importKind?e.factory.createImportEqualsDeclaration(void 0,void 0,e.factory.createIdentifier(c.name),e.factory.createExternalModuleReference(s)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(l,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(c.name))),s);o=e.combine(o,u)}return e.Debug.checkDefined(o)}function x(n,t,r){var a,i,o,s=e.makeStringLiteral(n,t);if(r.defaultImport||(null===(a=r.namedImports)||void 0===a?void 0:a.length)){var c=(null===(i=r.namedImports)||void 0===i?void 0:i.map((function(n){return e.factory.createBindingElement(void 0,void 0,n)})))||[];r.defaultImport&&c.unshift(e.factory.createBindingElement(void 0,"default",r.defaultImport));var l=A(e.factory.createObjectBindingPattern(c),s);o=e.combine(o,l)}if(r.namespaceLikeImport){l=A(r.namespaceLikeImport.name,s);o=e.combine(o,l)}return e.Debug.checkDefined(o)}function A(n,t){return e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration("string"==typeof n?e.factory.createIdentifier(n):n,void 0,void 0,e.factory.createCallExpression(e.factory.createIdentifier("require"),void 0,[t]))],2))}function D(n,t){var r=n.declarations;return e.some(r,(function(n){return!!(e.getMeaningFromDeclaration(n)&t)}))}function C(n,t,r,a,i,o){var s,c;I(n,t,r,a,(function(e,t){return o(e,t,n,!1)}));var l=i&&(null===(s=t.getPackageJsonAutoImportProvider)||void 0===s?void 0:s.call(t));if(l){var u=e.timestamp();I(l,t,r,a,(function(e,n){return o(e,n,l,!0)})),null===(c=t.log)||void 0===c||c.call(t,"forEachExternalModuleToImportFrom autoImportProvider: "+(e.timestamp()-u))}}function I(n,t,r,a,i){var o,s=0,c=e.createModuleSpecifierResolutionHost(n,t),l=a&&k(r,n,t,c);!function(n,t,r){for(var a=0,i=n.getAmbientModules();a<i.length;a++){var o=i[a];r(o,void 0)}for(var s=0,c=t;s<c.length;s++){var l=c[s];e.isExternalOrCommonJsModule(l)&&r(n.getMergedSymbol(l.symbol),l)}}(n.getTypeChecker(),n.getSourceFiles(),(function(t,a){void 0===a?!l||l.allowsImportingAmbientModule(t)?i(t,a):l&&s++:a&&a!==r&&function(n,t,r,a){var i,o=e.hostGetCanonicalFileName(a),s=null===(i=a.getGlobalTypingsCacheLocation)||void 0===i?void 0:i.call(a);return!!e.moduleSpecifiers.forEachFileNameOfModule(t.fileName,r.fileName,a,!1,(function(a){var i=n.getSourceFile(a);return(i===r||!i)&&function(n,t,r,a){var i=e.forEachAncestorDirectory(t,(function(n){return"node_modules"===e.getBaseFileName(n)?n:void 0})),o=i&&e.getDirectoryPath(r(i));return void 0===o||e.startsWith(r(n),o)||!!a&&e.startsWith(r(a),o)}(t.fileName,a,o,s)}))}(n,r,a,c)&&(!l||l.allowsImportingSourceFile(a)?i(t,a):l&&s++)})),null===(o=t.log)||void 0===o||o.call(t,"forEachExternalModuleToImportFrom: filtered out "+s+" modules by package.json contents")}function N(n,t){return R(e.removeFileExtension(e.stripQuotes(n.name)),t)}function R(n,t){var r=e.getBaseFileName(e.removeSuffix(n,"/index")),a="",i=!0,o=r.charCodeAt(0);e.isIdentifierStart(o,t)?a+=String.fromCharCode(o):i=!1;for(var s=1;s<r.length;s++){var c=r.charCodeAt(s),l=e.isIdentifierPart(c,t);if(l){var u=String.fromCharCode(c);i||(u=u.toUpperCase()),a+=u}i=l}return e.isStringANonContextualKeyword(a)?"_"+a:a||"_"}function k(n,t,r,a){void 0===a&&(a=e.createModuleSpecifierResolutionHost(t,r));var i,o=(r.getPackageJsonsVisibleToFile&&r.getPackageJsonsVisibleToFile(n.fileName)||e.getPackageJsonsVisibleToFile(n.fileName,r)).filter((function(e){return e.parseable}));return{allowsImportingAmbientModule:function(n){if(!o.length)return!0;var t=l(n.valueDeclaration.getSourceFile().fileName);if(void 0===t)return!0;var r=e.stripQuotes(n.getName());if(c(r))return!0;return s(t)||s(r)},allowsImportingSourceFile:function(e){if(!o.length)return!0;var n=l(e.fileName);if(!n)return!0;return s(n)},allowsImportingSpecifier:function(n){if(!o.length||c(n))return!0;if(e.pathIsRelative(n)||e.isRootedDiskPath(n))return!0;return s(n)},moduleSpecifierResolutionHost:a};function s(n){for(var t=u(n),r=0,a=o;r<a.length;r++){var i=a[r];if(i.has(t)||i.has(e.getTypesPackageName(t)))return!0}return!1}function c(t){return!!(e.isSourceFileJS(n)&&e.JsTyping.nodeCoreModules.has(t)&&(void 0===i&&(i=e.consumesNodeCoreModules(n)),i))}function l(t){if(e.stringContains(t,"node_modules")){var i=e.moduleSpecifiers.getNodeModulesPackageName(r.getCompilationSettings(),n.path,t,a);if(i)return e.pathIsRelative(i)||e.isRootedDiskPath(i)?void 0:u(i)}}function u(n){var t=e.getPathComponents(e.getPackageNameFromTypesPackageName(n)).slice(1);return e.startsWith(t[0],"@")?t[0]+"/"+t[1]:t[0]}}n.registerCodeFix({errorCodes:a,getCodeActions:function(n){var t=n.errorCode,r=n.preferences,a=n.sourceFile,i=n.span,o=_(n,t,i.start,!0);if(o){var s=o.fixes,c=o.symbolName,l=e.getQuotePreference(a,r);return s.map((function(e){return v(n,a,c,e,l)}))}},fixIds:["fixMissingImport"],getAllCodeActions:function(t){var r=i(t.sourceFile,t.program,!0,t.preferences,t.host);return n.eachDiagnostic(t,a,(function(e){return r.addImportFromDiagnostic(e,t)})),n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(t,r.writeFixes))}}),n.createImportAdder=function(e,n,t,r){return i(e,n,!1,t,r)},function(e){e[e.UseNamespace=0]="UseNamespace",e[e.ImportType=1]="ImportType",e[e.AddToExisting=2]="AddToExisting",e[e.AddNew=3]="AddNew"}(t||(t={})),function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS"}(r||(r={})),n.getImportCompletionAction=function(n,t,r,a,i,o,s,u,d){var p,_,g,y,h=o.getCompilerOptions(),b=l(r,n,t,a,i,o,!0),E=f(r,h),T=2===h.importsNotUsedAsValues&&!e.isSourceFileJS(r)&&e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(r,u)),S=e.first(m(o,r,u,T,E,b,i,d)).moduleSpecifier,L=c(r,b,t,a,o,u,T,E,i,d);return{moduleSpecifier:S,codeAction:(p=v({host:i,formatContext:s,preferences:d},r,a,L,e.getQuotePreference(r,d)),_=p.description,g=p.changes,y=p.commands,{description:_,changes:g,commands:y})}},n.forEachExternalModuleToImportFrom=C,n.moduleSymbolToValidIdentifier=N,n.moduleSpecifierToValidIdentifier=R}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixImplicitThis",r=[e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);e.Debug.assert(107===i.kind);var o=e.getThisContainer(i,!1);if((e.isFunctionDeclaration(o)||e.isFunctionExpression(o))&&!e.isSourceFile(e.getThisContainer(o,!1))){var s=e.Debug.assertDefined(e.findChildOfKind(o,97,t)),c=o.name,l=e.Debug.assertDefined(o.body);if(e.isFunctionExpression(o)){if(c&&e.FindAllReferences.Core.isSymbolReferencedInFile(c,a,t,l))return;return n.delete(t,s),c&&n.delete(t,c),n.insertText(t,l.pos," =>"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,c?c.text:e.ANONYMOUS]}return n.replaceNode(t,s,e.factory.createToken(84)),n.insertText(t,c.end," = "),n.insertText(t,l.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,c.text]}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i,o=r.sourceFile,s=r.program,c=r.span,l=e.textChanges.ChangeTracker.with(r,(function(e){i=a(e,o,c.start,s.getTypeChecker())}));return i?[n.createCodeFixAction(t,l,i,t,e.Diagnostics.Fix_all_implicit_this_errors)]:e.emptyArray},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){a(n,t.file,t.start,e.program.getTypeChecker())}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixIncorrectNamedTupleSyntax",r=[e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=function(n,t){var r=e.getTokenAtPosition(n,t);return e.findAncestor(r,(function(e){return 191===e.kind}))}(a,i.start),s=e.textChanges.ChangeTracker.with(r,(function(n){return function(n,t,r){if(!r)return;var a=r.type,i=!1,o=!1;for(;179===a.kind||180===a.kind||185===a.kind;)179===a.kind?i=!0:180===a.kind&&(o=!0),a=a.type;var s=e.factory.updateNamedTupleMember(r,r.dotDotDotToken||(o?e.factory.createToken(25):void 0),r.name,r.questionToken||(i?e.factory.createToken(57):void 0),a);if(s===r)return;n.replaceNode(t,r,s)}(n,a,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,t,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[t]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2.code,e.Diagnostics.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];function r(n,t,r,a){var i=e.getTokenAtPosition(n,t),o=i.parent;if(a!==e.Diagnostics.No_overload_matches_this_call.code&&a!==e.Diagnostics.Type_0_is_not_assignable_to_type_1.code||e.isJsxAttribute(o)){var s,c=r.program.getTypeChecker();if(e.isPropertyAccessExpression(o)&&o.name===i){e.Debug.assert(e.isIdentifierOrPrivateIdentifier(i),"Expected an identifier for spelling (property access)");var l=c.getTypeAtLocation(o.expression);32&o.flags&&(l=c.getNonNullableType(l)),s=c.getSuggestedSymbolForNonexistentProperty(i,l)}else if(e.isImportSpecifier(o)&&o.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for spelling (import)");var u=function(n,t,r){if(!r||!e.isStringLiteralLike(r.moduleSpecifier))return;var a=e.getResolvedModule(n,r.moduleSpecifier.text);return a?t.program.getSourceFile(a.resolvedFileName):void 0}(n,r,e.findAncestor(i,e.isImportDeclaration));u&&u.symbol&&(s=c.getSuggestedSymbolForNonexistentModule(i,u.symbol))}else if(e.isJsxAttribute(o)&&o.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for JSX attribute");var d=e.findAncestor(i,e.isJsxOpeningLikeElement),p=c.getContextualTypeForArgumentAtIndex(d,0);s=c.getSuggestedSymbolForNonexistentJSXAttribute(i,p)}else{var f=e.getMeaningFromLocation(i),m=e.getTextOfNode(i);e.Debug.assert(void 0!==m,"name should be defined"),s=c.getSuggestedSymbolForNonexistentSymbol(i,m,function(e){var n=0;4&e&&(n|=1920);2&e&&(n|=788968);1&e&&(n|=111551);return n}(f))}return void 0===s?void 0:{node:i,suggestedSymbol:s}}}function a(n,t,r,a,i){var o=e.symbolName(a);if(!e.isIdentifierText(o,i)&&e.isPropertyAccessExpression(r.parent)){var s=a.valueDeclaration;e.isNamedDeclaration(s)&&e.isPrivateIdentifier(s.name)?n.replaceNode(t,r,e.factory.createIdentifier(o)):n.replaceNode(t,r.parent,e.factory.createElementAccessExpression(r.parent.expression,e.factory.createStringLiteral(o)))}else n.replaceNode(t,r,e.factory.createIdentifier(o))}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=t.sourceFile,o=t.errorCode,s=r(i,t.span.start,t,o);if(s){var c=s.node,l=s.suggestedSymbol,u=t.host.getCompilationSettings().target,d=e.textChanges.ChangeTracker.with(t,(function(e){return a(e,i,c,l,u)}));return[n.createCodeFixAction("spelling",d,[e.Diagnostics.Change_spelling_to_0,e.symbolName(l)],"fixSpelling",e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:["fixSpelling"],getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){var i=r(t.file,t.start,e,t.code),o=e.host.getCompilationSettings().target;i&&a(n,e.sourceFile,i.node,i.suggestedSymbol,o)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t,r="returnValueCorrect",a=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];function i(n,t,r){var a=n.createSymbol(4,t.escapedText);a.type=n.getTypeAtLocation(r);var i=e.createSymbolTable([a]);return n.createAnonymousType(void 0,i,[],[],void 0,void 0)}function o(n,r,a,o){if(r.body&&e.isBlock(r.body)&&1===e.length(r.body.statements)){var c=e.first(r.body.statements);if(e.isExpressionStatement(c)&&s(n,r,n.getTypeAtLocation(c.expression),a,o))return{declaration:r,kind:t.MissingReturnStatement,expression:c.expression,statement:c,commentSource:c.expression};if(e.isLabeledStatement(c)&&e.isExpressionStatement(c.statement)){var l=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(c.label,c.statement.expression)]);if(s(n,r,i(n,c.label,c.statement.expression),a,o))return e.isArrowFunction(r)?{declaration:r,kind:t.MissingParentheses,expression:l,statement:c,commentSource:c.statement.expression}:{declaration:r,kind:t.MissingReturnStatement,expression:l,statement:c,commentSource:c.statement.expression}}else if(e.isBlock(c)&&1===e.length(c.statements)){var u=e.first(c.statements);if(e.isLabeledStatement(u)&&e.isExpressionStatement(u.statement)){l=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(u.label,u.statement.expression)]);if(s(n,r,i(n,u.label,u.statement.expression),a,o))return{declaration:r,kind:t.MissingReturnStatement,expression:l,statement:c,commentSource:u}}}}}function s(n,t,r,a,i){if(i){var o=n.getSignatureFromDeclaration(t);if(o){e.hasSyntacticModifier(t,256)&&(r=n.createPromiseType(r));var s=n.createSignature(t,o.typeParameters,o.thisParameter,o.parameters,r,void 0,o.minArgumentCount,o.flags);r=n.createAnonymousType(void 0,e.createSymbolTable(),[s],[],void 0,void 0)}else r=n.getAnyType()}return n.isTypeAssignableTo(r,a)}function c(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(i.parent){var s=e.findAncestor(i.parent,e.isFunctionLikeDeclaration);switch(a){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!(s&&s.body&&s.type&&e.rangeContainsRange(s.type,i)))return;return o(n,s,n.getTypeFromTypeNode(s.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!s||!e.isCallExpression(s.parent)||!s.body)return;var c=s.parent.arguments.indexOf(s),l=n.getContextualTypeForArgumentAtIndex(s.parent,c);if(!l)return;return o(n,s,l,!0);case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(i)||!e.isVariableLike(i.parent)&&!e.isJsxAttribute(i.parent))return;var u=function(n){switch(n.kind){case 246:case 159:case 195:case 162:case 285:return n.initializer;case 277:return n.initializer&&(e.isJsxExpression(n.initializer)?n.initializer.expression:void 0);case 286:case 161:case 288:case 328:case 322:return}}(i.parent);if(!u||!e.isFunctionLikeDeclaration(u)||!u.body)return;return o(n,u,n.getTypeAtLocation(i.parent),!0)}}}function l(n,t,r,a){e.suppressLeadingAndTrailingTrivia(r);var i=e.probablyUsesSemicolons(t);n.replaceNode(t,a,e.factory.createReturnStatement(r),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function u(n,t,r,a,i,o){var s=o||e.needsParentheses(a)?e.factory.createParenthesizedExpression(a):a;e.suppressLeadingAndTrailingTrivia(i),e.copyComments(i,s),n.replaceNode(t,r.body,s)}function d(n,t,r,a){n.replaceNode(t,r.body,e.factory.createParenthesizedExpression(a))}function p(t,a,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return l(e,t.sourceFile,a,i)}));return n.createCodeFixAction(r,o,e.Diagnostics.Add_a_return_statement,"fixAddReturnStatement",e.Diagnostics.Add_all_missing_return_statement)}function f(t,a,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return d(e,t.sourceFile,a,i)}));return n.createCodeFixAction(r,o,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,"fixWrapTheBlockWithParen",e.Diagnostics.Wrap_all_object_literal_with_parentheses)}!function(e){e[e.MissingReturnStatement=0]="MissingReturnStatement",e[e.MissingParentheses=1]="MissingParentheses"}(t||(t={})),n.registerCodeFix({errorCodes:a,fixIds:["fixAddReturnStatement","fixRemoveBracesFromArrowFunctionBody","fixWrapTheBlockWithParen"],getCodeActions:function(a){var i=a.program,o=a.sourceFile,s=a.span.start,l=a.errorCode,d=c(i.getTypeChecker(),o,s,l);if(d)return d.kind===t.MissingReturnStatement?e.append([p(a,d.expression,d.statement)],e.isArrowFunction(d.declaration)?function(t,a,i,o){var s=e.textChanges.ChangeTracker.with(t,(function(e){return u(e,t.sourceFile,a,i,o,!1)}));return n.createCodeFixAction(r,s,e.Diagnostics.Remove_braces_from_arrow_function_body,"fixRemoveBracesFromArrowFunctionBody",e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(a,d.declaration,d.expression,d.commentSource):void 0):[f(a,d.declaration,d.expression)]},getAllCodeActions:function(t){return n.codeFixAll(t,a,(function(n,r){var a=c(t.program.getTypeChecker(),r.file,r.start,r.code);if(a)switch(t.fixId){case"fixAddReturnStatement":l(n,r.file,a.expression,a.statement);break;case"fixRemoveBracesFromArrowFunctionBody":if(!e.isArrowFunction(a.declaration))return;u(n,r.file,a.declaration,a.expression,a.commentSource,!1);break;case"fixWrapTheBlockWithParen":if(!e.isArrowFunction(a.declaration))return;d(n,r.file,a.declaration,a.expression);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t,r="addMissingMember",a=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code],i="addMissingMember";function o(n,t,r,a){var i=e.getTokenAtPosition(n,t);if(e.isIdentifier(i)||e.isPrivateIdentifier(i)){var o=i.parent;if(e.isPropertyAccessExpression(o)){var s=e.skipConstraint(r.getTypeAtLocation(o.expression)),c=s.symbol;if(c&&c.declarations){var l=e.find(c.declarations,e.isClassLike);if(l||!e.isPrivateIdentifier(i)){var u=l||e.find(c.declarations,e.isInterfaceDeclaration);if(u&&!a.isSourceFileFromExternalLibrary(u.getSourceFile())){var d=(s.target||s)!==r.getDeclaredTypeOfSymbol(c);if(d&&(e.isPrivateIdentifier(i)||e.isInterfaceDeclaration(u)))return;var p=u.getSourceFile(),f=(d?32:0)|(e.startsWithUnderscore(i.text)?8:0),m=e.isSourceFileJS(p);return{kind:1,token:i,call:e.tryCast(o.parent,e.isCallExpression),modifierFlags:f,parentDeclaration:u,declSourceFile:p,isJSFile:m}}var _=e.find(c.declarations,e.isEnumDeclaration);return!_||e.isPrivateIdentifier(i)||a.isSourceFileFromExternalLibrary(_.getSourceFile())?void 0:{kind:0,token:i,parentDeclaration:_}}}}}}function s(n,t,r,a,i){var o=a.text;if(i){if(218===r.kind)return;var s=r.name.getText(),l=c(e.factory.createIdentifier(s),o);n.insertNodeAfter(t,r,l)}else if(e.isPrivateIdentifier(a)){var u=e.factory.createPropertyDeclaration(void 0,void 0,o,void 0,void 0,void 0),p=d(r);p?n.insertNodeAfter(t,p,u):n.insertNodeAtClassStart(t,r,u)}else{var f=e.getFirstConstructorWithBody(r);if(!f)return;var m=c(e.factory.createThis(),o);n.insertNodeAtConstructorEnd(t,f,m)}}function c(n,t){return e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createPropertyAccessExpression(n,t),e.factory.createIdentifier("undefined")))}function l(n,t,r){var a;if(213===r.parent.parent.kind){var i=r.parent.parent,o=r.parent===i.left?i.right:i.left,s=n.getWidenedType(n.getBaseTypeOfLiteralType(n.getTypeAtLocation(o)));a=n.typeToTypeNode(s,t,void 0)}else{var c=n.getContextualType(r.parent);a=c?n.typeToTypeNode(c,void 0,void 0):void 0}return a||e.factory.createKeywordTypeNode(128)}function u(n,t,r,a,i,o){var s=e.factory.createPropertyDeclaration(void 0,o?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(o)):void 0,a,void 0,i,void 0),c=d(r);c?n.insertNodeAfter(t,c,s):n.insertNodeAtClassStart(t,r,s)}function d(n){for(var t,r=0,a=n.members;r<a.length;r++){var i=a[r];if(!e.isPropertyDeclaration(i))break;t=i}return t}function p(t,r,a,i,o,s,c,l){var u=n.createImportAdder(c,t.program,t.preferences,t.host),d=n.createMethodFromCallExpression(t,u,a,i,o,s,l),p=e.findAncestor(a,(function(n){return e.isMethodDeclaration(n)||e.isConstructorDeclaration(n)}));p&&p.parent===s?r.insertNodeAfter(c,p,d):r.insertNodeAtClassStart(c,s,d),u.writeFixes(r)}function f(n,t,r,a){var i=e.some(a.members,(function(e){var n=t.getTypeAtLocation(e);return!!(n&&132&n.flags)})),o=e.factory.createEnumMember(r,i?e.factory.createStringLiteral(r.text):void 0);n.replaceNode(a.getSourceFile(),a,e.factory.updateEnumDeclaration(a,a.decorators,a.modifiers,a.name,e.concatenate(a.members,e.singleElementArray(o))),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude})}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){var a=o(t.sourceFile,t.span.start,t.program.getTypeChecker(),t.program);if(a){if(0===a.kind){var c=a.token,d=a.parentDeclaration,m=e.textChanges.ChangeTracker.with(t,(function(e){return f(e,t.program.getTypeChecker(),c,d)}));return[n.createCodeFixAction(r,m,[e.Diagnostics.Add_missing_enum_member_0,c.text],i,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(function(t,a){var o=a.parentDeclaration,s=a.declSourceFile,c=a.modifierFlags,l=a.token,u=a.call,d=a.isJSFile;if(void 0===u)return;if(e.isPrivateIdentifier(l))return;var f=l.text,m=function(n){return e.textChanges.ChangeTracker.with(t,(function(e){return p(t,e,u,f,n,o,s,d)}))},_=[n.createCodeFixAction(r,m(32&c),[32&c?e.Diagnostics.Declare_static_method_0:e.Diagnostics.Declare_method_0,f],i,e.Diagnostics.Add_all_missing_members)];8&c&&_.unshift(n.createCodeFixActionWithoutFixAll(r,m(8),[e.Diagnostics.Declare_private_method_0,f]));return _}(t,a),function(t,a){return a.isJSFile?e.singleElementArray(function(t,a){var o=a.parentDeclaration,c=a.declSourceFile,l=a.modifierFlags,u=a.token;if(e.isInterfaceDeclaration(o))return;var d=e.textChanges.ChangeTracker.with(t,(function(e){return s(e,c,o,u,!!(32&l))}));if(0===d.length)return;var p=32&l?e.Diagnostics.Initialize_static_property_0:e.isPrivateIdentifier(u)?e.Diagnostics.Declare_a_private_field_named_0:e.Diagnostics.Initialize_property_0_in_the_constructor;return n.createCodeFixAction(r,d,[p,u.text],i,e.Diagnostics.Add_all_missing_members)}(t,a)):function(t,a){var o=a.parentDeclaration,s=a.declSourceFile,c=a.modifierFlags,d=a.token,p=d.text,f=32&c,m=l(t.program.getTypeChecker(),o,d),_=function(n){return e.textChanges.ChangeTracker.with(t,(function(e){return u(e,s,o,p,m,n)}))},g=[n.createCodeFixAction(r,_(32&c),[f?e.Diagnostics.Declare_static_property_0:e.Diagnostics.Declare_property_0,p],i,e.Diagnostics.Add_all_missing_members)];if(f||e.isPrivateIdentifier(d))return g;8&c&&g.unshift(n.createCodeFixActionWithoutFixAll(r,_(8),[e.Diagnostics.Declare_private_property_0,p]));return g.push(function(t,a,i,o,s){var c=e.factory.createKeywordTypeNode(146),l=e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,c,void 0),u=e.factory.createIndexSignature(void 0,void 0,[l],s),d=e.textChanges.ChangeTracker.with(t,(function(e){return e.insertNodeAtClassStart(a,i,u)}));return n.createCodeFixActionWithoutFixAll(r,d,[e.Diagnostics.Add_index_signature_for_property_0,o])}(t,s,o,d.text,m)),g}(t,a)}(t,a))}},fixIds:[i],getAllCodeActions:function(t){var r=t.program,i=r.getTypeChecker(),c=new e.Map,d=new e.Map;return n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(t,(function(m){n.eachDiagnostic(t,a,(function(n){var r=o(n.file,n.start,i,t.program);if(r&&e.addToSeen(c,e.getNodeId(r.parentDeclaration)+"#"+r.token.text))if(0===r.kind){var a=r.token,s=r.parentDeclaration;f(m,i,a,s)}else{s=r.parentDeclaration;var l=r.token,u=e.getOrUpdate(d,s,(function(){return[]}));u.some((function(e){return e.token.text===l.text}))||u.push(r)}})),d.forEach((function(a,o){for(var c=n.getAllSupers(o,i),f=function(n){if(c.some((function(e){var t=d.get(e);return!!t&&t.some((function(e){return e.token.text===n.token.text}))})))return"continue";var a=n.parentDeclaration,i=n.declSourceFile,o=n.modifierFlags,f=n.token,_=n.call,g=n.isJSFile;if(_&&!e.isPrivateIdentifier(f))p(t,m,_,f.text,32&o,a,i,g);else if(g&&!e.isInterfaceDeclaration(a))s(m,i,a,f,!!(32&o));else{var y=l(r.getTypeChecker(),a,f);u(m,i,a,f.text,y,32&o)}},_=0,g=a;_<g.length;_++){f(g[_])}}))})))}}),function(e){e[e.Enum=0]="Enum",e[e.ClassOrInterface=1]="ClassOrInterface"}(t||(t={}))}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingNewOperator",r=[e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];function a(n,t,r){var a=e.cast(function(n,t){var r=e.getTokenAtPosition(n,t.start),a=e.textSpanEnd(t);for(;r.end<a;)r=r.parent;return r}(t,r),e.isCallExpression),i=e.factory.createNewExpression(a.expression,a.typeArguments,a.arguments);n.replaceNode(t,a,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.sourceFile,o=r.span,s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Add_missing_new_operator_to_call,t,e.Diagnostics.Add_missing_new_operator_to_all_calls)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return a(n,e.sourceFile,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code,r=[t,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code];function a(e,n){return{type:"install package",file:e,packageName:n}}function i(n,t){var r=e.cast(e.getTokenAtPosition(n,t),e.isStringLiteral).text,a=e.parsePackageName(r).packageName;return e.isExternalModuleNameRelative(a)?void 0:a}function o(n,r,a){return a===t?e.JsTyping.nodeCoreModules.has(n)?"@types/node":void 0:r.isKnownTypesPackageName(n)?e.getTypesPackageName(n):void 0}n.registerCodeFix({errorCodes:r,getCodeActions:function(t){var r=t.host,s=t.sourceFile,c=i(s,t.span.start);if(void 0!==c){var l=o(c,r,t.errorCode);return void 0===l?[]:[n.createCodeFixAction("fixCannotFindModule",[],[e.Diagnostics.Install_0,l],"installTypesPackage",e.Diagnostics.Install_all_missing_types_packages,a(s.fileName,l))]}},fixIds:["installTypesPackage"],getAllCodeActions:function(t){return n.codeFixAll(t,r,(function(n,r,s){var c=i(r.file,r.start);if(void 0!==c)switch(t.fixId){case"installTypesPackage":var l=o(c,t.host,r.code);l&&s.push(a(r.file.fileName,l));break;default:e.Debug.fail("Bad fixId: "+t.fixId)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],r="fixClassDoesntImplementInheritedAbstractMember";function a(n,t){var r=e.getTokenAtPosition(n,t);return e.cast(r.parent,e.isClassLike)}function i(t,r,a,i,s){var c=e.getEffectiveBaseTypeNode(t),l=a.program.getTypeChecker(),u=l.getTypeAtLocation(c),d=l.getPropertiesOfType(u).filter(o),p=n.createImportAdder(r,a.program,s,a.host);n.createMissingMemberNodes(t,d,r,a,s,p,(function(e){return i.insertNodeAtClassStart(r,t,e)})),p.writeFixes(i)}function o(n){var t=e.getSyntacticModifierFlags(e.first(n.getDeclarations()));return!(8&t||!(128&t))}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var o=t.sourceFile,s=t.span,c=e.textChanges.ChangeTracker.with(t,(function(e){return i(a(o,s.start),o,t,e,t.preferences)}));return 0===c.length?void 0:[n.createCodeFixAction(r,c,e.Diagnostics.Implement_inherited_abstract_class,r,e.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[r],getAllCodeActions:function(r){var o=new e.Map;return n.codeFixAll(r,t,(function(n,t){var s=a(t.file,t.start);e.addToSeen(o,e.getNodeId(s))&&i(s,r.sourceFile,r,n,r.preferences)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="classSuperMustPrecedeThisAccess",r=[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];function a(e,n,t,r){e.insertNodeAtConstructorStart(n,t,r),e.delete(n,r)}function i(n,t){var r=e.getTokenAtPosition(n,t);if(107===r.kind){var a=e.getContainingFunction(r),i=o(a.body);return i&&!i.expression.arguments.some((function(n){return e.isPropertyAccessExpression(n)&&n.expression===r}))?{constructor:a,superCall:i}:void 0}}function o(n){return e.isExpressionStatement(n)&&e.isSuperCall(n.expression)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=i(o,s.start);if(c){var l=c.constructor,u=c.superCall,d=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,o,l,u)}));return[n.createCodeFixAction(t,d,e.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,t,e.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]}},fixIds:[t],getAllCodeActions:function(t){var o=t.sourceFile,s=new e.Map;return n.codeFixAll(t,r,(function(n,t){var r=i(t.file,t.start);if(r){var c=r.constructor,l=r.superCall;e.addToSeen(s,e.getNodeId(c.parent))&&a(n,o,c,l)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="constructorForDerivedNeedSuperCall",r=[e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(e.isConstructorDeclaration(r.parent),"token should be at the constructor declaration"),r.parent}function i(n,t,r){var a=e.factory.createExpressionStatement(e.factory.createCallExpression(e.factory.createSuper(),void 0,e.emptyArray));n.insertNodeAtConstructorStart(t,r,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start),l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_missing_super_call,t,e.Diagnostics.Add_all_missing_super_calls)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return i(n,e.sourceFile,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="enableExperimentalDecorators",r=[e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning.code];function a(t,r){n.setJsonCompilerOptionValue(t,r,"experimentalDecorators",e.factory.createTrue())}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.program.getCompilerOptions().configFile;if(void 0!==i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i)}));return[n.createCodeFixActionWithoutFixAll(t,o,e.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&a(n,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixEnableJsxFlag",r=[e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];function a(t,r){n.setJsonCompilerOptionValue(t,r,"jsx",e.factory.createStringLiteral("react"))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.program.getCompilerOptions().configFile;if(void 0!==i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i)}));return[n.createCodeFixActionWithoutFixAll(t,o,e.Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&a(n,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){n.registerCodeFix({errorCodes:[e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(t){var r=t.program.getCompilerOptions(),a=r.configFile;if(void 0!==a){var i=[],o=e.getEmitModuleKind(r);if(o>=e.ModuleKind.ES2015&&o<e.ModuleKind.ESNext){var s=e.textChanges.ChangeTracker.with(t,(function(t){n.setJsonCompilerOptionValue(t,a,"module",e.factory.createStringLiteral("esnext"))}));i.push(n.createCodeFixActionWithoutFixAll("fixModuleOption",s,[e.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}var c=e.getEmitScriptTarget(r);if(c<4||c>99){s=e.textChanges.ChangeTracker.with(t,(function(t){if(e.getTsConfigObjectLiteralExpression(a)){var r=[["target",e.factory.createStringLiteral("es2017")]];o===e.ModuleKind.CommonJS&&r.push(["module",e.factory.createStringLiteral("commonjs")]),n.setJsonCompilerOptionValues(t,a,r)}}));i.push(n.createCodeFixActionWithoutFixAll("fixTargetOption",s,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return i.length?i:void 0}}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixPropertyAssignment",r=[e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];function a(n,t,r){n.replaceNode(t,r,e.factory.createPropertyAssignment(r.name,r.objectAssignmentInitializer))}function i(n,t){return e.cast(e.getTokenAtPosition(n,t).parent,e.isShorthandPropertyAssignment)}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=i(r.sourceFile,r.span.start),s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,[e.Diagnostics.Change_0_to_1,"=",":"],t,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,i(n.file,n.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="extendsInterfaceBecomesImplements",r=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.getContainingClass(r).heritageClauses,i=a[0].getFirstToken();return 93===i.kind?{extendsToken:i,heritageClauses:a}:void 0}function i(n,t,r,a){if(n.replaceNode(t,r,e.factory.createToken(116)),2===a.length&&93===a[0].token&&116===a[1].token){var i=a[1].getFirstToken(),o=i.getFullStart();n.replaceRange(t,{pos:o,end:o},e.factory.createToken(27));for(var s=t.text,c=i.end;c<s.length&&e.isWhiteSpaceSingleLine(s.charCodeAt(c));)c++;n.deleteRange(t,{pos:i.getStart(),end:c})}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=a(o,r.span.start);if(s){var c=s.extendsToken,l=s.heritageClauses,u=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c,l)}));return[n.createCodeFixAction(t,u,e.Diagnostics.Change_extends_to_implements,t,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t.extendsToken,t.heritageClauses)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="forgottenThisPropertyAccess",r=e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,a=[e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,r];function i(n,t,a){var i=e.getTokenAtPosition(n,t);if(e.isIdentifier(i))return{node:i,className:a===r?e.getContainingClass(i).name.text:void 0}}function o(n,t,r){var a=r.node,i=r.className;e.suppressLeadingAndTrailingTrivia(a),n.replaceNode(t,a,e.factory.createPropertyAccessExpression(i?e.factory.createIdentifier(i):e.factory.createThis(),a))}n.registerCodeFix({errorCodes:a,getCodeActions:function(r){var a=r.sourceFile,s=i(a,r.span.start,r.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return o(e,a,s)}));return[n.createCodeFixAction(t,c,[e.Diagnostics.Add_0_to_unresolved_variable,s.className||"this"],t,e.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){var r=i(t.file,t.start,t.code);r&&o(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixInvalidJsxCharacters_expression",r="fixInvalidJsxCharacters_htmlEntity",a=[e.Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code];n.registerCodeFix({errorCodes:a,fixIds:[t,r],getCodeActions:function(a){var i=a.sourceFile,s=a.preferences,c=a.span,l=e.textChanges.ChangeTracker.with(a,(function(e){return o(e,s,i,c.start,!1)})),u=e.textChanges.ChangeTracker.with(a,(function(e){return o(e,s,i,c.start,!0)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Wrap_invalid_character_in_an_expression_container,t,e.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),n.createCodeFixAction(r,u,e.Diagnostics.Convert_invalid_character_to_its_html_entity_code,r,e.Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return o(n,e.preferences,t.file,t.start,e.fixId===r)}))}});var i={">":">","}":"}"};function o(n,t,r,a,o){var s=r.getText()[a];if(function(n){return e.hasProperty(i,n)}(s)){var c=o?i[s]:"{"+e.quote(s,t)+"}";n.replaceRangeWithText(r,{pos:a,end:a+1},c)}}}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="unusedIdentifier",r="unusedIdentifier_prefix",a="unusedIdentifier_delete",i="unusedIdentifier_infer",o=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];function s(n,t,r){n.replaceNode(t,r.parent,e.factory.createKeywordTypeNode(151))}function c(r,i){return n.createCodeFixAction(t,r,i,a,e.Diagnostics.Delete_all_unused_declarations)}function l(n,t,r){n.delete(t,e.Debug.checkDefined(e.cast(r.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function u(n){return 99===n.kind?e.tryCast(n.parent,e.isImportDeclaration):void 0}function d(n,t){return e.isVariableDeclarationList(t.parent)&&e.first(t.parent.getChildren(n))===t}function p(e,n,t){e.delete(n,229===t.parent.kind?t.parent:t)}function f(n,t,r){e.forEach(r.elements,(function(e){return n.delete(t,e)}))}function m(n,t,r,a){t!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(135===a.kind&&(a=e.cast(a.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(a)&&function(e){switch(e.parent.kind){case 159:case 158:return!0;case 246:switch(e.parent.parent.parent.kind){case 236:case 235:return!0}}return!1}(a)&&(n.replaceNode(r,a,e.factory.createIdentifier("_"+a.text)),e.isParameter(a.parent)&&e.getJSDocParameterTags(a.parent).forEach((function(t){e.isIdentifier(t.name)&&n.replaceNode(r,t.name,e.factory.createIdentifier("_"+t.name.text))}))))}function _(n,t,r,a,i,o){!function(n,t,r,a,i,o){var s=n.parent;e.isParameter(s)?function(n,t,r,a,i,o){void 0===o&&(o=!1);(function(n,t,r){var a=n.parent;switch(a.kind){case 164:var i=t.getSymbolAtLocation(a.name);if(e.isMemberSymbolInBaseType(i,t))return!1;case 165:case 248:return!0;case 205:case 206:var o=a.parameters,s=o.indexOf(n);return e.Debug.assert(-1!==s,"The parameter should already be in the list"),r?o.slice(s+1).every((function(e){return 78===e.name.kind&&!e.symbol.isReferenced})):s===o.length-1;case 167:return!1;default:return e.Debug.failBadSyntaxKind(a)}})(r,a,o)&&(r.modifiers&&r.modifiers.length>0&&(!e.isIdentifier(r.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(r.name,a,t))?r.modifiers.forEach((function(e){n.deleteModifier(t,e)})):(n.delete(t,r),function(n,t,r,a,i){e.FindAllReferences.Core.eachSignatureCall(r.parent,a,i,(function(e){var a=r.parent.parameters.indexOf(r);e.arguments.length>a&&n.delete(t,e.arguments[a])}))}(n,t,r,i,a)))}(t,r,s,a,i,o):t.delete(r,e.isImportClause(s)?n:e.isComputedPropertyName(s)?s.parent:s)}(t,r,n,a,i,o),e.isIdentifier(t)&&function(n,t,r,a){e.FindAllReferences.Core.eachSymbolReferenceInFile(r,a,t,(function(r){e.isPropertyAccessExpression(r.parent)&&r.parent.name===r&&(r=r.parent),e.isBinaryExpression(r.parent)&&e.isExpressionStatement(r.parent.parent)&&r.parent.left===r&&n.delete(t,r.parent.parent)}))}(r,n,t,a)}n.registerCodeFix({errorCodes:o,getCodeActions:function(a){var o=a.errorCode,g=a.sourceFile,y=a.program,h=y.getTypeChecker(),v=y.getSourceFiles(),b=e.getTokenAtPosition(g,a.span.start);if(e.isJSDocTemplateTag(b))return[c(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,b)})),e.Diagnostics.Remove_template_tag)];if(29===b.kind)return[c(x=e.textChanges.ChangeTracker.with(a,(function(e){return l(e,g,b)})),e.Diagnostics.Remove_type_parameters)];var E=u(b);if(E)return[c(x=e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,E)})),[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(E)])];if(e.isObjectBindingPattern(b.parent)){if(e.isParameter(b.parent.parent)){var T=b.parent.elements,S=[T.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(T,(function(e){return e.getText(g)})).join(", ")];return[c(e.textChanges.ChangeTracker.with(a,(function(e){return f(e,g,b.parent)})),S)]}return[c(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,b.parent.parent)})),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(d(g,b))return[c(e.textChanges.ChangeTracker.with(a,(function(e){return p(e,g,b.parent)})),e.Diagnostics.Remove_variable_statement)];var L=[];if(135===b.kind){var x=e.textChanges.ChangeTracker.with(a,(function(e){return s(e,g,b)})),A=e.cast(b.parent,e.isInferTypeNode).typeParameter.name.text;L.push(n.createCodeFixAction(t,x,[e.Diagnostics.Replace_infer_0_with_unknown,A],i,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var D=e.textChanges.ChangeTracker.with(a,(function(e){return _(g,b,e,h,v,!1)}));if(D.length){A=e.isComputedPropertyName(b.parent)?b.parent:b;L.push(c(D,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,A.getText(g)]))}}var C=e.textChanges.ChangeTracker.with(a,(function(e){return m(e,o,g,b)}));return C.length&&L.push(n.createCodeFixAction(t,C,[e.Diagnostics.Prefix_0_with_an_underscore,b.getText(g)],r,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),L},fixIds:[r,a,i],getAllCodeActions:function(t){var c=t.sourceFile,g=t.program,y=g.getTypeChecker(),h=g.getSourceFiles();return n.codeFixAll(t,o,(function(n,o){var g=e.getTokenAtPosition(c,o.start);switch(t.fixId){case r:m(n,o.code,c,g);break;case a:if(135===g.kind)break;var v=u(g);v?n.delete(c,v):e.isJSDocTemplateTag(g)?n.delete(c,g):29===g.kind?l(n,c,g):e.isObjectBindingPattern(g.parent)?e.isParameter(g.parent.parent)?f(n,c,g.parent):n.delete(c,g.parent.parent):d(c,g)?p(n,c,g.parent):_(c,g,n,y,h,!0);break;case i:135===g.kind&&s(n,c,g);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixUnreachableCode",r=[e.Diagnostics.Unreachable_code_detected.code];function a(n,t,r,a,i){var o=e.getTokenAtPosition(t,r),s=e.findAncestor(o,e.isStatement);if(s.getStart(t)!==o.getStart(t)){var c=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(s.kind),tokenKind:e.Debug.formatSyntaxKind(o.kind),errorCode:i,start:r,length:a});e.Debug.fail("Token and statement should start at the same point. "+c)}var l=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(l.kind){case 231:if(l.elseStatement){if(e.isBlock(s.parent))break;return void n.replaceNode(t,s,e.factory.createBlock(e.emptyArray))}case 233:case 234:return void n.delete(t,l)}if(e.isBlock(s.parent)){var u=r+a,d=e.Debug.checkDefined(function(e,n){for(var t,r=0,a=e;r<a.length;r++){var i=a[r];if(!n(i))break;t=i}return t}(e.sliceAfter(s.parent.statements,s),(function(e){return e.pos<u})),"Some statement should be last");n.deleteNodeRange(t,s,d)}else n.delete(t,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.span.length,r.errorCode)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unreachable_code,t,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start,n.length,n.code)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixUnusedLabel",r=[e.Diagnostics.Unused_label.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.cast(a.parent,e.isLabeledStatement),o=a.getStart(t),s=i.statement.getStart(t),c=e.positionsAreOnSameLine(o,s,t)?s:e.skipTrivia(t.text,e.findChildOfKind(i,58,t).end,!0);n.deleteRange(t,{pos:o,end:c})}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unused_label,t,e.Diagnostics.Remove_all_unused_labels)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];function r(e,n,t,r,a){e.replaceNode(n,t,a.typeToTypeNode(r,t,void 0))}function a(n,t,r){var a=e.findAncestor(e.getTokenAtPosition(n,t),i),o=a&&a.type;return o&&{typeNode:o,type:r.getTypeFromTypeNode(o)}}function i(e){switch(e.kind){case 221:case 168:case 169:case 248:case 166:case 170:case 189:case 164:case 163:case 159:case 162:case 161:case 167:case 251:case 203:case 246:return!0;default:return!1}}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=t.sourceFile,o=t.program.getTypeChecker(),s=a(i,t.span.start,o);if(s){var c=s.typeNode,l=s.type,u=c.getText(i),d=[p(l,"fixJSDocTypes_plain",e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];return 301===c.kind&&d.push(p(o.getNullableType(l,32768),"fixJSDocTypes_nullable",e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),d}function p(a,s,l){var d=e.textChanges.ChangeTracker.with(t,(function(e){return r(e,i,c,a,o)}));return n.createCodeFixAction("jdocTypes",d,[e.Diagnostics.Change_0_to_1,u,o.typeToString(a)],s,l)}},fixIds:["fixJSDocTypes_plain","fixJSDocTypes_nullable"],getAllCodeActions:function(e){var i=e.fixId,o=e.program,s=e.sourceFile,c=o.getTypeChecker();return n.codeFixAll(e,t,(function(e,n){var t=a(n.file,n.start,c);if(t){var o=t.typeNode,l=t.type,u=301===o.kind&&"fixJSDocTypes_nullable"===i?c.getNullableType(l,32768):l;r(e,s,o,u,c)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixMissingCallParentheses",r=[e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead.code];function a(e,n,t){e.replaceNodeWithText(n,t,t.text+"()")}function i(n,t){var r=e.getTokenAtPosition(n,t);if(e.isPropertyAccessExpression(r.parent)){for(var a=r.parent;e.isPropertyAccessExpression(a.parent);)a=a.parent;return a.name}if(e.isIdentifier(r))return r}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=i(r.sourceFile,r.span.start);if(o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Add_missing_call_parentheses,t,e.Diagnostics.Add_all_missing_call_parentheses)]}},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=i(n.file,n.start);t&&a(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixAwaitInSyncFunction",r=[e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,e.Diagnostics.A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.getContainingFunction(r);if(a){var i,o;switch(a.kind){case 164:i=a.name;break;case 248:case 205:i=e.findChildOfKind(a,97,n);break;case 206:i=e.findChildOfKind(a,20,n)||e.first(a.parameters);break;default:return}return i&&{insertBefore:i,returnType:(o=a,o.type?o.type:e.isVariableDeclaration(o.parent)&&o.parent.type&&e.isFunctionTypeNode(o.parent.type)?o.parent.type.type:void 0)}}}function i(n,t,r){var a=r.insertBefore,i=r.returnType;if(i){var o=e.getEntityNameFromTypeNode(i);o&&78===o.kind&&"Promise"===o.text||n.replaceNode(t,i,e.factory.createTypeReferenceNode("Promise",e.factory.createNodeArray([i])))}n.insertModifierBefore(t,129,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_async_modifier_to_containing_function,t,e.Diagnostics.Add_all_missing_async_modifiers)]}},fixIds:[t],getAllCodeActions:function(t){var o=new e.Map;return n.codeFixAll(t,r,(function(n,r){var s=a(r.file,r.start);s&&e.addToSeen(o,e.getNodeId(s.insertBefore))&&i(n,t.sourceFile,s)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],r="fixPropertyOverrideAccessor";function a(t,r,a,i,o){var s,c;if(i===e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)s=r,c=r+a;else if(i===e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){var l=o.program.getTypeChecker(),u=e.getTokenAtPosition(t,r).parent;e.Debug.assert(e.isAccessor(u),"error span of fixPropertyOverrideAccessor should only be on an accessor");var d=u.parent;e.Debug.assert(e.isClassLike(d),"erroneous accessors should only be inside classes");var p=e.singleOrUndefined(n.getAllSupers(d,l));if(!p)return[];var f=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(u.name)),m=l.getPropertyOfType(l.getTypeAtLocation(p),f);if(!m||!m.valueDeclaration)return[];s=m.valueDeclaration.pos,c=m.valueDeclaration.end,t=e.getSourceFileOfNode(m.valueDeclaration)}else e.Debug.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+i);return n.generateAccessorFromProperty(t,s,c,o,e.Diagnostics.Generate_get_and_set_accessors.message)}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=a(t.sourceFile,t.span.start,t.span.length,t.errorCode,t);if(i)return[n.createCodeFixAction(r,i,e.Diagnostics.Generate_get_and_set_accessors,r,e.Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){var r=a(t.file,t.start,t.length,t.code,e);if(r)for(var i=0,o=r;i<o.length;i++){var s=o[i];n.pushRaw(e.sourceFile,s)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="inferFromUsage",r=[e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,e.Diagnostics.Member_0_implicitly_has_an_1_type.code,e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function a(n,t){switch(n){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.isSetAccessorDeclaration(e.getContainingFunction(t))?e.Diagnostics.Infer_type_of_0_from_usage:e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return e.Diagnostics.Infer_this_type_of_0_from_usage;default:return e.Diagnostics.Infer_type_of_0_from_usage}}function i(t,r,a,i,o,p,g,y,h){if(e.isParameterPropertyModifier(a.kind)||78===a.kind||25===a.kind||107===a.kind){var v=a.parent,b=n.createImportAdder(r,o,h,y);switch(i=function(n){switch(n){case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_an_1_type.code;case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Member_0_implicitly_has_an_1_type.code}return n}(i)){case e.Diagnostics.Member_0_implicitly_has_an_1_type.code:case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(e.isVariableDeclaration(v)&&g(v)||e.isPropertyDeclaration(v)||e.isPropertySignature(v))return s(t,b,r,v,o,y,p),b.writeFixes(t),v;if(e.isPropertyAccessExpression(v)){var E=f(v.name,o,p),T=e.getTypeNodeIfAccessible(E,v,o,y);if(T){var S=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(T),"");d(t,r,e.cast(v.parent.parent,e.isExpressionStatement),[S])}return b.writeFixes(t),v}return;case e.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var L=o.getTypeChecker().getSymbolAtLocation(a);return L&&L.valueDeclaration&&e.isVariableDeclaration(L.valueDeclaration)&&g(L.valueDeclaration)?(s(t,b,r,L.valueDeclaration,o,y,p),b.writeFixes(t),L.valueDeclaration):void 0}var x=e.getContainingFunction(a);if(void 0!==x){var A;switch(i){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(e.isSetAccessorDeclaration(x)){c(t,b,r,x,o,y,p),A=x;break}case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(g(x)){var D=e.cast(v,e.isParameter);!function(n,t,r,a,i,o,s,c){if(!e.isIdentifier(a.name))return;var d=function(n,t,r,a){var i=m(n,t,r,a);return i&&_(r,i,a).parameters(n)||n.parameters.map((function(n){return{declaration:n,type:e.isIdentifier(n.name)?f(n.name,r,a):r.getTypeChecker().getAnyType()}}))}(i,r,o,c);if(e.Debug.assert(i.parameters.length===d.length,"Parameter count and inference count should match"),e.isInJSFile(i))u(n,r,d,o,s);else{var p=e.isArrowFunction(i)&&!e.findChildOfKind(i,20,r);p&&n.insertNodeBefore(r,e.first(i.parameters),e.factory.createToken(20));for(var g=0,y=d;g<y.length;g++){var h=y[g],v=h.declaration,b=h.type;!v||v.type||v.initializer||l(n,t,r,v,b,o,s)}p&&n.insertNodeAfter(r,e.last(i.parameters),e.factory.createToken(21))}}(t,b,r,D,x,o,y,p),A=D}break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:e.isGetAccessorDeclaration(x)&&e.isIdentifier(x.name)&&(l(t,b,r,x,f(x.name,o,p),o,y),A=x);break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:e.isSetAccessorDeclaration(x)&&(c(t,b,r,x,o,y,p),A=x);break;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:e.textChanges.isThisTypeAnnotatable(x)&&g(x)&&(!function(n,t,r,a,i,o){var s=m(r,t,a,o);if(!s||!s.length)return;var c=_(a,s,o).thisParameter(),l=e.getTypeNodeIfAccessible(c,r,a,i);if(!l)return;e.isInJSFile(r)?function(n,t,r,a){d(n,t,r,[e.factory.createJSDocThisTag(void 0,e.factory.createJSDocTypeExpression(a))])}(n,t,r,l):n.tryInsertThisTypeAnnotation(t,r,l)}(t,r,x,o,y,p),A=x);break;default:return e.Debug.fail(String(i))}return b.writeFixes(t),A}}}function s(n,t,r,a,i,o,s){e.isIdentifier(a.name)&&l(n,t,r,a,f(a.name,i,s),i,o)}function c(n,t,r,a,i,o,s){var c=e.firstOrUndefined(a.parameters);if(c&&e.isIdentifier(a.name)&&e.isIdentifier(c.name)){var d=f(a.name,i,s);d===i.getTypeChecker().getAnyType()&&(d=f(c.name,i,s)),e.isInJSFile(a)?u(n,r,[{declaration:c,type:d}],i,o):l(n,t,r,c,d,i,o)}}function l(t,r,a,i,o,s,c){var l=e.getTypeNodeIfAccessible(o,i,s,c);if(l)if(e.isInJSFile(a)&&161!==i.kind){var u=e.isVariableDeclaration(i)?e.tryCast(i.parent.parent,e.isVariableStatement):i;if(!u)return;var p=e.factory.createJSDocTypeExpression(l);d(t,a,u,[e.isGetAccessorDeclaration(i)?e.factory.createJSDocReturnTag(void 0,p,""):e.factory.createJSDocTypeTag(void 0,p,"")])}else(function(t,r,a,i,o,s){var c=n.tryGetAutoImportableReferenceFromTypeNode(t,s);if(c&&i.tryInsertTypeAnnotation(a,r,c.typeNode))return e.forEach(c.symbols,(function(e){return o.addImportFromExportedSymbol(e,!0)})),!0;return!1})(l,i,a,t,r,e.getEmitScriptTarget(s.getCompilerOptions()))||t.tryInsertTypeAnnotation(a,i,l)}function u(n,t,r,a,i){var o=r.length&&r[0].declaration.parent;o&&d(n,t,o,e.mapDefined(r,(function(n){var t=n.declaration;if(!t.initializer&&!e.getJSDocType(t)&&e.isIdentifier(t.name)){var r=n.type&&e.getTypeNodeIfAccessible(n.type,t,a,i),o=e.factory.cloneNode(t.name);return e.setEmitFlags(o,3584),r&&e.factory.createJSDocParameterTag(void 0,o,!!n.isOptional,e.factory.createJSDocTypeExpression(r),!1,"")}})))}function d(n,t,r,a){var i=e.mapDefined(r.jsDoc,(function(e){return e.comment})),s=e.flatMapToMutable(r.jsDoc,(function(e){return e.tags})),c=a.filter((function(n){return!s||!s.some((function(t,r){var a=function(n,t){if(n.kind!==t.kind)return;switch(n.kind){case 322:var r=n,a=t;return e.isIdentifier(r.name)&&e.isIdentifier(a.name)&&r.name.escapedText===a.name.escapedText?e.factory.createJSDocParameterTag(void 0,a.name,!1,a.typeExpression,a.isNameFirst,r.comment):void 0;case 323:return e.factory.createJSDocReturnTag(void 0,t.typeExpression,n.comment)}}(t,n);return a&&(s[r]=a),!!a}))})),l=e.factory.createJSDocComment(i.join("\n"),e.factory.createNodeArray(o(s||e.emptyArray,c))),u=206===r.kind?function(e){if(162===e.parent.kind)return e.parent;return e.parent.parent}(r):r;u.jsDoc=r.jsDoc,u.jsDocCache=r.jsDocCache,n.insertJsdocCommentBefore(t,u,l)}function p(n,t,r){return e.mapDefined(e.FindAllReferences.getReferenceEntriesForNode(-1,n,t,t.getSourceFiles(),r),(function(n){return 0!==n.kind?e.tryCast(n.node,e.isIdentifier):void 0}))}function f(e,n,t){return _(n,p(e,n,t),t).single()}function m(n,t,r,a){var i;switch(n.kind){case 165:i=e.findChildOfKind(n,132,t);break;case 206:case 205:var o=n.parent;i=e.isVariableDeclaration(o)&&e.isIdentifier(o.name)?o.name:n.name;break;case 248:case 164:i=n.name}if(i)return p(i,r,a)}function _(n,t,r){var a=n.getTypeChecker(),i={string:function(){return a.getStringType()},number:function(){return a.getNumberType()},Array:function(e){return a.createArrayType(e)},Promise:function(e){return a.createPromiseType(e)}},s=[a.getStringType(),a.getNumberType(),a.createArrayType(a.getAnyType()),a.createPromiseType(a.getAnyType())];return{single:function(){return m(l(t))},parameters:function(i){if(0===t.length||!i.parameters)return;for(var s=c(),d=0,f=t;d<f.length;d++){var _=f[d];r.throwIfCancellationRequested(),u(_,s)}var g=o(s.constructs||[],s.calls||[]);return i.parameters.map((function(t,o){for(var s=[],c=e.isRestParameter(t),u=!1,d=0,f=g;d<f.length;d++){var _=f[d];if(_.argumentTypes.length<=o)u=e.isInJSFile(i),s.push(a.getUndefinedType());else if(c)for(var y=o;y<_.argumentTypes.length;y++)s.push(a.getBaseTypeOfLiteralType(_.argumentTypes[y]));else s.push(a.getBaseTypeOfLiteralType(_.argumentTypes[o]))}if(e.isIdentifier(t.name)){var h=l(p(t.name,n,r));s.push.apply(s,c?e.mapDefined(h,a.getElementTypeOfArrayType):h)}var v=m(s);return{type:c?a.createArrayType(v):v,isOptional:u&&!c,declaration:t}}))},thisParameter:function(){for(var n=c(),a=0,i=t;a<i.length;a++){var o=i[a];r.throwIfCancellationRequested(),u(o,n)}return m(n.candidateThisTypes||e.emptyArray)}};function c(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function l(e){for(var n={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0},t=0,a=e;t<a.length;t++){var i=a[t];r.throwIfCancellationRequested(),u(i,n)}return _(n)}function u(n,t){for(;e.isRightSideOfQualifiedNameOrPropertyAccess(n);)n=n.parent;switch(n.parent.kind){case 230:!function(n,t){h(t,e.isCallExpression(n)?a.getVoidType():a.getAnyType())}(n,t);break;case 212:t.isNumber=!0;break;case 211:!function(e,n){switch(e.operator){case 45:case 46:case 40:case 54:n.isNumber=!0;break;case 39:n.isNumberOrString=!0}}(n.parent,t);break;case 213:!function(n,t,r){switch(t.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 64:case 66:case 65:case 67:case 68:case 72:case 73:case 77:case 69:case 71:case 70:case 40:case 29:case 32:case 31:case 33:var i=a.getTypeAtLocation(t.left===n?t.right:t.left);1056&i.flags?h(r,i):r.isNumber=!0;break;case 63:case 39:var o=a.getTypeAtLocation(t.left===n?t.right:t.left);1056&o.flags?h(r,o):296&o.flags?r.isNumber=!0:132&o.flags?r.isString=!0:1&o.flags||(r.isNumberOrString=!0);break;case 62:case 34:case 36:case 37:case 35:h(r,a.getTypeAtLocation(t.left===n?t.right:t.left));break;case 100:n===t.left&&(r.isString=!0);break;case 56:case 60:n!==t.left||246!==n.parent.parent.kind&&!e.isAssignmentExpression(n.parent.parent,!0)||h(r,a.getTypeAtLocation(t.right))}}(n,n.parent,t);break;case 281:case 282:!function(e,n){h(n,a.getTypeAtLocation(e.parent.parent.expression))}(n.parent,t);break;case 200:case 201:n.parent.expression===n?function(e,n){var t={argumentTypes:[],return_:{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}};if(e.arguments)for(var r=0,i=e.arguments;r<i.length;r++){var o=i[r];t.argumentTypes.push(a.getTypeAtLocation(o))}u(e,t.return_),200===e.kind?(n.calls||(n.calls=[])).push(t):(n.constructs||(n.constructs=[])).push(t)}(n.parent,t):d(n,t);break;case 198:!function(n,t){var r=e.escapeLeadingUnderscores(n.name.text);t.properties||(t.properties=new e.Map);var a=t.properties.get(r)||{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};u(n,a),t.properties.set(r,a)}(n.parent,t);break;case 199:!function(e,n,t){if(n===e.argumentExpression)return void(t.isNumberOrString=!0);var r=a.getTypeAtLocation(e.argumentExpression),i={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};u(e,i),296&r.flags?t.numberIndex=i:t.stringIndex=i}(n.parent,n,t);break;case 285:case 286:!function(n,t){var r=e.isVariableDeclaration(n.parent.parent)?n.parent.parent:n.parent;v(t,a.getTypeAtLocation(r))}(n.parent,t);break;case 162:!function(e,n){v(n,a.getTypeAtLocation(e.parent))}(n.parent,t);break;case 246:var r=n.parent,i=r.name,o=r.initializer;if(n===i){o&&h(t,a.getTypeAtLocation(o));break}default:return d(n,t)}}function d(n,t){e.isExpressionNode(n)&&h(t,a.getContextualType(n))}function f(e){return m(_(e))}function m(n){if(!n.length)return a.getAnyType();var t=a.getUnionType([a.getStringType(),a.getNumberType()]),r=function(n,t){for(var r=[],a=0,i=n;a<i.length;a++)for(var o=i[a],s=0,c=t;s<c.length;s++){var l=c[s],u=l.high,d=l.low;u(o)&&(e.Debug.assert(!d(o),"Priority can't have both low and high"),r.push(d))}return n.filter((function(e){return r.every((function(n){return!n(e)}))}))}(n,[{high:function(e){return e===a.getStringType()||e===a.getNumberType()},low:function(e){return e===t}},{high:function(e){return!(16385&e.flags)},low:function(e){return!!(16385&e.flags)}},{high:function(n){return!(114689&n.flags||16&e.getObjectFlags(n))},low:function(n){return!!(16&e.getObjectFlags(n))}}]),i=r.filter((function(n){return 16&e.getObjectFlags(n)}));return i.length&&(r=r.filter((function(n){return!(16&e.getObjectFlags(n))}))).push(function(n){if(1===n.length)return n[0];for(var t=[],r=[],i=[],o=[],s=!1,c=!1,l=e.createMultiMap(),u=0,d=n;u<d.length;u++){for(var p=d[u],f=0,m=a.getPropertiesOfType(p);f<m.length;f++){var _=m[f];l.add(_.name,a.getTypeOfSymbolAtLocation(_,_.valueDeclaration))}t.push.apply(t,a.getSignaturesOfType(p,0)),r.push.apply(r,a.getSignaturesOfType(p,1)),p.stringIndexInfo&&(i.push(p.stringIndexInfo.type),s=s||p.stringIndexInfo.isReadonly),p.numberIndexInfo&&(o.push(p.numberIndexInfo.type),c=c||p.numberIndexInfo.isReadonly)}var g=e.mapEntries(l,(function(e,t){var r=t.length<n.length?16777216:0,i=a.createSymbol(4|r,e);return i.type=a.getUnionType(t),[e,i]}));return a.createAnonymousType(n[0].symbol,g,t,r,i.length?a.createIndexInfo(a.getUnionType(i),s):void 0,o.length?a.createIndexInfo(a.getUnionType(o),c):void 0)}(i)),a.getWidenedType(a.getUnionType(r.map(a.getBaseTypeOfLiteralType),2))}function _(n){var t,r,o,c=[];return n.isNumber&&c.push(a.getNumberType()),n.isString&&c.push(a.getStringType()),n.isNumberOrString&&c.push(a.getUnionType([a.getStringType(),a.getNumberType()])),n.numberIndex&&c.push(a.createArrayType(f(n.numberIndex))),((null===(t=n.properties)||void 0===t?void 0:t.size)||(null===(r=n.calls)||void 0===r?void 0:r.length)||(null===(o=n.constructs)||void 0===o?void 0:o.length)||n.stringIndex)&&c.push(function(n){var t=new e.Map;n.properties&&n.properties.forEach((function(e,n){var r=a.createSymbol(4,n);r.type=f(e),t.set(n,r)}));var r=n.calls?[y(n.calls)]:[],i=n.constructs?[y(n.constructs)]:[],o=n.stringIndex&&a.createIndexInfo(f(n.stringIndex),!1);return a.createAnonymousType(void 0,t,r,i,o,void 0)}(n)),c.push.apply(c,(n.candidateTypes||[]).map((function(e){return a.getBaseTypeOfLiteralType(e)}))),c.push.apply(c,function(n){if(!n.properties||!n.properties.size)return[];var t=s.filter((function(t){return function(n,t){return!!t.properties&&!e.forEachEntry(t.properties,(function(t,r){var i,o=a.getTypeOfPropertyOfType(n,r);return!o||(t.calls?!a.getSignaturesOfType(o,0).length||!a.isTypeAssignableTo(o,(i=t.calls,a.createAnonymousType(void 0,e.createSymbolTable(),[y(i)],e.emptyArray,void 0,void 0))):!a.isTypeAssignableTo(o,f(t)))}))}(t,n)}));if(0<t.length&&t.length<3)return t.map((function(t){return function(n,t){if(!(4&e.getObjectFlags(n)&&t.properties))return n;var r=n.target,o=e.singleOrUndefined(r.typeParameters);if(!o)return n;var s=[];return t.properties.forEach((function(n,t){var i=a.getTypeOfPropertyOfType(r,t);e.Debug.assert(!!i,"generic should have all the properties of its reference."),s.push.apply(s,g(i,f(n),o))})),i[n.symbol.escapedName](m(s))}(t,n)}));return[]}(n)),c}function g(n,t,r){if(n===r)return[t];if(3145728&n.flags)return e.flatMap(n.types,(function(e){return g(e,t,r)}));if(4&e.getObjectFlags(n)&&4&e.getObjectFlags(t)){var i=a.getTypeArguments(n),o=a.getTypeArguments(t),s=[];if(i&&o)for(var c=0;c<i.length;c++)o[c]&&s.push.apply(s,g(i[c],o[c],r));return s}var l=a.getSignaturesOfType(n,0),u=a.getSignaturesOfType(t,0);return 1===l.length&&1===u.length?function(n,t,r){for(var i=[],o=0;o<n.parameters.length;o++){var s=n.parameters[o],c=t.parameters[o],l=n.declaration&&e.isRestParameter(n.declaration.parameters[o]);if(!c)break;var u=a.getTypeOfSymbolAtLocation(s,s.valueDeclaration),d=l&&a.getElementTypeOfArrayType(u);d&&(u=d);var p=c.type||a.getTypeOfSymbolAtLocation(c,c.valueDeclaration);i.push.apply(i,g(u,p,r))}var f=a.getReturnTypeOfSignature(n),m=a.getReturnTypeOfSignature(t);return i.push.apply(i,g(f,m,r)),i}(l[0],u[0],r):[]}function y(n){for(var t=[],r=Math.max.apply(Math,n.map((function(e){return e.argumentTypes.length}))),i=function(r){var i=a.createSymbol(1,e.escapeLeadingUnderscores("arg"+r));i.type=m(n.map((function(e){return e.argumentTypes[r]||a.getUndefinedType()}))),n.some((function(e){return void 0===e.argumentTypes[r]}))&&(i.flags|=16777216),t.push(i)},o=0;o<r;o++)i(o);var s=f(function n(t){for(var r=new e.Map,a=0,i=t;a<i.length;a++){var o=i[a];o.properties&&o.properties.forEach((function(e,n){r.has(n)||r.set(n,[]),r.get(n).push(e)}))}var s=new e.Map;return r.forEach((function(e,t){s.set(t,n(e))})),{isNumber:t.some((function(e){return e.isNumber})),isString:t.some((function(e){return e.isString})),isNumberOrString:t.some((function(e){return e.isNumberOrString})),candidateTypes:e.flatMap(t,(function(e){return e.candidateTypes})),properties:s,calls:e.flatMap(t,(function(e){return e.calls})),constructs:e.flatMap(t,(function(e){return e.constructs})),numberIndex:e.forEach(t,(function(e){return e.numberIndex})),stringIndex:e.forEach(t,(function(e){return e.stringIndex})),candidateThisTypes:e.flatMap(t,(function(e){return e.candidateThisTypes})),inferredTypes:void 0}}(n.map((function(e){return e.return_}))));return a.createSignature(void 0,void 0,void 0,t,s,void 0,r,0)}function h(e,n){!n||1&n.flags||131072&n.flags||(e.candidateTypes||(e.candidateTypes=[])).push(n)}function v(e,n){!n||1&n.flags||131072&n.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(n)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o,s=r.sourceFile,c=r.program,l=r.span.start,u=r.errorCode,d=r.cancellationToken,p=r.host,f=r.preferences,m=e.getTokenAtPosition(s,l),_=e.textChanges.ChangeTracker.with(r,(function(n){o=i(n,s,m,u,c,d,e.returnTrue,p,f)})),g=o&&e.getNameOfDeclaration(o);return g&&0!==_.length?[n.createCodeFixAction(t,_,[a(u,m),g.getText(s)],t,e.Diagnostics.Infer_all_types_from_usage)]:void 0},fixIds:[t],getAllCodeActions:function(t){var a=t.sourceFile,o=t.program,s=t.cancellationToken,c=t.host,l=t.preferences,u=e.nodeSeenTracker();return n.codeFixAll(t,r,(function(n,t){i(n,a,e.getTokenAtPosition(t.file,t.start),t.code,o,s,u,c,l)}))}}),n.addJSDocTags=d}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixReturnTypeInAsyncFunction",r=[e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code];function a(n,t,r){if(!e.isInJSFile(n)){var a=e.getTokenAtPosition(n,r),i=e.findAncestor(a,e.isFunctionLikeDeclaration),o=null==i?void 0:i.type;if(o){var s=t.getTypeFromTypeNode(o),c=t.getAwaitedType(s)||t.getVoidType(),l=t.typeToTypeNode(c,o,void 0);return l?{returnTypeNode:o,returnType:s,promisedTypeNode:l,promisedType:c}:void 0}}}function i(n,t,r,a){n.replaceNode(t,r,e.factory.createTypeReferenceNode("Promise",[a]))}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=r.sourceFile,s=r.program,c=r.span,l=s.getTypeChecker(),u=a(o,s.getTypeChecker(),c.start);if(u){var d=u.returnTypeNode,p=u.returnType,f=u.promisedTypeNode,m=u.promisedType,_=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,d,f)}));return[n.createCodeFixAction(t,_,[e.Diagnostics.Replace_0_with_Promise_1,l.typeToString(p),l.typeToString(m)],t,e.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions)]}},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,e.program.getTypeChecker(),t.start);r&&i(n,t.file,r.returnTypeNode,r.promisedTypeNode)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="disableJsDiagnostics",r=e.mapDefined(Object.keys(e.Diagnostics),(function(n){var t=e.Diagnostics[n];return t.category===e.DiagnosticCategory.Error?t.code:void 0}));function a(n,t,r,a){var i=e.getLineAndCharacterOfPosition(t,r).line;a&&!e.tryAddToSet(a,i)||n.insertCommentBeforeLine(t,i,r," @ts-ignore")}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.sourceFile,o=r.program,s=r.span,c=r.host,l=r.formatContext;if(e.isInJSFile(i)&&e.isCheckJsEnabledForFile(i,o.getCompilerOptions())){var u=i.checkJsDirective?"":e.getNewLineOrDefaultFromHost(c,l.options),d=[n.createCodeFixActionWithoutFixAll("disableJsDiagnostics",[n.createFileTextChanges(i.fileName,[e.createTextChange(i.checkJsDirective?e.createTextSpanFromBounds(i.checkJsDirective.pos,i.checkJsDirective.end):e.createTextSpan(0,0),"// @ts-nocheck"+u)])],e.Diagnostics.Disable_checking_for_this_file)];return e.textChanges.isValidLocationToAddComment(i,s.start)&&d.unshift(n.createCodeFixAction("disableJsDiagnostics",e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i,s.start)})),e.Diagnostics.Ignore_this_error_message,t,e.Diagnostics.Add_ts_ignore_to_all_error_messages)),d}},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(n,t){e.textChanges.isValidLocationToAddComment(t.file,t.start)&&a(n,t.file,t.start,i)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n){return{trackSymbol:e.noop,moduleResolverHost:e.getModuleSpecifierResolverHost(n.program,n.host)}}function r(n,r,a,s,c,l,p){var f=n.getDeclarations();if(f&&f.length){var m=s.program.getTypeChecker(),_=e.getEmitScriptTarget(s.program.getCompilerOptions()),g=f[0],y=e.getSynthesizedDeepClone(e.getNameOfDeclaration(g),!1),h=function(n){if(4&n)return e.factory.createToken(122);if(16&n)return e.factory.createToken(121);return}(e.getEffectiveModifierFlags(g)),v=h?e.factory.createNodeArray([h]):void 0,b=m.getWidenedType(m.getTypeOfSymbolAtLocation(n,r)),E=!!(16777216&n.flags),T=!!(8388608&r.flags),S=e.getQuotePreference(a,c);switch(g.kind){case 161:case 162:var L=0===S?268435456:void 0,x=m.typeToTypeNode(b,r,L,t(s));if(l)(A=u(x,_))&&(x=A.typeNode,d(l,A.symbols));p(e.factory.createPropertyDeclaration(void 0,v,y,E?e.factory.createToken(57):void 0,x,void 0));break;case 166:case 167:var A,D=m.typeToTypeNode(b,r,void 0,t(s)),C=e.getAllAccessorDeclarations(f,g),I=C.secondAccessor?[C.firstAccessor,C.secondAccessor]:[C.firstAccessor];if(l)(A=u(D,_))&&(D=A.typeNode,d(l,A.symbols));for(var N=0,R=I;N<R.length;N++){var k=R[N];if(e.isGetAccessorDeclaration(k))p(e.factory.createGetAccessorDeclaration(void 0,v,y,e.emptyArray,D,T?void 0:o(S)));else{e.Debug.assertNode(k,e.isSetAccessorDeclaration,"The counterpart to a getter should be a setter");var O=e.getSetAccessorValueParameter(k),P=O&&e.isIdentifier(O.name)?e.idText(O.name):void 0;p(e.factory.createSetAccessorDeclaration(void 0,v,y,i(1,[P],[D],1,!1),T?void 0:o(S)))}}break;case 163:case 164:var M=m.getSignaturesOfType(b,0);if(!e.some(M))break;if(1===f.length){e.Debug.assert(1===M.length,"One declaration implies one signature"),G(S,M[0],v,y,T?void 0:o(S));break}for(var w=0,F=M;w<F.length;w++){G(S,F[w],e.getSynthesizedDeepClones(v,!1),e.getSynthesizedDeepClone(y,!1))}if(!T)if(f.length>M.length)G(S,m.getSignatureFromDeclaration(f[f.length-1]),v,y,o(S));else e.Debug.assert(f.length===M.length,"Declarations and signatures should match count"),p(function(n,t,r,a,s){for(var c=n[0],l=n[0].minArgumentCount,u=!1,d=0,p=n;d<p.length;d++){var f=p[d];l=Math.min(f.minArgumentCount,l),e.signatureHasRestParameter(f)&&(u=!0),f.parameters.length>=c.parameters.length&&(!e.signatureHasRestParameter(f)||e.signatureHasRestParameter(c))&&(c=f)}var m=c.parameters.length-(e.signatureHasRestParameter(c)?1:0),_=c.parameters.map((function(e){return e.name})),g=i(m,_,void 0,l,!1);if(u){var y=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(128)),h=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),_[m]||"rest",m>=l?e.factory.createToken(57):void 0,y,void 0);g.push(h)}return function(n,t,r,a,i,s,c){return e.factory.createMethodDeclaration(void 0,n,void 0,t,r?e.factory.createToken(57):void 0,a,i,s,o(c))}(a,t,r,void 0,g,void 0,s)}(M,y,E,v,S))}}function G(n,a,i,o,c){var f=function(n,r,a,i,o,s,c,l,p){var f=n.program,m=f.getTypeChecker(),_=e.getEmitScriptTarget(f.getCompilerOptions()),g=1073742081|(0===r?268435456:0),y=m.signatureToSignatureDeclaration(a,164,i,g,t(n));if(!y)return;var h=y.typeParameters,v=y.parameters,b=y.type;if(p){if(h){var E=e.sameMap(h,(function(n){var t,r=n.constraint,a=n.default;r&&((t=u(r,_))&&(r=t.typeNode,d(p,t.symbols)));a&&((t=u(a,_))&&(a=t.typeNode,d(p,t.symbols)));return e.factory.updateTypeParameterDeclaration(n,n.name,r,a)}));h!==E&&(h=e.setTextRange(e.factory.createNodeArray(E,h.hasTrailingComma),h))}var T=e.sameMap(v,(function(n){var t=u(n.type,_),r=n.type;return t&&(r=t.typeNode,d(p,t.symbols)),e.factory.updateParameterDeclaration(n,n.decorators,n.modifiers,n.dotDotDotToken,n.name,n.questionToken,r,n.initializer)}));if(v!==T&&(v=e.setTextRange(e.factory.createNodeArray(T,v.hasTrailingComma),v)),b){var S=u(b,_);S&&(b=S.typeNode,d(p,S.symbols))}}return e.factory.updateMethodDeclaration(y,void 0,o,y.asteriskToken,s,c?e.factory.createToken(57):void 0,h,v,b,l)}(s,n,a,r,i,o,E,c,l);f&&p(f)}}function a(n,t,r,a,i,o,s){var c=n.typeToTypeNode(r,a,o,s);if(c&&e.isImportTypeNode(c)){var l=u(c,i);if(l)return d(t,l.symbols),l.typeNode}return c}function i(n,t,r,a,i){for(var o=[],s=0;s<n;s++){var c=e.factory.createParameterDeclaration(void 0,void 0,void 0,t&&t[s]||"arg"+s,void 0!==a&&s>=a?e.factory.createToken(57):void 0,i?void 0:r&&r[s]||e.factory.createKeywordTypeNode(128),void 0);o.push(c)}return o}function o(n){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral("Method not implemented.",0===n)]))],!0)}function s(n,t,r){var a=e.getTsConfigObjectLiteralExpression(t);if(a){var i=l(a,"compilerOptions");if(void 0!==i){var o=i.initializer;if(e.isObjectLiteralExpression(o))for(var s=0,u=r;s<u.length;s++){var d=u[s],p=d[0],f=d[1],m=l(o,p);void 0===m?n.insertNodeAtObjectStart(t,o,c(p,f)):n.replaceNode(t,m.initializer,f)}}else n.insertNodeAtObjectStart(t,a,c("compilerOptions",e.factory.createObjectLiteralExpression(r.map((function(e){return c(e[0],e[1])})),!0)))}}function c(n,t){return e.factory.createPropertyAssignment(e.factory.createStringLiteral(n),t)}function l(n,t){return e.find(n.properties,(function(n){return e.isPropertyAssignment(n)&&!!n.name&&e.isStringLiteral(n.name)&&n.name.text===t}))}function u(n,t){var r,a=e.visitNode(n,(function n(a){var i;if(e.isLiteralImportTypeNode(a)&&a.qualifier){var o=e.getFirstIdentifier(a.qualifier),s=e.getNameForExportedSymbol(o.symbol,t),c=s!==o.text?function n(t,r){if(78===t.kind)return r;return e.factory.createQualifiedName(n(t.left,r),t.right)}(a.qualifier,e.factory.createIdentifier(s)):a.qualifier;r=e.append(r,o.symbol);var l=null===(i=a.typeArguments)||void 0===i?void 0:i.map(n);return e.factory.createTypeReferenceNode(c,l)}return e.visitEachChild(a,n,e.nullTransformationContext)}));if(r&&a)return{typeNode:a,symbols:r}}function d(e,n){n.forEach((function(n){return e.addImportFromExportedSymbol(n,!0)}))}n.createMissingMemberNodes=function(e,n,t,a,i,o,s){for(var c=e.symbol.members,l=0,u=n;l<u.length;l++){var d=u[l];c.has(d.escapedName)||r(d,e,t,a,i,o,s)}},n.getNoopSymbolTrackerWithResolver=t,n.createMethodFromCallExpression=function(n,r,s,c,l,u,d){var p=!e.isInterfaceDeclaration(u),f=s.typeArguments,m=s.arguments,_=s.parent,g=e.getEmitScriptTarget(n.program.getCompilerOptions()),y=n.program.getTypeChecker(),h=t(n),v=e.map(m,(function(e){return a(y,r,y.getBaseTypeOfLiteralType(y.getTypeAtLocation(e)),u,g,void 0,h)})),b=e.map(m,(function(n){return e.isIdentifier(n)?n.text:e.isPropertyAccessExpression(n)&&e.isIdentifier(n.name)?n.name.text:void 0})),E=y.getContextualType(s),T=d||!E?void 0:y.typeToTypeNode(E,u,void 0,h),S=e.getQuotePreference(n.sourceFile,n.preferences);return e.factory.createMethodDeclaration(void 0,l?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(l)):void 0,e.isYieldExpression(_)?e.factory.createToken(41):void 0,c,void 0,d?void 0:e.map(f,(function(n,t){return e.factory.createTypeParameterDeclaration(84+f.length-1<=90?String.fromCharCode(84+t):"T"+t)})),i(m.length,b,v,void 0,d),T,p?o(S):void 0)},n.typeToAutoImportableTypeNode=a,n.setJsonCompilerOptionValues=s,n.setJsonCompilerOptionValue=function(e,n,t,r){s(e,n,[[t,r]])},n.createJsonPropertyAssignment=c,n.findJsonProperty=l,n.tryGetAutoImportableReferenceFromTypeNode=u,n.importSymbols=d}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n){return e.isParameterPropertyDeclaration(n,n.parent)||e.isPropertyDeclaration(n)||e.isPropertyAssignment(n)}function r(n,t){return e.isIdentifier(t)?e.factory.createIdentifier(n):e.factory.createStringLiteral(n)}function a(n,t,r){var a=t?r.name:e.factory.createThis();return e.isIdentifier(n)?e.factory.createPropertyAccessExpression(a,n):e.factory.createElementAccessExpression(a,e.factory.createStringLiteralFromNode(n))}function i(n){return n?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(n)):void 0}function o(n,a,i,o){void 0===o&&(o=!0);var s=e.getTokenAtPosition(n,a),c=a===i&&o,l=e.findAncestor(s.parent,t);if(!l||!e.nodeOverlapsWithStartEnd(l.name,n,a,i)&&!c)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)};if(!function(n){return e.isIdentifier(n)||e.isStringLiteral(n)}(l.name))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Name_is_not_valid)};if(124!=(124|e.getEffectiveModifierFlags(l)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_property_with_modifier)};var u=l.name.text,d=e.startsWithUnderscore(u),p=r(d?u:e.getUniqueName("_"+u,n),l.name),f=r(d?e.getUniqueName(u.substring(1),n):u,l.name);return{info:{isStatic:e.hasStaticModifier(l),isReadonly:e.hasEffectiveReadonlyModifier(l),type:e.getTypeAnnotationNode(l),container:159===l.kind?l.parent.parent:l.parent,originalName:l.name.text,declaration:l,fieldName:p,accessorName:f,renameAccessor:d}}}function s(n,t,r,a,i){e.isParameterPropertyDeclaration(a,a.parent)?n.insertNodeAtClassStart(t,i,r):e.isPropertyAssignment(a)?n.insertNodeAfterComma(t,a,r):n.insertNodeAfter(t,a,r)}n.generateAccessorFromProperty=function(n,t,r,c,l){var u=o(n,t,r);if(u&&u.info){var d,p,f=e.textChanges.ChangeTracker.fromContext(c),m=u.info,_=m.isStatic,g=m.isReadonly,y=m.fieldName,h=m.accessorName,v=m.originalName,b=m.type,E=m.container,T=m.declaration;if(e.suppressLeadingAndTrailingTrivia(y),e.suppressLeadingAndTrailingTrivia(h),e.suppressLeadingAndTrailingTrivia(T),e.suppressLeadingAndTrailingTrivia(E),e.isClassLike(E)){var S=e.getEffectiveModifierFlags(T);if(e.isSourceFileJS(n)){var L=i(S);d=L,p=L}else d=i(function(e){e&=-65,16&(e&=-9)||(e|=4);return e}(S)),p=i(function(e){return e&=-5,e&=-17,e|=8}(S))}!function(n,t,r,a,i){e.isPropertyDeclaration(r)?function(n,t,r,a,i){var o=e.factory.updatePropertyDeclaration(r,r.decorators,i,a,r.questionToken||r.exclamationToken,r.type,r.initializer);n.replaceNode(t,r,o)}(n,t,r,a,i):e.isPropertyAssignment(r)?function(n,t,r,a){var i=e.factory.updatePropertyAssignment(r,a,r.initializer);n.replacePropertyAssignment(t,r,i)}(n,t,r,a):n.replaceNode(t,r,e.factory.updateParameterDeclaration(r,r.decorators,i,r.dotDotDotToken,e.cast(a,e.isIdentifier),r.questionToken,r.type,r.initializer))}(f,n,T,y,p);var x=function(n,t,r,i,o,s){return e.factory.createGetAccessorDeclaration(void 0,i,t,void 0,r,e.factory.createBlock([e.factory.createReturnStatement(a(n,o,s))],!0))}(y,h,b,d,_,E);if(e.suppressLeadingAndTrailingTrivia(x),s(f,n,x,T,E),g){var A=e.getFirstConstructorWithBody(E);A&&function(n,t,r,a,i){if(!r.body)return;r.body.forEachChild((function r(o){e.isElementAccessExpression(o)&&107===o.expression.kind&&e.isStringLiteral(o.argumentExpression)&&o.argumentExpression.text===i&&e.isWriteAccess(o)&&n.replaceNode(t,o.argumentExpression,e.factory.createStringLiteral(a)),e.isPropertyAccessExpression(o)&&107===o.expression.kind&&o.name.text===i&&e.isWriteAccess(o)&&n.replaceNode(t,o.name,e.factory.createIdentifier(a)),e.isFunctionLike(o)||e.isClassLike(o)||o.forEachChild(r)}))}(f,n,A,y.text,v)}else{var D=function(n,t,r,i,o,s){return e.factory.createSetAccessorDeclaration(void 0,i,t,[e.factory.createParameterDeclaration(void 0,void 0,void 0,e.factory.createIdentifier("value"),void 0,r)],e.factory.createBlock([e.factory.createExpressionStatement(e.factory.createAssignment(a(n,o,s),e.factory.createIdentifier("value")))],!0))}(y,h,b,d,_,E);e.suppressLeadingAndTrailingTrivia(D),s(f,n,D,T,E)}return f.getChanges()}},n.getAccessorConvertiblePropertyAtPosition=o,n.getAllSupers=function(n,t){for(var r=[];n;){var a=e.getClassExtendsHeritageElement(n),i=a&&t.getSymbolAtLocation(a.expression);if(!i)break;var o=2097152&i.flags?t.getAliasedSymbol(i):i,s=e.find(o.declarations,e.isClassLike);if(!s)break;r.push(s),n=s}return r}}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(t,r,a,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(r,a,i)}));return n.createCodeFixActionWithoutFixAll("invalidImportSyntax",o,[e.Diagnostics.Replace_import_with_0,o[0].textChanges[0].newText])}function r(r,a){var i=r.program.getTypeChecker().getTypeAtLocation(a);if(!i.symbol||!i.symbol.originatingImport)return[];var o=[],s=i.symbol.originatingImport;if(e.isImportCall(s)||e.addRange(o,function(n,r){var a=e.getSourceFileOfNode(r),i=e.getNamespaceDeclarationNode(r),o=n.program.getCompilerOptions(),s=[];return s.push(t(n,a,r,e.makeImport(i.name,void 0,r.moduleSpecifier,e.getQuotePreference(a,n.preferences)))),e.getEmitModuleKind(o)===e.ModuleKind.CommonJS&&s.push(t(n,a,r,e.factory.createImportEqualsDeclaration(void 0,void 0,i.name,e.factory.createExternalModuleReference(r.moduleSpecifier)))),s}(r,s)),e.isExpression(a)&&(!e.isNamedDeclaration(a.parent)||a.parent.name!==a)){var c=r.sourceFile,l=e.textChanges.ChangeTracker.with(r,(function(n){return n.replaceNode(c,a,e.factory.createPropertyAccessExpression(a,"default"),{})}));o.push(n.createCodeFixActionWithoutFixAll("invalidImportSyntax",l,e.Diagnostics.Use_synthetic_default_member))}return o}n.registerCodeFix({errorCodes:[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:function(n){var t=n.sourceFile,a=e.Diagnostics.This_expression_is_not_callable.code===n.errorCode?200:201,i=e.findAncestor(e.getTokenAtPosition(t,n.span.start),(function(e){return e.kind===a}));if(!i)return[];var o=i.expression;return r(n,o)}}),n.registerCodeFix({errorCodes:[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,e.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2.code,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,e.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:function(n){var t=n.sourceFile,a=e.findAncestor(e.getTokenAtPosition(t,n.span.start),(function(e){return e.getStart()===n.span.start&&e.getEnd()===n.span.start+n.span.length}));if(!a)return[];return r(n,a)}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="strictClassInitialization",r=[e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.isIdentifier(r)?e.cast(r.parent,e.isPropertyDeclaration):void 0}function i(r,a){var i=e.textChanges.ChangeTracker.with(r,(function(e){return o(e,r.sourceFile,a)}));return n.createCodeFixAction(t,i,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,a.getText()],"addMissingPropertyDefiniteAssignmentAssertions",e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function o(n,t,r){var a=e.factory.updatePropertyDeclaration(r,r.decorators,r.modifiers,r.name,e.factory.createToken(53),r.type,r.initializer);n.replaceNode(t,r,a)}function s(r,a){var i=e.textChanges.ChangeTracker.with(r,(function(e){return c(e,r.sourceFile,a)}));return n.createCodeFixAction(t,i,[e.Diagnostics.Add_undefined_type_to_property_0,a.name.getText()],"addMissingPropertyUndefinedType",e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function c(n,t,r){var a=e.factory.createKeywordTypeNode(149),i=r.type,o=e.isUnionTypeNode(i)?i.types.concat(a):[i,a];n.replaceNode(t,i,e.factory.createUnionTypeNode(o))}function l(n,t,r,a){var i=e.factory.updatePropertyDeclaration(r,r.decorators,r.modifiers,r.name,r.questionToken,r.type,a);n.replaceNode(t,r,i)}function u(n,t){return function n(t,r){if(512&r.flags)return r===t.getFalseType()||r===t.getFalseType(!0)?e.factory.createFalse():e.factory.createTrue();if(r.isStringLiteral())return e.factory.createStringLiteral(r.value);if(r.isNumberLiteral())return e.factory.createNumericLiteral(r.value);if(2048&r.flags)return e.factory.createBigIntLiteral(r.value);if(r.isUnion())return e.firstDefined(r.types,(function(e){return n(t,e)}));if(r.isClass()){var a=e.getClassLikeDeclarationOfSymbol(r.symbol);if(!a||e.hasSyntacticModifier(a,128))return;var i=e.getFirstConstructorWithBody(a);if(i&&i.parameters.length)return;return e.factory.createNewExpression(e.factory.createIdentifier(r.symbol.name),void 0,void 0)}if(t.isArrayLikeType(r))return e.factory.createArrayLiteralExpression();return}(n,n.getTypeFromTypeNode(t.type))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=a(r.sourceFile,r.span.start);if(o){var c=[s(r,o),i(r,o)];return e.append(c,function(r,a){var i=u(r.program.getTypeChecker(),a);if(!i)return;var o=e.textChanges.ChangeTracker.with(r,(function(e){return l(e,r.sourceFile,a,i)}));return n.createCodeFixAction(t,o,[e.Diagnostics.Add_initializer_to_property_0,a.name.getText()],"addMissingPropertyInitializer",e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}(r,o)),c}},fixIds:["addMissingPropertyDefiniteAssignmentAssertions","addMissingPropertyUndefinedType","addMissingPropertyInitializer"],getAllCodeActions:function(t){return n.codeFixAll(t,r,(function(n,r){var i=a(r.file,r.start);if(i)switch(t.fixId){case"addMissingPropertyDefiniteAssignmentAssertions":o(n,r.file,i);break;case"addMissingPropertyUndefinedType":c(n,r.file,i);break;case"addMissingPropertyInitializer":var s=u(t.program.getTypeChecker(),i);if(!s)return;l(n,r.file,i,s);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="requireInTs",r=[e.Diagnostics.require_call_may_be_converted_to_an_import.code];function a(n,t,r){var a=r.allowSyntheticDefaults,i=r.defaultImportName,o=r.namedImports,s=r.statement,c=r.required;n.replaceNode(t,s,i&&!a?e.factory.createImportEqualsDeclaration(void 0,void 0,i,e.factory.createExternalModuleReference(c)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,i,o),c))}function i(n,t,r){var a=e.getTokenAtPosition(n,r).parent;if(!e.isRequireCall(a,!0))throw e.Debug.failBadSyntaxKind(a);var i=e.cast(a.parent,e.isVariableDeclaration),o=e.tryCast(i.name,e.isIdentifier),s=e.isObjectBindingPattern(i.name)?function(n){for(var t=[],r=0,a=n.elements;r<a.length;r++){var i=a[r];if(!e.isIdentifier(i.name)||i.initializer)return;t.push(e.factory.createImportSpecifier(e.tryCast(i.propertyName,e.isIdentifier),i.name))}if(t.length)return e.factory.createNamedImports(t)}(i.name):void 0;if(o||s)return{allowSyntheticDefaults:e.getAllowSyntheticDefaultImports(t.getCompilerOptions()),defaultImportName:o,namedImports:s,statement:e.cast(i.parent.parent,e.isVariableStatement),required:e.first(a.arguments)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=i(r.sourceFile,r.program,r.span.start);if(o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Convert_require_to_import,t,e.Diagnostics.Convert_all_require_to_import)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=i(t.file,e.program,t.start);r&&a(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="useDefaultImport",r=[e.Diagnostics.Import_may_be_converted_to_a_default_import.code];function a(n,t){var r=e.getTokenAtPosition(n,t);if(e.isIdentifier(r)){var a=r.parent;if(e.isImportEqualsDeclaration(a)&&e.isExternalModuleReference(a.moduleReference))return{importNode:a,name:r,moduleSpecifier:a.moduleReference.expression};if(e.isNamespaceImport(a)){var i=a.parent.parent;return{importNode:i,name:r,moduleSpecifier:i.moduleSpecifier}}}}function i(n,t,r,a){n.replaceNode(t,r.importNode,e.makeImport(r.name,void 0,r.moduleSpecifier,e.getQuotePreference(t,a)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span.start,c=a(o,s);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c,r.preferences)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Convert_to_default_import,t,e.Diagnostics.Convert_all_to_default_imports)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,t.start);r&&i(n,t.file,r,e.preferences)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="useBigintLiteral",r=[e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),e.isNumericLiteral);if(a){var i=a.getText(t)+"n";n.replaceNode(t,a,e.factory.createBigIntLiteral(i))}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_to_a_bigint_numeric_literal,t,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixAddModuleReferTypeMissingTypeof",r=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(99===r.kind,"This token should be an ImportKeyword"),e.Debug.assert(192===r.parent.kind,"Token parent should be an ImportType"),r.parent}function i(n,t,r){var a=e.factory.updateImportTypeNode(r,r.argument,r.qualifier,r.typeArguments,!0);n.replaceNode(t,r,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start),l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_missing_typeof,t,e.Diagnostics.Add_missing_typeof)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return i(n,e.sourceFile,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="wrapJsxInFragment",r=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];function a(n,t){var r=e.getTokenAtPosition(n,t).parent.parent;if((e.isBinaryExpression(r)||(r=r.parent,e.isBinaryExpression(r)))&&e.nodeIsMissing(r.operatorToken))return r}function i(n,t,r){var a=function(n){var t=[],r=n;for(;;){if(e.isBinaryExpression(r)&&e.nodeIsMissing(r.operatorToken)&&27===r.operatorToken.kind){if(t.push(r.left),e.isJsxChild(r.right))return t.push(r.right),t;if(e.isBinaryExpression(r.right)){r=r.right;continue}return}return}}(r);a&&n.replaceNode(t,r,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),a,e.factory.createJsxJsxClosingFragment()))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.program.getCompilerOptions().jsx;if(2===o||3===o){var s=r.sourceFile,c=r.span,l=a(s,c.start);if(l){var u=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,s,l)}));return[n.createCodeFixAction(t,u,e.Diagnostics.Wrap_in_JSX_fragment,t,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(e.sourceFile,t.start);r&&i(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixConvertToMappedObjectType",r=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.cast(r.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(a.parent))return{indexSignature:a,container:e.isInterfaceDeclaration(a.parent)?a.parent:e.cast(a.parent.parent,e.isTypeAliasDeclaration)}}function i(n,t,r){var a,i,s=r.indexSignature,c=r.container,l=(e.isInterfaceDeclaration(c)?c.members:c.type.members).filter((function(n){return!e.isIndexSignatureDeclaration(n)})),u=e.first(s.parameters),d=e.factory.createTypeParameterDeclaration(e.cast(u.name,e.isIdentifier),u.type),p=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(s)?e.factory.createModifier(141):void 0,d,s.questionToken,s.type),f=e.factory.createIntersectionTypeNode(o(e.getAllSuperTypeNodes(c),[p],l.length?[e.factory.createTypeLiteralNode(l)]:e.emptyArray));n.replaceNode(t,c,(a=c,i=f,e.factory.createTypeAliasDeclaration(a.decorators,a.modifiers,a.name,a.typeParameters,i)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)})),u=e.idText(c.container.name);return[n.createCodeFixAction(t,l,[e.Diagnostics.Convert_0_to_mapped_object_type,u],t,[e.Diagnostics.Convert_0_to_mapped_object_type,u])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="removeAccidentalCallParentheses",r=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=e.findAncestor(e.getTokenAtPosition(r.sourceFile,r.span.start),e.isCallExpression);if(a){var i=e.textChanges.ChangeTracker.with(r,(function(e){e.deleteRange(r.sourceFile,{pos:a.expression.end,end:a.end})}));return[n.createCodeFixActionWithoutFixAll(t,i,e.Diagnostics.Remove_parentheses)]}},fixIds:[t]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="removeUnnecessaryAwait",r=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),(function(e){return 130===e.kind})),i=a&&e.tryCast(a.parent,e.isAwaitExpression);if(i){var o=i;if(e.isParenthesizedExpression(i.parent)){var s=e.getLeftmostExpression(i.expression,!1);if(e.isIdentifier(s)){var c=e.findPrecedingToken(i.parent.pos,t);c&&102!==c.kind&&(o=i.parent)}}n.replaceNode(t,o,i.expression)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unnecessary_await,t,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],r="splitTypeOnlyImport";function a(n,t){return e.findAncestor(e.getTokenAtPosition(n,t.start),e.isImportDeclaration)}function i(n,t,r){if(t){var a=e.Debug.checkDefined(t.importClause);n.replaceNode(r.sourceFile,t,e.factory.updateImportDeclaration(t,t.decorators,t.modifiers,e.factory.updateImportClause(a,a.isTypeOnly,a.name,void 0),t.moduleSpecifier)),n.insertNodeAfter(r.sourceFile,t,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(a,a.isTypeOnly,void 0,a.namedBindings),t.moduleSpecifier))}}n.registerCodeFix({errorCodes:t,fixIds:[r],getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){return i(e,a(t.sourceFile,t.span),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Split_into_two_separate_import_declarations,r,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){i(n,a(e.sourceFile,t),e)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixConvertConstToLet",r=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=r.program,s=function(n,t,r){var a=e.getTokenAtPosition(n,t),i=r.getTypeChecker().getSymbolAtLocation(a);if(i)return i.valueDeclaration.parent.parent}(a,i.start,o),c=e.textChanges.ChangeTracker.with(r,(function(e){return function(e,n,t){if(!t)return;var r=t.getStart();e.replaceRangeWithText(n,{pos:r,end:r+5},"let")}(e,a,s)}));return[n.createCodeFixAction(t,c,e.Diagnostics.Convert_const_to_let,t,e.Diagnostics.Convert_const_to_let)]},fixIds:[t]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixExpectedComma",r=[e.Diagnostics._0_expected.code];function a(n,t,r){var a=e.getTokenAtPosition(n,t);return 26===a.kind&&a.parent&&(e.isObjectLiteralExpression(a.parent)||e.isArrayLiteralExpression(a.parent))?{node:a}:void 0}function i(n,t,r){var a=r.node,i=e.factory.createToken(27);n.replaceNode(t,a,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=a(o,r.span.start,r.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,s)}));return[n.createCodeFixAction(t,c,[e.Diagnostics.Change_0_to_1,";",","],t,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,t.start,t.code);r&&i(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n,t){void 0===t&&(t=!0);var r=n.file,a=e.getRefactorContextSpan(n),i=e.getTokenAtPosition(r,a.start),o=i.parent&&1&e.getSyntacticModifierFlags(i.parent)&&t?i.parent:e.getParentNodeInSpan(i,r,a);if(!(o&&(e.isSourceFile(o.parent)||e.isModuleBlock(o.parent)&&e.isAmbientModule(o.parent.parent))))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var s=e.isSourceFile(o.parent)?o.parent.symbol:o.parent.parent.symbol,c=e.getSyntacticModifierFlags(o),l=!!(512&c);if(!(1&c)||!l&&s.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};switch(o.kind){case 248:case 249:case 250:case 252:case 251:case 253:var u=o;return u.name&&e.isIdentifier(u.name)?{info:{exportNode:u,exportName:u.name,wasDefault:l,exportingModuleSymbol:s}}:void 0;case 229:var d=o;if(!(2&d.declarationList.flags)||1!==d.declarationList.declarations.length)return;var p=e.first(d.declarationList.declarations);if(!p.initializer)return;return e.Debug.assert(!l,"Can't have a default flag here"),e.isIdentifier(p.name)?{info:{exportNode:d,exportName:p.name,wasDefault:l,exportingModuleSymbol:s}}:void 0;default:return}}function r(n,t){return e.factory.createImportSpecifier(n===t?void 0:e.factory.createIdentifier(n),e.factory.createIdentifier(t))}n.registerRefactor("Convert export",{getAvailableActions:function(n){var r=t(n,"invoked"===n.triggerReason);if(!r)return e.emptyArray;if(void 0===r.error){var a=r.info.wasDefault?e.Diagnostics.Convert_default_export_to_named_export.message:e.Diagnostics.Convert_named_export_to_default_export.message;return[{name:"Convert export",description:a,actions:[{name:r.info.wasDefault?"Convert default export to named export":"Convert named export to default export",description:a}]}]}return n.preferences.provideRefactorNotApplicableReason?[{name:"Convert export",description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[{name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,notApplicableReason:r.error}]},{name:"Convert export",description:e.Diagnostics.Convert_named_export_to_default_export.message,actions:[{name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,notApplicableReason:r.error}]}]:e.emptyArray},getEditsForAction:function(n,a){return e.Debug.assert("Convert default export to named export"===a||"Convert named export to default export"===a,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(n,(function(a){var i,o,s,c,l,u;return o=n.file,s=n.program,c=e.Debug.checkDefined(null===(i=t(n))||void 0===i?void 0:i.info,"context must have info"),l=a,u=n.cancellationToken,function(n,t,r,a){var i=t.wasDefault,o=t.exportNode,s=t.exportName;if(i)r.delete(n,e.Debug.checkDefined(e.findModifier(o,87),"Should find a default keyword in modifier list"));else{var c=e.Debug.checkDefined(e.findModifier(o,92),"Should find an export keyword in modifier list");switch(o.kind){case 248:case 249:case 250:r.insertNodeAfter(n,c,e.factory.createToken(87));break;case 229:if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,a,n)){r.replaceNode(n,o,e.factory.createExportDefault(e.Debug.checkDefined(e.first(o.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 252:case 251:case 253:r.deleteModifier(n,c),r.insertNodeAfter(n,o,e.factory.createExportDefault(e.factory.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}}(o,c,l,s.getTypeChecker()),void function(n,t,a,i){var o=t.wasDefault,s=t.exportName,c=t.exportingModuleSymbol,l=n.getTypeChecker(),u=e.Debug.checkDefined(l.getSymbolAtLocation(s),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(n.getSourceFiles(),l,i,u,c,s.text,o,(function(n){var t=n.getSourceFile();o?function(n,t,a,i){var o=t.parent;switch(o.kind){case 198:a.replaceNode(n,t,e.factory.createIdentifier(i));break;case 262:case 267:var s=o;a.replaceNode(n,s,r(i,s.name.text));break;case 259:var c=o;e.Debug.assert(c.name===t,"Import clause name should match provided ref"),s=r(i,t.text);var l=c.namedBindings;if(l)if(260===l.kind){a.deleteRange(n,{pos:t.getStart(n),end:l.getStart(n)});var u=e.isStringLiteral(c.parent.moduleSpecifier)?e.quotePreferenceFromString(c.parent.moduleSpecifier,n):1,d=e.makeImport(void 0,[r(i,t.text)],c.parent.moduleSpecifier,u);a.insertNodeAfter(n,c.parent,d)}else a.delete(n,t),a.insertNodeAtEndOfList(n,l.elements,s);else a.replaceNode(n,t,e.factory.createNamedImports([s]));break;default:e.Debug.failBadSyntaxKind(o)}}(t,n,a,s.text):function(n,t,r){var a,i,o=t.parent;switch(o.kind){case 198:r.replaceNode(n,t,e.factory.createIdentifier("default"));break;case 262:var s=e.factory.createIdentifier(o.name.text);1===o.parent.elements.length?r.replaceNode(n,o.parent,s):(r.delete(n,o),r.insertNodeBefore(n,o.parent,s));break;case 267:r.replaceNode(n,o,(a="default",i=o.name.text,e.factory.createExportSpecifier(a===i?void 0:e.factory.createIdentifier(a),e.factory.createIdentifier(i))));break;default:e.Debug.assertNever(o,"Unexpected parent kind "+o.kind)}}(t,n,a)}))}(s,c,l,u)})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){function t(n,t){void 0===t&&(t=!0);var r=n.file,a=e.getRefactorContextSpan(n),i=e.getTokenAtPosition(r,a.start),o=t?e.findAncestor(i,e.isImportDeclaration):e.getParentNodeInSpan(i,r,a);if(!o||!e.isImportDeclaration(o))return{error:"Selection is not an import declaration."};if(!(o.getEnd()<a.start+a.length)){var s=o.importClause;return s?s.namedBindings?{info:s.namedBindings}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)}}}function r(n,t,r){return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,t,r&&r.length?e.factory.createNamedImports(r):void 0),n.moduleSpecifier)}n.registerRefactor("Convert import",{getAvailableActions:function(n){var r=t(n,"invoked"===n.triggerReason);if(!r)return e.emptyArray;if(void 0===r.error){var a=260===r.info.kind?e.Diagnostics.Convert_namespace_import_to_named_imports.message:e.Diagnostics.Convert_named_imports_to_namespace_import.message;return[{name:"Convert import",description:a,actions:[{name:260===r.info.kind?"Convert namespace import to named imports":"Convert named imports to namespace import",description:a}]}]}return n.preferences.provideRefactorNotApplicableReason?[{name:"Convert import",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,actions:[{name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,notApplicableReason:r.error}]},{name:"Convert import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,actions:[{name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,notApplicableReason:r.error}]}]:e.emptyArray},getEditsForAction:function(n,a){return e.Debug.assert("Convert namespace import to named imports"===a||"Convert named imports to namespace import"===a,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(n,(function(a){var i,o,s,c,l,u;return o=n.file,s=n.program,c=a,l=e.Debug.checkDefined(null===(i=t(n))||void 0===i?void 0:i.info,"Context must provide an import to convert"),u=s.getTypeChecker(),void(260===l.kind?function(n,t,a,i,o){var s=!1,c=[],l=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,t,n,(function(n){if(e.isPropertyAccessExpression(n.parent)){var r=e.cast(n.parent,e.isPropertyAccessExpression),a=r.name.text;t.resolveName(a,n,67108863,!0)&&l.set(a,!0),e.Debug.assert(r.expression===n,"Parent expression should match id"),c.push(r)}else s=!0}));for(var u=new e.Map,d=0,p=c;d<p.length;d++){var f=p[d],m=f.name.text,_=u.get(m);void 0===_&&u.set(m,_=l.has(m)?e.getUniqueName(m,n):m),a.replaceNode(n,f,e.factory.createIdentifier(_))}var g=[];u.forEach((function(n,t){g.push(e.factory.createImportSpecifier(n===t?void 0:e.factory.createIdentifier(t),e.factory.createIdentifier(n)))}));var y=i.parent.parent;s&&!o?a.insertNodeAfter(n,y,r(y,void 0,g)):a.replaceNode(n,y,r(y,s?e.factory.createIdentifier(i.name.text):void 0,g))}(o,u,c,l,e.getAllowSyntheticDefaultImports(s.getCompilerOptions())):function(n,t,a,i){for(var o=i.parent.parent,s=o.moduleSpecifier,c=s&&e.isStringLiteral(s)?e.codefix.moduleSpecifierToValidIdentifier(s.text,99):"module",l=i.elements.some((function(r){return e.FindAllReferences.Core.eachSymbolReferenceInFile(r.name,t,n,(function(e){return!!t.resolveName(c,e,67108863,!0)}))||!1}))?e.getUniqueName(c,n):c,u=[],d=function(r){var i=(r.propertyName||r.name).text;e.FindAllReferences.Core.eachSymbolReferenceInFile(r.name,t,n,(function(t){var o=e.factory.createPropertyAccessExpression(e.factory.createIdentifier(l),i);e.isShorthandPropertyAssignment(t.parent)?a.replaceNode(n,t.parent,e.factory.createPropertyAssignment(t.text,o)):e.isExportSpecifier(t.parent)&&!t.parent.propertyName?u.some((function(e){return e.name===r.name}))||u.push(e.factory.createImportSpecifier(r.propertyName&&e.factory.createIdentifier(r.propertyName.text),e.factory.createIdentifier(r.name.text))):a.replaceNode(n,t,o)}))},p=0,f=i.elements;p<f.length;p++){var m=f[p];d(m)}a.replaceNode(n,i,e.factory.createNamespaceImport(e.factory.createIdentifier(l))),u.length&&a.insertNodeAfter(n,i.parent.parent,r(o,void 0,u))}(o,u,c,l))})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert to optional chain expression",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_optional_chain_expression);function i(n){return e.isBinaryExpression(n)||e.isConditionalExpression(n)}function o(n){return i(n)||function(n){return e.isExpressionStatement(n)||e.isReturnStatement(n)||e.isVariableStatement(n)}(n)}function s(n,t){void 0===t&&(t=!0);var r=n.file,a=n.program,s=e.getRefactorContextSpan(n),d=0===s.length;if(!d||t){var p=e.getTokenAtPosition(r,s.start),f=e.findTokenOnLeftOfPosition(r,s.start+s.length),m=e.createTextSpanFromBounds(p.pos,f&&f.end>=p.pos?f.getEnd():p.getEnd()),_=d?function(e){for(;e.parent;){if(o(e)&&!o(e.parent))return e;e=e.parent}return}(p):function(e,n){for(;e.parent;){if(o(e)&&0!==n.length&&e.end>=n.start+n.length)return e;e=e.parent}return}(p,m),g=_&&o(_)?function(n){if(i(n))return n;if(e.isVariableStatement(n)){var t=e.getSingleVariableOfVariableStatement(n),r=null==t?void 0:t.initializer;return r&&i(r)?r:void 0}return n.expression&&i(n.expression)?n.expression:void 0}(_):void 0;if(!g)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var y=a.getTypeChecker();return e.isConditionalExpression(g)?function(n,t){var r=n.condition,a=u(n.whenTrue);if(!a||t.isNullableType(t.getTypeAtLocation(a)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(r)||e.isIdentifier(r))&&l(r,a.expression))return{info:{finalExpression:a,occurrences:[r],expression:n}};if(e.isBinaryExpression(r)){var i=c(a.expression,r);return i?{info:{finalExpression:a,occurrences:i,expression:n}}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}(g,y):function(n){if(55!==n.operatorToken.kind)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var t=u(n.right);if(!t)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var r=c(t.expression,n.left);return r?{info:{finalExpression:t,occurrences:r,expression:n}}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}(g)}}function c(n,t){for(var r=[];e.isBinaryExpression(t)&&55===t.operatorToken.kind;){var a=l(e.skipParentheses(n),e.skipParentheses(t.right));if(!a)break;r.push(a),n=a,t=t.left}var i=l(n,t);return i&&r.push(i),r.length>0?r:void 0}function l(n,t){return(e.isIdentifier(t)||e.isPropertyAccessExpression(t))&&function(n,t){for(;e.isCallExpression(n)||e.isPropertyAccessExpression(n);){var r=e.isPropertyAccessExpression(t)?t.name.getText():t.getText();if(e.isPropertyAccessExpression(n)&&n.name.getText()===r)break;n=n.expression}for(;e.isPropertyAccessExpression(n)&&e.isPropertyAccessExpression(t);){if(n.name.getText()!==t.name.getText())return!1;n=n.expression,t=t.expression}return e.isIdentifier(n)&&e.isIdentifier(t)&&n.getText()===t.getText()}(n,t)?t:void 0}function u(n){return n=e.skipParentheses(n),e.isBinaryExpression(n)?u(n.left):!e.isPropertyAccessExpression(n)&&!e.isCallExpression(n)||e.isOptionalChain(n)?void 0:n}n.registerRefactor(r,{getAvailableActions:function(n){var t=s(n,"invoked"===n.triggerReason);if(!t)return e.emptyArray;if(!t.error)return[{name:r,description:a,actions:[{name:r,description:a}]}];if(n.preferences.provideRefactorNotApplicableReason)return[{name:r,description:a,actions:[{name:r,description:a,notApplicableReason:t.error}]}];return e.emptyArray},getEditsForAction:function(n,t){var r=s(n);return r&&r.info?{edits:e.textChanges.ChangeTracker.with(n,(function(t){return function(n,t,r,a,i){var o=a.finalExpression,s=a.occurrences,c=a.expression,l=s[s.length-1],u=function n(t,r,a){if(e.isPropertyAccessExpression(r)||e.isCallExpression(r)){var i=n(t,r.expression,a),o=a.length>0?a[a.length-1]:void 0,s=(null==o?void 0:o.getText())===r.expression.getText();if(s&&a.pop(),e.isCallExpression(r))return s?e.factory.createCallChain(i,e.factory.createToken(28),r.typeArguments,r.arguments):e.factory.createCallChain(i,r.questionDotToken,r.typeArguments,r.arguments);if(e.isPropertyAccessExpression(r))return s?e.factory.createPropertyAccessChain(i,e.factory.createToken(28),r.name):e.factory.createPropertyAccessChain(i,r.questionDotToken,r.name)}return r}(t,o,s);u&&(e.isPropertyAccessExpression(u)||e.isCallExpression(u))&&(e.isBinaryExpression(c)?r.replaceNodeRange(n,l,o,u):e.isConditionalExpression(c)&&r.replaceNode(n,c,e.factory.createBinaryExpression(u,e.factory.createToken(60),c.whenFalse)))}(n.file,n.program.getTypeChecker(),t,e.Debug.checkDefined(r.info,"context must have info"))})),renameFilename:void 0,renameLocation:void 0}:void 0}})}(n.convertToOptionalChainExpression||(n.convertToOptionalChainExpression={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert overload list to single signature",a=e.Diagnostics.Convert_overload_list_to_single_signature.message;function i(e){switch(e.kind){case 163:case 164:case 168:case 165:case 169:case 248:return!0}return!1}function o(n,t,r){var a=e.getTokenAtPosition(n,t),o=e.findAncestor(a,i);if(o){var s=r.getTypeChecker(),c=o.symbol;if(c){var l=c.declarations;if(!(e.length(l)<=1)&&e.every(l,(function(t){return e.getSourceFileOfNode(t)===n}))&&i(l[0])){var u=l[0].kind;if(e.every(l,(function(e){return e.kind===u}))){var d=l;if(!e.some(d,(function(n){return!!n.typeParameters||e.some(n.parameters,(function(n){return!!n.decorators||!!n.modifiers||!e.isIdentifier(n.name)}))}))){var p=e.mapDefined(d,(function(e){return s.getSignatureFromDeclaration(e)}));if(e.length(p)===e.length(l)){var f=s.getReturnTypeOfSignature(p[0]);if(e.every(p,(function(e){return s.getReturnTypeOfSignature(e)===f})))return d}}}}}}}n.registerRefactor(r,{getEditsForAction:function(n){var t=n.file,r=n.startPosition,a=n.program,i=o(t,r,a);if(!i)return;var s=a.getTypeChecker(),c=i[i.length-1],l=c;switch(c.kind){case 163:l=e.factory.updateMethodSignature(c,c.modifiers,c.name,c.questionToken,c.typeParameters,d(i),c.type);break;case 164:l=e.factory.updateMethodDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.questionToken,c.typeParameters,d(i),c.type,c.body);break;case 168:l=e.factory.updateCallSignature(c,c.typeParameters,d(i),c.type);break;case 165:l=e.factory.updateConstructorDeclaration(c,c.decorators,c.modifiers,d(i),c.body);break;case 169:l=e.factory.updateConstructSignature(c,c.typeParameters,d(i),c.type);break;case 248:l=e.factory.updateFunctionDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.typeParameters,d(i),c.type,c.body);break;default:return e.Debug.failBadSyntaxKind(c,"Unhandled signature kind in overload list conversion refactoring")}if(l===c)return;var u=e.textChanges.ChangeTracker.with(n,(function(e){e.replaceNodeRange(t,i[0],i[i.length-1],l)}));return{renameFilename:void 0,renameLocation:void 0,edits:u};function d(n){var t=n[n.length-1];return e.isFunctionLikeDeclaration(t)&&t.body&&(n=n.slice(0,n.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(n,p)))])}function p(n){var t=e.map(n.parameters,f);return e.setEmitFlags(e.factory.createTupleTypeNode(t),e.some(t,(function(n){return!!e.length(e.getSyntheticLeadingComments(n))}))?0:1)}function f(n){e.Debug.assert(e.isIdentifier(n.name));var t=e.setTextRange(e.factory.createNamedTupleMember(n.dotDotDotToken,n.name,n.questionToken,n.type||e.factory.createKeywordTypeNode(128)),n),r=n.symbol&&n.symbol.getDocumentationComment(s);if(r){var a=e.displayPartsToString(r);a.length&&e.setSyntheticLeadingComments(t,[{text:"*\n"+a.split("\n").map((function(e){return" * "+e})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return t}},getAvailableActions:function(n){var t=n.file,i=n.startPosition,s=n.program;return o(t,i,s)?[{name:r,description:a,actions:[{name:r,description:a}]}]:e.emptyArray}})}(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r,a,i,o;function s(n){var t=l(n.file,e.getRefactorContextSpan(n),"invoked"===n.triggerReason),r=t.targetRange;if(void 0===r)return t.errors&&0!==t.errors.length&&n.preferences.provideRefactorNotApplicableReason?[{name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[{description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),name:"function_extract_error",notApplicableReason:T(t.errors)}]},{name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[{description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),name:"constant_extract_error",notApplicableReason:T(t.errors)}]}]:e.emptyArray;var a=function(n,t){var r=p(n,t),a=r.scopes,i=r.readsAndWrites,o=i.functionErrorsPerScope,s=i.constantErrorsPerScope;return a.map((function(n,t){var r,a,i=function(n){return e.isFunctionLikeDeclaration(n)?"inner function":e.isClassLike(n)?"method":"function"}(n),c=function(n){return e.isClassLike(n)?"readonly field":"constant"}(n),l=e.isFunctionLikeDeclaration(n)?function(n){switch(n.kind){case 165:return"constructor";case 205:case 248:return n.name?"function '"+n.name.text+"'":e.ANONYMOUS;case 206:return"arrow function";case 164:return"method '"+n.name.getText()+"'";case 166:return"'get "+n.name.getText()+"'";case 167:return"'set "+n.name.getText()+"'";default:throw e.Debug.assertNever(n,"Unexpected scope kind "+n.kind)}}(n):e.isClassLike(n)?function(e){return 249===e.kind?e.name?"class '"+e.name.text+"'":"anonymous class declaration":e.name?"class expression '"+e.name.text+"'":"anonymous class expression"}(n):function(e){return 254===e.kind?"namespace '"+e.parent.name.getText()+"'":e.externalModuleIndicator?0:1}(n);return 1===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"global"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"global"])):0===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"module"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"module"])):(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[i,l]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,l])),0!==t||e.isClassLike(n)||(a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[c])),{functionExtraction:{description:r,errors:o[t]},constantExtraction:{description:a,errors:s[t]}}}))}(r,n);if(void 0===a)return e.emptyArray;for(var i,o,s=[],c=new e.Map,u=[],d=new e.Map,f=0,m=0,_=a;m<_.length;m++){var g=_[m],y=g.functionExtraction,h=g.constantExtraction,v=y.description;if(0===y.errors.length?c.has(v)||(c.set(v,!0),s.push({description:v,name:"function_scope_"+f})):i||(i={description:v,name:"function_scope_"+f,notApplicableReason:T(y.errors)}),0===h.errors.length){var b=h.description;d.has(b)||(d.set(b,!0),u.push({description:b,name:"constant_scope_"+f}))}else o||(o={description:v,name:"constant_scope_"+f,notApplicableReason:T(h.errors)});f++}var E=[];return s.length?E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:s}):n.preferences.provideRefactorNotApplicableReason&&i&&E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[i]}),u.length?E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:u}):n.preferences.provideRefactorNotApplicableReason&&o&&E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[o]}),E.length?E:e.emptyArray;function T(e){var n=e[0].messageText;return"string"!=typeof n&&(n=n.messageText),n}}function c(n,t){var r=l(n.file,e.getRefactorContextSpan(n)).targetRange,i=/^function_scope_(\d+)$/.exec(t);if(i){var o=+i[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the function scope index"),function(n,t,r){var i=p(n,t),o=i.scopes,s=i.readsAndWrites,c=s.target,l=s.usagesPerScope,u=s.functionErrorsPerScope,d=s.exposedVariableDeclarations;return e.Debug.assert(!u[r].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),function(n,t,r,i,o,s){var c,l,u=r.usages,d=r.typeParameterUsages,p=r.substitutions,y=s.program.getTypeChecker(),h=e.getEmitScriptTarget(s.program.getCompilerOptions()),b=e.codefix.createImportAdder(s.file,s.program,s.preferences,s.host),E=t.getSourceFile(),T=e.getUniqueName(e.isClassLike(t)?"newMethod":"newFunction",E),S=e.isInJSFile(t),L=e.factory.createIdentifier(T),x=[],A=[];u.forEach((function(n,r){var a;if(!S){var i=y.getTypeOfSymbolAtLocation(n.symbol,n.node);i=y.getBaseTypeOfLiteralType(i),a=e.codefix.typeToAutoImportableTypeNode(y,b,i,t,h,1)}var o=e.factory.createParameterDeclaration(void 0,void 0,void 0,r,void 0,a);x.push(o),2===n.usage&&(l||(l=[])).push(n),A.push(e.factory.createIdentifier(r))}));var D=e.arrayFrom(d.values()).map((function(e){return{type:e,declaration:f(e)}})).sort(m),C=0===D.length?void 0:D.map((function(e){return e.declaration})),I=void 0!==C?C.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)})):void 0;if(e.isExpression(n)&&!S){var N=y.getContextualType(n);c=y.typeToTypeNode(N,t,1)}var R,k=function(n,t,r,a,i){var o,s=void 0!==r||t.length>0;if(e.isBlock(n)&&!s&&0===a.size)return{body:e.factory.createBlock(n.statements,!0),returnValueProperty:void 0};var c=!1,l=e.factory.createNodeArray(e.isBlock(n)?n.statements.slice(0):[e.isStatement(n)?n:e.factory.createReturnStatement(n)]);if(s||a.size){var u=e.visitNodes(l,(function n(i){if(!c&&e.isReturnStatement(i)&&s){var l=_(t,r);return i.expression&&(o||(o="__return"),l.unshift(e.factory.createPropertyAssignment(o,e.visitNode(i.expression,n)))),1===l.length?e.factory.createReturnStatement(l[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(l))}var u=c;c=c||e.isFunctionLikeDeclaration(i)||e.isClassLike(i);var d=a.get(e.getNodeId(i).toString()),p=d?e.getSynthesizedDeepClone(d):e.visitEachChild(i,n,e.nullTransformationContext);return c=u,p})).slice();if(s&&!i&&e.isStatement(n)){var d=_(t,r);1===d.length?u.push(e.factory.createReturnStatement(d[0].name)):u.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(d)))}return{body:e.factory.createBlock(u,!0),returnValueProperty:o}}return{body:e.factory.createBlock(l,!0),returnValueProperty:void 0}}(n,i,l,p,!!(o.facts&a.HasReturn)),O=k.body,P=k.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(O),e.isClassLike(t)){var M=S?[]:[e.factory.createModifier(120)];o.facts&a.InStaticRegion&&M.push(e.factory.createModifier(123)),o.facts&a.IsAsyncFunction&&M.push(e.factory.createModifier(129)),R=e.factory.createMethodDeclaration(void 0,M.length?M:void 0,o.facts&a.IsGenerator?e.factory.createToken(41):void 0,L,void 0,C,x,c,O)}else R=e.factory.createFunctionDeclaration(void 0,o.facts&a.IsAsyncFunction?[e.factory.createToken(129)]:void 0,o.facts&a.IsGenerator?e.factory.createToken(41):void 0,L,C,x,c,O);var w=e.textChanges.ChangeTracker.fromContext(s),F=function(n,t){return e.find(function(n){if(e.isFunctionLikeDeclaration(n)){var t=n.body;if(e.isBlock(t))return t.statements}else{if(e.isModuleBlock(n)||e.isSourceFile(n))return n.statements;if(e.isClassLike(n))return n.members;e.assertType(n)}return e.emptyArray}(t),(function(t){return t.pos>=n&&e.isFunctionLikeDeclaration(t)&&!e.isConstructorDeclaration(t)}))}((g(o.range)?e.last(o.range):o.range).end,t);F?w.insertNodeBefore(s.file,F,R,!0):w.insertNodeAtEndOfScope(s.file,t,R);b.writeFixes(w);var G=[],B=function(n,t,r){var i=e.factory.createIdentifier(r);if(e.isClassLike(n)){var o=t.facts&a.InStaticRegion?e.factory.createIdentifier(n.name.text):e.factory.createThis();return e.factory.createPropertyAccessExpression(o,i)}return i}(t,o,T),U=e.factory.createCallExpression(B,I,A);o.facts&a.IsGenerator&&(U=e.factory.createYieldExpression(e.factory.createToken(41),U));o.facts&a.IsAsyncFunction&&(U=e.factory.createAwaitExpression(U));v(n)&&(U=e.factory.createJsxExpression(void 0,U));if(i.length&&!l)if(e.Debug.assert(!P,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&a.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===i.length){var V=i[0];G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(V.name),void 0,e.getSynthesizedDeepClone(V.type),U)],V.parent.flags)))}else{for(var j=[],K=[],H=i[0].parent.flags,W=!1,q=0,z=i;q<z.length;q++){V=z[q];j.push(e.factory.createBindingElement(void 0,void 0,e.getSynthesizedDeepClone(V.name)));var J=y.typeToTypeNode(y.getBaseTypeOfLiteralType(y.getTypeAtLocation(V)),t,1);K.push(e.factory.createPropertySignature(void 0,V.symbol.name,void 0,J)),W=W||void 0!==V.type,H&=V.parent.flags}var X=W?e.factory.createTypeLiteralNode(K):void 0;X&&e.setEmitFlags(X,1),G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.factory.createObjectBindingPattern(j),void 0,X,U)],H)))}else if(i.length||l){if(i.length)for(var Y=0,Q=i;Y<Q.length;Y++){var Z=(V=Q[Y]).parent.flags;2&Z&&(Z=-3&Z|1),G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(V.symbol.name,void 0,re(V.type))],Z)))}P&&G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(P,void 0,re(c))],1)));var $=_(i,l);P&&$.unshift(e.factory.createShorthandPropertyAssignment(P)),1===$.length?(e.Debug.assert(!P,"Shouldn't have returnValueProperty here"),G.push(e.factory.createExpressionStatement(e.factory.createAssignment($[0].name,U))),o.facts&a.HasReturn&&G.push(e.factory.createReturnStatement())):(G.push(e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createObjectLiteralExpression($),U))),P&&G.push(e.factory.createReturnStatement(e.factory.createIdentifier(P))))}else o.facts&a.HasReturn?G.push(e.factory.createReturnStatement(U)):g(o.range)?G.push(e.factory.createExpressionStatement(U)):G.push(U);g(o.range)?w.replaceNodeRangeWithNodes(s.file,e.first(o.range),e.last(o.range),G):w.replaceNodeWithNodes(s.file,o.range,G);var ee=w.getChanges(),ne=(g(o.range)?e.first(o.range):o.range).getSourceFile().fileName,te=e.getRenameLocation(ee,ne,T,!1);return{renameFilename:ne,renameLocation:te,edits:ee};function re(n){if(void 0!==n){for(var t=e.getSynthesizedDeepClone(n),r=t;e.isParenthesizedTypeNode(r);)r=r.type;return e.isUnionTypeNode(r)&&e.find(r.types,(function(e){return 149===e.kind}))?t:e.factory.createUnionTypeNode([t,e.factory.createKeywordTypeNode(149)])}}}(c,o[r],l[r],d,n,t)}(r,n,o)}var s=/^constant_scope_(\d+)$/.exec(t);if(s){o=+s[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the constant scope index"),function(n,t,r){var i=p(n,t),o=i.scopes,s=i.readsAndWrites,c=s.target,l=s.usagesPerScope,u=s.constantErrorsPerScope,f=s.exposedVariableDeclarations;return e.Debug.assert(!u[r].length,"The extraction went missing? How?"),e.Debug.assert(0===f.length,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested(),function(n,t,r,i,o){var s,c=r.substitutions,l=o.program.getTypeChecker(),u=t.getSourceFile(),p=e.getUniqueName(e.isClassLike(t)?"newProperty":"newLocal",u),f=e.isInJSFile(t),m=f||!l.isContextSensitive(n)?void 0:l.typeToTypeNode(l.getContextualType(n),t,1),_=function(n,t){return t.size?function n(r){var a=t.get(e.getNodeId(r).toString());return a?e.getSynthesizedDeepClone(a):e.visitEachChild(r,n,e.nullTransformationContext)}(n):n}(n,c);s=function(r,a){if(void 0===r)return{variableType:r,initializer:a};if(!e.isFunctionExpression(a)&&!e.isArrowFunction(a)||a.typeParameters)return{variableType:r,initializer:a};var i=l.getTypeAtLocation(n),o=e.singleOrUndefined(l.getSignaturesOfType(i,0));if(!o)return{variableType:r,initializer:a};if(o.getTypeParameters())return{variableType:r,initializer:a};for(var s=[],c=!1,u=0,d=a.parameters;u<d.length;u++){var p=d[u];if(p.type)s.push(p);else{var f=l.getTypeAtLocation(p);f===l.getAnyType()&&(c=!0),s.push(e.factory.updateParameterDeclaration(p,p.decorators,p.modifiers,p.dotDotDotToken,p.name,p.questionToken,p.type||l.typeToTypeNode(f,t,1),p.initializer))}}if(c)return{variableType:r,initializer:a};if(r=void 0,e.isArrowFunction(a))a=e.factory.updateArrowFunction(a,n.modifiers,a.typeParameters,s,a.type||l.typeToTypeNode(o.getReturnType(),t,1),a.equalsGreaterThanToken,a.body);else{if(o&&o.thisParameter){var m=e.firstOrUndefined(s);if(!m||e.isIdentifier(m.name)&&"this"!==m.name.escapedText){var _=l.getTypeOfSymbolAtLocation(o.thisParameter,n);s.splice(0,0,e.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,l.typeToTypeNode(_,t,1)))}}a=e.factory.updateFunctionExpression(a,n.modifiers,a.asteriskToken,a.name,a.typeParameters,s,a.type||l.typeToTypeNode(o.getReturnType(),t,1),a.body)}return{variableType:r,initializer:a}}(m,_),m=s.variableType,_=s.initializer,e.suppressLeadingAndTrailingTrivia(_);var g=e.textChanges.ChangeTracker.fromContext(o);if(e.isClassLike(t)){e.Debug.assert(!f,"Cannot extract to a JS class");var y=[];y.push(e.factory.createModifier(120)),i&a.InStaticRegion&&y.push(e.factory.createModifier(123)),y.push(e.factory.createModifier(141));var b=e.factory.createPropertyDeclaration(void 0,y,p,void 0,m,_),E=e.factory.createPropertyAccessExpression(i&a.InStaticRegion?e.factory.createIdentifier(t.name.getText()):e.factory.createThis(),e.factory.createIdentifier(p));v(n)&&(E=e.factory.createJsxExpression(void 0,E));var T=function(n,t){var r,a=t.members;e.Debug.assert(a.length>0,"Found no members");for(var i=!0,o=0,s=a;o<s.length;o++){var c=s[o];if(c.pos>n)return r||a[0];if(i&&!e.isPropertyDeclaration(c)){if(void 0!==r)return c;i=!1}r=c}return void 0===r?e.Debug.fail():r}(n.pos,t);g.insertNodeBefore(o.file,T,b,!0),g.replaceNode(o.file,n,E)}else{var S=e.factory.createVariableDeclaration(p,void 0,m,_),L=function(n,t){var r;for(;void 0!==n&&n!==t;){if(e.isVariableDeclaration(n)&&n.initializer===r&&e.isVariableDeclarationList(n.parent)&&n.parent.declarations.length>1)return n;r=n,n=n.parent}}(n,t);if(L){g.insertNodeBefore(o.file,L,S);E=e.factory.createIdentifier(p);g.replaceNode(o.file,n,E)}else if(230===n.parent.kind&&t===e.findAncestor(n,d)){var x=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([S],2));g.replaceNode(o.file,n.parent,x)}else{x=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([S],2));if(0===(T=function(n,t){var r;e.Debug.assert(!e.isClassLike(t));for(var a=n;a!==t;a=a.parent)d(a)&&(r=a);for(a=(r||n).parent;;a=a.parent){if(h(a)){for(var i=void 0,o=0,s=a.statements;o<s.length;o++){var c=s[o];if(c.pos>n.pos)break;i=c}return!i&&e.isCaseClause(a)?(e.Debug.assert(e.isSwitchStatement(a.parent.parent),"Grandparent isn't a switch statement"),a.parent.parent):e.Debug.checkDefined(i,"prevStatement failed to get set")}e.Debug.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}(n,t)).pos?g.insertNodeAtTopOfFile(o.file,x,!1):g.insertNodeBefore(o.file,T,x,!1),230===n.parent.kind)g.delete(o.file,n.parent);else{E=e.factory.createIdentifier(p);v(n)&&(E=e.factory.createJsxExpression(void 0,E)),g.replaceNode(o.file,n,E)}}}var A=g.getChanges(),D=n.getSourceFile().fileName,C=e.getRenameLocation(A,D,p,!0);return{renameFilename:D,renameLocation:C,edits:A}}(e.isExpression(c)?c:c.statements[0].expression,o[r],l[r],n.facts,t)}(r,n,o)}e.Debug.fail("Unrecognized action name")}function l(n,t,i){void 0===i&&(i=!0);var o=t.length;if(0===o&&!i)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractEmpty)]};var s=0===o&&i,c=e.getTokenAtPosition(n,t.start),l=s?function(n){return e.findAncestor(n,(function(n){return n.parent&&y(n)&&!e.isBinaryExpression(n.parent)}))}(c):e.getParentNodeInSpan(c,n,t),d=e.findTokenOnLeftOfPosition(n,e.textSpanEnd(t)),p=s?l:e.getParentNodeInSpan(d,n,t),f=[],m=a.None;if(!l||!p)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};if(l.parent!==p.parent)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};if(l!==p){if(!h(l.parent))return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};for(var _=[],g=0,v=l.parent.statements;g<v.length;g++){var b=v[g];if(b===l||_.length){var E=L(b);if(E)return{errors:E};_.push(b)}if(b===p)break}return _.length?{targetRange:{range:_,facts:m,declarations:f}}:{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]}}if(e.isJSDoc(l))return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractJSDoc)]};if(e.isReturnStatement(l)&&!l.expression)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};var T=function(n){if(e.isReturnStatement(n)){if(n.expression)return n.expression}else if(e.isVariableStatement(n)){for(var t=0,r=void 0,a=0,i=n.declarationList.declarations;a<i.length;a++){var o=i[a];o.initializer&&(t++,r=o.initializer)}if(1===t)return r}else if(e.isVariableDeclaration(n)&&n.initializer)return n.initializer;return n}(l),S=function(n){if(e.isIdentifier(e.isExpressionStatement(n)?n.expression:n))return[e.createDiagnosticForNode(n,r.cannotExtractIdentifier)];return}(T)||L(T);return S?{errors:S}:{targetRange:{range:u(T),facts:m,declarations:f}};function L(n){var i;if(function(e){e[e.None=0]="None",e[e.Break=1]="Break",e[e.Continue=2]="Continue",e[e.Return=4]="Return"}(i||(i={})),e.Debug.assert(n.pos<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),e.Debug.assert(!e.positionIsSynthesized(n.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(e.isStatement(n)||e.isExpressionNode(n)&&y(n)))return[e.createDiagnosticForNode(n,r.statementOrExpressionExpected)];if(8388608&n.flags)return[e.createDiagnosticForNode(n,r.cannotExtractAmbientBlock)];var o,s=e.getContainingClass(n);s&&function(n,t){for(var r=n;r!==t;){if(162===r.kind){e.hasSyntacticModifier(r,32)&&(m|=a.InStaticRegion);break}if(159===r.kind){165===e.getContainingFunction(r).kind&&(m|=a.InStaticRegion);break}164===r.kind&&e.hasSyntacticModifier(r,32)&&(m|=a.InStaticRegion),r=r.parent}}(n,s);var c,l=4;return function n(i){if(o)return!0;if(e.isDeclaration(i)){var s=246===i.kind?i.parent.parent:i;if(e.hasSyntacticModifier(s,1))return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractExportedEntity)),!0;f.push(i.symbol)}switch(i.kind){case 258:return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractImport)),!0;case 105:if(200===i.parent.kind){var u=e.getContainingClass(i);if(u.pos<t.start||u.end>=t.start+t.length)return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractSuper)),!0}else m|=a.UsesThis;break;case 206:e.forEachChild(i,(function n(t){if(e.isThis(t))m|=a.UsesThis;else{if(e.isClassLike(t)||e.isFunctionLike(t)&&!e.isArrowFunction(t))return!1;e.forEachChild(t,n)}}));case 249:case 248:e.isSourceFile(i.parent)&&void 0===i.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(i,r.functionWillNotBeVisibleInTheNewScope));case 218:case 205:case 164:case 165:case 166:case 167:return!1}var d=l;switch(i.kind){case 231:case 244:l=0;break;case 227:i.parent&&244===i.parent.kind&&i.parent.finallyBlock===i&&(l=4);break;case 282:case 281:l|=1;break;default:e.isIterationStatement(i,!1)&&(l|=3)}switch(i.kind){case 186:case 107:m|=a.UsesThis;break;case 242:var p=i.label;(c||(c=[])).push(p.escapedText),e.forEachChild(i,n),c.pop();break;case 238:case 237:(p=i.label)?e.contains(c,p.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):l&(238===i.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 210:m|=a.IsAsyncFunction;break;case 216:m|=a.IsGenerator;break;case 239:4&l?m|=a.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(i,n)}l=d}(n),o}}function u(n){return e.isStatement(n)?[n]:e.isExpressionNode(n)?e.isExpressionStatement(n.parent)?[n.parent]:n:void 0}function d(n){return e.isFunctionLikeDeclaration(n)||e.isSourceFile(n)||e.isModuleBlock(n)||e.isClassLike(n)}function p(n,t){var i=t.file,o=function(n){var t=g(n.range)?e.first(n.range):n.range;if(n.facts&a.UsesThis){var r=e.getContainingClass(t);if(r){var i=e.findAncestor(t,e.isFunctionLikeDeclaration);return i?[i,r]:[r]}}for(var o=[];;)if(159===(t=t.parent).kind&&(t=e.findAncestor(t,(function(n){return e.isFunctionLikeDeclaration(n)})).parent),d(t)&&(o.push(t),294===t.kind))return o}(n);return{scopes:o,readsAndWrites:function(n,t,i,o,s,c){var l,u,d=new e.Map,p=[],f=[],m=[],_=[],y=[],h=new e.Map,v=[],b=g(n.range)?1===n.range.length&&e.isExpressionStatement(n.range[0])?n.range[0].expression:void 0:n.range;if(void 0===b){var E=n.range,T=e.first(E).getStart(),S=e.last(E).end;u=e.createFileDiagnostic(o,T,S-T,r.expressionExpected)}else 147456&s.getTypeAtLocation(b).flags&&(u=e.createDiagnosticForNode(b,r.uselessConstantType));for(var L=0,x=t;L<x.length;L++){var A=x[L];p.push({usages:new e.Map,typeParameterUsages:new e.Map,substitutions:new e.Map}),f.push(new e.Map),m.push(e.isFunctionLikeDeclaration(A)&&248!==A.kind?[e.createDiagnosticForNode(A,r.cannotExtractToOtherFunctionLike)]:[]);var D=[];u&&D.push(u),e.isClassLike(A)&&e.isInJSFile(A)&&D.push(e.createDiagnosticForNode(A,r.cannotExtractToJSClass)),e.isArrowFunction(A)&&!e.isBlock(A.body)&&D.push(e.createDiagnosticForNode(A,r.cannotExtractToExpressionArrowFunction)),_.push(D)}var C=new e.Map,I=g(n.range)?e.factory.createBlock(n.range):n.range,N=g(n.range)?e.first(n.range):n.range,R=(k=N,!!e.findAncestor(k,(function(n){return e.isDeclarationWithTypeParameters(n)&&0!==e.getEffectiveTypeParameterDeclarations(n).length})));var k;if(function c(l,u){void 0===u&&(u=1);if(R){K(s.getTypeAtLocation(l))}e.isDeclaration(l)&&l.symbol&&y.push(l);if(e.isAssignmentExpression(l))c(l.left,2),c(l.right);else if(e.isUnaryExpressionWithWrite(l))c(l.operand,2);else if(e.isPropertyAccessExpression(l)||e.isElementAccessExpression(l))e.forEachChild(l,c);else if(e.isIdentifier(l)){if(!l.parent)return;if(e.isQualifiedName(l.parent)&&l!==l.parent.left)return;if(e.isPropertyAccessExpression(l.parent)&&l!==l.parent.expression)return;!function(c,l,u){var d=function(c,l,u){var d=H(c);if(!d)return;var g=e.getSymbolId(d).toString(),y=C.get(g);if(y&&y>=l)return g;if(C.set(g,l),y){for(var h=0,v=p;h<v.length;h++){var b=v[h];b.usages.get(c.text)&&b.usages.set(c.text,{usage:l,symbol:d,node:c})}return g}var E=d.getDeclarations(),T=E&&e.find(E,(function(e){return e.getSourceFile()===o}));if(!T)return;if(e.rangeContainsStartEnd(i,T.getStart(),T.end))return;if(n.facts&a.IsGenerator&&2===l){for(var S=e.createDiagnosticForNode(c,r.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),L=0,x=m;L<x.length;L++){x[L].push(S)}for(var A=0,D=_;A<D.length;A++){D[A].push(S)}}for(var I=0;I<t.length;I++){var N=t[I];if(s.resolveName(d.name,N,d.flags,!1)!==d&&!f[I].has(g)){var R=W(d.exportSymbol||d,N,u);if(R)f[I].set(g,R);else if(u){if(!(262144&d.flags)){S=e.createDiagnosticForNode(c,r.typeWillNotBeVisibleInTheNewScope);m[I].push(S),_[I].push(S)}}else p[I].usages.set(c.text,{usage:l,symbol:d,node:c})}}return g}(c,l,u);if(d)for(var g=0;g<t.length;g++){var y=f[g].get(d);y&&p[g].substitutions.set(e.getNodeId(c).toString(),y)}}(l,u,e.isPartOfTypeNode(l))}else e.forEachChild(l,c)}(I),R&&!g(n.range)){K(s.getContextualType(n.range))}if(d.size>0){for(var O=new e.Map,P=0,M=N;void 0!==M&&P<t.length;M=M.parent)if(M===t[P]&&(O.forEach((function(e,n){p[P].typeParameterUsages.set(n,e)})),P++),e.isDeclarationWithTypeParameters(M))for(var w=0,F=e.getEffectiveTypeParameterDeclarations(M);w<F.length;w++){var G=F[w],B=s.getTypeAtLocation(G);d.has(B.id.toString())&&O.set(B.id.toString(),B)}e.Debug.assert(P===t.length,"Should have iterated all scopes")}if(y.length){var U=e.isBlockScope(t[0],t[0].parent)?t[0]:e.getEnclosingBlockScopeContainer(t[0]);e.forEachChild(U,(function t(r){if(r===n.range||g(n.range)&&n.range.indexOf(r)>=0)return;var a=e.isIdentifier(r)?H(r):s.getSymbolAtLocation(r);if(a){var i=e.find(y,(function(e){return e.symbol===a}));if(i)if(e.isVariableDeclaration(i)){var o=i.symbol.id.toString();h.has(o)||(v.push(i),h.set(o,!0))}else l=l||i}e.forEachChild(r,t)}))}for(var V=function(t){var a=p[t];if(t>0&&(a.usages.size>0||a.typeParameterUsages.size>0)){var i=g(n.range)?n.range[0]:n.range;_[t].push(e.createDiagnosticForNode(i,r.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(p[t].usages.forEach((function(n){2===n.usage&&(s=!0,106500&n.symbol.flags&&n.symbol.valueDeclaration&&e.hasEffectiveModifier(n.symbol.valueDeclaration,64)&&(o=n.symbol.valueDeclaration))})),e.Debug.assert(g(n.range)||0===v.length,"No variable declarations expected if something was extracted"),s&&!g(n.range)){var c=e.createDiagnosticForNode(n.range,r.cannotWriteInExpression);m[t].push(c),_[t].push(c)}else if(o&&t>0){c=e.createDiagnosticForNode(o,r.cannotExtractReadonlyPropertyInitializerOutsideConstructor);m[t].push(c),_[t].push(c)}else if(l){c=e.createDiagnosticForNode(l,r.cannotExtractExportedEntity);m[t].push(c),_[t].push(c)}},j=0;j<t.length;j++)V(j);return{target:I,usagesPerScope:p,functionErrorsPerScope:m,constantErrorsPerScope:_,exposedVariableDeclarations:v};function K(e){for(var n=0,t=s.getSymbolWalker((function(){return c.throwIfCancellationRequested(),!0})).walkType(e).visitedTypes;n<t.length;n++){var r=t[n];r.isTypeParameter()&&d.set(r.id.toString(),r)}}function H(n){return n.parent&&e.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n?s.getShorthandAssignmentValueSymbol(n.parent):s.getSymbolAtLocation(n)}function W(n,t,r){if(n){var a=n.getDeclarations();if(a&&a.some((function(e){return e.parent===t})))return e.factory.createIdentifier(n.name);var i=W(n.parent,t,r);if(void 0!==i)return r?e.factory.createQualifiedName(i,e.factory.createIdentifier(n.name)):e.factory.createPropertyAccessExpression(i,n.name)}}}(n,o,function(n,t){return g(n.range)?{pos:e.first(n.range).getStart(t),end:e.last(n.range).getEnd()}:n.range}(n,i),i,t.program.getTypeChecker(),t.cancellationToken)}}function f(e){var n,t=e.symbol;if(t&&t.declarations)for(var r=0,a=t.declarations;r<a.length;r++){var i=a[r];(void 0===n||i.pos<n.pos)&&(n=i)}return n}function m(n,t){var r=n.type,a=n.declaration,i=t.type,o=t.declaration;return e.compareProperties(a,o,"pos",e.compareValues)||e.compareStringsCaseSensitive(r.symbol?r.symbol.getName():"",i.symbol?i.symbol.getName():"")||e.compareValues(r.id,i.id)}function _(n,t){var r=e.map(n,(function(n){return e.factory.createShorthandPropertyAssignment(n.symbol.name)})),a=e.map(t,(function(n){return e.factory.createShorthandPropertyAssignment(n.symbol.name)}));return void 0===r?a:void 0===a?r:r.concat(a)}function g(n){return e.isArray(n)}function y(e){var n=e.parent;switch(n.kind){case 288:return!1}switch(e.kind){case 10:return 258!==n.kind&&262!==n.kind;case 217:case 193:case 195:return!1;case 78:return 195!==n.kind&&262!==n.kind&&267!==n.kind}return!0}function h(e){switch(e.kind){case 227:case 294:case 254:case 281:return!0;default:return!1}}function v(n){return(e.isJsxElement(n)||e.isJsxSelfClosingElement(n)||e.isJsxFragment(n))&&e.isJsxElement(n.parent)}n.registerRefactor("Extract Symbol",{getAvailableActions:s,getEditsForAction:c}),t.getAvailableActions=s,t.getEditsForAction=c,function(n){function t(n){return{message:n,code:0,category:e.DiagnosticCategory.Message,key:n}}n.cannotExtractRange=t("Cannot extract range."),n.cannotExtractImport=t("Cannot extract import statement."),n.cannotExtractSuper=t("Cannot extract super call."),n.cannotExtractJSDoc=t("Cannot extract JSDoc."),n.cannotExtractEmpty=t("Cannot extract empty range."),n.expressionExpected=t("expression expected."),n.uselessConstantType=t("No reason to extract constant of type."),n.statementOrExpressionExpected=t("Statement or expression expected."),n.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),n.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),n.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),n.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),n.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),n.cannotExtractIdentifier=t("Select more than a single identifier."),n.cannotExtractExportedEntity=t("Cannot extract exported declaration"),n.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),n.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),n.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),n.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),n.cannotExtractToOtherFunctionLike=t("Cannot extract method to a function-like scope that is not a function"),n.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),n.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block")}(r=t.Messages||(t.Messages={})),function(e){e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.InStaticRegion=16]="InStaticRegion"}(a||(a={})),t.getRangeToExtract=l,function(e){e[e.Module=0]="Module",e[e.Global=1]="Global"}(i||(i={})),function(e){e[e.Read=1]="Read",e[e.Write=2]="Write"}(o||(o={}))}(n.extractSymbol||(n.extractSymbol={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){function t(n,t){void 0===t&&(t=!0);var a=n.file,i=n.startPosition,o=e.isSourceFileJS(a),s=e.getTokenAtPosition(a,i),c=e.createTextRangeFromSpan(e.getRefactorContextSpan(n)),l=c.pos===c.end&&t,u=e.findAncestor(s,(function(n){return n.parent&&e.isTypeNode(n)&&!r(c,n.parent,a)&&(l||e.nodeOverlapsWithStartEnd(s,a,c.pos,c.end))}));if(!u||!e.isTypeNode(u))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var d=n.program.getTypeChecker(),p=e.Debug.checkDefined(e.findAncestor(u,e.isStatement),"Should find a statement"),f=function(n,t,a,i){var o=[];return function s(c){if(e.isTypeReferenceNode(c)){if(e.isIdentifier(c.typeName))if(p=n.resolveName(c.typeName.text,c.typeName,262144,!0)){var l=e.cast(e.first(p.declarations),e.isTypeParameterDeclaration);r(a,l,i)&&!r(t,l,i)&&o.push(l)}}else if(e.isInferTypeNode(c)){var u=e.findAncestor(c,(function(n){return e.isConditionalTypeNode(n)&&r(n.extendsType,c,i)}));if(!u||!r(t,u,i))return!0}else if(e.isTypePredicateNode(c)||e.isThisTypeNode(c)){var d=e.findAncestor(c.parent,e.isFunctionLike);if(d&&d.type&&r(d.type,c,i)&&!r(t,d,i))return!0}else if(e.isTypeQueryNode(c)){var p;if(e.isIdentifier(c.exprName)){if((p=n.resolveName(c.exprName.text,c.exprName,111551,!1))&&r(a,p.valueDeclaration,i)&&!r(t,p.valueDeclaration,i))return!0}else if(e.isThisIdentifier(c.exprName.left)&&!r(t,c.parent,i))return!0}i&&e.isTupleTypeNode(c)&&e.getLineAndCharacterOfPosition(i,c.pos).line===e.getLineAndCharacterOfPosition(i,c.end).line&&e.setEmitFlags(c,1);return e.forEachChild(c,s)}(t)?void 0:o}(d,u,p,a);return f?{info:{isJS:o,selection:u,firstStatement:p,typeParameters:f,typeElements:function n(t,r){if(!r)return;if(e.isIntersectionTypeNode(r)){for(var a=[],i=new e.Map,o=0,s=r.types;o<s.length;o++){var c=s[o],l=n(t,c);if(!l||!l.every((function(n){return n.name&&e.addToSeen(i,e.getNameFromPropertyName(n.name))})))return;e.addRange(a,l)}return a}if(e.isParenthesizedTypeNode(r))return n(t,r.type);if(e.isTypeLiteralNode(r))return r.members;return}(d,u)}}:{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)}}function r(n,t,r){return e.rangeContainsStartEnd(n,e.skipTrivia(r.text,t.pos),t.end)}n.registerRefactor("Extract type",{getAvailableActions:function(n){var r=t(n,"invoked"===n.triggerReason);return r?void 0===r.error?[{name:"Extract type",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:r.info.isJS?[{name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef)}]:e.append([{name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias)}],r.info.typeElements&&{name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface)})}]:n.preferences.provideRefactorNotApplicableReason?[{name:"Extract type",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[{name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),notApplicableReason:r.error},{name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),notApplicableReason:r.error},{name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),notApplicableReason:r.error}]}]:e.emptyArray:e.emptyArray},getEditsForAction:function(n,r){var a,i=n.file,o=e.Debug.checkDefined(null===(a=t(n))||void 0===a?void 0:a.info,"Expected to find a range to extract"),s=e.getUniqueName("NewType",i),c=e.textChanges.ChangeTracker.with(n,(function(n){switch(r){case"Extract to type alias":return e.Debug.assert(!o.isJS,"Invalid actionName/JS combo"),function(n,t,r,a){var i=a.firstStatement,o=a.selection,s=a.typeParameters,c=e.factory.createTypeAliasDeclaration(void 0,void 0,r,s.map((function(n){return e.factory.updateTypeParameterDeclaration(n,n.name,n.constraint,void 0)})),o);n.insertNodeBefore(t,i,e.ignoreSourceNewlines(c),!0),n.replaceNode(t,o,e.factory.createTypeReferenceNode(r,s.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)}))))}(n,i,s,o);case"Extract to typedef":return e.Debug.assert(o.isJS,"Invalid actionName/JS combo"),function(n,t,r,a){var i=a.firstStatement,o=a.selection,s=a.typeParameters,c=e.factory.createJSDocTypedefTag(e.factory.createIdentifier("typedef"),e.factory.createJSDocTypeExpression(o),e.factory.createIdentifier(r)),l=[];e.forEach(s,(function(n){var t=e.getEffectiveConstraintOfTypeParameter(n),r=e.factory.createTypeParameterDeclaration(n.name),a=e.factory.createJSDocTemplateTag(e.factory.createIdentifier("template"),t&&e.cast(t,e.isJSDocTypeExpression),[r]);l.push(a)})),n.insertNodeBefore(t,i,e.factory.createJSDocComment(void 0,e.factory.createNodeArray(e.concatenate(l,[c]))),!0),n.replaceNode(t,o,e.factory.createTypeReferenceNode(r,s.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)}))))}(n,i,s,o);case"Extract to interface":return e.Debug.assert(!o.isJS&&!!o.typeElements,"Invalid actionName/JS combo"),function(n,t,r,a){var i=a.firstStatement,o=a.selection,s=a.typeParameters,c=a.typeElements,l=e.factory.createInterfaceDeclaration(void 0,void 0,r,s,void 0,c);n.insertNodeBefore(t,i,e.ignoreSourceNewlines(l),!0),n.replaceNode(t,o,e.factory.createTypeReferenceNode(r,s.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)}))))}(n,i,s,o);default:e.Debug.fail("Unexpected action name")}})),l=i.fileName;return{edits:c,renameFilename:l,renameLocation:e.getRenameLocation(c,l,s,!1)}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){var t,r;n.generateGetAccessorAndSetAccessor||(n.generateGetAccessorAndSetAccessor={}),t="Generate 'get' and 'set' accessors",r=e.Diagnostics.Generate_get_and_set_accessors.message,n.registerRefactor(t,{getEditsForAction:function(n,t){if(n.endPosition){var r=e.codefix.getAccessorConvertiblePropertyAtPosition(n.file,n.startPosition,n.endPosition);if(r&&r.info){var a=e.codefix.generateAccessorFromProperty(n.file,n.startPosition,n.endPosition,n,t);if(a){var i=n.file.fileName,o=r.info.renameAccessor?r.info.accessorName:r.info.fieldName;return{renameFilename:i,renameLocation:(e.isIdentifier(o)?0:-1)+e.getRenameLocation(a,i,o.text,e.isParameter(r.info.declaration)),edits:a}}}}},getAvailableActions:function(n){if(!n.endPosition)return e.emptyArray;var a=e.codefix.getAccessorConvertiblePropertyAtPosition(n.file,n.startPosition,n.endPosition,"invoked"===n.triggerReason);return a?a.error?n.preferences.provideRefactorNotApplicableReason?[{name:t,description:r,actions:[{name:t,description:r,notApplicableReason:a.error}]}]:e.emptyArray:[{name:t,description:r,actions:[{name:t,description:r}]}]:e.emptyArray}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){function t(n){var t=function(n){var t=n.file,r=e.createTextRangeFromSpan(e.getRefactorContextSpan(n)),a=t.statements,i=e.findIndex(a,(function(e){return e.end>r.pos}));if(-1!==i){var o=a[i];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,r))return{toMove:[a[i]],afterLast:a[i+1]};if(!(r.pos>o.getStart(t))){var s=e.findIndex(a,(function(e){return e.end>r.end}),i);if(-1===s||!(0===s||a[s].getStart(t)<r.end))return{toMove:a.slice(i,-1===s?a.length:s),afterLast:-1===s?void 0:a[s]}}}}(n);if(void 0!==t){var r=[],a=[],i=t.toMove,o=t.afterLast;return e.getRangesWhere(i,(function(n){return!function(n){switch(n.kind){case 258:return!0;case 257:return!e.hasSyntacticModifier(n,1);case 229:return n.declarationList.declarations.every((function(n){return!!n.initializer&&e.isRequireCall(n.initializer,!0)}));default:return!1}}(n)}),(function(e,n){for(var t=e;t<n;t++)r.push(i[t]);a.push({first:i[e],afterLast:o})})),0===r.length?void 0:{all:r,ranges:a}}}function r(e,n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r],o=i.first,s=i.afterLast;t.deleteNodeRangeExcludingEnd(e,o,s)}}function a(e){return 258===e.kind?e.moduleSpecifier:257===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function i(n,t){if(e.isImportDeclaration(n))e.isStringLiteral(n.moduleSpecifier)&&t(n);else if(e.isImportEqualsDeclaration(n))e.isExternalModuleReference(n.moduleReference)&&e.isStringLiteralLike(n.moduleReference.expression)&&t(n);else if(e.isVariableStatement(n))for(var r=0,a=n.declarationList.declarations;r<a.length;r++){var i=a[r];i.initializer&&e.isRequireCall(i.initializer,!0)&&t(i)}}function s(n,t,r,a,i){if(r=e.ensurePathIsNonModuleName(r),a){var o=t.map((function(n){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(n))}));return e.makeImportIfNecessary(n,o,r,i)}e.Debug.assert(!n,"No default import should exist");var s=t.map((function(n){return e.factory.createBindingElement(void 0,void 0,n)}));return s.length?c(e.factory.createObjectBindingPattern(s),void 0,l(e.factory.createStringLiteral(r))):void 0}function c(n,t,r,a){return void 0===a&&(a=2),e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(n,void 0,t,r)],a))}function l(n){return e.factory.createCallExpression(e.factory.createIdentifier("require"),void 0,[n])}function u(n,t,r,a){switch(t.kind){case 258:!function(n,t,r,a){if(!t.importClause)return;var i=t.importClause,o=i.name,s=i.namedBindings,c=!o||a(o),l=!s||(260===s.kind?a(s.name):0!==s.elements.length&&s.elements.every((function(e){return a(e.name)})));if(c&&l)r.delete(n,t);else if(o&&c&&r.delete(n,o),s)if(l)r.replaceNode(n,t.importClause,e.factory.updateImportClause(t.importClause,t.importClause.isTypeOnly,o,void 0));else if(261===s.kind)for(var u=0,d=s.elements;u<d.length;u++){var p=d[u];a(p.name)&&r.delete(n,p)}}(n,t,r,a);break;case 257:a(t.name)&&r.delete(n,t);break;case 246:!function(n,t,r,a){var i=t.name;switch(i.kind){case 78:a(i)&&r.delete(n,i);break;case 194:break;case 193:if(i.elements.every((function(n){return e.isIdentifier(n.name)&&a(n.name)})))r.delete(n,e.isVariableDeclarationList(t.parent)&&1===t.parent.declarations.length?t.parent.parent:t);else for(var o=0,s=i.elements;o<s.length;o++){var c=s[o];e.isIdentifier(c.name)&&a(c.name)&&r.delete(n,c.name)}}}(n,t,r,a);break;default:e.Debug.assertNever(t,"Unexpected import decl kind "+t.kind)}}function d(n){switch(n.kind){case 257:case 262:case 259:case 260:return!0;case 246:return p(n);case 195:return e.isVariableDeclaration(n.parent.parent)&&p(n.parent.parent);default:return!1}}function p(n){return e.isSourceFile(n.parent.parent.parent)&&!!n.initializer&&e.isRequireCall(n.initializer,!0)}function f(n,t,r){switch(n.kind){case 258:var a=n.importClause;if(!a)return;var i=a.name&&r(a.name)?a.name:void 0,o=a.namedBindings&&function(n,t){if(260===n.kind)return t(n.name)?n:void 0;var r=n.elements.filter((function(e){return t(e.name)}));return r.length?e.factory.createNamedImports(r):void 0}(a.namedBindings,r);return i||o?e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,i,o),t):void 0;case 257:return r(n.name)?n:void 0;case 246:var s=function(n,t){switch(n.kind){case 78:return t(n)?n:void 0;case 194:return n;case 193:var r=n.elements.filter((function(n){return n.propertyName||!e.isIdentifier(n.name)||t(n.name)}));return r.length?e.factory.createObjectBindingPattern(r):void 0}}(n.name,r);return s?c(s,n.type,l(t),n.parent.flags):void 0;default:return e.Debug.assertNever(n,"Unexpected import kind "+n.kind)}}function m(n,t,r){n.forEachChild((function n(a){if(e.isIdentifier(a)&&!e.isDeclarationName(a)){var i=t.getSymbolAtLocation(a);i&&r(i)}else a.forEachChild(n)}))}n.registerRefactor("Move to a new file",{getAvailableActions:function(n){if(!n.preferences.allowTextChangesInNewFiles||void 0===t(n))return e.emptyArray;var r=e.getLocaleSpecificMessage(e.Diagnostics.Move_to_a_new_file);return[{name:"Move to a new file",description:r,actions:[{name:"Move to a new file",description:r}]}]},getEditsForAction:function(n,c){e.Debug.assert("Move to a new file"===c,"Wrong refactor invoked");var p=e.Debug.checkDefined(t(n));return{edits:e.textChanges.ChangeTracker.with(n,(function(t){return c=n.file,x=n.program,A=p,D=t,C=n.host,I=n.preferences,N=x.getTypeChecker(),R=function(n,t,r){var a=new _,i=new _,o=new _,s=function(n){if(void 0!==n){var t=r.getJsxNamespace(n),a=r.resolveName(t,n,1920,!0);return a&&e.some(a.declarations,d)?a:void 0}}(e.find(t,(function(e){return!!(2&e.transformFlags)})));s&&i.add(s);for(var c=0,l=t;c<l.length;c++)h(E=l[c],(function(n){a.add(e.Debug.checkDefined(e.isExpressionStatement(n)?r.getSymbolAtLocation(n.expression.left):n.symbol,"Need a symbol here"))}));for(var u=0,p=t;u<p.length;u++)m(E=p[u],r,(function(t){var r;if(t.declarations)for(var s=0,c=t.declarations;s<c.length;s++){var l=c[s];d(l)?i.add(t):g(l)&&(r=l,(e.isVariableDeclaration(r)?r.parent.parent.parent:r.parent)===n)&&!a.has(t)&&o.add(t)}}));for(var f=i.clone(),y=new _,v=0,b=n.statements;v<b.length;v++){var E=b[v];e.contains(t,E)||(s&&2&E.transformFlags&&f.delete(s),m(E,r,(function(e){a.has(e)&&y.add(e),f.delete(e)})))}return{movedSymbols:a,newFileImportsFromOldFile:o,oldFileImportsFromNewFile:y,oldImportsNeededByNewFile:i,unusedImportsFromOldFile:f}}(c,A.all,N),k=e.getDirectoryPath(c.fileName),O=e.extensionFromPath(c.fileName),P=function(n,t,r,a){for(var i=n,o=1;;o++){var s=e.combinePaths(r,i+t);if(!a.fileExists(s))return i;i=n+"."+o}}(R.movedSymbols.forEachEntry(e.symbolNameNoDefault)||"newFile",O,k,C),M=P+O,D.createNewFile(c,e.combinePaths(k,M),function(n,t,c,d,p,m,_){var x=p.getTypeChecker();if(!n.externalModuleIndicator&&!n.commonJsModuleIndicator)return r(n,d.ranges,c),d.all;var A=!!n.externalModuleIndicator,D=e.getQuotePreference(n,_),C=function(n,t,r,a){var i,o=[];return n.forEach((function(n){"default"===n.escapedName?i=e.factory.createIdentifier(e.symbolNameNoDefault(n)):o.push(n.name)})),s(i,o,t,r,a)}(t.oldFileImportsFromNewFile,m,A,D);C&&e.insertImports(c,n,C,!0),function(n,t,r,a,o){for(var s=0,c=n.statements;s<c.length;s++){var l=c[s];e.contains(t,l)||i(l,(function(e){return u(n,e,r,(function(e){return a.has(o.getSymbolAtLocation(e))}))}))}}(n,d.all,c,t.unusedImportsFromOldFile,x),r(n,d.ranges,c),function(n,t,r,o,s){for(var c=t.getTypeChecker(),d=function(t){if(t===r)return"continue";for(var d=function(d){i(d,(function(i){if(c.getSymbolAtLocation(a(i))===r.symbol){var p=function(n){var t=e.isBindingElement(n.parent)?e.getPropertySymbolFromBindingElement(c,n.parent):e.skipAlias(c.getSymbolAtLocation(n),c);return!!t&&o.has(t)};u(t,i,n,p);var m=e.combinePaths(e.getDirectoryPath(a(i).text),s),_=f(i,e.factory.createStringLiteral(m),p);_&&n.insertNodeAfter(t,d,_);var g=function(n){switch(n.kind){case 258:return n.importClause&&n.importClause.namedBindings&&260===n.importClause.namedBindings.kind?n.importClause.namedBindings.name:void 0;case 257:return n.name;case 246:return e.tryCast(n.name,e.isIdentifier);default:return e.Debug.assertNever(n,"Unexpected node kind "+n.kind)}}(i);g&&function(n,t,r,a,i,o,s,c){var u=e.codefix.moduleSpecifierToValidIdentifier(i,99),d=!1,p=[];if(e.FindAllReferences.Core.eachSymbolReferenceInFile(s,r,t,(function(n){e.isPropertyAccessExpression(n.parent)&&(d=d||!!r.resolveName(u,n,67108863,!0),a.has(r.getSymbolAtLocation(n.parent.name))&&p.push(n))})),p.length){for(var f=d?e.getUniqueName(u,t):u,m=0,_=p;m<_.length;m++){var g=_[m];n.replaceNode(t,g,e.factory.createIdentifier(f))}n.insertNodeAfter(t,c,function(n,t,r){var a=e.factory.createIdentifier(t),i=e.factory.createStringLiteral(r);switch(n.kind){case 258:return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(a)),i);case 257:return e.factory.createImportEqualsDeclaration(void 0,void 0,a,e.factory.createExternalModuleReference(i));case 246:return e.factory.createVariableDeclaration(a,void 0,void 0,l(i));default:return e.Debug.assertNever(n,"Unexpected node kind "+n.kind)}}(c,i,o))}}(n,t,c,o,s,m,g,i)}}))},p=0,m=t.statements;p<m.length;p++)d(m[p])},p=0,m=t.getSourceFiles();p<m.length;p++){var _=m[p];d(_)}}(c,p,n,t.movedSymbols,m);var I=function(n,t,r,o,c,l,u){for(var d,p=[],m=0,_=n.statements;m<_.length;m++)i(_[m],(function(n){e.append(p,f(n,a(n),(function(e){return t.has(c.getSymbolAtLocation(e))})))}));var y=[],h=e.nodeSeenTracker();return r.forEach((function(t){for(var r=0,a=t.declarations;r<a.length;r++){var i=a[r];if(g(i)){var s=(u=i,e.isExpressionStatement(u)?e.tryCast(u.expression.left.name,e.isIdentifier):e.tryCast(u.name,e.isIdentifier));if(s){var c=v(i);h(c)&&b(n,c,o,l),e.hasSyntacticModifier(i,512)?d=s:y.push(s.text)}}}var u})),e.append(p,s(d,y,e.removeFileExtension(e.getBaseFileName(n.fileName)),l,u)),p}(n,t.oldImportsNeededByNewFile,t.newFileImportsFromOldFile,c,x,A,D),N=function(n,t,r,a){return e.flatMap(t,(function(t){if(s=t,e.Debug.assert(e.isSourceFile(s.parent),"Node parent should be a SourceFile"),(y(s)||e.isVariableStatement(s))&&!E(n,t,a)&&h(t,(function(n){return r.has(e.Debug.checkDefined(n.symbol))}))){var i=function(e,n){return n?[T(e)]:function(e){return o([e],S(e).map(L))}(e)}(t,a);if(i)return i}var s;return t}))}(n,d.all,t.oldFileImportsFromNewFile,A);return I.length&&N.length?o(I,[4],N):o(I,N)}(c,R,D,A,x,P,I)),void function(n,t,r,a,i){var o=n.getCompilerOptions().configFile;if(o){var s=e.normalizePath(e.combinePaths(r,"..",a)),c=e.getRelativePathFromFile(o.fileName,s,i),l=o.statements[0]&&e.tryCast(o.statements[0].expression,e.isObjectLiteralExpression),u=l&&e.find(l.properties,(function(n){return e.isPropertyAssignment(n)&&e.isStringLiteral(n.name)&&"files"===n.name.text}));u&&e.isArrayLiteralExpression(u.initializer)&&t.insertNodeInListAfter(o,e.last(u.initializer.elements),e.factory.createStringLiteral(c),u.initializer.elements)}}(x,D,c.fileName,M,e.hostGetCanonicalFileName(C));var c,x,A,D,C,I,N,R,k,O,P,M})),renameFilename:void 0,renameLocation:void 0}}});var _=function(){function n(){this.map=new e.Map}return n.prototype.add=function(n){this.map.set(String(e.getSymbolId(n)),n)},n.prototype.has=function(n){return this.map.has(String(e.getSymbolId(n)))},n.prototype.delete=function(n){this.map.delete(String(e.getSymbolId(n)))},n.prototype.forEach=function(e){this.map.forEach(e)},n.prototype.forEachEntry=function(n){return e.forEachEntry(this.map,n)},n.prototype.clone=function(){var t=new n;return e.copyEntries(this.map,t.map),t},n}();function g(n){return y(n)&&e.isSourceFile(n.parent)||e.isVariableDeclaration(n)&&e.isSourceFile(n.parent.parent.parent)}function y(e){switch(e.kind){case 248:case 249:case 253:case 252:case 251:case 250:case 257:return!0;default:return!1}}function h(n,t){switch(n.kind){case 248:case 249:case 253:case 252:case 251:case 250:case 257:return t(n);case 229:return e.firstDefined(n.declarationList.declarations,(function(n){return function n(t,r){switch(t.kind){case 78:return r(e.cast(t.parent,(function(n){return e.isVariableDeclaration(n)||e.isBindingElement(n)})));case 194:case 193:return e.firstDefined(t.elements,(function(t){return e.isOmittedExpression(t)?void 0:n(t.name,r)}));default:return e.Debug.assertNever(t,"Unexpected name kind "+t.kind)}}(n.name,t)}));case 230:var r=n.expression;return e.isBinaryExpression(r)&&1===e.getAssignmentDeclarationKind(r)?t(n):void 0}}function v(n){switch(n.kind){case 246:return n.parent.parent;case 195:return v(e.cast(n.parent.parent,(function(n){return e.isVariableDeclaration(n)||e.isBindingElement(n)})));default:return n}}function b(n,t,r,a){if(!E(n,t,a))if(a)e.isExpressionStatement(t)||r.insertExportModifier(n,t);else{var i=S(t);0!==i.length&&r.insertNodesAfter(n,t,i.map(L))}}function E(n,t,r){return r?!e.isExpressionStatement(t)&&e.hasSyntacticModifier(t,1):S(t).some((function(t){return n.symbol.exports.has(e.escapeLeadingUnderscores(t))}))}function T(n){var t=e.concatenate([e.factory.createModifier(92)],n.modifiers);switch(n.kind){case 248:return e.factory.updateFunctionDeclaration(n,n.decorators,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);case 249:return e.factory.updateClassDeclaration(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members);case 229:return e.factory.updateVariableStatement(n,t,n.declarationList);case 253:return e.factory.updateModuleDeclaration(n,n.decorators,t,n.name,n.body);case 252:return e.factory.updateEnumDeclaration(n,n.decorators,t,n.name,n.members);case 251:return e.factory.updateTypeAliasDeclaration(n,n.decorators,t,n.name,n.typeParameters,n.type);case 250:return e.factory.updateInterfaceDeclaration(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members);case 257:return e.factory.updateImportEqualsDeclaration(n,n.decorators,t,n.name,n.moduleReference);case 230:return e.Debug.fail();default:return e.Debug.assertNever(n,"Unexpected declaration kind "+n.kind)}}function S(n){switch(n.kind){case 248:case 249:return[n.name.text];case 229:return e.mapDefined(n.declarationList.declarations,(function(n){return e.isIdentifier(n.name)?n.name.text:void 0}));case 253:case 252:case 251:case 250:case 257:return e.emptyArray;case 230:return e.Debug.fail("Can't export an ExpressionStatement");default:return e.Debug.assertNever(n,"Unexpected decl kind "+n.kind)}}function L(n){return e.factory.createExpressionStatement(e.factory.createBinaryExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("exports"),e.factory.createIdentifier(n)),62,e.factory.createIdentifier(n)))}}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Add or remove braces in an arrow function",a=e.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,i=e.Diagnostics.Add_braces_to_arrow_function.message,o=e.Diagnostics.Remove_braces_from_arrow_function.message;function s(n,t,r){void 0===r&&(r=!0);var a=e.getTokenAtPosition(n,t),i=e.getContainingFunction(a);if(!i)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!e.isArrowFunction(i))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Containing_function_is_not_an_arrow_function)};if(e.rangeContainsRange(i,a)&&(!e.rangeContainsRange(i.body,a)||r)){if(e.isExpression(i.body))return{info:{func:i,addBraces:!0,expression:i.body}};if(1===i.body.statements.length){var o=e.first(i.body.statements);if(e.isReturnStatement(o))return{info:{func:i,addBraces:!1,expression:o.expression,returnStatement:o}}}}}n.registerRefactor(r,{getEditsForAction:function(n,t){var r=n.file,a=n.startPosition,i=s(r,a);if(!i||!i.info)return;var o,c=i.info,l=c.expression,u=c.returnStatement,d=c.func;if("Add braces to arrow function"===t){var p=e.factory.createReturnStatement(l);o=e.factory.createBlock([p],!0),e.suppressLeadingAndTrailingTrivia(o),e.copyLeadingComments(l,p,r,3,!0)}else if("Remove braces from arrow function"===t&&u){var f=l||e.factory.createVoidZero();o=e.needsParentheses(f)?e.factory.createParenthesizedExpression(f):f,e.suppressLeadingAndTrailingTrivia(o),e.copyTrailingAsLeadingComments(u,o,r,3,!1),e.copyLeadingComments(u,o,r,3,!1),e.copyTrailingComments(u,o,r,3,!1)}else e.Debug.fail("invalid action");var m=e.textChanges.ChangeTracker.with(n,(function(e){e.replaceNode(r,d.body,o)}));return{renameFilename:void 0,renameLocation:void 0,edits:m}},getAvailableActions:function(n){var t=n.file,c=n.startPosition,l=n.triggerReason,u=s(t,c,"invoked"===l);if(!u)return e.emptyArray;if(void 0===u.error)return[{name:r,description:a,actions:[u.info.addBraces?{name:"Add braces to arrow function",description:i}:{name:"Remove braces from arrow function",description:o}]}];if(n.preferences.provideRefactorNotApplicableReason)return[{name:r,description:a,actions:[{name:"Add braces to arrow function",description:i,notApplicableReason:u.error},{name:"Remove braces from arrow function",description:o,notApplicableReason:u.error}]}];return e.emptyArray}})}(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert parameters to destructured object";function a(n){var t=n.node;return e.isImportSpecifier(t.parent)||e.isImportClause(t.parent)||e.isImportEqualsDeclaration(t.parent)||e.isNamespaceImport(t.parent)||e.isExportSpecifier(t.parent)||e.isExportAssignment(t.parent)?t:void 0}function i(n){if(e.isDeclaration(n.node.parent))return n.node}function s(n){if(n.node.parent){var t=n.node,r=t.parent;switch(r.kind){case 200:case 201:var a=e.tryCast(r,e.isCallOrNewExpression);if(a&&a.expression===t)return a;break;case 198:var i=e.tryCast(r,e.isPropertyAccessExpression);if(i&&i.parent&&i.name===t){var o=e.tryCast(i.parent,e.isCallOrNewExpression);if(o&&o.expression===i)return o}break;case 199:var s=e.tryCast(r,e.isElementAccessExpression);if(s&&s.parent&&s.argumentExpression===t){var c=e.tryCast(s.parent,e.isCallOrNewExpression);if(c&&c.expression===s)return c}}}}function c(n){if(n.node.parent){var t=n.node,r=t.parent;switch(r.kind){case 198:var a=e.tryCast(r,e.isPropertyAccessExpression);if(a&&a.expression===t)return a;break;case 199:var i=e.tryCast(r,e.isElementAccessExpression);if(i&&i.expression===t)return i}}}function l(n){var t=n.node;if(2===e.getMeaningFromLocation(t)||e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent))return t}function u(n,t,r){var a=e.getTouchingToken(n,t),i=e.getContainingFunctionDeclaration(a);if(!function(n){var t=e.findAncestor(n,e.isJSDocNode);if(t){var r=e.findAncestor(t,(function(n){return!e.isJSDocNode(n)}));return!!r&&e.isFunctionLikeDeclaration(r)}return!1}(a))return!(i&&function(n,t){if(!function(n,t){return function(e){if(m(e))return e.length-1;return e.length}(n)>=2&&e.every(n,(function(n){return function(n,t){if(e.isRestParameter(n)){var r=t.getTypeAtLocation(n);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!n.modifiers&&!n.decorators&&e.isIdentifier(n.name)}(n,t)}))}(n.parameters,t))return!1;switch(n.kind){case 248:return p(n)&&d(n,t);case 164:return d(n,t);case 165:return e.isClassDeclaration(n.parent)?p(n.parent)&&d(n,t):f(n.parent.parent)&&d(n,t);case 205:case 206:return f(n.parent)}return!1}(i,r)&&e.rangeContainsRange(i,a))||i.body&&e.rangeContainsRange(i.body,a)?void 0:i}function d(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function p(n){return!!n.name||!!e.findModifier(n,87)}function f(n){return e.isVariableDeclaration(n)&&e.isVarConst(n)&&e.isIdentifier(n.name)&&!n.type}function m(n){return n.length>0&&e.isThis(n[0].name)}function _(n){return m(n)&&(n=e.factory.createNodeArray(n.slice(1),n.hasTrailingComma)),n}function g(n,t){var r=_(n.parameters),a=e.isRestParameter(e.last(r)),i=a?t.slice(0,r.length-1):t,o=e.map(i,(function(n,t){var a,i,o=y(r[t]),s=(a=o,i=n,e.isIdentifier(i)&&e.getTextOfIdentifierOrLiteral(i)===a?e.factory.createShorthandPropertyAssignment(a):e.factory.createPropertyAssignment(a,i));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),e.copyComments(n,s),s}));if(a&&t.length>=r.length){var s=t.slice(r.length-1),c=e.factory.createPropertyAssignment(y(e.last(r)),e.factory.createArrayLiteralExpression(s));o.push(c)}return e.factory.createObjectLiteralExpression(o,!1)}function y(n){return e.getTextOfIdentifierOrLiteral(n.name)}n.registerRefactor(r,{getEditsForAction:function(n,t){e.Debug.assert(t===r,"Unexpected action name");var d=n.file,p=n.startPosition,f=n.program,h=n.cancellationToken,v=n.host,b=u(d,p,f.getTypeChecker());if(!b||!h)return;var E=function(n,t,r){var u=function(n){switch(n.kind){case 248:return n.name?[n.name]:[e.Debug.checkDefined(e.findModifier(n,87),"Nameless function declaration should be a default export")];case 164:return[n.name];case 165:var t=e.Debug.checkDefined(e.findChildOfKind(n,132,n.getSourceFile()),"Constructor declaration should have constructor keyword");return 218===n.parent.kind?[n.parent.parent.name,t]:[t];case 206:return[n.parent.name];case 205:return n.name?[n.name,n.parent.name]:[n.parent.name];default:return e.Debug.assertNever(n,"Unexpected function declaration kind "+n.kind)}}(n),d=e.isConstructorDeclaration(n)?function(n){switch(n.parent.kind){case 249:var t=n.parent;return t.name?[t.name]:[e.Debug.checkDefined(e.findModifier(t,87),"Nameless class declaration should be a default export")];case 218:var r=n.parent,a=n.parent.parent,i=r.name;return i?[i,a.name]:[a.name]}}(n):[],p=e.deduplicate(o(u,d),e.equateValues),f=t.getTypeChecker(),m=function(t){for(var r={accessExpressions:[],typeUsages:[]},o={functionCalls:[],declarations:[],classReferences:r,valid:!0},p=e.map(u,_),f=e.map(d,_),m=e.isConstructorDeclaration(n),g=0,y=t;g<y.length;g++){var h=y[g];if(1===h.kind){if(e.contains(p,_(h.node))||e.isNewExpressionTarget(h.node)){if(a(h))continue;if(b=i(h)){o.declarations.push(b);continue}var v=s(h);if(v){o.functionCalls.push(v);continue}}if(m&&e.contains(f,_(h.node))){var b;if(a(h))continue;if(b=i(h)){o.declarations.push(b);continue}var E=c(h);if(E){r.accessExpressions.push(E);continue}if(e.isClassDeclaration(n.parent)){var T=l(h);if(T){r.typeUsages.push(T);continue}}}o.valid=!1}else o.valid=!1}return o}(e.flatMap(p,(function(n){return e.FindAllReferences.getReferenceEntriesForNode(-1,n,t,t.getSourceFiles(),r)})));e.every(m.declarations,(function(n){return e.contains(p,n)}))||(m.valid=!1);return m;function _(n){var t=f.getSymbolAtLocation(n);return t&&e.getSymbolTarget(t,f)}}(b,f,h);if(E.valid){return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(n,(function(n){return function(n,t,r,a,i,o){var s=e.map(function(n,t,r){var a,i=t.getTypeChecker(),o=_(n.parameters),s=e.map(o,(function(n){var t=e.factory.createBindingElement(void 0,void 0,y(n),e.isRestParameter(n)&&v(n)?e.factory.createArrayLiteralExpression():n.initializer);e.suppressLeadingAndTrailingTrivia(t),n.initializer&&t.initializer&&e.copyComments(n.initializer,t.initializer);return t})),c=e.factory.createObjectBindingPattern(s),l=(u=o,d=e.map(u,h),e.addEmitFlags(e.factory.createTypeLiteralNode(d),1));var u,d;e.every(o,v)&&(a=e.factory.createObjectLiteralExpression());var p=e.factory.createParameterDeclaration(void 0,void 0,void 0,c,void 0,l,a);if(m(n.parameters)){var f=n.parameters[0],g=e.factory.createParameterDeclaration(void 0,void 0,void 0,f.name,void 0,f.type);return e.suppressLeadingAndTrailingTrivia(g.name),e.copyComments(f.name,g.name),f.type&&(e.suppressLeadingAndTrailingTrivia(g.type),e.copyComments(f.type,g.type)),e.factory.createNodeArray([g,p])}return e.factory.createNodeArray([p]);function h(n){var a,o,s=n.type;s||!n.initializer&&!e.isRestParameter(n)||(a=n,o=i.getTypeAtLocation(a),s=e.getTypeNodeIfAccessible(o,a,t,r));var c=e.factory.createPropertySignature(void 0,y(n),v(n)?e.factory.createToken(57):n.questionToken,s);return e.suppressLeadingAndTrailingTrivia(c),e.copyComments(n.name,c.name),n.type&&c.type&&e.copyComments(n.type,c.type),c}function v(n){if(e.isRestParameter(n)){var t=i.getTypeAtLocation(n);return!i.isTupleType(t)}return i.isOptionalParameter(n)}}(i,t,r),(function(n){return e.getSynthesizedDeepClone(n)}));a.replaceNodeRangeWithNodes(n,e.first(i.parameters),e.last(i.parameters),s,{joiner:", ",indentation:0,leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include});for(var c=e.sortAndDeduplicate(o.functionCalls,(function(n,t){return e.compareValues(n.pos,t.pos)})),l=0,u=c;l<u.length;l++){var d=u[l];if(d.arguments&&d.arguments.length){var p=e.getSynthesizedDeepClone(g(i,d.arguments),!0);a.replaceNodeRange(e.getSourceFileOfNode(d),e.first(d.arguments),e.last(d.arguments),p,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}}(d,f,v,n,b,E)}))}}return{edits:[]}},getAvailableActions:function(n){var t=n.file,a=n.startPosition;if(e.isSourceFileJS(t))return e.emptyArray;if(!u(t,a,n.program.getTypeChecker()))return e.emptyArray;var i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_parameters_to_destructured_object);return[{name:r,description:i,actions:[{name:r,description:i}]}]}})}(n.convertParamsToDestructuredObject||(n.convertParamsToDestructuredObject={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert to template string",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string);function i(n,t){var r=e.getTokenAtPosition(n,t),a=s(r);return!c(a)&&e.isParenthesizedExpression(a.parent)&&e.isBinaryExpression(a.parent.parent)?a.parent.parent:r}function o(n,t){var r=s(t),a=n.file,i=function(n,t){var r=n.nodes,a=n.operators,i=function(n,t){return function(r,a){r<n.length&&e.copyTrailingComments(n[r],a,t,3,!1)}}(a,t),o=function(n,t,r){return function(a,i){for(;a.length>0;){var o=a.shift();e.copyTrailingComments(n[o],i,t,3,!1),r(o,i)}}}(r,t,i),s=u(0,r),c=s[0],l=s[1],p=s[2];if(c===r.length){var f=e.factory.createNoSubstitutionTemplateLiteral(l);return o(p,f),f}var m=[],_=e.factory.createTemplateHead(l);o(p,_);for(var g=c;g<r.length;g++){var y=d(r[g]);i(g,y);var h=u(g+1,r),v=h[0],b=h[1],E=h[2],T=(g=v-1)===r.length-1?e.factory.createTemplateTail(b):e.factory.createTemplateMiddle(b);o(E,T),m.push(e.factory.createTemplateSpan(y,T))}return e.factory.createTemplateExpression(_,m)}(l(r),a),o=e.getTrailingCommentRanges(a.text,r.end);if(o){var c=o[o.length-1],p={pos:o[0].pos,end:c.end};return e.textChanges.ChangeTracker.with(n,(function(e){e.deleteRange(a,p),e.replaceNode(a,r,i)}))}return e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(a,r,i)}))}function s(n){for(;e.isBinaryExpression(n.parent)&&62!==n.parent.operatorToken.kind;)n=n.parent;return n}function c(e){var n=l(e),t=n.containsString,r=n.areOperatorsValid;return t&&r}function l(n){if(e.isBinaryExpression(n)){var t=l(n.left),r=t.nodes,a=t.operators,i=t.containsString,o=t.areOperatorsValid;if(!i&&!e.isStringLiteral(n.right))return{nodes:[n],operators:[],containsString:!1,areOperatorsValid:!0};var s=39===n.operatorToken.kind,c=o&&s;return r.push(n.right),a.push(n.operatorToken),{nodes:r,operators:a,containsString:!0,areOperatorsValid:c}}return{nodes:[n],operators:[],containsString:e.isStringLiteral(n),areOperatorsValid:!0}}n.registerRefactor(r,{getEditsForAction:function(n,t){var r=n.file,s=n.startPosition,c=i(r,s);switch(t){case a:return{edits:o(n,c)};default:return e.Debug.fail("invalid action")}},getAvailableActions:function(n){var t=n.file,o=n.startPosition,l=s(i(t,o)),u={name:r,description:a,actions:[]};if(e.isBinaryExpression(l)&&c(l))return u.actions.push({name:r,description:a}),[u];return e.emptyArray}});function u(n,t){for(var r="",a=[];n<t.length&&e.isStringLiteral(t[n]);){r+=t[n].text,a.push(n),n++}return[n,r,a]}function d(n){return e.isParenthesizedExpression(n)&&(!function(n){var t=n.getSourceFile();e.copyTrailingComments(n,n.expression,t,3,!1),e.copyTrailingAsLeadingComments(n.expression,n.expression,t,3,!1)}(n),n=n.expression),n}}(n.convertStringOrTemplateLiteral||(n.convertStringOrTemplateLiteral={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert arrow function or function expression",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_arrow_function_or_function_expression),i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_anonymous_function),o=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_named_function),s=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_arrow_function);function c(n){var t=!1;return n.forEachChild((function n(r){e.isThis(r)?t=!0:e.isClassLike(r)||e.isFunctionDeclaration(r)||e.isFunctionExpression(r)||e.forEachChild(r,n)})),t}function l(n,t,r){var a=e.getTokenAtPosition(n,t),i=function(n){if(!function(n){return e.isVariableDeclaration(n)||e.isVariableDeclarationList(n)&&1===n.declarations.length}(n))return;var t=(e.isVariableDeclaration(n)?n:n.declarations[0]).initializer;return t&&e.isArrowFunction(t)?t:void 0}(a.parent);if(i&&!c(i.body))return{selectedVariableDeclaration:!0,func:i};var o=e.getContainingFunction(a),s=r.getTypeChecker();if(o&&(e.isFunctionExpression(o)||e.isArrowFunction(o))&&!e.rangeContainsRange(o.body,a)&&!c(o.body)){if(e.isFunctionExpression(o)&&o.name&&e.FindAllReferences.Core.isSymbolReferencedInFile(o.name,s,n))return;return{selectedVariableDeclaration:!1,func:o}}}function u(n){return e.isExpression(n)?e.factory.createBlock([e.factory.createReturnStatement(n)],!0):n}n.registerRefactor(r,{getEditsForAction:function(n,t){var r=n.file,a=n.startPosition,i=n.program,o=l(r,a,i);if(!o)return;var s=o.func,c=[];switch(t){case"Convert to anonymous function":c.push.apply(c,function(n,t){var r=n.file,a=u(t.body),i=e.factory.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,t.typeParameters,t.parameters,t.type,a);return e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(r,t,i)}))}(n,s));break;case"Convert to named function":var d=function(n){var t=n.parent;if(!e.isVariableDeclaration(t)||!e.isVariableDeclarationInVariableStatement(t))return;var r=t.parent,a=r.parent;return e.isVariableDeclarationList(r)&&e.isVariableStatement(a)&&e.isIdentifier(t.name)?{variableDeclaration:t,variableDeclarationList:r,statement:a,name:t.name}:void 0}(s);if(!d)return;c.push.apply(c,function(n,t,r){var a=n.file,i=u(t.body),o=r.variableDeclaration,s=r.variableDeclarationList,c=r.statement,l=r.name;e.suppressLeadingTrivia(c);var d=e.factory.createFunctionDeclaration(t.decorators,c.modifiers,t.asteriskToken,l,t.typeParameters,t.parameters,t.type,i);return 1===s.declarations.length?e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(a,c,d)})):e.textChanges.ChangeTracker.with(n,(function(e){e.delete(a,o),e.insertNodeAfter(a,c,d)}))}(n,s,d));break;case"Convert to arrow function":if(!e.isFunctionExpression(s))return;c.push.apply(c,function(n,t){var r,a=n.file,i=t.body.statements[0];!function(n,t){return 1===n.statements.length&&e.isReturnStatement(t)&&!!t.expression}(t.body,i)?r=t.body:(r=i.expression,e.suppressLeadingAndTrailingTrivia(r),e.copyComments(i,r));var o=e.factory.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,e.factory.createToken(38),r);return e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(a,t,o)}))}(n,s));break;default:return e.Debug.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:c}},getAvailableActions:function(n){var t=n.file,c=n.startPosition,u=n.program,d=l(t,c,u);if(!d)return e.emptyArray;var p=d.selectedVariableDeclaration,f=d.func,m=[];(p||e.isArrowFunction(f)&&e.isVariableDeclaration(f.parent))&&m.push({name:"Convert to named function",description:o});!p&&e.isArrowFunction(f)&&m.push({name:"Convert to anonymous function",description:i});e.isFunctionExpression(f)&&m.push({name:"Convert to arrow function",description:s});return[{name:r,description:a,actions:m}]}})}(n.convertArrowFunctionOrFunctionExpression||(n.convertArrowFunctionOrFunctionExpression={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){function n(n,r,a,i){var o=e.isNodeKind(n)?new t(n,r,a):78===n?new u(78,r,a):79===n?new p(79,r,a):new l(n,r,a);return o.parent=i,o.flags=25358336&i.flags,o}e.servicesVersion="0.8";var t=function(){function t(e,n,t){this.pos=n,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}return t.prototype.assertHasRealPosition=function(n){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),n||"Node must have a real position for this operation")},t.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},t.prototype.getStart=function(n,t){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,n,t)},t.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},t.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},t.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},t.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},t.prototype.getChildCount=function(e){return this.getChildren(e).length},t.prototype.getChildAt=function(e,n){return this.getChildren(n)[e]},t.prototype.getChildren=function(t){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=function(t,r){if(!e.isNodeKind(t.kind))return e.emptyArray;var i=[];if(e.isJSDocCommentContainingNode(t))return t.forEachChild((function(e){i.push(e)})),i;e.scanner.setText((r||t.getSourceFile()).text);var o=t.pos,s=function(e){a(i,o,e.pos,t),i.push(e),o=e.end};return e.forEach(t.jsDoc,s),o=t.pos,t.forEachChild(s,(function(e){a(i,o,e.pos,t),i.push(function(e,t){var r=n(329,e.pos,e.end,t);r._children=[];for(var i=e.pos,o=0,s=e;o<s.length;o++){var c=s[o];a(r._children,i,c.pos,t),r._children.push(c),i=c.end}return a(r._children,i,e.end,t),r}(e,t)),o=e.end})),a(i,o,t.end,t),e.scanner.setText(void 0),i}(this,t))},t.prototype.getFirstToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n);if(t.length){var r=e.find(t,(function(e){return e.kind<298||e.kind>328}));return r.kind<156?r:r.getFirstToken(n)}},t.prototype.getLastToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n),r=e.lastOrUndefined(t);if(r)return r.kind<156?r:r.getLastToken(n)},t.prototype.forEachChild=function(n,t){return e.forEachChild(this,n,t)},t}();function a(t,r,a,i){for(e.scanner.setTextPos(r);r<a;){var o=e.scanner.scan(),s=e.scanner.getTextPos();if(s<=a&&(78===o&&e.Debug.fail("Did not expect "+e.Debug.formatSyntaxKind(i.kind)+" to have an Identifier in its trivia"),t.push(n(o,r,s,i))),r=s,1===o)break}}var i=function(){function n(e,n){this.pos=e,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}return n.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},n.prototype.getStart=function(n,t){return e.getTokenPosOfNode(this,n,t)},n.prototype.getFullStart=function(){return this.pos},n.prototype.getEnd=function(){return this.end},n.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},n.prototype.getFullWidth=function(){return this.end-this.pos},n.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},n.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},n.prototype.getText=function(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},n.prototype.getChildCount=function(){return 0},n.prototype.getChildAt=function(){},n.prototype.getChildren=function(){return 1===this.kind&&this.jsDoc||e.emptyArray},n.prototype.getFirstToken=function(){},n.prototype.getLastToken=function(){},n.prototype.forEachChild=function(){},n}(),c=function(){function n(e,n){this.flags=e,this.escapedName=n}return n.prototype.getFlags=function(){return this.flags},Object.defineProperty(n.prototype,"name",{get:function(){return e.symbolName(this)},enumerable:!1,configurable:!0}),n.prototype.getEscapedName=function(){return this.escapedName},n.prototype.getName=function(){return this.name},n.prototype.getDeclarations=function(){return this.declarations},n.prototype.getDocumentationComment=function(n){if(!this.documentationComment)if(this.documentationComment=e.emptyArray,!this.declarations&&this.target&&this.target.tupleLabelDeclaration){var t=this.target.tupleLabelDeclaration;this.documentationComment=g([t],n)}else this.documentationComment=g(this.declarations,n);return this.documentationComment},n.prototype.getContextualDocumentationComment=function(n,t){switch(null==n?void 0:n.kind){case 166:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=e.emptyArray,this.contextualGetAccessorDocumentationComment=g(e.filter(this.declarations,e.isGetAccessor),t)),this.contextualGetAccessorDocumentationComment;case 167:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=e.emptyArray,this.contextualSetAccessorDocumentationComment=g(e.filter(this.declarations,e.isSetAccessor),t)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(t)}},n.prototype.getJsDocTags=function(){return void 0===this.tags&&(this.tags=e.JsDoc.getJsDocTagsFromDeclarations(this.declarations)),this.tags},n}(),l=function(e){function n(n,t,r){var a=e.call(this,t,r)||this;return a.kind=n,a}return d(n,e),n}(i),u=function(n){function t(e,t,r){var a=n.call(this,t,r)||this;return a.kind=78,a}return d(t,n),Object.defineProperty(t.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),t}(i);u.prototype.kind=78;var p=function(n){function t(e,t,r){return n.call(this,t,r)||this}return d(t,n),Object.defineProperty(t.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),t}(i);p.prototype.kind=79;var f=function(){function n(e,n){this.checker=e,this.flags=n}return n.prototype.getFlags=function(){return this.flags},n.prototype.getSymbol=function(){return this.symbol},n.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},n.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},n.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},n.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},n.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},n.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},n.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},n.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},n.prototype.isNullableType=function(){return this.checker.isNullableType(this)},n.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},n.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},n.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},n.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},n.prototype.isUnion=function(){return!!(1048576&this.flags)},n.prototype.isIntersection=function(){return!!(2097152&this.flags)},n.prototype.isUnionOrIntersection=function(){return!!(3145728&this.flags)},n.prototype.isLiteral=function(){return!!(384&this.flags)},n.prototype.isStringLiteral=function(){return!!(128&this.flags)},n.prototype.isNumberLiteral=function(){return!!(256&this.flags)},n.prototype.isTypeParameter=function(){return!!(262144&this.flags)},n.prototype.isClassOrInterface=function(){return!!(3&e.getObjectFlags(this))},n.prototype.isClass=function(){return!!(1&e.getObjectFlags(this))},Object.defineProperty(n.prototype,"typeArguments",{get:function(){if(4&e.getObjectFlags(this))return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0}),n}(),m=function(){function n(e,n){this.checker=e,this.flags=n}return n.prototype.getDeclaration=function(){return this.declaration},n.prototype.getTypeParameters=function(){return this.typeParameters},n.prototype.getParameters=function(){return this.parameters},n.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},n.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=g(e.singleElementArray(this.declaration),this.checker))},n.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?e.JsDoc.getJsDocTagsFromDeclarations([this.declaration]):[]),this.jsDocTags},n}();function _(n){return e.getJSDocTags(n).some((function(e){return"inheritDoc"===e.tagName.text}))}function g(n,t){if(!n)return e.emptyArray;var r=e.JsDoc.getJsDocCommentsFromDeclarations(n);return(0===r.length||n.some(_))&&e.forEachUnique(n,(function(n){var a=function(n,t,r){return e.firstDefined(n.parent?e.getAllSuperTypeNodes(n.parent):e.emptyArray,(function(e){var n=r.getTypeAtLocation(e),a=n&&r.getPropertyOfType(n,t),i=a&&a.getDocumentationComment(r);return i&&i.length?i:void 0}))}(n,n.symbol.name,t);a&&(r=0===r.length?a.slice():a.concat(e.lineBreakPart(),r))})),r}var y=function(n){function t(e,t,r){var a=n.call(this,e,t,r)||this;return a.kind=294,a}return d(t,n),t.prototype.update=function(n,t){return e.updateSourceFile(this,n,t)},t.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},t.prototype.getLineStarts=function(){return e.getLineStarts(this)},t.prototype.getPositionOfLineAndCharacter=function(n,t,r){return e.computePositionOfLineAndCharacter(e.getLineStarts(this),n,t,this.text,r)},t.prototype.getLineEndOfPosition=function(e){var n,t=this.getLineAndCharacterOfPosition(e).line,r=this.getLineStarts();t+1>=r.length&&(n=this.getEnd()),n||(n=r[t+1]-1);var a=this.getFullText();return"\n"===a[n]&&"\r"===a[n-1]?n-1:n},t.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},t.prototype.computeNamedDeclarations=function(){var n=e.createMultiMap();return this.forEachChild((function a(i){switch(i.kind){case 248:case 205:case 164:case 163:var o=i,s=r(o);if(s){var c=function(e){var t=n.get(e);t||n.set(e,t=[]);return t}(s),l=e.lastOrUndefined(c);l&&o.parent===l.parent&&o.symbol===l.symbol?o.body&&!l.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(i,a);break;case 249:case 218:case 250:case 251:case 252:case 253:case 257:case 267:case 262:case 259:case 260:case 166:case 167:case 176:t(i),e.forEachChild(i,a);break;case 159:if(!e.hasSyntacticModifier(i,92))break;case 246:case 195:var u=i;if(e.isBindingPattern(u.name)){e.forEachChild(u.name,a);break}u.initializer&&a(u.initializer);case 288:case 162:case 161:t(i);break;case 264:var d=i;d.exportClause&&(e.isNamedExports(d.exportClause)?e.forEach(d.exportClause.elements,a):a(d.exportClause.name));break;case 258:var p=i.importClause;p&&(p.name&&t(p.name),p.namedBindings&&(260===p.namedBindings.kind?t(p.namedBindings):e.forEach(p.namedBindings.elements,a)));break;case 213:0!==e.getAssignmentDeclarationKind(i)&&t(i);default:e.forEachChild(i,a)}})),n;function t(e){var t=r(e);t&&n.add(t,e)}function r(n){var t=e.getNonAssignedNameOfDeclaration(n);return t&&(e.isComputedPropertyName(t)&&e.isPropertyAccessExpression(t.expression)?t.expression.name.text:e.isPropertyName(t)?e.getNameFromPropertyName(t):void 0)}},t}(t),h=function(){function n(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}return n.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},n}();function v(n){var t=!0;for(var r in n)if(e.hasProperty(n,r)&&!b(r)){t=!1;break}if(t)return n;var a={};for(var r in n){if(e.hasProperty(n,r))a[b(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=n[r]}return a}function b(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function E(){return{target:1,jsx:1}}e.toEditorSettings=v,e.displayPartsToString=function(n){return n?e.map(n,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=E,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var T=function(){function n(n,t){this.host=n,this.currentDirectory=n.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var r=0,a=n.getScriptFileNames();r<a.length;r++){var i=a[r];this.createEntry(i,e.toPath(i,this.currentDirectory,t))}this._compilationSettings=n.getCompilationSettings()||{target:1,jsx:1}}return n.prototype.compilationSettings=function(){return this._compilationSettings},n.prototype.getProjectReferences=function(){return this.host.getProjectReferences&&this.host.getProjectReferences()},n.prototype.createEntry=function(n,t){var r,a=this.host.getScriptSnapshot(n);return r=a?{hostFileName:n,version:this.host.getScriptVersion(n),scriptSnapshot:a,scriptKind:e.getScriptKind(n,this.host)}:n,this.fileNameToEntry.set(t,r),r},n.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},n.prototype.getHostFileInformation=function(n){var t=this.fileNameToEntry.get(n);return e.isString(t)?void 0:t},n.prototype.getOrCreateEntryByPath=function(n,t){var r=this.getEntryByPath(t)||this.createEntry(n,t);return e.isString(r)?void 0:r},n.prototype.getRootFileNames=function(){var n=[];return this.fileNameToEntry.forEach((function(t){e.isString(t)?n.push(t):n.push(t.hostFileName)})),n},n.prototype.getScriptSnapshot=function(e){var n=this.getHostFileInformation(e);return n&&n.scriptSnapshot},n}(),S=function(){function n(e){this.host=e}return n.prototype.getCurrentSourceFile=function(n){var t=this.host.getScriptSnapshot(n);if(!t)throw new Error("Could not find file: '"+n+"'.");var r,a=e.getScriptKind(n,this.host),i=this.host.getScriptVersion(n);if(this.currentFileName!==n)r=x(n,t,99,i,!0,a);else if(this.currentFileVersion!==i){var o=t.getChangeRange(this.currentFileScriptSnapshot);r=A(this.currentSourceFile,t,i,o)}return r&&(this.currentFileVersion=i,this.currentFileName=n,this.currentFileScriptSnapshot=t,this.currentSourceFile=r),this.currentSourceFile},n}();function L(e,n,t){e.version=t,e.scriptSnapshot=n}function x(n,t,r,a,i,o){var s=e.createSourceFile(n,e.getSnapshotText(t),r,i,o);return L(s,t,a),s}function A(n,t,r,a,i){if(a&&r!==n.version){var o=void 0,s=0!==a.span.start?n.text.substr(0,a.span.start):"",c=e.textSpanEnd(a.span)!==n.text.length?n.text.substr(e.textSpanEnd(a.span)):"";if(0===a.newLength)o=s&&c?s+c:s||c;else{var l=t.getText(a.span.start,a.span.start+a.newLength);o=s&&c?s+l+c:s?s+l:l+c}var u=e.updateSourceFile(n,o,a,i);return L(u,t,r),u.nameTable=void 0,n!==u&&n.scriptSnapshot&&(n.scriptSnapshot.dispose&&n.scriptSnapshot.dispose(),n.scriptSnapshot=void 0),u}return x(n.fileName,t,n.languageVersion,r,!0,n.scriptKind)}e.createLanguageServiceSourceFile=x,e.updateLanguageServiceSourceFile=A;var D=function(){function n(e){this.cancellationToken=e}return n.prototype.isCancellationRequested=function(){return!!this.cancellationToken&&this.cancellationToken.isCancellationRequested()},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}(),C=function(){function n(e,n){void 0===n&&(n=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=n,this.lastCancellationCheckTime=0}return n.prototype.isCancellationRequested=function(){var n=e.timestamp();return Math.abs(n-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=n,this.hostCancellationToken.isCancellationRequested())},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}();e.ThrottledCancellationToken=C;var I=["getSyntacticDiagnostics","getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls"],N=o(I,["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"]);function R(n){var t=function(n){switch(n.kind){case 10:case 14:case 8:if(157===n.parent.kind)return e.isObjectLiteralElement(n.parent.parent)?n.parent.parent:void 0;case 78:return!e.isObjectLiteralElement(n.parent)||197!==n.parent.parent.kind&&278!==n.parent.parent.kind||n.parent.name!==n?void 0:n.parent}return}(n);return t&&(e.isObjectLiteralExpression(t.parent)||e.isJsxAttributes(t.parent))?t:void 0}function k(n,t,r,a){var i=e.getNameFromPropertyName(n.name);if(!i)return e.emptyArray;if(!r.isUnion())return(o=r.getProperty(i))?[o]:e.emptyArray;var o,s=e.mapDefined(r.types,(function(r){return e.isObjectLiteralExpression(n.parent)&&t.isTypeInvalidDueToUnionDiscriminant(r,n.parent)?void 0:r.getProperty(i)}));if(a&&(0===s.length||s.length===r.types.length)&&(o=r.getProperty(i)))return[o];return 0===s.length?e.mapDefined(r.types,(function(e){return e.getProperty(i)})):s}e.createLanguageService=function(n,t,r){var a,i;void 0===t&&(t=e.createDocumentRegistry(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames(),n.getCurrentDirectory())),i=void 0===r?e.LanguageServiceMode.Semantic:"boolean"==typeof r?r?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:r;var c,l,u=new S(n),d=0,p=new D(n.getCancellationToken&&n.getCancellationToken()),f=n.getCurrentDirectory();function m(e){n.log&&n.log(e)}!e.localizedDiagnosticMessages&&n.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(n.getLocalizedDiagnosticMessages());var _=e.hostUsesCaseSensitiveFileNames(n),g=e.createGetCanonicalFileName(_),y=e.getSourceMapper({useCaseSensitiveFileNames:function(){return _},getCurrentDirectory:function(){return f},getProgram:E,fileExists:e.maybeBind(n,n.fileExists),readFile:e.maybeBind(n,n.readFile),getDocumentPositionMapper:e.maybeBind(n,n.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(n,n.getSourceFileLike),log:m});function h(e){var n=c.getSourceFile(e);if(!n){var t=new Error("Could not find source file: '"+e+"'.");throw t.ProgramFiles=c.getSourceFiles().map((function(e){return e.fileName})),t}return n}function b(){var r,a;if(e.Debug.assert(i!==e.LanguageServiceMode.Syntactic),n.getProjectVersion){var o=n.getProjectVersion();if(o){if(l===o&&!(null===(r=n.hasChangedAutomaticTypeDirectiveNames)||void 0===r?void 0:r.call(n)))return;l=o}}var s=n.getTypeRootsVersion?n.getTypeRootsVersion():0;d!==s&&(m("TypeRoots version has changed; provide new program"),c=void 0,d=s);var u=new T(n,g),h=u.getRootFileNames(),v=n.hasInvalidatedResolution||e.returnFalse,b=e.maybeBind(n,n.hasChangedAutomaticTypeDirectiveNames),E=u.getProjectReferences();if(!e.isProgramUptoDate(c,h,u.compilationSettings(),(function(e,t){return n.getScriptVersion(t)}),D,v,b,E)){var S=u.compilationSettings(),L={getSourceFile:function(n,t,r,a){return C(n,e.toPath(n,f,g),t,r,a)},getSourceFileByPath:C,getCancellationToken:function(){return p},getCanonicalFileName:g,useCaseSensitiveFileNames:function(){return _},getNewLine:function(){return e.getNewLineCharacter(S,(function(){return e.getNewLineOrDefaultFromHost(n)}))},getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return f},fileExists:D,readFile:function(t){var r=e.toPath(t,f,g),a=u&&u.getEntryByPath(r);if(a)return e.isString(a)?void 0:e.getSnapshotText(a.scriptSnapshot);return n.readFile&&n.readFile(t)},getSymlinkCache:e.maybeBind(n,n.getSymlinkCache),realpath:e.maybeBind(n,n.realpath),directoryExists:function(t){return e.directoryProbablyExists(t,n)},getDirectories:function(e){return n.getDirectories?n.getDirectories(e):[]},readDirectory:function(t,r,a,i,o){return e.Debug.checkDefined(n.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(t,r,a,i,o)},onReleaseOldSourceFile:function(e,n){var r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r)},hasInvalidatedResolution:v,hasChangedAutomaticTypeDirectiveNames:b,trace:e.maybeBind(n,n.trace),resolveModuleNames:e.maybeBind(n,n.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(n,n.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(n,n.useSourceOfProjectReferenceRedirect)};null===(a=n.setCompilerHost)||void 0===a||a.call(n,L);var x=t.getKeyForCompilationSettings(S),A={rootNames:h,options:S,host:L,oldProgram:c,projectReferences:E};return c=e.createProgram(A),u=void 0,y.clearCache(),void c.getTypeChecker()}function D(t){var r=e.toPath(t,f,g),a=u&&u.getEntryByPath(r);return a?!e.isString(a):!!n.fileExists&&n.fileExists(t)}function C(n,r,a,i,o){e.Debug.assert(void 0!==u,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var s=u&&u.getOrCreateEntryByPath(n,r);if(s){if(!o){var l=c&&c.getSourceFileByPath(r);if(l)return e.Debug.assertEqual(s.scriptKind,l.scriptKind,"Registered script kind should match new script kind."),t.updateDocumentWithKey(n,r,S,x,s.scriptSnapshot,s.version,s.scriptKind)}return t.acquireDocumentWithKey(n,r,S,x,s.scriptSnapshot,s.version,s.scriptKind)}}}function E(){if(i!==e.LanguageServiceMode.Syntactic)return b(),c;e.Debug.assert(void 0===c)}function L(n,t,r){var a=e.normalizePath(n);e.Debug.assert(r.some((function(n){return e.normalizePath(n)===a}))),b();var i=e.mapDefined(r,(function(e){return c.getSourceFile(e)})),o=h(n);return e.DocumentHighlights.getDocumentHighlights(c,p,o,t,i)}function x(n,t,r,a){b();var i=r&&2===r.use?c.getSourceFiles().filter((function(e){return!c.isSourceFileDefaultLibrary(e)})):c.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(c,p,i,n,t,r,a)}function A(t){var r=e.getScriptKind(t,n);return 3===r||4===r}var C=new e.Map(e.getEntries(((a={})[18]=19,a[20]=21,a[22]=23,a[31]=29,a)));function O(t){var r;return e.Debug.assertEqual(t.type,"install package"),n.installPackage?n.installPackage({fileName:(r=t.file,e.toPath(r,f,g)),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function P(e,n){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(n.pos).line,lastLine:e.getLineAndCharacterOfPosition(n.end).line}}function M(n,t,r){for(var a=u.getCurrentSourceFile(n),i=[],o=P(a,t),s=o.lineStarts,c=o.firstLine,l=o.lastLine,d=r||!1,p=Number.MAX_VALUE,f=new e.Map,m=new RegExp(/\S/),_=e.isInsideJsxElement(a,s[c]),g=_?"{/*":"//",y=c;y<=l;y++){var h=a.text.substring(s[y],a.getLineEndOfPosition(s[y])),v=m.exec(h);v&&(p=Math.min(p,v.index),f.set(y.toString(),v.index),h.substr(v.index,g.length)!==g&&(d=void 0===r||r))}for(y=c;y<=l;y++){var b=f.get(y.toString());void 0!==b&&(_?i.push.apply(i,w(n,{pos:s[y]+p,end:a.getLineEndOfPosition(s[y])},d,_)):d?i.push({newText:g,span:{length:0,start:s[y]+p}}):a.text.substr(s[y]+b,g.length)===g&&i.push({newText:"",span:{length:g.length,start:s[y]+b}}))}return i}function w(n,t,r,a){for(var i,o=u.getCurrentSourceFile(n),s=[],c=o.text,l=!1,d=r||!1,p=[],f=t.pos,m=void 0!==a?a:e.isInsideJsxElement(o,f),_=m?"{/*":"/*",g=m?"*/}":"*/",y=m?"\\{\\/\\*":"\\/\\*",h=m?"\\*\\/\\}":"\\*\\/";f<=t.end;){var v=c.substr(f,_.length)===_?_.length:0,b=e.isInComment(o,f+v);if(b)m&&(b.pos--,b.end++),p.push(b.pos),3===b.kind&&p.push(b.end),l=!0,f=b.end+1;else{var E=c.substring(f,t.end).search("("+y+")|("+h+")");d=void 0!==r?r:d||!e.isTextWhiteSpaceLike(c,f,-1===E?t.end:f+E),f=-1===E?t.end+1:f+E+g.length}}if(d||!l){2!==(null===(i=e.isInComment(o,t.pos))||void 0===i?void 0:i.kind)&&e.insertSorted(p,t.pos,e.compareValues),e.insertSorted(p,t.end,e.compareValues);var T=p[0];c.substr(T,_.length)!==_&&s.push({newText:_,span:{length:0,start:T}});for(var S=1;S<p.length-1;S++)c.substr(p[S]-g.length,g.length)!==g&&s.push({newText:g,span:{length:0,start:p[S]}}),c.substr(p[S],_.length)!==_&&s.push({newText:_,span:{length:0,start:p[S]}});s.length%2!=0&&s.push({newText:g,span:{length:0,start:p[p.length-1]}})}else for(var L=0,x=p;L<x.length;L++){var A=x[L],D=A-g.length>0?A-g.length:0;v=c.substr(D,g.length)===g?g.length:0;s.push({newText:"",span:{length:_.length,start:A-v}})}return s}function F(t,r,a,i,o){var s="number"==typeof r?[r,void 0]:[r.pos,r.end];return{file:t,startPosition:s[0],endPosition:s[1],program:E(),host:n,formatContext:e.formatting.getFormatContext(i,n),cancellationToken:p,preferences:a,triggerReason:o}}C.forEach((function(e,n){return C.set(e.toString(),Number(n))}));var G={dispose:function(){if(c){var r=t.getKeyForCompilationSettings(c.getCompilerOptions());e.forEach(c.getSourceFiles(),(function(e){return t.releaseDocumentWithKey(e.resolvedPath,r)})),c=void 0}n=void 0},cleanupSemanticCache:function(){c=void 0},getSyntacticDiagnostics:function(e){return b(),c.getSyntacticDiagnostics(h(e),p).slice()},getSemanticDiagnostics:function(n){b();var t=h(n),r=c.getSemanticDiagnostics(t,p);if(!e.getEmitDeclarations(c.getCompilerOptions()))return r.slice();var a=c.getDeclarationDiagnostics(t,p);return o(r,a)},getSuggestionDiagnostics:function(n){return b(),e.computeSuggestionDiagnostics(h(n),c,p)},getCompilerOptionsDiagnostics:function(){return b(),o(c.getOptionsDiagnostics(p),c.getGlobalDiagnostics(p))},getSyntacticClassifications:function(n,t){return e.getSyntacticClassifications(p,u.getCurrentSourceFile(n),t)},getSemanticClassifications:function(n,t){return A(n)?(b(),e.getSemanticClassifications(c.getTypeChecker(),p,h(n),c.getClassifiableNames(),t)):[]},getEncodedSyntacticClassifications:function(n,t){return e.getEncodedSyntacticClassifications(p,u.getCurrentSourceFile(n),t)},getEncodedSemanticClassifications:function(n,t){return A(n)?(b(),e.getEncodedSemanticClassifications(c.getTypeChecker(),p,h(n),c.getClassifiableNames(),t)):{spans:[],endOfLineState:0}},getCompletionsAtPosition:function(t,r,a){void 0===a&&(a=e.emptyOptions);var i=s(s({},e.identity(a)),{includeCompletionsForModuleExports:a.includeCompletionsForModuleExports||a.includeExternalModuleExports,includeCompletionsWithInsertText:a.includeCompletionsWithInsertText||a.includeInsertTextCompletions});return b(),e.Completions.getCompletionsAtPosition(n,c,m,h(t),r,i,a.triggerCharacter)},getCompletionEntryDetails:function(t,r,a,i,o,s){return void 0===s&&(s=e.emptyOptions),b(),e.Completions.getCompletionEntryDetails(c,m,h(t),r,{name:a,source:o},n,i&&e.formatting.getFormatContext(i,n),s,p)},getCompletionEntrySymbol:function(t,r,a,i,o){return void 0===o&&(o=e.emptyOptions),b(),e.Completions.getCompletionEntrySymbol(c,m,h(t),r,{name:a,source:i},n,o)},getSignatureHelpItems:function(n,t,r){var a=(void 0===r?e.emptyOptions:r).triggerReason;b();var i=h(n);return e.SignatureHelp.getSignatureHelpItems(c,i,t,a,p)},getQuickInfoAtPosition:function(n,t){b();var r=h(n),a=e.getTouchingPropertyName(r,t);if(a!==r){var i=c.getTypeChecker(),o=function(n){if(e.isNewExpression(n.parent)&&n.pos===n.parent.pos)return n.parent.expression;return n}(a),s=function(n,t){var r=R(n);if(r){var a=t.getContextualType(r.parent),i=a&&k(r,t,a,!1);if(i&&1===i.length)return e.first(i)}return t.getSymbolAtLocation(n)}(o,i);if(!s||i.isUnknownSymbol(s)){var l=function(n,t,r){switch(t.kind){case 78:return!e.isLabelName(t)&&!e.isTagName(t);case 198:case 156:return!e.isInComment(n,r);case 107:case 186:case 105:return!0;default:return!1}}(r,o,t)?i.getTypeAtLocation(o):void 0;return l&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(o,r),displayParts:i.runWithCancellationToken(p,(function(n){return e.typeToDisplayParts(n,l,e.getContainerNode(o))})),documentation:l.symbol?l.symbol.getDocumentationComment(i):void 0,tags:l.symbol?l.symbol.getJsDocTags():void 0}}var u=i.runWithCancellationToken(p,(function(n){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,s,r,e.getContainerNode(o),o)})),d=u.symbolKind,f=u.displayParts,m=u.documentation,_=u.tags;return{kind:d,kindModifiers:e.SymbolDisplay.getSymbolModifiers(s),textSpan:e.createTextSpanFromNode(o,r),displayParts:f,documentation:m,tags:_}}},getDefinitionAtPosition:function(n,t){return b(),e.GoToDefinition.getDefinitionAtPosition(c,h(n),t)},getDefinitionAndBoundSpan:function(n,t){return b(),e.GoToDefinition.getDefinitionAndBoundSpan(c,h(n),t)},getImplementationAtPosition:function(n,t){return b(),e.FindAllReferences.getImplementationsAtPosition(c,p,c.getSourceFiles(),h(n),t)},getTypeDefinitionAtPosition:function(n,t){return b(),e.GoToDefinition.getTypeDefinitionAtPosition(c.getTypeChecker(),h(n),t)},getReferencesAtPosition:function(n,t){return b(),x(e.getTouchingPropertyName(h(n),t),t,{use:1},e.FindAllReferences.toReferenceEntry)},findReferences:function(n,t){return b(),e.FindAllReferences.findReferencedSymbols(c,p,c.getSourceFiles(),h(n),t)},getOccurrencesAtPosition:function(n,t){return e.flatMap(L(n,t,[n]),(function(e){return e.highlightSpans.map((function(n){return s(s({fileName:e.fileName,textSpan:n.textSpan,isWriteAccess:"writtenReference"===n.kind,isDefinition:!1},n.isInString&&{isInString:!0}),n.contextSpan&&{contextSpan:n.contextSpan})}))}))},getDocumentHighlights:L,getNameOrDottedNameSpan:function(n,t,r){var a=u.getCurrentSourceFile(n),i=e.getTouchingPropertyName(a,t);if(i!==a){switch(i.kind){case 198:case 156:case 10:case 94:case 109:case 103:case 105:case 107:case 186:case 78:break;default:return}for(var o=i;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(253!==o.parent.parent.kind||o.parent.parent.body!==o.parent)break;o=o.parent.parent.name}return e.createTextSpanFromBounds(o.getStart(),i.getEnd())}},getBreakpointStatementAtPosition:function(n,t){var r=u.getCurrentSourceFile(n);return e.BreakpointResolver.spanInSourceFileAtLocation(r,t)},getNavigateToItems:function(n,t,r,a){void 0===a&&(a=!1),b();var i=r?[h(r)]:c.getSourceFiles();return e.NavigateTo.getNavigateToItems(i,c.getTypeChecker(),p,n,t,a)},getRenameInfo:function(n,t,r){return b(),e.Rename.getRenameInfo(c,h(n),t,r)},getSmartSelectionRange:function(n,t){return e.SmartSelectionRange.getSmartSelectionRange(t,u.getCurrentSourceFile(n))},findRenameLocations:function(n,t,r,a,i){b();var o=h(n),c=e.getAdjustedRenameLocation(e.getTouchingPropertyName(o,t));if(e.isIdentifier(c)&&(e.isJsxOpeningElement(c.parent)||e.isJsxClosingElement(c.parent))&&e.isIntrinsicJsxName(c.escapedText)){var l=c.parent.parent;return[l.openingElement,l.closingElement].map((function(n){var t=e.createTextSpanFromNode(n.tagName,o);return s({fileName:o.fileName,textSpan:t},e.FindAllReferences.toContextSpan(t,o,n.parent))}))}return x(c,t,{findInStrings:r,findInComments:a,providePrefixAndSuffixTextForRename:i,use:2},(function(n,t,r){return e.FindAllReferences.toRenameLocation(n,t,r,i||!1)}))},getNavigationBarItems:function(n){return e.NavigationBar.getNavigationBarItems(u.getCurrentSourceFile(n),p)},getNavigationTree:function(n){return e.NavigationBar.getNavigationTree(u.getCurrentSourceFile(n),p)},getOutliningSpans:function(n){var t=u.getCurrentSourceFile(n);return e.OutliningElementsCollector.collectElements(t,p)},getTodoComments:function(n,t){b();var r=h(n);p.throwIfCancellationRequested();var a,i,o=r.text,s=[];if(t.length>0&&(i=r.fileName,!e.stringContains(i,"/node_modules/")))for(var c=function(){var n="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",r="(?:"+e.map(t,(function(e){return"("+(e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")})).join("|")+")";return new RegExp(n+"("+r+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}(),l=void 0;l=c.exec(o);){p.throwIfCancellationRequested();e.Debug.assert(l.length===t.length+3);var u=l[1],d=l.index+u.length;if(e.isInComment(r,d)){for(var f=void 0,m=0;m<t.length;m++)l[m+3]&&(f=t[m]);if(void 0===f)return e.Debug.fail();if(!((a=o.charCodeAt(d+f.text.length))>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)){var _=l[2];s.push({descriptor:f,message:_,position:d})}}}return s},getBraceMatchingAtPosition:function(n,t){var r=u.getCurrentSourceFile(n),a=e.getTouchingToken(r,t),i=a.getStart(r)===t?C.get(a.kind.toString()):void 0,o=i&&e.findChildOfKind(a.parent,i,r);return o?[e.createTextSpanFromNode(a,r),e.createTextSpanFromNode(o,r)].sort((function(e,n){return e.start-n.start})):e.emptyArray},getIndentationAtPosition:function(n,t,r){var a=e.timestamp(),i=v(r),o=u.getCurrentSourceFile(n);m("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-a)),a=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(t,o,i);return m("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-a)),s},getFormattingEditsForRange:function(t,r,a,i){var o=u.getCurrentSourceFile(t);return e.formatting.formatSelection(r,a,o,e.formatting.getFormatContext(v(i),n))},getFormattingEditsForDocument:function(t,r){return e.formatting.formatDocument(u.getCurrentSourceFile(t),e.formatting.getFormatContext(v(r),n))},getFormattingEditsAfterKeystroke:function(t,r,a,i){var o=u.getCurrentSourceFile(t),s=e.formatting.getFormatContext(v(i),n);if(!e.isInComment(o,r))switch(a){case"{":return e.formatting.formatOnOpeningCurly(r,o,s);case"}":return e.formatting.formatOnClosingCurly(r,o,s);case";":return e.formatting.formatOnSemicolon(r,o,s);case"\n":return e.formatting.formatOnEnter(r,o,s)}return[]},getDocCommentTemplateAtPosition:function(t,r){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(n),u.getCurrentSourceFile(t),r)},isValidBraceCompletionAtPosition:function(n,t,r){if(60===r)return!1;var a=u.getCurrentSourceFile(n);if(e.isInString(a,t))return!1;if(e.isInsideJsxElementOrAttribute(a,t))return 123===r;if(e.isInTemplateString(a,t))return!1;switch(r){case 39:case 34:case 96:return!e.isInComment(a,t)}return!0},getJsxClosingTagAtPosition:function(n,t){var r=u.getCurrentSourceFile(n),a=e.findPrecedingToken(t,r);if(a){var i=31===a.kind&&e.isJsxOpeningElement(a.parent)?a.parent.parent:e.isJsxText(a)?a.parent:void 0;return i&&function n(t){var r=t.openingElement,a=t.closingElement,i=t.parent;return!e.tagNamesAreEquivalent(r.tagName,a.tagName)||e.isJsxElement(i)&&e.tagNamesAreEquivalent(r.tagName,i.openingElement.tagName)&&n(i)}(i)?{newText:"</"+i.openingElement.tagName.getText(r)+">"}:void 0}},getSpanOfEnclosingComment:function(n,t,r){var a=u.getCurrentSourceFile(n),i=e.formatting.getRangeOfEnclosingComment(a,t);return!i||r&&3!==i.kind?void 0:e.createTextSpanFromRange(i)},getCodeFixesAtPosition:function(t,r,a,i,o,s){void 0===s&&(s=e.emptyOptions),b();var l=h(t),u=e.createTextSpanFromBounds(r,a),d=e.formatting.getFormatContext(o,n);return e.flatMap(e.deduplicate(i,e.equateValues,e.compareValues),(function(t){return p.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:t,sourceFile:l,span:u,program:c,host:n,cancellationToken:p,formatContext:d,preferences:s})}))},getCombinedCodeFix:function(t,r,a,i){void 0===i&&(i=e.emptyOptions),b(),e.Debug.assert("file"===t.type);var o=h(t.fileName),s=e.formatting.getFormatContext(a,n);return e.codefix.getAllFixes({fixId:r,sourceFile:o,program:c,host:n,cancellationToken:p,formatContext:s,preferences:i})},applyCodeActionCommand:function(n,t){var r="string"==typeof n?t:n;return e.isArray(r)?Promise.all(r.map((function(e){return O(e)}))):O(r)},organizeImports:function(t,r,a){void 0===a&&(a=e.emptyOptions),b(),e.Debug.assert("file"===t.type);var i=h(t.fileName),o=e.formatting.getFormatContext(r,n);return e.OrganizeImports.organizeImports(i,o,n,c,a)},getEditsForFileRename:function(t,r,a,i){return void 0===i&&(i=e.emptyOptions),e.getEditsForFileRename(E(),t,r,n,e.formatting.getFormatContext(a,n),i,y)},getEmitOutput:function(t,r,a){b();var i=h(t),o=n.getCustomTransformers&&n.getCustomTransformers();return e.getFileEmitOutput(c,i,!!r,p,o,a)},getNonBoundSourceFile:function(e){return u.getCurrentSourceFile(e)},getProgram:E,getAutoImportProvider:function(){var e;return null===(e=n.getPackageJsonAutoImportProvider)||void 0===e?void 0:e.call(n)},getApplicableRefactors:function(n,t,r,a){void 0===r&&(r=e.emptyOptions),b();var i=h(n);return e.refactor.getApplicableRefactors(F(i,t,r,e.emptyOptions,a))},getEditsForRefactor:function(n,t,r,a,i,o){void 0===o&&(o=e.emptyOptions),b();var s=h(n);return e.refactor.getEditsForRefactor(F(s,r,o,t),a,i)},toLineColumnOffset:y.toLineColumnOffset,getSourceMapper:function(){return y},clearSourceMapperCache:function(){return y.clearCache()},prepareCallHierarchy:function(n,t){b();var r=e.CallHierarchy.resolveCallHierarchyDeclaration(c,e.getTouchingPropertyName(h(n),t));return r&&e.mapOneOrMany(r,(function(n){return e.CallHierarchy.createCallHierarchyItem(c,n)}))},provideCallHierarchyIncomingCalls:function(n,t){b();var r=h(n),a=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,0===t?r:e.getTouchingPropertyName(r,t)));return a?e.CallHierarchy.getIncomingCalls(c,a,p):[]},provideCallHierarchyOutgoingCalls:function(n,t){b();var r=h(n),a=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,0===t?r:e.getTouchingPropertyName(r,t)));return a?e.CallHierarchy.getOutgoingCalls(c,a):[]},toggleLineComment:M,toggleMultilineComment:w,commentSelection:function(e,n){var t=P(u.getCurrentSourceFile(e),n);return t.firstLine===t.lastLine&&n.pos!==n.end?w(e,n,!0):M(e,n,!0)},uncommentSelection:function(n,t){var r=u.getCurrentSourceFile(n),a=[],i=t.pos,o=t.end;i===o&&(o+=e.isInsideJsxElement(r,i)?2:1);for(var s=i;s<=o;s++){var c=e.isInComment(r,s);if(c){switch(c.kind){case 2:a.push.apply(a,M(n,{end:c.end,pos:c.pos+1},!1));break;case 3:a.push.apply(a,w(n,{end:c.end,pos:c.pos+1},!1))}s=c.end+1}}return a}};switch(i){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:I.forEach((function(e){return G[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case e.LanguageServiceMode.Syntactic:N.forEach((function(e){return G[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:e.Debug.assertNever(i)}return G},e.getNameTable=function(n){return n.nameTable||function(n){var t=n.nameTable=new e.Map;n.forEachChild((function n(r){if(e.isIdentifier(r)&&!e.isTagName(r)&&r.escapedText||e.isStringOrNumericLiteralLike(r)&&function(n){return e.isDeclarationName(n)||269===n.parent.kind||function(e){return e&&e.parent&&199===e.parent.kind&&e.parent.argumentExpression===e}(n)||e.isLiteralComputedPropertyDeclarationName(n)}(r)){var a=e.getEscapedTextOfIdentifierOrLiteral(r);t.set(a,void 0===t.get(a)?r.pos:-1)}else if(e.isPrivateIdentifier(r)){a=r.escapedText;t.set(a,void 0===t.get(a)?r.pos:-1)}if(e.forEachChild(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;i<o.length;i++){var s=o[i];e.forEachChild(s,n)}}))}(n),n.nameTable},e.getContainingObjectLiteralElement=R,e.getPropertySymbolsFromContextualType=k,e.getDefaultLibFilePath=function(n){return r+e.directorySeparator+e.getDefaultLibFileName(n)},e.setObjectAllocator({getNodeConstructor:function(){return t},getTokenConstructor:function(){return l},getIdentifierConstructor:function(){return u},getPrivateIdentifierConstructor:function(){return p},getSourceFileConstructor:function(){return y},getSymbolConstructor:function(){return c},getTypeConstructor:function(){return f},getSignatureConstructor:function(){return m},getSourceMapSourceConstructor:function(){return h}})}(p||(p={})),function(e){!function(n){n.spanInSourceFileAtLocation=function(n,t){if(!n.isDeclarationFile){var r=e.getTokenAtPosition(n,t),a=n.getLineAndCharacterOfPosition(t).line;if(n.getLineAndCharacterOfPosition(r.getStart(n)).line>a){var i=e.findPrecedingToken(r.pos,n);if(!i||n.getLineAndCharacterOfPosition(i.getEnd()).line!==a)return;r=i}if(!(8388608&r.flags))return d(r)}function o(t,r){var a=t.decorators?e.skipTrivia(n.text,t.decorators.end):t.getStart(n);return e.createTextSpanFromBounds(a,(r||t).getEnd())}function s(t,r){return o(t,e.findNextToken(r,r.parent,n))}function c(e,t){return e&&a===n.getLineAndCharacterOfPosition(e.getStart(n)).line?d(e):d(t)}function l(t){return d(e.findPrecedingToken(t.pos,n))}function u(t){return d(e.findNextToken(t,t.parent,n))}function d(t){if(t){var r=t.parent;switch(t.kind){case 229:return h(t.declarationList.declarations[0]);case 246:case 162:case 161:return h(t);case 159:return function n(t){if(e.isBindingPattern(t.name))return T(t.name);if(function(n){return!!n.initializer||void 0!==n.dotDotDotToken||e.hasSyntacticModifier(n,12)}(t))return o(t);var r=t.parent,a=r.parameters.indexOf(t);return e.Debug.assert(-1!==a),0!==a?n(r.parameters[a-1]):d(r.body)}(t);case 248:case 164:case 163:case 166:case 167:case 165:case 205:case 206:return function(e){if(!e.body)return;if(v(e))return o(e);return d(e.body)}(t);case 227:if(e.isFunctionBlock(t))return function(e){var n=e.statements.length?e.statements[0]:e.getLastToken();if(v(e.parent))return c(e.parent,n);return d(n)}(t);case 254:return b(t);case 284:return b(t.block);case 230:return o(t.expression);case 239:return o(t.getChildAt(0),t.expression);case 233:return s(t,t.expression);case 232:return d(t.statement);case 245:return o(t.getChildAt(0));case 231:return s(t,t.expression);case 242:return d(t.statement);case 238:case 237:return o(t.getChildAt(0),t.label);case 234:return function(e){if(e.initializer)return E(e);if(e.condition)return o(e.condition);if(e.incrementor)return o(e.incrementor)}(t);case 235:return s(t,t.expression);case 236:return E(t);case 241:return s(t,t.expression);case 281:case 282:return d(t.statements[0]);case 244:return b(t.tryBlock);case 243:case 263:return o(t,t.expression);case 257:return o(t,t.moduleReference);case 258:case 264:return o(t,t.moduleSpecifier);case 253:if(1!==e.getModuleInstanceState(t))return;case 249:case 252:case 288:case 195:return o(t);case 240:return d(t.statement);case 160:return g=r.decorators,e.createTextSpanFromBounds(e.skipTrivia(n.text,g.pos),g.end);case 193:case 194:return T(t);case 250:case 251:return;case 26:case 1:return c(e.findPrecedingToken(t.pos,n));case 27:return l(t);case 18:return function(t){switch(t.parent.kind){case 252:var r=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),r.members.length?r.members[0]:r.getLastToken(n));case 249:var a=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),a.members.length?a.members[0]:a.getLastToken(n));case 255:return c(t.parent.parent,t.parent.clauses[0])}return d(t.parent)}(t);case 19:return function(n){switch(n.parent.kind){case 254:if(1!==e.getModuleInstanceState(n.parent.parent))return;case 252:case 249:return o(n);case 227:if(e.isFunctionBlock(n.parent))return o(n);case 284:return d(e.lastOrUndefined(n.parent.statements));case 255:var t=n.parent,r=e.lastOrUndefined(t.clauses);return r?d(e.lastOrUndefined(r.statements)):void 0;case 193:var a=n.parent;return d(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var i=n.parent;return o(e.lastOrUndefined(i.properties)||i)}return d(n.parent)}}(t);case 23:return function(n){switch(n.parent.kind){case 194:var t=n.parent;return o(e.lastOrUndefined(t.elements)||t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var r=n.parent;return o(e.lastOrUndefined(r.elements)||r)}return d(n.parent)}}(t);case 20:return function(e){if(232===e.parent.kind||200===e.parent.kind||201===e.parent.kind)return l(e);if(204===e.parent.kind)return u(e);return d(e.parent)}(t);case 21:return function(e){switch(e.parent.kind){case 205:case 248:case 206:case 164:case 163:case 166:case 167:case 165:case 233:case 232:case 234:case 236:case 200:case 201:case 204:return l(e);default:return d(e.parent)}}(t);case 58:return function(n){if(e.isFunctionLike(n.parent)||285===n.parent.kind||159===n.parent.kind)return l(n);return d(n.parent)}(t);case 31:case 29:return function(e){if(203===e.parent.kind)return u(e);return d(e.parent)}(t);case 114:return function(e){if(232===e.parent.kind)return s(e,e.parent.expression);return d(e.parent)}(t);case 90:case 82:case 95:return u(t);case 155:return function(e){if(236===e.parent.kind)return u(e);return d(e.parent)}(t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return S(t);if((78===t.kind||217===t.kind||285===t.kind||286===t.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return o(t);if(213===t.kind){var a=t,i=a.left,p=a.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return S(i);if(62===p.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent))return o(t);if(27===p.kind)return d(i)}if(e.isExpressionNode(t))switch(r.kind){case 232:return l(t);case 160:return d(t.parent);case 234:case 236:return o(t);case 213:if(27===t.parent.operatorToken.kind)return o(t);break;case 206:if(t.parent.body===t)return o(t)}switch(t.parent.kind){case 285:if(t.parent.name===t&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent))return d(t.parent.initializer);break;case 203:if(t.parent.type===t)return u(t.parent.type);break;case 246:case 159:var f=t.parent,m=f.initializer,_=f.type;if(m===t||_===t||e.isAssignmentOperator(t.kind))return l(t);break;case 213:i=t.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&t!==i)return l(t);break;default:if(e.isFunctionLike(t.parent)&&t.parent.type===t)return l(t)}return d(t.parent)}}var g;function y(t){return e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]===t?o(e.findPrecedingToken(t.pos,n,t.parent),t):o(t)}function h(t){if(235===t.parent.parent.kind)return d(t.parent.parent);var r=t.parent;return e.isBindingPattern(t.name)?T(t.name):t.initializer||e.hasSyntacticModifier(t,1)||236===r.parent.kind?y(t):e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]!==t?d(e.findPrecedingToken(t.pos,n,t.parent)):void 0}function v(n){return e.hasSyntacticModifier(n,1)||249===n.parent.kind&&165!==n.kind}function b(t){switch(t.parent.kind){case 253:if(1!==e.getModuleInstanceState(t.parent))return;case 233:case 231:case 235:return c(t.parent,t.statements[0]);case 234:case 236:return c(e.findPrecedingToken(t.pos,n,t.parent),t.statements[0])}return d(t.statements[0])}function E(e){if(247!==e.initializer.kind)return d(e.initializer);var n=e.initializer;return n.declarations.length>0?d(n.declarations[0]):void 0}function T(n){var t=e.forEach(n.elements,(function(e){return 219!==e.kind?e:void 0}));return t?d(t):195===n.parent.kind?o(n.parent):y(n.parent)}function S(n){e.Debug.assert(194!==n.kind&&193!==n.kind);var t=196===n.kind?n.elements:n.properties,r=e.forEach(t,(function(e){return 219!==e.kind?e:void 0}));return r?d(r):o(213===n.parent.kind?n.parent:n)}}}}(e.BreakpointResolver||(e.BreakpointResolver={}))}(p||(p={})),function(e){e.transform=function(n,t,r){var a=[];r=e.fixupCompilerOptions(r,a);var i=e.isArray(n)?n:[n],o=e.transformNodes(void 0,void 0,e.factory,r,i,t,!0);return o.diagnostics=e.concatenate(o.diagnostics,a),o}}(p||(p={}));var p,f=function(){return this}();!function(e){function n(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}var t=function(){function n(e){this.scriptSnapshotShim=e}return n.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},n.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},n.prototype.getChangeRange=function(n){var t=n,r=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(null===r)return null;var a=JSON.parse(r);return e.createTextChangeRange(e.createTextSpan(a.span.start,a.span.length),a.newLength)},n.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},n}(),r=function(){function n(n){var t=this;this.shimHost=n,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(n,r){var a=JSON.parse(t.shimHost.getModuleResolutionsForFile(r));return e.map(n,(function(n){var t=e.getProperty(a,n);return t?{resolvedFileName:t,extension:e.extensionFromPath(t),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(n,r){var a=JSON.parse(t.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return e.map(n,(function(n){return e.getProperty(a,n)}))})}return n.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},n.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},n.prototype.error=function(e){this.shimHost.error(e)},n.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},n.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},n.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},n.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var n=JSON.parse(e);return n.allowNonTsExtensions=!0,n},n.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},n.prototype.getScriptSnapshot=function(e){var n=this.shimHost.getScriptSnapshot(e);return n&&new t(n)},n.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},n.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},n.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},n.prototype.getCancellationToken=function(){var n=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(n)},n.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n}();e.LanguageServiceShimHostAdapter=r;var a=function(){function n(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}return n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n.prototype.readFile=function(e){return this.shimHost.readFile(e)},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n}();function i(e,n,t,r){return c(e,n,!0,t,r)}function c(t,r,a,i,o){try{var s=function(n,t,r,a){var i;a&&(n.log(t),i=e.timestamp());var o=r();if(a){var s=e.timestamp();if(n.log(t+" completed in "+(s-i)+" msec"),e.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),n.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}(t,r,i,o);return a?JSON.stringify({result:s}):s}catch(a){return a instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(t,a),a.description=r,JSON.stringify({error:a}))}}e.CoreServicesShimHostAdapter=a;var l=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function p(n,t){return n.map((function(n){return function(n,t){return{message:e.flattenDiagnosticMessageText(n.messageText,t),start:n.start,length:n.length,category:e.diagnosticCategoryName(n),code:n.code,reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated}}(n,t)}))}e.realizeDiagnostics=p;var m=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.host=t,a.languageService=r,a.logPerformance=!1,a.logger=a.host,a}return d(t,n),t.prototype.forwardJSONCall=function(e,n){return i(this.logger,e,n,this.logPerformance)},t.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,f&&f.CollectGarbage&&(f.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,n.prototype.dispose.call(this,e)},t.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},t.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},t.prototype.realizeDiagnostics=function(n){return p(n,e.getNewLineOrDefaultFromHost(this.host))},t.prototype.getSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSyntacticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSemanticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getEncodedSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return _(a.languageService.getEncodedSyntacticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getEncodedSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return _(a.languageService.getEncodedSemanticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},t.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},t.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},t.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},t.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},t.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},t.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},t.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},t.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},t.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},t.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},t.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},t.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+n+", "+t+", "+r+", "+a+")",(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},t.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},t.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},t.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},t.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+n+")",(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},t.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},t.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},t.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},t.prototype.getDocumentHighlights=function(n,t,r){var a=this;return this.forwardJSONCall("getDocumentHighlights('"+n+"', "+t+")",(function(){var i=a.languageService.getDocumentHighlights(n,t,JSON.parse(r)),o=e.toFileNameLowerCase(e.normalizeSlashes(n));return e.filter(i,(function(n){return e.toFileNameLowerCase(e.normalizeSlashes(n.fileName))===o}))}))},t.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},t.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+n+", '"+t+"')",(function(){var s=void 0===r?void 0:JSON.parse(r);return o.languageService.getCompletionEntryDetails(e,n,t,s,a,i)}))},t.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+n+", "+t+")",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},t.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},t.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+n+", '"+t+"')",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},t.prototype.getDocCommentTemplateAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDocCommentTemplateAtPosition(e,n)}))},t.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},t.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},t.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},t.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},t.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},t.prototype.prepareCallHierarchy=function(e,n){var t=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+n+")",(function(){return t.languageService.prepareCallHierarchy(e,n)}))},t.prototype.provideCallHierarchyIncomingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyIncomingCalls(e,n)}))},t.prototype.provideCallHierarchyOutgoingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyOutgoingCalls(e,n)}))},t.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){var t=n.languageService.getEmitOutput(e),r=t.diagnostics,a=u(t,["diagnostics"]);return s(s({},a),{diagnostics:n.realizeDiagnostics(r)})}))},t.prototype.getEmitOutputObject=function(e){var n=this;return c(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},t.prototype.toggleLineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleLineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleLineComment(e,n)}))},t.prototype.toggleMultilineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleMultilineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleMultilineComment(e,n)}))},t.prototype.commentSelection=function(e,n){var t=this;return this.forwardJSONCall("commentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.commentSelection(e,n)}))},t.prototype.uncommentSelection=function(e,n){var t=this;return this.forwardJSONCall("uncommentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.uncommentSelection(e,n)}))},t}(l);function _(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var g=function(n){function t(t,r){var a=n.call(this,t)||this;return a.logger=r,a.logPerformance=!1,a.classifier=e.createClassifier(),a}return d(t,n),t.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),i(this.logger,"getEncodedLexicalClassifications",(function(){return _(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},t.prototype.getClassificationsForLine=function(e,n,t){void 0===t&&(t=!1);for(var r=this.classifier.getClassificationsForLine(e,n,t),a="",i=0,o=r.entries;i<o.length;i++){var s=o[i];a+=s.length+"\n",a+=s.classification+"\n"}return a+=r.finalLexState},t}(l),y=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.logger=t,a.host=r,a.logPerformance=!1,a}return d(t,n),t.prototype.forwardJSONCall=function(e,n){return i(this.logger,e,n,this.logPerformance)},t.prototype.resolveModuleName=function(n,t,r){var a=this;return this.forwardJSONCall("resolveModuleName('"+n+"')",(function(){var i=JSON.parse(r),o=e.resolveModuleName(t,e.normalizeSlashes(n),i,a.host),s=o.resolvedModule?o.resolvedModule.resolvedFileName:void 0;return o.resolvedModule&&".ts"!==o.resolvedModule.extension&&".tsx"!==o.resolvedModule.extension&&".d.ts"!==o.resolvedModule.extension&&(s=void 0),{resolvedFileName:s,failedLookupLocations:o.failedLookupLocations}}))},t.prototype.resolveTypeReferenceDirective=function(n,t,r){var a=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+n+")",(function(){var i=JSON.parse(r),o=e.resolveTypeReferenceDirective(t,e.normalizeSlashes(n),i,a.host);return{resolvedFileName:o.resolvedTypeReferenceDirective?o.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!o.resolvedTypeReferenceDirective||o.resolvedTypeReferenceDirective.primary,failedLookupLocations:o.failedLookupLocations}}))},t.prototype.getPreProcessedFileInfo=function(n,t){var r=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+n+"')",(function(){var n=e.preProcessFile(e.getSnapshotText(t),!0,!0);return{referencedFiles:r.convertFileReferences(n.referencedFiles),importedFiles:r.convertFileReferences(n.importedFiles),ambientExternalModules:n.ambientExternalModules,isLibFile:n.isLibFile,typeReferenceDirectives:r.convertFileReferences(n.typeReferenceDirectives),libReferenceDirectives:r.convertFileReferences(n.libReferenceDirectives)}}))},t.prototype.getAutomaticTypeDirectiveNames=function(n){var t=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+n+"')",(function(){var r=JSON.parse(n);return e.getAutomaticTypeDirectiveNames(r,t.host)}))},t.prototype.convertFileReferences=function(n){if(n){for(var t=[],r=0,a=n;r<a.length;r++){var i=a[r];t.push({path:e.normalizeSlashes(i.fileName),position:i.pos,length:i.end-i.pos})}return t}},t.prototype.getTSConfigFileInfo=function(n,t){var r=this;return this.forwardJSONCall("getTSConfigFileInfo('"+n+"')",(function(){var a=e.parseJsonText(n,e.getSnapshotText(t)),i=e.normalizeSlashes(n),s=e.parseJsonSourceFileConfigFileContent(a,r.host,e.getDirectoryPath(i),{},i);return{options:s.options,typeAcquisition:s.typeAcquisition,files:s.fileNames,raw:s.raw,errors:p(o(a.parseDiagnostics,s.errors),"\r\n")}}))},t.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",(function(){return e.getDefaultCompilerOptions()}))},t.prototype.discoverTypings=function(n){var t=this,r=e.createGetCanonicalFileName(!1);return this.forwardJSONCall("discoverTypings()",(function(){var a=JSON.parse(n);return void 0===t.safeList&&(t.safeList=e.JsTyping.loadSafeList(t.host,e.toPath(a.safeListPath,a.safeListPath,r))),e.JsTyping.discoverTypings(t.host,(function(e){return t.logger.log(e)}),a.fileNames,e.toPath(a.projectRootPath,a.projectRootPath,r),t.safeList,a.packageNameToTypingLocation,a.typeAcquisition,a.unresolvedImports,a.typesRegistry)}))},t}(l),h=function(){function t(){this._shims=[]}return t.prototype.getServicesVersion=function(){return e.servicesVersion},t.prototype.createLanguageServiceShim=function(t){try{void 0===this.documentRegistry&&(this.documentRegistry=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()));var a=new r(t),i=e.createLanguageService(a,this.documentRegistry,!1);return new m(this,t,i)}catch(e){throw n(t,e),e}},t.prototype.createClassifierShim=function(e){try{return new g(this,e)}catch(t){throw n(e,t),t}},t.prototype.createCoreServicesShim=function(e){try{var t=new a(e);return new y(this,e,t)}catch(t){throw n(e,t),t}},t.prototype.close=function(){e.clear(this._shims),this.documentRegistry=void 0},t.prototype.registerShim=function(e){this._shims.push(e)},t.prototype.unregisterShim=function(e){for(var n=0;n<this._shims.length;n++)if(this._shims[n]===e)return void delete this._shims[n];throw new Error("Invalid operation")},t}();e.TypeScriptServicesFactory=h}(p||(p={})),function(){if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,"undefined"==typeof globalThis&&(window.globalThis=window),delete Object.prototype.__magic__}catch(e){window.globalThis=window}}(),(void 0===e||e.browser)&&(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=p.TypeScriptServicesFactory,globalThis.toolsVersion=p.versionMajorMinor),a.exports&&(a.exports=p),function(e){var n={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."};e.createNodeArray=e.Debug.deprecate(e.factory.createNodeArray,n),e.createNumericLiteral=e.Debug.deprecate(e.factory.createNumericLiteral,n),e.createBigIntLiteral=e.Debug.deprecate(e.factory.createBigIntLiteral,n),e.createStringLiteral=e.Debug.deprecate(e.factory.createStringLiteral,n),e.createStringLiteralFromNode=e.Debug.deprecate(e.factory.createStringLiteralFromNode,n),e.createRegularExpressionLiteral=e.Debug.deprecate(e.factory.createRegularExpressionLiteral,n),e.createLoopVariable=e.Debug.deprecate(e.factory.createLoopVariable,n),e.createUniqueName=e.Debug.deprecate(e.factory.createUniqueName,n),e.createPrivateIdentifier=e.Debug.deprecate(e.factory.createPrivateIdentifier,n),e.createSuper=e.Debug.deprecate(e.factory.createSuper,n),e.createThis=e.Debug.deprecate(e.factory.createThis,n),e.createNull=e.Debug.deprecate(e.factory.createNull,n),e.createTrue=e.Debug.deprecate(e.factory.createTrue,n),e.createFalse=e.Debug.deprecate(e.factory.createFalse,n),e.createModifier=e.Debug.deprecate(e.factory.createModifier,n),e.createModifiersFromModifierFlags=e.Debug.deprecate(e.factory.createModifiersFromModifierFlags,n),e.createQualifiedName=e.Debug.deprecate(e.factory.createQualifiedName,n),e.updateQualifiedName=e.Debug.deprecate(e.factory.updateQualifiedName,n),e.createComputedPropertyName=e.Debug.deprecate(e.factory.createComputedPropertyName,n),e.updateComputedPropertyName=e.Debug.deprecate(e.factory.updateComputedPropertyName,n),e.createTypeParameterDeclaration=e.Debug.deprecate(e.factory.createTypeParameterDeclaration,n),e.updateTypeParameterDeclaration=e.Debug.deprecate(e.factory.updateTypeParameterDeclaration,n),e.createParameter=e.Debug.deprecate(e.factory.createParameterDeclaration,n),e.updateParameter=e.Debug.deprecate(e.factory.updateParameterDeclaration,n),e.createDecorator=e.Debug.deprecate(e.factory.createDecorator,n),e.updateDecorator=e.Debug.deprecate(e.factory.updateDecorator,n),e.createProperty=e.Debug.deprecate(e.factory.createPropertyDeclaration,n),e.updateProperty=e.Debug.deprecate(e.factory.updatePropertyDeclaration,n),e.createMethod=e.Debug.deprecate(e.factory.createMethodDeclaration,n),e.updateMethod=e.Debug.deprecate(e.factory.updateMethodDeclaration,n),e.createConstructor=e.Debug.deprecate(e.factory.createConstructorDeclaration,n),e.updateConstructor=e.Debug.deprecate(e.factory.updateConstructorDeclaration,n),e.createGetAccessor=e.Debug.deprecate(e.factory.createGetAccessorDeclaration,n),e.updateGetAccessor=e.Debug.deprecate(e.factory.updateGetAccessorDeclaration,n),e.createSetAccessor=e.Debug.deprecate(e.factory.createSetAccessorDeclaration,n),e.updateSetAccessor=e.Debug.deprecate(e.factory.updateSetAccessorDeclaration,n),e.createCallSignature=e.Debug.deprecate(e.factory.createCallSignature,n),e.updateCallSignature=e.Debug.deprecate(e.factory.updateCallSignature,n),e.createConstructSignature=e.Debug.deprecate(e.factory.createConstructSignature,n),e.updateConstructSignature=e.Debug.deprecate(e.factory.updateConstructSignature,n),e.updateIndexSignature=e.Debug.deprecate(e.factory.updateIndexSignature,n),e.createKeywordTypeNode=e.Debug.deprecate(e.factory.createKeywordTypeNode,n),e.createTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.createTypePredicateNode,n),e.updateTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.updateTypePredicateNode,n),e.createTypeReferenceNode=e.Debug.deprecate(e.factory.createTypeReferenceNode,n),e.updateTypeReferenceNode=e.Debug.deprecate(e.factory.updateTypeReferenceNode,n),e.createFunctionTypeNode=e.Debug.deprecate(e.factory.createFunctionTypeNode,n),e.updateFunctionTypeNode=e.Debug.deprecate(e.factory.updateFunctionTypeNode,n),e.createConstructorTypeNode=e.Debug.deprecate(e.factory.createConstructorTypeNode,n),e.updateConstructorTypeNode=e.Debug.deprecate(e.factory.updateConstructorTypeNode,n),e.createTypeQueryNode=e.Debug.deprecate(e.factory.createTypeQueryNode,n),e.updateTypeQueryNode=e.Debug.deprecate(e.factory.updateTypeQueryNode,n),e.createTypeLiteralNode=e.Debug.deprecate(e.factory.createTypeLiteralNode,n),e.updateTypeLiteralNode=e.Debug.deprecate(e.factory.updateTypeLiteralNode,n),e.createArrayTypeNode=e.Debug.deprecate(e.factory.createArrayTypeNode,n),e.updateArrayTypeNode=e.Debug.deprecate(e.factory.updateArrayTypeNode,n),e.createTupleTypeNode=e.Debug.deprecate(e.factory.createTupleTypeNode,n),e.updateTupleTypeNode=e.Debug.deprecate(e.factory.updateTupleTypeNode,n),e.createOptionalTypeNode=e.Debug.deprecate(e.factory.createOptionalTypeNode,n),e.updateOptionalTypeNode=e.Debug.deprecate(e.factory.updateOptionalTypeNode,n),e.createRestTypeNode=e.Debug.deprecate(e.factory.createRestTypeNode,n),e.updateRestTypeNode=e.Debug.deprecate(e.factory.updateRestTypeNode,n),e.createUnionTypeNode=e.Debug.deprecate(e.factory.createUnionTypeNode,n),e.updateUnionTypeNode=e.Debug.deprecate(e.factory.updateUnionTypeNode,n),e.createIntersectionTypeNode=e.Debug.deprecate(e.factory.createIntersectionTypeNode,n),e.updateIntersectionTypeNode=e.Debug.deprecate(e.factory.updateIntersectionTypeNode,n),e.createConditionalTypeNode=e.Debug.deprecate(e.factory.createConditionalTypeNode,n),e.updateConditionalTypeNode=e.Debug.deprecate(e.factory.updateConditionalTypeNode,n),e.createInferTypeNode=e.Debug.deprecate(e.factory.createInferTypeNode,n),e.updateInferTypeNode=e.Debug.deprecate(e.factory.updateInferTypeNode,n),e.createImportTypeNode=e.Debug.deprecate(e.factory.createImportTypeNode,n),e.updateImportTypeNode=e.Debug.deprecate(e.factory.updateImportTypeNode,n),e.createParenthesizedType=e.Debug.deprecate(e.factory.createParenthesizedType,n),e.updateParenthesizedType=e.Debug.deprecate(e.factory.updateParenthesizedType,n),e.createThisTypeNode=e.Debug.deprecate(e.factory.createThisTypeNode,n),e.updateTypeOperatorNode=e.Debug.deprecate(e.factory.updateTypeOperatorNode,n),e.createIndexedAccessTypeNode=e.Debug.deprecate(e.factory.createIndexedAccessTypeNode,n),e.updateIndexedAccessTypeNode=e.Debug.deprecate(e.factory.updateIndexedAccessTypeNode,n),e.createMappedTypeNode=e.Debug.deprecate(e.factory.createMappedTypeNode,n),e.updateMappedTypeNode=e.Debug.deprecate(e.factory.updateMappedTypeNode,n),e.createLiteralTypeNode=e.Debug.deprecate(e.factory.createLiteralTypeNode,n),e.updateLiteralTypeNode=e.Debug.deprecate(e.factory.updateLiteralTypeNode,n),e.createObjectBindingPattern=e.Debug.deprecate(e.factory.createObjectBindingPattern,n),e.updateObjectBindingPattern=e.Debug.deprecate(e.factory.updateObjectBindingPattern,n),e.createArrayBindingPattern=e.Debug.deprecate(e.factory.createArrayBindingPattern,n),e.updateArrayBindingPattern=e.Debug.deprecate(e.factory.updateArrayBindingPattern,n),e.createBindingElement=e.Debug.deprecate(e.factory.createBindingElement,n),e.updateBindingElement=e.Debug.deprecate(e.factory.updateBindingElement,n),e.createArrayLiteral=e.Debug.deprecate(e.factory.createArrayLiteralExpression,n),e.updateArrayLiteral=e.Debug.deprecate(e.factory.updateArrayLiteralExpression,n),e.createObjectLiteral=e.Debug.deprecate(e.factory.createObjectLiteralExpression,n),e.updateObjectLiteral=e.Debug.deprecate(e.factory.updateObjectLiteralExpression,n),e.createPropertyAccess=e.Debug.deprecate(e.factory.createPropertyAccessExpression,n),e.updatePropertyAccess=e.Debug.deprecate(e.factory.updatePropertyAccessExpression,n),e.createPropertyAccessChain=e.Debug.deprecate(e.factory.createPropertyAccessChain,n),e.updatePropertyAccessChain=e.Debug.deprecate(e.factory.updatePropertyAccessChain,n),e.createElementAccess=e.Debug.deprecate(e.factory.createElementAccessExpression,n),e.updateElementAccess=e.Debug.deprecate(e.factory.updateElementAccessExpression,n),e.createElementAccessChain=e.Debug.deprecate(e.factory.createElementAccessChain,n),e.updateElementAccessChain=e.Debug.deprecate(e.factory.updateElementAccessChain,n),e.createCall=e.Debug.deprecate(e.factory.createCallExpression,n),e.updateCall=e.Debug.deprecate(e.factory.updateCallExpression,n),e.createCallChain=e.Debug.deprecate(e.factory.createCallChain,n),e.updateCallChain=e.Debug.deprecate(e.factory.updateCallChain,n),e.createNew=e.Debug.deprecate(e.factory.createNewExpression,n),e.updateNew=e.Debug.deprecate(e.factory.updateNewExpression,n),e.createTypeAssertion=e.Debug.deprecate(e.factory.createTypeAssertion,n),e.updateTypeAssertion=e.Debug.deprecate(e.factory.updateTypeAssertion,n),e.createParen=e.Debug.deprecate(e.factory.createParenthesizedExpression,n),e.updateParen=e.Debug.deprecate(e.factory.updateParenthesizedExpression,n),e.createFunctionExpression=e.Debug.deprecate(e.factory.createFunctionExpression,n),e.updateFunctionExpression=e.Debug.deprecate(e.factory.updateFunctionExpression,n),e.createDelete=e.Debug.deprecate(e.factory.createDeleteExpression,n),e.updateDelete=e.Debug.deprecate(e.factory.updateDeleteExpression,n),e.createTypeOf=e.Debug.deprecate(e.factory.createTypeOfExpression,n),e.updateTypeOf=e.Debug.deprecate(e.factory.updateTypeOfExpression,n),e.createVoid=e.Debug.deprecate(e.factory.createVoidExpression,n),e.updateVoid=e.Debug.deprecate(e.factory.updateVoidExpression,n),e.createAwait=e.Debug.deprecate(e.factory.createAwaitExpression,n),e.updateAwait=e.Debug.deprecate(e.factory.updateAwaitExpression,n),e.createPrefix=e.Debug.deprecate(e.factory.createPrefixUnaryExpression,n),e.updatePrefix=e.Debug.deprecate(e.factory.updatePrefixUnaryExpression,n),e.createPostfix=e.Debug.deprecate(e.factory.createPostfixUnaryExpression,n),e.updatePostfix=e.Debug.deprecate(e.factory.updatePostfixUnaryExpression,n),e.createBinary=e.Debug.deprecate(e.factory.createBinaryExpression,n),e.updateConditional=e.Debug.deprecate(e.factory.updateConditionalExpression,n),e.createTemplateExpression=e.Debug.deprecate(e.factory.createTemplateExpression,n),e.updateTemplateExpression=e.Debug.deprecate(e.factory.updateTemplateExpression,n),e.createTemplateHead=e.Debug.deprecate(e.factory.createTemplateHead,n),e.createTemplateMiddle=e.Debug.deprecate(e.factory.createTemplateMiddle,n),e.createTemplateTail=e.Debug.deprecate(e.factory.createTemplateTail,n),e.createNoSubstitutionTemplateLiteral=e.Debug.deprecate(e.factory.createNoSubstitutionTemplateLiteral,n),e.updateYield=e.Debug.deprecate(e.factory.updateYieldExpression,n),e.createSpread=e.Debug.deprecate(e.factory.createSpreadElement,n),e.updateSpread=e.Debug.deprecate(e.factory.updateSpreadElement,n),e.createOmittedExpression=e.Debug.deprecate(e.factory.createOmittedExpression,n),e.createAsExpression=e.Debug.deprecate(e.factory.createAsExpression,n),e.updateAsExpression=e.Debug.deprecate(e.factory.updateAsExpression,n),e.createNonNullExpression=e.Debug.deprecate(e.factory.createNonNullExpression,n),e.updateNonNullExpression=e.Debug.deprecate(e.factory.updateNonNullExpression,n),e.createNonNullChain=e.Debug.deprecate(e.factory.createNonNullChain,n),e.updateNonNullChain=e.Debug.deprecate(e.factory.updateNonNullChain,n),e.createMetaProperty=e.Debug.deprecate(e.factory.createMetaProperty,n),e.updateMetaProperty=e.Debug.deprecate(e.factory.updateMetaProperty,n),e.createTemplateSpan=e.Debug.deprecate(e.factory.createTemplateSpan,n),e.updateTemplateSpan=e.Debug.deprecate(e.factory.updateTemplateSpan,n),e.createSemicolonClassElement=e.Debug.deprecate(e.factory.createSemicolonClassElement,n),e.createBlock=e.Debug.deprecate(e.factory.createBlock,n),e.updateBlock=e.Debug.deprecate(e.factory.updateBlock,n),e.createVariableStatement=e.Debug.deprecate(e.factory.createVariableStatement,n),e.updateVariableStatement=e.Debug.deprecate(e.factory.updateVariableStatement,n),e.createEmptyStatement=e.Debug.deprecate(e.factory.createEmptyStatement,n),e.createExpressionStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateExpressionStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createIf=e.Debug.deprecate(e.factory.createIfStatement,n),e.updateIf=e.Debug.deprecate(e.factory.updateIfStatement,n),e.createDo=e.Debug.deprecate(e.factory.createDoStatement,n),e.updateDo=e.Debug.deprecate(e.factory.updateDoStatement,n),e.createWhile=e.Debug.deprecate(e.factory.createWhileStatement,n),e.updateWhile=e.Debug.deprecate(e.factory.updateWhileStatement,n),e.createFor=e.Debug.deprecate(e.factory.createForStatement,n),e.updateFor=e.Debug.deprecate(e.factory.updateForStatement,n),e.createForIn=e.Debug.deprecate(e.factory.createForInStatement,n),e.updateForIn=e.Debug.deprecate(e.factory.updateForInStatement,n),e.createForOf=e.Debug.deprecate(e.factory.createForOfStatement,n),e.updateForOf=e.Debug.deprecate(e.factory.updateForOfStatement,n),e.createContinue=e.Debug.deprecate(e.factory.createContinueStatement,n),e.updateContinue=e.Debug.deprecate(e.factory.updateContinueStatement,n),e.createBreak=e.Debug.deprecate(e.factory.createBreakStatement,n),e.updateBreak=e.Debug.deprecate(e.factory.updateBreakStatement,n),e.createReturn=e.Debug.deprecate(e.factory.createReturnStatement,n),e.updateReturn=e.Debug.deprecate(e.factory.updateReturnStatement,n),e.createWith=e.Debug.deprecate(e.factory.createWithStatement,n),e.updateWith=e.Debug.deprecate(e.factory.updateWithStatement,n),e.createSwitch=e.Debug.deprecate(e.factory.createSwitchStatement,n),e.updateSwitch=e.Debug.deprecate(e.factory.updateSwitchStatement,n),e.createLabel=e.Debug.deprecate(e.factory.createLabeledStatement,n),e.updateLabel=e.Debug.deprecate(e.factory.updateLabeledStatement,n),e.createThrow=e.Debug.deprecate(e.factory.createThrowStatement,n),e.updateThrow=e.Debug.deprecate(e.factory.updateThrowStatement,n),e.createTry=e.Debug.deprecate(e.factory.createTryStatement,n),e.updateTry=e.Debug.deprecate(e.factory.updateTryStatement,n),e.createDebuggerStatement=e.Debug.deprecate(e.factory.createDebuggerStatement,n),e.createVariableDeclarationList=e.Debug.deprecate(e.factory.createVariableDeclarationList,n),e.updateVariableDeclarationList=e.Debug.deprecate(e.factory.updateVariableDeclarationList,n),e.createFunctionDeclaration=e.Debug.deprecate(e.factory.createFunctionDeclaration,n),e.updateFunctionDeclaration=e.Debug.deprecate(e.factory.updateFunctionDeclaration,n),e.createClassDeclaration=e.Debug.deprecate(e.factory.createClassDeclaration,n),e.updateClassDeclaration=e.Debug.deprecate(e.factory.updateClassDeclaration,n),e.createInterfaceDeclaration=e.Debug.deprecate(e.factory.createInterfaceDeclaration,n),e.updateInterfaceDeclaration=e.Debug.deprecate(e.factory.updateInterfaceDeclaration,n),e.createTypeAliasDeclaration=e.Debug.deprecate(e.factory.createTypeAliasDeclaration,n),e.updateTypeAliasDeclaration=e.Debug.deprecate(e.factory.updateTypeAliasDeclaration,n),e.createEnumDeclaration=e.Debug.deprecate(e.factory.createEnumDeclaration,n),e.updateEnumDeclaration=e.Debug.deprecate(e.factory.updateEnumDeclaration,n),e.createModuleDeclaration=e.Debug.deprecate(e.factory.createModuleDeclaration,n),e.updateModuleDeclaration=e.Debug.deprecate(e.factory.updateModuleDeclaration,n),e.createModuleBlock=e.Debug.deprecate(e.factory.createModuleBlock,n),e.updateModuleBlock=e.Debug.deprecate(e.factory.updateModuleBlock,n),e.createCaseBlock=e.Debug.deprecate(e.factory.createCaseBlock,n),e.updateCaseBlock=e.Debug.deprecate(e.factory.updateCaseBlock,n),e.createNamespaceExportDeclaration=e.Debug.deprecate(e.factory.createNamespaceExportDeclaration,n),e.updateNamespaceExportDeclaration=e.Debug.deprecate(e.factory.updateNamespaceExportDeclaration,n),e.createImportEqualsDeclaration=e.Debug.deprecate(e.factory.createImportEqualsDeclaration,n),e.updateImportEqualsDeclaration=e.Debug.deprecate(e.factory.updateImportEqualsDeclaration,n),e.createImportDeclaration=e.Debug.deprecate(e.factory.createImportDeclaration,n),e.updateImportDeclaration=e.Debug.deprecate(e.factory.updateImportDeclaration,n),e.createNamespaceImport=e.Debug.deprecate(e.factory.createNamespaceImport,n),e.updateNamespaceImport=e.Debug.deprecate(e.factory.updateNamespaceImport,n),e.createNamedImports=e.Debug.deprecate(e.factory.createNamedImports,n),e.updateNamedImports=e.Debug.deprecate(e.factory.updateNamedImports,n),e.createImportSpecifier=e.Debug.deprecate(e.factory.createImportSpecifier,n),e.updateImportSpecifier=e.Debug.deprecate(e.factory.updateImportSpecifier,n),e.createExportAssignment=e.Debug.deprecate(e.factory.createExportAssignment,n),e.updateExportAssignment=e.Debug.deprecate(e.factory.updateExportAssignment,n),e.createNamedExports=e.Debug.deprecate(e.factory.createNamedExports,n),e.updateNamedExports=e.Debug.deprecate(e.factory.updateNamedExports,n),e.createExportSpecifier=e.Debug.deprecate(e.factory.createExportSpecifier,n),e.updateExportSpecifier=e.Debug.deprecate(e.factory.updateExportSpecifier,n),e.createExternalModuleReference=e.Debug.deprecate(e.factory.createExternalModuleReference,n),e.updateExternalModuleReference=e.Debug.deprecate(e.factory.updateExternalModuleReference,n),e.createJSDocTypeExpression=e.Debug.deprecate(e.factory.createJSDocTypeExpression,n),e.createJSDocTypeTag=e.Debug.deprecate(e.factory.createJSDocTypeTag,n),e.createJSDocReturnTag=e.Debug.deprecate(e.factory.createJSDocReturnTag,n),e.createJSDocThisTag=e.Debug.deprecate(e.factory.createJSDocThisTag,n),e.createJSDocComment=e.Debug.deprecate(e.factory.createJSDocComment,n),e.createJSDocParameterTag=e.Debug.deprecate(e.factory.createJSDocParameterTag,n),e.createJSDocClassTag=e.Debug.deprecate(e.factory.createJSDocClassTag,n),e.createJSDocAugmentsTag=e.Debug.deprecate(e.factory.createJSDocAugmentsTag,n),e.createJSDocEnumTag=e.Debug.deprecate(e.factory.createJSDocEnumTag,n),e.createJSDocTemplateTag=e.Debug.deprecate(e.factory.createJSDocTemplateTag,n),e.createJSDocTypedefTag=e.Debug.deprecate(e.factory.createJSDocTypedefTag,n),e.createJSDocCallbackTag=e.Debug.deprecate(e.factory.createJSDocCallbackTag,n),e.createJSDocSignature=e.Debug.deprecate(e.factory.createJSDocSignature,n),e.createJSDocPropertyTag=e.Debug.deprecate(e.factory.createJSDocPropertyTag,n),e.createJSDocTypeLiteral=e.Debug.deprecate(e.factory.createJSDocTypeLiteral,n),e.createJSDocImplementsTag=e.Debug.deprecate(e.factory.createJSDocImplementsTag,n),e.createJSDocAuthorTag=e.Debug.deprecate(e.factory.createJSDocAuthorTag,n),e.createJSDocPublicTag=e.Debug.deprecate(e.factory.createJSDocPublicTag,n),e.createJSDocPrivateTag=e.Debug.deprecate(e.factory.createJSDocPrivateTag,n),e.createJSDocProtectedTag=e.Debug.deprecate(e.factory.createJSDocProtectedTag,n),e.createJSDocReadonlyTag=e.Debug.deprecate(e.factory.createJSDocReadonlyTag,n),e.createJSDocTag=e.Debug.deprecate(e.factory.createJSDocUnknownTag,n),e.createJsxElement=e.Debug.deprecate(e.factory.createJsxElement,n),e.updateJsxElement=e.Debug.deprecate(e.factory.updateJsxElement,n),e.createJsxSelfClosingElement=e.Debug.deprecate(e.factory.createJsxSelfClosingElement,n),e.updateJsxSelfClosingElement=e.Debug.deprecate(e.factory.updateJsxSelfClosingElement,n),e.createJsxOpeningElement=e.Debug.deprecate(e.factory.createJsxOpeningElement,n),e.updateJsxOpeningElement=e.Debug.deprecate(e.factory.updateJsxOpeningElement,n),e.createJsxClosingElement=e.Debug.deprecate(e.factory.createJsxClosingElement,n),e.updateJsxClosingElement=e.Debug.deprecate(e.factory.updateJsxClosingElement,n),e.createJsxFragment=e.Debug.deprecate(e.factory.createJsxFragment,n),e.createJsxText=e.Debug.deprecate(e.factory.createJsxText,n),e.updateJsxText=e.Debug.deprecate(e.factory.updateJsxText,n),e.createJsxOpeningFragment=e.Debug.deprecate(e.factory.createJsxOpeningFragment,n),e.createJsxJsxClosingFragment=e.Debug.deprecate(e.factory.createJsxJsxClosingFragment,n),e.updateJsxFragment=e.Debug.deprecate(e.factory.updateJsxFragment,n),e.createJsxAttribute=e.Debug.deprecate(e.factory.createJsxAttribute,n),e.updateJsxAttribute=e.Debug.deprecate(e.factory.updateJsxAttribute,n),e.createJsxAttributes=e.Debug.deprecate(e.factory.createJsxAttributes,n),e.updateJsxAttributes=e.Debug.deprecate(e.factory.updateJsxAttributes,n),e.createJsxSpreadAttribute=e.Debug.deprecate(e.factory.createJsxSpreadAttribute,n),e.updateJsxSpreadAttribute=e.Debug.deprecate(e.factory.updateJsxSpreadAttribute,n),e.createJsxExpression=e.Debug.deprecate(e.factory.createJsxExpression,n),e.updateJsxExpression=e.Debug.deprecate(e.factory.updateJsxExpression,n),e.createCaseClause=e.Debug.deprecate(e.factory.createCaseClause,n),e.updateCaseClause=e.Debug.deprecate(e.factory.updateCaseClause,n),e.createDefaultClause=e.Debug.deprecate(e.factory.createDefaultClause,n),e.updateDefaultClause=e.Debug.deprecate(e.factory.updateDefaultClause,n),e.createHeritageClause=e.Debug.deprecate(e.factory.createHeritageClause,n),e.updateHeritageClause=e.Debug.deprecate(e.factory.updateHeritageClause,n),e.createCatchClause=e.Debug.deprecate(e.factory.createCatchClause,n),e.updateCatchClause=e.Debug.deprecate(e.factory.updateCatchClause,n),e.createPropertyAssignment=e.Debug.deprecate(e.factory.createPropertyAssignment,n),e.updatePropertyAssignment=e.Debug.deprecate(e.factory.updatePropertyAssignment,n),e.createShorthandPropertyAssignment=e.Debug.deprecate(e.factory.createShorthandPropertyAssignment,n),e.updateShorthandPropertyAssignment=e.Debug.deprecate(e.factory.updateShorthandPropertyAssignment,n),e.createSpreadAssignment=e.Debug.deprecate(e.factory.createSpreadAssignment,n),e.updateSpreadAssignment=e.Debug.deprecate(e.factory.updateSpreadAssignment,n),e.createEnumMember=e.Debug.deprecate(e.factory.createEnumMember,n),e.updateEnumMember=e.Debug.deprecate(e.factory.updateEnumMember,n),e.updateSourceFileNode=e.Debug.deprecate(e.factory.updateSourceFile,n),e.createNotEmittedStatement=e.Debug.deprecate(e.factory.createNotEmittedStatement,n),e.createPartiallyEmittedExpression=e.Debug.deprecate(e.factory.createPartiallyEmittedExpression,n),e.updatePartiallyEmittedExpression=e.Debug.deprecate(e.factory.updatePartiallyEmittedExpression,n),e.createCommaList=e.Debug.deprecate(e.factory.createCommaListExpression,n),e.updateCommaList=e.Debug.deprecate(e.factory.updateCommaListExpression,n),e.createBundle=e.Debug.deprecate(e.factory.createBundle,n),e.updateBundle=e.Debug.deprecate(e.factory.updateBundle,n),e.createImmediatelyInvokedFunctionExpression=e.Debug.deprecate(e.factory.createImmediatelyInvokedFunctionExpression,n),e.createImmediatelyInvokedArrowFunction=e.Debug.deprecate(e.factory.createImmediatelyInvokedArrowFunction,n),e.createVoidZero=e.Debug.deprecate(e.factory.createVoidZero,n),e.createExportDefault=e.Debug.deprecate(e.factory.createExportDefault,n),e.createExternalModuleExport=e.Debug.deprecate(e.factory.createExternalModuleExport,n),e.createNamespaceExport=e.Debug.deprecate(e.factory.createNamespaceExport,n),e.updateNamespaceExport=e.Debug.deprecate(e.factory.updateNamespaceExport,n),e.createToken=e.Debug.deprecate((function(n){return e.factory.createToken(n)}),n),e.createIdentifier=e.Debug.deprecate((function(n){return e.factory.createIdentifier(n,void 0,void 0)}),n),e.createTempVariable=e.Debug.deprecate((function(n){return e.factory.createTempVariable(n,void 0)}),n),e.getGeneratedNameForNode=e.Debug.deprecate((function(n){return e.factory.getGeneratedNameForNode(n,void 0)}),n),e.createOptimisticUniqueName=e.Debug.deprecate((function(n){return e.factory.createUniqueName(n,16)}),n),e.createFileLevelUniqueName=e.Debug.deprecate((function(n){return e.factory.createUniqueName(n,48)}),n),e.createIndexSignature=e.Debug.deprecate((function(n,t,r,a){return e.factory.createIndexSignature(n,t,r,a)}),n),e.createTypePredicateNode=e.Debug.deprecate((function(n,t){return e.factory.createTypePredicateNode(void 0,n,t)}),n),e.updateTypePredicateNode=e.Debug.deprecate((function(n,t,r){return e.factory.updateTypePredicateNode(n,void 0,t,r)}),n),e.createLiteral=e.Debug.deprecate((function(n){return"number"==typeof n?e.factory.createNumericLiteral(n):"object"==typeof n&&"base10Value"in n?e.factory.createBigIntLiteral(n):"boolean"==typeof n?n?e.factory.createTrue():e.factory.createFalse():"string"==typeof n?e.factory.createStringLiteral(n,void 0):e.factory.createStringLiteralFromNode(n)}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."}),e.createMethodSignature=e.Debug.deprecate((function(n,t,r,a,i){return e.factory.createMethodSignature(void 0,a,i,n,t,r)}),n),e.updateMethodSignature=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateMethodSignature(n,n.modifiers,i,o,t,r,a)}),n),e.createTypeOperatorNode=e.Debug.deprecate((function(n,t){var r;return t?r=n:(t=n,r=137),e.factory.createTypeOperatorNode(r,t)}),n),e.createTaggedTemplate=e.Debug.deprecate((function(n,t,r){var a;return r?a=t:r=t,e.factory.createTaggedTemplateExpression(n,a,r)}),n),e.updateTaggedTemplate=e.Debug.deprecate((function(n,t,r,a){var i;return a?i=r:a=r,e.factory.updateTaggedTemplateExpression(n,t,i,a)}),n),e.updateBinary=e.Debug.deprecate((function(n,t,r,a){return void 0===a&&(a=n.operatorToken),"number"==typeof a&&(a=a===n.operatorToken.kind?n.operatorToken:e.factory.createToken(a)),e.factory.updateBinaryExpression(n,t,a,r)}),n),e.createConditional=e.Debug.deprecate((function(n,t,r,a,i){return 5===arguments.length?e.factory.createConditionalExpression(n,t,r,a,i):3===arguments.length?e.factory.createConditionalExpression(n,e.factory.createToken(57),t,e.factory.createToken(58),r):e.Debug.fail("Argument count mismatch")}),n),e.createYield=e.Debug.deprecate((function(n,t){var r;return t?r=n:t=n,e.factory.createYieldExpression(r,t)}),n),e.createClassExpression=e.Debug.deprecate((function(n,t,r,a,i){return e.factory.createClassExpression(void 0,n,t,r,a,i)}),n),e.updateClassExpression=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateClassExpression(n,void 0,t,r,a,i,o)}),n),e.createPropertySignature=e.Debug.deprecate((function(n,t,r,a,i){var o=e.factory.createPropertySignature(n,t,r,a);return o.initializer=i,o}),n),e.updatePropertySignature=e.Debug.deprecate((function(n,t,r,a,i,o){var s=e.factory.updatePropertySignature(n,t,r,a,i);return n.initializer!==o&&(s===n&&(s=e.factory.cloneNode(n)),s.initializer=o),s}),n),e.createExpressionWithTypeArguments=e.Debug.deprecate((function(n,t){return e.factory.createExpressionWithTypeArguments(t,n)}),n),e.updateExpressionWithTypeArguments=e.Debug.deprecate((function(n,t,r){return e.factory.updateExpressionWithTypeArguments(n,r,t)}),n),e.createArrowFunction=e.Debug.deprecate((function(n,t,r,a,i,o){return 6===arguments.length?e.factory.createArrowFunction(n,t,r,a,i,o):5===arguments.length?e.factory.createArrowFunction(n,t,r,a,void 0,i):e.Debug.fail("Argument count mismatch")}),n),e.updateArrowFunction=e.Debug.deprecate((function(n,t,r,a,i,o,s){return 7===arguments.length?e.factory.updateArrowFunction(n,t,r,a,i,o,s):6===arguments.length?e.factory.updateArrowFunction(n,t,r,a,i,n.equalsGreaterThanToken,o):e.Debug.fail("Argument count mismatch")}),n),e.createVariableDeclaration=e.Debug.deprecate((function(n,t,r,a){return 4===arguments.length?e.factory.createVariableDeclaration(n,t,r,a):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(n,void 0,t,r):e.Debug.fail("Argument count mismatch")}),n),e.updateVariableDeclaration=e.Debug.deprecate((function(n,t,r,a,i){return 5===arguments.length?e.factory.updateVariableDeclaration(n,t,r,a,i):4===arguments.length?e.factory.updateVariableDeclaration(n,t,n.exclamationToken,r,a):e.Debug.fail("Argument count mismatch")}),n),e.createImportClause=e.Debug.deprecate((function(n,t,r){return void 0===r&&(r=!1),e.factory.createImportClause(r,n,t)}),n),e.updateImportClause=e.Debug.deprecate((function(n,t,r,a){return e.factory.updateImportClause(n,a,t,r)}),n),e.createExportDeclaration=e.Debug.deprecate((function(n,t,r,a,i){return void 0===i&&(i=!1),e.factory.createExportDeclaration(n,t,i,r,a)}),n),e.updateExportDeclaration=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateExportDeclaration(n,t,r,o,a,i)}),n),e.createJSDocParamTag=e.Debug.deprecate((function(n,t,r,a){return e.factory.createJSDocParameterTag(void 0,n,t,r,!1,a)}),n),e.createComma=e.Debug.deprecate((function(n,t){return e.factory.createComma(n,t)}),n),e.createLessThan=e.Debug.deprecate((function(n,t){return e.factory.createLessThan(n,t)}),n),e.createAssignment=e.Debug.deprecate((function(n,t){return e.factory.createAssignment(n,t)}),n),e.createStrictEquality=e.Debug.deprecate((function(n,t){return e.factory.createStrictEquality(n,t)}),n),e.createStrictInequality=e.Debug.deprecate((function(n,t){return e.factory.createStrictInequality(n,t)}),n),e.createAdd=e.Debug.deprecate((function(n,t){return e.factory.createAdd(n,t)}),n),e.createSubtract=e.Debug.deprecate((function(n,t){return e.factory.createSubtract(n,t)}),n),e.createLogicalAnd=e.Debug.deprecate((function(n,t){return e.factory.createLogicalAnd(n,t)}),n),e.createLogicalOr=e.Debug.deprecate((function(n,t){return e.factory.createLogicalOr(n,t)}),n),e.createPostfixIncrement=e.Debug.deprecate((function(n){return e.factory.createPostfixIncrement(n)}),n),e.createLogicalNot=e.Debug.deprecate((function(n){return e.factory.createLogicalNot(n)}),n),e.createNode=e.Debug.deprecate((function(n,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),e.setTextRangePosEnd(294===n?e.parseBaseNodeFactory.createBaseSourceFileNode(n):78===n?e.parseBaseNodeFactory.createBaseIdentifierNode(n):79===n?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(n):e.isNodeKind(n)?e.parseBaseNodeFactory.createBaseNode(n):e.parseBaseNodeFactory.createBaseTokenNode(n),t,r)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate((function(n){var t=e.factory.cloneNode(n);return e.setTextRange(t,n),e.setParent(t,n.parent),t}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.cloneNode` instead and use `setCommentRange` or `setSourceMapRange` and avoid setting `parent`."}),e.isTypeAssertion=e.Debug.deprecate((function(e){return 203===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."})}(p||(p={}));var m=p.createClassifier,_=p.createLanguageService,g=p.displayPartsToString,y=p.EndOfLineState,h=p.flattenDiagnosticMessageText,v=p.IndentStyle,b=p.ScriptKind,E=p.ScriptTarget,T=p.TokenClass}.call(this,t(86),"/",t(341)(e))},2:function(e,n,t){"use strict";t.d(n,"g",(function(){return o})),t.d(n,"f",(function(){return s})),t.d(n,"e",(function(){return c})),t.d(n,"h",(function(){return l})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return d})),t.d(n,"d",(function(){return p})),t.d(n,"c",(function(){return f}));var r=t(37);function a(e){}class i extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function o(e){return"function"==typeof e.dispose&&0===e.dispose.length}function s(e){if(r.a.is(e)){let n=[];for(const t of e)if(t)try{t.dispose()}catch(e){n.push(e)}if(1===n.length)throw n[0];if(n.length>1)throw new i(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function c(...e){return e.forEach(a),{dispose:()=>s(e)}}function l(e){const n={dispose:()=>{e()}};return n}class u{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{s(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?u.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}u.DISABLE_DISPOSED_WARNING=!1;class d{constructor(){this._store=new u}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}d.None=Object.freeze({dispose(){}});class p{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class f{constructor(e){this.object=e}dispose(){}}},21:function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var r=t(9),a=t(3);class i extends a.a{constructor(e,n,t,r){super(e,n,t,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=t,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return i.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return 0===this.getDirection()?new i(this.startLineNumber,this.startColumn,e,n):new i(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,n){return 0===this.getDirection()?new i(e,n,this.endLineNumber,this.endColumn):new i(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new i(e.lineNumber,e.column,n.lineNumber,n.column)}static liftSelection(e){return new i(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let t=0,r=e.length;t<r;t++)if(!this.selectionsEqual(e[t],n[t]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,n,t,r,a){return 0===a?new i(e,n,t,r):new i(t,r,e,n)}}},23:function(e,n,t){"use strict";t.d(n,"a",(function(){return u})),t.d(n,"b",(function(){return g}));var r=t(11),a=t(42);const i=/^\w[\w\d+.-]*$/,o=/^\//,s=/^\/\//;const c="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class u{constructor(e,n,t,r,a,l=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,n){return e||n?e:"file"}(e,l),this.authority=n||"",this.path=function(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==c&&(n=c+n):n=c}return n}(this.scheme,t||""),this.query=r||"",this.fragment=a||"",function(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!i.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!o.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,l))}static isUri(e){return e instanceof u||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:t,path:r,query:a,fragment:i}=e;return void 0===n?n=this.scheme:null===n&&(n=""),void 0===t?t=this.authority:null===t&&(t=""),void 0===r?r=this.path:null===r&&(r=""),void 0===a?a=this.query:null===a&&(a=""),void 0===i?i=this.fragment:null===i&&(i=""),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new p(n,t,r,a,i)}static parse(e,n=!1){const t=l.exec(e);return t?new p(t[2]||"",v(t[4]||""),v(t[5]||""),v(t[7]||""),v(t[9]||""),n):new p("","","","","")}static file(e){let n="";if(r.i&&(e=e.replace(/\\/g,c)),e[0]===c&&e[1]===c){const t=e.indexOf(c,2);-1===t?(n=e.substring(2),e=c):(n=e.substring(2,t),e=e.substring(t)||c)}return new p("file",n,e,"","")}static from(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let t;return t=r.i&&"file"===e.scheme?u.file(a.i.join(g(e,!0),...n)).path:a.e.join(e.path,...n),e.with({path:t})}toString(e=!1){return y(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof u)return e;{const n=new p(e);return n._formatted=e.external,n._fsPath=e._sep===d?e.fsPath:null,n}}return e}}const d=r.i?1:void 0;class p extends u{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const f={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,n){let t=void 0,r=-1;for(let a=0;a<e.length;a++){const i=e.charCodeAt(a);if(i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||n&&47===i)-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),void 0!==t&&(t+=e.charAt(a));else{void 0===t&&(t=e.substr(0,a));const n=f[i];void 0!==n?(-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),t+=n):-1===r&&(r=a)}}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function _(e){let n=void 0;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);35===r||63===r?(void 0===n&&(n=e.substr(0,t)),n+=f[r]):void 0!==n&&(n+=e[t])}return void 0!==n?n:e}function g(e,n){let t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?n?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(t=t.replace(/\//g,"\\")),t}function y(e,n){const t=n?_:m;let r="",{scheme:a,authority:i,path:o,query:s,fragment:l}=e;if(a&&(r+=a,r+=":"),(i||"file"===a)&&(r+=c,r+=c),i){let e=i.indexOf("@");if(-1!==e){const n=i.substr(0,e);i=i.substr(e+1),e=n.indexOf(":"),-1===e?r+=t(n,!1):(r+=t(n.substr(0,e),!1),r+=":",r+=t(n.substr(e+1),!1)),r+="@"}i=i.toLowerCase(),e=i.indexOf(":"),-1===e?r+=t(i,!1):(r+=t(i.substr(0,e),!1),r+=i.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=t(o,!0)}return s&&(r+="?",r+=t(s,!1)),l&&(r+="#",r+=n?l:m(l,!1)),r}const h=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(h)?e.replace(h,e=>function e(n){try{return decodeURIComponent(n)}catch(t){return n.length>3?n.substr(0,3)+e(n.substr(3)):n}}(e)):e}},25:function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return s}));var r=t(6);const a=Object.freeze((function(e,n){const t=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(t)}}}));var i;!function(e){e.isCancellationToken=function(n){return n===e.None||n===e.Cancelled||(n instanceof o||!(!n||"object"!=typeof n)&&("boolean"==typeof n.isCancellationRequested&&"function"==typeof n.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:a})}(i||(i={}));class o{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class s{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new o),this._token}cancel(){this._token?this._token instanceof o&&this._token.cancel():this._token=i.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof o&&this._token.dispose():this._token=i.None}}},28:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return s}));var r=t(11);const a=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,i=a.cwd,o=a.env,s=a.platform}).call(this,t(86))},3:function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var r=t(9);class a{constructor(e,n,t,r){e>t||e===t&&n>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}isEmpty(){return a.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return a.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.column<e.startColumn)&&!(n.lineNumber===e.endLineNumber&&n.column>e.endColumn))}containsRange(e){return a.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber)&&(!(n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)))}strictContainsRange(e){return a.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber)&&(!(n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)))}plusRange(e){return a.plusRange(this,e)}static plusRange(e,n){let t,r,i,o;return n.startLineNumber<e.startLineNumber?(t=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(t=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(t=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(i=n.endLineNumber,o=n.endColumn):n.endLineNumber===e.endLineNumber?(i=n.endLineNumber,o=Math.max(n.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new a(t,r,i,o)}intersectRanges(e){return a.intersectRanges(this,e)}static intersectRanges(e,n){let t=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,s=n.startLineNumber,c=n.startColumn,l=n.endLineNumber,u=n.endColumn;return t<s?(t=s,r=c):t===s&&(r=Math.max(r,c)),i>l?(i=l,o=u):i===l&&(o=Math.min(o,u)),t>i||t===i&&r>o?null:new a(t,r,i,o)}equalsRange(e){return a.equalsRange(this,e)}static equalsRange(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return a.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return a.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new a(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new a(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return a.collapseToStart(this)}static collapseToStart(e){return new a(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,n=e){return new a(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn)&&!(n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn)&&!(n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,n){if(e&&n){const t=0|e.startLineNumber,r=0|n.startLineNumber;if(t===r){const t=0|e.startColumn,r=0|n.startColumn;if(t===r){const t=0|e.endLineNumber,r=0|n.endLineNumber;if(t===r){return(0|e.endColumn)-(0|n.endColumn)}return t-r}return t-r}return t-r}return(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},341:function(e,n){e.exports=function(e){if(!e.webpackPolyfill){var n=Object.create(e);n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1}return n}},343:function(e,n,t){"use strict";t.r(n);var r=t(131),a=t(157),i={"lib.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es5" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',"lib.dom.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// DOM APIs\n/////////////////////////////\n\ninterface Account {\n displayName: string;\n id: string;\n imageURL?: string;\n name?: string;\n rpDisplayName: string;\n}\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: number | null;\n timelineTime?: number | null;\n}\n\ninterface AssertionOptions {\n allowList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioContextInfo {\n currentTime?: number;\n sampleRate?: number;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioParamDescriptor {\n automationRate?: AutomationRate;\n defaultValue?: number;\n maxValue?: number;\n minValue?: number;\n name: string;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: number;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record<string, number>;\n processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n appid?: string;\n authnSel?: AuthenticatorSelectionList;\n exts?: boolean;\n loc?: boolean;\n txAuthGeneric?: txAuthGenericArg;\n txAuthSimple?: string;\n uvi?: boolean;\n uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n authnSel?: boolean;\n exts?: AuthenticationExtensionsSupported;\n loc?: Coordinates;\n txAuthGeneric?: ArrayBuffer;\n txAuthSimple?: string;\n uvi?: ArrayBuffer;\n uvm?: UvmEntries;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface ByteLengthChunk {\n byteLength?: number;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n desynchronized?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientData {\n challenge: string;\n extensions?: WebAuthnExtensions;\n hashAlg: string | Algorithm;\n origin: string;\n rpId: string;\n tokenBinding?: string;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: number;\n currentIteration?: number | null;\n endTime?: number;\n localTime?: number | null;\n progress?: number | null;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainVideoFacingModeParameters {\n exact?: VideoFacingModeEnum | VideoFacingModeEnum[];\n ideal?: VideoFacingModeEnum | VideoFacingModeEnum[];\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n publicKey?: PublicKeyCredentialCreationOptions;\n signal?: AbortSignal;\n}\n\ninterface CredentialRequestOptions {\n mediation?: CredentialMediationRequirement;\n publicKey?: PublicKeyCredentialRequestOptions;\n signal?: AbortSignal;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceLightEventInit extends EventInit {\n value?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface DocumentTimelineOptions {\n originTime?: number;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExceptionInformation {\n domain?: string | null;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusNavigationEventInit extends EventInit {\n navigationReason?: string | null;\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusNavigationOrigin {\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n data?: string | null;\n inputType?: string;\n isComposing?: boolean;\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: number;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n code?: string;\n isComposing?: boolean;\n key?: string;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n robustness?: string;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamErrorEventInit extends EventInit {\n error?: MediaStreamError | null;\n}\n\ninterface MediaStreamEventInit extends EventInit {\n stream?: MediaStream;\n}\n\ninterface MediaStreamTrackAudioSourceOptions {\n mediaStreamTrack: MediaStreamTrack;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n deviceId?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n noiseSuppression?: ConstrainBoolean;\n resizeMode?: ConstrainDOMString;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n channelCount?: number;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n latency?: number;\n noiseSuppression?: boolean;\n resizeMode?: string;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n channelCount?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n latency?: boolean;\n noiseSuppression?: boolean;\n resizeMode?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n /**\n * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.\n */\n attributeFilter?: string[];\n /**\n * Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded.\n */\n attributeOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.\n */\n attributes?: boolean;\n /**\n * Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified.\n */\n characterData?: boolean;\n /**\n * Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded.\n */\n characterDataOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s children are to be observed.\n */\n childList?: boolean;\n /**\n * Set to true if mutations to not just target, but also target\'s descendants are to be observed.\n */\n subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PageTransitionEventInit extends EventInit {\n persisted?: boolean;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n currencySystem?: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n shippingOptions?: PaymentShippingOption[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string | string[];\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n error?: string;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string | string[];\n}\n\ninterface PaymentOptions {\n requestPayerEmail?: boolean;\n requestPayerName?: boolean;\n requestPayerPhone?: boolean;\n requestShipping?: boolean;\n shippingType?: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentShippingOption {\n amount: PaymentCurrencyAmount;\n id: string;\n label: string;\n selected?: boolean;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise<any>;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n attestation?: AttestationConveyancePreference;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: BufferSource;\n excludeCredentials?: PublicKeyCredentialDescriptor[];\n extensions?: AuthenticationExtensionsClientInputs;\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n icon?: string;\n name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n alg: COSEAlgorithmIdentifier;\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n allowCredentials?: PublicKeyCredentialDescriptor[];\n challenge: BufferSource;\n extensions?: AuthenticationExtensionsClientInputs;\n rpId?: string;\n timeout?: number;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback<T>;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: number;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n peerIdentity?: string;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n priority?: RTCPriorityType;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCDtlsParameters {\n fingerprints?: RTCDtlsFingerprint[];\n role?: RTCDtlsRole;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n error: RTCError;\n}\n\ninterface RTCErrorInit {\n errorDetail: RTCErrorDetailType;\n httpRequestStatusCode?: number;\n receivedAlert?: number;\n sctpCauseCode?: number;\n sdpLineNumber?: number;\n sentAlert?: number;\n}\n\ninterface RTCIceCandidateAttributes extends RTCStats {\n addressSourceUrl?: string;\n candidateType?: RTCStatsIceCandidateType;\n ipAddress?: string;\n portNumber?: number;\n priority?: number;\n transport?: string;\n}\n\ninterface RTCIceCandidateComplete {\n}\n\ninterface RTCIceCandidateDictionary {\n foundation?: string;\n ip?: string;\n msMTurnSessionId?: string;\n port?: number;\n priority?: number;\n protocol?: RTCIceProtocol;\n relatedAddress?: string;\n relatedPort?: number;\n tcpType?: RTCIceTcpCandidateType;\n type?: RTCIceCandidateType;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string | null;\n}\n\ninterface RTCIceCandidatePair {\n local?: RTCIceCandidate;\n remote?: RTCIceCandidate;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n localCandidateId?: string;\n nominated?: boolean;\n priority?: number;\n readable?: boolean;\n remoteCandidateId?: string;\n roundTripTime?: number;\n state?: RTCStatsIceCandidatePairState;\n transportId?: string;\n writable?: boolean;\n}\n\ninterface RTCIceGatherOptions {\n gatherPolicy?: RTCIceGatherPolicy;\n iceservers?: RTCIceServer[];\n}\n\ninterface RTCIceParameters {\n password?: string;\n usernameFragment?: string;\n}\n\ninterface RTCIceServer {\n credential?: string | RTCOAuthCredential;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCIdentityProviderOptions {\n peerIdentity?: string;\n protocol?: string;\n usernameHint?: string;\n}\n\ninterface RTCInboundRTPStreamStats extends RTCRTPStreamStats {\n bytesReceived?: number;\n fractionLost?: number;\n jitter?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCMediaStreamTrackStats extends RTCStats {\n audioLevel?: number;\n echoReturnLoss?: number;\n echoReturnLossEnhancement?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesCorrupted?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n framesSent?: number;\n remoteSource?: boolean;\n ssrcIds?: string[];\n trackIdentifier?: string;\n}\n\ninterface RTCOAuthCredential {\n accessToken: string;\n macKey: string;\n}\n\ninterface RTCOfferAnswerOptions {\n voiceActivityDetection?: boolean;\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n roundTripTime?: number;\n targetBitrate?: number;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n errorCode: number;\n hostCandidate?: string;\n statusText?: string;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCRTPStreamStats extends RTCStats {\n associateStatsId?: string;\n codecId?: string;\n firCount?: number;\n isRemote?: boolean;\n mediaTrackId?: string;\n mediaType?: string;\n nackCount?: number;\n pliCount?: number;\n sliCount?: number;\n ssrc?: string;\n transportId?: string;\n}\n\ninterface RTCRtcpFeedback {\n parameter?: string;\n type?: string;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n rtpTimestamp: number;\n source: number;\n timestamp: number;\n}\n\ninterface RTCRtpDecodingParameters extends RTCRtpCodingParameters {\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n codecPayloadType?: number;\n dtx?: RTCDtxStatus;\n maxBitrate?: number;\n maxFramerate?: number;\n ptime?: number;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpFecParameters {\n mechanism?: string;\n ssrc?: number;\n}\n\ninterface RTCRtpHeaderExtension {\n kind?: string;\n preferredEncrypt?: boolean;\n preferredId?: number;\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n encodings: RTCRtpDecodingParameters[];\n}\n\ninterface RTCRtpRtxParameters {\n ssrc?: number;\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n priority?: RTCPriorityType;\n transactionId: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n voiceActivityFlag?: boolean;\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCRtpUnhandled {\n muxId?: string;\n payloadType?: number;\n ssrc?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type?: RTCSdpType;\n}\n\ninterface RTCSrtpKeyParam {\n keyMethod?: string;\n keySalt?: string;\n lifetime?: string;\n mkiLength?: number;\n mkiValue?: number;\n}\n\ninterface RTCSrtpSdesParameters {\n cryptoSuite?: string;\n keyParams?: RTCSrtpKeyParam[];\n sessionParams?: string[];\n tag?: number;\n}\n\ninterface RTCSsrcRange {\n max?: number;\n min?: number;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: number;\n type: RTCStatsType;\n}\n\ninterface RTCStatsEventInit extends EventInit {\n report: RTCStatsReport;\n}\n\ninterface RTCStatsReport {\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n activeConnection?: boolean;\n bytesReceived?: number;\n bytesSent?: number;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value?: T;\n}\n\ninterface ReadableStreamReadValueResult<T> {\n done: false;\n value: T;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request\'s credentials.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request\'s redirect.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScopedCredentialDescriptor {\n id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;\n transports?: Transport[];\n type: ScopedCredentialType;\n}\n\ninterface ScopedCredentialOptions {\n excludeList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface ScopedCredentialParameters {\n algorithm: string | Algorithm;\n type: ScopedCredentialType;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n documentURI?: string;\n effectiveDirective?: string;\n lineNumber?: number;\n originalPolicy?: string;\n referrer?: string;\n sourceFile?: string;\n statusCode?: number;\n violatedDirective?: string;\n}\n\ninterface ServiceWorkerMessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[] | null;\n source?: ServiceWorker | MessagePort | null;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n}\n\ninterface ShareData {\n text?: string;\n title?: string;\n url?: string;\n}\n\ninterface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {\n error: SpeechSynthesisErrorCode;\n}\n\ninterface SpeechSynthesisEventInit extends EventInit {\n charIndex?: number;\n charLength?: number;\n elapsedTime?: number;\n name?: string;\n utterance: SpeechSynthesisUtterance;\n}\n\ninterface StaticRangeInit {\n endContainer: Node;\n endOffset: number;\n startContainer: Node;\n startOffset: number;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StoreExceptionsInformation extends ExceptionInformation {\n detailURI?: string | null;\n explanationString?: string | null;\n siteName?: string | null;\n}\n\ninterface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: TextTrack | null;\n}\n\ninterface Transformer<I = any, O = any> {\n flush?: TransformStreamDefaultControllerCallback<O>;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback<O>;\n transform?: TransformStreamDefaultControllerTransformCallback<I, O>;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink<W = any> {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback<R>;\n start?: ReadableStreamDefaultControllerCallback<R>;\n type?: undefined;\n}\n\ninterface VRDisplayEventInit extends EventInit {\n display: VRDisplay;\n reason?: VRDisplayEventReason;\n}\n\ninterface VRLayer {\n leftBounds?: number[] | Float32Array | null;\n rightBounds?: number[] | Float32Array | null;\n source?: HTMLCanvasElement | null;\n}\n\ninterface VRStageParameters {\n sittingToStandingTransform?: Float32Array;\n sizeX?: number;\n sizeY?: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebAuthnExtensions {\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ninterface txAuthGenericArg {\n content: ArrayBuffer;\n contentType: string;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractRange {\n /**\n * Returns true if range is collapsed, and false otherwise.\n */\n readonly collapsed: boolean;\n /**\n * Returns range\'s end node.\n */\n readonly endContainer: Node;\n /**\n * Returns range\'s end offset.\n */\n readonly endOffset: number;\n /**\n * Returns range\'s start node.\n */\n readonly startContainer: Node;\n /**\n * Returns range\'s start offset.\n */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\n/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n}\n\ninterface Animation extends EventTarget {\n currentTime: number | null;\n effect: AnimationEffect | null;\n readonly finished: Promise<Animation>;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise<Animation>;\n startTime: number | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n finish(): void;\n pause(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: number | null;\n readonly timelineTime: number | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\ninterface ApplicationCacheEventMap {\n "cached": Event;\n "checking": Event;\n "downloading": Event;\n "error": Event;\n "noupdate": Event;\n "obsolete": Event;\n "progress": ProgressEvent<ApplicationCache>;\n "updateready": Event;\n}\n\ninterface ApplicationCache extends EventTarget {\n /** @deprecated */\n oncached: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onchecking: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n ondownloading: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onerror: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onobsolete: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onprogress: ((this: ApplicationCache, ev: ProgressEvent<ApplicationCache>) => any) | null;\n /** @deprecated */\n onupdateready: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n readonly status: number;\n /** @deprecated */\n abort(): void;\n /** @deprecated */\n swapCache(): void;\n /** @deprecated */\n update(): void;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n addEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ApplicationCache: {\n prototype: ApplicationCache;\n new(): ApplicationCache;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n};\n\n/** A DOM element\'s attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerDocument: Document;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It\'s especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n readonly outputLatency: number;\n close(): Promise<void>;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise<void>;\n suspend(): Promise<void>;\n addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */\ninterface AudioProcessingEvent extends Event {\n readonly inputBuffer: AudioBuffer;\n readonly outputBuffer: AudioBuffer;\n readonly playbackTime: number;\n}\n\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n prototype: AudioWorklet;\n new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n "processorerror": Event;\n}\n\ninterface AudioWorkletNode extends AudioNode {\n onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null;\n readonly parameters: AudioParamMap;\n readonly port: MessagePort;\n addEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioWorkletNode: {\n prototype: AudioWorkletNode;\n new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode;\n};\n\ninterface AuthenticatorAssertionResponse extends AuthenticatorResponse {\n readonly authenticatorData: ArrayBuffer;\n readonly signature: ArrayBuffer;\n readonly userHandle: ArrayBuffer | null;\n}\n\ndeclare var AuthenticatorAssertionResponse: {\n prototype: AuthenticatorAssertionResponse;\n new(): AuthenticatorAssertionResponse;\n};\n\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n readonly attestationObject: ArrayBuffer;\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n prototype: AuthenticatorAttestationResponse;\n new(): AuthenticatorAttestationResponse;\n};\n\ninterface AuthenticatorResponse {\n readonly clientDataJSON: ArrayBuffer;\n}\n\ndeclare var AuthenticatorResponse: {\n prototype: AuthenticatorResponse;\n new(): AuthenticatorResponse;\n};\n\ninterface BarProp {\n readonly visible: boolean;\n}\n\ndeclare var BarProp: {\n prototype: BarProp;\n new(): BarProp;\n};\n\ninterface BaseAudioContextEventMap {\n "statechange": Event;\n}\n\ninterface BaseAudioContext extends EventTarget {\n readonly audioWorklet: AudioWorklet;\n readonly currentTime: number;\n readonly destination: AudioDestinationNode;\n readonly listener: AudioListener;\n onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;\n readonly sampleRate: number;\n readonly state: AudioContextState;\n createAnalyser(): AnalyserNode;\n createBiquadFilter(): BiquadFilterNode;\n createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\n createBufferSource(): AudioBufferSourceNode;\n createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\n createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\n createConstantSource(): ConstantSourceNode;\n createConvolver(): ConvolverNode;\n createDelay(maxDelayTime?: number): DelayNode;\n createDynamicsCompressor(): DynamicsCompressorNode;\n createGain(): GainNode;\n createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;\n createOscillator(): OscillatorNode;\n createPanner(): PannerNode;\n createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;\n createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\n createStereoPanner(): StereoPannerNode;\n createWaveShaper(): WaveShaperNode;\n decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise<AudioBuffer>;\n addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BaseAudioContext: {\n prototype: BaseAudioContext;\n new(): BaseAudioContext;\n};\n\n/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */\ninterface BeforeUnloadEvent extends Event {\n returnValue: any;\n}\n\ndeclare var BeforeUnloadEvent: {\n prototype: BeforeUnloadEvent;\n new(): BeforeUnloadEvent;\n};\n\ninterface BhxBrowser {\n readonly lastError: DOMException;\n checkMatchesGlobExpression(pattern: string, value: string): boolean;\n checkMatchesUriExpression(pattern: string, value: string): boolean;\n clearLastError(): void;\n currentWindowId(): number;\n fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void;\n genericFunction(functionId: number, destination: any, parameters?: string, callbackId?: number): void;\n genericSynchronousFunction(functionId: number, parameters?: string): string;\n getExtensionId(): string;\n getThisAddress(): any;\n registerGenericFunctionCallbackHandler(callbackHandler: Function): void;\n registerGenericListenerHandler(eventHandler: Function): void;\n setLastError(parameters: string): void;\n webPlatformGenericFunction(destination: any, parameters?: string, callbackId?: number): void;\n}\n\ndeclare var BhxBrowser: {\n prototype: BhxBrowser;\n new(): BhxBrowser;\n};\n\n/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */\ninterface BiquadFilterNode extends AudioNode {\n readonly Q: AudioParam;\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n readonly gain: AudioParam;\n type: BiquadFilterType;\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var BiquadFilterNode: {\n prototype: BiquadFilterNode;\n new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;\n};\n\n/** A file-like object of immutable, raw data. Blobs represent data that isn\'t necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user\'s system. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise<ArrayBuffer>;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n readonly body: ReadableStream<Uint8Array> | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise<ArrayBuffer>;\n blob(): Promise<Blob>;\n formData(): Promise<FormData>;\n json(): Promise<any>;\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /**\n * Returns the channel name (as passed to the constructor).\n */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * Closes the BroadcastChannel object, opening it up to garbage collection.\n */\n close(): void;\n /**\n * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n highWaterMark: number;\n size(chunk: ArrayBufferView): number;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(options: { highWaterMark: number }): ByteLengthQueuingStrategy;\n};\n\n/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */\ninterface CDATASection extends Text {\n}\n\ndeclare var CDATASection: {\n prototype: CDATASection;\n new(): CDATASection;\n};\n\n/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */\ninterface CSSConditionRule extends CSSGroupingRule {\n conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n prototype: CSSConditionRule;\n new(): CSSConditionRule;\n};\n\ninterface CSSFontFaceRule extends CSSRule {\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSFontFaceRule: {\n prototype: CSSFontFaceRule;\n new(): CSSFontFaceRule;\n};\n\n/** Any CSS at-rule that contains other rules nested within it. */\ninterface CSSGroupingRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n}\n\ndeclare var CSSGroupingRule: {\n prototype: CSSGroupingRule;\n new(): CSSGroupingRule;\n};\n\ninterface CSSImportRule extends CSSRule {\n readonly href: string;\n readonly media: MediaList;\n readonly styleSheet: CSSStyleSheet;\n}\n\ndeclare var CSSImportRule: {\n prototype: CSSImportRule;\n new(): CSSImportRule;\n};\n\n/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */\ninterface CSSKeyframeRule extends CSSRule {\n keyText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSKeyframeRule: {\n prototype: CSSKeyframeRule;\n new(): CSSKeyframeRule;\n};\n\n/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */\ninterface CSSKeyframesRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n name: string;\n appendRule(rule: string): void;\n deleteRule(select: string): void;\n findRule(select: string): CSSKeyframeRule | null;\n}\n\ndeclare var CSSKeyframesRule: {\n prototype: CSSKeyframesRule;\n new(): CSSKeyframesRule;\n};\n\n/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */\ninterface CSSMediaRule extends CSSConditionRule {\n readonly media: MediaList;\n}\n\ndeclare var CSSMediaRule: {\n prototype: CSSMediaRule;\n new(): CSSMediaRule;\n};\n\n/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */\ninterface CSSNamespaceRule extends CSSRule {\n readonly namespaceURI: string;\n readonly prefix: string;\n}\n\ndeclare var CSSNamespaceRule: {\n prototype: CSSNamespaceRule;\n new(): CSSNamespaceRule;\n};\n\n/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */\ninterface CSSPageRule extends CSSGroupingRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSPageRule: {\n prototype: CSSPageRule;\n new(): CSSPageRule;\n};\n\n/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */\ninterface CSSRule {\n cssText: string;\n readonly parentRule: CSSRule | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n readonly type: number;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n}\n\ndeclare var CSSRule: {\n prototype: CSSRule;\n new(): CSSRule;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n};\n\n/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */\ninterface CSSRuleList {\n readonly length: number;\n item(index: number): CSSRule | null;\n [index: number]: CSSRule;\n}\n\ndeclare var CSSRuleList: {\n prototype: CSSRuleList;\n new(): CSSRuleList;\n};\n\n/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */\ninterface CSSStyleDeclaration {\n alignContent: string;\n alignItems: string;\n alignSelf: string;\n alignmentBaseline: string;\n all: string;\n animation: string;\n animationDelay: string;\n animationDirection: string;\n animationDuration: string;\n animationFillMode: string;\n animationIterationCount: string;\n animationName: string;\n animationPlayState: string;\n animationTimingFunction: string;\n backfaceVisibility: string;\n background: string;\n backgroundAttachment: string;\n backgroundClip: string;\n backgroundColor: string;\n backgroundImage: string;\n backgroundOrigin: string;\n backgroundPosition: string;\n backgroundPositionX: string;\n backgroundPositionY: string;\n backgroundRepeat: string;\n backgroundSize: string;\n baselineShift: string;\n blockSize: string;\n border: string;\n borderBlockEnd: string;\n borderBlockEndColor: string;\n borderBlockEndStyle: string;\n borderBlockEndWidth: string;\n borderBlockStart: string;\n borderBlockStartColor: string;\n borderBlockStartStyle: string;\n borderBlockStartWidth: string;\n borderBottom: string;\n borderBottomColor: string;\n borderBottomLeftRadius: string;\n borderBottomRightRadius: string;\n borderBottomStyle: string;\n borderBottomWidth: string;\n borderCollapse: string;\n borderColor: string;\n borderImage: string;\n borderImageOutset: string;\n borderImageRepeat: string;\n borderImageSlice: string;\n borderImageSource: string;\n borderImageWidth: string;\n borderInlineEnd: string;\n borderInlineEndColor: string;\n borderInlineEndStyle: string;\n borderInlineEndWidth: string;\n borderInlineStart: string;\n borderInlineStartColor: string;\n borderInlineStartStyle: string;\n borderInlineStartWidth: string;\n borderLeft: string;\n borderLeftColor: string;\n borderLeftStyle: string;\n borderLeftWidth: string;\n borderRadius: string;\n borderRight: string;\n borderRightColor: string;\n borderRightStyle: string;\n borderRightWidth: string;\n borderSpacing: string;\n borderStyle: string;\n borderTop: string;\n borderTopColor: string;\n borderTopLeftRadius: string;\n borderTopRightRadius: string;\n borderTopStyle: string;\n borderTopWidth: string;\n borderWidth: string;\n bottom: string;\n boxShadow: string;\n boxSizing: string;\n breakAfter: string;\n breakBefore: string;\n breakInside: string;\n captionSide: string;\n caretColor: string;\n clear: string;\n clip: string;\n clipPath: string;\n clipRule: string;\n color: string;\n colorInterpolation: string;\n colorInterpolationFilters: string;\n columnCount: string;\n columnFill: string;\n columnGap: string;\n columnRule: string;\n columnRuleColor: string;\n columnRuleStyle: string;\n columnRuleWidth: string;\n columnSpan: string;\n columnWidth: string;\n columns: string;\n content: string;\n counterIncrement: string;\n counterReset: string;\n cssFloat: string;\n cssText: string;\n cursor: string;\n direction: string;\n display: string;\n dominantBaseline: string;\n emptyCells: string;\n fill: string;\n fillOpacity: string;\n fillRule: string;\n filter: string;\n flex: string;\n flexBasis: string;\n flexDirection: string;\n flexFlow: string;\n flexGrow: string;\n flexShrink: string;\n flexWrap: string;\n float: string;\n floodColor: string;\n floodOpacity: string;\n font: string;\n fontFamily: string;\n fontFeatureSettings: string;\n fontKerning: string;\n fontSize: string;\n fontSizeAdjust: string;\n fontStretch: string;\n fontStyle: string;\n fontSynthesis: string;\n fontVariant: string;\n fontVariantCaps: string;\n fontVariantEastAsian: string;\n fontVariantLigatures: string;\n fontVariantNumeric: string;\n fontVariantPosition: string;\n fontWeight: string;\n gap: string;\n glyphOrientationVertical: string;\n grid: string;\n gridArea: string;\n gridAutoColumns: string;\n gridAutoFlow: string;\n gridAutoRows: string;\n gridColumn: string;\n gridColumnEnd: string;\n gridColumnGap: string;\n gridColumnStart: string;\n gridGap: string;\n gridRow: string;\n gridRowEnd: string;\n gridRowGap: string;\n gridRowStart: string;\n gridTemplate: string;\n gridTemplateAreas: string;\n gridTemplateColumns: string;\n gridTemplateRows: string;\n height: string;\n hyphens: string;\n imageOrientation: string;\n imageRendering: string;\n inlineSize: string;\n justifyContent: string;\n justifyItems: string;\n justifySelf: string;\n left: string;\n readonly length: number;\n letterSpacing: string;\n lightingColor: string;\n lineBreak: string;\n lineHeight: string;\n listStyle: string;\n listStyleImage: string;\n listStylePosition: string;\n listStyleType: string;\n margin: string;\n marginBlockEnd: string;\n marginBlockStart: string;\n marginBottom: string;\n marginInlineEnd: string;\n marginInlineStart: string;\n marginLeft: string;\n marginRight: string;\n marginTop: string;\n marker: string;\n markerEnd: string;\n markerMid: string;\n markerStart: string;\n mask: string;\n maskComposite: string;\n maskImage: string;\n maskPosition: string;\n maskRepeat: string;\n maskSize: string;\n maskType: string;\n maxBlockSize: string;\n maxHeight: string;\n maxInlineSize: string;\n maxWidth: string;\n minBlockSize: string;\n minHeight: string;\n minInlineSize: string;\n minWidth: string;\n objectFit: string;\n objectPosition: string;\n opacity: string;\n order: string;\n orphans: string;\n outline: string;\n outlineColor: string;\n outlineOffset: string;\n outlineStyle: string;\n outlineWidth: string;\n overflow: string;\n overflowAnchor: string;\n overflowWrap: string;\n overflowX: string;\n overflowY: string;\n overscrollBehavior: string;\n overscrollBehaviorBlock: string;\n overscrollBehaviorInline: string;\n overscrollBehaviorX: string;\n overscrollBehaviorY: string;\n padding: string;\n paddingBlockEnd: string;\n paddingBlockStart: string;\n paddingBottom: string;\n paddingInlineEnd: string;\n paddingInlineStart: string;\n paddingLeft: string;\n paddingRight: string;\n paddingTop: string;\n pageBreakAfter: string;\n pageBreakBefore: string;\n pageBreakInside: string;\n paintOrder: string;\n readonly parentRule: CSSRule | null;\n perspective: string;\n perspectiveOrigin: string;\n placeContent: string;\n placeItems: string;\n placeSelf: string;\n pointerEvents: string;\n position: string;\n quotes: string;\n resize: string;\n right: string;\n rotate: string;\n rowGap: string;\n rubyAlign: string;\n rubyPosition: string;\n scale: string;\n scrollBehavior: string;\n shapeRendering: string;\n stopColor: string;\n stopOpacity: string;\n stroke: string;\n strokeDasharray: string;\n strokeDashoffset: string;\n strokeLinecap: string;\n strokeLinejoin: string;\n strokeMiterlimit: string;\n strokeOpacity: string;\n strokeWidth: string;\n tabSize: string;\n tableLayout: string;\n textAlign: string;\n textAlignLast: string;\n textAnchor: string;\n textCombineUpright: string;\n textDecoration: string;\n textDecorationColor: string;\n textDecorationLine: string;\n textDecorationStyle: string;\n textEmphasis: string;\n textEmphasisColor: string;\n textEmphasisPosition: string;\n textEmphasisStyle: string;\n textIndent: string;\n textJustify: string;\n textOrientation: string;\n textOverflow: string;\n textRendering: string;\n textShadow: string;\n textTransform: string;\n textUnderlinePosition: string;\n top: string;\n touchAction: string;\n transform: string;\n transformBox: string;\n transformOrigin: string;\n transformStyle: string;\n transition: string;\n transitionDelay: string;\n transitionDuration: string;\n transitionProperty: string;\n transitionTimingFunction: string;\n translate: string;\n unicodeBidi: string;\n userSelect: string;\n verticalAlign: string;\n visibility: string;\n /** @deprecated */\n webkitAlignContent: string;\n /** @deprecated */\n webkitAlignItems: string;\n /** @deprecated */\n webkitAlignSelf: string;\n /** @deprecated */\n webkitAnimation: string;\n /** @deprecated */\n webkitAnimationDelay: string;\n /** @deprecated */\n webkitAnimationDirection: string;\n /** @deprecated */\n webkitAnimationDuration: string;\n /** @deprecated */\n webkitAnimationFillMode: string;\n /** @deprecated */\n webkitAnimationIterationCount: string;\n /** @deprecated */\n webkitAnimationName: string;\n /** @deprecated */\n webkitAnimationPlayState: string;\n /** @deprecated */\n webkitAnimationTimingFunction: string;\n /** @deprecated */\n webkitAppearance: string;\n /** @deprecated */\n webkitBackfaceVisibility: string;\n /** @deprecated */\n webkitBackgroundClip: string;\n /** @deprecated */\n webkitBackgroundOrigin: string;\n /** @deprecated */\n webkitBackgroundSize: string;\n /** @deprecated */\n webkitBorderBottomLeftRadius: string;\n /** @deprecated */\n webkitBorderBottomRightRadius: string;\n /** @deprecated */\n webkitBorderRadius: string;\n /** @deprecated */\n webkitBorderTopLeftRadius: string;\n /** @deprecated */\n webkitBorderTopRightRadius: string;\n /** @deprecated */\n webkitBoxAlign: string;\n /** @deprecated */\n webkitBoxFlex: string;\n /** @deprecated */\n webkitBoxOrdinalGroup: string;\n /** @deprecated */\n webkitBoxOrient: string;\n /** @deprecated */\n webkitBoxPack: string;\n /** @deprecated */\n webkitBoxShadow: string;\n /** @deprecated */\n webkitBoxSizing: string;\n /** @deprecated */\n webkitFilter: string;\n /** @deprecated */\n webkitFlex: string;\n /** @deprecated */\n webkitFlexBasis: string;\n /** @deprecated */\n webkitFlexDirection: string;\n /** @deprecated */\n webkitFlexFlow: string;\n /** @deprecated */\n webkitFlexGrow: string;\n /** @deprecated */\n webkitFlexShrink: string;\n /** @deprecated */\n webkitFlexWrap: string;\n /** @deprecated */\n webkitJustifyContent: string;\n webkitLineClamp: string;\n /** @deprecated */\n webkitMask: string;\n /** @deprecated */\n webkitMaskBoxImage: string;\n /** @deprecated */\n webkitMaskBoxImageOutset: string;\n /** @deprecated */\n webkitMaskBoxImageRepeat: string;\n /** @deprecated */\n webkitMaskBoxImageSlice: string;\n /** @deprecated */\n webkitMaskBoxImageSource: string;\n /** @deprecated */\n webkitMaskBoxImageWidth: string;\n /** @deprecated */\n webkitMaskClip: string;\n /** @deprecated */\n webkitMaskComposite: string;\n /** @deprecated */\n webkitMaskImage: string;\n /** @deprecated */\n webkitMaskOrigin: string;\n /** @deprecated */\n webkitMaskPosition: string;\n /** @deprecated */\n webkitMaskRepeat: string;\n /** @deprecated */\n webkitMaskSize: string;\n /** @deprecated */\n webkitOrder: string;\n /** @deprecated */\n webkitPerspective: string;\n /** @deprecated */\n webkitPerspectiveOrigin: string;\n webkitTapHighlightColor: string;\n /** @deprecated */\n webkitTextFillColor: string;\n /** @deprecated */\n webkitTextSizeAdjust: string;\n /** @deprecated */\n webkitTextStroke: string;\n /** @deprecated */\n webkitTextStrokeColor: string;\n /** @deprecated */\n webkitTextStrokeWidth: string;\n /** @deprecated */\n webkitTransform: string;\n /** @deprecated */\n webkitTransformOrigin: string;\n /** @deprecated */\n webkitTransformStyle: string;\n /** @deprecated */\n webkitTransition: string;\n /** @deprecated */\n webkitTransitionDelay: string;\n /** @deprecated */\n webkitTransitionDuration: string;\n /** @deprecated */\n webkitTransitionProperty: string;\n /** @deprecated */\n webkitTransitionTimingFunction: string;\n /** @deprecated */\n webkitUserSelect: string;\n whiteSpace: string;\n widows: string;\n width: string;\n willChange: string;\n wordBreak: string;\n wordSpacing: string;\n wordWrap: string;\n writingMode: string;\n zIndex: string;\n /** @deprecated */\n zoom: string;\n getPropertyPriority(property: string): string;\n getPropertyValue(property: string): string;\n item(index: number): string;\n removeProperty(property: string): string;\n setProperty(property: string, value: string | null, priority?: string): void;\n [index: number]: string;\n}\n\ndeclare var CSSStyleDeclaration: {\n prototype: CSSStyleDeclaration;\n new(): CSSStyleDeclaration;\n};\n\n/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */\ninterface CSSStyleRule extends CSSRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSStyleRule: {\n prototype: CSSStyleRule;\n new(): CSSStyleRule;\n};\n\n/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */\ninterface CSSStyleSheet extends StyleSheet {\n readonly cssRules: CSSRuleList;\n readonly ownerRule: CSSRule | null;\n readonly rules: CSSRuleList;\n addRule(selector?: string, style?: string, index?: number): number;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n removeRule(index?: number): void;\n}\n\ndeclare var CSSStyleSheet: {\n prototype: CSSStyleSheet;\n new(): CSSStyleSheet;\n};\n\n/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */\ninterface CSSSupportsRule extends CSSConditionRule {\n}\n\ndeclare var CSSSupportsRule: {\n prototype: CSSSupportsRule;\n new(): CSSSupportsRule;\n};\n\n/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don\'t have to use it in conjunction with service workers, even though it is defined in the service worker spec. */\ninterface Cache {\n add(request: RequestInfo): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/** The storage for Cache objects. */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: string;\n}\n\ninterface CanvasDrawImage {\n drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n beginPath(): void;\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n fillStyle: string | CanvasGradient | CanvasPattern;\n strokeStyle: string | CanvasGradient | CanvasPattern;\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.\n * \n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n createImageData(sw: number, sh: number): ImageData;\n createImageData(imagedata: ImageData): ImageData;\n getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;\n putImageData(imagedata: ImageData, dx: number, dy: number): void;\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n imageSmoothingEnabled: boolean;\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasPathDrawingStyles {\n lineCap: CanvasLineCap;\n lineDashOffset: number;\n lineJoin: CanvasLineJoin;\n lineWidth: number;\n miterLimit: number;\n getLineDash(): number[];\n setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /**\n * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n clearRect(x: number, y: number, w: number, h: number): void;\n fillRect(x: number, y: number, w: number, h: number): void;\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\n/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects. */\ninterface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {\n readonly canvas: HTMLCanvasElement;\n}\n\ndeclare var CanvasRenderingContext2D: {\n prototype: CanvasRenderingContext2D;\n new(): CanvasRenderingContext2D;\n};\n\ninterface CanvasShadowStyles {\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n restore(): void;\n save(): void;\n}\n\ninterface CanvasText {\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n measureText(text: string): TextMetrics;\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n direction: CanvasDirection;\n font: string;\n textAlign: CanvasTextAlign;\n textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n getTransform(): DOMMatrix;\n resetTransform(): void;\n rotate(angle: number): void;\n scale(x: number, y: number): void;\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n translate(x: number, y: number): void;\n}\n\ninterface CanvasUserInterface {\n drawFocusIfNeeded(element: Element): void;\n drawFocusIfNeeded(path: Path2D, element: Element): void;\n scrollPathIntoView(): void;\n scrollPathIntoView(path: Path2D): void;\n}\n\ninterface CaretPosition {\n readonly offset: number;\n readonly offsetNode: Node;\n getClientRect(): DOMRect | null;\n}\n\ndeclare var CaretPosition: {\n prototype: CaretPosition;\n new(): CaretPosition;\n};\n\n/** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */\ninterface ChannelMergerNode extends AudioNode {\n}\n\ndeclare var ChannelMergerNode: {\n prototype: ChannelMergerNode;\n new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;\n};\n\n/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */\ninterface ChannelSplitterNode extends AudioNode {\n}\n\ndeclare var ChannelSplitterNode: {\n prototype: ChannelSplitterNode;\n new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;\n};\n\n/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren\'t any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren\'t abstract. */\ninterface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {\n data: string;\n readonly length: number;\n readonly ownerDocument: Document;\n appendData(data: string): void;\n deleteData(offset: number, count: number): void;\n insertData(offset: number, data: string): void;\n replaceData(offset: number, count: number, data: string): void;\n substringData(offset: number, count: number): string;\n}\n\ndeclare var CharacterData: {\n prototype: CharacterData;\n new(): CharacterData;\n};\n\ninterface ChildNode extends Node {\n /**\n * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n after(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n before(...nodes: (Node | string)[]): void;\n /**\n * Removes node.\n */\n remove(): void;\n /**\n * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n replaceWith(...nodes: (Node | string)[]): void;\n}\n\ninterface ClientRect {\n bottom: number;\n readonly height: number;\n left: number;\n right: number;\n top: number;\n readonly width: number;\n}\n\ndeclare var ClientRect: {\n prototype: ClientRect;\n new(): ClientRect;\n};\n\ninterface ClientRectList {\n readonly length: number;\n item(index: number): ClientRect;\n [index: number]: ClientRect;\n}\n\ndeclare var ClientRectList: {\n prototype: ClientRectList;\n new(): ClientRectList;\n};\n\ninterface Clipboard extends EventTarget {\n readText(): Promise<string>;\n writeText(data: string): Promise<void>;\n}\n\ndeclare var Clipboard: {\n prototype: Clipboard;\n new(): Clipboard;\n};\n\n/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */\ninterface ClipboardEvent extends Event {\n readonly clipboardData: DataTransfer | null;\n}\n\ndeclare var ClipboardEvent: {\n prototype: ClipboardEvent;\n new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\n};\n\n/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object\'s onclose attribute. */\ninterface CloseEvent extends Event {\n /**\n * Returns the WebSocket connection close code provided by the server.\n */\n readonly code: number;\n /**\n * Returns the WebSocket connection close reason provided by the server.\n */\n readonly reason: string;\n /**\n * Returns true if the connection closed cleanly; false otherwise.\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */\ninterface Comment extends CharacterData {\n}\n\ndeclare var Comment: {\n prototype: Comment;\n new(data?: string): Comment;\n};\n\n/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */\ninterface CompositionEvent extends UIEvent {\n readonly data: string;\n}\n\ndeclare var CompositionEvent: {\n prototype: CompositionEvent;\n new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;\n};\n\ninterface ConcatParams extends Algorithm {\n algorithmId: Uint8Array;\n hash?: string | Algorithm;\n partyUInfo: Uint8Array;\n partyVInfo: Uint8Array;\n privateInfo?: Uint8Array;\n publicInfo?: Uint8Array;\n}\n\ninterface ConstantSourceNode extends AudioScheduledSourceNode {\n readonly offset: AudioParam;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ConstantSourceNode: {\n prototype: ConstantSourceNode;\n new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode;\n};\n\n/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */\ninterface ConvolverNode extends AudioNode {\n buffer: AudioBuffer | null;\n normalize: boolean;\n}\n\ndeclare var ConvolverNode: {\n prototype: ConvolverNode;\n new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;\n};\n\n/** The position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated. */\ninterface Coordinates {\n readonly accuracy: number;\n readonly altitude: number | null;\n readonly altitudeAccuracy: number | null;\n readonly heading: number | null;\n readonly latitude: number;\n readonly longitude: number;\n readonly speed: number | null;\n}\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n highWaterMark: number;\n size(chunk: any): 1;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(options: { highWaterMark: number }): CountQueuingStrategy;\n};\n\ninterface Credential {\n readonly id: string;\n readonly type: string;\n}\n\ndeclare var Credential: {\n prototype: Credential;\n new(): Credential;\n};\n\ninterface CredentialsContainer {\n create(options?: CredentialCreationOptions): Promise<Credential | null>;\n get(options?: CredentialRequestOptions): Promise<Credential | null>;\n preventSilentAccess(): Promise<void>;\n store(credential: Credential): Promise<Credential>;\n}\n\ndeclare var CredentialsContainer: {\n prototype: CredentialsContainer;\n new(): CredentialsContainer;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\n/** The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm. */\ninterface CryptoKeyPair {\n privateKey: CryptoKey;\n publicKey: CryptoKey;\n}\n\ndeclare var CryptoKeyPair: {\n prototype: CryptoKeyPair;\n new(): CryptoKeyPair;\n};\n\ninterface CustomElementRegistry {\n define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;\n get(name: string): any;\n upgrade(root: Node): void;\n whenDefined(name: string): Promise<void>;\n}\n\ndeclare var CustomElementRegistry: {\n prototype: CustomElementRegistry;\n new(): CustomElementRegistry;\n};\n\ninterface CustomEvent<T = any> extends Event {\n /**\n * Returns any custom data event was created with. Typically used for synthetic events.\n */\n readonly detail: T;\n initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new<T>(typeArg: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An error object that contains an error name. */\ninterface DOMError {\n readonly name: string;\n toString(): string;\n}\n\ndeclare var DOMError: {\n prototype: DOMError;\n new(): DOMError;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\n/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */\ninterface DOMImplementation {\n createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document;\n createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;\n createHTMLDocument(title?: string): Document;\n /** @deprecated */\n hasFeature(...args: any[]): true;\n}\n\ndeclare var DOMImplementation: {\n prototype: DOMImplementation;\n new(): DOMImplementation;\n};\n\ninterface DOML2DeprecatedColorProperty {\n color: string;\n}\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n setMatrixValue(transformList: string): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ntype SVGMatrix = DOMMatrix;\ndeclare var SVGMatrix: typeof DOMMatrix;\n\ntype WebKitCSSMatrix = DOMMatrix;\ndeclare var WebKitCSSMatrix: typeof DOMMatrix;\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n toString(): string;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n toString(): string;\n};\n\n/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */\ninterface DOMParser {\n /**\n * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser).\n * \n * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error.\n * \n * Note that script elements are not evaluated during parsing, and the resulting document\'s encoding will always be UTF-8.\n * \n * Values other than the above for type will cause a TypeError exception to be thrown.\n */\n parseFromString(string: string, type: DOMParserSupportedType): Document;\n}\n\ndeclare var DOMParser: {\n prototype: DOMParser;\n new(): DOMParser;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ntype SVGPoint = DOMPoint;\ndeclare var SVGPoint: typeof DOMPoint;\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ntype SVGRect = DOMRect;\ndeclare var SVGRect: typeof DOMRect;\n\ninterface DOMRectList {\n readonly length: number;\n item(index: number): DOMRect | null;\n [index: number]: DOMRect;\n}\n\ndeclare var DOMRectList: {\n prototype: DOMRectList;\n new(): DOMRectList;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\ninterface DOMSettableTokenList extends DOMTokenList {\n value: string;\n}\n\ndeclare var DOMSettableTokenList: {\n prototype: DOMSettableTokenList;\n new(): DOMSettableTokenList;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /**\n * Returns the number of strings in strings.\n */\n readonly length: number;\n /**\n * Returns true if strings contains string, and false otherwise.\n */\n contains(string: string): boolean;\n /**\n * Returns the string with index index from strings.\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\n/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */\ninterface DOMStringMap {\n [name: string]: string | undefined;\n}\n\ndeclare var DOMStringMap: {\n prototype: DOMStringMap;\n new(): DOMStringMap;\n};\n\n/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */\ninterface DOMTokenList {\n /**\n * Returns the number of tokens.\n */\n readonly length: number;\n /**\n * Returns the associated set as string.\n * \n * Can be set, to change the associated attribute.\n */\n value: string;\n toString(): string;\n /**\n * Adds all arguments passed, except those already present.\n * \n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n * \n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n add(...tokens: string[]): void;\n /**\n * Returns true if token is present, and false otherwise.\n */\n contains(token: string): boolean;\n /**\n * Returns the token with index index.\n */\n item(index: number): string | null;\n /**\n * Removes arguments passed, if they are present.\n * \n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n * \n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n remove(...tokens: string[]): void;\n /**\n * Replaces token with newToken.\n * \n * Returns true if token was replaced with newToken, and false otherwise.\n * \n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n * \n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n replace(oldToken: string, newToken: string): void;\n /**\n * Returns true if token is in the associated attribute\'s supported tokens. Returns false otherwise.\n * \n * Throws a TypeError if the associated attribute has no supported tokens defined.\n */\n supports(token: string): boolean;\n /**\n * If force is not given, "toggles" token, removing it if it\'s present and adding it if it\'s not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()).\n * \n * Returns true if token is now present, and false otherwise.\n * \n * Throws a "SyntaxError" DOMException if token is empty.\n * \n * Throws an "InvalidCharacterError" DOMException if token contains any spaces.\n */\n toggle(token: string, force?: boolean): boolean;\n forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void;\n [index: number]: string;\n}\n\ndeclare var DOMTokenList: {\n prototype: DOMTokenList;\n new(): DOMTokenList;\n};\n\ninterface DataCue extends TextTrackCue {\n data: ArrayBuffer;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var DataCue: {\n prototype: DataCue;\n new(): DataCue;\n};\n\n/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */\ninterface DataTransfer {\n /**\n * Returns the kind of operation that is currently selected. If the kind of operation isn\'t one of those that is allowed by the effectAllowed attribute, then the operation will fail.\n * \n * Can be set, to change the selected operation.\n * \n * The possible values are "none", "copy", "link", and "move".\n */\n dropEffect: string;\n /**\n * Returns the kinds of operations that are to be allowed.\n * \n * Can be set (during the dragstart event), to change the allowed operations.\n * \n * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized",\n */\n effectAllowed: string;\n /**\n * Returns a FileList of the files being dragged, if any.\n */\n readonly files: FileList;\n /**\n * Returns a DataTransferItemList object, with the drag data.\n */\n readonly items: DataTransferItemList;\n /**\n * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files".\n */\n readonly types: ReadonlyArray<string>;\n /**\n * Removes the data of the specified formats. Removes all data if the argument is omitted.\n */\n clearData(format?: string): void;\n /**\n * Returns the specified data. If there is no such data, returns the empty string.\n */\n getData(format: string): string;\n /**\n * Adds the specified data.\n */\n setData(format: string, data: string): void;\n /**\n * Uses the given element to update the drag feedback, replacing any previously specified feedback.\n */\n setDragImage(image: Element, x: number, y: number): void;\n}\n\ndeclare var DataTransfer: {\n prototype: DataTransfer;\n new(): DataTransfer;\n};\n\n/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */\ninterface DataTransferItem {\n /**\n * Returns the drag data item kind, one of: "string", "file".\n */\n readonly kind: string;\n /**\n * Returns the drag data item type string.\n */\n readonly type: string;\n /**\n * Returns a File object, if the drag data item kind is File.\n */\n getAsFile(): File | null;\n /**\n * Invokes the callback with the string data as the argument, if the drag data item kind is text.\n */\n getAsString(callback: FunctionStringCallback | null): void;\n webkitGetAsEntry(): any;\n}\n\ndeclare var DataTransferItem: {\n prototype: DataTransferItem;\n new(): DataTransferItem;\n};\n\n/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */\ninterface DataTransferItemList {\n /**\n * Returns the number of items in the drag data store.\n */\n readonly length: number;\n /**\n * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.\n */\n add(data: string, type: string): DataTransferItem | null;\n add(data: File): DataTransferItem | null;\n /**\n * Removes all the entries in the drag data store.\n */\n clear(): void;\n item(index: number): DataTransferItem;\n /**\n * Removes the indexth entry in the drag data store.\n */\n remove(index: number): void;\n [name: number]: DataTransferItem;\n}\n\ndeclare var DataTransferItemList: {\n prototype: DataTransferItemList;\n new(): DataTransferItemList;\n};\n\ninterface DeferredPermissionRequest {\n readonly id: number;\n readonly type: MSWebViewPermissionType;\n readonly uri: string;\n allow(): void;\n deny(): void;\n}\n\ndeclare var DeferredPermissionRequest: {\n prototype: DeferredPermissionRequest;\n new(): DeferredPermissionRequest;\n};\n\n/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */\ninterface DelayNode extends AudioNode {\n readonly delayTime: AudioParam;\n}\n\ndeclare var DelayNode: {\n prototype: DelayNode;\n new(context: BaseAudioContext, options?: DelayOptions): DelayNode;\n};\n\n/** Provides information about the amount of acceleration the device is experiencing along all three axes. */\ninterface DeviceAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\ndeclare var DeviceAcceleration: {\n prototype: DeviceAcceleration;\n new(): DeviceAcceleration;\n};\n\n/** The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen\'s brightness based on the current ambient light level in order to save energy or provide better readability. */\ninterface DeviceLightEvent extends Event {\n readonly value: number;\n}\n\ndeclare var DeviceLightEvent: {\n prototype: DeviceLightEvent;\n new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent;\n};\n\n/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device\'s position and orientation. */\ninterface DeviceMotionEvent extends Event {\n readonly acceleration: DeviceMotionEventAcceleration | null;\n readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;\n readonly interval: number;\n readonly rotationRate: DeviceMotionEventRotationRate | null;\n}\n\ndeclare var DeviceMotionEvent: {\n prototype: DeviceMotionEvent;\n new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;\n requestPermission(): Promise<PermissionState>;\n};\n\ninterface DeviceMotionEventAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\ninterface DeviceMotionEventRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\n/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */\ninterface DeviceOrientationEvent extends Event {\n readonly absolute: boolean;\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\ndeclare var DeviceOrientationEvent: {\n prototype: DeviceOrientationEvent;\n new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;\n requestPermission(): Promise<PermissionState>;\n};\n\n/** Provides information about the rate at which the device is rotating around all three axes. */\ninterface DeviceRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\ndeclare var DeviceRotationRate: {\n prototype: DeviceRotationRate;\n new(): DeviceRotationRate;\n};\n\ninterface DhImportKeyParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyAlgorithm extends KeyAlgorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface DhKeyGenParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DocumentEventMap extends GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n "pointerlockchange": Event;\n "pointerlockerror": Event;\n "readystatechange": Event;\n "visibilitychange": Event;\n}\n\n/** Any web page loaded in the browser and serves as an entry point into the web page\'s content, which is the DOM tree. */\ninterface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n /**\n * Sets or gets the URL for the current document.\n */\n readonly URL: string;\n /**\n * Sets or gets the color of all active links in the document.\n */\n /** @deprecated */\n alinkColor: string;\n /**\n * Returns a reference to the collection of elements contained by the object.\n */\n /** @deprecated */\n readonly all: HTMLAllCollection;\n /**\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\n */\n /** @deprecated */\n readonly anchors: HTMLCollectionOf<HTMLAnchorElement>;\n /**\n * Retrieves a collection of all applet objects in the document.\n */\n /** @deprecated */\n readonly applets: HTMLCollectionOf<HTMLAppletElement>;\n /**\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\n */\n /** @deprecated */\n bgColor: string;\n /**\n * Specifies the beginning and end of the document body.\n */\n body: HTMLElement;\n /**\n * Returns document\'s encoding.\n */\n readonly characterSet: string;\n /**\n * Gets or sets the character set used to encode the object.\n */\n readonly charset: string;\n /**\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\n */\n readonly compatMode: string;\n /**\n * Returns document\'s content type.\n */\n readonly contentType: string;\n /**\n * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can\'t be applied to this resource, the empty string will be returned.\n * \n * Can be set, to add a new cookie to the element\'s set of HTTP cookies.\n * \n * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting.\n */\n cookie: string;\n /**\n * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.\n * \n * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.\n */\n readonly currentScript: HTMLOrSVGScriptElement | null;\n readonly defaultView: (WindowProxy & typeof globalThis) | null;\n /**\n * Sets or gets a value that indicates whether the document can be edited.\n */\n designMode: string;\n /**\n * Sets or retrieves a value that indicates the reading order of the object.\n */\n dir: string;\n /**\n * Gets an object representing the document type declaration associated with the current document.\n */\n readonly doctype: DocumentType | null;\n /**\n * Gets a reference to the root node of the document.\n */\n readonly documentElement: HTMLElement;\n /**\n * Returns document\'s URL.\n */\n readonly documentURI: string;\n /**\n * Sets or gets the security domain of the document.\n */\n domain: string;\n /**\n * Retrieves a collection of all embed objects in the document.\n */\n readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Sets or gets the foreground (text) color of the document.\n */\n /** @deprecated */\n fgColor: string;\n /**\n * Retrieves a collection, in source order, of all form objects in the document.\n */\n readonly forms: HTMLCollectionOf<HTMLFormElement>;\n /** @deprecated */\n readonly fullscreen: boolean;\n /**\n * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.\n */\n readonly fullscreenEnabled: boolean;\n /**\n * Returns the head element.\n */\n readonly head: HTMLHeadElement;\n readonly hidden: boolean;\n /**\n * Retrieves a collection, in source order, of img objects in the document.\n */\n readonly images: HTMLCollectionOf<HTMLImageElement>;\n /**\n * Gets the implementation object of the current document.\n */\n readonly implementation: DOMImplementation;\n /**\n * Returns the character encoding used to create the webpage that is loaded into the document object.\n */\n readonly inputEncoding: string;\n /**\n * Gets the date that the page was last modified, if the page supplies one.\n */\n readonly lastModified: string;\n /**\n * Sets or gets the color of the document links.\n */\n /** @deprecated */\n linkColor: string;\n /**\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\n */\n readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;\n /**\n * Contains information about the current URL.\n */\n location: Location;\n onfullscreenchange: ((this: Document, ev: Event) => any) | null;\n onfullscreenerror: ((this: Document, ev: Event) => any) | null;\n onpointerlockchange: ((this: Document, ev: Event) => any) | null;\n onpointerlockerror: ((this: Document, ev: Event) => any) | null;\n /**\n * Fires when the state of the object has changed.\n * @param ev The event\n */\n onreadystatechange: ((this: Document, ev: Event) => any) | null;\n onvisibilitychange: ((this: Document, ev: Event) => any) | null;\n readonly ownerDocument: null;\n /**\n * Return an HTMLCollection of the embed elements in the Document.\n */\n readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Retrieves a value that indicates the current state of the object.\n */\n readonly readyState: DocumentReadyState;\n /**\n * Gets the URL of the location that referred the user to the current page.\n */\n readonly referrer: string;\n /**\n * Retrieves a collection of all script objects in the document.\n */\n readonly scripts: HTMLCollectionOf<HTMLScriptElement>;\n readonly scrollingElement: Element | null;\n readonly timeline: DocumentTimeline;\n /**\n * Contains the title of the document.\n */\n title: string;\n readonly visibilityState: VisibilityState;\n /**\n * Sets or gets the color of the links that the user has visited.\n */\n /** @deprecated */\n vlinkColor: string;\n /**\n * Moves node from another document and returns it.\n * \n * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException.\n */\n adoptNode<T extends Node>(source: T): T;\n /** @deprecated */\n captureEvents(): void;\n caretPositionFromPoint(x: number, y: number): CaretPosition | null;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range;\n /** @deprecated */\n clear(): void;\n /**\n * Closes an output stream and forces the sent data to display.\n */\n close(): void;\n /**\n * Creates an attribute object with a specified name.\n * @param name String that sets the attribute object\'s name.\n */\n createAttribute(localName: string): Attr;\n createAttributeNS(namespace: string | null, qualifiedName: string): Attr;\n /**\n * Returns a CDATASection node whose data is data.\n */\n createCDATASection(data: string): CDATASection;\n /**\n * Creates a comment object with the specified data.\n * @param data Sets the comment object\'s data.\n */\n createComment(data: string): Comment;\n /**\n * Creates a new document.\n */\n createDocumentFragment(): DocumentFragment;\n /**\n * Creates an instance of the element for the specified tag.\n * @param tagName The name of an element.\n */\n createElement<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];\n /** @deprecated */\n createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];\n createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;\n /**\n * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName.\n * \n * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.\n * \n * If one of the following conditions is true a "NamespaceError" DOMException will be thrown:\n * \n * localName does not match the QName production.\n * Namespace prefix is not null and namespace is the empty string.\n * Namespace prefix is "xml" and namespace is not the XML namespace.\n * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.\n * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".\n * \n * When supplied, options\'s is can be used to create a customized built-in element.\n */\n createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;\n createElementNS<K extends keyof SVGElementTagNameMap>(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K];\n createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement;\n createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;\n createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;\n createEvent(eventInterface: "AnimationEvent"): AnimationEvent;\n createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;\n createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;\n createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;\n createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;\n createEvent(eventInterface: "CloseEvent"): CloseEvent;\n createEvent(eventInterface: "CompositionEvent"): CompositionEvent;\n createEvent(eventInterface: "CustomEvent"): CustomEvent;\n createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;\n createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;\n createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;\n createEvent(eventInterface: "DragEvent"): DragEvent;\n createEvent(eventInterface: "ErrorEvent"): ErrorEvent;\n createEvent(eventInterface: "Event"): Event;\n createEvent(eventInterface: "Events"): Event;\n createEvent(eventInterface: "FocusEvent"): FocusEvent;\n createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent;\n createEvent(eventInterface: "GamepadEvent"): GamepadEvent;\n createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;\n createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;\n createEvent(eventInterface: "InputEvent"): InputEvent;\n createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;\n createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;\n createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;\n createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;\n createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;\n createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\n createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent;\n createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent;\n createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;\n createEvent(eventInterface: "MessageEvent"): MessageEvent;\n createEvent(eventInterface: "MouseEvent"): MouseEvent;\n createEvent(eventInterface: "MouseEvents"): MouseEvent;\n createEvent(eventInterface: "MutationEvent"): MutationEvent;\n createEvent(eventInterface: "MutationEvents"): MutationEvent;\n createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "OverflowEvent"): OverflowEvent;\n createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;\n createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;\n createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;\n createEvent(eventInterface: "PointerEvent"): PointerEvent;\n createEvent(eventInterface: "PopStateEvent"): PopStateEvent;\n createEvent(eventInterface: "ProgressEvent"): ProgressEvent;\n createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;\n createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;\n createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;\n createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent;\n createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent;\n createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent;\n createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent;\n createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;\n createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;\n createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent;\n createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;\n createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;\n createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;\n createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;\n createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;\n createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;\n createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;\n createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;\n createEvent(eventInterface: "StorageEvent"): StorageEvent;\n createEvent(eventInterface: "TextEvent"): TextEvent;\n createEvent(eventInterface: "TouchEvent"): TouchEvent;\n createEvent(eventInterface: "TrackEvent"): TrackEvent;\n createEvent(eventInterface: "TransitionEvent"): TransitionEvent;\n createEvent(eventInterface: "UIEvent"): UIEvent;\n createEvent(eventInterface: "UIEvents"): UIEvent;\n createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent;\n createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ;\n createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;\n createEvent(eventInterface: "WheelEvent"): WheelEvent;\n createEvent(eventInterface: string): Event;\n /**\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\n */\n createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;\n /**\n * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown.\n */\n createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n /**\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\n */\n createRange(): Range;\n /**\n * Creates a text string from the specified value.\n * @param data String that specifies the nodeValue property of the text node.\n */\n createTextNode(data: string): Text;\n /**\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\n * @param filter A custom NodeFilter function to use.\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\n */\n createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker;\n /** @deprecated */\n createTreeWalker(root: Node, whatToShow: number, filter: NodeFilter | null, entityReferenceExpansion?: boolean): TreeWalker;\n /**\n * Returns the element for the specified x coordinate and the specified y coordinate.\n * @param x The x-offset\n * @param y The y-offset\n */\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n /**\n * Executes a command on the current document, current selection, or the given range.\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\n * @param showUI Display the user interface, defaults to false.\n * @param value Value to assign.\n */\n execCommand(commandId: string, showUI?: boolean, value?: string): boolean;\n /**\n * Stops document\'s fullscreen element from being displayed fullscreen and resolves promise when done.\n */\n exitFullscreen(): Promise<void>;\n exitPointerLock(): void;\n getAnimations(): Animation[];\n /**\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\n * @param elementId String that specifies the ID value. Case-insensitive.\n */\n getElementById(elementId: string): HTMLElement | null;\n /**\n * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n /**\n * Gets a collection of objects based on the value of the NAME or ID attribute.\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\n */\n getElementsByName(elementName: string): NodeListOf<HTMLElement>;\n /**\n * Retrieves a collection of objects based on the specified element name.\n * @param name Specifies the name of an element.\n */\n getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n /**\n * If namespace and localName are "*" returns a HTMLCollection of all descendant elements.\n * \n * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName.\n * \n * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace.\n * \n * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.\n */\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;\n getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;\n /**\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\n */\n getSelection(): Selection | null;\n /**\n * Gets a value indicating whether the object currently has focus.\n */\n hasFocus(): boolean;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n * \n * If node is a document or a shadow root, throws a "NotSupportedError" DOMException.\n */\n importNode<T extends Node>(importedNode: T, deep: boolean): T;\n /**\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\n * @param url Specifies a MIME type for the document.\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\n */\n open(url?: string, name?: string, features?: string, replace?: boolean): Document;\n /**\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\n * @param commandId Specifies a command identifier.\n */\n queryCommandEnabled(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandIndeterm(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates the current state of the command.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandState(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\n * @param commandId Specifies a command identifier.\n */\n queryCommandSupported(commandId: string): boolean;\n /**\n * Returns the current value of the document, range, or current selection for the given command.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandValue(commandId: string): string;\n /** @deprecated */\n releaseEvents(): void;\n /**\n * Writes one or more HTML expressions to a document in the specified window.\n * @param content Specifies the text and HTML tags to write.\n */\n write(...text: string[]): void;\n /**\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\n * @param content The text and HTML tags to write.\n */\n writeln(...text: string[]): void;\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Document: {\n prototype: Document;\n new(): Document;\n};\n\ninterface DocumentAndElementEventHandlersEventMap {\n "copy": ClipboardEvent;\n "cut": ClipboardEvent;\n "paste": ClipboardEvent;\n}\n\ninterface DocumentAndElementEventHandlers {\n oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface DocumentEvent {\n createEvent(eventInterface: "AnimationEvent"): AnimationEvent;\n createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;\n createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;\n createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;\n createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;\n createEvent(eventInterface: "CloseEvent"): CloseEvent;\n createEvent(eventInterface: "CompositionEvent"): CompositionEvent;\n createEvent(eventInterface: "CustomEvent"): CustomEvent;\n createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;\n createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;\n createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;\n createEvent(eventInterface: "DragEvent"): DragEvent;\n createEvent(eventInterface: "ErrorEvent"): ErrorEvent;\n createEvent(eventInterface: "Event"): Event;\n createEvent(eventInterface: "Events"): Event;\n createEvent(eventInterface: "FocusEvent"): FocusEvent;\n createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent;\n createEvent(eventInterface: "GamepadEvent"): GamepadEvent;\n createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;\n createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;\n createEvent(eventInterface: "InputEvent"): InputEvent;\n createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;\n createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;\n createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;\n createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;\n createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;\n createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\n createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent;\n createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent;\n createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;\n createEvent(eventInterface: "MessageEvent"): MessageEvent;\n createEvent(eventInterface: "MouseEvent"): MouseEvent;\n createEvent(eventInterface: "MouseEvents"): MouseEvent;\n createEvent(eventInterface: "MutationEvent"): MutationEvent;\n createEvent(eventInterface: "MutationEvents"): MutationEvent;\n createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "OverflowEvent"): OverflowEvent;\n createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;\n createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;\n createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;\n createEvent(eventInterface: "PointerEvent"): PointerEvent;\n createEvent(eventInterface: "PopStateEvent"): PopStateEvent;\n createEvent(eventInterface: "ProgressEvent"): ProgressEvent;\n createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;\n createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;\n createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;\n createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent;\n createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent;\n createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent;\n createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent;\n createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;\n createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;\n createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent;\n createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;\n createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;\n createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;\n createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;\n createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;\n createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;\n createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;\n createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;\n createEvent(eventInterface: "StorageEvent"): StorageEvent;\n createEvent(eventInterface: "TextEvent"): TextEvent;\n createEvent(eventInterface: "TouchEvent"): TouchEvent;\n createEvent(eventInterface: "TrackEvent"): TrackEvent;\n createEvent(eventInterface: "TransitionEvent"): TransitionEvent;\n createEvent(eventInterface: "UIEvent"): UIEvent;\n createEvent(eventInterface: "UIEvents"): UIEvent;\n createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent;\n createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ;\n createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;\n createEvent(eventInterface: "WheelEvent"): WheelEvent;\n createEvent(eventInterface: string): Event;\n}\n\n/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn\'t part of the active document tree structure, changes made to the fragment don\'t affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */\ninterface DocumentFragment extends Node, NonElementParentNode, ParentNode {\n readonly ownerDocument: Document;\n getElementById(elementId: string): HTMLElement | null;\n}\n\ndeclare var DocumentFragment: {\n prototype: DocumentFragment;\n new(): DocumentFragment;\n};\n\ninterface DocumentOrShadowRoot {\n readonly activeElement: Element | null;\n /**\n * Returns document\'s fullscreen element.\n */\n readonly fullscreenElement: Element | null;\n readonly pointerLockElement: Element | null;\n /**\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\n */\n readonly styleSheets: StyleSheetList;\n caretPositionFromPoint(x: number, y: number): CaretPosition | null;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range;\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n getSelection(): Selection | null;\n}\n\ninterface DocumentTimeline extends AnimationTimeline {\n}\n\ndeclare var DocumentTimeline: {\n prototype: DocumentTimeline;\n new(options?: DocumentTimelineOptions): DocumentTimeline;\n};\n\n/** A Node containing a doctype. */\ninterface DocumentType extends Node, ChildNode {\n readonly name: string;\n readonly ownerDocument: Document;\n readonly publicId: string;\n readonly systemId: string;\n}\n\ndeclare var DocumentType: {\n prototype: DocumentType;\n new(): DocumentType;\n};\n\n/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */\ninterface DragEvent extends MouseEvent {\n /**\n * Returns the DataTransfer object for the event.\n */\n readonly dataTransfer: DataTransfer | null;\n}\n\ndeclare var DragEvent: {\n prototype: DragEvent;\n new(type: string, eventInitDict?: DragEventInit): DragEvent;\n};\n\n/** Inherits properties from its parent, AudioNode. */\ninterface DynamicsCompressorNode extends AudioNode {\n readonly attack: AudioParam;\n readonly knee: AudioParam;\n readonly ratio: AudioParam;\n readonly reduction: number;\n readonly release: AudioParam;\n readonly threshold: AudioParam;\n}\n\ndeclare var DynamicsCompressorNode: {\n prototype: DynamicsCompressorNode;\n new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode;\n};\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\n/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\ninterface ElementEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n}\n\n/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */\ninterface Element extends Node, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n readonly attributes: NamedNodeMap;\n /**\n * Allows for manipulation of element\'s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.\n */\n readonly classList: DOMTokenList;\n /**\n * Returns the value of element\'s class content attribute. Can be set to change it.\n */\n className: string;\n readonly clientHeight: number;\n readonly clientLeft: number;\n readonly clientTop: number;\n readonly clientWidth: number;\n /**\n * Returns the value of element\'s id content attribute. Can be set to change it.\n */\n id: string;\n /**\n * Returns the local name.\n */\n readonly localName: string;\n /**\n * Returns the namespace.\n */\n readonly namespaceURI: string | null;\n onfullscreenchange: ((this: Element, ev: Event) => any) | null;\n onfullscreenerror: ((this: Element, ev: Event) => any) | null;\n outerHTML: string;\n readonly ownerDocument: Document;\n /**\n * Returns the namespace prefix.\n */\n readonly prefix: string | null;\n readonly scrollHeight: number;\n scrollLeft: number;\n scrollTop: number;\n readonly scrollWidth: number;\n /**\n * Returns element\'s shadow root, if any, and if shadow root\'s mode is "open", and null otherwise.\n */\n readonly shadowRoot: ShadowRoot | null;\n /**\n * Returns the value of element\'s slot content attribute. Can be set to change it.\n */\n slot: string;\n /**\n * Returns the HTML-uppercased qualified name.\n */\n readonly tagName: string;\n /**\n * Creates a shadow root for element and returns it.\n */\n attachShadow(init: ShadowRootInit): ShadowRoot;\n /**\n * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.\n */\n closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;\n closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;\n closest<E extends Element = Element>(selector: string): E | null;\n /**\n * Returns element\'s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.\n */\n getAttribute(qualifiedName: string): string | null;\n /**\n * Returns element\'s attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.\n */\n getAttributeNS(namespace: string | null, localName: string): string | null;\n /**\n * Returns the qualified names of all element\'s attributes. Can contain duplicates.\n */\n getAttributeNames(): string[];\n getAttributeNode(name: string): Attr | null;\n getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n /**\n * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;\n getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;\n /**\n * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.\n */\n hasAttribute(qualifiedName: string): boolean;\n /**\n * Returns true if element has an attribute whose namespace is namespace and local name is localName.\n */\n hasAttributeNS(namespace: string | null, localName: string): boolean;\n /**\n * Returns true if element has attributes, and false otherwise.\n */\n hasAttributes(): boolean;\n hasPointerCapture(pointerId: number): boolean;\n insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null;\n insertAdjacentHTML(where: InsertPosition, html: string): void;\n insertAdjacentText(where: InsertPosition, text: string): void;\n /**\n * Returns true if matching selectors against element\'s root yields element, and false otherwise.\n */\n matches(selectors: string): boolean;\n msGetRegionContent(): any;\n releasePointerCapture(pointerId: number): void;\n /**\n * Removes element\'s first attribute whose qualified name is qualifiedName.\n */\n removeAttribute(qualifiedName: string): void;\n /**\n * Removes element\'s attribute whose namespace is namespace and local name is localName.\n */\n removeAttributeNS(namespace: string | null, localName: string): void;\n removeAttributeNode(attr: Attr): Attr;\n /**\n * Displays element fullscreen and resolves promise when done.\n * \n * When supplied, options\'s navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application\'s. The default value "auto" indicates no application preference.\n */\n requestFullscreen(options?: FullscreenOptions): Promise<void>;\n requestPointerLock(): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /**\n * Sets the value of element\'s first attribute whose qualified name is qualifiedName to value.\n */\n setAttribute(qualifiedName: string, value: string): void;\n /**\n * Sets the value of element\'s attribute whose namespace is namespace and local name is localName to value.\n */\n setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;\n setAttributeNode(attr: Attr): Attr | null;\n setAttributeNodeNS(attr: Attr): Attr | null;\n setPointerCapture(pointerId: number): void;\n /**\n * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.\n * \n * Returns true if qualifiedName is now present, and false otherwise.\n */\n toggleAttribute(qualifiedName: string, force?: boolean): boolean;\n webkitMatchesSelector(selectors: string): boolean;\n addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Element: {\n prototype: Element;\n new(): Element;\n};\n\ninterface ElementCSSInlineStyle {\n readonly style: CSSStyleDeclaration;\n}\n\ninterface ElementContentEditable {\n contentEditable: string;\n enterKeyHint: string;\n inputMode: string;\n readonly isContentEditable: boolean;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /**\n * Returns true or false depending on how event was initialized. True if event goes through its target\'s ancestors in reverse tree order, and false otherwise.\n */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /**\n * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.\n */\n readonly cancelable: boolean;\n /**\n * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.\n */\n readonly composed: boolean;\n /**\n * Returns the object whose event listener\'s callback is currently being invoked.\n */\n readonly currentTarget: EventTarget | null;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.\n */\n readonly defaultPrevented: boolean;\n /**\n * Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.\n */\n readonly eventPhase: number;\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n readonly isTrusted: boolean;\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n readonly target: EventTarget | null;\n /**\n * Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin.\n */\n readonly timeStamp: number;\n /**\n * Returns the type of event, e.g. "click", "hashchange", or "submit".\n */\n readonly type: string;\n /**\n * Returns the invocation target objects of event\'s path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root\'s mode is "closed" that are not reachable from event\'s currentTarget.\n */\n composedPath(): EventTarget[];\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.\n */\n preventDefault(): void;\n /**\n * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.\n */\n stopImmediatePropagation(): void;\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.\n */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListenerObject {\n handleEvent(evt: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * Returns the state of this EventSource object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL providing the event stream.\n */\n readonly url: string;\n /**\n * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.\n */\n readonly withCredentials: boolean;\n /**\n * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.\n */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.\n * \n * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options\'s capture.\n * \n * When set to true, options\'s capture prevents callback from being invoked when the event\'s eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event\'s eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event\'s eventPhase attribute value is AT_TARGET.\n * \n * When set to true, options\'s passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.\n * \n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n * \n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;\n /**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\n dispatchEvent(event: Event): boolean;\n /**\n * Removes the event listener in target\'s event listener list with the same type, callback, and options.\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\ninterface ExtensionScriptApis {\n extensionIdToShortId(extensionId: string): number;\n fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void;\n genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void;\n genericSynchronousFunction(functionId: number, parameters?: string): string;\n genericWebRuntimeCallout(to: any, from: any, payload: string): void;\n getExtensionId(): string;\n registerGenericFunctionCallbackHandler(callbackHandler: Function): void;\n registerGenericPersistentCallbackHandler(callbackHandler: Function): void;\n registerWebRuntimeCallbackHandler(handler: Function): any;\n}\n\ndeclare var ExtensionScriptApis: {\n prototype: ExtensionScriptApis;\n new(): ExtensionScriptApis;\n};\n\ninterface External {\n /** @deprecated */\n AddSearchProvider(): void;\n /** @deprecated */\n IsSearchProviderInstalled(): void;\n}\n\ndeclare var External: {\n prototype: External;\n new(): External;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It\'s also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent<FileReader>;\n "error": ProgressEvent<FileReader>;\n "load": ProgressEvent<FileReader>;\n "loadend": ProgressEvent<FileReader>;\n "loadstart": ProgressEvent<FileReader>;\n "progress": ProgressEvent<FileReader>;\n}\n\n/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user\'s computer, using File or Blob objects to specify the file or data to read. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\n/** Focus-related events like focus, blur, focusin, or focusout. */\ninterface FocusEvent extends UIEvent {\n readonly relatedTarget: EventTarget | null;\n}\n\ndeclare var FocusEvent: {\n prototype: FocusEvent;\n new(type: string, eventInitDict?: FocusEventInit): FocusEvent;\n};\n\ninterface FocusNavigationEvent extends Event {\n readonly navigationReason: NavigationReason;\n readonly originHeight: number;\n readonly originLeft: number;\n readonly originTop: number;\n readonly originWidth: number;\n requestFocus(): void;\n}\n\ndeclare var FocusNavigationEvent: {\n prototype: FocusNavigationEvent;\n new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent;\n};\n\n/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(form?: HTMLFormElement): FormData;\n};\n\n/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */\ninterface GainNode extends AudioNode {\n readonly gain: AudioParam;\n}\n\ndeclare var GainNode: {\n prototype: GainNode;\n new(context: BaseAudioContext, options?: GainOptions): GainNode;\n};\n\n/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */\ninterface Gamepad {\n readonly axes: ReadonlyArray<number>;\n readonly buttons: ReadonlyArray<GamepadButton>;\n readonly connected: boolean;\n readonly hand: GamepadHand;\n readonly hapticActuators: ReadonlyArray<GamepadHapticActuator>;\n readonly id: string;\n readonly index: number;\n readonly mapping: GamepadMappingType;\n readonly pose: GamepadPose | null;\n readonly timestamp: number;\n}\n\ndeclare var Gamepad: {\n prototype: Gamepad;\n new(): Gamepad;\n};\n\n/** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */\ninterface GamepadButton {\n readonly pressed: boolean;\n readonly touched: boolean;\n readonly value: number;\n}\n\ndeclare var GamepadButton: {\n prototype: GamepadButton;\n new(): GamepadButton;\n};\n\n/** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */\ninterface GamepadEvent extends Event {\n readonly gamepad: Gamepad;\n}\n\ndeclare var GamepadEvent: {\n prototype: GamepadEvent;\n new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;\n};\n\n/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */\ninterface GamepadHapticActuator {\n readonly type: GamepadHapticActuatorType;\n pulse(value: number, duration: number): Promise<boolean>;\n}\n\ndeclare var GamepadHapticActuator: {\n prototype: GamepadHapticActuator;\n new(): GamepadHapticActuator;\n};\n\n/** This Gamepad API interface represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */\ninterface GamepadPose {\n readonly angularAcceleration: Float32Array | null;\n readonly angularVelocity: Float32Array | null;\n readonly hasOrientation: boolean;\n readonly hasPosition: boolean;\n readonly linearAcceleration: Float32Array | null;\n readonly linearVelocity: Float32Array | null;\n readonly orientation: Float32Array | null;\n readonly position: Float32Array | null;\n}\n\ndeclare var GamepadPose: {\n prototype: GamepadPose;\n new(): GamepadPose;\n};\n\ninterface GenericTransformStream {\n /**\n * Returns a readable stream whose chunks are strings resulting from running encoding\'s decoder on the chunks written to writable.\n */\n readonly readable: ReadableStream;\n /**\n * Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding\'s decoder before making them available to readable.\n * \n * Typically this will be used via the pipeThrough() method on a ReadableStream source.\n * \n * ```\n * var decoder = new TextDecoderStream(encoding);\n * byteReadable\n * .pipeThrough(decoder)\n * .pipeTo(textWritable);\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, both readable and writable will be errored with a TypeError.\n */\n readonly writable: WritableStream;\n}\n\n/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user\'s location. */\ninterface Geolocation {\n clearWatch(watchId: number): void;\n getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void;\n watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;\n}\n\ninterface GlobalEventHandlersEventMap {\n "abort": UIEvent;\n "animationcancel": AnimationEvent;\n "animationend": AnimationEvent;\n "animationiteration": AnimationEvent;\n "animationstart": AnimationEvent;\n "auxclick": MouseEvent;\n "blur": FocusEvent;\n "cancel": Event;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": MouseEvent;\n "close": Event;\n "contextmenu": MouseEvent;\n "cuechange": Event;\n "dblclick": MouseEvent;\n "drag": DragEvent;\n "dragend": DragEvent;\n "dragenter": DragEvent;\n "dragexit": Event;\n "dragleave": DragEvent;\n "dragover": DragEvent;\n "dragstart": DragEvent;\n "drop": DragEvent;\n "durationchange": Event;\n "emptied": Event;\n "ended": Event;\n "error": ErrorEvent;\n "focus": FocusEvent;\n "focusin": FocusEvent;\n "focusout": FocusEvent;\n "gotpointercapture": PointerEvent;\n "input": Event;\n "invalid": Event;\n "keydown": KeyboardEvent;\n "keypress": KeyboardEvent;\n "keyup": KeyboardEvent;\n "load": Event;\n "loadeddata": Event;\n "loadedmetadata": Event;\n "loadstart": Event;\n "lostpointercapture": PointerEvent;\n "mousedown": MouseEvent;\n "mouseenter": MouseEvent;\n "mouseleave": MouseEvent;\n "mousemove": MouseEvent;\n "mouseout": MouseEvent;\n "mouseover": MouseEvent;\n "mouseup": MouseEvent;\n "pause": Event;\n "play": Event;\n "playing": Event;\n "pointercancel": PointerEvent;\n "pointerdown": PointerEvent;\n "pointerenter": PointerEvent;\n "pointerleave": PointerEvent;\n "pointermove": PointerEvent;\n "pointerout": PointerEvent;\n "pointerover": PointerEvent;\n "pointerup": PointerEvent;\n "progress": ProgressEvent;\n "ratechange": Event;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "securitypolicyviolation": SecurityPolicyViolationEvent;\n "seeked": Event;\n "seeking": Event;\n "select": Event;\n "selectionchange": Event;\n "selectstart": Event;\n "stalled": Event;\n "submit": Event;\n "suspend": Event;\n "timeupdate": Event;\n "toggle": Event;\n "touchcancel": TouchEvent;\n "touchend": TouchEvent;\n "touchmove": TouchEvent;\n "touchstart": TouchEvent;\n "transitioncancel": TransitionEvent;\n "transitionend": TransitionEvent;\n "transitionrun": TransitionEvent;\n "transitionstart": TransitionEvent;\n "volumechange": Event;\n "waiting": Event;\n "wheel": WheelEvent;\n}\n\ninterface GlobalEventHandlers {\n /**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\n onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\n onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\n oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\n onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\n onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\n oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\n ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\n ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\n ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\n ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n ondragexit: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\n ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\n ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\n ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\n ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\n onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\n onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\n onerror: OnErrorEventHandler;\n /**\n * Fires when the object receives focus.\n * @param ev The event.\n */\n onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\n onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n */\n onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\n onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\n onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\n onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\n onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\n onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\n onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\n onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\n onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Occurs when playback is paused.\n * @param ev The event.\n */\n onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\n onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\n onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\n onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;\n /**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\n onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user resets a form.\n * @param ev The event.\n */\n onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n /**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\n onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;\n /**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\n onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\n onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the current selection changes.\n * @param ev The event.\n */\n onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\n onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\n onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\n ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\n onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\n onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;\n addEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface HTMLAllCollection {\n /**\n * Returns the number of elements in the collection.\n */\n readonly length: number;\n /**\n * Returns the item with index index from the collection (determined by tree order).\n */\n item(nameOrIndex?: string): HTMLCollection | Element | null;\n /**\n * Returns the item with ID or name name from the collection.\n * \n * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.\n * \n * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute.\n */\n namedItem(name: string): HTMLCollection | Element | null;\n [index: number]: Element;\n}\n\ndeclare var HTMLAllCollection: {\n prototype: HTMLAllCollection;\n new(): HTMLAllCollection;\n};\n\n/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */\ninterface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves the character set used to encode the object.\n */\n /** @deprecated */\n charset: string;\n /**\n * Sets or retrieves the coordinates of the object.\n */\n /** @deprecated */\n coords: string;\n download: string;\n /**\n * Sets or retrieves the language code of the object.\n */\n hreflang: string;\n /**\n * Sets or retrieves the shape of the object.\n */\n /** @deprecated */\n name: string;\n ping: string;\n referrerPolicy: string;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n /** @deprecated */\n rev: string;\n /**\n * Sets or retrieves the shape of the object.\n */\n /** @deprecated */\n shape: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAnchorElement: {\n prototype: HTMLAnchorElement;\n new(): HTMLAnchorElement;\n};\n\ninterface HTMLAppletElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n /** @deprecated */\n alt: string;\n /**\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\n */\n /** @deprecated */\n archive: string;\n /** @deprecated */\n code: string;\n /**\n * Sets or retrieves the URL of the component.\n */\n /** @deprecated */\n codeBase: string;\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the height of the object.\n */\n /** @deprecated */\n height: string;\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves the shape of the object.\n */\n /** @deprecated */\n name: string;\n /** @deprecated */\n object: string;\n /** @deprecated */\n vspace: number;\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAppletElement: {\n prototype: HTMLAppletElement;\n new(): HTMLAppletElement;\n};\n\n/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements. */\ninterface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Sets or retrieves the coordinates of the object.\n */\n coords: string;\n download: string;\n /**\n * Sets or gets whether clicks in this region cause action.\n */\n /** @deprecated */\n noHref: boolean;\n ping: string;\n referrerPolicy: string;\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the shape of the object.\n */\n shape: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAreaElement: {\n prototype: HTMLAreaElement;\n new(): HTMLAreaElement;\n};\n\n/** Provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface. */\ninterface HTMLAudioElement extends HTMLMediaElement {\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAudioElement: {\n prototype: HTMLAudioElement;\n new(): HTMLAudioElement;\n};\n\n/** A HTML line break element (<br>). It inherits from HTMLElement. */\ninterface HTMLBRElement extends HTMLElement {\n /**\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\n */\n /** @deprecated */\n clear: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBRElement: {\n prototype: HTMLBRElement;\n new(): HTMLBRElement;\n};\n\n/** Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. */\ninterface HTMLBaseElement extends HTMLElement {\n /**\n * Gets or sets the baseline URL on which relative links are based.\n */\n href: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseElement: {\n prototype: HTMLBaseElement;\n new(): HTMLBaseElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <basefont> elements. */\ninterface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty {\n /**\n * Sets or retrieves the current typeface family.\n */\n /** @deprecated */\n face: string;\n /**\n * Sets or retrieves the font size of the object.\n */\n /** @deprecated */\n size: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseFontElement: {\n prototype: HTMLBaseFontElement;\n new(): HTMLBaseFontElement;\n};\n\ninterface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n "orientationchange": Event;\n}\n\n/** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */\ninterface HTMLBodyElement extends HTMLElement, WindowEventHandlers {\n /** @deprecated */\n aLink: string;\n /** @deprecated */\n background: string;\n /** @deprecated */\n bgColor: string;\n /** @deprecated */\n link: string;\n /** @deprecated */\n onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;\n /** @deprecated */\n text: string;\n /** @deprecated */\n vLink: string;\n addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBodyElement: {\n prototype: HTMLBodyElement;\n new(): HTMLBodyElement;\n};\n\n/** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements. */\ninterface HTMLButtonElement extends HTMLElement {\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\n */\n formAction: string;\n /**\n * Used to override the encoding (formEnctype attribute) specified on the form element.\n */\n formEnctype: string;\n /**\n * Overrides the submit method attribute previously specified on a form element.\n */\n formMethod: string;\n /**\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.\n */\n formNoValidate: boolean;\n /**\n * Overrides the target attribute on a form element.\n */\n formTarget: string;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets the classification and default behavior of the button.\n */\n type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Sets or retrieves the default or selected value of the control.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLButtonElement: {\n prototype: HTMLButtonElement;\n new(): HTMLButtonElement;\n};\n\n/** Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface. */\ninterface HTMLCanvasElement extends HTMLElement {\n /**\n * Gets or sets the height of a canvas element on a document.\n */\n height: number;\n /**\n * Gets or sets the width of a canvas element on a document.\n */\n width: number;\n /**\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): CanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: string, options?: any): RenderingContext | null;\n toBlob(callback: BlobCallback, type?: string, quality?: any): void;\n /**\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\n */\n toDataURL(type?: string, quality?: any): string;\n transferControlToOffscreen(): OffscreenCanvas;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLCanvasElement: {\n prototype: HTMLCanvasElement;\n new(): HTMLCanvasElement;\n};\n\n/** A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list. */\ninterface HTMLCollectionBase {\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n readonly length: number;\n /**\n * Retrieves an object from various collections.\n */\n item(index: number): Element | null;\n [index: number]: Element;\n}\n\ninterface HTMLCollection extends HTMLCollectionBase {\n /**\n * Retrieves a select object or an object from an options collection.\n */\n namedItem(name: string): Element | null;\n}\n\ndeclare var HTMLCollection: {\n prototype: HTMLCollection;\n new(): HTMLCollection;\n};\n\ninterface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {\n item(index: number): T | null;\n namedItem(name: string): T | null;\n [index: number]: T;\n}\n\n/** Provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements. */\ninterface HTMLDListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDListElement: {\n prototype: HTMLDListElement;\n new(): HTMLDListElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements. */\ninterface HTMLDataElement extends HTMLElement {\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataElement: {\n prototype: HTMLDataElement;\n new(): HTMLDataElement;\n};\n\n/** Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content. */\ninterface HTMLDataListElement extends HTMLElement {\n readonly options: HTMLCollectionOf<HTMLOptionElement>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataListElement: {\n prototype: HTMLDataListElement;\n new(): HTMLDataListElement;\n};\n\ninterface HTMLDetailsElement extends HTMLElement {\n open: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDetailsElement: {\n prototype: HTMLDetailsElement;\n new(): HTMLDetailsElement;\n};\n\ninterface HTMLDialogElement extends HTMLElement {\n open: boolean;\n returnValue: string;\n close(returnValue?: string): void;\n show(): void;\n showModal(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDialogElement: {\n prototype: HTMLDialogElement;\n new(): HTMLDialogElement;\n};\n\ninterface HTMLDirectoryElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDirectoryElement: {\n prototype: HTMLDirectoryElement;\n new(): HTMLDirectoryElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements. */\ninterface HTMLDivElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDivElement: {\n prototype: HTMLDivElement;\n new(): HTMLDivElement;\n};\n\n/** The HTMLDocument property of Window objects is an alias that browsers expose for the Document interface object. */\ninterface HTMLDocument extends Document {\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDocument: {\n prototype: HTMLDocument;\n new(): HTMLDocument;\n};\n\ninterface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap {\n}\n\n/** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */\ninterface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n accessKey: string;\n readonly accessKeyLabel: string;\n autocapitalize: string;\n dir: string;\n draggable: boolean;\n hidden: boolean;\n innerText: string;\n lang: string;\n readonly offsetHeight: number;\n readonly offsetLeft: number;\n readonly offsetParent: Element | null;\n readonly offsetTop: number;\n readonly offsetWidth: number;\n spellcheck: boolean;\n title: string;\n translate: boolean;\n click(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLElement: {\n prototype: HTMLElement;\n new(): HTMLElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements. */\ninterface HTMLEmbedElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /**\n * Sets or retrieves the name of the object.\n */\n /** @deprecated */\n name: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n src: string;\n type: string;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n getSVGDocument(): Document | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLEmbedElement: {\n prototype: HTMLEmbedElement;\n new(): HTMLEmbedElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements. */\ninterface HTMLFieldSetElement extends HTMLElement {\n disabled: boolean;\n readonly elements: HTMLCollection;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n name: string;\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFieldSetElement: {\n prototype: HTMLFieldSetElement;\n new(): HTMLFieldSetElement;\n};\n\n/** Implements the document object model (DOM) representation of the font element. The HTML Font Element <font> defines the font size, font face and color of text. */\ninterface HTMLFontElement extends HTMLElement {\n /** @deprecated */\n color: string;\n /**\n * Sets or retrieves the current typeface family.\n */\n /** @deprecated */\n face: string;\n /** @deprecated */\n size: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFontElement: {\n prototype: HTMLFontElement;\n new(): HTMLFontElement;\n};\n\n/** A collection of HTML form control elements. */\ninterface HTMLFormControlsCollection extends HTMLCollectionBase {\n /**\n * Returns the item with ID or name name from the collection.\n * \n * If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.\n */\n namedItem(name: string): RadioNodeList | Element | null;\n}\n\ndeclare var HTMLFormControlsCollection: {\n prototype: HTMLFormControlsCollection;\n new(): HTMLFormControlsCollection;\n};\n\n/** A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements. */\ninterface HTMLFormElement extends HTMLElement {\n /**\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\n */\n acceptCharset: string;\n /**\n * Sets or retrieves the URL to which the form content is sent for processing.\n */\n action: string;\n /**\n * Specifies whether autocomplete is applied to an editable text field.\n */\n autocomplete: string;\n /**\n * Retrieves a collection, in source order, of all controls in a given form.\n */\n readonly elements: HTMLFormControlsCollection;\n /**\n * Sets or retrieves the MIME encoding for the form.\n */\n encoding: string;\n /**\n * Sets or retrieves the encoding type for the form.\n */\n enctype: string;\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n readonly length: number;\n /**\n * Sets or retrieves how to send the form data to the server.\n */\n method: string;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Designates a form that is not validated when submitted.\n */\n noValidate: boolean;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Fires when the user resets a form.\n */\n reset(): void;\n /**\n * Fires when a FORM is about to be submitted.\n */\n submit(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Element;\n [name: string]: any;\n}\n\ndeclare var HTMLFormElement: {\n prototype: HTMLFormElement;\n new(): HTMLFormElement;\n};\n\ninterface HTMLFrameElement extends HTMLElement {\n /**\n * Retrieves the document object of the page or frame.\n */\n /** @deprecated */\n readonly contentDocument: Document | null;\n /**\n * Retrieves the object of the specified.\n */\n /** @deprecated */\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves whether to display a border for the frame.\n */\n /** @deprecated */\n frameBorder: string;\n /**\n * Sets or retrieves a URI to a long description of the object.\n */\n /** @deprecated */\n longDesc: string;\n /**\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n */\n /** @deprecated */\n marginHeight: string;\n /**\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n */\n /** @deprecated */\n marginWidth: string;\n /**\n * Sets or retrieves the frame name.\n */\n /** @deprecated */\n name: string;\n /**\n * Sets or retrieves whether the user can resize the frame.\n */\n /** @deprecated */\n noResize: boolean;\n /**\n * Sets or retrieves whether the frame can be scrolled.\n */\n /** @deprecated */\n scrolling: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n /** @deprecated */\n src: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFrameElement: {\n prototype: HTMLFrameElement;\n new(): HTMLFrameElement;\n};\n\ninterface HTMLFrameSetElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n}\n\n/** Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements. */\ninterface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers {\n /**\n * Sets or retrieves the frame widths of the object.\n */\n /** @deprecated */\n cols: string;\n /**\n * Sets or retrieves the frame heights of the object.\n */\n /** @deprecated */\n rows: string;\n addEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFrameSetElement: {\n prototype: HTMLFrameSetElement;\n new(): HTMLFrameSetElement;\n};\n\n/** Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements. */\ninterface HTMLHRElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n color: string;\n /**\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\n */\n /** @deprecated */\n noShade: boolean;\n /** @deprecated */\n size: string;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHRElement: {\n prototype: HTMLHRElement;\n new(): HTMLHRElement;\n};\n\n/** Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLHeadElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadElement: {\n prototype: HTMLHeadElement;\n new(): HTMLHeadElement;\n};\n\n/** The different heading elements. It inherits methods and properties from the HTMLElement interface. */\ninterface HTMLHeadingElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadingElement: {\n prototype: HTMLHeadingElement;\n new(): HTMLHeadingElement;\n};\n\n/** Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface. */\ninterface HTMLHtmlElement extends HTMLElement {\n /**\n * Sets or retrieves the DTD version that governs the current document.\n */\n /** @deprecated */\n version: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHtmlElement: {\n prototype: HTMLHtmlElement;\n new(): HTMLHtmlElement;\n};\n\ninterface HTMLHyperlinkElementUtils {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n username: string;\n}\n\n/** Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements. */\ninterface HTMLIFrameElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n allow: string;\n allowFullscreen: boolean;\n allowPaymentRequest: boolean;\n /**\n * Retrieves the document object of the page or frame.\n */\n readonly contentDocument: Document | null;\n /**\n * Retrieves the object of the specified.\n */\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves whether to display a border for the frame.\n */\n /** @deprecated */\n frameBorder: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /**\n * Sets or retrieves a URI to a long description of the object.\n */\n /** @deprecated */\n longDesc: string;\n /**\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n */\n /** @deprecated */\n marginHeight: string;\n /**\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n */\n /** @deprecated */\n marginWidth: string;\n /**\n * Sets or retrieves the frame name.\n */\n name: string;\n referrerPolicy: ReferrerPolicy;\n readonly sandbox: DOMTokenList;\n /**\n * Sets or retrieves whether the frame can be scrolled.\n */\n /** @deprecated */\n scrolling: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n src: string;\n /**\n * Sets or retrives the content of the page that is to contain.\n */\n srcdoc: string;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n getSVGDocument(): Document | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLIFrameElement: {\n prototype: HTMLIFrameElement;\n new(): HTMLIFrameElement;\n};\n\n/** Provides special properties and methods for manipulating <img> elements. */\ninterface HTMLImageElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Specifies the properties of a border drawn around an object.\n */\n /** @deprecated */\n border: string;\n /**\n * Retrieves whether the object is fully loaded.\n */\n readonly complete: boolean;\n crossOrigin: string | null;\n readonly currentSrc: string;\n decoding: "async" | "sync" | "auto";\n /**\n * Sets or retrieves the height of the object.\n */\n height: number;\n /**\n * Sets or retrieves the width of the border to draw around the object.\n */\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves whether the image is a server-side image map.\n */\n isMap: boolean;\n loading: string;\n /**\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\n */\n /** @deprecated */\n longDesc: string;\n /** @deprecated */\n lowsrc: string;\n /**\n * Sets or retrieves the name of the object.\n */\n /** @deprecated */\n name: string;\n /**\n * The original height of the image resource before sizing.\n */\n readonly naturalHeight: number;\n /**\n * The original width of the image resource before sizing.\n */\n readonly naturalWidth: number;\n referrerPolicy: string;\n sizes: string;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcset: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n useMap: string;\n /**\n * Sets or retrieves the vertical margin for the object.\n */\n /** @deprecated */\n vspace: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: number;\n readonly x: number;\n readonly y: number;\n decode(): Promise<void>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLImageElement: {\n prototype: HTMLImageElement;\n new(): HTMLImageElement;\n};\n\n/** Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements. */\ninterface HTMLInputElement extends HTMLElement {\n /**\n * Sets or retrieves a comma-separated list of content types.\n */\n accept: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Specifies whether autocomplete is applied to an editable text field.\n */\n autocomplete: string;\n /**\n * Sets or retrieves the state of the check box or radio button.\n */\n checked: boolean;\n /**\n * Sets or retrieves the state of the check box or radio button.\n */\n defaultChecked: boolean;\n /**\n * Sets or retrieves the initial contents of the object.\n */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /**\n * Returns a FileList object on a file type input object.\n */\n files: FileList | null;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\n */\n formAction: string;\n /**\n * Used to override the encoding (formEnctype attribute) specified on the form element.\n */\n formEnctype: string;\n /**\n * Overrides the submit method attribute previously specified on a form element.\n */\n formMethod: string;\n /**\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.\n */\n formNoValidate: boolean;\n /**\n * Overrides the target attribute on a form element.\n */\n formTarget: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: number;\n indeterminate: boolean;\n readonly labels: NodeListOf<HTMLLabelElement> | null;\n /**\n * Specifies the ID of a pre-defined datalist of options for an input element.\n */\n readonly list: HTMLElement | null;\n /**\n * Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\n */\n max: string;\n /**\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\n */\n maxLength: number;\n /**\n * Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\n */\n min: string;\n minLength: number;\n /**\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\n */\n multiple: boolean;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets or sets a string containing a regular expression that the user\'s input must match.\n */\n pattern: string;\n /**\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\n */\n placeholder: string;\n readOnly: boolean;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n selectionDirection: "forward" | "backward" | "none" | null;\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n selectionEnd: number | null;\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n selectionStart: number | null;\n size: number;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n /**\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\n */\n step: string;\n /**\n * Returns the content type of the object.\n */\n type: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n /** @deprecated */\n useMap: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Returns the value of the data at the cursor\'s current position.\n */\n value: string;\n /**\n * Returns a Date object representing the form control\'s value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn\'t date- or time-based.\n */\n valueAsDate: Date | null;\n /**\n * Returns the input field value as a number.\n */\n valueAsNumber: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: number;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Makes the selection equal to the current object.\n */\n select(): void;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void;\n /**\n * Decrements a range input control\'s value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control\'s step value multiplied by the parameter\'s value.\n * @param n Value to decrement the value by.\n */\n stepDown(n?: number): void;\n /**\n * Increments a range input control\'s value by the value given by the Step attribute. If the optional parameter is used, will increment the input control\'s value by that value.\n * @param n Value to increment the value by.\n */\n stepUp(n?: number): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLInputElement: {\n prototype: HTMLInputElement;\n new(): HTMLInputElement;\n};\n\n/** Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements. */\ninterface HTMLLIElement extends HTMLElement {\n /** @deprecated */\n type: string;\n /**\n * Sets or retrieves the value of a list item.\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLIElement: {\n prototype: HTMLLIElement;\n new(): HTMLLIElement;\n};\n\n/** Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface. */\ninterface HTMLLabelElement extends HTMLElement {\n readonly control: HTMLElement | null;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the object to which the given label object is assigned.\n */\n htmlFor: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLabelElement: {\n prototype: HTMLLabelElement;\n new(): HTMLLabelElement;\n};\n\n/** The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface. */\ninterface HTMLLegendElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLegendElement: {\n prototype: HTMLLegendElement;\n new(): HTMLLegendElement;\n};\n\n/** Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLLinkElement extends HTMLElement, LinkStyle {\n as: string;\n /**\n * Sets or retrieves the character set used to encode the object.\n */\n /** @deprecated */\n charset: string;\n crossOrigin: string | null;\n disabled: boolean;\n /**\n * Sets or retrieves a destination URL or an anchor point.\n */\n href: string;\n /**\n * Sets or retrieves the language code of the object.\n */\n hreflang: string;\n imageSizes: string;\n imageSrcset: string;\n integrity: string;\n /**\n * Sets or retrieves the media type.\n */\n media: string;\n referrerPolicy: string;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n /** @deprecated */\n rev: string;\n readonly sizes: DOMTokenList;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n /** @deprecated */\n target: string;\n /**\n * Sets or retrieves the MIME type of the object.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLinkElement: {\n prototype: HTMLLinkElement;\n new(): HTMLLinkElement;\n};\n\n/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements. */\ninterface HTMLMapElement extends HTMLElement {\n /**\n * Retrieves a collection of the area objects defined for the given map object.\n */\n readonly areas: HTMLCollection;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMapElement: {\n prototype: HTMLMapElement;\n new(): HTMLMapElement;\n};\n\ninterface HTMLMarqueeElementEventMap extends HTMLElementEventMap {\n "bounce": Event;\n "finish": Event;\n "start": Event;\n}\n\n/** Provides methods to manipulate <marquee> elements. */\ninterface HTMLMarqueeElement extends HTMLElement {\n /** @deprecated */\n behavior: string;\n /** @deprecated */\n bgColor: string;\n /** @deprecated */\n direction: string;\n /** @deprecated */\n height: string;\n /** @deprecated */\n hspace: number;\n /** @deprecated */\n loop: number;\n /** @deprecated */\n onbounce: ((this: HTMLMarqueeElement, ev: Event) => any) | null;\n /** @deprecated */\n onfinish: ((this: HTMLMarqueeElement, ev: Event) => any) | null;\n /** @deprecated */\n onstart: ((this: HTMLMarqueeElement, ev: Event) => any) | null;\n /** @deprecated */\n scrollAmount: number;\n /** @deprecated */\n scrollDelay: number;\n /** @deprecated */\n trueSpeed: boolean;\n /** @deprecated */\n vspace: number;\n /** @deprecated */\n width: string;\n /** @deprecated */\n start(): void;\n /** @deprecated */\n stop(): void;\n addEventListener<K extends keyof HTMLMarqueeElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMarqueeElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMarqueeElement: {\n prototype: HTMLMarqueeElement;\n new(): HTMLMarqueeElement;\n};\n\ninterface HTMLMediaElementEventMap extends HTMLElementEventMap {\n "encrypted": MediaEncryptedEvent;\n "waitingforkey": Event;\n}\n\n/** Adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. */\ninterface HTMLMediaElement extends HTMLElement {\n /**\n * Gets or sets a value that indicates whether to start playing the media automatically.\n */\n autoplay: boolean;\n /**\n * Gets a collection of buffered time ranges.\n */\n readonly buffered: TimeRanges;\n /**\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\n */\n controls: boolean;\n crossOrigin: string | null;\n /**\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\n */\n readonly currentSrc: string;\n /**\n * Gets or sets the current playback position, in seconds.\n */\n currentTime: number;\n defaultMuted: boolean;\n /**\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\n */\n defaultPlaybackRate: number;\n /**\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\n */\n readonly duration: number;\n /**\n * Gets information about whether the playback has ended or not.\n */\n readonly ended: boolean;\n /**\n * Returns an object representing the current error state of the audio or video element.\n */\n readonly error: MediaError | null;\n /**\n * Gets or sets a flag to specify whether playback should restart after it completes.\n */\n loop: boolean;\n readonly mediaKeys: MediaKeys | null;\n /**\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\n */\n muted: boolean;\n /**\n * Gets the current network activity for the element.\n */\n readonly networkState: number;\n onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;\n onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;\n /**\n * Gets a flag that specifies whether playback is paused.\n */\n readonly paused: boolean;\n /**\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\n */\n playbackRate: number;\n /**\n * Gets TimeRanges for the current media resource that has been played.\n */\n readonly played: TimeRanges;\n /**\n * Gets or sets the current playback position, in seconds.\n */\n preload: string;\n readonly readyState: number;\n /**\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\n */\n readonly seekable: TimeRanges;\n /**\n * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.\n */\n readonly seeking: boolean;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcObject: MediaProvider | null;\n readonly textTracks: TextTrackList;\n /**\n * Gets or sets the volume level for audio portions of the media element.\n */\n volume: number;\n addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;\n /**\n * Returns a string that specifies whether the client can play a given media resource type.\n */\n canPlayType(type: string): CanPlayTypeResult;\n fastSeek(time: number): void;\n /**\n * Resets the audio or video object and loads a new media resource.\n */\n load(): void;\n /**\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\n */\n pause(): void;\n /**\n * Loads and starts playback of a media resource.\n */\n play(): Promise<void>;\n setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;\n readonly HAVE_CURRENT_DATA: number;\n readonly HAVE_ENOUGH_DATA: number;\n readonly HAVE_FUTURE_DATA: number;\n readonly HAVE_METADATA: number;\n readonly HAVE_NOTHING: number;\n readonly NETWORK_EMPTY: number;\n readonly NETWORK_IDLE: number;\n readonly NETWORK_LOADING: number;\n readonly NETWORK_NO_SOURCE: number;\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMediaElement: {\n prototype: HTMLMediaElement;\n new(): HTMLMediaElement;\n readonly HAVE_CURRENT_DATA: number;\n readonly HAVE_ENOUGH_DATA: number;\n readonly HAVE_FUTURE_DATA: number;\n readonly HAVE_METADATA: number;\n readonly HAVE_NOTHING: number;\n readonly NETWORK_EMPTY: number;\n readonly NETWORK_IDLE: number;\n readonly NETWORK_LOADING: number;\n readonly NETWORK_NO_SOURCE: number;\n};\n\ninterface HTMLMenuElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMenuElement: {\n prototype: HTMLMenuElement;\n new(): HTMLMenuElement;\n};\n\n/** Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLMetaElement extends HTMLElement {\n /**\n * Gets or sets meta-information to associate with httpEquiv or name.\n */\n content: string;\n /**\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\n */\n httpEquiv: string;\n /**\n * Sets or retrieves the value specified in the content attribute of the meta object.\n */\n name: string;\n /**\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\n */\n /** @deprecated */\n scheme: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMetaElement: {\n prototype: HTMLMetaElement;\n new(): HTMLMetaElement;\n};\n\n/** The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements. */\ninterface HTMLMeterElement extends HTMLElement {\n high: number;\n readonly labels: NodeListOf<HTMLLabelElement>;\n low: number;\n max: number;\n min: number;\n optimum: number;\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMeterElement: {\n prototype: HTMLMeterElement;\n new(): HTMLMeterElement;\n};\n\n/** Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>. */\ninterface HTMLModElement extends HTMLElement {\n /**\n * Sets or retrieves reference information about the object.\n */\n cite: string;\n /**\n * Sets or retrieves the date and time of a modification to the object.\n */\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLModElement: {\n prototype: HTMLModElement;\n new(): HTMLModElement;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements. */\ninterface HTMLOListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n reversed: boolean;\n /**\n * The starting number.\n */\n start: number;\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOListElement: {\n prototype: HTMLOListElement;\n new(): HTMLOListElement;\n};\n\n/** Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources. */\ninterface HTMLObjectElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\n */\n /** @deprecated */\n archive: string;\n /** @deprecated */\n border: string;\n /**\n * Sets or retrieves the URL of the file containing the compiled Java class.\n */\n /** @deprecated */\n code: string;\n /**\n * Sets or retrieves the URL of the component.\n */\n /** @deprecated */\n codeBase: string;\n /**\n * Sets or retrieves the Internet media type for the code associated with the object.\n */\n /** @deprecated */\n codeType: string;\n /**\n * Retrieves the document object of the page or frame.\n */\n readonly contentDocument: Document | null;\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves the URL that references the data of the object.\n */\n data: string;\n /** @deprecated */\n declare: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Sets or retrieves a message to be displayed while an object is loading.\n */\n /** @deprecated */\n standby: string;\n /**\n * Sets or retrieves the MIME type of the object.\n */\n type: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n useMap: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /** @deprecated */\n vspace: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n getSVGDocument(): Document | null;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLObjectElement: {\n prototype: HTMLObjectElement;\n new(): HTMLObjectElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements. */\ninterface HTMLOptGroupElement extends HTMLElement {\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\n */\n label: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptGroupElement: {\n prototype: HTMLOptGroupElement;\n new(): HTMLOptGroupElement;\n};\n\n/** <option> elements and inherits all classes and methods of the HTMLElement interface. */\ninterface HTMLOptionElement extends HTMLElement {\n /**\n * Sets or retrieves the status of an option.\n */\n defaultSelected: boolean;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the ordinal position of an option in a list box.\n */\n readonly index: number;\n /**\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\n */\n label: string;\n /**\n * Sets or retrieves whether the option in the list box is the default item.\n */\n selected: boolean;\n /**\n * Sets or retrieves the text string specified by the option tag.\n */\n text: string;\n /**\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\n */\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptionElement: {\n prototype: HTMLOptionElement;\n new(): HTMLOptionElement;\n};\n\n/** HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select. */\ninterface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {\n /**\n * Returns the number of elements in the collection.\n * \n * When set to a smaller number, truncates the number of option elements in the corresponding container.\n * \n * When set to a greater number, adds new blank option elements to that container.\n */\n length: number;\n /**\n * Returns the index of the first selected item, if any, or −1 if there is no selected item.\n * \n * Can be set, to change the selection.\n */\n selectedIndex: number;\n /**\n * Inserts element before the node given by before.\n * \n * The before argument can be a number, in which case element is inserted before the item with that number, or an element from the collection, in which case element is inserted before that element.\n * \n * If before is omitted, null, or a number out of range, then element will be added at the end of the list.\n * \n * This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * Removes the item with index index from the collection.\n */\n remove(index: number): void;\n}\n\ndeclare var HTMLOptionsCollection: {\n prototype: HTMLOptionsCollection;\n new(): HTMLOptionsCollection;\n};\n\ninterface HTMLOrSVGElement {\n autofocus: boolean;\n readonly dataset: DOMStringMap;\n nonce?: string;\n tabIndex: number;\n blur(): void;\n focus(options?: FocusOptions): void;\n}\n\n/** Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements. */\ninterface HTMLOutputElement extends HTMLElement {\n defaultValue: string;\n readonly form: HTMLFormElement | null;\n readonly htmlFor: DOMTokenList;\n readonly labels: NodeListOf<HTMLLabelElement>;\n name: string;\n readonly type: string;\n readonly validationMessage: string;\n readonly validity: ValidityState;\n value: string;\n readonly willValidate: boolean;\n checkValidity(): boolean;\n reportValidity(): boolean;\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOutputElement: {\n prototype: HTMLOutputElement;\n new(): HTMLOutputElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements. */\ninterface HTMLParagraphElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParagraphElement: {\n prototype: HTMLParagraphElement;\n new(): HTMLParagraphElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element. */\ninterface HTMLParamElement extends HTMLElement {\n /**\n * Sets or retrieves the name of an input parameter for an element.\n */\n name: string;\n /**\n * Sets or retrieves the content type of the resource designated by the value attribute.\n */\n /** @deprecated */\n type: string;\n /**\n * Sets or retrieves the value of an input parameter for an element.\n */\n value: string;\n /**\n * Sets or retrieves the data type of the value attribute.\n */\n /** @deprecated */\n valueType: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParamElement: {\n prototype: HTMLParamElement;\n new(): HTMLParamElement;\n};\n\n/** A <picture> HTML element. It doesn\'t implement specific properties or methods. */\ninterface HTMLPictureElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPictureElement: {\n prototype: HTMLPictureElement;\n new(): HTMLPictureElement;\n};\n\n/** Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>). */\ninterface HTMLPreElement extends HTMLElement {\n /**\n * Sets or gets a value that you can use to implement your own width functionality for the object.\n */\n /** @deprecated */\n width: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPreElement: {\n prototype: HTMLPreElement;\n new(): HTMLPreElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements. */\ninterface HTMLProgressElement extends HTMLElement {\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Defines the maximum, or "done" value for a progress element.\n */\n max: number;\n /**\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\n */\n readonly position: number;\n /**\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLProgressElement: {\n prototype: HTMLProgressElement;\n new(): HTMLProgressElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element. */\ninterface HTMLQuoteElement extends HTMLElement {\n /**\n * Sets or retrieves reference information about the object.\n */\n cite: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLQuoteElement: {\n prototype: HTMLQuoteElement;\n new(): HTMLQuoteElement;\n};\n\n/** HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface). */\ninterface HTMLScriptElement extends HTMLElement {\n async: boolean;\n /**\n * Sets or retrieves the character set used to encode the object.\n */\n /** @deprecated */\n charset: string;\n crossOrigin: string | null;\n /**\n * Sets or retrieves the status of the script.\n */\n defer: boolean;\n /**\n * Sets or retrieves the event for which the script is written.\n */\n /** @deprecated */\n event: string;\n /**\n * Sets or retrieves the object that is bound to the event script.\n */\n /** @deprecated */\n htmlFor: string;\n integrity: string;\n noModule: boolean;\n referrerPolicy: string;\n /**\n * Retrieves the URL to an external file that contains the source code or data.\n */\n src: string;\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n /**\n * Sets or retrieves the MIME type for the associated scripting engine.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLScriptElement: {\n prototype: HTMLScriptElement;\n new(): HTMLScriptElement;\n};\n\n/** A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. */\ninterface HTMLSelectElement extends HTMLElement {\n autocomplete: string;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n length: number;\n /**\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\n */\n multiple: boolean;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n readonly options: HTMLOptionsCollection;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n /**\n * Sets or retrieves the index of the selected option in a select object.\n */\n selectedIndex: number;\n readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;\n /**\n * Sets or retrieves the number of rows in the list box.\n */\n size: number;\n /**\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Adds an element to the areas, controlRange, or options collection.\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n /**\n * Retrieves a select object or an object from an options collection.\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\n */\n item(index: number): Element | null;\n /**\n * Retrieves a select object or an object from an options collection.\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\n */\n namedItem(name: string): HTMLOptionElement | null;\n /**\n * Removes an element from the collection.\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\n */\n remove(): void;\n remove(index: number): void;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [name: number]: HTMLOptionElement | HTMLOptGroupElement;\n}\n\ndeclare var HTMLSelectElement: {\n prototype: HTMLSelectElement;\n new(): HTMLSelectElement;\n};\n\ninterface HTMLSlotElement extends HTMLElement {\n name: string;\n assignedElements(options?: AssignedNodesOptions): Element[];\n assignedNodes(options?: AssignedNodesOptions): Node[];\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSlotElement: {\n prototype: HTMLSlotElement;\n new(): HTMLSlotElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */\ninterface HTMLSourceElement extends HTMLElement {\n /**\n * Gets or sets the intended media type of the media source.\n */\n media: string;\n sizes: string;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcset: string;\n /**\n * Gets or sets the MIME type of a media resource.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSourceElement: {\n prototype: HTMLSourceElement;\n new(): HTMLSourceElement;\n};\n\n/** A <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLSpanElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSpanElement: {\n prototype: HTMLSpanElement;\n new(): HTMLSpanElement;\n};\n\n/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */\ninterface HTMLStyleElement extends HTMLElement, LinkStyle {\n /**\n * Sets or retrieves the media type.\n */\n media: string;\n /**\n * Retrieves the CSS language in which the style sheet is written.\n */\n /** @deprecated */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLStyleElement: {\n prototype: HTMLStyleElement;\n new(): HTMLStyleElement;\n};\n\n/** Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements. */\ninterface HTMLTableCaptionElement extends HTMLElement {\n /**\n * Sets or retrieves the alignment of the caption or legend.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCaptionElement: {\n prototype: HTMLTableCaptionElement;\n new(): HTMLTableCaptionElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. */\ninterface HTMLTableCellElement extends HTMLElement {\n /**\n * Sets or retrieves abbreviated text for the object.\n */\n abbr: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\n */\n /** @deprecated */\n axis: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Retrieves the position of the object in the cells collection of a row.\n */\n readonly cellIndex: number;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number columns in the table that the object should span.\n */\n colSpan: number;\n /**\n * Sets or retrieves a list of header cells that provide information for the object.\n */\n headers: string;\n /**\n * Sets or retrieves the height of the object.\n */\n /** @deprecated */\n height: string;\n /**\n * Sets or retrieves whether the browser automatically performs wordwrap.\n */\n /** @deprecated */\n noWrap: boolean;\n /**\n * Sets or retrieves how many rows in a table the cell should span.\n */\n rowSpan: number;\n /**\n * Sets or retrieves the group of cells in a table to which the object\'s information applies.\n */\n scope: string;\n /** @deprecated */\n vAlign: string;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCellElement: {\n prototype: HTMLTableCellElement;\n new(): HTMLTableCellElement;\n};\n\n/** Provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements. */\ninterface HTMLTableColElement extends HTMLElement {\n /**\n * Sets or retrieves the alignment of the object relative to the display or table.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number of columns in the group.\n */\n span: number;\n /** @deprecated */\n vAlign: string;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableColElement: {\n prototype: HTMLTableColElement;\n new(): HTMLTableColElement;\n};\n\ninterface HTMLTableDataCellElement extends HTMLTableCellElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableDataCellElement: {\n prototype: HTMLTableDataCellElement;\n new(): HTMLTableDataCellElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document. */\ninterface HTMLTableElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Sets or retrieves the width of the border to draw around the object.\n */\n /** @deprecated */\n border: string;\n /**\n * Retrieves the caption object of a table.\n */\n caption: HTMLTableCaptionElement | null;\n /**\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\n */\n /** @deprecated */\n cellPadding: string;\n /**\n * Sets or retrieves the amount of space between cells in a table.\n */\n /** @deprecated */\n cellSpacing: string;\n /**\n * Sets or retrieves the way the border frame around the table is displayed.\n */\n /** @deprecated */\n frame: string;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /**\n * Sets or retrieves which dividing lines (inner borders) are displayed.\n */\n /** @deprecated */\n rules: string;\n /**\n * Sets or retrieves a description and/or structure of the object.\n */\n /** @deprecated */\n summary: string;\n /**\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\n */\n readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;\n /**\n * Retrieves the tFoot object of the table.\n */\n tFoot: HTMLTableSectionElement | null;\n /**\n * Retrieves the tHead object of the table.\n */\n tHead: HTMLTableSectionElement | null;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n /**\n * Creates an empty caption element in the table.\n */\n createCaption(): HTMLTableCaptionElement;\n /**\n * Creates an empty tBody element in the table.\n */\n createTBody(): HTMLTableSectionElement;\n /**\n * Creates an empty tFoot element in the table.\n */\n createTFoot(): HTMLTableSectionElement;\n /**\n * Returns the tHead element object if successful, or null otherwise.\n */\n createTHead(): HTMLTableSectionElement;\n /**\n * Deletes the caption element and its contents from the table.\n */\n deleteCaption(): void;\n /**\n * Removes the specified row (tr) from the element and from the rows collection.\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n */\n deleteRow(index: number): void;\n /**\n * Deletes the tFoot element and its contents from the table.\n */\n deleteTFoot(): void;\n /**\n * Deletes the tHead element and its contents from the table.\n */\n deleteTHead(): void;\n /**\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n */\n insertRow(index?: number): HTMLTableRowElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableElement: {\n prototype: HTMLTableElement;\n new(): HTMLTableElement;\n};\n\ninterface HTMLTableHeaderCellElement extends HTMLTableCellElement {\n scope: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableHeaderCellElement: {\n prototype: HTMLTableHeaderCellElement;\n new(): HTMLTableHeaderCellElement;\n};\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. */\ninterface HTMLTableRowElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Retrieves a collection of all cells in the table row.\n */\n readonly cells: HTMLCollectionOf<HTMLTableDataCellElement | HTMLTableHeaderCellElement>;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Retrieves the position of the object in the rows collection for the table.\n */\n readonly rowIndex: number;\n /**\n * Retrieves the position of the object in the collection.\n */\n readonly sectionRowIndex: number;\n /** @deprecated */\n vAlign: string;\n /**\n * Removes the specified cell from the table row, as well as from the cells collection.\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\n */\n deleteCell(index: number): void;\n /**\n * Creates a new cell in the table row, and adds the cell to the cells collection.\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\n */\n insertCell(index?: number): HTMLTableDataCellElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableRowElement: {\n prototype: HTMLTableRowElement;\n new(): HTMLTableRowElement;\n};\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table. */\ninterface HTMLTableSectionElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /** @deprecated */\n vAlign: string;\n /**\n * Removes the specified row (tr) from the element and from the rows collection.\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n */\n deleteRow(index: number): void;\n /**\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n */\n insertRow(index?: number): HTMLTableRowElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableSectionElement: {\n prototype: HTMLTableSectionElement;\n new(): HTMLTableSectionElement;\n};\n\n/** Enables access to the contents of an HTML <template> element. */\ninterface HTMLTemplateElement extends HTMLElement {\n readonly content: DocumentFragment;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTemplateElement: {\n prototype: HTMLTemplateElement;\n new(): HTMLTemplateElement;\n};\n\n/** Provides special properties and methods for manipulating the layout and presentation of <textarea> elements. */\ninterface HTMLTextAreaElement extends HTMLElement {\n autocomplete: string;\n /**\n * Sets or retrieves the width of the object.\n */\n cols: number;\n /**\n * Sets or retrieves the initial contents of the object.\n */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\n */\n maxLength: number;\n minLength: number;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\n */\n placeholder: string;\n /**\n * Sets or retrieves the value indicated whether the content of the object is read-only.\n */\n readOnly: boolean;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n rows: number;\n selectionDirection: "forward" | "backward" | "none";\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n selectionEnd: number;\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n selectionStart: number;\n readonly textLength: number;\n /**\n * Retrieves the type of control.\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Retrieves or sets the text in the entry field of the textArea element.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Sets or retrieves how to handle wordwrapping in the object.\n */\n wrap: string;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Highlights the input area of a form element.\n */\n select(): void;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTextAreaElement: {\n prototype: HTMLTextAreaElement;\n new(): HTMLTextAreaElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements. */\ninterface HTMLTimeElement extends HTMLElement {\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTimeElement: {\n prototype: HTMLTimeElement;\n new(): HTMLTimeElement;\n};\n\n/** Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLTitleElement extends HTMLElement {\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTitleElement: {\n prototype: HTMLTitleElement;\n new(): HTMLTitleElement;\n};\n\n/** The HTMLTrackElement */\ninterface HTMLTrackElement extends HTMLElement {\n default: boolean;\n kind: string;\n label: string;\n readonly readyState: number;\n src: string;\n srclang: string;\n readonly track: TextTrack;\n readonly ERROR: number;\n readonly LOADED: number;\n readonly LOADING: number;\n readonly NONE: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTrackElement: {\n prototype: HTMLTrackElement;\n new(): HTMLTrackElement;\n readonly ERROR: number;\n readonly LOADED: number;\n readonly LOADING: number;\n readonly NONE: number;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements. */\ninterface HTMLUListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n /** @deprecated */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUListElement: {\n prototype: HTMLUListElement;\n new(): HTMLUListElement;\n};\n\n/** An invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLUnknownElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUnknownElement: {\n prototype: HTMLUnknownElement;\n new(): HTMLUnknownElement;\n};\n\n/** Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement. */\ninterface HTMLVideoElement extends HTMLMediaElement {\n /**\n * Gets or sets the height of the video element.\n */\n height: number;\n /**\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\n */\n poster: string;\n /**\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\n */\n readonly videoHeight: number;\n /**\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\n */\n readonly videoWidth: number;\n /**\n * Gets or sets the width of the video element.\n */\n width: number;\n getVideoPlaybackQuality(): VideoPlaybackQuality;\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLVideoElement: {\n prototype: HTMLVideoElement;\n new(): HTMLVideoElement;\n};\n\n/** Events that fire when the fragment identifier of the URL has changed. */\ninterface HashChangeEvent extends Event {\n /**\n * Returns the URL of the session history entry that is now current.\n */\n readonly newURL: string;\n /**\n * Returns the URL of the session history entry that was previously current.\n */\n readonly oldURL: string;\n}\n\ndeclare var HashChangeEvent: {\n prototype: HashChangeEvent;\n new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;\n};\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n append(name: string, value: string): void;\n delete(name: string): void;\n get(name: string): string | null;\n has(name: string): boolean;\n set(name: string, value: string): void;\n forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n prototype: Headers;\n new(init?: HeadersInit): Headers;\n};\n\n/** Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in. */\ninterface History {\n readonly length: number;\n scrollRestoration: ScrollRestoration;\n readonly state: any;\n back(): void;\n forward(): void;\n go(delta?: number): void;\n pushState(data: any, title: string, url?: string | null): void;\n replaceState(data: any, title: string, url?: string | null): void;\n}\n\ndeclare var History: {\n prototype: History;\n new(): History;\n};\n\ninterface HkdfCtrParams extends Algorithm {\n context: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n hash: string | Algorithm;\n label: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface IDBArrayKey extends Array<IDBValidKey> {\n}\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n /**\n * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.\n */\n readonly direction: IDBCursorDirection;\n /**\n * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly key: IDBValidKey;\n /**\n * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly primaryKey: IDBValidKey;\n /**\n * Returns the IDBObjectStore or IDBIndex the cursor was opened from.\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * Advances the cursor through the next count records in range.\n */\n advance(count: number): void;\n /**\n * Advances the cursor to the next record in range.\n */\n continue(key?: IDBValidKey): void;\n /**\n * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * Delete the record pointed at by the cursor with a new value.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(): IDBRequest<undefined>;\n /**\n * Updated the record pointed at by the cursor with a new value.\n * \n * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * Returns the cursor\'s current value.\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n /**\n * Returns the name of the database.\n */\n readonly name: string;\n /**\n * Returns a list of the names of object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * Returns the version of the database.\n */\n readonly version: number;\n /**\n * Closes the connection once all running transactions have finished.\n */\n close(): void;\n /**\n * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * Deletes the object store with the given name.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteObjectStore(name: string): void;\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;\n addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n prototype: IDBDatabase;\n new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n /**\n * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n * \n * Throws a "DataError" DOMException if either input is not a valid key.\n */\n cmp(first: any, second: any): number;\n /**\n * Attempts to delete the named database. If the database already exists and there are open connections that don\'t close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request\'s result will be null.\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request\'s result will be the connection.\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n readonly keyPath: string | string[];\n readonly multiEntry: boolean;\n /**\n * Returns the name of the index.\n */\n name: string;\n /**\n * Returns the IDBObjectStore the index belongs to.\n */\n readonly objectStore: IDBObjectStore;\n readonly unique: boolean;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(key: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(key: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursor, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n prototype: IDBIndex;\n new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n /**\n * Returns lower bound, or undefined if none.\n */\n readonly lower: any;\n /**\n * Returns true if the lower open flag is set, and false otherwise.\n */\n readonly lowerOpen: boolean;\n /**\n * Returns upper bound, or undefined if none.\n */\n readonly upper: any;\n /**\n * Returns true if the upper open flag is set, and false otherwise.\n */\n readonly upperOpen: boolean;\n /**\n * Returns true if key is included in the range, and false otherwise.\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning only key.\n */\n only(value: any): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBObjectStore {\n /**\n * Returns true if the store has a key generator, and false otherwise.\n */\n readonly autoIncrement: boolean;\n /**\n * Returns a list of the names of indexes in the store.\n */\n readonly indexNames: DOMStringList;\n /**\n * Returns the key path of the store, or null if none.\n */\n readonly keyPath: string | string[];\n /**\n * Returns the name of the store.\n */\n name: string;\n /**\n * Returns the associated transaction.\n */\n readonly transaction: IDBTransaction;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * Deletes all records in store.\n * \n * If successful, request\'s result will be undefined.\n */\n clear(): IDBRequest<undefined>;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * Deletes records in store with the given key or in the given key range in query.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(key: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * Deletes the index in store with the given name.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteIndex(name: string): void;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n index(name: string): IDBIndex;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n prototype: IDBObjectStore;\n new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n "blocked": Event;\n "upgradeneeded": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;\n onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n prototype: IDBOpenDBRequest;\n new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n "error": Event;\n "success": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * Returns "pending" until a request is complete, then returns "done".\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly result: T;\n /**\n * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n /**\n * Returns the transaction\'s connection.\n */\n readonly db: IDBDatabase;\n /**\n * If the transaction was aborted, returns the error (a DOMException) providing the reason.\n */\n readonly error: DOMException;\n /**\n * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.\n */\n readonly mode: IDBTransactionMode;\n /**\n * Returns a list of the names of object stores in the transaction\'s scope. For an upgrade transaction this is all object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.\n */\n abort(): void;\n /**\n * Returns an IDBObjectStore in the transaction\'s scope.\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n readonly newVersion: number | null;\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\n/** The IIRFilterNode interface of the Web Audio API is a AudioNode processor which implements a general infinite impulse response (IIR)  filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed. */\ninterface IIRFilterNode extends AudioNode {\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var IIRFilterNode: {\n prototype: IIRFilterNode;\n new(context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode;\n};\n\ninterface ImageBitmap {\n /**\n * Returns the intrinsic height of the image, in CSS pixels.\n */\n readonly height: number;\n /**\n * Returns the intrinsic width of the image, in CSS pixels.\n */\n readonly width: number;\n /**\n * Releases imageBitmap\'s underlying bitmap data.\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /**\n * Returns the canvas element that the context is bound to.\n */\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n /**\n * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n /**\n * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.\n */\n readonly data: Uint8ClampedArray;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly height: number;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(width: number, height: number): ImageData;\n new(array: Uint8ClampedArray, width: number, height?: number): ImageData;\n};\n\ninterface InnerHTML {\n innerHTML: string;\n}\n\ninterface InputDeviceInfo extends MediaDeviceInfo {\n getCapabilities(): MediaTrackCapabilities;\n}\n\ndeclare var InputDeviceInfo: {\n prototype: InputDeviceInfo;\n new(): InputDeviceInfo;\n};\n\ninterface InputEvent extends UIEvent {\n readonly data: string | null;\n readonly inputType: string;\n readonly isComposing: boolean;\n}\n\ndeclare var InputEvent: {\n prototype: InputEvent;\n new(type: string, eventInitDict?: InputEventInit): InputEvent;\n};\n\n/** provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document\'s viewport. */\ninterface IntersectionObserver {\n readonly root: Element | null;\n readonly rootMargin: string;\n readonly thresholds: ReadonlyArray<number>;\n disconnect(): void;\n observe(target: Element): void;\n takeRecords(): IntersectionObserverEntry[];\n unobserve(target: Element): void;\n}\n\ndeclare var IntersectionObserver: {\n prototype: IntersectionObserver;\n new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver;\n};\n\n/** This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition. */\ninterface IntersectionObserverEntry {\n readonly boundingClientRect: DOMRectReadOnly;\n readonly intersectionRatio: number;\n readonly intersectionRect: DOMRectReadOnly;\n readonly isIntersecting: boolean;\n readonly rootBounds: DOMRectReadOnly | null;\n readonly target: Element;\n readonly time: number;\n}\n\ndeclare var IntersectionObserverEntry: {\n prototype: IntersectionObserverEntry;\n new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;\n};\n\n/** KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard. */\ninterface KeyboardEvent extends UIEvent {\n readonly altKey: boolean;\n /** @deprecated */\n char: string;\n /** @deprecated */\n readonly charCode: number;\n readonly code: string;\n readonly ctrlKey: boolean;\n readonly isComposing: boolean;\n readonly key: string;\n /** @deprecated */\n readonly keyCode: number;\n readonly location: number;\n readonly metaKey: boolean;\n readonly repeat: boolean;\n readonly shiftKey: boolean;\n getModifierState(keyArg: string): boolean;\n readonly DOM_KEY_LOCATION_LEFT: number;\n readonly DOM_KEY_LOCATION_NUMPAD: number;\n readonly DOM_KEY_LOCATION_RIGHT: number;\n readonly DOM_KEY_LOCATION_STANDARD: number;\n}\n\ndeclare var KeyboardEvent: {\n prototype: KeyboardEvent;\n new(type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\n readonly DOM_KEY_LOCATION_LEFT: number;\n readonly DOM_KEY_LOCATION_NUMPAD: number;\n readonly DOM_KEY_LOCATION_RIGHT: number;\n readonly DOM_KEY_LOCATION_STANDARD: number;\n};\n\ninterface KeyframeEffect extends AnimationEffect {\n composite: CompositeOperation;\n iterationComposite: IterationCompositeOperation;\n target: Element | null;\n getKeyframes(): ComputedKeyframe[];\n setKeyframes(keyframes: Keyframe[] | PropertyIndexedKeyframes | null): void;\n}\n\ndeclare var KeyframeEffect: {\n prototype: KeyframeEffect;\n new(target: Element | null, keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeEffectOptions): KeyframeEffect;\n new(source: KeyframeEffect): KeyframeEffect;\n};\n\ninterface LinkStyle {\n readonly sheet: CSSStyleSheet | null;\n}\n\ninterface ListeningStateChangedEvent extends Event {\n readonly label: string;\n readonly state: ListeningState;\n}\n\ndeclare var ListeningStateChangedEvent: {\n prototype: ListeningStateChangedEvent;\n new(): ListeningStateChangedEvent;\n};\n\n/** The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively. */\ninterface Location {\n /**\n * Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.\n */\n readonly ancestorOrigins: DOMStringList;\n /**\n * Returns the Location object\'s URL\'s fragment (includes leading "#" if non-empty).\n * \n * Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").\n */\n hash: string;\n /**\n * Returns the Location object\'s URL\'s host and port (if different from the default port for the scheme).\n * \n * Can be set, to navigate to the same URL with a changed host and port.\n */\n host: string;\n /**\n * Returns the Location object\'s URL\'s host.\n * \n * Can be set, to navigate to the same URL with a changed host.\n */\n hostname: string;\n /**\n * Returns the Location object\'s URL.\n * \n * Can be set, to navigate to the given URL.\n */\n href: string;\n toString(): string;\n /**\n * Returns the Location object\'s URL\'s origin.\n */\n readonly origin: string;\n /**\n * Returns the Location object\'s URL\'s path.\n * \n * Can be set, to navigate to the same URL with a changed path.\n */\n pathname: string;\n /**\n * Returns the Location object\'s URL\'s port.\n * \n * Can be set, to navigate to the same URL with a changed port.\n */\n port: string;\n /**\n * Returns the Location object\'s URL\'s scheme.\n * \n * Can be set, to navigate to the same URL with a changed scheme.\n */\n protocol: string;\n /**\n * Returns the Location object\'s URL\'s query (includes leading "?" if non-empty).\n * \n * Can be set, to navigate to the same URL with a changed query (ignores leading "?").\n */\n search: string;\n /**\n * Navigates to the given URL.\n */\n assign(url: string): void;\n /**\n * Reloads the current page.\n */\n reload(): void;\n /** @deprecated */\n reload(forcedReload: boolean): void;\n /**\n * Removes the current page from the session history and navigates to the given URL.\n */\n replace(url: string): void;\n}\n\ndeclare var Location: {\n prototype: Location;\n new(): Location;\n};\n\ninterface MSAssertion {\n readonly id: string;\n readonly type: MSCredentialType;\n}\n\ndeclare var MSAssertion: {\n prototype: MSAssertion;\n new(): MSAssertion;\n};\n\ninterface MSBlobBuilder {\n append(data: any, endings?: string): void;\n getBlob(contentType?: string): Blob;\n}\n\ndeclare var MSBlobBuilder: {\n prototype: MSBlobBuilder;\n new(): MSBlobBuilder;\n};\n\ninterface MSFIDOCredentialAssertion extends MSAssertion {\n readonly algorithm: string | Algorithm;\n readonly attestation: any;\n readonly publicKey: string;\n readonly transportHints: MSTransportType[];\n}\n\ndeclare var MSFIDOCredentialAssertion: {\n prototype: MSFIDOCredentialAssertion;\n new(): MSFIDOCredentialAssertion;\n};\n\ninterface MSFIDOSignature {\n readonly authnrData: string;\n readonly clientData: string;\n readonly signature: string;\n}\n\ndeclare var MSFIDOSignature: {\n prototype: MSFIDOSignature;\n new(): MSFIDOSignature;\n};\n\ninterface MSFIDOSignatureAssertion extends MSAssertion {\n readonly signature: MSFIDOSignature;\n}\n\ndeclare var MSFIDOSignatureAssertion: {\n prototype: MSFIDOSignatureAssertion;\n new(): MSFIDOSignatureAssertion;\n};\n\ninterface MSFileSaver {\n msSaveBlob(blob: any, defaultName?: string): boolean;\n msSaveOrOpenBlob(blob: any, defaultName?: string): boolean;\n}\n\ninterface MSGesture {\n target: Element;\n addPointer(pointerId: number): void;\n stop(): void;\n}\n\ndeclare var MSGesture: {\n prototype: MSGesture;\n new(): MSGesture;\n};\n\n/** The MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart, MSGestureEnd, MSGestureTap, MSGestureHold, MSGestureChange, and MSInertiaStart. */\ninterface MSGestureEvent extends UIEvent {\n readonly clientX: number;\n readonly clientY: number;\n readonly expansion: number;\n readonly gestureObject: any;\n readonly hwTimestamp: number;\n readonly offsetX: number;\n readonly offsetY: number;\n readonly rotation: number;\n readonly scale: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly translationX: number;\n readonly translationY: number;\n readonly velocityAngular: number;\n readonly velocityExpansion: number;\n readonly velocityX: number;\n readonly velocityY: number;\n initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void;\n readonly MSGESTURE_FLAG_BEGIN: number;\n readonly MSGESTURE_FLAG_CANCEL: number;\n readonly MSGESTURE_FLAG_END: number;\n readonly MSGESTURE_FLAG_INERTIA: number;\n readonly MSGESTURE_FLAG_NONE: number;\n}\n\ndeclare var MSGestureEvent: {\n prototype: MSGestureEvent;\n new(): MSGestureEvent;\n readonly MSGESTURE_FLAG_BEGIN: number;\n readonly MSGESTURE_FLAG_CANCEL: number;\n readonly MSGESTURE_FLAG_END: number;\n readonly MSGESTURE_FLAG_INERTIA: number;\n readonly MSGESTURE_FLAG_NONE: number;\n};\n\n/** The msGraphicsTrust() constructor returns an object that provides properties for info on protected video playback. */\ninterface MSGraphicsTrust {\n readonly constrictionActive: boolean;\n readonly status: string;\n}\n\ndeclare var MSGraphicsTrust: {\n prototype: MSGraphicsTrust;\n new(): MSGraphicsTrust;\n};\n\ninterface MSInputMethodContextEventMap {\n "MSCandidateWindowHide": Event;\n "MSCandidateWindowShow": Event;\n "MSCandidateWindowUpdate": Event;\n}\n\ninterface MSInputMethodContext extends EventTarget {\n readonly compositionEndOffset: number;\n readonly compositionStartOffset: number;\n oncandidatewindowhide: ((this: MSInputMethodContext, ev: Event) => any) | null;\n oncandidatewindowshow: ((this: MSInputMethodContext, ev: Event) => any) | null;\n oncandidatewindowupdate: ((this: MSInputMethodContext, ev: Event) => any) | null;\n readonly target: HTMLElement;\n getCandidateWindowClientRect(): ClientRect;\n getCompositionAlternatives(): string[];\n hasComposition(): boolean;\n isCandidateWindowVisible(): boolean;\n addEventListener<K extends keyof MSInputMethodContextEventMap>(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MSInputMethodContextEventMap>(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MSInputMethodContext: {\n prototype: MSInputMethodContext;\n new(): MSInputMethodContext;\n};\n\ninterface MSMediaKeyError {\n readonly code: number;\n readonly systemCode: number;\n readonly MS_MEDIA_KEYERR_CLIENT: number;\n readonly MS_MEDIA_KEYERR_DOMAIN: number;\n readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number;\n readonly MS_MEDIA_KEYERR_OUTPUT: number;\n readonly MS_MEDIA_KEYERR_SERVICE: number;\n readonly MS_MEDIA_KEYERR_UNKNOWN: number;\n}\n\ndeclare var MSMediaKeyError: {\n prototype: MSMediaKeyError;\n new(): MSMediaKeyError;\n readonly MS_MEDIA_KEYERR_CLIENT: number;\n readonly MS_MEDIA_KEYERR_DOMAIN: number;\n readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number;\n readonly MS_MEDIA_KEYERR_OUTPUT: number;\n readonly MS_MEDIA_KEYERR_SERVICE: number;\n readonly MS_MEDIA_KEYERR_UNKNOWN: number;\n};\n\ninterface MSMediaKeyMessageEvent extends Event {\n readonly destinationURL: string | null;\n readonly message: Uint8Array;\n}\n\ndeclare var MSMediaKeyMessageEvent: {\n prototype: MSMediaKeyMessageEvent;\n new(): MSMediaKeyMessageEvent;\n};\n\ninterface MSMediaKeyNeededEvent extends Event {\n readonly initData: Uint8Array | null;\n}\n\ndeclare var MSMediaKeyNeededEvent: {\n prototype: MSMediaKeyNeededEvent;\n new(): MSMediaKeyNeededEvent;\n};\n\ninterface MSMediaKeySession extends EventTarget {\n readonly error: MSMediaKeyError | null;\n readonly keySystem: string;\n readonly sessionId: string;\n close(): void;\n update(key: Uint8Array): void;\n}\n\ndeclare var MSMediaKeySession: {\n prototype: MSMediaKeySession;\n new(): MSMediaKeySession;\n};\n\ninterface MSMediaKeys {\n readonly keySystem: string;\n createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array | null): MSMediaKeySession;\n}\n\ndeclare var MSMediaKeys: {\n prototype: MSMediaKeys;\n new(keySystem: string): MSMediaKeys;\n isTypeSupported(keySystem: string, type?: string | null): boolean;\n isTypeSupportedWithFeatures(keySystem: string, type?: string | null): string;\n};\n\ninterface MSNavigatorDoNotTrack {\n confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean;\n confirmWebWideTrackingException(args: ExceptionInformation): boolean;\n removeSiteSpecificTrackingException(args: ExceptionInformation): void;\n removeWebWideTrackingException(args: ExceptionInformation): void;\n storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void;\n storeWebWideTrackingException(args: StoreExceptionsInformation): void;\n}\n\ninterface MSPointerEvent extends MouseEvent {\n readonly currentPoint: any;\n readonly height: number;\n readonly hwTimestamp: number;\n readonly intermediatePoints: any;\n readonly isPrimary: boolean;\n readonly pointerId: number;\n readonly pointerType: any;\n readonly pressure: number;\n readonly rotation: number;\n readonly tiltX: number;\n readonly tiltY: number;\n readonly width: number;\n getCurrentPoint(element: Element): void;\n getIntermediatePoints(element: Element): void;\n initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;\n}\n\ndeclare var MSPointerEvent: {\n prototype: MSPointerEvent;\n new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent;\n};\n\ninterface MSStream {\n readonly type: string;\n msClose(): void;\n msDetachStream(): any;\n}\n\ndeclare var MSStream: {\n prototype: MSStream;\n new(): MSStream;\n};\n\n/** The MediaDevicesInfo interface contains information that describes a single media input or output device. */\ninterface MediaDeviceInfo {\n readonly deviceId: string;\n readonly groupId: string;\n readonly kind: MediaDeviceKind;\n readonly label: string;\n toJSON(): any;\n}\n\ndeclare var MediaDeviceInfo: {\n prototype: MediaDeviceInfo;\n new(): MediaDeviceInfo;\n};\n\ninterface MediaDevicesEventMap {\n "devicechange": Event;\n}\n\n/** Provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data. */\ninterface MediaDevices extends EventTarget {\n ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;\n enumerateDevices(): Promise<MediaDeviceInfo[]>;\n getSupportedConstraints(): MediaTrackSupportedConstraints;\n getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;\n addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaDevices: {\n prototype: MediaDevices;\n new(): MediaDevices;\n};\n\n/** A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio. */\ninterface MediaElementAudioSourceNode extends AudioNode {\n readonly mediaElement: HTMLMediaElement;\n}\n\ndeclare var MediaElementAudioSourceNode: {\n prototype: MediaElementAudioSourceNode;\n new(context: AudioContext, options: MediaElementAudioSourceOptions): MediaElementAudioSourceNode;\n};\n\ninterface MediaEncryptedEvent extends Event {\n readonly initData: ArrayBuffer | null;\n readonly initDataType: string;\n}\n\ndeclare var MediaEncryptedEvent: {\n prototype: MediaEncryptedEvent;\n new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent;\n};\n\n/** An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>. */\ninterface MediaError {\n readonly code: number;\n readonly message: string;\n readonly MEDIA_ERR_ABORTED: number;\n readonly MEDIA_ERR_DECODE: number;\n readonly MEDIA_ERR_NETWORK: number;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n}\n\ndeclare var MediaError: {\n prototype: MediaError;\n new(): MediaError;\n readonly MEDIA_ERR_ABORTED: number;\n readonly MEDIA_ERR_DECODE: number;\n readonly MEDIA_ERR_NETWORK: number;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n};\n\n/** This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session. */\ninterface MediaKeyMessageEvent extends Event {\n readonly message: ArrayBuffer;\n readonly messageType: MediaKeyMessageType;\n}\n\ndeclare var MediaKeyMessageEvent: {\n prototype: MediaKeyMessageEvent;\n new(type: string, eventInitDict: MediaKeyMessageEventInit): MediaKeyMessageEvent;\n};\n\ninterface MediaKeySessionEventMap {\n "keystatuseschange": Event;\n "message": MediaKeyMessageEvent;\n}\n\n/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */\ninterface MediaKeySession extends EventTarget {\n readonly closed: Promise<void>;\n readonly expiration: number;\n readonly keyStatuses: MediaKeyStatusMap;\n onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;\n onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent) => any) | null;\n readonly sessionId: string;\n close(): Promise<void>;\n generateRequest(initDataType: string, initData: BufferSource): Promise<void>;\n load(sessionId: string): Promise<boolean>;\n remove(): Promise<void>;\n update(response: BufferSource): Promise<void>;\n addEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaKeySession: {\n prototype: MediaKeySession;\n new(): MediaKeySession;\n};\n\n/** This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs. */\ninterface MediaKeyStatusMap {\n readonly size: number;\n get(keyId: BufferSource): MediaKeyStatus | undefined;\n has(keyId: BufferSource): boolean;\n forEach(callbackfn: (value: MediaKeyStatus, key: BufferSource, parent: MediaKeyStatusMap) => void, thisArg?: any): void;\n}\n\ndeclare var MediaKeyStatusMap: {\n prototype: MediaKeyStatusMap;\n new(): MediaKeyStatusMap;\n};\n\n/** This EncryptedMediaExtensions API interface provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method. */\ninterface MediaKeySystemAccess {\n readonly keySystem: string;\n createMediaKeys(): Promise<MediaKeys>;\n getConfiguration(): MediaKeySystemConfiguration;\n}\n\ndeclare var MediaKeySystemAccess: {\n prototype: MediaKeySystemAccess;\n new(): MediaKeySystemAccess;\n};\n\n/** This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback. */\ninterface MediaKeys {\n createSession(sessionType?: MediaKeySessionType): MediaKeySession;\n setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;\n}\n\ndeclare var MediaKeys: {\n prototype: MediaKeys;\n new(): MediaKeys;\n};\n\ninterface MediaList {\n readonly length: number;\n mediaText: string;\n toString(): string;\n appendMedium(medium: string): void;\n deleteMedium(medium: string): void;\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var MediaList: {\n prototype: MediaList;\n new(): MediaList;\n};\n\ninterface MediaQueryListEventMap {\n "change": MediaQueryListEvent;\n}\n\n/** Stores information on a media query applied to a document, and handles sending notifications to listeners when the media query state change (i.e. when the media query test starts or stops evaluating to true). */\ninterface MediaQueryList extends EventTarget {\n readonly matches: boolean;\n readonly media: string;\n onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;\n /** @deprecated */\n addListener(listener: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n /** @deprecated */\n removeListener(listener: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n addEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaQueryList: {\n prototype: MediaQueryList;\n new(): MediaQueryList;\n};\n\ninterface MediaQueryListEvent extends Event {\n readonly matches: boolean;\n readonly media: string;\n}\n\ndeclare var MediaQueryListEvent: {\n prototype: MediaQueryListEvent;\n new(type: string, eventInitDict?: MediaQueryListEventInit): MediaQueryListEvent;\n};\n\ninterface MediaSourceEventMap {\n "sourceclose": Event;\n "sourceended": Event;\n "sourceopen": Event;\n}\n\n/** This Media Source Extensions API interface represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent. */\ninterface MediaSource extends EventTarget {\n readonly activeSourceBuffers: SourceBufferList;\n duration: number;\n onsourceclose: ((this: MediaSource, ev: Event) => any) | null;\n onsourceended: ((this: MediaSource, ev: Event) => any) | null;\n onsourceopen: ((this: MediaSource, ev: Event) => any) | null;\n readonly readyState: ReadyState;\n readonly sourceBuffers: SourceBufferList;\n addSourceBuffer(type: string): SourceBuffer;\n clearLiveSeekableRange(): void;\n endOfStream(error?: EndOfStreamError): void;\n removeSourceBuffer(sourceBuffer: SourceBuffer): void;\n setLiveSeekableRange(start: number, end: number): void;\n addEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaSource: {\n prototype: MediaSource;\n new(): MediaSource;\n isTypeSupported(type: string): boolean;\n};\n\ninterface MediaStreamEventMap {\n "addtrack": MediaStreamTrackEvent;\n "removetrack": MediaStreamTrackEvent;\n}\n\n/** A stream of media content. A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack. */\ninterface MediaStream extends EventTarget {\n readonly active: boolean;\n readonly id: string;\n onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n addTrack(track: MediaStreamTrack): void;\n clone(): MediaStream;\n getAudioTracks(): MediaStreamTrack[];\n getTrackById(trackId: string): MediaStreamTrack | null;\n getTracks(): MediaStreamTrack[];\n getVideoTracks(): MediaStreamTrack[];\n removeTrack(track: MediaStreamTrack): void;\n addEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStream: {\n prototype: MediaStream;\n new(): MediaStream;\n new(stream: MediaStream): MediaStream;\n new(tracks: MediaStreamTrack[]): MediaStream;\n};\n\ninterface MediaStreamAudioDestinationNode extends AudioNode {\n readonly stream: MediaStream;\n}\n\ndeclare var MediaStreamAudioDestinationNode: {\n prototype: MediaStreamAudioDestinationNode;\n new(context: AudioContext, options?: AudioNodeOptions): MediaStreamAudioDestinationNode;\n};\n\n/** A type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs. */\ninterface MediaStreamAudioSourceNode extends AudioNode {\n readonly mediaStream: MediaStream;\n}\n\ndeclare var MediaStreamAudioSourceNode: {\n prototype: MediaStreamAudioSourceNode;\n new(context: AudioContext, options: MediaStreamAudioSourceOptions): MediaStreamAudioSourceNode;\n};\n\ninterface MediaStreamError {\n readonly constraintName: string | null;\n readonly message: string | null;\n readonly name: string;\n}\n\ndeclare var MediaStreamError: {\n prototype: MediaStreamError;\n new(): MediaStreamError;\n};\n\ninterface MediaStreamErrorEvent extends Event {\n readonly error: MediaStreamError | null;\n}\n\ndeclare var MediaStreamErrorEvent: {\n prototype: MediaStreamErrorEvent;\n new(typeArg: string, eventInitDict?: MediaStreamErrorEventInit): MediaStreamErrorEvent;\n};\n\n/** Events that occurs in relation to a MediaStream. Two events of this type can be thrown: addstream and removestream. */\ninterface MediaStreamEvent extends Event {\n readonly stream: MediaStream | null;\n}\n\ndeclare var MediaStreamEvent: {\n prototype: MediaStreamEvent;\n new(type: string, eventInitDict: MediaStreamEventInit): MediaStreamEvent;\n};\n\ninterface MediaStreamTrackEventMap {\n "ended": Event;\n "isolationchange": Event;\n "mute": Event;\n "unmute": Event;\n}\n\n/** A single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well. */\ninterface MediaStreamTrack extends EventTarget {\n enabled: boolean;\n readonly id: string;\n readonly isolated: boolean;\n readonly kind: string;\n readonly label: string;\n readonly muted: boolean;\n onended: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onisolationchange: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n readonly readyState: MediaStreamTrackState;\n applyConstraints(constraints?: MediaTrackConstraints): Promise<void>;\n clone(): MediaStreamTrack;\n getCapabilities(): MediaTrackCapabilities;\n getConstraints(): MediaTrackConstraints;\n getSettings(): MediaTrackSettings;\n stop(): void;\n addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStreamTrack: {\n prototype: MediaStreamTrack;\n new(): MediaStreamTrack;\n};\n\ninterface MediaStreamTrackAudioSourceNode extends AudioNode {\n}\n\ndeclare var MediaStreamTrackAudioSourceNode: {\n prototype: MediaStreamTrackAudioSourceNode;\n new(context: AudioContext, options: MediaStreamTrackAudioSourceOptions): MediaStreamTrackAudioSourceNode;\n};\n\n/** Events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur. */\ninterface MediaStreamTrackEvent extends Event {\n readonly track: MediaStreamTrack;\n}\n\ndeclare var MediaStreamTrackEvent: {\n prototype: MediaStreamTrackEvent;\n new(type: string, eventInitDict: MediaStreamTrackEventInit): MediaStreamTrackEvent;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n /**\n * Returns the first MessagePort object.\n */\n readonly port1: MessagePort;\n /**\n * Returns the second MessagePort object.\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n /**\n * Returns the data of the message.\n */\n readonly data: T;\n /**\n * Returns the last event ID string, for server-sent events.\n */\n readonly lastEventId: string;\n /**\n * Returns the origin of the message, for server-sent events and cross-document messaging.\n */\n readonly origin: string;\n /**\n * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.\n */\n readonly source: MessageEventSource | null;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n /**\n * Disconnects the port, so that it is no longer active.\n */\n close(): void;\n /**\n * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n * \n * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Begins dispatching messages received on the port.\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\n/** Provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object. */\ninterface MimeType {\n /**\n * Returns the MIME type\'s description.\n */\n readonly description: string;\n /**\n * Returns the Plugin object that implements this MIME type.\n */\n readonly enabledPlugin: Plugin;\n /**\n * Returns the MIME type\'s typical file extensions, in a comma-separated list.\n */\n readonly suffixes: string;\n /**\n * Returns the MIME type.\n */\n readonly type: string;\n}\n\ndeclare var MimeType: {\n prototype: MimeType;\n new(): MimeType;\n};\n\n/** Returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes. */\ninterface MimeTypeArray {\n readonly length: number;\n item(index: number): MimeType | null;\n namedItem(name: string): MimeType | null;\n [index: number]: MimeType;\n}\n\ndeclare var MimeTypeArray: {\n prototype: MimeTypeArray;\n new(): MimeTypeArray;\n};\n\n/** Events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown. */\ninterface MouseEvent extends UIEvent {\n readonly altKey: boolean;\n readonly button: number;\n readonly buttons: number;\n readonly clientX: number;\n readonly clientY: number;\n readonly ctrlKey: boolean;\n readonly metaKey: boolean;\n readonly movementX: number;\n readonly movementY: number;\n readonly offsetX: number;\n readonly offsetY: number;\n readonly pageX: number;\n readonly pageY: number;\n readonly relatedTarget: EventTarget | null;\n readonly screenX: number;\n readonly screenY: number;\n readonly shiftKey: boolean;\n readonly x: number;\n readonly y: number;\n getModifierState(keyArg: string): boolean;\n initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void;\n}\n\ndeclare var MouseEvent: {\n prototype: MouseEvent;\n new(type: string, eventInitDict?: MouseEventInit): MouseEvent;\n};\n\n/** Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes. */\ninterface MutationEvent extends Event {\n readonly attrChange: number;\n readonly attrName: string;\n readonly newValue: string;\n readonly prevValue: string;\n readonly relatedNode: Node;\n initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void;\n readonly ADDITION: number;\n readonly MODIFICATION: number;\n readonly REMOVAL: number;\n}\n\ndeclare var MutationEvent: {\n prototype: MutationEvent;\n new(): MutationEvent;\n readonly ADDITION: number;\n readonly MODIFICATION: number;\n readonly REMOVAL: number;\n};\n\n/** Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. */\ninterface MutationObserver {\n /**\n * Stops observer from observing any mutations. Until the observe() method is used again, observer\'s callback will not be invoked.\n */\n disconnect(): void;\n /**\n * Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).\n * \n * The options argument allows for setting mutation observation options via object members.\n */\n observe(target: Node, options?: MutationObserverInit): void;\n /**\n * Empties the record queue and returns what was in there.\n */\n takeRecords(): MutationRecord[];\n}\n\ndeclare var MutationObserver: {\n prototype: MutationObserver;\n new(callback: MutationCallback): MutationObserver;\n};\n\n/** A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver\'s callback. */\ninterface MutationRecord {\n /**\n * Return the nodes added and removed respectively.\n */\n readonly addedNodes: NodeList;\n /**\n * Returns the local name of the changed attribute, and null otherwise.\n */\n readonly attributeName: string | null;\n /**\n * Returns the namespace of the changed attribute, and null otherwise.\n */\n readonly attributeNamespace: string | null;\n /**\n * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.\n */\n readonly nextSibling: Node | null;\n /**\n * The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.\n */\n readonly oldValue: string | null;\n /**\n * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.\n */\n readonly previousSibling: Node | null;\n /**\n * Return the nodes added and removed respectively.\n */\n readonly removedNodes: NodeList;\n /**\n * Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.\n */\n readonly target: Node;\n /**\n * Returns "attributes" if it was an attribute mutation. "characterData" if it was a mutation to a CharacterData node. And "childList" if it was a mutation to the tree of nodes.\n */\n readonly type: MutationRecordType;\n}\n\ndeclare var MutationRecord: {\n prototype: MutationRecord;\n new(): MutationRecord;\n};\n\n/** A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array. */\ninterface NamedNodeMap {\n readonly length: number;\n getNamedItem(qualifiedName: string): Attr | null;\n getNamedItemNS(namespace: string | null, localName: string): Attr | null;\n item(index: number): Attr | null;\n removeNamedItem(qualifiedName: string): Attr;\n removeNamedItemNS(namespace: string | null, localName: string): Attr;\n setNamedItem(attr: Attr): Attr | null;\n setNamedItemNS(attr: Attr): Attr | null;\n [index: number]: Attr;\n}\n\ndeclare var NamedNodeMap: {\n prototype: NamedNodeMap;\n new(): NamedNodeMap;\n};\n\ninterface NavigationPreloadManager {\n disable(): Promise<void>;\n enable(): Promise<void>;\n getState(): Promise<NavigationPreloadState>;\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\n};\n\n/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */\ninterface Navigator extends MSFileSaver, MSNavigatorDoNotTrack, NavigatorAutomationInformation, NavigatorBeacon, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {\n readonly activeVRDisplays: ReadonlyArray<VRDisplay>;\n readonly clipboard: Clipboard;\n readonly credentials: CredentialsContainer;\n readonly doNotTrack: string | null;\n readonly geolocation: Geolocation;\n readonly maxTouchPoints: number;\n readonly mediaDevices: MediaDevices;\n readonly msManipulationViewsEnabled: boolean;\n readonly msMaxTouchPoints: number;\n readonly msPointerEnabled: boolean;\n readonly permissions: Permissions;\n readonly pointerEnabled: boolean;\n readonly serviceWorker: ServiceWorkerContainer;\n getGamepads(): (Gamepad | null)[];\n getUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void;\n getVRDisplays(): Promise<VRDisplay[]>;\n msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;\n sendBeacon(url: string, data?: BodyInit | null): boolean;\n share(data?: ShareData): Promise<void>;\n vibrate(pattern: number | number[]): boolean;\n}\n\ndeclare var Navigator: {\n prototype: Navigator;\n new(): Navigator;\n};\n\ninterface NavigatorAutomationInformation {\n readonly webdriver: boolean;\n}\n\ninterface NavigatorBeacon {\n sendBeacon(url: string, data?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null): boolean;\n}\n\ninterface NavigatorConcurrentHardware {\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorContentUtils {\n registerProtocolHandler(scheme: string, url: string, title: string): void;\n unregisterProtocolHandler(scheme: string, url: string): void;\n}\n\ninterface NavigatorCookies {\n readonly cookieEnabled: boolean;\n}\n\ninterface NavigatorID {\n readonly appCodeName: string;\n readonly appName: string;\n readonly appVersion: string;\n readonly platform: string;\n readonly product: string;\n readonly productSub: string;\n readonly userAgent: string;\n readonly vendor: string;\n readonly vendorSub: string;\n}\n\ninterface NavigatorLanguage {\n readonly language: string;\n readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n readonly mimeTypes: MimeTypeArray;\n readonly plugins: PluginArray;\n javaEnabled(): boolean;\n}\n\ninterface NavigatorStorage {\n readonly storage: StorageManager;\n}\n\n/** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */\ninterface Node extends EventTarget {\n /**\n * Returns node\'s node document\'s document base URL.\n */\n readonly baseURI: string;\n /**\n * Returns the children.\n */\n readonly childNodes: NodeListOf<ChildNode>;\n /**\n * Returns the first child.\n */\n readonly firstChild: ChildNode | null;\n /**\n * Returns true if node is connected and false otherwise.\n */\n readonly isConnected: boolean;\n /**\n * Returns the last child.\n */\n readonly lastChild: ChildNode | null;\n /** @deprecated */\n readonly namespaceURI: string | null;\n /**\n * Returns the next sibling.\n */\n readonly nextSibling: ChildNode | null;\n /**\n * Returns a string appropriate for the type of node.\n */\n readonly nodeName: string;\n /**\n * Returns the type of node.\n */\n readonly nodeType: number;\n nodeValue: string | null;\n /**\n * Returns the node document. Returns null for documents.\n */\n readonly ownerDocument: Document | null;\n /**\n * Returns the parent element.\n */\n readonly parentElement: HTMLElement | null;\n /**\n * Returns the parent.\n */\n readonly parentNode: Node & ParentNode | null;\n /**\n * Returns the previous sibling.\n */\n readonly previousSibling: ChildNode | null;\n textContent: string | null;\n appendChild<T extends Node>(newChild: T): T;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n */\n cloneNode(deep?: boolean): Node;\n /**\n * Returns a bitmask indicating the position of other relative to node.\n */\n compareDocumentPosition(other: Node): number;\n /**\n * Returns true if other is an inclusive descendant of node, and false otherwise.\n */\n contains(other: Node | null): boolean;\n /**\n * Returns node\'s root.\n */\n getRootNode(options?: GetRootNodeOptions): Node;\n /**\n * Returns whether node has children.\n */\n hasChildNodes(): boolean;\n insertBefore<T extends Node>(newChild: T, refChild: Node | null): T;\n isDefaultNamespace(namespace: string | null): boolean;\n /**\n * Returns whether node and otherNode have the same properties.\n */\n isEqualNode(otherNode: Node | null): boolean;\n isSameNode(otherNode: Node | null): boolean;\n lookupNamespaceURI(prefix: string | null): string | null;\n lookupPrefix(namespace: string | null): string | null;\n /**\n * Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.\n */\n normalize(): void;\n removeChild<T extends Node>(oldChild: T): T;\n replaceChild<T extends Node>(newChild: Node, oldChild: T): T;\n readonly ATTRIBUTE_NODE: number;\n /**\n * node is a CDATASection node.\n */\n readonly CDATA_SECTION_NODE: number;\n /**\n * node is a Comment node.\n */\n readonly COMMENT_NODE: number;\n /**\n * node is a DocumentFragment node.\n */\n readonly DOCUMENT_FRAGMENT_NODE: number;\n /**\n * node is a document.\n */\n readonly DOCUMENT_NODE: number;\n /**\n * Set when other is a descendant of node.\n */\n readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n /**\n * Set when other is an ancestor of node.\n */\n readonly DOCUMENT_POSITION_CONTAINS: number;\n /**\n * Set when node and other are not in the same tree.\n */\n readonly DOCUMENT_POSITION_DISCONNECTED: number;\n /**\n * Set when other is following node.\n */\n readonly DOCUMENT_POSITION_FOLLOWING: number;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n /**\n * Set when other is preceding node.\n */\n readonly DOCUMENT_POSITION_PRECEDING: number;\n /**\n * node is a doctype.\n */\n readonly DOCUMENT_TYPE_NODE: number;\n /**\n * node is an element.\n */\n readonly ELEMENT_NODE: number;\n readonly ENTITY_NODE: number;\n readonly ENTITY_REFERENCE_NODE: number;\n readonly NOTATION_NODE: number;\n /**\n * node is a ProcessingInstruction node.\n */\n readonly PROCESSING_INSTRUCTION_NODE: number;\n /**\n * node is a Text node.\n */\n readonly TEXT_NODE: number;\n}\n\ndeclare var Node: {\n prototype: Node;\n new(): Node;\n readonly ATTRIBUTE_NODE: number;\n /**\n * node is a CDATASection node.\n */\n readonly CDATA_SECTION_NODE: number;\n /**\n * node is a Comment node.\n */\n readonly COMMENT_NODE: number;\n /**\n * node is a DocumentFragment node.\n */\n readonly DOCUMENT_FRAGMENT_NODE: number;\n /**\n * node is a document.\n */\n readonly DOCUMENT_NODE: number;\n /**\n * Set when other is a descendant of node.\n */\n readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n /**\n * Set when other is an ancestor of node.\n */\n readonly DOCUMENT_POSITION_CONTAINS: number;\n /**\n * Set when node and other are not in the same tree.\n */\n readonly DOCUMENT_POSITION_DISCONNECTED: number;\n /**\n * Set when other is following node.\n */\n readonly DOCUMENT_POSITION_FOLLOWING: number;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n /**\n * Set when other is preceding node.\n */\n readonly DOCUMENT_POSITION_PRECEDING: number;\n /**\n * node is a doctype.\n */\n readonly DOCUMENT_TYPE_NODE: number;\n /**\n * node is an element.\n */\n readonly ELEMENT_NODE: number;\n readonly ENTITY_NODE: number;\n readonly ENTITY_REFERENCE_NODE: number;\n readonly NOTATION_NODE: number;\n /**\n * node is a ProcessingInstruction node.\n */\n readonly PROCESSING_INSTRUCTION_NODE: number;\n /**\n * node is a Text node.\n */\n readonly TEXT_NODE: number;\n};\n\n/** An object used to filter the nodes in a NodeIterator or TreeWalker. They don\'t know anything about the DOM or how to traverse nodes; they just know how to evaluate a single node against the provided filter. */\ninterface NodeFilter {\n acceptNode(node: Node): number;\n}\n\ndeclare var NodeFilter: {\n readonly FILTER_ACCEPT: number;\n readonly FILTER_REJECT: number;\n readonly FILTER_SKIP: number;\n readonly SHOW_ALL: number;\n readonly SHOW_ATTRIBUTE: number;\n readonly SHOW_CDATA_SECTION: number;\n readonly SHOW_COMMENT: number;\n readonly SHOW_DOCUMENT: number;\n readonly SHOW_DOCUMENT_FRAGMENT: number;\n readonly SHOW_DOCUMENT_TYPE: number;\n readonly SHOW_ELEMENT: number;\n readonly SHOW_ENTITY: number;\n readonly SHOW_ENTITY_REFERENCE: number;\n readonly SHOW_NOTATION: number;\n readonly SHOW_PROCESSING_INSTRUCTION: number;\n readonly SHOW_TEXT: number;\n};\n\n/** An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order. */\ninterface NodeIterator {\n readonly filter: NodeFilter | null;\n readonly pointerBeforeReferenceNode: boolean;\n readonly referenceNode: Node;\n readonly root: Node;\n readonly whatToShow: number;\n detach(): void;\n nextNode(): Node | null;\n previousNode(): Node | null;\n}\n\ndeclare var NodeIterator: {\n prototype: NodeIterator;\n new(): NodeIterator;\n};\n\n/** NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). */\ninterface NodeList {\n /**\n * Returns the number of nodes in the collection.\n */\n readonly length: number;\n /**\n * Returns the node with index index from the collection. The nodes are sorted in tree order.\n */\n item(index: number): Node | null;\n /**\n * Performs the specified action for each node in an list.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: Node, key: number, parent: NodeList) => void, thisArg?: any): void;\n [index: number]: Node;\n}\n\ndeclare var NodeList: {\n prototype: NodeList;\n new(): NodeList;\n};\n\ninterface NodeListOf<TNode extends Node> extends NodeList {\n length: number;\n item(index: number): TNode;\n /**\n * Performs the specified action for each node in an list.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: TNode, key: number, parent: NodeListOf<TNode>) => void, thisArg?: any): void;\n [index: number]: TNode;\n}\n\ninterface NonDocumentTypeChildNode {\n /**\n * Returns the first following sibling that is an element, and null otherwise.\n */\n readonly nextElementSibling: Element | null;\n /**\n * Returns the first preceding sibling that is an element, and null otherwise.\n */\n readonly previousElementSibling: Element | null;\n}\n\ninterface NonElementParentNode {\n /**\n * Returns the first element within node\'s descendants whose ID is elementId.\n */\n getElementById(elementId: string): Element | null;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n readonly actions: ReadonlyArray<NotificationAction>;\n readonly badge: string;\n readonly body: string;\n readonly data: any;\n readonly dir: NotificationDirection;\n readonly icon: string;\n readonly image: string;\n readonly lang: string;\n onclick: ((this: Notification, ev: Event) => any) | null;\n onclose: ((this: Notification, ev: Event) => any) | null;\n onerror: ((this: Notification, ev: Event) => any) | null;\n onshow: ((this: Notification, ev: Event) => any) | null;\n readonly renotify: boolean;\n readonly requireInteraction: boolean;\n readonly silent: boolean;\n readonly tag: string;\n readonly timestamp: number;\n readonly title: string;\n readonly vibrate: ReadonlyArray<number>;\n close(): void;\n addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n prototype: Notification;\n new(title: string, options?: NotificationOptions): Notification;\n readonly maxActions: number;\n readonly permission: NotificationPermission;\n requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;\n};\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: GLenum;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: GLenum;\n}\n\n/** The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface. */\ninterface OfflineAudioCompletionEvent extends Event {\n readonly renderedBuffer: AudioBuffer;\n}\n\ndeclare var OfflineAudioCompletionEvent: {\n prototype: OfflineAudioCompletionEvent;\n new(type: string, eventInitDict: OfflineAudioCompletionEventInit): OfflineAudioCompletionEvent;\n};\n\ninterface OfflineAudioContextEventMap extends BaseAudioContextEventMap {\n "complete": OfflineAudioCompletionEvent;\n}\n\n/** An AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn\'t render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer. */\ninterface OfflineAudioContext extends BaseAudioContext {\n readonly length: number;\n oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;\n resume(): Promise<void>;\n startRendering(): Promise<AudioBuffer>;\n suspend(suspendTime: number): Promise<void>;\n addEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OfflineAudioContext: {\n prototype: OfflineAudioContext;\n new(contextOptions: OfflineAudioContextOptions): OfflineAudioContext;\n new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;\n};\n\ninterface OffscreenCanvas extends EventTarget {\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n height: number;\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n width: number;\n /**\n * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n * \n * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn\'t supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.\n * \n * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]\n * \n * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): OffscreenCanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n /**\n * Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image.\n */\n transferToImageBitmap(): ImageBitmap;\n}\n\ndeclare var OffscreenCanvas: {\n prototype: OffscreenCanvas;\n new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n readonly canvas: OffscreenCanvas;\n commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\n};\n\n/** The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone. */\ninterface OscillatorNode extends AudioScheduledSourceNode {\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n type: OscillatorType;\n setPeriodicWave(periodicWave: PeriodicWave): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OscillatorNode: {\n prototype: OscillatorNode;\n new(context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode;\n};\n\ninterface OverconstrainedError extends Error {\n constraint: string;\n}\n\ndeclare var OverconstrainedError: {\n prototype: OverconstrainedError;\n new(): OverconstrainedError;\n};\n\ninterface OverflowEvent extends UIEvent {\n readonly horizontalOverflow: boolean;\n readonly orient: number;\n readonly verticalOverflow: boolean;\n readonly BOTH: number;\n readonly HORIZONTAL: number;\n readonly VERTICAL: number;\n}\n\ndeclare var OverflowEvent: {\n prototype: OverflowEvent;\n new(): OverflowEvent;\n readonly BOTH: number;\n readonly HORIZONTAL: number;\n readonly VERTICAL: number;\n};\n\n/** The PageTransitionEvent is fired when a document is being loaded or unloaded. */\ninterface PageTransitionEvent extends Event {\n /**\n * For the pageshow event, returns false if the page is newly being loaded (and the load event will fire). Otherwise, returns true.\n * \n * For the pagehide event, returns false if the page is going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to make the page unsalvageable) the page might be reused if the user navigates back to this page.\n * \n * Things that can cause the page to be unsalvageable include:\n * \n * Listening for beforeunload events\n * Listening for unload events\n * Having iframes that are not salvageable\n * Active WebSocket objects\n * Aborting a Document\n */\n readonly persisted: boolean;\n}\n\ndeclare var PageTransitionEvent: {\n prototype: PageTransitionEvent;\n new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;\n};\n\n/** A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels); you can\'t have panning effects without at least two audio channels! */\ninterface PannerNode extends AudioNode {\n coneInnerAngle: number;\n coneOuterAngle: number;\n coneOuterGain: number;\n distanceModel: DistanceModelType;\n maxDistance: number;\n readonly orientationX: AudioParam;\n readonly orientationY: AudioParam;\n readonly orientationZ: AudioParam;\n panningModel: PanningModelType;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n refDistance: number;\n rolloffFactor: number;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var PannerNode: {\n prototype: PannerNode;\n new(context: BaseAudioContext, options?: PannerOptions): PannerNode;\n};\n\ninterface ParentNode {\n readonly childElementCount: number;\n /**\n * Returns the child elements.\n */\n readonly children: HTMLCollection;\n /**\n * Returns the first child that is an element, and null otherwise.\n */\n readonly firstElementChild: Element | null;\n /**\n * Returns the last child that is an element, and null otherwise.\n */\n readonly lastElementChild: Element | null;\n /**\n * Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n append(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n prepend(...nodes: (Node | string)[]): void;\n /**\n * Returns the first element that is a descendant of node that matches selectors.\n */\n querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;\n querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;\n querySelector<E extends Element = Element>(selectors: string): E | null;\n /**\n * Returns all element descendants of node that match selectors.\n */\n querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;\n querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;\n querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;\n}\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n /**\n * Adds to the path the path given by the argument.\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\n/** This Payment Request API interface is used to store shipping or payment address information. */\ninterface PaymentAddress {\n readonly addressLine: string[];\n readonly city: string;\n readonly country: string;\n readonly dependentLocality: string;\n readonly languageCode: string;\n readonly organization: string;\n readonly phone: string;\n readonly postalCode: string;\n readonly recipient: string;\n readonly region: string;\n readonly sortingCode: string;\n toJSON(): any;\n}\n\ndeclare var PaymentAddress: {\n prototype: PaymentAddress;\n new(): PaymentAddress;\n};\n\ninterface PaymentRequestEventMap {\n "shippingaddresschange": Event;\n "shippingoptionchange": Event;\n}\n\n/** This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user. */\ninterface PaymentRequest extends EventTarget {\n readonly id: string;\n onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null;\n onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null;\n readonly shippingAddress: PaymentAddress | null;\n readonly shippingOption: string | null;\n readonly shippingType: PaymentShippingType | null;\n abort(): Promise<void>;\n canMakePayment(): Promise<boolean>;\n show(): Promise<PaymentResponse>;\n addEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PaymentRequest: {\n prototype: PaymentRequest;\n new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest;\n};\n\n/** This Payment Request API interface enables a web page to update the details of a PaymentRequest in response to a user action. */\ninterface PaymentRequestUpdateEvent extends Event {\n updateWith(detailsPromise: PaymentDetailsUpdate | Promise<PaymentDetailsUpdate>): void;\n}\n\ndeclare var PaymentRequestUpdateEvent: {\n prototype: PaymentRequestUpdateEvent;\n new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;\n};\n\n/** This Payment Request API interface is returned after a user selects a payment method and approves a payment request. */\ninterface PaymentResponse {\n readonly details: any;\n readonly methodName: string;\n readonly payerEmail: string | null;\n readonly payerName: string | null;\n readonly payerPhone: string | null;\n readonly requestId: string;\n readonly shippingAddress: PaymentAddress | null;\n readonly shippingOption: string | null;\n complete(result?: PaymentComplete): Promise<void>;\n toJSON(): any;\n}\n\ndeclare var PaymentResponse: {\n prototype: PaymentResponse;\n new(): PaymentResponse;\n};\n\ninterface PerfWidgetExternal {\n readonly activeNetworkRequestCount: number;\n readonly averageFrameTime: number;\n readonly averagePaintTime: number;\n readonly extraInformationEnabled: boolean;\n readonly independentRenderingEnabled: boolean;\n readonly irDisablingContentString: string;\n readonly irStatusAvailable: boolean;\n readonly maxCpuSpeed: number;\n readonly paintRequestsPerSecond: number;\n readonly performanceCounter: number;\n readonly performanceCounterFrequency: number;\n addEventListener(eventType: string, callback: Function): void;\n getMemoryUsage(): number;\n getProcessCpuUsage(): number;\n getRecentCpuUsage(last: number | null): any;\n getRecentFrames(last: number | null): any;\n getRecentMemoryUsage(last: number | null): any;\n getRecentPaintRequests(last: number | null): any;\n removeEventListener(eventType: string, callback: Function): void;\n repositionWindow(x: number, y: number): void;\n resizeWindow(width: number, height: number): void;\n}\n\ndeclare var PerfWidgetExternal: {\n prototype: PerfWidgetExternal;\n new(): PerfWidgetExternal;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/** Provides access to performance-related information for the current page. It\'s part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n /** @deprecated */\n readonly navigation: PerformanceNavigation;\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n readonly timeOrigin: number;\n /** @deprecated */\n readonly timing: PerformanceTiming;\n clearMarks(markName?: string): void;\n clearMeasures(measureName?: string): void;\n clearResourceTimings(): void;\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n mark(markName: string): void;\n measure(measureName: string, startMark?: string, endMark?: string): void;\n now(): number;\n setResourceTimingBufferSize(maxSize: number): void;\n toJSON(): any;\n addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n prototype: Performance;\n new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n readonly duration: number;\n readonly entryType: string;\n readonly name: string;\n readonly startTime: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser\'s performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser\'s performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\n/** The legacy PerformanceNavigation interface represents information about how the navigation to the current document was done. */\ninterface PerformanceNavigation {\n readonly redirectCount: number;\n readonly type: number;\n toJSON(): any;\n readonly TYPE_BACK_FORWARD: number;\n readonly TYPE_NAVIGATE: number;\n readonly TYPE_RELOAD: number;\n readonly TYPE_RESERVED: number;\n}\n\ndeclare var PerformanceNavigation: {\n prototype: PerformanceNavigation;\n new(): PerformanceNavigation;\n readonly TYPE_BACK_FORWARD: number;\n readonly TYPE_NAVIGATE: number;\n readonly TYPE_RELOAD: number;\n readonly TYPE_RESERVED: number;\n};\n\n/** Provides methods and properties to store and retrieve metrics regarding the browser\'s document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document. */\ninterface PerformanceNavigationTiming extends PerformanceResourceTiming {\n readonly domComplete: number;\n readonly domContentLoadedEventEnd: number;\n readonly domContentLoadedEventStart: number;\n readonly domInteractive: number;\n readonly loadEventEnd: number;\n readonly loadEventStart: number;\n readonly redirectCount: number;\n readonly type: NavigationType;\n readonly unloadEventEnd: number;\n readonly unloadEventStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceNavigationTiming: {\n prototype: PerformanceNavigationTiming;\n new(): PerformanceNavigationTiming;\n};\n\ninterface PerformanceObserver {\n disconnect(): void;\n observe(options?: PerformanceObserverInit): void;\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n readonly connectEnd: number;\n readonly connectStart: number;\n readonly decodedBodySize: number;\n readonly domainLookupEnd: number;\n readonly domainLookupStart: number;\n readonly encodedBodySize: number;\n readonly fetchStart: number;\n readonly initiatorType: string;\n readonly nextHopProtocol: string;\n readonly redirectEnd: number;\n readonly redirectStart: number;\n readonly requestStart: number;\n readonly responseEnd: number;\n readonly responseStart: number;\n readonly secureConnectionStart: number;\n readonly transferSize: number;\n readonly workerStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\n/** A legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing property. */\ninterface PerformanceTiming {\n readonly connectEnd: number;\n readonly connectStart: number;\n readonly domComplete: number;\n readonly domContentLoadedEventEnd: number;\n readonly domContentLoadedEventStart: number;\n readonly domInteractive: number;\n readonly domLoading: number;\n readonly domainLookupEnd: number;\n readonly domainLookupStart: number;\n readonly fetchStart: number;\n readonly loadEventEnd: number;\n readonly loadEventStart: number;\n readonly navigationStart: number;\n readonly redirectEnd: number;\n readonly redirectStart: number;\n readonly requestStart: number;\n readonly responseEnd: number;\n readonly responseStart: number;\n readonly secureConnectionStart: number;\n readonly unloadEventEnd: number;\n readonly unloadEventStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceTiming: {\n prototype: PerformanceTiming;\n new(): PerformanceTiming;\n};\n\n/** PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave(). */\ninterface PeriodicWave {\n}\n\ndeclare var PeriodicWave: {\n prototype: PeriodicWave;\n new(context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave;\n};\n\ninterface PermissionRequest extends DeferredPermissionRequest {\n readonly state: MSWebViewPermissionState;\n defer(): void;\n}\n\ndeclare var PermissionRequest: {\n prototype: PermissionRequest;\n new(): PermissionRequest;\n};\n\ninterface PermissionRequestedEvent extends Event {\n readonly permissionRequest: PermissionRequest;\n}\n\ndeclare var PermissionRequestedEvent: {\n prototype: PermissionRequestedEvent;\n new(): PermissionRequestedEvent;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n readonly state: PermissionState;\n addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n prototype: PermissionStatus;\n new(): PermissionStatus;\n};\n\ninterface Permissions {\n query(permissionDesc: PermissionDescriptor | DevicePermissionDescriptor | MidiPermissionDescriptor | PushPermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/** Provides information about a browser plugin. */\ninterface Plugin {\n /**\n * Returns the plugin\'s description.\n */\n readonly description: string;\n /**\n * Returns the plugin library\'s filename, if applicable on the current platform.\n */\n readonly filename: string;\n /**\n * Returns the number of MIME types, represented by MimeType objects, supported by the plugin.\n */\n readonly length: number;\n /**\n * Returns the plugin\'s name.\n */\n readonly name: string;\n /**\n * Returns the specified MimeType object.\n */\n item(index: number): MimeType | null;\n namedItem(name: string): MimeType | null;\n [index: number]: MimeType;\n}\n\ndeclare var Plugin: {\n prototype: Plugin;\n new(): Plugin;\n};\n\n/** Used to store a list of Plugin objects describing the available plugins; it\'s returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods. */\ninterface PluginArray {\n readonly length: number;\n item(index: number): Plugin | null;\n namedItem(name: string): Plugin | null;\n refresh(reload?: boolean): void;\n [index: number]: Plugin;\n}\n\ndeclare var PluginArray: {\n prototype: PluginArray;\n new(): PluginArray;\n};\n\n/** The state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc. */\ninterface PointerEvent extends MouseEvent {\n readonly height: number;\n readonly isPrimary: boolean;\n readonly pointerId: number;\n readonly pointerType: string;\n readonly pressure: number;\n readonly tangentialPressure: number;\n readonly tiltX: number;\n readonly tiltY: number;\n readonly twist: number;\n readonly width: number;\n}\n\ndeclare var PointerEvent: {\n prototype: PointerEvent;\n new(type: string, eventInitDict?: PointerEventInit): PointerEvent;\n};\n\n/** PopStateEvent is an event handler for the popstate event on the window. */\ninterface PopStateEvent extends Event {\n /**\n * Returns a copy of the information that was provided to pushState() or replaceState().\n */\n readonly state: any;\n}\n\ndeclare var PopStateEvent: {\n prototype: PopStateEvent;\n new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;\n};\n\n/** The position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed. */\ninterface Position {\n readonly coords: Coordinates;\n readonly timestamp: number;\n}\n\n/** The reason of an error occurring when using the geolocating device. */\ninterface PositionError {\n readonly code: number;\n readonly message: string;\n readonly PERMISSION_DENIED: number;\n readonly POSITION_UNAVAILABLE: number;\n readonly TIMEOUT: number;\n}\n\n/** A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don\'t recognize them. */\ninterface ProcessingInstruction extends CharacterData, LinkStyle {\n readonly ownerDocument: Document;\n readonly target: string;\n}\n\ndeclare var ProcessingInstruction: {\n prototype: ProcessingInstruction;\n new(): ProcessingInstruction;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n readonly lengthComputable: boolean;\n readonly loaded: number;\n readonly target: T | null;\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n readonly promise: Promise<any>;\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\ninterface PublicKeyCredential extends Credential {\n readonly rawId: ArrayBuffer;\n readonly response: AuthenticatorResponse;\n getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n}\n\ndeclare var PublicKeyCredential: {\n prototype: PublicKeyCredential;\n new(): PublicKeyCredential;\n isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;\n};\n\n/** This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/** This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service. */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly expirationTime: number | null;\n readonly options: PushSubscriptionOptions;\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n toJSON(): PushSubscriptionJSON;\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface RTCCertificate {\n readonly expires: number;\n getFingerprints(): RTCDtlsFingerprint[];\n}\n\ndeclare var RTCCertificate: {\n prototype: RTCCertificate;\n new(): RTCCertificate;\n getSupportedAlgorithms(): AlgorithmIdentifier[];\n};\n\ninterface RTCDTMFSenderEventMap {\n "tonechange": RTCDTMFToneChangeEvent;\n}\n\ninterface RTCDTMFSender extends EventTarget {\n readonly canInsertDTMF: boolean;\n ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n readonly toneBuffer: string;\n insertDTMF(tones: string, duration?: number, interToneGap?: number): void;\n addEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDTMFSender: {\n prototype: RTCDTMFSender;\n new(): RTCDTMFSender;\n};\n\n/** Events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event. */\ninterface RTCDTMFToneChangeEvent extends Event {\n readonly tone: string;\n}\n\ndeclare var RTCDTMFToneChangeEvent: {\n prototype: RTCDTMFToneChangeEvent;\n new(type: string, eventInitDict: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent;\n};\n\ninterface RTCDataChannelEventMap {\n "bufferedamountlow": Event;\n "close": Event;\n "error": RTCErrorEvent;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface RTCDataChannel extends EventTarget {\n binaryType: string;\n readonly bufferedAmount: number;\n bufferedAmountLowThreshold: number;\n readonly id: number | null;\n readonly label: string;\n readonly maxPacketLifeTime: number | null;\n readonly maxRetransmits: number | null;\n readonly negotiated: boolean;\n onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;\n onclose: ((this: RTCDataChannel, ev: Event) => any) | null;\n onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null;\n onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;\n onopen: ((this: RTCDataChannel, ev: Event) => any) | null;\n readonly ordered: boolean;\n readonly priority: RTCPriorityType;\n readonly protocol: string;\n readonly readyState: RTCDataChannelState;\n close(): void;\n send(data: string): void;\n send(data: Blob): void;\n send(data: ArrayBuffer): void;\n send(data: ArrayBufferView): void;\n addEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDataChannel: {\n prototype: RTCDataChannel;\n new(): RTCDataChannel;\n};\n\ninterface RTCDataChannelEvent extends Event {\n readonly channel: RTCDataChannel;\n}\n\ndeclare var RTCDataChannelEvent: {\n prototype: RTCDataChannelEvent;\n new(type: string, eventInitDict: RTCDataChannelEventInit): RTCDataChannelEvent;\n};\n\ninterface RTCDtlsTransportEventMap {\n "error": RTCErrorEvent;\n "statechange": Event;\n}\n\ninterface RTCDtlsTransport extends EventTarget {\n readonly iceTransport: RTCIceTransport;\n onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;\n onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n readonly state: RTCDtlsTransportState;\n getRemoteCertificates(): ArrayBuffer[];\n addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDtlsTransport: {\n prototype: RTCDtlsTransport;\n new(): RTCDtlsTransport;\n};\n\ninterface RTCDtlsTransportStateChangedEvent extends Event {\n readonly state: RTCDtlsTransportState;\n}\n\ndeclare var RTCDtlsTransportStateChangedEvent: {\n prototype: RTCDtlsTransportStateChangedEvent;\n new(): RTCDtlsTransportStateChangedEvent;\n};\n\ninterface RTCDtmfSenderEventMap {\n "tonechange": RTCDTMFToneChangeEvent;\n}\n\ninterface RTCDtmfSender extends EventTarget {\n readonly canInsertDTMF: boolean;\n readonly duration: number;\n readonly interToneGap: number;\n ontonechange: ((this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n readonly sender: RTCRtpSender;\n readonly toneBuffer: string;\n insertDTMF(tones: string, duration?: number, interToneGap?: number): void;\n addEventListener<K extends keyof RTCDtmfSenderEventMap>(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDtmfSenderEventMap>(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDtmfSender: {\n prototype: RTCDtmfSender;\n new(sender: RTCRtpSender): RTCDtmfSender;\n};\n\ninterface RTCError extends DOMException {\n readonly errorDetail: RTCErrorDetailType;\n readonly httpRequestStatusCode: number | null;\n readonly receivedAlert: number | null;\n readonly sctpCauseCode: number | null;\n readonly sdpLineNumber: number | null;\n readonly sentAlert: number | null;\n}\n\ndeclare var RTCError: {\n prototype: RTCError;\n new(init: RTCErrorInit, message?: string): RTCError;\n};\n\ninterface RTCErrorEvent extends Event {\n readonly error: RTCError;\n}\n\ndeclare var RTCErrorEvent: {\n prototype: RTCErrorEvent;\n new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent;\n};\n\n/** The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection. */\ninterface RTCIceCandidate {\n readonly candidate: string;\n readonly component: RTCIceComponent | null;\n readonly foundation: string | null;\n readonly port: number | null;\n readonly priority: number | null;\n readonly protocol: RTCIceProtocol | null;\n readonly relatedAddress: string | null;\n readonly relatedPort: number | null;\n readonly sdpMLineIndex: number | null;\n readonly sdpMid: string | null;\n readonly tcpType: RTCIceTcpCandidateType | null;\n readonly type: RTCIceCandidateType | null;\n readonly usernameFragment: string | null;\n toJSON(): RTCIceCandidateInit;\n}\n\ndeclare var RTCIceCandidate: {\n prototype: RTCIceCandidate;\n new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;\n};\n\ninterface RTCIceCandidatePairChangedEvent extends Event {\n readonly pair: RTCIceCandidatePair;\n}\n\ndeclare var RTCIceCandidatePairChangedEvent: {\n prototype: RTCIceCandidatePairChangedEvent;\n new(): RTCIceCandidatePairChangedEvent;\n};\n\ninterface RTCIceGathererEventMap {\n "error": Event;\n "localcandidate": RTCIceGathererEvent;\n}\n\ninterface RTCIceGatherer extends RTCStatsProvider {\n readonly component: RTCIceComponent;\n onerror: ((this: RTCIceGatherer, ev: Event) => any) | null;\n onlocalcandidate: ((this: RTCIceGatherer, ev: RTCIceGathererEvent) => any) | null;\n createAssociatedGatherer(): RTCIceGatherer;\n getLocalCandidates(): RTCIceCandidateDictionary[];\n getLocalParameters(): RTCIceParameters;\n addEventListener<K extends keyof RTCIceGathererEventMap>(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCIceGathererEventMap>(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCIceGatherer: {\n prototype: RTCIceGatherer;\n new(options: RTCIceGatherOptions): RTCIceGatherer;\n};\n\ninterface RTCIceGathererEvent extends Event {\n readonly candidate: RTCIceCandidateDictionary | RTCIceCandidateComplete;\n}\n\ndeclare var RTCIceGathererEvent: {\n prototype: RTCIceGathererEvent;\n new(): RTCIceGathererEvent;\n};\n\ninterface RTCIceTransportEventMap {\n "gatheringstatechange": Event;\n "selectedcandidatepairchange": Event;\n "statechange": Event;\n}\n\n/** Provides access to information about the ICE transport layer over which the data is being sent and received. */\ninterface RTCIceTransport extends EventTarget {\n readonly component: RTCIceComponent;\n readonly gatheringState: RTCIceGathererState;\n ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;\n onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n readonly role: RTCIceRole;\n readonly state: RTCIceTransportState;\n getLocalCandidates(): RTCIceCandidate[];\n getLocalParameters(): RTCIceParameters | null;\n getRemoteCandidates(): RTCIceCandidate[];\n getRemoteParameters(): RTCIceParameters | null;\n getSelectedCandidatePair(): RTCIceCandidatePair | null;\n addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCIceTransport: {\n prototype: RTCIceTransport;\n new(): RTCIceTransport;\n};\n\ninterface RTCIceTransportStateChangedEvent extends Event {\n readonly state: RTCIceTransportState;\n}\n\ndeclare var RTCIceTransportStateChangedEvent: {\n prototype: RTCIceTransportStateChangedEvent;\n new(): RTCIceTransportStateChangedEvent;\n};\n\ninterface RTCIdentityAssertion {\n idp: string;\n name: string;\n}\n\ndeclare var RTCIdentityAssertion: {\n prototype: RTCIdentityAssertion;\n new(idp: string, name: string): RTCIdentityAssertion;\n};\n\ninterface RTCPeerConnectionEventMap {\n "connectionstatechange": Event;\n "datachannel": RTCDataChannelEvent;\n "icecandidate": RTCPeerConnectionIceEvent;\n "icecandidateerror": RTCPeerConnectionIceErrorEvent;\n "iceconnectionstatechange": Event;\n "icegatheringstatechange": Event;\n "negotiationneeded": Event;\n "signalingstatechange": Event;\n "statsended": RTCStatsEvent;\n "track": RTCTrackEvent;\n}\n\n/** A WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it\'s no longer needed. */\ninterface RTCPeerConnection extends EventTarget {\n readonly canTrickleIceCandidates: boolean | null;\n readonly connectionState: RTCPeerConnectionState;\n readonly currentLocalDescription: RTCSessionDescription | null;\n readonly currentRemoteDescription: RTCSessionDescription | null;\n readonly iceConnectionState: RTCIceConnectionState;\n readonly iceGatheringState: RTCIceGatheringState;\n readonly idpErrorInfo: string | null;\n readonly idpLoginUrl: string | null;\n readonly localDescription: RTCSessionDescription | null;\n onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;\n onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;\n onicecandidateerror: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceErrorEvent) => any) | null;\n oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onstatsended: ((this: RTCPeerConnection, ev: RTCStatsEvent) => any) | null;\n ontrack: ((this: RTCPeerConnection, ev: RTCTrackEvent) => any) | null;\n readonly peerIdentity: Promise<RTCIdentityAssertion>;\n readonly pendingLocalDescription: RTCSessionDescription | null;\n readonly pendingRemoteDescription: RTCSessionDescription | null;\n readonly remoteDescription: RTCSessionDescription | null;\n readonly sctp: RTCSctpTransport | null;\n readonly signalingState: RTCSignalingState;\n addIceCandidate(candidate: RTCIceCandidateInit | RTCIceCandidate): Promise<void>;\n addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;\n addTransceiver(trackOrKind: MediaStreamTrack | string, init?: RTCRtpTransceiverInit): RTCRtpTransceiver;\n close(): void;\n createAnswer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n createDataChannel(label: string, dataChannelDict?: RTCDataChannelInit): RTCDataChannel;\n createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n getConfiguration(): RTCConfiguration;\n getIdentityAssertion(): Promise<string>;\n getReceivers(): RTCRtpReceiver[];\n getSenders(): RTCRtpSender[];\n getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>;\n getTransceivers(): RTCRtpTransceiver[];\n removeTrack(sender: RTCRtpSender): void;\n setConfiguration(configuration: RTCConfiguration): void;\n setIdentityProvider(provider: string, options?: RTCIdentityProviderOptions): void;\n setLocalDescription(description: RTCSessionDescriptionInit): Promise<void>;\n setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>;\n addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCPeerConnection: {\n prototype: RTCPeerConnection;\n new(configuration?: RTCConfiguration): RTCPeerConnection;\n generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;\n getDefaultIceServers(): RTCIceServer[];\n};\n\ninterface RTCPeerConnectionIceErrorEvent extends Event {\n readonly errorCode: number;\n readonly errorText: string;\n readonly hostCandidate: string;\n readonly url: string;\n}\n\ndeclare var RTCPeerConnectionIceErrorEvent: {\n prototype: RTCPeerConnectionIceErrorEvent;\n new(type: string, eventInitDict: RTCPeerConnectionIceErrorEventInit): RTCPeerConnectionIceErrorEvent;\n};\n\n/** Events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection. Only one event is of this type: icecandidate. */\ninterface RTCPeerConnectionIceEvent extends Event {\n readonly candidate: RTCIceCandidate | null;\n readonly url: string | null;\n}\n\ndeclare var RTCPeerConnectionIceEvent: {\n prototype: RTCPeerConnectionIceEvent;\n new(type: string, eventInitDict?: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent;\n};\n\n/** This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection. */\ninterface RTCRtpReceiver {\n readonly rtcpTransport: RTCDtlsTransport | null;\n readonly track: MediaStreamTrack;\n readonly transport: RTCDtlsTransport | null;\n getContributingSources(): RTCRtpContributingSource[];\n getParameters(): RTCRtpReceiveParameters;\n getStats(): Promise<RTCStatsReport>;\n getSynchronizationSources(): RTCRtpSynchronizationSource[];\n}\n\ndeclare var RTCRtpReceiver: {\n prototype: RTCRtpReceiver;\n new(): RTCRtpReceiver;\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\n/** Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. */\ninterface RTCRtpSender {\n readonly dtmf: RTCDTMFSender | null;\n readonly rtcpTransport: RTCDtlsTransport | null;\n readonly track: MediaStreamTrack | null;\n readonly transport: RTCDtlsTransport | null;\n getParameters(): RTCRtpSendParameters;\n getStats(): Promise<RTCStatsReport>;\n replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;\n setParameters(parameters: RTCRtpSendParameters): Promise<void>;\n setStreams(...streams: MediaStream[]): void;\n}\n\ndeclare var RTCRtpSender: {\n prototype: RTCRtpSender;\n new(): RTCRtpSender;\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\ninterface RTCRtpTransceiver {\n readonly currentDirection: RTCRtpTransceiverDirection | null;\n direction: RTCRtpTransceiverDirection;\n readonly mid: string | null;\n readonly receiver: RTCRtpReceiver;\n readonly sender: RTCRtpSender;\n setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;\n stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n prototype: RTCRtpTransceiver;\n new(): RTCRtpTransceiver;\n};\n\ninterface RTCSctpTransportEventMap {\n "statechange": Event;\n}\n\ninterface RTCSctpTransport extends EventTarget {\n readonly maxChannels: number | null;\n readonly maxMessageSize: number;\n onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;\n readonly state: RTCSctpTransportState;\n readonly transport: RTCDtlsTransport;\n addEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCSctpTransport: {\n prototype: RTCSctpTransport;\n new(): RTCSctpTransport;\n};\n\n/** One end of a connection—or potential connection—and how it\'s configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. */\ninterface RTCSessionDescription {\n readonly sdp: string;\n readonly type: RTCSdpType;\n toJSON(): any;\n}\n\ndeclare var RTCSessionDescription: {\n prototype: RTCSessionDescription;\n new(descriptionInitDict?: RTCSessionDescriptionInit): RTCSessionDescription;\n};\n\ninterface RTCSrtpSdesTransportEventMap {\n "error": Event;\n}\n\ninterface RTCSrtpSdesTransport extends EventTarget {\n onerror: ((this: RTCSrtpSdesTransport, ev: Event) => any) | null;\n readonly transport: RTCIceTransport;\n addEventListener<K extends keyof RTCSrtpSdesTransportEventMap>(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCSrtpSdesTransportEventMap>(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCSrtpSdesTransport: {\n prototype: RTCSrtpSdesTransport;\n new(transport: RTCIceTransport, encryptParameters: RTCSrtpSdesParameters, decryptParameters: RTCSrtpSdesParameters): RTCSrtpSdesTransport;\n getLocalParameters(): RTCSrtpSdesParameters[];\n};\n\ninterface RTCSsrcConflictEvent extends Event {\n readonly ssrc: number;\n}\n\ndeclare var RTCSsrcConflictEvent: {\n prototype: RTCSsrcConflictEvent;\n new(): RTCSsrcConflictEvent;\n};\n\ninterface RTCStatsEvent extends Event {\n readonly report: RTCStatsReport;\n}\n\ndeclare var RTCStatsEvent: {\n prototype: RTCStatsEvent;\n new(type: string, eventInitDict: RTCStatsEventInit): RTCStatsEvent;\n};\n\ninterface RTCStatsProvider extends EventTarget {\n getStats(): Promise<RTCStatsReport>;\n msGetStats(): Promise<RTCStatsReport>;\n}\n\ndeclare var RTCStatsProvider: {\n prototype: RTCStatsProvider;\n new(): RTCStatsProvider;\n};\n\ninterface RTCStatsReport {\n forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void;\n}\n\ndeclare var RTCStatsReport: {\n prototype: RTCStatsReport;\n new(): RTCStatsReport;\n};\n\ninterface RTCTrackEvent extends Event {\n readonly receiver: RTCRtpReceiver;\n readonly streams: ReadonlyArray<MediaStream>;\n readonly track: MediaStreamTrack;\n readonly transceiver: RTCRtpTransceiver;\n}\n\ndeclare var RTCTrackEvent: {\n prototype: RTCTrackEvent;\n new(type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent;\n};\n\ninterface RadioNodeList extends NodeList {\n value: string;\n}\n\ndeclare var RadioNodeList: {\n prototype: RadioNodeList;\n new(): RadioNodeList;\n};\n\ninterface RandomSource {\n getRandomValues<T extends Int8Array | Uint8ClampedArray | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array>(array: T): T;\n}\n\ndeclare var RandomSource: {\n prototype: RandomSource;\n new(): RandomSource;\n};\n\n/** A fragment of a document that can contain nodes and parts of text nodes. */\ninterface Range extends AbstractRange {\n /**\n * Returns the node, furthest away from the document, that is an ancestor of both range\'s start node and end node.\n */\n readonly commonAncestorContainer: Node;\n cloneContents(): DocumentFragment;\n cloneRange(): Range;\n collapse(toStart?: boolean): void;\n compareBoundaryPoints(how: number, sourceRange: Range): number;\n /**\n * Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.\n */\n comparePoint(node: Node, offset: number): number;\n createContextualFragment(fragment: string): DocumentFragment;\n deleteContents(): void;\n detach(): void;\n extractContents(): DocumentFragment;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n insertNode(node: Node): void;\n /**\n * Returns whether range intersects node.\n */\n intersectsNode(node: Node): boolean;\n isPointInRange(node: Node, offset: number): boolean;\n selectNode(node: Node): void;\n selectNodeContents(node: Node): void;\n setEnd(node: Node, offset: number): void;\n setEndAfter(node: Node): void;\n setEndBefore(node: Node): void;\n setStart(node: Node, offset: number): void;\n setStartAfter(node: Node): void;\n setStartBefore(node: Node): void;\n surroundContents(newParent: Node): void;\n toString(): string;\n readonly END_TO_END: number;\n readonly END_TO_START: number;\n readonly START_TO_END: number;\n readonly START_TO_START: number;\n}\n\ndeclare var Range: {\n prototype: Range;\n new(): Range;\n readonly END_TO_END: number;\n readonly END_TO_START: number;\n readonly START_TO_END: number;\n readonly START_TO_START: number;\n toString(): string;\n};\n\ninterface ReadableByteStreamController {\n readonly byobRequest: ReadableStreamBYOBRequest | undefined;\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: ArrayBufferView): void;\n error(error?: any): void;\n}\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n readonly locked: boolean;\n cancel(reason?: any): Promise<void>;\n getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n pipeThrough<T>({ writable, readable }: { writable: WritableStream<R>, readable: ReadableStream<T> }, options?: PipeOptions): ReadableStream<T>;\n pipeTo(dest: WritableStream<R>, options?: PipeOptions): Promise<void>;\n tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number, size?: undefined }): ReadableStream<Uint8Array>;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamBYOBRequest {\n readonly view: ArrayBufferView;\n respond(bytesWritten: number): void;\n respondWithNewView(view: ArrayBufferView): void;\n}\n\ninterface ReadableStreamDefaultController<R = any> {\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: R): void;\n error(error?: any): void;\n}\n\ninterface ReadableStreamDefaultReader<R = any> {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamReader<R = any> {\n cancel(): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamReader: {\n prototype: ReadableStreamReader;\n new(): ReadableStreamReader;\n};\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n /**\n * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser\'s cache when fetching.\n */\n readonly cache: RequestCache;\n /**\n * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.\n */\n readonly credentials: RequestCredentials;\n /**\n * Returns the kind of resource requested by request, e.g., "document" or "script".\n */\n readonly destination: RequestDestination;\n /**\n * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.\n */\n readonly headers: Headers;\n /**\n * Returns request\'s subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]\n */\n readonly integrity: string;\n /**\n * Returns a boolean indicating whether or not request is for a history navigation (a.k.a. back-foward navigation).\n */\n readonly isHistoryNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request is for a reload navigation.\n */\n readonly isReloadNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request can outlive the global in which it was created.\n */\n readonly keepalive: boolean;\n /**\n * Returns request\'s HTTP method, which is "GET" by default.\n */\n readonly method: string;\n /**\n * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.\n */\n readonly mode: RequestMode;\n /**\n * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.\n */\n readonly redirect: RequestRedirect;\n /**\n * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global\'s default. This is used during fetching to determine the value of the `Referer` header of the request being made.\n */\n readonly referrer: string;\n /**\n * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer.\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.\n */\n readonly signal: AbortSignal;\n /**\n * Returns the URL of request as a string.\n */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo, init?: RequestInit): Request;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n readonly headers: Headers;\n readonly ok: boolean;\n readonly redirected: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly trailer: Promise<Headers>;\n readonly type: ResponseType;\n readonly url: string;\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n error(): Response;\n redirect(url: string, status?: number): Response;\n};\n\n/** Provides access to the properties of <a> element, as well as methods to manipulate them. */\ninterface SVGAElement extends SVGGraphicsElement, SVGURIReference {\n readonly target: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAElement: {\n prototype: SVGAElement;\n new(): SVGAElement;\n};\n\n/** Used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only. */\ninterface SVGAngle {\n readonly unitType: number;\n value: number;\n valueAsString: string;\n valueInSpecifiedUnits: number;\n convertToSpecifiedUnits(unitType: number): void;\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n readonly SVG_ANGLETYPE_DEG: number;\n readonly SVG_ANGLETYPE_GRAD: number;\n readonly SVG_ANGLETYPE_RAD: number;\n readonly SVG_ANGLETYPE_UNKNOWN: number;\n readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n}\n\ndeclare var SVGAngle: {\n prototype: SVGAngle;\n new(): SVGAngle;\n readonly SVG_ANGLETYPE_DEG: number;\n readonly SVG_ANGLETYPE_GRAD: number;\n readonly SVG_ANGLETYPE_RAD: number;\n readonly SVG_ANGLETYPE_UNKNOWN: number;\n readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n};\n\ninterface SVGAnimateElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateElement: {\n prototype: SVGAnimateElement;\n new(): SVGAnimateElement;\n};\n\ninterface SVGAnimateMotionElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateMotionElement: {\n prototype: SVGAnimateMotionElement;\n new(): SVGAnimateMotionElement;\n};\n\ninterface SVGAnimateTransformElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateTransformElement: {\n prototype: SVGAnimateTransformElement;\n new(): SVGAnimateTransformElement;\n};\n\n/** Used for attributes of basic type <angle> which can be animated. */\ninterface SVGAnimatedAngle {\n readonly animVal: SVGAngle;\n readonly baseVal: SVGAngle;\n}\n\ndeclare var SVGAnimatedAngle: {\n prototype: SVGAnimatedAngle;\n new(): SVGAnimatedAngle;\n};\n\n/** Used for attributes of type boolean which can be animated. */\ninterface SVGAnimatedBoolean {\n readonly animVal: boolean;\n baseVal: boolean;\n}\n\ndeclare var SVGAnimatedBoolean: {\n prototype: SVGAnimatedBoolean;\n new(): SVGAnimatedBoolean;\n};\n\n/** Used for attributes whose value must be a constant from a particular enumeration and which can be animated. */\ninterface SVGAnimatedEnumeration {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedEnumeration: {\n prototype: SVGAnimatedEnumeration;\n new(): SVGAnimatedEnumeration;\n};\n\n/** Used for attributes of basic type <integer> which can be animated. */\ninterface SVGAnimatedInteger {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedInteger: {\n prototype: SVGAnimatedInteger;\n new(): SVGAnimatedInteger;\n};\n\n/** Used for attributes of basic type <length> which can be animated. */\ninterface SVGAnimatedLength {\n readonly animVal: SVGLength;\n readonly baseVal: SVGLength;\n}\n\ndeclare var SVGAnimatedLength: {\n prototype: SVGAnimatedLength;\n new(): SVGAnimatedLength;\n};\n\n/** Used for attributes of type SVGLengthList which can be animated. */\ninterface SVGAnimatedLengthList {\n readonly animVal: SVGLengthList;\n readonly baseVal: SVGLengthList;\n}\n\ndeclare var SVGAnimatedLengthList: {\n prototype: SVGAnimatedLengthList;\n new(): SVGAnimatedLengthList;\n};\n\n/** Used for attributes of basic type <Number> which can be animated. */\ninterface SVGAnimatedNumber {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedNumber: {\n prototype: SVGAnimatedNumber;\n new(): SVGAnimatedNumber;\n};\n\n/** The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedNumberList {\n readonly animVal: SVGNumberList;\n readonly baseVal: SVGNumberList;\n}\n\ndeclare var SVGAnimatedNumberList: {\n prototype: SVGAnimatedNumberList;\n new(): SVGAnimatedNumberList;\n};\n\ninterface SVGAnimatedPoints {\n readonly animatedPoints: SVGPointList;\n readonly points: SVGPointList;\n}\n\n/** Used for attributes of type SVGPreserveAspectRatio which can be animated. */\ninterface SVGAnimatedPreserveAspectRatio {\n readonly animVal: SVGPreserveAspectRatio;\n readonly baseVal: SVGPreserveAspectRatio;\n}\n\ndeclare var SVGAnimatedPreserveAspectRatio: {\n prototype: SVGAnimatedPreserveAspectRatio;\n new(): SVGAnimatedPreserveAspectRatio;\n};\n\n/** Used for attributes of basic SVGRect which can be animated. */\ninterface SVGAnimatedRect {\n readonly animVal: DOMRectReadOnly;\n readonly baseVal: DOMRect;\n}\n\ndeclare var SVGAnimatedRect: {\n prototype: SVGAnimatedRect;\n new(): SVGAnimatedRect;\n};\n\n/** The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this. */\ninterface SVGAnimatedString {\n readonly animVal: string;\n baseVal: string;\n}\n\ndeclare var SVGAnimatedString: {\n prototype: SVGAnimatedString;\n new(): SVGAnimatedString;\n};\n\n/** Used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedTransformList {\n readonly animVal: SVGTransformList;\n readonly baseVal: SVGTransformList;\n}\n\ndeclare var SVGAnimatedTransformList: {\n prototype: SVGAnimatedTransformList;\n new(): SVGAnimatedTransformList;\n};\n\ninterface SVGAnimationElement extends SVGElement {\n readonly targetElement: SVGElement;\n getCurrentTime(): number;\n getSimpleDuration(): number;\n getStartTime(): number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimationElement: {\n prototype: SVGAnimationElement;\n new(): SVGAnimationElement;\n};\n\n/** An interface for the <circle> element. The circle element is defined by the cx and cy attributes that denote the coordinates of the centre of the circle. */\ninterface SVGCircleElement extends SVGGeometryElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly r: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGCircleElement: {\n prototype: SVGCircleElement;\n new(): SVGCircleElement;\n};\n\n/** Provides access to the properties of <clipPath> elements, as well as methods to manipulate them. */\ninterface SVGClipPathElement extends SVGElement {\n readonly clipPathUnits: SVGAnimatedEnumeration;\n readonly transform: SVGAnimatedTransformList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGClipPathElement: {\n prototype: SVGClipPathElement;\n new(): SVGClipPathElement;\n};\n\n/** A base interface used by the component transfer function interfaces. */\ninterface SVGComponentTransferFunctionElement extends SVGElement {\n readonly amplitude: SVGAnimatedNumber;\n readonly exponent: SVGAnimatedNumber;\n readonly intercept: SVGAnimatedNumber;\n readonly offset: SVGAnimatedNumber;\n readonly slope: SVGAnimatedNumber;\n readonly tableValues: SVGAnimatedNumberList;\n readonly type: SVGAnimatedEnumeration;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGComponentTransferFunctionElement: {\n prototype: SVGComponentTransferFunctionElement;\n new(): SVGComponentTransferFunctionElement;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\n};\n\ninterface SVGCursorElement extends SVGElement {\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCursorElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCursorElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGCursorElement: {\n prototype: SVGCursorElement;\n new(): SVGCursorElement;\n};\n\n/** Corresponds to the <defs> element. */\ninterface SVGDefsElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDefsElement: {\n prototype: SVGDefsElement;\n new(): SVGDefsElement;\n};\n\n/** Corresponds to the <desc> element. */\ninterface SVGDescElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDescElement: {\n prototype: SVGDescElement;\n new(): SVGDescElement;\n};\n\ninterface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap {\n}\n\n/** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */\ninterface SVGElement extends Element, DocumentAndElementEventHandlers, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, GlobalEventHandlers, HTMLOrSVGElement, SVGElementInstance {\n /** @deprecated */\n readonly className: any;\n readonly ownerSVGElement: SVGSVGElement | null;\n readonly viewportElement: SVGElement | null;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGElement: {\n prototype: SVGElement;\n new(): SVGElement;\n};\n\ninterface SVGElementInstance extends EventTarget {\n readonly correspondingElement: SVGElement;\n readonly correspondingUseElement: SVGUseElement;\n}\n\ndeclare var SVGElementInstance: {\n prototype: SVGElementInstance;\n new(): SVGElementInstance;\n};\n\ninterface SVGElementInstanceList {\n /** @deprecated */\n readonly length: number;\n /** @deprecated */\n item(index: number): SVGElementInstance;\n}\n\ndeclare var SVGElementInstanceList: {\n prototype: SVGElementInstanceList;\n new(): SVGElementInstanceList;\n};\n\n/** Provides access to the properties of <ellipse> elements. */\ninterface SVGEllipseElement extends SVGGeometryElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly rx: SVGAnimatedLength;\n readonly ry: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGEllipseElement: {\n prototype: SVGEllipseElement;\n new(): SVGEllipseElement;\n};\n\n/** Corresponds to the <feBlend> element. */\ninterface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly mode: SVGAnimatedEnumeration;\n readonly SVG_FEBLEND_MODE_COLOR: number;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n readonly SVG_FEBLEND_MODE_DARKEN: number;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n readonly SVG_FEBLEND_MODE_HUE: number;\n readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n readonly SVG_FEBLEND_MODE_NORMAL: number;\n readonly SVG_FEBLEND_MODE_OVERLAY: number;\n readonly SVG_FEBLEND_MODE_SATURATION: number;\n readonly SVG_FEBLEND_MODE_SCREEN: number;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n readonly SVG_FEBLEND_MODE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEBlendElement: {\n prototype: SVGFEBlendElement;\n new(): SVGFEBlendElement;\n readonly SVG_FEBLEND_MODE_COLOR: number;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n readonly SVG_FEBLEND_MODE_DARKEN: number;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n readonly SVG_FEBLEND_MODE_HUE: number;\n readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n readonly SVG_FEBLEND_MODE_NORMAL: number;\n readonly SVG_FEBLEND_MODE_OVERLAY: number;\n readonly SVG_FEBLEND_MODE_SATURATION: number;\n readonly SVG_FEBLEND_MODE_SCREEN: number;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n readonly SVG_FEBLEND_MODE_UNKNOWN: number;\n};\n\n/** Corresponds to the <feColorMatrix> element. */\ninterface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly type: SVGAnimatedEnumeration;\n readonly values: SVGAnimatedNumberList;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEColorMatrixElement: {\n prototype: SVGFEColorMatrixElement;\n new(): SVGFEColorMatrixElement;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\n};\n\n/** Corresponds to the <feComponentTransfer> element. */\ninterface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEComponentTransferElement: {\n prototype: SVGFEComponentTransferElement;\n new(): SVGFEComponentTransferElement;\n};\n\n/** Corresponds to the <feComposite> element. */\ninterface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly k1: SVGAnimatedNumber;\n readonly k2: SVGAnimatedNumber;\n readonly k3: SVGAnimatedNumber;\n readonly k4: SVGAnimatedNumber;\n readonly operator: SVGAnimatedEnumeration;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFECompositeElement: {\n prototype: SVGFECompositeElement;\n new(): SVGFECompositeElement;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\n};\n\n/** Corresponds to the <feConvolveMatrix> element. */\ninterface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly bias: SVGAnimatedNumber;\n readonly divisor: SVGAnimatedNumber;\n readonly edgeMode: SVGAnimatedEnumeration;\n readonly in1: SVGAnimatedString;\n readonly kernelMatrix: SVGAnimatedNumberList;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly orderX: SVGAnimatedInteger;\n readonly orderY: SVGAnimatedInteger;\n readonly preserveAlpha: SVGAnimatedBoolean;\n readonly targetX: SVGAnimatedInteger;\n readonly targetY: SVGAnimatedInteger;\n readonly SVG_EDGEMODE_DUPLICATE: number;\n readonly SVG_EDGEMODE_NONE: number;\n readonly SVG_EDGEMODE_UNKNOWN: number;\n readonly SVG_EDGEMODE_WRAP: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEConvolveMatrixElement: {\n prototype: SVGFEConvolveMatrixElement;\n new(): SVGFEConvolveMatrixElement;\n readonly SVG_EDGEMODE_DUPLICATE: number;\n readonly SVG_EDGEMODE_NONE: number;\n readonly SVG_EDGEMODE_UNKNOWN: number;\n readonly SVG_EDGEMODE_WRAP: number;\n};\n\n/** Corresponds to the <feDiffuseLighting> element. */\ninterface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly diffuseConstant: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly surfaceScale: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDiffuseLightingElement: {\n prototype: SVGFEDiffuseLightingElement;\n new(): SVGFEDiffuseLightingElement;\n};\n\n/** Corresponds to the <feDisplacementMap> element. */\ninterface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly scale: SVGAnimatedNumber;\n readonly xChannelSelector: SVGAnimatedEnumeration;\n readonly yChannelSelector: SVGAnimatedEnumeration;\n readonly SVG_CHANNEL_A: number;\n readonly SVG_CHANNEL_B: number;\n readonly SVG_CHANNEL_G: number;\n readonly SVG_CHANNEL_R: number;\n readonly SVG_CHANNEL_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDisplacementMapElement: {\n prototype: SVGFEDisplacementMapElement;\n new(): SVGFEDisplacementMapElement;\n readonly SVG_CHANNEL_A: number;\n readonly SVG_CHANNEL_B: number;\n readonly SVG_CHANNEL_G: number;\n readonly SVG_CHANNEL_R: number;\n readonly SVG_CHANNEL_UNKNOWN: number;\n};\n\n/** Corresponds to the <feDistantLight> element. */\ninterface SVGFEDistantLightElement extends SVGElement {\n readonly azimuth: SVGAnimatedNumber;\n readonly elevation: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDistantLightElement: {\n prototype: SVGFEDistantLightElement;\n new(): SVGFEDistantLightElement;\n};\n\ninterface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly dx: SVGAnimatedNumber;\n readonly dy: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n readonly stdDeviationX: SVGAnimatedNumber;\n readonly stdDeviationY: SVGAnimatedNumber;\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDropShadowElement: {\n prototype: SVGFEDropShadowElement;\n new(): SVGFEDropShadowElement;\n};\n\n/** Corresponds to the <feFlood> element. */\ninterface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFloodElement: {\n prototype: SVGFEFloodElement;\n new(): SVGFEFloodElement;\n};\n\n/** Corresponds to the <feFuncA> element. */\ninterface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncAElement: {\n prototype: SVGFEFuncAElement;\n new(): SVGFEFuncAElement;\n};\n\n/** Corresponds to the <feFuncB> element. */\ninterface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncBElement: {\n prototype: SVGFEFuncBElement;\n new(): SVGFEFuncBElement;\n};\n\n/** Corresponds to the <feFuncG> element. */\ninterface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncGElement: {\n prototype: SVGFEFuncGElement;\n new(): SVGFEFuncGElement;\n};\n\n/** Corresponds to the <feFuncR> element. */\ninterface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncRElement: {\n prototype: SVGFEFuncRElement;\n new(): SVGFEFuncRElement;\n};\n\n/** Corresponds to the <feGaussianBlur> element. */\ninterface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly stdDeviationX: SVGAnimatedNumber;\n readonly stdDeviationY: SVGAnimatedNumber;\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEGaussianBlurElement: {\n prototype: SVGFEGaussianBlurElement;\n new(): SVGFEGaussianBlurElement;\n};\n\n/** Corresponds to the <feImage> element. */\ninterface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference {\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEImageElement: {\n prototype: SVGFEImageElement;\n new(): SVGFEImageElement;\n};\n\n/** Corresponds to the <feMerge> element. */\ninterface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeElement: {\n prototype: SVGFEMergeElement;\n new(): SVGFEMergeElement;\n};\n\n/** Corresponds to the <feMergeNode> element. */\ninterface SVGFEMergeNodeElement extends SVGElement {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeNodeElement: {\n prototype: SVGFEMergeNodeElement;\n new(): SVGFEMergeNodeElement;\n};\n\n/** Corresponds to the <feMorphology> element. */\ninterface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly operator: SVGAnimatedEnumeration;\n readonly radiusX: SVGAnimatedNumber;\n readonly radiusY: SVGAnimatedNumber;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMorphologyElement: {\n prototype: SVGFEMorphologyElement;\n new(): SVGFEMorphologyElement;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\n};\n\n/** Corresponds to the <feOffset> element. */\ninterface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly dx: SVGAnimatedNumber;\n readonly dy: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEOffsetElement: {\n prototype: SVGFEOffsetElement;\n new(): SVGFEOffsetElement;\n};\n\n/** Corresponds to the <fePointLight> element. */\ninterface SVGFEPointLightElement extends SVGElement {\n readonly x: SVGAnimatedNumber;\n readonly y: SVGAnimatedNumber;\n readonly z: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEPointLightElement: {\n prototype: SVGFEPointLightElement;\n new(): SVGFEPointLightElement;\n};\n\n/** Corresponds to the <feSpecularLighting> element. */\ninterface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly specularConstant: SVGAnimatedNumber;\n readonly specularExponent: SVGAnimatedNumber;\n readonly surfaceScale: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpecularLightingElement: {\n prototype: SVGFESpecularLightingElement;\n new(): SVGFESpecularLightingElement;\n};\n\n/** Corresponds to the <feSpotLight> element. */\ninterface SVGFESpotLightElement extends SVGElement {\n readonly limitingConeAngle: SVGAnimatedNumber;\n readonly pointsAtX: SVGAnimatedNumber;\n readonly pointsAtY: SVGAnimatedNumber;\n readonly pointsAtZ: SVGAnimatedNumber;\n readonly specularExponent: SVGAnimatedNumber;\n readonly x: SVGAnimatedNumber;\n readonly y: SVGAnimatedNumber;\n readonly z: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpotLightElement: {\n prototype: SVGFESpotLightElement;\n new(): SVGFESpotLightElement;\n};\n\n/** Corresponds to the <feTile> element. */\ninterface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETileElement: {\n prototype: SVGFETileElement;\n new(): SVGFETileElement;\n};\n\n/** Corresponds to the <feTurbulence> element. */\ninterface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly baseFrequencyX: SVGAnimatedNumber;\n readonly baseFrequencyY: SVGAnimatedNumber;\n readonly numOctaves: SVGAnimatedInteger;\n readonly seed: SVGAnimatedNumber;\n readonly stitchTiles: SVGAnimatedEnumeration;\n readonly type: SVGAnimatedEnumeration;\n readonly SVG_STITCHTYPE_NOSTITCH: number;\n readonly SVG_STITCHTYPE_STITCH: number;\n readonly SVG_STITCHTYPE_UNKNOWN: number;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETurbulenceElement: {\n prototype: SVGFETurbulenceElement;\n new(): SVGFETurbulenceElement;\n readonly SVG_STITCHTYPE_NOSTITCH: number;\n readonly SVG_STITCHTYPE_STITCH: number;\n readonly SVG_STITCHTYPE_UNKNOWN: number;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\n};\n\n/** Provides access to the properties of <filter> elements, as well as methods to manipulate them. */\ninterface SVGFilterElement extends SVGElement, SVGURIReference {\n readonly filterUnits: SVGAnimatedEnumeration;\n readonly height: SVGAnimatedLength;\n readonly primitiveUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFilterElement: {\n prototype: SVGFilterElement;\n new(): SVGFilterElement;\n};\n\ninterface SVGFilterPrimitiveStandardAttributes {\n readonly height: SVGAnimatedLength;\n readonly result: SVGAnimatedString;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n}\n\ninterface SVGFitToViewBox {\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n readonly viewBox: SVGAnimatedRect;\n}\n\n/** Provides access to the properties of <foreignObject> elements, as well as methods to manipulate them. */\ninterface SVGForeignObjectElement extends SVGGraphicsElement {\n readonly height: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGForeignObjectElement: {\n prototype: SVGForeignObjectElement;\n new(): SVGForeignObjectElement;\n};\n\n/** Corresponds to the <g> element. */\ninterface SVGGElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGElement: {\n prototype: SVGGElement;\n new(): SVGGElement;\n};\n\ninterface SVGGeometryElement extends SVGGraphicsElement {\n readonly pathLength: SVGAnimatedNumber;\n getPointAtLength(distance: number): DOMPoint;\n getTotalLength(): number;\n isPointInFill(point?: DOMPointInit): boolean;\n isPointInStroke(point?: DOMPointInit): boolean;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGeometryElement: {\n prototype: SVGGeometryElement;\n new(): SVGGeometryElement;\n};\n\n/** The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement. */\ninterface SVGGradientElement extends SVGElement, SVGURIReference {\n readonly gradientTransform: SVGAnimatedTransformList;\n readonly gradientUnits: SVGAnimatedEnumeration;\n readonly spreadMethod: SVGAnimatedEnumeration;\n readonly SVG_SPREADMETHOD_PAD: number;\n readonly SVG_SPREADMETHOD_REFLECT: number;\n readonly SVG_SPREADMETHOD_REPEAT: number;\n readonly SVG_SPREADMETHOD_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGradientElement: {\n prototype: SVGGradientElement;\n new(): SVGGradientElement;\n readonly SVG_SPREADMETHOD_PAD: number;\n readonly SVG_SPREADMETHOD_REFLECT: number;\n readonly SVG_SPREADMETHOD_REPEAT: number;\n readonly SVG_SPREADMETHOD_UNKNOWN: number;\n};\n\n/** SVG elements whose primary purpose is to directly render graphics into a group. */\ninterface SVGGraphicsElement extends SVGElement, SVGTests {\n readonly transform: SVGAnimatedTransformList;\n getBBox(options?: SVGBoundingBoxOptions): DOMRect;\n getCTM(): DOMMatrix | null;\n getScreenCTM(): DOMMatrix | null;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGraphicsElement: {\n prototype: SVGGraphicsElement;\n new(): SVGGraphicsElement;\n};\n\n/** Corresponds to the <image> element. */\ninterface SVGImageElement extends SVGGraphicsElement, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGImageElement: {\n prototype: SVGImageElement;\n new(): SVGImageElement;\n};\n\n/** Correspond to the <length> basic data type. */\ninterface SVGLength {\n readonly unitType: number;\n value: number;\n valueAsString: string;\n valueInSpecifiedUnits: number;\n convertToSpecifiedUnits(unitType: number): void;\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n readonly SVG_LENGTHTYPE_CM: number;\n readonly SVG_LENGTHTYPE_EMS: number;\n readonly SVG_LENGTHTYPE_EXS: number;\n readonly SVG_LENGTHTYPE_IN: number;\n readonly SVG_LENGTHTYPE_MM: number;\n readonly SVG_LENGTHTYPE_NUMBER: number;\n readonly SVG_LENGTHTYPE_PC: number;\n readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n readonly SVG_LENGTHTYPE_PT: number;\n readonly SVG_LENGTHTYPE_PX: number;\n readonly SVG_LENGTHTYPE_UNKNOWN: number;\n}\n\ndeclare var SVGLength: {\n prototype: SVGLength;\n new(): SVGLength;\n readonly SVG_LENGTHTYPE_CM: number;\n readonly SVG_LENGTHTYPE_EMS: number;\n readonly SVG_LENGTHTYPE_EXS: number;\n readonly SVG_LENGTHTYPE_IN: number;\n readonly SVG_LENGTHTYPE_MM: number;\n readonly SVG_LENGTHTYPE_NUMBER: number;\n readonly SVG_LENGTHTYPE_PC: number;\n readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n readonly SVG_LENGTHTYPE_PT: number;\n readonly SVG_LENGTHTYPE_PX: number;\n readonly SVG_LENGTHTYPE_UNKNOWN: number;\n};\n\n/** The SVGLengthList defines a list of SVGLength objects. */\ninterface SVGLengthList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGLength): SVGLength;\n clear(): void;\n getItem(index: number): SVGLength;\n initialize(newItem: SVGLength): SVGLength;\n insertItemBefore(newItem: SVGLength, index: number): SVGLength;\n removeItem(index: number): SVGLength;\n replaceItem(newItem: SVGLength, index: number): SVGLength;\n [index: number]: SVGLength;\n}\n\ndeclare var SVGLengthList: {\n prototype: SVGLengthList;\n new(): SVGLengthList;\n};\n\n/** Provides access to the properties of <line> elements, as well as methods to manipulate them. */\ninterface SVGLineElement extends SVGGeometryElement {\n readonly x1: SVGAnimatedLength;\n readonly x2: SVGAnimatedLength;\n readonly y1: SVGAnimatedLength;\n readonly y2: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLineElement: {\n prototype: SVGLineElement;\n new(): SVGLineElement;\n};\n\n/** Corresponds to the <linearGradient> element. */\ninterface SVGLinearGradientElement extends SVGGradientElement {\n readonly x1: SVGAnimatedLength;\n readonly x2: SVGAnimatedLength;\n readonly y1: SVGAnimatedLength;\n readonly y2: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLinearGradientElement: {\n prototype: SVGLinearGradientElement;\n new(): SVGLinearGradientElement;\n};\n\ninterface SVGMarkerElement extends SVGElement, SVGFitToViewBox {\n readonly markerHeight: SVGAnimatedLength;\n readonly markerUnits: SVGAnimatedEnumeration;\n readonly markerWidth: SVGAnimatedLength;\n readonly orientAngle: SVGAnimatedAngle;\n readonly orientType: SVGAnimatedEnumeration;\n readonly refX: SVGAnimatedLength;\n readonly refY: SVGAnimatedLength;\n setOrientToAngle(angle: SVGAngle): void;\n setOrientToAuto(): void;\n readonly SVG_MARKERUNITS_STROKEWIDTH: number;\n readonly SVG_MARKERUNITS_UNKNOWN: number;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n readonly SVG_MARKER_ORIENT_ANGLE: number;\n readonly SVG_MARKER_ORIENT_AUTO: number;\n readonly SVG_MARKER_ORIENT_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMarkerElement: {\n prototype: SVGMarkerElement;\n new(): SVGMarkerElement;\n readonly SVG_MARKERUNITS_STROKEWIDTH: number;\n readonly SVG_MARKERUNITS_UNKNOWN: number;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n readonly SVG_MARKER_ORIENT_ANGLE: number;\n readonly SVG_MARKER_ORIENT_AUTO: number;\n readonly SVG_MARKER_ORIENT_UNKNOWN: number;\n};\n\n/** Provides access to the properties of <mask> elements, as well as methods to manipulate them. */\ninterface SVGMaskElement extends SVGElement {\n readonly height: SVGAnimatedLength;\n readonly maskContentUnits: SVGAnimatedEnumeration;\n readonly maskUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMaskElement: {\n prototype: SVGMaskElement;\n new(): SVGMaskElement;\n};\n\n/** Corresponds to the <metadata> element. */\ninterface SVGMetadataElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMetadataElement: {\n prototype: SVGMetadataElement;\n new(): SVGMetadataElement;\n};\n\n/** Corresponds to the <number> basic data type. */\ninterface SVGNumber {\n value: number;\n}\n\ndeclare var SVGNumber: {\n prototype: SVGNumber;\n new(): SVGNumber;\n};\n\n/** The SVGNumberList defines a list of SVGNumber objects. */\ninterface SVGNumberList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGNumber): SVGNumber;\n clear(): void;\n getItem(index: number): SVGNumber;\n initialize(newItem: SVGNumber): SVGNumber;\n insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;\n removeItem(index: number): SVGNumber;\n replaceItem(newItem: SVGNumber, index: number): SVGNumber;\n [index: number]: SVGNumber;\n}\n\ndeclare var SVGNumberList: {\n prototype: SVGNumberList;\n new(): SVGNumberList;\n};\n\n/** Corresponds to the <path> element. */\ninterface SVGPathElement extends SVGGraphicsElement {\n /** @deprecated */\n readonly pathSegList: SVGPathSegList;\n /** @deprecated */\n createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs;\n /** @deprecated */\n createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel;\n /** @deprecated */\n createSVGPathSegClosePath(): SVGPathSegClosePath;\n /** @deprecated */\n createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs;\n /** @deprecated */\n createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel;\n /** @deprecated */\n createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs;\n /** @deprecated */\n createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel;\n /** @deprecated */\n createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs;\n /** @deprecated */\n createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs;\n /** @deprecated */\n createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel;\n /** @deprecated */\n createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel;\n /** @deprecated */\n createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs;\n /** @deprecated */\n createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel;\n /** @deprecated */\n createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs;\n /** @deprecated */\n createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel;\n /** @deprecated */\n getPathSegAtLength(distance: number): number;\n getPointAtLength(distance: number): SVGPoint;\n getTotalLength(): number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPathElement: {\n prototype: SVGPathElement;\n new(): SVGPathElement;\n};\n\ninterface SVGPathSeg {\n readonly pathSegType: number;\n readonly pathSegTypeAsLetter: string;\n readonly PATHSEG_ARC_ABS: number;\n readonly PATHSEG_ARC_REL: number;\n readonly PATHSEG_CLOSEPATH: number;\n readonly PATHSEG_CURVETO_CUBIC_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_REL: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;\n readonly PATHSEG_LINETO_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_REL: number;\n readonly PATHSEG_LINETO_REL: number;\n readonly PATHSEG_LINETO_VERTICAL_ABS: number;\n readonly PATHSEG_LINETO_VERTICAL_REL: number;\n readonly PATHSEG_MOVETO_ABS: number;\n readonly PATHSEG_MOVETO_REL: number;\n readonly PATHSEG_UNKNOWN: number;\n}\n\ndeclare var SVGPathSeg: {\n prototype: SVGPathSeg;\n new(): SVGPathSeg;\n readonly PATHSEG_ARC_ABS: number;\n readonly PATHSEG_ARC_REL: number;\n readonly PATHSEG_CLOSEPATH: number;\n readonly PATHSEG_CURVETO_CUBIC_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_REL: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;\n readonly PATHSEG_LINETO_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_REL: number;\n readonly PATHSEG_LINETO_REL: number;\n readonly PATHSEG_LINETO_VERTICAL_ABS: number;\n readonly PATHSEG_LINETO_VERTICAL_REL: number;\n readonly PATHSEG_MOVETO_ABS: number;\n readonly PATHSEG_MOVETO_REL: number;\n readonly PATHSEG_UNKNOWN: number;\n};\n\ninterface SVGPathSegArcAbs extends SVGPathSeg {\n angle: number;\n largeArcFlag: boolean;\n r1: number;\n r2: number;\n sweepFlag: boolean;\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegArcAbs: {\n prototype: SVGPathSegArcAbs;\n new(): SVGPathSegArcAbs;\n};\n\ninterface SVGPathSegArcRel extends SVGPathSeg {\n angle: number;\n largeArcFlag: boolean;\n r1: number;\n r2: number;\n sweepFlag: boolean;\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegArcRel: {\n prototype: SVGPathSegArcRel;\n new(): SVGPathSegArcRel;\n};\n\ninterface SVGPathSegClosePath extends SVGPathSeg {\n}\n\ndeclare var SVGPathSegClosePath: {\n prototype: SVGPathSegClosePath;\n new(): SVGPathSegClosePath;\n};\n\ninterface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {\n x: number;\n x1: number;\n x2: number;\n y: number;\n y1: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicAbs: {\n prototype: SVGPathSegCurvetoCubicAbs;\n new(): SVGPathSegCurvetoCubicAbs;\n};\n\ninterface SVGPathSegCurvetoCubicRel extends SVGPathSeg {\n x: number;\n x1: number;\n x2: number;\n y: number;\n y1: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicRel: {\n prototype: SVGPathSegCurvetoCubicRel;\n new(): SVGPathSegCurvetoCubicRel;\n};\n\ninterface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {\n x: number;\n x2: number;\n y: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicSmoothAbs: {\n prototype: SVGPathSegCurvetoCubicSmoothAbs;\n new(): SVGPathSegCurvetoCubicSmoothAbs;\n};\n\ninterface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {\n x: number;\n x2: number;\n y: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicSmoothRel: {\n prototype: SVGPathSegCurvetoCubicSmoothRel;\n new(): SVGPathSegCurvetoCubicSmoothRel;\n};\n\ninterface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {\n x: number;\n x1: number;\n y: number;\n y1: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticAbs: {\n prototype: SVGPathSegCurvetoQuadraticAbs;\n new(): SVGPathSegCurvetoQuadraticAbs;\n};\n\ninterface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {\n x: number;\n x1: number;\n y: number;\n y1: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticRel: {\n prototype: SVGPathSegCurvetoQuadraticRel;\n new(): SVGPathSegCurvetoQuadraticRel;\n};\n\ninterface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticSmoothAbs: {\n prototype: SVGPathSegCurvetoQuadraticSmoothAbs;\n new(): SVGPathSegCurvetoQuadraticSmoothAbs;\n};\n\ninterface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticSmoothRel: {\n prototype: SVGPathSegCurvetoQuadraticSmoothRel;\n new(): SVGPathSegCurvetoQuadraticSmoothRel;\n};\n\ninterface SVGPathSegLinetoAbs extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegLinetoAbs: {\n prototype: SVGPathSegLinetoAbs;\n new(): SVGPathSegLinetoAbs;\n};\n\ninterface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {\n x: number;\n}\n\ndeclare var SVGPathSegLinetoHorizontalAbs: {\n prototype: SVGPathSegLinetoHorizontalAbs;\n new(): SVGPathSegLinetoHorizontalAbs;\n};\n\ninterface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {\n x: number;\n}\n\ndeclare var SVGPathSegLinetoHorizontalRel: {\n prototype: SVGPathSegLinetoHorizontalRel;\n new(): SVGPathSegLinetoHorizontalRel;\n};\n\ninterface SVGPathSegLinetoRel extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegLinetoRel: {\n prototype: SVGPathSegLinetoRel;\n new(): SVGPathSegLinetoRel;\n};\n\ninterface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {\n y: number;\n}\n\ndeclare var SVGPathSegLinetoVerticalAbs: {\n prototype: SVGPathSegLinetoVerticalAbs;\n new(): SVGPathSegLinetoVerticalAbs;\n};\n\ninterface SVGPathSegLinetoVerticalRel extends SVGPathSeg {\n y: number;\n}\n\ndeclare var SVGPathSegLinetoVerticalRel: {\n prototype: SVGPathSegLinetoVerticalRel;\n new(): SVGPathSegLinetoVerticalRel;\n};\n\ninterface SVGPathSegList {\n readonly numberOfItems: number;\n appendItem(newItem: SVGPathSeg): SVGPathSeg;\n clear(): void;\n getItem(index: number): SVGPathSeg;\n initialize(newItem: SVGPathSeg): SVGPathSeg;\n insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg;\n removeItem(index: number): SVGPathSeg;\n replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg;\n}\n\ndeclare var SVGPathSegList: {\n prototype: SVGPathSegList;\n new(): SVGPathSegList;\n};\n\ninterface SVGPathSegMovetoAbs extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegMovetoAbs: {\n prototype: SVGPathSegMovetoAbs;\n new(): SVGPathSegMovetoAbs;\n};\n\ninterface SVGPathSegMovetoRel extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegMovetoRel: {\n prototype: SVGPathSegMovetoRel;\n new(): SVGPathSegMovetoRel;\n};\n\n/** Corresponds to the <pattern> element. */\ninterface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly patternContentUnits: SVGAnimatedEnumeration;\n readonly patternTransform: SVGAnimatedTransformList;\n readonly patternUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPatternElement: {\n prototype: SVGPatternElement;\n new(): SVGPatternElement;\n};\n\ninterface SVGPointList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: DOMPoint): DOMPoint;\n clear(): void;\n getItem(index: number): DOMPoint;\n initialize(newItem: DOMPoint): DOMPoint;\n insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;\n removeItem(index: number): DOMPoint;\n replaceItem(newItem: DOMPoint, index: number): DOMPoint;\n [index: number]: DOMPoint;\n}\n\ndeclare var SVGPointList: {\n prototype: SVGPointList;\n new(): SVGPointList;\n};\n\n/** Provides access to the properties of <polygon> elements, as well as methods to manipulate them. */\ninterface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolygonElement: {\n prototype: SVGPolygonElement;\n new(): SVGPolygonElement;\n};\n\n/** Provides access to the properties of <polyline> elements, as well as methods to manipulate them. */\ninterface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolylineElement: {\n prototype: SVGPolylineElement;\n new(): SVGPolylineElement;\n};\n\n/** Corresponds to the preserveAspectRatio attribute, which is available for some of SVG\'s elements. */\ninterface SVGPreserveAspectRatio {\n align: number;\n meetOrSlice: number;\n readonly SVG_MEETORSLICE_MEET: number;\n readonly SVG_MEETORSLICE_SLICE: number;\n readonly SVG_MEETORSLICE_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n}\n\ndeclare var SVGPreserveAspectRatio: {\n prototype: SVGPreserveAspectRatio;\n new(): SVGPreserveAspectRatio;\n readonly SVG_MEETORSLICE_MEET: number;\n readonly SVG_MEETORSLICE_SLICE: number;\n readonly SVG_MEETORSLICE_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n};\n\n/** Corresponds to the <RadialGradient> element. */\ninterface SVGRadialGradientElement extends SVGGradientElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly fr: SVGAnimatedLength;\n readonly fx: SVGAnimatedLength;\n readonly fy: SVGAnimatedLength;\n readonly r: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRadialGradientElement: {\n prototype: SVGRadialGradientElement;\n new(): SVGRadialGradientElement;\n};\n\n/** Provides access to the properties of <rect> elements, as well as methods to manipulate them. */\ninterface SVGRectElement extends SVGGeometryElement {\n readonly height: SVGAnimatedLength;\n readonly rx: SVGAnimatedLength;\n readonly ry: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRectElement: {\n prototype: SVGRectElement;\n new(): SVGRectElement;\n};\n\ninterface SVGSVGElementEventMap extends SVGElementEventMap {\n "SVGUnload": Event;\n "SVGZoom": SVGZoomEvent;\n}\n\n/** Provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices. */\ninterface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewBox, SVGZoomAndPan {\n /** @deprecated */\n contentScriptType: string;\n /** @deprecated */\n contentStyleType: string;\n currentScale: number;\n readonly currentTranslate: SVGPoint;\n readonly height: SVGAnimatedLength;\n onunload: ((this: SVGSVGElement, ev: Event) => any) | null;\n onzoom: ((this: SVGSVGElement, ev: SVGZoomEvent) => any) | null;\n /** @deprecated */\n readonly pixelUnitToMillimeterX: number;\n /** @deprecated */\n readonly pixelUnitToMillimeterY: number;\n /** @deprecated */\n readonly screenPixelToMillimeterX: number;\n /** @deprecated */\n readonly screenPixelToMillimeterY: number;\n /** @deprecated */\n readonly viewport: SVGRect;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n animationsPaused(): boolean;\n checkEnclosure(element: SVGElement, rect: SVGRect): boolean;\n checkIntersection(element: SVGElement, rect: SVGRect): boolean;\n createSVGAngle(): SVGAngle;\n createSVGLength(): SVGLength;\n createSVGMatrix(): SVGMatrix;\n createSVGNumber(): SVGNumber;\n createSVGPoint(): SVGPoint;\n createSVGRect(): SVGRect;\n createSVGTransform(): SVGTransform;\n createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;\n deselectAll(): void;\n /** @deprecated */\n forceRedraw(): void;\n getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n getCurrentTime(): number;\n getElementById(elementId: string): Element;\n getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n pauseAnimations(): void;\n setCurrentTime(seconds: number): void;\n /** @deprecated */\n suspendRedraw(maxWaitMilliseconds: number): number;\n unpauseAnimations(): void;\n /** @deprecated */\n unsuspendRedraw(suspendHandleID: number): void;\n /** @deprecated */\n unsuspendRedrawAll(): void;\n addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSVGElement: {\n prototype: SVGSVGElement;\n new(): SVGSVGElement;\n readonly SVG_ZOOMANDPAN_DISABLE: number;\n readonly SVG_ZOOMANDPAN_MAGNIFY: number;\n readonly SVG_ZOOMANDPAN_UNKNOWN: number;\n};\n\n/** Corresponds to the SVG <script> element. */\ninterface SVGScriptElement extends SVGElement, SVGURIReference {\n type: string;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGScriptElement: {\n prototype: SVGScriptElement;\n new(): SVGScriptElement;\n};\n\n/** Corresponds to the <stop> element. */\ninterface SVGStopElement extends SVGElement {\n readonly offset: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStopElement: {\n prototype: SVGStopElement;\n new(): SVGStopElement;\n};\n\n/** The SVGStringList defines a list of DOMString objects. */\ninterface SVGStringList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: string): string;\n clear(): void;\n getItem(index: number): string;\n initialize(newItem: string): string;\n insertItemBefore(newItem: string, index: number): string;\n removeItem(index: number): string;\n replaceItem(newItem: string, index: number): string;\n [index: number]: string;\n}\n\ndeclare var SVGStringList: {\n prototype: SVGStringList;\n new(): SVGStringList;\n};\n\n/** Corresponds to the SVG <style> element. */\ninterface SVGStyleElement extends SVGElement {\n disabled: boolean;\n media: string;\n title: string;\n type: string;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStyleElement: {\n prototype: SVGStyleElement;\n new(): SVGStyleElement;\n};\n\n/** Corresponds to the <switch> element. */\ninterface SVGSwitchElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSwitchElement: {\n prototype: SVGSwitchElement;\n new(): SVGSwitchElement;\n};\n\n/** Corresponds to the <symbol> element. */\ninterface SVGSymbolElement extends SVGElement, SVGFitToViewBox {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSymbolElement: {\n prototype: SVGSymbolElement;\n new(): SVGSymbolElement;\n};\n\n/** A <tspan> element. */\ninterface SVGTSpanElement extends SVGTextPositioningElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTSpanElement: {\n prototype: SVGTSpanElement;\n new(): SVGTSpanElement;\n};\n\ninterface SVGTests {\n readonly requiredExtensions: SVGStringList;\n readonly systemLanguage: SVGStringList;\n}\n\n/** Implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement. */\ninterface SVGTextContentElement extends SVGGraphicsElement {\n readonly lengthAdjust: SVGAnimatedEnumeration;\n readonly textLength: SVGAnimatedLength;\n getCharNumAtPosition(point?: DOMPointInit): number;\n getComputedTextLength(): number;\n getEndPositionOfChar(charnum: number): DOMPoint;\n getExtentOfChar(charnum: number): DOMRect;\n getNumberOfChars(): number;\n getRotationOfChar(charnum: number): number;\n getStartPositionOfChar(charnum: number): DOMPoint;\n getSubStringLength(charnum: number, nchars: number): number;\n selectSubString(charnum: number, nchars: number): void;\n readonly LENGTHADJUST_SPACING: number;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n readonly LENGTHADJUST_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextContentElement: {\n prototype: SVGTextContentElement;\n new(): SVGTextContentElement;\n readonly LENGTHADJUST_SPACING: number;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n readonly LENGTHADJUST_UNKNOWN: number;\n};\n\n/** Corresponds to the <text> elements. */\ninterface SVGTextElement extends SVGTextPositioningElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextElement: {\n prototype: SVGTextElement;\n new(): SVGTextElement;\n};\n\n/** Corresponds to the <textPath> element. */\ninterface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {\n readonly method: SVGAnimatedEnumeration;\n readonly spacing: SVGAnimatedEnumeration;\n readonly startOffset: SVGAnimatedLength;\n readonly TEXTPATH_METHODTYPE_ALIGN: number;\n readonly TEXTPATH_METHODTYPE_STRETCH: number;\n readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPathElement: {\n prototype: SVGTextPathElement;\n new(): SVGTextPathElement;\n readonly TEXTPATH_METHODTYPE_ALIGN: number;\n readonly TEXTPATH_METHODTYPE_STRETCH: number;\n readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\n};\n\n/** Implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement. */\ninterface SVGTextPositioningElement extends SVGTextContentElement {\n readonly dx: SVGAnimatedLengthList;\n readonly dy: SVGAnimatedLengthList;\n readonly rotate: SVGAnimatedNumberList;\n readonly x: SVGAnimatedLengthList;\n readonly y: SVGAnimatedLengthList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPositioningElement: {\n prototype: SVGTextPositioningElement;\n new(): SVGTextPositioningElement;\n};\n\n/** Corresponds to the <title> element. */\ninterface SVGTitleElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTitleElement: {\n prototype: SVGTitleElement;\n new(): SVGTitleElement;\n};\n\n/** SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute. */\ninterface SVGTransform {\n readonly angle: number;\n readonly matrix: SVGMatrix;\n readonly type: number;\n setMatrix(matrix: SVGMatrix): void;\n setRotate(angle: number, cx: number, cy: number): void;\n setScale(sx: number, sy: number): void;\n setSkewX(angle: number): void;\n setSkewY(angle: number): void;\n setTranslate(tx: number, ty: number): void;\n readonly SVG_TRANSFORM_MATRIX: number;\n readonly SVG_TRANSFORM_ROTATE: number;\n readonly SVG_TRANSFORM_SCALE: number;\n readonly SVG_TRANSFORM_SKEWX: number;\n readonly SVG_TRANSFORM_SKEWY: number;\n readonly SVG_TRANSFORM_TRANSLATE: number;\n readonly SVG_TRANSFORM_UNKNOWN: number;\n}\n\ndeclare var SVGTransform: {\n prototype: SVGTransform;\n new(): SVGTransform;\n readonly SVG_TRANSFORM_MATRIX: number;\n readonly SVG_TRANSFORM_ROTATE: number;\n readonly SVG_TRANSFORM_SCALE: number;\n readonly SVG_TRANSFORM_SKEWX: number;\n readonly SVG_TRANSFORM_SKEWY: number;\n readonly SVG_TRANSFORM_TRANSLATE: number;\n readonly SVG_TRANSFORM_UNKNOWN: number;\n};\n\n/** The SVGTransformList defines a list of SVGTransform objects. */\ninterface SVGTransformList {\n readonly numberOfItems: number;\n appendItem(newItem: SVGTransform): SVGTransform;\n clear(): void;\n consolidate(): SVGTransform;\n createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;\n getItem(index: number): SVGTransform;\n initialize(newItem: SVGTransform): SVGTransform;\n insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;\n removeItem(index: number): SVGTransform;\n replaceItem(newItem: SVGTransform, index: number): SVGTransform;\n}\n\ndeclare var SVGTransformList: {\n prototype: SVGTransformList;\n new(): SVGTransformList;\n};\n\ninterface SVGURIReference {\n readonly href: SVGAnimatedString;\n}\n\n/** A commonly used set of constants used for reflecting gradientUnits, patternContentUnits and other similar attributes. */\ninterface SVGUnitTypes {\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n readonly SVG_UNIT_TYPE_UNKNOWN: number;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n}\n\ndeclare var SVGUnitTypes: {\n prototype: SVGUnitTypes;\n new(): SVGUnitTypes;\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n readonly SVG_UNIT_TYPE_UNKNOWN: number;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n};\n\n/** Corresponds to the <use> element. */\ninterface SVGUseElement extends SVGGraphicsElement, SVGURIReference {\n readonly animatedInstanceRoot: SVGElementInstance | null;\n readonly height: SVGAnimatedLength;\n readonly instanceRoot: SVGElementInstance | null;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGUseElement: {\n prototype: SVGUseElement;\n new(): SVGUseElement;\n};\n\n/** Provides access to the properties of <view> elements, as well as methods to manipulate them. */\ninterface SVGViewElement extends SVGElement, SVGFitToViewBox, SVGZoomAndPan {\n /** @deprecated */\n readonly viewTarget: SVGStringList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGViewElement: {\n prototype: SVGViewElement;\n new(): SVGViewElement;\n readonly SVG_ZOOMANDPAN_DISABLE: number;\n readonly SVG_ZOOMANDPAN_MAGNIFY: number;\n readonly SVG_ZOOMANDPAN_UNKNOWN: number;\n};\n\n/** Used to reflect the zoomAndPan attribute, and is mixed in to other interfaces for elements that support this attribute. */\ninterface SVGZoomAndPan {\n readonly zoomAndPan: number;\n}\n\ndeclare var SVGZoomAndPan: {\n readonly SVG_ZOOMANDPAN_DISABLE: number;\n readonly SVG_ZOOMANDPAN_MAGNIFY: number;\n readonly SVG_ZOOMANDPAN_UNKNOWN: number;\n};\n\ninterface SVGZoomEvent extends UIEvent {\n readonly newScale: number;\n readonly newTranslate: SVGPoint;\n readonly previousScale: number;\n readonly previousTranslate: SVGPoint;\n readonly zoomRectScreen: SVGRect;\n}\n\ndeclare var SVGZoomEvent: {\n prototype: SVGZoomEvent;\n new(): SVGZoomEvent;\n};\n\ninterface ScopedCredential {\n readonly id: ArrayBuffer;\n readonly type: ScopedCredentialType;\n}\n\ndeclare var ScopedCredential: {\n prototype: ScopedCredential;\n new(): ScopedCredential;\n};\n\ninterface ScopedCredentialInfo {\n readonly credential: ScopedCredential;\n readonly publicKey: CryptoKey;\n}\n\ndeclare var ScopedCredentialInfo: {\n prototype: ScopedCredentialInfo;\n new(): ScopedCredentialInfo;\n};\n\n/** A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. */\ninterface Screen {\n readonly availHeight: number;\n readonly availWidth: number;\n readonly colorDepth: number;\n readonly height: number;\n readonly orientation: ScreenOrientation;\n readonly pixelDepth: number;\n readonly width: number;\n}\n\ndeclare var Screen: {\n prototype: Screen;\n new(): Screen;\n};\n\ninterface ScreenOrientationEventMap {\n "change": Event;\n}\n\ninterface ScreenOrientation extends EventTarget {\n readonly angle: number;\n onchange: ((this: ScreenOrientation, ev: Event) => any) | null;\n readonly type: OrientationType;\n lock(orientation: OrientationLockType): Promise<void>;\n unlock(): void;\n addEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ScreenOrientation: {\n prototype: ScreenOrientation;\n new(): ScreenOrientation;\n};\n\ninterface ScriptProcessorNodeEventMap {\n "audioprocess": AudioProcessingEvent;\n}\n\n/** Allows the generation, processing, or analyzing of audio using JavaScript. */\ninterface ScriptProcessorNode extends AudioNode {\n /** @deprecated */\n readonly bufferSize: number;\n /** @deprecated */\n onaudioprocess: ((this: ScriptProcessorNode, ev: AudioProcessingEvent) => any) | null;\n addEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ScriptProcessorNode: {\n prototype: ScriptProcessorNode;\n new(): ScriptProcessorNode;\n};\n\n/** Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated. */\ninterface SecurityPolicyViolationEvent extends Event {\n readonly blockedURI: string;\n readonly columnNumber: number;\n readonly documentURI: string;\n readonly effectiveDirective: string;\n readonly lineNumber: number;\n readonly originalPolicy: string;\n readonly referrer: string;\n readonly sourceFile: string;\n readonly statusCode: number;\n readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n prototype: SecurityPolicyViolationEvent;\n new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\n/** A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call Window.getSelection(). */\ninterface Selection {\n readonly anchorNode: Node | null;\n readonly anchorOffset: number;\n readonly focusNode: Node | null;\n readonly focusOffset: number;\n readonly isCollapsed: boolean;\n readonly rangeCount: number;\n readonly type: string;\n addRange(range: Range): void;\n collapse(node: Node | null, offset?: number): void;\n collapseToEnd(): void;\n collapseToStart(): void;\n containsNode(node: Node, allowPartialContainment?: boolean): boolean;\n deleteFromDocument(): void;\n empty(): void;\n extend(node: Node, offset?: number): void;\n getRangeAt(index: number): Range;\n removeAllRanges(): void;\n removeRange(range: Range): void;\n selectAllChildren(node: Node): void;\n setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;\n setPosition(node: Node | null, offset?: number): void;\n toString(): string;\n}\n\ndeclare var Selection: {\n prototype: Selection;\n new(): Selection;\n toString(): string;\n};\n\ninterface ServiceUIFrameContext {\n getCachedFrameMessage(key: string): string;\n postFrameMessage(key: string, data: string): void;\n}\ndeclare var ServiceUIFrameContext: ServiceUIFrameContext;\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n readonly scriptURL: string;\n readonly state: ServiceWorkerState;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n prototype: ServiceWorker;\n new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n "controllerchange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */\ninterface ServiceWorkerContainer extends EventTarget {\n readonly controller: ServiceWorker | null;\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n readonly ready: Promise<ServiceWorkerRegistration>;\n getRegistration(clientURL?: string): Promise<ServiceWorkerRegistration | undefined>;\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n register(scriptURL: string, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n startMessages(): void;\n addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n prototype: ServiceWorkerContainer;\n new(): ServiceWorkerContainer;\n};\n\n/** This ServiceWorker API interface contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker. */\ninterface ServiceWorkerMessageEvent extends Event {\n readonly data: any;\n readonly lastEventId: string;\n readonly origin: string;\n readonly ports: ReadonlyArray<MessagePort> | null;\n readonly source: ServiceWorker | MessagePort | null;\n}\n\ndeclare var ServiceWorkerMessageEvent: {\n prototype: ServiceWorkerMessageEvent;\n new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n "updatefound": Event;\n}\n\n/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n readonly navigationPreload: NavigationPreloadManager;\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n readonly pushManager: PushManager;\n readonly scope: string;\n readonly sync: SyncManager;\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n readonly waiting: ServiceWorker | null;\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n unregister(): Promise<boolean>;\n update(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n prototype: ServiceWorkerRegistration;\n new(): ServiceWorkerRegistration;\n};\n\ninterface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {\n readonly host: Element;\n readonly mode: ShadowRootMode;\n /**\n * Throws a "NotSupportedError" DOMException if context object is a shadow root.\n */\n}\n\ndeclare var ShadowRoot: {\n prototype: ShadowRoot;\n new(): ShadowRoot;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /**\n * Returns sharedWorker\'s MessagePort object which can be used to communicate with the global environment.\n */\n readonly port: MessagePort;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n prototype: SharedWorker;\n new(scriptURL: string, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n}\n\ninterface SourceBufferEventMap {\n "abort": Event;\n "error": Event;\n "update": Event;\n "updateend": Event;\n "updatestart": Event;\n}\n\n/** A chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments. */\ninterface SourceBuffer extends EventTarget {\n appendWindowEnd: number;\n appendWindowStart: number;\n readonly buffered: TimeRanges;\n mode: AppendMode;\n onabort: ((this: SourceBuffer, ev: Event) => any) | null;\n onerror: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdate: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;\n timestampOffset: number;\n readonly updating: boolean;\n abort(): void;\n appendBuffer(data: BufferSource): void;\n remove(start: number, end: number): void;\n addEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SourceBuffer: {\n prototype: SourceBuffer;\n new(): SourceBuffer;\n};\n\ninterface SourceBufferListEventMap {\n "addsourcebuffer": Event;\n "removesourcebuffer": Event;\n}\n\n/** A simple container list for multiple SourceBuffer objects. */\ninterface SourceBufferList extends EventTarget {\n readonly length: number;\n onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n addEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: SourceBuffer;\n}\n\ndeclare var SourceBufferList: {\n prototype: SourceBufferList;\n new(): SourceBufferList;\n};\n\ninterface SpeechGrammar {\n src: string;\n weight: number;\n}\n\ndeclare var SpeechGrammar: {\n prototype: SpeechGrammar;\n new(): SpeechGrammar;\n};\n\ninterface SpeechGrammarList {\n readonly length: number;\n addFromString(string: string, weight?: number): void;\n addFromURI(src: string, weight?: number): void;\n item(index: number): SpeechGrammar;\n [index: number]: SpeechGrammar;\n}\n\ndeclare var SpeechGrammarList: {\n prototype: SpeechGrammarList;\n new(): SpeechGrammarList;\n};\n\ninterface SpeechRecognitionEventMap {\n "audioend": Event;\n "audiostart": Event;\n "end": Event;\n "error": ErrorEvent;\n "nomatch": SpeechRecognitionEvent;\n "result": SpeechRecognitionEvent;\n "soundend": Event;\n "soundstart": Event;\n "speechend": Event;\n "speechstart": Event;\n "start": Event;\n}\n\ninterface SpeechRecognition extends EventTarget {\n continuous: boolean;\n grammars: SpeechGrammarList;\n interimResults: boolean;\n lang: string;\n maxAlternatives: number;\n onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null;\n onend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onerror: ((this: SpeechRecognition, ev: ErrorEvent) => any) | null;\n onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;\n onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;\n onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null;\n onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null;\n onstart: ((this: SpeechRecognition, ev: Event) => any) | null;\n abort(): void;\n start(): void;\n stop(): void;\n addEventListener<K extends keyof SpeechRecognitionEventMap>(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechRecognitionEventMap>(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechRecognition: {\n prototype: SpeechRecognition;\n new(): SpeechRecognition;\n};\n\ninterface SpeechRecognitionAlternative {\n readonly confidence: number;\n readonly transcript: string;\n}\n\ndeclare var SpeechRecognitionAlternative: {\n prototype: SpeechRecognitionAlternative;\n new(): SpeechRecognitionAlternative;\n};\n\ninterface SpeechRecognitionEvent extends Event {\n readonly resultIndex: number;\n readonly results: SpeechRecognitionResultList;\n}\n\ndeclare var SpeechRecognitionEvent: {\n prototype: SpeechRecognitionEvent;\n new(): SpeechRecognitionEvent;\n};\n\ninterface SpeechRecognitionResult {\n readonly isFinal: boolean;\n readonly length: number;\n item(index: number): SpeechRecognitionAlternative;\n [index: number]: SpeechRecognitionAlternative;\n}\n\ndeclare var SpeechRecognitionResult: {\n prototype: SpeechRecognitionResult;\n new(): SpeechRecognitionResult;\n};\n\ninterface SpeechRecognitionResultList {\n readonly length: number;\n item(index: number): SpeechRecognitionResult;\n [index: number]: SpeechRecognitionResult;\n}\n\ndeclare var SpeechRecognitionResultList: {\n prototype: SpeechRecognitionResultList;\n new(): SpeechRecognitionResultList;\n};\n\ninterface SpeechSynthesisEventMap {\n "voiceschanged": Event;\n}\n\n/** This Web Speech API interface is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides. */\ninterface SpeechSynthesis extends EventTarget {\n onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;\n readonly paused: boolean;\n readonly pending: boolean;\n readonly speaking: boolean;\n cancel(): void;\n getVoices(): SpeechSynthesisVoice[];\n pause(): void;\n resume(): void;\n speak(utterance: SpeechSynthesisUtterance): void;\n addEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesis: {\n prototype: SpeechSynthesis;\n new(): SpeechSynthesis;\n};\n\ninterface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {\n readonly error: SpeechSynthesisErrorCode;\n}\n\ndeclare var SpeechSynthesisErrorEvent: {\n prototype: SpeechSynthesisErrorEvent;\n new(type: string, eventInitDict: SpeechSynthesisErrorEventInit): SpeechSynthesisErrorEvent;\n};\n\n/** This Web Speech API interface contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service. */\ninterface SpeechSynthesisEvent extends Event {\n readonly charIndex: number;\n readonly charLength: number;\n readonly elapsedTime: number;\n readonly name: string;\n readonly utterance: SpeechSynthesisUtterance;\n}\n\ndeclare var SpeechSynthesisEvent: {\n prototype: SpeechSynthesisEvent;\n new(type: string, eventInitDict: SpeechSynthesisEventInit): SpeechSynthesisEvent;\n};\n\ninterface SpeechSynthesisUtteranceEventMap {\n "boundary": SpeechSynthesisEvent;\n "end": SpeechSynthesisEvent;\n "error": SpeechSynthesisErrorEvent;\n "mark": SpeechSynthesisEvent;\n "pause": SpeechSynthesisEvent;\n "resume": SpeechSynthesisEvent;\n "start": SpeechSynthesisEvent;\n}\n\n/** This Web Speech API interface represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.) */\ninterface SpeechSynthesisUtterance extends EventTarget {\n lang: string;\n onboundary: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onend: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onerror: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisErrorEvent) => any) | null;\n onmark: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onpause: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onresume: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onstart: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n pitch: number;\n rate: number;\n text: string;\n voice: SpeechSynthesisVoice | null;\n volume: number;\n addEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesisUtterance: {\n prototype: SpeechSynthesisUtterance;\n new(text?: string): SpeechSynthesisUtterance;\n};\n\n/** This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI. */\ninterface SpeechSynthesisVoice {\n readonly default: boolean;\n readonly lang: string;\n readonly localService: boolean;\n readonly name: string;\n readonly voiceURI: string;\n}\n\ndeclare var SpeechSynthesisVoice: {\n prototype: SpeechSynthesisVoice;\n new(): SpeechSynthesisVoice;\n};\n\ninterface StaticRange extends AbstractRange {\n}\n\ndeclare var StaticRange: {\n prototype: StaticRange;\n new(init: StaticRangeInit): StaticRange;\n};\n\n/** The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode. */\ninterface StereoPannerNode extends AudioNode {\n readonly pan: AudioParam;\n}\n\ndeclare var StereoPannerNode: {\n prototype: StereoPannerNode;\n new(context: BaseAudioContext, options?: StereoPannerOptions): StereoPannerNode;\n};\n\n/** This Web Storage API interface provides access to a particular domain\'s session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. */\ninterface Storage {\n /**\n * Returns the number of key/value pairs currently present in the list associated with the object.\n */\n readonly length: number;\n /**\n * Empties the list associated with the object of all key/value pairs, if there are any.\n */\n clear(): void;\n /**\n * Returns the current value associated with the given key, or null if the given key does not exist in the list associated with the object.\n */\n getItem(key: string): string | null;\n /**\n * Returns the name of the nth key in the list, or null if n is greater than or equal to the number of key/value pairs in the object.\n */\n key(index: number): string | null;\n /**\n * Removes the key/value pair with the given key from the list associated with the object, if a key/value pair with the given key exists.\n */\n removeItem(key: string): void;\n /**\n * Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.\n * \n * Throws a "QuotaExceededError" DOMException exception if the new value couldn\'t be set. (Setting could fail if, e.g., the user has disabled storage for the site, or if the quota has been exceeded.)\n */\n setItem(key: string, value: string): void;\n [name: string]: any;\n}\n\ndeclare var Storage: {\n prototype: Storage;\n new(): Storage;\n};\n\n/** A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document. */\ninterface StorageEvent extends Event {\n /**\n * Returns the key of the storage item being changed.\n */\n readonly key: string | null;\n /**\n * Returns the new value of the key of the storage item whose value is being changed.\n */\n readonly newValue: string | null;\n /**\n * Returns the old value of the key of the storage item whose value is being changed.\n */\n readonly oldValue: string | null;\n /**\n * Returns the Storage object that was affected.\n */\n readonly storageArea: Storage | null;\n /**\n * Returns the URL of the document whose storage item changed.\n */\n readonly url: string;\n}\n\ndeclare var StorageEvent: {\n prototype: StorageEvent;\n new(type: string, eventInitDict?: StorageEventInit): StorageEvent;\n};\n\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n persist(): Promise<boolean>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\ninterface StyleMedia {\n readonly type: string;\n matchMedium(mediaquery: string): boolean;\n}\n\ndeclare var StyleMedia: {\n prototype: StyleMedia;\n new(): StyleMedia;\n};\n\n/** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */\ninterface StyleSheet {\n disabled: boolean;\n readonly href: string | null;\n readonly media: MediaList;\n readonly ownerNode: Element | ProcessingInstruction | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n readonly title: string | null;\n readonly type: string;\n}\n\ndeclare var StyleSheet: {\n prototype: StyleSheet;\n new(): StyleSheet;\n};\n\n/** A list of StyleSheet. */\ninterface StyleSheetList {\n readonly length: number;\n item(index: number): CSSStyleSheet | null;\n [index: number]: CSSStyleSheet;\n}\n\ndeclare var StyleSheetList: {\n prototype: StyleSheetList;\n new(): StyleSheetList;\n};\n\n/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n digest(algorithm: AlgorithmIdentifier, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): Promise<ArrayBuffer>;\n exportKey(format: string, key: CryptoKey): Promise<JsonWebKey | ArrayBuffer>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n unwrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<boolean>;\n wrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n prototype: SubtleCrypto;\n new(): SubtleCrypto;\n};\n\n/** This ServiceWorker API interface provides an interface for registering and listing sync registrations. */\ninterface SyncManager {\n getTags(): Promise<string[]>;\n register(tag: string): Promise<void>;\n}\n\ndeclare var SyncManager: {\n prototype: SyncManager;\n new(): SyncManager;\n};\n\n/** The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element\'s text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children. */\ninterface Text extends CharacterData, Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n /**\n * Returns the combined data of all direct Text node siblings.\n */\n readonly wholeText: string;\n /**\n * Splits data at the given offset and returns the remainder as Text node.\n */\n splitText(offset: number): Text;\n}\n\ndeclare var Text: {\n prototype: Text;\n new(data?: string): Text;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * Returns the result of running encoding\'s decoder. The method can be invoked zero or more times with options\'s stream set to true, and then once without options\'s stream (or set to false), to process a fragmented stream. If the invocation without options\'s stream (or set to false) has no input, it\'s clearest to omit both arguments.\n * \n * ```\n * var string = "", decoder = new TextDecoder(encoding), buffer;\n * while(buffer = next_chunk()) {\n * string += decoder.decode(buffer, {stream:true});\n * }\n * string += decoder.decode(); // end-of-stream\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, throws a TypeError.\n */\n decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", and false otherwise.\n */\n readonly fatal: boolean;\n /**\n * Returns true if ignore BOM flag is set, and false otherwise.\n */\n readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n readonly readable: ReadableStream<string>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n prototype: TextDecoderStream;\n new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * Returns the result of running UTF-8\'s encoder.\n */\n encode(input?: string): Uint8Array;\n /**\n * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as a dictionary whereby read is the number of converted code units of source and written is the number of bytes modified in destination.\n */\n encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n */\n readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\ninterface TextEvent extends UIEvent {\n readonly data: string;\n initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void;\n readonly DOM_INPUT_METHOD_DROP: number;\n readonly DOM_INPUT_METHOD_HANDWRITING: number;\n readonly DOM_INPUT_METHOD_IME: number;\n readonly DOM_INPUT_METHOD_KEYBOARD: number;\n readonly DOM_INPUT_METHOD_MULTIMODAL: number;\n readonly DOM_INPUT_METHOD_OPTION: number;\n readonly DOM_INPUT_METHOD_PASTE: number;\n readonly DOM_INPUT_METHOD_SCRIPT: number;\n readonly DOM_INPUT_METHOD_UNKNOWN: number;\n readonly DOM_INPUT_METHOD_VOICE: number;\n}\n\ndeclare var TextEvent: {\n prototype: TextEvent;\n new(): TextEvent;\n readonly DOM_INPUT_METHOD_DROP: number;\n readonly DOM_INPUT_METHOD_HANDWRITING: number;\n readonly DOM_INPUT_METHOD_IME: number;\n readonly DOM_INPUT_METHOD_KEYBOARD: number;\n readonly DOM_INPUT_METHOD_MULTIMODAL: number;\n readonly DOM_INPUT_METHOD_OPTION: number;\n readonly DOM_INPUT_METHOD_PASTE: number;\n readonly DOM_INPUT_METHOD_SCRIPT: number;\n readonly DOM_INPUT_METHOD_UNKNOWN: number;\n readonly DOM_INPUT_METHOD_VOICE: number;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxRight: number;\n /**\n * Returns the measurement described below.\n */\n readonly alphabeticBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly hangingBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly ideographicBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TextTrackEventMap {\n "cuechange": Event;\n}\n\n/** This interface also inherits properties from EventTarget. */\ninterface TextTrack extends EventTarget {\n /**\n * Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.\n */\n readonly activeCues: TextTrackCueList | null;\n /**\n * Returns the text track list of cues, as a TextTrackCueList object.\n */\n readonly cues: TextTrackCueList | null;\n /**\n * Returns the ID of the given track.\n * \n * For in-band tracks, this is the ID that can be used with a fragment if the format supports media fragment syntax, and that can be used with the getTrackById() method.\n * \n * For TextTrack objects corresponding to track elements, this is the ID of the track element.\n */\n readonly id: string;\n /**\n * Returns the text track in-band metadata track dispatch type string.\n */\n readonly inBandMetadataTrackDispatchType: string;\n /**\n * Returns the text track kind string.\n */\n readonly kind: TextTrackKind;\n /**\n * Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).\n */\n readonly label: string;\n /**\n * Returns the text track language string.\n */\n readonly language: string;\n /**\n * Returns the text track mode, represented by a string from the following list:\n * \n * Can be set, to change the mode.\n */\n mode: TextTrackMode;\n oncuechange: ((this: TextTrack, ev: Event) => any) | null;\n readonly sourceBuffer: SourceBuffer | null;\n /**\n * Adds the given cue to textTrack\'s text track list of cues.\n */\n addCue(cue: TextTrackCue): void;\n /**\n * Removes the given cue from textTrack\'s text track list of cues.\n */\n removeCue(cue: TextTrackCue): void;\n addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrack: {\n prototype: TextTrack;\n new(): TextTrack;\n};\n\ninterface TextTrackCueEventMap {\n "enter": Event;\n "exit": Event;\n}\n\n/** TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used. */\ninterface TextTrackCue extends EventTarget {\n /**\n * Returns the text track cue end time, in seconds.\n * \n * Can be set.\n */\n endTime: number;\n /**\n * Returns the text track cue identifier.\n * \n * Can be set.\n */\n id: string;\n onenter: ((this: TextTrackCue, ev: Event) => any) | null;\n onexit: ((this: TextTrackCue, ev: Event) => any) | null;\n /**\n * Returns true if the text track cue pause-on-exit flag is set, false otherwise.\n * \n * Can be set.\n */\n pauseOnExit: boolean;\n /**\n * Returns the text track cue start time, in seconds.\n * \n * Can be set.\n */\n startTime: number;\n /**\n * Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.\n */\n readonly track: TextTrack | null;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrackCue: {\n prototype: TextTrackCue;\n new(): TextTrackCue;\n};\n\ninterface TextTrackCueList {\n /**\n * Returns the number of cues in the list.\n */\n readonly length: number;\n /**\n * Returns the first text track cue (in text track cue order) with text track cue identifier id.\n * \n * Returns null if none of the cues have the given identifier or if the argument is the empty string.\n */\n getCueById(id: string): TextTrackCue | null;\n [index: number]: TextTrackCue;\n}\n\ndeclare var TextTrackCueList: {\n prototype: TextTrackCueList;\n new(): TextTrackCueList;\n};\n\ninterface TextTrackListEventMap {\n "addtrack": TrackEvent;\n "change": Event;\n "removetrack": TrackEvent;\n}\n\ninterface TextTrackList extends EventTarget {\n readonly length: number;\n onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n onchange: ((this: TextTrackList, ev: Event) => any) | null;\n onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n getTrackById(id: string): TextTrack | null;\n addEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: TextTrack;\n}\n\ndeclare var TextTrackList: {\n prototype: TextTrackList;\n new(): TextTrackList;\n};\n\n/** Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements. */\ninterface TimeRanges {\n /**\n * Returns the number of ranges in the object.\n */\n readonly length: number;\n /**\n * Returns the time for the end of the range with the given index.\n * \n * Throws an "IndexSizeError" DOMException if the index is out of range.\n */\n end(index: number): number;\n /**\n * Returns the time for the start of the range with the given index.\n * \n * Throws an "IndexSizeError" DOMException if the index is out of range.\n */\n start(index: number): number;\n}\n\ndeclare var TimeRanges: {\n prototype: TimeRanges;\n new(): TimeRanges;\n};\n\n/** A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad. */\ninterface Touch {\n readonly altitudeAngle: number;\n readonly azimuthAngle: number;\n readonly clientX: number;\n readonly clientY: number;\n readonly force: number;\n readonly identifier: number;\n readonly pageX: number;\n readonly pageY: number;\n readonly radiusX: number;\n readonly radiusY: number;\n readonly rotationAngle: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly target: EventTarget;\n readonly touchType: TouchType;\n}\n\ndeclare var Touch: {\n prototype: Touch;\n new(touchInitDict: TouchInit): Touch;\n};\n\n/** An event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth. */\ninterface TouchEvent extends UIEvent {\n readonly altKey: boolean;\n readonly changedTouches: TouchList;\n readonly ctrlKey: boolean;\n readonly metaKey: boolean;\n readonly shiftKey: boolean;\n readonly targetTouches: TouchList;\n readonly touches: TouchList;\n}\n\ndeclare var TouchEvent: {\n prototype: TouchEvent;\n new(type: string, eventInitDict?: TouchEventInit): TouchEvent;\n};\n\n/** A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries. */\ninterface TouchList {\n readonly length: number;\n item(index: number): Touch | null;\n [index: number]: Touch;\n}\n\ndeclare var TouchList: {\n prototype: TouchList;\n new(): TouchList;\n};\n\n/** The TrackEvent interface, part of the HTML DOM specification, is used for events which represent changes to the set of available tracks on an HTML media element; these events are addtrack and removetrack. */\ninterface TrackEvent extends Event {\n /**\n * Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.\n */\n readonly track: TextTrack | null;\n}\n\ndeclare var TrackEvent: {\n prototype: TrackEvent;\n new(type: string, eventInitDict?: TrackEventInit): TrackEvent;\n};\n\ninterface TransformStream<I = any, O = any> {\n readonly readable: ReadableStream<O>;\n readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n prototype: TransformStream;\n new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n readonly desiredSize: number | null;\n enqueue(chunk: O): void;\n error(reason?: any): void;\n terminate(): void;\n}\n\n/** Events providing information related to transitions. */\ninterface TransitionEvent extends Event {\n readonly elapsedTime: number;\n readonly propertyName: string;\n readonly pseudoElement: string;\n}\n\ndeclare var TransitionEvent: {\n prototype: TransitionEvent;\n new(type: string, transitionEventInitDict?: TransitionEventInit): TransitionEvent;\n};\n\n/** The nodes of a document subtree and a position within them. */\ninterface TreeWalker {\n currentNode: Node;\n readonly filter: NodeFilter | null;\n readonly root: Node;\n readonly whatToShow: number;\n firstChild(): Node | null;\n lastChild(): Node | null;\n nextNode(): Node | null;\n nextSibling(): Node | null;\n parentNode(): Node | null;\n previousNode(): Node | null;\n previousSibling(): Node | null;\n}\n\ndeclare var TreeWalker: {\n prototype: TreeWalker;\n new(): TreeWalker;\n};\n\n/** Simple user interface events. */\ninterface UIEvent extends Event {\n readonly detail: number;\n readonly view: Window | null;\n /** @deprecated */\n readonly which: number;\n}\n\ndeclare var UIEvent: {\n prototype: UIEvent;\n new(type: string, eventInitDict?: UIEventInit): UIEvent;\n};\n\n/** The URL interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n readonly searchParams: URLSearchParams;\n username: string;\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string, base?: string | URL): URL;\n createObjectURL(object: any): string;\n revokeObjectURL(url: string): void;\n};\n\ntype webkitURL = URL;\ndeclare var webkitURL: typeof URL;\n\ninterface URLSearchParams {\n /**\n * Appends a specified key/value pair as a new search parameter.\n */\n append(name: string, value: string): void;\n /**\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\n */\n delete(name: string): void;\n /**\n * Returns the first value associated to the given search parameter.\n */\n get(name: string): string | null;\n /**\n * Returns all the values association with a given search parameter.\n */\n getAll(name: string): string[];\n /**\n * Returns a Boolean indicating if such a search parameter exists.\n */\n has(name: string): boolean;\n /**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */\n set(name: string, value: string): void;\n sort(): void;\n /**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */\n toString(): string;\n forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n prototype: URLSearchParams;\n new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n toString(): string;\n};\n\n/** This WebVR API interface represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality. */\ninterface VRDisplay extends EventTarget {\n readonly capabilities: VRDisplayCapabilities;\n depthFar: number;\n depthNear: number;\n readonly displayId: number;\n readonly displayName: string;\n readonly isConnected: boolean;\n readonly isPresenting: boolean;\n readonly stageParameters: VRStageParameters | null;\n cancelAnimationFrame(handle: number): void;\n exitPresent(): Promise<void>;\n getEyeParameters(whichEye: string): VREyeParameters;\n getFrameData(frameData: VRFrameData): boolean;\n getLayers(): VRLayer[];\n /** @deprecated */\n getPose(): VRPose;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n requestPresent(layers: VRLayer[]): Promise<void>;\n resetPose(): void;\n submitFrame(pose?: VRPose): void;\n}\n\ndeclare var VRDisplay: {\n prototype: VRDisplay;\n new(): VRDisplay;\n};\n\n/** This WebVR API interface describes the capabilities of a VRDisplay — its features can be used to perform VR device capability tests, for example can it return position information. */\ninterface VRDisplayCapabilities {\n readonly canPresent: boolean;\n readonly hasExternalDisplay: boolean;\n readonly hasOrientation: boolean;\n readonly hasPosition: boolean;\n readonly maxLayers: number;\n}\n\ndeclare var VRDisplayCapabilities: {\n prototype: VRDisplayCapabilities;\n new(): VRDisplayCapabilities;\n};\n\n/** This WebVR API interface represents represents the event object of WebVR-related events (see the list of WebVR window extensions). */\ninterface VRDisplayEvent extends Event {\n readonly display: VRDisplay;\n readonly reason: VRDisplayEventReason | null;\n}\n\ndeclare var VRDisplayEvent: {\n prototype: VRDisplayEvent;\n new(type: string, eventInitDict: VRDisplayEventInit): VRDisplayEvent;\n};\n\n/** This WebVR API interface represents all the information required to correctly render a scene for a given eye, including field of view information. */\ninterface VREyeParameters {\n /** @deprecated */\n readonly fieldOfView: VRFieldOfView;\n readonly offset: Float32Array;\n readonly renderHeight: number;\n readonly renderWidth: number;\n}\n\ndeclare var VREyeParameters: {\n prototype: VREyeParameters;\n new(): VREyeParameters;\n};\n\n/** This WebVR API interface represents a field of view defined by 4 different degree values describing the view from a center point. */\ninterface VRFieldOfView {\n readonly downDegrees: number;\n readonly leftDegrees: number;\n readonly rightDegrees: number;\n readonly upDegrees: number;\n}\n\ndeclare var VRFieldOfView: {\n prototype: VRFieldOfView;\n new(): VRFieldOfView;\n};\n\n/** This WebVR API interface represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData(). */\ninterface VRFrameData {\n readonly leftProjectionMatrix: Float32Array;\n readonly leftViewMatrix: Float32Array;\n readonly pose: VRPose;\n readonly rightProjectionMatrix: Float32Array;\n readonly rightViewMatrix: Float32Array;\n readonly timestamp: number;\n}\n\ndeclare var VRFrameData: {\n prototype: VRFrameData;\n new(): VRFrameData;\n};\n\n/** This WebVR API interface represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */\ninterface VRPose {\n readonly angularAcceleration: Float32Array | null;\n readonly angularVelocity: Float32Array | null;\n readonly linearAcceleration: Float32Array | null;\n readonly linearVelocity: Float32Array | null;\n readonly orientation: Float32Array | null;\n readonly position: Float32Array | null;\n readonly timestamp: number;\n}\n\ndeclare var VRPose: {\n prototype: VRPose;\n new(): VRPose;\n};\n\ninterface VTTCue extends TextTrackCue {\n align: AlignSetting;\n line: LineAndPositionSetting;\n lineAlign: LineAlignSetting;\n position: LineAndPositionSetting;\n positionAlign: PositionAlignSetting;\n region: VTTRegion | null;\n size: number;\n snapToLines: boolean;\n text: string;\n vertical: DirectionSetting;\n getCueAsHTML(): DocumentFragment;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VTTCue: {\n prototype: VTTCue;\n new(startTime: number, endTime: number, text: string): VTTCue;\n};\n\ninterface VTTRegion {\n id: string;\n lines: number;\n regionAnchorX: number;\n regionAnchorY: number;\n scroll: ScrollSetting;\n viewportAnchorX: number;\n viewportAnchorY: number;\n width: number;\n}\n\ndeclare var VTTRegion: {\n prototype: VTTRegion;\n new(): VTTRegion;\n};\n\n/** The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element\'s value fails to validate, if it\'s not valid. */\ninterface ValidityState {\n readonly badInput: boolean;\n readonly customError: boolean;\n readonly patternMismatch: boolean;\n readonly rangeOverflow: boolean;\n readonly rangeUnderflow: boolean;\n readonly stepMismatch: boolean;\n readonly tooLong: boolean;\n readonly tooShort: boolean;\n readonly typeMismatch: boolean;\n readonly valid: boolean;\n readonly valueMissing: boolean;\n}\n\ndeclare var ValidityState: {\n prototype: ValidityState;\n new(): ValidityState;\n};\n\n/** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */\ninterface VideoPlaybackQuality {\n readonly creationTime: number;\n readonly droppedVideoFrames: number;\n readonly totalVideoFrames: number;\n}\n\ndeclare var VideoPlaybackQuality: {\n prototype: VideoPlaybackQuality;\n new(): VideoPlaybackQuality;\n};\n\ninterface VisualViewportEventMap {\n "resize": UIEvent;\n "scroll": Event;\n}\n\ninterface VisualViewport extends EventTarget {\n readonly height: number;\n readonly offsetLeft: number;\n readonly offsetTop: number;\n onresize: ((this: VisualViewport, ev: UIEvent) => any) | null;\n onscroll: ((this: VisualViewport, ev: Event) => any) | null;\n readonly pageLeft: number;\n readonly pageTop: number;\n readonly scale: number;\n readonly width: number;\n addEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VisualViewport: {\n prototype: VisualViewport;\n new(): VisualViewport;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGBA32F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_RENDERER_WEBGL: GLenum;\n readonly UNMASKED_VENDOR_WEBGL: GLenum;\n}\n\ninterface WEBGL_debug_shaders {\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n readonly DRAW_BUFFER0_WEBGL: GLenum;\n readonly DRAW_BUFFER10_WEBGL: GLenum;\n readonly DRAW_BUFFER11_WEBGL: GLenum;\n readonly DRAW_BUFFER12_WEBGL: GLenum;\n readonly DRAW_BUFFER13_WEBGL: GLenum;\n readonly DRAW_BUFFER14_WEBGL: GLenum;\n readonly DRAW_BUFFER15_WEBGL: GLenum;\n readonly DRAW_BUFFER1_WEBGL: GLenum;\n readonly DRAW_BUFFER2_WEBGL: GLenum;\n readonly DRAW_BUFFER3_WEBGL: GLenum;\n readonly DRAW_BUFFER4_WEBGL: GLenum;\n readonly DRAW_BUFFER5_WEBGL: GLenum;\n readonly DRAW_BUFFER6_WEBGL: GLenum;\n readonly DRAW_BUFFER7_WEBGL: GLenum;\n readonly DRAW_BUFFER8_WEBGL: GLenum;\n readonly DRAW_BUFFER9_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\n/** A WaveShaperNode always has exactly one input and one output. */\ninterface WaveShaperNode extends AudioNode {\n curve: Float32Array | null;\n oversample: OverSampleType;\n}\n\ndeclare var WaveShaperNode: {\n prototype: WaveShaperNode;\n new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;\n};\n\ninterface WebAuthentication {\n getAssertion(assertionChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: AssertionOptions): Promise<WebAuthnAssertion>;\n makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;\n}\n\ndeclare var WebAuthentication: {\n prototype: WebAuthentication;\n new(): WebAuthentication;\n};\n\ninterface WebAuthnAssertion {\n readonly authenticatorData: ArrayBuffer;\n readonly clientData: ArrayBuffer;\n readonly credential: ScopedCredential;\n readonly signature: ArrayBuffer;\n}\n\ndeclare var WebAuthnAssertion: {\n prototype: WebAuthnAssertion;\n new(): WebAuthnAssertion;\n};\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n};\n\ninterface WebGL2RenderingContextBase {\n beginQuery(target: GLenum, query: WebGLQuery): void;\n beginTransformFeedback(primitiveMode: GLenum): void;\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createQuery(): WebGLQuery | null;\n createSampler(): WebGLSampler | null;\n createTransformFeedback(): WebGLTransformFeedback | null;\n createVertexArray(): WebGLVertexArrayObject | null;\n deleteQuery(query: WebGLQuery | null): void;\n deleteSampler(sampler: WebGLSampler | null): void;\n deleteSync(sync: WebGLSync | null): void;\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n drawBuffers(buffers: GLenum[]): void;\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n endQuery(target: GLenum): void;\n endTransformFeedback(): void;\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n getIndexedParameter(target: GLenum, index: GLuint): any;\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n isQuery(query: WebGLQuery | null): GLboolean;\n isSampler(sampler: WebGLSampler | null): GLboolean;\n isSync(sync: WebGLSync | null): GLboolean;\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n pauseTransformFeedback(): void;\n readBuffer(src: GLenum): void;\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n resumeTransformFeedback(): void;\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n}\n\ninterface WebGL2RenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n readonly name: string;\n readonly size: GLint;\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer extends WebGLObject {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer extends WebGLObject {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\n\ninterface WebGLObject {\n}\n\ndeclare var WebGLObject: {\n prototype: WebGLObject;\n new(): WebGLObject;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram extends WebGLObject {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\ninterface WebGLQuery extends WebGLObject {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer extends WebGLObject {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n prototype: WebGLRenderingContext;\n new(): WebGLRenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n readonly drawingBufferHeight: GLsizei;\n readonly drawingBufferWidth: GLsizei;\n activeTexture(texture: GLenum): void;\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n blendEquation(mode: GLenum): void;\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n checkFramebufferStatus(target: GLenum): GLenum;\n clear(mask: GLbitfield): void;\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n clearDepth(depth: GLclampf): void;\n clearStencil(s: GLint): void;\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n compileShader(shader: WebGLShader): void;\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createBuffer(): WebGLBuffer | null;\n createFramebuffer(): WebGLFramebuffer | null;\n createProgram(): WebGLProgram | null;\n createRenderbuffer(): WebGLRenderbuffer | null;\n createShader(type: GLenum): WebGLShader | null;\n createTexture(): WebGLTexture | null;\n cullFace(mode: GLenum): void;\n deleteBuffer(buffer: WebGLBuffer | null): void;\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n deleteProgram(program: WebGLProgram | null): void;\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n deleteShader(shader: WebGLShader | null): void;\n deleteTexture(texture: WebGLTexture | null): void;\n depthFunc(func: GLenum): void;\n depthMask(flag: GLboolean): void;\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n disable(cap: GLenum): void;\n disableVertexAttribArray(index: GLuint): void;\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n enable(cap: GLenum): void;\n enableVertexAttribArray(index: GLuint): void;\n finish(): void;\n flush(): void;\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n frontFace(mode: GLenum): void;\n generateMipmap(target: GLenum): void;\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n getBufferParameter(target: GLenum, pname: GLenum): any;\n getContextAttributes(): WebGLContextAttributes | null;\n getError(): GLenum;\n getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;\n getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;\n getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;\n getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\n getExtension(extensionName: string): any;\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n getParameter(pname: GLenum): any;\n getProgramInfoLog(program: WebGLProgram): string | null;\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n getShaderInfoLog(shader: WebGLShader): string | null;\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n getShaderSource(shader: WebGLShader): string | null;\n getSupportedExtensions(): string[] | null;\n getTexParameter(target: GLenum, pname: GLenum): any;\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n hint(target: GLenum, mode: GLenum): void;\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n isContextLost(): boolean;\n isEnabled(cap: GLenum): GLboolean;\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n isProgram(program: WebGLProgram | null): GLboolean;\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n isShader(shader: WebGLShader | null): GLboolean;\n isTexture(texture: WebGLTexture | null): GLboolean;\n lineWidth(width: GLfloat): void;\n linkProgram(program: WebGLProgram): void;\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n shaderSource(shader: WebGLShader, source: string): void;\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n stencilMask(mask: GLuint): void;\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n useProgram(program: WebGLProgram | null): void;\n validateProgram(program: WebGLProgram): void;\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n}\n\ninterface WebGLRenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler extends WebGLObject {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader extends WebGLObject {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n readonly precision: GLint;\n readonly rangeMax: GLint;\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync extends WebGLObject {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture extends WebGLObject {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback extends WebGLObject {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject extends WebGLObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES extends WebGLObject {\n}\n\ninterface WebKitPoint {\n x: number;\n y: number;\n}\n\ndeclare var WebKitPoint: {\n prototype: WebKitPoint;\n new(x?: number, y?: number): WebKitPoint;\n};\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n /**\n * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n * \n * Can be set, to change how binary data is returned. The default is "blob".\n */\n binaryType: BinaryType;\n /**\n * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n * \n * If the WebSocket connection is closed, this attribute\'s value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n */\n readonly bufferedAmount: number;\n /**\n * Returns the extensions selected by the server, if any.\n */\n readonly extensions: string;\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor\'s second argument to perform subprotocol negotiation.\n */\n readonly protocol: string;\n /**\n * Returns the state of the WebSocket object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL that was used to establish the WebSocket connection.\n */\n readonly url: string;\n /**\n * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.\n */\n close(code?: number, reason?: string): void;\n /**\n * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.\n */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n prototype: WebSocket;\n new(url: string, protocols?: string | string[]): WebSocket;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** Events that occur due to the user moving a mouse wheel or similar input device. */\ninterface WheelEvent extends MouseEvent {\n readonly deltaMode: number;\n readonly deltaX: number;\n readonly deltaY: number;\n readonly deltaZ: number;\n readonly DOM_DELTA_LINE: number;\n readonly DOM_DELTA_PAGE: number;\n readonly DOM_DELTA_PIXEL: number;\n}\n\ndeclare var WheelEvent: {\n prototype: WheelEvent;\n new(type: string, eventInitDict?: WheelEventInit): WheelEvent;\n readonly DOM_DELTA_LINE: number;\n readonly DOM_DELTA_PAGE: number;\n readonly DOM_DELTA_PIXEL: number;\n};\n\ninterface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {\n "abort": UIEvent;\n "afterprint": Event;\n "beforeprint": Event;\n "beforeunload": BeforeUnloadEvent;\n "blur": FocusEvent;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": MouseEvent;\n "compassneedscalibration": Event;\n "contextmenu": MouseEvent;\n "dblclick": MouseEvent;\n "devicelight": DeviceLightEvent;\n "devicemotion": DeviceMotionEvent;\n "deviceorientation": DeviceOrientationEvent;\n "deviceorientationabsolute": DeviceOrientationEvent;\n "drag": DragEvent;\n "dragend": DragEvent;\n "dragenter": DragEvent;\n "dragleave": DragEvent;\n "dragover": DragEvent;\n "dragstart": DragEvent;\n "drop": DragEvent;\n "durationchange": Event;\n "emptied": Event;\n "ended": Event;\n "error": ErrorEvent;\n "focus": FocusEvent;\n "hashchange": HashChangeEvent;\n "input": Event;\n "invalid": Event;\n "keydown": KeyboardEvent;\n "keypress": KeyboardEvent;\n "keyup": KeyboardEvent;\n "load": Event;\n "loadeddata": Event;\n "loadedmetadata": Event;\n "loadstart": Event;\n "message": MessageEvent;\n "mousedown": MouseEvent;\n "mouseenter": MouseEvent;\n "mouseleave": MouseEvent;\n "mousemove": MouseEvent;\n "mouseout": MouseEvent;\n "mouseover": MouseEvent;\n "mouseup": MouseEvent;\n "mousewheel": Event;\n "MSGestureChange": Event;\n "MSGestureDoubleTap": Event;\n "MSGestureEnd": Event;\n "MSGestureHold": Event;\n "MSGestureStart": Event;\n "MSGestureTap": Event;\n "MSInertiaStart": Event;\n "MSPointerCancel": Event;\n "MSPointerDown": Event;\n "MSPointerEnter": Event;\n "MSPointerLeave": Event;\n "MSPointerMove": Event;\n "MSPointerOut": Event;\n "MSPointerOver": Event;\n "MSPointerUp": Event;\n "offline": Event;\n "online": Event;\n "orientationchange": Event;\n "pagehide": PageTransitionEvent;\n "pageshow": PageTransitionEvent;\n "pause": Event;\n "play": Event;\n "playing": Event;\n "popstate": PopStateEvent;\n "progress": ProgressEvent<Window>;\n "ratechange": Event;\n "readystatechange": ProgressEvent<Window>;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "seeked": Event;\n "seeking": Event;\n "select": Event;\n "stalled": Event;\n "storage": StorageEvent;\n "submit": Event;\n "suspend": Event;\n "timeupdate": Event;\n "unload": Event;\n "volumechange": Event;\n "vrdisplayactivate": Event;\n "vrdisplayblur": Event;\n "vrdisplayconnect": Event;\n "vrdisplaydeactivate": Event;\n "vrdisplaydisconnect": Event;\n "vrdisplayfocus": Event;\n "vrdisplaypointerrestricted": Event;\n "vrdisplaypointerunrestricted": Event;\n "vrdisplaypresentchange": Event;\n "waiting": Event;\n}\n\n/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */\ninterface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {\n readonly applicationCache: ApplicationCache;\n readonly clientInformation: Navigator;\n readonly closed: boolean;\n customElements: CustomElementRegistry;\n defaultStatus: string;\n readonly devicePixelRatio: number;\n readonly doNotTrack: string;\n readonly document: Document;\n /** @deprecated */\n readonly event: Event | undefined;\n /** @deprecated */\n readonly external: External;\n readonly frameElement: Element;\n readonly frames: Window;\n readonly history: History;\n readonly innerHeight: number;\n readonly innerWidth: number;\n readonly length: number;\n location: Location;\n readonly locationbar: BarProp;\n readonly menubar: BarProp;\n readonly msContentScript: ExtensionScriptApis;\n name: string;\n readonly navigator: Navigator;\n offscreenBuffering: string | boolean;\n oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;\n ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;\n ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n onmousewheel: ((this: Window, ev: Event) => any) | null;\n onmsgesturechange: ((this: Window, ev: Event) => any) | null;\n onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null;\n onmsgestureend: ((this: Window, ev: Event) => any) | null;\n onmsgesturehold: ((this: Window, ev: Event) => any) | null;\n onmsgesturestart: ((this: Window, ev: Event) => any) | null;\n onmsgesturetap: ((this: Window, ev: Event) => any) | null;\n onmsinertiastart: ((this: Window, ev: Event) => any) | null;\n onmspointercancel: ((this: Window, ev: Event) => any) | null;\n onmspointerdown: ((this: Window, ev: Event) => any) | null;\n onmspointerenter: ((this: Window, ev: Event) => any) | null;\n onmspointerleave: ((this: Window, ev: Event) => any) | null;\n onmspointermove: ((this: Window, ev: Event) => any) | null;\n onmspointerout: ((this: Window, ev: Event) => any) | null;\n onmspointerover: ((this: Window, ev: Event) => any) | null;\n onmspointerup: ((this: Window, ev: Event) => any) | null;\n /** @deprecated */\n onorientationchange: ((this: Window, ev: Event) => any) | null;\n onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null;\n onvrdisplayactivate: ((this: Window, ev: Event) => any) | null;\n onvrdisplayblur: ((this: Window, ev: Event) => any) | null;\n onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;\n onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null;\n onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null;\n onvrdisplayfocus: ((this: Window, ev: Event) => any) | null;\n onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null;\n onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;\n onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;\n opener: any;\n /** @deprecated */\n readonly orientation: string | number;\n readonly outerHeight: number;\n readonly outerWidth: number;\n readonly pageXOffset: number;\n readonly pageYOffset: number;\n readonly parent: Window;\n readonly personalbar: BarProp;\n readonly screen: Screen;\n readonly screenLeft: number;\n readonly screenTop: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly scrollX: number;\n readonly scrollY: number;\n readonly scrollbars: BarProp;\n readonly self: Window & typeof globalThis;\n readonly speechSynthesis: SpeechSynthesis;\n status: string;\n readonly statusbar: BarProp;\n readonly styleMedia: StyleMedia;\n readonly toolbar: BarProp;\n readonly top: Window;\n readonly visualViewport: VisualViewport;\n readonly window: Window & typeof globalThis;\n alert(message?: any): void;\n blur(): void;\n /** @deprecated */\n captureEvents(): void;\n close(): void;\n confirm(message?: string): boolean;\n departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;\n focus(): void;\n getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList;\n getSelection(): Selection | null;\n matchMedia(query: string): MediaQueryList;\n moveBy(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n msWriteProfilerMark(profilerMarkName: string): void;\n open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;\n postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\n print(): void;\n prompt(message?: string, _default?: string): string | null;\n /** @deprecated */\n releaseEvents(): void;\n resizeBy(x: number, y: number): void;\n resizeTo(width: number, height: number): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n stop(): void;\n webkitCancelAnimationFrame(handle: number): void;\n webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;\n webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;\n webkitRequestAnimationFrame(callback: FrameRequestCallback): number;\n addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Window;\n}\n\ndeclare var Window: {\n prototype: Window;\n new(): Window;\n};\n\ninterface WindowEventHandlersEventMap {\n "afterprint": Event;\n "beforeprint": Event;\n "beforeunload": BeforeUnloadEvent;\n "hashchange": HashChangeEvent;\n "languagechange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n "offline": Event;\n "online": Event;\n "pagehide": PageTransitionEvent;\n "pageshow": PageTransitionEvent;\n "popstate": PopStateEvent;\n "rejectionhandled": PromiseRejectionEvent;\n "storage": StorageEvent;\n "unhandledrejection": PromiseRejectionEvent;\n "unload": Event;\n}\n\ninterface WindowEventHandlers {\n onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;\n onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;\n onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n ononline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;\n onrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;\n onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;\n addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface WindowLocalStorage {\n readonly localStorage: Storage;\n}\n\ninterface WindowOrWorkerGlobalScope {\n readonly caches: CacheStorage;\n readonly crypto: Crypto;\n readonly indexedDB: IDBFactory;\n readonly isSecureContext: boolean;\n readonly origin: string;\n readonly performance: Performance;\n atob(data: string): string;\n btoa(data: string): string;\n clearInterval(handle?: number): void;\n clearTimeout(handle?: number): void;\n createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n}\n\ninterface WindowSessionStorage {\n readonly sessionStorage: Storage;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n /**\n * Clones message and transmits it to worker\'s global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Aborts worker\'s associated global environment.\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(stringUrl: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface Worklet {\n addModule(moduleURL: string, options?: WorkletOptions): Promise<void>;\n}\n\ndeclare var Worklet: {\n prototype: Worklet;\n new(): Worklet;\n};\n\n/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n readonly locked: boolean;\n abort(reason?: any): Promise<void>;\n getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n prototype: WritableStream;\n new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a WritableStream\'s state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n error(error?: any): void;\n}\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n readonly closed: Promise<void>;\n readonly desiredSize: number | null;\n readonly ready: Promise<void>;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n releaseLock(): void;\n write(chunk: W): Promise<void>;\n}\n\n/** An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. */\ninterface XMLDocument extends Document {\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLDocument: {\n prototype: XMLDocument;\n new(): XMLDocument;\n};\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n "readystatechange": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * Returns client\'s state.\n */\n readonly readyState: number;\n /**\n * Returns the response\'s body.\n */\n readonly response: any;\n /**\n * Returns the text response.\n * \n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".\n */\n readonly responseText: string;\n /**\n * Returns the response type.\n * \n * Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".\n * \n * When set: setting to "document" is ignored if current global object is not a Window object.\n * \n * When set: throws an "InvalidStateError" DOMException if state is loading or done.\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n responseType: XMLHttpRequestResponseType;\n readonly responseURL: string;\n /**\n * Returns the document response.\n * \n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "document".\n */\n readonly responseXML: Document | null;\n readonly status: number;\n readonly statusText: string;\n /**\n * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and the synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n timeout: number;\n /**\n * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n * \n * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.\n */\n withCredentials: boolean;\n /**\n * Cancels any network activity.\n */\n abort(): void;\n getAllResponseHeaders(): string;\n getResponseHeader(name: string): string | null;\n /**\n * Sets the request method, request URL, and synchronous flag.\n * \n * Throws a "SyntaxError" DOMException if either method is not a valid HTTP method or url cannot be parsed.\n * \n * Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.\n * \n * Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n */\n open(method: string, url: string): void;\n open(method: string, url: string, async: boolean, username?: string | null, password?: string | null): void;\n /**\n * Acts as if the `Content-Type` header value for response is mime. (It does not actually change the header though.)\n * \n * Throws an "InvalidStateError" DOMException if state is loading or done.\n */\n overrideMimeType(mime: string): void;\n /**\n * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n */\n send(body?: Document | BodyInit | null): void;\n /**\n * Combines a header in author request headers.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n * \n * Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.\n */\n setRequestHeader(name: string, value: string): void;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n prototype: XMLHttpRequest;\n new(): XMLHttpRequest;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n "abort": ProgressEvent<XMLHttpRequestEventTarget>;\n "error": ProgressEvent<XMLHttpRequestEventTarget>;\n "load": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadend": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;\n "progress": ProgressEvent<XMLHttpRequestEventTarget>;\n "timeout": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n prototype: XMLHttpRequestEventTarget;\n new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n prototype: XMLHttpRequestUpload;\n new(): XMLHttpRequestUpload;\n};\n\n/** Provides the serializeToString() method to construct an XML string representing a DOM tree. */\ninterface XMLSerializer {\n serializeToString(root: Node): string;\n}\n\ndeclare var XMLSerializer: {\n prototype: XMLSerializer;\n new(): XMLSerializer;\n};\n\n/** The XPathEvaluator interface allows to compile and evaluate XPath expressions. */\ninterface XPathEvaluator extends XPathEvaluatorBase {\n}\n\ndeclare var XPathEvaluator: {\n prototype: XPathEvaluator;\n new(): XPathEvaluator;\n};\n\ninterface XPathEvaluatorBase {\n createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;\n createNSResolver(nodeResolver: Node): XPathNSResolver;\n evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;\n}\n\n/** This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree. */\ninterface XPathExpression {\n evaluate(contextNode: Node, type?: number, result?: XPathResult | null): XPathResult;\n}\n\ndeclare var XPathExpression: {\n prototype: XPathExpression;\n new(): XPathExpression;\n};\n\n/** The results generated by evaluating an XPath expression within the context of a given node. */\ninterface XPathResult {\n readonly booleanValue: boolean;\n readonly invalidIteratorState: boolean;\n readonly numberValue: number;\n readonly resultType: number;\n readonly singleNodeValue: Node | null;\n readonly snapshotLength: number;\n readonly stringValue: string;\n iterateNext(): Node | null;\n snapshotItem(index: number): Node | null;\n readonly ANY_TYPE: number;\n readonly ANY_UNORDERED_NODE_TYPE: number;\n readonly BOOLEAN_TYPE: number;\n readonly FIRST_ORDERED_NODE_TYPE: number;\n readonly NUMBER_TYPE: number;\n readonly ORDERED_NODE_ITERATOR_TYPE: number;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n readonly STRING_TYPE: number;\n readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n}\n\ndeclare var XPathResult: {\n prototype: XPathResult;\n new(): XPathResult;\n readonly ANY_TYPE: number;\n readonly ANY_UNORDERED_NODE_TYPE: number;\n readonly BOOLEAN_TYPE: number;\n readonly FIRST_ORDERED_NODE_TYPE: number;\n readonly NUMBER_TYPE: number;\n readonly ORDERED_NODE_ITERATOR_TYPE: number;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n readonly STRING_TYPE: number;\n readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n};\n\n/** An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents. */\ninterface XSLTProcessor {\n clearParameters(): void;\n getParameter(namespaceURI: string, localName: string): any;\n importStylesheet(style: Node): void;\n removeParameter(namespaceURI: string, localName: string): void;\n reset(): void;\n setParameter(namespaceURI: string, localName: string, value: any): void;\n transformToDocument(source: Node): Document;\n transformToFragment(source: Node, document: Document): DocumentFragment;\n}\n\ndeclare var XSLTProcessor: {\n prototype: XSLTProcessor;\n new(): XSLTProcessor;\n};\n\ninterface webkitRTCPeerConnection extends RTCPeerConnection {\n addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var webkitRTCPeerConnection: {\n prototype: webkitRTCPeerConnection;\n new(configuration: RTCConfiguration): webkitRTCPeerConnection;\n};\n\ndeclare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;\n\ninterface Console {\n memory: any;\n assert(condition?: boolean, ...data: any[]): void;\n clear(): void;\n count(label?: string): void;\n countReset(label?: string): void;\n debug(...data: any[]): void;\n dir(item?: any, options?: any): void;\n dirxml(...data: any[]): void;\n error(...data: any[]): void;\n exception(message?: string, ...optionalParams: any[]): void;\n group(...data: any[]): void;\n groupCollapsed(...data: any[]): void;\n groupEnd(): void;\n info(...data: any[]): void;\n log(...data: any[]): void;\n table(tabularData?: any, properties?: string[]): void;\n time(label?: string): void;\n timeEnd(label?: string): void;\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n trace(...data: any[]): void;\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\n/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */\ndeclare namespace CSS {\n function escape(ident: string): string;\n function supports(property: string, value: string): boolean;\n function supports(conditionText: string): boolean;\n}\n\ndeclare namespace WebAssembly {\n interface CompileError {\n }\n \n var CompileError: {\n prototype: CompileError;\n new(): CompileError;\n };\n \n interface Global {\n value: any;\n valueOf(): any;\n }\n \n var Global: {\n prototype: Global;\n new(descriptor: GlobalDescriptor, v?: any): Global;\n };\n \n interface Instance {\n readonly exports: Exports;\n }\n \n var Instance: {\n prototype: Instance;\n new(module: Module, importObject?: Imports): Instance;\n };\n \n interface LinkError {\n }\n \n var LinkError: {\n prototype: LinkError;\n new(): LinkError;\n };\n \n interface Memory {\n readonly buffer: ArrayBuffer;\n grow(delta: number): number;\n }\n \n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n \n interface Module {\n }\n \n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n exports(moduleObject: Module): ModuleExportDescriptor[];\n imports(moduleObject: Module): ModuleImportDescriptor[];\n };\n \n interface RuntimeError {\n }\n \n var RuntimeError: {\n prototype: RuntimeError;\n new(): RuntimeError;\n };\n \n interface Table {\n readonly length: number;\n get(index: number): Function | null;\n grow(delta: number): number;\n set(index: number, value: Function | null): void;\n }\n \n var Table: {\n prototype: Table;\n new(descriptor: TableDescriptor): Table;\n };\n \n interface GlobalDescriptor {\n mutable?: boolean;\n value: ValueType;\n }\n \n interface MemoryDescriptor {\n initial: number;\n maximum?: number;\n }\n \n interface ModuleExportDescriptor {\n kind: ImportExportKind;\n name: string;\n }\n \n interface ModuleImportDescriptor {\n kind: ImportExportKind;\n module: string;\n name: string;\n }\n \n interface TableDescriptor {\n element: TableKind;\n initial: number;\n maximum?: number;\n }\n \n interface WebAssemblyInstantiatedSource {\n instance: Instance;\n module: Module;\n }\n \n type ImportExportKind = "function" | "global" | "memory" | "table";\n type TableKind = "anyfunc";\n type ValueType = "f32" | "f64" | "i32" | "i64";\n type ExportValue = Function | Global | Memory | Table;\n type Exports = Record<string, ExportValue>;\n type ImportValue = ExportValue | number;\n type ModuleImports = Record<string, ImportValue>;\n type Imports = Record<string, ModuleImports>;\n function compile(bytes: BufferSource): Promise<Module>;\n function compileStreaming(source: Response | Promise<Response>): Promise<Module>;\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function validate(bytes: BufferSource): boolean;\n}\n\ninterface BlobCallback {\n (blob: Blob | null): void;\n}\n\ninterface CustomElementConstructor {\n new (...params: any[]): HTMLElement;\n}\n\ninterface DecodeErrorCallback {\n (error: DOMException): void;\n}\n\ninterface DecodeSuccessCallback {\n (decodedData: AudioBuffer): void;\n}\n\ninterface EventHandlerNonNull {\n (event: Event): any;\n}\n\ninterface ForEachCallback {\n (keyId: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, status: MediaKeyStatus): void;\n}\n\ninterface FrameRequestCallback {\n (time: number): void;\n}\n\ninterface FunctionStringCallback {\n (data: string): void;\n}\n\ninterface IntersectionObserverCallback {\n (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;\n}\n\ninterface MSLaunchUriCallback {\n (): void;\n}\n\ninterface MutationCallback {\n (mutations: MutationRecord[], observer: MutationObserver): void;\n}\n\ninterface NavigatorUserMediaErrorCallback {\n (error: MediaStreamError): void;\n}\n\ninterface NavigatorUserMediaSuccessCallback {\n (stream: MediaStream): void;\n}\n\ninterface NotificationPermissionCallback {\n (permission: NotificationPermission): void;\n}\n\ninterface OnBeforeUnloadEventHandlerNonNull {\n (event: Event): string | null;\n}\n\ninterface OnErrorEventHandlerNonNull {\n (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface PositionCallback {\n (position: Position): void;\n}\n\ninterface PositionErrorCallback {\n (positionError: PositionError): void;\n}\n\ninterface QueuingStrategySizeCallback<T = any> {\n (chunk: T): number;\n}\n\ninterface RTCPeerConnectionErrorCallback {\n (error: DOMException): void;\n}\n\ninterface RTCSessionDescriptionCallback {\n (description: RTCSessionDescriptionInit): void;\n}\n\ninterface RTCStatsCallback {\n (report: RTCStatsReport): void;\n}\n\ninterface ReadableByteStreamControllerCallback {\n (controller: ReadableByteStreamController): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamDefaultControllerCallback<R> {\n (controller: ReadableStreamDefaultController<R>): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerCallback<O> {\n (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerTransformCallback<I, O> {\n (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface WritableStreamDefaultControllerCloseCallback {\n (): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerStartCallback {\n (controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerWriteCallback<W> {\n (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\ninterface HTMLElementTagNameMap {\n "a": HTMLAnchorElement;\n "abbr": HTMLElement;\n "address": HTMLElement;\n "applet": HTMLAppletElement;\n "area": HTMLAreaElement;\n "article": HTMLElement;\n "aside": HTMLElement;\n "audio": HTMLAudioElement;\n "b": HTMLElement;\n "base": HTMLBaseElement;\n "basefont": HTMLBaseFontElement;\n "bdi": HTMLElement;\n "bdo": HTMLElement;\n "blockquote": HTMLQuoteElement;\n "body": HTMLBodyElement;\n "br": HTMLBRElement;\n "button": HTMLButtonElement;\n "canvas": HTMLCanvasElement;\n "caption": HTMLTableCaptionElement;\n "cite": HTMLElement;\n "code": HTMLElement;\n "col": HTMLTableColElement;\n "colgroup": HTMLTableColElement;\n "data": HTMLDataElement;\n "datalist": HTMLDataListElement;\n "dd": HTMLElement;\n "del": HTMLModElement;\n "details": HTMLDetailsElement;\n "dfn": HTMLElement;\n "dialog": HTMLDialogElement;\n "dir": HTMLDirectoryElement;\n "div": HTMLDivElement;\n "dl": HTMLDListElement;\n "dt": HTMLElement;\n "em": HTMLElement;\n "embed": HTMLEmbedElement;\n "fieldset": HTMLFieldSetElement;\n "figcaption": HTMLElement;\n "figure": HTMLElement;\n "font": HTMLFontElement;\n "footer": HTMLElement;\n "form": HTMLFormElement;\n "frame": HTMLFrameElement;\n "frameset": HTMLFrameSetElement;\n "h1": HTMLHeadingElement;\n "h2": HTMLHeadingElement;\n "h3": HTMLHeadingElement;\n "h4": HTMLHeadingElement;\n "h5": HTMLHeadingElement;\n "h6": HTMLHeadingElement;\n "head": HTMLHeadElement;\n "header": HTMLElement;\n "hgroup": HTMLElement;\n "hr": HTMLHRElement;\n "html": HTMLHtmlElement;\n "i": HTMLElement;\n "iframe": HTMLIFrameElement;\n "img": HTMLImageElement;\n "input": HTMLInputElement;\n "ins": HTMLModElement;\n "kbd": HTMLElement;\n "label": HTMLLabelElement;\n "legend": HTMLLegendElement;\n "li": HTMLLIElement;\n "link": HTMLLinkElement;\n "main": HTMLElement;\n "map": HTMLMapElement;\n "mark": HTMLElement;\n "marquee": HTMLMarqueeElement;\n "menu": HTMLMenuElement;\n "meta": HTMLMetaElement;\n "meter": HTMLMeterElement;\n "nav": HTMLElement;\n "noscript": HTMLElement;\n "object": HTMLObjectElement;\n "ol": HTMLOListElement;\n "optgroup": HTMLOptGroupElement;\n "option": HTMLOptionElement;\n "output": HTMLOutputElement;\n "p": HTMLParagraphElement;\n "param": HTMLParamElement;\n "picture": HTMLPictureElement;\n "pre": HTMLPreElement;\n "progress": HTMLProgressElement;\n "q": HTMLQuoteElement;\n "rp": HTMLElement;\n "rt": HTMLElement;\n "ruby": HTMLElement;\n "s": HTMLElement;\n "samp": HTMLElement;\n "script": HTMLScriptElement;\n "section": HTMLElement;\n "select": HTMLSelectElement;\n "slot": HTMLSlotElement;\n "small": HTMLElement;\n "source": HTMLSourceElement;\n "span": HTMLSpanElement;\n "strong": HTMLElement;\n "style": HTMLStyleElement;\n "sub": HTMLElement;\n "summary": HTMLElement;\n "sup": HTMLElement;\n "table": HTMLTableElement;\n "tbody": HTMLTableSectionElement;\n "td": HTMLTableDataCellElement;\n "template": HTMLTemplateElement;\n "textarea": HTMLTextAreaElement;\n "tfoot": HTMLTableSectionElement;\n "th": HTMLTableHeaderCellElement;\n "thead": HTMLTableSectionElement;\n "time": HTMLTimeElement;\n "title": HTMLTitleElement;\n "tr": HTMLTableRowElement;\n "track": HTMLTrackElement;\n "u": HTMLElement;\n "ul": HTMLUListElement;\n "var": HTMLElement;\n "video": HTMLVideoElement;\n "wbr": HTMLElement;\n}\n\ninterface HTMLElementDeprecatedTagNameMap {\n "listing": HTMLPreElement;\n "xmp": HTMLPreElement;\n}\n\ninterface SVGElementTagNameMap {\n "a": SVGAElement;\n "circle": SVGCircleElement;\n "clipPath": SVGClipPathElement;\n "defs": SVGDefsElement;\n "desc": SVGDescElement;\n "ellipse": SVGEllipseElement;\n "feBlend": SVGFEBlendElement;\n "feColorMatrix": SVGFEColorMatrixElement;\n "feComponentTransfer": SVGFEComponentTransferElement;\n "feComposite": SVGFECompositeElement;\n "feConvolveMatrix": SVGFEConvolveMatrixElement;\n "feDiffuseLighting": SVGFEDiffuseLightingElement;\n "feDisplacementMap": SVGFEDisplacementMapElement;\n "feDistantLight": SVGFEDistantLightElement;\n "feFlood": SVGFEFloodElement;\n "feFuncA": SVGFEFuncAElement;\n "feFuncB": SVGFEFuncBElement;\n "feFuncG": SVGFEFuncGElement;\n "feFuncR": SVGFEFuncRElement;\n "feGaussianBlur": SVGFEGaussianBlurElement;\n "feImage": SVGFEImageElement;\n "feMerge": SVGFEMergeElement;\n "feMergeNode": SVGFEMergeNodeElement;\n "feMorphology": SVGFEMorphologyElement;\n "feOffset": SVGFEOffsetElement;\n "fePointLight": SVGFEPointLightElement;\n "feSpecularLighting": SVGFESpecularLightingElement;\n "feSpotLight": SVGFESpotLightElement;\n "feTile": SVGFETileElement;\n "feTurbulence": SVGFETurbulenceElement;\n "filter": SVGFilterElement;\n "foreignObject": SVGForeignObjectElement;\n "g": SVGGElement;\n "image": SVGImageElement;\n "line": SVGLineElement;\n "linearGradient": SVGLinearGradientElement;\n "marker": SVGMarkerElement;\n "mask": SVGMaskElement;\n "metadata": SVGMetadataElement;\n "path": SVGPathElement;\n "pattern": SVGPatternElement;\n "polygon": SVGPolygonElement;\n "polyline": SVGPolylineElement;\n "radialGradient": SVGRadialGradientElement;\n "rect": SVGRectElement;\n "script": SVGScriptElement;\n "stop": SVGStopElement;\n "style": SVGStyleElement;\n "svg": SVGSVGElement;\n "switch": SVGSwitchElement;\n "symbol": SVGSymbolElement;\n "text": SVGTextElement;\n "textPath": SVGTextPathElement;\n "title": SVGTitleElement;\n "tspan": SVGTSpanElement;\n "use": SVGUseElement;\n "view": SVGViewElement;\n}\n\n/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */\ntype ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;\n\ndeclare var Audio: {\n new(src?: string): HTMLAudioElement;\n};\ndeclare var Image: {\n new(width?: number, height?: number): HTMLImageElement;\n};\ndeclare var Option: {\n new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement;\n};\ndeclare var applicationCache: ApplicationCache;\ndeclare var clientInformation: Navigator;\ndeclare var closed: boolean;\ndeclare var customElements: CustomElementRegistry;\ndeclare var defaultStatus: string;\ndeclare var devicePixelRatio: number;\ndeclare var doNotTrack: string;\ndeclare var document: Document;\n/** @deprecated */\ndeclare var event: Event | undefined;\n/** @deprecated */\ndeclare var external: External;\ndeclare var frameElement: Element;\ndeclare var frames: Window;\ndeclare var history: History;\ndeclare var innerHeight: number;\ndeclare var innerWidth: number;\ndeclare var length: number;\ndeclare var location: Location;\ndeclare var locationbar: BarProp;\ndeclare var menubar: BarProp;\ndeclare var msContentScript: ExtensionScriptApis;\ndeclare const name: never;\ndeclare var navigator: Navigator;\ndeclare var offscreenBuffering: string | boolean;\ndeclare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;\ndeclare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;\ndeclare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\ndeclare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\ndeclare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\ndeclare var onmousewheel: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturechange: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgestureend: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturehold: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturestart: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturetap: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsinertiastart: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointercancel: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerdown: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerenter: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerleave: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointermove: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerout: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerover: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerup: ((this: Window, ev: Event) => any) | null;\n/** @deprecated */\ndeclare var onorientationchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null;\ndeclare var onvrdisplayactivate: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplayblur: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplayfocus: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;\ndeclare var opener: any;\n/** @deprecated */\ndeclare var orientation: string | number;\ndeclare var outerHeight: number;\ndeclare var outerWidth: number;\ndeclare var pageXOffset: number;\ndeclare var pageYOffset: number;\ndeclare var parent: Window;\ndeclare var personalbar: BarProp;\ndeclare var screen: Screen;\ndeclare var screenLeft: number;\ndeclare var screenTop: number;\ndeclare var screenX: number;\ndeclare var screenY: number;\ndeclare var scrollX: number;\ndeclare var scrollY: number;\ndeclare var scrollbars: BarProp;\ndeclare var self: Window & typeof globalThis;\ndeclare var speechSynthesis: SpeechSynthesis;\ndeclare var status: string;\ndeclare var statusbar: BarProp;\ndeclare var styleMedia: StyleMedia;\ndeclare var toolbar: BarProp;\ndeclare var top: Window;\ndeclare var visualViewport: VisualViewport;\ndeclare var window: Window & typeof globalThis;\ndeclare function alert(message?: any): void;\ndeclare function blur(): void;\n/** @deprecated */\ndeclare function captureEvents(): void;\ndeclare function close(): void;\ndeclare function confirm(message?: string): boolean;\ndeclare function departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;\ndeclare function focus(): void;\ndeclare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\ndeclare function getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList;\ndeclare function getSelection(): Selection | null;\ndeclare function matchMedia(query: string): MediaQueryList;\ndeclare function moveBy(x: number, y: number): void;\ndeclare function moveTo(x: number, y: number): void;\ndeclare function msWriteProfilerMark(profilerMarkName: string): void;\ndeclare function open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;\ndeclare function postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\ndeclare function print(): void;\ndeclare function prompt(message?: string, _default?: string): string | null;\n/** @deprecated */\ndeclare function releaseEvents(): void;\ndeclare function resizeBy(x: number, y: number): void;\ndeclare function resizeTo(width: number, height: number): void;\ndeclare function scroll(options?: ScrollToOptions): void;\ndeclare function scroll(x: number, y: number): void;\ndeclare function scrollBy(options?: ScrollToOptions): void;\ndeclare function scrollBy(x: number, y: number): void;\ndeclare function scrollTo(options?: ScrollToOptions): void;\ndeclare function scrollTo(x: number, y: number): void;\ndeclare function stop(): void;\ndeclare function webkitCancelAnimationFrame(handle: number): void;\ndeclare function webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;\ndeclare function webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;\ndeclare function webkitRequestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare function toString(): string;\n/**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var sessionStorage: Storage;\ndeclare var localStorage: Storage;\n/**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\ndeclare var onabort: ((this: Window, ev: UIEvent) => any) | null;\ndeclare var onanimationcancel: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\ndeclare var onblur: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var oncancel: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\ndeclare var oncanplay: ((this: Window, ev: Event) => any) | null;\ndeclare var oncanplaythrough: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\ndeclare var onchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\ndeclare var onclick: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onclose: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\ndeclare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var oncuechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\ndeclare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\ndeclare var ondrag: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\ndeclare var ondragend: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\ndeclare var ondragenter: ((this: Window, ev: DragEvent) => any) | null;\ndeclare var ondragexit: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\ndeclare var ondragleave: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\ndeclare var ondragover: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\ndeclare var ondragstart: ((this: Window, ev: DragEvent) => any) | null;\ndeclare var ondrop: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\ndeclare var ondurationchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\ndeclare var onemptied: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\ndeclare var onended: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\ndeclare var onerror: OnErrorEventHandler;\n/**\n * Fires when the object receives focus.\n * @param ev The event.\n */\ndeclare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var oninput: ((this: Window, ev: Event) => any) | null;\ndeclare var oninvalid: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\ndeclare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n */\ndeclare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\ndeclare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\ndeclare var onload: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\ndeclare var onloadeddata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\ndeclare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\ndeclare var onloadstart: ((this: Window, ev: Event) => any) | null;\ndeclare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\ndeclare var onmousedown: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseenter: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\ndeclare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Occurs when playback is paused.\n * @param ev The event.\n */\ndeclare var onpause: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\ndeclare var onplay: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\ndeclare var onplaying: ((this: Window, ev: Event) => any) | null;\ndeclare var onpointercancel: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerdown: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerenter: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerleave: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\ndeclare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null;\n/**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\ndeclare var onratechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user resets a form.\n * @param ev The event.\n */\ndeclare var onreset: ((this: Window, ev: Event) => any) | null;\ndeclare var onresize: ((this: Window, ev: UIEvent) => any) | null;\n/**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\ndeclare var onscroll: ((this: Window, ev: Event) => any) | null;\ndeclare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;\n/**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\ndeclare var onseeked: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\ndeclare var onseeking: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the current selection changes.\n * @param ev The event.\n */\ndeclare var onselect: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectionchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectstart: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\ndeclare var onstalled: ((this: Window, ev: Event) => any) | null;\ndeclare var onsubmit: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\ndeclare var onsuspend: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\ndeclare var ontimeupdate: ((this: Window, ev: Event) => any) | null;\ndeclare var ontoggle: ((this: Window, ev: Event) => any) | null;\ndeclare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchend: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchmove: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchstart: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontransitioncancel: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionend: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionrun: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionstart: ((this: Window, ev: TransitionEvent) => any) | null;\n/**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\ndeclare var onvolumechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\ndeclare var onwaiting: ((this: Window, ev: Event) => any) | null;\ndeclare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare var caches: CacheStorage;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(handle?: number): void;\ndeclare function clearTimeout(handle?: number): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare var onafterprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;\ndeclare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null;\ndeclare var onlanguagechange: ((this: Window, ev: Event) => any) | null;\ndeclare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onoffline: ((this: Window, ev: Event) => any) | null;\ndeclare var ononline: ((this: Window, ev: Event) => any) | null;\ndeclare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;\ndeclare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunload: ((this: Window, ev: Event) => any) | null;\ndeclare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype HeadersInit = Headers | string[][] | Record<string, string>;\ntype BodyInit = Blob | BufferSource | FormData | URLSearchParams | ReadableStream<Uint8Array> | string;\ntype RequestInfo = Request | string;\ntype BlobPart = BufferSource | Blob | string;\ntype DOMHighResTimeStamp = number;\ntype RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;\ntype CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas;\ntype OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype MessageEventSource = WindowProxy | MessagePort | ServiceWorker;\ntype HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype MediaProvider = MediaStream | MediaSource | Blob;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;\ntype TimerHandler = string | Function;\ntype ConstrainULong = number | ConstrainULongRange;\ntype ConstrainDouble = number | ConstrainDoubleRange;\ntype ConstrainBoolean = boolean | ConstrainBooleanParameters;\ntype ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;\ntype PerformanceEntryList = PerformanceEntry[];\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype VibratePattern = number | number[];\ntype COSEAlgorithmIdentifier = number;\ntype AuthenticatorSelectionList = AAGUID[];\ntype AAGUID = BufferSource;\ntype AuthenticationExtensionsSupported = string[];\ntype UvmEntry = number[];\ntype UvmEntries = UvmEntry[];\ntype AlgorithmIdentifier = string | Algorithm;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype BigInteger = Uint8Array;\ntype NamedCurve = string;\ntype GLenum = number;\ntype GLboolean = boolean;\ntype GLbitfield = number;\ntype GLint = number;\ntype GLsizei = number;\ntype GLintptr = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLfloat = number;\ntype GLclampf = number;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;\ntype Float32List = Float32Array | GLfloat[];\ntype Int32List = Int32Array | GLint[];\ntype GLint64 = number;\ntype GLuint64 = number;\ntype Uint32List = Uint32Array | GLuint[];\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype DOMTimeStamp = number;\ntype LineAndPositionSetting = number | AutoKeyword;\ntype FormDataEntryValue = File | string;\ntype InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";\ntype IDBValidKey = number | string | Date | BufferSource | IDBArrayKey;\ntype MutationRecordType = "attributes" | "characterData" | "childList";\ntype IDBKeyPath = string;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap | OffscreenCanvas;\ntype RTCIceGatherCandidate = RTCIceCandidateDictionary | RTCIceCandidateComplete;\ntype RTCTransport = RTCDtlsTransport | RTCSrtpSdesTransport;\n/** @deprecated */\ntype MouseWheelEvent = WheelEvent;\ntype WindowProxy = Window;\ntype AlignSetting = "center" | "end" | "left" | "right" | "start";\ntype AnimationPlayState = "finished" | "idle" | "paused" | "running";\ntype AppendMode = "segments" | "sequence";\ntype AttestationConveyancePreference = "direct" | "indirect" | "none";\ntype AudioContextLatencyCategory = "balanced" | "interactive" | "playback";\ntype AudioContextState = "closed" | "running" | "suspended";\ntype AuthenticatorAttachment = "cross-platform" | "platform";\ntype AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";\ntype AutoKeyword = "auto";\ntype AutomationRate = "a-rate" | "k-rate";\ntype BinaryType = "arraybuffer" | "blob";\ntype BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";\ntype CanPlayTypeResult = "" | "maybe" | "probably";\ntype CanvasDirection = "inherit" | "ltr" | "rtl";\ntype CanvasFillRule = "evenodd" | "nonzero";\ntype CanvasLineCap = "butt" | "round" | "square";\ntype CanvasLineJoin = "bevel" | "miter" | "round";\ntype CanvasTextAlign = "center" | "end" | "left" | "right" | "start";\ntype CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";\ntype ChannelCountMode = "clamped-max" | "explicit" | "max";\ntype ChannelInterpretation = "discrete" | "speakers";\ntype ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorSpaceConversion = "default" | "none";\ntype CompositeOperation = "accumulate" | "add" | "replace";\ntype CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";\ntype CredentialMediationRequirement = "optional" | "required" | "silent";\ntype DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";\ntype DirectionSetting = "" | "lr" | "rl";\ntype DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";\ntype DistanceModelType = "exponential" | "inverse" | "linear";\ntype DocumentReadyState = "complete" | "interactive" | "loading";\ntype EndOfStreamError = "decode" | "network";\ntype EndingType = "native" | "transparent";\ntype FillMode = "auto" | "backwards" | "both" | "forwards" | "none";\ntype FullscreenNavigationUI = "auto" | "hide" | "show";\ntype GamepadHand = "" | "left" | "right";\ntype GamepadHapticActuatorType = "vibration";\ntype GamepadMappingType = "" | "standard";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "none";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype IterationCompositeOperation = "accumulate" | "replace";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype LineAlignSetting = "center" | "end" | "start";\ntype ListeningState = "active" | "disambiguation" | "inactive";\ntype MSCredentialType = "FIDO_2_0";\ntype MSTransportType = "BT" | "Embedded" | "NFC" | "USB";\ntype MSWebViewPermissionState = "allow" | "defer" | "deny" | "unknown";\ntype MSWebViewPermissionType = "geolocation" | "media" | "pointerlock" | "unlimitedIndexedDBQuota" | "webnotifications";\ntype MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";\ntype MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";\ntype MediaKeySessionType = "persistent-license" | "temporary";\ntype MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable";\ntype MediaKeysRequirement = "not-allowed" | "optional" | "required";\ntype MediaStreamTrackState = "ended" | "live";\ntype NavigationReason = "down" | "left" | "right" | "up";\ntype NavigationType = "back_forward" | "navigate" | "prerender" | "reload";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2";\ntype OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";\ntype OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";\ntype OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";\ntype OverSampleType = "2x" | "4x" | "none";\ntype PanningModelType = "HRTF" | "equalpower";\ntype PaymentComplete = "fail" | "success" | "unknown";\ntype PaymentShippingType = "delivery" | "pickup" | "shipping";\ntype PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";\ntype PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PublicKeyCredentialType = "public-key";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype PushPermissionState = "denied" | "granted" | "prompt";\ntype RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";\ntype RTCDataChannelState = "closed" | "closing" | "connecting" | "open";\ntype RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";\ntype RTCDtlsRole = "auto" | "client" | "server";\ntype RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";\ntype RTCDtxStatus = "disabled" | "enabled";\ntype RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "idp-bad-script-failure" | "idp-execution-failure" | "idp-load-failure" | "idp-need-login" | "idp-timeout" | "idp-tls-failure" | "idp-token-expired" | "idp-token-invalid" | "sctp-failure" | "sdp-syntax-error";\ntype RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";\ntype RTCIceComponent = "rtcp" | "rtp";\ntype RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\ntype RTCIceCredentialType = "oauth" | "password";\ntype RTCIceGatherPolicy = "all" | "nohost" | "relay";\ntype RTCIceGathererState = "complete" | "gathering" | "new";\ntype RTCIceGatheringState = "complete" | "gathering" | "new";\ntype RTCIceProtocol = "tcp" | "udp";\ntype RTCIceRole = "controlled" | "controlling" | "unknown";\ntype RTCIceTcpCandidateType = "active" | "passive" | "so";\ntype RTCIceTransportPolicy = "all" | "relay";\ntype RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\ntype RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";\ntype RTCPriorityType = "high" | "low" | "medium" | "very-low";\ntype RTCRtcpMuxPolicy = "negotiate" | "require";\ntype RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";\ntype RTCSctpTransportState = "closed" | "connected" | "connecting";\ntype RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";\ntype RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";\ntype RTCStatsIceCandidatePairState = "cancelled" | "failed" | "frozen" | "inprogress" | "succeeded" | "waiting";\ntype RTCStatsIceCandidateType = "host" | "peerreflexive" | "relayed" | "serverreflexive";\ntype RTCStatsType = "candidatepair" | "datachannel" | "inboundrtp" | "localcandidate" | "outboundrtp" | "remotecandidate" | "session" | "track" | "transport";\ntype ReadyState = "closed" | "ended" | "open";\ntype ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";\ntype RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";\ntype RequestCredentials = "include" | "omit" | "same-origin";\ntype RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";\ntype RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";\ntype RequestRedirect = "error" | "follow" | "manual";\ntype ResizeQuality = "high" | "low" | "medium" | "pixelated";\ntype ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";\ntype ScopedCredentialType = "ScopedCred";\ntype ScrollBehavior = "auto" | "smooth";\ntype ScrollLogicalPosition = "center" | "end" | "nearest" | "start";\ntype ScrollRestoration = "auto" | "manual";\ntype ScrollSetting = "" | "up";\ntype SelectionMode = "end" | "preserve" | "select" | "start";\ntype ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";\ntype ServiceWorkerUpdateViaCache = "all" | "imports" | "none";\ntype ShadowRootMode = "closed" | "open";\ntype SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";\ntype TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";\ntype TextTrackMode = "disabled" | "hidden" | "showing";\ntype TouchType = "direct" | "stylus";\ntype Transport = "ble" | "nfc" | "usb";\ntype UserVerificationRequirement = "discouraged" | "preferred" | "required";\ntype VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted";\ntype VideoFacingModeEnum = "environment" | "left" | "right" | "user";\ntype VisibilityState = "hidden" | "visible";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',"lib.dom.iterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// DOM Iterable APIs\n/////////////////////////////\n\ninterface AudioParam {\n setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;\n}\n\ninterface AudioParamMap extends ReadonlyMap<string, AudioParam> {\n}\n\ninterface BaseAudioContext {\n createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;\n createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;\n}\n\ninterface CSSRuleList {\n [Symbol.iterator](): IterableIterator<CSSRule>;\n}\n\ninterface CSSStyleDeclaration {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Cache {\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface CanvasPathDrawingStyles {\n setLineDash(segments: Iterable<number>): void;\n}\n\ninterface ClientRectList {\n [Symbol.iterator](): IterableIterator<ClientRect>;\n}\n\ninterface DOMRectList {\n [Symbol.iterator](): IterableIterator<DOMRect>;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface DOMTokenList {\n [Symbol.iterator](): IterableIterator<string>;\n entries(): IterableIterator<[number, string]>;\n keys(): IterableIterator<number>;\n values(): IterableIterator<string>;\n}\n\ninterface DataTransferItemList {\n [Symbol.iterator](): IterableIterator<DataTransferItem>;\n}\n\ninterface FileList {\n [Symbol.iterator](): IterableIterator<File>;\n}\n\ninterface FormData {\n [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns a list of keys in the list.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the list.\n */\n values(): IterableIterator<FormDataEntryValue>;\n}\n\ninterface HTMLAllCollection {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLCollectionBase {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLCollectionOf<T extends Element> {\n [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface HTMLFormElement {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLSelectElement {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface Headers {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all key/value pairs contained in this object.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.\n */\n values(): IterableIterator<string>;\n}\n\ninterface IDBObjectStore {\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface MediaKeyStatusMap {\n [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;\n entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;\n keys(): IterableIterator<BufferSource>;\n values(): IterableIterator<MediaKeyStatus>;\n}\n\ninterface MediaList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface MimeTypeArray {\n [Symbol.iterator](): IterableIterator<MimeType>;\n}\n\ninterface NamedNodeMap {\n [Symbol.iterator](): IterableIterator<Attr>;\n}\n\ninterface Navigator {\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;\n}\n\ninterface NodeList {\n [Symbol.iterator](): IterableIterator<Node>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, Node]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator<Node>;\n}\n\ninterface NodeListOf<TNode extends Node> {\n [Symbol.iterator](): IterableIterator<TNode>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, TNode]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator<TNode>;\n}\n\ninterface Plugin {\n [Symbol.iterator](): IterableIterator<MimeType>;\n}\n\ninterface PluginArray {\n [Symbol.iterator](): IterableIterator<Plugin>;\n}\n\ninterface RTCRtpTransceiver {\n setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;\n}\n\ninterface RTCStatsReport extends ReadonlyMap<string, any> {\n}\n\ninterface SVGLengthList {\n [Symbol.iterator](): IterableIterator<SVGLength>;\n}\n\ninterface SVGNumberList {\n [Symbol.iterator](): IterableIterator<SVGNumber>;\n}\n\ninterface SVGPointList {\n [Symbol.iterator](): IterableIterator<DOMPoint>;\n}\n\ninterface SVGStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface SourceBufferList {\n [Symbol.iterator](): IterableIterator<SourceBuffer>;\n}\n\ninterface SpeechGrammarList {\n [Symbol.iterator](): IterableIterator<SpeechGrammar>;\n}\n\ninterface SpeechRecognitionResult {\n [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;\n}\n\ninterface SpeechRecognitionResultList {\n [Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;\n}\n\ninterface StyleSheetList {\n [Symbol.iterator](): IterableIterator<CSSStyleSheet>;\n}\n\ninterface TextTrackCueList {\n [Symbol.iterator](): IterableIterator<TextTrackCue>;\n}\n\ninterface TextTrackList {\n [Symbol.iterator](): IterableIterator<TextTrack>;\n}\n\ninterface TouchList {\n [Symbol.iterator](): IterableIterator<Touch>;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an array of key, value pairs for every entry in the search params.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns a list of keys in the search params.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the search params.\n */\n values(): IterableIterator<string>;\n}\n\ninterface VRDisplay {\n requestPresent(layers: Iterable<VRLayer>): Promise<void>;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WebAuthentication {\n makeCredential(accountInformation: Account, cryptoParameters: Iterable<ScopedCredentialParameters>, attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;\n}\n\ninterface WebGL2RenderingContextBase {\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;\n drawBuffers(buffers: Iterable<GLenum>): void;\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;\n invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\n vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n}\n',"lib.es2015.collection.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Map<K, V> {\n clear(): void;\n delete(key: K): boolean;\n forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n readonly size: number;\n}\n\ninterface MapConstructor {\n new(): Map<any, any>;\n new<K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;\n readonly prototype: Map<any, any>;\n}\ndeclare var Map: MapConstructor;\n\ninterface ReadonlyMap<K, V> {\n forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n readonly size: number;\n}\n\ninterface WeakMap<K extends object, V> {\n delete(key: K): boolean;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n}\n\ninterface WeakMapConstructor {\n new <K extends object = object, V = any>(entries?: readonly [K, V][] | null): WeakMap<K, V>;\n readonly prototype: WeakMap<object, any>;\n}\ndeclare var WeakMap: WeakMapConstructor;\n\ninterface Set<T> {\n add(value: T): this;\n clear(): void;\n delete(value: T): boolean;\n forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface SetConstructor {\n new <T = any>(values?: readonly T[] | null): Set<T>;\n readonly prototype: Set<any>;\n}\ndeclare var Set: SetConstructor;\n\ninterface ReadonlySet<T> {\n forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface WeakSet<T extends object> {\n add(value: T): this;\n delete(value: T): boolean;\n has(value: T): boolean;\n}\n\ninterface WeakSetConstructor {\n new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;\n readonly prototype: WeakSet<object>;\n}\ndeclare var WeakSet: WeakSetConstructor;\n',"lib.es2015.core.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Array<T> {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find<S extends T>(predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: T, start?: number, end?: number): this;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an array-like object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from<T>(arrayLike: ArrayLike<T>): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param arrayLike An array-like object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of<T>(...items: T[]): T[];\n}\n\ninterface DateConstructor {\n new (value: number | string | Date): Date;\n}\n\ninterface Function {\n /**\n * Returns the name of the function. Function names are read-only and can not be changed.\n */\n readonly name: string;\n}\n\ninterface Math {\n /**\n * Returns the number of leading zero bits in the 32-bit binary representation of a number.\n * @param x A numeric expression.\n */\n clz32(x: number): number;\n\n /**\n * Returns the result of 32-bit multiplication of two numbers.\n * @param x First number\n * @param y Second number\n */\n imul(x: number, y: number): number;\n\n /**\n * Returns the sign of the x, indicating whether x is positive, negative or zero.\n * @param x The numeric expression to test\n */\n sign(x: number): number;\n\n /**\n * Returns the base 10 logarithm of a number.\n * @param x A numeric expression.\n */\n log10(x: number): number;\n\n /**\n * Returns the base 2 logarithm of a number.\n * @param x A numeric expression.\n */\n log2(x: number): number;\n\n /**\n * Returns the natural logarithm of 1 + x.\n * @param x A numeric expression.\n */\n log1p(x: number): number;\n\n /**\n * Returns the result of (e^x - 1), which is an implementation-dependent approximation to\n * subtracting 1 from the exponential function of x (e raised to the power of x, where e\n * is the base of the natural logarithms).\n * @param x A numeric expression.\n */\n expm1(x: number): number;\n\n /**\n * Returns the hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cosh(x: number): number;\n\n /**\n * Returns the hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sinh(x: number): number;\n\n /**\n * Returns the hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tanh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n acosh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n asinh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n atanh(x: number): number;\n\n /**\n * Returns the square root of the sum of squares of its arguments.\n * @param values Values to compute the square root for.\n * If no arguments are passed, the result is +0.\n * If there is only one argument, the result is the absolute value.\n * If any argument is +Infinity or -Infinity, the result is +Infinity.\n * If any argument is NaN, the result is NaN.\n * If all arguments are either +0 or −0, the result is +0.\n */\n hypot(...values: number[]): number;\n\n /**\n * Returns the integral part of the a numeric expression, x, removing any fractional digits.\n * If x is already an integer, the result is x.\n * @param x A numeric expression.\n */\n trunc(x: number): number;\n\n /**\n * Returns the nearest single precision float representation of a number.\n * @param x A numeric expression.\n */\n fround(x: number): number;\n\n /**\n * Returns an implementation-dependent approximation to the cube root of number.\n * @param x A numeric expression.\n */\n cbrt(x: number): number;\n}\n\ninterface NumberConstructor {\n /**\n * The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1\n * that is representable as a Number value, which is approximately:\n * 2.2204460492503130808472633361816 x 10‍−‍16.\n */\n readonly EPSILON: number;\n\n /**\n * Returns true if passed value is finite.\n * Unlike the global isFinite, Number.isFinite doesn\'t forcibly convert the parameter to a\n * number. Only finite values of the type number, result in true.\n * @param number A numeric value.\n */\n isFinite(number: unknown): boolean;\n\n /**\n * Returns true if the value passed is an integer, false otherwise.\n * @param number A numeric value.\n */\n isInteger(number: unknown): boolean;\n\n /**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a\n * number). Unlike the global isNaN(), Number.isNaN() doesn\'t forcefully convert the parameter\n * to a number. Only values of the type number, that are also NaN, result in true.\n * @param number A numeric value.\n */\n isNaN(number: unknown): boolean;\n\n /**\n * Returns true if the value passed is a safe integer.\n * @param number A numeric value.\n */\n isSafeInteger(number: unknown): boolean;\n\n /**\n * The value of the largest integer n such that n and n + 1 are both exactly representable as\n * a Number value.\n * The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 − 1.\n */\n readonly MAX_SAFE_INTEGER: number;\n\n /**\n * The value of the smallest integer n such that n and n − 1 are both exactly representable as\n * a Number value.\n * The value of Number.MIN_SAFE_INTEGER is −9007199254740991 (−(2^53 − 1)).\n */\n readonly MIN_SAFE_INTEGER: number;\n\n /**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\n parseFloat(string: string): number;\n\n /**\n * Converts A string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of \'0x\' are considered hexadecimal.\n * All other strings are considered decimal.\n */\n parseInt(string: string, radix?: number): number;\n}\n\ninterface ObjectConstructor {\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source The source object from which to copy properties.\n */\n assign<T, U>(target: T, source: U): T & U;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n */\n assign<T, U, V>(target: T, source1: U, source2: V): T & U & V;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n * @param source3 The third source object from which to copy properties.\n */\n assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param sources One or more source objects from which to copy properties\n */\n assign(target: object, ...sources: any[]): any;\n\n /**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\n getOwnPropertySymbols(o: any): symbol[];\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: {}): string[];\n\n /**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\n is(value1: any, value2: any): boolean;\n\n /**\n * Sets the prototype of a specified object o to object proto or null. Returns the object o.\n * @param o The object to change its prototype.\n * @param proto The value of the new prototype or null.\n */\n setPrototypeOf(o: any, proto: object | null): any;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find<S extends T>(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;\n}\n\ninterface RegExp {\n /**\n * Returns a string indicating the flags of the regular expression in question. This field is read-only.\n * The characters in this string are sequenced and concatenated in the following order:\n *\n * - "g" for global\n * - "i" for ignoreCase\n * - "m" for multiline\n * - "u" for unicode\n * - "y" for sticky\n *\n * If no flags are set, the value is the empty string.\n */\n readonly flags: string;\n\n /**\n * Returns a Boolean value indicating the state of the sticky flag (y) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly sticky: boolean;\n\n /**\n * Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly unicode: boolean;\n}\n\ninterface RegExpConstructor {\n new (pattern: RegExp | string, flags?: string): RegExp;\n (pattern: RegExp | string, flags?: string): RegExp;\n}\n\ninterface String {\n /**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\n codePointAt(pos: number): number | undefined;\n\n /**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\n includes(searchString: string, position?: number): boolean;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\n endsWith(searchString: string, endPosition?: number): boolean;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form?: string): string;\n\n /**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * the empty string is returned.\n * @param count number of copies to append\n */\n repeat(count: number): string;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\n startsWith(searchString: string, position?: number): boolean;\n\n /**\n * Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n * @param name\n */\n anchor(name: string): string;\n\n /** Returns a `<big>` HTML element */\n big(): string;\n\n /** Returns a `<blink>` HTML element */\n blink(): string;\n\n /** Returns a `<b>` HTML element */\n bold(): string;\n\n /** Returns a `<tt>` HTML element */\n fixed(): string;\n\n /** Returns a `<font>` HTML element and sets the color attribute value */\n fontcolor(color: string): string;\n\n /** Returns a `<font>` HTML element and sets the size attribute value */\n fontsize(size: number): string;\n\n /** Returns a `<font>` HTML element and sets the size attribute value */\n fontsize(size: string): string;\n\n /** Returns an `<i>` HTML element */\n italics(): string;\n\n /** Returns an `<a>` HTML element and sets the href attribute value */\n link(url: string): string;\n\n /** Returns a `<small>` HTML element */\n small(): string;\n\n /** Returns a `<strike>` HTML element */\n strike(): string;\n\n /** Returns a `<sub>` HTML element */\n sub(): string;\n\n /** Returns a `<sup>` HTML element */\n sup(): string;\n}\n\ninterface StringConstructor {\n /**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n */\n fromCodePoint(...codePoints: number[]): string;\n\n /**\n * String.raw is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\n raw(template: TemplateStringsArray, ...substitutions: any[]): string;\n}\n',"lib.es2015.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es5" />\n/// <reference lib="es2015.core" />\n/// <reference lib="es2015.collection" />\n/// <reference lib="es2015.iterable" />\n/// <reference lib="es2015.generator" />\n/// <reference lib="es2015.promise" />\n/// <reference lib="es2015.proxy" />\n/// <reference lib="es2015.reflect" />\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.symbol.wellknown" />\n',"lib.es2015.generator.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n return(value: TReturn): IteratorResult<T, TReturn>;\n throw(e: any): IteratorResult<T, TReturn>;\n [Symbol.iterator](): Generator<T, TReturn, TNext>;\n}\n\ninterface GeneratorFunction {\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): Generator;\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): Generator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: Generator;\n}\n\ninterface GeneratorFunctionConstructor {\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): GeneratorFunction;\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): GeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: GeneratorFunction;\n}\n',"lib.es2015.iterable.d.ts":"/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2015.symbol\" />\n\ninterface SymbolConstructor {\n /**\n * A method that returns the default iterator for an object. Called by the semantics of the\n * for-of statement.\n */\n readonly iterator: symbol;\n}\n\ninterface IteratorYieldResult<TYield> {\n done?: false;\n value: TYield;\n}\n\ninterface IteratorReturnResult<TReturn> {\n done: true;\n value: TReturn;\n}\n\ntype IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;\n\ninterface Iterator<T, TReturn = any, TNext = undefined> {\n // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n return?(value?: TReturn): IteratorResult<T, TReturn>;\n throw?(e?: any): IteratorResult<T, TReturn>;\n}\n\ninterface Iterable<T> {\n [Symbol.iterator](): Iterator<T>;\n}\n\ninterface IterableIterator<T> extends Iterator<T> {\n [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface Array<T> {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator<T>;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n */\n from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n}\n\ninterface ReadonlyArray<T> {\n /** Iterator of values in the array. */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator<T>;\n}\n\ninterface IArguments {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<any>;\n}\n\ninterface Map<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator<V>;\n}\n\ninterface ReadonlyMap<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator<V>;\n}\n\ninterface MapConstructor {\n new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>;\n}\n\ninterface WeakMap<K extends object, V> { }\n\ninterface WeakMapConstructor {\n new <K extends object, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>;\n}\n\ninterface Set<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator<T>;\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n /**\n * Despite its name, returns an iterable of the values in the set,\n */\n keys(): IterableIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator<T>;\n}\n\ninterface ReadonlySet<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n\n /**\n * Despite its name, returns an iterable of the values in the set,\n */\n keys(): IterableIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator<T>;\n}\n\ninterface SetConstructor {\n new <T>(iterable?: Iterable<T> | null): Set<T>;\n}\n\ninterface WeakSet<T extends object> { }\n\ninterface WeakSetConstructor {\n new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;\n}\n\ninterface Promise<T> { }\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;\n}\n\ndeclare namespace Reflect {\n function enumerate(target: object): IterableIterator<any>;\n}\n\ninterface String {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Int8Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int8ArrayConstructor {\n new (elements: Iterable<number>): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;\n}\n\ninterface Uint8Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint8ArrayConstructor {\n new (elements: Iterable<number>): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;\n}\n\ninterface Uint8ClampedArray {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (elements: Iterable<number>): Uint8ClampedArray;\n\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\n\ninterface Int16Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int16ArrayConstructor {\n new (elements: Iterable<number>): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;\n}\n\ninterface Uint16Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint16ArrayConstructor {\n new (elements: Iterable<number>): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;\n}\n\ninterface Int32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int32ArrayConstructor {\n new (elements: Iterable<number>): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;\n}\n\ninterface Uint32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint32ArrayConstructor {\n new (elements: Iterable<number>): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;\n}\n\ninterface Float32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Float32ArrayConstructor {\n new (elements: Iterable<number>): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;\n}\n\ninterface Float64Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Float64ArrayConstructor {\n new (elements: Iterable<number>): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;\n}\n","lib.es2015.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface PromiseConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Promise<any>;\n\n /**\n * Creates a new Promise.\n * @param executor A callback used to initialize the promise. This callback is passed two arguments:\n * a resolve callback used to resolve the promise with a value or the result of another promise,\n * and a reject callback used to reject the promise with a provided reason or error.\n */\n new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<[T1, T2, T3, T4, T5, T6]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>]): Promise<[T1, T2, T3, T4]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T>(values: readonly (T | PromiseLike<T>)[]): Promise<T[]>;\n\n // see: lib.es2015.iterable.d.ts\n // all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n race<T>(values: readonly T[]): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n // see: lib.es2015.iterable.d.ts\n // race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n /**\n * Creates a new rejected promise for the provided reason.\n * @param reason The reason the promise was rejected.\n * @returns A new rejected Promise.\n */\n reject<T = never>(reason?: any): Promise<T>;\n\n /**\n * Creates a new resolved promise for the provided value.\n * @param value A promise.\n * @returns A promise whose internal state matches the provided promise.\n */\n resolve<T>(value: T | PromiseLike<T>): Promise<T>;\n\n /**\n * Creates a new resolved promise .\n * @returns A resolved promise.\n */\n resolve(): Promise<void>;\n}\n\ndeclare var Promise: PromiseConstructor;\n',"lib.es2015.proxy.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface ProxyHandler<T extends object> {\n getPrototypeOf? (target: T): object | null;\n setPrototypeOf? (target: T, v: any): boolean;\n isExtensible? (target: T): boolean;\n preventExtensions? (target: T): boolean;\n getOwnPropertyDescriptor? (target: T, p: PropertyKey): PropertyDescriptor | undefined;\n has? (target: T, p: PropertyKey): boolean;\n get? (target: T, p: PropertyKey, receiver: any): any;\n set? (target: T, p: PropertyKey, value: any, receiver: any): boolean;\n deleteProperty? (target: T, p: PropertyKey): boolean;\n defineProperty? (target: T, p: PropertyKey, attributes: PropertyDescriptor): boolean;\n enumerate? (target: T): PropertyKey[];\n ownKeys? (target: T): PropertyKey[];\n apply? (target: T, thisArg: any, argArray?: any): any;\n construct? (target: T, argArray: any, newTarget?: any): object;\n}\n\ninterface ProxyConstructor {\n revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };\n new <T extends object>(target: T, handler: ProxyHandler<T>): T;\n}\ndeclare var Proxy: ProxyConstructor;\n',"lib.es2015.reflect.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Reflect {\n function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;\n function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: any): any;\n function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;\n function deleteProperty(target: object, propertyKey: PropertyKey): boolean;\n function get(target: object, propertyKey: PropertyKey, receiver?: any): any;\n function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | undefined;\n function getPrototypeOf(target: object): object;\n function has(target: object, propertyKey: PropertyKey): boolean;\n function isExtensible(target: object): boolean;\n function ownKeys(target: object): PropertyKey[];\n function preventExtensions(target: object): boolean;\n function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;\n function setPrototypeOf(target: object, proto: any): boolean;\n}\n',"lib.es2015.symbol.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface SymbolConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Symbol;\n\n /**\n * Returns a new unique Symbol value.\n * @param description Description of the new Symbol object.\n */\n (description?: string | number): symbol;\n\n /**\n * Returns a Symbol object from the global symbol registry matching the given key if found.\n * Otherwise, returns a new symbol with this key.\n * @param key key to search for.\n */\n for(key: string): symbol;\n\n /**\n * Returns a key from the global symbol registry matching the given Symbol if found.\n * Otherwise, returns a undefined.\n * @param sym Symbol to find the key for.\n */\n keyFor(sym: symbol): string | undefined;\n}\n\ndeclare var Symbol: SymbolConstructor;',"lib.es2015.symbol.wellknown.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n\ninterface SymbolConstructor {\n /**\n * A method that determines if a constructor object recognizes an object as one of the\n * constructor’s instances. Called by the semantics of the instanceof operator.\n */\n readonly hasInstance: symbol;\n\n /**\n * A Boolean value that if true indicates that an object should flatten to its array elements\n * by Array.prototype.concat.\n */\n readonly isConcatSpreadable: symbol;\n\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.match method.\n */\n readonly match: symbol;\n\n /**\n * A regular expression method that replaces matched substrings of a string. Called by the\n * String.prototype.replace method.\n */\n readonly replace: symbol;\n\n /**\n * A regular expression method that returns the index within a string that matches the\n * regular expression. Called by the String.prototype.search method.\n */\n readonly search: symbol;\n\n /**\n * A function valued property that is the constructor function that is used to create\n * derived objects.\n */\n readonly species: symbol;\n\n /**\n * A regular expression method that splits a string at the indices that match the regular\n * expression. Called by the String.prototype.split method.\n */\n readonly split: symbol;\n\n /**\n * A method that converts an object to a corresponding primitive value.\n * Called by the ToPrimitive abstract operation.\n */\n readonly toPrimitive: symbol;\n\n /**\n * A String value that is used in the creation of the default string description of an object.\n * Called by the built-in method Object.prototype.toString.\n */\n readonly toStringTag: symbol;\n\n /**\n * An Object whose own property names are property names that are excluded from the \'with\'\n * environment bindings of the associated objects.\n */\n readonly unscopables: symbol;\n}\n\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Array<T> {\n /**\n * Returns an object whose properties have the value \'true\'\n * when they will be absent when used in a \'with\' statement.\n */\n [Symbol.unscopables](): {\n copyWithin: boolean;\n entries: boolean;\n fill: boolean;\n find: boolean;\n findIndex: boolean;\n keys: boolean;\n values: boolean;\n };\n}\n\ninterface Date {\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "default"): string;\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "string"): string;\n /**\n * Converts a Date object to a number.\n */\n [Symbol.toPrimitive](hint: "number"): number;\n /**\n * Converts a Date object to a string or number.\n *\n * @param hint The strings "number", "string", or "default" to specify what primitive to return.\n *\n * @throws {TypeError} If \'hint\' was given something other than "number", "string", or "default".\n * @returns A number if \'hint\' was "number", a string if \'hint\' was "string" or "default".\n */\n [Symbol.toPrimitive](hint: string): string | number;\n}\n\ninterface Map<K, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakMap<K extends object, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Set<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakSet<T extends object> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface JSON {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Function {\n /**\n * Determines whether the given value inherits from this function if this function was used\n * as a constructor function.\n *\n * A constructor function can control which objects are recognized as its instances by\n * \'instanceof\' by overriding this method.\n */\n [Symbol.hasInstance](value: any): boolean;\n}\n\ninterface GeneratorFunction {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Math {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Promise<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface PromiseConstructor {\n readonly [Symbol.species]: PromiseConstructor;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an array containing the results of\n * that search.\n * @param string A string to search within.\n */\n [Symbol.match](string: string): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replaceValue A String object or string literal containing the text to replace for every\n * successful match of this regular expression.\n */\n [Symbol.replace](string: string, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replacer A function that returns the replacement text.\n */\n [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the position beginning first substring match in a regular expression search\n * using this regular expression.\n *\n * @param string The string to search within.\n */\n [Symbol.search](string: string): number;\n\n /**\n * Returns an array of substrings that were delimited by strings in the original input that\n * match against this regular expression.\n *\n * If the regular expression contains capturing parentheses, then each time this\n * regular expression matches, the results (including any undefined results) of the\n * capturing parentheses are spliced.\n *\n * @param string string value to split\n * @param limit if not undefined, the output array is truncated so that it contains no more\n * than \'limit\' elements.\n */\n [Symbol.split](string: string, limit?: number): string[];\n}\n\ninterface RegExpConstructor {\n readonly [Symbol.species]: RegExpConstructor;\n}\n\ninterface String {\n /**\n * Matches a string or an object that supports being matched against, and returns an array\n * containing the results of that search, or null if no matches are found.\n * @param matcher An object that supports being matched against.\n */\n match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param searcher An object which supports searching within a string.\n */\n search(searcher: { [Symbol.search](string: string): number; }): number;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param splitter An object that can split a string.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];\n}\n\ninterface ArrayBuffer {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface DataView {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Int8Array {\n readonly [Symbol.toStringTag]: "Int8Array";\n}\n\ninterface Uint8Array {\n readonly [Symbol.toStringTag]: "Uint8Array";\n}\n\ninterface Uint8ClampedArray {\n readonly [Symbol.toStringTag]: "Uint8ClampedArray";\n}\n\ninterface Int16Array {\n readonly [Symbol.toStringTag]: "Int16Array";\n}\n\ninterface Uint16Array {\n readonly [Symbol.toStringTag]: "Uint16Array";\n}\n\ninterface Int32Array {\n readonly [Symbol.toStringTag]: "Int32Array";\n}\n\ninterface Uint32Array {\n readonly [Symbol.toStringTag]: "Uint32Array";\n}\n\ninterface Float32Array {\n readonly [Symbol.toStringTag]: "Float32Array";\n}\n\ninterface Float64Array {\n readonly [Symbol.toStringTag]: "Float64Array";\n}\n\ninterface ArrayConstructor {\n readonly [Symbol.species]: ArrayConstructor;\n}\ninterface MapConstructor {\n readonly [Symbol.species]: MapConstructor;\n}\ninterface SetConstructor {\n readonly [Symbol.species]: SetConstructor;\n}\ninterface ArrayBufferConstructor {\n readonly [Symbol.species]: ArrayBufferConstructor;\n}\n',"lib.es2016.array.include.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Array<T> {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: T, fromIndex?: number): boolean;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: T, fromIndex?: number): boolean;\n}\n\ninterface Int8Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint8Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint8ClampedArray {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Int16Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint16Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Int32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Float32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Float64Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}',"lib.es2016.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015" />\n/// <reference lib="es2016.array.include" />',"lib.es2016.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2016" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2017.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2016" />\n/// <reference lib="es2017.object" />\n/// <reference lib="es2017.sharedmemory" />\n/// <reference lib="es2017.string" />\n/// <reference lib="es2017.intl" />\n/// <reference lib="es2017.typedarrays" />\n',"lib.es2017.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2017" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2017.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n type DateTimeFormatPartTypes = "day" | "dayPeriod" | "era" | "hour" | "literal" | "minute" | "month" | "second" | "timeZoneName" | "weekday" | "year";\n\n interface DateTimeFormatPart {\n type: DateTimeFormatPartTypes;\n value: string;\n }\n\n interface DateTimeFormat {\n formatToParts(date?: Date | number): DateTimeFormatPart[];\n }\n}\n',"lib.es2017.object.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface ObjectConstructor {\n /**\n * Returns an array of values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];\n\n /**\n * Returns an array of values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n values(o: {}): any[];\n\n /**\n * Returns an array of key/values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];\n\n /**\n * Returns an array of key/values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n entries(o: {}): [string, any][];\n\n /**\n * Returns an object containing all own property descriptors of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };\n}\n',"lib.es2017.sharedmemory.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.symbol.wellknown" />\n\ninterface SharedArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /*\n * The SharedArrayBuffer constructor\'s length property whose value is 1.\n */\n length: number;\n /**\n * Returns a section of an SharedArrayBuffer.\n */\n slice(begin: number, end?: number): SharedArrayBuffer;\n readonly [Symbol.species]: SharedArrayBuffer;\n readonly [Symbol.toStringTag]: "SharedArrayBuffer";\n}\n\ninterface SharedArrayBufferConstructor {\n readonly prototype: SharedArrayBuffer;\n new (byteLength: number): SharedArrayBuffer;\n}\ndeclare var SharedArrayBuffer: SharedArrayBufferConstructor;\n\ninterface ArrayBufferTypes {\n SharedArrayBuffer: SharedArrayBuffer;\n}\n\ninterface Atomics {\n /**\n * Adds a value to the value at the given position in the array, returning the original value.\n * Until this atomic operation completes, any other read or write operation against the array\n * will block.\n */\n add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Stores the bitwise AND of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or\n * write operation against the array will block.\n */\n and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Replaces the value at the given position in the array if the original value equals the given\n * expected value, returning the original value. Until this atomic operation completes, any\n * other read or write operation against the array will block.\n */\n compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;\n\n /**\n * Replaces the value at the given position in the array, returning the original value. Until\n * this atomic operation completes, any other read or write operation against the array will\n * block.\n */\n exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Returns a value indicating whether high-performance algorithms can use atomic operations\n * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed\n * array.\n */\n isLockFree(size: number): boolean;\n\n /**\n * Returns the value at the given position in the array. Until this atomic operation completes,\n * any other read or write operation against the array will block.\n */\n load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;\n\n /**\n * Stores the bitwise OR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Stores a value at the given position in the array, returning the new value. Until this\n * atomic operation completes, any other read or write operation against the array will block.\n */\n store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Subtracts a value from the value at the given position in the array, returning the original\n * value. Until this atomic operation completes, any other read or write operation against the\n * array will block.\n */\n sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * If the value at the given position in the array is equal to the provided value, the current\n * agent is put to sleep causing execution to suspend until the timeout expires (returning\n * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns\n * `"not-equal"`.\n */\n wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";\n\n /**\n * Wakes up sleeping agents that are waiting on the given index of the array, returning the\n * number of agents that were awoken.\n * @param typedArray A shared Int32Array.\n * @param index The position in the typedArray to wake up on.\n * @param count The number of sleeping agents to notify. Defaults to +Infinity.\n */\n notify(typedArray: Int32Array, index: number, count?: number): number;\n\n /**\n * Stores the bitwise XOR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n readonly [Symbol.toStringTag]: "Atomics";\n}\n\ndeclare var Atomics: Atomics;\n',"lib.es2017.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is " " (U+0020).\n */\n padStart(maxLength: number, fillString?: string): string;\n\n /**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is " " (U+0020).\n */\n padEnd(maxLength: number, fillString?: string): string;\n}\n',"lib.es2017.typedarrays.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Int8ArrayConstructor {\n new (): Int8Array;\n}\n\ninterface Uint8ArrayConstructor {\n new (): Uint8Array;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (): Uint8ClampedArray;\n}\n\ninterface Int16ArrayConstructor {\n new (): Int16Array;\n}\n\ninterface Uint16ArrayConstructor {\n new (): Uint16Array;\n}\n\ninterface Int32ArrayConstructor {\n new (): Int32Array;\n}\n\ninterface Uint32ArrayConstructor {\n new (): Uint32Array;\n}\n\ninterface Float32ArrayConstructor {\n new (): Float32Array;\n}\n\ninterface Float64ArrayConstructor {\n new (): Float64Array;\n}\n',"lib.es2018.asyncgenerator.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018.asynciterable" />\n\ninterface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n throw(e: any): Promise<IteratorResult<T, TReturn>>;\n [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;\n}\n\ninterface AsyncGeneratorFunction {\n /**\n * Creates a new AsyncGenerator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): AsyncGenerator;\n /**\n * Creates a new AsyncGenerator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): AsyncGenerator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: AsyncGenerator;\n}\n\ninterface AsyncGeneratorFunctionConstructor {\n /**\n * Creates a new AsyncGenerator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): AsyncGeneratorFunction;\n /**\n * Creates a new AsyncGenerator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): AsyncGeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: AsyncGeneratorFunction;\n}\n',"lib.es2018.asynciterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.iterable" />\n\ninterface SymbolConstructor {\n /**\n * A method that returns the default async iterator for an object. Called by the semantics of\n * the for-await-of statement.\n */\n readonly asyncIterator: symbol;\n}\n\ninterface AsyncIterator<T, TReturn = any, TNext = undefined> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n throw?(e?: any): Promise<IteratorResult<T, TReturn>>;\n}\n\ninterface AsyncIterable<T> {\n [Symbol.asyncIterator](): AsyncIterator<T>;\n}\n\ninterface AsyncIterableIterator<T> extends AsyncIterator<T> {\n [Symbol.asyncIterator](): AsyncIterableIterator<T>;\n}',"lib.es2018.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2017" />\n/// <reference lib="es2018.asynciterable" />\n/// <reference lib="es2018.asyncgenerator" />\n/// <reference lib="es2018.promise" />\n/// <reference lib="es2018.regexp" />\n/// <reference lib="es2018.intl" />\n',"lib.es2018.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2018.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n\n // http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories\n type LDMLPluralRule = "zero" | "one" | "two" | "few" | "many" | "other";\n type PluralRuleType = "cardinal" | "ordinal";\n\n interface PluralRulesOptions {\n localeMatcher?: "lookup" | "best fit";\n type?: PluralRuleType;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedPluralRulesOptions {\n locale: string;\n pluralCategories: LDMLPluralRule[];\n type: PluralRuleType;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface PluralRules {\n resolvedOptions(): ResolvedPluralRulesOptions;\n select(n: number): LDMLPluralRule;\n }\n\n const PluralRules: {\n new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n supportedLocalesOf(\n locales: string | string[],\n options?: PluralRulesOptions,\n ): string[];\n };\n}\n',"lib.es2018.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The\n * resolved value cannot be modified from the callback.\n * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).\n * @returns A Promise for the completion of the callback.\n */\n finally(onfinally?: (() => void) | undefined | null): Promise<T>\n}\n',"lib.es2018.regexp.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface RegExpMatchArray {\n groups?: {\n [key: string]: string\n }\n}\n\ninterface RegExpExecArray {\n groups?: {\n [key: string]: string\n }\n}\n\ninterface RegExp {\n /**\n * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.\n * Default is false. Read-only.\n */\n readonly dotAll: boolean;\n}',"lib.es2019.array.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ntype FlatArray<Arr, Depth extends number> = {\n "done": Arr,\n "recur": Arr extends ReadonlyArray<infer InnerArr>\n ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>\n : Arr\n}[Depth extends -1 ? "done" : "recur"];\n\ninterface ReadonlyArray<T> {\n\n /**\n * Calls a defined callback function on each element of an array. Then, flattens the result into\n * a new array.\n * This is identical to a map followed by flat with depth 1.\n *\n * @param callback A function that accepts up to three arguments. The flatMap method calls the\n * callback function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callback function. If\n * thisArg is omitted, undefined is used as the this value.\n */\n flatMap<U, This = undefined> (\n callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\n thisArg?: This\n ): U[]\n\n\n /**\n * Returns a new array with all sub-array elements concatenated into it recursively up to the\n * specified depth.\n *\n * @param depth The maximum recursion depth\n */\n flat<A, D extends number = 1>(\n this: A,\n depth?: D\n ): FlatArray<A, D>[]\n }\n\ninterface Array<T> {\n\n /**\n * Calls a defined callback function on each element of an array. Then, flattens the result into\n * a new array.\n * This is identical to a map followed by flat with depth 1.\n *\n * @param callback A function that accepts up to three arguments. The flatMap method calls the\n * callback function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callback function. If\n * thisArg is omitted, undefined is used as the this value.\n */\n flatMap<U, This = undefined> (\n callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\n thisArg?: This\n ): U[]\n\n /**\n * Returns a new array with all sub-array elements concatenated into it recursively up to the\n * specified depth.\n *\n * @param depth The maximum recursion depth\n */\n flat<A, D extends number = 1>(\n this: A,\n depth?: D\n ): FlatArray<A, D>[]\n}\n',"lib.es2019.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018" />\n/// <reference lib="es2019.array" />\n/// <reference lib="es2019.object" />\n/// <reference lib="es2019.string" />\n/// <reference lib="es2019.symbol" />\n',"lib.es2019.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2019" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2019.object.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface ObjectConstructor {\n /**\n * Returns an object created by key-value entries for properties and methods\n * @param entries An iterable object that contains key-value entries for properties and methods.\n */\n fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };\n\n /**\n * Returns an object created by key-value entries for properties and methods\n * @param entries An iterable object that contains key-value entries for properties and methods.\n */\n fromEntries(entries: Iterable<readonly any[]>): any;\n}\n',"lib.es2019.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /** Removes the trailing white space and line terminator characters from a string. */\n trimEnd(): string;\n\n /** Removes the leading white space and line terminator characters from a string. */\n trimStart(): string;\n\n /** Removes the leading white space and line terminator characters from a string. */\n trimLeft(): string;\n\n /** Removes the trailing white space and line terminator characters from a string. */\n trimRight(): string;\n}\n',"lib.es2019.symbol.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Symbol {\n /**\n * Expose the [[Description]] internal slot of a symbol directly.\n */\n readonly description: string | undefined;\n}\n',"lib.es2020.bigint.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface BigIntToLocaleStringOptions {\n /**\n * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.\n */\n localeMatcher?: string;\n /**\n * The formatting style to use , the default is "decimal".\n */\n style?: string;\n\n numberingSystem?: string;\n /**\n * The unit to use in unit formatting, Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. A subset of units from the full list was selected for use in ECMAScript. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is "unit", the unit property must be provided.\n */\n unit?: string;\n\n /**\n * The unit formatting style to use in unit formatting, the defaults is "short".\n */\n unitDisplay?: string;\n\n /**\n * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB — see the Current currency & funds code list. There is no default value; if the style is "currency", the currency property must be provided. It is only used when [[Style]] has the value "currency".\n */\n currency?: string;\n\n /**\n * How to display the currency in currency formatting. It is only used when [[Style]] has the value "currency". The default is "symbol".\n *\n * "symbol" to use a localized currency symbol such as €,\n *\n * "code" to use the ISO currency code,\n *\n * "name" to use a localized currency name such as "dollar"\n */\n currencyDisplay?: string;\n\n /**\n * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. The default is true.\n */\n useGrouping?: boolean;\n\n /**\n * The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.\n */\n minimumIntegerDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\'t provide that information).\n */\n minimumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\n\n /**\n * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\'t provide that information); the default for percent formatting is the larger of minimumFractionDigits and 0.\n */\n maximumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\n\n /**\n * The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1.\n */\n minimumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The maximum number of significant digits to use. Possible values are from 1 to 21; the default is 21.\n */\n maximumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The formatting that should be displayed for the number, the defaults is "standard"\n *\n * "standard" plain number formatting\n *\n * "scientific" return the order-of-magnitude for formatted number.\n *\n * "engineering" return the exponent of ten when divisible by three\n *\n * "compact" string representing exponent, defaults is using the "short" form\n */\n notation?: string;\n\n /**\n * used only when notation is "compact"\n */\n compactDisplay?: string;\n}\n\ninterface BigInt {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings.\n */\n toString(radix?: number): string;\n\n /** Returns a string representation appropriate to the host environment\'s current locale. */\n toLocaleString(locales?: string, options?: BigIntToLocaleStringOptions): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): bigint;\n\n readonly [Symbol.toStringTag]: "BigInt";\n}\n\ninterface BigIntConstructor {\n (value?: any): bigint;\n readonly prototype: BigInt;\n\n /**\n * Interprets the low bits of a BigInt as a 2\'s-complement signed integer.\n * All higher bits are discarded.\n * @param bits The number of low bits to use\n * @param int The BigInt whose bits to extract\n */\n asIntN(bits: number, int: bigint): bigint;\n /**\n * Interprets the low bits of a BigInt as an unsigned integer.\n * All higher bits are discarded.\n * @param bits The number of low bits to use\n * @param int The BigInt whose bits to extract\n */\n asUintN(bits: number, int: bigint): bigint;\n}\n\ndeclare var BigInt: BigIntConstructor;\n\n/**\n * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated, an exception is raised.\n */\ninterface BigInt64Array {\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /** The ArrayBuffer instance referenced by the array. */\n readonly buffer: ArrayBufferLike;\n\n /** The length in bytes of the array. */\n readonly byteLength: number;\n\n /** The offset in bytes of the array. */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /** Yields index, value pairs for every entry in the array. */\n entries(): IterableIterator<[number, bigint]>;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: bigint, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void;\n\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: bigint, fromIndex?: number): boolean;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: bigint, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /** Yields each index in the array. */\n keys(): IterableIterator<number>;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: bigint, fromIndex?: number): number;\n\n /** The length of the array. */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\n\n /** Reverses the elements in the array. */\n reverse(): this;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<bigint>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): BigInt64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls the\n * predicate function for each element in the array until the predicate returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts the array.\n * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\n */\n sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\n\n /**\n * Gets a new BigInt64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): BigInt64Array;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(): string;\n\n /** Returns a string representation of the array. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): BigInt64Array;\n\n /** Yields each value in the array. */\n values(): IterableIterator<bigint>;\n\n [Symbol.iterator](): IterableIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigInt64Array";\n\n [index: number]: bigint;\n}\n\ninterface BigInt64ArrayConstructor {\n readonly prototype: BigInt64Array;\n new(length?: number): BigInt64Array;\n new(array: Iterable<bigint>): BigInt64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;\n\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: bigint[]): BigInt64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike<bigint>): BigInt64Array;\n from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;\n}\n\ndeclare var BigInt64Array: BigInt64ArrayConstructor;\n\n/**\n * A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated, an exception is raised.\n */\ninterface BigUint64Array {\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /** The ArrayBuffer instance referenced by the array. */\n readonly buffer: ArrayBufferLike;\n\n /** The length in bytes of the array. */\n readonly byteLength: number;\n\n /** The offset in bytes of the array. */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /** Yields index, value pairs for every entry in the array. */\n entries(): IterableIterator<[number, bigint]>;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: bigint, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void;\n\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: bigint, fromIndex?: number): boolean;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: bigint, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /** Yields each index in the array. */\n keys(): IterableIterator<number>;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: bigint, fromIndex?: number): number;\n\n /** The length of the array. */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\n\n /** Reverses the elements in the array. */\n reverse(): this;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<bigint>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): BigUint64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls the\n * predicate function for each element in the array until the predicate returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts the array.\n * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\n */\n sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\n\n /**\n * Gets a new BigUint64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): BigUint64Array;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(): string;\n\n /** Returns a string representation of the array. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): BigUint64Array;\n\n /** Yields each value in the array. */\n values(): IterableIterator<bigint>;\n\n [Symbol.iterator](): IterableIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigUint64Array";\n\n [index: number]: bigint;\n}\n\ninterface BigUint64ArrayConstructor {\n readonly prototype: BigUint64Array;\n new(length?: number): BigUint64Array;\n new(array: Iterable<bigint>): BigUint64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;\n\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: bigint[]): BigUint64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike<bigint>): BigUint64Array;\n from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;\n}\n\ndeclare var BigUint64Array: BigUint64ArrayConstructor;\n\ninterface DataView {\n /**\n * Gets the BigInt64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;\n\n /**\n * Gets the BigUint64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;\n\n /**\n * Stores a BigInt64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\n\n /**\n * Stores a BigUint64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\n}\n\ndeclare namespace Intl{\n interface NumberFormat {\n format(value: number | bigint): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n}\n',"lib.es2020.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2019" />\n/// <reference lib="es2020.bigint" />\n/// <reference lib="es2020.promise" />\n/// <reference lib="es2020.string" />\n/// <reference lib="es2020.symbol.wellknown" />\n/// <reference lib="es2020.intl" />\n',"lib.es2020.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2020" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2020.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n\n /**\n * [BCP 47 language tag](http://tools.ietf.org/html/rfc5646) definition.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\n *\n * [Wikipedia](https://en.wikipedia.org/wiki/IETF_language_tag).\n */\n type BCP47LanguageTag = string;\n\n /**\n * Unit to use in the relative time internationalized message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-singularrelativetimeunit).\n */\n type RelativeTimeFormatUnit =\n | "year" | "years"\n | "quarter" | "quarters"\n | "month" | "months"\n | "week" | "weeks"\n | "day" | "days"\n | "hour" | "hours"\n | "minute" | "minutes"\n | "second" | "seconds"\n ;\n\n /**\n * The locale matching algorithm to use.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";\n\n /**\n * The format of output message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatNumeric = "always" | "auto";\n\n /**\n * The length of the internationalized message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatStyle = "long" | "short" | "narrow";\n\n /**\n * An object with some or all of properties of `options` parameter\n * of `Intl.RelativeTimeFormat` constructor.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n interface RelativeTimeFormatOptions {\n localeMatcher?: RelativeTimeFormatLocaleMatcher;\n numeric?: RelativeTimeFormatNumeric;\n style?: RelativeTimeFormatStyle;\n }\n\n /**\n * An object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intel.RelativeTimeFormat` object\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).\n *\n * [Specification](https://tc39.es/ecma402/#table-relativetimeformat-resolvedoptions-properties)\n */\n interface ResolvedRelativeTimeFormatOptions {\n locale: BCP47LanguageTag;\n style: RelativeTimeFormatStyle;\n numeric: RelativeTimeFormatNumeric;\n numberingSystem: string;\n }\n\n /**\n * An object representing the relative time format in parts\n * that can be used for custom locale-aware formatting.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).\n *\n * [Specification](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts).\n */\n interface RelativeTimeFormatPart {\n type: string;\n value: string;\n unit?: RelativeTimeFormatUnit;\n }\n\n interface RelativeTimeFormat {\n /**\n * Formats a value and a unit according to the locale\n * and formatting options of the given\n * [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * object.\n *\n * While this method automatically provides the correct plural forms,\n * the grammatical form is otherwise as neutral as possible.\n * It is the caller\'s responsibility to handle cut-off logic\n * such as deciding between displaying "in 7 days" or "in 1 week".\n * This API does not support relative dates involving compound units.\n * e.g "in 5 days and 4 hours".\n *\n * @param value - Numeric value to use in the internationalized relative time message\n *\n * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)\n * to use in the relative time internationalized message.\n * Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,\n * `"day"`, `"hour"`, `"minute"`, `"second"`.\n * Plural forms are also permitted.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns Internationalized relative time message as string\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.format).\n */\n format(\n value: number,\n unit: RelativeTimeFormatUnit,\n ): string;\n\n /**\n * A version of the format method which it returns an array of objects\n * which represent "parts" of the object,\n * separating the formatted number into its constituent parts\n * and separating it from other surrounding text.\n * These objects have two properties:\n * `type` a NumberFormat formatToParts type, and `value`,\n * which is the String which is the component of the output.\n * If a "part" came from NumberFormat,\n * it will have a unit property which indicates the `unit` being formatted;\n * literals which are part of the larger frame will not have this property.\n *\n * @param value - Numeric value to use in the internationalized relative time message\n *\n * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)\n * to use in the relative time internationalized message.\n * Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,\n * `"day"`, `"hour"`, `"minute"`, `"second"`.\n * Plural forms are also permitted.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns Array of [FormatRelativeTimeToParts](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts)\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.formatToParts).\n */\n formatToParts(\n value: number,\n unit: RelativeTimeFormatUnit,\n ): RelativeTimeFormatPart[];\n\n /**\n * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.\n *\n * @returns A new object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intel.RelativeTimeFormat` object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).\n *\n * [Specification](https://tc39.es/ecma402/#sec-intl.relativetimeformat.prototype.resolvedoptions)\n */\n resolvedOptions(): ResolvedRelativeTimeFormatOptions;\n }\n\n /**\n * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * object is a constructor for objects that enable language-sensitive relative time formatting.\n *\n * Part of [Intl object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)\n * namespace and the [ECMAScript Internationalization API](https://www.ecma-international.org/publications/standards/Ecma-402.htm).\n *\n * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).\n *\n * [Polyfills](https://github.com/tc39/proposal-intl-relative-time#polyfills).\n */\n const RelativeTimeFormat: {\n /**\n * Constructor creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * objects\n *\n * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\n * For the general form and interpretation of the locales argument,\n * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\n * with some or all of options of the formatting.\n * An object with some or all of the following properties:\n * - `localeMatcher` - The locale matching algorithm to use.\n * Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.\n * For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n * - `numeric` - The format of output message.\n * Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).\n * The `"auto"` value allows to not always have to use numeric values in the output.\n * - `style` - The length of the internationalized message. Possible values are:\n * `"long"` (default, e.g., in 1 month),\n * `"short"` (e.g., in 1 mo.)\n * or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.\n *\n * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).\n *\n * [Specification](https://tc39.es/ecma402/#sec-intl-relativetimeformat-constructor).\n */\n new(\n locales?: BCP47LanguageTag | BCP47LanguageTag[],\n options?: RelativeTimeFormatOptions,\n ): RelativeTimeFormat;\n\n /**\n * Returns an array containing those of the provided locales\n * that are supported in date and time formatting\n * without having to fall back to the runtime\'s default locale.\n *\n * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\n * For the general form and interpretation of the locales argument,\n * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\n * with some or all of options of the formatting.\n * An object with some or all of the following properties:\n * - `localeMatcher` - The locale matching algorithm to use.\n * Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.\n * For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n * - `numeric` - The format of output message.\n * Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).\n * The `"auto"` value allows to not always have to use numeric values in the output.\n * - `style` - The length of the internationalized message. Possible values are:\n * `"long"` (default, e.g., in 1 month),\n * `"short"` (e.g., in 1 mo.)\n * or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.\n *\n * @returns An array containing those of the provided locales\n * that are supported in date and time formatting\n * without having to fall back to the runtime\'s default locale.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.supportedLocalesOf).\n */\n supportedLocalesOf(\n locales: BCP47LanguageTag | BCP47LanguageTag[],\n options?: RelativeTimeFormatOptions,\n ): BCP47LanguageTag[];\n };\n\n interface NumberFormatOptions {\n notation?: string;\n unit?: string;\n unitDisplay?: string;\n }\n\n interface ResolvedNumberFormatOptions {\n notation?: string;\n unit?: string;\n unitDisplay?: string;\n }\n}\n',"lib.es2020.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface PromiseFulfilledResult<T> {\n status: "fulfilled";\n value: T;\n}\n\ninterface PromiseRejectedResult {\n status: "rejected";\n reason: any;\n}\n\ntype PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all\n * of the provided Promises resolve or reject.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n allSettled<T extends readonly unknown[] | readonly [unknown]>(values: T):\n Promise<{ -readonly [P in keyof T]: PromiseSettledResult<T[P] extends PromiseLike<infer U> ? U : T[P]> }>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all\n * of the provided Promises resolve or reject.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n allSettled<T>(values: Iterable<T>): Promise<PromiseSettledResult<T extends PromiseLike<infer U> ? U : T>[]>;\n}\n',"lib.es2020.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface String {\n /**\n * Matches a string with a regular expression, and returns an iterable of matches\n * containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;\n}\n',"lib.es2020.symbol.wellknown.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n/// <reference lib="es2015.symbol" />\n\ninterface SymbolConstructor {\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.matchAll method.\n */\n readonly matchAll: symbol;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an iterable of matches\n * containing the results of that search.\n * @param string A string to search within.\n */\n [Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;\n}\n',"lib.es5.d.ts":"/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n/////////////////////////////\n/// ECMAScript APIs\n/////////////////////////////\n\ndeclare var NaN: number;\ndeclare var Infinity: number;\n\n/**\n * Evaluates JavaScript code and executes it.\n * @param x A String value that contains valid JavaScript code.\n */\ndeclare function eval(x: string): any;\n\n/**\n * Converts a string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\n * All other strings are considered decimal.\n */\ndeclare function parseInt(s: string, radix?: number): number;\n\n/**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\ndeclare function parseFloat(string: string): number;\n\n/**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).\n * @param number A numeric value.\n */\ndeclare function isNaN(number: number): boolean;\n\n/**\n * Determines whether a supplied number is finite.\n * @param number Any numeric value.\n */\ndeclare function isFinite(number: number): boolean;\n\n/**\n * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).\n * @param encodedURI A value representing an encoded URI.\n */\ndeclare function decodeURI(encodedURI: string): string;\n\n/**\n * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).\n * @param encodedURIComponent A value representing an encoded URI component.\n */\ndeclare function decodeURIComponent(encodedURIComponent: string): string;\n\n/**\n * Encodes a text string as a valid Uniform Resource Identifier (URI)\n * @param uri A value representing an encoded URI.\n */\ndeclare function encodeURI(uri: string): string;\n\n/**\n * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).\n * @param uriComponent A value representing an encoded URI component.\n */\ndeclare function encodeURIComponent(uriComponent: string | number | boolean): string;\n\n/**\n * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.\n * @param string A string value\n */\ndeclare function escape(string: string): string;\n\n/**\n * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.\n * @param string A string value\n */\ndeclare function unescape(string: string): string;\n\ninterface Symbol {\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): symbol;\n}\n\ndeclare type PropertyKey = string | number | symbol;\n\ninterface PropertyDescriptor {\n configurable?: boolean;\n enumerable?: boolean;\n value?: any;\n writable?: boolean;\n get?(): any;\n set?(v: any): void;\n}\n\ninterface PropertyDescriptorMap {\n [s: string]: PropertyDescriptor;\n}\n\ninterface Object {\n /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */\n constructor: Function;\n\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns a date converted to a string using the current locale. */\n toLocaleString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Object;\n\n /**\n * Determines whether an object has a property with the specified name.\n * @param v A property name.\n */\n hasOwnProperty(v: PropertyKey): boolean;\n\n /**\n * Determines whether an object exists in another object's prototype chain.\n * @param v Another object whose prototype chain is to be checked.\n */\n isPrototypeOf(v: Object): boolean;\n\n /**\n * Determines whether a specified property is enumerable.\n * @param v A property name.\n */\n propertyIsEnumerable(v: PropertyKey): boolean;\n}\n\ninterface ObjectConstructor {\n new(value?: any): Object;\n (): any;\n (value: any): any;\n\n /** A reference to the prototype for a class of objects. */\n readonly prototype: Object;\n\n /**\n * Returns the prototype of an object.\n * @param o The object that references the prototype.\n */\n getPrototypeOf(o: any): any;\n\n /**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\n getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;\n\n /**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\n getOwnPropertyNames(o: any): string[];\n\n /**\n * Creates an object that has the specified prototype or that has null prototype.\n * @param o Object to use as a prototype. May be null.\n */\n create(o: object | null): any;\n\n /**\n * Creates an object that has the specified prototype, and that optionally contains specified properties.\n * @param o Object to use as a prototype. May be null\n * @param properties JavaScript object that contains one or more property descriptors.\n */\n create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;\n\n /**\n * Adds a property to an object, or modifies attributes of an existing property.\n * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.\n * @param p The property name.\n * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\n */\n defineProperty(o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): any;\n\n /**\n * Adds one or more properties to an object, and/or modifies attributes of existing properties.\n * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.\n * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.\n */\n defineProperties(o: any, properties: PropertyDescriptorMap & ThisType<any>): any;\n\n /**\n * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n seal<T>(o: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T>(a: T[]): readonly T[];\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T extends Function>(f: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T>(o: T): Readonly<T>;\n\n /**\n * Prevents the addition of new properties to an object.\n * @param o Object to make non-extensible.\n */\n preventExtensions<T>(o: T): T;\n\n /**\n * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isSealed(o: any): boolean;\n\n /**\n * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isFrozen(o: any): boolean;\n\n /**\n * Returns a value that indicates whether new properties can be added to an object.\n * @param o Object to test.\n */\n isExtensible(o: any): boolean;\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: object): string[];\n}\n\n/**\n * Provides functionality common to all JavaScript objects.\n */\ndeclare var Object: ObjectConstructor;\n\n/**\n * Creates a new function.\n */\ninterface Function {\n /**\n * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.\n * @param thisArg The object to be used as the this object.\n * @param argArray A set of arguments to be passed to the function.\n */\n apply(this: Function, thisArg: any, argArray?: any): any;\n\n /**\n * Calls a method of an object, substituting another object for the current object.\n * @param thisArg The object to be used as the current object.\n * @param argArray A list of arguments to be passed to the method.\n */\n call(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg An object to which the this keyword can refer inside the new function.\n * @param argArray A list of arguments to be passed to the new function.\n */\n bind(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /** Returns a string representation of a function. */\n toString(): string;\n\n prototype: any;\n readonly length: number;\n\n // Non-standard extensions\n arguments: any;\n caller: Function;\n}\n\ninterface FunctionConstructor {\n /**\n * Creates a new function.\n * @param args A list of arguments the function accepts.\n */\n new(...args: string[]): Function;\n (...args: string[]): Function;\n readonly prototype: Function;\n}\n\ndeclare var Function: FunctionConstructor;\n\n/**\n * Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.\n */\ntype ThisParameterType<T> = T extends (this: infer U, ...args: any[]) => any ? U : unknown;\n\n/**\n * Removes the 'this' parameter from a function type.\n */\ntype OmitThisParameter<T> = unknown extends ThisParameterType<T> ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;\n\ninterface CallableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply<T, R>(this: (this: T) => R, thisArg: T): R;\n apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;\n bind<T, A0, A extends any[], R>(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0): (...args: A) => R;\n bind<T, A0, A1, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1): (...args: A) => R;\n bind<T, A0, A1, A2, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2): (...args: A) => R;\n bind<T, A0, A1, A2, A3, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3): (...args: A) => R;\n bind<T, AX, R>(this: (this: T, ...args: AX[]) => R, thisArg: T, ...args: AX[]): (...args: AX[]) => R;\n}\n\ninterface NewableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply<T>(this: new () => T, thisArg: T): void;\n apply<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, args: A): void;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, ...args: A): void;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind<T>(this: T, thisArg: any): T;\n bind<A0, A extends any[], R>(this: new (arg0: A0, ...args: A) => R, thisArg: any, arg0: A0): new (...args: A) => R;\n bind<A0, A1, A extends any[], R>(this: new (arg0: A0, arg1: A1, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1): new (...args: A) => R;\n bind<A0, A1, A2, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2): new (...args: A) => R;\n bind<A0, A1, A2, A3, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2, arg3: A3): new (...args: A) => R;\n bind<AX, R>(this: new (...args: AX[]) => R, thisArg: any, ...args: AX[]): new (...args: AX[]) => R;\n}\n\ninterface IArguments {\n [index: number]: any;\n length: number;\n callee: Function;\n}\n\ninterface String {\n /** Returns a string representation of a string. */\n toString(): string;\n\n /**\n * Returns the character at the specified index.\n * @param pos The zero-based index of the desired character.\n */\n charAt(pos: number): string;\n\n /**\n * Returns the Unicode value of the character at the specified location.\n * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.\n */\n charCodeAt(index: number): number;\n\n /**\n * Returns a string that contains the concatenation of two or more strings.\n * @param strings The strings to append to the end of the string.\n */\n concat(...strings: string[]): string;\n\n /**\n * Returns the position of the first occurrence of a substring.\n * @param searchString The substring to search for in the string\n * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.\n */\n indexOf(searchString: string, position?: number): number;\n\n /**\n * Returns the last occurrence of a substring in the string.\n * @param searchString The substring to search for.\n * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.\n */\n lastIndexOf(searchString: string, position?: number): number;\n\n /**\n * Determines whether two strings are equivalent in the current locale.\n * @param that String to compare to target string\n */\n localeCompare(that: string): number;\n\n /**\n * Matches a string with a regular expression, and returns an array containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n match(regexp: string | RegExp): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param regexp The regular expression pattern and applicable flags.\n */\n search(regexp: string | RegExp): number;\n\n /**\n * Returns a section of a string.\n * @param start The index to the beginning of the specified portion of stringObj.\n * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\n * If this value is not specified, the substring continues to the end of stringObj.\n */\n slice(start?: number, end?: number): string;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(separator: string | RegExp, limit?: number): string[];\n\n /**\n * Returns the substring at the specified location within a String object.\n * @param start The zero-based index number indicating the beginning of the substring.\n * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\n * If end is omitted, the characters from start through the end of the original string are returned.\n */\n substring(start: number, end?: number): string;\n\n /** Converts all the alphabetic characters in a string to lowercase. */\n toLowerCase(): string;\n\n /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */\n toLocaleLowerCase(locales?: string | string[]): string;\n\n /** Converts all the alphabetic characters in a string to uppercase. */\n toUpperCase(): string;\n\n /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */\n toLocaleUpperCase(locales?: string | string[]): string;\n\n /** Removes the leading and trailing white space and line terminator characters from a string. */\n trim(): string;\n\n /** Returns the length of a String object. */\n readonly length: number;\n\n // IE extensions\n /**\n * Gets a substring beginning at the specified location and having the specified length.\n * @param from The starting position of the desired substring. The index of the first character in the string is zero.\n * @param length The number of characters to include in the returned substring.\n */\n substr(from: number, length?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): string;\n\n readonly [index: number]: string;\n}\n\ninterface StringConstructor {\n new(value?: any): String;\n (value?: any): string;\n readonly prototype: String;\n fromCharCode(...codes: number[]): string;\n}\n\n/**\n * Allows manipulation and formatting of text strings and determination and location of substrings within strings.\n */\ndeclare var String: StringConstructor;\n\ninterface Boolean {\n /** Returns the primitive value of the specified object. */\n valueOf(): boolean;\n}\n\ninterface BooleanConstructor {\n new(value?: any): Boolean;\n <T>(value?: T): boolean;\n readonly prototype: Boolean;\n}\n\ndeclare var Boolean: BooleanConstructor;\n\ninterface Number {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.\n */\n toString(radix?: number): string;\n\n /**\n * Returns a string representing a number in fixed-point notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toFixed(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented in exponential notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toExponential(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.\n * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.\n */\n toPrecision(precision?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): number;\n}\n\ninterface NumberConstructor {\n new(value?: any): Number;\n (value?: any): number;\n readonly prototype: Number;\n\n /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */\n readonly MAX_VALUE: number;\n\n /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */\n readonly MIN_VALUE: number;\n\n /**\n * A value that is not a number.\n * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.\n */\n readonly NaN: number;\n\n /**\n * A value that is less than the largest negative number that can be represented in JavaScript.\n * JavaScript displays NEGATIVE_INFINITY values as -infinity.\n */\n readonly NEGATIVE_INFINITY: number;\n\n /**\n * A value greater than the largest number that can be represented in JavaScript.\n * JavaScript displays POSITIVE_INFINITY values as infinity.\n */\n readonly POSITIVE_INFINITY: number;\n}\n\n/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */\ndeclare var Number: NumberConstructor;\n\ninterface TemplateStringsArray extends ReadonlyArray<string> {\n readonly raw: readonly string[];\n}\n\n/**\n * The type of `import.meta`.\n *\n * If you need to declare that a given property exists on `import.meta`,\n * this type may be augmented via interface merging.\n */\ninterface ImportMeta {\n}\n\ninterface Math {\n /** The mathematical constant e. This is Euler's number, the base of natural logarithms. */\n readonly E: number;\n /** The natural logarithm of 10. */\n readonly LN10: number;\n /** The natural logarithm of 2. */\n readonly LN2: number;\n /** The base-2 logarithm of e. */\n readonly LOG2E: number;\n /** The base-10 logarithm of e. */\n readonly LOG10E: number;\n /** Pi. This is the ratio of the circumference of a circle to its diameter. */\n readonly PI: number;\n /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */\n readonly SQRT1_2: number;\n /** The square root of 2. */\n readonly SQRT2: number;\n /**\n * Returns the absolute value of a number (the value without regard to whether it is positive or negative).\n * For example, the absolute value of -5 is the same as the absolute value of 5.\n * @param x A numeric expression for which the absolute value is needed.\n */\n abs(x: number): number;\n /**\n * Returns the arc cosine (or inverse cosine) of a number.\n * @param x A numeric expression.\n */\n acos(x: number): number;\n /**\n * Returns the arcsine of a number.\n * @param x A numeric expression.\n */\n asin(x: number): number;\n /**\n * Returns the arctangent of a number.\n * @param x A numeric expression for which the arctangent is needed.\n */\n atan(x: number): number;\n /**\n * Returns the angle (in radians) from the X axis to a point.\n * @param y A numeric expression representing the cartesian y-coordinate.\n * @param x A numeric expression representing the cartesian x-coordinate.\n */\n atan2(y: number, x: number): number;\n /**\n * Returns the smallest integer greater than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n ceil(x: number): number;\n /**\n * Returns the cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cos(x: number): number;\n /**\n * Returns e (the base of natural logarithms) raised to a power.\n * @param x A numeric expression representing the power of e.\n */\n exp(x: number): number;\n /**\n * Returns the greatest integer less than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n floor(x: number): number;\n /**\n * Returns the natural logarithm (base e) of a number.\n * @param x A numeric expression.\n */\n log(x: number): number;\n /**\n * Returns the larger of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n max(...values: number[]): number;\n /**\n * Returns the smaller of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n min(...values: number[]): number;\n /**\n * Returns the value of a base expression taken to a specified power.\n * @param x The base value of the expression.\n * @param y The exponent value of the expression.\n */\n pow(x: number, y: number): number;\n /** Returns a pseudorandom number between 0 and 1. */\n random(): number;\n /**\n * Returns a supplied numeric expression rounded to the nearest integer.\n * @param x The value to be rounded to the nearest integer.\n */\n round(x: number): number;\n /**\n * Returns the sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sin(x: number): number;\n /**\n * Returns the square root of a number.\n * @param x A numeric expression.\n */\n sqrt(x: number): number;\n /**\n * Returns the tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tan(x: number): number;\n}\n/** An intrinsic object that provides basic mathematics functionality and constants. */\ndeclare var Math: Math;\n\n/** Enables basic storage and retrieval of dates and times. */\ninterface Date {\n /** Returns a string representation of a date. The format of the string depends on the locale. */\n toString(): string;\n /** Returns a date as a string value. */\n toDateString(): string;\n /** Returns a time as a string value. */\n toTimeString(): string;\n /** Returns a value as a string value appropriate to the host environment's current locale. */\n toLocaleString(): string;\n /** Returns a date as a string value appropriate to the host environment's current locale. */\n toLocaleDateString(): string;\n /** Returns a time as a string value appropriate to the host environment's current locale. */\n toLocaleTimeString(): string;\n /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\n valueOf(): number;\n /** Gets the time value in milliseconds. */\n getTime(): number;\n /** Gets the year, using local time. */\n getFullYear(): number;\n /** Gets the year using Universal Coordinated Time (UTC). */\n getUTCFullYear(): number;\n /** Gets the month, using local time. */\n getMonth(): number;\n /** Gets the month of a Date object using Universal Coordinated Time (UTC). */\n getUTCMonth(): number;\n /** Gets the day-of-the-month, using local time. */\n getDate(): number;\n /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */\n getUTCDate(): number;\n /** Gets the day of the week, using local time. */\n getDay(): number;\n /** Gets the day of the week using Universal Coordinated Time (UTC). */\n getUTCDay(): number;\n /** Gets the hours in a date, using local time. */\n getHours(): number;\n /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */\n getUTCHours(): number;\n /** Gets the minutes of a Date object, using local time. */\n getMinutes(): number;\n /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */\n getUTCMinutes(): number;\n /** Gets the seconds of a Date object, using local time. */\n getSeconds(): number;\n /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCSeconds(): number;\n /** Gets the milliseconds of a Date, using local time. */\n getMilliseconds(): number;\n /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCMilliseconds(): number;\n /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */\n getTimezoneOffset(): number;\n /**\n * Sets the date and time value in the Date object.\n * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.\n */\n setTime(time: number): number;\n /**\n * Sets the milliseconds value in the Date object using local time.\n * @param ms A numeric value equal to the millisecond value.\n */\n setMilliseconds(ms: number): number;\n /**\n * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).\n * @param ms A numeric value equal to the millisecond value.\n */\n setUTCMilliseconds(ms: number): number;\n\n /**\n * Sets the seconds value in the Date object using local time.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setSeconds(sec: number, ms?: number): number;\n /**\n * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCSeconds(sec: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using local time.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the hour value in the Date object using local time.\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the hours value in the Date object using Universal Coordinated Time (UTC).\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the numeric day-of-the-month value of the Date object using local time.\n * @param date A numeric value equal to the day of the month.\n */\n setDate(date: number): number;\n /**\n * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).\n * @param date A numeric value equal to the day of the month.\n */\n setUTCDate(date: number): number;\n /**\n * Sets the month value in the Date object using local time.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.\n */\n setMonth(month: number, date?: number): number;\n /**\n * Sets the month value in the Date object using Universal Coordinated Time (UTC).\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.\n */\n setUTCMonth(month: number, date?: number): number;\n /**\n * Sets the year of the Date object using local time.\n * @param year A numeric value for the year.\n * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.\n * @param date A numeric value equal for the day of the month.\n */\n setFullYear(year: number, month?: number, date?: number): number;\n /**\n * Sets the year value in the Date object using Universal Coordinated Time (UTC).\n * @param year A numeric value equal to the year.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.\n * @param date A numeric value equal to the day of the month.\n */\n setUTCFullYear(year: number, month?: number, date?: number): number;\n /** Returns a date converted to a string using Universal Coordinated Time (UTC). */\n toUTCString(): string;\n /** Returns a date as a string value in ISO format. */\n toISOString(): string;\n /** Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization. */\n toJSON(key?: any): string;\n}\n\ninterface DateConstructor {\n new(): Date;\n new(value: number | string): Date;\n new(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;\n (): string;\n readonly prototype: Date;\n /**\n * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.\n * @param s A date string\n */\n parse(s: string): number;\n /**\n * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.\n * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\n * @param month The month as a number between 0 and 11 (January to December).\n * @param date The date as a number between 1 and 31.\n * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.\n * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.\n * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.\n * @param ms A number from 0 to 999 that specifies the milliseconds.\n */\n UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array<string> {\n index?: number;\n input?: string;\n}\n\ninterface RegExpExecArray extends Array<string> {\n index: number;\n input: string;\n}\n\ninterface RegExp {\n /**\n * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.\n * @param string The String object or string literal on which to perform the search.\n */\n exec(string: string): RegExpExecArray | null;\n\n /**\n * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.\n * @param string String on which to perform the search.\n */\n test(string: string): boolean;\n\n /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */\n readonly source: string;\n\n /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */\n readonly global: boolean;\n\n /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */\n readonly ignoreCase: boolean;\n\n /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */\n readonly multiline: boolean;\n\n lastIndex: number;\n\n // Non-standard extensions\n compile(): this;\n}\n\ninterface RegExpConstructor {\n new(pattern: RegExp | string): RegExp;\n new(pattern: string, flags?: string): RegExp;\n (pattern: RegExp | string): RegExp;\n (pattern: string, flags?: string): RegExp;\n readonly prototype: RegExp;\n\n // Non-standard extensions\n $1: string;\n $2: string;\n $3: string;\n $4: string;\n $5: string;\n $6: string;\n $7: string;\n $8: string;\n $9: string;\n lastMatch: string;\n}\n\ndeclare var RegExp: RegExpConstructor;\n\ninterface Error {\n name: string;\n message: string;\n stack?: string;\n}\n\ninterface ErrorConstructor {\n new(message?: string): Error;\n (message?: string): Error;\n readonly prototype: Error;\n}\n\ndeclare var Error: ErrorConstructor;\n\ninterface EvalError extends Error {\n}\n\ninterface EvalErrorConstructor extends ErrorConstructor {\n new(message?: string): EvalError;\n (message?: string): EvalError;\n readonly prototype: EvalError;\n}\n\ndeclare var EvalError: EvalErrorConstructor;\n\ninterface RangeError extends Error {\n}\n\ninterface RangeErrorConstructor extends ErrorConstructor {\n new(message?: string): RangeError;\n (message?: string): RangeError;\n readonly prototype: RangeError;\n}\n\ndeclare var RangeError: RangeErrorConstructor;\n\ninterface ReferenceError extends Error {\n}\n\ninterface ReferenceErrorConstructor extends ErrorConstructor {\n new(message?: string): ReferenceError;\n (message?: string): ReferenceError;\n readonly prototype: ReferenceError;\n}\n\ndeclare var ReferenceError: ReferenceErrorConstructor;\n\ninterface SyntaxError extends Error {\n}\n\ninterface SyntaxErrorConstructor extends ErrorConstructor {\n new(message?: string): SyntaxError;\n (message?: string): SyntaxError;\n readonly prototype: SyntaxError;\n}\n\ndeclare var SyntaxError: SyntaxErrorConstructor;\n\ninterface TypeError extends Error {\n}\n\ninterface TypeErrorConstructor extends ErrorConstructor {\n new(message?: string): TypeError;\n (message?: string): TypeError;\n readonly prototype: TypeError;\n}\n\ndeclare var TypeError: TypeErrorConstructor;\n\ninterface URIError extends Error {\n}\n\ninterface URIErrorConstructor extends ErrorConstructor {\n new(message?: string): URIError;\n (message?: string): URIError;\n readonly prototype: URIError;\n}\n\ndeclare var URIError: URIErrorConstructor;\n\ninterface JSON {\n /**\n * Converts a JavaScript Object Notation (JSON) string into an object.\n * @param text A valid JSON string.\n * @param reviver A function that transforms the results. This function is called for each member of the object.\n * If a member contains nested objects, the nested objects are transformed before the parent object is.\n */\n parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer A function that transforms the results.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\n}\n\n/**\n * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.\n */\ndeclare var JSON: JSON;\n\n\n/////////////////////////////\n/// ECMAScript Array API (specially handled by compiler)\n/////////////////////////////\n\ninterface ReadonlyArray<T> {\n /**\n * Gets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n readonly length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray<T>[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray<T>)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): this is readonly S[];\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n\n readonly [n: number]: T;\n}\n\ninterface ConcatArray<T> {\n readonly length: number;\n readonly [n: number]: T;\n join(separator?: string): string;\n slice(start?: number, end?: number): T[];\n}\n\ninterface Array<T> {\n /**\n * Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Removes the last element from an array and returns it.\n */\n pop(): T | undefined;\n /**\n * Appends new elements to an array, and returns the new length of the array.\n * @param items New elements of the Array.\n */\n push(...items: T[]): number;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray<T>[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray<T>)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Reverses the elements in an Array.\n */\n reverse(): T[];\n /**\n * Removes the first element from an array and returns it.\n */\n shift(): T | undefined;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: T, b: T) => number): this;\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n */\n splice(start: number, deleteCount?: number): T[];\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n * @param items Elements to insert into the array in place of the deleted elements.\n */\n splice(start: number, deleteCount: number, ...items: T[]): T[];\n /**\n * Inserts new elements at the start of an array.\n * @param items Elements to insert at the start of the Array.\n */\n unshift(...items: T[]): number;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): this is S[];\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n\n [n: number]: T;\n}\n\ninterface ArrayConstructor {\n new(arrayLength?: number): any[];\n new <T>(arrayLength: number): T[];\n new <T>(...items: T[]): T[];\n (arrayLength?: number): any[];\n <T>(arrayLength: number): T[];\n <T>(...items: T[]): T[];\n isArray(arg: any): arg is any[];\n readonly prototype: any[];\n}\n\ndeclare var Array: ArrayConstructor;\n\ninterface TypedPropertyDescriptor<T> {\n enumerable?: boolean;\n configurable?: boolean;\n writable?: boolean;\n value?: T;\n get?: () => T;\n set?: (value: T) => void;\n}\n\ndeclare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\ndeclare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\n\ndeclare type PromiseConstructorLike = new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;\n\ninterface PromiseLike<T> {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;\n}\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;\n\n /**\n * Attaches a callback for only the rejection of the Promise.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of the callback.\n */\n catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;\n}\n\ninterface ArrayLike<T> {\n readonly length: number;\n readonly [n: number]: T;\n}\n\n/**\n * Make all properties in T optional\n */\ntype Partial<T> = {\n [P in keyof T]?: T[P];\n};\n\n/**\n * Make all properties in T required\n */\ntype Required<T> = {\n [P in keyof T]-?: T[P];\n};\n\n/**\n * Make all properties in T readonly\n */\ntype Readonly<T> = {\n readonly [P in keyof T]: T[P];\n};\n\n/**\n * From T, pick a set of properties whose keys are in the union K\n */\ntype Pick<T, K extends keyof T> = {\n [P in K]: T[P];\n};\n\n/**\n * Construct a type with a set of properties K of type T\n */\ntype Record<K extends keyof any, T> = {\n [P in K]: T;\n};\n\n/**\n * Exclude from T those types that are assignable to U\n */\ntype Exclude<T, U> = T extends U ? never : T;\n\n/**\n * Extract from T those types that are assignable to U\n */\ntype Extract<T, U> = T extends U ? T : never;\n\n/**\n * Construct a type with the properties of T except for those in type K.\n */\ntype Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;\n\n/**\n * Exclude null and undefined from T\n */\ntype NonNullable<T> = T extends null | undefined ? never : T;\n\n/**\n * Obtain the parameters of a function type in a tuple\n */\ntype Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the parameters of a constructor function type in a tuple\n */\ntype ConstructorParameters<T extends new (...args: any) => any> = T extends new (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the return type of a function type\n */\ntype ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any;\n\n/**\n * Obtain the return type of a constructor function type\n */\ntype InstanceType<T extends new (...args: any) => any> = T extends new (...args: any) => infer R ? R : any;\n\n/**\n * Marker for contextual 'this' type\n */\ninterface ThisType<T> { }\n\n/**\n * Represents a raw buffer of binary data, which is used to store data for the\n * different typed arrays. ArrayBuffers cannot be read from or written to directly,\n * but can be passed to a typed array or DataView Object to interpret the raw\n * buffer as needed.\n */\ninterface ArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /**\n * Returns a section of an ArrayBuffer.\n */\n slice(begin: number, end?: number): ArrayBuffer;\n}\n\n/**\n * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.\n */\ninterface ArrayBufferTypes {\n ArrayBuffer: ArrayBuffer;\n}\ntype ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];\n\ninterface ArrayBufferConstructor {\n readonly prototype: ArrayBuffer;\n new(byteLength: number): ArrayBuffer;\n isView(arg: any): arg is ArrayBufferView;\n}\ndeclare var ArrayBuffer: ArrayBufferConstructor;\n\ninterface ArrayBufferView {\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n byteOffset: number;\n}\n\ninterface DataView {\n readonly buffer: ArrayBuffer;\n readonly byteLength: number;\n readonly byteOffset: number;\n /**\n * Gets the Float32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Float64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat64(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Int8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt8(byteOffset: number): number;\n\n /**\n * Gets the Int16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt16(byteOffset: number, littleEndian?: boolean): number;\n /**\n * Gets the Int32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint8(byteOffset: number): number;\n\n /**\n * Gets the Uint16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint16(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Stores an Float32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Float64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setInt8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Int16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setUint8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Uint16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;\n}\n\ninterface DataViewConstructor {\n new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\n}\ndeclare var DataView: DataViewConstructor;\n\n/**\n * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Int8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int8Array;\n\n [index: number]: number;\n}\ninterface Int8ArrayConstructor {\n readonly prototype: Int8Array;\n new(length: number): Int8Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int8Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;\n\n\n}\ndeclare var Int8Array: Int8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint8Array;\n\n [index: number]: number;\n}\n\ninterface Uint8ArrayConstructor {\n readonly prototype: Uint8Array;\n new(length: number): Uint8Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint8Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;\n\n}\ndeclare var Uint8Array: Uint8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\n * If the requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8ClampedArray {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8ClampedArray;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint8ClampedArray;\n\n [index: number]: number;\n}\n\ninterface Uint8ClampedArrayConstructor {\n readonly prototype: Uint8ClampedArray;\n new(length: number): Uint8ClampedArray;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8ClampedArray;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\ndeclare var Uint8ClampedArray: Uint8ClampedArrayConstructor;\n\n/**\n * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int16Array;\n\n [index: number]: number;\n}\n\ninterface Int16ArrayConstructor {\n readonly prototype: Int16Array;\n new(length: number): Int16Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int16Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array;\n\n\n}\ndeclare var Int16Array: Int16ArrayConstructor;\n\n/**\n * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint16Array;\n\n [index: number]: number;\n}\n\ninterface Uint16ArrayConstructor {\n readonly prototype: Uint16Array;\n new(length: number): Uint16Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint16Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array;\n\n\n}\ndeclare var Uint16Array: Uint16ArrayConstructor;\n/**\n * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int32Array;\n\n [index: number]: number;\n}\n\ninterface Int32ArrayConstructor {\n readonly prototype: Int32Array;\n new(length: number): Int32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;\n\n}\ndeclare var Int32Array: Int32ArrayConstructor;\n\n/**\n * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint32Array;\n\n [index: number]: number;\n}\n\ninterface Uint32ArrayConstructor {\n readonly prototype: Uint32Array;\n new(length: number): Uint32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;\n\n}\ndeclare var Uint32Array: Uint32ArrayConstructor;\n\n/**\n * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\n * of bytes could not be allocated an exception is raised.\n */\ninterface Float32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Float32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Float32Array;\n\n [index: number]: number;\n}\n\ninterface Float32ArrayConstructor {\n readonly prototype: Float32Array;\n new(length: number): Float32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Float32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array;\n\n\n}\ndeclare var Float32Array: Float32ArrayConstructor;\n\n/**\n * A typed array of 64-bit float values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Float64Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float64Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Float64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float64Array;\n\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Float64Array;\n\n [index: number]: number;\n}\n\ninterface Float64ArrayConstructor {\n readonly prototype: Float64Array;\n new(length: number): Float64Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Float64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float64Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;\n\n}\ndeclare var Float64Array: Float64ArrayConstructor;\n\n/////////////////////////////\n/// ECMAScript Internationalization API\n/////////////////////////////\n\ndeclare namespace Intl {\n interface CollatorOptions {\n usage?: string;\n localeMatcher?: string;\n numeric?: boolean;\n caseFirst?: string;\n sensitivity?: string;\n ignorePunctuation?: boolean;\n }\n\n interface ResolvedCollatorOptions {\n locale: string;\n usage: string;\n sensitivity: string;\n ignorePunctuation: boolean;\n collation: string;\n caseFirst: string;\n numeric: boolean;\n }\n\n interface Collator {\n compare(x: string, y: string): number;\n resolvedOptions(): ResolvedCollatorOptions;\n }\n var Collator: {\n new(locales?: string | string[], options?: CollatorOptions): Collator;\n (locales?: string | string[], options?: CollatorOptions): Collator;\n supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];\n };\n\n interface NumberFormatOptions {\n localeMatcher?: string;\n style?: string;\n currency?: string;\n currencyDisplay?: string;\n useGrouping?: boolean;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedNumberFormatOptions {\n locale: string;\n numberingSystem: string;\n style: string;\n currency?: string;\n currencyDisplay?: string;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n useGrouping: boolean;\n }\n\n interface NumberFormat {\n format(value: number): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n var NumberFormat: {\n new(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];\n };\n\n interface DateTimeFormatOptions {\n localeMatcher?: string;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n formatMatcher?: string;\n hour12?: boolean;\n timeZone?: string;\n }\n\n interface ResolvedDateTimeFormatOptions {\n locale: string;\n calendar: string;\n numberingSystem: string;\n timeZone: string;\n hour12?: boolean;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n }\n\n interface DateTimeFormat {\n format(date?: Date | number): string;\n resolvedOptions(): ResolvedDateTimeFormatOptions;\n }\n var DateTimeFormat: {\n new(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];\n };\n}\n\ninterface String {\n /**\n * Determines whether two strings are equivalent in the current or specified locale.\n * @param that String to compare to target string\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.\n */\n localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;\n}\n\ninterface Number {\n /**\n * Converts a number to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Date {\n /**\n * Converts a date and time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n /**\n * Converts a date to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n\n /**\n * Converts a time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n}\n","lib.es6.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015" />\n/// <reference lib="dom" />\n/// <reference lib="dom.iterable" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',"lib.esnext.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2020" />\n/// <reference lib="esnext.intl" />\n/// <reference lib="esnext.string" />\n/// <reference lib="esnext.promise" />\n',"lib.esnext.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="esnext" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.esnext.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n type NumberFormatPartTypes = "currency" | "decimal" | "fraction" | "group" | "infinity" | "integer" | "literal" | "minusSign" | "nan" | "plusSign" | "percentSign";\n\n interface NumberFormatPart {\n type: NumberFormatPartTypes;\n value: string;\n }\n\n interface NumberFormat {\n formatToParts(number?: number): NumberFormatPart[];\n }\n}\n',"lib.esnext.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface AggregateError extends Error {\n errors: any[]\n}\n\ninterface AggregateErrorConstructor {\n new(errors: Iterable<any>, message?: string): AggregateError;\n (errors: Iterable<any>, message?: string): AggregateError;\n readonly prototype: AggregateError;\n}\n\ndeclare var AggregateError: AggregateErrorConstructor;\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface PromiseConstructor {\n /**\n * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.\n * @param values An array or iterable of Promises.\n * @returns A new Promise.\n */\n any<T>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T>\n}\n',"lib.esnext.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replaceAll(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n}\n',"lib.scripthost.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n\n\n/////////////////////////////\n/// Windows Script Host APIS\n/////////////////////////////\n\n\ninterface ActiveXObject {\n new (s: string): any;\n}\ndeclare var ActiveXObject: ActiveXObject;\n\ninterface ITextWriter {\n Write(s: string): void;\n WriteLine(s: string): void;\n Close(): void;\n}\n\ninterface TextStreamBase {\n /**\n * The column number of the current character position in an input stream.\n */\n Column: number;\n\n /**\n * The current line number in an input stream.\n */\n Line: number;\n\n /**\n * Closes a text stream.\n * It is not necessary to close standard streams; they close automatically when the process ends. If\n * you close a standard stream, be aware that any other pointers to that standard stream become invalid.\n */\n Close(): void;\n}\n\ninterface TextStreamWriter extends TextStreamBase {\n /**\n * Sends a string to an output stream.\n */\n Write(s: string): void;\n\n /**\n * Sends a specified number of blank lines (newline characters) to an output stream.\n */\n WriteBlankLines(intLines: number): void;\n\n /**\n * Sends a string followed by a newline character to an output stream.\n */\n WriteLine(s: string): void;\n}\n\ninterface TextStreamReader extends TextStreamBase {\n /**\n * Returns a specified number of characters from an input stream, starting at the current pointer position.\n * Does not return until the ENTER key is pressed.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n Read(characters: number): string;\n\n /**\n * Returns all characters from an input stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadAll(): string;\n\n /**\n * Returns an entire line from an input stream.\n * Although this method extracts the newline character, it does not add it to the returned string.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadLine(): string;\n\n /**\n * Skips a specified number of characters when reading from an input text stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n * @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)\n */\n Skip(characters: number): void;\n\n /**\n * Skips the next line when reading from an input text stream.\n * Can only be used on a stream in reading mode, not writing or appending mode.\n */\n SkipLine(): void;\n\n /**\n * Indicates whether the stream pointer position is at the end of a line.\n */\n AtEndOfLine: boolean;\n\n /**\n * Indicates whether the stream pointer position is at the end of a stream.\n */\n AtEndOfStream: boolean;\n}\n\ndeclare var WScript: {\n /**\n * Outputs text to either a message box (under WScript.exe) or the command console window followed by\n * a newline (under CScript.exe).\n */\n Echo(s: any): void;\n\n /**\n * Exposes the write-only error output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdErr: TextStreamWriter;\n\n /**\n * Exposes the write-only output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdOut: TextStreamWriter;\n Arguments: { length: number; Item(n: number): string; };\n\n /**\n * The full path of the currently running script.\n */\n ScriptFullName: string;\n\n /**\n * Forces the script to stop immediately, with an optional exit code.\n */\n Quit(exitCode?: number): number;\n\n /**\n * The Windows Script Host build version number.\n */\n BuildVersion: number;\n\n /**\n * Fully qualified path of the host executable.\n */\n FullName: string;\n\n /**\n * Gets/sets the script mode - interactive(true) or batch(false).\n */\n Interactive: boolean;\n\n /**\n * The name of the host executable (WScript.exe or CScript.exe).\n */\n Name: string;\n\n /**\n * Path of the directory containing the host executable.\n */\n Path: string;\n\n /**\n * The filename of the currently running script.\n */\n ScriptName: string;\n\n /**\n * Exposes the read-only input stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdIn: TextStreamReader;\n\n /**\n * Windows Script Host version\n */\n Version: string;\n\n /**\n * Connects a COM object\'s event sources to functions named with a given prefix, in the form prefix_event.\n */\n ConnectObject(objEventSource: any, strPrefix: string): void;\n\n /**\n * Creates a COM object.\n * @param strProgiID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n CreateObject(strProgID: string, strPrefix?: string): any;\n\n /**\n * Disconnects a COM object from its event sources.\n */\n DisconnectObject(obj: any): void;\n\n /**\n * Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.\n * @param strPathname Fully qualified path to the file containing the object persisted to disk.\n * For objects in memory, pass a zero-length string.\n * @param strProgID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;\n\n /**\n * Suspends script execution for a specified length of time, then continues execution.\n * @param intTime Interval (in milliseconds) to suspend script execution.\n */\n Sleep(intTime: number): void;\n};\n\n/**\n * WSH is an alias for WScript under Windows Script Host\n */\ndeclare var WSH: typeof WScript;\n\n/**\n * Represents an Automation SAFEARRAY\n */\ndeclare class SafeArray<T = any> {\n private constructor();\n private SafeArray_typekey: SafeArray<T>;\n}\n\n/**\n * Allows enumerating over a COM collection, which may not have indexed item access.\n */\ninterface Enumerator<T = any> {\n /**\n * Returns true if the current item is the last one in the collection, or the collection is empty,\n * or the current item is undefined.\n */\n atEnd(): boolean;\n\n /**\n * Returns the current item in the collection\n */\n item(): T;\n\n /**\n * Resets the current item in the collection to the first item. If there are no items in the collection,\n * the current item is set to undefined.\n */\n moveFirst(): void;\n\n /**\n * Moves the current item to the next item in the collection. If the enumerator is at the end of\n * the collection or the collection is empty, the current item is set to undefined.\n */\n moveNext(): void;\n}\n\ninterface EnumeratorConstructor {\n new <T = any>(safearray: SafeArray<T>): Enumerator<T>;\n new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;\n new <T = any>(collection: any): Enumerator<T>;\n}\n\ndeclare var Enumerator: EnumeratorConstructor;\n\n/**\n * Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.\n */\ninterface VBArray<T = any> {\n /**\n * Returns the number of dimensions (1-based).\n */\n dimensions(): number;\n\n /**\n * Takes an index for each dimension in the array, and returns the item at the corresponding location.\n */\n getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;\n\n /**\n * Returns the smallest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n lbound(dimension?: number): number;\n\n /**\n * Returns the largest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n ubound(dimension?: number): number;\n\n /**\n * Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,\n * each successive dimension is appended to the end of the array.\n * Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]\n */\n toArray(): T[];\n}\n\ninterface VBArrayConstructor {\n new <T = any>(safeArray: SafeArray<T>): VBArray<T>;\n}\n\ndeclare var VBArray: VBArrayConstructor;\n\n/**\n * Automation date (VT_DATE)\n */\ndeclare class VarDate {\n private constructor();\n private VarDate_typekey: VarDate;\n}\n\ninterface DateConstructor {\n new (vd: VarDate): Date;\n}\n\ninterface Date {\n getVarDate: () => VarDate;\n}\n',"lib.webworker.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// Worker APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n desynchronized?: boolean;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CryptoKeyPair {\n privateKey?: CryptoKey;\n publicKey?: CryptoKey;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExtendableEventInit extends EventInit {\n}\n\ninterface ExtendableMessageEventInit extends ExtendableEventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: Client | ServiceWorker | MessagePort | null;\n}\n\ninterface FetchEventInit extends ExtendableEventInit {\n clientId?: string;\n preloadResponse?: Promise<any>;\n replacesClientId?: string;\n request: Request;\n resultingClientId?: string;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationEventInit extends ExtendableEventInit {\n action?: string;\n notification: Notification;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise<any>;\n reason?: any;\n}\n\ninterface PushEventInit extends ExtendableEventInit {\n data?: PushMessageDataInit;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionChangeEventInit extends ExtendableEventInit {\n newSubscription?: PushSubscription;\n oldSubscription?: PushSubscription;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback<T>;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value?: T;\n}\n\ninterface ReadableStreamReadValueResult<T> {\n done: false;\n value: T;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request\'s credentials.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request\'s redirect.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface SyncEventInit extends ExtendableEventInit {\n lastChance?: boolean;\n tag: string;\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface Transformer<I = any, O = any> {\n flush?: TransformStreamDefaultControllerCallback<O>;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback<O>;\n transform?: TransformStreamDefaultControllerTransformCallback<I, O>;\n writableType?: undefined;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink<W = any> {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback<R>;\n start?: ReadableStreamDefaultControllerCallback<R>;\n type?: undefined;\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\n/** A file-like object of immutable, raw data. Blobs represent data that isn\'t necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user\'s system. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise<ArrayBuffer>;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n readonly body: ReadableStream<Uint8Array> | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise<ArrayBuffer>;\n blob(): Promise<Blob>;\n formData(): Promise<FormData>;\n json(): Promise<any>;\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /**\n * Returns the channel name (as passed to the constructor).\n */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * Closes the BroadcastChannel object, opening it up to garbage collection.\n */\n close(): void;\n /**\n * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n highWaterMark: number;\n size(chunk: ArrayBufferView): number;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(options: { highWaterMark: number }): ByteLengthQueuingStrategy;\n};\n\n/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don\'t have to use it in conjunction with service workers, even though it is defined in the service worker spec. */\ninterface Cache {\n add(request: RequestInfo): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/** The storage for Cache objects. */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: string;\n}\n\ninterface CanvasDrawImage {\n drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n beginPath(): void;\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n fillStyle: string | CanvasGradient | CanvasPattern;\n strokeStyle: string | CanvasGradient | CanvasPattern;\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.\n * \n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n createImageData(sw: number, sh: number): ImageData;\n createImageData(imagedata: ImageData): ImageData;\n getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;\n putImageData(imagedata: ImageData, dx: number, dy: number): void;\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n imageSmoothingEnabled: boolean;\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasPathDrawingStyles {\n lineCap: CanvasLineCap;\n lineDashOffset: number;\n lineJoin: CanvasLineJoin;\n lineWidth: number;\n miterLimit: number;\n getLineDash(): number[];\n setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /**\n * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n clearRect(x: number, y: number, w: number, h: number): void;\n fillRect(x: number, y: number, w: number, h: number): void;\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasShadowStyles {\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n restore(): void;\n save(): void;\n}\n\ninterface CanvasText {\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n measureText(text: string): TextMetrics;\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n direction: CanvasDirection;\n font: string;\n textAlign: CanvasTextAlign;\n textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n getTransform(): DOMMatrix;\n resetTransform(): void;\n rotate(angle: number): void;\n scale(x: number, y: number): void;\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n translate(x: number, y: number): void;\n}\n\n/** The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get(). */\ninterface Client {\n readonly frameType: FrameType;\n readonly id: string;\n readonly type: ClientTypes;\n readonly url: string;\n postMessage(message: any, transfer?: Transferable[]): void;\n}\n\ndeclare var Client: {\n prototype: Client;\n new(): Client;\n};\n\n/** Provides access to Client objects. Access it via self.clients within a service worker. */\ninterface Clients {\n claim(): Promise<void>;\n get(id: string): Promise<Client | undefined>;\n matchAll(options?: ClientQueryOptions): Promise<ReadonlyArray<Client>>;\n openWindow(url: string): Promise<WindowClient | null>;\n}\n\ndeclare var Clients: {\n prototype: Clients;\n new(): Clients;\n};\n\n/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object\'s onclose attribute. */\ninterface CloseEvent extends Event {\n /**\n * Returns the WebSocket connection close code provided by the server.\n */\n readonly code: number;\n /**\n * Returns the WebSocket connection close reason provided by the server.\n */\n readonly reason: string;\n /**\n * Returns true if the connection closed cleanly; false otherwise.\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\ninterface ConcatParams extends Algorithm {\n algorithmId: Uint8Array;\n hash?: string | Algorithm;\n partyUInfo: Uint8Array;\n partyVInfo: Uint8Array;\n privateInfo?: Uint8Array;\n publicInfo?: Uint8Array;\n}\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n highWaterMark: number;\n size(chunk: any): 1;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(options: { highWaterMark: number }): CountQueuingStrategy;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\ninterface CustomEvent<T = any> extends Event {\n /**\n * Returns any custom data event was created with. Typically used for synthetic events.\n */\n readonly detail: T;\n initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new<T>(typeArg: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /**\n * Returns the number of strings in strings.\n */\n readonly length: number;\n /**\n * Returns true if strings contains string, and false otherwise.\n */\n contains(string: string): boolean;\n /**\n * Returns the string with index index from strings.\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\ninterface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */\ninterface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider {\n /**\n * Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging.\n */\n readonly name: string;\n onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * Aborts dedicatedWorkerGlobal.\n */\n close(): void;\n /**\n * Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var DedicatedWorkerGlobalScope: {\n prototype: DedicatedWorkerGlobalScope;\n new(): DedicatedWorkerGlobalScope;\n};\n\ninterface DhImportKeyParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyAlgorithm extends KeyAlgorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface DhKeyGenParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\n/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /**\n * Returns true or false depending on how event was initialized. True if event goes through its target\'s ancestors in reverse tree order, and false otherwise.\n */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /**\n * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.\n */\n readonly cancelable: boolean;\n /**\n * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.\n */\n readonly composed: boolean;\n /**\n * Returns the object whose event listener\'s callback is currently being invoked.\n */\n readonly currentTarget: EventTarget | null;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.\n */\n readonly defaultPrevented: boolean;\n /**\n * Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.\n */\n readonly eventPhase: number;\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n readonly isTrusted: boolean;\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n readonly target: EventTarget | null;\n /**\n * Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin.\n */\n readonly timeStamp: number;\n /**\n * Returns the type of event, e.g. "click", "hashchange", or "submit".\n */\n readonly type: string;\n /**\n * Returns the invocation target objects of event\'s path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root\'s mode is "closed" that are not reachable from event\'s currentTarget.\n */\n composedPath(): EventTarget[];\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.\n */\n preventDefault(): void;\n /**\n * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.\n */\n stopImmediatePropagation(): void;\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.\n */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListenerObject {\n handleEvent(evt: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * Returns the state of this EventSource object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL providing the event stream.\n */\n readonly url: string;\n /**\n * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.\n */\n readonly withCredentials: boolean;\n /**\n * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.\n */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.\n * \n * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options\'s capture.\n * \n * When set to true, options\'s capture prevents callback from being invoked when the event\'s eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event\'s eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event\'s eventPhase attribute value is AT_TARGET.\n * \n * When set to true, options\'s passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.\n * \n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n * \n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;\n /**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\n dispatchEvent(event: Event): boolean;\n /**\n * Removes the event listener in target\'s event listener list with the same type, callback, and options.\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/** Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries. */\ninterface ExtendableEvent extends Event {\n waitUntil(f: any): void;\n}\n\ndeclare var ExtendableEvent: {\n prototype: ExtendableEvent;\n new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent;\n};\n\n/** This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events. */\ninterface ExtendableMessageEvent extends ExtendableEvent {\n readonly data: any;\n readonly lastEventId: string;\n readonly origin: string;\n readonly ports: ReadonlyArray<MessagePort>;\n readonly source: Client | ServiceWorker | MessagePort | null;\n}\n\ndeclare var ExtendableMessageEvent: {\n prototype: ExtendableMessageEvent;\n new(type: string, eventInitDict?: ExtendableMessageEventInit): ExtendableMessageEvent;\n};\n\n/** This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */\ninterface FetchEvent extends ExtendableEvent {\n readonly clientId: string;\n readonly preloadResponse: Promise<any>;\n readonly replacesClientId: string;\n readonly request: Request;\n readonly resultingClientId: string;\n respondWith(r: Response | Promise<Response>): void;\n}\n\ndeclare var FetchEvent: {\n prototype: FetchEvent;\n new(type: string, eventInitDict: FetchEventInit): FetchEvent;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It\'s also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent<FileReader>;\n "error": ProgressEvent<FileReader>;\n "load": ProgressEvent<FileReader>;\n "loadend": ProgressEvent<FileReader>;\n "loadstart": ProgressEvent<FileReader>;\n "progress": ProgressEvent<FileReader>;\n}\n\n/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user\'s computer, using File or Blob objects to specify the file or data to read. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\n/** Allows to read File or Blob objects in a synchronous way. */\ninterface FileReaderSync {\n readAsArrayBuffer(blob: Blob): ArrayBuffer;\n readAsBinaryString(blob: Blob): string;\n readAsDataURL(blob: Blob): string;\n readAsText(blob: Blob, encoding?: string): string;\n}\n\ndeclare var FileReaderSync: {\n prototype: FileReaderSync;\n new(): FileReaderSync;\n};\n\n/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(): FormData;\n};\n\ninterface GenericTransformStream {\n /**\n * Returns a readable stream whose chunks are strings resulting from running encoding\'s decoder on the chunks written to writable.\n */\n readonly readable: ReadableStream;\n /**\n * Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding\'s decoder before making them available to readable.\n * \n * Typically this will be used via the pipeThrough() method on a ReadableStream source.\n * \n * ```\n * var decoder = new TextDecoderStream(encoding);\n * byteReadable\n * .pipeThrough(decoder)\n * .pipeTo(textWritable);\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, both readable and writable will be errored with a TypeError.\n */\n readonly writable: WritableStream;\n}\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n append(name: string, value: string): void;\n delete(name: string): void;\n get(name: string): string | null;\n has(name: string): boolean;\n set(name: string, value: string): void;\n forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n prototype: Headers;\n new(init?: HeadersInit): Headers;\n};\n\ninterface HkdfCtrParams extends Algorithm {\n context: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n hash: string | Algorithm;\n label: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface IDBArrayKey extends Array<IDBValidKey> {\n}\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n /**\n * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.\n */\n readonly direction: IDBCursorDirection;\n /**\n * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly key: IDBValidKey;\n /**\n * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly primaryKey: IDBValidKey;\n /**\n * Returns the IDBObjectStore or IDBIndex the cursor was opened from.\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * Advances the cursor through the next count records in range.\n */\n advance(count: number): void;\n /**\n * Advances the cursor to the next record in range.\n */\n continue(key?: IDBValidKey): void;\n /**\n * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * Delete the record pointed at by the cursor with a new value.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(): IDBRequest<undefined>;\n /**\n * Updated the record pointed at by the cursor with a new value.\n * \n * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * Returns the cursor\'s current value.\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n /**\n * Returns the name of the database.\n */\n readonly name: string;\n /**\n * Returns a list of the names of object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * Returns the version of the database.\n */\n readonly version: number;\n /**\n * Closes the connection once all running transactions have finished.\n */\n close(): void;\n /**\n * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * Deletes the object store with the given name.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteObjectStore(name: string): void;\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;\n addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n prototype: IDBDatabase;\n new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n /**\n * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n * \n * Throws a "DataError" DOMException if either input is not a valid key.\n */\n cmp(first: any, second: any): number;\n /**\n * Attempts to delete the named database. If the database already exists and there are open connections that don\'t close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request\'s result will be null.\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request\'s result will be the connection.\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n readonly keyPath: string | string[];\n readonly multiEntry: boolean;\n /**\n * Returns the name of the index.\n */\n name: string;\n /**\n * Returns the IDBObjectStore the index belongs to.\n */\n readonly objectStore: IDBObjectStore;\n readonly unique: boolean;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(key: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(key: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursor, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n prototype: IDBIndex;\n new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n /**\n * Returns lower bound, or undefined if none.\n */\n readonly lower: any;\n /**\n * Returns true if the lower open flag is set, and false otherwise.\n */\n readonly lowerOpen: boolean;\n /**\n * Returns upper bound, or undefined if none.\n */\n readonly upper: any;\n /**\n * Returns true if the upper open flag is set, and false otherwise.\n */\n readonly upperOpen: boolean;\n /**\n * Returns true if key is included in the range, and false otherwise.\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning only key.\n */\n only(value: any): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBObjectStore {\n /**\n * Returns true if the store has a key generator, and false otherwise.\n */\n readonly autoIncrement: boolean;\n /**\n * Returns a list of the names of indexes in the store.\n */\n readonly indexNames: DOMStringList;\n /**\n * Returns the key path of the store, or null if none.\n */\n readonly keyPath: string | string[];\n /**\n * Returns the name of the store.\n */\n name: string;\n /**\n * Returns the associated transaction.\n */\n readonly transaction: IDBTransaction;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * Deletes all records in store.\n * \n * If successful, request\'s result will be undefined.\n */\n clear(): IDBRequest<undefined>;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * Deletes records in store with the given key or in the given key range in query.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(key: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * Deletes the index in store with the given name.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteIndex(name: string): void;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n index(name: string): IDBIndex;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n prototype: IDBObjectStore;\n new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n "blocked": Event;\n "upgradeneeded": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;\n onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n prototype: IDBOpenDBRequest;\n new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n "error": Event;\n "success": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * Returns "pending" until a request is complete, then returns "done".\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly result: T;\n /**\n * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n /**\n * Returns the transaction\'s connection.\n */\n readonly db: IDBDatabase;\n /**\n * If the transaction was aborted, returns the error (a DOMException) providing the reason.\n */\n readonly error: DOMException;\n /**\n * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.\n */\n readonly mode: IDBTransactionMode;\n /**\n * Returns a list of the names of object stores in the transaction\'s scope. For an upgrade transaction this is all object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.\n */\n abort(): void;\n /**\n * Returns an IDBObjectStore in the transaction\'s scope.\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n readonly newVersion: number | null;\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\ninterface ImageBitmap {\n /**\n * Returns the intrinsic height of the image, in CSS pixels.\n */\n readonly height: number;\n /**\n * Returns the intrinsic width of the image, in CSS pixels.\n */\n readonly width: number;\n /**\n * Releases imageBitmap\'s underlying bitmap data.\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /**\n * Returns the canvas element that the context is bound to.\n */\n readonly canvas: OffscreenCanvas;\n /**\n * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n /**\n * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.\n */\n readonly data: Uint8ClampedArray;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly height: number;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(width: number, height: number): ImageData;\n new(array: Uint8ClampedArray, width: number, height?: number): ImageData;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n /**\n * Returns the first MessagePort object.\n */\n readonly port1: MessagePort;\n /**\n * Returns the second MessagePort object.\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n /**\n * Returns the data of the message.\n */\n readonly data: T;\n /**\n * Returns the last event ID string, for server-sent events.\n */\n readonly lastEventId: string;\n /**\n * Returns the origin of the message, for server-sent events and cross-document messaging.\n */\n readonly origin: string;\n /**\n * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.\n */\n readonly source: MessageEventSource | null;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n /**\n * Disconnects the port, so that it is no longer active.\n */\n close(): void;\n /**\n * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n * \n * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Begins dispatching messages received on the port.\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\ninterface NavigationPreloadManager {\n disable(): Promise<void>;\n enable(): Promise<void>;\n getState(): Promise<NavigationPreloadState>;\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\n};\n\ninterface NavigatorConcurrentHardware {\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorID {\n readonly appCodeName: string;\n readonly appName: string;\n readonly appVersion: string;\n readonly platform: string;\n readonly product: string;\n readonly userAgent: string;\n}\n\ninterface NavigatorLanguage {\n readonly language: string;\n readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorStorage {\n readonly storage: StorageManager;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n readonly actions: ReadonlyArray<NotificationAction>;\n readonly badge: string;\n readonly body: string;\n readonly data: any;\n readonly dir: NotificationDirection;\n readonly icon: string;\n readonly image: string;\n readonly lang: string;\n onclick: ((this: Notification, ev: Event) => any) | null;\n onclose: ((this: Notification, ev: Event) => any) | null;\n onerror: ((this: Notification, ev: Event) => any) | null;\n onshow: ((this: Notification, ev: Event) => any) | null;\n readonly renotify: boolean;\n readonly requireInteraction: boolean;\n readonly silent: boolean;\n readonly tag: string;\n readonly timestamp: number;\n readonly title: string;\n readonly vibrate: ReadonlyArray<number>;\n close(): void;\n addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n prototype: Notification;\n new(title: string, options?: NotificationOptions): Notification;\n readonly maxActions: number;\n readonly permission: NotificationPermission;\n};\n\n/** The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. */\ninterface NotificationEvent extends ExtendableEvent {\n readonly action: string;\n readonly notification: Notification;\n}\n\ndeclare var NotificationEvent: {\n prototype: NotificationEvent;\n new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;\n};\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: GLenum;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: GLenum;\n}\n\ninterface OffscreenCanvas extends EventTarget {\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n height: number;\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n width: number;\n /**\n * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n * \n * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn\'t supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.\n * \n * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]\n * \n * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): OffscreenCanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n /**\n * Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image.\n */\n transferToImageBitmap(): ImageBitmap;\n}\n\ndeclare var OffscreenCanvas: {\n prototype: OffscreenCanvas;\n new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n readonly canvas: OffscreenCanvas;\n commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\n};\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n /**\n * Adds to the path the path given by the argument.\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/** Provides access to performance-related information for the current page. It\'s part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n readonly timeOrigin: number;\n clearMarks(markName?: string): void;\n clearMeasures(measureName?: string): void;\n clearResourceTimings(): void;\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n mark(markName: string): void;\n measure(measureName: string, startMark?: string, endMark?: string): void;\n now(): number;\n setResourceTimingBufferSize(maxSize: number): void;\n toJSON(): any;\n addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n prototype: Performance;\n new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n readonly duration: number;\n readonly entryType: string;\n readonly name: string;\n readonly startTime: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser\'s performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser\'s performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\ninterface PerformanceObserver {\n disconnect(): void;\n observe(options?: PerformanceObserverInit): void;\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n readonly connectEnd: number;\n readonly connectStart: number;\n readonly decodedBodySize: number;\n readonly domainLookupEnd: number;\n readonly domainLookupStart: number;\n readonly encodedBodySize: number;\n readonly fetchStart: number;\n readonly initiatorType: string;\n readonly nextHopProtocol: string;\n readonly redirectEnd: number;\n readonly redirectStart: number;\n readonly requestStart: number;\n readonly responseEnd: number;\n readonly responseStart: number;\n readonly secureConnectionStart: number;\n readonly transferSize: number;\n readonly workerStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n readonly state: PermissionState;\n addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n prototype: PermissionStatus;\n new(): PermissionStatus;\n};\n\ninterface Permissions {\n query(permissionDesc: PermissionDescriptor | DevicePermissionDescriptor | MidiPermissionDescriptor | PushPermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n readonly lengthComputable: boolean;\n readonly loaded: number;\n readonly target: T | null;\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n readonly promise: Promise<any>;\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/** This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. */\ninterface PushEvent extends ExtendableEvent {\n readonly data: PushMessageData | null;\n}\n\ndeclare var PushEvent: {\n prototype: PushEvent;\n new(type: string, eventInitDict?: PushEventInit): PushEvent;\n};\n\n/** This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/** This Push API interface provides methods which let you retrieve the push data sent by a server in various formats. */\ninterface PushMessageData {\n arrayBuffer(): ArrayBuffer;\n blob(): Blob;\n json(): any;\n text(): string;\n}\n\ndeclare var PushMessageData: {\n prototype: PushMessageData;\n new(): PushMessageData;\n};\n\n/** This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service. */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly expirationTime: number | null;\n readonly options: PushSubscriptionOptions;\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n toJSON(): PushSubscriptionJSON;\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\ninterface PushSubscriptionChangeEvent extends ExtendableEvent {\n readonly newSubscription: PushSubscription | null;\n readonly oldSubscription: PushSubscription | null;\n}\n\ndeclare var PushSubscriptionChangeEvent: {\n prototype: PushSubscriptionChangeEvent;\n new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent;\n};\n\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface ReadableByteStreamController {\n readonly byobRequest: ReadableStreamBYOBRequest | undefined;\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: ArrayBufferView): void;\n error(error?: any): void;\n}\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n readonly locked: boolean;\n cancel(reason?: any): Promise<void>;\n getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n pipeThrough<T>({ writable, readable }: { writable: WritableStream<R>, readable: ReadableStream<T> }, options?: PipeOptions): ReadableStream<T>;\n pipeTo(dest: WritableStream<R>, options?: PipeOptions): Promise<void>;\n tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number, size?: undefined }): ReadableStream<Uint8Array>;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamBYOBRequest {\n readonly view: ArrayBufferView;\n respond(bytesWritten: number): void;\n respondWithNewView(view: ArrayBufferView): void;\n}\n\ninterface ReadableStreamDefaultController<R = any> {\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: R): void;\n error(error?: any): void;\n}\n\ninterface ReadableStreamDefaultReader<R = any> {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamReader<R = any> {\n cancel(): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamReader: {\n prototype: ReadableStreamReader;\n new(): ReadableStreamReader;\n};\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n /**\n * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser\'s cache when fetching.\n */\n readonly cache: RequestCache;\n /**\n * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.\n */\n readonly credentials: RequestCredentials;\n /**\n * Returns the kind of resource requested by request, e.g., "document" or "script".\n */\n readonly destination: RequestDestination;\n /**\n * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.\n */\n readonly headers: Headers;\n /**\n * Returns request\'s subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]\n */\n readonly integrity: string;\n /**\n * Returns a boolean indicating whether or not request is for a history navigation (a.k.a. back-foward navigation).\n */\n readonly isHistoryNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request is for a reload navigation.\n */\n readonly isReloadNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request can outlive the global in which it was created.\n */\n readonly keepalive: boolean;\n /**\n * Returns request\'s HTTP method, which is "GET" by default.\n */\n readonly method: string;\n /**\n * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.\n */\n readonly mode: RequestMode;\n /**\n * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.\n */\n readonly redirect: RequestRedirect;\n /**\n * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global\'s default. This is used during fetching to determine the value of the `Referer` header of the request being made.\n */\n readonly referrer: string;\n /**\n * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer.\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.\n */\n readonly signal: AbortSignal;\n /**\n * Returns the URL of request as a string.\n */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo, init?: RequestInit): Request;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n readonly headers: Headers;\n readonly ok: boolean;\n readonly redirected: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly trailer: Promise<Headers>;\n readonly type: ResponseType;\n readonly url: string;\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n error(): Response;\n redirect(url: string, status?: number): Response;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n readonly scriptURL: string;\n readonly state: ServiceWorkerState;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n prototype: ServiceWorker;\n new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n "controllerchange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */\ninterface ServiceWorkerContainer extends EventTarget {\n readonly controller: ServiceWorker | null;\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n readonly ready: Promise<ServiceWorkerRegistration>;\n getRegistration(clientURL?: string): Promise<ServiceWorkerRegistration | undefined>;\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n register(scriptURL: string, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n startMessages(): void;\n addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n prototype: ServiceWorkerContainer;\n new(): ServiceWorkerContainer;\n};\n\ninterface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "activate": ExtendableEvent;\n "fetch": FetchEvent;\n "install": ExtendableEvent;\n "message": ExtendableMessageEvent;\n "messageerror": MessageEvent;\n "notificationclick": NotificationEvent;\n "notificationclose": NotificationEvent;\n "push": PushEvent;\n "pushsubscriptionchange": PushSubscriptionChangeEvent;\n "sync": SyncEvent;\n}\n\n/** This ServiceWorker API interface represents the global execution context of a service worker. */\ninterface ServiceWorkerGlobalScope extends WorkerGlobalScope {\n readonly clients: Clients;\n onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;\n oninstall: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n onmessage: ((this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;\n onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null;\n onsync: ((this: ServiceWorkerGlobalScope, ev: SyncEvent) => any) | null;\n readonly registration: ServiceWorkerRegistration;\n readonly serviceWorker: ServiceWorker;\n skipWaiting(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerGlobalScope: {\n prototype: ServiceWorkerGlobalScope;\n new(): ServiceWorkerGlobalScope;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n "updatefound": Event;\n}\n\n/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n readonly navigationPreload: NavigationPreloadManager;\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n readonly pushManager: PushManager;\n readonly scope: string;\n readonly sync: SyncManager;\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n readonly waiting: ServiceWorker | null;\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n unregister(): Promise<boolean>;\n update(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n prototype: ServiceWorkerRegistration;\n new(): ServiceWorkerRegistration;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /**\n * Returns sharedWorker\'s MessagePort object which can be used to communicate with the global environment.\n */\n readonly port: MessagePort;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n prototype: SharedWorker;\n new(scriptURL: string, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "connect": MessageEvent;\n}\n\ninterface SharedWorkerGlobalScope extends WorkerGlobalScope {\n /**\n * Returns sharedWorkerGlobal\'s name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.\n */\n readonly name: string;\n onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * Aborts sharedWorkerGlobal.\n */\n close(): void;\n addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorkerGlobalScope: {\n prototype: SharedWorkerGlobalScope;\n new(): SharedWorkerGlobalScope;\n};\n\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\n/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n digest(algorithm: AlgorithmIdentifier, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): Promise<ArrayBuffer>;\n exportKey(format: string, key: CryptoKey): Promise<JsonWebKey | ArrayBuffer>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n unwrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<boolean>;\n wrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n prototype: SubtleCrypto;\n new(): SubtleCrypto;\n};\n\n/** A sync action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.  */\ninterface SyncEvent extends ExtendableEvent {\n readonly lastChance: boolean;\n readonly tag: string;\n}\n\ndeclare var SyncEvent: {\n prototype: SyncEvent;\n new(type: string, init: SyncEventInit): SyncEvent;\n};\n\n/** This ServiceWorker API interface provides an interface for registering and listing sync registrations. */\ninterface SyncManager {\n getTags(): Promise<string[]>;\n register(tag: string): Promise<void>;\n}\n\ndeclare var SyncManager: {\n prototype: SyncManager;\n new(): SyncManager;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * Returns the result of running encoding\'s decoder. The method can be invoked zero or more times with options\'s stream set to true, and then once without options\'s stream (or set to false), to process a fragmented stream. If the invocation without options\'s stream (or set to false) has no input, it\'s clearest to omit both arguments.\n * \n * ```\n * var string = "", decoder = new TextDecoder(encoding), buffer;\n * while(buffer = next_chunk()) {\n * string += decoder.decode(buffer, {stream:true});\n * }\n * string += decoder.decode(); // end-of-stream\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, throws a TypeError.\n */\n decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", and false otherwise.\n */\n readonly fatal: boolean;\n /**\n * Returns true if ignore BOM flag is set, and false otherwise.\n */\n readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n readonly readable: ReadableStream<string>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n prototype: TextDecoderStream;\n new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * Returns the result of running UTF-8\'s encoder.\n */\n encode(input?: string): Uint8Array;\n /**\n * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as a dictionary whereby read is the number of converted code units of source and written is the number of bytes modified in destination.\n */\n encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n */\n readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxRight: number;\n /**\n * Returns the measurement described below.\n */\n readonly alphabeticBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly hangingBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly ideographicBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TransformStream<I = any, O = any> {\n readonly readable: ReadableStream<O>;\n readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n prototype: TransformStream;\n new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n readonly desiredSize: number | null;\n enqueue(chunk: O): void;\n error(reason?: any): void;\n terminate(): void;\n}\n\n/** The URL interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n readonly searchParams: URLSearchParams;\n username: string;\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string, base?: string | URL): URL;\n createObjectURL(object: any): string;\n revokeObjectURL(url: string): void;\n};\n\ninterface URLSearchParams {\n /**\n * Appends a specified key/value pair as a new search parameter.\n */\n append(name: string, value: string): void;\n /**\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\n */\n delete(name: string): void;\n /**\n * Returns the first value associated to the given search parameter.\n */\n get(name: string): string | null;\n /**\n * Returns all the values association with a given search parameter.\n */\n getAll(name: string): string[];\n /**\n * Returns a Boolean indicating if such a search parameter exists.\n */\n has(name: string): boolean;\n /**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */\n set(name: string, value: string): void;\n sort(): void;\n /**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */\n toString(): string;\n forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n prototype: URLSearchParams;\n new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n toString(): string;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGBA32F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_RENDERER_WEBGL: GLenum;\n readonly UNMASKED_VENDOR_WEBGL: GLenum;\n}\n\ninterface WEBGL_debug_shaders {\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n readonly DRAW_BUFFER0_WEBGL: GLenum;\n readonly DRAW_BUFFER10_WEBGL: GLenum;\n readonly DRAW_BUFFER11_WEBGL: GLenum;\n readonly DRAW_BUFFER12_WEBGL: GLenum;\n readonly DRAW_BUFFER13_WEBGL: GLenum;\n readonly DRAW_BUFFER14_WEBGL: GLenum;\n readonly DRAW_BUFFER15_WEBGL: GLenum;\n readonly DRAW_BUFFER1_WEBGL: GLenum;\n readonly DRAW_BUFFER2_WEBGL: GLenum;\n readonly DRAW_BUFFER3_WEBGL: GLenum;\n readonly DRAW_BUFFER4_WEBGL: GLenum;\n readonly DRAW_BUFFER5_WEBGL: GLenum;\n readonly DRAW_BUFFER6_WEBGL: GLenum;\n readonly DRAW_BUFFER7_WEBGL: GLenum;\n readonly DRAW_BUFFER8_WEBGL: GLenum;\n readonly DRAW_BUFFER9_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n};\n\ninterface WebGL2RenderingContextBase {\n beginQuery(target: GLenum, query: WebGLQuery): void;\n beginTransformFeedback(primitiveMode: GLenum): void;\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createQuery(): WebGLQuery | null;\n createSampler(): WebGLSampler | null;\n createTransformFeedback(): WebGLTransformFeedback | null;\n createVertexArray(): WebGLVertexArrayObject | null;\n deleteQuery(query: WebGLQuery | null): void;\n deleteSampler(sampler: WebGLSampler | null): void;\n deleteSync(sync: WebGLSync | null): void;\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n drawBuffers(buffers: GLenum[]): void;\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n endQuery(target: GLenum): void;\n endTransformFeedback(): void;\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n getIndexedParameter(target: GLenum, index: GLuint): any;\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n isQuery(query: WebGLQuery | null): GLboolean;\n isSampler(sampler: WebGLSampler | null): GLboolean;\n isSync(sync: WebGLSync | null): GLboolean;\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n pauseTransformFeedback(): void;\n readBuffer(src: GLenum): void;\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n resumeTransformFeedback(): void;\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n}\n\ninterface WebGL2RenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n readonly name: string;\n readonly size: GLint;\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer extends WebGLObject {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer extends WebGLObject {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\n\ninterface WebGLObject {\n}\n\ndeclare var WebGLObject: {\n prototype: WebGLObject;\n new(): WebGLObject;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram extends WebGLObject {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\ninterface WebGLQuery extends WebGLObject {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer extends WebGLObject {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n prototype: WebGLRenderingContext;\n new(): WebGLRenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n readonly canvas: OffscreenCanvas;\n readonly drawingBufferHeight: GLsizei;\n readonly drawingBufferWidth: GLsizei;\n activeTexture(texture: GLenum): void;\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n blendEquation(mode: GLenum): void;\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n checkFramebufferStatus(target: GLenum): GLenum;\n clear(mask: GLbitfield): void;\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n clearDepth(depth: GLclampf): void;\n clearStencil(s: GLint): void;\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n compileShader(shader: WebGLShader): void;\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createBuffer(): WebGLBuffer | null;\n createFramebuffer(): WebGLFramebuffer | null;\n createProgram(): WebGLProgram | null;\n createRenderbuffer(): WebGLRenderbuffer | null;\n createShader(type: GLenum): WebGLShader | null;\n createTexture(): WebGLTexture | null;\n cullFace(mode: GLenum): void;\n deleteBuffer(buffer: WebGLBuffer | null): void;\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n deleteProgram(program: WebGLProgram | null): void;\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n deleteShader(shader: WebGLShader | null): void;\n deleteTexture(texture: WebGLTexture | null): void;\n depthFunc(func: GLenum): void;\n depthMask(flag: GLboolean): void;\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n disable(cap: GLenum): void;\n disableVertexAttribArray(index: GLuint): void;\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n enable(cap: GLenum): void;\n enableVertexAttribArray(index: GLuint): void;\n finish(): void;\n flush(): void;\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n frontFace(mode: GLenum): void;\n generateMipmap(target: GLenum): void;\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n getBufferParameter(target: GLenum, pname: GLenum): any;\n getContextAttributes(): WebGLContextAttributes | null;\n getError(): GLenum;\n getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;\n getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;\n getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;\n getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\n getExtension(extensionName: string): any;\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n getParameter(pname: GLenum): any;\n getProgramInfoLog(program: WebGLProgram): string | null;\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n getShaderInfoLog(shader: WebGLShader): string | null;\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n getShaderSource(shader: WebGLShader): string | null;\n getSupportedExtensions(): string[] | null;\n getTexParameter(target: GLenum, pname: GLenum): any;\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n hint(target: GLenum, mode: GLenum): void;\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n isContextLost(): boolean;\n isEnabled(cap: GLenum): GLboolean;\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n isProgram(program: WebGLProgram | null): GLboolean;\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n isShader(shader: WebGLShader | null): GLboolean;\n isTexture(texture: WebGLTexture | null): GLboolean;\n lineWidth(width: GLfloat): void;\n linkProgram(program: WebGLProgram): void;\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n shaderSource(shader: WebGLShader, source: string): void;\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n stencilMask(mask: GLuint): void;\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n useProgram(program: WebGLProgram | null): void;\n validateProgram(program: WebGLProgram): void;\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n}\n\ninterface WebGLRenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler extends WebGLObject {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader extends WebGLObject {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n readonly precision: GLint;\n readonly rangeMax: GLint;\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync extends WebGLObject {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture extends WebGLObject {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback extends WebGLObject {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject extends WebGLObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES extends WebGLObject {\n}\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n /**\n * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n * \n * Can be set, to change how binary data is returned. The default is "blob".\n */\n binaryType: BinaryType;\n /**\n * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n * \n * If the WebSocket connection is closed, this attribute\'s value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n */\n readonly bufferedAmount: number;\n /**\n * Returns the extensions selected by the server, if any.\n */\n readonly extensions: string;\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor\'s second argument to perform subprotocol negotiation.\n */\n readonly protocol: string;\n /**\n * Returns the state of the WebSocket object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL that was used to establish the WebSocket connection.\n */\n readonly url: string;\n /**\n * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.\n */\n close(code?: number, reason?: string): void;\n /**\n * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.\n */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n prototype: WebSocket;\n new(url: string, protocols?: string | string[]): WebSocket;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */\ninterface WindowClient extends Client {\n readonly ancestorOrigins: ReadonlyArray<string>;\n readonly focused: boolean;\n readonly visibilityState: VisibilityState;\n focus(): Promise<WindowClient>;\n navigate(url: string): Promise<WindowClient | null>;\n}\n\ndeclare var WindowClient: {\n prototype: WindowClient;\n new(): WindowClient;\n};\n\ninterface WindowOrWorkerGlobalScope {\n readonly caches: CacheStorage;\n readonly crypto: Crypto;\n readonly indexedDB: IDBFactory;\n readonly isSecureContext: boolean;\n readonly origin: string;\n readonly performance: Performance;\n atob(data: string): string;\n btoa(data: string): string;\n clearInterval(handle?: number): void;\n clearTimeout(handle?: number): void;\n createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n /**\n * Clones message and transmits it to worker\'s global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Aborts worker\'s associated global environment.\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(stringUrl: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface WorkerGlobalScopeEventMap {\n "error": ErrorEvent;\n "languagechange": Event;\n "offline": Event;\n "online": Event;\n "rejectionhandled": PromiseRejectionEvent;\n "unhandledrejection": PromiseRejectionEvent;\n}\n\n/** This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. */\ninterface WorkerGlobalScope extends EventTarget, WindowOrWorkerGlobalScope {\n /**\n * Returns workerGlobal\'s WorkerLocation object.\n */\n readonly location: WorkerLocation;\n readonly navigator: WorkerNavigator;\n onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;\n onlanguagechange: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n /**\n * Returns workerGlobal.\n */\n readonly self: WorkerGlobalScope & typeof globalThis;\n /**\n * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).\n */\n importScripts(...urls: string[]): void;\n addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WorkerGlobalScope: {\n prototype: WorkerGlobalScope;\n new(): WorkerGlobalScope;\n};\n\n/** The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location. */\ninterface WorkerLocation {\n readonly hash: string;\n readonly host: string;\n readonly hostname: string;\n readonly href: string;\n toString(): string;\n readonly origin: string;\n readonly pathname: string;\n readonly port: string;\n readonly protocol: string;\n readonly search: string;\n}\n\ndeclare var WorkerLocation: {\n prototype: WorkerLocation;\n new(): WorkerLocation;\n};\n\n/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */\ninterface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorStorage {\n readonly permissions: Permissions;\n readonly serviceWorker: ServiceWorkerContainer;\n}\n\ndeclare var WorkerNavigator: {\n prototype: WorkerNavigator;\n new(): WorkerNavigator;\n};\n\n/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n readonly locked: boolean;\n abort(reason?: any): Promise<void>;\n getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n prototype: WritableStream;\n new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a WritableStream\'s state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n error(error?: any): void;\n}\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n readonly closed: Promise<void>;\n readonly desiredSize: number | null;\n readonly ready: Promise<void>;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n releaseLock(): void;\n write(chunk: W): Promise<void>;\n}\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n "readystatechange": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * Returns client\'s state.\n */\n readonly readyState: number;\n /**\n * Returns the response\'s body.\n */\n readonly response: any;\n /**\n * Returns the text response.\n * \n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".\n */\n readonly responseText: string;\n /**\n * Returns the response type.\n * \n * Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".\n * \n * When set: setting to "document" is ignored if current global object is not a Window object.\n * \n * When set: throws an "InvalidStateError" DOMException if state is loading or done.\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n responseType: XMLHttpRequestResponseType;\n readonly responseURL: string;\n readonly status: number;\n readonly statusText: string;\n /**\n * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and the synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n timeout: number;\n /**\n * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n * \n * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.\n */\n withCredentials: boolean;\n /**\n * Cancels any network activity.\n */\n abort(): void;\n getAllResponseHeaders(): string;\n getResponseHeader(name: string): string | null;\n /**\n * Sets the request method, request URL, and synchronous flag.\n * \n * Throws a "SyntaxError" DOMException if either method is not a valid HTTP method or url cannot be parsed.\n * \n * Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.\n * \n * Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n */\n open(method: string, url: string): void;\n open(method: string, url: string, async: boolean, username?: string | null, password?: string | null): void;\n /**\n * Acts as if the `Content-Type` header value for response is mime. (It does not actually change the header though.)\n * \n * Throws an "InvalidStateError" DOMException if state is loading or done.\n */\n overrideMimeType(mime: string): void;\n /**\n * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n */\n send(body?: BodyInit | null): void;\n /**\n * Combines a header in author request headers.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n * \n * Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.\n */\n setRequestHeader(name: string, value: string): void;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n prototype: XMLHttpRequest;\n new(): XMLHttpRequest;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n "abort": ProgressEvent<XMLHttpRequestEventTarget>;\n "error": ProgressEvent<XMLHttpRequestEventTarget>;\n "load": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadend": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;\n "progress": ProgressEvent<XMLHttpRequestEventTarget>;\n "timeout": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n prototype: XMLHttpRequestEventTarget;\n new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n prototype: XMLHttpRequestUpload;\n new(): XMLHttpRequestUpload;\n};\n\ndeclare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;\n\ninterface Console {\n memory: any;\n assert(condition?: boolean, ...data: any[]): void;\n clear(): void;\n count(label?: string): void;\n countReset(label?: string): void;\n debug(...data: any[]): void;\n dir(item?: any, options?: any): void;\n dirxml(...data: any[]): void;\n error(...data: any[]): void;\n exception(message?: string, ...optionalParams: any[]): void;\n group(...data: any[]): void;\n groupCollapsed(...data: any[]): void;\n groupEnd(): void;\n info(...data: any[]): void;\n log(...data: any[]): void;\n table(tabularData?: any, properties?: string[]): void;\n time(label?: string): void;\n timeEnd(label?: string): void;\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n trace(...data: any[]): void;\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\ndeclare namespace WebAssembly {\n interface Global {\n value: any;\n valueOf(): any;\n }\n \n var Global: {\n prototype: Global;\n new(descriptor: GlobalDescriptor, v?: any): Global;\n };\n \n interface Instance {\n readonly exports: Exports;\n }\n \n var Instance: {\n prototype: Instance;\n new(module: Module, importObject?: Imports): Instance;\n };\n \n interface Memory {\n readonly buffer: ArrayBuffer;\n grow(delta: number): number;\n }\n \n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n \n interface Module {\n }\n \n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n exports(moduleObject: Module): ModuleExportDescriptor[];\n imports(moduleObject: Module): ModuleImportDescriptor[];\n };\n \n interface Table {\n readonly length: number;\n get(index: number): Function | null;\n grow(delta: number): number;\n set(index: number, value: Function | null): void;\n }\n \n var Table: {\n prototype: Table;\n new(descriptor: TableDescriptor): Table;\n };\n \n interface GlobalDescriptor {\n mutable?: boolean;\n value: ValueType;\n }\n \n interface MemoryDescriptor {\n initial: number;\n maximum?: number;\n }\n \n interface ModuleExportDescriptor {\n kind: ImportExportKind;\n name: string;\n }\n \n interface ModuleImportDescriptor {\n kind: ImportExportKind;\n module: string;\n name: string;\n }\n \n interface TableDescriptor {\n element: TableKind;\n initial: number;\n maximum?: number;\n }\n \n interface WebAssemblyInstantiatedSource {\n instance: Instance;\n module: Module;\n }\n \n type ImportExportKind = "function" | "global" | "memory" | "table";\n type TableKind = "anyfunc";\n type ValueType = "f32" | "f64" | "i32" | "i64";\n type ExportValue = Function | Global | Memory | Table;\n type Exports = Record<string, ExportValue>;\n type ImportValue = ExportValue | number;\n type ModuleImports = Record<string, ImportValue>;\n type Imports = Record<string, ModuleImports>;\n function compile(bytes: BufferSource): Promise<Module>;\n function compileStreaming(source: Response | Promise<Response>): Promise<Module>;\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function validate(bytes: BufferSource): boolean;\n}\n\ninterface FrameRequestCallback {\n (time: number): void;\n}\n\ninterface OnErrorEventHandlerNonNull {\n (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface QueuingStrategySizeCallback<T = any> {\n (chunk: T): number;\n}\n\ninterface ReadableByteStreamControllerCallback {\n (controller: ReadableByteStreamController): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamDefaultControllerCallback<R> {\n (controller: ReadableStreamDefaultController<R>): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerCallback<O> {\n (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerTransformCallback<I, O> {\n (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface WritableStreamDefaultControllerCloseCallback {\n (): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerStartCallback {\n (controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerWriteCallback<W> {\n (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\n/**\n * Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging.\n */\ndeclare var name: string;\ndeclare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n/**\n * Aborts dedicatedWorkerGlobal.\n */\ndeclare function close(): void;\n/**\n * Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\ndeclare function postMessage(message: any, transfer: Transferable[]): void;\ndeclare function postMessage(message: any, options?: PostMessageOptions): void;\n/**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\ndeclare function dispatchEvent(event: Event): boolean;\n/**\n * Returns workerGlobal\'s WorkerLocation object.\n */\ndeclare var location: WorkerLocation;\ndeclare var navigator: WorkerNavigator;\ndeclare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;\ndeclare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n/**\n * Returns workerGlobal.\n */\ndeclare var self: WorkerGlobalScope & typeof globalThis;\n/**\n * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).\n */\ndeclare function importScripts(...urls: string[]): void;\n/**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var caches: CacheStorage;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(handle?: number): void;\ndeclare function clearTimeout(handle?: number): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare function addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype HeadersInit = Headers | string[][] | Record<string, string>;\ntype BodyInit = Blob | BufferSource | FormData | URLSearchParams | ReadableStream<Uint8Array> | string;\ntype RequestInfo = Request | string;\ntype BlobPart = BufferSource | Blob | string;\ntype DOMHighResTimeStamp = number;\ntype CanvasImageSource = ImageBitmap | OffscreenCanvas;\ntype OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype MessageEventSource = MessagePort | ServiceWorker;\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype TimerHandler = string | Function;\ntype PerformanceEntryList = PerformanceEntry[];\ntype PushMessageDataInit = BufferSource | string;\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype VibratePattern = number | number[];\ntype AlgorithmIdentifier = string | Algorithm;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype BigInteger = Uint8Array;\ntype NamedCurve = string;\ntype GLenum = number;\ntype GLboolean = boolean;\ntype GLbitfield = number;\ntype GLint = number;\ntype GLsizei = number;\ntype GLintptr = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLfloat = number;\ntype GLclampf = number;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;\ntype Float32List = Float32Array | GLfloat[];\ntype Int32List = Int32Array | GLint[];\ntype GLint64 = number;\ntype GLuint64 = number;\ntype Uint32List = Uint32Array | GLuint[];\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype DOMTimeStamp = number;\ntype FormDataEntryValue = File | string;\ntype IDBValidKey = number | string | Date | BufferSource | IDBArrayKey;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap | OffscreenCanvas;\ntype BinaryType = "arraybuffer" | "blob";\ntype CanvasDirection = "inherit" | "ltr" | "rtl";\ntype CanvasFillRule = "evenodd" | "nonzero";\ntype CanvasLineCap = "butt" | "round" | "square";\ntype CanvasLineJoin = "bevel" | "miter" | "round";\ntype CanvasTextAlign = "center" | "end" | "left" | "right" | "start";\ntype CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";\ntype ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorSpaceConversion = "default" | "none";\ntype EndingType = "native" | "transparent";\ntype FrameType = "auxiliary" | "nested" | "none" | "top-level";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "none";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2";\ntype PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype PushPermissionState = "denied" | "granted" | "prompt";\ntype ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";\ntype RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";\ntype RequestCredentials = "include" | "omit" | "same-origin";\ntype RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";\ntype RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";\ntype RequestRedirect = "error" | "follow" | "manual";\ntype ResizeQuality = "high" | "low" | "medium" | "pixelated";\ntype ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";\ntype ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";\ntype ServiceWorkerUpdateViaCache = "all" | "imports" | "none";\ntype VisibilityState = "hidden" | "visible";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',"lib.webworker.importscripts.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n\n/////////////////////////////\n/// WorkerGlobalScope APIs\n/////////////////////////////\n// These are only available in a Web Worker\ndeclare function importScripts(...urls: string[]): void;\n'},o=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))},s=function(e,n){var t,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=n.call(e,o)}catch(e){i=[6,e],r=0}finally{t=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},c=function(){function e(e,n){this._extraLibs=Object.create(null),this._languageService=a.createLanguageService(this),this._ctx=e,this._compilerOptions=n.compilerOptions,this._extraLibs=n.extraLibs}return e.prototype.getCompilationSettings=function(){return this._compilerOptions},e.prototype.getScriptFileNames=function(){return this._ctx.getMirrorModels().map((function(e){return e.uri.toString()})).concat(Object.keys(this._extraLibs))},e.prototype._getModel=function(e){for(var n=this._ctx.getMirrorModels(),t=0;t<n.length;t++)if(n[t].uri.toString()===e)return n[t];return null},e.prototype.getScriptVersion=function(e){var n=this._getModel(e);return n?n.version.toString():this.isDefaultLibFileName(e)?"1":e in this._extraLibs?String(this._extraLibs[e].version):""},e.prototype.getScriptText=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._getScriptText(e)]}))}))},e.prototype._getScriptText=function(e){var n,t=this._getModel(e),r="lib."+e+".d.ts";if(t)n=t.getValue();else if(e in i)n=i[e];else if(r in i)n=i[r];else{if(!(e in this._extraLibs))return;n=this._extraLibs[e].content}return n},e.prototype.getScriptSnapshot=function(e){var n=this._getScriptText(e);if(void 0!==n)return{getText:function(e,t){return n.substring(e,t)},getLength:function(){return n.length},getChangeRange:function(){}}},e.prototype.getScriptKind=function(e){switch(e.substr(e.lastIndexOf(".")+1)){case"ts":return a.ScriptKind.TS;case"tsx":return a.ScriptKind.TSX;case"js":return a.ScriptKind.JS;case"jsx":return a.ScriptKind.JSX;default:return this.getCompilationSettings().allowJs?a.ScriptKind.JS:a.ScriptKind.TS}},e.prototype.getCurrentDirectory=function(){return""},e.prototype.getDefaultLibFileName=function(e){switch(e.target){case 99:var n="lib.esnext.full.d.ts";if(n in i||n in this._extraLibs)return n;case 7:case 6:case 5:case 4:case 3:case 2:default:var t="lib.es"+(2013+(e.target||99))+".full.d.ts";return t in i||t in this._extraLibs?t:"lib.es6.d.ts";case 1:case 0:return"lib.d.ts"}},e.prototype.isDefaultLibFileName=function(e){return e===this.getDefaultLibFileName(this._compilerOptions)},e.prototype.getLibFiles=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){return[2,i]}))}))},e.clearFiles=function(e){return e.forEach((function(e){e.file=void 0;var n=e.relatedInformation;n&&n.forEach((function(e){return e.file=void 0}))})),e},e.prototype.getSyntacticDiagnostics=function(n){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){return t=this._languageService.getSyntacticDiagnostics(n),[2,e.clearFiles(t)]}))}))},e.prototype.getSemanticDiagnostics=function(n){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){return t=this._languageService.getSemanticDiagnostics(n),[2,e.clearFiles(t)]}))}))},e.prototype.getSuggestionDiagnostics=function(n){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){return t=this._languageService.getSuggestionDiagnostics(n),[2,e.clearFiles(t)]}))}))},e.prototype.getCompilerOptionsDiagnostics=function(n){return o(this,void 0,void 0,(function(){var n;return s(this,(function(t){return n=this._languageService.getCompilerOptionsDiagnostics(),[2,e.clearFiles(n)]}))}))},e.prototype.getCompletionsAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getCompletionsAtPosition(e,n,void 0)]}))}))},e.prototype.getCompletionEntryDetails=function(e,n,t){return o(this,void 0,void 0,(function(){return s(this,(function(r){return[2,this._languageService.getCompletionEntryDetails(e,n,t,void 0,void 0,void 0)]}))}))},e.prototype.getSignatureHelpItems=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getSignatureHelpItems(e,n,void 0)]}))}))},e.prototype.getQuickInfoAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getQuickInfoAtPosition(e,n)]}))}))},e.prototype.getOccurrencesAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getOccurrencesAtPosition(e,n)]}))}))},e.prototype.getDefinitionAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getDefinitionAtPosition(e,n)]}))}))},e.prototype.getReferencesAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getReferencesAtPosition(e,n)]}))}))},e.prototype.getNavigationBarItems=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._languageService.getNavigationBarItems(e)]}))}))},e.prototype.getFormattingEditsForDocument=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getFormattingEditsForDocument(e,n)]}))}))},e.prototype.getFormattingEditsForRange=function(e,n,t,r){return o(this,void 0,void 0,(function(){return s(this,(function(a){return[2,this._languageService.getFormattingEditsForRange(e,n,t,r)]}))}))},e.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){return o(this,void 0,void 0,(function(){return s(this,(function(a){return[2,this._languageService.getFormattingEditsAfterKeystroke(e,n,t,r)]}))}))},e.prototype.findRenameLocations=function(e,n,t,r,a){return o(this,void 0,void 0,(function(){return s(this,(function(i){return[2,this._languageService.findRenameLocations(e,n,t,r,a)]}))}))},e.prototype.getRenameInfo=function(e,n,t){return o(this,void 0,void 0,(function(){return s(this,(function(r){return[2,this._languageService.getRenameInfo(e,n,t)]}))}))},e.prototype.getEmitOutput=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._languageService.getEmitOutput(e)]}))}))},e.prototype.getCodeFixesAtPosition=function(e,n,t,r,a){return o(this,void 0,void 0,(function(){var i;return s(this,(function(o){i={};try{return[2,this._languageService.getCodeFixesAtPosition(e,n,t,r,a,i)]}catch(e){return[2,[]]}return[2]}))}))},e.prototype.updateExtraLibs=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return this._extraLibs=e,[2]}))}))},e}();self.onmessage=function(){r.initialize((function(e,n){return new c(e,n)}))}},36:function(e,n,t){"use strict";function r(e){return e<0?0:e>255?255:0|e}function a(e){return e<0?0:e>4294967295?4294967295:0|e}t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return a}))},37:function(e,n,t){"use strict";var r;t.d(n,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const n=Object.freeze([]);e.empty=function(){return n},e.single=function*(e){yield e},e.from=function(e){return e||n},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,n){for(const t of e)if(n(t))return!0;return!1},e.filter=function*(e,n){for(const t of e)n(t)&&(yield t)},e.map=function*(e,n){for(const t of e)yield n(t)},e.concat=function*(...e){for(const n of e)for(const e of n)yield e},e.consume=function(n,t=Number.POSITIVE_INFINITY){const r=[];if(0===t)return[r,n];const a=n[Symbol.iterator]();for(let n=0;n<t;n++){const n=a.next();if(n.done)return[r,e.empty()];r.push(n.value)}return[r,{[Symbol.iterator]:()=>a}]}}(r||(r={}))},40:function(e,n,t){"use strict";var r,a,i,o,s,c,l,u,d,p,f,m,_,g,y,h,v,b,E,T,S,L,x,A,D,C,I,N,R,k,O,P,M;t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return o})),t.d(n,"e",(function(){return s})),t.d(n,"f",(function(){return c})),t.d(n,"g",(function(){return l})),t.d(n,"h",(function(){return u})),t.d(n,"i",(function(){return d})),t.d(n,"j",(function(){return p})),t.d(n,"k",(function(){return f})),t.d(n,"l",(function(){return m})),t.d(n,"m",(function(){return _})),t.d(n,"n",(function(){return g})),t.d(n,"o",(function(){return y})),t.d(n,"p",(function(){return h})),t.d(n,"q",(function(){return v})),t.d(n,"r",(function(){return b})),t.d(n,"s",(function(){return E})),t.d(n,"t",(function(){return T})),t.d(n,"u",(function(){return S})),t.d(n,"v",(function(){return L})),t.d(n,"w",(function(){return x})),t.d(n,"x",(function(){return A})),t.d(n,"y",(function(){return D})),t.d(n,"z",(function(){return C})),t.d(n,"A",(function(){return I})),t.d(n,"B",(function(){return N})),t.d(n,"C",(function(){return R})),t.d(n,"D",(function(){return k})),t.d(n,"E",(function(){return O})),t.d(n,"F",(function(){return P})),t.d(n,"G",(function(){return M})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(a||(a={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(i||(i={})),function(e){e[e.Deprecated=1]="Deprecated"}(o||(o={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(s||(s={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(c||(c={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(u||(u={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(p||(p={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(f||(f={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(_||(_={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(g||(g={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(y||(y={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(h||(h={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(v||(v={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(b||(b={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(E||(E={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(T||(T={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(S||(S={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(L||(L={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(x||(x={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(A||(A={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(D||(D={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(C||(C={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(I||(I={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(N||(N={})),function(e){e[e.Deprecated=1]="Deprecated"}(R||(R={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(k||(k={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(O||(O={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(P||(P={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(M||(M={}))},42:function(e,n,t){"use strict";t.d(n,"i",(function(){return d})),t.d(n,"e",(function(){return p})),t.d(n,"d",(function(){return f})),t.d(n,"g",(function(){return m})),t.d(n,"f",(function(){return _})),t.d(n,"b",(function(){return g})),t.d(n,"a",(function(){return y})),t.d(n,"c",(function(){return h})),t.d(n,"h",(function(){return v}));var r=t(28);class a extends Error{constructor(e,n,t){let r;"string"==typeof n&&0===n.indexOf("not ")?(r="must not be",n=n.replace(/^not /,"")):r="must be";const a=-1!==e.indexOf(".")?"property":"argument";let i=`The "${e}" ${a} ${r} of type ${n}`;i+=". Received type "+typeof t,super(i),this.code="ERR_INVALID_ARG_TYPE"}}function i(e,n){if("string"!=typeof e)throw new a(n,"string",e)}function o(e){return 47===e||92===e}function s(e){return 47===e}function c(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e,n,t,r){let a="",i=0,o=-1,s=0,c=0;for(let l=0;l<=e.length;++l){if(l<e.length)c=e.charCodeAt(l);else{if(r(c))break;c=47}if(r(c)){if(o===l-1||1===s);else if(2===s){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2)){if(a.length>2){const e=a.lastIndexOf(t);-1===e?(a="",i=0):(a=a.slice(0,e),i=a.length-1-a.lastIndexOf(t)),o=l,s=0;continue}if(0!==a.length){a="",i=0,o=l,s=0;continue}}n&&(a+=a.length>0?t+"..":"..",i=2)}else a.length>0?a+=`${t}${e.slice(o+1,l)}`:a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===c&&-1!==s?++s:s=-1}return a}function u(e,n){if(null===n||"object"!=typeof n)throw new a("pathObject","Object",n);const t=n.dir||n.root,r=n.base||`${n.name||""}${n.ext||""}`;return t?t===n.root?`${t}${r}`:`${t}${e}${r}`:r}const d={resolve(...e){let n="",t="",a=!1;for(let s=e.length-1;s>=-1;s--){let l;if(s>=0){if(l=e[s],i(l,"path"),0===l.length)continue}else 0===n.length?l=r.a():(l=r.b["="+n]||r.a(),(void 0===l||l.slice(0,2).toLowerCase()!==n.toLowerCase()&&92===l.charCodeAt(2))&&(l=n+"\\"));const u=l.length;let d=0,p="",f=!1;const m=l.charCodeAt(0);if(1===u)o(m)&&(d=1,f=!0);else if(o(m))if(f=!0,o(l.charCodeAt(1))){let e=2,n=e;for(;e<u&&!o(l.charCodeAt(e));)e++;if(e<u&&e!==n){const t=l.slice(n,e);for(n=e;e<u&&o(l.charCodeAt(e));)e++;if(e<u&&e!==n){for(n=e;e<u&&!o(l.charCodeAt(e));)e++;e!==u&&e===n||(p=`\\\\${t}\\${l.slice(n,e)}`,d=e)}}}else d=1;else c(m)&&58===l.charCodeAt(1)&&(p=l.slice(0,2),d=2,u>2&&o(l.charCodeAt(2))&&(f=!0,d=3));if(p.length>0)if(n.length>0){if(p.toLowerCase()!==n.toLowerCase())continue}else n=p;if(a){if(n.length>0)break}else if(t=`${l.slice(d)}\\${t}`,a=f,f&&n.length>0)break}return t=l(t,!a,"\\",o),a?`${n}\\${t}`:`${n}${t}`||"."},normalize(e){i(e,"path");const n=e.length;if(0===n)return".";let t,r=0,a=!1;const u=e.charCodeAt(0);if(1===n)return s(u)?"\\":e;if(o(u))if(a=!0,o(e.charCodeAt(1))){let a=2,i=a;for(;a<n&&!o(e.charCodeAt(a));)a++;if(a<n&&a!==i){const s=e.slice(i,a);for(i=a;a<n&&o(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&!o(e.charCodeAt(a));)a++;if(a===n)return`\\\\${s}\\${e.slice(i)}\\`;a!==i&&(t=`\\\\${s}\\${e.slice(i,a)}`,r=a)}}}else r=1;else c(u)&&58===e.charCodeAt(1)&&(t=e.slice(0,2),r=2,n>2&&o(e.charCodeAt(2))&&(a=!0,r=3));let d=r<n?l(e.slice(r),!a,"\\",o):"";return 0!==d.length||a||(d="."),d.length>0&&o(e.charCodeAt(n-1))&&(d+="\\"),void 0===t?a?"\\"+d:d:a?`${t}\\${d}`:`${t}${d}`},isAbsolute(e){i(e,"path");const n=e.length;if(0===n)return!1;const t=e.charCodeAt(0);return o(t)||n>2&&c(t)&&58===e.charCodeAt(1)&&o(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let n,t;for(let r=0;r<e.length;++r){const a=e[r];i(a,"path"),a.length>0&&(void 0===n?n=t=a:n+="\\"+a)}if(void 0===n)return".";let r=!0,a=0;if("string"==typeof t&&o(t.charCodeAt(0))){++a;const e=t.length;e>1&&o(t.charCodeAt(1))&&(++a,e>2&&(o(t.charCodeAt(2))?++a:r=!1))}if(r){for(;a<n.length&&o(n.charCodeAt(a));)a++;a>=2&&(n="\\"+n.slice(a))}return d.normalize(n)},relative(e,n){if(i(e,"from"),i(n,"to"),e===n)return"";const t=d.resolve(e),r=d.resolve(n);if(t===r)return"";if((e=t.toLowerCase())===(n=r.toLowerCase()))return"";let a=0;for(;a<e.length&&92===e.charCodeAt(a);)a++;let o=e.length;for(;o-1>a&&92===e.charCodeAt(o-1);)o--;const s=o-a;let c=0;for(;c<n.length&&92===n.charCodeAt(c);)c++;let l=n.length;for(;l-1>c&&92===n.charCodeAt(l-1);)l--;const u=l-c,p=s<u?s:u;let f=-1,m=0;for(;m<p;m++){const t=e.charCodeAt(a+m);if(t!==n.charCodeAt(c+m))break;92===t&&(f=m)}if(m!==p){if(-1===f)return r}else{if(u>p){if(92===n.charCodeAt(c+m))return r.slice(c+m+1);if(2===m)return r.slice(c+m)}s>p&&(92===e.charCodeAt(a+m)?f=m:2===m&&(f=3)),-1===f&&(f=0)}let _="";for(m=a+f+1;m<=o;++m)m!==o&&92!==e.charCodeAt(m)||(_+=0===_.length?"..":"\\..");return c+=f,_.length>0?`${_}${r.slice(c,l)}`:(92===r.charCodeAt(c)&&++c,r.slice(c,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const n=d.resolve(e);if(n.length<=2)return e;if(92===n.charCodeAt(0)){if(92===n.charCodeAt(1)){const e=n.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+n.slice(2)}}else if(c(n.charCodeAt(0))&&58===n.charCodeAt(1)&&92===n.charCodeAt(2))return"\\\\?\\"+n;return e},dirname(e){i(e,"path");const n=e.length;if(0===n)return".";let t=-1,r=0;const a=e.charCodeAt(0);if(1===n)return o(a)?e:".";if(o(a)){if(t=r=1,o(e.charCodeAt(1))){let a=2,i=a;for(;a<n&&!o(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&o(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&!o(e.charCodeAt(a));)a++;if(a===n)return e;a!==i&&(t=r=a+1)}}}}else c(a)&&58===e.charCodeAt(1)&&(t=n>2&&o(e.charCodeAt(2))?3:2,r=t);let s=-1,l=!0;for(let t=n-1;t>=r;--t)if(o(e.charCodeAt(t))){if(!l){s=t;break}}else l=!1;if(-1===s){if(-1===t)return".";s=t}return e.slice(0,s)},basename(e,n){void 0!==n&&i(n,"ext"),i(e,"path");let t,r=0,a=-1,s=!0;if(e.length>=2&&c(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let i=n.length-1,c=-1;for(t=e.length-1;t>=r;--t){const l=e.charCodeAt(t);if(o(l)){if(!s){r=t+1;break}}else-1===c&&(s=!1,c=t+1),i>=0&&(l===n.charCodeAt(i)?-1==--i&&(a=t):(i=-1,a=c))}return r===a?a=c:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=r;--t)if(o(e.charCodeAt(t))){if(!s){r=t+1;break}}else-1===a&&(s=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){i(e,"path");let n=0,t=-1,r=0,a=-1,s=!0,l=0;e.length>=2&&58===e.charCodeAt(1)&&c(e.charCodeAt(0))&&(n=r=2);for(let i=e.length-1;i>=n;--i){const n=e.charCodeAt(i);if(o(n)){if(!s){r=i+1;break}}else-1===a&&(s=!1,a=i+1),46===n?-1===t?t=i:1!==l&&(l=1):-1!==t&&(l=-1)}return-1===t||-1===a||0===l||1===l&&t===a-1&&t===r+1?"":e.slice(t,a)},format:u.bind(null,"\\"),parse(e){i(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=e.length;let r=0,a=e.charCodeAt(0);if(1===t)return o(a)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if(o(a)){if(r=1,o(e.charCodeAt(1))){let n=2,a=n;for(;n<t&&!o(e.charCodeAt(n));)n++;if(n<t&&n!==a){for(a=n;n<t&&o(e.charCodeAt(n));)n++;if(n<t&&n!==a){for(a=n;n<t&&!o(e.charCodeAt(n));)n++;n===t?r=n:n!==a&&(r=n+1)}}}}else if(c(a)&&58===e.charCodeAt(1)){if(t<=2)return n.root=n.dir=e,n;if(r=2,o(e.charCodeAt(2))){if(3===t)return n.root=n.dir=e,n;r=3}}r>0&&(n.root=e.slice(0,r));let s=-1,l=r,u=-1,d=!0,p=e.length-1,f=0;for(;p>=r;--p)if(a=e.charCodeAt(p),o(a)){if(!d){l=p+1;break}}else-1===u&&(d=!1,u=p+1),46===a?-1===s?s=p:1!==f&&(f=1):-1!==s&&(f=-1);return-1!==u&&(-1===s||0===f||1===f&&s===u-1&&s===l+1?n.base=n.name=e.slice(l,u):(n.name=e.slice(l,s),n.base=e.slice(l,u),n.ext=e.slice(s,u))),n.dir=l>0&&l!==r?e.slice(0,l-1):n.root,n},sep:"\\",delimiter:";",win32:null,posix:null},p={resolve(...e){let n="",t=!1;for(let a=e.length-1;a>=-1&&!t;a--){const o=a>=0?e[a]:r.a();i(o,"path"),0!==o.length&&(n=`${o}/${n}`,t=47===o.charCodeAt(0))}return n=l(n,!t,"/",s),t?"/"+n:n.length>0?n:"."},normalize(e){if(i(e,"path"),0===e.length)return".";const n=47===e.charCodeAt(0),t=47===e.charCodeAt(e.length-1);return 0===(e=l(e,!n,"/",s)).length?n?"/":t?"./":".":(t&&(e+="/"),n?"/"+e:e)},isAbsolute:e=>(i(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let n;for(let t=0;t<e.length;++t){const r=e[t];i(r,"path"),r.length>0&&(void 0===n?n=r:n+="/"+r)}return void 0===n?".":p.normalize(n)},relative(e,n){if(i(e,"from"),i(n,"to"),e===n)return"";if((e=p.resolve(e))===(n=p.resolve(n)))return"";const t=e.length,r=t-1,a=n.length-1,o=r<a?r:a;let s=-1,c=0;for(;c<o;c++){const t=e.charCodeAt(1+c);if(t!==n.charCodeAt(1+c))break;47===t&&(s=c)}if(c===o)if(a>o){if(47===n.charCodeAt(1+c))return n.slice(1+c+1);if(0===c)return n.slice(1+c)}else r>o&&(47===e.charCodeAt(1+c)?s=c:0===c&&(s=0));let l="";for(c=1+s+1;c<=t;++c)c!==t&&47!==e.charCodeAt(c)||(l+=0===l.length?"..":"/..");return`${l}${n.slice(1+s)}`},toNamespacedPath:e=>e,dirname(e){if(i(e,"path"),0===e.length)return".";const n=47===e.charCodeAt(0);let t=-1,r=!0;for(let n=e.length-1;n>=1;--n)if(47===e.charCodeAt(n)){if(!r){t=n;break}}else r=!1;return-1===t?n?"/":".":n&&1===t?"//":e.slice(0,t)},basename(e,n){void 0!==n&&i(n,"ext"),i(e,"path");let t,r=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let i=n.length-1,s=-1;for(t=e.length-1;t>=0;--t){const c=e.charCodeAt(t);if(47===c){if(!o){r=t+1;break}}else-1===s&&(o=!1,s=t+1),i>=0&&(c===n.charCodeAt(i)?-1==--i&&(a=t):(i=-1,a=s))}return r===a?a=s:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===a&&(o=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){i(e,"path");let n=-1,t=0,r=-1,a=!0,o=0;for(let i=e.length-1;i>=0;--i){const s=e.charCodeAt(i);if(47!==s)-1===r&&(a=!1,r=i+1),46===s?-1===n?n=i:1!==o&&(o=1):-1!==n&&(o=-1);else if(!a){t=i+1;break}}return-1===n||-1===r||0===o||1===o&&n===r-1&&n===t+1?"":e.slice(n,r)},format:u.bind(null,"/"),parse(e){i(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=47===e.charCodeAt(0);let r;t?(n.root="/",r=1):r=0;let a=-1,o=0,s=-1,c=!0,l=e.length-1,u=0;for(;l>=r;--l){const n=e.charCodeAt(l);if(47!==n)-1===s&&(c=!1,s=l+1),46===n?-1===a?a=l:1!==u&&(u=1):-1!==a&&(u=-1);else if(!c){o=l+1;break}}if(-1!==s){const r=0===o&&t?1:o;-1===a||0===u||1===u&&a===s-1&&a===o+1?n.base=n.name=e.slice(r,s):(n.name=e.slice(r,a),n.base=e.slice(r,s),n.ext=e.slice(a,s))}return o>0?n.dir=e.slice(0,o-1):t&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};p.win32=d.win32=d,p.posix=d.posix=p;const f="win32"===r.c?d.normalize:p.normalize,m="win32"===r.c?d.resolve:p.resolve,_="win32"===r.c?d.relative:p.relative,g="win32"===r.c?d.dirname:p.dirname,y="win32"===r.c?d.basename:p.basename,h="win32"===r.c?d.extname:p.extname,v="win32"===r.c?d.sep:p.sep},43:function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"a",(function(){return l})),t.d(n,"f",(function(){return u})),t.d(n,"e",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"c",(function(){return _}));var r=t(13);class a{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const i=new a,o=new a,s=new a;var c;function l(e,n){return(e|(65535&n)<<16>>>0)>>>0}function u(e,n){if(0===e)return null;const t=(65535&e)>>>0,r=(4294901760&e)>>>16;return new f(0!==r?[d(t,n),d(r,n)]:[d(t,n)])}function d(e,n){const t=!!(2048&e),r=!!(256&e);return new p(2===n?r:t,!!(1024&e),!!(512&e),2===n?t:r,255&e)}!function(){function e(e,n,t=n,r=t){i.define(e,n),o.define(e,t),s.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return i.keyCodeToStr(e)},e.fromString=function(e){return i.strToKeyCode(e)},e.toUserSettingsUS=function(e){return o.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return s.keyCodeToStr(e)},e.fromUserSettings=function(e){return o.strToKeyCode(e)||s.strToKeyCode(e)}}(c||(c={}));class p{constructor(e,n,t,r,a){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyCode=a}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new f([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class f{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,n,t,r,a,i){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyLabel=a,this.keyAriaLabel=i}}class _{}},53:function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class a{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){const t=new r(e);if(this._first===r.Undefined)this._first=t,this._last=t;else if(n){const e=this._last;this._last=t,t.prev=e,e.next=t}else{const e=this._first;this._first=t,t.next=e,e.prev=t}this._size+=1;let a=!1;return()=>{a||(a=!0,this._remove(t))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let n=this._first;n!==r.Undefined;n=n.next)e.push(n.element);return e}}},6:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return s})),t.d(n,"d",(function(){return c})),t.d(n,"c",(function(){return l})),t.d(n,"e",(function(){return u}));var r,a=t(13),i=t(2),o=t(53);!function(e){function n(e){return(n,t=null,r)=>{let a,i=!1;return a=e(e=>{if(!i)return a?a.dispose():i=!0,n.call(t,e)},null,r),i&&a.dispose(),a}}function t(e,n){return c((t,r=null,a)=>e(e=>t.call(r,n(e)),null,a))}function r(e,n){return c((t,r=null,a)=>e(e=>{n(e),t.call(r,e)},null,a))}function a(e,n){return c((t,r=null,a)=>e(e=>n(e)&&t.call(r,e),null,a))}function o(e,n,r){let a=r;return t(e,e=>(a=n(a,e),a))}function c(e){let n;const t=new s({onFirstListenerAdd(){n=e(t.fire,t)},onLastListenerRemove(){n.dispose()}});return t.event}function l(e,n,t=100,r=!1,a){let i,o=void 0,c=void 0,l=0;const u=new s({leakWarningThreshold:a,onFirstListenerAdd(){i=e(e=>{l++,o=n(o,e),r&&!c&&(u.fire(o),o=void 0),clearTimeout(c),c=setTimeout(()=>{const e=o;o=void 0,c=void 0,(!r||l>1)&&u.fire(e),l=0},t)})},onLastListenerRemove(){i.dispose()}});return u.event}function u(e){let n,t=!0;return a(e,e=>{const r=t||e!==n;return t=!1,n=e,r})}e.None=()=>i.a.None,e.once=n,e.map=t,e.forEach=r,e.filter=a,e.signal=function(e){return e},e.any=function(...e){return(n,t=null,r)=>Object(i.e)(...e.map(e=>e(e=>n.call(t,e),null,r)))},e.reduce=o,e.snapshot=c,e.debounce=l,e.stopwatch=function(e){const r=(new Date).getTime();return t(n(e),e=>(new Date).getTime()-r)},e.latch=u,e.buffer=function(e,n=!1,t=[]){let r=t.slice(),a=e(e=>{r?r.push(e):o.fire(e)});const i=()=>{r&&r.forEach(e=>o.fire(e)),r=null},o=new s({onFirstListenerAdd(){a||(a=e(e=>o.fire(e)))},onFirstListenerDidAdd(){r&&(n?setTimeout(i):i())},onLastListenerRemove(){a&&a.dispose(),a=null}});return o.event};class d{constructor(e){this.event=e}map(e){return new d(t(this.event,e))}forEach(e){return new d(r(this.event,e))}filter(e){return new d(a(this.event,e))}reduce(e,n){return new d(o(this.event,e,n))}latch(){return new d(u(this.event))}debounce(e,n=100,t=!1,r){return new d(l(this.event,e,n,t,r))}on(e,n,t){return this.event(e,n,t)}once(e,t,r){return n(this.event)(e,t,r)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,n,t=(e=>e)){const r=(...e)=>a.fire(t(...e)),a=new s({onFirstListenerAdd:()=>e.on(n,r),onLastListenerRemove:()=>e.removeListener(n,r)});return a.event},e.fromDOMEventEmitter=function(e,n,t=(e=>e)){const r=(...e)=>a.fire(t(...e)),a=new s({onFirstListenerAdd:()=>e.addEventListener(n,r),onLastListenerRemove:()=>e.removeEventListener(n,r)});return a.event},e.fromPromise=function(e){const n=new s;let t=!1;return e.then(void 0,()=>null).then(()=>{t?n.fire(void 0):setTimeout(()=>n.fire(void 0),0)}),t=!0,n.event},e.toPromise=function(e){return new Promise(t=>n(e)(t))}}(r||(r={}));class s{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,n,t)=>{this._listeners||(this._listeners=new o.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const a=this._listeners.push(n?[e,n]:e);let c,l;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,n),this._leakageMon&&(c=this._leakageMon.check(this._listeners.size)),l={dispose:()=>{if(c&&c(),l.dispose=s._noop,!this._disposed&&(a(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},t instanceof i.b?t.add(l):Array.isArray(t)&&t.push(l),l}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new o.a);for(let n of this._listeners)this._deliveryQueue.push([n,e]);for(;this._deliveryQueue.size>0;){const[e,n]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,n):e[0].call(e[1],n)}catch(e){Object(a.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}s._noop=function(){};class c extends s{constructor(e){super(e),this._isPaused=0,this._eventQueue=new o.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class l{constructor(){this.buffers=[]}wrapEvent(e){return(n,t,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>n.call(t,e)):n.call(t,e)},void 0,r)}bufferEvents(e){const n=[];this.buffers.push(n);const t=e();return this.buffers.pop(),n.forEach(e=>e()),t}}class u{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=i.a.None,this.emitter=new s({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return s}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const a=function(e=""){let n="(-?\\d*\\.\\d\\w*)|([^";for(const t of r)e.indexOf(t)>=0||(n+="\\"+t);return n+="\\s]+)",new RegExp(n,"g")}();function i(e){let n=a;if(e&&e instanceof RegExp)if(e.global)n=e;else{let t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n}const o={maxLen:1e3,windowSize:15,timeBudget:150};function s(e,n,t,r,a=o){if(t.length>a.maxLen){let i=e-a.maxLen/2;return i<0?(r+=e,i=0):r+=i,s(e,n,t=t.substring(i,e+a.maxLen/2),r,a)}Date.now();const i=e-1-r;let l=-1,u=null;for(let e=1;;e++){Date.now(),a.timeBudget;const r=i-a.windowSize*e;n.lastIndex=Math.max(0,r);const o=c(n,t,i,l);if(!o&&u)break;if(u=o,r<=0)break;l=r}if(u){let e={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return n.lastIndex=0,e}return null}function c(e,n,t,r){let a;for(;a=e.exec(n);){const n=a.index||0;if(n<=t&&e.lastIndex>=t)return a;if(r>0&&n>r)return null}return null}},76:function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return i}));var r=t(36);class a{constructor(e){let n=Object(r.b)(e);this._defaultValue=n,this._asciiMap=a._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){let n=new Uint8Array(256);for(let t=0;t<256;t++)n[t]=e;return n}set(e,n){let t=Object(r.b)(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class i{constructor(){this._actual=new a(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i}));class r{constructor(e,n,t){this.offset=0|e,this.type=n,this.language=t}toString(){return"("+this.offset+", "+this.type+")"}}class a{constructor(e,n){this.tokens=e,this.endState=n}}class i{constructor(e,n){this.tokens=e,this.endState=n}}},8:function(e,n,t){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function a(e,n,t="0"){const r=""+e,a=[r];for(let e=r.length;e<n;e++)a.push(t);return a.reverse().join("")}t.d(n,"D",(function(){return r})),t.d(n,"M",(function(){return a})),t.d(n,"x",(function(){return o})),t.d(n,"u",(function(){return s})),t.d(n,"v",(function(){return c})),t.d(n,"W",(function(){return l})),t.d(n,"K",(function(){return u})),t.d(n,"Q",(function(){return d})),t.d(n,"p",(function(){return p})),t.d(n,"V",(function(){return f})),t.d(n,"S",(function(){return m})),t.d(n,"s",(function(){return _})),t.d(n,"q",(function(){return g})),t.d(n,"P",(function(){return y})),t.d(n,"O",(function(){return h})),t.d(n,"w",(function(){return v})),t.d(n,"z",(function(){return b})),t.d(n,"J",(function(){return E})),t.d(n,"f",(function(){return T})),t.d(n,"h",(function(){return S})),t.d(n,"g",(function(){return L})),t.d(n,"i",(function(){return x})),t.d(n,"H",(function(){return A})),t.d(n,"I",(function(){return D})),t.d(n,"t",(function(){return I})),t.d(n,"T",(function(){return R})),t.d(n,"d",(function(){return k})),t.d(n,"e",(function(){return O})),t.d(n,"F",(function(){return P})),t.d(n,"G",(function(){return M})),t.d(n,"j",(function(){return w})),t.d(n,"A",(function(){return F})),t.d(n,"L",(function(){return B})),t.d(n,"N",(function(){return U})),t.d(n,"r",(function(){return V})),t.d(n,"m",(function(){return K})),t.d(n,"k",(function(){return W})),t.d(n,"B",(function(){return z})),t.d(n,"a",(function(){return J})),t.d(n,"n",(function(){return X})),t.d(n,"l",(function(){return Y})),t.d(n,"E",(function(){return Q})),t.d(n,"C",(function(){return Z})),t.d(n,"b",(function(){return $})),t.d(n,"U",(function(){return ee})),t.d(n,"o",(function(){return ne})),t.d(n,"R",(function(){return te})),t.d(n,"y",(function(){return re})),t.d(n,"c",(function(){return ae}));const i=/{(\d+)}/g;function o(e,...n){return 0===n.length?e:e.replace(i,(function(e,t){const r=parseInt(t,10);return isNaN(r)||r<0||r>=n.length?e:n[r]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function c(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,n=" "){return d(u(e,n),n)}function u(e,n){if(!e||!n)return e;const t=n.length;if(0===t||0===e.length)return e;let r=0;for(;e.indexOf(n,r)===r;)r+=t;return e.substring(r)}function d(e,n){if(!e||!n)return e;const t=n.length,r=e.length;if(0===t||0===r)return e;let a=r,i=-1;for(;i=e.lastIndexOf(n,a-1),-1!==i&&i+t===a;){if(0===i)return"";a=i}return e.substring(0,a)}function p(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function f(e){return e.replace(/\*/g,"")}function m(e,n){if(e.length<n.length)return!1;if(e===n)return!0;for(let t=0;t<n.length;t++)if(e[t]!==n[t])return!1;return!0}function _(e,n){const t=e.length-n.length;return t>0?e.indexOf(n,t)===t:0===t&&e===n}function g(e,n,t={}){if(!e)throw new Error("Cannot create regex from empty string");n||(e=c(e)),t.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return t.global&&(r+="g"),t.matchCase||(r+="i"),t.multiline&&(r+="m"),t.unicode&&(r+="u"),new RegExp(e,r)}function y(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function h(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){for(let n=0,t=e.length;n<t;n++){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function b(e,n=0,t=e.length){for(let r=n;r<t;r++){const t=e.charCodeAt(r);if(32!==t&&9!==t)return e.substring(n,r)}return e.substring(n,t)}function E(e,n=e.length-1){for(let t=n;t>=0;t--){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function T(e,n){return e<n?-1:e>n?1:0}function S(e,n,t=0,r=e.length,a=0,i=n.length){for(;t<r&&a<i;t++,a++){let r=e.charCodeAt(t),i=n.charCodeAt(a);if(r<i)return-1;if(r>i)return 1}const o=r-t,s=i-a;return o<s?-1:o>s?1:0}function L(e,n){return x(e,n,0,e.length,0,n.length)}function x(e,n,t=0,r=e.length,a=0,i=n.length){for(;t<r&&a<i;t++,a++){let o=e.charCodeAt(t),s=n.charCodeAt(a);if(o===s)continue;const c=o-s;if((32!==c||!D(s))&&(-32!==c||!D(o)))return A(o)&&A(s)?c:S(e.toLowerCase(),n.toLowerCase(),t,r,a,i)}const o=r-t,s=i-a;return o<s?-1:o>s?1:0}function A(e){return e>=97&&e<=122}function D(e){return e>=65&&e<=90}function C(e){return A(e)||D(e)}function I(e,n){return e.length===n.length&&N(e,n)}function N(e,n,t=e.length){for(let r=0;r<t;r++){const t=e.charCodeAt(r),a=n.charCodeAt(r);if(t!==a)if(C(t)&&C(a)){const e=Math.abs(t-a);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(t).toLowerCase()!==String.fromCharCode(a).toLowerCase())return!1}return!0}function R(e,n){const t=n.length;return!(n.length>e.length)&&N(e,n,t)}function k(e,n){let t,r=Math.min(e.length,n.length);for(t=0;t<r;t++)if(e.charCodeAt(t)!==n.charCodeAt(t))return t;return r}function O(e,n){let t,r=Math.min(e.length,n.length);const a=e.length-1,i=n.length-1;for(t=0;t<r;t++)if(e.charCodeAt(a-t)!==n.charCodeAt(i-t))return t;return r}function P(e){return 55296<=e&&e<=56319}function M(e){return 56320<=e&&e<=57343}function w(e,n){return n-56320+(e-55296<<10)+65536}function F(e,n,t){const r=e.charCodeAt(t);if(P(r)&&t+1<n){const n=e.charCodeAt(t+1);if(M(n))return w(r,n)}return r}function G(e,n){const t=e.charCodeAt(n-1);if(M(t)&&n>1){const r=e.charCodeAt(n-2);if(P(r))return w(r,t)}return t}function B(e,n){const t=ie.getInstance(),r=n,a=e.length,i=F(e,a,n);n+=i>=65536?2:1;let o=t.getGraphemeBreakType(i);for(;n<a;){const r=F(e,a,n),i=t.getGraphemeBreakType(r);if(ae(o,i))break;n+=r>=65536?2:1,o=i}return n-r}function U(e,n){const t=ie.getInstance(),r=n,a=G(e,n);n-=a>=65536?2:1;let i=t.getGraphemeBreakType(a);for(;n>0;){const r=G(e,n),a=t.getGraphemeBreakType(r);if(ae(a,i))break;n-=r>=65536?2:1,i=a}return r-n}function V(e){const n=e.byteLength,t=[];let r=0;for(;r<n;){const a=e[r];let i;if(i=a>=240&&r+3<n?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:a>=224&&r+2<n?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:a>=192&&r+1<n?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],i>=0&&i<=55295||i>=57344&&i<=65535)t.push(String.fromCharCode(i));else if(i>=65536&&i<=1114111){const e=i-65536,n=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);t.push(String.fromCharCode(n)),t.push(String.fromCharCode(r))}else t.push(String.fromCharCode(65533))}return t.join("")}const j=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function K(e){return j.test(e)}const H=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function W(e){return H.test(e)}const q=/^[\t\n\r\x20-\x7E]*$/;function z(e){return q.test(e)}const J=/[\u2028\u2029]/;function X(e){return J.test(e)}function Y(e){for(let n=0,t=e.length;n<t;n++)if(Q(e.charCodeAt(n)))return!0;return!1}function Q(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Z(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const $=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function ne(e,n=!1){return!!e&&(n&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function te(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return ie.getInstance().getGraphemeBreakType(e)}function ae(e,n){return 0===e?5!==n&&7!==n:(2!==e||3!==n)&&(4===e||2===e||3===e||(4===n||2===n||3===n||(8!==e||8!==n&&9!==n&&11!==n&&12!==n)&&((11!==e&&9!==e||9!==n&&10!==n)&&((12!==e&&10!==e||10!==n)&&(5!==n&&13!==n&&(7!==n&&(1!==e&&((13!==e||14!==n)&&(6!==e||6!==n)))))))))}class ie{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return ie._INSTANCE||(ie._INSTANCE=new ie),ie._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const n=this._data,t=n.length/3;let r=1;for(;r<=t;)if(e<n[3*r])r*=2;else{if(!(e>n[3*r+1]))return n[3*r+2];r=2*r+1}return 0}}ie._INSTANCE=null},86:function(e,n){var t,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var c,l=[],u=!1,d=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=s(p);u=!0;for(var n=l.length;n;){for(c=l,l=[];++d<n;)c&&c[d].run();d=-1,n=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function _(){}a.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];l.push(new m(e,n)),1!==l.length||u||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=_,a.addListener=_,a.once=_,a.off=_,a.removeListener=_,a.removeAllListeners=_,a.emit=_,a.prependListener=_,a.prependOnceListener=_,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},89:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return s})),t.d(n,"a",(function(){return d}));var r=t(8);function a(e){return i(e,0)}function i(e,n){switch(typeof e){case"object":return null===e?o(349,n):Array.isArray(e)?(t=e,r=o(104579,r=n),t.reduce((e,n)=>i(n,e),r)):function(e,n){return n=o(181387,n),Object.keys(e).sort().reduce((n,t)=>(n=s(t,n),i(e[t],n)),n)}(e,n);case"string":return s(e,n);case"boolean":return function(e,n){return o(e?433:863,n)}(e,n);case"number":return o(e,n);case"undefined":return o(937,n);default:return o(617,n)}var t,r}function o(e,n){return(n<<5)-n+e|0}function s(e,n){n=o(149417,n);for(let t=0,r=e.length;t<r;t++)n=o(e.charCodeAt(t),n);return n}function c(e,n,t=32){const r=t-n;return(e<<n|(~((1<<r)-1)&e)>>>r)>>>0}function l(e,n=0,t=e.byteLength,r=0){for(let a=0;a<t;a++)e[n+a]=r}function u(e,n=32){return function(e,n,t="0"){for(;e.length<n;)e=t+e;return e}((e>>>0).toString(16),n/4)}class d{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const n=e.length;if(0===n)return;const t=this._buff;let a,i,o=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(a=s,i=-1,s=0):(a=e.charCodeAt(0),i=0);;){let c=a;if(r.F(a)){if(!(i+1<n)){s=a;break}{const n=e.charCodeAt(i+1);r.G(n)?(i++,c=r.j(a,n)):c=65533}}else r.G(a)&&(c=65533);if(o=this._push(t,o,c),i++,!(i<n))break;a=e.charCodeAt(i)}this._buffLen=o,this._leftoverHighSurrogate=s}_push(e,n,t){return t<128?e[n++]=t:t<2048?(e[n++]=192|(1984&t)>>>6,e[n++]=128|(63&t)>>>0):t<65536?(e[n++]=224|(61440&t)>>>12,e[n++]=128|(4032&t)>>>6,e[n++]=128|(63&t)>>>0):(e[n++]=240|(1835008&t)>>>18,e[n++]=128|(258048&t)>>>12,e[n++]=128|(4032&t)>>>6,e[n++]=128|(63&t)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),u(this._h0)+u(this._h1)+u(this._h2)+u(this._h3)+u(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,l(this._buff,this._buffLen),this._buffLen>56&&(this._step(),l(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=d._bigBlock32,n=this._buffDV;for(let t=0;t<64;t+=4)e.setUint32(t,n.getUint32(t,!1),!1);for(let n=64;n<320;n+=4)e.setUint32(n,c(e.getUint32(n-12,!1)^e.getUint32(n-32,!1)^e.getUint32(n-56,!1)^e.getUint32(n-64,!1),1),!1);let t,r,a,i=this._h0,o=this._h1,s=this._h2,l=this._h3,u=this._h4;for(let n=0;n<80;n++)n<20?(t=o&s|~o&l,r=1518500249):n<40?(t=o^s^l,r=1859775393):n<60?(t=o&s|o&l|s&l,r=2400959708):(t=o^s^l,r=3395469782),a=c(i,5)+t+u+r+e.getUint32(4*n,!1)&4294967295,u=l,l=s,s=c(o,30),o=i,i=a;this._h0=this._h0+i&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}d._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));class r{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new r(e,n)}delta(e=0,n=0){return this.with(this.lineNumber+e,this.column+n)}equals(e){return r.equals(this,e)}static equals(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<n.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<=n.column}static compare(e,n){let t=0|e.lineNumber,r=0|n.lineNumber;if(t===r){return(0|e.column)-(0|n.column)}return t-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,n,t){"use strict";t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return u})),t.d(n,"b",(function(){return d}));var r=t(13),a=t(2),i=t(11),o=t(14);let s=!1;function c(e){i.h&&(s||(s=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class l{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,n){let t=String(++this._lastSentReq);return new Promise((r,a)=>{this._pendingReplies[t]={resolve:r,reject:a},this._send({vsWorker:this._workerId,req:t,method:e,args:n})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");let t=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){let e=n.err;return n.err.$isError&&(e=new Error,e.name=n.err.name,e.message=n.err.message,e.stack=n.err.stack),void t.reject(e)}return void t.resolve(n.res)}let n=e,t=n.req;this._handler.handleMessage(n.method,n.args).then(e=>{this._send({vsWorker:this._workerId,seq:t,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:t,res:void 0,err:Object(r.g)(e)})})}_send(e){let n=[];if(e.req){const t=e;for(let e=0;e<t.args.length;e++)t.args[e]instanceof ArrayBuffer&&n.push(t.args[e])}else{const t=e;t.res instanceof ArrayBuffer&&n.push(t.res)}this._handler.sendMessage(e,n)}}class u extends a.a{constructor(e,n,t){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new l({sendMessage:(e,n)=>{this._worker.postMessage(e,n)},handleMessage:(e,n)=>{if("function"!=typeof t[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(t[e].apply(t,n))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let a=null;void 0!==self.require&&"function"==typeof self.require.getConfig?a=self.require.getConfig():void 0!==self.requirejs&&(a=self.requirejs.s.contexts._.config);const i=o.d(t);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(a)),n,i]);const s=(e,n)=>this._request(e,n);this._lazyProxy=new Promise((e,t)=>{r=t,this._onModuleLoaded.then(n=>{e(o.c(n,s))},e=>{t(e),this._onError("Worker failed to load "+n,e)})})}getProxyObject(){return this._lazyProxy}_request(e,n){return new Promise((t,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,n).then(t,r)},r)})}_onError(e,n){console.error(e),console.info(n)}}class d{constructor(e,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new l({sendMessage:(n,t)=>{e(n,t)},handleMessage:(e,n)=>this._handleMessage(e,n)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n){if("$initialize"===e)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,n))}catch(e){return Promise.reject(e)}}initialize(e,n,t,r){this._protocol.setWorkerId(e);const a=o.c(r,(e,n)=>this._protocol.sendMessage(e,n));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(o.d(this._requestHandler))):(n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,n.catchError=!0,self.require.config(n)),new Promise((e,n)=>{self.require([t],t=>{this._requestHandler=t.create(a),this._requestHandler?e(o.d(this._requestHandler)):n(new Error("No RequestHandler!"))},n)}))}}}}); \ No newline at end of file +var i,o=function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),a=0;for(n=0;n<t;n++)for(var i=arguments[n],o=0,s=i.length;o<s;o++,a++)r[a]=i[o];return r},s=function(){return(s=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e}).apply(this,arguments)},c=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},l=function(e,n){var t,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=n.call(e,o)}catch(e){i=[6,e],r=0}finally{t=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},u=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]])}return t},d=(i=function(e,n){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)},function(e,n){function t(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)});!function(e){function n(){var e={};return e.prev=e,{head:e,tail:e,size:0}}function t(e,n){return e===n||e!=e&&n!=n}function r(e){var n=e.prev;if(!n||n===e)throw new Error("Illegal state");return n}function a(e){for(;e;){var n=!e.prev;if(e=e.next,!n)return e}}function i(e,n){for(var a=e.tail;a!==e.head;a=r(a))if(t(a.key,n))return a}function o(e,n,t){var r=i(e,n);if(!r){var a=function(e,n){return{key:e,value:n,next:void 0,prev:void 0}}(n,t);return a.prev=e.tail,e.tail.next=a,e.tail=a,e.size++,a}r.value=t}function s(e,n){for(var a=e.tail;a!==e.head;a=r(a)){if(void 0===a.prev)throw new Error("Illegal state");if(t(a.key,n)){if(a.next)a.next.prev=a.prev;else{if(e.tail!==a)throw new Error("Illegal state");e.tail=a.prev}return a.prev.next=a.next,a.next=a.prev,a.prev=void 0,e.size--,a}}}function c(e){for(var n=e.tail;n!==e.head;){var t=r(n);n.next=e.head,n.prev=void 0,n=t}e.head.next=void 0,e.tail=e.head,e.size=0}function l(e,n){for(var t=e.head;t;)(t=a(t))&&n(t.value,t.key)}function u(e,n){if(e)for(var t=e.next();!t.done;t=e.next())n(t.value)}function d(e,n){return{current:e.head,selector:n}}function p(e){return e.current=a(e.current),e.current?{value:e.selector(e.current.key,e.current.value),done:!1}:{value:void 0,done:!0}}!function(e){e.createMapShim=function(e){var t=function(){function e(e,n){this._data=d(e,n)}return e.prototype.next=function(){return p(this._data)},e}();return function(){function r(t){var r=this;this._mapData=n(),u(e(t),(function(e){var n=e[0],t=e[1];return r.set(n,t)}))}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.get=function(e){var n;return null===(n=i(this._mapData,e))||void 0===n?void 0:n.value},r.prototype.set=function(e,n){return o(this._mapData,e,n),this},r.prototype.has=function(e){return!!i(this._mapData,e)},r.prototype.delete=function(e){return!!s(this._mapData,e)},r.prototype.clear=function(){c(this._mapData)},r.prototype.keys=function(){return new t(this._mapData,(function(e,n){return e}))},r.prototype.values=function(){return new t(this._mapData,(function(e,n){return n}))},r.prototype.entries=function(){return new t(this._mapData,(function(e,n){return[e,n]}))},r.prototype.forEach=function(e){l(this._mapData,e)},r}()},e.createSetShim=function(e){var t=function(){function e(e,n){this._data=d(e,n)}return e.prototype.next=function(){return p(this._data)},e}();return function(){function r(t){var r=this;this._mapData=n(),u(e(t),(function(e){return r.add(e)}))}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.add=function(e){return o(this._mapData,e,e),this},r.prototype.has=function(e){return!!i(this._mapData,e)},r.prototype.delete=function(e){return!!s(this._mapData,e)},r.prototype.clear=function(){c(this._mapData)},r.prototype.keys=function(){return new t(this._mapData,(function(e,n){return e}))},r.prototype.values=function(){return new t(this._mapData,(function(e,n){return n}))},r.prototype.entries=function(){return new t(this._mapData,(function(e,n){return[e,n]}))},r.prototype.forEach=function(e){l(this._mapData,e)},r}()}}(e.ShimCollections||(e.ShimCollections={}))}(p||(p={})),function(e){e.versionMajorMinor="4.0",e.version="4.0.3",function(e){e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan"}(e.Comparison||(e.Comparison={})),function(e){e.tryGetNativeMap=function(){return"undefined"!=typeof Map&&"entries"in Map.prototype&&1===new Map([[0,0]]).size?Map:void 0},e.tryGetNativeSet=function(){return"undefined"!=typeof Set&&"entries"in Set.prototype&&1===new Set([0]).size?Set:void 0}}(e.NativeCollections||(e.NativeCollections={}))}(p||(p={})),function(e){function n(n,r,a){var i,o=null!==(i=e.NativeCollections[r]())&&void 0!==i?i:null===e.ShimCollections||void 0===e.ShimCollections?void 0:e.ShimCollections[a](t);if(o)return o;throw new Error("TypeScript requires an environment that provides a compatible native "+n+" implementation.")}function t(n){if(n){if(C(n))return _(n);if(n instanceof e.Map)return n.entries();if(n instanceof e.Set)return n.values();throw new Error("Iteration not supported.")}}function r(e,n,t){if(void 0===t&&(t=P),e)for(var r=0,a=e;r<a.length;r++){if(t(a[r],n))return!0}return!1}function a(e,n){if(e){if(!n)return e.length>0;for(var t=0,r=e;t<r.length;t++){if(n(r[t]))return!0}}return!1}function i(e,n){return a(n)?a(e)?o(e,n):n:e}function s(e,n){return n}function c(e){return e.map(s)}function l(e,n){return void 0===n?e:void 0===e?[n]:(e.push(n),e)}function u(e,n){return n<0?e.length+n:n}function d(e,n,t,r){if(void 0===n||0===n.length)return e;if(void 0===e)return n.slice(t,r);t=void 0===t?0:u(n,t),r=void 0===r?n.length:u(n,r);for(var a=t;a<r&&a<n.length;a++)void 0!==n[a]&&e.push(n[a]);return e}function p(e,n,t){return!r(e,n,t)&&(e.push(n),!0)}function f(e,n,t){n.sort((function(n,r){return t(e[n],e[r])||w(n,r)}))}function m(e,n){return 0===e.length?e:e.slice().sort(n)}function _(e){var n=0;return{next:function(){return n===e.length?{value:void 0,done:!0}:(n++,{value:e[n-1],done:!1})}}}function g(e,n,t,r,a){return y(e,t(n),t,r,a)}function y(e,n,t,r,i){if(!a(e))return-1;for(var o=i||0,s=e.length-1;o<=s;){var c=o+(s-o>>1);switch(r(t(e[c]),n)){case-1:o=c+1;break;case 0:return c;case 1:s=c-1}}return~o}function h(e,n,t,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=t;o<=s;)c=n(c,e[o],o),o++;return c}}return t}e.Map=n("Map","tryGetNativeMap","createMapShim"),e.Set=n("Set","tryGetNativeSet","createSetShim"),e.getIterator=t,e.emptyArray=[],e.emptyMap=new e.Map,e.emptySet=new e.Set,e.createMap=function(){return new e.Map},e.createMapFromTemplate=function(n){var t=new e.Map;for(var r in n)v.call(n,r)&&t.set(r,n[r]);return t},e.length=function(e){return e?e.length:0},e.forEach=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(r)return r}},e.forEachRight=function(e,n){if(e)for(var t=e.length-1;t>=0;t--){var r=n(e[t],t);if(r)return r}},e.firstDefined=function(e,n){if(void 0!==e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(void 0!==r)return r}},e.firstDefinedIterator=function(e,n){for(;;){var t=e.next();if(t.done)return;var r=n(t.value);if(void 0!==r)return r}},e.reduceLeftIterator=function(e,n,t){var r=t;if(e)for(var a=e.next(),i=0;!a.done;a=e.next(),i++)r=n(r,a.value,i);return r},e.zipWith=function(n,t,r){var a=[];e.Debug.assertEqual(n.length,t.length);for(var i=0;i<n.length;i++)a.push(r(n[i],t[i],i));return a},e.zipToIterator=function(n,t){e.Debug.assertEqual(n.length,t.length);var r=0;return{next:function(){return r===n.length?{value:void 0,done:!0}:(r++,{value:[n[r-1],t[r-1]],done:!1})}}},e.zipToMap=function(n,t){e.Debug.assert(n.length===t.length);for(var r=new e.Map,a=0;a<n.length;++a)r.set(n[a],t[a]);return r},e.intersperse=function(e,n){if(e.length<=1)return e;for(var t=[],r=0,a=e.length;r<a;r++)r&&t.push(n),t.push(e[r]);return t},e.every=function(e,n){if(e)for(var t=0;t<e.length;t++)if(!n(e[t],t))return!1;return!0},e.find=function(e,n){for(var t=0;t<e.length;t++){var r=e[t];if(n(r,t))return r}},e.findLast=function(e,n){for(var t=e.length-1;t>=0;t--){var r=e[t];if(n(r,t))return r}},e.findIndex=function(e,n,t){for(var r=t||0;r<e.length;r++)if(n(e[r],r))return r;return-1},e.findLastIndex=function(e,n,t){for(var r=void 0===t?e.length-1:t;r>=0;r--)if(n(e[r],r))return r;return-1},e.findMap=function(n,t){for(var r=0;r<n.length;r++){var a=t(n[r],r);if(a)return a}return e.Debug.fail()},e.contains=r,e.arraysEqual=function(e,n,t){return void 0===t&&(t=P),e.length===n.length&&e.every((function(e,r){return t(e,n[r])}))},e.indexOfAnyCharCode=function(e,n,t){for(var a=t||0;a<e.length;a++)if(r(n,e.charCodeAt(a)))return a;return-1},e.countWhere=function(e,n){var t=0;if(e)for(var r=0;r<e.length;r++){n(e[r],r)&&t++}return t},e.filter=function(e,n){if(e){for(var t=e.length,r=0;r<t&&n(e[r]);)r++;if(r<t){var a=e.slice(0,r);for(r++;r<t;){var i=e[r];n(i)&&a.push(i),r++}return a}}return e},e.filterMutate=function(e,n){for(var t=0,r=0;r<e.length;r++)n(e[r],r,e)&&(e[t]=e[r],t++);e.length=t},e.clear=function(e){e.length=0},e.map=function(e,n){var t;if(e){t=[];for(var r=0;r<e.length;r++)t.push(n(e[r],r))}return t},e.mapIterator=function(e,n){return{next:function(){var t=e.next();return t.done?t:{value:n(t.value),done:!1}}}},e.sameMap=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=e[t],a=n(r,t);if(r!==a){var i=e.slice(0,t);for(i.push(a),t++;t<e.length;t++)i.push(n(e[t],t));return i}}return e},e.flatten=function(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t];a&&(C(a)?d(n,a):n.push(a))}return n},e.flatMap=function(n,t){var r;if(n)for(var a=0;a<n.length;a++){var i=t(n[a],a);i&&(r=C(i)?d(r,i):l(r,i))}return r||e.emptyArray},e.flatMapToMutable=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);a&&(C(a)?d(t,a):t.push(a))}return t},e.flatMapIterator=function(n,t){var r=n.next();if(r.done)return e.emptyIterator;var a=i(r.value);return{next:function(){for(;;){var e=a.next();if(!e.done)return e;var t=n.next();if(t.done)return t;a=i(t.value)}}};function i(n){var r=t(n);return void 0===r?e.emptyIterator:C(r)?_(r):r}},e.sameFlatMap=function(e,n){var t;if(e)for(var r=0;r<e.length;r++){var a=e[r],i=n(a,r);(t||a!==i||C(i))&&(t||(t=e.slice(0,r)),C(i)?d(t,i):t.push(i))}return t||e},e.mapAllOrFail=function(e,n){for(var t=[],r=0;r<e.length;r++){var a=n(e[r],r);if(void 0===a)return;t.push(a)}return t},e.mapDefined=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);void 0!==a&&t.push(a)}return t},e.mapDefinedIterator=function(e,n){return{next:function(){for(;;){var t=e.next();if(t.done)return t;var r=n(t.value);if(void 0!==r)return{value:r,done:!1}}}}},e.mapDefinedEntries=function(n,t){if(n){var r=new e.Map;return n.forEach((function(e,n){var a=t(n,e);if(void 0!==a){var i=a[0],o=a[1];void 0!==i&&void 0!==o&&r.set(i,o)}})),r}},e.mapDefinedValues=function(n,t){if(n){var r=new e.Set;return n.forEach((function(e){var n=t(e);void 0!==n&&r.add(n)})),r}},e.getOrUpdate=function(e,n,t){if(e.has(n))return e.get(n);var r=t();return e.set(n,r),r},e.tryAddToSet=function(e,n){return!e.has(n)&&(e.add(n),!0)},e.emptyIterator={next:function(){return{value:void 0,done:!0}}},e.singleIterator=function(e){var n=!1;return{next:function(){var t=n;return n=!0,t?{value:void 0,done:!0}:{value:e,done:!1}}}},e.spanMap=function(e,n,t){var r;if(e){r=[];for(var a=e.length,i=void 0,o=void 0,s=0,c=0;s<a;){for(;c<a;){if(o=n(e[c],c),0===c)i=o;else if(o!==i)break;c++}if(s<c){var l=t(e.slice(s,c),i,s,c);l&&r.push(l),s=c}i=o,c++}}return r},e.mapEntries=function(n,t){if(n){var r=new e.Map;return n.forEach((function(e,n){var a=t(n,e),i=a[0],o=a[1];r.set(i,o)})),r}},e.some=a,e.getRangesWhere=function(e,n,t){for(var r,a=0;a<e.length;a++)n(e[a])?r=void 0===r?a:r:void 0!==r&&(t(r,a),r=void 0);void 0!==r&&t(r,e.length)},e.concatenate=i,e.indicesOf=c,e.deduplicate=function(e,n,t){return 0===e.length?[]:1===e.length?e.slice():t?function(e,n,t){var r=c(e);f(e,r,t);for(var a=e[r[0]],i=[r[0]],o=1;o<r.length;o++){var s=r[o],l=e[s];n(a,l)||(i.push(s),a=l)}return i.sort(),i.map((function(n){return e[n]}))}(e,n,t):function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){p(t,a[r],n)}return t}(e,n)},e.insertSorted=function(e,n,t){if(0!==e.length){var r=g(e,n,N,t);r<0&&e.splice(~r,0,n)}else e.push(n)},e.sortAndDeduplicate=function(n,t,r){return function(n,t){if(0===n.length)return e.emptyArray;for(var r=n[0],a=[r],i=1;i<n.length;i++){var o=n[i];switch(t(o,r)){case!0:case 0:continue;case-1:return e.Debug.fail("Array is unsorted.")}a.push(r=o)}return a}(m(n,t),r||t||G)},e.arrayIsSorted=function(e,n){if(e.length<2)return!0;for(var t=e[0],r=0,a=e.slice(1);r<a.length;r++){var i=a[r];if(1===n(t,i))return!1;t=i}return!0},e.arrayIsEqualTo=function(e,n,t){if(void 0===t&&(t=P),!e||!n)return e===n;if(e.length!==n.length)return!1;for(var r=0;r<e.length;r++)if(!t(e[r],n[r],r))return!1;return!0},e.compact=function(e){var n;if(e)for(var t=0;t<e.length;t++){var r=e[t];!n&&r||(n||(n=e.slice(0,t)),r&&n.push(r))}return n||e},e.relativeComplement=function(n,t,r){if(!t||!n||0===t.length||0===n.length)return t;var a=[];e:for(var i=0,o=0;o<t.length;o++){o>0&&e.Debug.assertGreaterThanOrEqual(r(t[o],t[o-1]),0);n:for(var s=i;i<n.length;i++)switch(i>s&&e.Debug.assertGreaterThanOrEqual(r(n[i],n[i-1]),0),r(t[o],n[i])){case-1:a.push(t[o]);continue e;case 0:continue e;case 1:continue n}}return a},e.sum=function(e,n){for(var t=0,r=0,a=e;r<a.length;r++){t+=a[r][n]}return t},e.append=l,e.combine=function(e,n){return void 0===e?n:void 0===n?e:C(e)?C(n)?i(e,n):l(e,n):C(n)?l(n,e):[e,n]},e.addRange=d,e.pushIfUnique=p,e.appendIfUnique=function(e,n,t){return e?(p(e,n,t),e):[n]},e.sort=m,e.arrayIterator=_,e.arrayReverseIterator=function(e){var n=e.length;return{next:function(){return 0===n?{value:void 0,done:!0}:(n--,{value:e[n],done:!1})}}},e.stableSort=function(e,n){var t=c(e);return f(e,t,n),t.map((function(n){return e[n]}))},e.rangeEquals=function(e,n,t,r){for(;t<r;){if(e[t]!==n[t])return!1;t++}return!0},e.elementAt=function(e,n){if(e&&(n=u(e,n))<e.length)return e[n]},e.firstOrUndefined=function(e){return 0===e.length?void 0:e[0]},e.first=function(n){return e.Debug.assert(0!==n.length),n[0]},e.lastOrUndefined=function(e){return 0===e.length?void 0:e[e.length-1]},e.last=function(n){return e.Debug.assert(0!==n.length),n[n.length-1]},e.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},e.singleOrMany=function(e){return e&&1===e.length?e[0]:e},e.replaceElement=function(e,n,t){var r=e.slice(0);return r[n]=t,r},e.binarySearch=g,e.binarySearchKey=y,e.reduceLeft=h;var v=Object.prototype.hasOwnProperty;function b(e,n){return v.call(e,n)}function E(e){var n=[];for(var t in e)v.call(e,t)&&n.push(t);return n}e.hasProperty=b,e.getProperty=function(e,n){return v.call(e,n)?e[n]:void 0},e.getOwnKeys=E,e.getAllKeys=function(e){var n=[];do{for(var t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++){p(n,r[t])}}while(e=Object.getPrototypeOf(e));return n},e.getOwnValues=function(e){var n=[];for(var t in e)v.call(e,t)&&n.push(e[t]);return n};var T=Object.entries?Object.entries:function(e){for(var n=E(e),t=Array(n.length),r=0,a=n;r<a.length;r++){var i=a[r];t.push([i,e[i]])}return t};function S(e,n){for(var t=[],r=e.next();!r.done;r=e.next())t.push(n?n(r.value):r.value);return t}function L(e,n,t){void 0===t&&(t=N);for(var r=x(),a=0,i=e;a<i.length;a++){var o=i[a];r.add(n(o),t(o))}return r}function x(){var n=new e.Map;return n.add=A,n.remove=D,n}function A(e,n){var t=this.get(e);return t?t.push(n):this.set(e,t=[n]),t}function D(e,n){var t=this.get(e);t&&(q(t,n),t.length||this.delete(e))}function C(e){return Array.isArray?Array.isArray(e):e instanceof Array}function I(e){}function N(e){return e}function R(e){return e.toLowerCase()}e.getEntries=function(e){return e?T(e):[]},e.arrayOf=function(e,n){for(var t=new Array(e),r=0;r<e;r++)t[r]=n(r);return t},e.arrayFrom=S,e.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];for(var r=0,a=n;r<a.length;r++){var i=a[r];if(void 0!==i)for(var o in i)b(i,o)&&(e[o]=i[o])}return e},e.equalOwnProperties=function(e,n,t){if(void 0===t&&(t=P),e===n)return!0;if(!e||!n)return!1;for(var r in e)if(v.call(e,r)){if(!v.call(n,r))return!1;if(!t(e[r],n[r]))return!1}for(var r in n)if(v.call(n,r)&&!v.call(e,r))return!1;return!0},e.arrayToMap=function(n,t,r){void 0===r&&(r=N);for(var a=new e.Map,i=0,o=n;i<o.length;i++){var s=o[i],c=t(s);void 0!==c&&a.set(c,r(s))}return a},e.arrayToNumericMap=function(e,n,t){void 0===t&&(t=N);for(var r=[],a=0,i=e;a<i.length;a++){var o=i[a];r[n(o)]=t(o)}return r},e.arrayToMultiMap=L,e.group=function(e,n,t){return void 0===t&&(t=N),S(L(e,n).values(),t)},e.clone=function(e){var n={};for(var t in e)v.call(e,t)&&(n[t]=e[t]);return n},e.extend=function(e,n){var t={};for(var r in n)v.call(n,r)&&(t[r]=n[r]);for(var r in e)v.call(e,r)&&(t[r]=e[r]);return t},e.copyProperties=function(e,n){for(var t in n)v.call(n,t)&&(e[t]=n[t])},e.maybeBind=function(e,n){return n?n.bind(e):void 0},e.createMultiMap=x,e.createUnderscoreEscapedMultiMap=function(){return x()},e.isArray=C,e.toArray=function(e){return C(e)?e:[e]},e.isString=function(e){return"string"==typeof e},e.isNumber=function(e){return"number"==typeof e},e.tryCast=function(e,n){return void 0!==e&&n(e)?e:void 0},e.cast=function(n,t){return void 0!==n&&t(n)?n:e.Debug.fail("Invalid cast. The supplied value "+n+" did not pass the test '"+e.Debug.getFunctionName(t)+"'.")},e.noop=I,e.returnFalse=function(){return!1},e.returnTrue=function(){return!0},e.returnUndefined=function(){},e.identity=N,e.toLowerCase=R;var k=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function O(e){return k.test(e)?e.replace(k,R):e}function P(e,n){return e===n}function M(e,n){return e===n?0:void 0===e?-1:void 0===n?1:e<n?-1:1}function w(e,n){return M(e,n)}function F(e,n){return e===n?0:void 0===e?-1:void 0===n?1:(e=e.toUpperCase())<(n=n.toUpperCase())?-1:e>n?1:0}function G(e,n){return M(e,n)}e.toFileNameLowerCase=O,e.notImplemented=function(){throw new Error("Not implemented")},e.memoize=function(e){var n;return function(){return e&&(n=e(),e=void 0),n}},e.memoizeOne=function(n){var t=new e.Map;return function(e){var r=typeof e+":"+e,a=t.get(r);return void 0!==a||t.has(r)||(a=n(e),t.set(r,a)),a}},e.compose=function(e,n,t,r,a){if(a){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(e){return h(i,(function(e,n){return n(e)}),e)}}return r?function(a){return r(t(n(e(a))))}:t?function(r){return t(n(e(r)))}:n?function(t){return n(e(t))}:e?function(n){return e(n)}:function(e){return e}},function(e){e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive"}(e.AssertionLevel||(e.AssertionLevel={})),e.equateValues=P,e.equateStringsCaseInsensitive=function(e,n){return e===n||void 0!==e&&void 0!==n&&e.toUpperCase()===n.toUpperCase()},e.equateStringsCaseSensitive=function(e,n){return P(e,n)},e.compareValues=w,e.compareTextSpans=function(e,n){return w(null==e?void 0:e.start,null==n?void 0:n.start)||w(null==e?void 0:e.length,null==n?void 0:n.length)},e.min=function(e,n,t){return-1===t(e,n)?e:n},e.compareStringsCaseInsensitive=F,e.compareStringsCaseSensitive=G,e.getStringComparer=function(e){return e?F:G};var B,U,V=function(){var e,n,t=function(){if("object"==typeof Intl&&"function"==typeof Intl.Collator)return a;if("function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0)return i;return o}();return function(r){return void 0===r?e||(e=t(r)):"en-US"===r?n||(n=t(r)):t(r)};function r(e,n,t){if(e===n)return 0;if(void 0===e)return-1;if(void 0===n)return 1;var r=t(e,n);return r<0?-1:r>0?1:0}function a(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return r(e,t,n)}}function i(e){return void 0!==e?o():function(e,t){return r(e,t,n)};function n(e,n){return e.localeCompare(n)}}function o(){return function(n,t){return r(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return e<n?-1:e>n?1:0}}}();function j(e,n,t){for(var r=new Array(n.length+1),a=new Array(n.length+1),i=t+1,o=0;o<=n.length;o++)r[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),c=o>t?o-t:1,l=n.length>t+o?t+o:n.length;a[0]=o;for(var u=o,d=1;d<c;d++)a[d]=i;for(d=c;d<=l;d++){var p=s===n.charCodeAt(d-1)?r[d-1]:Math.min(r[d]+1,a[d-1]+1,r[d-1]+2);a[d]=p,u=Math.min(u,p)}for(d=l+1;d<=n.length;d++)a[d]=i;if(u>t)return;var f=r;r=a,a=f}var m=r[n.length];return m>t?void 0:m}function K(e,n){var t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function H(e,n){for(var t=n;t<e.length-1;t++)e[t]=e[t+1];e.pop()}function W(e,n){e[n]=e[e.length-1],e.pop()}function q(e,n){return function(e,n){for(var t=0;t<e.length;t++)if(n(e[t]))return W(e,t),!0;return!1}(e,(function(e){return e===n}))}function z(e,n){return 0===e.lastIndexOf(n,0)}function J(e,n){var t=e.prefix,r=e.suffix;return n.length>=t.length+r.length&&z(n,t)&&K(n,r)}e.getUILocale=function(){return U},e.setUILocale=function(e){U!==e&&(U=e,B=void 0)},e.compareStringsCaseSensitiveUI=function(e,n){return(B||(B=V(U)))(e,n)},e.compareProperties=function(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])},e.compareBooleans=function(e,n){return w(e?1:0,n?1:0)},e.getSpellingSuggestion=function(n,t,r){for(var a,i=Math.min(2,Math.floor(.34*n.length)),o=Math.floor(.4*n.length)+1,s=!1,c=n.toLowerCase(),l=0,u=t;l<u.length;l++){var d=u[l],p=r(d);if(void 0!==p&&Math.abs(p.length-c.length)<=i){var f=p.toLowerCase();if(f===c){if(p===n)continue;return d}if(s)continue;if(p.length<3)continue;var m=j(c,f,o-1);if(void 0===m)continue;m<3?(s=!0,a=d):(e.Debug.assert(m<o),o=m,a=d)}}return a},e.endsWith=K,e.removeSuffix=function(e,n){return K(e,n)?e.slice(0,e.length-n.length):e},e.tryRemoveSuffix=function(e,n){return K(e,n)?e.slice(0,e.length-n.length):void 0},e.stringContains=function(e,n){return-1!==e.indexOf(n)},e.removeMinAndVersionNumbers=function(e){var n=/[.-]((min)|(\d+(\.\d+)*))$/;return e.replace(n,"").replace(n,"")},e.orderedRemoveItem=function(e,n){for(var t=0;t<e.length;t++)if(e[t]===n)return H(e,t),!0;return!1},e.orderedRemoveItemAt=H,e.unorderedRemoveItemAt=W,e.unorderedRemoveItem=q,e.createGetCanonicalFileName=function(e){return e?N:O},e.patternText=function(e){return e.prefix+"*"+e.suffix},e.matchedText=function(n,t){return e.Debug.assert(J(n,t)),t.substring(n.prefix.length,t.length-n.suffix.length)},e.findBestPatternMatch=function(e,n,t){for(var r,a=-1,i=0,o=e;i<o.length;i++){var s=o[i],c=n(s);J(c,t)&&c.prefix.length>a&&(a=c.prefix.length,r=s)}return r},e.startsWith=z,e.removePrefix=function(e,n){return z(e,n)?e.substr(n.length):e},e.tryRemovePrefix=function(e,n,t){return void 0===t&&(t=N),z(t(e),t(n))?e.substring(n.length):void 0},e.and=function(e,n){return function(t){return e(t)&&n(t)}},e.or=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r=0,a=e;r<a.length;r++){var i=a[r];if(i.apply(void 0,n))return!0}return!1}},e.not=function(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return!e.apply(void 0,n)}},e.assertType=function(e){},e.singleElementArray=function(e){return void 0===e?void 0:[e]},e.enumerateInsertsAndDeletes=function(e,n,t,r,a,i){i=i||I;for(var o=0,s=0,c=e.length,l=n.length,u=!1;o<c&&s<l;){var d=e[o],p=n[s],f=t(d,p);-1===f?(r(d),o++,u=!0):1===f?(a(p),s++,u=!0):(i(p,d),o++,s++)}for(;o<c;)r(e[o++]),u=!0;for(;s<l;)a(n[s++]),u=!0;return u},e.fill=function(e,n){for(var t=Array(e),r=0;r<e;r++)t[r]=n(r);return t},e.cartesianProduct=function(e){var n=[];return function e(n,t,r,a){for(var i=0,o=n[a];i<o.length;i++){var s=o[i],c=void 0;r?(c=r.slice()).push(s):c=[s],a===n.length-1?t.push(c):e(n,t,c,a+1)}}(e,n,void 0,0),n},e.padLeft=function(e,n){for(;e.length<n;)e=" "+e;return e},e.padRight=function(e,n){for(;e.length<n;)e+=" ";return e}}(p||(p={})),function(e){var n;!function(e){e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose"}(n=e.LogLevel||(e.LogLevel={})),function(t){var r,a,i=0;function o(){return null!=r?r:r=new e.Version(e.version)}function s(e){return t.currentLogLevel<=e}function c(e,n){t.loggingHost&&s(e)&&t.loggingHost.log(e,n)}function l(e){c(n.Info,e)}t.currentLogLevel=n.Warning,t.isDebugging=!1,t.getTypeScriptVersion=o,t.shouldLog=s,t.log=l,(a=l=t.log||(t.log={})).error=function(e){c(n.Error,e)},a.warn=function(e){c(n.Warning,e)},a.log=function(e){c(n.Info,e)},a.trace=function(e){c(n.Verbose,e)};var u={};function d(e){return i>=e}function p(n,r){return!!d(n)||(u[r]={level:n,assertion:t[r]},t[r]=e.noop,!1)}function f(e,n){var t=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||f),t}function m(e,n,t,r){e||(n=n?"False expression: "+n:"False expression.",t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),f(n,r||m))}function _(e,n,t){null==e&&f(n,t||_)}function g(e,n,t){return _(e,n,t||g),e}function y(e,n,t){for(var r=0,a=e;r<a.length;r++){_(a[r],n,t||y)}}function h(e,n,t){return y(e,n,t||h),e}function v(e){if("function"!=typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var n=Function.prototype.toString.call(e),t=/^function\s+([\w\$]+)\s*\(/.exec(n);return t?t[1]:""}function b(n,t,r){void 0===n&&(n=0);var a=function(n){var t=[];for(var r in n){var a=n[r];"number"==typeof a&&t.push([a,r])}return e.stableSort(t,(function(n,t){return e.compareValues(n[0],t[0])}))}(t);if(0===n)return a.length>0&&0===a[0][0]?a[0][1]:"0";if(r){for(var i="",o=n,s=0,c=a;s<c.length;s++){var l=c[s],u=l[0],d=l[1];if(u>n)break;0!==u&&u&n&&(i=i+(i?"|":"")+d,o&=~u)}if(0===o)return i}else for(var p=0,f=a;p<f.length;p++){var m=f[p];u=m[0],d=m[1];if(u===n)return d}return n.toString()}function E(n){return b(n,e.SyntaxKind,!1)}function T(n){return b(n,e.NodeFlags,!0)}function S(n){return b(n,e.ModifierFlags,!0)}function L(n){return b(n,e.TransformFlags,!0)}function x(n){return b(n,e.EmitFlags,!0)}function A(n){return b(n,e.SymbolFlags,!0)}function D(n){return b(n,e.TypeFlags,!0)}function C(n){return b(n,e.ObjectFlags,!0)}t.getAssertionLevel=function(){return i},t.setAssertionLevel=function(n){var r=i;if(i=n,n>r)for(var a=0,o=e.getOwnKeys(u);a<o.length;a++){var s=o[a],c=u[s];void 0!==c&&t[s]!==c.assertion&&n>=c.level&&(t[s]=c,u[s]=void 0)}},t.shouldAssert=d,t.fail=f,t.failBadSyntaxKind=function e(n,t,r){return f((t||"Unexpected node.")+"\r\nNode "+E(n.kind)+" was unexpected.",r||e)},t.assert=m,t.assertEqual=function e(n,t,r,a,i){n!==t&&f("Expected "+n+" === "+t+". "+(r?a?r+" "+a:r:""),i||e)},t.assertLessThan=function e(n,t,r,a){n>=t&&f("Expected "+n+" < "+t+". "+(r||""),a||e)},t.assertLessThanOrEqual=function e(n,t,r){n>t&&f("Expected "+n+" <= "+t,r||e)},t.assertGreaterThanOrEqual=function e(n,t,r){n<t&&f("Expected "+n+" >= "+t,r||e)},t.assertIsDefined=_,t.checkDefined=g,t.assertDefined=g,t.assertEachIsDefined=y,t.checkEachDefined=h,t.assertEachDefined=h,t.assertNever=function n(t,r,a){return void 0===r&&(r="Illegal value:"),f(r+" "+("object"==typeof t&&e.hasProperty(t,"kind")&&e.hasProperty(t,"pos")&&E?"SyntaxKind: "+E(t.kind):JSON.stringify(t)),a||n)},t.assertEachNode=function n(t,r,a,i){p(1,"assertEachNode")&&m(void 0===r||e.every(t,r),a||"Unexpected node.",(function(){return"Node array did not pass test '"+v(r)+"'."}),i||n)},t.assertNode=function e(n,t,r,a){p(1,"assertNode")&&m(void 0!==n&&(void 0===t||t(n)),r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" did not pass test '"+v(t)+"'."}),a||e)},t.assertNotNode=function e(n,t,r,a){p(1,"assertNotNode")&&m(void 0===n||void 0===t||!t(n),r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" should not have passed test '"+v(t)+"'."}),a||e)},t.assertOptionalNode=function e(n,t,r,a){p(1,"assertOptionalNode")&&m(void 0===t||void 0===n||t(n),r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" did not pass test '"+v(t)+"'."}),a||e)},t.assertOptionalToken=function e(n,t,r,a){p(1,"assertOptionalToken")&&m(void 0===t||void 0===n||n.kind===t,r||"Unexpected node.",(function(){return"Node "+E(n.kind)+" was not a '"+E(t)+"' token."}),a||e)},t.assertMissingNode=function e(n,t,r){p(1,"assertMissingNode")&&m(void 0===n,t||"Unexpected node.",(function(){return"Node "+E(n.kind)+" was unexpected'."}),r||e)},t.getFunctionName=v,t.formatSymbol=function(n){return"{ name: "+e.unescapeLeadingUnderscores(n.escapedName)+"; flags: "+A(n.flags)+"; declarations: "+e.map(n.declarations,(function(e){return E(e.kind)}))+" }"},t.formatEnum=b,t.formatSyntaxKind=E,t.formatNodeFlags=T,t.formatModifierFlags=S,t.formatTransformFlags=L,t.formatEmitFlags=x,t.formatSymbolFlags=A,t.formatTypeFlags=D,t.formatObjectFlags=C;var I,N=!1;function R(e){return function(){if(k(),!I)throw new Error("Debugging helpers could not be loaded.");return I}().formatControlFlowGraph(e)}function k(){if(!N){Object.defineProperties(e.objectAllocator.getSymbolConstructor().prototype,{__debugFlags:{get:function(){return A(this.flags)}}}),Object.defineProperties(e.objectAllocator.getTypeConstructor().prototype,{__debugFlags:{get:function(){return D(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?C(this.objectFlags):""}},__debugTypeToString:{value:function(){return this.checker.typeToString(this)}}});for(var n=0,t=[e.objectAllocator.getNodeConstructor(),e.objectAllocator.getIdentifierConstructor(),e.objectAllocator.getTokenConstructor(),e.objectAllocator.getSourceFileConstructor()];n<t.length;n++){var r=t[n];r.prototype.hasOwnProperty("__debugKind")||Object.defineProperties(r.prototype,{__debugKind:{get:function(){return E(this.kind)}},__debugNodeFlags:{get:function(){return T(this.flags)}},__debugModifierFlags:{get:function(){return S(e.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return L(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return e.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return x(e.getEmitFlags(this))}},__debugGetText:{value:function(n){if(e.nodeIsSynthesized(this))return"";var t=e.getParseTreeNode(this),r=t&&e.getSourceFileOfNode(t);return r?e.getSourceTextOfNodeFromSourceFile(r,t,n):""}}})}try{if(e.sys&&e.sys.require){e.getDirectoryPath(e.resolvePath(e.sys.getExecutingFilePath()));var a=void 0;a.error||(a.module.init(e),I=a.module)}}catch(e){}N=!0}}function O(n,t,r,a,i){var o=t?"DeprecationError: ":"DeprecationWarning: ";return o+="'"+n+"' ",o+=a?"has been deprecated since v"+a:"is deprecated",o+=t?" and can no longer be used.":r?" and will no longer be usable after v"+r+".":".",o+=i?" "+e.formatStringFromArgs(i,[n],0):""}function P(n,t){var r,a;void 0===t&&(t={});var i="string"==typeof t.typeScriptVersion?new e.Version(t.typeScriptVersion):null!==(r=t.typeScriptVersion)&&void 0!==r?r:o(),s="string"==typeof t.errorAfter?new e.Version(t.errorAfter):t.errorAfter,c="string"==typeof t.warnAfter?new e.Version(t.warnAfter):t.warnAfter,u="string"==typeof t.since?new e.Version(t.since):null!==(a=t.since)&&void 0!==a?a:c,d=t.error||s&&i.compareTo(s)<=0,p=!c||i.compareTo(c)>=0;return d?function(e,n,t,r){var a=O(e,!0,n,t,r);return function(){throw new TypeError(a)}}(n,s,u,t.message):p?function(e,n,t,r){var a=!1;return function(){a||(l.warn(O(e,!1,n,t,r)),a=!0)}}(n,s,u,t.message):e.noop}t.printControlFlowGraph=function(e){return console.log(R(e))},t.formatControlFlowGraph=R,t.attachFlowNodeDebugInfo=function(n){N&&("__debugFlowFlags"in n||Object.defineProperties(n,{__debugFlowFlags:{get:function(){return b(this.flags,e.FlowFlags,!0)}},__debugToString:{value:function(){return R(this)}}}))},t.enableDebugInfo=k,t.deprecate=function(e,n){return function(e,n){return function(){return e(),n.apply(this,arguments)}}(P(v(e),n),e)}}(e.Debug||(e.Debug={}))}(p||(p={})),function(e){e.timestamp="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:Date.now?Date.now:function(){return+new Date}}(p||(p={})),function(e){!function(n){var t,r,a,i="function"==typeof onProfilerEvent&&!0===onProfilerEvent.profiler?onProfilerEvent:function(){},o=!1,s=0;function c(n,t,r){var a=0;return{enter:function(){1==++a&&l(t)},exit:function(){0==--a?(l(r),u(n,t,r)):a<0&&e.Debug.fail("enter/exit count does not match.")}}}function l(n){o&&(r.set(n,e.timestamp()),t.set(n,(t.get(n)||0)+1),i(n))}function u(n,t,i){if(o){var c=i&&r.get(i)||e.timestamp(),l=t&&r.get(t)||s;a.set(n,(a.get(n)||0)+(c-l))}}n.createTimerIf=function(e,t,r,a){return e?c(t,r,a):n.nullTimer},n.createTimer=c,n.nullTimer={enter:e.noop,exit:e.noop},n.mark=l,n.measure=u,n.getCount=function(e){return t&&t.get(e)||0},n.getDuration=function(e){return a&&a.get(e)||0},n.forEachMeasure=function(e){a.forEach((function(n,t){e(t,n)}))},n.enable=function(){t=new e.Map,r=new e.Map,a=new e.Map,o=!0,s=e.timestamp()},n.disable=function(){o=!1}}(e.performance||(e.performance={}))}(p||(p={})),function(n){var t,r,a={logEvent:n.noop,logErrEvent:n.noop,logPerfEvent:n.noop,logInfoEvent:n.noop,logStartCommand:n.noop,logStopCommand:n.noop,logStartUpdateProgram:n.noop,logStopUpdateProgram:n.noop,logStartUpdateGraph:n.noop,logStopUpdateGraph:n.noop,logStartResolveModule:n.noop,logStopResolveModule:n.noop,logStartParseSourceFile:n.noop,logStopParseSourceFile:n.noop,logStartReadFile:n.noop,logStopReadFile:n.noop,logStartBindFile:n.noop,logStopBindFile:n.noop,logStartScheduledOperation:n.noop,logStopScheduledOperation:n.noop};try{t=e.env.TS_ETW_MODULE_PATH;r=void 0}catch(e){r=void 0}n.perfLogger=r&&r.logEvent?r:a}(p||(p={})),function(e){var n=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,t=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,r=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,a=/^(0|[1-9]\d*)$/,i=function(){function n(n,a,i,s,c){if(void 0===a&&(a=0),void 0===i&&(i=0),void 0===s&&(s=""),void 0===c&&(c=""),"string"==typeof n){var l=e.Debug.checkDefined(o(n),"Invalid version");n=l.major,a=l.minor,i=l.patch,s=l.prerelease,c=l.build}e.Debug.assert(n>=0,"Invalid argument: major"),e.Debug.assert(a>=0,"Invalid argument: minor"),e.Debug.assert(i>=0,"Invalid argument: patch"),e.Debug.assert(!s||t.test(s),"Invalid argument: prerelease"),e.Debug.assert(!c||r.test(c),"Invalid argument: build"),this.major=n,this.minor=a,this.patch=i,this.prerelease=s?s.split("."):e.emptyArray,this.build=c?c.split("."):e.emptyArray}return n.tryParse=function(e){var t=o(e);if(t)return new n(t.major,t.minor,t.patch,t.prerelease,t.build)},n.prototype.compareTo=function(n){return this===n?0:void 0===n?1:e.compareValues(this.major,n.major)||e.compareValues(this.minor,n.minor)||e.compareValues(this.patch,n.patch)||function(n,t){if(n===t)return 0;if(0===n.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var r=Math.min(n.length,t.length),i=0;i<r;i++){var o=n[i],s=t[i];if(o!==s){var c=a.test(o),l=a.test(s);if(c||l){if(c!==l)return c?-1:1;if(u=e.compareValues(+o,+s))return u}else{var u;if(u=e.compareStringsCaseSensitive(o,s))return u}}}return e.compareValues(n.length,t.length)}(this.prerelease,n.prerelease)},n.prototype.increment=function(t){switch(t){case"major":return new n(this.major+1,0,0);case"minor":return new n(this.major,this.minor+1,0);case"patch":return new n(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(t)}},n.prototype.toString=function(){var n=this.major+"."+this.minor+"."+this.patch;return e.some(this.prerelease)&&(n+="-"+this.prerelease.join(".")),e.some(this.build)&&(n+="+"+this.build.join(".")),n},n.zero=new n(0,0,0),n}();function o(e){var a=n.exec(e);if(a){var i=a[1],o=a[2],s=void 0===o?"0":o,c=a[3],l=void 0===c?"0":c,u=a[4],d=void 0===u?"":u,p=a[5],f=void 0===p?"":p;if((!d||t.test(d))&&(!f||r.test(f)))return{major:parseInt(i,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:d,build:f}}}e.Version=i;var s=function(){function n(n){this._alternatives=n?e.Debug.checkDefined(f(n),"Invalid range spec."):e.emptyArray}return n.tryParse=function(e){var t=f(e);if(t){var r=new n("");return r._alternatives=t,r}},n.prototype.test=function(e){return"string"==typeof e&&(e=new i(e)),function(e,n){if(0===n.length)return!0;for(var t=0,r=n;t<r.length;t++){var a=r[t];if(v(e,a))return!0}return!1}(e,this._alternatives)},n.prototype.toString=function(){return n=this._alternatives,e.map(n,E).join(" || ")||"*";var n},n}();e.VersionRange=s;var c=/\s*\|\|\s*/g,l=/\s+/g,u=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,d=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,p=/^\s*(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function f(e){for(var n=[],t=0,r=e.trim().split(c);t<r.length;t++){var a=r[t];if(a){var i=[],o=d.exec(a);if(o){if(!_(o[1],o[2],i))return}else for(var s=0,u=a.split(l);s<u.length;s++){var f=u[s],m=p.exec(f);if(!m||!g(m[1],m[2],i))return}n.push(i)}}return n}function m(e){var n=u.exec(e);if(n){var t=n[1],r=n[2],a=void 0===r?"*":r,o=n[3],s=void 0===o?"*":o,c=n[4],l=n[5];return{version:new i(y(t)?0:parseInt(t,10),y(t)||y(a)?0:parseInt(a,10),y(t)||y(a)||y(s)?0:parseInt(s,10),c,l),major:t,minor:a,patch:s}}}function _(e,n,t){var r=m(e);if(!r)return!1;var a=m(n);return!!a&&(y(r.major)||t.push(h(">=",r.version)),y(a.major)||t.push(y(a.minor)?h("<",a.version.increment("major")):y(a.patch)?h("<",a.version.increment("minor")):h("<=",a.version)),!0)}function g(e,n,t){var r=m(n);if(!r)return!1;var a=r.version,o=r.major,s=r.minor,c=r.patch;if(y(o))"<"!==e&&">"!==e||t.push(h("<",i.zero));else switch(e){case"~":t.push(h(">=",a)),t.push(h("<",a.increment(y(s)?"major":"minor")));break;case"^":t.push(h(">=",a)),t.push(h("<",a.increment(a.major>0||y(s)?"major":a.minor>0||y(c)?"minor":"patch")));break;case"<":case">=":t.push(h(e,a));break;case"<=":case">":t.push(y(s)?h("<="===e?"<":">=",a.increment("major")):y(c)?h("<="===e?"<":">=",a.increment("minor")):h(e,a));break;case"=":case void 0:y(s)||y(c)?(t.push(h(">=",a)),t.push(h("<",a.increment(y(s)?"major":"minor")))):t.push(h("=",a));break;default:return!1}return!0}function y(e){return"*"===e||"x"===e||"X"===e}function h(e,n){return{operator:e,operand:n}}function v(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!b(e,a.operator,a.operand))return!1}return!0}function b(n,t,r){var a=n.compareTo(r);switch(t){case"<":return a<0;case"<=":return a<=0;case">":return a>0;case">=":return a>=0;case"=":return 0===a;default:return e.Debug.assertNever(t)}}function E(n){return e.map(n,T).join(" ")}function T(e){return""+e.operator+e.operand}}(p||(p={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.EqualsToken=62]="EqualsToken",e[e.PlusEqualsToken=63]="PlusEqualsToken",e[e.MinusEqualsToken=64]="MinusEqualsToken",e[e.AsteriskEqualsToken=65]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=66]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=67]="SlashEqualsToken",e[e.PercentEqualsToken=68]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=69]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=70]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=72]="AmpersandEqualsToken",e[e.BarEqualsToken=73]="BarEqualsToken",e[e.BarBarEqualsToken=74]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=75]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=76]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=77]="CaretEqualsToken",e[e.Identifier=78]="Identifier",e[e.PrivateIdentifier=79]="PrivateIdentifier",e[e.BreakKeyword=80]="BreakKeyword",e[e.CaseKeyword=81]="CaseKeyword",e[e.CatchKeyword=82]="CatchKeyword",e[e.ClassKeyword=83]="ClassKeyword",e[e.ConstKeyword=84]="ConstKeyword",e[e.ContinueKeyword=85]="ContinueKeyword",e[e.DebuggerKeyword=86]="DebuggerKeyword",e[e.DefaultKeyword=87]="DefaultKeyword",e[e.DeleteKeyword=88]="DeleteKeyword",e[e.DoKeyword=89]="DoKeyword",e[e.ElseKeyword=90]="ElseKeyword",e[e.EnumKeyword=91]="EnumKeyword",e[e.ExportKeyword=92]="ExportKeyword",e[e.ExtendsKeyword=93]="ExtendsKeyword",e[e.FalseKeyword=94]="FalseKeyword",e[e.FinallyKeyword=95]="FinallyKeyword",e[e.ForKeyword=96]="ForKeyword",e[e.FunctionKeyword=97]="FunctionKeyword",e[e.IfKeyword=98]="IfKeyword",e[e.ImportKeyword=99]="ImportKeyword",e[e.InKeyword=100]="InKeyword",e[e.InstanceOfKeyword=101]="InstanceOfKeyword",e[e.NewKeyword=102]="NewKeyword",e[e.NullKeyword=103]="NullKeyword",e[e.ReturnKeyword=104]="ReturnKeyword",e[e.SuperKeyword=105]="SuperKeyword",e[e.SwitchKeyword=106]="SwitchKeyword",e[e.ThisKeyword=107]="ThisKeyword",e[e.ThrowKeyword=108]="ThrowKeyword",e[e.TrueKeyword=109]="TrueKeyword",e[e.TryKeyword=110]="TryKeyword",e[e.TypeOfKeyword=111]="TypeOfKeyword",e[e.VarKeyword=112]="VarKeyword",e[e.VoidKeyword=113]="VoidKeyword",e[e.WhileKeyword=114]="WhileKeyword",e[e.WithKeyword=115]="WithKeyword",e[e.ImplementsKeyword=116]="ImplementsKeyword",e[e.InterfaceKeyword=117]="InterfaceKeyword",e[e.LetKeyword=118]="LetKeyword",e[e.PackageKeyword=119]="PackageKeyword",e[e.PrivateKeyword=120]="PrivateKeyword",e[e.ProtectedKeyword=121]="ProtectedKeyword",e[e.PublicKeyword=122]="PublicKeyword",e[e.StaticKeyword=123]="StaticKeyword",e[e.YieldKeyword=124]="YieldKeyword",e[e.AbstractKeyword=125]="AbstractKeyword",e[e.AsKeyword=126]="AsKeyword",e[e.AssertsKeyword=127]="AssertsKeyword",e[e.AnyKeyword=128]="AnyKeyword",e[e.AsyncKeyword=129]="AsyncKeyword",e[e.AwaitKeyword=130]="AwaitKeyword",e[e.BooleanKeyword=131]="BooleanKeyword",e[e.ConstructorKeyword=132]="ConstructorKeyword",e[e.DeclareKeyword=133]="DeclareKeyword",e[e.GetKeyword=134]="GetKeyword",e[e.InferKeyword=135]="InferKeyword",e[e.IsKeyword=136]="IsKeyword",e[e.KeyOfKeyword=137]="KeyOfKeyword",e[e.ModuleKeyword=138]="ModuleKeyword",e[e.NamespaceKeyword=139]="NamespaceKeyword",e[e.NeverKeyword=140]="NeverKeyword",e[e.ReadonlyKeyword=141]="ReadonlyKeyword",e[e.RequireKeyword=142]="RequireKeyword",e[e.NumberKeyword=143]="NumberKeyword",e[e.ObjectKeyword=144]="ObjectKeyword",e[e.SetKeyword=145]="SetKeyword",e[e.StringKeyword=146]="StringKeyword",e[e.SymbolKeyword=147]="SymbolKeyword",e[e.TypeKeyword=148]="TypeKeyword",e[e.UndefinedKeyword=149]="UndefinedKeyword",e[e.UniqueKeyword=150]="UniqueKeyword",e[e.UnknownKeyword=151]="UnknownKeyword",e[e.FromKeyword=152]="FromKeyword",e[e.GlobalKeyword=153]="GlobalKeyword",e[e.BigIntKeyword=154]="BigIntKeyword",e[e.OfKeyword=155]="OfKeyword",e[e.QualifiedName=156]="QualifiedName",e[e.ComputedPropertyName=157]="ComputedPropertyName",e[e.TypeParameter=158]="TypeParameter",e[e.Parameter=159]="Parameter",e[e.Decorator=160]="Decorator",e[e.PropertySignature=161]="PropertySignature",e[e.PropertyDeclaration=162]="PropertyDeclaration",e[e.MethodSignature=163]="MethodSignature",e[e.MethodDeclaration=164]="MethodDeclaration",e[e.Constructor=165]="Constructor",e[e.GetAccessor=166]="GetAccessor",e[e.SetAccessor=167]="SetAccessor",e[e.CallSignature=168]="CallSignature",e[e.ConstructSignature=169]="ConstructSignature",e[e.IndexSignature=170]="IndexSignature",e[e.TypePredicate=171]="TypePredicate",e[e.TypeReference=172]="TypeReference",e[e.FunctionType=173]="FunctionType",e[e.ConstructorType=174]="ConstructorType",e[e.TypeQuery=175]="TypeQuery",e[e.TypeLiteral=176]="TypeLiteral",e[e.ArrayType=177]="ArrayType",e[e.TupleType=178]="TupleType",e[e.OptionalType=179]="OptionalType",e[e.RestType=180]="RestType",e[e.UnionType=181]="UnionType",e[e.IntersectionType=182]="IntersectionType",e[e.ConditionalType=183]="ConditionalType",e[e.InferType=184]="InferType",e[e.ParenthesizedType=185]="ParenthesizedType",e[e.ThisType=186]="ThisType",e[e.TypeOperator=187]="TypeOperator",e[e.IndexedAccessType=188]="IndexedAccessType",e[e.MappedType=189]="MappedType",e[e.LiteralType=190]="LiteralType",e[e.NamedTupleMember=191]="NamedTupleMember",e[e.ImportType=192]="ImportType",e[e.ObjectBindingPattern=193]="ObjectBindingPattern",e[e.ArrayBindingPattern=194]="ArrayBindingPattern",e[e.BindingElement=195]="BindingElement",e[e.ArrayLiteralExpression=196]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=197]="ObjectLiteralExpression",e[e.PropertyAccessExpression=198]="PropertyAccessExpression",e[e.ElementAccessExpression=199]="ElementAccessExpression",e[e.CallExpression=200]="CallExpression",e[e.NewExpression=201]="NewExpression",e[e.TaggedTemplateExpression=202]="TaggedTemplateExpression",e[e.TypeAssertionExpression=203]="TypeAssertionExpression",e[e.ParenthesizedExpression=204]="ParenthesizedExpression",e[e.FunctionExpression=205]="FunctionExpression",e[e.ArrowFunction=206]="ArrowFunction",e[e.DeleteExpression=207]="DeleteExpression",e[e.TypeOfExpression=208]="TypeOfExpression",e[e.VoidExpression=209]="VoidExpression",e[e.AwaitExpression=210]="AwaitExpression",e[e.PrefixUnaryExpression=211]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=212]="PostfixUnaryExpression",e[e.BinaryExpression=213]="BinaryExpression",e[e.ConditionalExpression=214]="ConditionalExpression",e[e.TemplateExpression=215]="TemplateExpression",e[e.YieldExpression=216]="YieldExpression",e[e.SpreadElement=217]="SpreadElement",e[e.ClassExpression=218]="ClassExpression",e[e.OmittedExpression=219]="OmittedExpression",e[e.ExpressionWithTypeArguments=220]="ExpressionWithTypeArguments",e[e.AsExpression=221]="AsExpression",e[e.NonNullExpression=222]="NonNullExpression",e[e.MetaProperty=223]="MetaProperty",e[e.SyntheticExpression=224]="SyntheticExpression",e[e.TemplateSpan=225]="TemplateSpan",e[e.SemicolonClassElement=226]="SemicolonClassElement",e[e.Block=227]="Block",e[e.EmptyStatement=228]="EmptyStatement",e[e.VariableStatement=229]="VariableStatement",e[e.ExpressionStatement=230]="ExpressionStatement",e[e.IfStatement=231]="IfStatement",e[e.DoStatement=232]="DoStatement",e[e.WhileStatement=233]="WhileStatement",e[e.ForStatement=234]="ForStatement",e[e.ForInStatement=235]="ForInStatement",e[e.ForOfStatement=236]="ForOfStatement",e[e.ContinueStatement=237]="ContinueStatement",e[e.BreakStatement=238]="BreakStatement",e[e.ReturnStatement=239]="ReturnStatement",e[e.WithStatement=240]="WithStatement",e[e.SwitchStatement=241]="SwitchStatement",e[e.LabeledStatement=242]="LabeledStatement",e[e.ThrowStatement=243]="ThrowStatement",e[e.TryStatement=244]="TryStatement",e[e.DebuggerStatement=245]="DebuggerStatement",e[e.VariableDeclaration=246]="VariableDeclaration",e[e.VariableDeclarationList=247]="VariableDeclarationList",e[e.FunctionDeclaration=248]="FunctionDeclaration",e[e.ClassDeclaration=249]="ClassDeclaration",e[e.InterfaceDeclaration=250]="InterfaceDeclaration",e[e.TypeAliasDeclaration=251]="TypeAliasDeclaration",e[e.EnumDeclaration=252]="EnumDeclaration",e[e.ModuleDeclaration=253]="ModuleDeclaration",e[e.ModuleBlock=254]="ModuleBlock",e[e.CaseBlock=255]="CaseBlock",e[e.NamespaceExportDeclaration=256]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=257]="ImportEqualsDeclaration",e[e.ImportDeclaration=258]="ImportDeclaration",e[e.ImportClause=259]="ImportClause",e[e.NamespaceImport=260]="NamespaceImport",e[e.NamedImports=261]="NamedImports",e[e.ImportSpecifier=262]="ImportSpecifier",e[e.ExportAssignment=263]="ExportAssignment",e[e.ExportDeclaration=264]="ExportDeclaration",e[e.NamedExports=265]="NamedExports",e[e.NamespaceExport=266]="NamespaceExport",e[e.ExportSpecifier=267]="ExportSpecifier",e[e.MissingDeclaration=268]="MissingDeclaration",e[e.ExternalModuleReference=269]="ExternalModuleReference",e[e.JsxElement=270]="JsxElement",e[e.JsxSelfClosingElement=271]="JsxSelfClosingElement",e[e.JsxOpeningElement=272]="JsxOpeningElement",e[e.JsxClosingElement=273]="JsxClosingElement",e[e.JsxFragment=274]="JsxFragment",e[e.JsxOpeningFragment=275]="JsxOpeningFragment",e[e.JsxClosingFragment=276]="JsxClosingFragment",e[e.JsxAttribute=277]="JsxAttribute",e[e.JsxAttributes=278]="JsxAttributes",e[e.JsxSpreadAttribute=279]="JsxSpreadAttribute",e[e.JsxExpression=280]="JsxExpression",e[e.CaseClause=281]="CaseClause",e[e.DefaultClause=282]="DefaultClause",e[e.HeritageClause=283]="HeritageClause",e[e.CatchClause=284]="CatchClause",e[e.PropertyAssignment=285]="PropertyAssignment",e[e.ShorthandPropertyAssignment=286]="ShorthandPropertyAssignment",e[e.SpreadAssignment=287]="SpreadAssignment",e[e.EnumMember=288]="EnumMember",e[e.UnparsedPrologue=289]="UnparsedPrologue",e[e.UnparsedPrepend=290]="UnparsedPrepend",e[e.UnparsedText=291]="UnparsedText",e[e.UnparsedInternalText=292]="UnparsedInternalText",e[e.UnparsedSyntheticReference=293]="UnparsedSyntheticReference",e[e.SourceFile=294]="SourceFile",e[e.Bundle=295]="Bundle",e[e.UnparsedSource=296]="UnparsedSource",e[e.InputFiles=297]="InputFiles",e[e.JSDocTypeExpression=298]="JSDocTypeExpression",e[e.JSDocAllType=299]="JSDocAllType",e[e.JSDocUnknownType=300]="JSDocUnknownType",e[e.JSDocNullableType=301]="JSDocNullableType",e[e.JSDocNonNullableType=302]="JSDocNonNullableType",e[e.JSDocOptionalType=303]="JSDocOptionalType",e[e.JSDocFunctionType=304]="JSDocFunctionType",e[e.JSDocVariadicType=305]="JSDocVariadicType",e[e.JSDocNamepathType=306]="JSDocNamepathType",e[e.JSDocComment=307]="JSDocComment",e[e.JSDocTypeLiteral=308]="JSDocTypeLiteral",e[e.JSDocSignature=309]="JSDocSignature",e[e.JSDocTag=310]="JSDocTag",e[e.JSDocAugmentsTag=311]="JSDocAugmentsTag",e[e.JSDocImplementsTag=312]="JSDocImplementsTag",e[e.JSDocAuthorTag=313]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=314]="JSDocDeprecatedTag",e[e.JSDocClassTag=315]="JSDocClassTag",e[e.JSDocPublicTag=316]="JSDocPublicTag",e[e.JSDocPrivateTag=317]="JSDocPrivateTag",e[e.JSDocProtectedTag=318]="JSDocProtectedTag",e[e.JSDocReadonlyTag=319]="JSDocReadonlyTag",e[e.JSDocCallbackTag=320]="JSDocCallbackTag",e[e.JSDocEnumTag=321]="JSDocEnumTag",e[e.JSDocParameterTag=322]="JSDocParameterTag",e[e.JSDocReturnTag=323]="JSDocReturnTag",e[e.JSDocThisTag=324]="JSDocThisTag",e[e.JSDocTypeTag=325]="JSDocTypeTag",e[e.JSDocTemplateTag=326]="JSDocTemplateTag",e[e.JSDocTypedefTag=327]="JSDocTypedefTag",e[e.JSDocPropertyTag=328]="JSDocPropertyTag",e[e.SyntaxList=329]="SyntaxList",e[e.NotEmittedStatement=330]="NotEmittedStatement",e[e.PartiallyEmittedExpression=331]="PartiallyEmittedExpression",e[e.CommaListExpression=332]="CommaListExpression",e[e.MergeDeclarationMarker=333]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=334]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=335]="SyntheticReferenceExpression",e[e.Count=336]="Count",e[e.FirstAssignment=62]="FirstAssignment",e[e.LastAssignment=77]="LastAssignment",e[e.FirstCompoundAssignment=63]="FirstCompoundAssignment",e[e.LastCompoundAssignment=77]="LastCompoundAssignment",e[e.FirstReservedWord=80]="FirstReservedWord",e[e.LastReservedWord=115]="LastReservedWord",e[e.FirstKeyword=80]="FirstKeyword",e[e.LastKeyword=155]="LastKeyword",e[e.FirstFutureReservedWord=116]="FirstFutureReservedWord",e[e.LastFutureReservedWord=124]="LastFutureReservedWord",e[e.FirstTypeNode=171]="FirstTypeNode",e[e.LastTypeNode=192]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=77]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=155]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=77]="LastBinaryOperator",e[e.FirstStatement=229]="FirstStatement",e[e.LastStatement=245]="LastStatement",e[e.FirstNode=156]="FirstNode",e[e.FirstJSDocNode=298]="FirstJSDocNode",e[e.LastJSDocNode=328]="LastJSDocNode",e[e.FirstJSDocTagNode=310]="FirstJSDocTagNode",e[e.LastJSDocTagNode=328]="LastJSDocTagNode",e[e.FirstContextualKeyword=125]="FirstContextualKeyword",e[e.LastContextualKeyword=155]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.ThisNodeHasError=65536]="ThisNodeHasError",e[e.JavaScriptFile=131072]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=524288]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",e[e.JSDoc=4194304]="JSDoc",e[e.Ambient=8388608]="Ambient",e[e.InWithStatement=16777216]="InWithStatement",e[e.JsonFile=33554432]="JsonFile",e[e.TypeCached=67108864]="TypeCached",e[e.Deprecated=134217728]="Deprecated",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=25358336]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=11263]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={})),function(e){e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore"}(e.CommentDirectiveType||(e.CommentDirectiveType={}));var n,t=function(){};e.OperationCanceledException=t,function(e){e[e.Import=0]="Import",e[e.ReferenceFile=1]="ReferenceFile",e[e.TypeReferenceDirective=2]="TypeReferenceDirective"}(e.RefFileKind||(e.RefFileKind={})),function(e){e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns"}(e.ContextFlags||(e.ContextFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.NoUndefinedOptionalParameterType=1073741824]="NoUndefinedOptionalParameterType",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",e[e.NodeBuilderFlagsMask=814775659]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial"}(e.CheckFlags||(e.CheckFlags={})),function(e){e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",e[e.AssignmentsMarked=8388608]="AssignmentsMarked",e[e.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109440]="Unit",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.Primitive=131068]="Primitive",e[e.StringLike=132]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DisjointDomains=67238908]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=4194304]="InstantiablePrimitive",e[e.Instantiable=63176704]="Instantiable",e[e.StructuredOrInstantiable=66846720]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Substructure=66584576]="Substructure",e[e.Narrowable=133970943]="Narrowable",e[e.NotPrimitiveUnion=66994211]="NotPrimitiveUnion",e[e.IncludesMask=71041023]="IncludesMask",e[e.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.JSLiteral=16384]="JSLiteral",e[e.FreshLiteral=32768]="FreshLiteral",e[e.ArrayLiteral=65536]="ArrayLiteral",e[e.ObjectRestType=131072]="ObjectRestType",e[e.PrimitiveUnion=262144]="PrimitiveUnion",e[e.ContainsWideningType=524288]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=1048576]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=2097152]="NonInferrableType",e[e.IsGenericObjectTypeComputed=4194304]="IsGenericObjectTypeComputed",e[e.IsGenericObjectType=8388608]="IsGenericObjectType",e[e.IsGenericIndexTypeComputed=16777216]="IsGenericIndexTypeComputed",e[e.IsGenericIndexType=33554432]="IsGenericIndexType",e[e.CouldContainTypeVariablesComputed=67108864]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=134217728]="CouldContainTypeVariables",e[e.ContainsIntersections=268435456]="ContainsIntersections",e[e.IsNeverIntersectionComputed=268435456]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=536870912]="IsNeverIntersection",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=1572864]="RequiresWidening",e[e.PropagatingFlags=3670016]="PropagatingFlags"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback"}(e.VarianceFlags||(e.VarianceFlags={})),function(e){e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Variable=12]="Variable"}(e.ElementFlags||(e.ElementFlags={})),function(e){e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.IsInnerCallChain=4]="IsInnerCallChain",e[e.IsOuterCallChain=8]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=16]="IsUntypedSignatureInJSFile",e[e.PropagatingFlags=19]="PropagatingFlags",e[e.CallChainFlags=12]="CallChainFlags"}(e.SignatureFlags||(e.SignatureFlags={})),function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Function=2]="Function",e[e.Composite=3]="Composite",e[e.Merged=4]="Merged"}(e.TypeMapKind||(e.TypeMapKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.HomomorphicMappedType=4]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=8]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=16]="MappedTypeConstraint",e[e.ContravariantConditional=32]="ContravariantConditional",e[e.ReturnType=64]="ReturnType",e[e.LiteralKeyof=128]="LiteralKeyof",e[e.NoConstraints=256]="NoConstraints",e[e.AlwaysStrict=512]="AlwaysStrict",e[e.MaxValue=1024]="MaxValue",e[e.PriorityImpliesCombination=208]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(n=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,t){void 0===t&&(t=!0);var r=n[e.category];return t?r.toLowerCase():r},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.UseFsEvents=3]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=4]="UseFsEventsOnParentDirectory"}(e.WatchFileKind||(e.WatchFileKind={})),function(e){e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling"}(e.WatchDirectoryKind||(e.WatchDirectoryKind={})),function(e){e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority"}(e.PollingWatchKind||(e.PollingWatchKind={})),function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ESNext=99]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error"}(e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo"}(e.Extension||(e.Extension={})),function(e){e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2020=8]="ContainsES2020",e[e.ContainsES2019=16]="ContainsES2019",e[e.ContainsES2018=32]="ContainsES2018",e[e.ContainsES2017=64]="ContainsES2017",e[e.ContainsES2016=128]="ContainsES2016",e[e.ContainsES2015=256]="ContainsES2015",e[e.ContainsGenerator=512]="ContainsGenerator",e[e.ContainsDestructuringAssignment=1024]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=2048]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=4096]="ContainsLexicalThis",e[e.ContainsRestOrSpread=8192]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=16384]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=32768]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=65536]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=131072]="ContainsBindingPattern",e[e.ContainsYield=262144]="ContainsYield",e[e.ContainsAwait=524288]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=1048576]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=2097152]="ContainsDynamicImport",e[e.ContainsClassFields=4194304]="ContainsClassFields",e[e.ContainsPossibleTopLevelAwait=8388608]="ContainsPossibleTopLevelAwait",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2020=8]="AssertES2020",e[e.AssertES2019=16]="AssertES2019",e[e.AssertES2018=32]="AssertES2018",e[e.AssertES2017=64]="AssertES2017",e[e.AssertES2016=128]="AssertES2016",e[e.AssertES2015=256]="AssertES2015",e[e.AssertGenerator=512]="AssertGenerator",e[e.AssertDestructuringAssignment=1024]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=547309568]="ArrowFunctionExcludes",e[e.FunctionExcludes=547313664]="FunctionExcludes",e[e.ConstructorExcludes=547311616]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=538923008]="MethodOrAccessorExcludes",e[e.PropertyExcludes=536875008]="PropertyExcludes",e[e.ClassExcludes=536905728]="ClassExcludes",e[e.ModuleExcludes=546379776]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536922112]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536879104]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=537018368]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536887296]="CatchClauseExcludes",e[e.BindingPatternExcludes=536879104]="BindingPatternExcludes",e[e.PropertyNamePropagatingFlags=4096]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.Spread=1024]="Spread",e[e.SpreadArrays=2048]="SpreadArrays",e[e.Await=4096]="Await",e[e.AsyncGenerator=8192]="AsyncGenerator",e[e.AsyncDelegator=16384]="AsyncDelegator",e[e.AsyncValues=32768]="AsyncValues",e[e.ExportStar=65536]="ExportStar",e[e.ImportStar=131072]="ImportStar",e[e.ImportDefault=262144]="ImportDefault",e[e.MakeTemplateObject=524288]="MakeTemplateObject",e[e.ClassPrivateFieldGet=1048576]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=2097152]="ClassPrivateFieldSet",e[e.CreateBinding=4194304]="CreateBinding",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=4194304]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=32768]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=12288]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=53248]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue"}(e.EmitHint||(e.EmitHint={})),function(e){e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All"}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),function(e){e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters"}(e.LexicalEnvironmentFlags||(e.LexicalEnvironmentFlags={})),function(e){e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=262656]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment"}(e.ListFormat||(e.ListFormat={})),function(e){e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4}}}(p||(p={})),function(n){var t,r;function a(e){var n;return(n={})[r.Low]=e.Low,n[r.Medium]=e.Medium,n[r.High]=e.High,n}n.generateDjb2Hash=function(e){for(var n=5381,t=0;t<e.length;t++)n=(n<<5)+n+e.charCodeAt(t);return n.toString()},n.setStackTraceLimit=function(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)},function(e){e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted"}(t=n.FileWatcherEventKind||(n.FileWatcherEventKind={})),function(e){e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low"}(r=n.PollingInterval||(n.PollingInterval={})),n.missingFileModifiedTime=new Date(0);var i={Low:32,Medium:64,High:256},o=a(i);function c(e){if(e.getEnvironmentVariable){var t=function(e,n){var t=c(e);if(t)return r("Low"),r("Medium"),r("High"),!0;return!1;function r(e){n[e]=t[e]||n[e]}}("TSC_WATCH_POLLINGINTERVAL",r);o=l("TSC_WATCH_POLLINGCHUNKSIZE",i)||o,n.unchangedPollThresholds=l("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",i)||n.unchangedPollThresholds}function c(n){var t;return r("Low"),r("Medium"),r("High"),t;function r(r){var a=function(n,t){return e.getEnvironmentVariable(n+"_"+t.toUpperCase())}(n,r);a&&((t||(t={}))[r]=Number(a))}}function l(e,n){var r=c(e);return(t||r)&&a(r?s(s({},n),r):n)}}function l(e){var t=[],a=[],i=l(r.Low),s=l(r.Medium),c=l(r.High);return function(e,r,a){var i={fileName:e,callback:r,unchangedPolls:0,mtime:v(e)};return t.push(i),_(i,a),{close:function(){i.isClosed=!0,n.unorderedRemoveItem(t,i)}}};function l(e){var n=[];return n.pollingInterval=e,n.pollIndex=0,n.pollScheduled=!1,n}function u(e){e.pollIndex=f(e,e.pollingInterval,e.pollIndex,o[e.pollingInterval]),e.length?h(e.pollingInterval):(n.Debug.assert(0===e.pollIndex),e.pollScheduled=!1)}function p(e){f(a,r.Low,0,a.length),u(e),!e.pollScheduled&&a.length&&h(r.Low)}function f(e,t,i,o){for(var s=e.length,c=i,l=0;l<o&&s>0;f(),s--){var u=e[i];if(u)if(u.isClosed)e[i]=void 0;else{l++;var p=d(u,v(u.fileName));u.isClosed?e[i]=void 0:p?(u.unchangedPolls=0,e!==a&&(e[i]=void 0,g(u))):u.unchangedPolls!==n.unchangedPollThresholds[t]?u.unchangedPolls++:e===a?(u.unchangedPolls=1,e[i]=void 0,_(u,r.Low)):t!==r.High&&(u.unchangedPolls++,e[i]=void 0,_(u,t===r.Low?r.Medium:r.High)),e[i]&&(c<i&&(e[c]=u,e[i]=void 0),c++)}}return i;function f(){++i===e.length&&(c<i&&(e.length=c),i=0,c=0)}}function m(e){switch(e){case r.Low:return i;case r.Medium:return s;case r.High:return c}}function _(e,n){m(n).push(e),y(n)}function g(e){a.push(e),y(r.Low)}function y(e){m(e).pollScheduled||h(e)}function h(n){m(n).pollScheduled=e.setTimeout(n===r.Low?p:u,n,m(n))}function v(t){return e.getModifiedTime(t)||n.missingFileModifiedTime}}function u(e,a){var i=n.createMultiMap(),o=new n.Map,s=n.createGetCanonicalFileName(a);return function(a,c,l,u){var d=s(a);i.add(d,c);var p=n.getDirectoryPath(d)||".",f=o.get(p)||function(a,c,l){var u=e(a,1,(function(e,r){if(n.isString(r)){var o=n.getNormalizedAbsolutePath(r,a),c=o&&i.get(s(o));if(c)for(var l=0,u=c;l<u.length;l++){(0,u[l])(o,t.Changed)}}}),!1,r.Medium,l);return u.referenceCount=0,o.set(c,u),u}(n.getDirectoryPath(a)||".",p,u);return f.referenceCount++,{close:function(){1===f.referenceCount?(f.close(),o.delete(p)):f.referenceCount--,i.remove(d,c)}}}}function d(e,n){var t=e.mtime.getTime(),r=n.getTime();return t!==r&&(e.mtime=n,e.callback(e.fileName,p(t,r)),!0)}function p(e,n){return 0===e?t.Created:0===n?t.Deleted:t.Changed}function f(e){var t,r=new n.Map,a=n.createMultiMap(),i=new n.Map,o=n.getStringComparer(!e.useCaseSensitiveFileNames),s=n.createGetCanonicalFileName(e.useCaseSensitiveFileNames);return function(n,t,r,a){return r?c(n,a,t):e.watchDirectory(n,t,r,a)};function c(o,c,f){var m=s(o),_=r.get(m);_?_.refCount++:(_={watcher:e.watchDirectory(o,(function(a){p(a)||((null==c?void 0:c.synchronousWatchDirectory)?(l(m,a),d(o,m,c)):function(a,o,c,d){var p=r.get(o);if(p&&e.directoryExists(a))return void function(n,r,a,o){var s=i.get(r);s?s.fileNames.push(a):i.set(r,{dirName:n,options:o,fileNames:[a]});t&&(e.clearTimeout(t),t=void 0);t=e.setTimeout(u,1e3)}(a,o,c,d);l(o,c),function e(t){if(!t)return;var a=t.childWatches;t.childWatches=n.emptyArray;for(var i=0,o=a;i<o.length;i++){var c=o[i];c.close(),e(r.get(s(c.dirName)))}}(p)}(o,m,a,c))}),!1,c),refCount:1,childWatches:n.emptyArray},r.set(m,_),d(o,m,c));var g=f&&{dirName:o,callback:f};return g&&a.add(m,g),{dirName:o,close:function(){var e=n.Debug.checkDefined(r.get(m));g&&a.remove(m,g),e.refCount--,e.refCount||(r.delete(m),n.closeFileWatcherOf(e),e.childWatches.forEach(n.closeFileWatcher))}}}function l(e,t,r){var i,o;n.isString(t)?i=t:o=t,a.forEach((function(t,a){var s;if((!o||!0!==o.get(a))&&(a===e||n.startsWith(e,a)&&e[a.length]===n.directorySeparator))if(o)if(r){var c=o.get(a);c?(s=c).push.apply(s,r):o.set(a,r.slice())}else o.set(a,!0);else t.forEach((function(e){return(0,e.callback)(i)}))}))}function u(){t=void 0,n.sysLog("sysLog:: onTimerToUpdateChildWatches:: "+i.size);for(var e=n.timestamp(),r=new n.Map;!t&&i.size;){var o=i.entries().next(),s=o.value,c=s[0],u=s[1],p=u.dirName,f=u.options,m=u.fileNames,_=o.done;n.Debug.assert(!_),i.delete(c);var g=d(p,c,f);l(c,r,g?void 0:m)}n.sysLog("sysLog:: invokingWatchers:: "+(n.timestamp()-e)+"ms:: "+i.size),a.forEach((function(e,t){var a=r.get(t);a&&e.forEach((function(e){var t=e.callback,r=e.dirName;n.isArray(a)?a.forEach(t):t(r)}))}));var y=n.timestamp()-e;n.sysLog("sysLog:: Elapsed "+y+"ms:: onTimerToUpdateChildWatches:: "+i.size+" "+t)}function d(t,a,i){var s,l=r.get(a);if(!l)return!1;var u=n.enumerateInsertsAndDeletes(e.directoryExists(t)?n.mapDefined(e.getAccessibleSortedChildDirectories(t),(function(r){var a=n.getNormalizedAbsolutePath(r,t);return p(a)||0!==o(a,n.normalizePath(e.realpath(a)))?void 0:a})):n.emptyArray,l.childWatches,(function(e,n){return o(e,n.dirName)}),(function(e){d(c(e,i))}),n.closeFileWatcher,d);return l.childWatches=s||n.emptyArray,u;function d(e){(s||(s=[])).push(e)}}function p(t){return n.some(n.ignoredPaths,(function(r){return function(t,r){return!!n.stringContains(t,r)||!e.useCaseSensitiveFileNames&&n.stringContains(s(t),r)}(t,r)}))}}function m(e,t){return function(r,a){"rename"===r&&t(a?n.normalizePath(n.combinePaths(e,a)):e)}}n.unchangedPollThresholds=a(i),n.setCustomPollingValues=c,n.createDynamicPriorityPollingWatchFile=l,n.createSingleFileWatcherPerName=function(e,t){var r=new n.Map,a=n.createMultiMap(),i=n.createGetCanonicalFileName(t);return function(t,o,s,c){var l=i(t),u=r.get(l);return u?u.refCount++:r.set(l,{watcher:e(t,(function(e,t){return n.forEach(a.get(l),(function(n){return n(e,t)}))}),s,c),refCount:1}),a.add(l,o),{close:function(){var e=n.Debug.checkDefined(r.get(l));a.remove(l,o),e.refCount--,e.refCount||(r.delete(l),n.closeFileWatcherOf(e))}}}},n.onWatchedFileStat=d,n.getFileWatcherEventKind=p,n.ignoredPaths=["/node_modules/.","/.git","/.#"],n.sysLog=n.noop,n.setSysLog=function(e){n.sysLog=e},n.createDirectoryWatcherSupportingRecursive=f,function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(n.FileSystemEntryKind||(n.FileSystemEntryKind={})),n.createFileWatcherCallback=function(e){return function(n,r){return e(r===t.Changed?"change":"rename","")}},n.createSystemWatchFunctions=function(e){var a,i,o,s=e.pollingWatchFile,c=e.getModifiedTime,d=e.setTimeout,p=e.clearTimeout,_=e.fsWatch,g=e.fileExists,y=e.useCaseSensitiveFileNames,h=e.fsSupportsRecursiveFsWatch,v=e.directoryExists,b=e.getAccessibleSortedChildDirectories,E=e.realpath,T=e.tscWatchFile,S=e.useNonPollingWatchers,L=e.tscWatchDirectory;return{watchFile:function(e,a,o,c){c=function(e,t){if(e&&void 0!==e.watchFile)return e;switch(T){case"PriorityPollingInterval":return{watchFile:n.WatchFileKind.PriorityPollingInterval};case"DynamicPriorityPolling":return{watchFile:n.WatchFileKind.DynamicPriorityPolling};case"UseFsEvents":return A(n.WatchFileKind.UseFsEvents,n.PollingWatchKind.PriorityInterval,e);case"UseFsEventsWithFallbackDynamicPolling":return A(n.WatchFileKind.UseFsEvents,n.PollingWatchKind.DynamicPriority,e);case"UseFsEventsOnParentDirectory":t=!0;default:return t?A(n.WatchFileKind.UseFsEventsOnParentDirectory,n.PollingWatchKind.PriorityInterval,e):{watchFile:n.WatchFileKind.FixedPollingInterval}}}(c,S);var l=n.Debug.checkDefined(c.watchFile);switch(l){case n.WatchFileKind.FixedPollingInterval:return s(e,a,r.Low,void 0);case n.WatchFileKind.PriorityPollingInterval:return s(e,a,o,void 0);case n.WatchFileKind.DynamicPriorityPolling:return x()(e,a,o,void 0);case n.WatchFileKind.UseFsEvents:return _(e,0,function(e,n,r){return function(a){n(e,"rename"===a?r(e)?t.Created:t.Deleted:t.Changed)}}(e,a,g),!1,o,n.getFallbackOptions(c));case n.WatchFileKind.UseFsEventsOnParentDirectory:return i||(i=u(_,y)),i(e,a,o,n.getFallbackOptions(c));default:n.Debug.assertNever(l)}},watchDirectory:function(e,t,a,i){if(h)return _(e,1,m(e,t),a,r.Medium,n.getFallbackOptions(i));o||(o=f({useCaseSensitiveFileNames:y,directoryExists:v,getAccessibleSortedChildDirectories:b,watchDirectory:D,realpath:E,setTimeout:d,clearTimeout:p}));return o(e,t,a,i)}};function x(){return a||(a=l({getModifiedTime:c,setTimeout:d}))}function A(e,n,t){var r=null==t?void 0:t.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?n:r}}function D(e,t,a,i){n.Debug.assert(!a),i=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(L){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:n.WatchDirectoryKind.FixedPollingInterval};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:n.WatchDirectoryKind.DynamicPriorityPolling};default:var t=null==e?void 0:e.fallbackPolling;return{watchDirectory:n.WatchDirectoryKind.UseFsEvents,fallbackPolling:void 0!==t?t:void 0}}}(i);var o=n.Debug.checkDefined(i.watchDirectory);switch(o){case n.WatchDirectoryKind.FixedPollingInterval:return s(e,(function(){return t(e)}),r.Medium,void 0);case n.WatchDirectoryKind.DynamicPriorityPolling:return x()(e,(function(){return t(e)}),r.Medium,void 0);case n.WatchDirectoryKind.UseFsEvents:return _(e,1,m(e,t),a,r.Medium,n.getFallbackOptions(i));default:n.Debug.assertNever(o)}}},n.patchWriteFileEnsuringDirectory=function(e){var t=e.writeFile;e.writeFile=function(r,a,i){return n.writeFileEnsuringDirectories(r,a,!!i,(function(n,r,a){return t.call(e,n,r,a)}),(function(n){return e.createDirectory(n)}),(function(n){return e.directoryExists(n)}))}},n.getNodeMajorVersion=function(){if(void 0!==e){var n=e.version;if(n){var t=n.indexOf(".");if(-1!==t)return parseInt(n.substring(1,t))}}},n.sys=void 0,n.sys&&n.sys.getEnvironmentVariable&&(c(n.sys),n.Debug.setAssertionLevel(/^development$/i.test(n.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),n.sys&&n.sys.debugMode&&(n.Debug.isDebugging=!0)}(p||(p={})),function(e){e.directorySeparator="/";var n=/\\/g;function t(e){return 47===e||92===e}function r(e){return u(e)>0}function a(e){return 0!==u(e)}function i(e){return/^\.\.?($|[\\/])/.test(e)}function s(n,t){return n.length>t.length&&e.endsWith(n,t)}function c(e){return e.length>0&&t(e.charCodeAt(e.length-1))}function l(e){return e>=97&&e<=122||e>=65&&e<=90}function u(n){if(!n)return 0;var t=n.charCodeAt(0);if(47===t||92===t){if(n.charCodeAt(1)!==t)return 1;var r=n.indexOf(47===t?e.directorySeparator:"\\",2);return r<0?n.length:r+1}if(l(t)&&58===n.charCodeAt(1)){var a=n.charCodeAt(2);if(47===a||92===a)return 3;if(2===n.length)return 2}var i=n.indexOf("://");if(-1!==i){var o=i+"://".length,s=n.indexOf(e.directorySeparator,o);if(-1!==s){var c=n.slice(0,i),u=n.slice(o,s);if("file"===c&&(""===u||"localhost"===u)&&l(n.charCodeAt(s+1))){var d=function(e,n){var t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){var r=e.charCodeAt(n+2);if(97===r||65===r)return n+3}return-1}(n,s+2);if(-1!==d){if(47===n.charCodeAt(d))return~(d+1);if(d===n.length)return~d}}return~(s+1)}return~n.length}return 0}function d(e){var n=u(e);return n<0?~n:n}function p(n){var t=d(n=h(n));return t===n.length?n:(n=x(n)).slice(0,Math.max(t,n.lastIndexOf(e.directorySeparator)))}function f(n,t,r){if(d(n=h(n))===n.length)return"";var a=(n=x(n)).slice(Math.max(d(n),n.lastIndexOf(e.directorySeparator)+1)),i=void 0!==t&&void 0!==r?_(a,t,r):void 0;return i?a.slice(0,a.length-i.length):a}function m(n,t,r){if(e.startsWith(t,".")||(t="."+t),n.length>=t.length&&46===n.charCodeAt(n.length-t.length)){var a=n.slice(n.length-t.length);if(r(a,t))return a}}function _(n,t,r){if(t)return function(e,n,t){if("string"==typeof n)return m(e,n,t)||"";for(var r=0,a=n;r<a.length;r++){var i=m(e,a[r],t);if(i)return i}return""}(x(n),t,r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive);var a=f(n),i=a.lastIndexOf(".");return i>=0?a.substring(i):""}function g(n,t){return void 0===t&&(t=""),function(n,t){var r=n.substring(0,t),a=n.substring(t).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),o([r],a)}(n=b(t,n),d(n))}function y(n){return 0===n.length?"":(n[0]&&A(n[0]))+n.slice(1).join(e.directorySeparator)}function h(t){return t.replace(n,e.directorySeparator)}function v(n){if(!e.some(n))return[];for(var t=[n[0]],r=1;r<n.length;r++){var a=n[r];if(a&&"."!==a){if(".."===a)if(t.length>1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(a)}}return t}function b(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&(e=h(e));for(var r=0,a=n;r<a.length;r++){var i=a[r];i&&(i=h(i),e=e&&0===d(i)?A(e)+i:i)}return e}function E(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return L(e.some(t)?b.apply(void 0,o([n],t)):h(n))}function T(e,n){return v(g(e,n))}function S(e,n){return y(T(e,n))}function L(e){var n=y(v(g(e=h(e))));return n&&c(e)?A(n):n}function x(e){return c(e)?e.substr(0,e.length-1):e}function A(n){return c(n)?n:n+e.directorySeparator}function D(e){return a(e)||i(e)?e:"./"+e}e.isAnyDirectorySeparator=t,e.isUrl=function(e){return u(e)<0},e.isRootedDiskPath=r,e.isDiskPathRoot=function(e){var n=u(e);return n>0&&n===e.length},e.pathIsAbsolute=a,e.pathIsRelative=i,e.hasExtension=function(n){return e.stringContains(f(n),".")},e.fileExtensionIs=s,e.fileExtensionIsOneOf=function(e,n){for(var t=0,r=n;t<r.length;t++){if(s(e,r[t]))return!0}return!1},e.hasTrailingDirectorySeparator=c,e.getRootLength=d,e.getDirectoryPath=p,e.getBaseFileName=f,e.getAnyExtensionFromPath=_,e.getPathComponents=g,e.getPathFromPathComponents=y,e.normalizeSlashes=h,e.reducePathComponents=v,e.combinePaths=b,e.resolvePath=E,e.getNormalizedPathComponents=T,e.getNormalizedAbsolutePath=S,e.normalizePath=L,e.getNormalizedAbsolutePathWithoutRoot=function(n,t){return function(n){return 0===n.length?"":n.slice(1).join(e.directorySeparator)}(T(n,t))},e.toPath=function(e,n,t){return t(r(e)?L(e):S(e,n))},e.normalizePathAndParts=function(n){var t=v(g(n=h(n))),r=t[0],a=t.slice(1);if(a.length){var i=r+a.join(e.directorySeparator);return{path:c(n)?A(i):i,parts:a}}return{path:r,parts:a}},e.removeTrailingDirectorySeparator=x,e.ensureTrailingDirectorySeparator=A,e.ensurePathIsNonModuleName=D,e.changeAnyExtension=function(n,t,r,a){var i=void 0!==r&&void 0!==a?_(n,r,a):_(n);return i?n.slice(0,n.length-i.length)+(e.startsWith(t,".")?t:"."+t):n};var C=/(^|\/)\.{0,2}($|\/)/;function I(n,t,r){if(n===t)return 0;if(void 0===n)return-1;if(void 0===t)return 1;var a=n.substring(0,d(n)),i=t.substring(0,d(t)),o=e.compareStringsCaseInsensitive(a,i);if(0!==o)return o;var s=n.substring(a.length),c=t.substring(i.length);if(!C.test(s)&&!C.test(c))return r(s,c);for(var l=v(g(n)),u=v(g(t)),p=Math.min(l.length,u.length),f=1;f<p;f++){var m=r(l[f],u[f]);if(0!==m)return m}return e.compareValues(l.length,u.length)}function N(n,t,r,a){var i,s=v(g(n)),c=v(g(t));for(i=0;i<s.length&&i<c.length;i++){var l=a(s[i]),u=a(c[i]);if(!(0===i?e.equateStringsCaseInsensitive:r)(l,u))break}if(0===i)return c;for(var d=c.slice(i),p=[];i<s.length;i++)p.push("..");return o([""],p,d)}function R(n,t,r){e.Debug.assert(d(n)>0==d(t)>0,"Paths must either both be absolute or both be relative");var a="function"==typeof r?r:e.identity;return y(N(n,t,"boolean"==typeof r&&r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,a))}function k(n,t,a,i,o){var s=N(E(a,n),E(a,t),e.equateStringsCaseSensitive,i),c=s[0];if(o&&r(c)){var l=c.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=l+c}return y(s)}e.comparePathsCaseSensitive=function(n,t){return I(n,t,e.compareStringsCaseSensitive)},e.comparePathsCaseInsensitive=function(n,t){return I(n,t,e.compareStringsCaseInsensitive)},e.comparePaths=function(n,t,r,a){return"string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),I(n,t,e.getStringComparer(a))},e.containsPath=function(n,t,r,a){if("string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),void 0===n||void 0===t)return!1;if(n===t)return!0;var i=v(g(n)),o=v(g(t));if(o.length<i.length)return!1;for(var s=a?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,c=0;c<i.length;c++){if(!(0===c?e.equateStringsCaseInsensitive:s)(i[c],o[c]))return!1}return!0},e.startsWithDirectory=function(n,t,r){var a=r(n),i=r(t);return e.startsWith(a,i+"/")||e.startsWith(a,i+"\\")},e.getPathComponentsRelativeTo=N,e.getRelativePathFromDirectory=R,e.convertToRelativePath=function(e,n,t){return r(e)?k(n,e,n,t,!1):e},e.getRelativePathFromFile=function(e,n,t){return D(R(p(e),n,t))},e.getRelativePathToDirectoryOrUrl=k,e.forEachAncestorDirectory=function(e,n){for(;;){var t=n(e);if(void 0!==t)return t;var r=p(e);if(r===e)return;e=r}},e.isNodeModulesDirectory=function(n){return e.endsWith(n,"/node_modules")}}(p||(p={})),function(e){function n(e,n,t,r,a,i,o){return{code:e,category:n,key:t,message:r,reportsUnnecessary:a,elidedInCompatabilityPyramid:i,reportsDeprecated:o}}e.Diagnostics={Unterminated_string_literal:n(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:n(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:n(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:n(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:n(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:n(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:n(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:n(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:n(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:n(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:n(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:n(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:n(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:n(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:n(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:n(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:n(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:n(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:n(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_either_string_or_number:n(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_either_string_or_number_1023","An index signature parameter type must be either 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:n(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:n(1025,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:n(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:n(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:n(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:n(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:n(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:n(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:n(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:n(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:n(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:n(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:n(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:n(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:n(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:n(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:n(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:n(1046,e.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:n(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:n(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:n(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:n(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:n(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:n(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:n(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:n(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:n(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:n(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:n(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:n(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:n(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:n(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:n(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:n(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:n(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:n(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:n(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:n(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:n(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:n(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:n(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:n(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:n(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:n(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:n(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:n(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:n(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:n(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:n(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:n(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:n(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:n(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:n(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:n(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:n(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:n(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:n(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:n(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:n(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:n(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:n(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:n(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:n(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:n(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:n(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:n(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:n(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:n(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:n(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:n(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:n(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:n(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:n(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:n(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:n(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:n(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:n(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:n(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:n(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:n(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:n(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:n(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:n(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:n(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:n(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:n(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:n(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:n(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:n(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:n(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:n(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:n(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:n(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:n(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:n(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:n(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:n(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:n(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:n(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:n(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:n(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:n(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:n(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:n(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:n(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:n(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:n(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:n(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:n(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:n(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:n(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:n(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:n(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:n(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:n(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:n(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:n(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:n(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:n(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:n(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:n(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:n(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:n(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:n(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:n(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:n(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:n(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:n(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:n(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:n(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:n(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:n(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),with_statements_are_not_allowed_in_an_async_function_block:n(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:n(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:n(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:n(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:n(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:n(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:n(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:n(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:n(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:n(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:n(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:n(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:n(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:n(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:n(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:n(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:n(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system:n(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:n(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:n(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:n(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:n(1360,e.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:n(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:n(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:n(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:n(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:n(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:n(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:n(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:n(1368,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_1368","Specify emit/checking behavior for imports that are only used for types"),Did_you_mean_0:n(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),Only_ECMAScript_imports_may_use_import_type:n(1370,e.DiagnosticCategory.Error,"Only_ECMAScript_imports_may_use_import_type_1370","Only ECMAScript imports may use 'import type'."),This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error:n(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is__1371","This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:n(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:n(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:n(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:n(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:n(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:n(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:n(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:n(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:n(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:n(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:n(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:n(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),The_types_of_0_are_incompatible_between_these_types:n(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:n(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:n(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:n(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Duplicate_identifier_0:n(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:n(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:n(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:n(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:n(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:n(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:n(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:n(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:n(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:n(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:n(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:n(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:n(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:n(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:n(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:n(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:n(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:n(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:n(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:n(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:n(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:n(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:n(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:n(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:n(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:n(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:n(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:n(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:n(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:n(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:n(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:n(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:n(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:n(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:n(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:n(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:n(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:n(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:n(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:n(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:n(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:n(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:n(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:n(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:n(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:n(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:n(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:n(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:n(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:n(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:n(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:n(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:n(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:n(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:n(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:n(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:n(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:n(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:n(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:n(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:n(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:n(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:n(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:n(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:n(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:n(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:n(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:n(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:n(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:n(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:n(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:n(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:n(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:n(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:n(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:n(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:n(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:n(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:n(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:n(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:n(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:n(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:n(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:n(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:n(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:n(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:n(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:n(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:n(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:n(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:n(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:n(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:n(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:n(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:n(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:n(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:n(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:n(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:n(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:n(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:n(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:n(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:n(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:n(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:n(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:n(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:n(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:n(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:n(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:n(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:n(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:n(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:n(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:n(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:n(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:n(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:n(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:n(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:n(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:n(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:n(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:n(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:n(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:n(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:n(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:n(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:n(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:n(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:n(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:n(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:n(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:n(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:n(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:n(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:n(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:n(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:n(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:n(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:n(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:n(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:n(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:n(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:n(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:n(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:n(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:n(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:n(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:n(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:n(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:n(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:n(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:n(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:n(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:n(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:n(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:n(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:n(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:n(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:n(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:n(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:n(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:n(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:n(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:n(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:n(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:n(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:n(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:n(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:n(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:n(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:n(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:n(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:n(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:n(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:n(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:n(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:n(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:n(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:n(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:n(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:n(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:n(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:n(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:n(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:n(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:n(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:n(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:n(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:n(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:n(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:n(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:n(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:n(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:n(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:n(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:n(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:n(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:n(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:n(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:n(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:n(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:n(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:n(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:n(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:n(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:n(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:n(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:n(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:n(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:n(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:n(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:n(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:n(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:n(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:n(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:n(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:n(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:n(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:n(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:n(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:n(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:n(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:n(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:n(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:n(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:n(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:n(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:n(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Element_at_index_0_is_variadic_in_one_type_but_not_in_the_other:n(2622,e.DiagnosticCategory.Error,"Element_at_index_0_is_variadic_in_one_type_but_not_in_the_other_2622","Element at index {0} is variadic in one type but not in the other."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:n(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:n(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:n(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:n(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:n(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:n(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:n(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:n(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:n(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:n(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:n(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:n(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:n(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:n(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:n(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:n(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:n(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:n(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:n(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:n(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:n(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:n(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:n(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:n(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:n(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:n(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:n(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:n(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:n(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:n(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:n(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:n(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:n(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:n(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:n(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:n(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:n(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:n(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:n(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:n(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:n(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:n(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:n(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:n(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:n(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:n(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:n(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:n(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:n(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:n(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:n(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:n(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:n(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:n(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:n(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:n(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:n(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:n(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:n(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:n(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:n(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:n(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:n(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:n(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:n(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:n(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:n(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:n(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:n(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:n(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:n(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:n(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:n(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:n(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:n(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:n(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:n(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:n(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:n(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:n(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:n(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:n(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:n(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:n(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:n(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:n(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:n(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:n(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:n(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:n(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:n(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:n(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),Import_declaration_0_is_using_private_name_1:n(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:n(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:n(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:n(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:n(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:n(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:n(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:n(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:n(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:n(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:n(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:n(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:n(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:n(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:n(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:n(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:n(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:n(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:n(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:n(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:n(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:n(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:n(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:n(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:n(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:n(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:n(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:n(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:n(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:n(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:n(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:n(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:n(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:n(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:n(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:n(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:n(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:n(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:n(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:n(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:n(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:n(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:n(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:n(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:n(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:n(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:n(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:n(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:n(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:n(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:n(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:n(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:n(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:n(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:n(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:n(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:n(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:n(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:n(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:n(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a `...` before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:n(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:n(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:n(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:n(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:n(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:n(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:n(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:n(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:n(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:n(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT:n(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext:n(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'."),Print_this_message:n(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:n(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:n(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:n(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:n(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:n(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unsupported_locale_0:n(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:n(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:n(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:n(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:n(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:n(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:n(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:n(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:n(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:n(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:n(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:n(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:n(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:n(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:n(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:n(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:n(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:n(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:n(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:n(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:n(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:n(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:n(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:n(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:n(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:n(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:n(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:n(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:n(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:n(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:n(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:n(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:n(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:n(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:n(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:n(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:n(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:n(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:n(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:n(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:n(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:n(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:n(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:n(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:n(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:n(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:n(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:n(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:n(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:n(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:n(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:n(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:n(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:n(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:n(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:n(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:n(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:n(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:n(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:n(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:n(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:n(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:n(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:n(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:n(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:n(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:n(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:n(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:n(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:n(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:n(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:n(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:n(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:n(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:n(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:n(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:n(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:n(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:n(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:n(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:n(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:n(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:n(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:n(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:n(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:n(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:n(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:n(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:n(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:n(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:n(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:n(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:n(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:n(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:n(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:n(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:n(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:n(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:n(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:n(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:n(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:n(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:n(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:n(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:n(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:n(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:n(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:n(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:n(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:n(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:n(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:n(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory:n(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling:n(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority:n(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority'."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:n(6228,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6228","Synchronously call callbacks and update the state of directory watchers on platforms that don't support recursive watching natively."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:n(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:n(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:n(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:n(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:n(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:n(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:n(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:n(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Projects_to_reference:n(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:n(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:n(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:n(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:n(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:n(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:n(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:n(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated",void 0,void 0,!0),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:n(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:n(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Variable_0_implicitly_has_an_1_type:n(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:n(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:n(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:n(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:n(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:n(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:n(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:n(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:n(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:n(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:n(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:n(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:n(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:n(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:n(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:n(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:n(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:n(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:n(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:n(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),You_cannot_rename_this_element:n(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:n(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:n(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:n(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:n(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:n(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:n(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:n(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:n(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:n(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:n(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:n(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:n(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:n(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:n(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:n(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:n(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:n(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:n(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:n(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:n(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:n(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:n(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:n(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:n(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:n(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:n(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:n(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:n(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:n(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:n(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:n(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:n(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:n(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:n(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:n(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:n(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:n(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:n(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:n(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:n(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:n(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:n(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:n(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:n(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:n(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:n(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:n(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:n(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:n(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:n(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:n(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:n(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:n(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:n(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:n(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:n(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:n(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:n(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:n(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:n(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:n(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:n(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:n(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:n(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:n(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:n(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:n(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:n(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:n(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:n(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:n(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:n(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:n(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:n(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:n(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:n(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:n(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:n(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:n(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:n(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:n(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:n(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:n(95102,e.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:n(95103,e.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:n(95104,e.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:n(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:n(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:n(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:n(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:n(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:n(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:n(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:n(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:n(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:n(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:n(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:n(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:n(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:n(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:n(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:n(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:n(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:n(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:n(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:n(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:n(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:n(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:n(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:n(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:n(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:n(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:n(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:n(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:n(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:n(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:n(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:n(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:n(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:n(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:n(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:n(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:n(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:n(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:n(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:n(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters"),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:n(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:n(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:n(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:n(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:n(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:n(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:n(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:n(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:n(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:n(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier"),A_method_cannot_be_named_with_a_private_identifier:n(18022,e.DiagnosticCategory.Error,"A_method_cannot_be_named_with_a_private_identifier_18022","A method cannot be named with a private identifier."),An_accessor_cannot_be_named_with_a_private_identifier:n(18023,e.DiagnosticCategory.Error,"An_accessor_cannot_be_named_with_a_private_identifier_18023","An accessor cannot be named with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:n(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:n(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:n(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:n(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:n(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:n(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:n(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:n(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:n(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:n(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:n(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.")}}(p||(p={})),function(e){var n;function t(e){return e>=78}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||t(e)};var r=((n={abstract:125,any:128,as:126,asserts:127,bigint:154,boolean:131,break:80,case:81,catch:82,class:83,continue:85,const:84}).constructor=132,n.debugger=86,n.declare=133,n.default=87,n.delete=88,n.do=89,n.else=90,n.enum=91,n.export=92,n.extends=93,n.false=94,n.finally=95,n.for=96,n.from=152,n.function=97,n.get=134,n.if=98,n.implements=116,n.import=99,n.in=100,n.infer=135,n.instanceof=101,n.interface=117,n.is=136,n.keyof=137,n.let=118,n.module=138,n.namespace=139,n.never=140,n.new=102,n.null=103,n.number=143,n.object=144,n.package=119,n.private=120,n.protected=121,n.public=122,n.readonly=141,n.require=142,n.global=153,n.return=104,n.set=145,n.static=123,n.string=146,n.super=105,n.switch=106,n.symbol=147,n.this=107,n.throw=108,n.true=109,n.try=110,n.type=148,n.typeof=111,n.undefined=149,n.unique=150,n.unknown=151,n.var=112,n.void=113,n.while=114,n.with=115,n.yield=124,n.async=129,n.await=130,n.of=155,n),a=new e.Map(e.getEntries(r)),i=new e.Map(e.getEntries(s(s({},r),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,"</":30,">>":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":77,"||=":74,"&&=":75,"??=":76,"@":59,"`":61}))),o=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],c=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],l=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],u=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],d=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],p=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],f=/^\s*\/\/\/?\s*@(ts-expect-error|ts-ignore)/,m=/^\s*(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function _(e,n){if(e<n[0])return!1;for(var t,r=0,a=n.length;r+1<a;){if(t=r+(a-r)/2,n[t-=t%2]<=e&&e<=n[t+1])return!0;e<n[t]?a=t:r=t+2}return!1}function g(e,n){return _(e,n>=2?d:1===n?l:o)}e.isUnicodeIdentifierStart=g;var y,h=(y=[],i.forEach((function(e,n){y[e]=n})),y);function v(e){for(var n=new Array,t=0,r=0;t<e.length;){var a=e.charCodeAt(t);switch(t++,a){case 13:10===e.charCodeAt(t)&&t++;case 10:n.push(r),r=t;break;default:a>127&&A(a)&&(n.push(r),r=t)}}return n.push(r),n}function b(n,t,r,a,i){(t<0||t>=n.length)&&(i?t=t<0?0:t>=n.length?n.length-1:t:e.Debug.fail("Bad line number. Line: "+t+", lineStarts.length: "+n.length+" , line map is correct? "+(void 0!==a?e.arraysEqual(n,v(a)):"unknown")));var o=n[t]+r;return i?o>n[t+1]?n[t+1]:"string"==typeof a&&o>a.length?a.length:o:(t<n.length-1?e.Debug.assert(o<n[t+1]):void 0!==a&&e.Debug.assert(o<=a.length),o)}function E(e){return e.lineMap||(e.lineMap=v(e.text))}function T(e,n){var t=S(e,n);return{line:t,character:n-e[t]}}function S(n,t,r){var a=e.binarySearch(n,t,e.identity,e.compareValues,r);return a<0&&(a=~a-1,e.Debug.assert(-1!==a,"position cannot precede the beginning of the file")),a}function L(e){return x(e)||A(e)}function x(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function A(e){return 10===e||13===e||8232===e||8233===e}function D(e){return e>=48&&e<=57}function C(e){return D(e)||e>=65&&e<=70||e>=97&&e<=102}function I(e){return e>=48&&e<=55}e.tokenToString=function(e){return h[e]},e.stringToToken=function(e){return i.get(e)},e.computeLineStarts=v,e.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):b(E(e),n,t,e.text,r)},e.computePositionOfLineAndCharacter=b,e.getLineStarts=E,e.computeLineAndCharacterOfPosition=T,e.computeLineOfPosition=S,e.getLinesBetweenPositions=function(e,n,t){if(n===t)return 0;var r=E(e),a=Math.min(n,t),i=a===t,o=i?n:t,s=S(r,a),c=S(r,o,s);return i?s-c:c-s},e.getLineAndCharacterOfPosition=function(e,n){return T(E(e),n)},e.isWhiteSpaceLike=L,e.isWhiteSpaceSingleLine=x,e.isLineBreak=A,e.isOctalDigit=I,e.couldStartTrivia=function(e,n){var t=e.charCodeAt(n);switch(t){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===n;default:return t>127}},e.skipTrivia=function(n,t,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(t))return t;for(;;){var i=n.charCodeAt(t);switch(i){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(a)break;if(47===n.charCodeAt(t+1)){for(t+=2;t<n.length&&!A(n.charCodeAt(t));)t++;continue}if(42===n.charCodeAt(t+1)){for(t+=2;t<n.length;){if(42===n.charCodeAt(t)&&47===n.charCodeAt(t+1)){t+=2;break}t++}continue}break;case 60:case 124:case 61:case 62:if(R(n,t)){t=k(n,t);continue}break;case 35:if(0===t&&P(n,t)){t=M(n,t);continue}break;default:if(i>127&&L(i)){t++;continue}}return t}};var N="<<<<<<<".length;function R(n,t){if(e.Debug.assert(t>=0),0===t||A(n.charCodeAt(t-1))){var r=n.charCodeAt(t);if(t+N<n.length){for(var a=0;a<N;a++)if(n.charCodeAt(t+a)!==r)return!1;return 61===r||32===n.charCodeAt(t+N)}}return!1}function k(n,t,r){r&&r(e.Diagnostics.Merge_conflict_marker_encountered,t,N);var a=n.charCodeAt(t),i=n.length;if(60===a||62===a)for(;t<i&&!A(n.charCodeAt(t));)t++;else for(e.Debug.assert(124===a||61===a);t<i;){var o=n.charCodeAt(t);if((61===o||62===o)&&o!==a&&R(n,t))break;t++}return t}var O=/^#!.*/;function P(n,t){return e.Debug.assert(0===t),O.test(n)}function M(e,n){return n+=O.exec(e)[0].length}function w(e,n,t,r,a,i,o){var s,c,l,u,d=!1,p=r,f=o;if(0===t){p=!0;var m=U(n);m&&(t=m.length)}e:for(;t>=0&&t<n.length;){var _=n.charCodeAt(t);switch(_){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)break e;p=!0,d&&(u=!0);continue;case 9:case 11:case 12:case 32:t++;continue;case 47:var g=n.charCodeAt(t+1),y=!1;if(47===g||42===g){var h=47===g?2:3,v=t;if(t+=2,47===g)for(;t<n.length;){if(A(n.charCodeAt(t))){y=!0;break}t++}else for(;t<n.length;){if(42===n.charCodeAt(t)&&47===n.charCodeAt(t+1)){t+=2;break}t++}if(p){if(d&&(f=a(s,c,l,u,i,f),!e&&f))return f;s=v,c=t,l=h,u=y,d=!0}continue}break e;default:if(_>127&&L(_)){d&&A(_)&&(u=!0),t++;continue}break e}}return d&&(f=a(s,c,l,u,i,f)),f}function F(e,n,t,r,a){return w(!0,e,n,!1,t,r,a)}function G(e,n,t,r,a){return w(!0,e,n,!0,t,r,a)}function B(e,n,t,r,a,i){return i||(i=[]),i.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function U(e){var n=O.exec(e);if(n)return n[0]}function V(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&g(e,n)}function j(e,n,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===t&&(45===e||58===e)||e>127&&function(e,n){return _(e,n>=2?p:1===n?u:c)}(e,n)}e.isShebangTrivia=P,e.scanShebangTrivia=M,e.forEachLeadingCommentRange=function(e,n,t,r){return w(!1,e,n,!1,t,r)},e.forEachTrailingCommentRange=function(e,n,t,r){return w(!1,e,n,!0,t,r)},e.reduceEachLeadingCommentRange=F,e.reduceEachTrailingCommentRange=G,e.getLeadingCommentRanges=function(e,n){return F(e,n,B,void 0,void 0)},e.getTrailingCommentRanges=function(e,n){return G(e,n,B,void 0,void 0)},e.getShebang=U,e.isIdentifierStart=V,e.isIdentifierPart=j,e.isIdentifierText=function(e,n,t){var r=K(e,0);if(!V(r,n))return!1;for(var a=H(r);a<e.length;a+=H(r))if(!j(r=K(e,a),n,t))return!1;return!0},e.createScanner=function(n,r,i,o,s,c,l){void 0===i&&(i=0);var u,d,p,_,g,y,h,v,b=o,E=0;ce(b,c,l);var T={getStartPos:function(){return p},getTextPos:function(){return u},getToken:function(){return g},getTokenPos:function(){return _},getTokenText:function(){return b.substring(_,u)},getTokenValue:function(){return y},hasUnicodeEscape:function(){return 0!=(1024&h)},hasExtendedUnicodeEscape:function(){return 0!=(8&h)},hasPrecedingLineBreak:function(){return 0!=(1&h)},hasPrecedingJSDocComment:function(){return 0!=(2&h)},isIdentifier:function(){return 78===g||g>115},isReservedWord:function(){return g>=80&&g<=115},isUnterminated:function(){return 0!=(4&h)},getCommentDirectives:function(){return v},getNumericLiteralFlags:function(){return 1008&h},getTokenFlags:function(){return h},reScanGreaterToken:function(){if(31===g){if(62===b.charCodeAt(u))return 62===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=71):(u+=2,g=49):61===b.charCodeAt(u+1)?(u+=2,g=70):(u++,g=48);if(61===b.charCodeAt(u))return u++,g=33}return g},reScanAsteriskEqualsToken:function(){return e.Debug.assert(65===g,"'reScanAsteriskEqualsToken' should only be called on a '*='"),u=_+1,g=62},reScanSlashToken:function(){if(43===g||67===g){for(var t=_+1,r=!1,a=!1;;){if(t>=d){h|=4,S(e.Diagnostics.Unterminated_regular_expression_literal);break}var i=b.charCodeAt(t);if(A(i)){h|=4,S(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===i&&!a){t++;break}91===i?a=!0:92===i?r=!0:93===i&&(a=!1)}t++}for(;t<d&&j(b.charCodeAt(t),n);)t++;u=t,y=b.substring(_,u),g=13}return g},reScanTemplateToken:function(n){return e.Debug.assert(19===g,"'reScanTemplateToken' should only be called on a '}'"),u=_,g=z(n)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return u=_,g=z(!0)},scanJsxIdentifier:function(){if(t(g))for(;u<d;){if(45!==b.charCodeAt(u)){var e=u;if(y+=$(),u===e)break}else y+="-",u++}return g},scanJsxAttributeValue:oe,reScanJsxAttributeValue:function(){return u=_=p,oe()},reScanJsxToken:function(){return u=_=p,g=ie()},reScanLessThanToken:function(){if(47===g)return u=_+1,g=29;return g},reScanQuestionToken:function(){return e.Debug.assert(60===g,"'reScanQuestionToken' should only be called on a '??'"),u=_+1,g=57},scanJsxToken:ie,scanJsDocToken:function(){if(p=_=u,h=0,u>=d)return g=1;var e=K(b,u);switch(u+=H(e),e){case 9:case 11:case 12:case 32:for(;u<d&&x(b.charCodeAt(u));)u++;return g=5;case 64:return g=59;case 13:10===b.charCodeAt(u)&&u++;case 10:return h|=1,g=4;case 42:return g=41;case 123:return g=18;case 125:return g=19;case 91:return g=22;case 93:return g=23;case 60:return g=29;case 62:return g=31;case 61:return g=62;case 44:return g=27;case 46:return g=24;case 96:return g=61;case 92:u--;var t=Z();if(t>=0&&V(t,n))return u+=3,h|=8,y=Y()+$(),g=ee();var r=Q();return r>=0&&V(r,n)?(u+=6,h|=1024,y=String.fromCharCode(r)+$(),g=ee()):(u++,g=0)}if(V(e,n)){for(var a=e;u<d&&j(a=K(b,u),n)||45===b.charCodeAt(u);)u+=H(a);return y=b.substring(_,u),92===a&&(y+=$()),g=ee()}return g=0},scan:re,getText:function(){return b},clearCommentDirectives:function(){v=void 0},setText:ce,setScriptTarget:function(e){n=e},setLanguageVariant:function(e){i=e},setOnError:function(e){s=e},setTextPos:le,setInJSDocType:function(e){E+=e?1:-1},tryScan:function(e){return se(e,!1)},lookAhead:function(e){return se(e,!0)},scanRange:function(e,n,t){var r=d,a=u,i=p,o=_,s=g,c=y,l=h,f=v;ce(b,e,n);var m=t();return d=r,u=a,p=i,_=o,g=s,y=c,h=l,v=f,m}};return e.Debug.isDebugging&&Object.defineProperty(T,"__debugShowCurrentPositionInText",{get:function(){var e=T.getText();return e.slice(0,T.getStartPos())+"║"+e.slice(T.getStartPos())}}),T;function S(e,n,t){if(void 0===n&&(n=u),s){var r=u;u=n,s(e,t||0),u=r}}function N(){for(var n=u,t=!1,r=!1,a="";;){var i=b.charCodeAt(u);if(95!==i){if(!D(i))break;t=!0,r=!1,u++}else h|=512,t?(t=!1,r=!0,a+=b.substring(n,u)):S(r?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),n=++u}return 95===b.charCodeAt(u-1)&&S(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),a+b.substring(n,u)}function O(){var n,t,r=u,a=N();46===b.charCodeAt(u)&&(u++,n=N());var i,o=u;if(69===b.charCodeAt(u)||101===b.charCodeAt(u)){u++,h|=16,43!==b.charCodeAt(u)&&45!==b.charCodeAt(u)||u++;var s=u,c=N();c?(t=b.substring(o,s)+c,o=u):S(e.Diagnostics.Digit_expected)}if(512&h?(i=a,n&&(i+="."+n),t&&(i+=t)):i=b.substring(r,o),void 0!==n||16&h)return w(r,void 0===n&&!!(16&h)),{type:8,value:""+ +i};y=i;var l=te();return w(r),{type:l,value:y}}function w(t,r){if(V(K(b,u),n)){var a=u,i=$().length;1===i&&"n"===b[a]?S(r?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,t,a-t+1):(S(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,a,i),u=a)}}function F(){for(var e=u;I(b.charCodeAt(u));)u++;return+b.substring(e,u)}function G(e,n){var t=U(e,!1,n);return t?parseInt(t,16):-1}function B(e,n){return U(e,!0,n)}function U(n,t,r){for(var a=[],i=!1,o=!1;a.length<n||t;){var s=b.charCodeAt(u);if(r&&95===s)h|=512,i?(i=!1,o=!0):S(o?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++;else{if(i=r,s>=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;a.push(s),u++,o=!1}}return a.length<n&&(a=[]),95===b.charCodeAt(u-1)&&S(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),String.fromCharCode.apply(String,a)}function W(n){void 0===n&&(n=!1);for(var t=b.charCodeAt(u),r="",a=++u;;){if(u>=d){r+=b.substring(a,u),h|=4,S(e.Diagnostics.Unterminated_string_literal);break}var i=b.charCodeAt(u);if(i===t){r+=b.substring(a,u),u++;break}if(92!==i||n){if(A(i)&&!n){r+=b.substring(a,u),h|=4,S(e.Diagnostics.Unterminated_string_literal);break}u++}else r+=b.substring(a,u),r+=J(),a=u}return r}function z(n){for(var t,r=96===b.charCodeAt(u),a=++u,i="";;){if(u>=d){i+=b.substring(a,u),h|=4,S(e.Diagnostics.Unterminated_template_literal),t=r?14:17;break}var o=b.charCodeAt(u);if(96===o){i+=b.substring(a,u),u++,t=r?14:17;break}if(36===o&&u+1<d&&123===b.charCodeAt(u+1)){i+=b.substring(a,u),u+=2,t=r?15:16;break}92!==o?13!==o?u++:(i+=b.substring(a,u),++u<d&&10===b.charCodeAt(u)&&u++,i+="\n",a=u):(i+=b.substring(a,u),i+=J(n),a=u)}return e.Debug.assert(void 0!==t),y=i,t}function J(n){var t=u;if(++u>=d)return S(e.Diagnostics.Unexpected_end_of_text),"";var r=b.charCodeAt(u);switch(u++,r){case 48:return n&&u<d&&D(b.charCodeAt(u))?(u++,h|=2048,b.substring(t,u)):"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(n)for(var a=u;a<u+4;a++)if(a<d&&!C(b.charCodeAt(a))&&123!==b.charCodeAt(a))return u=a,h|=2048,b.substring(t,u);if(u<d&&123===b.charCodeAt(u)){if(u++,n&&!C(b.charCodeAt(u)))return h|=2048,b.substring(t,u);if(n){var i=u,o=B(1,!1),s=o?parseInt(o,16):-1;if(!(s<=1114111&&125===b.charCodeAt(u)))return h|=2048,b.substring(t,u);u=i}return h|=8,Y()}return h|=1024,X(4);case 120:if(n){if(!C(b.charCodeAt(u)))return h|=2048,b.substring(t,u);if(!C(b.charCodeAt(u+1)))return u++,h|=2048,b.substring(t,u)}return X(2);case 13:u<d&&10===b.charCodeAt(u)&&u++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(r)}}function X(n){var t=G(n,!1);return t>=0?String.fromCharCode(t):(S(e.Diagnostics.Hexadecimal_digit_expected),"")}function Y(){var n=B(1,!1),t=n?parseInt(n,16):-1,r=!1;return t<0?(S(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(S(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),u>=d?(S(e.Diagnostics.Unexpected_end_of_text),r=!0):125===b.charCodeAt(u)?u++:(S(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":q(t)}function Q(){if(u+5<d&&117===b.charCodeAt(u+1)){var e=u;u+=2;var n=G(4,!1);return u=e,n}return-1}function Z(){if(n>=2&&117===K(b,u+1)&&123===K(b,u+2)){var e=u;u+=3;var t=B(1,!1),r=t?parseInt(t,16):-1;return u=e,r}return-1}function $(){for(var e="",t=u;u<d;){var r=K(b,u);if(j(r,n))u+=H(r);else{if(92!==r)break;if((r=Z())>=0&&j(r,n)){u+=3,h|=8,e+=Y(),t=u;continue}if(!((r=Q())>=0&&j(r,n)))break;h|=1024,e+=b.substring(t,u),e+=q(r),t=u+=6}}return e+=b.substring(t,u)}function ee(){var e=y.length;if(e>=2&&e<=11){var n=y.charCodeAt(0);if(n>=97&&n<=122){var t=a.get(y);if(void 0!==t)return g=t}}return g=78}function ne(n){for(var t="",r=!1,a=!1;;){var i=b.charCodeAt(u);if(95!==i){if(r=!0,!D(i)||i-48>=n)break;t+=b[u],u++,a=!1}else h|=512,r?(r=!1,a=!0):S(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++}return 95===b.charCodeAt(u-1)&&S(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),t}function te(){if(110===b.charCodeAt(u))return y+="n",384&h&&(y=e.parsePseudoBigInt(y)+"n"),u++,9;var n=128&h?parseInt(y.slice(2),2):256&h?parseInt(y.slice(2),8):+y;return y=""+n,8}function re(){var t;p=u,h=0;for(var a=!1;;){if(_=u,u>=d)return g=1;var o=K(b,u);if(35===o&&0===u&&P(b,u)){if(u=M(b,u),r)continue;return g=6}switch(o){case 10:case 13:if(h|=1,r){u++;continue}return 13===o&&u+1<d&&10===b.charCodeAt(u+1)?u+=2:u++,g=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(r){u++;continue}for(;u<d&&x(b.charCodeAt(u));)u++;return g=5;case 33:return 61===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=37):(u+=2,g=35):(u++,g=53);case 34:case 39:return y=W(),g=10;case 96:return g=z(!1);case 37:return 61===b.charCodeAt(u+1)?(u+=2,g=68):(u++,g=44);case 38:return 38===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=75):(u+=2,g=55):61===b.charCodeAt(u+1)?(u+=2,g=72):(u++,g=50);case 40:return u++,g=20;case 41:return u++,g=21;case 42:if(61===b.charCodeAt(u+1))return u+=2,g=65;if(42===b.charCodeAt(u+1))return 61===b.charCodeAt(u+2)?(u+=3,g=66):(u+=2,g=42);if(u++,E&&!a&&1&h){a=!0;continue}return g=41;case 43:return 43===b.charCodeAt(u+1)?(u+=2,g=45):61===b.charCodeAt(u+1)?(u+=2,g=63):(u++,g=39);case 44:return u++,g=27;case 45:return 45===b.charCodeAt(u+1)?(u+=2,g=46):61===b.charCodeAt(u+1)?(u+=2,g=64):(u++,g=40);case 46:return D(b.charCodeAt(u+1))?(y=O().value,g=8):46===b.charCodeAt(u+1)&&46===b.charCodeAt(u+2)?(u+=3,g=25):(u++,g=24);case 47:if(47===b.charCodeAt(u+1)){for(u+=2;u<d&&!A(b.charCodeAt(u));)u++;if(v=ae(v,b.slice(_,u),f,_),r)continue;return g=2}if(42===b.charCodeAt(u+1)){u+=2,42===b.charCodeAt(u)&&47!==b.charCodeAt(u+1)&&(h|=2);for(var s=!1,c=_;u<d;){var l=b.charCodeAt(u);if(42===l&&47===b.charCodeAt(u+1)){u+=2,s=!0;break}u++,A(l)&&(c=u,h|=1)}if(v=ae(v,b.slice(c,u),m,c),s||S(e.Diagnostics.Asterisk_Slash_expected),r)continue;return s||(h|=4),g=3}return 61===b.charCodeAt(u+1)?(u+=2,g=67):(u++,g=43);case 48:if(u+2<d&&(88===b.charCodeAt(u+1)||120===b.charCodeAt(u+1)))return u+=2,(y=B(1,!0))||(S(e.Diagnostics.Hexadecimal_digit_expected),y="0"),y="0x"+y,h|=64,g=te();if(u+2<d&&(66===b.charCodeAt(u+1)||98===b.charCodeAt(u+1)))return u+=2,(y=ne(2))||(S(e.Diagnostics.Binary_digit_expected),y="0"),y="0b"+y,h|=128,g=te();if(u+2<d&&(79===b.charCodeAt(u+1)||111===b.charCodeAt(u+1)))return u+=2,(y=ne(8))||(S(e.Diagnostics.Octal_digit_expected),y="0"),y="0o"+y,h|=256,g=te();if(u+1<d&&I(b.charCodeAt(u+1)))return y=""+F(),h|=32,g=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t=O(),g=t.type,y=t.value,g;case 58:return u++,g=58;case 59:return u++,g=26;case 60:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return 60===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=69):(u+=2,g=47):61===b.charCodeAt(u+1)?(u+=2,g=32):1===i&&47===b.charCodeAt(u+1)&&42!==b.charCodeAt(u+2)?(u+=2,g=30):(u++,g=29);case 61:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return 61===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=36):(u+=2,g=34):62===b.charCodeAt(u+1)?(u+=2,g=38):(u++,g=62);case 62:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return u++,g=31;case 63:return 46!==b.charCodeAt(u+1)||D(b.charCodeAt(u+2))?63===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=76):(u+=2,g=60):(u++,g=57):(u+=2,g=28);case 91:return u++,g=22;case 93:return u++,g=23;case 94:return 61===b.charCodeAt(u+1)?(u+=2,g=77):(u++,g=52);case 123:return u++,g=18;case 124:if(R(b,u)){if(u=k(b,u,S),r)continue;return g=7}return 124===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=74):(u+=2,g=56):61===b.charCodeAt(u+1)?(u+=2,g=73):(u++,g=51);case 125:return u++,g=19;case 126:return u++,g=54;case 64:return u++,g=59;case 92:var T=Z();if(T>=0&&V(T,n))return u+=3,h|=8,y=Y()+$(),g=ee();var L=Q();return L>=0&&V(L,n)?(u+=6,h|=1024,y=String.fromCharCode(L)+$(),g=ee()):(S(e.Diagnostics.Invalid_character),u++,g=0);case 35:if(0!==u&&"!"===b[u+1])return S(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),u++,g=0;if(u++,V(o=b.charCodeAt(u),n)){for(u++;u<d&&j(o=b.charCodeAt(u),n);)u++;y=b.substring(_,u),92===o&&(y+=$())}else y="#",S(e.Diagnostics.Invalid_character);return g=79;default:if(V(o,n)){for(u+=H(o);u<d&&j(o=K(b,u),n);)u+=H(o);return y=b.substring(_,u),92===o&&(y+=$()),g=ee()}if(x(o)){u+=H(o);continue}if(A(o)){h|=1,u+=H(o);continue}return S(e.Diagnostics.Invalid_character),u+=H(o),g=0}}}function ae(n,t,r,a){var i=function(e,n){var t=n.exec(e);if(!t)return;switch(t[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}return}(t,r);return void 0===i?n:e.append(n,{range:{pos:a,end:u},type:i})}function ie(){if(p=_=u,u>=d)return g=1;var n=b.charCodeAt(u);if(60===n)return 47===b.charCodeAt(u+1)?(u+=2,g=30):(u++,g=29);if(123===n)return u++,g=18;for(var t=0,r=-1;u<d&&(x(n)||(r=u),123!==(n=b.charCodeAt(u)));){if(60===n){if(R(b,u))return u=k(b,u,S),g=7;break}62===n&&S(e.Diagnostics.Unexpected_token_Did_you_mean_or_gt,u,1),125===n&&S(e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,u,1),r>0&&r++,A(n)&&0===t?t=-1:L(n)||(t=u),u++}var a=-1===r?u:r;return y=b.substring(p,a),-1===t?12:11}function oe(){switch(p=u,b.charCodeAt(u)){case 34:case 39:return y=W(!0),g=10;default:return re()}}function se(e,n){var t=u,r=p,a=_,i=g,o=y,s=h,c=e();return c&&!n||(u=t,p=r,_=a,g=i,y=o,h=s),c}function ce(e,n,t){b=e||"",d=void 0===t?b.length:n+t,le(n||0)}function le(n){e.Debug.assert(n>=0),u=n,p=n,_=n,g=0,y=void 0,h=0}};var K=String.prototype.codePointAt?function(e,n){return e.codePointAt(n)}:function(e,n){var t=e.length;if(!(n<0||n>=t)){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&t>n+1){var a=e.charCodeAt(n+1);if(a>=56320&&a<=57343)return 1024*(r-55296)+a-56320+65536}return r}};function H(e){return e>=65536?2:1}var W=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(n){if(e.Debug.assert(0<=n&&n<=1114111),n<=65535)return String.fromCharCode(n);var t=Math.floor((n-65536)/1024)+55296,r=(n-65536)%1024+56320;return String.fromCharCode(t,r)};function q(e){return W(e)}e.utf16EncodeAsString=q}(p||(p={})),function(e){function n(e){return e.start+e.length}function t(e){return 0===e.length}function r(e,n){var t=i(e,n);return t&&0===t.length?void 0:t}function a(e,n,t,r){return t<=e+n&&t+r>=e}function i(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));return r<=a?s(r,a):void 0}function o(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function s(e,n){return o(e,n-e)}function c(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function l(n){return!!Y(n)&&e.every(n.elements,u)}function u(n){return!!e.isOmittedExpression(n)||l(n.name)}function d(n){for(var t=n.parent;e.isBindingElement(t.parent);)t=t.parent.parent;return t.parent}function p(n,t){e.isBindingElement(n)&&(n=d(n));var r=t(n);return 246===n.kind&&(n=n.parent),n&&247===n.kind&&(r|=t(n),n=n.parent),n&&229===n.kind&&(r|=t(n)),r}function f(e){return 0==(8&e.flags)}function m(e){var n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function _(e){return m(e.escapedText)}function g(n){var t=n.parent.parent;if(t){if(ie(t))return y(t);switch(t.kind){case 229:if(t.declarationList&&t.declarationList.declarations[0])return y(t.declarationList.declarations[0]);break;case 230:var r=t.expression;switch(213===r.kind&&62===r.operatorToken.kind&&(r=r.left),r.kind){case 198:return r.name;case 199:var a=r.argumentExpression;if(e.isIdentifier(a))return a}break;case 204:return y(t.expression);case 242:if(ie(t.statement)||ne(t.statement))return y(t.statement)}}}function y(n){var t=E(n);return t&&e.isIdentifier(t)?t:void 0}function h(e){return e.name||g(e)}function v(e){return!!e.name}function b(n){switch(n.kind){case 78:return n;case 328:case 322:var t=n.name;if(156===t.kind)return t.right;break;case 200:case 213:var r=n;switch(e.getAssignmentDeclarationKind(r)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}case 327:return h(n);case 321:return g(n);case 263:var a=n.expression;return e.isIdentifier(a)?a:void 0;case 199:var i=n;if(e.isBindableStaticElementAccessExpression(i))return i.argumentExpression}return n.name}function E(n){if(void 0!==n)return b(n)||(e.isFunctionExpression(n)||e.isClassExpression(n)?T(n):void 0)}function T(n){if(n.parent){if(e.isPropertyAssignment(n.parent)||e.isBindingElement(n.parent))return n.parent.name;if(e.isBinaryExpression(n.parent)&&n===n.parent.right){if(e.isIdentifier(n.parent.left))return n.parent.left;if(e.isAccessExpression(n.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(n.parent.left)}else if(e.isVariableDeclaration(n.parent)&&e.isIdentifier(n.parent.name))return n.parent.name}}function S(n,t){if(n.name){if(e.isIdentifier(n.name)){var r=n.name.escapedText;return I(n.parent,t).filter((function(n){return e.isJSDocParameterTag(n)&&e.isIdentifier(n.name)&&n.name.escapedText===r}))}var a=n.parent.parameters.indexOf(n);e.Debug.assert(a>-1,"Parameters should always be in their parents' parameter list");var i=I(n.parent,t).filter(e.isJSDocParameterTag);if(a<i.length)return[i[a]]}return e.emptyArray}function L(e){return S(e,!1)}function x(n,t){var r=n.name.escapedText;return I(n.parent,t).filter((function(n){return e.isJSDocTemplateTag(n)&&n.typeParameters.some((function(e){return e.name.escapedText===r}))}))}function A(n){return R(n,e.isJSDocReturnTag)}function D(n){var t=R(n,e.isJSDocTypeTag);if(t&&t.typeExpression&&t.typeExpression.type)return t}function C(n){var t=R(n,e.isJSDocTypeTag);return!t&&e.isParameter(n)&&(t=e.find(L(n),(function(e){return!!e.typeExpression}))),t&&t.typeExpression&&t.typeExpression.type}function I(n,t){var r=n.jsDocCache;if(void 0===r||t){var a=e.getJSDocCommentsAndTags(n,t);e.Debug.assert(a.length<2||a[0]!==a[1]),r=e.flatMap(a,(function(n){return e.isJSDoc(n)?n.tags:n})),t||(n.jsDocCache=r)}return r}function N(e){return I(e,!1)}function R(n,t,r){return e.find(I(n,r),t)}function k(e,n){return N(e).filter(n)}function O(e){var n=e.kind;return!!(32&e.flags)&&(198===n||199===n||200===n||222===n)}function P(n){return O(n)&&!e.isNonNullExpression(n)&&!!n.questionDotToken}function M(n){return e.skipOuterExpressions(n,8)}function w(e){switch(e.kind){case 291:case 292:return!0;default:return!1}}function F(e){return e>=156}function G(e){return 8<=e&&e<=14}function B(e){return 14<=e&&e<=17}function U(n){return e.isPropertyDeclaration(n)&&e.isPrivateIdentifier(n.name)}function V(e){switch(e){case 125:case 129:case 84:case 133:case 87:case 92:case 122:case 120:case 121:case 141:case 123:return!0}return!1}function j(n){return!!(92&e.modifierToFlag(n))}function K(e){return e&&W(e.kind)}function H(e){switch(e){case 248:case 164:case 165:case 166:case 167:case 205:case 206:return!0;default:return!1}}function W(e){switch(e){case 163:case 168:case 309:case 169:case 170:case 173:case 304:case 174:return!0;default:return H(e)}}function q(e){var n=e.kind;return 165===n||162===n||164===n||166===n||167===n||170===n||226===n}function z(e){return e&&(249===e.kind||218===e.kind)}function J(e){var n=e.kind;return 169===n||168===n||161===n||163===n||170===n}function X(e){var n=e.kind;return 285===n||286===n||287===n||164===n||166===n||167===n}function Y(e){if(e){var n=e.kind;return 194===n||193===n}return!1}function Q(e){switch(e.kind){case 193:case 197:return!0}return!1}function Z(e){switch(e.kind){case 194:case 196:return!0}return!1}function $(e){switch(e){case 198:case 199:case 201:case 200:case 270:case 271:case 274:case 202:case 196:case 204:case 197:case 218:case 205:case 78:case 13:case 8:case 9:case 10:case 14:case 215:case 94:case 103:case 107:case 109:case 105:case 222:case 223:case 99:return!0;default:return!1}}function ee(e){switch(e){case 211:case 212:case 207:case 208:case 209:case 210:case 203:return!0;default:return $(e)}}function ne(e){return function(e){switch(e){case 214:case 216:case 206:case 213:case 217:case 221:case 219:case 332:case 331:return!0;default:return ee(e)}}(M(e).kind)}function te(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function re(e){return 248===e||268===e||249===e||250===e||251===e||252===e||253===e||258===e||257===e||264===e||263===e||256===e}function ae(e){return 238===e||237===e||245===e||232===e||230===e||228===e||235===e||236===e||234===e||231===e||242===e||239===e||241===e||243===e||244===e||229===e||233===e||240===e||330===e||334===e||333===e}function ie(n){return 158===n.kind?n.parent&&326!==n.parent.kind||e.isInJSFile(n):206===(t=n.kind)||195===t||249===t||218===t||165===t||252===t||288===t||267===t||248===t||205===t||166===t||259===t||257===t||262===t||250===t||277===t||164===t||163===t||253===t||256===t||260===t||266===t||159===t||285===t||162===t||161===t||167===t||286===t||251===t||158===t||246===t||327===t||320===t||328===t;var t}function oe(e){return e.kind>=310&&e.kind<=328}e.isExternalModuleNameRelative=function(n){return e.pathIsRelative(n)||e.isRootedDiskPath(n)},e.sortAndDeduplicateDiagnostics=function(n){return e.sortAndDeduplicate(n,e.compareDiagnostics)},e.getDefaultLibFileName=function(e){switch(e.target){case 99:return"lib.esnext.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}},e.textSpanEnd=n,e.textSpanIsEmpty=t,e.textSpanContainsPosition=function(e,t){return t>=e.start&&t<n(e)},e.textRangeContainsPositionInclusive=function(e,n){return n>=e.pos&&n<=e.end},e.textSpanContainsTextSpan=function(e,t){return t.start>=e.start&&n(t)<=n(e)},e.textSpanOverlapsWith=function(e,n){return void 0!==r(e,n)},e.textSpanOverlap=r,e.textSpanIntersectsWithTextSpan=function(e,n){return a(e.start,e.length,n.start,n.length)},e.textSpanIntersectsWith=function(e,n,t){return a(e.start,e.length,n,t)},e.decodedTextSpanIntersectsWith=a,e.textSpanIntersectsWithPosition=function(e,t){return t<=n(e)&&t>=e.start},e.textSpanIntersection=i,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return t(e.span)&&0===e.newLength},e.createTextChangeRange=c,e.unchangedTextChangeRange=c(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var r=t[0],a=r.span.start,i=n(r.span),o=a+r.newLength,l=1;l<t.length;l++){var u=t[l],d=a,p=i,f=o,m=u.span.start,_=n(u.span),g=m+u.newLength;a=Math.min(d,m),i=Math.max(p,p+(_-f)),o=Math.max(g,g+(f-_))}return c(s(a,i),o-a)},e.getTypeParameterOwner=function(e){if(e&&158===e.kind)for(var n=e;n;n=n.parent)if(K(n)||z(n)||250===n.kind)return n},e.isParameterPropertyDeclaration=function(n,t){return e.hasSyntacticModifier(n,92)&&165===t.kind},e.isEmptyBindingPattern=l,e.isEmptyBindingElement=u,e.walkUpBindingElementsAndPatterns=d,e.getCombinedModifierFlags=function(n){return p(n,e.getEffectiveModifierFlags)},e.getCombinedNodeFlagsAlwaysIncludeJSDoc=function(n){return p(n,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc)},e.getCombinedNodeFlags=function(e){return p(e,(function(e){return e.flags}))},e.validateLocaleAndSetLanguage=function(n,t,r){var a=/^([a-z]+)([_\-]([a-z]+))?$/.exec(n.toLowerCase());if(a){var i=a[1];o(i,a[3],r)||o(i,void 0,r),e.setUILocale(n)}else r&&r.push(e.createCompilerDiagnostic(e.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));function o(n,r,a){var i=e.normalizePath(t.getExecutingFilePath()),o=e.getDirectoryPath(i),s=e.combinePaths(o,n);if(r&&(s=s+"-"+r),s=t.resolvePath(e.combinePaths(s,"diagnosticMessages.generated.json")),!t.fileExists(s))return!1;var c="";try{c=t.readFile(s)}catch(n){return a&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file_0,s)),!1}try{e.setLocalizedDiagnosticMessages(JSON.parse(c))}catch(n){return a&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Corrupted_locale_file_0,s)),!1}return!0}},e.getOriginalNode=function(e,n){if(e)for(;void 0!==e.original;)e=e.original;return!n||n(e)?e:void 0},e.isParseTreeNode=f,e.getParseTreeNode=function(e,n){if(void 0===e||f(e))return e;for(e=e.original;e;){if(f(e))return!n||n(e)?e:void 0;e=e.original}},e.escapeLeadingUnderscores=function(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=m,e.idText=_,e.symbolName=function(e){return e.valueDeclaration&&U(e.valueDeclaration)?_(e.valueDeclaration.name):m(e.escapedName)},e.nodeHasName=function n(t,r){return!(!v(t)||!e.isIdentifier(t.name)||_(t.name)!==_(r))||!(!e.isVariableStatement(t)||!e.some(t.declarationList.declarations,(function(e){return n(e,r)})))},e.getNameOfJSDocTypedef=h,e.isNamedDeclaration=v,e.getNonAssignedNameOfDeclaration=b,e.getNameOfDeclaration=E,e.getAssignedName=T,e.getJSDocParameterTags=L,e.getJSDocParameterTagsNoCache=function(e){return S(e,!0)},e.getJSDocTypeParameterTags=function(e){return x(e,!1)},e.getJSDocTypeParameterTagsNoCache=function(e){return x(e,!0)},e.hasJSDocParameterTags=function(n){return!!R(n,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(n){return R(n,e.isJSDocAugmentsTag)},e.getJSDocImplementsTags=function(n){return k(n,e.isJSDocImplementsTag)},e.getJSDocClassTag=function(n){return R(n,e.isJSDocClassTag)},e.getJSDocPublicTag=function(n){return R(n,e.isJSDocPublicTag)},e.getJSDocPublicTagNoCache=function(n){return R(n,e.isJSDocPublicTag,!0)},e.getJSDocPrivateTag=function(n){return R(n,e.isJSDocPrivateTag)},e.getJSDocPrivateTagNoCache=function(n){return R(n,e.isJSDocPrivateTag,!0)},e.getJSDocProtectedTag=function(n){return R(n,e.isJSDocProtectedTag)},e.getJSDocProtectedTagNoCache=function(n){return R(n,e.isJSDocProtectedTag,!0)},e.getJSDocReadonlyTag=function(n){return R(n,e.isJSDocReadonlyTag)},e.getJSDocReadonlyTagNoCache=function(n){return R(n,e.isJSDocReadonlyTag,!0)},e.getJSDocDeprecatedTag=function(n){return R(n,e.isJSDocDeprecatedTag)},e.getJSDocDeprecatedTagNoCache=function(n){return R(n,e.isJSDocDeprecatedTag,!0)},e.getJSDocEnumTag=function(n){return R(n,e.isJSDocEnumTag)},e.getJSDocThisTag=function(n){return R(n,e.isJSDocThisTag)},e.getJSDocReturnTag=A,e.getJSDocTemplateTag=function(n){return R(n,e.isJSDocTemplateTag)},e.getJSDocTypeTag=D,e.getJSDocType=C,e.getJSDocReturnType=function(n){var t=A(n);if(t&&t.typeExpression)return t.typeExpression.type;var r=D(n);if(r&&r.typeExpression){var a=r.typeExpression.type;if(e.isTypeLiteralNode(a)){var i=e.find(a.members,e.isCallSignatureDeclaration);return i&&i.type}if(e.isFunctionTypeNode(a)||e.isJSDocFunctionType(a))return a.type}},e.getJSDocTags=N,e.getJSDocTagsNoCache=function(e){return I(e,!0)},e.getAllJSDocTags=k,e.getAllJSDocTagsOfKind=function(e,n){return N(e).filter((function(e){return e.kind===n}))},e.getEffectiveTypeParameterDeclarations=function(n){if(e.isJSDocSignature(n))return e.emptyArray;if(e.isJSDocTypeAlias(n))return e.Debug.assert(307===n.parent.kind),e.flatMap(n.parent.tags,(function(n){return e.isJSDocTemplateTag(n)?n.typeParameters:void 0}));if(n.typeParameters)return n.typeParameters;if(e.isInJSFile(n)){var t=e.getJSDocTypeParameterDeclarations(n);if(t.length)return t;var r=C(n);if(r&&e.isFunctionTypeNode(r)&&r.typeParameters)return r.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(n){return n.constraint?n.constraint:e.isJSDocTemplateTag(n.parent)&&n===n.parent.typeParameters[0]?n.parent.constraint:void 0},e.isIdentifierOrPrivateIdentifier=function(e){return 78===e.kind||79===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 167===e.kind||166===e.kind},e.isPropertyAccessChain=function(n){return e.isPropertyAccessExpression(n)&&!!(32&n.flags)},e.isElementAccessChain=function(n){return e.isElementAccessExpression(n)&&!!(32&n.flags)},e.isCallChain=function(n){return e.isCallExpression(n)&&!!(32&n.flags)},e.isOptionalChain=O,e.isOptionalChainRoot=P,e.isExpressionOfOptionalChainRoot=function(e){return P(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!O(e.parent)||P(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 213===e.kind&&60===e.operatorToken.kind},e.isConstTypeReference=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"const"===n.typeName.escapedText&&!n.typeArguments},e.skipPartiallyEmittedExpressions=M,e.isNonNullChain=function(n){return e.isNonNullExpression(n)&&!!(32&n.flags)},e.isBreakOrContinueStatement=function(e){return 238===e.kind||237===e.kind},e.isNamedExportBindings=function(e){return 266===e.kind||265===e.kind},e.isUnparsedTextLike=w,e.isUnparsedNode=function(e){return w(e)||289===e.kind||293===e.kind},e.isJSDocPropertyLikeTag=function(e){return 328===e.kind||322===e.kind},e.isNode=function(e){return F(e.kind)},e.isNodeKind=F,e.isToken=function(e){return e.kind>=0&&e.kind<=155},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=G,e.isLiteralExpression=function(e){return G(e.kind)},e.isTemplateLiteralKind=B,e.isTemplateLiteralToken=function(e){return B(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var n=e.kind;return 16===n||17===n},e.isImportOrExportSpecifier=function(n){return e.isImportSpecifier(n)||e.isExportSpecifier(n)},e.isTypeOnlyImportOrExportDeclaration=function(e){switch(e.kind){case 262:case 267:return e.parent.parent.isTypeOnly;case 260:return e.parent.isTypeOnly;case 259:return e.isTypeOnly;default:return!1}},e.isStringTextContainingNode=function(e){return 10===e.kind||B(e.kind)},e.isGeneratedIdentifier=function(n){return e.isIdentifier(n)&&(7&n.autoGenerateFlags)>0},e.isPrivateIdentifierPropertyDeclaration=U,e.isPrivateIdentifierPropertyAccessExpression=function(n){return e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name)},e.isModifierKind=V,e.isParameterPropertyModifier=j,e.isClassMemberModifier=function(e){return j(e)||123===e},e.isModifier=function(e){return V(e.kind)},e.isEntityName=function(e){var n=e.kind;return 156===n||78===n},e.isPropertyName=function(e){var n=e.kind;return 78===n||79===n||10===n||8===n||157===n},e.isBindingName=function(e){var n=e.kind;return 78===n||193===n||194===n},e.isFunctionLike=K,e.isFunctionLikeDeclaration=function(e){return e&&H(e.kind)},e.isFunctionLikeKind=W,e.isFunctionOrModuleBlock=function(n){return e.isSourceFile(n)||e.isModuleBlock(n)||e.isBlock(n)&&K(n.parent)},e.isClassElement=q,e.isClassLike=z,e.isAccessor=function(e){return e&&(166===e.kind||167===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 164:case 166:case 167:return!0;default:return!1}},e.isTypeElement=J,e.isClassOrTypeElement=function(e){return J(e)||q(e)},e.isObjectLiteralElementLike=X,e.isTypeNode=function(n){return e.isTypeNodeKind(n.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 173:case 174:return!0}return!1},e.isBindingPattern=Y,e.isAssignmentPattern=function(e){var n=e.kind;return 196===n||197===n},e.isArrayBindingElement=function(e){var n=e.kind;return 195===n||219===n},e.isDeclarationBindingElement=function(e){switch(e.kind){case 246:case 159:case 195:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return Q(e)||Z(e)},e.isObjectBindingOrAssignmentPattern=Q,e.isArrayBindingOrAssignmentPattern=Z,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var n=e.kind;return 198===n||156===n||192===n},e.isPropertyAccessOrQualifiedName=function(e){var n=e.kind;return 198===n||156===n},e.isCallLikeExpression=function(e){switch(e.kind){case 272:case 271:case 200:case 201:case 202:case 160:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 200===e.kind||201===e.kind},e.isTemplateLiteral=function(e){var n=e.kind;return 215===n||14===n},e.isLeftHandSideExpression=function(e){return $(M(e).kind)},e.isUnaryExpression=function(e){return ee(M(e).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 212:return!0;case 211:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=ne,e.isAssertionExpression=function(e){var n=e.kind;return 203===n||221===n},e.isNotEmittedOrPartiallyEmittedNode=function(n){return e.isNotEmittedStatement(n)||e.isPartiallyEmittedExpression(n)},e.isIterationStatement=function e(n,t){switch(n.kind){case 234:case 235:case 236:case 232:case 233:return!0;case 242:return t&&e(n.statement,t)}return!1},e.isScopeMarker=te,e.hasScopeMarker=function(n){return e.some(n,te)},e.needsScopeMarker=function(n){return!(e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasSyntacticModifier(n,1)||e.isAmbientModule(n))},e.isExternalModuleIndicator=function(n){return e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasSyntacticModifier(n,1)},e.isForInOrOfStatement=function(e){return 235===e.kind||236===e.kind},e.isConciseBody=function(n){return e.isBlock(n)||ne(n)},e.isFunctionBody=function(n){return e.isBlock(n)},e.isForInitializer=function(n){return e.isVariableDeclarationList(n)||ne(n)},e.isModuleBody=function(e){var n=e.kind;return 254===n||253===n||78===n},e.isNamespaceBody=function(e){var n=e.kind;return 254===n||253===n},e.isJSDocNamespaceBody=function(e){var n=e.kind;return 78===n||253===n},e.isNamedImportBindings=function(e){var n=e.kind;return 261===n||260===n},e.isModuleOrEnumDeclaration=function(e){return 253===e.kind||252===e.kind},e.isDeclaration=ie,e.isDeclarationStatement=function(e){return re(e.kind)},e.isStatementButNotDeclaration=function(e){return ae(e.kind)},e.isStatement=function(n){var t=n.kind;return ae(t)||re(t)||function(n){if(227!==n.kind)return!1;if(void 0!==n.parent&&(244===n.parent.kind||284===n.parent.kind))return!1;return!e.isFunctionBlock(n)}(n)},e.isStatementOrBlock=function(e){var n=e.kind;return ae(n)||re(n)||227===n},e.isModuleReference=function(e){var n=e.kind;return 269===n||156===n||78===n},e.isJsxTagNameExpression=function(e){var n=e.kind;return 107===n||78===n||198===n},e.isJsxChild=function(e){var n=e.kind;return 270===n||280===n||271===n||11===n||274===n},e.isJsxAttributeLike=function(e){var n=e.kind;return 277===n||279===n},e.isStringLiteralOrJsxExpression=function(e){var n=e.kind;return 10===n||280===n},e.isJsxOpeningLikeElement=function(e){var n=e.kind;return 272===n||271===n},e.isCaseOrDefaultClause=function(e){var n=e.kind;return 281===n||282===n},e.isJSDocNode=function(e){return e.kind>=298&&e.kind<=328},e.isJSDocCommentContainingNode=function(n){return 307===n.kind||306===n.kind||oe(n)||e.isJSDocTypeLiteral(n)||e.isJSDocSignature(n)},e.isJSDocTag=oe,e.isSetAccessor=function(e){return 167===e.kind},e.isGetAccessor=function(e){return 166===e.kind},e.hasJSDocNodes=function(e){var n=e.jsDoc;return!!n&&n.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=function(e){return!!e.initializer},e.hasOnlyExpressionInitializer=function(e){switch(e.kind){case 246:case 159:case 195:case 161:case 162:case 285:case 288:return!0;default:return!1}},e.isObjectLiteralElement=function(e){return 277===e.kind||279===e.kind||X(e)},e.isTypeReferenceType=function(e){return 172===e.kind||220===e.kind};e.guessIndentation=function(n){for(var t=1073741823,r=0,a=n;r<a.length;r++){var i=a[r];if(i.length){for(var o=0;o<i.length&&o<t&&e.isWhiteSpaceLike(i.charCodeAt(o));o++);if(o<t&&(t=o),0===t)return 0}}return 1073741823===t?void 0:t},e.isStringLiteralLike=function(e){return 10===e.kind||14===e.kind}}(p||(p={})),function(e){e.resolvingEmptyArray=[],e.externalHelpersModuleNameText="tslib",e.defaultMaximumTruncationLength=160,e.noTruncationMaximumTruncationLength=1e6,e.getDeclarationOfKind=function(e,n){var t=e.declarations;if(t)for(var r=0,a=t;r<a.length;r++){var i=a[r];if(i.kind===n)return i}},e.createUnderscoreEscapedMap=function(){return new e.Map},e.hasEntries=function(e){return!!e&&!!e.size},e.createSymbolTable=function(n){var t=new e.Map;if(n)for(var r=0,a=n;r<a.length;r++){var i=a[r];t.set(i.escapedName,i)}return t},e.isTransientSymbol=function(e){return 0!=(33554432&e.flags)};var n,t,r=(n="",{getText:function(){return n},write:t=function(e){return n+=e},rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:function(e,n){return t(e)},writeTrailingSemicolon:t,writeComment:t,getTextPos:function(){return n.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!n.length&&e.isWhiteSpaceLike(n.charCodeAt(n.length-1))},writeLine:function(){return n+=" "},increaseIndent:e.noop,decreaseIndent:e.noop,clear:function(){return n=""},trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop});function a(n,t){return e.moduleResolutionOptionDeclarations.some((function(e){return!zr(pr(n,e),pr(t,e))}))}function i(e,n){for(;e;){var t=n(e);if("quit"===t)return;if(t)return e;e=e.parent}}function c(e){return e.end-e.pos}function l(n){return function(n){if(!(524288&n.flags)){(0!=(65536&n.flags)||e.forEachChild(n,l))&&(n.flags|=262144),n.flags|=524288}}(n),0!=(262144&n.flags)}function u(e){for(;e&&294!==e.kind;)e=e.parent;return e}function d(n,t){e.Debug.assert(n>=0);var r=e.getLineStarts(t),a=n,i=t.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;for(e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));o<=s&&e.isLineBreak(i.charCodeAt(s));)s--;return s}function p(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function f(e){return!p(e)}function m(e,n,t){if(void 0===n||0===n.length)return e;for(var r=0;r<e.length&&t(e[r]);++r);return e.splice.apply(e,o([r,0],n)),e}function _(e,n,t){if(void 0===n)return e;for(var r=0;r<e.length&&t(e[r]);++r);return e.splice(r,0,n),e}function g(e){return K(e)||!!(1048576&S(e))}function y(e,n){return 42===e.charCodeAt(n+1)&&33===e.charCodeAt(n+2)}function h(n,t,r){return p(n)?n.pos:e.isJSDocNode(n)||11===n.kind?e.skipTrivia((t||u(n)).text,n.pos,!1,!0):r&&e.hasJSDocNodes(n)?h(n.jsDoc[0],t):329===n.kind&&n._children.length>0?h(n._children[0],t,r):e.skipTrivia((t||u(n)).text,n.pos)}function v(e,n,t){return void 0===t&&(t=!1),b(e.text,n,t)}function b(n,t,r){if(void 0===r&&(r=!1),p(t))return"";var a=n.substring(r?t.pos:e.skipTrivia(n,t.pos),t.end);return function(n){return!!i(n,e.isJSDocTypeExpression)}(t)&&(a=a.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),a}function E(e,n){return void 0===n&&(n=!1),v(u(e),e,n)}function T(e){return e.pos}function S(e){var n=e.emitNode;return n&&n.flags||0}function L(e){var n=hn(e);return 246===n.kind&&284===n.parent.kind}function x(n){return e.isModuleDeclaration(n)&&(10===n.name.kind||D(n))}function A(n){return e.isModuleDeclaration(n)||e.isIdentifier(n)}function D(e){return!!(1024&e.flags)}function C(e){return x(e)&&I(e)}function I(n){switch(n.parent.kind){case 294:return e.isExternalModule(n.parent);case 254:return x(n.parent.parent)&&e.isSourceFile(n.parent.parent.parent)&&!e.isExternalModule(n.parent.parent.parent)}return!1}function N(n,t){switch(n.kind){case 294:case 255:case 284:case 253:case 234:case 235:case 236:case 165:case 164:case 166:case 167:case 248:case 205:case 206:return!0;case 227:return!e.isFunctionLike(t)}return!1}function R(n){switch(n.kind){case 168:case 169:case 163:case 170:case 173:case 174:case 304:case 249:case 218:case 250:case 251:case 326:case 248:case 164:case 165:case 166:case 167:case 205:case 206:return!0;default:return e.assertType(n),!1}}function k(e){switch(e.kind){case 258:case 257:return!0;default:return!1}}function O(e){return e&&0!==c(e)?E(e):"(Missing)"}function P(n){switch(n.kind){case 78:case 79:return n.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(n.text);case 157:return cn(n.expression)?e.escapeLeadingUnderscores(n.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(n)}}function M(n){switch(n.kind){case 107:return"this";case 79:case 78:return 0===c(n)?e.idText(n):E(n);case 156:return M(n.left)+"."+M(n.right);case 198:return e.isIdentifier(n.name)||e.isPrivateIdentifier(n.name)?M(n.expression)+"."+M(n.name):e.Debug.assertNever(n.name);default:return e.Debug.assertNever(n)}}function w(e,n,t,r,a,i,o){var s=G(e,n);return rr(e,s.start,s.length,t,r,a,i,o)}function F(n,t){var r=e.createScanner(n.languageVersion,!0,n.languageVariant,n.text,void 0,t);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function G(n,t){var r=t;switch(t.kind){case 294:var a=e.skipTrivia(n.text,0,!1);return a===n.text.length?e.createTextSpan(0,0):F(n,a);case 246:case 195:case 249:case 218:case 250:case 253:case 252:case 288:case 248:case 205:case 164:case 166:case 167:case 251:case 162:case 161:r=t.name;break;case 206:return function(n,t){var r=e.skipTrivia(n.text,t.pos);if(t.body&&227===t.body.kind){var a=e.getLineAndCharacterOfPosition(n,t.body.pos).line;if(a<e.getLineAndCharacterOfPosition(n,t.body.end).line)return e.createTextSpan(r,d(a,n)-r+1)}return e.createTextSpanFromBounds(r,t.end)}(n,t);case 281:case 282:var i=e.skipTrivia(n.text,t.pos),o=t.statements.length>0?t.statements[0].pos:t.end;return e.createTextSpanFromBounds(i,o)}if(void 0===r)return F(n,t.pos);e.Debug.assert(!e.isJSDoc(r));var s=p(r),c=s||e.isJsxText(t)?r.pos:e.skipTrivia(n.text,r.pos);return s?(e.Debug.assert(c===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,r.end)}function B(e){return 6===e.scriptKind}function U(n){return!!(2&e.getCombinedNodeFlags(n))}function V(e){return 200===e.kind&&99===e.expression.kind}function j(n){return e.isImportTypeNode(n)&&e.isLiteralTypeNode(n.argument)&&e.isStringLiteral(n.argument.literal)}function K(e){return 230===e.kind&&10===e.expression.kind}function H(e){return!!(1048576&S(e))}function W(n){return e.isIdentifier(n.name)&&!n.initializer}e.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||a(e,n)},e.optionsHaveModuleResolutionChanges=a,e.findAncestor=i,e.forEachAncestor=function(n,t){for(;;){var r=t(n);if("quit"===r)return;if(void 0!==r)return r;if(e.isSourceFile(n))return;n=n.parent}},e.forEachEntry=function(e,n){for(var t=e.entries(),r=t.next();!r.done;r=t.next()){var a=r.value,i=a[0],o=n(a[1],i);if(o)return o}},e.forEachKey=function(e,n){for(var t=e.keys(),r=t.next();!r.done;r=t.next()){var a=n(r.value);if(a)return a}},e.copyEntries=function(e,n){e.forEach((function(e,t){n.set(t,e)}))},e.usingSingleLineStringWriter=function(e){var n=r.getText();try{return e(r),r.getText()}finally{r.clear(),r.writeKeyword(n)}},e.getFullWidth=c,e.getResolvedModule=function(e,n){return e&&e.resolvedModules&&e.resolvedModules.get(n)},e.setResolvedModule=function(n,t,r){n.resolvedModules||(n.resolvedModules=new e.Map),n.resolvedModules.set(t,r)},e.setResolvedTypeReferenceDirective=function(n,t,r){n.resolvedTypeReferenceDirectiveNames||(n.resolvedTypeReferenceDirectiveNames=new e.Map),n.resolvedTypeReferenceDirectiveNames.set(t,r)},e.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular},e.moduleResolutionIsEqualTo=function(e,n){return e.isExternalLibraryImport===n.isExternalLibraryImport&&e.extension===n.extension&&e.resolvedFileName===n.resolvedFileName&&e.originalPath===n.originalPath&&(t=e.packageId,r=n.packageId,t===r||!!t&&!!r&&t.name===r.name&&t.subModuleName===r.subModuleName&&t.version===r.version);var t,r},e.packageIdToString=function(e){var n=e.name,t=e.subModuleName;return(t?n+"/"+t:n)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary},e.hasChangesInResolutions=function(n,t,r,a){e.Debug.assert(n.length===t.length);for(var i=0;i<n.length;i++){var o=t[i],s=r&&r.get(n[i]);if(s?!o||!a(s,o):o)return!0}return!1},e.containsParseError=l,e.getSourceFileOfNode=u,e.isStatementWithLocals=function(e){switch(e.kind){case 227:case 255:case 234:case 235:case 236:return!0}return!1},e.getStartPositionOfLine=function(n,t){return e.Debug.assert(n>=0),e.getLineStarts(t)[n]},e.nodePosToString=function(n){var t=u(n),r=e.getLineAndCharacterOfPosition(t,n.pos);return t.fileName+"("+(r.line+1)+","+(r.character+1)+")"},e.getEndLinePosition=d,e.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n)||e.identifiers.has(n))},e.nodeIsMissing=p,e.nodeIsPresent=f,e.insertStatementsAfterStandardPrologue=function(e,n){return m(e,n,K)},e.insertStatementsAfterCustomPrologue=function(e,n){return m(e,n,g)},e.insertStatementAfterStandardPrologue=function(e,n){return _(e,n,K)},e.insertStatementAfterCustomPrologue=function(e,n){return _(e,n,g)},e.isRecognizedTripleSlashComment=function(n,t,r){if(47===n.charCodeAt(t+1)&&t+2<r&&47===n.charCodeAt(t+2)){var a=n.substring(t,r);return!!(a.match(e.fullTripleSlashReferencePathRegEx)||a.match(e.fullTripleSlashAMDReferencePathRegEx)||a.match(q)||a.match(z))}return!1},e.isPinnedComment=y,e.createCommentDirectivesMap=function(n,t){var r=new e.Map(t.map((function(t){return[""+e.getLineAndCharacterOfPosition(n,t.range.end).line,t]}))),a=new e.Map;return{getUnusedExpectations:function(){return e.arrayFrom(r.entries()).filter((function(e){var n=e[0];return 0===e[1].type&&!a.get(n)})).map((function(e){e[0];return e[1]}))},markUsed:function(e){if(!r.has(""+e))return!1;return a.set(""+e,!0),!0}}},e.getTokenPosOfNode=h,e.getNonDecoratorTokenPosOfNode=function(n,t){return p(n)||!n.decorators?h(n,t):e.skipTrivia((t||u(n)).text,n.decorators.end)},e.getSourceTextOfNodeFromSourceFile=v,e.getTextOfNodeFromSourceText=b,e.getTextOfNode=E,e.indexOfNode=function(n,t){return e.binarySearch(n,t,T,e.compareValues)},e.getEmitFlags=S,e.getLiteralText=function(n,t,r,a){if(!vn(n)&&n.parent&&!(e.isNumericLiteral(n)&&512&n.numericLiteralFlags||e.isBigIntLiteral(n)))return v(t,n);switch(n.kind){case 10:var i=a?Gn:r||16777216&S(n)?Rn:On;return n.singleQuote?"'"+i(n.text,39)+"'":'"'+i(n.text,34)+'"';case 14:case 15:case 16:case 17:i=r||16777216&S(n)?Rn:On;var o=n.rawText||function(e){return e.replace(Ln,"\\${")}(i(n.text,96));switch(n.kind){case 14:return"`"+o+"`";case 15:return"`"+o+"${";case 16:return"}"+o+"${";case 17:return"}"+o+"`"}break;case 8:case 9:case 13:return n.text}return e.Debug.fail("Literal kind '"+n.kind+"' not accounted for.")},e.getTextOfConstantValue=function(n){return e.isString(n)?'"'+On(n)+'"':""+n},e.makeIdentifierFromModuleName=function(n){return e.getBaseFileName(n).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},e.isBlockOrCatchScoped=function(n){return 0!=(3&e.getCombinedNodeFlags(n))||L(n)},e.isCatchClauseVariableDeclarationOrBindingElement=L,e.isAmbientModule=x,e.isModuleWithStringLiteralName=function(n){return e.isModuleDeclaration(n)&&10===n.name.kind},e.isNonGlobalAmbientModule=function(n){return e.isModuleDeclaration(n)&&e.isStringLiteral(n.name)},e.isEffectiveModuleDeclaration=A,e.isShorthandAmbientModuleSymbol=function(e){return(n=e.valueDeclaration)&&253===n.kind&&!n.body;var n},e.isBlockScopedContainerTopLevel=function(n){return 294===n.kind||253===n.kind||e.isFunctionLike(n)},e.isGlobalScopeAugmentation=D,e.isExternalModuleAugmentation=C,e.isModuleAugmentationExternal=I,e.getNonAugmentationDeclaration=function(n){return e.find(n.declarations,(function(n){return!(C(n)||e.isModuleDeclaration(n)&&D(n))}))},e.isEffectiveExternalModule=function(n,t){return e.isExternalModule(n)||t.isolatedModules||lr(t)===e.ModuleKind.CommonJS&&!!n.commonJsModuleIndicator},e.isEffectiveStrictModeSourceFile=function(n,t){switch(n.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!n.isDeclarationFile&&(!!dr(t,"alwaysStrict")||(!!e.startsWithUseStrict(n.statements)||!(!e.isExternalModule(n)&&!t.isolatedModules)&&(lr(t)>=e.ModuleKind.ES2015||!t.noImplicitUseStrict)))},e.isBlockScope=N,e.isDeclarationWithTypeParameters=function(n){switch(n.kind){case 320:case 327:case 309:return!0;default:return e.assertType(n),R(n)}},e.isDeclarationWithTypeParameterChildren=R,e.isAnyImportSyntax=k,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 258:case 257:case 229:case 249:case 248:case 253:case 251:case 250:case 252:return!0;default:return!1}},e.isAnyImportOrReExport=function(n){return k(n)||e.isExportDeclaration(n)},e.getEnclosingBlockScopeContainer=function(e){return i(e.parent,(function(e){return N(e,e.parent)}))},e.declarationNameToString=O,e.getNameFromIndexInfo=function(e){return e.declaration?O(e.declaration.parameters[0].name):void 0},e.isComputedNonLiteralName=function(e){return 157===e.kind&&!cn(e.expression)},e.getTextOfPropertyName=P,e.entityNameToString=M,e.createDiagnosticForNode=function(e,n,t,r,a,i){return w(u(e),e,n,t,r,a,i)},e.createDiagnosticForNodeArray=function(n,t,r,a,i,o,s){var c=e.skipTrivia(n.text,t.pos);return rr(n,c,t.end-c,r,a,i,o,s)},e.createDiagnosticForNodeInSourceFile=w,e.createDiagnosticForNodeFromMessageChain=function(e,n,t){var r=u(e),a=G(r,e);return{file:r,start:a.start,length:a.length,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}},e.createDiagnosticForRange=function(e,n,t){return{file:e,start:n.pos,length:n.end-n.pos,code:t.code,category:t.category,messageText:t.message}},e.getSpanOfTokenAtPosition=F,e.getErrorSpanForNode=G,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=B,e.isEnumConst=function(n){return!!(2048&e.getCombinedModifierFlags(n))},e.isDeclarationReadonly=function(n){return!(!(64&e.getCombinedModifierFlags(n))||e.isParameterPropertyDeclaration(n,n.parent))},e.isVarConst=U,e.isLet=function(n){return!!(1&e.getCombinedNodeFlags(n))},e.isSuperCall=function(e){return 200===e.kind&&105===e.expression.kind},e.isImportCall=V,e.isImportMeta=function(n){return e.isMetaProperty(n)&&99===n.keywordToken&&"meta"===n.name.escapedText},e.isLiteralImportTypeNode=j,e.isPrologueDirective=K,e.isCustomPrologue=H,e.isHoistedFunction=function(n){return H(n)&&e.isFunctionDeclaration(n)},e.isHoistedVariableStatement=function(n){return H(n)&&e.isVariableStatement(n)&&e.every(n.declarationList.declarations,W)},e.getLeadingCommentRangesOfNode=function(n,t){return 11!==n.kind?e.getLeadingCommentRanges(t.text,n.pos):void 0},e.getJSDocCommentRanges=function(n,t){var r=159===n.kind||158===n.kind||205===n.kind||206===n.kind||204===n.kind?e.concatenate(e.getTrailingCommentRanges(t,n.pos),e.getLeadingCommentRanges(t,n.pos)):e.getLeadingCommentRanges(t,n.pos);return e.filter(r,(function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)}))},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var q=/^(\/\/\/\s*<reference\s+types\s*=\s*)('|")(.+?)\2.*?\/>/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var z=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)('|")(.+?)\2\s*\/>/;function J(n){if(171<=n.kind&&n.kind<=192)return!0;switch(n.kind){case 128:case 151:case 143:case 154:case 146:case 131:case 147:case 144:case 149:case 140:return!0;case 113:return 209!==n.parent.kind;case 220:return!xt(n);case 158:return 189===n.parent.kind||184===n.parent.kind;case 78:(156===n.parent.kind&&n.parent.right===n||198===n.parent.kind&&n.parent.name===n)&&(n=n.parent),e.Debug.assert(78===n.kind||156===n.kind||198===n.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 156:case 198:case 107:var t=n.parent;if(175===t.kind)return!1;if(192===t.kind)return!t.isTypeOf;if(171<=t.kind&&t.kind<=192)return!0;switch(t.kind){case 220:return!xt(t);case 158:case 326:return n===t.constraint;case 162:case 161:case 159:case 246:return n===t.type;case 248:case 205:case 206:case 165:case 164:case 163:case 166:case 167:return n===t.type;case 168:case 169:case 170:case 203:return n===t.type;case 200:case 201:return e.contains(t.typeArguments,n);case 202:return!1}}return!1}function X(e){if(e)switch(e.kind){case 195:case 288:case 159:case 285:case 162:case 161:case 286:case 246:return!0}return!1}function Y(e){return 247===e.parent.kind&&229===e.parent.parent.kind}function Q(e,n,t){return e.properties.filter((function(e){if(285===e.kind){var r=P(e.name);return n===r||!!t&&t===r}return!1}))}function Z(n){if(n&&n.statements.length){var t=n.statements[0].expression;return e.tryCast(t,e.isObjectLiteralExpression)}}function $(n,t){var r=Z(n);return r?Q(r,t):e.emptyArray}function ee(n,t){for(e.Debug.assert(294!==n.kind);;){if(!(n=n.parent))return e.Debug.fail();switch(n.kind){case 157:if(e.isClassLike(n.parent.parent))return n;n=n.parent;break;case 160:159===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break;case 206:if(!t)continue;case 248:case 205:case 253:case 162:case 161:case 164:case 163:case 165:case 166:case 167:case 168:case 169:case 170:case 252:case 294:return n}}}function ne(e){var n=e.kind;return(198===n||199===n)&&105===e.expression.kind}function te(n,t,r){if(e.isNamedDeclaration(n)&&e.isPrivateIdentifier(n.name))return!1;switch(n.kind){case 249:return!0;case 162:return 249===t.kind;case 166:case 167:case 164:return void 0!==n.body&&249===t.kind;case 159:return void 0!==t.body&&(165===t.kind||164===t.kind||167===t.kind)&&249===r.kind}return!1}function re(e,n,t){return void 0!==e.decorators&&te(e,n,t)}function ae(e,n,t){return re(e,n,t)||ie(e,n)}function ie(n,t){switch(n.kind){case 249:return e.some(n.members,(function(e){return ae(e,n,t)}));case 164:case 167:return e.some(n.parameters,(function(e){return re(e,n,t)}));default:return!1}}function oe(e){var n=e.parent;return(272===n.kind||271===n.kind||273===n.kind)&&n.tagName===e}function se(e){switch(e.kind){case 105:case 103:case 109:case 94:case 13:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 221:case 203:case 222:case 204:case 205:case 218:case 206:case 209:case 207:case 208:case 211:case 212:case 213:case 214:case 217:case 215:case 219:case 270:case 271:case 274:case 216:case 210:case 223:return!0;case 156:for(;156===e.parent.kind;)e=e.parent;return 175===e.parent.kind||oe(e);case 78:if(175===e.parent.kind||oe(e))return!0;case 8:case 9:case 10:case 14:case 107:return ce(e);default:return!1}}function ce(e){var n=e.parent;switch(n.kind){case 246:case 159:case 162:case 161:case 288:case 285:case 195:return n.initializer===e;case 230:case 231:case 232:case 233:case 239:case 240:case 241:case 281:case 243:return n.expression===e;case 234:var t=n;return t.initializer===e&&247!==t.initializer.kind||t.condition===e||t.incrementor===e;case 235:case 236:var r=n;return r.initializer===e&&247!==r.initializer.kind||r.expression===e;case 203:case 221:case 225:case 157:return e===n.expression;case 160:case 280:case 279:case 287:return!0;case 220:return n.expression===e&&xt(n);case 286:return n.objectAssignmentInitializer===e;default:return se(n)}}function le(e){for(;156===e.kind||78===e.kind;)e=e.parent;return 175===e.kind}function ue(e){return 257===e.kind&&269===e.moduleReference.kind}function de(e){return pe(e)}function pe(e){return!!e&&!!(131072&e.flags)}function fe(n,t){if(200!==n.kind)return!1;var r=n,a=r.expression,i=r.arguments;if(78!==a.kind||"require"!==a.escapedText)return!1;if(1!==i.length)return!1;var o=i[0];return!t||e.isStringLiteralLike(o)}function me(n,t){return e.isVariableDeclaration(n)&&!!n.initializer&&fe(n.initializer,t)}function _e(n){return e.isBinaryExpression(n)||Wt(n)||e.isIdentifier(n)||e.isCallExpression(n)}function ge(n){return pe(n)&&n.initializer&&e.isBinaryExpression(n.initializer)&&(56===n.initializer.operatorToken.kind||60===n.initializer.operatorToken.kind)&&n.name&&At(n.name)&&he(n.name,n.initializer.left)?n.initializer.right:n.initializer}function ye(n,t){if(e.isCallExpression(n)){var r=Xe(n.expression);return 205===r.kind||206===r.kind?n:void 0}return 205===n.kind||218===n.kind||206===n.kind||e.isObjectLiteralExpression(n)&&(0===n.properties.length||t)?n:void 0}function he(n,t){if(mn(n)&&mn(t))return _n(n)===_n(t);if(e.isIdentifier(n)&&xe(t)&&(107===t.expression.kind||e.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))){var r=Ne(t);return e.isPrivateIdentifier(r)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),he(n,r)}return!(!xe(n)||!xe(t))&&(ke(n)===ke(t)&&he(n.expression,t.expression))}function ve(e){for(;Lt(e,!0);)e=e.right;return e}function be(n){return e.isIdentifier(n)&&"exports"===n.escapedText}function Ee(n){return e.isIdentifier(n)&&"module"===n.escapedText}function Te(n){return(e.isPropertyAccessExpression(n)||Ae(n))&&Ee(n.expression)&&"exports"===ke(n)}function Se(n){var t=function(n){if(e.isCallExpression(n)){if(!Le(n))return 0;var t=n.arguments[0];return be(t)||Te(t)?8:De(t)&&"prototype"===ke(t)?9:7}if(62!==n.operatorToken.kind||!Wt(n.left)||(r=ve(n),e.isVoidExpression(r)&&e.isNumericLiteral(r.expression)&&"0"===r.expression.text))return 0;var r;if(Ie(n.left.expression,!0)&&"prototype"===ke(n.left)&&e.isObjectLiteralExpression(Pe(n)))return 6;return Oe(n.left)}(n);return 5===t||pe(n)?t:0}function Le(n){return 3===e.length(n.arguments)&&e.isPropertyAccessExpression(n.expression)&&e.isIdentifier(n.expression.expression)&&"Object"===e.idText(n.expression.expression)&&"defineProperty"===e.idText(n.expression.name)&&cn(n.arguments[1])&&Ie(n.arguments[0],!0)}function xe(n){return e.isPropertyAccessExpression(n)||Ae(n)}function Ae(n){return e.isElementAccessExpression(n)&&(cn(n.argumentExpression)||pn(n.argumentExpression))}function De(n,t){return e.isPropertyAccessExpression(n)&&(!t&&107===n.expression.kind||e.isIdentifier(n.name)&&Ie(n.expression,!0))||Ce(n,t)}function Ce(e,n){return Ae(e)&&(!n&&107===e.expression.kind||At(e.expression)||De(e.expression,!0))}function Ie(e,n){return At(e)||De(e,n)}function Ne(n){return e.isPropertyAccessExpression(n)?n.name:n.argumentExpression}function Re(n){if(e.isPropertyAccessExpression(n))return n.name;var t=Xe(n.argumentExpression);return e.isNumericLiteral(t)||e.isStringLiteralLike(t)?t:n}function ke(n){var t=Re(n);if(t){if(e.isIdentifier(t))return t.escapedText;if(e.isStringLiteralLike(t)||e.isNumericLiteral(t))return e.escapeLeadingUnderscores(t.text)}if(e.isElementAccessExpression(n)&&pn(n.argumentExpression))return gn(e.idText(n.argumentExpression.name))}function Oe(n){if(107===n.expression.kind)return 4;if(Te(n))return 2;if(Ie(n.expression,!0)){if(Ct(n.expression))return 3;for(var t=n;!e.isIdentifier(t.expression);)t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===ke(t))&&De(n))return 1;if(Ie(n,!0)||e.isElementAccessExpression(n)&&dn(n))return 5}return 0}function Pe(n){for(;e.isBinaryExpression(n.right);)n=n.right;return n.right}function Me(n){switch(n.parent.kind){case 258:case 264:return n.parent;case 269:return n.parent.parent;case 200:return V(n.parent)||fe(n.parent,!1)?n.parent:void 0;case 190:return e.Debug.assert(e.isStringLiteral(n)),e.tryCast(n.parent.parent,e.isImportTypeNode);default:return}}function we(e){return 327===e.kind||320===e.kind||321===e.kind}function Fe(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&0!==Se(n.expression)&&e.isBinaryExpression(n.expression.right)&&(56===n.expression.right.operatorToken.kind||60===n.expression.right.operatorToken.kind)?n.expression.right.right:void 0}function Ge(e){switch(e.kind){case 229:var n=Be(e);return n&&n.initializer;case 162:case 285:return e.initializer}}function Be(n){return e.isVariableStatement(n)?e.firstOrUndefined(n.declarationList.declarations):void 0}function Ue(n){return e.isModuleDeclaration(n)&&n.body&&253===n.body.kind?n.body:void 0}function Ve(n){var t=n.parent;return 285===t.kind||263===t.kind||162===t.kind||230===t.kind&&198===n.kind||Ue(t)||e.isBinaryExpression(n)&&62===n.operatorToken.kind?t:t.parent&&(Be(t.parent)===n||e.isBinaryExpression(t)&&62===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(Be(t.parent.parent)||Ge(t.parent.parent)===n||Fe(t.parent.parent))?t.parent.parent:void 0}function je(n){var t=Ke(n);return t&&e.isFunctionLike(t)?t:void 0}function Ke(n){var t=He(n);return Fe(t)||function(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&62===n.expression.operatorToken.kind?ve(n.expression):void 0}(t)||Ge(t)||Be(t)||Ue(t)||t}function He(n){return e.Debug.checkDefined(i(n.parent,e.isJSDoc)).parent}function We(n){var t=e.isJSDocParameterTag(n)?n.typeExpression&&n.typeExpression.type:n.type;return void 0!==n.dotDotDotToken||!!t&&305===t.kind}function qe(e){for(var n=e.parent;;){switch(n.kind){case 213:var t=n.operatorToken.kind;return Et(t)&&n.left===e?62===t||bt(t)?1:2:0;case 211:case 212:var r=n.operator;return 45===r||46===r?2:0;case 235:case 236:return n.initializer===e?1:0;case 204:case 196:case 217:case 222:e=n;break;case 286:if(n.name!==e)return 0;e=n.parent;break;case 285:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function ze(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function Je(e){return ze(e,204)}function Xe(n){return e.skipOuterExpressions(n,1)}function Ye(n){return At(n)||e.isClassExpression(n)}function Qe(e){return Ye(Ze(e))}function Ze(n){return e.isExportAssignment(n)?n.expression:n.right}function $e(n){var t=en(n);if(t&&pe(n)){var r=e.getJSDocAugmentsTag(n);if(r)return r.class}return t}function en(e){var n=rn(e.heritageClauses,93);return n&&n.types.length>0?n.types[0]:void 0}function nn(n){if(pe(n))return e.getJSDocImplementsTags(n).map((function(e){return e.class}));var t=rn(n.heritageClauses,116);return null==t?void 0:t.types}function tn(e){var n=rn(e.heritageClauses,93);return n?n.types:void 0}function rn(e,n){if(e)for(var t=0,r=e;t<r.length;t++){var a=r[t];if(a.token===n)return a}}function an(e){return 80<=e&&e<=155}function on(e){return 125<=e&&e<=155}function sn(e){return an(e)&&!on(e)}function cn(n){return e.isStringLiteralLike(n)||e.isNumericLiteral(n)}function ln(n){return e.isPrefixUnaryExpression(n)&&(39===n.operator||40===n.operator)&&e.isNumericLiteral(n.operand)}function un(n){var t=e.getNameOfDeclaration(n);return!!t&&dn(t)}function dn(n){if(157!==n.kind&&199!==n.kind)return!1;var t=e.isElementAccessExpression(n)?Xe(n.argumentExpression):n.expression;return!cn(t)&&!ln(t)&&!pn(t)}function pn(n){return e.isPropertyAccessExpression(n)&&yn(n.expression)}function fn(n){switch(n.kind){case 78:case 79:return n.escapedText;case 10:case 8:return e.escapeLeadingUnderscores(n.text);case 157:var t=n.expression;return pn(t)?gn(e.idText(t.name)):cn(t)?e.escapeLeadingUnderscores(t.text):ln(t)?40===t.operator?e.tokenToString(t.operator)+t.operand.text:t.operand.text:void 0;default:return e.Debug.assertNever(n)}}function mn(e){switch(e.kind){case 78:case 10:case 14:case 8:return!0;default:return!1}}function _n(n){return e.isIdentifierOrPrivateIdentifier(n)?e.idText(n):n.text}function gn(e){return"__@"+e}function yn(e){return 78===e.kind&&"Symbol"===e.escapedText}function hn(e){for(;195===e.kind;)e=e.parent.parent;return e}function vn(e){return Hr(e.pos)||Hr(e.end)}function bn(e,n,t){switch(e){case 201:return t?0:1;case 211:case 208:case 209:case 207:case 210:case 214:case 216:return 1;case 213:switch(n){case 42:case 62:case 63:case 64:case 66:case 65:case 67:case 68:case 69:case 70:case 71:case 72:case 77:case 73:case 74:case 75:case 76:return 1}}return 0}function En(e){return 213===e.kind?e.operatorToken.kind:211===e.kind||212===e.kind?e.operator:e.kind}function Tn(e,n,t){switch(e){case 332:return 0;case 217:return 1;case 216:return 2;case 214:return 4;case 213:switch(n){case 27:return 0;case 62:case 63:case 64:case 66:case 65:case 67:case 68:case 69:case 70:case 71:case 72:case 77:case 73:case 74:case 75:case 76:return 3;default:return Sn(n)}case 211:case 208:case 209:case 207:case 210:return 16;case 212:return 17;case 200:return 18;case 201:return t?19:18;case 202:case 198:case 199:return 19;case 107:case 105:case 78:case 103:case 109:case 94:case 8:case 9:case 10:case 196:case 197:case 205:case 206:case 218:case 13:case 14:case 215:case 204:case 219:case 270:case 271:case 274:return 20;default:return-1}}function Sn(e){switch(e){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 101:case 100:case 126:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}e.isPartOfTypeNode=J,e.isChildOfNodeWithKind=function(e,n){for(;e;){if(e.kind===n)return!0;e=e.parent}return!1},e.forEachReturnStatement=function(n,t){return function n(r){switch(r.kind){case 239:return t(r);case 255:case 227:case 231:case 232:case 233:case 234:case 235:case 236:case 240:case 241:case 281:case 282:case 242:case 244:case 284:return e.forEachChild(r,n)}}(n)},e.forEachYieldExpression=function(n,t){return function n(r){switch(r.kind){case 216:t(r);var a=r.expression;return void(a&&n(a));case 252:case 250:case 253:case 251:return;default:if(e.isFunctionLike(r)){if(r.name&&157===r.name.kind)return void n(r.name.expression)}else J(r)||e.forEachChild(r,n)}}(n)},e.getRestParameterElementType=function(n){return n&&177===n.kind?n.elementType:n&&172===n.kind?e.singleOrUndefined(n.typeArguments):void 0},e.getMembersOfDeclaration=function(e){switch(e.kind){case 250:case 249:case 218:case 176:return e.members;case 197:return e.properties}},e.isVariableLike=X,e.isVariableLikeOrAccessor=function(n){return X(n)||e.isAccessor(n)},e.isVariableDeclarationInVariableStatement=Y,e.isValidESSymbolDeclaration=function(n){return e.isVariableDeclaration(n)?U(n)&&e.isIdentifier(n.name)&&Y(n):e.isPropertyDeclaration(n)?ut(n)&<(n):e.isPropertySignature(n)&&ut(n)},e.introducesArgumentsExoticObject=function(e){switch(e.kind){case 164:case 163:case 165:case 166:case 167:case 248:case 205:return!0}return!1},e.unwrapInnermostStatementOfLabel=function(e,n){for(;;){if(n&&n(e),242!==e.statement.kind)return e.statement;e=e.statement}},e.isFunctionBlock=function(n){return n&&227===n.kind&&e.isFunctionLike(n.parent)},e.isObjectLiteralMethod=function(e){return e&&164===e.kind&&197===e.parent.kind},e.isObjectLiteralOrClassExpressionMethod=function(e){return 164===e.kind&&(197===e.parent.kind||218===e.parent.kind)},e.isIdentifierTypePredicate=function(e){return e&&1===e.kind},e.isThisTypePredicate=function(e){return e&&0===e.kind},e.getPropertyAssignment=Q,e.getTsConfigObjectLiteralExpression=Z,e.getTsConfigPropArrayElementValue=function(n,t,r){return e.firstDefined($(n,t),(function(n){return e.isArrayLiteralExpression(n.initializer)?e.find(n.initializer.elements,(function(n){return e.isStringLiteral(n)&&n.text===r})):void 0}))},e.getTsConfigPropArray=$,e.getContainingFunction=function(n){return i(n.parent,e.isFunctionLike)},e.getContainingFunctionDeclaration=function(n){return i(n.parent,e.isFunctionLikeDeclaration)},e.getContainingClass=function(n){return i(n.parent,e.isClassLike)},e.getThisContainer=ee,e.isInTopLevelContext=function(n){e.isIdentifier(n)&&(e.isClassDeclaration(n.parent)||e.isFunctionDeclaration(n.parent))&&n.parent.name===n&&(n=n.parent);var t=ee(n,!0);return e.isSourceFile(t)},e.getNewTargetContainer=function(e){var n=ee(e,!1);if(n)switch(n.kind){case 165:case 248:case 205:return n}},e.getSuperContainer=function(n,t){for(;;){if(!(n=n.parent))return n;switch(n.kind){case 157:n=n.parent;break;case 248:case 205:case 206:if(!t)continue;case 162:case 161:case 164:case 163:case 165:case 166:case 167:return n;case 160:159===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent)}}},e.getImmediatelyInvokedFunctionExpression=function(e){if(205===e.kind||206===e.kind){for(var n=e,t=e.parent;204===t.kind;)n=t,t=t.parent;if(200===t.kind&&t.expression===n)return t}},e.isSuperOrSuperProperty=function(e){return 105===e.kind||ne(e)},e.isSuperProperty=ne,e.isThisProperty=function(e){var n=e.kind;return(198===n||199===n)&&107===e.expression.kind},e.getEntityNameFromTypeNode=function(e){switch(e.kind){case 172:return e.typeName;case 220:return At(e.expression)?e.expression:void 0;case 78:case 156:return e}},e.getInvokedExpression=function(e){switch(e.kind){case 202:return e.tag;case 272:case 271:return e.tagName;default:return e.expression}},e.nodeCanBeDecorated=te,e.nodeIsDecorated=re,e.nodeOrChildIsDecorated=ae,e.childIsDecorated=ie,e.isJSXTagName=oe,e.isExpressionNode=se,e.isInExpressionContext=ce,e.isPartOfTypeQuery=le,e.isExternalModuleImportEqualsDeclaration=ue,e.getExternalModuleImportEqualsDeclarationExpression=function(n){return e.Debug.assert(ue(n)),n.moduleReference.expression},e.isInternalModuleImportEqualsDeclaration=function(e){return 257===e.kind&&269!==e.moduleReference.kind},e.isSourceFileJS=de,e.isSourceFileNotJS=function(e){return!pe(e)},e.isInJSFile=pe,e.isInJsonFile=function(e){return!!e&&!!(33554432&e.flags)},e.isSourceFileNotJson=function(e){return!B(e)},e.isInJSDoc=function(e){return!!e&&!!(4194304&e.flags)},e.isJSDocIndexSignature=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText&&n.typeArguments&&2===n.typeArguments.length&&(146===n.typeArguments[0].kind||143===n.typeArguments[0].kind)},e.isRequireCall=fe,e.isRequireVariableDeclaration=me,e.isRequireVariableStatement=function(n,t){return void 0===t&&(t=!0),e.isVariableStatement(n)&&n.declarationList.declarations.length>0&&e.every(n.declarationList.declarations,(function(e){return me(e,t)}))},e.isSingleOrDoubleQuote=function(e){return 39===e||34===e},e.isStringDoubleQuoted=function(e,n){return 34===v(n,e).charCodeAt(0)},e.getDeclarationOfExpando=function(n){if(n.parent){var t,r;if(e.isVariableDeclaration(n.parent)&&n.parent.initializer===n){if(!pe(n)&&!U(n.parent))return;t=n.parent.name,r=n.parent}else if(e.isBinaryExpression(n.parent)){var a=n.parent,i=n.parent.operatorToken.kind;if(62===i&&a.right===n)r=t=a.left;else if(!(56!==i&&60!==i||(e.isVariableDeclaration(a.parent)&&a.parent.initializer===a?(t=a.parent.name,r=a.parent):e.isBinaryExpression(a.parent)&&62===a.parent.operatorToken.kind&&a.parent.right===a&&(r=t=a.parent.left),t&&Ie(t)&&he(t,a.left))))return}if(t&&ye(n,Ct(t)))return r}},e.isAssignmentDeclaration=_e,e.getEffectiveInitializer=ge,e.getDeclaredExpandoInitializer=function(e){var n=ge(e);return n&&ye(n,Ct(e.name))},e.getAssignedExpandoInitializer=function(n){if(n&&n.parent&&e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind){var t=Ct(n.parent.left);return ye(n.parent.right,t)||function(n,t,r){var a=e.isBinaryExpression(t)&&(56===t.operatorToken.kind||60===t.operatorToken.kind)&&ye(t.right,r);if(a&&he(n,t.left))return a}(n.parent.left,n.parent.right,t)}if(n&&e.isCallExpression(n)&&Le(n)){var r=function(n,t){return e.forEach(n.properties,(function(n){return e.isPropertyAssignment(n)&&e.isIdentifier(n.name)&&"value"===n.name.escapedText&&n.initializer&&ye(n.initializer,t)}))}(n.arguments[2],"prototype"===n.arguments[1].text);if(r)return r}},e.getExpandoInitializer=ye,e.isDefaultedExpandoInitializer=function(n){var t=e.isVariableDeclaration(n.parent)?n.parent.name:e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind?n.parent.left:void 0;return t&&ye(n.right,Ct(t))&&At(t)&&he(t,n.left)},e.getNameOfExpando=function(n){if(e.isBinaryExpression(n.parent)){var t=56!==n.parent.operatorToken.kind&&60!==n.parent.operatorToken.kind||!e.isBinaryExpression(n.parent.parent)?n.parent:n.parent.parent;if(62===t.operatorToken.kind&&e.isIdentifier(t.left))return t.left}else if(e.isVariableDeclaration(n.parent))return n.parent.name},e.getRightMostAssignedExpression=ve,e.isExportsIdentifier=be,e.isModuleIdentifier=Ee,e.isModuleExportsAccessExpression=Te,e.getAssignmentDeclarationKind=Se,e.isBindableObjectDefinePropertyCall=Le,e.isLiteralLikeAccess=xe,e.isLiteralLikeElementAccess=Ae,e.isBindableStaticAccessExpression=De,e.isBindableStaticElementAccessExpression=Ce,e.isBindableStaticNameExpression=Ie,e.getNameOrArgument=Ne,e.getElementOrPropertyAccessArgumentExpressionOrName=Re,e.getElementOrPropertyAccessName=ke,e.getAssignmentDeclarationPropertyAccessKind=Oe,e.getInitializerOfBinaryExpression=Pe,e.isPrototypePropertyAssignment=function(n){return e.isBinaryExpression(n)&&3===Se(n)},e.isSpecialPropertyDeclaration=function(n){return pe(n)&&n.parent&&230===n.parent.kind&&(!e.isElementAccessExpression(n)||Ae(n))&&!!e.getJSDocTypeTag(n.parent)},e.setValueDeclaration=function(e,n){var t=e.valueDeclaration;(!t||(!(8388608&n.flags)||8388608&t.flags)&&_e(t)&&!_e(n)||t.kind!==n.kind&&A(t))&&(e.valueDeclaration=n)},e.isFunctionSymbol=function(n){if(!n||!n.valueDeclaration)return!1;var t=n.valueDeclaration;return 248===t.kind||e.isVariableDeclaration(t)&&t.initializer&&e.isFunctionLike(t.initializer)},e.importFromModuleSpecifier=function(n){return Me(n)||e.Debug.failBadSyntaxKind(n.parent)},e.tryGetImportFromModuleSpecifier=Me,e.getExternalModuleName=function(n){switch(n.kind){case 258:case 264:return n.moduleSpecifier;case 257:return 269===n.moduleReference.kind?n.moduleReference.expression:void 0;case 192:return j(n)?n.argument.literal:void 0;default:return e.Debug.assertNever(n)}},e.getNamespaceDeclarationNode=function(n){switch(n.kind){case 258:return n.importClause&&e.tryCast(n.importClause.namedBindings,e.isNamespaceImport);case 257:return n;case 264:return n.exportClause&&e.tryCast(n.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(n)}},e.isDefaultImport=function(e){return 258===e.kind&&!!e.importClause&&!!e.importClause.name},e.forEachImportClauseDeclaration=function(n,t){var r;if(n.name&&(r=t(n)))return r;if(n.namedBindings&&(r=e.isNamespaceImport(n.namedBindings)?t(n.namedBindings):e.forEach(n.namedBindings.elements,t)))return r},e.hasQuestionToken=function(e){if(e)switch(e.kind){case 159:case 164:case 163:case 286:case 285:case 162:case 161:return void 0!==e.questionToken}return!1},e.isJSDocConstructSignature=function(n){var t=e.isJSDocFunctionType(n)?e.firstOrUndefined(n.parameters):void 0,r=e.tryCast(t&&t.name,e.isIdentifier);return!!r&&"new"===r.escapedText},e.isJSDocTypeAlias=we,e.isTypeAlias=function(n){return we(n)||e.isTypeAliasDeclaration(n)},e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Ge,e.getSingleVariableOfVariableStatement=Be,e.getJSDocCommentsAndTags=function(n,t){var r;X(n)&&e.hasInitializer(n)&&e.hasJSDocNodes(n.initializer)&&(r=e.append(r,e.last(n.initializer.jsDoc)));for(var a=n;a&&a.parent;){if(e.hasJSDocNodes(a)&&(r=e.append(r,e.last(a.jsDoc))),159===a.kind){r=e.addRange(r,(t?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(a));break}if(158===a.kind){r=e.addRange(r,(t?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(a));break}a=Ve(a)}return r||e.emptyArray},e.getParameterSymbolFromJSDoc=function(n){if(n.symbol)return n.symbol;if(e.isIdentifier(n.name)){var t=n.name.escapedText,r=je(n);if(r){var a=e.find(r.parameters,(function(e){return 78===e.name.kind&&e.name.escapedText===t}));return a&&a.symbol}}},e.getHostSignatureFromJSDoc=je,e.getEffectiveJSDocHost=Ke,e.getJSDocHost=He,e.getTypeParameterFromJsDoc=function(n){var t=n.name.escapedText,r=n.parent.parent.parent.typeParameters;return r&&e.find(r,(function(e){return e.name.escapedText===t}))},e.hasRestParameter=function(n){var t=e.lastOrUndefined(n.parameters);return!!t&&We(t)},e.isRestParameter=We,e.hasTypeArguments=function(e){return!!e.typeArguments},function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=qe,e.isAssignmentTarget=function(e){return 0!==qe(e)},e.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.kind){case 227:case 229:case 240:case 231:case 241:case 255:case 281:case 282:case 242:case 234:case 235:case 236:case 232:case 233:case 244:case 284:return!0}return!1},e.isValueSignatureDeclaration=function(n){return e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isMethodOrAccessor(n)||e.isFunctionDeclaration(n)||e.isConstructorDeclaration(n)},e.walkUpParenthesizedTypes=function(e){return ze(e,185)},e.walkUpParenthesizedExpressions=Je,e.skipParentheses=Xe,e.isDeleteTarget=function(e){return(198===e.kind||199===e.kind)&&((e=Je(e.parent))&&207===e.kind)},e.isNodeDescendantOf=function(e,n){for(;e;){if(e===n)return!0;e=e.parent}return!1},e.isDeclarationName=function(n){return!e.isSourceFile(n)&&!e.isBindingPattern(n)&&e.isDeclaration(n.parent)&&n.parent.name===n},e.getDeclarationFromName=function(n){var t=n.parent;switch(n.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(t))return t.parent;case 78:if(e.isDeclaration(t))return t.name===n?t:void 0;if(e.isQualifiedName(t)){var r=t.parent;return e.isJSDocParameterTag(r)&&r.name===t?r:void 0}var a=t.parent;return e.isBinaryExpression(a)&&0!==Se(a)&&(a.left.symbol||a.symbol)&&e.getNameOfDeclaration(a)===n?a:void 0;case 79:return e.isDeclaration(t)&&t.name===n?t:void 0;default:return}},e.isLiteralComputedPropertyDeclarationName=function(n){return cn(n)&&157===n.parent.kind&&e.isDeclaration(n.parent.parent)},e.isIdentifierName=function(e){var n=e.parent;switch(n.kind){case 162:case 161:case 164:case 163:case 166:case 167:case 288:case 285:case 198:return n.name===e;case 156:return n.right===e;case 195:case 262:return n.propertyName===e;case 267:case 277:return!0}return!1},e.isAliasSymbolDeclaration=function(n){return 257===n.kind||256===n.kind||259===n.kind&&!!n.name||260===n.kind||266===n.kind||262===n.kind||267===n.kind||263===n.kind&&Qe(n)||e.isBinaryExpression(n)&&2===Se(n)&&Qe(n)||e.isPropertyAccessExpression(n)&&e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind&&Ye(n.parent.right)||286===n.kind||285===n.kind&&Ye(n.initializer)},e.getAliasDeclarationFromName=function e(n){switch(n.parent.kind){case 259:case 262:case 260:case 267:case 263:case 257:return n.parent;case 156:do{n=n.parent}while(156===n.parent.kind);return e(n)}},e.isAliasableExpression=Ye,e.exportAssignmentIsAlias=Qe,e.getExportAssignmentExpression=Ze,e.getPropertyAssignmentAliasLikeExpression=function(e){return 286===e.kind?e.name:285===e.kind?e.initializer:e.parent.right},e.getEffectiveBaseTypeNode=$e,e.getClassExtendsHeritageElement=en,e.getEffectiveImplementsTypeNodes=nn,e.getAllSuperTypeNodes=function(n){return e.isInterfaceDeclaration(n)?tn(n)||e.emptyArray:e.isClassLike(n)&&e.concatenate(e.singleElementArray($e(n)),nn(n))||e.emptyArray},e.getInterfaceBaseTypeNodes=tn,e.getHeritageClause=rn,e.getAncestor=function(e,n){for(;e;){if(e.kind===n)return e;e=e.parent}},e.isKeyword=an,e.isContextualKeyword=on,e.isNonContextualKeyword=sn,e.isFutureReservedKeyword=function(e){return 116<=e&&e<=124},e.isStringANonContextualKeyword=function(n){var t=e.stringToToken(n);return void 0!==t&&sn(t)},e.isStringAKeyword=function(n){var t=e.stringToToken(n);return void 0!==t&&an(t)},e.isIdentifierANonContextualKeyword=function(e){var n=e.originalKeywordKind;return!!n&&!on(n)},e.isTrivia=function(e){return 2<=e&&e<=7},function(e){e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator"}(e.FunctionFlags||(e.FunctionFlags={})),e.getFunctionFlags=function(e){if(!e)return 4;var n=0;switch(e.kind){case 248:case 205:case 164:e.asteriskToken&&(n|=1);case 206:ct(e,256)&&(n|=2)}return e.body||(n|=4),n},e.isAsyncFunction=function(e){switch(e.kind){case 248:case 205:case 206:case 164:return void 0!==e.body&&void 0===e.asteriskToken&&ct(e,256)}return!1},e.isStringOrNumericLiteralLike=cn,e.isSignedNumericLiteral=ln,e.hasDynamicName=un,e.isDynamicName=dn,e.isWellKnownSymbolSyntactically=pn,e.getPropertyNameForPropertyNameNode=fn,e.isPropertyNameLiteral=mn,e.getTextOfIdentifierOrLiteral=_n,e.getEscapedTextOfIdentifierOrLiteral=function(n){return e.isIdentifierOrPrivateIdentifier(n)?n.escapedText:e.escapeLeadingUnderscores(n.text)},e.getPropertyNameForUniqueESSymbol=function(n){return"__@"+e.getSymbolId(n)+"@"+n.escapedName},e.getPropertyNameForKnownSymbolName=gn,e.getSymbolNameForPrivateIdentifier=function(n,t){return"__#"+e.getSymbolId(n)+"@"+t},e.isKnownSymbol=function(n){return e.startsWith(n.escapedName,"__@")},e.isESSymbolIdentifier=yn,e.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},e.isParameterDeclaration=function(e){return 159===hn(e).kind},e.getRootDeclaration=hn,e.nodeStartsNewLexicalEnvironment=function(e){var n=e.kind;return 165===n||205===n||248===n||206===n||164===n||166===n||167===n||253===n||294===n},e.nodeIsSynthesized=vn,e.getOriginalSourceFile=function(n){return e.getParseTreeNode(n,e.isSourceFile)||n},function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=function(e){var n=En(e),t=201===e.kind&&void 0!==e.arguments;return bn(e.kind,n,t)},e.getOperatorAssociativity=bn,e.getExpressionPrecedence=function(e){var n=En(e),t=201===e.kind&&void 0!==e.arguments;return Tn(e.kind,n,t)},e.getOperator=En,function(e){e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid"}(e.OperatorPrecedence||(e.OperatorPrecedence={})),e.getOperatorPrecedence=Tn,e.getBinaryOperatorPrecedence=Sn,e.createDiagnosticCollection=function(){var n=[],t=[],r=new e.Map,a=!1;return{add:function(i){var o;i.file?(o=r.get(i.file.fileName))||(o=[],r.set(i.file.fileName,o),e.insertSorted(t,i.file.fileName,e.compareStringsCaseSensitive)):(a&&(a=!1,n=n.slice()),o=n);e.insertSorted(o,i,or)},lookup:function(t){var a;a=t.file?r.get(t.file.fileName):n;if(!a)return;var i=e.binarySearch(a,t,e.identity,sr);if(i>=0)return a[i];return},getGlobalDiagnostics:function(){return a=!0,n},getDiagnostics:function(a){if(a)return r.get(a)||[];var i=e.flatMapToMutable(t,(function(e){return r.get(e)}));if(!n.length)return i;return i.unshift.apply(i,n),i},reattachFileDiagnostics:function(n){e.forEach(r.get(n.fileName),(function(e){return e.file=n}))}}};var Ln=/\$\{/g;e.hasInvalidEscape=function(n){return n&&!!(e.isNoSubstitutionTemplateLiteral(n)?n.templateFlags:n.head.templateFlags||e.some(n.templateSpans,(function(e){return!!e.literal.templateFlags})))};var xn=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,An=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Dn=/[\\`]/g,Cn=new e.Map(e.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085"}));function In(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Nn(e,n,t){if(0===e.charCodeAt(0)){var r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return Cn.get(e)||In(e.charCodeAt(0))}function Rn(e,n){var t=96===n?Dn:39===n?An:xn;return e.replace(t,Nn)}e.escapeString=Rn;var kn=/[^\u0000-\u007F]/g;function On(e,n){return e=Rn(e,n),kn.test(e)?e.replace(kn,(function(e){return In(e.charCodeAt(0))})):e}e.escapeNonAsciiString=On;var Pn=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,Mn=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,wn=new e.Map(e.getEntries({'"':""","'":"'"}));function Fn(e){return 0===e.charCodeAt(0)?"�":wn.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Gn(e,n){var t=39===n?Mn:Pn;return e.replace(t,Fn)}e.escapeJsxAttributeString=Gn,e.stripQuotes=function(e){var n,t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e},e.isIntrinsicJsxName=function(n){var t=n.charCodeAt(0);return t>=97&&t<=122||e.stringContains(n,"-")};var Bn=[""," "];function Un(e){return void 0===Bn[e]&&(Bn[e]=Un(e-1)+Bn[1]),Bn[e]}function Vn(){return Bn[1].length}function jn(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function Kn(e,n,t){return n.moduleName||Hn(e,n.fileName,t&&t.fileName)}function Hn(n,t,r){var a=function(e){return n.getCanonicalFileName(e)},i=e.toPath(r?e.getDirectoryPath(r):n.getCommonSourceDirectory(),n.getCurrentDirectory(),a),o=e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),s=Ur(e.getRelativePathToDirectoryOrUrl(i,o,i,a,!1));return r?e.ensurePathIsNonModuleName(s):s}function Wn(e,n,t,r,a){var i=n.declarationDir||n.outDir;return Ur(i?Xn(e,i,t,r,a):e)+".d.ts"}function qn(e){return e.outFile||e.out}function zn(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&de(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&!(B(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&(t||!n.isSourceOfProjectReferenceRedirect(e.fileName))}function Jn(e,n,t){return Xn(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function Xn(n,t,r,a,i){var o=e.getNormalizedAbsolutePath(n,r);return o=0===i(o).indexOf(i(a))?o.substring(a.length):o,e.combinePaths(t,o)}function Yn(n,t){return e.computeLineOfPosition(n,t)}function Qn(e){if(e&&e.parameters.length>0){var n=2===e.parameters.length&&Zn(e.parameters[0]);return e.parameters[n?1:0]}}function Zn(e){return $n(e.name)}function $n(e){return!!e&&78===e.kind&&et(e)}function et(e){return 107===e.originalKeywordKind}function nt(n){if(pe(n)||!e.isFunctionDeclaration(n)){var t=n.type;return t||!pe(n)?t:e.isJSDocPropertyLikeTag(n)?n.typeExpression&&n.typeExpression.type:e.getJSDocType(n)}}function tt(e,n,t,r){rt(e,n,t.pos,r)}function rt(e,n,t,r){r&&r.length&&t!==r[0].pos&&Yn(e,t)!==Yn(e,r[0].pos)&&n.writeLine()}function at(e,n,t,r,a,i,o,s){if(r&&r.length>0){a&&t.writeSpace(" ");for(var c=!1,l=0,u=r;l<u.length;l++){var d=u[l];c&&(t.writeSpace(" "),c=!1),s(e,n,t,d.pos,d.end,o),d.hasTrailingNewLine?t.writeLine():c=!0}c&&i&&t.writeSpace(" ")}}function it(e,n,t,r,a,i){var o=Math.min(n,i-1),s=e.substring(a,o).replace(/^\s+|\s+$/g,"");s?(t.writeComment(s),o!==n&&t.writeLine()):t.rawWrite(r)}function ot(n,t,r){for(var a=0;t<r&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));t++)9===n.charCodeAt(t)?a+=Vn()-a%Vn():a++;return a}function st(e,n){return!!dt(e,n)}function ct(e,n){return!!pt(e,n)}function lt(e){return ct(e,32)}function ut(e){return st(e,64)}function dt(e,n){return mt(e)&n}function pt(e,n){return _t(e)&n}function ft(e,n,t){return e.kind>=0&&e.kind<=155?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|yt(e)),!n||4096&e.modifierFlagsCache||!t&&!pe(e)||!e.parent||(e.modifierFlagsCache|=4096|gt(e)),-536875009&e.modifierFlagsCache)}function mt(e){return ft(e,!0)}function _t(e){return ft(e,!1)}function gt(n){var t=0;return n.parent&&!e.isParameter(n)&&(pe(n)&&(e.getJSDocPublicTagNoCache(n)&&(t|=4),e.getJSDocPrivateTagNoCache(n)&&(t|=8),e.getJSDocProtectedTagNoCache(n)&&(t|=16),e.getJSDocReadonlyTagNoCache(n)&&(t|=64)),e.getJSDocDeprecatedTagNoCache(n)&&(t|=8192)),t}function yt(e){var n=ht(e.modifiers);return(4&e.flags||78===e.kind&&e.isInJSDocNamespace)&&(n|=1),n}function ht(e){var n=0;if(e)for(var t=0,r=e;t<r.length;t++){n|=vt(r[t].kind)}return n}function vt(e){switch(e){case 123:return 32;case 122:return 4;case 121:return 16;case 120:return 8;case 125:return 128;case 92:return 1;case 133:return 2;case 84:return 2048;case 87:return 512;case 129:return 256;case 141:return 64}return 0}function bt(e){return 74===e||75===e||76===e}function Et(e){return e>=62&&e<=77}function Tt(e){var n=St(e);return n&&!n.isImplements?n.class:void 0}function St(n){return e.isExpressionWithTypeArguments(n)&&e.isHeritageClause(n.parent)&&e.isClassLike(n.parent.parent)?{class:n.parent.parent,isImplements:116===n.parent.token}:void 0}function Lt(n,t){return e.isBinaryExpression(n)&&(t?62===n.operatorToken.kind:Et(n.operatorToken.kind))&&e.isLeftHandSideExpression(n.left)}function xt(e){return void 0!==Tt(e)}function At(e){return 78===e.kind||Dt(e)}function Dt(n){return e.isPropertyAccessExpression(n)&&e.isIdentifier(n.name)&&At(n.expression)}function Ct(e){return De(e)&&"prototype"===ke(e)}e.getIndentString=Un,e.getIndentSize=Vn,e.createTextWriter=function(n){var t,r,a,i,o,s=!1;function c(n){var r=e.computeLineStarts(n);r.length>1?(i=i+r.length-1,o=t.length-n.length+e.last(r),a=o-t.length==0):a=!1}function l(e){e&&e.length&&(a&&(e=Un(r)+e,a=!1),t+=e,c(e))}function u(e){e&&(s=!1),l(e)}function d(){t="",r=0,a=!0,i=0,o=0,s=!1}return d(),{write:u,rawWrite:function(e){void 0!==e&&(t+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&u(e)},writeLine:function(e){a&&!e||(i++,o=(t+=n).length,a=!0,s=!1)},increaseIndent:function(){r++},decreaseIndent:function(){r--},getIndent:function(){return r},getTextPos:function(){return t.length},getLine:function(){return i},getColumn:function(){return a?r*Vn():t.length-o},getText:function(){return t},isAtStartOfLine:function(){return a},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},clear:d,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:u,writeOperator:u,writeParameter:u,writeProperty:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeSymbol:function(e,n){return u(e)},writeTrailingSemicolon:u,writeComment:function(e){e&&(s=!0),l(e)},getTextPosWithWriteLine:function(){return a?t.length:t.length+n.length}}},e.getTrailingSemicolonDeferringWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return s(s({},e),{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})},e.hostUsesCaseSensitiveFileNames=jn,e.hostGetCanonicalFileName=function(n){return e.createGetCanonicalFileName(jn(n))},e.getResolvedExternalModuleName=Kn,e.getExternalModuleNameFromDeclaration=function(e,n,t){var r=n.getExternalModuleFileFromDeclaration(t);if(r&&!r.isDeclarationFile)return Kn(e,r)},e.getExternalModuleNameFromPath=Hn,e.getOwnEmitOutputFilePath=function(e,n,t){var r=n.getCompilerOptions();return(r.outDir?Ur(Jn(e,n,r.outDir)):Ur(e))+t},e.getDeclarationEmitOutputFilePath=function(e,n){return Wn(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=Wn,e.outFile=qn,e.getSourceFilesToEmit=function(n,t,r){var a=n.getCompilerOptions();if(qn(a)){var i=lr(a),o=a.emitDeclarationOnly||i===e.ModuleKind.AMD||i===e.ModuleKind.System;return e.filter(n.getSourceFiles(),(function(t){return(o||!e.isExternalModule(t))&&zn(t,n,r)}))}var s=void 0===t?n.getSourceFiles():[t];return e.filter(s,(function(e){return zn(e,n,r)}))},e.sourceFileMayBeEmitted=zn,e.getSourceFilePathInNewDir=Jn,e.getSourceFilePathInNewDirWorker=Xn,e.writeFile=function(n,t,r,a,i,o){n.writeFile(r,a,i,(function(n){t.add(ar(e.Diagnostics.Could_not_write_file_0_Colon_1,r,n))}),o)},e.writeFileEnsuringDirectories=function(n,t,r,a,i,o){try{a(n,t,r)}catch(s){!function n(t,r,a){t.length>e.getRootLength(t)&&!a(t)&&(n(e.getDirectoryPath(t),r,a),r(t))}(e.getDirectoryPath(e.normalizePath(n)),i,o),a(n,t,r)}},e.getLineOfLocalPosition=function(n,t){var r=e.getLineStarts(n);return e.computeLineOfPosition(r,t)},e.getLineOfLocalPositionFromLineMap=Yn,e.getFirstConstructorWithBody=function(n){return e.find(n.members,(function(n){return e.isConstructorDeclaration(n)&&f(n.body)}))},e.getSetAccessorValueParameter=Qn,e.getSetAccessorTypeAnnotationNode=function(e){var n=Qn(e);return n&&n.type},e.getThisParameter=function(n){if(n.parameters.length&&!e.isJSDocSignature(n)){var t=n.parameters[0];if(Zn(t))return t}},e.parameterIsThisKeyword=Zn,e.isThisIdentifier=$n,e.identifierIsThisKeyword=et,e.getAllAccessorDeclarations=function(n,t){var r,a,i,o;return un(t)?(r=t,166===t.kind?i=t:167===t.kind?o=t:e.Debug.fail("Accessor has wrong kind")):e.forEach(n,(function(n){e.isAccessor(n)&&ct(n,32)===ct(t,32)&&(fn(n.name)===fn(t.name)&&(r?a||(a=n):r=n,166!==n.kind||i||(i=n),167!==n.kind||o||(o=n)))})),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}},e.getEffectiveTypeAnnotationNode=nt,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(n){return e.isJSDocSignature(n)?n.type&&n.type.typeExpression&&n.type.typeExpression.type:n.type||(pe(n)?e.getJSDocReturnType(n):void 0)},e.getJSDocTypeParameterDeclarations=function(n){return e.flatMap(e.getJSDocTags(n),(function(n){return function(n){return e.isJSDocTemplateTag(n)&&!(307===n.parent.kind&&n.parent.tags.some(we))}(n)?n.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var n=Qn(e);return n&&nt(n)},e.emitNewLineBeforeLeadingComments=tt,e.emitNewLineBeforeLeadingCommentsOfPosition=rt,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&Yn(e,t)!==Yn(e,r)&&n.writeLine()},e.emitComments=at,e.emitDetachedComments=function(n,t,r,a,i,o,s){var c,l;if(s?0===i.pos&&(c=e.filter(e.getLeadingCommentRanges(n,i.pos),(function(e){return y(n,e.pos)}))):c=e.getLeadingCommentRanges(n,i.pos),c){for(var u=[],d=void 0,p=0,f=c;p<f.length;p++){var m=f[p];if(d){var _=Yn(t,d.end);if(Yn(t,m.pos)>=_+2)break}u.push(m),d=m}if(u.length){_=Yn(t,e.last(u).end);Yn(t,e.skipTrivia(n,i.pos))>=_+2&&(tt(t,r,i,c),at(n,t,r,u,!1,!0,o,a),l={nodePos:i.pos,detachedCommentEndPos:e.last(u).end})}}return l},e.writeCommentRange=function(n,t,r,a,i,o){if(42===n.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(t,a),c=t.length,l=void 0,u=a,d=s.line;u<i;d++){var p=d+1===c?n.length+1:t[d+1];if(u!==a){void 0===l&&(l=ot(n,t[s.line],a));var f=r.getIndent()*Vn()-l+ot(n,u,p);if(f>0){var m=f%Vn(),_=Un((f-m)/Vn());for(r.rawWrite(_);m;)r.rawWrite(" "),m--}else r.rawWrite("")}it(n,i,r,o,u,p),u=p}else r.writeComment(n.substring(a,i))},e.hasEffectiveModifiers=function(e){return 0!==mt(e)},e.hasSyntacticModifiers=function(e){return 0!==_t(e)},e.hasEffectiveModifier=st,e.hasSyntacticModifier=ct,e.hasStaticModifier=lt,e.hasEffectiveReadonlyModifier=ut,e.getSelectedEffectiveModifierFlags=dt,e.getSelectedSyntacticModifierFlags=pt,e.getEffectiveModifierFlags=mt,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return ft(e,!0,!0)},e.getSyntacticModifierFlags=_t,e.getEffectiveModifierFlagsNoCache=function(e){return yt(e)|gt(e)},e.getSyntacticModifierFlagsNoCache=yt,e.modifiersToFlags=ht,e.modifierToFlag=vt,e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isLogicalOrCoalescingAssignmentOperator=bt,e.isLogicalOrCoalescingAssignmentExpression=function(e){return bt(e.operatorToken.kind)},e.isAssignmentOperator=Et,e.tryGetClassExtendingExpressionWithTypeArguments=Tt,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=St,e.isAssignmentExpression=Lt,e.isDestructuringAssignment=function(e){if(Lt(e,!0)){var n=e.left.kind;return 197===n||196===n}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=xt,e.isEntityNameExpression=At,e.getFirstIdentifier=function(e){switch(e.kind){case 78:return e;case 156:do{e=e.left}while(78!==e.kind);return e;case 198:do{e=e.expression}while(78!==e.kind);return e}},e.isDottedName=function e(n){return 78===n.kind||107===n.kind||105===n.kind||198===n.kind&&e(n.expression)||204===n.kind&&e(n.expression)},e.isPropertyAccessEntityNameExpression=Dt,e.tryGetPropertyAccessOrIdentifierToString=function n(t){if(e.isPropertyAccessExpression(t)){var r=n(t.expression);if(void 0!==r)return r+"."+M(t.name)}else if(e.isIdentifier(t))return e.unescapeLeadingUnderscores(t.escapedText)},e.isPrototypeAccess=Ct,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 156===e.parent.kind&&e.parent.right===e||198===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 197===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 196===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(n){if(function(n){return n&&e.length(n.declarations)>0&&ct(n.declarations[0],512)}(n))for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];if(a.localSymbol)return a.localSymbol}},e.tryExtractTSExtension=function(n){return e.find(e.supportedTSExtensionsForExtractExtension,(function(t){return e.fileExtensionIs(n,t)}))};var It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Nt(n){for(var t,r,a,i,o="",s=function(n){for(var t=[],r=n.length,a=0;a<r;a++){var i=n.charCodeAt(a);i<128?t.push(i):i<2048?(t.push(i>>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return t}(n),c=0,l=s.length;c<l;)t=s[c]>>2,r=(3&s[c])<<4|s[c+1]>>4,a=(15&s[c+1])<<2|s[c+2]>>6,i=63&s[c+2],c+1>=l?a=i=64:c+2>=l&&(i=64),o+=It.charAt(t)+It.charAt(r)+It.charAt(a)+It.charAt(i),c+=3;return o}e.convertToBase64=Nt,e.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):Nt(n)},e.base64decode=function(e,n){if(e&&e.base64decode)return e.base64decode(n);for(var t=n.length,r=[],a=0;a<t&&n.charCodeAt(a)!==It.charCodeAt(64);){var i=It.indexOf(n[a]),o=It.indexOf(n[a+1]),s=It.indexOf(n[a+2]),c=It.indexOf(n[a+3]),l=(63&i)<<2|o>>4&3,u=(15&o)<<4|s>>2&15,d=(3&s)<<6|63&c;0===u&&0!==s?r.push(l):0===d&&0!==c?r.push(l,u):r.push(l,u,d),a+=4}return function(e){for(var n="",t=0,r=e.length;t<r;){var a=e[t];if(a<128)n+=String.fromCharCode(a),t++;else if(192==(192&a)){for(var i=63&a,o=e[++t];128==(192&o);)i=i<<6|63&o,o=e[++t];n+=String.fromCharCode(i)}else n+=String.fromCharCode(a),t++}return n}(r)},e.readJson=function(n,t){try{var r=t.readFile(n);if(!r)return{};var a=e.parseConfigFileTextToJson(n,r);return a.error?{}:a.config}catch(e){return{}}},e.directoryProbablyExists=function(e,n){return!n.directoryExists||n.directoryExists(e)};var Rt;function kt(n,t){return void 0===t&&(t=n),e.Debug.assert(t>=n||-1===t),{pos:n,end:t}}function Ot(e,n){return kt(n,e.end)}function Pt(e){return e.decorators&&e.decorators.length>0?Ot(e,e.decorators.end):e}function Mt(e,n,t){return wt(Ft(e,t,!1),n.end,t)}function wt(n,t,r){return 0===e.getLinesBetweenPositions(r,n,t)}function Ft(n,t,r){return Hr(n.pos)?-1:e.skipTrivia(t.text,n.pos,!1,r)}function Gt(e){return void 0!==e.initializer}function Bt(e){return 33554432&e.flags?e.checkFlags:0}function Ut(n){var t=n.parent;if(!t)return 0;switch(t.kind){case 204:return Ut(t);case 212:case 211:var r=t.operator;return 45===r||46===r?c():0;case 213:var a=t,i=a.left,o=a.operatorToken;return i===n&&Et(o.kind)?62===o.kind?1:c():0;case 198:return t.name!==n?0:Ut(t);case 285:var s=Ut(t.parent);return n===t.name?function(n){switch(n){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(n)}}(s):s;case 286:return n===t.objectAssignmentInitializer?0:Ut(t.parent);case 196:return Ut(t);default:return 0}function c(){return t.parent&&230===function(e){for(;204===e.kind;)e=e.parent;return e}(t.parent).kind?1:2}}function Vt(e,n,t){var r=t.onDeleteValue,a=t.onExistingValue;e.forEach((function(t,i){var o=n.get(i);void 0===o?(e.delete(i),r(t,i)):a&&a(t,o,i)}))}function jt(e){if(32&e.flags){var n=Kt(e);return!!n&&ct(n,128)}return!1}function Kt(n){return e.find(n.declarations,e.isClassLike)}function Ht(e){return 3899393&e.flags?e.objectFlags:0}function Wt(e){return 198===e.kind||199===e.kind}function qt(e,n){this.flags=e,this.escapedName=n,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function zt(n,t){this.flags=t,e.Debug.isDebugging&&(this.checker=n)}function Jt(n,t){this.flags=t,e.Debug.isDebugging&&(this.checker=n)}function Xt(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Yt(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function Qt(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function Zt(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t||function(e){return e}}function $t(n,t,r){return void 0===r&&(r=0),n.replace(/{(\d+)}/g,(function(n,a){return""+e.Debug.checkDefined(t[+a+r])}))}function er(n){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[n.key]||n.message}function nr(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function tr(n,t){var r=t.fileName||"",a=t.text.length;e.Debug.assertEqual(n.fileName,r),e.Debug.assertLessThanOrEqual(n.start,a),e.Debug.assertLessThanOrEqual(n.start+n.length,a);var i={file:t,start:n.start,length:n.length,messageText:n.messageText,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary};if(n.relatedInformation){i.relatedInformation=[];for(var o=0,s=n.relatedInformation;o<s.length;o++){var c=s[o];nr(c)&&c.fileName===r?(e.Debug.assertLessThanOrEqual(c.start,a),e.Debug.assertLessThanOrEqual(c.start+c.length,a),i.relatedInformation.push(tr(c,t))):i.relatedInformation.push(c)}}return i}function rr(n,t,r,a){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0),n&&(e.Debug.assertLessThanOrEqual(t,n.text.length),e.Debug.assertLessThanOrEqual(t+r,n.text.length));var i=er(a);return arguments.length>4&&(i=$t(i,arguments,4)),{file:n,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary,reportsDeprecated:a.reportsDeprecated}}function ar(e){var n=er(e);return arguments.length>1&&(n=$t(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function ir(e){return e.file?e.file.path:void 0}function or(n,t){return sr(n,t)||function(n,t){if(!n.relatedInformation&&!t.relatedInformation)return 0;if(n.relatedInformation&&t.relatedInformation)return e.compareValues(n.relatedInformation.length,t.relatedInformation.length)||e.forEach(n.relatedInformation,(function(e,n){return or(e,t.relatedInformation[n])}))||0;return n.relatedInformation?-1:1}(n,t)||0}function sr(n,t){return e.compareStringsCaseSensitive(ir(n),ir(t))||e.compareValues(n.start,t.start)||e.compareValues(n.length,t.length)||e.compareValues(n.code,t.code)||function n(t,r){if("string"==typeof t&&"string"==typeof r)return e.compareStringsCaseSensitive(t,r);if("string"==typeof t)return-1;if("string"==typeof r)return 1;var a=e.compareStringsCaseSensitive(t.messageText,r.messageText);if(a)return a;if(!t.next&&!r.next)return 0;if(!t.next)return-1;if(!r.next)return 1;for(var i=Math.min(t.next.length,r.next.length),o=0;o<i;o++)if(a=n(t.next[o],r.next[o]))return a;if(t.next.length<r.next.length)return-1;if(t.next.length>r.next.length)return 1;return 0}(n.messageText,t.messageText)||0}function cr(e){return e.target||0}function lr(n){return"number"==typeof n.module?n.module:cr(n)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function ur(e){return!(!e.declaration&&!e.composite)}function dr(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function pr(e,n){return n.strictFlag?dr(e,n.name):e[n.name]}function fr(e){for(var n=!1,t=0;t<e.length;t++)if(42===e.charCodeAt(t)){if(n)return!1;n=!0}return!0}function mr(){var n,t;return{getSymlinkedFiles:function(){return t},getSymlinkedDirectories:function(){return n},setSymlinkedFile:function(n,r){return(t||(t=new e.Map)).set(n,r)},setSymlinkedDirectory:function(t,r){return(n||(n=new e.Map)).set(t,r)}}}function _r(n,t,r,a){for(var i=e.getPathComponents(e.toPath(n,r,a)),o=e.getPathComponents(e.toPath(t,r,a)),s=!1;!gr(i[i.length-2],a)&&!gr(o[o.length-2],a)&&a(i[i.length-1])===a(o[o.length-1]);)i.pop(),o.pop(),s=!0;return s?[e.getPathFromPathComponents(i),e.getPathFromPathComponents(o)]:void 0}function gr(n,t){return"node_modules"===t(n)||e.startsWith(n,"@")}e.getNewLineCharacter=function(n,t){switch(n.newLine){case 0:return"\r\n";case 1:return"\n"}return t?t():e.sys?e.sys.newLine:"\r\n"},e.createRange=kt,e.moveRangeEnd=function(e,n){return kt(e.pos,n)},e.moveRangePos=Ot,e.moveRangePastDecorators=Pt,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?Ot(e,e.modifiers.end):Pt(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(n,t){return kt(n,n+e.tokenToString(t).length)},e.rangeIsOnSingleLine=function(e,n){return Mt(e,e,n)},e.rangeStartPositionsAreOnSameLine=function(e,n,t){return wt(Ft(e,t,!1),Ft(n,t,!1),t)},e.rangeEndPositionsAreOnSameLine=function(e,n,t){return wt(e.end,n.end,t)},e.rangeStartIsOnSameLineAsRangeEnd=Mt,e.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return wt(e.end,Ft(n,t,!1),t)},e.getLinesBetweenRangeEndAndRangeStart=function(n,t,r,a){var i=Ft(t,r,a);return e.getLinesBetweenPositions(r,n.end,i)},e.getLinesBetweenRangeEndPositions=function(n,t,r){return e.getLinesBetweenPositions(r,n.end,t.end)},e.isNodeArrayMultiLine=function(e,n){return!wt(e.pos,e.end,n)},e.positionsAreOnSameLine=wt,e.getStartPositionOfRange=Ft,e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(n,t,r,a){var i=e.skipTrivia(r.text,n,!1,a),o=function(n,t,r){void 0===t&&(t=0);for(;n-- >t;)if(!e.isWhiteSpaceLike(r.text.charCodeAt(n)))return n}(i,t,r);return e.getLinesBetweenPositions(r,null!=o?o:t,i)},e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(n,t,r,a){var i=e.skipTrivia(r.text,n,!1,a);return e.getLinesBetweenPositions(r,n,Math.min(t,i))},e.isDeclarationNameOfEnumOrNamespace=function(n){var t=e.getParseTreeNode(n);if(t)switch(t.parent.kind){case 252:case 253:return t===t.parent.name}return!1},e.getInitializedVariables=function(n){return e.filter(n.declarations,Gt)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=Bt,e.getDeclarationModifierFlagsFromSymbol=function(n){if(n.valueDeclaration){var t=e.getCombinedModifierFlags(n.valueDeclaration);return n.parent&&32&n.parent.flags?t:-29&t}if(6&Bt(n)){var r=n.checkFlags;return(1024&r?8:256&r?4:16)|(2048&r?32:0)}return 4194304&n.flags?36:0},e.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===Ut(e)},e.isWriteAccess=function(e){return 0!==Ut(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(Rt||(Rt={})),e.compareDataObjects=function e(n,t){if(!n||!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if("object"==typeof n[r]){if(!e(n[r],t[r]))return!1}else if("function"!=typeof n[r]&&n[r]!==t[r])return!1;return!0},e.clearMap=function(e,n){e.forEach(n),e.clear()},e.mutateMapSkippingNewValues=Vt,e.mutateMap=function(e,n,t){Vt(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},e.isAbstractConstructorType=function(e){return!!(16&Ht(e))&&!!e.symbol&&jt(e.symbol)},e.isAbstractConstructorSymbol=jt,e.getClassLikeDeclarationOfSymbol=Kt,e.getObjectFlags=Ht,e.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(n,t){return!!e.forEachAncestorDirectory(n,(function(e){return!!t(e)||void 0}))},e.isUMDExportSymbol=function(n){return!!n&&!!n.declarations&&!!n.declarations[0]&&e.isNamespaceExportDeclaration(n.declarations[0])},e.showModuleSpecifier=function(n){var t=n.moduleSpecifier;return e.isStringLiteral(t)?t.text:E(t)},e.getLastChild=function(n){var t;return e.forEachChild(n,(function(e){f(e)&&(t=e)}),(function(e){for(var n=e.length-1;n>=0;n--)if(f(e[n])){t=e[n];break}})),t},e.addToSeen=function(e,n,t){return void 0===t&&(t=!0),n=String(n),!e.has(n)&&(e.set(n,t),!0)},e.isObjectTypeDeclaration=function(n){return e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isTypeLiteralNode(n)},e.isTypeNodeKind=function(e){return e>=171&&e<=192||128===e||151===e||143===e||154===e||144===e||131===e||146===e||147===e||113===e||149===e||140===e||220===e||299===e||300===e||301===e||302===e||303===e||304===e||305===e},e.isAccessExpression=Wt,e.getNameOfAccessExpression=function(n){return 198===n.kind?n.name:(e.Debug.assert(199===n.kind),n.argumentExpression)},e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},e.isNamedImportsOrExports=function(e){return 261===e.kind||265===e.kind},e.getLeftmostExpression=function(e,n){for(;;){switch(e.kind){case 212:e=e.operand;continue;case 213:e=e.left;continue;case 214:e=e.condition;continue;case 202:e=e.tag;continue;case 200:if(n)return e;case 221:case 199:case 198:case 222:case 331:e=e.expression;continue}return e}},e.objectAllocator={getNodeConstructor:function(){return Xt},getTokenConstructor:function(){return Yt},getIdentifierConstructor:function(){return Qt},getPrivateIdentifierConstructor:function(){return Xt},getSourceFileConstructor:function(){return Xt},getSymbolConstructor:function(){return qt},getTypeConstructor:function(){return zt},getSignatureConstructor:function(){return Jt},getSourceMapSourceConstructor:function(){return Zt}},e.setObjectAllocator=function(n){e.objectAllocator=n},e.formatStringFromArgs=$t,e.setLocalizedDiagnosticMessages=function(n){e.localizedDiagnosticMessages=n},e.getLocaleSpecificMessage=er,e.createDetachedDiagnostic=function(n,t,r,a){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0);var i=er(a);return arguments.length>4&&(i=$t(i,arguments,4)),{file:void 0,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary,fileName:n}},e.attachFileToDiagnostics=function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r];t.push(tr(i,n))}return t},e.createFileDiagnostic=rr,e.formatMessage=function(e,n){var t=er(n);return arguments.length>2&&(t=$t(t,arguments,2)),t},e.createCompilerDiagnostic=ar,e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,n){var t=er(n);return arguments.length>2&&(t=$t(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}},e.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next[0];t.next=[n]},e.compareDiagnostics=or,e.compareDiagnosticsSkipRelatedInformation=sr,e.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},e.getEmitScriptTarget=cr,e.getEmitModuleKind=lr,e.getEmitModuleResolutionKind=function(n){var t=n.moduleResolution;return void 0===t&&(t=lr(n)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),t},e.hasJsonModuleEmitEnabled=function(n){switch(lr(n)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:return!0;default:return!1}},e.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!ur(e)||!e.declarationMap)},e.getAllowSyntheticDefaultImports=function(n){var t=lr(n);return void 0!==n.allowSyntheticDefaultImports?n.allowSyntheticDefaultImports:n.esModuleInterop||t===e.ModuleKind.System},e.getEmitDeclarations=ur,e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=dr,e.compilerOptionsAffectSemanticDiagnostics=function(n,t){return t!==n&&e.semanticDiagnosticsOptionDeclarations.some((function(e){return!zr(pr(t,e),pr(n,e))}))},e.compilerOptionsAffectEmit=function(n,t){return t!==n&&e.affectsEmitOptionDeclarations.some((function(e){return!zr(pr(t,e),pr(n,e))}))},e.getCompilerOptionValue=pr,e.hasZeroOrOneAsteriskCharacter=fr,e.createSymlinkCache=mr,e.discoverProbableSymlinks=function(n,t,r){for(var a=mr(),i=0,o=e.flatten(e.mapDefined(n,(function(n){return n.resolvedModules&&e.compact(e.arrayFrom(e.mapIterator(n.resolvedModules.values(),(function(e){return e&&e.originalPath&&e.resolvedFileName!==e.originalPath?[e.resolvedFileName,e.originalPath]:void 0}))))})));i<o.length;i++){var s=o[i],c=_r(s[0],s[1],r,t)||e.emptyArray,l=c[0],u=c[1];l&&u&&a.setSymlinkedDirectory(e.toPath(u,r,t),{real:l,realPath:e.toPath(l,r,t)})}return a},e.tryRemoveDirectoryPrefix=function(n,t,r){var a,i=e.tryRemovePrefix(n,t,r);return void 0===i?void 0:(a=i,e.isAnyDirectorySeparator(a.charCodeAt(0))?a.slice(1):void 0)};var yr=/[^\w\s\/]/g;function hr(e){return"\\"+e}e.regExpEscape=function(e){return e.replace(yr,hr)};var vr=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var br="(?!("+e.commonPackageFolders.join("|")+")(/|$))",Er={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+br+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Cr(e,Er.singleAsteriskRegexFragment)}},Tr={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+br+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Cr(e,Tr.singleAsteriskRegexFragment)}},Sr={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return Cr(e,Sr.singleAsteriskRegexFragment)}},Lr={files:Er,directories:Tr,exclude:Sr};function xr(e,n,t){var r=Ar(e,n,t);if(r&&r.length)return"^("+r.map((function(e){return"("+e+")"})).join("|")+")"+("exclude"===t?"($|/)":"$")}function Ar(n,t,r){if(void 0!==n&&0!==n.length)return e.flatMap(n,(function(n){return n&&function(n,t,r,a){var i=a.singleAsteriskRegexFragment,o=a.doubleAsteriskRegexFragment,s=a.replaceWildcardCharacter,c="",l=!1,u=e.getNormalizedPathComponents(n,t),d=e.last(u);if("exclude"!==r&&"**"===d)return;u[0]=e.removeTrailingDirectorySeparator(u[0]),Dr(d)&&u.push("**","*");for(var p=0,f=0,m=u;f<m.length;f++){var _=m[f];if("**"===_)c+=o;else if("directories"===r&&(c+="(",p++),l&&(c+=e.directorySeparator),"exclude"!==r){var g="";42===_.charCodeAt(0)?(g+="([^./]"+i+")?",_=_.substr(1)):63===_.charCodeAt(0)&&(g+="[^./]",_=_.substr(1)),(g+=_.replace(yr,s))!==_&&(c+=br),c+=g}else c+=_.replace(yr,s);l=!0}for(;p>0;)c+=")?",p--;return c}(n,t,r,Lr[r])}))}function Dr(e){return!/[.*?]/.test(e)}function Cr(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function Ir(n,t,r,a,i){n=e.normalizePath(n),i=e.normalizePath(i);var o=e.combinePaths(i,n);return{includeFilePatterns:e.map(Ar(r,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:xr(r,o,"files"),includeDirectoryPattern:xr(r,o,"directories"),excludePattern:xr(t,o,"exclude"),basePaths:Rr(n,r,a)}}function Nr(e,n){return new RegExp(e,n?"":"i")}function Rr(n,t,r){var a=[n];if(t){for(var i=[],o=0,s=t;o<s.length;o++){var c=s[o],l=e.isRootedDiskPath(c)?c:e.normalizePath(e.combinePaths(n,c));i.push(kr(l))}i.sort(e.getStringComparer(!r));for(var u=function(t){e.every(a,(function(a){return!e.containsPath(a,t,n,!r)}))&&a.push(t)},d=0,p=i;d<p.length;d++){u(p[d])}}return a}function kr(n){var t=e.indexOfAnyCharCode(n,vr);return t<0?e.hasExtension(n)?e.removeTrailingDirectorySeparator(e.getDirectoryPath(n)):n:n.substring(0,n.lastIndexOf(e.directorySeparator,t))}function Or(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}e.getRegularExpressionForWildcard=xr,e.getRegularExpressionsForWildcards=Ar,e.isImplicitGlob=Dr,e.getFileMatcherPatterns=Ir,e.getRegexFromPattern=Nr,e.matchFiles=function(n,t,r,a,i,o,s,c,l){n=e.normalizePath(n),o=e.normalizePath(o);for(var u=Ir(n,r,a,i,o),d=u.includeFilePatterns&&u.includeFilePatterns.map((function(e){return Nr(e,i)})),p=u.includeDirectoryPattern&&Nr(u.includeDirectoryPattern,i),f=u.excludePattern&&Nr(u.excludePattern,i),m=d?d.map((function(){return[]})):[[]],_=new e.Map,g=e.createGetCanonicalFileName(i),y=0,h=u.basePaths;y<h.length;y++){var v=h[y];b(v,e.combinePaths(o,v),s)}return e.flatten(m);function b(n,r,a){var i=g(l(r));if(!_.has(i)){_.set(i,!0);for(var o=c(n),s=o.files,u=o.directories,y=function(a){var i=e.combinePaths(n,a),o=e.combinePaths(r,a);if(t&&!e.fileExtensionIsOneOf(i,t))return"continue";if(f&&f.test(o))return"continue";if(d){var s=e.findIndex(d,(function(e){return e.test(o)}));-1!==s&&m[s].push(i)}else m[0].push(i)},h=0,v=e.sort(s,e.compareStringsCaseSensitive);h<v.length;h++){y(S=v[h])}if(void 0===a||0!=--a)for(var E=0,T=e.sort(u,e.compareStringsCaseSensitive);E<T.length;E++){var S=T[E],L=e.combinePaths(n,S),x=e.combinePaths(r,S);p&&!p.test(x)||f&&f.test(x)||b(L,x,a)}}}},e.ensureScriptKind=function(e,n){return n||Or(e)||3},e.getScriptKindFromFileName=Or,e.supportedTSExtensions=[".ts",".tsx",".d.ts"],e.supportedTSExtensionsWithJson=[".ts",".tsx",".d.ts",".json"],e.supportedTSExtensionsForExtractExtension=[".d.ts",".ts",".tsx"],e.supportedJSExtensions=[".js",".jsx"],e.supportedJSAndJsonExtensions=[".js",".jsx",".json"];var Pr=o(e.supportedTSExtensions,e.supportedJSExtensions),Mr=o(e.supportedTSExtensions,e.supportedJSExtensions,[".json"]);function wr(n,t){var r=n&&n.allowJs;if(!t||0===t.length)return r?Pr:e.supportedTSExtensions;var a=o(r?Pr:e.supportedTSExtensions,e.mapDefined(t,(function(e){return 7===e.scriptKind||r&&(1===(n=e.scriptKind)||2===n)?e.extension:void 0;var n})));return e.deduplicate(a,e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function Fr(n,t){return n&&n.resolveJsonModule?t===Pr?Mr:t===e.supportedTSExtensions?e.supportedTSExtensionsWithJson:o(t,[".json"]):t}function Gr(e,n){return e<2?0:e<n.length?2:n.length}e.getSupportedExtensions=wr,e.getSuppoertedExtensionsWithJsonIfResolveJsonModule=Fr,e.hasJSFileExtension=function(n){return e.some(e.supportedJSExtensions,(function(t){return e.fileExtensionIs(n,t)}))},e.hasTSFileExtension=function(n){return e.some(e.supportedTSExtensions,(function(t){return e.fileExtensionIs(n,t)}))},e.isSupportedSourceFileName=function(n,t,r){if(!n)return!1;for(var a=0,i=Fr(t,wr(t,r));a<i.length;a++){var o=i[a];if(e.fileExtensionIs(n,o))return!0}return!1},function(e){e[e.TypeScriptFiles=0]="TypeScriptFiles",e[e.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",e[e.Highest=0]="Highest",e[e.Lowest=2]="Lowest"}(e.ExtensionPriority||(e.ExtensionPriority={})),e.getExtensionPriority=function(n,t){for(var r=t.length-1;r>=0;r--)if(e.fileExtensionIs(n,t[r]))return Gr(r,t);return 0},e.adjustExtensionPriority=Gr,e.getNextLowestExtensionPriority=function(e,n){return e<2?2:n.length};var Br=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function Ur(e){for(var n=0,t=Br;n<t.length;n++){var r=Vr(e,t[n]);if(void 0!==r)return r}return e}function Vr(n,t){return e.fileExtensionIs(n,t)?jr(n,t):void 0}function jr(e,n){return e.substring(0,e.length-n.length)}function Kr(n){e.Debug.assert(fr(n));var t=n.indexOf("*");return-1===t?void 0:{prefix:n.substr(0,t),suffix:n.substr(t+1)}}function Hr(e){return!(e>=0)}function Wr(e){return".ts"===e||".tsx"===e||".d.ts"===e}function qr(n){return e.find(Br,(function(t){return e.fileExtensionIs(n,t)}))}function zr(n,t){return n===t||"object"==typeof n&&null!==n&&"object"==typeof t&&null!==t&&e.equalOwnProperties(n,t,zr)}function Jr(e,n){return e.pos=n,e}function Xr(e,n){return e.end=n,e}function Yr(e,n,t){return Xr(Jr(e,n),t)}function Qr(e,n){return e&&n&&(e.parent=n),e}e.removeFileExtension=Ur,e.tryRemoveExtension=Vr,e.removeExtension=jr,e.changeExtension=function(n,t){return e.changeAnyExtension(n,t,Br,!1)},e.tryParsePattern=Kr,e.positionIsSynthesized=Hr,e.extensionIsTS=Wr,e.resolutionExtensionIsTSOrJson=function(e){return Wr(e)||".json"===e},e.extensionFromPath=function(n){var t=qr(n);return void 0!==t?t:e.Debug.fail("File "+n+" has unknown extension.")},e.isAnySupportedFileExtension=function(e){return void 0!==qr(e)},e.tryGetExtensionFromPath=qr,e.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(n,t){for(var r=[],a=0,i=n;a<i.length;a++){var o=i[a];if(fr(o)){var s=Kr(o);if(s)r.push(s);else if(o===t)return o}}return e.findBestPatternMatch(r,(function(e){return e}),t)},e.sliceAfter=function(n,t){var r=n.indexOf(t);return e.Debug.assert(-1!==r),n.slice(r)},e.addRelatedInfo=function(e){for(var n,t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length?(e.relatedInformation||(e.relatedInformation=[]),(n=e.relatedInformation).push.apply(n,t),e):e},e.minAndMax=function(n,t){e.Debug.assert(0!==n.length);for(var r=t(n[0]),a=r,i=1;i<n.length;i++){var o=t(n[i]);o<r?r=o:o>a&&(a=o)}return{min:r,max:a}},e.rangeOfNode=function(e){return{pos:h(e),end:e.end}},e.rangeOfTypeParameters=function(e){return{pos:e.pos-1,end:e.end+1}},e.skipTypeChecking=function(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)},e.isJsonEqual=zr,e.parsePseudoBigInt=function(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:for(var t=e.length-1,r=0;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}for(var a=e.length-1,i=(a-2)*n,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,c=0;s>=2;s--,c+=n){var l=c>>>4,u=e.charCodeAt(s),d=(u<=57?u-48:10+u-(u<=70?65:97))<<(15&c);o[l]|=d;var p=d>>>16;p&&(o[l+1]|=p)}for(var f="",m=o.length-1,_=!0;_;){var g=0;_=!1;for(l=m;l>=0;l--){var y=g<<16|o[l],h=y/10|0;o[l]=h,g=y-10*h,h&&!_&&(m=l,_=!0)}f=g+f}return f},e.pseudoBigIntToString=function(e){var n=e.negative,t=e.base10Value;return(n&&"0"!==t?"-":"")+t},e.isValidTypeOnlyAliasUseSite=function(e){return!!(8388608&e.flags)||le(e)||function(e){if(78!==e.kind)return!1;var n=i(e.parent,(function(e){switch(e.kind){case 283:return!0;case 198:case 220:return!1;default:return"quit"}}));return 116===(null==n?void 0:n.token)||250===(null==n?void 0:n.parent.kind)}(e)||function(e){for(;78===e.kind||198===e.kind;)e=e.parent;if(157!==e.kind)return!1;if(ct(e.parent,128))return!0;var n=e.parent.parent.kind;return 250===n||176===n}(e)||!se(e)},e.typeOnlyDeclarationIsExport=function(e){return 267===e.kind},e.isIdentifierTypeReference=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)},e.arrayIsHomogeneous=function(n,t){if(void 0===t&&(t=e.equateValues),n.length<2)return!0;for(var r=n[0],a=1,i=n.length;a<i;a++){if(!t(r,n[a]))return!1}return!0},e.setTextRangePos=Jr,e.setTextRangeEnd=Xr,e.setTextRangePosEnd=Yr,e.setTextRangePosWidth=function(e,n,t){return Yr(e,n,n+t)},e.setNodeFlags=function(e,n){return e&&(e.flags=n),e},e.setParent=Qr,e.setEachParent=function(e,n){if(e)for(var t=0,r=e;t<r.length;t++){Qr(r[t],n)}return e},e.setParentRecursive=function(n,t){return n?(e.forEachChildRecursively(n,e.isJSDocNode(n)?r:function(n,t){return r(n,t)||function(n){if(e.hasJSDocNodes(n))for(var t=0,a=n.jsDoc;t<a.length;t++){var i=a[t];r(i,n),e.forEachChildRecursively(i,r)}}(n)}),n):n;function r(e,n){if(t&&e.parent===n)return"skip";Qr(e,n)}}}(p||(p={})),function(e){e.createBaseNodeFactory=function(){var n,t,r,a,i;return{createBaseSourceFileNode:function(n){return new(i||(i=e.objectAllocator.getSourceFileConstructor()))(n,-1,-1)},createBaseIdentifierNode:function(n){return new(r||(r=e.objectAllocator.getIdentifierConstructor()))(n,-1,-1)},createBasePrivateIdentifierNode:function(n){return new(a||(a=e.objectAllocator.getPrivateIdentifierConstructor()))(n,-1,-1)},createBaseTokenNode:function(n){return new(t||(t=e.objectAllocator.getTokenConstructor()))(n,-1,-1)},createBaseNode:function(t){return new(n||(n=e.objectAllocator.getNodeConstructor()))(t,-1,-1)}}}}(p||(p={})),function(e){e.createParenthesizerRules=function(n){return{parenthesizeLeftSideOfBinary:function(e,n){return r(e,n,!0)},parenthesizeRightSideOfBinary:function(e,n,t){return r(e,t,!1,n)},parenthesizeExpressionOfComputedPropertyName:function(t){return e.isCommaSequence(t)?n.createParenthesizedExpression(t):t},parenthesizeConditionOfConditionalExpression:function(t){var r=e.getOperatorPrecedence(214,57),a=e.skipPartiallyEmittedExpressions(t),i=e.getExpressionPrecedence(a);if(1!==e.compareValues(i,r))return n.createParenthesizedExpression(t);return t},parenthesizeBranchOfConditionalExpression:function(t){var r=e.skipPartiallyEmittedExpressions(t);return e.isCommaSequence(r)?n.createParenthesizedExpression(t):t},parenthesizeExpressionOfExportDefault:function(t){var r=e.skipPartiallyEmittedExpressions(t),a=e.isCommaSequence(r);if(!a)switch(e.getLeftmostExpression(r,!1).kind){case 218:case 205:a=!0}return a?n.createParenthesizedExpression(t):t},parenthesizeExpressionOfNew:function(t){var r=e.getLeftmostExpression(t,!0);switch(r.kind){case 200:return n.createParenthesizedExpression(t);case 201:return r.arguments?t:n.createParenthesizedExpression(t)}return a(t)},parenthesizeLeftSideOfAccess:a,parenthesizeOperandOfPostfixUnary:function(t){return e.isLeftHandSideExpression(t)?t:e.setTextRange(n.createParenthesizedExpression(t),t)},parenthesizeOperandOfPrefixUnary:function(t){return e.isUnaryExpression(t)?t:e.setTextRange(n.createParenthesizedExpression(t),t)},parenthesizeExpressionsOfCommaDelimitedList:function(t){var r=e.sameMap(t,i);return e.setTextRange(n.createNodeArray(r,t.hasTrailingComma),t)},parenthesizeExpressionForDisallowedComma:i,parenthesizeExpressionOfExpressionStatement:function(t){var r=e.skipPartiallyEmittedExpressions(t);if(e.isCallExpression(r)){var a=r.expression,i=e.skipPartiallyEmittedExpressions(a).kind;if(205===i||206===i){var o=n.updateCallExpression(r,e.setTextRange(n.createParenthesizedExpression(a),a),r.typeArguments,r.arguments);return n.restoreOuterExpressions(t,o,8)}}var s=e.getLeftmostExpression(r,!1).kind;if(197===s||205===s)return e.setTextRange(n.createParenthesizedExpression(t),t);return t},parenthesizeConciseBodyOfArrowFunction:function(t){if(!e.isBlock(t)&&(e.isCommaSequence(t)||197===e.getLeftmostExpression(t,!1).kind))return e.setTextRange(n.createParenthesizedExpression(t),t);return t},parenthesizeMemberOfConditionalType:o,parenthesizeMemberOfElementType:s,parenthesizeElementTypeOfArrayType:function(e){switch(e.kind){case 175:case 187:case 184:return n.createParenthesizedType(e)}return s(e)},parenthesizeConstituentTypesOfUnionOrIntersectionType:function(t){return n.createNodeArray(e.sameMap(t,s))},parenthesizeTypeArguments:function(t){if(e.some(t))return n.createNodeArray(e.sameMap(t,c))}};function t(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isLiteralKind(n.kind))return n.kind;if(213===n.kind&&39===n.operatorToken.kind){if(void 0!==n.cachedLiteralKind)return n.cachedLiteralKind;var r=t(n.left),a=e.isLiteralKind(r)&&r===t(n.right)?r:0;return n.cachedLiteralKind=a,a}return 0}function r(r,a,i,o){return 204===e.skipPartiallyEmittedExpressions(a).kind?a:function(n,r,a,i){var o=e.getOperatorPrecedence(213,n),s=e.getOperatorAssociativity(213,n),c=e.skipPartiallyEmittedExpressions(r);if(!a&&206===r.kind&&o>3)return!0;var l=e.getExpressionPrecedence(c);switch(e.compareValues(l,o)){case-1:return!(!a&&1===s&&216===r.kind);case 1:return!1;case 0:if(a)return 1===s;if(e.isBinaryExpression(c)&&c.operatorToken.kind===n){if(function(e){return 41===e||51===e||50===e||52===e}(n))return!1;if(39===n){var u=i?t(i):0;if(e.isLiteralKind(u)&&u===t(c))return!1}}return 0===e.getExpressionAssociativity(c)}}(r,a,i,o)?n.createParenthesizedExpression(a):a}function a(t){var r=e.skipPartiallyEmittedExpressions(t);return e.isLeftHandSideExpression(r)&&(201!==r.kind||r.arguments)?t:e.setTextRange(n.createParenthesizedExpression(t),t)}function i(t){var r=e.skipPartiallyEmittedExpressions(t);return e.getExpressionPrecedence(r)>e.getOperatorPrecedence(213,27)?t:e.setTextRange(n.createParenthesizedExpression(t),t)}function o(e){return 183===e.kind?n.createParenthesizedType(e):e}function s(e){switch(e.kind){case 181:case 182:case 173:case 174:return n.createParenthesizedType(e)}return o(e)}function c(t,r){return 0===r&&e.isFunctionOrConstructorTypeNode(t)&&t.typeParameters?n.createParenthesizedType(t):t}},e.nullParenthesizerRules={parenthesizeLeftSideOfBinary:function(e,n){return n},parenthesizeRightSideOfBinary:function(e,n,t){return t},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(n){return e.cast(n,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(n){return e.cast(n,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(n){return e.cast(n,e.isNodeArray)},parenthesizeTypeArguments:function(n){return n&&e.cast(n,e.isNodeArray)}}}(p||(p={})),function(e){e.createNodeConverters=function(n){return{convertToFunctionBlock:function(t,r){if(e.isBlock(t))return t;var a=n.createReturnStatement(t);e.setTextRange(a,t);var i=n.createBlock([a],r);return e.setTextRange(i,t),i},convertToFunctionExpression:function(t){if(!t.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var r=n.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);e.setOriginalNode(r,t),e.setTextRange(r,t),e.getStartsOnNewLine(t)&&e.setStartsOnNewLine(r,!0);return r},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:r,convertToAssignmentPattern:a,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function t(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createSpreadElement(t.name),t),t);var r=s(t.name);return t.initializer?e.setOriginalNode(e.setTextRange(n.createAssignment(r,t.initializer),t),t):r}return e.cast(t,e.isExpression)}function r(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createSpreadAssignment(t.name),t),t);if(t.propertyName){var r=s(t.name);return e.setOriginalNode(e.setTextRange(n.createPropertyAssignment(t.propertyName,t.initializer?n.createAssignment(r,t.initializer):r),t),t)}return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return e.cast(t,e.isObjectLiteralElementLike)}function a(e){switch(e.kind){case 194:case 196:return o(e);case 193:case 197:return i(e)}}function i(t){return e.isObjectBindingPattern(t)?e.setOriginalNode(e.setTextRange(n.createObjectLiteralExpression(e.map(t.elements,r)),t),t):e.cast(t,e.isObjectLiteralExpression)}function o(r){return e.isArrayBindingPattern(r)?e.setOriginalNode(e.setTextRange(n.createArrayLiteralExpression(e.map(r.elements,t)),r),r):e.cast(r,e.isArrayLiteralExpression)}function s(n){return e.isBindingPattern(n)?a(n):e.cast(n,e.isExpression)}},e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}}(p||(p={})),function(e){var n,t=0;function r(r,f){var m=8&r?a:i,_=e.memoize((function(){return 1&r?e.nullParenthesizerRules:e.createParenthesizerRules(C)})),g=e.memoize((function(){return 2&r?e.nullNodeConverters:e.createNodeConverters(C)})),y=e.memoizeOne((function(e){return function(n,t){return In(n,e,t)}})),v=e.memoizeOne((function(e){return function(n){return Dn(e,n)}})),b=e.memoizeOne((function(e){return function(n){return Cn(n,e)}})),E=e.memoizeOne((function(e){return function(){return function(e){return N(e)}(e)}})),T=e.memoizeOne((function(e){return function(n){return qt(e,n)}})),S=e.memoizeOne((function(e){return function(n,t){return function(e,n,t){return n.type!==t?m(qt(e,t),n):n}(e,n,t)}})),L=e.memoizeOne((function(e){return function(n,t){return or(e,n,t)}})),x=e.memoizeOne((function(e){return function(n,t,r){return function(e,n,t,r){void 0===t&&(t=Qt(n));return n.tagName!==t||n.comment!==r?m(or(e,t,r),n):n}(e,n,t,r)}})),A=e.memoizeOne((function(e){return function(n,t,r){return sr(e,n,t,r)}})),D=e.memoizeOne((function(e){return function(n,t,r,a){return function(e,n,t,r,a){void 0===t&&(t=Qt(n));return n.tagName!==t||n.typeExpression!==r||n.comment!==a?m(sr(e,t,r,a),n):n}(e,n,t,r,a)}})),C={get parenthesizer(){return _()},get converters(){return g()},createNodeArray:I,createNumericLiteral:K,createBigIntLiteral:H,createStringLiteral:q,createStringLiteralFromNode:function(n){var t=W(e.getTextOfIdentifierOrLiteral(n),void 0);return t.textSourceNode=n,t},createRegularExpressionLiteral:z,createLiteralLikeNode:function(e,n){switch(e){case 8:return K(n,0);case 9:return H(n);case 10:return q(n,void 0);case 11:return _r(n,!1);case 12:return _r(n,!0);case 13:return z(n);case 14:return On(e,n,void 0,0)}},createIdentifier:Y,updateIdentifier:function(n,t){return n.typeArguments!==t?m(Y(e.idText(n),t),n):n},createTempVariable:Q,createLoopVariable:function(){return X("",2)},createUniqueName:function(n,t){void 0===t&&(t=0);return e.Debug.assert(!(7&t),"Argument out of range: flags"),e.Debug.assert(32!=(48&t),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),X(n,3|t)},getGeneratedNameForNode:Z,createPrivateIdentifier:function(n){e.startsWith(n,"#")||e.Debug.fail("First character of private identifier must be #: "+n);var t=f.createBasePrivateIdentifierNode(79);return t.escapedText=e.escapeLeadingUnderscores(n),t.transformFlags|=4194304,t},createToken:ee,createSuper:function(){return ee(105)},createThis:ne,createNull:function(){return ee(103)},createTrue:te,createFalse:re,createModifier:ae,createModifiersFromModifierFlags:ie,createQualifiedName:oe,updateQualifiedName:function(e,n,t){return e.left!==n||e.right!==t?m(oe(n,t),e):e},createComputedPropertyName:se,updateComputedPropertyName:function(e,n){return e.expression!==n?m(se(n),e):e},createTypeParameterDeclaration:ce,updateTypeParameterDeclaration:function(e,n,t,r){return e.name!==n||e.constraint!==t||e.default!==r?m(ce(n,t,r),e):e},createParameterDeclaration:le,updateParameterDeclaration:ue,createDecorator:de,updateDecorator:function(e,n){return e.expression!==n?m(de(n),e):e},createPropertySignature:pe,updatePropertySignature:fe,createPropertyDeclaration:me,updatePropertyDeclaration:_e,createMethodSignature:ge,updateMethodSignature:ye,createMethodDeclaration:he,updateMethodDeclaration:ve,createConstructorDeclaration:be,updateConstructorDeclaration:Ee,createGetAccessorDeclaration:Te,updateGetAccessorDeclaration:Se,createSetAccessorDeclaration:Le,updateSetAccessorDeclaration:xe,createCallSignature:Ae,updateCallSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(Ae(n,t,r),e):e},createConstructSignature:De,updateConstructSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(De(n,t,r),e):e},createIndexSignature:Ce,updateIndexSignature:Ie,createKeywordTypeNode:function(e){return ee(e)},createTypePredicateNode:Ne,updateTypePredicateNode:function(e,n,t,r){return e.assertsModifier!==n||e.parameterName!==t||e.type!==r?m(Ne(n,t,r),e):e},createTypeReferenceNode:Re,updateTypeReferenceNode:function(e,n,t){return e.typeName!==n||e.typeArguments!==t?m(Re(n,t),e):e},createFunctionTypeNode:ke,updateFunctionTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(ke(n,t,r),e):e},createConstructorTypeNode:Oe,updateConstructorTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?M(Oe(n,t,r),e):e},createTypeQueryNode:Pe,updateTypeQueryNode:function(e,n){return e.exprName!==n?m(Pe(n),e):e},createTypeLiteralNode:Me,updateTypeLiteralNode:function(e,n){return e.members!==n?m(Me(n),e):e},createArrayTypeNode:we,updateArrayTypeNode:function(e,n){return e.elementType!==n?m(we(n),e):e},createTupleTypeNode:Fe,updateTupleTypeNode:function(e,n){return e.elements!==n?m(Fe(n),e):e},createNamedTupleMember:Ge,updateNamedTupleMember:function(e,n,t,r,a){return e.dotDotDotToken!==n||e.name!==t||e.questionToken!==r||e.type!==a?m(Ge(n,t,r,a),e):e},createOptionalTypeNode:Be,updateOptionalTypeNode:function(e,n){return e.type!==n?m(Be(n),e):e},createRestTypeNode:Ue,updateRestTypeNode:function(e,n){return e.type!==n?m(Ue(n),e):e},createUnionTypeNode:function(e){return Ve(181,e)},updateUnionTypeNode:function(e,n){return je(e,n)},createIntersectionTypeNode:function(e){return Ve(182,e)},updateIntersectionTypeNode:function(e,n){return je(e,n)},createConditionalTypeNode:Ke,updateConditionalTypeNode:function(e,n,t,r,a){return e.checkType!==n||e.extendsType!==t||e.trueType!==r||e.falseType!==a?m(Ke(n,t,r,a),e):e},createInferTypeNode:He,updateInferTypeNode:function(e,n){return e.typeParameter!==n?m(He(n),e):e},createImportTypeNode:We,updateImportTypeNode:function(e,n,t,r,a){void 0===a&&(a=e.isTypeOf);return e.argument!==n||e.qualifier!==t||e.typeArguments!==r||e.isTypeOf!==a?m(We(n,t,r,a),e):e},createParenthesizedType:qe,updateParenthesizedType:function(e,n){return e.type!==n?m(qe(n),e):e},createThisTypeNode:function(){var e=N(186);return e.transformFlags=1,e},createTypeOperatorNode:ze,updateTypeOperatorNode:function(e,n){return e.type!==n?m(ze(e.operator,n),e):e},createIndexedAccessTypeNode:Je,updateIndexedAccessTypeNode:function(e,n,t){return e.objectType!==n||e.indexType!==t?m(Je(n,t),e):e},createMappedTypeNode:Xe,updateMappedTypeNode:function(e,n,t,r,a){return e.readonlyToken!==n||e.typeParameter!==t||e.questionToken!==r||e.type!==a?m(Xe(n,t,r,a),e):e},createLiteralTypeNode:Ye,updateLiteralTypeNode:function(e,n){return e.literal!==n?m(Ye(n),e):e},createObjectBindingPattern:Qe,updateObjectBindingPattern:function(e,n){return e.elements!==n?m(Qe(n),e):e},createArrayBindingPattern:Ze,updateArrayBindingPattern:function(e,n){return e.elements!==n?m(Ze(n),e):e},createBindingElement:$e,updateBindingElement:function(e,n,t,r,a){return e.propertyName!==t||e.dotDotDotToken!==n||e.name!==r||e.initializer!==a?m($e(n,t,r,a),e):e},createArrayLiteralExpression:nn,updateArrayLiteralExpression:function(e,n){return e.elements!==n?m(nn(n,e.multiLine),e):e},createObjectLiteralExpression:tn,updateObjectLiteralExpression:function(e,n){return e.properties!==n?m(tn(n,e.multiLine),e):e},createPropertyAccessExpression:4&r?function(n,t){return e.setEmitFlags(rn(n,t),131072)}:rn,updatePropertyAccessExpression:function(n,t,r){if(e.isPropertyAccessChain(n))return on(n,t,n.questionDotToken,e.cast(r,e.isIdentifier));return n.expression!==t||n.name!==r?m(rn(t,r),n):n},createPropertyAccessChain:4&r?function(n,t,r){return e.setEmitFlags(an(n,t,r),131072)}:an,updatePropertyAccessChain:on,createElementAccessExpression:sn,updateElementAccessExpression:function(n,t,r){if(e.isElementAccessChain(n))return ln(n,t,n.questionDotToken,r);return n.expression!==t||n.argumentExpression!==r?m(sn(t,r),n):n},createElementAccessChain:cn,updateElementAccessChain:ln,createCallExpression:un,updateCallExpression:function(n,t,r,a){if(e.isCallChain(n))return pn(n,t,n.questionDotToken,r,a);return n.expression!==t||n.typeArguments!==r||n.arguments!==a?m(un(t,r,a),n):n},createCallChain:dn,updateCallChain:pn,createNewExpression:fn,updateNewExpression:function(e,n,t,r){return e.expression!==n||e.typeArguments!==t||e.arguments!==r?m(fn(n,t,r),e):e},createTaggedTemplateExpression:mn,updateTaggedTemplateExpression:function(e,n,t,r){return e.tag!==n||e.typeArguments!==t||e.template!==r?m(mn(n,t,r),e):e},createTypeAssertion:_n,updateTypeAssertion:gn,createParenthesizedExpression:yn,updateParenthesizedExpression:hn,createFunctionExpression:vn,updateFunctionExpression:bn,createArrowFunction:En,updateArrowFunction:Tn,createDeleteExpression:Sn,updateDeleteExpression:function(e,n){return e.expression!==n?m(Sn(n),e):e},createTypeOfExpression:Ln,updateTypeOfExpression:function(e,n){return e.expression!==n?m(Ln(n),e):e},createVoidExpression:xn,updateVoidExpression:function(e,n){return e.expression!==n?m(xn(n),e):e},createAwaitExpression:An,updateAwaitExpression:function(e,n){return e.expression!==n?m(An(n),e):e},createPrefixUnaryExpression:Dn,updatePrefixUnaryExpression:function(e,n){return e.operand!==n?m(Dn(e.operator,n),e):e},createPostfixUnaryExpression:Cn,updatePostfixUnaryExpression:function(e,n){return e.operand!==n?m(Cn(n,e.operator),e):e},createBinaryExpression:In,updateBinaryExpression:function(e,n,t,r){return e.left!==n||e.operatorToken!==t||e.right!==r?m(In(n,t,r),e):e},createConditionalExpression:Nn,updateConditionalExpression:function(e,n,t,r,a,i){return e.condition!==n||e.questionToken!==t||e.whenTrue!==r||e.colonToken!==a||e.whenFalse!==i?m(Nn(n,t,r,a,i),e):e},createTemplateExpression:Rn,updateTemplateExpression:function(e,n,t){return e.head!==n||e.templateSpans!==t?m(Rn(n,t),e):e},createTemplateHead:function(e,n,t){return kn(15,e,n,t)},createTemplateMiddle:function(e,n,t){return kn(16,e,n,t)},createTemplateTail:function(e,n,t){return kn(17,e,n,t)},createNoSubstitutionTemplateLiteral:function(e,n,t){return kn(14,e,n,t)},createTemplateLiteralLikeNode:On,createYieldExpression:Pn,updateYieldExpression:function(e,n,t){return e.expression!==t||e.asteriskToken!==n?m(Pn(n,t),e):e},createSpreadElement:Mn,updateSpreadElement:function(e,n){return e.expression!==n?m(Mn(n),e):e},createClassExpression:wn,updateClassExpression:Fn,createOmittedExpression:function(){return en(219)},createExpressionWithTypeArguments:Gn,updateExpressionWithTypeArguments:function(e,n,t){return e.expression!==n||e.typeArguments!==t?m(Gn(n,t),e):e},createAsExpression:Bn,updateAsExpression:Un,createNonNullExpression:Vn,updateNonNullExpression:jn,createNonNullChain:Kn,updateNonNullChain:Hn,createMetaProperty:Wn,updateMetaProperty:function(e,n){return e.name!==n?m(Wn(e.keywordToken,n),e):e},createTemplateSpan:qn,updateTemplateSpan:function(e,n,t){return e.expression!==n||e.literal!==t?m(qn(n,t),e):e},createSemicolonClassElement:function(){var e=N(226);return e.transformFlags|=256,e},createBlock:zn,updateBlock:function(e,n){return e.statements!==n?m(zn(n,e.multiLine),e):e},createVariableStatement:Jn,updateVariableStatement:Xn,createEmptyStatement:Yn,createExpressionStatement:Qn,updateExpressionStatement:function(e,n){return e.expression!==n?m(Qn(n),e):e},createIfStatement:Zn,updateIfStatement:function(e,n,t,r){return e.expression!==n||e.thenStatement!==t||e.elseStatement!==r?m(Zn(n,t,r),e):e},createDoStatement:$n,updateDoStatement:function(e,n,t){return e.statement!==n||e.expression!==t?m($n(n,t),e):e},createWhileStatement:et,updateWhileStatement:function(e,n,t){return e.expression!==n||e.statement!==t?m(et(n,t),e):e},createForStatement:nt,updateForStatement:function(e,n,t,r,a){return e.initializer!==n||e.condition!==t||e.incrementor!==r||e.statement!==a?m(nt(n,t,r,a),e):e},createForInStatement:tt,updateForInStatement:function(e,n,t,r){return e.initializer!==n||e.expression!==t||e.statement!==r?m(tt(n,t,r),e):e},createForOfStatement:rt,updateForOfStatement:function(e,n,t,r,a){return e.awaitModifier!==n||e.initializer!==t||e.expression!==r||e.statement!==a?m(rt(n,t,r,a),e):e},createContinueStatement:at,updateContinueStatement:function(e,n){return e.label!==n?m(at(n),e):e},createBreakStatement:it,updateBreakStatement:function(e,n){return e.label!==n?m(it(n),e):e},createReturnStatement:ot,updateReturnStatement:function(e,n){return e.expression!==n?m(ot(n),e):e},createWithStatement:st,updateWithStatement:function(e,n,t){return e.expression!==n||e.statement!==t?m(st(n,t),e):e},createSwitchStatement:ct,updateSwitchStatement:function(e,n,t){return e.expression!==n||e.caseBlock!==t?m(ct(n,t),e):e},createLabeledStatement:lt,updateLabeledStatement:ut,createThrowStatement:dt,updateThrowStatement:function(e,n){return e.expression!==n?m(dt(n),e):e},createTryStatement:pt,updateTryStatement:function(e,n,t,r){return e.tryBlock!==n||e.catchClause!==t||e.finallyBlock!==r?m(pt(n,t,r),e):e},createDebuggerStatement:function(){return N(245)},createVariableDeclaration:ft,updateVariableDeclaration:function(e,n,t,r,a){return e.name!==n||e.type!==r||e.exclamationToken!==t||e.initializer!==a?m(ft(n,t,r,a),e):e},createVariableDeclarationList:mt,updateVariableDeclarationList:function(e,n){return e.declarations!==n?m(mt(n,e.flags),e):e},createFunctionDeclaration:_t,updateFunctionDeclaration:gt,createClassDeclaration:yt,updateClassDeclaration:ht,createInterfaceDeclaration:vt,updateInterfaceDeclaration:bt,createTypeAliasDeclaration:Et,updateTypeAliasDeclaration:Tt,createEnumDeclaration:St,updateEnumDeclaration:Lt,createModuleDeclaration:xt,updateModuleDeclaration:At,createModuleBlock:Dt,updateModuleBlock:function(e,n){return e.statements!==n?m(Dt(n),e):e},createCaseBlock:Ct,updateCaseBlock:function(e,n){return e.clauses!==n?m(Ct(n),e):e},createNamespaceExportDeclaration:It,updateNamespaceExportDeclaration:function(e,n){return e.name!==n?m(It(n),e):e},createImportEqualsDeclaration:Nt,updateImportEqualsDeclaration:Rt,createImportDeclaration:kt,updateImportDeclaration:Ot,createImportClause:Pt,updateImportClause:function(e,n,t,r){return e.isTypeOnly!==n||e.name!==t||e.namedBindings!==r?m(Pt(n,t,r),e):e},createNamespaceImport:Mt,updateNamespaceImport:function(e,n){return e.name!==n?m(Mt(n),e):e},createNamespaceExport:wt,updateNamespaceExport:function(e,n){return e.name!==n?m(wt(n),e):e},createNamedImports:Ft,updateNamedImports:function(e,n){return e.elements!==n?m(Ft(n),e):e},createImportSpecifier:Gt,updateImportSpecifier:function(e,n,t){return e.propertyName!==n||e.name!==t?m(Gt(n,t),e):e},createExportAssignment:Bt,updateExportAssignment:Ut,createExportDeclaration:Vt,updateExportDeclaration:jt,createNamedExports:Kt,updateNamedExports:function(e,n){return e.elements!==n?m(Kt(n),e):e},createExportSpecifier:Ht,updateExportSpecifier:function(e,n,t){return e.propertyName!==n||e.name!==t?m(Ht(n,t),e):e},createMissingDeclaration:function(){return R(268,void 0,void 0)},createExternalModuleReference:Wt,updateExternalModuleReference:function(e,n){return e.expression!==n?m(Wt(n),e):e},get createJSDocAllType(){return E(299)},get createJSDocUnknownType(){return E(300)},get createJSDocNonNullableType(){return T(302)},get updateJSDocNonNullableType(){return S(302)},get createJSDocNullableType(){return T(301)},get updateJSDocNullableType(){return S(301)},get createJSDocOptionalType(){return T(303)},get updateJSDocOptionalType(){return S(303)},get createJSDocVariadicType(){return T(305)},get updateJSDocVariadicType(){return S(305)},get createJSDocNamepathType(){return T(306)},get updateJSDocNamepathType(){return S(306)},createJSDocFunctionType:zt,updateJSDocFunctionType:function(e,n,t){return e.parameters!==n||e.type!==t?m(zt(n,t),e):e},createJSDocTypeLiteral:Jt,updateJSDocTypeLiteral:function(e,n,t){return e.jsDocPropertyTags!==n||e.isArrayType!==t?m(Jt(n,t),e):e},createJSDocTypeExpression:Xt,updateJSDocTypeExpression:function(e,n){return e.type!==n?m(Xt(n),e):e},createJSDocSignature:Yt,updateJSDocSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?m(Yt(n,t,r),e):e},createJSDocTemplateTag:$t,updateJSDocTemplateTag:function(e,n,t,r,a){void 0===n&&(n=Qt(e));return e.tagName!==n||e.constraint!==t||e.typeParameters!==r||e.comment!==a?m($t(n,t,r,a),e):e},createJSDocTypedefTag:er,updateJSDocTypedefTag:function(e,n,t,r,a){void 0===n&&(n=Qt(e));return e.tagName!==n||e.typeExpression!==t||e.fullName!==r||e.comment!==a?m(er(n,t,r,a),e):e},createJSDocParameterTag:nr,updateJSDocParameterTag:function(e,n,t,r,a,i,o){void 0===n&&(n=Qt(e));return e.tagName!==n||e.name!==t||e.isBracketed!==r||e.typeExpression!==a||e.isNameFirst!==i||e.comment!==o?m(nr(n,t,r,a,i,o),e):e},createJSDocPropertyTag:tr,updateJSDocPropertyTag:function(e,n,t,r,a,i,o){void 0===n&&(n=Qt(e));return e.tagName!==n||e.name!==t||e.isBracketed!==r||e.typeExpression!==a||e.isNameFirst!==i||e.comment!==o?m(tr(n,t,r,a,i,o),e):e},createJSDocCallbackTag:rr,updateJSDocCallbackTag:function(e,n,t,r,a){void 0===n&&(n=Qt(e));return e.tagName!==n||e.typeExpression!==t||e.fullName!==r||e.comment!==a?m(rr(n,t,r,a),e):e},createJSDocAugmentsTag:ar,updateJSDocAugmentsTag:function(e,n,t,r){void 0===n&&(n=Qt(e));return e.tagName!==n||e.class!==t||e.comment!==r?m(ar(n,t,r),e):e},createJSDocImplementsTag:ir,updateJSDocImplementsTag:function(e,n,t,r){void 0===n&&(n=Qt(e));return e.tagName!==n||e.class!==t||e.comment!==r?m(ir(n,t,r),e):e},get createJSDocTypeTag(){return A(325)},get updateJSDocTypeTag(){return D(325)},get createJSDocReturnTag(){return A(323)},get updateJSDocReturnTag(){return D(323)},get createJSDocThisTag(){return A(324)},get updateJSDocThisTag(){return D(324)},get createJSDocEnumTag(){return A(321)},get updateJSDocEnumTag(){return D(321)},get createJSDocAuthorTag(){return L(313)},get updateJSDocAuthorTag(){return x(313)},get createJSDocClassTag(){return L(315)},get updateJSDocClassTag(){return x(315)},get createJSDocPublicTag(){return L(316)},get updateJSDocPublicTag(){return x(316)},get createJSDocPrivateTag(){return L(317)},get updateJSDocPrivateTag(){return x(317)},get createJSDocProtectedTag(){return L(318)},get updateJSDocProtectedTag(){return x(318)},get createJSDocReadonlyTag(){return L(319)},get updateJSDocReadonlyTag(){return x(319)},get createJSDocDeprecatedTag(){return L(314)},get updateJSDocDeprecatedTag(){return x(314)},createJSDocUnknownTag:cr,updateJSDocUnknownTag:function(e,n,t){return e.tagName!==n||e.comment!==t?m(cr(n,t),e):e},createJSDocComment:lr,updateJSDocComment:function(e,n,t){return e.comment!==n||e.tags!==t?m(lr(n,t),e):e},createJsxElement:ur,updateJsxElement:function(e,n,t,r){return e.openingElement!==n||e.children!==t||e.closingElement!==r?m(ur(n,t,r),e):e},createJsxSelfClosingElement:dr,updateJsxSelfClosingElement:function(e,n,t,r){return e.tagName!==n||e.typeArguments!==t||e.attributes!==r?m(dr(n,t,r),e):e},createJsxOpeningElement:pr,updateJsxOpeningElement:function(e,n,t,r){return e.tagName!==n||e.typeArguments!==t||e.attributes!==r?m(pr(n,t,r),e):e},createJsxClosingElement:fr,updateJsxClosingElement:function(e,n){return e.tagName!==n?m(fr(n),e):e},createJsxFragment:mr,createJsxText:_r,updateJsxText:function(e,n,t){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==t?m(_r(n,t),e):e},createJsxOpeningFragment:function(){var e=N(275);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){var e=N(276);return e.transformFlags|=2,e},updateJsxFragment:function(e,n,t,r){return e.openingFragment!==n||e.children!==t||e.closingFragment!==r?m(mr(n,t,r),e):e},createJsxAttribute:gr,updateJsxAttribute:function(e,n,t){return e.name!==n||e.initializer!==t?m(gr(n,t),e):e},createJsxAttributes:yr,updateJsxAttributes:function(e,n){return e.properties!==n?m(yr(n),e):e},createJsxSpreadAttribute:hr,updateJsxSpreadAttribute:function(e,n){return e.expression!==n?m(hr(n),e):e},createJsxExpression:vr,updateJsxExpression:function(e,n){return e.expression!==n?m(vr(e.dotDotDotToken,n),e):e},createCaseClause:br,updateCaseClause:function(e,n,t){return e.expression!==n||e.statements!==t?m(br(n,t),e):e},createDefaultClause:Er,updateDefaultClause:function(e,n){return e.statements!==n?m(Er(n),e):e},createHeritageClause:Tr,updateHeritageClause:function(e,n){return e.types!==n?m(Tr(e.token,n),e):e},createCatchClause:Sr,updateCatchClause:function(e,n,t){return e.variableDeclaration!==n||e.block!==t?m(Sr(n,t),e):e},createPropertyAssignment:Lr,updatePropertyAssignment:function(e,n,t){return e.name!==n||e.initializer!==t?function(e,n){n.decorators&&(e.decorators=n.decorators);n.modifiers&&(e.modifiers=n.modifiers);n.questionToken&&(e.questionToken=n.questionToken);n.exclamationToken&&(e.exclamationToken=n.exclamationToken);return m(e,n)}(Lr(n,t),e):e},createShorthandPropertyAssignment:xr,updateShorthandPropertyAssignment:function(e,n,t){return e.name!==n||e.objectAssignmentInitializer!==t?function(e,n){n.decorators&&(e.decorators=n.decorators);n.modifiers&&(e.modifiers=n.modifiers);n.equalsToken&&(e.equalsToken=n.equalsToken);n.questionToken&&(e.questionToken=n.questionToken);n.exclamationToken&&(e.exclamationToken=n.exclamationToken);return m(e,n)}(xr(n,t),e):e},createSpreadAssignment:Ar,updateSpreadAssignment:function(e,n){return e.expression!==n?m(Ar(n),e):e},createEnumMember:Dr,updateEnumMember:function(e,n,t){return e.name!==n||e.initializer!==t?m(Dr(n,t),e):e},createSourceFile:function(e,n,t){var r=f.createBaseSourceFileNode(294);return r.statements=I(e),r.endOfFileToken=n,r.flags|=t,r.fileName="",r.text="",r.languageVersion=0,r.languageVariant=0,r.scriptKind=0,r.isDeclarationFile=!1,r.hasNoDefaultLib=!1,r.transformFlags|=d(r.statements)|u(r.endOfFileToken),r},updateSourceFile:function(n,t,r,a,i,o,s){void 0===r&&(r=n.isDeclarationFile);void 0===a&&(a=n.referencedFiles);void 0===i&&(i=n.typeReferenceDirectives);void 0===o&&(o=n.hasNoDefaultLib);void 0===s&&(s=n.libReferenceDirectives);return n.statements!==t||n.isDeclarationFile!==r||n.referencedFiles!==a||n.typeReferenceDirectives!==i||n.hasNoDefaultLib!==o||n.libReferenceDirectives!==s?m(function(n,t,r,a,i,o,s){var c=f.createBaseSourceFileNode(294);for(var l in n)"emitNode"!==l&&!e.hasProperty(c,l)&&e.hasProperty(n,l)&&(c[l]=n[l]);return c.flags|=n.flags,c.statements=I(t),c.endOfFileToken=n.endOfFileToken,c.isDeclarationFile=r,c.referencedFiles=a,c.typeReferenceDirectives=i,c.hasNoDefaultLib=o,c.libReferenceDirectives=s,c.transformFlags=d(c.statements)|u(c.endOfFileToken),c}(n,t,r,a,i,o,s),n):n},createBundle:Cr,updateBundle:function(n,t,r){void 0===r&&(r=e.emptyArray);return n.sourceFiles!==t||n.prepends!==r?m(Cr(t,r),n):n},createUnparsedSource:function(n,t,r){var a=N(296);return a.prologues=n,a.syntheticReferences=t,a.texts=r,a.fileName="",a.text="",a.referencedFiles=e.emptyArray,a.libReferenceDirectives=e.emptyArray,a.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(a,n)},a},createUnparsedPrologue:function(e){return Ir(289,e)},createUnparsedPrepend:function(e,n){var t=Ir(290,e);return t.texts=n,t},createUnparsedTextLike:function(e,n){return Ir(n?292:291,e)},createUnparsedSyntheticReference:function(e){var n=N(293);return n.data=e.data,n.section=e,n},createInputFiles:function(){var e=N(297);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,n,t){void 0===n&&(n=!1);var r=N(224);return r.type=e,r.isSpread=n,r.tupleNameSource=t,r},createSyntaxList:function(e){var n=N(329);return n._children=e,n},createNotEmittedStatement:function(n){var t=N(330);return t.original=n,e.setTextRange(t,n),t},createPartiallyEmittedExpression:Nr,updatePartiallyEmittedExpression:Rr,createCommaListExpression:Or,updateCommaListExpression:function(e,n){return e.elements!==n?m(Or(n),e):e},createEndOfDeclarationMarker:function(e){var n=N(334);return n.emitNode={},n.original=e,n},createMergeDeclarationMarker:function(e){var n=N(333);return n.emitNode={},n.original=e,n},createSyntheticReferenceExpression:Pr,updateSyntheticReferenceExpression:function(e,n,t){return e.expression!==n||e.thisArg!==t?m(Pr(n,t),e):e},cloneNode:Mr,get createComma(){return y(27)},get createAssignment(){return y(62)},get createLogicalOr(){return y(56)},get createLogicalAnd(){return y(55)},get createBitwiseOr(){return y(51)},get createBitwiseXor(){return y(52)},get createBitwiseAnd(){return y(50)},get createStrictEquality(){return y(36)},get createStrictInequality(){return y(37)},get createEquality(){return y(34)},get createInequality(){return y(35)},get createLessThan(){return y(29)},get createLessThanEquals(){return y(32)},get createGreaterThan(){return y(31)},get createGreaterThanEquals(){return y(33)},get createLeftShift(){return y(47)},get createRightShift(){return y(48)},get createUnsignedRightShift(){return y(49)},get createAdd(){return y(39)},get createSubtract(){return y(40)},get createMultiply(){return y(41)},get createDivide(){return y(43)},get createModulo(){return y(44)},get createExponent(){return y(42)},get createPrefixPlus(){return v(39)},get createPrefixMinus(){return v(40)},get createPrefixIncrement(){return v(45)},get createPrefixDecrement(){return v(46)},get createBitwiseNot(){return v(54)},get createLogicalNot(){return v(53)},get createPostfixIncrement(){return b(45)},get createPostfixDecrement(){return b(46)},createImmediatelyInvokedFunctionExpression:function(e,n,t){return un(vn(void 0,void 0,void 0,void 0,n?[n]:[],void 0,zn(e,!0)),void 0,t?[t]:[])},createImmediatelyInvokedArrowFunction:function(e,n,t){return un(En(void 0,void 0,n?[n]:[],void 0,void 0,zn(e,!0)),void 0,t?[t]:[])},createVoidZero:wr,createExportDefault:function(e){return Bt(void 0,void 0,!1,e)},createExternalModuleExport:function(e){return Vt(void 0,void 0,!1,Kt([Ht(void 0,e)]))},createTypeCheck:function(e,n){return"undefined"===n?C.createStrictEquality(e,wr()):C.createStrictEquality(Ln(e),q(n))},createMethodCall:Fr,createGlobalMethodCall:Gr,createFunctionBindCall:function(e,n,t){return Fr(e,"bind",o([n],t))},createFunctionCallCall:function(e,n,t){return Fr(e,"call",o([n],t))},createFunctionApplyCall:function(e,n,t){return Fr(e,"apply",[n,t])},createArraySliceCall:function(e,n){return Fr(e,"slice",void 0===n?[]:[Yr(n)])},createArrayConcatCall:function(e,n){return Fr(e,"concat",n)},createObjectDefinePropertyCall:function(e,n,t){return Gr("Object","defineProperty",[e,Yr(n),t])},createPropertyDescriptor:function(n,t){var r=[];Br(r,"enumerable",Yr(n.enumerable)),Br(r,"configurable",Yr(n.configurable));var a=Br(r,"writable",Yr(n.writable));a=Br(r,"value",n.value)||a;var i=Br(r,"get",n.get);return i=Br(r,"set",n.set)||i,e.Debug.assert(!(a&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),tn(r,!t)},createCallBinding:function(n,t,r,a){void 0===a&&(a=!1);var i,o,s=e.skipOuterExpressions(n,15);e.isSuperProperty(s)?(i=ne(),o=s):e.isSuperKeyword(s)?(i=ne(),o=void 0!==r&&r<2?e.setTextRange(Y("_super"),s):s):4096&e.getEmitFlags(s)?(i=wr(),o=_().parenthesizeLeftSideOfAccess(s)):e.isPropertyAccessExpression(s)?Ur(s.expression,a)?(i=Q(t),o=rn(e.setTextRange(C.createAssignment(i,s.expression),s.expression),s.name),e.setTextRange(o,s)):(i=s.expression,o=s):e.isElementAccessExpression(s)?Ur(s.expression,a)?(i=Q(t),o=sn(e.setTextRange(C.createAssignment(i,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(i=s.expression,o=s):(i=wr(),o=_().parenthesizeLeftSideOfAccess(n));return{target:o,thisArg:i}},inlineExpressions:function(n){return n.length>10?Or(n):e.reduceLeft(n,C.createComma)},getInternalName:function(e,n,t){return Vr(e,n,t,49152)},getLocalName:function(e,n,t){return Vr(e,n,t,16384)},getExportName:jr,getDeclarationName:function(e,n,t){return Vr(e,n,t)},getNamespaceMemberName:Kr,getExternalModuleOrNamespaceExportName:function(n,t,r,a){if(n&&e.hasSyntacticModifier(t,1))return Kr(n,Vr(t),r,a);return jr(t,r,a)},restoreOuterExpressions:function n(t,r,a){void 0===a&&(a=15);if(t&&e.isOuterExpression(t,a)&&(i=t,!(e.isParenthesizedExpression(i)&&e.nodeIsSynthesized(i)&&e.nodeIsSynthesized(e.getSourceMapRange(i))&&e.nodeIsSynthesized(e.getCommentRange(i)))||e.some(e.getSyntheticLeadingComments(i))||e.some(e.getSyntheticTrailingComments(i))))return function(e,n){switch(e.kind){case 204:return hn(e,n);case 203:return gn(e,e.type,n);case 221:return Un(e,n,e.type);case 222:return jn(e,n);case 331:return Rr(e,n)}}(t,n(t.expression,r));var i;return r},restoreEnclosingLabel:function n(t,r,a){if(!r)return t;var i=ut(r,r.label,e.isLabeledStatement(r.statement)?n(t,r.statement):t);a&&a(r);return i},createUseStrictPrologue:Hr,copyPrologue:function(e,n,t,r){var a=Wr(e,n,t);return qr(e,n,a,r)},copyStandardPrologue:Wr,copyCustomPrologue:qr,ensureUseStrict:function(n){if(!e.findUseStrictPrologue(n))return e.setTextRange(I(o([Hr()],n)),n);return n},liftToBlock:function(n){return e.Debug.assert(e.every(n,e.isStatementOrBlock),"Cannot lift nodes to a Block."),e.singleOrUndefined(n)||zn(n)},mergeLexicalEnvironment:function(n,t){if(!e.some(t))return n;var r=zr(n,e.isPrologueDirective,0),a=zr(n,e.isHoistedFunction,r),i=zr(n,e.isHoistedVariableStatement,a),s=zr(t,e.isPrologueDirective,0),c=zr(t,e.isHoistedFunction,s),l=zr(t,e.isHoistedVariableStatement,c),u=zr(t,e.isCustomPrologue,l);e.Debug.assert(u===t.length,"Expected declarations to be valid standard or custom prologues");var d=e.isNodeArray(n)?n.slice():n;u>l&&d.splice.apply(d,o([i,0],t.slice(l,u)));l>c&&d.splice.apply(d,o([a,0],t.slice(c,l)));c>s&&d.splice.apply(d,o([r,0],t.slice(s,c)));if(s>0)if(0===r)d.splice.apply(d,o([0,0],t.slice(0,s)));else{for(var p=new e.Map,f=0;f<r;f++){var m=n[f];p.set(m.expression.text,!0)}for(f=s-1;f>=0;f--){var _=t[f];p.has(_.expression.text)||d.unshift(_)}}if(e.isNodeArray(n))return e.setTextRange(I(d,n.hasTrailingComma),n);return n},updateModifiers:function(n,t){var r;"number"==typeof t&&(t=ie(t));return e.isParameter(n)?ue(n,n.decorators,t,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):e.isPropertySignature(n)?fe(n,t,n.name,n.questionToken,n.type):e.isPropertyDeclaration(n)?_e(n,n.decorators,t,n.name,null!==(r=n.questionToken)&&void 0!==r?r:n.exclamationToken,n.type,n.initializer):e.isMethodSignature(n)?ye(n,t,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):e.isMethodDeclaration(n)?ve(n,n.decorators,t,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):e.isConstructorDeclaration(n)?Ee(n,n.decorators,t,n.parameters,n.body):e.isGetAccessorDeclaration(n)?Se(n,n.decorators,t,n.name,n.parameters,n.type,n.body):e.isSetAccessorDeclaration(n)?xe(n,n.decorators,t,n.name,n.parameters,n.body):e.isIndexSignatureDeclaration(n)?Ie(n,n.decorators,t,n.parameters,n.type):e.isFunctionExpression(n)?bn(n,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):e.isArrowFunction(n)?Tn(n,t,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):e.isClassExpression(n)?Fn(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isVariableStatement(n)?Xn(n,t,n.declarationList):e.isFunctionDeclaration(n)?gt(n,n.decorators,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):e.isClassDeclaration(n)?ht(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isInterfaceDeclaration(n)?bt(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isTypeAliasDeclaration(n)?Tt(n,n.decorators,t,n.name,n.typeParameters,n.type):e.isEnumDeclaration(n)?Lt(n,n.decorators,t,n.name,n.members):e.isModuleDeclaration(n)?At(n,n.decorators,t,n.name,n.body):e.isImportEqualsDeclaration(n)?Rt(n,n.decorators,t,n.name,n.moduleReference):e.isImportDeclaration(n)?Ot(n,n.decorators,t,n.importClause,n.moduleSpecifier):e.isExportAssignment(n)?Ut(n,n.decorators,t,n.expression):e.isExportDeclaration(n)?jt(n,n.decorators,t,n.isTypeOnly,n.exportClause,n.moduleSpecifier):e.Debug.assertNever(n)}};return C;function I(n,t){if(void 0===n||n===e.emptyArray)n=[];else if(e.isNodeArray(n))return void 0===n.transformFlags&&p(n),n;var r=n.length,a=r>=1&&r<=4?n.slice():n;return e.setTextRangePosEnd(a,-1,-1),a.hasTrailingComma=!!t,p(a),a}function N(e){return f.createBaseNode(e)}function R(e,n,t){var r=N(e);return r.decorators=Jr(n),r.modifiers=Jr(t),r.transformFlags|=d(r.decorators)|d(r.modifiers),r.symbol=void 0,r.localSymbol=void 0,r.locals=void 0,r.nextContainer=void 0,r}function k(n,t,r,a){var i=R(n,t,r);if(a=Xr(a),i.name=a,a)switch(i.kind){case 164:case 166:case 167:case 162:case 285:if(e.isIdentifier(a)){i.transformFlags|=l(a);break}default:i.transformFlags|=u(a)}return i}function O(e,n,t,r,a){var i=k(e,n,t,r);return i.typeParameters=Jr(a),i.transformFlags|=d(i.typeParameters),a&&(i.transformFlags|=1),i}function P(e,n,t,r,a,i,o){var s=O(e,n,t,r,a);return s.parameters=I(i),s.type=o,s.transformFlags|=d(s.parameters)|u(s.type),o&&(s.transformFlags|=1),s}function M(e,n){return n.typeArguments&&(e.typeArguments=n.typeArguments),m(e,n)}function w(e,n,t,r,a,i,o,s){var c=P(e,n,t,r,a,i,o);return c.body=s,c.transformFlags|=-8388609&u(c.body),s||(c.transformFlags|=1),c}function F(e,n){return n.exclamationToken&&(e.exclamationToken=n.exclamationToken),n.typeArguments&&(e.typeArguments=n.typeArguments),M(e,n)}function G(e,n,t,r,a,i){var o=O(e,n,t,r,a);return o.heritageClauses=Jr(i),o.transformFlags|=d(o.heritageClauses),o}function B(e,n,t,r,a,i,o){var s=G(e,n,t,r,a,i);return s.members=I(o),s.transformFlags|=d(s.members),s}function U(e,n,t,r,a){var i=k(e,n,t,r);return i.initializer=a,i.transformFlags|=u(i.initializer),i}function V(e,n,t,r,a,i){var o=U(e,n,t,r,i);return o.type=a,o.transformFlags|=u(a),a&&(o.transformFlags|=1),o}function j(e,n){var t=$(e);return t.text=n,t}function K(e,n){void 0===n&&(n=0);var t=j(8,"number"==typeof e?e+"":e);return t.numericLiteralFlags=n,384&n&&(t.transformFlags|=256),t}function H(n){var t=j(9,"string"==typeof n?n:e.pseudoBigIntToString(n)+"n");return t.transformFlags|=4,t}function W(e,n){var t=j(10,e);return t.singleQuote=n,t}function q(e,n,t){var r=W(e,n);return r.hasExtendedUnicodeEscape=t,t&&(r.transformFlags|=256),r}function z(e){return j(13,e)}function J(n,t){void 0===t&&n&&(t=e.stringToToken(n)),78===t&&(t=void 0);var r=f.createBaseIdentifierNode(78);return r.originalKeywordKind=t,r.escapedText=e.escapeLeadingUnderscores(n),r}function X(e,n){var r=J(e,void 0);return r.autoGenerateFlags=n,r.autoGenerateId=t,t++,r}function Y(e,n,t){var r=J(e,t);return n&&(r.typeArguments=I(n)),130===r.originalKeywordKind&&(r.transformFlags|=8388608),r}function Q(e,n){var t=1;n&&(t|=8);var r=X("",t);return e&&e(r),r}function Z(n,t){void 0===t&&(t=0),e.Debug.assert(!(7&t),"Argument out of range: flags");var r=X(n&&e.isIdentifier(n)?e.idText(n):"",4|t);return r.original=n,r}function $(e){return f.createBaseTokenNode(e)}function ee(n){e.Debug.assert(n>=0&&n<=155,"Invalid token"),e.Debug.assert(n<=14||n>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(n<=8||n>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(78!==n,"Invalid token. Use 'createIdentifier' to create identifiers");var t=$(n),r=0;switch(n){case 129:r=96;break;case 122:case 120:case 121:case 141:case 125:case 133:case 84:case 128:case 143:case 154:case 140:case 144:case 146:case 131:case 147:case 113:case 151:case 149:r=1;break;case 123:case 105:r=256;break;case 107:r=4096}return r&&(t.transformFlags|=r),t}function ne(){return ee(107)}function te(){return ee(109)}function re(){return ee(94)}function ae(e){return ee(e)}function ie(e){var n=[];return 1&e&&n.push(ae(92)),2&e&&n.push(ae(133)),512&e&&n.push(ae(87)),2048&e&&n.push(ae(84)),4&e&&n.push(ae(122)),8&e&&n.push(ae(120)),16&e&&n.push(ae(121)),128&e&&n.push(ae(125)),32&e&&n.push(ae(123)),64&e&&n.push(ae(141)),256&e&&n.push(ae(129)),n}function oe(e,n){var t=N(156);return t.left=e,t.right=Xr(n),t.transformFlags|=u(t.left)|l(t.right),t}function se(e){var n=N(157);return n.expression=_().parenthesizeExpressionOfComputedPropertyName(e),n.transformFlags|=33024|u(n.expression),n}function ce(e,n,t){var r=k(158,void 0,void 0,e);return r.constraint=n,r.default=t,r.transformFlags=1,r}function le(n,t,r,a,i,o,s){var c=V(159,n,t,a,o,s&&_().parenthesizeExpressionForDisallowedComma(s));return c.dotDotDotToken=r,c.questionToken=i,e.isThisIdentifier(c.name)?c.transformFlags=1:(c.transformFlags|=u(c.dotDotDotToken)|u(c.questionToken),i&&(c.transformFlags|=1),92&e.modifiersToFlags(c.modifiers)&&(c.transformFlags|=2048),(s||r)&&(c.transformFlags|=256)),c}function ue(e,n,t,r,a,i,o,s){return e.decorators!==n||e.modifiers!==t||e.dotDotDotToken!==r||e.name!==a||e.questionToken!==i||e.type!==o||e.initializer!==s?m(le(n,t,r,a,i,o,s),e):e}function de(e){var n=N(160);return n.expression=_().parenthesizeLeftSideOfAccess(e),n.transformFlags|=2049|u(n.expression),n}function pe(e,n,t,r){var a=k(161,void 0,e,n);return a.type=r,a.questionToken=t,a.transformFlags=1,a}function fe(e,n,t,r,a){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.type!==a?m(pe(n,t,r,a),e):e}function me(n,t,r,a,i,o){var s=V(162,n,t,r,i,o);return s.questionToken=a&&e.isQuestionToken(a)?a:void 0,s.exclamationToken=a&&e.isExclamationToken(a)?a:void 0,s.transformFlags|=u(s.questionToken)|u(s.exclamationToken)|4194304,(e.isComputedPropertyName(s.name)||e.hasStaticModifier(s)&&s.initializer)&&(s.transformFlags|=2048),(a||2&e.modifiersToFlags(s.modifiers))&&(s.transformFlags|=1),s}function _e(n,t,r,a,i,o,s){return n.decorators!==t||n.modifiers!==r||n.name!==a||n.questionToken!==(void 0!==i&&e.isQuestionToken(i)?i:void 0)||n.exclamationToken!==(void 0!==i&&e.isExclamationToken(i)?i:void 0)||n.type!==o||n.initializer!==s?m(me(t,r,a,i,o,s),n):n}function ge(e,n,t,r,a,i){var o=P(163,void 0,e,n,r,a,i);return o.questionToken=t,o.transformFlags=1,o}function ye(e,n,t,r,a,i,o){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.typeParameters!==a||e.parameters!==i||e.type!==o?M(ge(n,t,r,a,i,o),e):e}function he(n,t,r,a,i,o,s,c,l){var d=w(164,n,t,a,o,s,c,l);return d.asteriskToken=r,d.questionToken=i,d.transformFlags|=u(d.asteriskToken)|u(d.questionToken)|256,i&&(d.transformFlags|=1),256&e.modifiersToFlags(d.modifiers)?d.transformFlags|=r?32:64:r&&(d.transformFlags|=512),d}function ve(e,n,t,r,a,i,o,s,c,l){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.questionToken!==i||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?F(he(n,t,r,a,i,o,s,c,l),e):e}function be(e,n,t,r){var a=w(165,e,n,void 0,void 0,t,void 0,r);return a.transformFlags|=256,a}function Ee(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.parameters!==r||e.body!==a?F(be(n,t,r,a),e):e}function Te(e,n,t,r,a,i){return w(166,e,n,t,void 0,r,a,i)}function Se(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.type!==i||e.body!==o?F(Te(n,t,r,a,i,o),e):e}function Le(e,n,t,r,a){return w(167,e,n,t,void 0,r,void 0,a)}function xe(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.body!==i?F(Le(n,t,r,a,i),e):e}function Ae(e,n,t){var r=P(168,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function De(e,n,t){var r=P(169,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Ce(e,n,t,r){var a=P(170,e,n,void 0,void 0,t,r);return a.transformFlags=1,a}function Ie(e,n,t,r,a){return e.parameters!==r||e.type!==a||e.decorators!==n||e.modifiers!==t?M(Ce(n,t,r,a),e):e}function Ne(e,n,t){var r=N(171);return r.assertsModifier=e,r.parameterName=Xr(n),r.type=t,r.transformFlags=1,r}function Re(e,n){var t=N(172);return t.typeName=Xr(e),t.typeArguments=n&&_().parenthesizeTypeArguments(I(n)),t.transformFlags=1,t}function ke(e,n,t){var r=P(173,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Oe(e,n,t){var r=P(174,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Pe(e){var n=N(175);return n.exprName=e,n.transformFlags=1,n}function Me(e){var n=N(176);return n.members=I(e),n.transformFlags=1,n}function we(e){var n=N(177);return n.elementType=_().parenthesizeElementTypeOfArrayType(e),n.transformFlags=1,n}function Fe(e){var n=N(178);return n.elements=I(e),n.transformFlags=1,n}function Ge(e,n,t,r){var a=N(191);return a.dotDotDotToken=e,a.name=n,a.questionToken=t,a.type=r,a.transformFlags=1,a}function Be(e){var n=N(179);return n.type=_().parenthesizeElementTypeOfArrayType(e),n.transformFlags=1,n}function Ue(e){var n=N(180);return n.type=e,n.transformFlags=1,n}function Ve(e,n){var t=N(e);return t.types=_().parenthesizeConstituentTypesOfUnionOrIntersectionType(n),t.transformFlags=1,t}function je(e,n){return e.types!==n?m(Ve(e.kind,n),e):e}function Ke(e,n,t,r){var a=N(183);return a.checkType=_().parenthesizeMemberOfConditionalType(e),a.extendsType=_().parenthesizeMemberOfConditionalType(n),a.trueType=t,a.falseType=r,a.transformFlags=1,a}function He(e){var n=N(184);return n.typeParameter=e,n.transformFlags=1,n}function We(e,n,t,r){void 0===r&&(r=!1);var a=N(192);return a.argument=e,a.qualifier=n,a.typeArguments=t&&_().parenthesizeTypeArguments(t),a.isTypeOf=r,a.transformFlags=1,a}function qe(e){var n=N(185);return n.type=e,n.transformFlags=1,n}function ze(e,n){var t=N(187);return t.operator=e,t.type=_().parenthesizeMemberOfElementType(n),t.transformFlags=1,t}function Je(e,n){var t=N(188);return t.objectType=_().parenthesizeMemberOfElementType(e),t.indexType=n,t.transformFlags=1,t}function Xe(e,n,t,r){var a=N(189);return a.readonlyToken=e,a.typeParameter=n,a.questionToken=t,a.type=r,a.transformFlags=1,a}function Ye(e){var n=N(190);return n.literal=e,n.transformFlags=1,n}function Qe(e){var n=N(193);return n.elements=I(e),n.transformFlags|=131328|d(n.elements),8192&n.transformFlags&&(n.transformFlags|=16416),n}function Ze(e){var n=N(194);return n.elements=I(e),n.transformFlags|=131328|d(n.elements),n}function $e(n,t,r,a){var i=U(195,void 0,void 0,r,a);return i.propertyName=Xr(t),i.dotDotDotToken=n,i.transformFlags|=256|u(i.dotDotDotToken),i.propertyName&&(i.transformFlags|=e.isIdentifier(i.propertyName)?l(i.propertyName):u(i.propertyName)),n&&(i.transformFlags|=8192),i}function en(e){return N(e)}function nn(e,n){var t=en(196);return t.elements=_().parenthesizeExpressionsOfCommaDelimitedList(I(e)),t.multiLine=n,t.transformFlags|=d(t.elements),t}function tn(e,n){var t=en(197);return t.properties=I(e),t.multiLine=n,t.transformFlags|=d(t.properties),t}function rn(n,t){var r=en(198);return r.expression=_().parenthesizeLeftSideOfAccess(n),r.name=Xr(t),r.transformFlags=u(r.expression)|(e.isIdentifier(r.name)?l(r.name):u(r.name)),e.isSuperKeyword(n)&&(r.transformFlags|=96),r}function an(n,t,r){var a=en(198);return a.flags|=32,a.expression=_().parenthesizeLeftSideOfAccess(n),a.questionDotToken=t,a.name=Xr(r),a.transformFlags|=8|u(a.expression)|u(a.questionDotToken)|(e.isIdentifier(a.name)?l(a.name):u(a.name)),a}function on(n,t,r,a){return e.Debug.assert(!!(32&n.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==t||n.questionDotToken!==r||n.name!==a?m(an(t,r,a),n):n}function sn(n,t){var r=en(199);return r.expression=_().parenthesizeLeftSideOfAccess(n),r.argumentExpression=Yr(t),r.transformFlags|=u(r.expression)|u(r.argumentExpression),e.isSuperKeyword(n)&&(r.transformFlags|=96),r}function cn(e,n,t){var r=en(199);return r.flags|=32,r.expression=_().parenthesizeLeftSideOfAccess(e),r.questionDotToken=n,r.argumentExpression=Yr(t),r.transformFlags|=u(r.expression)|u(r.questionDotToken)|u(r.argumentExpression)|8,r}function ln(n,t,r,a){return e.Debug.assert(!!(32&n.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==t||n.questionDotToken!==r||n.argumentExpression!==a?m(cn(t,r,a),n):n}function un(n,t,r){var a=en(200);return a.expression=_().parenthesizeLeftSideOfAccess(n),a.typeArguments=Jr(t),a.arguments=_().parenthesizeExpressionsOfCommaDelimitedList(I(r)),a.transformFlags|=u(a.expression)|d(a.typeArguments)|d(a.arguments),a.typeArguments&&(a.transformFlags|=1),e.isImportKeyword(a.expression)?a.transformFlags|=2097152:e.isSuperProperty(a.expression)&&(a.transformFlags|=4096),a}function dn(n,t,r,a){var i=en(200);return i.flags|=32,i.expression=_().parenthesizeLeftSideOfAccess(n),i.questionDotToken=t,i.typeArguments=Jr(r),i.arguments=_().parenthesizeExpressionsOfCommaDelimitedList(I(a)),i.transformFlags|=u(i.expression)|u(i.questionDotToken)|d(i.typeArguments)|d(i.arguments)|8,i.typeArguments&&(i.transformFlags|=1),e.isSuperProperty(i.expression)&&(i.transformFlags|=4096),i}function pn(n,t,r,a,i){return e.Debug.assert(!!(32&n.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==t||n.questionDotToken!==r||n.typeArguments!==a||n.arguments!==i?m(dn(t,r,a,i),n):n}function fn(e,n,t){var r=en(201);return r.expression=_().parenthesizeExpressionOfNew(e),r.typeArguments=Jr(n),r.arguments=t?_().parenthesizeExpressionsOfCommaDelimitedList(t):void 0,r.transformFlags|=u(r.expression)|d(r.typeArguments)|d(r.arguments)|8,r.typeArguments&&(r.transformFlags|=1),r}function mn(n,t,r){var a=en(202);return a.tag=_().parenthesizeLeftSideOfAccess(n),a.typeArguments=Jr(t),a.template=r,a.transformFlags|=u(a.tag)|d(a.typeArguments)|u(a.template)|256,a.typeArguments&&(a.transformFlags|=1),e.hasInvalidEscape(a.template)&&(a.transformFlags|=32),a}function _n(e,n){var t=en(203);return t.expression=_().parenthesizeOperandOfPrefixUnary(n),t.type=e,t.transformFlags|=u(t.expression)|u(t.type)|1,t}function gn(e,n,t){return e.type!==n||e.expression!==t?m(_n(n,t),e):e}function yn(e){var n=en(204);return n.expression=e,n.transformFlags=u(n.expression),n}function hn(e,n){return e.expression!==n?m(yn(n),e):e}function vn(n,t,r,a,i,o,s){var c=w(205,void 0,n,r,a,i,o,s);return c.asteriskToken=t,c.transformFlags|=u(c.asteriskToken),c.typeParameters&&(c.transformFlags|=1),256&e.modifiersToFlags(c.modifiers)?c.asteriskToken?c.transformFlags|=32:c.transformFlags|=64:c.asteriskToken&&(c.transformFlags|=512),c}function bn(e,n,t,r,a,i,o,s){return e.name!==r||e.modifiers!==n||e.asteriskToken!==t||e.typeParameters!==a||e.parameters!==i||e.type!==o||e.body!==s?F(vn(n,t,r,a,i,o,s),e):e}function En(n,t,r,a,i,o){var s=w(206,void 0,n,void 0,t,r,a,_().parenthesizeConciseBodyOfArrowFunction(o));return s.equalsGreaterThanToken=null!=i?i:ee(38),s.transformFlags|=256|u(s.equalsGreaterThanToken),256&e.modifiersToFlags(s.modifiers)&&(s.transformFlags|=64),s}function Tn(e,n,t,r,a,i,o){return e.modifiers!==n||e.typeParameters!==t||e.parameters!==r||e.type!==a||e.equalsGreaterThanToken!==i||e.body!==o?F(En(n,t,r,a,i,o),e):e}function Sn(e){var n=en(207);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=u(n.expression),n}function Ln(e){var n=en(208);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=u(n.expression),n}function xn(e){var n=en(209);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=u(n.expression),n}function An(e){var n=en(210);return n.expression=_().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=524384|u(n.expression),n}function Dn(e,n){var t=en(211);return t.operator=e,t.operand=_().parenthesizeOperandOfPrefixUnary(n),t.transformFlags|=u(t.operand),t}function Cn(e,n){var t=en(212);return t.operator=n,t.operand=_().parenthesizeOperandOfPostfixUnary(e),t.transformFlags=u(t.operand),t}function In(n,t,r){var a,i=en(213),o="number"==typeof(a=t)?ee(a):a,s=o.kind;return i.left=_().parenthesizeLeftSideOfBinary(s,n),i.operatorToken=o,i.right=_().parenthesizeRightSideOfBinary(s,i.left,r),i.transformFlags|=u(i.left)|u(i.operatorToken)|u(i.right),60===s?i.transformFlags|=8:62===s?e.isObjectLiteralExpression(i.left)?i.transformFlags|=1312:e.isArrayLiteralExpression(i.left)&&(i.transformFlags|=1280):42===s||66===s?i.transformFlags|=128:e.isLogicalOrCoalescingAssignmentOperator(s)&&(i.transformFlags|=4),i}function Nn(e,n,t,r,a){var i=en(214);return i.condition=_().parenthesizeConditionOfConditionalExpression(e),i.questionToken=null!=n?n:ee(57),i.whenTrue=_().parenthesizeBranchOfConditionalExpression(t),i.colonToken=null!=r?r:ee(58),i.whenFalse=_().parenthesizeBranchOfConditionalExpression(a),i.transformFlags|=u(i.condition)|u(i.questionToken)|u(i.whenTrue)|u(i.colonToken)|u(i.whenFalse),i}function Rn(e,n){var t=en(215);return t.head=e,t.templateSpans=I(n),t.transformFlags|=u(t.head)|d(t.templateSpans)|256,t}function kn(t,r,a,i){void 0===i&&(i=0),e.Debug.assert(!(-2049&i),"Unsupported template flags.");var o=void 0;if(void 0!==a&&a!==r&&"object"==typeof(o=function(t,r){n||(n=e.createScanner(99,!1,0));switch(t){case 14:n.setText("`"+r+"`");break;case 15:n.setText("`"+r+"${");break;case 16:n.setText("}"+r+"${");break;case 17:n.setText("}"+r+"`")}var a,i=n.scan();23===i&&(i=n.reScanTemplateToken(!1));if(n.isUnterminated())return n.setText(void 0),c;switch(i){case 14:case 15:case 16:case 17:a=n.getTokenValue()}if(void 0===a||1!==n.scan())return n.setText(void 0),c;return n.setText(void 0),a}(t,a)))return e.Debug.fail("Invalid raw text");if(void 0===r){if(void 0===o)return e.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");r=o}else void 0!==o&&e.Debug.assert(r===o,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return On(t,r,a,i)}function On(e,n,t,r){var a=$(e);return a.text=n,a.rawText=t,a.templateFlags=2048&r,a.transformFlags|=256,a.templateFlags&&(a.transformFlags|=32),a}function Pn(n,t){e.Debug.assert(!n||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");var r=en(216);return r.expression=t&&_().parenthesizeExpressionForDisallowedComma(t),r.asteriskToken=n,r.transformFlags|=262432|(u(r.expression)|u(r.asteriskToken)),r}function Mn(e){var n=en(217);return n.expression=_().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=8448|u(n.expression),n}function wn(e,n,t,r,a,i){var o=B(218,e,n,t,r,a,i);return o.transformFlags|=256,o}function Fn(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?m(wn(n,t,r,a,i,o),e):e}function Gn(e,n){var t=N(220);return t.expression=_().parenthesizeLeftSideOfAccess(e),t.typeArguments=n&&_().parenthesizeTypeArguments(n),t.transformFlags|=u(t.expression)|d(t.typeArguments)|256,t}function Bn(e,n){var t=en(221);return t.expression=e,t.type=n,t.transformFlags|=u(t.expression)|u(t.type)|1,t}function Un(e,n,t){return e.expression!==n||e.type!==t?m(Bn(n,t),e):e}function Vn(e){var n=en(222);return n.expression=_().parenthesizeLeftSideOfAccess(e),n.transformFlags|=1|u(n.expression),n}function jn(n,t){return e.isNonNullChain(n)?Hn(n,t):n.expression!==t?m(Vn(t),n):n}function Kn(e){var n=en(222);return n.flags|=32,n.expression=_().parenthesizeLeftSideOfAccess(e),n.transformFlags|=1|u(n.expression),n}function Hn(n,t){return e.Debug.assert(!!(32&n.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==t?m(Kn(t),n):n}function Wn(n,t){var r=en(223);switch(r.keywordToken=n,r.name=t,r.transformFlags|=u(r.name),n){case 102:r.transformFlags|=256;break;case 99:r.transformFlags|=4;break;default:return e.Debug.assertNever(n)}return r}function qn(e,n){var t=N(225);return t.expression=e,t.literal=n,t.transformFlags|=u(t.expression)|u(t.literal)|256,t}function zn(e,n){var t=N(227);return t.statements=I(e),t.multiLine=n,t.transformFlags|=d(t.statements),t}function Jn(n,t){var r=R(229,void 0,n);return r.declarationList=e.isArray(t)?mt(t):t,r.transformFlags|=u(r.declarationList),2&e.modifiersToFlags(r.modifiers)&&(r.transformFlags=1),r}function Xn(e,n,t){return e.modifiers!==n||e.declarationList!==t?m(Jn(n,t),e):e}function Yn(){return N(228)}function Qn(e){var n=N(230);return n.expression=_().parenthesizeExpressionOfExpressionStatement(e),n.transformFlags|=u(n.expression),n}function Zn(e,n,t){var r=N(231);return r.expression=e,r.thenStatement=Qr(n),r.elseStatement=Qr(t),r.transformFlags|=u(r.expression)|u(r.thenStatement)|u(r.elseStatement),r}function $n(e,n){var t=N(232);return t.statement=Qr(e),t.expression=n,t.transformFlags|=u(t.statement)|u(t.expression),t}function et(e,n){var t=N(233);return t.expression=e,t.statement=Qr(n),t.transformFlags|=u(t.expression)|u(t.statement),t}function nt(e,n,t,r){var a=N(234);return a.initializer=e,a.condition=n,a.incrementor=t,a.statement=Qr(r),a.transformFlags|=u(a.initializer)|u(a.condition)|u(a.incrementor)|u(a.statement),a}function tt(e,n,t){var r=N(235);return r.initializer=e,r.expression=n,r.statement=Qr(t),r.transformFlags|=u(r.initializer)|u(r.expression)|u(r.statement),r}function rt(e,n,t,r){var a=N(236);return a.awaitModifier=e,a.initializer=n,a.expression=_().parenthesizeExpressionForDisallowedComma(t),a.statement=Qr(r),a.transformFlags|=u(a.awaitModifier)|u(a.initializer)|u(a.expression)|u(a.statement)|256,e&&(a.transformFlags|=32),a}function at(e){var n=N(237);return n.label=Xr(e),n.transformFlags|=1048576|u(n.label),n}function it(e){var n=N(238);return n.label=Xr(e),n.transformFlags|=1048576|u(n.label),n}function ot(e){var n=N(239);return n.expression=e,n.transformFlags|=1048608|u(n.expression),n}function st(e,n){var t=N(240);return t.expression=e,t.statement=Qr(n),t.transformFlags|=u(t.expression)|u(t.statement),t}function ct(e,n){var t=N(241);return t.expression=_().parenthesizeExpressionForDisallowedComma(e),t.caseBlock=n,t.transformFlags|=u(t.expression)|u(t.caseBlock),t}function lt(e,n){var t=N(242);return t.label=Xr(e),t.statement=Qr(n),t.transformFlags|=u(t.label)|u(t.statement),t}function ut(e,n,t){return e.label!==n||e.statement!==t?m(lt(n,t),e):e}function dt(e){var n=N(243);return n.expression=e,n.transformFlags|=u(n.expression),n}function pt(e,n,t){var r=N(244);return r.tryBlock=e,r.catchClause=n,r.finallyBlock=t,r.transformFlags|=u(r.tryBlock)|u(r.catchClause)|u(r.finallyBlock),r}function ft(e,n,t,r){var a=V(246,void 0,void 0,e,t,r&&_().parenthesizeExpressionForDisallowedComma(r));return a.exclamationToken=n,a.transformFlags|=u(a.exclamationToken),n&&(a.transformFlags|=1),a}function mt(e,n){void 0===n&&(n=0);var t=N(247);return t.flags|=3&n,t.declarations=I(e),t.transformFlags|=1048576|d(t.declarations),3&n&&(t.transformFlags|=65792),t}function _t(n,t,r,a,i,o,s,c){var l=w(248,n,t,a,i,o,s,c);return l.asteriskToken=r,!l.body||2&e.modifiersToFlags(l.modifiers)?l.transformFlags=1:(l.transformFlags|=1048576|u(l.asteriskToken),256&e.modifiersToFlags(l.modifiers)?l.asteriskToken?l.transformFlags|=32:l.transformFlags|=64:l.asteriskToken&&(l.transformFlags|=512)),l}function gt(e,n,t,r,a,i,o,s,c){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==c?F(_t(n,t,r,a,i,o,s,c),e):e}function yt(n,t,r,a,i,o){var s=B(249,n,t,r,a,i,o);return 2&e.modifiersToFlags(s.modifiers)?s.transformFlags=1:(s.transformFlags|=256,2048&s.transformFlags&&(s.transformFlags|=1)),s}function ht(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?m(yt(n,t,r,a,i,o),e):e}function vt(e,n,t,r,a,i){var o=G(250,e,n,t,r,a);return o.members=I(i),o.transformFlags=1,o}function bt(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?m(vt(n,t,r,a,i,o),e):e}function Et(e,n,t,r,a){var i=O(251,e,n,t,r);return i.type=a,i.transformFlags=1,i}function Tt(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.typeParameters!==a||e.type!==i?m(Et(n,t,r,a,i),e):e}function St(e,n,t,r){var a=k(252,e,n,t);return a.members=I(r),a.transformFlags|=1|d(a.members),a.transformFlags&=-8388609,a}function Lt(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.members!==a?m(St(n,t,r,a),e):e}function xt(n,t,r,a,i){void 0===i&&(i=0);var o=R(253,n,t);return o.flags|=1044&i,o.name=r,o.body=a,2&e.modifiersToFlags(o.modifiers)?o.transformFlags=1:o.transformFlags|=u(o.name)|u(o.body)|1,o.transformFlags&=-8388609,o}function At(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.body!==a?m(xt(n,t,r,a,e.flags),e):e}function Dt(e){var n=N(254);return n.statements=I(e),n.transformFlags|=d(n.statements),n}function Ct(e){var n=N(255);return n.clauses=I(e),n.transformFlags|=d(n.clauses),n}function It(e){var n=k(256,void 0,void 0,e);return n.transformFlags=1,n}function Nt(n,t,r,a){var i=k(257,n,t,r);return i.moduleReference=a,i.transformFlags|=u(i.moduleReference),e.isExternalModuleReference(i.moduleReference)||(i.transformFlags|=1),i.transformFlags&=-8388609,i}function Rt(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.moduleReference!==a?m(Nt(n,t,r,a),e):e}function kt(e,n,t,r){var a=R(258,e,n);return a.importClause=t,a.moduleSpecifier=r,a.transformFlags|=u(a.importClause)|u(a.moduleSpecifier),a.transformFlags&=-8388609,a}function Ot(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.importClause!==r||e.moduleSpecifier!==a?m(kt(n,t,r,a),e):e}function Pt(e,n,t){var r=N(259);return r.isTypeOnly=e,r.name=n,r.namedBindings=t,r.transformFlags|=u(r.name)|u(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-8388609,r}function Mt(e){var n=N(260);return n.name=e,n.transformFlags|=u(n.name),n.transformFlags&=-8388609,n}function wt(e){var n=N(266);return n.name=e,n.transformFlags|=4|u(n.name),n.transformFlags&=-8388609,n}function Ft(e){var n=N(261);return n.elements=I(e),n.transformFlags|=d(n.elements),n.transformFlags&=-8388609,n}function Gt(e,n){var t=N(262);return t.propertyName=e,t.name=n,t.transformFlags|=u(t.propertyName)|u(t.name),t.transformFlags&=-8388609,t}function Bt(e,n,t,r){var a=R(263,e,n);return a.isExportEquals=t,a.expression=t?_().parenthesizeRightSideOfBinary(62,void 0,r):_().parenthesizeExpressionOfExportDefault(r),a.transformFlags|=u(a.expression),a.transformFlags&=-8388609,a}function Ut(e,n,t,r){return e.decorators!==n||e.modifiers!==t||e.expression!==r?m(Bt(n,t,e.isExportEquals,r),e):e}function Vt(e,n,t,r,a){var i=R(264,e,n);return i.isTypeOnly=t,i.exportClause=r,i.moduleSpecifier=a,i.transformFlags|=u(i.exportClause)|u(i.moduleSpecifier),i.transformFlags&=-8388609,i}function jt(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.isTypeOnly!==r||e.exportClause!==a||e.moduleSpecifier!==i?m(Vt(n,t,r,a,i),e):e}function Kt(e){var n=N(265);return n.elements=I(e),n.transformFlags|=d(n.elements),n.transformFlags&=-8388609,n}function Ht(e,n){var t=N(267);return t.propertyName=Xr(e),t.name=Xr(n),t.transformFlags|=u(t.propertyName)|u(t.name),t.transformFlags&=-8388609,t}function Wt(e){var n=N(269);return n.expression=e,n.transformFlags|=u(n.expression),n.transformFlags&=-8388609,n}function qt(e,n){var t=N(e);return t.type=n,t}function zt(e,n){return P(304,void 0,void 0,void 0,void 0,e,n)}function Jt(e,n){void 0===n&&(n=!1);var t=N(308);return t.jsDocPropertyTags=Jr(e),t.isArrayType=n,t}function Xt(e){var n=N(298);return n.type=e,n}function Yt(e,n,t){var r=N(309);return r.typeParameters=Jr(e),r.parameters=I(n),r.type=t,r}function Qt(n){var t=s(n.kind);return n.tagName.escapedText===e.escapeLeadingUnderscores(t)?n.tagName:Y(t)}function Zt(e,n,t){var r=N(e);return r.tagName=n,r.comment=t,r}function $t(e,n,t,r){var a=Zt(326,null!=e?e:Y("template"),r);return a.constraint=n,a.typeParameters=I(t),a}function er(n,t,r,a){var i=Zt(327,null!=n?n:Y("typedef"),a);return i.typeExpression=t,i.fullName=r,i.name=e.getJSDocTypeAliasName(r),i}function nr(e,n,t,r,a,i){var o=Zt(322,null!=e?e:Y("param"),i);return o.typeExpression=r,o.name=n,o.isNameFirst=!!a,o.isBracketed=t,o}function tr(e,n,t,r,a,i){var o=Zt(328,null!=e?e:Y("prop"),i);return o.typeExpression=r,o.name=n,o.isNameFirst=!!a,o.isBracketed=t,o}function rr(n,t,r,a){var i=Zt(320,null!=n?n:Y("callback"),a);return i.typeExpression=t,i.fullName=r,i.name=e.getJSDocTypeAliasName(r),i}function ar(e,n,t){var r=Zt(311,null!=e?e:Y("augments"),t);return r.class=n,r}function ir(e,n,t){var r=Zt(312,null!=e?e:Y("implements"),t);return r.class=n,r}function or(e,n,t){return Zt(e,null!=n?n:Y(s(e)),t)}function sr(e,n,t,r){var a=Zt(e,null!=n?n:Y(s(e)),r);return a.typeExpression=t,a}function cr(e,n){return Zt(310,e,n)}function lr(e,n){var t=N(307);return t.comment=e,t.tags=Jr(n),t}function ur(e,n,t){var r=N(270);return r.openingElement=e,r.children=I(n),r.closingElement=t,r.transformFlags|=u(r.openingElement)|d(r.children)|u(r.closingElement)|2,r}function dr(e,n,t){var r=N(271);return r.tagName=e,r.typeArguments=Jr(n),r.attributes=t,r.transformFlags|=u(r.tagName)|d(r.typeArguments)|u(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function pr(e,n,t){var r=N(272);return r.tagName=e,r.typeArguments=Jr(n),r.attributes=t,r.transformFlags|=u(r.tagName)|d(r.typeArguments)|u(r.attributes)|2,n&&(r.transformFlags|=1),r}function fr(e){var n=N(273);return n.tagName=e,n.transformFlags|=2|u(n.tagName),n}function mr(e,n,t){var r=N(274);return r.openingFragment=e,r.children=I(n),r.closingFragment=t,r.transformFlags|=u(r.openingFragment)|d(r.children)|u(r.closingFragment)|2,r}function _r(e,n){var t=N(11);return t.text=e,t.containsOnlyTriviaWhiteSpaces=!!n,t.transformFlags|=2,t}function gr(e,n){var t=N(277);return t.name=e,t.initializer=n,t.transformFlags|=u(t.name)|u(t.initializer)|2,t}function yr(e){var n=N(278);return n.properties=I(e),n.transformFlags|=2|d(n.properties),n}function hr(e){var n=N(279);return n.expression=e,n.transformFlags|=2|u(n.expression),n}function vr(e,n){var t=N(280);return t.dotDotDotToken=e,t.expression=n,t.transformFlags|=u(t.dotDotDotToken)|u(t.expression)|2,t}function br(e,n){var t=N(281);return t.expression=_().parenthesizeExpressionForDisallowedComma(e),t.statements=I(n),t.transformFlags|=u(t.expression)|d(t.statements),t}function Er(e){var n=N(282);return n.statements=I(e),n.transformFlags=d(n.statements),n}function Tr(n,t){var r=N(283);switch(r.token=n,r.types=I(t),r.transformFlags|=d(r.types),n){case 93:r.transformFlags|=256;break;case 116:r.transformFlags|=1;break;default:return e.Debug.assertNever(n)}return r}function Sr(n,t){var r=N(284);return n=e.isString(n)?ft(n,void 0,void 0,void 0):n,r.variableDeclaration=n,r.block=t,r.transformFlags|=u(r.variableDeclaration)|u(r.block),n||(r.transformFlags|=16),r}function Lr(e,n){var t=k(285,void 0,void 0,e);return t.initializer=_().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=u(t.name)|u(t.initializer),t}function xr(e,n){var t=k(286,void 0,void 0,e);return t.objectAssignmentInitializer=n&&_().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=256|u(t.objectAssignmentInitializer),t}function Ar(e){var n=N(287);return n.expression=_().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=16416|u(n.expression),n}function Dr(e,n){var t=N(288);return t.name=Xr(e),t.initializer=n&&_().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=u(t.name)|u(t.initializer)|1,t}function Cr(n,t){void 0===t&&(t=e.emptyArray);var r=N(295);return r.prepends=t,r.sourceFiles=n,r}function Ir(e,n){var t=N(e);return t.data=n,t}function Nr(n,t){var r=N(331);return r.expression=n,r.original=t,r.transformFlags|=1|u(r.expression),e.setTextRange(r,t),r}function Rr(e,n){return e.expression!==n?m(Nr(n,e.original),e):e}function kr(n){if(e.nodeIsSynthesized(n)&&!e.isParseTreeNode(n)&&!n.original&&!n.emitNode&&!n.id){if(e.isCommaListExpression(n))return n.elements;if(e.isBinaryExpression(n)&&e.isCommaToken(n.operatorToken))return[n.left,n.right]}return n}function Or(n){var t=N(332);return t.elements=I(e.sameFlatMap(n,kr)),t.transformFlags|=d(t.elements),t}function Pr(e,n){var t=N(335);return t.expression=e,t.thisArg=n,t.transformFlags|=u(t.expression)|u(t.thisArg),t}function Mr(n){if(void 0===n)return n;var t=e.isSourceFile(n)?f.createBaseSourceFileNode(294):e.isIdentifier(n)?f.createBaseIdentifierNode(78):e.isPrivateIdentifier(n)?f.createBasePrivateIdentifierNode(79):e.isNodeKind(n.kind)?f.createBaseNode(n.kind):f.createBaseTokenNode(n.kind);for(var r in t.flags|=-9&n.flags,t.transformFlags=n.transformFlags,h(t,n),n)!t.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(t[r]=n[r]);return t}function wr(){return xn(K("0"))}function Fr(e,n,t){return un(rn(e,n),void 0,t)}function Gr(e,n,t){return Fr(Y(e),n,t)}function Br(e,n,t){return!!t&&(e.push(Lr(n,t)),!0)}function Ur(n,t){var r=e.skipParentheses(n);switch(r.kind){case 78:return t;case 107:case 8:case 9:case 10:return!1;case 196:return 0!==r.elements.length;case 197:return r.properties.length>0;default:return!0}}function Vr(n,t,r,a){void 0===a&&(a=0);var i=e.getNameOfDeclaration(n);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.setParent(e.setTextRange(Mr(i),i),i.parent);return a|=e.getEmitFlags(i),r||(a|=48),t||(a|=1536),a&&e.setEmitFlags(o,a),o}return Z(n)}function jr(e,n,t){return Vr(e,n,t,8192)}function Kr(n,t,r,a){var i=rn(n,e.nodeIsSynthesized(t)?t:Mr(t));e.setTextRange(i,t);var o=0;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function Hr(){return e.startOnNewLine(Qn(q("use strict")))}function Wr(n,t,r){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var a,i=!1,o=0,s=n.length;o<s;){var c=n[o];if(!e.isPrologueDirective(c))break;a=c,e.isStringLiteral(a.expression)&&"use strict"===a.expression.text&&(i=!0),t.push(c),o++}return r&&!i&&t.push(Hr()),o}function qr(n,t,r,a,i){void 0===i&&(i=e.returnTrue);for(var o=n.length;void 0!==r&&r<o;){var s=n[r];if(!(1048576&e.getEmitFlags(s)&&i(s)))break;e.append(t,a?e.visitNode(s,a,e.isStatement):s),r++}return r}function zr(e,n,t){for(var r=t;r<e.length&&n(e[r]);)r++;return r}function Jr(e){return e?I(e):void 0}function Xr(e){return"string"==typeof e?Y(e):e}function Yr(e){return"string"==typeof e?q(e):"number"==typeof e?K(e):"boolean"==typeof e?e?te():re():e}function Qr(n){return n&&e.isNotEmittedStatement(n)?e.setTextRange(h(Yn(),n),n):n}}function a(n,t){return n!==t&&e.setTextRange(n,t),n}function i(n,t){return n!==t&&(h(n,t),e.setTextRange(n,t)),n}function s(n){switch(n){case 325:return"type";case 323:return"returns";case 324:return"this";case 321:return"enum";case 313:return"author";case 315:return"class";case 316:return"public";case 317:return"private";case 318:return"protected";case 319:return"readonly";case 326:return"template";case 327:return"typedef";case 322:return"param";case 328:return"prop";case 320:return"callback";case 311:return"augments";case 312:return"implements";default:return e.Debug.fail("Unsupported kind: "+e.Debug.formatSyntaxKind(n))}}!function(e){e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode"}(e.NodeFactoryFlags||(e.NodeFactoryFlags={})),e.createNodeFactory=r;var c={};function l(e){return-8388609&u(e)}function u(n){if(!n)return 0;var t,r=n.transformFlags&~f(n.kind);return e.isNamedDeclaration(n)&&e.isPropertyName(n.name)?(t=n.name,r|4096&t.transformFlags):r}function d(e){return e?e.transformFlags:0}function p(e){for(var n=0,t=0,r=e;t<r.length;t++){n|=u(r[t])}e.transformFlags=n}function f(e){if(e>=171&&e<=192)return-2;switch(e){case 200:case 201:case 196:return 536879104;case 253:return 546379776;case 159:return 536870912;case 206:return 547309568;case 205:case 248:return 547313664;case 247:return 537018368;case 249:case 218:return 536905728;case 165:return 547311616;case 162:return 536875008;case 164:case 166:case 167:return 538923008;case 128:case 143:case 154:case 140:case 146:case 144:case 131:case 147:case 113:case 158:case 161:case 163:case 168:case 169:case 170:case 250:case 251:return-2;case 197:return 536922112;case 284:return 536887296;case 193:case 194:return 536879104;case 203:case 221:case 331:case 204:case 105:return 536870912;case 198:case 199:default:return 536870912}}e.getTransformFlagsSubtreeExclusions=f;var m=e.createBaseNodeFactory();function _(e){return e.flags|=8,e}var g,y={createBaseSourceFileNode:function(e){return _(m.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return _(m.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return _(m.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return _(m.createBaseTokenNode(e))},createBaseNode:function(e){return _(m.createBaseNode(e))}};function h(n,t){if(n.original=t,t){var r=t.emitNode;r&&(n.emitNode=function(n,t){var r=n.flags,a=n.leadingComments,i=n.trailingComments,o=n.commentRange,s=n.sourceMapRange,c=n.tokenSourceMapRanges,l=n.constantValue,u=n.helpers,d=n.startsOnNewLine;t||(t={});a&&(t.leadingComments=e.addRange(a.slice(),t.leadingComments));i&&(t.trailingComments=e.addRange(i.slice(),t.trailingComments));r&&(t.flags=r);o&&(t.commentRange=o);s&&(t.sourceMapRange=s);c&&(t.tokenSourceMapRanges=function(e,n){n||(n=[]);for(var t in e)n[t]=e[t];return n}(c,t.tokenSourceMapRanges));void 0!==l&&(t.constantValue=l);if(u)for(var p=0,f=u;p<f.length;p++){var m=f[p];t.helpers=e.appendIfUnique(t.helpers,m)}void 0!==d&&(t.startsOnNewLine=d);return t}(r,n.emitNode))}return n}e.factory=r(4,y),e.createUnparsedSourceFile=function(n,t,r){var a,i,o,s,c,l,u,d,p,f;e.isString(n)?(o="",s=n,c=n.length,l=t,u=r):(e.Debug.assert("js"===t||"dts"===t),o=("js"===t?n.javascriptPath:n.declarationPath)||"",l="js"===t?n.javascriptMapPath:n.declarationMapPath,d=function(){return"js"===t?n.javascriptText:n.declarationText},p=function(){return"js"===t?n.javascriptMapText:n.declarationMapText},c=function(){return d().length},n.buildInfo&&n.buildInfo.bundle&&(e.Debug.assert(void 0===r||"boolean"==typeof r),a=r,i="js"===t?n.buildInfo.bundle.js:n.buildInfo.bundle.dts,f=n.oldFileOfCurrentEmit));var m=f?function(n){for(var t,r,a=0,i=n.sections;a<i.length;a++){var o=i[a];switch(o.kind){case"internal":case"text":t=e.append(t,e.setTextRange(e.factory.createUnparsedTextLike(o.data,"internal"===o.kind),o));break;case"no-default-lib":case"reference":case"type":case"lib":r=e.append(r,e.setTextRange(e.factory.createUnparsedSyntheticReference(o),o));break;case"prologue":case"emitHelpers":case"prepend":break;default:e.Debug.assertNever(o)}}var s=e.factory.createUnparsedSource(e.emptyArray,r,null!=t?t:e.emptyArray);return e.setEachParent(r,s),e.setEachParent(t,s),s.helpers=e.map(n.sources&&n.sources.helpers,(function(n){return e.getAllUnscopedEmitHelpers().get(n)})),s}(e.Debug.assertDefined(i)):function(n,t,r){for(var a,i,o,s,c,l,u,d,p=0,f=n?n.sections:e.emptyArray;p<f.length;p++){var m=f[p];switch(m.kind){case"prologue":a=e.append(a,e.setTextRange(e.factory.createUnparsedPrologue(m.data),m));break;case"emitHelpers":i=e.append(i,e.getAllUnscopedEmitHelpers().get(m.data));break;case"no-default-lib":d=!0;break;case"reference":o=e.append(o,{pos:-1,end:-1,fileName:m.data});break;case"type":s=e.append(s,m.data);break;case"lib":c=e.append(c,{pos:-1,end:-1,fileName:m.data});break;case"prepend":for(var _=void 0,g=0,y=m.texts;g<y.length;g++){var h=y[g];t&&"internal"===h.kind||(_=e.append(_,e.setTextRange(e.factory.createUnparsedTextLike(h.data,"internal"===h.kind),h)))}l=e.addRange(l,_),u=e.append(u,e.factory.createUnparsedPrepend(m.data,null!=_?_:e.emptyArray));break;case"internal":if(t){u||(u=[]);break}case"text":u=e.append(u,e.setTextRange(e.factory.createUnparsedTextLike(m.data,"internal"===m.kind),m));break;default:e.Debug.assertNever(m)}}if(!u){var v=e.factory.createUnparsedTextLike(void 0,!1);e.setTextRangePosWidth(v,0,"function"==typeof r?r():r),u=[v]}var b=e.parseNodeFactory.createUnparsedSource(null!=a?a:e.emptyArray,void 0,u);return e.setEachParent(a,b),e.setEachParent(u,b),e.setEachParent(l,b),b.hasNoDefaultLib=d,b.helpers=i,b.referencedFiles=o||e.emptyArray,b.typeReferenceDirectives=s,b.libReferenceDirectives=c||e.emptyArray,b}(i,a,c);return m.fileName=o,m.sourceMapPath=l,m.oldFileOfCurrentEmit=f,d&&p?(Object.defineProperty(m,"text",{get:d}),Object.defineProperty(m,"sourceMapText",{get:p})):(e.Debug.assert(!f),m.text=null!=s?s:"",m.sourceMapText=u),m},e.createInputFiles=function(n,t,r,a,i,o,s,c,l,u,d){var p=e.parseNodeFactory.createInputFiles();if(e.isString(n))p.javascriptText=n,p.javascriptMapPath=r,p.javascriptMapText=a,p.declarationText=t,p.declarationMapPath=i,p.declarationMapText=o,p.javascriptPath=s,p.declarationPath=c,p.buildInfoPath=l,p.buildInfo=u,p.oldFileOfCurrentEmit=d;else{var f,m=new e.Map,_=function(e){if(void 0!==e){var t=m.get(e);return void 0===t&&(t=n(e),m.set(e,void 0!==t&&t)),!1!==t?t:void 0}},g=function(e){var n=_(e);return void 0!==n?n:"/* Input file "+e+" was missing */\r\n"};p.javascriptPath=t,p.javascriptMapPath=r,p.declarationPath=e.Debug.assertDefined(a),p.declarationMapPath=i,p.buildInfoPath=o,Object.defineProperties(p,{javascriptText:{get:function(){return g(t)}},javascriptMapText:{get:function(){return _(r)}},declarationText:{get:function(){return g(e.Debug.assertDefined(a))}},declarationMapText:{get:function(){return _(i)}},buildInfo:{get:function(){return function(n){if(void 0===f){var t=n();f=void 0!==t&&e.getBuildInfo(t)}return f||void 0}((function(){return _(o)}))}}})}return p},e.createSourceMapSource=function(n,t,r){return new(g||(g=e.objectAllocator.getSourceMapSourceConstructor()))(n,t,r)},e.setOriginalNode=h}(p||(p={})),function(e){function n(t){var r;if(!t.emitNode){if(e.isParseTreeNode(t)){if(294===t.kind)return t.emitNode={annotatedNodes:[t]};n(null!==(r=e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(t))))&&void 0!==r?r:e.Debug.fail("Could not determine parsed source file.")).annotatedNodes.push(t)}t.emitNode={}}return t.emitNode}function t(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.leadingComments}function r(e,t){return n(e).leadingComments=t,e}function a(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.trailingComments}function i(e,t){return n(e).trailingComments=t,e}e.getOrCreateEmitNode=n,e.disposeEmitNodes=function(n){var t,r,a=null===(r=null===(t=e.getSourceFileOfNode(e.getParseTreeNode(n)))||void 0===t?void 0:t.emitNode)||void 0===r?void 0:r.annotatedNodes;if(a)for(var i=0,o=a;i<o.length;i++){o[i].emitNode=void 0}},e.removeAllComments=function(e){var t=n(e);return t.flags|=1536,t.leadingComments=void 0,t.trailingComments=void 0,e},e.setEmitFlags=function(e,t){return n(e).flags=t,e},e.addEmitFlags=function(e,t){var r=n(e);return r.flags=r.flags|t,e},e.getSourceMapRange=function(e){var n,t;return null!==(t=null===(n=e.emitNode)||void 0===n?void 0:n.sourceMapRange)&&void 0!==t?t:e},e.setSourceMapRange=function(e,t){return n(e).sourceMapRange=t,e},e.getTokenSourceMapRange=function(e,n){var t,r;return null===(r=null===(t=e.emitNode)||void 0===t?void 0:t.tokenSourceMapRanges)||void 0===r?void 0:r[n]},e.setTokenSourceMapRange=function(e,t,r){var a,i=n(e);return(null!==(a=i.tokenSourceMapRanges)&&void 0!==a?a:i.tokenSourceMapRanges=[])[t]=r,e},e.getStartsOnNewLine=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.startsOnNewLine},e.setStartsOnNewLine=function(e,t){return n(e).startsOnNewLine=t,e},e.getCommentRange=function(e){var n,t;return null!==(t=null===(n=e.emitNode)||void 0===n?void 0:n.commentRange)&&void 0!==t?t:e},e.setCommentRange=function(e,t){return n(e).commentRange=t,e},e.getSyntheticLeadingComments=t,e.setSyntheticLeadingComments=r,e.addSyntheticLeadingComment=function(n,a,i,o){return r(n,e.append(t(n),{kind:a,pos:-1,end:-1,hasTrailingNewLine:o,text:i}))},e.getSyntheticTrailingComments=a,e.setSyntheticTrailingComments=i,e.addSyntheticTrailingComment=function(n,t,r,o){return i(n,e.append(a(n),{kind:t,pos:-1,end:-1,hasTrailingNewLine:o,text:r}))},e.moveSyntheticComments=function(e,o){r(e,t(o)),i(e,a(o));var s=n(o);return s.leadingComments=void 0,s.trailingComments=void 0,e},e.getConstantValue=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.constantValue},e.setConstantValue=function(e,t){return n(e).constantValue=t,e},e.addEmitHelper=function(t,r){var a=n(t);return a.helpers=e.append(a.helpers,r),t},e.addEmitHelpers=function(t,r){if(e.some(r))for(var a=n(t),i=0,o=r;i<o.length;i++){var s=o[i];a.helpers=e.appendIfUnique(a.helpers,s)}return t},e.removeEmitHelper=function(n,t){var r,a=null===(r=n.emitNode)||void 0===r?void 0:r.helpers;return!!a&&e.orderedRemoveItem(a,t)},e.getEmitHelpers=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.helpers},e.moveEmitHelpers=function(t,r,a){var i=t.emitNode,o=i&&i.helpers;if(e.some(o)){for(var s=n(r),c=0,l=0;l<o.length;l++){var u=o[l];a(u)?(c++,s.helpers=e.appendIfUnique(s.helpers,u)):c>0&&(o[l-c]=u)}c>0&&(o.length-=c)}},e.ignoreSourceNewlines=function(e){return n(e).flags|=134217728,e}}(p||(p={})),function(e){function n(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return function(t){for(var r="",a=0;a<n.length;a++)r+=e[a],r+=t(n[a]);return r+=e[e.length-1]}}var t;e.createEmitHelperFactory=function(n){var t=n.factory;return{getUnscopedHelperName:r,createDecorateHelper:function(a,i,o,s){n.requestEmitHelper(e.decorateHelper);var c=[];c.push(t.createArrayLiteralExpression(a,!0)),c.push(i),o&&(c.push(o),s&&c.push(s));return t.createCallExpression(r("__decorate"),void 0,c)},createMetadataHelper:function(a,i){return n.requestEmitHelper(e.metadataHelper),t.createCallExpression(r("__metadata"),void 0,[t.createStringLiteral(a),i])},createParamHelper:function(a,i,o){return n.requestEmitHelper(e.paramHelper),e.setTextRange(t.createCallExpression(r("__param"),void 0,[t.createNumericLiteral(i+""),a]),o)},createAssignHelper:function(a){if(n.getCompilerOptions().target>=2)return t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,a);return n.requestEmitHelper(e.assignHelper),t.createCallExpression(r("__assign"),void 0,a)},createAwaitHelper:function(a){return n.requestEmitHelper(e.awaitHelper),t.createCallExpression(r("__await"),void 0,[a])},createAsyncGeneratorHelper:function(a,i){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncGeneratorHelper),(a.emitNode||(a.emitNode={})).flags|=786432,t.createCallExpression(r("__asyncGenerator"),void 0,[i?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),a])},createAsyncDelegatorHelper:function(a){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncDelegator),t.createCallExpression(r("__asyncDelegator"),void 0,[a])},createAsyncValuesHelper:function(a){return n.requestEmitHelper(e.asyncValues),t.createCallExpression(r("__asyncValues"),void 0,[a])},createRestHelper:function(a,i,o,s){n.requestEmitHelper(e.restHelper);for(var c=[],l=0,u=0;u<i.length-1;u++){var d=e.getPropertyNameOfBindingOrAssignmentElement(i[u]);if(d)if(e.isComputedPropertyName(d)){e.Debug.assertIsDefined(o,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var p=o[l];l++,c.push(t.createConditionalExpression(t.createTypeCheck(p,"symbol"),void 0,p,void 0,t.createAdd(p,t.createStringLiteral(""))))}else c.push(t.createStringLiteralFromNode(d))}return t.createCallExpression(r("__rest"),void 0,[a,e.setTextRange(t.createArrayLiteralExpression(c),s)])},createAwaiterHelper:function(a,i,o,s){n.requestEmitHelper(e.awaiterHelper);var c=t.createFunctionExpression(void 0,t.createToken(41),void 0,void 0,[],void 0,s);return(c.emitNode||(c.emitNode={})).flags|=786432,t.createCallExpression(r("__awaiter"),void 0,[a?t.createThis():t.createVoidZero(),i?t.createIdentifier("arguments"):t.createVoidZero(),o?e.createExpressionFromEntityName(t,o):t.createVoidZero(),c])},createExtendsHelper:function(a){return n.requestEmitHelper(e.extendsHelper),t.createCallExpression(r("__extends"),void 0,[a,t.createUniqueName("_super",48)])},createTemplateObjectHelper:function(a,i){return n.requestEmitHelper(e.templateObjectHelper),t.createCallExpression(r("__makeTemplateObject"),void 0,[a,i])},createSpreadHelper:function(a){return n.requestEmitHelper(e.readHelper),n.requestEmitHelper(e.spreadHelper),t.createCallExpression(r("__spread"),void 0,a)},createSpreadArraysHelper:function(a){return n.requestEmitHelper(e.spreadArraysHelper),t.createCallExpression(r("__spreadArrays"),void 0,a)},createValuesHelper:function(a){return n.requestEmitHelper(e.valuesHelper),t.createCallExpression(r("__values"),void 0,[a])},createReadHelper:function(a,i){return n.requestEmitHelper(e.readHelper),t.createCallExpression(r("__read"),void 0,void 0!==i?[a,t.createNumericLiteral(i+"")]:[a])},createGeneratorHelper:function(a){return n.requestEmitHelper(e.generatorHelper),t.createCallExpression(r("__generator"),void 0,[t.createThis(),a])},createCreateBindingHelper:function(a,i,s){return n.requestEmitHelper(e.createBindingHelper),t.createCallExpression(r("__createBinding"),void 0,o([t.createIdentifier("exports"),a,i],s?[s]:[]))},createImportStarHelper:function(a){return n.requestEmitHelper(e.importStarHelper),t.createCallExpression(r("__importStar"),void 0,[a])},createImportStarCallbackHelper:function(){return n.requestEmitHelper(e.importStarHelper),r("__importStar")},createImportDefaultHelper:function(a){return n.requestEmitHelper(e.importDefaultHelper),t.createCallExpression(r("__importDefault"),void 0,[a])},createExportStarHelper:function(a,i){void 0===i&&(i=t.createIdentifier("exports"));return n.requestEmitHelper(e.exportStarHelper),n.requestEmitHelper(e.createBindingHelper),t.createCallExpression(r("__exportStar"),void 0,[a,i])},createClassPrivateFieldGetHelper:function(a,i){return n.requestEmitHelper(e.classPrivateFieldGetHelper),t.createCallExpression(r("__classPrivateFieldGet"),void 0,[a,i])},createClassPrivateFieldSetHelper:function(a,i,o){return n.requestEmitHelper(e.classPrivateFieldSetHelper),t.createCallExpression(r("__classPrivateFieldSet"),void 0,[a,i,o])}};function r(n){return e.setEmitFlags(t.createIdentifier(n),4098)}},e.compareEmitHelpers=function(n,t){return n===t||n.priority===t.priority?0:void 0===n.priority?1:void 0===t.priority?-1:e.compareValues(n.priority,t.priority)},e.helperString=n,e.decorateHelper={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:'\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},e.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},e.paramHelper={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"},e.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},e.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},e.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[e.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[e.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'},e.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"},e.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},e.readHelper={name:"typescript:read",importName:"__read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},e.spreadHelper={name:"typescript:spread",importName:"__spread",scoped:!1,dependencies:[e.readHelper],text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"},e.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:!1,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"},e.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},e.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},e.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"},e.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'},e.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'},e.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},e.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[e.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n };'},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\n };'},e.getAllUnscopedEmitHelpers=function(){return t||(t=e.arrayToMap([e.decorateHelper,e.metadataHelper,e.paramHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.restHelper,e.awaiterHelper,e.extendsHelper,e.templateObjectHelper,e.spreadHelper,e.spreadArraysHelper,e.valuesHelper,e.readHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.exportStarHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.createBindingHelper,e.setModuleDefaultHelper],(function(e){return e.name})))},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:n(c(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:n(c(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}}(p||(p={})),function(e){e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isIdentifier=function(e){return 78===e.kind},e.isQualifiedName=function(e){return 156===e.kind},e.isComputedPropertyName=function(e){return 157===e.kind},e.isPrivateIdentifier=function(e){return 79===e.kind},e.isSuperKeyword=function(e){return 105===e.kind},e.isImportKeyword=function(e){return 99===e.kind},e.isCommaToken=function(e){return 27===e.kind},e.isQuestionToken=function(e){return 57===e.kind},e.isExclamationToken=function(e){return 53===e.kind},e.isTypeParameterDeclaration=function(e){return 158===e.kind},e.isParameter=function(e){return 159===e.kind},e.isDecorator=function(e){return 160===e.kind},e.isPropertySignature=function(e){return 161===e.kind},e.isPropertyDeclaration=function(e){return 162===e.kind},e.isMethodSignature=function(e){return 163===e.kind},e.isMethodDeclaration=function(e){return 164===e.kind},e.isConstructorDeclaration=function(e){return 165===e.kind},e.isGetAccessorDeclaration=function(e){return 166===e.kind},e.isSetAccessorDeclaration=function(e){return 167===e.kind},e.isCallSignatureDeclaration=function(e){return 168===e.kind},e.isConstructSignatureDeclaration=function(e){return 169===e.kind},e.isIndexSignatureDeclaration=function(e){return 170===e.kind},e.isTypePredicateNode=function(e){return 171===e.kind},e.isTypeReferenceNode=function(e){return 172===e.kind},e.isFunctionTypeNode=function(e){return 173===e.kind},e.isConstructorTypeNode=function(e){return 174===e.kind},e.isTypeQueryNode=function(e){return 175===e.kind},e.isTypeLiteralNode=function(e){return 176===e.kind},e.isArrayTypeNode=function(e){return 177===e.kind},e.isTupleTypeNode=function(e){return 178===e.kind},e.isNamedTupleMember=function(e){return 191===e.kind},e.isOptionalTypeNode=function(e){return 179===e.kind},e.isRestTypeNode=function(e){return 180===e.kind},e.isUnionTypeNode=function(e){return 181===e.kind},e.isIntersectionTypeNode=function(e){return 182===e.kind},e.isConditionalTypeNode=function(e){return 183===e.kind},e.isInferTypeNode=function(e){return 184===e.kind},e.isParenthesizedTypeNode=function(e){return 185===e.kind},e.isThisTypeNode=function(e){return 186===e.kind},e.isTypeOperatorNode=function(e){return 187===e.kind},e.isIndexedAccessTypeNode=function(e){return 188===e.kind},e.isMappedTypeNode=function(e){return 189===e.kind},e.isLiteralTypeNode=function(e){return 190===e.kind},e.isImportTypeNode=function(e){return 192===e.kind},e.isObjectBindingPattern=function(e){return 193===e.kind},e.isArrayBindingPattern=function(e){return 194===e.kind},e.isBindingElement=function(e){return 195===e.kind},e.isArrayLiteralExpression=function(e){return 196===e.kind},e.isObjectLiteralExpression=function(e){return 197===e.kind},e.isPropertyAccessExpression=function(e){return 198===e.kind},e.isElementAccessExpression=function(e){return 199===e.kind},e.isCallExpression=function(e){return 200===e.kind},e.isNewExpression=function(e){return 201===e.kind},e.isTaggedTemplateExpression=function(e){return 202===e.kind},e.isTypeAssertionExpression=function(e){return 203===e.kind},e.isParenthesizedExpression=function(e){return 204===e.kind},e.isFunctionExpression=function(e){return 205===e.kind},e.isArrowFunction=function(e){return 206===e.kind},e.isDeleteExpression=function(e){return 207===e.kind},e.isTypeOfExpression=function(e){return 208===e.kind},e.isVoidExpression=function(e){return 209===e.kind},e.isAwaitExpression=function(e){return 210===e.kind},e.isPrefixUnaryExpression=function(e){return 211===e.kind},e.isPostfixUnaryExpression=function(e){return 212===e.kind},e.isBinaryExpression=function(e){return 213===e.kind},e.isConditionalExpression=function(e){return 214===e.kind},e.isTemplateExpression=function(e){return 215===e.kind},e.isYieldExpression=function(e){return 216===e.kind},e.isSpreadElement=function(e){return 217===e.kind},e.isClassExpression=function(e){return 218===e.kind},e.isOmittedExpression=function(e){return 219===e.kind},e.isExpressionWithTypeArguments=function(e){return 220===e.kind},e.isAsExpression=function(e){return 221===e.kind},e.isNonNullExpression=function(e){return 222===e.kind},e.isMetaProperty=function(e){return 223===e.kind},e.isSyntheticExpression=function(e){return 224===e.kind},e.isPartiallyEmittedExpression=function(e){return 331===e.kind},e.isCommaListExpression=function(e){return 332===e.kind},e.isTemplateSpan=function(e){return 225===e.kind},e.isSemicolonClassElement=function(e){return 226===e.kind},e.isBlock=function(e){return 227===e.kind},e.isVariableStatement=function(e){return 229===e.kind},e.isEmptyStatement=function(e){return 228===e.kind},e.isExpressionStatement=function(e){return 230===e.kind},e.isIfStatement=function(e){return 231===e.kind},e.isDoStatement=function(e){return 232===e.kind},e.isWhileStatement=function(e){return 233===e.kind},e.isForStatement=function(e){return 234===e.kind},e.isForInStatement=function(e){return 235===e.kind},e.isForOfStatement=function(e){return 236===e.kind},e.isContinueStatement=function(e){return 237===e.kind},e.isBreakStatement=function(e){return 238===e.kind},e.isReturnStatement=function(e){return 239===e.kind},e.isWithStatement=function(e){return 240===e.kind},e.isSwitchStatement=function(e){return 241===e.kind},e.isLabeledStatement=function(e){return 242===e.kind},e.isThrowStatement=function(e){return 243===e.kind},e.isTryStatement=function(e){return 244===e.kind},e.isDebuggerStatement=function(e){return 245===e.kind},e.isVariableDeclaration=function(e){return 246===e.kind},e.isVariableDeclarationList=function(e){return 247===e.kind},e.isFunctionDeclaration=function(e){return 248===e.kind},e.isClassDeclaration=function(e){return 249===e.kind},e.isInterfaceDeclaration=function(e){return 250===e.kind},e.isTypeAliasDeclaration=function(e){return 251===e.kind},e.isEnumDeclaration=function(e){return 252===e.kind},e.isModuleDeclaration=function(e){return 253===e.kind},e.isModuleBlock=function(e){return 254===e.kind},e.isCaseBlock=function(e){return 255===e.kind},e.isNamespaceExportDeclaration=function(e){return 256===e.kind},e.isImportEqualsDeclaration=function(e){return 257===e.kind},e.isImportDeclaration=function(e){return 258===e.kind},e.isImportClause=function(e){return 259===e.kind},e.isNamespaceImport=function(e){return 260===e.kind},e.isNamespaceExport=function(e){return 266===e.kind},e.isNamedImports=function(e){return 261===e.kind},e.isImportSpecifier=function(e){return 262===e.kind},e.isExportAssignment=function(e){return 263===e.kind},e.isExportDeclaration=function(e){return 264===e.kind},e.isNamedExports=function(e){return 265===e.kind},e.isExportSpecifier=function(e){return 267===e.kind},e.isMissingDeclaration=function(e){return 268===e.kind},e.isNotEmittedStatement=function(e){return 330===e.kind},e.isSyntheticReference=function(e){return 335===e.kind},e.isMergeDeclarationMarker=function(e){return 333===e.kind},e.isEndOfDeclarationMarker=function(e){return 334===e.kind},e.isExternalModuleReference=function(e){return 269===e.kind},e.isJsxElement=function(e){return 270===e.kind},e.isJsxSelfClosingElement=function(e){return 271===e.kind},e.isJsxOpeningElement=function(e){return 272===e.kind},e.isJsxClosingElement=function(e){return 273===e.kind},e.isJsxFragment=function(e){return 274===e.kind},e.isJsxOpeningFragment=function(e){return 275===e.kind},e.isJsxClosingFragment=function(e){return 276===e.kind},e.isJsxAttribute=function(e){return 277===e.kind},e.isJsxAttributes=function(e){return 278===e.kind},e.isJsxSpreadAttribute=function(e){return 279===e.kind},e.isJsxExpression=function(e){return 280===e.kind},e.isCaseClause=function(e){return 281===e.kind},e.isDefaultClause=function(e){return 282===e.kind},e.isHeritageClause=function(e){return 283===e.kind},e.isCatchClause=function(e){return 284===e.kind},e.isPropertyAssignment=function(e){return 285===e.kind},e.isShorthandPropertyAssignment=function(e){return 286===e.kind},e.isSpreadAssignment=function(e){return 287===e.kind},e.isEnumMember=function(e){return 288===e.kind},e.isUnparsedPrepend=function(e){return 290===e.kind},e.isSourceFile=function(e){return 294===e.kind},e.isBundle=function(e){return 295===e.kind},e.isUnparsedSource=function(e){return 296===e.kind},e.isJSDocTypeExpression=function(e){return 298===e.kind},e.isJSDocAllType=function(e){return 299===e.kind},e.isJSDocUnknownType=function(e){return 300===e.kind},e.isJSDocNullableType=function(e){return 301===e.kind},e.isJSDocNonNullableType=function(e){return 302===e.kind},e.isJSDocOptionalType=function(e){return 303===e.kind},e.isJSDocFunctionType=function(e){return 304===e.kind},e.isJSDocVariadicType=function(e){return 305===e.kind},e.isJSDocNamepathType=function(e){return 306===e.kind},e.isJSDoc=function(e){return 307===e.kind},e.isJSDocTypeLiteral=function(e){return 308===e.kind},e.isJSDocSignature=function(e){return 309===e.kind},e.isJSDocAugmentsTag=function(e){return 311===e.kind},e.isJSDocAuthorTag=function(e){return 313===e.kind},e.isJSDocClassTag=function(e){return 315===e.kind},e.isJSDocCallbackTag=function(e){return 320===e.kind},e.isJSDocPublicTag=function(e){return 316===e.kind},e.isJSDocPrivateTag=function(e){return 317===e.kind},e.isJSDocProtectedTag=function(e){return 318===e.kind},e.isJSDocReadonlyTag=function(e){return 319===e.kind},e.isJSDocDeprecatedTag=function(e){return 314===e.kind},e.isJSDocEnumTag=function(e){return 321===e.kind},e.isJSDocParameterTag=function(e){return 322===e.kind},e.isJSDocReturnTag=function(e){return 323===e.kind},e.isJSDocThisTag=function(e){return 324===e.kind},e.isJSDocTypeTag=function(e){return 325===e.kind},e.isJSDocTemplateTag=function(e){return 326===e.kind},e.isJSDocTypedefTag=function(e){return 327===e.kind},e.isJSDocUnknownTag=function(e){return 310===e.kind},e.isJSDocPropertyTag=function(e){return 328===e.kind},e.isJSDocImplementsTag=function(e){return 312===e.kind},e.isSyntaxList=function(e){return 329===e.kind}}(p||(p={})),function(e){function n(n,t,r,a){if(e.isComputedPropertyName(r))return e.setTextRange(n.createElementAccessExpression(t,r.expression),a);var i=e.setTextRange(e.isIdentifierOrPrivateIdentifier(r)?n.createPropertyAccessExpression(t,r):n.createElementAccessExpression(t,r),r);return e.getOrCreateEmitNode(i).flags|=64,i}function t(n,t){var r=e.parseNodeFactory.createIdentifier(n||"React");return e.setParent(r,e.getParseTreeNode(t)),r}function r(n,a,i){if(e.isQualifiedName(a)){var o=r(n,a.left,i),s=n.createIdentifier(e.idText(a.right));return s.escapedText=a.right.escapedText,n.createPropertyAccessExpression(o,s)}return t(e.idText(a),i)}function a(e,n,a,i){return n?r(e,n,i):e.createPropertyAccessExpression(t(a,i),"createElement")}function i(n,t){return e.isIdentifier(t)?n.createStringLiteralFromNode(t):e.isComputedPropertyName(t)?e.setParent(e.setTextRange(n.cloneNode(t.expression),t.expression),t.expression.parent):e.setParent(e.setTextRange(n.cloneNode(t),t),t.parent)}function s(n){return e.isStringLiteral(n.expression)&&"use strict"===n.expression.text}function c(e,n){switch(void 0===n&&(n=15),e.kind){case 204:return 0!=(1&n);case 203:case 221:return 0!=(2&n);case 222:return 0!=(4&n);case 331:return 0!=(8&n)}return!1}function l(e,n){for(void 0===n&&(n=15);c(e,n);)e=e.expression;return e}function u(n){return e.setStartsOnNewLine(n,!0)}function d(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function p(n,t,r,a,i){if(r.importHelpers&&e.isEffectiveExternalModule(t,r)){var o=d(t);if(o)return o;var s=e.getEmitModuleKind(r),c=(a||r.esModuleInterop&&i)&&s!==e.ModuleKind.System&&s<e.ModuleKind.ES2015;if(!c){var l=e.getEmitHelpers(t);if(l)for(var u=0,p=l;u<p.length;u++){if(!p[u].scoped){c=!0;break}}}if(c){var f=e.getOriginalNode(t,e.isSourceFile),m=e.getOrCreateEmitNode(f);return m.externalHelpersModuleName||(m.externalHelpersModuleName=n.createUniqueName(e.externalHelpersModuleNameText))}}}function f(n,t,r,a){if(t)return t.moduleName?n.createStringLiteral(t.moduleName):!t.isDeclarationFile&&e.outFile(a)?n.createStringLiteral(e.getExternalModuleNameFromPath(r,t.fileName)):void 0}function m(n){if(e.isDeclarationBindingElement(n))return n.name;if(!e.isObjectLiteralElementLike(n))return e.isAssignmentExpression(n,!0)?m(n.left):e.isSpreadElement(n)?m(n.expression):n;switch(n.kind){case 285:return m(n.initializer);case 286:return n.name;case 287:return m(n.expression)}}function _(n){switch(n.kind){case 195:if(n.propertyName){var t=n.propertyName;return e.isPrivateIdentifier(t)?e.Debug.failBadSyntaxKind(t):e.isComputedPropertyName(t)&&g(t.expression)?t.expression:t}break;case 285:if(n.name){t=n.name;return e.isPrivateIdentifier(t)?e.Debug.failBadSyntaxKind(t):e.isComputedPropertyName(t)&&g(t.expression)?t.expression:t}break;case 287:return n.name&&e.isPrivateIdentifier(n.name)?e.Debug.failBadSyntaxKind(n.name):n.name}var r=m(n);if(r&&e.isPropertyName(r))return r}function g(e){var n=e.kind;return 10===n||8===n}e.createEmptyExports=function(e){return e.createExportDeclaration(void 0,void 0,!1,e.createNamedExports([]),void 0)},e.createMemberAccessForPropertyName=n,e.createExpressionForJsxElement=function(n,t,r,i,o,s,c,l){var d=[i];if(o&&d.push(o),s&&s.length>0)if(o||d.push(n.createNull()),s.length>1)for(var p=0,f=s;p<f.length;p++){var m=f[p];u(m),d.push(m)}else d.push(s[0]);return e.setTextRange(n.createCallExpression(a(n,t,r,c),void 0,d),l)},e.createExpressionForJsxFragment=function(n,i,o,s,c,l,d){var p=[function(e,n,a,i){return n?r(e,n,i):e.createPropertyAccessExpression(t(a,i),"Fragment")}(n,o,s,l),n.createNull()];if(c&&c.length>0)if(c.length>1)for(var f=0,m=c;f<m.length;f++){var _=m[f];u(_),p.push(_)}else p.push(c[0]);return e.setTextRange(n.createCallExpression(a(n,i,s,l),void 0,p),d)},e.createForOfBindingStatement=function(n,t,r){if(e.isVariableDeclarationList(t)){var a=e.first(t.declarations),i=n.updateVariableDeclaration(a,a.name,void 0,void 0,r);return e.setTextRange(n.createVariableStatement(void 0,n.updateVariableDeclarationList(t,[i])),t)}var o=e.setTextRange(n.createAssignment(t,r),t);return e.setTextRange(n.createExpressionStatement(o),t)},e.insertLeadingStatement=function(n,t,r){return e.isBlock(t)?n.updateBlock(t,e.setTextRange(n.createNodeArray(o([r],t.statements)),t.statements)):n.createBlock(n.createNodeArray([t,r]),!0)},e.createExpressionFromEntityName=function n(t,r){if(e.isQualifiedName(r)){var a=n(t,r.left),i=e.setParent(e.setTextRange(t.cloneNode(r.right),r.right),r.right.parent);return e.setTextRange(t.createPropertyAccessExpression(a,i),r)}return e.setParent(e.setTextRange(t.cloneNode(r),r),r.parent)},e.createExpressionForPropertyName=i,e.createExpressionForObjectLiteralElementLike=function(t,r,a,o){switch(a.name&&e.isPrivateIdentifier(a.name)&&e.Debug.failBadSyntaxKind(a.name,"Private identifiers are not allowed in object literals."),a.kind){case 166:case 167:return function(n,t,r,a,o){var s=e.getAllAccessorDeclarations(t,r),c=s.firstAccessor,l=s.getAccessor,u=s.setAccessor;if(r===c)return e.setTextRange(n.createObjectDefinePropertyCall(a,i(n,r.name),n.createPropertyDescriptor({enumerable:n.createFalse(),configurable:!0,get:l&&e.setTextRange(e.setOriginalNode(n.createFunctionExpression(l.modifiers,void 0,void 0,void 0,l.parameters,void 0,l.body),l),l),set:u&&e.setTextRange(e.setOriginalNode(n.createFunctionExpression(u.modifiers,void 0,void 0,void 0,u.parameters,void 0,u.body),u),u)},!o)),c)}(t,r.properties,a,o,!!r.multiLine);case 285:return function(t,r,a){return e.setOriginalNode(e.setTextRange(t.createAssignment(n(t,a,r.name,r.name),r.initializer),r),r)}(t,a,o);case 286:return function(t,r,a){return e.setOriginalNode(e.setTextRange(t.createAssignment(n(t,a,r.name,r.name),t.cloneNode(r.name)),r),r)}(t,a,o);case 164:return function(t,r,a){return e.setOriginalNode(e.setTextRange(t.createAssignment(n(t,a,r.name,r.name),e.setOriginalNode(e.setTextRange(t.createFunctionExpression(r.modifiers,r.asteriskToken,void 0,void 0,r.parameters,void 0,r.body),r),r)),r),r)}(t,a,o)}},e.isInternalName=function(n){return 0!=(32768&e.getEmitFlags(n))},e.isLocalName=function(n){return 0!=(16384&e.getEmitFlags(n))},e.isExportName=function(n){return 0!=(8192&e.getEmitFlags(n))},e.findUseStrictPrologue=function(n){for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!e.isPrologueDirective(a))break;if(s(a))return a}},e.startsWithUseStrict=function(n){var t=e.firstOrUndefined(n);return void 0!==t&&e.isPrologueDirective(t)&&s(t)},e.isCommaSequence=function(e){return 213===e.kind&&27===e.operatorToken.kind||332===e.kind},e.isOuterExpression=c,e.skipOuterExpressions=l,e.skipAssertions=function(e){return l(e,6)},e.startOnNewLine=u,e.getExternalHelpersModuleName=d,e.hasRecordedExternalHelpers=function(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return!(!r||!r.externalHelpersModuleName&&!r.externalHelpers)},e.createExternalHelpersImportDeclarationIfNeeded=function(n,t,r,a,i,o,s){if(a.importHelpers&&e.isEffectiveExternalModule(r,a)){var c=void 0,l=e.getEmitModuleKind(a);if(l>=e.ModuleKind.ES2015&&l<=e.ModuleKind.ESNext){var u=e.getEmitHelpers(r);if(u){for(var d=[],f=0,m=u;f<m.length;f++){var _=m[f];if(!_.scoped){var g=_.importName;g&&e.pushIfUnique(d,g)}}if(e.some(d)){d.sort(e.compareStringsCaseSensitive),c=n.createNamedImports(e.map(d,(function(a){return e.isFileLevelUniqueName(r,a)?n.createImportSpecifier(void 0,n.createIdentifier(a)):n.createImportSpecifier(n.createIdentifier(a),t.getUnscopedHelperName(a))})));var y=e.getOriginalNode(r,e.isSourceFile);e.getOrCreateEmitNode(y).externalHelpers=!0}}}else{var h=p(n,r,a,i,o||s);h&&(c=n.createNamespaceImport(h))}if(c){var v=n.createImportDeclaration(void 0,void 0,n.createImportClause(!1,void 0,c),n.createStringLiteral(e.externalHelpersModuleNameText));return e.addEmitFlags(v,67108864),v}}},e.getOrCreateExternalHelpersModuleNameIfNeeded=p,e.getLocalNameForExternalImport=function(n,t,r){var a=e.getNamespaceDeclarationNode(t);if(a&&!e.isDefaultImport(t)){var i=a.name;return e.isGeneratedIdentifier(i)?i:n.createIdentifier(e.getSourceTextOfNodeFromSourceFile(r,i)||e.idText(i))}return 258===t.kind&&t.importClause||264===t.kind&&t.moduleSpecifier?n.getGeneratedNameForNode(t):void 0},e.getExternalModuleNameLiteral=function(n,t,r,a,i,o){var s=e.getExternalModuleName(t);if(10===s.kind)return function(e,n,t,r,a){return f(t,r.getExternalModuleFileFromDeclaration(e),n,a)}(t,a,n,i,o)||function(e,n,t){var r=t.renamedDependencies&&t.renamedDependencies.get(n.text);return r&&e.createStringLiteral(r)}(n,s,r)||n.cloneNode(s)},e.tryGetModuleNameFromFile=f,e.getInitializerOfBindingOrAssignmentElement=function n(t){if(e.isDeclarationBindingElement(t))return t.initializer;if(e.isPropertyAssignment(t)){var r=t.initializer;return e.isAssignmentExpression(r,!0)?r.right:void 0}return e.isShorthandPropertyAssignment(t)?t.objectAssignmentInitializer:e.isAssignmentExpression(t,!0)?t.right:e.isSpreadElement(t)?n(t.expression):void 0},e.getTargetOfBindingOrAssignmentElement=m,e.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 159:case 195:return e.dotDotDotToken;case 217:case 287:return e}},e.getPropertyNameOfBindingOrAssignmentElement=function(n){var t=_(n);return e.Debug.assert(!!t||e.isSpreadAssignment(n),"Invalid property name for binding element."),t},e.tryGetPropertyNameOfBindingOrAssignmentElement=_,e.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 193:case 194:case 196:return e.elements;case 197:return e.properties}},e.getJSDocTypeAliasName=function(n){if(n)for(var t=n;;){if(e.isIdentifier(t)||!t.body)return e.isIdentifier(t)?t:t.name;t=t.body}},e.canHaveModifiers=function(e){var n=e.kind;return 159===n||161===n||162===n||163===n||164===n||165===n||166===n||167===n||170===n||205===n||206===n||218===n||229===n||248===n||249===n||250===n||251===n||252===n||253===n||257===n||258===n||263===n||264===n},e.isExportModifier=function(e){return 92===e.kind},e.isAsyncModifier=function(e){return 129===e.kind},e.isStaticModifier=function(e){return 123===e.kind}}(p||(p={})),function(e){e.setTextRange=function(n,t){return t?e.setTextRangePosEnd(n,t.pos,t.end):n}}(p||(p={})),function(e){var n,t,r,a,i,o,s,c,l;function u(e,n){return n&&e(n)}function d(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;r<a.length;r++){var i=e(a[r]);if(i)return i}}}function p(e,n){return 42===e.charCodeAt(n+1)&&42===e.charCodeAt(n+2)&&47!==e.charCodeAt(n+3)}function f(n,t,r){if(n&&!(n.kind<=155))switch(n.kind){case 156:return u(t,n.left)||u(t,n.right);case 158:return u(t,n.name)||u(t,n.constraint)||u(t,n.default)||u(t,n.expression);case 286:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.exclamationToken)||u(t,n.equalsToken)||u(t,n.objectAssignmentInitializer);case 287:return u(t,n.expression);case 159:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.dotDotDotToken)||u(t,n.name)||u(t,n.questionToken)||u(t,n.type)||u(t,n.initializer);case 162:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.exclamationToken)||u(t,n.type)||u(t,n.initializer);case 161:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.type)||u(t,n.initializer);case 285:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.questionToken)||u(t,n.initializer);case 246:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.exclamationToken)||u(t,n.type)||u(t,n.initializer);case 195:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.dotDotDotToken)||u(t,n.propertyName)||u(t,n.name)||u(t,n.initializer);case 173:case 174:case 168:case 169:case 170:return d(t,r,n.decorators)||d(t,r,n.modifiers)||d(t,r,n.typeParameters)||d(t,r,n.parameters)||u(t,n.type);case 164:case 163:case 165:case 166:case 167:case 205:case 248:case 206:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.asteriskToken)||u(t,n.name)||u(t,n.questionToken)||u(t,n.exclamationToken)||d(t,r,n.typeParameters)||d(t,r,n.parameters)||u(t,n.type)||u(t,n.equalsGreaterThanToken)||u(t,n.body);case 172:return u(t,n.typeName)||d(t,r,n.typeArguments);case 171:return u(t,n.assertsModifier)||u(t,n.parameterName)||u(t,n.type);case 175:return u(t,n.exprName);case 176:return d(t,r,n.members);case 177:return u(t,n.elementType);case 178:return d(t,r,n.elements);case 181:case 182:return d(t,r,n.types);case 183:return u(t,n.checkType)||u(t,n.extendsType)||u(t,n.trueType)||u(t,n.falseType);case 184:return u(t,n.typeParameter);case 192:return u(t,n.argument)||u(t,n.qualifier)||d(t,r,n.typeArguments);case 185:case 187:return u(t,n.type);case 188:return u(t,n.objectType)||u(t,n.indexType);case 189:return u(t,n.readonlyToken)||u(t,n.typeParameter)||u(t,n.questionToken)||u(t,n.type);case 190:return u(t,n.literal);case 191:return u(t,n.dotDotDotToken)||u(t,n.name)||u(t,n.questionToken)||u(t,n.type);case 193:case 194:case 196:return d(t,r,n.elements);case 197:return d(t,r,n.properties);case 198:return u(t,n.expression)||u(t,n.questionDotToken)||u(t,n.name);case 199:return u(t,n.expression)||u(t,n.questionDotToken)||u(t,n.argumentExpression);case 200:case 201:return u(t,n.expression)||u(t,n.questionDotToken)||d(t,r,n.typeArguments)||d(t,r,n.arguments);case 202:return u(t,n.tag)||u(t,n.questionDotToken)||d(t,r,n.typeArguments)||u(t,n.template);case 203:return u(t,n.type)||u(t,n.expression);case 204:case 207:case 208:case 209:return u(t,n.expression);case 211:return u(t,n.operand);case 216:return u(t,n.asteriskToken)||u(t,n.expression);case 210:return u(t,n.expression);case 212:return u(t,n.operand);case 213:return u(t,n.left)||u(t,n.operatorToken)||u(t,n.right);case 221:return u(t,n.expression)||u(t,n.type);case 222:return u(t,n.expression);case 223:return u(t,n.name);case 214:return u(t,n.condition)||u(t,n.questionToken)||u(t,n.whenTrue)||u(t,n.colonToken)||u(t,n.whenFalse);case 217:return u(t,n.expression);case 227:case 254:return d(t,r,n.statements);case 294:return d(t,r,n.statements)||u(t,n.endOfFileToken);case 229:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.declarationList);case 247:return d(t,r,n.declarations);case 230:return u(t,n.expression);case 231:return u(t,n.expression)||u(t,n.thenStatement)||u(t,n.elseStatement);case 232:return u(t,n.statement)||u(t,n.expression);case 233:return u(t,n.expression)||u(t,n.statement);case 234:return u(t,n.initializer)||u(t,n.condition)||u(t,n.incrementor)||u(t,n.statement);case 235:return u(t,n.initializer)||u(t,n.expression)||u(t,n.statement);case 236:return u(t,n.awaitModifier)||u(t,n.initializer)||u(t,n.expression)||u(t,n.statement);case 237:case 238:return u(t,n.label);case 239:return u(t,n.expression);case 240:return u(t,n.expression)||u(t,n.statement);case 241:return u(t,n.expression)||u(t,n.caseBlock);case 255:return d(t,r,n.clauses);case 281:return u(t,n.expression)||d(t,r,n.statements);case 282:return d(t,r,n.statements);case 242:return u(t,n.label)||u(t,n.statement);case 243:return u(t,n.expression);case 244:return u(t,n.tryBlock)||u(t,n.catchClause)||u(t,n.finallyBlock);case 284:return u(t,n.variableDeclaration)||u(t,n.block);case 160:return u(t,n.expression);case 249:case 218:case 250:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||d(t,r,n.typeParameters)||d(t,r,n.heritageClauses)||d(t,r,n.members);case 251:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||d(t,r,n.typeParameters)||u(t,n.type);case 252:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||d(t,r,n.members);case 288:return u(t,n.name)||u(t,n.initializer);case 253:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.body);case 257:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.name)||u(t,n.moduleReference);case 258:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.importClause)||u(t,n.moduleSpecifier);case 259:return u(t,n.name)||u(t,n.namedBindings);case 256:case 260:case 266:return u(t,n.name);case 261:case 265:return d(t,r,n.elements);case 264:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.exportClause)||u(t,n.moduleSpecifier);case 262:case 267:return u(t,n.propertyName)||u(t,n.name);case 263:return d(t,r,n.decorators)||d(t,r,n.modifiers)||u(t,n.expression);case 215:return u(t,n.head)||d(t,r,n.templateSpans);case 225:return u(t,n.expression)||u(t,n.literal);case 157:return u(t,n.expression);case 283:return d(t,r,n.types);case 220:return u(t,n.expression)||d(t,r,n.typeArguments);case 269:return u(t,n.expression);case 268:return d(t,r,n.decorators);case 332:return d(t,r,n.elements);case 270:return u(t,n.openingElement)||d(t,r,n.children)||u(t,n.closingElement);case 274:return u(t,n.openingFragment)||d(t,r,n.children)||u(t,n.closingFragment);case 271:case 272:return u(t,n.tagName)||d(t,r,n.typeArguments)||u(t,n.attributes);case 278:return d(t,r,n.properties);case 277:return u(t,n.name)||u(t,n.initializer);case 279:return u(t,n.expression);case 280:return u(t,n.dotDotDotToken)||u(t,n.expression);case 273:return u(t,n.tagName);case 179:case 180:case 298:case 302:case 301:case 303:case 305:return u(t,n.type);case 304:return d(t,r,n.parameters)||u(t,n.type);case 307:return d(t,r,n.tags);case 322:case 328:return u(t,n.tagName)||(n.isNameFirst?u(t,n.name)||u(t,n.typeExpression):u(t,n.typeExpression)||u(t,n.name));case 313:return u(t,n.tagName);case 312:case 311:return u(t,n.tagName)||u(t,n.class);case 326:return u(t,n.tagName)||u(t,n.constraint)||d(t,r,n.typeParameters);case 327:return u(t,n.tagName)||(n.typeExpression&&298===n.typeExpression.kind?u(t,n.typeExpression)||u(t,n.fullName):u(t,n.fullName)||u(t,n.typeExpression));case 320:return u(t,n.tagName)||u(t,n.fullName)||u(t,n.typeExpression);case 323:case 325:case 324:case 321:return u(t,n.tagName)||u(t,n.typeExpression);case 309:return e.forEach(n.typeParameters,t)||e.forEach(n.parameters,t)||u(t,n.type);case 308:return e.forEach(n.jsDocPropertyTags,t);case 310:case 315:case 316:case 317:case 318:case 319:return u(t,n.tagName);case 331:return u(t,n.expression)}}function m(e){return void 0!==e.externalModuleIndicator}function _(n){return e.fileExtensionIs(n,".d.ts")}function g(n,t){for(var r=[],a=0,i=e.getLeadingCommentRanges(t,0)||e.emptyArray;a<i.length;a++){var o=i[a];T(r,o,t.substring(o.pos,o.end))}n.pragmas=new e.Map;for(var s=0,c=r;s<c.length;s++){var l=c[s];if(n.pragmas.has(l.name)){var u=n.pragmas.get(l.name);u instanceof Array?u.push(l.args):n.pragmas.set(l.name,[u,l.args])}else n.pragmas.set(l.name,l.args)}}function y(n,t){n.checkJsDirective=void 0,n.referencedFiles=[],n.typeReferenceDirectives=[],n.libReferenceDirectives=[],n.amdDependencies=[],n.hasNoDefaultLib=!1,n.pragmas.forEach((function(r,a){switch(a){case"reference":var i=n.referencedFiles,o=n.typeReferenceDirectives,s=n.libReferenceDirectives;e.forEach(e.toArray(r),(function(r){var a=r.arguments,c=a.types,l=a.lib,u=a.path;r.arguments["no-default-lib"]?n.hasNoDefaultLib=!0:c?o.push({pos:c.pos,end:c.end,fileName:c.value}):l?s.push({pos:l.pos,end:l.end,fileName:l.value}):u?i.push({pos:u.pos,end:u.end,fileName:u.value}):t(r.range.pos,r.range.end-r.range.pos,e.Diagnostics.Invalid_reference_directive_syntax)}));break;case"amd-dependency":n.amdDependencies=e.map(e.toArray(r),(function(e){return{name:e.arguments.name,path:e.arguments.path}}));break;case"amd-module":if(r instanceof Array)for(var c=0,l=r;c<l.length;c++){var u=l[c];n.moduleName&&t(u.range.pos,u.range.end-u.range.pos,e.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),n.moduleName=u.arguments.name}else n.moduleName=r.arguments.name;break;case"ts-nocheck":case"ts-check":e.forEach(e.toArray(r),(function(e){(!n.checkJsDirective||e.range.pos>n.checkJsDirective.pos)&&(n.checkJsDirective={enabled:"ts-check"===a,end:e.range.end,pos:e.range.pos})}));break;case"jsx":case"jsxfrag":return;default:e.Debug.fail("Unhandled pragma kind")}}))}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(n||(n={})),function(e){e[e.TryParse=0]="TryParse",e[e.Lookahead=1]="Lookahead",e[e.Reparse=2]="Reparse"}(t||(t={})),e.parseBaseNodeFactory={createBaseSourceFileNode:function(n){return new(s||(s=e.objectAllocator.getSourceFileConstructor()))(n,-1,-1)},createBaseIdentifierNode:function(n){return new(i||(i=e.objectAllocator.getIdentifierConstructor()))(n,-1,-1)},createBasePrivateIdentifierNode:function(n){return new(o||(o=e.objectAllocator.getPrivateIdentifierConstructor()))(n,-1,-1)},createBaseTokenNode:function(n){return new(a||(a=e.objectAllocator.getTokenConstructor()))(n,-1,-1)},createBaseNode:function(n){return new(r||(r=e.objectAllocator.getNodeConstructor()))(n,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory),e.isJSDocLikeText=p,e.forEachChild=f,e.forEachChildRecursively=function(n,t,r){for(var a=[n];a.length;){var i=a.pop(),o=c(i,s(i));if(o)return o}return;function s(e){var n=[];return f(e,t,t),n;function t(e){n.unshift(e)}}function c(n,i){for(var o=0,s=i;o<s.length;o++){var c=s[o];if(e.isArray(c)){if(r)if(d=r(c,n)){if("skip"===d)continue;return d}for(var l=c.length-1;l>=0;l--){var u=c[l];if(d=t(u,n)){if("skip"===d)continue;return d}a.push(u)}}else{var d;if(a.push(c),d=t(c,n)){if("skip"===d)continue;return d}}}}},e.createSourceFile=function(n,t,r,a,i){var o;return void 0===a&&(a=!1),e.performance.mark("beforeParse"),e.perfLogger.logStartParseSourceFile(n),o=100===r?c.parseSourceFile(n,t,r,void 0,a,6):c.parseSourceFile(n,t,r,void 0,a,i),e.perfLogger.logStopParseSourceFile(),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),o},e.parseIsolatedEntityName=function(e,n){return c.parseIsolatedEntityName(e,n)},e.parseJsonText=function(e,n){return c.parseJsonText(e,n)},e.isExternalModule=m,e.updateSourceFile=function(e,n,t,r){void 0===r&&(r=!1);var a=l.updateSourceFile(e,n,t,r);return a.flags|=3145728&e.flags,a},e.parseIsolatedJSDocComment=function(e,n,t){var r=c.JSDocParser.parseIsolatedJSDocComment(e,n,t);return r&&r.jsDoc&&c.fixupParentReferences(r.jsDoc),r},e.parseJSDocTypeExpressionForTests=function(e,n,t){return c.JSDocParser.parseJSDocTypeExpressionForTests(e,n,t)},function(n){var t,r,a,i,o,s=e.createScanner(99,!0);function c(e){return D++,e}var u,d,h,v,b,E,T,S,x,A,D,C,I,N,R,k,O,P={createBaseSourceFileNode:function(e){return c(new o(e,0,0))},createBaseIdentifierNode:function(e){return c(new a(e,0,0))},createBasePrivateIdentifierNode:function(e){return c(new i(e,0,0))},createBaseTokenNode:function(e){return c(new r(e,0,0))},createBaseNode:function(e){return c(new t(e,0,0))}},M=e.createNodeFactory(11,P),w=!0,F=!1;function G(n,t,r,a,i){void 0===r&&(r=2),void 0===i&&(i=!1),B(n,t,r,a,6),d=O,be();var o,s,c=_e();if(1===ye())o=Ue([],c,c),s=Fe();else{var l=void 0;switch(ye()){case 22:l=yr();break;case 109:case 94:case 103:l=Fe();break;case 40:l=Ce((function(){return 8===be()&&58!==be()}))?qt():vr();break;case 8:case 10:if(Ce((function(){return 58!==be()}))){l=Nn();break}default:l=vr()}var u=M.createExpressionStatement(l);Ve(u,c),o=Ue([u],c),s=we(1,e.Diagnostics.Unexpected_token)}var p=X(n,2,6,!1,o,s,d);i&&J(p),p.nodeCount=D,p.identifierCount=N,p.identifiers=C,p.parseDiagnostics=e.attachFileToDiagnostics(T,p),S&&(p.jsDocDiagnostics=e.attachFileToDiagnostics(S,p));var f=p;return U(),f}function B(n,c,l,p,f){switch(t=e.objectAllocator.getNodeConstructor(),r=e.objectAllocator.getTokenConstructor(),a=e.objectAllocator.getIdentifierConstructor(),i=e.objectAllocator.getPrivateIdentifierConstructor(),o=e.objectAllocator.getSourceFileConstructor(),u=e.normalizePath(n),h=c,v=l,x=p,b=f,E=e.getLanguageVariant(f),T=[],R=0,C=new e.Map,I=new e.Map,N=0,D=0,d=0,w=!0,b){case 1:case 2:O=131072;break;case 6:O=33685504;break;default:O=0}F=!1,s.setText(h),s.setOnError(me),s.setScriptTarget(v),s.setLanguageVariant(E)}function U(){s.clearCommentDirectives(),s.setText(""),s.setOnError(void 0),h=void 0,v=void 0,x=void 0,b=void 0,E=void 0,d=0,T=void 0,S=void 0,R=0,C=void 0,k=void 0,w=!0}function V(n,t,r){var a=_(u);a&&(O|=8388608),d=O,be();var i=_n(0,Fr);e.Debug.assert(1===ye());var o=z(Fe()),c=X(u,n,r,a,i,o,d);return g(c,h),y(c,(function(n,t,r){T.push(e.createDetachedDiagnostic(u,n,t,r))})),c.commentDirectives=s.getCommentDirectives(),c.nodeCount=D,c.identifierCount=N,c.identifiers=C,c.parseDiagnostics=e.attachFileToDiagnostics(T,c),S&&(c.jsDocDiagnostics=e.attachFileToDiagnostics(S,c)),t&&J(c),c}function j(e,n){return n?z(e):e}n.parseSourceFile=function(n,t,r,a,i,o){if(void 0===i&&(i=!1),6===(o=e.ensureScriptKind(n,o))){var s=G(n,t,r,a,i);return e.convertToObjectWorker(s,s.parseDiagnostics,!1,void 0,void 0),s.referencedFiles=e.emptyArray,s.typeReferenceDirectives=e.emptyArray,s.libReferenceDirectives=e.emptyArray,s.amdDependencies=e.emptyArray,s.hasNoDefaultLib=!1,s.pragmas=e.emptyMap,s}B(n,t,r,a,o);var c=V(r,i,o);return U(),c},n.parseIsolatedEntityName=function(e,n){B("",e,n,void 0,1),be();var t=Ln(!0),r=1===ye()&&!T.length;return U(),r?t:void 0},n.parseJsonText=G;var K,H,W,q=!1;function z(n){e.Debug.assert(!n.jsDoc);var t=e.mapDefined(e.getJSDocCommentRanges(n,h),(function(e){return W.parseJSDocComment(n,e.pos,e.end-e.pos)}));return t.length&&(n.jsDoc=t),q&&(q=!1,n.flags|=134217728),n}function J(n){e.setParentRecursive(n,!0)}function X(n,t,r,a,i,o,c){var u=M.createSourceFile(i,o,c);return e.setTextRangePosWidth(u,0,h.length),function(n){n.externalModuleIndicator=e.forEach(n.statements,Ia)||function(e){return 2097152&e.flags?Na(e):void 0}(n)}(u),!a&&m(u)&&8388608&u.transformFlags&&(u=function(n){var t=x,r=l.createSyntaxCursor(n);x={currentNode:function(e){var n=r.currentNode(e);w&&n&&f(n)&&(n.intersectsChange=!0);return n}};var a=[],i=T;T=[];for(var o=0,c=m(n.statements,0),u=function(){var t=n.statements[o],r=n.statements[c];e.addRange(a,n.statements,o,c),o=_(n.statements,c);var l=e.findIndex(i,(function(e){return e.start>=t.pos})),u=l>=0?e.findIndex(i,(function(e){return e.start>=r.pos}),l):-1;l>=0&&e.addRange(T,i,l,u>=0?u:void 0),De((function(){var e=O;for(O|=32768,s.setTextPos(r.pos),be();1!==ye();){var t=s.getStartPos(),i=gn(0,Fr);if(a.push(i),t===s.getStartPos()&&be(),o>=0){var c=n.statements[o];if(i.end===c.pos)break;i.end>c.pos&&(o=_(n.statements,o+1))}}O=e}),2),c=o>=0?m(n.statements,o):-1};-1!==c;)u();if(o>=0){var d=n.statements[o];e.addRange(a,n.statements,o);var p=e.findIndex(i,(function(e){return e.start>=d.pos}));p>=0&&e.addRange(T,i,p)}return x=t,M.updateSourceFile(n,e.setTextRange(M.createNodeArray(a),n.statements));function f(e){return!(32768&e.flags||!(8388608&e.transformFlags))}function m(e,n){for(var t=n;t<e.length;t++)if(f(e[t]))return t;return-1}function _(e,n){for(var t=n;t<e.length;t++)if(!f(e[t]))return t;return-1}}(u)),u.text=h,u.bindDiagnostics=[],u.bindSuggestionDiagnostics=void 0,u.languageVersion=t,u.fileName=n,u.languageVariant=e.getLanguageVariant(r),u.isDeclarationFile=a,u.scriptKind=r,u}function Y(e,n){e?O|=n:O&=~n}function Q(e){Y(e,4096)}function Z(e){Y(e,8192)}function $(e){Y(e,16384)}function ee(e){Y(e,32768)}function ne(e,n){var t=e&O;if(t){Y(!1,t);var r=n();return Y(!0,t),r}return n()}function te(e,n){var t=e&~O;if(t){Y(!0,t);var r=n();return Y(!1,t),r}return n()}function re(e){return ne(4096,e)}function ae(e){return te(32768,e)}function ie(e){return 0!=(O&e)}function oe(){return ie(8192)}function se(){return ie(4096)}function ce(){return ie(16384)}function le(){return ie(32768)}function ue(e,n){pe(s.getTokenPos(),s.getTextPos(),e,n)}function de(n,t,r,a){var i=e.lastOrUndefined(T);i&&n===i.start||T.push(e.createDetachedDiagnostic(u,n,t,r,a)),F=!0}function pe(e,n,t,r){de(e,n-e,t,r)}function fe(e,n,t){pe(e.pos,e.end,n,t)}function me(e,n){de(s.getTextPos(),n,e)}function _e(){return s.getStartPos()}function ge(){return s.hasPrecedingJSDocComment()}function ye(){return A}function he(){return A=s.scan()}function ve(e){return be(),e()}function be(){return e.isKeyword(A)&&(s.hasUnicodeEscape()||s.hasExtendedUnicodeEscape())&&pe(s.getTokenPos(),s.getTextPos(),e.Diagnostics.Keywords_cannot_contain_escape_characters),he()}function Ee(){return A=s.scanJsDocToken()}function Te(){return A=s.reScanGreaterToken()}function Se(){return A=s.reScanTemplateHeadOrNoSubstitutionTemplate()}function Le(){return A=s.reScanLessThanToken()}function xe(){return A=s.scanJsxIdentifier()}function Ae(){return A=s.scanJsxToken()}function De(n,t){var r=A,a=T.length,i=F,o=O,c=0!==t?s.lookAhead(n):s.tryScan(n);return e.Debug.assert(o===O),c&&0===t||(A=r,2!==t&&(T.length=a),F=i),c}function Ce(e){return De(e,1)}function Ie(e){return De(e,0)}function Ne(){return 78===ye()||ye()>115}function Re(){return 78===ye()||(124!==ye()||!oe())&&((130!==ye()||!le())&&ye()>115)}function ke(n,t,r){return void 0===r&&(r=!0),ye()===n?(r&&be(),!0):(t?ue(t):ue(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function Oe(e){return ye()===e&&(be(),!0)}function Pe(e){if(ye()===e)return Fe()}function Me(e){if(ye()===e)return n=_e(),t=ye(),Ee(),Ve(M.createToken(t),n);var n,t}function we(n,t,r){return Pe(n)||je(n,!1,t||e.Diagnostics._0_expected,r||e.tokenToString(n))}function Fe(){var e=_e(),n=ye();return be(),Ve(M.createToken(n),e)}function Ge(){return 26===ye()||(19===ye()||1===ye()||s.hasPrecedingLineBreak())}function Be(){return Ge()?(26===ye()&&be(),!0):ke(26)}function Ue(n,t,r,a){var i=M.createNodeArray(n,a);return e.setTextRangePosEnd(i,t,null!=r?r:s.getStartPos()),i}function Ve(n,t,r){return e.setTextRangePosEnd(n,t,null!=r?r:s.getStartPos()),O&&(n.flags|=O),F&&(F=!1,n.flags|=65536),n}function je(n,t,r,a){t?de(s.getStartPos(),0,r,a):r&&ue(r,a);var i=_e();return Ve(78===n?M.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(n)?M.createTemplateLiteralLikeNode(n,"","",void 0):8===n?M.createNumericLiteral("",void 0):10===n?M.createStringLiteral("",void 0):268===n?M.createMissingDeclaration():M.createToken(n),i)}function Ke(e){var n=C.get(e);return void 0===n&&C.set(e,n=e),n}function He(n,t,r){if(N++,n){var a=_e(),i=ye(),o=Ke(s.getTokenValue());return he(),Ve(M.createIdentifier(o,void 0,i),a)}if(79===ye())return ue(r||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),He(!0);var c=1===ye(),l=s.isReservedWord(),u=s.getTokenText(),d=l?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return je(78,c,t||d,u)}function We(e){return He(Ne(),void 0,e)}function qe(e,n){return He(Re(),e,n)}function ze(n){return He(e.tokenIsIdentifierOrKeyword(ye()),n)}function Je(){return e.tokenIsIdentifierOrKeyword(ye())||10===ye()||8===ye()}function Xe(e){if(10===ye()||8===ye()){var n=Nn();return n.text=Ke(n.text),n}return e&&22===ye()?function(){var e=_e();ke(22);var n=re(Ot);return ke(23),Ve(M.createComputedPropertyName(n),e)}():79===ye()?Qe():ze()}function Ye(){return Xe(!0)}function Qe(){var e,n,t=_e(),r=M.createPrivateIdentifier((e=s.getTokenText(),void 0===(n=I.get(e))&&I.set(e,n=e),n));return be(),Ve(r,t)}function Ze(e){return ye()===e&&Ie(en)}function $e(){return be(),!s.hasPrecedingLineBreak()&&rn()}function en(){switch(ye()){case 84:return 91===be();case 92:return be(),87===ye()?Ce(an):148===ye()?Ce(tn):nn();case 87:return an();case 123:case 134:case 145:return be(),rn();default:return $e()}}function nn(){return 41!==ye()&&126!==ye()&&18!==ye()&&rn()}function tn(){return be(),nn()}function rn(){return 22===ye()||18===ye()||41===ye()||25===ye()||Je()}function an(){return be(),83===ye()||97===ye()||117===ye()||125===ye()&&Ce(Nr)||129===ye()&&Ce(Rr)}function on(n,t){if(yn(n))return!0;switch(n){case 0:case 1:case 3:return!(26===ye()&&t)&&Mr();case 2:return 81===ye()||87===ye();case 4:return Ce(Zn);case 5:return Ce(aa)||26===ye()&&!t;case 6:return 22===ye()||Je();case 12:switch(ye()){case 22:case 41:case 25:case 24:return!0;default:return Je()}case 18:return Je();case 9:return 22===ye()||25===ye()||Je();case 7:return 18===ye()?Ce(sn):t?Re()&&!dn():Rt()&&!dn();case 8:return Wr();case 10:return 27===ye()||25===ye()||Wr();case 19:return Re();case 15:switch(ye()){case 27:case 24:return!0}case 11:return 25===ye()||kt();case 16:return Un(!1);case 17:return Un(!0);case 20:case 21:return 27===ye()||yt();case 22:return ha();case 23:return e.tokenIsIdentifierOrKeyword(ye());case 13:return e.tokenIsIdentifierOrKeyword(ye())||18===ye();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function sn(){if(e.Debug.assert(18===ye()),19===be()){var n=be();return 27===n||18===n||93===n||116===n}return!0}function cn(){return be(),Re()}function ln(){return be(),e.tokenIsIdentifierOrKeyword(ye())}function un(){return be(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ye())}function dn(){return(116===ye()||93===ye())&&Ce(pn)}function pn(){return be(),kt()}function fn(){return be(),yt()}function mn(e){if(1===ye())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===ye();case 3:return 19===ye()||81===ye()||87===ye();case 7:return 18===ye()||93===ye()||116===ye();case 8:return function(){if(Ge())return!0;if(Kt(ye()))return!0;if(38===ye())return!0;return!1}();case 19:return 31===ye()||20===ye()||18===ye()||93===ye()||116===ye();case 11:return 21===ye()||26===ye();case 15:case 21:case 10:return 23===ye();case 17:case 16:case 18:return 21===ye()||23===ye();case 20:return 27!==ye();case 22:return 18===ye()||19===ye();case 13:return 31===ye()||43===ye();case 14:return 29===ye()&&Ce(Sa);default:return!1}}function _n(e,n){var t=R;R|=1<<e;for(var r=[],a=_e();!mn(e);)if(on(e,!1)){var i=gn(e,n);r.push(i)}else if(vn(e))break;return R=t,Ue(r,a)}function gn(e,n){var t=yn(e);return t?hn(t):n()}function yn(n){if(x&&function(e){switch(e){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}(n)&&!F){var t=x.currentNode(s.getStartPos());if(!(e.nodeIsMissing(t)||t.intersectsChange||e.containsParseError(t)))if((25358336&t.flags)===O&&function(e,n){switch(n){case 5:return function(e){if(e)switch(e.kind){case 165:case 170:case 166:case 167:case 162:case 226:return!0;case 164:var n=e;return!(78===n.name.kind&&132===n.name.originalKeywordKind)}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 281:case 282:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 248:case 229:case 227:case 231:case 230:case 243:case 239:case 241:case 238:case 237:case 235:case 236:case 234:case 233:case 240:case 228:case 244:case 242:case 232:case 245:case 258:case 257:case 264:case 263:case 253:case 249:case 250:case 252:case 251:return!0}return!1}(e);case 6:return function(e){return 288===e.kind}(e);case 4:return function(e){if(e)switch(e.kind){case 169:case 163:case 170:case 161:case 168:return!0}return!1}(e);case 8:return function(e){if(246!==e.kind)return!1;return void 0===e.initializer}(e);case 17:case 16:return function(e){if(159!==e.kind)return!1;return void 0===e.initializer}(e)}return!1}(t,n))return t.jsDocCache&&(t.jsDocCache=void 0),t}}function hn(e){return s.setTextPos(e.end),be(),e}function vn(n){return ue(function(n){switch(n){case 0:case 1:return e.Diagnostics.Declaration_or_statement_expected;case 2:return e.Diagnostics.case_or_default_expected;case 3:return e.Diagnostics.Statement_expected;case 18:case 4:return e.Diagnostics.Property_or_signature_expected;case 5:return e.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected;case 6:return e.Diagnostics.Enum_member_expected;case 7:return e.Diagnostics.Expression_expected;case 8:return e.Diagnostics.Variable_declaration_expected;case 9:return e.Diagnostics.Property_destructuring_pattern_expected;case 10:return e.Diagnostics.Array_element_destructuring_pattern_expected;case 11:return e.Diagnostics.Argument_expression_expected;case 12:return e.Diagnostics.Property_assignment_expected;case 15:return e.Diagnostics.Expression_or_comma_expected;case 17:case 16:return e.Diagnostics.Parameter_declaration_expected;case 19:return e.Diagnostics.Type_parameter_declaration_expected;case 20:return e.Diagnostics.Type_argument_expected;case 21:return e.Diagnostics.Type_expected;case 22:return e.Diagnostics.Unexpected_token_expected;case 23:case 13:case 14:return e.Diagnostics.Identifier_expected;default:return}}(n)),!!function(){for(var e=0;e<24;e++)if(R&1<<e&&(on(e,!0)||mn(e)))return!0;return!1}()||(be(),!1)}function bn(e,n,t){var r=R;R|=1<<e;for(var a=[],i=_e(),o=-1;;)if(on(e,!1)){var c=s.getStartPos();if(a.push(gn(e,n)),o=s.getTokenPos(),Oe(27))continue;if(o=-1,mn(e))break;ke(27,En(e)),t&&26===ye()&&!s.hasPrecedingLineBreak()&&be(),c===s.getStartPos()&&be()}else{if(mn(e))break;if(vn(e))break}return R=r,Ue(a,i,void 0,o>=0)}function En(n){return 6===n?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Tn(){var e=Ue([],_e());return e.isMissingList=!0,e}function Sn(e,n,t,r){if(ke(t)){var a=bn(e,n);return ke(r),a}return Tn()}function Ln(e,n){for(var t=_e(),r=e?ze(n):qe(n),a=_e();Oe(24);){if(29===ye()){r.jsdocDotPos=a;break}a=_e(),r=Ve(M.createQualifiedName(r,An(e,!1)),t)}return r}function xn(e,n){return Ve(M.createQualifiedName(e,n),e.pos)}function An(n,t){if(s.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ye())&&Ce(Ir))return je(78,!0,e.Diagnostics.Identifier_expected);if(79===ye()){var r=Qe();return t?r:je(78,!0,e.Diagnostics.Identifier_expected)}return n?ze():qe()}function Dn(n){var t=_e();return Ve(M.createTemplateExpression(function(n){n&&Se();var t=Rn(ye());return e.Debug.assert(15===t.kind,"Template head has wrong token kind"),t}(n),function(e){var n,t=_e(),r=[];do{n=In(e),r.push(n)}while(16===n.literal.kind);return Ue(r,t)}(n)),t)}function Cn(n){return 19===ye()?(function(e){A=s.reScanTemplateToken(e)}(n),t=Rn(ye()),e.Debug.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),t):we(17,e.Diagnostics._0_expected,e.tokenToString(19));var t}function In(e){var n=_e();return Ve(M.createTemplateSpan(re(Ot),Cn(e)),n)}function Nn(){return Rn(ye())}function Rn(n){var t=_e(),r=e.isTemplateLiteralKind(n)?M.createTemplateLiteralLikeNode(n,s.getTokenValue(),function(e){var n=14===e||17===e,t=s.getTokenText();return t.substring(1,t.length-(s.isUnterminated()?0:n?1:2))}(n),2048&s.getTokenFlags()):8===n?M.createNumericLiteral(s.getTokenValue(),s.getNumericLiteralFlags()):10===n?M.createStringLiteral(s.getTokenValue(),void 0,s.hasExtendedUnicodeEscape()):e.isLiteralKind(n)?M.createLiteralLikeNode(n,s.getTokenValue()):e.Debug.fail();return s.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),s.isUnterminated()&&(r.isUnterminated=!0),be(),Ve(r,t)}function kn(){return Ln(!0,e.Diagnostics.Type_expected)}function On(){if(!s.hasPrecedingLineBreak()&&29===Le())return Sn(20,Ct,29,31)}function Pn(){var e=_e();return Ve(M.createTypeReferenceNode(kn(),On()),e)}function Mn(){var e=_e();return be(),Ve(M.createThisTypeNode(),e)}function wn(){var e,n=_e();return 107!==ye()&&102!==ye()||(e=ze(),ke(58)),Ve(M.createParameterDeclaration(void 0,void 0,void 0,e,void 0,Fn(),void 0),n)}function Fn(){s.setInJSDocType(!0);var e=_e();if(Oe(138)){var n=M.createJSDocNamepathType(void 0);e:for(;;)switch(ye()){case 19:case 1:case 27:case 5:break e;default:Ee()}return s.setInJSDocType(!1),Ve(n,e)}var t=Oe(25),r=At();return s.setInJSDocType(!1),t&&(r=Ve(M.createJSDocVariadicType(r),e)),62===ye()?(be(),Ve(M.createJSDocOptionalType(r),e)):r}function Gn(){var e,n,t=_e(),r=qe();Oe(93)&&(yt()||!kt()?e=Ct():n=zt());var a=Oe(62)?Ct():void 0,i=M.createTypeParameterDeclaration(r,e,a);return i.expression=n,Ve(i,t)}function Bn(){if(29===ye())return Sn(19,Gn,29,31)}function Un(n){return 25===ye()||Wr()||e.isModifierKind(ye())||59===ye()||yt(!n)}function Vn(){return Kn(!0)}function jn(){return Kn(!1)}function Kn(n){var t=_e(),r=ge();if(107===ye())return j(Ve(M.createParameterDeclaration(void 0,void 0,void 0,He(!0),void 0,Nt(),void 0),t),r);var a=n?ae(sa):sa(),i=w;w=!1;var o=la(),s=j(Ve(M.createParameterDeclaration(a,o,Pe(25),function(n){var t=qr(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return 0===e.getFullWidth(t)&&!e.some(n)&&e.isModifierKind(ye())&&be(),t}(o),Pe(57),Nt(),Pt()),t),r);return w=i,s}function Hn(n,t){if(function(n,t){if(38===n)return ke(n),!0;if(Oe(58))return!0;if(t&&38===ye())return ue(e.Diagnostics._0_expected,e.tokenToString(58)),be(),!0;return!1}(n,t))return At()}function Wn(e){var n=oe(),t=le();Z(!!(1&e)),ee(!!(2&e));var r=32&e?bn(17,wn):bn(16,t?Vn:jn);return Z(n),ee(t),r}function qn(e){if(!ke(20))return Tn();var n=Wn(e);return ke(21),n}function zn(){Oe(27)||Be()}function Jn(e){var n=_e(),t=ge();169===e&&ke(102);var r=Bn(),a=qn(4),i=Hn(58,!0);return zn(),j(Ve(168===e?M.createCallSignature(r,a,i):M.createConstructSignature(r,a,i),n),t)}function Xn(){return 22===ye()&&Ce(Yn)}function Yn(){if(be(),25===ye()||23===ye())return!0;if(e.isModifierKind(ye())){if(be(),Re())return!0}else{if(!Re())return!1;be()}return 58===ye()||27===ye()||57===ye()&&(be(),58===ye()||27===ye()||23===ye())}function Qn(e,n,t,r){var a=Sn(16,jn,22,23),i=Nt();return zn(),j(Ve(M.createIndexSignature(t,r,a,i),e),n)}function Zn(){if(20===ye()||29===ye())return!0;for(var n=!1;e.isModifierKind(ye());)n=!0,be();return 22===ye()||(Je()&&(n=!0,be()),!!n&&(20===ye()||29===ye()||57===ye()||58===ye()||27===ye()||Ge()))}function $n(){if(20===ye()||29===ye())return Jn(168);if(102===ye()&&Ce(et))return Jn(169);var e=_e(),n=ge(),t=la();return Xn()?Qn(e,n,void 0,t):function(e,n,t){var r,a=Ye(),i=Pe(57);if(20===ye()||29===ye()){var o=Bn(),s=qn(4),c=Hn(58,!0);r=M.createMethodSignature(t,a,i,o,s,c)}else{c=Nt();r=M.createPropertySignature(t,a,i,c),62===ye()&&(r.initializer=Pt())}return zn(),j(Ve(r,e),n)}(e,n,t)}function et(){return be(),20===ye()||29===ye()}function nt(){return 24===be()}function tt(){switch(be()){case 20:case 29:case 24:return!0}return!1}function rt(){var e;return ke(18)?(e=_n(4,$n),ke(19)):e=Tn(),e}function at(){return be(),39===ye()||40===ye()?141===be():(141===ye()&&be(),22===ye()&&cn()&&100===be())}function it(){var e,n=_e();ke(18),141!==ye()&&39!==ye()&&40!==ye()||141!==(e=Fe()).kind&&ke(141),ke(22);var t,r=function(){var e=_e(),n=ze();ke(100);var t=Ct();return Ve(M.createTypeParameterDeclaration(n,t,void 0),e)}();ke(23),57!==ye()&&39!==ye()&&40!==ye()||57!==(t=Fe()).kind&&ke(57);var a=Nt();return Be(),ke(19),Ve(M.createMappedTypeNode(e,r,t,a),n)}function ot(){var n=_e();if(Oe(25))return Ve(M.createRestTypeNode(Ct()),n);var t=Ct();if(e.isJSDocNullableType(t)&&t.pos===t.type.pos){var r=M.createOptionalTypeNode(t.type);return e.setTextRange(r,t),r.flags=t.flags,r}return t}function st(){return 58===be()||57===ye()&&58===be()}function ct(){return 25===ye()?e.tokenIsIdentifierOrKeyword(be())&&st():e.tokenIsIdentifierOrKeyword(ye())&&st()}function lt(){if(Ce(ct)){var e=_e(),n=ge(),t=Pe(25),r=ze(),a=Pe(57);ke(58);var i=ot();return j(Ve(M.createNamedTupleMember(t,r,a,i),e),n)}return ot()}function ut(){var e=_e(),n=ge(),t=Oe(102),r=Bn(),a=qn(4),i=Hn(38,!1);return j(Ve(t?M.createConstructorTypeNode(r,a,i):M.createFunctionTypeNode(r,a,i),e),n)}function dt(){var e=Fe();return 24===ye()?void 0:e}function pt(e){var n=_e();e&&be();var t=109===ye()||94===ye()||103===ye()?Fe():Rn(ye());return e&&(t=Ve(M.createPrefixUnaryExpression(40,t),n)),Ve(M.createLiteralTypeNode(t),n)}function ft(){return be(),99===ye()}function mt(){d|=1048576;var e=_e(),n=Oe(111);ke(99),ke(20);var t=Ct();ke(21);var r=Oe(24)?kn():void 0,a=On();return Ve(M.createImportTypeNode(t,r,a,n),e)}function _t(){return be(),8===ye()||9===ye()}function gt(){switch(ye()){case 128:case 151:case 146:case 143:case 154:case 147:case 131:case 149:case 140:case 144:return Ie(dt)||Pn();case 65:s.reScanAsteriskEqualsToken();case 41:return t=_e(),be(),Ve(M.createJSDocAllType(),t);case 60:s.reScanQuestionToken();case 57:return function(){var e=_e();return be(),27===ye()||19===ye()||21===ye()||31===ye()||62===ye()||51===ye()?Ve(M.createJSDocUnknownType(),e):Ve(M.createJSDocNullableType(Ct()),e)}();case 97:return function(){var e=_e(),n=ge();if(Ce(Ta)){be();var t=qn(36),r=Hn(58,!1);return j(Ve(M.createJSDocFunctionType(t,r),e),n)}return Ve(M.createTypeReferenceNode(ze(),void 0),e)}();case 53:return function(){var e=_e();return be(),Ve(M.createJSDocNonNullableType(gt()),e)}();case 14:case 10:case 8:case 9:case 109:case 94:case 103:return pt();case 40:return Ce(_t)?pt(!0):Pn();case 113:return Fe();case 107:var e=Mn();return 136!==ye()||s.hasPrecedingLineBreak()?e:(n=e,be(),Ve(M.createTypePredicateNode(void 0,n,Ct()),n.pos));case 111:return Ce(ft)?mt():function(){var e=_e();return ke(111),Ve(M.createTypeQueryNode(Ln(!0)),e)}();case 18:return Ce(at)?it():function(){var e=_e();return Ve(M.createTypeLiteralNode(rt()),e)}();case 22:return function(){var e=_e();return Ve(M.createTupleTypeNode(Sn(21,lt,22,23)),e)}();case 20:return function(){var e=_e();ke(20);var n=Ct();return ke(21),Ve(M.createParenthesizedType(n),e)}();case 99:return mt();case 127:return Ce(Ir)?function(){var e=_e(),n=we(127),t=107===ye()?Mn():qe(),r=Oe(136)?Ct():void 0;return Ve(M.createTypePredicateNode(n,t,r),e)}():Pn();default:return Pn()}var n,t}function yt(e){switch(ye()){case 128:case 151:case 146:case 143:case 154:case 131:case 141:case 147:case 150:case 113:case 149:case 103:case 107:case 111:case 140:case 18:case 22:case 29:case 51:case 50:case 102:case 10:case 8:case 9:case 109:case 94:case 144:case 41:case 57:case 53:case 25:case 135:case 99:case 127:return!0;case 97:return!e;case 40:return!e&&Ce(_t);case 20:return!e&&Ce(ht);default:return Re()}}function ht(){return be(),21===ye()||Un(!1)||yt()}function vt(){var e=_e();return ke(135),Ve(M.createInferTypeNode(function(){var e=_e();return Ve(M.createTypeParameterDeclaration(qe(),void 0,void 0),e)}()),e)}function bt(){var e=ye();switch(e){case 137:case 150:case 141:return function(e){var n=_e();return ke(e),Ve(M.createTypeOperatorNode(e,bt()),n)}(e);case 135:return vt()}return function(){for(var e=_e(),n=gt();!s.hasPrecedingLineBreak();)switch(ye()){case 53:be(),n=Ve(M.createJSDocNonNullableType(n),e);break;case 57:if(Ce(fn))return n;be(),n=Ve(M.createJSDocNullableType(n),e);break;case 22:if(ke(22),yt()){var t=Ct();ke(23),n=Ve(M.createIndexedAccessTypeNode(n,t),e)}else ke(23),n=Ve(M.createArrayTypeNode(n),e);break;default:return n}return n}()}function Et(n){if(Lt()){var t=ut();return fe(t,e.isFunctionTypeNode(t)?n?e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n?e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type),t}}function Tt(e,n,t){var r=_e(),a=51===e,i=Oe(e),o=i&&Et(a)||n();if(ye()===e||i){for(var s=[o];Oe(e);)s.push(Et(a)||n());o=Ve(t(Ue(s,r)),r)}return o}function St(){return Tt(50,bt,M.createIntersectionTypeNode)}function Lt(){return 29===ye()||(!(20!==ye()||!Ce(xt))||102===ye())}function xt(){if(be(),21===ye()||25===ye())return!0;if(function(){if(e.isModifierKind(ye())&&la(),Re()||107===ye())return be(),!0;if(22===ye()||18===ye()){var n=T.length;return qr(),n===T.length}return!1}()){if(58===ye()||27===ye()||57===ye()||62===ye())return!0;if(21===ye()&&(be(),38===ye()))return!0}return!1}function At(){var e=_e(),n=Re()&&Ie(Dt),t=Ct();return n?Ve(M.createTypePredicateNode(void 0,n,t),e):t}function Dt(){var e=qe();if(136===ye()&&!s.hasPrecedingLineBreak())return be(),e}function Ct(){return ne(40960,It)}function It(e){if(Lt())return ut();var n=_e(),t=Tt(51,St,M.createUnionTypeNode);if(!e&&!s.hasPrecedingLineBreak()&&Oe(93)){var r=It(!0);ke(57);var a=It();ke(58);var i=It();return Ve(M.createConditionalTypeNode(t,r,a,i),n)}return t}function Nt(){return Oe(58)?Ct():void 0}function Rt(){switch(ye()){case 107:case 105:case 103:case 109:case 94:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 97:case 83:case 102:case 43:case 67:case 78:return!0;case 99:return Ce(tt);default:return Re()}}function kt(){if(Rt())return!0;switch(ye()){case 39:case 40:case 54:case 53:case 88:case 111:case 113:case 45:case 46:case 29:case 130:case 124:case 79:return!0;default:return!!function(){if(se()&&100===ye())return!1;return e.getBinaryOperatorPrecedence(ye())>0}()||Re()}}function Ot(){var e=ce();e&&$(!1);for(var n,t=_e(),r=Mt();n=Pe(27);)r=Wt(r,n,Mt(),t);return e&&$(!0),r}function Pt(){return Oe(62)?Mt():void 0}function Mt(){if(function(){if(124===ye())return!!oe()||Ce(kr);return!1}())return function(){var e=_e();return be(),s.hasPrecedingLineBreak()||41!==ye()&&!kt()?Ve(M.createYieldExpression(void 0,void 0),e):Ve(M.createYieldExpression(Pe(41),Mt()),e)}();var n=function(){var e=function(){if(20===ye()||29===ye()||129===ye())return Ce(Ft);if(38===ye())return 1;return 0}();if(0===e)return;return 1===e?Ut(!0):Ie(Gt)}()||function(){if(129===ye()&&1===Ce(Bt)){var e=_e(),n=ua(),t=jt(0);return wt(e,t,n)}return}();if(n)return n;var t=_e(),r=jt(0);return 78===r.kind&&38===ye()?wt(t,r,void 0):e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(Te())?Wt(r,Fe(),Mt(),t):function(n,t){var r,a=Pe(57);if(!a)return n;return Ve(M.createConditionalExpression(n,a,ne(20480,Mt),r=we(58),e.nodeIsPresent(r)?Mt():je(78,!1,e.Diagnostics._0_expected,e.tokenToString(58))),t)}(r,t)}function wt(n,t,r){e.Debug.assert(38===ye(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var a=M.createParameterDeclaration(void 0,void 0,void 0,t,void 0,void 0,void 0);Ve(a,t.pos);var i=Ue([a],a.pos,a.end),o=we(38),s=Vt(!!r);return z(Ve(M.createArrowFunction(r,void 0,i,void 0,o,s),n))}function Ft(){if(129===ye()){if(be(),s.hasPrecedingLineBreak())return 0;if(20!==ye()&&29!==ye())return 0}var n=ye(),t=be();if(20===n){if(21===t)switch(be()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(e.isModifierKind(t)&&129!==t&&Ce(cn))return 1;if(!Re()&&107!==t)return 0;switch(be()){case 58:return 1;case 57:return be(),58===ye()||27===ye()||62===ye()||21===ye()?1:0;case 27:case 62:case 21:return 2}return 0}return e.Debug.assert(29===n),Re()?1===E?Ce((function(){var e=be();if(93===e)switch(be()){case 62:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0}function Gt(){var n=s.getTokenPos();if(!(null==k?void 0:k.has(n))){var t=Ut(!1);return t||(k||(k=new e.Set)).add(n),t}}function Bt(){if(129===ye()){if(be(),s.hasPrecedingLineBreak()||38===ye())return 0;var e=jt(0);if(!s.hasPrecedingLineBreak()&&78===e.kind&&38===ye())return 1}return 0}function Ut(n){var t,r=_e(),a=ge(),i=ua(),o=e.some(i,e.isAsyncModifier)?2:0,s=Bn();if(ke(20)){if(t=Wn(o),!ke(21)&&!n)return}else{if(!n)return;t=Tn()}var c=Hn(58,!1);if(!c||n||!function n(t){switch(t.kind){case 172:return e.nodeIsMissing(t.typeName);case 173:case 174:var r=t,a=r.parameters,i=r.type;return!!a.isMissingList||n(i);case 185:return n(t.type);default:return!1}}(c)){var l=c&&e.isJSDocFunctionType(c);if(n||38===ye()||!l&&18===ye()){var u=ye(),d=we(38),p=38===u||18===u?Vt(e.some(i,e.isAsyncModifier)):qe();return j(Ve(M.createArrowFunction(i,s,t,c,d,p),r),a)}}}function Vt(e){if(18===ye())return Sr(e?2:0);if(26!==ye()&&97!==ye()&&83!==ye()&&Mr()&&(18===ye()||97===ye()||83===ye()||59===ye()||!kt()))return Sr(16|(e?2:0));var n=w;w=!1;var t=e?ae(Mt):ne(32768,Mt);return w=n,t}function jt(e){var n=_e();return Ht(e,zt(),n)}function Kt(e){return 100===e||155===e}function Ht(n,t,r){for(;;){Te();var a=e.getBinaryOperatorPrecedence(ye());if(!(42===ye()?a>=n:a>n))break;if(100===ye()&&se())break;if(126===ye()){if(s.hasPrecedingLineBreak())break;be(),i=t,o=Ct(),t=Ve(M.createAsExpression(i,o),i.pos)}else t=Wt(t,Fe(),jt(a),r)}var i,o;return t}function Wt(e,n,t,r){return Ve(M.createBinaryExpression(e,n,t),r)}function qt(){var e=_e();return Ve(M.createPrefixUnaryExpression(ye(),ve(Jt)),e)}function zt(){if(function(){switch(ye()){case 39:case 40:case 54:case 53:case 88:case 111:case 113:case 130:return!1;case 29:if(1!==E)return!1;default:return!0}}()){var n=_e(),t=Xt();return 42===ye()?Ht(e.getBinaryOperatorPrecedence(ye()),t,n):t}var r=ye(),a=Jt();if(42===ye()){n=e.skipTrivia(h,a.pos);var i=a.end;203===a.kind?pe(n,i,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):pe(n,i,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(r))}return a}function Jt(){switch(ye()){case 39:case 40:case 54:case 53:return qt();case 88:return e=_e(),Ve(M.createDeleteExpression(ve(Jt)),e);case 111:return function(){var e=_e();return Ve(M.createTypeOfExpression(ve(Jt)),e)}();case 113:return function(){var e=_e();return Ve(M.createVoidExpression(ve(Jt)),e)}();case 29:return function(){var e=_e();ke(29);var n=Ct();ke(31);var t=Jt();return Ve(M.createTypeAssertion(n,t),e)}();case 130:if(130===ye()&&(le()||Ce(kr)))return function(){var e=_e();return Ve(M.createAwaitExpression(ve(Jt)),e)}();default:return Xt()}var e}function Xt(){if(45===ye()||46===ye()){var n=_e();return Ve(M.createPrefixUnaryExpression(ye(),ve(Yt)),n)}if(1===E&&29===ye()&&Ce(un))return Zt(!0);var t=Yt();if(e.Debug.assert(e.isLeftHandSideExpression(t)),(45===ye()||46===ye())&&!s.hasPrecedingLineBreak()){var r=ye();return be(),Ve(M.createPostfixUnaryExpression(t,r),t.pos)}return t}function Yt(){var n,t=_e();return 99===ye()?Ce(et)?(d|=1048576,n=Fe()):Ce(nt)?(be(),be(),n=Ve(M.createMetaProperty(99,ze()),t),d|=2097152):n=Qt():n=105===ye()?function(){var n=_e(),t=Fe();if(29===ye()){var r=_e();void 0!==Ie(fr)&&pe(r,_e(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===ye()||24===ye()||22===ye())return t;return we(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),Ve(M.createPropertyAccessExpression(t,An(!0,!0)),n)}():Qt(),dr(t,n)}function Qt(){return cr(_e(),mr(),!0)}function Zt(n,t){var r,a=_e(),i=function(e){var n=_e();if(ke(29),31===ye())return Ae(),Ve(M.createJsxOpeningFragment(),n);var t,r=nr(),a=ya(),i=function(){var e=_e();return Ve(M.createJsxAttributes(_n(13,rr)),e)}();31===ye()?(Ae(),t=M.createJsxOpeningElement(r,a,i)):(ke(43),e?ke(31):(ke(31,void 0,!1),Ae()),t=M.createJsxSelfClosingElement(r,a,i));return Ve(t,n)}(n);if(272===i.kind){var o=er(i),s=function(e){var n=_e();ke(30);var t=nr();e?ke(31):(ke(31,void 0,!1),Ae());return Ve(M.createJsxClosingElement(t),n)}(n);L(i.tagName,s.tagName)||fe(s,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(h,i.tagName)),r=Ve(M.createJsxElement(i,o,s),a)}else 275===i.kind?r=Ve(M.createJsxFragment(i,er(i),function(n){var t=_e();ke(30),e.tokenIsIdentifierOrKeyword(ye())&&fe(nr(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);n?ke(31):(ke(31,void 0,!1),Ae());return Ve(M.createJsxJsxClosingFragment(),t)}(n)),a):(e.Debug.assert(271===i.kind),r=i);if(n&&29===ye()){var c=void 0===t?r.pos:t,l=Ie((function(){return Zt(!0,c)}));if(l){var u=je(27,!1);return e.setTextRangePosWidth(u,l.pos,0),pe(e.skipTrivia(h,c),l.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),Ve(M.createBinaryExpression(r,u,l),a)}}return r}function $t(n,t){switch(t){case 1:if(e.isJsxOpeningFragment(n))fe(n,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var r=n.tagName;pe(e.skipTrivia(h,r.pos),r.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(h,n.tagName))}return;case 30:case 7:return;case 11:case 12:return a=_e(),i=M.createJsxText(s.getTokenValue(),12===A),A=s.scanJsxToken(),Ve(i,a);case 18:return tr(!1);case 29:return Zt(!1);default:return e.Debug.assertNever(t)}var a,i}function er(e){var n=[],t=_e(),r=R;for(R|=16384;;){var a=$t(e,A=s.reScanJsxToken());if(!a)break;n.push(a)}return R=r,Ue(n,t)}function nr(){var e=_e();xe();for(var n=107===ye()?Fe():ze();Oe(24);)n=Ve(M.createPropertyAccessExpression(n,An(!0,!1)),e);return n}function tr(e){var n,t,r=_e();if(ke(18))return 19!==ye()&&(n=Pe(25),t=Ot()),e?ke(19):ke(19,void 0,!1)&&Ae(),Ve(M.createJsxExpression(n,t),r)}function rr(){if(18===ye())return function(){var e=_e();ke(18),ke(25);var n=Ot();return ke(19),Ve(M.createJsxSpreadAttribute(n),e)}();xe();var e=_e();return Ve(M.createJsxAttribute(ze(),62!==ye()?void 0:10===(A=s.scanJsxAttributeValue())?Nn():tr(!0)),e)}function ar(){return be(),e.tokenIsIdentifierOrKeyword(ye())||22===ye()||lr()}function ir(n){if(32&n.flags)return!0;if(e.isNonNullExpression(n)){for(var t=n.expression;e.isNonNullExpression(t)&&!(32&t.flags);)t=t.expression;if(32&t.flags){for(;e.isNonNullExpression(n);)n.flags|=32,n=n.expression;return!0}}return!1}function or(n,t,r){var a=An(!0,!0),i=r||ir(t),o=i?M.createPropertyAccessChain(t,r,a):M.createPropertyAccessExpression(t,a);return i&&e.isPrivateIdentifier(o.name)&&fe(o.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),Ve(o,n)}function sr(n,t,r){var a;if(23===ye())a=je(78,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var i=re(Ot);e.isStringOrNumericLiteralLike(i)&&(i.text=Ke(i.text)),a=i}return ke(23),Ve(r||ir(t)?M.createElementAccessChain(t,r,a):M.createElementAccessExpression(t,a),n)}function cr(n,t,r){for(;;){var a=void 0,i=!1;if(r&&28===ye()&&Ce(ar)?(a=we(28),i=e.tokenIsIdentifierOrKeyword(ye())):i=Oe(24),i)t=or(n,t,a);else if(a||53!==ye()||s.hasPrecedingLineBreak())if(!a&&ce()||!Oe(22)){if(!lr())return t;t=ur(n,t,a,void 0)}else t=sr(n,t,a);else be(),t=Ve(M.createNonNullExpression(t),n)}}function lr(){return 14===ye()||15===ye()}function ur(e,n,t,r){var a=M.createTaggedTemplateExpression(n,r,14===ye()?(Se(),Nn()):Dn(!0));return(t||32&n.flags)&&(a.flags|=32),a.questionDotToken=t,Ve(a,e)}function dr(n,t){for(;;){t=cr(n,t,!0);var r=Pe(28);if(29===ye()||47===ye()){var a=Ie(fr);if(a){if(lr()){t=ur(n,t,r,a);continue}var i=pr();t=Ve(r||ir(t)?M.createCallChain(t,r,a,i):M.createCallExpression(t,a,i),n);continue}}else if(20===ye()){i=pr();t=Ve(r||ir(t)?M.createCallChain(t,r,void 0,i):M.createCallExpression(t,void 0,i),n);continue}if(r){var o=je(78,!1,e.Diagnostics.Identifier_expected);t=Ve(M.createPropertyAccessChain(t,r,o),n)}break}return t}function pr(){ke(20);var e=bn(11,gr);return ke(21),e}function fr(){if(29===Le()){be();var e=bn(20,Ct);if(ke(31))return e&&function(){switch(ye()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}()?e:void 0}}function mr(){switch(ye()){case 8:case 9:case 10:case 14:return Nn();case 107:case 105:case 103:case 109:case 94:return Fe();case 20:return function(){var e=_e(),n=ge();ke(20);var t=re(Ot);return ke(21),j(Ve(M.createParenthesizedExpression(t),e),n)}();case 22:return yr();case 18:return vr();case 129:if(!Ce(Rr))break;return br();case 83:return fa(_e(),ge(),void 0,void 0,218);case 97:return br();case 102:return function(){var n=_e();if(ke(102),Oe(24)){var t=ze();return Ve(M.createMetaProperty(102,t),n)}var r,a,i=_e(),o=mr();for(;;){o=cr(i,o,!1),r=Ie(fr),lr()&&(e.Debug.assert(!!r,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),o=ur(i,o,void 0,r),r=void 0);break}20===ye()?a=pr():r&&pe(n,s.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list);return Ve(M.createNewExpression(o,r,a),n)}();case 43:case 67:if(13===(A=s.reScanSlashToken()))return Nn();break;case 15:return Dn(!1)}return qe(e.Diagnostics.Expression_expected)}function _r(){return 25===ye()?function(){var e=_e();ke(25);var n=Mt();return Ve(M.createSpreadElement(n),e)}():27===ye()?Ve(M.createOmittedExpression(),_e()):Mt()}function gr(){return ne(20480,_r)}function yr(){var e=_e();ke(22);var n=s.hasPrecedingLineBreak(),t=bn(15,_r);return ke(23),Ve(M.createArrayLiteralExpression(t,n),e)}function hr(){var e=_e(),n=ge();if(Pe(25)){var t=Mt();return j(Ve(M.createSpreadAssignment(t),e),n)}var r=sa(),a=la();if(Ze(134))return ra(e,n,r,a,166);if(Ze(145))return ra(e,n,r,a,167);var i,o=Pe(41),s=Re(),c=Ye(),l=Pe(57),u=Pe(53);if(o||20===ye()||29===ye())return ea(e,n,r,a,o,c,l,u);if(s&&58!==ye()){var d=Pe(62),p=d?re(Mt):void 0;(i=M.createShorthandPropertyAssignment(c,p)).equalsToken=d}else{ke(58);var f=re(Mt);i=M.createPropertyAssignment(c,f)}return i.decorators=r,i.modifiers=a,i.questionToken=l,i.exclamationToken=u,j(Ve(i,e),n)}function vr(){var n=_e(),t=s.getTokenPos();ke(18);var r=s.hasPrecedingLineBreak(),a=bn(12,hr,!0);if(!ke(19)){var i=e.lastOrUndefined(T);i&&i.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(i,e.createDetachedDiagnostic(u,t,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return Ve(M.createObjectLiteralExpression(a,r),n)}function br(){var n=ce();n&&$(!1);var t=_e(),r=ge(),a=la();ke(97);var i=Pe(41),o=i?1:0,s=e.some(a,e.isAsyncModifier)?2:0,c=o&&s?te(40960,Er):o?function(e){return te(8192,e)}(Er):s?ae(Er):Er(),l=Bn(),u=qn(o|s),d=Hn(58,!1),p=Sr(o|s);return n&&$(!0),j(Ve(M.createFunctionExpression(a,i,c,l,u,d,p),t),r)}function Er(){return Ne()?We():void 0}function Tr(n,t){var r=_e(),a=s.getTokenPos();if(ke(18,t)||n){var i=s.hasPrecedingLineBreak(),o=_n(1,Fr);if(!ke(19)){var c=e.lastOrUndefined(T);c&&c.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(c,e.createDetachedDiagnostic(u,a,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return Ve(M.createBlock(o,i),r)}o=Tn();return Ve(M.createBlock(o,void 0),r)}function Sr(e,n){var t=oe();Z(!!(1&e));var r=le();ee(!!(2&e));var a=w;w=!1;var i=ce();i&&$(!1);var o=Tr(!!(16&e),n);return i&&$(!0),w=a,Z(t),ee(r),o}function Lr(){var e=_e();ke(96);var n,t,r=Pe(130);if(ke(20),26!==ye()&&(n=112===ye()||118===ye()||84===ye()?Xr(!0):te(4096,Ot)),r?ke(155):Oe(155)){var a=re(Mt);ke(21),t=M.createForOfStatement(r,n,a,Fr())}else if(Oe(100)){a=re(Ot);ke(21),t=M.createForInStatement(n,a,Fr())}else{ke(26);var i=26!==ye()&&21!==ye()?re(Ot):void 0;ke(26);var o=21!==ye()?re(Ot):void 0;ke(21),t=M.createForStatement(n,i,o,Fr())}return Ve(t,e)}function xr(e){var n=_e();ke(238===e?80:85);var t=Ge()?void 0:qe();return Be(),Ve(238===e?M.createBreakStatement(t):M.createContinueStatement(t),n)}function Ar(){return 81===ye()?function(){var e=_e();ke(81);var n=re(Ot);ke(58);var t=_n(3,Fr);return Ve(M.createCaseClause(n,t),e)}():function(){var e=_e();ke(87),ke(58);var n=_n(3,Fr);return Ve(M.createDefaultClause(n),e)}()}function Dr(){var e=_e();ke(106),ke(20);var n=re(Ot);ke(21);var t=function(){var e=_e();ke(18);var n=_n(2,Ar);return ke(19),Ve(M.createCaseBlock(n),e)}();return Ve(M.createSwitchStatement(n,t),e)}function Cr(){var e=_e();ke(110);var n,t=Tr(!1),r=82===ye()?function(){var e,n=_e();ke(82),Oe(20)?(e=Jr(),ke(21)):e=void 0;var t=Tr(!1);return Ve(M.createCatchClause(e,t),n)}():void 0;return r&&95!==ye()||(ke(95),n=Tr(!1)),Ve(M.createTryStatement(t,r,n),e)}function Ir(){return be(),e.tokenIsIdentifierOrKeyword(ye())&&!s.hasPrecedingLineBreak()}function Nr(){return be(),83===ye()&&!s.hasPrecedingLineBreak()}function Rr(){return be(),97===ye()&&!s.hasPrecedingLineBreak()}function kr(){return be(),(e.tokenIsIdentifierOrKeyword(ye())||8===ye()||9===ye()||10===ye())&&!s.hasPrecedingLineBreak()}function Or(){for(;;)switch(ye()){case 112:case 118:case 84:case 97:case 83:case 91:return!0;case 117:case 148:return be(),!s.hasPrecedingLineBreak()&&Re();case 138:case 139:return Vr();case 125:case 129:case 133:case 120:case 121:case 122:case 141:if(be(),s.hasPrecedingLineBreak())return!1;continue;case 153:return be(),18===ye()||78===ye()||92===ye();case 99:return be(),10===ye()||41===ye()||18===ye()||e.tokenIsIdentifierOrKeyword(ye());case 92:var n=be();if(148===n&&(n=Ce(be)),62===n||41===n||18===n||87===n||126===n)return!0;continue;case 123:be();continue;default:return!1}}function Pr(){return Ce(Or)}function Mr(){switch(ye()){case 59:case 26:case 18:case 112:case 118:case 97:case 83:case 91:case 98:case 89:case 114:case 96:case 85:case 80:case 104:case 115:case 106:case 108:case 110:case 86:case 82:case 95:return!0;case 99:return Pr()||Ce(tt);case 84:case 92:return Pr();case 129:case 133:case 117:case 138:case 139:case 148:case 153:return!0;case 122:case 120:case 121:case 123:case 141:return Pr()||!Ce(Ir);default:return kt()}}function wr(){return be(),Re()||18===ye()||22===ye()}function Fr(){switch(ye()){case 26:return n=_e(),ke(26),Ve(M.createEmptyStatement(),n);case 18:return Tr(!1);case 112:return Qr(_e(),ge(),void 0,void 0);case 118:if(Ce(wr))return Qr(_e(),ge(),void 0,void 0);break;case 97:return Zr(_e(),ge(),void 0,void 0);case 83:return pa(_e(),ge(),void 0,void 0);case 98:return function(){var e=_e();ke(98),ke(20);var n=re(Ot);ke(21);var t=Fr(),r=Oe(90)?Fr():void 0;return Ve(M.createIfStatement(n,t,r),e)}();case 89:return function(){var e=_e();ke(89);var n=Fr();ke(114),ke(20);var t=re(Ot);return ke(21),Oe(26),Ve(M.createDoStatement(n,t),e)}();case 114:return function(){var e=_e();ke(114),ke(20);var n=re(Ot);ke(21);var t=Fr();return Ve(M.createWhileStatement(n,t),e)}();case 96:return Lr();case 85:return xr(237);case 80:return xr(238);case 104:return function(){var e=_e();ke(104);var n=Ge()?void 0:re(Ot);return Be(),Ve(M.createReturnStatement(n),e)}();case 115:return function(){var e=_e();ke(115),ke(20);var n=re(Ot);ke(21);var t=te(16777216,Fr);return Ve(M.createWithStatement(n,t),e)}();case 106:return Dr();case 108:return function(){var e=_e();ke(108);var n=s.hasPrecedingLineBreak()?void 0:re(Ot);return void 0===n&&(N++,n=Ve(M.createIdentifier(""),_e())),Be(),Ve(M.createThrowStatement(n),e)}();case 110:case 82:case 95:return Cr();case 86:return function(){var e=_e();return ke(86),Be(),Ve(M.createDebuggerStatement(),e)}();case 59:return Br();case 129:case 117:case 148:case 138:case 139:case 133:case 84:case 91:case 92:case 99:case 120:case 121:case 122:case 125:case 123:case 141:case 153:if(Pr())return Br()}var n;return function(){var n,t=_e(),r=ge(),a=20===ye(),i=re(Ot);return e.isIdentifier(i)&&Oe(58)?n=M.createLabeledStatement(i,Fr()):(Be(),n=M.createExpressionStatement(i),a&&(r=!1)),j(Ve(n,t),r)}()}function Gr(e){return 133===e.kind}function Br(){var n=e.some(Ce((function(){return sa(),la()})),Gr);if(n){var t=te(8388608,(function(){var e=yn(R);if(e)return hn(e)}));if(t)return t}var r=_e(),a=ge(),i=sa(),o=la();if(n){for(var s=0,c=o;s<c.length;s++){c[s].flags|=8388608}return te(8388608,(function(){return Ur(r,a,i,o)}))}return Ur(r,a,i,o)}function Ur(n,t,r,a){switch(ye()){case 112:case 118:case 84:return Qr(n,t,r,a);case 97:return Zr(n,t,r,a);case 83:return pa(n,t,r,a);case 117:return function(e,n,t,r){ke(117);var a=qe(),i=Bn(),o=ma(),s=rt();return j(Ve(M.createInterfaceDeclaration(t,r,a,i,o,s),e),n)}(n,t,r,a);case 148:return function(e,n,t,r){ke(148);var a=qe(),i=Bn();ke(62);var o=Ct();return Be(),j(Ve(M.createTypeAliasDeclaration(t,r,a,i,o),e),n)}(n,t,r,a);case 91:return function(e,n,t,r){ke(91);var a,i=qe();ke(18)?(a=ne(40960,(function(){return bn(6,va)})),ke(19)):a=Tn();return j(Ve(M.createEnumDeclaration(t,r,i,a),e),n)}(n,t,r,a);case 153:case 138:case 139:return function(e,n,t,r){var a=0;if(153===ye())return Ea(e,n,t,r);if(Oe(139))a|=16;else if(ke(138),10===ye())return Ea(e,n,t,r);return function e(n,t,r,a,i){var o=16&i,s=qe(),c=Oe(24)?e(_e(),!1,void 0,void 0,4|o):ba();return j(Ve(M.createModuleDeclaration(r,a,s,c,i),n),t)}(e,n,t,r,a)}(n,t,r,a);case 99:return function(n,t,r,a){ke(99);var i,o=s.getStartPos();Re()&&(i=qe());var c,l=!1;152===ye()||"type"!==(null==i?void 0:i.escapedText)||!Re()&&41!==ye()&&18!==ye()||(l=!0,i=Re()?qe():void 0);if(i&&27!==ye()&&152!==ye())return function(n,t,r,a,i,o){ke(62);var s=142===ye()&&Ce(Ta)?function(){var e=_e();ke(142),ke(20);var n=La();return ke(21),Ve(M.createExternalModuleReference(n),e)}():Ln(!1);Be();var c=j(Ve(M.createImportEqualsDeclaration(r,a,i,s),n),t);o&&fe(c,e.Diagnostics.Only_ECMAScript_imports_may_use_import_type);return c}(n,t,r,a,i,l);(i||41===ye()||18===ye())&&(c=function(e,n,t){var r;e&&!Oe(27)||(r=41===ye()?function(){var e=_e();ke(41),ke(126);var n=qe();return Ve(M.createNamespaceImport(n),e)}():xa(261));return Ve(M.createImportClause(t,e,r),n)}(i,o,l),ke(152));var u=La();return Be(),j(Ve(M.createImportDeclaration(r,a,c,u),n),t)}(n,t,r,a);case 92:switch(be(),ye()){case 87:case 62:return function(e,n,t,r){var a,i=le();ee(!0),Oe(62)?a=!0:ke(87);var o=Mt();return Be(),ee(i),j(Ve(M.createExportAssignment(t,r,a,o),e),n)}(n,t,r,a);case 126:return function(e,n,t,r){ke(126),ke(139);var a=qe();Be();var i=M.createNamespaceExportDeclaration(a);return i.decorators=t,i.modifiers=r,j(Ve(i,e),n)}(n,t,r,a);default:return function(e,n,t,r){var a,i,o=le();ee(!0);var c=Oe(148),l=_e();Oe(41)?(Oe(126)&&(a=function(e){return Ve(M.createNamespaceExport(qe()),e)}(l)),ke(152),i=La()):(a=xa(265),(152===ye()||10===ye()&&!s.hasPrecedingLineBreak())&&(ke(152),i=La()));return Be(),ee(o),j(Ve(M.createExportDeclaration(t,r,c,a,i),e),n)}(n,t,r,a)}default:if(r||a){var i=je(268,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(i,n),i.decorators=r,i.modifiers=a,i}return}}function Vr(){return be(),!s.hasPrecedingLineBreak()&&(Re()||10===ye())}function jr(e,n){if(18===ye()||!Ge())return Sr(e,n);Be()}function Kr(){var e=_e();if(27===ye())return Ve(M.createOmittedExpression(),e);var n=Pe(25),t=qr(),r=Pt();return Ve(M.createBindingElement(n,void 0,t,r),e)}function Hr(){var e,n=_e(),t=Pe(25),r=Ne(),a=Ye();r&&58!==ye()?(e=a,a=void 0):(ke(58),e=qr());var i=Pt();return Ve(M.createBindingElement(t,a,e,i),n)}function Wr(){return 18===ye()||22===ye()||79===ye()||Ne()}function qr(e){return 22===ye()?function(){var e=_e();ke(22);var n=bn(10,Kr);return ke(23),Ve(M.createArrayBindingPattern(n),e)}():18===ye()?function(){var e=_e();ke(18);var n=bn(9,Hr);return ke(19),Ve(M.createObjectBindingPattern(n),e)}():We(e)}function zr(){return Jr(!0)}function Jr(n){var t,r=_e(),a=qr(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);n&&78===a.kind&&53===ye()&&!s.hasPrecedingLineBreak()&&(t=Fe());var i=Nt(),o=Kt(ye())?void 0:Pt();return Ve(M.createVariableDeclaration(a,t,i,o),r)}function Xr(n){var t,r=_e(),a=0;switch(ye()){case 112:break;case 118:a|=1;break;case 84:a|=2;break;default:e.Debug.fail()}if(be(),155===ye()&&Ce(Yr))t=Tn();else{var i=se();Q(n),t=bn(8,n?Jr:zr),Q(i)}return Ve(M.createVariableDeclarationList(t,a),r)}function Yr(){return cn()&&21===be()}function Qr(e,n,t,r){var a=Xr(!1);Be();var i=M.createVariableStatement(r,a);return i.decorators=t,j(Ve(i,e),n)}function Zr(n,t,r,a){var i=le(),o=e.modifiersToFlags(a);ke(97);var s=Pe(41),c=512&o?Er():We(),l=s?1:0,u=256&o?2:0,d=Bn();1&o&&ee(!0);var p=qn(l|u),f=Hn(58,!1),m=jr(l|u,e.Diagnostics.or_expected);return ee(i),j(Ve(M.createFunctionDeclaration(r,a,s,c,d,p,f,m),n),t)}function $r(n,t,r,a){return Ie((function(){if(132===ye()?ke(132):10===ye()&&20===Ce(be)?Ie((function(){var e=Nn();return"constructor"===e.text?e:void 0})):void 0){var i=Bn(),o=qn(0),s=Hn(58,!1),c=jr(0,e.Diagnostics.or_expected),l=M.createConstructorDeclaration(r,a,o,c);return l.typeParameters=i,l.type=s,j(Ve(l,n),t)}}))}function ea(n,t,r,a,i,o,s,c,l){var u=i?1:0,d=e.some(a,e.isAsyncModifier)?2:0,p=Bn(),f=qn(u|d),m=Hn(58,!1),_=jr(u|d,l),g=M.createMethodDeclaration(r,a,i,o,s,p,f,m,_);return g.exclamationToken=c,j(Ve(g,n),t)}function na(e,n,t,r,a,i){var o=i||s.hasPrecedingLineBreak()?void 0:Pe(53),c=Nt(),l=ne(45056,Pt);return Be(),j(Ve(M.createPropertyDeclaration(t,r,a,i||o,c,l),e),n)}function ta(n,t,r,a){var i=Pe(41),o=Ye(),s=Pe(57);return i||20===ye()||29===ye()?ea(n,t,r,a,i,o,s,void 0,e.Diagnostics.or_expected):na(n,t,r,a,o,s)}function ra(e,n,t,r,a){var i=Ye(),o=Bn(),s=qn(0),c=Hn(58,!1),l=jr(0),u=166===a?M.createGetAccessorDeclaration(t,r,i,s,c,l):M.createSetAccessorDeclaration(t,r,i,s,l);return u.typeParameters=o,c&&167===u.kind&&(u.type=c),j(Ve(u,e),n)}function aa(){var n;if(59===ye())return!0;for(;e.isModifierKind(ye());){if(n=ye(),e.isClassMemberModifier(n))return!0;be()}if(41===ye())return!0;if(Je()&&(n=ye(),be()),22===ye())return!0;if(void 0!==n){if(!e.isKeyword(n)||145===n||134===n)return!0;switch(ye()){case 20:case 29:case 53:case 58:case 62:case 57:return!0;default:return Ge()}}return!1}function ia(){if(le()&&130===ye()){var n=_e(),t=qe(e.Diagnostics.Expression_expected);return be(),dr(n,cr(n,t,!0))}return Yt()}function oa(){var e=_e();if(Oe(59)){var n=te(16384,ia);return Ve(M.createDecorator(n),e)}}function sa(){for(var n,t,r=_e();t=oa();)n=e.append(n,t);return n&&Ue(n,r)}function ca(n){var t=_e(),r=ye();if(84===ye()&&n){if(!Ie($e))return}else if(!e.isModifierKind(ye())||!Ie(en))return;return Ve(M.createToken(r),t)}function la(n){for(var t,r,a=_e();r=ca(n);)t=e.append(t,r);return t&&Ue(t,a)}function ua(){var e;if(129===ye()){var n=_e();be(),e=Ue([Ve(M.createToken(129),n)],n)}return e}function da(){var n=_e();if(26===ye())return be(),Ve(M.createSemicolonClassElement(),n);var t=ge(),r=sa(),a=la(!0);if(Ze(134))return ra(n,t,r,a,166);if(Ze(145))return ra(n,t,r,a,167);if(132===ye()||10===ye()){var i=$r(n,t,r,a);if(i)return i}if(Xn())return Qn(n,t,r,a);if(e.tokenIsIdentifierOrKeyword(ye())||10===ye()||8===ye()||41===ye()||22===ye()){if(e.some(a,Gr)){for(var o=0,s=a;o<s.length;o++){s[o].flags|=8388608}return te(8388608,(function(){return ta(n,t,r,a)}))}return ta(n,t,r,a)}if(r||a){var c=je(78,!0,e.Diagnostics.Declaration_expected);return na(n,t,r,a,c,void 0)}return e.Debug.fail("Should not have attempted to parse class member declaration.")}function pa(e,n,t,r){return fa(e,n,t,r,249)}function fa(n,t,r,a,i){var o=le();ke(83);var s=!Ne()||116===ye()&&Ce(ln)?void 0:He(Ne()),c=Bn();e.some(a,e.isExportModifier)&&ee(!0);var l,u=ma();return ke(18)?(l=_n(5,da),ke(19)):l=Tn(),ee(o),j(Ve(249===i?M.createClassDeclaration(r,a,s,c,u,l):M.createClassExpression(r,a,s,c,u,l),n),t)}function ma(){if(ha())return _n(22,_a)}function _a(){var n=_e(),t=ye();e.Debug.assert(93===t||116===t),be();var r=bn(7,ga);return Ve(M.createHeritageClause(t,r),n)}function ga(){var e=_e(),n=Yt(),t=ya();return Ve(M.createExpressionWithTypeArguments(n,t),e)}function ya(){return 29===ye()?Sn(20,Ct,29,31):void 0}function ha(){return 93===ye()||116===ye()}function va(){var e=_e(),n=ge(),t=Ye(),r=re(Pt);return j(Ve(M.createEnumMember(t,r),e),n)}function ba(){var e,n=_e();return ke(18)?(e=_n(1,Fr),ke(19)):e=Tn(),Ve(M.createModuleBlock(e),n)}function Ea(e,n,t,r){var a,i,o=0;return 153===ye()?(a=qe(),o|=1024):(a=Nn()).text=Ke(a.text),18===ye()?i=ba():Be(),j(Ve(M.createModuleDeclaration(t,r,a,i,o),e),n)}function Ta(){return 20===be()}function Sa(){return 43===be()}function La(){if(10===ye()){var e=Nn();return e.text=Ke(e.text),e}return Ot()}function xa(e){var n=_e();return Ve(261===e?M.createNamedImports(Sn(23,Da,18,19)):M.createNamedExports(Sn(23,Aa,18,19)),n)}function Aa(){return Ca(267)}function Da(){return Ca(262)}function Ca(n){var t,r,a=_e(),i=e.isKeyword(ye())&&!Re(),o=s.getTokenPos(),c=s.getTextPos(),l=ze();return 126===ye()?(t=l,ke(126),i=e.isKeyword(ye())&&!Re(),o=s.getTokenPos(),c=s.getTextPos(),r=ze()):r=l,262===n&&i&&pe(o,c,e.Diagnostics.Identifier_expected),Ve(262===n?M.createImportSpecifier(t,r):M.createExportSpecifier(t,r),a)}function Ia(n){return function(n,t){return e.some(n.modifiers,(function(e){return e.kind===t}))}(n,92)||e.isImportEqualsDeclaration(n)&&e.isExternalModuleReference(n.moduleReference)||e.isImportDeclaration(n)||e.isExportAssignment(n)||e.isExportDeclaration(n)?n:void 0}function Na(n){return function(n){return e.isMetaProperty(n)&&99===n.keywordToken&&"meta"===n.name.escapedText}(n)?n:f(n,Na)}n.fixupParentReferences=J,function(e){e[e.SourceElements=0]="SourceElements",e[e.BlockStatements=1]="BlockStatements",e[e.SwitchClauses=2]="SwitchClauses",e[e.SwitchClauseStatements=3]="SwitchClauseStatements",e[e.TypeMembers=4]="TypeMembers",e[e.ClassMembers=5]="ClassMembers",e[e.EnumMembers=6]="EnumMembers",e[e.HeritageClauseElement=7]="HeritageClauseElement",e[e.VariableDeclarations=8]="VariableDeclarations",e[e.ObjectBindingElements=9]="ObjectBindingElements",e[e.ArrayBindingElements=10]="ArrayBindingElements",e[e.ArgumentExpressions=11]="ArgumentExpressions",e[e.ObjectLiteralMembers=12]="ObjectLiteralMembers",e[e.JsxAttributes=13]="JsxAttributes",e[e.JsxChildren=14]="JsxChildren",e[e.ArrayLiteralMembers=15]="ArrayLiteralMembers",e[e.Parameters=16]="Parameters",e[e.JSDocParameters=17]="JSDocParameters",e[e.RestProperties=18]="RestProperties",e[e.TypeParameters=19]="TypeParameters",e[e.TypeArguments=20]="TypeArguments",e[e.TupleElementTypes=21]="TupleElementTypes",e[e.HeritageClauses=22]="HeritageClauses",e[e.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",e[e.Count=24]="Count"}(K||(K={})),function(e){e[e.False=0]="False",e[e.True=1]="True",e[e.Unknown=2]="Unknown"}(H||(H={})),function(n){function t(n){var t,r=_e(),a=(n?Oe:ke)(18),i=te(4194304,Fn);n&&!a||(t=19,ye()===t?Ee():ue(e.Diagnostics._0_expected,e.tokenToString(t)));var o=M.createJSDocTypeExpression(i);return J(o),Ve(o,r)}var r,a;function i(n,r){void 0===n&&(n=0);var a=h,i=void 0===r?a.length:n+r;if(r=i-n,e.Debug.assert(n>=0),e.Debug.assert(n<=i),e.Debug.assert(i<=a.length),p(a,n)){var o,c,l,d=[];return s.scanRange(n+3,r-5,(function(){var e,t,r,u=1,p=n-Math.max(a.lastIndexOf("\n",n),0)+4;function _(n){e||(e=p),d.push(n),p+=n.length}for(Ee();G(5););G(4)&&(u=0,p=0);e:for(;;){switch(ye()){case 59:0===u||1===u?(m(d),S(v(p)),u=0,e=void 0):_(s.getTokenText());break;case 4:d.push(s.getTokenText()),u=0,p=0;break;case 41:var g=s.getTokenText();1===u||2===u?(u=2,_(g)):(u=1,p+=g.length);break;case 5:var y=s.getTokenText();2===u?d.push(y):void 0!==e&&p+y.length>e&&d.push(y.slice(e-p-1)),p+=y.length;break;case 1:break e;default:u=2,_(s.getTokenText())}Ee()}return f(d),m(d),t=d.length?d.join(""):void 0,r=o&&Ue(o,c,l),Ve(M.createJSDocComment(t,r),n,i)}))}function f(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function m(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function _(){for(;;){if(Ee(),1===ye())return!0;if(5!==ye()&&4!==ye())return!1}}function g(){if(5!==ye()&&4!==ye()||!Ce(_))for(;5===ye()||4===ye();)Ee()}function y(){if((5===ye()||4===ye())&&Ce(_))return"";for(var e=s.hasPrecedingLineBreak(),n=!1,t="";e&&41===ye()||5===ye()||4===ye();)t+=s.getTokenText(),4===ye()?(e=!0,n=!0,t=""):41===ye()&&(e=!1),Ee();return n?t:""}function v(n){e.Debug.assert(59===ye());var r=s.getTokenPos();Ee();var a,i=B(void 0),c=y();switch(i.escapedText){case"author":a=function(e,n,t,r){var a=Ie((function(){return function(){var e=[],n=!1,t=!1,r=s.getToken();e:for(;;){switch(r){case 78:case 5:case 24:case 59:e.push(s.getTokenText());break;case 29:if(n||t)return;n=!0,e.push(s.getTokenText());break;case 31:if(!n||t)return;t=!0,e.push(s.getTokenText()),s.setTextPos(s.getTokenPos()+1);break e;case 4:case 1:break e}r=Ee()}if(n&&t)return 0===e.length?void 0:e.join("")}()}));if(!a){var i=_e();return Ve(M.createJSDocAuthorTag(n,b(e,i,t,r)),e,i)}var o=a;if(Ce((function(){return 4!==be()}))){var c=E(t);c&&(o+=c)}return Ve(M.createJSDocAuthorTag(n,o),e)}(r,i,n,c);break;case"implements":a=function(e,n,t,r){var a=I(),i=_e();return Ve(M.createJSDocImplementsTag(n,a,b(e,i,t,r)),e,i)}(r,i,n,c);break;case"augments":case"extends":a=function(e,n,t,r){var a=I(),i=_e();return Ve(M.createJSDocAugmentsTag(n,a,b(e,i,t,r)),e,i)}(r,i,n,c);break;case"class":case"constructor":a=R(r,M.createJSDocClassTag,i,n,c);break;case"public":a=R(r,M.createJSDocPublicTag,i,n,c);break;case"private":a=R(r,M.createJSDocPrivateTag,i,n,c);break;case"protected":a=R(r,M.createJSDocProtectedTag,i,n,c);break;case"readonly":a=R(r,M.createJSDocReadonlyTag,i,n,c);break;case"deprecated":q=!0,a=R(r,M.createJSDocDeprecatedTag,i,n,c);break;case"this":a=function(e,n,r,a){var i=t(!0);g();var o=_e();return Ve(M.createJSDocThisTag(n,i,b(e,o,r,a)),e,o)}(r,i,n,c);break;case"enum":a=function(e,n,r,a){var i=t(!0);g();var o=_e();return Ve(M.createJSDocEnumTag(n,i,b(e,o,r,a)),e,o)}(r,i,n,c);break;case"arg":case"argument":case"param":return D(r,i,2,n);case"return":case"returns":a=function(n,t,r,a){e.some(o,e.isJSDocReturnTag)&&pe(t.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var i=L(),c=_e();return Ve(M.createJSDocReturnTag(t,i,b(n,c,r,a)),n,c)}(r,i,n,c);break;case"template":a=function(n,r,a,i){var o=18===ye()?t():void 0,s=function(){var n=_e(),t=[];do{g(),t.push((r=void 0,a=void 0,r=_e(),a=B(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Ve(M.createTypeParameterDeclaration(a,void 0,void 0),r))),y()}while(G(27));var r,a;return Ue(t,n)}(),c=_e();return Ve(M.createJSDocTemplateTag(r,o,s,b(n,c,a,i)),n,c)}(r,i,n,c);break;case"type":a=C(r,i,n,c);break;case"typedef":a=function(n,t,r,a){var i,o=L();y();var s=k();g();var c,l=E(r);if(!o||A(o.type)){for(var d=void 0,p=void 0,f=void 0,m=!1;d=Ie((function(){return P(r)}));)if(m=!0,325===d.kind){if(p){ue(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var _=e.lastOrUndefined(T);_&&e.addRelatedInfo(_,e.createDetachedDiagnostic(u,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}p=d}else f=e.append(f,d);if(m){var h=o&&177===o.type.kind,v=M.createJSDocTypeLiteral(f,h);o=p&&p.typeExpression&&!A(p.typeExpression.type)?p.typeExpression:Ve(v,n),c=o.end}}c=c||void 0!==l?_e():(null!==(i=null!=s?s:o)&&void 0!==i?i:t).end,l||(l=b(n,c,r,a));return Ve(M.createJSDocTypedefTag(t,o,s,l),n,c)}(r,i,n,c);break;case"callback":a=function(n,t,r,a){var i=k();g();var o=E(r),s=function(n){var t,r,a=_e();for(;t=Ie((function(){return w(4,n)}));)r=e.append(r,t);return Ue(r||[],a)}(r),c=Ie((function(){if(G(59)){var e=v(r);if(e&&323===e.kind)return e}})),l=Ve(M.createJSDocSignature(void 0,s,c),n),u=_e();o||(o=b(n,u,r,a));return Ve(M.createJSDocCallbackTag(t,l,i,o),n,u)}(r,i,n,c);break;default:a=function(e,n,t,r){var a=_e();return Ve(M.createJSDocUnknownTag(n,b(e,a,t,r)),e,a)}(r,i,n,c)}return a}function b(e,n,t,r){return r||(t+=n-e),E(t,r.slice(t))}function E(n,t){var r,a=[],i=0;function o(e){r||(r=n),a.push(e),n+=e.length}void 0!==t&&(""!==t&&o(t),i=1);var c=ye();e:for(;;){switch(c){case 4:i=0,a.push(s.getTokenText()),n=0;break;case 59:if(3===i){a.push(s.getTokenText());break}s.setTextPos(s.getTextPos()-1);case 1:break e;case 5:if(2===i||3===i)o(s.getTokenText());else{var l=s.getTokenText();void 0!==r&&n+l.length>r&&a.push(l.slice(r-n)),n+=l.length}break;case 18:i=2,Ce((function(){return 59===Ee()&&e.tokenIsIdentifierOrKeyword(Ee())&&"link"===s.getTokenText()}))&&(o(s.getTokenText()),Ee(),o(s.getTokenText()),Ee()),o(s.getTokenText());break;case 61:i=3===i?2:3,o(s.getTokenText());break;case 41:if(0===i){i=1,n+=1;break}default:3!==i&&(i=2),o(s.getTokenText())}c=Ee()}return f(a),m(a),0===a.length?void 0:a.join("")}function S(e){e&&(o?o.push(e):(o=[e],c=e.pos),l=e.end)}function L(){return y(),18===ye()?t():void 0}function x(){var n=G(22);n&&g();var t,r=G(61),a=function(){var e=B();Oe(22)&&ke(23);for(;Oe(24);){var n=B();Oe(22)&&ke(23),e=xn(e,n)}return e}();return r&&(Me(t=61)||je(t,!1,e.Diagnostics._0_expected,e.tokenToString(t))),n&&(g(),Pe(62)&&Ot(),ke(23)),{name:a,isBracketed:n}}function A(n){switch(n.kind){case 144:return!0;case 177:return A(n.elementType);default:return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText&&!n.typeArguments}}function D(n,t,r,a){var i=L(),o=!i;y();var c=x(),l=c.name,u=c.isBracketed;g(),o&&(i=L());var d=E(a+s.getStartPos()-n),p=4!==r&&function(n,t,r,a){if(n&&A(n.type)){for(var i=_e(),o=void 0,s=void 0;o=Ie((function(){return w(r,a,t)}));)322!==o.kind&&328!==o.kind||(s=e.append(s,o));if(s){var c=Ve(M.createJSDocTypeLiteral(s,177===n.type.kind),i);return Ve(M.createJSDocTypeExpression(c),i)}}}(i,l,r,a);return p&&(i=p,o=!0),Ve(1===r?M.createJSDocPropertyTag(t,l,u,i,o,d):M.createJSDocParameterTag(t,l,u,i,o,d),n)}function C(n,r,a,i){e.some(o,e.isJSDocTypeTag)&&pe(r.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var c=t(!0),l=_e(),u=void 0!==a&&void 0!==i?b(n,l,a,i):void 0;return Ve(M.createJSDocTypeTag(r,c,u),n,l)}function I(){var e=Oe(18),n=_e(),t=function(){var e=_e(),n=B();for(;Oe(24);){var t=B();n=Ve(M.createPropertyAccessExpression(n,t),e)}return n}(),r=ya(),a=Ve(M.createExpressionWithTypeArguments(t,r),n);return e&&ke(19),a}function R(e,n,t,r,a){var i=_e();return Ve(n(t,b(e,i,r,a)),e,i)}function k(n){var t=s.getTokenPos();if(e.tokenIsIdentifierOrKeyword(ye())){var r=B();if(Oe(24)){var a=k(!0);return Ve(M.createModuleDeclaration(void 0,void 0,r,a,n?4:void 0),t)}return n&&(r.isInJSDocNamespace=!0),r}}function O(n,t){for(;!e.isIdentifier(n)||!e.isIdentifier(t);){if(e.isIdentifier(n)||e.isIdentifier(t)||n.right.escapedText!==t.right.escapedText)return!1;n=n.left,t=t.left}return n.escapedText===t.escapedText}function P(e){return w(1,e)}function w(n,t,r){for(var a=!0,i=!1;;)switch(Ee()){case 59:if(a){var o=F(n,t);return!(o&&(322===o.kind||328===o.kind)&&4!==n&&r&&(e.isIdentifier(o.name)||!O(r,o.name.left)))&&o}i=!1;break;case 4:a=!0,i=!1;break;case 41:i&&(a=!1),i=!0;break;case 78:a=!1;break;case 1:return!1}}function F(n,t){e.Debug.assert(59===ye());var r=s.getStartPos();Ee();var a,i=B();switch(g(),i.escapedText){case"type":return 1===n&&C(r,i);case"prop":case"property":a=1;break;case"arg":case"argument":case"param":a=6;break;default:return!1}return!!(n&a)&&D(r,i,n,t)}function G(e){return ye()===e&&(Ee(),!0)}function B(n){if(!e.tokenIsIdentifierOrKeyword(ye()))return je(78,!n,n||e.Diagnostics.Identifier_expected);N++;var t=s.getTokenPos(),r=s.getTextPos(),a=ye(),i=Ke(s.getTokenValue()),o=Ve(M.createIdentifier(i,void 0,a),t,r);return Ee(),o}}n.parseJSDocTypeExpressionForTests=function(n,r,a){B("file.js",n,99,void 0,1),s.setText(n,r,a),A=s.scan();var i=t(),o=X("file.js",99,1,!1,[],M.createToken(1),0),c=e.attachFileToDiagnostics(T,o);return S&&(o.jsDocDiagnostics=e.attachFileToDiagnostics(S,o)),U(),i?{jsDocTypeExpression:i,diagnostics:c}:void 0},n.parseJSDocTypeExpression=t,n.parseIsolatedJSDocComment=function(n,t,r){B("",n,99,void 0,1);var a=te(4194304,(function(){return i(t,r)})),o={languageVariant:0,text:n},s=e.attachFileToDiagnostics(T,o);return U(),a?{jsDoc:a,diagnostics:s}:void 0},n.parseJSDocComment=function(n,t,r){var a=A,o=T.length,s=F,c=te(4194304,(function(){return i(t,r)}));return e.setParent(c,n),131072&O&&(S||(S=[]),S.push.apply(S,T)),A=a,T.length=o,F=s,c},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks"}(r||(r={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(a||(a={}))}(W=n.JSDocParser||(n.JSDocParser={}))}(c||(c={})),function(n){function t(n,t,a,o,s,c){return void(t?u(n):l(n));function l(n){var t="";if(c&&r(n)&&(t=o.substring(n.pos,n.end)),n._children&&(n._children=void 0),e.setTextRangePosEnd(n,n.pos+a,n.end+a),c&&r(n)&&e.Debug.assert(t===s.substring(n.pos,n.end)),f(n,l,u),e.hasJSDocNodes(n))for(var d=0,p=n.jsDoc;d<p.length;d++){l(p[d])}i(n,c)}function u(n){n._children=void 0,e.setTextRangePosEnd(n,n.pos+a,n.end+a);for(var t=0,r=n;t<r.length;t++){l(r[t])}}}function r(e){switch(e.kind){case 10:case 8:case 78:return!0}return!1}function a(n,t,r,a,i){e.Debug.assert(n.end>=t,"Adjusting an element that was entirely before the change range"),e.Debug.assert(n.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(n.pos<=n.end);var o=Math.min(n.pos,a),s=n.end>=r?n.end+i:Math.min(n.end,a);e.Debug.assert(o<=s),n.parent&&(e.Debug.assertGreaterThanOrEqual(o,n.parent.pos),e.Debug.assertLessThanOrEqual(s,n.parent.end)),e.setTextRangePosEnd(n,o,s)}function i(n,t){if(t){var r=n.pos,a=function(n){e.Debug.assert(n.pos>=r),r=n.end};if(e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;i<o.length;i++){a(o[i])}f(n,a),e.Debug.assert(r<=n.end)}}function o(n,t){var r,a=n;if(f(n,(function n(i){if(e.nodeIsMissing(i))return;if(!(i.pos<=t))return e.Debug.assert(i.pos>t),!0;if(i.pos>=a.pos&&(a=i),t<i.end)return f(i,n),!0;e.Debug.assert(i.end<=t),r=i})),r){var i=function(n){for(;;){var t=e.getLastChild(n);if(!t)return n;n=t}}(r);i.pos>a.pos&&(a=i)}return a}function s(n,t,r,a){var i=n.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===t.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=t.substr(0,r.span.start);e.Debug.assert(o===s);var c=i.substring(e.textSpanEnd(r.span),i.length),l=t.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),t.length);e.Debug.assert(c===l)}}function l(n){var t=n.statements,r=0;e.Debug.assert(r<t.length);var a=t[r],i=-1;return{currentNode:function(o){return o!==i&&(a&&a.end===o&&r<t.length-1&&(r++,a=t[r]),a&&a.pos===o||function(e){return t=void 0,r=-1,a=void 0,void f(n,i,o);function i(n){return e>=n.pos&&e<n.end&&(f(n,i,o),!0)}function o(n){if(e>=n.pos&&e<n.end)for(var s=0;s<n.length;s++){var c=n[s];if(c){if(c.pos===e)return t=n,r=s,a=c,!0;if(c.pos<e&&e<c.end)return f(c,i,o),!0}}return!1}}(o)),i=o,e.Debug.assert(!a||a.pos===o),a}}}var u;n.updateSourceFile=function(n,r,u,d){if(s(n,r,u,d=d||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(u))return n;if(0===n.statements.length)return c.parseSourceFile(n.fileName,r,n.languageVersion,void 0,!0,n.scriptKind);var p=n;e.Debug.assert(!p.hasBeenIncrementallyParsed),p.hasBeenIncrementallyParsed=!0,c.fixupParentReferences(p);var m=n.text,_=l(n),g=function(n,t){for(var r=t.span.start,a=0;r>0&&a<=1;a++){var i=o(n,r);e.Debug.assert(i.pos<=r);var s=i.pos;r=Math.max(0,s-1)}var c=e.createTextSpanFromBounds(r,e.textSpanEnd(t.span)),l=t.newLength+(t.span.start-r);return e.createTextChangeRange(c,l)}(n,u);s(n,r,g,d),e.Debug.assert(g.span.start<=u.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(u.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(u)));var y=e.textChangeRangeNewSpan(g).length-g.span.length;!function(n,r,o,s,c,l,u,d){return void p(n);function p(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!1,c,l,u,d);else{var _=n.end;if(_>=r){if(n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,c),f(n,p,m),e.hasJSDocNodes(n))for(var g=0,y=n.jsDoc;g<y.length;g++){p(y[g])}i(n,d)}else e.Debug.assert(_<r)}}function m(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!0,c,l,u,d);else{var i=n.end;if(i>=r){n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,c);for(var f=0,m=n;f<m.length;f++){p(m[f])}}else e.Debug.assert(i<r)}}}(p,g.span.start,e.textSpanEnd(g.span),e.textSpanEnd(e.textChangeRangeNewSpan(g)),y,m,r,d);var h=c.parseSourceFile(n.fileName,r,n.languageVersion,_,!0,n.scriptKind);return h.commentDirectives=function(n,t,r,a,i,o,s,c){if(!n)return t;for(var l,u=!1,d=0,p=n;d<p.length;d++){var f=p[d],m=f.range,_=f.type;if(m.end<r)l=e.append(l,f);else if(m.pos>a){y();var g={range:{pos:m.pos+i,end:m.end+i},type:_};l=e.append(l,g),c&&e.Debug.assert(o.substring(m.pos,m.end)===s.substring(g.range.pos,g.range.end))}}return y(),l;function y(){u||(u=!0,l?t&&l.push.apply(l,t):l=t)}}(n.commentDirectives,h.commentDirectives,g.span.start,e.textSpanEnd(g.span),y,m,r,d),h},n.createSyntaxCursor=l,function(e){e[e.Value=-1]="Value"}(u||(u={}))}(l||(l={})),e.isDeclarationFileName=_,e.processCommentPragmas=g,e.processPragmasIntoFields=y;var h=new e.Map;function v(e){if(h.has(e))return h.get(e);var n=new RegExp("(\\s"+e+"\\s*=\\s*)('|\")(.+?)\\2","im");return h.set(e,n),n}var b=/^\/\/\/\s*<(\S+)\s.*?\/>/im,E=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function T(n,t,r){var a=2===t.kind&&b.exec(r);if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(!(o&&1&o.kind))return;if(o.args){for(var s={},c=0,l=o.args;c<l.length;c++){var u=l[c],d=v(u.name).exec(r);if(!d&&!u.optional)return;if(d)if(u.captureSpan){var p=t.pos+d.index+d[1].length+d[2].length;s[u.name]={value:d[3],pos:p,end:p+d[3].length}}else s[u.name]=d[3]}n.push({name:i,args:{arguments:s,range:t}})}else n.push({name:i,args:{arguments:{},range:t}})}else{var f=2===t.kind&&E.exec(r);if(f)return S(n,t,2,f);if(3===t.kind)for(var m=/\s*@(\S+)\s*(.*)\s*$/gim,_=void 0;_=m.exec(r);)S(n,t,4,_)}}function S(n,t,r,a){if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(o&&o.kind&r){var s=function(n,t){if(!t)return{};if(!n.args)return{};for(var r=t.split(/\s+/),a={},i=0;i<n.args.length;i++){var o=n.args[i];if(!r[i]&&!o.optional)return"fail";if(o.captureSpan)return e.Debug.fail("Capture spans not yet implemented for non-xml pragmas");a[o.name]=r[i]}return a}(o,a[2]);"fail"!==s&&n.push({name:i,args:{arguments:s,range:t}})}}}function L(e,n){return e.kind===n.kind&&(78===e.kind?e.escapedText===n.escapedText:107===e.kind||e.name.escapedText===n.name.escapedText&&L(e.expression,n.expression))}e.tagNamesAreEquivalent=L}(p||(p={})),function(e){e.compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"};var n,t,r=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["esnext.array","lib.es2019.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.esnext.string.d.ts"],["esnext.promise","lib.esnext.promise.d.ts"]];function a(n){var t=new e.Map,r=new e.Map;return e.forEach(n,(function(e){t.set(e.name.toLowerCase(),e),e.shortName&&r.set(e.shortName,e.name)})),{optionsNameMap:t,shortOptionNames:r}}function i(){return n||(n=a(e.optionDeclarations))}function c(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function l(n){return u(n,e.createCompilerDiagnostic)}function u(n,t){var r=e.arrayFrom(n.type.keys()).map((function(e){return"'"+e+"'"})).join(", ");return t(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+n.name,r)}function d(e,n,t){return le(e,ue(n||""),t)}function p(n,t,r){if(void 0===t&&(t=""),t=ue(t),!e.startsWith(t,"-")){if(""===t)return[];var a=t.split(",");switch(n.element.type){case"number":return e.map(a,parseInt);case"string":return e.map(a,(function(e){return e||""}));default:return e.mapDefined(a,(function(e){return d(n.element,e,r)}))}}}function f(e){return e.name}function m(n,t,r,a){var i=e.getSpellingSuggestion(n,t.optionDeclarations,f);return i?r(t.unknownDidYouMeanDiagnostic,a||n,i.name):r(t.unknownOptionDiagnostic,a||n)}function _(n,t,r){var a,i={},o=[],s=[];return c(t),{options:i,watchOptions:a,fileNames:o,errors:s};function c(t){for(var r=0;r<t.length;){var c=t[r];if(r++,64===c.charCodeAt(0))l(c.slice(1));else if(45===c.charCodeAt(0)){var u=c.slice(45===c.charCodeAt(1)?2:1),d=h(n.getOptionsNameMap,u,!0);if(d)r=g(t,r,n,d,i,s);else{var p=h(R.getOptionsNameMap,u,!0);p?r=g(t,r,R,p,a||(a={}),s):s.push(m(u,n,e.createCompilerDiagnostic,c))}}else o.push(c)}}function l(n){var t=T(n,r||function(n){return e.sys.readFile(n)});if(e.isString(t)){for(var a=[],i=0;;){for(;i<t.length&&t.charCodeAt(i)<=32;)i++;if(i>=t.length)break;var o=i;if(34===t.charCodeAt(o)){for(i++;i<t.length&&34!==t.charCodeAt(i);)i++;i<t.length?(a.push(t.substring(o+1,i)),i++):s.push(e.createCompilerDiagnostic(e.Diagnostics.Unterminated_quoted_string_in_response_file_0,n))}else{for(;t.charCodeAt(i)>32;)i++;a.push(t.substring(o,i))}}c(a)}else s.push(t)}}function g(n,t,r,a,i,o){if(a.isTSConfigOnly)"null"===(s=n[t])?(i[a.name]=void 0,t++):"boolean"===a.type?"false"===s?(i[a.name]=!1,t++):("true"===s&&t++,o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,a.name))):(o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,a.name)),s&&!e.startsWith(s,"-")&&t++);else if(n[t]||"boolean"===a.type||o.push(e.createCompilerDiagnostic(r.optionTypeMismatchDiagnostic,a.name,F(a))),"null"!==n[t])switch(a.type){case"number":i[a.name]=parseInt(n[t]),t++;break;case"boolean":var s=n[t];i[a.name]="false"!==s,"false"!==s&&"true"!==s||t++;break;case"string":i[a.name]=n[t]||"",t++;break;case"list":var c=p(a,n[t],o);i[a.name]=c||[],c&&t++;break;default:i[a.name]=d(a,n[t],o),t++}else i[a.name]=void 0,t++;return t}function y(e,n){return h(i,e,n)}function h(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();var r=e(),a=r.optionsNameMap,i=r.shortOptionNames;if(t){var o=i.get(n);void 0!==o&&(n=o)}return a.get(n)}e.libs=r.map((function(e){return e[0]})),e.libMap=new e.Map(r),e.optionsForWatch=[{name:"watchFile",type:new e.Map(e.getEntries({fixedpollinginterval:e.WatchFileKind.FixedPollingInterval,prioritypollinginterval:e.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:e.WatchFileKind.DynamicPriorityPolling,usefsevents:e.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:e.WatchFileKind.UseFsEventsOnParentDirectory})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory},{name:"watchDirectory",type:new e.Map(e.getEntries({usefsevents:e.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:e.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:e.WatchDirectoryKind.DynamicPriorityPolling})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling},{name:"fallbackPolling",type:new e.Map(e.getEntries({fixedinterval:e.PollingWatchKind.FixedInterval,priorityinterval:e.PollingWatchKind.PriorityInterval,dynamicpriority:e.PollingWatchKind.DynamicPriority})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority},{name:"synchronousWatchDirectory",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively}],e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_a_CPU_profile},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us}],e.optionDeclarations=o(e.commonOptionsWithBuild,[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},{name:"target",shortName:"t",type:new e.Map(e.getEntries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT},{name:"module",shortName:"m",type:new e.Map(e.getEntries({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,es2020:e.ModuleKind.ES2020,esnext:e.ModuleKind.ESNext})),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:new e.Map(e.getEntries({preserve:1,"react-native":3,react:2})),affectsSourceFile:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files,transpileOptionValue:void 0},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation,transpileOptionValue:void 0},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information,transpileOptionValue:void 0},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs,transpileOptionValue:void 0},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"importsNotUsedAsValues",type:new e.Map(e.getEntries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule,transpileOptionValue:!0},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:new e.Map(e.getEntries({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic})),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime,transpileOptionValue:void 0},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"jsxFragmentFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"newLine",type:new e.Map(e.getEntries({crlf:0,lf:1})),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts,transpileOptionValue:!0},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files,transpileOptionValue:!0},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_solution_searching_for_this_project},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_loading_referenced_projects},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported,transpileOptionValue:void 0},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files,transpileOptionValue:void 0},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_class_fields_with_Define_instead_of_Set},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(n){return e.hasProperty(n,"transpileOptionValue")})),e.buildOpts=o(e.commonOptionsWithBuild,[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.createOptionNameMap=a,e.getOptionsNameMap=i,e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},e.convertEnableAutoDiscoveryToEnable=c,e.createCompilerDiagnosticForInvalidCustomType=l,e.parseCustomTypeOption=d,e.parseListTypeOption=p,e.parseCommandLineWorker=_,e.compilerOptionsDidYouMeanDiagnostics={getOptionsNameMap:i,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument},e.parseCommandLine=function(n,t){return _(e.compilerOptionsDidYouMeanDiagnostics,n,t)},e.getOptionFromName=y;var v={getOptionsNameMap:function(){return t||(t=a(e.buildOpts))},optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function b(n,t){var r=e.parseJsonText(n,t);return{config:M(r,r.parseDiagnostics),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function E(n,t){var r=T(n,t);return e.isString(r)?e.parseJsonText(n,r):{parseDiagnostics:[r]}}function T(n,t){var r;try{r=t(n)}catch(t){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,n,t.message)}return void 0===r?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,n):r}function S(n){return e.arrayToMap(n,f)}e.parseBuildCommand=function(n){var t=_(v,n),r=t.options,a=t.watchOptions,i=t.fileNames,o=t.errors,s=r;return 0===i.length&&i.push("."),s.clean&&s.force&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),s.clean&&s.verbose&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),s.clean&&s.watch&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),s.watch&&s.dry&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:s,watchOptions:a,projects:i,errors:o}},e.getDiagnosticText=function(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=e.createCompilerDiagnostic.apply(void 0,arguments);return a.messageText},e.getParsedCommandLineOfConfigFile=function(n,t,r,a,i,o){var s=T(n,(function(e){return r.readFile(e)}));if(e.isString(s)){var c=e.parseJsonText(n,s),l=r.getCurrentDirectory();return c.path=e.toPath(n,l,e.createGetCanonicalFileName(r.useCaseSensitiveFileNames)),c.resolvedPath=c.path,c.originalFileName=c.fileName,W(c,r,e.getNormalizedAbsolutePath(e.getDirectoryPath(n),l),t,e.getNormalizedAbsolutePath(n,l),void 0,o,a,i)}r.onUnRecoverableConfigFileDiagnostic(s)},e.readConfigFile=function(n,t){var r=T(n,t);return e.isString(r)?b(n,r):{config:{},error:r}},e.parseConfigFileTextToJson=b,e.readJsonConfigFile=E,e.tryReadFile=T;var L,x={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1};function A(){return L||(L=a(e.optionsForWatch))}var D,C,I,N,R={getOptionsNameMap:A,optionDeclarations:e.optionsForWatch,unknownOptionDiagnostic:e.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Watch_option_0_requires_a_value_of_type_1};function k(){return D||(D=S(e.optionDeclarations))}function O(){return C||(C=S(e.optionsForWatch))}function P(){return I||(I=S(e.typeAcquisitionDeclarations))}function M(e,n){return w(e,n,!0,void 0,void 0)}function w(n,t,r,a,i){return n.statements.length?c(n.statements[0].expression,a):r?{}:void 0;function o(e){return a&&a.elementOptions===e}function s(a,s,u,d){for(var p=r?{}:void 0,f=function(a){if(285!==a.kind)return t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.Property_assignment_expected)),"continue";a.questionToken&&t.push(e.createDiagnosticForNodeInSourceFile(n,a.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),l(a.name)||t.push(e.createDiagnosticForNodeInSourceFile(n,a.name,e.Diagnostics.String_literal_with_double_quotes_expected));var f=e.isComputedNonLiteralName(a.name)?void 0:e.getTextOfPropertyName(a.name),_=f&&e.unescapeLeadingUnderscores(f),g=_&&s?s.get(_):void 0;_&&u&&!g&&(s?t.push(m(_,u,(function(t,r,i){return e.createDiagnosticForNodeInSourceFile(n,a.name,t,r,i)}))):t.push(e.createDiagnosticForNodeInSourceFile(n,a.name,u.unknownOptionDiagnostic,_)));var y=c(a.initializer,g);if(void 0!==_&&(r&&(p[_]=y),i&&(d||o(s)))){var h=G(g,y);d?h&&i.onSetValidOptionKeyValueInParent(d,g,y):o(s)&&(h?i.onSetValidOptionKeyValueInRoot(_,a.name,y,a.initializer):g||i.onSetUnknownOptionKeyValueInRoot(_,a.name,y,a.initializer))}},_=0,g=a.properties;_<g.length;_++){f(g[_])}return p}function c(a,i){switch(a.kind){case 109:return g(i&&"boolean"!==i.type),!0;case 94:return g(i&&"boolean"!==i.type),!1;case 103:return g(i&&"extends"===i.name),null;case 10:l(a)||t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.String_literal_with_double_quotes_expected)),g(i&&e.isString(i.type)&&"string"!==i.type);var o=a.text;if(i&&!e.isString(i.type)){var d=i;d.type.has(o.toLowerCase())||t.push(u(d,(function(t,r,i){return e.createDiagnosticForNodeInSourceFile(n,a,t,r,i)})))}return o;case 8:return g(i&&"number"!==i.type),Number(a.text);case 211:if(40!==a.operator||8!==a.operand.kind)break;return g(i&&"number"!==i.type),-Number(a.operand.text);case 197:g(i&&"object"!==i.type);var p=a;if(i){var f=i;return s(p,f.elementOptions,f.extraKeyDiagnostics,f.name)}return s(p,void 0,void 0,void 0);case 196:return g(i&&"list"!==i.type),m=a.elements,_=i&&i.element,r?e.filter(m.map((function(e){return c(e,_)})),(function(e){return void 0!==e})):m.forEach((function(e){return c(e,_)}))}var m,_;return void(i?g(!0):t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)));function g(r){r&&t.push(e.createDiagnosticForNodeInSourceFile(n,a,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,i.name,F(i)))}}function l(t){return e.isStringLiteral(t)&&e.isStringDoubleQuoted(t,n)}}function F(n){return"list"===n.type?"Array":e.isString(n.type)?n.type:"string"}function G(n,t){return!!n&&(!!z(t)||("list"===n.type?e.isArray(t):typeof t===(e.isString(n.type)?n.type:"string")))}function B(n){return s({},e.arrayFrom(n.entries()).reduce((function(e,n){var t;return s(s({},e),((t={})[n[0]]=n[1],t))}),{}))}function U(n){if(e.length(n)){if(1!==e.length(n))return n;if("**/*"!==n[0])return n}}function V(n,t){return e.forEachEntry(t,(function(e,t){if(e===n)return t}))}function j(e,n){return K(e,i(),n)}function K(n,t,r){var a=t.optionsNameMap,i=new e.Map,o=r&&e.createGetCanonicalFileName(r.useCaseSensitiveFileNames),s=function(t){if(e.hasProperty(n,t)){if(a.has(t)&&a.get(t).category===e.Diagnostics.Command_line_Options)return"continue";var s=n[t],c=a.get(t.toLowerCase());if(c){var l=function e(n){return"string"===n.type||"number"===n.type||"boolean"===n.type||"object"===n.type?void 0:"list"===n.type?e(n.element):n.type}(c);l?"list"===c.type?i.set(t,s.map((function(e){return V(e,l)}))):i.set(t,V(s,l)):r&&c.isFilePath?i.set(t,e.getRelativePathFromFile(r.configFilePath,e.getNormalizedAbsolutePath(s,e.getDirectoryPath(r.configFilePath)),o)):i.set(t,s)}}};for(var c in n)s(c);return i}function H(e,n,t){if(e&&!z(n))if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function W(e,n,t,r,a,i,o,s,c){return X(void 0,e,n,t,r,c,a,i,o,s)}function q(e,n){n&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:n})}function z(e){return null==e}function J(n,t){return e.getDirectoryPath(e.getNormalizedAbsolutePath(n,t))}function X(n,t,r,a,i,o,s,c,l,u){void 0===i&&(i={}),void 0===c&&(c=[]),void 0===l&&(l=[]),e.Debug.assert(void 0===n&&void 0!==t||void 0!==n&&void 0===t);var d,p=[],f=ee(n,t,r,a,s,c,p,u),m=f.raw,_=e.extend(i,f.options||{}),g=o&&f.watchOptions?e.extend(o,f.watchOptions):f.watchOptions||o;_.configFilePath=s&&e.normalizeSlashes(s),q(_,t);var y=function(){var n=S("references",(function(e){return"object"==typeof e}),"object");if(e.isArray(n))for(var i=0,o=n;i<o.length;i++){var u=o[i];"string"!=typeof u.path?L(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(d||(d=[])).push({path:e.getNormalizedAbsolutePath(u.path,a),originalPath:u.path,prepend:u.prepend,circular:u.circular})}var f=E(T("files"));if(f){var g="no-prop"===n||e.isArray(n)&&0===n.length,y=e.hasProperty(m,"extends");if(0===f.length&&g&&!y)if(t){var h=s||"tsconfig.json",v=e.Diagnostics.The_files_list_in_config_file_0_is_empty,b=e.firstDefined(e.getTsConfigPropArray(t,"files"),(function(e){return e.initializer})),x=b?e.createDiagnosticForNodeInSourceFile(t,b,v,h):e.createCompilerDiagnostic(v,h);p.push(x)}else L(e.Diagnostics.The_files_list_in_config_file_0_is_empty,s||"tsconfig.json")}var A=E(T("include")),D=T("exclude"),C=E(D);if("no-prop"===D&&m.compilerOptions){var I=m.compilerOptions.outDir,N=m.compilerOptions.declarationDir;(I||N)&&(C=[I,N].filter((function(e){return!!e})))}void 0===f&&void 0===A&&(A=["**/*"]);var R=function(n,t,r,a,i,o,s,c,l){var u,d;a=e.normalizePath(a),t&&(u=ge(t,s,!1,l,"include"));r&&(d=ge(r,s,!0,l,"exclude"));var p=function(n,t,r,a){var i=e.getRegularExpressionForWildcard(t,r,"exclude"),o=i&&new RegExp(i,a?"":"i"),s={};if(void 0!==n){for(var c=[],l=0,u=n;l<u.length;l++){var d=u[l],p=e.normalizePath(e.combinePaths(r,d));if(!o||!o.test(p)){var f=ye(p,a);if(f){var m=f.key,_=f.flags,g=s[m];(void 0===g||g<_)&&(s[m]=_,1===_&&c.push(m))}}}for(var m in s)if(e.hasProperty(s,m))for(var y=0,h=c;y<h.length;y++){var v=h[y];m!==v&&e.containsPath(v,m,r,!a)&&delete s[m]}}return s}(u,d,a,o.useCaseSensitiveFileNames);return _e({filesSpecs:n,includeSpecs:t,excludeSpecs:r,validatedFilesSpec:e.filter(n,e.isString),validatedIncludeSpecs:u,validatedExcludeSpecs:d,wildcardDirectories:p},a,i,o,c)}(f,A,C,s?J(s,a):a,_,r,p,l,t);Q(R,Z(m),c)&&p.push(Y(R.spec,s));return R}(),h=y.fileNames,v=y.wildcardDirectories,b=y.spec;return{options:_,watchOptions:g,fileNames:h,projectReferences:d,typeAcquisition:f.typeAcquisition||ae(),raw:m,errors:p,wildcardDirectories:v,compileOnSave:!!m.compileOnSave,configFileSpecs:b};function E(n){return e.isArray(n)?n:void 0}function T(n){return S(n,e.isString,"string")}function S(n,r,a){if(e.hasProperty(m,n)&&!z(m[n])){if(e.isArray(m[n])){var i=m[n];return t||e.every(i,r)||p.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n,a)),i}return L(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n,"Array"),"not-array"}return"no-prop"}function L(n,r,a){t||p.push(e.createCompilerDiagnostic(n,r,a))}}function Y(n,t){var r=n.includeSpecs,a=n.excludeSpecs;return e.createCompilerDiagnostic(e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,t||"tsconfig.json",JSON.stringify(r||[]),JSON.stringify(a||[]))}function Q(e,n,t){return 0===e.fileNames.length&&n&&(!t||0===t.length)}function Z(n){return!e.hasProperty(n,"files")&&!e.hasProperty(n,"references")}function $(e){return!!e.options}function ee(n,t,r,a,i,s,c,l){a=e.normalizeSlashes(a);var u=e.getNormalizedAbsolutePath(i||"",a);if(s.indexOf(u)>=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,o(s,[u]).join(" -> "))),{raw:n||M(t,c)};var d=n?function(n,t,r,a,i){e.hasProperty(n,"excludes")&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=re(n.compilerOptions,r,i,a),c=ie(n.typeAcquisition||n.typingOptions,r,i,a),l=function(e,n,t){return oe(O(),e,n,void 0,R,t)}(n.watchOptions,r,i);if(n.compileOnSave=function(n,t,r){if(!e.hasProperty(n,e.compileOnSaveCommandLineOption.name))return!1;var a=se(e.compileOnSaveCommandLineOption,n.compileOnSave,t,r);return"boolean"==typeof a&&a}(n,r,i),n.extends)if(e.isString(n.extends)){var u=a?J(a,r):r;o=ne(n.extends,t,u,i,e.createCompilerDiagnostic)}else i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:n,options:s,watchOptions:l,typeAcquisition:c,extendedConfigPath:o}}(n,r,a,i,c):function(n,t,r,a,i){var o,s,c,l,u=te(a),d={onSetValidOptionKeyValueInParent:function(n,t,i){var l;switch(n){case"compilerOptions":l=u;break;case"watchOptions":l=c||(c={});break;case"typeAcquisition":l=o||(o=ae(a));break;case"typingOptions":l=s||(s=ae(a));break;default:e.Debug.fail("Unknown option")}l[t.name]=function n(t,r,a){if(z(a))return;if("list"===t.type){var i=t;return i.element.isFilePath||!e.isString(i.element.type)?e.filter(e.map(a,(function(e){return n(i.element,r,e)})),(function(e){return!!e})):a}if(!e.isString(t.type))return t.type.get(e.isString(a)?a.toLowerCase():a);return ce(t,r,a)}(t,r,i)},onSetValidOptionKeyValueInRoot:function(o,s,c,u){switch(o){case"extends":var d=a?J(a,r):r;return void(l=ne(c,t,d,i,(function(t,r){return e.createDiagnosticForNodeInSourceFile(n,u,t,r)})))}},onSetUnknownOptionKeyValueInRoot:function(t,r,a,o){"excludes"===t&&i.push(e.createDiagnosticForNodeInSourceFile(n,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},p=w(n,i,!0,(void 0===N&&(N={name:void 0,type:"object",elementOptions:S([{name:"compilerOptions",type:"object",elementOptions:k(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:O(),extraKeyDiagnostics:R},{name:"typingOptions",type:"object",elementOptions:P(),extraKeyDiagnostics:x},{name:"typeAcquisition",type:"object",elementOptions:P(),extraKeyDiagnostics:x},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])}),N),d);o||(o=s?void 0!==s.enableAutoDiscovery?{enable:s.enableAutoDiscovery,include:s.include,exclude:s.exclude}:s:ae(a));return{raw:p,options:u,watchOptions:c,typeAcquisition:o,extendedConfigPath:l}}(t,r,a,i,c);if(d.extendedConfigPath){s=s.concat([u]);var p=function(n,t,r,a,i,o,s){var c,l,u,d,p=r.useCaseSensitiveFileNames?t:e.toFileNameLowerCase(t);if(s&&(l=s.get(p)))u=l.extendedResult,d=l.extendedConfig;else{if(!(u=E(t,(function(e){return r.readFile(e)}))).parseDiagnostics.length){var f=e.getDirectoryPath(t);if($(d=ee(void 0,u,r,f,e.getBaseFileName(t),i,o,s))){var m=e.convertToRelativePath(f,a,e.identity),_=function(n){return e.isRootedDiskPath(n)?n:e.combinePaths(m,n)},g=function(n){y[n]&&(y[n]=e.map(y[n],_))},y=d.raw;g("include"),g("exclude"),g("files")}}s&&s.set(p,{extendedResult:u,extendedConfig:d})}n&&(n.extendedSourceFiles=[u.fileName],u.extendedSourceFiles&&(c=n.extendedSourceFiles).push.apply(c,u.extendedSourceFiles));if(u.parseDiagnostics.length)return void o.push.apply(o,u.parseDiagnostics);return d}(t,d.extendedConfigPath,r,a,s,c,l);if(p&&$(p)){var f=p.raw,m=d.raw,_=function(e){var n=m[e]||f[e];n&&(m[e]=n)};_("include"),_("exclude"),_("files"),void 0===m.compileOnSave&&(m.compileOnSave=f.compileOnSave),d.options=e.assign({},p.options,d.options),d.watchOptions=d.watchOptions&&p.watchOptions?e.assign({},p.watchOptions,d.watchOptions):d.watchOptions||p.watchOptions}}return d}function ne(n,t,r,a,i){if(n=e.normalizeSlashes(n),e.isRootedDiskPath(n)||e.startsWith(n,"./")||e.startsWith(n,"../")){var o=e.getNormalizedAbsolutePath(n,r);return t.fileExists(o)||e.endsWith(o,".json")||(o+=".json",t.fileExists(o))?o:void a.push(i(e.Diagnostics.File_0_not_found,n))}var s=e.nodeModuleNameResolver(n,e.combinePaths(r,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;a.push(i(e.Diagnostics.File_0_not_found,n))}function te(n){return n&&"jsconfig.json"===e.getBaseFileName(n)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function re(n,t,r,a){var i=te(a);return oe(k(),n,t,i,e.compilerOptionsDidYouMeanDiagnostics,r),a&&(i.configFilePath=e.normalizeSlashes(a)),i}function ae(n){return{enable:!!n&&"jsconfig.json"===e.getBaseFileName(n),include:[],exclude:[]}}function ie(e,n,t,r){var a=ae(r),i=c(e);return oe(P(),i,n,a,x,t),a}function oe(n,t,r,a,i,o){if(t){for(var s in t){var c=n.get(s);c?(a||(a={}))[c.name]=se(c,t[s],r,o):o.push(m(s,i,e.createCompilerDiagnostic))}return a}}function se(n,t,r,a){if(G(n,t)){var i=n.type;return"list"===i&&e.isArray(t)?function(n,t,r,a){return e.filter(e.map(t,(function(e){return se(n.element,e,r,a)})),(function(e){return!!e}))}(n,t,r,a):e.isString(i)?ce(n,r,t):le(n,t,a)}a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n.name,F(n)))}function ce(n,t,r){return n.isFilePath&&""===(r=e.getNormalizedAbsolutePath(r,t))&&(r="."),r}function le(e,n,t){if(!z(n)){var r=n.toLowerCase(),a=e.type.get(r);if(void 0!==a)return a;t.push(l(e))}}function ue(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.convertToObject=M,e.convertToObjectWorker=w,e.convertToTSConfig=function(n,t,r){var a=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames),i=e.map(e.filter(n.fileNames,n.configFileSpecs&&n.configFileSpecs.validatedIncludeSpecs?function(n,t,r,a){if(!t)return function(e){return!0};var i=e.getFileMatcherPatterns(n,r,t,a.useCaseSensitiveFileNames,a.getCurrentDirectory()),o=i.excludePattern&&e.getRegexFromPattern(i.excludePattern,a.useCaseSensitiveFileNames),s=i.includeFilePattern&&e.getRegexFromPattern(i.includeFilePattern,a.useCaseSensitiveFileNames);if(s)return o?function(e){return!(s.test(e)&&!o.test(e))}:function(e){return!s.test(e)};if(o)return function(e){return o.test(e)};return function(e){return!0}}(t,n.configFileSpecs.validatedIncludeSpecs,n.configFileSpecs.validatedExcludeSpecs,r):function(e){return!0}),(function(n){return e.getRelativePathFromFile(e.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),e.getNormalizedAbsolutePath(n,r.getCurrentDirectory()),a)})),o=j(n.options,{configFilePath:e.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),useCaseSensitiveFileNames:r.useCaseSensitiveFileNames}),c=n.watchOptions&&K(n.watchOptions,A());return s(s({compilerOptions:s(s({},B(o)),{showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0}),watchOptions:c&&B(c),references:e.map(n.projectReferences,(function(e){return s(s({},e),{path:e.originalPath?e.originalPath:"",originalPath:void 0})})),files:e.length(i)?i:void 0},n.configFileSpecs?{include:U(n.configFileSpecs.validatedIncludeSpecs),exclude:n.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!n.compileOnSave||void 0})},e.generateTSConfig=function(n,t,r){var a=j(e.extend(n,e.defaultInitCompilerOptions));return function(){for(var n=e.createMultiMap(),c=0,l=e.optionDeclarations;c<l.length;c++){var u=l[c],d=u.category;s(u)&&n.add(e.getLocaleSpecificMessage(d),u)}var p=0,f=0,m=[];n.forEach((function(n,t){0!==m.length&&m.push({value:""}),m.push({value:"/* "+t+" */"});for(var r=0,o=n;r<o.length;r++){var s=o[r],c=void 0;c=a.has(s.name)?'"'+s.name+'": '+JSON.stringify(a.get(s.name))+((f+=1)===a.size?"":","):'// "'+s.name+'": '+JSON.stringify(i(s))+",",m.push({value:c,description:"/* "+(s.description&&e.getLocaleSpecificMessage(s.description)||s.name)+" */"}),p=Math.max(c.length,p)}}));var _=o(2),g=[];g.push("{"),g.push(_+'"compilerOptions": {'),g.push(""+_+_+"/* "+e.getLocaleSpecificMessage(e.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file)+" */"),g.push("");for(var y=0,h=m;y<h.length;y++){var v=h[y],b=v.value,E=v.description,T=void 0===E?"":E;g.push(b&&""+_+_+b+(T&&o(p-b.length+2)+T))}if(t.length){g.push(_+"},"),g.push(_+'"files": [');for(var S=0;S<t.length;S++)g.push(""+_+_+JSON.stringify(t[S])+(S===t.length-1?"":","));g.push(_+"]")}else g.push(_+"}");return g.push("}"),g.join(r)+r}();function i(n){switch(n.type){case"number":return 1;case"boolean":return!0;case"string":return n.isFilePath?"./":"";case"list":return[];case"object":return{};default:var t=n.type.keys().next();return t.done?e.Debug.fail("Expected 'option.type' to have entries."):t.value}}function o(e){return Array(e+1).join(" ")}function s(n){var t=n.category,r=n.name;return void 0!==t&&t!==e.Diagnostics.Command_line_Options&&(t!==e.Diagnostics.Advanced_Options||a.has(r))}},e.convertToOptionsWithAbsolutePaths=function(n,t){var r={},a=i().optionsNameMap;for(var o in n)e.hasProperty(n,o)&&(r[o]=H(a.get(o.toLowerCase()),n[o],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r},e.parseJsonConfigFileContent=function(e,n,t,r,a,i,o,s,c){return X(e,void 0,n,t,r,c,a,i,o,s)},e.parseJsonSourceFileConfigFileContent=W,e.setConfigFileInOptions=q,e.canJsonReportNoInputFiles=Z,e.updateErrorForNoInputFiles=function(n,t,r,a,i){var o=a.length;return Q(n,i)?a.push(Y(r,t)):e.filterMutate(a,(function(n){return!function(n){return n.code===e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}(n)})),o!==a.length},e.convertCompilerOptionsFromJson=function(e,n,t){var r=[];return{options:re(e,n,r,t),errors:r}},e.convertTypeAcquisitionFromJson=function(e,n,t){var r=[];return{options:ie(e,n,r,t),errors:r}};var de=/(^|\/)\*\*\/?$/,pe=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/,fe=/\/[^/]*?[*?][^/]*\//,me=/^[^*?]*(?=\/[^/]*[*?])/;function _e(n,t,r,a,i){void 0===i&&(i=e.emptyArray),t=e.normalizePath(t);var o,s=e.createGetCanonicalFileName(a.useCaseSensitiveFileNames),c=new e.Map,l=new e.Map,u=new e.Map,d=n.validatedFilesSpec,p=n.validatedIncludeSpecs,f=n.validatedExcludeSpecs,m=n.wildcardDirectories,_=e.getSupportedExtensions(r,i),g=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(r,_);if(d)for(var y=0,h=d;y<h.length;y++){var v=h[y],b=e.getNormalizedAbsolutePath(v,t);c.set(s(b),b)}if(p&&p.length>0)for(var E=function(n){if(e.fileExtensionIs(n,".json")){if(!o){var r=p.filter((function(n){return e.endsWith(n,".json")})),i=e.map(e.getRegularExpressionsForWildcards(r,t,"files"),(function(e){return"^"+e+"$"}));o=i?i.map((function(n){return e.getRegexFromPattern(n,a.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(n)}))){var d=s(n);c.has(d)||u.has(d)||u.set(d,n)}return"continue"}if(function(n,t,r,a,i){for(var o=e.getExtensionPriority(n,a),s=e.adjustExtensionPriority(o,a),c=0;c<s;c++){var l=a[c],u=i(e.changeExtension(n,l));if(t.has(u)||r.has(u))return!0}return!1}(n,c,l,_,s))return"continue";!function(n,t,r,a){for(var i=e.getExtensionPriority(n,r),o=e.getNextLowestExtensionPriority(i,r);o<r.length;o++){var s=r[o],c=a(e.changeExtension(n,s));t.delete(c)}}(n,l,_,s);var f=s(n);c.has(f)||l.has(f)||l.set(f,n)},T=0,S=a.readDirectory(t,g,f,p,void 0);T<S.length;T++){E(b=S[T])}var L=e.arrayFrom(c.values()),x=e.arrayFrom(l.values());return{fileNames:L.concat(x,e.arrayFrom(u.values())),wildcardDirectories:m,spec:n}}function ge(n,t,r,a,i){return n.filter((function(n){if(!e.isString(n))return!1;var o=function(n,t){if(!t&&de.test(n))return e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0;if(pe.test(n))return e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0}(n,r);return void 0!==o&&t.push(function(n,t){var r=e.getTsConfigPropArrayElementValue(a,i,t);return r?e.createDiagnosticForNodeInSourceFile(a,r,n,t):e.createCompilerDiagnostic(n,t)}(o,n)),void 0===o}))}function ye(n,t){var r=me.exec(n);return r?{key:t?r[0]:e.toFileNameLowerCase(r[0]),flags:fe.test(n)?1:0}:e.isImplicitGlob(n)?{key:t?n:e.toFileNameLowerCase(n),flags:1}:void 0}function he(n,t){switch(t.type){case"object":case"string":return"";case"number":return"number"==typeof n?n:"";case"boolean":return"boolean"==typeof n?n:"";case"list":var r=t.element;return e.isArray(n)?n.map((function(e){return he(e,r)})):"";default:return e.forEachEntry(t.type,(function(e,t){if(e===n)return t}))}}e.getFileNamesFromConfigSpecs=_e,e.isExcludedFile=function(n,t,r,a,i){var o=t.validatedFilesSpec,s=t.validatedIncludeSpecs,c=t.validatedExcludeSpecs;if(!e.length(s)||!e.length(c))return!1;r=e.normalizePath(r);var l=e.createGetCanonicalFileName(a);if(o)for(var u=0,d=o;u<d.length;u++){var p=d[u];if(l(e.getNormalizedAbsolutePath(p,r))===n)return!1}var f=e.getRegularExpressionForWildcard(c,e.combinePaths(e.normalizePath(i),r),"exclude"),m=f&&e.getRegexFromPattern(f,a);return!!m&&(!!m.test(n)||!e.hasExtension(n)&&m.test(e.ensureTrailingDirectorySeparator(n)))},e.convertCompilerOptionsForTelemetry=function(e){var n={};for(var t in e)if(e.hasOwnProperty(t)){var r=y(t);void 0!==r&&(n[t]=he(e[t],r))}return n}}(p||(p={})),function(e){function n(n){n.trace(e.formatMessage.apply(void 0,arguments))}function t(e,n){return!!e.traceResolution&&void 0!==n.trace}function r(n,t){var r;if(t&&n){var a=n.packageJsonContent;"string"==typeof a.name&&"string"==typeof a.version&&(r={name:a.name,subModuleName:t.path.slice(n.packageDirectory.length+e.directorySeparator.length),version:a.version})}return t&&{path:t.path,extension:t.ext,packageId:r}}function a(e){return r(void 0,e)}function i(n){if(n)return e.Debug.assert(void 0===n.packageId),{path:n.path,ext:n.extension}}var c,l;function u(n){if(n)return e.Debug.assert(e.extensionIsTS(n.extension)),{fileName:n.path,packageId:n.packageId}}function d(e,n,t,r){var a;return r?((a=r.failedLookupLocations).push.apply(a,t),r):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:n,packageId:e.packageId},failedLookupLocations:t}}function p(t,r,a,i){if(e.hasProperty(t,r)){var o=t[r];if(typeof o===a&&null!==o)return o;i.traceEnabled&&n(i.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,r,a,null===o?"null":typeof o)}else i.traceEnabled&&n(i.host,e.Diagnostics.package_json_does_not_have_a_0_field,r)}function f(t,r,a,i){var o=p(t,r,"string",i);if(void 0!==o){if(o){var s=e.normalizePath(e.combinePaths(a,o));return i.traceEnabled&&n(i.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,r,o,s),s}i.traceEnabled&&n(i.host,e.Diagnostics.package_json_had_a_falsy_0_field,r)}}function m(e,n,t){return f(e,"typings",n,t)||f(e,"types",n,t)}function _(e,n,t){return f(e,"main",n,t)}function g(t,r){var a=function(t,r){var a=p(t,"typesVersions","object",r);if(void 0!==a)return r.traceEnabled&&n(r.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),a}(t,r);if(void 0!==a){if(r.traceEnabled)for(var i in a)e.hasProperty(a,i)&&!e.VersionRange.tryParse(i)&&n(r.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,i);var o=y(a);if(o){var s=o.version,c=o.paths;if("object"==typeof c)return o;r.traceEnabled&&n(r.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['"+s+"']","object",typeof c)}else r.traceEnabled&&n(r.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor)}}function y(n){for(var t in l||(l=new e.Version(e.version)),n)if(e.hasProperty(n,t)){var r=e.VersionRange.tryParse(t);if(void 0!==r&&r.test(l))return{version:t,paths:n[t]}}}function h(n,t){return n.typeRoots?n.typeRoots:(n.configFilePath?r=e.getDirectoryPath(n.configFilePath):t.getCurrentDirectory&&(r=t.getCurrentDirectory()),void 0!==r?function(n,t){if(!t.directoryExists)return[e.combinePaths(n,v)];var r;return e.forEachAncestorDirectory(e.normalizePath(n),(function(n){var a=e.combinePaths(n,v);t.directoryExists(a)&&(r||(r=[])).push(a)})),r}(r,t):void 0);var r}e.trace=n,e.isTraceEnabled=t,function(e){e[e.TypeScript=0]="TypeScript",e[e.JavaScript=1]="JavaScript",e[e.Json=2]="Json",e[e.TSConfig=3]="TSConfig",e[e.DtsOnly=4]="DtsOnly"}(c||(c={})),e.getPackageJsonTypesVersionsPaths=y,e.getEffectiveTypeRoots=h;var v=e.combinePaths("node_modules","@types");function b(n){var t=new e.Map,r=new e.Map;return{ownMap:t,redirectsMap:r,getOrCreateMapOfCacheRedirects:function(a){if(!a)return t;var i=a.sourceFile.path,o=r.get(i);o||(o=!n||e.optionsHaveModuleResolutionChanges(n,a.commandLine.options)?new e.Map:t,r.set(i,o));return o},clear:function(){t.clear(),r.clear()},setOwnOptions:function(e){n=e},setOwnMap:function(e){t=e}}}function E(n,t,r,a){return{getOrCreateCacheForDirectory:function(t,o){var s=e.toPath(t,r,a);return i(n,o,s,(function(){return new e.Map}))},getOrCreateCacheForModuleName:function(n,r){return e.Debug.assert(!e.isExternalModuleNameRelative(n)),i(t,r,n,o)},directoryToModuleNameMap:n,moduleNameToDirectoryMap:t};function i(e,n,t,r){var a=e.getOrCreateMapOfCacheRedirects(n),i=a.get(t);return i||(i=r(),a.set(t,i)),i}function o(){var n=new e.Map;return{get:function(t){return n.get(e.toPath(t,r,a))},set:function(t,i){var o=e.toPath(t,r,a);if(n.has(o))return;n.set(o,i);var s=i.resolvedModule&&(i.resolvedModule.originalPath||i.resolvedModule.resolvedFileName),c=s&&function(n,t){var i=e.toPath(e.getDirectoryPath(t),r,a),o=0,s=Math.min(n.length,i.length);for(;o<s&&n.charCodeAt(o)===i.charCodeAt(o);)o++;if(o===n.length&&(i.length===o||i[o]===e.directorySeparator))return n;var c=e.getRootLength(n);if(o<c)return;var l=n.lastIndexOf(e.directorySeparator,o-1);if(-1===l)return;return n.substr(0,Math.max(l,c))}(o,s),l=o;for(;l!==c;){var u=e.getDirectoryPath(l);if(u===l||n.has(u))break;n.set(u,i),l=u}}}}}function T(t,r,a,i,o){var s=function(t,r,a,i){var o=i.compilerOptions,s=o.baseUrl,c=o.paths;if(s&&c&&!e.pathIsRelative(r))return i.traceEnabled&&(n(i.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,s,r),n(i.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,r)),q(t,r,s,c,a,!1,i)}(t,r,i,o);return s?s.value:e.isExternalModuleNameRelative(r)?function(t,r,a,i,o){if(!o.compilerOptions.rootDirs)return;o.traceEnabled&&n(o.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,r);for(var s,c,l=e.normalizePath(e.combinePaths(a,r)),u=0,d=o.compilerOptions.rootDirs;u<d.length;u++){var p=d[u],f=e.normalizePath(p);e.endsWith(f,e.directorySeparator)||(f+=e.directorySeparator);var m=e.startsWith(l,f)&&(void 0===c||c.length<f.length);o.traceEnabled&&n(o.host,e.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,f,l,m),m&&(c=f,s=p)}if(c){o.traceEnabled&&n(o.host,e.Diagnostics.Longest_matching_prefix_for_0_is_1,l,c);var _=l.substr(c.length);o.traceEnabled&&n(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,_,c,l);var g=i(t,l,!e.directoryProbablyExists(a,o.host),o);if(g)return g;o.traceEnabled&&n(o.host,e.Diagnostics.Trying_other_entries_in_rootDirs);for(var y=0,h=o.compilerOptions.rootDirs;y<h.length;y++){if((p=h[y])!==s){var v=e.combinePaths(e.normalizePath(p),_);o.traceEnabled&&n(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,_,p,v);var b=e.getDirectoryPath(v),E=i(t,v,!e.directoryProbablyExists(b,o.host),o);if(E)return E}}o.traceEnabled&&n(o.host,e.Diagnostics.Module_resolution_using_rootDirs_has_failed)}return}(t,r,a,i,o):function(t,r,a,i){var o=i.compilerOptions.baseUrl;if(!o)return;i.traceEnabled&&n(i.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,o,r);var s=e.normalizePath(e.combinePaths(o,r));i.traceEnabled&&n(i.host,e.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,r,o,s);return a(t,s,!e.directoryProbablyExists(e.getDirectoryPath(s),i.host),i)}(t,r,i,o)}e.resolveTypeReferenceDirective=function(r,a,i,o,s){var l=t(i,o);s&&(i=s.commandLine.options);var d=[],p={compilerOptions:i,host:o,traceEnabled:l,failedLookupLocations:d},f=h(i,o);l&&(void 0===a?void 0===f?n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,r):n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,r,f):void 0===f?n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,r,a):n(o,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,r,a,f),s&&n(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,s.sourceFile.fileName));var m,_=function(){if(f&&f.length)return l&&n(o,e.Diagnostics.Resolving_with_primary_search_path_0,f.join(", ")),e.firstDefined(f,(function(t){var a=e.combinePaths(t,r),i=e.getDirectoryPath(a),s=e.directoryProbablyExists(i,o);return!s&&l&&n(o,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,i),u(G(c.DtsOnly,a,!s,p))}));l&&n(o,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),g=!0;if(_||(_=function(){var t=a&&e.getDirectoryPath(a);if(void 0!==t){l&&n(o,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,t);var i=void 0;if(e.isExternalModuleNameRelative(r)){var s=e.normalizePathAndParts(e.combinePaths(t,r)).path;i=R(c.DtsOnly,s,!1,p,!0)}else{var d=j(c.DtsOnly,r,t,p,void 0,void 0);i=d&&d.value}var f=u(i);return!f&&l&&n(o,e.Diagnostics.Type_reference_directive_0_was_not_resolved,r),f}l&&n(o,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),g=!1),_){var y=_.fileName,v=_.packageId,b=i.preserveSymlinks?y:N(y,o,l);l&&(v?n(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,r,b,e.packageIdToString(v),g):n(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,r,b,g)),m={primary:g,resolvedFileName:b,packageId:v,isExternalLibraryImport:k(y)}}return{resolvedTypeReferenceDirective:m,failedLookupLocations:d}},e.getAutomaticTypeDirectiveNames=function(n,t){if(n.types)return n.types;var r=[];if(t.directoryExists&&t.getDirectories){var a=h(n,t);if(a)for(var i=0,o=a;i<o.length;i++){var s=o[i];if(t.directoryExists(s))for(var c=0,l=t.getDirectories(s);c<l.length;c++){var u=l[c],d=e.normalizePath(u),p=e.combinePaths(s,d,"package.json");if(!(t.fileExists(p)&&null===e.readJson(p,t).typings)){var f=e.getBaseFileName(d);46!==f.charCodeAt(0)&&r.push(f)}}}}return r},e.createModuleResolutionCache=function(e,n,t){return E(b(t),b(t),e,n)},e.createCacheWithRedirects=b,e.createModuleResolutionCacheWithMaps=E,e.resolveModuleNameFromCache=function(n,t,r){var a=e.getDirectoryPath(t),i=r&&r.getOrCreateCacheForDirectory(a);return i&&i.get(n)},e.resolveModuleName=function(r,a,i,o,s,c){var l=t(i,o);c&&(i=c.commandLine.options),l&&(n(o,e.Diagnostics.Resolving_module_0_from_1,r,a),c&&n(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,c.sourceFile.fileName));var u=e.getDirectoryPath(a),d=s&&s.getOrCreateCacheForDirectory(u,c),p=d&&d.get(r);if(p)l&&n(o,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,r,u);else{var f=i.moduleResolution;switch(void 0===f?(f=e.getEmitModuleKind(i)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic,l&&n(o,e.Diagnostics.Module_resolution_kind_is_not_specified_using_0,e.ModuleResolutionKind[f])):l&&n(o,e.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,e.ModuleResolutionKind[f]),e.perfLogger.logStartResolveModule(r),f){case e.ModuleResolutionKind.NodeJs:p=C(r,a,i,o,s,c);break;case e.ModuleResolutionKind.Classic:p=Y(r,a,i,o,s,c);break;default:return e.Debug.fail("Unexpected moduleResolution: "+f)}p&&p.resolvedModule&&e.perfLogger.logInfoEvent('Module "'+r+'" resolved to "'+p.resolvedModule.resolvedFileName+'"'),e.perfLogger.logStopResolveModule(p&&p.resolvedModule?""+p.resolvedModule.resolvedFileName:"null"),d&&(d.set(r,p),e.isExternalModuleNameRelative(r)||s.getOrCreateCacheForModuleName(r,c).set(u,p))}return l&&(p.resolvedModule?p.resolvedModule.packageId?n(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,r,p.resolvedModule.resolvedFileName,e.packageIdToString(p.resolvedModule.packageId)):n(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1,r,p.resolvedModule.resolvedFileName):n(o,e.Diagnostics.Module_name_0_was_not_resolved,r)),p},e.resolveJSModule=function(e,n,t){var r=D(e,n,t),a=r.resolvedModule,i=r.failedLookupLocations;if(!a)throw new Error("Could not resolve JS module '"+e+"' starting at '"+n+"'. Looked in: "+i.join(", "));return a.resolvedFileName},e.tryResolveJSModule=function(e,n,t){var r=D(e,n,t).resolvedModule;return r&&r.resolvedFileName};var S=[c.JavaScript],L=[c.TypeScript,c.JavaScript],x=o(L,[c.Json]),A=[c.TSConfig];function D(n,t,r){return I(n,t,{moduleResolution:e.ModuleResolutionKind.NodeJs,allowJs:!0},r,void 0,S,void 0)}function C(n,t,r,a,i,o,s){return I(n,e.getDirectoryPath(t),r,a,i,s?A:r.resolveJsonModule?x:L,o)}function I(r,a,i,o,l,u,p){var f,m,_=t(i,o),g=[],y={compilerOptions:i,host:o,traceEnabled:_,failedLookupLocations:g},h=e.forEach(u,(function(t){return function(t){var u=T(t,r,a,(function(e,n,t,r){return R(e,n,t,r,!0)}),y);if(u)return Q({resolved:u,isExternalLibraryImport:k(u.path)});if(e.isExternalModuleNameRelative(r)){var d=e.normalizePathAndParts(e.combinePaths(a,r)),f=d.path,m=d.parts,g=R(t,f,!1,y,!0);return g&&Q({resolved:g,isExternalLibraryImport:e.contains(m,"node_modules")})}_&&n(o,e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,r,c[t]);var h=j(t,r,a,y,l,p);if(!h)return;var v=h.value;if(!i.preserveSymlinks&&v&&!v.originalPath){var b=N(v.path,o,_),E=b===v.path?void 0:v.path;v=s(s({},v),{path:b,originalPath:E})}return{value:v&&{resolved:v,isExternalLibraryImport:!0}}}(t)}));return d(null===(f=null==h?void 0:h.value)||void 0===f?void 0:f.resolved,null===(m=null==h?void 0:h.value)||void 0===m?void 0:m.isExternalLibraryImport,g,y.resultFromCache)}function N(t,r,a){if(!r.realpath)return t;var i=e.normalizePath(r.realpath(t));return a&&n(r,e.Diagnostics.Resolving_real_path_for_0_result_1,t,i),e.Debug.assert(r.fileExists(i),t+" linked to nonexistent file "+i),i}function R(t,a,i,o,s){if(o.traceEnabled&&n(o.host,e.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,a,c[t]),!e.hasTrailingDirectorySeparator(a)){if(!i){var l=e.getDirectoryPath(a);e.directoryProbablyExists(l,o.host)||(o.traceEnabled&&n(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,l),i=!0)}var u=M(t,a,i,o);if(u){var d=s?function(n){var t=e.normalizePath(n.path),r=t.lastIndexOf(e.nodeModulesPathPart);if(-1===r)return;var a=r+e.nodeModulesPathPart.length,i=O(t,a);64===t.charCodeAt(a)&&(i=O(t,i));return t.slice(0,i)}(u):void 0;return r(d?B(d,!1,o):void 0,u)}}i||(e.directoryProbablyExists(a,o.host)||(o.traceEnabled&&n(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,a),i=!0));return G(t,a,i,o,s)}function k(n){return e.stringContains(n,e.nodeModulesPathPart)}function O(n,t){var r=n.indexOf(e.directorySeparator,t+1);return-1===r?t:r}function P(e,n,t,r){return a(M(e,n,t,r))}function M(t,r,a,i){if(t===c.Json||t===c.TSConfig){var o=e.tryRemoveExtension(r,".json");return void 0===o&&t===c.Json?void 0:w(o||r,t,a,i)}var s=w(r,t,a,i);if(s)return s;if(e.hasJSFileExtension(r)){var l=e.removeFileExtension(r);if(i.traceEnabled){var u=r.substring(l.length);n(i.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,r,u)}return w(l,t,a,i)}}function w(n,t,r,a){if(!r){var i=e.getDirectoryPath(n);i&&(r=!e.directoryProbablyExists(i,a.host))}switch(t){case c.DtsOnly:return o(".d.ts");case c.TypeScript:return o(".ts")||o(".tsx")||o(".d.ts");case c.JavaScript:return o(".js")||o(".jsx");case c.TSConfig:case c.Json:return o(".json")}function o(e){var t=F(n+e,r,a);return void 0===t?void 0:{path:t,ext:e}}}function F(t,r,a){if(!r){if(a.host.fileExists(t))return a.traceEnabled&&n(a.host,e.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,t),t;a.traceEnabled&&n(a.host,e.Diagnostics.File_0_does_not_exist,t)}a.failedLookupLocations.push(t)}function G(e,n,t,a,i){void 0===i&&(i=!0);var o=i?B(n,t,a):void 0;return r(o,U(e,n,t,a,o&&o.packageJsonContent,o&&o.versionPaths))}function B(t,r,a){var i=a.host,o=a.traceEnabled,s=!r&&e.directoryProbablyExists(t,i),c=e.combinePaths(t,"package.json");if(s&&i.fileExists(c)){var l=e.readJson(c,i);return o&&n(i,e.Diagnostics.Found_package_json_at_0,c),{packageDirectory:t,packageJsonContent:l,versionPaths:g(l,a)}}s&&o&&n(i,e.Diagnostics.File_0_does_not_exist,c),a.failedLookupLocations.push(c)}function U(t,r,o,s,l,u){var d;if(l)switch(t){case c.JavaScript:case c.Json:d=_(l,r,s);break;case c.TypeScript:d=m(l,r,s)||_(l,r,s);break;case c.DtsOnly:d=m(l,r,s);break;case c.TSConfig:d=function(e,n,t){return f(e,"tsconfig",n,t)}(l,r,s);break;default:return e.Debug.assertNever(t)}var p=function(t,r,i,o){var s=F(r,i,o);if(s){var l=function(n,t){var r=e.tryGetExtensionFromPath(t);return void 0!==r&&function(e,n){switch(e){case c.JavaScript:return".js"===n||".jsx"===n;case c.TSConfig:case c.Json:return".json"===n;case c.TypeScript:return".ts"===n||".tsx"===n||".d.ts"===n;case c.DtsOnly:return".d.ts"===n}}(n,r)?{path:t,ext:r}:void 0}(t,s);if(l)return a(l);o.traceEnabled&&n(o.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,s)}return R(t===c.DtsOnly?c.TypeScript:t,r,i,o,!1)},g=d?!e.directoryProbablyExists(e.getDirectoryPath(d),s.host):void 0,y=o||!e.directoryProbablyExists(r,s.host),h=e.combinePaths(r,t===c.TSConfig?"tsconfig":"index");if(u&&(!d||e.containsPath(r,d))){var v=e.getRelativePathFromDirectory(r,d||h,!1);s.traceEnabled&&n(s.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,u.version,e.version,v);var b=q(t,v,r,u.paths,p,g||y,s);if(b)return i(b.value)}var E=d&&i(p(t,d,g,s));return E||M(t,h,y,s)}function V(n){var t=n.indexOf(e.directorySeparator);return"@"===n[0]&&(t=n.indexOf(e.directorySeparator,t+1)),-1===t?{packageName:n,rest:""}:{packageName:n.slice(0,t),rest:n.slice(t+1)}}function j(e,n,t,r,a,i){return K(e,n,t,r,!1,a,i)}function K(n,t,r,a,i,o,s){var c=o&&o.getOrCreateCacheForModuleName(t,s);return e.forEachAncestorDirectory(e.normalizeSlashes(r),(function(r){if("node_modules"!==e.getBaseFileName(r)){var o=X(c,t,r,a);return o||Q(H(n,t,r,a,i))}}))}function H(t,r,a,i,o){var s=e.combinePaths(a,"node_modules"),l=e.directoryProbablyExists(s,i.host);!l&&i.traceEnabled&&n(i.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,s);var u=o?void 0:W(t,r,s,l,i);if(u)return u;if(t===c.TypeScript||t===c.DtsOnly){var d=e.combinePaths(s,"@types"),p=l;return l&&!e.directoryProbablyExists(d,i.host)&&(i.traceEnabled&&n(i.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,d),p=!1),W(c.DtsOnly,function(t,r){var a=z(t);r.traceEnabled&&a!==t&&n(r.host,e.Diagnostics.Scoped_package_detected_looking_in_0,a);return a}(r,i),d,p,i)}}function W(t,i,o,s,c){var l=e.normalizePath(e.combinePaths(o,i)),u=B(l,!s,c);if(u){var d=M(t,l,!s,c);if(d)return a(d);var p=U(t,l,!s,c,u.packageJsonContent,u.versionPaths);return r(u,p)}var f=function(e,n,t,a){var i=M(e,n,t,a)||U(e,n,t,a,u&&u.packageJsonContent,u&&u.versionPaths);return r(u,i)},m=V(i),_=m.packageName,g=m.rest;if(""!==g){var y=e.combinePaths(o,_);if((u=B(y,!s,c))&&u.versionPaths){c.traceEnabled&&n(c.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,u.versionPaths.version,e.version,g);var h=s&&e.directoryProbablyExists(y,c.host),v=q(t,g,y,u.versionPaths.paths,f,!h,c);if(v)return v.value}}return f(t,l,!s,c)}function q(t,r,i,o,s,c,l){var u=e.matchPatternOrExact(e.getOwnKeys(o),r);if(u){var d=e.isString(u)?void 0:e.matchedText(u,r),p=e.isString(u)?u:e.patternText(u);return l.traceEnabled&&n(l.host,e.Diagnostics.Module_name_0_matched_pattern_1,r,p),{value:e.forEach(o[p],(function(r){var o=d?r.replace("*",d):r,u=e.normalizePath(e.combinePaths(i,o));l.traceEnabled&&n(l.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,r,o);var p=e.tryGetExtensionFromPath(u);if(void 0!==p){var f=F(u,c,l);if(void 0!==f)return a({path:f,ext:p})}return s(t,u,c||!e.directoryProbablyExists(e.getDirectoryPath(u),l.host),l)}))}}}e.nodeModuleNameResolver=C,e.nodeModulesPathPart="/node_modules/",e.pathContainsNodeModules=k,e.parsePackageName=V;function z(n){if(e.startsWith(n,"@")){var t=n.replace(e.directorySeparator,"__");if(t!==n)return t.slice(1)}return n}function J(n){return e.stringContains(n,"__")?"@"+n.replace("__",e.directorySeparator):n}function X(t,r,a,i){var o=t&&t.get(a);if(o)return i.traceEnabled&&n(i.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,r,a),i.resultFromCache=o,{value:o.resolvedModule&&{path:o.resolvedModule.resolvedFileName,originalPath:o.resolvedModule.originalPath||!0,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId}}}function Y(n,r,a,i,o,s){var l=[],u={compilerOptions:a,host:i,traceEnabled:t(a,i),failedLookupLocations:l},p=e.getDirectoryPath(r),f=m(c.TypeScript)||m(c.JavaScript);return d(f&&f.value,!1,l,u.resultFromCache);function m(t){var r=T(t,n,p,P,u);if(r)return{value:r};if(e.isExternalModuleNameRelative(n)){var a=e.normalizePath(e.combinePaths(p,n));return Q(P(t,a,!1,u))}var i=o&&o.getOrCreateCacheForModuleName(n,s),l=e.forEachAncestorDirectory(p,(function(r){var a=X(i,n,r,u);if(a)return a;var o=e.normalizePath(e.combinePaths(r,n));return Q(P(t,o,!1,u))}));return l||(t===c.TypeScript?function(e,n,t){return K(c.DtsOnly,e,n,t,!0,void 0,void 0)}(n,p,u):void 0)}}function Q(e){return void 0!==e?{value:e}:void 0}e.getTypesPackageName=function(e){return"@types/"+z(e)},e.mangleScopedPackageName=z,e.getPackageNameFromTypesPackageName=function(n){var t=e.removePrefix(n,"@types/");return t!==n?J(t):n},e.unmangleScopedPackageName=J,e.classicNameResolver=Y,e.loadModuleFromGlobalCache=function(r,a,i,o,s){var l=t(i,o);l&&n(o,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,a,r,s);var u=[],p={compilerOptions:i,host:o,traceEnabled:l,failedLookupLocations:u};return d(H(c.DtsOnly,r,s,p,!1),!0,u,p.resultFromCache)}}(p||(p={})),function(e){var n;function t(n,t){return n.body&&!n.body.parent&&(e.setParent(n.body,n),e.setParentRecursive(n.body,!1)),n.body?r(n.body,t):1}function r(n,i){void 0===i&&(i=new e.Map);var o=e.getNodeId(n);if(i.has(o))return i.get(o)||0;i.set(o,void 0);var s=function(n,i){switch(n.kind){case 250:case 251:return 0;case 252:if(e.isEnumConst(n))return 2;break;case 258:case 257:if(!e.hasSyntacticModifier(n,1))return 0;break;case 264:var o=n;if(!o.moduleSpecifier&&o.exportClause&&265===o.exportClause.kind){for(var s=0,c=0,l=o.exportClause.elements;c<l.length;c++){var u=a(l[c],i);if(u>s&&(s=u),1===s)return s}return s}break;case 254:var d=0;return e.forEachChild(n,(function(n){var t=r(n,i);switch(t){case 0:return;case 2:return void(d=2);case 1:return d=1,!0;default:e.Debug.assertNever(t)}})),d;case 253:return t(n,i);case 78:if(n.isInJSDocNamespace)return 0}return 1}(n,i);return i.set(o,s),s}function a(n,t){for(var a=n.propertyName||n.name,i=n.parent;i;){if(e.isBlock(i)||e.isModuleBlock(i)||e.isSourceFile(i)){for(var o=void 0,s=0,c=i.statements;s<c.length;s++){var l=c[s];if(e.nodeHasName(l,a)){l.parent||(e.setParent(l,i),e.setParentRecursive(l,!1));var u=r(l,t);if((void 0===o||u>o)&&(o=u),1===o)return o}}if(void 0!==o)return o}i=i.parent}return 1}function i(n){return e.Debug.attachFlowNodeDebugInfo(n),n}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t,function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(n||(n={}));var c=function(){var n,r,a,c,p,f,m,_,g,y,h,v,b,E,T,S,L,x,A,D,C,I,N,R,k=0,O={flags:1},P={flags:1};function M(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(t)||n,t,r,a,i,o)}return function(t,o){n=t,r=o,a=e.getEmitScriptTarget(r),I=function(n,t){return!(!e.getStrictOptionValue(t,"alwaysStrict")||n.isDeclarationFile)||!!n.externalModuleIndicator}(n,o),R=new e.Set,k=0,N=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(O),e.Debug.attachFlowNodeDebugInfo(P),n.locals||(Pe(n),n.symbolCount=k,n.classifiableNames=R,function(){if(!g)return;for(var t=p,r=_,a=m,o=c,s=h,l=0,d=g;l<d.length;l++){var f=d[l],y=e.getJSDocHost(f);p=e.findAncestor(y.parent,(function(e){return!!(1&Ee(e))}))||n,m=e.getEnclosingBlockScopeContainer(y)||n,h=i({flags:2}),c=f,Pe(f.typeExpression);var v=e.getNameOfDeclaration(f);if((e.isJSDocEnumTag(f)||!f.fullName)&&v&&e.isPropertyAccessEntityNameExpression(v.parent)){var b=Je(v.parent);if(b){qe(n.symbol,v.parent,b,!!e.findAncestor(v,(function(n){return e.isPropertyAccessExpression(n)&&"prototype"===n.name.escapedText})),!1);var E=p;switch(e.getAssignmentDeclarationPropertyAccessKind(v.parent)){case 1:case 2:p=e.isExternalOrCommonJsModule(n)?n:void 0;break;case 4:p=v.parent.expression;break;case 3:p=v.parent.expression.name;break;case 5:p=u(n,v.parent.expression)?n:e.isPropertyAccessExpression(v.parent.expression)?v.parent.expression.name:v.parent.expression;break;case 0:return e.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}p&&V(f,524288,788968),p=E}}else e.isJSDocEnumTag(f)||!f.fullName||78===f.fullName.kind?(c=f.parent,De(f,524288,788968)):Pe(f.fullName)}p=t,_=r,m=a,c=o,h=s}()),n=void 0,r=void 0,a=void 0,c=void 0,p=void 0,f=void 0,m=void 0,_=void 0,g=void 0,y=!1,h=void 0,v=void 0,b=void 0,E=void 0,T=void 0,S=void 0,L=void 0,A=void 0,D=!1,C=0};function w(e,n){return k++,new N(e,n)}function F(n,t,r){n.flags|=r,t.symbol=n,n.declarations=e.appendIfUnique(n.declarations,t),1955&r&&!n.exports&&(n.exports=e.createSymbolTable()),6240&r&&!n.members&&(n.members=e.createSymbolTable()),n.constEnumOnlyModule&&304&n.flags&&(n.constEnumOnlyModule=!1),111551&r&&e.setValueDeclaration(n,t)}function G(n){if(263===n.kind)return n.isExportEquals?"export=":"default";var t=e.getNameOfDeclaration(n);if(t){if(e.isAmbientModule(n)){var r=e.getTextOfIdentifierOrLiteral(t);return e.isGlobalScopeAugmentation(n)?"__global":'"'+r+'"'}if(157===t.kind){var a=t.expression;return e.isStringOrNumericLiteralLike(a)?e.escapeLeadingUnderscores(a.text):e.isSignedNumericLiteral(a)?e.tokenToString(a.operator)+a.operand.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(a)),e.getPropertyNameForKnownSymbolName(e.idText(a.name)))}if(e.isWellKnownSymbolSyntactically(t))return e.getPropertyNameForKnownSymbolName(e.idText(t.name));if(e.isPrivateIdentifier(t)){var i=e.getContainingClass(n);if(!i)return;var o=i.symbol;return e.getSymbolNameForPrivateIdentifier(o,t.escapedText)}return e.isPropertyNameLiteral(t)?e.getEscapedTextOfIdentifierOrLiteral(t):void 0}switch(n.kind){case 165:return"__constructor";case 173:case 168:case 309:return"__call";case 174:case 169:return"__new";case 170:return"__index";case 264:return"__export";case 294:return"export=";case 213:if(2===e.getAssignmentDeclarationKind(n))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 304:return e.isJSDocConstructSignature(n)?"__new":"__call";case 159:return e.Debug.assert(304===n.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[n.parent.kind]:n.parent.kind)+", expected JSDocFunctionType"})),"arg"+n.parent.parameters.indexOf(n)}}function B(n){return e.isNamedDeclaration(n)?e.declarationNameToString(n.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(G(n)))}function U(t,r,a,i,s,c){e.Debug.assert(!e.hasDynamicName(a));var l,u=e.hasSyntacticModifier(a,512)||e.isExportSpecifier(a)&&"default"===a.name.escapedText,d=u&&r?"default":G(a);if(void 0===d)l=w(0,"__missing");else if(l=t.get(d),2885600&i&&R.add(d),l){if(c&&!l.isReplaceableByMethod)return l;if(l.flags&s)if(l.isReplaceableByMethod)t.set(d,l=w(0,d));else if(!(3&i&&67108864&l.flags)){e.isNamedDeclaration(a)&&e.setParent(a.name,a);var p=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,f=!0;(384&l.flags||384&i)&&(p=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,f=!1);var m=!1;e.length(l.declarations)&&(u||l.declarations&&l.declarations.length&&263===a.kind&&!a.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports,f=!1,m=!0);var _=[];e.isTypeAliasDeclaration(a)&&e.nodeIsMissing(a.type)&&e.hasSyntacticModifier(a,1)&&2887656&l.flags&&_.push(M(a,e.Diagnostics.Did_you_mean_0,"export type { "+e.unescapeLeadingUnderscores(a.name.escapedText)+" }"));var g=e.getNameOfDeclaration(a)||a;e.forEach(l.declarations,(function(t,r){var a=e.getNameOfDeclaration(t)||t,i=M(a,p,f?B(t):void 0);n.bindDiagnostics.push(m?e.addRelatedInfo(i,M(g,0===r?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):i),m&&_.push(M(a,e.Diagnostics.The_first_export_default_is_here))}));var y=M(g,p,f?B(a):void 0);n.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,o([y],_))),l=w(0,d)}}else t.set(d,l=w(0,d)),c&&(l.isReplaceableByMethod=!0);return F(l,a,i),l.parent?e.Debug.assert(l.parent===r,"Existing symbol parent should match new one"):l.parent=r,l}function V(n,t,r){var a=1&e.getCombinedModifierFlags(n);if(2097152&t)return 267===n.kind||257===n.kind&&a?U(p.symbol.exports,p.symbol,n,t,r):U(p.locals,void 0,n,t,r);if(e.isJSDocTypeAlias(n)&&e.Debug.assert(e.isInJSFile(n)),!e.isAmbientModule(n)&&(a||64&p.flags)||e.isJSDocTypeAlias(n)){if(!p.locals||e.hasSyntacticModifier(n,512)&&!G(n))return U(p.symbol.exports,p.symbol,n,t,r);var i=111551&t?1048576:0,o=U(p.locals,void 0,n,i,r);return o.exportSymbol=U(p.symbol.exports,p.symbol,n,t,r),n.localSymbol=o,o}return U(p.locals,void 0,n,t,r)}function j(e){K(e,(function(e){return 248===e.kind?Pe(e):void 0})),K(e,(function(e){return 248!==e.kind?Pe(e):void 0}))}function K(n,t){void 0===t&&(t=Pe),void 0!==n&&e.forEach(n,t)}function H(n){e.forEachChild(n,Pe,K)}function W(n){if(function(n){if(!(1&h.flags))return!1;if(h===O){if((e.isStatementButNotDeclaration(n)&&228!==n.kind||249===n.kind||253===n.kind&&function(e){var n=t(e);return 1===n||2===n&&!!r.preserveConstEnums}(n))&&(h=P,!r.allowUnreachableCode)){var a=e.unreachableCodeIsError(r)&&!(8388608&n.flags)&&(!e.isVariableStatement(n)||!!(3&e.getCombinedNodeFlags(n.declarationList))||n.declarationList.declarations.some((function(e){return!!e.initializer})));!function(n,t){if(e.isStatement(n)&&l(n)&&e.isBlock(n.parent)){var r=n.parent.statements,a=e.sliceAfter(r,n);e.getRangesWhere(a,l,(function(e,n){return t(a[e],a[n-1])}))}else t(n,n)}(n,(function(n,t){return Oe(a,n,t,e.Diagnostics.Unreachable_code_detected)}))}}return!0}(n))return H(n),void Me(n);switch(n.kind>=229&&n.kind<=245&&!r.allowUnreachableCode&&(n.flowNode=h),n.kind){case 233:!function(e){var n=fe(e,Z()),t=Q(),r=Q();ne(n,h),h=n,de(e.expression,t,r),h=oe(t),pe(e.statement,r,n),ne(n,h),h=oe(r)}(n);break;case 232:!function(e){var n=Z(),t=fe(e,Q()),r=Q();ne(n,h),h=n,pe(e.statement,r,t),ne(t,h),h=oe(t),de(e.expression,n,r),h=oe(r)}(n);break;case 234:!function(e){var n=fe(e,Z()),t=Q(),r=Q();Pe(e.initializer),ne(n,h),h=n,de(e.condition,t,r),h=oe(t),pe(e.statement,r,n),Pe(e.incrementor),ne(n,h),h=oe(r)}(n);break;case 235:case 236:!function(e){var n=fe(e,Z()),t=Q();Pe(e.expression),ne(n,h),h=n,236===e.kind&&Pe(e.awaitModifier);ne(t,h),Pe(e.initializer),247!==e.initializer.kind&&ge(e.initializer);pe(e.statement,t,n),ne(n,h),h=oe(t)}(n);break;case 231:!function(e){var n=Q(),t=Q(),r=Q();de(e.expression,n,t),h=oe(n),Pe(e.thenStatement),ne(r,h),h=oe(t),Pe(e.elseStatement),ne(r,h),h=oe(r)}(n);break;case 239:case 243:!function(e){Pe(e.expression),239===e.kind&&(D=!0,E&&ne(E,h));h=O}(n);break;case 238:case 237:!function(e){if(Pe(e.label),e.label){var n=function(e){for(var n=A;n;n=n.next)if(n.name===e)return n;return}(e.label.escapedText);n&&(n.referenced=!0,me(e,n.breakTarget,n.continueTarget))}else me(e,v,b)}(n);break;case 244:!function(n){var t=E,r=L,a=Q(),i=Q(),o=Q();n.finallyBlock&&(E=i);ne(o,h),L=o,Pe(n.tryBlock),ne(a,h),n.catchClause&&(h=oe(o),ne(o=Q(),h),L=o,Pe(n.catchClause),ne(a,h));if(E=t,L=r,n.finallyBlock){var s=Q();s.antecedents=e.concatenate(e.concatenate(a.antecedents,o.antecedents),i.antecedents),h=s,Pe(n.finallyBlock),1&h.flags?h=O:(E&&i.antecedents&&ne(E,$(s,i.antecedents,h)),L&&o.antecedents&&ne(L,$(s,o.antecedents,h)),h=a.antecedents?$(s,a.antecedents,h):O)}else h=oe(a)}(n);break;case 241:!function(n){var t=Q();Pe(n.expression);var r=v,a=x;v=t,x=h,Pe(n.caseBlock),ne(t,h);var i=e.forEach(n.caseBlock.clauses,(function(e){return 282===e.kind}));n.possiblyExhaustive=!i&&!t.antecedents,i||ne(t,re(x,n,0,0));v=r,x=a,h=oe(t)}(n);break;case 255:!function(e){for(var n=e.clauses,t=q(e.parent.expression),a=O,i=0;i<n.length;i++){for(var o=i;!n[i].statements.length&&i+1<n.length;)Pe(n[i]),i++;var s=Q();ne(s,t?re(x,e.parent,o,i+1):x),ne(s,a),h=oe(s);var c=n[i];Pe(c),a=h,1&h.flags||i===n.length-1||!r.noFallthroughCasesInSwitch||(c.fallthroughFlowNode=h)}}(n);break;case 281:!function(e){var n=h;h=x,Pe(e.expression),h=n,K(e.statements)}(n);break;case 230:!function(n){if(Pe(n.expression),200===n.expression.kind){var t=n.expression;e.isDottedName(t.expression)&&105!==t.expression.kind&&(h=ie(h,t))}}(n);break;case 242:!function(n){var t=Q();A={next:A,name:n.label.escapedText,breakTarget:t,continueTarget:void 0,referenced:!1},Pe(n.label),Pe(n.statement),A.referenced||r.allowUnusedLabels||function(e,n,t){Oe(e,n,n,t)}(e.unusedLabelIsError(r),n.label,e.Diagnostics.Unused_label);A=A.next,ne(t,h),h=oe(t)}(n);break;case 211:!function(e){if(53===e.operator){var n=T;T=S,S=n,H(e),S=T,T=n}else H(e),45!==e.operator&&46!==e.operator||ge(e.operand)}(n);break;case 212:!function(e){H(e),(45===e.operator||46===e.operator)&&ge(e.operand)}(n);break;case 213:!function(n){var t={expr:[n],state:[1],inStrictMode:[void 0],parent:[void 0]},r=0;for(;r>=0;)switch(n=t.expr[r],t.state[r]){case 0:e.setParent(n,c);var a=I;Fe(n);var i=c;c=n,l(1,a,i);break;case 1:if(55===(s=n.operatorToken.kind)||56===s||60===s||e.isLogicalOrCoalescingAssignmentOperator(s)){if(le(n)){var o=Q();ye(n,o,o),h=oe(o)}else ye(n,T,S);u()}else l(2),d(n.left);break;case 2:l(3),d(n.operatorToken);break;case 3:l(4),d(n.right);break;case 4:var s=n.operatorToken.kind;if(e.isAssignmentOperator(s)&&!e.isAssignmentTarget(n))if(ge(n.left),62===s&&199===n.left.kind)Y(n.left.expression)&&(h=ae(256,h,n));u();break;default:return e.Debug.fail("Invalid state "+t.state[r]+" for bindBinaryExpressionFlow")}function l(e,n,a){t.state[r]=e,void 0!==n&&(t.inStrictMode[r]=n),void 0!==a&&(t.parent[r]=a)}function u(){void 0!==t.inStrictMode[r]&&(I=t.inStrictMode[r],c=t.parent[r]),r--}function d(n){n&&e.isBinaryExpression(n)?(r++,t.expr[r]=n,t.state[r]=0,t.inStrictMode[r]=void 0,t.parent[r]=void 0):Pe(n)}}(n);break;case 207:!function(e){H(e),198===e.expression.kind&&ge(e.expression)}(n);break;case 214:!function(e){var n=Q(),t=Q(),r=Q();de(e.condition,n,t),h=oe(n),Pe(e.questionToken),Pe(e.whenTrue),ne(r,h),h=oe(t),Pe(e.colonToken),Pe(e.whenFalse),ne(r,h),h=oe(r)}(n);break;case 246:!function(n){H(n),(n.initializer||e.isForInOrOfStatement(n.parent.parent))&&function n(t){var r=e.isOmittedExpression(t)?void 0:t.name;if(e.isBindingPattern(r))for(var a=0,i=r.elements;a<i.length;a++){var o=i[a];n(o)}else h=ae(16,h,t)}(n)}(n);break;case 198:case 199:!function(n){e.isOptionalChain(n)?be(n):H(n)}(n);break;case 200:!function(n){if(e.isOptionalChain(n))be(n);else{var t=e.skipParentheses(n.expression);205===t.kind||206===t.kind?(K(n.typeArguments),K(n.arguments),Pe(n.expression)):(H(n),105===n.expression.kind&&(h=ie(h,n)))}if(198===n.expression.kind){var r=n.expression;e.isIdentifier(r.name)&&Y(r.expression)&&e.isPushOrUnshiftIdentifier(r.name)&&(h=ae(256,h,n))}}(n);break;case 222:!function(n){e.isOptionalChain(n)?be(n):H(n)}(n);break;case 327:case 320:case 321:!function(n){e.setParent(n.tagName,n),321!==n.kind&&n.fullName&&(e.setParent(n.fullName,n),e.setParentRecursive(n.fullName,!1))}(n);break;case 294:j(n.statements),Pe(n.endOfFileToken);break;case 227:case 254:j(n.statements);break;default:H(n)}Me(n)}function q(n){switch(n.kind){case 78:case 107:case 198:case 199:return J(n);case 200:return function(e){if(e.arguments)for(var n=0,t=e.arguments;n<t.length;n++){if(J(t[n]))return!0}if(198===e.expression.kind&&J(e.expression.expression))return!0;return!1}(n);case 204:return q(n.expression);case 213:return function(n){switch(n.operatorToken.kind){case 62:case 74:case 75:case 76:return J(n.left);case 34:case 35:case 36:case 37:return Y(n.left)||Y(n.right)||X(n.right,n.left)||X(n.left,n.right);case 101:return Y(n.left);case 100:return t=n.left,r=n.right,e.isStringLiteralLike(t)&&q(r);case 27:return q(n.right)}var t,r;return!1}(n);case 211:return 53===n.operator&&q(n.operand);case 208:return q(n.expression)}return!1}function z(n){return 78===n.kind||107===n.kind||105===n.kind||(e.isPropertyAccessExpression(n)||e.isNonNullExpression(n)||e.isParenthesizedExpression(n))&&z(n.expression)||e.isElementAccessExpression(n)&&e.isStringOrNumericLiteralLike(n.argumentExpression)&&z(n.expression)||e.isAssignmentExpression(n)&&z(n.left)}function J(n){return z(n)||e.isOptionalChain(n)&&J(n.expression)}function X(n,t){return e.isTypeOfExpression(n)&&Y(n.expression)&&e.isStringLiteralLike(t)}function Y(e){switch(e.kind){case 204:return Y(e.expression);case 213:switch(e.operatorToken.kind){case 62:return Y(e.left);case 27:return Y(e.right)}}return J(e)}function Q(){return i({flags:4,antecedents:void 0})}function Z(){return i({flags:8,antecedents:void 0})}function $(e,n,t){return i({flags:1024,target:e,antecedents:n,antecedent:t})}function ee(e){e.flags|=2048&e.flags?4096:2048}function ne(n,t){1&t.flags||e.contains(n.antecedents,t)||((n.antecedents||(n.antecedents=[])).push(t),ee(t))}function te(n,t,r){return 1&t.flags?t:r?!(109===r.kind&&64&n||94===r.kind&&32&n)||e.isExpressionOfOptionalChainRoot(r)||e.isNullishCoalesce(r.parent)?q(r)?(ee(t),i({flags:n,antecedent:t,node:r})):t:O:32&n?t:O}function re(e,n,t,r){return ee(e),i({flags:128,antecedent:e,switchStatement:n,clauseStart:t,clauseEnd:r})}function ae(e,n,t){ee(n);var r=i({flags:e,antecedent:n,node:t});return L&&ne(L,r),r}function ie(e,n){return ee(e),i({flags:512,antecedent:e,node:n})}function oe(e){var n=e.antecedents;return n?1===n.length?n[0]:e:O}function se(e){for(;;)if(204===e.kind)e=e.expression;else{if(211!==e.kind||53!==e.operator)return 213===e.kind&&(55===e.operatorToken.kind||56===e.operatorToken.kind||60===e.operatorToken.kind);e=e.operand}}function ce(n){return n=e.skipParentheses(n),e.isBinaryExpression(n)&&e.isLogicalOrCoalescingAssignmentOperator(n.operatorToken.kind)}function le(n){for(;e.isParenthesizedExpression(n.parent)||e.isPrefixUnaryExpression(n.parent)&&53===n.parent.operator;)n=n.parent;return!(function(e){var n=e.parent;switch(n.kind){case 231:case 233:case 232:return n.expression===e;case 234:case 214:return n.condition===e}return!1}(n)||ce(n.parent)||se(n.parent)||e.isOptionalChain(n.parent)&&n.parent.expression===n)}function ue(e,n,t,r){var a=T,i=S;T=t,S=r,e(n),T=a,S=i}function de(n,t,r){ue(Pe,n,t,r),n&&(ce(n)||se(n)||e.isOptionalChain(n)&&e.isOutermostOptionalChain(n))||(ne(t,te(32,h,n)),ne(r,te(64,h,n)))}function pe(e,n,t){var r=v,a=b;v=n,b=t,Pe(e),v=r,b=a}function fe(e,n){for(var t=A;t&&242===e.parent.kind;)t.continueTarget=n,t=t.next,e=e.parent;return n}function me(e,n,t){var r=238===e.kind?n:t;r&&(ne(r,h),h=O)}function _e(e){213===e.kind&&62===e.operatorToken.kind?ge(e.left):ge(e)}function ge(e){if(z(e))h=ae(16,h,e);else if(196===e.kind)for(var n=0,t=e.elements;n<t.length;n++){var r=t[n];217===r.kind?ge(r.expression):_e(r)}else if(197===e.kind)for(var a=0,i=e.properties;a<i.length;a++){var o=i[a];285===o.kind?_e(o.initializer):286===o.kind?ge(o.name):287===o.kind&&ge(o.expression)}}function ye(n,t,r){var a=Q();55===n.operatorToken.kind||75===n.operatorToken.kind?de(n.left,a,r):de(n.left,t,a),h=oe(a),Pe(n.operatorToken),e.isLogicalOrCoalescingAssignmentOperator(n.operatorToken.kind)?(ue(Pe,n.right,t,r),ge(n.left),ne(t,te(32,h,n)),ne(r,te(64,h,n))):de(n.right,t,r)}function he(e){switch(e.kind){case 198:Pe(e.questionDotToken),Pe(e.name);break;case 199:Pe(e.questionDotToken),Pe(e.argumentExpression);break;case 200:Pe(e.questionDotToken),K(e.typeArguments),K(e.arguments)}}function ve(n,t,r){var a=e.isOptionalChainRoot(n)?Q():void 0;!function(n,t,r){ue(Pe,n,t,r),e.isOptionalChain(n)&&!e.isOutermostOptionalChain(n)||(ne(t,te(32,h,n)),ne(r,te(64,h,n)))}(n.expression,a||t,r),a&&(h=oe(a)),ue(he,n,t,r),e.isOutermostOptionalChain(n)&&(ne(t,te(32,h,n)),ne(r,te(64,h,n)))}function be(e){if(le(e)){var n=Q();ve(e,n,n),h=oe(n)}else ve(e,T,S)}function Ee(n){switch(n.kind){case 218:case 249:case 252:case 197:case 176:case 308:case 278:return 1;case 250:return 65;case 253:case 251:case 189:return 33;case 294:return 37;case 164:if(e.isObjectLiteralOrClassExpressionMethod(n))return 173;case 165:case 248:case 163:case 166:case 167:case 168:case 309:case 304:case 173:case 169:case 170:case 174:return 45;case 205:case 206:return 61;case 254:return 4;case 162:return n.initializer?4:0;case 284:case 234:case 235:case 236:case 255:return 2;case 227:return e.isFunctionLike(n.parent)?0:2}return 0}function Te(e){_&&(_.nextContainer=e),_=e}function Se(t,r,a){switch(p.kind){case 253:return V(t,r,a);case 294:return function(t,r,a){return e.isExternalModule(n)?V(t,r,a):U(n.locals,void 0,t,r,a)}(t,r,a);case 218:case 249:return function(n,t,r){return e.hasSyntacticModifier(n,32)?U(p.symbol.exports,p.symbol,n,t,r):U(p.symbol.members,p.symbol,n,t,r)}(t,r,a);case 252:return U(p.symbol.exports,p.symbol,t,r,a);case 176:case 308:case 197:case 250:case 278:return U(p.symbol.members,p.symbol,t,r,a);case 173:case 174:case 168:case 169:case 309:case 170:case 164:case 163:case 165:case 166:case 167:case 248:case 205:case 206:case 304:case 327:case 320:case 251:case 189:return U(p.locals,void 0,t,r,a)}}function Le(n){8388608&n.flags&&!function(n){var t=e.isSourceFile(n)?n:e.tryCast(n.body,e.isModuleBlock);return!!t&&t.statements.some((function(n){return e.isExportDeclaration(n)||e.isExportAssignment(n)}))}(n)?n.flags|=64:n.flags&=-65}function xe(e){var n=t(e),r=0!==n;return Se(e,r?512:1024,r?110735:0),n}function Ae(e,n,t){var r=w(n,t);return 106508&n&&(r.parent=p.symbol),F(r,e,n),r}function De(n,t,r){switch(m.kind){case 253:V(n,t,r);break;case 294:if(e.isExternalOrCommonJsModule(p)){V(n,t,r);break}default:m.locals||(m.locals=e.createSymbolTable(),Te(m)),U(m.locals,void 0,n,t,r)}}function Ce(t){n.parseDiagnostics.length||8388608&t.flags||4194304&t.flags||e.isIdentifierName(t)||(I&&t.originalKeywordKind>=116&&t.originalKeywordKind<=124?n.bindDiagnostics.push(M(t,function(t){if(e.getContainingClass(t))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(t),e.declarationNameToString(t))):130===t.originalKeywordKind?e.isExternalModule(n)&&e.isInTopLevelContext(t)?n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(t))):32768&t.flags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(t))):124===t.originalKeywordKind&&8192&t.flags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(t))))}function Ie(t,r){if(r&&78===r.kind){var a=r;if(o=a,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var i=e.getErrorSpanForNode(n,r);n.bindDiagnostics.push(e.createFileDiagnostic(n,i.start,i.length,function(t){if(e.getContainingClass(t))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(t),e.idText(a)))}}var o}function Ne(e){I&&Ie(e,e.name)}function Re(t){if(a<2&&294!==m.kind&&253!==m.kind&&!e.isFunctionLike(m)){var r=e.getErrorSpanForNode(n,t);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,function(t){return e.getContainingClass(t)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}(t)))}}function ke(t,r,a,i,o){var s=e.getSpanOfTokenAtPosition(n,t.pos);n.bindDiagnostics.push(e.createFileDiagnostic(n,s.start,s.length,r,a,i,o))}function Oe(t,r,a,i){!function(t,r,a){var i=e.createFileDiagnostic(n,r.pos,r.end-r.pos,a);t?n.bindDiagnostics.push(i):n.bindSuggestionDiagnostics=e.append(n.bindSuggestionDiagnostics,s(s({},i),{category:e.DiagnosticCategory.Suggestion}))}(t,{pos:e.getTokenPosOfNode(r,n),end:a.end},i)}function Pe(n){if(n){e.setParent(n,c);var t=I;if(Fe(n),n.kind>155){var r=c;c=n;var a=Ee(n);0===a?W(n):function(n,t){var r=p,a=f,o=m;if(1&t?(206!==n.kind&&(f=p),p=m=n,32&t&&(p.locals=e.createSymbolTable()),Te(p)):2&t&&((m=n).locals=void 0),4&t){var s=h,c=v,l=b,u=E,d=L,_=A,g=D,T=16&t&&!e.hasSyntacticModifier(n,256)&&!n.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(n);T||(h=i({flags:2}),144&t&&(h.node=n)),E=T||165===n.kind||e.isInJSFile&&(248===n.kind||205===n.kind)?Q():void 0,L=void 0,v=void 0,b=void 0,A=void 0,D=!1,W(n),n.flags&=-2817,!(1&h.flags)&&8&t&&e.nodeIsPresent(n.body)&&(n.flags|=256,D&&(n.flags|=512),n.endFlowNode=h),294===n.kind&&(n.flags|=C),E&&(ne(E,h),h=oe(E),(165===n.kind||e.isInJSFile&&(248===n.kind||205===n.kind))&&(n.returnFlowNode=h)),T||(h=s),v=c,b=l,E=u,L=d,A=_,D=g}else 64&t?(y=!1,W(n),n.flags=y?128|n.flags:-129&n.flags):W(n);p=r,f=a,m=o}(n,a),c=r}else{r=c;1===n.kind&&(c=n),Me(n),c=r}I=t}}function Me(n){if(e.hasJSDocNodes(n))if(e.isInJSFile(n))for(var t=0,r=n.jsDoc;t<r.length;t++){Pe(o=r[t])}else for(var a=0,i=n.jsDoc;a<i.length;a++){var o=i[a];e.setParent(o,n),e.setParentRecursive(o,!1)}}function we(t){if(!I)for(var r=0,a=t;r<a.length;r++){var i=a[r];if(!e.isPrologueDirective(i))return;if(o=i,s=void 0,'"use strict"'===(s=e.getSourceTextOfNodeFromSourceFile(n,o.expression))||"'use strict'"===s)return void(I=!0)}var o,s}function Fe(t){switch(t.kind){case 78:if(t.isInJSDocNamespace){for(var a=t.parent;a&&!e.isJSDocTypeAlias(a);)a=a.parent;De(a,524288,788968);break}case 107:return h&&(e.isExpression(t)||286===c.kind)&&(t.flowNode=h),Ce(t);case 105:t.flowNode=h;break;case 79:return function(t){"#constructor"===t.escapedText&&(n.parseDiagnostics.length||n.bindDiagnostics.push(M(t,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(t))))}(t);case 198:case 199:var i=t;h&&z(i)&&(i.flowNode=h),e.isSpecialPropertyDeclaration(i)&&function(n){107===n.expression.kind?Ve(n):e.isBindableStaticAccessExpression(n)&&294===n.parent.parent.kind&&(e.isPrototypeAccess(n.expression)?He(n,n.parent):We(n))}(i),e.isInJSFile(i)&&n.commonJsModuleIndicator&&e.isModuleExportsAccessExpression(i)&&!d(m,"module")&&U(n.locals,void 0,i.expression,134217729,111550);break;case 213:switch(e.getAssignmentDeclarationKind(t)){case 1:Ue(t);break;case 2:!function(t){if(!Be(t))return;var r=e.getRightMostAssignedExpression(t.right);if(e.isEmptyObjectLiteral(r)||p===n&&u(n,r))return;var a=e.exportAssignmentIsAlias(t)?2097152:1049092,i=U(n.symbol.exports,n.symbol,t,67108864|a,0);e.setValueDeclaration(i,t)}(t);break;case 3:He(t.left,t);break;case 6:!function(n){e.setParent(n.left,n),e.setParent(n.right,n),Xe(n.left.expression,n.left,!1,!0)}(t);break;case 4:Ve(t);break;case 5:!function(t){var r=Ye(t.left.expression,p)||Ye(t.left.expression,m);if(!e.isInJSFile(t)&&!e.isFunctionSymbol(r))return;if(e.setParent(t.left,t),e.setParent(t.right,t),e.isIdentifier(t.left.expression)&&p===n&&u(n,t.left.expression))Ue(t);else if(e.hasDynamicName(t)){Ae(t,67108868,"__computed");var a=qe(r,t.left.expression,Je(t.left),!1,!1);Ke(t,a)}else We(e.cast(t.left,e.isBindableStaticNameExpression))}(t);break;case 0:break;default:e.Debug.fail("Unknown binary expression special property assignment kind")}return function(n){I&&e.isLeftHandSideExpression(n.left)&&e.isAssignmentOperator(n.operatorToken.kind)&&Ie(n,n.left)}(t);case 284:return function(e){I&&e.variableDeclaration&&Ie(e,e.variableDeclaration.name)}(t);case 207:return function(t){if(I&&78===t.expression.kind){var r=e.getErrorSpanForNode(n,t.expression);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(t);case 8:return function(t){I&&32&t.numericLiteralFlags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(t);case 212:return function(e){I&&Ie(e,e.operand)}(t);case 211:return function(e){I&&(45!==e.operator&&46!==e.operator||Ie(e,e.operand))}(t);case 240:return function(n){I&&ke(n,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(t);case 242:return function(n){I&&r.target>=2&&(e.isDeclarationStatement(n.statement)||e.isVariableStatement(n.statement))&&ke(n.label,e.Diagnostics.A_label_is_not_allowed_here)}(t);case 186:return void(y=!0);case 171:break;case 158:return function(n){if(e.isJSDocTemplateTag(n.parent)){var t=e.find(n.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(n.parent);t?(t.locals||(t.locals=e.createSymbolTable()),U(t.locals,void 0,n,262144,526824)):Se(n,262144,526824)}else if(184===n.parent.kind){var r=function(n){var t=e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&n.parent.extendsType===n}));return t&&t.parent}(n.parent);r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,n,262144,526824)):Ae(n,262144,G(n))}else Se(n,262144,526824)}(t);case 159:return $e(t);case 246:return Ze(t);case 195:return t.flowNode=h,Ze(t);case 162:case 161:return function(e){return en(e,4|(e.questionToken?16777216:0),0)}(t);case 285:case 286:return en(t,4,0);case 288:return en(t,8,900095);case 168:case 169:case 170:return Se(t,131072,0);case 164:case 163:return en(t,8192|(t.questionToken?16777216:0),e.isObjectLiteralMethod(t)?0:103359);case 248:return function(t){n.isDeclarationFile||8388608&t.flags||e.isAsyncFunction(t)&&(C|=2048);Ne(t),I?(Re(t),De(t,16,110991)):Se(t,16,110991)}(t);case 165:return Se(t,16384,0);case 166:return en(t,32768,46015);case 167:return en(t,65536,78783);case 173:case 304:case 309:case 174:return function(n){var t=w(131072,G(n));F(t,n,131072);var r=w(2048,"__type");F(r,n,2048),r.members=e.createSymbolTable(),r.members.set(t.escapedName,t)}(t);case 176:case 308:case 189:return function(e){return Ae(e,2048,"__type")}(t);case 315:return function(n){H(n);var t=e.getHostSignatureFromJSDoc(n);t&&164!==t.kind&&F(t.symbol,t,32)}(t);case 197:return function(t){var r;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(r||(r={})),I&&!e.isAssignmentTarget(t))for(var a=new e.Map,i=0,o=t.properties;i<o.length;i++){var s=o[i];if(287!==s.kind&&78===s.name.kind){var c=s.name,l=285===s.kind||286===s.kind||164===s.kind?1:2,u=a.get(c.escapedText);if(u){if(1===l&&1===u){var d=e.getErrorSpanForNode(n,c);n.bindDiagnostics.push(e.createFileDiagnostic(n,d.start,d.length,e.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))}}else a.set(c.escapedText,l)}}return Ae(t,4096,"__object")}(t);case 205:case 206:return function(t){n.isDeclarationFile||8388608&t.flags||e.isAsyncFunction(t)&&(C|=2048);h&&(t.flowNode=h);Ne(t);var r=t.name?t.name.escapedText:"__function";return Ae(t,16,r)}(t);case 200:switch(e.getAssignmentDeclarationKind(t)){case 7:return function(e){var n=Ye(e.arguments[0]),t=294===e.parent.parent.kind;n=qe(n,e.arguments[0],t,!1,!1),ze(e,n,!1)}(t);case 8:return function(e){if(!Be(e))return;var n=Qe(e.arguments[0],void 0,(function(e,n){return n&&F(n,e,67110400),n}));if(n){U(n.exports,n,e,1048580,0)}}(t);case 9:return function(e){var n=Ye(e.arguments[0].expression);n&&n.valueDeclaration&&F(n,n.valueDeclaration,32);ze(e,n,!0)}(t);case 0:break;default:return e.Debug.fail("Unknown call expression assignment declaration kind")}e.isInJSFile(t)&&function(t){!n.commonJsModuleIndicator&&e.isRequireCall(t,!1)&&Be(t)}(t);break;case 218:case 249:return I=!0,function(t){if(249===t.kind)De(t,32,899503);else{var r=t.name?t.name.escapedText:"__class";Ae(t,32,r),t.name&&R.add(t.name.escapedText)}var a=t.symbol,i=w(4194308,"prototype"),o=a.exports.get(i.escapedName);o&&(t.name&&e.setParent(t.name,t),n.bindDiagnostics.push(M(o.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.symbolName(i))));a.exports.set(i.escapedName,i),i.parent=a}(t);case 250:return De(t,64,788872);case 251:return De(t,524288,788968);case 252:return function(n){return e.isEnumConst(n)?De(n,128,899967):De(n,256,899327)}(t);case 253:return function(t){if(Le(t),e.isAmbientModule(t))if(e.hasSyntacticModifier(t,1)&&ke(t,e.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),e.isModuleAugmentationExternal(t))xe(t);else{var r=void 0;if(10===t.name.kind){var a=t.name.text;e.hasZeroOrOneAsteriskCharacter(a)?r=e.tryParsePattern(a):ke(t.name,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,a)}var i=Se(t,512,110735);n.patternAmbientModules=e.append(n.patternAmbientModules,r&&{pattern:r,symbol:i})}else{var o=xe(t);if(0!==o)(i=t.symbol).constEnumOnlyModule=!(304&i.flags)&&2===o&&!1!==i.constEnumOnlyModule}}(t);case 278:return function(e){return Ae(e,4096,"__jsxAttributes")}(t);case 277:return function(e,n,t){return Se(e,n,t)}(t,4,0);case 257:case 260:case 262:case 267:return Se(t,2097152,2097152);case 256:return function(t){t.modifiers&&t.modifiers.length&&n.bindDiagnostics.push(M(t,e.Diagnostics.Modifiers_cannot_appear_here));var r=e.isSourceFile(t.parent)?e.isExternalModule(t.parent)?t.parent.isDeclarationFile?void 0:e.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:e.Diagnostics.Global_module_exports_may_only_appear_in_module_files:e.Diagnostics.Global_module_exports_may_only_appear_at_top_level;r?n.bindDiagnostics.push(M(t,r)):(n.symbol.globalExports=n.symbol.globalExports||e.createSymbolTable(),U(n.symbol.globalExports,n.symbol,t,2097152,2097152))}(t);case 259:return function(e){e.name&&Se(e,2097152,2097152)}(t);case 264:return function(n){p.symbol&&p.symbol.exports?n.exportClause?e.isNamespaceExport(n.exportClause)&&(e.setParent(n.exportClause,n),U(p.symbol.exports,p.symbol,n.exportClause,2097152,2097152)):U(p.symbol.exports,p.symbol,n,8388608,0):Ae(n,8388608,G(n))}(t);case 263:return function(n){if(p.symbol&&p.symbol.exports){var t=e.exportAssignmentIsAlias(n)?2097152:4,r=U(p.symbol.exports,p.symbol,n,t,67108863);n.isExportEquals&&e.setValueDeclaration(r,n)}else Ae(n,2097152,G(n))}(t);case 294:return we(t.statements),function(){if(Le(n),e.isExternalModule(n))Ge();else if(e.isJsonSourceFile(n)){Ge();var t=n.symbol;U(n.symbol.exports,n.symbol,n,4,67108863),n.symbol=t}}();case 227:if(!e.isFunctionLike(t.parent))return;case 254:return we(t.statements);case 322:if(309===t.parent.kind)return $e(t);if(308!==t.parent.kind)break;case 328:var o=t;return Se(o,o.isBracketed||o.typeExpression&&303===o.typeExpression.type.kind?16777220:4,0);case 327:case 320:case 321:return(g||(g=[])).push(t)}}function Ge(){Ae(n,512,'"'+e.removeFileExtension(n.fileName)+'"')}function Be(e){return!n.externalModuleIndicator&&(n.commonJsModuleIndicator||(n.commonJsModuleIndicator=e,Ge()),!0)}function Ue(n){if(Be(n)){var t=Qe(n.left.expression,void 0,(function(e,n){return n&&F(n,e,67110400),n}));if(t){var r=e.isClassExpression(n.right)?1048612:1048580;U(t.exports,t,n.left,r,0)}}}function Ve(n){if(e.Debug.assert(e.isInJSFile(n)),!(e.isBinaryExpression(n)&&e.isPropertyAccessExpression(n.left)&&e.isPrivateIdentifier(n.left.name)||e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name))){var t=e.getThisContainer(n,!1);switch(t.kind){case 248:case 205:var r=t.symbol;if(e.isBinaryExpression(t.parent)&&62===t.parent.operatorToken.kind){var a=t.parent.left;e.isBindableStaticAccessExpression(a)&&e.isPrototypeAccess(a.expression)&&(r=Ye(a.expression.expression,f))}r&&r.valueDeclaration&&(r.members=r.members||e.createSymbolTable(),e.hasDynamicName(n)?je(n,r):U(r.members,r,n,67108868,0),F(r,r.valueDeclaration,32));break;case 165:case 162:case 164:case 166:case 167:var i=t.parent,o=e.hasSyntacticModifier(t,32)?i.symbol.exports:i.symbol.members;e.hasDynamicName(n)?je(n,i.symbol):U(o,i.symbol,n,67108868,0,!0);break;case 294:if(e.hasDynamicName(n))break;t.commonJsModuleIndicator?U(t.symbol.exports,t.symbol,n,1048580,0):Se(n,1,111550);break;default:e.Debug.failBadSyntaxKind(t)}}}function je(e,n){Ae(e,4,"__computed"),Ke(e,n)}function Ke(n,t){t&&(t.assignmentDeclarationMembers||(t.assignmentDeclarationMembers=new e.Map)).set(e.getNodeId(n),n)}function He(n,t){var r=n.expression,a=r.expression;e.setParent(a,r),e.setParent(r,n),e.setParent(n,t),Xe(a,n,!0,!0)}function We(n){e.Debug.assert(!e.isIdentifier(n)),e.setParent(n.expression,n),Xe(n.expression,n,!1,!1)}function qe(t,r,a,i,o){if(2097152&(null==t?void 0:t.flags))return t;if(a&&!i){t=Qe(r,t,(function(t,r,a){return r?(F(r,t,67110400),r):U(a?a.exports:n.jsGlobalAugmentations||(n.jsGlobalAugmentations=e.createSymbolTable()),a,t,67110400,110735)}))}return o&&t&&t.valueDeclaration&&F(t,t.valueDeclaration,32),t}function ze(n,t,r){if(t&&function(n){if(1072&n.flags)return!0;var t=n.valueDeclaration;if(t&&e.isCallExpression(t))return!!e.getAssignedExpandoInitializer(t);var r=t?e.isVariableDeclaration(t)?t.initializer:e.isBinaryExpression(t)?t.right:e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)?t.parent.right:void 0:void 0;if(r=r&&e.getRightMostAssignedExpression(r)){var a=e.isPrototypeAccess(e.isVariableDeclaration(t)?t.name:e.isBinaryExpression(t)?t.left:t);return!!e.getExpandoInitializer(!e.isBinaryExpression(r)||56!==r.operatorToken.kind&&60!==r.operatorToken.kind?r:r.right,a)}return!1}(t)){var a=r?t.members||(t.members=e.createSymbolTable()):t.exports||(t.exports=e.createSymbolTable()),i=0,o=0;e.isFunctionLikeDeclaration(e.getAssignedExpandoInitializer(n))?(i=8192,o=103359):e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n)&&(e.some(n.arguments[2].properties,(function(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isIdentifier(t)&&"set"===e.idText(t)}))&&(i|=65540,o|=78783),e.some(n.arguments[2].properties,(function(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isIdentifier(t)&&"get"===e.idText(t)}))&&(i|=32772,o|=46015)),0===i&&(i=4,o=0),U(a,t,n,67108864|i,-67108865&o)}}function Je(n){return e.isBinaryExpression(n.parent)?294===function(n){for(;e.isBinaryExpression(n.parent);)n=n.parent;return n.parent}(n.parent).parent.kind:294===n.parent.parent.kind}function Xe(e,n,t,r){var a=Ye(e,p)||Ye(e,m),i=Je(n);ze(n,a=qe(a,n.expression,i,t,r),t)}function Ye(n,t){if(void 0===t&&(t=p),e.isIdentifier(n))return d(t,n.escapedText);var r=Ye(n.expression);return r&&r.exports&&r.exports.get(e.getElementOrPropertyAccessName(n))}function Qe(t,r,a){if(u(n,t))return n.symbol;if(e.isIdentifier(t))return a(t,Ye(t),r);var i=Qe(t.expression,r,a),o=e.getNameOrArgument(t);return e.isPrivateIdentifier(o)&&e.Debug.fail("unexpected PrivateIdentifier"),a(o,i&&i.exports&&i.exports.get(e.getElementOrPropertyAccessName(t)),i)}function Ze(n){I&&Ie(n,n.name),e.isBindingPattern(n.name)||(e.isBlockOrCatchScoped(n)?De(n,2,111551):e.isParameterDeclaration(n)?Se(n,1,111551):Se(n,1,111550))}function $e(n){if((322!==n.kind||309===p.kind)&&(!I||8388608&n.flags||Ie(n,n.name),e.isBindingPattern(n.name)?Ae(n,1,"__"+n.parent.parameters.indexOf(n)):Se(n,1,111551),e.isParameterPropertyDeclaration(n,n.parent))){var t=n.parent.parent;U(t.symbol.members,t.symbol,n,4|(n.questionToken?16777216:0),0)}}function en(t,r,a){return n.isDeclarationFile||8388608&t.flags||!e.isAsyncFunction(t)||(C|=2048),h&&e.isObjectLiteralOrClassExpressionMethod(t)&&(t.flowNode=h),e.hasDynamicName(t)?Ae(t,r,"__computed"):Se(t,r,a)}}();function l(n){return!(e.isFunctionDeclaration(n)||function(n){switch(n.kind){case 250:case 251:return!0;case 253:return 1!==t(n);case 252:return e.hasSyntacticModifier(n,2048);default:return!1}}(n)||e.isEnumDeclaration(n)||e.isVariableStatement(n)&&!(3&e.getCombinedNodeFlags(n))&&n.declarationList.declarations.some((function(e){return!e.initializer})))}function u(n,t){for(var r=0,a=[t];a.length&&r<100;){if(r++,t=a.shift(),e.isExportsIdentifier(t)||e.isModuleExportsAccessExpression(t))return!0;if(e.isIdentifier(t)){var i=d(n,t.escapedText);if(i&&i.valueDeclaration&&e.isVariableDeclaration(i.valueDeclaration)&&i.valueDeclaration.initializer){var o=i.valueDeclaration.initializer;a.push(o),e.isAssignmentExpression(o,!0)&&(a.push(o.left),a.push(o.right))}}}return!1}function d(n,t){var r=n.locals&&n.locals.get(t);return r?r.exportSymbol||r:e.isSourceFile(n)&&n.jsGlobalAugmentations&&n.jsGlobalAugmentations.has(t)?n.jsGlobalAugmentations.get(t):n.symbol&&n.symbol.exports&&n.symbol.exports.get(t)}e.bindSourceFile=function(n,t){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+n.fileName),c(n,t),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=u}(p||(p={})),function(e){e.createGetSymbolWalker=function(n,t,r,a,i,o,s,c,l,u,d){return function(p){void 0===p&&(p=function(){return!0});var f=[],m=[];return{walkType:function(n){try{return _(n),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(f),e.clear(m)}},walkSymbol:function(n){try{return h(n),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(f),e.clear(m)}}};function _(n){if(n&&(!f[n.id]&&(f[n.id]=n,!h(n.symbol)))){if(524288&n.flags){var t=n,r=t.objectFlags;4&r&&function(n){_(n.target),e.forEach(d(n),_)}(n),32&r&&function(e){_(e.typeParameter),_(e.constraintType),_(e.templateType),_(e.modifiersType)}(n),3&r&&(y(i=n),e.forEach(i.typeParameters,_),e.forEach(a(i),_),_(i.thisType)),24&r&&y(t)}var i;262144&n.flags&&function(e){_(l(e))}(n),3145728&n.flags&&function(n){e.forEach(n.types,_)}(n),4194304&n.flags&&function(e){_(e.type)}(n),8388608&n.flags&&function(e){_(e.objectType),_(e.indexType),_(e.constraint)}(n)}}function g(a){var i=t(a);i&&_(i.type),e.forEach(a.typeParameters,_);for(var o=0,s=a.parameters;o<s.length;o++){h(s[o])}_(n(a)),_(r(a))}function y(e){_(c(e,0)),_(c(e,1));for(var n=i(e),t=0,r=n.callSignatures;t<r.length;t++){g(r[t])}for(var a=0,o=n.constructSignatures;a<o.length;a++){g(o[a])}for(var s=0,l=n.properties;s<l.length;s++){h(l[s])}}function h(n){if(!n)return!1;var t=e.getSymbolId(n);return!m[t]&&(m[t]=n,!p(n)||(_(o(n)),n.exports&&n.exports.forEach(h),e.forEach(n.declarations,(function(e){if(e.type&&175===e.type.kind){var n=e.type;h(s(u(n.exprName)))}})),!1))}}}}(p||(p={})),function(e){var n,t,r,a,i=/^".+"$/,c="(anonymous)",u=1,d=1,p=1,f=1;!function(e){e[e.AllowsSyncIterablesFlag=1]="AllowsSyncIterablesFlag",e[e.AllowsAsyncIterablesFlag=2]="AllowsAsyncIterablesFlag",e[e.AllowsStringInputFlag=4]="AllowsStringInputFlag",e[e.ForOfFlag=8]="ForOfFlag",e[e.YieldStarFlag=16]="YieldStarFlag",e[e.SpreadFlag=32]="SpreadFlag",e[e.DestructuringFlag=64]="DestructuringFlag",e[e.Element=1]="Element",e[e.Spread=33]="Spread",e[e.Destructuring=65]="Destructuring",e[e.ForOf=13]="ForOf",e[e.ForAwaitOf=15]="ForAwaitOf",e[e.YieldStar=17]="YieldStar",e[e.AsyncYieldStar=19]="AsyncYieldStar",e[e.GeneratorReturnType=1]="GeneratorReturnType",e[e.AsyncGeneratorReturnType=2]="AsyncGeneratorReturnType"}(n||(n={})),function(e){e[e.Yield=0]="Yield",e[e.Return=1]="Return",e[e.Next=2]="Next"}(t||(t={})),function(e){e[e.Normal=0]="Normal",e[e.FunctionReturn=1]="FunctionReturn",e[e.GeneratorNext=2]="GeneratorNext",e[e.GeneratorYield=3]="GeneratorYield"}(r||(r={})),function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.All=16777215]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.UndefinedFacts=9830144]="UndefinedFacts",e[e.NullFacts=9363232]="NullFacts",e[e.EmptyObjectStrictFacts=16318463]="EmptyObjectStrictFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.EmptyObjectFacts=16777215]="EmptyObjectFacts"}(a||(a={}));var m,_,g,y,h,v,b,E,T,S=new e.Map(e.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64})),L=new e.Map(e.getEntries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384}));!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType",e[e.ImmediateBaseConstraint=4]="ImmediateBaseConstraint",e[e.EnumTagType=5]="EnumTagType",e[e.ResolvedTypeArguments=6]="ResolvedTypeArguments",e[e.ResolvedBaseTypes=7]="ResolvedBaseTypes"}(m||(m={})),function(e){e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp"}(_||(_={})),function(e){e[e.None=0]="None",e[e.NoIndexSignatures=1]="NoIndexSignatures",e[e.Writing=2]="Writing",e[e.CacheSymbol=4]="CacheSymbol",e[e.NoTupleBoundsCheck=8]="NoTupleBoundsCheck"}(g||(g={})),function(e){e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.Callback=3]="Callback"}(y||(y={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.PropertyCheck=4]="PropertyCheck",e[e.InPropertyCheck=8]="InPropertyCheck"}(h||(h={})),function(e){e[e.IncludeReadonly=1]="IncludeReadonly",e[e.ExcludeReadonly=2]="ExcludeReadonly",e[e.IncludeOptional=4]="IncludeOptional",e[e.ExcludeOptional=8]="ExcludeOptional"}(v||(v={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.Both=3]="Both"}(b||(b={})),function(e){e.resolvedExports="resolvedExports",e.resolvedMembers="resolvedMembers"}(E||(E={})),function(e){e[e.Local=0]="Local",e[e.Parameter=1]="Parameter"}(T||(T={}));var x,A,D,C=e.and(P,(function(n){return!e.isAccessor(n)}));function I(){}function N(){this.flags=0}function R(e){return e.id||(e.id=d,d++),e.id}function k(e){return e.id||(e.id=u,u++),e.id}function O(n,t){var r=e.getModuleInstanceState(n);return 1===r||t&&2===r}function P(e){return 248!==e.kind&&164!==e.kind||!!e.body}function M(n){switch(n.parent.kind){case 262:case 267:return e.isIdentifier(n);default:return e.isDeclarationName(n)}}function w(e){switch(e.kind){case 259:case 257:case 260:case 262:return!0;case 78:return 262===e.parent.kind;default:return!1}}function F(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function G(e){return!!(1&e.flags)}function B(e){return!!(2&e.flags)}!function(e){e[e.GetAccessor=1]="GetAccessor",e[e.SetAccessor=2]="SetAccessor",e[e.PropertyAssignment=4]="PropertyAssignment",e[e.Method=8]="Method",e[e.GetOrSetAccessor=3]="GetOrSetAccessor",e[e.PropertyAssignmentOrMethod=12]="PropertyAssignmentOrMethod"}(x||(x={})),function(e){e[e.None=0]="None",e[e.ExportValue=1]="ExportValue",e[e.ExportType=2]="ExportType",e[e.ExportNamespace=4]="ExportNamespace"}(A||(A={})),e.getNodeId=R,e.getSymbolId=k,e.isInstantiatedModule=O,e.createTypeChecker=function(n,t){var r,a,u,d,m=e.memoize((function(){var t=new e.Set;return n.getSourceFiles().forEach((function(n){n.resolvedModules&&e.forEachEntry(n.resolvedModules,(function(e){e&&e.packageId&&t.add(e.packageId.name)}))})),t})),_=e.objectAllocator.getSymbolConstructor(),g=e.objectAllocator.getTypeConstructor(),y=e.objectAllocator.getSignatureConstructor(),h=0,v=0,b=0,E=0,T=0,x=0,A=0,U=e.createSymbolTable(),V=[1],j=n.getCompilerOptions(),K=e.getEmitScriptTarget(j),H=e.getEmitModuleKind(j),W=e.getAllowSyntheticDefaultImports(j),q=e.getStrictOptionValue(j,"strictNullChecks"),z=e.getStrictOptionValue(j,"strictFunctionTypes"),J=e.getStrictOptionValue(j,"strictBindCallApply"),X=e.getStrictOptionValue(j,"strictPropertyInitialization"),Y=e.getStrictOptionValue(j,"noImplicitAny"),Q=e.getStrictOptionValue(j,"noImplicitThis"),Z=!!j.keyofStringsOnly,$=j.suppressExcessPropertyErrors?0:32768,ee=function(){var t,r=n.getResolvedTypeReferenceDirectives();r&&(t=new e.Map,r.forEach((function(r,a){if(r&&r.resolvedFileName){var i=n.getSourceFile(r.resolvedFileName);i&&function r(a,i){if(t.has(a.path))return;t.set(a.path,i);for(var o=0,s=a.referencedFiles;o<s.length;o++){var c=s[o].fileName,l=e.resolveTripleslashReference(c,a.fileName),u=n.getSourceFile(l);u&&r(u,i)}}(i,a)}})));return{getReferencedExportContainer:WE,getReferencedImportDeclaration:qE,getReferencedDeclarationWithCollidingName:JE,isDeclarationWithCollidingName:XE,isValueAliasDeclaration:function(n){var t=e.getParseTreeNode(n);return!t||YE(t)},hasGlobalName:_T,isReferencedAliasDeclaration:function(n,t){var r=e.getParseTreeNode(n);return!r||eT(r,t)},getNodeCheckFlags:function(n){var t=e.getParseTreeNode(n);return t?oT(t):0},isTopLevelValueImportEqualsWithEntityName:QE,isDeclarationVisible:ui,isImplementationOfOverload:nT,isRequiredInitializedParameter:tT,isOptionalUninitializedParameterProperty:rT,isExpandoFunctionDeclaration:aT,getPropertiesOfContainerFunction:iT,createTypeOfDeclaration:pT,createReturnTypeOfSignatureDeclaration:fT,createTypeOfExpression:mT,createLiteralConstValue:vT,isSymbolAccessible:Ha,isEntityNameVisible:Ya,getConstantValue:function(n){var t=e.getParseTreeNode(n,cT);return t?lT(t):void 0},collectLinkedAliases:di,getReferencedValueDeclaration:yT,getTypeReferenceSerializationKind:dT,isOptionalParameter:uc,moduleExportsSomeValue:HE,isArgumentsLocalBinding:KE,getExternalModuleFileFromDeclaration:TT,getTypeReferenceDirectivesForEntityName:function(e){if(!t)return;var n=790504;(78===e.kind&&qf(e)||198===e.kind&&!function(e){return e.parent&&220===e.parent.kind&&e.parent.parent&&283===e.parent.parent.kind}(e))&&(n=1160127);var r=ra(e,n,!0);return r&&r!==he?a(r,n):void 0},getTypeReferenceDirectivesForSymbol:a,isLiteralConstDeclaration:hT,isLateBound:function(n){var t=e.getParseTreeNode(n,e.isDeclaration),r=t&&va(t);return!!(r&&4096&e.getCheckFlags(r))},getJsxFactoryEntity:bT,getJsxFragmentFactoryEntity:ET,getAllAccessorDeclarations:function(n){var t=167===(n=e.getParseTreeNode(n,e.isGetOrSetAccessorDeclaration)).kind?166:167,r=e.getDeclarationOfKind(va(n),t);return{firstAccessor:r&&r.pos<n.pos?r:n,secondAccessor:r&&r.pos<n.pos?n:r,setAccessor:167===n.kind?n:r,getAccessor:166===n.kind?n:r}},getSymbolOfExternalModuleSpecifier:function(e){return oa(e,e,void 0)},isBindingCapturedByNode:function(n,t){var r=e.getParseTreeNode(n),a=e.getParseTreeNode(t);return!!r&&!!a&&(e.isVariableDeclaration(a)||e.isBindingElement(a))&&function(n,t){var r=br(n);return!!r&&e.contains(r.capturedBlockScopeBindings,va(t))}(r,a)},getDeclarationStatementsForSourceFile:function(n,t,r,a){var i=e.getParseTreeNode(n);e.Debug.assert(i&&294===i.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");var o=va(n);return o?o.exports?ne.symbolTableToDeclarationStatements(o.exports,n,t,r,a):[]:n.locals?ne.symbolTableToDeclarationStatements(n.locals,n,t,r,a):[]},isImportRequiredByAugmentation:function(n){var t=e.getSourceFileOfNode(n);if(!t.symbol)return!1;var r=TT(n);if(!r)return!1;if(r===t)return!1;for(var a=_a(t.symbol),i=0,o=e.arrayFrom(a.values());i<o.length;i++){var s=o[i];if(s.mergeId)for(var c=ha(s),l=0,u=c.declarations;l<u.length;l++){var d=u[l];if(e.getSourceFileOfNode(d)===r)return!0}}return!1}};function a(n,r){if(t&&function(n){if(!n.declarations)return!1;var r=n;for(;;){var a=ba(r);if(!a)break;r=a}if(r.valueDeclaration&&294===r.valueDeclaration.kind&&512&r.flags)return!1;for(var i=0,o=n.declarations;i<o.length;i++){var s=o[i],c=e.getSourceFileOfNode(s);if(t.has(c.path))return!0}return!1}(n)){for(var a,i=0,o=n.declarations;i<o.length;i++){var s=o[i];if(s.symbol&&s.symbol.flags&r){var c=e.getSourceFileOfNode(s),l=t.get(c.path);if(!l)return;(a||(a=[])).push(l)}}return a}}}(),ne=function(){return{typeToTypeNode:function(e,n,r,a){return t(n,r,a,(function(n){return c(e,n)}))},indexInfoToIndexSignatureDeclaration:function(e,n,r,a,i){return t(r,a,i,(function(t){return p(e,n,t,void 0)}))},signatureToSignatureDeclaration:function(e,n,r,a,i){return t(r,a,i,(function(t){return f(e,n,t)}))},symbolToEntityName:function(e,n,r,a,i){return t(r,a,i,(function(t){return A(e,t,n,!1)}))},symbolToExpression:function(e,n,r,a,i){return t(r,a,i,(function(t){return D(e,t,n)}))},symbolToTypeParameterDeclarations:function(e,n,r,a){return t(n,r,a,(function(n){return b(e,n)}))},symbolToParameterDeclaration:function(e,n,r,a){return t(n,r,a,(function(n){return g(e,n)}))},typeParameterToDeclaration:function(e,n,r,a){return t(n,r,a,(function(n){return _(e,n)}))},symbolTableToDeclarationStatements:function(n,r,a,i,l){return t(r,a,i,(function(t){return function(n,t,r){var a=q(e.factory.createPropertyDeclaration,164,!0),i=q((function(n,t,r,a,i){return e.factory.createPropertySignature(t,r,a,i)}),163,!1),l=t.enclosingDeclaration,u=[],d=new e.Set,m=[],g=t;t=s(s({},g),{usedSymbolNames:new e.Set(g.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:s(s({},g.tracker),{trackSymbol:function(e,n,r){if(0===Ha(e,n,r,!1).accessibility){var a=v(e,t,r);4&e.flags||R(a[0])}else g.tracker&&g.tracker.trackSymbol&&g.tracker.trackSymbol(e,n,r)}})}),e.forEachEntry(n,(function(n,t){$(n,e.unescapeLeadingUnderscores(t))}));var y=!r,h=n.get("export=");h&&n.size>1&&2097152&h.flags&&(n=e.createSymbolTable()).set("export=",h);return C(n),S(u);function b(e){return!!e&&78===e.kind}function E(n){var t=e.find(n,e.isExportAssignment),r=e.findIndex(n,e.isModuleDeclaration),a=-1!==r?n[r]:void 0;if(a&&t&&t.isExportEquals&&e.isIdentifier(t.expression)&&e.isIdentifier(a.name)&&e.idText(a.name)===e.idText(t.expression)&&a.body&&e.isModuleBlock(a.body)){var i=e.filter(n,(function(n){return!!(1&e.getEffectiveModifierFlags(n))})),s=a.name,c=a.body;if(e.length(i)&&(a=e.factory.updateModuleDeclaration(a,a.decorators,a.modifiers,a.name,c=e.factory.updateModuleBlock(c,e.factory.createNodeArray(o(a.body.statements,[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(i,(function(n){return t=n,e.isVariableStatement(t)?e.filter(e.map(t.declarationList.declarations,e.getNameOfDeclaration),b):e.filter([e.getNameOfDeclaration(t)],b);var t})),(function(n){return e.factory.createExportSpecifier(void 0,n)}))),void 0)])))),n=o(n.slice(0,r),[a],n.slice(r+1))),!e.find(n,(function(n){return n!==a&&e.nodeHasName(n,s)}))){u=[];var l=!e.some(c.statements,(function(n){return e.hasSyntacticModifier(n,1)||e.isExportAssignment(n)||e.isExportDeclaration(n)}));e.forEach(c.statements,(function(e){O(e,l?1:0)})),n=o(e.filter(n,(function(e){return e!==a&&e!==t})),u)}}return n}function S(n){return n=function(n){var t=e.findIndex(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(t>=0){var r=n[t],a=e.mapDefined(r.exportClause.elements,(function(t){if(!t.propertyName){var r=e.indicesOf(n),a=e.filter(r,(function(r){return e.nodeHasName(n[r],t.name)}));if(e.length(a)&&e.every(a,(function(e){return L(n[e])}))){for(var i=0,o=a;i<o.length;i++){var s=o[i];n[s]=(c=n[s],l=void 0,l=-3&(1|e.getEffectiveModifierFlags(c)),e.factory.updateModifiers(c,l))}return}}var c,l;return t}));e.length(a)?n[t]=e.factory.updateExportDeclaration(r,r.decorators,r.modifiers,r.isTypeOnly,e.factory.updateNamedExports(r.exportClause,a),r.moduleSpecifier):e.orderedRemoveItemAt(n,t)}return n}(n=function(n){var t=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(e.length(t)>1){var r=e.filter(n,(function(n){return!e.isExportDeclaration(n)||!!n.moduleSpecifier||!n.exportClause}));n=o(r,[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(t,(function(n){return e.cast(n.exportClause,e.isNamedExports).elements}))),void 0)])}var a=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(e.length(a)>1){var i=e.group(a,(function(n){return e.isStringLiteral(n.moduleSpecifier)?">"+n.moduleSpecifier.text:">"}));if(i.length!==a.length)for(var s=function(t){t.length>1&&(n=o(e.filter(n,(function(e){return-1===t.indexOf(e)})),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(t,(function(n){return e.cast(n.exportClause,e.isNamedExports).elements}))),t[0].moduleSpecifier)]))},c=0,l=i;c<l.length;c++){s(l[c])}}return n}(n=E(n))),l&&(e.isSourceFile(l)&&e.isExternalOrCommonJsModule(l)||e.isModuleDeclaration(l))&&(!e.some(n,e.isExternalModuleIndicator)||!e.hasScopeMarker(n)&&e.some(n,e.needsScopeMarker))&&n.push(e.createEmptyExports(e.factory)),n}function L(n){return e.isEnumDeclaration(n)||e.isVariableStatement(n)||e.isFunctionDeclaration(n)||e.isClassDeclaration(n)||e.isModuleDeclaration(n)&&!e.isExternalModuleAugmentation(n)&&!e.isGlobalScopeAugmentation(n)||e.isInterfaceDeclaration(n)||IE(n)}function x(n){var t=-2&e.getEffectiveModifierFlags(n);return e.factory.updateModifiers(n,t)}function C(n,t,r){t||m.push(new e.Map),n.forEach((function(e){I(e,!1,!!r)})),t||(m[m.length-1].forEach((function(e){I(e,!0,!!r)})),m.pop())}function I(n,u,p){var f=ha(n);if(!d.has(k(f))&&(d.add(k(f)),!u||e.length(n.declarations)&&e.some(n.declarations,(function(n){return!!e.findAncestor(n,(function(e){return e===l}))})))){var m=t;t=function(n){var t=s({},n);t.typeParameterNames&&(t.typeParameterNames=new e.Map(t.typeParameterNames));t.typeParameterNamesByText&&(t.typeParameterNamesByText=new e.Set(t.typeParameterNamesByText));t.typeParameterSymbolList&&(t.typeParameterSymbolList=new e.Set(t.typeParameterSymbolList));return t}(t);var g=function(n,s,u){var d=e.unescapeLeadingUnderscores(n.escapedName),p="default"===n.escapedName;if(s&&!(131072&t.flags)&&e.isStringANonContextualKeyword(d)&&!p)return void(t.encounteredError=!0);var f=p&&!!(-113&n.flags||16&n.flags&&e.length(Cs(to(n))))&&!(2097152&n.flags),m=!f&&!s&&e.isStringANonContextualKeyword(d)&&!p;(f||m)&&(s=!0);var g=(s?0:1)|(p&&!f?512:0),y=1536&n.flags&&7&n.flags&&"export="!==n.escapedName,h=y&&W(to(n),n);(8208&n.flags||h)&&F(to(n),n,$(n,d),g);524288&n.flags&&function(n,r,a){var i=To(n),o=vr(n).typeParameters,s=e.map(o,(function(e){return _(e,t)})),l=e.find(n.declarations,e.isJSDocTypeAlias),u=l?l.comment||l.parent.comment:void 0,d=t.flags;t.flags|=8388608,O(e.setSyntheticLeadingComments(e.factory.createTypeAliasDeclaration(void 0,void 0,$(n,r),s,c(i,t)),u?[{kind:3,text:"*\n * "+u.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),a),t.flags=d}(n,d,g);if(7&n.flags&&"export="!==n.escapedName&&!(4194304&n.flags)&&!(32&n.flags)&&!h)if(u){H(n)&&(m=!1,f=!1)}else{var v=to(n),b=$(n,d);if(16&n.flags||!W(v,n)){var E=2&n.flags?qm(n)?2:1:void 0,S=!f&&4&n.flags?Q(b,n):b,L=n.declarations&&e.find(n.declarations,(function(n){return e.isVariableDeclaration(n)}));L&&e.isVariableDeclarationList(L.parent)&&1===L.parent.declarations.length&&(L=L.parent.parent),O(e.setTextRange(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(S,void 0,w(t,v,n,l,R,r))],E)),L),S!==b?-2&g:g),S===b||s||(O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(S,b)])),0),m=!1,f=!1)}else F(v,n,b,g)}384&n.flags&&function(n,t,r){O(e.factory.createEnumDeclaration(void 0,e.factory.createModifiersFromModifierFlags(kh(n)?2048:0),$(n,t),e.map(e.filter(Cs(to(n)),(function(e){return!!(8&e.flags)})),(function(n){var t=n.declarations&&n.declarations[0]&&e.isEnumMember(n.declarations[0])?lT(n.declarations[0]):void 0;return e.factory.createEnumMember(e.unescapeLeadingUnderscores(n.escapedName),void 0===t?void 0:"string"==typeof t?e.factory.createStringLiteral(t):e.factory.createNumericLiteral(t))}))),r)}(n,d,g);32&n.flags&&(4&n.flags&&e.isBinaryExpression(n.valueDeclaration.parent)&&e.isClassExpression(n.valueDeclaration.parent.right)?U(n,$(n,d),g):function(n,r,i){var s,l=lo(n),u=e.map(l,(function(e){return _(e,t)})),d=Eo(n),p=ho(d),f=e.mapDefined(function(n){for(var t=e.emptyArray,r=0,a=n.symbol.declarations;r<a.length;r++){var i=a[r],o=e.getEffectiveImplementsTypeNodes(i);if(o)for(var s=0,c=o;s<c.length;s++){var l=Vu(c[s]);l!==Se&&(t===e.emptyArray?t=[l]:t.push(l))}}return t}(d),Y),m=to(n),g=!!(null===(s=m.symbol)||void 0===s?void 0:s.valueDeclaration)&&e.isClassLike(m.symbol.valueDeclaration),y=g?go(m):be,h=o(e.length(p)?[e.factory.createHeritageClause(93,e.map(p,(function(n){return function(n,r,a){var i=X(n,111551);if(i)return i;var o=Q(a+"_base");return O(e.factory.createVariableStatement(undefined,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(o,undefined,c(r,t))],2)),0),e.factory.createExpressionWithTypeArguments(e.factory.createIdentifier(o),void 0)}(n,y,r)})))]:[],e.length(f)?[e.factory.createHeritageClause(116,f)]:[]),v=function(n,t,r){if(!e.length(t))return r;var a=new e.Map;e.forEach(r,(function(e){a.set(e.escapedName,e)}));for(var i=0,o=t;i<o.length;i++)for(var s=Cs(Xo(o[i],n.thisType)),c=0,l=s;c<l.length;c++){var u=l[c],d=a.get(u.escapedName);d&&!hp(d,u)&&a.delete(u.escapedName)}return e.arrayFrom(a.values())}(d,p,Cs(d)),b=e.filter(v,(function(n){var t=n.valueDeclaration;return t&&!(e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name))})),E=e.some(v,(function(n){var t=n.valueDeclaration;return t&&e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name)}))?[e.factory.createPropertyDeclaration(void 0,void 0,e.factory.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:e.emptyArray,T=e.flatMap(b,(function(e){return a(e,!1,p[0])})),S=e.flatMap(e.filter(Cs(m),(function(e){return!(4194304&e.flags||"prototype"===e.escapedName||B(e))})),(function(e){return a(e,!0,y)})),L=!g&&n.valueDeclaration&&e.isInJSFile(n.valueDeclaration)&&!e.some(ec(m,1))?[e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(8),[],void 0)]:z(1,m,p[0],165),x=J(d,p[0]);O(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,r,u,h,o(x,S,L,T,E)),n.declarations&&e.filter(n.declarations,(function(n){return e.isClassDeclaration(n)||e.isClassExpression(n)}))[0]),i)}(n,$(n,d),g));(1536&n.flags&&(!y||function(n){return e.every(M(n),(function(e){return!(111551&Jr(e).flags)}))}(n))||h)&&function(n,r,a){var i=M(n),o=e.arrayToMultiMap(i,(function(e){return e.parent&&e.parent===n?"real":"merged"})),s=o.get("real")||e.emptyArray,c=o.get("merged")||e.emptyArray;if(e.length(s)){var l=$(n,r);G(s,l,a,!!(67108880&n.flags))}if(e.length(c)){var u=e.getSourceFileOfNode(t.enclosingDeclaration),d=(l=$(n,r),e.factory.createModuleBlock([e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.mapDefined(e.filter(c,(function(e){return"export="!==e.escapedName})),(function(r){var a,i,o=e.unescapeLeadingUnderscores(r.escapedName),s=$(r,o),c=r.declarations&&Mr(r);if(!u||(c?u===e.getSourceFileOfNode(c):e.some(r.declarations,(function(n){return e.getSourceFileOfNode(n)===u})))){var l=c&&qr(c,!0);R(l||r);var d=l?$(l,e.unescapeLeadingUnderscores(l.escapedName)):s;return e.factory.createExportSpecifier(o===d?void 0:d,o)}null===(i=null===(a=t.tracker)||void 0===a?void 0:a.reportNonlocalAugmentation)||void 0===i||i.call(a,u,n,r)}))))]));O(e.factory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(l),d,16),0)}}(n,d,g);64&n.flags&&function(n,r,a){var s=Eo(n),c=lo(n),l=e.map(c,(function(e){return _(e,t)})),u=ho(s),d=e.length(u)?Kl(u):void 0,p=e.flatMap(Cs(s),(function(e){return function(e,n){return i(e,!1,n)}(e,d)})),f=z(0,s,d,168),m=z(1,s,d,169),g=J(s,d),y=e.length(u)?[e.factory.createHeritageClause(93,e.mapDefined(u,(function(e){return X(e,111551)})))]:void 0;O(e.factory.createInterfaceDeclaration(void 0,void 0,$(n,r),l,y,o(g,m,f,p)),a)}(n,d,g);2097152&n.flags&&U(n,$(n,d),g);4&n.flags&&"export="===n.escapedName&&H(n);if(8388608&n.flags)for(var x=0,A=n.declarations;x<A.length;x++){var D=A[x],C=ia(D,D.moduleSpecifier);C&&O(e.factory.createExportDeclaration(void 0,void 0,!1,void 0,e.factory.createStringLiteral(T(C,t))),0)}f?O(e.factory.createExportAssignment(void 0,void 0,!1,e.factory.createIdentifier($(n,d))),0):m&&O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier($(n,d),d)])),0)}(n,u,p);return t=m,g}}function R(n){if(!e.some(n.declarations,e.isParameterDeclaration)){e.Debug.assertIsDefined(m[m.length-1]),Q(e.unescapeLeadingUnderscores(n.escapedName),n);var t=!!(2097152&n.flags)&&!e.some(n.declarations,(function(n){return!!e.findAncestor(n,e.isExportDeclaration)||e.isNamespaceExport(n)||e.isImportEqualsDeclaration(n)&&!e.isExternalModuleReference(n.moduleReference)}));m[t?0:m.length-1].set(k(n),n)}}function O(n,r){if(e.canHaveModifiers(n)){var a=0;1&r&&t.enclosingDeclaration&&(function(n){return e.isSourceFile(n)&&(e.isExternalOrCommonJsModule(n)||e.isJsonSourceFile(n))||e.isAmbientModule(n)&&!e.isGlobalScopeAugmentation(n)}(t.enclosingDeclaration)||e.isModuleDeclaration(t.enclosingDeclaration))&&L(n)&&(a|=1),!y||1&a||t.enclosingDeclaration&&8388608&t.enclosingDeclaration.flags||!(e.isEnumDeclaration(n)||e.isVariableStatement(n)||e.isFunctionDeclaration(n)||e.isClassDeclaration(n)||e.isModuleDeclaration(n))||(a|=2),512&r&&(e.isClassDeclaration(n)||e.isInterfaceDeclaration(n)||e.isFunctionDeclaration(n))&&(a|=512),a&&(n=e.factory.updateModifiers(n,a|e.getEffectiveModifierFlags(n)))}u.push(n)}function M(n){return n.exports?e.filter(e.arrayFrom(n.exports.values()),B):[]}function F(n,a,i,o){for(var s=0,c=ec(n,0);s<c.length;s++){var l=c[s],u=f(l,248,t,{name:e.factory.createIdentifier(i),privateSymbolVisitor:R,bundledImports:r});O(e.setTextRange(u,l.declaration&&e.isVariableDeclaration(l.declaration.parent)&&l.declaration.parent.parent||l.declaration),o)}1536&a.flags&&a.exports&&a.exports.size||G(e.filter(Cs(n),B),i,o,!0)}function G(n,r,a,i){if(e.length(n)){var o=e.arrayToMultiMap(n,(function(n){return!e.length(n.declarations)||e.some(n.declarations,(function(n){return e.getSourceFileOfNode(n)===e.getSourceFileOfNode(t.enclosingDeclaration)}))?"local":"remote"})).get("local")||e.emptyArray,c=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(r),e.factory.createModuleBlock([]),16);e.setParent(c,l),c.locals=e.createSymbolTable(n),c.symbol=n[0].parent;var d=u;u=[];var p=y;y=!1;var f=s(s({},t),{enclosingDeclaration:c}),m=t;t=f,C(e.createSymbolTable(o),i,!0),t=m,y=p;var _=u;u=d;var g=e.map(_,(function(n){return e.isExportAssignment(n)&&!n.isExportEquals&&e.isIdentifier(n.expression)?e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(n.expression,e.factory.createIdentifier("default"))])):n})),h=e.every(g,(function(n){return e.hasSyntacticModifier(n,1)}))?e.map(g,x):g;O(c=e.factory.updateModuleDeclaration(c,c.decorators,c.modifiers,c.name,e.factory.createModuleBlock(h)),a)}}function B(n){return!!(2887656&n.flags)||!(4194304&n.flags||"prototype"===n.escapedName||n.valueDeclaration&&e.isClassLike(n.valueDeclaration.parent))}function U(n,r,a){var i=Mr(n);if(!i)return e.Debug.fail();var o=ha(qr(i,!0));if(o){var s=e.unescapeLeadingUnderscores(o.escapedName);"export="===s&&(j.esModuleInterop||j.allowSyntheticDefaultImports)&&(s="default");var c=$(o,s);switch(R(o),i.kind){case 257:var l=!(512&o.flags);O(e.factory.createImportEqualsDeclaration(void 0,void 0,e.factory.createIdentifier(r),l?A(o,t,67108863,!1):e.factory.createExternalModuleReference(e.factory.createStringLiteral(T(n,t)))),l?a:0);break;case 256:O(e.factory.createNamespaceExportDeclaration(e.idText(i.name)),0);break;case 259:O(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,e.factory.createIdentifier(r),void 0),e.factory.createStringLiteral(T(o.parent||o,t))),0);break;case 260:O(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(r))),e.factory.createStringLiteral(T(o,t))),0);break;case 266:O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamespaceExport(e.factory.createIdentifier(r)),e.factory.createStringLiteral(T(o,t))),0);break;case 262:O(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(r!==s?e.factory.createIdentifier(s):void 0,e.factory.createIdentifier(r))])),e.factory.createStringLiteral(T(o.parent||o,t))),0);break;case 267:var u=i.parent.parent.moduleSpecifier;V(e.unescapeLeadingUnderscores(n.escapedName),u?s:c,u&&e.isStringLiteralLike(u)?e.factory.createStringLiteral(u.text):void 0);break;case 263:H(n);break;case 213:case 198:"default"===n.escapedName||"export="===n.escapedName?H(n):V(r,c);break;default:return e.Debug.failBadSyntaxKind(i,"Unhandled alias declaration kind in symbol serializer!")}}}function V(n,t,r){O(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(n!==t?t:void 0,n)]),r),0)}function H(n){if(4194304&n.flags)return!1;var a=e.unescapeLeadingUnderscores(n.escapedName),i="export="===a,o=i||"default"===a,s=n.declarations&&Mr(n),c=s&&qr(s,!0);if(c&&e.length(c.declarations)&&e.some(c.declarations,(function(n){return e.getSourceFileOfNode(n)===e.getSourceFileOfNode(l)}))){var d=o?e.getExportAssignmentExpression(s):e.getPropertyAssignmentAliasLikeExpression(s),p=e.isEntityNameExpression(d)?function(n){switch(n.kind){case 78:return n;case 156:do{n=n.left}while(78!==n.kind);return n;case 198:do{if(e.isModuleExportsAccessExpression(n.expression)&&!e.isPrivateIdentifier(n.name))return n.name;n=n.expression}while(78!==n.kind);return n}}(d):void 0,f=p&&ra(p,67108863,!0,!0,l);(f||c)&&R(f||c);var m=t.tracker.trackSymbol;if(t.tracker.trackSymbol=e.noop,o)u.push(e.factory.createExportAssignment(void 0,void 0,i,D(c,t,67108863)));else if(p===d)V(a,e.idText(p));else if(e.isClassExpression(d))V(a,$(c,e.symbolName(c)));else{var _=Q(a,n);O(e.factory.createImportEqualsDeclaration(void 0,void 0,e.factory.createIdentifier(_),A(c,t,67108863,!1)),0),V(a,_)}return t.tracker.trackSymbol=m,!0}_=Q(a,n);var g=df(to(ha(n)));return W(g,n)?F(g,n,_,o?0:1):O(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(_,void 0,w(t,g,n,l,R,r))],2)),a===_?1:0),o?(u.push(e.factory.createExportAssignment(void 0,void 0,i,e.factory.createIdentifier(_))),!0):a!==_&&(V(a,_),!0)}function W(n,r){var a=e.getSourceFileOfNode(t.enclosingDeclaration);return 48&e.getObjectFlags(n)&&!rc(n,0)&&!rc(n,1)&&!(!e.length(Cs(n))&&!e.length(ec(n,0)))&&!e.length(ec(n,1))&&!P(r,l)&&!(n.symbol&&e.some(n.symbol.declarations,(function(n){return e.getSourceFileOfNode(n)!==a})))&&!e.some(Cs(n),(function(e){return Vo(e.escapedName)}))&&!e.some(Cs(n),(function(n){return e.some(n.declarations,(function(n){return e.getSourceFileOfNode(n)!==a}))}))&&e.every(Cs(n),(function(n){return e.isIdentifierText(e.symbolName(n),K)}))}function q(n,a,i){return function(o,s,c){var u=e.getDeclarationModifierFlagsFromSymbol(o),d=!!(8&u);if(s&&2887656&o.flags)return[];if(4194304&o.flags||c&&Zs(c,o.escapedName)&&Sh(Zs(c,o.escapedName))===Sh(o)&&(16777216&o.flags)==(16777216&Zs(c,o.escapedName).flags)&&Td(to(o),yi(c,o.escapedName)))return[];var p=-257&u|(s?32:0),m=N(o,t),_=e.find(o.declarations,e.or(e.isPropertyDeclaration,e.isAccessor,e.isVariableDeclaration,e.isPropertySignature,e.isBinaryExpression,e.isPropertyAccessExpression));if(98304&o.flags&&i){var g=[];if(65536&o.flags&&g.push(e.setTextRange(e.factory.createSetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(p),m,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"arg",void 0,d?void 0:w(t,to(o),o,l,R,r))],void 0),e.find(o.declarations,e.isSetAccessor)||_)),32768&o.flags){var y=8&u;g.push(e.setTextRange(e.factory.createGetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(p),m,[],y?void 0:w(t,to(o),o,l,R,r),void 0),e.find(o.declarations,e.isGetAccessor)||_))}return g}if(7&o.flags)return e.setTextRange(n(void 0,e.factory.createModifiersFromModifierFlags((Sh(o)?64:0)|p),m,16777216&o.flags?e.factory.createToken(57):void 0,d?void 0:w(t,to(o),o,l,R,r),void 0),e.find(o.declarations,e.or(e.isPropertyDeclaration,e.isVariableDeclaration))||_);if(8208&o.flags){var h=ec(to(o),0);if(8&p)return e.setTextRange(n(void 0,e.factory.createModifiersFromModifierFlags((Sh(o)?64:0)|p),m,16777216&o.flags?e.factory.createToken(57):void 0,void 0,void 0),e.find(o.declarations,e.isFunctionLikeDeclaration)||h[0]&&h[0].declaration||o.declarations[0]);for(var v=[],b=0,E=h;b<E.length;b++){var T=E[b],S=f(T,a,t,{name:m,questionToken:16777216&o.flags?e.factory.createToken(57):void 0,modifiers:p?e.factory.createModifiersFromModifierFlags(p):void 0});v.push(e.setTextRange(S,T.declaration))}return v}return e.Debug.fail("Unhandled class member kind! "+(o.__debugFlags||o.flags))}}function z(n,r,a,i){var o=ec(r,n);if(1===n){if(!a&&e.every(o,(function(n){return 0===e.length(n.parameters)})))return[];if(a){var s=ec(a,1);if(!e.length(s)&&e.every(o,(function(n){return 0===e.length(n.parameters)})))return[];if(s.length===o.length){for(var c=!1,l=0;l<s.length;l++)if(!bp(o[l],s[l],!1,!1,!0,Sd)){c=!0;break}if(!c)return[]}}for(var u=0,d=0,p=o;d<p.length;d++){var m=p[d];m.declaration&&(u|=e.getSelectedEffectiveModifierFlags(m.declaration,24))}if(u)return[e.setTextRange(e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(u),[],void 0),o[0].declaration)]}for(var _=[],g=0,y=o;g<y.length;g++){var h=y[g],v=f(h,i,t);_.push(e.setTextRange(v,h.declaration))}return _}function J(e,n){for(var r=[],a=0,i=[0,1];a<i.length;a++){var o=i[a],s=rc(e,o);if(s){if(n){var c=rc(n,o);if(c&&Td(s.type,c.type))continue}r.push(p(s,o,t,void 0))}}return r}function X(n,r){var a,i;if(n.target&&Ka(n.target.symbol,l,r)?(a=e.map(Hc(n),(function(e){return c(e,t)})),i=D(n.target.symbol,t,788968)):n.symbol&&Ka(n.symbol,l,r)&&(i=D(n.symbol,t,788968)),i)return e.factory.createExpressionWithTypeArguments(i,a)}function Y(n){var r=X(n,788968);return r||(n.symbol?e.factory.createExpressionWithTypeArguments(D(n.symbol,t,788968),void 0):void 0)}function Q(e,n){var r,a,i=n?k(n):void 0;if(i&&t.remappedSymbolNames.has(i))return t.remappedSymbolNames.get(i);n&&(e=Z(n,e));for(var o=0,s=e;null===(r=t.usedSymbolNames)||void 0===r?void 0:r.has(e);)e=s+"_"+ ++o;return null===(a=t.usedSymbolNames)||void 0===a||a.add(e),i&&t.remappedSymbolNames.set(i,e),e}function Z(n,r){if("default"===r||"__class"===r||"__function"===r){var a=t.flags;t.flags|=16777216;var i=li(n,t);t.flags=a,r=i.length>0&&e.isSingleOrDoubleQuote(i.charCodeAt(0))?e.stripQuotes(i):i}return"default"===r?r="_default":"export="===r&&(r="_exports"),r=e.isIdentifierText(r,K)&&!e.isStringANonContextualKeyword(r)?r:"_"+r.replace(/[^a-zA-Z0-9]/g,"_")}function $(e,n){var r=k(e);return t.remappedSymbolNames.has(r)?t.remappedSymbolNames.get(r):(n=Z(e,n),t.remappedSymbolNames.set(r,n),n)}}(n,t,l)}))}};function t(t,r,a,i){e.Debug.assert(void 0===t||0==(8&t.flags));var o={enclosingDeclaration:t,flags:r||0,tracker:a&&a.trackSymbol?a:{trackSymbol:e.noop,moduleResolverHost:134217728&r?{getCommonSourceDirectory:n.getCommonSourceDirectory?function(){return n.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return n.getSourceFiles()},getCurrentDirectory:function(){return n.getCurrentDirectory()},getSymlinkCache:e.maybeBind(n,n.getSymlinkCache),useCaseSensitiveFileNames:e.maybeBind(n,n.useCaseSensitiveFileNames),redirectTargetsMap:n.redirectTargetsMap,getProjectReferenceRedirect:function(e){return n.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return n.isSourceOfProjectReferenceRedirect(e)},fileExists:function(e){return n.fileExists(e)}}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},s=i(o);return o.encounteredError?void 0:s}function a(n){return n.truncating?n.truncating:n.truncating=n.approximateLength>(1&n.flags?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function c(n,t){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var i=8388608&t.flags;if(t.flags&=-8388609,!n)return 262144&t.flags?(t.approximateLength+=3,e.factory.createKeywordTypeNode(128)):void(t.encounteredError=!0);if(536870912&t.flags||(n=zs(n)),1&n.flags)return t.approximateLength+=3,e.factory.createKeywordTypeNode(128);if(2&n.flags)return e.factory.createKeywordTypeNode(151);if(4&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(8&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(143);if(64&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(154);if(16&n.flags)return t.approximateLength+=7,e.factory.createKeywordTypeNode(131);if(1024&n.flags&&!(1048576&n.flags)){var o=ba(n.symbol),s=S(o,t,788968);return Io(o)===n?s:G(s,e.factory.createTypeReferenceNode(e.symbolName(n.symbol),void 0))}if(1056&n.flags)return S(n.symbol,t,788968);if(128&n.flags)return t.approximateLength+=n.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(n.value,!!(268435456&t.flags)),16777216));if(256&n.flags){var _=n.value;return t.approximateLength+=(""+_).length,e.factory.createLiteralTypeNode(_<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-_)):e.factory.createNumericLiteral(_))}if(2048&n.flags)return t.approximateLength+=e.pseudoBigIntToString(n.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(n.value));if(512&n.flags)return t.approximateLength+=n.intrinsicName.length,e.factory.createLiteralTypeNode("true"===n.intrinsicName?e.factory.createTrue():e.factory.createFalse());if(8192&n.flags){if(!(1048576&t.flags)){if(ja(n.symbol,t.enclosingDeclaration))return t.approximateLength+=6,S(n.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,e.factory.createTypeOperatorNode(150,e.factory.createKeywordTypeNode(147))}if(16384&n.flags)return t.approximateLength+=4,e.factory.createKeywordTypeNode(113);if(32768&n.flags)return t.approximateLength+=9,e.factory.createKeywordTypeNode(149);if(65536&n.flags)return t.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(131072&n.flags)return t.approximateLength+=5,e.factory.createKeywordTypeNode(140);if(4096&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(67108864&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(144);if(au(n))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),t.tracker.reportInaccessibleThisError&&t.tracker.reportInaccessibleThisError()),t.approximateLength+=4,e.factory.createThisTypeNode();if(!i&&n.aliasSymbol&&(16384&t.flags||Va(n.aliasSymbol,t.enclosingDeclaration))){var g=d(n.aliasTypeArguments,t);return!Oa(n.aliasSymbol.escapedName)||32&n.aliasSymbol.flags?S(n.aliasSymbol,t,788968,g):e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),g)}var y=e.getObjectFlags(n);if(4&y)return e.Debug.assert(!!(524288&n.flags)),n.node?M(n,F):F(n);if(262144&n.flags||3&y){if(262144&n.flags&&e.contains(t.inferTypeParameters,n))return t.approximateLength+=e.symbolName(n.symbol).length+6,e.factory.createInferTypeNode(m(n,t,void 0));if(4&t.flags&&262144&n.flags&&!Va(n.symbol,t.enclosingDeclaration)){var h=x(n,t);return t.approximateLength+=e.idText(h).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(h)),void 0)}return n.symbol?S(n.symbol,t,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(3145728&n.flags){var v=1048576&n.flags?function(e){for(var n=[],t=0,r=0;r<e.length;r++){var a=e[r];if(t|=a.flags,!(98304&a.flags)){if(1536&a.flags){var i=512&a.flags?Ge:xo(a);if(1048576&i.flags){var o=i.types.length;if(r+o<=e.length&&Pu(e[r+o-1])===Pu(i.types[o-1])){n.push(i),r+=o-1;continue}}}n.push(a)}}65536&t&&n.push(Ie);32768&t&&n.push(Ae);return n||e}(n.types):n.types;if(1===e.length(v))return c(v[0],t);var b=d(v,t,!0);return b&&b.length>0?1048576&n.flags?e.factory.createUnionTypeNode(b):e.factory.createIntersectionTypeNode(b):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&y)return e.Debug.assert(!!(524288&n.flags)),P(n);if(4194304&n.flags){var E=n.type;t.approximateLength+=6;var T=c(E,t);return e.factory.createTypeOperatorNode(137,T)}if(8388608&n.flags){var L=c(n.objectType,t);T=c(n.indexType,t);return t.approximateLength+=2,e.factory.createIndexedAccessTypeNode(L,T)}if(16777216&n.flags){var A=c(n.checkType,t),D=t.inferTypeParameters;t.inferTypeParameters=n.root.inferTypeParameters;var C=c(n.extendsType,t);t.inferTypeParameters=D;var I=O(gu(n)),N=O(yu(n));return t.approximateLength+=15,e.factory.createConditionalTypeNode(A,C,I,N)}return 33554432&n.flags?c(n.baseType,t):e.Debug.fail("Should be unreachable.");function O(e){var n,r,a;return 1048576&e.flags?(null===(n=t.visitedTypes)||void 0===n?void 0:n.has(Nl(e)))?(131072&t.flags||(t.encounteredError=!0,null===(a=null===(r=t.tracker)||void 0===r?void 0:r.reportCyclicStructureError)||void 0===a||a.call(r)),l(t)):M(e,(function(e){return c(e,t)})):c(e,t)}function P(n){var r,a=n.id,i=n.symbol;if(i){if(Oy(i.valueDeclaration)){var o=n===Eo(i)?788968:111551;return S(i,t,o)}if(32&i.flags&&!Zi(i)&&!(218===i.valueDeclaration.kind&&2048&t.flags)||896&i.flags||function(){var n,r=!!(8192&i.flags)&&e.some(i.declarations,(function(n){return e.hasSyntacticModifier(n,32)})),o=!!(16&i.flags)&&(i.parent||e.forEach(i.declarations,(function(e){return 294===e.parent.kind||254===e.parent.kind})));if(r||o)return(!!(4096&t.flags)||(null===(n=t.visitedTypes)||void 0===n?void 0:n.has(a)))&&(!(8&t.flags)||ja(i,t.enclosingDeclaration))}())return S(i,t,111551);if(null===(r=t.visitedTypes)||void 0===r?void 0:r.has(a)){var s=function(n){if(n.symbol&&2048&n.symbol.flags){var t=e.walkUpParenthesizedTypes(n.symbol.declarations[0].parent);if(251===t.kind)return va(t)}return}(n);return s?S(s,t,788968):l(t)}return M(n,w)}return w(n)}function M(n,r){var a,i=n.id,o=16&e.getObjectFlags(n)&&n.symbol&&32&n.symbol.flags,s=4&e.getObjectFlags(n)&&n.node?"N"+R(n.node):n.symbol?(o?"+":"")+k(n.symbol):void 0;if(t.visitedTypes||(t.visitedTypes=new e.Set),s&&!t.symbolDepth&&(t.symbolDepth=new e.Map),s){if((a=t.symbolDepth.get(s)||0)>10)return l(t);t.symbolDepth.set(s,a+1)}t.visitedTypes.add(i);var c=r(n);return t.visitedTypes.delete(i),s&&t.symbolDepth.set(s,a),c}function w(n){if(Ss(n)||n.containsError)return function(n){e.Debug.assert(!!(524288&n.flags));var r,a=n.declaration.readonlyToken?e.factory.createToken(n.declaration.readonlyToken.kind):void 0,i=n.declaration.questionToken?e.factory.createToken(n.declaration.questionToken.kind):void 0;r=hs(n)?e.factory.createTypeOperatorNode(137,c(vs(n),t)):c(_s(n),t);var o=m(ms(n),t,r),s=c(gs(n),t),l=e.factory.createMappedTypeNode(a,o,i,s);return t.approximateLength+=10,e.setEmitFlags(l,1)}(n);var r=Ls(n);if(!r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(!r.callSignatures.length&&!r.constructSignatures.length)return t.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(1===r.callSignatures.length&&!r.constructSignatures.length)return f(r.callSignatures[0],173,t);if(1===r.constructSignatures.length&&!r.callSignatures.length)return f(r.constructSignatures[0],174,t)}var i=t.flags;t.flags|=4194304;var o=function(n){if(a(t))return[e.factory.createPropertySignature(void 0,"...",void 0,void 0)];for(var r=[],i=0,o=n.callSignatures;i<o.length;i++){var s=o[i];r.push(f(s,168,t))}for(var c=0,d=n.constructSignatures;c<d.length;c++){s=d[c];r.push(f(s,169,t))}if(n.stringIndexInfo){var m=void 0;m=2048&n.objectFlags?p(Pc(be,n.stringIndexInfo.isReadonly,n.stringIndexInfo.declaration),0,t,l(t)):p(n.stringIndexInfo,0,t,void 0),r.push(m)}n.numberIndexInfo&&r.push(p(n.numberIndexInfo,1,t,void 0));var _=n.properties;if(!_)return r;for(var g=0,y=0,h=_;y<h.length;y++){var v=h[y];if(g++,2048&t.flags){if(4194304&v.flags)continue;24&e.getDeclarationModifierFlagsFromSymbol(v)&&t.tracker.reportPrivateInBaseOfClassExpression&&t.tracker.reportPrivateInBaseOfClassExpression(e.unescapeLeadingUnderscores(v.escapedName))}if(a(t)&&g+2<_.length-1){r.push(e.factory.createPropertySignature(void 0,"... "+(_.length-g)+" more ...",void 0,void 0)),u(_[_.length-1],t,r);break}u(v,t,r)}return r.length?r:void 0}(r);t.flags=i;var s=e.factory.createTypeLiteralNode(o);return t.approximateLength+=2,e.setEmitFlags(s,1024&t.flags?0:1)}function F(n){var r=Hc(n);if(n.target===hn||n.target===vn){if(2&t.flags){var a=c(r[0],t);return e.factory.createTypeReferenceNode(n.target===hn?"Array":"ReadonlyArray",[a])}var i=c(r[0],t),o=e.factory.createArrayTypeNode(i);return n.target===hn?o:e.factory.createTypeOperatorNode(141,o)}if(!(8&n.target.objectFlags)){if(2048&t.flags&&n.symbol.valueDeclaration&&e.isClassLike(n.symbol.valueDeclaration)&&!ja(n.symbol,t.enclosingDeclaration))return P(n);var s=n.target.outerTypeParameters,l=(T=0,void 0);if(s)for(var u=s.length;T<u;){var p=T,f=Gc(s[T]);do{T++}while(T<u&&Gc(s[T])===f);if(!e.rangeEquals(s,r,p,T)){var m=d(r.slice(p,T),t),_=t.flags;t.flags|=16;var g=S(f,t,788968,m);t.flags=_,l=l?G(l,g):g}}var y=void 0;if(r.length>0){var h=(n.target.typeParameters||e.emptyArray).length;y=d(r.slice(T,h),t)}L=t.flags;t.flags|=16;var v=S(n.symbol,t,788968,y);return t.flags=L,l?G(l,v):v}if(r.length>0){var b=Wc(n),E=d(r.slice(0,b),t);if(E){if(n.target.labeledElementDeclarations)for(var T=0;T<E.length;T++){var L=n.target.elementFlags[T];E[T]=e.factory.createNamedTupleMember(12&L?e.factory.createToken(25):void 0,e.factory.createIdentifier(e.unescapeLeadingUnderscores(zy(n.target.labeledElementDeclarations[T]))),2&L?e.factory.createToken(57):void 0,4&L?e.factory.createArrayTypeNode(E[T]):E[T])}else for(var T=0;T<Math.min(b,E.length);T++){var L=n.target.elementFlags[T];E[T]=12&L?e.factory.createRestTypeNode(4&L?e.factory.createArrayTypeNode(E[T]):E[T]):2&L?e.factory.createOptionalTypeNode(E[T]):E[T]}var x=e.setEmitFlags(e.factory.createTupleTypeNode(E),1);return n.target.readonly?e.factory.createTypeOperatorNode(141,x):x}}if(t.encounteredError||524288&t.flags){x=e.setEmitFlags(e.factory.createTupleTypeNode([]),1);return n.target.readonly?e.factory.createTypeOperatorNode(141,x):x}t.encounteredError=!0}function G(n,t){if(e.isImportTypeNode(n)){var r=n.typeArguments,a=n.qualifier;a&&(a=e.isIdentifier(a)?e.factory.updateIdentifier(a,r):e.factory.updateQualifiedName(a,a.left,e.factory.updateIdentifier(a.right,r))),r=t.typeArguments;for(var i=0,o=B(t);i<o.length;i++){var s=o[i];a=a?e.factory.createQualifiedName(a,s):s}return e.factory.updateImportTypeNode(n,n.argument,a,r,n.isTypeOf)}r=n.typeArguments;var c=n.typeName;c=e.isIdentifier(c)?e.factory.updateIdentifier(c,r):e.factory.updateQualifiedName(c,c.left,e.factory.updateIdentifier(c.right,r)),r=t.typeArguments;for(var l=0,u=B(t);l<u.length;l++){s=u[l];c=e.factory.createQualifiedName(c,s)}return e.factory.updateTypeReferenceNode(n,c,r)}function B(n){for(var t=n.typeName,r=[];!e.isIdentifier(t);)r.unshift(t.right),t=t.left;return r.unshift(t),r}}function l(n){return n.approximateLength+=3,1&n.flags?e.factory.createKeywordTypeNode(128):e.factory.createTypeReferenceNode(e.factory.createIdentifier("..."),void 0)}function u(n,t,r){var a=!!(8192&e.getCheckFlags(n)),i=a&&33554432&t.flags?be:to(n),o=t.enclosingDeclaration;if(t.enclosingDeclaration=void 0,t.tracker.trackSymbol&&4096&e.getCheckFlags(n)){var s=e.first(n.declarations);if(jo(s))if(e.isBinaryExpression(s)){var c=e.getNameOfDeclaration(s);c&&e.isElementAccessExpression(c)&&e.isPropertyAccessEntityNameExpression(c.argumentExpression)&&y(c.argumentExpression,o,t)}else y(s.name.expression,o,t)}t.enclosingDeclaration=o;var u=N(n,t);t.approximateLength+=e.symbolName(n).length+1;var d=16777216&n.flags?e.factory.createToken(57):void 0;if(8208&n.flags&&!xs(i).length&&!Sh(n))for(var p=0,m=ec(Em(i,(function(e){return!(32768&e.flags)})),0);p<m.length;p++){var _=f(m[p],163,t,{name:u,questionToken:d});r.push(E(_))}else{var g=t.flags;t.flags|=a?33554432:0;var h=void 0;h=a&&33554432&g?l(t):i?w(t,i,n,o):e.factory.createKeywordTypeNode(128),t.flags=g;var v=Sh(n)?[e.factory.createToken(141)]:void 0;v&&(t.approximateLength+=9);var b=e.factory.createPropertySignature(v,u,d,h);r.push(E(b))}function E(t){if(e.some(n.declarations,(function(e){return 328===e.kind}))){var r=e.find(n.declarations,(function(e){return 328===e.kind})).comment;r&&e.setSyntheticLeadingComments(t,[{kind:3,text:"*\n * "+r.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else n.valueDeclaration&&e.setCommentRange(t,n.valueDeclaration);return t}}function d(n,t,r){if(e.some(n)){if(a(t)){if(!r)return[e.factory.createTypeReferenceNode("...",void 0)];if(n.length>2)return[c(n[0],t),e.factory.createTypeReferenceNode("... "+(n.length-2)+" more ...",void 0),c(n[n.length-1],t)]}for(var i=!(64&t.flags)?e.createUnderscoreEscapedMultiMap():void 0,o=[],s=0,l=0,u=n;l<u.length;l++){var d=u[l];if(s++,a(t)&&s+2<n.length-1){o.push(e.factory.createTypeReferenceNode("... "+(n.length-s)+" more ...",void 0));var p=c(n[n.length-1],t);p&&o.push(p);break}t.approximateLength+=2;var f=c(d,t);f&&(o.push(f),i&&e.isIdentifierTypeReference(f)&&i.add(f.typeName.escapedText,[d,o.length-1]))}if(i){var m=t.flags;t.flags|=64,i.forEach((function(n){if(!e.arrayIsHomogeneous(n,(function(e,n){return function(e,n){return e===n||!!e.symbol&&e.symbol===n.symbol||!!e.aliasSymbol&&e.aliasSymbol===n.aliasSymbol}(e[0],n[0])})))for(var r=0,a=n;r<a.length;r++){var i=a[r],s=i[0],l=i[1];o[l]=c(s,t)}})),t.flags=m}return o}}function p(n,t,r,a){var i=e.getNameFromIndexInfo(n)||"x",o=e.factory.createKeywordTypeNode(0===t?146:143),s=e.factory.createParameterDeclaration(void 0,void 0,void 0,i,void 0,o,void 0);return a||(a=c(n.type||be,r)),n.type||2097152&r.flags||(r.encounteredError=!0),r.approximateLength+=i.length+4,e.factory.createIndexSignature(void 0,n.isReadonly?[e.factory.createToken(141)]:void 0,[s],a)}function f(n,t,r,a){var i,o,s,l,u,d,p=256&r.flags;p&&(r.flags&=-257),32&r.flags&&n.target&&n.mapper&&n.target.typeParameters?d=n.target.typeParameters.map((function(e){return c(pd(e,n.mapper),r)})):u=n.typeParameters&&n.typeParameters.map((function(e){return _(e,r)}));var f,m=ns(n,!0)[0].map((function(e){return g(e,r,165===t,null==a?void 0:a.privateSymbolVisitor,null==a?void 0:a.bundledImports)}));if(n.thisParameter){var y=g(n.thisParameter,r);m.unshift(y)}var h=bc(n);if(h){var v=2===h.kind||3===h.kind?e.factory.createToken(127):void 0,b=1===h.kind||3===h.kind?e.setEmitFlags(e.factory.createIdentifier(h.parameterName),16777216):e.factory.createThisTypeNode(),E=h.type&&c(h.type,r);f=e.factory.createTypePredicateNode(v,b,E)}else{var T=Ec(n);!T||p&&hi(T)?p||(f=e.factory.createKeywordTypeNode(128)):f=function(n,t,r,a,i){if(t!==Se&&n.enclosingDeclaration){var o=r.declaration&&e.getEffectiveReturnTypeNode(r.declaration);if(e.findAncestor(o,(function(e){return e===n.enclosingDeclaration}))&&o&&pd(Vu(o),r.mapper)===t&&M(o,t)){var s=F(n,o,a,i);if(s)return s}}return c(t,n)}(r,T,n,null==a?void 0:a.privateSymbolVisitor,null==a?void 0:a.bundledImports)}r.approximateLength+=3;var S=168===t?e.factory.createCallSignature(u,m,f):169===t?e.factory.createConstructSignature(u,m,f):163===t?e.factory.createMethodSignature(null==a?void 0:a.modifiers,null!==(i=null==a?void 0:a.name)&&void 0!==i?i:e.factory.createIdentifier(""),null==a?void 0:a.questionToken,u,m,f):164===t?e.factory.createMethodDeclaration(void 0,null==a?void 0:a.modifiers,void 0,null!==(o=null==a?void 0:a.name)&&void 0!==o?o:e.factory.createIdentifier(""),void 0,u,m,f,void 0):165===t?e.factory.createConstructorDeclaration(void 0,null==a?void 0:a.modifiers,m,void 0):166===t?e.factory.createGetAccessorDeclaration(void 0,null==a?void 0:a.modifiers,null!==(s=null==a?void 0:a.name)&&void 0!==s?s:e.factory.createIdentifier(""),m,f,void 0):167===t?e.factory.createSetAccessorDeclaration(void 0,null==a?void 0:a.modifiers,null!==(l=null==a?void 0:a.name)&&void 0!==l?l:e.factory.createIdentifier(""),m,void 0):170===t?e.factory.createIndexSignature(void 0,null==a?void 0:a.modifiers,m,f):304===t?e.factory.createJSDocFunctionType(m,f):173===t?e.factory.createFunctionTypeNode(u,m,null!=f?f:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):174===t?e.factory.createConstructorTypeNode(u,m,null!=f?f:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):248===t?e.factory.createFunctionDeclaration(void 0,null==a?void 0:a.modifiers,void 0,(null==a?void 0:a.name)?e.cast(a.name,e.isIdentifier):e.factory.createIdentifier(""),u,m,f,void 0):205===t?e.factory.createFunctionExpression(null==a?void 0:a.modifiers,void 0,(null==a?void 0:a.name)?e.cast(a.name,e.isIdentifier):e.factory.createIdentifier(""),u,m,f,e.factory.createBlock([])):206===t?e.factory.createArrowFunction(null==a?void 0:a.modifiers,u,m,f,void 0,e.factory.createBlock([])):e.Debug.assertNever(t);return d&&(S.typeArguments=e.factory.createNodeArray(d)),S}function m(n,t,r){var a=t.flags;t.flags&=-513;var i=x(n,t),o=Us(n),s=o&&c(o,t);return t.flags=a,e.factory.createTypeParameterDeclaration(i,r,s)}function _(e,n,t){return void 0===t&&(t=Ns(e)),m(e,n,t&&c(t,n))}function g(n,t,r,a,i){var o=e.getDeclarationOfKind(n,159);o||e.isTransientSymbol(n)||(o=e.getDeclarationOfKind(n,322));var s,c=to(n);o&&tT(o)&&(c=Yp(c)),1073741824&t.flags&&o&&!e.isJSDocParameterTag(o)&&(s=o,q&&uc(s)&&!s.initializer)&&(c=am(c,524288));var l=w(t,c,n,t.enclosingDeclaration,a,i),u=!(8192&t.flags)&&r&&o&&o.modifiers?o.modifiers.map(e.factory.cloneNode):void 0,d=o&&e.isRestParameter(o)||32768&e.getCheckFlags(n)?e.factory.createToken(25):void 0,p=o&&o.name?78===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name),16777216):156===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name.right),16777216):function n(r){t.tracker.trackSymbol&&e.isComputedPropertyName(r)&&Uo(r)&&y(r.expression,t.enclosingDeclaration,t);var a=e.visitEachChild(r,n,e.nullTransformationContext,void 0,n);return e.isBindingElement(a)&&(a=e.factory.updateBindingElement(a,a.dotDotDotToken,a.propertyName,a.name,void 0)),e.nodeIsSynthesized(a)||(a=e.factory.cloneNode(a)),e.setEmitFlags(a,16777217)}(o.name):e.symbolName(n),f=o&&uc(o)||16384&e.getCheckFlags(n)?e.factory.createToken(57):void 0,m=e.factory.createParameterDeclaration(void 0,u,d,p,f,l,void 0);return t.approximateLength+=e.symbolName(n).length+3,m}function y(n,t,r){if(r.tracker.trackSymbol){var a=e.getFirstIdentifier(n),i=xr(a,a.escapedText,1160127,void 0,void 0,!0);i&&r.tracker.trackSymbol(i,t,111551)}}function h(e,n,t,r){return n.tracker.trackSymbol(e,n.enclosingDeclaration,t),v(e,n,t,r)}function v(n,t,r,a){var i;return 262144&n.flags||!(t.enclosingDeclaration||64&t.flags)||134217728&t.flags?i=[n]:(i=e.Debug.checkDefined(function n(r,i,o){var s,c=Ba(r,t.enclosingDeclaration,i,!!(128&t.flags));if(!c||Ua(c[0],t.enclosingDeclaration,1===c.length?i:Ga(i))){var l=Ea(c?c[0]:r,t.enclosingDeclaration,i);if(e.length(l)){s=l.map((function(n){return e.some(n.declarations,Ja)?T(n,t):void 0}));var u=l.map((function(e,n){return n}));u.sort((function(n,t){var r=s[n],a=s[t];if(r&&a){var i=e.pathIsRelative(a);return e.pathIsRelative(r)===i?e.moduleSpecifiers.countPathComponents(r)-e.moduleSpecifiers.countPathComponents(a):i?-1:1}return 0}));for(var d=u.map((function(e){return l[e]})),p=0,f=d;p<f.length;p++){var m=f[p],_=n(m,Ga(i),!1);if(_){if(m.exports&&m.exports.get("export=")&&La(m.exports.get("export="),r)){c=_;break}c=_.concat(c||[Sa(m,r)||r]);break}}}}if(c)return c;if(o||!(6144&r.flags)){if(!o&&!a&&e.forEach(r.declarations,Ja))return;return[r]}}(n,r,!0)),e.Debug.assert(i&&i.length>0)),i}function b(n,t){var r;return 524384&tE(n).flags&&(r=e.factory.createNodeArray(e.map(lo(n),(function(e){return _(e,t)})))),r}function E(n,t,r){var a;e.Debug.assert(n&&0<=t&&t<n.length);var i=n[t],o=k(i);if(!(null===(a=r.typeParameterSymbolList)||void 0===a?void 0:a.has(o))){var s;if((r.typeParameterSymbolList||(r.typeParameterSymbolList=new e.Set)).add(o),512&r.flags&&t<n.length-1){var c=i,l=n[t+1];if(1&e.getCheckFlags(l)){var u=function(n){return e.concatenate(co(n),lo(n))}(2097152&c.flags?Xr(c):c);s=d(e.map(u,(function(e){return zu(e,l.mapper)})),r)}else s=b(i,r)}return s}}function T(n,t){var r,a=e.getDeclarationOfKind(n,294);if(!a){var o=e.firstDefined(n.declarations,(function(e){return Ta(e,n)}));o&&(a=e.getDeclarationOfKind(o,294))}if(a&&void 0!==a.moduleName)return a.moduleName;if(!a){if(t.tracker.trackReferencedAmbientModule){var c=e.filter(n.declarations,e.isAmbientModule);if(e.length(c))for(var l=0,u=c;l<u.length;l++){var d=u[l];t.tracker.trackReferencedAmbientModule(d,n)}}if(i.test(n.escapedName))return n.escapedName.substring(1,n.escapedName.length-1)}if(!t.enclosingDeclaration||!t.tracker.moduleResolverHost)return i.test(n.escapedName)?n.escapedName.substring(1,n.escapedName.length-1):e.getSourceFileOfNode(e.getNonAugmentationDeclaration(n)).fileName;var p=e.getSourceFileOfNode(e.getOriginalNode(t.enclosingDeclaration)),f=vr(n),m=f.specifierCache&&f.specifierCache.get(p.path);if(!m){var _=!!e.outFile(j),g=t.tracker.moduleResolverHost,y=_?s(s({},j),{baseUrl:g.getCommonSourceDirectory()}):j;m=e.first(e.moduleSpecifiers.getModuleSpecifiers(n,y,p,g,{importModuleSpecifierPreference:_?"non-relative":"relative"})),null!==(r=f.specifierCache)&&void 0!==r||(f.specifierCache=new e.Map),f.specifierCache.set(p.path,m)}return m}function S(n,t,r,a){var i=h(n,t,r,!(16384&t.flags)),o=111551===r;if(e.some(i[0].declarations,Ja)){var s=i.length>1?g(i,i.length-1,1):void 0,c=a||E(i,0,t),l=T(i[0],t);!(67108864&t.flags)&&e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.NodeJs&&l.indexOf("/node_modules/")>=0&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(l));var u=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(l));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(i[0]),t.approximateLength+=l.length+10,!s||e.isEntityName(s)){if(s)(m=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.factory.createImportTypeNode(u,s,c,o)}var d=function n(t){return e.isIndexedAccessTypeNode(t.objectType)?n(t.objectType):t}(s),p=d.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(u,p,c,o),d.indexType)}var f=g(i,i.length-1,0);if(e.isIndexedAccessTypeNode(f))return f;if(o)return e.factory.createTypeQueryNode(f);var m,_=(m=e.isIdentifier(f)?f:f.right).typeArguments;return m.typeArguments=void 0,e.factory.createTypeReferenceNode(f,_);function g(n,r,i){var o,s=r===n.length-1?a:E(n,r,t),c=n[r],l=n[r-1];if(0===r)t.flags|=16777216,o=li(c,t),t.approximateLength+=(o?o.length:0)+1,t.flags^=16777216;else if(l&&ma(l)){var u=ma(l);e.forEachEntry(u,(function(n,t){if(La(n,c)&&!Vo(t)&&"export="!==t)return o=e.unescapeLeadingUnderscores(t),!0}))}if(o||(o=li(c,t)),t.approximateLength+=o.length+1,!(16&t.flags)&&l&&zo(l)&&zo(l).get(c.escapedName)&&La(zo(l).get(c.escapedName),c)){var d=g(n,r-1,i);return e.isIndexedAccessTypeNode(d)?e.factory.createIndexedAccessTypeNode(d,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(d,s),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o)))}var p=e.setEmitFlags(e.factory.createIdentifier(o,s),16777216);if(p.symbol=c,r>i){d=g(n,r-1,i);return e.isEntityName(d)?e.factory.createQualifiedName(d,p):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return p}}function L(e,n,t){var r=xr(n.enclosingDeclaration,e,788968,void 0,e,!1);return!!r&&!(262144&r.flags&&r===t.symbol)}function x(n,t){var r;if(4&t.flags&&t.typeParameterNames){var a=t.typeParameterNames.get(Nl(n));if(a)return a}var i=A(n.symbol,t,788968,!0);if(!(78&i.kind))return e.factory.createIdentifier("(Missing type parameter)");if(4&t.flags){for(var o=i.escapedText,s=0,c=o;(null===(r=t.typeParameterNamesByText)||void 0===r?void 0:r.has(c))||L(c,t,n);)c=o+"_"+ ++s;c!==o&&(i=e.factory.createIdentifier(c,i.typeArguments)),(t.typeParameterNames||(t.typeParameterNames=new e.Map)).set(Nl(n),i),(t.typeParameterNamesByText||(t.typeParameterNamesByText=new e.Set)).add(i.escapedText)}return i}function A(n,t,r,a){var i=h(n,t,r);return!a||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=li(o,t);0===a&&(t.flags^=16777216);var c=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216);return c.symbol=o,a>0?e.factory.createQualifiedName(n(r,a-1),c):c}(i,i.length-1)}function D(n,t,r){var a=h(n,t,r);return function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=li(o,t);0===a&&(t.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,Ja))return e.factory.createStringLiteral(T(o,t));var l=35===c?s.length>1&&e.isIdentifierStart(s.charCodeAt(1),K):e.isIdentifierStart(c,K);if(0===a||l){var u=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216);return u.symbol=o,a>0?e.factory.createPropertyAccessExpression(n(r,a-1),u):u}91===c&&(s=s.substring(1,s.length-1),c=s.charCodeAt(0));var d=void 0;return e.isSingleOrDoubleQuote(c)?d=e.factory.createStringLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})),39===c):""+ +s===s&&(d=e.factory.createNumericLiteral(+s)),d||((d=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216)).symbol=o),e.factory.createElementAccessExpression(n(r,a-1),d)}(a,a.length-1)}function C(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isStringLiteral(t)}function I(n){var t=e.getNameOfDeclaration(n);return!!(t&&e.isStringLiteral(t)&&(t.singleQuote||!e.nodeIsSynthesized(t)&&e.startsWith(e.getTextOfNode(t,!1),"'")))}function N(n,t){var r=!!e.length(n.declarations)&&e.every(n.declarations,I),a=function(n,t,r){var a=vr(n).nameType;if(a){if(384&a.flags){var i=""+a.value;return e.isIdentifierText(i,j.target)||U_(i)?U_(i)&&e.startsWith(i,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+i)):O(i):e.factory.createStringLiteral(i,!!r)}if(8192&a.flags)return e.factory.createComputedPropertyName(D(a.symbol,t,111551))}}(n,t,r);return a||(e.isKnownSymbol(n)?e.factory.createComputedPropertyName(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("Symbol"),n.escapedName.substr(3))):O(e.unescapeLeadingUnderscores(n.escapedName),!!e.length(n.declarations)&&e.every(n.declarations,C),r))}function O(n,t,r){return e.isIdentifierText(n,j.target)?e.factory.createIdentifier(n):!t&&U_(n)&&+n>=0?e.factory.createNumericLiteral(+n):e.factory.createStringLiteral(n,!!r)}function P(n,t){return n.declarations&&e.find(n.declarations,(function(n){return!(!e.getEffectiveTypeAnnotationNode(n)||t&&!e.findAncestor(n,(function(e){return e===t})))}))}function M(n,t){return!(4&e.getObjectFlags(t))||!e.isTypeReferenceNode(n)||e.length(n.typeArguments)>=fc(t.target.typeParameters)}function w(n,t,r,a,i,o){if(t!==Se&&a){var s=P(r,a);if(s&&!e.isFunctionLikeDeclaration(s)){var l=e.getEffectiveTypeAnnotationNode(s);if(Vu(l)===t&&M(l,t)){var u=F(n,l,i,o);if(u)return u}}}var d=n.flags;8192&t.flags&&t.symbol===r&&(n.flags|=1048576);var p=c(t,n);return n.flags=d,p}function F(t,a,i,o){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var s=!1,l=e.getSourceFileOfNode(a),u=e.visitNode(a,(function r(a){var u,d;if(e.isJSDocAllType(a)||306===a.kind)return e.factory.createKeywordTypeNode(128);if(e.isJSDocUnknownType(a))return e.factory.createKeywordTypeNode(151);if(e.isJSDocNullableType(a))return e.factory.createUnionTypeNode([e.visitNode(a.type,r),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(a))return e.factory.createUnionTypeNode([e.visitNode(a.type,r),e.factory.createKeywordTypeNode(149)]);if(e.isJSDocNonNullableType(a))return e.visitNode(a.type,r);if(e.isJSDocVariadicType(a))return e.factory.createArrayTypeNode(e.visitNode(a.type,r));if(e.isJSDocTypeLiteral(a))return e.factory.createTypeLiteralNode(e.map(a.jsDocPropertyTags,(function(n){var i=e.isIdentifier(n.name)?n.name:n.name.right,o=yi(Vu(a),i.escapedText),s=o&&n.typeExpression&&Vu(n.typeExpression.type)!==o?c(o,t):void 0;return e.factory.createPropertySignature(void 0,i,n.typeExpression&&e.isJSDocOptionalType(n.typeExpression.type)?e.factory.createToken(57):void 0,s||n.typeExpression&&e.visitNode(n.typeExpression.type,r)||e.factory.createKeywordTypeNode(128))})));if(e.isTypeReferenceNode(a)&&e.isIdentifier(a.typeName)&&""===a.typeName.escapedText)return e.setOriginalNode(e.factory.createKeywordTypeNode(128),a);if((e.isExpressionWithTypeArguments(a)||e.isTypeReferenceNode(a))&&e.isJSDocIndexSignature(a))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,e.visitNode(a.typeArguments[0],r))],e.visitNode(a.typeArguments[1],r))]);if(e.isJSDocFunctionType(a)){var p;return e.isJSDocConstructSignature(a)?e.factory.createConstructorTypeNode(e.visitNodes(a.typeParameters,r),e.mapDefined(a.parameters,(function(n,t){return n.name&&e.isIdentifier(n.name)&&"new"===n.name.escapedText?void(p=n.type):e.factory.createParameterDeclaration(void 0,void 0,g(n),y(n,t),n.questionToken,e.visitNode(n.type,r),void 0)})),e.visitNode(p||a.type,r)||e.factory.createKeywordTypeNode(128)):e.factory.createFunctionTypeNode(e.visitNodes(a.typeParameters,r),e.map(a.parameters,(function(n,t){return e.factory.createParameterDeclaration(void 0,void 0,g(n),y(n,t),n.questionToken,e.visitNode(n.type,r),void 0)})),e.visitNode(a.type,r)||e.factory.createKeywordTypeNode(128))}if(e.isTypeReferenceNode(a)&&e.isInJSDoc(a)&&(!M(a,Vu(a))||rl(a)||he===Xc(Jc(a),788968,!0)))return e.setOriginalNode(c(Vu(a),t),a);if(e.isLiteralImportTypeNode(a))return e.factory.updateImportTypeNode(a,e.factory.updateLiteralTypeNode(a.argument,function(r,a){if(o){if(t.tracker&&t.tracker.moduleResolverHost){var i=TT(r);if(i){var s={getCanonicalFileName:e.createGetCanonicalFileName(!!n.useCaseSensitiveFileNames),getCurrentDirectory:function(){return t.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return t.tracker.moduleResolverHost.getCommonSourceDirectory()}},c=e.getResolvedExternalModuleName(s,i);return e.factory.createStringLiteral(c)}}}else if(t.tracker&&t.tracker.trackExternalModuleSymbolOfImportTypeNode){var l=oa(a,a,void 0);l&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(l)}return a}(a,a.argument.literal)),a.qualifier,e.visitNodes(a.typeArguments,r,e.isTypeNode),a.isTypeOf);if(e.isEntityName(a)||e.isEntityNameExpression(a)){var f=e.getFirstIdentifier(a);if(e.isInJSFile(a)&&(e.isExportsIdentifier(f)||e.isModuleExportsAccessExpression(f.parent)||e.isQualifiedName(f.parent)&&e.isModuleIdentifier(f.parent.left)&&e.isExportsIdentifier(f.parent.right)))return s=!0,a;var m=ra(f,67108863,!0,!0);if(m&&(0!==Ha(m,t.enclosingDeclaration,67108863,!1).accessibility?s=!0:(null===(d=null===(u=t.tracker)||void 0===u?void 0:u.trackSymbol)||void 0===d||d.call(u,m,t.enclosingDeclaration,67108863),null==i||i(m)),e.isIdentifier(a))){var _=262144&m.flags?x(Io(m),t):e.factory.cloneNode(a);return _.symbol=m,e.setEmitFlags(e.setOriginalNode(_,a),16777216)}}l&&e.isTupleTypeNode(a)&&e.getLineAndCharacterOfPosition(l,a.pos).line===e.getLineAndCharacterOfPosition(l,a.end).line&&e.setEmitFlags(a,1);return e.visitEachChild(a,r,e.nullTransformationContext);function g(n){return n.dotDotDotToken||(n.type&&e.isJSDocVariadicType(n.type)?e.factory.createToken(25):void 0)}function y(n,t){return n.name&&e.isIdentifier(n.name)&&"this"===n.name.escapedText?"this":g(n)?"args":"arg"+t}}));if(!s)return u===a?e.setTextRange(e.factory.cloneNode(a),a):u}}(),te=e.createSymbolTable(),re=ur(4,"undefined");re.declarations=[];var ae=ur(1536,"globalThis",8);ae.exports=te,ae.declarations=[],te.set(ae.escapedName,ae);var ie,oe=ur(4,"arguments"),se=ur(4,"require"),ce={getNodeCount:function(){return e.sum(n.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(n.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(n.getSourceFiles(),"symbolCount")+v},getTypeCount:function(){return h},getInstantiationCount:function(){return E},getRelationCacheSizes:function(){return{assignable:$t.size,identity:nr.size,subtype:Qt.size,strictSubtype:Zt.size}},isUndefinedSymbol:function(e){return e===re},isArgumentsSymbol:function(e){return e===oe},isUnknownSymbol:function(e){return e===he},getMergedSymbol:ha,getDiagnostics:DE,getGlobalDiagnostics:function(){return CE(),zt.getGlobalDiagnostics()},getTypeOfSymbolAtLocation:function(n,t){var r=e.getParseTreeNode(t);return r?function(n,t){if(n=n.exportSymbol||n,78===t.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),e.isExpressionNode(t)&&!e.isAssignmentTarget(t))){var r=tv(t);if(xa(br(t).resolvedSymbol)===n)return r}return to(n)}(n,r):Se},getSymbolsOfParameterPropertyDeclaration:function(n,t){var r=e.getParseTreeNode(n,e.isParameter);return void 0===r?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(n,t){var r=n.parent,a=n.parent.parent,i=Tr(r.locals,t,111551),o=Tr(zo(a.symbol),t,111551);if(i&&o)return[i,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(r,e.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:Io,getPropertiesOfType:Cs,getPropertyOfType:function(n,t){return Zs(n,e.escapeLeadingUnderscores(t))},getPrivateIdentifierPropertyOfType:function(n,t,r){var a=e.getParseTreeNode(r);if(a){var i=Dg(e.escapeLeadingUnderscores(t),a);return i?Cg(n,i):void 0}},getTypeOfPropertyOfType:function(n,t){return yi(n,e.escapeLeadingUnderscores(t))},getIndexInfoOfType:rc,getSignaturesOfType:ec,getIndexTypeOfType:ac,getBaseTypes:ho,getBaseTypeOfLiteralType:Op,getWidenedType:df,getTypeFromTypeNode:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t?Vu(t):Se},getParameterType:Qy,getPromisedTypeOfPromise:Dv,getAwaitedType:function(e){return Iv(e)},getReturnTypeOfSignature:Ec,isNullableType:yg,getNullableType:Xp,getNonNullableType:Qp,getNonOptionalType:ef,getTypeArguments:Hc,typeToTypeNode:ne.typeToTypeNode,indexInfoToIndexSignatureDeclaration:ne.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:ne.signatureToSignatureDeclaration,symbolToEntityName:ne.symbolToEntityName,symbolToExpression:ne.symbolToExpression,symbolToTypeParameterDeclarations:ne.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:ne.symbolToParameterDeclaration,typeParameterToDeclaration:ne.typeParameterToDeclaration,getSymbolsInScope:function(n,t){var r=e.getParseTreeNode(n);return r?function(n,t){if(16777216&n.flags)return[];var r=e.createSymbolTable(),a=!1;return i(),r.delete("this"),sc(r);function i(){for(;n;){switch(n.locals&&!Er(n)&&s(n.locals,t),n.kind){case 294:if(!e.isExternalOrCommonJsModule(n))break;case 253:s(va(n).exports,2623475&t);break;case 252:s(va(n).exports,8&t);break;case 218:n.name&&o(n.symbol,t);case 249:case 250:a||s(zo(va(n)),788968&t);break;case 205:n.name&&o(n.symbol,t)}e.introducesArgumentsExoticObject(n)&&o(oe,t),a=e.hasSyntacticModifier(n,32),n=n.parent}s(te,t)}function o(n,t){if(e.getCombinedLocalAndExportSymbolFlags(n)&t){var a=n.escapedName;r.has(a)||r.set(a,n)}}function s(e,n){n&&e.forEach((function(e){o(e,n)}))}}(r,t):[]},getSymbolAtLocation:function(n){var t=e.getParseTreeNode(n);return t?ME(t,!0):void 0},getShorthandAssignmentValueSymbol:function(n){var t=e.getParseTreeNode(n);return t?function(e){if(e&&286===e.kind)return ra(e.name,2208703);return}(t):void 0},getExportSpecifierLocalTargetSymbol:function(n){var t=e.getParseTreeNode(n,e.isExportSpecifier);return t?function(e){return e.parent.parent.moduleSpecifier?Kr(e.parent.parent,e):ra(e.propertyName||e.name,2998271)}(t):void 0},getExportSymbolOfSymbol:function(e){return ha(e.exportSymbol||e)},getTypeAtLocation:function(n){var t=e.getParseTreeNode(n);return t?wE(t):Se},getTypeOfAssignmentPattern:function(n){var t=e.getParseTreeNode(n,e.isAssignmentPattern);return t&&FE(t)||Se},getPropertySymbolOfDestructuringAssignment:function(n){var t=e.getParseTreeNode(n,e.isIdentifier);return t?function(n){var t=FE(e.cast(n.parent.parent,e.isAssignmentPattern));return t&&Zs(t,n.escapedText)}(t):void 0},signatureToString:function(n,t,r,a){return Za(n,e.getParseTreeNode(t),r,a)},typeToString:function(n,t,r){return $a(n,e.getParseTreeNode(t),r)},symbolToString:function(n,t,r,a){return Qa(n,e.getParseTreeNode(t),r,a)},typePredicateToString:function(n,t,r){return ai(n,e.getParseTreeNode(t),r)},writeSignature:function(n,t,r,a,i){return Za(n,e.getParseTreeNode(t),r,a,i)},writeType:function(n,t,r,a){return $a(n,e.getParseTreeNode(t),r,a)},writeSymbol:function(n,t,r,a,i){return Qa(n,e.getParseTreeNode(t),r,a,i)},writeTypePredicate:function(n,t,r,a){return ai(n,e.getParseTreeNode(t),r,a)},getAugmentedPropertiesOfType:VE,getRootSymbols:function n(t){var r=function(n){if(6&e.getCheckFlags(n))return e.mapDefined(vr(n).containingType.types,(function(e){return Zs(e,n.escapedName)}));if(33554432&n.flags){var t=n,r=t.leftSpread,a=t.rightSpread,i=t.syntheticOrigin;return r?[r,a]:i?[i]:e.singleElementArray(function(e){var n,t=e;for(;t=vr(t).target;)n=t;return n}(n))}return}(t);return r?e.flatMap(r,n):[t]},getContextualType:function(n,t){var r=e.getParseTreeNode(n,e.isExpression);if(r){var a=e.findAncestor(r,e.isCallLikeExpression),i=a&&br(a).resolvedSignature;if(4&t&&a){var o=r;do{br(o).skipDirectInference=!0,o=o.parent}while(o&&o!==a);br(a).resolvedSignature=void 0}var s=D_(r,t);if(4&t&&a){o=r;do{br(o).skipDirectInference=void 0,o=o.parent}while(o&&o!==a);br(a).resolvedSignature=i}return s}},getContextualTypeForObjectLiteralElement:function(n){var t=e.getParseTreeNode(n,e.isObjectLiteralElementLike);return t?v_(t):void 0},getContextualTypeForArgumentAtIndex:function(n,t){var r=e.getParseTreeNode(n,e.isCallLikeExpression);return r&&__(r,t)},getContextualTypeForJsxAttribute:function(n){var t=e.getParseTreeNode(n,e.isJsxAttributeLike);return t&&T_(t)},isContextSensitive:yd,getFullyQualifiedName:ta,getResolvedSignature:function(e,n,t){return le(e,n,t,0)},getResolvedSignatureForSignatureHelp:function(e,n,t){return le(e,n,t,16)},getExpandedParameters:ns,hasEffectiveRestParameter:th,getConstantValue:function(n){var t=e.getParseTreeNode(n,cT);return t?lT(t):void 0},isValidPropertyAccess:function(n,t){var r=e.getParseTreeNode(n,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!r&&function(e,n){switch(e.kind){case 198:return Vg(e,105===e.expression.kind,n,df(iv(e.expression)));case 156:return Vg(e,!1,n,df(iv(e.left)));case 192:return Vg(e,!1,n,Vu(e))}}(r,e.escapeLeadingUnderscores(t))},isValidPropertyAccessForCompletions:function(n,t,r){var a=e.getParseTreeNode(n,e.isPropertyAccessExpression);return!!a&&function(e,n,t){return Vg(e,198===e.kind&&105===e.expression.kind,t.escapedName,n)}(a,t,r)},getSignatureFromDeclaration:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?_c(t):void 0},isImplementationOfOverload:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?nT(t):void 0},getImmediateAliasedSymbol:K_,getAliasedSymbol:Xr,getEmitResolver:function(e,n){return DE(e,n),ee},getExportsOfModule:pa,getExportsAndPropertiesOfModule:function(n){var t=pa(n),r=la(n);r!==n&&e.addRange(t,Cs(to(r)));return t},getSymbolWalker:e.createGetSymbolWalker((function(e){return Lc(e)||be}),bc,Ec,ho,Ls,to,Wf,tc,Ns,e.getFirstIdentifier,Hc),getAmbientModules:function(){dn||(dn=[],te.forEach((function(e,n){i.test(n)&&dn.push(e)})));return dn},getJsxIntrinsicTagNamesAt:function(n){var t=Z_(D.IntrinsicElements,n);return t?Cs(t):e.emptyArray},isOptionalParameter:function(n){var t=e.getParseTreeNode(n,e.isParameter);return!!t&&uc(t)},tryGetMemberInModuleExports:function(n,t){return fa(e.escapeLeadingUnderscores(n),t)},tryGetMemberInModuleExportsAndProperties:function(n,t){return function(n,t){var r=fa(n,t);if(r)return r;var a=la(t);if(a===t)return;var i=to(a);return 131068&i.flags||1&e.getObjectFlags(i)||Ip(i)?void 0:Zs(i,n)}(e.escapeLeadingUnderscores(n),t)},tryFindAmbientModuleWithoutAugmentations:function(e){return lc(e,!1)},getApparentType:js,getUnionType:wl,isTypeAssignableTo:Dd,createAnonymousType:wa,createSignature:Qo,createSymbol:ur,createIndexInfo:Pc,getAnyType:function(){return be},getStringType:function(){return Re},getNumberType:function(){return ke},createPromiseType:lh,createArrayType:vl,getElementTypeOfArrayType:xp,getBooleanType:function(){return Ge},getFalseType:function(e){return e?Pe:Me},getTrueType:function(e){return e?we:Fe},getVoidType:function(){return Ue},getUndefinedType:function(){return Ae},getNullType:function(){return Ie},getESSymbolType:function(){return Be},getNeverType:function(){return Ve},getOptionalType:function(){return Ce},isSymbolAccessible:Ha,isArrayType:Tp,isTupleType:Gp,isArrayLikeType:Ap,isTypeInvalidDueToUnionDiscriminant:function(e,n){return n.properties.some((function(n){var t=n.name&&Wl(n.name),r=t&&Bo(t)?Ho(t):void 0,a=void 0===r?void 0:yi(e,r);return!!a&&kp(a)&&!Dd(wE(n),a)}))},getAllPossiblePropertiesOfTypes:function(n){var t=wl(n);if(!(1048576&t.flags))return VE(t);for(var r=e.createSymbolTable(),a=0,i=n;a<i.length;a++)for(var o=i[a],s=0,c=VE(o);s<c.length;s++){var l=c[s].escapedName;if(!r.has(l)){var u=Hs(t,l);u&&r.set(l,u)}}return e.arrayFrom(r.values())},getSuggestedSymbolForNonexistentProperty:Pg,getSuggestionForNonexistentProperty:wg,getSuggestedSymbolForNonexistentJSXAttribute:Mg,getSuggestedSymbolForNonexistentSymbol:function(n,t,r){return Fg(n,e.escapeLeadingUnderscores(t),r)},getSuggestionForNonexistentSymbol:function(n,t,r){return function(n,t,r){var a=Fg(n,t,r);return a&&e.symbolName(a)}(n,e.escapeLeadingUnderscores(t),r)},getSuggestedSymbolForNonexistentModule:Gg,getSuggestionForNonexistentExport:function(n,t){var r=Gg(n,t);return r&&e.symbolName(r)},getBaseConstraintOfType:Ms,getDefaultFromTypeParameter:function(e){return e&&262144&e.flags?Us(e):void 0},resolveName:function(n,t,r,a){return xr(t,e.escapeLeadingUnderscores(n),r,void 0,void 0,!1,a)},getJsxNamespace:function(n){return e.unescapeLeadingUnderscores(ar(n))},getAccessibleSymbolChain:Ba,getTypePredicateOfSignature:bc,resolveExternalModuleName:function(n){var t=e.getParseTreeNode(n,e.isExpression);return t&&ia(t,t,!0)},resolveExternalModuleSymbol:la,tryGetThisTypeAt:function(n,t){var r=e.getParseTreeNode(n);return r&&r_(r,t)},getTypeArgumentConstraint:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t&&function(n){var t=e.tryCast(n.parent,e.isTypeReferenceType);if(!t)return;var r=hv(t),a=Ns(r[t.typeArguments.indexOf(n)]);return a&&pd(a,qu(r,gv(t,r)))}(t)},getSuggestionDiagnostics:function(t,a){var i,o=e.getParseTreeNode(t,e.isSourceFile)||e.Debug.fail("Could not determine parsed source file.");if(e.skipTypeChecking(o,j,n))return e.emptyArray;try{return r=a,LE(o),e.Debug.assert(!!(1&br(o).flags)),i=e.addRange(i,Jt.getDiagnostics(o.fileName)),Vv(AE(o),(function(n,t,r){e.containsParseError(n)||xE(t,!!(8388608&n.flags))||(i||(i=[])).push(s(s({},r),{category:e.DiagnosticCategory.Suggestion}))})),i||e.emptyArray}finally{r=void 0}},runWithCancellationToken:function(e,n){try{return r=e,n(ce)}finally{r=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:lo,isDeclarationVisible:ui};function le(n,t,r,a){var i=e.getParseTreeNode(n,e.isCallLikeExpression);ie=r;var o=i?ky(i,t,a):void 0;return ie=void 0,o}var ue=new e.Map,de=new e.Map,pe=new e.Map,fe=new e.Map,me=new e.Map,_e=new e.Map,ge=[],ye=new e.Map,he=ur(4,"unknown"),ve=ur(0,"__resolving__"),be=Ia(1,"any"),Ee=Ia(1,"any"),Te=Ia(1,"any"),Se=Ia(1,"error"),Le=Ia(1,"any",524288),xe=Ia(2,"unknown"),Ae=Ia(32768,"undefined"),De=q?Ae:Ia(32768,"undefined",524288),Ce=Ia(32768,"undefined"),Ie=Ia(65536,"null"),Ne=q?Ie:Ia(65536,"null",524288),Re=Ia(4,"string"),ke=Ia(8,"number"),Oe=Ia(64,"bigint"),Pe=Ia(512,"false"),Me=Ia(512,"false"),we=Ia(512,"true"),Fe=Ia(512,"true");we.regularType=Fe,we.freshType=we,Fe.regularType=Fe,Fe.freshType=we,Pe.regularType=Me,Pe.freshType=Pe,Me.regularType=Me,Me.freshType=Pe;var Ge=Na([Me,Fe]);Na([Me,we]),Na([Pe,Fe]),Na([Pe,we]);var Be=Ia(4096,"symbol"),Ue=Ia(16384,"void"),Ve=Ia(131072,"never"),je=Ia(131072,"never"),Ke=Ia(131072,"never",2097152),He=Ia(131072,"never"),We=Ia(131072,"never"),qe=Ia(67108864,"object"),ze=wl([Re,ke,Be]),Je=Z?Re:ze,Xe=wl([ke,Oe]),Ye=Xu((function(e){return 262144&e.flags?(n=e).constraint===xe?n:n.restrictiveInstantiation||(n.restrictiveInstantiation=ka(n.symbol),n.restrictiveInstantiation.constraint=xe,n.restrictiveInstantiation):e;var n})),Qe=Xu((function(e){return 262144&e.flags?Te:e})),Ze=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),$e=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0);$e.objectFlags|=4096;var en=ur(2048,"__type");en.members=e.createSymbolTable();var nn=wa(en,U,e.emptyArray,e.emptyArray,void 0,void 0),tn=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0);tn.instantiations=new e.Map;var rn=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0);rn.objectFlags|=2097152;var an=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),on=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),sn=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0),cn=ka(),ln=ka();ln.constraint=cn;var un,dn,pn,fn,mn,_n,gn,yn,hn,vn,bn,En,Tn,Sn,Ln,xn,An,Dn,Cn,In,Nn,Rn,kn,On,Pn,Mn,wn,Fn,Gn,Bn,Un,Vn,jn,Kn,Hn,Wn,qn,zn,Jn,Xn,Yn,Qn,Zn,$n,et,nt,tt,rt=ka(),at=pc(1,"<<unresolved>>",0,be),it=Qo(void 0,void 0,void 0,e.emptyArray,be,void 0,0,0),ot=Qo(void 0,void 0,void 0,e.emptyArray,Se,void 0,0,0),st=Qo(void 0,void 0,void 0,e.emptyArray,be,void 0,0,0),ct=Qo(void 0,void 0,void 0,e.emptyArray,je,void 0,0,0),lt=Pc(Re,!0),ut=new e.Map,dt={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},pt=Sb(be,be,be),ft=Sb(be,be,xe),mt=Sb(Ve,be,Ae),_t={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return Kn||(Kn=ul("AsyncIterator",3,e))||tn},getGlobalIterableType:function(e){return jn||(jn=ul("AsyncIterable",1,e))||tn},getGlobalIterableIteratorType:function(e){return Hn||(Hn=ul("AsyncIterableIterator",1,e))||tn},getGlobalGeneratorType:function(e){return Wn||(Wn=ul("AsyncGenerator",3,e))||tn},resolveIterationType:Iv,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},gt={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return Fn||(Fn=ul("Iterator",3,e))||tn},getGlobalIterableType:_l,getGlobalIterableIteratorType:function(e){return Gn||(Gn=ul("IterableIterator",1,e))||tn},getGlobalGeneratorType:function(e){return Bn||(Bn=ul("Generator",3,e))||tn},resolveIterationType:function(e,n){return e},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},yt=new e.Map,ht=!1,vt=new e.Map,bt=0,Et=0,Tt=0,St=!1,Lt=0,xt=wu(""),At=wu(0),Dt=wu({negative:!1,base10Value:"0"}),Ct=[],It=[],Nt=[],Rt=0,kt=[],Ot=[],Pt=[],Mt=[],wt=[],Ft=[],Gt=[],Bt=[],Ut=[],Vt=[],jt=[],Kt=[],Ht=[],Wt=[],qt=[],zt=e.createDiagnosticCollection(),Jt=e.createDiagnosticCollection(),Xt=new e.Map(e.getEntries({string:Re,number:ke,bigint:Oe,boolean:Ge,symbol:Be,undefined:Ae})),Yt=wl(e.arrayFrom(S.keys(),wu)),Qt=new e.Map,Zt=new e.Map,$t=new e.Map,er=new e.Map,nr=new e.Map,tr=new e.Map,rr=e.createSymbolTable();return rr.set(re.escapedName,re),function(){for(var t=0,r=n.getSourceFiles();t<r.length;t++){var a=r[t];e.bindSourceFile(a,j)}var i;un=new e.Map;for(var o=0,s=n.getSourceFiles();o<s.length;o++){if(!(a=s[o]).redirectInfo){if(!e.isExternalOrCommonJsModule(a)){var c=a.locals.get("globalThis");if(c)for(var l=0,u=c.declarations;l<u.length;l++){var d=u[l];zt.add(e.createDiagnosticForNode(d,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}yr(te,a.locals)}if(a.jsGlobalAugmentations&&yr(te,a.jsGlobalAugmentations),a.patternAmbientModules&&a.patternAmbientModules.length&&(pn=e.concatenate(pn,a.patternAmbientModules)),a.moduleAugmentations.length&&(i||(i=[])).push(a.moduleAugmentations),a.symbol&&a.symbol.globalExports)a.symbol.globalExports.forEach((function(e,n){te.has(n)||te.set(n,e)}))}}if(i)for(var p=0,f=i;p<f.length;p++)for(var m=f[p],_=0,g=m;_<g.length;_++){var y=g[_];e.isGlobalScopeAugmentation(y.parent)&&hr(y)}(function(n,t,r){t.forEach((function(t,a){var i=n.get(a);i?e.forEach(i.declarations,function(n,t){return function(r){return zt.add(e.createDiagnosticForNode(r,t,n))}}(e.unescapeLeadingUnderscores(a),r)):n.set(a,t)}))})(te,rr,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0),vr(re).type=De,vr(oe).type=ul("IArguments",0,!0),vr(he).type=Se,vr(ae).type=Ra(16,ae),hn=ul("Array",1,!0),mn=ul("Object",0,!0),_n=ul("Function",0,!0),gn=J&&ul("CallableFunction",0,!0)||_n,yn=J&&ul("NewableFunction",0,!0)||_n,bn=ul("String",0,!0),En=ul("Number",0,!0),Tn=ul("Boolean",0,!0),Sn=ul("RegExp",0,!0),xn=vl(be),(An=vl(Ee))===Ze&&(An=wa(void 0,U,e.emptyArray,e.emptyArray,void 0,void 0));if(vn=gl("ReadonlyArray",1)||hn,Dn=vn?yl(vn,[be]):xn,Ln=gl("ThisType",1),i)for(var h=0,v=i;h<v.length;h++){m=v[h];for(var b=0,E=m;b<E.length;b++){y=E[b];e.isGlobalScopeAugmentation(y.parent)||hr(y)}}un.forEach((function(n){var t=n.firstFile,r=n.secondFile,a=n.conflictingSymbols;if(a.size<8)a.forEach((function(n,t){for(var r=n.isBlockScoped,a=n.firstFileLocations,i=n.secondFileLocations,o=r?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,s=0,c=a;s<c.length;s++){gr(c[s],o,t,i)}for(var l=0,u=i;l<u.length;l++){gr(u[l],o,t,a)}}));else{var i=e.arrayFrom(a.keys()).join(", ");zt.add(e.addRelatedInfo(e.createDiagnosticForNode(t,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,i),e.createDiagnosticForNode(r,e.Diagnostics.Conflicts_are_in_this_file))),zt.add(e.addRelatedInfo(e.createDiagnosticForNode(r,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,i),e.createDiagnosticForNode(t,e.Diagnostics.Conflicts_are_in_this_file)))}})),un=void 0}(),ce;function ar(n){if(n){var t=e.getSourceFileOfNode(n);if(t)if(e.isJsxOpeningFragment(n)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;var r=t.pragmas.get("jsxfrag");if(r){var a=e.isArray(r)?r[0]:r;if(t.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,K),e.visitNode(t.localJsxFragmentFactory,s),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=e.getFirstIdentifier(t.localJsxFragmentFactory).escapedText}var i=ET(n);if(i)return t.localJsxFragmentFactory=i,t.localJsxFragmentNamespace=e.getFirstIdentifier(i).escapedText}else{if(t.localJsxNamespace)return t.localJsxNamespace;var o=t.pragmas.get("jsx");if(o){a=e.isArray(o)?o[0]:o;if(t.localJsxFactory=e.parseIsolatedEntityName(a.arguments.factory,K),e.visitNode(t.localJsxFactory,s),t.localJsxFactory)return t.localJsxNamespace=e.getFirstIdentifier(t.localJsxFactory).escapedText}}}return et||(et="React",j.jsxFactory?(nt=e.parseIsolatedEntityName(j.jsxFactory,K),e.visitNode(nt,s),nt&&(et=e.getFirstIdentifier(nt).escapedText)):j.reactNamespace&&(et=e.escapeLeadingUnderscores(j.reactNamespace))),nt||(nt=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(et)),"createElement")),et;function s(n){return e.setTextRangePosEnd(n,-1,-1),e.visitEachChild(n,s,e.nullTransformationContext)}}function ir(e,n,t,r,a,i,o){var s=or(n,t,r,a,i,o);return s.skippedOn=e,s}function or(n,t,r,a,i,o){var s=n?e.createDiagnosticForNode(n,t,r,a,i,o):e.createCompilerDiagnostic(t,r,a,i,o);return zt.add(s),s}function sr(n,t){n?zt.add(t):Jt.add(s(s({},t),{category:e.DiagnosticCategory.Suggestion}))}function cr(n,t,r,a,i,o,s){sr(n,"message"in r?e.createDiagnosticForNode(t,r,a,i,o,s):e.createDiagnosticForNodeFromMessageChain(t,r))}function lr(n,t,r,a,i,o,s){var c=or(n,r,a,i,o,s);if(t){var l=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(c,l)}return c}function ur(e,n,t){v++;var r=new _(33554432|e,n);return r.checkFlags=t||0,r}function dr(e){var n=0;return 2&e&&(n|=111551),1&e&&(n|=111550),4&e&&(n|=0),8&e&&(n|=900095),16&e&&(n|=110991),32&e&&(n|=899503),64&e&&(n|=788872),256&e&&(n|=899327),128&e&&(n|=899967),512&e&&(n|=110735),8192&e&&(n|=103359),32768&e&&(n|=46015),65536&e&&(n|=78783),262144&e&&(n|=526824),524288&e&&(n|=788968),2097152&e&&(n|=2097152),n}function pr(e,n){n.mergeId||(n.mergeId=p,p++),kt[n.mergeId]=e}function fr(n){var t=ur(n.flags,n.escapedName);return t.declarations=n.declarations?n.declarations.slice():[],t.parent=n.parent,n.valueDeclaration&&(t.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),n.members&&(t.members=new e.Map(n.members)),n.exports&&(t.exports=new e.Map(n.exports)),pr(t,n),t}function mr(n,t,r){if(void 0===r&&(r=!1),!(n.flags&dr(t.flags))||67108864&(t.flags|n.flags)){if(t===n)return n;if(!(33554432&n.flags)){var a=Jr(n);if(a===he)return t;n=fr(a)}512&t.flags&&512&n.flags&&n.constEnumOnlyModule&&!t.constEnumOnlyModule&&(n.constEnumOnlyModule=!1),n.flags|=t.flags,t.valueDeclaration&&e.setValueDeclaration(n,t.valueDeclaration),e.addRange(n.declarations,t.declarations),t.members&&(n.members||(n.members=e.createSymbolTable()),yr(n.members,t.members,r)),t.exports&&(n.exports||(n.exports=e.createSymbolTable()),yr(n.exports,t.exports,r)),r||pr(n,t)}else if(1024&n.flags)n!==ae&&or(e.getNameOfDeclaration(t.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Qa(n));else{var i=!!(384&n.flags||384&t.flags),o=!!(2&n.flags||2&t.flags),s=i?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:o?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,c=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),l=n.declarations&&e.getSourceFileOfNode(n.declarations[0]),u=Qa(t);if(c&&l&&un&&!i&&c!==l){var d=-1===e.comparePaths(c.path,l.path)?c:l,p=d===c?l:c,f=e.getOrUpdate(un,d.path+"|"+p.path,(function(){return{firstFile:d,secondFile:p,conflictingSymbols:new e.Map}})),m=e.getOrUpdate(f.conflictingSymbols,u,(function(){return{isBlockScoped:o,firstFileLocations:[],secondFileLocations:[]}}));_(m.firstFileLocations,t),_(m.secondFileLocations,n)}else _r(t,s,u,n),_r(n,s,u,t)}return n;function _(n,t){for(var r=0,a=t.declarations;r<a.length;r++){var i=a[r];e.pushIfUnique(n,i)}}}function _r(n,t,r,a){e.forEach(n.declarations,(function(e){gr(e,t,r,a.declarations)}))}function gr(n,t,r,a){for(var i=(e.getExpandoInitializer(n,!1)?e.getNameOfExpando(n):e.getNameOfDeclaration(n))||n,o=function(n,t,r,a,i,o){var s=n?e.createDiagnosticForNode(n,t,r,a,i,o):e.createCompilerDiagnostic(t,r,a,i,o),c=zt.lookup(s);return c||(zt.add(s),s)}(i,t,r),s=function(n){var t=(e.getExpandoInitializer(n,!1)?e.getNameOfExpando(n):e.getNameOfDeclaration(n))||n;if(t===i)return"continue";o.relatedInformation=o.relatedInformation||[];var a=e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,r),s=e.createDiagnosticForNode(t,e.Diagnostics.and_here);if(e.length(o.relatedInformation)>=5||e.some(o.relatedInformation,(function(n){return 0===e.compareDiagnostics(n,s)||0===e.compareDiagnostics(n,a)})))return"continue";e.addRelatedInfo(o,e.length(o.relatedInformation)?s:a)},c=0,l=a||e.emptyArray;c<l.length;c++){s(l[c])}}function yr(e,n,t){void 0===t&&(t=!1),n.forEach((function(n,r){var a=e.get(r);e.set(r,a?mr(a,n,t):n)}))}function hr(n){var t,r,a=n.parent;if(a.symbol.declarations[0]===a)if(e.isGlobalScopeAugmentation(a))yr(te,a.symbol.exports);else{var i=oa(n,n,8388608&n.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!i)return;if(1920&(i=la(i)).flags)if(e.some(pn,(function(e){return i===e.symbol}))){var o=mr(a.symbol,i,!0);fn||(fn=new e.Map),fn.set(n.text,o)}else{if((null===(t=i.exports)||void 0===t?void 0:t.get("__export"))&&(null===(r=a.symbol.exports)||void 0===r?void 0:r.size))for(var s=qo(i,"resolvedExports"),c=0,l=e.arrayFrom(a.symbol.exports.entries());c<l.length;c++){var u=l[c],d=u[0],p=u[1];s.has(d)&&!i.exports.has(d)&&mr(s.get(d),p)}mr(i,a.symbol)}else or(n,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,n.text)}else e.Debug.assert(a.symbol.declarations.length>1)}function vr(e){if(33554432&e.flags)return e;var n=k(e);return Ot[n]||(Ot[n]=new I)}function br(e){var n=R(e);return Pt[n]||(Pt[n]=new N)}function Er(n){return 294===n.kind&&!e.isExternalOrCommonJsModule(n)}function Tr(n,t,r){if(r){var a=ha(n.get(t));if(a){if(e.Debug.assert(0==(1&e.getCheckFlags(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(2097152&a.flags){var i=Xr(a);if(i===he||i.flags&r)return a}}}}function Sr(t,r){var a=e.getSourceFileOfNode(t),i=e.getSourceFileOfNode(r),o=e.getEnclosingBlockScopeContainer(t);if(a!==i){if(H&&(a.externalModuleIndicator||i.externalModuleIndicator)||!e.outFile(j)||qf(r)||8388608&t.flags)return!0;if(l(r,t))return!0;var s=n.getSourceFiles();return s.indexOf(a)<=s.indexOf(i)}if(t.pos<=r.pos&&(!e.isPropertyDeclaration(t)||!e.isThisProperty(r.parent)||t.initializer||t.exclamationToken)){if(195===t.kind){var c=e.getAncestor(r,195);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos<c.pos:Sr(e.getAncestor(t,246),r)}return 246===t.kind?!function(n,t){switch(n.parent.parent.kind){case 229:case 234:case 236:if(Or(t,n,o))return!0}var r=n.parent.parent;return e.isForInOrOfStatement(r)&&Or(t,r.expression,o)}(t,r):e.isClassDeclaration(t)?!e.findAncestor(r,(function(n){return e.isComputedPropertyName(n)&&n.parent.parent===t})):e.isPropertyDeclaration(t)?!u(t,r,!1):!e.isParameterPropertyDeclaration(t,t.parent)||!(99===j.target&&j.useDefineForClassFields&&e.getContainingClass(t)===e.getContainingClass(r)&&l(r,t))}return!!(267===r.parent.kind||263===r.parent.kind&&r.parent.isExportEquals)||(!(263!==r.kind||!r.isExportEquals)||(!!(4194304&r.flags||qf(r)||e.findAncestor(r,(function(n){return e.isInterfaceDeclaration(n)||e.isTypeAliasDeclaration(n)})))||!!l(r,t)&&(99!==j.target||!j.useDefineForClassFields||!e.getContainingClass(t)||!e.isPropertyDeclaration(t)&&!e.isParameterPropertyDeclaration(t,t.parent)||!u(t,r,!0))));function l(n,t){return!!e.findAncestor(n,(function(r){if(r===o)return"quit";if(e.isFunctionLike(r))return!0;if(r.parent&&162===r.parent.kind&&r.parent.initializer===r)if(e.hasSyntacticModifier(r.parent,32)){if(164===t.kind)return!0}else if(!(162===t.kind&&!e.hasSyntacticModifier(t,32))||e.getContainingClass(n)!==e.getContainingClass(t))return!0;return!1}))}function u(n,t,r){return!(t.end>n.end)&&void 0===e.findAncestor(t,(function(t){if(t===n)return"quit";switch(t.kind){case 206:return!0;case 162:return!r||!(e.isPropertyDeclaration(n)&&t.parent===n.parent||e.isParameterPropertyDeclaration(n,n.parent)&&t.parent===n.parent.parent)||"quit";case 227:switch(t.parent.kind){case 166:case 164:case 167:return!0;default:return!1}default:return!1}}))}}function Lr(n,t,r){var a=e.getEmitScriptTarget(j),i=t;if(e.isParameter(r)&&i.body&&n.valueDeclaration.pos>=i.body.pos&&n.valueDeclaration.end<=i.body.end&&a>=2){var o=br(i);return void 0===o.declarationRequiresScopeChange&&(o.declarationRequiresScopeChange=e.forEach(i.parameters,(function(e){return s(e.name)||!!e.initializer&&s(e.initializer)}))||!1),!o.declarationRequiresScopeChange}return!1;function s(n){switch(n.kind){case 206:case 205:case 248:case 165:return!1;case 164:case 166:case 167:case 285:return s(n.name);case 162:return e.hasStaticModifier(n)?a<99||!j.useDefineForClassFields:s(n.name);default:return e.isNullishCoalesce(n)||e.isOptionalChain(n)?a<7:e.isBindingElement(n)&&n.dotDotDotToken&&e.isObjectBindingPattern(n.parent)?a<4:!e.isTypeNode(n)&&(e.forEachChild(n,s)||!1)}}}function xr(e,n,t,r,a,i,o,s){return void 0===o&&(o=!1),Ar(e,n,t,r,a,i,o,Tr,s)}function Ar(n,t,r,a,i,o,s,c,l){var u,d,p,f,m,_,g=n,y=!1,h=n,v=!1;e:for(;n;){if(n.locals&&!Er(n)&&(u=c(n.locals,t,r))){var b=!0;if(e.isFunctionLike(n)&&d&&d!==n.body?(r&u.flags&788968&&307!==d.kind&&(b=!!(262144&u.flags)&&(d===n.type||159===d.kind||158===d.kind)),r&u.flags&3&&(Lr(u,n,d)?b=!1:1&u.flags&&(b=159===d.kind||d===n.type&&!!e.findAncestor(u.valueDeclaration,e.isParameter)))):183===n.kind&&(b=d===n.trueType),b)break e;u=void 0}switch(y=y||Dr(n,d),n.kind){case 294:if(!e.isExternalOrCommonJsModule(n))break;v=!0;case 253:var E=va(n).exports||U;if(294===n.kind||e.isModuleDeclaration(n)&&8388608&n.flags&&!e.isGlobalScopeAugmentation(n)){if(u=E.get("default")){var T=e.getLocalSymbolForExportDefault(u);if(T&&u.flags&r&&T.escapedName===t)break e;u=void 0}var S=E.get(t);if(S&&2097152===S.flags&&(e.getDeclarationOfKind(S,267)||e.getDeclarationOfKind(S,266)))break}if("default"!==t&&(u=c(E,t,2623475&r))){if(!e.isSourceFile(n)||!n.commonJsModuleIndicator||u.declarations.some(e.isJSDocTypeAlias))break e;u=void 0}break;case 252:if(u=c(va(n).exports,t,8&r))break e;break;case 162:if(!e.hasSyntacticModifier(n,32)){var L=Da(n.parent);L&&L.locals&&c(L.locals,t,111551&r)&&(f=n)}break;case 249:case 218:case 250:if(u=c(va(n).members||U,t,788968&r)){if(!Nr(u,n)){u=void 0;break}if(d&&e.hasSyntacticModifier(d,32))return void or(h,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(218===n.kind&&32&r){var x=n.name;if(x&&t===x.escapedText){u=n.symbol;break e}}break;case 220:if(d===n.expression&&93===n.parent.token){var A=n.parent.parent;if(e.isClassLike(A)&&(u=c(va(A).members,t,788968&r)))return void(a&&or(h,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 157:if(_=n.parent.parent,(e.isClassLike(_)||250===_.kind)&&(u=c(va(_).members,t,788968&r)))return void or(h,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 206:if(j.target>=2)break;case 164:case 165:case 166:case 167:case 248:if(3&r&&"arguments"===t){u=oe;break e}break;case 205:if(3&r&&"arguments"===t){u=oe;break e}if(16&r){var D=n.name;if(D&&t===D.escapedText){u=n.symbol;break e}}break;case 160:n.parent&&159===n.parent.kind&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||249===n.parent.kind)&&(n=n.parent);break;case 327:case 320:case 321:n=e.getJSDocHost(n);break;case 159:d&&(d===n.initializer||d===n.name&&e.isBindingPattern(d))&&(m||(m=n));break;case 195:if(d&&(d===n.initializer||d===n.name&&e.isBindingPattern(d)))159===(k=e.getRootDeclaration(n)).kind&&(m||(m=n))}Cr(n)&&(p=n),d=n,n=n.parent}if(!o||!u||p&&u===p.symbol||(u.isReferenced|=r),!u){if(d&&(e.Debug.assert(294===d.kind),d.commonJsModuleIndicator&&"exports"===t&&r&d.symbol.flags))return d.symbol;s||(u=c(te,t,r))}if(!u&&g&&e.isInJSFile(g)&&g.parent&&e.isRequireCall(g.parent,!1))return se;if(u){if(a){if(f&&(99!==j.target||!j.useDefineForClassFields)){var C=f.name;return void or(h,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(C),Ir(i))}if(h&&(2&r||(32&r||384&r)&&111551==(111551&r))){var I=xa(u);(2&I.flags||32&I.flags||384&I.flags)&&function(n,t){if(e.Debug.assert(!!(2&n.flags||32&n.flags||384&n.flags)),67108881&n.flags&&32&n.flags)return;var r=e.find(n.declarations,(function(n){return e.isBlockOrCatchScoped(n)||e.isClassLike(n)||252===n.kind}));if(void 0===r)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&r.flags||Sr(r,t))){var a=void 0,i=e.declarationNameToString(e.getNameOfDeclaration(r));2&n.flags?a=or(t,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,i):32&n.flags?a=or(t,e.Diagnostics.Class_0_used_before_its_declaration,i):256&n.flags?a=or(t,e.Diagnostics.Enum_0_used_before_its_declaration,i):(e.Debug.assert(!!(128&n.flags)),j.preserveConstEnums&&(a=or(t,e.Diagnostics.Enum_0_used_before_its_declaration,i))),a&&e.addRelatedInfo(a,e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_here,i))}}(I,h)}if(u&&v&&111551==(111551&r)&&!(4194304&g.flags)){var N=ha(u);e.length(N.declarations)&&e.every(N.declarations,(function(n){return e.isNamespaceExportDeclaration(n)||e.isSourceFile(n)&&!!n.symbol.globalExports}))&&cr(!j.allowUmdGlobalAccess,h,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(t))}if(u&&m&&!y&&111551==(111551&r)){var R=ha(Jo(u)),k=e.getRootDeclaration(m);R===va(m)?or(h,e.Diagnostics.Parameter_0_cannot_reference_itself,e.declarationNameToString(m.name)):R.valueDeclaration&&R.valueDeclaration.pos>m.pos&&k.parent.locals&&c(k.parent.locals,R.escapedName,r)===R&&or(h,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(m.name),e.declarationNameToString(h))}u&&h&&111551&r&&2097152&u.flags&&function(n,t,r){if(!e.isValidTypeOnlyAliasUseSite(r)){var a=Zr(n);if(a){var i=e.typeOnlyDeclarationIsExport(a),o=i?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,s=i?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,c=e.unescapeLeadingUnderscores(t);e.addRelatedInfo(or(r,o,c),e.createDiagnosticForNode(a,s,c))}}}(u,t,h)}return u}if(a&&!(h&&(function(n,t,r){if(!e.isIdentifier(n)||n.escapedText!==t||NE(n)||qf(n))return!1;var a=e.getThisContainer(n,!1),i=a;for(;i;){if(e.isClassLike(i.parent)){var o=va(i.parent);if(!o)break;if(Zs(to(o),t))return or(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Ir(r),Qa(o)),!0;if(i===a&&!e.hasSyntacticModifier(i,32))if(Zs(Io(o).thisType,t))return or(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Ir(r)),!0}i=i.parent}return!1}(h,t,i)||Rr(h)||function(n,t,r){var a=1920|(e.isInJSFile(n)?111551:0);if(r===a){var i=Jr(xr(n,t,788968&~a,void 0,void 0,!1)),o=n.parent;if(i){if(e.isQualifiedName(o)){e.Debug.assert(o.left===n,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(Zs(Io(i),s))return or(o,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,e.unescapeLeadingUnderscores(t),e.unescapeLeadingUnderscores(s)),!0}return or(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(t)),!0}}return!1}(h,t,r)||function(n,t){if(kr(t)&&267===n.parent.kind)return or(n,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0;return!1}(h,t)||function(n,t,r){if(111551&r){if(kr(t))return or(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(t)),!0;var a=Jr(xr(n,t,788544,void 0,void 0,!1));if(a&&!(1024&a.flags)){var i=function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here;return or(n,i,e.unescapeLeadingUnderscores(t)),!0}}return!1}(h,t,r)||function(n,t,r){if(111127&r){if(Jr(xr(n,t,1024,void 0,void 0,!1)))return or(n,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(t)),!0}else if(788544&r){if(Jr(xr(n,t,1536,void 0,void 0,!1)))return or(n,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(t)),!0}return!1}(h,t,r)||function(n,t,r){if(788584&r){var a=Jr(xr(n,t,111127,void 0,void 0,!1));if(a&&!(1920&a.flags))return or(n,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.unescapeLeadingUnderscores(t)),!0}return!1}(h,t,r)))){var O=void 0;if(l&&Rt<10&&(O=Fg(g,t,r))){var P=Qa(O),M=or(h,l,Ir(i),P);O.valueDeclaration&&e.addRelatedInfo(M,e.createDiagnosticForNode(O.valueDeclaration,e.Diagnostics._0_is_declared_here,P))}O||or(h,a,Ir(i)),Rt++}}function Dr(n,t){return 206!==n.kind&&205!==n.kind?e.isTypeQueryNode(n)||(e.isFunctionLikeDeclaration(n)||162===n.kind&&!e.hasSyntacticModifier(n,32))&&(!t||t!==n.name):(!t||t!==n.name)&&(!(!n.asteriskToken&&!e.hasSyntacticModifier(n,256))||!e.getImmediatelyInvokedFunctionExpression(n))}function Cr(e){switch(e.kind){case 248:case 249:case 250:case 252:case 251:case 253:return!0;default:return!1}}function Ir(n){return e.isString(n)?e.unescapeLeadingUnderscores(n):e.declarationNameToString(n)}function Nr(n,t){for(var r=0,a=n.declarations;r<a.length;r++){var i=a[r];if(158===i.kind)if((e.isJSDocTemplateTag(i.parent)?e.getJSDocHost(i.parent):i.parent)===t)return!(e.isJSDocTemplateTag(i.parent)&&e.find(i.parent.parent.tags,e.isJSDocTypeAlias))}return!1}function Rr(n){var t=function n(t){switch(t.kind){case 78:case 198:return t.parent?n(t.parent):void 0;case 220:if(e.isEntityNameExpression(t.expression))return t.expression;default:return}}(n);return!(!t||!ra(t,64,!0))&&(or(n,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(t)),!0)}function kr(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function Or(n,t,r){return!!t&&!!e.findAncestor(n,(function(n){return n===r||e.isFunctionLike(n)?"quit":n===t}))}function Pr(e){switch(e.kind){case 257:return e;case 259:return e.parent;case 260:return e.parent.parent;case 262:return e.parent.parent.parent;default:return}}function Mr(n){return e.find(n.declarations,wr)}function wr(n){return 257===n.kind||256===n.kind||259===n.kind&&!!n.name||260===n.kind||266===n.kind||262===n.kind||267===n.kind||263===n.kind&&e.exportAssignmentIsAlias(n)||e.isBinaryExpression(n)&&2===e.getAssignmentDeclarationKind(n)&&e.exportAssignmentIsAlias(n)||e.isPropertyAccessExpression(n)&&e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind&&Fr(n.parent.right)||286===n.kind||285===n.kind&&Fr(n.initializer)}function Fr(n){return e.isAliasableExpression(n)||e.isFunctionExpression(n)&&Oy(n)}function Gr(n,t){if(269===n.moduleReference.kind){var r=ia(n,e.getExternalModuleImportEqualsDeclarationExpression(n)),a=la(r);return Yr(n,r,a,!1),a}var i=na(n.moduleReference,t);return function(n,t){if(Yr(n,void 0,t,!1)){var r=Zr(va(n)),a=e.typeOnlyDeclarationIsExport(r),i=a?e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,o=a?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,s=e.unescapeLeadingUnderscores(r.name.escapedText);e.addRelatedInfo(or(n.moduleReference,i),e.createDiagnosticForNode(r,o,s))}}(n,i),i}function Br(e,n,t,r){var a=e.exports.get("export=");if(a)return Zs(to(a),n);var i=e.exports.get(n),o=Jr(i,r);return Yr(t,i,o,!1),o}function Ur(n){return e.isExportAssignment(n)&&!n.isExportEquals||e.hasSyntacticModifier(n,512)||e.isExportSpecifier(n)}function Vr(n,t,r){if(!W)return!1;if(!n||n.isDeclarationFile){var a=Br(t,"default",void 0,!0);return(!a||!e.some(a.declarations,Ur))&&!Br(t,e.escapeLeadingUnderscores("__esModule"),void 0,r)}return e.isSourceFileJS(n)?!n.externalModuleIndicator&&!Br(t,e.escapeLeadingUnderscores("__esModule"),void 0,r):da(t)}function jr(n,t){var r=ia(n,n.parent.moduleSpecifier);if(r){var a=void 0;a=e.isShorthandAmbientModuleSymbol(r)?r:Br(r,"default",n,t);var i=Vr(e.find(r.declarations,e.isSourceFile),r,t);if(a||i){if(i){var o=la(r,t)||Jr(r,t);return Yr(n,r,o,!1),o}}else if(da(r)){var s=H>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",c=r.exports.get("export=").valueDeclaration,l=or(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Qa(r),s);e.addRelatedInfo(l,e.createDiagnosticForNode(c,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,s))}else!function(n,t){var r,a;if(null===(r=n.exports)||void 0===r?void 0:r.has(t.symbol.escapedName))or(t.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Qa(n),Qa(t.symbol));else{var i=or(t.name,e.Diagnostics.Module_0_has_no_default_export,Qa(n)),o=null===(a=n.exports)||void 0===a?void 0:a.get("__export");if(o){var s=e.find(o.declarations,(function(n){var t,r;return!!(e.isExportDeclaration(n)&&n.moduleSpecifier&&(null===(r=null===(t=ia(n,n.moduleSpecifier))||void 0===t?void 0:t.exports)||void 0===r?void 0:r.has("default")))}));s&&e.addRelatedInfo(i,e.createDiagnosticForNode(s,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}(r,n);return Yr(n,a,void 0,!1),a}}function Kr(n,t,r){var a;void 0===r&&(r=!1);var i=ia(n,n.moduleSpecifier),s=t.propertyName||t.name,c="default"===s.escapedText&&!(!j.allowSyntheticDefaultImports&&!j.esModuleInterop),l=ua(i,n.moduleSpecifier,r,c);if(l&&s.escapedText){if(e.isShorthandAmbientModuleSymbol(i))return i;var u=void 0;u=i&&i.exports&&i.exports.get("export=")?Zs(to(l),s.escapedText):function(e,n){if(3&e.flags){var t=e.valueDeclaration.type;if(t)return Jr(Zs(Vu(t),n))}}(l,s.escapedText),u=Jr(u,r);var d=function(e,n,t){var r;if(1536&e.flags){var a=(null!==(r=n.propertyName)&&void 0!==r?r:n.name).escapedText,i=ma(e).get(a),o=Jr(i,t);return Yr(n,i,o,!1),o}}(l,t,r);if(void 0===d&&"default"===s.escapedText)Vr(e.find(i.declarations,e.isSourceFile),i,r)&&(d=la(i,r)||Jr(i,r));var p=d&&u&&d!==u?function(n,t){if(n===he&&t===he)return he;if(790504&n.flags)return n;var r=ur(n.flags|t.flags,n.escapedName);return r.declarations=e.deduplicate(e.concatenate(n.declarations,t.declarations),e.equateValues),r.parent=n.parent||t.parent,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration),t.members&&(r.members=new e.Map(t.members)),n.exports&&(r.exports=new e.Map(n.exports)),r}(u,d):d||u;if(!p){var f=ta(i,n),m=e.declarationNameToString(s),_=Gg(s,l);if(void 0!==_){var g=Qa(_),y=or(s,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2,f,m,g);_.valueDeclaration&&e.addRelatedInfo(y,e.createDiagnosticForNode(_.valueDeclaration,e.Diagnostics._0_is_declared_here,g))}else(null===(a=i.exports)||void 0===a?void 0:a.has("default"))?or(s,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,f,m):function(n,t,r,a,i){var s,c=null===(s=a.valueDeclaration.locals)||void 0===s?void 0:s.get(t.escapedText),l=a.exports;if(c){var u=null==l?void 0:l.get("export=");if(u)La(u,c)?function(n,t,r,a){if(H>=e.ModuleKind.ES2015){var i=j.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;or(t,i,r)}else if(e.isInJSFile(n)){i=j.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;or(t,i,r)}else{i=j.esModuleInterop?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;or(t,i,r,r,a)}}(n,t,r,i):or(t,e.Diagnostics.Module_0_has_no_exported_member_1,i,r);else{var d=l?e.find(sc(l),(function(e){return!!La(e,c)})):void 0,p=d?or(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,i,r,Qa(d)):or(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,i,r);e.addRelatedInfo.apply(void 0,o([p],e.map(c.declarations,(function(n,t){return e.createDiagnosticForNode(n,0===t?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,r)}))))}}else or(t,e.Diagnostics.Module_0_has_no_exported_member_1,i,r)}(n,s,m,i,f)}return p}}function Hr(e,n,t){var r=e.parent.parent.moduleSpecifier?Kr(e.parent.parent,e,t):ra(e.propertyName||e.name,n,!1,t);return Yr(e,void 0,r,!1),r}function Wr(n,t){if(e.isClassExpression(n))return Vh(n).symbol;if(e.isEntityName(n)||e.isEntityNameExpression(n)){var r=ra(n,901119,!0,t);return r||(Vh(n),br(n).resolvedSymbol)}}function qr(n,t){switch(void 0===t&&(t=!1),n.kind){case 257:return Gr(n,t);case 259:return jr(n,t);case 260:return function(e,n){var t=e.parent.parent.moduleSpecifier,r=ia(e,t),a=ua(r,t,n,!1);return Yr(e,r,a,!1),a}(n,t);case 266:return function(e,n){var t=e.parent.moduleSpecifier,r=t&&ia(e,t),a=t&&ua(r,t,n,!1);return Yr(e,r,a,!1),a}(n,t);case 262:return function(e,n){var t=Kr(e.parent.parent.parent,e,n);return Yr(e,void 0,t,!1),t}(n,t);case 267:return Hr(n,901119,t);case 263:case 213:return function(n,t){var r=Wr(e.isExportAssignment(n)?n.expression:n.right,t);return Yr(n,void 0,r,!1),r}(n,t);case 256:return function(e,n){var t=la(e.parent.symbol,n);return Yr(e,void 0,t,!1),t}(n,t);case 286:return ra(n.name,901119,!0,t);case 285:return function(e,n){return Wr(e.initializer,n)}(n,t);case 198:return function(n,t){if(e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind)return Wr(n.parent.right,t)}(n,t);default:return e.Debug.fail()}}function zr(e,n){return void 0===n&&(n=901119),!!e&&(2097152==(e.flags&(2097152|n))||!!(2097152&e.flags&&67108864&e.flags))}function Jr(e,n){return!n&&zr(e)?Xr(e):e}function Xr(n){e.Debug.assert(0!=(2097152&n.flags),"Should only get Alias here.");var t=vr(n);if(t.target)t.target===ve&&(t.target=he);else{t.target=ve;var r=Mr(n);if(!r)return e.Debug.fail();var a=qr(r);t.target===ve?t.target=a||he:or(r,e.Diagnostics.Circular_definition_of_import_alias_0,Qa(n))}return t.target}function Yr(n,t,r,a){if(!n)return!1;var i=va(n);if(e.isTypeOnlyImportOrExportDeclaration(n))return vr(i).typeOnlyDeclaration=n,!0;var o=vr(i);return Qr(o,t,a)||Qr(o,r,a)}function Qr(n,t,r){var a,i,o;if(t&&(void 0===n.typeOnlyDeclaration||r&&!1===n.typeOnlyDeclaration)){var s=null!==(i=null===(a=t.exports)||void 0===a?void 0:a.get("export="))&&void 0!==i?i:t,c=s.declarations&&e.find(s.declarations,e.isTypeOnlyImportOrExportDeclaration);n.typeOnlyDeclaration=null!==(o=null!=c?c:vr(s).typeOnlyDeclaration)&&void 0!==o&&o}return!!n.typeOnlyDeclaration}function Zr(e){if(2097152&e.flags)return vr(e).typeOnlyDeclaration||void 0}function $r(e){var n=va(e),t=Xr(n);t&&((t===he||111551&t.flags&&!$E(t)&&!Zr(n))&&ea(n))}function ea(n){var t=vr(n);if(!t.referenced){t.referenced=!0;var r=Mr(n);if(!r)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(r)){var a=Jr(n);(a===he||111551&a.flags)&&Vh(r.moduleReference)}}}function na(n,t){return 78===n.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),78===n.kind||156===n.parent.kind?ra(n,1920,!1,t):(e.Debug.assert(257===n.parent.kind),ra(n,901119,!1,t))}function ta(e,n){return e.parent?ta(e.parent,n)+"."+Qa(e):Qa(e,n,void 0,20)}function ra(n,t,r,a,i){if(!e.nodeIsMissing(n)){var o,s=1920|(e.isInJSFile(n)?111551&t:0);if(78===n.kind){var c=t===s||e.nodeIsSynthesized(n)?e.Diagnostics.Cannot_find_namespace_0:Hf(e.getFirstIdentifier(n)),l=e.isInJSFile(n)&&!e.nodeIsSynthesized(n)?function(n,t){if(nl(n.parent)){var r=function(n){if(e.findAncestor(n,(function(n){return e.isJSDocNode(n)||4194304&n.flags?e.isJSDocTypeAlias(n):"quit"})))return;var t=e.getJSDocHost(n);if(e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&3===e.getAssignmentDeclarationKind(t.expression)){if(a=va(t.expression.left))return aa(a)}if((e.isObjectLiteralMethod(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent)){if(a=va(t.parent.parent.left))return aa(a)}var r=e.getEffectiveJSDocHost(n);if(r&&e.isFunctionLike(r)){var a;return(a=va(r))&&a.valueDeclaration}}(n.parent);if(r)return xr(r,n.escapedText,t,void 0,n,!0)}}(n,t):void 0;if(!(o=ha(xr(i||n,n.escapedText,t,r||l?void 0:c,n,!0))))return ha(l)}else{if(156!==n.kind&&198!==n.kind)throw e.Debug.assertNever(n,"Unknown entity name kind.");var u=156===n.kind?n.left:n.expression,d=156===n.kind?n.right:n.name,p=ra(u,s,r,!1,i);if(!p||e.nodeIsMissing(d))return;if(p===he)return p;if(e.isInJSFile(n)&&p.valueDeclaration&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&Vy(p.valueDeclaration.initializer)){var f=p.valueDeclaration.initializer.arguments[0],m=ia(f,f);if(m){var _=la(m);_&&(p=_)}}if(!(o=ha(Tr(ma(p),d.escapedText,t))))return void(r||or(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,ta(p),e.declarationNameToString(d)))}return e.Debug.assert(0==(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(n)&&e.isEntityName(n)&&(2097152&o.flags||263===n.parent.kind)&&Yr(e.getAliasDeclarationFromName(n),o,void 0,!0),o.flags&t||a?o:Xr(o)}}function aa(n){var t=n.parent.valueDeclaration;if(t)return(e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0)||t}function ia(n,t,r){var a=e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.Classic?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return oa(n,t,r?void 0:a)}function oa(n,t,r,a){return void 0===a&&(a=!1),e.isStringLiteralLike(t)?sa(n,t.text,r,t,a):void 0}function sa(t,r,a,i,o){(void 0===o&&(o=!1),e.startsWith(r,"@types/"))&&or(i,e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(r,"@types/"),r);var s=lc(r,!0);if(s)return s;var c=e.getSourceFileOfNode(t),l=e.getResolvedModule(c,r),u=l&&e.getResolutionDiagnostic(j,l),d=l&&!u&&n.getSourceFile(l.resolvedFileName);if(d)return d.symbol?(l.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(l.extension)&&ca(!1,i,l,r),ha(d.symbol)):void(a&&or(i,e.Diagnostics.File_0_is_not_a_module,d.fileName));if(pn){var p=e.findBestPatternMatch(pn,(function(e){return e.pattern}),r);if(p){var f=fn&&fn.get(r);return ha(f?f:p.symbol)}}if(l&&!e.resolutionExtensionIsTSOrJson(l.extension)&&void 0===u||u===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?or(i,e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,r,l.resolvedFileName):ca(Y&&!!a,i,l,r);else if(a){if(l){var m=n.getProjectReferenceRedirect(l.resolvedFileName);if(m)return void or(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,m,l.resolvedFileName)}if(u)or(i,u,r,l.resolvedFileName);else{var _=e.tryExtractTSExtension(r);if(_)or(i,e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,_,e.removeExtension(r,_));else!j.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(j)?or(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r):or(i,a,r)}}}function ca(n,t,r,a){var i,o=r.packageId,s=r.resolvedFileName,c=!e.isExternalModuleNameRelative(a)&&o?(i=o.name,m().has(e.getTypesPackageName(i))?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,o.name,e.mangleScopedPackageName(o.name)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(o.name))):void 0;cr(n,t,e.chainDiagnosticMessages(c,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,s))}function la(n,t){if(null==n?void 0:n.exports){var r=function(n,t){if(!n||n===he||n===t||1===t.exports.size||2097152&n.flags)return n;var r=vr(n);if(r.cjsExportMerged)return r.cjsExportMerged;var a=33554432&n.flags?n:fr(n);a.flags=512|a.flags,void 0===a.exports&&(a.exports=e.createSymbolTable());return t.exports.forEach((function(e,n){"export="!==n&&a.exports.set(n,a.exports.has(n)?mr(a.exports.get(n),e):e)})),vr(a).cjsExportMerged=a,r.cjsExportMerged=a}(ha(Jr(n.exports.get("export="),t)),ha(n));return ha(r)||n}}function ua(n,t,r,a){var i=la(n,r);if(!r&&i){if(!(a||1539&i.flags||e.getDeclarationOfKind(i,294))){var o=H>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return or(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),i}if(j.esModuleInterop){var s=t.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=to(i),l=$s(c,0);if(l&&l.length||(l=$s(c,1)),l&&l.length){var u=Uy(c,i,n),d=ur(i.flags,i.escapedName);d.declarations=i.declarations?i.declarations.slice():[],d.parent=i.parent,d.target=i,d.originatingImport=s,i.valueDeclaration&&(d.valueDeclaration=i.valueDeclaration),i.constEnumOnlyModule&&(d.constEnumOnlyModule=!0),i.members&&(d.members=new e.Map(i.members)),i.exports&&(d.exports=new e.Map(i.exports));var p=Ls(u);return d.type=wa(d,p.members,e.emptyArray,e.emptyArray,p.stringIndexInfo,p.numberIndexInfo),d}}}}return i}function da(e){return void 0!==e.exports.get("export=")}function pa(e){return sc(_a(e))}function fa(e,n){var t=_a(n);if(t)return t.get(e)}function ma(e){return 6256&e.flags?qo(e,"resolvedExports"):1536&e.flags?_a(e):e.exports||U}function _a(e){var n=vr(e);return n.resolvedExports||(n.resolvedExports=ya(e))}function ga(n,t,r,a){t&&t.forEach((function(t,i){if("default"!==i){var o=n.get(i);if(o){if(r&&a&&o&&Jr(o)!==Jr(t)){var s=r.get(i);s.exportsWithDuplicate?s.exportsWithDuplicate.push(a):s.exportsWithDuplicate=[a]}}else n.set(i,t),r&&a&&r.set(i,{specifierText:e.getTextOfNode(a.moduleSpecifier)})}}))}function ya(n){var t=[];return function n(r){if(!(r&&r.exports&&e.pushIfUnique(t,r)))return;var a=new e.Map(r.exports),i=r.exports.get("__export");if(i){for(var o=e.createSymbolTable(),s=new e.Map,c=0,l=i.declarations;c<l.length;c++){var u=l[c],d=ia(u,u.moduleSpecifier),p=n(d);ga(o,p,s,u)}s.forEach((function(n,t){var r=n.exportsWithDuplicate;if("export="!==t&&r&&r.length&&!a.has(t))for(var i=0,o=r;i<o.length;i++){var c=o[i];zt.add(e.createDiagnosticForNode(c,e.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,s.get(t).specifierText,e.unescapeLeadingUnderscores(t)))}})),ga(a,o)}return a}(n=la(n))||U}function ha(e){var n;return e&&e.mergeId&&(n=kt[e.mergeId])?n:e}function va(e){return ha(e.symbol&&Jo(e.symbol))}function ba(e){return ha(e.parent&&Jo(e.parent))}function Ea(t,r,a){var i=ba(t);if(i&&!(262144&t.flags)){var o=e.mapDefined(i.declarations,(function(e){return i&&Ta(e,i)})),s=r&&function(t,r){var a,i=e.getSourceFileOfNode(r),o=R(i),s=vr(t);if(s.extendedContainersByFile&&(a=s.extendedContainersByFile.get(o)))return a;if(i&&i.imports){for(var c=0,l=i.imports;c<l.length;c++){var u=l[c];if(!e.nodeIsSynthesized(u)){var d=ia(r,u,!0);if(d)Sa(d,t)&&(a=e.append(a,d))}}if(e.length(a))return(s.extendedContainersByFile||(s.extendedContainersByFile=new e.Map)).set(o,a),a}if(s.extendedContainers)return s.extendedContainers;for(var p=0,f=n.getSourceFiles();p<f.length;p++){var m=f[p];if(e.isExternalModule(m)){var _=va(m);Sa(_,t)&&(a=e.append(a,_))}}return s.extendedContainers=a||e.emptyArray}(t,r),c=function(n,t){var r=!!e.length(n.declarations)&&e.first(n.declarations);if(111551&t&&r&&r.parent&&e.isVariableDeclaration(r.parent)&&(e.isObjectLiteralExpression(r)&&r===r.parent.initializer||e.isTypeLiteralNode(r)&&r===r.parent.type))return va(r.parent)}(i,a);if(r&&Ba(i,r,1920,!1))return e.append(e.concatenate(e.concatenate([i],o),s),c);var l=e.append(e.append(o,i),c);return e.concatenate(l,s)}var u=e.mapDefined(t.declarations,(function(n){return!e.isAmbientModule(n)&&n.parent&&Ja(n.parent)?va(n.parent):e.isClassExpression(n)&&e.isBinaryExpression(n.parent)&&62===n.parent.operatorToken.kind&&e.isAccessExpression(n.parent.left)&&e.isEntityNameExpression(n.parent.left.expression)?e.isModuleExportsAccessExpression(n.parent.left)||e.isExportsIdentifier(n.parent.left.expression)?va(e.getSourceFileOfNode(n)):(Vh(n.parent.left.expression),br(n.parent.left.expression).resolvedSymbol):void 0}));if(e.length(u))return e.mapDefined(u,(function(e){return Sa(e,t)?e:void 0}))}function Ta(e,n){var t=qa(e),r=t&&t.exports&&t.exports.get("export=");return r&&La(r,n)?t:void 0}function Sa(n,t){if(n===ba(t))return t;var r=n.exports&&n.exports.get("export=");if(r&&La(r,t))return n;var a=ma(n),i=a.get(t.escapedName);return i&&La(i,t)?i:e.forEachEntry(a,(function(e){if(La(e,t))return e}))}function La(e,n){if(ha(Jr(ha(e)))===ha(Jr(ha(n))))return e}function xa(e){return ha(e&&0!=(1048576&e.flags)?e.exportSymbol:e)}function Aa(e){return!!(111551&e.flags||2097152&e.flags&&111551&Xr(e).flags&&!Zr(e))}function Da(n){for(var t=0,r=n.members;t<r.length;t++){var a=r[t];if(165===a.kind&&e.nodeIsPresent(a.body))return a}}function Ca(e){var n=new g(ce,e);return h++,n.id=h,n}function Ia(e,n,t){void 0===t&&(t=0);var r=Ca(e);return r.intrinsicName=n,r.objectFlags=t,r}function Na(e){var n=wl(e);return n.flags|=16,n.intrinsicName="boolean",n}function Ra(e,n){var t=Ca(524288);return t.objectFlags=e,t.symbol=n,t.members=void 0,t.properties=void 0,t.callSignatures=void 0,t.constructSignatures=void 0,t.stringIndexInfo=void 0,t.numberIndexInfo=void 0,t}function ka(e){var n=Ca(262144);return e&&(n.symbol=e),n}function Oa(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function Pa(n){var t;return n.forEach((function(e,n){!Oa(n)&&Aa(e)&&(t||(t=[])).push(e)})),t||e.emptyArray}function Ma(n,t,r,a,i,o){return n.members=t,n.properties=t===U?e.emptyArray:Pa(t),n.callSignatures=r,n.constructSignatures=a,n.stringIndexInfo=i,n.numberIndexInfo=o,n}function wa(e,n,t,r,a,i){return Ma(Ra(16,e),n,t,r,a,i)}function Fa(n,t){for(var r,a=function(n){if(n.locals&&!Er(n)&&(r=t(n.locals)))return{value:r};switch(n.kind){case 294:if(!e.isExternalOrCommonJsModule(n))break;case 253:var a=va(n);if(r=t((null==a?void 0:a.exports)||U))return{value:r};break;case 249:case 218:case 250:var i;if((va(n).members||U).forEach((function(n,t){788968&n.flags&&(i||(i=e.createSymbolTable())).set(t,n)})),i&&(r=t(i)))return{value:r}}},i=n;i;i=i.parent){var o=a(i);if("object"==typeof o)return o.value}return t(te)}function Ga(e){return 111551===e?111551:1920}function Ba(n,t,r,a,i){if(void 0===i&&(i=new e.Map),n&&!function(e){if(e.declarations&&e.declarations.length){for(var n=0,t=e.declarations;n<t.length;n++){switch(t[n].kind){case 162:case 164:case 166:case 167:continue;default:return!1}}return!0}return!1}(n)){var o=k(n),s=i.get(o);return s||i.set(o,s=[]),Fa(t,c)}function c(r,i){if(e.pushIfUnique(s,r)){var o=function(r,i){if(u(r.get(n.escapedName),void 0,i))return[n];return e.forEachEntry(r,(function(r){if(2097152&r.flags&&"export="!==r.escapedName&&"default"!==r.escapedName&&!(e.isUMDExportSymbol(r)&&t&&e.isExternalModule(e.getSourceFileOfNode(t)))&&(!a||e.some(r.declarations,e.isExternalModuleImportEqualsDeclaration))&&(i||!e.getDeclarationOfKind(r,267))){var o=d(r,Xr(r),i);if(o)return o}if(r.escapedName===n.escapedName&&r.exportSymbol&&u(ha(r.exportSymbol),void 0,i))return[n]}))||(r===te?d(ae,ae,i):void 0)}(r,i);return s.pop(),o}}function l(e,n){return!Ua(e,t,n)||!!Ba(e.parent,t,Ga(n),a,i)}function u(t,a,i){return(n===(a||t)||ha(n)===ha(a||t))&&!e.some(t.declarations,Ja)&&(i||l(ha(t),r))}function d(e,n,t){if(u(e,n,t))return[e];var a=ma(n),i=a&&c(a,!0);return i&&l(e,Ga(r))?[e].concat(i):void 0}}function Ua(n,t,r){var a=!1;return Fa(t,(function(t){var i=ha(t.get(n.escapedName));return!!i&&(i===n||!!((i=2097152&i.flags&&!e.getDeclarationOfKind(i,267)?Xr(i):i).flags&r)&&(a=!0,!0))})),a}function Va(e,n){return 0===Wa(e,n,788968,!1,!0).accessibility}function ja(e,n){return 0===Wa(e,n,111551,!1,!0).accessibility}function Ka(e,n,t){return 0===Wa(e,n,t,!1,!1).accessibility}function Ha(e,n,t,r){return Wa(e,n,t,r,!0)}function Wa(n,t,r,a,i){if(n&&t){var o=function n(t,r,a,i,o,s){if(e.length(t)){for(var c,l=!1,u=0,d=t;u<d.length;u++){var p=d[u],f=Ba(p,r,i,!1);if(f){c=p;var m=Xa(f[0],o);if(m)return m}else if(s&&e.some(p.declarations,Ja)){if(o){l=!0;continue}return{accessibility:0}}var _=n(Ea(p,r,i),r,a,a===p?Ga(i):i,o,s);if(_)return _}return l?{accessibility:0}:c?{accessibility:1,errorSymbolName:Qa(a,r,i),errorModuleName:c!==a?Qa(c,r,1920):void 0}:void 0}}([n],t,n,r,a,i);if(o)return o;var s=e.forEach(n.declarations,qa);if(s)if(s!==qa(t))return{accessibility:2,errorSymbolName:Qa(n,t,r),errorModuleName:Qa(s)};return{accessibility:1,errorSymbolName:Qa(n,t,r)}}return{accessibility:0}}function qa(n){var t=e.findAncestor(n,za);return t&&va(t)}function za(n){return e.isAmbientModule(n)||294===n.kind&&e.isExternalOrCommonJsModule(n)}function Ja(n){return e.isModuleWithStringLiteralName(n)||294===n.kind&&e.isExternalOrCommonJsModule(n)}function Xa(n,t){var r;if(e.every(e.filter(n.declarations,(function(e){return 78!==e.kind})),(function(n){if(!ui(n)){var t=Pr(n);return t&&!e.hasSyntacticModifier(t,1)&&ui(t.parent)?a(n,t):e.isVariableDeclaration(n)&&e.isVariableStatement(n.parent.parent)&&!e.hasSyntacticModifier(n.parent.parent,1)&&ui(n.parent.parent.parent)?a(n,n.parent.parent):!(!e.isLateVisibilityPaintedStatement(n)||e.hasSyntacticModifier(n,1)||!ui(n.parent))&&a(n,n)}return!0})))return{accessibility:0,aliasesToMakeVisible:r};function a(n,a){return t&&(br(n).isVisible=!0,r=e.appendIfUnique(r,a)),!0}}function Ya(n,t){var r;r=175===n.parent.kind||e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)||157===n.parent.kind?1160127:156===n.kind||198===n.kind||257===n.parent.kind?1920:788968;var a=e.getFirstIdentifier(n),i=xr(t,a.escapedText,r,void 0,void 0,!1);return i&&262144&i.flags&&788968&r?{accessibility:0}:i&&Xa(i,!0)||{accessibility:1,errorSymbolName:e.getTextOfNode(a),errorNode:a}}function Qa(n,t,r,a,i){void 0===a&&(a=4);var o=70221824;2&a&&(o|=128),1&a&&(o|=512),8&a&&(o|=16384),16&a&&(o|=134217728);var s=4&a?ne.symbolToExpression:ne.symbolToEntityName;return i?c(i).getText():e.usingSingleLineStringWriter(c);function c(a){var i=s(n,r,t,o),c=294===(null==t?void 0:t.kind)?e.createPrinter({removeComments:!0,neverAsciiEscape:!0}):e.createPrinter({removeComments:!0}),l=t&&e.getSourceFileOfNode(t);return c.writeNode(4,i,l,a),a}}function Za(n,t,r,a,i){return void 0===r&&(r=0),i?o(i).getText():e.usingSingleLineStringWriter(o);function o(i){var o;o=262144&r?1===a?174:173:1===a?169:168;var s=ne.signatureToSignatureDeclaration(n,o,t,70222336|ri(r)),c=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),l=t&&e.getSourceFileOfNode(t);return c.writeNode(4,s,l,e.getTrailingSemicolonDeferringWriter(i)),i}}function $a(n,t,r,a){void 0===r&&(r=1064960),void 0===a&&(a=e.createTextWriter(""));var i=j.noErrorTruncation||1&r,o=ne.typeToTypeNode(n,t,70221824|ri(r)|(i?1:0),a);if(void 0===o)return e.Debug.fail("should always get typenode");var s=e.createPrinter({removeComments:!0}),c=t&&e.getSourceFileOfNode(t);s.writeNode(4,o,c,a);var l=a.getText(),u=i?2*e.noTruncationMaximumTruncationLength:2*e.defaultMaximumTruncationLength;return u&&l&&l.length>=u?l.substr(0,u-"...".length)+"...":l}function ei(e,n){var t=ti(e.symbol)?$a(e,e.symbol.valueDeclaration):$a(e),r=ti(n.symbol)?$a(n,n.symbol.valueDeclaration):$a(n);return t===r&&(t=ni(e),r=ni(n)),[t,r]}function ni(e){return $a(e,void 0,64)}function ti(n){return n&&n.valueDeclaration&&e.isExpression(n.valueDeclaration)&&!yd(n.valueDeclaration)}function ri(e){return void 0===e&&(e=0),814775659&e}function ai(n,t,r,a){return void 0===r&&(r=16384),a?i(a).getText():e.usingSingleLineStringWriter(i);function i(a){var i=e.factory.createTypePredicateNode(2===n.kind||3===n.kind?e.factory.createToken(127):void 0,1===n.kind||3===n.kind?e.factory.createIdentifier(n.parameterName):e.factory.createThisTypeNode(),n.type&&ne.typeToTypeNode(n.type,t,70222336|ri(r))),o=e.createPrinter({removeComments:!0}),s=t&&e.getSourceFileOfNode(t);return o.writeNode(4,i,s,a),a}}function ii(e){return 8===e?"private":16===e?"protected":"public"}function oi(n){return n&&n.parent&&254===n.parent.kind&&e.isExternalModuleAugmentation(n.parent.parent)}function si(n){return 294===n.kind||e.isAmbientModule(n)}function ci(n,t){var r=vr(n).nameType;if(r){if(384&r.flags){var a=""+r.value;return e.isIdentifierText(a,j.target)||U_(a)?U_(a)&&e.startsWith(a,"-")?"["+a+"]":a:'"'+e.escapeString(a,34)+'"'}if(8192&r.flags)return"["+li(r.symbol,t)+"]"}}function li(n,t){if(t&&"default"===n.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!n.declarations||t.enclosingDeclaration&&e.findAncestor(n.declarations[0],si)!==e.findAncestor(t.enclosingDeclaration,si)))return"default";if(n.declarations&&n.declarations.length){var r=e.firstDefined(n.declarations,(function(n){return e.getNameOfDeclaration(n)?n:void 0})),a=r&&e.getNameOfDeclaration(r);if(r&&a){if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r))return e.symbolName(n);if(e.isComputedPropertyName(a)&&!(4096&e.getCheckFlags(n))){var i=vr(n).nameType;if(i&&384&i.flags){var o=ci(n,t);if(void 0!==o)return o}}return e.declarationNameToString(a)}if(r||(r=n.declarations[0]),r.parent&&246===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(r.kind){case 218:case 205:case 206:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),218===r.kind?"(Anonymous class)":"(Anonymous function)"}}var s=ci(n,t);return void 0!==s?s:e.symbolName(n)}function ui(n){if(n){var t=br(n);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(n.kind){case 320:case 327:case 321:return!!(n.parent&&n.parent.parent&&n.parent.parent.parent&&e.isSourceFile(n.parent.parent.parent));case 195:return ui(n.parent.parent);case 246:if(e.isBindingPattern(n.name)&&!n.name.elements.length)return!1;case 253:case 249:case 250:case 251:case 248:case 252:case 257:if(e.isExternalModuleAugmentation(n))return!0;var t=gi(n);return 1&e.getCombinedModifierFlags(n)||257!==n.kind&&294!==t.kind&&8388608&t.flags?ui(t):Er(t);case 162:case 161:case 166:case 167:case 164:case 163:if(e.hasEffectiveModifier(n,24))return!1;case 165:case 169:case 168:case 170:case 159:case 254:case 173:case 174:case 176:case 172:case 177:case 178:case 181:case 182:case 185:case 191:return ui(n.parent);case 259:case 260:case 262:return!1;case 158:case 294:case 256:return!0;case 263:default:return!1}}()),t.isVisible}return!1}function di(n,t){var r,a,i;return n.parent&&263===n.parent.kind?r=xr(n,n.escapedText,2998271,void 0,n,!1):267===n.parent.kind&&(r=Hr(n.parent,2998271)),r&&((i=new e.Set).add(k(r)),function n(r){e.forEach(r,(function(r){var o=Pr(r)||r;if(t?br(r).isVisible=!0:(a=a||[],e.pushIfUnique(a,o)),e.isInternalModuleImportEqualsDeclaration(r)){var s=r.moduleReference,c=xr(r,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1);c&&i&&e.tryAddToSet(i,k(c))&&n(c.declarations)}}))}(r.declarations)),a}function pi(e,n){var t=fi(e,n);if(t>=0){for(var r=Ct.length,a=t;a<r;a++)It[a]=!1;return!1}return Ct.push(e),It.push(!0),Nt.push(n),!0}function fi(e,n){for(var t=Ct.length-1;t>=0;t--){if(mi(Ct[t],Nt[t]))return-1;if(Ct[t]===e&&Nt[t]===n)return t}return-1}function mi(n,t){switch(t){case 0:return!!vr(n).type;case 5:return!!br(n).resolvedEnumType;case 2:return!!vr(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!n.resolvedTypeArguments;case 7:return!!n.baseTypesResolved}return e.Debug.assertNever(t)}function _i(){return Ct.pop(),Nt.pop(),It.pop()}function gi(n){return e.findAncestor(e.getRootDeclaration(n),(function(e){switch(e.kind){case 246:case 247:case 262:case 261:case 260:case 259:return!1;default:return!0}})).parent}function yi(e,n){var t=Zs(e,n);return t?to(t):void 0}function hi(e){return e&&0!=(1&e.flags)}function vi(e){var n=va(e);return n&&vr(n).type||Ci(e,!1)}function bi(n,t,r){if(131072&(n=Em(n,(function(e){return!(98304&e.flags)}))).flags)return Ze;if(1048576&n.flags)return Sm(n,(function(e){return bi(e,t,r)}));var a=wl(e.map(t,Wl));if(tu(n)||ru(a)){if(131072&a.flags)return n;var i=Xn||(Xn=ll("Omit",524288,e.Diagnostics.Cannot_find_global_type_0));return i?zc(i,[n,a]):Se}for(var o=e.createSymbolTable(),s=0,c=Cs(n);s<c.length;s++){var l=c[s];Dd(ql(l,8576),a)||24&e.getDeclarationModifierFlagsFromSymbol(l)||!Iu(l)||o.set(l.escapedName,Nu(l,!1))}var u=rc(n,0),d=rc(n,1),p=wa(r,o,e.emptyArray,e.emptyArray,u,d);return p.objectFlags|=131072,p}function Ei(e,n){var t=Ti(e);return t?jm(t,n):n}function Ti(n){var t=function(e){var n=e.parent.parent;switch(n.kind){case 195:case 285:return Ti(n);case 196:return Ti(e.parent);case 246:return n.initializer;case 213:return n.right}}(n);if(t&&t.flowNode){var r=function(e){var n=e.parent;if(195===e.kind&&193===n.kind)return Si(e.propertyName||e.name);if(285===e.kind||286===e.kind)return Si(e.name);return""+n.elements.indexOf(e)}(n);if(r){var a=e.setTextRange(e.parseNodeFactory.createStringLiteral(r),n),i=e.setTextRange(e.parseNodeFactory.createElementAccessExpression(t,a),n);return e.setParent(a,i),e.setParent(i,n),i.flowNode=t.flowNode,i}}}function Si(e){var n=Wl(e);return 384&n.flags?""+n.value:void 0}function Li(n){var t,r=n.parent,a=vi(r.parent);if(!a||hi(a))return a;if(q&&8388608&n.flags&&e.isParameterDeclaration(n)?a=Qp(a):!q||!r.parent.initializer||65536&rm(pm(r.parent.initializer))||(a=am(a,524288)),193===r.kind)if(n.dotDotDotToken){if(2&(a=zs(a)).flags||!W_(a))return or(n,e.Diagnostics.Rest_types_may_only_be_created_from_object_types),Se;for(var i=[],o=0,s=r.elements;o<s.length;o++){var c=s[o];c.dotDotDotToken||i.push(c.propertyName||c.name)}t=bi(a,i,n.symbol)}else{var l=n.propertyName||n.name;t=Ei(n,Xm(lu(a,p=Wl(l),l),n.name))}else{var u=bb(65,a,Ae,r),d=r.elements.indexOf(n);if(n.dotDotDotToken)t=bm(a,Gp)?Sm(a,(function(e){return Cl(e,d)})):vl(u);else if(Ap(a)){var p=wu(d),f=M_(n)?8:0;t=Ei(n,Xm(du(a,p,n.name,f)||Se,n.name))}else t=u}return n.initializer?e.getEffectiveTypeAnnotationNode(e.walkUpBindingElementsAndPatterns(n))?!q||32768&qp(Kh(n))?t:am(t,524288):Hh(n,wl([am(t,524288),Kh(n)],2)):t}function xi(n){var t=e.getJSDocType(n);if(t)return Vu(t)}function Ai(n){var t=e.skipParentheses(n);return 196===t.kind&&0===t.elements.length}function Di(e,n){return void 0===n&&(n=!0),q&&n?Yp(e):e}function Ci(n,t){if(e.isVariableDeclaration(n)&&235===n.parent.parent.kind){var r=Xl(hg(iv(n.parent.parent.expression)));return 4456448&r.flags?Yl(r):Re}if(e.isVariableDeclaration(n)&&236===n.parent.parent.kind)return vb(n.parent.parent)||be;if(e.isBindingPattern(n.parent))return Li(n);var a,i,o=t&&(e.isParameter(n)&&cc(n)||dc(n)||!e.isBindingElement(n)&&!e.isVariableDeclaration(n)&&!!n.questionToken),s=Wi(n);if(s)return Di(s,o);if((Y||e.isInJSFile(n))&&e.isVariableDeclaration(n)&&!e.isBindingPattern(n.name)&&!(1&e.getCombinedModifierFlags(n))&&!(8388608&n.flags)){if(!(2&e.getCombinedNodeFlags(n)||n.initializer&&(a=n.initializer,i=e.skipParentheses(a),103!==i.kind&&(78!==i.kind||Wf(i)!==re))))return Ee;if(n.initializer&&Ai(n.initializer))return An}if(e.isParameter(n)){var c=n.parent;if(167===c.kind&&!Ko(c)){var l=e.getDeclarationOfKind(va(n.parent),166);if(l){var u=_c(l),d=UT(c);return d&&n===d?(e.Debug.assert(!d.type),to(u.thisParameter)):Ec(u)}}if(e.isInJSFile(n)){var p=e.getJSDocType(c);if(p&&e.isFunctionTypeNode(p)){var f=_c(p),m=c.parameters.indexOf(n);return n.dotDotDotToken?$y(f,m):Qy(f,m)}}if(g="this"===n.symbol.escapedName?c_(c):l_(n))return Di(g,o)}if(e.hasOnlyExpressionInitializer(n)&&n.initializer){if(e.isInJSFile(n)&&!e.isParameter(n)){var _=Mi(n,va(n),e.getDeclaredExpandoInitializer(n));if(_)return _}return Di(g=Hh(n,Kh(n)),o)}if(e.isPropertyDeclaration(n)&&!e.hasStaticModifier(n)&&(Y||e.isInJSFile(n))){var g,y=Da(n.parent);return(g=y?ki(n.symbol,y):2&e.getEffectiveModifierFlags(n)?_p(n.symbol):void 0)&&Di(g,o)}return e.isJsxAttribute(n)?we:e.isBindingPattern(n.name)?Vi(n.name,!1,!0):void 0}function Ii(n){if(n.valueDeclaration&&e.isBinaryExpression(n.valueDeclaration)){var t=vr(n);return void 0===t.isConstructorDeclaredProperty&&(t.isConstructorDeclaredProperty=!!Ri(n)&&e.every(n.declarations,(function(t){return e.isBinaryExpression(t)&&4===e.getAssignmentDeclarationKind(t)&&(199!==t.left.kind||e.isStringOrNumericLiteralLike(t.left.argumentExpression))&&!wi(void 0,t,n,t)}))),t.isConstructorDeclaredProperty}return!1}function Ni(n){var t=n.valueDeclaration;return t&&e.isPropertyDeclaration(t)&&!e.getEffectiveTypeAnnotationNode(t)&&!t.initializer&&(Y||e.isInJSFile(t))}function Ri(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t],i=e.getThisContainer(a,!1);if(i&&(165===i.kind||Oy(i)))return i}}function ki(n,t){var r=e.factory.createPropertyAccessExpression(e.factory.createThis(),e.unescapeLeadingUnderscores(n.escapedName));e.setParent(r.expression,r),e.setParent(r,t),r.flowNode=t.returnFlowNode;var a=Oi(r,n);return!Y||a!==Ee&&a!==An||or(n.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,Qa(n),$a(a)),bm(a,yg)?void 0:sb(a)}function Oi(n,t){var r=t&&(!Ni(t)||2&e.getEffectiveModifierFlags(t.valueDeclaration))&&_p(t)||Ae;return jm(n,Ee,r)}function Pi(n,t){var r,a=e.getAssignedExpandoInitializer(n.valueDeclaration);if(a){var i=e.getJSDocTypeTag(a);return i&&i.typeExpression?Vu(i.typeExpression):Mi(n.valueDeclaration,n,a)||Pp(Vh(a))}var o=!1,s=!1;if(Ii(n)&&(r=ki(n,Ri(n))),!r){for(var c=void 0,l=void 0,u=0,d=n.declarations;u<d.length;u++){var p=d[u],f=e.isBinaryExpression(p)||e.isCallExpression(p)?p:e.isAccessExpression(p)?e.isBinaryExpression(p.parent)?p.parent:p:void 0;if(f){var m=e.isAccessExpression(f)?e.getAssignmentDeclarationPropertyAccessKind(f):e.getAssignmentDeclarationKind(f);4===m&&(Gi(f)?o=!0:s=!0),e.isCallExpression(f)||(c=wi(c,f,n,p)),c||(l||(l=[])).push(e.isBinaryExpression(f)||e.isCallExpression(f)?Fi(n,t,f,m):Ve)}}if(!(r=c)){if(!e.length(l))return Se;var _=o?function(n,t){return e.Debug.assert(n.length===t.length),n.filter((function(n,r){var a=t[r],i=e.isBinaryExpression(a)?a:e.isBinaryExpression(a.parent)?a.parent:void 0;return i&&Gi(i)}))}(l,n.declarations):void 0;if(s){var g=_p(n);g&&((_||(_=[])).push(g),o=!0)}r=wl(e.some(_,(function(e){return!!(-98305&e.flags)}))?_:l,2)}}var y=df(Di(r,s&&!o));return Em(y,(function(e){return!!(-98305&e.flags)}))===Ve?(ff(n.valueDeclaration,be),be):y}function Mi(n,t,r){var a,i;if(e.isInJSFile(n)&&r&&e.isObjectLiteralExpression(r)&&!r.properties.length){for(var o=e.createSymbolTable();e.isBinaryExpression(n)||e.isPropertyAccessExpression(n);){var s=va(n);(null===(a=null==s?void 0:s.exports)||void 0===a?void 0:a.size)&&yr(o,s.exports),n=e.isBinaryExpression(n)?n.parent:n.parent.parent}var c=va(n);(null===(i=null==c?void 0:c.exports)||void 0===i?void 0:i.size)&&yr(o,c.exports);var l=wa(t,o,e.emptyArray,e.emptyArray,void 0,void 0);return l.objectFlags|=16384,l}}function wi(n,t,r,a){var i=e.getEffectiveTypeAnnotationNode(t.parent);if(i){var o=df(Vu(i));if(!n)return o;n===Se||o===Se||Td(n,o)||lb(void 0,n,a,o)}if(r.parent){var s=e.getEffectiveTypeAnnotationNode(r.parent.valueDeclaration);if(s)return yi(Vu(s),r.escapedName)}return n}function Fi(n,t,r,a){if(e.isCallExpression(r)){if(t)return to(t);var i=Vh(r.arguments[2]),o=yi(i,"value");if(o)return o;var s=yi(i,"get");if(s){var c=ey(s);if(c)return Ec(c)}var l=yi(i,"set");if(l){var u=ey(l);if(u)return ih(u)}return be}if(function(n,t){return e.isPropertyAccessExpression(n)&&107===n.expression.kind&&e.forEachChildRecursively(t,(function(e){return zf(n,e)}))}(r.left,r.right))return be;var d=t?to(t):Pp(Vh(r.right));if(524288&d.flags&&2===a&&"export="===n.escapedName){var p=Ls(d),f=e.createSymbolTable();e.copyEntries(p.members,f),t&&!t.exports&&(t.exports=e.createSymbolTable()),(t||n).exports.forEach((function(n,t){var r,a=f.get(t);if(a&&a!==n)if(111551&n.flags&&111551&a.flags){if(e.getSourceFileOfNode(n.valueDeclaration)!==e.getSourceFileOfNode(a.valueDeclaration)){var i=e.unescapeLeadingUnderscores(n.escapedName),o=(null===(r=e.tryCast(a.valueDeclaration,e.isNamedDeclaration))||void 0===r?void 0:r.name)||a.valueDeclaration;e.addRelatedInfo(or(n.valueDeclaration,e.Diagnostics.Duplicate_identifier_0,i),e.createDiagnosticForNode(o,e.Diagnostics._0_was_also_declared_here,i)),e.addRelatedInfo(or(o,e.Diagnostics.Duplicate_identifier_0,i),e.createDiagnosticForNode(n.valueDeclaration,e.Diagnostics._0_was_also_declared_here,i))}var s=ur(n.flags|a.flags,t);s.type=wl([to(n),to(a)]),s.valueDeclaration=a.valueDeclaration,s.declarations=e.concatenate(a.declarations,n.declarations),f.set(t,s)}else f.set(t,mr(n,a));else f.set(t,n)}));var m=wa(p.symbol,f,p.callSignatures,p.constructSignatures,p.stringIndexInfo,p.numberIndexInfo);return m.objectFlags|=16384&e.getObjectFlags(d),m}return Dp(d)?(ff(r,xn),xn):d}function Gi(n){var t=e.getThisContainer(n,!1);return 165===t.kind||248===t.kind||205===t.kind&&!e.isPrototypePropertyAssignment(t.parent)}function Bi(n,t,r){return n.initializer?Di(Hh(n,Kh(n,e.isBindingPattern(n.name)?Vi(n.name,!0,!1):xe))):e.isBindingPattern(n.name)?Vi(n.name,t,r):(r&&!Hi(n)&&ff(n,be),t?Le:be)}function Ui(n,t,r){var a,i=n.elements,o=e.lastOrUndefined(i),s=o&&195===o.kind&&o.dotDotDotToken?o:void 0;if(0===i.length||1===i.length&&s)return K>=2?(a=be,yl(_l(!0),[a])):xn;var c=e.map(i,(function(n){return e.isOmittedExpression(n)?be:Bi(n,t,r)})),l=e.findLastIndex(i,(function(n){return!(n===s||e.isOmittedExpression(n)||M_(n))}),i.length-1)+1,u=xl(c,e.map(i,(function(e,n){return e===s?4:n>=l?2:1})));return t&&((u=jc(u)).pattern=n,u.objectFlags|=1048576),u}function Vi(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),193===n.kind?function(n,t,r){var a,i=e.createSymbolTable(),o=1048704;e.forEach(n.elements,(function(e){var n=e.propertyName||e.name;if(e.dotDotDotToken)a=Pc(be,!1);else{var s=Wl(n);if(Bo(s)){var c=Ho(s),l=ur(4|(e.initializer?16777216:0),c);l.type=Bi(e,t,r),l.bindingElement=e,i.set(l.escapedName,l)}else o|=512}}));var s=wa(void 0,i,e.emptyArray,e.emptyArray,a,void 0);return s.objectFlags|=o,t&&(s.pattern=n,s.objectFlags|=1048576),s}(n,t,r):Ui(n,t,r)}function ji(e,n){return Ki(Ci(e,!0),e,n)}function Ki(n,t,r){return n?(r&&mf(t,n),8192&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==va(t)&&(n=Be),df(n)):(n=e.isParameter(t)&&t.dotDotDotToken?xn:be,r&&(Hi(t)||ff(t,n)),n)}function Hi(n){var t=e.getRootDeclaration(n);return Tv(159===t.kind?t.parent:t)}function Wi(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Vu(t)}function qi(n){var t=vr(n);if(!t.type){var r=function(n){if(4194304&n.flags)return(t=Io(ba(n))).typeParameters?Vc(t,e.map(t.typeParameters,(function(e){return be}))):t;var t;if(n===se)return be;if(134217728&n.flags){var r=va(e.getSourceFileOfNode(n.valueDeclaration)),a=e.createSymbolTable();return a.set("exports",r),wa(n,a,e.emptyArray,e.emptyArray,void 0,void 0)}var i,o=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(o)){var s=o;if(!s.type)return be;var c=wE(s.type);return hi(c)||c===xe?c:Se}if(e.isSourceFile(o)&&e.isJsonSourceFile(o))return o.statements.length?df(Pp(iv(o.statements[0].expression))):Ze;if(!pi(n,0))return 512&n.flags&&!(67108864&n.flags)?$i(n):no(n);if(263===o.kind)i=Ki(Vh(o.expression),o);else if(e.isBinaryExpression(o)||e.isInJSFile(o)&&(e.isCallExpression(o)||(e.isPropertyAccessExpression(o)||e.isBindableStaticElementAccessExpression(o))&&e.isBinaryExpression(o.parent)))i=Pi(n);else if(e.isPropertyAccessExpression(o)||e.isElementAccessExpression(o)||e.isIdentifier(o)||e.isStringLiteralLike(o)||e.isNumericLiteral(o)||e.isClassDeclaration(o)||e.isFunctionDeclaration(o)||e.isMethodDeclaration(o)&&!e.isObjectLiteralMethod(o)||e.isMethodSignature(o)||e.isSourceFile(o)){if(9136&n.flags)return $i(n);i=e.isBinaryExpression(o.parent)?Pi(n):Wi(o)||be}else if(e.isPropertyAssignment(o))i=Wi(o)||Jh(o);else if(e.isJsxAttribute(o))i=Wi(o)||J_(o);else if(e.isShorthandPropertyAssignment(o))i=Wi(o)||zh(o.name,0);else if(e.isObjectLiteralMethod(o))i=Wi(o)||Xh(o,0);else if(e.isParameter(o)||e.isPropertyDeclaration(o)||e.isPropertySignature(o)||e.isVariableDeclaration(o)||e.isBindingElement(o)||e.isJSDocPropertyLikeTag(o))i=ji(o,!0);else if(e.isEnumDeclaration(o))i=$i(n);else if(e.isEnumMember(o))i=eo(n);else{if(!e.isAccessor(o))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(o.kind)+" for "+e.Debug.formatSymbol(n));i=Qi(n)}if(!_i())return 512&n.flags&&!(67108864&n.flags)?$i(n):no(n);return i}(n);t.type||(t.type=r)}return t.type}function zi(n){if(n)return 166===n.kind?e.getEffectiveReturnTypeNode(n):e.getEffectiveSetAccessorTypeAnnotationNode(n)}function Ji(e){var n=zi(e);return n&&Vu(n)}function Xi(e){return vc(_c(e))}function Yi(n){var t=vr(n);return t.type||(t.type=function(n){if(!pi(n,0))return Se;var t=Qi(n);if(!_i()){if(t=be,Y)or(e.getDeclarationOfKind(n,166),e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Qa(n))}return t}(n))}function Qi(n){var t=e.getDeclarationOfKind(n,166),r=e.getDeclarationOfKind(n,167);if(t&&e.isInJSFile(t)){var a=xi(t);if(a)return a}var i=Ji(t);if(i)return i;var o=Ji(r);return o||(t&&t.body?ph(t):(r?Tv(r)||cr(Y,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Qa(n)):(e.Debug.assert(!!t,"there must exist a getter as we are current checking either setter or getter in this function"),Tv(t)||cr(Y,t,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Qa(n))),be))}function Zi(n){var t=go(Eo(n));return 8650752&t.flags?t:2097152&t.flags?e.find(t.types,(function(e){return!!(8650752&e.flags)})):void 0}function $i(n){var t=vr(n),r=t;if(!t.type){var a=n.valueDeclaration&&e.getDeclarationOfExpando(n.valueDeclaration);if(a){var i=Py(n,va(a));i&&(n=t=i)}r.type=t.type=function(n){var t=n.valueDeclaration;if(1536&n.flags&&e.isShorthandAmbientModuleSymbol(n))return be;if(t&&(213===t.kind||e.isAccessExpression(t)&&213===t.parent.kind))return Pi(n);if(512&n.flags&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var r=la(n);if(r!==n){if(!pi(n,0))return Se;var a=ha(n.exports.get("export=")),i=Pi(a,a===r?void 0:r);return _i()?i:no(n)}}var o=Ra(16,n);if(32&n.flags){var s=Zi(n);return s?Kl([o,s]):o}return q&&16777216&n.flags?Yp(o):o}(n)}return t.type}function eo(e){var n=vr(e);return n.type||(n.type=Do(e))}function no(n){var t=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(or(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Qa(n)),Se):(Y&&(159!==t.kind||t.initializer)&&or(n.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Qa(n)),be)}function to(n){var t=e.getCheckFlags(n);return 65536&t?function(n){var t=vr(n);return t.type||(e.Debug.assertIsDefined(t.deferralParent),e.Debug.assertIsDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?wl(t.deferralConstituents):Kl(t.deferralConstituents)),t.type}(n):1&t?function(e){var n=vr(e);if(!n.type){if(!pi(e,0))return n.type=Se;var t=pd(to(n.target),n.mapper);_i()||(t=no(e)),n.type=t}return n.type}(n):262144&t?function(n){if(!n.type){if(!pi(n,0))return n.mappedType.containsError=!0,Se;var t=pd(gs(n.mappedType.target||n.mappedType),n.mapper),r=q&&16777216&n.flags&&!Ch(t,49152)?Yp(t):524288&n.checkFlags?am(t,524288):t;_i()||(or(d,e.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Qa(n),$a(n.mappedType)),r=Se),n.type=r,n.mapper=void 0}return n.type}(n):8192&t?function(e){return Cf(e.propertyType,e.mappedType,e.constraintType)}(n):7&n.flags?qi(n):9136&n.flags?$i(n):8&n.flags?eo(n):98304&n.flags?Yi(n):2097152&n.flags?function(e){var n=vr(e);if(!n.type){var t=Xr(e);n.type=111551&t.flags?to(t):Se}return n.type}(n):Se}function ro(n,t){return void 0!==n&&void 0!==t&&0!=(4&e.getObjectFlags(n))&&n.target===t}function ao(n){return 4&e.getObjectFlags(n)?n.target:n}function io(n,t){return function n(r){if(7&e.getObjectFlags(r)){var a=ao(r);return a===t||e.some(ho(a),n)}if(2097152&r.flags)return e.some(r.types,n);return!1}(n)}function oo(n,t){for(var r=0,a=t;r<a.length;r++){var i=a[r];n=e.appendIfUnique(n,Co(va(i)))}return n}function so(n,t){for(;;){if((n=n.parent)&&e.isBinaryExpression(n)){var r=e.getAssignmentDeclarationKind(n);if(6===r||3===r){var a=va(n.left);a&&a.parent&&!e.findAncestor(a.parent.valueDeclaration,(function(e){return n===e}))&&(n=a.parent.valueDeclaration)}}if(!n)return;switch(n.kind){case 229:case 249:case 218:case 250:case 168:case 169:case 163:case 173:case 174:case 304:case 248:case 164:case 205:case 206:case 251:case 326:case 327:case 321:case 320:case 189:case 183:var i=so(n,t);if(189===n.kind)return e.append(i,Co(va(n.typeParameter)));if(183===n.kind)return e.concatenate(i,hu(n));if(229===n.kind&&!e.isInJSFile(n))break;var o=oo(i,e.getEffectiveTypeParameterDeclarations(n)),s=t&&(249===n.kind||218===n.kind||250===n.kind||Oy(n))&&Eo(va(n)).thisType;return s?e.append(o,s):o;case 322:var c=e.getParameterSymbolFromJSDoc(n);c&&(n=c.valueDeclaration)}}}function co(n){var t=32&n.flags?n.valueDeclaration:e.getDeclarationOfKind(n,250);return e.Debug.assert(!!t,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),so(t)}function lo(n){for(var t,r=0,a=n.declarations;r<a.length;r++){var i=a[r];if(250===i.kind||249===i.kind||218===i.kind||Oy(i)||e.isTypeAlias(i)){var o=i;t=oo(t,e.getEffectiveTypeParameterDeclarations(o))}}return t}function uo(e){var n=ec(e,1);if(1===n.length){var t=n[0];return!t.typeParameters&&1===t.parameters.length&&G(t)&&xp(qy(t.parameters[0]))===be}return!1}function po(e){if(ec(e,1).length>0)return!0;if(8650752&e.flags){var n=Ms(e);return!!n&&uo(n)}return!1}function fo(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function mo(n,t,r){var a=e.length(t),i=e.isInJSFile(r);return e.filter(ec(n,1),(function(n){return(i||a>=fc(n.typeParameters))&&a<=e.length(n.typeParameters)}))}function _o(n,t,r){var a=mo(n,t,r),i=e.map(t,Vu);return e.sameMap(a,(function(n){return e.some(n.typeParameters)?xc(n,i,e.isInJSFile(r)):n}))}function go(n){if(!n.resolvedBaseConstructorType){var t=n.symbol.valueDeclaration,r=e.getEffectiveBaseTypeNode(t),a=fo(n);if(!a)return n.resolvedBaseConstructorType=Ae;if(!pi(n,1))return Se;var i=iv(a.expression);if(r&&a!==r&&(e.Debug.assert(!r.typeArguments),iv(r.expression)),2621440&i.flags&&Ls(i),!_i())return or(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Qa(n.symbol)),n.resolvedBaseConstructorType=Se;if(!(1&i.flags||i===Ne||po(i))){var o=or(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,$a(i));if(262144&i.flags){var s=Fc(i),c=xe;if(s){var l=ec(s,1);l[0]&&(c=Ec(l[0]))}e.addRelatedInfo(o,e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Qa(i.symbol),$a(c)))}return n.resolvedBaseConstructorType=Se}n.resolvedBaseConstructorType=i}return n.resolvedBaseConstructorType}function yo(n,t){or(n,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,$a(t,void 0,2))}function ho(n){if(!n.baseTypesResolved){if(pi(n,7)&&(8&n.objectFlags?n.resolvedBaseTypes=[vo(n)]:96&n.symbol.flags?(32&n.symbol.flags&&function(n){n.resolvedBaseTypes=e.resolvingEmptyArray;var t=js(go(n));if(!(2621441&t.flags))return n.resolvedBaseTypes=e.emptyArray;var r,a=fo(n),i=t.symbol?Io(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var n=e.outerTypeParameters;if(n){var t=n.length-1,r=Hc(e);return n[t].symbol!==r[t].symbol}return!0}(i))r=qc(a,t.symbol);else if(1&t.flags)r=t;else{var o=_o(t,a.typeArguments,a);if(!o.length)return or(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=e.emptyArray;r=Ec(o[0])}if(r===Se)return n.resolvedBaseTypes=e.emptyArray;var s=zs(r);if(!bo(s)){var c=Qs(void 0,r),l=e.chainDiagnosticMessages(c,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,$a(s));return zt.add(e.createDiagnosticForNodeFromMessageChain(a.expression,l)),n.resolvedBaseTypes=e.emptyArray}if(n===s||io(s,n))return or(n.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,$a(n,void 0,2)),n.resolvedBaseTypes=e.emptyArray;n.resolvedBaseTypes===e.resolvingEmptyArray&&(n.members=void 0);n.resolvedBaseTypes=[s]}(n),64&n.symbol.flags&&function(n){n.resolvedBaseTypes=n.resolvedBaseTypes||e.emptyArray;for(var t=0,r=n.symbol.declarations;t<r.length;t++){var a=r[t];if(250===a.kind&&e.getInterfaceBaseTypeNodes(a))for(var i=0,o=e.getInterfaceBaseTypeNodes(a);i<o.length;i++){var s=o[i],c=zs(Vu(s));c!==Se&&(bo(c)?n===c||io(c,n)?yo(a,n):n.resolvedBaseTypes===e.emptyArray?n.resolvedBaseTypes=[c]:n.resolvedBaseTypes.push(c):or(s,e.Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}(n)):e.Debug.fail("type must be class or interface"),!_i()))for(var t=0,r=n.symbol.declarations;t<r.length;t++){var a=r[t];249!==a.kind&&250!==a.kind||yo(a,n)}n.baseTypesResolved=!0}return n.resolvedBaseTypes}function vo(n){return vl(wl(e.sameMap(n.typeParameters,(function(e,t){return 8&n.elementFlags[t]?lu(e,ke):e}))||e.emptyArray),n.readonly)}function bo(n){if(262144&n.flags){var t=Ms(n);if(t)return bo(t)}return!!(67633153&n.flags&&!Ss(n)||2097152&n.flags&&e.every(n.types,bo))}function Eo(n){var t,r,a,i,o=vr(n),s=o;if(!o.declaredType){var c=32&n.flags?1:2,l=Py(n,(t=n.valueDeclaration,r=t&&t.parent&&(e.isFunctionDeclaration(t)&&va(t)||e.isBinaryExpression(t.parent)&&va(t.parent.left)||e.isVariableDeclaration(t.parent)&&va(t.parent)),a=r&&r.exports&&r.exports.get("prototype"),(i=a&&a.valueDeclaration&&function(n){if(!n.parent)return!1;for(var t=n.parent;t&&198===t.kind;)t=t.parent;if(t&&e.isBinaryExpression(t)&&e.isPrototypeAccess(t.left)&&62===t.operatorToken.kind){var r=e.getInitializerOfBinaryExpression(t);return e.isObjectLiteralExpression(r)&&r}}(a.valueDeclaration))?va(i):void 0));l&&(n=o=l);var u=s.declaredType=o.declaredType=Ra(c,n),d=co(n),p=lo(n);(d||p||1===c||!function(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];if(250===a.kind){if(128&a.flags)return!1;var i=e.getInterfaceBaseTypeNodes(a);if(i)for(var o=0,s=i;o<s.length;o++){var c=s[o];if(e.isEntityNameExpression(c.expression)){var l=ra(c.expression,788968,!0);if(!l||!(64&l.flags)||Eo(l).thisType)return!1}}}}return!0}(n))&&(u.objectFlags|=4,u.typeParameters=e.concatenate(d,p),u.outerTypeParameters=d,u.localTypeParameters=p,u.instantiations=new e.Map,u.instantiations.set(Bc(u.typeParameters),u),u.target=u,u.resolvedTypeArguments=u.typeParameters,u.thisType=ka(n),u.thisType.isThisType=!0,u.thisType.constraint=u)}return o.declaredType}function To(n){var t=vr(n);if(!t.declaredType){if(!pi(n,2))return Se;var r=e.Debug.checkDefined(e.find(n.declarations,e.isTypeAlias),"Type alias symbol with no valid declaration found"),a=e.isJSDocTypeAlias(r)?r.typeExpression:r.type,i=a?Vu(a):Se;if(_i()){var o=lo(n);o&&(t.typeParameters=o,t.instantiations=new e.Map,t.instantiations.set(Bc(o),i))}else i=Se,or(e.isNamedDeclaration(r)?r.name:r||r,e.Diagnostics.Type_alias_0_circularly_references_itself,Qa(n));t.declaredType=i}return t.declaredType}function So(n){var t=n.initializer;if(!t)return!(8388608&n.flags);switch(t.kind){case 10:case 8:case 14:return!0;case 211:return 40===t.operator&&8===t.operand.kind;case 78:return e.nodeIsMissing(t)||!!va(n.parent).exports.get(t.escapedText);case 213:return function n(t){return!!e.isStringLiteralLike(t)||213===t.kind&&(n(t.left)&&n(t.right))}(t);default:return!1}}function Lo(n){var t=vr(n);if(void 0!==t.enumKind)return t.enumKind;for(var r=!1,a=0,i=n.declarations;a<i.length;a++){var o=i[a];if(252===o.kind)for(var s=0,c=o.members;s<c.length;s++){var l=c[s];if(l.initializer&&e.isStringLiteralLike(l.initializer))return t.enumKind=1;So(l)||(r=!0)}}return t.enumKind=r?0:1}function xo(e){return 1024&e.flags&&!(1048576&e.flags)?Io(ba(e.symbol)):e}function Ao(e){var n=vr(e);if(n.declaredType)return n.declaredType;if(1===Lo(e)){b++;for(var t=[],r=0,a=e.declarations;r<a.length;r++){var i=a[r];if(252===i.kind)for(var o=0,s=i.members;o<s.length;o++){var c=s[o],l=sT(c),u=Ou(wu(void 0!==l?l:0,b,va(c)));vr(va(c)).declaredType=u,t.push(Pu(u))}}if(t.length){var d=wl(t,1,e,void 0);return 1048576&d.flags&&(d.flags|=1024,d.symbol=e),n.declaredType=d}}var p=Ca(32);return p.symbol=e,n.declaredType=p}function Do(e){var n=vr(e);if(!n.declaredType){var t=Ao(ba(e));n.declaredType||(n.declaredType=t)}return n.declaredType}function Co(e){var n=vr(e);return n.declaredType||(n.declaredType=ka(e))}function Io(e){return No(e)||Se}function No(e){return 96&e.flags?Eo(e):524288&e.flags?To(e):262144&e.flags?Co(e):384&e.flags?Ao(e):8&e.flags?Do(e):2097152&e.flags?function(e){var n=vr(e);return n.declaredType||(n.declaredType=Io(Xr(e)))}(e):void 0}function Ro(e){switch(e.kind){case 128:case 151:case 146:case 143:case 154:case 131:case 147:case 144:case 113:case 149:case 140:case 190:return!0;case 177:return Ro(e.elementType);case 172:return!e.typeArguments||e.typeArguments.every(Ro)}return!1}function ko(n){var t=e.getEffectiveConstraintOfTypeParameter(n);return!t||Ro(t)}function Oo(n){var t=e.getEffectiveTypeAnnotationNode(n);return t?Ro(t):!e.hasInitializer(n)}function Po(n){if(n.declarations&&1===n.declarations.length){var t=n.declarations[0];if(t)switch(t.kind){case 162:case 161:return Oo(t);case 164:case 163:case 165:case 166:case 167:return r=t,a=e.getEffectiveReturnTypeNode(r),i=e.getEffectiveTypeParameterDeclarations(r),(165===r.kind||!!a&&Ro(a))&&r.parameters.every(Oo)&&i.every(ko)}}var r,a,i;return!1}function Mo(n,t,r){for(var a=e.createSymbolTable(),i=0,o=n;i<o.length;i++){var s=o[i];a.set(s.escapedName,r&&Po(s)?s:ad(s,t))}return a}function wo(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];e.has(a.escapedName)||Fo(a)||e.set(a.escapedName,a)}}function Fo(n){return!!n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration)&&e.hasSyntacticModifier(n.valueDeclaration,32)}function Go(n){if(!n.declaredProperties){var t=n.symbol,r=zo(t);n.declaredProperties=Pa(r),n.declaredCallSignatures=e.emptyArray,n.declaredConstructSignatures=e.emptyArray,n.declaredCallSignatures=hc(r.get("__call")),n.declaredConstructSignatures=hc(r.get("__new")),n.declaredStringIndexInfo=Mc(t,0),n.declaredNumberIndexInfo=Mc(t,1)}return n}function Bo(e){return!!(8576&e.flags)}function Uo(n){if(!e.isComputedPropertyName(n)&&!e.isElementAccessExpression(n))return!1;var t=e.isComputedPropertyName(n)?n.expression:n.argumentExpression;return e.isEntityNameExpression(t)&&Bo(e.isComputedPropertyName(n)?V_(n):Vh(t))}function Vo(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function jo(n){var t=e.getNameOfDeclaration(n);return!!t&&Uo(t)}function Ko(n){return e.hasDynamicName(n)&&!jo(n)}function Ho(n){return 8192&n.flags?n.escapedName:384&n.flags?e.escapeLeadingUnderscores(""+n.value):e.Debug.fail()}function Wo(n,t,r,a){e.Debug.assert(!!a.symbol,"The member is expected to have a symbol.");var i=br(a);if(!i.resolvedSymbol){i.resolvedSymbol=a.symbol;var o=e.isBinaryExpression(a)?a.left:a.name,s=e.isElementAccessExpression(o)?Vh(o.argumentExpression):V_(o);if(Bo(s)){var c=Ho(s),l=a.symbol.flags,u=r.get(c);u||r.set(c,u=ur(0,c,4096));var d=t&&t.get(c);if(u.flags&dr(l)||d){var p=d?e.concatenate(d.declarations,u.declarations):u.declarations,f=!(8192&s.flags)&&e.unescapeLeadingUnderscores(c)||e.declarationNameToString(o);e.forEach(p,(function(n){return or(e.getNameOfDeclaration(n)||n,e.Diagnostics.Property_0_was_also_declared_here,f)})),or(o||a,e.Diagnostics.Duplicate_property_0,f),u=ur(0,c,4096)}return u.nameType=s,function(n,t,r){e.Debug.assert(!!(4096&e.getCheckFlags(n)),"Expected a late-bound symbol."),n.flags|=r,vr(t.symbol).lateSymbol=n,n.declarations?n.declarations.push(t):n.declarations=[t],111551&r&&(n.valueDeclaration&&n.valueDeclaration.kind===t.kind||(n.valueDeclaration=t))}(u,a,l),u.parent?e.Debug.assert(u.parent===n,"Existing symbol parent should match new one"):u.parent=n,i.resolvedSymbol=u}}return i.resolvedSymbol}function qo(n,t){var r=vr(n);if(!r[t]){var a="resolvedExports"===t,i=a?1536&n.flags?ya(n):n.exports:n.members;r[t]=i||U;for(var o=e.createSymbolTable(),s=0,c=n.declarations;s<c.length;s++){var l=c[s],u=e.getMembersOfDeclaration(l);if(u)for(var d=0,p=u;d<p.length;d++){var f=p[d];a===e.hasStaticModifier(f)&&jo(f)&&Wo(n,i,o,f)}}var m=n.assignmentDeclarationMembers;if(m)for(var _=0,g=e.arrayFrom(m.values());_<g.length;_++){f=g[_];var y=e.getAssignmentDeclarationKind(f);a===!(3===y||4===y||9===y||6===y)&&jo(f)&&Wo(n,i,o,f)}r[t]=function(n,t){if(!(null==n?void 0:n.size))return t;if(!(null==t?void 0:t.size))return n;var r=e.createSymbolTable();return yr(r,n),yr(r,t),r}(i,o)||U}return r[t]}function zo(e){return 6256&e.flags?qo(e,"resolvedMembers"):e.members||U}function Jo(n){if(106500&n.flags&&"__computed"===n.escapedName){var t=vr(n);if(!t.lateSymbol&&e.some(n.declarations,jo)){var r=ha(n.parent);e.some(n.declarations,e.hasStaticModifier)?ma(r):zo(r)}return t.lateSymbol||(t.lateSymbol=n)}return n}function Xo(n,t,r){if(4&e.getObjectFlags(n)){var a=n.target,i=Hc(n);if(e.length(a.typeParameters)===e.length(i)){var o=Vc(a,e.concatenate(i,[t||a.thisType]));return r?js(o):o}}else if(2097152&n.flags)return Kl(e.map(n.types,(function(e){return Xo(e,t,r)})));return r?js(n):n}function Yo(n,t,r,a){var i,o,s,c,l,u;e.rangeEquals(r,a,0,r.length)?(o=t.symbol?zo(t.symbol):e.createSymbolTable(t.declaredProperties),s=t.declaredCallSignatures,c=t.declaredConstructSignatures,l=t.declaredStringIndexInfo,u=t.declaredNumberIndexInfo):(i=qu(r,a),o=Mo(t.declaredProperties,i,1===r.length),s=Wu(t.declaredCallSignatures,i),c=Wu(t.declaredConstructSignatures,i),l=gd(t.declaredStringIndexInfo,i),u=gd(t.declaredNumberIndexInfo,i));var d=ho(t);if(d.length){t.symbol&&o===zo(t.symbol)&&(o=e.createSymbolTable(t.declaredProperties)),Ma(n,o,s,c,l,u);for(var p=e.lastOrUndefined(a),f=0,m=d;f<m.length;f++){var _=m[f],g=p?Xo(pd(_,i),p):_;wo(o,Cs(g)),s=e.concatenate(s,ec(g,0)),c=e.concatenate(c,ec(g,1)),l||(l=g===be?Pc(be,!1):rc(g,0)),u=u||rc(g,1)}}Ma(n,o,s,c,l,u)}function Qo(e,n,t,r,a,i,o,s){var c=new y(ce,s);return c.declaration=e,c.typeParameters=n,c.parameters=r,c.thisParameter=t,c.resolvedReturnType=a,c.resolvedTypePredicate=i,c.minArgumentCount=o,c.target=void 0,c.mapper=void 0,c.unionSignatures=void 0,c}function Zo(e){var n=Qo(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,19&e.flags);return n.target=e.target,n.mapper=e.mapper,n.unionSignatures=e.unionSignatures,n}function $o(e,n){var t=Zo(e);return t.unionSignatures=n,t.target=void 0,t.mapper=void 0,t}function es(n,t){if((12&n.flags)===t)return n;n.optionalCallSignatureCache||(n.optionalCallSignatureCache={});var r=4===t?"inner":"outer";return n.optionalCallSignatureCache[r]||(n.optionalCallSignatureCache[r]=function(n,t){e.Debug.assert(4===t||8===t,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");var r=Zo(n);return r.flags|=t,r}(n,t))}function ns(n,t){if(G(n)){var r=n.parameters.length-1,a=to(n.parameters[r]);if(Gp(a))return[i(a,r)];if(!t&&1048576&a.flags&&e.every(a.types,Gp))return e.map(a.types,(function(e){return i(e,r)}))}return[n.parameters];function i(t,r){var a=Hc(t),i=t.target.labeledElementDeclarations,o=e.map(a,(function(e,a){var o=!!i&&zy(i[a])||Jy(n,r+a,t),s=t.target.elementFlags[a],c=ur(1,o,12&s?32768:2&s?16384:0);return c.type=4&s?vl(e):e,c}));return e.concatenate(n.parameters.slice(0,r),o)}}function ts(e,n,t,r,a){for(var i=0,o=e;i<o.length;i++){var s=o[i];if(bp(s,n,t,r,a,t?xd:Sd))return s}}function rs(n,t,r){if(t.typeParameters){if(r>0)return;for(var a=1;a<n.length;a++)if(!ts(n[a],t,!1,!1,!1))return;return[t]}var i;for(a=0;a<n.length;a++){var o=a===r?t:ts(n[a],t,!0,!1,!0);if(!o)return;i=e.appendIfUnique(i,o)}return i}function as(n){for(var t,r,a=0;a<n.length;a++){if(0===n[a].length)return e.emptyArray;n[a].length>1&&(r=void 0===r?a:-1);for(var i=0,o=n[a];i<o.length;i++){var s=o[i];if(!t||!ts(t,s,!1,!1,!0)){var c=rs(n,s,a);if(c){var l=s;if(c.length>1){var u=s.thisParameter,d=e.forEach(c,(function(e){return e.thisParameter}));if(d)u=af(d,Kl(e.mapDefined(c,(function(e){return e.thisParameter&&to(e.thisParameter)}))));(l=$o(s,c)).thisParameter=u}(t||(t=[])).push(l)}}}}if(!e.length(t)&&-1!==r){for(var p=n[void 0!==r?r:0],f=p.slice(),m=function(n){if(n!==p){var t=n[0];if(e.Debug.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(f=t.typeParameters&&e.some(f,(function(e){return!!e.typeParameters}))?void 0:e.map(f,(function(n){return function(n,t){var r=n.declaration,a=function(e,n){for(var t=eh(e),r=eh(n),a=t>=r?e:n,i=a===e?n:e,o=a===e?t:r,s=th(e)||th(n),c=s&&!th(a),l=new Array(o+(c?1:0)),u=0;u<o;u++){var d=Zy(a,u),p=Zy(i,u)||xe,f=Kl([d,p]),m=s&&!c&&u===o-1,_=u>=nh(a)&&u>=nh(i),g=u>=t?void 0:Jy(e,u),y=u>=r?void 0:Jy(n,u),h=ur(1|(_&&!m?16777216:0),(g===y?g:g?y?void 0:g:y)||"arg"+u);h.type=m?vl(f):f,l[u]=h}if(c){var v=ur(1,"args");v.type=vl(Qy(i,o)),l[o]=v}return l}(n,t),i=function(e,n){if(!e||!n)return e||n;var t=Kl([to(e),to(n)]);return af(e,t)}(n.thisParameter,t.thisParameter),o=Math.max(n.minArgumentCount,t.minArgumentCount),s=Qo(r,n.typeParameters||t.typeParameters,i,a,void 0,void 0,o,19&(n.flags|t.flags));return s.unionSignatures=e.concatenate(n.unionSignatures||[n],[t]),s}(n,t)}))))return"break"}},_=0,g=n;_<g.length;_++){if("break"===m(g[_]))break}t=f}return t||e.emptyArray}function is(e,n){for(var t=[],r=!1,a=0,i=e;a<i.length;a++){var o=rc(js(i[a]),n);if(!o)return;t.push(o.type),r=r||o.isReadonly}return Pc(wl(t,2),r)}function os(e,n){return e?n?Kl([e,n]):e:n}function ss(e,n){return e?n?Pc(Kl([e.type,n.type]),e.isReadonly&&n.isReadonly):e:n}function cs(e,n){return e&&n&&Pc(wl([e.type,n.type]),e.isReadonly||n.isReadonly)}function ls(n){var t=e.countWhere(n,(function(e){return ec(e,1).length>0})),r=e.map(n,uo);if(t>0&&t===e.countWhere(r,(function(e){return e}))){var a=r.indexOf(!0);r[a]=!1}return r}function us(n){for(var t,r,a,i,o=n.types,s=ls(o),c=e.countWhere(s,(function(e){return e})),l=function(l){var u=n.types[l];if(!s[l]){var d=ec(u,1);d.length&&c>0&&(d=e.map(d,(function(e){var n=Zo(e);return n.resolvedReturnType=function(e,n,t,r){for(var a=[],i=0;i<n.length;i++)i===r?a.push(e):t[i]&&a.push(Ec(ec(n[i],1)[0]));return Kl(a)}(Ec(e),o,s,l),n}))),r=ds(r,d)}t=ds(t,ec(u,0)),a=ss(a,rc(u,0)),i=ss(i,rc(u,1))},u=0;u<o.length;u++)l(u);Ma(n,U,t||e.emptyArray,r||e.emptyArray,a,i)}function ds(n,t){for(var r=function(t){n&&!e.every(n,(function(e){return!bp(e,t,!1,!1,!1,Sd)}))||(n=e.append(n,t))},a=0,i=t;a<i.length;a++){r(i[a])}return n}function ps(n){var t=ha(n.symbol);if(n.target)Ma(n,U,e.emptyArray,e.emptyArray,void 0,void 0),Ma(n,i=Mo(xs(n.target),n.mapper,!1),r=Wu(ec(n.target,0),n.mapper),a=Wu(ec(n.target,1),n.mapper),o=gd(rc(n.target,0),n.mapper),l=gd(rc(n.target,1),n.mapper));else if(2048&t.flags){Ma(n,U,e.emptyArray,e.emptyArray,void 0,void 0);var r=hc((i=zo(t)).get("__call")),a=hc(i.get("__new"));Ma(n,i,r,a,o=Mc(t,0),l=Mc(t,1))}else{var i=U,o=void 0;if(t.exports&&(i=ma(t),t===ae)){var s=new e.Map;i.forEach((function(e){418&e.flags||s.set(e.escapedName,e)})),i=s}if(Ma(n,i,e.emptyArray,e.emptyArray,void 0,void 0),32&t.flags){var c=go(Eo(t));11272192&c.flags?wo(i=e.createSymbolTable(Pa(i)),Cs(c)):c===be&&(o=Pc(be,!1))}var l=384&t.flags&&(32&Io(t).flags||e.some(n.properties,(function(e){return!!(296&to(e).flags)})))?lt:void 0;if(Ma(n,i,e.emptyArray,e.emptyArray,o,l),8208&t.flags&&(n.callSignatures=hc(t)),32&t.flags){var u=Eo(t);a=t.members?hc(t.members.get("__constructor")):e.emptyArray;16&t.flags&&(a=e.addRange(a.slice(),e.mapDefined(n.callSignatures,(function(e){return Oy(e.declaration)?Qo(e.declaration,e.typeParameters,e.thisParameter,e.parameters,u,void 0,e.minArgumentCount,19&e.flags):void 0})))),a.length||(a=function(n){var t=ec(go(n),1);if(0===t.length)return[Qo(void 0,n.localTypeParameters,void 0,e.emptyArray,n,void 0,0,0)];for(var r=fo(n),a=e.isInJSFile(r),i=il(r),o=e.length(i),s=[],c=0,l=t;c<l.length;c++){var u=l[c],d=fc(u.typeParameters),p=e.length(u.typeParameters);if(a||o>=d&&o<=p){var f=p?Dc(u,mc(i,u.typeParameters,d,a)):Zo(u);f.typeParameters=n.localTypeParameters,f.resolvedReturnType=n,s.push(f)}}return s}(u)),n.constructSignatures=a}}}function fs(n){if(131069&n.flags)return n;if(4194304&n.flags){var t=js(n.type);return Bp(t)?Il(t):Xl(t)}if(16777216&n.flags){if(n.root.isDistributive){var r=n.checkType,a=fs(r);if(a!==r)return dd(n,ed(n.root.checkType,a,n.mapper))}return n}return 1048576&n.flags?wl(e.sameMap(n.types,fs)):2097152&n.flags?Kl(e.sameMap(n.types,fs)):Ve}function ms(e){return e.typeParameter||(e.typeParameter=Co(va(e.declaration.typeParameter)))}function _s(e){return e.constraintType||(e.constraintType=Ns(ms(e))||Se)}function gs(e){return e.templateType||(e.templateType=e.declaration.type?pd(Di(Vu(e.declaration.type),!!(4&bs(e))),e.mapper):Se)}function ys(n){return e.getEffectiveConstraintOfTypeParameter(n.declaration.typeParameter)}function hs(e){var n=ys(e);return 187===n.kind&&137===n.operator}function vs(e){if(!e.modifiersType)if(hs(e))e.modifiersType=pd(Vu(ys(e).type),e.mapper);else{var n=_s(fu(e.declaration)),t=n&&262144&n.flags?Ns(n):n;e.modifiersType=t&&4194304&t.flags?pd(t.type,e.mapper):xe}return e.modifiersType}function bs(e){var n=e.declaration;return(n.readonlyToken?40===n.readonlyToken.kind?2:1:0)|(n.questionToken?40===n.questionToken.kind?8:4:0)}function Es(e){var n=bs(e);return 8&n?-1:4&n?1:0}function Ts(e){var n=Es(e),t=vs(e);return n||(Ss(t)?Es(t):0)}function Ss(n){return!!(32&e.getObjectFlags(n))&&ru(_s(n))}function Ls(n){return n.members||(524288&n.flags?4&n.objectFlags?function(n){var t=Go(n.target),r=e.concatenate(t.typeParameters,[t.thisType]),a=Hc(n);Yo(n,t,r,a.length===r.length?a:e.concatenate(a,[n]))}(n):3&n.objectFlags?function(n){Yo(n,Go(n),e.emptyArray,e.emptyArray)}(n):2048&n.objectFlags?function(n){for(var t=rc(n.source,0),r=bs(n.mappedType),a=!(1&r),i=4&r?0:16777216,o=t&&Pc(Cf(t.type,n.mappedType,n.constraintType),a&&t.isReadonly),s=e.createSymbolTable(),c=0,l=Cs(n.source);c<l.length;c++){var u=l[c],d=8192|(a&&Sh(u)?8:0),p=ur(4|u.flags&i,u.escapedName,d);p.declarations=u.declarations,p.nameType=vr(u).nameType,p.propertyType=to(u),p.mappedType=n.mappedType,p.constraintType=n.constraintType,s.set(u.escapedName,p)}Ma(n,s,e.emptyArray,e.emptyArray,o,void 0)}(n):16&n.objectFlags?ps(n):32&n.objectFlags&&function(n){var t,r,a=e.createSymbolTable();Ma(n,U,e.emptyArray,e.emptyArray,void 0,void 0);var i=ms(n),o=_s(n),s=gs(n.target||n),c=js(vs(n)),l=bs(n),u=Z?128:8576;if(hs(n)){for(var d=0,p=Cs(c);d<p.length;d++){f(ql(p[d],u))}(1&c.flags||rc(c,0))&&f(Re),!Z&&rc(c,1)&&f(ke)}else vm(fs(o),f);function f(e){var o=nd(n.mapper,i,e);if(Bo(e)){var u=Ho(e),d=a.get(u);if(d)d.nameType=wl([d.nameType,e]),d.mapper=nd(n.mapper,i,d.nameType);else{var p=Zs(c,u),f=!!(4&l||!(8&l)&&p&&16777216&p.flags),m=ur(4|(f?16777216:0),u,262144|(!!(1&l||!(2&l)&&p&&Sh(p))?8:0)|(q&&!f&&p&&16777216&p.flags?524288:0));m.mappedType=n,p&&(m.syntheticOrigin=p,m.declarations=p.declarations),m.nameType=e,m.mapper=o,a.set(u,m)}}else if(45&e.flags){var _=pd(s,o);5&e.flags?t=Pc(_,!!(1&l)):r=Pc(r?wl([r.type,_]):_,!!(1&l))}}Ma(n,a,e.emptyArray,e.emptyArray,t,r)}(n):1048576&n.flags?function(n){var t=as(e.map(n.types,(function(e){return e===_n?[ot]:ec(e,0)}))),r=as(e.map(n.types,(function(e){return ec(e,1)}))),a=is(n.types,0),i=is(n.types,1);Ma(n,U,t,r,a,i)}(n):2097152&n.flags&&us(n)),n}function xs(n){return 524288&n.flags?Ls(n).properties:e.emptyArray}function As(e,n){if(524288&e.flags){var t=Ls(e).members.get(n);if(t&&Aa(t))return t}}function Ds(n){if(!n.resolvedProperties){for(var t=e.createSymbolTable(),r=0,a=n.types;r<a.length;r++){for(var i=a[r],o=0,s=Cs(i);o<s.length;o++){var c=s[o];if(!t.has(c.escapedName)){var l=qs(n,c.escapedName);l&&t.set(c.escapedName,l)}}if(1048576&n.flags&&!rc(i,0)&&!rc(i,1))break}n.resolvedProperties=Pa(t)}return n.resolvedProperties}function Cs(e){return 3145728&(e=Ks(e)).flags?Ds(e):xs(e)}function Is(e){return 262144&e.flags?Ns(e):8388608&e.flags?function(e){return Fs(e)?function(e){var n=Rs(e.indexType);if(n&&n!==e.indexType){var t=du(e.objectType,n);if(t)return t}var r=Rs(e.objectType);if(r&&r!==e.objectType)return du(r,e.indexType);return}(e):void 0}(e):16777216&e.flags?function(e){return Fs(e)?Ps(e):void 0}(e):Ms(e)}function Ns(e){return Fs(e)?Fc(e):void 0}function Rs(e){var n=iu(e,!1);return n!==e?n:Is(e)}function ks(e){if(!e.resolvedDefaultConstraint){var n=function(e){return e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?pd(e.root.trueType,e.combinedMapper):gu(e))}(e),t=yu(e);e.resolvedDefaultConstraint=hi(n)?t:hi(t)?n:wl([n,t])}return e.resolvedDefaultConstraint}function Os(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var n=iu(e.checkType,!1),t=n===e.checkType?Is(n):n;if(t&&t!==e.checkType){var r=dd(e,ed(e.root.checkType,t,e.mapper));if(!(131072&r.flags))return r}}}function Ps(e){return Os(e)||ks(e)}function Ms(e){if(62128128&e.flags){var n=Gs(e);return n!==an&&n!==on?n:void 0}return 4194304&e.flags?Je:void 0}function ws(e){return Ms(e)||e}function Fs(e){return Gs(e)!==on}function Gs(n){var t=!1;return n.resolvedBaseConstraint||(n.resolvedBaseConstraint=Xo(r(n),n));function r(n){if(!n.immediateBaseConstraint){if(!pi(n,4))return on;if(A>=50)return or(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),t=!0,n.immediateBaseConstraint=an;A++;var r=function(e){if(262144&e.flags){var n=Fc(e);return e.isThisType||!n?n:a(n)}if(3145728&e.flags){for(var t=e.types,r=[],i=0,o=t;i<o.length;i++){var s=a(o[i]);s&&r.push(s)}return 1048576&e.flags&&r.length===t.length?wl(r):2097152&e.flags&&r.length?Kl(r):void 0}if(4194304&e.flags)return Je;if(8388608&e.flags){var c=a(e.objectType),l=a(e.indexType),u=c&&l&&du(c,l);return u&&a(u)}if(16777216&e.flags){n=Ps(e);A++;var d=n&&a(n);return A--,d}if(33554432&e.flags)return a(e.substitute);return e}(iu(n,!1));if(A--,!_i()){if(262144&n.flags){var i=wc(n);if(i){var o=or(i,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,$a(n));!d||e.isNodeDescendantOf(i,d)||e.isNodeDescendantOf(d,i)||e.addRelatedInfo(o,e.createDiagnosticForNode(d,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}r=on}t&&(r=on),n.immediateBaseConstraint=r||an}return n.immediateBaseConstraint}function a(e){var n=r(e);return n!==an&&n!==on?n:void 0}}function Bs(n){if(n.default)n.default===sn&&(n.default=on);else if(n.target){var t=Bs(n.target);n.default=t?pd(t,n.mapper):an}else{n.default=sn;var r=n.symbol&&e.forEach(n.symbol.declarations,(function(n){return e.isTypeParameterDeclaration(n)&&n.default})),a=r?Vu(r):an;n.default===sn&&(n.default=a)}return n.default}function Us(e){var n=Bs(e);return n!==an&&n!==on?n:void 0}function Vs(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){var n=od(e);if(n){var t=Ns(n);if(t&&(Tp(t)||Gp(t)))return pd(e,ed(n,t,e.mapper))}return e}(e))}function js(n){var t,r=63176704&n.flags?Ms(n)||xe:n;return 32&e.getObjectFlags(r)?Vs(r):2097152&r.flags?function(e){return e.resolvedApparentType||(e.resolvedApparentType=Xo(e,e,!0))}(r):132&r.flags?bn:296&r.flags?En:2112&r.flags?(t=K>=7,Yn||(Yn=ul("BigInt",0,t))||Ze):528&r.flags?Tn:12288&r.flags?pl(K>=2):67108864&r.flags?Ze:4194304&r.flags?Je:2&r.flags&&!q?Ze:r}function Ks(e){return zs(js(zs(e)))}function Hs(n,t){for(var r,a,i,o=1048576&n.flags,s=o?0:16777216,c=4,l=0,u=0,d=n.types;u<d.length;u++){if(!((L=js(d[u]))===Se||131072&L.flags)){var p=(S=Zs(L,t))?e.getDeclarationModifierFlagsFromSymbol(S):0;if(S){if(o?s|=16777216&S.flags:s&=S.flags,r){if(S!==r){a||(a=new e.Map).set(k(r),r);var f=k(S);a.has(f)||a.set(f,S)}}else r=S;l|=(Sh(S)?8:0)|(24&p?0:256)|(16&p?512:0)|(8&p?1024:0)|(32&p?2048:0),fg(S)||(c=2)}else if(o){var m=!Vo(t)&&(U_(t)&&rc(L,1)||rc(L,0));m?(l|=32|(m.isReadonly?8:0),i=e.append(i,Gp(L)?Vp(L)||Ae:m.type)):Ff(L)?(l|=32,i=e.append(i,Ae)):l|=16}}}if(r&&!(o&&(a||48&l)&&1536&l)){if(!(a||16&l||i))return r;for(var _,g,y,h,v=[],b=!1,E=0,T=a?e.arrayFrom(a.values()):[r];E<T.length;E++){var S=T[E];h?S.valueDeclaration&&S.valueDeclaration!==h&&(b=!0):h=S.valueDeclaration,_=e.addRange(_,S.declarations);var L=to(S);g?L!==g&&(l|=64):(g=L,y=vr(S).nameType),kp(L)&&(l|=128),131072&L.flags&&(l|=131072),v.push(L)}e.addRange(v,i);var x=ur(4|s,t,c|l);return x.containingType=n,!b&&h&&(x.valueDeclaration=h,h.symbol.parent&&(x.parent=h.symbol.parent)),x.declarations=_,x.nameType=y,v.length>2?(x.checkFlags|=65536,x.deferralParent=n,x.deferralConstituents=v):x.type=o?wl(v):Kl(v),x}}function Ws(n,t){var r=n.propertyCache||(n.propertyCache=e.createSymbolTable()),a=r.get(t);return a||(a=Hs(n,t))&&r.set(t,a),a}function qs(n,t){var r=Ws(n,t);return!r||16&e.getCheckFlags(r)?void 0:r}function zs(n){return 1048576&n.flags&&268435456&n.objectFlags?n.resolvedReducedType||(n.resolvedReducedType=function(n){var t=e.sameMap(n.types,zs);if(t===n.types)return n;var r=wl(t);1048576&r.flags&&(r.resolvedReducedType=r);return r}(n)):2097152&n.flags?(268435456&n.objectFlags||(n.objectFlags|=268435456|(e.some(Ds(n),Js)?536870912:0)),536870912&n.objectFlags?Ve:n):n}function Js(e){return Xs(e)||Ys(e)}function Xs(n){return!(16777216&n.flags||192!=(131264&e.getCheckFlags(n))||!(131072&to(n).flags))}function Ys(n){return!n.valueDeclaration&&!!(1024&e.getCheckFlags(n))}function Qs(n,t){if(536870912&e.getObjectFlags(t)){var r=e.find(Ds(t),Xs);if(r)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,$a(t,void 0,536870912),Qa(r));var a=e.find(Ds(t),Ys);if(a)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,$a(t,void 0,536870912),Qa(a))}return n}function Zs(e,n){if(524288&(e=Ks(e)).flags){var t=Ls(e),r=t.members.get(n);if(r&&Aa(r))return r;var a=t===rn?_n:t.callSignatures.length?gn:t.constructSignatures.length?yn:void 0;if(a){var i=As(a,n);if(i)return i}return As(mn,n)}if(3145728&e.flags)return qs(e,n)}function $s(n,t){if(3670016&n.flags){var r=Ls(n);return 0===t?r.callSignatures:r.constructSignatures}return e.emptyArray}function ec(e,n){return $s(Ks(e),n)}function nc(e,n){if(3670016&e.flags){var t=Ls(e);return 0===n?t.stringIndexInfo:t.numberIndexInfo}}function tc(e,n){var t=nc(e,n);return t&&t.type}function rc(e,n){return nc(Ks(e),n)}function ac(e,n){return tc(Ks(e),n)}function ic(n,t){if(rf(n)){for(var r=[],a=0,i=Cs(n);a<i.length;a++){var o=i[a];(0===t||U_(o.escapedName))&&r.push(to(o))}if(0===t&&e.append(r,ac(n,1)),r.length)return wl(r)}}function oc(n){for(var t,r=0,a=e.getEffectiveTypeParameterDeclarations(n);r<a.length;r++){var i=a[r];t=e.appendIfUnique(t,Co(i.symbol))}return t}function sc(e){var n=[];return e.forEach((function(e,t){Oa(t)||n.push(e)})),n}function cc(n){return e.isInJSFile(n)&&(n.type&&303===n.type.kind||e.getJSDocParameterTags(n).some((function(e){var n=e.isBracketed,t=e.typeExpression;return n||!!t&&303===t.type.kind})))}function lc(n,t){if(!e.isExternalModuleNameRelative(n)){var r=Tr(te,'"'+n+'"',512);return r&&t?ha(r):r}}function uc(n){if(e.hasQuestionToken(n)||dc(n)||cc(n))return!0;if(n.initializer){var t=_c(n.parent),r=n.parent.parameters.indexOf(n);return e.Debug.assert(r>=0),r>=nh(t,!0)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return!!a&&(!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length)}function dc(n){if(!e.isJSDocPropertyLikeTag(n))return!1;var t=n.isBracketed,r=n.typeExpression;return t||!!r&&303===r.type.kind}function pc(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function fc(n){var t,r=0;if(n)for(var a=0;a<n.length;a++)(t=n[a]).symbol&&e.forEach(t.symbol.declarations,(function(n){return e.isTypeParameterDeclaration(n)&&n.default}))||(r=a+1);return r}function mc(n,t,r,a){var i=e.length(t);if(!i)return[];var o=e.length(n);if(a||o>=r&&o<=i){for(var s=n?n.slice():[],c=o;c<i;c++)s[c]=Se;var l=jf(a);for(c=o;c<i;c++){var u=Us(t[c]);a&&u&&(Td(u,xe)||Td(u,Ze))&&(u=be),s[c]=u?pd(u,qu(t,s)):l}return s.length=t.length,s}return n&&n.slice()}function _c(n){var t,r=br(n);if(!r.resolvedSignature){var a=[],i=0,o=0,s=void 0,c=!1,l=e.getImmediatelyInvokedFunctionExpression(n),u=e.isJSDocConstructSignature(n);!l&&e.isInJSFile(n)&&e.isValueSignatureDeclaration(n)&&!e.hasJSDocParameterTags(n)&&!e.getJSDocType(n)&&(i|=16);for(var d=u?1:0;d<n.parameters.length;d++){var p=n.parameters[d],f=p.symbol,m=e.isJSDocParameterTag(p)?p.typeExpression&&p.typeExpression.type:p.type;if(f&&4&f.flags&&!e.isBindingPattern(p.name))f=xr(p,f.escapedName,111551,void 0,void 0,!1);0===d&&"this"===f.escapedName?(c=!0,s=p.symbol):a.push(f),m&&190===m.kind&&(i|=2),dc(p)||p.initializer||p.questionToken||p.dotDotDotToken||l&&a.length>l.arguments.length&&!m||cc(p)||(o=a.length)}if(!(166!==n.kind&&167!==n.kind||Ko(n)||c&&s)){var _=166===n.kind?167:166,g=e.getDeclarationOfKind(va(n),_);g&&(s=(t=UT(g))&&t.symbol)}var y=165===n.kind?Eo(ha(n.parent.symbol)):void 0,h=y?y.localTypeParameters:oc(n);(e.hasRestParameter(n)||e.isInJSFile(n)&&function(n,t){if(e.isJSDocSignature(n)||!yc(n))return!1;var r=e.lastOrUndefined(n.parameters),a=r?e.getJSDocParameterTags(r):e.getJSDocTags(n).filter(e.isJSDocParameterTag),i=e.firstDefined(a,(function(n){return n.typeExpression&&e.isJSDocVariadicType(n.typeExpression.type)?n.typeExpression.type:void 0})),o=ur(3,"args",32768);o.type=i?vl(Vu(i.type)):xn,i&&t.pop();return t.push(o),!0}(n,a))&&(i|=1),r.resolvedSignature=Qo(n,h,s,a,void 0,void 0,o,i)}return r.resolvedSignature}function gc(n){if(e.isInJSFile(n)&&e.isFunctionLikeDeclaration(n)){var t=e.getJSDocTypeTag(n),r=t&&t.typeExpression&&ey(Vu(t.typeExpression));return r&&Cc(r)}}function yc(n){var t=br(n);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function n(t){if(!t)return!1;switch(t.kind){case 78:return"arguments"===t.escapedText&&e.isExpressionNode(t);case 162:case 164:case 166:case 167:return 157===t.name.kind&&n(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&!!e.forEachChild(t,n)}}(n.body)),t.containsArgumentsReference}function hc(n){if(!n)return e.emptyArray;for(var t=[],r=0;r<n.declarations.length;r++){var a=n.declarations[r];if(e.isFunctionLike(a)){if(r>0&&a.body){var i=n.declarations[r-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)continue}t.push(_c(a))}}return t}function vc(e){if(e.thisParameter)return to(e.thisParameter)}function bc(n){if(!n.resolvedTypePredicate){if(n.target){var t=bc(n.target);n.resolvedTypePredicate=t?(o=t,s=n.mapper,pc(o.kind,o.parameterName,o.parameterIndex,pd(o.type,s))):at}else if(n.unionSignatures)n.resolvedTypePredicate=function(e){for(var n,t=[],r=0,a=e;r<a.length;r++){var i=bc(a[r]);if(i&&2!==i.kind&&3!==i.kind){if(n){if(!Fl(n,i))return}else n=i;t.push(i.type)}}if(!n)return;var o=wl(t);return pc(n.kind,n.parameterName,n.parameterIndex,o)}(n.unionSignatures)||at;else{var r=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration),a=void 0;if(!r&&e.isInJSFile(n.declaration)){var i=gc(n.declaration);i&&n!==i&&(a=bc(i))}n.resolvedTypePredicate=r&&e.isTypePredicateNode(r)?function(n,t){var r=n.parameterName,a=n.type&&Vu(n.type);return 186===r.kind?pc(n.assertsModifier?2:0,void 0,void 0,a):pc(n.assertsModifier?3:1,r.escapedText,e.findIndex(t.parameters,(function(e){return e.escapedName===r.escapedText})),a)}(r,n):a||at}e.Debug.assert(!!n.resolvedTypePredicate)}var o,s;return n.resolvedTypePredicate===at?void 0:n.resolvedTypePredicate}function Ec(n){if(!n.resolvedReturnType){if(!pi(n,3))return Se;var t=n.target?pd(Ec(n.target),n.mapper):n.unionSignatures?wl(e.map(n.unionSignatures,Ec),2):Tc(n.declaration)||(e.nodeIsMissing(n.declaration.body)?be:ph(n.declaration));if(4&n.flags?t=Zp(t):8&n.flags&&(t=Yp(t)),!_i()){if(n.declaration){var r=e.getEffectiveReturnTypeNode(n.declaration);if(r)or(r,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Y){var a=n.declaration,i=e.getNameOfDeclaration(a);i?or(i,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(i)):or(a,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}t=be}n.resolvedReturnType=t}return n.resolvedReturnType}function Tc(n){if(165===n.kind)return Eo(ha(n.parent.symbol));if(e.isJSDocConstructSignature(n))return Vu(n.parameters[0].type);var t,r=e.getEffectiveReturnTypeNode(n);if(r)return Vu(r);if(166===n.kind&&!Ko(n)){var a=e.isInJSFile(n)&&xi(n);if(a)return a;var i=Ji(e.getDeclarationOfKind(va(n),167));if(i)return i}return(t=gc(n))&&Ec(t)}function Sc(e){return!e.resolvedReturnType&&fi(e,3)>=0}function Lc(e){if(G(e)){var n=to(e.parameters[e.parameters.length-1]),t=Gp(n)?Vp(n):n;return t&&ac(t,1)}}function xc(e,n,t,r){var a=Ac(e,mc(n,e.typeParameters,fc(e.typeParameters),t));if(r){var i=ny(Ec(a));if(i){var o=Zo(i);o.typeParameters=r;var s=Zo(a);return s.resolvedReturnType=Rc(o),s}}return a}function Ac(n,t){var r=n.instantiations||(n.instantiations=new e.Map),a=Bc(t),i=r.get(a);return i||r.set(a,i=Dc(n,t)),i}function Dc(e,n){return rd(e,function(e,n){return qu(e.typeParameters,n)}(e,n),!0)}function Cc(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return rd(e,Qu(e.typeParameters),!0)}(e)):e}function Ic(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=function(n){return xc(n,e.map(n.typeParameters,(function(e){return e.target&&!Ns(e.target)?e.target:e})),e.isInJSFile(n.declaration))}(n)):n}function Nc(n){var t=n.typeParameters;if(t){var r=Qu(t);return rd(n,qu(t,e.map(t,(function(e){return pd(Ms(e),r)||xe}))),!0)}return n}function Rc(n){if(!n.isolatedSignatureType){var t=n.declaration?n.declaration.kind:0,r=165===t||169===t||174===t,a=Ra(16);a.members=U,a.properties=e.emptyArray,a.callSignatures=r?e.emptyArray:[n],a.constructSignatures=r?[n]:e.emptyArray,n.isolatedSignatureType=a}return n.isolatedSignatureType}function kc(e){return e.members.get("__index")}function Oc(n,t){var r=1===t?143:146,a=kc(n);if(a)for(var i=0,o=a.declarations;i<o.length;i++){var s=o[i],c=e.cast(s,e.isIndexSignatureDeclaration);if(1===c.parameters.length){var l=c.parameters[0];if(l.type&&l.type.kind===r)return c}}}function Pc(e,n,t){return{type:e,isReadonly:n,declaration:t}}function Mc(n,t){var r=Oc(n,t);if(r)return Pc(r.type?Vu(r.type):be,e.hasEffectiveModifier(r,64),r)}function wc(n){return e.mapDefined(e.filter(n.symbol&&n.symbol.declarations,e.isTypeParameterDeclaration),e.getEffectiveConstraintOfTypeParameter)[0]}function Fc(n){if(!n.constraint)if(n.target){var t=Ns(n.target);n.constraint=t?pd(t,n.mapper):an}else{var r=wc(n);if(r){var a=Vu(r);1&a.flags&&a!==Se&&(a=189===r.parent.parent.kind?Je:xe),n.constraint=a}else n.constraint=function(n){var t;if(n.symbol)for(var r=0,a=n.symbol.declarations;r<a.length;r++){var i=a[r];if(184===i.parent.kind){var o=i.parent.parent;if(172===o.kind){var s=o,c=hv(s);if(c){var l=s.typeArguments.indexOf(i.parent);if(l<c.length){var u=Ns(c[l]);if(u){var d=pd(u,qu(c,gv(s,c)));d!==n&&(t=e.append(t,d))}}}}else(159===o.kind&&o.dotDotDotToken||180===o.kind||191===o.kind&&o.dotDotDotToken)&&(t=e.append(t,vl(xe)))}}return t&&Kl(t)}(n)||an}return n.constraint===an?void 0:n.constraint}function Gc(n){var t=e.getDeclarationOfKind(n.symbol,158),r=e.isJSDocTemplateTag(t.parent)?e.getHostSignatureFromJSDoc(t.parent):t.parent;return r&&va(r)}function Bc(e){var n="";if(e)for(var t=e.length,r=0;r<t;){for(var a=e[r].id,i=1;r+i<t&&e[r+i].id===a+i;)i++;n.length&&(n+=","),n+=a,i>1&&(n+=":"+i),r+=i}return n}function Uc(n,t){for(var r=0,a=0,i=n;a<i.length;a++){var o=i[a];o.flags&t||(r|=e.getObjectFlags(o))}return 3670016&r}function Vc(e,n){var t=Bc(n),r=e.instantiations.get(t);return r||(r=Ra(4,e.symbol),e.instantiations.set(t,r),r.objectFlags|=n?Uc(n,0):0,r.target=e,r.resolvedTypeArguments=n),r}function jc(e){var n=Ca(e.flags);return n.symbol=e.symbol,n.objectFlags=e.objectFlags,n.target=e.target,n.resolvedTypeArguments=e.resolvedTypeArguments,n}function Kc(e,n,t){var r=Tu(n),a=Su(r),i=Ra(4,e.symbol);return i.target=e,i.node=n,i.mapper=t,i.aliasSymbol=r,i.aliasTypeArguments=t?Hu(a,t):a,i}function Hc(n){var t,r;if(!n.resolvedTypeArguments){if(!pi(n,6))return(null===(t=n.target.localTypeParameters)||void 0===t?void 0:t.map((function(){return Se})))||e.emptyArray;var a=n.node,i=a?172===a.kind?e.concatenate(n.target.outerTypeParameters,gv(a,n.target.localTypeParameters)):177===a.kind?[Vu(a.elementType)]:e.map(a.elements,Vu):e.emptyArray;_i()?n.resolvedTypeArguments=n.mapper?Hu(i,n.mapper):i:(n.resolvedTypeArguments=(null===(r=n.target.localTypeParameters)||void 0===r?void 0:r.map((function(){return Se})))||e.emptyArray,or(n.node||d,n.target.symbol?e.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:e.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,n.target.symbol&&Qa(n.target.symbol)))}return n.resolvedTypeArguments}function Wc(n){return e.length(n.target.typeParameters)}function qc(n,t){var r=Io(ha(t)),a=r.localTypeParameters;if(a){var i=e.length(n.typeArguments),o=fc(a),s=e.isInJSFile(n);if(!(!Y&&s)&&(i<o||i>a.length)){var c=s&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent);if(or(n,o===a.length?c?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:c?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,$a(r,void 0,2),o,a.length),!s)return Se}return 172===n.kind&&Sl(n,e.length(n.typeArguments)!==a.length)?Kc(r,n,void 0):Vc(r,e.concatenate(r.outerTypeParameters,mc(il(n),a,o,s)))}return tl(n,t)?r:Se}function zc(n,t){var r=Io(n),a=vr(n),i=a.typeParameters,o=Bc(t),s=a.instantiations.get(o);return s||a.instantiations.set(o,s=pd(r,qu(i,mc(t,i,fc(i),e.isInJSFile(n.valueDeclaration))))),s}function Jc(n){switch(n.kind){case 172:return n.typeName;case 220:var t=n.expression;if(e.isEntityNameExpression(t))return t}}function Xc(e,n,t){return e&&ra(e,n,t)||he}function Yc(n,t){if(t===he)return Se;if(96&(t=function(n){var t=n.valueDeclaration;if(t&&e.isInJSFile(t)&&!(524288&n.flags)&&!e.getExpandoInitializer(t,!1)){var r=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);if(r){var a=va(r);if(a)return Py(a,n)}}}(t)||t).flags)return qc(n,t);if(524288&t.flags)return function(n,t){var r=Io(t),a=vr(t).typeParameters;if(a){var i=e.length(n.typeArguments),o=fc(a);return i<o||i>a.length?(or(n,o===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Qa(t),o,a.length),Se):zc(t,il(n))}return tl(n,t)?r:Se}(n,t);var r=No(t);if(r)return tl(n,t)?Pu(r):Se;if(111551&t.flags&&nl(n)){var a=function(n,t){var r=br(n);if(!r.resolvedJSDocType){var a=to(t),i=a;if(t.valueDeclaration){var o=e.getRootDeclaration(t.valueDeclaration),s=!1;if(e.isVariableDeclaration(o)&&o.initializer){for(var c=o.initializer;e.isPropertyAccessExpression(c);)c=c.expression;s=e.isCallExpression(c)&&e.isRequireCall(c,!0)&&!!a.symbol}var l=192===n.kind&&n.qualifier;a.symbol&&(s||l)&&(i=Yc(n,a.symbol))}r.resolvedJSDocType=i}return r.resolvedJSDocType}(n,t);return a||(Xc(Jc(n),788968),to(t))}return Se}function Qc(e,n){if(3&n.flags||n===e)return e;var t=Nl(e)+">"+Nl(n),r=_e.get(t);if(r)return r;var a=Ca(33554432);return a.baseType=e,a.substitute=n,_e.set(t,a),a}function Zc(e){return 178===e.kind&&1===e.elements.length}function $c(e,n,t){return Zc(n)&&Zc(t)?$c(e,n.elements[0],t.elements[0]):mu(Vu(n))===e?Vu(t):void 0}function el(n,t){for(var r;t&&!e.isStatement(t)&&307!==t.kind;){var a=t.parent;if(183===a.kind&&t===a.trueType){var i=$c(n,a.checkType,a.extendsType);i&&(r=e.append(r,i))}t=a}return r?Qc(n,Kl(e.append(r,n))):n}function nl(e){return!!(4194304&e.flags)&&(172===e.kind||192===e.kind)}function tl(n,t){return!n.typeArguments||(or(n,e.Diagnostics.Type_0_is_not_generic,t?Qa(t):n.typeName?e.declarationNameToString(n.typeName):c),!1)}function rl(n){if(e.isIdentifier(n.typeName)){var t=n.typeArguments;switch(n.typeName.escapedText){case"String":return tl(n),Re;case"Number":return tl(n),ke;case"Boolean":return tl(n),Ge;case"Void":return tl(n),Ue;case"Undefined":return tl(n),Ae;case"Null":return tl(n),Ie;case"Function":case"function":return tl(n),_n;case"array":return t&&t.length||Y?void 0:xn;case"promise":return t&&t.length||Y?void 0:lh(be);case"Object":if(t&&2===t.length){if(e.isJSDocIndexSignature(n)){var r=Vu(t[0]),a=Pc(Vu(t[1]),!1);return wa(void 0,U,e.emptyArray,e.emptyArray,r===Re?a:void 0,r===ke?a:void 0)}return be}return tl(n),Y?void 0:be}}}function al(n){var t=br(n);if(!t.resolvedType){if(e.isConstTypeReference(n)&&e.isAssertionExpression(n.parent))return t.resolvedSymbol=he,t.resolvedType=Vh(n.parent.expression);var r=void 0,a=void 0;nl(n)&&((a=rl(n))||((r=Xc(Jc(n),788968,!0))===he?r=Xc(Jc(n),900095):Xc(Jc(n),788968),a=Yc(n,r))),a||(a=Yc(n,r=Xc(Jc(n),788968))),t.resolvedSymbol=r,t.resolvedType=a}return t.resolvedType}function il(n){return e.map(n.typeArguments,Vu)}function ol(e){var n=br(e);return n.resolvedType||(n.resolvedType=Pu(df(iv(e.exprName)))),n.resolvedType}function sl(n,t){function r(e){for(var n=0,t=e.declarations;n<t.length;n++){var r=t[n];switch(r.kind){case 249:case 250:case 252:return r}}}if(!n)return t?tn:Ze;var a=Io(n);return 524288&a.flags?e.length(a.typeParameters)!==t?(or(r(n),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(n),t),t?tn:Ze):a:(or(r(n),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,e.symbolName(n)),t?tn:Ze)}function cl(n,t){return ll(n,111551,t?e.Diagnostics.Cannot_find_global_value_0:void 0)}function ll(e,n,t){return xr(void 0,e,n,t,e,!1)}function ul(n,t,r){var a=function(n,t){return ll(n,788968,t?e.Diagnostics.Cannot_find_global_type_0:void 0)}(n,r);return a||r?sl(a,t):void 0}function dl(e){return In||(In=cl("Symbol",e))}function pl(e){return Nn||(Nn=ul("Symbol",0,e))||Ze}function fl(e){return kn||(kn=ul("Promise",1,e))||tn}function ml(e){return Pn||(Pn=cl("Promise",e))}function _l(e){return wn||(wn=ul("Iterable",1,e))||tn}function gl(e,n){void 0===n&&(n=0);var t=ll(e,788968,void 0);return t&&sl(t,n)}function yl(e,n){return e!==tn?Vc(e,n):Ze}function hl(e){return yl(Rn||(Rn=ul("TypedPropertyDescriptor",1,!0))||tn,[e])}function vl(e,n){return yl(n?vn:hn,[e])}function bl(e){switch(e.kind){case 179:return 2;case 180:return El(e);case 191:return e.questionToken?2:e.dotDotDotToken?El(e):1;default:return 1}}function El(e){return Uu(e.type)?4:8}function Tl(n){var t=function(n){return e.isTypeOperatorNode(n)&&141===n.operator}(n.parent);return Uu(n)?t?vn:hn:Al(e.map(n.elements,bl),t,e.some(n.elements,(function(e){return 191!==e.kind}))?void 0:n.elements)}function Sl(n,t){return!!Tu(n)||function e(n){var t=n.parent;switch(t.kind){case 185:case 191:case 172:case 181:case 182:case 188:case 183:case 187:case 177:case 178:return e(t);case 251:return!0}return!1}(n)&&(177===n.kind?Ll(n.elementType):178===n.kind?e.some(n.elements,Ll):t||e.some(n.typeArguments,Ll))}function Ll(n){switch(n.kind){case 172:return nl(n)||!!(524288&Xc(n.typeName,788968).flags);case 175:return!0;case 187:return 150!==n.operator&&Ll(n.type);case 185:case 179:case 191:case 303:case 301:case 302:case 298:return Ll(n.type);case 180:return 177!==n.type.kind||Ll(n.type.elementType);case 181:case 182:return e.some(n.types,Ll);case 188:return Ll(n.objectType)||Ll(n.indexType);case 183:return Ll(n.checkType)||Ll(n.extendsType)||Ll(n.trueType)||Ll(n.falseType)}return!1}function xl(n,t,r,a){void 0===r&&(r=!1);var i=Al(t||e.map(n,(function(e){return 1})),r,a);return i===tn?Ze:n.length?Dl(i,n):i}function Al(n,t,r){if(1===n.length&&4&n[0])return t?vn:hn;var a=e.map(n,(function(e){return 1&e?"#":2&e?"?":4&e?".":"*"})).join()+(t?"R":"")+(r&&r.length?","+e.map(r,R).join(","):""),i=ue.get(a);return i||ue.set(a,i=function(n,t,r){var a,i=n.length,o=e.findLastIndex(n,(function(e){return!!(9&e)}))+1,s=[],c=0;if(i){a=new Array(i);for(var l=0;l<i;l++){var u=a[l]=ka(),d=n[l];if(!(12&(c|=d))){var p=ur(4|(2&d?16777216:0),""+l,t?8:0);p.tupleLabelDeclaration=null==r?void 0:r[l],p.type=u,s.push(p)}}}var f=s.length,m=ur(4,"length");if(12&c)m.type=ke;else{var _=[];for(l=o;l<=i;l++)_.push(wu(l));m.type=wl(_)}s.push(m);var g=Ra(12);return g.typeParameters=a,g.outerTypeParameters=void 0,g.localTypeParameters=a,g.instantiations=new e.Map,g.instantiations.set(Bc(g.typeParameters),g),g.target=g,g.resolvedTypeArguments=g.typeParameters,g.thisType=ka(),g.thisType.isThisType=!0,g.thisType.constraint=g,g.declaredProperties=s,g.declaredCallSignatures=e.emptyArray,g.declaredConstructSignatures=e.emptyArray,g.declaredStringIndexInfo=void 0,g.declaredNumberIndexInfo=void 0,g.elementFlags=n,g.minLength=o,g.fixedLength=f,g.hasRestElement=!!(12&c),g.combinedFlags=c,g.readonly=t,g.labeledElementDeclarations=r,g}(n,t,r)),i}function Dl(n,t){return 8&n.objectFlags&&8&n.combinedFlags?function n(t,r){var a,i,o,s=e.findIndex(r,(function(e,n){return!!(8&t.elementFlags[n]&&1179648&e.flags)}));if(s>=0)return Sm(r[s],(function(a){return n(t,e.replaceElement(r,s,a))}));if(e.findIndex(r,(function(e,n){return!(!(8&t.elementFlags[n])||58982400&e.flags||Ss(e))}))<0)return Vc(t,r);for(var c,l=[],u=[],d=[],p=-1,f=function(n){var s=r[n],c=t.elementFlags[n];8&c?58982400&s.flags||Ss(s)?g(s,8,null===(a=t.labeledElementDeclarations)||void 0===a?void 0:a[n]):Gp(s)?e.forEach(Hc(s),(function(e,n){var t;return g(e,s.target.elementFlags[n],null===(t=s.target.labeledElementDeclarations)||void 0===t?void 0:t[n])})):g(Ap(s)&&ac(s,1)||Se,4,null===(i=t.labeledElementDeclarations)||void 0===i?void 0:i[n]):g(s,c,null===(o=t.labeledElementDeclarations)||void 0===o?void 0:o[n])},m=0;m<r.length;m++)f(m);c&&(l[l.length-1]=wl(c));var _=Al(u,t.readonly,d);return _===tn?Ze:u.length?Vc(_,l):_;function g(e,n,t){if(c)c.push(8&n?lu(e,ke):e);else{if(1&n&&p>=0){for(var r=p;r<u.length;r++)2&u[r]&&(u[r]=1);p=-1}else 2&n&&p<0?p=u.length:4&n&&(c=[e]);l.push(e),u.push(n),d&&t?d.push(t):d=void 0}}}(n,t):Vc(n,t)}function Cl(n,t,r){void 0===r&&(r=0);var a=n.target,i=Wc(n)-r;return t>a.fixedLength?function(e){var n=Vp(e);return n&&vl(n)}(n)||xl(e.emptyArray):xl(Hc(n).slice(t,i),a.elementFlags.slice(t,i),!1,a.labeledElementDeclarations&&a.labeledElementDeclarations.slice(t,i))}function Il(n){return wl(e.append(e.arrayOf(n.target.fixedLength,(function(e){return wu(""+e)})),Xl(n.target.readonly?vn:hn)))}function Nl(e){return e.id}function Rl(n,t){return e.binarySearch(n,t,Nl,e.compareValues)>=0}function kl(n,t){var r=e.binarySearch(n,t,Nl,e.compareValues);return r<0&&(n.splice(~r,0,t),!0)}function Ol(n,t,r){var a=r.flags;if(1048576&a)return Pl(n,t,r.types);if(!(131072&a))if(t|=71041023&a,66846720&a&&(t|=262144),r===Te&&(t|=8388608),!q&&98304&a)524288&e.getObjectFlags(r)||(t|=4194304);else{var i=n.length,o=i&&r.id>n[i-1].id?~i:e.binarySearch(n,r,Nl,e.compareValues);o<0&&n.splice(~o,0,r)}return t}function Pl(e,n,t){for(var r=0,a=t;r<a.length;r++){n=Ol(e,n,a[r])}return n}function Ml(n,t){var r=n.length;if(0===r||function(e){var n=e[0];if(1024&n.flags){for(var t=ba(n.symbol),r=1;r<e.length;r++){var a=e[r];if(!(1024&a.flags)||t!==ba(a.symbol))return!1}return!0}return!1}(n))return!0;for(var a=r,i=0;a>0;)for(var o=n[--a],s=0,c=n;s<c.length;s++){var l=c[s];if(o!==l){if(1e5===i)if(i/(r-a)*r>(t?25e6:1e6))return or(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1;if(i++,Qd(o,l,Zt)&&(!(1&e.getObjectFlags(ao(o)))||!(1&e.getObjectFlags(ao(l)))||Cd(o,l))){e.orderedRemoveItemAt(n,a);break}}}return!0}function wl(n,t,r,a){if(void 0===t&&(t=1),0===n.length)return Ve;if(1===n.length)return n[0];var i=[],o=Pl(i,0,n);if(0!==t){if(3&o)return 1&o?8388608&o?Te:be:xe;switch(t){case 1:11136&o&&function(n,t){for(var r=n.length;r>0;){var a=n[--r];(128&a.flags&&4&t||256&a.flags&&8&t||2048&a.flags&&64&t||8192&a.flags&&4096&t||Mu(a)&&Rl(n,a.regularType))&&e.orderedRemoveItemAt(n,r)}}(i,o);break;case 2:if(!Ml(i,!(262144&o)))return Se}if(0===i.length)return 65536&o?4194304&o?Ie:Ne:32768&o?4194304&o?Ae:De:Ve}return Gl(i,(66994211&o?0:262144)|(2097152&o?268435456:0),r,a)}function Fl(e,n){return e.kind===n.kind&&e.parameterIndex===n.parameterIndex}function Gl(e,n,t,r){if(0===e.length)return Ve;if(1===e.length)return e[0];var a=Bc(e),i=de.get(a);return i||(i=Ca(1048576),de.set(a,i),i.objectFlags=n|Uc(e,98304),i.types=e,i.aliasSymbol=t,i.aliasTypeArguments=r),i}function Bl(e,n,t){var r=t.flags;return 2097152&r?Ul(e,n,t.types):(zd(t)?16777216&n||(n|=16777216,e.set(t.id.toString(),t)):(3&r?t===Te&&(n|=8388608):!q&&98304&r||e.has(t.id.toString())||(109440&t.flags&&109440&n&&(n|=67108864),e.set(t.id.toString(),t)),n|=71041023&r),n)}function Ul(e,n,t){for(var r=0,a=t;r<a.length;r++){n=Bl(e,n,Pu(a[r]))}return n}function Vl(e,n){for(var t=0,r=e;t<r.length;t++){var a=r[t];if(!Rl(a.types,n)){var i=128&n.flags?Re:256&n.flags?ke:2048&n.flags?Oe:8192&n.flags?Be:void 0;if(!i||!Rl(a.types,i))return!1}}return!0}function jl(n,t){if(e.every(n,(function(n){return!!(1048576&n.flags)&&e.some(n.types,(function(e){return!!(e.flags&t)}))}))){for(var r=0;r<n.length;r++)n[r]=Em(n[r],(function(e){return!(e.flags&t)}));return!0}return!1}function Kl(n,t,r){var a=new e.Map,i=Ul(a,0,n),o=e.arrayFrom(a.values());if(131072&i||q&&98304&i&&84410368&i||67108864&i&&130044&i||132&i&&67238776&i||296&i&&67238612&i||2112&i&&67236796&i||12288&i&&67226620&i||49152&i&&67189756&i)return Ve;if(1&i)return 8388608&i?Te:be;if(!q&&98304&i)return 32768&i?Ae:Ie;if((4&i&&128&i||8&i&&256&i||64&i&&2048&i||4096&i&&8192&i)&&function(n,t){for(var r=n.length;r>0;){var a=n[--r];(4&a.flags&&128&t||8&a.flags&&256&t||64&a.flags&&2048&t||4096&a.flags&&8192&t)&&e.orderedRemoveItemAt(n,r)}}(o,i),16777216&i&&524288&i&&e.orderedRemoveItemAt(o,e.findIndex(o,zd)),0===o.length)return xe;if(1===o.length)return o[0];var s=Bc(o),c=pe.get(s);if(!c){if(1048576&i)if(function(n){var t,r=e.findIndex(n,(function(n){return!!(262144&e.getObjectFlags(n))}));if(r<0)return!1;for(var a=r+1;a<n.length;){var i=n[a];262144&e.getObjectFlags(i)?((t||(t=[n[r]])).push(i),e.orderedRemoveItemAt(n,a)):a++}if(!t)return!1;for(var o=[],s=[],c=0,l=t;c<l.length;c++)for(var u=0,d=l[c].types;u<d.length;u++){kl(o,i=d[u])&&Vl(t,i)&&kl(s,i)}return n[r]=Gl(s,262144),!0}(o))c=Kl(o,t,r);else if(jl(o,32768))c=wl([Kl(o),Ae],1,t,r);else if(jl(o,65536))c=wl([Kl(o),Ie],1,t,r);else{if(e.reduceLeft(o,(function(e,n){return e*(1048576&n.flags?n.types.length:1)}),1)>=1e5)return or(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),Se;var l=e.findIndex(o,(function(e){return 0!=(1048576&e.flags)})),u=o[l];c=wl(e.map(u.types,(function(n){return Kl(e.replaceElement(o,l,n))})),1,t,r)}else c=function(e,n,t){var r=Ca(2097152);return r.objectFlags=Uc(e,98304),r.types=e,r.aliasSymbol=n,r.aliasTypeArguments=t,r}(o,t,r);pe.set(s,c)}return c}function Hl(e,n){var t=Ca(4194304);return t.type=e,t.stringsOnly=n,t}function Wl(n){return e.isPrivateIdentifier(n)?Ve:e.isIdentifier(n)?wu(e.unescapeLeadingUnderscores(n.escapedText)):Pu(e.isComputedPropertyName(n)?V_(n):iv(n))}function ql(n,t){if(!(24&e.getDeclarationModifierFlagsFromSymbol(n))){var r=vr(Jo(n)).nameType;if(!r&&!e.isKnownSymbol(n))if("default"===n.escapedName)r=wu("default");else{var a=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);r=a&&Wl(a)||wu(e.symbolName(n))}if(r&&r.flags&t)return r}return Ve}function zl(n,t){return wl(e.map(Cs(n),(function(e){return ql(e,t)})))}function Jl(e){var n=rc(e,1);return n!==lt?n:void 0}function Xl(n,t,r){return void 0===t&&(t=Z),1048576&(n=zs(n)).flags?Kl(e.map(n.types,(function(e){return Xl(e,t,r)}))):2097152&n.flags?wl(e.map(n.types,(function(e){return Xl(e,t,r)}))):58982400&n.flags||Bp(n)?function(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=Hl(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=Hl(e,!1))}(n,t):32&e.getObjectFlags(n)?Em(_s(n),(function(e){return!(r&&5&e.flags)})):n===Te?Te:2&n.flags?Ve:131073&n.flags?Je:t?!r&&rc(n,0)?Re:zl(n,128):!r&&rc(n,0)?wl([Re,ke,zl(n,8192)]):Jl(n)?wl([ke,zl(n,8320)]):zl(n,8576)}function Yl(n){if(Z)return n;var t=Jn||(Jn=ll("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return t?zc(t,[n,Re]):Re}function Ql(n){return!Y&&(!!(16384&e.getObjectFlags(n))||(1048576&n.flags?e.every(n.types,Ql):2097152&n.flags?e.some(n.types,Ql):!!(63176704&n.flags)&&Ql(Gs(n))))}function Zl(n,t){var r=t&&199===t.kind?t:void 0;return Bo(n)?Ho(n):r&&Wg(r.argumentExpression,n,!1)?e.getPropertyNameForKnownSymbolName(e.idText(r.argumentExpression.name)):t&&e.isPropertyName(t)?e.getPropertyNameForPropertyNameNode(t):void 0}function $l(n,t){return!(8208&t.flags)||!e.isCallLikeExpression(e.findAncestor(n,(function(n){return!e.isAccessExpression(n)}))||n.parent)&&e.every(t.declarations,(function(n){return!e.isFunctionLike(n)||!!(134217728&e.getCombinedNodeFlags(n))}))}function eu(n,t,r,a,i,o,s,c){var l,u,d=o&&199===o.kind?o:void 0,p=o&&e.isPrivateIdentifier(o)?void 0:Zl(r,o);if(void 0!==p){var f=Zs(t,p);if(f){if(c&&o&&134217728&(null===(l=f.valueDeclaration)||void 0===l?void 0:l.flags)&&$l(o,f))cr(!1,null!==(u=null==d?void 0:d.argumentExpression)&&void 0!==u?u:e.isIndexedAccessTypeNode(o)?o.indexType:o,e.Diagnostics._0_is_deprecated,p);if(d){if(Ug(f,d,107===d.expression.kind),Lh(d,f,e.getAssignmentTargetKind(d)))return void or(d.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Qa(f));if(4&s&&(br(o).resolvedSymbol=f),Ig(d,f))return Ee}var m=to(f);return d&&1!==e.getAssignmentTargetKind(d)?jm(d,m):m}if(bm(t,Gp)&&U_(p)&&+p>=0){if(o&&bm(t,(function(e){return!e.target.hasRestElement}))&&!(8&s)){var _=nu(o);Gp(t)?or(_,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,$a(t),Wc(t),e.unescapeLeadingUnderscores(p)):or(_,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(p),$a(t))}return T(rc(t,1)),Sm(t,(function(e){return Vp(e)||Ae}))}}if(!(98304&r.flags)&&Ih(r,12716)){if(131073&t.flags)return t;var g=rc(t,0),y=Ih(r,296)&&rc(t,1)||g;if(y)return 1&s&&y===g?void(d&&or(d,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,$a(r),$a(n))):o&&!Ih(r,12)?(or(_=nu(o),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,$a(r)),y.type):(T(y),y.type);if(131072&r.flags)return Ve;if(Ql(t))return be;if(d&&!Rh(t)){if(t.symbol===ae&&void 0!==p&&ae.exports.has(p)&&418&ae.exports.get(p).flags)or(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(p),$a(t));else if(Y&&!j.suppressImplicitAnyIndexErrors&&!i)if(void 0!==p&&Og(p,t))or(d,e.Diagnostics.Property_0_is_a_static_member_of_type_1,p,$a(t));else if(ac(t,1))or(d.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var h=void 0;if(void 0!==p&&(h=wg(p,t)))void 0!==h&&or(d.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,p,$a(t),h);else{var v=function(n,t,r){var a=e.isAssignmentTarget(t)?"set":"get";if(!function(e){var t=As(n,e);if(t){var a=ey(to(t));return!!a&&nh(a)>=1&&Dd(r,Qy(a,0))}return!1}(a))return;var i=e.tryGetPropertyAccessOrIdentifierToString(t.expression);void 0===i?i=a:i+="."+a;return i}(t,d,r);if(void 0!==v)or(d,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,$a(t),v);else{var b=void 0;if(1024&r.flags)b=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+$a(r)+"]",$a(t));else if(8192&r.flags){var E=ta(r.symbol,d);b=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+E+"]",$a(t))}else 128&r.flags||256&r.flags?b=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,$a(t)):12&r.flags&&(b=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,$a(r),$a(t)));b=e.chainDiagnosticMessages(b,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,$a(a),$a(t)),zt.add(e.createDiagnosticForNodeFromMessageChain(d,b))}}}return}}if(Ql(t))return be;if(o){_=nu(o);384&r.flags?or(_,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,$a(t)):12&r.flags?or(_,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,$a(t),$a(r)):or(_,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,$a(r))}return hi(r)?r:void 0;function T(n){n&&n.isReadonly&&d&&(e.isAssignmentTarget(d)||e.isDeleteTarget(d))&&or(d,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,$a(t))}}function nu(e){return 199===e.kind?e.argumentExpression:188===e.kind?e.indexType:157===e.kind?e.expression:e}function tu(n){return 3145728&n.flags?(4194304&n.objectFlags||(n.objectFlags|=4194304|(e.some(n.types,tu)?8388608:0)),!!(8388608&n.objectFlags)):!!(58982400&n.flags)||Ss(n)||Bp(n)}function ru(n){return 3145728&n.flags?(16777216&n.objectFlags||(n.objectFlags|=16777216|(e.some(n.types,ru)?33554432:0)),!!(33554432&n.objectFlags)):!!(63176704&n.flags)}function au(e){return!!(262144&e.flags&&e.isThisType)}function iu(n,t){return 8388608&n.flags?function(n,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(n[r])return n[r]===on?n:n[r];n[r]=on;var a=function(e){if(33554432&e.flags)return e.substitute;return e}(iu(n.objectType,t)),i=iu(n.indexType,t),o=function(n,t,r){if(1048576&t.flags){var a=e.map(t.types,(function(e){return iu(lu(n,e),r)}));return r?Kl(a):wl(a)}}(a,i,t);if(o)return n[r]=o;if(!(63176704&i.flags)){var s=ou(a,i,t);if(s)return n[r]=s}if(Bp(a)&&296&i.flags){var c=Kp(a,8&i.flags?0:a.target.fixedLength,0,t);if(c)return n[r]=c}if(Ss(a))return n[r]=Sm(cu(a,n.indexType),(function(e){return iu(e,t)}));return n[r]=n}(n,t):16777216&n.flags?function(e,n){var t=e.checkType,r=e.extendsType,a=gu(e),i=yu(e);if(131072&i.flags&&mu(a)===mu(t)){if(1&t.flags||Dd(_d(t),_d(r)))return iu(a,n);if(su(t,r))return Ve}else if(131072&a.flags&&mu(i)===mu(t)){if(!(1&t.flags)&&Dd(_d(t),_d(r)))return Ve;if(1&t.flags||su(t,r))return iu(i,n)}return e}(n,t):n}function ou(n,t,r){if(3145728&n.flags){var a=e.map(n.types,(function(e){return iu(lu(e,t),r)}));return 2097152&n.flags||r?Kl(a):wl(a)}}function su(e,n){return!!(131072&wl([os(e,n),Ve]).flags)}function cu(e,n){var t=qu([ms(e)],[n]),r=Zu(e.mapper,t);return pd(gs(e),r)}function lu(e,n,t,r,a){return du(e,n,t,0,r,a)||(t?Se:xe)}function uu(e,n){return bm(e,(function(e){if(384&e.flags){var t=Ho(e);if(U_(t)){var r=+t;return r>=0&&r<n}}return!1}))}function du(e,n,t,r,a,i){if(void 0===r&&(r=0),e===Te||n===Te)return Te;if(!Jd(e)||98304&n.flags||!Ih(n,12)||(n=Re),ru(n)||(t&&188!==t.kind?Bp(e)&&!uu(n,e.target.fixedLength):tu(e)&&(!Gp(e)||!uu(n,e.target.fixedLength)))){if(3&e.flags)return e;var o=e.id+","+n.id,s=me.get(o);return s||me.set(o,s=function(e,n,t,r){var a=Ca(8388608);return a.objectType=e,a.indexType=n,a.aliasSymbol=t,a.aliasTypeArguments=r,a}(e,n,a,i)),s}var c=Ks(e);if(1048576&n.flags&&!(16&n.flags)){for(var l=[],u=!1,d=0,p=n.types;d<p.length;d++){var f=eu(e,c,p[d],n,u,t,r);if(f)l.push(f);else{if(!t)return;u=!0}}if(u)return;return 2&r?Kl(l,a,i):wl(l,1,a,i)}return eu(e,c,n,n,!1,t,4|r,!0)}function pu(e){var n=br(e);if(!n.resolvedType){var t=Vu(e.objectType),r=Vu(e.indexType),a=Tu(e),i=lu(t,r,e,a,Su(a));n.resolvedType=8388608&i.flags&&i.objectType===t&&i.indexType===r?el(i,e):i}return n.resolvedType}function fu(e){var n=br(e);if(!n.resolvedType){var t=Ra(32,e.symbol);t.declaration=e,t.aliasSymbol=Tu(e),t.aliasTypeArguments=Su(t.aliasSymbol),n.resolvedType=t,_s(t)}return n.resolvedType}function mu(e){return 33554432&e.flags?e.baseType:8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?lu(mu(e.objectType),mu(e.indexType)):e}function _u(n,t){for(var r,a,i=function(){var i=pd(n.checkType,t),o=tu(i)||ru(i),s=pd(n.extendsType,t);if(i===Te||s===Te)return{value:Te};var c=void 0;if(n.inferTypeParameters){var l=yf(n.inferTypeParameters,void 0,0);o&&e.some(n.inferTypeParameters,(function(e){return e===s}))||Pf(l.inferences,i,s,768),c=$u(t,l.mapper)}var u=c?pd(n.extendsType,c):s;if(!o&&!tu(u)&&!ru(u)){if(!(3&u.flags)&&(1&i.flags||!Dd(md(i),md(u)))){1&i.flags&&(a||(a=[])).push(fd(n.trueType,c||t));var d=n.falseType;if(16777216&d.flags){var p=d.root;if(p.node.parent===n.node&&(!p.isDistributive||p.checkType===n.checkType))return n=p,"continue"}return r=fd(d,t),"break"}if(3&u.flags||Dd(_d(i),_d(u)))return r=fd(n.trueType,c||t),"break"}var f=mu(i);return(r=Ca(16777216)).root=n,r.checkType=f,r.extendsType=s,r.mapper=t,r.combinedMapper=c,r.aliasSymbol=n.aliasSymbol,r.aliasTypeArguments=Hu(n.aliasTypeArguments,t),"break"};;){var o=i();if("object"==typeof o)return o.value;if("break"===o)break}return a?wl(e.append(a,r)):r}function gu(e){return e.resolvedTrueType||(e.resolvedTrueType=pd(e.root.trueType,e.mapper))}function yu(e){return e.resolvedFalseType||(e.resolvedFalseType=pd(e.root.falseType,e.mapper))}function hu(n){var t;return n.locals&&n.locals.forEach((function(n){262144&n.flags&&(t=e.append(t,Io(n)))})),t}function vu(n){var t=br(n);if(!t.resolvedType){if(n.isTypeOf&&n.typeArguments)return or(n,e.Diagnostics.Type_arguments_cannot_be_used_here),t.resolvedSymbol=he,t.resolvedType=Se;if(!e.isLiteralImportTypeNode(n))return or(n.argument,e.Diagnostics.String_literal_expected),t.resolvedSymbol=he,t.resolvedType=Se;var r=n.isTypeOf?111551:4194304&n.flags?900095:788968,a=ia(n,n.argument.literal);if(!a)return t.resolvedSymbol=he,t.resolvedType=Se;var i=la(a,!1);if(e.nodeIsMissing(n.qualifier)){if(i.flags&r)t.resolvedType=bu(n,t,i,r);else or(n,111551===r?e.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0,n.argument.literal.text),t.resolvedSymbol=he,t.resolvedType=Se}else{for(var o=function n(t){return e.isIdentifier(t)?[t]:e.append(n(t.left),t.right)}(n.qualifier),s=i,c=void 0;c=o.shift();){var l=o.length?1920:r,u=Tr(ma(ha(Jr(s))),c.escapedText,l);if(!u)return or(c,e.Diagnostics.Namespace_0_has_no_exported_member_1,ta(s),e.declarationNameToString(c)),t.resolvedType=Se;br(c).resolvedSymbol=u,br(c.parent).resolvedSymbol=u,s=u}t.resolvedType=bu(n,t,s,r)}}return t.resolvedType}function bu(e,n,t,r){var a=Jr(t);return n.resolvedSymbol=a,111551===r?to(t):Yc(e,a)}function Eu(n){var t=br(n);if(!t.resolvedType){var r=Tu(n);if(0!==zo(n.symbol).size||r){var a=Ra(16,n.symbol);a.aliasSymbol=r,a.aliasTypeArguments=Su(r),e.isJSDocTypeLiteral(n)&&n.isArrayType&&(a=vl(a)),t.resolvedType=a}else t.resolvedType=nn}return t.resolvedType}function Tu(n){for(var t=n.parent;e.isParenthesizedTypeNode(t)||e.isTypeOperatorNode(t)&&141===t.operator;)t=t.parent;return e.isTypeAlias(t)?va(t):void 0}function Su(e){return e?lo(e):void 0}function Lu(e){return!!(524288&e.flags)&&!Ss(e)}function xu(e){return qd(e)||!!(71405564&e.flags)}function Au(n){return!!(524288&n.flags)&&!!(16&e.getObjectFlags(n))&&(1===e.length(Cs(n))||e.every(Cs(n),(function(e){return!!(16777216&e.flags)})))}function Du(n,t){if(2===n.types.length){var r=n.types[0],a=n.types[1];if(e.every(n.types,xu))return qd(r)?r:qd(a)?a:Ze;if(xu(r)&&Au(a))return i(a);if(xu(a)&&Au(r))return i(r)}function i(n){for(var r=e.createSymbolTable(),a=0,i=Cs(n);a<i.length;a++){var o=i[a];if(24&e.getDeclarationModifierFlagsFromSymbol(o));else if(Iu(o)){var s=65536&o.flags&&!(32768&o.flags),c=ur(16777220,o.escapedName,t?8:0);c.type=s?Ae:to(o),c.declarations=o.declarations,c.nameType=vr(o).nameType,c.syntheticOrigin=o,r.set(o.escapedName,c)}}var l=wa(n.symbol,r,e.emptyArray,e.emptyArray,rc(n,0),rc(n,1));return l.objectFlags|=1048704,l}}function Cu(n,t,r,a,i){if(1&n.flags||1&t.flags)return be;if(2&n.flags||2&t.flags)return xe;if(131072&n.flags)return t;if(131072&t.flags)return n;var o;if(1048576&n.flags)return(o=Du(n,i))?Cu(o,t,r,a,i):Sm(n,(function(e){return Cu(e,t,r,a,i)}));if(1048576&t.flags)return(o=Du(t,i))?Cu(n,o,r,a,i):Sm(t,(function(e){return Cu(n,e,r,a,i)}));if(71307260&t.flags)return n;if(tu(n)||tu(t)){if(qd(n))return t;if(2097152&n.flags){var s=n.types,c=s[s.length-1];if(Lu(c)&&Lu(t))return Kl(e.concatenate(s.slice(0,s.length-1),[Cu(c,t,r,a,i)]))}return Kl([n,t])}var l,u,d=e.createSymbolTable(),p=new e.Set;n===Ze?(l=rc(t,0),u=rc(t,1)):(l=cs(rc(n,0),rc(t,0)),u=cs(rc(n,1),rc(t,1)));for(var f=0,m=Cs(t);f<m.length;f++){var _=m[f];24&e.getDeclarationModifierFlagsFromSymbol(_)?p.add(_.escapedName):Iu(_)&&d.set(_.escapedName,Nu(_,i))}for(var g=0,y=Cs(n);g<y.length;g++){var h=y[g];if(!p.has(h.escapedName)&&Iu(h))if(d.has(h.escapedName)){var v=to(_=d.get(h.escapedName));if(16777216&_.flags){var b=e.concatenate(h.declarations,_.declarations),E=ur(4|16777216&h.flags,h.escapedName);E.type=wl([to(h),am(v,524288)]),E.leftSpread=h,E.rightSpread=_,E.declarations=b,E.nameType=vr(h).nameType,d.set(h.escapedName,E)}}else d.set(h.escapedName,Nu(h,i))}var T=wa(r,d,e.emptyArray,e.emptyArray,Ru(l,i),Ru(u,i));return T.objectFlags|=1049728|a,T}function Iu(n){return!(e.some(n.declarations,e.isPrivateIdentifierPropertyDeclaration)||106496&n.flags&&n.declarations.some((function(n){return e.isClassLike(n.parent)})))}function Nu(e,n){var t=65536&e.flags&&!(32768&e.flags);if(!t&&n===Sh(e))return e;var r=ur(4|16777216&e.flags,e.escapedName,n?8:0);return r.type=t?Ae:to(e),r.declarations=e.declarations,r.nameType=vr(e).nameType,r.syntheticOrigin=e,r}function Ru(e,n){return e&&e.isReadonly!==n?Pc(e.type,n,e.declaration):e}function ku(e,n,t){var r=Ca(e);return r.symbol=t,r.value=n,r}function Ou(e){if(2944&e.flags){if(!e.freshType){var n=ku(e.flags,e.value,e.symbol);n.regularType=e,n.freshType=n,e.freshType=n}return e.freshType}return e}function Pu(n){return 2944&n.flags?n.regularType:1048576&n.flags?n.regularType||(n.regularType=wl(e.sameMap(n.types,Pu))):n}function Mu(e){return!!(2944&e.flags)&&e.freshType===e}function wu(n,t,r){var a=(t||"")+("number"==typeof n?"#":"string"==typeof n?"@":"n")+("object"==typeof n?e.pseudoBigIntToString(n):n),i=fe.get(a);if(!i){var o=("number"==typeof n?256:"string"==typeof n?128:2048)|(t?1024:0);fe.set(a,i=ku(o,n,r)),i.regularType=i}return i}function Fu(n){if(e.isValidESSymbolDeclaration(n)){var t=va(n),r=vr(t);return r.uniqueESSymbolType||(r.uniqueESSymbolType=function(e){var n=Ca(8192);return n.symbol=e,n.escapedName="__@"+n.symbol.escapedName+"@"+k(n.symbol),n}(t))}return Be}function Gu(n){var t=br(n);return t.resolvedType||(t.resolvedType=function(n){var t=e.getThisContainer(n,!1),r=t&&t.parent;if(r&&(e.isClassLike(r)||250===r.kind)&&!e.hasSyntacticModifier(t,32)&&(!e.isConstructorDeclaration(t)||e.isNodeDescendantOf(n,t.body)))return Eo(va(r)).thisType;if(r&&e.isObjectLiteralExpression(r)&&e.isBinaryExpression(r.parent)&&6===e.getAssignmentDeclarationKind(r.parent))return Eo(va(r.parent.left).parent).thisType;var a=4194304&n.flags?e.getHostSignatureFromJSDoc(n):void 0;return a&&e.isFunctionExpression(a)&&e.isBinaryExpression(a.parent)&&3===e.getAssignmentDeclarationKind(a.parent)?Eo(va(a.parent.left).parent).thisType:Oy(t)&&e.isNodeDescendantOf(n,t.body)?Eo(va(t)).thisType:(or(n,e.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Se)}(n)),t.resolvedType}function Bu(e){return Vu(Uu(e.type)||e.type)}function Uu(e){switch(e.kind){case 185:return Uu(e.type);case 178:if(1===e.elements.length&&(180===(e=e.elements[0]).kind||191===e.kind&&e.dotDotDotToken))return Uu(e.type);break;case 177:return e.elementType}}function Vu(e){return el(ju(e),e)}function ju(n){switch(n.kind){case 128:case 299:case 300:return be;case 151:return xe;case 146:return Re;case 143:return ke;case 154:return Oe;case 131:return Ge;case 147:return Be;case 113:return Ue;case 149:return Ae;case 103:return Ie;case 140:return Ve;case 144:return 131072&n.flags&&!Y?be:qe;case 186:case 107:return Gu(n);case 190:return function(e){if(103===e.literal.kind)return Ie;var n=br(e);return n.resolvedType||(n.resolvedType=Pu(iv(e.literal))),n.resolvedType}(n);case 172:return al(n);case 171:return n.assertsModifier?Ue:Ge;case 220:return al(n);case 175:return ol(n);case 177:case 178:return function(n){var t=br(n);if(!t.resolvedType){var r=Tl(n);if(r===tn)t.resolvedType=Ze;else if(178===n.kind&&e.some(n.elements,(function(e){return!!(8&bl(e))}))||!Sl(n)){var a=177===n.kind?[Vu(n.elementType)]:e.map(n.elements,Vu);t.resolvedType=Dl(r,a)}else t.resolvedType=178===n.kind&&0===n.elements.length?r:Kc(r,n,void 0)}return t.resolvedType}(n);case 179:return function(e){var n=Vu(e.type);return q?Yp(n):n}(n);case 181:return function(n){var t=br(n);if(!t.resolvedType){var r=Tu(n);t.resolvedType=wl(e.map(n.types,Vu),1,r,Su(r))}return t.resolvedType}(n);case 182:return function(n){var t=br(n);if(!t.resolvedType){var r=Tu(n);t.resolvedType=Kl(e.map(n.types,Vu),r,Su(r))}return t.resolvedType}(n);case 301:return function(e){var n=Vu(e.type);return q?Xp(n,65536):n}(n);case 303:return Di(Vu(n.type));case 191:return function(e){var n=br(e);return n.resolvedType||(n.resolvedType=e.dotDotDotToken?Bu(e):e.questionToken&&q?Yp(Vu(e.type)):Vu(e.type))}(n);case 185:case 302:case 298:return Vu(n.type);case 180:return Bu(n);case 305:return function(n){var t=Vu(n.type),r=n.parent,a=n.parent.parent;if(e.isJSDocTypeExpression(n.parent)&&e.isJSDocParameterTag(a)){var i=e.getHostSignatureFromJSDoc(a);if(i){var o=e.lastOrUndefined(i.parameters),s=e.getParameterSymbolFromJSDoc(a);if(!o||s&&o.symbol===s&&e.isRestParameter(o))return vl(t)}}if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent))return vl(t);return Di(t)}(n);case 173:case 174:case 176:case 308:case 304:case 309:return Eu(n);case 187:return function(n){var t=br(n);if(!t.resolvedType)switch(n.operator){case 137:t.resolvedType=Xl(Vu(n.type));break;case 150:t.resolvedType=147===n.type.kind?Fu(e.walkUpParenthesizedTypes(n.parent)):Se;break;case 141:t.resolvedType=Vu(n.type);break;default:throw e.Debug.assertNever(n.operator)}return t.resolvedType}(n);case 188:return pu(n);case 189:return fu(n);case 183:return function(n){var t=br(n);if(!t.resolvedType){var r=Vu(n.checkType),a=Tu(n),i=Su(a),o=so(n,!0),s=i?o:e.filter(o,(function(e){return id(e,n)})),c={node:n,checkType:r,extendsType:Vu(n.extendsType),trueType:Vu(n.trueType),falseType:Vu(n.falseType),isDistributive:!!(262144&r.flags),inferTypeParameters:hu(n),outerTypeParameters:s,instantiations:void 0,aliasSymbol:a,aliasTypeArguments:i};t.resolvedType=_u(c,void 0),s&&(c.instantiations=new e.Map,c.instantiations.set(Bc(s),t.resolvedType))}return t.resolvedType}(n);case 184:return function(e){var n=br(e);return n.resolvedType||(n.resolvedType=Co(va(e.typeParameter))),n.resolvedType}(n);case 192:return vu(n);case 78:case 156:case 198:var t=ME(n);return t?Io(t):Se;default:return Se}}function Ku(e,n,t){if(e&&e.length)for(var r=0;r<e.length;r++){var a=e[r],i=t(a,n);if(a!==i){var o=0===r?[]:e.slice(0,r);for(o.push(i),r++;r<e.length;r++)o.push(t(e[r],n));return o}}return e}function Hu(e,n){return Ku(e,n,pd)}function Wu(e,n){return Ku(e,n,rd)}function qu(e,n){return 1===e.length?Ju(e[0],n?n[0]:be):function(e,n){return{kind:1,sources:e,targets:n}}(e,n)}function zu(e,n){switch(n.kind){case 0:return e===n.source?n.target:e;case 1:for(var t=n.sources,r=n.targets,a=0;a<t.length;a++)if(e===t[a])return r?r[a]:be;return e;case 2:return n.func(e);case 3:case 4:var i=zu(e,n.mapper1);return i!==e&&3===n.kind?pd(i,n.mapper2):zu(i,n.mapper2)}}function Ju(e,n){return{kind:0,source:e,target:n}}function Xu(e){return{kind:2,func:e}}function Yu(e,n,t){return{kind:e,mapper1:n,mapper2:t}}function Qu(e){return qu(e,void 0)}function Zu(e,n){return e?Yu(3,e,n):n}function $u(e,n){return e?Yu(4,e,n):n}function ed(e,n,t){return t?Yu(4,Ju(e,n),t):Ju(e,n)}function nd(e,n,t){return e?Yu(4,e,Ju(n,t)):Ju(n,t)}function td(e){var n=ka(e.symbol);return n.target=e,n}function rd(n,t,r){var a;if(n.typeParameters&&!r){a=e.map(n.typeParameters,td),t=Zu(qu(n.typeParameters,a),t);for(var i=0,o=a;i<o.length;i++){o[i].mapper=t}}var s=Qo(n.declaration,a,n.thisParameter&&ad(n.thisParameter,t),Ku(n.parameters,t,ad),void 0,void 0,n.minArgumentCount,19&n.flags);return s.target=n,s.mapper=t,s}function ad(n,t){var r=vr(n);if(r.type&&!Lf(r.type))return n;1&e.getCheckFlags(n)&&(n=r.target,t=Zu(r.mapper,t));var a=ur(n.flags,n.escapedName,1|53256&e.getCheckFlags(n));return a.declarations=n.declarations,a.parent=n.parent,a.target=n,a.mapper=t,n.valueDeclaration&&(a.valueDeclaration=n.valueDeclaration),r.nameType&&(a.nameType=r.nameType),a}function id(n,t){if(n.symbol&&n.symbol.declarations&&1===n.symbol.declarations.length){for(var r=n.symbol.declarations[0].parent,a=t;a!==r;a=a.parent)if(!a||227===a.kind||183===a.kind&&e.forEachChild(a.extendsType,i))return!0;return!!e.forEachChild(t,i)}return!0;function i(t){switch(t.kind){case 186:return!!n.isThisType;case 78:return!n.isThisType&&e.isPartOfTypeNode(t)&&function(e){return!(156===e.kind||172===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||192===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(t)&&ju(t)===n;case 175:return!0}return!!e.forEachChild(t,i)}}function od(e){var n=_s(e);if(4194304&n.flags){var t=mu(n.type);if(262144&t.flags)return t}}function sd(n,t){var r=od(n);if(r){var a=pd(r,t);if(r!==a)return Sm(zs(a),(function(a){if(61603843&a.flags&&a!==Te&&a!==Se){if(Bp(a))return function(n,t,r,a){var i=n.target.elementFlags,o=e.map(Hc(n),(function(e,n){var o=8&i[n]?e:4&i[n]?vl(e):xl([e],[i[n]]);return sd(t,ed(r,o,a))})),s=cd(n.target.readonly,bs(t));return xl(o,e.map(o,(function(e){return 8})),s)}(a,n,r,t);var i=ed(r,a,t);return Tp(a)?function(e,n,t){var r=ld(n,ke,!0,t);return r===Se?Se:vl(r,cd(Sp(e),bs(n)))}(a,n,i):Gp(a)?function(n,t,r){var a=n.target.elementFlags,i=e.map(Hc(n),(function(e,n){return ld(t,wu(""+n),!!(2&a[n]),r)})),o=bs(t),s=4&o?e.map(a,(function(e){return 1&e?2:e})):8&o?e.map(a,(function(e){return 2&e?1:e})):a,c=cd(n.target.readonly,o);return e.contains(i,Se)?Se:xl(i,s,c,n.target.labeledElementDeclarations)}(a,n,i):ud(n,i)}return a}))}return ud(n,t)}function cd(e,n){return!!(1&n)||!(2&n)&&e}function ld(e,n,t,r){var a=nd(r,ms(e),n),i=pd(gs(e.target||e),a),o=bs(e);return q&&4&o&&!Ch(i,49152)?Yp(i):q&&8&o&&t?am(i,524288):i}function ud(e,n){var t=Ra(64|e.objectFlags,e.symbol);if(32&e.objectFlags){t.declaration=e.declaration;var r=ms(e),a=td(r);t.typeParameter=a,n=Zu(Ju(r,a),n),a.mapper=n}return t.target=e,t.mapper=n,t.aliasSymbol=e.aliasSymbol,t.aliasTypeArguments=Hu(e.aliasTypeArguments,n),t}function dd(n,t){var r=n.root;if(r.outerTypeParameters){var a=e.map(r.outerTypeParameters,(function(e){return zu(e,t)})),i=Bc(a),o=r.instantiations.get(i);if(!o)o=function(e,n){if(e.isDistributive){var t=e.checkType,r=zu(t,n);if(t!==r&&1179648&r.flags)return Sm(r,(function(r){return _u(e,ed(t,r,n))}))}return _u(e,n)}(r,qu(r.outerTypeParameters,a)),r.instantiations.set(i,o);return o}return n}function pd(n,t){if(!(n&&t&&Lf(n)))return n;if(50===x||T>=5e6)return or(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),Se;E++,T++,x++;var r=function(n,t){var r=n.flags;if(262144&r)return zu(n,t);if(524288&r){var a=n.objectFlags;if(52&a){if(4&a&&!n.node){var i=n.resolvedTypeArguments,o=Hu(i,t);return o!==i?Dl(n.target,o):n}return function(n,t){var r=64&n.objectFlags?n.target:n,a=4&n.objectFlags?n.node:n.symbol.declarations[0],i=br(a),o=i.outerTypeParameters;if(!o){var s=so(a,!0);if(Oy(a)){var c=oc(a);s=e.addRange(s,c)}o=s||e.emptyArray,o=(4&r.objectFlags||2048&r.symbol.flags)&&!r.aliasTypeArguments?e.filter(o,(function(e){return id(e,a)})):o,i.outerTypeParameters=o,o.length&&(i.instantiations=new e.Map,i.instantiations.set(Bc(o),r))}if(o.length){var l=Zu(n.mapper,t),u=e.map(o,(function(e){return zu(e,l)})),d=Bc(u),p=i.instantiations.get(d);if(!p){var f=qu(o,u);p=4&r.objectFlags?Kc(n.target,n.node,f):32&r.objectFlags?sd(r,f):ud(r,f),i.instantiations.set(d,p)}return p}return n}(n,t)}return n}if(3145728&r){var s=n.types,c=Hu(s,t);return c===s?n:2097152&r?Kl(c,n.aliasSymbol,Hu(n.aliasTypeArguments,t)):wl(c,1,n.aliasSymbol,Hu(n.aliasTypeArguments,t))}if(4194304&r)return Xl(pd(n.type,t));if(8388608&r)return lu(pd(n.objectType,t),pd(n.indexType,t),void 0,n.aliasSymbol,Hu(n.aliasTypeArguments,t));if(16777216&r)return dd(n,Zu(n.mapper,t));if(33554432&r){var l=pd(n.baseType,t);if(8650752&l.flags)return Qc(l,pd(n.substitute,t));var u=pd(n.substitute,t);return 3&u.flags||Dd(_d(l),_d(u))?l:u}return n}(n,t);return x--,r}function fd(e,n){x--;var t=pd(e,n);return x++,t}function md(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=pd(e,Qe))}function _d(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=pd(e,Ye),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function gd(e,n){return e&&Pc(pd(e.type,n),e.isReadonly,e.declaration)}function yd(n){switch(e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n)),n.kind){case 205:case 206:case 164:case 248:return hd(n);case 197:return e.some(n.properties,yd);case 196:return e.some(n.elements,yd);case 214:return yd(n.whenTrue)||yd(n.whenFalse);case 213:return(56===n.operatorToken.kind||60===n.operatorToken.kind)&&(yd(n.left)||yd(n.right));case 285:return yd(n.initializer);case 204:return yd(n.expression);case 278:return e.some(n.properties,yd)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,yd);case 277:var t=n.initializer;return!!t&&yd(t);case 280:var r=n.expression;return!!r&&yd(r)}return!1}function hd(n){return(!e.isFunctionDeclaration(n)||e.isInJSFile(n)&&!!xi(n))&&(vd(n)||function(n){return!n.typeParameters&&!e.getEffectiveReturnTypeNode(n)&&!!n.body&&227!==n.body.kind&&yd(n.body)}(n))}function vd(n){if(!n.typeParameters){if(e.some(n.parameters,(function(n){return!e.getEffectiveTypeAnnotationNode(n)})))return!0;if(206!==n.kind){var t=e.firstOrUndefined(n.parameters);if(!t||!e.parameterIsThisKeyword(t))return!0}}return!1}function bd(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||k_(n)||e.isObjectLiteralMethod(n))&&hd(n)}function Ed(n){if(524288&n.flags){var t=Ls(n);if(t.constructSignatures.length||t.callSignatures.length){var r=Ra(16,n.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=e.emptyArray,r.constructSignatures=e.emptyArray,r}}else if(2097152&n.flags)return Kl(e.map(n.types,Ed));return n}function Td(e,n){return Qd(e,n,nr)}function Sd(e,n){return Qd(e,n,nr)?-1:0}function Ld(e,n){return Qd(e,n,$t)?-1:0}function xd(e,n){return Qd(e,n,Qt)?-1:0}function Ad(e,n){return Qd(e,n,Qt)}function Dd(e,n){return Qd(e,n,$t)}function Cd(n,t){return 1048576&n.flags?e.every(n.types,(function(e){return Cd(e,t)})):1048576&t.flags?e.some(t.types,(function(e){return Cd(n,e)})):58982400&n.flags?Cd(Ms(n)||xe,t):t===mn?!!(67633152&n.flags):t===_n?!!(524288&n.flags)&&tm(n):io(n,ao(t))}function Id(e,n){return Qd(e,n,er)}function Nd(e,n){return Id(e,n)||Id(n,e)}function Rd(e,n,t,r,a,i){return ep(e,n,$t,t,r,a,i)}function kd(e,n,t,r,a,i){return Od(e,n,$t,t,r,a,i,void 0)}function Od(e,n,t,r,a,i,o,s){return!!Qd(e,n,t)||(!r||!Md(a,e,n,t,i,o,s))&&ep(e,n,t,r,i,o,s)}function Pd(n){return!!(16777216&n.flags||2097152&n.flags&&e.some(n.types,Pd))}function Md(n,t,r,a,i,o,c){if(!n||Pd(r))return!1;if(!ep(t,r,a,void 0)&&function(n,t,r,a,i,o,s){for(var c=ec(t,0),l=ec(t,1),u=0,d=[l,c];u<d.length;u++){var p=d[u];if(e.some(p,(function(e){var n=Ec(e);return!(131073&n.flags)&&ep(n,r,a,void 0)}))){var f=s||{};Rd(t,r,n,i,o,f);var m=f.errors[f.errors.length-1];return e.addRelatedInfo(m,e.createDiagnosticForNode(n,p===l?e.Diagnostics.Did_you_mean_to_use_new_with_this_expression:e.Diagnostics.Did_you_mean_to_call_this_expression)),!0}}return!1}(n,t,r,a,i,o,c))return!0;switch(n.kind){case 280:case 204:return Md(n.expression,t,r,a,i,o,c);case 213:switch(n.operatorToken.kind){case 62:case 27:return Md(n.right,t,r,a,i,o,c)}break;case 197:return function(n,t,r,a,i,o){return!(131068&r.flags)&&Gd(function(n){var t,r,a,i;return l(this,(function(o){switch(o.label){case 0:if(!e.length(n.properties))return[2];t=0,r=n.properties,o.label=1;case 1:if(!(t<r.length))return[3,8];if(a=r[t],e.isSpreadAssignment(a))return[3,7];if(!(i=ql(va(a),8576))||131072&i.flags)return[3,7];switch(a.kind){case 167:case 166:case 164:case 286:return[3,2];case 285:return[3,4]}return[3,6];case 2:return[4,{errorNode:a.name,innerExpression:void 0,nameType:i}];case 3:return o.sent(),[3,7];case 4:return[4,{errorNode:a.name,innerExpression:a.initializer,nameType:i,errorMessage:e.isComputedNonLiteralName(a.name)?e.Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0}];case 5:return o.sent(),[3,7];case 6:e.Debug.assertNever(a),o.label=7;case 7:return t++,[3,1];case 8:return[2]}}))}(n),t,r,a,i,o)}(n,t,r,a,o,c);case 196:return function(e,n,t,r,a,i){if(131068&t.flags)return!1;if(Cp(n))return Gd(Vd(e,t),n,t,r,a,i);var o=e.contextualType;e.contextualType=t;try{var s=w_(e,1,!0);return e.contextualType=o,!!Cp(s)&&Gd(Vd(e,t),s,t,r,a,i)}finally{e.contextualType=o}}(n,t,r,a,o,c);case 278:return function(n,t,r,a,i,o){var c,u=Gd(function(n){var t,r,a;return l(this,(function(i){switch(i.label){case 0:if(!e.length(n.properties))return[2];t=0,r=n.properties,i.label=1;case 1:return t<r.length?(a=r[t],e.isJsxSpreadAttribute(a)?[3,3]:[4,{errorNode:a.name,innerExpression:a.initializer,nameType:wu(e.idText(a.name))}]):[3,4];case 2:i.sent(),i.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}(n),t,r,a,i,o);if(e.isJsxOpeningElement(n.parent)&&e.isJsxElement(n.parent.parent)){var d=n.parent.parent,p=tg(eg(n)),f=void 0===p?"children":e.unescapeLeadingUnderscores(p),m=wu(f),_=lu(r,m),g=Ud(d.children);if(!e.length(g))return u;var y=e.length(g)>1,h=Em(_,Ip),v=Em(_,(function(e){return!Ip(e)}));if(y){if(h!==Ve){var b=xl(X_(d,0)),E=function(n,t){var r,a,i,o,s;return l(this,(function(c){switch(c.label){case 0:if(!e.length(n.children))return[2];r=0,a=0,c.label=1;case 1:return a<n.children.length?(i=n.children[a],o=wu(a-r),(s=Bd(i,o,t))?[4,s]:[3,3]):[3,5];case 2:return c.sent(),[3,4];case 3:r++,c.label=4;case 4:return a++,[3,1];case 5:return[2]}}))}(d,L);u=Gd(E,b,h,a,i,o)||u}else if(!Qd(lu(t,m),_,a)){u=!0;var T=or(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,f,$a(_));o&&o.skipLogging&&(o.errors||(o.errors=[])).push(T)}}else if(v!==Ve){var S=Bd(g[0],m,L);S&&(u=Gd(function(){return l(this,(function(e){switch(e.label){case 0:return[4,S];case 1:return e.sent(),[2]}}))}(),t,r,a,i,o)||u)}else if(!Qd(lu(t,m),_,a)){u=!0;T=or(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,f,$a(_));o&&o.skipLogging&&(o.errors||(o.errors=[])).push(T)}}return u;function L(){if(!c){var t=e.getTextOfNode(n.parent.tagName),a=tg(eg(n)),i=void 0===a?"children":e.unescapeLeadingUnderscores(a),o=lu(r,wu(i)),l=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;c=s(s({},l),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,l,t,i,$a(o))})}return c}}(n,t,r,a,o,c);case 206:return function(n,t,r,a,i,o){if(e.isBlock(n.body))return!1;if(e.some(n.parameters,e.hasType))return!1;var s=ey(t);if(!s)return!1;var c=ec(r,0);if(!e.length(c))return!1;var l=n.body,u=Ec(s),d=wl(e.map(c,Ec));if(!ep(u,d,a,void 0)){var p=l&&Md(l,u,d,a,void 0,i,o);if(p)return p;var f=o||{};if(ep(u,d,a,l,void 0,i,f),f.errors)return r.symbol&&e.length(r.symbol.declarations)&&e.addRelatedInfo(f.errors[f.errors.length-1],e.createDiagnosticForNode(r.symbol.declarations[0],e.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature)),0==(2&e.getFunctionFlags(n))&&!yi(u,"then")&&ep(lh(u),d,a,void 0)&&e.addRelatedInfo(f.errors[f.errors.length-1],e.createDiagnosticForNode(n,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}(n,t,r,a,o,c)}return!1}function wd(e,n,t){var r=du(n,t);if(r)return r;if(1048576&n.flags){var a=tp(e,n);if(a)return du(a,t)}}function Fd(e,n){e.contextualType=n;try{return zh(e,1,n)}finally{e.contextualType=void 0}}function Gd(n,t,r,a,i,o){for(var s=!1,c=n.next();!c.done;c=n.next()){var l=c.value,u=l.errorNode,d=l.innerExpression,p=l.nameType,f=l.errorMessage,m=wd(t,r,p);if(m&&!(8388608&m.flags)){var _=du(t,p);if(_&&!ep(_,m,a,void 0))if(d&&Md(d,_,m,a,void 0,i,o))s=!0;else{var g=o||{},y=d?Fd(d,_):_;if(ep(y,m,a,u,f,i,g)&&y!==_&&ep(_,m,a,u,f,i,g),g.errors){var h=g.errors[g.errors.length-1],v=Bo(p)?Ho(p):void 0,b=void 0!==v?Zs(r,v):void 0,E=!1;if(!b){var T=Ih(p,296)&&rc(r,1)||rc(r,0)||void 0;T&&T.declaration&&!e.getSourceFileOfNode(T.declaration).hasNoDefaultLib&&(E=!0,e.addRelatedInfo(h,e.createDiagnosticForNode(T.declaration,e.Diagnostics.The_expected_type_comes_from_this_index_signature)))}if(!E&&(b&&e.length(b.declarations)||r.symbol&&e.length(r.symbol.declarations))){var S=b&&e.length(b.declarations)?b.declarations[0]:r.symbol.declarations[0];e.getSourceFileOfNode(S).hasNoDefaultLib||e.addRelatedInfo(h,e.createDiagnosticForNode(S,e.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!v||8192&p.flags?$a(p):e.unescapeLeadingUnderscores(v),$a(r)))}}s=!0}}}return s}function Bd(n,t,r){switch(n.kind){case 280:return{errorNode:n,innerExpression:n.expression,nameType:t};case 11:if(n.containsOnlyTriviaWhiteSpaces)break;return{errorNode:n,innerExpression:void 0,nameType:t,errorMessage:r()};case 270:case 271:case 274:return{errorNode:n,innerExpression:n,nameType:t};default:return e.Debug.assertNever(n,"Found invalid jsx child")}}function Ud(n){return e.filter(n,(function(n){return!e.isJsxText(n)||!n.containsOnlyTriviaWhiteSpaces}))}function Vd(n,t){var r,a,i,o;return l(this,(function(s){switch(s.label){case 0:if(!(r=e.length(n.elements)))return[2];a=0,s.label=1;case 1:return a<r?Cp(t)&&!Zs(t,""+a)?[3,3]:(i=n.elements[a],e.isOmittedExpression(i)?[3,3]:(o=wu(a),[4,{errorNode:i,innerExpression:i,nameType:o}])):[3,4];case 2:s.sent(),s.label=3;case 3:return a++,[3,1];case 4:return[2]}}))}function jd(e,n,t,r,a){return ep(e,n,er,t,r,a)}function Kd(n,t,r,a,i,o,s,c){if(n===t)return-1;if(!(l=t).typeParameters&&(!l.thisParameter||hi(qy(l.thisParameter)))&&1===l.parameters.length&&G(l)&&(qy(l.parameters[0])===xn||hi(qy(l.parameters[0])))&&hi(Ec(l)))return-1;var l,u=eh(t);if(!th(t)&&(8&r?th(n)||eh(n)>u:nh(n)>u))return 0;n.typeParameters&&n.typeParameters!==t.typeParameters&&(n=ry(n,t=Ic(t),void 0,s));var d=eh(n),p=ah(n),f=ah(t);if((p||f)&&pd(p||f,c),p&&f&&d!==u)return 0;var m=t.declaration?t.declaration.kind:0,_=!(3&r)&&z&&164!==m&&163!==m&&165!==m,g=-1,y=vc(n);if(y&&y!==Ue){var h=vc(t);if(h){if(!(T=!_&&s(y,h,!1)||s(h,y,a)))return a&&i(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;g&=T}}for(var v=p||f?Math.min(d,u):Math.max(d,u),b=p||f?v-1:-1,E=0;E<v;E++){var T,S=E===b?$y(n,E):Qy(n,E),L=E===b?$y(t,E):Qy(t,E),x=3&r?void 0:ey(Qp(S)),A=3&r?void 0:ey(Qp(L));if((T=x&&A&&!bc(x)&&!bc(A)&&(98304&qp(S))==(98304&qp(L))?Kd(A,x,8&r|(_?2:1),a,i,o,s,c):!(3&r)&&!_&&s(S,L,!1)||s(L,S,a))&&8&r&&E>=nh(n)&&E<nh(t)&&s(S,L,!1)&&(T=0),!T)return a&&i(e.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,e.unescapeLeadingUnderscores(Jy(n,E)),e.unescapeLeadingUnderscores(Jy(t,E))),0;g&=T}if(!(4&r)){var D=Sc(t)?be:t.declaration&&Oy(t.declaration)?Eo(ha(t.declaration.symbol)):Ec(t);if(D===Ue)return g;var C=Sc(n)?be:n.declaration&&Oy(n.declaration)?Eo(ha(n.declaration.symbol)):Ec(n),I=bc(t);if(I){var N=bc(n);if(N)g&=function(n,t,r,a,i){if(n.kind!==t.kind)return r&&(a(e.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),a(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ai(n),ai(t))),0;if((1===n.kind||3===n.kind)&&n.parameterIndex!==t.parameterIndex)return r&&(a(e.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,n.parameterName,t.parameterName),a(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ai(n),ai(t))),0;var o=n.type===t.type?-1:n.type&&t.type?i(n.type,t.type,r):0;0===o&&r&&a(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ai(n),ai(t));return o}(N,I,a,i,s);else if(e.isIdentifierTypePredicate(I))return a&&i(e.Diagnostics.Signature_0_must_be_a_type_predicate,Za(n)),0}else!(g&=1&r&&s(D,C,!1)||s(C,D,a))&&a&&o&&o(C,D)}return g}function Hd(e,n){var t=Cc(e),r=Cc(n),a=Ec(t),i=Ec(r);return!(i!==Ue&&!Qd(i,a,$t)&&!Qd(a,i,$t))&&0!==Kd(t,r,!0?4:0,!1,void 0,void 0,Ld,void 0)}function Wd(e){return e!==rn&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&!e.stringIndexInfo&&!e.numberIndexInfo}function qd(n){return 524288&n.flags?!Ss(n)&&Wd(Ls(n)):!!(67108864&n.flags)||(1048576&n.flags?e.some(n.types,qd):!!(2097152&n.flags)&&e.every(n.types,qd))}function zd(n){return!!(16&e.getObjectFlags(n)&&(n.members&&Wd(n)||n.symbol&&2048&n.symbol.flags&&0===zo(n.symbol).size))}function Jd(n){return 524288&n.flags&&!Ss(n)&&0===Cs(n).length&&rc(n,0)&&!rc(n,1)||3145728&n.flags&&e.every(n.types,Jd)||!1}function Xd(n,t,r){if(n===t)return!0;var a=k(n)+","+k(t),i=tr.get(a);if(void 0!==i&&(4&i||!(2&i)||!r))return!!(1&i);if(!(n.escapedName===t.escapedName&&256&n.flags&&256&t.flags))return tr.set(a,6),!1;for(var o=to(t),s=0,c=Cs(to(n));s<c.length;s++){var l=c[s];if(8&l.flags){var u=Zs(o,l.escapedName);if(!(u&&8&u.flags))return r?(r(e.Diagnostics.Property_0_is_missing_in_type_1,e.symbolName(l),$a(Io(t),void 0,64)),tr.set(a,6)):tr.set(a,2),!1}}return tr.set(a,1),!0}function Yd(e,n,t,r){var a=e.flags,i=n.flags;if(3&i||131072&a||e===Te)return!0;if(131072&i)return!1;if(132&a&&4&i)return!0;if(128&a&&1024&a&&128&i&&!(1024&i)&&e.value===n.value)return!0;if(296&a&&8&i)return!0;if(256&a&&1024&a&&256&i&&!(1024&i)&&e.value===n.value)return!0;if(2112&a&&64&i)return!0;if(528&a&&16&i)return!0;if(12288&a&&4096&i)return!0;if(32&a&&32&i&&Xd(e.symbol,n.symbol,r))return!0;if(1024&a&&1024&i){if(1048576&a&&1048576&i&&Xd(e.symbol,n.symbol,r))return!0;if(2944&a&&2944&i&&e.value===n.value&&Xd(ba(e.symbol),ba(n.symbol),r))return!0}if(32768&a&&(!q||49152&i))return!0;if(65536&a&&(!q||65536&i))return!0;if(524288&a&&67108864&i)return!0;if(t===$t||t===er){if(1&a)return!0;if(264&a&&!(1024&a)&&(32&i||256&i&&1024&i))return!0}return!1}function Qd(e,n,t){if(Mu(e)&&(e=e.regularType),Mu(n)&&(n=n.regularType),e===n)return!0;if(t!==nr){if(t===er&&!(131072&n.flags)&&Yd(n,e,t)||Yd(e,n,t))return!0}else if(!(3145728&e.flags||3145728&n.flags||e.flags===n.flags||66584576&e.flags))return!1;if(524288&e.flags&&524288&n.flags){var r=t.get(pp(e,n,0,t));if(void 0!==r)return!!(1&r)}return!!(66846720&e.flags||66846720&n.flags)&&ep(e,n,t,void 0)}function Zd(n,t){return 4096&e.getObjectFlags(n)&&!q_(t.escapedName)}function $d(n,t){for(;;){var r=Mu(n)?n.regularType:4&e.getObjectFlags(n)&&n.node?Vc(n.target,Hc(n)):3145728&n.flags?zs(n):33554432&n.flags?t?n.baseType:n.substitute:25165824&n.flags?iu(n,t):n;if(r===n)break;n=r}return n}function ep(n,t,r,a,i,s,l){var u,p,f,m,_,g,y=0,h=0,v=0,b=!1,E=0,T=[],S=!1;e.Debug.assert(r!==nr||!a,"no error reporting in identity checking");var L=G(n,t,!!a,i);if(T.length&&P(),b){var x=or(a||d,e.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,$a(n),$a(t));l&&(l.errors||(l.errors=[])).push(x)}else if(u){if(s){var A=s();A&&(e.concatenateDiagnosticMessageChains(A,u),u=A)}var C=void 0;if(i&&a&&!L&&n.symbol){var I=vr(n.symbol);if(I.originatingImport&&!e.isImportCall(I.originatingImport))if(ep(to(I.target),t,r,void 0)){var N=e.createDiagnosticForNode(I.originatingImport,e.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);C=e.append(C,N)}}x=e.createDiagnosticForNodeFromMessageChain(a,u,C);p&&e.addRelatedInfo.apply(void 0,o([x],p)),l&&(l.errors||(l.errors=[])).push(x),l&&l.skipLogging||zt.add(x)}return a&&l&&l.skipLogging&&0===L&&e.Debug.assert(!!l.errors,"missed opportunity to interact with error."),0!==L;function R(e){u=e.errorInfo,g=e.lastSkippedInfo,T=e.incompatibleStack,E=e.overrideNextErrorInfo,p=e.relatedInfo}function k(){return{errorInfo:u,lastSkippedInfo:g,incompatibleStack:T.slice(),overrideNextErrorInfo:E,relatedInfo:p?p.slice():void 0}}function O(e,n,t,r,a){E++,g=void 0,T.push([e,n,t,r,a])}function P(){var n=T;T=[];var t=g;if(g=void 0,1===n.length)return M.apply(void 0,n[0]),void(t&&w.apply(void 0,o([void 0],t)));for(var r="",a=[];n.length;){var i=n.pop(),s=i[0],c=i.slice(1);switch(s.code){case e.Diagnostics.Types_of_property_0_are_incompatible.code:0===r.indexOf("new ")&&(r="("+r+")");var l=""+c[0];r=0===r.length?""+l:e.isIdentifierText(l,j.target)?r+"."+l:"["===l[0]&&"]"===l[l.length-1]?""+r+l:r+"["+l+"]";break;case e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:if(0===r.length){var u=s;s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?u=e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible:s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(u=e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible),a.unshift([u,c[0],c[1]])}else{r=""+(s.code===e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code||s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"")+r+"("+(s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||s.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...")+")"}break;default:return e.Debug.fail("Unhandled Diagnostic: "+s.code)}}r?M(")"===r[r.length-1]?e.Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types:e.Diagnostics.The_types_of_0_are_incompatible_between_these_types,r):a.shift();for(var d=0,p=a;d<p.length;d++){var f=p[d],m=(s=f[0],c=f.slice(1),s.elidedInCompatabilityPyramid);s.elidedInCompatabilityPyramid=!1,M.apply(void 0,o([s],c)),s.elidedInCompatabilityPyramid=m}t&&w.apply(void 0,o([void 0],t))}function M(n,t,r,i,o){e.Debug.assert(!!a),T.length&&P(),n.elidedInCompatabilityPyramid||(u=e.chainDiagnosticMessages(u,n,t,r,i,o))}function w(n,t,a){T.length&&P();var i=ei(t,a),o=i[0],s=i[1],c=t,l=o;if(kp(t)&&!np(a)&&(c=Op(t),e.Debug.assert(!Dd(c,a),"generalized source shouldn't be assignable"),l=ni(c)),262144&a.flags){var u=Ms(a),d=void 0;u&&(Dd(c,u)||(d=Dd(t,u)))?M(e.Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,d?o:l,s,$a(u)):M(e.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,s,l)}n||(n=r===er?e.Diagnostics.Type_0_is_not_comparable_to_type_1:o===s?e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:e.Diagnostics.Type_0_is_not_assignable_to_type_1),M(n,l,s)}function F(n,t,r){return Gp(n)?n.target.readonly&&Lp(t)?(r&&M(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,$a(n),$a(t)),!1):Gp(t)||Tp(t):Sp(n)&&Lp(t)?(r&&M(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,$a(n),$a(t)),!1):!Gp(t)||Tp(n)}function G(n,t,i,o,s){if(void 0===i&&(i=!1),void 0===s&&(s=0),524288&n.flags&&131068&t.flags)return Yd(n,t,r,i?M:void 0)?-1:(T(n,t,0,!!(4096&e.getObjectFlags(n))),0);var c=$d(n,!1),l=$d(t,!0);if(c===l)return-1;if(r===nr)return function(e,n){var t=e.flags&n.flags;if(!(66584576&t))return 0;if(3145728&t){var r=B(e,n);return r&&(r&=B(n,e)),r}return K(e,n,!1,0)}(c,l);if(262144&c.flags&&Is(c)===l)return-1;if(1048576&l.flags&&524288&c.flags&&l.types.length<=3&&Ch(l,98304)){var d=Lm(l,-98305);if(!(1179648&d.flags)){if(c===d)return-1;l=d}}if(r===er&&!(131072&l.flags)&&Yd(l,c,r)||Yd(c,l,r,i?M:void 0))return-1;var p=!!(4096&e.getObjectFlags(c)),f=!(2&s)&&Ff(c)&&32768&e.getObjectFlags(c);if(f&&function(n,t,i){if(!ug(t)||!Y&&16384&e.getObjectFlags(t))return!1;var o=!!(4096&e.getObjectFlags(n));if((r===$t||r===er)&&(hm(mn,t)||!o&&qd(t)))return!1;var s,c=t;1048576&t.flags&&(c=$T(n,t,G)||function(e){if(Ch(e,67108864)){var n=Em(e,(function(e){return!(131068&e.flags)}));if(!(131072&n.flags))return n}return e}(t),s=1048576&c.flags?c.types:[c]);for(var l=function(t){if(function(e,n){return e.valueDeclaration&&n.valueDeclaration&&e.valueDeclaration.parent===n.valueDeclaration}(t,n.symbol)&&!Zd(n,t)){if(!lg(c,t.escapedName,o)){if(i){var r=Em(c,ug);if(!a)return{value:e.Debug.fail()};if(e.isJsxAttributes(a)||e.isJsxOpeningLikeElement(a)||e.isJsxOpeningLikeElement(a.parent)){t.valueDeclaration&&e.isJsxAttribute(t.valueDeclaration)&&e.getSourceFileOfNode(a)===e.getSourceFileOfNode(t.valueDeclaration.name)&&(a=t.valueDeclaration.name);var l=Qa(t),u=Mg(l,r);(p=u?Qa(u):void 0)?M(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,$a(r),p):M(e.Diagnostics.Property_0_does_not_exist_on_type_1,l,$a(r))}else{var d=n.symbol&&e.firstOrUndefined(n.symbol.declarations),p=void 0;if(t.valueDeclaration&&e.findAncestor(t.valueDeclaration,(function(e){return e===d}))&&e.getSourceFileOfNode(d)===e.getSourceFileOfNode(a)){var f=t.valueDeclaration;e.Debug.assertNode(f,e.isObjectLiteralElementLike),a=f;var m=f.name;e.isIdentifier(m)&&(p=wg(m,r))}void 0!==p?M(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Qa(t),$a(r),p):M(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Qa(t),$a(r))}}return{value:!0}}if(s&&!G(to(t),function(n,t){return wl(e.reduceLeft(n,(function(n,r){var a=3145728&(r=js(r)).flags?qs(r,t):As(r,t),i=a&&to(a)||U_(t)&&ac(r,1)||ac(r,0)||Ae;return e.append(n,i)}),void 0)||e.emptyArray)}(s,t.escapedName),i))return i&&O(e.Diagnostics.Types_of_property_0_are_incompatible,Qa(t)),{value:!0}}},u=0,d=Cs(n);u<d.length;u++){var p=d[u],f=l(p);if("object"==typeof f)return f.value}return!1}(c,l,i))return i&&w(o,c,l),0;var m=r!==er&&!(2&s)&&2752508&c.flags&&c!==mn&&2621440&l.flags&&ap(l)&&(Cs(c).length>0||jE(c));if(m&&!function(e,n,t){for(var r=0,a=Cs(e);r<a.length;r++){var i=a[r];if(lg(n,i.escapedName,t))return!0}return!1}(c,l,p)){if(i){var _=ec(c,0),y=ec(c,1);_.length>0&&G(Ec(_[0]),l,!1)||y.length>0&&G(Ec(y[0]),l,!1)?M(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,$a(c),$a(l)):M(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,$a(c),$a(l))}return 0}var h=0,v=k();if(1048576&c.flags?h=r===er?V(c,l,i&&!(131068&c.flags),s):function(e,n,t,r){for(var a=-1,i=e.types,o=0;o<i.length;o++){var s=i[o];if(1048576&n.flags&&n.types.length===i.length){var c=G(s,n.types[o],!1,void 0,r);if(c){a&=c;continue}}var l=G(s,n,t,void 0,r);if(!l)return 0;a&=l}return a}(c,l,i&&!(131068&c.flags),s):(1048576&l.flags?h=U(of(c),l,i&&!(131068&c.flags)&&!(131068&l.flags)):2097152&l.flags?h=function(e,n,t,r){for(var a=-1,i=n.types,o=0,s=i;o<s.length;o++){var c=s[o],l=G(e,c,t,void 0,r);if(!l)return 0;a&=l}return a}(of(c),l,i,2):2097152&c.flags&&(h=V(c,l,!1,1)),!h&&(66846720&c.flags||66846720&l.flags)&&(h=K(c,l,i,s))&&R(v)),!h&&2359296&c.flags){var b=function(n,t){for(var r,a=!1,i=0,o=n;i<o.length;i++){if(63176704&(u=o[i]).flags){for(var s=Is(u);s&&21233664&s.flags;)s=Is(s);s&&(r=e.append(r,s),t&&(r=e.append(r,u)))}else 67238908&u.flags&&(a=!0)}if(r&&(t||a)){if(a)for(var c=0,l=n;c<l.length;c++){var u;67238908&(u=l[c]).flags&&(r=e.append(r,u))}return Kl(r)}}(2097152&c.flags?c.types:[c],!!(1048576&l.flags));b&&(2097152&c.flags||1048576&l.flags)&&bm(b,(function(e){return e!==c}))&&(h=G(b,l,!1,void 0,s))&&R(v)}return h&&!S&&(2097152&l.flags&&(f||m)||Lu(l)&&!Tp(l)&&!Gp(l)&&2097152&c.flags&&3670016&js(c).flags&&!e.some(c.types,(function(n){return!!(2097152&e.getObjectFlags(n))})))&&(S=!0,h&=K(c,l,i,4),S=!1),T(c,l,h,p),h;function T(r,s,c,l){if(!c&&i){r=n.aliasSymbol?n:r,s=t.aliasSymbol?t:s;var d=E>0;if(d&&E--,524288&r.flags&&524288&s.flags){var p=u;F(r,s,i),u!==p&&(d=!!u)}if(524288&r.flags&&131068&s.flags)!function(n,t){var r=ti(n.symbol)?$a(n,n.symbol.valueDeclaration):$a(n),a=ti(t.symbol)?$a(t,t.symbol.valueDeclaration):$a(t);(bn===n&&Re===t||En===n&&ke===t||Tn===n&&Ge===t||pl(!1)===n&&Be===t)&&M(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,a,r)}(r,s);else if(r.symbol&&524288&r.flags&&mn===r)M(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(l&&2097152&s.flags){var f=s.types,m=Z_(D.IntrinsicAttributes,a),_=Z_(D.IntrinsicClassAttributes,a);if(m!==Se&&_!==Se&&(e.contains(f,m)||e.contains(f,_)))return c}else u=Qs(u,t);if(!o&&d)return g=[r,s],c;w(o,r,s)}}}function B(e,n){for(var t=-1,r=0,a=e.types;r<a.length;r++){var i=U(a[r],n,!1);if(!i)return 0;t&=i}return t}function U(e,n,t){var r=n.types;if(1048576&n.flags&&Rl(r,e))return-1;for(var a=0,i=r;a<i.length;a++){var o=G(e,i[a],!1);if(o)return o}t&&G(e,tp(e,n,G)||r[r.length-1],!0);return 0}function V(e,n,t,r){var a=e.types;if(1048576&e.flags&&Rl(a,n))return-1;for(var i=a.length,o=0;o<i;o++){var s=G(a[o],n,t&&o===i-1,void 0,r);if(s)return s}return 0}function K(n,t,a,i){if(b)return 0;var o=pp(n,t,i|(S?8:0),r),s=r.get(o);if(void 0!==s&&(!(a&&2&s)||4&s)){if(tt){var c=24&s;8&c&&pd(n,Xu(H)),16&c&&pd(n,Xu(W))}return 1&s?-1:0}if(f){for(var l=0;l<y;l++)if(o===f[l])return 1;if(100===h)return b=!0,0}else f=[],m=[],_=[];var d=y;f[y]=o,y++,m[h]=n,_[h]=t,h++;var p,g=v;1&v||!gp(n,m,h)||(v|=1),2&v||!gp(t,_,h)||(v|=2);var E=0;tt&&(p=tt,tt=function(e){return E|=e?16:8,p(e)});var T=3!==v?function(n,t,a,i){if(4&i)return Q(n,t,a,void 0,0);var o,s,c=n.flags&t.flags;if(r===nr&&!(524288&c)){if(4194304&c)return G(n.type,t.type,!1);var l=0;return 8388608&c&&(l=G(n.objectType,t.objectType,!1))&&(l&=G(n.indexType,t.indexType,!1))||16777216&c&&n.root.isDistributive===t.root.isDistributive&&(l=G(n.checkType,t.checkType,!1))&&(l&=G(n.extendsType,t.extendsType,!1))&&(l&=G(gu(n),gu(t),!1))&&(l&=G(yu(n),yu(t),!1))?l:33554432&c?G(n.substitute,t.substitute,!1):0}var d=!1,p=k();if(17301504&n.flags&&n.aliasSymbol&&n.aliasTypeArguments&&n.aliasSymbol===t.aliasSymbol&&!n.aliasTypeArgumentsContainsMarker&&!t.aliasTypeArgumentsContainsMarker){if((U=op(n.aliasSymbol))===e.emptyArray)return 1;if(void 0!==(V=Y(n.aliasTypeArguments,t.aliasTypeArguments,U,i)))return V}if(Up(n)&&!n.target.readonly&&(o=G(Hc(n)[0],t))||Up(t)&&(t.target.readonly||Lp(Ms(n)||n))&&(o=G(n,Hc(t)[0])))return o;if(262144&t.flags){if(32&e.getObjectFlags(n)&&G(Xl(t),_s(n))&&!(4&bs(n))){var f=gs(n),m=lu(t,ms(n));if(o=G(f,m,a))return o}}else if(4194304&t.flags){var _=t.type;if(4194304&n.flags&&(o=G(_,n.type,!1)))return o;if(Gp(_)){if(o=G(n,Il(_),a))return o}else if((I=Rs(_))&&-1===G(n,Xl(I,t.stringsOnly),a))return-1}else if(8388608&t.flags){if(r===$t||r===er){var g=t.objectType,y=t.indexType,h=Ms(g)||g,v=Ms(y)||y;if(!tu(h)&&!ru(v))if((I=du(h,v,void 0,2|(h!==g?1:0)))&&(o=G(n,I,a)))return o}}else if(Ss(t)){var b=gs(t),E=bs(t);if(!(8&E)){if(8388608&b.flags&&b.objectType===n&&b.indexType===ms(t))return-1;if(!Ss(n)){var T=_s(t),S=Xl(n,void 0,!0),L=4&E,x=L?os(T,S):void 0;if(L?!(131072&x.flags):G(T,S)){f=gs(t);var A=ms(t),D=Lm(f,-98305);if(8388608&D.flags&&D.indexType===A){if(o=G(n,D.objectType,a))return o}else{var C=x?Kl([x,A]):A;m=lu(n,C);if(o=G(m,f,a))return o}}s=u,R(p)}}}if(8650752&n.flags){var I;if(8388608&n.flags&&8388608&t.flags){if((o=G(n.objectType,t.objectType,a))&&(o&=G(n.indexType,t.indexType,a)),o)return R(p),o}else if(!(I=Is(n))||262144&n.flags&&1&I.flags){if(o=G(Ze,Lm(t,-67108865)))return R(p),o}else{if(o=G(I,t,!1,void 0,i))return R(p),o;if(o=G(Xo(I,n),t,a,void 0,i))return R(p),o}}else if(4194304&n.flags){if(o=G(Je,t,a))return R(p),o}else if(16777216&n.flags){if(16777216&t.flags){var N=n.root.inferTypeParameters,O=n.extendsType,P=void 0;if(N){var M=yf(N,void 0,0,G);Pf(M.inferences,t.extendsType,O,768),O=pd(O,M.mapper),P=M.mapper}if(Td(O,t.extendsType)&&(G(n.checkType,t.checkType)||G(t.checkType,n.checkType))&&((o=G(pd(gu(n),P),gu(t),a))&&(o&=G(yu(n),yu(t),a)),o))return R(p),o}else{var w=Os(n);if(w&&(o=G(w,t,a)))return R(p),o}var F=ks(n);if(F&&(o=G(F,t,a)))return R(p),o}else{if(r!==Qt&&r!==Zt&&(X=t,32&e.getObjectFlags(X)&&4&bs(X))&&qd(n))return-1;if(Ss(t))return Ss(n)&&(o=function(e,n,t){if(r===er||(r===nr?bs(e)===bs(n):Ts(e)<=Ts(n))){var a,i=_s(n),o=pd(_s(e),Xu(Ts(e)<0?H:W));if(a=G(i,o,t)){var s=qu([ms(e)],[ms(n)]);return a&G(pd(gs(e),s),gs(n),t)}}return 0}(n,t,a))?(R(p),o):0;var B=!!(131068&n.flags);if(r!==nr)n=js(n);else if(Ss(n))return 0;if(4&e.getObjectFlags(n)&&4&e.getObjectFlags(t)&&n.target===t.target&&!(8192&e.getObjectFlags(n)||8192&e.getObjectFlags(t))){var U,V;if((U=cp(n.target))===e.emptyArray)return 1;if(void 0!==(V=Y(Hc(n),Hc(t),U,i)))return V}else{if(Sp(t)?Tp(n)||Gp(n):Tp(t)&&Gp(n)&&!n.target.readonly)return r!==nr?G(ac(n,1)||be,ac(t,1)||be,a):0;if((r===Qt||r===Zt)&&qd(t)&&32768&e.getObjectFlags(t)&&!qd(n))return 0}if(2621440&n.flags&&524288&t.flags){var j=a&&u===p.errorInfo&&!B;if((o=Q(n,t,j,void 0,i))&&(o&=Z(n,t,0,j))&&(o&=Z(n,t,1,j))&&(o&=re(n,t,0,B,j,i))&&(o&=re(n,t,1,B,j,i)),d&&o)u=s||u||p.errorInfo;else if(o)return o}if(2621440&n.flags&&1048576&t.flags){var K=Lm(t,36175872);if(1048576&K.flags){var z=function(n,t){var a=Zf(Cs(n),t);if(!a)return 0;for(var i=1,o=0,s=a;o<s.length;o++){var c=s[o];if((i*=Tm(to(c)))>25)return 0}for(var l=new Array(a.length),u=new e.Set,d=0;d<a.length;d++){var p=to(c=a[d]);l[d]=1048576&p.flags?p.types:[p],u.add(c.escapedName)}for(var f=e.cartesianProduct(l),m=[],_=function(i){var o=!1;e:for(var s=0,c=t.types;s<c.length;s++){for(var l=c[s],u=function(e){var o=a[e],s=Zs(l,o.escapedName);return s?o===s?"continue":J(n,t,o,s,(function(n){return i[e]}),!1,0,q||r===er)?void 0:"continue-outer":"continue-outer"},d=0;d<a.length;d++){switch(u(d)){case"continue-outer":continue e}}e.pushIfUnique(m,l,e.equateValues),o=!0}if(!o)return{value:0}},g=0,y=f;g<y.length;g++){var h=y[g],v=_(h);if("object"==typeof v)return v.value}for(var b=-1,E=0,T=m;E<T.length;E++){var S=T[E];if((b&=Q(n,S,!1,u,0))&&(b&=Z(n,S,0,!1))&&(b&=Z(n,S,1,!1))&&(!(b&=re(n,S,0,!1,!1,0))||Gp(n)&&Gp(S)||(b&=re(n,S,1,!1,!1,0))),!b)return b}return b}(n,K);if(z)return z}}}var X;return 0;function Y(n,t,i,c){if(o=function(n,t,a,i,o){if(void 0===n&&(n=e.emptyArray),void 0===t&&(t=e.emptyArray),void 0===a&&(a=e.emptyArray),n.length!==t.length&&r===nr)return 0;for(var s=n.length<=t.length?n.length:t.length,c=-1,l=0;l<s;l++){var u=l<a.length?a[l]:1,d=7&u;if(4!==d){var p=n[l],f=t[l],m=-1;if(8&u?m=r===nr?G(p,f,!1):Sd(p,f):1===d?m=G(p,f,i,void 0,o):2===d?m=G(f,p,i,void 0,o):3===d?(m=G(f,p,!1))||(m=G(p,f,i,void 0,o)):(m=G(p,f,i,void 0,o))&&(m&=G(f,p,i,void 0,o)),!m)return 0;c&=m}}return c}(n,t,i,a,c))return o;if(e.some(i,(function(e){return!!(24&e)})))return s=void 0,void R(p);var l=t&&function(e,n){for(var t=0;t<n.length;t++)if(1==(7&n[t])&&16384&e[t].flags)return!0;return!1}(t,i);if(d=!l,i!==e.emptyArray&&!l){if(d&&(!a||!e.some(i,(function(e){return 0==(7&e)}))))return 0;s=u,R(p)}}}(n,t,a,i):1;if(tt&&(tt=p),v=g,h--,T){if(-1===T||0===h){for(l=d;l<y;l++)r.set(f[l],1|E);y=d}}else r.set(o,2|(a?4:0)|E),y=d;return T}function H(e){return!tt||e!==cn&&e!==ln&&e!==rt||tt(!1),e}function W(e){return!tt||e!==cn&&e!==ln&&e!==rt||tt(!0),e}function z(e,n){if(!n||0===e.length)return e;for(var t,r=0;r<e.length;r++)n.has(e[r].escapedName)?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t||e}function J(n,t,r,a,i,o,s,c){var l=e.getDeclarationModifierFlagsFromSymbol(r),u=e.getDeclarationModifierFlagsFromSymbol(a);if(8&l||8&u){if(r.valueDeclaration!==a.valueDeclaration)return o&&(8&l&&8&u?M(e.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,Qa(a)):M(e.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,Qa(a),$a(8&l?n:t),$a(8&l?t:n))),0}else if(16&u){if(!function(n,t){return!fp(t,(function(t){return!!(16&e.getDeclarationModifierFlagsFromSymbol(t))&&(r=n,a=mp(t),!fp(r,(function(e){var n=mp(e);return!!n&&io(n,a)})));var r,a}))}(r,a))return o&&M(e.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Qa(a),$a(mp(r)||n),$a(mp(a)||t)),0}else if(16&l)return o&&M(e.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,Qa(a),$a(n),$a(t)),0;var d=function(n,t,r,a,i){var o=q&&!!(48&e.getCheckFlags(t)),s=r(n);if(65536&e.getCheckFlags(t)&&!vr(t).type){var c=vr(t);e.Debug.assertIsDefined(c.deferralParent),e.Debug.assertIsDefined(c.deferralConstituents);for(var l=!!(1048576&c.deferralParent.flags),u=l?0:-1,d=0,p=c.deferralConstituents;d<p.length;d++){var f=G(s,p[d],!1,void 0,l?0:2);if(l){if(f)return f}else{if(!f)return G(s,Di(to(t),o),a);u&=f}}return l&&!u&&o&&(u=G(s,Ae)),l&&!u&&a?G(s,Di(to(t),o),a):u}return G(s,Di(to(t),o),a,void 0,i)}(r,a,i,o,s);return d?c||!(16777216&r.flags)||16777216&a.flags?d:(o&&M(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,Qa(a),$a(n),$a(t)),0):(o&&O(e.Diagnostics.Types_of_property_0_are_incompatible,Qa(a)),0)}function X(n,t,r,a){var s=!1;if(r.valueDeclaration&&e.isNamedDeclaration(r.valueDeclaration)&&e.isPrivateIdentifier(r.valueDeclaration.name)&&n.symbol&&32&n.symbol.flags){var l=r.valueDeclaration.name.escapedText,d=e.getSymbolNameForPrivateIdentifier(n.symbol,l);if(d&&Zs(n,d)){var f=e.factory.getDeclarationName(n.symbol.valueDeclaration),m=e.factory.getDeclarationName(t.symbol.valueDeclaration);return void M(e.Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,Ir(l),Ir(""===f.escapedText?c:f),Ir(""===m.escapedText?c:m))}}var _,g=e.arrayFrom(If(n,t,a,!1));if((!i||i.code!==e.Diagnostics.Class_0_incorrectly_implements_interface_1.code&&i.code!==e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(s=!0),1===g.length){var y=Qa(r);M.apply(void 0,o([e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,y],ei(n,t))),e.length(r.declarations)&&(_=e.createDiagnosticForNode(r.declarations[0],e.Diagnostics._0_is_declared_here,y),e.Debug.assert(!!u),p?p.push(_):p=[_]),s&&u&&E++}else F(n,t,!1)&&(g.length>5?M(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,$a(n),$a(t),e.map(g.slice(0,4),(function(e){return Qa(e)})).join(", "),g.length-4):M(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,$a(n),$a(t),e.map(g,(function(e){return Qa(e)})).join(", ")),s&&u&&E++)}function Q(n,t,a,i,o){if(r===nr)return function(e,n,t){if(!(524288&e.flags&&524288&n.flags))return 0;var r=z(xs(e),t),a=z(xs(n),t);if(r.length!==a.length)return 0;for(var i=-1,o=0,s=r;o<s.length;o++){var c=s[o],l=As(n,c.escapedName);if(!l)return 0;var u=vp(c,l,G);if(!u)return 0;i&=u}return i}(n,t,i);var s=-1;if(Gp(t)){if(Tp(n)||Gp(n)){if(!t.target.readonly&&(Sp(n)||Gp(n)&&n.target.readonly))return 0;var c=Wc(n),l=Wc(t),u=Gp(n)?4&n.target.combinedFlags:4,d=4&t.target.combinedFlags,p=Gp(n)?n.target.minLength:0,f=t.target.minLength;if(!u&&c<f)return a&&M(e.Diagnostics.Source_has_0_element_s_but_target_requires_1,c,f),0;if(!d&&l<p)return a&&M(e.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,p,l),0;if(!d&&u)return a&&(p<f?M(e.Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer,f):M(e.Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more,l)),0;for(var m=Math.max(c,l),_=0;_<m;_++){var g=_<l?t.target.elementFlags[_]:d,y=Gp(n)&&_<c?n.target.elementFlags[_]:u,h=!!i;if(y&&g){if(8&g&&!(8&y)||8&y&&!(12&g))return a&&M(e.Diagnostics.Element_at_index_0_is_variadic_in_one_type_but_not_in_the_other,_),0;if(1&g&&!(1&y))return a&&M(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,_,$a(n),$a(t)),0;if(h&&((12&y||12&g)&&(h=!1),h&&(null==i?void 0:i.has(""+_))))continue;var v=Hc(n)[Math.min(_,c-1)],b=Hc(t)[Math.min(_,l-1)];if(!(k=G(v,8&y&&4&g?vl(b):b,a,void 0,o)))return a&&O(e.Diagnostics.Types_of_property_0_are_incompatible,_),0;s&=k}}return s}if(12&t.target.combinedFlags)return 0}var E=!(r!==Qt&&r!==Zt||Ff(n)||Dp(n)||Gp(n)),T=Nf(n,t,E,!1);if(T)return a&&X(n,t,T,E),0;if(Ff(t))for(var S=0,L=z(Cs(n),i);S<L.length;S++){if(!As(t,(I=L[S]).escapedName))if((v=to(I))!==Ae&&v!==De&&v!==Ce)return a&&M(e.Diagnostics.Property_0_does_not_exist_on_type_1,Qa(I),$a(t)),0}for(var x=Cs(t),A=Gp(n)&&Gp(t),D=0,C=z(x,i);D<C.length;D++){var I,N=C[D],R=N.escapedName;if(!(4194304&N.flags)&&(!A||U_(R)||"length"===R))if((I=Zs(n,R))&&I!==N){var k;if(!(k=J(n,t,I,N,to,a,o,r===er)))return 0;s&=k}}return s}function Z(n,t,a,i){if(r===nr)return function(e,n,t){var r=ec(e,t),a=ec(n,t);if(r.length!==a.length)return 0;for(var i=-1,o=0;o<r.length;o++){var s=bp(r[o],a[o],!1,!1,!1,G);if(!s)return 0;i&=s}return i}(n,t,a);if(t===rn||n===rn)return-1;var o=n.symbol&&Oy(n.symbol.valueDeclaration),s=t.symbol&&Oy(t.symbol.valueDeclaration),c=ec(n,o&&1===a?0:a),l=ec(t,s&&1===a?0:a);if(1===a&&c.length&&l.length){if(e.isAbstractConstructorType(n)&&!e.isAbstractConstructorType(t))return i&&M(e.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!function(n,t,r){if(!n.declaration||!t.declaration)return!0;var a=e.getSelectedEffectiveModifierFlags(n.declaration,24),i=e.getSelectedEffectiveModifierFlags(t.declaration,24);if(8===i)return!0;if(16===i&&8!==a)return!0;if(16!==i&&!a)return!0;r&&M(e.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,ii(a),ii(i));return!1}(c[0],l[0],i))return 0}var u=-1,d=k(),p=1===a?ee:$;if(64&e.getObjectFlags(n)&&64&e.getObjectFlags(t)&&n.symbol===t.symbol)for(var f=0;f<l.length;f++){if(!(E=ne(c[f],l[f],!0,i,p(c[f],l[f]))))return 0;u&=E}else if(1===c.length&&1===l.length){var m=r===er||!!j.noStrictGenericChecks;u=ne(c[0],l[0],m,i,p(c[0],l[0]))}else e:for(var _=0,g=l;_<g.length;_++){for(var y=g[_],h=i,v=0,b=c;v<b.length;v++){var E,T=b[v];if(E=ne(T,y,!0,h,p(T,y))){u&=E,R(d);continue e}h=!1}return h&&M(e.Diagnostics.Type_0_provides_no_match_for_the_signature_1,$a(n),Za(y,void 0,void 0,a)),0}return u}function $(n,t){return 0===n.parameters.length&&0===t.parameters.length?function(n,t){return O(e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,$a(n),$a(t))}:function(n,t){return O(e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,$a(n),$a(t))}}function ee(n,t){return 0===n.parameters.length&&0===t.parameters.length?function(n,t){return O(e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,$a(n),$a(t))}:function(n,t){return O(e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,$a(n),$a(t))}}function ne(e,n,t,a,i){return Kd(t?Cc(e):e,t?Cc(n):n,r===Zt?8:0,a,M,i,G,Xu(W))}function te(n,t,r){var a=G(n,t,r);return!a&&r&&M(e.Diagnostics.Index_signatures_are_incompatible),a}function re(n,t,a,i,o,s){if(r===nr)return function(e,n,t){var r=rc(n,t),a=rc(e,t);if(!a&&!r)return-1;if(a&&r&&a.isReadonly===r.isReadonly)return G(a.type,r.type);return 0}(n,t,a);var c=ac(t,a);if(!c||1&c.flags&&!i)return-1;if(Ss(n))return ac(t,0)?G(gs(n),c,o):0;var l=ac(n,a)||1===a&&ac(n,0);if(l)return te(l,c,o);if(!(1&s)&&rf(n)){var u=function(n,t,r,a){for(var i=-1,o=0,s=2097152&n.flags?Ds(n):xs(n);o<s.length;o++){var c=s[o];if(!Zd(n,c)){var l=vr(c).nameType;if(!(l&&8192&l.flags)&&(0===r||U_(c.escapedName))){var u=G(to(c),t,a);if(!u)return a&&M(e.Diagnostics.Property_0_is_incompatible_with_index_signature,Qa(c)),0;i&=u}}}return i}(n,c,a,o);if(u&&0===a){var d=ac(n,1);d&&(u&=te(d,c,o))}return u}return o&&M(e.Diagnostics.Index_signature_is_missing_in_type_0,$a(n)),0}}function np(n){if(16&n.flags)return!1;if(3145728&n.flags)return!!e.forEach(n.types,np);if(63176704&n.flags){var t=Is(n);if(t)return np(t)}return Rp(n)}function tp(n,t,r){return void 0===r&&(r=Ld),$T(n,t,r,!0)||function(n,t){var r=e.getObjectFlags(n);if(20&r&&1048576&t.flags)return e.find(t.types,(function(t){if(524288&t.flags){var a=r&e.getObjectFlags(t);if(4&a)return n.target===t.target;if(16&a)return!!n.aliasSymbol&&n.aliasSymbol===t.aliasSymbol}return!1}))}(n,t)||function(n,t){if(128&e.getObjectFlags(n)&&vm(t,Ap))return e.find(t.types,(function(e){return!Ap(e)}))}(n,t)||function(n,t){var r=0;if(ec(n,r).length>0||ec(n,r=1).length>0)return e.find(t.types,(function(e){return ec(e,r).length>0}))}(n,t)||function(n,t){for(var r,a=0,i=0,o=t.types;i<o.length;i++){var s=o[i],c=Kl([Xl(n),Xl(s)]);if(4194304&c.flags)r=s,a=1/0;else if(1048576&c.flags){var l=e.length(e.filter(c.types,Rp));l>=a&&(r=s,a=l)}else Rp(c)&&1>=a&&(r=s,a=1)}return r}(n,t)}function rp(n,t,r,a,i){for(var o=n.types.map((function(e){})),s=0,c=t;s<c.length;s++){var l=c[s],u=l[0],d=l[1],p=Ws(n,d);if(!(i&&p&&16&e.getCheckFlags(p)))for(var f=0,m=0,_=n.types;m<_.length;m++){var g=yi(_[m],d);g&&r(u(),g)?o[f]=void 0===o[f]||o[f]:o[f]=!1,f++}}var y=o.indexOf(!0);return-1===y||-1!==o.indexOf(!0,y+1)?a:n.types[y]}function ap(n){if(524288&n.flags){var t=Ls(n);return 0===t.callSignatures.length&&0===t.constructSignatures.length&&!t.stringIndexInfo&&!t.numberIndexInfo&&t.properties.length>0&&e.every(t.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&n.flags)&&e.every(n.types,ap)}function ip(n,t,r){var a=Vc(n,e.map(n.typeParameters,(function(e){return e===t?r:e})));return a.objectFlags|=8192,a}function op(e){var n=vr(e);return sp(n.typeParameters,n,(function(t,r,a){var i=zc(e,Hu(n.typeParameters,Ju(r,a)));return i.aliasTypeArgumentsContainsMarker=!0,i}))}function sp(n,t,r){void 0===n&&(n=e.emptyArray);var a=t.variances;if(!a){t.variances=e.emptyArray,a=[];for(var i=function(e){var n=!1,i=!1,o=tt;tt=function(e){return e?i=!0:n=!0};var s=r(t,e,cn),c=r(t,e,ln),l=(Dd(c,s)?1:0)|(Dd(s,c)?2:0);3===l&&Dd(r(t,e,rt),s)&&(l=4),tt=o,(n||i)&&(n&&(l|=8),i&&(l|=16)),a.push(l)},o=0,s=n;o<s.length;o++){i(s[o])}t.variances=a}return a}function cp(e){return e===hn||e===vn||8&e.objectFlags?V:sp(e.typeParameters,e,ip)}function lp(e){return 262144&e.flags&&!Ns(e)}function up(n){return function(n){return!!(4&e.getObjectFlags(n))&&!n.node}(n)&&e.some(Hc(n),(function(e){return lp(e)||up(e)}))}function dp(e,n,t){void 0===t&&(t=0);for(var r=""+e.target.id,a=0,i=Hc(e);a<i.length;a++){var o=i[a];if(lp(o)){var s=n.indexOf(o);s<0&&(s=n.length,n.push(o)),r+="="+s}else t<4&&up(o)?r+="<"+dp(o,n,t+1)+">":r+="-"+o.id}return r}function pp(e,n,t,r){if(r===nr&&e.id>n.id){var a=e;e=n,n=a}var i=t?":"+t:"";if(up(e)&&up(n)){var o=[];return dp(e,o)+","+dp(n,o)+i}return e.id+","+n.id+i}function fp(n,t){if(!(6&e.getCheckFlags(n)))return t(n);for(var r=0,a=n.containingType.types;r<a.length;r++){var i=Zs(a[r],n.escapedName),o=i&&fp(i,t);if(o)return o}}function mp(e){return e.parent&&32&e.parent.flags?Io(ba(e)):void 0}function _p(e){var n=mp(e),t=n&&ho(n)[0];return t&&yi(t,e.escapedName)}function gp(n,t,r){if(r>=5&&524288&n.flags){if(!Gf(n)){var a=n.symbol;if(a)for(var i=0,o=0;o<r;o++){if(524288&(c=t[o]).flags&&c.symbol===a&&++i>=5)return!0}}if(e.getObjectFlags(n)&&n.node){var s=n.target;for(i=0,o=0;o<r;o++){var c=t[o];if(e.getObjectFlags(c)&&c.node&&c.target===s&&++i>=5)return!0}}}if(r>=5&&8388608&n.flags)for(s=yp(n),i=0,o=0;o<r;o++){if(yp(c=t[o])===s&&++i>=5)return!0}return!1}function yp(e){for(var n=e;8388608&n.flags;)n=n.objectType;return n}function hp(e,n){return 0!==vp(e,n,Sd)}function vp(n,t,r){if(n===t)return-1;var a=24&e.getDeclarationModifierFlagsFromSymbol(n);if(a!==(24&e.getDeclarationModifierFlagsFromSymbol(t)))return 0;if(a){if(tE(n)!==tE(t))return 0}else if((16777216&n.flags)!=(16777216&t.flags))return 0;return Sh(n)!==Sh(t)?0:r(to(n),to(t))}function bp(n,t,r,a,i,o){if(n===t)return-1;if(!function(e,n,t){var r=eh(e),a=eh(n),i=nh(e),o=nh(n),s=th(e),c=th(n);return r===a&&i===o&&s===c||!!(t&&i<=o)}(n,t,r))return 0;if(e.length(n.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var s=qu(n.typeParameters,t.typeParameters),c=0;c<t.typeParameters.length;c++){if(!((_=n.typeParameters[c])===(f=t.typeParameters[c])||o(pd(Fc(_),s)||xe,Fc(f)||xe)&&o(pd(Us(_),s)||xe,Us(f)||xe)))return 0}n=rd(n,s,!0)}var l=-1;if(!a){var u=vc(n);if(u){var d=vc(t);if(d){if(!(m=o(u,d)))return 0;l&=m}}}var p=eh(t);for(c=0;c<p;c++){var f,m,_=Qy(n,c);if(!(m=o(f=Qy(t,c),_)))return 0;l&=m}if(!i){var g=bc(n),y=bc(t);l&=g||y?function(e,n,t){return e&&n&&Fl(e,n)?e.type===n.type?-1:e.type&&n.type?t(e.type,n.type):0:0}(g,y,o):o(Ec(n),Ec(t))}return l}function Ep(n){return function(e){for(var n,t=0,r=e;t<r.length;t++){var a=r[t],i=Op(a);if(n||(n=i),i===a||i!==n)return!1}return!0}(n)?wl(n):e.reduceLeft(n,(function(e,n){return Ad(e,n)?n:e}))}function Tp(n){return!!(4&e.getObjectFlags(n))&&(n.target===hn||n.target===vn)}function Sp(n){return!!(4&e.getObjectFlags(n))&&n.target===vn}function Lp(e){return Tp(e)&&!Sp(e)||Gp(e)&&!e.target.readonly}function xp(e){return Tp(e)?Hc(e)[0]:void 0}function Ap(e){return Tp(e)||!(98304&e.flags)&&Dd(e,Dn)}function Dp(e){var n=Tp(e)?Hc(e)[0]:void 0;return n===De||n===He}function Cp(e){return Gp(e)||!!Zs(e,"0")}function Ip(e){return Ap(e)||Cp(e)}function Np(e){return!(240512&e.flags)}function Rp(e){return!!(109440&e.flags)}function kp(n){return!!(16&n.flags)||(1048576&n.flags?!!(1024&n.flags)||e.every(n.types,Rp):Rp(n))}function Op(n){return 1024&n.flags?xo(n):128&n.flags?Re:256&n.flags?ke:2048&n.flags?Oe:512&n.flags?Ge:1048576&n.flags?wl(e.sameMap(n.types,Op)):n}function Pp(n){return 1024&n.flags&&Mu(n)?xo(n):128&n.flags&&Mu(n)?Re:256&n.flags&&Mu(n)?ke:2048&n.flags&&Mu(n)?Oe:512&n.flags&&Mu(n)?Ge:1048576&n.flags?wl(e.sameMap(n.types,Pp)):n}function Mp(n){return 8192&n.flags?Be:1048576&n.flags?wl(e.sameMap(n.types,Mp)):n}function wp(e,n){return Wh(e,n)||(e=Mp(Pp(e))),e}function Fp(e,n,t,r){e&&Rp(e)&&(e=wp(e,n?Kb(t,n,r):void 0));return e}function Gp(n){return!!(4&e.getObjectFlags(n)&&8&n.target.objectFlags)}function Bp(e){return Gp(e)&&!!(8&e.target.combinedFlags)}function Up(e){return Bp(e)&&1===e.target.elementFlags.length}function Vp(e){return Kp(e,e.target.fixedLength)}function jp(n){return Gp(n)?Wc(n)-e.findLastIndex(n.target.elementFlags,(function(e){return!(3&e)}))-1:0}function Kp(e,n,t,r){void 0===t&&(t=0),void 0===r&&(r=!1);var a=Wc(e)-t;if(n<a){for(var i=Hc(e),o=[],s=n;s<a;s++){var c=i[s];o.push(8&e.target.elementFlags[s]?lu(c,ke):c)}return r?Kl(o):wl(o)}}function Hp(e){return"0"===e.value.base10Value}function Wp(e){for(var n=0,t=0,r=e;t<r.length;t++){n|=qp(r[t])}return n}function qp(e){return 1048576&e.flags?Wp(e.types):128&e.flags?""===e.value?128:0:256&e.flags?0===e.value?256:0:2048&e.flags?Hp(e)?2048:0:512&e.flags?e===Pe||e===Me?512:0:117724&e.flags}function zp(e){return 117632&qp(e)?Em(e,(function(e){return!(117632&qp(e))})):e}function Jp(e){return 4&e.flags?xt:8&e.flags?At:64&e.flags?Dt:e===Me||e===Pe||114688&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&Hp(e)?e:Ve}function Xp(e,n){var t=n&~e.flags&98304;return 0===t?e:wl(32768===t?[e,Ae]:65536===t?[e,Ie]:[e,Ae,Ie])}function Yp(n){return e.Debug.assert(q),32768&n.flags?n:wl([n,Ae])}function Qp(e){return q?function(e){return Cn||(Cn=ll("NonNullable",524288,void 0)||he),Cn!==he?zc(Cn,[e]):am(e,2097152)}(e):e}function Zp(e){return q?wl([e,Ce]):e}function $p(e){return e!==Ce}function ef(e){return q?Em(e,$p):e}function nf(n,t,r){return r?e.isOutermostOptionalChain(t)?Yp(n):Zp(n):n}function tf(n,t){return e.isExpressionOfOptionalChainRoot(t)?Qp(n):e.isOptionalChain(t)?ef(n):n}function rf(n){return 2097152&n.flags?e.every(n.types,rf):!(!n.symbol||0==(7040&n.symbol.flags)||jE(n))||!!(2048&e.getObjectFlags(n)&&rf(n.source))}function af(n,t){var r=ur(n.flags,n.escapedName,8&e.getCheckFlags(n));r.declarations=n.declarations,r.parent=n.parent,r.type=t,r.target=n,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration);var a=vr(n).nameType;return a&&(r.nameType=a),r}function of(n){if(!(Ff(n)&&32768&e.getObjectFlags(n)))return n;var t=n.regularType;if(t)return t;var r=n,a=function(n,t){for(var r=e.createSymbolTable(),a=0,i=xs(n);a<i.length;a++){var o=i[a],s=to(o),c=t(s);r.set(o.escapedName,c===s?o:af(o,c))}return r}(n,of),i=wa(r.symbol,a,r.callSignatures,r.constructSignatures,r.stringIndexInfo,r.numberIndexInfo);return i.flags=r.flags,i.objectFlags|=-32769&r.objectFlags,n.regularType=i,i}function sf(e,n,t){return{parent:e,propertyName:n,siblings:t,resolvedProperties:void 0}}function cf(n){if(!n.resolvedProperties){for(var t=new e.Map,r=0,a=function e(n){if(!n.siblings){for(var t=[],r=0,a=e(n.parent);r<a.length;r++){var i=a[r];if(Ff(i)){var o=As(i,n.propertyName);o&&vm(to(o),(function(e){t.push(e)}))}}n.siblings=t}return n.siblings}(n);r<a.length;r++){var i=a[r];if(Ff(i)&&!(1024&e.getObjectFlags(i)))for(var o=0,s=Cs(i);o<s.length;o++){var c=s[o];t.set(c.escapedName,c)}}n.resolvedProperties=e.arrayFrom(t.values())}return n.resolvedProperties}function lf(e,n){if(!(4&e.flags))return e;var t=to(e),r=pf(t,n&&sf(n,e.escapedName,void 0));return r===t?e:af(e,r)}function uf(e){var n=ye.get(e.escapedName);if(n)return n;var t=af(e,Ae);return t.flags|=16777216,ye.set(e.escapedName,t),t}function df(e){return pf(e,void 0)}function pf(n,t){if(1572864&e.getObjectFlags(n)){if(void 0===t&&n.widened)return n.widened;var r=void 0;if(98305&n.flags)r=be;else if(Ff(n))r=function(n,t){for(var r=e.createSymbolTable(),a=0,i=xs(n);a<i.length;a++){var o=i[a];r.set(o.escapedName,lf(o,t))}if(t)for(var s=0,c=cf(t);s<c.length;s++){o=c[s];r.has(o.escapedName)||r.set(o.escapedName,uf(o))}var l=rc(n,0),u=rc(n,1),d=wa(n.symbol,r,e.emptyArray,e.emptyArray,l&&Pc(df(l.type),l.isReadonly),u&&Pc(df(u.type),u.isReadonly));return d.objectFlags|=2113536&e.getObjectFlags(n),d}(n,t);else if(1048576&n.flags){var a=t||sf(void 0,void 0,n.types),i=e.sameMap(n.types,(function(e){return 98304&e.flags?e:pf(e,a)}));r=wl(i,e.some(i,qd)?2:1)}else 2097152&n.flags?r=Kl(e.sameMap(n.types,df)):(Tp(n)||Gp(n))&&(r=Vc(n.target,e.sameMap(Hc(n),df)));return r&&void 0===t&&(n.widened=r),r||n}return n}function ff(n,t,r){var a=$a(df(t));if(!e.isInJSFile(n)||e.isCheckJsEnabledForFile(e.getSourceFileOfNode(n),j)){var i;switch(n.kind){case 213:case 162:case 161:i=Y?e.Diagnostics.Member_0_implicitly_has_an_1_type:e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 159:var o=n;if(e.isIdentifier(o.name)&&(e.isCallSignatureDeclaration(o.parent)||e.isMethodSignature(o.parent)||e.isFunctionTypeNode(o.parent))&&o.parent.parameters.indexOf(o)>-1&&(xr(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o);return void cr(Y,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name))}i=n.dotDotDotToken?Y?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Y?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 195:if(i=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!Y)return;break;case 304:return void or(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 248:case 164:case 163:case 166:case 167:case 205:case 206:if(Y&&!n.name)return void or(n,3===r?e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);i=Y?3===r?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 189:return void(Y&&or(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:i=Y?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}cr(Y,n,i,e.declarationNameToString(e.getNameOfDeclaration(n)),a)}}function mf(n,r,a){!(t&&Y&&524288&e.getObjectFlags(r))||a&&O_(n)||function n(t){var r=!1;if(524288&e.getObjectFlags(t)){if(1048576&t.flags)if(e.some(t.types,qd))r=!0;else for(var a=0,i=t.types;a<i.length;a++){n(d=i[a])&&(r=!0)}if(Tp(t)||Gp(t))for(var o=0,s=Hc(t);o<s.length;o++){n(d=s[o])&&(r=!0)}if(Ff(t))for(var c=0,l=xs(t);c<l.length;c++){var u=l[c],d=to(u);524288&e.getObjectFlags(d)&&(n(d)||or(u.valueDeclaration,e.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,Qa(u),$a(df(d))),r=!0)}}return r}(r)||ff(n,r,a)}function _f(e,n,t){var r=eh(e),a=eh(n),i=rh(e),o=rh(n),s=o?a-1:a,c=i?s:Math.min(r,s),l=vc(e);if(l){var u=vc(n);u&&t(l,u)}for(var d=0;d<c;d++)t(Qy(e,d),Qy(n,d));o&&t($y(e,c),o)}function gf(e,n,t){var r=bc(e),a=bc(n);r&&a&&Fl(r,a)&&r.type&&a.type?t(r.type,a.type):t(Ec(e),Ec(n))}function yf(e,n,t,r){return hf(e.map(Ef),n,t,r||Ld)}function hf(e,n,t,r){var a={inferences:e,signature:n,flags:t,compareTypes:r,mapper:Xu((function(e){return vf(a,e,!0)})),nonFixingMapper:Xu((function(e){return vf(a,e,!1)}))};return a}function vf(e,n,t){for(var r=e.inferences,a=0;a<r.length;a++){var i=r[a];if(n===i.typeParameter)return t&&!i.isFixed&&(bf(r),i.isFixed=!0),Vf(e,a)}return n}function bf(e){for(var n=0,t=e;n<t.length;n++){var r=t[n];r.isFixed||(r.inferredType=void 0)}}function Ef(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function Tf(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed,impliedArity:e.impliedArity}}function Sf(e){return e&&e.mapper}function Lf(n){var t=e.getObjectFlags(n);if(67108864&t)return!!(134217728&t);var r=!!(63176704&n.flags||524288&n.flags&&!xf(n)&&(4&t&&(n.node||e.forEach(Hc(n),Lf))||16&t&&n.symbol&&14384&n.symbol.flags&&n.symbol.declarations||131104&t)||3145728&n.flags&&!(1024&n.flags)&&!xf(n)&&e.some(n.types,Lf));return 3899393&n.flags&&(n.objectFlags|=67108864|(r?134217728:0)),r}function xf(n){if(n.aliasSymbol&&!n.aliasTypeArguments){var t=e.getDeclarationOfKind(n.aliasSymbol,251);return!(!t||!e.findAncestor(t.parent,(function(e){return 294===e.kind||253!==e.kind&&"quit"})))}return!1}function Af(n,t){return!!(n===t||3145728&n.flags&&e.some(n.types,(function(e){return Af(e,t)}))||16777216&n.flags&&(Af(gu(n),t)||Af(yu(n),t)))}function Df(n,t,r){if(!ht){var a=n.id+","+t.id+","+r.id;if(yt.has(a))return yt.get(a);ht=!0;var i=function(n,t,r){if(!(rc(n,0)||0!==Cs(n).length&&function n(t){return!(2097152&e.getObjectFlags(t))||Ff(t)&&e.some(Cs(t),(function(e){return n(to(e))}))}(n)))return;if(Tp(n))return vl(Cf(Hc(n)[0],t,r),Sp(n));if(Gp(n)){var a=e.map(Hc(n),(function(e){return Cf(e,t,r)})),i=4&bs(t)?e.sameMap(n.target.elementFlags,(function(e){return 2&e?1:e})):n.target.elementFlags;return xl(a,i,n.target.readonly,n.target.labeledElementDeclarations)}var o=Ra(2064,void 0);return o.source=n,o.mappedType=t,o.constraintType=r,o}(n,t,r);return ht=!1,yt.set(a,i),i}}function Cf(e,n,t){var r=lu(t.type,ms(n)),a=gs(n),i=Ef(r);return Pf([i],e,a),Rf(i)||xe}function If(n,t,r,a){var i,o,s,c,u,d,p;return l(this,(function(l){switch(l.label){case 0:i=Cs(t),o=0,s=i,l.label=1;case 1:return o<s.length?Fo(c=s[o])||!r&&(16777216&c.flags||48&e.getCheckFlags(c))?[3,5]:(u=Zs(n,c.escapedName))?[3,3]:[4,c]:[3,6];case 2:return l.sent(),[3,5];case 3:return a&&109440&(d=to(c)).flags?1&(p=to(u)).flags||Pu(p)===Pu(d)?[3,5]:[4,c]:[3,5];case 4:l.sent(),l.label=5;case 5:return o++,[3,1];case 6:return[2]}}))}function Nf(e,n,t,r){var a=If(e,n,t,r).next();if(!a.done)return a.value}function Rf(e){return e.candidates?wl(e.candidates,2):e.contraCandidates?Kl(e.contraCandidates):void 0}function kf(e){return!!br(e).skipDirectInference}function Of(n){return!(!n.symbol||!e.some(n.symbol.declarations,kf))}function Pf(n,t,r,a,i){var o,s;void 0===a&&(a=0),void 0===i&&(i=!1);var c,l=!1,u=1024,d=!0,p=0,f=[];function m(t,o){if(Lf(o)){if(t===Te){var s=c;return c=t,m(o,o),void(c=s)}if(t.aliasSymbol&&t.aliasTypeArguments&&t.aliasSymbol===o.aliasSymbol)h(t.aliasTypeArguments,o.aliasTypeArguments,op(t.aliasSymbol));else if(t===o&&3145728&t.flags)for(var p=0,f=t.types;p<f.length;p++){var v=f[p];m(v,v)}else{if(1048576&o.flags){var S=y(1048576&t.flags?t.types:[t],o.types,Mf),L=y(S[0],S[1],wf),x=L[0];if(0===(D=L[1]).length)return;if(o=wl(D),0===x.length)return void _(t,o,1);t=wl(x)}else if(2097152&o.flags&&e.some(o.types,(function(e){return!!b(e)||Ss(e)&&!!b(od(e)||Ve)}))){if(!(1048576&t.flags)){var A=y(2097152&t.flags?t.types:[t],o.types,Td),D=(x=A[0],A[1]);if(0===x.length||0===D.length)return;t=Kl(x),o=Kl(D)}}else 41943040&o.flags&&(o=mu(o));if(8650752&o.flags){if(2097152&e.getObjectFlags(t)||t===Le||t===je||64&a&&(t===Ee||t===An)||Of(t))return;var C=b(o);if(C){if(!C.isFixed){if((void 0===C.priority||a<C.priority)&&(C.candidates=void 0,C.contraCandidates=void 0,C.topLevel=!0,C.priority=a),a===C.priority){var I=c||t;i&&!l?e.contains(C.contraCandidates,I)||(C.contraCandidates=e.append(C.contraCandidates,I),bf(n)):e.contains(C.candidates,I)||(C.candidates=e.append(C.candidates,I),bf(n))}!(64&a)&&262144&o.flags&&C.topLevel&&!Af(r,o)&&(C.topLevel=!1,bf(n))}return void(u=Math.min(u,a))}if((F=iu(o,!1))!==o)g(t,F,m);else if(8388608&o.flags){var N=iu(o.indexType,!1);if(63176704&N.flags){var R=ou(iu(o.objectType,!1),N,!1);R&&R!==o&&g(t,R,m)}}}if(!(4&e.getObjectFlags(t)&&4&e.getObjectFlags(o)&&(t.target===o.target||Tp(t)&&Tp(o)))||t.node&&o.node)if(4194304&t.flags&&4194304&o.flags)i=!i,m(t.type,o.type),i=!i;else if((kp(t)||4&t.flags)&&4194304&o.flags){var k=function(n){var t=e.createSymbolTable();vm(n,(function(n){if(128&n.flags){var r=e.escapeLeadingUnderscores(n.value),a=ur(4,r);a.type=be,n.symbol&&(a.declarations=n.symbol.declarations,a.valueDeclaration=n.symbol.valueDeclaration),t.set(r,a)}}));var r=4&n.flags?Pc(Ze,!1):void 0;return wa(void 0,t,e.emptyArray,e.emptyArray,r,void 0)}(t);i=!i,_(k,o.type,128),i=!i}else if(8388608&t.flags&&8388608&o.flags)m(t.objectType,o.objectType),m(t.indexType,o.indexType);else if(16777216&t.flags&&16777216&o.flags)m(t.checkType,o.checkType),m(t.extendsType,o.extendsType),m(gu(t),gu(o)),m(yu(t),yu(o));else if(16777216&o.flags){var O=a;a|=i?32:0,E(t,[gu(o),yu(o)],o.flags),a=O}else if(3145728&o.flags)E(t,o.types,o.flags);else if(1048576&t.flags)for(var P=0,M=t.types;P<M.length;P++){m(M[P],o)}else{if(t=zs(t),!(256&a&&65273856&t.flags)){var w=js(t);if(w!==t&&d&&!(2621440&w.flags))return d=!1,m(w,o);t=w}2621440&t.flags&&g(t,o,T)}else h(Hc(t),Hc(o),cp(t.target));var F;if(25165824&t.flags)(F=iu(t,i))!==t&&m(F,o)}}}function _(e,n,t){var r=a;a|=t,m(e,n),a=r}function g(n,t,r){var a=n.id+","+t.id,i=s&&s.get(a);if(void 0===i){(s||(s=new e.Map)).set(a,-1);var o=u;u=1024,r(n,t),s.set(a,u),u=Math.min(u,o)}else u=Math.min(u,i)}function y(n,t,r){for(var a,i,o=0,s=t;o<s.length;o++)for(var c=s[o],l=0,u=n;l<u.length;l++){var d=u[l];r(d,c)&&(m(d,c),a=e.appendIfUnique(a,d),i=e.appendIfUnique(i,c))}return[a?e.filter(n,(function(n){return!e.contains(a,n)})):n,i?e.filter(t,(function(n){return!e.contains(i,n)})):t]}function h(e,n,t){for(var r=e.length<n.length?e.length:n.length,a=0;a<r;a++)a<t.length&&2==(7&t[a])?v(e[a],n[a]):m(e[a],n[a])}function v(e,n){z||512&a?(i=!i,m(e,n),i=!i):m(e,n)}function b(e){if(8650752&e.flags)for(var t=0,r=n;t<r.length;t++){var a=r[t];if(e===a.typeParameter)return a}}function E(n,t,r){var i=0;if(1048576&r){for(var o=void 0,s=1048576&n.flags?n.types:[n],c=new Array(s.length),l=!1,d=0,p=t;d<p.length;d++){if(b(L=p[d]))o=L,i++;else for(var f=0;f<s.length;f++){var g=u;u=1024,m(s[f],L),u===a&&(c[f]=!0),l=l||-1===u,u=Math.min(u,g)}}if(0===i){var y=function(n){for(var t,r=0,a=n;r<a.length;r++){var i=a[r],o=2097152&i.flags&&e.find(i.types,(function(e){return!!b(e)}));if(!o||t&&o!==t)return;t=o}return t}(t);return void(y&&_(n,y,1))}if(1===i&&!l){var h=e.flatMap(s,(function(e,n){return c[n]?void 0:e}));if(h.length)return void m(wl(h),o)}}else for(var v=0,E=t;v<E.length;v++){b(L=E[v])?i++:m(n,L)}if(2097152&r?1===i:i>0)for(var T=0,S=t;T<S.length;T++){var L;b(L=S[T])&&_(n,L,1)}}function T(n,t){var r=524288&t.flags&&!(16&e.getObjectFlags(t)&&t.symbol&&32&t.symbol.flags),a=4&e.getObjectFlags(t)&&t.node?$d(t,!1):r?Gp(t)?t.target:t.symbol:void 0;if(a){if(e.contains(o,a)){if(4&e.getObjectFlags(t)&&t.node)return;return void(u=-1)}if(f[p]=t,p++,gp(t,f,p))return u=-1,void p--;(o||(o=[])).push(a),S(n,t),o.pop(),p--}else S(n,t)}function S(n,t){if(4&e.getObjectFlags(n)&&4&e.getObjectFlags(t)&&(n.target===t.target||Tp(n)&&Tp(t)))h(Hc(n),Hc(t),cp(n.target));else{var r,a;if(Ss(n)&&Ss(t)&&(m(_s(n),_s(t)),m(gs(n),gs(t))),32&e.getObjectFlags(t))if(function n(t,r,a){if(1048576&a.flags){for(var i=!1,o=0,s=a.types;o<s.length;o++){i=n(t,r,s[o])||i}return i}if(4194304&a.flags){var c=b(a.type);if(c&&!c.isFixed&&!Of(t)){var l=Df(t,r,a);l&&_(l,c.typeParameter,2097152&e.getObjectFlags(t)?8:4)}return!0}if(262144&a.flags){_(Xl(t),a,16);var u=Is(a);if(u&&n(t,r,u))return!0;var d=e.map(Cs(t),to),p=ac(t,0),f=Jl(t),g=f&&f.type;return m(wl(e.append(e.append(d,p),g)),gs(r)),!0}return!1}(n,t,_s(t)))return;if(!function(e,n){return Gp(e)&&Gp(n)?function(e,n){return!(8&n.target.combinedFlags)&&n.target.minLength>e.target.minLength||!n.target.hasRestElement&&(e.target.hasRestElement||n.target.fixedLength<e.target.fixedLength)}(e,n):!!Nf(e,n,!1,!0)&&!!Nf(n,e,!1,!0)}(n,t)){if(Tp(n)||Gp(n)){if(Gp(t)){var i=Wc(n),o=Wc(t),s=Hc(t),c=t.target.elementFlags;if(Gp(n)&&(a=t,Wc(r=n)===Wc(a)&&e.every(r.target.elementFlags,(function(e,n){return(12&e)==(12&a.target.elementFlags[n])})))){for(var l=0;l<o;l++)m(Hc(n)[l],s[l]);return}var u=Gp(n)?Math.min(n.target.fixedLength,t.target.fixedLength):0,d=!Gp(n)||i>0&&4&n.target.elementFlags[i-1]?Hc(n)[i-1]:void 0,p=12&t.target.combinedFlags?d?jp(t):Math.min(jp(n),jp(t)):0,f=d?0:p;for(l=0;l<u;l++)m(Hc(n)[l],s[l]);if(d&&i-u==1)for(l=u;l<o-p;l++)m(8&c[l]?vl(d):d,s[l]);else{var g=o-u-p;if(2===g&&c[u]&c[u+1]&8&&Gp(n)){var y=b(s[u]);y&&void 0!==y.impliedArity&&(m(Cl(n,u,f+i-y.impliedArity),s[u]),m(Cl(n,u+y.impliedArity,f),s[u+1]))}else if(1===g&&8&c[u]){var v=2&t.target.elementFlags[o-1];_(Gp(n)?Cl(n,u,f):vl(d),s[u],v?2:0)}else if(1===g&&4&c[u]){var E=Gp(n)?Kp(n,u,f):d;E&&m(E,s[u])}}for(l=0;l<p;l++)m(d||Hc(n)[i-l-1],s[o-l-1]);return}if(Tp(t))return void A(n,t)}!function(e,n){for(var t=xs(n),r=0,a=t;r<a.length;r++){var i=a[r],o=Zs(e,i.escapedName);o&&m(to(o),to(i))}}(n,t),L(n,t,0),L(n,t,1),A(n,t)}}}function L(n,t,r){for(var a=ec(n,r),i=ec(t,r),o=a.length,s=i.length,c=o<s?o:s,l=!!(2097152&e.getObjectFlags(n)),u=0;u<c;u++)x(Nc(a[o-c+u]),Cc(i[s-c+u]),l)}function x(e,n,t){if(!t){var r=l,a=n.declaration?n.declaration.kind:0;l=l||164===a||163===a||165===a,_f(e,n,v),l=r}gf(e,n,m)}function A(e,n){var t=ac(n,0);t&&((r=ac(e,0)||ic(e,0))&&m(r,t));var r,a=ac(n,1);a&&((r=ac(e,1)||ac(e,0)||ic(e,1))&&m(r,a))}m(t,r)}function Mf(e,n){return Td(e,n)||!!(4&n.flags&&128&e.flags||8&n.flags&&256&e.flags)}function wf(e,n){return!!(524288&e.flags&&524288&n.flags&&e.symbol&&e.symbol===n.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===n.aliasSymbol)}function Ff(n){return!!(128&e.getObjectFlags(n))}function Gf(n){return!!(65664&e.getObjectFlags(n))}function Bf(n){return 208&n.priority?Kl(n.contraCandidates):(t=n.contraCandidates,e.reduceLeft(t,(function(e,n){return Ad(n,e)?n:e})));var t}function Uf(n,t){var r,a,i=function(n){if(n.length>1){var t=e.filter(n,Gf);if(t.length){var r=wl(t,2);return e.concatenate(e.filter(n,(function(e){return!Gf(e)})),[r])}}return n}(n.candidates),o=(r=n.typeParameter,!!(a=Ns(r))&&Ch(16777216&a.flags?ks(a):a,4325372)),s=!o&&n.topLevel&&(n.isFixed||!Af(Ec(t),n.typeParameter)),c=o?e.sameMap(i,Pu):s?e.sameMap(i,Pp):i;return df(208&n.priority?wl(c,2):function(n){if(!q)return Ep(n);var t=e.filter(n,(function(e){return!(98304&e.flags)}));return t.length?Xp(Ep(t),98304&Wp(n)):wl(n,2)}(c))}function Vf(n,t){var r=n.inferences[t];if(!r.inferredType){var a=void 0,i=n.signature;if(i){var o=r.candidates?Uf(r,i):void 0;if(r.contraCandidates){var s=Bf(r);a=!o||131072&o.flags||!Ad(o,s)?s:o}else if(o)a=o;else if(1&n.flags)a=je;else{var c=Us(r.typeParameter);c&&(a=pd(c,$u(function(n,t){return Xu((function(r){return e.findIndex(n.inferences,(function(e){return e.typeParameter===r}))>=t?xe:r}))}(n,t),n.nonFixingMapper)))}}else a=Rf(r);r.inferredType=a||jf(!!(2&n.flags));var l=Ns(r.typeParameter);if(l){var u=pd(l,n.nonFixingMapper);a&&n.compareTypes(a,Xo(u,a))||(r.inferredType=a=u)}}return r.inferredType}function jf(e){return e?be:xe}function Kf(e){for(var n=[],t=0;t<e.inferences.length;t++)n.push(Vf(e,t));return n}function Hf(n){switch(n.escapedText){case"document":case"console":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return j.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery;case"describe":case"suite":case"it":case"test":return j.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha;case"process":case"require":case"Buffer":case"module":return j.types?e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode;case"Map":case"Set":case"Promise":case"Symbol":case"WeakMap":case"WeakSet":case"Iterator":case"AsyncIterator":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later;default:return 286===n.parent.kind?e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:e.Diagnostics.Cannot_find_name_0}}function Wf(n){var t=br(n);return t.resolvedSymbol||(t.resolvedSymbol=!e.nodeIsMissing(n)&&xr(n,n.escapedText,1160127,Hf(n),n,!e.isWriteOnlyAccess(n),!1,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1)||he),t.resolvedSymbol}function qf(n){return!!e.findAncestor(n,(function(e){return 175===e.kind||78!==e.kind&&156!==e.kind&&"quit"}))}function zf(n,t){switch(t.kind){case 204:case 222:return zf(n,t.expression);case 213:return e.isAssignmentExpression(t)&&zf(n,t.left)}switch(n.kind){case 78:return 78===t.kind&&Wf(n)===Wf(t)||(246===t.kind||195===t.kind)&&xa(Wf(n))===va(t);case 107:return 107===t.kind;case 105:return 105===t.kind;case 222:case 204:return zf(n.expression,t);case 198:case 199:return e.isAccessExpression(t)&&Jf(n)===Jf(t)&&zf(n.expression,t.expression)}return!1}function Jf(n){return 198===n.kind?n.name.escapedText:e.isStringOrNumericLiteralLike(n.argumentExpression)?e.escapeLeadingUnderscores(n.argumentExpression.text):void 0}function Xf(n,t){for(;e.isAccessExpression(n);)if(zf(n=n.expression,t))return!0;return!1}function Yf(n,t){for(;e.isOptionalChain(n);)if(zf(n=n.expression,t))return!0;return!1}function Qf(n,t){if(n&&1048576&n.flags){var r=Ws(n,t);if(r&&2&e.getCheckFlags(r))return void 0===r.isDiscriminantProperty&&(r.isDiscriminantProperty=192==(192&r.checkFlags)&&!Ch(to(r),63176704)),!!r.isDiscriminantProperty}return!1}function Zf(e,n){for(var t,r=0,a=e;r<a.length;r++){var i=a[r];if(Qf(n,i.escapedName)){if(t){t.push(i);continue}t=[i]}}return t}function $f(e,n){return zf(e,n)||Xf(e,n)}function em(e){return(!e.id||e.id<0)&&(e.id=f,f++),e.id}function nm(e,n){if(e!==n){if(131072&n.flags)return n;var t=Em(e,(function(e){return function(e,n){if(!(1048576&e.flags))return Dd(e,n);for(var t=0,r=e.types;t<r.length;t++){if(Dd(r[t],n))return!0}return!1}(n,e)}));if(512&n.flags&&Mu(n)&&(t=Sm(t,Ou)),Dd(n,t))return t}return e}function tm(e){var n=Ls(e);return!!(n.callSignatures.length||n.constructSignatures.length||n.members.get("bind")&&Ad(e,_n))}function rm(n){var t=n.flags;if(4&t)return q?16317953:16776705;if(128&t){var r=""===n.value;return q?r?12123649:7929345:r?12582401:16776705}if(40&t)return q?16317698:16776450;if(256&t){var a=0===n.value;return q?a?12123394:7929090:a?12582146:16776450}if(64&t)return q?16317188:16775940;if(2048&t){a=Hp(n);return q?a?12122884:7928580:a?12581636:16775940}return 16&t?q?16316168:16774920:528&t?q?n===Pe||n===Me?12121864:7927560:n===Pe||n===Me?12580616:16774920:524288&t?16&e.getObjectFlags(n)&&qd(n)?q?16318463:16777215:tm(n)?q?7880640:16728e3:q?7888800:16736160:49152&t?9830144:65536&t?9363232:12288&t?q?7925520:16772880:67108864&t?q?7888800:16736160:131072&t?0:63176704&t?rm(Ms(n)||xe):3145728&t?function(e){for(var n=0,t=0,r=e;t<r.length;t++){n|=rm(r[t])}return n}(n.types):16777215}function am(e,n){return Em(e,(function(e){return 0!=(rm(e)&n)}))}function im(e,n){if(n){var t=tv(n);return wl([am(e,524288),t])}return e}function om(e,n){var t=Wl(n);if(!Bo(t))return Se;var r=Ho(t);return Xm(yi(e,r),n)||U_(r)&&ac(e,1)||ac(e,0)||Se}function sm(e,n){return bm(e,Cp)&&function(e,n){var t=yi(e,""+n);return t||(bm(e,Gp)?Sm(e,(function(e){return Vp(e)||Ae})):void 0)}(e,n)||bb(65,e,Ae,void 0)||Se}function cm(e){return vl(bb(65,e,Ae,void 0)||Se)}function lm(e){return 213===e.parent.kind&&e.parent.left===e||236===e.parent.kind&&e.parent.initializer===e}function um(e){return om(dm(e.parent),e.name)}function dm(e){var n=e.parent;switch(n.kind){case 235:return Re;case 236:return vb(n)||Se;case 213:return function(e){return 196===e.parent.kind&&lm(e.parent)||285===e.parent.kind&&lm(e.parent.parent)?im(dm(e),e.right):tv(e.right)}(n);case 207:return Ae;case 196:return function(e,n){return sm(dm(e),e.elements.indexOf(n))}(n,e);case 217:return function(e){return cm(dm(e.parent))}(n);case 285:return um(n);case 286:return function(e){return im(um(e),e.objectAssignmentInitializer)}(n)}return Se}function pm(e){return br(e).resolvedType||tv(e)}function fm(e){return 246===e.kind?function(e){return e.initializer?pm(e.initializer):235===e.parent.parent.kind?Re:236===e.parent.parent.kind&&vb(e.parent.parent)||Se}(e):function(e){var n=e.parent,t=fm(n.parent);return im(193===n.kind?om(t,e.propertyName||e.name):e.dotDotDotToken?cm(t):sm(t,n.elements.indexOf(e)),e.initializer)}(e)}function mm(e){switch(e.kind){case 204:return mm(e.expression);case 213:switch(e.operatorToken.kind){case 62:case 74:case 75:case 76:return mm(e.left);case 27:return mm(e.right)}}return e}function _m(e){return 281===e.kind?Pu(tv(e.expression)):Ve}function gm(e){var n=br(e);if(!n.switchTypes){n.switchTypes=[];for(var t=0,r=e.caseBlock.clauses;t<r.length;t++){var a=r[t];n.switchTypes.push(_m(a))}}return n.switchTypes}function ym(n,t){for(var r=[],a=0,i=n.caseBlock.clauses;a<i.length;a++){var o=i[a];if(281===o.kind){if(e.isStringLiteralLike(o.expression)){r.push(o.expression.text);continue}return e.emptyArray}t&&r.push(void 0)}return r}function hm(e,n){return e===n||1048576&n.flags&&function(e,n){if(1048576&e.flags){for(var t=0,r=e.types;t<r.length;t++){var a=r[t];if(!Rl(n.types,a))return!1}return!0}if(1024&e.flags&&xo(e)===n)return!0;return Rl(n.types,e)}(e,n)}function vm(n,t){return 1048576&n.flags?e.forEach(n.types,t):t(n)}function bm(n,t){return 1048576&n.flags?e.every(n.types,t):t(n)}function Em(n,t){if(1048576&n.flags){var r=n.types,a=e.filter(r,t);return a===r?n:Gl(a,n.objectFlags)}return 131072&n.flags||t(n)?n:Ve}function Tm(e){return 1048576&e.flags?e.types.length:1}function Sm(e,n,t){if(131072&e.flags)return e;if(!(1048576&e.flags))return n(e);for(var r,a=0,i=e.types;a<i.length;a++){var o=n(i[a]);o&&(r?r.push(o):r=[o])}return r&&wl(r,t?0:1)}function Lm(e,n){return Em(e,(function(e){return 0!=(e.flags&n)}))}function xm(e,n){return hm(Re,e)&&Ch(n,128)||hm(ke,e)&&Ch(n,256)||hm(Oe,e)&&Ch(n,2048)?Sm(e,(function(e){return 4&e.flags?Lm(n,132):8&e.flags?Lm(n,264):64&e.flags?Lm(n,2112):e})):e}function Am(e){return 0===e.flags}function Dm(e){return 0===e.flags?e.type:e}function Cm(e,n){return n?{flags:0,type:131072&e.flags?je:e}:e}function Im(e){return ge[e.id]||(ge[e.id]=function(e){var n=Ra(256);return n.elementType=e,n}(e))}function Nm(e,n){var t=of(Op(av(n)));return hm(t,e.elementType)?e:Im(wl([e.elementType,t]))}function Rm(e){return e.finalArrayType||(e.finalArrayType=131072&(n=e.elementType).flags?An:vl(1048576&n.flags?wl(n.types,2):n));var n}function km(n){return 256&e.getObjectFlags(n)?Rm(n):n}function Om(n){return 256&e.getObjectFlags(n)?n.elementType:Ve}function Pm(n,t){return function(n){for(var t=!1,r=0,a=n;r<a.length;r++){var i=a[r];if(!(131072&i.flags)){if(!(256&e.getObjectFlags(i)))return!1;t=!0}}return t}(n)?Im(wl(e.map(n,Om))):wl(e.sameMap(n,km),t)}function Mm(n){var t=function e(n){var t=n.parent;return 204===t.kind||213===t.kind&&62===t.operatorToken.kind&&t.left===n||213===t.kind&&27===t.operatorToken.kind&&t.right===n?e(t):n}(n),r=t.parent,a=e.isPropertyAccessExpression(r)&&("length"===r.name.escapedText||200===r.parent.kind&&e.isIdentifier(r.name)&&e.isPushOrUnshiftIdentifier(r.name)),i=199===r.kind&&r.expression===t&&213===r.parent.kind&&62===r.parent.operatorToken.kind&&r.parent.left===r&&!e.isAssignmentTarget(r.parent)&&Ih(tv(r.argumentExpression),296);return a||i}function wm(n,t){if(8752&n.flags)return to(n);if(7&n.flags){var r=n.valueDeclaration;if(r){if(function(n){return(246===n.kind||159===n.kind||162===n.kind||161===n.kind)&&!!e.getEffectiveTypeAnnotationNode(n)}(r))return to(n);if(e.isVariableDeclaration(r)&&236===r.parent.parent.kind){var a=r.parent.parent,i=Fm(a.expression,void 0);if(i)return bb(a.awaitModifier?15:13,i,Ae,void 0)}t&&e.addRelatedInfo(t,e.createDiagnosticForNode(r,e.Diagnostics._0_needs_an_explicit_type_annotation,Qa(n)))}}}function Fm(n,t){if(!(16777216&n.flags))switch(n.kind){case 78:var r=xa(Wf(n));return wm(2097152&r.flags?Xr(r):r,t);case 107:return function(n){var t=e.getThisContainer(n,!1);if(e.isFunctionLike(t)){var r=_c(t);if(r.thisParameter)return wm(r.thisParameter)}if(e.isClassLike(t.parent)){var a=va(t.parent);return e.hasSyntacticModifier(t,32)?to(a):Io(a).thisType}}(n);case 105:return i_(n);case 198:var a=Fm(n.expression,t),i=a&&Zs(a,n.name.escapedText);return i&&wm(i,t);case 204:return Fm(n.expression,t)}}function Gm(n){var t=br(n),r=t.effectsSignature;if(void 0===r){var a=void 0;230===n.parent.kind?a=Fm(n.expression,void 0):105!==n.expression.kind&&(a=e.isOptionalChain(n)?Tg(tf(iv(n.expression),n.expression),n.expression):gg(n.expression));var i=ec(a&&js(a)||xe,0),o=1!==i.length||i[0].typeParameters?e.some(i,Bm)?ky(n):void 0:i[0];r=t.effectsSignature=o&&Bm(o)?o:ot}return r===ot?void 0:r}function Bm(e){return!!(bc(e)||e.declaration&&131072&(Tc(e.declaration)||xe).flags)}function Um(n){var t=function n(t,r){for(;;){if(t===Qn)return Zn;var a=t.flags;if(4096&a){if(!r){var i=em(t),o=Vt[i];return void 0!==o?o:Vt[i]=n(t,!0)}r=!1}if(368&a)t=t.antecedent;else if(512&a){var s=Gm(t.node);if(s){var c=bc(s);if(c&&3===c.kind&&!c.type){var l=t.node.arguments[c.parameterIndex];if(l&&Vm(l))return!1}if(131072&Ec(s).flags)return!1}t=t.antecedent}else{if(4&a)return e.some(t.antecedents,(function(e){return n(e,!1)}));if(8&a)t=t.antecedents[0];else{if(!(128&a)){if(1024&a){Qn=void 0;var u=t.target,d=u.antecedents;u.antecedents=t.antecedents;var p=n(t.antecedent,!1);return u.antecedents=d,p}return!(1&a)}if(t.clauseStart===t.clauseEnd&&gh(t.switchStatement))return!1;t=t.antecedent}}}}(n,!1);return Qn=n,Zn=t,t}function Vm(n){var t=e.skipParentheses(n);return 94===t.kind||213===t.kind&&(55===t.operatorToken.kind&&(Vm(t.left)||Vm(t.right))||56===t.operatorToken.kind&&Vm(t.left)&&Vm(t.right))}function jm(n,t,r,a,i){var o;void 0===r&&(r=t);var s=!1,c=0;if(St)return Se;if(!n.flowNode||!i&&!(133970943&t.flags))return t;Lt++;var l=Tt,u=Dm(f(n.flowNode));Tt=l;var d=256&e.getObjectFlags(u)&&Mm(n)?An:km(u);return d===We||n.parent&&222===n.parent.kind&&131072&am(d,2097152).flags?t:d;function p(){return s?o:(s=!0,o=function e(n,t,r,a){switch(n.kind){case 78:var i=Wf(n);return i!==he?(a?R(a):"-1")+"|"+Nl(t)+"|"+Nl(r)+"|"+(zm(n)?"@":"")+k(i):void 0;case 107:return"0|"+(a?R(a):"-1")+"|"+Nl(t)+"|"+Nl(r);case 222:case 204:return e(n.expression,t,r,a);case 198:case 199:var o=Jf(n);if(void 0!==o){var s=e(n.expression,t,r,a);return s&&s+"."+o}}}(n,t,r,a))}function f(i){if(2e3===c)return St=!0,o=n,s=e.findAncestor(o,e.isFunctionOrModuleBlock),u=e.getSourceFileOfNode(o),d=e.getSpanOfTokenAtPosition(u,s.statements.pos),zt.add(e.createFileDiagnostic(u,d.start,d.length,e.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),Se;var o,s,u,d;for(c++;;){var p=i.flags;if(4096&p)for(var m=l;m<Tt;m++)if(Bt[m]===i)return c--,Ut[m];var T=void 0;if(16&p){if(!(T=_(i))){i=i.antecedent;continue}}else if(512&p){if(!(T=g(i))){i=i.antecedent;continue}}else if(96&p)T=h(i);else if(128&p)T=v(i);else if(12&p){if(1===i.antecedents.length){i=i.antecedents[0];continue}T=4&p?b(i):E(i)}else if(256&p){if(!(T=y(i))){i=i.antecedent;continue}}else if(1024&p){var S=i.target,L=S.antecedents;S.antecedents=i.antecedents,T=f(i.antecedent),S.antecedents=L}else if(2&p){var x=i.node;if(x&&x!==a&&198!==n.kind&&199!==n.kind&&107!==n.kind){i=x.flowNode;continue}T=r}else T=sb(t);return 4096&p&&(Bt[Tt]=i,Ut[Tt]=T,Tt++),c--,T}}function m(e){var t=e.node;return Xm(246===t.kind||195===t.kind?fm(t):dm(t),n)}function _(r){var a=r.node;if(zf(n,a)){if(!Um(r))return We;if(2===e.getAssignmentTargetKind(a)){var i=f(r.antecedent);return Cm(Op(Dm(i)),Am(i))}if(t===Ee||t===An){if(function(e){return 246===e.kind&&e.initializer&&Ai(e.initializer)||195!==e.kind&&213===e.parent.kind&&Ai(e.parent.right)}(a))return Im(Ve);var o=Pp(m(r));return Dd(o,t)?o:xn}return 1048576&t.flags?nm(t,m(r)):t}if(Xf(n,a)){if(!Um(r))return We;if(e.isVariableDeclaration(a)&&(e.isInJSFile(a)||e.isVarConst(a))){var s=e.getDeclaredExpandoInitializer(a);if(s&&(205===s.kind||206===s.kind))return f(r.antecedent)}return t}if(e.isVariableDeclaration(a)&&235===a.parent.parent.kind&&zf(n,a.parent.parent.expression))return hg(Dm(f(r.antecedent)))}function g(n){var t=Gm(n.node);if(t){var r=bc(t);if(r&&(2===r.kind||3===r.kind)){var a=f(n.antecedent),i=km(Dm(a)),o=r.type?j(i,r,n.node,!0):3===r.kind&&r.parameterIndex>=0&&r.parameterIndex<n.node.arguments.length?function n(t,r){var a=e.skipParentheses(r);if(94===a.kind)return We;if(213===a.kind){if(55===a.operatorToken.kind)return n(n(t,a.left),a.right);if(56===a.operatorToken.kind)return wl([n(t,a.left),n(t,a.right)])}return K(t,a,!0)}(i,n.node.arguments[r.parameterIndex]):i;return o===i?a:Cm(o,Am(a))}if(131072&Ec(t).flags)return We}}function y(r){if(t===Ee||t===An){var a=r.node,i=200===a.kind?a.expression.expression:a.left.expression;if(zf(n,mm(i))){var o=f(r.antecedent),s=Dm(o);if(256&e.getObjectFlags(s)){var c=s;if(200===a.kind)for(var l=0,u=a.arguments;l<u.length;l++){c=Nm(c,u[l])}else Ih(av(a.left.argumentExpression),296)&&(c=Nm(c,a.right));return c===s?o:Cm(c,Am(o))}return o}}}function h(e){var n=f(e.antecedent),t=Dm(n);if(131072&t.flags)return n;var r=0!=(32&e.flags),a=km(t),i=K(a,e.node,r);return i===a?n:Cm(i,Am(n))}function v(t){var r=t.switchStatement.expression,a=f(t.antecedent),i=Dm(a);return zf(n,r)?i=M(i,t.switchStatement,t.clauseStart,t.clauseEnd):208===r.kind&&zf(n,r.expression)?i=function(n,t,r,a){var i=ym(t,!0);if(!i.length)return n;var o,s,c=e.findIndex(i,(function(e){return void 0===e})),l=r===a||c>=r&&c<a;if(c>-1){var u=i.filter((function(e){return void 0!==e})),d=c<r?r-1:r,p=c<a?a-1:a;o=u.slice(d,p),s=_h(d,p,u,l)}else o=i.slice(r,a),s=_h(r,a,i,l);if(l)return Em(n,(function(e){return(rm(e)&s)===s}));var f=am(wl(o.map((function(e){return w(n,e)||n}))),s);return am(Sm(n,F(f)),s)}(i,t.switchStatement,t.clauseStart,t.clauseEnd):(q&&(Yf(r,n)?i=P(i,t.switchStatement,t.clauseStart,t.clauseEnd,(function(e){return!(163840&e.flags)})):208===r.kind&&Yf(r.expression,n)&&(i=P(i,t.switchStatement,t.clauseStart,t.clauseEnd,(function(e){return!(131072&e.flags||128&e.flags&&"undefined"===e.value)})))),T(r,i)&&(i=x(i,r,(function(e){return M(e,t.switchStatement,t.clauseStart,t.clauseEnd)})))),Cm(i,Am(a))}function b(n){for(var a,i=[],o=!1,s=!1,c=0,l=n.antecedents;c<l.length;c++){var u=l[c];if(!a&&128&u.flags&&u.clauseStart===u.clauseEnd)a=u;else{if((p=Dm(d=f(u)))===t&&t===r)return p;e.pushIfUnique(i,p),hm(p,t)||(o=!0),Am(d)&&(s=!0)}}if(a){var d,p=Dm(d=f(a));if(!e.contains(i,p)&&!gh(a.switchStatement)){if(p===t&&t===r)return p;i.push(p),hm(p,t)||(o=!0),Am(d)&&(s=!0)}}return Cm(Pm(i,o?2:1),s)}function E(n){var r=em(n),a=Mt[r]||(Mt[r]=new e.Map),i=p();if(!i)return t;var o=a.get(i);if(o)return o;for(var s=bt;s<Et;s++)if(wt[s]===n&&Ft[s]===i&&Gt[s].length)return Cm(Pm(Gt[s],1),!0);for(var c,l=[],u=!1,d=0,m=n.antecedents;d<m.length;d++){var _=m[d],g=void 0;if(c){wt[Et]=n,Ft[Et]=i,Gt[Et]=l,Et++;var y=$n;$n=void 0,g=f(_),$n=y,Et--;var h=a.get(i);if(h)return h}else g=c=f(_);var v=Dm(g);if(e.pushIfUnique(l,v),hm(v,t)||(u=!0),v===t)break}var b=Pm(l,u?2:1);return Am(c)?Cm(b,!0):(a.set(i,b),b)}function T(r,a){var i=1048576&t.flags?t:a;if(!(1048576&i.flags&&e.isAccessExpression(r)))return!1;var o=Jf(r);return void 0!==o&&(zf(n,r.expression)&&Qf(i,o))}function x(e,n,t){var r=Jf(n);if(void 0===r)return e;var a=yi(e,r);if(!a)return e;var i=t(a);return Em(e,(function(e){var n=function(e,n){return yi(e,n)||U_(n)&&ac(e,1)||ac(e,0)||xe}(e,r);return!(131072&n.flags)&&Id(n,i)}))}function A(e,t,r){return zf(n,t)?am(e,r?4194304:8388608):(q&&r&&Yf(t,n)&&(e=am(e,2097152)),T(t,e)?x(e,t,(function(e){return am(e,r?4194304:8388608)})):e)}function D(n,t,r){if(1572864&n.flags||au(n)||2097152&n.flags&&e.every(n.types,(function(e){return e.symbol!==ae}))){var a=e.escapeLeadingUnderscores(t.text);return Em(n,(function(e){return function(e,n,t){if(rc(e,0))return!0;var r=Zs(e,n);return r?!!(16777216&r.flags)||t:!t}(e,a,r)}))}return n}function C(t,r,a){switch(r.operatorToken.kind){case 62:case 74:case 75:case 76:return A(K(t,r.right,a),r.left,a);case 34:case 35:case 36:case 37:var i=r.operatorToken.kind,o=mm(r.left),s=mm(r.right);if(208===o.kind&&e.isStringLiteralLike(s))return O(t,o,i,s,a);if(208===s.kind&&e.isStringLiteralLike(o))return O(t,s,i,o,a);if(zf(n,o))return N(t,i,s,a);if(zf(n,s))return N(t,i,o,a);if(q&&(Yf(o,n)?t=I(t,i,s,a):Yf(s,n)&&(t=I(t,i,o,a))),T(o,t))return x(t,o,(function(e){return N(e,i,s,a)}));if(T(s,t))return x(t,s,(function(e){return N(e,i,o,a)}));if(G(o))return B(t,i,s,a);if(G(s))return B(t,i,o,a);break;case 101:return function(t,r,a){var i=mm(r.left);if(!zf(n,i))return a&&q&&Yf(i,n)?am(t,2097152):t;var o,s=tv(r.right);if(!Cd(s,_n))return t;var c=Zs(s,"prototype");if(c){var l=to(c);hi(l)||(o=l)}if(hi(t)&&(o===mn||o===_n))return t;if(!o){var u=ec(s,1);o=u.length?wl(e.map(u,(function(e){return Ec(Cc(e))}))):Ze}if(!a&&1048576&s.flags){if(!e.find(s.types,(function(e){return!po(e)})))return t}return U(t,o,a,Cd)}(t,r,a);case 100:var c=mm(r.right);if(e.isStringLiteralLike(r.left)&&zf(n,c))return D(t,r.left,a);break;case 27:return K(t,r.right,a)}return t}function I(e,n,t,r){var a=34===n||36===n,i=34===n||35===n?98304:32768,o=tv(t);return a!==r&&bm(o,(function(e){return!!(e.flags&i)}))||a===r&&bm(o,(function(e){return!(e.flags&(3|i))}))?am(e,2097152):e}function N(e,n,t,r){if(1&e.flags)return e;35!==n&&37!==n||(r=!r);var a=tv(t);if(2&e.flags&&r&&(36===n||37===n))return 67239932&a.flags?a:524288&a.flags?qe:e;if(98304&a.flags)return q?am(e,34===n||35===n?r?262144:2097152:65536&a.flags?r?131072:1048576:r?65536:524288):e;if(r)return xm(Em(e,34===n?function(e){return Nd(e,a)||(n=a,0!=(524&e.flags)&&0!=(28&n.flags));var n}:function(e){return Nd(e,a)}),a);if(Rp(a)){var i=Pu(a);return Em(e,(function(e){return Rp(e)?!Nd(e,a):Pu(e)!==i}))}return e}function O(e,t,r,a,i){35!==r&&37!==r||(i=!i);var o=mm(t.expression);if(!zf(n,o))return q&&Yf(o,n)&&i===("undefined"!==a.text)?am(e,2097152):e;if(1&e.flags&&"function"===a.text)return e;if(i&&2&e.flags&&"object"===a.text){if(213===t.parent.parent.kind){var s=t.parent.parent;if(55===s.operatorToken.kind&&s.right===t.parent&&function e(n,t){return zf(n,t)||213===t.kind&&55===t.operatorToken.kind&&(e(n,t.left)||e(n,t.right))}(n,s.left))return qe}return wl([qe,Ie])}var c=i?S.get(a.text)||128:L.get(a.text)||32768,l=w(e,a.text);return am(i&&l?Sm(e,F(l)):e,c)}function P(n,t,r,a,i){return r!==a&&e.every(gm(t).slice(r,a),i)?am(n,2097152):n}function M(n,t,r,a){var i=gm(t);if(!i.length)return n;var o=i.slice(r,a),s=r===a||e.contains(o,Ve);if(2&n.flags&&!s){for(var c=void 0,l=0;l<o.length;l+=1){var u=o[l];if(67239932&u.flags)void 0!==c&&c.push(u);else{if(!(524288&u.flags))return n;void 0===c&&(c=o.slice(0,l)),c.push(qe)}}return wl(void 0===c?o:c)}var d=wl(o),p=131072&d.flags?Ve:xm(Em(n,(function(e){return Nd(d,e)})),d);if(!s)return p;var f=Em(n,(function(n){return!(Rp(n)&&e.contains(i,Pu(n)))}));return 131072&p.flags?f:wl([p,f])}function w(e,n){switch(n){case"function":return 1&e.flags?e:_n;case"object":return 2&e.flags?wl([qe,Ie]):e;default:return Xt.get(n)}}function F(e){return function(n){if(Ad(n,e))return n;if(Ad(e,n))return e;if(63176704&n.flags){var t=Ms(n)||be;if(Ad(e,t))return Kl([n,e])}return n}}function G(t){return(e.isPropertyAccessExpression(t)&&"constructor"===e.idText(t.name)||e.isElementAccessExpression(t)&&e.isStringLiteralLike(t.argumentExpression)&&"constructor"===t.argumentExpression.text)&&zf(n,t.expression)}function B(n,t,r,a){if(a?34!==t&&36!==t:35!==t&&37!==t)return n;var i=tv(r);if(!uT(i)&&!po(i))return n;var o=Zs(i,"prototype");if(!o)return n;var s=to(o),c=hi(s)?void 0:s;return c&&c!==mn&&c!==_n?hi(n)?c:Em(n,(function(n){return function(n,t){if(524288&n.flags&&1&e.getObjectFlags(n)||524288&t.flags&&1&e.getObjectFlags(t))return n.symbol===t.symbol;return Ad(n,t)}(n,c)})):n}function U(e,n,t,r){if(!t)return Em(e,(function(e){return!r(e,n)}));if(1048576&e.flags){var a=Em(e,(function(e){return r(e,n)}));if(!(131072&a.flags))return a}return Ad(n,e)?n:Dd(e,n)?e:Dd(n,e)?n:Kl([e,n])}function V(t,r,a){if(function(e,n){if(e.arguments)for(var t=0,r=e.arguments;t<r.length;t++){if($f(n,r[t]))return!0}return!(198!==e.expression.kind||!$f(n,e.expression.expression))}(r,n)){var i=a||!e.isCallChain(r)?Gm(r):void 0,o=i&&bc(i);if(o&&(0===o.kind||1===o.kind))return j(t,o,r,a)}return t}function j(t,r,a,i){if(r.type&&(!hi(t)||r.type!==mn&&r.type!==_n)){var o=function(n,t){if(1===n.kind||3===n.kind)return t.arguments[n.parameterIndex];var r=e.skipParentheses(t.expression);return e.isAccessExpression(r)?e.skipParentheses(r.expression):void 0}(r,a);if(o){if(zf(n,o))return U(t,r.type,i,Ad);if(q&&i&&Yf(o,n)&&!(65536&rm(r.type))&&(t=am(t,2097152)),T(o,t))return x(t,o,(function(e){return U(e,r.type,i,Ad)}))}}return t}function K(t,r,a){if(e.isExpressionOfOptionalChainRoot(r)||e.isBinaryExpression(r.parent)&&60===r.parent.operatorToken.kind&&r.parent.left===r)return function(e,t,r){if(zf(n,t))return am(e,r?2097152:262144);if(T(t,e))return x(e,t,(function(e){return am(e,r?2097152:262144)}));return e}(t,r,a);switch(r.kind){case 78:case 107:case 105:case 198:case 199:return A(t,r,a);case 200:return V(t,r,a);case 204:return K(t,r.expression,a);case 213:return C(t,r,a);case 211:if(53===r.operator)return K(t,r.operand,!a)}return t}}function Km(n){return e.findAncestor(n.parent,(function(n){return e.isFunctionLike(n)&&!e.getImmediatelyInvokedFunctionExpression(n)||254===n.kind||294===n.kind||162===n.kind}))}function Hm(n){var t,r=e.getRootDeclaration(n.valueDeclaration).parent,a=br(r);return 8388608&a.flags||(a.flags|=8388608,t=r,e.findAncestor(t.parent,(function(n){return e.isFunctionLike(n)&&!!(8388608&br(n).flags)}))||Wm(r)),n.isAssigned||!1}function Wm(n){if(78===n.kind){if(e.isAssignmentTarget(n)){var t=Wf(n);t.valueDeclaration&&159===e.getRootDeclaration(t.valueDeclaration).kind&&(t.isAssigned=!0)}}else e.forEachChild(n,Wm)}function qm(e){return 3&e.flags&&0!=(2&pg(e))&&to(e)!==An}function zm(e){var n=e.parent;return 198===n.kind||200===n.kind&&n.expression===e||199===n.kind&&n.expression===e||195===n.kind&&n.name===e&&!!n.initializer}function Jm(e){return 58982400&e.flags&&Ch(Ms(e)||xe,98304)}function Xm(e,n){return e&&zm(n)&&vm(e,Jm)?Sm(df(e),ws):e}function Ym(n,t){!zr(n,111551)||qf(t)||Zr(n)||(j.preserveConstEnums&&function(n){return!!e.findAncestor(n,(function(n){return n.parent&&e.isExportAssignment(n.parent)&&n.parent.expression===n&&e.isEntityNameExpression(n)}))}(t)||!$E(Xr(n))?ea(n):function(e){var n=vr(e);n.constEnumReferenced||(n.constEnumReferenced=!0)}(n))}function Qm(n){var t=Wf(n);if(t===he)return Se;if(t===oe){var r=e.getContainingFunction(n);return K<2&&(206===r.kind?or(n,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasSyntacticModifier(r,256)&&or(n,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),br(r).flags|=8192,to(t)}n.parent&&e.isPropertyAccessExpression(n.parent)&&n.parent.expression===n||Ym(t,n);var a=xa(t),i=a.valueDeclaration;if(i&&134217728&e.getCombinedNodeFlags(i)&&$l(n.parent,a)&&cr(!1,n,e.Diagnostics._0_is_deprecated,n.escapedText),32&a.flags)if(249===i.kind&&e.nodeIsDecorated(i))for(r=e.getContainingClass(n);void 0!==r;){if(r===i&&r.name!==n){br(i).flags|=16777216,br(n).flags|=33554432;break}r=e.getContainingClass(r)}else if(218===i.kind)for(r=e.getThisContainer(n,!1);294!==r.kind;){if(r.parent===i){162===r.kind&&e.hasSyntacticModifier(r,32)&&(br(i).flags|=16777216,br(n).flags|=33554432);break}r=e.getThisContainer(r,!1)}!function(n,t){if(K>=2||0==(34&t.flags)||e.isSourceFile(t.valueDeclaration)||284===t.valueDeclaration.parent.kind)return;var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration),a=function(n,t){return!!e.findAncestor(n,(function(n){return n===t?"quit":e.isFunctionLike(n)}))}(n.parent,r),i=r,o=!1;for(;i&&!e.nodeStartsNewLexicalEnvironment(i);){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent}if(o){if(a){var s=!0;if(e.isForStatement(r))if((d=e.getAncestor(t.valueDeclaration,247))&&d.parent===r){var c=function(n,t){return e.findAncestor(n,(function(e){return e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement}))}(n.parent,r);if(c){var l=br(c);l.flags|=131072;var u=l.capturedBlockScopeBindings||(l.capturedBlockScopeBindings=[]);e.pushIfUnique(u,t),c===r.initializer&&(s=!1)}}s&&(br(i).flags|=65536)}var d;if(e.isForStatement(r))(d=e.getAncestor(t.valueDeclaration,247))&&d.parent===r&&function(n,t){var r=n;for(;204===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(211===r.parent.kind||212===r.parent.kind){var i=r.parent;a=45===i.operator||46===i.operator}if(!a)return!1;return!!e.findAncestor(r,(function(e){return e===t?"quit":e===t.statement}))}(n,r)&&(br(t.valueDeclaration).flags|=4194304);br(t.valueDeclaration).flags|=524288}a&&(br(t.valueDeclaration).flags|=262144)}(n,t);var o=Xm(to(a),n),s=e.getAssignmentTargetKind(n);if(s){if(!(3&a.flags||e.isInJSFile(n)&&512&a.flags))return or(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,Qa(t)),Se;if(Sh(a))return 3&a.flags?or(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Qa(t)):or(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Qa(t)),Se}var c=2097152&a.flags;if(3&a.flags){if(1===s)return o}else{if(!c)return o;i=e.find(t.declarations,w)}if(!i)return o;for(var l=159===e.getRootDeclaration(i).kind,u=Km(i),d=Km(n),p=d!==u,f=n.parent&&n.parent.parent&&e.isSpreadAssignment(n.parent)&&lm(n.parent.parent),m=134217728&t.flags;d!==u&&(205===d.kind||206===d.kind||e.isObjectLiteralOrClassExpressionMethod(d))&&(qm(a)||l&&!Hm(a));)d=Km(d);var _=l||c||p||f||m||e.isBindingElement(i)||o!==Ee&&o!==An&&(!q||0!=(16387&o.flags)||qf(n)||267===n.parent.kind)||222===n.parent.kind||246===i.kind&&i.exclamationToken||8388608&i.flags,g=jm(n,o,_?l?function(e,n){if(pi(n.symbol,2)){var t=q&&159===n.kind&&n.initializer&&32768&qp(e)&&!(32768&qp(iv(n.initializer)));return _i(),t?am(e,524288):e}return no(n.symbol),e}(o,i):o:o===Ee||o===An?Ae:Yp(o),d,!_);if(Mm(n)||o!==Ee&&o!==An){if(!_&&!(32768&qp(o))&&32768&qp(g))return or(n,e.Diagnostics.Variable_0_is_used_before_being_assigned,Qa(t)),o}else if(g===Ee||g===An)return Y&&(or(e.getNameOfDeclaration(i),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Qa(t),$a(g)),or(n,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Qa(t),$a(g))),sb(g);return s?Op(g):g}function Zm(e,n){(br(e).flags|=2,162===n.kind||165===n.kind)?br(n.parent).flags|=4:br(n).flags|=4}function $m(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,$m)}function e_(e){return go(Io(va(e)))===Ne}function n_(n,t,r){var a=t.parent;e.getClassExtendsHeritageElement(a)&&!e_(a)&&n.flowNode&&!function n(t,r){for(;;){var a=t.flags;if(4096&a){if(!r){var i=em(t),o=jt[i];return void 0!==o?o:jt[i]=n(t,!0)}r=!1}if(496&a)t=t.antecedent;else if(512&a){if(105===t.node.expression.kind)return!0;t=t.antecedent}else{if(4&a)return e.every(t.antecedents,(function(e){return n(e,!1)}));if(!(8&a)){if(1024&a){var s=t.target,c=s.antecedents;s.antecedents=t.antecedents;var l=n(t.antecedent,!1);return s.antecedents=c,l}return!!(1&a)}t=t.antecedents[0]}}}(n.flowNode,!1)&&or(n,r)}function t_(n){var t=e.getThisContainer(n,!0),r=!1;switch(165===t.kind&&n_(n,t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),206===t.kind&&(t=e.getThisContainer(t,!1),r=!0),t.kind){case 253:or(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 252:or(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 165:a_(n,t)&&or(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 162:case 161:!e.hasSyntacticModifier(t,32)||99===j.target&&j.useDefineForClassFields||or(n,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 157:or(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}r&&K<2&&Zm(n,t);var a=r_(n,!0,t);if(Q){var i=to(ae);if(a===i&&r)or(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){var o=or(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(t)){var s=r_(t);s&&s!==i&&e.addRelatedInfo(o,e.createDiagnosticForNode(t,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||be}function r_(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(r)&&(!d_(n)||e.getThisParameter(r))){var i=Xi(r)||a&&function(n){var t=e.getJSDocType(n);if(t&&304===t.kind){var r=t;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return Vu(r.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return Vu(a.typeExpression)}(r);if(!i){var o=function(n){if(205===n.kind&&e.isBinaryExpression(n.parent)&&3===e.getAssignmentDeclarationKind(n.parent))return n.parent.left.expression.expression;if(164===n.kind&&197===n.parent.kind&&e.isBinaryExpression(n.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.left.expression;if(205===n.kind&&285===n.parent.kind&&197===n.parent.parent.kind&&e.isBinaryExpression(n.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.left.expression;if(205===n.kind&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.arguments[0].expression}(r);if(a&&o){var s=iv(o).symbol;s&&s.members&&16&s.flags&&(i=Io(s).thisType)}else Oy(r)&&(i=Io(ha(r.symbol)).thisType);i||(i=c_(r))}if(i)return jm(n,i)}if(e.isClassLike(r.parent)){var c=va(r.parent);return jm(n,e.hasSyntacticModifier(r,32)?to(c):Io(c).thisType)}if(e.isSourceFile(r)){if(r.commonJsModuleIndicator){var l=va(r);return l&&to(l)}if(r.externalModuleIndicator)return Ae;if(t)return to(ae)}}function a_(n,t){return!!e.findAncestor(n,(function(n){return e.isFunctionLikeDeclaration(n)?"quit":159===n.kind&&n.parent===t}))}function i_(n){var t=200===n.parent.kind&&n.parent.expression===n,r=e.getSuperContainer(n,!0),a=r,i=!1;if(!t)for(;a&&206===a.kind;)a=e.getSuperContainer(a,!0),i=K<2;var o=0;if(!function(n){if(!n)return!1;if(t)return 165===n.kind;if(e.isClassLike(n.parent)||197===n.parent.kind)return e.hasSyntacticModifier(n,32)?164===n.kind||163===n.kind||166===n.kind||167===n.kind:164===n.kind||163===n.kind||166===n.kind||167===n.kind||162===n.kind||161===n.kind||165===n.kind;return!1}(a)){var s=e.findAncestor(n,(function(e){return e===a?"quit":157===e.kind}));return s&&157===s.kind?or(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?or(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):a&&a.parent&&(e.isClassLike(a.parent)||197===a.parent.kind)?or(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):or(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Se}if(t||165!==r.kind||n_(n,a,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),o=e.hasSyntacticModifier(a,32)||t?512:256,br(n).flags|=o,164===a.kind&&e.hasSyntacticModifier(a,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?br(a).flags|=4096:br(a).flags|=2048),i&&Zm(n.parent,a),197===a.parent.kind)return K<2?(or(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Se):be;var c=a.parent;if(!e.getClassExtendsHeritageElement(c))return or(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Se;var l=Io(va(c)),u=l&&ho(l)[0];return u?165===a.kind&&a_(n,a)?(or(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Se):512===o?go(l):Xo(u,l.thisType):Se}function o_(n){return 4&e.getObjectFlags(n)&&n.target===Ln?Hc(n)[0]:void 0}function s_(n){return Sm(n,(function(n){return 2097152&n.flags?e.forEach(n.types,o_):o_(n)}))}function c_(n){if(206!==n.kind){if(bd(n)){var t=P_(n);if(t){var r=t.thisParameter;if(r)return to(r)}}var a=e.isInJSFile(n);if(Q||a){var i=function(e){return 164!==e.kind&&166!==e.kind&&167!==e.kind||197!==e.parent.kind?205===e.kind&&285===e.parent.kind?e.parent.parent:void 0:e.parent}(n);if(i){for(var o=L_(i),s=i,c=o;c;){var l=s_(c);if(l)return pd(l,Sf(C_(i)));if(285!==s.parent.kind)break;c=L_(s=s.parent.parent)}return df(o?Qp(o):Vh(i))}var u=e.walkUpParenthesizedExpressions(n.parent);if(213===u.kind&&62===u.operatorToken.kind){var d=u.left;if(e.isAccessExpression(d)){var p=d.expression;if(a&&e.isIdentifier(p)){var f=e.getSourceFileOfNode(u);if(f.commonJsModuleIndicator&&Wf(p)===f.symbol)return}return df(Vh(p))}}}}}function l_(n){var t=n.parent;if(bd(t)){var r=e.getImmediatelyInvokedFunctionExpression(t);if(r&&r.arguments){var a=py(r),i=t.parameters.indexOf(n);if(n.dotDotDotToken)return oy(a,i,a.length,be,void 0,0);var o=br(r),s=o.resolvedSignature;o.resolvedSignature=it;var c=i<a.length?Pp(iv(a[i])):n.initializer?void 0:De;return o.resolvedSignature=s,c}var l=P_(t);if(l){var u=t.parameters.indexOf(n)-(e.getThisParameter(t)?1:0);return n.dotDotDotToken&&e.lastOrUndefined(t.parameters)===n?$y(l,u):Zy(l,u)}}}function u_(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Vu(t);switch(n.kind){case 159:return l_(n);case 195:return function(n){var t=n.parent.parent,r=n.propertyName||n.name,a=u_(t)||195!==t.kind&&t.initializer&&Kh(t);if(a&&!e.isBindingPattern(r)&&!e.isComputedNonLiteralName(r)){var i=Wl(r);if(Bo(i)){var o=Ho(i);return yi(a,o)}}}(n)}}function d_(n){for(var t=!1;n.parent&&!e.isFunctionLike(n.parent);){if(e.isParameter(n.parent)&&(t||n.parent.initializer===n))return!0;e.isBindingElement(n.parent)&&n.parent.initializer===n&&(t=!0),n=n.parent}return!1}function p_(n,t){var r=!!(2&e.getFunctionFlags(t)),a=f_(t);if(a)return Kb(n,a,r)||void 0}function f_(e){var n=Tc(e);if(n)return n;var t=O_(e);return t&&!Sc(t)?Ec(t):void 0}function m_(e,n){var t=py(e).indexOf(n);return-1===t?void 0:__(e,t)}function __(n,t){var r=br(n).resolvedSignature===st?st:ky(n);return e.isJsxOpeningLikeElement(n)&&0===t?I_(r,n):Qy(r,t)}function g_(n,t){var r=n.parent,a=r.left,i=r.operatorToken,o=r.right;switch(i.kind){case 62:case 75:case 74:case 76:if(n!==o)return;var s=function(n){var t=e.getAssignmentDeclarationKind(n);switch(t){case 0:return!0;case 5:case 1:case 6:case 3:if(n.left.symbol){var r=n.left.symbol.valueDeclaration;if(!r)return!1;var a=e.cast(n.left,e.isAccessExpression),i=e.getEffectiveTypeAnnotationNode(r);if(i)return Vu(i);if(e.isIdentifier(a.expression)){var o=a.expression,s=xr(o,o.escapedText,111551,void 0,o.escapedText,!0);if(s){if(l=s.valueDeclaration&&e.getEffectiveTypeAnnotationNode(s.valueDeclaration)){var c=e.getElementOrPropertyAccessName(a);if(void 0!==c)return(u=y_(Vu(l),c))||!1}return!1}}return!e.isInJSFile(r)}return!0;case 2:case 4:if(!n.symbol)return!0;var l,u;if(n.symbol.valueDeclaration)if(l=e.getEffectiveTypeAnnotationNode(n.symbol.valueDeclaration))if(u=Vu(l))return u;if(2===t)return!1;var d=e.cast(n.left,e.isAccessExpression);if(!e.isObjectLiteralMethod(e.getThisContainer(d.expression,!1)))return!1;var p=t_(d.expression),f=e.getElementOrPropertyAccessName(d);return void 0!==f&&p&&y_(p,f)||!1;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(t)}}(r);if(!s)return;return!0===s?tv(a):s;case 56:case 60:var c=D_(r,t);return n===o&&(c&&c.pattern||!c&&!e.isDefaultedExpandoInitializer(r))?tv(a):c;case 55:case 27:return n===o?D_(r,t):void 0;default:return}}function y_(n,t){return Sm(n,(function(n){if(Ss(n)){var r=_s(n),a=Ms(r)||r,i=wu(e.unescapeLeadingUnderscores(t));if(Dd(i,a))return cu(n,i)}else if(3670016&n.flags){var o=Zs(n,t);if(o)return c=o,262144&e.getCheckFlags(c)&&!c.type&&fi(c,0)>=0?void 0:to(o);if(Gp(n)){var s=Vp(n);if(s&&U_(t)&&+t>=0)return s}return U_(t)&&h_(n,1)||h_(n,0)}var c}),!0)}function h_(e,n){return Sm(e,(function(e){return tc(e,n)}),!0)}function v_(e,n){var t=L_(e.parent,n);if(t){if(!Ko(e)){var r=y_(t,va(e).escapedName);if(r)return r}return G_(e.name)&&h_(t,1)||h_(t,0)}}function b_(e,n){return e&&(y_(e,""+n)||Eb(1,e,Ae,void 0,!1))}function E_(n){var t=n.parent;return e.isJsxAttributeLike(t)?D_(n):e.isJsxElement(t)?function(e,n){var t=L_(e.openingElement.tagName),r=tg(eg(e));if(t&&!hi(t)&&r&&""!==r){var a=Ud(e.children),i=a.indexOf(n),o=y_(t,r);return o&&(1===a.length?o:Sm(o,(function(e){return Ap(e)?lu(e,wu(i)):e}),!0))}}(t,n):void 0}function T_(n){if(e.isJsxAttribute(n)){var t=L_(n.parent);if(!t||hi(t))return;return y_(t,n.name.escapedText)}return D_(n.parent)}function S_(e){switch(e.kind){case 10:case 8:case 9:case 14:case 109:case 94:case 103:case 78:case 149:return!0;case 198:case 204:return S_(e.expression);case 280:return!e.expression||S_(e.expression)}return!1}function L_(n,t){var r=x_(e.isObjectLiteralMethod(n)?function(n,t){if(e.Debug.assert(e.isObjectLiteralMethod(n)),!(16777216&n.flags))return v_(n,t)}(n,t):D_(n,t),n,t);if(r&&!(t&&2&t&&8650752&r.flags)){var a=Sm(r,js,!0);if(1048576&a.flags){if(e.isObjectLiteralExpression(n))return function(n,t){return rp(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&285===e.kind&&S_(e.initializer)&&Qf(t,e.symbol.escapedName)})),(function(e){return[function(){return iv(e.initializer)},e.symbol.escapedName]})),Dd,t)}(n,a);if(e.isJsxAttributes(n))return function(n,t){return rp(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&277===e.kind&&Qf(t,e.symbol.escapedName)&&(!e.initializer||S_(e.initializer))})),(function(e){return[e.initializer?function(){return iv(e.initializer)}:function(){return we},e.symbol.escapedName]})),Dd,t)}(n,a)}return a}}function x_(n,t,r){if(n&&Ch(n,63176704)){var a=C_(t);if(a&&e.some(a.inferences,Zh)){if(r&&1&r)return A_(n,a.nonFixingMapper);if(a.returnMapper)return A_(n,a.returnMapper)}}return n}function A_(n,t){return 63176704&n.flags?pd(n,t):1048576&n.flags?wl(e.map(n.types,(function(e){return A_(e,t)})),0):2097152&n.flags?Kl(e.map(n.types,(function(e){return A_(e,t)}))):n}function D_(n,t){if(16777216&n.flags);else{if(n.contextualType)return n.contextualType;var r=n.parent;switch(r.kind){case 246:case 159:case 162:case 161:case 195:return function(n,t){var r=n.parent;if(e.hasInitializer(r)&&n===r.initializer){var a=u_(r);if(a)return a;if(!(8&t)&&e.isBindingPattern(r.name))return Vi(r.name,!0,!1)}}(n,t);case 206:case 239:return function(n){var t=e.getContainingFunction(n);if(t){var r=f_(t);if(r){var a=e.getFunctionFlags(t);if(1&a){var i=Db(r,2&a?2:1,void 0);if(!i)return;r=i.returnType}if(2&a){var o=Sm(r,Iv);return o&&wl([o,uh(o)])}return r}}}(n);case 216:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t),a=f_(t);if(a)return n.asteriskToken?a:Kb(0,a,0!=(2&r))}}(r);case 210:return function(e,n){var t=D_(e,n);if(t){var r=Iv(t);return r&&wl([r,uh(r)])}}(r,t);case 200:if(99===r.expression.kind)return Re;case 201:return m_(r,n);case 203:case 221:return e.isConstTypeReference(r.type)?function(n){if(e.isCallLikeExpression(n.parent))return m_(n.parent,n);return}(r):Vu(r.type);case 213:return g_(n,t);case 285:case 286:return v_(r,t);case 287:return L_(r.parent,t);case 196:var a=r;return b_(L_(a,t),e.indexOfNode(a.elements,n));case 214:return function(e,n){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?D_(t,n):void 0}(n,t);case 225:return e.Debug.assert(215===r.parent.kind),function(e,n){if(202===e.parent.kind)return m_(e.parent,n)}(r.parent,n);case 204:var i=e.isInJSFile(r)?e.getJSDocTypeTag(r):void 0;return i?Vu(i.typeExpression.type):D_(r,t);case 280:return E_(r);case 277:case 279:return T_(r);case 272:case 271:return function(n,t){if(e.isJsxOpeningElement(n)&&n.parent.contextualType&&4!==t)return n.parent.contextualType;return __(n,0)}(r,t)}}}function C_(n){var t=e.findAncestor(n,(function(e){return!!e.inferenceContext}));return t&&t.inferenceContext}function I_(n,t){return 0!==cy(t)?function(e,n){var t=oh(e,xe);t=N_(n,eg(n),t);var r=Z_(D.IntrinsicAttributes,n);r!==Se&&(t=os(r,t));return t}(n,t):function(n,t){var r=eg(t),a=(o=r,ng(D.ElementAttributesPropertyNameContainer,o)),i=void 0===a?oh(n,xe):""===a?Ec(n):function(e,n){if(e.unionSignatures){for(var t=[],r=0,a=e.unionSignatures;r<a.length;r++){var i=Ec(a[r]);if(hi(i))return i;var o=yi(i,n);if(!o)return;t.push(o)}return Kl(t)}var s=Ec(e);return hi(s)?s:yi(s,n)}(n,a);var o;if(!i)return a&&e.length(t.attributes.properties)&&or(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(a)),xe;if(hi(i=N_(t,r,i)))return i;var s=i,c=Z_(D.IntrinsicClassAttributes,t);if(c!==Se){var l=lo(c.symbol),u=Ec(n);s=os(l?Vc(c,mc([u],l,fc(l),e.isInJSFile(t))):c,s)}var d=Z_(D.IntrinsicAttributes,t);return d!==Se&&(s=os(d,s)),s}(n,t)}function N_(n,t,r){var a,i=(a=t)&&Tr(a.exports,D.LibraryManagedAttributes,788968);if(i){var o=Io(i),s=function(e){if(z_(e.tagName))return Rc(Iy(e,n=ag(e)));var n,t=Vh(e.tagName);return 128&t.flags?(n=rg(t,e))?Rc(Iy(e,n)):Se:t}(n);if(e.length(o.typeParameters)>=2)return Vc(o,c=mc([s,r],o.typeParameters,2,e.isInJSFile(n)));if(e.length(o.aliasTypeArguments)>=2){var c=mc([s,r],o.aliasTypeArguments,2,e.isInJSFile(n));return zc(o.aliasSymbol,c)}}return r}function R_(n,t){var r=ec(n,0);if(1===r.length){var a=r[0];if(!function(n,t){for(var r=0;r<t.parameters.length;r++){var a=t.parameters[r];if(a.initializer||a.questionToken||a.dotDotDotToken||cc(a))break}t.parameters.length&&e.parameterIsThisKeyword(t.parameters[0])&&r--;return!th(n)&&eh(n)<r}(a,t))return a}}function k_(e){return 205===e.kind||206===e.kind}function O_(n){return k_(n)||e.isObjectLiteralMethod(n)?P_(n):void 0}function P_(n){e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n));var t=gc(n);if(t)return t;var r=L_(n,1);if(r){if(!(1048576&r.flags))return R_(r,n);for(var a,i=0,o=r.types;i<o.length;i++){var s=R_(o[i],n);if(s)if(a){if(!bp(a[0],s,!1,!0,!0,Sd))return;a.push(s)}else a=[s]}return a?1===a.length?a[0]:$o(a[0],a):void 0}}function M_(e){return 195===e.kind&&!!e.initializer||213===e.kind&&62===e.operatorToken.kind}function w_(n,t,r){for(var a=n.elements,i=a.length,o=[],s=[],c=L_(n),l=e.isAssignmentTarget(n),u=qh(n),d=0;d<i;d++){var p=a[d];if(217===p.kind){K<2&&ST(p,j.downlevelIteration?1536:2048);var f=iv(p.expression,t,r);if(Ap(f))o.push(f),s.push(8);else if(l){var m=ac(f,1)||Eb(65,f,Ae,void 0,!1)||xe;o.push(m),s.push(4)}else o.push(bb(33,f,Ae,p.expression)),s.push(4)}else{var _=zh(p,t,b_(c,o.length),r);o.push(_),s.push(1)}}return l?xl(o,s):r||u||c&&vm(c,Cp)?F_(xl(o,s,u)):F_(vl(o.length?wl(e.sameMap(o,(function(e,n){return 8&s[n]?du(e,ke)||be:e})),2):q?He:De,u))}function F_(n){if(!(4&e.getObjectFlags(n)))return n;var t=n.literalType;return t||((t=n.literalType=jc(n)).objectFlags|=1114112),t}function G_(e){switch(e.kind){case 157:return function(e){return Ih(V_(e),296)}(e);case 78:return U_(e.escapedText);case 8:case 10:return U_(e.text);default:return!1}}function B_(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function U_(e){return(+e).toString()===e}function V_(n){var t=br(n.expression);return t.resolvedType||(t.resolvedType=iv(n.expression),98304&t.resolvedType.flags||!Ih(t.resolvedType,12716)&&!Dd(t.resolvedType,ze)?or(n,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):Wg(n.expression,t.resolvedType,!0)),t.resolvedType}function j_(n,t,r,a){for(var i,o,s,c=[],l=t;l<r.length;l++)(0===a||(i=r[l],o=void 0,s=void 0,s=null===(o=i.declarations)||void 0===o?void 0:o[0],U_(i.escapedName)||s&&e.isNamedDeclaration(s)&&G_(s.name)))&&c.push(to(r[l]));return Pc(c.length?wl(c,2):Ae,qh(n))}function K_(n){e.Debug.assert(0!=(2097152&n.flags),"Should only get Alias here.");var t=vr(n);if(!t.immediateTarget){var r=Mr(n);if(!r)return e.Debug.fail();t.immediateTarget=qr(r,!0)}return t.immediateTarget}function H_(n,t){var r=e.isAssignmentTarget(n);!function(n,t){for(var r=new e.Map,a=0,i=n.properties;a<i.length;a++){var o=i[a];if(287!==o.kind){var s=o.name;if(157===s.kind&&MT(s),286===o.kind&&!t&&o.objectAssignmentInitializer)return XT(o.equalsToken,e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern);if(79===s.kind)return XT(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);if(o.modifiers)for(var c=0,l=o.modifiers;c<l.length;c++){var u=l[c];129===u.kind&&164===o.kind||XT(u,e.Diagnostics._0_modifier_cannot_be_used_here,e.getTextOfNode(u))}var d=void 0;switch(o.kind){case 286:GT(o.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 285:FT(o.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional),8===s.kind&&ZT(s),d=4;break;case 164:d=8;break;case 166:d=1;break;case 167:d=2;break;default:throw e.Debug.assertNever(o,"Unexpected syntax kind:"+o.kind)}if(!t){var p=e.getPropertyNameForPropertyNameNode(s);if(void 0===p)continue;var f=r.get(p);if(f)if(12&d&&12&f)XT(s,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(s));else{if(!(3&d&&3&f))return XT(s,e.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===f||d===f)return XT(s,e.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);r.set(p,d|f)}else r.set(p,d)}}else if(t){var m=e.skipParentheses(o.expression);if(e.isArrayLiteralExpression(m)||e.isObjectLiteralExpression(m))return XT(o.expression,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}}}(n,r);for(var a=q?e.createSymbolTable():void 0,i=e.createSymbolTable(),o=[],s=Ze,c=L_(n),l=c&&c.pattern&&(193===c.pattern.kind||197===c.pattern.kind),u=qh(n),d=u?8:0,p=e.isInJSFile(n)&&!e.isInJsonFile(n),f=e.getJSDocEnumTag(n),m=!c&&p&&!f,_=$,g=!1,y=!1,h=!1,v=0,b=n.properties;v<b.length;v++){var E=b[v];E.name&&e.isComputedPropertyName(E.name)&&!e.isWellKnownSymbolSyntactically(E.name)&&V_(E.name)}for(var T=0,S=0,L=n.properties;S<L.length;S++){var x=L[S],A=va(x),D=x.name&&157===x.name.kind&&!e.isWellKnownSymbolSyntactically(x.name.expression)?V_(x.name):void 0;if(285===x.kind||286===x.kind||e.isObjectLiteralMethod(x)){var C=285===x.kind?Jh(x,t):286===x.kind?zh(!r&&x.objectAssignmentInitializer?x.objectAssignmentInitializer:x.name,t):Xh(x,t);if(p){var I=xi(x);I?(Rd(C,I,x),C=I):f&&f.typeExpression&&Rd(C,Vu(f.typeExpression),x)}_|=3670016&e.getObjectFlags(C);var N=D&&Bo(D)?D:void 0,R=N?ur(4|A.flags,Ho(N),4096|d):ur(4|A.flags,A.escapedName,d);if(N&&(R.nameType=N),r)(285===x.kind&&M_(x.initializer)||286===x.kind&&x.objectAssignmentInitializer)&&(R.flags|=16777216);else if(l&&!(512&e.getObjectFlags(c))){var k=Zs(c,A.escapedName);k?R.flags|=16777216&k.flags:j.suppressExcessPropertyErrors||rc(c,0)||or(x.name,e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Qa(A),$a(c))}R.declarations=A.declarations,R.parent=A.parent,A.valueDeclaration&&(R.valueDeclaration=A.valueDeclaration),R.type=C,R.target=A,A=R,null==a||a.set(R.escapedName,R)}else{if(287===x.kind){if(K<2&&ST(x,2),o.length>0&&(s=Cu(s,M(),n.symbol,_,u),o=[],i=e.createSymbolTable(),y=!1,h=!1),!W_(C=zs(iv(x.expression))))return or(x,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),Se;a&&Y_(C,a,x),s=Cu(s,C,n.symbol,_,u),T=o.length;continue}e.Debug.assert(166===x.kind||167===x.kind),TE(x)}!D||8576&D.flags?i.set(A.escapedName,A):Dd(D,ze)&&(Dd(D,ke)?h=!0:y=!0,r&&(g=!0)),o.push(A)}if(l&&287!==n.parent.kind)for(var O=0,P=Cs(c);O<P.length;O++){R=P[O];i.get(R.escapedName)||Zs(s,R.escapedName)||(16777216&R.flags||or(R.valueDeclaration||R.bindingElement,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),i.set(R.escapedName,R),o.push(R))}return s!==Ze?(o.length>0&&(s=Cu(s,M(),n.symbol,_,u),o=[],i=e.createSymbolTable(),y=!1,h=!1),Sm(s,(function(e){return e===Ze?M():e}))):M();function M(){var t=y?j_(n,T,o,0):void 0,a=h?j_(n,T,o,1):void 0,s=wa(n.symbol,i,e.emptyArray,e.emptyArray,t,a);return s.objectFlags|=1048704|_,m&&(s.objectFlags|=16384),g&&(s.objectFlags|=512),r&&(s.pattern=n),s}}function W_(n){if(63176704&n.flags){var t=Ms(n);if(void 0!==t)return W_(t)}return!!(126615553&n.flags||117632&qp(n)&&W_(zp(n))||3145728&n.flags&&e.every(n.types,W_))}function q_(n){return!e.stringContains(n,"-")}function z_(n){return 78===n.kind&&e.isIntrinsicJsxName(n.escapedText)}function J_(e,n){return e.initializer?zh(e.initializer,n):we}function X_(e,n){for(var t=[],r=0,a=e.children;r<a.length;r++){var i=a[r];11===i.kind?i.containsOnlyTriviaWhiteSpaces||t.push(Re):t.push(zh(i,n))}return t}function Y_(n,t,r){for(var a=0,i=Cs(n);a<i.length;a++){var o=i[a],s=t.get(o.escapedName),c=to(o);if(s&&!Ch(c,98304)&&!(Ch(c,3)&&16777216&o.flags)){var l=or(s.valueDeclaration,e.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,e.unescapeLeadingUnderscores(s.escapedName));e.addRelatedInfo(l,e.createDiagnosticForNode(r,e.Diagnostics.This_spread_always_overwrites_this_property))}}}function Q_(n,t){return function(n,t){for(var r,a=n.attributes,i=q?e.createSymbolTable():void 0,o=e.createSymbolTable(),s=$e,c=!1,l=!1,u=4096,d=tg(eg(n)),p=0,f=a.properties;p<f.length;p++){var m=f[p],_=m.symbol;if(e.isJsxAttribute(m)){var g=J_(m,t);u|=3670016&e.getObjectFlags(g);var y=ur(33554436|_.flags,_.escapedName);y.declarations=_.declarations,y.parent=_.parent,_.valueDeclaration&&(y.valueDeclaration=_.valueDeclaration),y.type=g,y.target=_,o.set(y.escapedName,y),null==i||i.set(y.escapedName,y),m.name.escapedText===d&&(l=!0)}else{e.Debug.assert(279===m.kind),o.size>0&&(s=Cu(s,L(),a.symbol,u,!1),o=e.createSymbolTable()),hi(g=zs(Vh(m.expression,t)))&&(c=!0),W_(g)?(s=Cu(s,g,a.symbol,u,!1),i&&Y_(g,i,m)):r=r?Kl([r,g]):g}}c||o.size>0&&(s=Cu(s,L(),a.symbol,u,!1));var h=270===n.parent.kind?n.parent:void 0;if(h&&h.openingElement===n&&h.children.length>0){var v=X_(h,t);if(!c&&d&&""!==d){l&&or(a,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d));var b=L_(n.attributes),E=b&&y_(b,d),T=ur(33554436,d);T.type=1===v.length?v[0]:E&&vm(E,Cp)?xl(v):vl(wl(v)),T.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(d),void 0,void 0),e.setParent(T.valueDeclaration,a),T.valueDeclaration.symbol=T;var S=e.createSymbolTable();S.set(d,T),s=Cu(s,wa(a.symbol,S,e.emptyArray,e.emptyArray,void 0,void 0),a.symbol,u,!1)}}return c?be:r&&s!==$e?Kl([r,s]):r||(s===$e?L():s);function L(){u|=$;var n=wa(a.symbol,o,e.emptyArray,e.emptyArray,void 0,void 0);return n.objectFlags|=1048704|u,n}}(n.parent,t)}function Z_(e,n){var t=eg(n),r=t&&ma(t),a=r&&Tr(r,e,788968);return a?Io(a):Se}function $_(n){var t=br(n);if(!t.resolvedSymbol){var r=Z_(D.IntrinsicElements,n);if(r!==Se){if(!e.isIdentifier(n.tagName))return e.Debug.fail();var a=Zs(r,n.tagName.escapedText);return a?(t.jsxFlags|=1,t.resolvedSymbol=a):ac(r,0)?(t.jsxFlags|=2,t.resolvedSymbol=r.symbol):(or(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(n.tagName),"JSX."+D.IntrinsicElements),t.resolvedSymbol=he)}return Y&&or(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(D.IntrinsicElements)),t.resolvedSymbol=he}return t.resolvedSymbol}function eg(e){var n=e&&br(e);if(n&&n.jsxNamespace)return n.jsxNamespace;if(!n||!1!==n.jsxNamespace){var t=ar(e),r=xr(e,t,1920,void 0,t,!1);if(r){var a=Jr(Tr(ma(Jr(r)),D.JSX,1920));if(a)return n&&(n.jsxNamespace=a),a;n&&(n.jsxNamespace=!1)}}return ll(D.JSX,1920,void 0)}function ng(n,t){var r=t&&Tr(t.exports,n,788968),a=r&&Io(r),i=a&&Cs(a);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&or(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function tg(e){return ng(D.ElementChildrenAttributeNameContainer,e)}function rg(n,t){var r=Z_(D.IntrinsicElements,t);if(r!==Se){var a=n.value,i=Zs(r,e.escapeLeadingUnderscores(a));if(i)return to(i);var o=ac(r,0);return o||void 0}return be}function ag(n){e.Debug.assert(z_(n.tagName));var t=br(n);if(!t.resolvedJsxElementAttributesType){var r=$_(n);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=to(r):2&t.jsxFlags?t.resolvedJsxElementAttributesType=ac(Io(r),0):t.resolvedJsxElementAttributesType=Se}return t.resolvedJsxElementAttributesType}function ig(e){var n=Z_(D.ElementClass,e);if(n!==Se)return n}function og(e){return Z_(D.Element,e)}function sg(e){var n=og(e);if(n)return wl([n,Ie])}function cg(n){var t,r=e.isJsxOpeningLikeElement(n);r&&function(n){RT(n,n.typeArguments);for(var t=new e.Map,r=0,a=n.attributes.properties;r<a.length;r++){var i=a[r];if(279!==i.kind){var o=i.name,s=i.initializer;if(t.get(o.escapedText))return XT(o,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(t.set(o.escapedText,!0),s&&280===s.kind&&!s.expression)return XT(s,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}(n),t=n,0===(j.jsx||0)&&or(t,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===og(t)&&Y&&or(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist);var a,i=zt&&2===j.jsx?e.Diagnostics.Cannot_find_name_0:void 0,o=ar(n),s=r?n.tagName:n;if(e.isJsxOpeningFragment(n)&&"null"===o||(a=xr(s,o,111551,i,o,!0)),a&&(a.isReferenced=67108863,2097152&a.flags&&!Zr(a)&&ea(a)),r){var c=n,l=ky(c);wy(l,n),function(n,t,r){if(1===n)(a=sg(r))&&ep(t,a,$t,r.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,o);else if(0===n){(i=ig(r))&&ep(t,i,$t,r.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,o)}else{var a=sg(r),i=ig(r);if(!a||!i)return;ep(t,wl([a,i]),$t,r.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,o)}function o(){var n=e.getTextOfNode(r.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,n)}}(cy(c),Ec(l),c)}}function lg(e,n,t){if(524288&e.flags){var r=Ls(e);if(r.stringIndexInfo||r.numberIndexInfo&&U_(n)||As(e,n)||t&&!q_(n))return!0}else if(3145728&e.flags&&ug(e))for(var a=0,i=e.types;a<i.length;a++){if(lg(i[a],n,t))return!0}return!1}function ug(n){return!!(524288&n.flags&&!(512&e.getObjectFlags(n))||67108864&n.flags||1048576&n.flags&&e.some(n.types,ug)||2097152&n.flags&&e.every(n.types,ug))}function dg(n,t){if(function(n){if(n.expression&&e.isCommaSequence(n.expression))XT(n.expression,e.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(n),n.expression){var r=iv(n.expression,t);return n.dotDotDotToken&&r!==be&&!Tp(r)&&or(n,e.Diagnostics.JSX_spread_child_must_be_an_array_type),r}return Se}function pg(n){return n.valueDeclaration?e.getCombinedNodeFlags(n.valueDeclaration):0}function fg(n){if(8192&n.flags||4&e.getCheckFlags(n))return!0;if(e.isInJSFile(n.valueDeclaration)){var t=n.valueDeclaration.parent;return t&&e.isBinaryExpression(t)&&3===e.getAssignmentDeclarationKind(t)}}function mg(n,t,r,a){var i,o=e.getDeclarationModifierFlagsFromSymbol(a),s=156===n.kind?n.right:192===n.kind?n:n.name;if(t){if(K<2&&_g(a))return or(s,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(128&o)return or(s,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Qa(a),$a(mp(a))),!1}if(128&o&&e.isThisProperty(n)&&_g(a)&&((i=e.getClassLikeDeclarationOfSymbol(ba(a)))&&function(n){return!!e.findAncestor(n,(function(n){return!!(e.isConstructorDeclaration(n)&&e.nodeIsPresent(n.body)||e.isPropertyDeclaration(n))||!(!e.isClassLike(n)&&!e.isFunctionLikeDeclaration(n))&&"quit"}))}(n)))return or(s,e.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Qa(a),e.getTextOfIdentifierOrLiteral(i.name)),!1;if(e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name))return!!e.getContainingClass(n)||(or(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),!1);if(!(24&o))return!0;if(8&o)return!!kE(n,i=e.getClassLikeDeclarationOfSymbol(ba(a)))||(or(s,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,Qa(a),$a(mp(a))),!1);if(t)return!0;var c=RE(n,(function(n){var t=Io(va(n));return function(n,t){return fp(t,(function(t){return!!(16&e.getDeclarationModifierFlagsFromSymbol(t))&&!io(n,mp(t))}))?void 0:n}(t,a)?t:void 0}));if(!c){var l=void 0;if(32&o||!(l=function(n){var t=e.getThisContainer(n,!1);return t&&e.isFunctionLike(t)?e.getThisParameter(t):void 0}(n))||!l.type)return or(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Qa(a),$a(mp(a)||r)),!1;var u=Vu(l.type);c=(262144&u.flags?Ns(u):u).target}return!!(32&o)||(262144&r.flags&&(r=r.isThisType?Ns(r):Ms(r)),!(!r||!io(r,c))||(or(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1,Qa(a),$a(c)),!1))}function _g(e){return!!fp(e,(function(e){return!(8192&e.flags)}))}function gg(e){return Tg(iv(e),e)}function yg(e){return!!(98304&(q?qp(e):e.flags))}function hg(e){return yg(e)?Qp(e):e}function vg(n,t){or(n,32768&t?65536&t?e.Diagnostics.Object_is_possibly_null_or_undefined:e.Diagnostics.Object_is_possibly_undefined:e.Diagnostics.Object_is_possibly_null)}function bg(n,t){or(n,32768&t?65536&t?e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function Eg(n,t,r){if(q&&2&n.flags)return or(t,e.Diagnostics.Object_is_of_type_unknown),Se;var a=98304&(q?qp(n):n.flags);if(a){r(t,a);var i=Qp(n);return 229376&i.flags?Se:i}return n}function Tg(e,n){return Eg(e,n,vg)}function Sg(n,t){var r=Tg(n,t);return r!==Se&&16384&r.flags&&or(t,e.Diagnostics.Object_is_possibly_undefined),r}function Lg(e){return 32&e.flags?function(e){var n=iv(e.expression),t=tf(n,e.expression);return nf(Ng(e,e.expression,Tg(t,e.expression),e.name),e,t!==n)}(e):Ng(e,e.expression,gg(e.expression),e.name)}function xg(e){return Ng(e,e.left,gg(e.left),e.right)}function Ag(n){for(;204===n.parent.kind;)n=n.parent;return e.isCallOrNewExpression(n.parent)&&n.parent.expression===n}function Dg(n,t){for(var r=e.getContainingClass(t);r;r=e.getContainingClass(r)){var a=r.symbol,i=e.getSymbolNameForPrivateIdentifier(a,n),o=a.members&&a.members.get(i)||a.exports&&a.exports.get(i);if(o)return o}}function Cg(e,n){return Zs(e,n.escapedName)}function Ig(n,t){return e.isThisProperty(n)&&(Ni(t)||Ii(t))&&e.getThisContainer(n,!0)===Ri(t)}function Ng(n,t,r,a){var i,o=br(t).resolvedSymbol,s=e.getAssignmentTargetKind(n),l=js(0!==s||Ag(n)?df(r):r);e.isPrivateIdentifier(a)&&ST(n,1048576);var u,d,p=hi(l)||l===je;if(e.isPrivateIdentifier(a)){var f=Dg(a.escapedText,a);if(p){if(f)return l;if(!e.getContainingClass(a))return XT(a,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),be}if(!(u=f?Cg(r,f):void 0)&&function(n,t,r){var a,i=Cs(n);i&&e.forEach(i,(function(n){var r=n.valueDeclaration;if(r&&e.isNamedDeclaration(r)&&e.isPrivateIdentifier(r.name)&&r.name.escapedText===t.escapedText)return a=n,!0}));var o=Ir(t);if(a){var s=a.valueDeclaration,l=e.getContainingClass(s);if(e.Debug.assert(!!l),r){var u=r.valueDeclaration,d=e.getContainingClass(u);if(e.Debug.assert(!!d),e.findAncestor(d,(function(e){return l===e}))){var p=or(t,e.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,o,$a(n));return e.addRelatedInfo(p,e.createDiagnosticForNode(u,e.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,o),e.createDiagnosticForNode(s,e.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,o)),!0}}return or(t,e.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,o,Ir(l.name||c)),!0}return!1}(r,a,f))return Se}else{if(p)return e.isIdentifier(t)&&o&&Ym(o,n),l;u=Zs(l,a.escapedText)}if(!e.isIdentifier(t)||!o||u&&$E(u)||Ym(o,n),u){if(134217728&(null===(i=u.valueDeclaration)||void 0===i?void 0:i.flags)&&$l(n,u)&&cr(!1,a,e.Diagnostics._0_is_deprecated,a.escapedText),function(n,t,r){var a,i=n.valueDeclaration;if(!i||e.getSourceFileOfNode(t).isDeclarationFile)return;var o=e.idText(r);!function(n){return!!e.findAncestor(n,(function(n){switch(n.kind){case 162:return!0;case 285:case 164:case 166:case 167:case 287:case 157:case 225:case 280:case 277:case 278:case 279:case 272:case 220:case 283:return!1;default:return!e.isExpressionNode(n)&&"quit"}}))}(t)||e.isAccessExpression(t)&&e.isAccessExpression(t.expression)||Sr(i,r)||function(e){if(!(32&e.parent.flags))return!1;var n=to(e.parent);for(;;){if(!(n=n.symbol&&kg(n)))return!1;var t=Zs(n,e.escapedName);if(t&&t.valueDeclaration)return!0}}(n)?249!==i.kind||172===t.parent.kind||8388608&i.flags||Sr(i,r)||(a=or(r,e.Diagnostics.Class_0_used_before_its_declaration,o)):a=or(r,e.Diagnostics.Property_0_is_used_before_its_initialization,o);a&&e.addRelatedInfo(a,e.createDiagnosticForNode(i,e.Diagnostics._0_is_declared_here,o))}(u,n,a),Ug(u,n,107===t.kind),br(n).resolvedSymbol=u,mg(n,105===t.kind,l,u),Lh(n,u,s))return or(a,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,e.idText(a)),Se;d=Ig(n,u)?Ee:Xm(to(u),n)}else{var m=e.isPrivateIdentifier(a)||0!==s&&tu(r)&&!au(r)?void 0:rc(l,0);if(!m||!m.type)return Ql(r)?be:r.symbol===ae?(ae.exports.has(a.escapedText)&&418&ae.exports.get(a.escapedText).flags?or(a,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(a.escapedText),$a(r)):Y&&or(a,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,$a(r)),be):(a.escapedText&&!Rr(n)&&function(n,t){var r,a;if(!e.isPrivateIdentifier(n)&&1048576&t.flags&&!(131068&t.flags))for(var i=0,o=t.types;i<o.length;i++){var s=o[i];if(!Zs(s,n.escapedText)&&!rc(s,0)){r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(n),$a(s));break}}if(Og(n.escapedText,t))r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_is_a_static_member_of_type_1,e.declarationNameToString(n),$a(t));else{var c=Dv(t);if(c&&Zs(c,n.escapedText))r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(n),$a(t)),a=e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await);else{var l=Pg(n,t);if(void 0!==l){var u=e.symbolName(l);r=e.chainDiagnosticMessages(r,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,e.declarationNameToString(n),$a(t),u),a=l.valueDeclaration&&e.createDiagnosticForNode(l.valueDeclaration,e.Diagnostics._0_is_declared_here,u)}else r=e.chainDiagnosticMessages(Qs(r,t),e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(n),$a(t))}}var d=e.createDiagnosticForNodeFromMessageChain(n,r);a&&e.addRelatedInfo(d,a);zt.add(d)}(a,au(r)?l:r),Se);m.isReadonly&&(e.isAssignmentTarget(n)||e.isDeleteTarget(n))&&or(n,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,$a(l)),d=m.type}return Rg(n,u,d,a)}function Rg(n,t,r,a){var i=e.getAssignmentTargetKind(n);if(!e.isAccessExpression(n)||1===i||t&&!(98311&t.flags)&&!(8192&t.flags&&1048576&r.flags))return r;if(r===Ee)return Oi(n,t);var o=!1;if(q&&X&&107===n.expression.kind){var s=t&&t.valueDeclaration;if(s&&rE(s)){var c=Km(n);165!==c.kind||c.parent!==s.parent||8388608&s.flags||(o=!0)}}else q&&t&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)&&e.getAssignmentDeclarationPropertyAccessKind(t.valueDeclaration)&&Km(n)===Km(t.valueDeclaration)&&(o=!0);var l=jm(n,r,o?Yp(r):r);return o&&!(32768&qp(r))&&32768&qp(l)?(or(a,e.Diagnostics.Property_0_is_used_before_being_assigned,Qa(t)),r):i?Op(l):l}function kg(e){var n=ho(e);if(0!==n.length)return Kl(n)}function Og(n,t){var r=t.symbol&&Zs(to(t.symbol),n);return void 0!==r&&r.valueDeclaration&&e.hasSyntacticModifier(r.valueDeclaration,32)}function Pg(n,t){return Bg(e.isString(n)?n:e.idText(n),Cs(t),111551)}function Mg(n,t){var r=e.isString(n)?n:e.idText(n),a=Cs(t),i="for"===r?e.find(a,(function(n){return"htmlFor"===e.symbolName(n)})):"class"===r?e.find(a,(function(n){return"className"===e.symbolName(n)})):void 0;return null!=i?i:Bg(r,a,111551)}function wg(n,t){var r=Pg(n,t);return r&&e.symbolName(r)}function Fg(n,t,r){return e.Debug.assert(void 0!==t,"outername should always be defined"),Ar(n,t,r,void 0,t,!1,!1,(function(n,r,a){return e.Debug.assertEqual(t,r,"name should equal outerName"),Tr(n,r,a)||Bg(e.unescapeLeadingUnderscores(r),e.arrayFrom(n.values()),a)}))}function Gg(n,t){return t.exports&&Bg(e.idText(n),pa(t),2623475)}function Bg(n,t,r){return e.getSpellingSuggestion(n,t,(function(n){var t=e.symbolName(n);if(e.startsWith(t,'"'))return;if(n.flags&r)return t;if(2097152&n.flags){var a=function(e){if(vr(e).target!==ve)return Xr(e)}(n);if(a&&a.flags&r)return t}return}))}function Ug(n,t,r){var a=n&&106500&n.flags&&n.valueDeclaration;if(a){var i=e.hasEffectiveModifier(a,8),o=e.isNamedDeclaration(n.valueDeclaration)&&e.isPrivateIdentifier(n.valueDeclaration.name);if((i||o)&&(!t||!e.isWriteOnlyAccess(t)||65536&n.flags)){if(r){var s=e.findAncestor(t,e.isFunctionLikeDeclaration);if(s&&s.symbol===n)return}(1&e.getCheckFlags(n)?vr(n).target:n).isReferenced=67108863}}}function Vg(n,t,r,a){if(a===Se||hi(a))return!0;var i=Zs(a,r);if(i){if(e.isPropertyAccessExpression(n)&&i.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(i.valueDeclaration)){var o=e.getContainingClass(i.valueDeclaration);return!e.isOptionalChain(n)&&!!e.findAncestor(n,(function(e){return e===o}))}return mg(n,t,a,i)}return e.isInJSFile(n)&&0!=(1048576&a.flags)&&a.types.some((function(e){return Vg(n,t,r,e)}))}function jg(n){var t=n.initializer;if(247===t.kind){var r=t.declarations[0];if(r&&!e.isBindingPattern(r.name))return va(r)}else if(78===t.kind)return Wf(t)}function Kg(e){return 32&e.flags?function(e){var n=iv(e.expression),t=tf(n,e.expression);return nf(Hg(e,Tg(t,e.expression)),e,t!==n)}(e):Hg(e,gg(e.expression))}function Hg(n,t){var r=0!==e.getAssignmentTargetKind(n)||Ag(n)?df(t):t,a=n.argumentExpression,i=iv(a);if(r===Se||r===je)return r;if(Rh(r)&&!e.isStringLiteralLike(a))return or(a,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Se;var o=du(r,function(n){var t,r=e.skipParentheses(n);if(78===r.kind){var a=Wf(r);if(3&a.flags)for(var i=n,o=n.parent;o;){if(235===o.kind&&i===o.statement&&jg(o)===a&&(ac(t=tv(o.expression),1)&&!ac(t,0)))return!0;i=o,o=o.parent}}return!1}(a)?ke:i,n,e.isAssignmentTarget(n)?2|(tu(r)&&!au(r)?1:0):0)||Se;return bv(Rg(n,o.symbol,o,a),n)}function Wg(n,t,r){if(t===Se)return!1;if(!e.isWellKnownSymbolSyntactically(n))return!1;if(0==(12288&t.flags))return r&&or(n,e.Diagnostics.A_computed_property_name_of_the_form_0_must_be_of_type_symbol,e.getTextOfNode(n)),!1;var a=n.expression,i=Wf(a);if(!i)return!1;var o=dl(!0);return!!o&&(i===o||(r&&or(a,e.Diagnostics.Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object),!1))}function qg(n){return e.isCallOrNewExpression(n)||e.isTaggedTemplateExpression(n)||e.isJsxOpeningLikeElement(n)}function zg(n){return qg(n)&&e.forEach(n.typeArguments,bE),202===n.kind?iv(n.template):e.isJsxOpeningLikeElement(n)?iv(n.attributes):160!==n.kind&&e.forEach(n.arguments,(function(e){iv(e)})),it}function Jg(e){return zg(e),ot}function Xg(e){return!!e&&(217===e.kind||224===e.kind&&e.isSpread)}function Yg(n){return e.findIndex(n,Xg)}function Qg(e){return!!(16384&e.flags)}function Zg(n,t,r,a){var i;void 0===a&&(a=!1);var o=!1,s=eh(r),c=nh(r);if(202===n.kind)if(i=t.length,215===n.template.kind){var l=e.last(n.template.templateSpans);o=e.nodeIsMissing(l.literal)||!!l.literal.isUnterminated}else{var u=n.template;e.Debug.assert(14===u.kind),o=!!u.isUnterminated}else if(160===n.kind)i=fy(n,r);else if(e.isJsxOpeningLikeElement(n)){if(o=n.attributes.end===n.end)return!0;i=0===c?t.length:1,s=0===t.length?s:1,c=Math.min(c,1)}else{if(!n.arguments)return e.Debug.assert(201===n.kind),0===nh(r);i=a?t.length+1:t.length,o=n.arguments.end===n.end;var d=Yg(t);if(d>=0)return d>=nh(r)&&(th(r)||d<eh(r))}if(!th(r)&&i>s)return!1;if(o||i>=c)return!0;for(var p=i;p<c;p++){if(131072&Em(Qy(r,p),Qg).flags)return!1}return!0}function $g(n,t){var r=e.length(n.typeParameters),a=fc(n.typeParameters);return!e.some(t)||t.length>=a&&t.length<=r}function ey(e){return ty(e,0,!1)}function ny(e){return ty(e,0,!1)||ty(e,1,!1)}function ty(e,n,t){if(524288&e.flags){var r=Ls(e);if(t||0===r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function ry(n,t,r,a){var i=yf(n.typeParameters,n,0,a),o=rh(t),s=r&&(o&&262144&o.flags?r.nonFixingMapper:r.mapper);return _f(s?rd(t,s):t,n,(function(e,n){Pf(i.inferences,e,n)})),r||gf(t,n,(function(e,n){Pf(i.inferences,e,n,64)})),xc(n,Kf(i),e.isInJSFile(t.declaration))}function ay(n,t,r,a,i){if(e.isJsxOpeningLikeElement(n))return function(e,n,t,r){var a=I_(n,e),i=Uh(e.attributes,a,r,t);return Pf(r.inferences,i,a),Kf(r)}(n,t,a,i);if(160!==n.kind){var o=D_(n,e.every(t.typeParameters,(function(e){return!!Us(e)}))?8:0);if(o){var s=C_(n),c=pd(o,Sf(function(n,t){return void 0===t&&(t=0),n&&hf(e.map(n.inferences,Tf),n.signature,n.flags|t,n.compareTypes)}(s,1))),l=ey(c),u=l&&l.typeParameters?Rc(Ac(l,l.typeParameters)):c,d=Ec(t);Pf(i.inferences,u,d,64);var p=yf(t.typeParameters,t,i.flags),f=pd(o,s&&s.returnMapper);Pf(p.inferences,f,d),i.returnMapper=e.some(p.inferences,Zh)?Sf(function(n){var t=e.filter(n.inferences,Zh);return t.length?hf(e.map(t,Tf),n.signature,n.flags,n.compareTypes):void 0}(p)):void 0}}var m=ah(t),_=m?Math.min(eh(t)-1,r.length):r.length;if(m&&262144&m.flags){var g=e.find(i.inferences,(function(e){return e.typeParameter===m}));g&&(g.impliedArity=e.findIndex(r,Xg,_)<0?r.length-_:void 0)}var y=vc(t);if(y){var h=uy(n),v=h?iv(h):Ue;Pf(i.inferences,v,y)}for(var b=0;b<_;b++){var E=r[b];if(219!==E.kind){var T=Qy(t,b),S=Uh(E,T,i,a);Pf(i.inferences,S,T)}}if(m){var L=oy(r,_,r.length,m,i,a);Pf(i.inferences,L,m)}return Kf(i)}function iy(e){return 1048576&e.flags?Sm(e,iy):1&e.flags||Lp(Ms(e)||e)?e:Gp(e)?xl(Hc(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):xl([e],[8])}function oy(n,t,r,a,i,o){if(t>=r-1&&Xg(d=n[r-1]))return iy(224===d.kind?d.type:Uh(d.expression,a,i,o));for(var s=[],c=[],l=[],u=t;u<r;u++){var d;if(Xg(d=n[u])){var p=224===d.kind?d.type:iv(d.expression);Ap(p)?(s.push(p),c.push(8)):(s.push(bb(33,p,Ae,217===d.kind?d.expression:d)),c.push(4))}else{var f=lu(a,wu(u-t)),m=Uh(d,f,i,o),_=Ch(f,4325372);s.push(_?Pu(m):Pp(m)),c.push(1)}224===d.kind&&d.tupleNameSource&&l.push(d.tupleNameSource)}return xl(s,c,!1,e.length(l)===e.length(s)?l:void 0)}function sy(n,t,r,a){for(var i,o=e.isInJSFile(n.declaration),s=n.typeParameters,c=mc(e.map(t,Vu),s,fc(s),o),l=0;l<t.length;l++){e.Debug.assert(void 0!==s[l],"Should not call checkTypeArguments with too many type arguments");var u=Ns(s[l]);if(u){var d=r&&a?function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:void 0,p=a||e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;i||(i=qu(s,c));var f=c[l];if(!Rd(f,Xo(pd(u,i),f),r?t[l]:void 0,p,d))return}}return c}function cy(n){if(z_(n.tagName))return 2;var t=js(iv(n.tagName));return e.length(ec(t,1))?0:e.length(ec(t,0))?1:2}function ly(n,t,r,a,i,o,s){var c={errors:void 0,skipLogging:!0};if(e.isJsxOpeningLikeElement(n))return function(n,t,r,a,i,o,s){var c=I_(t,n),l=Uh(n.attributes,c,void 0,a);return function(){var t,r=e.isJsxOpeningElement(n)||e.isJsxSelfClosingElement(n)&&!z_(n.tagName)?iv(n.tagName):void 0;if(!r)return!0;var a=ec(r,0);if(!e.length(a))return!0;var o=bT(n);if(!o)return!0;var c=ra(o,111551,!0,!1,n);if(!c)return!0;var l=ec(to(c),0);if(!e.length(l))return!0;for(var u=!1,d=0,p=0,f=l;p<f.length;p++){var m=ec(Qy(f[p],0),0);if(e.length(m))for(var _=0,g=m;_<g.length;_++){var y=g[_];if(u=!0,th(y))return!0;var h=eh(y);h>d&&(d=h)}}if(!u)return!0;for(var v=1/0,b=0,E=a;b<E.length;b++){var T=nh(E[b]);T<v&&(v=T)}if(v<=d)return!0;if(i){var S=e.createDiagnosticForNode(n.tagName,e.Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,e.entityNameToString(n.tagName),v,e.entityNameToString(o),d),L=null===(t=ME(n.tagName))||void 0===t?void 0:t.valueDeclaration;L&&e.addRelatedInfo(S,e.createDiagnosticForNode(L,e.Diagnostics._0_is_declared_here,e.entityNameToString(n.tagName))),s&&s.skipLogging&&(s.errors||(s.errors=[])).push(S),s.skipLogging||zt.add(S)}return!1}()&&Od(l,c,r,i?n.tagName:void 0,n.attributes,void 0,o,s)}(n,r,a,i,o,s,c)?void 0:(e.Debug.assert(!o||!!c.errors,"jsx should have errors when reporting errors"),c.errors||e.emptyArray);var l=vc(r);if(l&&l!==Ue&&201!==n.kind){var u=uy(n),d=void 0;u?(d=iv(u),e.isOptionalChainRoot(u.parent)?d=Qp(d):e.isOptionalChain(u.parent)&&(d=ef(d))):d=Ue;var p=o?u||n:void 0,f=e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!ep(d,l,a,p,f,s,c))return e.Debug.assert(!o||!!c.errors,"this parameter should have errors when reporting errors"),c.errors||e.emptyArray}for(var m=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,_=ah(r),g=_?Math.min(eh(r)-1,t.length):t.length,y=0;y<g;y++){var h=t[y];if(219!==h.kind){var v=Qy(r,y),b=Uh(h,v,void 0,i),E=4&i?of(b):b;if(!Od(E,v,a,o?h:void 0,h,m,s,c))return e.Debug.assert(!o||!!c.errors,"parameter should have errors when reporting errors"),S(h,E,v),c.errors||e.emptyArray}}if(_){var T=oy(t,g,t.length,_,void 0,i);p=o?g<t.length?t[g]:n:void 0;if(!ep(T,_,a,p,m,void 0,c))return e.Debug.assert(!o||!!c.errors,"rest parameter should have errors when reporting errors"),S(p,T,_),c.errors||e.emptyArray}return;function S(n,t,r){if(n&&o&&c.errors&&c.errors.length){if(Av(r))return;var i=Av(t);i&&Qd(i,r,a)&&e.addRelatedInfo(c.errors[0],e.createDiagnosticForNode(n,e.Diagnostics.Did_you_forget_to_use_await))}}}function uy(n){if(200===n.kind){var t=e.skipOuterExpressions(n.expression);if(e.isAccessExpression(t))return t.expression}}function dy(n,t,r,a){var i=e.parseNodeFactory.createSyntheticExpression(t,r,a);return e.setTextRange(i,n),e.setParent(i,n),i}function py(n){if(202===n.kind){var t=n.template,r=[dy(t,qn||(qn=ul("TemplateStringsArray",0,!0))||Ze)];return 215===t.kind&&e.forEach(t.templateSpans,(function(e){r.push(e.expression)})),r}if(160===n.kind)return function(n){var t=n.parent,r=n.expression;switch(t.kind){case 249:case 218:return[dy(r,to(va(t)))];case 159:var a=t.parent;return[dy(r,165===t.parent.kind?to(va(a)):Se),dy(r,be),dy(r,ke)];case 162:case 164:case 166:case 167:var i=162!==t.kind&&0!==K;return[dy(r,BE(t)),dy(r,UE(t)),dy(r,i?hl(wE(t)):be)]}return e.Debug.fail()}(n);if(e.isJsxOpeningLikeElement(n))return n.attributes.properties.length>0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,i=Yg(a);if(i>=0){for(var o=a.slice(0,i),s=function(n){var t=a[n],r=217===t.kind&&(Et?iv(t.expression):Vh(t.expression));r&&Gp(r)?e.forEach(Hc(r),(function(e,n){var a,i=r.target.elementFlags[n],s=dy(t,4&i?vl(e):e,!!(12&i),null===(a=r.target.labeledElementDeclarations)||void 0===a?void 0:a[n]);o.push(s)})):o.push(t)},c=i;c<a.length;c++)s(c);return o}return a}function fy(n,t){switch(n.parent.kind){case 249:case 218:return 1;case 162:return 2;case 164:case 166:case 167:return 0===K||t.parameters.length<=2?2:3;case 159:return 3;default:return e.Debug.fail()}}function my(n,t){var r,a,i=e.getSourceFileOfNode(n);if(e.isPropertyAccessExpression(n.expression)){var o=e.getErrorSpanForNode(i,n.expression.name);r=o.start,a=t?o.length:n.end-r}else{var s=e.getErrorSpanForNode(i,n.expression);r=s.start,a=t?s.length:n.end-r}return{start:r,length:a,sourceFile:i}}function _y(n,t,r,a,i,o){if(e.isCallExpression(n)){var s=my(n),c=s.sourceFile,l=s.start,u=s.length;return e.createFileDiagnostic(c,l,u,t,r,a,i,o)}return e.createDiagnosticForNode(n,t,r,a,i,o)}function gy(n,t,r){for(var a,i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,c=Number.POSITIVE_INFINITY,l=r.length,u=0,d=t;u<d.length;u++){var p=d[u],f=nh(p),m=eh(p);f<l&&f>s&&(s=f),l<m&&m<c&&(c=m),f<i&&(i=f,a=p),o=Math.max(o,m)}var _,g,y=e.some(t,th),h=y?i:i<o?i+"-"+o:i,v=Yg(r)>-1;l<=o&&v&&l--;var b=y||v?y&&v?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(a&&nh(a)>l&&a.declaration){var E=a.declaration.parameters[a.thisParameter?l+1:l];E&&(g=e.createDiagnosticForNode(E,e.isBindingPattern(E.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.isRestParameter(E)?e.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,E.name?e.isBindingPattern(E.name)?void 0:e.idText(e.getFirstIdentifier(E.name)):l))}if(i<l&&l<o)return _y(n,e.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,l,s,c);if(!v&&l<i){var T=_y(n,b,h,l);return g?e.addRelatedInfo(T,g):T}if(y||v){if(_=e.factory.createNodeArray(r),v&&l){var S=e.elementAt(r,Yg(r)+1)||void 0;_=e.factory.createNodeArray(r.slice(o>l&&S?r.indexOf(S):Math.min(o,r.length-1)))}}else _=e.factory.createNodeArray(r.slice(o));var L=e.first(_).pos,x=e.last(_).end;x===L&&x++,e.setTextRangePosEnd(_,L,x);var A=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),_,b,h,l);return g?e.addRelatedInfo(A,g):A}function yy(n,r,a,i,o,s){var c,l=202===n.kind,u=160===n.kind,d=e.isJsxOpeningLikeElement(n),p=!a&&t;u||(c=n.typeArguments,(l||d||105!==n.expression.kind)&&e.forEach(c,bE));var f=a||[];if(function(n,t,r){var a,i,o,s,c=0,l=-1;e.Debug.assert(!t.length);for(var u=0,d=n;u<d.length;u++){var p=d[u],f=p.declaration&&va(p.declaration),m=p.declaration&&p.declaration.parent;i&&f!==i?(o=c=t.length,a=m):a&&m===a?o+=1:(a=m,o=c),i=f,B(p)?(s=++l,c++):s=o,t.splice(s,0,r?es(p,r):p)}}(r,f,o),!f.length)return p&&zt.add(_y(n,e.Diagnostics.Call_target_does_not_contain_any_signatures)),Jg(n);var m,_,g,y,h=py(n),v=1===f.length&&!f[0].typeParameters,b=u||v||!e.some(h,yd)?0:4,E=!!(16&i)&&200===n.kind&&n.arguments.hasTrailingComma;if(f.length>1&&(y=q(f,Qt,E)),y||(y=q(f,$t,E)),y)return y;if(p)if(m)if(1===m.length||m.length>3){var T,S=m[m.length-1];m.length>3&&(T=e.chainDiagnosticMessages(T,e.Diagnostics.The_last_overload_gave_the_following_error),T=e.chainDiagnosticMessages(T,e.Diagnostics.No_overload_matches_this_call));var L=ly(n,h,S,$t,0,!0,(function(){return T}));if(L)for(var x=0,A=L;x<A.length;x++){var D=A[x];S.declaration&&m.length>3&&e.addRelatedInfo(D,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),zt.add(D)}else e.Debug.fail("No error for last overload signature")}else{for(var C=[],I=0,N=Number.MAX_VALUE,R=0,k=0,O=function(t){var r=ly(n,h,t,$t,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,k+1,f.length,Za(t))}));r?(r.length<=N&&(N=r.length,R=k),I=Math.max(I,r.length),C.push(r)):e.Debug.fail("No error for 3 or fewer overload signatures"),k++},P=0,M=m;P<M.length;P++){O(M[P])}var w=I>1?C[R]:e.flatten(C);e.Debug.assert(w.length>0,"No errors reported for 3 or fewer overload signatures");var F=e.chainDiagnosticMessages(e.map(w,(function(e){return"string"==typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),U=e.flatMap(w,(function(e){return e.relatedInformation}));if(e.every(w,(function(e){return e.start===w[0].start&&e.length===w[0].length&&e.file===w[0].file}))){var V=w[0],j=V.file,K=V.start,H=V.length;zt.add({file:j,start:K,length:H,code:F.code,category:F.category,messageText:F,relatedInformation:U})}else zt.add(e.createDiagnosticForNodeFromMessageChain(n,F,U))}else if(_)zt.add(gy(n,[_],h));else if(g)sy(g,n.typeArguments,!0,s);else{var W=e.filter(r,(function(e){return $g(e,c)}));0===W.length?zt.add(function(n,t,r){var a=r.length;if(1===t.length){var i=fc((d=t[0]).typeParameters),o=e.length(d.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,i<o?i+"-"+o:i,a)}for(var s=-1/0,c=1/0,l=0,u=t;l<u.length;l++){var d,p=fc((d=u[l]).typeParameters);o=e.length(d.typeParameters);p>a?c=Math.min(c,p):o<a&&(s=Math.max(s,o))}return s!==-1/0&&c!==1/0?e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,a,s,c):e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,s===-1/0?c:s,a)}(n,r,c)):u?s&&zt.add(_y(n,s)):zt.add(gy(n,W,h))}return function(n,t,r,a){return e.Debug.assert(t.length>0),TE(n),a||1===t.length||t.some((function(e){return!!e.typeParameters}))?function(n,t,r){var a=function(e,n){for(var t=-1,r=-1,a=0;a<e.length;a++){var i=e[a],o=eh(i);if(th(i)||o>=n)return a;o>r&&(r=o,t=a)}return t}(t,void 0===ie?r.length:ie),i=t[a],o=i.typeParameters;if(!o)return i;var s=qg(n)?n.typeArguments:void 0,c=s?Dc(i,function(e,n,t){var r=e.map(wE);for(;r.length>n.length;)r.pop();for(;r.length<n.length;)r.push(Ns(n[r.length])||jf(t));return r}(s,o,e.isInJSFile(n))):function(n,t,r,a){var i=yf(t,r,e.isInJSFile(n)?2:0),o=ay(n,r,a,12,i);return Dc(r,o)}(n,o,i,r);return t[a]=c,c}(n,t,r):function(n){var t,r=e.mapDefined(n,(function(e){return e.thisParameter}));r.length&&(t=vy(r,r.map(qy)));for(var a=e.minAndMax(n,hy),i=a.min,o=a.max,s=[],c=function(t){var r=e.mapDefined(n,(function(n){return G(n)?t<n.parameters.length-1?n.parameters[t]:e.last(n.parameters):t<n.parameters.length?n.parameters[t]:void 0}));e.Debug.assert(0!==r.length),s.push(vy(r,e.mapDefined(n,(function(e){return Zy(e,t)}))))},l=0;l<o;l++)c(l);var u=e.mapDefined(n,(function(n){return G(n)?e.last(n.parameters):void 0})),d=0;if(0!==u.length){var p=vl(wl(e.mapDefined(n,Lc),2));s.push(by(u,p)),d|=1}n.some(B)&&(d|=2);return Qo(n[0].declaration,void 0,t,s,Kl(n.map(Ec)),void 0,i,d)}(t)}(n,f,h,!!a);function q(t,r,a){if(void 0===a&&(a=!1),m=void 0,_=void 0,g=void 0,v){var i=t[0];if(e.some(c)||!Zg(n,h,i,a))return;return ly(n,h,i,r,0,!1,void 0)?void(m=[i]):i}for(var o=0;o<t.length;o++){if($g(i=t[o],c)&&Zg(n,h,i,a)){var s=void 0,l=void 0;if(i.typeParameters){var u=void 0;if(e.some(c)){if(!(u=sy(i,c,!1))){g=i;continue}}else l=yf(i.typeParameters,i,e.isInJSFile(n)?2:0),u=ay(n,i,h,8|b,l),b|=4&l.flags?8:0;if(s=xc(i,u,e.isInJSFile(i.declaration),l&&l.inferredTypeParameters),ah(i)&&!Zg(n,h,s,a)){_=s;continue}}else s=i;if(!ly(n,h,s,r,b,!1,void 0)){if(b){if(b=0,l)if(s=xc(i,u=ay(n,i,h,b,l),e.isInJSFile(i.declaration),l&&l.inferredTypeParameters),ah(i)&&!Zg(n,h,s,a)){_=s;continue}if(ly(n,h,s,r,b,!1,void 0)){(m||(m=[])).push(s);continue}}return t[o]=s,s}(m||(m=[])).push(s)}}}}function hy(e){var n=e.parameters.length;return G(e)?n-1:n}function vy(e,n){return by(e,wl(n,2))}function by(n,t){return af(e.first(n),t)}function Ey(e){return!(!e.typeParameters||!uT(Ec(e)))}function Ty(e,n,t,r){return hi(e)||hi(n)&&!!(262144&e.flags)||!t&&!r&&!(1179648&n.flags)&&Dd(e,_n)}function Sy(n,t,r){if(n.arguments&&K<1){var a=Yg(n.arguments);a>=0&&or(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=gg(n.expression);if(i===je)return ct;if((i=js(i))===Se)return Jg(n);if(hi(i))return n.typeArguments&&or(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),zg(n);var o=ec(i,1);if(o.length){if(!function(n,t){if(!t||!t.declaration)return!0;var r=t.declaration,a=e.getSelectedEffectiveModifierFlags(r,24);if(!a||165!==r.kind)return!0;var i=e.getClassLikeDeclarationOfSymbol(r.parent.symbol),o=Io(r.parent.symbol);if(!kE(n,i)){var s=e.getContainingClass(n);if(s&&16&a){var c=wE(s);if(function n(t,r){var a=ho(r);if(!e.length(a))return!1;var i=a[0];if(2097152&i.flags){for(var o=ls(i.types),s=0,c=0,l=i.types;c<l.length;c++){var u=l[c];if(!o[s]&&3&e.getObjectFlags(u)){if(u.symbol===t)return!0;if(n(t,u))return!0}s++}return!1}if(i.symbol===t)return!0;return n(t,i)}(r.parent.symbol,c))return!0}return 8&a&&or(n,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,$a(o)),16&a&&or(n,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,$a(o)),!1}return!0}(n,o[0]))return Jg(n);var s=i.symbol&&e.getClassLikeDeclarationOfSymbol(i.symbol);return s&&e.hasSyntacticModifier(s,128)?(or(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Jg(n)):yy(n,o,t,r,0)}var c=ec(i,0);if(c.length){var l=yy(n,c,t,r,0);return Y||(l.declaration&&!Oy(l.declaration)&&Ec(l)!==Ue&&or(n,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),vc(l)===Ue&&or(n,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),l}return xy(n.expression,i,1),Jg(n)}function Ly(n,t,r){var a,i=0===r,o=Iv(t),s=o&&ec(o,r).length>0;if(1048576&t.flags){for(var c=!1,l=0,u=t.types;l<u.length;l++){var d=u[l];if(0!==ec(d,r).length){if(c=!0,a)break}else if(a||(a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,$a(d)),a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Not_all_constituents_of_type_0_are_callable:e.Diagnostics.Not_all_constituents_of_type_0_are_constructable,$a(t))),c)break}c||(a=e.chainDiagnosticMessages(void 0,i?e.Diagnostics.No_constituent_of_type_0_is_callable:e.Diagnostics.No_constituent_of_type_0_is_constructable,$a(t))),a||(a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:e.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,$a(t)))}else a=e.chainDiagnosticMessages(a,i?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,$a(t));var p=i?e.Diagnostics.This_expression_is_not_callable:e.Diagnostics.This_expression_is_not_constructable;if(e.isCallExpression(n.parent)&&0===n.parent.arguments.length){var f=br(n).resolvedSymbol;f&&32768&f.flags&&(p=e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:e.chainDiagnosticMessages(a,p),relatedMessage:s?e.Diagnostics.Did_you_forget_to_use_await:void 0}}function xy(n,t,r,a){var i=Ly(n,t,r),o=i.messageChain,s=i.relatedMessage,c=e.createDiagnosticForNodeFromMessageChain(n,o);if(s&&e.addRelatedInfo(c,e.createDiagnosticForNode(n,s)),e.isCallExpression(n.parent)){var l=my(n.parent,!0),u=l.start,d=l.length;c.start=u,c.length=d}zt.add(c),Ay(t,r,a?e.addRelatedInfo(c,a):c)}function Ay(n,t,r){if(n.symbol){var a=vr(n.symbol).originatingImport;if(a&&!e.isImportCall(a)){var i=ec(to(vr(n.symbol).target),t);if(!i||!i.length)return;e.addRelatedInfo(r,e.createDiagnosticForNode(a,e.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}}function Dy(n){switch(n.parent.kind){case 249:case 218:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 159:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 162:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 164:case 166:case 167:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return e.Debug.fail()}}function Cy(n,t,r){var a=iv(n.expression),i=js(a);if(i===Se)return Jg(n);var o,s,c=ec(i,0),l=ec(i,1).length;if(Ty(a,i,c.length,l))return zg(n);if(o=n,(s=c).length&&e.every(s,(function(e){return 0===e.minArgumentCount&&!G(e)&&e.parameters.length<fy(o,e)}))){var u=e.getTextOfNode(n.expression,!1);return or(n,e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,u),Jg(n)}var d=Dy(n);if(!c.length){var p=Ly(n.expression,i,0),f=e.chainDiagnosticMessages(p.messageChain,d),m=e.createDiagnosticForNodeFromMessageChain(n.expression,f);return p.relatedMessage&&e.addRelatedInfo(m,e.createDiagnosticForNode(n.expression,p.relatedMessage)),zt.add(m),Ay(i,0,m),Jg(n)}return yy(n,c,t,r,0,d)}function Iy(n,t){var r=eg(n),a=r&&ma(r),i=a&&Tr(a,D.Element,788968),o=i&&ne.symbolToEntityName(i,788968,n),s=e.factory.createFunctionTypeNode(void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"props",void 0,ne.typeToTypeNode(t,n))],o?e.factory.createTypeReferenceNode(o,void 0):e.factory.createKeywordTypeNode(128)),c=ur(1,"props");return c.type=t,Qo(s,void 0,void 0,[c],i?Io(i):Se,void 0,1,0)}function Ny(n,t,r){if(z_(n.tagName)){var a=ag(n),i=Iy(n,a);return kd(Uh(n.attributes,I_(i,n),void 0,0),a,n.tagName,n.attributes),i}var o=iv(n.tagName),s=js(o);if(s===Se)return Jg(n);var c=function n(t,r){if(4&t.flags)return[it];if(128&t.flags){var a=rg(t,r);return a?[Iy(r,a)]:(or(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,"JSX."+D.IntrinsicElements),e.emptyArray)}var i=js(t),o=ec(i,1);return 0===o.length&&(o=ec(i,0)),0===o.length&&1048576&i.flags&&(o=as(e.map(i.types,(function(e){return n(e,r)})))),o}(o,n);return Ty(o,s,c.length,0)?zg(n):0===c.length?(or(n.tagName,e.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,e.getTextOfNode(n.tagName)),Jg(n)):yy(n,c,t,r,0)}function Ry(n,t,r){switch(n.kind){case 200:return function(n,t,r){if(105===n.expression.kind){var a=i_(n.expression);if(hi(a)){for(var i=0,o=n.arguments;i<o.length;i++){iv(o[i])}return it}if(a!==Se){var s=e.getEffectiveBaseTypeNode(e.getContainingClass(n));if(s)return yy(n,_o(a,s.typeArguments,s),t,r,0)}return zg(n)}var c,l=iv(n.expression);if(e.isCallChain(n)){var u=tf(l,n.expression);c=u===l?0:e.isOutermostOptionalChain(n)?8:4,l=u}else c=0;if((l=Eg(l,n.expression,bg))===je)return ct;var d=js(l);if(d===Se)return Jg(n);var p=ec(d,0),f=ec(d,1).length;if(Ty(l,d,p.length,f))return l!==Se&&n.typeArguments&&or(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),zg(n);if(!p.length){if(f)or(n,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,$a(l));else{var m=void 0;if(1===n.arguments.length){var _=e.getSourceFileOfNode(n).text;e.isLineBreak(_.charCodeAt(e.skipTrivia(_,n.expression.end,!0)-1))&&(m=e.createDiagnosticForNode(n.expression,e.Diagnostics.Are_you_missing_a_semicolon))}xy(n.expression,d,0,m)}return Jg(n)}return 8&r&&!n.typeArguments&&p.some(Ey)?(Qh(n,r),st):p.some((function(n){return e.isInJSFile(n.declaration)&&!!e.getJSDocClassTag(n.declaration)}))?(or(n,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,$a(l)),Jg(n)):yy(n,p,t,r,c)}(n,t,r);case 201:return Sy(n,t,r);case 202:return function(e,n,t){var r=iv(e.tag),a=js(r);if(a===Se)return Jg(e);var i=ec(a,0),o=ec(a,1).length;return Ty(r,a,i.length,o)?zg(e):i.length?yy(e,i,n,t,0):(xy(e.tag,a,0),Jg(e))}(n,t,r);case 160:return Cy(n,t,r);case 272:case 271:return Ny(n,t,r)}throw e.Debug.assertNever(n,"Branch in 'resolveSignature' should be unreachable.")}function ky(e,n,t){var r=br(e),a=r.resolvedSignature;if(a&&a!==st&&!n)return a;r.resolvedSignature=st;var i=Ry(e,n,t||0);return i!==st&&(r.resolvedSignature=bt===Et?i:a),i}function Oy(n){var t;if(!n||!e.isInJSFile(n))return!1;var r=e.isFunctionDeclaration(n)||e.isFunctionExpression(n)?n:e.isVariableDeclaration(n)&&n.initializer&&e.isFunctionExpression(n.initializer)?n.initializer:void 0;if(r){if(e.getJSDocClassTag(n))return!0;var a=va(r);return!!(null===(t=null==a?void 0:a.members)||void 0===t?void 0:t.size)}return!1}function Py(n,t){var r,a;if(t){var i=vr(t);if(!i.inferredClassSymbol||!i.inferredClassSymbol.has(k(n))){var o=e.isTransientSymbol(n)?n:fr(n);return o.exports=o.exports||e.createSymbolTable(),o.members=o.members||e.createSymbolTable(),o.flags|=32&t.flags,(null===(r=t.exports)||void 0===r?void 0:r.size)&&yr(o.exports,t.exports),(null===(a=t.members)||void 0===a?void 0:a.size)&&yr(o.members,t.members),(i.inferredClassSymbol||(i.inferredClassSymbol=new e.Map)).set(k(o),o),o}return i.inferredClassSymbol.get(k(n))}}function My(n,t){var r;RT(n,n.typeArguments)||kT(n.arguments);var a=ky(n,void 0,t);if(a===st)return Ke;if(wy(a,n),105===n.expression.kind)return Ue;if(201===n.kind){var i=a.declaration;if(i&&165!==i.kind&&169!==i.kind&&174!==i.kind&&!e.isJSDocConstructSignature(i)&&!Oy(i))return Y&&or(n,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),be}if(e.isInJSFile(n)&&Vy(n))return function(e){var n=ia(e,e);if(n){var t=la(n);if(t)return to(t)}return be}(n.arguments[0]);var o=Ec(a);if(12288&o.flags&&Gy(n))return Fu(e.walkUpParenthesizedExpressions(n.parent));if(200===n.kind&&230===n.parent.kind&&16384&o.flags&&bc(a))if(e.isDottedName(n.expression)){if(!Gm(n)){var s=or(n.expression,e.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);Fm(n.expression,s)}}else or(n.expression,e.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(e.isInJSFile(n)){var c=e.getDeclarationOfExpando(n);if(c){var l=va(c);if(null===(r=null==l?void 0:l.exports)||void 0===r?void 0:r.size){var u=wa(l,l.exports,e.emptyArray,e.emptyArray,void 0,void 0);return u.objectFlags|=16384,Kl([o,u])}}}return o}function wy(n,t){n.declaration&&134217728&n.declaration.flags&&cr(!1,Fy(t),e.Diagnostics._0_is_deprecated,Za(n))}function Fy(n){switch((n=e.skipParentheses(n)).kind){case 200:case 160:case 201:return Fy(n.expression);case 202:return Fy(n.tag);case 272:case 271:return Fy(n.tagName);case 199:return n.argumentExpression;case 198:return n.name;case 172:var t=n;return e.isQualifiedName(t.typeName)?t.typeName.right:t;default:return n}}function Gy(n){if(!e.isCallExpression(n))return!1;var t=n.expression;if(e.isPropertyAccessExpression(t)&&"for"===t.name.escapedText&&(t=t.expression),!e.isIdentifier(t)||"Symbol"!==t.escapedText)return!1;var r=dl(!1);return!!r&&r===xr(t,"Symbol",111551,void 0,void 0,!1)}function By(n){if(kT(n.arguments)||function(n){if(H===e.ModuleKind.ES2015)return XT(n,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd);if(n.typeArguments)return XT(n,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var t=n.arguments;if(1!==t.length)return XT(n,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument);if(DT(t),e.isSpreadElement(t[0]))return XT(t[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}(n),0===n.arguments.length)return dh(n,be);for(var t=n.arguments[0],r=Vh(t),a=1;a<n.arguments.length;++a)Vh(n.arguments[a]);(32768&r.flags||65536&r.flags||!Dd(r,Re))&&or(t,e.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,$a(r));var i=ia(n,t);if(i){var o=ua(i,t,!0,!1);if(o)return dh(n,Uy(to(o),o,i))}return dh(n,be)}function Uy(n,t,r){if(W&&n&&n!==Se){var a=n;if(!a.syntheticType)if(Vr(e.find(r.declarations,e.isSourceFile),r,!1)){var i=e.createSymbolTable(),o=ur(2097152,"default");o.nameType=wu("default"),o.target=Jr(t),i.set("default",o);var s=ur(2048,"__type"),c=wa(s,i,e.emptyArray,e.emptyArray,void 0,void 0);s.type=c,a.syntheticType=W_(n)?Cu(n,c,s,0,!1):c}else a.syntheticType=n;return a.syntheticType}return n}function Vy(n){if(!e.isRequireCall(n,!0))return!1;if(!e.isIdentifier(n.expression))return e.Debug.fail();var t=xr(n.expression,n.expression.escapedText,111551,void 0,void 0,!0);if(t===se)return!0;if(2097152&t.flags)return!1;var r=16&t.flags?248:3&t.flags?246:0;if(0!==r){var a=e.getDeclarationOfKind(t,r);return!!a&&!!(8388608&a.flags)}return!1}function jy(n){(function(n){if(n.questionDotToken||32&n.flags)return XT(n.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain);return!1})(n)||RT(n,n.typeArguments),K<2&&ST(n,524288);var t=ky(n);return wy(t,n),Ec(t)}function Ky(n,r,a,i){var o=iv(a,i);if(e.isConstTypeReference(r))return function n(t){switch(t.kind){case 10:case 14:case 8:case 9:case 109:case 94:case 196:case 197:return!0;case 204:return n(t.expression);case 211:var r=t.operator,a=t.operand;return 40===r&&(8===a.kind||9===a.kind)||39===r&&8===a.kind;case 198:case 199:var i=t.expression;if(e.isIdentifier(i)){var o=ME(i);return o&&2097152&o.flags&&(o=Xr(o)),!!(o&&384&o.flags&&1===Lo(o))}}return!1}(a)||or(a,e.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),Pu(o);bE(r),o=of(Op(o));var s=Vu(r);t&&s!==Se&&(Id(s,df(o))||jd(o,s,n,e.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first));return s}function Hy(e){return 32&e.flags?function(e){var n=iv(e.expression),t=tf(n,e.expression);return nf(Qp(t),e,t!==n)}(e):Qp(iv(e.expression))}function Wy(n){return function(n){var t=n.name.escapedText;switch(n.keywordToken){case 102:if("target"!==t)return XT(n.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,n.name.escapedText,e.tokenToString(n.keywordToken),"target");break;case 99:if("meta"!==t)XT(n.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,n.name.escapedText,e.tokenToString(n.keywordToken),"meta")}}(n),102===n.keywordToken?function(n){var t=e.getNewTargetContainer(n);return t?165===t.kind?to(va(t.parent)):to(va(t)):(or(n,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Se)}(n):99===n.keywordToken?function(n){H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System&&or(n,e.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system);var t=e.getSourceFileOfNode(n);return e.Debug.assert(!!(2097152&t.flags),"Containing file is missing import meta node flag."),e.Debug.assert(!!t.externalModuleIndicator,"Containing file should be a module."),"meta"===n.name.escapedText?function(){return zn||(zn=ul("ImportMeta",0,!0))||Ze}():Se}(n):e.Debug.assertNever(n.keywordToken)}function qy(n){var t=to(n);if(q){var r=n.valueDeclaration;if(r&&e.hasInitializer(r))return Yp(t)}return t}function zy(n){return e.Debug.assert(e.isIdentifier(n.name)),n.name.escapedText}function Jy(e,n,t){var r=e.parameters.length-(G(e)?1:0);if(n<r)return e.parameters[n].escapedName;var a=e.parameters[r]||he,i=t||to(a);if(Gp(i)){var o=i.target.labeledElementDeclarations,s=n-r;return o&&zy(o[s])||a.escapedName+"_"+s}return a.escapedName}function Xy(n){return 191===n.kind||e.isParameter(n)&&n.name&&e.isIdentifier(n.name)}function Yy(e,n){var t=e.parameters.length-(G(e)?1:0);if(n<t){var r=e.parameters[n].valueDeclaration;return r&&Xy(r)?r:void 0}var a=e.parameters[t]||he,i=to(a);if(Gp(i)){var o=i.target.labeledElementDeclarations;return o&&o[n-t]}return a.valueDeclaration&&Xy(a.valueDeclaration)?a.valueDeclaration:void 0}function Qy(e,n){return Zy(e,n)||be}function Zy(e,n){var t=e.parameters.length-(G(e)?1:0);if(n<t)return qy(e.parameters[n]);if(G(e)){var r=to(e.parameters[t]),a=n-t;if(!Gp(r)||r.target.hasRestElement||a<r.target.fixedLength)return lu(r,wu(a))}}function $y(n,t){var r=eh(n),a=nh(n),i=rh(n);if(i&&t>=r-1)return t===r-1?i:vl(lu(i,ke));for(var o=[],s=[],c=[],l=t;l<r;l++){!i||l<r-1?(o.push(Qy(n,l)),s.push(l<a?1:2)):(o.push(i),s.push(8));var u=Yy(n,l);u&&c.push(u)}return xl(o,s,!1,e.length(c)===e.length(o)?c:void 0)}function eh(e){var n=e.parameters.length;if(G(e)){var t=to(e.parameters[n-1]);if(Gp(t))return n+t.target.fixedLength-(t.target.hasRestElement?0:1)}return n}function nh(n,t){if(G(n)){var r=to(n.parameters[n.parameters.length-1]);if(Gp(r)){var a=e.findIndex(r.target.elementFlags,(function(e){return!(1&e)})),i=a<0?r.target.fixedLength:a;if(i>0)return n.parameters.length-1+i}}return!t&&16&n.flags?0:n.minArgumentCount}function th(e){if(G(e)){var n=to(e.parameters[e.parameters.length-1]);return!Gp(n)||n.target.hasRestElement}return!1}function rh(e){if(G(e)){var n=to(e.parameters[e.parameters.length-1]);if(!Gp(n))return n;if(n.target.hasRestElement)return Cl(n,n.target.fixedLength)}}function ah(e){var n=rh(e);return!n||Tp(n)||hi(n)||0!=(131072&zs(n).flags)?void 0:n}function ih(e){return oh(e,Ve)}function oh(e,n){return e.parameters.length>0?Qy(e,0):n}function sh(n,t){(n.typeParameters=t.typeParameters,t.thisParameter)&&((!(i=n.thisParameter)||i.valueDeclaration&&!i.valueDeclaration.type)&&(i||(n.thisParameter=af(t.thisParameter,void 0)),ch(n.thisParameter,to(t.thisParameter))));for(var r=n.parameters.length-(G(n)?1:0),a=0;a<r;a++){var i=n.parameters[a];if(!e.getEffectiveTypeAnnotationNode(i.valueDeclaration))ch(i,Zy(t,a))}if(G(n)){i=e.last(n.parameters);if(e.isTransientSymbol(i)||!e.getEffectiveTypeAnnotationNode(i.valueDeclaration))ch(i,$y(t,r))}}function ch(n,t){var r=vr(n);if(!r.type){var a=n.valueDeclaration;r.type=t||ji(a,!0),78!==a.name.kind&&(r.type===xe&&(r.type=Vi(a.name)),function n(t){for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];e.isOmittedExpression(i)||(78===i.name.kind?vr(va(i)).type=Li(i):n(i.name))}}(a.name))}}function lh(e){var n=fl(!0);return n!==tn?Vc(n,[e=Iv(e)||xe]):xe}function uh(e){var n,t=(n=!0,On||(On=ul("PromiseLike",1,n))||tn);return t!==tn?Vc(t,[e=Iv(e)||xe]):xe}function dh(n,t){var r=lh(t);return r===xe?(or(n,e.isImportCall(n)?e.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Se):(ml(!0)||or(n,e.isImportCall(n)?e.Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),r)}function ph(n,t){if(!n.body)return Se;var r,a,i,o=e.getFunctionFlags(n),s=0!=(2&o),c=0!=(1&o),l=Ue;if(227!==n.body.kind)r=Vh(n.body,t&&-9&t),s&&(r=Cv(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));else if(c){var u=hh(n,t);u?u.length>0&&(r=wl(u,2)):l=Ve;var d=function(n,t){var r=[],a=[],i=0!=(2&e.getFunctionFlags(n));return e.forEachYieldExpression(n.body,(function(n){var o,s=n.expression?iv(n.expression,t):De;if(e.pushIfUnique(r,mh(n,s,be,i)),n.asteriskToken){var c=Db(s,i?19:17,n.expression);o=c&&c.nextType}else o=D_(n);o&&e.pushIfUnique(a,o)})),{yieldTypes:r,nextTypes:a}}(n,t),p=d.yieldTypes,f=d.nextTypes;a=e.some(p)?wl(p,2):void 0,i=e.some(f)?Kl(f):void 0}else{var m=hh(n,t);if(!m)return 2&o?dh(n,Ve):Ve;if(0===m.length)return 2&o?dh(n,Ue):Ue;r=wl(m,2)}if(r||a||i){if(a&&mf(n,a,3),r&&mf(n,r,1),i&&mf(n,i,2),r&&Rp(r)||a&&Rp(a)||i&&Rp(i)){var _=O_(n),g=_?_===_c(n)?c?void 0:r:x_(Ec(_),n):void 0;c?(a=Fp(a,g,0,s),r=Fp(r,g,1,s),i=Fp(i,g,2,s)):r=function(e,n,t){return e&&Rp(e)&&(e=wp(e,n?t?Dv(n):n:void 0)),e}(r,g,s)}a&&(a=df(a)),r&&(r=df(r)),i&&(i=df(i))}return c?fh(a||Ve,r||l,i||p_(2,n)||xe,s):s?lh(r||l):r||l}function fh(e,n,t,r){var a=r?_t:gt,i=a.getGlobalGeneratorType(!1);if(e=a.resolveIterationType(e,void 0)||xe,n=a.resolveIterationType(n,void 0)||xe,t=a.resolveIterationType(t,void 0)||xe,i===tn){var o=a.getGlobalIterableIteratorType(!1),s=o!==tn?Rb(o,a):void 0,c=s?s.returnType:be,l=s?s.nextType:Ae;return Dd(n,c)&&Dd(l,t)?o!==tn?yl(o,[e]):(a.getGlobalIterableIteratorType(!0),Ze):(a.getGlobalGeneratorType(!0),Ze)}return yl(i,[e,n,t])}function mh(n,t,r,a){var i=n.expression||n,o=n.asteriskToken?bb(a?19:17,t,r,i):t;return a?Iv(o,i,n.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o}function _h(e,n,t,r){var a=0;if(r){for(var i=n;i<t.length;i++)a|=L.get(t[i])||32768;for(i=e;i<n;i++)a&=~(L.get(t[i])||0);for(i=0;i<e;i++)a|=L.get(t[i])||32768}else{for(i=e;i<n;i++)a|=S.get(t[i])||128;for(i=0;i<e;i++)a&=~(S.get(t[i])||0)}return a}function gh(n){var t=br(n);return void 0!==t.isExhaustive?t.isExhaustive:t.isExhaustive=function(n){if(208===n.expression.kind){var t=tv(n.expression.expression),r=_h(0,0,ym(n,!1),!0),a=Ms(t)||t;return 3&a.flags?556800==(556800&r):!!(131072&Em(a,(function(e){return(rm(e)&r)===r})).flags)}var i=tv(n.expression);if(!kp(i))return!1;var o=gm(n);if(!o.length||e.some(o,Np))return!1;return s=Sm(i,Pu),c=o,1048576&s.flags?!e.forEach(s.types,(function(n){return!e.contains(c,n)})):e.contains(c,s);var s,c}(n)}function yh(e){return e.endFlowNode&&Um(e.endFlowNode)}function hh(n,t){var r=e.getFunctionFlags(n),a=[],i=yh(n),o=!1;if(e.forEachReturnStatement(n.body,(function(s){var c=s.expression;if(c){var l=Vh(c,t&&-9&t);2&r&&(l=Cv(l,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)),131072&l.flags&&(o=!0),e.pushIfUnique(a,l)}else i=!0})),0!==a.length||i||!o&&!function(e){switch(e.kind){case 205:case 206:return!0;case 164:return 197===e.parent.kind;default:return!1}}(n))return!(q&&a.length&&i)||Oy(n)&&a.some((function(e){return e.symbol===n.symbol}))||e.pushIfUnique(a,Ae),a}function vh(n,r){if(t){var a=e.getFunctionFlags(n),i=r&&qb(r,a);if((!i||!Ch(i,16385))&&163!==n.kind&&!e.nodeIsMissing(n.body)&&227===n.body.kind&&yh(n)){var o=512&n.flags;if(i&&131072&i.flags)or(e.getEffectiveReturnTypeNode(n),e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(i&&!o)or(e.getEffectiveReturnTypeNode(n),e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(i&&q&&!Dd(Ae,i))or(e.getEffectiveReturnTypeNode(n)||n,e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(j.noImplicitReturns){if(!i){if(!o)return;if(zb(n,Ec(_c(n))))return}or(e.getEffectiveReturnTypeNode(n)||n,e.Diagnostics.Not_all_code_paths_return_a_value)}}}}function bh(n,t){if(e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n)),TE(n),t&&4&t&&yd(n)){if(!e.getEffectiveReturnTypeNode(n)&&!vd(n)){var r=P_(n);if(r&&Lf(Ec(r))){var a=br(n);if(a.contextFreeType)return a.contextFreeType;var i=ph(n,t),o=Qo(void 0,void 0,void 0,e.emptyArray,i,void 0,0,0),s=wa(n.symbol,U,[o],e.emptyArray,void 0,void 0);return s.objectFlags|=2097152,a.contextFreeType=s}}return rn}return NT(n)||205!==n.kind||wT(n),function(n,t){var r=br(n);if(!(1024&r.flags)){var a=P_(n);if(!(1024&r.flags)){r.flags|=1024;var i=e.firstOrUndefined(ec(to(va(n)),0));if(!i)return;if(yd(n))if(a){var o=C_(n);t&&2&t&&function(n,t,r){for(var a=n.parameters.length-(G(n)?1:0),i=0;i<a;i++){var o=n.parameters[i].valueDeclaration;if(o.type){var s=e.getEffectiveTypeAnnotationNode(o);s&&Pf(r.inferences,Vu(s),Qy(t,i))}}var c=rh(t);if(c&&262144&c.flags){sh(n,rd(t,r.nonFixingMapper));var l=eh(t)-1;Pf(r.inferences,$y(n,l),c)}}(i,a,o);var s=o?rd(a,o.mapper):a;sh(i,s)}else!function(e){e.thisParameter&&ch(e.thisParameter);for(var n=0,t=e.parameters;n<t.length;n++){ch(t[n])}}(i);if(a&&!Tc(n)&&!i.resolvedReturnType){var c=ph(n,t);i.resolvedReturnType||(i.resolvedReturnType=c)}lv(n)}}}(n,t),to(va(n))}function Eh(e,n,t,r){if(void 0===r&&(r=!1),!Dd(n,Xe)){var a=r&&Av(n);return lr(e,!!a&&Dd(a,Xe),t),!1}return!0}function Th(n){if(!e.isCallExpression(n))return!1;if(!e.isBindableObjectDefinePropertyCall(n))return!1;var t=Vh(n.arguments[2]);if(yi(t,"value")){var r=Zs(t,"writable"),a=r&&to(r);if(!a||a===Pe||a===Me)return!0;if(r&&r.valueDeclaration&&e.isPropertyAssignment(r.valueDeclaration)){var i=iv(r.valueDeclaration.initializer);if(i===Pe||i===Me)return!0}return!1}return!Zs(t,"set")}function Sh(n){return!!(8&e.getCheckFlags(n)||4&n.flags&&64&e.getDeclarationModifierFlagsFromSymbol(n)||3&n.flags&&2&pg(n)||98304&n.flags&&!(65536&n.flags)||8&n.flags||e.some(n.declarations,Th))}function Lh(n,t,r){var a,i;if(0===r)return!1;if(Sh(t)){if(4&t.flags&&e.isAccessExpression(n)&&107===n.expression.kind){var o=e.getContainingFunction(n);if(!o||165!==o.kind&&!Oy(o))return!0;if(t.valueDeclaration){var s=e.isBinaryExpression(t.valueDeclaration),c=o.parent===t.valueDeclaration.parent,l=o===t.valueDeclaration.parent,u=s&&(null===(a=t.parent)||void 0===a?void 0:a.valueDeclaration)===o.parent,d=s&&(null===(i=t.parent)||void 0===i?void 0:i.valueDeclaration)===o;return!(c||l||u||d)}}return!0}if(e.isAccessExpression(n)){var p=e.skipParentheses(n.expression);if(78===p.kind){var f=br(p).resolvedSymbol;if(2097152&f.flags){var m=Mr(f);return!!m&&260===m.kind}}}return!1}function xh(n,t,r){var a=e.skipOuterExpressions(n,7);return 78===a.kind||e.isAccessExpression(a)?!(32&a.flags)||(or(n,r),!1):(or(n,t),!1)}function Ah(n){iv(n.expression);var t=e.skipParentheses(n.expression);if(!e.isAccessExpression(t))return or(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),Ge;e.isPropertyAccessExpression(t)&&e.isPrivateIdentifier(t.name)&&or(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var r=xa(br(t).resolvedSymbol);return r&&(Sh(r)&&or(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),function(n,t){!q||131075&t.flags||32768&qp(t)||or(n,e.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}(t,to(r))),Ge}function Dh(e){return Ch(e,2112)?Ih(e,3)||Ch(e,296)?Xe:Oe:ke}function Ch(e,n){if(e.flags&n)return!0;if(3145728&e.flags)for(var t=0,r=e.types;t<r.length;t++){if(Ch(r[t],n))return!0}return!1}function Ih(e,n,t){return!!(e.flags&n)||!(t&&114691&e.flags)&&(!!(296&n)&&Dd(e,ke)||!!(2112&n)&&Dd(e,Oe)||!!(132&n)&&Dd(e,Re)||!!(528&n)&&Dd(e,Ge)||!!(16384&n)&&Dd(e,Ue)||!!(131072&n)&&Dd(e,Ve)||!!(65536&n)&&Dd(e,Ie)||!!(32768&n)&&Dd(e,Ae)||!!(4096&n)&&Dd(e,Be)||!!(67108864&n)&&Dd(e,qe))}function Nh(n,t,r){return 1048576&n.flags?e.every(n.types,(function(e){return Nh(e,t,r)})):Ih(n,t,r)}function Rh(n){return!!(16&e.getObjectFlags(n))&&!!n.symbol&&kh(n.symbol)}function kh(e){return 0!=(128&e.flags)}function Oh(n,t,r,a,i){void 0===i&&(i=!1);var o=n.properties,s=o[r];if(285===s.kind||286===s.kind){var c=s.name,l=Wl(c);if(Bo(l)){var u=Zs(t,Ho(l));u&&(Ug(u,s,i),mg(s,!1,t,u))}var d=Ei(s,lu(t,l,c));return Mh(286===s.kind?s:s.initializer,d)}if(287===s.kind){if(!(r<o.length-1)){K<99&&ST(s,4);var p=[];if(a)for(var f=0,m=a;f<m.length;f++){var _=m[f];e.isSpreadAssignment(_)||p.push(_.name)}d=bi(t,p,t.symbol);return DT(a,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),Mh(s.expression,d)}or(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else or(s,e.Diagnostics.Property_assignment_expected)}function Ph(n,t,r,a,i){var o=n.elements,s=o[r];if(219!==s.kind){if(217!==s.kind){var c=wu(r);if(Ap(t)){var l=M_(s)?8:0,u=du(t,c,dy(s,c),l)||Se;return Mh(s,Ei(s,M_(s)?am(u,524288):u),i)}return Mh(s,a,i)}if(r<o.length-1)or(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var d=s.expression;if(213!==d.kind||62!==d.operatorToken.kind)return DT(n.elements,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),Mh(d,bm(t,Gp)?Sm(t,(function(e){return Cl(e,r)})):vl(a),i);or(d.operatorToken,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function Mh(n,t,r,a){var i;if(286===n.kind){var o=n;o.objectAssignmentInitializer&&(!q||32768&qp(iv(o.objectAssignmentInitializer))||(t=am(t,524288)),function(e,n,t,r,a){var i,o=n.kind;if(62===o&&(197===e.kind||196===e.kind))return Mh(e,iv(t,r),r,107===t.kind);i=55===o||56===o||60===o?gb(e,r):iv(e,r);var s=iv(t,r);Bh(e,n,t,i,s,a)}(o.name,o.equalsToken,o.objectAssignmentInitializer,r)),i=n.name}else i=n;return 213===i.kind&&62===i.operatorToken.kind&&(Fh(i,r),i=i.left),197===i.kind?function(e,n,t){var r=e.properties;if(q&&0===r.length)return Tg(n,e);for(var a=0;a<r.length;a++)Oh(e,n,a,r,t);return n}(i,t,a):196===i.kind?function(e,n,t){var r=e.elements;K<2&&j.downlevelIteration&&ST(e,512);for(var a=bb(65,n,Ae,e)||Se,i=0;i<r.length;i++)Ph(e,n,i,a,t);return n}(i,t,r):function(n,t,r){var a=iv(n,r),i=287===n.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,o=287===n.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;xh(n,i,o)&&kd(t,a,n,n);e.isPrivateIdentifierPropertyAccessExpression(n)&&ST(n.parent,2097152);return t}(i,t,r)}function wh(e,n){return 0!=(98304&n.flags)||Id(e,n)}function Fh(n,t){for(var r,a={expr:[n],state:[0],leftType:[void 0]},i=0;i>=0;)switch(n=a.expr[i],a.state[i]){case 0:if(e.isInJSFile(n)&&e.getAssignedExpandoInitializer(n)){l(iv(n.right,t));break}if(Gh(n),62===(o=n.operatorToken.kind)&&(197===n.left.kind||196===n.left.kind)){l(Mh(n.left,iv(n.right,t),t,107===n.right.kind));break}u(1),d(n.left);break;case 1:var o,s=r;a.leftType[i]=s,55!==(o=n.operatorToken.kind)&&56!==o&&60!==o||_b(s,n.left),u(2),d(n.right);break;case 2:s=a.leftType[i];var c=r;l(Bh(n.left,n.operatorToken,n.right,s,c,n));break;default:return e.Debug.fail("Invalid state "+a.state[i]+" for checkBinaryExpression")}return r;function l(e){r=e,i--}function u(e){a.state[i]=e}function d(n){e.isBinaryExpression(n)?(i++,a.expr[i]=n,a.state[i]=0,a.leftType[i]=void 0):r=iv(n,t)}}function Gh(n){var t=n.left,r=n.operatorToken,a=n.right;60===r.kind&&(!e.isBinaryExpression(t)||56!==t.operatorToken.kind&&55!==t.operatorToken.kind||XT(t,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(t.operatorToken.kind),e.tokenToString(r.kind)),!e.isBinaryExpression(a)||56!==a.operatorToken.kind&&55!==a.operatorToken.kind||XT(a,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(a.operatorToken.kind),e.tokenToString(r.kind)))}function Bh(n,r,a,i,o,s){var c,l,u=r.kind;switch(u){case 41:case 42:case 65:case 66:case 43:case 67:case 44:case 68:case 40:case 64:case 47:case 69:case 48:case 70:case 49:case 71:case 51:case 73:case 52:case 77:case 50:case 72:if(i===je||o===je)return je;i=Tg(i,n),o=Tg(o,a);var d=void 0;if(528&i.flags&&528&o.flags&&void 0!==(d=function(e){switch(e){case 51:case 73:return 56;case 52:case 77:return 37;case 50:case 72:return 55;default:return}}(r.kind)))return or(s||r,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(r.kind),e.tokenToString(d)),ke;var p,f=Eh(n,i,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),m=Eh(a,o,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);if(Ih(i,3)&&Ih(o,3)||!Ch(i,2112)&&!Ch(o,2112))p=ke;else if(S(i,o)){switch(u){case 49:case 71:D();break;case 42:case 66:K<3&&or(s,e.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}p=Oe}else D(S),p=Se;return f&&m&&x(p),p;case 39:case 63:if(i===je||o===je)return je;Ih(i,132)||Ih(o,132)||(i=Tg(i,n),o=Tg(o,a));var _=void 0;if(Ih(i,296,!0)&&Ih(o,296,!0)?_=ke:Ih(i,2112,!0)&&Ih(o,2112,!0)?_=Oe:Ih(i,132,!0)||Ih(o,132,!0)?_=Re:(hi(i)||hi(o))&&(_=i===Se||o===Se?Se:be),_&&!L(u))return _;if(!_){return D((function(e,n){return Ih(e,2543)&&Ih(n,2543)})),be}return 63===u&&x(_),_;case 29:case 31:case 32:case 33:return L(u)&&(i=Op(Tg(i,n)),o=Op(Tg(o,a)),A((function(e,n){return Id(e,n)||Id(n,e)||Dd(e,Xe)&&Dd(n,Xe)}))),Ge;case 34:case 35:case 36:case 37:return A((function(e,n){return wh(e,n)||wh(n,e)})),Ge;case 101:return function(n,t,r,a){return r===je||a===je?je:(!hi(r)&&Nh(r,131068)&&or(n,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),hi(a)||jE(a)||Ad(a,_n)||or(t,e.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),Ge)}(n,a,i,o);case 100:return function(n,t,r,a){return r===je||a===je?je:(r=Tg(r,n),a=Tg(a,t),Nh(r,12716)||Ih(r,4456448)||or(n,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol),Nh(a,126091264)||or(t,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Ge)}(n,a,i,o);case 55:case 75:var g=4194304&rm(i)?wl([(l=q?i:Op(o),Sm(l,Jp)),o]):i;return 75===u&&x(o),g;case 56:case 74:var y=8388608&rm(i)?wl([zp(i),o],2):i;return 74===u&&x(o),y;case 60:case 76:var h=262144&rm(i)?wl([Qp(i),o],2):i;return 76===u&&x(o),h;case 62:var v=e.isBinaryExpression(n.parent)?e.getAssignmentDeclarationKind(n.parent):0;return function(n,t){if(2===n)for(var r=0,a=xs(t);r<a.length;r++){var i=a[r],o=to(i);if(o.symbol&&32&o.symbol.flags){var s=i.escapedName,c=xr(i.valueDeclaration,s,788968,void 0,s,!1);c&&c.declarations.some(e.isJSDocTypedefTag)&&(_r(c,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),i),_r(i,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),c))}}}(v,o),function(t){var r;switch(t){case 2:return!0;case 1:case 5:case 6:case 3:case 4:var i=va(n),o=e.getAssignedExpandoInitializer(a);return!!o&&e.isObjectLiteralExpression(o)&&!!(null===(r=null==i?void 0:i.exports)||void 0===r?void 0:r.size);default:return!1}}(v)?(524288&o.flags&&(2===v||6===v||qd(o)||tm(o)||1&e.getObjectFlags(o))||x(o),i):(x(o),of(o));case 27:if(!j.allowUnreachableCode&&function n(t){switch((t=e.skipParentheses(t)).kind){case 78:case 10:case 13:case 202:case 215:case 14:case 8:case 9:case 109:case 94:case 103:case 149:case 205:case 218:case 206:case 196:case 197:case 208:case 222:case 271:case 270:return!0;case 214:return n(t.whenTrue)&&n(t.whenFalse);case 213:return!e.isAssignmentOperator(t.operatorToken.kind)&&(n(t.left)&&n(t.right));case 211:case 212:switch(t.operator){case 53:case 39:case 40:case 54:return!0}return!1;case 209:case 203:case 221:default:return!1}}(n)&&(78!==(c=a).kind||"eval"!==c.escapedText)){var b=e.getSourceFileOfNode(n),E=b.text,T=e.skipTrivia(E,n.pos);b.parseDiagnostics.some((function(n){return n.code===e.Diagnostics.JSX_expressions_must_have_one_parent_element.code&&e.textSpanContainsPosition(n,T)}))||or(n,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return o;default:return e.Debug.fail()}function S(e,n){return Ih(e,2112)&&Ih(n,2112)}function L(t){var r=Ch(i,12288)?n:Ch(o,12288)?a:void 0;return!r||(or(r,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(t)),!1)}function x(r){t&&e.isAssignmentOperator(u)&&(!xh(n,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)||e.isIdentifier(n)&&"exports"===e.unescapeLeadingUnderscores(n.escapedText)||kd(r,i,n,a))}function A(e){return!e(i,o)&&(D(e),!0)}function D(n){var t,a=!1,c=s||r;if(n){var l=Iv(i),u=Iv(o);a=!(l===i&&u===o)&&!(!l||!u)&&n(l,u)}var d=i,p=o;!a&&n&&(t=function(e,n,t){var r=e,a=n,i=Op(e),o=Op(n);t(i,o)||(r=i,a=o);return[r,a]}(i,o,n),d=t[0],p=t[1]);var f=ei(d,p),m=f[0],_=f[1];(function(n,t,a,i){var o;switch(r.kind){case 36:case 34:o="false";break;case 37:case 35:o="true"}if(o)return lr(n,t,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,o,a,i);return})(c,a,m,_)||lr(c,a,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(r.kind),m,_)}}function Uh(n,t,r,a){var i=function(n){return 278!==n.kind||e.isJsxSelfClosingElement(n.parent)?n:n.parent.parent}(n),o=i.contextualType,s=i.inferenceContext;try{i.contextualType=t,i.inferenceContext=r;var c=iv(n,1|a|(r?2:0));return Ch(c,2944)&&Wh(c,x_(t,n))?Pu(c):c}finally{i.contextualType=o,i.inferenceContext=s}}function Vh(e,n){var t=br(e);if(!t.resolvedType){if(n&&0!==n)return iv(e,n);var r=bt,a=$n;bt=Et,$n=void 0,t.resolvedType=iv(e,n),$n=a,bt=r}return t.resolvedType}function jh(n){return 203===(n=e.skipParentheses(n)).kind||221===n.kind}function Kh(n,t){var r=e.getEffectiveInitializer(n),a=rv(r)||(t?Uh(r,t,void 0,0):Vh(r));return e.isParameter(n)&&194===n.name.kind&&Gp(a)&&!a.target.hasRestElement&&Wc(a)<n.name.elements.length?function(n,t){for(var r=t.elements,a=Hc(n).slice(),i=n.target.elementFlags.slice(),o=Wc(n);o<r.length;o++){var s=r[o];(o<r.length-1||195!==s.kind||!s.dotDotDotToken)&&(a.push(!e.isOmittedExpression(s)&&M_(s)?Bi(s,!1,!1):be),i.push(2),e.isOmittedExpression(s)||M_(s)||ff(s,be))}return xl(a,i,n.target.readonly)}(a,n.name):a}function Hh(n,t){var r=2&e.getCombinedNodeFlags(n)||e.isDeclarationReadonly(n)?t:Pp(t);if(e.isInJSFile(n)){if(98304&r.flags)return ff(n,be),be;if(Dp(r))return ff(n,xn),xn}return r}function Wh(n,t){if(t){if(3145728&t.flags){var r=t.types;return e.some(r,(function(e){return Wh(n,e)}))}if(58982400&t.flags){var a=Ms(t)||xe;return Ch(a,4)&&Ch(n,128)||Ch(a,8)&&Ch(n,256)||Ch(a,64)&&Ch(n,2048)||Ch(a,4096)&&Ch(n,8192)||Wh(n,a)}return!!(4194432&t.flags&&Ch(n,128)||256&t.flags&&Ch(n,256)||2048&t.flags&&Ch(n,2048)||512&t.flags&&Ch(n,512)||8192&t.flags&&Ch(n,8192))}return!1}function qh(n){var t=n.parent;return e.isAssertionExpression(t)&&e.isConstTypeReference(t.type)||(e.isParenthesizedExpression(t)||e.isArrayLiteralExpression(t)||e.isSpreadElement(t))&&qh(t)||(e.isPropertyAssignment(t)||e.isShorthandPropertyAssignment(t))&&qh(t.parent)}function zh(e,n,t,r){var a=iv(e,n,r);return qh(e)?Pu(a):jh(e)?a:wp(a,x_(2===arguments.length?D_(e):t,e))}function Jh(e,n){return 157===e.name.kind&&V_(e.name),zh(e.initializer,n)}function Xh(e,n){return jT(e),157===e.name.kind&&V_(e.name),Yh(e,bh(e,n),n)}function Yh(n,t,r){if(r&&10&r){var a=ty(t,0,!0),i=ty(t,1,!0),o=a||i;if(o&&o.typeParameters){var s=L_(n,2);if(s){var c=ty(Qp(s),a?0:1,!1);if(c&&!c.typeParameters){if(8&r)return Qh(n,r),rn;var l=C_(n),u=l.signature&&Ec(l.signature),d=u&&ny(u);if(d&&!d.typeParameters&&!e.every(l.inferences,Zh)){var p=function(n,t){for(var r,a,i=[],o=0,s=t;o<s.length;o++){var c=(f=s[o]).symbol.escapedName;if($h(n.inferredTypeParameters,c)||$h(i,c)){var l=ka(ur(262144,ev(e.concatenate(n.inferredTypeParameters,i),c)));l.target=f,r=e.append(r,f),a=e.append(a,l),i.push(l)}else i.push(f)}if(a)for(var u=qu(r,a),d=0,p=a;d<p.length;d++){var f;(f=p[d]).mapper=u}return i}(l,o.typeParameters),f=Ac(o,p),m=e.map(l.inferences,(function(e){return Ef(e.typeParameter)}));if(_f(f,c,(function(e,n){Pf(m,e,n,0,!0)})),e.some(m,Zh)&&(gf(f,c,(function(e,n){Pf(m,e,n)})),!function(e,n){for(var t=0;t<e.length;t++)if(Zh(e[t])&&Zh(n[t]))return!0;return!1}(l.inferences,m)))return function(e,n){for(var t=0;t<e.length;t++)!Zh(e[t])&&Zh(n[t])&&(e[t]=n[t])}(l.inferences,m),l.inferredTypeParameters=e.concatenate(l.inferredTypeParameters,p),Rc(f)}return Rc(ry(o,c,l))}}}}return t}function Qh(e,n){2&n&&(C_(e).flags|=4)}function Zh(e){return!(!e.candidates&&!e.contraCandidates)}function $h(n,t){return e.some(n,(function(e){return e.symbol.escapedName===t}))}function ev(e,n){for(var t=n.length;t>1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57;)t--;for(var r=n.slice(0,t),a=1;;a++){var i=r+a;if(!$h(e,i))return i}}function nv(e){var n=ey(e);if(n&&!n.typeParameters)return Ec(n)}function tv(n){var t=rv(n);if(t)return t;if(67108864&n.flags&&$n){var r=$n[R(n)];if(r)return r}var a=Lt,i=iv(n);Lt!==a&&(($n||($n=[]))[R(n)]=i,e.setNodeFlags(n,67108864|n.flags));return i}function rv(n){var t=e.skipParentheses(n);if(!e.isCallExpression(t)||105===t.expression.kind||e.isRequireCall(t,!0)||Gy(t)){if(e.isAssertionExpression(t)&&!e.isConstTypeReference(t.type))return Vu(t.type);if(8===n.kind||10===n.kind||109===n.kind||94===n.kind)return iv(n)}else{var r=e.isCallChain(t)?function(e){var n=iv(e.expression),t=tf(n,e.expression),r=nv(n);return r&&nf(r,e,t!==n)}(t):nv(gg(t.expression));if(r)return r}}function av(e){var n=br(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=be;try{return n.contextFreeType=iv(e,4)}finally{e.contextualType=t}}function iv(n,a,i){var o=d;d=n,T=0;var s=Yh(n,function(n,a,i){var o=n.kind;if(r)switch(o){case 218:case 205:case 206:r.throwIfCancellationRequested()}switch(o){case 78:return Qm(n);case 107:return t_(n);case 105:return i_(n);case 103:return Ne;case 14:case 10:return Ou(wu(n.text));case 8:return ZT(n),Ou(wu(+n.text));case 9:return function(n){if(!(e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent))&&K<7&&XT(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))return!0}(n),Ou(function(n){return wu({negative:!1,base10Value:e.parsePseudoBigInt(n.text)})}(n));case 109:return we;case 94:return Pe;case 215:return function(n){return e.forEach(n.templateSpans,(function(n){Ch(iv(n.expression),12288)&&or(n.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String)})),Re}(n);case 13:return Sn;case 196:return w_(n,a,i);case 197:return H_(n,a);case 198:return Lg(n);case 156:return xg(n);case 199:return Kg(n);case 200:if(99===n.expression.kind)return By(n);case 201:return My(n,a);case 202:return jy(n);case 204:return function(n,t){var r=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;if(r)return Ky(r,r.typeExpression.type,n.expression,t);return iv(n.expression,t)}(n,a);case 218:return function(e){return eE(e),TE(e),to(va(e))}(n);case 205:case 206:return bh(n,a);case 208:return function(e){return iv(e.expression),Yt}(n);case 203:case 221:return function(e){return Ky(e,e.type,e.expression)}(n);case 222:return Hy(n);case 223:return Wy(n);case 207:return Ah(n);case 209:return function(e){return iv(e.expression),De}(n);case 210:return function(n){if(t){var r;if(!(32768&n.flags))if(e.isInTopLevelContext(n)){if(!qT(r=e.getSourceFileOfNode(n))){var a=void 0;if(!e.isEffectiveExternalModule(r,j)){a||(a=e.getSpanOfTokenAtPosition(r,n.pos));var i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module);zt.add(i)}if(H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System||K<4){a=e.getSpanOfTokenAtPosition(r,n.pos);i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher);zt.add(i)}}}else if(!qT(r=e.getSourceFileOfNode(n))){a=e.getSpanOfTokenAtPosition(r,n.pos),i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);var o=e.getContainingFunction(n);if(o&&165!==o.kind&&0==(2&e.getFunctionFlags(o))){var s=e.createDiagnosticForNode(o,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(i,s)}zt.add(i)}d_(n)&&or(n,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var c=iv(n.expression),l=Cv(c,n,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return l!==c||l===Se||3&c.flags||sr(!1,e.createDiagnosticForNode(n,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),l}(n);case 211:return function(n){var t=iv(n.operand);if(t===je)return je;switch(n.operand.kind){case 8:switch(n.operator){case 40:return Ou(wu(-n.operand.text));case 39:return Ou(wu(+n.operand.text))}break;case 9:if(40===n.operator)return Ou(wu({negative:!0,base10Value:e.parsePseudoBigInt(n.operand.text)}))}switch(n.operator){case 39:case 40:case 54:return Tg(t,n.operand),Ch(t,12288)&&or(n.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(n.operator)),39===n.operator?(Ch(t,2112)&&or(n.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(n.operator),$a(Op(t))),ke):Dh(t);case 53:gb(n.operand);var r=12582912&rm(t);return 4194304===r?Pe:8388608===r?we:Ge;case 45:case 46:return Eh(n.operand,Tg(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&xh(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Dh(t)}return Se}(n);case 212:return function(n){var t=iv(n.operand);return t===je?je:(Eh(n.operand,Tg(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&xh(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Dh(t))}(n);case 213:return Fh(n,a);case 214:return function(e,n){var t=gb(e.condition);return mb(e.condition,e.whenTrue,t),wl([iv(e.whenTrue,n),iv(e.whenFalse,n)],2)}(n,a);case 217:return function(e,n){return K<2&&ST(e,j.downlevelIteration?1536:2048),bb(33,iv(e.expression,n),Ae,e.expression)}(n,a);case 219:return De;case 216:return function(n){t&&(8192&n.flags||zT(n,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),d_(n)&&or(n,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var r=e.getContainingFunction(n);if(!r)return be;var a=e.getFunctionFlags(r);if(!(1&a))return be;var i=0!=(2&a);n.asteriskToken&&(i&&K<99&&ST(n,53248),!i&&K<2&&j.downlevelIteration&&ST(n,256));var o=Tc(r),s=o&&Hb(o,i),c=s&&s.yieldType||be,l=s&&s.nextType||be,u=i?Iv(l)||be:l,d=n.expression?iv(n.expression):De,p=mh(n,d,u,i);return o&&p&&kd(p,c,n.expression||n,n.expression),n.asteriskToken?Tb(i?19:17,1,d,n.expression)||be:o?Kb(2,o,i)||be:p_(2,r)||be}(n);case 224:return function(e){return e.isSpread?lu(e.type,ke):e.type}(n);case 280:return dg(n,a);case 270:case 271:return function(e,n){return TE(e),og(e)||be}(n);case 274:return function(n){cg(n.openingFragment);var t=e.getSourceFileOfNode(n);return 2!==j.jsx||!j.jsxFactory&&!t.pragmas.has("jsx")||j.jsxFragmentFactory||t.pragmas.has("jsxfrag")||or(n,j.jsxFactory?e.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:e.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),X_(n),og(n)||be}(n);case 278:return Q_(n,a);case 272:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Se}(n,a,i),a);return Rh(s)&&function(n,t){198===n.parent.kind&&n.parent.expression===n||199===n.parent.kind&&n.parent.expression===n||(78===n.kind||156===n.kind)&&OE(n)||175===n.parent.kind&&n.parent.exprName===n||267===n.parent.kind||or(n,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);if(j.isolatedModules){e.Debug.assert(!!(128&t.symbol.flags)),8388608&t.symbol.valueDeclaration.flags&&or(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(n,s),d=o,s}function ov(n){n.expression&&zT(n.expression,e.Diagnostics.Type_expected),bE(n.constraint),bE(n.default);var r=Co(va(n));Ms(r),function(e){return Bs(e)!==on}(r)||or(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,$a(r));var a=Ns(r),i=Us(r);a&&i&&Rd(i,Xo(pd(a,Ju(r,i)),i),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),t&&Yb(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function sv(n){xT(n),cb(n);var t=e.getContainingFunction(n);e.hasSyntacticModifier(n,92)&&(165===t.kind&&e.nodeIsPresent(t.body)||or(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),165===t.kind&&e.isIdentifier(n.name)&&"constructor"===n.name.escapedText&&or(n.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),n.questionToken&&e.isBindingPattern(n.name)&&t.body&&or(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&("this"===n.name.escapedText||"new"===n.name.escapedText)&&(0!==t.parameters.indexOf(n)&&or(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),165!==t.kind&&169!==t.kind&&174!==t.kind||or(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),206===t.kind&&or(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),166!==t.kind&&167!==t.kind||or(n,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),!n.dotDotDotToken||e.isBindingPattern(n.name)||Dd(zs(to(n.symbol)),Dn)||or(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function cv(n,t,r){for(var a=0,i=n.elements;a<i.length;a++){var o=i[a];if(!e.isOmittedExpression(o)){var s=o.name;if(78===s.kind&&s.escapedText===r)return or(t,e.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,r),!0;if((194===s.kind||193===s.kind)&&cv(s,t,r))return!0}}}function lv(n){170===n.kind?function(n){xT(n)||function(n){var t=n.parameters[0];if(1!==n.parameters.length)return XT(t?t.name:n,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(DT(n.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return XT(t.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(t))return XT(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return XT(t.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return XT(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return XT(t.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);if(146!==t.type.kind&&143!==t.type.kind){var r=Vu(t.type);return 4&r.flags||8&r.flags?XT(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,e.getTextOfNode(t.name),$a(r),$a(n.type?Vu(n.type):be)):1048576&r.flags&&Nh(r,384,!0)?XT(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead):XT(t.name,e.Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number)}if(!n.type)return XT(n,e.Diagnostics.An_index_signature_must_have_a_type_annotation)}(n)}(n):173!==n.kind&&248!==n.kind&&174!==n.kind&&168!==n.kind&&165!==n.kind&&169!==n.kind||NT(n);var r=e.getFunctionFlags(n);if(4&r||(3==(3&r)&&K<99&&ST(n,12288),2==(3&r)&&K<4&&ST(n,64),0!=(3&r)&&K<2&&ST(n,128)),Qb(n.typeParameters),e.forEach(n.parameters,sv),n.type&&bE(n.type),t){!function(n){if(K>=2||!e.hasRestParameter(n)||8388608&n.flags||e.nodeIsMissing(n.body))return;e.forEach(n.parameters,(function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===oe.escapedName&&ir("noEmit",n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(n);var a=e.getEffectiveReturnTypeNode(n);if(Y&&!a)switch(n.kind){case 169:or(n,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 168:or(n,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(a){var i=e.getFunctionFlags(n);if(1==(5&i)){var o=Vu(a);if(o===Ue)or(a,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=Kb(0,o,0!=(2&i))||be;Rd(fh(s,Kb(1,o,0!=(2&i))||s,Kb(2,o,0!=(2&i))||xe,!!(2&i)),o,a)}}else 2==(3&i)&&function(n,t){var r=Vu(t);if(K>=2){if(r===Se)return;var a=fl(!0);if(a!==tn&&!ro(r,a))return void or(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,$a(Iv(r)||Ue))}else{if(function(n){kv(n&&e.getEntityNameFromTypeNode(n))}(t),r===Se)return;var i=e.getEntityNameFromTypeNode(t);if(void 0===i)return void or(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,$a(r));var o=ra(i,111551,!0),s=o?to(o):Se;if(s===Se)return void(78===i.kind&&"Promise"===i.escapedText&&ao(r)===fl(!1)?or(t,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):or(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i)));var c=(d=!0,Mn||(Mn=ul("PromiseConstructorLike",0,d))||Ze);if(c===Ze)return void or(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i));if(!Rd(s,c,t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return;var l=i&&e.getFirstIdentifier(i),u=Tr(n.locals,l.escapedText,111551);if(u)return void or(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(i))}var d;Cv(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(n,a)}170!==n.kind&&304!==n.kind&&Uv(n)}}function uv(n){for(var t=new e.Map,r=0,a=n.members;r<a.length;r++){var i=a[r];if(161===i.kind){var o=void 0,s=i.name;switch(s.kind){case 10:case 8:o=s.text;break;case 78:o=e.idText(s);break;default:continue}t.get(o)?(or(e.getNameOfDeclaration(i.symbol.valueDeclaration),e.Diagnostics.Duplicate_identifier_0,o),or(i.name,e.Diagnostics.Duplicate_identifier_0,o)):t.set(o,!0)}}}function dv(n){if(250===n.kind){var t=va(n);if(t.declarations.length>0&&t.declarations[0]!==n)return}var r=kc(va(n));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o<s.length;o++){var c=s[o];if(1===c.parameters.length&&c.parameters[0].type)switch(c.parameters[0].type.kind){case 146:i?or(c,e.Diagnostics.Duplicate_string_index_signature):i=!0;break;case 143:a?or(c,e.Diagnostics.Duplicate_number_index_signature):a=!0}}}function pv(n){if(xT(n)||function(n){if(e.isClassLike(n.parent)){if(e.isStringLiteral(n.name)&&"constructor"===n.name.text)return XT(n.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(VT(n.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(K<2&&e.isPrivateIdentifier(n.name))return XT(n.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(250===n.parent.kind){if(VT(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(n.initializer)return XT(n.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(176===n.parent.kind){if(VT(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(n.initializer)return XT(n.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}8388608&n.flags&&HT(n);if(e.isPropertyDeclaration(n)&&n.exclamationToken&&(!e.isClassLike(n.parent)||!n.type||n.initializer||8388608&n.flags||e.hasSyntacticModifier(n,160)))return XT(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)}(n)||MT(n.name),cb(n),e.isPrivateIdentifier(n.name)&&K<99)for(var t=e.getEnclosingBlockScopeContainer(n);t;t=e.getEnclosingBlockScopeContainer(t))br(t).flags|=67108864}function fv(n){lv(n),function(n){var t=e.isInJSFile(n)?e.getJSDocTypeParameterDeclarations(n):void 0,r=n.typeParameters||t&&e.firstOrUndefined(t);if(r){var a=r.pos===r.end?r.pos:e.skipTrivia(e.getSourceFileOfNode(n).text,r.pos);return JT(n,a,r.end-a,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(n)||function(n){var t=e.getEffectiveReturnTypeNode(n);if(t)XT(t,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}(n),bE(n.body);var r=va(n);if(n===e.getDeclarationOfKind(r,n.kind)&&Lv(r),!e.nodeIsMissing(n.body)&&t){var a=n.parent;if(e.getClassExtendsHeritageElement(a)){Zm(n.parent,a);var i=e_(a),o=$m(n.body);if(o){if(i&&or(o,e.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==j.target||!j.useDefineForClassFields)&&(e.some(n.parent.members,(function(n){return!!e.isPrivateIdentifierPropertyDeclaration(n)||162===n.kind&&!e.hasSyntacticModifier(n,32)&&!!n.initializer}))||e.some(n.parameters,(function(n){return e.hasSyntacticModifier(n,92)})))){for(var s=void 0,c=0,l=n.body.statements;c<l.length;c++){var u=l[c];if(230===u.kind&&e.isSuperCall(u.expression)){s=u;break}if(!e.isPrologueDirective(u))break}s||or(n,e.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else i||or(n,e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}}function mv(n){if(t){if(NT(n)||function(n){if(!(8388608&n.flags)){if(K<1)return XT(n.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(void 0===n.body&&!e.hasSyntacticModifier(n,128))return JT(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(n.body&&e.hasSyntacticModifier(n,128))return XT(n,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(n.typeParameters)return XT(n.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!function(e){return UT(e)||e.parameters.length===(166===e.kind?0:1)}(n))return XT(n.name,166===n.kind?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(167===n.kind){if(n.type)return XT(n.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var t=e.Debug.checkDefined(e.getSetAccessorValueParameter(n),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return XT(t.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return XT(t.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return XT(n.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(n)||MT(n.name),Fv(n),lv(n),166===n.kind&&!(8388608&n.flags)&&e.nodeIsPresent(n.body)&&256&n.flags&&(512&n.flags||or(n.name,e.Diagnostics.A_get_accessor_must_return_a_value)),157===n.name.kind&&V_(n.name),e.isPrivateIdentifier(n.name)&&or(n.name,e.Diagnostics.An_accessor_cannot_be_named_with_a_private_identifier),!Ko(n)){var r=166===n.kind?167:166,a=e.getDeclarationOfKind(va(n),r);if(a){var i=e.getEffectiveModifierFlags(n),o=e.getEffectiveModifierFlags(a);(28&i)!=(28&o)&&or(n.name,e.Diagnostics.Getter_and_setter_accessors_do_not_agree_in_visibility),(128&i)!=(128&o)&&or(n.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),_v(n,a,Ji,e.Diagnostics.get_and_set_accessor_must_have_the_same_type),_v(n,a,Xi,e.Diagnostics.get_and_set_accessor_must_have_the_same_this_type)}}var s=Yi(va(n));166===n.kind&&vh(n,s)}bE(n.body)}function _v(e,n,t,r){var a=t(e),i=t(n);a&&i&&!Td(a,i)&&or(e,r)}function gv(n,t){return mc(e.map(n.typeArguments,Vu),t,fc(t),e.isInJSFile(n))}function yv(n,t){for(var r,a,i=!0,o=0;o<t.length;o++){var s=Ns(t[o]);s&&(r||(a=qu(t,r=gv(n,t))),i=i&&Rd(r[o],pd(s,a),n.typeArguments[o],e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return i}function hv(n){var t=al(n);if(t!==Se){var r=br(n).resolvedSymbol;if(r)return 524288&r.flags&&vr(r).typeParameters||(4&e.getObjectFlags(t)?t.target.localTypeParameters:void 0)}}function vv(n){RT(n,n.typeArguments),172!==n.kind||void 0===n.typeName.jsdocDotPos||e.isInJSFile(n)||e.isInJSDoc(n)||JT(n,n.typeName.jsdocDotPos,1,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments),e.forEach(n.typeArguments,bE);var r=al(n);if(r!==Se){if(n.typeArguments&&t){var a=hv(n);a&&yv(n,a)}var i=br(n).resolvedSymbol;i&&(e.some(i.declarations,(function(e){return IE(e)&&!!(134217728&e.flags)}))&&cr(!1,Fy(n),e.Diagnostics._0_is_deprecated,i.escapedName),32&r.flags&&8&i.flags&&or(n,e.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,$a(r)))}}function bv(n,t){if(!(8388608&n.flags))return n;var r=n.objectType,a=n.indexType;if(Dd(a,Xl(r,!1)))return 199===t.kind&&e.isAssignmentTarget(t)&&32&e.getObjectFlags(r)&&1&bs(r)&&or(t,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,$a(r)),n;var i=js(r);if(rc(i,1)&&Ih(a,296))return n;if(tu(r)){var o=Zl(a,t);if(o){var s=vm(i,(function(e){return Zs(e,o)}));if(s&&24&e.getDeclarationModifierFlagsFromSymbol(s))return or(t,e.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,e.unescapeLeadingUnderscores(o)),Se}}return or(t,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,$a(a),$a(r)),Se}function Ev(n){!function(n){if(150===n.operator){if(147!==n.type.kind)return XT(n.type,e.Diagnostics._0_expected,e.tokenToString(147));var t=e.walkUpParenthesizedTypes(n.parent);switch(e.isInJSFile(t)&&e.isJSDocTypeExpression(t)&&(t=t.parent,e.isJSDocTypeTag(t)&&(t=t.parent.parent)),t.kind){case 246:var r=t;if(78!==r.name.kind)return XT(n,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(r))return XT(n,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&r.parent.flags))return XT(t.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 162:if(!e.hasSyntacticModifier(t,32)||!e.hasEffectiveModifier(t,64))return XT(t.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 161:if(!e.hasSyntacticModifier(t,64))return XT(t.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:XT(n,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(141===n.operator&&177!==n.type.kind&&178!==n.type.kind)zT(n,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(147))}(n),bE(n.type)}function Tv(n){return(e.hasEffectiveModifier(n,8)||e.isPrivateIdentifierPropertyDeclaration(n))&&!!(8388608&n.flags)}function Sv(n,t){var r=e.getCombinedModifierFlags(n);return 250!==n.parent.kind&&249!==n.parent.kind&&218!==n.parent.kind&&8388608&n.flags&&(2&r||e.isModuleBlock(n.parent)&&e.isModuleDeclaration(n.parent.parent)&&e.isGlobalScopeAugmentation(n.parent.parent)||(r|=1),r|=2),r&t}function Lv(n){if(t){for(var r,a,i,o=0,s=155,c=!1,l=!0,u=!1,d=n.declarations,p=0!=(16384&n.flags),f=!1,m=!1,_=!1,g=[],y=0,h=d;y<h.length;y++){var v=h[y],b=8388608&v.flags,E=250===v.parent.kind||176===v.parent.kind||b;if(E&&(i=void 0),249!==v.kind&&218!==v.kind||b||(_=!0),248===v.kind||164===v.kind||163===v.kind||165===v.kind){g.push(v);var T=Sv(v,155);o|=T,s&=T,c=c||e.hasQuestionToken(v),l=l&&e.hasQuestionToken(v);var S=e.nodeIsPresent(v.body);S&&r?p?m=!0:f=!0:(null==i?void 0:i.parent)===v.parent&&i.end!==v.pos&&N(i),S?r||(r=v):u=!0,i=v,E||(a=v)}}if(m&&e.forEach(g,(function(n){or(n,e.Diagnostics.Multiple_constructor_implementations_are_not_allowed)})),f&&e.forEach(g,(function(n){or(e.getNameOfDeclaration(n)||n,e.Diagnostics.Duplicate_function_implementation)})),_&&!p&&16&n.flags&&e.forEach(d,(function(t){gr(t,e.Diagnostics.Duplicate_identifier_0,e.symbolName(n),d)})),!a||a.body||e.hasSyntacticModifier(a,128)||a.questionToken||N(a),u&&(function(n,t,r,a,i){if(0!==(a^i)){var o=Sv(I(n,t),r);e.forEach(n,(function(n){var t=Sv(n,r)^o;1&t?or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):2&t?or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):24&t?or(e.getNameOfDeclaration(n)||n,e.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):128&t&&or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)}))}}(d,r,155,o,s),function(n,t,r,a){if(r!==a){var i=e.hasQuestionToken(I(n,t));e.forEach(n,(function(n){e.hasQuestionToken(n)!==i&&or(e.getNameOfDeclaration(n),e.Diagnostics.Overload_signatures_must_all_be_optional_or_required)}))}}(d,r,c,l),r))for(var L=hc(n),x=_c(r),A=0,D=L;A<D.length;A++){var C=D[A];if(!Hd(x,C)){e.addRelatedInfo(or(C.declaration,e.Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),e.createDiagnosticForNode(r,e.Diagnostics.The_implementation_signature_is_declared_here));break}}}function I(e,n){return void 0!==n&&n.parent===e[0].parent?n:e[0]}function N(n){if(!n.name||!e.nodeIsMissing(n.name)){var t=!1,r=e.forEachChild(n.parent,(function(e){if(t)return e;t=e===n}));if(r&&r.pos===n.end&&r.kind===n.kind){var a=r.name||r,i=r.name;if(n.name&&i&&(e.isPrivateIdentifier(n.name)&&e.isPrivateIdentifier(i)&&n.name.escapedText===i.escapedText||e.isComputedPropertyName(n.name)&&e.isComputedPropertyName(i)||e.isPropertyNameLiteral(n.name)&&e.isPropertyNameLiteral(i)&&e.getEscapedTextOfIdentifierOrLiteral(n.name)===e.getEscapedTextOfIdentifierOrLiteral(i))){if((164===n.kind||163===n.kind)&&e.hasSyntacticModifier(n,32)!==e.hasSyntacticModifier(r,32))or(a,e.hasSyntacticModifier(n,32)?e.Diagnostics.Function_overload_must_be_static:e.Diagnostics.Function_overload_must_not_be_static);return}if(e.nodeIsPresent(r.body))return void or(a,e.Diagnostics.Function_implementation_name_must_be_0,e.declarationNameToString(n.name))}var o=n.name||n;p?or(o,e.Diagnostics.Constructor_implementation_is_missing):e.hasSyntacticModifier(n,128)?or(o,e.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):or(o,e.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}function xv(n){if(t){var r=n.localSymbol;if((r||(r=va(n)).exportSymbol)&&e.getDeclarationOfKind(r,n.kind)===n){for(var a=0,i=0,o=0,s=0,c=r.declarations;s<c.length;s++){var l=y(_=c[s]),u=Sv(_,513);1&u?512&u?o|=l:a|=l:i|=l}var d=a&i,p=o&(a|i);if(d||p)for(var f=0,m=r.declarations;f<m.length;f++){l=y(_=m[f]);var _,g=e.getNameOfDeclaration(_);l&p?or(g,e.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,e.declarationNameToString(g)):l&d&&or(g,e.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,e.declarationNameToString(g))}}}function y(n){var t=n;switch(t.kind){case 250:case 251:case 327:case 320:case 321:return 2;case 253:return e.isAmbientModule(t)||0!==e.getModuleInstanceState(t)?5:4;case 249:case 252:case 288:return 3;case 294:return 7;case 263:if(!e.isEntityNameExpression(t.expression))return 1;t=t.expression;case 257:case 260:case 259:var r=0,a=Xr(va(t));return e.forEach(a.declarations,(function(e){r|=y(e)})),r;case 246:case 195:case 248:case 262:case 78:return 1;default:return e.Debug.failBadSyntaxKind(t)}}}function Av(e,n,t,r){var a=Dv(e,n);return a&&Iv(a,n,t,r)}function Dv(n,t){if(!hi(n)){var r=n;if(r.promisedTypeOfPromise)return r.promisedTypeOfPromise;if(ro(n,fl(!1)))return r.promisedTypeOfPromise=Hc(n)[0];var a=yi(n,"then");if(!hi(a)){var i=a?ec(a,0):e.emptyArray;if(0!==i.length){var o=am(wl(e.map(i,ih)),2097152);if(!hi(o)){var s=ec(o,0);if(0!==s.length)return r.promisedTypeOfPromise=wl(e.map(s,ih),2);t&&or(t,e.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}}else t&&or(t,e.Diagnostics.A_promise_must_have_a_then_method)}}}function Cv(e,n,t,r){return Iv(e,n,t,r)||Se}function Iv(e,n,t,r){if(hi(e))return e;var a=e;return a.awaitedTypeOfType?a.awaitedTypeOfType:a.awaitedTypeOfType=Sm(e,n?function(e){return Nv(e,n,t,r)}:Nv)}function Nv(n,t,r,a){var i=n;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;var o=Dv(n);if(o){if(n.id===o.id||qt.lastIndexOf(o.id)>=0)return void(t&&or(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));qt.push(n.id);var s=Iv(o,t,r,a);if(qt.pop(),!s)return;return i.awaitedTypeOfType=s}if(!function(e){var n=yi(e,"then");return!!n&&ec(am(n,2097152),0).length>0}(n))return i.awaitedTypeOfType=n;if(t){if(!r)return e.Debug.fail();or(t,r,a)}}function Rv(n){var t=ky(n);wy(t,n);var r=Ec(t);if(!(1&r.flags)){var a,i,o=Dy(n);switch(n.parent.kind){case 249:a=wl([to(va(n.parent)),Ue]);break;case 159:a=Ue,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 162:a=Ue,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 164:case 166:case 167:a=wl([hl(wE(n.parent)),Ue]);break;default:return e.Debug.fail()}Rd(r,a,n,o,(function(){return i}))}}function kv(n){if(n){var t=e.getFirstIdentifier(n),r=2097152|(78===n.kind?788968:1920),a=xr(t,t.escapedText,r,void 0,void 0,!0);a&&2097152&a.flags&&Aa(a)&&!$E(Xr(a))&&!Zr(a)&&ea(a)}}function Ov(n){var t=Pv(n);t&&e.isEntityName(t)&&kv(t)}function Pv(e){if(e)switch(e.kind){case 182:case 181:return Mv(e.types);case 183:return Mv([e.trueType,e.falseType]);case 185:case 191:return Pv(e.type);case 172:return e.typeName}}function Mv(n){for(var t,r=0,a=n;r<a.length;r++){for(var i=a[r];185===i.kind||191===i.kind;)i=i.type;if(140!==i.kind&&(q||(190!==i.kind||103!==i.literal.kind)&&149!==i.kind)){var o=Pv(i);if(!o)return;if(t){if(!e.isIdentifier(t)||!e.isIdentifier(o)||t.escapedText!==o.escapedText)return}else t=o}}return t}function wv(n){var t=e.getEffectiveTypeAnnotationNode(n);return e.isRestParameter(n)?e.getRestParameterElementType(t):t}function Fv(n){if(n.decorators&&e.nodeCanBeDecorated(n,n.parent,n.parent.parent)){j.experimentalDecorators||or(n,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning);var t=n.decorators[0];if(ST(t,8),159===n.kind&&ST(t,32),j.emitDecoratorMetadata)switch(ST(t,16),n.kind){case 249:var r=e.getFirstConstructorWithBody(n);if(r)for(var a=0,i=r.parameters;a<i.length;a++){Ov(wv(i[a]))}break;case 166:case 167:var o=166===n.kind?167:166,s=e.getDeclarationOfKind(va(n),o);Ov(zi(n)||s&&zi(s));break;case 164:for(var c=0,l=n.parameters;c<l.length;c++){Ov(wv(l[c]))}Ov(e.getEffectiveReturnTypeNode(n));break;case 162:Ov(e.getEffectiveTypeAnnotationNode(n));break;case 159:Ov(wv(n));for(var u=0,d=n.parent.parameters;u<d.length;u++){Ov(wv(d[u]))}}e.forEach(n.decorators,Rv)}}function Gv(e){switch(e.kind){case 78:return e;case 198:return e.name;default:return}}function Bv(n){Fv(n),lv(n);var r=e.getFunctionFlags(n);if(n.name&&157===n.name.kind&&V_(n.name),!Ko(n)){var a=va(n),i=n.localSymbol||a,o=e.find(i.declarations,(function(e){return e.kind===n.kind&&!(131072&e.flags)}));n===o&&Lv(i),a.parent&&e.getDeclarationOfKind(a,n.kind)===n&&Lv(a)}var s=163===n.kind?void 0:n.body;if(bE(s),vh(n,Tc(n)),t&&!e.getEffectiveReturnTypeNode(n)&&(e.nodeIsMissing(s)&&!Tv(n)&&ff(n,be),1&r&&e.nodeIsPresent(s)&&Ec(_c(n))),e.isInJSFile(n)){var c=e.getJSDocTypeTag(n);c&&c.typeExpression&&!R_(Vu(c.typeExpression),n)&&or(c,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Uv(n){if(t){var r=e.getSourceFileOfNode(n),a=vt.get(r.path);a||(a=[],vt.set(r.path,a)),a.push(n)}}function Vv(n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r];switch(i.kind){case 249:case 218:Hv(i,t),qv(i,t);break;case 294:case 253:case 227:case 255:case 234:case 235:case 236:Qv(i,t);break;case 165:case 205:case 248:case 206:case 164:case 166:case 167:i.body&&Qv(i,t),qv(i,t);break;case 163:case 168:case 169:case 173:case 174:case 251:case 250:qv(i,t);break;case 184:Wv(i,t);break;default:e.Debug.assertNever(i,"Node should not have been registered for unused identifiers check")}}}function jv(n,t,r){var a=e.getNameOfDeclaration(n)||n,i=IE(n)?e.Diagnostics._0_is_declared_but_never_used:e.Diagnostics._0_is_declared_but_its_value_is_never_read;r(n,0,e.createDiagnosticForNode(a,i,t))}function Kv(n){return e.isIdentifier(n)&&95===e.idText(n).charCodeAt(0)}function Hv(n,t){for(var r=0,a=n.members;r<a.length;r++){var i=a[r];switch(i.kind){case 164:case 162:case 166:case 167:if(167===i.kind&&32768&i.symbol.flags)break;var o=va(i);o.isReferenced||!(e.hasEffectiveModifier(i,8)||e.isNamedDeclaration(i)&&e.isPrivateIdentifier(i.name))||8388608&i.flags||t(i,0,e.createDiagnosticForNode(i.name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Qa(o)));break;case 165:for(var s=0,c=i.parameters;s<c.length;s++){var l=c[s];!l.symbol.isReferenced&&e.hasSyntacticModifier(l,8)&&t(l,0,e.createDiagnosticForNode(l.name,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,e.symbolName(l.symbol)))}break;case 170:case 226:break;default:e.Debug.fail()}}}function Wv(n,t){var r=n.typeParameter;zv(r)&&t(n,1,e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(r.name)))}function qv(n,t){if(e.last(va(n).declarations)===n)for(var r=e.getEffectiveTypeParameterDeclarations(n),a=new e.Set,i=0,o=r;i<o.length;i++){var s=o[i];if(zv(s)){var c=e.idText(s.name),l=s.parent;if(184!==l.kind&&l.typeParameters.every(zv)){if(e.tryAddToSet(a,l)){var u=e.isJSDocTemplateTag(l)?e.rangeOfNode(l):e.rangeOfTypeParameters(l.typeParameters),d=1===l.typeParameters.length,p=d?e.Diagnostics._0_is_declared_but_its_value_is_never_read:e.Diagnostics.All_type_parameters_are_unused,f=d?c:void 0;t(s,1,e.createFileDiagnostic(e.getSourceFileOfNode(l),u.pos,u.end-u.pos,p,f))}}else t(s,1,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,c))}}}function zv(e){return!(262144&ha(e.symbol).isReferenced||Kv(e.name))}function Jv(e,n,t,r){var a=String(r(n)),i=e.get(a);i?i[1].push(t):e.set(a,[n,[t]])}function Xv(n){return e.tryCast(e.getRootDeclaration(n),e.isParameter)}function Yv(n){return e.isBindingElement(n)&&Kv(n.name)?!!e.findAncestor(n.parent,(function(n){return!(e.isArrayBindingPattern(n)||e.isVariableDeclaration(n)||e.isVariableDeclarationList(n))&&(!!e.isForOfStatement(n)||"quit")})):e.isAmbientModule(n)||(e.isVariableDeclaration(n)&&e.isForInOrOfStatement(n.parent.parent)||$v(n))&&Kv(n.name)}function Qv(n,t){var r=new e.Map,a=new e.Map,i=new e.Map;n.locals.forEach((function(n){var o;if(!(262144&n.flags?!(3&n.flags)||3&n.isReferenced:n.isReferenced||n.exportSymbol))for(var s=0,c=n.declarations;s<c.length;s++){var l=c[s];if(!Yv(l))if($v(l))Jv(r,259===(o=l).kind?o:260===o.kind?o.parent:o.parent.parent,l,R);else if(e.isBindingElement(l)&&e.isObjectBindingPattern(l.parent)){l!==e.last(l.parent.elements)&&e.last(l.parent.elements).dotDotDotToken||Jv(a,l.parent,l,R)}else if(e.isVariableDeclaration(l))Jv(i,l.parent,l,R);else{var u=n.valueDeclaration&&Xv(n.valueDeclaration),d=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);u&&d?e.isParameterPropertyDeclaration(u,u.parent)||e.parameterIsThisKeyword(u)||Kv(d)||t(u,1,e.createDiagnosticForNode(d,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(n))):jv(l,e.symbolName(n),t)}}})),r.forEach((function(n){var r=n[0],a=n[1],i=r.parent;if((r.name?1:0)+(r.namedBindings?260===r.namedBindings.kind?1:r.namedBindings.elements.length:0)===a.length)t(i,0,1===a.length?e.createDiagnosticForNode(i,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.first(a).name)):e.createDiagnosticForNode(i,e.Diagnostics.All_imports_in_import_declaration_are_unused));else for(var o=0,s=a;o<s.length;o++){var c=s[o];jv(c,e.idText(c.name),t)}})),a.forEach((function(n){var r=n[0],a=n[1],o=Xv(r.parent)?1:0;if(r.elements.length===a.length)1===a.length&&246===r.parent.kind&&247===r.parent.parent.kind?Jv(i,r.parent.parent,r.parent,R):t(r,o,1===a.length?e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(e.first(a).name)):e.createDiagnosticForNode(r,e.Diagnostics.All_destructured_elements_are_unused));else for(var s=0,c=a;s<c.length;s++){var l=c[s];t(l,o,e.createDiagnosticForNode(l,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(l.name)))}})),i.forEach((function(n){var r=n[0],a=n[1];if(r.declarations.length===a.length)t(r,0,1===a.length?e.createDiagnosticForNode(e.first(a).name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(e.first(a).name)):e.createDiagnosticForNode(229===r.parent.kind?r.parent:r,e.Diagnostics.All_variables_are_unused));else for(var i=0,o=a;i<o.length;i++){var s=o[i];t(s,0,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Zv(s.name)))}}))}function Zv(n){switch(n.kind){case 78:return e.idText(n);case 194:case 193:return Zv(e.cast(e.first(n.elements),e.isBindingElement).name);default:return e.Debug.assertNever(n)}}function $v(e){return 259===e.kind||262===e.kind||260===e.kind}function eb(n){if(227===n.kind&&QT(n),e.isFunctionOrModuleBlock(n)){var t=St;e.forEach(n.statements,bE),St=t}else e.forEach(n.statements,bE);n.locals&&Uv(n)}function nb(n,t,r){if(!t||t.escapedText!==r)return!1;if(162===n.kind||161===n.kind||164===n.kind||163===n.kind||166===n.kind||167===n.kind)return!1;if(8388608&n.flags)return!1;var a=e.getRootDeclaration(n);return 159!==a.kind||!e.nodeIsMissing(a.parent.body)}function tb(n){e.findAncestor(n,(function(t){return!!(4&oT(t))&&(78!==n.kind?or(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):or(n,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)}))}function rb(n){e.findAncestor(n,(function(t){return!!(8&oT(t))&&(78!==n.kind?or(e.getNameOfDeclaration(n),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):or(n,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)}))}function ab(n){67108864&oT(e.getEnclosingBlockScopeContainer(n))&&ir("noEmit",n,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,"WeakMap")}function ib(n,t){if(!(H>=e.ModuleKind.ES2015)&&(nb(n,t,"require")||nb(n,t,"exports"))&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=gi(n);294===r.kind&&e.isExternalOrCommonJsModule(r)&&ir("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function ob(n,t){if(!(K>=4)&&nb(n,t,"Promise")&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=gi(n);294===r.kind&&e.isExternalOrCommonJsModule(r)&&2048&r.flags&&ir("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function sb(e){return e===Ee?be:e===An?xn:e}function cb(n){var t;if(Fv(n),e.isBindingElement(n)||bE(n.type),n.name){if(157===n.name.kind&&(V_(n.name),n.initializer&&Vh(n.initializer)),195===n.kind){193===n.parent.kind&&K<99&&ST(n,4),n.propertyName&&157===n.propertyName.kind&&V_(n.propertyName);var r=n.parent.parent,a=vi(r),i=n.propertyName||n.name;if(a&&!e.isBindingPattern(i)){var o=Wl(i);if(Bo(o)){var s=Zs(a,Ho(o));s&&(Ug(s,void 0,!1),mg(r,!!r.initializer&&105===r.initializer.kind,a,s))}}}if(e.isBindingPattern(n.name)&&(194===n.name.kind&&K<2&&j.downlevelIteration&&ST(n,512),e.forEach(n.name.elements,bE)),n.initializer&&159===e.getRootDeclaration(n).kind&&e.nodeIsMissing(e.getContainingFunction(n).body))or(n,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(n.name)){var c=n.initializer&&235!==n.parent.parent.kind,l=0===n.name.elements.length;if(c||l){var u=ji(n);if(c){var d=Vh(n.initializer);q&&l?Sg(d,n):kd(d,ji(n),n,n.initializer)}l&&(e.isArrayBindingPattern(n.name)?bb(65,u,Ae,n):q&&Sg(u,n))}}else{var p=va(n),f=sb(to(p));if(n===p.valueDeclaration){var m=e.getEffectiveInitializer(n);if(m)e.isInJSFile(n)&&e.isObjectLiteralExpression(m)&&(0===m.properties.length||e.isPrototypeAccess(n.name))&&!!(null===(t=p.exports)||void 0===t?void 0:t.size)||235===n.parent.parent.kind||kd(Vh(m),f,n,m,void 0);p.declarations.length>1&&e.some(p.declarations,(function(t){return t!==n&&e.isVariableLike(t)&&!ub(t,n)}))&&or(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var _=sb(ji(n));f===Se||_===Se||Td(f,_)||67108864&p.flags||lb(p.valueDeclaration,f,n,_),n.initializer&&kd(Vh(n.initializer),_,n,n.initializer,void 0),ub(n,p.valueDeclaration)||or(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}162!==n.kind&&161!==n.kind&&(xv(n),246!==n.kind&&195!==n.kind||function(n){if(0==(3&e.getCombinedNodeFlags(n))&&!e.isParameterDeclaration(n)&&(246!==n.kind||n.initializer)){var t=va(n);if(1&t.flags){if(!e.isIdentifier(n.name))return e.Debug.fail();var r=xr(n,n.name.escapedText,3,void 0,void 0,!1);if(r&&r!==t&&2&r.flags&&3&pg(r)){var a=e.getAncestor(r.valueDeclaration,247),i=229===a.parent.kind&&a.parent.parent?a.parent.parent:void 0;if(!(i&&(227===i.kind&&e.isFunctionLike(i.parent)||254===i.kind||253===i.kind||294===i.kind))){var o=Qa(r);or(n,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(n),ib(n,n.name),ob(n,n.name),K<99&&nb(n,n.name,"WeakMap")&&Wt.push(n))}}}function lb(n,t,r,a){var i=e.getNameOfDeclaration(r),o=162===r.kind||161===r.kind?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,s=e.declarationNameToString(i),c=or(i,o,s,$a(t),$a(a));n&&e.addRelatedInfo(c,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,s))}function ub(n,t){if(159===n.kind&&246===t.kind||246===n.kind&&159===t.kind)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(t))return!1;return e.getSelectedEffectiveModifierFlags(n,504)===e.getSelectedEffectiveModifierFlags(t,504)}function db(n){return function(n){if(235!==n.parent.parent.kind&&236!==n.parent.parent.kind)if(8388608&n.flags)HT(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return XT(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return XT(n,e.Diagnostics.const_declarations_must_be_initialized)}if(n.exclamationToken&&(229!==n.parent.parent.kind||!n.type||n.initializer||8388608&n.flags))return XT(n.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation);var t=e.getEmitModuleKind(j);t<e.ModuleKind.ES2015&&t!==e.ModuleKind.System&&!(8388608&n.parent.parent.flags)&&e.hasSyntacticModifier(n.parent.parent,1)&&function n(t){if(78===t.kind){if("__esModule"===e.idText(t))return function(n,t,r,a,i,o){if(!qT(e.getSourceFileOfNode(t)))return ir(n,t,r,a,i,o),!0;return!1}("noEmit",t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var r=t.elements,a=0,i=r;a<i.length;a++){var o=i[a];if(!e.isOmittedExpression(o))return n(o.name)}return!1}(n.name);(e.isLet(n)||e.isVarConst(n))&&function n(t){if(78===t.kind){if(118===t.originalKeywordKind)return XT(t,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(var r=t.elements,a=0,i=r;a<i.length;a++){var o=i[a];e.isOmittedExpression(o)||n(o.name)}return!1}(n.name)}(n),cb(n)}function pb(n){return function(n){if(n.dotDotDotToken){var t=n.parent.elements;if(n!==e.last(t))return XT(n,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(DT(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),n.propertyName)return XT(n.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(n.dotDotDotToken&&n.initializer)JT(n,n.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}(n),cb(n)}function fb(n){xT(n)||WT(n.declarationList)||function(n){if(!function e(n){switch(n.kind){case 231:case 232:case 233:case 240:case 234:case 235:case 236:return!1;case 242:return e(n.parent)}return!0}(n.parent)){if(e.isLet(n.declarationList))return XT(n,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block);if(e.isVarConst(n.declarationList))XT(n,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}(n),e.forEach(n.declarationList.declarations,bE)}function mb(n,t,r){if(q){var a=e.isIdentifier(n)?n:e.isPropertyAccessExpression(n)?n.name:void 0;if(a)if(!qp(r))if(0!==ec(r,0).length){var i=ME(a);if(i)e.forEachChild(t,(function t(r){if(e.isIdentifier(r)){var o=ME(r);if(o&&o===i){if(e.isIdentifier(n))return!0;for(var s=a.parent,c=r.parent;s&&c;){if(e.isIdentifier(s)&&e.isIdentifier(c)||107===s.kind&&107===c.kind)return ME(s)===ME(c);if(!e.isPropertyAccessExpression(s)||!e.isPropertyAccessExpression(c))return!1;if(ME(s.name)!==ME(c.name))return!1;c=c.expression,s=s.expression}}}return e.forEachChild(r,t)}))||or(n,e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}function _b(n,t){return 16384&n.flags&&or(t,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),n}function gb(e,n){return _b(iv(e,n),e)}function yb(n){BT(n);var t,r=hg(iv(n.expression));if(247===n.initializer.kind){var a=n.initializer.declarations[0];a&&e.isBindingPattern(a.name)&&or(a.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),hb(n)}else{var i=n.initializer,o=iv(i);196===i.kind||197===i.kind?or(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Dd(131072&(t=Yl(Xl(r))).flags?Re:t,o)?xh(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):or(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}r!==Ve&&Ih(r,126091264)||or(n.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,$a(r)),bE(n.statement),n.locals&&Uv(n)}function hb(e){var n=e.initializer;n.declarations.length>=1&&db(n.declarations[0])}function vb(e){return bb(e.awaitModifier?15:13,gg(e.expression),Ae,e.expression)}function bb(e,n,t,r){return hi(n)?n:Eb(e,n,t,r,!0)||be}function Eb(n,t,r,a,i){var o=0!=(2&n);if(t!==Ve){var s=K>=2,c=!s&&j.downlevelIteration;if(s||c||o){var l=Db(t,n,s?a:void 0);if(i&&l){var u=8&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&n?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;u&&Rd(r,l.nextType,a,u)}if(l||s)return l&&l.yieldType}var d=t,p=!1,f=!1;if(4&n){if(1048576&d.flags){var m=t.types,_=e.filter(m,(function(e){return!(132&e.flags)}));_!==m&&(d=wl(_,2))}else 132&d.flags&&(d=Ve);if((f=d!==t)&&(K<1&&a&&(or(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),p=!0),131072&d.flags))return Re}if(!Ap(d)){if(a&&!p){var g=Tb(n,0,t,void 0),y=4&n&&!f?c?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:g?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:c?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:g?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type,!0],h=y[0];lr(a,y[1]&&!!Av(d),h,$a(d))}return f?Re:void 0}var v=ac(d,1);return f&&v?132&v.flags?Re:wl([v,Re],2):v}Pb(a,t,o)}function Tb(e,n,t,r){if(!hi(t)){var a=Db(t,e,r);return a&&a[F(n)]}}function Sb(e,n,t){if(void 0===e&&(e=Ve),void 0===n&&(n=Ve),void 0===t&&(t=xe),67359327&e.flags&&180227&n.flags&&180227&t.flags){var r=Bc([e,n,t]),a=ut.get(r);return a||(a={yieldType:e,returnType:n,nextType:t},ut.set(r,a)),a}return{yieldType:e,returnType:n,nextType:t}}function Lb(n){for(var t,r,a,i=0,o=n;i<o.length;i++){var s=o[i];if(void 0!==s&&s!==dt){if(s===pt)return pt;t=e.append(t,s.yieldType),r=e.append(r,s.returnType),a=e.append(a,s.nextType)}}return t||r||a?Sb(t&&wl(t),r&&wl(r),a&&Kl(a)):dt}function xb(e,n){return e[n]}function Ab(e,n,t){return e[n]=t}function Db(n,t,r){if(hi(n))return pt;if(!(1048576&n.flags)){var a=Ib(n,t,r);return a===dt?void(r&&Pb(r,n,!!(2&t))):a}var i,o=2&t?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",s=xb(n,o);if(s)return s===dt?void 0:s;for(var c=0,l=n.types;c<l.length;c++){var u=Ib(l[c],t,r);u===dt?r&&(Pb(r,n,!!(2&t)),r=void 0):i=e.append(i,u)}var d=i?Lb(i):dt;return Ab(n,o,d),d===dt?void 0:d}function Cb(e,n){if(e===dt)return dt;if(e===pt)return pt;var t=e.yieldType,r=e.returnType,a=e.nextType;return Sb(Iv(t,n)||be,Iv(r,n)||be,a)}function Ib(e,n,t){if(hi(e))return pt;var r;if(2&n&&(r=Nb(e,_t)||kb(e,_t)))return r;if(1&n&&(r=Nb(e,gt)||kb(e,gt))){if(!(2&n))return r;if(r!==dt)return Ab(e,"iterationTypesOfAsyncIterable",Cb(r,t))}if(2&n&&(r=Ob(e,_t,t))!==dt)return r;if(1&n&&(r=Ob(e,gt,t))!==dt)return 2&n?Ab(e,"iterationTypesOfAsyncIterable",r?Cb(r,t):dt):r;return dt}function Nb(e,n){return xb(e,n.iterableCacheKey)}function Rb(e,n){var t=Nb(e,n)||Ob(e,n,void 0);return t===dt?mt:t}function kb(e,n){var t;if(ro(e,t=n.getGlobalIterableType(!1))||ro(e,t=n.getGlobalIterableIteratorType(!1))){var r=Hc(e)[0],a=Rb(t,n),i=a.returnType,o=a.nextType;return Ab(e,n.iterableCacheKey,Sb(r,i,o))}if(ro(e,n.getGlobalGeneratorType(!1))){var s=Hc(e);r=s[0],i=s[1],o=s[2];return Ab(e,n.iterableCacheKey,Sb(r,i,o))}}function Ob(n,t,r){var a,i=Zs(n,e.getPropertyNameForKnownSymbolName(t.iteratorSymbolName)),o=!i||16777216&i.flags?void 0:to(i);if(hi(o))return Ab(n,t.iterableCacheKey,pt);var s=o?ec(o,0):void 0;if(!e.some(s))return Ab(n,t.iterableCacheKey,dt);var c=null!==(a=Mb(Kl(e.map(s,Ec)),t,r))&&void 0!==a?a:dt;return Ab(n,t.iterableCacheKey,c)}function Pb(n,t,r){var a=r?e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;lr(n,!!Av(t),a,$a(t))}function Mb(e,n,t){if(hi(e))return pt;var r=wb(e,n)||function(e,n){var t=n.getGlobalIterableIteratorType(!1);if(ro(e,t)){var r=Hc(e)[0],a=wb(t,n)||jb(t,n,void 0),i=a===dt?mt:a,o=i.returnType,s=i.nextType;return Ab(e,n.iteratorCacheKey,Sb(r,o,s))}if(ro(e,n.getGlobalIteratorType(!1))||ro(e,n.getGlobalGeneratorType(!1))){var c=Hc(e);r=c[0],o=c[1],s=c[2];return Ab(e,n.iteratorCacheKey,Sb(r,o,s))}}(e,n)||jb(e,n,t);return r===dt?void 0:r}function wb(e,n){return xb(e,n.iteratorCacheKey)}function Fb(e,n){var t=yi(e,"done")||Pe;return Dd(0===n?Pe:we,t)}function Gb(e){return Fb(e,0)}function Bb(e){return Fb(e,1)}function Ub(e){if(hi(e))return pt;var n,t=xb(e,"iterationTypesOfIteratorResult");if(t)return t;if(ro(e,(n=!1,Un||(Un=ul("IteratorYieldResult",1,n))||tn)))return Ab(e,"iterationTypesOfIteratorResult",Sb(Hc(e)[0],void 0,void 0));if(ro(e,function(e){return Vn||(Vn=ul("IteratorReturnResult",1,e))||tn}(!1)))return Ab(e,"iterationTypesOfIteratorResult",Sb(void 0,Hc(e)[0],void 0));var r=Em(e,Gb),a=r!==Ve?yi(r,"value"):void 0,i=Em(e,Bb),o=i!==Ve?yi(i,"value"):void 0;return Ab(e,"iterationTypesOfIteratorResult",a||o?Sb(a,o||Ue,void 0):dt)}function Vb(n,t,r,a){var i=Zs(n,r);if(i||"next"===r){var o=!i||"next"===r&&16777216&i.flags?void 0:"next"===r?to(i):am(to(i),2097152);if(hi(o))return"next"===r?pt:ft;var s,c,l,u,d,p=o?ec(o,0):e.emptyArray;if(0===p.length){if(a)or(a,"next"===r?t.mustHaveANextMethodDiagnostic:t.mustBeAMethodDiagnostic,r);return"next"===r?pt:void 0}for(var f=0,m=p;f<m.length;f++){var _=m[f];"throw"!==r&&e.some(_.parameters)&&(s=e.append(s,Qy(_,0))),c=e.append(c,Ec(_))}if("throw"!==r){var g=s?wl(s):xe;if("next"===r)u=g;else if("return"===r){var y=t.resolveIterationType(g,a)||be;l=e.append(l,y)}}var h=c?Kl(c):Ve,v=Ub(t.resolveIterationType(h,a)||be);return v===dt?(a&&or(a,t.mustHaveAValueDiagnostic,r),d=be,l=e.append(l,be)):(d=v.yieldType,l=e.append(l,v.returnType)),Sb(d,wl(l),u)}}function jb(e,n,t){var r=Lb([Vb(e,n,"next",t),Vb(e,n,"return",t),Vb(e,n,"throw",t)]);return Ab(e,n.iteratorCacheKey,r)}function Kb(e,n,t){if(!hi(n)){var r=Hb(n,t);return r&&r[F(e)]}}function Hb(e,n){if(hi(e))return pt;var t=n?_t:gt;return Db(e,n?2:1,void 0)||Mb(e,t,void 0)}function Wb(n){QT(n)||function(n){var t=n;for(;t;){if(e.isFunctionLike(t))return XT(n,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 242:if(n.label&&t.label.escapedText===n.label.escapedText)return!!(237===n.kind&&!e.isIterationStatement(t.statement,!0))&&XT(n,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 241:if(238===n.kind&&!n.label)return!1;break;default:if(e.isIterationStatement(t,!1)&&!n.label)return!1}t=t.parent}if(n.label){var r=238===n.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return XT(n,r)}r=238===n.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;XT(n,r)}(n)}function qb(e,n){var t,r,a=!!(2&n);return!!(1&n)?null!==(t=Kb(1,e,a))&&void 0!==t?t:Se:a?null!==(r=Iv(e))&&void 0!==r?r:Se:e}function zb(n,t){var r=qb(t,e.getFunctionFlags(n));return!!r&&Ch(r,16387)}function Jb(n){QT(n)||e.isIdentifier(n.expression)&&!n.expression.escapedText&&function(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!qT(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return zt.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,t,r,a,i)),!0}}(n,e.Diagnostics.Line_break_not_permitted_here),n.expression&&iv(n.expression)}function Xb(n){var t,r=Oc(n.symbol,1),a=Oc(n.symbol,0),i=ac(n,0),o=ac(n,1);if(i||o){e.forEach(xs(n),(function(e){var t=to(e);f(e,t,n,a,i,0),f(e,t,n,r,o,1)}));var s=n.symbol.valueDeclaration;if(1&e.getObjectFlags(n)&&e.isClassLike(s))for(var c=0,l=s.members;c<l.length;c++){var u=l[c];if(!e.hasSyntacticModifier(u,32)&&Ko(u)){var d=va(u),p=to(d);f(d,p,n,a,i,0),f(d,p,n,r,o,1)}}}i&&o&&(!(t=r||a)&&2&e.getObjectFlags(n)&&(t=e.forEach(ho(n),(function(e){return ac(e,0)&&ac(e,1)}))?void 0:n.symbol.declarations[0]));function f(n,t,r,a,i,o){if(i&&!e.isKnownSymbol(n)){var s=n.valueDeclaration,c=s&&e.getNameOfDeclaration(s);if((!c||!e.isPrivateIdentifier(c))&&(1!==o||(c?G_(c):U_(n.escapedName)))){var l;if(s&&c&&(213===s.kind||157===c.kind||n.parent===r.symbol))l=s;else if(a)l=a;else if(2&e.getObjectFlags(r)){l=e.forEach(ho(r),(function(e){return As(e,n.escapedName)&&ac(e,o)}))?void 0:r.symbol.declarations[0]}if(l&&!Dd(t,i))or(l,0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2,Qa(n),$a(t),$a(i))}}}t&&!Dd(o,i)&&or(t,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1,$a(o),$a(i))}function Yb(e,n){switch(e.escapedText){case"any":case"unknown":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":or(e,n,e.escapedText)}}function Qb(n){if(n)for(var r=!1,a=0;a<n.length;a++){var i=n[a];if(ov(i),t){i.default?(r=!0,Zb(i.default,n,a)):r&&or(i,e.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var o=0;o<a;o++)n[o].symbol===i.symbol&&or(i.name,e.Diagnostics.Duplicate_identifier_0,e.declarationNameToString(i.name))}}}function Zb(n,t,r){!function n(a){if(172===a.kind){var i=al(a);if(262144&i.flags)for(var o=r;o<t.length;o++)i.symbol===va(t[o])&&or(a,e.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}e.forEachChild(a,n)}(n)}function $b(n){if(1!==n.declarations.length){var t=vr(n);if(!t.typeParametersChecked){t.typeParametersChecked=!0;var r=function(n){return e.filter(n.declarations,(function(e){return 249===e.kind||250===e.kind}))}(n);if(r.length<=1)return;if(!function(n,t){for(var r=e.length(t),a=fc(t),i=0,o=n;i<o.length;i++){var s=o[i],c=e.getEffectiveTypeParameterDeclarations(s),l=c.length;if(l<a||l>r)return!1;for(var u=0;u<l;u++){var d=c[u],p=t[u];if(d.name.escapedText!==p.symbol.escapedName)return!1;var f=e.getEffectiveConstraintOfTypeParameter(d),m=f&&Vu(f),_=Ns(p);if(m&&_&&!Td(m,_))return!1;var g=d.default&&Vu(d.default),y=Us(p);if(g&&y&&!Td(g,y))return!1}}return!0}(r,Io(n).localTypeParameters))for(var a=Qa(n),i=0,o=r;i<o.length;i++){or(o[i].name,e.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,a)}}}}function eE(n){var r;!function(n){var t=e.getSourceFileOfNode(n);(function(n){var t=!1,r=!1;if(!xT(n)&&n.heritageClauses)for(var a=0,i=n.heritageClauses;a<i.length;a++){var o=i[a];if(93===o.token){if(t)return zT(o,e.Diagnostics.extends_clause_already_seen);if(r)return zT(o,e.Diagnostics.extends_clause_must_precede_implements_clause);if(o.types.length>1)return zT(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(116===o.token),r)return zT(o,e.Diagnostics.implements_clause_already_seen);r=!0}OT(o)}})(n)||CT(n.typeParameters,t)}(n),Fv(n),n.name&&(Yb(n.name,e.Diagnostics.Class_name_cannot_be_0),ib(n,n.name),ob(n,n.name),8388608&n.flags||(r=n.name,1===K&&"Object"===r.escapedText&&H<e.ModuleKind.ES2015&&or(r,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[H]))),Qb(e.getEffectiveTypeParameterDeclarations(n)),xv(n);var a=va(n),i=Io(a),o=Xo(i),s=to(a);$b(a),function(n){for(var t=new e.Map,r=new e.Map,a=new e.Map,i=0,o=n.members;i<o.length;i++){var s=o[i];if(165===s.kind)for(var c=0,l=s.parameters;c<l.length;c++){var u=l[c];e.isParameterPropertyDeclaration(u,s)&&!e.isBindingPattern(u.name)&&_(t,u.name,u.name.escapedText,3)}else{var d=e.hasSyntacticModifier(s,32),p=s.name;if(!p)return;var f=e.isPrivateIdentifier(p)?a:d?r:t,m=p&&e.getPropertyNameForPropertyNameNode(p);if(m)switch(s.kind){case 166:_(f,p,m,1);break;case 167:_(f,p,m,2);break;case 162:_(f,p,m,3);break;case 164:_(f,p,m,8)}}}function _(n,t,r,a){var i=n.get(r);i?8&i?8!==a&&or(t,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(t)):i&a?or(t,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(t)):n.set(r,i|a):n.set(r,a)}}(n),8388608&n.flags||function(n){for(var t=0,r=n.members;t<r.length;t++){var a=r[t],i=a.name;if(e.hasSyntacticModifier(a,32)&&i){var o=e.getPropertyNameForPropertyNameNode(i);switch(o){case"name":case"length":case"caller":case"arguments":case"prototype":or(i,e.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,o,li(va(n)))}}}}(n);var c=e.getEffectiveBaseTypeNode(n);if(c){e.forEach(c.typeArguments,bE),K<2&&ST(c.parent,1);var l=e.getClassExtendsHeritageElement(n);l&&l!==c&&iv(l.expression);var u=ho(i);if(u.length&&t){var d=u[0],p=go(i),f=js(p);if(function(n,t){var r=ec(n,1);if(r.length){var a=r[0].declaration;if(a&&e.hasEffectiveModifier(a,8)){var i=e.getClassLikeDeclarationOfSymbol(n.symbol);kE(t,i)||or(t,e.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,ta(n.symbol))}}}(f,c),bE(c.expression),e.some(c.typeArguments)){e.forEach(c.typeArguments,bE);for(var m=0,_=mo(f,c.typeArguments,c);m<_.length;m++){if(!yv(c,_[m].typeParameters))break}}if(Rd(o,T=Xo(d,i.thisType),void 0)?Rd(s,Ed(f),n.name||n,e.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1):nE(n,o,T,e.Diagnostics.Class_0_incorrectly_extends_base_class_1),8650752&p.flags&&!uo(s)&&or(n.name||n,e.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any),!(f.symbol&&32&f.symbol.flags||8650752&p.flags)){var g=_o(f,c.typeArguments,c);e.forEach(g,(function(e){return!Oy(e.declaration)&&!Td(Ec(e),d)}))&&or(c.expression,e.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}!function(n,t){var r=Cs(t);e:for(var a=0,i=r;a<i.length;a++){var o=i[a],s=tE(o);if(!(4194304&s.flags)){var c=As(n,s.escapedName);if(c){var l=tE(c),u=e.getDeclarationModifierFlagsFromSymbol(s);if(e.Debug.assert(!!l,"derived should point to something, even if it is the base class' declaration."),l===s){var d=e.getClassLikeDeclarationOfSymbol(n.symbol);if(128&u&&(!d||!e.hasSyntacticModifier(d,128))){for(var p=0,f=ho(n);p<f.length;p++){var m=f[p];if(m!==t){var _=As(m,s.escapedName),g=_&&tE(_);if(g&&g!==s)continue e}}218===d.kind?or(d,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Qa(o),$a(t)):or(d,e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,$a(n),Qa(o),$a(t))}}else{var y=e.getDeclarationModifierFlagsFromSymbol(l);if(8&u||8&y)continue;var h=void 0,v=98308&s.flags,b=98308&l.flags;if(v&&b){if(128&u&&!(s.valueDeclaration&&e.isPropertyDeclaration(s.valueDeclaration)&&s.valueDeclaration.initializer)||s.valueDeclaration&&250===s.valueDeclaration.parent.kind||l.valueDeclaration&&e.isBinaryExpression(l.valueDeclaration))continue;var E=4!==v&&4===b,T=4===v&&4!==b;if(E||T){var S=E?e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;or(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,S,Qa(s),$a(t),$a(n))}else if(j.useDefineForClassFields){var L=e.find(l.declarations,(function(e){return 162===e.kind&&!e.initializer}));if(L&&!(33554432&l.flags)&&!(128&u)&&!(128&y)&&!l.declarations.some((function(e){return!!(8388608&e.flags)}))){var x=Da(e.getClassLikeDeclarationOfSymbol(n.symbol)),A=L.name;if(L.exclamationToken||!x||!e.isIdentifier(A)||!q||!aE(A,n,x)){var D=e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;or(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,D,Qa(s),$a(t))}}}continue}if(fg(s)){if(fg(l)||4&l.flags)continue;e.Debug.assert(!!(98304&l.flags)),h=e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else h=98304&s.flags?e.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:e.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;or(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,h,$a(t),Qa(s),$a(n))}}}}}(i,d)}}var y=e.getEffectiveImplementsTypeNodes(n);if(y)for(var h=0,v=y;h<v.length;h++){var b=v[h];if(e.isEntityNameExpression(b.expression)||or(b.expression,e.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),vv(b),t){var E=zs(Vu(b));if(E!==Se)if(bo(E)){var T,S=E.symbol&&32&E.symbol.flags?e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:e.Diagnostics.Class_0_incorrectly_implements_interface_1;Rd(o,T=Xo(E,i.thisType),void 0)||nE(n,o,T,S)}else or(b,e.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}t&&(Xb(i),dv(n),function(n){if(!q||!X||8388608&n.flags)return;for(var t=Da(n),r=0,a=n.members;r<a.length;r++){var i=a[r];if(!(2&e.getEffectiveModifierFlags(i))&&rE(i)){var o=i.name;if(e.isIdentifier(o)||e.isPrivateIdentifier(o)){var s=to(va(i));3&s.flags||32768&qp(s)||t&&aE(o,s,t)||or(i.name,e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,e.declarationNameToString(o))}}}}(n))}function nE(n,t,r,a){for(var i=!1,o=function(n){if(e.hasStaticModifier(n))return"continue";var a=n.name&&ME(n.name)||ME(n);if(a){var o=Zs(t,a.escapedName),s=Zs(r,a.escapedName);if(o&&s){Rd(to(o),to(s),n.name||n,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Qa(a),$a(t),$a(r))}))||(i=!0)}}},s=0,c=n.members;s<c.length;s++){o(c[s])}i||Rd(t,r,n.name||n,a)}function tE(n){return 1&e.getCheckFlags(n)?n.target:n}function rE(n){return 162===n.kind&&!e.hasSyntacticModifier(n,160)&&!n.exclamationToken&&!n.initializer}function aE(n,t,r){var a=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);return e.setParent(a.expression,a),e.setParent(a,r),a.flowNode=r.returnFlowNode,!(32768&qp(jm(a,t,Yp(t))))}function iE(n){if(xT(n)||function(n){var t=!1;if(n.heritageClauses)for(var r=0,a=n.heritageClauses;r<a.length;r++){var i=a[r];if(93!==i.token)return e.Debug.assert(116===i.token),zT(i,e.Diagnostics.Interface_declaration_cannot_have_implements_clause);if(t)return zT(i,e.Diagnostics.extends_clause_already_seen);t=!0,OT(i)}}(n),Qb(n.typeParameters),t){Yb(n.name,e.Diagnostics.Interface_name_cannot_be_0),xv(n);var r=va(n);if($b(r),n===e.getDeclarationOfKind(r,250)){var a=Io(r),i=Xo(a);if(function(n,t){var r=ho(n);if(r.length<2)return!0;var a=new e.Map;e.forEach(Go(n).declaredProperties,(function(e){a.set(e.escapedName,{prop:e,containingType:n})}));for(var i=!0,o=0,s=r;o<s.length;o++)for(var c=s[o],l=0,u=Cs(Xo(c,n.thisType));l<u.length;l++){var d=u[l],p=a.get(d.escapedName);if(p){if(p.containingType!==n&&!hp(p.prop,d)){i=!1;var f=$a(p.containingType),m=$a(c),_=e.chainDiagnosticMessages(void 0,e.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,Qa(d),f,m);_=e.chainDiagnosticMessages(_,e.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,$a(n),f,m),zt.add(e.createDiagnosticForNodeFromMessageChain(t,_))}}else a.set(d.escapedName,{prop:d,containingType:c})}return i}(a,n.name)){for(var o=0,s=ho(a);o<s.length;o++){Rd(i,Xo(s[o],a.thisType),n.name,e.Diagnostics.Interface_0_incorrectly_extends_interface_1)}Xb(a)}}uv(n)}e.forEach(e.getInterfaceBaseTypeNodes(n),(function(n){e.isEntityNameExpression(n.expression)||or(n.expression,e.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),vv(n)})),e.forEach(n.members,bE),t&&(dv(n),Uv(n))}function oE(e){var n=br(e);if(!(16384&n.flags)){n.flags|=16384;for(var t=0,r=0,a=e.members;r<a.length;r++){var i=a[r],o=sE(i,t);br(i).enumMemberValue=o,t="number"==typeof o?o+1:void 0}}}function sE(n,t){if(e.isComputedNonLiteralName(n.name))or(n.name,e.Diagnostics.Computed_property_names_are_not_allowed_in_enums);else{var r=e.getTextOfPropertyName(n.name);U_(r)&&!B_(r)&&or(n.name,e.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}return n.initializer?function(n){var t=Lo(va(n.parent)),r=e.isEnumConst(n.parent),a=n.initializer,i=1!==t||So(n)?function t(r){switch(r.kind){case 211:var a=t(r.operand);if("number"==typeof a)switch(r.operator){case 39:return a;case 40:return-a;case 54:return~a}break;case 213:var i=t(r.left),o=t(r.right);if("number"==typeof i&&"number"==typeof o)switch(r.operatorToken.kind){case 51:return i|o;case 50:return i&o;case 48:return i>>o;case 49:return i>>>o;case 47:return i<<o;case 52:return i^o;case 41:return i*o;case 43:return i/o;case 39:return i+o;case 40:return i-o;case 44:return i%o;case 42:return Math.pow(i,o)}else if("string"==typeof i&&"string"==typeof o&&39===r.operatorToken.kind)return i+o;break;case 10:case 14:return r.text;case 8:return ZT(r),+r.text;case 204:return t(r.expression);case 78:var c=r;return B_(c.escapedText)?+c.escapedText:e.nodeIsMissing(r)?0:s(r,va(n.parent),c.escapedText);case 199:case 198:var l=r;if(function n(t){return 78===t.kind||198===t.kind&&n(t.expression)||199===t.kind&&n(t.expression)&&e.isStringLiteralLike(t.argumentExpression)}(l)){var u=tv(l.expression);if(u.symbol&&384&u.symbol.flags){var d=void 0;return d=198===l.kind?l.name.escapedText:e.escapeLeadingUnderscores(e.cast(l.argumentExpression,e.isLiteralExpression).text),s(r,u.symbol,d)}}}return}(a):void 0;if(void 0!==i)r&&"number"==typeof i&&!isFinite(i)&&or(a,isNaN(i)?e.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:e.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);else{if(1===t)return or(a,e.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;if(r)or(a,e.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values);else if(8388608&n.parent.flags)or(a,e.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);else{var o=iv(a);Ih(o,296)?Rd(o,Io(va(n.parent)),a,void 0):or(a,e.Diagnostics.Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead,$a(o))}}return i;function s(t,r,a){var i=r.exports.get(a);if(i){var o=i.valueDeclaration;if(o!==n)return Sr(o,n)?sT(o):(or(t,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);or(t,e.Diagnostics.Property_0_is_used_before_being_assigned,Qa(i))}}}(n):8388608&n.parent.flags&&!e.isEnumConst(n.parent)&&0===Lo(va(n.parent))?void 0:void 0!==t?t:void or(n.name,e.Diagnostics.Enum_member_must_have_initializer)}function cE(n){e.isPrivateIdentifier(n.name)&&or(n,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function lE(n){if(t){var r=e.isGlobalScopeAugmentation(n),a=8388608&n.flags;r&&!a&&or(n.name,e.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);var i=e.isAmbientModule(n);if(gE(n,i?e.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:e.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module))return;xT(n)||a||10!==n.name.kind||XT(n.name,e.Diagnostics.Only_ambient_modules_can_use_quoted_names),e.isIdentifier(n.name)&&(ib(n,n.name),ob(n,n.name)),xv(n);var o=va(n);if(512&o.flags&&!a&&o.declarations.length>1&&O(n,!!j.preserveConstEnums||!!j.isolatedModules)){var s=function(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t];if((249===a.kind||248===a.kind&&e.nodeIsPresent(a.body))&&!(8388608&a.flags))return a}}(o);s&&(e.getSourceFileOfNode(n)!==e.getSourceFileOfNode(s)?or(n.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):n.pos<s.pos&&or(n.name,e.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));var c=e.getDeclarationOfKind(o,249);c&&(d=n,p=c,f=e.getEnclosingBlockScopeContainer(d),m=e.getEnclosingBlockScopeContainer(p),Er(f)?Er(m):!Er(m)&&f===m)&&(br(n).flags|=32768)}if(i)if(e.isExternalModuleAugmentation(n)){if((r||33554432&va(n).flags)&&n.body)for(var l=0,u=n.body.statements;l<u.length;l++){uE(u[l],r)}}else Er(n.parent)?r?or(n.name,e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(n.name))&&or(n.name,e.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):or(n.name,r?e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:e.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}var d,p,f,m;n.body&&(bE(n.body),e.isGlobalScopeAugmentation(n)||Uv(n))}function uE(n,t){switch(n.kind){case 229:for(var r=0,a=n.declarationList.declarations;r<a.length;r++){uE(a[r],t)}break;case 263:case 264:zT(n,e.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 257:case 258:zT(n,e.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 195:case 246:var i=n.name;if(e.isBindingPattern(i)){for(var o=0,s=i.elements;o<s.length;o++){uE(s[o],t)}break}case 249:case 252:case 248:case 250:case 253:case 251:if(t)return;var c=va(n);if(c){var l=!(33554432&c.flags);l||(l=!!c.parent&&e.isExternalModuleAugmentation(c.parent.declarations[0]))}}}function dE(n){var t=e.getExternalModuleName(n);if(!t||e.nodeIsMissing(t))return!1;if(!e.isStringLiteral(t))return or(t,e.Diagnostics.String_literal_expected),!1;var r=254===n.parent.kind&&e.isAmbientModule(n.parent.parent);return 294===n.parent.kind||r?!(r&&e.isExternalModuleNameRelative(t.text)&&!oi(n))||(or(n,e.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1):(or(t,264===n.kind?e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:e.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module),!1)}function pE(n){var t=va(n),r=Xr(t);if(r!==he){var a=(1160127&(t=ha(t.exportSymbol||t)).flags?111551:0)|(788968&t.flags?788968:0)|(1920&t.flags?1920:0);if(r.flags&a)or(n,267===n.kind?e.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:e.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0,Qa(t));!j.isolatedModules||267!==n.kind||n.parent.parent.isTypeOnly||111551&r.flags||8388608&n.flags||or(n,e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type),e.isImportSpecifier(n)&&e.every(r.declarations,(function(n){return!!(134217728&e.getCombinedNodeFlags(n))}))&&cr(!1,n.name,e.Diagnostics._0_is_deprecated,t.escapedName)}}function fE(n){ib(n,n.name),ob(n,n.name),pE(n),262===n.kind&&"default"===e.idText(n.propertyName||n.name)&&j.esModuleInterop&&H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&ST(n,262144)}function mE(n){if(!gE(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(!xT(n)&&e.hasEffectiveModifiers(n)&&zT(n,e.Diagnostics.An_import_declaration_cannot_have_modifiers),dE(n))){var t=n.importClause;if(t&&!function(n){if(n.isTypeOnly&&n.name&&n.namedBindings)return XT(n,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);return!1}(t))if(t.name&&fE(t),t.namedBindings)if(260===t.namedBindings.kind)fE(t.namedBindings),H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&j.esModuleInterop&&ST(n,131072);else ia(n,n.moduleSpecifier)&&e.forEach(t.namedBindings.elements,fE)}}function _E(n){if(!gE(n,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!xT(n)&&e.hasEffectiveModifiers(n)&&zT(n,e.Diagnostics.An_export_declaration_cannot_have_modifiers),n.moduleSpecifier&&n.exportClause&&e.isNamedExports(n.exportClause)&&e.length(n.exportClause.elements)&&0===K&&ST(n,4194304),function(n){var t,r=n.isTypeOnly&&265!==(null===(t=n.exportClause)||void 0===t?void 0:t.kind);r&&XT(n,e.Diagnostics.Only_named_exports_may_use_export_type)}(n),!n.moduleSpecifier||dE(n)))if(n.exportClause&&!e.isNamespaceExport(n.exportClause)){e.forEach(n.exportClause.elements,hE);var t=254===n.parent.kind&&e.isAmbientModule(n.parent.parent),r=!t&&254===n.parent.kind&&!n.moduleSpecifier&&8388608&n.flags;294===n.parent.kind||t||r||or(n,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=ia(n,n.moduleSpecifier);a&&da(a)?or(n.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Qa(a)):n.exportClause&&pE(n.exportClause),H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&(n.exportClause?j.esModuleInterop&&ST(n,131072):ST(n,65536))}}function gE(e,n){var t=294===e.parent.kind||254===e.parent.kind||253===e.parent.kind;return t||zT(e,n),!t}function yE(n){return e.forEachImportClauseDeclaration(n,(function(e){return!!vr(va(e)).constEnumReferenced}))}function hE(n){if(pE(n),e.getEmitDeclarations(j)&&di(n.propertyName||n.name,!0),n.parent.parent.moduleSpecifier)j.esModuleInterop&&H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&"default"===e.idText(n.propertyName||n.name)&&ST(n,262144);else{var t=n.propertyName||n.name,r=xr(t,t.escapedText,2998271,void 0,void 0,!0);if(r&&(r===re||r===ae||Er(gi(r.declarations[0]))))or(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(t));else{$r(n);var a=r&&(2097152&r.flags?Xr(r):r);(!a||a===he||111551&a.flags)&&Vh(n.propertyName||n.name)}}}function vE(n){var t=va(n),r=vr(t);if(!r.exportsChecked){var a=t.exports.get("export=");if(a&&function(n){return e.forEachEntry(n.exports,(function(e,n){return"export="!==n}))}(t)){var i=Mr(a)||a.valueDeclaration;oi(i)||e.isInJSFile(i)||or(i,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var o=_a(t);o&&o.forEach((function(n,t){var r=n.declarations,a=n.flags;if("__export"!==t&&!(1984&a)){var i=e.countWhere(r,C);if(!(524288&a&&i<=2)&&i>1)for(var o=0,s=r;o<s.length;o++){var c=s[o];P(c)&&zt.add(e.createDiagnosticForNode(c,e.Diagnostics.Cannot_redeclare_exported_variable_0,e.unescapeLeadingUnderscores(t)))}}})),r.exportsChecked=!0}}function bE(n){if(n){var a=d;d=n,T=0,function(n){e.isInJSFile(n)&&e.forEach(n.jsDoc,(function(n){var t=n.tags;return e.forEach(t,bE)}));var a=n.kind;if(r)switch(a){case 253:case 249:case 250:case 248:r.throwIfCancellationRequested()}a>=229&&a<=245&&n.flowNode&&!Um(n.flowNode)&&cr(!1===j.allowUnreachableCode,n,e.Diagnostics.Unreachable_code_detected);switch(a){case 158:return ov(n);case 159:return sv(n);case 162:return pv(n);case 161:return function(n){return e.isPrivateIdentifier(n.name)&&or(n,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),pv(n)}(n);case 173:case 174:case 168:case 169:case 170:return lv(n);case 164:case 163:return function(n){jT(n)||MT(n.name),e.isPrivateIdentifier(n.name)&&or(n,e.Diagnostics.A_method_cannot_be_named_with_a_private_identifier),Bv(n),e.hasSyntacticModifier(n,128)&&164===n.kind&&n.body&&or(n,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(n.name))}(n);case 165:return fv(n);case 166:case 167:return mv(n);case 172:return vv(n);case 171:return function(n){var t=function(e){switch(e.parent.kind){case 206:case 168:case 248:case 205:case 173:case 164:case 163:var n=e.parent;if(e===n.type)return n}}(n);if(t){var r=_c(t),a=bc(r);if(a){bE(n.type);var i=n.parameterName;if(0===a.kind||2===a.kind)Gu(i);else if(a.parameterIndex>=0){if(G(r)&&a.parameterIndex===r.parameters.length-1)or(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(a.type){Rd(a.type,to(r.parameters[a.parameterIndex]),n.type,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}))}}else if(i){for(var o=!1,s=0,c=t.parameters;s<c.length;s++){var l=c[s].name;if(e.isBindingPattern(l)&&cv(l,i,a.parameterName)){o=!0;break}}o||or(n.parameterName,e.Diagnostics.Cannot_find_parameter_0,a.parameterName)}}}else or(n,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}(n);case 175:return function(e){ol(e)}(n);case 176:return function(n){e.forEach(n.members,bE),t&&(Xb(Eu(n)),dv(n),uv(n))}(n);case 177:return function(e){bE(e.elementType)}(n);case 178:return function(n){for(var t=n.elements,r=!1,a=e.some(t,e.isNamedTupleMember),i=0;i<t.length;i++){var o=t[i];if(191!==o.kind&&a){XT(o,e.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var s=bl(o);if(8&s){if(!Ap(Vu(o.type))){or(o,e.Diagnostics.A_rest_element_type_must_be_an_array_type);break}}else if(4&s){if(i!==t.length-1){XT(o,e.Diagnostics.A_rest_element_must_be_last_in_a_tuple_type);break}}else if(2&s)r=!0;else if(r){XT(o,e.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}e.forEach(n.elements,bE)}(n);case 181:case 182:return function(n){e.forEach(n.types,bE)}(n);case 185:case 179:case 180:return bE(n.type);case 186:return function(e){Gu(e)}(n);case 187:return Ev(n);case 183:return function(n){e.forEachChild(n,bE)}(n);case 184:return function(n){e.findAncestor(n,(function(e){return e.parent&&183===e.parent.kind&&e.parent.extendsType===e}))||XT(n,e.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),bE(n.typeParameter),Uv(n)}(n);case 192:return function(e){bE(e.argument),Vu(e)}(n);case 191:return function(n){n.dotDotDotToken&&n.questionToken&&XT(n,e.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest),179===n.type.kind&&XT(n.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),180===n.type.kind&&XT(n.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),bE(n.type),Vu(n)}(n);case 311:return function(n){var t=e.getEffectiveJSDocHost(n);if(t&&(e.isClassDeclaration(t)||e.isClassExpression(t))){var r=e.getJSDocTags(t).filter(e.isJSDocAugmentsTag);e.Debug.assert(r.length>0),r.length>1&&or(r[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=Gv(n.class.expression),i=e.getClassExtendsHeritageElement(t);if(i){var o=Gv(i.expression);o&&a.escapedText!==o.escapedText&&or(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(o))}}else or(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 312:return function(n){var t=e.getEffectiveJSDocHost(n);t&&(e.isClassDeclaration(t)||e.isClassExpression(t))||or(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 327:case 320:case 321:return function(n){n.typeExpression||or(n.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),n.name&&Yb(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),bE(n.typeExpression)}(n);case 326:return function(e){bE(e.constraint);for(var n=0,t=e.typeParameters;n<t.length;n++){bE(t[n])}}(n);case 325:return function(e){bE(e.typeExpression)}(n);case 322:return function(n){if(bE(n.typeExpression),!e.getParameterSymbolFromJSDoc(n)){var t=e.getHostSignatureFromJSDoc(n);if(t){var r=e.getJSDocTags(t).filter(e.isJSDocParameterTag).indexOf(n);if(r>-1&&r<t.parameters.length&&e.isBindingPattern(t.parameters[r].name))return;yc(t)?e.findLast(e.getJSDocTags(t),e.isJSDocParameterTag)===n&&n.typeExpression&&n.typeExpression.type&&!Tp(Vu(n.typeExpression.type))&&or(n.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,e.idText(156===n.name.kind?n.name.right:n.name)):e.isQualifiedName(n.name)?or(n.name,e.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,e.entityNameToString(n.name),e.entityNameToString(n.name.left)):or(n.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,e.idText(n.name))}}}(n);case 328:return function(e){bE(e.typeExpression)}(n);case 304:!function(n){!t||n.type||e.isJSDocConstructSignature(n)||ff(n,be),lv(n)}(n);case 302:case 301:case 299:case 300:case 308:return EE(n),void e.forEachChild(n,bE);case 305:return void function(n){EE(n),bE(n.type);var t=n.parent;if(e.isParameter(t)&&e.isJSDocFunctionType(t.parent))return void(e.last(t.parent.parameters)!==t&&or(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list));e.isJSDocTypeExpression(t)||or(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var r=n.parent.parent;if(!e.isJSDocParameterTag(r))return void or(n,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var a=e.getParameterSymbolFromJSDoc(r);if(!a)return;var i=e.getHostSignatureFromJSDoc(r);i&&e.last(i.parameters).symbol===a||or(n,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}(n);case 298:return bE(n.type);case 188:return function(e){bE(e.objectType),bE(e.indexType),bv(pu(e),e)}(n);case 189:return function(n){bE(n.typeParameter),bE(n.type),n.type||ff(n,be),Rd(_s(fu(n)),Je,e.getEffectiveConstraintOfTypeParameter(n.typeParameter))}(n);case 248:return function(e){t&&(Bv(e),wT(e),ib(e,e.name),ob(e,e.name))}(n);case 227:case 254:return eb(n);case 229:return fb(n);case 230:return function(e){QT(e),iv(e.expression)}(n);case 231:return function(n){QT(n);var t=gb(n.expression);mb(n.expression,n.thenStatement,t),bE(n.thenStatement),228===n.thenStatement.kind&&or(n.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),bE(n.elseStatement)}(n);case 232:return function(e){QT(e),bE(e.statement),gb(e.expression)}(n);case 233:return function(e){QT(e),gb(e.expression),bE(e.statement)}(n);case 234:return function(n){QT(n)||n.initializer&&247===n.initializer.kind&&WT(n.initializer),n.initializer&&(247===n.initializer.kind?e.forEach(n.initializer.declarations,db):iv(n.initializer)),n.condition&&gb(n.condition),n.incrementor&&iv(n.incrementor),bE(n.statement),n.locals&&Uv(n)}(n);case 235:return yb(n);case 236:return function(n){if(BT(n),n.awaitModifier?2==(6&e.getFunctionFlags(e.getContainingFunction(n)))&&K<99&&ST(n,32768):j.downlevelIteration&&K<2&&ST(n,256),247===n.initializer.kind)hb(n);else{var t=n.initializer,r=vb(n);if(196===t.kind||197===t.kind)Mh(t,r||Se);else{var a=iv(t);xh(t,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),r&&kd(r,a,t,n.expression)}}bE(n.statement),n.locals&&Uv(n)}(n);case 237:case 238:return Wb(n);case 239:return function(n){var t;if(!QT(n)){var r=e.getContainingFunction(n);if(r){var a=Ec(_c(r)),i=e.getFunctionFlags(r);if(q||n.expression||131072&a.flags){var o=n.expression?Vh(n.expression):Ae;if(167===r.kind)n.expression&&or(n,e.Diagnostics.Setters_cannot_return_a_value);else if(165===r.kind)n.expression&&!kd(o,a,n,n.expression)&&or(n,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(Tc(r)){var s=null!==(t=qb(a,i))&&void 0!==t?t:a,c=2&i?Cv(o,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o;s&&kd(c,s,n,n.expression)}}else 165!==r.kind&&j.noImplicitReturns&&!zb(r,a)&&or(n,e.Diagnostics.Not_all_code_paths_return_a_value)}else zT(n,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}}(n);case 240:return function(n){QT(n)||32768&n.flags&&zT(n,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),iv(n.expression);var t=e.getSourceFileOfNode(n);if(!qT(t)){var r=e.getSpanOfTokenAtPosition(t,n.pos).start;JT(t,r,n.statement.pos-r,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}(n);case 241:return function(n){var r;QT(n);var a=!1,i=iv(n.expression),o=kp(i);e.forEach(n.caseBlock.clauses,(function(n){if(282!==n.kind||a||(void 0===r?r=n:(XT(n,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),a=!0)),t&&281===n.kind){var s=iv(n.expression),c=kp(s),l=i;c&&o||(s=c?Op(s):s,l=Op(i)),wh(l,s)||jd(s,l,n.expression,void 0)}e.forEach(n.statements,bE),j.noFallthroughCasesInSwitch&&n.fallthroughFlowNode&&Um(n.fallthroughFlowNode)&&or(n,e.Diagnostics.Fallthrough_case_in_switch)})),n.caseBlock.locals&&Uv(n.caseBlock)}(n);case 242:return function(n){QT(n)||e.findAncestor(n.parent,(function(t){return e.isFunctionLike(t)?"quit":242===t.kind&&t.label.escapedText===n.label.escapedText&&(XT(n.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(n.label)),!0)})),bE(n.statement)}(n);case 243:return Jb(n);case 244:return function(n){QT(n),eb(n.tryBlock);var t=n.catchClause;if(t){if(t.variableDeclaration)if(t.variableDeclaration.type&&wE(t.variableDeclaration)===Se)zT(t.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified);else if(t.variableDeclaration.initializer)zT(t.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var r=t.block.locals;r&&e.forEachKey(t.locals,(function(n){var t=r.get(n);t&&0!=(2&t.flags)&&XT(t.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,n)}))}eb(t.block)}n.finallyBlock&&eb(n.finallyBlock)}(n);case 246:return db(n);case 195:return pb(n);case 249:return function(n){n.name||e.hasSyntacticModifier(n,512)||zT(n,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),eE(n),e.forEach(n.members,bE),Uv(n)}(n);case 250:return iE(n);case 251:return function(n){xT(n),Yb(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),xv(n),Qb(n.typeParameters),bE(n.type),Uv(n)}(n);case 252:return function(n){if(t){xT(n),Yb(n.name,e.Diagnostics.Enum_name_cannot_be_0),ib(n,n.name),ob(n,n.name),xv(n),n.members.forEach(cE),oE(n);var r=va(n);if(n===e.getDeclarationOfKind(r,n.kind)){if(r.declarations.length>1){var a=e.isEnumConst(n);e.forEach(r.declarations,(function(n){e.isEnumDeclaration(n)&&e.isEnumConst(n)!==a&&or(e.getNameOfDeclaration(n),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var i=!1;e.forEach(r.declarations,(function(n){if(252!==n.kind)return!1;var t=n;if(!t.members.length)return!1;var r=t.members[0];r.initializer||(i?or(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)}))}}}(n);case 253:return lE(n);case 258:return mE(n);case 257:return function(n){if(!gE(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(xT(n),e.isInternalModuleImportEqualsDeclaration(n)||dE(n)))if(fE(n),e.hasSyntacticModifier(n,1)&&$r(n),269!==n.moduleReference.kind){var t=Xr(va(n));if(t!==he){if(111551&t.flags){var r=e.getFirstIdentifier(n.moduleReference);1920&ra(r,112575).flags||or(r,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(r))}788968&t.flags&&Yb(n.name,e.Diagnostics.Import_name_cannot_be_0)}}else H>=e.ModuleKind.ES2015&&!(8388608&n.flags)&&XT(n,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}(n);case 264:return _E(n);case 263:return function(n){if(!gE(n,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var t=294===n.parent.kind?n.parent:n.parent.parent;if(253!==t.kind||e.isAmbientModule(t)){if(!xT(n)&&e.hasEffectiveModifiers(n)&&zT(n,e.Diagnostics.An_export_assignment_cannot_have_modifiers),78===n.expression.kind){var r=n.expression,a=ra(r,67108863,!0,!0,n);if(a){Ym(a,r);var i=2097152&a.flags?Xr(a):a;(i===he||111551&i.flags)&&Vh(n.expression)}e.getEmitDeclarations(j)&&di(n.expression,!0)}else Vh(n.expression);vE(t),8388608&n.flags&&!e.isEntityNameExpression(n.expression)&&XT(n.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!n.isExportEquals||8388608&n.flags||(H>=e.ModuleKind.ES2015?XT(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):H===e.ModuleKind.System&&XT(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else n.isExportEquals?or(n,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):or(n,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(n);case 228:case 245:return void QT(n);case 268:(function(e){Fv(e)})(n)}}(n),d=a}}function EE(n){e.isInJSFile(n)||XT(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function TE(n){var t=br(e.getSourceFileOfNode(n));if(!(1&t.flags)){t.deferredNodes=t.deferredNodes||new e.Map;var r=R(n);t.deferredNodes.set(r,n)}}function SE(n){var t=d;switch(d=n,T=0,n.kind){case 200:case 201:case 202:case 160:case 272:zg(n);break;case 205:case 206:case 164:case 163:!function(n){e.Debug.assert(164!==n.kind||e.isObjectLiteralMethod(n));var t=e.getFunctionFlags(n),r=Tc(n);if(vh(n,r),n.body)if(e.getEffectiveReturnTypeNode(n)||Ec(_c(n)),227===n.body.kind)bE(n.body);else{var a=iv(n.body),i=r&&qb(r,t);if(i)if(2==(3&t))kd(Cv(a,n.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),i,n.body,n.body);else kd(a,i,n.body,n.body)}}(n);break;case 166:case 167:mv(n);break;case 218:!function(n){e.forEach(n.members,bE),Uv(n)}(n);break;case 271:!function(e){cg(e),zg(e)}(n);break;case 270:!function(e){cg(e.openingElement),z_(e.closingElement.tagName)?$_(e.closingElement):iv(e.closingElement.tagName),X_(e)}(n)}d=t}function LE(t){e.performance.mark("beforeCheck"),function(t){var r=br(t);if(!(1&r.flags)){if(e.skipTypeChecking(t,j,n))return;!function(n){!!(8388608&n.flags)&&function(n){for(var t=0,r=n.statements;t<r.length;t++){var a=r[t];if((e.isDeclaration(a)||229===a.kind)&&YT(a))return!0}}(n)}(t),e.clear(Kt),e.clear(Ht),e.clear(Wt),e.forEach(t.statements,bE),bE(t.endOfFileToken),function(e){var n=br(e);n.deferredNodes&&n.deferredNodes.forEach(SE)}(t),e.isExternalOrCommonJsModule(t)&&Uv(t),t.isDeclarationFile||!j.noUnusedLocals&&!j.noUnusedParameters||Vv(AE(t),(function(n,t,r){!e.containsParseError(n)&&xE(t,!!(8388608&n.flags))&&zt.add(r)})),2===j.importsNotUsedAsValues&&!t.isDeclarationFile&&e.isExternalModule(t)&&function(n){for(var t=0,r=n.statements;t<r.length;t++){var a=r[t];e.isImportDeclaration(a)&&a.importClause&&!a.importClause.isTypeOnly&&(i=a.importClause,e.forEachImportClauseDeclaration(i,(function(e){return!!va(e).isReferenced})))&&!eT(a.importClause,!0)&&!yE(a.importClause)&&or(a,e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error)}var i}(t),e.isExternalOrCommonJsModule(t)&&vE(t),Kt.length&&(e.forEach(Kt,tb),e.clear(Kt)),Ht.length&&(e.forEach(Ht,rb),e.clear(Ht)),Wt.length&&(e.forEach(Wt,ab),e.clear(Wt)),r.flags|=1}}(t),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck")}function xE(n,t){if(t)return!1;switch(n){case 0:return!!j.noUnusedLocals;case 1:return!!j.noUnusedParameters;default:return e.Debug.assertNever(n)}}function AE(n){return vt.get(n.path)||e.emptyArray}function DE(t,a){try{return r=a,function(t){if(CE(),t){var r=zt.getGlobalDiagnostics(),a=r.length;LE(t);var i=zt.getDiagnostics(t.fileName),o=zt.getGlobalDiagnostics();if(o!==r){var s=e.relativeComplement(r,o,e.compareDiagnostics);return e.concatenate(s,i)}return 0===a&&o.length>0?e.concatenate(o,i):i}return e.forEach(n.getSourceFiles(),LE),zt.getDiagnostics()}(t)}finally{r=void 0}}function CE(){if(!t)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function IE(e){switch(e.kind){case 158:case 249:case 250:case 251:case 252:case 327:case 320:case 321:return!0;case 259:return e.isTypeOnly;case 262:case 267:return e.parent.parent.isTypeOnly;default:return!1}}function NE(e){for(;156===e.parent.kind;)e=e.parent;return 172===e.parent.kind}function RE(n,t){for(var r;(n=e.getContainingClass(n))&&!(r=t(n)););return r}function kE(e,n){return!!RE(e,(function(e){return e===n}))}function OE(e){return void 0!==function(e){for(;156===e.parent.kind;)e=e.parent;return 257===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:263===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function PE(n){if(e.isDeclarationName(n))return va(n.parent);if(e.isInJSFile(n)&&198===n.parent.kind&&n.parent===n.parent.parent.left&&!e.isPrivateIdentifier(n)){var t=function(n){switch(e.getAssignmentDeclarationKind(n.parent.parent)){case 1:case 3:return va(n.parent);case 4:case 2:case 5:return va(n.parent.parent)}}(n);if(t)return t}if(263===n.parent.kind&&e.isEntityNameExpression(n)){var r=ra(n,2998271,!0);if(r&&r!==he)return r}else if(!e.isPropertyAccessExpression(n)&&!e.isPrivateIdentifier(n)&&OE(n)){var a=e.getAncestor(n,257);return e.Debug.assert(void 0!==a),na(n,!0)}if(!e.isPropertyAccessExpression(n)&&!e.isPrivateIdentifier(n)){var i=function(n){for(var t=n.parent;e.isQualifiedName(t);)n=t,t=t.parent;if(t&&192===t.kind&&t.qualifier===n)return t}(n);if(i){Vu(i);var o=br(n).resolvedSymbol;return o===he?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(n);)n=n.parent;if(function(e){for(;198===e.parent.kind;)e=e.parent;return 220===e.parent.kind}(n)){var s=0;220===n.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(n)?ra(n,s):void 0;if(c)return c}if(322===n.parent.kind)return e.getParameterSymbolFromJSDoc(n.parent);if(158===n.parent.kind&&326===n.parent.parent.kind){e.Debug.assert(!e.isInJSFile(n));var l=e.getTypeParameterFromJsDoc(n.parent);return l&&l.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;if(78===n.kind){if(e.isJSXTagName(n)&&z_(n)){var u=$_(n.parent);return u===he?void 0:u}return ra(n,111551,!1,!0)}if(198===n.kind||156===n.kind){var d=br(n);return d.resolvedSymbol||(198===n.kind?Lg(n):xg(n)),d.resolvedSymbol}}else if(NE(n)){return ra(n,s=172===n.parent.kind?788968:1920,!1,!0)}return 171===n.parent.kind?ra(n,1):void 0}function ME(n,t){if(294===n.kind)return e.isExternalModule(n)?ha(n.symbol):void 0;var r=n.parent,a=r.parent;if(!(16777216&n.flags)){if(M(n)){var i=va(r);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?K_(i):i}if(e.isLiteralComputedPropertyDeclarationName(n))return va(r.parent);if(78===n.kind){if(OE(n))return PE(n);if(195===r.kind&&193===a.kind&&n===r.propertyName){var o=Zs(wE(a),n.escapedText);if(o)return o}}switch(n.kind){case 78:case 79:case 198:case 156:return PE(n);case 107:var s=e.getThisContainer(n,!1);if(e.isFunctionLike(s)){var c=_c(s);if(c.thisParameter)return c.thisParameter}if(e.isInExpressionContext(n))return iv(n).symbol;case 186:return Gu(n).symbol;case 105:return iv(n).symbol;case 132:var l=n.parent;return l&&165===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(258===n.parent.kind||264===n.parent.kind)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return ia(n,n,t);if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r)&&r.arguments[1]===n)return va(r);case 8:var u=e.isElementAccessExpression(r)?r.argumentExpression===n?tv(r.expression):void 0:e.isLiteralTypeNode(r)&&e.isIndexedAccessTypeNode(a)?Vu(a.objectType):void 0;return u&&Zs(u,e.escapeLeadingUnderscores(n.text));case 87:case 97:case 38:case 83:return va(n.parent);case 192:return e.isLiteralImportTypeNode(n)?ME(n.argument.literal,t):void 0;case 92:return e.isExportAssignment(n.parent)?e.Debug.checkDefined(n.parent.symbol):void 0;default:return}}}function wE(n){if(16777216&n.flags)return Se;var t,r,a=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),i=a&&Eo(va(a.class));if(e.isPartOfTypeNode(n)){var o=Vu(n);return i?Xo(o,i.thisType):o}if(e.isExpressionNode(n))return GE(n);if(i&&!a.isImplements){var s=e.firstOrUndefined(ho(i));return s?Xo(s,i.thisType):Se}if(IE(n))return Io(r=va(n));if(78===(t=n).kind&&IE(t.parent)&&e.getNameOfDeclaration(t.parent)===t)return(r=ME(n))?Io(r):Se;if(e.isDeclaration(n))return to(r=va(n));if(M(n))return(r=ME(n))?to(r):Se;if(e.isBindingPattern(n))return Ci(n.parent,!0)||Se;if(OE(n)&&(r=ME(n))){var c=Io(r);return c!==Se?c:to(r)}return Se}function FE(n){if(e.Debug.assert(197===n.kind||196===n.kind),236===n.parent.kind)return Mh(n,vb(n.parent)||Se);if(213===n.parent.kind)return Mh(n,tv(n.parent.right)||Se);if(285===n.parent.kind){var t=e.cast(n.parent.parent,e.isObjectLiteralExpression);return Oh(t,FE(t)||Se,e.indexOfNode(t.properties,n.parent))}var r=e.cast(n.parent,e.isArrayLiteralExpression),a=FE(r)||Se,i=bb(65,a,Ae,n.parent)||Se;return Ph(r,a,r.elements.indexOf(n),i)}function GE(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),Pu(tv(n))}function BE(n){var t=va(n.parent);return e.hasSyntacticModifier(n,32)?to(t):Io(t)}function UE(n){var t=n.name;switch(t.kind){case 78:return wu(e.idText(t));case 8:case 10:return wu(t.text);case 157:var r=V_(t);return Ih(r,12288)?r:Re;default:return e.Debug.fail("Unsupported property name.")}}function VE(n){n=js(n);var t=e.createSymbolTable(Cs(n)),r=ec(n,0).length?gn:ec(n,1).length?yn:void 0;return r&&e.forEach(Cs(r),(function(e){t.has(e.escapedName)||t.set(e.escapedName,e)})),Pa(t)}function jE(n){return e.typeHasCallOrConstructSignatures(n,ce)}function KE(n){if(e.isGeneratedIdentifier(n))return!1;var t=e.getParseTreeNode(n,e.isIdentifier);if(!t)return!1;var r=t.parent;return!!r&&(!((e.isPropertyAccessExpression(r)||e.isPropertyAssignment(r))&&r.name===t)&&gT(t)===oe)}function HE(n){var t=ia(n.parent,n);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var r=da(t),a=vr(t=la(t));return void 0===a.exportsSomeValue&&(a.exportsSomeValue=r?!!(111551&t.flags):e.forEachEntry(_a(t),(function(e){return(e=Jr(e))&&!!(111551&e.flags)}))),a.exportsSomeValue}function WE(n,t){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var a=gT(r,function(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}(r));if(a){if(1048576&a.flags){var i=ha(a.exportSymbol);if(!t&&944&i.flags&&!(3&i.flags))return;a=i}var o=ba(a);if(o){if(512&o.flags&&294===o.valueDeclaration.kind){var s=o.valueDeclaration;return s!==e.getSourceFileOfNode(r)?void 0:s}return e.findAncestor(r.parent,(function(n){return e.isModuleOrEnumDeclaration(n)&&va(n)===o}))}}}}function qE(n){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=gT(t);if(zr(r,111551)&&!Zr(r))return Mr(r)}}function zE(n){if(418&n.flags&&!e.isSourceFile(n.valueDeclaration)){var t=vr(n);if(void 0===t.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(r)||function(n){return e.isBindingElement(n.valueDeclaration)&&284===e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind}(n)){var a=br(n.valueDeclaration);if(xr(r.parent,n.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(262144&a.flags){var i=524288&a.flags,o=e.isIterationStatement(r,!1),s=227===r.kind&&e.isIterationStatement(r.parent,!1);t.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||i&&(o||s))}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function JE(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=gT(t);if(r&&zE(r))return r.valueDeclaration}}}function XE(n){var t=e.getParseTreeNode(n,e.isDeclaration);if(t){var r=va(t);if(r)return zE(r)}return!1}function YE(n){switch(n.kind){case 257:return ZE(va(n)||he);case 259:case 260:case 262:case 267:var t=va(n)||he;return ZE(t)&&!Zr(t);case 264:var r=n.exportClause;return!!r&&(e.isNamespaceExport(r)||e.some(r.elements,YE));case 263:return!n.expression||78!==n.expression.kind||ZE(va(n)||he)}return!1}function QE(n){var t=e.getParseTreeNode(n,e.isImportEqualsDeclaration);return!(void 0===t||294!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(ZE(va(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function ZE(e){var n=Xr(e);return n===he||!!(111551&n.flags)&&(j.preserveConstEnums||!$E(n))}function $E(e){return kh(e)||!!e.constEnumOnlyModule}function eT(n,t){if(wr(n)){var r=va(n);if(r&&vr(r).referenced)return!0;var a=vr(r).target;if(a&&1&e.getEffectiveModifierFlags(n)&&111551&a.flags&&(j.preserveConstEnums||!$E(a)))return!0}return!!t&&!!e.forEachChild(n,(function(e){return eT(e,t)}))}function nT(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var t=hc(va(n));return t.length>1||1===t.length&&t[0].declaration!==n}return!1}function tT(n){return!(!q||uc(n)||e.isJSDocParameterTag(n)||!n.initializer||e.hasSyntacticModifier(n,92))}function rT(n){return q&&uc(n)&&!n.initializer&&e.hasSyntacticModifier(n,92)}function aT(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return!1;var r=va(t);return!!(r&&16&r.flags)&&!!e.forEachEntry(ma(r),(function(n){return 111551&n.flags&&n.valueDeclaration&&e.isPropertyAccessExpression(n.valueDeclaration)}))}function iT(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return e.emptyArray;var r=va(t);return r&&Cs(to(r))||e.emptyArray}function oT(e){return br(e).flags||0}function sT(e){return oE(e.parent),br(e).enumMemberValue}function cT(e){switch(e.kind){case 288:case 198:case 199:return!0}return!1}function lT(n){if(288===n.kind)return sT(n);var t=br(n).resolvedSymbol;if(t&&8&t.flags){var r=t.valueDeclaration;if(e.isEnumConst(r.parent))return sT(r)}}function uT(e){return!!(524288&e.flags)&&ec(e,0).length>0}function dT(n,t){var r,a=e.getParseTreeNode(n,e.isEntityName);if(!a)return e.TypeReferenceSerializationKind.Unknown;if(t&&!(t=e.getParseTreeNode(t)))return e.TypeReferenceSerializationKind.Unknown;var i=ra(a,111551,!0,!0,t),o=(null===(r=null==i?void 0:i.declarations)||void 0===r?void 0:r.every(e.isTypeOnlyImportOrExportDeclaration))||!1,s=i&&2097152&i.flags?Xr(i):i,c=ra(a,788968,!0,!1,t);if(s&&s===c){var l=ml(!1);if(l&&s===l)return e.TypeReferenceSerializationKind.Promise;var u=to(s);if(u&&po(u))return o?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!c)return o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var d=Io(c);return d===Se?o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:3&d.flags?e.TypeReferenceSerializationKind.ObjectType:Ih(d,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Ih(d,528)?e.TypeReferenceSerializationKind.BooleanType:Ih(d,296)?e.TypeReferenceSerializationKind.NumberLikeType:Ih(d,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:Ih(d,132)?e.TypeReferenceSerializationKind.StringLikeType:Gp(d)?e.TypeReferenceSerializationKind.ArrayLikeType:Ih(d,12288)?e.TypeReferenceSerializationKind.ESSymbolType:uT(d)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Tp(d)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function pT(n,t,r,a,i){var o=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!o)return e.factory.createToken(128);var s=va(o),c=!s||133120&s.flags?Se:Pp(to(s));return 8192&c.flags&&c.symbol===s&&(r|=1048576),i&&(c=Yp(c)),ne.typeToTypeNode(c,t,1024|r,a)}function fT(n,t,r,a){var i=e.getParseTreeNode(n,e.isFunctionLike);if(!i)return e.factory.createToken(128);var o=_c(i);return ne.typeToTypeNode(Ec(o),t,1024|r,a)}function mT(n,t,r,a){var i=e.getParseTreeNode(n,e.isExpression);if(!i)return e.factory.createToken(128);var o=df(GE(i));return ne.typeToTypeNode(o,t,1024|r,a)}function _T(n){return te.has(e.escapeLeadingUnderscores(n))}function gT(n,t){var r=br(n).resolvedSymbol;if(r)return r;var a=n;if(t){var i=n.parent;e.isDeclaration(i)&&n===i.name&&(a=gi(i))}return xr(a,n.escapedText,3257279,void 0,void 0,!0)}function yT(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=gT(t);if(r)return xa(r).valueDeclaration}}}function hT(n){return!!(e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n))&&Mu(to(va(n)))}function vT(n,t){return function(n,t,r){var a=1024&n.flags?ne.symbolToExpression(n.symbol,111551,t,void 0,r):n===we?e.factory.createTrue():n===Pe&&e.factory.createFalse();if(a)return a;var i=n.value;return"object"==typeof i?e.factory.createBigIntLiteral(i):"number"==typeof i?e.factory.createNumericLiteral(i):e.factory.createStringLiteral(i)}(to(va(n)),n,t)}function bT(n){return n?(ar(n),e.getSourceFileOfNode(n).localJsxFactory||nt):nt}function ET(n){if(n){var t=e.getSourceFileOfNode(n);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;var r=t.pragmas.get("jsxfrag"),a=e.isArray(r)?r[0]:r;if(a)return t.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,K),t.localJsxFragmentFactory}}if(j.jsxFragmentFactory)return e.parseIsolatedEntityName(j.jsxFragmentFactory,K)}function TT(n){var t=253===n.kind?e.tryCast(n.name,e.isStringLiteral):e.getExternalModuleName(n),r=oa(t,t,void 0);if(r)return e.getDeclarationOfKind(r,294)}function ST(n,t){if((a&t)!==t&&j.importHelpers){var r=e.getSourceFileOfNode(n);if(e.isEffectiveExternalModule(r,j)&&!(8388608&n.flags)){var i=function(n,t){u||(u=sa(n,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||he);return u}(r,n);if(i!==he)for(var o=t&~a,s=1;s<=4194304;s<<=1)if(o&s){var c=LT(s);Tr(i.exports,e.escapeLeadingUnderscores(c),111551)||or(n,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,c)}a|=t}}}function LT(n){switch(n){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spread";case 2048:return"__spreadArrays";case 4096:return"__await";case 8192:return"__asyncGenerator";case 16384:return"__asyncDelegator";case 32768:return"__asyncValues";case 65536:return"__exportStar";case 131072:return"__importStar";case 262144:return"__importDefault";case 524288:return"__makeTemplateObject";case 1048576:return"__classPrivateFieldGet";case 2097152:return"__classPrivateFieldSet";case 4194304:return"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function xT(n){return function(n){if(!n.decorators)return!1;if(!e.nodeCanBeDecorated(n,n.parent,n.parent.parent))return 164!==n.kind||e.nodeIsPresent(n.body)?zT(n,e.Diagnostics.Decorators_are_not_valid_here):zT(n,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(166===n.kind||167===n.kind){var t=e.getAllAccessorDeclarations(n.parent.members,n);if(t.firstAccessor.decorators&&n===t.secondAccessor)return zT(n,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(n)||function(n){var t,r,a,i,o=function(n){return!!n.modifiers&&(function(n){switch(n.kind){case 166:case 167:case 165:case 162:case 161:case 164:case 163:case 170:case 253:case 258:case 257:case 264:case 263:case 205:case 206:case 159:return!1;default:if(254===n.parent.kind||294===n.parent.kind)return!1;switch(n.kind){case 248:return AT(n,129);case 249:return AT(n,125);case 250:case 229:case 251:return!0;case 252:return AT(n,84);default:return e.Debug.fail(),!1}}}(n)?zT(n,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(n);if(void 0!==o)return o;for(var s=0,c=0,l=n.modifiers;c<l.length;c++){var u=l[c];if(141!==u.kind){if(161===n.kind||163===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(u.kind));if(170===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(u.kind))}switch(u.kind){case 84:if(252!==n.kind)return XT(n,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(84));break;case 122:case 121:case 120:var d=ii(e.modifierToFlag(u.kind));if(28&s)return XT(u,e.Diagnostics.Accessibility_modifier_already_seen);if(32&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"static");if(64&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"readonly");if(256&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"async");if(254===n.parent.kind||294===n.parent.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);if(128&s)return 120===u.kind?XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,d,"abstract"):XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"abstract");if(e.isPrivateIdentifierPropertyDeclaration(n))return XT(u,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=e.modifierToFlag(u.kind);break;case 123:if(32&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"static");if(64&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(254===n.parent.kind||294===n.parent.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(e.isPrivateIdentifierPropertyDeclaration(n))return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"static");s|=32,t=u;break;case 141:if(64&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"readonly");if(162!==n.kind&&161!==n.kind&&170!==n.kind&&159!==n.kind)return XT(u,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64,i=u;break;case 92:if(1&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"export");if(2&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return XT(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(e.isClassLike(n.parent))return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_class_element,"export");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 87:var p=294===n.parent.kind?n.parent:n.parent.parent;if(253===p.kind&&!e.isAmbientModule(p))return XT(u,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);s|=512;break;case 133:if(2&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(e.isClassLike(n.parent)&&!e.isPropertyDeclaration(n))return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_class_element,"declare");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(8388608&n.parent.flags&&254===n.parent.kind)return XT(u,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(e.isPrivateIdentifierPropertyDeclaration(n))return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");s|=2,r=u;break;case 125:if(128&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"abstract");if(249!==n.kind){if(164!==n.kind&&162!==n.kind&&166!==n.kind&&167!==n.kind)return XT(u,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(249!==n.parent.kind||!e.hasSyntacticModifier(n.parent,128))return XT(u,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract")}if(e.isNamedDeclaration(n)&&79===n.name.kind)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=128;break;case 129:if(256&s)return XT(u,e.Diagnostics._0_modifier_already_seen,"async");if(2&s||8388608&n.parent.flags)return XT(u,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(159===n.kind)return XT(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");s|=256,a=u}}if(165===n.kind)return 32&s?XT(t,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):128&s?XT(t,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"abstract"):256&s?XT(a,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!!(64&s)&&XT(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"readonly");if((258===n.kind||257===n.kind)&&2&s)return XT(r,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare");if(159===n.kind&&92&s&&e.isBindingPattern(n.name))return XT(n,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern);if(159===n.kind&&92&s&&n.dotDotDotToken)return XT(n,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter);if(256&s)return function(n,t){switch(n.kind){case 164:case 248:case 205:case 206:return!1}return XT(t,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}(n,a);return!1}(n)}function AT(e,n){return e.modifiers.length>1||e.modifiers[0].kind!==n}function DT(n,t){return void 0===t&&(t=e.Diagnostics.Trailing_comma_not_allowed),!(!n||!n.hasTrailingComma)&&JT(n[0],n.end-",".length,",".length,t)}function CT(n,t){if(n&&0===n.length){var r=n.pos-"<".length;return JT(t,r,e.skipTrivia(t.text,n.end)+">".length-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function IT(n){if(K>=3){var t=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(t){var r=(i=n.parameters,e.filter(i,(function(n){return!!n.initializer||e.isBindingPattern(n.name)||e.isRestParameter(n)})));if(e.length(r)){e.forEach(r,(function(n){e.addRelatedInfo(or(n,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))}));var a=r.map((function(n,t){return 0===t?e.createDiagnosticForNode(n,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(n,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,o([or(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a)),!0}}}var i;return!1}function NT(n){var t=e.getSourceFileOfNode(n);return xT(n)||CT(n.typeParameters,t)||function(n){for(var t=!1,r=n.length,a=0;a<r;a++){var i=n[a];if(i.dotDotDotToken){if(a!==r-1)return XT(i.dotDotDotToken,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(8388608&i.flags||DT(n,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),i.questionToken)return XT(i.questionToken,e.Diagnostics.A_rest_parameter_cannot_be_optional);if(i.initializer)return XT(i.name,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(uc(i)){if(t=!0,i.questionToken&&i.initializer)return XT(i.name,e.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(t&&!i.initializer)return XT(i.name,e.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}(n.parameters)||function(n,t){if(!e.isArrowFunction(n))return!1;var r=n.equalsGreaterThanToken,a=e.getLineAndCharacterOfPosition(t,r.pos).line,i=e.getLineAndCharacterOfPosition(t,r.end).line;return a!==i&&XT(r,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}(n,t)||e.isFunctionLikeDeclaration(n)&&IT(n)}function RT(n,t){return DT(t)||function(n,t){if(t&&0===t.length){var r=e.getSourceFileOfNode(n),a=t.pos-"<".length;return JT(r,a,e.skipTrivia(r.text,t.end)+">".length-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(n,t)}function kT(n){return function(n){if(n)for(var t=0,r=n;t<r.length;t++){var a=r[t];if(219===a.kind)return JT(a,a.pos,0,e.Diagnostics.Argument_expression_expected)}return!1}(n)}function OT(n){var t=n.types;if(DT(t))return!0;if(t&&0===t.length){var r=e.tokenToString(n.token);return JT(n,t.pos,0,e.Diagnostics._0_list_cannot_be_empty,r)}return e.some(t,PT)}function PT(e){return RT(e,e.typeArguments)}function MT(n){if(157!==n.kind)return!1;var t=n;return 213===t.expression.kind&&27===t.expression.operatorToken.kind&&XT(t.expression,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function wT(n){if(n.asteriskToken){if(e.Debug.assert(248===n.kind||205===n.kind||164===n.kind),8388608&n.flags)return XT(n.asteriskToken,e.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);if(!n.body)return XT(n.asteriskToken,e.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}function FT(e,n){return!!e&&XT(e,n)}function GT(e,n){return!!e&&XT(e,n)}function BT(n){if(QT(n))return!0;if(236===n.kind&&n.awaitModifier&&0==(32768&n.flags)){if(!qT(e.getSourceFileOfNode(n))){var t=e.createDiagnosticForNode(n.awaitModifier,e.Diagnostics.A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator),r=e.getContainingFunction(n);if(r&&165!==r.kind){e.Debug.assert(0==(2&e.getFunctionFlags(r)),"Enclosing function should never be an async function.");var a=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(t,a)}return zt.add(t),!0}return!1}if(247===n.initializer.kind){var i=n.initializer;if(!WT(i)){var o=i.declarations;if(!o.length)return!1;if(o.length>1){t=235===n.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return zT(i.declarations[1],t)}var s=o[0];if(s.initializer){var t=235===n.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return XT(s.name,t)}if(s.type)return XT(s,t=235===n.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function UT(n){if(n.parameters.length===(166===n.kind?1:2))return e.getThisParameter(n)}function VT(n,t){if(function(n){return e.isDynamicName(n)&&!Uo(n)}(n))return XT(n,t)}function jT(n){if(NT(n))return!0;if(164===n.kind){if(197===n.parent.kind){if(n.modifiers&&(1!==n.modifiers.length||129!==e.first(n.modifiers).kind))return zT(n,e.Diagnostics.Modifiers_cannot_appear_here);if(FT(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(GT(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===n.body)return JT(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(wT(n))return!0}if(e.isClassLike(n.parent)){if(8388608&n.flags)return VT(n.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(164===n.kind&&!n.body)return VT(n.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(250===n.parent.kind)return VT(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(176===n.parent.kind)return VT(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function KT(n){return e.isStringOrNumericLiteralLike(n)||211===n.kind&&40===n.operator&&8===n.operand.kind}function HT(n){var t,r=n.initializer;if(r){var a=!(KT(r)||function(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&KT(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(1024&Vh(n).flags)}(r)||109===r.kind||94===r.kind||(t=r,9===t.kind||211===t.kind&&40===t.operator&&9===t.operand.kind)),i=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(!i||n.type)return XT(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(a)return XT(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!i||a)return XT(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function WT(n){var t=n.declarations;return!!DT(n.declarations)||!n.declarations.length&&JT(n,t.pos,t.end-t.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function qT(e){return e.parseDiagnostics.length>0}function zT(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!qT(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return zt.add(e.createFileDiagnostic(o,s.start,s.length,t,r,a,i)),!0}return!1}function JT(n,t,r,a,i,o,s){var c=e.getSourceFileOfNode(n);return!qT(c)&&(zt.add(e.createFileDiagnostic(c,t,r,a,i,o,s)),!0)}function XT(n,t,r,a,i){return!qT(e.getSourceFileOfNode(n))&&(zt.add(e.createDiagnosticForNode(n,t,r,a,i)),!0)}function YT(n){return 250!==n.kind&&251!==n.kind&&258!==n.kind&&257!==n.kind&&264!==n.kind&&263!==n.kind&&256!==n.kind&&!e.hasSyntacticModifier(n,515)&&zT(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function QT(n){if(8388608&n.flags){if(!br(n).hasReportedStatementInAmbientContext&&(e.isFunctionLike(n.parent)||e.isAccessor(n.parent)))return br(n).hasReportedStatementInAmbientContext=zT(n,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(227===n.parent.kind||254===n.parent.kind||294===n.parent.kind){var t=br(n.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=zT(n,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function ZT(n){if(32&n.numericLiteralFlags){var t=void 0;if(K>=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,190)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,288)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var r=e.isPrefixUnaryExpression(n.parent)&&40===n.parent.operator,a=(r?"-":"")+"0o"+n.text;return XT(r?n.parent:n,t,a)}}return function(n){if(16&n.numericLiteralFlags||n.text.length<=15||-1!==n.text.indexOf("."))return;var t=+e.getTextOfNode(n);if(t<=Math.pow(2,53)-1&&t+1>t)return;sr(!1,e.createDiagnosticForNode(n,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(n),!1}function $T(n,t,r,a){if(1048576&t.flags&&2621440&n.flags){var i=Cs(n);if(i){var o=Zf(i,t);if(o)return rp(t,e.map(o,(function(e){return[function(){return to(e)},e.escapedName]})),r,void 0,a)}}}},function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"}(D||(D={})),e.signatureHasRestParameter=G,e.signatureHasLiteralTypes=B}(p||(p={})),function(e){var n=e.or(e.isTypeNode,e.isTypeParameterDeclaration);function t(n,t,r,a){if(void 0===n||void 0===t)return n;var i,o=t(n);return o===n?n:void 0!==o?(i=e.isArray(o)?(a||c)(o):o,e.Debug.assertNode(i,r),i):void 0}function r(n,t,r,a,i){if(void 0===n||void 0===t)return n;var o,s,c=n.length;(void 0===a||a<0)&&(a=0),(void 0===i||i>c-a)&&(i=c-a);var l=-1,u=-1;(a>0||i<c)&&(o=[],s=n.hasTrailingComma&&a+i===c);for(var d=0;d<i;d++){var p=n[d+a],f=void 0!==p?t(p):void 0;if((void 0!==o||void 0===f||f!==p)&&(void 0===o&&(o=n.slice(0,d),s=n.hasTrailingComma,l=n.pos,u=n.end),f))if(e.isArray(f))for(var m=0,_=f;m<_.length;m++){var g=_[m];e.Debug.assertNode(g,r),o.push(g)}else e.Debug.assertNode(f,r),o.push(f)}if(o){var y=e.factory.createNodeArray(o,s);return e.setTextRangePosEnd(y,l,u),y}return n}function a(n,t,a,i,o,s){return void 0===s&&(s=r),a.startLexicalEnvironment(),n=s(n,t,e.isStatement,i),o&&(n=a.factory.ensureUseStrict(n)),e.factory.mergeLexicalEnvironment(n,a.endLexicalEnvironment())}function i(n,t,a,i){var s;return void 0===i&&(i=r),a.startLexicalEnvironment(),n&&(a.setLexicalEnvironmentFlags(1,!0),s=i(n,t,e.isParameterDeclaration),2&a.getLexicalEnvironmentFlags()&&e.getEmitScriptTarget(a.getCompilerOptions())>=2&&(s=function(n,t){for(var r,a=0;a<n.length;a++){var i=n[a],s=o(i,t);(r||s!==i)&&(r||(r=n.slice(0,a)),r[a]=s)}if(r)return e.setTextRange(t.factory.createNodeArray(r,n.hasTrailingComma),n);return n}(s,a)),a.setLexicalEnvironmentFlags(1,!1)),a.suspendLexicalEnvironment(),s}function o(n,t){return n.dotDotDotToken?n:e.isBindingPattern(n.name)?function(e,n){var t=n.factory;return n.addInitializationStatement(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(e.name,void 0,e.type,e.initializer?t.createConditionalExpression(t.createStrictEquality(t.getGeneratedNameForNode(e),t.createVoidZero()),void 0,e.initializer,void 0,t.getGeneratedNameForNode(e)):t.getGeneratedNameForNode(e))]))),t.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,t.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}(n,t):n.initializer?function(n,t,r,a){var i=a.factory;return a.addInitializationStatement(i.createIfStatement(i.createTypeCheck(i.cloneNode(t),"undefined"),e.setEmitFlags(e.setTextRange(i.createBlock([i.createExpressionStatement(e.setEmitFlags(e.setTextRange(i.createAssignment(e.setEmitFlags(i.cloneNode(t),48),e.setEmitFlags(r,1584|e.getEmitFlags(r))),n),1536))]),n),1953))),i.updateParameterDeclaration(n,n.decorators,n.modifiers,n.dotDotDotToken,n.name,n.questionToken,n.type,void 0)}(n,n.name,n.initializer,t):n}function s(n,r,a,i){void 0===i&&(i=t),a.resumeLexicalEnvironment();var o=i(n,r,e.isConciseBody),s=a.endLexicalEnvironment();if(e.some(s)){if(!o)return a.factory.createBlock(s);var c=a.factory.converters.convertToFunctionBlock(o),l=e.factory.mergeLexicalEnvironment(c.statements,s);return a.factory.updateBlock(c,l)}return o}function c(n){return e.Debug.assert(n.length<=1,"Too many nodes written to output."),e.singleOrUndefined(n)}e.visitNode=t,e.visitNodes=r,e.visitLexicalEnvironment=a,e.visitParameterList=i,e.visitFunctionBody=s,e.visitEachChild=function(o,c,l,u,d,p){if(void 0===u&&(u=r),void 0===p&&(p=t),void 0!==o){var f=o.kind;if(f>0&&f<=155||186===f)return o;var m=l.factory;switch(f){case 78:return m.updateIdentifier(o,u(o.typeArguments,c,n));case 156:return m.updateQualifiedName(o,p(o.left,c,e.isEntityName),p(o.right,c,e.isIdentifier));case 157:return m.updateComputedPropertyName(o,p(o.expression,c,e.isExpression));case 158:return m.updateTypeParameterDeclaration(o,p(o.name,c,e.isIdentifier),p(o.constraint,c,e.isTypeNode),p(o.default,c,e.isTypeNode));case 159:return m.updateParameterDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.dotDotDotToken,d,e.isToken),p(o.name,c,e.isBindingName),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 160:return m.updateDecorator(o,p(o.expression,c,e.isExpression));case 161:return m.updatePropertySignature(o,u(o.modifiers,c,e.isToken),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode));case 162:return m.updatePropertyDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),p(o.questionToken||o.exclamationToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 163:return m.updateMethodSignature(o,u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 164:return m.updateMethodDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 165:return m.updateConstructorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),i(o.parameters,c,l,u),s(o.body,c,l,p));case 166:return m.updateGetAccessorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 167:return m.updateSetAccessorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),i(o.parameters,c,l,u),s(o.body,c,l,p));case 168:return m.updateCallSignature(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 169:return m.updateConstructSignature(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 170:return m.updateIndexSignature(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 171:return m.updateTypePredicateNode(o,p(o.assertsModifier,c),p(o.parameterName,c),p(o.type,c,e.isTypeNode));case 172:return m.updateTypeReferenceNode(o,p(o.typeName,c,e.isEntityName),u(o.typeArguments,c,e.isTypeNode));case 173:return m.updateFunctionTypeNode(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 174:return m.updateConstructorTypeNode(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 175:return m.updateTypeQueryNode(o,p(o.exprName,c,e.isEntityName));case 176:return m.updateTypeLiteralNode(o,u(o.members,c,e.isTypeElement));case 177:return m.updateArrayTypeNode(o,p(o.elementType,c,e.isTypeNode));case 178:return m.updateTupleTypeNode(o,u(o.elements,c,e.isTypeNode));case 179:return m.updateOptionalTypeNode(o,p(o.type,c,e.isTypeNode));case 180:return m.updateRestTypeNode(o,p(o.type,c,e.isTypeNode));case 181:return m.updateUnionTypeNode(o,u(o.types,c,e.isTypeNode));case 182:return m.updateIntersectionTypeNode(o,u(o.types,c,e.isTypeNode));case 183:return m.updateConditionalTypeNode(o,p(o.checkType,c,e.isTypeNode),p(o.extendsType,c,e.isTypeNode),p(o.trueType,c,e.isTypeNode),p(o.falseType,c,e.isTypeNode));case 184:return m.updateInferTypeNode(o,p(o.typeParameter,c,e.isTypeParameterDeclaration));case 192:return m.updateImportTypeNode(o,p(o.argument,c,e.isTypeNode),p(o.qualifier,c,e.isEntityName),r(o.typeArguments,c,e.isTypeNode),o.isTypeOf);case 191:return m.updateNamedTupleMember(o,t(o.dotDotDotToken,c,e.isToken),t(o.name,c,e.isIdentifier),t(o.questionToken,c,e.isToken),t(o.type,c,e.isTypeNode));case 185:return m.updateParenthesizedType(o,p(o.type,c,e.isTypeNode));case 187:return m.updateTypeOperatorNode(o,p(o.type,c,e.isTypeNode));case 188:return m.updateIndexedAccessTypeNode(o,p(o.objectType,c,e.isTypeNode),p(o.indexType,c,e.isTypeNode));case 189:return m.updateMappedTypeNode(o,p(o.readonlyToken,d,e.isToken),p(o.typeParameter,c,e.isTypeParameterDeclaration),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode));case 190:return m.updateLiteralTypeNode(o,p(o.literal,c,e.isExpression));case 193:return m.updateObjectBindingPattern(o,u(o.elements,c,e.isBindingElement));case 194:return m.updateArrayBindingPattern(o,u(o.elements,c,e.isArrayBindingElement));case 195:return m.updateBindingElement(o,p(o.dotDotDotToken,d,e.isToken),p(o.propertyName,c,e.isPropertyName),p(o.name,c,e.isBindingName),p(o.initializer,c,e.isExpression));case 196:return m.updateArrayLiteralExpression(o,u(o.elements,c,e.isExpression));case 197:return m.updateObjectLiteralExpression(o,u(o.properties,c,e.isObjectLiteralElementLike));case 198:return 32&o.flags?m.updatePropertyAccessChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),p(o.name,c,e.isIdentifier)):m.updatePropertyAccessExpression(o,p(o.expression,c,e.isExpression),p(o.name,c,e.isIdentifierOrPrivateIdentifier));case 199:return 32&o.flags?m.updateElementAccessChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),p(o.argumentExpression,c,e.isExpression)):m.updateElementAccessExpression(o,p(o.expression,c,e.isExpression),p(o.argumentExpression,c,e.isExpression));case 200:return 32&o.flags?m.updateCallChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression)):m.updateCallExpression(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression));case 201:return m.updateNewExpression(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression));case 202:return m.updateTaggedTemplateExpression(o,p(o.tag,c,e.isExpression),r(o.typeArguments,c,e.isExpression),p(o.template,c,e.isTemplateLiteral));case 203:return m.updateTypeAssertion(o,p(o.type,c,e.isTypeNode),p(o.expression,c,e.isExpression));case 204:return m.updateParenthesizedExpression(o,p(o.expression,c,e.isExpression));case 205:return m.updateFunctionExpression(o,u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 206:return m.updateArrowFunction(o,u(o.modifiers,c,e.isModifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),p(o.equalsGreaterThanToken,d,e.isToken),s(o.body,c,l,p));case 207:return m.updateDeleteExpression(o,p(o.expression,c,e.isExpression));case 208:return m.updateTypeOfExpression(o,p(o.expression,c,e.isExpression));case 209:return m.updateVoidExpression(o,p(o.expression,c,e.isExpression));case 210:return m.updateAwaitExpression(o,p(o.expression,c,e.isExpression));case 211:return m.updatePrefixUnaryExpression(o,p(o.operand,c,e.isExpression));case 212:return m.updatePostfixUnaryExpression(o,p(o.operand,c,e.isExpression));case 213:return m.updateBinaryExpression(o,p(o.left,c,e.isExpression),p(o.operatorToken,d,e.isToken),p(o.right,c,e.isExpression));case 214:return m.updateConditionalExpression(o,p(o.condition,c,e.isExpression),p(o.questionToken,d,e.isToken),p(o.whenTrue,c,e.isExpression),p(o.colonToken,d,e.isToken),p(o.whenFalse,c,e.isExpression));case 215:return m.updateTemplateExpression(o,p(o.head,c,e.isTemplateHead),u(o.templateSpans,c,e.isTemplateSpan));case 216:return m.updateYieldExpression(o,p(o.asteriskToken,d,e.isToken),p(o.expression,c,e.isExpression));case 217:return m.updateSpreadElement(o,p(o.expression,c,e.isExpression));case 218:return m.updateClassExpression(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 220:return m.updateExpressionWithTypeArguments(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode));case 221:return m.updateAsExpression(o,p(o.expression,c,e.isExpression),p(o.type,c,e.isTypeNode));case 222:return 32&o.flags?m.updateNonNullChain(o,p(o.expression,c,e.isExpression)):m.updateNonNullExpression(o,p(o.expression,c,e.isExpression));case 223:return m.updateMetaProperty(o,p(o.name,c,e.isIdentifier));case 225:return m.updateTemplateSpan(o,p(o.expression,c,e.isExpression),p(o.literal,c,e.isTemplateMiddleOrTemplateTail));case 227:return m.updateBlock(o,u(o.statements,c,e.isStatement));case 229:return m.updateVariableStatement(o,u(o.modifiers,c,e.isModifier),p(o.declarationList,c,e.isVariableDeclarationList));case 230:return m.updateExpressionStatement(o,p(o.expression,c,e.isExpression));case 231:return m.updateIfStatement(o,p(o.expression,c,e.isExpression),p(o.thenStatement,c,e.isStatement,m.liftToBlock),p(o.elseStatement,c,e.isStatement,m.liftToBlock));case 232:return m.updateDoStatement(o,p(o.statement,c,e.isStatement,m.liftToBlock),p(o.expression,c,e.isExpression));case 233:return m.updateWhileStatement(o,p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 234:return m.updateForStatement(o,p(o.initializer,c,e.isForInitializer),p(o.condition,c,e.isExpression),p(o.incrementor,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 235:return m.updateForInStatement(o,p(o.initializer,c,e.isForInitializer),p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 236:return m.updateForOfStatement(o,p(o.awaitModifier,d,e.isToken),p(o.initializer,c,e.isForInitializer),p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 237:return m.updateContinueStatement(o,p(o.label,c,e.isIdentifier));case 238:return m.updateBreakStatement(o,p(o.label,c,e.isIdentifier));case 239:return m.updateReturnStatement(o,p(o.expression,c,e.isExpression));case 240:return m.updateWithStatement(o,p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 241:return m.updateSwitchStatement(o,p(o.expression,c,e.isExpression),p(o.caseBlock,c,e.isCaseBlock));case 242:return m.updateLabeledStatement(o,p(o.label,c,e.isIdentifier),p(o.statement,c,e.isStatement,m.liftToBlock));case 243:return m.updateThrowStatement(o,p(o.expression,c,e.isExpression));case 244:return m.updateTryStatement(o,p(o.tryBlock,c,e.isBlock),p(o.catchClause,c,e.isCatchClause),p(o.finallyBlock,c,e.isBlock));case 246:return m.updateVariableDeclaration(o,p(o.name,c,e.isBindingName),p(o.exclamationToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 247:return m.updateVariableDeclarationList(o,u(o.declarations,c,e.isVariableDeclaration));case 248:return m.updateFunctionDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),i(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 249:return m.updateClassDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 250:return m.updateInterfaceDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isTypeElement));case 251:return m.updateTypeAliasDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),p(o.type,c,e.isTypeNode));case 252:return m.updateEnumDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.members,c,e.isEnumMember));case 253:return m.updateModuleDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),p(o.body,c,e.isModuleBody));case 254:return m.updateModuleBlock(o,u(o.statements,c,e.isStatement));case 255:return m.updateCaseBlock(o,u(o.clauses,c,e.isCaseOrDefaultClause));case 256:return m.updateNamespaceExportDeclaration(o,p(o.name,c,e.isIdentifier));case 257:return m.updateImportEqualsDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),p(o.moduleReference,c,e.isModuleReference));case 258:return m.updateImportDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.importClause,c,e.isImportClause),p(o.moduleSpecifier,c,e.isExpression));case 259:return m.updateImportClause(o,o.isTypeOnly,p(o.name,c,e.isIdentifier),p(o.namedBindings,c,e.isNamedImportBindings));case 260:return m.updateNamespaceImport(o,p(o.name,c,e.isIdentifier));case 266:return m.updateNamespaceExport(o,p(o.name,c,e.isIdentifier));case 261:return m.updateNamedImports(o,u(o.elements,c,e.isImportSpecifier));case 262:return m.updateImportSpecifier(o,p(o.propertyName,c,e.isIdentifier),p(o.name,c,e.isIdentifier));case 263:return m.updateExportAssignment(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.expression,c,e.isExpression));case 264:return m.updateExportDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),o.isTypeOnly,p(o.exportClause,c,e.isNamedExportBindings),p(o.moduleSpecifier,c,e.isExpression));case 265:return m.updateNamedExports(o,u(o.elements,c,e.isExportSpecifier));case 267:return m.updateExportSpecifier(o,p(o.propertyName,c,e.isIdentifier),p(o.name,c,e.isIdentifier));case 269:return m.updateExternalModuleReference(o,p(o.expression,c,e.isExpression));case 270:return m.updateJsxElement(o,p(o.openingElement,c,e.isJsxOpeningElement),u(o.children,c,e.isJsxChild),p(o.closingElement,c,e.isJsxClosingElement));case 271:return m.updateJsxSelfClosingElement(o,p(o.tagName,c,e.isJsxTagNameExpression),u(o.typeArguments,c,e.isTypeNode),p(o.attributes,c,e.isJsxAttributes));case 272:return m.updateJsxOpeningElement(o,p(o.tagName,c,e.isJsxTagNameExpression),u(o.typeArguments,c,e.isTypeNode),p(o.attributes,c,e.isJsxAttributes));case 273:return m.updateJsxClosingElement(o,p(o.tagName,c,e.isJsxTagNameExpression));case 274:return m.updateJsxFragment(o,p(o.openingFragment,c,e.isJsxOpeningFragment),u(o.children,c,e.isJsxChild),p(o.closingFragment,c,e.isJsxClosingFragment));case 277:return m.updateJsxAttribute(o,p(o.name,c,e.isIdentifier),p(o.initializer,c,e.isStringLiteralOrJsxExpression));case 278:return m.updateJsxAttributes(o,u(o.properties,c,e.isJsxAttributeLike));case 279:return m.updateJsxSpreadAttribute(o,p(o.expression,c,e.isExpression));case 280:return m.updateJsxExpression(o,p(o.expression,c,e.isExpression));case 281:return m.updateCaseClause(o,p(o.expression,c,e.isExpression),u(o.statements,c,e.isStatement));case 282:return m.updateDefaultClause(o,u(o.statements,c,e.isStatement));case 283:return m.updateHeritageClause(o,u(o.types,c,e.isExpressionWithTypeArguments));case 284:return m.updateCatchClause(o,p(o.variableDeclaration,c,e.isVariableDeclaration),p(o.block,c,e.isBlock));case 285:return m.updatePropertyAssignment(o,p(o.name,c,e.isPropertyName),p(o.initializer,c,e.isExpression));case 286:return m.updateShorthandPropertyAssignment(o,p(o.name,c,e.isIdentifier),p(o.objectAssignmentInitializer,c,e.isExpression));case 287:return m.updateSpreadAssignment(o,p(o.expression,c,e.isExpression));case 288:return m.updateEnumMember(o,p(o.name,c,e.isPropertyName),p(o.initializer,c,e.isExpression));case 294:return m.updateSourceFile(o,a(o.statements,c,l));case 331:return m.updatePartiallyEmittedExpression(o,p(o.expression,c,e.isExpression));case 332:return m.updateCommaListExpression(o,u(o.elements,c,e.isExpression));default:return o}}}}(p||(p={})),function(e){e.createSourceMapGenerator=function(n,t,r,a,o){var c,l,u=o.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,d=u.enter,p=u.exit,f=[],m=[],_=new e.Map,g=[],y="",h=0,v=0,b=0,E=0,T=0,S=0,L=!1,x=0,A=0,D=0,C=0,I=0,N=0,R=!1,k=!1,O=!1;return{getSources:function(){return f},addSource:P,setSourceContent:M,addName:w,addMapping:F,appendSourceMap:function(n,t,r,a,o,s){e.Debug.assert(n>=x,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),d();for(var c,l=[],u=i(r.mappings),f=u.next();!f.done;f=u.next()){var m=f.value;if(s&&(m.generatedLine>s.line||m.generatedLine===s.line&&m.generatedCharacter>s.character))break;if(!o||!(m.generatedLine<o.line||o.line===m.generatedLine&&m.generatedCharacter<o.character)){var _=void 0,g=void 0,y=void 0,h=void 0;if(void 0!==m.sourceIndex){if(void 0===(_=l[m.sourceIndex])){var v=r.sources[m.sourceIndex],b=r.sourceRoot?e.combinePaths(r.sourceRoot,v):v,E=e.combinePaths(e.getDirectoryPath(a),b);l[m.sourceIndex]=_=P(E),r.sourcesContent&&"string"==typeof r.sourcesContent[m.sourceIndex]&&M(_,r.sourcesContent[m.sourceIndex])}g=m.sourceLine,y=m.sourceCharacter,r.names&&void 0!==m.nameIndex&&(c||(c=[]),void 0===(h=c[m.nameIndex])&&(c[m.nameIndex]=h=w(r.names[m.nameIndex])))}var T=m.generatedLine-(o?o.line:0),S=T+n,L=o&&o.line===m.generatedLine?m.generatedCharacter-o.character:m.generatedCharacter;F(S,0===T?L+t:L,_,g,y,h)}}p()},toJSON:B,toString:function(){return JSON.stringify(B())}};function P(t){d();var r=e.getRelativePathToDirectoryOrUrl(a,t,n.getCurrentDirectory(),n.getCanonicalFileName,!0),i=_.get(r);return void 0===i&&(i=m.length,m.push(r),f.push(t),_.set(r,i)),p(),i}function M(e,n){if(d(),null!==n){for(c||(c=[]);c.length<e;)c.push(null);c[e]=n}p()}function w(n){d(),l||(l=new e.Map);var t=l.get(n);return void 0===t&&(t=g.length,g.push(n),l.set(n,t)),p(),t}function F(n,t,r,a,i,o){e.Debug.assert(n>=x,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===r||r>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),d(),(function(e,n){return!R||x!==e||A!==n}(n,t)||function(e,n,t){return void 0!==e&&void 0!==n&&void 0!==t&&D===e&&(C>n||C===n&&I>t)}(r,a,i))&&(G(),x=n,A=t,k=!1,O=!1,R=!0),void 0!==r&&void 0!==a&&void 0!==i&&(D=r,C=a,I=i,k=!0,void 0!==o&&(N=o,O=!0)),p()}function G(){if(R&&(!L||h!==x||v!==A||b!==D||E!==C||T!==I||S!==N)){if(d(),h<x)do{y+=";",h++,v=0}while(h<x);else e.Debug.assertEqual(h,x,"generatedLine cannot backtrack"),L&&(y+=",");y+=s(A-v),v=A,k&&(y+=s(D-b),b=D,y+=s(C-E),E=C,y+=s(I-T),T=I,O&&(y+=s(N-S),S=N)),L=!0,p()}}function B(){return G(),{version:3,file:t,sourceRoot:r,sources:m,names:g,mappings:y,sourcesContent:c}}};var n=/^\/\/[@#] source[M]appingURL=(.+)\s*$/,t=/^\s*(\/\/[@#] .*)?$/;function r(e){return"string"==typeof e||null===e}function a(n){return null!==n&&"object"==typeof n&&3===n.version&&"string"==typeof n.file&&"string"==typeof n.mappings&&e.isArray(n.sources)&&e.every(n.sources,e.isString)&&(void 0===n.sourceRoot||null===n.sourceRoot||"string"==typeof n.sourceRoot)&&(void 0===n.sourcesContent||null===n.sourcesContent||e.isArray(n.sourcesContent)&&e.every(n.sourcesContent,r))&&(void 0===n.names||null===n.names||e.isArray(n.names)&&e.every(n.names,e.isString))}function i(e){var n,t=!1,r=0,a=0,i=0,o=0,s=0,c=0,l=0;return{get pos(){return r},get error(){return n},get state(){return u(!0,!0)},next:function(){for(;!t&&r<e.length;){var n=e.charCodeAt(r);if(59!==n){if(44!==n){var p=!1,y=!1;if(i+=g(),m())return d();if(i<0)return f("Invalid generatedCharacter found");if(!_()){if(p=!0,o+=g(),m())return d();if(o<0)return f("Invalid sourceIndex found");if(_())return f("Unsupported Format: No entries after sourceIndex");if(s+=g(),m())return d();if(s<0)return f("Invalid sourceLine found");if(_())return f("Unsupported Format: No entries after sourceLine");if(c+=g(),m())return d();if(c<0)return f("Invalid sourceCharacter found");if(!_()){if(y=!0,l+=g(),m())return d();if(l<0)return f("Invalid nameIndex found");if(!_())return f("Unsupported Error Format: Entries after nameIndex")}}return{value:u(p,y),done:t}}r++}else a++,i=0,r++}return d()}};function u(e,n){return{generatedLine:a,generatedCharacter:i,sourceIndex:e?o:void 0,sourceLine:e?s:void 0,sourceCharacter:e?c:void 0,nameIndex:n?l:void 0}}function d(){return t=!0,{value:void 0,done:!0}}function p(e){void 0===n&&(n=e)}function f(e){return p(e),d()}function m(){return void 0!==n}function _(){return r===e.length||44===e.charCodeAt(r)||59===e.charCodeAt(r)}function g(){for(var n,t=!0,a=0,i=0;t;r++){if(r>=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(n=e.charCodeAt(r))>=65&&n<=90?n-65:n>=97&&n<=122?n-97+26:n>=48&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1===o)return p("Invalid character in VLQ"),-1;t=0!=(32&o),i|=(31&o)<<a,a+=5}return 0==(1&i)?i>>=1:i=-(i>>=1),i}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(n){n<0?n=1+(-n<<1):n<<=1;var t,r="";do{var a=31&n;(n>>=5)>0&&(a|=32),r+=String.fromCharCode((t=a)>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:e.Debug.fail(t+": not a base64 value"))}while(n>0);return r}function c(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function l(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function u(n,t){return e.Debug.assert(n.sourceIndex===t.sourceIndex),e.compareValues(n.sourcePosition,t.sourcePosition)}function d(n,t){return e.compareValues(n.generatedPosition,t.generatedPosition)}function p(e){return e.sourcePosition}function f(e){return e.generatedPosition}e.getLineInfo=function(e,n){return{getLineCount:function(){return n.length},getLineText:function(t){return e.substring(n[t],n[t+1])}}},e.tryGetSourceMappingURL=function(e){for(var r=e.getLineCount()-1;r>=0;r--){var a=e.getLineText(r),i=n.exec(a);if(i)return i[1];if(!a.match(t))break}},e.isRawSourceMap=a,e.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(a(n))return n}catch(e){}},e.decodeMappings=i,e.sameMapping=function(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(n,t,r){var a,s,m,_=e.getDirectoryPath(r),g=t.sourceRoot?e.getNormalizedAbsolutePath(t.sourceRoot,_):_,y=e.getNormalizedAbsolutePath(t.file,_),h=n.getSourceFileLike(y),v=t.sources.map((function(n){return e.getNormalizedAbsolutePath(n,g)})),b=new e.Map(v.map((function(e,t){return[n.getCanonicalFileName(e),t]})));return{getSourcePosition:function(n){var t=L();if(!e.some(t))return n;var r=e.binarySearchKey(t,n.pos,f,e.compareValues);r<0&&(r=~r);var a=t[r];if(void 0===a||!c(a))return n;return{fileName:v[a.sourceIndex],pos:a.sourcePosition}},getGeneratedPosition:function(t){var r=b.get(n.getCanonicalFileName(t.fileName));if(void 0===r)return t;var a=S(r);if(!e.some(a))return t;var i=e.binarySearchKey(a,t.pos,p,e.compareValues);i<0&&(i=~i);var o=a[i];if(void 0===o||o.sourceIndex!==r)return t;return{fileName:y,pos:o.generatedPosition}}};function E(r){var a,i,s=void 0!==h?e.getPositionOfLineAndCharacter(h,r.generatedLine,r.generatedCharacter,!0):-1;if(o(r)){var c=n.getSourceFileLike(v[r.sourceIndex]);a=t.sources[r.sourceIndex],i=void 0!==c?e.getPositionOfLineAndCharacter(c,r.sourceLine,r.sourceCharacter,!0):-1}return{generatedPosition:s,source:a,sourceIndex:r.sourceIndex,sourcePosition:i,nameIndex:r.nameIndex}}function T(){if(void 0===a){var r=i(t.mappings),o=e.arrayFrom(r,E);void 0!==r.error?(n.log&&n.log("Encountered error while decoding sourcemap: "+r.error),a=e.emptyArray):a=o}return a}function S(n){if(void 0===m){for(var t=[],r=0,a=T();r<a.length;r++){var i=a[r];if(c(i)){var o=t[i.sourceIndex];o||(t[i.sourceIndex]=o=[]),o.push(i)}}m=t.map((function(n){return e.sortAndDeduplicate(n,u,l)}))}return m[n]}function L(){if(void 0===s){for(var n=[],t=0,r=T();t<r.length;t++){var a=r[t];n.push(a)}s=e.sortAndDeduplicate(n,d,l)}return s}},e.identitySourceMapConsumer={getSourcePosition:e.identity,getGeneratedPosition:e.identity}}(p||(p={})),function(e){function n(n){return(n=e.getOriginalNode(n))?e.getNodeId(n):0}function t(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function r(n){if(e.getNamespaceDeclarationNode(n))return!0;var r=n.importClause&&n.importClause.namedBindings;if(!r)return!1;if(!e.isNamedImports(r))return!1;for(var a=0,i=0,o=r.elements;i<o.length;i++){t(o[i])&&a++}return a>0&&a!==r.elements.length||!!(r.elements.length-a)&&e.isDefaultImport(n)}function a(n){return!r(n)&&(e.isDefaultImport(n)||!!n.importClause&&e.isNamedImports(n.importClause.namedBindings)&&function(n){return!!n&&(!!e.isNamedImports(n)&&e.some(n.elements,t))}(n.importClause.namedBindings))}function i(n,t,r){if(e.isBindingPattern(n.name))for(var a=0,o=n.name.elements;a<o.length;a++){var s=o[a];e.isOmittedExpression(s)||(r=i(s,t,r))}else if(!e.isGeneratedIdentifier(n.name)){var c=e.idText(n.name);t.get(c)||(t.set(c,!0),r=e.append(r,n.name))}return r}function o(e,n,t){var r=e[n];return r?r.push(t):e[n]=r=[t],r}function s(n){return e.isStringLiteralLike(n)||8===n.kind||e.isKeyword(n.kind)||e.isIdentifier(n)}e.getOriginalNodeId=n,e.chainBundle=function(n,t){return function(r){return 294===r.kind?t(r):function(r){return n.factory.createBundle(e.map(r.sourceFiles,t),r.prepends)}(r)}},e.getExportNeedsImportStarHelper=function(n){return!!e.getNamespaceDeclarationNode(n)},e.getImportNeedsImportStarHelper=r,e.getImportNeedsImportDefaultHelper=a,e.collectExternalModuleInfo=function(t,s,c,l){for(var u,d,p=[],f=e.createMultiMap(),m=[],_=new e.Map,g=!1,y=!1,h=!1,v=!1,b=0,E=s.statements;b<E.length;b++){var T=E[b];switch(T.kind){case 258:p.push(T),!h&&r(T)&&(h=!0),!v&&a(T)&&(v=!0);break;case 257:269===T.moduleReference.kind&&p.push(T);break;case 264:if(T.moduleSpecifier)if(T.exportClause)if(p.push(T),e.isNamedExports(T.exportClause))C(T);else{var S=T.exportClause.name;_.get(e.idText(S))||(o(m,n(T),S),_.set(e.idText(S),!0),u=e.append(u,S)),h=!0}else p.push(T),y=!0;else C(T);break;case 263:T.isExportEquals&&!d&&(d=T);break;case 229:if(e.hasSyntacticModifier(T,1))for(var L=0,x=T.declarationList.declarations;L<x.length;L++){var A=x[L];u=i(A,_,u)}break;case 248:if(e.hasSyntacticModifier(T,1))if(e.hasSyntacticModifier(T,512))g||(o(m,n(T),t.factory.getDeclarationName(T)),g=!0);else{S=T.name;_.get(e.idText(S))||(o(m,n(T),S),_.set(e.idText(S),!0),u=e.append(u,S))}break;case 249:if(e.hasSyntacticModifier(T,1))if(e.hasSyntacticModifier(T,512))g||(o(m,n(T),t.factory.getDeclarationName(T)),g=!0);else(S=T.name)&&!_.get(e.idText(S))&&(o(m,n(T),S),_.set(e.idText(S),!0),u=e.append(u,S))}}var D=e.createExternalHelpersImportDeclarationIfNeeded(t.factory,t.getEmitHelperFactory(),s,l,y,h,v);return D&&p.unshift(D),{externalImports:p,exportSpecifiers:f,exportEquals:d,hasExportStarsToExportValues:y,exportedBindings:m,exportedNames:u,externalHelpersImportDeclaration:D};function C(t){for(var r=0,a=e.cast(t.exportClause,e.isNamedExports).elements;r<a.length;r++){var i=a[r];if(!_.get(e.idText(i.name))){var s=i.propertyName||i.name;t.moduleSpecifier||f.add(e.idText(s),i);var l=c.getReferencedImportDeclaration(s)||c.getReferencedValueDeclaration(s);l&&o(m,n(l),i.name),_.set(e.idText(i.name),!0),u=e.append(u,i.name)}}}},e.isSimpleCopiableExpression=s,e.isSimpleInlineableExpression=function(n){return!e.isIdentifier(n)&&s(n)||e.isWellKnownSymbolSyntactically(n)},e.isCompoundAssignment=function(e){return e>=63&&e<=77},e.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 77:return 52;case 74:return 56;case 75:return 55;case 76:return 60}},e.addPrologueDirectivesAndInitialSuperCall=function(n,t,r,a){if(t.body){var i=t.body.statements,o=n.copyPrologue(i,r,!1,a);if(o===i.length)return o;var s=e.findIndex(i,(function(n){return e.isExpressionStatement(n)&&e.isSuperCall(n.expression)}),o);if(s>-1){for(var c=o;c<=s;c++)r.push(e.visitNode(i[c],a,e.isStatement));return s+1}return o}return 0},e.getProperties=function(n,t,r){return e.filter(n.members,(function(n){return function(n,t,r){return e.isPropertyDeclaration(n)&&(!!n.initializer||!t)&&e.hasStaticModifier(n)===r}(n,t,r)}))},e.isInitializedProperty=function(e){return 162===e.kind&&void 0!==e.initializer}}(p||(p={})),function(e){function n(t,r){var a=e.getTargetOfBindingOrAssignmentElement(t);return e.isBindingOrAssignmentPattern(a)?function(t,r){for(var a=e.getElementsOfBindingOrAssignmentPattern(t),i=0,o=a;i<o.length;i++){if(n(o[i],r))return!0}return!1}(a,r):!!e.isIdentifier(a)&&a.escapedText===r}function t(n){var r=e.tryGetPropertyNameOfBindingOrAssignmentElement(n);if(r&&e.isComputedPropertyName(r)&&!e.isLiteralExpression(r.expression))return!0;var a,i=e.getTargetOfBindingOrAssignmentElement(n);return!!i&&e.isBindingOrAssignmentPattern(i)&&(a=i,!!e.forEach(e.getElementsOfBindingOrAssignmentPattern(a),t))}function r(n,t,o,s,c){if(!c){var l=e.visitNode(e.getInitializerOfBindingOrAssignmentElement(t),n.visitor,e.isExpression);l?o=o?function(e,n,t,r){return n=i(e,n,!0,r),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(n,"undefined"),void 0,t,void 0,n)}(n,o,l,s):l:o||(o=n.context.factory.createVoidZero())}var u=e.getTargetOfBindingOrAssignmentElement(t);e.isObjectBindingOrAssignmentPattern(u)?function(n,t,o,s,c){var l,u,d=e.getElementsOfBindingOrAssignmentPattern(o),p=d.length;if(1!==p){var f=!e.isDeclarationBindingElement(t)||0!==p;s=i(n,s,f,c)}for(var m=0;m<p;m++){var _=d[m];if(e.getRestIndicatorOfBindingOrAssignmentElement(_)){if(m===p-1){l&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),s,c,o),l=void 0);y=n.context.getEmitHelperFactory().createRestHelper(s,d,u,o);r(n,_,y,_)}}else{var g=e.getPropertyNameOfBindingOrAssignmentElement(_);if(!(n.level>=1)||24576&_.transformFlags||24576&e.getTargetOfBindingOrAssignmentElement(_).transformFlags||e.isComputedPropertyName(g)){l&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),s,c,o),l=void 0);var y=a(n,s,g);e.isComputedPropertyName(g)&&(u=e.append(u,y.argumentExpression)),r(n,_,y,_)}else l=e.append(l,e.visitNode(_,n.visitor))}}l&&n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),s,c,o)}(n,t,u,o,s):e.isArrayBindingOrAssignmentPattern(u)?function(n,t,a,o,s){var c,l,u=e.getElementsOfBindingOrAssignmentPattern(a),d=u.length;if(n.level<1&&n.downlevelIteration)o=i(n,e.setTextRange(n.context.getEmitHelperFactory().createReadHelper(o,d>0&&e.getRestIndicatorOfBindingOrAssignmentElement(u[d-1])?void 0:d),s),!1,s);else if(1!==d&&(n.level<1||0===d)||e.every(u,e.isOmittedExpression)){var p=!e.isDeclarationBindingElement(t)||0!==d;o=i(n,o,p,s)}for(var f=0;f<d;f++){var m=u[f];if(n.level>=1)if(16384&m.transformFlags){var _=n.context.factory.createTempVariable(void 0);n.hoistTempVariables&&n.context.hoistVariableDeclaration(_),l=e.append(l,[_,m]),c=e.append(c,n.createArrayBindingOrAssignmentElement(_))}else c=e.append(c,m);else{if(e.isOmittedExpression(m))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(m)){if(f===d-1){g=n.context.factory.createArraySliceCall(o,f);r(n,m,g,m)}}else{var g=n.context.factory.createElementAccessExpression(o,f);r(n,m,g,m)}}}c&&n.emitBindingOrAssignment(n.createArrayBindingOrAssignmentPattern(c),o,s,a);if(l)for(var y=0,h=l;y<h.length;y++){var v=h[y],b=v[0];m=v[1];r(n,m,b,m)}}(n,t,u,o,s):n.emitBindingOrAssignment(u,o,s,t)}function a(n,t,r){if(e.isComputedPropertyName(r)){var a=i(n,e.visitNode(r.expression,n.visitor),!1,r);return n.context.factory.createElementAccessExpression(t,a)}if(e.isStringOrNumericLiteralLike(r)){a=e.factory.cloneNode(r);return n.context.factory.createElementAccessExpression(t,a)}var o=n.context.factory.createIdentifier(e.idText(r));return n.context.factory.createPropertyAccessExpression(t,o)}function i(n,t,r,a){if(e.isIdentifier(t)&&r)return t;var i=n.context.factory.createTempVariable(void 0);return n.hoistTempVariables?(n.context.hoistVariableDeclaration(i),n.emitExpression(e.setTextRange(n.context.factory.createAssignment(i,t),a))):n.emitBindingOrAssignment(i,t,a,void 0),i}function o(e){return e}!function(e){e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest"}(e.FlattenLevel||(e.FlattenLevel={})),e.flattenDestructuringAssignment=function(a,s,c,l,u,d){var p,f,m=a;if(e.isDestructuringAssignment(a))for(p=a.right;e.isEmptyArrayLiteral(a.left)||e.isEmptyObjectLiteral(a.left);){if(!e.isDestructuringAssignment(p))return e.visitNode(p,s,e.isExpression);m=a=p,p=a.right}var _={context:c,level:l,downlevelIteration:!!c.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:g,emitBindingOrAssignment:function(n,t,r,a){e.Debug.assertNode(n,d?e.isIdentifier:e.isExpression);var i=d?d(n,t,r):e.setTextRange(c.factory.createAssignment(e.visitNode(n,s,e.isExpression),t),r);i.original=a,g(i)},createArrayBindingOrAssignmentPattern:function(n){return function(n,t){return n.createArrayLiteralExpression(e.map(t,n.converters.convertToArrayAssignmentElement))}(c.factory,n)},createObjectBindingOrAssignmentPattern:function(n){return function(n,t){return n.createObjectLiteralExpression(e.map(t,n.converters.convertToObjectAssignmentElement))}(c.factory,n)},createArrayBindingOrAssignmentElement:o,visitor:s};if(p&&(p=e.visitNode(p,s,e.isExpression),e.isIdentifier(p)&&n(a,p.escapedText)||t(a)?p=i(_,p,!1,m):u?p=i(_,p,!0,m):e.nodeIsSynthesized(a)&&(m=p)),r(_,a,p,m,e.isDestructuringAssignment(a)),p&&u){if(!e.some(f))return p;f.push(p)}return c.factory.inlineExpressions(f)||c.factory.createOmittedExpression();function g(n){f=e.append(f,n)}},e.flattenDestructuringBinding=function(a,o,s,c,l,u,d){var p;void 0===u&&(u=!1);var f=[],m=[],_={context:s,level:c,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:u,emitExpression:function(n){p=e.append(p,n)},emitBindingOrAssignment:C,createArrayBindingOrAssignmentPattern:function(n){return function(n,t){return e.Debug.assertEachNode(t,e.isArrayBindingElement),n.createArrayBindingPattern(t)}(s.factory,n)},createObjectBindingOrAssignmentPattern:function(n){return function(n,t){return e.Debug.assertEachNode(t,e.isBindingElement),n.createObjectBindingPattern(t)}(s.factory,n)},createArrayBindingOrAssignmentElement:function(e){return function(e,n){return e.createBindingElement(void 0,void 0,n)}(s.factory,e)},visitor:o};if(e.isVariableDeclaration(a)){var g=e.getInitializerOfBindingOrAssignmentElement(a);g&&(e.isIdentifier(g)&&n(a,g.escapedText)||t(a))&&(g=i(_,g,!1,g),a=s.factory.updateVariableDeclaration(a,a.name,void 0,void 0,g))}if(r(_,a,l,a,d),p){var y=s.factory.createTempVariable(void 0);if(u){var h=s.factory.inlineExpressions(p);p=void 0,C(y,h,void 0,void 0)}else{s.hoistVariableDeclaration(y);var v=e.last(f);v.pendingExpressions=e.append(v.pendingExpressions,s.factory.createAssignment(y,v.value)),e.addRange(v.pendingExpressions,p),v.value=y}}for(var b=0,E=f;b<E.length;b++){var T=E[b],S=T.pendingExpressions,L=T.name,x=(h=T.value,T.location),A=T.original,D=s.factory.createVariableDeclaration(L,void 0,void 0,S?s.factory.inlineExpressions(e.append(S,h)):h);D.original=A,e.setTextRange(D,x),m.push(D)}return m;function C(n,t,r,a){e.Debug.assertNode(n,e.isBindingName),p&&(t=s.factory.inlineExpressions(e.append(p,t)),p=void 0),f.push({pendingExpressions:p,name:n,value:t,location:r,original:a})}}}(p||(p={})),function(e){var n;function t(n){return n.templateFlags?e.factory.createVoidZero():e.factory.createStringLiteral(n.text)}function r(n,t){var r=n.rawText;if(void 0===r){r=e.getSourceTextOfNodeFromSourceFile(t,n);var a=14===n.kind||17===n.kind;r=r.substring(1,r.length-(a?1:2))}return r=r.replace(/\r\n?/g,"\n"),e.setTextRange(e.factory.createStringLiteral(r),n)}!function(e){e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All"}(n=e.ProcessLevel||(e.ProcessLevel={})),e.processTaggedTemplateExpression=function(a,i,o,s,c,l){var u=e.visitNode(i.tag,o,e.isExpression),d=[void 0],p=[],f=[],m=i.template;if(l===n.LiftRestriction&&!e.hasInvalidEscape(m))return e.visitEachChild(i,o,a);if(e.isNoSubstitutionTemplateLiteral(m))p.push(t(m)),f.push(r(m,s));else{p.push(t(m.head)),f.push(r(m.head,s));for(var _=0,g=m.templateSpans;_<g.length;_++){var y=g[_];p.push(t(y.literal)),f.push(r(y.literal,s)),d.push(e.visitNode(y.expression,o,e.isExpression))}}var h=a.getEmitHelperFactory().createTemplateObjectHelper(e.factory.createArrayLiteralExpression(p),e.factory.createArrayLiteralExpression(f));if(e.isExternalModule(s)){var v=e.factory.createUniqueName("templateObject");c(v),d[0]=e.factory.createLogicalOr(v,e.factory.createAssignment(v,h))}else d[0]=h;return e.factory.createCallExpression(u,void 0,d)}}(p||(p={})),function(e){var n,t;!function(e){e[e.ClassAliases=1]="ClassAliases",e[e.NamespaceExports=2]="NamespaceExports",e[e.NonQualifiedEnumMembers=8]="NonQualifiedEnumMembers"}(n||(n={})),function(e){e[e.None=0]="None",e[e.HasStaticInitializedProperties=1]="HasStaticInitializedProperties",e[e.HasConstructorDecorators=2]="HasConstructorDecorators",e[e.HasMemberDecorators=4]="HasMemberDecorators",e[e.IsExportOfNamespace=8]="IsExportOfNamespace",e[e.IsNamedExternalExport=16]="IsNamedExternalExport",e[e.IsDefaultExternalExport=32]="IsDefaultExternalExport",e[e.IsDerivedClass=64]="IsDerivedClass",e[e.UseImmediatelyInvokedFunctionExpression=128]="UseImmediatelyInvokedFunctionExpression",e[e.HasAnyDecorators=6]="HasAnyDecorators",e[e.NeedsName=5]="NeedsName",e[e.MayNeedImmediatelyInvokedFunctionExpression=7]="MayNeedImmediatelyInvokedFunctionExpression",e[e.IsExported=56]="IsExported"}(t||(t={})),e.transformTypeScript=function(n){var t,r,a,i,o,s,c,l,u,d,p=n.factory,f=n.getEmitHelperFactory,m=n.startLexicalEnvironment,_=n.resumeLexicalEnvironment,g=n.endLexicalEnvironment,y=n.hoistVariableDeclaration,h=n.getEmitResolver(),v=n.getCompilerOptions(),b=e.getStrictOptionValue(v,"strictNullChecks"),E=e.getEmitScriptTarget(v),T=e.getEmitModuleKind(v),S=n.onEmitNode,L=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){var i=d,o=t;e.isSourceFile(r)&&(t=r);2&l&&function(n){return 253===e.getOriginalNode(n).kind}(r)&&(d|=2);8&l&&function(n){return 252===e.getOriginalNode(n).kind}(r)&&(d|=8);S(n,r,a),d=i,t=o},n.onSubstituteNode=function(n,t){if(t=L(n,t),1===n)return function(n){switch(n.kind){case 78:return function(n){return function(n){if(1&l&&33554432&h.getNodeCheckFlags(n)){var t=h.getReferencedValueDeclaration(n);if(t){var r=u[t.id];if(r){var a=p.cloneNode(r);return e.setSourceMapRange(a,n),e.setCommentRange(a,n),a}}}return}(n)||Ge(n)||n}(n);case 198:case 199:return function(e){return Be(e)}(n)}return n}(t);if(e.isShorthandPropertyAssignment(t))return function(n){if(2&l){var t=n.name,r=Ge(t);if(r){if(n.objectAssignmentInitializer){var a=p.createAssignment(r,n.objectAssignmentInitializer);return e.setTextRange(p.createPropertyAssignment(t,a),n)}return e.setTextRange(p.createPropertyAssignment(t,r),n)}}return n}(t);return t},n.enableSubstitution(198),n.enableSubstitution(199),function(n){if(295===n.kind)return function(n){return p.createBundle(n.sourceFiles.map(x),e.mapDefined(n.prepends,(function(n){return 297===n.kind?e.createUnparsedSourceFile(n,"js"):n})))}(n);return x(n)};function x(r){if(r.isDeclarationFile)return r;t=r;var a=A(r,F);return e.addEmitHelpers(a,n.readEmitHelpers()),t=void 0,a}function A(n,t){var r=i,a=o,l=s,u=c;!function(n){switch(n.kind){case 294:case 255:case 254:case 227:i=n,o=void 0,s=void 0;break;case 249:case 248:if(e.hasSyntacticModifier(n,2))break;n.name?ve(n):e.Debug.assert(249===n.kind||e.hasSyntacticModifier(n,512)),e.isClassDeclaration(n)&&(o=n)}}(n);var d=t(n);return i!==r&&(s=l),i=r,o=a,c=u,d}function D(e){return A(e,C)}function C(e){return 1&e.transformFlags?w(e):e}function I(e){return A(e,N)}function N(t){switch(t.kind){case 258:case 257:case 263:case 264:return function(t){if(e.getParseTreeNode(t)!==t)return 1&t.transformFlags?e.visitEachChild(t,D,n):t;switch(t.kind){case 258:return function(n){if(!n.importClause)return n;if(n.importClause.isTypeOnly)return;var t=e.visitNode(n.importClause,Se,e.isImportClause);return t||1===v.importsNotUsedAsValues||2===v.importsNotUsedAsValues?p.updateImportDeclaration(n,void 0,void 0,t,n.moduleSpecifier):void 0}(t);case 257:return Ce(t);case 263:return function(t){return h.isValueAliasDeclaration(t)?e.visitEachChild(t,D,n):void 0}(t);case 264:return function(n){if(n.isTypeOnly)return;if(!n.exportClause||e.isNamespaceExport(n.exportClause))return n;if(!h.isValueAliasDeclaration(n))return;var t=e.visitNode(n.exportClause,Ae,e.isNamedExportBindings);return t?p.updateExportDeclaration(n,void 0,void 0,n.isTypeOnly,t,n.moduleSpecifier):void 0}(t);default:e.Debug.fail("Unhandled ellided statement")}}(t);default:return C(t)}}function R(e){return A(e,k)}function k(n){if(264!==n.kind&&258!==n.kind&&259!==n.kind&&(257!==n.kind||269!==n.moduleReference.kind))return 1&n.transformFlags||e.hasSyntacticModifier(n,1)?w(n):n}function O(e){return A(e,P)}function P(n){switch(n.kind){case 165:return fe(n);case 162:return pe(n);case 170:case 166:case 167:case 164:return C(n);case 226:return n;default:return e.Debug.failBadSyntaxKind(n)}}function M(n){if(!(2270&e.modifierToFlag(n.kind)||r&&92===n.kind))return n}function w(o){if(e.isStatement(o)&&e.hasSyntacticModifier(o,2))return p.createNotEmittedStatement(o);switch(o.kind){case 92:case 87:return r?void 0:o;case 122:case 120:case 121:case 125:case 84:case 133:case 141:case 177:case 178:case 179:case 180:case 176:case 171:case 158:case 128:case 151:case 131:case 146:case 143:case 140:case 113:case 147:case 174:case 173:case 175:case 172:case 181:case 182:case 183:case 185:case 186:case 187:case 188:case 189:case 190:case 170:case 160:case 251:return;case 162:return pe(o);case 256:return;case 165:return fe(o);case 250:return p.createNotEmittedStatement(o);case 249:return function(a){if(!(U(a)||r&&e.hasSyntacticModifier(a,1)))return e.visitEachChild(a,D,n);var i=e.getProperties(a,!0,!0),o=function(n,t){var r=0;e.some(t)&&(r|=1);var a=e.getEffectiveBaseTypeNode(n);a&&103!==e.skipOuterExpressions(a.expression).kind&&(r|=64);(function(n){if(n.decorators&&n.decorators.length>0)return!0;var t=e.getFirstConstructorWithBody(n);if(t)return e.forEach(t.parameters,G);return!1})(n)&&(r|=2);e.childIsDecorated(n)&&(r|=4);Ie(n)?r|=8:!function(n){return Ne(n)&&e.hasSyntacticModifier(n,512)}(n)?Re(n)&&(r|=16):r|=32;E<=1&&7&r&&(r|=128);return r}(a,i);128&o&&n.startLexicalEnvironment();var s=a.name||(5&o?p.getGeneratedNameForNode(a):void 0),c=2&o?function(t,r){var a=e.moveRangePastDecorators(t),i=function(t){if(16777216&h.getNodeCheckFlags(t)){0==(1&l)&&(l|=1,n.enableSubstitution(78),u=[]);var r=p.createUniqueName(t.name&&!e.isGeneratedIdentifier(t.name)?e.idText(t.name):"default");return u[e.getOriginalNodeId(t)]=r,y(r),r}}(t),o=p.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,D,e.isHeritageClause),c=V(t),d=p.createClassExpression(void 0,void 0,r,void 0,s,c);e.setOriginalNode(d,t),e.setTextRange(d,a);var f=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(o,void 0,void 0,i?p.createAssignment(i,d):d)],1));return e.setOriginalNode(f,t),e.setTextRange(f,a),e.setCommentRange(f,t),f}(a,s):function(n,t,r){var a=128&r?void 0:e.visitNodes(n.modifiers,M,e.isModifier),i=p.createClassDeclaration(void 0,a,t,void 0,e.visitNodes(n.heritageClauses,D,e.isHeritageClause),V(n)),o=e.getEmitFlags(n);1&r&&(o|=32);return e.setTextRange(i,n),e.setOriginalNode(i,n),e.setEmitFlags(i,o),i}(a,s,o),d=[c];if(z(d,a,!1),z(d,a,!0),function(n,t){var r=function(n){var t=function(n){var t=n.decorators,r=H(e.getFirstConstructorWithBody(n));if(!t&&!r)return;return{decorators:t,parameters:r}}(n),r=q(n,n,t);if(!r)return;var a=u&&u[e.getOriginalNodeId(n)],i=p.getLocalName(n,!1,!0),o=f().createDecorateHelper(r,i),s=p.createAssignment(i,a?p.createAssignment(a,o):o);return e.setEmitFlags(s,1536),e.setSourceMapRange(s,e.moveRangePastDecorators(n)),s}(t);r&&n.push(e.setOriginalNode(p.createExpressionStatement(r),t))}(d,a),128&o){var m=e.createTokenRange(e.skipTrivia(t.text,a.members.end),19),_=p.getInternalName(a),g=p.createPartiallyEmittedExpression(_);e.setTextRangeEnd(g,m.end),e.setEmitFlags(g,1536);var v=p.createReturnStatement(g);e.setTextRangePos(v,m.pos),e.setEmitFlags(v,1920),d.push(v),e.insertStatementsAfterStandardPrologue(d,n.endLexicalEnvironment());var b=p.createImmediatelyInvokedArrowFunction(d);e.setEmitFlags(b,33554432);var T=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(a,!1,!1),void 0,void 0,b)]));e.setOriginalNode(T,a),e.setCommentRange(T,a),e.setSourceMapRange(T,e.moveRangePastDecorators(a)),e.startOnNewLine(T),d=[T]}8&o?Oe(d,a):(128&o||2&o)&&(32&o?d.push(p.createExportDefault(p.getLocalName(a,!1,!0))):16&o&&d.push(p.createExternalModuleExport(p.getLocalName(a,!1,!0))));d.length>1&&(d.push(p.createEndOfDeclarationMarker(a)),e.setEmitFlags(c,4194304|e.getEmitFlags(c)));return e.singleOrMany(d)}(o);case 218:return function(t){if(!U(t))return e.visitEachChild(t,D,n);var r=p.createClassExpression(void 0,void 0,t.name,void 0,e.visitNodes(t.heritageClauses,D,e.isHeritageClause),V(t));return e.setOriginalNode(r,t),e.setTextRange(r,t),r}(o);case 283:return function(t){if(116===t.token)return;return e.visitEachChild(t,D,n)}(o);case 220:return function(n){return p.updateExpressionWithTypeArguments(n,e.visitNode(n.expression,D,e.isLeftHandSideExpression),void 0)}(o);case 164:return function(t){if(!de(t))return;var r=p.updateMethodDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,ue(t),void 0,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 166:return function(t){if(!_e(t))return;var r=p.updateGetAccessorDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),ue(t),e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||p.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 167:return function(t){if(!_e(t))return;var r=p.updateSetAccessorDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),ue(t),e.visitParameterList(t.parameters,D,n),e.visitFunctionBody(t.body,D,n)||p.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 248:return function(t){if(!de(t))return p.createNotEmittedStatement(t);var r=p.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||p.createBlock([]));if(Ie(t)){var a=[r];return Oe(a,t),a}return r}(o);case 205:return function(t){if(!de(t))return p.createOmittedExpression();return p.updateFunctionExpression(t,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||p.createBlock([]))}(o);case 206:return function(t){return p.updateArrowFunction(t,e.visitNodes(t.modifiers,M,e.isModifier),void 0,e.visitParameterList(t.parameters,D,n),void 0,t.equalsGreaterThanToken,e.visitFunctionBody(t.body,D,n))}(o);case 159:return function(n){if(e.parameterIsThisKeyword(n))return;var t=p.updateParameterDeclaration(n,void 0,void 0,n.dotDotDotToken,e.visitNode(n.name,D,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,D,e.isExpression));t!==n&&(e.setCommentRange(t,n),e.setTextRange(t,e.moveRangePastModifiers(n)),e.setSourceMapRange(t,e.moveRangePastModifiers(n)),e.setEmitFlags(t.name,32));return t}(o);case 204:return function(r){var a=e.skipOuterExpressions(r.expression,-7);if(e.isAssertionExpression(a)){var i=e.visitNode(r.expression,D,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(i,t))?p.updateParenthesizedExpression(r,i):p.createPartiallyEmittedExpression(i,r)}return e.visitEachChild(r,D,n)}(o);case 203:case 221:return function(n){var t=e.visitNode(n.expression,D,e.isExpression);return p.createPartiallyEmittedExpression(t,n)}(o);case 200:return function(n){return p.updateCallExpression(n,e.visitNode(n.expression,D,e.isExpression),void 0,e.visitNodes(n.arguments,D,e.isExpression))}(o);case 201:return function(n){return p.updateNewExpression(n,e.visitNode(n.expression,D,e.isExpression),void 0,e.visitNodes(n.arguments,D,e.isExpression))}(o);case 202:return function(n){return p.updateTaggedTemplateExpression(n,e.visitNode(n.tag,D,e.isExpression),void 0,e.visitNode(n.template,D,e.isExpression))}(o);case 222:return function(n){var t=e.visitNode(n.expression,D,e.isLeftHandSideExpression);return p.createPartiallyEmittedExpression(t,n)}(o);case 252:return function(n){if(!function(n){return!e.isEnumConst(n)||v.preserveConstEnums||v.isolatedModules}(n))return p.createNotEmittedStatement(n);var r=[],o=2,s=Ee(r,n);s&&(T===e.ModuleKind.System&&i===t||(o|=512));var c=we(n),l=Fe(n),u=e.hasSyntacticModifier(n,1)?p.getExternalModuleOrNamespaceExportName(a,n,!1,!0):p.getLocalName(n,!1,!0),d=p.createLogicalOr(u,p.createAssignment(u,p.createObjectLiteralExpression()));if(he(n)){var f=p.getLocalName(n,!1,!0);d=p.createAssignment(f,d)}var _=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,c)],void 0,function(n,t){var r=a;a=t;var i=[];m();var o=e.map(n.members,ye);return e.insertStatementsAfterStandardPrologue(i,g()),e.addRange(i,o),a=r,p.createBlock(e.setTextRange(p.createNodeArray(i),n.members),!0)}(n,l)),void 0,[d]));e.setOriginalNode(_,n),s&&(e.setSyntheticLeadingComments(_,void 0),e.setSyntheticTrailingComments(_,void 0));return e.setTextRange(_,n),e.addEmitFlags(_,o),r.push(_),r.push(p.createEndOfDeclarationMarker(n)),r}(o);case 229:return function(t){if(Ie(t)){var r=e.getInitializedVariables(t.declarationList);if(0===r.length)return;return e.setTextRange(p.createExpressionStatement(p.inlineExpressions(e.map(r,ge))),t)}return e.visitEachChild(t,D,n)}(o);case 246:return function(n){return p.updateVariableDeclaration(n,e.visitNode(n.name,D,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,D,e.isExpression))}(o);case 253:return Te(o);case 257:return Ce(o);case 271:return function(n){return p.updateJsxSelfClosingElement(n,e.visitNode(n.tagName,D,e.isJsxTagNameExpression),void 0,e.visitNode(n.attributes,D,e.isJsxAttributes))}(o);case 272:return function(n){return p.updateJsxOpeningElement(n,e.visitNode(n.tagName,D,e.isJsxTagNameExpression),void 0,e.visitNode(n.attributes,D,e.isJsxAttributes))}(o);default:return e.visitEachChild(o,D,n)}}function F(t){var r=e.getStrictOptionValue(v,"alwaysStrict")&&!(e.isExternalModule(t)&&T>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return p.updateSourceFile(t,e.visitLexicalEnvironment(t.statements,I,n,0,r))}function G(e){return void 0!==e.decorators&&e.decorators.length>0}function B(e){return!!(2048&e.transformFlags)}function U(n){return e.some(n.decorators)||e.some(n.typeParameters)||e.some(n.heritageClauses,B)||e.some(n.members,B)}function V(n){var t=[],r=e.getFirstConstructorWithBody(n),a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(a)for(var i=0,o=a;i<o.length;i++){var s=o[i];e.isIdentifier(s.name)&&t.push(e.setOriginalNode(p.createPropertyDeclaration(void 0,void 0,s.name,void 0,void 0,void 0),s))}return e.addRange(t,e.visitNodes(n.members,O,e.isClassElement)),e.setTextRange(p.createNodeArray(t),n.members)}function j(n,t){return e.filter(n.members,t?function(e){return K(e,!0,n)}:function(e){return K(e,!1,n)})}function K(n,t,r){return e.nodeOrChildIsDecorated(n,r)&&t===e.hasSyntacticModifier(n,32)}function H(n){var t;if(n)for(var r=n.parameters,a=r.length>0&&e.parameterIsThisKeyword(r[0]),i=a?1:0,o=a?r.length-1:r.length,s=0;s<o;s++){var c=r[s+i];(t||c.decorators)&&(t||(t=new Array(o)),t[s]=c.decorators)}return t}function W(n,t){switch(t.kind){case 166:case 167:return function(n,t){if(!t.body)return;var r=e.getAllAccessorDeclarations(n.members,t),a=r.firstAccessor,i=r.secondAccessor,o=r.setAccessor,s=a.decorators?a:i&&i.decorators?i:void 0;if(!s||t!==s)return;var c=s.decorators,l=H(o);if(!c&&!l)return;return{decorators:c,parameters:l}}(n,t);case 164:return function(e){if(!e.body)return;var n=e.decorators,t=H(e);if(!n&&!t)return;return{decorators:n,parameters:t}}(t);case 162:return function(e){var n=e.decorators;if(!n)return;return{decorators:n}}(t);default:return}}function q(n,t,r){if(r){var a=[];return e.addRange(a,e.map(r.decorators,X)),e.addRange(a,e.flatMap(r.parameters,Y)),function(e,n,t){(function(e,n,t){v.emitDecoratorMetadata&&(Q(e)&&t.push(f().createMetadataHelper("design:type",ee(e))),$(e)&&t.push(f().createMetadataHelper("design:paramtypes",ne(e,n))),Z(e)&&t.push(f().createMetadataHelper("design:returntype",te(e))))})(e,n,t)}(n,t,a),a}}function z(n,t,r){e.addRange(n,e.map(function(e,n){for(var t,r=j(e,n),a=0,i=r;a<i.length;a++){var o=i[a],s=J(e,o);s&&(t?t.push(s):t=[s])}return t}(t,r),ke))}function J(n,t){var r=q(t,n,W(n,t));if(r){var a=function(n,t){return e.hasSyntacticModifier(t,32)?p.getDeclarationName(n):function(e){return p.createPropertyAccessExpression(p.getDeclarationName(e),"prototype")}(n)}(n,t),i=le(t,!0),o=E>0?162===t.kind?p.createVoidZero():p.createNull():void 0,s=f().createDecorateHelper(r,a,i,o);return e.setTextRange(s,e.moveRangePastDecorators(t)),e.setEmitFlags(s,1536),s}}function X(n){return e.visitNode(n.expression,D,e.isExpression)}function Y(n,t){var r;if(n){r=[];for(var a=0,i=n;a<i.length;a++){var o=i[a],s=f().createParamHelper(X(o),t);e.setTextRange(s,o.expression),e.setEmitFlags(s,1536),r.push(s)}}return r}function Q(e){var n=e.kind;return 164===n||166===n||167===n||162===n}function Z(e){return 164===e.kind}function $(n){switch(n.kind){case 249:case 218:return void 0!==e.getFirstConstructorWithBody(n);case 164:case 166:case 167:return!0}return!1}function ee(n){switch(n.kind){case 162:case 159:return re(n.type);case 167:case 166:return re(function(n){var t=h.getAllAccessorDeclarations(n);return t.setAccessor&&e.getSetAccessorTypeAnnotationNode(t.setAccessor)||t.getAccessor&&e.getEffectiveReturnTypeNode(t.getAccessor)}(n));case 249:case 218:case 164:return p.createIdentifier("Function");default:return p.createVoidZero()}}function ne(n,t){var r=e.isClassLike(n)?e.getFirstConstructorWithBody(n):e.isFunctionLike(n)&&e.nodeIsPresent(n.body)?n:void 0,a=[];if(r)for(var i=function(n,t){if(t&&166===n.kind){var r=e.getAllAccessorDeclarations(t.members,n).setAccessor;if(r)return r.parameters}return n.parameters}(r,t),o=i.length,s=0;s<o;s++){var c=i[s];0===s&&e.isIdentifier(c.name)&&"this"===c.name.escapedText||(c.dotDotDotToken?a.push(re(e.getRestParameterElementType(c.type))):a.push(ee(c)))}return p.createArrayLiteralExpression(a)}function te(n){return e.isFunctionLike(n)&&n.type?re(n.type):e.isAsyncFunction(n)?p.createIdentifier("Promise"):p.createVoidZero()}function re(n){if(void 0===n)return p.createIdentifier("Object");switch(n.kind){case 113:case 149:case 140:return p.createVoidZero();case 185:return re(n.type);case 173:case 174:return p.createIdentifier("Function");case 177:case 178:return p.createIdentifier("Array");case 171:case 131:return p.createIdentifier("Boolean");case 146:return p.createIdentifier("String");case 144:return p.createIdentifier("Object");case 190:switch(n.literal.kind){case 10:case 14:return p.createIdentifier("String");case 211:case 8:return p.createIdentifier("Number");case 9:return ce();case 109:case 94:return p.createIdentifier("Boolean");case 103:return p.createVoidZero();default:return e.Debug.failBadSyntaxKind(n.literal)}case 143:return p.createIdentifier("Number");case 154:return ce();case 147:return E<2?se():p.createIdentifier("Symbol");case 172:return function(n){var t=h.getTypeReferenceSerializationKind(n.typeName,o||i);switch(t){case e.TypeReferenceSerializationKind.Unknown:if(e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&(n.parent.trueType===n||n.parent.falseType===n)})))return p.createIdentifier("Object");var r=function e(n){if(78===n.kind){var t=oe(n);return ie(t,t)}if(78===n.left.kind)return ie(oe(n.left),oe(n));var r=e(n.left),a=p.createTempVariable(y);return p.createLogicalAnd(p.createLogicalAnd(r.left,p.createStrictInequality(p.createAssignment(a,r.right),p.createVoidZero())),p.createPropertyAccessExpression(a,n.right))}(n.typeName),a=p.createTempVariable(y);return p.createConditionalExpression(p.createTypeCheck(p.createAssignment(a,r),"function"),void 0,a,void 0,p.createIdentifier("Object"));case e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return oe(n.typeName);case e.TypeReferenceSerializationKind.VoidNullableOrNeverType:return p.createVoidZero();case e.TypeReferenceSerializationKind.BigIntLikeType:return ce();case e.TypeReferenceSerializationKind.BooleanType:return p.createIdentifier("Boolean");case e.TypeReferenceSerializationKind.NumberLikeType:return p.createIdentifier("Number");case e.TypeReferenceSerializationKind.StringLikeType:return p.createIdentifier("String");case e.TypeReferenceSerializationKind.ArrayLikeType:return p.createIdentifier("Array");case e.TypeReferenceSerializationKind.ESSymbolType:return E<2?se():p.createIdentifier("Symbol");case e.TypeReferenceSerializationKind.TypeWithCallSignature:return p.createIdentifier("Function");case e.TypeReferenceSerializationKind.Promise:return p.createIdentifier("Promise");case e.TypeReferenceSerializationKind.ObjectType:return p.createIdentifier("Object");default:return e.Debug.assertNever(t)}}(n);case 182:case 181:return ae(n.types);case 183:return ae([n.trueType,n.falseType]);case 187:if(141===n.operator)return re(n.type);break;case 175:case 188:case 189:case 176:case 128:case 151:case 186:case 192:break;case 299:case 300:case 304:case 305:case 306:break;case 301:case 302:case 303:return re(n.type);default:return e.Debug.failBadSyntaxKind(n)}return p.createIdentifier("Object")}function ae(n){for(var t,r=0,a=n;r<a.length;r++){for(var i=a[r];185===i.kind;)i=i.type;if(140!==i.kind&&(b||(190!==i.kind||103!==i.literal.kind)&&149!==i.kind)){var o=re(i);if(e.isIdentifier(o)&&"Object"===o.escapedText)return o;if(t){if(!e.isIdentifier(t)||!e.isIdentifier(o)||t.escapedText!==o.escapedText)return p.createIdentifier("Object")}else t=o}}return t||p.createVoidZero()}function ie(e,n){return p.createLogicalAnd(p.createStrictInequality(p.createTypeOfExpression(e),p.createStringLiteral("undefined")),n)}function oe(n){switch(n.kind){case 78:var t=e.setParent(e.setTextRange(e.parseNodeFactory.cloneNode(n),n),n.parent);return t.original=void 0,e.setParent(t,e.getParseTreeNode(i)),t;case 156:return function(e){return p.createPropertyAccessExpression(oe(e.left),e.right)}(n)}}function se(){return p.createConditionalExpression(p.createTypeCheck(p.createIdentifier("Symbol"),"function"),void 0,p.createIdentifier("Symbol"),void 0,p.createIdentifier("Object"))}function ce(){return E<99?p.createConditionalExpression(p.createTypeCheck(p.createIdentifier("BigInt"),"function"),void 0,p.createIdentifier("BigInt"),void 0,p.createIdentifier("Object")):p.createIdentifier("BigInt")}function le(n,t){var r=n.name;return e.isPrivateIdentifier(r)?p.createIdentifier(""):e.isComputedPropertyName(r)?t&&!e.isSimpleInlineableExpression(r.expression)?p.getGeneratedNameForNode(r):r.expression:e.isIdentifier(r)?p.createStringLiteral(e.idText(r)):p.cloneNode(r)}function ue(n){var t=n.name;if(e.isComputedPropertyName(t)&&(!e.hasStaticModifier(n)&&c||e.some(n.decorators))){var r=e.visitNode(t.expression,D,e.isExpression),a=e.skipPartiallyEmittedExpressions(r);if(!e.isSimpleInlineableExpression(a)){var i=p.getGeneratedNameForNode(t);return y(i),p.updateComputedPropertyName(t,p.createAssignment(i,r))}}return e.visitNode(t,D,e.isPropertyName)}function de(n){return!e.nodeIsMissing(n.body)}function pe(n){if(!(8388608&n.flags)){var t=p.updatePropertyDeclaration(n,void 0,e.visitNodes(n.modifiers,D,e.isModifier),ue(n),void 0,void 0,e.visitNode(n.initializer,D));return t!==n&&(e.setCommentRange(t,n),e.setSourceMapRange(t,e.moveRangePastDecorators(n))),t}}function fe(t){if(de(t))return p.updateConstructorDeclaration(t,void 0,void 0,e.visitParameterList(t.parameters,D,n),function(t,r){var a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(!e.some(a))return e.visitFunctionBody(t,D,n);var i,o=[];_(),i=e.addPrologueDirectivesAndInitialSuperCall(p,r,o,D),e.addRange(o,e.map(a,me)),e.addRange(o,e.visitNodes(t.statements,D,e.isStatement,i)),o=p.mergeLexicalEnvironment(o,g());var s=p.createBlock(e.setTextRange(p.createNodeArray(o),t.statements),!0);return e.setTextRange(s,t),e.setOriginalNode(s,t),s}(t.body,t))}function me(n){var t=n.name;if(e.isIdentifier(t)){var r=e.setParent(e.setTextRange(p.cloneNode(t),t),t.parent);e.setEmitFlags(r,1584);var a=e.setParent(e.setTextRange(p.cloneNode(t),t),t.parent);return e.setEmitFlags(a,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(p.createExpressionStatement(p.createAssignment(e.setTextRange(p.createPropertyAccessExpression(p.createThis(),r),n.name),a)),n),e.moveRangePos(n,-1))))}}function _e(n){return!(e.nodeIsMissing(n.body)&&e.hasSyntacticModifier(n,128))}function ge(t){var r=t.name;return e.isBindingPattern(r)?e.flattenDestructuringAssignment(t,D,n,0,!1,Pe):e.setTextRange(p.createAssignment(Me(r),e.visitNode(t.initializer,D,e.isExpression)),t)}function ye(t){var r=le(t,!1),i=function(t){var r=h.getConstantValue(t);return void 0!==r?"string"==typeof r?p.createStringLiteral(r):p.createNumericLiteral(r):(0==(8&l)&&(l|=8,n.enableSubstitution(78)),t.initializer?e.visitNode(t.initializer,D,e.isExpression):p.createVoidZero())}(t),o=p.createAssignment(p.createElementAccessExpression(a,r),i),s=10===i.kind?o:p.createAssignment(p.createElementAccessExpression(a,o),r);return e.setTextRange(p.createExpressionStatement(e.setTextRange(s,t)),t)}function he(n){return Ie(n)||Ne(n)&&T!==e.ModuleKind.ES2015&&T!==e.ModuleKind.ES2020&&T!==e.ModuleKind.ESNext&&T!==e.ModuleKind.System}function ve(n){s||(s=new e.Map);var t=be(n);s.has(t)||s.set(t,n)}function be(n){return e.Debug.assertNode(n.name,e.isIdentifier),n.name.escapedText}function Ee(n,t){var r=p.createVariableStatement(e.visitNodes(t.modifiers,M,e.isModifier),p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(t,!1,!0))],294===i.kind?0:1));if(e.setOriginalNode(r,t),ve(t),function(e){if(s){var n=be(e);return s.get(n)===e}return!0}(t))return 252===t.kind?e.setSourceMapRange(r.declarationList,t):e.setSourceMapRange(r,t),e.setCommentRange(r,t),e.addEmitFlags(r,4195328),n.push(r),!0;var a=p.createMergeDeclarationMarker(r);return e.setEmitFlags(a,4195840),n.push(a),!1}function Te(o){if(!function(n){var t=e.getParseTreeNode(n,e.isModuleDeclaration);return!t||e.isInstantiatedModule(t,!!v.preserveConstEnums||!!v.isolatedModules)}(o))return p.createNotEmittedStatement(o);e.Debug.assertNode(o.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),0==(2&l)&&(l|=2,n.enableSubstitution(78),n.enableSubstitution(286),n.enableEmitNotification(253));var c=[],u=2,d=Ee(c,o);d&&(T===e.ModuleKind.System&&i===t||(u|=512));var f=we(o),_=Fe(o),y=e.hasSyntacticModifier(o,1)?p.getExternalModuleOrNamespaceExportName(a,o,!1,!0):p.getLocalName(o,!1,!0),h=p.createLogicalOr(y,p.createAssignment(y,p.createObjectLiteralExpression()));if(he(o)){var b=p.getLocalName(o,!1,!0);h=p.createAssignment(b,h)}var E=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,f)],void 0,function(n,t){var i=a,o=r,c=s;a=t,r=n,s=void 0;var l,u,d=[];if(m(),n.body)if(254===n.body.kind)A(n.body,(function(n){return e.addRange(d,e.visitNodes(n.statements,R,e.isStatement))})),l=n.body.statements,u=n.body;else{var f=Te(n.body);f&&(e.isArray(f)?e.addRange(d,f):d.push(f));var _=function e(n){if(253===n.body.kind){return e(n.body)||n.body}}(n).body;l=e.moveRangePos(_.statements,-1)}e.insertStatementsAfterStandardPrologue(d,g()),a=i,r=o,s=c;var y=p.createBlock(e.setTextRange(p.createNodeArray(d),l),!0);e.setTextRange(y,u),n.body&&254===n.body.kind||e.setEmitFlags(y,1536|e.getEmitFlags(y));return y}(o,_)),void 0,[h]));return e.setOriginalNode(E,o),d&&(e.setSyntheticLeadingComments(E,void 0),e.setSyntheticTrailingComments(E,void 0)),e.setTextRange(E,o),e.addEmitFlags(E,u),c.push(E),c.push(p.createEndOfDeclarationMarker(o)),c}function Se(n){if(!n.isTypeOnly){var t=h.isReferencedAliasDeclaration(n)?n.name:void 0,r=e.visitNode(n.namedBindings,Le,e.isNamedImportBindings);return t||r?p.updateImportClause(n,!1,t,r):void 0}}function Le(n){if(260===n.kind)return h.isReferencedAliasDeclaration(n)?n:void 0;var t=e.visitNodes(n.elements,xe,e.isImportSpecifier);return e.some(t)?p.updateNamedImports(n,t):void 0}function xe(e){return h.isReferencedAliasDeclaration(e)?e:void 0}function Ae(n){return e.isNamespaceExport(n)?function(n){return p.updateNamespaceExport(n,e.visitNode(n.name,D,e.isIdentifier))}(n):function(n){var t=e.visitNodes(n.elements,De,e.isExportSpecifier);return e.some(t)?p.updateNamedExports(n,t):void 0}(n)}function De(e){return h.isValueAliasDeclaration(e)?e:void 0}function Ce(r){if(e.isExternalModuleImportEqualsDeclaration(r)){var i=h.isReferencedAliasDeclaration(r);return i||1!==v.importsNotUsedAsValues?i?e.visitEachChild(r,D,n):void 0:e.setOriginalNode(e.setTextRange(p.createImportDeclaration(void 0,void 0,void 0,r.moduleReference.expression),r),r)}if(function(n){return h.isReferencedAliasDeclaration(n)||!e.isExternalModule(t)&&h.isTopLevelValueImportEqualsWithEntityName(n)}(r)){var o,s,c,l=e.createExpressionFromEntityName(p,r.moduleReference);return e.setEmitFlags(l,3584),Re(r)||!Ie(r)?e.setOriginalNode(e.setTextRange(p.createVariableStatement(e.visitNodes(r.modifiers,M,e.isModifier),p.createVariableDeclarationList([e.setOriginalNode(p.createVariableDeclaration(r.name,void 0,void 0,l),r)])),r),r):e.setOriginalNode((o=r.name,s=l,c=r,e.setTextRange(p.createExpressionStatement(p.createAssignment(p.getNamespaceMemberName(a,o,!1,!0),s)),c)),r)}}function Ie(n){return void 0!==r&&e.hasSyntacticModifier(n,1)}function Ne(n){return void 0===r&&e.hasSyntacticModifier(n,1)}function Re(n){return Ne(n)&&!e.hasSyntacticModifier(n,512)}function ke(e){return p.createExpressionStatement(e)}function Oe(n,t){var r=p.createAssignment(p.getExternalModuleOrNamespaceExportName(a,t,!1,!0),p.getLocalName(t));e.setSourceMapRange(r,e.createRange(t.name?t.name.pos:t.pos,t.end));var i=p.createExpressionStatement(r);e.setSourceMapRange(i,e.createRange(-1,t.end)),n.push(i)}function Pe(n,t,r){return e.setTextRange(p.createAssignment(Me(n),t),r)}function Me(e){return p.getNamespaceMemberName(a,e,!1,!0)}function we(n){var t=p.getGeneratedNameForNode(n);return e.setSourceMapRange(t,n.name),t}function Fe(e){return p.getGeneratedNameForNode(e)}function Ge(n){if(l&d&&!e.isGeneratedIdentifier(n)&&!e.isLocalName(n)){var t=h.getReferencedExportContainer(n,!1);if(t&&294!==t.kind)if(2&d&&253===t.kind||8&d&&252===t.kind)return e.setTextRange(p.createPropertyAccessExpression(p.getGeneratedNameForNode(t),n),n)}}function Be(n){var t=function(n){if(v.isolatedModules)return;return e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)?h.getConstantValue(n):void 0}(n);if(void 0!==t){e.setConstantValue(n,t);var r="string"==typeof t?p.createStringLiteral(t):p.createNumericLiteral(t);if(!v.removeComments){var a=e.getOriginalNode(n,e.isAccessExpression),i=e.isPropertyAccessExpression(a)?e.declarationNameToString(a.name):e.getTextOfNode(a.argumentExpression);e.addSyntheticTrailingComment(r,3," "+i+" ")}return r}return n}}}(p||(p={})),function(e){var n,t;!function(e){e[e.ClassAliases=1]="ClassAliases"}(n||(n={})),function(e){e[e.InstanceField=0]="InstanceField"}(t||(t={})),e.transformClassFields=function(n){var t,r,a,i,s=n.factory,c=n.hoistVariableDeclaration,l=n.endLexicalEnvironment,u=n.resumeLexicalEnvironment,d=n.getEmitResolver(),p=n.getCompilerOptions(),f=e.getEmitScriptTarget(p),m=f<99,_=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=_(n,a),1===n)return function(n){switch(n.kind){case 78:return function(n){return function(n){if(1&t&&33554432&d.getNodeCheckFlags(n)){var a=d.getReferencedValueDeclaration(n);if(a){var i=r[a.id];if(i){var o=s.cloneNode(i);return e.setSourceMapRange(o,n),e.setCommentRange(o,n),o}}}return}(n)||n}(n)}return n}(a);return a};var g,y=[];return e.chainBundle(n,(function(t){var r=n.getCompilerOptions();if(t.isDeclarationFile||r.useDefineForClassFields&&99===r.target)return t;var a=e.visitEachChild(t,h,n);return e.addEmitHelpers(a,n.readEmitHelpers()),a}));function h(l){if(!(4194304&l.transformFlags))return l;switch(l.kind){case 218:case 249:return function(o){var l=a;a=void 0,m&&(y.push(g),g=void 0);var u=e.isClassDeclaration(o)?function(t){if(!e.forEach(t.members,D))return e.visitEachChild(t,h,n);var r=e.getEffectiveBaseTypeNode(t),i=!(!r||103===e.skipOuterExpressions(r.expression).kind),o=[s.updateClassDeclaration(t,void 0,t.modifiers,t.name,void 0,e.visitNodes(t.heritageClauses,h,e.isHeritageClause),C(t,i))];e.some(a)&&o.push(s.createExpressionStatement(s.inlineExpressions(a)));var c=e.getProperties(t,!0,!0);e.some(c)&&N(o,c,s.getInternalName(t));return o}(o):function(o){if(!e.forEach(o.members,D))return e.visitEachChild(o,h,n);var l=e.isClassDeclaration(e.getOriginalNode(o)),u=e.getProperties(o,!0,!0),p=e.getEffectiveBaseTypeNode(o),f=!(!p||103===e.skipOuterExpressions(p.expression).kind),m=s.updateClassExpression(o,e.visitNodes(o.decorators,h,e.isDecorator),o.modifiers,o.name,void 0,e.visitNodes(o.heritageClauses,h,e.isHeritageClause),C(o,f));if(e.some(u)||e.some(a)){if(l)return e.Debug.assertIsDefined(i,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),i&&a&&e.some(a)&&i.push(s.createExpressionStatement(s.inlineExpressions(a))),i&&e.some(u)&&N(i,u,s.getInternalName(o)),m;var _=[],g=16777216&d.getNodeCheckFlags(o),y=s.createTempVariable(c,!!g);if(g){0==(1&t)&&(t|=1,n.enableSubstitution(78),r=[]);var v=s.cloneNode(y);v.autoGenerateFlags&=-9,r[e.getOriginalNodeId(o)]=v}return e.setEmitFlags(m,65536|e.getEmitFlags(m)),_.push(e.startOnNewLine(s.createAssignment(y,m))),e.addRange(_,e.map(a,e.startOnNewLine)),e.addRange(_,function(n,t){for(var r=[],a=0,i=n;a<i.length;a++){var o=i[a],s=R(o,t);s&&(e.startOnNewLine(s),e.setSourceMapRange(s,e.moveRangePastModifiers(o)),e.setCommentRange(s,o),e.setOriginalNode(s,o),r.push(s))}return r}(u,y)),_.push(e.startOnNewLine(y)),s.inlineExpressions(_)}return m}(o);m&&(g=y.pop());return a=l,u}(l);case 162:return T(l);case 229:return function(t){var r=i;i=[];var a=e.visitEachChild(t,h,n),s=e.some(i)?o([a],i):a;return i=r,s}(l);case 157:return E(l);case 198:return function(t){if(m&&e.isPrivateIdentifier(t.name)){var r=P(t.name);if(r)return e.setOriginalNode(S(r,t.expression),t)}return e.visitEachChild(t,h,n)}(l);case 211:return function(t){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.operand)){var r=45===t.operator?39:46===t.operator?40:void 0,a=void 0;if(r&&(a=P(t.operand.name))){var i=x(e.visitNode(t.operand.expression,h,e.isExpression)),o=i.readExpression,c=i.initializeExpression,l=s.createPrefixUnaryExpression(39,S(a,o));return e.setOriginalNode(A(a,c||o,s.createBinaryExpression(l,r,s.createNumericLiteral(1)),62),t)}}return e.visitEachChild(t,h,n)}(l);case 212:return L(l,!1);case 200:return function(t){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.expression)){var r=s.createCallBinding(t.expression,c,f),a=r.thisArg,i=r.target;return s.updateCallExpression(t,s.createPropertyAccessExpression(e.visitNode(i,h),"call"),void 0,o([e.visitNode(a,h,e.isExpression)],e.visitNodes(t.arguments,h,e.isExpression)))}return e.visitEachChild(t,h,n)}(l);case 213:return function(t){if(m){if(e.isDestructuringAssignment(t)){var r=a;a=void 0,t=s.updateBinaryExpression(t,e.visitNode(t.left,v),t.operatorToken,e.visitNode(t.right,h));var i=e.some(a)?s.inlineExpressions(e.compact(o(a,[t]))):t;return a=r,i}if(e.isAssignmentExpression(t)&&e.isPrivateIdentifierPropertyAccessExpression(t.left)){var c=P(t.left.name);if(c)return e.setOriginalNode(A(c,t.left.expression,t.right,t.operatorToken.kind),t)}}return e.visitEachChild(t,h,n)}(l);case 79:return function(n){if(!m)return n;return e.setOriginalNode(s.createIdentifier(""),n)}(l);case 230:return function(t){if(e.isPostfixUnaryExpression(t.expression))return s.updateExpressionStatement(t,L(t.expression,!0));return e.visitEachChild(t,h,n)}(l);case 234:return function(t){if(t.incrementor&&e.isPostfixUnaryExpression(t.incrementor))return s.updateForStatement(t,e.visitNode(t.initializer,h,e.isForInitializer),e.visitNode(t.condition,h,e.isExpression),L(t.incrementor,!0),e.visitNode(t.statement,h,e.isStatement));return e.visitEachChild(t,h,n)}(l);case 202:return function(t){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.tag)){var r=s.createCallBinding(t.tag,c,f),a=r.thisArg,i=r.target;return s.updateTaggedTemplateExpression(t,s.createCallExpression(s.createPropertyAccessExpression(e.visitNode(i,h),"bind"),void 0,[e.visitNode(a,h,e.isExpression)]),void 0,e.visitNode(t.template,h,e.isTemplateLiteral))}return e.visitEachChild(t,h,n)}(l)}return e.visitEachChild(l,h,n)}function v(n){switch(n.kind){case 197:case 196:return function(n){return e.isArrayLiteralExpression(n)?s.updateArrayLiteralExpression(n,e.visitNodes(n.elements,w,e.isExpression)):s.updateObjectLiteralExpression(n,e.visitNodes(n.properties,F,e.isObjectLiteralElementLike))}(n);default:return h(n)}}function b(t){switch(t.kind){case 165:return;case 166:case 167:case 164:return e.visitEachChild(t,b,n);case 162:return T(t);case 157:return E(t);case 226:return t;default:return h(t)}}function E(t){var r=e.visitEachChild(t,h,n);if(e.some(a)){var i=a;i.push(t.expression),a=[],r=s.updateComputedPropertyName(r,s.inlineExpressions(i))}return r}function T(t){if(e.Debug.assert(!e.some(t.decorators)),!m&&e.isPrivateIdentifier(t.name))return s.updatePropertyDeclaration(t,void 0,e.visitNodes(t.modifiers,h,e.isModifier),t.name,void 0,void 0,void 0);var r=function(n,t){if(e.isComputedPropertyName(n)){var r=e.visitNode(n.expression,h,e.isExpression),a=e.skipPartiallyEmittedExpressions(r),i=e.isSimpleInlineableExpression(a);if(!(e.isAssignmentExpression(a)&&e.isGeneratedIdentifier(a.left))&&!i&&t){var o=s.getGeneratedNameForNode(n);return c(o),s.createAssignment(o,r)}return i||e.isIdentifier(a)?void 0:r}}(t.name,!!t.initializer||!!n.getCompilerOptions().useDefineForClassFields);r&&!e.isSimpleInlineableExpression(r)&&k().push(r)}function S(t,r){switch(r=e.visitNode(r,h,e.isExpression),t.placement){case 0:return n.getEmitHelperFactory().createClassPrivateFieldGetHelper(e.nodeIsSynthesized(r)?r:s.cloneNode(r),t.weakMapName);default:return e.Debug.fail("Unexpected private identifier placement")}}function L(t,r){if(m&&e.isPrivateIdentifierPropertyAccessExpression(t.operand)){var a=45===t.operator?39:46===t.operator?40:void 0,i=void 0;if(a&&(i=P(t.operand.name))){var o=x(e.visitNode(t.operand.expression,h,e.isExpression)),l=o.readExpression,u=o.initializeExpression,d=s.createPrefixUnaryExpression(39,S(i,l)),p=r?void 0:s.createTempVariable(c);return e.setOriginalNode(s.inlineExpressions(e.compact([A(i,u||l,s.createBinaryExpression(p?s.createAssignment(p,d):d,a,s.createNumericLiteral(1)),62),p])),t)}}return e.visitEachChild(t,h,n)}function x(n){var t=e.nodeIsSynthesized(n)?n:s.cloneNode(n);if(e.isSimpleInlineableExpression(n))return{readExpression:t,initializeExpression:void 0};var r=s.createTempVariable(c);return{readExpression:r,initializeExpression:s.createAssignment(r,t)}}function A(t,r,a,i){switch(t.placement){case 0:return function(t,r,a,i){if(r=e.visitNode(r,h,e.isExpression),a=e.visitNode(a,h,e.isExpression),e.isCompoundAssignment(i)){var o=x(r),c=o.readExpression,l=o.initializeExpression;return n.getEmitHelperFactory().createClassPrivateFieldSetHelper(l||c,t.weakMapName,s.createBinaryExpression(n.getEmitHelperFactory().createClassPrivateFieldGetHelper(c,t.weakMapName),e.getNonAssignmentOperatorForCompoundAssignment(i),a))}return n.getEmitHelperFactory().createClassPrivateFieldSetHelper(r,t.weakMapName,a)}(t,r,a,i);default:return e.Debug.fail("Unexpected private identifier placement")}}function D(n){return e.isPropertyDeclaration(n)||m&&n.name&&e.isPrivateIdentifier(n.name)}function C(t,r){if(m)for(var a=0,i=t.members;a<i.length;a++){var o=i[a];e.isPrivateIdentifierPropertyDeclaration(o)&&O(o.name)}var c=[],d=function(t,r){var a=e.visitNode(e.getFirstConstructorWithBody(t),h,e.isConstructorDeclaration),i=t.members.filter(I);if(!e.some(i))return a;var o=e.visitParameterList(a?a.parameters:void 0,h,n),c=function(t,r,a){var i=n.getCompilerOptions().useDefineForClassFields,o=e.getProperties(t,!1,!1);i||(o=e.filter(o,(function(n){return!!n.initializer||e.isPrivateIdentifier(n.name)})));if(!r&&!e.some(o))return e.visitFunctionBody(void 0,h,n);u();var c=0,d=[];!r&&a&&d.push(s.createExpressionStatement(s.createCallExpression(s.createSuper(),void 0,[s.createSpreadElement(s.createIdentifier("arguments"))])));r&&(c=e.addPrologueDirectivesAndInitialSuperCall(s,r,d,h));if(null==r?void 0:r.body){var p=e.findIndex(r.body.statements,(function(n){return!e.isParameterPropertyDeclaration(e.getOriginalNode(n),r)}),c);-1===p&&(p=r.body.statements.length),p>c&&(i||e.addRange(d,e.visitNodes(r.body.statements,h,e.isStatement,c,p-c)),c=p)}N(d,o,s.createThis()),r&&e.addRange(d,e.visitNodes(r.body.statements,h,e.isStatement,c));return d=s.mergeLexicalEnvironment(d,l()),e.setTextRange(s.createBlock(e.setTextRange(s.createNodeArray(d),r?r.body.statements:t.members),!0),r?r.body:void 0)}(t,a,r);if(!c)return;return e.startOnNewLine(e.setOriginalNode(e.setTextRange(s.createConstructorDeclaration(void 0,void 0,null!=o?o:[],c),a||t),a))}(t,r);return d&&c.push(d),e.addRange(c,e.visitNodes(t.members,b,e.isClassElement)),e.setTextRange(s.createNodeArray(c),t.members)}function I(t){return!(!e.isPropertyDeclaration(t)||e.hasStaticModifier(t))&&(n.getCompilerOptions().useDefineForClassFields?f<99:e.isInitializedProperty(t)||m&&e.isPrivateIdentifierPropertyDeclaration(t))}function N(n,t,r){for(var a=0,i=t;a<i.length;a++){var o=i[a],c=R(o,r);if(c){var l=s.createExpressionStatement(c);e.setSourceMapRange(l,e.moveRangePastModifiers(o)),e.setCommentRange(l,o),e.setOriginalNode(l,o),n.push(l)}}}function R(t,r){var a,i=!n.getCompilerOptions().useDefineForClassFields,o=e.isComputedPropertyName(t.name)&&!e.isSimpleInlineableExpression(t.name.expression)?s.updateComputedPropertyName(t.name,s.getGeneratedNameForNode(t.name)):t.name;if(m&&e.isPrivateIdentifier(o)){var c=P(o);if(c)switch(c.placement){case 0:return function(n,t,r){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(r,"set"),void 0,[n,t||e.factory.createVoidZero()])}(r,e.visitNode(t.initializer,h,e.isExpression),c.weakMapName)}else e.Debug.fail("Undeclared private name for property declaration.")}if((!e.isPrivateIdentifier(o)||t.initializer)&&(!e.isPrivateIdentifier(o)||t.initializer)){var l=e.getOriginalNode(t),u=t.initializer||i?null!==(a=e.visitNode(t.initializer,h,e.isExpression))&&void 0!==a?a:s.createVoidZero():e.isParameterPropertyDeclaration(l,l.parent)&&e.isIdentifier(o)?o:s.createVoidZero();if(i||e.isPrivateIdentifier(o)){var d=e.createMemberAccessForPropertyName(s,r,o,o);return s.createAssignment(d,u)}var p=e.isComputedPropertyName(o)?o.expression:e.isIdentifier(o)?s.createStringLiteral(e.unescapeLeadingUnderscores(o.escapedText)):o,f=s.createPropertyDescriptor({value:u,configurable:!0,writable:!0,enumerable:!0});return s.createObjectDefinePropertyCall(r,p,f)}}function k(){return a||(a=[])}function O(n){var t=e.getTextOfPropertyName(n),r=s.createUniqueName("_"+t.substring(1),24);c(r),(g||(g=new e.Map)).set(n.escapedText,{placement:0,weakMapName:r}),k().push(s.createAssignment(r,s.createNewExpression(s.createIdentifier("WeakMap"),void 0,[])))}function P(e){if(g&&(t=g.get(e.escapedText)))return t;for(var n=y.length-1;n>=0;--n){var t,r=y[n];if(r)if(t=r.get(e.escapedText))return t}}function M(t){var r=s.getGeneratedNameForNode(t),a=P(t.name);if(!a)return e.visitEachChild(t,h,n);var i=t.expression;return(e.isThisProperty(t)||e.isSuperProperty(t)||!e.isSimpleCopiableExpression(t.expression))&&(i=s.createTempVariable(c,!0),k().push(s.createBinaryExpression(i,62,t.expression))),s.createPropertyAccessExpression(s.createParenthesizedExpression(s.createObjectLiteralExpression([s.createSetAccessorDeclaration(void 0,void 0,"value",[s.createParameterDeclaration(void 0,void 0,void 0,r,void 0,void 0,void 0)],s.createBlock([s.createExpressionStatement(A(a,i,r,62))]))])),"value")}function w(n){var t=e.getTargetOfBindingOrAssignmentElement(n);if(t&&e.isPrivateIdentifierPropertyAccessExpression(t)){var r=M(t);return e.isAssignmentExpression(n)?s.updateBinaryExpression(n,r,n.operatorToken,e.visitNode(n.right,h,e.isExpression)):e.isSpreadElement(n)?s.updateSpreadElement(n,r):r}return e.visitNode(n,v)}function F(n){if(e.isPropertyAssignment(n)){var t=e.getTargetOfBindingOrAssignmentElement(n);if(t&&e.isPrivateIdentifierPropertyAccessExpression(t)){var r=e.getInitializerOfBindingOrAssignmentElement(n),a=M(t);return s.updatePropertyAssignment(n,e.visitNode(n.name,h),r?s.createAssignment(a,e.visitNode(r,h)):a)}return s.updatePropertyAssignment(n,e.visitNode(n.name,h),e.visitNode(n.initializer,v))}return e.visitNode(n,h)}}}(p||(p={})),function(e){var n,t;function r(n,t,r,a){var i=0!=(4096&t.getNodeCheckFlags(r)),o=[];return a.forEach((function(t,r){var a=e.unescapeLeadingUnderscores(r),s=[];s.push(n.createPropertyAssignment("get",n.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(n.createPropertyAccessExpression(e.setEmitFlags(n.createSuper(),4),a),4)))),i&&s.push(n.createPropertyAssignment("set",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,n.createAssignment(e.setEmitFlags(n.createPropertyAccessExpression(e.setEmitFlags(n.createSuper(),4),a),4),n.createIdentifier("v"))))),o.push(n.createPropertyAssignment(a,n.createObjectLiteralExpression(s)))})),n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createUniqueName("_super",48),void 0,void 0,n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"create"),void 0,[n.createNull(),n.createObjectLiteralExpression(o,!0)]))],2))}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),function(e){e[e.NonTopLevel=1]="NonTopLevel",e[e.HasLexicalThis=2]="HasLexicalThis"}(t||(t={})),e.transformES2017=function(n){var t,a,i,s,c=n.factory,l=n.getEmitHelperFactory,u=n.resumeLexicalEnvironment,d=n.endLexicalEnvironment,p=n.hoistVariableDeclaration,f=n.getEmitResolver(),m=n.getCompilerOptions(),_=e.getEmitScriptTarget(m),g=0,y=[],h=0,v=n.onEmitNode,b=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){if(1&t&&function(e){var n=e.kind;return 249===n||165===n||164===n||166===n||167===n}(r)){var i=6144&f.getNodeCheckFlags(r);if(i!==g){var o=g;return g=i,v(n,r,a),void(g=o)}}else if(t&&y[e.getNodeId(r)]){o=g;return g=0,v(n,r,a),void(g=o)}v(n,r,a)},n.onSubstituteNode=function(n,t){if(t=b(n,t),1===n&&g)return function(n){switch(n.kind){case 198:return U(n);case 199:return V(n);case 200:return function(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?U(t):V(t);return c.createCallExpression(c.createPropertyAccessExpression(r,"call"),void 0,o([c.createThis()],n.arguments))}return n}(n)}return n}(t);return t},e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;E(1,!1),E(2,!e.isEffectiveStrictModeSourceFile(t,m));var r=e.visitEachChild(t,A,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function E(e,n){h=n?h|e:h&~e}function T(e){return 0!=(h&e)}function S(){return T(2)}function L(e,n,t){var r=e&~h;if(r){E(r,!0);var a=n(t);return E(r,!1),a}return n(t)}function x(t){return e.visitEachChild(t,A,n)}function A(t){if(0==(64&t.transformFlags))return t;switch(t.kind){case 129:return;case 210:return function(t){if(!T(1))return e.visitEachChild(t,A,n);return e.setOriginalNode(e.setTextRange(c.createYieldExpression(void 0,e.visitNode(t.expression,A,e.isExpression)),t),t)}(t);case 164:return L(3,C,t);case 248:return L(3,I,t);case 205:return L(3,N,t);case 206:return L(1,R,t);case 198:return i&&e.isPropertyAccessExpression(t)&&105===t.expression.kind&&i.add(t.name.escapedText),e.visitEachChild(t,A,n);case 199:return i&&105===t.expression.kind&&(s=!0),e.visitEachChild(t,A,n);case 166:case 167:case 165:case 249:case 218:return L(3,x,t);default:return e.visitEachChild(t,A,n)}}function D(t){if(e.isNodeWithPossibleHoistedDeclaration(t))switch(t.kind){case 229:return function(t){if(O(t.declarationList)){var r=P(t.declarationList,!1);return r?c.createExpressionStatement(r):void 0}return e.visitEachChild(t,A,n)}(t);case 234:return function(n){var t=n.initializer;return c.updateForStatement(n,O(t)?P(t,!1):e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.condition,A,e.isExpression),e.visitNode(n.incrementor,A,e.isExpression),e.visitNode(n.statement,D,e.isStatement,c.liftToBlock))}(t);case 235:return function(n){return c.updateForInStatement(n,O(n.initializer)?P(n.initializer,!0):e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.expression,A,e.isExpression),e.visitNode(n.statement,D,e.isStatement,c.liftToBlock))}(t);case 236:return function(n){return c.updateForOfStatement(n,e.visitNode(n.awaitModifier,A,e.isToken),O(n.initializer)?P(n.initializer,!0):e.visitNode(n.initializer,A,e.isForInitializer),e.visitNode(n.expression,A,e.isExpression),e.visitNode(n.statement,D,e.isStatement,c.liftToBlock))}(t);case 284:return function(t){var r,i=new e.Set;if(k(t.variableDeclaration,i),i.forEach((function(n,t){a.has(t)&&(r||(r=new e.Set(a)),r.delete(t))})),r){var o=a;a=r;var s=e.visitEachChild(t,D,n);return a=o,s}return e.visitEachChild(t,D,n)}(t);case 227:case 241:case 255:case 281:case 282:case 244:case 232:case 233:case 231:case 240:case 242:return e.visitEachChild(t,D,n);default:return e.Debug.assertNever(t,"Unhandled node.")}return A(t)}function C(t){return c.updateMethodDeclaration(t,void 0,e.visitNodes(t.modifiers,A,e.isModifier),t.asteriskToken,t.name,void 0,void 0,e.visitParameterList(t.parameters,A,n),void 0,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function I(t){return c.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,A,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,A,n),void 0,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function N(t){return c.updateFunctionExpression(t,e.visitNodes(t.modifiers,A,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,A,n),void 0,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function R(t){return c.updateArrowFunction(t,e.visitNodes(t.modifiers,A,e.isModifier),void 0,e.visitParameterList(t.parameters,A,n),void 0,t.equalsGreaterThanToken,2&e.getFunctionFlags(t)?G(t):e.visitFunctionBody(t.body,A,n))}function k(n,t){var r=n.name;if(e.isIdentifier(r))t.add(r.escapedText);else for(var a=0,i=r.elements;a<i.length;a++){var o=i[a];e.isOmittedExpression(o)||k(o,t)}}function O(n){return!!n&&e.isVariableDeclarationList(n)&&!(3&n.flags)&&n.declarations.some(F)}function P(n,t){!function(n){e.forEach(n.declarations,M)}(n);var r=e.getInitializedVariables(n);return 0===r.length?t?e.visitNode(c.converters.convertToAssignmentElementTarget(n.declarations[0].name),A,e.isExpression):void 0:c.inlineExpressions(e.map(r,w))}function M(n){var t=n.name;if(e.isIdentifier(t))p(t);else for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];e.isOmittedExpression(i)||M(i)}}function w(n){var t=e.setSourceMapRange(c.createAssignment(c.converters.convertToAssignmentElementTarget(n.name),n.initializer),n);return e.visitNode(t,A,e.isExpression)}function F(n){var t=n.name;if(e.isIdentifier(t))return a.has(t.escapedText);for(var r=0,i=t.elements;r<i.length;r++){var o=i[r];if(!e.isOmittedExpression(o)&&F(o))return!0}return!1}function G(o){u();var p=e.getOriginalNode(o,e.isFunctionLike).type,m=_<2?function(n){var t=n&&e.getEntityNameFromTypeNode(n);if(t&&e.isEntityName(t)){var r=f.getTypeReferenceSerializationKind(t);if(r===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||r===e.TypeReferenceSerializationKind.Unknown)return t}return}(p):void 0,g=206===o.kind,h=0!=(8192&f.getNodeCheckFlags(o)),v=a;a=new e.Set;for(var b=0,E=o.parameters;b<E.length;b++){k(E[b],a)}var T,L=i,x=s;if(g||(i=new e.Set,s=!1),g){var D=l().createAwaiterHelper(S(),h,m,B(o.body)),C=d();if(e.some(C)){P=c.converters.convertToFunctionBlock(D);T=c.updateBlock(P,e.setTextRange(c.createNodeArray(e.concatenate(C,P.statements)),P.statements))}else T=D}else{var I=[],N=c.copyPrologue(o.body.statements,I,!1,A);I.push(c.createReturnStatement(l().createAwaiterHelper(S(),h,m,B(o.body,N)))),e.insertStatementsAfterStandardPrologue(I,d());var R=_>=2&&6144&f.getNodeCheckFlags(o);if(R&&(0==(1&t)&&(t|=1,n.enableSubstitution(200),n.enableSubstitution(198),n.enableSubstitution(199),n.enableEmitNotification(249),n.enableEmitNotification(164),n.enableEmitNotification(166),n.enableEmitNotification(167),n.enableEmitNotification(165),n.enableEmitNotification(229)),i.size)){var O=r(c,f,o,i);y[e.getNodeId(O)]=!0,e.insertStatementsAfterStandardPrologue(I,[O])}var P=c.createBlock(I,!0);e.setTextRange(P,o.body),R&&s&&(4096&f.getNodeCheckFlags(o)?e.addEmitHelper(P,e.advancedAsyncSuperHelper):2048&f.getNodeCheckFlags(o)&&e.addEmitHelper(P,e.asyncSuperHelper)),T=P}return a=v,g||(i=L,s=x),T}function B(n,t){return e.isBlock(n)?c.updateBlock(n,e.visitNodes(n.statements,D,e.isStatement,t)):c.converters.convertToFunctionBlock(e.visitNode(n,D,e.isConciseBody))}function U(n){return 105===n.expression.kind?e.setTextRange(c.createPropertyAccessExpression(c.createUniqueName("_super",48),n.name),n):n}function V(n){return 105===n.expression.kind?(t=n.argumentExpression,r=n,4096&g?e.setTextRange(c.createPropertyAccessExpression(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[t]),"value"),r):e.setTextRange(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[t]),r)):n;var t,r}},e.createSuperAccessVariableStatement=r}(p||(p={})),function(e){var n,t;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),function(e){e[e.None=0]="None",e[e.HasLexicalThis=1]="HasLexicalThis",e[e.IterationContainer=2]="IterationContainer",e[e.AncestorFactsMask=3]="AncestorFactsMask",e[e.SourceFileIncludes=1]="SourceFileIncludes",e[e.SourceFileExcludes=2]="SourceFileExcludes",e[e.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",e[e.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",e[e.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",e[e.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",e[e.IterationStatementIncludes=2]="IterationStatementIncludes",e[e.IterationStatementExcludes=0]="IterationStatementExcludes"}(t||(t={})),e.transformES2018=function(n){var t=n.factory,r=n.getEmitHelperFactory,a=n.resumeLexicalEnvironment,i=n.endLexicalEnvironment,s=n.hoistVariableDeclaration,c=n.getEmitResolver(),l=n.getCompilerOptions(),u=e.getEmitScriptTarget(l),d=n.onEmitNode;n.onEmitNode=function(n,t,r){if(1&f&&function(e){var n=e.kind;return 249===n||165===n||164===n||166===n||167===n}(t)){var a=6144&c.getNodeCheckFlags(t);if(a!==b){var i=b;return b=a,d(n,t,r),void(b=i)}}else if(f&&T[e.getNodeId(t)]){i=b;return b=0,d(n,t,r),void(b=i)}d(n,t,r)};var p=n.onSubstituteNode;n.onSubstituteNode=function(n,r){if(r=p(n,r),1===n&&b)return function(n){switch(n.kind){case 198:return q(n);case 199:return z(n);case 200:return function(n){var r=n.expression;if(e.isSuperProperty(r)){var a=e.isPropertyAccessExpression(r)?q(r):z(r);return t.createCallExpression(t.createPropertyAccessExpression(a,"call"),void 0,o([t.createThis()],n.arguments))}return n}(n)}return n}(r);return r};var f,m,_,g,y,h,v=!1,b=0,E=0,T=[];return e.chainBundle(n,(function(r){if(r.isDeclarationFile)return r;_=r;var a=function(r){var a=S(2,e.isEffectiveStrictModeSourceFile(r,l)?0:1);v=!1;var i=e.visitEachChild(r,A,n),o=e.concatenate(i.statements,g&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(g))]),s=t.updateSourceFile(i,e.setTextRange(t.createNodeArray(o),r.statements));return L(a),s}(r);return e.addEmitHelpers(a,n.readEmitHelpers()),_=void 0,g=void 0,a}));function S(e,n){var t=E;return E=3&(E&~e|n),t}function L(e){E=e}function x(n){g=e.append(g,t.createVariableDeclaration(n))}function A(e){return R(e,!1)}function D(e){return R(e,!0)}function C(e){if(129!==e.kind)return e}function I(e,n,t,r){if(function(e,n){return E!==(E&~e|n)}(t,r)){var a=S(t,r),i=e(n);return L(a),i}return e(n)}function N(t){return e.visitEachChild(t,A,n)}function R(a,i){if(0==(32&a.transformFlags))return a;switch(a.kind){case 210:return function(a){if(2&m&&1&m)return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,r().createAwaitHelper(e.visitNode(a.expression,A,e.isExpression))),a),a);return e.visitEachChild(a,A,n)}(a);case 216:return function(a){if(2&m&&1&m){if(a.asteriskToken){var i=e.visitNode(e.Debug.assertDefined(a.expression),A,e.isExpression);return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,r().createAwaitHelper(t.updateYieldExpression(a,a.asteriskToken,e.setTextRange(r().createAsyncDelegatorHelper(e.setTextRange(r().createAsyncValuesHelper(i),i)),i)))),a),a)}return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,M(a.expression?e.visitNode(a.expression,A,e.isExpression):t.createVoidZero())),a),a)}return e.visitEachChild(a,A,n)}(a);case 239:return function(r){if(2&m&&1&m)return t.updateReturnStatement(r,M(r.expression?e.visitNode(r.expression,A,e.isExpression):t.createVoidZero()));return e.visitEachChild(r,A,n)}(a);case 242:return function(r){if(2&m){var a=e.unwrapInnermostStatementOfLabel(r);return 236===a.kind&&a.awaitModifier?P(a,r):t.restoreEnclosingLabel(e.visitNode(a,A,e.isStatement,t.liftToBlock),r)}return e.visitEachChild(r,A,n)}(a);case 197:return function(a){if(16384&a.transformFlags){var i=function(n){for(var r,a=[],i=0,o=n;i<o.length;i++){var s=o[i];if(287===s.kind){r&&(a.push(t.createObjectLiteralExpression(r)),r=void 0);var c=s.expression;a.push(e.visitNode(c,A,e.isExpression))}else r=e.append(r,285===s.kind?t.createPropertyAssignment(s.name,e.visitNode(s.initializer,A,e.isExpression)):e.visitNode(s,A,e.isObjectLiteralElementLike))}r&&a.push(t.createObjectLiteralExpression(r));return a}(a.properties);i.length&&197!==i[0].kind&&i.unshift(t.createObjectLiteralExpression());var o=i[0];if(i.length>1){for(var s=1;s<i.length;s++)o=r().createAssignHelper([o,i[s]]);return o}return r().createAssignHelper(i)}return e.visitEachChild(a,A,n)}(a);case 213:return function(r,a){if(e.isDestructuringAssignment(r)&&16384&r.left.transformFlags)return e.flattenDestructuringAssignment(r,A,n,1,!a);if(27===r.operatorToken.kind)return t.updateBinaryExpression(r,e.visitNode(r.left,D,e.isExpression),r.operatorToken,e.visitNode(r.right,a?D:A,e.isExpression));return e.visitEachChild(r,A,n)}(a,i);case 284:return function(r){if(r.variableDeclaration&&e.isBindingPattern(r.variableDeclaration.name)&&16384&r.variableDeclaration.name.transformFlags){var a=t.getGeneratedNameForNode(r.variableDeclaration.name),i=t.updateVariableDeclaration(r.variableDeclaration,r.variableDeclaration.name,void 0,void 0,a),s=e.flattenDestructuringBinding(i,A,n,1),c=e.visitNode(r.block,A,e.isBlock);return e.some(s)&&(c=t.updateBlock(c,o([t.createVariableStatement(void 0,s)],c.statements))),t.updateCatchClause(r,t.updateVariableDeclaration(r.variableDeclaration,a,void 0,void 0,void 0),c)}return e.visitEachChild(r,A,n)}(a);case 229:return function(t){if(e.hasSyntacticModifier(t,1)){var r=v;v=!0;var a=e.visitEachChild(t,A,n);return v=r,a}return e.visitEachChild(t,A,n)}(a);case 246:return function(e){if(v){var n=v;v=!1;var t=k(e,!0);return v=n,t}return k(e,!1)}(a);case 232:case 233:case 235:return I(N,a,0,2);case 236:return P(a,void 0);case 234:return I(O,a,0,2);case 209:return function(t){return e.visitEachChild(t,D,n)}(a);case 165:return I(w,a,2,1);case 164:return I(B,a,2,1);case 166:return I(F,a,2,1);case 167:return I(G,a,2,1);case 248:return I(U,a,2,1);case 205:return I(j,a,2,1);case 206:return I(V,a,2,0);case 159:return function(r){if(16384&r.transformFlags)return t.updateParameterDeclaration(r,void 0,void 0,r.dotDotDotToken,t.getGeneratedNameForNode(r),void 0,void 0,e.visitNode(r.initializer,A,e.isExpression));return e.visitEachChild(r,A,n)}(a);case 230:return function(t){return e.visitEachChild(t,D,n)}(a);case 204:return function(t,r){return e.visitEachChild(t,r?D:A,n)}(a,i);case 202:return function(t){return e.processTaggedTemplateExpression(n,t,A,_,x,e.ProcessLevel.LiftRestriction)}(a);case 198:return y&&e.isPropertyAccessExpression(a)&&105===a.expression.kind&&y.add(a.name.escapedText),e.visitEachChild(a,A,n);case 199:return y&&105===a.expression.kind&&(h=!0),e.visitEachChild(a,A,n);case 249:case 218:return I(N,a,2,1);default:return e.visitEachChild(a,A,n)}}function k(t,r){return e.isBindingPattern(t.name)&&16384&t.name.transformFlags?e.flattenDestructuringBinding(t,A,n,1,void 0,r):e.visitEachChild(t,A,n)}function O(n){return t.updateForStatement(n,e.visitNode(n.initializer,D,e.isForInitializer),e.visitNode(n.condition,A,e.isExpression),e.visitNode(n.incrementor,A,e.isExpression),e.visitNode(n.statement,A,e.isStatement))}function P(a,i){var o=S(0,2);16384&a.initializer.transformFlags&&(a=function(n){var r=e.skipParentheses(n.initializer);if(e.isVariableDeclarationList(r)||e.isAssignmentPattern(r)){var a=void 0,i=void 0,o=t.createTempVariable(void 0),s=[e.createForOfBindingStatement(t,r,o)];return e.isBlock(n.statement)?(e.addRange(s,n.statement.statements),a=n.statement,i=n.statement.statements):n.statement&&(e.append(s,n.statement),a=n.statement,i=n.statement),t.updateForOfStatement(n,n.awaitModifier,e.setTextRange(t.createVariableDeclarationList([e.setTextRange(t.createVariableDeclaration(o),n.initializer)],1),n.initializer),n.expression,e.setTextRange(t.createBlock(e.setTextRange(t.createNodeArray(s),i),!0),a))}return n}(a));var c=a.awaitModifier?function(n,a,i){var o=e.visitNode(n.expression,A,e.isExpression),c=e.isIdentifier(o)?t.getGeneratedNameForNode(o):t.createTempVariable(void 0),l=e.isIdentifier(o)?t.getGeneratedNameForNode(c):t.createTempVariable(void 0),u=t.createUniqueName("e"),d=t.getGeneratedNameForNode(u),p=t.createTempVariable(void 0),f=e.setTextRange(r().createAsyncValuesHelper(o),n.expression),m=t.createCallExpression(t.createPropertyAccessExpression(c,"next"),void 0,[]),_=t.createPropertyAccessExpression(l,"done"),g=t.createPropertyAccessExpression(l,"value"),y=t.createFunctionCallCall(p,c,[]);s(u),s(p);var h=2&i?t.inlineExpressions([t.createAssignment(u,t.createVoidZero()),f]):f,v=e.setEmitFlags(e.setTextRange(t.createForStatement(e.setEmitFlags(e.setTextRange(t.createVariableDeclarationList([e.setTextRange(t.createVariableDeclaration(c,void 0,void 0,h),n.expression),t.createVariableDeclaration(l)]),n.expression),2097152),t.createComma(t.createAssignment(l,M(m)),t.createLogicalNot(_)),void 0,function(n,r){var a,i,o=e.createForOfBindingStatement(t,n.initializer,r),s=[e.visitNode(o,A,e.isStatement)],c=e.visitNode(n.statement,A,e.isStatement);e.isBlock(c)?(e.addRange(s,c.statements),a=c,i=c.statements):s.push(c);return e.setEmitFlags(e.setTextRange(t.createBlock(e.setTextRange(t.createNodeArray(s),i),!0),a),432)}(n,g)),n),256);return t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(v,a)]),t.createCatchClause(t.createVariableDeclaration(d),e.setEmitFlags(t.createBlock([t.createExpressionStatement(t.createAssignment(u,t.createObjectLiteralExpression([t.createPropertyAssignment("error",d)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([e.setEmitFlags(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(l,t.createLogicalNot(_)),t.createAssignment(p,t.createPropertyAccessExpression(c,"return"))),t.createExpressionStatement(M(y))),1)]),void 0,e.setEmitFlags(t.createBlock([e.setEmitFlags(t.createIfStatement(u,t.createThrowStatement(t.createPropertyAccessExpression(u,"error"))),1)]),1))]))}(a,i,o):t.restoreEnclosingLabel(e.visitEachChild(a,A,n),i);return L(o),c}function M(e){return 1&m?t.createYieldExpression(void 0,r().createAwaitHelper(e)):t.createAwaitExpression(e)}function w(r){var a=m;m=0;var i=t.updateConstructorDeclaration(r,void 0,r.modifiers,e.visitParameterList(r.parameters,A,n),H(r));return m=a,i}function F(r){var a=m;m=0;var i=t.updateGetAccessorDeclaration(r,void 0,r.modifiers,e.visitNode(r.name,A,e.isPropertyName),e.visitParameterList(r.parameters,A,n),void 0,H(r));return m=a,i}function G(r){var a=m;m=0;var i=t.updateSetAccessorDeclaration(r,void 0,r.modifiers,e.visitNode(r.name,A,e.isPropertyName),e.visitParameterList(r.parameters,A,n),H(r));return m=a,i}function B(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateMethodDeclaration(r,void 0,1&m?e.visitNodes(r.modifiers,C,e.isModifier):r.modifiers,2&m?void 0:r.asteriskToken,e.visitNode(r.name,A,e.isPropertyName),e.visitNode(void 0,A,e.isToken),void 0,e.visitParameterList(r.parameters,A,n),void 0,2&m&&1&m?K(r):H(r));return m=a,i}function U(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateFunctionDeclaration(r,void 0,1&m?e.visitNodes(r.modifiers,C,e.isModifier):r.modifiers,2&m?void 0:r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,A,n),void 0,2&m&&1&m?K(r):H(r));return m=a,i}function V(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateArrowFunction(r,r.modifiers,void 0,e.visitParameterList(r.parameters,A,n),void 0,r.equalsGreaterThanToken,H(r));return m=a,i}function j(r){var a=m;m=e.getFunctionFlags(r);var i=t.updateFunctionExpression(r,1&m?e.visitNodes(r.modifiers,C,e.isModifier):r.modifiers,2&m?void 0:r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,A,n),void 0,2&m&&1&m?K(r):H(r));return m=a,i}function K(o){a();var s=[],l=t.copyPrologue(o.body.statements,s,!1,A);W(s,o);var d=y,p=h;y=new e.Set,h=!1;var m=t.createReturnStatement(r().createAsyncGeneratorHelper(t.createFunctionExpression(void 0,t.createToken(41),o.name&&t.getGeneratedNameForNode(o.name),void 0,[],void 0,t.updateBlock(o.body,e.visitLexicalEnvironment(o.body.statements,A,n,l))),!!(1&E))),_=u>=2&&6144&c.getNodeCheckFlags(o);if(_){0==(1&f)&&(f|=1,n.enableSubstitution(200),n.enableSubstitution(198),n.enableSubstitution(199),n.enableEmitNotification(249),n.enableEmitNotification(164),n.enableEmitNotification(166),n.enableEmitNotification(167),n.enableEmitNotification(165),n.enableEmitNotification(229));var g=e.createSuperAccessVariableStatement(t,c,o,y);T[e.getNodeId(g)]=!0,e.insertStatementsAfterStandardPrologue(s,[g])}s.push(m),e.insertStatementsAfterStandardPrologue(s,i());var v=t.updateBlock(o.body,s);return _&&h&&(4096&c.getNodeCheckFlags(o)?e.addEmitHelper(v,e.advancedAsyncSuperHelper):2048&c.getNodeCheckFlags(o)&&e.addEmitHelper(v,e.asyncSuperHelper)),y=d,h=p,v}function H(n){var r;a();var o=0,s=[],c=null!==(r=e.visitNode(n.body,A,e.isConciseBody))&&void 0!==r?r:t.createBlock([]);e.isBlock(c)&&(o=t.copyPrologue(c.statements,s,!1,A)),e.addRange(s,W(void 0,n));var l=i();if(o>0||e.some(s)||e.some(l)){var u=t.converters.convertToFunctionBlock(c,!0);return e.insertStatementsAfterStandardPrologue(s,l),e.addRange(s,u.statements.slice(o)),t.updateBlock(u,e.setTextRange(t.createNodeArray(s),u.statements))}return c}function W(r,a){for(var i=0,o=a.parameters;i<o.length;i++){var s=o[i];if(16384&s.transformFlags){var c=t.getGeneratedNameForNode(s),l=e.flattenDestructuringBinding(s,A,n,1,c,!1,!0);if(e.some(l)){var u=t.createVariableStatement(void 0,t.createVariableDeclarationList(l));e.setEmitFlags(u,1048576),r=e.append(r,u)}}}return r}function q(n){return 105===n.expression.kind?e.setTextRange(t.createPropertyAccessExpression(t.createUniqueName("_super",48),n.name),n):n}function z(n){return 105===n.expression.kind?(r=n.argumentExpression,a=n,4096&b?e.setTextRange(t.createPropertyAccessExpression(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[r]),"value"),a):e.setTextRange(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[r]),a)):n;var r,a}}}(p||(p={})),function(e){e.transformES2019=function(n){var t=n.factory;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,r,n)}));function r(a){if(0==(16&a.transformFlags))return a;switch(a.kind){case 284:return function(a){if(!a.variableDeclaration)return t.updateCatchClause(a,t.createVariableDeclaration(t.createTempVariable(void 0)),e.visitNode(a.block,r,e.isBlock));return e.visitEachChild(a,r,n)}(a);default:return e.visitEachChild(a,r,n)}}}}(p||(p={})),function(e){e.transformES2020=function(n){var t=n.factory,r=n.hoistVariableDeclaration;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(c){if(0==(8&c.transformFlags))return c;switch(c.kind){case 198:case 199:case 200:if(32&c.flags){var l=o(c,!1,!1);return e.Debug.assertNotNode(l,e.isSyntheticReference),l}return e.visitEachChild(c,a,n);case 213:return 60===c.operatorToken.kind?function(n){var i=e.visitNode(n.left,a,e.isExpression),o=i;e.isSimpleCopiableExpression(i)||(o=t.createTempVariable(r),i=t.createAssignment(o,i));return t.createConditionalExpression(s(i,o),void 0,o,void 0,e.visitNode(n.right,a,e.isExpression))}(c):e.visitEachChild(c,a,n);case 207:return function(n){return e.isOptionalChain(e.skipParentheses(n.expression))?e.setOriginalNode(i(n.expression,!1,!0),n):t.updateDeleteExpression(n,e.visitNode(n.expression,a,e.isExpression))}(c);default:return e.visitEachChild(c,a,n)}}function i(s,c,l){switch(s.kind){case 204:return function(n,r,a){var o=i(n.expression,r,a);return e.isSyntheticReference(o)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(n,o.expression),o.thisArg):t.updateParenthesizedExpression(n,o)}(s,c,l);case 198:case 199:return function(n,i,s){if(e.isOptionalChain(n))return o(n,i,s);var c,l=e.visitNode(n.expression,a,e.isExpression);return e.Debug.assertNotNode(l,e.isSyntheticReference),i&&(e.isSimpleCopiableExpression(l)?c=l:(c=t.createTempVariable(r),l=t.createAssignment(c,l))),l=198===n.kind?t.updatePropertyAccessExpression(n,l,e.visitNode(n.name,a,e.isIdentifier)):t.updateElementAccessExpression(n,l,e.visitNode(n.argumentExpression,a,e.isExpression)),c?t.createSyntheticReferenceExpression(l,c):l}(s,c,l);case 200:return function(t,r){return e.isOptionalChain(t)?o(t,r,!1):e.visitEachChild(t,a,n)}(s,c);default:return e.visitNode(s,a,e.isExpression)}}function o(n,o,c){var l=function(n){e.Debug.assertNotNode(n,e.isNonNullChain);for(var t=[n];!n.questionDotToken&&!e.isTaggedTemplateExpression(n);)n=e.cast(e.skipPartiallyEmittedExpressions(n.expression),e.isOptionalChain),e.Debug.assertNotNode(n,e.isNonNullChain),t.unshift(n);return{expression:n.expression,chain:t}}(n),u=l.expression,d=l.chain,p=i(u,e.isCallChain(d[0]),!1),f=e.isSyntheticReference(p)?p.thisArg:void 0,m=e.isSyntheticReference(p)?p.expression:p,_=m;e.isSimpleCopiableExpression(m)||(_=t.createTempVariable(r),m=t.createAssignment(_,m));for(var g,y=_,h=0;h<d.length;h++){var v=d[h];switch(v.kind){case 198:case 199:h===d.length-1&&o&&(e.isSimpleCopiableExpression(y)?g=y:(g=t.createTempVariable(r),y=t.createAssignment(g,y))),y=198===v.kind?t.createPropertyAccessExpression(y,e.visitNode(v.name,a,e.isIdentifier)):t.createElementAccessExpression(y,e.visitNode(v.argumentExpression,a,e.isExpression));break;case 200:y=0===h&&f?t.createFunctionCallCall(y,105===f.kind?t.createThis():f,e.visitNodes(v.arguments,a,e.isExpression)):t.createCallExpression(y,void 0,e.visitNodes(v.arguments,a,e.isExpression))}e.setOriginalNode(y,v)}var b=c?t.createConditionalExpression(s(m,_,!0),void 0,t.createTrue(),void 0,t.createDeleteExpression(y)):t.createConditionalExpression(s(m,_,!0),void 0,t.createVoidZero(),void 0,y);return g?t.createSyntheticReferenceExpression(b,g):b}function s(e,n,r){return t.createBinaryExpression(t.createBinaryExpression(e,t.createToken(r?36:37),t.createNull()),t.createToken(r?56:55),t.createBinaryExpression(n,t.createToken(r?36:37),t.createVoidZero()))}}}(p||(p={})),function(e){e.transformESNext=function(n){var t=n.hoistVariableDeclaration,r=n.factory;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(i){if(0==(4&i.transformFlags))return i;switch(i.kind){case 213:var o=i;if(e.isLogicalOrCoalescingAssignmentExpression(o))return function(n){var i=n.operatorToken,o=e.getNonAssignmentOperatorForCompoundAssignment(i.kind),s=e.skipParentheses(e.visitNode(n.left,a,e.isLeftHandSideExpression)),c=s,l=e.skipParentheses(e.visitNode(n.right,a,e.isExpression));if(e.isAccessExpression(s)){var u=e.isSimpleCopiableExpression(s.expression),d=u?s.expression:r.createTempVariable(t),p=u?s.expression:r.createAssignment(d,s.expression);if(e.isPropertyAccessExpression(s))c=r.createPropertyAccessExpression(d,s.name),s=r.createPropertyAccessExpression(p,s.name);else{var f=e.isSimpleCopiableExpression(s.argumentExpression),m=f?s.argumentExpression:r.createTempVariable(t);c=r.createElementAccessExpression(d,m),s=r.createElementAccessExpression(p,f?s.argumentExpression:r.createAssignment(m,s.argumentExpression))}}return r.createBinaryExpression(s,o,r.createParenthesizedExpression(r.createAssignment(c,l)))}(o);default:return e.visitEachChild(i,a,n)}}}}(p||(p={})),function(e){e.transformJsx=function(t){var r,a=t.factory,i=t.getEmitHelperFactory,o=t.getCompilerOptions();return e.chainBundle(t,(function(n){if(n.isDeclarationFile)return n;r=n;var a=e.visitEachChild(n,s,t);return e.addEmitHelpers(a,t.readEmitHelpers()),a}));function s(n){return 2&n.transformFlags?function(n){switch(n.kind){case 270:return l(n,!1);case 271:return u(n,!1);case 274:return d(n,!1);case 280:return y(n);default:return e.visitEachChild(n,s,t)}}(n):n}function c(n){switch(n.kind){case 11:return function(n){var t=function(n){for(var t,r=0,a=-1,i=0;i<n.length;i++){var o=n.charCodeAt(i);e.isLineBreak(o)?(-1!==r&&-1!==a&&(t=_(t,n.substr(r,a-r+1))),r=-1):e.isWhiteSpaceSingleLine(o)||(a=i,-1===r&&(r=i))}return-1!==r?_(t,n.substr(r)):t}(n.text);return void 0===t?void 0:a.createStringLiteral(t)}(n);case 280:return y(n);case 270:return l(n,!0);case 271:return u(n,!0);case 274:return d(n,!0);default:return e.Debug.failBadSyntaxKind(n)}}function l(e,n){return p(e.openingElement,e.children,n,e)}function u(e,n){return p(e,void 0,n,e)}function d(n,i){return function(n,i,s,l){var u=e.createExpressionForJsxFragment(a,t.getEmitResolver().getJsxFactoryEntity(r),t.getEmitResolver().getJsxFragmentFactoryEntity(r),o.reactNamespace,e.mapDefined(i,c),n,l);s&&e.startOnNewLine(u);return u}(n.openingFragment,n.children,i,n)}function p(n,s,l,u){var d,p=function n(t){if(270===t.kind)return n(t.openingElement);var r=t.tagName;return e.isIdentifier(r)&&e.isIntrinsicJsxName(r.escapedText)?a.createStringLiteral(e.idText(r)):e.createExpressionFromEntityName(a,r)}(n),_=n.attributes.properties;if(0===_.length)d=a.createNull();else{var g=e.flatten(e.spanMap(_,e.isJsxSpreadAttribute,(function(n,t){return t?e.map(n,f):a.createObjectLiteralExpression(e.map(n,m))})));e.isJsxSpreadAttribute(_[0])&&g.unshift(a.createObjectLiteralExpression()),(d=e.singleOrUndefined(g))||(d=i().createAssignHelper(g))}var y=e.createExpressionForJsxElement(a,t.getEmitResolver().getJsxFactoryEntity(r),o.reactNamespace,p,d,e.mapDefined(s,c),n,u);return l&&e.startOnNewLine(y),y}function f(n){return e.visitNode(n.expression,s,e.isExpression)}function m(n){var t=function(n){var t=n.name,r=e.idText(t);return/^[A-Za-z_]\w*$/.test(r)?t:a.createStringLiteral(r)}(n),i=function(n){if(void 0===n)return a.createTrue();if(10===n.kind){var t=void 0!==n.singleQuote?n.singleQuote:!e.isStringDoubleQuoted(n,r),i=a.createStringLiteral((o=n.text,((c=g(o))===o?void 0:c)||n.text),t);return e.setTextRange(i,n)}return 280===n.kind?void 0===n.expression?a.createTrue():e.visitNode(n.expression,s,e.isExpression):e.Debug.failBadSyntaxKind(n);var o,c}(n.initializer);return a.createPropertyAssignment(t,i)}function _(e,n){var t=g(n);return void 0===e?t:e+" "+t}function g(t){return t.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(function(t,r,a,i,o,s,c){if(o)return e.utf16EncodeAsString(parseInt(o,10));if(s)return e.utf16EncodeAsString(parseInt(s,16));var l=n.get(c);return l?e.utf16EncodeAsString(l):t}))}function y(n){return e.visitNode(n.expression,s,e.isExpression)}};var n=new e.Map(e.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}(p||(p={})),function(e){e.transformES2016=function(n){var t=n.factory,r=n.hoistVariableDeclaration;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(i){if(0==(128&i.transformFlags))return i;switch(i.kind){case 213:return function(i){switch(i.operatorToken.kind){case 66:return function(n){var i,o,s=e.visitNode(n.left,a,e.isExpression),c=e.visitNode(n.right,a,e.isExpression);if(e.isElementAccessExpression(s)){var l=t.createTempVariable(r),u=t.createTempVariable(r);i=e.setTextRange(t.createElementAccessExpression(e.setTextRange(t.createAssignment(l,s.expression),s.expression),e.setTextRange(t.createAssignment(u,s.argumentExpression),s.argumentExpression)),s),o=e.setTextRange(t.createElementAccessExpression(l,u),s)}else if(e.isPropertyAccessExpression(s)){l=t.createTempVariable(r);i=e.setTextRange(t.createPropertyAccessExpression(e.setTextRange(t.createAssignment(l,s.expression),s.expression),s.name),s),o=e.setTextRange(t.createPropertyAccessExpression(l,s.name),s)}else i=s,o=s;return e.setTextRange(t.createAssignment(i,e.setTextRange(t.createGlobalMethodCall("Math","pow",[o,c]),n)),n)}(i);case 42:return function(n){var r=e.visitNode(n.left,a,e.isExpression),i=e.visitNode(n.right,a,e.isExpression);return e.setTextRange(t.createGlobalMethodCall("Math","pow",[r,i]),n)}(i);default:return e.visitEachChild(i,a,n)}}(i);default:return e.visitEachChild(i,a,n)}}}}(p||(p={})),function(e){var n,t,r,a,i;!function(e){e[e.CapturedThis=1]="CapturedThis",e[e.BlockScopedBindings=2]="BlockScopedBindings"}(n||(n={})),function(e){e[e.Body=1]="Body",e[e.Initializer=2]="Initializer"}(t||(t={})),function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter"}(r||(r={})),function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return"}(a||(a={})),function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.ArrowFunction=2]="ArrowFunction",e[e.AsyncFunctionBody=4]="AsyncFunctionBody",e[e.NonStaticClassElement=8]="NonStaticClassElement",e[e.CapturesThis=16]="CapturesThis",e[e.ExportedVariableStatement=32]="ExportedVariableStatement",e[e.TopLevel=64]="TopLevel",e[e.Block=128]="Block",e[e.IterationStatement=256]="IterationStatement",e[e.IterationStatementBlock=512]="IterationStatementBlock",e[e.IterationContainer=1024]="IterationContainer",e[e.ForStatement=2048]="ForStatement",e[e.ForInOrForOfStatement=4096]="ForInOrForOfStatement",e[e.ConstructorWithCapturedSuper=8192]="ConstructorWithCapturedSuper",e[e.AncestorFactsMask=16383]="AncestorFactsMask",e[e.BlockScopeIncludes=0]="BlockScopeIncludes",e[e.BlockScopeExcludes=7104]="BlockScopeExcludes",e[e.SourceFileIncludes=64]="SourceFileIncludes",e[e.SourceFileExcludes=8064]="SourceFileExcludes",e[e.FunctionIncludes=65]="FunctionIncludes",e[e.FunctionExcludes=16286]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=16278]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=15232]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=16278]="ConstructorExcludes",e[e.DoOrWhileStatementIncludes=1280]="DoOrWhileStatementIncludes",e[e.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",e[e.ForStatementIncludes=3328]="ForStatementIncludes",e[e.ForStatementExcludes=5056]="ForStatementExcludes",e[e.ForInOrForOfStatementIncludes=5376]="ForInOrForOfStatementIncludes",e[e.ForInOrForOfStatementExcludes=3008]="ForInOrForOfStatementExcludes",e[e.BlockIncludes=128]="BlockIncludes",e[e.BlockExcludes=6976]="BlockExcludes",e[e.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",e[e.IterationStatementBlockExcludes=7104]="IterationStatementBlockExcludes",e[e.NewTarget=16384]="NewTarget",e[e.CapturedLexicalThis=32768]="CapturedLexicalThis",e[e.SubtreeFactsMask=-16384]="SubtreeFactsMask",e[e.ArrowFunctionSubtreeExcludes=0]="ArrowFunctionSubtreeExcludes",e[e.FunctionSubtreeExcludes=49152]="FunctionSubtreeExcludes"}(i||(i={})),e.transformES2015=function(n){var t,r,a,i,s,c,l=n.factory,u=n.getEmitHelperFactory,d=n.startLexicalEnvironment,p=n.resumeLexicalEnvironment,f=n.endLexicalEnvironment,m=n.hoistVariableDeclaration,_=n.getCompilerOptions(),g=n.getEmitResolver(),y=n.onSubstituteNode,h=n.onEmitNode;function v(n){i=e.append(i,l.createVariableDeclaration(n))}return n.onEmitNode=function(n,t,r){if(1&c&&e.isFunctionLike(t)){var a=b(16286,8&e.getEmitFlags(t)?81:65);return h(n,t,r),void E(a,0,0)}h(n,t,r)},n.onSubstituteNode=function(n,t){if(t=y(n,t),1===n)return function(n){switch(n.kind){case 78:return function(n){if(2&c&&!e.isInternalName(n)){var t=g.getReferencedDeclarationWithCollidingName(n);if(t&&(!e.isClassLike(t)||!function(n,t){var r=e.getParseTreeNode(t);if(!r||r===n||r.end<=n.pos||r.pos>=n.end)return!1;var a=e.getEnclosingBlockScopeContainer(n);for(;r;){if(r===a||r===n)return!1;if(e.isClassElement(r)&&r.parent===n)return!0;r=r.parent}return!1}(t,n)))return e.setTextRange(l.getGeneratedNameForNode(e.getNameOfDeclaration(t)),n)}return n}(n);case 107:return function(n){if(1&c&&16&a)return e.setTextRange(l.createUniqueName("_this",48),n);return n}(n)}return n}(t);if(e.isIdentifier(t))return function(n){if(2&c&&!e.isInternalName(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t&&function(e){switch(e.parent.kind){case 195:case 249:case 252:case 246:return e.parent.name===e&&g.isDeclarationWithCollidingName(e.parent)}return!1}(t))return e.setTextRange(l.getGeneratedNameForNode(t),n)}return n}(t);return t},e.chainBundle(n,(function(o){if(o.isDeclarationFile)return o;t=o,r=o.text;var s=function(n){var t=b(8064,64),r=[],a=[];d();var o=l.copyPrologue(n.statements,r,!1,L);e.addRange(a,e.visitNodes(n.statements,L,e.isStatement,o)),i&&a.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(i)));return l.mergeLexicalEnvironment(r,f()),w(r,n),E(t,0,0),l.updateSourceFile(n,e.setTextRange(l.createNodeArray(e.concatenate(r,a)),n.statements))}(o);return e.addEmitHelpers(s,n.readEmitHelpers()),t=void 0,r=void 0,i=void 0,a=0,s}));function b(e,n){var t=a;return a=16383&(a&~e|n),t}function E(e,n,t){a=-16384&(a&~n|t)|e}function T(e){return 0!=(8192&a)&&239===e.kind&&!e.expression}function S(n){return 0!=(256&n.transformFlags)||void 0!==s||8192&a&&function(n){return 1048576&n.transformFlags&&(e.isReturnStatement(n)||e.isIfStatement(n)||e.isWithStatement(n)||e.isSwitchStatement(n)||e.isCaseBlock(n)||e.isCaseClause(n)||e.isDefaultClause(n)||e.isTryStatement(n)||e.isCatchClause(n)||e.isLabeledStatement(n)||e.isIterationStatement(n,!1)||e.isBlock(n))}(n)||e.isIterationStatement(n,!1)&&le(n)||0!=(33554432&e.getEmitFlags(n))}function L(r){return S(r)?function(r){switch(r.kind){case 123:return;case 249:return function(n){var t=l.createVariableDeclaration(l.getLocalName(n,!0),void 0,void 0,C(n));e.setOriginalNode(t,n);var r=[],a=l.createVariableStatement(void 0,l.createVariableDeclarationList([t]));if(e.setOriginalNode(a,n),e.setTextRange(a,n),e.startOnNewLine(a),r.push(a),e.hasSyntacticModifier(n,1)){var i=e.hasSyntacticModifier(n,512)?l.createExportDefault(l.getLocalName(n)):l.createExternalModuleExport(l.getLocalName(n));e.setOriginalNode(i,a),r.push(i)}var o=e.getEmitFlags(n);0==(4194304&o)&&(r.push(l.createEndOfDeclarationMarker(n)),e.setEmitFlags(a,4194304|o));return e.singleOrMany(r)}(r);case 218:return function(e){return C(e)}(r);case 159:return function(n){return n.dotDotDotToken?void 0:e.isBindingPattern(n.name)?e.setOriginalNode(e.setTextRange(l.createParameterDeclaration(void 0,void 0,void 0,l.getGeneratedNameForNode(n),void 0,void 0,void 0),n),n):n.initializer?e.setOriginalNode(e.setTextRange(l.createParameterDeclaration(void 0,void 0,void 0,n.name,void 0,void 0,void 0),n),n):n}(r);case 248:return function(t){var r=s;s=void 0;var i=b(16286,65),o=e.visitParameterList(t.parameters,L,n),c=H(t),u=16384&a?l.getLocalName(t):t.name;return E(i,49152,0),s=r,l.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,L,e.isModifier),t.asteriskToken,u,void 0,o,void 0,c)}(r);case 206:return function(t){4096&t.transformFlags&&(a|=32768);var r=s;s=void 0;var i=b(15232,66),o=l.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(t.parameters,L,n),void 0,H(t));e.setTextRange(o,t),e.setOriginalNode(o,t),e.setEmitFlags(o,8),32768&a&&ke();return E(i,0,0),s=r,o}(r);case 205:return function(t){var r=262144&e.getEmitFlags(t)?b(16278,69):b(16286,65),i=s;s=void 0;var o=e.visitParameterList(t.parameters,L,n),c=H(t),u=16384&a?l.getLocalName(t):t.name;return E(r,49152,0),s=i,l.updateFunctionExpression(t,void 0,t.asteriskToken,u,void 0,o,void 0,c)}(r);case 246:return J(r);case 78:return D(r);case 247:return function(t){if(3&t.flags||131072&t.transformFlags){3&t.flags&&Re();var r=e.flatMap(t.declarations,1&t.flags?z:J),a=l.createVariableDeclarationList(r);return e.setOriginalNode(a,t),e.setTextRange(a,t),e.setCommentRange(a,t),131072&t.transformFlags&&(e.isBindingPattern(t.declarations[0].name)||e.isBindingPattern(e.last(t.declarations).name))&&e.setSourceMapRange(a,function(n){for(var t=-1,r=-1,a=0,i=n;a<i.length;a++){var o=i[a];t=-1===t?o.pos:-1===o.pos?t:Math.min(t,o.pos),r=Math.max(r,o.end)}return e.createRange(t,r)}(r)),a}return e.visitEachChild(t,L,n)}(r);case 241:return function(t){if(void 0!==s){var r=s.allowedNonLabeledJumps;s.allowedNonLabeledJumps|=2;var a=e.visitEachChild(t,L,n);return s.allowedNonLabeledJumps=r,a}return e.visitEachChild(t,L,n)}(r);case 255:return function(t){var r=b(7104,0),a=e.visitEachChild(t,L,n);return E(r,0,0),a}(r);case 227:return function(t,r){if(r)return e.visitEachChild(t,L,n);var i=256&a?b(7104,512):b(6976,128),o=e.visitEachChild(t,L,n);return E(i,0,0),o}(r,!1);case 238:case 237:return function(t){if(s){var r=238===t.kind?2:4;if(!(t.label&&s.labels&&s.labels.get(e.idText(t.label))||!t.label&&s.allowedNonLabeledJumps&r)){var a=void 0,i=t.label;i?238===t.kind?(a="break-"+i.escapedText,ge(s,!0,e.idText(i),a)):(a="continue-"+i.escapedText,ge(s,!1,e.idText(i),a)):238===t.kind?(s.nonLocalJumps|=2,a="break"):(s.nonLocalJumps|=4,a="continue");var o=l.createStringLiteral(a);if(s.loopOutParameters.length){for(var c=s.loopOutParameters,u=void 0,d=0;d<c.length;d++){var p=me(c[d],1);u=0===d?p:l.createBinaryExpression(u,27,p)}o=l.createBinaryExpression(u,27,o)}return l.createReturnStatement(o)}}return e.visitEachChild(t,L,n)}(r);case 242:return function(n){s&&!s.labels&&(s.labels=new e.Map);var t=e.unwrapInnermostStatementOfLabel(n,s&&X);return e.isIterationStatement(t,!1)?function(e,n){switch(e.kind){case 232:case 233:return Z(e,n);case 234:return $(e,n);case 235:return ee(e,n);case 236:return ne(e,n)}}(t,n):l.restoreEnclosingLabel(e.visitNode(t,L,e.isStatement,l.liftToBlock),n,s&&Y)}(r);case 232:case 233:return Z(r,void 0);case 234:return $(r,void 0);case 235:return ee(r,void 0);case 236:return ne(r,void 0);case 230:return function(t){switch(t.expression.kind){case 204:return l.updateExpressionStatement(t,W(t.expression,!1));case 213:return l.updateExpressionStatement(t,q(t.expression,!1))}return e.visitEachChild(t,L,n)}(r);case 197:return function(t){for(var r=t.properties,i=-1,o=!1,s=0;s<r.length;s++){var c=r[s];if(262144&c.transformFlags&&4&a||(o=157===e.Debug.checkDefined(c.name).kind)){i=s;break}}if(i<0)return e.visitEachChild(t,L,n);var u=l.createTempVariable(m),d=[],p=l.createAssignment(u,e.setEmitFlags(l.createObjectLiteralExpression(e.visitNodes(r,L,e.isObjectLiteralElementLike,0,i),t.multiLine),o?65536:0));t.multiLine&&e.startOnNewLine(p);return d.push(p),function(n,t,r,a){for(var i=t.properties,o=i.length,s=a;s<o;s++){var c=i[s];switch(c.kind){case 166:case 167:var l=e.getAllAccessorDeclarations(t.properties,c);c===l.firstAccessor&&n.push(j(r,l,t,!!t.multiLine));break;case 164:n.push(Ee(c,r,t,t.multiLine));break;case 285:n.push(ve(c,r,t.multiLine));break;case 286:n.push(be(c,r,t.multiLine));break;default:e.Debug.failBadSyntaxKind(t)}}}(d,t,u,i),d.push(t.multiLine?e.startOnNewLine(e.setParent(e.setTextRange(l.cloneNode(u),u),u.parent)):u),l.inlineExpressions(d)}(r);case 284:return function(t){var r,a=b(7104,0);if(e.Debug.assert(!!t.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),e.isBindingPattern(t.variableDeclaration.name)){var i=l.createTempVariable(void 0),s=l.createVariableDeclaration(i);e.setTextRange(s,t.variableDeclaration);var c=e.flattenDestructuringBinding(t.variableDeclaration,L,n,0,i),u=l.createVariableDeclarationList(c);e.setTextRange(u,t.variableDeclaration);var d=l.createVariableStatement(void 0,u);r=l.updateCatchClause(t,s,(p=t.block,f=d,m=e.visitNodes(p.statements,L,e.isStatement),l.updateBlock(p,o([f],m))))}else r=e.visitEachChild(t,L,n);var p,f,m;return E(a,0,0),r}(r);case 286:return function(n){return e.setTextRange(l.createPropertyAssignment(n.name,D(l.cloneNode(n.name))),n)}(r);case 157:return function(t){return e.visitEachChild(t,L,n)}(r);case 196:return function(t){if(e.some(t.elements,e.isSpreadElement))return Se(t.elements,!0,!!t.multiLine,!!t.elements.hasTrailingComma);return e.visitEachChild(t,L,n)}(r);case 200:return function(n){if(33554432&e.getEmitFlags(n))return function(n){var t=e.cast(e.cast(e.skipOuterExpressions(n.expression),e.isArrowFunction).body,e.isBlock),r=function(n){return e.isVariableStatement(n)&&!!e.first(n.declarationList.declarations).initializer},a=s;s=void 0;var i=e.visitNodes(t.statements,L,e.isStatement);s=a;var o=e.filter(i,r),c=e.filter(i,(function(e){return!r(e)})),u=e.cast(e.first(o),e.isVariableStatement).declarationList.declarations[0],d=e.skipOuterExpressions(u.initializer),p=e.tryCast(d,e.isAssignmentExpression),f=e.cast(p?e.skipOuterExpressions(p.right):d,e.isCallExpression),m=e.cast(e.skipOuterExpressions(f.expression),e.isFunctionExpression),_=m.body.statements,g=0,y=-1,h=[];if(p){var v=e.tryCast(_[g],e.isExpressionStatement);v&&(h.push(v),g++),h.push(_[g]),g++,h.push(l.createExpressionStatement(l.createAssignment(p.left,e.cast(u.name,e.isIdentifier))))}for(;!e.isReturnStatement(e.elementAt(_,y));)y--;e.addRange(h,_,g,y),y<-1&&e.addRange(h,_,y+1);return e.addRange(h,c),e.addRange(h,o,1),l.restoreOuterExpressions(n.expression,l.restoreOuterExpressions(u.initializer,l.restoreOuterExpressions(p&&p.right,l.updateCallExpression(f,l.restoreOuterExpressions(f.expression,l.updateFunctionExpression(m,void 0,void 0,void 0,void 0,m.parameters,void 0,l.updateBlock(m.body,h))),void 0,f.arguments))))}(n);var t=e.skipOuterExpressions(n.expression);if(105===t.kind||e.isSuperProperty(t)||e.some(n.arguments,e.isSpreadElement))return Te(n,!0);return l.updateCallExpression(n,e.visitNode(n.expression,x,e.isExpression),void 0,e.visitNodes(n.arguments,L,e.isExpression))}(r);case 201:return function(t){if(e.some(t.arguments,e.isSpreadElement)){var r=l.createCallBinding(l.createPropertyAccessExpression(t.expression,"bind"),m),a=r.target,i=r.thisArg;return l.createNewExpression(l.createFunctionApplyCall(e.visitNode(a,L,e.isExpression),i,Se(l.createNodeArray(o([l.createVoidZero()],t.arguments)),!1,!1,!1)),void 0,[])}return e.visitEachChild(t,L,n)}(r);case 204:return W(r,!0);case 213:return q(r,!0);case 14:case 15:case 16:case 17:return function(n){return e.setTextRange(l.createStringLiteral(n.text),n)}(r);case 10:return function(n){if(n.hasExtendedUnicodeEscape)return e.setTextRange(l.createStringLiteral(n.text),n);return n}(r);case 8:return function(n){if(384&n.numericLiteralFlags)return e.setTextRange(l.createNumericLiteral(n.text),n);return n}(r);case 202:return function(r){return e.processTaggedTemplateExpression(n,r,L,t,v,e.ProcessLevel.All)}(r);case 215:return function(n){var t=[];(function(n,t){if(!function(n){return e.Debug.assert(0!==n.templateSpans.length),0!==n.head.text.length||0===n.templateSpans[0].literal.text.length}(t))return;n.push(l.createStringLiteral(t.head.text))})(t,n),function(n,t){for(var r=0,a=t.templateSpans;r<a.length;r++){var i=a[r];n.push(e.visitNode(i.expression,L,e.isExpression)),0!==i.literal.text.length&&n.push(l.createStringLiteral(i.literal.text))}}(t,n);var r=e.reduceLeft(t,l.createAdd);e.nodeIsSynthesized(r)&&e.setTextRange(r,n);return r}(r);case 216:return function(t){return e.visitEachChild(t,L,n)}(r);case 217:return function(n){return e.visitNode(n.expression,L,e.isExpression)}(r);case 105:return Ne(!1);case 107:return function(e){2&a&&(a|=32768);if(s)return 2&a?(s.containsLexicalThis=!0,e):s.thisName||(s.thisName=l.createUniqueName("this"));return e}(r);case 223:return function(e){if(102===e.keywordToken&&"target"===e.name.escapedText)return a|=16384,l.createUniqueName("_newTarget",48);return e}(r);case 164:return function(n){e.Debug.assert(!e.isComputedPropertyName(n.name));var t=K(n,e.moveRangePos(n,-1),void 0,void 0);return e.setEmitFlags(t,512|e.getEmitFlags(t)),e.setTextRange(l.createPropertyAssignment(n.name,t),n)}(r);case 166:case 167:return function(t){e.Debug.assert(!e.isComputedPropertyName(t.name));var r=s;s=void 0;var a,i=b(16286,65),o=e.visitParameterList(t.parameters,L,n),c=H(t);a=166===t.kind?l.updateGetAccessorDeclaration(t,t.decorators,t.modifiers,t.name,o,t.type,c):l.updateSetAccessorDeclaration(t,t.decorators,t.modifiers,t.name,o,c);return E(i,49152,0),s=r,a}(r);case 229:return function(t){var r,a=b(0,e.hasSyntacticModifier(t,1)?32:0);if(s&&0==(3&t.declarationList.flags)&&!function(n){return 1===n.declarationList.declarations.length&&!!n.declarationList.declarations[0].initializer&&!!(33554432&e.getEmitFlags(n.declarationList.declarations[0].initializer))}(t)){for(var i=void 0,o=0,c=t.declarationList.declarations;o<c.length;o++){var u=c[o];if(de(s,u),u.initializer){var d=void 0;e.isBindingPattern(u.name)?d=e.flattenDestructuringAssignment(u,L,n,0):(d=l.createBinaryExpression(u.name,62,e.visitNode(u.initializer,L,e.isExpression)),e.setTextRange(d,u)),i=e.append(i,d)}}r=i?e.setTextRange(l.createExpressionStatement(l.inlineExpressions(i)),t):void 0}else r=e.visitEachChild(t,L,n);return E(a,0,0),r}(r);case 239:return function(t){if(s)return s.nonLocalJumps|=8,T(t)&&(t=A(t)),l.createReturnStatement(l.createObjectLiteralExpression([l.createPropertyAssignment(l.createIdentifier("value"),t.expression?e.visitNode(t.expression,L,e.isExpression):l.createVoidZero())]));if(T(t))return A(t);return e.visitEachChild(t,L,n)}(r);default:return e.visitEachChild(r,L,n)}}(r):r}function x(e){return 105===e.kind?Ne(!0):L(e)}function A(n){return e.setOriginalNode(l.createReturnStatement(l.createUniqueName("_this",48)),n)}function D(e){return s&&g.isArgumentsLocalBinding(e)?s.argumentsName||(s.argumentsName=l.createUniqueName("arguments")):e}function C(i){i.name&&Re();var o=e.getClassExtendsHeritageElement(i),c=l.createFunctionExpression(void 0,void 0,void 0,void 0,o?[l.createParameterDeclaration(void 0,void 0,void 0,l.createUniqueName("_super",48))]:[],void 0,function(i,o){var c=[];d(),function(n,t,r){r&&n.push(e.setTextRange(l.createExpressionStatement(u().createExtendsHelper(l.getInternalName(t))),r))}(c,i,o),function(t,r,i){var o=s;s=void 0;var c=b(16278,73),u=e.getFirstConstructorWithBody(r),d=function(n,t){if(!n||!t)return!1;if(e.some(n.parameters))return!1;var r=e.firstOrUndefined(n.body.statements);if(!r||!e.nodeIsSynthesized(r)||230!==r.kind)return!1;var a=r.expression;if(!e.nodeIsSynthesized(a)||200!==a.kind)return!1;var i=a.expression;if(!e.nodeIsSynthesized(i)||105!==i.kind)return!1;var o=e.singleOrUndefined(a.arguments);if(!o||!e.nodeIsSynthesized(o)||217!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}(u,void 0!==i),m=l.createFunctionDeclaration(void 0,void 0,void 0,l.getInternalName(r),void 0,function(t,r){return e.visitParameterList(t&&!r?t.parameters:void 0,L,n)||[]}(u,d),void 0,function(n,t,r,i){var o=!!r&&103!==e.skipOuterExpressions(r.expression).kind;if(!n)return function(n,t){var r=[];p(),l.mergeLexicalEnvironment(r,f()),t&&r.push(l.createReturnStatement(N()));var a=l.createNodeArray(r);e.setTextRange(a,n.members);var i=l.createBlock(a,!0);return e.setTextRange(i,n),e.setEmitFlags(i,1536),i}(t,o);var s=[],c=[];p();var u,d=0;i||(d=l.copyStandardPrologue(n.body.statements,s,!1));k(c,n),M(c,n,i),i||(d=l.copyCustomPrologue(n.body.statements,c,d,L));if(i)u=N();else if(o&&d<n.body.statements.length){var m=n.body.statements[d];e.isExpressionStatement(m)&&e.isSuperCall(m.expression)&&(u=function(e){return Te(e,!1)}(m.expression))}u&&(a|=8192,d++);if(e.addRange(c,e.visitNodes(n.body.statements,L,e.isStatement,d)),l.mergeLexicalEnvironment(s,f()),G(s,n,!1),o)if(!u||d!==n.body.statements.length||4096&n.body.transformFlags)F(c,n,u||I()),function n(t){if(239===t.kind)return!0;if(231===t.kind){var r=t;if(r.elseStatement)return n(r.thenStatement)&&n(r.elseStatement)}else if(227===t.kind){var a=e.lastOrUndefined(t.statements);if(a&&n(a))return!0}return!1}(n.body)||c.push(l.createReturnStatement(l.createUniqueName("_this",48)));else{var _=e.cast(e.cast(u,e.isBinaryExpression).left,e.isCallExpression),g=l.createReturnStatement(u);e.setCommentRange(g,e.getCommentRange(_)),e.setEmitFlags(_,1536),c.push(g)}else w(s,n);var y=l.createBlock(e.setTextRange(l.createNodeArray(e.concatenate(s,c)),n.body.statements),!0);return e.setTextRange(y,n.body),y}(u,r,i,d));e.setTextRange(m,u||r),i&&e.setEmitFlags(m,8);t.push(m),E(c,49152,0),s=o}(c,i,o),function(n,r){for(var a=0,i=r.members;a<i.length;a++){var o=i[a];switch(o.kind){case 226:n.push(B(o));break;case 164:n.push(U(Oe(r,o),o,r));break;case 166:case 167:var s=e.getAllAccessorDeclarations(r.members,o);o===s.firstAccessor&&n.push(V(Oe(r,o),s,r));break;case 165:break;default:e.Debug.failBadSyntaxKind(o,t&&t.fileName)}}}(c,i);var m=e.createTokenRange(e.skipTrivia(r,i.members.end),19),_=l.getInternalName(i),g=l.createPartiallyEmittedExpression(_);e.setTextRangeEnd(g,m.end),e.setEmitFlags(g,1536);var y=l.createReturnStatement(g);e.setTextRangePos(y,m.pos),e.setEmitFlags(y,1920),c.push(y),e.insertStatementsAfterStandardPrologue(c,f());var h=l.createBlock(e.setTextRange(l.createNodeArray(c),i.members),!0);return e.setEmitFlags(h,1536),h}(i,o));e.setEmitFlags(c,65536&e.getEmitFlags(i)|524288);var m=l.createPartiallyEmittedExpression(c);e.setTextRangeEnd(m,i.end),e.setEmitFlags(m,1536);var _=l.createPartiallyEmittedExpression(m);e.setTextRangeEnd(_,e.skipTrivia(r,i.pos)),e.setEmitFlags(_,1536);var g=l.createParenthesizedExpression(l.createCallExpression(_,void 0,o?[e.visitNode(o.expression,L,e.isExpression)]:[]));return e.addSyntheticLeadingComment(g,3,"* @class "),g}function I(){return e.setEmitFlags(l.createThis(),4)}function N(){return l.createLogicalOr(l.createLogicalAnd(l.createStrictInequality(l.createUniqueName("_super",48),l.createNull()),l.createFunctionApplyCall(l.createUniqueName("_super",48),I(),l.createIdentifier("arguments"))),I())}function R(n){return void 0!==n.initializer||e.isBindingPattern(n.name)}function k(n,t){if(!e.some(t.parameters,R))return!1;for(var r=!1,a=0,i=t.parameters;a<i.length;a++){var o=i[a],s=o.name,c=o.initializer;o.dotDotDotToken||(e.isBindingPattern(s)?r=O(n,o,s,c)||r:c&&(P(n,o,s,c),r=!0))}return r}function O(t,r,a,i){return a.elements.length>0?(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(r,L,n,0,l.getGeneratedNameForNode(r)))),1048576)),!0):!!i&&(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(l.createExpressionStatement(l.createAssignment(l.getGeneratedNameForNode(r),e.visitNode(i,L,e.isExpression))),1048576)),!0)}function P(n,t,r,a){a=e.visitNode(a,L,e.isExpression);var i=l.createIfStatement(l.createTypeCheck(l.cloneNode(r),"undefined"),e.setEmitFlags(e.setTextRange(l.createBlock([l.createExpressionStatement(e.setEmitFlags(e.setTextRange(l.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(l.cloneNode(r),r),r.parent),48),e.setEmitFlags(a,1584|e.getEmitFlags(a))),t),1536))]),t),1953));e.startOnNewLine(i),e.setTextRange(i,t),e.setEmitFlags(i,1050528),e.insertStatementAfterCustomPrologue(n,i)}function M(t,r,a){var i=[],o=e.lastOrUndefined(r.parameters);if(!function(e,n){return!(!e||!e.dotDotDotToken||n)}(o,a))return!1;var s=78===o.name.kind?e.setParent(e.setTextRange(l.cloneNode(o.name),o.name),o.name.parent):l.createTempVariable(void 0);e.setEmitFlags(s,48);var c=78===o.name.kind?l.cloneNode(o.name):s,u=r.parameters.length-1,d=l.createLoopVariable();i.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(s,void 0,void 0,l.createArrayLiteralExpression([]))])),o),1048576));var p=l.createForStatement(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(d,void 0,void 0,l.createNumericLiteral(u))]),o),e.setTextRange(l.createLessThan(d,l.createPropertyAccessExpression(l.createIdentifier("arguments"),"length")),o),e.setTextRange(l.createPostfixIncrement(d),o),l.createBlock([e.startOnNewLine(e.setTextRange(l.createExpressionStatement(l.createAssignment(l.createElementAccessExpression(c,0===u?d:l.createSubtract(d,l.createNumericLiteral(u))),l.createElementAccessExpression(l.createIdentifier("arguments"),d))),o))]));return e.setEmitFlags(p,1048576),e.startOnNewLine(p),i.push(p),78!==o.name.kind&&i.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(o,L,n,0,c))),o),1048576)),e.insertStatementsAfterCustomPrologue(t,i),!0}function w(e,n){return!!(32768&a&&206!==n.kind)&&(F(e,n,l.createThis()),!0)}function F(n,t,r){ke();var a=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_this",48),void 0,void 0,r)]));e.setEmitFlags(a,1050112),e.setSourceMapRange(a,t),e.insertStatementAfterCustomPrologue(n,a)}function G(n,t,r){if(16384&a){var i=void 0;switch(t.kind){case 206:return n;case 164:case 166:case 167:i=l.createVoidZero();break;case 165:i=l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor");break;case 248:case 205:i=l.createConditionalExpression(l.createLogicalAnd(e.setEmitFlags(l.createThis(),4),l.createBinaryExpression(e.setEmitFlags(l.createThis(),4),101,l.getLocalName(t))),void 0,l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor"),void 0,l.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(t)}var o=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(l.createUniqueName("_newTarget",48),void 0,void 0,i)]));e.setEmitFlags(o,1050112),r&&(n=n.slice()),e.insertStatementAfterCustomPrologue(n,o)}return n}function B(n){return e.setTextRange(l.createEmptyStatement(),n)}function U(t,r,a){var i,o=e.getCommentRange(r),s=e.getSourceMapRange(r),c=K(r,r,void 0,a),u=e.visitNode(r.name,L,e.isPropertyName);if(!e.isPrivateIdentifier(u)&&n.getCompilerOptions().useDefineForClassFields){var d=e.isComputedPropertyName(u)?u.expression:e.isIdentifier(u)?l.createStringLiteral(e.unescapeLeadingUnderscores(u.escapedText)):u;i=l.createObjectDefinePropertyCall(t,d,l.createPropertyDescriptor({value:c,enumerable:!1,writable:!0,configurable:!0}))}else{var p=e.createMemberAccessForPropertyName(l,t,u,r.name);i=l.createAssignment(p,c)}e.setEmitFlags(c,1536),e.setSourceMapRange(c,s);var f=e.setTextRange(l.createExpressionStatement(i),r);return e.setOriginalNode(f,r),e.setCommentRange(f,o),e.setEmitFlags(f,48),f}function V(n,t,r){var a=l.createExpressionStatement(j(n,t,r,!1));return e.setEmitFlags(a,1536),e.setSourceMapRange(a,e.getSourceMapRange(t.firstAccessor)),a}function j(n,t,r,a){var i=t.firstAccessor,o=t.getAccessor,s=t.setAccessor,c=e.setParent(e.setTextRange(l.cloneNode(n),n),n.parent);e.setEmitFlags(c,1568),e.setSourceMapRange(c,i.name);var u=e.visitNode(i.name,L,e.isPropertyName);if(e.isPrivateIdentifier(u))return e.Debug.failBadSyntaxKind(u,"Encountered unhandled private identifier while transforming ES2015.");var d=e.createExpressionForPropertyName(l,u);e.setEmitFlags(d,1552),e.setSourceMapRange(d,i.name);var p=[];if(o){var f=K(o,void 0,void 0,r);e.setSourceMapRange(f,e.getSourceMapRange(o)),e.setEmitFlags(f,512);var m=l.createPropertyAssignment("get",f);e.setCommentRange(m,e.getCommentRange(o)),p.push(m)}if(s){var _=K(s,void 0,void 0,r);e.setSourceMapRange(_,e.getSourceMapRange(s)),e.setEmitFlags(_,512);var g=l.createPropertyAssignment("set",_);e.setCommentRange(g,e.getCommentRange(s)),p.push(g)}p.push(l.createPropertyAssignment("enumerable",o||s?l.createFalse():l.createTrue()),l.createPropertyAssignment("configurable",l.createTrue()));var y=l.createCallExpression(l.createPropertyAccessExpression(l.createIdentifier("Object"),"defineProperty"),void 0,[c,d,l.createObjectLiteralExpression(p,!0)]);return a&&e.startOnNewLine(y),y}function K(t,r,i,o){var c=s;s=void 0;var u=o&&e.isClassLike(o)&&!e.hasSyntacticModifier(t,32)?b(16286,73):b(16286,65),d=e.visitParameterList(t.parameters,L,n),p=H(t);return 16384&a&&!i&&(248===t.kind||205===t.kind)&&(i=l.getGeneratedNameForNode(t)),E(u,49152,0),s=c,e.setOriginalNode(e.setTextRange(l.createFunctionExpression(void 0,t.asteriskToken,i,void 0,d,void 0,p),r),t)}function H(n){var r,a,i,o=!1,s=!1,c=[],u=[],d=n.body;if(p(),e.isBlock(d)&&(i=l.copyStandardPrologue(d.statements,c,!1),i=l.copyCustomPrologue(d.statements,u,i,L,e.isHoistedFunction),i=l.copyCustomPrologue(d.statements,u,i,L,e.isHoistedVariableStatement)),o=k(u,n)||o,o=M(u,n,!1)||o,e.isBlock(d))i=l.copyCustomPrologue(d.statements,u,i,L),r=d.statements,e.addRange(u,e.visitNodes(d.statements,L,e.isStatement,i)),!o&&d.multiLine&&(o=!0);else{e.Debug.assert(206===n.kind),r=e.moveRangeEnd(d,-1);var m=n.equalsGreaterThanToken;e.nodeIsSynthesized(m)||e.nodeIsSynthesized(d)||(e.rangeEndIsOnSameLineAsRangeStart(m,d,t)?s=!0:o=!0);var _=e.visitNode(d,L,e.isExpression),g=l.createReturnStatement(_);e.setTextRange(g,d),e.moveSyntheticComments(g,d),e.setEmitFlags(g,1440),u.push(g),a=d}if(l.mergeLexicalEnvironment(c,f()),G(c,n,!1),w(c,n),e.some(c)&&(o=!0),u.unshift.apply(u,c),e.isBlock(d)&&e.arrayIsEqualTo(u,d.statements))return d;var y=l.createBlock(e.setTextRange(l.createNodeArray(u),r),o);return e.setTextRange(y,n.body),!o&&s&&e.setEmitFlags(y,1),a&&e.setTokenSourceMapRange(y,19,a),e.setOriginalNode(y,n.body),y}function W(t,r){if(!r)switch(t.expression.kind){case 204:return l.updateParenthesizedExpression(t,W(t.expression,!1));case 213:return l.updateParenthesizedExpression(t,q(t.expression,!1))}return e.visitEachChild(t,L,n)}function q(t,r){return e.isDestructuringAssignment(t)?e.flattenDestructuringAssignment(t,L,n,0,r):e.visitEachChild(t,L,n)}function z(t){var r=t.name;return e.isBindingPattern(r)?J(t):!t.initializer&&function(e){var n=g.getNodeCheckFlags(e),t=262144&n,r=524288&n;return!(0!=(64&a)||t&&r&&0!=(512&a))&&0==(4096&a)&&(!g.isDeclarationWithCollidingName(e)||r&&!t&&0==(6144&a))}(t)?l.updateVariableDeclaration(t,t.name,void 0,void 0,l.createVoidZero()):e.visitEachChild(t,L,n)}function J(t){var r,a=b(32,0);return r=e.isBindingPattern(t.name)?e.flattenDestructuringBinding(t,L,n,0,void 0,0!=(32&a)):e.visitEachChild(t,L,n),E(a,0,0),r}function X(n){s.labels.set(e.idText(n.label),!0)}function Y(n){s.labels.set(e.idText(n.label),!1)}function Q(t,r,i,o,c){var u=b(t,r),p=function(t,r,i,o){if(!le(t)){var c=void 0;s&&(c=s.allowedNonLabeledJumps,s.allowedNonLabeledJumps=6);var u=o?o(t,r,void 0,i):l.restoreEnclosingLabel(e.visitEachChild(t,L,n),r,s&&Y);return s&&(s.allowedNonLabeledJumps=c),u}var p=function(n){var t;switch(n.kind){case 234:case 235:case 236:var r=n.initializer;r&&247===r.kind&&(t=r)}var a=[],i=[];if(t&&3&e.getCombinedNodeFlags(t))for(var o=se(n),c=0,l=t.declarations;c<l.length;c++){var u=l[c];he(n,u,a,i,o)}var d={loopParameters:a,loopOutParameters:i};s&&(s.argumentsName&&(d.argumentsName=s.argumentsName),s.thisName&&(d.thisName=s.thisName),s.hoistedLocalVariables&&(d.hoistedLocalVariables=s.hoistedLocalVariables));return d}(t),m=[],_=s;s=p;var g,y=se(t)?function(n,t){var r=l.createUniqueName("_loop_init"),i=0!=(262144&n.initializer.transformFlags),o=0;t.containsLexicalThis&&(o|=8);i&&4&a&&(o|=262144);var s=[];s.push(l.createVariableStatement(void 0,n.initializer)),_e(t.loopOutParameters,2,1,s);var c=l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(r,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,i?l.createToken(41):void 0,void 0,void 0,void 0,void 0,e.visitNode(l.createBlock(s,!0),L,e.isBlock)),o))]),2097152)),u=l.createVariableDeclarationList(e.map(t.loopOutParameters,fe));return{functionName:r,containsYield:i,functionDeclaration:c,part:u}}(t,p):void 0,h=ue(t)?function(n,t,r){var i=l.createUniqueName("_loop");d();var o=e.visitNode(n.statement,L,e.isStatement,l.liftToBlock),s=f(),c=[];(ce(n)||function(n){return e.isForStatement(n)&&!!n.incrementor&&oe(n.incrementor)}(n))&&(t.conditionVariable=l.createUniqueName("inc"),n.incrementor?c.push(l.createIfStatement(t.conditionVariable,l.createExpressionStatement(e.visitNode(n.incrementor,L,e.isExpression)),l.createExpressionStatement(l.createAssignment(t.conditionVariable,l.createTrue())))):c.push(l.createIfStatement(l.createLogicalNot(t.conditionVariable),l.createExpressionStatement(l.createAssignment(t.conditionVariable,l.createTrue())))),ce(n)&&c.push(l.createIfStatement(l.createPrefixUnaryExpression(53,e.visitNode(n.condition,L,e.isExpression)),e.visitNode(l.createBreakStatement(),L,e.isStatement))));e.isBlock(o)?e.addRange(c,o.statements):c.push(o);_e(t.loopOutParameters,1,1,c),e.insertStatementsAfterStandardPrologue(c,s);var u=l.createBlock(c,!0);e.isBlock(o)&&e.setOriginalNode(u,o);var p=0!=(262144&n.statement.transformFlags),m=0;t.containsLexicalThis&&(m|=8);p&&0!=(4&a)&&(m|=262144);var _=l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(i,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,p?l.createToken(41):void 0,void 0,void 0,t.loopParameters,void 0,u),m))]),2097152)),g=function(n,t,r,a){var i=[],o=!(-5&t.nonLocalJumps||t.labeledNonLocalBreaks||t.labeledNonLocalContinues),s=l.createCallExpression(n,void 0,e.map(t.loopParameters,(function(e){return e.name}))),c=a?l.createYieldExpression(l.createToken(41),e.setEmitFlags(s,8388608)):s;if(o)i.push(l.createExpressionStatement(c)),_e(t.loopOutParameters,1,0,i);else{var u=l.createUniqueName("state"),d=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(u,void 0,void 0,c)]));if(i.push(d),_e(t.loopOutParameters,1,0,i),8&t.nonLocalJumps){var p=void 0;r?(r.nonLocalJumps|=8,p=l.createReturnStatement(u)):p=l.createReturnStatement(l.createPropertyAccessExpression(u,"value")),i.push(l.createIfStatement(l.createTypeCheck(u,"object"),p))}if(2&t.nonLocalJumps&&i.push(l.createIfStatement(l.createStrictEquality(u,l.createStringLiteral("break")),l.createBreakStatement())),t.labeledNonLocalBreaks||t.labeledNonLocalContinues){var f=[];ye(t.labeledNonLocalBreaks,!0,u,r,f),ye(t.labeledNonLocalContinues,!1,u,r,f),i.push(l.createSwitchStatement(u,l.createCaseBlock(f)))}}return i}(i,t,r,p);return{functionName:i,containsYield:p,functionDeclaration:_,part:g}}(t,p,_):void 0;s=_,y&&m.push(y.functionDeclaration);h&&m.push(h.functionDeclaration);(function(e,n,t){var r;n.argumentsName&&(t?t.argumentsName=n.argumentsName:(r||(r=[])).push(l.createVariableDeclaration(n.argumentsName,void 0,void 0,l.createIdentifier("arguments"))));n.thisName&&(t?t.thisName=n.thisName:(r||(r=[])).push(l.createVariableDeclaration(n.thisName,void 0,void 0,l.createIdentifier("this"))));if(n.hoistedLocalVariables)if(t)t.hoistedLocalVariables=n.hoistedLocalVariables;else{r||(r=[]);for(var a=0,i=n.hoistedLocalVariables;a<i.length;a++){var o=i[a];r.push(l.createVariableDeclaration(o))}}if(n.loopOutParameters.length){r||(r=[]);for(var s=0,c=n.loopOutParameters;s<c.length;s++){var u=c[s];r.push(l.createVariableDeclaration(u.outParamName))}}n.conditionVariable&&(r||(r=[]),r.push(l.createVariableDeclaration(n.conditionVariable,void 0,void 0,l.createFalse())));r&&e.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(r)))})(m,p,_),y&&m.push((v=y.functionName,b=y.containsYield,E=l.createCallExpression(v,void 0,[]),T=b?l.createYieldExpression(l.createToken(41),e.setEmitFlags(E,8388608)):E,l.createExpressionStatement(T)));var v,b,E,T;if(h)if(o)g=o(t,r,h.part,i);else{var S=pe(t,y,l.createBlock(h.part,!0));g=l.restoreEnclosingLabel(S,r,s&&Y)}else{var x=pe(t,y,e.visitNode(t.statement,L,e.isStatement,l.liftToBlock));g=l.restoreEnclosingLabel(x,r,s&&Y)}return m.push(g),m}(i,o,u,c);return E(u,0,0),p}function Z(e,n){return Q(0,1280,e,n)}function $(e,n){return Q(5056,3328,e,n)}function ee(e,n){return Q(3008,5376,e,n)}function ne(e,n){return Q(3008,5376,e,n,_.downlevelIteration?ie:ae)}function te(t,r,a){var i=[],o=t.initializer;if(e.isVariableDeclarationList(o)){3&t.initializer.flags&&Re();var s=e.firstOrUndefined(o.declarations);if(s&&e.isBindingPattern(s.name)){var c=e.flattenDestructuringBinding(s,L,n,0,r),u=e.setTextRange(l.createVariableDeclarationList(c),t.initializer);e.setOriginalNode(u,t.initializer),e.setSourceMapRange(u,e.createRange(c[0].pos,e.last(c).end)),i.push(l.createVariableStatement(void 0,u))}else i.push(e.setTextRange(l.createVariableStatement(void 0,e.setOriginalNode(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(s?s.name:l.createTempVariable(void 0),void 0,void 0,r)]),e.moveRangePos(o,-1)),o)),e.moveRangeEnd(o,-1)))}else{var d=l.createAssignment(o,r);e.isDestructuringAssignment(d)?i.push(l.createExpressionStatement(q(d,!1))):(e.setTextRangeEnd(d,o.end),i.push(e.setTextRange(l.createExpressionStatement(e.visitNode(d,L,e.isExpression)),e.moveRangeEnd(o,-1))))}if(a)return re(e.addRange(i,a));var p=e.visitNode(t.statement,L,e.isStatement,l.liftToBlock);return e.isBlock(p)?l.updateBlock(p,e.setTextRange(l.createNodeArray(e.concatenate(i,p.statements)),p.statements)):(i.push(p),re(i))}function re(n){return e.setEmitFlags(l.createBlock(l.createNodeArray(n),!0),432)}function ae(n,t,r){var a=e.visitNode(n.expression,L,e.isExpression),i=l.createLoopVariable(),o=e.isIdentifier(a)?l.getGeneratedNameForNode(a):l.createTempVariable(void 0);e.setEmitFlags(a,48|e.getEmitFlags(a));var c=e.setTextRange(l.createForStatement(e.setEmitFlags(e.setTextRange(l.createVariableDeclarationList([e.setTextRange(l.createVariableDeclaration(i,void 0,void 0,l.createNumericLiteral(0)),e.moveRangePos(n.expression,-1)),e.setTextRange(l.createVariableDeclaration(o,void 0,void 0,a),n.expression)]),n.expression),2097152),e.setTextRange(l.createLessThan(i,l.createPropertyAccessExpression(o,"length")),n.expression),e.setTextRange(l.createPostfixIncrement(i),n.expression),te(n,l.createElementAccessExpression(o,i),r)),n);return e.setEmitFlags(c,256),e.setTextRange(c,n),l.restoreEnclosingLabel(c,t,s&&Y)}function ie(n,t,r,a){var i=e.visitNode(n.expression,L,e.isExpression),o=e.isIdentifier(i)?l.getGeneratedNameForNode(i):l.createTempVariable(void 0),c=e.isIdentifier(i)?l.getGeneratedNameForNode(o):l.createTempVariable(void 0),d=l.createUniqueName("e"),p=l.getGeneratedNameForNode(d),f=l.createTempVariable(void 0),_=e.setTextRange(u().createValuesHelper(i),n.expression),g=l.createCallExpression(l.createPropertyAccessExpression(o,"next"),void 0,[]);m(d),m(f);var y=1024&a?l.inlineExpressions([l.createAssignment(d,l.createVoidZero()),_]):_,h=e.setEmitFlags(e.setTextRange(l.createForStatement(e.setEmitFlags(e.setTextRange(l.createVariableDeclarationList([e.setTextRange(l.createVariableDeclaration(o,void 0,void 0,y),n.expression),l.createVariableDeclaration(c,void 0,void 0,g)]),n.expression),2097152),l.createLogicalNot(l.createPropertyAccessExpression(c,"done")),l.createAssignment(c,g),te(n,l.createPropertyAccessExpression(c,"value"),r)),n),256);return l.createTryStatement(l.createBlock([l.restoreEnclosingLabel(h,t,s&&Y)]),l.createCatchClause(l.createVariableDeclaration(p),e.setEmitFlags(l.createBlock([l.createExpressionStatement(l.createAssignment(d,l.createObjectLiteralExpression([l.createPropertyAssignment("error",p)])))]),1)),l.createBlock([l.createTryStatement(l.createBlock([e.setEmitFlags(l.createIfStatement(l.createLogicalAnd(l.createLogicalAnd(c,l.createLogicalNot(l.createPropertyAccessExpression(c,"done"))),l.createAssignment(f,l.createPropertyAccessExpression(o,"return"))),l.createExpressionStatement(l.createFunctionCallCall(f,o,[]))),1)]),void 0,e.setEmitFlags(l.createBlock([e.setEmitFlags(l.createIfStatement(d,l.createThrowStatement(l.createPropertyAccessExpression(d,"error"))),1)]),1))]))}function oe(e){return 0!=(131072&g.getNodeCheckFlags(e))}function se(n){return e.isForStatement(n)&&!!n.initializer&&oe(n.initializer)}function ce(n){return e.isForStatement(n)&&!!n.condition&&oe(n.condition)}function le(e){return ue(e)||se(e)}function ue(e){return 0!=(65536&g.getNodeCheckFlags(e))}function de(n,t){n.hoistedLocalVariables||(n.hoistedLocalVariables=[]),function t(r){if(78===r.kind)n.hoistedLocalVariables.push(r);else for(var a=0,i=r.elements;a<i.length;a++){var o=i[a];e.isOmittedExpression(o)||t(o.name)}}(t.name)}function pe(n,t,r){switch(n.kind){case 234:return function(n,t,r){var a=n.condition&&oe(n.condition),i=a||n.incrementor&&oe(n.incrementor);return l.updateForStatement(n,e.visitNode(t?t.part:n.initializer,L,e.isForInitializer),e.visitNode(a?void 0:n.condition,L,e.isExpression),e.visitNode(i?void 0:n.incrementor,L,e.isExpression),r)}(n,t,r);case 235:return function(n,t){return l.updateForInStatement(n,e.visitNode(n.initializer,L,e.isForInitializer),e.visitNode(n.expression,L,e.isExpression),t)}(n,r);case 236:return function(n,t){return l.updateForOfStatement(n,void 0,e.visitNode(n.initializer,L,e.isForInitializer),e.visitNode(n.expression,L,e.isExpression),t)}(n,r);case 232:return function(n,t){return l.updateDoStatement(n,t,e.visitNode(n.expression,L,e.isExpression))}(n,r);case 233:return function(n,t){return l.updateWhileStatement(n,e.visitNode(n.expression,L,e.isExpression),t)}(n,r);default:return e.Debug.failBadSyntaxKind(n,"IterationStatement expected")}}function fe(e){return l.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function me(e,n){var t=0===n?e.outParamName:e.originalName,r=0===n?e.originalName:e.outParamName;return l.createBinaryExpression(r,62,t)}function _e(e,n,t,r){for(var a=0,i=e;a<i.length;a++){var o=i[a];o.flags&n&&r.push(l.createExpressionStatement(me(o,t)))}}function ge(n,t,r,a){t?(n.labeledNonLocalBreaks||(n.labeledNonLocalBreaks=new e.Map),n.labeledNonLocalBreaks.set(r,a)):(n.labeledNonLocalContinues||(n.labeledNonLocalContinues=new e.Map),n.labeledNonLocalContinues.set(r,a))}function ye(e,n,t,r,a){e&&e.forEach((function(e,i){var o=[];if(!r||r.labels&&r.labels.get(i)){var s=l.createIdentifier(i);o.push(n?l.createBreakStatement(s):l.createContinueStatement(s))}else ge(r,n,i,e),o.push(l.createReturnStatement(t));a.push(l.createCaseClause(l.createStringLiteral(e),o))}))}function he(n,t,r,a,i){var o=t.name;if(e.isBindingPattern(o))for(var s=0,c=o.elements;s<c.length;s++){var u=c[s];e.isOmittedExpression(u)||he(n,u,r,a,i)}else{r.push(l.createParameterDeclaration(void 0,void 0,void 0,o));var d=g.getNodeCheckFlags(t);if(4194304&d||i){var p=l.createUniqueName("out_"+e.idText(o)),f=0;4194304&d&&(f|=1),e.isForStatement(n)&&n.initializer&&g.isBindingCapturedByNode(n.initializer,t)&&(f|=2),a.push({flags:f,originalName:o,outParamName:p})}}}function ve(n,t,r){var a=l.createAssignment(e.createMemberAccessForPropertyName(l,t,e.visitNode(n.name,L,e.isPropertyName)),e.visitNode(n.initializer,L,e.isExpression));return e.setTextRange(a,n),r&&e.startOnNewLine(a),a}function be(n,t,r){var a=l.createAssignment(e.createMemberAccessForPropertyName(l,t,e.visitNode(n.name,L,e.isPropertyName)),l.cloneNode(n.name));return e.setTextRange(a,n),r&&e.startOnNewLine(a),a}function Ee(n,t,r,a){var i=l.createAssignment(e.createMemberAccessForPropertyName(l,t,e.visitNode(n.name,L,e.isPropertyName)),K(n,n,void 0,r));return e.setTextRange(i,n),a&&e.startOnNewLine(i),i}function Te(t,r){if(8192&t.transformFlags||105===t.expression.kind||e.isSuperProperty(e.skipOuterExpressions(t.expression))){var a=l.createCallBinding(t.expression,m),i=a.target,o=a.thisArg;105===t.expression.kind&&e.setEmitFlags(o,4);var s=void 0;if(s=8192&t.transformFlags?l.createFunctionApplyCall(e.visitNode(i,x,e.isExpression),105===t.expression.kind?o:e.visitNode(o,L,e.isExpression),Se(t.arguments,!1,!1,!1)):e.setTextRange(l.createFunctionCallCall(e.visitNode(i,x,e.isExpression),105===t.expression.kind?o:e.visitNode(o,L,e.isExpression),e.visitNodes(t.arguments,L,e.isExpression)),t),105===t.expression.kind){var c=l.createLogicalOr(s,I());s=r?l.createAssignment(l.createUniqueName("_this",48),c):c}return e.setOriginalNode(s,t)}return e.visitEachChild(t,L,n)}function Se(n,t,r,a){var i,o=n.length,s=e.flatten(e.spanMap(n,Ae,(function(e,n,t,i){return n(e,r,a&&i===o)})));if(_.downlevelIteration){if(1===s.length)if(xe(c=s[0],"___spread"))return s[0];return u().createSpreadHelper(s)}if(1===s.length){var c=s[0];if(!t||(i=c,e.isArrayLiteralExpression(i)&&e.every(i.elements,Le))||xe(c,"___spreadArrays"))return s[0]}return u().createSpreadArraysHelper(s)}function Le(n){return!e.isOmittedExpression(n)}function xe(n,t){return e.isCallExpression(n)&&e.isIdentifier(n.expression)&&4096&e.getEmitFlags(n.expression)&&n.expression.escapedText===t}function Ae(n){return e.isSpreadElement(n)?De:Ce}function De(n){return e.map(n,Ie)}function Ce(n,t,r){return l.createArrayLiteralExpression(e.visitNodes(l.createNodeArray(n,r),L,e.isExpression),t)}function Ie(n){return e.visitNode(n.expression,L,e.isExpression)}function Ne(e){return 8&a&&!e?l.createPropertyAccessExpression(l.createUniqueName("_super",48),"prototype"):l.createUniqueName("_super",48)}function Re(){0==(2&c)&&(c|=2,n.enableSubstitution(78))}function ke(){0==(1&c)&&(c|=1,n.enableSubstitution(107),n.enableEmitNotification(165),n.enableEmitNotification(164),n.enableEmitNotification(166),n.enableEmitNotification(167),n.enableEmitNotification(206),n.enableEmitNotification(205),n.enableEmitNotification(248))}function Oe(n,t){return e.hasSyntacticModifier(t,32)?l.getInternalName(n):l.createPropertyAccessExpression(l.getInternalName(n),"prototype")}}}(p||(p={})),function(e){e.transformES5=function(n){var t,r,a=n.factory,i=n.getCompilerOptions();1!==i.jsx&&3!==i.jsx||(t=n.onEmitNode,n.onEmitNode=function(n,a,i){switch(a.kind){case 272:case 273:case 271:var o=a.tagName;r[e.getOriginalNodeId(o)]=!0}t(n,a,i)},n.enableEmitNotification(272),n.enableEmitNotification(273),n.enableEmitNotification(271),r=[]);var o=n.onSubstituteNode;return n.onSubstituteNode=function(n,t){if(t.id&&r&&r[t.id])return o(n,t);if(t=o(n,t),e.isPropertyAccessExpression(t))return function(n){if(e.isPrivateIdentifier(n.name))return n;var t=s(n.name);if(t)return e.setTextRange(a.createElementAccessExpression(n.expression,t),n);return n}(t);if(e.isPropertyAssignment(t))return function(n){var t=e.isIdentifier(n.name)&&s(n.name);if(t)return a.updatePropertyAssignment(n,t,n.initializer);return n}(t);return t},n.enableSubstitution(198),n.enableSubstitution(285),e.chainBundle(n,(function(e){return e}));function s(n){var t=n.originalKeywordKind||(e.nodeIsSynthesized(n)?e.stringToToken(e.idText(n)):void 0);if(void 0!==t&&t>=80&&t<=115)return e.setTextRange(a.createStringLiteralFromNode(n),n)}}}(p||(p={})),function(e){var n,t,r,a,i;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(n||(n={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(t||(t={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(r||(r={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(a||(a={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(i||(i={})),e.transformGenerators=function(n){var t,r,a,i,s,c,l,u,d,p,f=n.factory,m=n.getEmitHelperFactory,_=n.resumeLexicalEnvironment,g=n.endLexicalEnvironment,y=n.hoistFunctionDeclaration,h=n.hoistVariableDeclaration,v=n.getCompilerOptions(),b=e.getEmitScriptTarget(v),E=n.getEmitResolver(),T=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=T(n,a),1===n)return function(n){if(e.isIdentifier(n))return function(n){if(!e.isGeneratedIdentifier(n)&&t&&t.has(e.idText(n))){var a=e.getOriginalNode(n);if(e.isIdentifier(a)&&a.parent){var i=E.getReferencedValueDeclaration(a);if(i){var o=r[e.getOriginalNodeId(i)];if(o){var s=e.setParent(e.setTextRange(f.cloneNode(o),o),o.parent);return e.setSourceMapRange(s,n),e.setCommentRange(s,n),s}}}}return n}(n);return n}(a);return a};var S,L,x,A,D,C,I,N,R,k,O,P,M=1,w=0,F=0;return e.chainBundle(n,(function(t){if(t.isDeclarationFile||0==(512&t.transformFlags))return t;var r=e.visitEachChild(t,G,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function G(t){var r=t.transformFlags;return i?function(t){switch(t.kind){case 232:case 233:return function(t){return i?(ie(),t=e.visitEachChild(t,G,n),se(),t):e.visitEachChild(t,G,n)}(t);case 241:return function(t){i&&ne({kind:2,isScript:!0,breakLabel:-1});t=e.visitEachChild(t,G,n),i&&ce();return t}(t);case 242:return function(t){i&&ne({kind:4,isScript:!0,labelText:e.idText(t.label),breakLabel:-1});t=e.visitEachChild(t,G,n),i&&le();return t}(t);default:return B(t)}}(t):a?B(t):e.isFunctionLikeDeclaration(t)&&t.asteriskToken?function(n){switch(n.kind){case 248:return U(n);case 205:return V(n);default:return e.Debug.failBadSyntaxKind(n)}}(t):512&r?e.visitEachChild(t,G,n):t}function B(t){switch(t.kind){case 248:return U(t);case 205:return V(t);case 166:case 167:return function(t){var r=a,o=i;return a=!1,i=!1,t=e.visitEachChild(t,G,n),a=r,i=o,t}(t);case 229:return function(n){if(262144&n.transformFlags)return void z(n.declarationList);if(1048576&e.getEmitFlags(n))return n;for(var t=0,r=n.declarationList.declarations;t<r.length;t++){var a=r[t];h(a.name)}var i=e.getInitializedVariables(n.declarationList);if(0===i.length)return;return e.setSourceMapRange(f.createExpressionStatement(f.inlineExpressions(e.map(i,J))),n)}(t);case 234:return function(t){i&&ie();var r=t.initializer;if(r&&e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a<o.length;a++){var s=o[a];h(s.name)}var c=e.getInitializedVariables(r);t=f.updateForStatement(t,c.length>0?f.inlineExpressions(e.map(c,J)):void 0,e.visitNode(t.condition,G,e.isExpression),e.visitNode(t.incrementor,G,e.isExpression),e.visitNode(t.statement,G,e.isStatement,f.liftToBlock))}else t=e.visitEachChild(t,G,n);i&&se();return t}(t);case 235:return function(t){i&&ie();var r=t.initializer;if(e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a<o.length;a++){var s=o[a];h(s.name)}t=f.updateForInStatement(t,r.declarations[0].name,e.visitNode(t.expression,G,e.isExpression),e.visitNode(t.statement,G,e.isStatement,f.liftToBlock))}else t=e.visitEachChild(t,G,n);i&&se();return t}(t);case 238:return function(t){if(i){var r=me(t.label&&e.idText(t.label));if(r>0)return he(r,t)}return e.visitEachChild(t,G,n)}(t);case 237:return function(t){if(i){var r=_e(t.label&&e.idText(t.label));if(r>0)return he(r,t)}return e.visitEachChild(t,G,n)}(t);case 239:return function(n){return t=e.visitNode(n.expression,G,e.isExpression),r=n,e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(t?[ye(2),t]:[ye(2)])),r);var t,r}(t);default:return 262144&t.transformFlags?function(t){switch(t.kind){case 213:return function(t){var r=e.getExpressionAssociativity(t);switch(r){case 0:return function(t){if(X(t.right))return e.isLogicalOperator(t.operatorToken.kind)?function(n){var t=$(),r=Z();Ee(r,e.visitNode(n.left,G,e.isExpression),n.left),55===n.operatorToken.kind?Le(t,r,n.left):Se(t,r,n.left);return Ee(r,e.visitNode(n.right,G,e.isExpression),n.right),ee(t),r}(t):27===t.operatorToken.kind?function(n){var t=[];return r(n.left),r(n.right),f.inlineExpressions(t);function r(n){e.isBinaryExpression(n)&&27===n.operatorToken.kind?(r(n.left),r(n.right)):(X(n)&&t.length>0&&(xe(1,[f.createExpressionStatement(f.inlineExpressions(t))]),t=[]),t.push(e.visitNode(n,G,e.isExpression)))}}(t):f.updateBinaryExpression(t,Q(e.visitNode(t.left,G,e.isExpression)),t.operatorToken,e.visitNode(t.right,G,e.isExpression));return e.visitEachChild(t,G,n)}(t);case 1:return function(t){var r=t.left,a=t.right;if(X(a)){var i=void 0;switch(r.kind){case 198:i=f.updatePropertyAccessExpression(r,Q(e.visitNode(r.expression,G,e.isLeftHandSideExpression)),r.name);break;case 199:i=f.updateElementAccessExpression(r,Q(e.visitNode(r.expression,G,e.isLeftHandSideExpression)),Q(e.visitNode(r.argumentExpression,G,e.isExpression)));break;default:i=e.visitNode(r,G,e.isExpression)}var o=t.operatorToken.kind;return e.isCompoundAssignment(o)?e.setTextRange(f.createAssignment(i,e.setTextRange(f.createBinaryExpression(Q(i),e.getNonAssignmentOperatorForCompoundAssignment(o),e.visitNode(a,G,e.isExpression)),t)),t):f.updateBinaryExpression(t,i,t.operatorToken,e.visitNode(a,G,e.isExpression))}return e.visitEachChild(t,G,n)}(t);default:return e.Debug.assertNever(r)}}(t);case 214:return function(t){if(X(t.whenTrue)||X(t.whenFalse)){var r=$(),a=$(),i=Z();return Le(r,e.visitNode(t.condition,G,e.isExpression),t.condition),Ee(i,e.visitNode(t.whenTrue,G,e.isExpression),t.whenTrue),Te(a),ee(r),Ee(i,e.visitNode(t.whenFalse,G,e.isExpression),t.whenFalse),ee(a),i}return e.visitEachChild(t,G,n)}(t);case 216:return function(n){var t=$(),r=e.visitNode(n.expression,G,e.isExpression);if(n.asteriskToken){!function(e,n){xe(7,[e],n)}(0==(8388608&e.getEmitFlags(n.expression))?e.setTextRange(m().createValuesHelper(r),n):r,n)}else!function(e,n){xe(6,[e],n)}(r,n);return ee(t),function(n){return e.setTextRange(f.createCallExpression(f.createPropertyAccessExpression(A,"sent"),void 0,[]),n)}(n)}(t);case 196:return function(e){return K(e.elements,void 0,void 0,e.multiLine)}(t);case 197:return function(n){var t=n.properties,r=n.multiLine,a=Y(t),i=Z();Ee(i,f.createObjectLiteralExpression(e.visitNodes(t,G,e.isObjectLiteralElementLike,0,a),r));var o=e.reduceLeft(t,(function(t,a){X(a)&&t.length>0&&(be(f.createExpressionStatement(f.inlineExpressions(t))),t=[]);var o=e.createExpressionForObjectLiteralElementLike(f,n,a,i),s=e.visitNode(o,G,e.isExpression);s&&(r&&e.startOnNewLine(s),t.push(s));return t}),[],a);return o.push(r?e.startOnNewLine(e.setParent(e.setTextRange(f.cloneNode(i),i),i.parent)):i),f.inlineExpressions(o)}(t);case 199:return function(t){if(X(t.argumentExpression))return f.updateElementAccessExpression(t,Q(e.visitNode(t.expression,G,e.isLeftHandSideExpression)),e.visitNode(t.argumentExpression,G,e.isExpression));return e.visitEachChild(t,G,n)}(t);case 200:return function(t){if(!e.isImportCall(t)&&e.forEach(t.arguments,X)){var r=f.createCallBinding(t.expression,h,b,!0),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(f.createFunctionApplyCall(Q(e.visitNode(a,G,e.isLeftHandSideExpression)),i,K(t.arguments)),t),t)}return e.visitEachChild(t,G,n)}(t);case 201:return function(t){if(e.forEach(t.arguments,X)){var r=f.createCallBinding(f.createPropertyAccessExpression(t.expression,"bind"),h),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(f.createNewExpression(f.createFunctionApplyCall(Q(e.visitNode(a,G,e.isExpression)),i,K(t.arguments,f.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,G,n)}(t);default:return e.visitEachChild(t,G,n)}}(t):1049088&t.transformFlags?e.visitEachChild(t,G,n):t}}function U(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(f.createFunctionDeclaration(void 0,t.modifiers,void 0,t.name,void 0,e.visitParameterList(t.parameters,G,n),void 0,j(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,G,n),a=r,i=o}return a?void y(t):t}function V(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(f.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,G,n),void 0,j(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,G,n),a=r,i=o}return t}function j(n){var t=[],r=a,o=i,m=s,y=c,h=l,v=u,b=d,E=p,T=M,D=S,C=L,I=x,N=A;a=!0,i=!1,s=void 0,c=void 0,l=void 0,u=void 0,d=void 0,p=void 0,M=1,S=void 0,L=void 0,x=void 0,A=f.createTempVariable(void 0),_();var R=f.copyPrologue(n.statements,t,!1,G);H(n.statements,R);var k=Ae();return e.insertStatementsAfterStandardPrologue(t,g()),t.push(f.createReturnStatement(k)),a=r,i=o,s=m,c=y,l=h,u=v,d=b,p=E,M=T,S=D,L=C,x=I,A=N,e.setTextRange(f.createBlock(t,n.multiLine),n)}function K(n,t,r,a){var i,s=Y(n);if(s>0){i=Z();var c=e.visitNodes(n,G,e.isExpression,0,s);Ee(i,f.createArrayLiteralExpression(t?o([t],c):c)),t=void 0}var l=e.reduceLeft(n,(function(n,r){if(X(r)&&n.length>0){var s=void 0!==i;i||(i=Z()),Ee(i,s?f.createArrayConcatCall(i,[f.createArrayLiteralExpression(n,a)]):f.createArrayLiteralExpression(t?o([t],n):n,a)),t=void 0,n=[]}return n.push(e.visitNode(r,G,e.isExpression)),n}),[],s);return i?f.createArrayConcatCall(i,[f.createArrayLiteralExpression(l,a)]):e.setTextRange(f.createArrayLiteralExpression(t?o([t],l):l,a),r)}function H(e,n){void 0===n&&(n=0);for(var t=e.length,r=n;r<t;r++)q(e[r])}function W(n){e.isBlock(n)?H(n.statements):q(n)}function q(a){var o=i;i||(i=X(a)),function(a){switch(a.kind){case 227:return function(n){X(n)?H(n.statements):be(e.visitNode(n,G,e.isStatement))}(a);case 230:return function(n){be(e.visitNode(n,G,e.isStatement))}(a);case 231:return function(n){if(X(n))if(X(n.thenStatement)||X(n.elseStatement)){var t=$(),r=n.elseStatement?$():void 0;Le(n.elseStatement?r:t,e.visitNode(n.expression,G,e.isExpression),n.expression),W(n.thenStatement),n.elseStatement&&(Te(t),ee(r),W(n.elseStatement)),ee(t)}else be(e.visitNode(n,G,e.isStatement));else be(e.visitNode(n,G,e.isStatement))}(a);case 232:return function(n){if(X(n)){var t=$(),r=$();oe(t),ee(r),W(n.statement),ee(t),Se(r,e.visitNode(n.expression,G,e.isExpression)),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 233:return function(n){if(X(n)){var t=$(),r=oe(t);ee(t),Le(r,e.visitNode(n.expression,G,e.isExpression)),W(n.statement),Te(t),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 234:return function(n){if(X(n)){var t=$(),r=$(),a=oe(r);if(n.initializer){var i=n.initializer;e.isVariableDeclarationList(i)?z(i):be(e.setTextRange(f.createExpressionStatement(e.visitNode(i,G,e.isExpression)),i))}ee(t),n.condition&&Le(a,e.visitNode(n.condition,G,e.isExpression)),W(n.statement),ee(r),n.incrementor&&be(e.setTextRange(f.createExpressionStatement(e.visitNode(n.incrementor,G,e.isExpression)),n.incrementor)),Te(t),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 235:return function(n){if(X(n)){var t=Z(),r=Z(),a=f.createLoopVariable(),i=n.initializer;h(a),Ee(t,f.createArrayLiteralExpression()),be(f.createForInStatement(r,e.visitNode(n.expression,G,e.isExpression),f.createExpressionStatement(f.createCallExpression(f.createPropertyAccessExpression(t,"push"),void 0,[r])))),Ee(a,f.createNumericLiteral(0));var o=$(),s=$(),c=oe(s);ee(o),Le(c,f.createLessThan(a,f.createPropertyAccessExpression(t,"length")));var l=void 0;if(e.isVariableDeclarationList(i)){for(var u=0,d=i.declarations;u<d.length;u++){var p=d[u];h(p.name)}l=f.cloneNode(i.declarations[0].name)}else l=e.visitNode(i,G,e.isExpression),e.Debug.assert(e.isLeftHandSideExpression(l));Ee(l,f.createElementAccessExpression(t,a)),W(n.statement),ee(s),be(f.createExpressionStatement(f.createPostfixIncrement(a))),Te(o),se()}else be(e.visitNode(n,G,e.isStatement))}(a);case 237:return function(n){var t=_e(n.label?e.idText(n.label):void 0);t>0?Te(t,n):be(n)}(a);case 238:return function(n){var t=me(n.label?e.idText(n.label):void 0);t>0?Te(t,n):be(n)}(a);case 239:return function(n){t=e.visitNode(n.expression,G,e.isExpression),r=n,xe(8,[t],r);var t,r}(a);case 240:return function(n){X(n)?(t=Q(e.visitNode(n.expression,G,e.isExpression)),r=$(),a=$(),ee(r),ne({kind:1,expression:t,startLabel:r,endLabel:a}),W(n.statement),e.Debug.assert(1===ae()),ee(te().endLabel)):be(e.visitNode(n,G,e.isStatement));var t,r,a}(a);case 241:return function(n){if(X(n.caseBlock)){for(var t=n.caseBlock,r=t.clauses.length,a=(ne({kind:2,isScript:!1,breakLabel:m=$()}),m),i=Q(e.visitNode(n.expression,G,e.isExpression)),o=[],s=-1,c=0;c<r;c++){var l=t.clauses[c];o.push($()),282===l.kind&&-1===s&&(s=c)}for(var u=0,d=[];u<r;){var p=0;for(c=u;c<r;c++){if(281===(l=t.clauses[c]).kind){if(X(l.expression)&&d.length>0)break;d.push(f.createCaseClause(e.visitNode(l.expression,G,e.isExpression),[he(o[c],l.expression)]))}else p++}d.length&&(be(f.createSwitchStatement(i,f.createCaseBlock(d))),u+=d.length,d=[]),p>0&&(u+=p,p=0)}Te(s>=0?o[s]:a);for(c=0;c<r;c++)ee(o[c]),H(t.clauses[c].statements);ce()}else be(e.visitNode(n,G,e.isStatement));var m}(a);case 242:return function(n){X(n)?(t=e.idText(n.label),r=$(),ne({kind:4,isScript:!1,labelText:t,breakLabel:r}),W(n.statement),le()):be(e.visitNode(n,G,e.isStatement));var t,r}(a);case 243:return function(n){var t;r=e.visitNode(null!==(t=n.expression)&&void 0!==t?t:f.createVoidZero(),G,e.isExpression),a=n,xe(9,[r],a);var r,a}(a);case 244:return function(a){X(a)?(i=$(),o=$(),ee(i),ne({kind:0,state:0,startLabel:i,endLabel:o}),ve(),W(a.tryBlock),a.catchClause&&(!function(a){var i;if(e.Debug.assert(0===ae()),e.isGeneratedIdentifier(a.name))i=a.name,h(a.name);else{var o=e.idText(a.name);i=Z(o),t||(t=new e.Map,r=[],n.enableSubstitution(78)),t.set(o,!0),r[e.getOriginalNodeId(a)]=i}var s=re();e.Debug.assert(s.state<1),Te(s.endLabel);var c=$();ee(c),s.state=1,s.catchVariable=i,s.catchLabel=c,Ee(i,f.createCallExpression(f.createPropertyAccessExpression(A,"sent"),void 0,[])),ve()}(a.catchClause.variableDeclaration),W(a.catchClause.block)),a.finallyBlock&&(!function(){e.Debug.assert(0===ae());var n=re();e.Debug.assert(n.state<2),Te(n.endLabel);var t=$();ee(t),n.state=2,n.finallyLabel=t}(),W(a.finallyBlock)),function(){e.Debug.assert(0===ae());var n=te();n.state<2?Te(n.endLabel):xe(10);ee(n.endLabel),ve(),n.state=3}()):be(e.visitEachChild(a,G,n));var i,o}(a);default:be(e.visitNode(a,G,e.isStatement))}}(a),i=o}function z(n){for(var t=0,r=n.declarations;t<r.length;t++){var a=r[t],i=f.cloneNode(a.name);e.setCommentRange(i,a.name),h(i)}for(var o=e.getInitializedVariables(n),s=o.length,c=0,l=[];c<s;){for(var u=c;u<s;u++){if(X((a=o[u]).initializer)&&l.length>0)break;l.push(J(a))}l.length&&(be(f.createExpressionStatement(f.inlineExpressions(l))),c+=l.length,l=[])}}function J(n){return e.setSourceMapRange(f.createAssignment(e.setSourceMapRange(f.cloneNode(n.name),n.name),e.visitNode(n.initializer,G,e.isExpression)),n)}function X(e){return!!e&&0!=(262144&e.transformFlags)}function Y(e){for(var n=e.length,t=0;t<n;t++)if(X(e[t]))return t;return-1}function Q(n){if(e.isGeneratedIdentifier(n)||4096&e.getEmitFlags(n))return n;var t=f.createTempVariable(h);return Ee(t,n,n),t}function Z(e){var n=e?f.createUniqueName(e):f.createTempVariable(void 0);return h(n),n}function $(){d||(d=[]);var e=M;return M++,d[e]=-1,e}function ee(n){e.Debug.assert(void 0!==d,"No labels were defined."),d[n]=S?S.length:0}function ne(e){s||(s=[],l=[],c=[],u=[]);var n=l.length;return l[n]=0,c[n]=S?S.length:0,s[n]=e,u.push(e),n}function te(){var n=re();if(void 0===n)return e.Debug.fail("beginBlock was never called.");var t=l.length;return l[t]=1,c[t]=S?S.length:0,s[t]=n,u.pop(),n}function re(){return e.lastOrUndefined(u)}function ae(){var e=re();return e&&e.kind}function ie(){ne({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function oe(e){var n=$();return ne({kind:3,isScript:!1,breakLabel:n,continueLabel:e}),n}function se(){e.Debug.assert(3===ae());var n=te(),t=n.breakLabel;n.isScript||ee(t)}function ce(){e.Debug.assert(2===ae());var n=te(),t=n.breakLabel;n.isScript||ee(t)}function le(){e.Debug.assert(4===ae());var n=te();n.isScript||ee(n.breakLabel)}function ue(e){return 2===e.kind||3===e.kind}function de(e){return 4===e.kind}function pe(e){return 3===e.kind}function fe(e,n){for(var t=n;t>=0;t--){var r=u[t];if(!de(r))break;if(r.labelText===e)return!0}return!1}function me(e){if(u)if(e)for(var n=u.length-1;n>=0;n--){if(de(t=u[n])&&t.labelText===e)return t.breakLabel;if(ue(t)&&fe(e,n-1))return t.breakLabel}else for(n=u.length-1;n>=0;n--){var t;if(ue(t=u[n]))return t.breakLabel}return 0}function _e(e){if(u)if(e)for(var n=u.length-1;n>=0;n--){if(pe(t=u[n])&&fe(e,n-1))return t.continueLabel}else for(n=u.length-1;n>=0;n--){var t;if(pe(t=u[n]))return t.continueLabel}return 0}function ge(e){if(void 0!==e&&e>0){void 0===p&&(p=[]);var n=f.createNumericLiteral(-1);return void 0===p[e]?p[e]=[n]:p[e].push(n),n}return f.createOmittedExpression()}function ye(n){var t=f.createNumericLiteral(n);return e.addSyntheticTrailingComment(t,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(n)),t}function he(n,t){return e.Debug.assertLessThan(0,n,"Invalid label"),e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),t)}function ve(){xe(0)}function be(e){e?xe(1,[e]):ve()}function Ee(e,n,t){xe(2,[e,n],t)}function Te(e,n){xe(3,[e],n)}function Se(e,n,t){xe(4,[e,n],t)}function Le(e,n,t){xe(5,[e,n],t)}function xe(e,n,t){void 0===S&&(S=[],L=[],x=[]),void 0===d&&ee($());var r=S.length;S[r]=e,L[r]=n,x[r]=t}function Ae(){w=0,F=0,D=void 0,C=!1,I=!1,N=void 0,R=void 0,k=void 0,O=void 0,P=void 0;var n=function(){if(S){for(var n=0;n<S.length;n++)Ne(n);De(S.length)}else De(0);if(N){var t=f.createPropertyAccessExpression(A,"label"),r=f.createSwitchStatement(t,f.createCaseBlock(N));return[e.startOnNewLine(r)]}if(R)return R;return[]}();return m().createGeneratorHelper(e.setEmitFlags(f.createFunctionExpression(void 0,void 0,void 0,void 0,[f.createParameterDeclaration(void 0,void 0,void 0,A)],void 0,f.createBlock(n,n.length>0)),524288))}function De(e){(function(e){if(!I)return!0;if(!d||!p)return!1;for(var n=0;n<d.length;n++)if(d[n]===e&&p[n])return!0;return!1})(e)&&(Ie(e),P=void 0,ke(void 0,void 0)),R&&N&&Ce(!1),function(){if(void 0!==p&&void 0!==D)for(var e=0;e<D.length;e++){var n=D[e];if(void 0!==n)for(var t=0,r=n;t<r.length;t++){var a=r[t],i=p[a];if(void 0!==i)for(var o=0,s=i;o<s.length;o++){s[o].text=String(e)}}}}()}function Ce(e){if(N||(N=[]),R){if(P)for(var n=P.length-1;n>=0;n--){var t=P[n];R=[f.createWithStatement(t.expression,f.createBlock(R))]}if(O){var r=O.startLabel,a=O.catchLabel,i=O.finallyLabel,o=O.endLabel;R.unshift(f.createExpressionStatement(f.createCallExpression(f.createPropertyAccessExpression(f.createPropertyAccessExpression(A,"trys"),"push"),void 0,[f.createArrayLiteralExpression([ge(r),ge(a),ge(i),ge(o)])]))),O=void 0}e&&R.push(f.createExpressionStatement(f.createAssignment(f.createPropertyAccessExpression(A,"label"),f.createNumericLiteral(F+1))))}N.push(f.createCaseClause(f.createNumericLiteral(F),R||[])),R=void 0}function Ie(e){if(d)for(var n=0;n<d.length;n++)d[n]===e&&(R&&(Ce(!C),C=!1,I=!1,F++),void 0===D&&(D=[]),void 0===D[F]?D[F]=[n]:D[F].push(n))}function Ne(n){if(Ie(n),function(e){if(s)for(;w<l.length&&c[w]<=e;w++){var n=s[w],t=l[w];switch(n.kind){case 0:0===t?(k||(k=[]),R||(R=[]),k.push(O),O=n):1===t&&(O=k.pop());break;case 1:0===t?(P||(P=[]),P.push(n)):1===t&&P.pop()}}}(n),!C){C=!1,I=!1;var t=S[n];if(0!==t){if(10===t)return C=!0,void Re(f.createReturnStatement(f.createArrayLiteralExpression([ye(7)])));var r=L[n];if(1===t)return Re(r[0]);var a,i,o,u=x[n];switch(t){case 2:return a=r[0],i=r[1],o=u,void Re(e.setTextRange(f.createExpressionStatement(f.createAssignment(a,i)),o));case 3:return function(n,t){C=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),t),384))}(r[0],u);case 4:return function(n,t,r){Re(e.setEmitFlags(f.createIfStatement(t,e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),r),384)),1))}(r[0],r[1],u);case 5:return function(n,t,r){Re(e.setEmitFlags(f.createIfStatement(f.createLogicalNot(t),e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),ge(n)])),r),384)),1))}(r[0],r[1],u);case 6:return function(n,t){C=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(n?[ye(4),n]:[ye(4)])),t),384))}(r[0],u);case 7:return function(n,t){C=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(5),n])),t),384))}(r[0],u);case 8:return ke(r[0],u);case 9:return function(n,t){C=!0,I=!0,Re(e.setTextRange(f.createThrowStatement(n),t))}(r[0],u)}}}}function Re(e){e&&(R?R.push(e):R=[e])}function ke(n,t){C=!0,I=!0,Re(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(n?[ye(2),n]:[ye(2)])),t),384))}}}(p||(p={})),function(e){e.transformModule=function(t){var r=t.factory,a=t.getEmitHelperFactory,i=t.startLexicalEnvironment,s=t.endLexicalEnvironment,c=t.hoistVariableDeclaration,l=t.getCompilerOptions(),u=t.getEmitResolver(),d=t.getEmitHost(),p=e.getEmitScriptTarget(l),f=e.getEmitModuleKind(l),m=t.onSubstituteNode,_=t.onEmitNode;t.onSubstituteNode=function(n,t){if((t=m(n,t)).id&&h[t.id])return t;if(1===n)return function(n){switch(n.kind){case 78:return X(n);case 213:return function(n){if(e.isAssignmentOperator(n.operatorToken.kind)&&e.isIdentifier(n.left)&&!e.isGeneratedIdentifier(n.left)&&!e.isLocalName(n.left)&&!e.isDeclarationNameOfEnumOrNamespace(n.left)){var t=Y(n.left);if(t){for(var r=n,a=0,i=t;a<i.length;a++){var o=i[a];h[e.getNodeId(r)]=!0,r=z(o,r,n)}return r}}return n}(n);case 212:case 211:return function(n){if((45===n.operator||46===n.operator)&&e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&!e.isDeclarationNameOfEnumOrNamespace(n.operand)){var t=Y(n.operand);if(t){for(var a=212===n.kind?e.setTextRange(r.createBinaryExpression(n.operand,r.createToken(45===n.operator?63:64),r.createNumericLiteral(1)),n):n,i=0,o=t;i<o.length;i++){var s=o[i];h[e.getNodeId(a)]=!0,a=z(s,a)}return a}}return n}(n)}return n}(t);if(e.isShorthandPropertyAssignment(t))return function(n){var t=n.name,a=X(t);if(a!==t){if(n.objectAssignmentInitializer){var i=r.createAssignment(a,n.objectAssignmentInitializer);return e.setTextRange(r.createPropertyAssignment(t,i),n)}return e.setTextRange(r.createPropertyAssignment(t,a),n)}return n}(t);return t},t.onEmitNode=function(n,t,r){294===t.kind?(g=t,y=b[e.getOriginalNodeId(g)],h=[],_(n,t,r),g=void 0,y=void 0,h=void 0):_(n,t,r)},t.enableSubstitution(78),t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableSubstitution(286),t.enableEmitNotification(294);var g,y,h,v,b=[],E=[];return e.chainBundle(t,(function(n){if(n.isDeclarationFile||!(e.isEffectiveExternalModule(n,l)||2097152&n.transformFlags||e.isJsonSourceFile(n)&&e.hasJsonModuleEmitEnabled(l)&&e.outFile(l)))return n;g=n,y=e.collectExternalModuleInfo(t,n,u,l),b[e.getOriginalNodeId(n)]=y;var r=function(n){switch(n){case e.ModuleKind.AMD:return L;case e.ModuleKind.UMD:return x;default:return S}}(f)(n);return g=void 0,y=void 0,v=!1,r}));function T(){return!(y.exportEquals||!e.isExternalModule(g))}function S(n){i();var a=[],o=e.getStrictOptionValue(l,"alwaysStrict")||!l.noImplicitUseStrict&&e.isExternalModule(g),c=r.copyPrologue(n.statements,a,o&&!e.isJsonSourceFile(n),N);T()&&e.append(a,q()),e.length(y.exportedNames)&&e.append(a,r.createExpressionStatement(e.reduceLeft(y.exportedNames,(function(n,t){return r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.createIdentifier(e.idText(t))),n)}),r.createVoidZero()))),e.append(a,e.visitNode(y.externalHelpersImportDeclaration,N,e.isStatement)),e.addRange(a,e.visitNodes(n.statements,N,e.isStatement,c)),I(a,!1),e.insertStatementsAfterStandardPrologue(a,s());var u=r.updateSourceFile(n,e.setTextRange(r.createNodeArray(a),n.statements));return e.addEmitHelpers(u,t.readEmitHelpers()),u}function L(n){var a=r.createIdentifier("define"),i=e.tryGetModuleNameFromFile(r,n,d,l),s=e.isJsonSourceFile(n)&&n,c=A(n,!0),u=c.aliasedModuleNames,p=c.unaliasedModuleNames,f=c.importAliasNames,m=r.updateSourceFile(n,e.setTextRange(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(a,void 0,o(i?[i]:[],[r.createArrayLiteralExpression(s?e.emptyArray:o([r.createStringLiteral("require"),r.createStringLiteral("exports")],u,p)),s?s.statements.length?s.statements[0].expression:r.createObjectLiteralExpression():r.createFunctionExpression(void 0,void 0,void 0,void 0,o([r.createParameterDeclaration(void 0,void 0,void 0,"require"),r.createParameterDeclaration(void 0,void 0,void 0,"exports")],f),void 0,C(n))])))]),n.statements));return e.addEmitHelpers(m,t.readEmitHelpers()),m}function x(n){var a=A(n,!1),i=a.aliasedModuleNames,s=a.unaliasedModuleNames,c=a.importAliasNames,u=e.tryGetModuleNameFromFile(r,n,d,l),p=r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,"factory")],void 0,e.setTextRange(r.createBlock([r.createIfStatement(r.createLogicalAnd(r.createTypeCheck(r.createIdentifier("module"),"object"),r.createTypeCheck(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),"object")),r.createBlock([r.createVariableStatement(void 0,[r.createVariableDeclaration("v",void 0,void 0,r.createCallExpression(r.createIdentifier("factory"),void 0,[r.createIdentifier("require"),r.createIdentifier("exports")]))]),e.setEmitFlags(r.createIfStatement(r.createStrictInequality(r.createIdentifier("v"),r.createIdentifier("undefined")),r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),r.createIdentifier("v")))),1)]),r.createIfStatement(r.createLogicalAnd(r.createTypeCheck(r.createIdentifier("define"),"function"),r.createPropertyAccessExpression(r.createIdentifier("define"),"amd")),r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("define"),void 0,o(u?[u]:[],[r.createArrayLiteralExpression(o([r.createStringLiteral("require"),r.createStringLiteral("exports")],i,s)),r.createIdentifier("factory")])))])))],!0),void 0)),f=r.updateSourceFile(n,e.setTextRange(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(p,void 0,[r.createFunctionExpression(void 0,void 0,void 0,void 0,o([r.createParameterDeclaration(void 0,void 0,void 0,"require"),r.createParameterDeclaration(void 0,void 0,void 0,"exports")],c),void 0,C(n))]))]),n.statements));return e.addEmitHelpers(f,t.readEmitHelpers()),f}function A(n,t){for(var a=[],i=[],o=[],s=0,c=n.amdDependencies;s<c.length;s++){var p=c[s];p.name?(a.push(r.createStringLiteral(p.path)),o.push(r.createParameterDeclaration(void 0,void 0,void 0,p.name))):i.push(r.createStringLiteral(p.path))}for(var f=0,m=y.externalImports;f<m.length;f++){var _=m[f],h=e.getExternalModuleNameLiteral(r,_,g,d,u,l),v=e.getLocalNameForExternalImport(r,_,g);h&&(t&&v?(e.setEmitFlags(v,4),a.push(h),o.push(r.createParameterDeclaration(void 0,void 0,void 0,v))):i.push(h))}return{aliasedModuleNames:a,unaliasedModuleNames:i,importAliasNames:o}}function D(n){if(!e.isImportEqualsDeclaration(n)&&!e.isExportDeclaration(n)&&e.getExternalModuleNameLiteral(r,n,g,d,u,l)){var t=e.getLocalNameForExternalImport(r,n,g),a=P(n,t);if(a!==t)return r.createExpressionStatement(r.createAssignment(t,a))}}function C(t){i();var a=[],o=r.copyPrologue(t.statements,a,!l.noImplicitUseStrict,N);T()&&e.append(a,q()),e.length(y.exportedNames)&&e.append(a,r.createExpressionStatement(e.reduceLeft(y.exportedNames,(function(n,t){return r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.createIdentifier(e.idText(t))),n)}),r.createVoidZero()))),e.append(a,e.visitNode(y.externalHelpersImportDeclaration,N,e.isStatement)),f===e.ModuleKind.AMD&&e.addRange(a,e.mapDefined(y.externalImports,D)),e.addRange(a,e.visitNodes(t.statements,N,e.isStatement,o)),I(a,!0),e.insertStatementsAfterStandardPrologue(a,s());var c=r.createBlock(a,!0);return v&&e.addEmitHelper(c,n),c}function I(n,t){if(y.exportEquals){var a=e.visitNode(y.exportEquals.expression,R);if(a)if(t){var i=r.createReturnStatement(a);e.setTextRange(i,y.exportEquals),e.setEmitFlags(i,1920),n.push(i)}else{i=r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),a));e.setTextRange(i,y.exportEquals),e.setEmitFlags(i,1536),n.push(i)}}}function N(n){switch(n.kind){case 258:return function(n){var t,a=e.getNamespaceDeclarationNode(n);if(f!==e.ModuleKind.AMD){if(!n.importClause)return e.setOriginalNode(e.setTextRange(r.createExpressionStatement(M(n)),n),n);var i=[];a&&!e.isDefaultImport(n)?i.push(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,P(n,M(n)))):(i.push(r.createVariableDeclaration(r.getGeneratedNameForNode(n),void 0,void 0,P(n,M(n)))),a&&e.isDefaultImport(n)&&i.push(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,r.getGeneratedNameForNode(n)))),t=e.append(t,e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList(i,p>=2?2:0)),n),n))}else a&&e.isDefaultImport(n)&&(t=e.append(t,r.createVariableStatement(void 0,r.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,r.getGeneratedNameForNode(n)),n),n)],p>=2?2:0))));if(G(n)){var o=e.getOriginalNodeId(n);E[o]=B(E[o],n)}else t=B(t,n);return e.singleOrMany(t)}(n);case 257:return function(n){var t;e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),f!==e.ModuleKind.AMD?t=e.hasSyntacticModifier(n,1)?e.append(t,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(n.name,M(n))),n),n)):e.append(t,e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(r.cloneNode(n.name),void 0,void 0,M(n))],p>=2?2:0)),n),n)):e.hasSyntacticModifier(n,1)&&(t=e.append(t,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(r.getExportName(n),r.getLocalName(n))),n),n)));if(G(n)){var a=e.getOriginalNodeId(n);E[a]=U(E[a],n)}else t=U(t,n);return e.singleOrMany(t)}(n);case 264:return function(n){if(!n.moduleSpecifier)return;var t=r.getGeneratedNameForNode(n);if(n.exportClause&&e.isNamedExports(n.exportClause)){var i=[];f!==e.ModuleKind.AMD&&i.push(e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(t,void 0,void 0,M(n))])),n),n));for(var o=0,s=n.exportClause.elements;o<s.length;o++){var c=s[o];if(0===p)i.push(e.setOriginalNode(e.setTextRange(r.createExpressionStatement(a().createCreateBindingHelper(t,r.createStringLiteralFromNode(c.propertyName||c.name),c.propertyName?r.createStringLiteralFromNode(c.name):void 0)),c),c));else{var u=!(!l.esModuleInterop||67108864&e.getEmitFlags(n)||"default"!==e.idText(c.propertyName||c.name)),d=r.createPropertyAccessExpression(u?a().createImportDefaultHelper(t):t,c.propertyName||c.name);i.push(e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(r.getExportName(c),d,void 0,!0)),c),c))}}return e.singleOrMany(i)}return n.exportClause?((i=[]).push(e.setOriginalNode(e.setTextRange(r.createExpressionStatement(z(r.cloneNode(n.exportClause.name),function(n,t){if(!l.esModuleInterop||67108864&e.getEmitFlags(n))return t;if(e.getExportNeedsImportStarHelper(n))return a().createImportStarHelper(t);return t}(n,f!==e.ModuleKind.AMD?M(n):r.createIdentifier(e.idText(n.exportClause.name))))),n),n)),e.singleOrMany(i)):e.setOriginalNode(e.setTextRange(r.createExpressionStatement(a().createExportStarHelper(f!==e.ModuleKind.AMD?M(n):t)),n),n)}(n);case 263:return function(n){if(n.isExportEquals)return;var t,a=n.original;if(a&&G(a)){var i=e.getOriginalNodeId(n);E[i]=W(E[i],r.createIdentifier("default"),e.visitNode(n.expression,R),n,!0)}else t=W(t,r.createIdentifier("default"),e.visitNode(n.expression,R),n,!0);return e.singleOrMany(t)}(n);case 229:return function(n){var a,i,o;if(e.hasSyntacticModifier(n,1)){for(var s=void 0,c=0,l=n.declarationList.declarations;c<l.length;c++){var u=l[c];e.isIdentifier(u.name)&&e.isLocalName(u.name)?(s||(s=e.visitNodes(n.modifiers,J,e.isModifier)),i=e.append(i,u)):u.initializer&&(o=e.append(o,F(u)))}i&&(a=e.append(a,r.updateVariableStatement(n,s,r.updateVariableDeclarationList(n.declarationList,i)))),o&&(a=e.append(a,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(r.inlineExpressions(o)),n),n)))}else a=e.append(a,e.visitEachChild(n,R,t));if(G(n)){var d=e.getOriginalNodeId(n);E[d]=V(E[d],n)}else a=V(a,n);return e.singleOrMany(a)}(n);case 248:return function(n){var a;a=e.hasSyntacticModifier(n,1)?e.append(a,e.setOriginalNode(e.setTextRange(r.createFunctionDeclaration(void 0,e.visitNodes(n.modifiers,J,e.isModifier),n.asteriskToken,r.getDeclarationName(n,!0,!0),void 0,e.visitNodes(n.parameters,R),void 0,e.visitEachChild(n.body,R,t)),n),n)):e.append(a,e.visitEachChild(n,R,t));if(G(n)){var i=e.getOriginalNodeId(n);E[i]=K(E[i],n)}else a=K(a,n);return e.singleOrMany(a)}(n);case 249:return function(n){var a;a=e.hasSyntacticModifier(n,1)?e.append(a,e.setOriginalNode(e.setTextRange(r.createClassDeclaration(void 0,e.visitNodes(n.modifiers,J,e.isModifier),r.getDeclarationName(n,!0,!0),void 0,e.visitNodes(n.heritageClauses,R),e.visitNodes(n.members,R)),n),n)):e.append(a,e.visitEachChild(n,R,t));if(G(n)){var i=e.getOriginalNodeId(n);E[i]=K(E[i],n)}else a=K(a,n);return e.singleOrMany(a)}(n);case 333:return function(n){if(G(n)&&229===n.original.kind){var t=e.getOriginalNodeId(n);E[t]=V(E[t],n.original)}return n}(n);case 334:return function(n){var t=e.getOriginalNodeId(n),r=E[t];if(r)return delete E[t],e.append(r,n);return n}(n);default:return e.visitEachChild(n,R,t)}}function R(n){return 2097152&n.transformFlags||1024&n.transformFlags?e.isImportCall(n)?function(n){var t=e.visitNode(e.firstOrUndefined(n.arguments),R),a=!!(4096&n.transformFlags);switch(l.module){case e.ModuleKind.AMD:return k(t,a);case e.ModuleKind.UMD:return function(n,t){if(v=!0,e.isSimpleCopiableExpression(n)){var a=e.isGeneratedIdentifier(n)?n:e.isStringLiteral(n)?r.createStringLiteralFromNode(n):e.setEmitFlags(e.setTextRange(r.cloneNode(n),n),1536);return r.createConditionalExpression(r.createIdentifier("__syncRequire"),void 0,O(n,t),void 0,k(a,t))}var i=r.createTempVariable(c);return r.createComma(r.createAssignment(i,n),r.createConditionalExpression(r.createIdentifier("__syncRequire"),void 0,O(i,t),void 0,k(i,t)))}(null!=t?t:r.createVoidZero(),a);case e.ModuleKind.CommonJS:default:return O(t,a)}}(n):e.isDestructuringAssignment(n)?function(n){if(function n(t){if(e.isObjectLiteralExpression(t))for(var r=0,a=t.properties;r<a.length;r++){switch((s=a[r]).kind){case 285:if(n(s.initializer))return!0;break;case 286:if(n(s.name))return!0;break;case 287:if(n(s.expression))return!0;break;case 164:case 166:case 167:return!1;default:e.Debug.assertNever(s,"Unhandled object member kind")}}else if(e.isArrayLiteralExpression(t))for(var i=0,o=t.elements;i<o.length;i++){var s=o[i];if(e.isSpreadElement(s)){if(n(s.expression))return!0}else if(n(s))return!0}else if(e.isIdentifier(t))return e.length(Y(t))>(e.isExportName(t)?1:0);return!1}(n.left))return e.flattenDestructuringAssignment(n,R,t,0,!1,w);return e.visitEachChild(n,R,t)}(n):e.visitEachChild(n,R,t):n}function k(n,t){var i,o=r.createUniqueName("resolve"),s=r.createUniqueName("reject"),c=[r.createParameterDeclaration(void 0,void 0,void 0,o),r.createParameterDeclaration(void 0,void 0,void 0,s)],u=r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("require"),void 0,[r.createArrayLiteralExpression([n||r.createOmittedExpression()]),o,s]))]);p>=2?i=r.createArrowFunction(void 0,void 0,c,void 0,void 0,u):(i=r.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,u),t&&e.setEmitFlags(i,8));var d=r.createNewExpression(r.createIdentifier("Promise"),void 0,[i]);return l.esModuleInterop?r.createCallExpression(r.createPropertyAccessExpression(d,r.createIdentifier("then")),void 0,[a().createImportStarCallbackHelper()]):d}function O(n,t){var i,o=r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Promise"),"resolve"),void 0,[]),s=r.createCallExpression(r.createIdentifier("require"),void 0,n?[n]:[]);return l.esModuleInterop&&(s=a().createImportStarHelper(s)),p>=2?i=r.createArrowFunction(void 0,void 0,[],void 0,void 0,s):(i=r.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,r.createBlock([r.createReturnStatement(s)])),t&&e.setEmitFlags(i,8)),r.createCallExpression(r.createPropertyAccessExpression(o,"then"),void 0,[i])}function P(n,t){return!l.esModuleInterop||67108864&e.getEmitFlags(n)?t:e.getImportNeedsImportStarHelper(n)?a().createImportStarHelper(t):e.getImportNeedsImportDefaultHelper(n)?a().createImportDefaultHelper(t):t}function M(n){var t=e.getExternalModuleNameLiteral(r,n,g,d,u,l),a=[];return t&&a.push(t),r.createCallExpression(r.createIdentifier("require"),void 0,a)}function w(n,t,a){var i=Y(n);if(i){for(var o=e.isExportName(n)?t:r.createAssignment(n,t),s=0,c=i;s<c.length;s++){var l=c[s];e.setEmitFlags(o,4),o=z(l,o,a)}return o}return r.createAssignment(n,t)}function F(n){return e.isBindingPattern(n.name)?e.flattenDestructuringAssignment(e.visitNode(n,R),void 0,t,0,!1,w):r.createAssignment(e.setTextRange(r.createPropertyAccessExpression(r.createIdentifier("exports"),n.name),n.name),n.initializer?e.visitNode(n.initializer,R):r.createVoidZero())}function G(n){return 0!=(4194304&e.getEmitFlags(n))}function B(e,n){if(y.exportEquals)return e;var t=n.importClause;if(!t)return e;t.name&&(e=H(e,t));var r=t.namedBindings;if(r)switch(r.kind){case 260:e=H(e,r);break;case 261:for(var a=0,i=r.elements;a<i.length;a++){e=H(e,i[a],!0)}}return e}function U(e,n){return y.exportEquals?e:H(e,n)}function V(e,n){if(y.exportEquals)return e;for(var t=0,r=n.declarationList.declarations;t<r.length;t++){e=j(e,r[t])}return e}function j(n,t){if(y.exportEquals)return n;if(e.isBindingPattern(t.name))for(var r=0,a=t.name.elements;r<a.length;r++){var i=a[r];e.isOmittedExpression(i)||(n=j(n,i))}else e.isGeneratedIdentifier(t.name)||(n=H(n,t));return n}function K(n,t){if(y.exportEquals)return n;e.hasSyntacticModifier(t,1)&&(n=W(n,e.hasSyntacticModifier(t,512)?r.createIdentifier("default"):r.getDeclarationName(t),r.getLocalName(t),t));return t.name&&(n=H(n,t)),n}function H(n,t,a){var i=r.getDeclarationName(t),o=y.exportSpecifiers.get(e.idText(i));if(o)for(var s=0,c=o;s<c.length;s++){var l=c[s];n=W(n,l.name,i,l.name,void 0,a)}return n}function W(n,t,a,i,o,s){return n=e.append(n,function(n,t,a,i,o){var s=e.setTextRange(r.createExpressionStatement(z(n,t,void 0,o)),a);e.startOnNewLine(s),i||e.setEmitFlags(s,1536);return s}(t,a,i,o,s))}function q(){var n;return n=0===p?r.createExpressionStatement(z(r.createIdentifier("__esModule"),r.createTrue())):r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"defineProperty"),void 0,[r.createIdentifier("exports"),r.createStringLiteral("__esModule"),r.createObjectLiteralExpression([r.createPropertyAssignment("value",r.createTrue())])])),e.setEmitFlags(n,1048576),n}function z(n,t,a,i){return e.setTextRange(i&&0!==p?r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"defineProperty"),void 0,[r.createIdentifier("exports"),r.createStringLiteralFromNode(n),r.createObjectLiteralExpression([r.createPropertyAssignment("enumerable",r.createTrue()),r.createPropertyAssignment("get",r.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,r.createBlock([r.createReturnStatement(t)])))])]):r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.cloneNode(n)),t),a)}function J(e){switch(e.kind){case 92:case 87:return}return e}function X(n){if(4096&e.getEmitFlags(n)){var t=e.getExternalHelpersModuleName(g);return t?r.createPropertyAccessExpression(t,n):n}if(!e.isGeneratedIdentifier(n)&&!e.isLocalName(n)){var a=u.getReferencedExportContainer(n,e.isExportName(n));if(a&&294===a.kind)return e.setTextRange(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.cloneNode(n)),n);var i=u.getReferencedImportDeclaration(n);if(i){if(e.isImportClause(i))return e.setTextRange(r.createPropertyAccessExpression(r.getGeneratedNameForNode(i.parent),r.createIdentifier("default")),n);if(e.isImportSpecifier(i)){var o=i.propertyName||i.name;return e.setTextRange(r.createPropertyAccessExpression(r.getGeneratedNameForNode(i.parent.parent.parent),r.cloneNode(o)),n)}}}return n}function Y(n){if(!e.isGeneratedIdentifier(n)){var t=u.getReferencedImportDeclaration(n)||u.getReferencedValueDeclaration(n);if(t)return y&&y.exportedBindings[e.getOriginalNodeId(t)]}}};var n={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}}(p||(p={})),function(e){e.transformSystemModule=function(n){var t=n.factory,r=n.startLexicalEnvironment,a=n.endLexicalEnvironment,i=n.hoistVariableDeclaration,o=n.getCompilerOptions(),s=n.getEmitResolver(),c=n.getEmitHost(),l=n.onSubstituteNode,u=n.onEmitNode;n.onSubstituteNode=function(n,r){if(function(e){return y&&e.id&&y[e.id]}(r=l(n,r)))return r;if(1===n)return function(n){switch(n.kind){case 78:return function(n){if(4096&e.getEmitFlags(n)){var r=e.getExternalHelpersModuleName(d);return r?t.createPropertyAccessExpression(r,n):n}if(!e.isGeneratedIdentifier(n)&&!e.isLocalName(n)){var a=s.getReferencedImportDeclaration(n);if(a){if(e.isImportClause(a))return e.setTextRange(t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent),t.createIdentifier("default")),n);if(e.isImportSpecifier(a))return e.setTextRange(t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent.parent.parent),t.cloneNode(a.propertyName||a.name)),n)}}return n}(n);case 213:return function(n){if(e.isAssignmentOperator(n.operatorToken.kind)&&e.isIdentifier(n.left)&&!e.isGeneratedIdentifier(n.left)&&!e.isLocalName(n.left)&&!e.isDeclarationNameOfEnumOrNamespace(n.left)){var t=z(n.left);if(t){for(var r=n,a=0,i=t;a<i.length;a++){var o=i[a];r=V(o,J(r))}return r}}return n}(n);case 211:case 212:return function(n){if((45===n.operator||46===n.operator)&&e.isIdentifier(n.operand)&&!e.isGeneratedIdentifier(n.operand)&&!e.isLocalName(n.operand)&&!e.isDeclarationNameOfEnumOrNamespace(n.operand)){var r=z(n.operand);if(r){for(var a=212===n.kind?e.setTextRange(t.createPrefixUnaryExpression(n.operator,n.operand),n):n,i=0,o=r;i<o.length;i++){var s=o[i];a=V(s,J(a))}return 212===n.kind&&(a=45===n.operator?t.createSubtract(J(a),t.createNumericLiteral(1)):t.createAdd(J(a),t.createNumericLiteral(1))),a}}return n}(n);case 223:return function(n){if(e.isImportMeta(n))return t.createPropertyAccessExpression(m,t.createIdentifier("meta"));return n}(n)}return n}(r);if(4===n)return function(n){switch(n.kind){case 286:return function(n){var r=n.name;if(!e.isGeneratedIdentifier(r)&&!e.isLocalName(r)){var a=s.getReferencedImportDeclaration(r);if(a){if(e.isImportClause(a))return e.setTextRange(t.createPropertyAssignment(t.cloneNode(r),t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent),t.createIdentifier("default"))),n);if(e.isImportSpecifier(a))return e.setTextRange(t.createPropertyAssignment(t.cloneNode(r),t.createPropertyAccessExpression(t.getGeneratedNameForNode(a.parent.parent.parent),t.cloneNode(a.propertyName||a.name))),n)}}return n}(n)}return n}(r);return r},n.onEmitNode=function(n,t,r){if(294===t.kind){var a=e.getOriginalNodeId(t);d=t,p=h[a],f=b[a],y=E[a],m=T[a],y&&delete E[a],u(n,t,r),d=void 0,p=void 0,f=void 0,m=void 0,y=void 0}else u(n,t,r)},n.enableSubstitution(78),n.enableSubstitution(286),n.enableSubstitution(213),n.enableSubstitution(211),n.enableSubstitution(212),n.enableSubstitution(223),n.enableEmitNotification(294);var d,p,f,m,_,g,y,h=[],v=[],b=[],E=[],T=[];return e.chainBundle(n,(function(i){if(i.isDeclarationFile||!(e.isEffectiveExternalModule(i,o)||2097152&i.transformFlags))return i;var l=e.getOriginalNodeId(i);d=i,g=i,p=h[l]=e.collectExternalModuleInfo(n,i,s,o),f=t.createUniqueName("exports"),b[l]=f,m=T[l]=t.createUniqueName("context");var u=function(n){for(var r=new e.Map,a=[],i=0,l=n;i<l.length;i++){var u=l[i],p=e.getExternalModuleNameLiteral(t,u,d,c,s,o);if(p){var f=p.text,m=r.get(f);void 0!==m?a[m].externalImports.push(u):(r.set(f,a.length),a.push({name:p,externalImports:[u]}))}}return a}(p.externalImports),v=function(n,i){var s=[];r();var c=e.getStrictOptionValue(o,"alwaysStrict")||!o.noImplicitUseStrict&&e.isExternalModule(d),l=t.copyPrologue(n.statements,s,c,x);s.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration("__moduleName",void 0,void 0,t.createLogicalAnd(m,t.createPropertyAccessExpression(m,"id")))]))),e.visitNode(p.externalHelpersImportDeclaration,x,e.isStatement);var u=e.visitNodes(n.statements,x,e.isStatement,l);e.addRange(s,_),e.insertStatementsAfterStandardPrologue(s,a());var f=function(e){if(!p.hasExportStarsToExportValues)return;if(!p.exportedNames&&0===p.exportSpecifiers.size){for(var n=!1,r=0,a=p.externalImports;r<a.length;r++){var i=a[r];if(264===i.kind&&i.exportClause){n=!0;break}}if(!n){var o=S(void 0);return e.push(o),o.name}}var s=[];if(p.exportedNames)for(var c=0,l=p.exportedNames;c<l.length;c++){var u=l[c];"default"!==u.escapedText&&s.push(t.createPropertyAssignment(t.createStringLiteralFromNode(u),t.createTrue()))}var d=t.createUniqueName("exportedNames");e.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(d,void 0,void 0,t.createObjectLiteralExpression(s,!0))])));var f=S(d);return e.push(f),f.name}(s),g=524288&n.transformFlags?t.createModifiersFromModifierFlags(256):void 0,y=t.createObjectLiteralExpression([t.createPropertyAssignment("setters",L(f,i)),t.createPropertyAssignment("execute",t.createFunctionExpression(g,void 0,void 0,void 0,[],void 0,t.createBlock(u,!0)))],!0);return s.push(t.createReturnStatement(y)),t.createBlock(s,!0)}(i,u),A=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,f),t.createParameterDeclaration(void 0,void 0,void 0,m)],void 0,v),D=e.tryGetModuleNameFromFile(t,i,c,o),C=t.createArrayLiteralExpression(e.map(u,(function(e){return e.name}))),I=e.setEmitFlags(t.updateSourceFile(i,e.setTextRange(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("System"),"register"),void 0,D?[D,C,A]:[C,A]))]),i.statements)),1024);e.outFile(o)||e.moveEmitHelpers(I,v,(function(e){return!e.scoped}));y&&(E[l]=y,y=void 0);return d=void 0,p=void 0,f=void 0,m=void 0,_=void 0,g=void 0,I}));function S(n){var r=t.createUniqueName("exportStar"),a=t.createIdentifier("m"),i=t.createIdentifier("n"),o=t.createIdentifier("exports"),s=t.createStrictInequality(i,t.createStringLiteral("default"));return n&&(s=t.createLogicalAnd(s,t.createLogicalNot(t.createCallExpression(t.createPropertyAccessExpression(n,"hasOwnProperty"),void 0,[i])))),t.createFunctionDeclaration(void 0,void 0,void 0,r,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,a)],void 0,t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(o,void 0,void 0,t.createObjectLiteralExpression([]))])),t.createForInStatement(t.createVariableDeclarationList([t.createVariableDeclaration(i)]),a,t.createBlock([e.setEmitFlags(t.createIfStatement(s,t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(o,i),t.createElementAccessExpression(a,i)))),1)])),t.createExpressionStatement(t.createCallExpression(f,void 0,[o]))],!0))}function L(n,r){for(var a=[],i=0,o=r;i<o.length;i++){for(var s=o[i],c=e.forEach(s.externalImports,(function(n){return e.getLocalNameForExternalImport(t,n,d)})),l=c?t.getGeneratedNameForNode(c):t.createUniqueName(""),u=[],p=0,m=s.externalImports;p<m.length;p++){var _=m[p],g=e.getLocalNameForExternalImport(t,_,d);switch(_.kind){case 258:if(!_.importClause)break;case 257:e.Debug.assert(void 0!==g),u.push(t.createExpressionStatement(t.createAssignment(g,l)));break;case 264:if(e.Debug.assert(void 0!==g),_.exportClause)if(e.isNamedExports(_.exportClause)){for(var y=[],h=0,v=_.exportClause.elements;h<v.length;h++){var b=v[h];y.push(t.createPropertyAssignment(t.createStringLiteral(e.idText(b.name)),t.createElementAccessExpression(l,t.createStringLiteral(e.idText(b.propertyName||b.name)))))}u.push(t.createExpressionStatement(t.createCallExpression(f,void 0,[t.createObjectLiteralExpression(y,!0)])))}else u.push(t.createExpressionStatement(t.createCallExpression(f,void 0,[t.createStringLiteral(e.idText(_.exportClause.name)),l])));else u.push(t.createExpressionStatement(t.createCallExpression(n,void 0,[l])))}}a.push(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,void 0,l)],void 0,t.createBlock(u,!0)))}return t.createArrayLiteralExpression(a,!0)}function x(n){switch(n.kind){case 258:return function(n){var r;n.importClause&&i(e.getLocalNameForExternalImport(t,n,d));if(k(n)){var a=e.getOriginalNodeId(n);v[a]=O(v[a],n)}else r=O(r,n);return e.singleOrMany(r)}(n);case 257:return function(n){var r;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),i(e.getLocalNameForExternalImport(t,n,d)),k(n)){var a=e.getOriginalNodeId(n);v[a]=P(v[a],n)}else r=P(r,n);return e.singleOrMany(r)}(n);case 264:return function(n){return void e.Debug.assertIsDefined(n)}(n);case 263:return function(n){if(n.isExportEquals)return;var r=e.visitNode(n.expression,H,e.isExpression),a=n.original;if(!a||!k(a))return U(t.createIdentifier("default"),r,!0);var i=e.getOriginalNodeId(n);v[i]=B(v[i],t.createIdentifier("default"),r,!0)}(n);default:return j(n)}}function A(n){if(e.isBindingPattern(n.name))for(var r=0,a=n.name.elements;r<a.length;r++){var o=a[r];e.isOmittedExpression(o)||A(o)}else i(t.cloneNode(n.name))}function D(n){return 0==(2097152&e.getEmitFlags(n))&&(294===g.kind||0==(3&e.getOriginalNode(n).flags))}function C(t,r){var a=r?I:N;return e.isBindingPattern(t.name)?e.flattenDestructuringAssignment(t,H,n,0,!1,a):t.initializer?a(t.name,e.visitNode(t.initializer,H,e.isExpression)):t.name}function I(e,n,t){return R(e,n,t,!0)}function N(e,n,t){return R(e,n,t,!1)}function R(n,r,a,o){return i(t.cloneNode(n)),o?V(n,J(e.setTextRange(t.createAssignment(n,r),a))):J(e.setTextRange(t.createAssignment(n,r),a))}function k(n){return 0!=(4194304&e.getEmitFlags(n))}function O(e,n){if(p.exportEquals)return e;var t=n.importClause;if(!t)return e;t.name&&(e=G(e,t));var r=t.namedBindings;if(r)switch(r.kind){case 260:e=G(e,r);break;case 261:for(var a=0,i=r.elements;a<i.length;a++){e=G(e,i[a])}}return e}function P(e,n){return p.exportEquals?e:G(e,n)}function M(e,n,t){if(p.exportEquals)return e;for(var r=0,a=n.declarationList.declarations;r<a.length;r++){var i=a[r];(i.initializer||t)&&(e=w(e,i,t))}return e}function w(n,r,a){if(p.exportEquals)return n;if(e.isBindingPattern(r.name))for(var i=0,o=r.name.elements;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||(n=w(n,s,a))}else if(!e.isGeneratedIdentifier(r.name)){var c=void 0;a&&(n=B(n,r.name,t.getLocalName(r)),c=e.idText(r.name)),n=G(n,r,c)}return n}function F(n,r){if(p.exportEquals)return n;var a;if(e.hasSyntacticModifier(r,1)){var i=e.hasSyntacticModifier(r,512)?t.createStringLiteral("default"):r.name;n=B(n,i,t.getLocalName(r)),a=e.getTextOfIdentifierOrLiteral(i)}return r.name&&(n=G(n,r,a)),n}function G(n,r,a){if(p.exportEquals)return n;var i=t.getDeclarationName(r),o=p.exportSpecifiers.get(e.idText(i));if(o)for(var s=0,c=o;s<c.length;s++){var l=c[s];l.name.escapedText!==a&&(n=B(n,l.name,i))}return n}function B(n,t,r,a){return n=e.append(n,U(t,r,a))}function U(n,r,a){var i=t.createExpressionStatement(V(n,r));return e.startOnNewLine(i),a||e.setEmitFlags(i,1536),i}function V(n,r){var a=e.isIdentifier(n)?t.createStringLiteralFromNode(n):n;return e.setEmitFlags(r,1536|e.getEmitFlags(r)),e.setCommentRange(t.createCallExpression(f,void 0,[a,r]),r)}function j(r){switch(r.kind){case 229:return function(n){if(!D(n.declarationList))return e.visitNode(n,H,e.isStatement);for(var r,a,i=e.hasSyntacticModifier(n,1),o=k(n),s=0,c=n.declarationList.declarations;s<c.length;s++){var l=c[s];l.initializer?r=e.append(r,C(l,i&&!o)):A(l)}if(r&&(a=e.append(a,e.setTextRange(t.createExpressionStatement(t.inlineExpressions(r)),n))),o){var u=e.getOriginalNodeId(n);v[u]=M(v[u],n,i)}else a=M(a,n,!1);return e.singleOrMany(a)}(r);case 248:return function(r){if(_=e.hasSyntacticModifier(r,1)?e.append(_,t.updateFunctionDeclaration(r,r.decorators,e.visitNodes(r.modifiers,q,e.isModifier),r.asteriskToken,t.getDeclarationName(r,!0,!0),void 0,e.visitNodes(r.parameters,H,e.isParameterDeclaration),void 0,e.visitNode(r.body,H,e.isBlock))):e.append(_,e.visitEachChild(r,H,n)),k(r)){var a=e.getOriginalNodeId(r);v[a]=F(v[a],r)}else _=F(_,r)}(r);case 249:return function(n){var r,a=t.getLocalName(n);if(i(a),r=e.append(r,e.setTextRange(t.createExpressionStatement(t.createAssignment(a,e.setTextRange(t.createClassExpression(e.visitNodes(n.decorators,H,e.isDecorator),void 0,n.name,void 0,e.visitNodes(n.heritageClauses,H,e.isHeritageClause),e.visitNodes(n.members,H,e.isClassElement)),n))),n)),k(n)){var o=e.getOriginalNodeId(n);v[o]=F(v[o],n)}else r=F(r,n);return e.singleOrMany(r)}(r);case 234:return function(n){var r=g;return g=n,n=t.updateForStatement(n,n.initializer&&K(n.initializer),e.visitNode(n.condition,H,e.isExpression),e.visitNode(n.incrementor,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement)),g=r,n}(r);case 235:return function(n){var r=g;return g=n,n=t.updateForInStatement(n,K(n.initializer),e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock)),g=r,n}(r);case 236:return function(n){var r=g;return g=n,n=t.updateForOfStatement(n,n.awaitModifier,K(n.initializer),e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock)),g=r,n}(r);case 232:return function(n){return t.updateDoStatement(n,e.visitNode(n.statement,j,e.isStatement,t.liftToBlock),e.visitNode(n.expression,H,e.isExpression))}(r);case 233:return function(n){return t.updateWhileStatement(n,e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock))}(r);case 242:return function(n){return t.updateLabeledStatement(n,n.label,e.visitNode(n.statement,j,e.isStatement,t.liftToBlock))}(r);case 240:return function(n){return t.updateWithStatement(n,e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.statement,j,e.isStatement,t.liftToBlock))}(r);case 241:return function(n){return t.updateSwitchStatement(n,e.visitNode(n.expression,H,e.isExpression),e.visitNode(n.caseBlock,j,e.isCaseBlock))}(r);case 255:return function(n){var r=g;return g=n,n=t.updateCaseBlock(n,e.visitNodes(n.clauses,j,e.isCaseOrDefaultClause)),g=r,n}(r);case 281:return function(n){return t.updateCaseClause(n,e.visitNode(n.expression,H,e.isExpression),e.visitNodes(n.statements,j,e.isStatement))}(r);case 282:case 244:return function(t){return e.visitEachChild(t,j,n)}(r);case 284:return function(n){var r=g;return g=n,n=t.updateCatchClause(n,n.variableDeclaration,e.visitNode(n.block,j,e.isBlock)),g=r,n}(r);case 227:return function(t){var r=g;return g=t,t=e.visitEachChild(t,j,n),g=r,t}(r);case 333:return function(n){if(k(n)&&229===n.original.kind){var t=e.getOriginalNodeId(n),r=e.hasSyntacticModifier(n.original,1);v[t]=M(v[t],n.original,r)}return n}(r);case 334:return function(n){var t=e.getOriginalNodeId(n),r=v[t];if(r)return delete v[t],e.append(r,n);var a=e.getOriginalNode(n);return e.isModuleOrEnumDeclaration(a)?e.append(G(r,a),n):n}(r);default:return H(r)}}function K(r){if(function(n){return e.isVariableDeclarationList(n)&&D(n)}(r)){for(var a=void 0,i=0,o=r.declarations;i<o.length;i++){var s=o[i];a=e.append(a,C(s,!1)),s.initializer||A(s)}return a?t.inlineExpressions(a):t.createOmittedExpression()}return e.visitEachChild(r,j,n)}function H(r){return e.isDestructuringAssignment(r)?function(t){if(W(t.left))return e.flattenDestructuringAssignment(t,H,n,0,!0);return e.visitEachChild(t,H,n)}(r):e.isImportCall(r)?function(n){return t.createCallExpression(t.createPropertyAccessExpression(m,t.createIdentifier("import")),void 0,e.some(n.arguments)?[e.visitNode(n.arguments[0],H)]:[])}(r):1024&r.transformFlags||2097152&r.transformFlags?e.visitEachChild(r,H,n):r}function W(n){if(e.isAssignmentExpression(n,!0))return W(n.left);if(e.isSpreadElement(n))return W(n.expression);if(e.isObjectLiteralExpression(n))return e.some(n.properties,W);if(e.isArrayLiteralExpression(n))return e.some(n.elements,W);if(e.isShorthandPropertyAssignment(n))return W(n.name);if(e.isPropertyAssignment(n))return W(n.initializer);if(e.isIdentifier(n)){var t=s.getReferencedExportContainer(n);return void 0!==t&&294===t.kind}return!1}function q(e){switch(e.kind){case 92:case 87:return}return e}function z(n){var r;if(!e.isGeneratedIdentifier(n)){var a=s.getReferencedImportDeclaration(n)||s.getReferencedValueDeclaration(n);if(a){var i=s.getReferencedExportContainer(n,!1);i&&294===i.kind&&(r=e.append(r,t.getDeclarationName(a))),r=e.addRange(r,p&&p.exportedBindings[e.getOriginalNodeId(a)])}}return r}function J(n){return void 0===y&&(y=[]),y[e.getNodeId(n)]=!0,n}}}(p||(p={})),function(e){e.transformECMAScriptModule=function(n){var t,r=n.factory,a=n.getEmitHelperFactory,i=n.getCompilerOptions(),s=n.onEmitNode,c=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){e.isSourceFile(r)?((e.isExternalModule(r)||i.isolatedModules)&&i.importHelpers&&(t=new e.Map),s(n,r,a),t=void 0):s(n,r,a)},n.onSubstituteNode=function(n,a){if(a=c(n,a),t&&e.isIdentifier(a)&&4096&e.getEmitFlags(a))return function(n){var a=e.idText(n),i=t.get(a);i||t.set(a,i=r.createUniqueName(a,48));return i}(a);return a},n.enableEmitNotification(294),n.enableSubstitution(78),e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;if(e.isExternalModule(t)||i.isolatedModules){var s=function(t){var o=e.createExternalHelpersImportDeclarationIfNeeded(r,a(),t,i);if(o){var s=[],c=r.copyPrologue(t.statements,s);return e.append(s,o),e.addRange(s,e.visitNodes(t.statements,l,e.isStatement,c)),r.updateSourceFile(t,e.setTextRange(r.createNodeArray(s),t.statements))}return e.visitEachChild(t,l,n)}(t);return!e.isExternalModule(t)||e.some(s.statements,e.isExternalModuleIndicator)?s:r.updateSourceFile(s,e.setTextRange(r.createNodeArray(o(s.statements,[e.createEmptyExports(r)])),s.statements))}return t}));function l(n){switch(n.kind){case 257:return;case 263:return function(e){return e.isExportEquals?void 0:e}(n);case 264:return function(n){if(void 0!==i.module&&i.module>e.ModuleKind.ES2015)return n;if(!n.exportClause||!e.isNamespaceExport(n.exportClause)||!n.moduleSpecifier)return n;var t=n.exportClause.name,a=r.getGeneratedNameForNode(t),o=r.createImportDeclaration(void 0,void 0,r.createImportClause(!1,void 0,r.createNamespaceImport(a)),n.moduleSpecifier);e.setOriginalNode(o,n.exportClause);var s=r.createExportDeclaration(void 0,void 0,!1,r.createNamedExports([r.createExportSpecifier(a,t)]));return e.setOriginalNode(s,n),[o,s]}(n)}return n}}}(p||(p={})),function(e){function n(n){return e.isVariableDeclaration(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isPropertyAccessExpression(n)||e.isBindingElement(n)||e.isConstructorDeclaration(n)?t:e.isSetAccessor(n)||e.isGetAccessor(n)?function(t){var r;r=167===n.kind?e.hasSyntacticModifier(n,32)?t.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.hasSyntacticModifier(n,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:r,errorNode:n.name,typeName:n.name}}:e.isConstructSignatureDeclaration(n)||e.isCallSignatureDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isFunctionDeclaration(n)||e.isIndexSignatureDeclaration(n)?function(t){var r;switch(n.kind){case 169:r=t.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 168:r=t.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 170:r=t.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 164:case 163:r=e.hasSyntacticModifier(n,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:249===n.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 248:r=t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail("This is unknown kind for signature: "+n.kind)}return{diagnosticMessage:r,errorNode:n.name||n}}:e.isParameter(n)?e.isParameterPropertyDeclaration(n,n.parent)&&e.hasSyntacticModifier(n.parent,8)?t:function(t){var r=function(t){switch(n.parent.kind){case 165:return t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 169:case 174:return t.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 168:return t.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 170:return t.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 164:case 163:return e.hasSyntacticModifier(n.parent,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:249===n.parent.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 248:case 173:return t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 167:case 166:return t.errorModuleName?2===t.accessibility?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail("Unknown parent for parameter: "+e.SyntaxKind[n.parent.kind])}}(t);return void 0!==r?{diagnosticMessage:r,errorNode:n,typeName:n.name}:void 0}:e.isTypeParameterDeclaration(n)?function(){var t;switch(n.parent.kind){case 249:t=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 250:t=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 189:t=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 174:case 169:t=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:t=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 164:case 163:t=e.hasSyntacticModifier(n.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:249===n.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 173:case 248:t=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 251:t=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail("This is unknown parent for type parameter: "+n.parent.kind)}return{diagnosticMessage:t,errorNode:n,typeName:n.name}}:e.isExpressionWithTypeArguments(n)?function(){var t;t=e.isClassDeclaration(n.parent.parent)?e.isHeritageClause(n.parent)&&116===n.parent.token?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n.parent.parent.name?e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:t,errorNode:n,typeName:e.getNameOfDeclaration(n.parent.parent)}}:e.isImportEqualsDeclaration(n)?function(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:n,typeName:n.name}}:e.isTypeAliasDeclaration(n)?function(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:n.type,typeName:n.name}}:e.Debug.assertNever(n,"Attempted to set a declaration diagnostic context for unhandled node kind: "+e.SyntaxKind[n.kind]);function t(t){var r=function(t){return 246===n.kind||195===n.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:162===n.kind||198===n.kind||161===n.kind||159===n.kind&&e.hasSyntacticModifier(n.parent,8)?e.hasSyntacticModifier(n,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:249===n.parent.kind||159===n.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}(t);return void 0!==r?{diagnosticMessage:r,errorNode:n,typeName:n.name}:void 0}}e.canProduceDiagnostics=function(n){return e.isVariableDeclaration(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isBindingElement(n)||e.isSetAccessor(n)||e.isGetAccessor(n)||e.isConstructSignatureDeclaration(n)||e.isCallSignatureDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isFunctionDeclaration(n)||e.isParameter(n)||e.isTypeParameterDeclaration(n)||e.isExpressionWithTypeArguments(n)||e.isImportEqualsDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isConstructorDeclaration(n)||e.isIndexSignatureDeclaration(n)||e.isPropertyAccessExpression(n)},e.createGetSymbolAccessibilityDiagnosticForNodeName=function(t){return e.isSetAccessor(t)||e.isGetAccessor(t)?function(n){var r=function(n){return e.hasSyntacticModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:249===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}(n);return void 0!==r?{diagnosticMessage:r,errorNode:t,typeName:t.name}:void 0}:e.isMethodSignature(t)||e.isMethodDeclaration(t)?function(n){var r=function(n){return e.hasSyntacticModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:249===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}(n);return void 0!==r?{diagnosticMessage:r,errorNode:t,typeName:t.name}:void 0}:n(t)},e.createGetSymbolAccessibilityDiagnosticForNode=n}(p||(p={})),function(e){function n(n,t){var r=t.text.substring(n.pos,n.end);return e.stringContains(r,"@internal")}function t(t,r){var a=e.getParseTreeNode(t);if(a&&159===a.kind){var i=a.parent.parameters.indexOf(a),o=i>0?a.parent.parameters[i-1]:void 0,s=r.text,c=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,t.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,t.pos,!1,!0));return c&&c.length&&n(e.last(c),r)}var l=a&&e.getLeadingCommentRangesOfNode(a,r);return!!e.forEach(l,(function(e){return n(e,r)}))}e.getDeclarationDiagnostics=function(n,t,a){var i=n.getCompilerOptions();return e.transformNodes(t,n,e.factory,i,a?[a]:e.filter(n.getSourceFiles(),e.isSourceFileNotJson),[r],!1).diagnostics},e.isInternalDeclaration=t;function r(n){var r,c,l,u,d,p,f,m,_,g,y,h=function(){return e.Debug.fail("Diagnostic emitted without context")},v=h,b=!0,E=!1,T=!1,S=!1,L=!1,x=n.factory,A=n.getEmitHost(),D={trackSymbol:function(e,n,t){if(262144&e.flags)return;O(C.isSymbolAccessible(e,n,t,!0)),k(C.getTypeReferenceDirectivesForSymbol(e,t))},reportInaccessibleThisError:function(){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(f),"this"))},reportInaccessibleUniqueSymbolError:function(){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(f),"unique symbol"))},reportCyclicStructureError:function(){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,e.declarationNameToString(f)))},reportPrivateInBaseOfClassExpression:function(t){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},reportLikelyUnsafeImportRequiredError:function(t){f&&n.addDiagnostic(e.createDiagnosticForNode(f,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,e.declarationNameToString(f),t))},moduleResolverHost:A,trackReferencedAmbientModule:function(n,t){var r=C.getTypeReferenceDirectivesForSymbol(t,67108863);if(e.length(r))return k(r);var a=e.getSourceFileOfNode(n);_.set(e.getOriginalNodeId(a),a)},trackExternalModuleSymbolOfImportTypeNode:function(e){E||(p||(p=[])).push(e)},reportNonlocalAugmentation:function(t,r,a){for(var i=e.find(r.declarations,(function(n){return e.getSourceFileOfNode(n)===t})),o=e.filter(a.declarations,(function(n){return e.getSourceFileOfNode(n)!==t})),s=0,c=o;s<c.length;s++){var l=c[s];n.addDiagnostic(e.addRelatedInfo(e.createDiagnosticForNode(l,e.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),e.createDiagnosticForNode(i,e.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}},C=n.getEmitResolver(),I=n.getCompilerOptions(),N=I.noResolve,R=I.stripInternal;return function(t){if(294===t.kind&&t.isDeclarationFile)return t;if(295===t.kind){E=!0,_=new e.Map,g=new e.Map;var a=!1,i=x.createBundle(e.map(t.sourceFiles,(function(t){if(!t.isDeclarationFile){if(a=a||t.hasNoDefaultLib,m=t,r=t,l=void 0,d=!1,u=new e.Map,v=h,S=!1,L=!1,M(t,_),w(t,g),e.isExternalOrCommonJsModule(t)||e.isJsonSourceFile(t)){T=!1,b=!1;var i=e.isSourceFileJS(t)?x.createNodeArray(P(t,!0)):e.visitNodes(t.statements,Z);return x.updateSourceFile(t,[x.createModuleDeclaration([],[x.createModifier(133)],x.createStringLiteral(e.getResolvedExternalModuleName(n.getEmitHost(),t)),x.createModuleBlock(e.setTextRange(x.createNodeArray(Y(i)),t.statements)))],!0,[],[],!1,[])}b=!0;var o=e.isSourceFileJS(t)?x.createNodeArray(P(t)):e.visitNodes(t.statements,Z);return x.updateSourceFile(t,Y(o),!0,[],[],!1,[])}})),e.mapDefined(t.prepends,(function(n){if(297===n.kind){var t=e.createUnparsedSourceFile(n,"dts",R);return a=a||!!t.hasNoDefaultLib,M(t,_),k(t.typeReferenceDirectives),w(t,g),t}return n})));i.syntheticFileReferences=[],i.syntheticTypeReferences=V(),i.syntheticLibReferences=U(),i.hasNoDefaultLib=a;var f=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,A,!0).declarationFilePath)),D=K(i.syntheticFileReferences,f);return _.forEach(D),i}b=!0,S=!1,L=!1,r=t,m=t,v=h,E=!1,T=!1,d=!1,l=void 0,u=new e.Map,c=void 0,_=M(m,new e.Map),g=w(m,new e.Map);var C,N=[],O=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,A,!0).declarationFilePath)),F=K(N,O);if(e.isSourceFileJS(m))C=x.createNodeArray(P(t)),_.forEach(F),y=e.filter(C,e.isAnyImportSyntax);else{var G=e.visitNodes(t.statements,Z);C=e.setTextRange(x.createNodeArray(Y(G)),t.statements),_.forEach(F),y=e.filter(C,e.isAnyImportSyntax),e.isExternalModule(t)&&(!T||S&&!L)&&(C=e.setTextRange(x.createNodeArray(o(C,[e.createEmptyExports(x)])),C))}var B=x.updateSourceFile(t,C,!0,N,V(),t.hasNoDefaultLib,U());return B.exportedModulesFromDeclarationEmit=p,B;function U(){return e.map(e.arrayFrom(g.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function V(){return c?e.mapDefined(e.arrayFrom(c.keys()),j):[]}function j(n){if(y)for(var t=0,r=y;t<r.length;t++){var a=r[t];if(e.isImportEqualsDeclaration(a)&&e.isExternalModuleReference(a.moduleReference)){var i=a.moduleReference.expression;if(e.isStringLiteralLike(i)&&i.text===n)return}else if(e.isImportDeclaration(a)&&e.isStringLiteral(a.moduleSpecifier)&&a.moduleSpecifier.text===n)return}return{fileName:n,pos:-1,end:-1}}function K(n,r){return function(a){var i;if(a.isDeclarationFile)i=a.fileName;else{if(E&&e.contains(t.sourceFiles,a))return;var o=e.getOutputPathsFor(a,A,!0);i=o.declarationFilePath||o.jsFilePath||a.fileName}if(i){var c=e.moduleSpecifiers.getModuleSpecifier(s(s({},I),{baseUrl:I.baseUrl&&e.toPath(I.baseUrl,A.getCurrentDirectory(),A.getCanonicalFileName)}),m,e.toPath(r,A.getCurrentDirectory(),A.getCanonicalFileName),e.toPath(i,A.getCurrentDirectory(),A.getCanonicalFileName),A,void 0);if(!e.pathIsRelative(c))return void k([c]);var l=e.getRelativePathToDirectoryOrUrl(r,i,A.getCurrentDirectory(),A.getCanonicalFileName,!1);if(e.startsWith(l,"./")&&e.hasExtension(l)&&(l=l.substring(2)),e.startsWith(l,"node_modules/")||e.pathContainsNodeModules(l))return;n.push({pos:-1,end:-1,fileName:l})}}}};function k(n){if(n){c=c||new e.Set;for(var t=0,r=n;t<r.length;t++){var a=r[t];c.add(a)}}}function O(t){if(0===t.accessibility){if(t&&t.aliasesToMakeVisible)if(l)for(var r=0,a=t.aliasesToMakeVisible;r<a.length;r++){var i=a[r];e.pushIfUnique(l,i)}else l=t.aliasesToMakeVisible}else{var o=v(t);o&&(o.typeName?n.addDiagnostic(e.createDiagnosticForNode(t.errorNode||o.errorNode,o.diagnosticMessage,e.getTextOfNode(o.typeName),t.errorSymbolName,t.errorModuleName)):n.addDiagnostic(e.createDiagnosticForNode(t.errorNode||o.errorNode,o.diagnosticMessage,t.errorSymbolName,t.errorModuleName)))}}function P(n,t){var r=v;v=function(t){return{diagnosticMessage:t.errorModuleName?e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:t.errorNode||n}};var a=C.getDeclarationStatementsForSourceFile(n,531469,D,t);return v=r,a}function M(n,t){return N||!e.isUnparsedSource(n)&&e.isSourceFileJS(n)||e.forEach(n.referencedFiles,(function(r){var a=A.getSourceFileFromReference(n,r);a&&t.set(e.getOriginalNodeId(a),a)})),t}function w(n,t){return e.forEach(n.libReferenceDirectives,(function(n){A.getLibFileFromReference(n)&&t.set(e.toFileNameLowerCase(n.fileName),!0)})),t}function F(n,t,r){var i;d||(i=v,v=e.createGetSymbolAccessibilityDiagnosticForNode(n));var o=x.updateParameterDeclaration(n,void 0,function(n,t,r){return e.factory.createModifiersFromModifierFlags(a(n,t,r))}(n,t),n.dotDotDotToken,function n(t){return 78===t.kind?t:194===t.kind?x.updateArrayBindingPattern(t,e.visitNodes(t.elements,r)):x.updateObjectBindingPattern(t,e.visitNodes(t.elements,r));function r(e){return 219===e.kind?e:x.updateBindingElement(e,e.dotDotDotToken,e.propertyName,n(e.name),G(e)?e.initializer:void 0)}}(n.name),C.isOptionalParameter(n)?n.questionToken||x.createToken(57):void 0,U(n,r||n.type,!0),B(n));return d||(v=i),o}function G(n){return function(n){switch(n.kind){case 162:case 161:return!e.hasEffectiveModifier(n,8);case 159:case 246:return!0}return!1}(n)&&C.isLiteralConstDeclaration(e.getParseTreeNode(n))}function B(n){if(G(n))return C.createLiteralConstValue(e.getParseTreeNode(n),D)}function U(n,t,a){if((a||!e.hasEffectiveModifier(n,8))&&!G(n)){var i,o=159===n.kind&&(C.isRequiredInitializedParameter(n)||C.isOptionalUninitializedParameterProperty(n));return t&&!o?e.visitNode(t,Q):e.getParseTreeNode(n)?167===n.kind?x.createKeywordTypeNode(128):(f=n.name,d||(i=v,v=e.createGetSymbolAccessibilityDiagnosticForNode(n)),246===n.kind||195===n.kind?s(C.createTypeOfDeclaration(n,r,531469,D)):159===n.kind||162===n.kind||161===n.kind?n.initializer?s(C.createTypeOfDeclaration(n,r,531469,D,o)||C.createTypeOfExpression(n.initializer,r,531469,D)):s(C.createTypeOfDeclaration(n,r,531469,D,o)):s(C.createReturnTypeOfSignatureDeclaration(n,r,531469,D))):t?e.visitNode(t,Q):x.createKeywordTypeNode(128)}function s(e){return f=void 0,d||(v=i),e||x.createKeywordTypeNode(128)}}function V(n){switch((n=e.getParseTreeNode(n)).kind){case 248:case 253:case 250:case 249:case 251:case 252:return!C.isDeclarationVisible(n);case 246:return!j(n);case 257:case 258:case 264:case 263:return!1}return!1}function j(n){return!e.isOmittedExpression(n)&&(e.isBindingPattern(n.name)?e.some(n.name.elements,j):C.isDeclarationVisible(n))}function K(n,t,r){if(!e.hasEffectiveModifier(n,8)){var a=e.map(t,(function(e){return F(e,r)}));if(a)return x.createNodeArray(a,t.hasTrailingComma)}}function H(n,t){var r;if(!t){var a=e.getThisParameter(n);a&&(r=[F(a)])}if(e.isSetAccessorDeclaration(n)){var i=void 0;if(!t){var o=e.getSetAccessorValueParameter(n);if(o)i=F(o,void 0,ie(n,C.getAllAccessorDeclarations(n)))}i||(i=x.createParameterDeclaration(void 0,void 0,void 0,"value")),r=e.append(r,i)}return x.createNodeArray(r||e.emptyArray)}function W(n,t){return e.hasEffectiveModifier(n,8)?void 0:e.visitNodes(t,Q)}function q(n){return e.isSourceFile(n)||e.isTypeAliasDeclaration(n)||e.isModuleDeclaration(n)||e.isClassDeclaration(n)||e.isInterfaceDeclaration(n)||e.isFunctionLike(n)||e.isIndexSignatureDeclaration(n)||e.isMappedTypeNode(n)}function z(e,n){O(C.isEntityNameVisible(e,n)),k(C.getTypeReferenceDirectivesForEntityName(e))}function J(n,t){return e.hasJSDocNodes(n)&&e.hasJSDocNodes(t)&&(n.jsDoc=t.jsDoc),e.setCommentRange(n,e.getCommentRange(t))}function X(t,r){if(r){if(T=T||253!==t.kind&&192!==t.kind,e.isStringLiteralLike(r))if(E){var a=e.getExternalModuleNameFromDeclaration(n.getEmitHost(),C,t);if(a)return x.createStringLiteral(a)}else{var i=C.getSymbolOfExternalModuleSpecifier(r);i&&(p||(p=[])).push(i)}return r}}function Y(n){for(;e.length(l);){var t=l.shift();if(!e.isLateVisibilityPaintedStatement(t))return e.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: "+(e.SyntaxKind?e.SyntaxKind[t.kind]:t.kind));var r=b;b=t.parent&&e.isSourceFile(t.parent)&&!(e.isExternalModule(t.parent)&&E);var a=ee(t);b=r,u.set(e.getOriginalNodeId(t),a)}return e.visitNodes(n,(function(n){if(e.isLateVisibilityPaintedStatement(n)){var t=e.getOriginalNodeId(n);if(u.has(t)){var r=u.get(t);return u.delete(t),r&&((e.isArray(r)?e.some(r,e.needsScopeMarker):e.needsScopeMarker(r))&&(S=!0),e.isSourceFile(n.parent)&&(e.isArray(r)?e.some(r,e.isExternalModuleIndicator):e.isExternalModuleIndicator(r))&&(T=!0)),r}}return n}))}function Q(t){if(!te(t)){if(e.isDeclaration(t)){if(V(t))return;if(e.hasDynamicName(t)&&!C.isLateBound(e.getParseTreeNode(t)))return}if(!(e.isFunctionLike(t)&&C.isImplementationOfOverload(t)||e.isSemicolonClassElement(t))){var a;q(t)&&(a=r,r=t);var i=v,o=e.canProduceDiagnostics(t),s=d,c=(176===t.kind||189===t.kind)&&251!==t.parent.kind;if((e.isMethodDeclaration(t)||e.isMethodSignature(t))&&e.hasEffectiveModifier(t,8)){if(t.symbol&&t.symbol.declarations&&t.symbol.declarations[0]!==t)return;return b(x.createPropertyDeclaration(void 0,ae(t),t.name,void 0,void 0,void 0))}if(o&&!d&&(v=e.createGetSymbolAccessibilityDiagnosticForNode(t)),e.isTypeQueryNode(t)&&z(t.exprName,r),c&&(d=!0),function(e){switch(e.kind){case 169:case 165:case 164:case 166:case 167:case 162:case 161:case 163:case 168:case 170:case 246:case 158:case 220:case 172:case 183:case 173:case 174:case 192:return!0}return!1}(t))switch(t.kind){case 220:(e.isEntityName(t.expression)||e.isEntityNameExpression(t.expression))&&z(t.expression,r);var l=e.visitEachChild(t,Q,n);return b(x.updateExpressionWithTypeArguments(l,l.expression,l.typeArguments));case 172:z(t.typeName,r);l=e.visitEachChild(t,Q,n);return b(x.updateTypeReferenceNode(l,l.typeName,l.typeArguments));case 169:return b(x.updateConstructSignature(t,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type)));case 165:return b(x.createConstructorDeclaration(void 0,ae(t),K(t,t.parameters,0),void 0));case 164:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.createMethodDeclaration(void 0,ae(t),void 0,t.name,t.questionToken,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type),void 0));case 166:if(e.isPrivateIdentifier(t.name))return b(void 0);var u=ie(t,C.getAllAccessorDeclarations(t));return b(x.updateGetAccessorDeclaration(t,void 0,ae(t),t.name,H(t,e.hasEffectiveModifier(t,8)),U(t,u),void 0));case 167:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updateSetAccessorDeclaration(t,void 0,ae(t),t.name,H(t,e.hasEffectiveModifier(t,8)),void 0));case 162:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updatePropertyDeclaration(t,void 0,ae(t),t.name,t.questionToken,U(t,t.type),B(t)));case 161:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updatePropertySignature(t,ae(t),t.name,t.questionToken,U(t,t.type)));case 163:return e.isPrivateIdentifier(t.name)?b(void 0):b(x.updateMethodSignature(t,ae(t),t.name,t.questionToken,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type)));case 168:return b(x.updateCallSignature(t,W(t,t.typeParameters),K(t,t.parameters),U(t,t.type)));case 170:return b(x.updateIndexSignature(t,void 0,ae(t),K(t,t.parameters),e.visitNode(t.type,Q)||x.createKeywordTypeNode(128)));case 246:return e.isBindingPattern(t.name)?ne(t.name):(c=!0,d=!0,b(x.updateVariableDeclaration(t,t.name,void 0,U(t,t.type),B(t))));case 158:return function(n){return 164===n.parent.kind&&e.hasEffectiveModifier(n.parent,8)}(t)&&(t.default||t.constraint)?b(x.updateTypeParameterDeclaration(t,t.name,void 0,void 0)):b(e.visitEachChild(t,Q,n));case 183:var p=e.visitNode(t.checkType,Q),_=e.visitNode(t.extendsType,Q),g=r;r=t.trueType;var y=e.visitNode(t.trueType,Q);r=g;var h=e.visitNode(t.falseType,Q);return b(x.updateConditionalTypeNode(t,p,_,y,h));case 173:return b(x.updateFunctionTypeNode(t,e.visitNodes(t.typeParameters,Q),K(t,t.parameters),e.visitNode(t.type,Q)));case 174:return b(x.updateConstructorTypeNode(t,e.visitNodes(t.typeParameters,Q),K(t,t.parameters),e.visitNode(t.type,Q)));case 192:return e.isLiteralImportTypeNode(t)?b(x.updateImportTypeNode(t,x.updateLiteralTypeNode(t.argument,X(t,t.argument.literal)),t.qualifier,e.visitNodes(t.typeArguments,Q,e.isTypeNode),t.isTypeOf)):b(t);default:e.Debug.assertNever(t,"Attempted to process unhandled node kind: "+e.SyntaxKind[t.kind])}return e.isTupleTypeNode(t)&&e.getLineAndCharacterOfPosition(m,t.pos).line===e.getLineAndCharacterOfPosition(m,t.end).line&&e.setEmitFlags(t,1),b(e.visitEachChild(t,Q,n))}}function b(n){return n&&o&&e.hasDynamicName(t)&&function(n){var t;d||(t=v,v=e.createGetSymbolAccessibilityDiagnosticForNodeName(n));f=n.name,e.Debug.assert(C.isLateBound(e.getParseTreeNode(n))),z(n.name.expression,r),d||(v=t);f=void 0}(t),q(t)&&(r=a),o&&!d&&(v=i),c&&(d=s),n===t?n:n&&e.setOriginalNode(J(n,t),t)}}function Z(n){if(function(e){switch(e.kind){case 248:case 253:case 257:case 250:case 249:case 251:case 252:case 229:case 258:case 264:case 263:return!0}return!1}(n)&&!te(n)){switch(n.kind){case 264:return e.isSourceFile(n.parent)&&(T=!0),L=!0,x.updateExportDeclaration(n,void 0,n.modifiers,n.isTypeOnly,n.exportClause,X(n,n.moduleSpecifier));case 263:if(e.isSourceFile(n.parent)&&(T=!0),L=!0,78===n.expression.kind)return n;var t=x.createUniqueName("_default",16);v=function(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:n}};var r=x.createVariableDeclaration(t,void 0,C.createTypeOfExpression(n.expression,n,531469,D),void 0);return[x.createVariableStatement(b?[x.createModifier(133)]:[],x.createVariableDeclarationList([r],2)),x.updateExportAssignment(n,n.decorators,n.modifiers,t)]}var a=ee(n);return u.set(e.getOriginalNodeId(n),a),n}}function $(n){if(e.isImportEqualsDeclaration(n)||e.hasEffectiveModifier(n,512)||!e.canHaveModifiers(n))return n;var t=x.createModifiersFromModifierFlags(11262&e.getEffectiveModifierFlags(n));return x.updateModifiers(n,t)}function ee(n){if(!te(n)){switch(n.kind){case 257:return function(n){if(C.isDeclarationVisible(n)){if(269===n.moduleReference.kind){var t=e.getExternalModuleImportEqualsDeclarationExpression(n);return x.updateImportEqualsDeclaration(n,void 0,n.modifiers,n.name,x.updateExternalModuleReference(n.moduleReference,X(n,t)))}var a=v;return v=e.createGetSymbolAccessibilityDiagnosticForNode(n),z(n.moduleReference,r),v=a,n}}(n);case 258:return function(n){if(!n.importClause)return x.updateImportDeclaration(n,void 0,n.modifiers,n.importClause,X(n,n.moduleSpecifier));var t=n.importClause&&n.importClause.name&&C.isDeclarationVisible(n.importClause)?n.importClause.name:void 0;if(!n.importClause.namedBindings)return t&&x.updateImportDeclaration(n,void 0,n.modifiers,x.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,void 0),X(n,n.moduleSpecifier));if(260===n.importClause.namedBindings.kind){var r=C.isDeclarationVisible(n.importClause.namedBindings)?n.importClause.namedBindings:void 0;return t||r?x.updateImportDeclaration(n,void 0,n.modifiers,x.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,r),X(n,n.moduleSpecifier)):void 0}var a=e.mapDefined(n.importClause.namedBindings.elements,(function(e){return C.isDeclarationVisible(e)?e:void 0}));return a&&a.length||t?x.updateImportDeclaration(n,void 0,n.modifiers,x.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,a&&a.length?x.updateNamedImports(n.importClause.namedBindings,a):void 0),X(n,n.moduleSpecifier)):C.isImportRequiredByAugmentation(n)?x.updateImportDeclaration(n,void 0,n.modifiers,void 0,X(n,n.moduleSpecifier)):void 0}(n)}if(!(e.isDeclaration(n)&&V(n)||e.isFunctionLike(n)&&C.isImplementationOfOverload(n))){var t;q(n)&&(t=r,r=n);var a=e.canProduceDiagnostics(n),i=v;a&&(v=e.createGetSymbolAccessibilityDiagnosticForNode(n));var s=b;switch(n.kind){case 251:return de(x.updateTypeAliasDeclaration(n,void 0,ae(n),n.name,e.visitNodes(n.typeParameters,Q,e.isTypeParameterDeclaration),e.visitNode(n.type,Q,e.isTypeNode)));case 250:return de(x.updateInterfaceDeclaration(n,void 0,ae(n),n.name,W(n,n.typeParameters),oe(n.heritageClauses),e.visitNodes(n.members,Q)));case 248:var c=de(x.updateFunctionDeclaration(n,void 0,ae(n),void 0,n.name,W(n,n.typeParameters),K(n,n.parameters),U(n,n.type),void 0));if(c&&C.isExpandoFunctionDeclaration(n)){var l=C.getPropertiesOfContainerFunction(n),d=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,c.name||x.createIdentifier("_default"),x.createModuleBlock([]),16);e.setParent(d,r),d.locals=e.createSymbolTable(l),d.symbol=l[0].parent;var p=[],f=e.mapDefined(l,(function(n){if(e.isPropertyAccessExpression(n.valueDeclaration)){v=e.createGetSymbolAccessibilityDiagnosticForNode(n.valueDeclaration);var t=C.createTypeOfDeclaration(n.valueDeclaration,d,531469,D);v=i;var r=e.unescapeLeadingUnderscores(n.escapedName),a=e.isStringANonContextualKeyword(r),o=a?x.getGeneratedNameForNode(n.valueDeclaration):x.createIdentifier(r);a&&p.push([o,r]);var s=x.createVariableDeclaration(o,void 0,t,void 0);return x.createVariableStatement(a?void 0:[x.createToken(92)],x.createVariableDeclarationList([s]))}}));p.length?f.push(x.createExportDeclaration(void 0,void 0,!1,x.createNamedExports(e.map(p,(function(e){var n=e[0],t=e[1];return x.createExportSpecifier(n,t)}))))):f=e.mapDefined(f,(function(e){return x.updateModifiers(e,0)}));var m=x.createModuleDeclaration(void 0,ae(n),n.name,x.createModuleBlock(f),16);if(!e.hasEffectiveModifier(c,512))return[c,m];var _=x.createModifiersFromModifierFlags(-514&e.getEffectiveModifierFlags(c)|2),g=x.updateFunctionDeclaration(c,void 0,_,void 0,c.name,c.typeParameters,c.parameters,c.type,void 0),y=x.updateModuleDeclaration(m,void 0,_,m.name,m.body),h=x.createExportAssignment(void 0,void 0,!1,m.name);return e.isSourceFile(n.parent)&&(T=!0),L=!0,[g,y,h]}return c;case 253:b=!1;var E=n.body;if(E&&254===E.kind){var A=S,I=L;L=!1,S=!1;var N=Y(e.visitNodes(E.statements,Z));8388608&n.flags&&(S=!1),e.isGlobalScopeAugmentation(n)||function(n){return e.some(n,re)}(N)||L||(N=S?x.createNodeArray(o(N,[e.createEmptyExports(x)])):e.visitNodes(N,$));var R=x.updateModuleBlock(E,N);b=s,S=A,L=I;var k=ae(n);return de(x.updateModuleDeclaration(n,void 0,k,e.isExternalModuleAugmentation(n)?X(n,n.name):n.name,R))}b=s;k=ae(n);b=!1,e.visitNode(E,Z);var O=e.getOriginalNodeId(E);R=u.get(O);return u.delete(O),de(x.updateModuleDeclaration(n,void 0,k,n.name,R));case 249:_=x.createNodeArray(ae(n));var P=W(n,n.typeParameters),M=e.getFirstConstructorWithBody(n),w=void 0;if(M){var F=v;w=e.compact(e.flatMap(M.parameters,(function(n){if(e.hasSyntacticModifier(n,92)&&!te(n))return v=e.createGetSymbolAccessibilityDiagnosticForNode(n),78===n.name.kind?J(x.createPropertyDeclaration(void 0,ae(n),n.name,n.questionToken,U(n,n.type),B(n)),n):function t(r){for(var a,i=0,o=r.elements;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||(e.isBindingPattern(s.name)&&(a=e.concatenate(a,t(s.name))),(a=a||[]).push(x.createPropertyDeclaration(void 0,ae(n),s.name,void 0,U(s,void 0),void 0)))}return a}(n.name)}))),v=F}var G=e.some(n.members,(function(n){return!!n.name&&e.isPrivateIdentifier(n.name)}))?[x.createPropertyDeclaration(void 0,void 0,x.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,H=e.concatenate(e.concatenate(G,w),e.visitNodes(n.members,Q)),ee=x.createNodeArray(H),ne=e.getEffectiveBaseTypeNode(n);if(ne&&!e.isEntityNameExpression(ne.expression)&&103!==ne.expression.kind){var ie=n.name?e.unescapeLeadingUnderscores(n.name.escapedText):"default",se=x.createUniqueName(ie+"_base",16);v=function(){return{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:ne,typeName:n.name}};var ce=x.createVariableDeclaration(se,void 0,C.createTypeOfExpression(ne.expression,n,531469,D),void 0),le=x.createVariableStatement(b?[x.createModifier(133)]:[],x.createVariableDeclarationList([ce],2)),ue=x.createNodeArray(e.map(n.heritageClauses,(function(n){if(93===n.token){var t=v;v=e.createGetSymbolAccessibilityDiagnosticForNode(n.types[0]);var r=x.updateHeritageClause(n,e.map(n.types,(function(n){return x.updateExpressionWithTypeArguments(n,se,e.visitNodes(n.typeArguments,Q))})));return v=t,r}return x.updateHeritageClause(n,e.visitNodes(x.createNodeArray(e.filter(n.types,(function(n){return e.isEntityNameExpression(n.expression)||103===n.expression.kind}))),Q))})));return[le,de(x.updateClassDeclaration(n,void 0,_,n.name,P,ue,ee))]}ue=oe(n.heritageClauses);return de(x.updateClassDeclaration(n,void 0,_,n.name,P,ue,ee));case 229:return de(function(n){if(!e.forEach(n.declarationList.declarations,j))return;var t=e.visitNodes(n.declarationList.declarations,Q);if(!e.length(t))return;return x.updateVariableStatement(n,x.createNodeArray(ae(n)),x.updateVariableDeclarationList(n.declarationList,t))}(n));case 252:return de(x.updateEnumDeclaration(n,void 0,x.createNodeArray(ae(n)),n.name,x.createNodeArray(e.mapDefined(n.members,(function(e){if(!te(e)){var n=C.getConstantValue(e);return J(x.updateEnumMember(e,e.name,void 0!==n?"string"==typeof n?x.createStringLiteral(n):x.createNumericLiteral(n):void 0),e)}})))))}return e.Debug.assertNever(n,"Unhandled top-level node in declaration emit: "+e.SyntaxKind[n.kind])}}function de(o){return q(n)&&(r=t),a&&(v=i),253===n.kind&&(b=s),o===n?o:o&&e.setOriginalNode(J(o,n),n)}}function ne(n){return e.flatten(e.mapDefined(n.elements,(function(n){return function(n){if(219===n.kind)return;if(n.name){if(!j(n))return;return e.isBindingPattern(n.name)?ne(n.name):x.createVariableDeclaration(n.name,void 0,U(n,void 0),void 0)}}(n)})))}function te(e){return!!R&&!!e&&t(e,m)}function re(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function ae(n){var t=e.getEffectiveModifierFlags(n),r=function(n){var t=11003,r=b&&!function(e){if(250===e.kind)return!0;return!1}(n)?2:0,i=294===n.parent.kind;(!i||E&&i&&e.isExternalModule(n.parent))&&(t^=2,r=0);return a(n,t,r)}(n);return t===r?n.modifiers:x.createModifiersFromModifierFlags(r)}function ie(n,t){var r=i(n);return r||n===t.firstAccessor||(r=i(t.firstAccessor),v=e.createGetSymbolAccessibilityDiagnosticForNode(t.firstAccessor)),!r&&t.secondAccessor&&n!==t.secondAccessor&&(r=i(t.secondAccessor),v=e.createGetSymbolAccessibilityDiagnosticForNode(t.secondAccessor)),r}function oe(n){return x.createNodeArray(e.filter(e.map(n,(function(n){return x.updateHeritageClause(n,e.visitNodes(x.createNodeArray(e.filter(n.types,(function(t){return e.isEntityNameExpression(t.expression)||93===n.token&&103===t.expression.kind}))),Q))})),(function(e){return e.types&&!!e.types.length})))}}function a(n,t,r){void 0===t&&(t=11259),void 0===r&&(r=0);var a=e.getEffectiveModifierFlags(n)&t|r;return 512&a&&!(1&a)&&(a^=1),512&a&&2&a&&(a^=2),a}function i(e){if(e)return 166===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}e.transformDeclarations=r}(p||(p={})),function(e){var n,t;function r(n,t,r){if(r)return e.emptyArray;var a=n.jsx,i=e.getEmitScriptTarget(n),o=e.getEmitModuleKind(n),c=[];return e.addRange(c,t&&e.map(t.before,s)),c.push(e.transformTypeScript),c.push(e.transformClassFields),2===a&&c.push(e.transformJsx),i<99&&c.push(e.transformESNext),i<7&&c.push(e.transformES2020),i<6&&c.push(e.transformES2019),i<5&&c.push(e.transformES2018),i<4&&c.push(e.transformES2017),i<3&&c.push(e.transformES2016),i<2&&(c.push(e.transformES2015),c.push(e.transformGenerators)),c.push(function(n){switch(n){case e.ModuleKind.ESNext:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(o)),i<1&&c.push(e.transformES5),e.addRange(c,t&&e.map(t.after,s)),c}function a(n){var t=[];return t.push(e.transformDeclarations),e.addRange(t,n&&e.map(n.afterDeclarations,c)),t}function i(n,t){return function(r){var a=n(r);return"function"==typeof a?t(r,a):function(n){return function(t){return e.isBundle(t)?n.transformBundle(t):n.transformSourceFile(t)}}(a)}}function s(n){return i(n,e.chainBundle)}function c(e){return i(e,(function(e,n){return n}))}function l(e,n){return n}function u(e,n,t){t(e,n)}!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(n||(n={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(t||(t={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,n,t){return{scriptTransformers:r(e,n,t),declarationTransformers:a(n)}},e.noEmitSubstitution=l,e.noEmitNotification=u,e.transformNodes=function(n,t,r,a,i,s,c){for(var d,p,f,m,_=new Array(336),g=0,y=[],h=[],v=[],b=[],E=0,T=!1,S=l,L=u,x=0,A=[],D={factory:r,getCompilerOptions:function(){return a},getEmitResolver:function(){return n},getEmitHost:function(){return t},getEmitHelperFactory:e.memoize((function(){return e.createEmitHelperFactory(D)})),startLexicalEnvironment:function(){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is suspended."),y[E]=d,h[E]=p,v[E]=f,b[E]=g,E++,d=void 0,p=void 0,f=void 0,g=0},suspendLexicalEnvironment:function(){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is already suspended."),T=!0},resumeLexicalEnvironment:function(){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(T,"Lexical environment is not suspended."),T=!1},endLexicalEnvironment:function(){var n;if(e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is suspended."),d||p||f){if(p&&(n=o(p)),d){var t=r.createVariableStatement(void 0,r.createVariableDeclarationList(d));e.setEmitFlags(t,1048576),n?n.push(t):n=[t]}f&&(n=n?o(n,f):o(f))}E--,d=y[E],p=h[E],f=v[E],g=b[E],0===E&&(y=[],h=[],v=[],b=[]);return n},setLexicalEnvironmentFlags:function(e,n){g=n?g|e:g&~e},getLexicalEnvironmentFlags:function(){return g},hoistVariableDeclaration:function(n){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed.");var t=e.setEmitFlags(r.createVariableDeclaration(n),64);d?d.push(t):d=[t];1&g&&(g|=2)},hoistFunctionDeclaration:function(n){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(n,1048576),p?p.push(n):p=[n]},addInitializationStatement:function(n){e.Debug.assert(x>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(x<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(n,1048576),f?f.push(n):f=[n]},requestEmitHelper:function n(t){if(e.Debug.assert(x>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),t.dependencies)for(var r=0,a=t.dependencies;r<a.length;r++){var i=a[r];n(i)}m=e.append(m,t)},readEmitHelpers:function(){e.Debug.assert(x>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed.");var n=m;return m=void 0,n},enableSubstitution:function(n){e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),_[n]|=1},enableEmitNotification:function(n){e.Debug.assert(x<2,"Cannot modify the transformation context after transformation has completed."),_[n]|=2},isSubstitutionEnabled:P,isEmitNotificationEnabled:M,get onSubstituteNode(){return S},set onSubstituteNode(n){e.Debug.assert(x<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),S=n},get onEmitNode(){return L},set onEmitNode(n){e.Debug.assert(x<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),L=n},addDiagnostic:function(e){A.push(e)}},C=0,I=i;C<I.length;C++){var N=I[C];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(N)))}e.performance.mark("beforeTransform");var R=s.map((function(e){return e(D)})),k=function(e){for(var n=0,t=R;n<t.length;n++){e=(0,t[n])(e)}return e};x=1;var O=e.map(i,c?k:function(n){return!n||e.isSourceFile(n)&&n.isDeclarationFile?n:k(n)});return x=2,e.performance.mark("afterTransform"),e.performance.measure("transformTime","beforeTransform","afterTransform"),{transformed:O,substituteNode:function(n,t){return e.Debug.assert(x<3,"Cannot substitute a node after the result is disposed."),t&&P(t)&&S(n,t)||t},emitNodeWithNotification:function(n,t,r){e.Debug.assert(x<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),t&&(M(t)?L(n,t,r):r(n,t))},isEmitNotificationEnabled:M,dispose:function(){if(x<3){for(var n=0,t=i;n<t.length;n++){var r=t[n];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(r)))}d=void 0,y=void 0,p=void 0,h=void 0,S=void 0,L=void 0,m=void 0,x=3}},diagnostics:A};function P(n){return 0!=(1&_[n.kind])&&0==(4&e.getEmitFlags(n))}function M(n){return 0!=(2&_[n.kind])||0!=(2&e.getEmitFlags(n))}},e.nullTransformationContext={get factory(){return e.factory},enableEmitNotification:e.noop,enableSubstitution:e.noop,endLexicalEnvironment:e.returnUndefined,getCompilerOptions:function(){return{}},getEmitHost:e.notImplemented,getEmitResolver:e.notImplemented,getEmitHelperFactory:e.notImplemented,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistFunctionDeclaration:e.noop,hoistVariableDeclaration:e.noop,addInitializationStatement:e.noop,isEmitNotificationEnabled:e.notImplemented,isSubstitutionEnabled:e.notImplemented,onEmitNode:e.noop,onSubstituteNode:e.notImplemented,readEmitHelpers:e.notImplemented,requestEmitHelper:e.noop,resumeLexicalEnvironment:e.noop,startLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,addDiagnostic:e.noop}}(p||(p={})),function(e){var n,t,r=function(){var e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}(),a={pos:-1,end:-1};function i(n,t,r,a,i,o){void 0===a&&(a=!1);var c=e.isArray(r)?r:e.getSourceFilesToEmit(n,r,a),u=n.getCompilerOptions();if(e.outFile(u)){var d=n.getPrependNodes();if(c.length||d.length){var p=e.factory.createBundle(c,d);if(_=t(l(p,n,a),p))return _}}else{if(!i)for(var f=0,m=c;f<m.length;f++){var _,g=m[f];if(_=t(l(g,n,a),g))return _}if(o){var y=s(u);if(y)return t({buildInfoPath:y},void 0)}}}function s(n){var t=n.configFilePath;if(e.isIncrementalCompilation(n)){if(n.tsBuildInfoFile)return n.tsBuildInfoFile;var r,a=e.outFile(n);if(a)r=e.removeFileExtension(a);else{if(!t)return;var i=e.removeFileExtension(t);r=n.outDir?n.rootDir?e.resolvePath(n.outDir,e.getRelativePathFromDirectory(n.rootDir,i,!0)):e.combinePaths(n.outDir,e.getBaseFileName(i)):i}return r+".tsbuildinfo"}}function c(n,t){var r=e.outFile(n),a=n.emitDeclarationOnly?void 0:r,i=a&&u(a,n),o=t||e.getEmitDeclarations(n)?e.removeFileExtension(r)+".d.ts":void 0;return{jsFilePath:a,sourceMapFilePath:i,declarationFilePath:o,declarationMapPath:o&&e.getAreDeclarationMapsEnabled(n)?o+".map":void 0,buildInfoPath:s(n)}}function l(n,t,r){var a=t.getCompilerOptions();if(295===n.kind)return c(a,r);var i=e.getOwnEmitOutputFilePath(n.fileName,t,d(n,a)),o=e.isJsonSourceFile(n),s=o&&0===e.comparePaths(n.fileName,i,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()),l=a.emitDeclarationOnly||s?void 0:i,p=!l||e.isJsonSourceFile(n)?void 0:u(l,a),f=r||e.getEmitDeclarations(a)&&!o?e.getDeclarationEmitOutputFilePath(n.fileName,t):void 0;return{jsFilePath:l,sourceMapFilePath:p,declarationFilePath:f,declarationMapPath:f&&e.getAreDeclarationMapsEnabled(a)?f+".map":void 0,buildInfoPath:void 0}}function u(e,n){return n.sourceMap&&!n.inlineSourceMap?e+".map":void 0}function d(n,t){if(e.isJsonSourceFile(n))return".json";if(1===t.jsx)if(e.isSourceFileJS(n)){if(e.fileExtensionIs(n.fileName,".jsx"))return".jsx"}else if(1===n.languageVariant)return".jsx";return".js"}function p(n,t,r,a){return a?e.resolvePath(a,e.getRelativePathFromDirectory(function(n){return n.options.rootDir||e.getDirectoryPath(e.Debug.checkDefined(n.options.configFilePath))}(t),n,r)):n}function f(n,t,r){return e.Debug.assert(!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json")),e.changeExtension(p(n,t,r,t.options.declarationDir||t.options.outDir),".d.ts")}function m(n,t,r){if(!t.options.emitDeclarationOnly){var a=e.fileExtensionIs(n,".json"),i=e.changeExtension(p(n,t,r,t.options.outDir),a?".json":e.fileExtensionIs(n,".tsx")&&1===t.options.jsx?".jsx":".js");return a&&0===e.comparePaths(n,i,e.Debug.checkDefined(t.options.configFilePath),r)?void 0:i}}function _(){var n;return{addOutput:function(e){e&&(n||(n=[])).push(e)},getOutputs:function(){return n||e.emptyArray}}}function g(e,n){var t=c(e.options,!1),r=t.jsFilePath,a=t.sourceMapFilePath,i=t.declarationFilePath,o=t.declarationMapPath,s=t.buildInfoPath;n(r),n(a),n(i),n(o),n(s)}function y(n,t,r,a){if(!e.fileExtensionIs(t,".d.ts")){var i=m(t,n,r);if(a(i),!e.fileExtensionIs(t,".json")&&(i&&n.options.sourceMap&&a(i+".map"),e.getEmitDeclarations(n.options))){var o=f(t,n,r);a(o),n.options.declarationMap&&a(o+".map")}}}function h(n,t,r,a,o,s,c){var l,u,d=a.scriptTransformers,p=a.declarationTransformers,f=t.getCompilerOptions(),m=f.sourceMap||f.inlineSourceMap||e.getAreDeclarationMapsEnabled(f)?[]:void 0,_=f.listEmittedFiles?[]:void 0,g=e.createDiagnosticCollection(),y=e.getNewLineCharacter(f,(function(){return t.getNewLine()})),h=e.createTextWriter(y),b=e.performance.createTimer("printTime","beforePrint","afterPrint"),T=b.enter,S=b.exit,L=!1;return T(),i(t,(function(a,i){var s,m=a.jsFilePath,y=a.sourceMapFilePath,h=a.declarationFilePath,b=a.declarationMapPath,T=a.buildInfoPath;T&&i&&e.isBundle(i)&&(s=e.getDirectoryPath(e.getNormalizedAbsolutePath(T,t.getCurrentDirectory())),l={commonSourceDirectory:S(t.getCommonSourceDirectory()),sourceFiles:i.sourceFiles.map((function(n){return S(e.getNormalizedAbsolutePath(n.fileName,t.getCurrentDirectory()))}))});(function(r,a,i,s){if(!r||o||!a)return;if(a&&t.isEmitBlocked(a)||f.noEmit)return void(L=!0);var c=e.transformNodes(n,t,e.factory,f,[r],d,!1),u=E({removeComments:f.removeComments,newLine:f.newLine,noEmitHelpers:f.noEmitHelpers,module:f.module,target:f.target,sourceMap:f.sourceMap,inlineSourceMap:f.inlineSourceMap,inlineSources:f.inlineSources,extendedDiagnostics:f.extendedDiagnostics,writeBundleFileInfo:!!l,relativeToBuildInfo:s},{hasGlobalName:n.hasGlobalName,onEmitNode:c.emitNodeWithNotification,isEmitNotificationEnabled:c.isEmitNotificationEnabled,substituteNode:c.substituteNode});e.Debug.assert(1===c.transformed.length,"Should only see one output from the transform"),A(a,i,c.transformed[0],u,f),c.dispose(),l&&(l.js=u.bundleFileInfo)})(i,m,y,S),function(r,a,i,s){if(!r)return;if(!a)return void((o||f.emitDeclarationOnly)&&(L=!0));var d=e.isSourceFile(r)?[r]:r.sourceFiles,m=c?d:e.filter(d,e.isSourceFileNotJson),_=e.outFile(f)?[e.factory.createBundle(m,e.isSourceFile(r)?void 0:r.prepends)]:m;o&&!e.getEmitDeclarations(f)&&m.forEach(x);var y=e.transformNodes(n,t,e.factory,f,_,p,!1);if(e.length(y.diagnostics))for(var h=0,v=y.diagnostics;h<v.length;h++){var b=v[h];g.add(b)}var T=E({removeComments:f.removeComments,newLine:f.newLine,noEmitHelpers:!0,module:f.module,target:f.target,sourceMap:f.sourceMap,inlineSourceMap:f.inlineSourceMap,extendedDiagnostics:f.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!l,recordInternalSection:!!l,relativeToBuildInfo:s},{hasGlobalName:n.hasGlobalName,onEmitNode:y.emitNodeWithNotification,isEmitNotificationEnabled:y.isEmitNotificationEnabled,substituteNode:y.substituteNode}),S=!!y.diagnostics&&!!y.diagnostics.length||!!t.isEmitBlocked(a)||!!f.noEmit;if(L=L||S,(!S||c)&&(e.Debug.assert(1===y.transformed.length,"Should only see one output from the decl transform"),A(a,i,y.transformed[0],T,{sourceMap:f.declarationMap,sourceRoot:f.sourceRoot,mapRoot:f.mapRoot,extendedDiagnostics:f.extendedDiagnostics}),c&&294===y.transformed[0].kind)){var D=y.transformed[0];u=D.exportedModulesFromDeclarationEmit}y.dispose(),l&&(l.dts=T.bundleFileInfo)}(i,h,b,S),function(n,a){if(!a||r||L)return;var i=t.getProgramBuildInfo();if(t.isEmitBlocked(a))return void(L=!0);var o=e.version;e.writeFile(t,g,a,v({bundle:n,program:i,version:o}),!1)}(l,T),!L&&_&&(o||(m&&_.push(m),y&&_.push(y),T&&_.push(T)),h&&_.push(h),b&&_.push(b));function S(n){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(s,n,t.getCanonicalFileName))}}),e.getSourceFilesToEmit(t,r,c),c,s,!r),S(),{emitSkipped:L,diagnostics:g.getDiagnostics(),emittedFiles:_,sourceMaps:m,exportedModulesFromDeclarationEmit:u};function x(t){e.isExportAssignment(t)?78===t.expression.kind&&n.collectLinkedAliases(t.expression,!0):e.isExportSpecifier(t)?n.collectLinkedAliases(t.propertyName||t.name,!0):e.forEachChild(t,x)}function A(n,r,a,i,o){var s,c=295===a.kind?a:void 0,l=294===a.kind?a:void 0,u=c?c.sourceFiles:[l];if(function(n,t){return(n.sourceMap||n.inlineSourceMap)&&(294!==t.kind||!e.fileExtensionIs(t.fileName,".json"))}(o,a)&&(s=e.createSourceMapGenerator(t,e.getBaseFileName(e.normalizeSlashes(n)),function(n){var t=e.normalizeSlashes(n.sourceRoot||"");return t?e.ensureTrailingDirectorySeparator(t):t}(o),function(n,r,a){if(n.sourceRoot)return t.getCommonSourceDirectory();if(n.mapRoot){var i=e.normalizeSlashes(n.mapRoot);return a&&(i=e.getDirectoryPath(e.getSourceFilePathInNewDir(a.fileName,t,i))),0===e.getRootLength(i)&&(i=e.combinePaths(t.getCommonSourceDirectory(),i)),i}return e.getDirectoryPath(e.normalizePath(r))}(o,n,l),o)),c?i.writeBundle(c,h,s):i.writeFile(l,h,s),s){m&&m.push({inputSourceFileNames:s.getSources(),sourceMap:s.toJSON()});var d=function(n,r,a,i,o){if(n.inlineSourceMap){var s=r.toString();return"data:application/json;base64,"+e.base64encode(e.sys,s)}var c=e.getBaseFileName(e.normalizeSlashes(e.Debug.checkDefined(i)));if(n.mapRoot){var l=e.normalizeSlashes(n.mapRoot);return o&&(l=e.getDirectoryPath(e.getSourceFilePathInNewDir(o.fileName,t,l))),0===e.getRootLength(l)?(l=e.combinePaths(t.getCommonSourceDirectory(),l),e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizePath(a)),e.combinePaths(l,c),t.getCurrentDirectory(),t.getCanonicalFileName,!0)):e.combinePaths(l,c)}return c}(o,s,n,r,l);if(d&&(h.isAtStartOfLine()||h.rawWrite(y),h.writeComment("//# sourceMappingURL="+d)),r){var p=s.toString();e.writeFile(t,g,r,p,!1,u)}}else h.writeLine();e.writeFile(t,g,n,h.getText(),!!f.emitBOM,u),h.clear()}}function v(e){return JSON.stringify(e,void 0,2)}function b(e){return JSON.parse(e)}function E(n,t){void 0===n&&(n={}),void 0===t&&(t={});var i,o,s,c,l,u,d,p,f,m,_,g,y,h,v,b,E,T,S=t.hasGlobalName,L=t.onEmitNode,x=void 0===L?e.noEmitNotification:L,A=t.isEmitNotificationEnabled,D=t.substituteNode,C=void 0===D?e.noEmitSubstitution:D,I=t.onBeforeEmitNodeArray,N=t.onAfterEmitNodeArray,R=t.onBeforeEmitToken,k=t.onAfterEmitToken,O=!!n.extendedDiagnostics,P=e.getNewLineCharacter(n),M=e.getEmitModuleKind(n),w=new e.Map,F=n.preserveSourceNewlines,G=function(e){m.write(e)},B=n.writeBundleFileInfo?{sections:[]}:void 0,U=B?e.Debug.checkDefined(n.relativeToBuildInfo):void 0,V=n.recordInternalSection,j=0,K="text",H=!0,W=-1,q=-1,z=-1,J=-1,X=!1,Y=!!n.removeComments,Q=e.performance.createTimerIf(O,"commentTime","beforeComment","afterComment"),Z=Q.enter,$=Q.exit;return ge(),{printNode:function(n,t,r){switch(n){case 0:e.Debug.assert(e.isSourceFile(t),"Expected a SourceFile node.");break;case 2:e.Debug.assert(e.isIdentifier(t),"Expected an Identifier node.");break;case 1:e.Debug.assert(e.isExpression(t),"Expected an Expression node.")}switch(t.kind){case 294:return ne(t);case 295:return ee(t);case 296:return function(e,n){var t=m;_e(n,void 0),fe(4,e,void 0),ge(),m=t}(t,de()),pe()}return te(n,t,r,de()),pe()},printList:function(e,n,t){return re(e,n,t,de()),pe()},printFile:ne,printBundle:ee,writeNode:te,writeList:re,writeFile:ue,writeBundle:le,bundleFileInfo:B};function ee(e){return le(e,de(),void 0),pe()}function ne(e){return ue(e,de(),void 0),pe()}function te(e,n,t,r){var a=m;_e(r,void 0),fe(e,n,t),ge(),m=a}function re(e,n,t,r){var i=m;_e(r,void 0),t&&me(t),En(a,n,e),ge(),m=i}function ae(){return m.getTextPosWithWriteLine?m.getTextPosWithWriteLine():m.getTextPos()}function ie(n,t,r){var a=e.lastOrUndefined(B.sections);a&&a.kind===r?a.end=t:B.sections.push({pos:n,end:t,kind:r})}function oe(n){if(V&&B&&i&&(e.isDeclaration(n)||e.isVariableStatement(n))&&e.isInternalDeclaration(n,i)&&"internal"!==K){var t=K;return ce(m.getTextPos()),j=ae(),K="internal",t}}function se(e){e&&(ce(m.getTextPos()),j=ae(),K=e)}function ce(e){return j<e&&(ie(j,e,K),!0)}function le(t,r,a){var i;g=!1;var o=m;_e(r,a),cn(t),sn(t),Ce(t),function(n){tn(!!n.hasNoDefaultLib,n.syntheticFileReferences||[],n.syntheticTypeReferences||[],n.syntheticLibReferences||[]);for(var t=0,r=n.prepends;t<r.length;t++){var a=r[t];if(e.isUnparsedSource(a)&&a.syntheticReferences)for(var i=0,o=a.syntheticReferences;i<o.length;i++){he(o[i]),Pn()}}}(t);for(var s=0,c=t.prepends;s<c.length;s++){var l=c[s];Pn();var u=m.getTextPos(),d=B&&B.sections;if(d&&(B.sections=[]),fe(4,l,void 0),B){var p=B.sections;B.sections=d,l.oldFileOfCurrentEmit?(i=B.sections).push.apply(i,p):(p.forEach((function(n){return e.Debug.assert(e.isBundleFileTextLike(n))})),B.sections.push({pos:u,end:m.getTextPos(),kind:"prepend",data:U(l.fileName),texts:p}))}}j=ae();for(var f=0,_=t.sourceFiles;f<_.length;f++){var y=_[f];fe(0,y,y)}if(B&&t.sourceFiles.length&&ce(m.getTextPos())){var h=function(n){for(var t,r=new e.Set,a=0;a<n.sourceFiles.length;a++){for(var i=n.sourceFiles[a],o=void 0,s=0,c=0,l=i.statements;c<l.length;c++){var u=l[c];if(!e.isPrologueDirective(u))break;r.has(u.expression.text)||(r.add(u.expression.text),(o||(o=[])).push({pos:u.pos,end:u.end,expression:{pos:u.expression.pos,end:u.expression.end,text:u.expression.text}}),s=s<u.end?u.end:s)}o&&(t||(t=[])).push({file:a,text:i.text.substring(0,s),directives:o})}return t}(t);h&&(B.sources||(B.sources={}),B.sources.prologues=h);var v=function(t){var r;if(M===e.ModuleKind.None||n.noEmitHelpers)return;for(var a=new e.Map,i=0,o=t.sourceFiles;i<o.length;i++){var s=o[i],c=void 0!==e.getExternalHelpersModuleName(s),l=Ie(s);if(l)for(var u=0,d=l;u<d.length;u++){var p=d[u];p.scoped||c||a.get(p.name)||(a.set(p.name,!0),(r||(r=[])).push(p.name))}}return r}(t);v&&(B.sources||(B.sources={}),B.sources.helpers=v)}ge(),m=o}function ue(e,n,t){g=!0;var r=m;_e(n,t),cn(e),sn(e),fe(0,e,e),ge(),m=r}function de(){return _||(_=e.createTextWriter(P))}function pe(){var e=_.getText();return _.clear(),e}function fe(e,n,t){t&&me(t),Te(e,n)}function me(e){i=e,v=void 0,b=void 0,e&&Mt(e)}function _e(t,r){t&&n.omitTrailingSemicolon&&(t=e.getTrailingSemicolonDeferringWriter(t)),y=r,H=!(m=t)||!y}function ge(){o=[],s=[],c=new e.Set,l=[],u=0,d=[],i=void 0,v=void 0,b=void 0,E=void 0,T=void 0,_e(void 0,void 0)}function ye(){return v||(v=e.getLineStarts(i))}function he(e){if(void 0!==e){var n=oe(e),t=Te(4,e);return se(n),t}}function ve(e){if(void 0!==e)return Te(2,e)}function be(e){if(void 0!==e)return Te(1,e)}function Ee(n){return Te(e.isStringLiteral(n)?6:4,n)}function Te(n,t){var r=E,a=T,i=F;E=t,T=void 0,F&&134217728&e.getEmitFlags(t)&&(F=!1),Se(0,n,t)(n,t),e.Debug.assert(E===t);var o=T;return E=r,T=a,F=i,o||t}function Se(n,t,r){switch(n){case 0:if(x!==e.noEmitNotification&&(!A||A(r)))return xe;case 1:if(C!==e.noEmitSubstitution&&(T=C(t,r))!==r)return De;case 2:if(!Y&&294!==r.kind)return _t;case 3:if(!H&&294!==r.kind&&!e.isInJsonFile(r))return Rt;case 4:return Ae;default:return e.Debug.assertNever(n)}}function Le(e,n,t){return Se(e+1,n,t)}function xe(n,t){e.Debug.assert(E===t);var r=Le(0,n,t);x(n,t,r),e.Debug.assert(E===t)}function Ae(n,t){if(e.Debug.assert(E===t||T===t),0===n)return function(n){Pn();var t=n.statements;if(vt){if(0===t.length||!e.isPrologueDirective(t[0])||e.nodeIsSynthesized(t[0]))return void vt(n,t,rn)}rn(n)}(e.cast(t,e.isSourceFile));if(2===n)return ke(e.cast(t,e.isIdentifier));if(6===n)return Ne(e.cast(t,e.isStringLiteral),!0);if(3===n)return function(e){he(e.name),kn(),Cn("in"),kn(),he(e.constraint)}(e.cast(t,e.isTypeParameterDeclaration));if(5===n)return e.Debug.assertNode(t,e.isEmptyStatement),Me(!0);if(4===n){if(e.isKeyword(t.kind))return Gn(t,Cn);switch(t.kind){case 15:case 16:case 17:return Ne(t,!1);case 296:case 290:return function(e){for(var n=0,t=e.texts;n<t.length;n++){var r=t[n];Pn(),he(r)}}(t);case 289:return Re(t);case 291:case 292:return o=t,s=ae(),Re(o),void(B&&ie(s,m.getTextPos(),291===o.kind?"text":"internal"));case 293:return function(n){var t=ae();if(Re(n),B){var r=e.clone(n.section);r.pos=t,r.end=m.getTextPos(),B.sections.push(r)}}(t);case 78:return ke(t);case 79:return function(e){(e.symbol?xn:G)(et(e,!1),e.symbol)}(t);case 156:return function(e){(function(e){78===e.kind?be(e):he(e)})(e.left),An("."),he(e.right)}(t);case 157:return function(e){An("["),be(e.expression),An("]")}(t);case 158:return function(e){he(e.name),e.constraint&&(kn(),Cn("extends"),kn(),he(e.constraint));e.default&&(kn(),In("="),kn(),he(e.default))}(t);case 159:return function(e){gn(e,e.decorators),un(e,e.modifiers),he(e.dotDotDotToken),ln(e.name,Nn),he(e.questionToken),e.parent&&304===e.parent.kind&&!e.name?he(e.type):dn(e.type);pn(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.decorators?e.decorators.end:e.pos,e)}(t);case 160:return a=t,An("@"),void be(a.expression);case 161:return function(e){gn(e,e.decorators),un(e,e.modifiers),ln(e.name,On),he(e.questionToken),dn(e.type),Dn()}(t);case 162:return function(e){gn(e,e.decorators),un(e,e.modifiers),he(e.name),he(e.questionToken),he(e.exclamationToken),dn(e.type),pn(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),Dn()}(t);case 163:return function(e){tt(e),gn(e,e.decorators),un(e,e.modifiers),he(e.name),he(e.questionToken),hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type),Dn(),rt(e)}(t);case 164:return function(e){gn(e,e.decorators),un(e,e.modifiers),he(e.asteriskToken),he(e.name),he(e.questionToken),Ve(e,je)}(t);case 165:return function(e){un(e,e.modifiers),Cn("constructor"),Ve(e,je)}(t);case 166:case 167:return function(e){gn(e,e.decorators),un(e,e.modifiers),Cn(166===e.kind?"get":"set"),kn(),he(e.name),Ve(e,je)}(t);case 168:return function(e){tt(e),gn(e,e.decorators),un(e,e.modifiers),hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type),Dn(),rt(e)}(t);case 169:return function(e){tt(e),gn(e,e.decorators),un(e,e.modifiers),Cn("new"),kn(),hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type),Dn(),rt(e)}(t);case 170:return function(e){gn(e,e.decorators),un(e,e.modifiers),n=e,t=e.parameters,En(n,t,8848),dn(e.type),Dn();var n,t}(t);case 171:return function(e){e.assertsModifier&&(he(e.assertsModifier),kn());he(e.parameterName),e.type&&(kn(),Cn("is"),kn(),he(e.type))}(t);case 172:return function(e){he(e.typeName),yn(e,e.typeArguments)}(t);case 173:return function(e){tt(e),hn(e,e.typeParameters),bn(e,e.parameters),kn(),An("=>"),kn(),he(e.type),rt(e)}(t);case 304:return function(e){Cn("function"),vn(e,e.parameters),An(":"),he(e.type)}(t);case 174:return function(e){tt(e),Cn("new"),kn(),hn(e,e.typeParameters),vn(e,e.parameters),kn(),An("=>"),kn(),he(e.type),rt(e)}(t);case 175:return function(e){Cn("typeof"),kn(),he(e.exprName)}(t);case 176:return function(n){An("{");var t=1&e.getEmitFlags(n)?768:32897;En(n,n.members,524288|t),An("}")}(t);case 177:return function(e){he(e.elementType),An("["),An("]")}(t);case 178:return function(n){Ge(22,n.pos,An,n);var t=1&e.getEmitFlags(n)?528:657;En(n,n.elements,524288|t),Ge(23,n.elements.end,An,n)}(t);case 179:return function(e){he(e.type),An("?")}(t);case 181:return function(e){En(e,e.types,516)}(t);case 182:return function(e){En(e,e.types,520)}(t);case 183:return function(e){he(e.checkType),kn(),Cn("extends"),kn(),he(e.extendsType),kn(),An("?"),kn(),he(e.trueType),kn(),An(":"),kn(),he(e.falseType)}(t);case 184:return function(e){Cn("infer"),kn(),he(e.typeParameter)}(t);case 185:return function(e){An("("),he(e.type),An(")")}(t);case 220:return function(e){be(e.expression),yn(e,e.typeArguments)}(t);case 186:return void Cn("this");case 187:return function(e){Bn(e.operator,Cn),kn(),he(e.type)}(t);case 188:return function(e){he(e.objectType),An("["),he(e.indexType),An("]")}(t);case 189:return function(n){var t=e.getEmitFlags(n);An("{"),1&t?kn():(Pn(),Mn());n.readonlyToken&&(he(n.readonlyToken),141!==n.readonlyToken.kind&&Cn("readonly"),kn());An("["),Te(3,n.typeParameter),An("]"),n.questionToken&&(he(n.questionToken),57!==n.questionToken.kind&&An("?"));An(":"),kn(),he(n.type),Dn(),1&t?kn():(Pn(),wn());An("}")}(t);case 190:return function(e){be(e.literal)}(t);case 192:return function(e){e.isTypeOf&&(Cn("typeof"),kn());Cn("import"),An("("),he(e.argument),An(")"),e.qualifier&&(An("."),he(e.qualifier));yn(e,e.typeArguments)}(t);case 299:return void An("*");case 300:return void An("?");case 301:return function(e){An("?"),he(e.type)}(t);case 302:return function(e){An("!"),he(e.type)}(t);case 303:return function(e){he(e.type),An("=")}(t);case 180:case 305:return function(e){An("..."),he(e.type)}(t);case 191:return function(e){he(e.dotDotDotToken),he(e.name),he(e.questionToken),Ge(58,e.name.end,An,e),kn(),he(e.type)}(t);case 193:return function(e){An("{"),En(e,e.elements,525136),An("}")}(t);case 194:return function(e){An("["),En(e,e.elements,524880),An("]")}(t);case 195:return function(e){he(e.dotDotDotToken),e.propertyName&&(he(e.propertyName),An(":"),kn());he(e.name),pn(e.initializer,e.name.end,e)}(t);case 225:return function(e){be(e.expression),he(e.literal)}(t);case 226:return void Dn();case 227:return function(e){Pe(e,!e.multiLine&&Zn(e))}(t);case 229:return function(e){un(e,e.modifiers),he(e.declarationList),Dn()}(t);case 228:return Me(!1);case 230:return function(n){be(n.expression),(!e.isJsonSourceFile(i)||e.nodeIsSynthesized(n.expression))&&Dn()}(t);case 231:return function(e){var n=Ge(98,e.pos,Cn,e);kn(),Ge(20,n,An,e),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.thenStatement),e.elseStatement&&(Un(e,e.thenStatement,e.elseStatement),Ge(90,e.thenStatement.end,Cn,e),231===e.elseStatement.kind?(kn(),he(e.elseStatement)):_n(e,e.elseStatement))}(t);case 232:return function(n){Ge(89,n.pos,Cn,n),_n(n,n.statement),e.isBlock(n.statement)&&!F?kn():Un(n,n.statement,n.expression);we(n,n.statement.end),Dn()}(t);case 233:return function(e){we(e,e.pos),_n(e,e.statement)}(t);case 234:return function(e){var n=Ge(96,e.pos,Cn,e);kn();var t=Ge(20,n,An,e);Fe(e.initializer),t=Ge(26,e.initializer?e.initializer.end:t,An,e),mn(e.condition),t=Ge(26,e.condition?e.condition.end:t,An,e),mn(e.incrementor),Ge(21,e.incrementor?e.incrementor.end:t,An,e),_n(e,e.statement)}(t);case 235:return function(e){var n=Ge(96,e.pos,Cn,e);kn(),Ge(20,n,An,e),Fe(e.initializer),kn(),Ge(100,e.initializer.end,Cn,e),kn(),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.statement)}(t);case 236:return function(e){var n=Ge(96,e.pos,Cn,e);kn(),function(e){e&&(he(e),kn())}(e.awaitModifier),Ge(20,n,An,e),Fe(e.initializer),kn(),Ge(155,e.initializer.end,Cn,e),kn(),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.statement)}(t);case 237:return function(e){Ge(85,e.pos,Cn,e),fn(e.label),Dn()}(t);case 238:return function(e){Ge(80,e.pos,Cn,e),fn(e.label),Dn()}(t);case 239:return function(e){Ge(104,e.pos,Cn,e),mn(e.expression),Dn()}(t);case 240:return function(e){var n=Ge(115,e.pos,Cn,e);kn(),Ge(20,n,An,e),be(e.expression),Ge(21,e.expression.end,An,e),_n(e,e.statement)}(t);case 241:return function(e){var n=Ge(106,e.pos,Cn,e);kn(),Ge(20,n,An,e),be(e.expression),Ge(21,e.expression.end,An,e),kn(),he(e.caseBlock)}(t);case 242:return function(e){he(e.label),Ge(58,e.label.end,An,e),kn(),he(e.statement)}(t);case 243:return function(e){Ge(108,e.pos,Cn,e),mn(e.expression),Dn()}(t);case 244:return function(e){Ge(110,e.pos,Cn,e),kn(),he(e.tryBlock),e.catchClause&&(Un(e,e.tryBlock,e.catchClause),he(e.catchClause));e.finallyBlock&&(Un(e,e.catchClause||e.tryBlock,e.finallyBlock),Ge(95,(e.catchClause||e.tryBlock).end,Cn,e),kn(),he(e.finallyBlock))}(t);case 245:return function(e){Fn(86,e.pos,Cn),Dn()}(t);case 246:return function(e){he(e.name),he(e.exclamationToken),dn(e.type),pn(e.initializer,e.type?e.type.end:e.name.end,e)}(t);case 247:return function(n){Cn(e.isLet(n)?"let":e.isVarConst(n)?"const":"var"),kn(),En(n,n.declarations,528)}(t);case 248:return function(e){Be(e)}(t);case 249:return function(e){qe(e)}(t);case 250:return function(e){gn(e,e.decorators),un(e,e.modifiers),Cn("interface"),kn(),he(e.name),hn(e,e.typeParameters),En(e,e.heritageClauses,512),kn(),An("{"),En(e,e.members,129),An("}")}(t);case 251:return function(e){gn(e,e.decorators),un(e,e.modifiers),Cn("type"),kn(),he(e.name),hn(e,e.typeParameters),kn(),An("="),kn(),he(e.type),Dn()}(t);case 252:return function(e){un(e,e.modifiers),Cn("enum"),kn(),he(e.name),kn(),An("{"),En(e,e.members,145),An("}")}(t);case 253:return function(e){un(e,e.modifiers),1024&~e.flags&&(Cn(16&e.flags?"namespace":"module"),kn());he(e.name);var n=e.body;if(!n)return Dn();for(;253===n.kind;)An("."),he(n.name),n=n.body;kn(),he(n)}(t);case 254:return function(n){tt(n),e.forEach(n.statements,it),Pe(n,Zn(n)),rt(n)}(t);case 255:return function(e){Ge(18,e.pos,An,e),En(e,e.clauses,129),Ge(19,e.clauses.end,An,e,!0)}(t);case 256:return function(e){var n=Ge(92,e.pos,Cn,e);kn(),n=Ge(126,n,Cn,e),kn(),n=Ge(139,n,Cn,e),kn(),he(e.name),Dn()}(t);case 257:return function(e){un(e,e.modifiers),Ge(99,e.modifiers?e.modifiers.end:e.pos,Cn,e),kn(),he(e.name),kn(),Ge(62,e.name.end,An,e),kn(),function(e){78===e.kind?be(e):he(e)}(e.moduleReference),Dn()}(t);case 258:return function(e){un(e,e.modifiers),Ge(99,e.modifiers?e.modifiers.end:e.pos,Cn,e),kn(),e.importClause&&(he(e.importClause),kn(),Ge(152,e.importClause.end,Cn,e),kn());be(e.moduleSpecifier),Dn()}(t);case 259:return function(e){e.isTypeOnly&&(Ge(148,e.pos,Cn,e),kn());he(e.name),e.name&&e.namedBindings&&(Ge(27,e.name.end,An,e),kn());he(e.namedBindings)}(t);case 260:return function(e){var n=Ge(41,e.pos,An,e);kn(),Ge(126,n,Cn,e),kn(),he(e.name)}(t);case 266:return function(e){var n=Ge(41,e.pos,An,e);kn(),Ge(126,n,Cn,e),kn(),he(e.name)}(t);case 261:return function(e){ze(e)}(t);case 262:return function(e){Je(e)}(t);case 263:return function(e){var n=Ge(92,e.pos,Cn,e);kn(),e.isExportEquals?Ge(62,n,In,e):Ge(87,n,Cn,e);kn(),be(e.expression),Dn()}(t);case 264:return function(e){var n=Ge(92,e.pos,Cn,e);kn(),e.isTypeOnly&&(n=Ge(148,n,Cn,e),kn());e.exportClause?he(e.exportClause):n=Ge(41,n,An,e);if(e.moduleSpecifier){kn(),Ge(152,e.exportClause?e.exportClause.end:n,Cn,e),kn(),be(e.moduleSpecifier)}Dn()}(t);case 265:return function(e){ze(e)}(t);case 267:return function(e){Je(e)}(t);case 268:return;case 269:return function(e){Cn("require"),An("("),be(e.expression),An(")")}(t);case 11:return function(e){m.writeLiteral(e.text)}(t);case 272:case 275:return function(n){if(An("<"),e.isJsxOpeningElement(n)){var t=Jn(n.tagName,n);Xe(n.tagName),yn(n,n.typeArguments),n.attributes.properties&&n.attributes.properties.length>0&&kn(),he(n.attributes),Xn(n.attributes,n),Kn(t)}An(">")}(t);case 273:case 276:return function(n){An("</"),e.isJsxClosingElement(n)&&Xe(n.tagName);An(">")}(t);case 277:return function(e){he(e.name),function(e,n,t,r){t&&(n(e),r(t))}("=",An,e.initializer,Ee)}(t);case 278:return function(e){En(e,e.properties,262656)}(t);case 279:return function(e){An("{..."),be(e.expression),An("}")}(t);case 280:return function(e){e.expression&&(An("{"),he(e.dotDotDotToken),be(e.expression),An("}"))}(t);case 281:return function(e){Ge(81,e.pos,Cn,e),kn(),be(e.expression),Ye(e,e.statements,e.expression.end)}(t);case 282:return function(e){var n=Ge(87,e.pos,Cn,e);Ye(e,e.statements,n)}(t);case 283:return function(e){kn(),Bn(e.token,Cn),kn(),En(e,e.types,528)}(t);case 284:return function(e){var n=Ge(82,e.pos,Cn,e);kn(),e.variableDeclaration&&(Ge(20,n,An,e),he(e.variableDeclaration),Ge(21,e.variableDeclaration.end,An,e),kn());he(e.block)}(t);case 285:return function(n){he(n.name),An(":"),kn();var t=n.initializer;if(At&&0==(512&e.getEmitFlags(t))){At(e.getCommentRange(t).pos)}be(t)}(t);case 286:return function(e){he(e.name),e.objectAssignmentInitializer&&(kn(),An("="),kn(),be(e.objectAssignmentInitializer))}(t);case 287:return function(e){e.expression&&(Ge(25,e.pos,An,e),be(e.expression))}(t);case 288:return function(e){he(e.name),pn(e.initializer,e.name.end,e)}(t);case 322:case 328:return function(e){$e(e.tagName),nn(e.typeExpression),kn(),e.isBracketed&&An("[");he(e.name),e.isBracketed&&An("]");en(e.comment)}(t);case 323:case 325:case 324:case 321:return $e((r=t).tagName),nn(r.typeExpression),void en(r.comment);case 312:case 311:return function(e){$e(e.tagName),kn(),An("{"),he(e.class),An("}"),en(e.comment)}(t);case 326:return function(e){$e(e.tagName),nn(e.constraint),kn(),En(e,e.typeParameters,528),en(e.comment)}(t);case 327:return function(e){$e(e.tagName),e.typeExpression&&(298===e.typeExpression.kind?nn(e.typeExpression):(kn(),An("{"),G("Object"),e.typeExpression.isArrayType&&(An("["),An("]")),An("}")));e.fullName&&(kn(),he(e.fullName));en(e.comment),e.typeExpression&&308===e.typeExpression.kind&&Qe(e.typeExpression)}(t);case 320:return function(e){$e(e.tagName),e.name&&(kn(),he(e.name));en(e.comment),Ze(e.typeExpression)}(t);case 309:return Ze(t);case 308:return Qe(t);case 315:case 310:return function(e){$e(e.tagName),en(e.comment)}(t);case 307:return function(e){if(G("/**"),e.comment)for(var n=e.comment.split(/\r\n?|\n/g),t=0,r=n;t<r.length;t++){var a=r[t];Pn(),kn(),An("*"),kn(),G(a)}e.tags&&(1!==e.tags.length||325!==e.tags[0].kind||e.comment?En(e,e.tags,33):(kn(),he(e.tags[0])));kn(),G("*/")}(t)}if(e.isExpression(t))n=1,C!==e.noEmitSubstitution&&(T=t=C(n,t));else if(e.isToken(t))return Gn(t,An)}var r,a,o,s;if(1===n)switch(t.kind){case 8:case 9:return function(e){Ne(e,!1)}(t);case 10:case 13:case 14:return Ne(t,!1);case 78:return ke(t);case 94:case 103:case 105:case 109:case 107:case 99:return void Gn(t,Cn);case 196:return function(e){var n=e.elements,t=e.multiLine?65536:0;Tn(e,n,8914|t)}(t);case 197:return function(n){e.forEach(n.properties,ot);var t=65536&e.getEmitFlags(n);t&&Mn();var r=n.multiLine?65536:0,a=i.languageVersion>=1&&!e.isJsonSourceFile(i)?64:0;En(n,n.properties,526226|a|r),t&&wn()}(t);case 198:return function(n){var t=e.cast(be(n.expression),e.isExpression),r=n.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),n.expression.end,n.name.pos),a=Qn(n,n.expression,r),i=Qn(n,r,n.name);jn(a,!1),28===r.kind||!function(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var t=nt(n,!0,!1);return!n.numericLiteralFlags&&!e.stringContains(t,e.tokenToString(24))}if(e.isAccessExpression(n)){var r=e.getConstantValue(n);return"number"==typeof r&&isFinite(r)&&Math.floor(r)===r}}(t)||m.hasTrailingComment()||m.hasTrailingWhitespace()||An(".");n.questionDotToken?he(r):Ge(r.kind,n.expression.end,An,n);jn(i,!1),he(n.name),Kn(a,i)}(t);case 199:return function(e){be(e.expression),he(e.questionDotToken),Ge(22,e.expression.end,An,e),be(e.argumentExpression),Ge(23,e.argumentExpression.end,An,e)}(t);case 200:return function(e){be(e.expression),he(e.questionDotToken),yn(e,e.typeArguments),Tn(e,e.arguments,2576)}(t);case 201:return function(e){Ge(102,e.pos,Cn,e),kn(),be(e.expression),yn(e,e.typeArguments),Tn(e,e.arguments,18960)}(t);case 202:return function(e){be(e.tag),yn(e,e.typeArguments),kn(),be(e.template)}(t);case 203:return function(e){An("<"),he(e.type),An(">"),be(e.expression)}(t);case 204:return function(e){var n=Ge(20,e.pos,An,e),t=Jn(e.expression,e);be(e.expression),Xn(e.expression,e),Kn(t),Ge(21,e.expression?e.expression.end:n,An,e)}(t);case 205:return function(e){st(e.name),Be(e)}(t);case 206:return function(e){gn(e,e.decorators),un(e,e.modifiers),Ve(e,Oe)}(t);case 207:return function(e){Ge(88,e.pos,Cn,e),kn(),be(e.expression)}(t);case 208:return function(e){Ge(111,e.pos,Cn,e),kn(),be(e.expression)}(t);case 209:return function(e){Ge(113,e.pos,Cn,e),kn(),be(e.expression)}(t);case 210:return function(e){Ge(130,e.pos,Cn,e),kn(),be(e.expression)}(t);case 211:return function(e){Bn(e.operator,In),function(e){var n=e.operand;return 211===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))}(e)&&kn();be(e.operand)}(t);case 212:return function(e){be(e.operand),Bn(e.operator,In)}(t);case 213:return function(n){var t=[n],r=[0],a=0;for(;a>=0;)switch(n=t[a],r[a]){case 0:c(n.left);break;case 1:var i=27!==n.operatorToken.kind,o=Qn(n,n.left,n.operatorToken),s=Qn(n,n.operatorToken,n.right);jn(o,i),Lt(n.operatorToken.pos),Gn(n.operatorToken,100===n.operatorToken.kind?Cn:In),At(n.operatorToken.end,!0),jn(s,!0),c(n.right);break;case 2:o=Qn(n,n.left,n.operatorToken),s=Qn(n,n.operatorToken,n.right);Kn(o,s),a--;break;default:return e.Debug.fail("Invalid state "+r[a]+" for emitBinaryExpressionWorker")}function c(n){r[a]++;var i=E,o=T;E=n,T=void 0;var s=Se(0,1,n);s===Ae&&e.isBinaryExpression(n)?(a++,r[a]=0,t[a]=n):s(1,n),e.Debug.assert(E===n),E=i,T=o}}(t);case 214:return function(e){var n=Qn(e,e.condition,e.questionToken),t=Qn(e,e.questionToken,e.whenTrue),r=Qn(e,e.whenTrue,e.colonToken),a=Qn(e,e.colonToken,e.whenFalse);be(e.condition),jn(n,!0),he(e.questionToken),jn(t,!0),be(e.whenTrue),Kn(n,t),jn(r,!0),he(e.colonToken),jn(a,!0),be(e.whenFalse),Kn(r,a)}(t);case 215:return function(e){he(e.head),En(e,e.templateSpans,262144)}(t);case 216:return function(e){Ge(124,e.pos,Cn,e),he(e.asteriskToken),mn(e.expression)}(t);case 217:return function(e){Ge(25,e.pos,An,e),be(e.expression)}(t);case 218:return function(e){st(e.name),qe(e)}(t);case 219:return;case 221:return function(e){be(e.expression),e.type&&(kn(),Cn("as"),kn(),he(e.type))}(t);case 222:return function(e){be(e.expression),In("!")}(t);case 223:return function(e){Fn(e.keywordToken,e.pos,An),An("."),he(e.name)}(t);case 270:return function(e){he(e.openingElement),En(e,e.children,262144),he(e.closingElement)}(t);case 271:return function(e){An("<"),Xe(e.tagName),yn(e,e.typeArguments),kn(),he(e.attributes),An("/>")}(t);case 274:return function(e){he(e.openingFragment),En(e,e.children,262144),he(e.closingFragment)}(t);case 331:return function(e){be(e.expression)}(t);case 332:return function(e){Tn(e,e.elements,528)}(t)}}function De(n,t){e.Debug.assert(E===t||T===t),Le(1,n,t)(n,T),e.Debug.assert(E===t||T===t)}function Ce(t){var r=!1,a=295===t.kind?t:void 0;if(!a||M!==e.ModuleKind.None){for(var o=a?a.prepends.length:0,s=a?a.sourceFiles.length+o:1,c=0;c<s;c++){var l=a?c<o?a.prepends[c]:a.sourceFiles[c-o]:t,u=e.isSourceFile(l)?l:e.isUnparsedSource(l)?void 0:i,d=n.noEmitHelpers||!!u&&e.hasRecordedExternalHelpers(u),p=(e.isSourceFile(l)||e.isUnparsedSource(l))&&!g,f=e.isUnparsedSource(l)?l.helpers:Ie(l);if(f)for(var _=0,y=f;_<y.length;_++){var h=y[_];if(h.scoped){if(a)continue}else{if(d)continue;if(p){if(w.get(h.name))continue;w.set(h.name,!0)}}var v=ae();"string"==typeof h.text?Vn(h.text):Vn(h.text(mt)),B&&B.sections.push({pos:v,end:m.getTextPos(),kind:"emitHelpers",data:h.name}),r=!0}}return r}}function Ie(n){var t=e.getEmitHelpers(n);return t&&e.stableSort(t,e.compareEmitHelpers)}function Ne(t,r){var a,i=nt(t,n.neverAsciiEscape,r);!n.sourceMap&&!n.inlineSourceMap||10!==t.kind&&!e.isTemplateLiteralKind(t.kind)?function(e){m.writeStringLiteral(e)}(i):(a=i,m.writeLiteral(a))}function Re(e){m.rawWrite(e.parent.text.substring(e.pos,e.end))}function ke(e){(e.symbol?xn:G)(et(e,!1),e.symbol),En(e,e.typeArguments,53776)}function Oe(e){hn(e,e.typeParameters),bn(e,e.parameters),dn(e.type),kn(),he(e.equalsGreaterThanToken)}function Pe(n,t){Ge(18,n.pos,An,n);var r=t||1&e.getEmitFlags(n)?768:129;En(n,n.statements,r),Ge(19,n.statements.end,An,n,!!(1&r))}function Me(e){e?An(";"):Dn()}function we(e,n){var t=Ge(114,n,Cn,e);kn(),Ge(20,t,An,e),be(e.expression),Ge(21,e.expression.end,An,e)}function Fe(e){void 0!==e&&(247===e.kind?he(e):be(e))}function Ge(n,t,r,a,o){var s=e.getParseTreeNode(a),c=s&&s.kind===a.kind,l=t;if(c&&i&&(t=e.skipTrivia(i.text,t)),Lt&&c&&a.pos!==l){var u=o&&i&&!e.positionsAreOnSameLine(l,t,i);u&&Mn(),Lt(l),u&&wn()}return t=Bn(n,r,t),At&&c&&a.end!==t&&At(t,!0),t}function Be(e){gn(e,e.decorators),un(e,e.modifiers),Cn("function"),he(e.asteriskToken),kn(),ve(e.name),Ve(e,je)}function Ue(e,n){Ke(n)}function Ve(n,t){var r=n.body;if(r)if(e.isBlock(r)){var a=65536&e.getEmitFlags(n);a&&Mn(),tt(n),e.forEach(n.parameters,it),it(n.body),t(n),x?x(4,r,Ue):Ke(r),rt(n),a&&wn()}else t(n),kn(),be(r);else t(n),Dn()}function je(e){hn(e,e.typeParameters),vn(e,e.parameters),dn(e.type)}function Ke(n){kn(),An("{"),Mn();var t=function(n){if(1&e.getEmitFlags(n))return!0;if(n.multiLine)return!1;if(!e.nodeIsSynthesized(n)&&!e.rangeIsOnSingleLine(n,i))return!1;if(Hn(n,n.statements,2)||qn(n,n.statements,2))return!1;for(var t,r=0,a=n.statements;r<a.length;r++){var o=a[r];if(Wn(t,o,2)>0)return!1;t=o}return!0}(n)?He:We;vt?vt(n,n.statements,t):t(n),wn(),Fn(19,n.statements.end,An,n)}function He(e){We(e,!0)}function We(e,n){var t=an(e.statements),r=m.getTextPos();Ce(e),0===t&&r===m.getTextPos()&&n?(wn(),En(e,e.statements,768),Mn()):En(e,e.statements,1,t)}function qe(n){e.forEach(n.members,ot),gn(n,n.decorators),un(n,n.modifiers),Cn("class"),n.name&&(kn(),ve(n.name));var t=65536&e.getEmitFlags(n);t&&Mn(),hn(n,n.typeParameters),En(n,n.heritageClauses,0),kn(),An("{"),En(n,n.members,129),An("}"),t&&wn()}function ze(e){An("{"),En(e,e.elements,525136),An("}")}function Je(e){e.propertyName&&(he(e.propertyName),kn(),Ge(126,e.propertyName.end,Cn,e),kn()),he(e.name)}function Xe(e){78===e.kind?be(e):he(e)}function Ye(n,t,r){var a=163969;1===t.length&&(e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t[0])||e.rangeStartPositionsAreOnSameLine(n,t[0],i))?(Fn(58,r,An,n),kn(),a&=-130):Ge(58,r,An,n),En(n,t,a)}function Qe(n){En(n,e.factory.createNodeArray(n.jsDocPropertyTags),33)}function Ze(n){n.typeParameters&&En(n,e.factory.createNodeArray(n.typeParameters),33),n.parameters&&En(n,e.factory.createNodeArray(n.parameters),33),n.type&&(Pn(),kn(),An("*"),kn(),he(n.type))}function $e(e){An("@"),he(e)}function en(e){e&&(kn(),G(e))}function nn(e){e&&(kn(),An("{"),he(e.type),An("}"))}function tn(e,n,t,r){if(e){var a=m.getTextPos();Rn('/// <reference no-default-lib="true"/>'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"no-default-lib"}),Pn()}if(i&&i.moduleName&&(Rn('/// <amd-module name="'+i.moduleName+'" />'),Pn()),i&&i.amdDependencies)for(var o=0,s=i.amdDependencies;o<s.length;o++){var c=s[o];c.name?Rn('/// <amd-dependency name="'+c.name+'" path="'+c.path+'" />'):Rn('/// <amd-dependency path="'+c.path+'" />'),Pn()}for(var l=0,u=n;l<u.length;l++){var d=u[l];a=m.getTextPos();Rn('/// <reference path="'+d.fileName+'" />'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"reference",data:d.fileName}),Pn()}for(var p=0,f=t;p<f.length;p++){d=f[p],a=m.getTextPos();Rn('/// <reference types="'+d.fileName+'" />'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"type",data:d.fileName}),Pn()}for(var _=0,g=r;_<g.length;_++){d=g[_],a=m.getTextPos();Rn('/// <reference lib="'+d.fileName+'" />'),B&&B.sections.push({pos:a,end:m.getTextPos(),kind:"lib",data:d.fileName}),Pn()}}function rn(n){var t=n.statements;tt(n),e.forEach(n.statements,it),Ce(n);var r=e.findIndex(t,(function(n){return!e.isPrologueDirective(n)}));!function(e){e.isDeclarationFile&&tn(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(n),En(n,t,1,-1===r?t.length:r),rt(n)}function an(n,t,r,a){for(var i=!!t,o=0;o<n.length;o++){var s=n[o];if(!e.isPrologueDirective(s))return o;if(!r||!r.has(s.expression.text)){i&&(i=!1,me(t)),Pn();var c=m.getTextPos();he(s),a&&B&&B.sections.push({pos:c,end:m.getTextPos(),kind:"prologue",data:s.expression.text}),r&&r.add(s.expression.text)}}return n.length}function on(e,n){for(var t=0,r=e;t<r.length;t++){var a=r[t];if(!n.has(a.data)){Pn();var i=m.getTextPos();he(a),B&&B.sections.push({pos:i,end:m.getTextPos(),kind:"prologue",data:a.data}),n&&n.add(a.data)}}}function sn(n){if(e.isSourceFile(n))an(n.statements,n);else{for(var t=new e.Set,r=0,a=n.prepends;r<a.length;r++){on(a[r].prologues,t)}for(var i=0,o=n.sourceFiles;i<o.length;i++){var s=o[i];an(s.statements,s,t,!0)}me(void 0)}}function cn(n){if(e.isSourceFile(n)||e.isUnparsedSource(n)){var t=e.getShebang(n.text);if(t)return Rn(t),Pn(),!0}else{for(var r=0,a=n.prepends;r<a.length;r++){var i=a[r];if(e.Debug.assertNode(i,e.isUnparsedSource),cn(i))return!0}for(var o=0,s=n.sourceFiles;o<s.length;o++){if(cn(s[o]))return!0}}}function ln(e,n){if(e){var t=G;G=n,he(e),G=t}}function un(e,n){n&&n.length&&(En(e,n,262656),kn())}function dn(e){e&&(An(":"),kn(),he(e))}function pn(e,n,t){e&&(kn(),Ge(62,n,In,t),kn(),be(e))}function fn(e){e&&(kn(),he(e))}function mn(e){e&&(kn(),be(e))}function _n(n,t){e.isBlock(t)||1&e.getEmitFlags(n)?(kn(),he(t)):(Pn(),Mn(),e.isEmptyStatement(t)?Te(5,t):he(t),wn())}function gn(e,n){En(e,n,2146305)}function yn(e,n){En(e,n,53776)}function hn(n,t){if(e.isFunctionLike(n)&&n.typeArguments)return yn(n,n.typeArguments);En(n,t,53776)}function vn(e,n){En(e,n,2576)}function bn(n,t){!function(n,t){var r=e.singleOrUndefined(t);return r&&r.pos===n.pos&&e.isArrowFunction(n)&&!n.type&&!e.some(n.decorators)&&!e.some(n.modifiers)&&!e.some(n.typeParameters)&&!e.some(r.decorators)&&!e.some(r.modifiers)&&!r.dotDotDotToken&&!r.questionToken&&!r.type&&!r.initializer&&e.isIdentifier(r.name)}(n,t)?vn(n,t):En(n,t,528)}function En(e,n,t,r,a){Ln(he,e,n,t,r,a)}function Tn(e,n,t,r,a){Ln(be,e,n,t,r,a)}function Sn(e){switch(60&e){case 0:break;case 16:An(",");break;case 4:kn(),An("|");break;case 32:kn(),An("*"),kn();break;case 8:kn(),An("&")}}function Ln(n,t,a,o,s,c){void 0===s&&(s=0),void 0===c&&(c=a?a.length-s:0);var l=void 0===a;if(!(l&&16384&o)){var u=void 0===a||s>=a.length||0===c;if(u&&32768&o)return I&&I(a),void(N&&N(a));if(15360&o&&(An(function(e){return r[15360&e][0]}(o)),u&&!l&&At(a.pos,!0)),I&&I(a),u)!(1&o)||F&&e.rangeIsOnSingleLine(t,i)?256&o&&!(524288&o)&&kn():Pn();else{var d=0==(262144&o),p=d,m=Hn(t,a,o);m?(Pn(m),p=!1):256&o&&kn(),128&o&&Mn();for(var _=void 0,g=void 0,y=!1,h=0;h<c;h++){var v=a[s+h];if(32&o)Pn(),Sn(o);else if(_){60&o&&_.end!==t.end&&Lt(_.end),Sn(o),se(g);var b=Wn(_,v,o);b>0?(0==(131&o)&&(Mn(),y=!0),Pn(b),p=!1):_&&512&o&&kn()}if(g=oe(v),p){if(At)At(e.getCommentRange(v).pos)}else p=d;f=v.pos,n(v),y&&(wn(),y=!1),_=v}var E=64&o&&a.hasTrailingComma;16&o&&E&&An(","),_&&60&o&&_.end!==t.end&&!(1024&e.getEmitFlags(_))&&Lt(_.end),128&o&&wn(),se(g);var T=qn(t,a,o);T?Pn(T):2097408&o&&kn()}N&&N(a),15360&o&&(u&&!l&&Lt(a.end),An(function(e){return r[15360&e][1]}(o)))}}function xn(e,n){m.writeSymbol(e,n)}function An(e){m.writePunctuation(e)}function Dn(){m.writeTrailingSemicolon(";")}function Cn(e){m.writeKeyword(e)}function In(e){m.writeOperator(e)}function Nn(e){m.writeParameter(e)}function Rn(e){m.writeComment(e)}function kn(){m.writeSpace(" ")}function On(e){m.writeProperty(e)}function Pn(e){void 0===e&&(e=1);for(var n=0;n<e;n++)m.writeLine(n>0)}function Mn(){m.increaseIndent()}function wn(){m.decreaseIndent()}function Fn(n,t,r,a){return H?Bn(n,r,t):function(n,t,r,a,i){if(H||n&&e.isInJsonFile(n))return i(t,r,a);var o=n&&n.emitNode,s=o&&o.flags||0,c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[t],l=c&&c.source||h;a=kt(l,c?c.pos:a),0==(128&s)&&a>=0&&Pt(l,a);a=i(t,r,a),c&&(a=c.end);0==(256&s)&&a>=0&&Pt(l,a);return a}(a,n,r,t,Bn)}function Gn(n,t){R&&R(n),t(e.tokenToString(n.kind)),k&&k(n)}function Bn(n,t,r){var a=e.tokenToString(n);return t(a),r<0?r:r+a.length}function Un(n,t,r){if(1&e.getEmitFlags(n))kn();else if(F){var a=Qn(n,t,r);a?Pn(a):kn()}else Pn()}function Vn(n){for(var t=n.split(/\r\n?|\n/g),r=e.guessIndentation(t),a=0,i=t;a<i.length;a++){var o=i[a],s=r?o.slice(r):o;s.length&&(Pn(),G(s))}}function jn(e,n){e?(Mn(),Pn(e)):n&&kn()}function Kn(e,n){e&&wn(),n&&wn()}function Hn(n,t,r){if(2&r||F){if(65536&r)return 1;var a=t[0];if(void 0===a)return e.rangeIsOnSingleLine(n,i)?0:1;if(a.pos===f)return 0;if(11===a.kind)return 0;if(!(e.positionIsSynthesized(n.pos)||e.nodeIsSynthesized(a)||a.parent&&e.getOriginalNode(a.parent)!==e.getOriginalNode(n)))return F?zn((function(t){return e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(a.pos,n.pos,i,t)})):e.rangeStartPositionsAreOnSameLine(n,a,i)?0:1;if(Yn(a,r))return 1}return 1&r?1:0}function Wn(n,t,r){if(2&r||F){if(void 0===n||void 0===t)return 0;if(11===t.kind)return 0;if(!e.nodeIsSynthesized(n)&&!e.nodeIsSynthesized(t)&&n.parent===t.parent)return F?zn((function(r){return e.getLinesBetweenRangeEndAndRangeStart(n,t,i,r)})):e.rangeEndIsOnSameLineAsRangeStart(n,t,i)?0:1;if(Yn(n,r)||Yn(t,r))return 1}else if(e.getStartsOnNewLine(t))return 1;return 1&r?1:0}function qn(n,t,r){if(2&r||F){if(65536&r)return 1;var a=e.lastOrUndefined(t);if(void 0===a)return e.rangeIsOnSingleLine(n,i)?0:1;if(!(e.positionIsSynthesized(n.pos)||e.nodeIsSynthesized(a)||a.parent&&a.parent!==n)){if(F){var o=e.isNodeArray(t)&&!e.positionIsSynthesized(t.end)?t.end:a.end;return zn((function(t){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter(o,n.end,i,t)}))}return e.rangeEndPositionsAreOnSameLine(n,a,i)?0:1}if(Yn(a,r))return 1}return 1&r&&!(131072&r)?1:0}function zn(n){e.Debug.assert(!!F);var t=n(!0);return 0===t?n(!1):t}function Jn(e,n){var t=F&&Hn(n,[e],0);return t&&jn(t,!1),!!t}function Xn(e,n){var t=F&&qn(n,[e],0);t&&Pn(t)}function Yn(n,t){if(e.nodeIsSynthesized(n)){var r=e.getStartsOnNewLine(n);return void 0===r?0!=(65536&t):r}return 0!=(65536&t)}function Qn(n,t,r){return 131072&e.getEmitFlags(n)?0:(n=$n(n),t=$n(t),r=$n(r),e.getStartsOnNewLine(r)?1:e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r)?0:F?zn((function(n){return e.getLinesBetweenRangeEndAndRangeStart(t,r,i,n)})):e.rangeEndIsOnSameLineAsRangeStart(t,r,i)?0:1)}function Zn(n){return 0===n.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(n,n,i)}function $n(n){for(;204===n.kind&&e.nodeIsSynthesized(n);)n=n.expression;return n}function et(n,t){return e.isGeneratedIdentifier(n)?ct(n):(e.isIdentifier(n)||e.isPrivateIdentifier(n))&&(e.nodeIsSynthesized(n)||!n.parent||!i||n.parent&&i&&e.getSourceFileOfNode(n)!==e.getOriginalNode(i))?e.idText(n):10===n.kind&&n.textSourceNode?et(n.textSourceNode,t):!e.isLiteralExpression(n)||!e.nodeIsSynthesized(n)&&n.parent?e.getSourceTextOfNodeFromSourceFile(i,n,t):n.text}function nt(n,t,r){if(10===n.kind&&n.textSourceNode){var a=n.textSourceNode;if(e.isIdentifier(a)||e.isNumericLiteral(a)){var o=e.isNumericLiteral(a)?a.text:et(a);return r?'"'+e.escapeJsxAttributeString(o)+'"':t||16777216&e.getEmitFlags(n)?'"'+e.escapeString(o)+'"':'"'+e.escapeNonAsciiString(o)+'"'}return nt(a,t,r)}return e.getLiteralText(n,i,t,r)}function tt(n){n&&524288&e.getEmitFlags(n)||(l.push(u),u=0,d.push(p))}function rt(n){n&&524288&e.getEmitFlags(n)||(u=l.pop(),p=d.pop())}function at(n){p&&p!==e.lastOrUndefined(d)||(p=new e.Set),p.add(n)}function it(n){if(n)switch(n.kind){case 227:e.forEach(n.statements,it);break;case 242:case 240:case 232:case 233:it(n.statement);break;case 231:it(n.thenStatement),it(n.elseStatement);break;case 234:case 236:case 235:it(n.initializer),it(n.statement);break;case 241:it(n.caseBlock);break;case 255:e.forEach(n.clauses,it);break;case 281:case 282:e.forEach(n.statements,it);break;case 244:it(n.tryBlock),it(n.catchClause),it(n.finallyBlock);break;case 284:it(n.variableDeclaration),it(n.block);break;case 229:it(n.declarationList);break;case 247:e.forEach(n.declarations,it);break;case 246:case 159:case 195:case 249:st(n.name);break;case 248:st(n.name),524288&e.getEmitFlags(n)&&(e.forEach(n.parameters,it),it(n.body));break;case 193:case 194:e.forEach(n.elements,it);break;case 258:it(n.importClause);break;case 259:st(n.name),it(n.namedBindings);break;case 260:case 266:st(n.name);break;case 261:e.forEach(n.elements,it);break;case 262:st(n.propertyName||n.name)}}function ot(e){if(e)switch(e.kind){case 285:case 286:case 162:case 164:case 166:case 167:st(e.name)}}function st(n){n&&(e.isGeneratedIdentifier(n)?ct(n):e.isBindingPattern(n)&&it(n))}function ct(n){if(4==(7&n.autoGenerateFlags))return lt(function(n){var t=n.autoGenerateId,r=n,a=r.original;for(;a&&(r=a,!(e.isIdentifier(r)&&4&r.autoGenerateFlags&&r.autoGenerateId!==t));)a=r.original;return r}(n),n.autoGenerateFlags);var t=n.autoGenerateId;return s[t]||(s[t]=function(n){switch(7&n.autoGenerateFlags){case 1:return pt(0,!!(8&n.autoGenerateFlags));case 2:return pt(268435456,!!(8&n.autoGenerateFlags));case 3:return ft(e.idText(n),32&n.autoGenerateFlags?dt:ut,!!(16&n.autoGenerateFlags),!!(8&n.autoGenerateFlags))}return e.Debug.fail("Unsupported GeneratedIdentifierKind.")}(n))}function lt(n,t){var r=e.getNodeId(n);return o[r]||(o[r]=function(n,t){switch(n.kind){case 78:return ft(et(n),ut,!!(16&t),!!(8&t));case 253:case 252:return function(n){var t=et(n.name);return function(n,t){for(var r=t;e.isNodeDescendantOf(r,t);r=r.nextContainer)if(r.locals){var a=r.locals.get(e.escapeLeadingUnderscores(n));if(a&&3257279&a.flags)return!1}return!0}(t,n)?t:ft(t)}(n);case 258:case 264:return function(n){var t=e.getExternalModuleName(n);return ft(e.isStringLiteral(t)?e.makeIdentifierFromModuleName(t.text):"module")}(n);case 248:case 249:case 263:return ft("default");case 218:return ft("class");case 164:case 166:case 167:return function(n){if(e.isIdentifier(n.name))return lt(n.name);return pt(0)}(n);case 157:return pt(0,!0);default:return pt(0)}}(n,t))}function ut(e){return dt(e)&&!c.has(e)&&!(p&&p.has(e))}function dt(n){return!i||e.isFileLevelUniqueName(i,n,S)}function pt(e,n){if(e&&!(u&e)&&ut(t=268435456===e?"_i":"_n"))return u|=e,n&&at(t),t;for(;;){var t,r=268435455&u;if(u++,8!==r&&13!==r)if(ut(t=r<26?"_"+String.fromCharCode(97+r):"_"+(r-26)))return n&&at(t),t}}function ft(e,n,t,r){if(void 0===n&&(n=ut),t&&n(e))return r?at(e):c.add(e),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var a=1;;){var i=e+a;if(n(i))return r?at(i):c.add(i),i;a++}}function mt(e){return ft(e,dt,!0)}function _t(n,t){e.Debug.assert(E===t||T===t),Z(),X=!1;var r=e.getEmitFlags(t),a=e.getCommentRange(t),i=a.pos,o=a.end,s=330!==t.kind,c=i<0||0!=(512&r)||11===t.kind,l=o<0||0!=(1024&r)||11===t.kind,u=q,d=z,p=J;(i>0||o>0)&&i!==o&&(c||bt(i,s),(!c||i>=0&&0!=(512&r))&&(q=i),(!l||o>=0&&0!=(1024&r))&&(z=o,247===t.kind&&(J=o))),e.forEach(e.getSyntheticLeadingComments(t),gt),$();var f=Le(2,n,t);2048&r?(Y=!0,f(n,t),Y=!1):f(n,t),Z(),e.forEach(e.getSyntheticTrailingComments(t),yt),(i>0||o>0)&&i!==o&&(q=u,z=d,J=p,!l&&s&&function(e){It(e,xt)}(o)),$(),e.Debug.assert(E===t||T===t)}function gt(e){(e.hasLeadingNewline||2===e.kind)&&m.writeLine(),ht(e),e.hasTrailingNewLine||2===e.kind?m.writeLine():m.writeSpace(" ")}function yt(e){m.isAtStartOfLine()||m.writeSpace(" "),ht(e),e.hasTrailingNewLine&&m.writeLine()}function ht(n){var t=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(n),r=3===n.kind?e.computeLineStarts(t):void 0;e.writeCommentRange(t,r,m,0,t.length,P)}function vt(n,t,r){Z();var a,o,s=t.pos,c=t.end,l=e.getEmitFlags(n),u=Y||c<0||0!=(1024&l);s<0||0!=(512&l)||(a=t,(o=e.emitDetachedComments(i.text,ye(),m,Nt,a,P,Y))&&(b?b.push(o):b=[o])),$(),2048&l&&!Y?(Y=!0,r(n),Y=!1):r(n),Z(),u||(bt(t.end,!0),X&&!m.isAtStartOfLine()&&m.writeLine()),$()}function bt(e,n){X=!1,n?Ct(e,St):0===e&&Ct(e,Et)}function Et(n,t,r,a,o){(function(n,t){return e.isRecognizedTripleSlashComment(i.text,n,t)})(n,t)&&St(n,t,r,a,o)}function Tt(t,r){return!n.onlyPrintJsDocStyle||(e.isJSDocLikeText(t,r)||e.isPinnedComment(t,r))}function St(n,t,r,a,o){Tt(i.text,n)&&(X||(e.emitNewLineBeforeLeadingCommentOfPosition(ye(),m,o,n),X=!0),Ot(n),e.writeCommentRange(i.text,ye(),m,n,t,P),Ot(t),a?m.writeLine():3===r&&m.writeSpace(" "))}function Lt(e){Y||-1===e||bt(e,!0)}function xt(n,t,r,a){Tt(i.text,n)&&(m.isAtStartOfLine()||m.writeSpace(" "),Ot(n),e.writeCommentRange(i.text,ye(),m,n,t,P),Ot(t),a&&m.writeLine())}function At(e,n){Y||(Z(),It(e,n?xt:Dt),$())}function Dt(n,t,r,a){Ot(n),e.writeCommentRange(i.text,ye(),m,n,t,P),Ot(t),a?m.writeLine():m.writeSpace(" ")}function Ct(n,t){!i||-1!==q&&n===q||(function(n){return void 0!==b&&e.last(b).nodePos===n}(n)?function(n){var t=e.last(b).detachedCommentEndPos;b.length-1?b.pop():b=void 0;e.forEachLeadingCommentRange(i.text,t,n,t)}(t):e.forEachLeadingCommentRange(i.text,n,t,n))}function It(n,t){i&&(-1===z||n!==z&&n!==J)&&e.forEachTrailingCommentRange(i.text,n,t)}function Nt(n,t,r,a,o,s){Tt(i.text,a)&&(Ot(a),e.writeCommentRange(n,t,r,a,o,s),Ot(o))}function Rt(n,t){e.Debug.assert(E===t||T===t);var r=Le(3,n,t);if(e.isUnparsedSource(t)||e.isUnparsedPrepend(t))r(n,t);else if(e.isUnparsedNode(t)){var a=function(n){return void 0===n.parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=e.tryParseRawSourceMap(n.sourceMapText)||!1),n.parsedSourceMap||void 0}(t.parent);a&&y&&y.appendSourceMap(m.getLine(),m.getColumn(),a,t.parent.sourceMapPath,t.parent.getLineAndCharacterOfPosition(t.pos),t.parent.getLineAndCharacterOfPosition(t.end)),r(n,t)}else{var i=e.getSourceMapRange(t),o=i.pos,s=i.end,c=i.source,l=void 0===c?h:c,u=e.getEmitFlags(t);330!==t.kind&&0==(16&u)&&o>=0&&Pt(l,kt(l,o)),64&u?(H=!0,r(n,t),H=!1):r(n,t),330!==t.kind&&0==(32&u)&&s>=0&&Pt(l,s)}e.Debug.assert(E===t||T===t)}function kt(n,t){return n.skipTrivia?n.skipTrivia(t):e.skipTrivia(n.text,t)}function Ot(n){if(!(H||e.positionIsSynthesized(n)||wt(h))){var t=e.getLineAndCharacterOfPosition(h,n),r=t.line,a=t.character;y.addMapping(m.getLine(),m.getColumn(),W,r,a,void 0)}}function Pt(e,n){if(e!==h){var t=h;Mt(e),Ot(n),Mt(t)}else Ot(n)}function Mt(e){H||(h=e,wt(e)||(W=y.addSource(e.fileName),n.inlineSources&&y.setSourceContent(W,e.text)))}function wt(n){return e.fileExtensionIs(n.fileName,".json")}}e.isBuildInfoFile=function(n){return e.fileExtensionIs(n,".tsbuildinfo")},e.forEachEmittedFile=i,e.getTsBuildInfoEmitOutputFilePath=s,e.getOutputPathsForBundle=c,e.getOutputPathsFor=l,e.getOutputExtension=d,e.getOutputDeclarationFileName=f,e.getAllProjectOutputs=function(n,t){var r=_(),a=r.addOutput,i=r.getOutputs;if(e.outFile(n.options))g(n,a);else{for(var o=0,c=n.fileNames;o<c.length;o++){y(n,c[o],t,a)}a(s(n.options))}return i()},e.getOutputFileNames=function(n,t,r){t=e.normalizePath(t),e.Debug.assert(e.contains(n.fileNames,t),"Expected fileName to be present in command line");var a=_(),i=a.addOutput,o=a.getOutputs;return e.outFile(n.options)?g(n,i):y(n,t,r,i),o()},e.getFirstProjectOutput=function(n,t){if(e.outFile(n.options)){var r=c(n.options,!1).jsFilePath;return e.Debug.checkDefined(r,"project "+n.options.configFilePath+" expected to have at least one output")}for(var a=0,i=n.fileNames;a<i.length;a++){var o=i[a];if(!e.fileExtensionIs(o,".d.ts")){if(r=m(o,n,t))return r;if(!e.fileExtensionIs(o,".json")&&e.getEmitDeclarations(n.options))return f(o,n,t)}}var l=s(n.options);return l||e.Debug.fail("project "+n.options.configFilePath+" expected to have at least one output")},e.emitFiles=h,e.getBuildInfoText=v,e.getBuildInfo=b,e.notImplementedResolver={hasGlobalName:e.notImplemented,getReferencedExportContainer:e.notImplemented,getReferencedImportDeclaration:e.notImplemented,getReferencedDeclarationWithCollidingName:e.notImplemented,isDeclarationWithCollidingName:e.notImplemented,isValueAliasDeclaration:e.notImplemented,isReferencedAliasDeclaration:e.notImplemented,isTopLevelValueImportEqualsWithEntityName:e.notImplemented,getNodeCheckFlags:e.notImplemented,isDeclarationVisible:e.notImplemented,isLateBound:function(e){return!1},collectLinkedAliases:e.notImplemented,isImplementationOfOverload:e.notImplemented,isRequiredInitializedParameter:e.notImplemented,isOptionalUninitializedParameterProperty:e.notImplemented,isExpandoFunctionDeclaration:e.notImplemented,getPropertiesOfContainerFunction:e.notImplemented,createTypeOfDeclaration:e.notImplemented,createReturnTypeOfSignatureDeclaration:e.notImplemented,createTypeOfExpression:e.notImplemented,createLiteralConstValue:e.notImplemented,isSymbolAccessible:e.notImplemented,isEntityNameVisible:e.notImplemented,getConstantValue:e.notImplemented,getReferencedValueDeclaration:e.notImplemented,getTypeReferenceSerializationKind:e.notImplemented,isOptionalParameter:e.notImplemented,moduleExportsSomeValue:e.notImplemented,isArgumentsLocalBinding:e.notImplemented,getExternalModuleFileFromDeclaration:e.notImplemented,getTypeReferenceDirectivesForEntityName:e.notImplemented,getTypeReferenceDirectivesForSymbol:e.notImplemented,isLiteralConstDeclaration:e.notImplemented,getJsxFactoryEntity:e.notImplemented,getJsxFragmentFactoryEntity:e.notImplemented,getAllAccessorDeclarations:e.notImplemented,getSymbolOfExternalModuleSpecifier:e.notImplemented,isBindingCapturedByNode:e.notImplemented,getDeclarationStatementsForSourceFile:e.notImplemented,isImportRequiredByAugmentation:e.notImplemented},e.emitUsingBuildInfo=function(n,t,r,a){var i=c(n.options,!1),s=i.buildInfoPath,l=i.jsFilePath,u=i.sourceMapFilePath,d=i.declarationFilePath,p=i.declarationMapPath,f=t.readFile(e.Debug.checkDefined(s));if(!f)return s;var m=t.readFile(e.Debug.checkDefined(l));if(!m)return l;var _=u&&t.readFile(u);if(u&&!_||n.options.inlineSourceMap)return u||"inline sourcemap decoding";var g=d&&t.readFile(d);if(d&&!g)return d;var y=p&&t.readFile(p);if(p&&!y||n.options.inlineSourceMap)return p||"inline sourcemap decoding";var E=b(f);if(!E.bundle||!E.bundle.js||g&&!E.bundle.dts)return s;var T=e.getDirectoryPath(e.getNormalizedAbsolutePath(s,t.getCurrentDirectory())),S=e.createInputFiles(m,g,u,_,p,y,l,d,s,E,!0),L=[],x=e.createPrependNodes(n.projectReferences,r,(function(e){return t.readFile(e)})),A=function(n,t,r){var a,i=e.Debug.checkDefined(n.js),o=(null===(a=i.sources)||void 0===a?void 0:a.prologues)&&e.arrayToMap(i.sources.prologues,(function(e){return e.file}));return n.sourceFiles.map((function(n,a){var i,s,c=null==o?void 0:o.get(a),l=null==c?void 0:c.directives.map((function(n){var t=e.setTextRange(e.factory.createStringLiteral(n.expression.text),n.expression),r=e.setTextRange(e.factory.createExpressionStatement(t),n);return e.setParent(t,r),r})),u=e.factory.createToken(1),d=e.factory.createSourceFile(null!=l?l:[],u,0);return d.fileName=e.getRelativePathFromDirectory(r.getCurrentDirectory(),e.getNormalizedAbsolutePath(n,t),!r.useCaseSensitiveFileNames()),d.text=null!==(i=null==c?void 0:c.text)&&void 0!==i?i:"",e.setTextRangePosWidth(d,0,null!==(s=null==c?void 0:c.text.length)&&void 0!==s?s:0),e.setEachParent(d.statements,d),e.setTextRangePosWidth(u,d.end,0),e.setParent(u,d),d}))}(E.bundle,T,t),D={getPrependNodes:e.memoize((function(){return o(x,[S])})),getCanonicalFileName:t.getCanonicalFileName,getCommonSourceDirectory:function(){return e.getNormalizedAbsolutePath(E.bundle.commonSourceDirectory,T)},getCompilerOptions:function(){return n.options},getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.getNewLine()},getSourceFile:e.returnUndefined,getSourceFileByPath:e.returnUndefined,getSourceFiles:function(){return A},getLibFileFromReference:e.notImplemented,isSourceFileFromExternalLibrary:e.returnFalse,getResolvedProjectReferenceToRedirect:e.returnUndefined,getProjectReferenceRedirect:e.returnUndefined,isSourceOfProjectReferenceRedirect:e.returnFalse,writeFile:function(n,t,r){switch(n){case l:if(m===t)return;break;case u:if(_===t)return;break;case s:var a=b(t);a.program=E.program;var i=E.bundle,o=i.js,c=i.dts,f=i.sourceFiles;return a.bundle.js.sources=o.sources,c&&(a.bundle.dts.sources=c.sources),a.bundle.sourceFiles=f,void L.push({name:n,text:v(a),writeByteOrderMark:r});case d:if(g===t)return;break;case p:if(y===t)return;break;default:e.Debug.fail("Unexpected path: "+n)}L.push({name:n,text:t,writeByteOrderMark:r})},isEmitBlocked:e.returnFalse,readFile:function(e){return t.readFile(e)},fileExists:function(e){return t.fileExists(e)},useCaseSensitiveFileNames:function(){return t.useCaseSensitiveFileNames()},getProgramBuildInfo:e.returnUndefined,getSourceFileFromReference:e.returnUndefined,redirectTargetsMap:e.createMultiMap()};return h(e.notImplementedResolver,D,void 0,e.getTransformers(n.options,a)),L},function(e){e[e.Notification=0]="Notification",e[e.Substitution=1]="Substitution",e[e.Comments=2]="Comments",e[e.SourceMaps=3]="SourceMaps",e[e.Emit=4]="Emit"}(n||(n={})),e.createPrinter=E,function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i"}(t||(t={}))}(p||(p={})),function(e){var n;function t(e,n,t,r,a){return e.watchFile(n,t,r,a)}function r(e,n,r,a,i,o){return t(e,n,(function(e,n){return r(e,n,o)}),a,i)}function a(e,n,t,r,a){return e.watchDirectory(n,t,0!=(1&r),a)}function i(e,t){switch(e){case n.None:return t;case n.TriggerOnly:return c;case n.Verbose:return t===a?s:o}}function o(e,n,t,r,a,i,o,s,u,d,p,f){d(p+":: Added:: "+l(n,r,a,o,s,f));var m=c(e,n,t,r,a,i,o,s,u,d,p,f);return{close:function(){d(p+":: Close:: "+l(n,r,a,o,s,f)),m.close()}}}function s(n,t,r,a,i,o,s,u,d,p,f,m){var _=f+":: Added:: "+l(t,a,i,s,u,m);p(_);var g=e.timestamp(),y=c(n,t,r,a,i,o,s,u,d,p,f,m),h=e.timestamp()-g;return p("Elapsed:: "+h+"ms "+_),{close:function(){var n=f+":: Close:: "+l(t,a,i,s,u,m);p(n);var r=e.timestamp();y.close();var o=e.timestamp()-r;p("Elapsed:: "+o+"ms "+n)}}}function c(n,t,r,a,i,o,s,c,u,d,p,f){return u(n,t,(function(n,u){var m=p+":: Triggered with "+n+" "+(void 0!==u?u:"")+":: "+l(t,a,i,s,c,f);d(m);var _=e.timestamp();r(n,u,o);var g=e.timestamp()-_;d("Elapsed:: "+g+"ms "+m)}),a,i)}function l(e,n,t,r,a,i){return"WatchInfo: "+e+" "+n+" "+JSON.stringify(t)+" "+(i?i(r,a):void 0===a?r:r+" "+a)}function u(e){e.watcher.close()}e.createCachedDirectoryStructureHost=function(n,t,r){if(n.getDirectories&&n.readDirectory){var a=new e.Map,i=e.createGetCanonicalFileName(r);return{useCaseSensitiveFileNames:r,fileExists:function(e){var t=c(o(e));return t&&p(t.files,l(e))||n.fileExists(e)},readFile:function(e,t){return n.readFile(e,t)},directoryExists:n.directoryExists&&function(t){var r=o(t);return a.has(e.ensureTrailingDirectorySeparator(r))||n.directoryExists(t)},getDirectories:function(e){var t=o(e),r=u(e,t);if(r)return r.directories.slice();return n.getDirectories(e)},readDirectory:function(a,i,s,c,l){var d=o(a),p=u(a,d);if(p)return e.matchFiles(a,i,s,c,r,t,l,(function(n){var t=o(n);if(t===d)return p;return u(n,t)||e.emptyFileSystemEntries}),m);return n.readDirectory(a,i,s,c,l)},createDirectory:n.createDirectory&&function(e){var t=c(o(e)),r=l(e);t&&f(t.directories,r,!0);n.createDirectory(e)},writeFile:n.writeFile&&function(e,t,r){var a=c(o(e));a&&_(a,l(e),!0);return n.writeFile(e,t,r)},addOrDeleteFileOrDirectory:function(e,t){if(s(t))return void g();var r=c(t);if(!r)return;if(!n.directoryExists)return void g();var a=l(e),i={fileExists:n.fileExists(t),directoryExists:n.directoryExists(t)};i.directoryExists||p(r.directories,a)?g():_(r,a,i.fileExists);return i},addOrDeleteFile:function(n,t,r){if(r===e.FileWatcherEventKind.Changed)return;var a=c(t);a&&_(a,l(n),r===e.FileWatcherEventKind.Created)},clearCache:g,realpath:n.realpath&&m}}function o(n){return e.toPath(n,t,i)}function s(n){return a.get(e.ensureTrailingDirectorySeparator(n))}function c(n){return s(e.getDirectoryPath(n))}function l(n){return e.getBaseFileName(e.normalizePath(n))}function u(t,r){var i=s(r=e.ensureTrailingDirectorySeparator(r));if(i)return i;try{return function(t,r){var i={files:e.map(n.readDirectory(t,void 0,void 0,["*.*"]),l)||[],directories:n.getDirectories(t)||[]};return a.set(e.ensureTrailingDirectorySeparator(r),i),i}(t,r)}catch(n){return void e.Debug.assert(!a.has(e.ensureTrailingDirectorySeparator(r)))}}function d(e,n){return i(e)===i(n)}function p(n,t){return e.some(n,(function(e){return d(e,t)}))}function f(n,t,r){if(p(n,t)){if(!r)return e.filterMutate(n,(function(e){return!d(e,t)}))}else if(r)return n.push(t)}function m(e){return n.realpath?n.realpath(e):e}function _(e,n,t){f(e.files,n,t)}function g(){a.clear()}},function(e){e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={})),e.updateMissingFilePathsWatch=function(n,t,r){var a=n.getMissingFilePaths(),i=e.arrayToMap(a,e.identity,e.returnTrue);e.mutateMap(t,i,{createNewValue:r,onDeleteValue:e.closeFileWatcher})},e.updateWatchingWildcardDirectories=function(n,t,r){function a(e,n){return{watcher:r(e,n),flags:n}}e.mutateMap(n,t,{createNewValue:a,onDeleteValue:u,onExistingValue:function(e,t,r){if(e.flags===t)return;e.watcher.close(),n.set(r,a(r,t))}})},e.isIgnoredFileFromWildCardWatching=function(n){var t=n.watchedDirPath,r=n.fileOrDirectory,a=n.fileOrDirectoryPath,i=n.configFileName,o=n.options,s=n.configFileSpecs,c=n.program,l=n.extraFileExtensions,u=n.currentDirectory,d=n.useCaseSensitiveFileNames,p=n.writeLog,f=e.removeIgnoredPath(a);if(!f)return p("Project: "+i+" Detected ignored path: "+r),!0;if((a=f)===t)return!1;if(e.hasExtension(a)&&!e.isSupportedSourceFileName(r,o,l))return p("Project: "+i+" Detected file add/remove of non supported extension: "+r),!0;if(e.isExcludedFile(r,s,e.getNormalizedAbsolutePath(e.getDirectoryPath(i),u),d,u))return p("Project: "+i+" Detected excluded file: "+r),!0;if(!c)return!1;if(o.outFile||o.outDir)return!1;if(e.fileExtensionIs(a,".d.ts")){if(o.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(a,e.supportedJSExtensions))return!1;var m=e.removeFileExtension(a),_=function(e){return!!e.getState}(c)?c.getProgramOrUndefined():c;return!(!g(m+".ts")&&!g(m+".tsx"))&&(p("Project: "+i+" Detected output file: "+r),!0);function g(e){return _?!!_.getSourceFileByPath(e):c.getState().fileInfos.has(e)}},e.isEmittedFileOfProgram=function(e,n){return!!e&&e.isEmittedFile(n)},function(e){e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose"}(n=e.WatchLogLevel||(e.WatchLogLevel={})),e.getWatchFactory=function(o,s,c){return function(t,a,o,s,c){var l=i(t,s),u=t===n.None?r:l,d=i(t,c);t===n.Verbose&&e.sysLog===e.noop&&e.setSysLog((function(e){return a(e)}));return{watchFile:function(e,n,t,r,i,c,u){return l(e,n,t,r,i,void 0,c,u,s,a,"FileWatcher",o)},watchFilePath:function(e,n,t,r,i,c,l,d){return u(e,n,t,r,i,c,l,d,s,a,"FileWatcher",o)},watchDirectory:function(e,n,t,r,i,s,l){return d(e,n,t,r,i,void 0,s,l,c,a,"DirectoryWatcher",o)}}}(o,s,c,t,a)},e.getFallbackOptions=function(n){var t=null==n?void 0:n.fallbackPolling;return{watchFile:void 0!==t?t:e.WatchFileKind.PriorityPollingInterval}},e.closeFileWatcherOf=u}(p||(p={})),function(e){function n(n,t){var r=e.getDirectoryPath(t),a=e.isRootedDiskPath(n)?n:e.combinePaths(r,n);return e.normalizePath(a)}function t(n,t,r){var a;return e.forEach(n,(function(n){var i=e.getNormalizedPathComponents(n,t);if(i.pop(),a){for(var o=Math.min(a.length,i.length),s=0;s<o;s++)if(r(a[s])!==r(i[s])){if(0===s)return!0;a.length=s;break}i.length<a.length&&(a.length=i.length)}else a=i}))?"":a?e.getPathFromPathComponents(a):t}function r(e,n){return a(e,n)}function a(n,t,r){void 0===r&&(r=e.sys);var a,i=new e.Map,o=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames);function s(){return e.getDirectoryPath(e.normalizePath(r.getExecutingFilePath()))}var c=e.getNewLineCharacter(n,(function(){return r.newLine})),l=r.realpath&&function(e){return r.realpath(e)},u={getSourceFile:function(n,r,a){var i;try{e.performance.mark("beforeIORead"),i=u.readFile(n),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),i=""}return void 0!==i?e.createSourceFile(n,i,r,t):void 0},getDefaultLibLocation:s,getDefaultLibFileName:function(n){return e.combinePaths(s(),e.getDefaultLibFileName(n))},writeFile:function(t,o,s,c){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(t,o,s,(function(t,i,o){return function(t,i,o){if(!e.isWatchSet(n)||!r.createHash||!r.getModifiedTime)return void r.writeFile(t,i,o);a||(a=new e.Map);var s=r.createHash(i),c=r.getModifiedTime(t);if(c){var l=a.get(t);if(l&&l.byteOrderMark===o&&l.hash===s&&l.mtime.getTime()===c.getTime())return}r.writeFile(t,i,o);var u=r.getModifiedTime(t)||e.missingFileModifiedTime;a.set(t,{hash:s,byteOrderMark:o,mtime:u})}(t,i,o)}),(function(e){return(u.createDirectory||r.createDirectory)(e)}),(function(e){return n=e,!!i.has(n)||!!(u.directoryExists||r.directoryExists)(n)&&(i.set(n,!0),!0);var n})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){c&&c(e.message)}},getCurrentDirectory:e.memoize((function(){return r.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return r.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return c},fileExists:function(e){return r.fileExists(e)},readFile:function(e){return r.readFile(e)},trace:function(e){return r.write(e+c)},directoryExists:function(e){return r.directoryExists(e)},getEnvironmentVariable:function(e){return r.getEnvironmentVariable?r.getEnvironmentVariable(e):""},getDirectories:function(e){return r.getDirectories(e)},realpath:l,readDirectory:function(e,n,t,a,i){return r.readDirectory(e,n,t,a,i)},createDirectory:function(e){return r.createDirectory(e)},createHash:e.maybeBind(r,r.createHash)};return u}function i(n,t){var r=e.diagnosticCategoryName(n)+" TS"+n.code+": "+p(n.messageText,t.getNewLine())+t.getNewLine();if(n.file){var a=e.getLineAndCharacterOfPosition(n.file,n.start),i=a.line,o=a.character,s=n.file.fileName;return e.convertToRelativePath(s,t.getCurrentDirectory(),(function(e){return t.getCanonicalFileName(e)}))+"("+(i+1)+","+(o+1)+"): "+r}return r}var s;e.findConfigFile=function(n,t,r){return void 0===r&&(r="tsconfig.json"),e.forEachAncestorDirectory(n,(function(n){var a=e.combinePaths(n,r);return t(a)?a:void 0}))},e.resolveTripleslashReference=n,e.computeCommonSourceDirectoryOfFilenames=t,e.createCompilerHost=r,e.createCompilerHostWorker=a,e.changeCompilerHostLikeToUseCache=function(n,t,r){var a=n.readFile,i=n.fileExists,o=n.directoryExists,s=n.createDirectory,c=n.writeFile,l=new e.Map,u=new e.Map,d=new e.Map,p=new e.Map,f=function(e,t){var r=a.call(n,t);return l.set(e,void 0!==r&&r),r};n.readFile=function(r){var i=t(r),o=l.get(i);return void 0!==o?!1!==o?o:void 0:e.fileExtensionIs(r,".json")||e.isBuildInfoFile(r)?f(i,r):a.call(n,r)};var m=r?function(n,a,i,o){var s=t(n),c=p.get(s);if(c)return c;var l=r(n,a,i,o);return l&&(e.isDeclarationFileName(n)||e.fileExtensionIs(n,".json"))&&p.set(s,l),l}:void 0;return n.fileExists=function(e){var r=t(e),a=u.get(r);if(void 0!==a)return a;var o=i.call(n,e);return u.set(r,!!o),o},c&&(n.writeFile=function(e,r,a,i,o){var s=t(e);u.delete(s);var d=l.get(s);if(void 0!==d&&d!==r)l.delete(s),p.delete(s);else if(m){var f=p.get(s);f&&f.text!==r&&p.delete(s)}c.call(n,e,r,a,i,o)}),o&&s&&(n.directoryExists=function(e){var r=t(e),a=d.get(r);if(void 0!==a)return a;var i=o.call(n,e);return d.set(r,!!i),i},n.createDirectory=function(e){var r=t(e);d.delete(r),s.call(n,e)}),{originalReadFile:a,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:c,getSourceFileWithCache:m,readFileWithCache:function(e){var n=t(e),r=l.get(n);return void 0!==r?!1!==r?r:void 0:f(n,e)}}},e.getPreEmitDiagnostics=function(n,t,r){var a;return a=e.addRange(a,n.getConfigFileParsingDiagnostics()),a=e.addRange(a,n.getOptionsDiagnostics(r)),a=e.addRange(a,n.getSyntacticDiagnostics(t,r)),a=e.addRange(a,n.getGlobalDiagnostics(r)),a=e.addRange(a,n.getSemanticDiagnostics(t,r)),e.getEmitDeclarations(n.getCompilerOptions())&&(a=e.addRange(a,n.getDeclarationDiagnostics(t,r))),e.sortAndDeduplicateDiagnostics(a||e.emptyArray)},e.formatDiagnostics=function(e,n){for(var t="",r=0,a=e;r<a.length;r++){t+=i(a[r],n)}return t},e.formatDiagnostic=i,function(e){e.Grey="",e.Red="",e.Yellow="",e.Blue="",e.Cyan=""}(s=e.ForegroundColorEscapeSequences||(e.ForegroundColorEscapeSequences={}));function c(n){switch(n){case e.DiagnosticCategory.Error:return s.Red;case e.DiagnosticCategory.Warning:return s.Yellow;case e.DiagnosticCategory.Suggestion:return e.Debug.fail("Should never get an Info diagnostic on the command line.");case e.DiagnosticCategory.Message:return s.Blue}}function l(e,n){return n+e+""}function u(n,t,r,a,i,o){var s=e.getLineAndCharacterOfPosition(n,t),c=s.line,u=s.character,d=e.getLineAndCharacterOfPosition(n,t+r),p=d.line,f=d.character,m=e.getLineAndCharacterOfPosition(n,n.text.length).line,_=p-c>=4,g=(p+1+"").length;_&&(g=Math.max("...".length,g));for(var y="",h=c;h<=p;h++){y+=o.getNewLine(),_&&c+1<h&&h<p-1&&(y+=a+l(e.padLeft("...",g),"")+" "+o.getNewLine(),h=p-1);var v=e.getPositionOfLineAndCharacter(n,h,0),b=h<m?e.getPositionOfLineAndCharacter(n,h+1,0):n.text.length,E=n.text.slice(v,b);if(E=(E=E.replace(/\s+$/g,"")).replace("\t"," "),y+=a+l(e.padLeft(h+1+"",g),"")+" ",y+=E+o.getNewLine(),y+=a+l(e.padLeft("",g),"")+" ",y+=i,h===c){var T=h===p?f:void 0;y+=E.slice(0,u).replace(/\S/g," "),y+=E.slice(u,T).replace(/./g,"~")}else y+=h===p?E.slice(0,f).replace(/./g,"~"):E.replace(/./g,"~");y+=""}return y}function d(n,t,r,a){void 0===a&&(a=l);var i=e.getLineAndCharacterOfPosition(n,t),o=i.line,c=i.character,u="";return u+=a(r?e.convertToRelativePath(n.fileName,r.getCurrentDirectory(),(function(e){return r.getCanonicalFileName(e)})):n.fileName,s.Cyan),u+=":",u+=a(""+(o+1),s.Yellow),u+=":",u+=a(""+(c+1),s.Yellow)}function p(n,t,r){if(void 0===r&&(r=0),e.isString(n))return n;if(void 0===n)return"";var a="";if(r){a+=t;for(var i=0;i<r;i++)a+=" "}if(a+=n.messageText,r++,n.next)for(var o=0,s=n.next;o<s.length;o++){a+=p(s[o],t,r)}return a}function f(n,t,r,a){if(0===n.length)return[];for(var i=[],o=new e.Map,s=0,c=n;s<c.length;s++){var l=c[s],u=void 0;o.has(l)?u=o.get(l):o.set(l,u=a(l,t,r)),i.push(u)}return i}function m(n,t,r,a){var i=n.getCompilerOptions();if(i.noEmit)return n.getSemanticDiagnostics(t,a),t||e.outFile(i)?e.emitSkippedWithNoDiagnostics:n.emitBuildInfo(r,a);if(i.noEmitOnError){var s=o(n.getOptionsDiagnostics(a),n.getSyntacticDiagnostics(t,a),n.getGlobalDiagnostics(a),n.getSemanticDiagnostics(t,a));if(0===s.length&&e.getEmitDeclarations(n.getCompilerOptions())&&(s=n.getDeclarationDiagnostics(void 0,a)),s.length){var c;if(!t&&!e.outFile(i)){var l=n.emitBuildInfo(r,a);l.diagnostics&&(s=o(s,l.diagnostics)),c=l.emittedFiles}return{diagnostics:s,sourceMaps:void 0,emittedFiles:c,emitSkipped:!0}}}}function _(n,t){return e.filter(n,(function(e){return!e.skippedOn||!t[e.skippedOn]}))}function g(n,t){return void 0===t&&(t=n),{fileExists:function(e){return t.fileExists(e)},readDirectory:function(n,r,a,i,o){return e.Debug.assertIsDefined(t.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(n,r,a,i,o)},readFile:function(e){return t.readFile(e)},useCaseSensitiveFileNames:n.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return n.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:n.onUnRecoverableConfigFileDiagnostic||e.returnUndefined,trace:n.trace?function(e){return n.trace(e)}:void 0}}function y(n,t,r){if(!n)return e.emptyArray;for(var a,i=0;i<n.length;i++){var o=n[i],s=t(o,i);if(o.prepend&&s&&s.options){if(!e.outFile(s.options))continue;var c=e.getOutputPathsForBundle(s.options,!0),l=c.jsFilePath,u=c.sourceMapFilePath,d=c.declarationFilePath,p=c.declarationMapPath,f=c.buildInfoPath,m=e.createInputFiles(r,l,u,d,p,f);(a||(a=[])).push(m)}}return a||e.emptyArray}function h(n,t){var r=t||n;return e.resolveConfigFileProjectName(r.path)}function v(n,t){switch(t.extension){case".ts":case".d.ts":return;case".tsx":return r();case".jsx":return r()||a();case".js":return a();case".json":return n.resolveJsonModule?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}function r(){return n.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function a(){return n.allowJs||!e.getStrictOptionValue(n,"noImplicitAny")?void 0:e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function b(e){for(var n=e.imports,t=e.moduleAugmentations,r=n.map((function(e){return e.text})),a=0,i=t;a<i.length;a++){var o=i[a];10===o.kind&&r.push(o.text)}return r}e.formatColorAndReset=l,e.formatLocation=d,e.formatDiagnosticsWithColorAndContext=function(n,t){for(var r="",a=0,i=n;a<i.length;a++){var o=i[a];if(o.file)r+=d(g=o.file,y=o.start,t),r+=" - ";if(r+=l(e.diagnosticCategoryName(o),c(o.category)),r+=l(" TS"+o.code+": ",s.Grey),r+=p(o.messageText,t.getNewLine()),o.file&&(r+=t.getNewLine(),r+=u(o.file,o.start,o.length,"",c(o.category),t),o.relatedInformation)){r+=t.getNewLine();for(var f=0,m=o.relatedInformation;f<m.length;f++){var _=m[f],g=_.file,y=_.start,h=_.length,v=_.messageText;g&&(r+=t.getNewLine(),r+=" "+d(g,y,t),r+=u(g,y,h," ",s.Cyan,t)),r+=t.getNewLine(),r+=" "+p(v,t.getNewLine())}}r+=t.getNewLine()}return r},e.flattenDiagnosticMessageText=p,e.loadWithLocalCache=f,e.inferredTypesContainingFile="__inferred type names__.ts",e.isProgramUptoDate=function(n,t,r,a,i,o,s,c){if(!n||(null==s?void 0:s()))return!1;if(!e.arrayIsEqualTo(n.getRootFileNames(),t))return!1;var l;if(!e.arrayIsEqualTo(n.getProjectReferences(),c,(function(t,r,a){if(!e.projectReferenceIsEqualTo(t,r))return!1;return function n(t,r){if(t)return!!e.contains(l,t)||!!d(t.sourceFile)&&((l||(l=[])).push(t),!e.forEach(t.references,(function(e,r){return!n(e,t.commandLine.projectReferences[r])})));return!i(h(r))}(n.getResolvedProjectReferences()[a],t)})))return!1;if(n.getSourceFiles().some((function(e){return!d(e)||o(e.path)})))return!1;if(n.getMissingFilePaths().some(i))return!1;var u=n.getCompilerOptions();return!!e.compareDataObjects(u,r)&&(!u.configFile||!r.configFile||u.configFile.text===r.configFile.text);function d(e){return e.version===a(e.resolvedPath,e.fileName)}},e.getConfigFileParsingDiagnostics=function(e){return e.options.configFile?o(e.options.configFile.parseDiagnostics,e.errors):e.errors},e.createProgram=function(a,i,s,c,l){var u,d,p,E,T,S,L,x,A,D,C,I=e.isArray(a)?function(e,n,t,r,a){return{rootNames:e,options:n,host:t,oldProgram:r,configFileParsingDiagnostics:a}}(a,i,s,c,l):a,N=I.rootNames,R=I.options,k=I.configFileParsingDiagnostics,O=I.projectReferences,P=I.oldProgram,M=new e.Map,w={},F={},G=new e.Map,B=e.createDiagnosticCollection(),U="number"==typeof R.maxNodeModuleJsDepth?R.maxNodeModuleJsDepth:0,V=0,j=new e.Map,K=new e.Map;e.performance.mark("beforeProgram");var H,W,q,z,J=I.host||r(R),X=g(J),Y=R.noLib,Q=e.memoize((function(){return J.getDefaultLibFileName(R)})),Z=J.getDefaultLibLocation?J.getDefaultLibLocation():e.getDirectoryPath(Q()),$=e.createDiagnosticCollection(),ee=J.getCurrentDirectory(),ne=e.getSupportedExtensions(R),te=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(R,ne),re=new e.Map,ae=J.hasInvalidatedResolution||e.returnFalse;if(J.resolveModuleNames)q=function(n,t,r,a){return J.resolveModuleNames(e.Debug.checkEachDefined(n),t,r,a,R).map((function(n){if(!n||void 0!==n.extension)return n;var t=e.clone(n);return t.extension=e.extensionFromPath(n.resolvedFileName),t}))};else{W=e.createModuleResolutionCache(ee,(function(e){return J.getCanonicalFileName(e)}),R);var ie=function(n,t,r){return e.resolveModuleName(n,t,R,J,W,r).resolvedModule};q=function(n,t,r,a){return f(e.Debug.checkEachDefined(n),t,a,ie)}}if(J.resolveTypeReferenceDirectives)z=function(n,t,r){return J.resolveTypeReferenceDirectives(e.Debug.checkEachDefined(n),t,r,R)};else{var oe=function(n,t,r){return e.resolveTypeReferenceDirective(n,t,R,J,r).resolvedTypeReferenceDirective};z=function(n,t,r){return f(e.Debug.checkEachDefined(n),t,r,oe)}}var se,ce,le,ue,de,pe,fe=new e.Map,me=new e.Map,_e=e.createMultiMap(),ge=new e.Map,ye=J.useCaseSensitiveFileNames()?new e.Map:void 0,he=!!(null===(u=J.useSourceOfProjectReferenceRedirect)||void 0===u?void 0:u.call(J))&&!R.disableSourceOfProjectReferenceRedirect,ve=function(n){var t,r,a=n.compilerHost.fileExists,i=n.compilerHost.directoryExists,o=n.compilerHost.getDirectories,s=n.compilerHost.realpath;if(!n.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:e.noop,fileExists:c};n.compilerHost.fileExists=c,i&&(r=n.compilerHost.directoryExists=function(r){return i.call(n.compilerHost,r)?(function(t){var r;if(!n.getResolvedProjectReferences())return;if(!s||!e.stringContains(t,e.nodeModulesPathPart))return;var a=n.getSymlinkCache(),i=e.ensureTrailingDirectorySeparator(n.toPath(t));if(null===(r=a.getSymlinkedDirectories())||void 0===r?void 0:r.has(i))return;var o,c=e.normalizePath(s.call(n.compilerHost,t));if(c===t||(o=e.ensureTrailingDirectorySeparator(n.toPath(c)))===i)return void a.setSymlinkedDirectory(i,!1);a.setSymlinkedDirectory(i,{real:e.ensureTrailingDirectorySeparator(c),realPath:o})}(r),!0):!!n.getResolvedProjectReferences()&&(t||(t=new e.Set,n.forEachResolvedProjectReference((function(r){if(r){var a=e.outFile(r.commandLine.options);if(a)t.add(e.getDirectoryPath(n.toPath(a)));else{var i=r.commandLine.options.declarationDir||r.commandLine.options.outDir;i&&t.add(n.toPath(i))}}}))),l(r,!1))});o&&(n.compilerHost.getDirectories=function(e){return!n.getResolvedProjectReferences()||i&&i.call(n.compilerHost,e)?o.call(n.compilerHost,e):[]});s&&(n.compilerHost.realpath=function(e){var t;return(null===(t=n.getSymlinkCache().getSymlinkedFiles())||void 0===t?void 0:t.get(n.toPath(e)))||s.call(n.compilerHost,e)});return{onProgramCreateComplete:function(){n.compilerHost.fileExists=a,n.compilerHost.directoryExists=i,n.compilerHost.getDirectories=o},fileExists:c,directoryExists:r};function c(t){return!!a.call(n.compilerHost,t)||!!n.getResolvedProjectReferences()&&(!!e.isDeclarationFileName(t)&&l(t,!0))}function l(r,i){var o,s=i?function(t){return function(t){var r=n.getSourceOfProjectReferenceRedirect(t);return void 0!==r?!e.isString(r)||a.call(n.compilerHost,r):void 0}(t)}:function(r){return function(r){var a=n.toPath(r),i=""+a+e.directorySeparator;return e.forEachKey(t,(function(n){return a===n||e.startsWith(n,i)||e.startsWith(a,n+"/")}))}(r)},c=s(r);if(void 0!==c)return c;var l=n.getSymlinkCache(),u=l.getSymlinkedDirectories();if(!u)return!1;var d=n.toPath(r);return!!e.stringContains(d,e.nodeModulesPathPart)&&(!(!i||!(null===(o=l.getSymlinkedFiles())||void 0===o?void 0:o.has(d)))||(e.firstDefinedIterator(u.entries(),(function(t){var a=t[0],o=t[1];if(o&&e.startsWith(d,a)){var c=s(d.replace(a,o.realPath));if(i&&c){var u=e.getNormalizedAbsolutePath(r,n.compilerHost.getCurrentDirectory());l.setSymlinkedFile(d,""+o.real+u.replace(new RegExp(a,"i"),""))}return c}}))||!1))}}({compilerHost:J,getSymlinkCache:at,useSourceOfProjectReferenceRedirect:he,toPath:qe,getResolvedProjectReferences:Ye,getSourceOfProjectReferenceRedirect:kn,forEachResolvedProjectReference:Rn}),be=ve.onProgramCreateComplete,Ee=ve.fileExists,Te=ve.directoryExists,Se=function(n,t){if(!n)return!1;var r=n.getCompilerOptions();return!!e.sourceFileAffectingCompilerOptions.some((function(n){return!e.isJsonEqual(e.getCompilerOptionValue(r,n),e.getCompilerOptionValue(t,n))}))}(P,R);if(2!==(pe=function(){var n;if(!P)return 0;var t=P.getCompilerOptions();if(e.changesAffectModuleResolution(t,R))return P.structureIsReused=0;var r=P.getRootFileNames();if(!e.arrayIsEqualTo(r,N))return P.structureIsReused=0;if(!e.arrayIsEqualTo(R.types,t.types))return P.structureIsReused=0;if(Pn(P.getProjectReferences(),P.getResolvedProjectReferences(),(function(e,n,t){var r=Hn((t?t.commandLine.projectReferences:O)[n]);return e?!r||r.sourceFile!==e.sourceFile:void 0!==r}),(function(n,t){var r=t?Mn(t.sourceFile.path).commandLine.projectReferences:O;return!e.arrayIsEqualTo(n,r,e.projectReferenceIsEqualTo)})))return P.structureIsReused=0;O&&(ce=O.map(Hn));var a=[],i=[];if(P.structureIsReused=2,P.getMissingFilePaths().some((function(e){return J.fileExists(e)})))return P.structureIsReused=0;var o,s=P.getSourceFiles();!function(e){e[e.Exists=0]="Exists",e[e.Modified=1]="Modified"}(o||(o={}));for(var c=new e.Map,l=0,u=s;l<u.length;l++){var d=u[l];if(!(I=J.getSourceFileByPath?J.getSourceFileByPath(d.fileName,d.resolvedPath,R.target,void 0,Se):J.getSourceFile(d.fileName,R.target,void 0,Se)))return P.structureIsReused=0;e.Debug.assert(!I.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var p=void 0;if(d.redirectInfo){if(I!==d.redirectInfo.unredirected)return P.structureIsReused=0;p=!1,I=d}else if(P.redirectTargetsMap.has(d.path)){if(I!==d)return P.structureIsReused=0;p=!1}else p=I!==d;I.path=d.path,I.originalFileName=d.originalFileName,I.resolvedPath=d.resolvedPath,I.fileName=d.fileName;var f=P.sourceFileToPackageName.get(d.path);if(void 0!==f){var m=c.get(f),_=p?1:0;if(void 0!==m&&1===_||1===m)return P.structureIsReused=0;c.set(f,_)}if(p){if(!e.arrayIsEqualTo(d.libReferenceDirectives,I.libReferenceDirectives,hn))return P.structureIsReused=0;d.hasNoDefaultLib!==I.hasNoDefaultLib&&(P.structureIsReused=1),e.arrayIsEqualTo(d.referencedFiles,I.referencedFiles,hn)||(P.structureIsReused=1),bn(I),e.arrayIsEqualTo(d.imports,I.imports,vn)||(P.structureIsReused=1),e.arrayIsEqualTo(d.moduleAugmentations,I.moduleAugmentations,vn)||(P.structureIsReused=1),(3145728&d.flags)!=(3145728&I.flags)&&(P.structureIsReused=1),e.arrayIsEqualTo(d.typeReferenceDirectives,I.typeReferenceDirectives,hn)||(P.structureIsReused=1),i.push({oldFile:d,newFile:I})}else ae(d.path)&&(P.structureIsReused=1,i.push({oldFile:d,newFile:I}));a.push(I)}if(2!==P.structureIsReused)return P.structureIsReused;for(var g=i.map((function(e){return e.oldFile})),y=0,h=s;y<h.length;y++){var v=h[y];if(!e.contains(g,v))for(var E=0,S=v.ambientModuleNames;E<S.length;E++){var L=S[E];M.set(L,v.fileName)}}for(var x=0,A=i;x<A.length;x++){var D=A[x],I=(d=D.oldFile,D.newFile),k=e.getNormalizedAbsolutePath(I.originalFileName,ee),w=b(I),F=Je(w,k,I);if(e.hasChangesInResolutions(w,F,d.resolvedModules,e.moduleResolutionIsEqualTo)?(P.structureIsReused=1,I.resolvedModules=e.zipToMap(w,F)):I.resolvedModules=d.resolvedModules,He){var U=e.map(I.typeReferenceDirectives,(function(n){return e.toFileNameLowerCase(n.fileName)})),V=He(U,k,Nn(I.originalFileName));e.hasChangesInResolutions(U,V,d.resolvedTypeReferenceDirectiveNames,e.typeDirectiveIsEqualTo)?(P.structureIsReused=1,I.resolvedTypeReferenceDirectiveNames=e.zipToMap(U,V)):I.resolvedTypeReferenceDirectiveNames=d.resolvedTypeReferenceDirectiveNames}}if(2!==P.structureIsReused)return P.structureIsReused;if(null===(n=J.hasChangedAutomaticTypeDirectiveNames)||void 0===n?void 0:n.call(J))return P.structureIsReused=1;se=P.getMissingFilePaths(),C=P.getRefFileMap(),e.Debug.assert(a.length===P.getSourceFiles().length);for(var j=0,H=a;j<H.length;j++){I=H[j];ge.set(I.path,I)}P.getFilesByNameMap().forEach((function(e,n){e?e.path!==n?ge.set(n,ge.get(e.path)):P.isSourceFileFromExternalLibrary(e)&&K.set(e.path,!0):ge.set(n,e)})),T=a,B=P.getFileProcessingDiagnostics();for(var W=0,q=i;W<q.length;W++){var z=q[W];B.reattachFileDiagnostics(z.newFile)}return G=P.getResolvedTypeReferenceDirectives(),me=P.sourceFileToPackageName,_e=P.redirectTargetsMap,P.structureIsReused=2}())){if(p=[],E=[],O&&(ce||(ce=O.map(Hn)),N.length))for(var Le=0,xe=ce;Le<xe.length;Le++){var Ae=xe[Le];if(Ae){var De=e.outFile(Ae.commandLine.options);if(he){if(De||e.getEmitModuleKind(Ae.commandLine.options)===e.ModuleKind.None)for(var Ce=0,Ie=Ae.commandLine.fileNames;Ce<Ie.length;Ce++){Tn(ke=Ie[Ce],!1,!1,void 0)}}else if(De)Tn(e.changeExtension(De,".d.ts"),!1,!1,void 0);else if(e.getEmitModuleKind(Ae.commandLine.options)===e.ModuleKind.None)for(var Ne=0,Re=Ae.commandLine.fileNames;Ne<Re.length;Ne++){var ke=Re[Ne];e.fileExtensionIs(ke,".d.ts")||e.fileExtensionIs(ke,".json")||Tn(e.getOutputDeclarationFileName(ke,Ae.commandLine,!J.useCaseSensitiveFileNames()),!1,!1,void 0)}}}e.forEach(N,(function(e){return yn(e,!1,!1)}));var Oe=N.length?e.getAutomaticTypeDirectiveNames(R,J):e.emptyArray;if(Oe.length)for(var Pe=R.configFilePath?e.getDirectoryPath(R.configFilePath):J.getCurrentDirectory(),Me=He(Oe,e.combinePaths(Pe,e.inferredTypesContainingFile)),we=0;we<Oe.length;we++)Gn(Oe[we],Me[we]);if(N.length&&!Y){var Fe=Q();!R.lib&&Fe?yn(Fe,!0,!1):e.forEach(R.lib,(function(n){yn(e.combinePaths(Z,n),!0,!1)}))}se=e.arrayFrom(e.mapDefinedIterator(ge.entries(),(function(e){var n=e[0];return void 0===e[1]?n:void 0}))),T=e.stableSort(p,(function(n,t){return e.compareValues(We(n),We(t))})).concat(E),p=void 0,E=void 0}if(e.Debug.assert(!!se),P&&J.onReleaseOldSourceFile){for(var Ge=0,Be=P.getSourceFiles();Ge<Be.length;Ge++){var Ue=Be[Ge],Ve=rn(Ue.resolvedPath);(Se||!Ve||Ue.resolvedPath===Ue.path&&Ve.resolvedPath!==Ue.path)&&J.onReleaseOldSourceFile(Ue,P.getCompilerOptions(),!!rn(Ue.path))}P.forEachResolvedProjectReference((function(e,n){e&&!Mn(n)&&J.onReleaseOldSourceFile(e.sourceFile,P.getCompilerOptions(),!1)}))}P=void 0;var je={getRootFileNames:function(){return N},getSourceFile:tn,getSourceFileByPath:rn,getSourceFiles:function(){return T},getMissingFilePaths:function(){return se},getRefFileMap:function(){return C},getFilesByNameMap:function(){return ge},getCompilerOptions:function(){return R},getSyntacticDiagnostics:function(e,n){return an(e,sn,n)},getOptionsDiagnostics:function(){return e.sortAndDeduplicateDiagnostics(e.concatenate(B.getGlobalDiagnostics(),e.concatenate($.getGlobalDiagnostics(),function(){if(!R.configFile)return e.emptyArray;var n=$.getDiagnostics(R.configFile.fileName);return Rn((function(t){t&&(n=e.concatenate(n,$.getDiagnostics(t.sourceFile.fileName)))})),n}())))},getGlobalDiagnostics:function(){return N.length?e.sortAndDeduplicateDiagnostics($e().getGlobalDiagnostics().slice()):e.emptyArray},getSemanticDiagnostics:function(e,n){return an(e,ln,n)},getSuggestionDiagnostics:function(e,n){return cn((function(){return $e().getSuggestionDiagnostics(e,n)}))},getDeclarationDiagnostics:function(n,t){var r=je.getCompilerOptions();return!n||e.outFile(r)?fn(n,t):an(n,gn,t)},getBindAndCheckDiagnostics:function(e,n){return un(e,n)},getProgramDiagnostics:on,getTypeChecker:en,getClassifiableNames:function(){var n;if(!D){en(),D=new e.Set;for(var t=0,r=T;t<r.length;t++){var a=r[t];null===(n=a.classifiableNames)||void 0===n||n.forEach((function(e){return D.add(e)}))}}return D},getDiagnosticsProducingTypeChecker:$e,getCommonSourceDirectory:ze,emit:function(n,t,r,a,i,o){return cn((function(){return function(n,t,r,a,i,o,s){if(!s){var c=m(n,t,r,a);if(c)return c}var l=$e().getEmitResolver(e.outFile(R)?void 0:t,a);e.performance.mark("beforeEmit");var u=e.emitFiles(l,Xe(r),t,e.getTransformers(R,o,i),i,!1,s);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),u}(je,n,t,r,a,i,o)}))},getCurrentDirectory:function(){return ee},getNodeCount:function(){return $e().getNodeCount()},getIdentifierCount:function(){return $e().getIdentifierCount()},getSymbolCount:function(){return $e().getSymbolCount()},getTypeCount:function(){return $e().getTypeCount()},getInstantiationCount:function(){return $e().getInstantiationCount()},getRelationCacheSizes:function(){return $e().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return B},getResolvedTypeReferenceDirectives:function(){return G},isSourceFileFromExternalLibrary:Ze,isSourceFileDefaultLibrary:function(n){if(n.hasNoDefaultLib)return!0;if(!R.noLib)return!1;var t=J.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return R.lib?e.some(R.lib,(function(r){return t(n.fileName,e.combinePaths(Z,r))})):t(n.fileName,Q())},dropDiagnosticsProducingTypeChecker:function(){x=void 0},getSourceFileFromReference:function(e,t){return En(n(t.fileName,e.fileName),(function(e){return ge.get(qe(e))||void 0}))},getLibFileFromReference:function(n){var t=e.toFileNameLowerCase(n.fileName),r=e.libMap.get(t);if(r)return tn(e.combinePaths(Z,r))},sourceFileToPackageName:me,redirectTargetsMap:_e,isEmittedFile:function(n){if(R.noEmit)return!1;var t=qe(n);if(rn(t))return!1;var r=e.outFile(R);if(r)return rt(t,r)||rt(t,e.removeFileExtension(r)+".d.ts");if(R.declarationDir&&e.containsPath(R.declarationDir,t,ee,!J.useCaseSensitiveFileNames()))return!0;if(R.outDir)return e.containsPath(R.outDir,t,ee,!J.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(t,e.supportedJSExtensions)||e.fileExtensionIs(t,".d.ts")){var a=e.removeFileExtension(t);return!!rn(a+".ts")||!!rn(a+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return k||e.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(n,t){return W&&e.resolveModuleNameFromCache(n,t,W)},getProjectReferences:function(){return O},getResolvedProjectReferences:Ye,getProjectReferenceRedirect:Dn,getResolvedProjectReferenceToRedirect:Nn,getResolvedProjectReferenceByPath:Mn,forEachResolvedProjectReference:Rn,isSourceOfProjectReferenceRedirect:On,emitBuildInfo:function(n){e.Debug.assert(!e.outFile(R)),e.performance.mark("beforeEmit");var t=e.emitFiles(e.notImplementedResolver,Xe(n),void 0,e.noTransformers,!1,!0);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),t},fileExists:Ee,directoryExists:Te,getSymlinkCache:at,realpath:null===(d=J.realpath)||void 0===d?void 0:d.bind(J),useCaseSensitiveFileNames:function(){return J.useCaseSensitiveFileNames()}};return be(),function(){R.strictPropertyInitialization&&!e.getStrictOptionValue(R,"strictNullChecks")&&Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks");R.isolatedModules&&(R.out&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),R.outFile&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules"));R.inlineSourceMap&&(R.sourceMap&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),R.mapRoot&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"));R.paths&&void 0===R.baseUrl&&Yn(e.Diagnostics.Option_paths_cannot_be_used_without_specifying_baseUrl_option,"paths");R.composite&&(!1===R.declaration&&Yn(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===R.incremental&&Yn(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"));var n=e.outFile(R);R.tsBuildInfoFile?e.isIncrementalCompilation(R)||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!R.incremental||n||R.configFilePath||$.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));if(function(){var n=R.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(R);Pn(O,ce,(function(t,r,a){var i=(a?a.commandLine.projectReferences:O)[r],o=a&&a.sourceFile;if(t){var s=t.commandLine.options;if(!s.composite||s.noEmit)(a?a.commandLine.fileNames:N).length&&(s.composite||Zn(o,r,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),s.noEmit&&Zn(o,r,e.Diagnostics.Referenced_project_0_may_not_disable_emit,i.path));if(i.prepend){var c=e.outFile(s);c?J.fileExists(c)||Zn(o,r,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,c,i.path):Zn(o,r,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!a&&n&&n===e.getTsBuildInfoEmitOutputFilePath(s)&&(Zn(o,r,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,n,i.path),re.set(qe(n),!0))}else Zn(o,r,e.Diagnostics.File_0_not_found,i.path)}))}(),R.composite)for(var t=new e.Set(N.map(qe)),r=0,a=T;r<a.length;r++){var i=a[r];e.sourceFileMayBeEmitted(i,je)&&!t.has(i.path)&&qn(i,t,e.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,i.fileName,R.configFilePath||"")}if(R.paths)for(var o in R.paths)if(e.hasProperty(R.paths,o))if(e.hasZeroOrOneAsteriskCharacter(o)||Jn(!0,o,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,o),e.isArray(R.paths[o])){var s=R.paths[o].length;0===s&&Jn(!1,o,e.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,o);for(var c=0;c<s;c++){var l=R.paths[o][c],u=typeof l;"string"===u?e.hasZeroOrOneAsteriskCharacter(l)||zn(o,c,e.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,l,o):zn(o,c,e.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,l,o,u)}}else Jn(!1,o,e.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,o);R.sourceMap||R.inlineSourceMap||(R.inlineSources&&Yn(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),R.sourceRoot&&Yn(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot"));R.out&&R.outFile&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile");!R.mapRoot||R.sourceMap||R.declarationMap||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap");R.declarationDir&&(e.getEmitDeclarations(R)||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),n&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",R.out?"out":"outFile"));R.declarationMap&&!e.getEmitDeclarations(R)&&Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite");R.lib&&R.noLib&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib");R.noImplicitUseStrict&&e.getStrictOptionValue(R,"alwaysStrict")&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var d=R.target||0,p=e.find(T,(function(n){return e.isExternalModule(n)&&!n.isDeclarationFile}));if(R.isolatedModules){R.module===e.ModuleKind.None&&d<2&&Yn(e.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target");var f=e.find(T,(function(n){return!e.isExternalModule(n)&&!e.isSourceFileJS(n)&&!n.isDeclarationFile&&6!==n.scriptKind}));if(f){var m=e.getErrorSpanForNode(f,f);$.add(e.createFileDiagnostic(f,m.start,m.length,e.Diagnostics.All_files_must_be_modules_when_the_isolatedModules_flag_is_provided))}}else if(p&&d<2&&R.module===e.ModuleKind.None){m=e.getErrorSpanForNode(p,p.externalModuleIndicator);$.add(e.createFileDiagnostic(p,m.start,m.length,e.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(n&&!R.emitDeclarationOnly)if(R.module&&R.module!==e.ModuleKind.AMD&&R.module!==e.ModuleKind.System)Yn(e.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,R.out?"out":"outFile","module");else if(void 0===R.module&&p){m=e.getErrorSpanForNode(p,p.externalModuleIndicator);$.add(e.createFileDiagnostic(p,m.start,m.length,e.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,R.out?"out":"outFile"))}R.resolveJsonModule&&(e.getEmitModuleResolutionKind(R)!==e.ModuleResolutionKind.NodeJs?Yn(e.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule"):e.hasJsonModuleEmitEnabled(R)||Yn(e.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module"));if(R.outDir||R.sourceRoot||R.mapRoot){var _=ze();R.outDir&&""===_&&T.some((function(n){return e.getRootLength(n.fileName)>1}))&&Yn(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}R.useDefineForClassFields&&0===d&&Yn(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields");R.checkJs&&!R.allowJs&&$.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));R.emitDeclarationOnly&&(e.getEmitDeclarations(R)||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),R.noEmit&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));R.emitDecoratorMetadata&&!R.experimentalDecorators&&Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");R.jsxFactory?(R.reactNamespace&&Yn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(R.jsxFactory,d)||Qn("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,R.jsxFactory)):R.reactNamespace&&!e.isIdentifierText(R.reactNamespace,d)&&Qn("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,R.reactNamespace);R.jsxFragmentFactory&&(R.jsxFactory||Yn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),e.parseIsolatedEntityName(R.jsxFragmentFactory,d)||Qn("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,R.jsxFragmentFactory));if(!R.noEmit&&!R.suppressOutputPathCheck){var g=Xe(),y=new e.Set;e.forEachEmittedFile(g,(function(e){R.emitDeclarationOnly||h(e.jsFilePath,y),h(e.declarationFilePath,y)}))}function h(n,t){if(n){var r=qe(n);if(ge.has(r)){var a=void 0;R.configFilePath||(a=e.chainDiagnosticMessages(void 0,e.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),a=e.chainDiagnosticMessages(a,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,n),tt(n,e.createCompilerDiagnosticFromMessageChain(a))}var i=J.useCaseSensitiveFileNames()?r:e.toFileNameLowerCase(r);t.has(i)?tt(n,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,n)):t.add(i)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),je;function Ke(n,t,r,a){e.performance.mark("beforeResolveModule");var i=q(n,t,r,a);return e.performance.mark("afterResolveModule"),e.performance.measure("ResolveModule","beforeResolveModule","afterResolveModule"),i}function He(n,t,r){e.performance.mark("beforeResolveTypeReference");var a=z(n,t,r);return e.performance.mark("afterResolveTypeReference"),e.performance.measure("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),a}function We(n){if(e.containsPath(Z,n.fileName,!1)){var t=e.getBaseFileName(n.fileName);if("lib.d.ts"===t||"lib.es6.d.ts"===t)return 0;var r=e.removeSuffix(e.removePrefix(t,"lib."),".d.ts"),a=e.libs.indexOf(r);if(-1!==a)return a+1}return e.libs.length+2}function qe(n){return e.toPath(n,ee,Vn)}function ze(){if(void 0===L){var n=e.filter(T,(function(n){return e.sourceFileMayBeEmitted(n,je)}));R.rootDir&&Kn(n,R.rootDir)?L=e.getNormalizedAbsolutePath(R.rootDir,ee):R.composite&&R.configFilePath?Kn(n,L=e.getDirectoryPath(e.normalizeSlashes(R.configFilePath))):(r=n,L=t(e.mapDefined(r,(function(e){return e.isDeclarationFile?void 0:e.fileName})),ee,Vn)),L&&L[L.length-1]!==e.directorySeparator&&(L+=e.directorySeparator)}var r;return L}function Je(n,t,r){if(0===pe&&!r.ambientModuleNames.length)return Ke(n,t,void 0,Nn(r.originalFileName));var a,i,o,s=P&&P.getSourceFile(t);if(s!==r&&r.resolvedModules){for(var c=[],l=0,u=n;l<u.length;l++){var d=u[l],p=r.resolvedModules.get(d);c.push(p)}return c}for(var f={},m=0;m<n.length;m++){d=n[m];if(r===s&&!ae(s.path)){var _=e.getResolvedModule(s,d);if(_){e.isTraceEnabled(R,J)&&e.trace(J,e.Diagnostics.Reusing_resolution_of_module_0_to_file_1_from_old_program,d,t),(i||(i=new Array(n.length)))[m]=_,(o||(o=[])).push(d);continue}}var g=!1;e.contains(r.ambientModuleNames,d)?(g=!0,e.isTraceEnabled(R,J)&&e.trace(J,e.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,d,t)):g=v(d),g?(i||(i=new Array(n.length)))[m]=f:(a||(a=[])).push(d)}var y=a&&a.length?Ke(a,t,o,Nn(r.originalFileName)):e.emptyArray;if(!i)return e.Debug.assert(y.length===n.length),y;var h=0;for(m=0;m<i.length;m++)i[m]?i[m]===f&&(i[m]=void 0):(i[m]=y[h],h++);return e.Debug.assert(h===y.length),i;function v(n){var t=e.getResolvedModule(s,n),r=t&&P.getSourceFile(t.resolvedFileName);if(t&&r)return!1;var a=M.get(n);return!!a&&(e.isTraceEnabled(R,J)&&e.trace(J,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,n,a),!0)}}function Xe(n){return{getPrependNodes:Qe,getCanonicalFileName:Vn,getCommonSourceDirectory:je.getCommonSourceDirectory,getCompilerOptions:je.getCompilerOptions,getCurrentDirectory:function(){return ee},getNewLine:function(){return J.getNewLine()},getSourceFile:je.getSourceFile,getSourceFileByPath:je.getSourceFileByPath,getSourceFiles:je.getSourceFiles,getLibFileFromReference:je.getLibFileFromReference,isSourceFileFromExternalLibrary:Ze,getResolvedProjectReferenceToRedirect:Nn,getProjectReferenceRedirect:Dn,isSourceOfProjectReferenceRedirect:On,getSymlinkCache:at,writeFile:n||function(e,n,t,r,a){return J.writeFile(e,n,t,r,a)},isEmitBlocked:nn,readFile:function(e){return J.readFile(e)},fileExists:function(n){var t=qe(n);return!!rn(t)||!e.contains(se,t)&&J.fileExists(n)},useCaseSensitiveFileNames:function(){return J.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return je.getProgramBuildInfo&&je.getProgramBuildInfo()},getSourceFileFromReference:function(e,n){return je.getSourceFileFromReference(e,n)},redirectTargetsMap:_e}}function Ye(){return ce}function Qe(){return y(O,(function(e,n){var t;return null===(t=ce[n])||void 0===t?void 0:t.commandLine}),(function(e){var n=qe(e),t=rn(n);return t?t.text:ge.has(n)?void 0:J.readFile(n)}))}function Ze(e){return!!K.get(e.path)}function $e(){return x||(x=e.createTypeChecker(je,!0))}function en(){return A||(A=e.createTypeChecker(je,!1))}function nn(e){return re.has(qe(e))}function tn(e){return rn(qe(e))}function rn(e){return ge.get(e)||void 0}function an(n,t,r){return n?t(n,r):e.sortAndDeduplicateDiagnostics(e.flatMap(je.getSourceFiles(),(function(e){return r&&r.throwIfCancellationRequested(),t(e,r)})))}function on(n){return e.skipTypeChecking(n,R,je)?e.emptyArray:function(n){for(var t,r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];var i=e.flatten(r);if(!(null===(t=n.commentDirectives)||void 0===t?void 0:t.length))return i;return pn(n,n.commentDirectives,i).diagnostics}(n,B.getDiagnostics(n.fileName),$.getDiagnostics(n.fileName))}function sn(n){return e.isSourceFileJS(n)?(n.additionalSyntacticDiagnostics||(n.additionalSyntacticDiagnostics=function(n){return cn((function(){var t=[];return r(n,n),e.forEachChildRecursively(n,r,(function(n,r){r.decorators!==n||R.experimentalDecorators||t.push(i(r,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning));switch(r.kind){case 249:case 218:case 164:case 165:case 166:case 167:case 205:case 248:case 206:if(n===r.typeParameters)return t.push(a(n,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 229:if(n===r.modifiers)return function(n,r){for(var a=0,o=n;a<o.length;a++){var s=o[a];switch(s.kind){case 84:if(r)continue;case 122:case 120:case 121:case 141:case 133:case 125:t.push(i(s,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(s.kind)))}}}(r.modifiers,229===r.kind),"skip";break;case 162:if(n===r.modifiers){for(var o=0,s=n;o<s.length;o++){var c=s[o];123!==c.kind&&t.push(i(c,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(c.kind)))}return"skip"}break;case 159:if(n===r.modifiers)return t.push(a(n,e.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 200:case 201:case 220:case 271:case 272:case 202:if(n===r.typeArguments)return t.push(a(n,e.Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}})),t;function r(n,r){switch(r.kind){case 159:case 162:case 164:if(r.questionToken===n)return t.push(i(n,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 163:case 165:case 166:case 167:case 205:case 248:case 206:case 246:if(r.type===n)return t.push(i(n,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(n.kind){case 259:if(n.isTypeOnly)return t.push(i(n.parent,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 264:if(n.isTypeOnly)return t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 257:return t.push(i(n,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 263:if(n.isExportEquals)return t.push(i(n,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 283:if(116===n.token)return t.push(i(n,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 250:var a=e.tokenToString(117);return e.Debug.assertIsDefined(a),t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 253:var o=16&n.flags?e.tokenToString(139):e.tokenToString(138);return e.Debug.assertIsDefined(o),t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 251:return t.push(i(n,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 252:var s=e.Debug.checkDefined(e.tokenToString(91));return t.push(i(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,s)),"skip";case 222:return t.push(i(n,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 221:return t.push(i(n.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 203:e.Debug.fail()}}function a(t,r,a,i,o){var s=t.pos;return e.createFileDiagnostic(n,s,t.end-s,r,a,i,o)}function i(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(n,t,r,a,i,o)}}))}(n)),e.concatenate(n.additionalSyntacticDiagnostics,n.parseDiagnostics)):n.parseDiagnostics}function cn(n){try{return n()}catch(n){throw n instanceof e.OperationCanceledException&&(A=void 0,x=void 0),n}}function ln(n,t){return e.concatenate(_(un(n,t),R),on(n))}function un(e,n){return _n(e,n,w,dn)}function dn(n,t){return cn((function(){if(e.skipTypeChecking(n,R,je))return e.emptyArray;var r=$e();e.Debug.assert(!!n.bindDiagnostics);var a=e.isCheckJsEnabledForFile(n,R),i=!(!!n.checkJsDirective&&!1===n.checkJsDirective.enabled)&&(3===n.scriptKind||4===n.scriptKind||5===n.scriptKind||a||7===n.scriptKind),o=i?n.bindDiagnostics:e.emptyArray,s=i?r.getDiagnostics(n,t):e.emptyArray;return function(n){for(var t,r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];var i=e.flatten(r);if(!(null===(t=n.commentDirectives)||void 0===t?void 0:t.length))return i;for(var o=pn(n,n.commentDirectives,i),s=o.diagnostics,c=o.directives,l=0,u=c.getUnusedExpectations();l<u.length;l++){var d=u[l];s.push(e.createDiagnosticForRange(n,d.range,e.Diagnostics.Unused_ts_expect_error_directive))}return s}(n,o,s,a?n.jsDocDiagnostics:void 0)}))}function pn(n,t,r){var a=e.createCommentDirectivesMap(n,t);return{diagnostics:r.filter((function(n){return-1===function(n,t){var r=n.file,a=n.start;if(!r)return-1;var i=e.getLineStarts(r),o=e.computeLineAndCharacterOfPosition(i,a).line-1;for(;o>=0;){if(t.markUsed(o))return o;var s=r.text.slice(i[o],i[o+1]).trim();if(""!==s&&!/^(\s*)\/\/(.*)$/.test(s))return-1;o--}return-1}(n,a)})),directives:a}}function fn(e,n){return _n(e,n,F,mn)}function mn(n,t){return cn((function(){var r=$e().getEmitResolver(n,t);return e.getDeclarationDiagnostics(Xe(e.noop),r,n)||e.emptyArray}))}function _n(n,t,r,a){var i,o=n?null===(i=r.perFile)||void 0===i?void 0:i.get(n.path):r.allDiagnostics;if(o)return o;var s=a(n,t);return n?(r.perFile||(r.perFile=new e.Map)).set(n.path,s):r.allDiagnostics=s,s}function gn(e,n){return e.isDeclarationFile?[]:fn(e,n)}function yn(n,t,r){Tn(e.normalizePath(n),t,r,void 0)}function hn(e,n){return e.fileName===n.fileName}function vn(e,n){return 78===e.kind?78===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function bn(n){if(!n.imports){var t,r,a,i=e.isSourceFileJS(n),o=e.isExternalModule(n);if(R.importHelpers&&(R.isolatedModules||o)&&!n.isDeclarationFile){var s=e.factory.createStringLiteral(e.externalHelpersModuleNameText),c=e.factory.createImportDeclaration(void 0,void 0,void 0,s);e.addEmitFlags(c,67108864),e.setParent(s,c),e.setParent(c,n),t=[s]}for(var l=0,u=n.statements;l<u.length;l++){d(u[l],!1)}return(1048576&n.flags||i)&&function(n){var r=/import|require/g;for(;null!==r.exec(n.text);){var a=p(n,r.lastIndex);i&&e.isRequireCall(a,!0)||e.isImportCall(a)&&1===a.arguments.length&&e.isStringLiteralLike(a.arguments[0])?t=e.append(t,a.arguments[0]):e.isLiteralImportTypeNode(a)&&(t=e.append(t,a.argument.literal))}}(n),n.imports=t||e.emptyArray,n.moduleAugmentations=r||e.emptyArray,void(n.ambientModuleNames=a||e.emptyArray)}function d(i,s){if(e.isAnyImportOrReExport(i)){var c=e.getExternalModuleName(i);!(c&&e.isStringLiteral(c)&&c.text)||s&&e.isExternalModuleNameRelative(c.text)||(t=e.append(t,c))}else if(e.isModuleDeclaration(i)&&e.isAmbientModule(i)&&(s||e.hasSyntacticModifier(i,2)||n.isDeclarationFile)){var l=e.getTextOfIdentifierOrLiteral(i.name);if(o||s&&!e.isExternalModuleNameRelative(l))(r||(r=[])).push(i.name);else if(!s){n.isDeclarationFile&&(a||(a=[])).push(l);var u=i.body;if(u)for(var p=0,f=u.statements;p<f.length;p++){d(f[p],!0)}}}}function p(n,t){for(var r=n,a=function(e){if(e.pos<=t&&(t<e.end||t===e.end&&1===e.kind))return e};;){var o=i&&e.hasJSDocNodes(r)&&e.forEach(r.jsDoc,a)||e.forEachChild(r,a);if(!o)return r;r=o}}}function En(n,t,r,a){if(e.hasExtension(n)){var i=J.getCanonicalFileName(n);if(!R.allowNonTsExtensions&&!e.forEach(te,(function(n){return e.fileExtensionIs(i,n)})))return void(r&&(e.hasJSFileExtension(i)?r(e.Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,n):r(e.Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,n,"'"+ne.join("', '")+"'")));var o=t(n);if(r)if(o)a&&i===J.getCanonicalFileName(a.fileName)&&r(e.Diagnostics.A_file_cannot_have_a_reference_to_itself);else{var s=Dn(n);s?r(e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,s,n):r(e.Diagnostics.File_0_not_found,n)}return o}var c=R.allowNonTsExtensions&&t(n);if(c)return c;if(!r||!R.allowNonTsExtensions){var l=e.forEach(ne,(function(e){return t(n+e)}));return r&&!l&&r(e.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,n,"'"+ne.join("', '")+"'"),l}r(e.Diagnostics.File_0_not_found,n)}function Tn(e,n,t,r,a){En(e,(function(e){return Ln(e,qe(e),n,t,a,r)}),(function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return B.add(Un.apply(void 0,o([a,e],n)))}),a&&a.file)}function Sn(n,t,r){var a=r?void 0:C&&C.get(t.path),i=a&&e.find(a,(function(e){return e.referencedFileName===t.fileName}));B.add(i?Wn(i,e.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,t.fileName,n):Un(r,e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,n,t.fileName))}function Ln(n,t,r,a,i,o){if(he){var s=kn(n);if(!s&&J.realpath&&R.preserveSymlinks&&e.isDeclarationFileName(n)&&e.stringContains(n,e.nodeModulesPathPart)){var c=J.realpath(n);c!==n&&(s=kn(c))}if(s){var l=e.isString(s)?Ln(s,qe(s),r,a,i,o):void 0;return l&&An(l,t,void 0),l}}var u,d=n;if(ge.has(t)){var f=ge.get(t);if(xn(n,f||void 0,i),f&&R.forceConsistentCasingInFileNames){var m=f.fileName;qe(m)!==qe(n)&&(n=Dn(n)||n),e.getNormalizedAbsolutePathWithoutRoot(m,ee)!==e.getNormalizedAbsolutePathWithoutRoot(n,ee)&&Sn(n,f,i)}return f&&K.get(f.path)&&0===V?(K.set(f.path,!1),R.noResolve||(wn(f,r),Fn(f)),R.noLib||Bn(f),j.set(f.path,!1),jn(f)):f&&j.get(f.path)&&V<U&&(j.set(f.path,!1),jn(f)),f||void 0}if(i&&!he){var _=Cn(n);if(_){if(e.outFile(_.commandLine.options))return;var g=In(_,n);n=g,u=qe(g)}}var y=J.getSourceFile(n,R.target,(function(t){return B.add(Un(i,e.Diagnostics.Cannot_read_file_0_Colon_1,n,t))}),Se);if(o){var h=e.packageIdToString(o),v=fe.get(h);if(v){var b=function(e,n,t,r,a,i){var o=Object.create(e);return o.fileName=t,o.path=r,o.resolvedPath=a,o.originalFileName=i,o.redirectInfo={redirectTarget:e,unredirected:n},K.set(r,V>0),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o}(v,y,n,t,qe(n),d);return _e.add(v.path,n),An(b,t,u),me.set(t,o.name),E.push(b),b}y&&(fe.set(h,y),me.set(t,o.name))}if(An(y,t,u),y){if(K.set(t,V>0),y.fileName=n,y.path=t,y.resolvedPath=qe(n),y.originalFileName=d,xn(n,y,i),J.useCaseSensitiveFileNames()){var T=e.toFileNameLowerCase(t),S=ye.get(T);S?Sn(n,S,i):ye.set(T,y)}Y=Y||y.hasNoDefaultLib&&!a,R.noResolve||(wn(y,r),Fn(y)),R.noLib||Bn(y),jn(y),r?p.push(y):E.push(y)}return y}function xn(n,t,r){r&&t&&(C||(C=e.createMultiMap())).add(t.path,{referencedFileName:n,kind:r.kind,index:r.index,file:r.file.path})}function An(e,n,t){t?(ge.set(t,e),ge.set(n,e||!1)):ge.set(n,e)}function Dn(e){var n=Cn(e);return n&&In(n,e)}function Cn(n){if(ce&&ce.length&&!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json"))return Nn(n)}function In(n,t){var r=e.outFile(n.commandLine.options);return r?e.changeExtension(r,".d.ts"):e.getOutputDeclarationFileName(t,n.commandLine,!J.useCaseSensitiveFileNames())}function Nn(n){void 0===ue&&(ue=new e.Map,Rn((function(e,n){e&&qe(R.configFilePath)!==n&&e.commandLine.fileNames.forEach((function(e){return ue.set(qe(e),n)}))})));var t=ue.get(qe(n));return t&&Mn(t)}function Rn(e){return Pn(O,ce,(function(n,t,r){var a=qe(h((r?r.commandLine.projectReferences:O)[t]));return e(n,a)}))}function kn(n){if(e.isDeclarationFileName(n))return void 0===de&&(de=new e.Map,Rn((function(n){if(n){var t=e.outFile(n.commandLine.options);if(t){var r=e.changeExtension(t,".d.ts");de.set(qe(r),!0)}else e.forEach(n.commandLine.fileNames,(function(t){if(!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json")){var r=e.getOutputDeclarationFileName(t,n.commandLine,J.useCaseSensitiveFileNames());de.set(qe(r),t)}}))}}))),de.get(qe(n))}function On(e){return he&&!!Nn(e)}function Pn(n,t,r,a){var i;return function n(t,r,a,o,s){if(s){var c=s(t,a);if(c)return c}return e.forEach(r,(function(t,r){if(!e.contains(i,t)){var c=o(t,r,a);if(c)return c;if(t)return(i||(i=[])).push(t),n(t.commandLine.projectReferences,t.references,t,o,s)}}))}(n,t,void 0,r,a)}function Mn(e){if(le)return le.get(e)||void 0}function wn(t,r){e.forEach(t.referencedFiles,(function(a,i){Tn(n(a.fileName,t.fileName),r,!1,void 0,{kind:e.RefFileKind.ReferenceFile,index:i,file:t,pos:a.pos,end:a.end})}))}function Fn(n){var t=e.map(n.typeReferenceDirectives,(function(n){return e.toFileNameLowerCase(n.fileName)}));if(t)for(var r=He(t,n.originalFileName,Nn(n.originalFileName)),a=0;a<t.length;a++){var i=n.typeReferenceDirectives[a],o=r[a],s=e.toFileNameLowerCase(i.fileName);e.setResolvedTypeReferenceDirective(n,s,o),Gn(s,o,{kind:e.RefFileKind.TypeReferenceDirective,index:a,file:n,pos:i.pos,end:i.end})}}function Gn(n,t,r){var a=G.get(n);if(!a||!a.primary){var i=!0;if(t){if(t.isExternalLibraryImport&&V++,t.primary)Tn(t.resolvedFileName,!1,!1,t.packageId,r);else if(a){if(t.resolvedFileName!==a.resolvedFileName){var o=J.readFile(t.resolvedFileName),s=tn(a.resolvedFileName);if(o!==s.text){var c=r?void 0:C&&C.get(s.path),l=c&&e.find(c,(function(e){return e.referencedFileName===s.fileName}));B.add(l?Wn(l,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,n,t.resolvedFileName,a.resolvedFileName):Un(r,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,n,t.resolvedFileName,a.resolvedFileName))}}i=!1}else Tn(t.resolvedFileName,!1,!1,t.packageId,r);t.isExternalLibraryImport&&V--}else B.add(Un(r,e.Diagnostics.Cannot_find_type_definition_file_for_0,n));i&&G.set(n,t)}}function Bn(n){e.forEach(n.libReferenceDirectives,(function(t){var r=e.toFileNameLowerCase(t.fileName),a=e.libMap.get(r);if(a)yn(e.combinePaths(Z,a),!0,!0);else{var i=e.removeSuffix(e.removePrefix(r,"lib."),".d.ts"),o=e.getSpellingSuggestion(i,e.libs,e.identity),s=o?e.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:e.Diagnostics.Cannot_find_lib_definition_for_0;B.add(e.createFileDiagnostic(n,t.pos,t.end-t.pos,s,r,o))}}))}function Un(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];return n?e.createFileDiagnostic.apply(void 0,o([n.file,n.pos,n.end-n.pos,t],r)):e.createCompilerDiagnostic.apply(void 0,o([t],r))}function Vn(e){return J.getCanonicalFileName(e)}function jn(n){if(bn(n),n.imports.length||n.moduleAugmentations.length){var t=b(n),r=Je(t,e.getNormalizedAbsolutePath(n.originalFileName,ee),n);e.Debug.assert(r.length===t.length);for(var a=0;a<t.length;a++){var i=r[a];if(e.setResolvedModule(n,t[a],i),i){var o=i.isExternalLibraryImport,s=!e.resolutionExtensionIsTSOrJson(i.extension),c=o&&s,l=i.resolvedFileName;o&&V++;var u=c&&V>U,d=l&&!v(R,i)&&!R.noResolve&&a<n.imports.length&&!u&&!(s&&!R.allowJs)&&(e.isInJSFile(n.imports[a])||!(4194304&n.imports[a].flags));if(u)j.set(n.path,!0);else if(d){var p=qe(l),f=e.skipTrivia(n.text,n.imports[a].pos);Ln(l,p,!1,!1,{kind:e.RefFileKind.Import,index:a,file:n,pos:f,end:n.imports[a].end},i.packageId)}o&&V--}}}else n.resolvedModules=void 0}function Kn(n,t){for(var r,a=!0,i=J.getCanonicalFileName(e.getNormalizedAbsolutePath(t,ee)),o=0,s=n;o<s.length;o++){var c=s[o];if(!c.isDeclarationFile)0!==J.getCanonicalFileName(e.getNormalizedAbsolutePath(c.fileName,ee)).indexOf(i)&&(r||(r=new e.Set(N.map(qe))),qn(c,r,e.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,c.fileName,t),a=!1)}return a}function Hn(n){le||(le=new e.Map);var t,r,a=h(n),i=qe(a),o=le.get(i);if(void 0!==o)return o||void 0;if(J.getParsedCommandLine){if(!(t=J.getParsedCommandLine(a)))return An(void 0,i,void 0),void le.set(i,!1);r=e.Debug.checkDefined(t.options.configFile),e.Debug.assert(!r.path||r.path===i),An(r,i,void 0)}else{var s=e.getNormalizedAbsolutePath(e.getDirectoryPath(a),J.getCurrentDirectory());if(An(r=J.getSourceFile(a,100),i,void 0),void 0===r)return void le.set(i,!1);t=e.parseJsonSourceFileConfigFileContent(r,X,s,void 0,a)}r.fileName=a,r.path=i,r.resolvedPath=i,r.originalFileName=a;var c={commandLine:t,sourceFile:r};return le.set(i,c),t.projectReferences&&(c.references=t.projectReferences.map(Hn)),c}function Wn(n,t){for(var r,a,i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var c,l,u=e.Debug.checkDefined(rn(n.file)),d=n.kind,p=n.index;switch(d){case e.RefFileKind.Import:c=e.skipTrivia(u.text,u.imports[p].pos),l=u.imports[p].end;break;case e.RefFileKind.ReferenceFile:c=(r=u.referencedFiles[p]).pos,l=r.end;break;case e.RefFileKind.TypeReferenceDirective:c=(a=u.typeReferenceDirectives[p]).pos,l=a.end;break;default:return e.Debug.assertNever(d)}return e.createFileDiagnostic.apply(void 0,o([u,c,l-c,t],i))}function qn(n,t,r){for(var a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];var s=null==C?void 0:C.get(n.path),c=e.forEach(s,(function(e){return t.has(e.file)?e:void 0}))||e.elementAt(s,0);$.add(c?Wn.apply(void 0,o([c,r],a)):e.createCompilerDiagnostic.apply(void 0,o([r],a)))}function zn(n,t,r,a,i,o){for(var s=!0,c=0,l=Xn();c<l.length;c++){var u=l[c];if(e.isObjectLiteralExpression(u.initializer))for(var d=0,p=e.getPropertyAssignment(u.initializer,n);d<p.length;d++){var f=p[d].initializer;e.isArrayLiteralExpression(f)&&f.elements.length>t&&($.add(e.createDiagnosticForNodeInSourceFile(R.configFile,f.elements[t],r,a,i,o)),s=!1)}}s&&$.add(e.createCompilerDiagnostic(r,a,i,o))}function Jn(n,t,r,a){for(var i=!0,o=0,s=Xn();o<s.length;o++){var c=s[o];e.isObjectLiteralExpression(c.initializer)&&nt(c.initializer,n,t,void 0,r,a)&&(i=!1)}i&&$.add(e.createCompilerDiagnostic(r,a))}function Xn(){return function(n){var t=et();if(t)return e.getPropertyAssignment(t,n)}("paths")||e.emptyArray}function Yn(e,n,t,r){$n(!0,n,t,e,n,t,r)}function Qn(e,n,t){$n(!1,e,void 0,n,t)}function Zn(n,t,r,a,i){var o=e.firstDefined(e.getTsConfigPropArray(n||R.configFile,"references"),(function(n){return e.isArrayLiteralExpression(n.initializer)?n.initializer:void 0}));o&&o.elements.length>t?$.add(e.createDiagnosticForNodeInSourceFile(n||R.configFile,o.elements[t],r,a,i)):$.add(e.createCompilerDiagnostic(r,a,i))}function $n(n,t,r,a,i,o,s){var c=et();(!c||!nt(c,n,t,r,a,i,o,s))&&$.add(e.createCompilerDiagnostic(a,i,o,s))}function et(){if(void 0===H){H=null;var n=e.getTsConfigObjectLiteralExpression(R.configFile);if(n)for(var t=0,r=e.getPropertyAssignment(n,"compilerOptions");t<r.length;t++){var a=r[t];if(e.isObjectLiteralExpression(a.initializer)){H=a.initializer;break}}}return H}function nt(n,t,r,a,i,o,s,c){for(var l=e.getPropertyAssignment(n,r,a),u=0,d=l;u<d.length;u++){var p=d[u];$.add(e.createDiagnosticForNodeInSourceFile(R.configFile,t?p.name:p.initializer,i,o,s,c))}return!!l.length}function tt(e,n){re.set(qe(e),!0),$.add(n)}function rt(n,t){return 0===e.comparePaths(n,t,ee,!J.useCaseSensitiveFileNames())}function at(){return J.getSymlinkCache?J.getSymlinkCache():S||(S=e.discoverProbableSymlinks(T,Vn,J.getCurrentDirectory()))}},e.emitSkippedWithNoDiagnostics={diagnostics:e.emptyArray,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0},e.handleNoEmitOptions=m,e.filterSemanticDiagnotics=_,e.parseConfigHostFromCompilerHostLike=g,e.createPrependNodes=y,e.resolveProjectReferencePath=h,e.getResolutionDiagnostic=v}(p||(p={})),function(e){function n(e,n,t,r,a,i){var o=[],s=e.emit(n,(function(e,n,t){o.push({name:e,writeByteOrderMark:t,text:n})}),r,t,a,i),c=s.emitSkipped,l=s.diagnostics,u=s.exportedModulesFromDeclarationEmit;return{outputFiles:o,emitSkipped:c,diagnostics:l,exportedModulesFromDeclarationEmit:u}}e.getFileEmitOutput=n,function(t){function r(n){if(n.declarations&&n.declarations[0]){var t=e.getSourceFileOfNode(n.declarations[0]);return t&&t.resolvedPath}}function a(e,n){var t=e.getSymbolAtLocation(n);return t&&r(t)}function i(n,t,r,a){return e.toPath(n.getProjectReferenceRedirect(t)||t,r,a)}function o(n,t,r){var o;if(t.imports&&t.imports.length>0)for(var s=n.getTypeChecker(),c=0,l=t.imports;c<l.length;c++){var u=a(s,l[c]);u&&S(u)}var d=e.getDirectoryPath(t.resolvedPath);if(t.referencedFiles&&t.referencedFiles.length>0)for(var p=0,f=t.referencedFiles;p<f.length;p++){var m=f[p];S(i(n,m.fileName,d,r))}if(t.resolvedTypeReferenceDirectiveNames&&t.resolvedTypeReferenceDirectiveNames.forEach((function(e){if(e){var t=e.resolvedFileName;S(i(n,t,d,r))}})),t.moduleAugmentations.length){s=n.getTypeChecker();for(var _=0,g=t.moduleAugmentations;_<g.length;_++){var y=g[_];if(e.isStringLiteral(y)){var h=s.getSymbolAtLocation(y);h&&T(h)}}}for(var v=0,b=n.getTypeChecker().getAmbientModules();v<b.length;v++){var E=b[v];E.declarations.length>1&&T(E)}return o;function T(n){for(var r=0,a=n.declarations;r<a.length;r++){var i=a[r],o=e.getSourceFileOfNode(i);o&&o!==t&&S(o.resolvedPath)}}function S(n){(o||(o=new e.Set)).add(n)}}function s(e,n){return n&&!n.referencedMap==!e}function c(e,n){n.forEach((function(n,t){return l(e,n,t)}))}function l(e,n,t){e.fileInfos.get(t).signature=n,e.hasCalledUpdateShapeSignature.add(t)}function u(t,a,i,o,s,c,l){if(e.Debug.assert(!!i),e.Debug.assert(!l||!!t.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"),t.hasCalledUpdateShapeSignature.has(i.resolvedPath)||o.has(i.resolvedPath))return!1;var u=t.fileInfos.get(i.resolvedPath);if(!u)return e.Debug.fail();var d,p=u.signature;if(i.isDeclarationFile){if(d=i.version,l&&d!==p){var f=t.referencedMap?t.referencedMap.get(i.resolvedPath):void 0;l.set(i.resolvedPath,f||!1)}}else{var m=n(a,i,!0,s,void 0,!0),_=m.outputFiles&&a.getCompilerOptions().declarationMap?m.outputFiles.length>1?m.outputFiles[1]:void 0:m.outputFiles.length>0?m.outputFiles[0]:void 0;_?(e.Debug.assert(e.fileExtensionIs(_.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+e.getAnyExtensionFromPath(_.name)+" for "+_.name+":: All output files: "+JSON.stringify(m.outputFiles.map((function(e){return e.name})))})),d=c(_.text),l&&d!==p&&function(n,t,a){if(!t)return void a.set(n.resolvedPath,!1);var i;t.forEach((function(n){var t;(t=r(n))&&(i||(i=new e.Set),i.add(t))})),a.set(n.resolvedPath,i||!1)}(i,m.exportedModulesFromDeclarationEmit,l)):d=p}return o.set(i.resolvedPath,d),!p||d!==p}function d(n,t){if(!n.allFileNames){var r=t.getSourceFiles();n.allFileNames=r===e.emptyArray?e.emptyArray:r.map((function(e){return e.fileName}))}return n.allFileNames}function p(n,t){return e.arrayFrom(e.mapDefinedIterator(n.referencedMap.entries(),(function(e){var n=e[0];return e[1].has(t)?n:void 0})))}function f(n){return function(n){return e.some(n.moduleAugmentations,(function(n){return e.isGlobalScopeAugmentation(n.parent)}))}(n)||!e.isExternalModule(n)&&!function(n){for(var t=0,r=n.statements;t<r.length;t++){var a=r[t];if(!e.isModuleWithStringLiteralName(a))return!1}return!0}(n)}function m(n,t,r){if(n.allFilesExcludingDefaultLibraryFile)return n.allFilesExcludingDefaultLibraryFile;var a;r&&c(r);for(var i=0,o=t.getSourceFiles();i<o.length;i++){var s=o[i];s!==r&&c(s)}return n.allFilesExcludingDefaultLibraryFile=a||e.emptyArray,n.allFilesExcludingDefaultLibraryFile;function c(e){t.isSourceFileDefaultLibrary(e)||(a||(a=[])).push(e)}}function _(n,t,r){var a=t.getCompilerOptions();return a&&e.outFile(a)?[r]:m(n,t,r)}function g(n,t,r,a,i,o,s){if(f(r))return m(n,t,r);var c=t.getCompilerOptions();if(c&&(c.isolatedModules||e.outFile(c)))return[r];var l=new e.Map;l.set(r.resolvedPath,r);for(var d=p(n,r.resolvedPath);d.length>0;){var _=d.pop();if(!l.has(_)){var g=t.getSourceFileByPath(_);l.set(_,g),g&&u(n,t,g,a,i,o,s)&&d.push.apply(d,p(n,g.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(l.values(),(function(e){return e})))}t.canReuseOldState=s,t.create=function(n,t,r){var a=new e.Map,i=n.getCompilerOptions().module!==e.ModuleKind.None?new e.Map:void 0,c=i?new e.Map:void 0,l=new e.Set,u=s(i,r);n.getTypeChecker();for(var d=0,p=n.getSourceFiles();d<p.length;d++){var m=p[d],_=e.Debug.checkDefined(m.version,"Program intended to be used with Builder should have source files with versions set"),g=u?r.fileInfos.get(m.resolvedPath):void 0;if(i){var y=o(n,m,t);if(y&&i.set(m.resolvedPath,y),u){var h=r.exportedModulesMap.get(m.resolvedPath);h&&c.set(m.resolvedPath,h)}}a.set(m.resolvedPath,{version:_,signature:g&&g.signature,affectsGlobalScope:f(m)})}return{fileInfos:a,referencedMap:i,exportedModulesMap:c,hasCalledUpdateShapeSignature:l}},t.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},t.clone=function(n){return{fileInfos:new e.Map(n.fileInfos),referencedMap:n.referencedMap&&new e.Map(n.referencedMap),exportedModulesMap:n.exportedModulesMap&&new e.Map(n.exportedModulesMap),hasCalledUpdateShapeSignature:new e.Set(n.hasCalledUpdateShapeSignature)}},t.getFilesAffectedBy=function(n,t,r,a,i,o,s){var l=o||new e.Map,d=t.getSourceFileByPath(r);if(!d)return e.emptyArray;if(!u(n,t,d,l,a,i,s))return[d];var p=(n.referencedMap?g:_)(n,t,d,l,a,i,s);return o||c(n,l),p},t.updateSignaturesFromCache=c,t.updateSignatureOfFile=l,t.updateShapeSignature=u,t.updateExportedFilesMapFromCache=function(n,t){t&&(e.Debug.assert(!!n.exportedModulesMap),t.forEach((function(e,t){e?n.exportedModulesMap.set(t,e):n.exportedModulesMap.delete(t)})))},t.getAllDependencies=function(n,t,r){var a=t.getCompilerOptions();if(e.outFile(a))return d(n,t);if(!n.referencedMap||f(r))return d(n,t);for(var i=new e.Set,o=[r.resolvedPath];o.length;){var s=o.pop();if(!i.has(s)){i.add(s);var c=n.referencedMap.get(s);if(c)for(var l=c.keys(),u=l.next();!u.done;u=l.next())o.push(u.value)}}return e.arrayFrom(e.mapDefinedIterator(i.keys(),(function(e){var n,r;return null!==(r=null===(n=t.getSourceFileByPath(e))||void 0===n?void 0:n.fileName)&&void 0!==r?r:e})))},t.getReferencedByPaths=p,t.getAllFilesExcludingDefaultLibraryFile=m}(e.BuilderState||(e.BuilderState={}))}(p||(p={})),function(e){var n;function t(n,t,a){var i=e.BuilderState.create(n,t,a);i.program=n;var o=n.getCompilerOptions();i.compilerOptions=o,e.outFile(o)||(i.semanticDiagnosticsPerFile=new e.Map),i.changedFilesSet=new e.Set;var s=e.BuilderState.canReuseOldState(i.referencedMap,a),c=s?a.compilerOptions:void 0,l=s&&a.semanticDiagnosticsPerFile&&!!i.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(o,c);if(s){if(!a.currentChangedFilePath){var u=a.currentAffectedFilesSignatures;e.Debug.assert(!(a.affectedFiles||u&&u.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var d=a.changedFilesSet;l&&e.Debug.assert(!d||!e.forEachKey(d,(function(e){return a.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files"),null==d||d.forEach((function(e){return i.changedFilesSet.add(e)})),!e.outFile(o)&&a.affectedFilesPendingEmit&&(i.affectedFilesPendingEmit=a.affectedFilesPendingEmit.slice(),i.affectedFilesPendingEmitKind=a.affectedFilesPendingEmitKind&&new e.Map(a.affectedFilesPendingEmitKind),i.affectedFilesPendingEmitIndex=a.affectedFilesPendingEmitIndex,i.seenAffectedFiles=new e.Set)}var p=i.referencedMap,f=s?a.referencedMap:void 0,m=l&&!o.skipLibCheck==!c.skipLibCheck,_=m&&!o.skipDefaultLibCheck==!c.skipDefaultLibCheck;return i.fileInfos.forEach((function(o,c){var u,d,g,y;if(!s||!(u=a.fileInfos.get(c))||u.version!==o.version||(g=d=p&&p.get(c),y=f&&f.get(c),g!==y&&(void 0===g||void 0===y||g.size!==y.size||e.forEachKey(g,(function(e){return!y.has(e)}))))||d&&e.forEachKey(d,(function(e){return!i.fileInfos.has(e)&&a.fileInfos.has(e)})))i.changedFilesSet.add(c);else if(l){var h=n.getSourceFileByPath(c);if(h.isDeclarationFile&&!m)return;if(h.hasNoDefaultLib&&!_)return;var v=a.semanticDiagnosticsPerFile.get(c);v&&(i.semanticDiagnosticsPerFile.set(c,a.hasReusableDiagnostic?function(n,t,a){if(!n.length)return e.emptyArray;var i=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.getCompilerOptions()),t.getCurrentDirectory()));return n.map((function(n){var a=r(n,t,o);a.reportsUnnecessary=n.reportsUnnecessary,a.reportsDeprecated=n.reportDeprecated,a.source=n.source,a.skippedOn=n.skippedOn;var i=n.relatedInformation;return a.relatedInformation=i?i.length?i.map((function(e){return r(e,t,o)})):e.emptyArray:void 0,a}));function o(n){return e.toPath(n,i,a)}}(v,n,t):v),i.semanticDiagnosticsFromOldState||(i.semanticDiagnosticsFromOldState=new e.Set),i.semanticDiagnosticsFromOldState.add(c))}})),s&&e.forEachEntry(a.fileInfos,(function(e,n){return e.affectsGlobalScope&&!i.fileInfos.has(n)}))?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(i,n,void 0).forEach((function(e){return i.changedFilesSet.add(e.resolvedPath)})):c&&!e.outFile(o)&&e.compilerOptionsAffectEmit(o,c)&&(n.getSourceFiles().forEach((function(e){return v(i,e.resolvedPath,1)})),e.Debug.assert(!i.seenAffectedFiles||!i.seenAffectedFiles.size),i.seenAffectedFiles=i.seenAffectedFiles||new e.Set),i.buildInfoEmitPending=!!i.changedFilesSet.size,i}function r(e,n,t){var r=e.file;return s(s({},e),{file:r?n.getSourceFileByPath(t(r)):void 0})}function a(n,t){e.Debug.assert(!t||!n.affectedFiles||n.affectedFiles[n.affectedFilesIndex-1]!==t||!n.semanticDiagnosticsPerFile.has(t.resolvedPath))}function i(n,t,r){for(;;){var a=n.affectedFiles;if(a){for(var i=n.seenAffectedFiles,s=n.affectedFilesIndex;s<a.length;){var c=a[s];if(!i.has(c.resolvedPath))return n.affectedFilesIndex=s,o(n,c,t,r),c;s++}n.changedFilesSet.delete(n.currentChangedFilePath),n.currentChangedFilePath=void 0,e.BuilderState.updateSignaturesFromCache(n,n.currentAffectedFilesSignatures),n.currentAffectedFilesSignatures.clear(),e.BuilderState.updateExportedFilesMapFromCache(n,n.currentAffectedFilesExportedModulesMap),n.affectedFiles=void 0}var l=n.changedFilesSet.keys().next();if(l.done)return;var u=e.Debug.checkDefined(n.program),d=u.getCompilerOptions();if(e.outFile(d))return e.Debug.assert(!n.semanticDiagnosticsPerFile),u;n.currentAffectedFilesSignatures||(n.currentAffectedFilesSignatures=new e.Map),n.exportedModulesMap&&(n.currentAffectedFilesExportedModulesMap||(n.currentAffectedFilesExportedModulesMap=new e.Map)),n.affectedFiles=e.BuilderState.getFilesAffectedBy(n,u,l.value,t,r,n.currentAffectedFilesSignatures,n.currentAffectedFilesExportedModulesMap),n.currentChangedFilePath=l.value,n.affectedFilesIndex=0,n.seenAffectedFiles||(n.seenAffectedFiles=new e.Set)}}function o(n,t,r,a){if(c(n,t.resolvedPath),n.allFilesExcludingDefaultLibraryFile!==n.affectedFiles)n.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(n,t,r){if(!n.exportedModulesMap||!n.changedFilesSet.has(t.resolvedPath))return;if(!l(n,t.resolvedPath))return;if(n.compilerOptions.isolatedModules){var a=new e.Map;a.set(t.resolvedPath,!0);for(var i=e.BuilderState.getReferencedByPaths(n,t.resolvedPath);i.length>0;){var o=i.pop();if(!a.has(o))if(a.set(o,!0),r(n,o)&&l(n,o)){var s=e.Debug.checkDefined(n.program).getSourceFileByPath(o);i.push.apply(i,e.BuilderState.getReferencedByPaths(n,s.resolvedPath))}}}e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap);var c=new e.Set;if(e.forEachEntry(n.currentAffectedFilesExportedModulesMap,(function(e,a){return e&&e.has(t.resolvedPath)&&u(n,a,c,r)})))return;e.forEachEntry(n.exportedModulesMap,(function(e,a){return!n.currentAffectedFilesExportedModulesMap.has(a)&&e.has(t.resolvedPath)&&u(n,a,c,r)}))}(n,t,(function(n,t){return function(n,t,r,a){if(c(n,t),!n.changedFilesSet.has(t)){var i=e.Debug.checkDefined(n.program),o=i.getSourceFileByPath(t);o&&(e.BuilderState.updateShapeSignature(n,i,o,e.Debug.checkDefined(n.currentAffectedFilesSignatures),r,a,n.currentAffectedFilesExportedModulesMap),e.getEmitDeclarations(n.compilerOptions)&&v(n,t,0))}return!1}(n,t,r,a)}));else if(!n.cleanedDiagnosticsOfLibFiles){n.cleanedDiagnosticsOfLibFiles=!0;var i=e.Debug.checkDefined(n.program),o=i.getCompilerOptions();e.forEach(i.getSourceFiles(),(function(t){return i.isSourceFileDefaultLibrary(t)&&!e.skipTypeChecking(t,o,i)&&c(n,t.resolvedPath)}))}}function c(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function l(n,t){return e.Debug.checkDefined(n.currentAffectedFilesSignatures).get(t)!==e.Debug.checkDefined(n.fileInfos.get(t)).signature}function u(n,t,r,a){return e.forEachEntry(n.referencedMap,(function(i,o){return i.has(t)&&function n(t,r,a,i){if(!e.tryAddToSet(a,r))return!1;if(i(t,r))return!0;if(e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap),e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,o){return e&&e.has(r)&&n(t,o,a,i)})))return!0;if(e.forEachEntry(t.exportedModulesMap,(function(e,o){return!t.currentAffectedFilesExportedModulesMap.has(o)&&e.has(r)&&n(t,o,a,i)})))return!0;return!!e.forEachEntry(t.referencedMap,(function(e,n){return e.has(r)&&!a.has(n)&&i(t,n)}))}(n,o,r,a)}))}function d(n,t,r,a,i){i?n.buildInfoEmitPending=!1:t===n.program?(n.changedFilesSet.clear(),n.programEmitComplete=!0):(n.seenAffectedFiles.add(t.resolvedPath),void 0!==r&&(n.seenEmittedFiles||(n.seenEmittedFiles=new e.Map)).set(t.resolvedPath,r),a?(n.affectedFilesPendingEmitIndex++,n.buildInfoEmitPending=!0):n.affectedFilesIndex++)}function p(e,n,t){return d(e,t),{result:n,affected:t}}function f(e,n,t,r,a,i){return d(e,t,r,a,i),{result:n,affected:t}}function m(n,t,r){return e.concatenate(function(n,t,r){var a=t.resolvedPath;if(n.semanticDiagnosticsPerFile){var i=n.semanticDiagnosticsPerFile.get(a);if(i)return e.filterSemanticDiagnotics(i,n.compilerOptions)}var o=e.Debug.checkDefined(n.program).getBindAndCheckDiagnostics(t,r);n.semanticDiagnosticsPerFile&&n.semanticDiagnosticsPerFile.set(a,o);return e.filterSemanticDiagnotics(o,n.compilerOptions)}(n,t,r),e.Debug.checkDefined(n.program).getProgramDiagnostics(t))}function _(n,t){var r={},a=e.getOptionsNameMap().optionsNameMap;for(var i in n)e.hasProperty(n,i)&&(r[i]=g(a.get(i.toLowerCase()),n[i],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r}function g(e,n,t){if(e)if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function y(n,t){return e.Debug.assert(!!n.length),n.map((function(n){var r=h(n,t);r.reportsUnnecessary=n.reportsUnnecessary,r.reportDeprecated=n.reportsDeprecated,r.source=n.source,r.skippedOn=n.skippedOn;var a=n.relatedInformation;return r.relatedInformation=a?a.length?a.map((function(e){return h(e,t)})):e.emptyArray:void 0,r}))}function h(e,n){var t=e.file;return s(s({},e),{file:t?n(t.resolvedPath):void 0})}function v(n,t,r){n.affectedFilesPendingEmit||(n.affectedFilesPendingEmit=[]),n.affectedFilesPendingEmitKind||(n.affectedFilesPendingEmitKind=new e.Map);var a=n.affectedFilesPendingEmitKind.get(t);n.affectedFilesPendingEmit.push(t),n.affectedFilesPendingEmitKind.set(t,a||r),void 0===n.affectedFilesPendingEmitIndex&&(n.affectedFilesPendingEmitIndex=0)}function b(n,t){if(n){var r=new e.Map;for(var a in n)e.hasProperty(n,a)&&r.set(t(a),new e.Set(n[a].map(t)));return r}}function E(n,t){return{getState:e.notImplemented,backupState:e.noop,restoreState:e.noop,getProgram:r,getProgramOrUndefined:function(){return n.program},releaseProgram:function(){return n.program=void 0},getCompilerOptions:function(){return n.compilerOptions},getSourceFile:function(e){return r().getSourceFile(e)},getSourceFiles:function(){return r().getSourceFiles()},getOptionsDiagnostics:function(e){return r().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return r().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return t},getSyntacticDiagnostics:function(e,n){return r().getSyntacticDiagnostics(e,n)},getDeclarationDiagnostics:function(e,n){return r().getDeclarationDiagnostics(e,n)},getSemanticDiagnostics:function(e,n){return r().getSemanticDiagnostics(e,n)},emit:function(e,n,t,a,i){return r().emit(e,n,t,a,i)},emitBuildInfo:function(e,n){return r().emitBuildInfo(e,n)},getAllDependencies:e.notImplemented,getCurrentDirectory:function(){return r().getCurrentDirectory()},close:e.noop};function r(){return e.Debug.checkDefined(n.program)}}!function(e){e[e.DtsOnly=0]="DtsOnly",e[e.Full=1]="Full"}(e.BuilderFileEmit||(e.BuilderFileEmit={})),function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(n=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(n,t,r,a,i,o){var s,c,l;return void 0===n?(e.Debug.assert(void 0===t),s=r,l=a,e.Debug.assert(!!l),c=l.getProgram()):e.isArray(n)?(l=a,c=e.createProgram({rootNames:n,options:t,host:r,oldProgram:l&&l.getProgramOrUndefined(),configFileParsingDiagnostics:i,projectReferences:o}),s=r):(c=n,s=t,l=r,i=a),{host:s,newProgram:c,oldProgram:l,configFileParsingDiagnostics:i||e.emptyArray}},e.createBuilderProgram=function(r,o){var s=o.newProgram,c=o.host,l=o.oldProgram,u=o.configFileParsingDiagnostics,g=l&&l.getState();if(g&&s===g.program&&u===s.getConfigFileParsingDiagnostics())return s=void 0,g=void 0,l;var h,b=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),T=c.createHash||e.generateDjb2Hash,S=t(s,b,g);s.getProgramBuildInfo=function(){return function(n,t){if(!e.outFile(n.compilerOptions)){var r=e.Debug.checkDefined(n.program).getCurrentDirectory(),a=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(n.compilerOptions),r)),i={};n.fileInfos.forEach((function(e,t){var r=n.currentAffectedFilesSignatures&&n.currentAffectedFilesSignatures.get(t);i[A(t)]=void 0===r?e:{version:e.version,signature:r,affectsGlobalScope:e.affectsGlobalScope}}));var o={fileInfos:i,options:_(n.compilerOptions,(function(n){return A(e.getNormalizedAbsolutePath(n,r))}))};if(n.referencedMap){for(var s={},c=0,l=e.arrayFrom(n.referencedMap.keys()).sort(e.compareStringsCaseSensitive);c<l.length;c++){s[A(f=l[c])]=e.arrayFrom(n.referencedMap.get(f).keys(),A).sort(e.compareStringsCaseSensitive)}o.referencedMap=s}if(n.exportedModulesMap){for(var u={},d=0,p=e.arrayFrom(n.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive);d<p.length;d++){var f=p[d],m=n.currentAffectedFilesExportedModulesMap&&n.currentAffectedFilesExportedModulesMap.get(f);void 0===m?u[A(f)]=e.arrayFrom(n.exportedModulesMap.get(f).keys(),A).sort(e.compareStringsCaseSensitive):m&&(u[A(f)]=e.arrayFrom(m.keys(),A).sort(e.compareStringsCaseSensitive))}o.exportedModulesMap=u}if(n.semanticDiagnosticsPerFile){for(var g=[],h=0,v=e.arrayFrom(n.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);h<v.length;h++){f=v[h];var b=n.semanticDiagnosticsPerFile.get(f);g.push(b.length?[A(f),n.hasReusableDiagnostic?b:y(b,A)]:A(f))}o.semanticDiagnosticsPerFile=g}if(n.affectedFilesPendingEmit){for(var E=[],T=new e.Set,S=0,L=n.affectedFilesPendingEmit.slice(n.affectedFilesPendingEmitIndex).sort(e.compareStringsCaseSensitive);S<L.length;S++){var x=L[S];e.tryAddToSet(T,x)&&E.push([A(x),n.affectedFilesPendingEmitKind.get(x)])}o.affectedFilesPendingEmit=E}return o}function A(n){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(a,n,t))}}(S,b)},s=void 0,l=void 0,g=void 0;var L=E(S,u);return L.getState=function(){return S},L.backupState=function(){e.Debug.assert(void 0===h),h=function(n){var t=e.BuilderState.clone(n);return t.semanticDiagnosticsPerFile=n.semanticDiagnosticsPerFile&&new e.Map(n.semanticDiagnosticsPerFile),t.changedFilesSet=new e.Set(n.changedFilesSet),t.affectedFiles=n.affectedFiles,t.affectedFilesIndex=n.affectedFilesIndex,t.currentChangedFilePath=n.currentChangedFilePath,t.currentAffectedFilesSignatures=n.currentAffectedFilesSignatures&&new e.Map(n.currentAffectedFilesSignatures),t.currentAffectedFilesExportedModulesMap=n.currentAffectedFilesExportedModulesMap&&new e.Map(n.currentAffectedFilesExportedModulesMap),t.seenAffectedFiles=n.seenAffectedFiles&&new e.Set(n.seenAffectedFiles),t.cleanedDiagnosticsOfLibFiles=n.cleanedDiagnosticsOfLibFiles,t.semanticDiagnosticsFromOldState=n.semanticDiagnosticsFromOldState&&new e.Set(n.semanticDiagnosticsFromOldState),t.program=n.program,t.compilerOptions=n.compilerOptions,t.affectedFilesPendingEmit=n.affectedFilesPendingEmit&&n.affectedFilesPendingEmit.slice(),t.affectedFilesPendingEmitKind=n.affectedFilesPendingEmitKind&&new e.Map(n.affectedFilesPendingEmitKind),t.affectedFilesPendingEmitIndex=n.affectedFilesPendingEmitIndex,t.seenEmittedFiles=n.seenEmittedFiles&&new e.Map(n.seenEmittedFiles),t.programEmitComplete=n.programEmitComplete,t}(S)},L.restoreState=function(){S=e.Debug.checkDefined(h),h=void 0},L.getAllDependencies=function(n){return e.BuilderState.getAllDependencies(S,e.Debug.checkDefined(S.program),n)},L.getSemanticDiagnostics=function(n,t){a(S,n);var r,i=e.Debug.checkDefined(S.program).getCompilerOptions();if(e.outFile(i))return e.Debug.assert(!S.semanticDiagnosticsPerFile),e.Debug.checkDefined(S.program).getSemanticDiagnostics(n,t);if(n)return m(S,n,t);for(;A(t););for(var o=0,s=e.Debug.checkDefined(S.program).getSourceFiles();o<s.length;o++){var c=s[o];r=e.addRange(r,m(S,c,t))}return r||e.emptyArray},L.emit=function(t,i,o,s,l){if(r===n.EmitAndSemanticDiagnosticsBuilderProgram){a(S,t);var u=e.handleNoEmitOptions(L,t,i,o);if(u)return u;if(!t){for(var d=[],p=!1,f=void 0,m=[],_=void 0;_=x(i,o,s,l);)p=p||_.result.emitSkipped,f=e.addRange(f,_.result.diagnostics),m=e.addRange(m,_.result.emittedFiles),d=e.addRange(d,_.result.sourceMaps);return{emitSkipped:p,diagnostics:f||e.emptyArray,emittedFiles:m,sourceMaps:d}}}return e.Debug.checkDefined(S.program).emit(t,i||e.maybeBind(c,c.writeFile),o,s,l)},L.releaseProgram=function(){!function(n){e.BuilderState.releaseCache(n),n.program=void 0}(S),h=void 0},r===n.SemanticDiagnosticsBuilderProgram?L.getSemanticDiagnosticsOfNextAffectedFile=A:r===n.EmitAndSemanticDiagnosticsBuilderProgram?(L.getSemanticDiagnosticsOfNextAffectedFile=A,L.emitNextAffectedFile=x,L.emitBuildInfo=function(n,t){if(S.buildInfoEmitPending){var r=e.Debug.checkDefined(S.program).emitBuildInfo(n||e.maybeBind(c,c.writeFile),t);return S.buildInfoEmitPending=!1,r}return e.emitSkippedWithNoDiagnostics}):e.notImplemented(),L;function x(n,t,r,a){var o=i(S,t,T),s=1,l=!1;if(!o)if(e.outFile(S.compilerOptions)){var u=e.Debug.checkDefined(S.program);if(S.programEmitComplete)return;o=u}else{var d=function(n){var t=n.affectedFilesPendingEmit;if(t){for(var r=n.seenEmittedFiles||(n.seenEmittedFiles=new e.Map),a=n.affectedFilesPendingEmitIndex;a<t.length;a++){var i=e.Debug.checkDefined(n.program).getSourceFileByPath(t[a]);if(i){var o=r.get(i.resolvedPath),s=e.Debug.checkDefined(e.Debug.checkDefined(n.affectedFilesPendingEmitKind).get(i.resolvedPath));if(void 0===o||o<s)return n.affectedFilesPendingEmitIndex=a,{affectedFile:i,emitKind:s}}}n.affectedFilesPendingEmit=void 0,n.affectedFilesPendingEmitKind=void 0,n.affectedFilesPendingEmitIndex=void 0}}(S);if(!d){if(!S.buildInfoEmitPending)return;var p=e.Debug.checkDefined(S.program);return f(S,p.emitBuildInfo(n||e.maybeBind(c,c.writeFile),t),p,1,!1,!0)}o=d.affectedFile,s=d.emitKind,l=!0}return f(S,e.Debug.checkDefined(S.program).emit(o===S.program?void 0:o,n||e.maybeBind(c,c.writeFile),t,r||0===s,a),o,s,l)}function A(e,t){for(;;){var a=i(S,e,T);if(!a)return;if(a===S.program)return p(S,S.program.getSemanticDiagnostics(void 0,e),a);if(r===n.EmitAndSemanticDiagnosticsBuilderProgram&&v(S,a.resolvedPath,1),!t||!t(a))return p(S,m(S,a,e),a);d(S,a)}}},e.createBuildProgramUsingProgramBuildInfo=function(n,t,r){var a=e.getDirectoryPath(e.getNormalizedAbsolutePath(t,r.getCurrentDirectory())),i=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames()),o=new e.Map;for(var s in n.fileInfos)e.hasProperty(n.fileInfos,s)&&o.set(l(s),n.fileInfos[s]);var c={fileInfos:o,compilerOptions:e.convertToOptionsWithAbsolutePaths(n.options,(function(n){return e.getNormalizedAbsolutePath(n,a)})),referencedMap:b(n.referencedMap,l),exportedModulesMap:b(n.exportedModulesMap,l),semanticDiagnosticsPerFile:n.semanticDiagnosticsPerFile&&e.arrayToMap(n.semanticDiagnosticsPerFile,(function(n){return l(e.isString(n)?n:n[0])}),(function(n){return e.isString(n)?e.emptyArray:n[1]})),hasReusableDiagnostic:!0,affectedFilesPendingEmit:e.map(n.affectedFilesPendingEmit,(function(e){return l(e[0])})),affectedFilesPendingEmitKind:n.affectedFilesPendingEmit&&e.arrayToMap(n.affectedFilesPendingEmit,(function(e){return l(e[0])}),(function(e){return e[1]})),affectedFilesPendingEmitIndex:n.affectedFilesPendingEmit&&0};return{getState:function(){return c},backupState:e.noop,restoreState:e.noop,getProgram:e.notImplemented,getProgramOrUndefined:e.returnUndefined,releaseProgram:e.noop,getCompilerOptions:function(){return c.compilerOptions},getSourceFile:e.notImplemented,getSourceFiles:e.notImplemented,getOptionsDiagnostics:e.notImplemented,getGlobalDiagnostics:e.notImplemented,getConfigFileParsingDiagnostics:e.notImplemented,getSyntacticDiagnostics:e.notImplemented,getDeclarationDiagnostics:e.notImplemented,getSemanticDiagnostics:e.notImplemented,emit:e.notImplemented,getAllDependencies:e.notImplemented,getCurrentDirectory:e.notImplemented,emitNextAffectedFile:e.notImplemented,getSemanticDiagnosticsOfNextAffectedFile:e.notImplemented,emitBuildInfo:e.notImplemented,close:e.noop};function l(n){return e.toPath(n,a,i)}},e.createRedirectedBuilderProgram=E}(p||(p={})),function(e){e.createSemanticDiagnosticsBuilderProgram=function(n,t,r,a,i,o){return e.createBuilderProgram(e.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(n,t,r,a,i,o))},e.createEmitAndSemanticDiagnosticsBuilderProgram=function(n,t,r,a,i,o){return e.createBuilderProgram(e.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(n,t,r,a,i,o))},e.createAbstractBuilder=function(n,t,r,a,i,o){var s=e.getBuilderCreationParameters(n,t,r,a,i,o),c=s.newProgram,l=s.configFileParsingDiagnostics;return e.createRedirectedBuilderProgram({program:c,compilerOptions:c.getCompilerOptions()},l)}}(p||(p={})),function(e){function n(n){return e.endsWith(n,"/node_modules/.staging")?e.removeSuffix(n,"/.staging"):e.some(e.ignoredPaths,(function(t){return e.stringContains(n,t)}))?void 0:n}function t(n){var t=e.getRootLength(n);if(n.length===t)return!1;var r=n.indexOf(e.directorySeparator,t);if(-1===r)return!1;var a=n.substring(t,r+1),i=t>1||47!==n.charCodeAt(0);if(i&&0!==n.search(/[a-zA-Z]:/)&&0===a.search(/[a-zA-z]\$\//)){if(-1===(r=n.indexOf(e.directorySeparator,r+1)))return!1;a=n.substring(t+a.length,r+1)}if(i&&0!==a.search(/users\//i))return!0;for(var o=r+1,s=2;s>0;s--)if(0===(o=n.indexOf(e.directorySeparator,o)+1))return!1;return!0}e.removeIgnoredPath=n,e.canWatchDirectory=t,e.createResolutionCache=function(r,a,i){var o,s,c,l=e.createMultiMap(),u=[],d=e.createMultiMap(),p=!1,f=[],m=[],_=[],g=e.memoize((function(){return r.getCurrentDirectory()})),y=r.getCachedDirectoryStructureHost(),h=new e.Map,v=e.createCacheWithRedirects(),b=e.createCacheWithRedirects(),E=e.createModuleResolutionCacheWithMaps(v,b,g(),r.getCanonicalFileName),T=new e.Map,S=e.createCacheWithRedirects(),L=[".ts",".tsx",".js",".jsx",".json"],x=new e.Map,A=new e.Map,D=a&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(a,g())),C=D&&r.toPath(D),I=void 0!==C?C.split(e.directorySeparator).length:0,N=new e.Map;return{startRecordingFilesWithChangedResolutions:function(){o=[]},finishRecordingFilesWithChangedResolutions:function(){var e=o;return o=void 0,e},startCachingPerDirectoryResolution:M,finishCachingPerDirectoryResolution:function(){c=void 0,M(),A.forEach((function(e,n){0===e.refCount&&(A.delete(n),e.watcher.close())})),p=!1},resolveModuleNames:function(n,t,r,a){return F({names:n,containingFile:t,redirectedReference:a,cache:h,perDirectoryCacheWithRedirects:v,loader:w,getResolutionWithResolvedFileName:R,shouldRetryResolution:function(n){return!n.resolvedModule||!e.resolutionExtensionIsTSOrJson(n.resolvedModule.extension)},reusedNames:r,logChanges:i})},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,n){var t=h.get(r.toPath(n));return t&&t.get(e)},resolveTypeReferenceDirectives:function(n,t,r){return F({names:n,containingFile:t,redirectedReference:r,cache:T,perDirectoryCacheWithRedirects:S,loader:e.resolveTypeReferenceDirective,getResolutionWithResolvedFileName:k,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective}})},removeResolutionsFromProjectReferenceRedirects:function(n){if(!e.fileExtensionIs(n,".json"))return;var t=r.getCurrentProgram();if(!t)return;var a=t.getResolvedProjectReferenceByPath(n);if(!a)return;a.commandLine.fileNames.forEach((function(e){return Y(r.toPath(e))}))},removeResolutionsOfFile:Y,hasChangedAutomaticTypeDirectiveNames:function(){return p},invalidateResolutionOfFile:function(n){Y(n);var t=p;Q(d.get(n),e.returnTrue)&&p&&!t&&r.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:$,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(n){e.Debug.assert(c===n||void 0===c),c=n},createHasInvalidatedResolution:function(n){if($(),n)return s=void 0,e.returnTrue;var t=s;return s=void 0,function(e){return!!t&&t.has(e)||P(e)}},updateTypeRootsWatch:function(){var n=r.getCompilationSettings();if(n.types)return void ne();var t=e.getEffectiveTypeRoots(n,{directoryExists:re,getCurrentDirectory:g});t?e.mutateMap(N,e.arrayToMap(t,(function(e){return r.toPath(e)})),{createNewValue:te,onDeleteValue:e.closeFileWatcher}):ne()},closeTypeRootsWatch:ne,clear:function(){e.clearMap(A,e.closeFileWatcherOf),x.clear(),l.clear(),ne(),h.clear(),T.clear(),d.clear(),u.length=0,f.length=0,m.length=0,_.length=0,M(),p=!1}};function R(e){return e.resolvedModule}function k(e){return e.resolvedTypeReferenceDirective}function O(n,t){return!(void 0===n||t.length<=n.length)&&(e.startsWith(t,n)&&t[n.length]===e.directorySeparator)}function P(e){if(!c)return!1;var n=c.get(e);return!!n&&!!n.length}function M(){v.clear(),b.clear(),S.clear(),l.forEach(H),l.clear()}function w(n,t,a,i,o){var s,c=e.resolveModuleName(n,t,a,i,E,o);if(!r.getGlobalCache)return c;var l=r.getGlobalCache();if(!(void 0===l||e.isExternalModuleNameRelative(n)||c.resolvedModule&&e.extensionIsTS(c.resolvedModule.extension))){var u=e.loadModuleFromGlobalCache(e.Debug.checkDefined(r.globalCacheResolutionModuleName)(n),r.projectName,a,i,l),d=u.resolvedModule,p=u.failedLookupLocations;if(d)return c.resolvedModule=d,(s=c.failedLookupLocations).push.apply(s,p),c}return c}function F(n){var t,a=n.names,i=n.containingFile,s=n.redirectedReference,c=n.cache,l=n.perDirectoryCacheWithRedirects,u=n.loader,d=n.getResolutionWithResolvedFileName,p=n.shouldRetryResolution,f=n.reusedNames,m=n.logChanges,_=r.toPath(i),g=c.get(_)||c.set(_,new e.Map).get(_),y=e.getDirectoryPath(_),h=l.getOrCreateMapOfCacheRedirects(s),v=h.get(y);v||(v=new e.Map,h.set(y,v));for(var b=[],E=r.getCompilationSettings(),T=m&&P(_),S=r.getCurrentProgram(),L=S&&S.getResolvedProjectReferenceToRedirect(i),x=L?!s||s.sourceFile.path!==L.sourceFile.path:!!s,A=new e.Map,D=0,C=a;D<C.length;D++){var I=C[D],N=g.get(I);if(!A.has(I)&&x||!N||N.isInvalidated||T&&!e.isExternalModuleNameRelative(I)&&p(N)){var R=N,k=v.get(I);k?N=k:(N=u(I,i,E,(null===(t=r.getCompilerHost)||void 0===t?void 0:t.call(r))||r,s),v.set(I,N)),g.set(I,N),j(I,N,_,d),R&&q(R,_,d),m&&o&&!O(R,N)&&(o.push(_),m=!1)}e.Debug.assert(void 0!==N&&!N.isInvalidated),A.set(I,!0),b.push(d(N))}return g.forEach((function(n,t){A.has(t)||e.contains(f,t)||(q(n,_,d),g.delete(t))})),b;function O(e,n){if(e===n)return!0;if(!e||!n)return!1;var t=d(e),r=d(n);return t===r||!(!t||!r)&&t.resolvedFileName===r.resolvedFileName}}function G(n){return e.endsWith(n,"/node_modules/@types")}function B(n,t){if(O(C,t)){n=e.isRootedDiskPath(n)?e.normalizePath(n):e.getNormalizedAbsolutePath(n,g());var r=t.split(e.directorySeparator),a=n.split(e.directorySeparator);return e.Debug.assert(a.length===r.length,"FailedLookup: "+n+" failedLookupLocationPath: "+t),r.length>I+1?{dir:a.slice(0,I+1).join(e.directorySeparator),dirPath:r.slice(0,I+1).join(e.directorySeparator)}:{dir:D,dirPath:C,nonRecursive:!1}}return U(e.getDirectoryPath(e.getNormalizedAbsolutePath(n,g())),e.getDirectoryPath(t))}function U(n,r){for(;e.pathContainsNodeModules(r);)n=e.getDirectoryPath(n),r=e.getDirectoryPath(r);if(e.isNodeModulesDirectory(r))return t(e.getDirectoryPath(r))?{dir:n,dirPath:r}:void 0;var a,i,o=!0;if(void 0!==C)for(;!O(r,C);){var s=e.getDirectoryPath(r);if(s===r)break;o=!1,a=r,i=n,r=s,n=e.getDirectoryPath(n)}return t(r)?{dir:i||n,dirPath:a||r,nonRecursive:o}:void 0}function V(n){return e.fileExtensionIsOneOf(n,L)}function j(n,t,a,i){if(t.refCount)t.refCount++,e.Debug.assertDefined(t.files);else{t.refCount=1,e.Debug.assert(0===e.length(t.files)),e.isExternalModuleNameRelative(n)?K(t):l.add(n,t);var o=i(t);o&&o.resolvedFileName&&d.add(r.toPath(o.resolvedFileName),t)}(t.files||(t.files=[])).push(a)}function K(n){e.Debug.assert(!!n.refCount);var t=n.failedLookupLocations;if(t.length){u.push(n);for(var a=!1,i=0,o=t;i<o.length;i++){var s=o[i],c=r.toPath(s),l=B(s,c);if(l){var d=l.dir,p=l.dirPath,f=l.nonRecursive;if(!V(c)){var m=x.get(c)||0;x.set(c,m+1)}p===C?(e.Debug.assert(!f),a=!0):W(d,p,f)}}a&&W(D,C,!0)}}function H(e,n){var t=r.getCurrentProgram();t&&t.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(n)||e.forEach(K)}function W(n,t,r){var a=A.get(t);a?(e.Debug.assert(!!r==!!a.nonRecursive),a.refCount++):A.set(t,{watcher:J(n,t,r),refCount:1,nonRecursive:r})}function q(n,t,a){if(e.unorderedRemoveItem(e.Debug.assertDefined(n.files),t),n.refCount--,!n.refCount){var i=a(n);if(i&&i.resolvedFileName&&d.remove(r.toPath(i.resolvedFileName),n),e.unorderedRemoveItem(u,n)){for(var o=!1,s=0,c=n.failedLookupLocations;s<c.length;s++){var l=c[s],p=r.toPath(l),f=B(l,p);if(f){var m=f.dirPath,_=x.get(p);_&&(1===_?x.delete(p):(e.Debug.assert(_>1),x.set(p,_-1))),m===C?o=!0:z(m)}}o&&z(C)}}}function z(e){A.get(e).refCount--}function J(e,n,t){return r.watchDirectoryOfFailedLookupLocation(e,(function(e){var t=r.toPath(e);y&&y.addOrDeleteFileOrDirectory(e,t),Z(t,n===t)}),t?0:1)}function X(e,n,t){var r=e.get(n);r&&(r.forEach((function(e){return q(e,n,t)})),e.delete(n))}function Y(e){X(h,e,R),X(T,e,k)}function Q(n,t){if(!n)return!1;for(var r=!1,a=0,i=n;a<i.length;a++){var o=i[a];if(!o.isInvalidated&&t(o)){o.isInvalidated=r=!0;for(var c=0,l=e.Debug.assertDefined(o.files);c<l.length;c++){var u=l[c];(s||(s=new e.Set)).add(u),p=p||e.endsWith(u,e.inferredTypesContainingFile)}}}return r}function Z(t,a){if(a)_.push(t);else{var i=n(t);if(!i)return!1;if(t=i,r.fileIsOpen(t))return!1;var o=e.getDirectoryPath(t);if(G(t)||e.isNodeModulesDirectory(t)||G(o)||e.isNodeModulesDirectory(o))f.push(t),m.push(t);else{if(!V(t)&&!x.has(t))return!1;if(e.isEmittedFileOfProgram(r.getCurrentProgram(),t))return!1;f.push(t)}}r.scheduleInvalidateResolutionsOfFailedLookupLocations()}function $(){if(!f.length&&!m.length&&!_.length)return!1;var e=Q(u,ee);return f.length=0,m.length=0,_.length=0,e}function ee(n){return n.failedLookupLocations.some((function(n){var t=r.toPath(n);return e.contains(f,t)||m.some((function(n){return e.startsWith(t,n)}))||_.some((function(e){return O(e,t)}))}))}function ne(){e.clearMap(N,e.closeFileWatcher)}function te(e,n){return r.watchTypeRootsDirectory(n,(function(t){var a=r.toPath(t);y&&y.addOrDeleteFileOrDirectory(t,a),p=!0,r.onChangedAutomaticTypeDirectiveNames();var i=function(e,n){if(O(C,n))return C;var t=U(e,n);return t&&A.has(t.dirPath)?t.dirPath:void 0}(n,e);i&&Z(a,i===a)}),1)}function re(n){var a=e.getDirectoryPath(e.getDirectoryPath(n)),i=r.toPath(a);return i===C||t(i)}}}(p||(p={})),function(e){!function(n){var t,r;function a(n,t,r){var a=n.importModuleSpecifierPreference,i=n.importModuleSpecifierEnding;return{relativePreference:"relative"===a?0:"non-relative"===a?1:2,ending:function(){switch(i){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(n){var t=n.imports;return e.firstDefined(t,(function(n){var t=n.text;return e.pathIsRelative(t)?e.hasJSFileExtension(t):void 0}))||!1}(r)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function i(n,t,r,a,i){var o=s(t,a),l=f(t,r,a);return e.firstDefined(l,(function(e){return _(e,o,a,n)}))||c(r,o,n,i)}function s(n,t){return{getCanonicalFileName:e.createGetCanonicalFileName(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),sourceDirectory:e.getDirectoryPath(n)}}function c(n,t,r,a){var i=t.getCanonicalFileName,o=t.sourceDirectory,s=a.ending,c=a.relativePreference,u=r.baseUrl,d=r.paths,p=r.rootDirs,f=p&&function(n,t,r,a,i,o){var s=g(t,n,a);if(void 0===s)return;var c=g(r,n,a),l=void 0!==c?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,a)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?y(l,i,o):e.removeFileExtension(l)}(p,n,o,i,s,r)||y(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,n,i)),s,r);if(!u||0===c)return f;var _=h(n,u,i);if(!_)return f;var b=y(_,s,r),E=d&&m(e.removeFileExtension(_),b,d),T=void 0===E?b:E;return 1===c?T:(2!==c&&e.Debug.assertNever(c),v(T)||l(f)<l(T)?f:T)}function l(n){for(var t=0,r=e.startsWith(n,"./")?2:0;r<n.length;r++)47===n.charCodeAt(r)&&t++;return t}function u(e){var n=e.match(/\//g);return n?n.length:0}function d(n,t){return e.compareValues(u(n),u(t))}function p(n,t,r,a,i){var s=e.hostGetCanonicalFileName(r),c=r.getCurrentDirectory(),l=r.isSourceOfProjectReferenceRedirect(t)?r.getProjectReferenceRedirect(t):void 0,u=r.redirectTargetsMap.get(e.toPath(t,c,s))||e.emptyArray,d=o(l?[l]:e.emptyArray,[t],u).map((function(n){return e.getNormalizedAbsolutePath(n,c)}));if(!a){var p=e.forEach(d,i);if(p)return p}var f=(r.getSymlinkCache?r.getSymlinkCache():e.discoverProbableSymlinks(r.getSourceFiles(),s,c)).getSymlinkedDirectories(),m=!r.useCaseSensitiveFileNames||r.useCaseSensitiveFileNames()?e.compareStringsCaseSensitive:e.compareStringsCaseInsensitive;return f&&e.forEachEntry(f,(function(t,a){if(!1!==t&&!e.startsWithDirectory(n,t.realPath,s)){var o=e.find(d,(function(e){return 0===m(e.slice(0,t.real.length),t.real)}));if(void 0!==o){var c=e.getRelativePathFromDirectory(t.real,o,s),l=e.resolvePath(a,c);if(!r.fileExists||r.fileExists(l)){var u=i(l);if(u)return u}}}}))||(a?e.forEach(d,i):void 0)}function f(n,t,r){var a=r.getCurrentDirectory(),i=e.hostGetCanonicalFileName(r),o=new e.Map,s=!1;p(n,t,r,!0,(function(n){o.set(n,i(n)),s=s||e.pathContainsNodeModules(n)}));for(var c,l=[],u=function(n){var t,r=e.ensureTrailingDirectorySeparator(n);o.forEach((function(n,a){e.startsWith(n,r)&&(s&&!e.pathContainsNodeModules(a)||(t||(t=[])).push(a),o.delete(a))})),t&&(t.length>1&&t.sort(d),l.push.apply(l,t));var a=e.getDirectoryPath(n);if(a===n)return c=n,"break";c=n=a},f=e.getDirectoryPath(e.toPath(n,a,i));0!==o.size;){var m=u(f);if(f=c,"break"===m)break}if(o.size){var _=e.arrayFrom(o.values());_.length>1&&_.sort(d),l.push.apply(l,_)}return l}function m(n,t,r){for(var a in r)for(var i=0,o=r[a];i<o.length;i++){var s=o[i],c=e.removeFileExtension(e.normalizePath(s)),l=c.indexOf("*");if(-1!==l){var u=c.substr(0,l),d=c.substr(l+1);if(t.length>=u.length+d.length&&e.startsWith(t,u)&&e.endsWith(t,d)||!d&&t===e.removeTrailingDirectorySeparator(u)){var p=t.substr(u.length,t.length-d.length);return a.replace("*",p)}}else if(c===t||c===n)return a}}function _(n,t,r,a,i){var o=t.getCanonicalFileName,s=t.sourceDirectory;if(r.fileExists&&r.readFile){var c=function(n){var t,r,a=0,i=0,o=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(r||(r={}));var s=0,c=0,l=0;for(;c>=0;)switch(s=c,c=n.indexOf("/",s+1),l){case 0:n.indexOf(e.nodeModulesPathPart,s)===s&&(a=s,i=c,l=1);break;case 1:case 2:1===l&&"@"===n.charAt(s+1)?l=2:(o=c,l=3);break;case 3:l=n.indexOf(e.nodeModulesPathPart,s)===s?1:3}return t=s,l>1?{topLevelNodeModulesIndex:a,topLevelPackageNameIndex:i,packageRootIndex:o,fileNameIndex:t}:void 0}(n);if(c){var l=n;if(!i)for(var u=c.packageRootIndex,d=void 0;;){var p=E(u),f=p.moduleFileToTry,_=p.packageRootPath;if(_){l=_;break}if(d||(d=f),-1===(u=n.indexOf(e.directorySeparator,u+1))){l=T(d);break}}var g=r.getGlobalTypingsCacheLocation&&r.getGlobalTypingsCacheLocation(),h=o(l.substring(0,c.topLevelNodeModulesIndex));if(e.startsWith(s,h)||g&&e.startsWith(o(g),h)){var v=l.substring(c.topLevelPackageNameIndex+1),b=e.getPackageNameFromTypesPackageName(v);return e.getEmitModuleResolutionKind(a)!==e.ModuleResolutionKind.NodeJs&&b===v?void 0:b}}}function E(t){var i=n.substring(0,t),s=e.combinePaths(i,"package.json"),c=n;if(r.fileExists(s)){var l=JSON.parse(r.readFile(s)),u=l.typesVersions?e.getPackageJsonTypesVersionsPaths(l.typesVersions):void 0;if(u){var d=n.slice(i.length+1),p=m(e.removeFileExtension(d),y(d,0,a),u.paths);void 0!==p&&(c=e.combinePaths(i,p))}var f=l.typings||l.types||l.main;if(e.isString(f)){var _=e.toPath(f,i,o);if(e.removeFileExtension(_)===e.removeFileExtension(o(c)))return{packageRootPath:i,moduleFileToTry:c}}}return{moduleFileToTry:c}}function T(n){var t=e.removeFileExtension(n);return"/index"!==o(t.substring(c.fileNameIndex))||function(n,t){if(!n.fileExists)return;for(var r=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),a=0,i=r;a<i.length;a++){var o=i[a],s=t+o;if(n.fileExists(s))return s}}(r,t.substring(0,c.fileNameIndex))?t:t.substring(0,c.fileNameIndex)}}function g(n,t,r){return e.firstDefined(t,(function(e){var t=h(n,e,r);return v(t)?void 0:t}))}function y(n,t,r){if(e.fileExtensionIs(n,".json"))return n;var a=e.removeFileExtension(n);switch(t){case 0:return e.removeSuffix(a,"/index");case 1:return a;case 2:return a+function(n,t){var r=e.extensionFromPath(n);switch(r){case".ts":case".d.ts":return".js";case".tsx":return 1===t.jsx?".jsx":".js";case".js":case".jsx":case".json":return r;case".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported:: FileName:: "+n);default:return e.Debug.assertNever(r)}}(n,r);default:return e.Debug.assertNever(t)}}function h(n,t,r){var a=e.getRelativePathToDirectoryOrUrl(t,n,t,r,!1);return e.isRootedDiskPath(a)?void 0:a}function v(n){return e.startsWith(n,"..")}!function(e){e[e.Relative=0]="Relative",e[e.NonRelative=1]="NonRelative",e[e.Auto=2]="Auto"}(t||(t={})),function(e){e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension"}(r||(r={})),n.updateModuleSpecifier=function(n,t,r,a,o){var s=i(n,t,r,a,function(n,t){return{relativePreference:e.isExternalModuleNameRelative(t)?0:1,ending:e.hasJSFileExtension(t)?2:e.getEmitModuleResolutionKind(n)!==e.ModuleResolutionKind.NodeJs||e.endsWith(t,"index")?1:0}}(n,o));if(s!==o)return s},n.getModuleSpecifier=function(e,n,t,r,o,s){return void 0===s&&(s={}),i(e,t,r,o,a(s,e,n))},n.getNodeModulesPackageName=function(n,t,r,a){var i=s(t,a),o=f(t,r,a);return e.firstDefined(o,(function(e){return _(e,i,a,n,!0)}))},n.getModuleSpecifiers=function(n,t,r,i,o){var l=function(n){var t=e.find(n.declarations,(function(n){return e.isNonGlobalAmbientModule(n)&&(!e.isExternalModuleAugmentation(n)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(n.name)))}));if(t)return t.name.text}(n);if(l)return[l];var u=s(r.path,i),d=e.getSourceFileOfNode(n.valueDeclaration||e.getNonAugmentationDeclaration(n)),p=f(r.path,d.originalFileName,i),m=a(o,t,r),g=e.mapDefined(p,(function(e){return _(e,u,i,t)}));return g.length?g:p.map((function(e){return c(e,u,t,m)}))},n.countPathComponents=l,n.forEachFileNameOfModule=p}(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(p||(p={})),function(e){var n=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function t(t,r){var a=t===e.sys?n:{getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.newLine},getCanonicalFileName:e.createGetCanonicalFileName(t.useCaseSensitiveFileNames)};if(!r)return function(n){return t.write(e.formatDiagnostic(n,a))};var i=new Array(1);return function(n){i[0]=n,t.write(e.formatDiagnosticsWithColorAndContext(i,a)+a.getNewLine()),i[0]=void 0}}function r(n,t,r){return!(!n.clearScreen||r.preserveWatchOutput||r.extendedDiagnostics||r.diagnostics||!e.contains(e.screenStartingMessageCodes,t.code))&&(n.clearScreen(),!0)}function a(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function i(n,t){return t?function(t,i,o){r(n,t,o);var s="["+e.formatColorAndReset(a(n),e.ForegroundColorEscapeSequences.Grey)+"] ";s+=""+e.flattenDiagnosticMessageText(t.messageText,n.newLine)+(i+i),n.write(s)}:function(t,i,o){var s="";r(n,t,o)||(s+=i),s+=a(n)+" - ",s+=""+e.flattenDiagnosticMessageText(t.messageText,n.newLine)+function(n,t){return e.contains(e.screenStartingMessageCodes,n.code)?t+t:t}(t,i),n.write(s)}}function s(n){return e.countWhere(n,(function(n){return n.category===e.DiagnosticCategory.Error}))}function c(n){return 1===n?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}function l(n,t){if(0===n)return"";var r=e.createCompilerDiagnostic(1===n?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,n);return""+t+e.flattenDiagnosticMessageText(r.messageText,t)+t+t}function u(n,t){(n.getCompilerOptions().listFiles||n.getCompilerOptions().listFilesOnly)&&e.forEach(n.getSourceFiles(),(function(e){t(e.fileName)}))}function d(n,t,r,a,i,o,c,l){var d=!!n.getCompilerOptions().listFilesOnly,p=n.getConfigFileParsingDiagnostics().slice(),f=p.length;e.addRange(p,n.getSyntacticDiagnostics(void 0,o)),p.length===f&&(e.addRange(p,n.getOptionsDiagnostics(o)),d||(e.addRange(p,n.getGlobalDiagnostics(o)),p.length===f&&e.addRange(p,n.getSemanticDiagnostics(void 0,o))));var m=d?{emitSkipped:!0,diagnostics:e.emptyArray}:n.emit(void 0,i,o,c,l),_=m.emittedFiles,g=m.diagnostics;e.addRange(p,g);var y=e.sortAndDeduplicateDiagnostics(p);if(y.forEach(t),r){var h=n.getCurrentDirectory();e.forEach(_,(function(n){var t=e.getNormalizedAbsolutePath(n,h);r("TSFILE: "+t)})),u(n,r)}return a&&a(s(y)),{emitResult:m,diagnostics:y}}function p(n,t,r,a,i,o,s,c){var l=d(n,t,r,a,i,o,s,c),u=l.emitResult,p=l.diagnostics;return u.emitSkipped&&p.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:p.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function f(n,t){return void 0===n&&(n=e.sys),{onWatchStatusChange:t||i(n),watchFile:e.maybeBind(n,n.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(n,n.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(n,n.setTimeout)||e.noop,clearTimeout:e.maybeBind(n,n.clearTimeout)||e.noop}}function m(n,t){var r=e.memoize((function(){return e.getDirectoryPath(e.normalizePath(n.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames},getNewLine:function(){return n.newLine},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),getDefaultLibLocation:r,getDefaultLibFileName:function(n){return e.combinePaths(r(),e.getDefaultLibFileName(n))},fileExists:function(e){return n.fileExists(e)},readFile:function(e,t){return n.readFile(e,t)},directoryExists:function(e){return n.directoryExists(e)},getDirectories:function(e){return n.getDirectories(e)},readDirectory:function(e,t,r,a,i){return n.readDirectory(e,t,r,a,i)},realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable),trace:function(e){return n.write(e+n.newLine)},createDirectory:function(e){return n.createDirectory(e)},writeFile:function(e,t,r){return n.writeFile(e,t,r)},createHash:e.maybeBind(n,n.createHash),createProgram:t||e.createEmitAndSemanticDiagnosticsBuilderProgram}}function _(n,t,r,a){void 0===n&&(n=e.sys);var i=function(e){return n.write(e+n.newLine)},o=m(n,t);return e.copyProperties(o,f(n,a)),o.afterProgramCreate=function(t){var a=t.getCompilerOptions(),s=e.getNewLineCharacter(a,(function(){return n.newLine}));d(t,r,i,(function(n){return o.onWatchStatusChange(e.createCompilerDiagnostic(c(n),n),s,a,n)}))},o}function g(n,t,r){t(r),n.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createDiagnosticReporter=t,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.getLocaleTimeString=a,e.createWatchStatusReporter=i,e.parseConfigFileWithSystem=function(n,t,r,a,i){var o=a;o.onUnRecoverableConfigFileDiagnostic=function(e){return g(a,i,e)};var s=e.getParsedCommandLineOfConfigFile(n,t,o,void 0,r);return o.onUnRecoverableConfigFileDiagnostic=void 0,s},e.getErrorCountForSummary=s,e.getWatchErrorSummaryDiagnosticMessage=c,e.getErrorSummaryText=l,e.listFiles=u,e.emitFilesAndReportErrors=d,e.emitFilesAndReportErrorsAndGetExitStatus=p,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher},e.createWatchHost=f,e.WatchType={ConfigFile:"Config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots"},e.createWatchFactory=function(n,t){var r=n.trace?t.extendedDiagnostics?e.WatchLogLevel.Verbose:t.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,a=r!==e.WatchLogLevel.None?function(e){return n.trace(e)}:e.noop,i=e.getWatchFactory(r,a);return i.writeLog=a,i},e.createCompilerHostFromProgramHost=function(n,t,r){void 0===r&&(r=n);var a=n.useCaseSensitiveFileNames(),i=e.memoize((function(){return n.getNewLine()}));return{getSourceFile:function(r,a,i){var o;try{e.performance.mark("beforeIORead"),o=n.readFile(r,t().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){i&&i(e.message),o=""}return void 0!==o?e.createSourceFile(r,o,a):void 0},getDefaultLibLocation:e.maybeBind(n,n.getDefaultLibLocation),getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:function(t,r,a,i){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(t,r,a,(function(e,t,r){return n.writeFile(e,t,r)}),(function(e){return n.createDirectory(e)}),(function(e){return n.directoryExists(e)})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){i&&i(e.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return a},getCanonicalFileName:e.createGetCanonicalFileName(a),getNewLine:function(){return e.getNewLineCharacter(t(),i)},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:e.maybeBind(n,n.trace),directoryExists:e.maybeBind(r,r.directoryExists),getDirectories:e.maybeBind(r,r.getDirectories),realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(n,n.createHash),readDirectory:e.maybeBind(n,n.readDirectory)}},e.setGetSourceFileAsHashVersioned=function(n,t){var r=n.getSourceFile,a=t.createHash||e.generateDjb2Hash;n.getSourceFile=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var s=r.call.apply(r,o([n],e));return s&&(s.version=a.call(t,s.text)),s}},e.createProgramHost=m,e.createWatchCompilerHostOfConfigFile=function(e){var n=e.configFileName,r=e.optionsToExtend,a=e.watchOptionsToExtend,i=e.extraFileExtensions,o=e.system,s=e.createProgram,c=e.reportDiagnostic,l=e.reportWatchStatus,u=c||t(o),d=_(o,s,u,l);return d.onUnRecoverableConfigFileDiagnostic=function(e){return g(o,u,e)},d.configFileName=n,d.optionsToExtend=r,d.watchOptionsToExtend=a,d.extraFileExtensions=i,d},e.createWatchCompilerHostOfFilesAndCompilerOptions=function(e){var n=e.rootFiles,r=e.options,a=e.watchOptions,i=e.projectReferences,o=e.system,s=e.createProgram,c=e.reportDiagnostic,l=e.reportWatchStatus,u=_(o,s,c||t(o),l);return u.rootFiles=n,u.options=r,u.watchOptions=a,u.projectReferences=i,u},e.performIncrementalCompilation=function(n){var r=n.system||e.sys,a=n.host||(n.host=e.createIncrementalCompilerHost(n.options,r)),i=e.createIncrementalProgram(n),o=p(i,n.reportDiagnostic||t(r),(function(e){return a.trace&&a.trace(e)}),n.reportErrorSummary||n.options.pretty?function(e){return r.write(l(e,r.newLine))}:void 0);return n.afterProgramEmitAndDiagnostics&&n.afterProgramEmitAndDiagnostics(i),o}}(p||(p={})),function(e){function n(n,t){if(!e.outFile(n)){var r=e.getTsBuildInfoEmitOutputFilePath(n);if(r){var a=t.readFile(r);if(a){var i=e.getBuildInfo(a);if(i.version===e.version&&i.program)return e.createBuildProgramUsingProgramBuildInfo(i.program,r,t)}}}}function t(n,t){void 0===t&&(t=e.sys);var r=e.createCompilerHostWorker(n,void 0,t);return r.createHash=e.maybeBind(t,t.createHash),e.setGetSourceFileAsHashVersioned(r,t),e.changeCompilerHostLikeToUseCache(r,(function(n){return e.toPath(n,r.getCurrentDirectory(),r.getCanonicalFileName)})),r}e.readBuilderProgram=n,e.createIncrementalCompilerHost=t,e.createIncrementalProgram=function(r){var a=r.rootNames,i=r.options,o=r.configFileParsingDiagnostics,s=r.projectReferences,c=r.host,l=r.createProgram;return c=c||t(i),(l=l||e.createEmitAndSemanticDiagnosticsBuilderProgram)(a,i,c,n(i,c),o,s)},e.createWatchCompilerHost=function(n,t,r,a,i,o,s,c){return e.isArray(n)?e.createWatchCompilerHostOfFilesAndCompilerOptions({rootFiles:n,options:t,watchOptions:c,projectReferences:s,system:r,createProgram:a,reportDiagnostic:i,reportWatchStatus:o}):e.createWatchCompilerHostOfConfigFile({configFileName:n,optionsToExtend:t,watchOptionsToExtend:s,extraFileExtensions:c,system:r,createProgram:a,reportDiagnostic:i,reportWatchStatus:o})},e.createWatchProgram=function(t){var r,a,i,s,c,l,u,d,p,f=new e.Map,m=!1,_=t.useCaseSensitiveFileNames(),g=t.getCurrentDirectory(),y=t.configFileName,h=t.optionsToExtend,v=void 0===h?{}:h,b=t.watchOptionsToExtend,E=t.extraFileExtensions,T=t.createProgram,S=t.rootFiles,L=t.options,x=t.watchOptions,A=t.projectReferences,D=!1,C=!1,I=void 0===y?void 0:e.createCachedDirectoryStructureHost(t,g,_),N=I||t,R=e.parseConfigHostFromCompilerHostLike(t,N),k=J();y&&t.configFileParsingResult&&(le(t.configFileParsingResult),k=J()),ne(e.Diagnostics.Starting_compilation_in_watch_mode),y&&!t.configFileParsingResult&&(k=e.getNewLineCharacter(v,(function(){return t.getNewLine()})),e.Debug.assert(!S),ce(),k=J());var O,P=e.createWatchFactory(t,L),M=P.watchFile,w=P.watchFilePath,F=P.watchDirectory,G=P.writeLog,B=e.createGetCanonicalFileName(_);G("Current directory: "+g+" CaseSensitiveFileNames: "+_),y&&(O=M(t,y,(function(){e.Debug.assert(!!y),a=e.ConfigFileProgramReloadLevel.Full,ie()}),e.PollingInterval.High,x,e.WatchType.ConfigFile));var U=e.createCompilerHostFromProgramHost(t,(function(){return L}),N);e.setGetSourceFileAsHashVersioned(U,t);var V=U.getSourceFile;U.getSourceFile=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return Z.apply(void 0,o([e,X(e)],n))},U.getSourceFileByPath=Z,U.getNewLine=function(){return k},U.fileExists=Q,U.onReleaseOldSourceFile=function(e,n,t){var r=f.get(e.resolvedPath);void 0!==r&&(Y(r)?(u||(u=[])).push(e.path):r.sourceFile===e&&(r.fileWatcher&&r.fileWatcher.close(),f.delete(e.resolvedPath),t||j.removeResolutionsOfFile(e.path)))},U.toPath=X,U.getCompilationSettings=function(){return L},U.useSourceOfProjectReferenceRedirect=e.maybeBind(t,t.useSourceOfProjectReferenceRedirect),U.watchDirectoryOfFailedLookupLocation=function(n,r,a){return F(t,n,r,a,x,e.WatchType.FailedLookupLocations)},U.watchTypeRootsDirectory=function(n,r,a){return F(t,n,r,a,x,e.WatchType.TypeRoots)},U.getCachedDirectoryStructureHost=function(){return I},U.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!t.setTimeout||!t.clearTimeout)return j.invalidateResolutionsOfFailedLookupLocations();var e=re();G("Scheduling invalidateFailedLookup"+(e?", Cancelled earlier one":"")),l=t.setTimeout(ae,250)},U.onInvalidatedResolution=ie,U.onChangedAutomaticTypeDirectiveNames=ie,U.fileIsOpen=e.returnFalse,U.getCurrentProgram=q,U.writeLog=G;var j=e.createResolutionCache(U,y?e.getDirectoryPath(e.getNormalizedAbsolutePath(y,g)):g,!1);U.resolveModuleNames=t.resolveModuleNames?function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolveModuleNames.apply(t,e)}:function(e,n,t,r){return j.resolveModuleNames(e,n,t,r)},U.resolveTypeReferenceDirectives=t.resolveTypeReferenceDirectives?function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolveTypeReferenceDirectives.apply(t,e)}:function(e,n,t){return j.resolveTypeReferenceDirectives(e,n,t)};var K=!!t.resolveModuleNames||!!t.resolveTypeReferenceDirectives;return r=n(L,U),z(),me(),y?{getCurrentProgram:W,getProgram:se,close:H}:{getCurrentProgram:W,getProgram:se,updateRootFileNames:function(n){e.Debug.assert(!y,"Cannot update root file names with config file watch mode"),S=n,ie()},close:H};function H(){re(),j.clear(),e.clearMap(f,(function(e){e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),O&&(O.close(),O=void 0),s&&(e.clearMap(s,e.closeFileWatcherOf),s=void 0),i&&(e.clearMap(i,e.closeFileWatcher),i=void 0)}function W(){return r}function q(){return r&&r.getProgramOrUndefined()}function z(){G("Synchronizing program"),re();var n=W();m&&(k=J(),n&&e.changesAffectModuleResolution(n.getCompilerOptions(),L)&&j.clear());var a=j.createHasInvalidatedResolution(K);return e.isProgramUptoDate(q(),S,L,ee,Q,a,te,A)?C&&(r=T(void 0,void 0,U,r,p,A),C=!1):function(n){G("CreatingProgramWith::"),G(" roots: "+JSON.stringify(S)),G(" options: "+JSON.stringify(L));var t=m||!q();m=!1,C=!1,j.startCachingPerDirectoryResolution(),U.hasInvalidatedResolution=n,U.hasChangedAutomaticTypeDirectiveNames=te,r=T(S,L,U,r,p,A),j.finishCachingPerDirectoryResolution(),e.updateMissingFilePathsWatch(r.getProgram(),i||(i=new e.Map),pe),t&&j.updateTypeRootsWatch();if(u){for(var a=0,o=u;a<o.length;a++){var s=o[a];i.has(s)||f.delete(s)}u=void 0}}(a),t.afterProgramCreate&&n!==r&&t.afterProgramCreate(r),r}function J(){return e.getNewLineCharacter(L||v,(function(){return t.getNewLine()}))}function X(n){return e.toPath(n,g,B)}function Y(e){return"boolean"==typeof e}function Q(e){var n=X(e);return!Y(f.get(n))&&N.fileExists(e)}function Z(n,r,a,i,o){var s=f.get(r);if(!Y(s)){if(void 0===s||o||function(e){return"boolean"==typeof e.version}(s)){var c=V(n,a,i);if(s)c?(s.sourceFile=c,s.version=c.version,s.fileWatcher||(s.fileWatcher=w(t,n,ue,e.PollingInterval.Low,x,r,e.WatchType.SourceFile))):(s.fileWatcher&&s.fileWatcher.close(),f.set(r,!1));else if(c){var l=w(t,n,ue,e.PollingInterval.Low,x,r,e.WatchType.SourceFile);f.set(r,{sourceFile:c,version:c.version,fileWatcher:l})}else f.set(r,!1);return c}return s.sourceFile}}function $(e){var n=f.get(e);void 0!==n&&(Y(n)?f.set(e,{version:!1}):n.version=!1)}function ee(e){var n=f.get(e);return n&&n.version?n.version:void 0}function ne(n){t.onWatchStatusChange&&t.onWatchStatusChange(e.createCompilerDiagnostic(n),k,L||v)}function te(){return j.hasChangedAutomaticTypeDirectiveNames()}function re(){return!!l&&(t.clearTimeout(l),l=void 0,!0)}function ae(){l=void 0,j.invalidateResolutionsOfFailedLookupLocations()&&ie()}function ie(){t.setTimeout&&t.clearTimeout&&(c&&t.clearTimeout(c),G("Scheduling update"),c=t.setTimeout(oe,250))}function oe(){c=void 0,ne(e.Diagnostics.File_change_detected_Starting_incremental_compilation),se()}function se(){switch(a){case e.ConfigFileProgramReloadLevel.Partial:e.perfLogger.logStartUpdateProgram("PartialConfigReload"),function(){G("Reloading new file names and options");var n=e.getFileNamesFromConfigSpecs(d,e.getNormalizedAbsolutePath(e.getDirectoryPath(y),g),L,R);e.updateErrorForNoInputFiles(n,e.getNormalizedAbsolutePath(y,g),d,p,D)&&(C=!0);S=n.fileNames,z()}();break;case e.ConfigFileProgramReloadLevel.Full:e.perfLogger.logStartUpdateProgram("FullConfigReload"),function(){G("Reloading config file: "+y),a=e.ConfigFileProgramReloadLevel.None,I&&I.clearCache();ce(),m=!0,z(),me()}();break;default:e.perfLogger.logStartUpdateProgram("SynchronizeProgram"),z()}return e.perfLogger.logStopUpdateProgram("Done"),W()}function ce(){le(e.getParsedCommandLineOfConfigFile(y,v,R,void 0,b,E))}function le(n){S=n.fileNames,L=n.options,x=n.watchOptions,d=n.configFileSpecs,A=n.projectReferences,p=e.getConfigFileParsingDiagnostics(n).slice(),D=e.canJsonReportNoInputFiles(n.raw),C=!0}function ue(n,t,r){de(n,r,t),t===e.FileWatcherEventKind.Deleted&&f.has(r)&&j.invalidateResolutionOfFile(r),j.removeResolutionsFromProjectReferenceRedirects(r),$(r),ie()}function de(e,n,t){I&&I.addOrDeleteFile(e,n,t)}function pe(n){return w(t,n,fe,e.PollingInterval.Medium,x,n,e.WatchType.MissingFile)}function fe(n,t,r){de(n,r,t),t===e.FileWatcherEventKind.Created&&i.has(r)&&(i.get(r).close(),i.delete(r),$(r),ie())}function me(){d?e.updateWatchingWildcardDirectories(s||(s=new e.Map),new e.Map(e.getEntries(d.wildcardDirectories)),_e):s&&e.clearMap(s,e.closeFileWatcherOf)}function _e(n,r){return F(t,n,(function(t){e.Debug.assert(!!y);var r=X(t);I&&I.addOrDeleteFileOrDirectory(t,r),$(r),e.isIgnoredFileFromWildCardWatching({watchedDirPath:X(n),fileOrDirectory:t,fileOrDirectoryPath:r,configFileName:y,configFileSpecs:d,options:L,program:W(),currentDirectory:g,useCaseSensitiveFileNames:_,writeLog:G})||a!==e.ConfigFileProgramReloadLevel.Full&&(a=e.ConfigFileProgramReloadLevel.Partial,ie())}),r,x,e.WatchType.WildcardDirectory)}}}(p||(p={})),function(e){!function(e){e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",e[e.OutputMissing=4]="OutputMissing",e[e.OutOfDateWithSelf=5]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",e[e.UpstreamOutOfDate=7]="UpstreamOutOfDate",e[e.UpstreamBlocked=8]="UpstreamBlocked",e[e.ComputingUpstream=9]="ComputingUpstream",e[e.TsVersionOutputOfDate=10]="TsVersionOutputOfDate",e[e.ContainerOnly=11]="ContainerOnly"}(e.UpToDateStatusType||(e.UpToDateStatusType={})),e.resolveConfigFileProjectName=function(n){return e.fileExtensionIs(n,".json")?n:e.combinePaths(n,"tsconfig.json")}}(p||(p={})),function(e){var n,t,r,a=new Date(-864e13),i=new Date(864e13);function s(n,t){return function(e,n,t){var r,a=e.get(n);return a||(r=t(),e.set(n,r)),a||r}(n,t,(function(){return new e.Map}))}function c(e,n){return n>e?n:e}function l(n){return e.fileExtensionIs(n,".d.ts")}function u(e){return!!e&&!!e.buildOrder}function d(e){return u(e)?e.buildOrder:e}function p(n,t){return function(r){var a=t?"["+e.formatColorAndReset(e.getLocaleTimeString(n),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(n)+" - ";a+=""+e.flattenDiagnosticMessageText(r.messageText,n.newLine)+(n.newLine+n.newLine),n.write(a)}}function f(n,t,r,a){var i=e.createProgramHost(n,t);return i.getModifiedTime=n.getModifiedTime?function(e){return n.getModifiedTime(e)}:e.returnUndefined,i.setModifiedTime=n.setModifiedTime?function(e,t){return n.setModifiedTime(e,t)}:e.noop,i.deleteFile=n.deleteFile?function(e){return n.deleteFile(e)}:e.noop,i.reportDiagnostic=r||e.createDiagnosticReporter(n),i.reportSolutionBuilderStatus=a||p(n),i.now=e.maybeBind(n,n.now),i}function m(n,t,r,a,i){var o,s,c=t,l=t,u=c.getCurrentDirectory(),d=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),p=(o=a,s={},e.commonOptionsWithBuild.forEach((function(n){e.hasProperty(o,n.name)&&(s[n.name]=o[n.name])})),s),f=e.createCompilerHostFromProgramHost(c,(function(){return S.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(f,c),f.getParsedCommandLine=function(e){return h(S,e,g(S,e))},f.resolveModuleNames=e.maybeBind(c,c.resolveModuleNames),f.resolveTypeReferenceDirectives=e.maybeBind(c,c.resolveTypeReferenceDirectives);var m=f.resolveModuleNames?void 0:e.createModuleResolutionCache(u,d);if(!f.resolveModuleNames){var _=function(n,t,r){return e.resolveModuleName(n,t,S.projectCompilerOptions,f,m,r).resolvedModule};f.resolveModuleNames=function(n,t,r,a){return e.loadWithLocalCache(e.Debug.checkEachDefined(n),t,a,_)}}var y=e.createWatchFactory(l,a),v=y.watchFile,b=y.watchFilePath,E=y.watchDirectory,T=y.writeLog,S={host:c,hostWithWatch:l,currentDirectory:u,getCanonicalFileName:d,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(c),writeFileName:c.trace?function(e){return c.trace(e)}:void 0,options:a,baseCompilerOptions:p,rootNames:r,baseWatchOptions:i,resolvedConfigFilePaths:new e.Map,configFileCache:new e.Map,projectStatus:new e.Map,buildInfoChecked:new e.Map,extendedConfigCache:new e.Map,builderPrograms:new e.Map,diagnostics:new e.Map,projectPendingBuild:new e.Map,projectErrorsReported:new e.Map,compilerHost:f,moduleResolutionCache:m,buildOrder:void 0,readFileWithCache:function(e){return c.readFile(e)},projectCompilerOptions:p,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:n,currentInvalidatedProject:void 0,watch:n,allWatchedWildcardDirectories:new e.Map,allWatchedInputFiles:new e.Map,allWatchedConfigFiles:new e.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:v,watchFilePath:b,watchDirectory:E,writeLog:T};return S}function _(n,t){return e.toPath(t,n.currentDirectory,n.getCanonicalFileName)}function g(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);if(void 0!==r)return r;var a=_(e,n);return t.set(n,a),a}function y(e){return!!e.options}function h(n,t,r){var a,i=n.configFileCache,o=i.get(r);if(o)return y(o)?o:void 0;var s,c=n.parseConfigFileHost,l=n.baseCompilerOptions,u=n.baseWatchOptions,d=n.extendedConfigCache,p=n.host;return p.getParsedCommandLine?(s=p.getParsedCommandLine(t))||(a=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t)):(c.onUnRecoverableConfigFileDiagnostic=function(e){return a=e},s=e.getParsedCommandLineOfConfigFile(t,l,c,d,u),c.onUnRecoverableConfigFileDiagnostic=e.noop),i.set(r,s||a),s}function v(n,t){return e.resolveConfigFileProjectName(e.resolvePath(n.currentDirectory,t))}function b(n,t){for(var r,a,i=new e.Map,o=new e.Map,s=[],c=0,l=t;c<l.length;c++){u(l[c])}return a?{buildOrder:r||e.emptyArray,circularDiagnostics:a}:r||e.emptyArray;function u(t,c){var l=g(n,t);if(!o.has(l))if(i.has(l))c||(a||(a=[])).push(e.createCompilerDiagnostic(e.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,s.join("\r\n")));else{i.set(l,!0),s.push(t);var d=h(n,t,l);if(d&&d.projectReferences)for(var p=0,f=d.projectReferences;p<f.length;p++){var m=f[p];u(v(n,m.path),c||m.circular)}s.pop(),o.set(l,!0),(r||(r=[])).push(t)}}}function E(n){return n.buildOrder||function(n){var t=b(n,n.rootNames.map((function(e){return v(n,e)})));n.resolvedConfigFilePaths.clear();var r=new e.Map(d(t).map((function(e){return[g(n,e),!0]}))),a={onDeleteValue:e.noop};e.mutateMapSkippingNewValues(n.configFileCache,r,a),e.mutateMapSkippingNewValues(n.projectStatus,r,a),e.mutateMapSkippingNewValues(n.buildInfoChecked,r,a),e.mutateMapSkippingNewValues(n.builderPrograms,r,a),e.mutateMapSkippingNewValues(n.diagnostics,r,a),e.mutateMapSkippingNewValues(n.projectPendingBuild,r,a),e.mutateMapSkippingNewValues(n.projectErrorsReported,r,a),n.watch&&(e.mutateMapSkippingNewValues(n.allWatchedConfigFiles,r,{onDeleteValue:e.closeFileWatcher}),e.mutateMapSkippingNewValues(n.allWatchedWildcardDirectories,r,{onDeleteValue:function(n){return n.forEach(e.closeFileWatcherOf)}}),e.mutateMapSkippingNewValues(n.allWatchedInputFiles,r,{onDeleteValue:function(n){return n.forEach(e.closeFileWatcher)}}));return n.buildOrder=t}(n)}function T(n,t,r){var a=t&&v(n,t),i=E(n);if(u(i))return i;if(a){var o=g(n,a);if(-1===e.findIndex(i,(function(e){return g(n,e)===o})))return}var s=a?b(n,[a]):i;return e.Debug.assert(!u(s)),e.Debug.assert(!r||void 0!==a),e.Debug.assert(!r||s[s.length-1]===a),r?s.slice(0,s.length-1):s}function S(n){n.cache&&L(n);var t=n.compilerHost,r=n.host,a=n.readFileWithCache,i=t.getSourceFile,s=e.changeCompilerHostLikeToUseCache(r,(function(e){return _(n,e)}),(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return i.call.apply(i,o([t],e))})),c=s.originalReadFile,l=s.originalFileExists,u=s.originalDirectoryExists,d=s.originalCreateDirectory,p=s.originalWriteFile,f=s.getSourceFileWithCache,m=s.readFileWithCache;n.readFileWithCache=m,t.getSourceFile=f,n.cache={originalReadFile:c,originalFileExists:l,originalDirectoryExists:u,originalCreateDirectory:d,originalWriteFile:p,originalReadFileWithCache:a,originalGetSourceFile:i}}function L(e){if(e.cache){var n=e.cache,t=e.host,r=e.compilerHost,a=e.extendedConfigCache,i=e.moduleResolutionCache;t.readFile=n.originalReadFile,t.fileExists=n.originalFileExists,t.directoryExists=n.originalDirectoryExists,t.createDirectory=n.originalCreateDirectory,t.writeFile=n.originalWriteFile,r.getSourceFile=n.originalGetSourceFile,e.readFileWithCache=n.originalReadFileWithCache,a.clear(),i&&(i.directoryToModuleNameMap.clear(),i.moduleNameToDirectoryMap.clear()),e.cache=void 0}}function x(e,n){e.projectStatus.delete(n),e.diagnostics.delete(n)}function A(e,n,t){var r=e.projectPendingBuild,a=r.get(n);(void 0===a||a<t)&&r.set(n,t)}function D(n,t){n.allProjectBuildPending&&(n.allProjectBuildPending=!1,n.options.watch&&$(n,e.Diagnostics.Starting_compilation_in_watch_mode),S(n),d(E(n)).forEach((function(t){return n.projectPendingBuild.set(g(n,t),e.ConfigFileProgramReloadLevel.None)})),t&&t.throwIfCancellationRequested())}function C(n,t){return n.projectPendingBuild.delete(t),n.currentInvalidatedProject=void 0,n.diagnostics.has(t)?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function I(e,n,r,a,i){var o=!0;return{kind:t.UpdateOutputFileStamps,project:n,projectPath:r,buildOrder:i,getCompilerOptions:function(){return a.options},getCurrentDirectory:function(){return e.currentDirectory},updateOutputFileStatmps:function(){B(e,a,r),o=!1},done:function(){return o&&B(e,a,r),C(e,r)}}}function N(s,u,d,p,f,m,y){var b,E,T,S=s===t.Build?r.CreateProgram:r.EmitBundle;return s===t.Build?{kind:s,project:d,projectPath:p,buildOrder:y,getCompilerOptions:function(){return m.options},getCurrentDirectory:function(){return u.currentDirectory},getBuilderProgram:function(){return x(e.identity)},getProgram:function(){return x((function(e){return e.getProgramOrUndefined()}))},getSourceFile:function(e){return x((function(n){return n.getSourceFile(e)}))},getSourceFiles:function(){return A((function(e){return e.getSourceFiles()}))},getOptionsDiagnostics:function(e){return A((function(n){return n.getOptionsDiagnostics(e)}))},getGlobalDiagnostics:function(e){return A((function(n){return n.getGlobalDiagnostics(e)}))},getConfigFileParsingDiagnostics:function(){return A((function(e){return e.getConfigFileParsingDiagnostics()}))},getSyntacticDiagnostics:function(e,n){return A((function(t){return t.getSyntacticDiagnostics(e,n)}))},getAllDependencies:function(e){return A((function(n){return n.getAllDependencies(e)}))},getSemanticDiagnostics:function(e,n){return A((function(t){return t.getSemanticDiagnostics(e,n)}))},getSemanticDiagnosticsOfNextAffectedFile:function(e,n){return x((function(t){return t.getSemanticDiagnosticsOfNextAffectedFile&&t.getSemanticDiagnosticsOfNextAffectedFile(e,n)}))},emit:function(e,n,t,a,i){return e||a?x((function(r){return r.emit(e,n,t,a,i)})):(j(r.SemanticDiagnostics,t),S===r.EmitBuildInfo?F(n,t):S===r.Emit?w(n,t,i):void 0)},done:L}:{kind:s,project:d,projectPath:p,buildOrder:y,getCompilerOptions:function(){return m.options},getCurrentDirectory:function(){return u.currentDirectory},emit:function(e,n){return S!==r.EmitBundle?T:V(e,n)},done:L};function L(e,n,t){return j(r.Done,e,n,t),C(u,p)}function x(e){return j(r.CreateProgram),b&&e(b)}function A(n){return x(n)||e.emptyArray}function D(){if(e.Debug.assert(void 0===b),u.options.dry)return Z(u,e.Diagnostics.A_non_dry_build_would_build_project_0,d),E=n.Success,void(S=r.QueueReferencingProjects);if(u.options.verbose&&Z(u,e.Diagnostics.Building_project_0,d),0===m.fileNames.length)return ne(u,p,e.getConfigFileParsingDiagnostics(m)),E=n.None,void(S=r.QueueReferencingProjects);var t=u.host,a=u.compilerHost;u.projectCompilerOptions=m.options,function(n,t,r){if(!n.moduleResolutionCache)return;var a=n.moduleResolutionCache,i=_(n,t);if(0===a.directoryToModuleNameMap.redirectsMap.size)e.Debug.assert(0===a.moduleNameToDirectoryMap.redirectsMap.size),a.directoryToModuleNameMap.redirectsMap.set(i,a.directoryToModuleNameMap.ownMap),a.moduleNameToDirectoryMap.redirectsMap.set(i,a.moduleNameToDirectoryMap.ownMap);else{e.Debug.assert(a.moduleNameToDirectoryMap.redirectsMap.size>0);var o={sourceFile:r.options.configFile,commandLine:r};a.directoryToModuleNameMap.setOwnMap(a.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o)),a.moduleNameToDirectoryMap.setOwnMap(a.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}a.directoryToModuleNameMap.setOwnOptions(r.options),a.moduleNameToDirectoryMap.setOwnOptions(r.options)}(u,d,m),b=t.createProgram(m.fileNames,m.options,a,function(n,t,r){var a=n.options,i=n.builderPrograms,o=n.compilerHost;if(a.force)return;var s=i.get(t);return s||e.readBuilderProgram(r.options,o)}(u,p,m),e.getConfigFileParsingDiagnostics(m),m.projectReferences),u.watch&&u.builderPrograms.set(p,b),S++}function I(e,n,t){var r;e.length?(r=M(u,p,b,m,e,n,t),E=r.buildResult,S=r.step):S++}function R(t){e.Debug.assertIsDefined(b),I(o(b.getConfigFileParsingDiagnostics(),b.getOptionsDiagnostics(t),b.getGlobalDiagnostics(t),b.getSyntacticDiagnostics(void 0,t)),n.SyntaxErrors,"Syntactic")}function k(t){I(e.Debug.checkDefined(b).getSemanticDiagnostics(void 0,t),n.TypeErrors,"Semantic")}function w(t,i,o){var s,d;e.Debug.assertIsDefined(b),e.Debug.assert(S===r.Emit),b.backupState();var f=[],g=e.emitFilesAndReportErrors(b,(function(e){return(d||(d=[])).push(e)}),void 0,void 0,(function(e,n,t){return f.push({name:e,text:n,writeByteOrderMark:t})}),i,!1,o).emitResult;if(d)return b.restoreState(),s=M(u,p,b,m,d,n.DeclarationEmitErrors,"Declaration file"),E=s.buildResult,S=s.step,{emitSkipped:!0,diagnostics:g.diagnostics};var y=u.host,h=u.compilerHost,v=n.DeclarationOutputUnchanged,T=a,L=!1,x=e.createDiagnosticCollection(),A=new e.Map;return f.forEach((function(r){var a,i=r.name,o=r.text,s=r.writeByteOrderMark;!L&&l(i)&&(y.fileExists(i)&&u.readFileWithCache(i)===o?a=y.getModifiedTime(i):(v&=~n.DeclarationOutputUnchanged,L=!0)),A.set(_(u,i),i),e.writeFile(t?{writeFile:t}:h,x,i,o,s),void 0!==a&&(T=c(a,T))})),B(x,A,T,L,f.length?f[0].name:e.getFirstProjectOutput(m,!y.useCaseSensitiveFileNames()),v),g}function F(t,a){e.Debug.assertIsDefined(b),e.Debug.assert(S===r.EmitBuildInfo);var i=b.emitBuildInfo(t,a);return i.diagnostics.length&&(ee(u,i.diagnostics),u.diagnostics.set(p,o(u.diagnostics.get(p),i.diagnostics)),E=n.EmitErrors&E),i.emittedFiles&&u.writeFileName&&i.emittedFiles.forEach((function(e){return O(u,m,e)})),P(u,b,m),S=r.QueueReferencingProjects,i}function B(t,a,o,s,c,l){var d,f=t.getDiagnostics();if(f.length)return d=M(u,p,b,m,f,n.EmitErrors,"Emit"),E=d.buildResult,S=d.step,f;u.writeFileName&&a.forEach((function(e){return O(u,m,e)}));var _=G(u,m,o,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,a);return u.diagnostics.delete(p),u.projectStatus.set(p,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:s?i:_,oldestOutputFileName:c}),P(u,b,m),S=r.QueueReferencingProjects,E=l,f}function V(i,o){if(e.Debug.assert(s===t.UpdateBundle),u.options.dry)return Z(u,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,d),E=n.Success,void(S=r.QueueReferencingProjects);u.options.verbose&&Z(u,e.Diagnostics.Updating_output_of_project_0,d);var c=u.compilerHost;u.projectCompilerOptions=m.options;var l=e.emitUsingBuildInfo(m,c,(function(e){var n=v(u,e.path);return h(u,n,g(u,n))}),o);if(e.isString(l))return Z(u,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,d,Q(u,l)),S=r.BuildInvalidatedProjectOfBundle,T=N(t.Build,u,d,p,f,m,y);e.Debug.assert(!!l.length);var b=e.createDiagnosticCollection(),L=new e.Map;return l.forEach((function(n){var t=n.name,r=n.text,a=n.writeByteOrderMark;L.set(_(u,t),t),e.writeFile(i?{writeFile:i}:c,b,t,r,a)})),{emitSkipped:!1,diagnostics:B(b,L,a,!1,l[0].name,n.DeclarationOutputUnchanged)}}function j(n,t,a,i){for(;S<=n&&S<r.Done;){var o=S;switch(S){case r.CreateProgram:D();break;case r.SyntaxDiagnostics:R(t);break;case r.SemanticDiagnostics:k(t);break;case r.Emit:w(a,t,i);break;case r.EmitBuildInfo:F(a,t);break;case r.EmitBundle:V(a,i);break;case r.BuildInvalidatedProjectOfBundle:e.Debug.checkDefined(T).done(t),S=r.Done;break;case r.QueueReferencingProjects:U(u,d,p,f,m,y,e.Debug.checkDefined(E)),S++;break;case r.Done:default:e.assertType(S)}e.Debug.assert(S>o)}}}function R(n,t,r){var a=n.options;return!(t.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!a.force)||(0===r.fileNames.length||!!e.getConfigFileParsingDiagnostics(r).length||!e.isIncrementalCompilation(r.options))}function k(n,r,a){if(n.projectPendingBuild.size&&!u(r)){if(n.currentInvalidatedProject)return e.arrayIsEqualTo(n.currentInvalidatedProject.buildOrder,r)?n.currentInvalidatedProject:void 0;for(var i=n.options,o=n.projectPendingBuild,s=0;s<r.length;s++){var c=r[s],l=g(n,c),d=n.projectPendingBuild.get(l);if(void 0!==d){a&&(a=!1,ae(n,r));var p=h(n,c,l);if(p){if(d===e.ConfigFileProgramReloadLevel.Full)z(n,c,l,p),J(n,c,l,p),X(n,c,l,p);else if(d===e.ConfigFileProgramReloadLevel.Partial){var f=e.getFileNamesFromConfigSpecs(p.configFileSpecs,e.getDirectoryPath(c),p.options,n.parseConfigFileHost);e.updateErrorForNoInputFiles(f,c,p.configFileSpecs,p.errors,e.canJsonReportNoInputFiles(p.raw)),p.fileNames=f.fileNames,X(n,c,l,p)}var m=F(n,p,l);if(ie(n,c,m),!i.force){if(m.type===e.UpToDateStatusType.UpToDate){ne(n,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l),i.dry&&Z(n,e.Diagnostics.Project_0_is_up_to_date,c);continue}if(m.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes)return ne(n,l,e.getConfigFileParsingDiagnostics(p)),I(n,c,l,p,r)}if(m.type!==e.UpToDateStatusType.UpstreamBlocked){if(m.type!==e.UpToDateStatusType.ContainerOnly)return N(R(n,m,p)?t.Build:t.UpdateBundle,n,c,l,s,p,r);ne(n,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l)}else ne(n,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l),i.verbose&&Z(n,m.upstreamProjectBlocked?e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,c,m.upstreamProjectName)}else te(n,l),o.delete(l)}}}}function O(e,n,t){var r=e.writeFileName;r&&n.options.listEmittedFiles&&r("TSFILE: "+t)}function P(n,t,r){t?(t&&n.writeFileName&&e.listFiles(t,n.writeFileName),n.host.afterProgramEmitAndDiagnostics&&n.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()):n.host.afterEmitBundle&&n.host.afterEmitBundle(r),n.projectCompilerOptions=n.baseCompilerOptions}function M(t,a,i,o,s,c,l){var u=!(c&n.SyntaxErrors)&&i&&!e.outFile(i.getCompilerOptions());return ne(t,a,s),t.projectStatus.set(a,{type:e.UpToDateStatusType.Unbuildable,reason:l+" errors"}),u?{buildResult:c,step:r.EmitBuildInfo}:(P(t,i,o),{buildResult:c,step:r.QueueReferencingProjects})}function w(n,t,r,a){if(r<(n.host.getModifiedTime(t)||e.missingFileModifiedTime))return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:a,newerInputFileName:t}}function F(n,t,r){if(void 0===t)return{type:e.UpToDateStatusType.Unbuildable,reason:"File deleted mid-build"};var o=n.projectStatus.get(r);if(void 0!==o)return o;var s=function(n,t,r){for(var o=void 0,s=a,u=n.host,d=0,p=t.fileNames;d<p.length;d++){var f=p[d];if(!u.fileExists(f))return{type:e.UpToDateStatusType.Unbuildable,reason:f+" does not exist"};var m=u.getModifiedTime(f)||e.missingFileModifiedTime;m>s&&(o=f,s=m)}if(!t.fileNames.length&&!e.canJsonReportNoInputFiles(t.raw))return{type:e.UpToDateStatusType.ContainerOnly};for(var _,y=e.getAllProjectOutputs(t,!u.useCaseSensitiveFileNames()),v="(none)",b=i,E="(none)",T=a,S=a,L=!1,x=0,A=y;x<A.length;x++){var D=A[x];if(!u.fileExists(D)){_=D;break}var C=u.getModifiedTime(D)||e.missingFileModifiedTime;if(C<b&&(b=C,v=D),C<s){L=!0;break}if(C>T&&(T=C,E=D),l(D))S=c(S,u.getModifiedTime(D)||e.missingFileModifiedTime)}var I,N=!1,R=!1;if(t.projectReferences){n.projectStatus.set(r,{type:e.UpToDateStatusType.ComputingUpstream});for(var k=0,O=t.projectReferences;k<O.length;k++){var P=O[k];R=R||!!P.prepend;var M=e.resolveProjectReferencePath(P),G=g(n,M),B=F(n,h(n,M,G),G);if(B.type!==e.UpToDateStatusType.ComputingUpstream&&B.type!==e.UpToDateStatusType.ContainerOnly){if(B.type===e.UpToDateStatusType.Unbuildable||B.type===e.UpToDateStatusType.UpstreamBlocked)return{type:e.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:P.path,upstreamProjectBlocked:B.type===e.UpToDateStatusType.UpstreamBlocked};if(B.type!==e.UpToDateStatusType.UpToDate)return{type:e.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:P.path};if(!_){if(B.newestInputFileTime&&B.newestInputFileTime<=b)continue;if(B.newestDeclarationFileContentChangedTime&&B.newestDeclarationFileContentChangedTime<=b){N=!0,I=P.path;continue}return e.Debug.assert(void 0!==v,"Should have an oldest output filename here"),{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:v,newerProjectName:P.path}}}}}if(void 0!==_)return{type:e.UpToDateStatusType.OutputMissing,missingOutputFileName:_};if(L)return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:v,newerInputFileName:o};var U=w(n,t.options.configFilePath,b,v);if(U)return U;var V=e.forEach(t.options.configFile.extendedSourceFiles||e.emptyArray,(function(e){return w(n,e,b,v)}));if(V)return V;if(!n.buildInfoChecked.has(r)){n.buildInfoChecked.set(r,!0);var j=e.getTsBuildInfoEmitOutputFilePath(t.options);if(j){var K=n.readFileWithCache(j),H=K&&e.getBuildInfo(K);if(H&&(H.bundle||H.program)&&H.version!==e.version)return{type:e.UpToDateStatusType.TsVersionOutputOfDate,version:H.version}}}return R&&N?{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:v,newerProjectName:I}:{type:N?e.UpToDateStatusType.UpToDateWithUpstreamTypes:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:S,newestInputFileTime:s,newestOutputFileTime:T,newestInputFileName:o,newestOutputFileName:E,oldestOutputFileName:v}}(n,t,r);return n.projectStatus.set(r,s),s}function G(n,t,r,a,i){var o=n.host,s=e.getAllProjectOutputs(t,!o.useCaseSensitiveFileNames());if(!i||s.length!==i.size)for(var u=!!n.options.verbose,d=o.now?o.now():new Date,p=0,f=s;p<f.length;p++){var m=f[p];i&&i.has(_(n,m))||(u&&(u=!1,Z(n,a,t.options.configFilePath)),l(m)&&(r=c(r,o.getModifiedTime(m)||e.missingFileModifiedTime)),o.setModifiedTime(m,d))}return r}function B(n,t,r){if(n.options.dry)return Z(n,e.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);var i=G(n,t,a,e.Diagnostics.Updating_output_timestamps_of_project_0);n.projectStatus.set(r,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:i,oldestOutputFileName:e.getFirstProjectOutput(t,!n.host.useCaseSensitiveFileNames())})}function U(t,r,a,i,o,s,c){if(!(c&n.AnyErrors)&&o.options.composite)for(var l=i+1;l<s.length;l++){var u=s[l],d=g(t,u);if(!t.projectPendingBuild.has(d)){var p=h(t,u,d);if(p&&p.projectReferences)for(var f=0,m=p.projectReferences;f<m.length;f++){var _=m[f];if(g(t,v(t,_.path))===a){var y=t.projectStatus.get(d);if(y)switch(y.type){case e.UpToDateStatusType.UpToDate:if(c&n.DeclarationOutputUnchanged){_.prepend?t.projectStatus.set(d,{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:y.oldestOutputFileName,newerProjectName:r}):y.type=e.UpToDateStatusType.UpToDateWithUpstreamTypes;break}case e.UpToDateStatusType.UpToDateWithUpstreamTypes:case e.UpToDateStatusType.OutOfDateWithPrepend:c&n.DeclarationOutputUnchanged||t.projectStatus.set(d,{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:y.type===e.UpToDateStatusType.OutOfDateWithPrepend?y.outOfDateOutputFileName:y.oldestOutputFileName,newerProjectName:r});break;case e.UpToDateStatusType.UpstreamBlocked:g(t,v(t,y.upstreamProjectName))===a&&x(t,d)}A(t,d,e.ConfigFileProgramReloadLevel.None);break}}}}}function V(n,t,r,a){var i=T(n,t,a);if(!i)return e.ExitStatus.InvalidProject_OutputsSkipped;D(n,r);for(var o=!0,s=0;;){var c=k(n,i,o);if(!c)break;o=!1,c.done(r),n.diagnostics.has(c.projectPath)||s++}return L(n),re(n,i),function(e,n){if(!e.watchAllProjectsPending)return;e.watchAllProjectsPending=!1;for(var t=0,r=d(n);t<r.length;t++){var a=r[t],i=g(e,a),o=h(e,a,i);z(e,a,i,o),o&&(J(e,a,i,o),X(e,a,i,o))}}(n,i),u(i)?e.ExitStatus.ProjectReferenceCycle_OutputsSkipped:i.some((function(e){return n.diagnostics.has(g(n,e))}))?s?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function j(n,t,r){var a=T(n,t,r);if(!a)return e.ExitStatus.InvalidProject_OutputsSkipped;if(u(a))return ee(n,a.circularDiagnostics),e.ExitStatus.ProjectReferenceCycle_OutputsSkipped;for(var i=n.options,o=n.host,s=i.dry?[]:void 0,c=0,l=a;c<l.length;c++){var d=l[c],p=g(n,d),f=h(n,d,p);if(void 0!==f)for(var m=0,_=e.getAllProjectOutputs(f,!o.useCaseSensitiveFileNames());m<_.length;m++){var y=_[m];o.fileExists(y)&&(s?s.push(y):(o.deleteFile(y),K(n,p,e.ConfigFileProgramReloadLevel.None)))}else te(n,p)}return s&&Z(n,e.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,s.map((function(e){return"\r\n * "+e})).join("")),e.ExitStatus.Success}function K(n,t,r){n.host.getParsedCommandLine&&r===e.ConfigFileProgramReloadLevel.Partial&&(r=e.ConfigFileProgramReloadLevel.Full),r===e.ConfigFileProgramReloadLevel.Full&&(n.configFileCache.delete(t),n.buildOrder=void 0),n.needsSummary=!0,x(n,t),A(n,t,r),S(n)}function H(e,n,t){e.reportFileChangeDetected=!0,K(e,n,t),W(e)}function W(e){var n=e.hostWithWatch;n.setTimeout&&n.clearTimeout&&(e.timerToBuildInvalidatedProject&&n.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=n.setTimeout(q,250,e))}function q(n){n.timerToBuildInvalidatedProject=void 0,n.reportFileChangeDetected&&(n.reportFileChangeDetected=!1,n.projectErrorsReported.clear(),$(n,e.Diagnostics.File_change_detected_Starting_incremental_compilation));var t=E(n),r=k(n,t,!1);r&&(r.done(),n.projectPendingBuild.size)?n.watch&&!n.timerToBuildInvalidatedProject&&W(n):(L(n),re(n,t))}function z(n,t,r,a){n.watch&&!n.allWatchedConfigFiles.has(r)&&n.allWatchedConfigFiles.set(r,n.watchFile(n.hostWithWatch,t,(function(){H(n,r,e.ConfigFileProgramReloadLevel.Full)}),e.PollingInterval.High,null==a?void 0:a.watchOptions,e.WatchType.ConfigFile,t))}function J(n,t,r,a){n.watch&&e.updateWatchingWildcardDirectories(s(n.allWatchedWildcardDirectories,r),new e.Map(e.getEntries(a.configFileSpecs.wildcardDirectories)),(function(i,o){return n.watchDirectory(n.hostWithWatch,i,(function(o){e.isIgnoredFileFromWildCardWatching({watchedDirPath:_(n,i),fileOrDirectory:o,fileOrDirectoryPath:_(n,o),configFileName:t,configFileSpecs:a.configFileSpecs,currentDirectory:n.currentDirectory,options:a.options,program:n.builderPrograms.get(r),useCaseSensitiveFileNames:n.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(e){return n.writeLog(e)}})||H(n,r,e.ConfigFileProgramReloadLevel.Partial)}),o,null==a?void 0:a.watchOptions,e.WatchType.WildcardDirectory,t)}))}function X(n,t,r,a){n.watch&&e.mutateMap(s(n.allWatchedInputFiles,r),e.arrayToMap(a.fileNames,(function(e){return _(n,e)})),{createNewValue:function(i,o){return n.watchFilePath(n.hostWithWatch,o,(function(){return H(n,r,e.ConfigFileProgramReloadLevel.None)}),e.PollingInterval.Low,null==a?void 0:a.watchOptions,i,e.WatchType.SourceFile,t)},onDeleteValue:e.closeFileWatcher})}function Y(n,t,r,a,i){var o=m(n,t,r,a,i);return{build:function(e,n){return V(o,e,n)},clean:function(e){return j(o,e)},buildReferences:function(e,n){return V(o,e,n,!0)},cleanReferences:function(e){return j(o,e,!0)},getNextInvalidatedProject:function(e){return D(o,e),k(o,E(o),!1)},getBuildOrder:function(){return E(o)},getUpToDateStatusOfProject:function(e){var n=v(o,e),t=g(o,n);return F(o,h(o,n,t),t)},invalidateProject:function(n,t){return K(o,n,t||e.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return q(o)},getAllParsedConfigs:function(){return e.arrayFrom(e.mapDefinedIterator(o.configFileCache.values(),(function(e){return y(e)?e:void 0})))},close:function(){return function(n){e.clearMap(n.allWatchedConfigFiles,e.closeFileWatcher),e.clearMap(n.allWatchedWildcardDirectories,(function(n){return e.clearMap(n,e.closeFileWatcherOf)})),e.clearMap(n.allWatchedInputFiles,(function(n){return e.clearMap(n,e.closeFileWatcher)}))}(o)}}}function Q(n,t){return e.convertToRelativePath(t,n.currentDirectory,(function(e){return n.getCanonicalFileName(e)}))}function Z(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];n.host.reportSolutionBuilderStatus(e.createCompilerDiagnostic.apply(void 0,o([t],r)))}function $(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];n.hostWithWatch.onWatchStatusChange&&n.hostWithWatch.onWatchStatusChange(e.createCompilerDiagnostic.apply(void 0,o([t],r)),n.host.getNewLine(),n.baseCompilerOptions)}function ee(e,n){var t=e.host;n.forEach((function(e){return t.reportDiagnostic(e)}))}function ne(e,n,t){ee(e,t),e.projectErrorsReported.set(n,!0),t.length&&e.diagnostics.set(n,t)}function te(e,n){ne(e,n,[e.configFileCache.get(n)])}function re(n,t){if(n.needsSummary){n.needsSummary=!1;var r=n.watch||!!n.host.reportErrorSummary,a=n.diagnostics,i=0;u(t)?(ae(n,t.buildOrder),ee(n,t.circularDiagnostics),r&&(i+=e.getErrorCountForSummary(t.circularDiagnostics))):(t.forEach((function(t){var r=g(n,t);n.projectErrorsReported.has(r)||ee(n,a.get(r)||e.emptyArray)})),r&&a.forEach((function(n){return i+=e.getErrorCountForSummary(n)}))),n.watch?$(n,e.getWatchErrorSummaryDiagnosticMessage(i),i):n.host.reportErrorSummary&&n.host.reportErrorSummary(i)}}function ae(n,t){n.options.verbose&&Z(n,e.Diagnostics.Projects_in_this_build_Colon_0,t.map((function(e){return"\r\n * "+Q(n,e)})).join(""))}function ie(n,t,r){n.options.verbose&&function(n,t,r){switch(r.type){case e.UpToDateStatusType.OutOfDateWithSelf:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Q(n,t),Q(n,r.outOfDateOutputFileName),Q(n,r.newerInputFileName));case e.UpToDateStatusType.OutOfDateWithUpstream:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Q(n,t),Q(n,r.outOfDateOutputFileName),Q(n,r.newerProjectName));case e.UpToDateStatusType.OutputMissing:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,Q(n,t),Q(n,r.missingOutputFileName));case e.UpToDateStatusType.UpToDate:if(void 0!==r.newestInputFileTime)return Z(n,e.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,Q(n,t),Q(n,r.newestInputFileName||""),Q(n,r.oldestOutputFileName||""));break;case e.UpToDateStatusType.OutOfDateWithPrepend:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,Q(n,t),Q(n,r.newerProjectName));case e.UpToDateStatusType.UpToDateWithUpstreamTypes:return Z(n,e.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,Q(n,t));case e.UpToDateStatusType.UpstreamOutOfDate:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,Q(n,t),Q(n,r.upstreamProjectName));case e.UpToDateStatusType.UpstreamBlocked:return Z(n,r.upstreamProjectBlocked?e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,Q(n,t),Q(n,r.upstreamProjectName));case e.UpToDateStatusType.Unbuildable:return Z(n,e.Diagnostics.Failed_to_parse_file_0_Colon_1,Q(n,t),r.reason);case e.UpToDateStatusType.TsVersionOutputOfDate:return Z(n,e.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,Q(n,t),r.version,e.version);case e.UpToDateStatusType.ContainerOnly:case e.UpToDateStatusType.ComputingUpstream:break;default:e.assertType(r)}}(n,t,r)}!function(e){e[e.None=0]="None",e[e.Success=1]="Success",e[e.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",e[e.ConfigFileErrors=4]="ConfigFileErrors",e[e.SyntaxErrors=8]="SyntaxErrors",e[e.TypeErrors=16]="TypeErrors",e[e.DeclarationEmitErrors=32]="DeclarationEmitErrors",e[e.EmitErrors=64]="EmitErrors",e[e.AnyErrors=124]="AnyErrors"}(n||(n={})),e.isCircularBuildOrder=u,e.getBuildOrderFromAnyBuildOrder=d,e.createBuilderStatusReporter=p,e.createSolutionBuilderHost=function(n,t,r,a,i){void 0===n&&(n=e.sys);var o=f(n,t,r,a);return o.reportErrorSummary=i,o},e.createSolutionBuilderWithWatchHost=function(n,t,r,a,i){void 0===n&&(n=e.sys);var o=f(n,t,r,a),s=e.createWatchHost(n,i);return e.copyProperties(o,s),o},e.createSolutionBuilder=function(e,n,t){return Y(!1,e,n,t)},e.createSolutionBuilderWithWatch=function(e,n,t,r){return Y(!0,e,n,t,r)},function(e){e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps"}(t=e.InvalidatedProjectKind||(e.InvalidatedProjectKind={})),function(e){e[e.CreateProgram=0]="CreateProgram",e[e.SyntaxDiagnostics=1]="SyntaxDiagnostics",e[e.SemanticDiagnostics=2]="SemanticDiagnostics",e[e.Emit=3]="Emit",e[e.EmitBundle=4]="EmitBundle",e[e.EmitBuildInfo=5]="EmitBuildInfo",e[e.BuildInvalidatedProjectOfBundle=6]="BuildInvalidatedProjectOfBundle",e[e.QueueReferencingProjects=7]="QueueReferencingProjects",e[e.Done=8]="Done"}(r||(r={}))}(p||(p={})),function(e){!function(n){n.ActionSet="action::set",n.ActionInvalidate="action::invalidate",n.ActionPackageInstalled="action::packageInstalled",n.EventTypesRegistry="event::typesRegistry",n.EventBeginInstallTypes="event::beginInstallTypes",n.EventEndInstallTypes="event::endInstallTypes",n.EventInitializationFailed="event::initializationFailed",function(e){e.GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"}(n.Arguments||(n.Arguments={})),n.hasArgument=function(n){return e.sys.args.indexOf(n)>=0},n.findArgument=function(n){var t=e.sys.args.indexOf(n);return t>=0&&t<e.sys.args.length-1?e.sys.args[t+1]:void 0},n.nowString=function(){var e=new Date;return e.getHours()+":"+e.getMinutes()+":"+e.getSeconds()+"."+e.getMilliseconds()}}(e.server||(e.server={}))}(p||(p={})),function(e){!function(n){function t(n,t){return new e.Version(e.getProperty(t,"ts"+e.versionMajorMinor)||e.getProperty(t,"latest")).compareTo(n.version)<=0}function r(e){return n.nodeCoreModules.has(e)?"node":e}n.isTypingUpToDate=t,n.nodeCoreModuleList=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","http2","inspector","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","tty","url","util","v8","vm","zlib"],n.nodeCoreModules=new e.Set(n.nodeCoreModuleList),n.nonRelativeModuleNameForTypingCache=r,n.loadSafeList=function(n,t){var r=e.readConfigFile(t,(function(e){return n.readFile(e)}));return new e.Map(e.getEntries(r.config))},n.loadTypesMap=function(n,t){var r=e.readConfigFile(t,(function(e){return n.readFile(e)}));if(r.config)return new e.Map(e.getEntries(r.config.simpleMap))},n.discoverTypings=function(n,a,i,o,s,c,l,u,d){if(!l||!l.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var p=new e.Map;i=e.mapDefined(i,(function(n){var t=e.normalizePath(n);if(e.hasJSFileExtension(t))return t}));var f=[];l.include&&S(l.include,"Explicitly included types");var m=l.exclude||[],_=new e.Set(i.map(e.getDirectoryPath));_.add(o),_.forEach((function(n){L(e.combinePaths(n,"package.json"),f),L(e.combinePaths(n,"bower.json"),f),x(e.combinePaths(n,"bower_components"),f),x(e.combinePaths(n,"node_modules"),f)})),function(n){var t=e.mapDefined(n,(function(n){if(e.hasJSFileExtension(n)){var t=e.removeFileExtension(e.getBaseFileName(n.toLowerCase())),r=e.removeMinAndVersionNumbers(t);return s.get(r)}}));t.length&&S(t,"Inferred typings from file names");e.some(n,(function(n){return e.fileExtensionIs(n,".jsx")}))&&(a&&a("Inferred 'react' typings due to presence of '.jsx' extension"),T("react"))}(i),u&&S(e.deduplicate(u.map(r),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive),"Inferred typings from unresolved imports"),c.forEach((function(e,n){var r=d.get(n);p.has(n)&&void 0===p.get(n)&&void 0!==r&&t(e,r)&&p.set(n,e.typingLocation)}));for(var g=0,y=m;g<y.length;g++){var h=y[g];p.delete(h)&&a&&a("Typing for "+h+" is in exclude list, will be ignored.")}var v=[],b=[];p.forEach((function(e,n){void 0!==e?b.push(e):v.push(n)}));var E={cachedTypingPaths:b,newTypingNames:v,filesToWatch:f};return a&&a("Result: "+JSON.stringify(E)),E;function T(e){p.has(e)||p.set(e,void 0)}function S(n,t){a&&a(t+": "+JSON.stringify(n)),e.forEach(n,T)}function L(t,r){if(n.fileExists(t)){r.push(t);var a=e.readConfigFile(t,(function(e){return n.readFile(e)})).config;S(e.flatMap([a.dependencies,a.devDependencies,a.optionalDependencies,a.peerDependencies],e.getOwnKeys),"Typing names in '"+t+"' dependencies")}}function x(t,r){if(r.push(t),n.directoryExists(t)){var i=n.readDirectory(t,[".json"],void 0,void 0,2);a&&a("Searching for typing names in "+t+"; all files: "+JSON.stringify(i));for(var o=[],s=0,c=i;s<c.length;s++){var l=c[s],u=e.normalizePath(l),d=e.getBaseFileName(u);if("package.json"===d||"bower.json"===d){var f=e.readConfigFile(u,(function(e){return n.readFile(e)})).config;if(("package.json"!==d||!f._requiredBy||0!==e.filter(f._requiredBy,(function(e){return"#"===e[0]||"/"===e})).length)&&f.name){var m=f.types||f.typings;if(m){var _=e.getNormalizedAbsolutePath(m,e.getDirectoryPath(u));a&&a(" Package '"+f.name+"' provides its own types."),p.set(f.name,_)}else o.push(f.name)}}}S(o," Found package names")}}},function(e){e[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters"}(n.NameValidationResult||(n.NameValidationResult={}));function a(n,t,r,a){var i=a?"Scope":"Package";switch(t){case 1:return"'"+n+"':: "+i+" name '"+r+"' cannot be empty";case 2:return"'"+n+"':: "+i+" name '"+r+"' should be less than 214 characters";case 3:return"'"+n+"':: "+i+" name '"+r+"' cannot start with '.'";case 4:return"'"+n+"':: "+i+" name '"+r+"' cannot start with '_'";case 5:return"'"+n+"':: "+i+" name '"+r+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(t)}}n.validatePackageName=function(e){return function e(n,t){if(!n)return 1;if(n.length>214)return 2;if(46===n.charCodeAt(0))return 3;if(95===n.charCodeAt(0))return 4;if(t){var r=/^@([^/]+)\/([^/]+)$/.exec(n);if(r){var a=e(r[1],!1);if(0!==a)return{name:r[1],isScopeName:!0,result:a};var i=e(r[2],!1);return 0!==i?{name:r[2],isScopeName:!1,result:i}:0}}if(encodeURIComponent(n)!==n)return 5;return 0}(e,!0)},n.renderPackageNameValidationFailure=function(e,n){return"object"==typeof e?a(n,e.result,e.name,e.isScopeName):a(n,e,n,!1)}}(e.JsTyping||(e.JsTyping={}))}(p||(p={})),function(e){var n,t;function r(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:t.Ignore,trimTrailingWhitespace:!0}}!function(e){var n=function(){function e(e){this.text=e}return e.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new n(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(e){e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto"}(e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={})),function(e){e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic"}(e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={},function(e){e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(n=e.IndentStyle||(e.IndentStyle={})),function(e){e.Ignore="ignore",e.Insert="insert",e.Remove="remove"}(t=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=r,e.testFormatSettings=r("\n"),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))}(p||(p={})),function(e){function n(n){switch(n.kind){case 246:return e.isInJSFile(n)&&e.getJSDocEnumTag(n)?7:1;case 159:case 195:case 162:case 161:case 285:case 286:case 164:case 163:case 165:case 166:case 167:case 248:case 205:case 206:case 284:case 277:return 1;case 158:case 250:case 251:case 176:return 2;case 327:return void 0===n.name?3:2;case 288:case 249:return 3;case 253:return e.isAmbientModule(n)||1===e.getModuleInstanceState(n)?5:4;case 252:case 261:case 262:case 257:case 258:case 263:case 264:return 7;case 294:return 5}return 7}function t(n){for(;156===n.parent.kind;)n=n.parent;return e.isInternalModuleImportEqualsDeclaration(n.parent)&&n.parent.moduleReference===n}function r(e){return e.expression}function a(e){return e.tag}function i(e){return e.tagName}function o(n,t,r,a,i){var o=a?l(n):c(n);return i&&(o=e.skipOuterExpressions(o)),!!o&&!!o.parent&&t(o.parent)&&r(o.parent)===o}function c(e){return p(e)?e.parent:e}function l(e){return p(e)||f(e)?e.parent:e}function u(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isBreakOrContinueStatement))||void 0===t?void 0:t.label)===n}function d(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isLabeledStatement))||void 0===t?void 0:t.label)===n}function p(n){var t;return(null===(t=e.tryCast(n.parent,e.isPropertyAccessExpression))||void 0===t?void 0:t.name)===n}function f(n){var t;return(null===(t=e.tryCast(n.parent,e.isElementAccessExpression))||void 0===t?void 0:t.argumentExpression)===n}e.scanner=e.createScanner(99,!0),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=n,e.getMeaningFromLocation=function(r){return 294===(r=N(r)).kind?1:263===r.parent.kind||269===r.parent.kind||262===r.parent.kind||259===r.parent.kind||e.isImportEqualsDeclaration(r.parent)&&r===r.parent.name?7:t(r)?function(n){var t=156===n.kind?n:e.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0;return t&&257===t.parent.kind?7:4}(r):e.isDeclarationName(r)?n(r.parent):function(n){e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent);switch(n.kind){case 107:return!e.isExpressionNode(n);case 186:return!0}switch(n.parent.kind){case 172:return!0;case 192:return!n.parent.isTypeOf;case 220:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)}return!1}(r)?2:function(e){return function(e){var n=e,t=!0;if(156===n.parent.kind){for(;n.parent&&156===n.parent.kind;)n=n.parent;t=n.right===e}return 172===n.parent.kind&&!t}(e)||function(e){var n=e,t=!0;if(198===n.parent.kind){for(;n.parent&&198===n.parent.kind;)n=n.parent;t=n.name===e}if(!t&&220===n.parent.kind&&283===n.parent.parent.kind){var r=n.parent.parent.parent;return 249===r.kind&&116===n.parent.parent.token||250===r.kind&&93===n.parent.parent.token}return!1}(e)}(r)?4:e.isTypeParameterDeclaration(r.parent)?(e.Debug.assert(e.isJSDocTemplateTag(r.parent.parent)),2):e.isLiteralTypeNode(r.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=t,e.isCallExpressionTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isCallExpression,r,t,a)},e.isNewExpressionTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isNewExpression,r,t,a)},e.isCallOrNewExpressionTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isCallOrNewExpression,r,t,a)},e.isTaggedTemplateTag=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),o(n,e.isTaggedTemplateExpression,a,t,r)},e.isDecoratorTarget=function(n,t,a){return void 0===t&&(t=!1),void 0===a&&(a=!1),o(n,e.isDecorator,r,t,a)},e.isJsxOpeningLikeElementTagName=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),o(n,e.isJsxOpeningLikeElement,i,t,r)},e.climbPastPropertyAccess=c,e.climbPastPropertyOrElementAccess=l,e.getTargetLabel=function(e,n){for(;e;){if(242===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(n,t){return!!e.isPropertyAccessExpression(n.expression)&&n.expression.name.text===t},e.isJumpStatementTarget=u,e.isLabelOfLabeledStatement=d,e.isLabelName=function(e){return d(e)||u(e)},e.isTagName=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isJSDocTag))||void 0===t?void 0:t.tagName)===n},e.isRightSideOfQualifiedName=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isQualifiedName))||void 0===t?void 0:t.right)===n},e.isRightSideOfPropertyAccess=p,e.isArgumentExpressionOfElementAccess=f,e.isNameOfModuleDeclaration=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isModuleDeclaration))||void 0===t?void 0:t.name)===n},e.isNameOfFunctionDeclaration=function(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isFunctionLike))||void 0===t?void 0:t.name)===n},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(n){switch(n.parent.kind){case 162:case 161:case 285:case 288:case 164:case 163:case 166:case 167:case 253:return e.getNameOfDeclaration(n.parent)===n;case 199:return n.parent.argumentExpression===n;case 157:return!0;case 190:return 188===n.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(n){return e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n},e.getContainerNode=function(n){for(e.isJSDocTypeAlias(n)&&(n=n.parent.parent);;){if(!(n=n.parent))return;switch(n.kind){case 294:case 164:case 163:case 248:case 205:case 166:case 167:case 249:case 250:case 252:case 253:return n}}},e.getNodeKind=function n(t){switch(t.kind){case 294:return e.isExternalModule(t)?"module":"script";case 253:return"module";case 249:case 218:return"class";case 250:return"interface";case 251:case 320:case 327:return"type";case 252:return"enum";case 246:return c(t);case 195:return c(e.getRootDeclaration(t));case 206:case 248:case 205:return"function";case 166:return"getter";case 167:return"setter";case 164:case 163:return"method";case 285:var r=t.initializer;return e.isFunctionLike(r)?"method":"property";case 162:case 161:case 286:case 287:return"property";case 170:return"index";case 169:return"construct";case 168:return"call";case 165:return"constructor";case 158:return"type parameter";case 288:return"enum member";case 159:return e.hasSyntacticModifier(t,92)?"property":"parameter";case 257:case 262:case 267:case 260:case 266:return"alias";case 213:var a=e.getAssignmentDeclarationKind(t),i=t.right;switch(a){case 7:case 8:case 9:case 0:return"";case 1:case 2:var o=n(i);return""===o?"const":o;case 3:return e.isFunctionExpression(i)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(i)?"method":"property";case 6:return"local class";default:return e.assertType(a),""}case 78:return e.isImportClause(t.parent)?"alias":"";case 263:var s=n(t.expression);return""===s?"const":s;default:return""}function c(n){return e.isVarConst(n)?"const":e.isLet(n)?"let":"var"}},e.isThis=function(n){switch(n.kind){case 107:return!0;case 78:return e.identifierIsThisKeyword(n)&&159===n.parent.kind;default:return!1}};var m=/^\/\/\/\s*</;function _(e,n){return y(e.pos,e.end,n)}function g(e,n){return e.pos<n&&n<e.end}function y(e,n,t){return e<=t.pos&&n>=t.end}function h(e,n,t,r){return Math.max(e,t)<Math.min(n,r)}function v(n,t,r){var a=n.getChildren(r);if(a.length){var i=e.last(a);if(i.kind===t)return!0;if(26===i.kind&&1!==a.length)return a[a.length-2].kind===t}return!1}function b(e,n,t){return!!E(e,n,t)}function E(n,t,r){return e.find(n.getChildren(r),(function(e){return e.kind===t}))}function T(n){var t=e.find(n.parent.getChildren(),(function(t){return e.isSyntaxList(t)&&_(t,n)}));return e.Debug.assert(!t||e.contains(t.getChildren(),n)),t}function S(e){return 87===e.kind}function L(e){return 83===e.kind}function x(e){return 97===e.kind}function A(n,t){if(!t)switch(n.kind){case 249:case 218:return function(n){if(e.isNamedDeclaration(n))return n.name;if(e.isClassDeclaration(n)){var t=e.find(n.modifiers,S);if(t)return t}if(e.isClassExpression(n)){var r=e.find(n.getChildren(),L);if(r)return r}}(n);case 248:case 205:return function(n){if(e.isNamedDeclaration(n))return n.name;if(e.isFunctionDeclaration(n)){var t=e.find(n.modifiers,S);if(t)return t}if(e.isFunctionExpression(n)){var r=e.find(n.getChildren(),x);if(r)return r}}(n)}if(e.isNamedDeclaration(n))return n.name}function D(n,t){if(n.importClause){if(n.importClause.name&&n.importClause.namedBindings)return;if(n.importClause.name)return n.importClause.name;if(n.importClause.namedBindings){if(e.isNamedImports(n.importClause.namedBindings)){var r=e.singleOrUndefined(n.importClause.namedBindings.elements);if(!r)return;return r.name}if(e.isNamespaceImport(n.importClause.namedBindings))return n.importClause.namedBindings.name}}if(!t)return n.moduleSpecifier}function C(n,t){if(n.exportClause){if(e.isNamedExports(n.exportClause)){if(!e.singleOrUndefined(n.exportClause.elements))return;return n.exportClause.elements[0].name}if(e.isNamespaceExport(n.exportClause))return n.exportClause.name}if(!t)return n.moduleSpecifier}function I(n,t){var r=n.parent;if((e.isModifier(n)&&(t||87!==n.kind)?e.contains(r.modifiers,n):83===n.kind?e.isClassDeclaration(r)||e.isClassExpression(n):97===n.kind?e.isFunctionDeclaration(r)||e.isFunctionExpression(n):117===n.kind?e.isInterfaceDeclaration(r):91===n.kind?e.isEnumDeclaration(r):148===n.kind?e.isTypeAliasDeclaration(r):139===n.kind||138===n.kind?e.isModuleDeclaration(r):99===n.kind?e.isImportEqualsDeclaration(r):134===n.kind?e.isGetAccessorDeclaration(r):145===n.kind&&e.isSetAccessorDeclaration(r))&&(i=A(r,t)))return i;if((112===n.kind||84===n.kind||118===n.kind)&&e.isVariableDeclarationList(r)&&1===r.declarations.length){var a=r.declarations[0];if(e.isIdentifier(a.name))return a.name}if(148===n.kind){if(e.isImportClause(r)&&r.isTypeOnly)if(i=D(r.parent,t))return i;if(e.isExportDeclaration(r)&&r.isTypeOnly)if(i=C(r,t))return i}if(126===n.kind){if(e.isImportSpecifier(r)&&r.propertyName||e.isExportSpecifier(r)&&r.propertyName||e.isNamespaceImport(r)||e.isNamespaceExport(r))return r.name;if(e.isExportDeclaration(r)&&r.exportClause&&e.isNamespaceExport(r.exportClause))return r.exportClause.name}if(99===n.kind&&e.isImportDeclaration(r)&&(i=D(r,t)))return i;if(92===n.kind){var i;if(e.isExportDeclaration(r))if(i=C(r,t))return i;if(e.isExportAssignment(r))return e.skipOuterExpressions(r.expression)}if(142===n.kind&&e.isExternalModuleReference(r))return r.expression;if(152===n.kind&&(e.isImportDeclaration(r)||e.isExportDeclaration(r))&&r.moduleSpecifier)return r.moduleSpecifier;if((93===n.kind||116===n.kind)&&e.isHeritageClause(r)&&r.token===n.kind&&(i=function(e){if(1===e.types.length)return e.types[0].expression}(r)))return i;if(93===n.kind){if(e.isTypeParameterDeclaration(r)&&r.constraint&&e.isTypeReferenceNode(r.constraint))return r.constraint.typeName;if(e.isConditionalTypeNode(r)&&e.isTypeReferenceNode(r.extendsType))return r.extendsType.typeName}if(135===n.kind&&e.isInferTypeNode(r))return r.typeParameter.name;if(100===n.kind&&e.isTypeParameterDeclaration(r)&&e.isMappedTypeNode(r.parent))return r.name;if(137===n.kind&&e.isTypeOperatorNode(r)&&137===r.operator&&e.isTypeReferenceNode(r.type))return r.type.typeName;if(141===n.kind&&e.isTypeOperatorNode(r)&&141===r.operator&&e.isArrayTypeNode(r.type)&&e.isTypeReferenceNode(r.type.elementType))return r.type.elementType.typeName;if(!t){if((102===n.kind&&e.isNewExpression(r)||113===n.kind&&e.isVoidExpression(r)||111===n.kind&&e.isTypeOfExpression(r)||130===n.kind&&e.isAwaitExpression(r)||124===n.kind&&e.isYieldExpression(r)||88===n.kind&&e.isDeleteExpression(r))&&r.expression)return e.skipOuterExpressions(r.expression);if((100===n.kind||101===n.kind)&&e.isBinaryExpression(r)&&r.operatorToken===n)return e.skipOuterExpressions(r.right);if(126===n.kind&&e.isAsExpression(r)&&e.isTypeReferenceNode(r.type))return r.type.typeName;if(100===n.kind&&e.isForInStatement(r)||155===n.kind&&e.isForOfStatement(r))return e.skipOuterExpressions(r.expression)}return n}function N(e){return I(e,!1)}function R(e,n,t){return O(e,n,!1,t,!1)}function k(e,n){return O(e,n,!0,void 0,!1)}function O(e,n,t,r,a){var i=e;e:for(;;){for(var o=0,s=i.getChildren(e);o<s.length;o++){var c=s[o];if((t?c.getFullStart():c.getStart(e,!0))>n)break;var l=c.getEnd();if(n<l||n===l&&(1===c.kind||a)){i=c;continue e}if(r&&l===n){var u=M(n,e,c);if(u&&r(u))return u}}return i}}function P(n,t,r){return function t(a){if(e.isToken(a)&&a.pos===n.end)return a;return e.firstDefined(a.getChildren(r),(function(e){return(e.pos<=n.pos&&e.end>n.end||e.pos===n.end)&&W(e,r)?t(e):void 0}))}(t)}function M(n,t,r,a){var i=function i(o){if(w(o)&&1!==o.kind)return o;for(var s=o.getChildren(t),c=0;c<s.length;c++){var l=s[c];if(n<l.end){if(l.getStart(t,!a)>=n||!W(l,t)||B(l)){var u=G(s,c,t);return u&&F(u,t)}return i(l)}}e.Debug.assert(void 0!==r||294===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var d=G(s,s.length,t);return d&&F(d,t)}(r||t);return e.Debug.assert(!(i&&B(i))),i}function w(n){return e.isToken(n)&&!B(n)}function F(e,n){if(w(e))return e;var t=e.getChildren(n),r=G(t,t.length,n);return r&&F(r,n)}function G(n,t,r){for(var a=t-1;a>=0;a--){if(B(n[a]))e.Debug.assert(a>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(W(n[a],r))return n[a]}}function B(n){return e.isJsxText(n)&&n.containsOnlyTriviaWhiteSpaces}function U(e,n,t){for(var r=e.kind,a=0;;){var i=M(e.getFullStart(),t);if(!i)return;if((e=i).kind===n){if(0===a)return e;a--}else e.kind===r&&a++}}function V(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function j(n,t,r){var a=r.getTypeAtLocation(n);return e.isOptionalChain(n.parent)&&(a=V(a,e.isOptionalChainRoot(n.parent),!0)),(e.isNewExpression(n.parent)?a.getConstructSignatures():a.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=t}))}function K(n,t){for(var r=n,a=0,i=0;r;){switch(r.kind){case 29:if((r=M(r.getFullStart(),t))&&28===r.kind&&(r=M(r.getFullStart(),t)),!r||!e.isIdentifier(r))return;if(!a)return e.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};a--;break;case 49:a=3;break;case 48:a=2;break;case 31:a++;break;case 19:if(!(r=U(r,18,t)))return;break;case 21:if(!(r=U(r,20,t)))return;break;case 23:if(!(r=U(r,22,t)))return;break;case 27:i++;break;case 38:case 78:case 10:case 8:case 9:case 109:case 94:case 111:case 93:case 137:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(r))break;return}r=M(r.getFullStart(),t)}}function H(n,t,r){return e.formatting.getRangeOfEnclosingComment(n,t,void 0,r)}function W(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function q(e,n,t){var r=H(e,n,void 0);return!!r&&t===m.test(e.text.substring(r.pos,r.end))}function z(n,t,r){return e.createTextSpanFromBounds(n.getStart(t),(r||n).getEnd())}function J(n){if(!n.isUnterminated)return e.createTextSpanFromBounds(n.getStart()+1,n.getEnd()-1)}function X(e,n){return{span:e,newText:n}}function Y(e){return 148===e.kind}function Q(n,t){return{fileExists:function(e){return n.fileExists(e)},getCurrentDirectory:function(){return t.getCurrentDirectory()},readFile:e.maybeBind(t,t.readFile),useCaseSensitiveFileNames:e.maybeBind(t,t.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(t,t.getSymlinkCache)||n.getSymlinkCache,getGlobalTypingsCacheLocation:e.maybeBind(t,t.getGlobalTypingsCacheLocation),getSourceFiles:function(){return n.getSourceFiles()},redirectTargetsMap:n.redirectTargetsMap,getProjectReferenceRedirect:function(e){return n.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return n.isSourceOfProjectReferenceRedirect(e)}}}function Z(e,n){return s(s({},Q(e,n)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function $(n,t,r,a,i){return e.factory.createImportDeclaration(void 0,void 0,n||t?e.factory.createImportClause(!!i,n,t&&t.length?e.factory.createNamedImports(t):void 0):void 0,"string"==typeof r?ee(r,a):r)}function ee(n,t){return e.factory.createStringLiteral(n,0===t)}function ne(n,t){return e.isStringDoubleQuoted(n,t)?1:0}function te(n){return"default"!==n.escapedName?n.escapedName:e.firstDefined(n.declarations,(function(n){var t=e.getNameOfDeclaration(n);return t&&78===t.kind?t.escapedText:void 0}))}function re(n,t,r,a){var i=new e.Map;return function n(o){if(!(96&o.flags&&e.addToSeen(i,e.getSymbolId(o))))return;return e.firstDefined(o.declarations,(function(i){return e.firstDefined(e.getAllSuperTypeNodes(i),(function(i){var o=r.getTypeAtLocation(i),s=o&&o.symbol&&r.getPropertyOfType(o,t);return o&&s&&(e.firstDefined(r.getRootSymbols(s),a)||n(o.symbol))}))}))}(n)}function ae(n,t,r){return e.textSpanContainsPosition(n,t.getStart(r))&&t.getEnd()<=e.textSpanEnd(n)}function ie(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function oe(e){return e.declarations&&e.declarations.length>0&&159===e.declarations[0].kind}e.getLineStartPositionForPosition=function(n,t){return e.getLineStarts(t)[t.getLineAndCharacterOfPosition(n).line]},e.rangeContainsRange=_,e.rangeContainsRangeExclusive=function(e,n){return g(e,n.pos)&&g(e,n.end)},e.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},e.rangeContainsPositionExclusive=g,e.startEndContainsRange=y,e.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},e.rangeOverlapsWithStartEnd=function(e,n,t){return h(e.pos,e.end,n,t)},e.nodeOverlapsWithStartEnd=function(e,n,t,r){return h(e.getStart(n),e.end,t,r)},e.startEndOverlapsWithStartEnd=h,e.positionBelongsToNode=function(n,t,r){return e.Debug.assert(n.pos<=t),t<n.end||!function n(t,r){if(void 0===t||e.nodeIsMissing(t))return!1;switch(t.kind){case 249:case 250:case 252:case 197:case 193:case 176:case 227:case 254:case 255:case 261:case 265:return v(t,19,r);case 284:return n(t.block,r);case 201:if(!t.arguments)return!0;case 200:case 204:case 185:return v(t,21,r);case 173:case 174:return n(t.type,r);case 165:case 166:case 167:case 248:case 205:case 164:case 163:case 169:case 168:case 206:return t.body?n(t.body,r):t.type?n(t.type,r):b(t,21,r);case 253:return!!t.body&&n(t.body,r);case 231:return t.elseStatement?n(t.elseStatement,r):n(t.thenStatement,r);case 230:return n(t.expression,r)||b(t,26,r);case 196:case 194:case 199:case 157:case 178:return v(t,23,r);case 170:return t.type?n(t.type,r):b(t,23,r);case 281:case 282:return!1;case 234:case 235:case 236:case 233:return n(t.statement,r);case 232:return b(t,114,r)?v(t,21,r):n(t.statement,r);case 175:return n(t.exprName,r);case 208:case 207:case 209:case 216:case 217:return n(t.expression,r);case 202:return n(t.template,r);case 215:var a=e.lastOrUndefined(t.templateSpans);return n(a,r);case 225:return e.nodeIsPresent(t.literal);case 264:case 258:return e.nodeIsPresent(t.moduleSpecifier);case 211:return n(t.operand,r);case 213:return n(t.right,r);case 214:return n(t.whenFalse,r);default:return!0}}(n,r)},e.findListItemInfo=function(n){var t=T(n);if(t){var r=t.getChildren();return{listItemIndex:e.indexOfNode(r,n),list:t}}},e.hasChildOfKind=b,e.findChildOfKind=E,e.findContainingList=T,e.getAdjustedReferenceLocation=N,e.getAdjustedRenameLocation=function(e){return I(e,!0)},e.getTouchingPropertyName=function(n,t){return R(n,t,(function(n){return e.isPropertyNameLiteral(n)||e.isKeyword(n.kind)||e.isPrivateIdentifier(n)}))},e.getTouchingToken=R,e.getTokenAtPosition=k,e.findTokenOnLeftOfPosition=function(n,t){var r=k(n,t);return e.isToken(r)&&t>r.getStart(n)&&t<r.getEnd()?r:M(t,n)},e.findNextToken=P,e.findPrecedingToken=M,e.isInString=function(n,t,r){if(void 0===r&&(r=M(t,n)),r&&e.isStringTextContainingNode(r)){var a=r.getStart(n),i=r.getEnd();if(a<t&&t<i)return!0;if(t===i)return!!r.isUnterminated}return!1},e.isInsideJsxElementOrAttribute=function(e,n){var t=k(e,n);return!!t&&(11===t.kind||(29===t.kind&&11===t.parent.kind||(29===t.kind&&280===t.parent.kind||(!(!t||19!==t.kind||280!==t.parent.kind)||29===t.kind&&273===t.parent.kind))))},e.isInTemplateString=function(n,t){var r=k(n,t);return e.isTemplateLiteralKind(r.kind)&&t>r.getStart(n)},e.isInJSXText=function(n,t){var r=k(n,t);return!!e.isJsxText(r)||(!(18!==r.kind||!e.isJsxExpression(r.parent)||!e.isJsxElement(r.parent.parent))||!(29!==r.kind||!e.isJsxOpeningLikeElement(r.parent)||!e.isJsxElement(r.parent.parent)))},e.isInsideJsxElement=function(e,n){return function(t){for(;t;)if(t.kind>=271&&t.kind<=280||11===t.kind||29===t.kind||31===t.kind||78===t.kind||19===t.kind||18===t.kind||43===t.kind)t=t.parent;else{if(270!==t.kind)return!1;if(n>t.getStart(e))return!0;t=t.parent}return!1}(k(e,n))},e.findPrecedingMatchingToken=U,e.removeOptionality=V,e.isPossiblyTypeArgumentPosition=function n(t,r,a){var i=K(t,r);return void 0!==i&&(e.isPartOfTypeNode(i.called)||0!==j(i.called,i.nTypeArguments,a).length||n(i.called,r,a))},e.getPossibleGenericSignatures=j,e.getPossibleTypeArgumentsInfo=K,e.isInComment=H,e.hasDocComment=function(n,t){var r=k(n,t);return!!e.findAncestor(r,e.isJSDoc)},e.getNodeModifiers=function(n){var t=e.isDeclaration(n)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(n):0,r=[];return 8&t&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),32&t&&r.push("static"),128&t&&r.push("abstract"),1&t&&r.push("export"),8192&t&&r.push("deprecated"),8388608&n.flags&&r.push("declare"),263===n.kind&&r.push("export"),r.length>0?r.join(","):""},e.getTypeArgumentOrTypeParameterList=function(n){return 172===n.kind||200===n.kind?n.typeArguments:e.isFunctionLike(n)||249===n.kind||250===n.kind?n.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(n){return!(10!==n&&13!==n&&!e.isTemplateLiteralKind(n))},e.isPunctuation=function(e){return 18<=e&&e<=77},e.isInsideTemplateLiteral=function(n,t,r){return e.isTemplateLiteralKind(n.kind)&&n.getStart(r)<t&&t<n.end||!!n.isUnterminated&&t===n.end},e.isAccessibilityModifier=function(e){switch(e){case 122:case 120:case 121:return!0}return!1},e.cloneCompilerOptions=function(n){var t=e.clone(n);return e.setConfigFileInOptions(t,n&&n.configFile),t},e.isArrayLiteralOrObjectLiteralDestructuringPattern=function e(n){if(196===n.kind||197===n.kind){if(213===n.parent.kind&&n.parent.left===n&&62===n.parent.operatorToken.kind)return!0;if(236===n.parent.kind&&n.parent.initializer===n)return!0;if(e(285===n.parent.kind?n.parent.parent:n.parent))return!0}return!1},e.isInReferenceComment=function(e,n){return q(e,n,!0)},e.isInNonReferenceComment=function(e,n){return q(e,n,!1)},e.getReplacementSpanForContextToken=function(e){if(e)switch(e.kind){case 10:case 14:return J(e);default:return z(e)}},e.createTextSpanFromNode=z,e.createTextSpanFromStringLiteralLikeContent=J,e.createTextRangeFromNode=function(n,t){return e.createRange(n.getStart(t),n.end)},e.createTextSpanFromRange=function(n){return e.createTextSpanFromBounds(n.pos,n.end)},e.createTextRangeFromSpan=function(n){return e.createRange(n.start,n.start+n.length)},e.createTextChangeFromStartLength=function(n,t,r){return X(e.createTextSpan(n,t),r)},e.createTextChange=X,e.typeKeywords=[128,127,154,131,94,137,140,103,143,144,141,146,147,109,113,149,150,151],e.isTypeKeyword=function(n){return e.contains(e.typeKeywords,n)},e.isTypeKeywordToken=Y,e.isExternalModuleSymbol=function(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)},e.nodeSeenTracker=function(){var n=[];return function(t){var r=e.getNodeId(t);return!n[r]&&(n[r]=!0)}},e.getSnapshotText=function(e){return e.getText(0,e.getLength())},e.repeatString=function(e,n){for(var t="",r=0;r<n;r++)t+=e;return t},e.skipConstraint=function(e){return e.isTypeParameter()&&e.getConstraint()||e},e.getNameFromPropertyName=function(n){return 157===n.kind?e.isStringOrNumericLiteralLike(n.expression)?n.expression.text:void 0:e.isPrivateIdentifier(n)?e.idText(n):e.getTextOfIdentifierOrLiteral(n)},e.programContainsModules=function(e){return e.getSourceFiles().some((function(n){return!(n.isDeclarationFile||e.isSourceFileFromExternalLibrary(n)||!n.externalModuleIndicator&&!n.commonJsModuleIndicator)}))},e.programContainsEs6Modules=function(e){return e.getSourceFiles().some((function(n){return!n.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(n)&&!!n.externalModuleIndicator}))},e.compilerOptionsIndicateEs6Modules=function(e){return!!e.module||e.target>=2||!!e.noEmit},e.createModuleSpecifierResolutionHost=Q,e.getModuleSpecifierResolverHost=Z,e.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?$(e,n,t,r):void 0},e.makeImport=$,e.makeStringLiteral=ee,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=ne,e.getQuotePreference=function(n,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;var r=n.imports&&e.find(n.imports,e.isStringLiteral);return r?ne(r,n):1},e.getQuoteFromPreference=function(n){switch(n){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(n)}},e.symbolNameNoDefault=function(n){var t=te(n);return void 0===t?void 0:e.unescapeLeadingUnderscores(t)},e.symbolEscapedNameNoDefault=te,e.isObjectBindingElementWithoutPropertyName=function(n){return e.isBindingElement(n)&&e.isObjectBindingPattern(n.parent)&&e.isIdentifier(n.name)&&!n.propertyName},e.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},e.getPropertySymbolsFromBaseTypes=re,e.isMemberSymbolInBaseType=function(e,n){return re(e.parent,e.name,n,(function(e){return!0}))||!1},e.getParentNodeInSpan=function(n,t,r){if(n)for(;n.parent;){if(e.isSourceFile(n.parent)||!ae(r,n.parent,t))return n;n=n.parent}},e.findModifier=function(n,t){return n.modifiers&&e.find(n.modifiers,(function(e){return e.kind===t}))},e.insertImports=function(n,t,r,a){var i=229===(e.isArray(r)?r[0]:r).kind?e.isRequireVariableStatement:e.isAnyImportSyntax,o=e.filter(t.statements,i),s=e.isArray(r)?e.stableSort(r,e.OrganizeImports.compareImportsOrRequireStatements):[r];if(o.length)if(o&&e.OrganizeImports.importsAreSorted(o))for(var c=0,l=s;c<l.length;c++){var u=l[c],d=e.OrganizeImports.getImportDeclarationInsertionIndex(o,u);if(0===d){var p=o[0]===t.statements[0]?{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude}:{};n.insertNodeBefore(t,o[0],u,!1,p)}else{var f=o[d-1];n.insertNodeAfter(t,f,u)}}else{var m=e.lastOrUndefined(o);m?n.insertNodesAfter(t,m,s):n.insertNodesAtTopOfFile(t,s,a)}else n.insertNodesAtTopOfFile(t,s,a)},e.getTypeKeywordOfTypeOnlyImport=function(n,t){return e.Debug.assert(n.isTypeOnly),e.cast(n.getChildAt(0,t),Y)},e.textSpansEqual=ie,e.documentSpansEqual=function(e,n){return e.fileName===n.fileName&&ie(e.textSpan,n.textSpan)},e.forEachUnique=function(e,n){if(e)for(var t=0;t<e.length;t++)if(e.indexOf(e[t])===t){var r=n(e[t],t);if(r)return r}},e.isTextWhiteSpaceLike=function(n,t,r){for(var a=t;a<r;a++)if(!e.isWhiteSpaceLike(n.charCodeAt(a)))return!1;return!0},e.isFirstDeclarationOfSymbolParameter=oe;var se=function(){var n,t,r,a,i=10*e.defaultMaximumTruncationLength;l();var o=function(n){return c(n,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var t=n.length&&n[n.length-1].text;return a>i&&t&&"..."!==t&&(e.isWhiteSpaceLike(t.charCodeAt(t.length-1))||n.push(le(" ",e.SymbolDisplayPartKind.space)),n.push(le("...",e.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(n){return c(n,e.SymbolDisplayPartKind.keyword)},writeOperator:function(n){return c(n,e.SymbolDisplayPartKind.operator)},writePunctuation:function(n){return c(n,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(n){return c(n,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(n){return c(n,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(n){return c(n,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(n){return c(n,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(n){return c(n,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(n){return c(n,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){if(a>i)return;s(),a+=e.length,n.push(ce(e,t))},writeLine:function(){if(a>i)return;a+=1,n.push(pe()),t=!0},write:o,writeComment:o,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return r},increaseIndent:function(){r++},decreaseIndent:function(){r--},clear:l,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function s(){if(!(a>i)&&t){var o=e.getIndentString(r);o&&(a+=o.length,n.push(le(o,e.SymbolDisplayPartKind.space))),t=!1}}function c(e,t){a>i||(s(),a+=e.length,n.push(le(e,t)))}function l(){n=[],t=!0,r=0,a=0}}();function ce(n,t){return le(n,function(n){var t=n.flags;if(3&t)return oe(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&t)return e.SymbolDisplayPartKind.propertyName;if(32768&t)return e.SymbolDisplayPartKind.propertyName;if(65536&t)return e.SymbolDisplayPartKind.propertyName;if(8&t)return e.SymbolDisplayPartKind.enumMemberName;if(16&t)return e.SymbolDisplayPartKind.functionName;if(32&t)return e.SymbolDisplayPartKind.className;if(64&t)return e.SymbolDisplayPartKind.interfaceName;if(384&t)return e.SymbolDisplayPartKind.enumName;if(1536&t)return e.SymbolDisplayPartKind.moduleName;if(8192&t)return e.SymbolDisplayPartKind.methodName;if(262144&t)return e.SymbolDisplayPartKind.typeParameterName;if(524288&t)return e.SymbolDisplayPartKind.aliasName;if(2097152&t)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(t))}function le(n,t){return{text:n,kind:e.SymbolDisplayPartKind[t]}}function ue(n){return le(e.tokenToString(n),e.SymbolDisplayPartKind.keyword)}function de(n){return le(n,e.SymbolDisplayPartKind.text)}e.symbolPart=ce,e.displayPart=le,e.spacePart=function(){return le(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=ue,e.punctuationPart=function(n){return le(e.tokenToString(n),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(n){return le(e.tokenToString(n),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(n){var t=e.stringToToken(n);return void 0===t?de(n):ue(t)},e.textPart=de;function pe(){return le("\n",e.SymbolDisplayPartKind.lineBreak)}function fe(e){try{return e(se),se.displayParts()}finally{se.clear()}}function me(e){return 0!=(33554432&e.flags)}function _e(e){return 0!=(2097152&e.flags)}function ge(e,n){void 0===n&&(n=!0);var t=e&&he(e);return t&&!n&&ve(t),t}function ye(n,t,r,a,i){var o;if(void 0===t&&(t=!0),r&&a&&e.isBindingElement(n)&&e.isIdentifier(n.name)&&e.isObjectBindingPattern(n.parent))(c=(s=a.getSymbolAtLocation(n.name))&&r.get(String(e.getSymbolId(s))))&&c.text!==(n.name||n.propertyName).getText()&&(o=e.setOriginalNode(e.factory.createBindingElement(n.dotDotDotToken,n.propertyName||n.name,c,n.initializer),n));else if(r&&a&&e.isIdentifier(n)){var s,c;(c=(s=a.getSymbolAtLocation(n))&&r.get(String(e.getSymbolId(s))))&&(o=e.setOriginalNode(e.factory.createIdentifier(c.text),n))}return o||(o=he(n,r,a,i)),o&&!t&&ve(o),i&&o&&i(n,o),o}function he(n,t,r,a){var i=t||r||a?e.visitEachChild(n,(function(e){return ye(e,!0,t,r,a)}),e.nullTransformationContext):e.visitEachChild(n,ge,e.nullTransformationContext);if(i===n){var o=e.isStringLiteral(n)?e.setOriginalNode(e.factory.createStringLiteralFromNode(n),n):e.isNumericLiteral(n)?e.setOriginalNode(e.factory.createNumericLiteral(n.text,n.numericLiteralFlags),n):e.factory.cloneNode(n);return e.setTextRange(o,n)}return i.parent=void 0,i}function ve(e){be(e),Ee(e)}function be(e){Te(e,512,Se)}function Ee(n){Te(n,1024,e.getLastChild)}function Te(n,t,r){e.addEmitFlags(n,t);var a=r(n);a&&Te(a,t,r)}function Se(e){return e.forEachChild((function(e){return e}))}function Le(n,t,r,a,i){e.forEachLeadingCommentRange(r.text,n.pos,De(t,r,a,i,e.addSyntheticLeadingComment))}function xe(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.end,De(t,r,a,i,e.addSyntheticTrailingComment))}function Ae(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.pos,De(t,r,a,i,e.addSyntheticLeadingComment))}function De(e,n,t,r,a){return function(i,o,s,c){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:c)}}function Ce(n,t){if(e.startsWith(n,t))return 0;var r=n.indexOf(" "+t);return-1===r&&(r=n.indexOf("."+t)),-1===r&&(r=n.indexOf('"'+t)),-1===r?-1:r+1}function Ie(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function Ne(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function Re(e){return 168===e||169===e||170===e||161===e||163===e}function ke(e){return 248===e||165===e||164===e||166===e||167===e}function Oe(e){return 253===e}function Pe(e){return 229===e||230===e||232===e||237===e||238===e||239===e||243===e||245===e||162===e||251===e||258===e||257===e||264===e||256===e||263===e}function Me(e,n){return Fe(e,e.fileExists,n)}function we(e){try{return e()}catch(e){return}}function Fe(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return we((function(){return n&&n.apply(e,t)}))}function Ge(n,t){if(t.readFile){var r=function(e){try{return JSON.parse(e)}catch(e){return}}(t.readFile(n)||""),a={};if(r)for(var i=0,o=["dependencies","devDependencies","optionalDependencies","peerDependencies"];i<o.length;i++){var c=o[i],l=r[c];if(l){var u=new e.Map;for(var d in l)u.set(d,l[d]);a[c]=u}}var p=[[1,a.dependencies],[2,a.devDependencies],[8,a.optionalDependencies],[4,a.peerDependencies]];return s(s({},a),{parseable:!!r,fileName:n,get:f,has:function(e,n){return!!f(e,n)}})}function f(e,n){void 0===n&&(n=15);for(var t=0,r=p;t<r.length;t++){var a=r[t],i=a[0],o=a[1];if(o&&n&i){var s=o.get(e);if(void 0!==s)return s}}}}function Be(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function Ue(n){var t=n.getSourceFile();return!(!t.externalModuleIndicator&&!t.commonJsModuleIndicator)&&(e.isInJSFile(n)||!e.findAncestor(n,e.isGlobalScopeAugmentation))}e.getNewLineOrDefaultFromHost=function(e,n){var t;return(null==n?void 0:n.newLineCharacter)||(null===(t=e.getNewLine)||void 0===t?void 0:t.call(e))||"\r\n"},e.lineBreakPart=pe,e.mapToDisplayParts=fe,e.typeToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),fe((function(a){e.writeType(n,t,17408|r,a)}))},e.symbolToDisplayParts=function(e,n,t,r,a){return void 0===a&&(a=0),fe((function(i){e.writeSymbol(n,t,r,8|a,i)}))},e.signatureToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),r|=25632,fe((function(a){e.writeSignature(n,t,r,void 0,a)}))},e.isImportOrExportSpecifierName=function(n){return!!n.parent&&e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n},e.getScriptKind=function(n,t){return e.ensureScriptKind(n,t.getScriptKind&&t.getScriptKind(n))},e.getSymbolTarget=function(n,t){for(var r=n;_e(r)||me(r)&&r.target;)r=me(r)&&r.target?r.target:e.skipAlias(r,t);return r},e.getUniqueSymbolId=function(n,t){return e.getSymbolId(e.skipAlias(n,t))},e.getFirstNonSpaceCharacterPosition=function(n,t){for(;e.isWhiteSpaceLike(n.charCodeAt(t));)t+=1;return t},e.getPrecedingNonSpaceCharacterPosition=function(n,t){for(;t>-1&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));)t-=1;return t+1},e.getSynthesizedDeepClone=ge,e.getSynthesizedDeepCloneWithRenames=ye,e.getSynthesizedDeepClones=function(n,t){return void 0===t&&(t=!0),n&&e.factory.createNodeArray(n.map((function(e){return ge(e,t)})),n.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=ve,e.suppressLeadingTrivia=be,e.suppressTrailingTrivia=Ee,e.copyComments=function(e,n){var t=e.getSourceFile();!function(e,n){for(var t=e.getFullStart(),r=e.getStart(),a=t;a<r;a++)if(10===n.charCodeAt(a))return!0;return!1}(e,t.text)?Ae(e,n,t):Le(e,n,t),xe(e,n,t)},e.getUniqueName=function(n,t){for(var r=n,a=1;!e.isFileLevelUniqueName(t,r);a++)r=n+"_"+a;return r},e.getRenameLocation=function(n,t,r,a){for(var i=0,o=-1,s=0,c=n;s<c.length;s++){var l=c[s],u=l.fileName,d=l.textChanges;e.Debug.assert(u===t);for(var p=0,f=d;p<f.length;p++){var m=f[p],_=m.span,g=m.newText,y=Ce(g,r);if(-1!==y&&(o=_.start+i+y,!a))return o;i+=g.length-_.length}}return e.Debug.assert(a),e.Debug.assert(o>=0),o},e.copyLeadingComments=Le,e.copyTrailingComments=xe,e.copyTrailingAsLeadingComments=Ae,e.needsParentheses=function(n){return e.isBinaryExpression(n)&&27===n.operatorToken.kind||e.isObjectLiteralExpression(n)},e.getContextualTypeFromParent=function(e,n){var t=e.parent;switch(t.kind){case 201:return n.getContextualType(t);case 213:var r=t,a=r.left,i=r.operatorToken,o=r.right;return Ie(i.kind)?n.getTypeAtLocation(e===o?a:o):n.getContextualType(e);case 281:return t.expression===e?Ne(t,n):void 0;default:return n.getContextualType(e)}},e.quote=function(n,t){var r=t.quotePreference||"auto",a=JSON.stringify(n);switch(r){case"auto":case"double":return a;case"single":return"'"+e.stripQuotes(a).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(r)}},e.isEqualityOperatorKind=Ie,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 215:case 202:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=Ne,e.ANONYMOUS="anonymous function",e.getTypeNodeIfAccessible=function(e,n,t,r){var a=t.getTypeChecker(),i=!0,o=function(){i=!1},s=a.typeToTypeNode(e,n,void 0,{trackSymbol:function(e,n,t){i=i&&0===a.isSymbolAccessible(e,n,t,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:Z(t,r)});return i?s:void 0},e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Re,e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=ke,e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=Oe,e.syntaxRequiresTrailingSemicolonOrASI=Pe,e.syntaxMayBeASICandidate=e.or(Re,ke,Oe,Pe),e.positionIsASICandidate=function(n,t,r){var a=e.findAncestor(t,(function(t){return t.end!==n?"quit":e.syntaxMayBeASICandidate(t.kind)}));return!!a&&function(n,t){var r=n.getLastToken(t);if(r&&26===r.kind)return!1;if(Re(n.kind)){if(r&&27===r.kind)return!1}else if(Oe(n.kind)){if((a=e.last(n.getChildren(t)))&&e.isModuleBlock(a))return!1}else if(ke(n.kind)){var a;if((a=e.last(n.getChildren(t)))&&e.isFunctionBlock(a))return!1}else if(!Pe(n.kind))return!1;if(232===n.kind)return!0;var i=P(n,e.findAncestor(n,(function(e){return!e.parent})),t);return!i||19===i.kind||t.getLineAndCharacterOfPosition(n.getEnd()).line!==t.getLineAndCharacterOfPosition(i.getStart(t)).line}(a,r)},e.probablyUsesSemicolons=function(n){var t=0,r=0;return e.forEachChild(n,(function a(i){if(Pe(i.kind)){var o=i.getLastToken(n);o&&26===o.kind?t++:r++}return t+r>=5||e.forEachChild(i,a)})),0===t&&r<=1||t/r>.2},e.tryGetDirectories=function(e,n){return Fe(e,e.getDirectories,n)||[]},e.tryReadDirectory=function(n,t,r,a,i){return Fe(n,n.readDirectory,t,r,a,i)||e.emptyArray},e.tryFileExists=Me,e.tryDirectoryExists=function(n,t){return we((function(){return e.directoryProbablyExists(t,n)}))||!1},e.tryAndIgnoreErrors=we,e.tryIOAndConsumeErrors=Fe,e.findPackageJsons=function(n,t,r){var a=[];return e.forEachAncestorDirectory(n,(function(n){if(n===r)return!0;var i=e.combinePaths(n,"package.json");Me(t,i)&&a.push(i)})),a},e.findPackageJson=function(n,t){var r;return e.forEachAncestorDirectory(n,(function(n){return"node_modules"===n||(!!(r=e.findConfigFile(n,(function(e){return Me(t,e)}),"package.json"))||void 0)})),r},e.getPackageJsonsVisibleToFile=function(n,t){if(!t.fileExists)return[];var r=[];return e.forEachAncestorDirectory(e.getDirectoryPath(n),(function(n){var a=e.combinePaths(n,"package.json");if(t.fileExists(a)){var i=Ge(a,t);i&&r.push(i)}})),r},e.createPackageJsonInfo=Ge,e.consumesNodeCoreModules=function(n){return e.some(n.imports,(function(n){var t=n.text;return e.JsTyping.nodeCoreModules.has(t)}))},e.isInsideNodeModules=function(n){return e.contains(e.getPathComponents(n),"node_modules")},e.isDiagnosticWithLocation=Be,e.findDiagnosticForNode=function(n,t){var r=z(n),a=e.binarySearchKey(t,r,e.identity,e.compareTextSpans);if(a>=0){var i=t[a];return e.Debug.assertEqual(i.file,n.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(i,Be)}},e.getDiagnosticsWithinSpan=function(n,t){var r,a=e.binarySearchKey(t,n.start,(function(e){return e.start}),e.compareValues);for(a<0&&(a=~a);(null===(r=t[a-1])||void 0===r?void 0:r.start)===n.start;)a--;for(var i=[],o=e.textSpanEnd(n);;){var s=e.tryCast(t[a],Be);if(!s||s.start>o)break;e.textSpanContainsTextSpan(n,s)&&i.push(s),a++}return i},e.getRefactorContextSpan=function(n){var t=n.startPosition,r=n.endPosition;return e.createTextSpanFromBounds(t,void 0===r?t:r)},e.mapOneOrMany=function(n,t,r){return void 0===r&&(r=e.identity),n?e.isArray(n)?r(e.map(n,t)):t(n,0):void 0},e.firstOrOnly=function(n){return e.isArray(n)?e.first(n):n},e.getNameForExportedSymbol=function(n,t){return"export="===n.escapedName||"default"===n.escapedName?e.firstDefined(n.declarations,(function(n){return e.isExportAssignment(n)&&e.isIdentifier(n.expression)?n.expression.text:void 0}))||e.codefix.moduleSymbolToValidIdentifier(function(n){var t;return e.Debug.checkDefined(n.parent,"Symbol parent was undefined. Flags: "+e.Debug.formatSymbolFlags(n.flags)+". Declarations: "+(null===(t=n.declarations)||void 0===t?void 0:t.map((function(n){var t=e.Debug.formatSyntaxKind(n.kind),r=e.isInJSFile(n),a=n.expression;return(r?"[JS]":"")+t+(a?" (expression: "+e.Debug.formatSyntaxKind(a.kind)+")":"")})).join(", "))+".")}(n),t):n.name},e.stringContainsAt=function(e,n,t){var r=n.length;if(r+t>e.length)return!1;for(var a=0;a<r;a++)if(n.charCodeAt(a)!==e.charCodeAt(a+t))return!1;return!0},e.startsWithUnderscore=function(e){return 95===e.charCodeAt(0)},e.isGlobalDeclaration=function(e){return!Ue(e)},e.isNonGlobalDeclaration=Ue}(p||(p={})),function(e){e.createClassifier=function(){var o=e.createScanner(99,!1);function s(a,s,c){var l=0,u=0,d=[],p=function(n){switch(n){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(n)}}(s),f=p.prefix,m=p.pushTemplate;a=f+a;var _=f.length;m&&d.push(15),o.setText(a);var g=0,y=[],h=0;do{l=o.scan(),e.isTrivia(l)||(E(),u=l);var v=o.getTextPos();if(r(o.getTokenPos(),v,_,i(l),y),v>=a.length){var b=t(o,l,e.lastOrUndefined(d));void 0!==b&&(g=b)}}while(1!==l);function E(){switch(l){case 43:case 67:n[u]||13!==o.reScanSlashToken()||(l=13);break;case 29:78===u&&h++;break;case 31:h>0&&h--;break;case 128:case 146:case 143:case 131:case 147:h>0&&!c&&(l=78);break;case 15:d.push(l);break;case 18:d.length>0&&d.push(l);break;case 19:if(d.length>0){var t=e.lastOrUndefined(d);15===t?17===(l=o.reScanTemplateToken(!1))?d.pop():e.Debug.assertEqual(l,16,"Should have been a template middle."):(e.Debug.assertEqual(t,18,"Should have been an open brace"),d.pop())}break;default:if(!e.isKeyword(l))break;(24===u||e.isKeyword(u)&&e.isKeyword(l)&&!function(n,t){if(!e.isAccessibilityModifier(n))return!0;switch(t){case 134:case 145:case 132:case 123:return!0;default:return!1}}(u,l))&&(l=78)}}return{endOfLineState:g,spans:y}}return{getClassificationsForLine:function(n,t,r){return function(n,t){for(var r=[],i=n.spans,o=0,s=0;s<i.length;s+=3){var c=i[s],l=i[s+1],u=i[s+2];if(o>=0){var d=c-o;d>0&&r.push({length:d,classification:e.TokenClass.Whitespace})}r.push({length:l,classification:a(u)}),o=c+l}var p=t.length-o;p>0&&r.push({length:p,classification:e.TokenClass.Whitespace});return{entries:r,finalLexState:n.endOfLineState}}(s(n,t,r),n)},getEncodedLexicalClassifications:s}};var n=e.arrayToNumericMap([78,10,8,9,13,107,45,46,21,23,19,109,94],(function(e){return e}),(function(){return!0}));function t(n,t,r){switch(t){case 10:if(!n.isUnterminated())return;for(var a=n.getTokenText(),i=a.length-1,o=0;92===a.charCodeAt(i-o);)o++;if(0==(1&o))return;return 34===a.charCodeAt(0)?3:2;case 3:return n.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(t)){if(!n.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}function r(e,n,t,r,a){if(8!==r){0===e&&t>0&&(e+=t);var i=n-e;i>0&&a.push(e-t,i,r)}}function a(n){switch(n){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return}}function i(n){if(e.isKeyword(n))return 3;if(function(e){switch(e){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 101:case 100:case 126:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 77:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:case 74:case 75:case 76:return!0;default:return!1}}(n)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(n))return 5;if(n>=18&&n<=77)return 10;switch(n){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 78:default:return e.isTemplateLiteralKind(n)?6:2}}function o(e,n){switch(n){case 253:case 249:case 250:case 248:case 218:case 205:case 206:e.throwIfCancellationRequested()}}function s(n,t,r,a,i){var s=[];return r.forEachChild((function c(l){if(l&&e.textSpanIntersectsWith(i,l.pos,l.getFullWidth())){if(o(t,l.kind),e.isIdentifier(l)&&!e.nodeIsMissing(l)&&a.has(l.escapedText)){var u=n.getSymbolAtLocation(l),d=u&&function n(t,r,a){var i=t.getFlags();return 0==(2885600&i)?void 0:32&i?11:384&i?12:524288&i?16:1536&i?4&r||1&r&&function(n){return e.some(n.declarations,(function(n){return e.isModuleDeclaration(n)&&1===e.getModuleInstanceState(n)}))}(t)?14:void 0:2097152&i?n(a.getAliasedSymbol(t),r,a):2&r?64&i?13:262144&i?15:void 0:void 0}(u,e.getMeaningFromLocation(l),n);d&&function(n,t,r){var a=t-n;e.Debug.assert(a>0,"Classification had non-positive length of "+a),s.push(n),s.push(a),s.push(r)}(l.getStart(r),l.getEnd(),d)}l.forEachChild(c)}})),{spans:s,endOfLineState:0}}function c(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function l(n){e.Debug.assert(n.spans.length%3==0);for(var t=n.spans,r=[],a=0;a<t.length;a+=3)r.push({textSpan:e.createTextSpan(t[a],t[a+1]),classificationType:c(t[a+2])});return r}function u(n,t,r){var a=r.start,i=r.length,s=e.createScanner(99,!1,t.languageVariant,t.text),c=e.createScanner(99,!1,t.languageVariant,t.text),l=[];return h(t),{spans:l,endOfLineState:0};function u(e,n,t){l.push(e),l.push(n),l.push(t)}function d(n,r,a,i){if(3===r){var o=e.parseIsolatedJSDocComment(t.text,a,i);if(o&&o.jsDoc)return e.setParent(o.jsDoc,n),void function(e){var n=e.pos;if(e.tags)for(var t=0,r=e.tags;t<r.length;t++){var a=r[t];switch(a.pos!==n&&p(n,a.pos-n),u(a.pos,1,10),u(a.tagName.pos,a.tagName.end-a.tagName.pos,18),n=a.tagName.end,a.kind){case 322:i(a);break;case 326:f(a),n=a.end;break;case 325:case 323:h(a.typeExpression),n=a.end}}n!==e.end&&p(n,e.end-n);return;function i(e){e.isNameFirst&&(p(n,e.name.pos-n),u(e.name.pos,e.name.end-e.name.pos,17),n=e.name.end),e.typeExpression&&(p(n,e.typeExpression.pos-n),h(e.typeExpression),n=e.typeExpression.end),e.isNameFirst||(p(n,e.name.pos-n),u(e.name.pos,e.name.end-e.name.pos,17),n=e.name.end)}}(o.jsDoc)}else if(2===r&&function(n,r){var a=/(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,i=t.text.substr(n,r),o=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im.exec(i);if(!o)return!1;if(!o[3]||!(o[3]in e.commentPragmas))return!1;var s=n;p(s,o[1].length),u(s+=o[1].length,o[2].length,10),u(s+=o[2].length,o[3].length,21),s+=o[3].length;var c=o[4],l=s;for(;;){var d=a.exec(c);if(!d)break;var f=s+d.index;f>l&&(p(l,f-l),l=f),u(l,d[1].length,22),l+=d[1].length,d[2].length&&(p(l,d[2].length),l+=d[2].length),u(l,d[3].length,5),l+=d[3].length,d[4].length&&(p(l,d[4].length),l+=d[4].length),u(l,d[5].length,24),l+=d[5].length}(s+=o[4].length)>l&&p(l,s-l);o[5]&&(u(s,o[5].length,10),s+=o[5].length);var m=n+r;s<m&&p(s,m-s);return!0}(a,i))return;p(a,i)}function p(e,n){u(e,n,1)}function f(e){for(var n=0,t=e.getChildren();n<t.length;n++){h(t[n])}}function m(n,t,r){var a;for(a=t;a<r&&!e.isLineBreak(n.charCodeAt(a));a++);for(u(t,a-t,1),c.setTextPos(a);c.getTextPos()<r;)_()}function _(){var e=c.getTextPos(),n=c.scan(),t=c.getTextPos(),r=y(n);r&&u(e,t-e,r)}function g(n){if(e.isJSDoc(n))return!0;if(e.nodeIsMissing(n))return!0;var r=function(e){switch(e.parent&&e.parent.kind){case 272:if(e.parent.tagName===e)return 19;break;case 273:if(e.parent.tagName===e)return 20;break;case 271:if(e.parent.tagName===e)return 21;break;case 277:if(e.parent.name===e)return 22}return}(n);if(!e.isToken(n)&&11!==n.kind&&void 0===r)return!1;var a=11===n.kind?n.pos:function(n){for(s.setTextPos(n.pos);;){var r=s.getTextPos();if(!e.couldStartTrivia(t.text,r))return r;var a=s.scan(),i=s.getTextPos(),o=i-r;if(!e.isTrivia(a))return r;switch(a){case 4:case 5:continue;case 2:case 3:d(n,a,r,o),s.setTextPos(i);continue;case 7:var c=t.text,l=c.charCodeAt(r);if(60===l||62===l){u(r,o,1);continue}e.Debug.assert(124===l||61===l),m(c,r,i);break;case 6:break;default:e.Debug.assertNever(a)}}}(n),i=n.end-a;if(e.Debug.assert(i>=0),i>0){var o=r||y(n.kind,n);o&&u(a,i,o)}return!0}function y(n,t){if(e.isKeyword(n))return 3;if((29===n||31===n)&&t&&e.getTypeArgumentOrTypeParameterList(t.parent))return 10;if(e.isPunctuation(n)){if(t){var r=t.parent;if(62===n&&(246===r.kind||162===r.kind||159===r.kind||277===r.kind))return 5;if(213===r.kind||211===r.kind||212===r.kind||214===r.kind)return 5}return 10}if(8===n)return 4;if(9===n)return 25;if(10===n)return t&&277===t.parent.kind?24:6;if(13===n)return 6;if(e.isTemplateLiteralKind(n))return 6;if(11===n)return 23;if(78===n){if(t)switch(t.parent.kind){case 249:return t.parent.name===t?11:void 0;case 158:return t.parent.name===t?15:void 0;case 250:return t.parent.name===t?13:void 0;case 252:return t.parent.name===t?12:void 0;case 253:return t.parent.name===t?14:void 0;case 159:return t.parent.name===t?e.isThisIdentifier(t)?3:17:void 0}return 2}}function h(r){if(r&&e.decodedTextSpanIntersectsWith(a,i,r.pos,r.getFullWidth())){o(n,r.kind);for(var s=0,c=r.getChildren(t);s<c.length;s++){var l=c[s];g(l)||h(l)}}}}e.getSemanticClassifications=function(e,n,t,r,a){return l(s(e,n,t,r,a))},e.getEncodedSemanticClassifications=s,e.getSyntacticClassifications=function(e,n,t){return l(u(e,n,t))},e.getEncodedSyntacticClassifications=u}(p||(p={})),function(e){!function(n){!function(t){function r(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map((function(e){var t=e.name,r=e.kind,i=e.span;return{name:t,kind:r,kindModifiers:a(e.extension),sortText:n.SortText.LocationPriority,replacementSpan:i}}))}}function a(n){switch(n){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return e.Debug.assertNever(n)}}var i;function s(n,t,r,a,i,o){var s,u,d=t.parent;switch(d.kind){case 190:switch(d.parent.kind){case 172:return{kind:2,types:l(a.getTypeArgumentConstraint(d)),isNewIdentifier:!1};case 188:return c(a.getTypeFromTypeNode(d.parent.objectType));case 192:return{kind:0,paths:f(n,t,i,o,a)};case 181:if(!e.isTypeReferenceNode(d.parent.parent))return;var p=(s=d.parent,u=d,e.mapDefined(s.types,(function(n){return n!==u&&e.isLiteralTypeNode(n)&&e.isStringLiteral(n.literal)?n.literal.text:void 0})));return{kind:2,types:l(a.getTypeArgumentConstraint(d.parent)).filter((function(n){return!e.contains(p,n.value)})),isNewIdentifier:!1};default:return}case 285:return e.isObjectLiteralExpression(d.parent)&&d.name===t?c(a.getContextualType(d.parent)):h();case 199:var m=d,_=m.expression,g=m.argumentExpression;return t===g?c(a.getTypeAtLocation(_)):void 0;case 200:case 201:if(!e.isRequireCall(d,!1)&&!e.isImportCall(d)){var y=e.SignatureHelp.getArgumentInfoForCompletions(t,r,n);return y?function(n,t){var r=!1,a=new e.Map,i=[];return t.getResolvedSignature(n.invocation,i,n.argumentCount),{kind:2,types:e.flatMap(i,(function(i){if(e.signatureHasRestParameter(i)||!(n.argumentCount>i.parameters.length)){var o=t.getParameterType(i,n.argumentIndex);return r=r||!!(4&o.flags),l(o,a)}})),isNewIdentifier:r}}(y,a):h()}case 258:case 264:case 269:return{kind:0,paths:f(n,t,i,o,a)};default:return h()}function h(){return{kind:2,types:l(e.getContextualTypeFromParent(t,a)),isNewIdentifier:!1}}}function c(n){return n&&{kind:1,symbols:e.filter(n.getApparentProperties(),(function(n){return!(n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration))})),hasIndexSignature:e.hasIndexSignature(n)}}function l(n,t){return void 0===t&&(t=new e.Map),n?(n=e.skipConstraint(n)).isUnion()?e.flatMap(n.types,(function(e){return l(e,t)})):!n.isStringLiteral()||1024&n.flags||!e.addToSeen(t,n.value)?e.emptyArray:[n]:e.emptyArray}function u(e,n,t){return{name:e,kind:n,extension:t}}function d(e){return u(e,"directory",void 0)}function p(n,t,r){var a=function(n,t){var r=Math.max(n.lastIndexOf(e.directorySeparator),n.lastIndexOf("\\")),a=-1!==r?r+1:0,i=n.length-a;return 0===i||e.isIdentifierText(n.substr(a,i),99)?void 0:e.createTextSpan(t+a,i)}(n,t);return r.map((function(e){return{name:e.name,kind:e.kind,extension:e.extension,span:a}}))}function f(n,t,r,a,i){return p(t.text,t.getStart(n)+1,function(n,t,r,a,i){var s=e.normalizeSlashes(t.text),c=n.path,l=e.getDirectoryPath(c);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}(s)||!r.baseUrl&&(e.isRootedDiskPath(s)||e.isUrl(s))?function(n,t,r,a,i){var s=m(r);return r.rootDirs?function(n,t,r,a,i,s,c){var l=i.project||s.getCurrentDirectory(),u=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames()),d=function(n,t,r,a){n=n.map((function(n){return e.normalizePath(e.isRootedDiskPath(n)?n:e.combinePaths(t,n))}));var i=e.firstDefined(n,(function(n){return e.containsPath(n,r,t,a)?r.substr(n.length):void 0}));return e.deduplicate(o(n.map((function(n){return e.combinePaths(n,i)})),[r]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(n,l,r,u);return e.flatMap(d,(function(e){return g(t,e,a,s,c)}))}(r.rootDirs,n,t,s,r,a,i):g(n,t,s,a,i)}(s,l,r,a,c):function(n,t,r,a,i){var o=r.baseUrl,s=r.paths,c=[],l=m(r);if(o){var d=r.project||a.getCurrentDirectory(),p=e.normalizePath(e.combinePaths(d,o));g(n,p,l,a,void 0,c),s&&y(c,n,p,l.extensions,s,a)}for(var f=h(n),_=0,v=function(n,t,r){var a=r.getAmbientModules().map((function(n){return e.stripQuotes(n.name)})).filter((function(t){return e.startsWith(t,n)}));if(void 0!==t){var i=e.ensureTrailingDirectorySeparator(t);return a.map((function(n){return e.removePrefix(n,i)}))}return a}(n,f,i);_<v.length;_++){var E=v[_];c.push(u(E,"external module name",void 0))}if(b(a,r,t,f,l,c),e.getEmitModuleResolutionKind(r)===e.ModuleResolutionKind.NodeJs){var S=!1;if(void 0===f)for(var L=function(e){c.some((function(n){return n.name===e}))||(S=!0,c.push(u(e,"external module name",void 0)))},x=0,A=function(n,t){if(!n.readFile||!n.fileExists)return e.emptyArray;for(var r=[],a=0,i=e.findPackageJsons(t,n);a<i.length;a++)for(var o=i[a],s=e.readJson(o,n),c=0,l=T;c<l.length;c++){var u=l[c],d=s[u];if(d)for(var p in d)d.hasOwnProperty(p)&&!e.startsWith(p,"@types/")&&r.push(p)}return r}(a,t);x<A.length;x++){var D=A[x];L(D)}S||e.forEachAncestorDirectory(t,(function(t){var r=e.combinePaths(t,"node_modules");e.tryDirectoryExists(a,r)&&g(n,r,l,a,void 0,c)}))}return c}(s,l,r,a,i)}(n,t,r,a,i))}function m(e,n){return void 0===n&&(n=!1),{extensions:_(e),includeExtensions:n}}function _(n){var t=e.getSupportedExtensions(n);return n.resolveJsonModule&&e.getEmitModuleResolutionKind(n)===e.ModuleResolutionKind.NodeJs?t.concat(".json"):t}function g(n,t,r,a,i,o){var s=r.extensions,c=r.includeExtensions;void 0===o&&(o=[]),void 0===n&&(n=""),n=e.normalizeSlashes(n),e.hasTrailingDirectorySeparator(n)||(n=e.getDirectoryPath(n)),""===n&&(n="."+e.directorySeparator),n=e.ensureTrailingDirectorySeparator(n);var l=e.resolvePath(t,n),p=e.hasTrailingDirectorySeparator(l)?l:e.getDirectoryPath(l),f=!(a.useCaseSensitiveFileNames&&a.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(a,p))return o;var m=e.tryReadDirectory(a,p,s,void 0,["./*"]);if(m){for(var _=new e.Map,g=0,h=m;g<h.length;g++){var v=h[g];if(v=e.normalizePath(v),!i||0!==e.comparePaths(v,i,t,f)){var b=c||e.fileExtensionIs(v,".json")?e.getBaseFileName(v):e.removeFileExtension(e.getBaseFileName(v));_.set(b,e.tryGetExtensionFromPath(v))}}_.forEach((function(e,n){o.push(u(n,"script",e))}))}var E=e.tryGetDirectories(a,p);if(E)for(var T=0,S=E;T<S.length;T++){var L=S[T],x=e.getBaseFileName(e.normalizePath(L));"@types"!==x&&o.push(d(x))}var A=e.findPackageJson(p,a);if(A){var D=e.readJson(A,a).typesVersions;if("object"==typeof D){var C=e.getPackageJsonTypesVersionsPaths(D),I=C&&C.paths,N=l.slice(e.ensureTrailingDirectorySeparator(p).length);I&&y(o,N,p,s,I,a)}}return o}function y(n,t,r,a,i,o){for(var s in i)if(e.hasProperty(i,s)){var c=i[s];if(c)for(var l=function(e,t,r){n.some((function(n){return n.name===e}))||n.push(u(e,t,r))},d=0,p=v(s,c,t,r,a,o);d<p.length;d++){var f=p[d];l(f.name,f.kind,f.extension)}}}function h(n){return S(n)?e.hasTrailingDirectorySeparator(n)?n:e.getDirectoryPath(n):void 0}function v(n,t,r,a,i,s){if(!e.endsWith(n,"*"))return e.stringContains(n,"*")?e.emptyArray:p(n);var c=n.slice(0,n.length-1),l=e.tryRemovePrefix(r,c);return void 0===l?p(c):e.flatMap(t,(function(n){return function(n,t,r,a,i){if(!i.readDirectory)return;var s=e.hasZeroOrOneAsteriskCharacter(r)?e.tryParsePattern(r):void 0;if(!s)return;var c=e.resolvePath(s.prefix),l=e.hasTrailingDirectorySeparator(s.prefix)?c:e.getDirectoryPath(c),p=e.hasTrailingDirectorySeparator(s.prefix)?"":e.getBaseFileName(c),f=S(n),m=f?e.hasTrailingDirectorySeparator(n)?n:e.getDirectoryPath(n):void 0,_=f?e.combinePaths(l,p+m):l,g=e.normalizePath(s.suffix),y=e.normalizePath(e.combinePaths(t,_)),h=f?y:e.ensureTrailingDirectorySeparator(y)+p,v=g?"**/*":"./*",b=e.mapDefined(e.tryReadDirectory(i,y,a,void 0,[v]),(function(n){var t=e.tryGetExtensionFromPath(n),r=T(n);return void 0===r?void 0:u(e.removeFileExtension(r),"script",t)})),E=e.mapDefined(e.tryGetDirectories(i,y).map((function(n){return e.combinePaths(y,n)})),(function(e){var n=T(e);return void 0===n?void 0:d(n)}));return o(b,E);function T(n){var t,r,a,i=(t=e.normalizePath(n),r=h,a=g,e.startsWith(t,r)&&e.endsWith(t,a)?t.slice(r.length,t.length-a.length):void 0);return void 0===i?void 0:function(n){return n[0]===e.directorySeparator?n.slice(1):n}(i)}}(l,a,n,i,s)}));function p(n){return e.startsWith(n,r)?[d(n)]:e.emptyArray}}function b(n,t,r,a,i,o){void 0===o&&(o=[]);for(var s=new e.Map,c=0,l=e.tryAndIgnoreErrors((function(){return e.getEffectiveTypeRoots(t,n)}))||e.emptyArray;c<l.length;c++){m(l[c])}for(var d=0,p=e.findPackageJsons(r,n);d<p.length;d++){var f=p[d];m(e.combinePaths(e.getDirectoryPath(f),"node_modules/@types"))}return o;function m(r){if(e.tryDirectoryExists(n,r))for(var c=0,l=e.tryGetDirectories(n,r);c<l.length;c++){var d=l[c],p=e.unmangleScopedPackageName(d);if(!t.types||e.contains(t.types,p))if(void 0===a)s.has(p)||(o.push(u(p,"external module name",void 0)),s.set(p,!0));else{var f=e.combinePaths(r,d),m=e.tryRemoveDirectoryPrefix(a,p,e.hostGetCanonicalFileName(n));void 0!==m&&g(m,f,i,n,void 0,o)}}}}t.getStringLiteralCompletions=function(t,a,i,o,c,l,u,d){if(e.isInReferenceComment(t,a))return(f=function(n,t,r,a){var i=e.getTokenAtPosition(n,t),o=e.getLeadingCommentRanges(n.text,i.pos),s=o&&e.find(o,(function(e){return t>=e.pos&&t<=e.end}));if(!s)return;var c=n.text.slice(s.pos,t),l=E.exec(c);if(!l)return;var u=l[1],d=l[2],f=l[3],_=e.getDirectoryPath(n.path),y="path"===d?g(f,_,m(r,!0),a,n.path):"types"===d?b(a,r,_,h(f),m(r)):e.Debug.fail();return p(f,s.pos+u.length,y)}(t,a,c,l))&&r(f);if(e.isInString(t,a,i)){if(!i||!e.isStringLiteralLike(i))return;var f;return function(t,a,i,o,s,c){if(void 0===t)return;switch(t.kind){case 0:return r(t.paths);case 1:var l=[];return n.getCompletionEntriesFromSymbols(t.symbols,l,a,i,i,o,99,s,4,c),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:t.hasIndexSignature,entries:l};case 2:l=t.types.map((function(n){return{name:n.value,kindModifiers:"",kind:"string",sortText:"0",replacementSpan:e.getReplacementSpanForContextToken(a)}}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,entries:l};default:return e.Debug.assertNever(t)}}(f=s(t,i,a,o,c,l),i,t,o,u,d)}},t.getStringLiteralCompletionDetails=function(t,r,i,o,c,l,u,d){if(o&&e.isStringLiteralLike(o)){var p=s(r,o,i,c,l,u);return p&&function(t,r,i,o,s,c){switch(i.kind){case 0:return(l=e.find(i.paths,(function(e){return e.name===t})))&&n.createCompletionDetails(t,a(l.extension),l.kind,[e.textPart(t)]);case 1:var l;return(l=e.find(i.symbols,(function(e){return e.name===t})))&&n.createCompletionDetailsForSymbol(l,s,o,r,c);case 2:return e.find(i.types,(function(e){return e.value===t}))?n.createCompletionDetails(t,"","type",[e.textPart(t)]):void 0;default:return e.Debug.assertNever(i)}}(t,o,p,r,c,d)}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(i||(i={}));var E=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,T=["dependencies","devDependencies","peerDependencies","optionalDependencies"];function S(n){return e.stringContains(n,e.directorySeparator)}}(n.StringCompletions||(n.StringCompletions={}))}(e.Completions||(e.Completions={}))}(p||(p={})),function(e){!function(n){var t,r,a,i,o,s;function c(e){return!!(e&&4&e.kind)}function l(e){return c(e)&&!!e.isFromPackageJson}function u(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function d(n,t){return e.isSourceFileJS(n)&&!e.isCheckJsEnabledForFile(n,t)}function p(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function f(n,t){return"object"==typeof n?e.pseudoBigIntToString(n)+"n":e.isString(n)?e.quote(n,t):JSON.stringify(n)}function m(e,n){return{name:f(e,n),kind:"string",kindModifiers:"",sortText:t.LocationPriority}}function _(n,t,r,a,i,o,s,u,d,p,f,m,_){var v,b=e.getReplacementSpanForContextToken(r),E=d&&function(e){return!!(16&e.kind)}(d),T=d&&function(e){return!!(2&e.kind)}(d)||u;if(d&&function(e){return!!(1&e.kind)}(d))v=u?"this"+(E?"?.":"")+"["+g(s,_)+"]":"this"+(E?"?.":".")+s;else if((T||E)&&f){v=T?u?"["+g(s,_)+"]":"["+s+"]":s,(E||f.questionDotToken)&&(v="?."+v);var S=e.findChildOfKind(f,24,i)||e.findChildOfKind(f,28,i);if(!S)return;var L=e.startsWith(s,f.name.text)?f.name.end:S.end;b=e.createTextSpanFromBounds(S.getStart(i),L)}if(m&&(void 0===v&&(v=s),v="{"+v+"}","boolean"!=typeof m&&(b=e.createTextSpanFromNode(m,i))),d&&function(e){return!!(8&e.kind)}(d)&&f){void 0===v&&(v=s);var x=e.findPrecedingToken(f.pos,i),A="";x&&e.positionIsASICandidate(x.end,x.parent,i)&&(A=";"),A+="(await "+f.expression.getText()+")",v=u?""+A+v:A+(E?"?.":".")+v,b=e.createTextSpanFromBounds(f.getStart(i),f.end)}if(void 0===v||_.includeCompletionsWithInsertText)return{name:s,kind:e.SymbolDisplay.getSymbolKind(o,n,a),kindModifiers:e.SymbolDisplay.getSymbolModifiers(n),sortText:t,source:h(d),hasAction:d&&c(d)||void 0,isRecommended:y(n,p,o)||void 0,insertText:v,replacementSpan:b,isPackageJsonImport:l(d)||void 0}}function g(n,t){return/^\d+$/.test(n)?n:e.quote(n,t)}function y(e,n,t){return e===n||!!(1048576&e.flags)&&t.getExportSymbolOfSymbol(e)===n}function h(n){return c(n)?e.stripQuotes(n.moduleSymbol.name):1===(null==n?void 0:n.kind)?r.ThisProperty:void 0}function v(n,r,a,i,o,s,c,l,u,d,p,f,m,g,y,h){for(var v=e.timestamp(),b=new e.Map,E=0,T=n;E<T.length;E++){var S=T[E],L=y?y[e.getSymbolId(S)]:void 0,x=A(S,c,L,u,!!f);if(x){var D=x.name,C=x.needsConvertPropertyAccess;if(!b.get(D)){var I=_(S,h&&h[e.getSymbolId(S)]||t.LocationPriority,a,i,o,s,D,C,L,g,p,m,d);if(I){var N=!(L||void 0===S.parent&&!e.some(S.declarations,(function(e){return e.getSourceFile()===i.getSourceFile()})));b.set(D,N),r.push(I)}}}}return l("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(e.timestamp()-v)),{has:function(e){return b.has(e)},add:function(e){return b.set(e,!0)}}}function b(n,t,r,a,i,o,s){var c=n.getCompilerOptions(),l=x(n,t,r,d(r,c),a,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},i,o);if(!l)return{type:"none"};if(0!==l.kind)return{type:"request",request:l};var u=l.symbols,p=l.literals,m=l.location,_=l.completionKind,g=l.symbolToOriginInfoMap,y=l.previousToken,v=l.isJsxInitializer,b=l.isTypeOnlyLocation,E=e.find(p,(function(e){return f(e,s)===i.name}));return void 0!==E?{type:"literal",literal:E}:e.firstDefined(u,(function(n){var t=g[e.getSymbolId(n)],r=A(n,c.target,t,_,l.isJsxIdentifierExpected);return r&&r.name===i.name&&h(t)===i.source?{type:"symbol",symbol:n,location:m,symbolToOriginInfoMap:g,previousToken:y,isJsxInitializer:v,isTypeOnlyLocation:b}:void 0}))||{type:"none"}}function E(n,t,r){return S(n,"",t,[e.displayPart(n,r)])}function T(n,t,r,a,i,o,s){var c=t.runWithCancellationToken(i,(function(t){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,n,r,a,a,7)})),l=c.displayParts,u=c.documentation,d=c.symbolKind,p=c.tags;return S(n.name,e.SymbolDisplay.getSymbolModifiers(n),d,l,u,p,o,s)}function S(e,n,t,r,a,i,o,s){return{name:e,kindModifiers:n,kind:t,displayParts:r,documentation:a,tags:i,codeActions:o,source:s}}function L(n,t,r){var a=r.getAccessibleSymbolChain(n,t,67108863,!1);return a?e.first(a):n.parent&&(function(e){return e.declarations.some((function(e){return 294===e.kind}))}(n.parent)?n:L(n.parent,t,r))}function x(n,r,a,i,o,s,c,l){var u=n.getTypeChecker(),d=e.timestamp(),p=e.getTokenAtPosition(a,o);r("getCompletionData: Get current token: "+(e.timestamp()-d)),d=e.timestamp();var f=e.isInComment(a,o,p);r("getCompletionData: Is inside comment: "+(e.timestamp()-d));var m=!1,_=!1;if(f){if(e.hasDocComment(a,o)){if(64===a.text.charCodeAt(o-1))return{kind:1};var g=e.getLineStartPositionForPosition(o,a);if(!/[^\*|\s(/)]/.test(a.text.substring(g,o)))return{kind:2}}var y=function(n,t){var r=e.findAncestor(n,e.isJSDoc);return r&&r.tags&&(e.rangeContainsPosition(r,t)?e.findLast(r.tags,(function(e){return e.pos<t})):void 0)}(p,o);if(y){if(y.tagName.pos<=o&&o<=y.tagName.end)return{kind:1};if(function(e){switch(e.kind){case 322:case 328:case 323:case 325:case 327:return!0;default:return!1}}(y)&&y.typeExpression&&298===y.typeExpression.kind&&((p=e.getTokenAtPosition(a,o))&&(e.isDeclarationName(p)||328===p.parent.kind&&p.parent.name===p)||(m=de(y.typeExpression))),!m&&e.isJSDocParameterTag(y)&&(e.nodeIsMissing(y.name)||y.name.pos<=o&&o<=y.name.end))return{kind:3,tag:y}}if(!m)return void r("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}d=e.timestamp();var h=e.findPrecedingToken(o,a,void 0);r("getCompletionData: Get previous token 1: "+(e.timestamp()-d));var v=h;if(v&&o<=v.end&&(e.isIdentifierOrPrivateIdentifier(v)||e.isKeyword(v.kind))){var b=e.timestamp();v=e.findPrecedingToken(v.getFullStart(),a,void 0),r("getCompletionData: Get previous token 2: "+(e.timestamp()-b))}var E,T=p,S=!1,x=!1,A=!1,D=!1,C=!1,I=!1,k=e.getTouchingPropertyName(a,o);if(v){if(function(n){var t=e.timestamp(),i=function(n){return(e.isRegularExpressionLiteral(n)||e.isStringTextContainingNode(n))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(n)),o)||o===n.end&&(!!n.isUnterminated||e.isRegularExpressionLiteral(n)))}(n)||function(n){var t=n.parent,r=t.kind;switch(n.kind){case 27:return 246===r||function(n){return 247===n.parent.kind&&!e.isPossiblyTypeArgumentPosition(n,a,u)}(n)||229===r||252===r||se(r)||250===r||194===r||251===r||e.isClassLike(t)&&!!t.typeParameters&&t.typeParameters.end>=n.pos;case 24:return 194===r;case 58:return 195===r;case 22:return 194===r;case 20:return 284===r||se(r);case 18:return 252===r;case 29:return 249===r||218===r||250===r||251===r||e.isFunctionLikeKind(r);case 123:return 162===r&&!e.isClassLike(t.parent);case 25:return 159===r||!!t.parent&&194===t.parent.kind;case 122:case 120:case 121:return 159===r&&!e.isConstructorDeclaration(t.parent);case 126:return 262===r||267===r||260===r;case 134:case 145:return!w(n);case 83:case 91:case 117:case 97:case 112:case 99:case 118:case 84:case 148:return!0;case 41:return e.isFunctionLike(n.parent)&&!e.isMethodDeclaration(n.parent)}if(R(O(n))&&w(n))return!1;if(oe(n)&&(!e.isIdentifier(n)||e.isParameterPropertyModifier(O(n))||de(n)))return!1;switch(O(n)){case 125:case 83:case 84:case 133:case 91:case 97:case 117:case 118:case 120:case 121:case 122:case 123:case 112:return!0;case 129:return e.isPropertyDeclaration(n.parent)}return e.isDeclarationName(n)&&!e.isJsxAttribute(n.parent)&&!(e.isClassLike(n.parent)&&(n!==h||o>h.end))}(n)||function(e){if(8===e.kind){var n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}(n)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(272===e.parent.kind)return 272!==k.parent.kind;if(273===e.parent.kind||271===e.parent.kind)return!!e.parent.parent&&270===e.parent.parent.kind}return!1}(n);return r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-t)),i}(v))return void r("Returning an empty list because completion was requested in an invalid position.");var G=v.parent;if(24===v.kind||28===v.kind)switch(S=24===v.kind,x=28===v.kind,G.kind){case 198:if(T=(E=G).expression,(e.isCallExpression(T)||e.isFunctionLike(T))&&T.end===v.pos&&T.getChildCount(a)&&21!==e.last(T.getChildren(a)).kind)return;break;case 156:T=G.left;break;case 253:T=G.name;break;case 192:case 223:T=G;break;default:return}else if(1===a.languageVariant){if(G&&198===G.kind&&(v=G,G=G.parent),p.parent===k)switch(p.kind){case 31:270!==p.parent.kind&&272!==p.parent.kind||(k=p);break;case 43:271===p.parent.kind&&(k=p)}switch(G.kind){case 273:43===v.kind&&(D=!0,k=v);break;case 213:if(!F(G))break;case 271:case 270:case 272:I=!0,29===v.kind&&(A=!0,k=v);break;case 277:switch(h.kind){case 62:C=!0;break;case 78:I=!0,G!==h.parent&&!G.initializer&&e.findChildOfKind(G,62,a)&&(C=h)}}}}var B=e.timestamp(),U=5,V=!1,j=0,K=[],H=[],W=[],q=l.getImportSuggestionsCache&&l.getImportSuggestionsCache(),z=re();if(S||x)!function(){U=2;var n=e.isLiteralImportTypeNode(T),t=m||n&&!T.isTypeOf||e.isPartOfTypeNode(T.parent)||e.isPossiblyTypeArgumentPosition(v,a,u),r=e.isInRightSideOfInternalImportEqualsDeclaration(T);if(e.isEntityName(T)||n){var i=e.isModuleDeclaration(T.parent);i&&(V=!0);var o=u.getSymbolAtLocation(T);if(o&&1920&(o=e.skipAlias(o,u)).flags){var c=u.getExportsOfModule(o);e.Debug.assertEachIsDefined(c,"getExportsOfModule() should all be defined");for(var l=function(e){return u.isValidPropertyAccess(n?T:T.parent,e.name)},d=function(e){return ae(e)},p=i?function(e){return!!(1920&e.flags)&&!e.declarations.every((function(e){return e.parent===T.parent}))}:r?function(e){return d(e)||l(e)}:t?d:l,f=0,_=c;f<_.length;f++){var g=_[f];p(g)&&K.push(g)}if(!t&&o.declarations&&o.declarations.some((function(e){return 294!==e.kind&&253!==e.kind&&252!==e.kind}))){var y=u.getTypeOfSymbolAtLocation(o,T).getNonOptionalType(),h=!1;if(y.isNullableType())((E=S&&!x&&!1!==s.includeAutomaticOptionalChainCompletions)||x)&&(y=y.getNonNullableType(),E&&(h=!0));ee(y,!!(32768&T.flags),h)}return}}if(e.isMetaProperty(T)&&(102===T.keywordToken||99===T.keywordToken)&&v===T.getChildAt(1)){var b=102===T.keywordToken?"target":"meta";return void K.push(u.createSymbol(4,e.escapeLeadingUnderscores(b)))}if(!t){var E;y=u.getTypeAtLocation(T).getNonOptionalType(),h=!1;if(y.isNullableType())((E=S&&!x&&!1!==s.includeAutomaticOptionalChainCompletions)||x)&&(y=y.getNonNullableType(),E&&(h=!0));ee(y,!!(32768&T.flags),h)}}();else if(A){var J=u.getJsxIntrinsicTagNamesAt(k);e.Debug.assertEachIsDefined(J,"getJsxIntrinsicTagNames() should all be defined"),te(),K=J.concat(K),U=3,j=0}else if(D){var X=v.parent.parent.openingElement.tagName,Y=u.getSymbolAtLocation(X);Y&&(K=[Y]),U=3,j=0}else if(!te())return;r("getCompletionData: Semantic work: "+(e.timestamp()-B));var Q=h&&function(n,t,r,a){var i=n.parent;switch(n.kind){case 78:return e.getContextualTypeFromParent(n,a);case 62:switch(i.kind){case 246:return a.getContextualType(i.initializer);case 213:return a.getTypeAtLocation(i.left);case 277:return a.getContextualTypeForJsxAttribute(i);default:return}case 102:return a.getContextualType(i);case 81:return e.getSwitchedType(e.cast(i,e.isCaseClause),a);case 18:return e.isJsxExpression(i)&&270!==i.parent.kind?a.getContextualTypeForJsxAttribute(i.parent):void 0;default:var o=e.SignatureHelp.getArgumentInfoForCompletions(n,t,r);return o?a.getContextualTypeForArgumentAtIndex(o.invocation,o.argumentIndex+(27===n.kind?1:0)):e.isEqualityOperatorKind(n.kind)&&e.isBinaryExpression(i)&&e.isEqualityOperatorKind(i.operatorToken.kind)?a.getTypeAtLocation(i.left):a.getContextualType(n)}}(h,o,a,u),Z=e.mapDefined(Q&&(Q.isUnion()?Q.types:[Q]),(function(e){return e.isLiteral()?e.value:void 0})),$=h&&Q&&function(n,t,r){return e.firstDefined(t&&(t.isUnion()?t.types:[t]),(function(t){var a=t&&t.symbol;return a&&424&a.flags&&!e.isAbstractConstructorSymbol(a)?L(a,n,r):void 0}))}(h,Q,u);return{kind:0,symbols:K,completionKind:U,isInSnippetScope:_,propertyAccessToConvert:E,isNewIdentifierLocation:V,location:k,keywordFilters:j,literals:Z,symbolToOriginInfoMap:H,recommendedCompletion:$,previousToken:h,isJsxInitializer:C,insideJsDocTagTypeExpression:m,symbolToSortTextMap:W,isTypeOnlyLocation:z,isJsxIdentifierExpected:I};function ee(n,t,r){V=!!n.getStringIndexType(),x&&e.some(n.getCallSignatures())&&(V=!0);var a=192===T.kind?T:T.parent;if(i)K.push.apply(K,e.filter(M(n,u),(function(e){return u.isValidPropertyAccessForCompletions(a,n,e)})));else for(var o=0,c=n.getApparentProperties();o<c.length;o++){var l=c[o];u.isValidPropertyAccessForCompletions(a,n,l)&&ne(l,!1,r)}if(t&&s.includeCompletionsWithInsertText){var d=u.getPromisedTypeOfPromise(n);if(d)for(var p=0,f=d.getApparentProperties();p<f.length;p++){l=f[p];u.isValidPropertyAccessForCompletions(a,d,l)&&ne(l,!0,r)}}}function ne(n,t,r){var a=e.firstDefined(n.declarations,(function(n){return e.tryCast(e.getNameOfDeclaration(n),e.isComputedPropertyName)}));if(a){var i=function n(t){return e.isIdentifier(t)?t:e.isPropertyAccessExpression(t)?n(t.expression):void 0}(a.expression),o=i&&u.getSymbolAtLocation(i),c=o&&L(o,v,u);if(c&&!H[e.getSymbolId(c)]){K.push(c);var l=c.parent;H[e.getSymbolId(c)]=l&&e.isExternalModuleSymbol(l)?{kind:p(6),moduleSymbol:l,isDefaultExport:!1}:{kind:p(2)}}else s.includeCompletionsWithInsertText&&(d(n),K.push(n))}else d(n),K.push(n);function d(n){s.includeCompletionsWithInsertText&&(t&&!H[e.getSymbolId(n)]?H[e.getSymbolId(n)]={kind:p(8)}:r&&(H[e.getSymbolId(n)]={kind:16}))}function p(e){return r?16|e:e}}function te(){return 1===(function(){var n,t,r=function(n){if(n){var t=n.parent;switch(n.kind){case 18:case 27:if(e.isObjectLiteralExpression(t)||e.isObjectBindingPattern(t))return t;break;case 41:return e.isMethodDeclaration(t)?e.tryCast(t.parent,e.isObjectLiteralExpression):void 0;case 78:return"async"===n.text&&e.isShorthandPropertyAssignment(n.parent)?n.parent.parent:void 0}}return}(v);if(!r)return 0;if(U=0,197===r.kind){var a=u.getContextualType(r),i=a&&u.getContextualType(r,4);if(!a||!i)return 2;V=e.hasIndexSignature(a||i),n=P(a,i,r,u),t=r.properties}else{e.Debug.assert(193===r.kind),V=!1;var o=e.getRootDeclaration(r.parent);if(!e.isVariableLike(o))return e.Debug.fail("Root declaration is not variable-like.");var s=e.hasInitializer(o)||e.hasType(o)||236===o.parent.parent.kind;if(s||159!==o.kind||(e.isExpression(o.parent)?s=!!u.getContextualType(o.parent):164!==o.parent.kind&&167!==o.parent.kind||(s=e.isExpression(o.parent.parent)&&!!u.getContextualType(o.parent.parent))),s){var c=u.getTypeAtLocation(r);if(!c)return 2;var l=e.getContainingClass(r);n=u.getPropertiesOfType(c).filter((function(n){return!(24&e.getDeclarationModifierFlagsFromSymbol(n))||l&&e.contains(c.symbol.declarations,l)})),t=r.elements}}n&&n.length>0&&(K=function(n,t){if(0===t.length)return n;for(var r=new e.Set,a=new e.Set,i=0,o=t;i<o.length;i++){var s=o[i];if((285===s.kind||286===s.kind||195===s.kind||164===s.kind||166===s.kind||167===s.kind||287===s.kind)&&!de(s)){var c=void 0;if(e.isSpreadAssignment(s))ce(s,r);else if(e.isBindingElement(s)&&s.propertyName)78===s.propertyName.kind&&(c=s.propertyName.escapedText);else{var l=e.getNameOfDeclaration(s);c=l&&e.isPropertyNameLiteral(l)?e.getEscapedTextOfIdentifierOrLiteral(l):void 0}void 0!==c&&a.add(c)}}var u=n.filter((function(e){return!a.has(e.escapedName)}));return ue(r,u),u}(n,e.Debug.checkDefined(t)));return le(),1}()||function(){var n=!v||18!==v.kind&&27!==v.kind?void 0:e.tryCast(v.parent,e.isNamedImportsOrExports);if(!n)return 0;var t=(261===n.kind?n.parent.parent:n.parent).moduleSpecifier;if(!t)return 261===n.kind?2:0;var r=u.getSymbolAtLocation(t);if(!r)return 2;U=3,V=!1;var a=u.getExportsAndPropertiesOfModule(r),i=new e.Set(n.elements.filter((function(e){return!de(e)})).map((function(e){return(e.propertyName||e.name).escapedText})));return K=a.filter((function(e){return"default"!==e.escapedName&&!i.has(e.escapedName)})),1}()||function(){var n,r=!v||18!==v.kind&&27!==v.kind?void 0:e.tryCast(v.parent,e.isNamedExports);if(!r)return 0;var a=e.findAncestor(r,e.or(e.isSourceFile,e.isModuleDeclaration));return U=5,V=!1,null===(n=a.locals)||void 0===n||n.forEach((function(n,r){var i,o;K.push(n),(null===(o=null===(i=a.symbol)||void 0===i?void 0:i.exports)||void 0===o?void 0:o.has(r))&&(W[e.getSymbolId(n)]=t.OptionalMember)})),1}()||(function(n){if(n){var t=n.parent;switch(n.kind){case 20:case 27:return e.isConstructorDeclaration(n.parent)?n.parent:void 0;default:if(oe(n))return t.parent}}}(v)?(U=5,V=!0,j=4,1):0)||function(){var n=function(n,t,r,a){switch(r.kind){case 329:return e.tryCast(r.parent,e.isObjectTypeDeclaration);case 1:var i=e.tryCast(e.lastOrUndefined(e.cast(r.parent,e.isSourceFile).statements),e.isObjectTypeDeclaration);if(i&&!e.findChildOfKind(i,19,n))return i;break;case 78:if(e.isPropertyDeclaration(r.parent)&&r.parent.initializer===r)return;if(w(r))return e.findAncestor(r,e.isObjectTypeDeclaration)}if(!t)return;switch(t.kind){case 62:return;case 26:case 19:return w(r)&&r.parent.name===r?r.parent.parent:e.tryCast(r,e.isObjectTypeDeclaration);case 18:case 27:return e.tryCast(t.parent,e.isObjectTypeDeclaration);default:if(!w(t))return e.getLineAndCharacterOfPosition(n,t.getEnd()).line!==e.getLineAndCharacterOfPosition(n,a).line&&e.isObjectTypeDeclaration(r)?r:void 0;var o=e.isClassLike(t.parent.parent)?R:N;return o(t.kind)||41===t.kind||e.isIdentifier(t)&&o(e.stringToToken(t.text))?t.parent.parent:void 0}}(a,v,k,o);if(!n)return 0;if(U=3,V=!0,j=41===v.kind?0:e.isClassLike(n)?2:3,!e.isClassLike(n))return 1;var t=26===v.kind?v.parent.parent:v.parent,r=e.isClassElement(t)?e.getEffectiveModifierFlags(t):0;if(78===v.kind&&!de(v))switch(v.getText()){case"private":r|=8;break;case"static":r|=32}if(!(8&r)){var i=e.flatMap(e.getAllSuperTypeNodes(n),(function(e){var t=u.getTypeAtLocation(e);return 32&r?(null==t?void 0:t.symbol)&&u.getPropertiesOfType(u.getTypeOfSymbolAtLocation(t.symbol,n)):t&&u.getPropertiesOfType(t)}));K=function(n,t,r){for(var a=new e.Set,i=0,o=t;i<o.length;i++){var s=o[i];if((162===s.kind||164===s.kind||166===s.kind||167===s.kind)&&(!de(s)&&!e.hasEffectiveModifier(s,8)&&e.hasEffectiveModifier(s,32)===!!(32&r))){var c=e.getPropertyNameForPropertyNameNode(s.name);c&&a.add(c)}}return n.filter((function(n){return!(a.has(n.escapedName)||!n.declarations||8&e.getDeclarationModifierFlagsFromSymbol(n)||n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration))}))}(i,n.members,r)}return 1}()||function(){var n=function(n){if(n){var t=n.parent;switch(n.kind){case 31:case 30:case 43:case 78:case 198:case 278:case 277:case 279:if(t&&(271===t.kind||272===t.kind)){if(31===n.kind){var r=e.findPrecedingToken(n.pos,a,void 0);if(!t.typeArguments||r&&43===r.kind)break}return t}if(277===t.kind)return t.parent.parent;break;case 10:if(t&&(277===t.kind||279===t.kind))return t.parent.parent;break;case 19:if(t&&280===t.kind&&t.parent&&277===t.parent.kind)return t.parent.parent.parent;if(t&&279===t.kind)return t.parent.parent}}return}(v),t=n&&u.getContextualType(n.attributes);if(!t)return 0;var r=n&&u.getContextualType(n.attributes,4);return K=function(n,t){for(var r=new e.Set,a=new e.Set,i=0,o=t;i<o.length;i++){var s=o[i];de(s)||(277===s.kind?r.add(s.name.escapedText):e.isJsxSpreadAttribute(s)&&ce(s,a))}var c=n.filter((function(e){return!r.has(e.escapedName)}));return ue(a,c),c}(P(t,r,n.attributes,u),n.attributes.properties),le(),U=3,V=!1,1}()||(function(){j=function(n){if(n){var t,r=e.findAncestor(n.parent,(function(n){return e.isClassLike(n)?"quit":!(!e.isFunctionLikeDeclaration(n)||t!==n.body)||(t=n,!1)}));return r&&r}}(v)?5:1,U=1,V=function(e){if(e){var n=e.parent.kind;switch(O(e)){case 27:return 200===n||165===n||201===n||196===n||213===n||173===n;case 20:return 200===n||165===n||201===n||204===n||185===n;case 22:return 196===n||170===n||157===n;case 138:case 139:return!0;case 24:return 253===n;case 18:return 249===n;case 62:return 246===n||213===n;case 15:return 215===n;case 16:return 225===n;case 122:case 120:case 121:return 162===n}}return!1}(v),h!==v&&e.Debug.assert(!!h,"Expected 'contextToken' to be defined when different from 'previousToken'.");var i=h!==v?h.getStart():o,d=function(n,t,r){var a=n;for(;a&&!e.positionBelongsToNode(a,t,r);)a=a.parent;return a}(v,i,a)||a;_=function(n){switch(n.kind){case 294:case 215:case 280:case 227:return!0;default:return e.isStatement(n)}}(d);var p=2887656|(z?0:111551);K=u.getSymbolsInScope(d,p),e.Debug.assertEachIsDefined(K,"getSymbolsInScope() should all be defined");for(var f=0,m=K;f<m.length;f++){var g=m[f];u.isArgumentsSymbol(g)||e.some(g.declarations,(function(e){return e.getSourceFile()===a}))||(W[e.getSymbolId(g)]=t.GlobalsOrKeywords)}if(s.includeCompletionsWithInsertText&&294!==d.kind){var y=u.tryGetThisTypeAt(d,!1);if(y&&!function(e,n,t){var r=t.resolveName("self",void 0,111551,!1);if(r&&t.getTypeOfSymbolAtLocation(r,n)===e)return!0;var a=t.resolveName("global",void 0,111551,!1);if(a&&t.getTypeOfSymbolAtLocation(a,n)===e)return!0;var i=t.resolveName("globalThis",void 0,111551,!1);if(i&&t.getTypeOfSymbolAtLocation(i,n)===e)return!0;return!1}(y,a,u))for(var b=0,E=M(y,u);b<E.length;b++){g=E[b];H[e.getSymbolId(g)]={kind:1},K.push(g),W[e.getSymbolId(g)]=t.SuggestedClassMembers}}if(s.includeCompletionsForModuleExports&&(a.externalModuleIndicator||a.commonJsModuleIndicator||e.compilerOptionsIndicateEs6Modules(n.getCompilerOptions())||e.programContainsModules(n))){var T=h&&e.isIdentifier(h)?h.text.toLowerCase():"",S=function(t,i){var o=q&&q.get(a.fileName,u,c&&i.getProjectVersion?i.getProjectVersion():void 0);if(o)return r("getSymbolsFromOtherSourceFileExports: Using cached list"),o;var s=e.timestamp();r("getSymbolsFromOtherSourceFileExports: Recomputing list"+(c?" for details entry":""));var l=new e.Map,d=new e.Map,p=new e.Map,f=new e.Map,m=[],_=new e.Map;return e.codefix.forEachExternalModuleToImportFrom(n,i,a,!c,!0,(function(n,t,r,a){if(!c||!c.source||e.stripQuotes(n.name)===c.source){var i=r.getTypeChecker(),o=i.resolveExternalModuleSymbol(n);if(e.addToSeen(l,e.getSymbolId(o))){o!==n&&e.every(o.declarations,e.isNonGlobalDeclaration)&&g(o,n,a,!0);for(var s=0,u=i.getExportsAndPropertiesOfModule(n);s<u.length;s++){var m=u[s],y=e.getSymbolId(m).toString();if(e.addToSeen(d,y)&&!e.some(m.declarations,(function(n){return e.isExportSpecifier(n)&&!!n.propertyName&&e.isIdentifierANonContextualKeyword(n.name)}))){var h=i.getMergedSymbol(m.parent)!==o;if(h||e.some(m.declarations,(function(n){return e.isExportSpecifier(n)&&!n.propertyName&&!!n.parent.parent.moduleSpecifier}))){var v=h?m:ie(m);if(!v)continue;var b=e.getSymbolId(v).toString();_.has(b)||p.has(b)?e.addToSeen(p,y):(f.set(b,{alias:m,moduleSymbol:n,isFromPackageJson:a}),p.set(y,!0))}else f.delete(y),g(m,n,a,!1)}}}}})),f.forEach((function(e){return g(e.alias,e.moduleSymbol,e.isFromPackageJson,!1)})),r("getSymbolsFromOtherSourceFileExports: "+(e.timestamp()-s)),m;function g(n,r,a,i){var o="default"===n.escapedName;if(o&&(n=e.getLocalSymbolForExportDefault(n)||n),!u.isUndefinedSymbol(n)){e.addToSeen(_,e.getSymbolId(n));var s={kind:4,moduleSymbol:r,isDefaultExport:o,isFromPackageJson:a};m.push({symbol:n,symbolName:e.getNameForExportedSymbol(n,t),origin:s,skipFilter:i})}}}(n.getCompilerOptions().target,l);!c&&q&&q.set(a.fileName,S,l.getProjectVersion&&l.getProjectVersion()),S.forEach((function(n){var r=n.symbol,a=n.symbolName,i=n.skipFilter,o=n.origin;if(c){if(c.source&&e.stripQuotes(o.moduleSymbol.name)!==c.source)return}else if(!i&&!function(e,n){if(0===n.length)return!0;for(var t=0,r=0;r<e.length;r++)if(e.charCodeAt(r)===n.charCodeAt(t)&&++t===n.length)return!0;return!1}(a.toLowerCase(),T))return;var s=e.getSymbolId(r);K.push(r),H[s]=o,W[s]=t.AutoImportSuggestions}))}!function(n){var t=re();t&&(j=v&&e.isAssertionExpression(v.parent)?6:7);e.filterMutate(n,(function(n){if(!e.isSourceFile(k)){if(e.isExportAssignment(k.parent))return!0;if(n=e.skipAlias(n,u),e.isInRightSideOfInternalImportEqualsDeclaration(k))return!!(1920&n.flags);if(t)return ae(n)}return!!(111551&e.getCombinedLocalAndExportSymbolFlags(n))}))}(K)}(),1))}function re(){return m||!function(n){return n&&111===n.kind&&(175===n.parent.kind||e.isTypeOfExpression(n.parent))}(v)&&(e.isPossiblyTypeArgumentPosition(v,a,u)||e.isPartOfTypeNode(k)||function(n){if(n){var t=n.parent.kind;switch(n.kind){case 58:return 162===t||161===t||159===t||246===t||e.isFunctionLikeKind(t);case 62:return 251===t;case 126:return 221===t;case 29:return 172===t||203===t;case 93:return 158===t}}return!1}(v))}function ae(n,t){void 0===t&&(t=new e.Map);var r=e.skipAlias(n.exportSymbol||n,u);return!!(788968&r.flags)||!!(1536&r.flags)&&e.addToSeen(t,e.getSymbolId(r))&&u.getExportsOfModule(r).some((function(e){return ae(e,t)}))}function ie(n){return function(e,n,t){var r=n;for(;2097152&r.flags&&(r=e.getImmediateAliasedSymbol(r));)if(t(r))return r}(u,n,(function(n){return e.some(n.declarations,(function(n){return e.isExportSpecifier(n)||!!n.localSymbol}))}))}function oe(n){return!!n.parent&&e.isParameter(n.parent)&&e.isConstructorDeclaration(n.parent.parent)&&(e.isParameterPropertyModifier(n.kind)||e.isDeclarationName(n))}function se(n){return e.isFunctionLikeKind(n)&&165!==n}function ce(e,n){var t=e.expression,r=u.getSymbolAtLocation(t),a=r&&u.getTypeOfSymbolAtLocation(r,t),i=a&&a.properties;i&&i.forEach((function(e){n.add(e.name)}))}function le(){K.forEach((function(n){16777216&n.flags&&(W[e.getSymbolId(n)]=W[e.getSymbolId(n)]||t.OptionalMember)}))}function ue(n,r){if(0!==n.size)for(var a=0,i=r;a<i.length;a++){var o=i[a];n.has(o.name)&&(W[e.getSymbolId(o)]=t.MemberDeclaredBySpreadAssignment)}}function de(e){return e.getStart(a)<=o&&o<=e.getEnd()}}function A(n,t,r,a,i){var o=c(r)?e.getNameForExportedSymbol(n,t):n.name;if(!(void 0===o||1536&n.flags&&e.isSingleOrDoubleQuote(o.charCodeAt(0))||e.isKnownSymbol(n))){var s={name:o,needsConvertPropertyAccess:!1};if(e.isIdentifierText(o,t,i?1:0)||n.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(n.valueDeclaration))return s;switch(a){case 3:return;case 0:return{name:JSON.stringify(o),needsConvertPropertyAccess:!1};case 2:case 1:return 32===o.charCodeAt(0)?void 0:{name:o,needsConvertPropertyAccess:!0};case 5:case 4:return s;default:e.Debug.assertNever(a)}}}!function(e){e.LocationPriority="0",e.OptionalMember="1",e.MemberDeclaredBySpreadAssignment="2",e.SuggestedClassMembers="3",e.GlobalsOrKeywords="4",e.AutoImportSuggestions="5",e.JavascriptIdentifiers="6"}(t=n.SortText||(n.SortText={})),function(e){e.ThisProperty="ThisProperty/"}(r=n.CompletionSource||(n.CompletionSource={})),function(e){e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport"}(a||(a={})),function(e){e[e.None=0]="None",e[e.All=1]="All",e[e.ClassElementKeywords=2]="ClassElementKeywords",e[e.InterfaceElementKeywords=3]="InterfaceElementKeywords",e[e.ConstructorParameterKeywords=4]="ConstructorParameterKeywords",e[e.FunctionLikeBodyKeywords=5]="FunctionLikeBodyKeywords",e[e.TypeAssertionKeywords=6]="TypeAssertionKeywords",e[e.TypeKeywords=7]="TypeKeywords",e[e.Last=7]="Last"}(i||(i={})),function(e){e[e.Continue=0]="Continue",e[e.Success=1]="Success",e[e.Fail=2]="Fail"}(o||(o={})),n.createImportSuggestionsForFileCache=function(){var n,t,r;return{isEmpty:function(){return!n},clear:function(){n=void 0,r=void 0,t=void 0},set:function(e,a,i){n=a,r=e,i&&(t=i)},get:function(a,i,o){if(a===r)return o?t===o?n:void 0:(e.forEach(n,(function(e){var n,t,r;(null===(n=e.symbol.declarations)||void 0===n?void 0:n.length)&&(e.symbol=i.getMergedSymbol(e.origin.isDefaultExport&&null!==(t=e.symbol.declarations[0].localSymbol)&&void 0!==t?t:e.symbol.declarations[0].symbol)),(null===(r=e.origin.moduleSymbol.declarations)||void 0===r?void 0:r.length)&&(e.origin.moduleSymbol=i.getMergedSymbol(e.origin.moduleSymbol.declarations[0].symbol))})),n)}}},n.getCompletionsAtPosition=function(r,a,i,o,s,c,l){var f=a.getTypeChecker(),_=a.getCompilerOptions(),g=e.findPrecedingToken(s,o);if(!l||e.isInString(o,s,g)||function(n,t,r,a){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!r&&e.isStringLiteralOrTemplate(r)&&a===r.getStart(n)+1;case"#":return!!r&&e.isPrivateIdentifier(r)&&!!e.getContainingClass(r);case"<":return!!r&&29===r.kind&&(!e.isBinaryExpression(r.parent)||F(r.parent));case"/":return!!r&&(e.isStringLiteralLike(r)?!!e.tryGetImportFromModuleSpecifier(r):43===r.kind&&e.isJsxClosingElement(r.parent));default:return e.Debug.assertNever(t)}}(o,l,g,s)){var y=n.StringCompletions.getStringLiteralCompletions(o,s,g,f,_,r,i,c);if(y)return y;if(g&&e.isBreakOrContinueStatement(g.parent)&&(80===g.kind||85===g.kind||78===g.kind))return function(n){var r=function(n){var r=[],a=new e.Map,i=n;for(;i&&!e.isFunctionLike(i);){if(e.isLabeledStatement(i)){var o=i.label.text;a.has(o)||(a.set(o,!0),r.push({name:o,kindModifiers:"",kind:"label",sortText:t.LocationPriority}))}i=i.parent}return r}(n);if(r.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:r}}(g.parent);var h=x(a,i,o,d(o,_),s,c,void 0,r);if(h)switch(h.kind){case 0:return function(n,r,a,i,o,s){var c=o.symbols,l=o.completionKind,u=o.isInSnippetScope,f=o.isNewIdentifierLocation,_=o.location,g=o.propertyAccessToConvert,y=o.keywordFilters,h=o.literals,b=o.symbolToOriginInfoMap,E=o.recommendedCompletion,T=o.isJsxInitializer,S=o.insideJsDocTagTypeExpression,L=o.symbolToSortTextMap;if(_&&_.parent&&e.isJsxClosingElement(_.parent)){var x=_.parent.parent.openingElement.tagName,A=!!e.findChildOfKind(_.parent,31,n);return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,entries:[{name:x.getFullText(n)+(A?"":">"),kind:"class",kindModifiers:void 0,sortText:t.LocationPriority}]}}var C=[];if(d(n,a)){var N=v(c,C,void 0,_,n,r,a.target,i,l,s,g,o.isJsxIdentifierExpected,T,E,b,L);!function(n,r,a,i,o){e.getNameTable(n).forEach((function(n,s){if(n!==r){var c=e.unescapeLeadingUnderscores(s);!a.has(c)&&e.isIdentifierText(c,i)&&(a.add(c),o.push({name:c,kind:"warning",kindModifiers:"",sortText:t.JavascriptIdentifiers,isFromUncheckedFile:!0}))}}))}(n,_.pos,N,a.target,C)}else{if(!(f||c&&0!==c.length||0!==y))return;v(c,C,void 0,_,n,r,a.target,i,l,s,g,o.isJsxIdentifierExpected,T,E,b,L)}if(0!==y)for(var R=new e.Set(C.map((function(e){return e.name}))),k=0,O=function(n,t){if(!t)return I(n);var r=n+7+1;return D[r]||(D[r]=I(n).filter((function(n){return!function(e){switch(e){case 125:case 128:case 154:case 131:case 133:case 91:case 153:case 116:case 135:case 117:case 136:case 137:case 138:case 139:case 140:case 143:case 144:case 120:case 121:case 122:case 141:case 146:case 147:case 148:case 150:case 151:return!0;default:return!1}}(e.stringToToken(n.name))})))}(y,!S&&e.isSourceFileJS(n));k<O.length;k++){var P=O[k];R.has(P.name)||C.push(P)}for(var M=0,w=h;M<w.length;M++){var F=w[M];C.push(m(F,s))}return{isGlobalCompletion:u,isMemberCompletion:p(l),isNewIdentifierLocation:f,entries:C}}(o,f,_,i,h,c);case 1:return u(e.JsDoc.getJSDocTagNameCompletions());case 2:return u(e.JsDoc.getJSDocTagCompletions());case 3:return u(e.JsDoc.getJSDocParameterNameCompletions(h.tag));default:return e.Debug.assertNever(h)}}},n.getCompletionEntriesFromSymbols=v,n.getCompletionEntryDetails=function(t,r,a,i,o,s,l,u,d){var p=t.getTypeChecker(),m=t.getCompilerOptions(),_=o.name,g=e.findPrecedingToken(i,a);if(e.isInString(a,i,g))return n.StringCompletions.getStringLiteralCompletionDetails(_,a,i,g,p,m,s,d);var y=b(t,r,a,i,o,s,u);switch(y.type){case"request":var h=y.request;switch(h.kind){case 1:return e.JsDoc.getJSDocTagNameCompletionDetails(_);case 2:return e.JsDoc.getJSDocTagCompletionDetails(_);case 3:return e.JsDoc.getJSDocParameterNameCompletionDetails(_);default:return e.Debug.assertNever(h)}case"symbol":var v=y.symbol,S=y.location,L=function(n,t,r,a,i,o,s,l,u,d,p){var f=n[e.getSymbolId(t)];if(!f||!c(f))return{codeActions:void 0,sourceDisplay:void 0};var m=f.moduleSymbol,_=a.getMergedSymbol(e.skipAlias(t.exportSymbol||t,a)),g=e.codefix.getImportCompletionAction(_,m,s,e.getNameForExportedSymbol(t,o.target),i,r,d,u&&e.isIdentifier(u)?u.getStart(s):l,p),y=g.moduleSpecifier,h=g.codeAction;return{sourceDisplay:[e.textPart(y)],codeActions:[h]}}(y.symbolToOriginInfoMap,v,t,p,s,m,a,i,y.previousToken,l,u);return T(v,p,a,S,d,L.codeActions,L.sourceDisplay);case"literal":var x=y.literal;return E(f(x,u),"string","string"==typeof x?e.SymbolDisplayPartKind.stringLiteral:e.SymbolDisplayPartKind.numericLiteral);case"none":return C().some((function(e){return e.name===_}))?E(_,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:e.Debug.assertNever(y)}},n.createCompletionDetailsForSymbol=T,n.createCompletionDetails=S,n.getCompletionEntrySymbol=function(e,n,t,r,a,i,o){var s=b(e,n,t,r,a,i,o);return"symbol"===s.type?s.symbol:void 0},function(e){e[e.Data=0]="Data",e[e.JsDocTagName=1]="JsDocTagName",e[e.JsDocTag=2]="JsDocTag",e[e.JsDocParameterName=3]="JsDocParameterName"}(s||(s={})),function(e){e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None"}(n.CompletionKind||(n.CompletionKind={}));var D=[],C=e.memoize((function(){for(var n=[],r=80;r<=155;r++)n.push({name:e.tokenToString(r),kind:"keyword",kindModifiers:"",sortText:t.GlobalsOrKeywords});return n}));function I(n){return D[n]||(D[n]=C().filter((function(t){var r=e.stringToToken(t.name);switch(n){case 0:return!1;case 1:return k(r)||133===r||138===r||148===r||139===r||126===r||e.isTypeKeyword(r)&&149!==r;case 5:return k(r);case 2:return R(r);case 3:return N(r);case 4:return e.isParameterPropertyModifier(r);case 6:return e.isTypeKeyword(r)||84===r;case 7:return e.isTypeKeyword(r);default:return e.Debug.assertNever(n)}})))}function N(e){return 141===e}function R(n){switch(n){case 125:case 132:case 134:case 145:case 129:case 133:return!0;default:return e.isClassMemberModifier(n)}}function k(n){return 129===n||130===n||!e.isContextualKeyword(n)&&!R(n)}function O(n){return e.isIdentifier(n)?n.originalKeywordKind||0:n.kind}function P(n,t,r,a){var i=t&&t!==n,o=!i||3&t.flags?n:a.getUnionType([n,t]),s=o.isUnion()?a.getAllPossiblePropertiesOfTypes(o.types.filter((function(n){return!(131068&n.flags||a.isArrayLikeType(n)||e.typeHasCallOrConstructSignatures(n,a)||a.isTypeInvalidDueToUnionDiscriminant(n,r))}))):o.getApparentProperties();return i?s.filter((function(n){return e.some(n.declarations,(function(e){return e.parent!==r}))})):s}function M(n,t){return n.isUnion()?e.Debug.checkEachDefined(t.getAllPossiblePropertiesOfTypes(n.types),"getAllPossiblePropertiesOfTypes() should all be defined"):e.Debug.checkEachDefined(n.getApparentProperties(),"getApparentProperties() should all be defined")}function w(n){return n.parent&&e.isClassOrTypeElement(n.parent)&&e.isObjectTypeDeclaration(n.parent.parent)}function F(n){var t=n.left;return e.nodeIsMissing(t)}}(e.Completions||(e.Completions={}))}(p||(p={})),function(e){!function(n){function t(n,t){return{fileName:t.fileName,textSpan:e.createTextSpanFromNode(n,t),kind:"none"}}function r(n){return e.isThrowStatement(n)?[n]:e.isTryStatement(n)?e.concatenate(n.catchClause?r(n.catchClause):n.tryBlock&&r(n.tryBlock),n.finallyBlock&&r(n.finallyBlock)):e.isFunctionLike(n)?void 0:i(n,r)}function a(n){return e.isBreakOrContinueStatement(n)?[n]:e.isFunctionLike(n)?void 0:i(n,a)}function i(n,t){var r=[];return n.forEachChild((function(n){var a=t(n);void 0!==a&&r.push.apply(r,e.toArray(a))})),r}function s(e,n){var t=c(n);return!!t&&t===e}function c(n){return e.findAncestor(n,(function(t){switch(t.kind){case 241:if(237===n.kind)return!1;case 234:case 235:case 236:case 233:case 232:return!n.label||function(n,t){return!!e.findAncestor(n.parent,(function(n){return e.isLabeledStatement(n)?n.label.escapedText===t:"quit"}))}(t,n.label.escapedText);default:return e.isFunctionLike(t)&&"quit"}}))}function l(n,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];return!(!t||!e.contains(r,t.kind))&&(n.push(t),!0)}function u(n){var t=[];if(l(t,n.getFirstToken(),96,114,89)&&232===n.kind)for(var r=n.getChildren(),i=r.length-1;i>=0&&!l(t,r[i],114);i--);return e.forEach(a(n.statement),(function(e){s(n,e)&&l(t,e.getFirstToken(),80,85)})),t}function d(e){var n=c(e);if(n)switch(n.kind){case 234:case 235:case 236:case 232:case 233:return u(n);case 241:return p(n)}}function p(n){var t=[];return l(t,n.getFirstToken(),106),e.forEach(n.caseBlock.clauses,(function(r){l(t,r.getFirstToken(),81,87),e.forEach(a(r),(function(e){s(n,e)&&l(t,e.getFirstToken(),80)}))})),t}function f(n,t){var r=[];(l(r,n.getFirstToken(),110),n.catchClause&&l(r,n.catchClause.getFirstToken(),82),n.finallyBlock)&&l(r,e.findChildOfKind(n,95,t),95);return r}function m(n,t){var a=function(n){for(var t=n;t.parent;){var r=t.parent;if(e.isFunctionBlock(r)||294===r.kind)return r;if(e.isTryStatement(r)&&r.tryBlock===t&&r.catchClause)return t;t=r}}(n);if(a){var i=[];return e.forEach(r(a),(function(n){i.push(e.findChildOfKind(n,108,t))})),e.isFunctionBlock(a)&&e.forEachReturnStatement(a,(function(n){i.push(e.findChildOfKind(n,104,t))})),i}}function _(n,t){var a=e.getContainingFunction(n);if(a){var i=[];return e.forEachReturnStatement(e.cast(a.body,e.isBlock),(function(n){i.push(e.findChildOfKind(n,104,t))})),e.forEach(r(a.body),(function(n){i.push(e.findChildOfKind(n,108,t))})),i}}function g(n){var t=e.getContainingFunction(n);if(t){var r=[];return t.modifiers&&t.modifiers.forEach((function(e){l(r,e,129)})),e.forEachChild(t,(function(n){y(n,(function(n){e.isAwaitExpression(n)&&l(r,n.getFirstToken(),130)}))})),r}}function y(n,t){t(n),e.isFunctionLike(n)||e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isModuleDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isTypeNode(n)||e.forEachChild(n,(function(e){return y(e,t)}))}n.getDocumentHighlights=function(n,r,a,i,s){var c=e.getTouchingPropertyName(a,i);if(c.parent&&(e.isJsxOpeningElement(c.parent)&&c.parent.tagName===c||e.isJsxClosingElement(c.parent))){var h=c.parent.parent,v=[h.openingElement,h.closingElement].map((function(e){return t(e.tagName,a)}));return[{fileName:a.fileName,highlightSpans:v}]}return function(n,t,r,a,i){var o=new e.Set(i.map((function(e){return e.fileName}))),s=e.FindAllReferences.getReferenceEntriesForNode(n,t,r,i,a,void 0,o);if(!s)return;var c=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span}));return e.arrayFrom(c.entries(),(function(n){var t=n[0],a=n[1];if(!o.has(t)){e.Debug.assert(r.redirectTargetsMap.has(t));var s=r.getSourceFile(t);t=e.find(i,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(t))}return{fileName:t,highlightSpans:a}}))}(i,c,n,r,s)||function(n,r){var a=function(n,r){switch(n.kind){case 98:case 90:return e.isIfStatement(n.parent)?function(n,r){for(var a=function(n,t){var r=[];for(;e.isIfStatement(n.parent)&&n.parent.elseStatement===n;)n=n.parent;for(;;){var a=n.getChildren(t);l(r,a[0],98);for(var i=a.length-1;i>=0&&!l(r,a[i],90);i--);if(!n.elseStatement||!e.isIfStatement(n.elseStatement))break;n=n.elseStatement}return r}(n,r),i=[],o=0;o<a.length;o++){if(90===a[o].kind&&o<a.length-1){for(var s=a[o],c=a[o+1],u=!0,d=c.getStart(r)-1;d>=s.end;d--)if(!e.isWhiteSpaceSingleLine(r.text.charCodeAt(d))){u=!1;break}if(u){i.push({fileName:r.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),c.end),kind:"reference"}),o++;continue}}i.push(t(a[o],r))}return i}(n.parent,r):void 0;case 104:return c(n.parent,e.isReturnStatement,_);case 108:return c(n.parent,e.isThrowStatement,m);case 110:case 82:case 95:return c(82===n.kind?n.parent.parent:n.parent,e.isTryStatement,f);case 106:return c(n.parent,e.isSwitchStatement,p);case 81:case 87:return e.isDefaultClause(n.parent)||e.isCaseClause(n.parent)?c(n.parent.parent.parent,e.isSwitchStatement,p):void 0;case 80:case 85:return c(n.parent,e.isBreakOrContinueStatement,d);case 96:case 114:case 89:return c(n.parent,(function(n){return e.isIterationStatement(n,!0)}),u);case 132:return s(e.isConstructorDeclaration,[132]);case 134:case 145:return s(e.isAccessor,[134,145]);case 130:return c(n.parent,e.isAwaitExpression,g);case 129:return h(g(n));case 124:return h(function(n){var t=e.getContainingFunction(n);if(!t)return;var r=[];return e.forEachChild(t,(function(n){y(n,(function(n){e.isYieldExpression(n)&&l(r,n.getFirstToken(),124)}))})),r}(n));default:return e.isModifierKind(n.kind)&&(e.isDeclaration(n.parent)||e.isVariableStatement(n.parent))?h((a=n.kind,i=n.parent,e.mapDefined(function(n,t){var r=n.parent;switch(r.kind){case 254:case 294:case 227:case 281:case 282:return 128&t&&e.isClassDeclaration(n)?o(n.members,[n]):r.statements;case 165:case 164:case 248:return o(r.parameters,e.isClassLike(r.parent)?r.parent.members:[]);case 249:case 218:case 250:case 176:var a=r.members;if(92&t){var i=e.find(r.members,e.isConstructorDeclaration);if(i)return o(a,i.parameters)}else if(128&t)return o(a,[r]);return a;default:e.Debug.assertNever(r,"Invalid container kind.")}}(i,e.modifierToFlag(a)),(function(n){return e.findModifier(n,a)})))):void 0}var a,i;function s(t,a){return c(n.parent,t,(function(n){return e.mapDefined(n.symbol.declarations,(function(n){return t(n)?e.find(n.getChildren(r),(function(n){return e.contains(a,n.kind)})):void 0}))}))}function c(e,n,t){return n(e)?h(t(e,r)):void 0}function h(e){return e&&e.map((function(e){return t(e,r)}))}}(n,r);return a&&[{fileName:r.fileName,highlightSpans:a}]}(c,a)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(p||(p={})),function(e){function n(n,r,a){void 0===r&&(r="");var i=new e.Map,o=e.createGetCanonicalFileName(!!n);function s(e,n,t,r,a,i,o){return l(e,n,t,r,a,i,!0,o)}function c(e,n,t,r,a,i,o){return l(e,n,t,r,a,i,!1,o)}function l(n,t,r,o,s,c,l,u){var d=e.getOrUpdate(i,o,(function(){return new e.Map})),p=d.get(t),f=6===u?100:r.target||1;!p&&a&&((m=a.getDocument(o,t))&&(e.Debug.assert(l),p={sourceFile:m,languageServiceRefCount:0},d.set(t,p)));if(p)p.sourceFile.version!==c&&(p.sourceFile=e.updateLanguageServiceSourceFile(p.sourceFile,s,c,s.getChangeRange(p.sourceFile.scriptSnapshot)),a&&a.setDocument(o,t,p.sourceFile)),l&&p.languageServiceRefCount++;else{var m=e.createLanguageServiceSourceFile(n,s,f,c,!1,u);a&&a.setDocument(o,t,m),p={sourceFile:m,languageServiceRefCount:1},d.set(t,p)}return e.Debug.assert(0!==p.languageServiceRefCount),p.sourceFile}function u(n,t){var r=e.Debug.checkDefined(i.get(t)),a=r.get(n);a.languageServiceRefCount--,e.Debug.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&r.delete(n)}return{acquireDocument:function(n,a,i,c,l){return s(n,e.toPath(n,r,o),a,t(a),i,c,l)},acquireDocumentWithKey:s,updateDocument:function(n,a,i,s,l){return c(n,e.toPath(n,r,o),a,t(a),i,s,l)},updateDocumentWithKey:c,releaseDocument:function(n,a){return u(e.toPath(n,r,o),t(a))},releaseDocumentWithKey:u,getLanguageServiceRefCounts:function(n){return e.arrayFrom(i.entries(),(function(e){var t=e[0],r=e[1].get(n);return[t,r&&r.languageServiceRefCount]}))},reportStats:function(){var n=e.arrayFrom(i.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var n=i.get(e),t=[];return n.forEach((function(e,n){t.push({name:n,refCount:e.languageServiceRefCount})})),t.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:t}}));return JSON.stringify(n,void 0,2)},getKeyForCompilationSettings:t}}function t(n){return e.sourceFileAffectingCompilerOptions.map((function(t){return e.getCompilerOptionValue(n,t)})).join("|")}e.createDocumentRegistry=function(e,t){return n(e,t)},e.createDocumentRegistryInternal=n}(p||(p={})),function(e){!function(n){function t(n,t){return e.forEach(294===n.kind?n.statements:n.body.statements,(function(n){return t(n)||c(n)&&e.forEach(n.body&&n.body.statements,t)}))}function r(n,r){if(n.externalModuleIndicator||void 0!==n.imports)for(var a=0,i=n.imports;a<i.length;a++){var o=i[a];r(e.importFromModuleSpecifier(o),o)}else t(n,(function(n){switch(n.kind){case 264:case 258:(t=n).moduleSpecifier&&e.isStringLiteral(t.moduleSpecifier)&&r(t,t.moduleSpecifier);break;case 257:var t;l(t=n)&&r(t,t.moduleReference.expression)}}))}function a(n,t,r){var a=n.parent;if(a){var i=r.getMergedSymbol(a);return e.isExternalModuleSymbol(i)?{exportingModuleSymbol:i,exportKind:t}:void 0}}function i(e,n){return n.getMergedSymbol(o(e).symbol)}function o(n){if(200===n.kind)return n.getSourceFile();var t=n.parent;return 294===t.kind?t:(e.Debug.assert(254===t.kind),e.cast(t.parent,c))}function c(e){return 253===e.kind&&10===e.name.kind}function l(e){return 269===e.moduleReference.kind&&10===e.moduleReference.expression.kind}n.createImportTracker=function(n,a,c,u){var d=function(n,t,a){for(var i=new e.Map,o=0,s=n;o<s.length;o++){var c=s[o];a&&a.throwIfCancellationRequested(),r(c,(function(n,r){var a=t.getSymbolAtLocation(r);if(a){var o=e.getSymbolId(a).toString(),s=i.get(o);s||i.set(o,s=[]),s.push(n)}}))}return i}(n,c,u);return function(r,p,f){var m=function(n,r,a,s,c,l){var u=s.exportingModuleSymbol,d=s.exportKind,p=e.nodeSeenTracker(),f=e.nodeSeenTracker(),m=[],_=!!u.globalExports,g=_?void 0:[];return h(u),{directImports:m,indirectUsers:y()};function y(){if(_)return n;for(var t=0,a=u.declarations;t<a.length;t++){var i=a[t];e.isExternalModuleAugmentation(i)&&r.has(i.getSourceFile().fileName)&&b(i)}return g.map(e.getSourceFileOfNode)}function h(n){var t=T(n);if(t)for(var r=0,a=t;r<a.length;r++){var s=a[r];if(p(s))switch(l&&l.throwIfCancellationRequested(),s.kind){case 200:if(!_){var u=s.parent;if(2===d&&246===u.kind){var f=u.name;if(78===f.kind){m.push(f);break}}b(s.getSourceFile())}break;case 78:break;case 257:v(s,s.name,e.hasSyntacticModifier(s,1),!1);break;case 258:m.push(s);var g=s.importClause&&s.importClause.namedBindings;g&&260===g.kind?v(s,g.name,!1,!0):!_&&e.isDefaultImport(s)&&b(o(s));break;case 264:s.exportClause?266===s.exportClause.kind?E(o(s)):m.push(s):h(i(s,c));break;case 192:m.push(s);break;default:e.Debug.failBadSyntaxKind(s,"Unexpected import kind.")}}}function v(n,r,a,i){if(2===d)i||m.push(n);else if(!_){var s=o(n);e.Debug.assert(294===s.kind||253===s.kind),a||function(n,r,a){var i=a.getSymbolAtLocation(r);return!!t(n,(function(n){if(e.isExportDeclaration(n)){var t=n.exportClause;return!n.moduleSpecifier&&t&&e.isNamedExports(t)&&t.elements.some((function(e){return a.getExportSpecifierLocalTargetSymbol(e)===i}))}}))}(s,r,c)?E(s):b(s)}}function b(n){e.Debug.assert(!_);var t=f(n);return t&&g.push(n),t}function E(n){if(b(n)){var t=c.getMergedSymbol(n.symbol);e.Debug.assert(!!(1536&t.flags));var r=T(t);if(r)for(var a=0,i=r;a<i.length;a++){var s=i[a];e.isImportTypeNode(s)||E(o(s))}}}function T(n){return a.get(e.getSymbolId(n).toString())}}(n,a,d,p,c,u),_=m.directImports,g=m.indirectUsers;return s({indirectUsers:g},function(n,t,r,a,i){var o=[],s=[];function c(e,n){o.push([e,n])}if(n)for(var u=0,d=n;u<d.length;u++){p(d[u])}return{importSearches:o,singleReferences:s};function p(n){if(257!==n.kind)if(78!==n.kind)if(192!==n.kind){if(10===n.moduleSpecifier.kind)if(264!==n.kind){var o=n.importClause||{name:void 0,namedBindings:void 0},u=o.name,d=o.namedBindings;if(d)switch(d.kind){case 260:f(d.name);break;case 261:0!==r&&1!==r||m(d);break;default:e.Debug.assertNever(d)}if(u&&(1===r||2===r)&&(!i||u.escapedText===e.symbolEscapedNameNoDefault(t)))c(u,a.getSymbolAtLocation(u))}else n.exportClause&&e.isNamedExports(n.exportClause)&&m(n.exportClause)}else if(n.qualifier){var p=e.getFirstIdentifier(n.qualifier);p.escapedText===e.symbolName(t)&&s.push(p)}else 2===r&&s.push(n.argument.literal);else f(n);else l(n)&&f(n.name)}function f(e){2!==r||i&&!_(e.escapedText)||c(e,a.getSymbolAtLocation(e))}function m(e){if(e)for(var n=0,r=e.elements;n<r.length;n++){var o=r[n],l=o.name,u=o.propertyName;if(_((u||l).escapedText))if(u)s.push(u),i&&l.escapedText!==t.escapedName||c(l,a.getSymbolAtLocation(l));else c(l,267===o.kind&&o.propertyName?a.getExportSpecifierLocalTargetSymbol(o):a.getSymbolAtLocation(l))}}function _(e){return e===t.escapedName||0!==r&&"default"===e}}(_,r,p.exportKind,c,f))}},function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals"}(n.ExportKind||(n.ExportKind={})),function(e){e[e.Import=0]="Import",e[e.Export=1]="Export"}(n.ImportExport||(n.ImportExport={})),n.findModuleReferences=function(e,n,t){for(var a=[],i=e.getTypeChecker(),o=0,s=n;o<s.length;o++){var c=s[o],l=t.valueDeclaration;if(294===l.kind){for(var u=0,d=c.referencedFiles;u<d.length;u++){var p=d[u];e.getSourceFileFromReference(c,p)===l&&a.push({kind:"reference",referencingFile:c,ref:p})}for(var f=0,m=c.typeReferenceDirectives;f<m.length;f++){p=m[f];var _=e.getResolvedTypeReferenceDirectives().get(p.fileName);void 0!==_&&_.resolvedFileName===l.fileName&&a.push({kind:"reference",referencingFile:c,ref:p})}}r(c,(function(e,n){i.getSymbolAtLocation(n)===t&&a.push({kind:"import",literal:n})}))}return a},n.getImportOrExportSymbol=function(n,t,r,i){return i?o():o()||function(){if(!function(n){var t=n.parent;switch(t.kind){case 257:return t.name===n&&l(t);case 262:return!t.propertyName;case 259:case 260:return e.Debug.assert(t.name===n),!0;default:return!1}}(n))return;var a=r.getImmediateAliasedSymbol(t);if(!a)return;"export="===(a=function(n,t){if(n.declarations)for(var r=0,a=n.declarations;r<a.length;r++){var i=a[r];if(e.isExportSpecifier(i)&&!i.propertyName&&!i.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(i)}return n}(a,r)).escapedName&&(a=function(n,t){if(2097152&n.flags)return e.Debug.checkDefined(t.getImmediateAliasedSymbol(n));var r=n.valueDeclaration;if(e.isExportAssignment(r))return e.Debug.checkDefined(r.expression.symbol);if(e.isBinaryExpression(r))return e.Debug.checkDefined(r.right.symbol);if(e.isSourceFile(r))return e.Debug.checkDefined(r.symbol);return e.Debug.fail()}(a,r));var i=e.symbolEscapedNameNoDefault(a);if(void 0===i||"default"===i||i===t.escapedName)return{kind:0,symbol:a}}();function o(){var a=n.parent,o=a.parent;if(t.exportSymbol)return 198===a.kind?t.declarations.some((function(e){return e===a}))&&e.isBinaryExpression(o)?d(o,!1):void 0:s(t.exportSymbol,c(a));var l=function(n,t){var r=e.isVariableDeclaration(n)?n:e.isBindingElement(n)?e.walkUpBindingElementsAndPatterns(n):void 0;return r?n.name!==t||e.isCatchClause(r.parent)?void 0:e.isVariableStatement(r.parent.parent)?r.parent.parent:void 0:n}(a,n);if(l&&e.hasSyntacticModifier(l,1)){if(e.isImportEqualsDeclaration(l)&&l.moduleReference===n){if(i)return;return{kind:0,symbol:r.getSymbolAtLocation(l.name)}}return s(t,c(l))}if(e.isNamespaceExport(a))return s(t,0);if(e.isExportAssignment(a))return u(a);if(e.isExportAssignment(o))return u(o);if(e.isBinaryExpression(a))return d(a,!0);if(e.isBinaryExpression(o))return d(o,!0);if(e.isJSDocTypedefTag(a))return s(t,0);function u(n){var r=e.Debug.checkDefined(n.symbol.parent,"Expected export symbol to have a parent"),a=n.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:r,exportKind:a}}}function d(n,a){var i;switch(e.getAssignmentDeclarationKind(n)){case 1:i=0;break;case 2:i=2;break;default:return}var o=a?r.getSymbolAtLocation(e.getNameOfAccessExpression(e.cast(n.left,e.isAccessExpression))):t;return o&&s(o,i)}}function s(e,n){var t=a(e,n,r);return t&&{kind:1,symbol:e,exportInfo:t}}function c(n){return e.hasSyntacticModifier(n,512)?1:0}},n.getExportInfo=a}(e.FindAllReferences||(e.FindAllReferences={}))}(p||(p={})),function(e){!function(n){var t;function r(e,n){return void 0===n&&(n=1),{kind:n,node:e.name||e,context:i(e)}}function a(e){return e&&void 0===e.kind}function i(n){if(e.isDeclaration(n))return c(n);if(n.parent){if(!e.isDeclaration(n.parent)&&!e.isExportAssignment(n.parent)){if(e.isInJSFile(n)){var t=e.isBinaryExpression(n.parent)?n.parent:e.isAccessExpression(n.parent)&&e.isBinaryExpression(n.parent.parent)&&n.parent.parent.left===n.parent?n.parent.parent:void 0;if(t&&0!==e.getAssignmentDeclarationKind(t))return c(t)}if(e.isJsxOpeningElement(n.parent)||e.isJsxClosingElement(n.parent))return n.parent.parent;if(e.isJsxSelfClosingElement(n.parent)||e.isLabeledStatement(n.parent)||e.isBreakOrContinueStatement(n.parent))return n.parent;if(e.isStringLiteralLike(n)){var r=e.tryGetImportFromModuleSpecifier(n);if(r){var a=e.findAncestor(r,(function(n){return e.isDeclaration(n)||e.isStatement(n)||e.isJSDocTag(n)}));return e.isDeclaration(a)?c(a):a}}var i=e.findAncestor(n,e.isComputedPropertyName);return i?c(i.parent):void 0}return n.parent.name===n||e.isConstructorDeclaration(n.parent)||e.isExportAssignment(n.parent)||(e.isImportOrExportSpecifier(n.parent)||e.isBindingElement(n.parent))&&n.parent.propertyName===n||87===n.kind&&e.hasSyntacticModifier(n.parent,513)?c(n.parent):void 0}}function c(n){if(n)switch(n.kind){case 246:return e.isVariableDeclarationList(n.parent)&&1===n.parent.declarations.length?e.isVariableStatement(n.parent.parent)?n.parent.parent:e.isForInOrOfStatement(n.parent.parent)?c(n.parent.parent):n.parent:n;case 195:return c(n.parent.parent);case 262:return n.parent.parent.parent;case 267:case 260:return n.parent.parent;case 259:case 266:return n.parent;case 213:return e.isExpressionStatement(n.parent)?n.parent:n;case 236:case 235:return{start:n.initializer,end:n.expression};case 285:case 286:return e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)?c(e.findAncestor(n.parent,(function(n){return e.isBinaryExpression(n)||e.isForInOrOfStatement(n)}))):n;default:return n}}function l(e,n,t){if(t){var r=a(t)?g(t.start,n,t.end):g(t,n);return r.start!==e.start||r.length!==e.length?{contextSpan:r}:void 0}}function u(n,a,i,o,s){if(294!==o.kind){var c=n.getTypeChecker();if(286===o.parent.kind){var l=[];return t.getReferenceEntriesForShorthandPropertyAssignment(o,c,(function(e){return l.push(r(e))})),l}if(105===o.kind||e.isSuperProperty(o.parent)){var u=c.getSymbolAtLocation(o);return u.valueDeclaration&&[r(u.valueDeclaration)]}return d(s,o,n,i,a,{implementations:!0,use:1})}}function d(n,r,a,i,o,s,c){return void 0===s&&(s={}),void 0===c&&(c=new e.Set(i.map((function(e){return e.fileName})))),p(t.getReferencedSymbolsForNode(n,r,a,i,o,s,c))}function p(n){return n&&e.flatMap(n,(function(e){return e.references}))}function f(n,r,a){var i=t.getIntersectingMeaningFromDeclarations(a,n),o=n.declarations&&e.firstOrUndefined(n.declarations)||a,s=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,n,o.getSourceFile(),o,o,i);return{displayParts:s.displayParts,kind:s.symbolKind}}function m(e){var n=_(e);if(0===e.kind)return s(s({},n),{isWriteAccess:!1,isDefinition:!1});var t=e.kind,r=e.node;return s(s({},n),{isWriteAccess:h(r),isDefinition:v(r),isInString:2===t||void 0})}function _(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};var n=e.node.getSourceFile(),t=g(e.node,n);return s({textSpan:t,fileName:n.fileName},l(t,n,e.context))}function g(n,t,r){var a=n.getStart(t),i=(r||n).getEnd();return e.isStringLiteralLike(n)&&(e.Debug.assert(void 0===r),a+=1,i-=1),e.createTextSpanFromBounds(a,i)}function y(e){return 0===e.kind?e.textSpan:g(e.node,e.node.getSourceFile())}function h(n){var t=e.getDeclarationFromName(n);return!!t&&function(n){if(8388608&n.flags)return!0;switch(n.kind){case 213:case 195:case 249:case 218:case 87:case 252:case 288:case 267:case 259:case 257:case 262:case 250:case 320:case 327:case 277:case 253:case 256:case 260:case 266:case 159:case 286:case 251:case 158:return!0;case 285:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent);case 248:case 205:case 165:case 164:case 166:case 167:return!!n.body;case 246:case 162:return!!n.initializer||e.isCatchClause(n.parent);case 163:case 161:case 328:case 322:return!1;default:return e.Debug.failBadSyntaxKind(n)}}(t)||87===n.kind||e.isWriteAccess(n)}function v(n){return 87===n.kind||!!e.getDeclarationFromName(n)||e.isLiteralComputedPropertyDeclarationName(n)||132===n.kind&&e.isConstructorDeclaration(n.parent)}!function(e){e[e.Symbol=0]="Symbol",e[e.Label=1]="Label",e[e.Keyword=2]="Keyword",e[e.This=3]="This",e[e.String=4]="String"}(n.DefinitionKind||(n.DefinitionKind={})),function(e){e[e.Span=0]="Span",e[e.Node=1]="Node",e[e.StringLiteral=2]="StringLiteral",e[e.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",e[e.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal"}(n.EntryKind||(n.EntryKind={})),n.nodeEntry=r,n.isContextWithStartAndEndNode=a,n.getContextNode=c,n.toContextSpan=l,function(e){e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename"}(n.FindReferencesUse||(n.FindReferencesUse={})),n.findReferencedSymbols=function(n,r,a,i,o){var u=e.getTouchingPropertyName(i,o),d=t.getReferencedSymbolsForNode(o,u,n,a,r,{use:1}),p=n.getTypeChecker();return d&&d.length?e.mapDefined(d,(function(n){var t=n.definition,a=n.references;return t&&{definition:p.runWithCancellationToken(r,(function(n){return function(n,t,r){var a=function(){switch(n.type){case 0:var a=f(m=n.symbol,t,r),i=a.displayParts,o=a.kind,s=i.map((function(e){return e.text})).join(""),l=m.declarations&&e.firstOrUndefined(m.declarations);return{node:l?e.getNameOfDeclaration(l)||l:r,name:s,kind:o,displayParts:i,context:c(l)};case 1:var u=n.node;return{node:u,name:u.text,kind:"label",displayParts:[e.displayPart(u.text,e.SymbolDisplayPartKind.text)]};case 2:var d=n.node,p=e.tokenToString(d.kind);return{node:d,name:p,kind:"keyword",displayParts:[{text:p,kind:"keyword"}]};case 3:var m,_=n.node,g=(m=t.getSymbolAtLocation(_))&&e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,m,_.getSourceFile(),e.getContainerNode(_),_).displayParts||[e.textPart("this")];return{node:_,name:"this",kind:"var",displayParts:g};case 4:var y=n.node;return{node:y,name:y.text,kind:"var",displayParts:[e.displayPart(e.getTextOfNode(y),e.SymbolDisplayPartKind.stringLiteral)]};default:return e.Debug.assertNever(n)}}(),i=a.node,o=a.name,u=a.kind,d=a.displayParts,p=a.context,m=i.getSourceFile(),_=g(e.isComputedPropertyName(i)?i.expression:i,m);return s({containerKind:"",containerName:"",fileName:m.fileName,kind:u,name:o,textSpan:_,displayParts:d},l(_,m,p))}(t,n,u)})),references:a.map(m)}})):void 0},n.getImplementationsAtPosition=function(n,t,r,a,i){var c,l=e.getTouchingPropertyName(a,i),d=u(n,t,r,l,i);if(198===l.parent.kind||195===l.parent.kind||199===l.parent.kind||105===l.kind)c=d&&o(d);else for(var p=d&&o(d),m=new e.Map;p&&p.length;){var g=p.shift();if(e.addToSeen(m,e.getNodeId(g.node))){c=e.append(c,g);var y=u(n,t,r,g.node,g.node.pos);y&&p.push.apply(p,y)}}var h=n.getTypeChecker();return e.map(c,(function(n){return function(n,t){var r=_(n);if(0!==n.kind){var a=n.node;return s(s({},r),function(n,t){var r=t.getSymbolAtLocation(e.isDeclaration(n)&&n.name?n.name:n);return r?f(r,t,n):197===n.kind?{kind:"interface",displayParts:[e.punctuationPart(20),e.textPart("object literal"),e.punctuationPart(21)]}:218===n.kind?{kind:"local class",displayParts:[e.punctuationPart(20),e.textPart("anonymous local class"),e.punctuationPart(21)]}:{kind:e.getNodeKind(n),displayParts:[]}}(a,t))}return s(s({},r),{kind:"",displayParts:[]})}(n,h)}))},n.findReferenceOrRenameEntries=function(n,r,a,i,o,s,c){return e.map(p(t.getReferencedSymbolsForNode(o,i,n,a,r,s)),(function(e){return c(e,i,n.getTypeChecker())}))},n.getReferenceEntriesForNode=d,n.toRenameLocation=function(n,t,r,a){return s(s({},_(n)),a&&function(n,t,r){if(0!==n.kind&&e.isIdentifier(t)){var a=n.node,i=n.kind,o=a.parent,s=t.text,c=e.isShorthandPropertyAssignment(o);if(c||e.isObjectBindingElementWithoutPropertyName(o)&&o.name===a&&void 0===o.dotDotDotToken){var l={prefixText:s+": "},u={suffixText:": "+s};if(3===i)return l;if(4===i)return u;if(c){var d=o.parent;return e.isObjectLiteralExpression(d)&&e.isBinaryExpression(d.parent)&&e.isModuleExportsAccessExpression(d.parent.left)?l:u}return l}if(e.isImportSpecifier(o)&&!o.propertyName){var p=e.isExportSpecifier(t.parent)?r.getExportSpecifierLocalTargetSymbol(t.parent):r.getSymbolAtLocation(t);return e.contains(p.declarations,o)?{prefixText:s+" as "}:e.emptyOptions}if(e.isExportSpecifier(o)&&!o.propertyName)return t===n.node||r.getSymbolAtLocation(t)===r.getSymbolAtLocation(n.node)?{prefixText:s+" as "}:{suffixText:" as "+s}}return e.emptyOptions}(n,t,r))},n.toReferenceEntry=m,n.toHighlightSpan=function(e){var n=_(e);if(0===e.kind)return{fileName:n.fileName,span:{textSpan:n.textSpan,kind:"reference"}};var t=h(e.node),r=s({textSpan:n.textSpan,kind:t?"writtenReference":"reference",isInString:2===e.kind||void 0},n.contextSpan&&{contextSpan:n.contextSpan});return{fileName:n.fileName,span:r}},n.getTextSpanOfEntry=y,function(t){function a(n,t,r){if(n.parent&&e.isNamespaceExportDeclaration(n.parent)){var a=r.getAliasedSymbol(t),i=r.getMergedSymbol(a);if(a!==i)return i}}function i(n,t,r,a,i,s){var l=1536&n.flags&&n.declarations&&e.find(n.declarations,e.isSourceFile);if(l){var d=n.exports.get("export="),p=c(t,n,!!d,r,s);if(!d||!s.has(l.fileName))return p;var f=t.getTypeChecker();return o(t,p,u(n=e.skipAlias(d,f),void 0,r,s,f,a,i))}}function o(n){for(var t,r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];for(var i=0,o=r;i<o.length;i++){var c=o[i];if(c&&c.length)if(t)for(var l=function(r){if(!r.definition||0!==r.definition.type)return t.push(r),"continue";var a=r.definition.symbol,i=e.findIndex(t,(function(e){return!!e.definition&&0===e.definition.type&&e.definition.symbol===a}));if(-1===i)return t.push(r),"continue";var o=t[i];t[i]={definition:o.definition,references:o.references.concat(r.references).sort((function(t,r){var a=s(n,t),i=s(n,r);if(a!==i)return e.compareValues(a,i);var o=y(t),c=y(r);return o.start!==c.start?e.compareValues(o.start,c.start):e.compareValues(o.length,c.length)}))}},u=0,d=c;u<d.length;u++){var p=d[u];l(p)}else t=c}return t}function s(e,n){var t=0===n.kind?e.getSourceFile(n.fileName):n.node.getSourceFile();return e.getSourceFiles().indexOf(t)}function c(t,a,i,o,s){e.Debug.assert(!!a.valueDeclaration);var c=e.mapDefined(n.findModuleReferences(t,o,a),(function(n){if("import"===n.kind){var t=n.literal.parent;if(e.isLiteralTypeNode(t)){var a=e.cast(t.parent,e.isImportTypeNode);if(i&&!a.qualifier)return}return r(n.literal)}return{kind:0,fileName:n.referencingFile.fileName,textSpan:e.createTextSpanFromRange(n.ref)}}));if(a.declarations)for(var l=0,u=a.declarations;l<u.length;l++){switch((m=u[l]).kind){case 294:break;case 253:s.has(m.getSourceFile().fileName)&&c.push(r(m.name));break;default:e.Debug.assert(!!(33554432&a.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}}var d=a.exports.get("export=");if(d)for(var p=0,f=d.declarations;p<f.length;p++){var m,_=(m=f[p]).getSourceFile();if(s.has(_.fileName)){var g=e.isBinaryExpression(m)&&e.isPropertyAccessExpression(m.left)?m.left.expression:e.isExportAssignment(m)?e.Debug.checkDefined(e.findChildOfKind(m,92,_)):e.getNameOfDeclaration(m)||m;c.push(r(g))}}return c.length?[{definition:{type:0,symbol:a},references:c}]:e.emptyArray}function l(n){return 141===n.kind&&e.isTypeOperatorNode(n.parent)&&141===n.parent.operator}function u(n,t,r,a,i,o,s){var c=t&&function(n,t,r,a){var i=t.parent;if(e.isExportSpecifier(i)&&a)return C(t,n,i,r);return e.firstDefined(n.declarations,(function(a){if(!a.parent){if(33554432&n.flags)return;e.Debug.fail("Unexpected symbol at "+e.Debug.formatSyntaxKind(t.kind)+": "+e.Debug.formatSymbol(n))}return e.isTypeLiteralNode(a.parent)&&e.isUnionTypeNode(a.parent.parent)?r.getPropertyOfType(r.getTypeFromTypeNode(a.parent.parent),n.name):void 0}))}(n,t,i,!G(s))||n,l=t?M(t,c):7,u=[],p=new f(r,a,t?function(n){switch(n.kind){case 132:return 1;case 78:if(e.isClassLike(n.parent))return e.Debug.assert(n.parent.name===n),2;default:return 0}}(t):0,i,o,l,s,u),_=G(s)?e.find(c.declarations,e.isExportSpecifier):void 0;if(_)D(_.name,c,_,p.createSearch(t,n,void 0),p,!0,!0);else if(t&&87===t.kind)I(t,c,p),m(t,c,{exportingModuleSymbol:e.Debug.checkDefined(c.parent,"Expected export symbol to have a parent"),exportKind:1},p);else{var g=p.createSearch(t,c,void 0,{allSearchSymbols:t?k(c,t,i,2===s.use,!!s.providePrefixAndSuffixTextForRename,!!s.implementations):[c]});d(c,p,g)}return u}function d(n,t,r){var a=function(n){var t=n.declarations,r=n.flags,a=n.parent,i=n.valueDeclaration;if(i&&(205===i.kind||218===i.kind))return i;if(!t)return;if(8196&r){var o=e.find(t,(function(n){return e.hasEffectiveModifier(n,8)||e.isPrivateIdentifierPropertyDeclaration(n)}));return o?e.getAncestor(o,249):void 0}if(t.some(e.isObjectBindingElementWithoutPropertyName))return;var s,c=a&&!(262144&n.flags);if(c&&(!e.isExternalModuleSymbol(a)||a.globalExports))return;for(var l=0,u=t;l<u.length;l++){var d=u[l],p=e.getContainerNode(d);if(s&&s!==p)return;if(!p||294===p.kind&&!e.isExternalOrCommonJsModule(p))return;s=p}return c?s.getSourceFile():s}(n);if(a)L(a,a.getSourceFile(),r,t,!(e.isSourceFile(a)&&!e.contains(t.sourceFiles,a)));else for(var i=0,o=t.sourceFiles;i<o.length;i++){var s=o[i];t.cancellationToken.throwIfCancellationRequested(),h(s,r,t)}}var p;t.getReferencedSymbolsForNode=function(n,t,s,d,p,f,m){if(void 0===f&&(f={}),void 0===m&&(m=new e.Set(d.map((function(e){return e.fileName})))),1===f.use?t=e.getAdjustedReferenceLocation(t):2===f.use&&(t=e.getAdjustedRenameLocation(t)),e.isSourceFile(t)){var _=e.GoToDefinition.getReferenceAtPosition(t,n,s),g=_&&s.getTypeChecker().getMergedSymbol(_.file.symbol);return g&&c(s,g,!1,d,m)}if(!f.implementations){var y=function(n,t,a){if(e.isTypeKeyword(n.kind)){if(113===n.kind&&e.isVoidExpression(n.parent))return;if(141===n.kind&&!l(n))return;return function(n,t,a,i){var o=e.flatMap(n,(function(n){return a.throwIfCancellationRequested(),e.mapDefined(b(n,e.tokenToString(t),n),(function(e){if(e.kind===t&&(!i||i(e)))return r(e)}))}));return o.length?[{definition:{type:2,node:o[0].node},references:o}]:void 0}(t,n.kind,a,141===n.kind?l:void 0)}if(e.isJumpStatementTarget(n)){var i=e.getTargetLabel(n.parent,n.text);return i&&T(i.parent,i)}if(e.isLabelOfLabeledStatement(n))return T(n.parent,n);if(e.isThis(n))return function(n,t,a){var i=e.getThisContainer(n,!1),o=32;switch(i.kind){case 164:case 163:if(e.isObjectLiteralMethod(i))break;case 162:case 161:case 165:case 166:case 167:o&=e.getSyntacticModifierFlags(i),i=i.parent;break;case 294:if(e.isExternalModule(i)||R(n))return;case 248:case 205:break;default:return}var s=e.flatMap(294===i.kind?t:[i.getSourceFile()],(function(n){return a.throwIfCancellationRequested(),b(n,"this",e.isSourceFile(i)?n:i).filter((function(n){if(!e.isThis(n))return!1;var t=e.getThisContainer(n,!1);switch(i.kind){case 205:case 248:return i.symbol===t.symbol;case 164:case 163:return e.isObjectLiteralMethod(i)&&i.symbol===t.symbol;case 218:case 249:return t.parent&&i.symbol===t.parent.symbol&&(32&e.getSyntacticModifierFlags(t))===o;case 294:return 294===t.kind&&!e.isExternalModule(t)&&!R(n)}}))})).map((function(e){return r(e)}));return[{definition:{type:3,node:e.firstDefined(s,(function(n){return e.isParameter(n.node.parent)?n.node:void 0}))||n},references:s}]}(n,t,a);if(105===n.kind)return function(n){var t=e.getSuperContainer(n,!1);if(!t)return;var a=32;switch(t.kind){case 162:case 161:case 164:case 163:case 165:case 166:case 167:a&=e.getSyntacticModifierFlags(t),t=t.parent;break;default:return}var i=t.getSourceFile(),o=e.mapDefined(b(i,"super",t),(function(n){if(105===n.kind){var i=e.getSuperContainer(n,!1);return i&&(32&e.getSyntacticModifierFlags(i))===a&&i.parent.symbol===t.symbol?r(n):void 0}}));return[{definition:{type:0,symbol:t.symbol},references:o}]}(n);return}(t,d,p);if(y)return y}var h=s.getTypeChecker(),v=h.getSymbolAtLocation(t);if(!v)return!f.implementations&&e.isStringLiteral(t)?function(n,t,a){var i=e.flatMap(t,(function(t){return a.throwIfCancellationRequested(),e.mapDefined(b(t,n.text),(function(t){return e.isStringLiteral(t)&&t.text===n.text?r(t,2):void 0}))}));return[{definition:{type:4,node:n},references:i}]}(t,d,p):void 0;if("export="===v.escapedName)return c(s,v.parent,!1,d,m);var E=i(v,s,d,p,f,m);if(E&&!(33554432&v.flags))return E;var S=a(t,v,h),L=S&&i(S,s,d,p,f,m);return o(s,E,u(v,t,d,m,h,p,f),L)},function(e){e[e.None=0]="None",e[e.Constructor=1]="Constructor",e[e.Class=2]="Class"}(p||(p={}));var f=function(){function t(n,t,r,a,i,o,s,c){this.sourceFiles=n,this.sourceFilesSet=t,this.specialSearchKind=r,this.checker=a,this.cancellationToken=i,this.searchMeaning=o,this.options=s,this.result=c,this.inheritsFromCache=new e.Map,this.markSeenContainingTypeReference=e.nodeSeenTracker(),this.markSeenReExportRHS=e.nodeSeenTracker(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}return t.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.fileName)},t.prototype.getImportSearches=function(e,t){return this.importTracker||(this.importTracker=n.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,t,2===this.options.use)},t.prototype.createSearch=function(n,t,r,a){void 0===a&&(a={});var i=a.text,o=void 0===i?e.stripQuotes(e.symbolName(e.getLocalSymbolForExportDefault(t)||function(n){if(33555968&n.flags){var t=n.declarations&&e.find(n.declarations,(function(n){return!e.isSourceFile(n)&&!e.isModuleDeclaration(n)}));return t&&t.symbol}}(t)||t)):i,s=a.allSearchSymbols,c=void 0===s?[t]:s;return{symbol:t,comingFrom:r,text:o,escapedText:e.escapeLeadingUnderscores(o),parents:this.options.implementations&&n?function(n,t,r){var a=e.isRightSideOfPropertyAccess(n)?n.parent:void 0,i=a&&r.getTypeAtLocation(a.expression),o=e.mapDefined(i&&(i.isUnionOrIntersection()?i.types:i.symbol===t.parent?void 0:[i]),(function(e){return e.symbol&&96&e.symbol.flags?e.symbol:void 0}));return 0===o.length?void 0:o}(n,t,this.checker):void 0,allSearchSymbols:c,includes:function(n){return e.contains(c,n)}}},t.prototype.referenceAdder=function(n){var t=e.getSymbolId(n),a=this.symbolIdToReferences[t];return a||(a=this.symbolIdToReferences[t]=[],this.result.push({definition:{type:0,symbol:n},references:a})),function(e,n){return a.push(r(e,n))}},t.prototype.addStringOrCommentReference=function(e,n){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:n}]})},t.prototype.markSearchedSymbols=function(n,t){for(var r=e.getNodeId(n),a=this.sourceFileToSeenSymbols[r]||(this.sourceFileToSeenSymbols[r]=new e.Set),i=!1,o=0,s=t;o<s.length;o++){var c=s[o];i=e.tryAddToSet(a,e.getSymbolId(c))||i}return i},t}();function m(e,n,t,r){var a=r.getImportSearches(n,t),i=a.importSearches,o=a.singleReferences,s=a.indirectUsers;if(o.length)for(var c=r.referenceAdder(n),l=0,u=o;l<u.length;l++){var d=u[l];_(d,r)&&c(d)}for(var p=0,f=i;p<f.length;p++){var m=f[p],g=m[0],y=m[1];S(g.getSourceFile(),r.createSearch(g,y,1),r)}if(s.length){var v=void 0;switch(t.exportKind){case 0:v=r.createSearch(e,n,1);break;case 1:v=2===r.options.use?void 0:r.createSearch(e,n,1,{text:"default"})}if(v)for(var b=0,E=s;b<E.length;b++){h(E[b],v,r)}}}function _(n,t){return!!x(n,t)&&(2!==t.options.use||!!e.isIdentifier(n)&&!(e.isImportOrExportSpecifier(n.parent)&&"default"===n.escapedText))}function g(e,n){if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t],i=a.getSourceFile();S(i,n.createSearch(a,e,0),n,n.includesSourceFile(i))}}function h(n,t,r){void 0!==e.getNameTable(n).get(t.escapedText)&&S(n,t,r)}function v(n,t,r,a,i){void 0===i&&(i=r);var o=e.isParameterPropertyDeclaration(n.parent,n.parent.parent)?e.first(t.getSymbolsOfParameterPropertyDeclaration(n.parent,n.text)):t.getSymbolAtLocation(n);if(o)for(var s=0,c=b(r,o.name,i);s<c.length;s++){var l=c[s];if(e.isIdentifier(l)&&l!==n&&l.escapedText===n.escapedText){var u=t.getSymbolAtLocation(l);if(u===o||t.getShorthandAssignmentValueSymbol(l.parent)===o||e.isExportSpecifier(l.parent)&&C(l,u,l.parent,t)===o){var d=a(l);if(d)return d}}}}function b(n,t,r){return void 0===r&&(r=n),E(n,t,r).map((function(t){return e.getTouchingPropertyName(n,t)}))}function E(n,t,r){void 0===r&&(r=n);var a=[];if(!t||!t.length)return a;for(var i=n.text,o=i.length,s=t.length,c=i.indexOf(t,r.pos);c>=0&&!(c>r.end);){var l=c+s;0!==c&&e.isIdentifierPart(i.charCodeAt(c-1),99)||l!==o&&e.isIdentifierPart(i.charCodeAt(l),99)||a.push(c),c=i.indexOf(t,c+s+1)}return a}function T(n,t){var a=n.getSourceFile(),i=t.text,o=e.mapDefined(b(a,i,n),(function(n){return n===t||e.isJumpStatementTarget(n)&&e.getTargetLabel(n,i)===t?r(n):void 0}));return[{definition:{type:1,node:t},references:o}]}function S(e,n,t,r){return void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),L(e,e,n,t,r)}function L(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=E(n,t.text,e);i<o.length;i++){A(n,o[i],t,r,a)}}function x(n,t){return!!(e.getMeaningFromLocation(n)&t.searchMeaning)}function A(t,r,a,i,o){var s=e.getTouchingPropertyName(t,r);if(function(n,t){switch(n.kind){case 79:case 78:return n.text.length===t.length;case 14:case 10:var r=n;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(r)||e.isNameOfModuleDeclaration(n)||e.isExpressionOfExternalModuleImportEqualsDeclaration(n)||e.isCallExpression(n.parent)&&e.isBindableObjectDefinePropertyCall(n.parent)&&n.parent.arguments[1]===n)&&r.text.length===t.length;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n)&&n.text.length===t.length;case 87:return"default".length===t.length;default:return!1}}(s,a.text)){if(x(s,i)){var c=i.checker.getSymbolAtLocation(s);if(c){var l=s.parent;if(!e.isImportSpecifier(l)||l.propertyName!==s){if(e.isExportSpecifier(l))return e.Debug.assert(78===s.kind),void D(s,c,l,a,i,o);var u=function(n,t,r,a){var i=a.checker;return O(t,r,i,!1,2!==a.options.use||!!a.options.providePrefixAndSuffixTextForRename,(function(r,a,i,o){return i&&P(t)!==P(i)&&(i=void 0),n.includes(i||a||r)?{symbol:!a||6&e.getCheckFlags(r)?r:a,kind:o}:void 0}),(function(t){return!(n.parents&&!n.parents.some((function(n){return function n(t,r,a,i){if(t===r)return!0;var o=e.getSymbolId(t)+","+e.getSymbolId(r),s=a.get(o);if(void 0!==s)return s;a.set(o,!1);var c=!!t.declarations&&t.declarations.some((function(t){return e.getAllSuperTypeNodes(t).some((function(e){var t=i.getTypeAtLocation(e);return!!t&&!!t.symbol&&n(t.symbol,r,a,i)}))}));return a.set(o,c),c}(t.parent,n,a.inheritsFromCache,i)})))}))}(a,c,s,i);if(u){switch(i.specialSearchKind){case 0:o&&I(s,u,i);break;case 1:!function(n,t,r,a){e.isNewExpressionTarget(n)&&I(n,r.symbol,a);var i=function(){return a.referenceAdder(r.symbol)};if(e.isClassLike(n.parent))e.Debug.assert(87===n.kind||n.parent.name===n),function(n,t,r){var a=N(n);if(a&&a.declarations)for(var i=0,o=a.declarations;i<o.length;i++){var s=o[i],c=e.findChildOfKind(s,132,t);e.Debug.assert(165===s.kind&&!!c),r(c)}n.exports&&n.exports.forEach((function(n){var t=n.valueDeclaration;if(t&&164===t.kind){var a=t.body;a&&F(a,107,(function(n){e.isNewExpressionTarget(n)&&r(n)}))}}))}(r.symbol,t,i());else{var o=(s=n,e.tryGetClassExtendingExpressionWithTypeArguments(e.climbPastPropertyAccess(s).parent));o&&(function(n,t){var r=N(n.symbol);if(!r||!r.declarations)return;for(var a=0,i=r.declarations;a<i.length;a++){var o=i[a];e.Debug.assert(165===o.kind);var s=o.body;s&&F(s,105,(function(n){e.isCallExpressionTarget(n)&&t(n)}))}}(o,i()),function(e,n){if(function(e){return!!N(e.symbol)}(e))return;var t=e.symbol,r=n.createSearch(void 0,t,void 0);d(t,n,r)}(o,a))}var s}(s,t,a,i);break;case 2:!function(n,t,r){I(n,t.symbol,r);var a=n.parent;if(2===r.options.use||!e.isClassLike(a))return;e.Debug.assert(a.name===n);for(var i=r.referenceAdder(t.symbol),o=0,s=a.members;o<s.length;o++){var c=s[o];e.isMethodOrAccessor(c)&&e.hasSyntacticModifier(c,32)&&(c.body&&c.body.forEachChild((function n(t){107===t.kind?i(t):e.isFunctionLike(t)||e.isClassLike(t)||t.forEachChild(n)})))}}(s,a,i);break;default:e.Debug.assertNever(i.specialSearchKind)}!function(e,t,r,a){var i=n.getImportOrExportSymbol(e,t,a.checker,1===r.comingFrom);if(!i)return;var o=i.symbol;0===i.kind?G(a.options)||g(o,a):m(e,o,i.exportInfo,a)}(s,c,a,i)}else!function(n,t,r){var a=n.flags,i=n.valueDeclaration,o=r.checker.getShorthandAssignmentValueSymbol(i),s=i&&e.getNameOfDeclaration(i);33554432&a||!s||!t.includes(o)||I(s,o,r)}(c,a,i)}}}}else!i.options.implementations&&(i.options.findInStrings&&e.isInString(t,r)||i.options.findInComments&&e.isInNonReferenceComment(t,r))&&i.addStringOrCommentReference(t.fileName,e.createTextSpan(r,a.text.length))}function D(t,r,a,i,o,s,c){e.Debug.assert(!c||!!o.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var l=a.parent,u=a.propertyName,d=a.name,p=l.parent,f=C(t,r,a,o.checker);if(c||i.includes(f)){if(u?t===u?(p.moduleSpecifier||b(),s&&2!==o.options.use&&o.markSeenReExportRHS(d)&&I(d,e.Debug.checkDefined(a.symbol),o)):o.markSeenReExportRHS(t)&&b():2===o.options.use&&"default"===d.escapedText||b(),!G(o.options)||c){var _=87===t.originalKeywordKind||87===a.name.originalKeywordKind?1:0,y=e.Debug.checkDefined(a.symbol),h=n.getExportInfo(y,_,o.checker);h&&m(t,y,h,o)}if(1!==i.comingFrom&&p.moduleSpecifier&&!u&&!G(o.options)){var v=o.checker.getExportSpecifierLocalTargetSymbol(a);v&&g(v,o)}}function b(){s&&I(t,f,o)}}function C(n,t,r,a){return function(n,t){var r=t.parent,a=t.propertyName,i=t.name;return e.Debug.assert(a===n||i===n),a?a===n:!r.parent.moduleSpecifier}(n,r)&&a.getExportSpecifierLocalTargetSymbol(r)||t}function I(n,t,r){var a="kind"in t?t:{kind:void 0,symbol:t},i=a.kind,o=a.symbol,s=r.referenceAdder(o);r.options.implementations?function(n,t,r){if(e.isDeclarationName(n)&&(a=n.parent,8388608&a.flags?!e.isInterfaceDeclaration(a)&&!e.isTypeAliasDeclaration(a):e.isVariableLike(a)?e.hasInitializer(a):e.isFunctionLikeDeclaration(a)?a.body:e.isClassLike(a)||e.isModuleOrEnumDeclaration(a)))return void t(n);var a;if(78!==n.kind)return;286===n.parent.kind&&w(n,r.checker,t);var i=function n(t){return e.isIdentifier(t)||e.isPropertyAccessExpression(t)?n(t.parent):e.isExpressionWithTypeArguments(t)?e.tryCast(t.parent.parent,e.isClassLike):void 0}(n);if(i)return void t(i);var o=e.findAncestor(n,(function(n){return!e.isQualifiedName(n.parent)&&!e.isTypeNode(n.parent)&&!e.isTypeElement(n.parent)})),s=o.parent;if(e.hasType(s)&&s.type===o&&r.markSeenContainingTypeReference(s))if(e.hasInitializer(s))l(s.initializer);else if(e.isFunctionLike(s)&&s.body){var c=s.body;227===c.kind?e.forEachReturnStatement(c,(function(e){e.expression&&l(e.expression)})):l(c)}else e.isAssertionExpression(s)&&l(s.expression);function l(e){(function e(n){switch(n.kind){case 204:return e(n.expression);case 206:case 205:case 197:case 218:case 196:return!0;default:return!1}})(e)&&t(e)}}(n,s,r):s(n,i)}function N(e){return e.members&&e.members.get("__constructor")}function R(e){return 78===e.kind&&159===e.parent.kind&&e.parent.name===e}function k(e,n,t,r,a,i){var o=[];return O(e,n,t,r,!(r&&a),(function(n,t,r){r&&P(e)!==P(r)&&(r=void 0),o.push(r||t||n)}),(function(){return!i})),o}function O(n,t,r,i,o,s,c){var l=e.getContainingObjectLiteralElement(t);if(l){var u=r.getShorthandAssignmentValueSymbol(t.parent);if(u&&i)return s(u,void 0,void 0,3);var d=r.getContextualType(l.parent),p=d&&e.firstDefined(e.getPropertySymbolsFromContextualType(l,r,d,!0),(function(e){return L(e,4)}));if(p)return p;var f=function(n,t){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent.parent)?t.getPropertySymbolOfDestructuringAssignment(n):void 0}(t,r),m=f&&s(f,void 0,void 0,4);if(m)return m;var _=u&&s(u,void 0,void 0,3);if(_)return _}var g=a(t,n,r);if(g){var y=s(g,void 0,void 0,1);if(y)return y}var h=L(n);if(h)return h;if(n.valueDeclaration&&e.isParameterPropertyDeclaration(n.valueDeclaration,n.valueDeclaration.parent)){var v=r.getSymbolsOfParameterPropertyDeclaration(e.cast(n.valueDeclaration,e.isParameter),n.name);return e.Debug.assert(2===v.length&&!!(1&v[0].flags)&&!!(4&v[1].flags)),L(1&n.flags?v[1]:v[0])}var b=e.getDeclarationOfKind(n,267);if(!i||b&&!b.propertyName){var E=b&&r.getExportSpecifierLocalTargetSymbol(b);if(E){var T=s(E,void 0,void 0,1);if(T)return T}}if(!i){var S=void 0;return(S=o?e.isObjectBindingElementWithoutPropertyName(t.parent)?e.getPropertySymbolFromBindingElement(r,t.parent):void 0:x(n,r))&&L(S,4)}if(e.Debug.assert(i),o)return(S=x(n,r))&&L(S,4);function L(n,t){return e.firstDefined(r.getRootSymbols(n),(function(a){return s(n,a,void 0,t)||(a.parent&&96&a.parent.flags&&c(a)?e.getPropertySymbolsFromBaseTypes(a.parent,a.name,r,(function(e){return s(n,a,e,t)})):void 0)}))}function x(n,t){var r=e.getDeclarationOfKind(n,195);if(r&&e.isObjectBindingElementWithoutPropertyName(r))return e.getPropertySymbolFromBindingElement(t,r)}}function P(n){return!!n.valueDeclaration&&!!(32&e.getEffectiveModifierFlags(n.valueDeclaration))}function M(n,t){var r=e.getMeaningFromLocation(n),a=t.declarations;if(a){var i=void 0;do{i=r;for(var o=0,s=a;o<s.length;o++){var c=s[o],l=e.getMeaningFromDeclaration(c);l&r&&(r|=l)}}while(r!==i)}return r}function w(n,t,r){var a=t.getSymbolAtLocation(n),i=t.getShorthandAssignmentValueSymbol(a.valueDeclaration);if(i)for(var o=0,s=i.getDeclarations();o<s.length;o++){var c=s[o];1&e.getMeaningFromDeclaration(c)&&r(c)}}function F(n,t,r){e.forEachChild(n,(function(e){e.kind===t&&r(e),F(e,t,r)}))}function G(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}t.eachExportReference=function(t,r,a,i,o,s,c,l){for(var u=n.createImportTracker(t,new e.Set(t.map((function(e){return e.fileName}))),r,a)(i,{exportKind:c?1:0,exportingModuleSymbol:o},!1),d=u.importSearches,p=u.indirectUsers,f=0,m=d;f<m.length;f++){l(m[f][0])}for(var _=0,g=p;_<g.length;_++)for(var y=0,h=b(g[_],c?"default":s);y<h.length;y++){var v=h[y];e.isIdentifier(v)&&!e.isImportOrExportSpecifier(v.parent)&&r.getSymbolAtLocation(v)===i&&l(v)}},t.isSymbolReferencedInFile=function(e,n,t,r){return void 0===r&&(r=t),v(e,n,t,(function(){return!0}),r)||!1},t.eachSymbolReferenceInFile=v,t.eachSignatureCall=function(n,t,r,a){if(n.name&&e.isIdentifier(n.name))for(var i=e.Debug.checkDefined(r.getSymbolAtLocation(n.name)),o=0,s=t;o<s.length;o++)for(var c=0,l=b(s[o],i.name);c<l.length;c++){var u=l[c];if(e.isIdentifier(u)&&u!==n.name&&u.escapedText===n.name.escapedText){var d=e.climbPastPropertyAccess(u),p=d.parent;if(e.isCallExpression(p)&&p.expression===d){var f=r.getSymbolAtLocation(u);f&&r.getRootSymbols(f).some((function(e){return e===i}))&&a(p)}}}},t.getIntersectingMeaningFromDeclarations=M,t.getReferenceEntriesForShorthandPropertyAssignment=w}(t=n.Core||(n.Core={}))}(e.FindAllReferences||(e.FindAllReferences={}))}(p||(p={})),function(e){!function(n){function t(n){return(e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isClassExpression(n))&&e.isVariableDeclaration(n.parent)&&n===n.parent.initializer&&e.isIdentifier(n.parent.name)&&!!(2&e.getCombinedNodeFlags(n.parent))}function r(n){return e.isSourceFile(n)||e.isModuleDeclaration(n)||e.isFunctionDeclaration(n)||e.isFunctionExpression(n)||e.isClassDeclaration(n)||e.isClassExpression(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isGetAccessorDeclaration(n)||e.isSetAccessorDeclaration(n)}function a(n){return e.isSourceFile(n)||e.isModuleDeclaration(n)&&e.isIdentifier(n.name)||e.isFunctionDeclaration(n)||e.isClassDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isGetAccessorDeclaration(n)||e.isSetAccessorDeclaration(n)||function(n){return(e.isFunctionExpression(n)||e.isClassExpression(n))&&e.isNamedDeclaration(n)}(n)||t(n)}function i(n){return e.isSourceFile(n)?n:e.isNamedDeclaration(n)?n.name:t(n)?n.parent.name:e.Debug.checkDefined(n.modifiers&&e.find(n.modifiers,o))}function o(e){return 87===e.kind}function s(e,n){var t=i(n);return t&&e.getSymbolAtLocation(t)}function c(n,t){if(t.body)return t;if(e.isConstructorDeclaration(t))return e.getFirstConstructorWithBody(t.parent);if(e.isFunctionDeclaration(t)||e.isMethodDeclaration(t)){var r=s(n,t);return r&&r.valueDeclaration&&e.isFunctionLikeDeclaration(r.valueDeclaration)&&r.valueDeclaration.body?r.valueDeclaration:void 0}return t}function l(n,t){var r,i=s(n,t);if(i&&i.declarations){var o=e.indicesOf(i.declarations),c=e.map(i.declarations,(function(e){return{file:e.getSourceFile().fileName,pos:e.pos}}));o.sort((function(n,t){return e.compareStringsCaseSensitive(c[n].file,c[t].file)||c[n].pos-c[t].pos}));for(var l=void 0,u=0,d=e.map(o,(function(e){return i.declarations[e]}));u<d.length;u++){var p=d[u];a(p)&&(l&&l.parent===p.parent&&l.end===p.pos||(r=e.append(r,p)),l=p)}}return r}function u(n,t){var r,a,i;return e.isFunctionLikeDeclaration(t)?null!==(a=null!==(r=c(n,t))&&void 0!==r?r:l(n,t))&&void 0!==a?a:t:null!==(i=l(n,t))&&void 0!==i?i:t}function d(n,i){for(var o=n.getTypeChecker(),s=!1;;){if(a(i))return u(o,i);var c;if(r(i))return(c=e.findAncestor(i,a))&&u(o,c);if(e.isDeclarationName(i))return a(i.parent)?u(o,i.parent):r(i.parent)?(c=e.findAncestor(i.parent,a))&&u(o,c):e.isVariableDeclaration(i.parent)&&i.parent.initializer&&t(i.parent.initializer)?i.parent.initializer:void 0;if(e.isConstructorDeclaration(i))return a(i.parent)?i.parent:void 0;if(e.isVariableDeclaration(i)&&i.initializer&&t(i.initializer))return i.initializer;if(!s){var l=o.getSymbolAtLocation(i);if(l&&(2097152&l.flags&&(l=o.getAliasedSymbol(l)),l.valueDeclaration)){s=!0,i=l.valueDeclaration;continue}}return}}function p(n,r){var a=r.getSourceFile(),i=function(n,r){if(e.isSourceFile(r))return{text:r.fileName,pos:0,end:0};if((e.isFunctionDeclaration(r)||e.isClassDeclaration(r))&&!e.isNamedDeclaration(r)){var a=r.modifiers&&e.find(r.modifiers,o);if(a)return{text:"default",pos:a.getStart(),end:a.getEnd()}}var i=t(r)?r.parent.name:e.Debug.checkDefined(e.getNameOfDeclaration(r),"Expected call hierarchy item to have a name"),s=e.isIdentifier(i)?e.idText(i):e.isStringOrNumericLiteralLike(i)?i.text:e.isComputedPropertyName(i)&&e.isStringOrNumericLiteralLike(i.expression)?i.expression.text:void 0;if(void 0===s){var c=n.getTypeChecker(),l=c.getSymbolAtLocation(i);l&&(s=c.symbolToString(l,r))}if(void 0===s){var u=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0});s=e.usingSingleLineStringWriter((function(e){return u.writeNode(4,r,r.getSourceFile(),e)}))}return{text:s,pos:i.getStart(),end:i.getEnd()}}(n,r),s=function(n){var r,a;if(t(n))return e.isModuleBlock(n.parent.parent.parent.parent)&&e.isIdentifier(n.parent.parent.parent.parent.parent.name)?n.parent.parent.parent.parent.parent.name.getText():void 0;switch(n.kind){case 166:case 167:case 164:return 197===n.parent.kind?null===(r=e.getAssignedName(n.parent))||void 0===r?void 0:r.getText():null===(a=e.getNameOfDeclaration(n.parent))||void 0===a?void 0:a.getText();case 248:case 249:case 253:if(e.isModuleBlock(n.parent)&&e.isIdentifier(n.parent.parent.name))return n.parent.parent.name.getText()}}(r),c=e.getNodeKind(r),l=e.getNodeModifiers(r),u=e.createTextSpanFromBounds(e.skipTrivia(a.text,r.getFullStart(),!1,!0),r.getEnd()),d=e.createTextSpanFromBounds(i.pos,i.end);return{file:a.fileName,kind:c,kindModifiers:l,name:i.text,containerName:s,span:u,selectionSpan:d}}function f(e){return void 0!==e}function m(n){if(1===n.kind){var t=n.node;if(e.isCallOrNewExpressionTarget(t,!0,!0)||e.isTaggedTemplateTag(t,!0,!0)||e.isDecoratorTarget(t,!0,!0)||e.isJsxOpeningLikeElementTagName(t,!0,!0)||e.isRightSideOfPropertyAccess(t)||e.isArgumentExpressionOfElementAccess(t)){var r=t.getSourceFile();return{declaration:e.findAncestor(t,a)||r,range:e.createTextRangeFromNode(t,r)}}}}function _(n){return e.getNodeId(n.declaration)}function g(n,t){var r=[],i=function(n,t){function r(r){var a=e.isTaggedTemplateExpression(r)?r.tag:e.isJsxOpeningLikeElement(r)?r.tagName:e.isAccessExpression(r)?r:r.expression,i=d(n,a);if(i){var o=e.createTextRangeFromNode(a,r.getSourceFile());if(e.isArray(i))for(var s=0,c=i;s<c.length;s++){var l=c[s];t.push({declaration:l,range:o})}else t.push({declaration:i,range:o})}}return function n(t){if(t&&!(8388608&t.flags))if(a(t)){if(e.isClassLike(t))for(var i=0,o=t.members;i<o.length;i++){var s=o[i];s.name&&e.isComputedPropertyName(s.name)&&n(s.name.expression)}}else{switch(t.kind){case 78:case 257:case 258:case 264:case 250:case 251:return;case 203:case 221:return void n(t.expression);case 246:case 159:return n(t.name),void n(t.initializer);case 200:case 201:return r(t),n(t.expression),void e.forEach(t.arguments,n);case 202:return r(t),n(t.tag),void n(t.template);case 272:case 271:return r(t),n(t.tagName),void n(t.attributes);case 160:return r(t),void n(t.expression);case 198:case 199:r(t),e.forEachChild(t,n)}e.isPartOfTypeNode(t)||e.forEachChild(t,n)}}}(n,r);switch(t.kind){case 294:!function(n,t){e.forEach(n.statements,t)}(t,i);break;case 253:!function(n,t){!e.hasSyntacticModifier(n,2)&&n.body&&e.isModuleBlock(n.body)&&e.forEach(n.body.statements,t)}(t,i);break;case 248:case 205:case 206:case 164:case 166:case 167:!function(n,t,r){var a=c(n,t);a&&(e.forEach(a.parameters,r),r(a.body))}(n.getTypeChecker(),t,i);break;case 249:case 218:!function(n,t){e.forEach(n.decorators,t);var r=e.getClassExtendsHeritageElement(n);r&&t(r.expression);for(var a=0,i=n.members;a<i.length;a++){var o=i[a];e.forEach(o.decorators,t),e.isPropertyDeclaration(o)?t(o.initializer):e.isConstructorDeclaration(o)&&o.body&&(e.forEach(o.parameters,t),t(o.body))}}(t,i);break;default:e.Debug.assertNever(t)}return r}n.resolveCallHierarchyDeclaration=d,n.createCallHierarchyItem=p,n.getIncomingCalls=function(n,t,r){if(e.isSourceFile(t)||e.isModuleDeclaration(t))return[];var a=i(t),o=e.filter(e.FindAllReferences.findReferenceOrRenameEntries(n,r,n.getSourceFiles(),a,0,{use:1},m),f);return o?e.group(o,_,(function(t){return function(n,t){return r=p(n,t[0].declaration),a=e.map(t,(function(n){return e.createTextSpanFromRange(n.range)})),{from:r,fromSpans:a};var r,a}(n,t)})):[]},n.getOutgoingCalls=function(n,t){return 8388608&t.flags||e.isMethodSignature(t)?[]:e.group(g(n,t),_,(function(t){return function(n,t){return r=p(n,t[0].declaration),a=e.map(t,(function(n){return e.createTextSpanFromRange(n.range)})),{to:r,fromSpans:a};var r,a}(n,t)}))}}(e.CallHierarchy||(e.CallHierarchy={}))}(p||(p={})),function(e){function n(n,r,a,i){var o=a(n);return function(n){var s=i&&i.tryGetSourcePosition({fileName:n,pos:0}),c=function(n){if(a(n)===o)return r;var t=e.tryRemoveDirectoryPrefix(n,o,a);return void 0===t?void 0:r+"/"+t}(s?s.fileName:n);return s?void 0===c?void 0:function(n,r,a,i){var o=e.getRelativePathFromFile(n,r,i);return t(e.getDirectoryPath(a),o)}(s.fileName,c,n,a):c}}function t(n,t){return e.ensurePathIsNonModuleName(function(n,t){return e.normalizePath(e.combinePaths(n,t))}(n,t))}function r(n,t,r){if(n){if(n.resolvedModule){var a=s(n.resolvedModule.resolvedFileName);if(a)return a}var i=e.forEach(n.failedLookupLocations,(function(n){var a=t(n);return a&&e.find(r,(function(e){return e.fileName===a}))?o(n):void 0}))||e.forEach(n.failedLookupLocations,o);return i||n.resolvedModule&&{newFileName:n.resolvedModule.resolvedFileName,updated:!1}}function o(n){return e.endsWith(n,"/package.json")?void 0:s(n)}function s(e){var n=t(e);return n&&{newFileName:n,updated:!0}}}function a(n,t){return e.createRange(n.getStart(t)+1,n.end-1)}function i(n,t){if(e.isObjectLiteralExpression(n))for(var r=0,a=n.properties;r<a.length;r++){var i=a[r];e.isPropertyAssignment(i)&&e.isStringLiteral(i.name)&&t(i,i.name.text)}}e.getEditsForFileRename=function(o,s,c,l,u,d,p){var f=e.hostUsesCaseSensitiveFileNames(l),m=e.createGetCanonicalFileName(f),_=n(s,c,m,p),g=n(c,s,m,p);return e.textChanges.ChangeTracker.with({host:l,formatContext:u,preferences:d},(function(n){!function(n,r,o,s,c,l,u){var d=n.getCompilerOptions().configFile;if(!d)return;var p=e.getDirectoryPath(d.fileName),f=e.getTsConfigObjectLiteralExpression(d);if(!f)return;function m(n){for(var t=!1,r=0,a=e.isArrayLiteralExpression(n.initializer)?n.initializer.elements:[n.initializer];r<a.length;r++){t=_(a[r])||t}return t}function _(n){if(!e.isStringLiteral(n))return!1;var i=t(p,n.text),s=o(i);return void 0!==s&&(r.replaceRangeWithText(d,a(n,d),g(s)),!0)}function g(n){return e.getRelativePathFromDirectory(p,n,!u)}i(f,(function(n,t){switch(t){case"files":case"include":case"exclude":if(!m(n)&&"include"===t&&e.isArrayLiteralExpression(n.initializer)){var a=e.mapDefined(n.initializer.elements,(function(n){return e.isStringLiteral(n)?n.text:void 0})),o=e.getFileMatcherPatterns(p,[],a,u,l);e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),u).test(s)&&!e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),u).test(c)&&r.insertNodeAfter(d,e.last(n.initializer.elements),e.factory.createStringLiteral(g(c)))}break;case"compilerOptions":i(n.initializer,(function(n,t){var r=e.getOptionFromName(t);r&&(r.isFilePath||"list"===r.type&&r.element.isFilePath)?m(n):"paths"===t&&i(n.initializer,(function(n){if(e.isArrayLiteralExpression(n.initializer))for(var t=0,r=n.initializer.elements;t<r.length;t++){_(r[t])}}))}))}}))}(o,n,_,s,c,l.getCurrentDirectory(),f),function(n,i,o,s,c,l){for(var u=n.getSourceFiles(),d=function(d){var p=o(d.fileName),f=null!=p?p:d.fileName,m=e.getDirectoryPath(f),_=s(d.fileName),g=_||d.fileName,y=e.getDirectoryPath(g),h=void 0!==p||void 0!==_;!function(n,t,r,i){for(var o=0,s=n.referencedFiles||e.emptyArray;o<s.length;o++){var c=s[o];void 0!==(d=r(c.fileName))&&d!==n.text.slice(c.pos,c.end)&&t.replaceRangeWithText(n,c,d)}for(var l=0,u=n.imports;l<u.length;l++){var d,p=u[l];void 0!==(d=i(p))&&d!==p.text&&t.replaceRangeWithText(n,a(p,n),d)}}(d,i,(function(n){if(e.pathIsRelative(n)){var r=t(y,n),a=o(r);return void 0===a?void 0:e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(m,a,l))}}),(function(t){var a=n.getTypeChecker().getSymbolAtLocation(t);if(!a||!a.declarations.some((function(n){return e.isAmbientModule(n)}))){var i=void 0!==_?r(e.resolveModuleName(t.text,g,n.getCompilerOptions(),c),o,u):function(n,t,a,i,o,s){if(n){var c=e.find(n.declarations,e.isSourceFile).fileName,l=s(c);return void 0===l?{newFileName:c,updated:!1}:{newFileName:l,updated:!0}}return r(o.resolveModuleNames?o.getResolvedModuleWithFailedLookupLocationsFromCache&&o.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,a.fileName):i.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,a.fileName),s,i.getSourceFiles())}(a,t,d,n,c,o);return void 0!==i&&(i.updated||h&&e.pathIsRelative(t.text))?e.moduleSpecifiers.updateModuleSpecifier(n.getCompilerOptions(),l(f),i.newFileName,e.createModuleSpecifierResolutionHost(n,c),t.text):void 0}}))},p=0,f=u;p<f.length;p++){var m=f[p];d(m)}}(o,n,_,g,l,m)}))},e.getPathUpdater=n}(p||(p={})),function(e){!function(n){function t(n,t,a){var s,d,p=r(t,a,n);if(p)return[(s=p.fileName,d=p.file.fileName,{fileName:d,textSpan:e.createTextSpanFromBounds(0,0),kind:"script",name:s,containerName:void 0,containerKind:void 0})];var f=e.getTouchingPropertyName(t,a);if(f!==t){var m=f.parent,_=n.getTypeChecker();if(e.isJumpStatementTarget(f)){var g=e.getTargetLabel(f.parent,f.text);return g?[l(_,g,"label",f.text,void 0)]:void 0}var y=function(n,t){var r=t.getSymbolAtLocation(n);if(r&&2097152&r.flags&&function(e,n){if(78!==e.kind)return!1;if(e.parent===n)return!0;switch(n.kind){case 259:case 257:return!0;case 262:return 261===n.parent.kind;default:return!1}}(n,r.declarations[0])){var a=t.getAliasedSymbol(r);if(a.declarations)return a}if(r&&e.isInJSFile(n)){var i=e.forEach(r.declarations,(function(n){return e.isVariableDeclaration(n)&&n.initializer&&e.isRequireCall(n.initializer,!0)?n.initializer:void 0}));if(i){var o=t.getSymbolAtLocation(i.arguments[0]);if(o)return t.resolveExternalModuleSymbol(o)}}return r}(f,_);if(!y)return function(n,t){if(!e.isPropertyAccessExpression(n.parent)||n.parent.name!==n)return;var r=t.getTypeAtLocation(n.parent.expression);return e.mapDefined(r.isUnionOrIntersection()?r.types:[r],(function(e){var n=t.getIndexInfoOfType(e,0);return n&&n.declaration&&u(t,n.declaration)}))}(f,_);var h=function(n,t){var r=function(n){var t=e.findAncestor(n,(function(n){return!e.isRightSideOfPropertyAccess(n)})),r=null==t?void 0:t.parent;return r&&e.isCallLikeExpression(r)&&e.getInvokedExpression(r)===t?r:void 0}(t),a=r&&n.getResolvedSignature(r);return e.tryCast(a&&a.declaration,(function(n){return e.isFunctionLike(n)&&!e.isFunctionTypeNode(n)}))}(_,f);if(h&&(!e.isJsxOpeningLikeElement(f.parent)||!function(e){switch(e.kind){case 165:case 174:case 169:return!0;default:return!1}}(h))){var v=u(_,h);if(_.getRootSymbols(y).some((function(n){return function(n,t){return n===t.symbol||n===t.symbol.parent||e.isAssignmentExpression(t.parent)||!e.isCallLikeExpression(t.parent)&&n===t.parent.symbol}(n,h)}))||y.declarations&&y.declarations.some((function(n){return e.isVariableDeclaration(n)&&!!n.initializer&&e.isRequireCall(n.initializer,!1)})))return[v];var b=i(_,y,f,h)||e.emptyArray;return 105===f.kind?o([v],b):o(b,[v])}if(286===f.parent.kind){var E=_.getShorthandAssignmentValueSymbol(y.valueDeclaration);return E?E.declarations.map((function(e){return c(e,_,E,f)})):[]}if(e.isPropertyName(f)&&e.isBindingElement(m)&&e.isObjectBindingPattern(m.parent)&&f===(m.propertyName||m.name)){var T=e.getNameFromPropertyName(f),S=_.getTypeAtLocation(m.parent);return void 0===T?e.emptyArray:e.flatMap(S.isUnion()?S.types:[S],(function(e){var n=e.getProperty(T);return n&&i(_,n,f)}))}var L=e.getContainingObjectLiteralElement(f);if(L){var x=L&&_.getContextualType(L.parent);if(x)return e.flatMap(e.getPropertySymbolsFromContextualType(L,_,x,!1),(function(e){return i(_,e,f)}))}return i(_,y,f)}}function r(e,n,t){var r=d(e.referencedFiles,n);if(r)return(o=t.getSourceFileFromReference(e,r))&&{fileName:r.fileName,file:o};var a=d(e.typeReferenceDirectives,n);if(a){var i=t.getResolvedTypeReferenceDirectives().get(a.fileName);return(o=i&&t.getSourceFile(i.resolvedFileName))&&{fileName:a.fileName,file:o}}var o,s=d(e.libReferenceDirectives,n);return s?(o=t.getLibFileFromReference(s))&&{fileName:s.fileName,file:o}:void 0}function a(n,t,r){return e.flatMap(!n.isUnion()||32&n.flags?[n]:n.types,(function(e){return e.symbol&&i(t,e.symbol,r)}))}function i(n,t,r,a){var i=e.filter(t.declarations,(function(n){return n!==a&&(!e.isAssignmentDeclaration(n)||n===t.valueDeclaration)}))||void 0;return function(){if(32&t.flags&&!(19&t.flags)&&(e.isNewExpressionTarget(r)||132===r.kind)){return o((e.find(i,e.isClassLike)||e.Debug.fail("Expected declaration to have at least one class-like declaration")).members,!0)}}()||(e.isCallOrNewExpressionTarget(r)||e.isNameOfFunctionDeclaration(r)?o(i,!1):void 0)||e.map(i,(function(e){return c(e,n,t,r)}));function o(a,i){if(a){var o=a.filter(i?e.isConstructorDeclaration:e.isFunctionLike),s=o.filter((function(e){return!!e.body}));return o.length?0!==s.length?s.map((function(e){return c(e,n,t,r)})):[c(e.last(o),n,t,r)]:void 0}}}function c(n,t,r,a){var i=t.symbolToString(r),o=e.SymbolDisplay.getSymbolKind(t,r,a),s=r.parent?t.symbolToString(r.parent,a):"";return l(t,n,o,i,s)}function l(n,t,r,a,i){var o=e.getNameOfDeclaration(t)||t,c=o.getSourceFile(),l=e.createTextSpanFromNode(o,c);return s(s({fileName:c.fileName,textSpan:l,kind:r,name:a,containerKind:void 0,containerName:i},e.FindAllReferences.toContextSpan(l,c,e.FindAllReferences.getContextNode(t))),{isLocal:!n.isDeclarationVisible(t)})}function u(e,n){return c(n,e,n.symbol,n)}function d(n,t){return e.find(n,(function(n){return e.textRangeContainsPositionInclusive(n,t)}))}n.getDefinitionAtPosition=t,n.getReferenceAtPosition=r,n.getTypeDefinitionAtPosition=function(n,t,r){var i=e.getTouchingPropertyName(t,r);if(i!==t){var o=n.getSymbolAtLocation(i);if(o){var s=n.getTypeOfSymbolAtLocation(o,i),c=function(n,t,r){if(t.symbol===n||n.valueDeclaration&&t.symbol&&e.isVariableDeclaration(n.valueDeclaration)&&n.valueDeclaration.initializer===t.symbol.valueDeclaration){var a=t.getCallSignatures();if(1===a.length)return r.getReturnTypeOfSignature(e.first(a))}return}(o,s,n),l=c&&a(c,n,i);return l&&0!==l.length?l:a(s,n,i)}}},n.getDefinitionAndBoundSpan=function(n,r,a){var i=t(n,r,a);if(i&&0!==i.length){var o=d(r.referencedFiles,a)||d(r.typeReferenceDirectives,a)||d(r.libReferenceDirectives,a);if(o)return{definitions:i,textSpan:e.createTextSpanFromRange(o)};var s=e.getTouchingPropertyName(r,a);return{definitions:i,textSpan:e.createTextSpan(s.getStart(),s.getWidth())}}},n.findReferenceInPosition=d}(e.GoToDefinition||(e.GoToDefinition={}))}(p||(p={})),function(e){!function(n){var t,r,a=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","listens","member","memberof","method","mixes","module","name","namespace","override","package","param","private","property","protected","public","readonly","requires","returns","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"];function i(e){var n=e.comment;switch(e.kind){case 312:case 311:return r(e.class);case 326:return a(e.typeParameters.map((function(e){return e.getText()})).join(", "));case 325:return r(e.typeExpression);case 327:case 320:case 328:case 322:var t=e.name;return t?r(t):n;default:return n}function r(e){return a(e.getText())}function a(e){return void 0===n?e:e+" "+n}}function o(n){return{name:n,kind:"",kindModifiers:"",displayParts:[e.textPart(n)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}}function s(n){switch(n.kind){case 248:case 205:case 164:case 165:case 163:return{commentOwner:n,parameters:n.parameters};case 285:return s(n.initializer);case 249:case 250:case 161:case 252:case 288:case 251:return{commentOwner:n};case 229:var t=n.declarationList.declarations;return{commentOwner:n,parameters:1===t.length&&t[0].initializer?function(n){for(;204===n.kind;)n=n.expression;switch(n.kind){case 205:case 206:return n.parameters;case 218:var t=e.find(n.members,e.isConstructorDeclaration);return t?t.parameters:e.emptyArray}return e.emptyArray}(t[0].initializer):void 0};case 294:return"quit";case 253:return 253===n.parent.kind?void 0:{commentOwner:n};case 230:return s(n.expression);case 213:var r=n;return 0===e.getAssignmentDeclarationKind(r)?"quit":{commentOwner:n,parameters:e.isFunctionLike(r.right)?r.right.parameters:e.emptyArray};case 162:var a=n.initializer;if(a&&(e.isFunctionExpression(a)||e.isArrowFunction(a)))return{commentOwner:n,parameters:a.parameters}}}n.getJsDocCommentsFromDeclarations=function(n){var t=[];return e.forEachUnique(n,(function(n){for(var r=0,a=function(n){switch(n.kind){case 322:case 328:return[n];case 320:case 327:return[n,n.parent];default:return e.getJSDocCommentsAndTags(n)}}(n);r<a.length;r++){var i=a[r].comment;void 0!==i&&e.pushIfUnique(t,i)}})),e.intersperse(e.map(t,e.textPart),e.lineBreakPart())},n.getJsDocTagsFromDeclarations=function(n){var t=[];return e.forEachUnique(n,(function(n){for(var r=0,a=e.getJSDocTags(n);r<a.length;r++){var o=a[r];t.push({name:o.tagName.text,text:i(o)})}})),t},n.getJSDocTagNameCompletions=function(){return t||(t=e.map(a,(function(e){return{name:e,kind:"keyword",kindModifiers:"",sortText:"0"}})))},n.getJSDocTagNameCompletionDetails=o,n.getJSDocTagCompletions=function(){return r||(r=e.map(a,(function(e){return{name:"@"+e,kind:"keyword",kindModifiers:"",sortText:"0"}})))},n.getJSDocTagCompletionDetails=o,n.getJSDocParameterNameCompletions=function(n){if(!e.isIdentifier(n.name))return e.emptyArray;var t=n.name.text,r=n.parent,a=r.parent;return e.isFunctionLike(a)?e.mapDefined(a.parameters,(function(a){if(e.isIdentifier(a.name)){var i=a.name.text;if(!r.tags.some((function(t){return t!==n&&e.isJSDocParameterTag(t)&&e.isIdentifier(t.name)&&t.name.escapedText===i}))&&(void 0===t||e.startsWith(i,t)))return{name:i,kind:"parameter",kindModifiers:"",sortText:"0"}}})):[]},n.getJSDocParameterNameCompletionDetails=function(n){return{name:n,kind:"parameter",kindModifiers:"",displayParts:[e.textPart(n)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}},n.getDocCommentTemplateAtPosition=function(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isJSDoc);if(!i||void 0===i.comment&&!e.length(i.tags)){var o=a.getStart(t);if(i||!(o<r)){var c=function(n){return e.forEachAncestor(n,s)}(a);if(c){var l=c.commentOwner,u=c.parameters;if(!(l.getStart(t)<r)){if(!u||0===u.length){return{newText:"/** */",caretOffset:3}}var d=function(n,t){for(var r=n.text,a=e.getLineStartPositionForPosition(t,n),i=a;i<=t&&e.isWhiteSpaceSingleLine(r.charCodeAt(i));i++);return r.slice(a,i)}(t,r),p="/**"+n+d+" * ";return{newText:p+n+function(e,n,t,r){return e.map((function(e,a){var i=e.name,o=e.dotDotDotToken,s=78===i.kind?i.text:"param"+a;return t+" * @param "+(n?o?"{...any} ":"{any} ":"")+s+r})).join("")}(u,e.hasJSFileExtension(t.fileName),d,n)+d+" */"+(o===r?n+d:""),caretOffset:p.length}}}}}}}(e.JsDoc||(e.JsDoc={}))}(p||(p={})),function(e){!function(n){function t(e,n){switch(e.kind){case 259:case 262:case 257:var t=n.getSymbolAtLocation(e.name),r=n.getAliasedSymbol(t);return t.escapedName!==r.escapedName;default:return!0}}function r(n,t){var r=e.getNameOfDeclaration(n);return!!r&&(i(r,t)||157===r.kind&&a(r.expression,t))}function a(n,t){return i(n,t)||e.isPropertyAccessExpression(n)&&(t.push(n.name.text),!0)&&a(n.expression,t)}function i(n,t){return e.isPropertyNameLiteral(n)&&(t.push(e.getTextOfIdentifierOrLiteral(n)),!0)}function o(n){var t=[],i=e.getNameOfDeclaration(n);if(i&&157===i.kind&&!a(i.expression,t))return e.emptyArray;t.shift();for(var o=e.getContainerNode(n);o;){if(!r(o,t))return e.emptyArray;o=e.getContainerNode(o)}return t.reverse()}function s(n,t){return e.compareValues(n.matchKind,t.matchKind)||e.compareStringsCaseSensitiveUI(n.name,t.name)}function c(n){var t=n.declaration,r=e.getContainerNode(t),a=r&&e.getNameOfDeclaration(r);return{name:n.name,kind:e.getNodeKind(t),kindModifiers:e.getNodeModifiers(t),matchKind:e.PatternMatchKind[n.matchKind],isCaseSensitive:n.isCaseSensitive,fileName:n.fileName,textSpan:e.createTextSpanFromNode(t),containerName:a?a.text:"",containerKind:a?e.getNodeKind(r):""}}n.getNavigateToItems=function(n,r,a,i,l,u){var d=e.createPatternMatcher(i);if(!d)return e.emptyArray;for(var p=[],f=function(e){if(a.throwIfCancellationRequested(),u&&e.isDeclarationFile)return"continue";e.getNamedDeclarations().forEach((function(n,a){!function(e,n,r,a,i,s){var c=e.getMatchForLastSegmentOfPattern(n);if(!c)return;for(var l=0,u=r;l<u.length;l++){var d=u[l];if(t(d,a))if(e.patternContainsDots){var p=e.getFullMatch(o(d),n);p&&s.push({name:n,fileName:i,matchKind:p.kind,isCaseSensitive:p.isCaseSensitive,declaration:d})}else s.push({name:n,fileName:i,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:d})}}(d,a,n,r,e.fileName,p)}))},m=0,_=n;m<_.length;m++){f(_[m])}return p.sort(s),(void 0===l?p:p.slice(0,l)).map(c)}}(e.NavigateTo||(e.NavigateTo={}))}(p||(p={})),function(e){!function(n){var t,r,a,i,o,s=/\s+/g,c=[],l=[],u=[];function d(){a=void 0,r=void 0,c=[],i=void 0,u=[]}function p(e){return V(e.getText(a))}function f(e){return e.node.kind}function m(e,n){e.children?e.children.push(n):e.children=[n]}function _(n){e.Debug.assert(!c.length);var t={node:n,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};i=t;for(var r=0,a=n.statements;r<a.length;r++){L(a[r])}return T(),e.Debug.assert(!i&&!c.length),t}function g(e,n){m(i,y(e,n))}function y(n,t){return{node:n,name:t||(e.isDeclaration(n)||e.isExpression(n)?e.getNameOfDeclaration(n):void 0),additionalNodes:void 0,parent:i,children:void 0,indent:i.indent+1}}function h(n){o||(o=new e.Map),o.set(n,!0)}function v(e){for(var n=0;n<e;n++)T()}function b(n,t){for(var r=[];!e.isPropertyNameLiteral(t);){var a=e.getNameOrArgument(t),i=e.getElementOrPropertyAccessName(t);t=t.expression,"prototype"===i||e.isPrivateIdentifier(a)||r.push(a)}r.push(t);for(var o=r.length-1;o>0;o--){E(n,a=r[o])}return[r.length-1,r[0]]}function E(e,n){var t=y(e,n);m(i,t),c.push(i),l.push(o),o=void 0,i=t}function T(){i.children&&(x(i.children,i),I(i.children)),i=c.pop(),o=l.pop()}function S(e,n,t){E(e,t),L(n),T()}function L(n){var t;if(r.throwIfCancellationRequested(),n&&!e.isToken(n))switch(n.kind){case 165:var a=n;S(a,a.body);for(var i=0,s=a.parameters;i<s.length;i++){var c=s[i];e.isParameterPropertyDeclaration(c,a)&&g(c)}break;case 164:case 166:case 167:case 163:e.hasDynamicName(n)||S(n,n.body);break;case 162:case 161:e.hasDynamicName(n)||g(n);break;case 259:var l=n;l.name&&g(l.name);var u=l.namedBindings;if(u)if(260===u.kind)g(u);else for(var d=0,p=u.elements;d<p.length;d++){g(p[d])}break;case 286:S(n,n.name);break;case 287:var f=n.expression;e.isIdentifier(f)?g(n,f):g(n);break;case 195:case 285:case 246:var m=n,_=m.name,y=m.initializer;e.isBindingPattern(_)?L(_):y&&function(e){switch(e.kind){case 206:case 205:case 218:return!0;default:return!1}}(y)?(E(n),e.forEachChild(y,L),T()):S(n,y);break;case 248:var x=n.name;x&&e.isIdentifier(x)&&h(x.text),S(n,n.body);break;case 206:case 205:S(n,n.body);break;case 252:E(n);for(var A=0,D=n.members;A<D.length;A++){F(N=D[A])||g(N)}T();break;case 249:case 218:case 250:E(n);for(var C=0,I=n.members;C<I.length;C++){var N;L(N=I[C])}T();break;case 253:S(n,function n(t){return t.body&&e.isModuleDeclaration(t.body)?n(t.body):t}(n).body);break;case 263:var R=n.expression,k=e.isObjectLiteralExpression(R)?R:e.isArrowFunction(R)||e.isFunctionExpression(R)?R.body:void 0;k?(E(n),L(k),T()):g(n);break;case 267:case 257:case 170:case 168:case 169:case 251:g(n);break;case 200:case 213:var O=e.getAssignmentDeclarationKind(n);switch(O){case 1:case 2:return void S(n,n.right);case 6:case 3:var P=(j=n).left,M=3===O?P.expression:P,w=0,G=void 0;return e.isIdentifier(M.expression)?(h(M.expression.text),G=M.expression):(w=(t=b(j,M.expression))[0],G=t[1]),6===O?e.isObjectLiteralExpression(j.right)&&j.right.properties.length>0&&(E(j,G),e.forEachChild(j.right,L),T()):e.isFunctionExpression(j.right)||e.isArrowFunction(j.right)?S(n,j.right,G):(E(j,G),S(n,j.right,P.name),T()),void v(w);case 7:case 9:var B=n,U=(G=7===O?B.arguments[0]:B.arguments[0].expression,B.arguments[1]),V=b(n,G);w=V[0];return E(n,V[1]),E(n,e.setTextRange(e.factory.createIdentifier(U.text),U)),L(n.arguments[2]),T(),T(),void v(w);case 5:var j,K=(P=(j=n).left).expression;if(e.isIdentifier(K)&&"prototype"!==e.getElementOrPropertyAccessName(P)&&o&&o.has(K.text))return void(e.isFunctionExpression(j.right)||e.isArrowFunction(j.right)?S(n,j.right,K):e.isBindableStaticAccessExpression(P)&&(E(j,K),S(j.left,j.right,e.getNameOrArgument(P)),T()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(O)}default:e.hasJSDocNodes(n)&&e.forEach(n.jsDoc,(function(n){e.forEach(n.tags,(function(n){e.isJSDocTypeAlias(n)&&g(n)}))})),e.forEachChild(n,L)}}function x(n,t){var r=new e.Map;e.filterMutate(n,(function(n,a){var i=n.name||e.getNameOfDeclaration(n.node),o=i&&p(i);if(!o)return!0;var s=r.get(o);if(!s)return r.set(o,n),!0;if(s instanceof Array){for(var c=0,l=s;c<l.length;c++){var u;if(D(u=l[c],n,a,t))return!1}return s.push(n),!0}return!D(u=s,n,a,t)&&(r.set(o,[u,n]),!0)}))}n.getNavigationBarItems=function(n,t){r=t,a=n;try{return e.map(function(e){var n=[];function t(e){if(function(e){if(e.children)return!0;switch(f(e)){case 249:case 218:case 252:case 250:case 253:case 294:case 251:case 327:case 320:return!0;case 206:case 248:case 205:return function(e){if(!e.node.body)return!1;switch(f(e.parent)){case 254:case 294:case 164:case 165:return!0;default:return!1}}(e);default:return!1}}(e)&&(n.push(e),e.children))for(var r=0,a=e.children;r<a.length;r++){t(a[r])}}return t(e),n}(_(n)),P)}finally{d()}},n.getNavigationTree=function(e,n){r=n,a=e;try{return O(_(e))}finally{d()}};var A=((t={})[5]=!0,t[3]=!0,t[7]=!0,t[9]=!0,t[0]=!1,t[1]=!1,t[2]=!1,t[8]=!1,t[6]=!0,t[4]=!1,t);function D(n,t,r,a){return!!function(n,t,r,a){function i(n){return e.isFunctionExpression(n)||e.isFunctionDeclaration(n)||e.isVariableDeclaration(n)}var o=e.isBinaryExpression(t.node)||e.isCallExpression(t.node)?e.getAssignmentDeclarationKind(t.node):0,s=e.isBinaryExpression(n.node)||e.isCallExpression(n.node)?e.getAssignmentDeclarationKind(n.node):0;if(A[o]&&A[s]||i(n.node)&&A[o]||i(t.node)&&A[s]||e.isClassDeclaration(n.node)&&A[o]||e.isClassDeclaration(t.node)&&A[s]||e.isClassDeclaration(n.node)&&i(t.node)||e.isClassDeclaration(t.node)&&i(n.node)){var c=n.additionalNodes&&e.lastOrUndefined(n.additionalNodes)||n.node;if(!e.isClassDeclaration(n.node)&&!e.isClassDeclaration(t.node)||i(n.node)||i(t.node)){var l=i(n.node)?n.node:i(t.node)?t.node:void 0;if(void 0!==l){var u=y(e.setTextRange(e.factory.createConstructorDeclaration(void 0,void 0,[],void 0),l));u.indent=n.indent+1,u.children=n.node===l?n.children:t.children,n.children=n.node===l?e.concatenate([u],t.children||[t]):e.concatenate(n.children||[n],[u])}else(n.children||t.children)&&(n.children=e.concatenate(n.children||[n],t.children||[t]),n.children&&(x(n.children,n),I(n.children)));c=n.node=e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,n.name||e.factory.createIdentifier("__class__"),void 0,void 0,[]),n.node)}else n.children=e.concatenate(n.children,t.children),n.children&&x(n.children,n);var d=t.node;return a.children[r-1].node.end===c.end?e.setTextRange(c,{pos:c.pos,end:d.end}):(n.additionalNodes||(n.additionalNodes=[]),n.additionalNodes.push(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,n.name||e.factory.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return 0!==o}(n,t,r,a)||!!function(n,t,r){if(n.kind!==t.kind||n.parent!==t.parent&&(!C(n,r)||!C(t,r)))return!1;switch(n.kind){case 162:case 164:case 166:case 167:return e.hasSyntacticModifier(n,32)===e.hasSyntacticModifier(t,32);case 253:return function e(n,t){return n.body.kind===t.body.kind&&(253!==n.body.kind||e(n.body,t.body))}(n,t);default:return!0}}(n.node,t.node,a)&&(function(n,t){var r;n.additionalNodes=n.additionalNodes||[],n.additionalNodes.push(t.node),t.additionalNodes&&(r=n.additionalNodes).push.apply(r,t.additionalNodes);n.children=e.concatenate(n.children,t.children),n.children&&(x(n.children,n),I(n.children))}(n,t),!0)}function C(n,t){var r=e.isModuleBlock(n.parent)?n.parent.parent:n.parent;return r===t.node||e.contains(t.additionalNodes,r)}function I(e){e.sort(N)}function N(n,t){return e.compareStringsCaseSensitiveUI(R(n.node),R(t.node))||e.compareValues(f(n),f(t))}function R(n){if(253===n.kind)return w(n);var t=e.getNameOfDeclaration(n);if(t&&e.isPropertyName(t)){var r=e.getPropertyNameForPropertyNameNode(t);return r&&e.unescapeLeadingUnderscores(r)}switch(n.kind){case 205:case 206:case 218:return U(n);default:return}}function k(n,t){if(253===n.kind)return V(w(n));if(t){var r=e.isIdentifier(t)?t.text:e.isElementAccessExpression(t)?"["+p(t.argumentExpression)+"]":p(t);if(r.length>0)return V(r)}switch(n.kind){case 294:var a=n;return e.isExternalModule(a)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName))))+'"':"<global>";case 263:return e.isExportAssignment(n)&&n.isExportEquals?"export=":"default";case 206:case 248:case 205:case 249:case 218:return 512&e.getSyntacticModifierFlags(n)?"default":U(n);case 165:return"constructor";case 169:return"new()";case 168:return"()";case 170:return"[]";default:return"<unknown>"}}function O(n){return{text:k(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:B(n.node),spans:M(n),nameSpan:n.name&&G(n.name),childItems:e.map(n.children,O)}}function P(n){return{text:k(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:B(n.node),spans:M(n),childItems:e.map(n.children,(function(n){return{text:k(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:e.getNodeModifiers(n.node),spans:M(n),childItems:u,indent:0,bolded:!1,grayed:!1}}))||u,indent:n.indent,bolded:!1,grayed:!1}}function M(e){var n=[G(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t<r.length;t++){var a=r[t];n.push(G(a))}return n}function w(n){if(e.isAmbientModule(n))return e.getTextOfNode(n.name);var t=[];for(t.push(e.getTextOfIdentifierOrLiteral(n.name));n.body&&253===n.body.kind;)n=n.body,t.push(e.getTextOfIdentifierOrLiteral(n.name));return t.join(".")}function F(e){return!e.name||157===e.name.kind}function G(n){return 294===n.kind?e.createTextSpanFromRange(n):e.createTextSpanFromNode(n,a)}function B(n){return n.parent&&246===n.parent.kind&&(n=n.parent),e.getNodeModifiers(n)}function U(n){var t=n.parent;if(n.name&&e.getFullWidth(n.name)>0)return V(e.declarationNameToString(n.name));if(e.isVariableDeclaration(t))return V(e.declarationNameToString(t.name));if(e.isBinaryExpression(t)&&62===t.operatorToken.kind)return p(t.left).replace(s,"");if(e.isPropertyAssignment(t))return p(t.name);if(512&e.getSyntacticModifierFlags(n))return"default";if(e.isClassLike(n))return"<class>";if(e.isCallExpression(t)){var r=function n(t){if(e.isIdentifier(t))return t.text;if(e.isPropertyAccessExpression(t)){var r=n(t.expression),a=t.name.text;return void 0===r?a:r+"."+a}return}(t.expression);if(void 0!==r)return(r=V(r)).length>150?r+" callback":r+"("+V(e.mapDefined(t.arguments,(function(n){return e.isStringLiteralLike(n)?n.getText(a):void 0})).join(", "))+") callback"}return"<function>"}function V(e){return(e=e.length>150?e.substring(0,150)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(p||(p={})),function(e){!function(n){function t(n,t){var r=e.isStringLiteral(t)&&t.text;return e.isString(r)&&e.some(n.moduleAugmentations,(function(n){return e.isStringLiteral(n)&&n.text===r}))}function r(n){return void 0!==n&&e.isStringLiteralLike(n)?n.text:void 0}function a(n){var t;if(0===n.length)return n;var r=function(n){for(var t,r={defaultImports:[],namespaceImports:[],namedImports:[]},a={defaultImports:[],namespaceImports:[],namedImports:[]},i=0,o=n;i<o.length;i++){var s=o[i];if(void 0!==s.importClause){var c=s.importClause.isTypeOnly?r:a,l=s.importClause,u=l.name,d=l.namedBindings;u&&c.defaultImports.push(s),d&&(e.isNamespaceImport(d)?c.namespaceImports.push(s):c.namedImports.push(s))}else t=t||s}return{importWithoutClause:t,typeOnlyImports:r,regularImports:a}}(n),a=r.importWithoutClause,i=r.typeOnlyImports,c=r.regularImports,l=[];a&&l.push(a);for(var d=0,p=[c,i];d<p.length;d++){var f=p[d],m=f===i,_=f.defaultImports,g=f.namespaceImports,y=f.namedImports;if(m||1!==_.length||1!==g.length||0!==y.length){for(var h=0,v=e.stableSort(g,(function(e,n){return u(e.importClause.namedBindings.name,n.importClause.namedBindings.name)}));h<v.length;h++){var b=v[h];l.push(o(b,void 0,b.importClause.namedBindings))}if(0!==_.length||0!==y.length){var E=void 0,T=[];if(1===_.length)E=_[0].importClause.name;else for(var S=0,L=_;S<L.length;S++){C=L[S];T.push(e.factory.createImportSpecifier(e.factory.createIdentifier("default"),C.importClause.name))}T.push.apply(T,e.flatMap(y,(function(e){return e.importClause.namedBindings.elements})));var x=s(T),A=_.length>0?_[0]:y[0],D=0===x.length?E?void 0:e.factory.createNamedImports(e.emptyArray):0===y.length?e.factory.createNamedImports(x):e.factory.updateNamedImports(y[0].importClause.namedBindings,x);m&&E&&D?(l.push(o(A,E,void 0)),l.push(o(null!==(t=y[0])&&void 0!==t?t:A,void 0,D))):l.push(o(A,E,D))}}else{var C=_[0];l.push(o(C,C.importClause.name,g[0].importClause.namedBindings))}}return l}function i(n){if(0===n.length)return n;var t=function(e){for(var n,t=[],r=[],a=0,i=e;a<i.length;a++){var o=i[a];void 0===o.exportClause?n=n||o:o.isTypeOnly?r.push(o):t.push(o)}return{exportWithoutClause:n,namedExports:t,typeOnlyExports:r}}(n),r=t.exportWithoutClause,a=t.namedExports,i=t.typeOnlyExports,o=[];r&&o.push(r);for(var c=0,l=[a,i];c<l.length;c++){var u=l[c];if(0!==u.length){var d=[];d.push.apply(d,e.flatMap(u,(function(n){return n.exportClause&&e.isNamedExports(n.exportClause)?n.exportClause.elements:e.emptyArray})));var p=s(d),f=u[0];o.push(e.factory.updateExportDeclaration(f,f.decorators,f.modifiers,f.isTypeOnly,f.exportClause&&(e.isNamedExports(f.exportClause)?e.factory.updateNamedExports(f.exportClause,p):e.factory.updateNamespaceExport(f.exportClause,f.exportClause.name)),f.moduleSpecifier))}}return o}function o(n,t,r){return e.factory.updateImportDeclaration(n,n.decorators,n.modifiers,e.factory.updateImportClause(n.importClause,n.importClause.isTypeOnly,t,r),n.moduleSpecifier)}function s(n){return e.stableSort(n,c)}function c(e,n){return u(e.propertyName||e.name,n.propertyName||n.name)||u(e.name,n.name)}function l(n,t){var a=void 0===n?void 0:r(n),i=void 0===t?void 0:r(t);return e.compareBooleans(void 0===a,void 0===i)||e.compareBooleans(e.isExternalModuleNameRelative(a),e.isExternalModuleNameRelative(i))||e.compareStringsCaseInsensitive(a,i)}function u(n,t){return e.compareStringsCaseInsensitive(n.text,t.text)}function d(n){var t;switch(n.kind){case 257:return null===(t=e.tryCast(n.moduleReference,e.isExternalModuleReference))||void 0===t?void 0:t.expression;case 258:return n.moduleSpecifier;case 229:return n.declarationList.declarations[0].initializer.arguments[0]}}function p(n,t){return l(d(n),d(t))||function(n,t){return e.compareValues(f(n),f(t))}(n,t)}function f(e){var n;switch(e.kind){case 258:return e.importClause?e.importClause.isTypeOnly?1:260===(null===(n=e.importClause.namedBindings)||void 0===n?void 0:n.kind)?2:e.importClause.name?3:4:0;case 257:return 5;case 229:return 6}}n.organizeImports=function(n,s,c,u,d){var f=e.textChanges.ChangeTracker.fromContext({host:c,formatContext:s,preferences:d}),m=function(r){return e.stableSort(a(function(n,r,a){for(var i=a.getTypeChecker(),s=i.getJsxNamespace(r),c=!!(2&r.transformFlags),l=[],u=0,d=n;u<d.length;u++){var p=d[u],f=p.importClause,m=p.moduleSpecifier;if(f){var _=f.name,g=f.namedBindings;if(_&&!h(_)&&(_=void 0),g)if(e.isNamespaceImport(g))h(g.name)||(g=void 0);else{var y=g.elements.filter((function(e){return h(e.name)}));y.length<g.elements.length&&(g=y.length?e.factory.updateNamedImports(g,y):void 0)}_||g?l.push(o(p,_,g)):t(r,m)&&(r.isDeclarationFile?l.push(e.factory.createImportDeclaration(p.decorators,p.modifiers,void 0,m)):l.push(p))}else l.push(p)}return l;function h(n){return c&&n.text===s||e.FindAllReferences.Core.isSymbolReferencedInFile(n,i,r)}}(r,n,u)),(function(e,n){return p(e,n)}))};h(n.statements.filter(e.isImportDeclaration),m),h(n.statements.filter(e.isExportDeclaration),i);for(var _=0,g=n.statements.filter(e.isAmbientModule);_<g.length;_++){var y=g[_];if(y.body)h(y.body.statements.filter(e.isImportDeclaration),m),h(y.body.statements.filter(e.isExportDeclaration),i)}return f.getChanges();function h(t,a){if(0!==e.length(t)){e.suppressLeadingTrivia(t[0]);var i=e.group(t,(function(e){return r(e.moduleSpecifier)})),o=e.stableSort(i,(function(e,n){return l(e[0].moduleSpecifier,n[0].moduleSpecifier)})),u=e.flatMap(o,(function(e){return r(e[0].moduleSpecifier)?a(e):e}));0===u.length?f.delete(n,t[0]):f.replaceNodeWithNodes(n,t[0],u,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include,suffix:e.getNewLineOrDefaultFromHost(c,s.options)});for(var d=1;d<t.length;d++)f.deleteNode(n,t[d])}}},n.coalesceImports=a,n.coalesceExports=i,n.compareImportOrExportSpecifiers=c,n.compareModuleSpecifiers=l,n.importsAreSorted=function(n){return e.arrayIsSorted(n,p)},n.importSpecifiersAreSorted=function(n){return e.arrayIsSorted(n,c)},n.getImportDeclarationInsertionIndex=function(n,t){var r=e.binarySearch(n,t,e.identity,p);return r<0?~r:r},n.getImportSpecifierInsertionIndex=function(n,t){var r=e.binarySearch(n,t,e.identity,c);return r<0?~r:r},n.compareImportsOrRequireStatements=p}(e.OrganizeImports||(e.OrganizeImports={}))}(p||(p={})),function(e){!function(n){n.collectElements=function(n,t){var l=[];return function(n,t,r){var l=40,u=0,d=o(n.statements,[n.endOfFileToken]),p=d.length;for(;u<p;){for(;u<p&&!e.isAnyImportSyntax(d[u]);)_(d[u]),u++;if(u===p)break;for(var f=u;u<p&&e.isAnyImportSyntax(d[u]);)a(d[u],n,t,r),u++;var m=u-1;m!==f&&r.push(i(e.findChildOfKind(d[f],99,n).getStart(n),d[m].getEnd(),"imports"))}function _(o){var u;if(0!==l){t.throwIfCancellationRequested(),(e.isDeclaration(o)||1===o.kind)&&a(o,n,t,r),function(n){if(!e.isFunctionExpression(n)&&!e.isArrowFunction(n))return!1;var t=e.findAncestor(n,e.isVariableStatement);return!!t&&e.getSingleInitializerOfVariableStatementOrPropertyDeclaration(t)===n}(o)&&a(o.parent.parent.parent,n,t,r),e.isFunctionLike(o)&&e.isBinaryExpression(o.parent)&&e.isPropertyAccessExpression(o.parent.left)&&a(o.parent.left,n,t,r);var d=function(n,t){switch(n.kind){case 227:if(e.isFunctionLike(n.parent))return function(n,t,r){var a=function(n,t,r){if(e.isNodeArrayMultiLine(n.parameters,r)){var a=e.findChildOfKind(n,20,r);if(a)return a}return e.findChildOfKind(t,18,r)}(n,t,r),i=e.findChildOfKind(t,19,r);return a&&i&&s(a,i,n,r,206!==n.kind)}(n.parent,n,t);switch(n.parent.kind){case 232:case 235:case 236:case 234:case 231:case 233:case 240:case 284:return u(n.parent);case 244:var r=n.parent;if(r.tryBlock===n)return u(n.parent);if(r.finallyBlock===n){var a=e.findChildOfKind(r,95,t);if(a)return u(a)}default:return c(e.createTextSpanFromNode(n,t),"code")}case 254:return u(n.parent);case 249:case 218:case 250:case 252:case 255:case 176:case 193:return u(n);case 178:return u(n,!1,!e.isTupleTypeNode(n.parent),22);case 281:case 282:return(o=n.statements).length?c(e.createTextSpanFromRange(o),"code"):void 0;case 197:return l(n);case 196:return l(n,22);case 270:return function(n){var r=e.createTextSpanFromBounds(n.openingElement.getStart(t),n.closingElement.getEnd()),a=n.openingElement.tagName.getText(t);return c(r,"code",r,!1,"<"+a+">...</"+a+">")}(n);case 274:return function(n){var r=e.createTextSpanFromBounds(n.openingFragment.getStart(t),n.closingFragment.getEnd());return c(r,"code",r,!1,"<>...</>")}(n);case 271:case 272:return function(e){if(0===e.properties.length)return;return i(e.getStart(t),e.getEnd(),"code")}(n.attributes);case 215:case 14:return function(e){if(14===e.kind&&0===e.text.length)return;return i(e.getStart(t),e.getEnd(),"code")}(n);case 194:return u(n,!1,!e.isBindingElement(n.parent),22);case 206:return function(n){if(e.isBlock(n.body)||e.positionsAreOnSameLine(n.body.getFullStart(),n.body.getEnd(),t))return;return c(e.createTextSpanFromBounds(n.body.getFullStart(),n.body.getEnd()),"code",e.createTextSpanFromNode(n))}(n);case 200:return function(n){if(!n.arguments.length)return;var r=e.findChildOfKind(n,20,t),a=e.findChildOfKind(n,21,t);if(!r||!a||e.positionsAreOnSameLine(r.pos,a.pos,t))return;return s(r,a,n,t,!1,!0)}(n)}var o;function l(n,t){return void 0===t&&(t=18),u(n,!1,!e.isArrayLiteralExpression(n.parent)&&!e.isCallExpression(n.parent),t)}function u(r,a,i,o,c){void 0===a&&(a=!1),void 0===i&&(i=!0),void 0===o&&(o=18),void 0===c&&(c=18===o?19:23);var l=e.findChildOfKind(n,o,t),u=e.findChildOfKind(n,c,t);return l&&u&&s(l,u,r,t,a,i)}}(o,n);d&&r.push(d),l--,e.isCallExpression(o)?(l++,_(o.expression),l--,o.arguments.forEach(_),null===(u=o.typeArguments)||void 0===u||u.forEach(_)):e.isIfStatement(o)&&o.elseStatement&&e.isIfStatement(o.elseStatement)?(_(o.expression),_(o.thenStatement),l++,_(o.elseStatement),l--):o.forEachChild(_),l++}}}(n,t,l),function(n,t){for(var a=[],i=n.getLineStarts(),o=0,s=i;o<s.length;o++){var l=s[o],u=n.getLineEndOfPosition(l),d=r(n.text.substring(l,u));if(d&&!e.isInComment(n,l))if(d[1]){var p=a.pop();p&&(p.textSpan.length=u-p.textSpan.start,p.hintSpan.length=u-p.textSpan.start,t.push(p))}else{var f=e.createTextSpanFromBounds(n.text.indexOf("//",l),u);a.push(c(f,"region",f,!1,d[2]||"#region"))}}}(n,l),l.sort((function(e,n){return e.textSpan.start-n.textSpan.start}))};var t=/^\s*\/\/\s*#(end)?region(?:\s+(.*))?(?:\r)?$/;function r(e){return t.exec(e)}function a(n,t,a,o){var s=e.getLeadingCommentRangesOfNode(n,t);if(s){for(var c=-1,l=-1,u=0,d=t.getFullText(),p=0,f=s;p<f.length;p++){var m=f[p],_=m.kind,g=m.pos,y=m.end;switch(a.throwIfCancellationRequested(),_){case 2:if(r(d.slice(g,y))){h(),u=0;break}0===u&&(c=g),l=y,u++;break;case 3:h(),o.push(i(g,y,"comment")),u=0;break;default:e.Debug.assertNever(_)}}h()}function h(){u>1&&o.push(i(c,l,"comment"))}}function i(n,t,r){return c(e.createTextSpanFromBounds(n,t),r)}function s(n,t,r,a,i,o){return void 0===i&&(i=!1),void 0===o&&(o=!0),c(e.createTextSpanFromBounds(o?n.getFullStart():n.getStart(a),t.getEnd()),"code",e.createTextSpanFromNode(r,a),i)}function c(e,n,t,r,a){return void 0===t&&(t=e),void 0===r&&(r=!1),void 0===a&&(a="..."),{textSpan:e,kind:n,hintSpan:t,bannerText:a,autoCollapse:r}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(p||(p={})),function(e){var n;function t(e,n){return{kind:e,isCaseSensitive:n}}function r(e,n){var t=n.get(e);return t||n.set(e,t=h(e)),t}function a(a,i,o){var s=function(e,n){for(var t=e.length-n.length,r=function(t){if(x(n,(function(n,r){return p(e.charCodeAt(r+t))===n})))return{value:t}},a=0;a<=t;a++){var i=r(a);if("object"==typeof i)return i.value}return-1}(a,i.textLowerCase);if(0===s)return t(i.text.length===a.length?n.exact:n.prefix,e.startsWith(a,i.text));if(i.isLowerCase){if(-1===s)return;for(var d=0,f=r(a,o);d<f.length;d++){var m=f[d];if(c(a,m,i.text,!0))return t(n.substring,c(a,m,i.text,!1))}if(i.text.length<a.length&&u(a.charCodeAt(s)))return t(n.substring,!1)}else{if(a.indexOf(i.text)>0)return t(n.substring,!0);if(i.characterSpans.length>0){var _=r(a,o),g=!!l(a,_,i,!1)||!l(a,_,i,!0)&&void 0;if(void 0!==g)return t(n.camelCase,g)}}}function i(e,n,t){if(x(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=a(e,n.totalTextChunk,t);if(r)return r}for(var i,s=0,c=n.subWordTextChunks;s<c.length;s++){i=o(i,a(e,c[s],t))}return i}function o(n,t){return e.min(n,t,s)}function s(n,t){return void 0===n?1:void 0===t?-1:e.compareValues(n.kind,t.kind)||e.compareBooleans(!n.isCaseSensitive,!t.isCaseSensitive)}function c(e,n,t,r,a){return void 0===a&&(a={start:0,length:t.length}),a.length<=n.length&&L(0,a.length,(function(i){return function(e,n,t){return t?p(e)===p(n):e===n}(t.charCodeAt(a.start+i),e.charCodeAt(n.start+i),r)}))}function l(n,t,r,a){for(var i,o,s=r.characterSpans,l=0,d=0;;){if(d===s.length)return!0;if(l===t.length)return!1;for(var p=t[l],f=!1;d<s.length;d++){var m=s[d];if(f&&(!u(r.text.charCodeAt(s[d-1].start))||!u(r.text.charCodeAt(s[d].start))))break;if(!c(n,p,r.text,a,m))break;f=!0,i=void 0===i?l:i,o=void 0===o||o,p=e.createTextSpan(p.start+m.length,p.length-m.length)}f||void 0===o||(o=!1),l++}}function u(n){if(n>=65&&n<=90)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toUpperCase()}function d(n){if(n>=97&&n<=122)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toLowerCase()}function p(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function f(e){return e>=48&&e<=57}function m(e){return u(e)||d(e)||f(e)||95===e||36===e}function _(e){for(var n=[],t=0,r=0,a=0;a<e.length;a++){m(e.charCodeAt(a))?(0===r&&(t=a),r++):r>0&&(n.push(g(e.substr(t,r))),r=0)}return r>0&&n.push(g(e.substr(t,r))),n}function g(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:y(e)}}function y(e){return v(e,!1)}function h(e){return v(e,!0)}function v(n,t){for(var r=[],a=0,i=1;i<n.length;i++){var o=f(n.charCodeAt(i-1)),s=f(n.charCodeAt(i)),c=S(n,t,i),l=t&&T(n,i,a);(b(n.charCodeAt(i-1))||b(n.charCodeAt(i))||o!==s||c||l)&&(E(n,a,i)||r.push(e.createTextSpan(a,i-a)),a=i)}return E(n,a,n.length)||r.push(e.createTextSpan(a,n.length-a)),r}function b(e){switch(e){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function E(e,n,t){return x(e,(function(e){return b(e)&&95!==e}),n,t)}function T(e,n,t){return n!==t&&n+1<e.length&&u(e.charCodeAt(n))&&d(e.charCodeAt(n+1))&&x(e,u,t,n)}function S(e,n,t){var r=u(e.charCodeAt(t-1));return u(e.charCodeAt(t))&&(!n||!r)}function L(e,n,t){for(var r=e;r<n;r++)if(!t(r))return!1;return!0}function x(e,n,t,r){return void 0===t&&(t=0),void 0===r&&(r=e.length),L(t,r,(function(t){return n(e.charCodeAt(t),t)}))}!function(e){e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase"}(n=e.PatternMatchKind||(e.PatternMatchKind={})),e.createPatternMatcher=function(n){var t=new e.Map,r=n.trim().split(".").map((function(e){return{totalTextChunk:g(n=e.trim()),subWordTextChunks:_(n)};var n}));if(!r.some((function(e){return!e.subWordTextChunks.length})))return{getFullMatch:function(n,a){return function(n,t,r,a){var s;if(!i(t,e.last(r),a))return;if(r.length-1>n.length)return;for(var c=r.length-2,l=n.length-1;c>=0;c-=1,l-=1)s=o(s,i(n[l],r[c],a));return s}(n,a,r,t)},getMatchForLastSegmentOfPattern:function(n){return i(n,e.last(r),t)},patternContainsDots:r.length>1}},e.breakIntoCharacterSpans=y,e.breakIntoWordSpans=h}(p||(p={})),function(e){e.preProcessFile=function(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var a,i,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},c=[],l=0,u=!1;function d(){return i=o,18===(o=e.scanner.scan())?l++:19===o&&l--,o}function p(){var n=e.scanner.getTokenValue(),t=e.scanner.getTokenPos();return{fileName:n,pos:t,end:t+n.length}}function f(){c.push(p()),m()}function m(){0===l&&(u=!0)}function _(){var n=e.scanner.getToken();return 133===n&&(138===(n=d())&&10===(n=d())&&(a||(a=[]),a.push({ref:p(),depth:l})),!0)}function g(){if(24===i)return!1;var n=e.scanner.getToken();if(99===n){if(20===(n=d())){if(10===(n=d())||14===n)return f(),!0}else{if(10===n)return f(),!0;148===n&&e.scanner.lookAhead((function(){var n=e.scanner.scan();return 152!==n&&(41===n||18===n||78===n||e.isKeyword(n))}))&&(n=d());if(78===n||e.isKeyword(n))if(152===(n=d())){if(10===(n=d()))return f(),!0}else if(62===n){if(h(!0))return!0}else{if(27!==n)return!0;n=d()}if(18===n){for(n=d();19!==n&&1!==n;)n=d();19===n&&152===(n=d())&&10===(n=d())&&f()}else 41===n&&126===(n=d())&&(78===(n=d())||e.isKeyword(n))&&152===(n=d())&&10===(n=d())&&f()}return!0}return!1}function y(){var n=e.scanner.getToken();if(92===n){if(m(),148===(n=d()))e.scanner.lookAhead((function(){var n=e.scanner.scan();return 41===n||18===n}))&&(n=d());if(18===n){for(n=d();19!==n&&1!==n;)n=d();19===n&&152===(n=d())&&10===(n=d())&&f()}else if(41===n)152===(n=d())&&10===(n=d())&&f();else if(99===n){if(148===(n=d()))e.scanner.lookAhead((function(){var n=e.scanner.scan();return 78===n||e.isKeyword(n)}))&&(n=d());if((78===n||e.isKeyword(n))&&62===(n=d())&&h(!0))return!0}return!0}return!1}function h(n,t){void 0===t&&(t=!1);var r=n?d():e.scanner.getToken();return 142===r&&(20===(r=d())&&(10===(r=d())||t&&14===r)&&f(),!0)}function v(){var n=e.scanner.getToken();if(78===n&&"define"===e.scanner.getTokenValue()){if(20!==(n=d()))return!0;if(10===(n=d())||14===n){if(27!==(n=d()))return!0;n=d()}if(22!==n)return!0;for(n=d();23!==n&&1!==n;)10!==n&&14!==n||f(),n=d();return!0}return!1}if(t&&function(){for(e.scanner.setText(n),d();1!==e.scanner.getToken();)_()||g()||y()||r&&(h(!1,!0)||v())||d();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,n),e.processPragmasIntoFields(s,e.noop),u){if(a)for(var b=0,E=a;b<E.length;b++){var T=E[b];c.push(T.ref)}return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:c,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:void 0}}var S=void 0;if(a)for(var L=0,x=a;L<x.length;L++){0===(T=x[L]).depth?(S||(S=[]),S.push(T.ref.fileName)):c.push(T.ref)}return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:c,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:S}}}(p||(p={})),function(e){!function(n){function t(n){return{canRename:!1,localizedErrorMessage:e.getLocaleSpecificMessage(n)}}function r(n,t){var r=n.getStart(t),a=n.getWidth(t);return e.isStringLiteralLike(n)&&(r+=1,a-=2),e.createTextSpan(r,a)}n.getRenameInfo=function(n,a,i,o){var s=e.getAdjustedRenameLocation(e.getTouchingPropertyName(a,i));if(function(n){switch(n.kind){case 78:case 79:case 10:case 14:case 107:return!0;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n);default:return!1}}(s)){var c=function(n,a,i,o,s){var c=a.getSymbolAtLocation(n);if(!c)return;var l=c.declarations;if(!l||0===l.length)return;if(l.some(o))return t(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(e.isIdentifier(n)&&87===n.originalKeywordKind&&c.parent&&1536&c.parent.flags)return;if(e.isStringLiteralLike(n)&&e.tryGetImportFromModuleSpecifier(n))return s&&s.allowRenameOfImportPath?function(n,r,a){if(!e.isExternalModuleNameRelative(n.text))return t(e.Diagnostics.You_cannot_rename_a_module_via_a_global_import);var i=e.find(a.declarations,e.isSourceFile);if(!i)return;var o=e.endsWith(n.text,"/index")||e.endsWith(n.text,"/index.js")?void 0:e.tryRemoveSuffix(e.removeFileExtension(i.fileName),"/index"),s=void 0===o?i.fileName:o,c=void 0===o?"module":"directory",l=n.text.lastIndexOf("/")+1,u=e.createTextSpan(n.getStart(r)+1+l,n.text.length-l);return{canRename:!0,fileToRename:s,kind:c,displayName:s,fullDisplayName:s,kindModifiers:"",triggerSpan:u}}(n,i,c):void 0;var u=e.SymbolDisplay.getSymbolKind(a,c,n),d=e.isImportOrExportSpecifierName(n)||e.isStringOrNumericLiteralLike(n)&&157===n.parent.kind?e.stripQuotes(e.getTextOfIdentifierOrLiteral(n)):void 0,p=d||a.symbolToString(c),f=d||a.getFullyQualifiedName(c);return function(e,n,t,a,i,o){return{canRename:!0,fileToRename:void 0,kind:t,displayName:e,fullDisplayName:n,kindModifiers:a,triggerSpan:r(i,o)}}(p,f,u,e.SymbolDisplay.getSymbolModifiers(c),n,i)}(s,n.getTypeChecker(),a,(function(e){return n.isSourceFileDefaultLibrary(e.getSourceFile())}),o);if(c)return c}return t(e.Diagnostics.You_cannot_rename_this_element)}}(e.Rename||(e.Rename={}))}(p||(p={})),function(e){!function(n){function t(n,t,r){return e.Debug.assert(r.pos<=t),t<r.end||r.getEnd()===t&&e.getTouchingPropertyName(n,t).pos<r.end}n.getSmartSelectionRange=function(n,r){var i,o,c={textSpan:e.createTextSpanFromBounds(r.getFullStart(),r.getEnd())},u=r;e:for(;;){var d=a(u);if(!d.length)break;for(var p=0;p<d.length;p++){var f=d[p-1],m=d[p],_=d[p+1];if(m.getStart(r)>n)break e;if(t(r,n,m)){if(e.isBlock(m)||e.isTemplateSpan(m)||e.isTemplateHead(m)||e.isTemplateTail(m)||f&&e.isTemplateHead(f)||e.isVariableDeclarationList(m)&&e.isVariableStatement(u)||e.isSyntaxList(m)&&e.isVariableDeclarationList(u)||e.isVariableDeclaration(m)&&e.isSyntaxList(u)&&1===d.length){u=m;break}if(e.isTemplateSpan(u)&&_&&e.isTemplateMiddleOrTemplateTail(_))b(m.getFullStart()-"${".length,_.getStart()+"}".length);var g=e.isSyntaxList(m)&&(o=void 0,18===(o=(i=f)&&i.kind)||22===o||20===o||272===o)&&l(_)&&!e.positionsAreOnSameLine(f.getStart(),_.getStart(),r),y=e.hasJSDocNodes(m)&&m.jsDoc[0].getStart(),h=g?f.getEnd():m.getStart(),v=g?_.getStart():m.getEnd();e.isNumber(y)&&b(y,v),b(h,v),(e.isStringLiteral(m)||e.isTemplateLiteral(m))&&b(h+1,v-1),u=m;break}if(p===d.length-1)break e}}return c;function b(t,r){if(t!==r){var a=e.createTextSpanFromBounds(t,r);(!c||!e.textSpansEqual(a,c.textSpan)&&e.textSpanIntersectsWithPosition(a,n))&&(c=s({textSpan:a},c&&{parent:c}))}}};var r=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function a(n){if(e.isSourceFile(n))return i(n.getChildAt(0).getChildren(),r);if(e.isMappedTypeNode(n)){var t=n.getChildren(),a=t[0],s=t.slice(1),l=e.Debug.checkDefined(s.pop());e.Debug.assertEqual(a.kind,18),e.Debug.assertEqual(l.kind,19);var u=i(s,(function(e){return e===n.readonlyToken||141===e.kind||e===n.questionToken||57===e.kind}));return[a,c(o(i(u,(function(e){var n=e.kind;return 22===n||158===n||23===n})),(function(e){return 58===e.kind}))),l]}if(e.isPropertySignature(n))return o(s=i(n.getChildren(),(function(t){return t===n.name||e.contains(n.modifiers,t)})),(function(e){return 58===e.kind}));if(e.isParameter(n)){var d=i(n.getChildren(),(function(e){return e===n.dotDotDotToken||e===n.name}));return o(i(d,(function(e){return e===d[0]||e===n.questionToken})),(function(e){return 62===e.kind}))}return e.isBindingElement(n)?o(n.getChildren(),(function(e){return 62===e.kind})):n.getChildren()}function i(e,n){for(var t,r=[],a=0,i=e;a<i.length;a++){var o=i[a];n(o)?(t=t||[]).push(o):(t&&(r.push(c(t)),t=void 0),r.push(o))}return t&&r.push(c(t)),r}function o(n,t,r){if(void 0===r&&(r=!0),n.length<2)return n;var a=e.findIndex(n,t);if(-1===a)return n;var i=n.slice(0,a),o=n[a],s=e.last(n),l=r&&26===s.kind,u=n.slice(a+1,l?n.length-1:void 0),d=e.compact([i.length?c(i):void 0,o,u.length?c(u):void 0]);return l?d.concat(s):d}function c(n){return e.Debug.assertGreaterThanOrEqual(n.length,1),e.setTextRangePosEnd(e.parseNodeFactory.createSyntaxList(n),n[0].pos,e.last(n).end)}function l(e){var n=e&&e.kind;return 19===n||23===n||21===n||273===n}}(e.SmartSelectionRange||(e.SmartSelectionRange={}))}(p||(p={})),function(e){!function(n){var t,r;function a(n,t,r){for(var a=n.getFullStart(),i=n.parent;i;){var o=e.findPrecedingToken(a,t,i,!0);if(o)return e.rangeContainsRange(r,o);i=i.parent}return e.Debug.fail("Could not find preceding token")}function i(n,t){var r=function(n,t){if(29===n.kind||20===n.kind)return{list:f(n.parent,n,t),argumentIndex:0};var r=e.findContainingList(n);return r&&{list:r,argumentIndex:u(r,n)}}(n,t);if(r){var a=r.list,i=r.argumentIndex,o=function(n){var t=n.getChildren(),r=e.countWhere(t,(function(e){return 27!==e.kind}));t.length>0&&27===e.last(t).kind&&r++;return r}(a);return 0!==i&&e.Debug.assertLessThan(i,o),{list:a,argumentIndex:i,argumentCount:o,argumentsSpan:function(n,t){var r=n.getFullStart(),a=e.skipTrivia(t.text,n.getEnd(),!1);return e.createTextSpan(r,a-r)}(a,t)}}}function s(n,t,r){var a=n.parent;if(e.isCallOrNewExpression(a)){var o=a,s=i(n,r);if(!s)return;var c=s.list,l=s.argumentIndex,u=s.argumentCount,p=s.argumentsSpan;return{isTypeParameterList:!!a.typeArguments&&a.typeArguments.pos===c.pos,invocation:{kind:0,node:o},argumentsSpan:p,argumentIndex:l,argumentCount:u}}if(e.isNoSubstitutionTemplateLiteral(n)&&e.isTaggedTemplateExpression(a))return e.isInsideTemplateLiteral(n,t,r)?d(a,0,r):void 0;if(e.isTemplateHead(n)&&202===a.parent.kind){var f=a,m=f.parent;return e.Debug.assert(215===f.kind),d(m,l=e.isInsideTemplateLiteral(n,t,r)?0:1,r)}if(e.isTemplateSpan(a)&&e.isTaggedTemplateExpression(a.parent.parent)){var _=a;m=a.parent.parent;if(e.isTemplateTail(n)&&!e.isInsideTemplateLiteral(n,t,r))return;return d(m,l=function(n,t,r,a){if(e.Debug.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(t))return e.isInsideTemplateLiteral(t,r,a)?0:n+2;return n+1}(_.parent.templateSpans.indexOf(_),n,t,r),r)}if(e.isJsxOpeningLikeElement(a)){var g=a.attributes.pos,y=e.skipTrivia(r.text,a.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:a},argumentsSpan:e.createTextSpan(g,y-g),argumentIndex:0,argumentCount:1}}var h=e.getPossibleTypeArgumentsInfo(n,r);if(h){var v=h.called,b=h.nTypeArguments;return{isTypeParameterList:!0,invocation:o={kind:1,called:v},argumentsSpan:p=e.createTextSpanFromBounds(v.getStart(r),n.end),argumentIndex:b,argumentCount:b+1}}}function c(n){return e.isBinaryExpression(n.left)?c(n.left)+1:2}function l(n){return"__type"===n.name&&e.firstDefined(n.declarations,(function(n){return e.isFunctionTypeNode(n)?n.parent.symbol:void 0}))||n}function u(e,n){for(var t=0,r=0,a=e.getChildren();r<a.length;r++){var i=a[r];if(i===n)break;27!==i.kind&&t++}return t}function d(n,t,r){var a=e.isNoSubstitutionTemplateLiteral(n.template)?1:n.template.templateSpans.length+1;return 0!==t&&e.Debug.assertLessThan(t,a),{isTypeParameterList:!1,invocation:{kind:0,node:n},argumentsSpan:p(n,r),argumentIndex:t,argumentCount:a}}function p(n,t){var r=n.template,a=r.getStart(),i=r.getEnd();215===r.kind&&(0===e.last(r.templateSpans).literal.getFullWidth()&&(i=e.skipTrivia(t.text,i,!1)));return e.createTextSpan(a,i-a)}function f(n,t,r){var a=n.getChildren(r),i=a.indexOf(t);return e.Debug.assert(i>=0&&a.length>i+1),a[i+1]}function m(n){return 0===n.kind?e.getInvokedExpression(n.node):n.called}function _(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}!function(e){e[e.Call=0]="Call",e[e.TypeArgs=1]="TypeArgs",e[e.Contextual=2]="Contextual"}(t||(t={})),n.getSignatureHelpItems=function(n,t,r,o,u){var d=n.getTypeChecker(),p=e.findTokenOnLeftOfPosition(t,r);if(p){var f=!!o&&"characterTyped"===o.kind;if(!f||!e.isInString(t,r,p)&&!e.isInComment(t,r)){var h=!!o&&"invoked"===o.kind,v=function(n,t,r,a,o){for(var u=function(n){e.Debug.assert(e.rangeContainsRange(n.parent,n),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(n.kind)+", parent: "+e.Debug.formatSyntaxKind(n.parent.kind)}));var o=function(n,t,r,a){return function(n,t,r,a){var o=function(n,t,r){if(20!==n.kind&&27!==n.kind)return;var a=n.parent;switch(a.kind){case 204:case 164:case 205:case 206:var o=i(n,t);if(!o)return;var s=o.argumentIndex,l=o.argumentCount,u=o.argumentsSpan,d=e.isMethodDeclaration(a)?r.getContextualTypeForObjectLiteralElement(a):r.getContextualType(a);return d&&{contextualType:d,argumentIndex:s,argumentCount:l,argumentsSpan:u};case 213:var p=function n(t){return e.isBinaryExpression(t.parent)?n(t.parent):t}(a),f=r.getContextualType(p),m=20===n.kind?0:c(a)-1,_=c(p);return f&&{contextualType:f,argumentIndex:m,argumentCount:_,argumentsSpan:e.createTextSpanFromNode(a)};default:return}}(n,r,a);if(!o)return;var s=o.contextualType,u=o.argumentIndex,d=o.argumentCount,p=o.argumentsSpan,f=s.getNonNullableType(),m=f.getCallSignatures();return 1!==m.length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:e.first(m),node:n,symbol:l(f.symbol)},argumentsSpan:p,argumentIndex:u,argumentCount:d}}(n,0,r,a)||s(n,t,r)}(n,t,r,a);if(o)return{value:o}},d=n;!e.isSourceFile(d)&&(o||!e.isBlock(d));d=d.parent){var p=u(d);if("object"==typeof p)return p.value}return}(p,r,t,d,h);if(v){u.throwIfCancellationRequested();var b=function(n,t,r,i,o){var s=n.invocation,c=n.argumentCount;switch(s.kind){case 0:if(o&&!function(n,t,r){if(!e.isCallOrNewExpression(t))return!1;var i=t.getChildren(r);switch(n.kind){case 20:return e.contains(i,n);case 27:var o=e.findContainingList(n);return!!o&&e.contains(i,o);case 29:return a(n,r,t.expression);default:return!1}}(i,s.node,r))return;var l=[],u=t.getResolvedSignatureForSignatureHelp(s.node,l,c);return 0===l.length?void 0:{kind:0,candidates:l,resolvedSignature:u};case 1:var d=s.called;if(o&&!a(i,r,e.isIdentifier(d)?d.parent:d))return;if(0!==(l=e.getPossibleGenericSignatures(d,c,t)).length)return{kind:0,candidates:l,resolvedSignature:e.first(l)};var p=t.getSymbolAtLocation(d);return p&&{kind:1,symbol:p};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(v,d,t,p,f);return u.throwIfCancellationRequested(),b?d.runWithCancellationToken(u,(function(e){return 0===b.kind?g(b.candidates,b.resolvedSignature,v,t,e):function(e,n,t,r){var a=n.argumentCount,i=n.argumentsSpan,o=n.invocation,s=n.argumentIndex,c=r.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return c?{items:[y(e,c,r,_(o),t)],applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}:void 0}(b.symbol,v,t,e)})):e.isSourceFileJS(t)?function(n,t,r){if(2===n.invocation.kind)return;var a=m(n.invocation),i=e.isPropertyAccessExpression(a)?a.name.text:void 0,o=t.getTypeChecker();return void 0===i?void 0:e.firstDefined(t.getSourceFiles(),(function(t){return e.firstDefined(t.getNamedDeclarations().get(i),(function(e){var a=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),i=a&&a.getCallSignatures();if(i&&i.length)return o.runWithCancellationToken(r,(function(e){return g(i,i[0],n,t,e,!0)}))}))}))}(v,n,u):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(r||(r={})),n.getArgumentInfoForCompletions=function(e,n,t){var r=s(e,n,t);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}};function g(n,t,r,a,i,s){var c,l=r.isTypeParameterList,u=r.argumentCount,d=r.argumentsSpan,p=r.invocation,f=r.argumentIndex,g=_(p),y=2===p.kind?p.symbol:i.getSymbolAtLocation(m(p))||s&&(null===(c=t.declaration)||void 0===c?void 0:c.symbol),E=y?e.symbolToDisplayParts(i,y,s?a:void 0,void 0):e.emptyArray,T=e.map(n,(function(n){return function(n,t,r,a,i,s){var c=(r?v:b)(n,a,i,s);return e.map(c,(function(r){var s=r.isVariadic,c=r.parameters,l=r.prefix,u=r.suffix,d=o(t,l),p=o(u,function(n,t,r){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var a=r.getTypePredicateOfSignature(n);a?r.writeTypePredicate(a,t,void 0,e):r.writeType(r.getReturnTypeOfSignature(n),t,void 0,e)}))}(n,i,a)),f=n.getDocumentationComment(a),m=n.getJsDocTags();return{isVariadic:s,prefixDisplayParts:d,suffixDisplayParts:p,separatorDisplayParts:h,parameters:c,documentation:f,tags:m}}))}(n,E,l,i,g,a)}));0!==f&&e.Debug.assertLessThan(f,u);for(var S=0,L=0,x=0;x<T.length;x++){var A=T[x];if(n[x]===t&&(S=L,A.length>1))for(var D=0,C=0,I=A;C<I.length;C++){var N=I[C];if(N.isVariadic||N.parameters.length>=u){S=L+D;break}D++}L+=A.length}return e.Debug.assert(-1!==S),{items:e.flatMapToMutable(T,e.identity),applicableSpan:d,selectedItemIndex:S,argumentIndex:f,argumentCount:u}}function y(n,t,r,a,i){var s=e.symbolToDisplayParts(r,n),c=e.createPrinter({removeComments:!0}),l=t.map((function(e){return E(e,r,a,i,c)})),u=n.getDocumentationComment(r),d=n.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:o(s,[e.punctuationPart(29)]),suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:h,parameters:l,documentation:u,tags:d}}var h=[e.punctuationPart(27),e.spacePart()];function v(n,t,r,a){var i=(n.target||n).typeParameters,s=e.createPrinter({removeComments:!0}),c=(i||e.emptyArray).map((function(e){return E(e,t,r,a,s)})),l=n.thisParameter?[t.symbolToParameterDeclaration(n.thisParameter,r,70246400)]:[];return t.getExpandedParameters(n).map((function(n){var i=e.factory.createNodeArray(o(l,e.map(n,(function(e){return t.symbolToParameterDeclaration(e,r,70246400)})))),u=e.mapToDisplayParts((function(e){s.writeList(2576,i,a,e)}));return{isVariadic:!1,parameters:c,prefix:[e.punctuationPart(29)],suffix:o([e.punctuationPart(31)],u)}}))}function b(n,t,r,a){var i=t.hasEffectiveRestParameter(n),s=e.createPrinter({removeComments:!0}),c=e.mapToDisplayParts((function(i){if(n.typeParameters&&n.typeParameters.length){var o=e.factory.createNodeArray(n.typeParameters.map((function(e){return t.typeParameterToDeclaration(e,r,70246400)})));s.writeList(53776,o,a,i)}})),l=t.getExpandedParameters(n);return l.map((function(n){return{isVariadic:i&&(1===l.length||!!(32768&n[n.length-1].checkFlags)),parameters:n.map((function(n){return function(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.symbolToParameterDeclaration(n,r,70246400);i.writeNode(4,o,a,e)})),s=t.isOptionalParameter(n.valueDeclaration);return{name:n.name,documentation:n.getDocumentationComment(t),displayParts:o,isOptional:s}}(n,t,r,a,s)})),prefix:o(c,[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}))}function E(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.typeParameterToDeclaration(n,r,70246400);i.writeNode(4,o,a,e)}));return{name:n.symbol.name,documentation:n.symbol.getDocumentationComment(t),displayParts:o,isOptional:!1}}}(e.SignatureHelp||(e.SignatureHelp={}))}(p||(p={})),function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function t(n,t,r){var a=e.tryParseRawSourceMap(t);if(a&&a.sources&&a.file&&a.mappings&&(!a.sourcesContent||!a.sourcesContent.some(e.isString)))return e.createDocumentPositionMapper(n,a,r)}e.getSourceMapper=function(n){var t=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),r=n.getCurrentDirectory(),a=new e.Map,i=new e.Map;return{tryGetSourcePosition:function n(t){if(!e.isDeclarationFileName(t.fileName))return;if(!c(t.fileName))return;var r=s(t.fileName).getSourcePosition(t);return r&&r!==t?n(r)||r:void 0},tryGetGeneratedPosition:function(a){if(e.isDeclarationFileName(a.fileName))return;var i=c(a.fileName);if(!i)return;var o=n.getProgram();if(o.isSourceOfProjectReferenceRedirect(i.fileName))return;var l=o.getCompilerOptions(),u=e.outFile(l),d=u?e.removeFileExtension(u)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(a.fileName,o.getCompilerOptions(),r,o.getCommonSourceDirectory(),t);if(void 0===d)return;var p=s(d,a.fileName).getGeneratedPosition(a);return p===a?void 0:p},toLineColumnOffset:function(e,n){return u(e).getLineAndCharacterOfPosition(n)},clearCache:function(){a.clear(),i.clear()}};function o(n){return e.toPath(n,r,t)}function s(r,a){var s,c=o(r),l=i.get(c);if(l)return l;if(n.getDocumentPositionMapper)s=n.getDocumentPositionMapper(r,a);else if(n.readFile){var d=u(r);s=d&&e.getDocumentPositionMapper({getSourceFileLike:u,getCanonicalFileName:t,log:function(e){return n.log(e)}},r,e.getLineInfo(d.text,e.getLineStarts(d)),(function(e){return!n.fileExists||n.fileExists(e)?n.readFile(e):void 0}))}return i.set(c,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function c(e){var t=n.getProgram();if(t){var r=o(e),a=t.getSourceFileByPath(r);return a&&a.resolvedPath===r?a:void 0}}function l(t){var r=o(t),i=a.get(r);if(void 0!==i)return i||void 0;if(n.readFile&&(!n.fileExists||n.fileExists(r))){var s=n.readFile(r),c=!!s&&function(n,t){return{text:n,lineMap:t,getLineAndCharacterOfPosition:function(n){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),n)}}}(s);return a.set(r,c),c||void 0}a.set(r,!1)}function u(e){return n.getSourceFileLike?n.getSourceFileLike(e):c(e)||l(e)}},e.getDocumentPositionMapper=function(r,a,i,o){var s=e.tryGetSourceMappingURL(i);if(s){var c=n.exec(s);if(c){if(c[1]){var l=c[1];return t(r,e.base64decode(e.sys,l),a)}s=void 0}}var u=[];s&&u.push(s),u.push(a+".map");for(var d=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(a)),p=0,f=u;p<f.length;p++){var m=f[p],_=e.getNormalizedAbsolutePath(m,e.getDirectoryPath(a)),g=o(_,d);if(e.isString(g))return t(r,g,_);if(void 0!==g)return g||void 0}}}(p||(p={})),function(e){var n=new e.Map;function t(n){switch(n.kind){case 258:var t=n.importClause,r=n.moduleSpecifier;return t&&!t.name&&t.namedBindings&&260===t.namedBindings.kind&&e.isStringLiteral(r)?t.namedBindings.name:void 0;case 257:return n.name;default:return}}function r(n){return e.isReturnStatement(n)&&!!n.expression&&a(n.expression)}function a(n){if(!i(n)||!n.arguments.every(o))return!1;for(var t=n.expression;i(t)||e.isPropertyAccessExpression(t);){if(e.isCallExpression(t)&&!t.arguments.every(o))return!1;t=t.expression}return!0}function i(n){return e.isCallExpression(n)&&(e.hasPropertyAccessExpressionWithName(n,"then")&&function(n){return!(n.arguments.length>2)&&(n.arguments.length<2||e.some(n.arguments,(function(n){return 103===n.kind||e.isIdentifier(n)&&"undefined"===n.text})))}(n)||e.hasPropertyAccessExpressionWithName(n,"catch"))}function o(e){switch(e.kind){case 248:case 205:case 206:n.set(s(e),!0);case 103:case 78:return!0;default:return!1}}function s(e){return e.pos.toString()+":"+e.end.toString()}e.computeSuggestionDiagnostics=function(a,i,o){i.getSemanticDiagnostics(a,o);var c,l=[],u=i.getTypeChecker();a.commonJsModuleIndicator&&(e.programContainsEs6Modules(i)||e.compilerOptionsIndicateEs6Modules(i.getCompilerOptions()))&&function(n){return n.statements.some((function(n){switch(n.kind){case 229:return n.declarationList.declarations.some((function(n){return!!n.initializer&&e.isRequireCall(function n(t){return e.isPropertyAccessExpression(t)?n(t.expression):t}(n.initializer),!0)}));case 230:var t=n.expression;if(!e.isBinaryExpression(t))return e.isRequireCall(t,!0);var r=e.getAssignmentDeclarationKind(t);return 1===r||2===r;default:return!1}}))}(a)&&l.push(e.createDiagnosticForNode((c=a.commonJsModuleIndicator,e.isBinaryExpression(c)?c.left:c),e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module));var d=e.isSourceFileJS(a);if(n.clear(),function t(i){if(d)(function(n){var t,r,a,i;if(205===n.kind){if(e.isVariableDeclaration(n.parent)&&(null===(t=n.symbol.members)||void 0===t?void 0:t.size))return!0;var o=e.getDeclarationOfExpando(n),s=null==o?void 0:o.symbol;return!(!s||!(null===(r=s.exports)||void 0===r?void 0:r.size)&&!(null===(a=s.members)||void 0===a?void 0:a.size))}if(248===n.kind)return!!(null===(i=n.symbol.members)||void 0===i?void 0:i.size);return!1})(i)&&l.push(e.createDiagnosticForNode(e.isVariableDeclaration(i.parent)?i.parent.name:i,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(e.isVariableStatement(i)&&i.parent===a&&2&i.declarationList.flags&&1===i.declarationList.declarations.length){var o=i.declarationList.declarations[0].initializer;o&&e.isRequireCall(o,!0)&&l.push(e.createDiagnosticForNode(o,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(i)&&l.push(e.createDiagnosticForNode(i.name||i,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}e.isFunctionLikeDeclaration(i)&&function(t,a,i){(function(n,t){return!e.isAsyncFunction(n)&&n.body&&e.isBlock(n.body)&&(a=n.body,!!e.forEachReturnStatement(a,r))&&function(e,n){var t=n.getTypeAtLocation(e),r=n.getSignaturesOfType(t,0),a=r.length?n.getReturnTypeOfSignature(r[0]):void 0;return!!a&&!!n.getPromisedTypeOfPromise(a)}(n,t);var a})(t,a)&&!n.has(s(t))&&i.push(e.createDiagnosticForNode(!t.name&&e.isVariableDeclaration(t.parent)&&e.isIdentifier(t.parent.name)?t.parent.name:t,e.Diagnostics.This_may_be_converted_to_an_async_function))}(i,u,l);i.forEachChild(t)}(a),e.getAllowSyntheticDefaultImports(i.getCompilerOptions()))for(var p=0,f=a.imports;p<f.length;p++){var m=f[p],_=t(e.importFromModuleSpecifier(m));if(_){var g=e.getResolvedModule(a,m.text),y=g&&i.getSourceFile(g.resolvedFileName);y&&y.externalModuleIndicator&&e.isExportAssignment(y.externalModuleIndicator)&&y.externalModuleIndicator.isExportEquals&&l.push(e.createDiagnosticForNode(_,e.Diagnostics.Import_may_be_converted_to_a_default_import))}}return e.addRange(l,a.bindSuggestionDiagnostics),e.addRange(l,i.getSuggestionDiagnostics(a,o)),l.sort((function(e,n){return e.start-n.start}))},e.isReturnStatementWithFixablePromiseHandler=r,e.isFixablePromiseHandler=a}(p||(p={})),function(e){!function(n){function t(n,t,a){var i=r(n,t,a);if(""!==i)return i;var o=e.getCombinedLocalAndExportSymbolFlags(t);return 32&o?e.getDeclarationOfKind(t,218)?"local class":"class":384&o?"enum":524288&o?"type":64&o?"interface":262144&o?"type parameter":8&o?"enum member":2097152&o?"alias":1536&o?"module":i}function r(n,t,r){var i=n.getRootSymbols(t);if(1===i.length&&8192&e.first(i).flags&&0!==n.getTypeOfSymbolAtLocation(t,r).getNonNullableType().getCallSignatures().length)return"method";if(n.isUndefinedSymbol(t))return"var";if(n.isArgumentsSymbol(t))return"local var";if(107===r.kind&&e.isExpression(r))return"parameter";var o=e.getCombinedLocalAndExportSymbolFlags(t);if(3&o)return e.isFirstDeclarationOfSymbolParameter(t)?"parameter":t.valueDeclaration&&e.isVarConst(t.valueDeclaration)?"const":e.forEach(t.declarations,e.isLet)?"let":a(t)?"local var":"var";if(16&o)return a(t)?"local function":"function";if(32768&o)return"getter";if(65536&o)return"setter";if(8192&o)return"method";if(16384&o)return"constructor";if(4&o){if(33554432&o&&6&t.checkFlags){var s=e.forEach(n.getRootSymbols(t),(function(n){var t=n.getFlags();if(98311&t)return"property";e.Debug.assert(!!(8208&t))}));return s||(n.getTypeOfSymbolAtLocation(t,r).getCallSignatures().length?"method":"property")}switch(r.parent&&r.parent.kind){case 272:case 270:case 271:return 78===r.kind?"property":"JSX attribute";case 277:return"JSX attribute";default:return"property"}}return""}function a(n){return!n.parent&&e.forEach(n.declarations,(function(n){if(205===n.kind)return!0;if(246!==n.kind&&248!==n.kind)return!1;for(var t=n.parent;!e.isFunctionBlock(t);t=t.parent)if(294===t.kind||254===t.kind)return!1;return!0}))}n.getSymbolKind=t,n.getSymbolModifiers=function(n){var t=n&&n.declarations&&n.declarations.length>0?e.getNodeModifiers(n.declarations[0]):"",r=n&&16777216&n.flags?"optional":"";return t&&r?t+","+r:t||r},n.getSymbolDisplayPartsDocumentationAndSymbolKind=function n(a,i,o,s,c,l,u){void 0===l&&(l=e.getMeaningFromLocation(c));var d,p,f,m,_=[],g=[],y=[],h=e.getCombinedLocalAndExportSymbolFlags(i),v=1&l?r(a,i,c):"",b=!1,E=107===c.kind&&e.isInExpressionContext(c),T=!1;if(107===c.kind&&!E)return{displayParts:[e.keywordPart(107)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==v||32&h||2097152&h){"getter"!==v&&"setter"!==v||(v="property");var S=void 0;if(d=E?a.getTypeAtLocation(c):a.getTypeOfSymbolAtLocation(i.exportSymbol||i,c),c.parent&&198===c.parent.kind){var L=c.parent.name;(L===c||L&&0===L.getFullWidth())&&(c=c.parent)}var x=void 0;if(e.isCallOrNewExpression(c)?x=c:(e.isCallExpressionTarget(c)||e.isNewExpressionTarget(c)||c.parent&&(e.isJsxOpeningLikeElement(c.parent)||e.isTaggedTemplateExpression(c.parent))&&e.isFunctionLike(i.valueDeclaration))&&(x=c.parent),x){S=a.getResolvedSignature(x);var A=201===x.kind||e.isCallExpression(x)&&105===x.expression.kind,D=A?d.getConstructSignatures():d.getCallSignatures();if(e.contains(D,S.target)||e.contains(D,S)||(S=D.length?D[0]:void 0),S){switch(A&&32&h?(v="constructor",X(d.symbol,v)):2097152&h?(Y(v="alias"),_.push(e.spacePart()),A&&(_.push(e.keywordPart(102)),_.push(e.spacePart())),J(i)):X(i,v),v){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":_.push(e.punctuationPart(58)),_.push(e.spacePart()),16&e.getObjectFlags(d)||!d.symbol||(e.addRange(_,e.symbolToDisplayParts(a,d.symbol,s,void 0,5)),_.push(e.lineBreakPart())),A&&(_.push(e.keywordPart(102)),_.push(e.spacePart())),Q(S,D,262144);break;default:Q(S,D)}b=!0,T=D.length>1}}else if(e.isNameOfFunctionDeclaration(c)&&!(98304&h)||132===c.kind&&165===c.parent.kind){var C=c.parent;if(i.declarations&&e.find(i.declarations,(function(e){return e===(132===c.kind?C.parent:C)}))){D=165===C.kind?d.getNonNullableType().getConstructSignatures():d.getNonNullableType().getCallSignatures();S=a.isImplementationOfOverload(C)?D[0]:a.getSignatureFromDeclaration(C),165===C.kind?(v="constructor",X(d.symbol,v)):X(168!==C.kind||2048&d.symbol.flags||4096&d.symbol.flags?i:d.symbol,v),Q(S,D),b=!0,T=D.length>1}}}if(32&h&&!b&&!E&&(q(),e.getDeclarationOfKind(i,218)?Y("local class"):_.push(e.keywordPart(83)),_.push(e.spacePart()),J(i),Z(i,o)),64&h&&2&l&&(W(),_.push(e.keywordPart(117)),_.push(e.spacePart()),J(i),Z(i,o)),524288&h&&2&l&&(W(),_.push(e.keywordPart(148)),_.push(e.spacePart()),J(i),Z(i,o),_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),e.addRange(_,e.typeToDisplayParts(a,a.getDeclaredTypeOfSymbol(i),s,8388608))),384&h&&(W(),e.some(i.declarations,(function(n){return e.isEnumDeclaration(n)&&e.isEnumConst(n)}))&&(_.push(e.keywordPart(84)),_.push(e.spacePart())),_.push(e.keywordPart(91)),_.push(e.spacePart()),J(i)),1536&h&&!E){W();var I=(j=e.getDeclarationOfKind(i,253))&&j.name&&78===j.name.kind;_.push(e.keywordPart(I?139:138)),_.push(e.spacePart()),J(i)}if(262144&h&&2&l)if(W(),_.push(e.punctuationPart(20)),_.push(e.textPart("type parameter")),_.push(e.punctuationPart(21)),_.push(e.spacePart()),J(i),i.parent)z(),J(i.parent,s),Z(i.parent,s);else{var N=e.getDeclarationOfKind(i,158);if(void 0===N)return e.Debug.fail();if(j=N.parent)if(e.isFunctionLikeKind(j.kind)){z();S=a.getSignatureFromDeclaration(j);169===j.kind?(_.push(e.keywordPart(102)),_.push(e.spacePart())):168!==j.kind&&j.name&&J(j.symbol),e.addRange(_,e.signatureToDisplayParts(a,S,o,32))}else 251===j.kind&&(z(),_.push(e.keywordPart(148)),_.push(e.spacePart()),J(j.symbol),Z(j.symbol,o))}if(8&h&&(v="enum member",X(i,"enum member"),288===(j=i.declarations[0]).kind)){var R=a.getConstantValue(j);void 0!==R&&(_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),_.push(e.displayPart(e.getTextOfConstantValue(R),"number"==typeof R?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&i.flags){if(W(),!b){var k=a.getAliasedSymbol(i);if(k!==i&&k.declarations&&k.declarations.length>0){var O=k.declarations[0],P=e.getNameOfDeclaration(O);if(P){var M=e.isModuleWithStringLiteralName(O)&&e.hasSyntacticModifier(O,2),w="default"!==i.name&&!M,F=n(a,k,e.getSourceFileOfNode(O),O,P,l,w?i:k);_.push.apply(_,F.displayParts),_.push(e.lineBreakPart()),f=F.documentation,m=F.tags}}}switch(i.declarations[0].kind){case 256:_.push(e.keywordPart(92)),_.push(e.spacePart()),_.push(e.keywordPart(139));break;case 263:_.push(e.keywordPart(92)),_.push(e.spacePart()),_.push(e.keywordPart(i.declarations[0].isExportEquals?62:87));break;case 267:_.push(e.keywordPart(92));break;default:_.push(e.keywordPart(99))}_.push(e.spacePart()),J(i),e.forEach(i.declarations,(function(n){if(257===n.kind){var t=n;if(e.isExternalModuleImportEqualsDeclaration(t))_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),_.push(e.keywordPart(142)),_.push(e.punctuationPart(20)),_.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(t)),e.SymbolDisplayPartKind.stringLiteral)),_.push(e.punctuationPart(21));else{var r=a.getSymbolAtLocation(t.moduleReference);r&&(_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),J(r,s))}return!0}}))}if(!b)if(""!==v){if(d)if(E?(W(),_.push(e.keywordPart(107))):X(i,v),"property"===v||"JSX attribute"===v||3&h||"local var"===v||E){if(_.push(e.punctuationPart(58)),_.push(e.spacePart()),d.symbol&&262144&d.symbol.flags){var G=e.mapToDisplayParts((function(n){var t=a.typeParameterToDeclaration(d,s,70246400);H().writeNode(4,t,e.getSourceFileOfNode(e.getParseTreeNode(s)),n)}));e.addRange(_,G)}else e.addRange(_,e.typeToDisplayParts(a,d,s));if(i.target&&i.target.tupleLabelDeclaration){var B=i.target.tupleLabelDeclaration;e.Debug.assertNode(B.name,e.isIdentifier),_.push(e.spacePart()),_.push(e.punctuationPart(20)),_.push(e.textPart(e.idText(B.name))),_.push(e.punctuationPart(21))}}else if(16&h||8192&h||16384&h||131072&h||98304&h||"method"===v){(D=d.getNonNullableType().getCallSignatures()).length&&(Q(D[0],D),T=D.length>1)}}else v=t(a,i,c);if(0!==g.length||T||(g=i.getContextualDocumentationComment(s,a)),0===g.length&&4&h&&i.parent&&e.forEach(i.parent.declarations,(function(e){return 294===e.kind})))for(var U=0,V=i.declarations;U<V.length;U++){var j;if((j=V[U]).parent&&213===j.parent.kind){var K=a.getSymbolAtLocation(j.parent.right);if(K&&(g=K.getDocumentationComment(a),y=K.getJsDocTags(),g.length>0))break}}return 0!==y.length||T||(y=i.getJsDocTags()),0===g.length&&f&&(g=f),0===y.length&&m&&(y=m),{displayParts:_,documentation:g,symbolKind:v,tags:0===y.length?void 0:y};function H(){return p||(p=e.createPrinter({removeComments:!0})),p}function W(){_.length&&_.push(e.lineBreakPart()),q()}function q(){u&&(Y("alias"),_.push(e.spacePart()))}function z(){_.push(e.spacePart()),_.push(e.keywordPart(100)),_.push(e.spacePart())}function J(n,t){u&&n===i&&(n=u);var r=e.symbolToDisplayParts(a,n,t||o,void 0,7);e.addRange(_,r),16777216&i.flags&&_.push(e.punctuationPart(57))}function X(n,t){W(),t&&(Y(t),n&&!e.some(n.declarations,(function(n){return e.isArrowFunction(n)||(e.isFunctionExpression(n)||e.isClassExpression(n))&&!n.name}))&&(_.push(e.spacePart()),J(n)))}function Y(n){switch(n){case"var":case"function":case"let":case"const":case"constructor":return void _.push(e.textOrKeywordPart(n));default:return _.push(e.punctuationPart(20)),_.push(e.textOrKeywordPart(n)),void _.push(e.punctuationPart(21))}}function Q(n,t,r){void 0===r&&(r=0),e.addRange(_,e.signatureToDisplayParts(a,n,s,32|r)),t.length>1&&(_.push(e.spacePart()),_.push(e.punctuationPart(20)),_.push(e.operatorPart(39)),_.push(e.displayPart((t.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),_.push(e.spacePart()),_.push(e.textPart(2===t.length?"overload":"overloads")),_.push(e.punctuationPart(21))),g=n.getDocumentationComment(a),y=n.getJsDocTags(),t.length>1&&0===g.length&&0===y.length&&(g=t[0].getDocumentationComment(a),y=t[0].getJsDocTags())}function Z(n,t){var r=e.mapToDisplayParts((function(r){var i=a.symbolToTypeParameterDeclarations(n,t,70246400);H().writeList(53776,i,e.getSourceFileOfNode(e.getParseTreeNode(t)),r)}));e.addRange(_,r)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(p||(p={})),function(e){function n(n,t){var a=[],i=t.compilerOptions?r(t.compilerOptions,a):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===i[s]&&(i[s]=o[s]);for(var c=0,l=e.transpileOptionValueCompilerOptions;c<l.length;c++){var u=l[c];i[u.name]=u.transpileOptionValue}i.suppressOutputPathCheck=!0,i.allowNonTsExtensions=!0;var d=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),p=e.createSourceFile(d,n,i.target);t.moduleName&&(p.moduleName=t.moduleName),t.renamedDependencies&&(p.renamedDependencies=new e.Map(e.getEntries(t.renamedDependencies)));var f,m,_=e.getNewLineCharacter(i),g={getSourceFile:function(n){return n===e.normalizePath(d)?p:void 0},writeFile:function(n,t){e.fileExtensionIs(n,".map")?(e.Debug.assertEqual(m,void 0,"Unexpected multiple source map outputs, file:",n),m=t):(e.Debug.assertEqual(f,void 0,"Unexpected multiple outputs, file:",n),f=t)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return _},fileExists:function(e){return e===d},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},y=e.createProgram([d],i,g);return t.reportDiagnostics&&(e.addRange(a,y.getSyntacticDiagnostics(p)),e.addRange(a,y.getOptionsDiagnostics())),y.emit(void 0,void 0,void 0,void 0,t.transformers),void 0===f?e.Debug.fail("Output generation failed"):{outputText:f,diagnostics:a,sourceMapText:m}}var t;function r(n,r){t=t||e.filter(e.optionDeclarations,(function(n){return"object"==typeof n.type&&!e.forEachEntry(n.type,(function(e){return"number"!=typeof e}))})),n=e.cloneCompilerOptions(n);for(var a=function(t){if(!e.hasProperty(n,t.name))return"continue";var a=n[t.name];e.isString(a)?n[t.name]=e.parseCustomTypeOption(t,a,r):e.forEachEntry(t.type,(function(e){return e===a}))||r.push(e.createCompilerDiagnosticForInvalidCustomType(t))},i=0,o=t;i<o.length;i++){a(o[i])}return n}e.transpileModule=n,e.transpile=function(t,r,a,i,o){var s=n(t,{compilerOptions:r,fileName:a,reportDiagnostics:!!i,moduleName:o});return e.addRange(i,s.diagnostics),s.outputText},e.fixupCompilerOptions=r}(p||(p={})),function(e){!function(n){!function(e){e[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace"}(n.FormattingRequestKind||(n.FormattingRequestKind={}));var t=function(){function n(e,n,t){this.sourceFile=e,this.formattingRequestKind=n,this.options=t}return n.prototype.updateContext=function(n,t,r,a,i){this.currentTokenSpan=e.Debug.checkDefined(n),this.currentTokenParent=e.Debug.checkDefined(t),this.nextTokenSpan=e.Debug.checkDefined(r),this.nextTokenParent=e.Debug.checkDefined(a),this.contextNode=e.Debug.checkDefined(i),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},n.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},n.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},n.prototype.TokensAreOnSameLine=function(){if(void 0===this.tokensAreOnSameLine){var e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,n=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===n}return this.tokensAreOnSameLine},n.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},n.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},n.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},n.prototype.BlockIsOnOneLine=function(n){var t=e.findChildOfKind(n,18,this.sourceFile),r=e.findChildOfKind(n,19,this.sourceFile);return!(!t||!r)&&this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(r.getStart(this.sourceFile)).line},n}();n.FormattingContext=t}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){var t,r=e.createScanner(99,!1,0),a=e.createScanner(99,!1,1);!function(e){e[e.Scan=0]="Scan",e[e.RescanGreaterThanToken=1]="RescanGreaterThanToken",e[e.RescanSlashToken=2]="RescanSlashToken",e[e.RescanTemplateToken=3]="RescanTemplateToken",e[e.RescanJsxIdentifier=4]="RescanJsxIdentifier",e[e.RescanJsxText=5]="RescanJsxText",e[e.RescanJsxAttributeValue=6]="RescanJsxAttributeValue"}(t||(t={})),n.getFormattingScanner=function(t,i,o,s,c){var l=1===i?a:r;l.setText(t),l.setTextPos(o);var u,d,p,f,m,_=!0,g=c({advance:function(){m=void 0,l.getStartPos()!==o?_=!!d&&4===e.last(d).kind:l.scan();u=void 0,d=void 0;var n=l.getStartPos();for(;n<s;){var t=l.getToken();if(!e.isTrivia(t))break;l.scan();var r={pos:n,end:l.getStartPos(),kind:t};n=l.getStartPos(),u=e.append(u,r)}p=l.getStartPos()},readTokenInfo:function(t){e.Debug.assert(y());var r=function(e){switch(e.kind){case 33:case 70:case 71:case 49:case 48:return!0}return!1}(t)?1:(i=t,13===i.kind?2:function(e){return 16===e.kind||17===e.kind}(t)?3:function(n){if(n.parent)switch(n.parent.kind){case 277:case 272:case 273:case 271:return e.isKeyword(n.kind)||78===n.kind}return!1}(t)?4:function(n){if(e.isJsxText(n)){var t=e.findAncestor(n.parent,(function(n){return e.isJsxElement(n)}));return!!t&&!e.isParenthesizedExpression(t.parent)}return!1}(t)?5:(a=t,a.parent&&e.isJsxAttribute(a.parent)&&a.parent.initializer===a?6:0));var a;var i;if(m&&r===f)return v(m,t);l.getStartPos()!==p&&(e.Debug.assert(void 0!==m),l.setTextPos(p),l.scan());var o=function(n,t){var r=l.getToken();switch(f=0,t){case 1:if(31===r){f=1;var a=l.reScanGreaterToken();return e.Debug.assert(n.kind===a),a}break;case 2:if(43===(i=r)||67===i){f=2;a=l.reScanSlashToken();return e.Debug.assert(n.kind===a),a}break;case 3:if(19===r)return f=3,l.reScanTemplateToken(!1);break;case 4:return f=4,l.scanJsxIdentifier();case 5:return f=5,l.reScanJsxToken();case 6:return f=6,l.reScanJsxAttributeValue();case 0:break;default:e.Debug.assertNever(t)}var i;return r}(t,r),c=n.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),o);d&&(d=void 0);for(;l.getStartPos()<s&&(o=l.scan(),e.isTrivia(o));){var _=n.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),o);if(d||(d=[]),d.push(_),4===o){l.scan();break}}return v(m={leadingTrivia:u,trailingTrivia:d,token:c},t)},readEOFTokenRange:function(){return e.Debug.assert(h()),n.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),1)},isOnToken:y,isOnEOF:h,getCurrentLeadingTrivia:function(){return u},lastTrailingTriviaWasNewLine:function(){return _},skipToEndOf:function(e){l.setTextPos(e.end),p=l.getStartPos(),f=void 0,m=void 0,_=!1,u=void 0,d=void 0},skipToStartOf:function(e){l.setTextPos(e.pos),p=l.getStartPos(),f=void 0,m=void 0,_=!1,u=void 0,d=void 0}});return m=void 0,l.setText(void 0),g;function y(){var n=m?m.token.kind:l.getToken();return(m?m.token.pos:l.getStartPos())<s&&1!==n&&!e.isTrivia(n)}function h(){return 1===(m?m.token.kind:l.getToken())}function v(n,t){return e.isToken(t)&&n.token.kind!==t.kind&&(n.token.kind=t.kind),n}}}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){n.anyContext=e.emptyArray,function(e){e[e.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",e[e.StopProcessingTokenActions=2]="StopProcessingTokenActions",e[e.InsertSpace=4]="InsertSpace",e[e.InsertNewLine=8]="InsertNewLine",e[e.DeleteSpace=16]="DeleteSpace",e[e.DeleteToken=32]="DeleteToken",e[e.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",e[e.StopAction=3]="StopAction",e[e.ModifySpaceAction=28]="ModifySpaceAction",e[e.ModifyTokenAction=96]="ModifyTokenAction"}(n.RuleAction||(n.RuleAction={})),function(e){e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines"}(n.RuleFlags||(n.RuleFlags={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){function t(e,n,t,r,i,o){return void 0===o&&(o=0),{leftTokenRange:a(n),rightTokenRange:a(t),rule:{debugName:e,context:r,action:i,flags:o}}}function r(e){return{tokens:e,isSpecific:!0}}function a(n){return"number"==typeof n?r([n]):e.isArray(n)?r(n):n}function i(n,t,a){void 0===a&&(a=[]);for(var i=[],o=n;o<=t;o++)e.contains(a,o)||i.push(o);return r(i)}function s(e,n){return function(t){return t.options&&t.options[e]===n}}function c(e){return function(n){return n.options&&n.options.hasOwnProperty(e)&&!!n.options[e]}}function l(e){return function(n){return n.options&&n.options.hasOwnProperty(e)&&!n.options[e]}}function u(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]}}function d(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]||n.TokensAreOnSameLine()}}function p(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!!n.options[e]}}function f(e){return 234===e.contextNode.kind}function m(e){return!f(e)}function _(e){switch(e.contextNode.kind){case 213:return 27!==e.contextNode.operatorToken.kind;case 214:case 183:case 221:case 267:case 262:case 171:case 181:case 182:return!0;case 195:case 251:case 257:case 246:case 159:case 288:case 162:case 161:return 62===e.currentTokenSpan.kind||62===e.nextTokenSpan.kind;case 235:case 158:return 100===e.currentTokenSpan.kind||100===e.nextTokenSpan.kind||62===e.currentTokenSpan.kind||62===e.nextTokenSpan.kind;case 236:return 155===e.currentTokenSpan.kind||155===e.nextTokenSpan.kind}return!1}function g(e){return!_(e)}function y(e){return!h(e)}function h(n){var t=n.contextNode.kind;return 162===t||161===t||159===t||246===t||e.isFunctionLikeKind(t)}function v(e){return 214===e.contextNode.kind||183===e.contextNode.kind}function b(e){return e.TokensAreOnSameLine()||x(e)}function E(e){return 193===e.contextNode.kind||189===e.contextNode.kind||function(e){return L(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function T(e){return x(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function S(e){return L(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function L(e){return A(e.contextNode)}function x(e){return A(e.nextTokenParent)}function A(e){if(R(e))return!0;switch(e.kind){case 227:case 255:case 197:case 254:return!0}return!1}function D(e){switch(e.contextNode.kind){case 248:case 164:case 163:case 166:case 167:case 168:case 205:case 165:case 206:case 250:return!0}return!1}function C(e){return!D(e)}function I(e){return 248===e.contextNode.kind||205===e.contextNode.kind}function N(e){return R(e.contextNode)}function R(e){switch(e.kind){case 249:case 218:case 250:case 252:case 176:case 253:case 264:case 265:case 258:case 261:return!0}return!1}function k(e){switch(e.currentTokenParent.kind){case 249:case 253:case 252:case 284:case 254:case 241:return!0;case 227:var n=e.currentTokenParent.parent;if(!n||206!==n.kind&&205!==n.kind)return!0}return!1}function O(e){switch(e.contextNode.kind){case 231:case 241:case 234:case 235:case 236:case 233:case 244:case 232:case 240:case 284:return!0;default:return!1}}function P(e){return 197===e.contextNode.kind}function M(e){return function(e){return 200===e.contextNode.kind}(e)||function(e){return 201===e.contextNode.kind}(e)}function w(e){return 27!==e.currentTokenSpan.kind}function F(e){return 23!==e.nextTokenSpan.kind}function G(e){return 21!==e.nextTokenSpan.kind}function B(e){return 206===e.contextNode.kind}function U(e){return 192===e.contextNode.kind}function V(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function j(e){return 11!==e.contextNode.kind}function K(e){return 270!==e.contextNode.kind&&274!==e.contextNode.kind}function H(e){return 280===e.contextNode.kind||279===e.contextNode.kind}function W(e){return 277===e.nextTokenParent.kind}function q(e){return 277===e.contextNode.kind}function z(e){return 271===e.contextNode.kind}function J(e){return!D(e)&&!x(e)}function X(e){return e.TokensAreOnSameLine()&&!!e.contextNode.decorators&&Y(e.currentTokenParent)&&!Y(e.nextTokenParent)}function Y(n){for(;e.isExpressionNode(n);)n=n.parent;return 160===n.kind}function Q(e){return 247===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function Z(e){return 2!==e.formattingRequestKind}function $(e){return 253===e.contextNode.kind}function ee(e){return 176===e.contextNode.kind}function ne(e){return 169===e.contextNode.kind}function te(e,n){if(29!==e.kind&&31!==e.kind)return!1;switch(n.kind){case 172:case 203:case 251:case 249:case 218:case 250:case 248:case 205:case 206:case 164:case 163:case 168:case 169:case 200:case 201:case 220:return!0;default:return!1}}function re(e){return te(e.currentTokenSpan,e.currentTokenParent)||te(e.nextTokenSpan,e.nextTokenParent)}function ae(e){return 203===e.contextNode.kind}function ie(e){return 113===e.currentTokenSpan.kind&&209===e.currentTokenParent.kind}function oe(e){return 216===e.contextNode.kind&&void 0!==e.contextNode.expression}function se(e){return 222===e.contextNode.kind}function ce(e){return!function(e){switch(e.contextNode.kind){case 231:case 234:case 235:case 236:case 232:case 233:return!0;default:return!1}}(e)}function le(n){var t=n.nextTokenSpan.kind,r=n.nextTokenSpan.pos;if(e.isTrivia(t)){var a=n.nextTokenParent===n.currentTokenParent?e.findNextToken(n.currentTokenParent,e.findAncestor(n.currentTokenParent,(function(e){return!e.parent})),n.sourceFile):n.nextTokenParent.getFirstToken(n.sourceFile);if(!a)return!0;t=a.kind,r=a.getStart(n.sourceFile)}return n.sourceFile.getLineAndCharacterOfPosition(n.currentTokenSpan.pos).line===n.sourceFile.getLineAndCharacterOfPosition(r).line?19===t||1===t:226!==t&&26!==t&&(250===n.contextNode.kind||251===n.contextNode.kind?!e.isPropertySignature(n.currentTokenParent)||!!n.currentTokenParent.type||20!==t:e.isPropertyDeclaration(n.currentTokenParent)?!n.currentTokenParent.initializer:234!==n.currentTokenParent.kind&&228!==n.currentTokenParent.kind&&226!==n.currentTokenParent.kind&&22!==t&&20!==t&&39!==t&&40!==t&&43!==t&&13!==t&&27!==t&&215!==t&&15!==t&&14!==t&&24!==t)}function ue(n){return e.positionIsASICandidate(n.currentTokenSpan.end,n.currentTokenParent,n.sourceFile)}n.getAllRules=function(){for(var a=[],L=0;L<=155;L++)1!==L&&a.push(L);function A(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return{tokens:a.filter((function(n){return!e.some((function(e){return e===n}))})),isSpecific:!1}}var R={tokens:a,isSpecific:!1},Y=r(o(a,[3])),te=r(o(a,[1])),de=i(80,155),pe=i(29,77),fe=[100,101,155,126,136],me=o([78],e.typeKeywords),_e=Y,ge=r([78,3,83,92,99]),ye=r([21,3,89,110,95,90]),he=[t("IgnoreBeforeComment",R,[2,3],n.anyContext,1),t("IgnoreAfterLineComment",2,R,n.anyContext,1),t("NotSpaceBeforeColon",R,58,[V,g,y],16),t("SpaceAfterColon",58,R,[V,g],4),t("NoSpaceBeforeQuestionMark",R,57,[V,g,y],16),t("SpaceAfterQuestionMarkInConditionalOperator",57,R,[V,v],4),t("NoSpaceAfterQuestionMark",57,R,[V],16),t("NoSpaceBeforeDot",R,[24,28],[V],16),t("NoSpaceAfterDot",[24,28],R,[V],16),t("NoSpaceBetweenImportParenInImportType",99,20,[V,U],16),t("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,78,20,22,18,107,102],[V,g],16),t("NoSpaceAfterUnaryPreincrementOperator",45,[78,20,107,102],[V],16),t("NoSpaceAfterUnaryPredecrementOperator",46,[78,20,107,102],[V],16),t("NoSpaceBeforeUnaryPostincrementOperator",[78,21,23,102],45,[V,ce],16),t("NoSpaceBeforeUnaryPostdecrementOperator",[78,21,23,102],46,[V,ce],16),t("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[V,_],4),t("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[V,_],4),t("SpaceAfterAddWhenFollowedByPreincrement",39,45,[V,_],4),t("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[V,_],4),t("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[V,_],4),t("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[V,_],4),t("NoSpaceAfterCloseBrace",19,[27,26],[V],16),t("NewLineBeforeCloseBraceInBlockContext",Y,19,[S],8),t("SpaceAfterCloseBrace",19,A(21),[V,k],4),t("SpaceBetweenCloseBraceAndElse",19,90,[V],4),t("SpaceBetweenCloseBraceAndWhile",19,114,[V],4),t("NoSpaceBetweenEmptyBraceBrackets",18,19,[V,P],16),t("SpaceAfterConditionalClosingParen",21,22,[O],4),t("NoSpaceBetweenFunctionKeywordAndStar",97,41,[I],16),t("SpaceAfterStarInGeneratorDeclaration",41,78,[I],4),t("SpaceAfterFunctionInFuncDecl",97,R,[D],4),t("NewLineAfterOpenBraceInBlockContext",18,R,[S],8),t("SpaceAfterGetSetInMember",[134,145],78,[D],4),t("NoSpaceBetweenYieldKeywordAndStar",124,41,[V,oe],16),t("SpaceBetweenYieldOrYieldStarAndOperand",[124,41],R,[V,oe],4),t("NoSpaceBetweenReturnAndSemicolon",104,26,[V],16),t("SpaceAfterCertainKeywords",[112,108,102,88,104,111,130],R,[V],4),t("SpaceAfterLetConstInVariableDeclaration",[118,84],R,[V,Q],4),t("NoSpaceBeforeOpenParenInFuncCall",R,20,[V,M,w],16),t("SpaceBeforeBinaryKeywordOperator",R,fe,[V,_],4),t("SpaceAfterBinaryKeywordOperator",fe,R,[V,_],4),t("SpaceAfterVoidOperator",113,R,[V,ie],4),t("SpaceBetweenAsyncAndOpenParen",129,20,[B,V],4),t("SpaceBetweenAsyncAndFunctionKeyword",129,[97,78],[V],4),t("NoSpaceBetweenTagAndTemplateString",[78,21],[14,15],[V],16),t("SpaceBeforeJsxAttribute",R,78,[W,V],4),t("SpaceBeforeSlashInJsxOpeningElement",R,43,[z,V],4),t("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[z,V],16),t("NoSpaceBeforeEqualInJsxAttribute",R,62,[q,V],16),t("NoSpaceAfterEqualInJsxAttribute",62,R,[q,V],16),t("NoSpaceAfterModuleImport",[138,142],20,[V],16),t("SpaceAfterCertainTypeScriptKeywords",[125,83,133,87,91,92,93,134,116,99,117,138,139,120,122,121,141,145,123,148,152,137,135],R,[V],4),t("SpaceBeforeCertainTypeScriptKeywords",R,[93,116,152],[V],4),t("SpaceAfterModuleName",10,18,[$],4),t("SpaceBeforeArrow",R,38,[V],4),t("SpaceAfterArrow",38,R,[V],4),t("NoSpaceAfterEllipsis",25,78,[V],16),t("NoSpaceAfterOptionalParameters",57,[21,27],[V,g],16),t("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[V,ee],16),t("NoSpaceBeforeOpenAngularBracket",me,29,[V,re],16),t("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[V,re],16),t("NoSpaceAfterOpenAngularBracket",29,R,[V,re],16),t("NoSpaceBeforeCloseAngularBracket",R,31,[V,re],16),t("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[V,re,C],16),t("SpaceBeforeAt",[21,78],59,[V],4),t("NoSpaceAfterAt",59,R,[V],16),t("SpaceAfterDecorator",R,[125,78,92,87,83,123,122,120,121,134,145,22,41],[X],4),t("NoSpaceBeforeNonNullAssertionOperator",R,53,[V,se],16),t("NoSpaceAfterNewKeywordOnConstructorSignature",102,20,[V,ne],16),t("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[V],4)],ve=[t("SpaceAfterConstructor",132,20,[c("insertSpaceAfterConstructor"),V],4),t("NoSpaceAfterConstructor",132,20,[u("insertSpaceAfterConstructor"),V],16),t("SpaceAfterComma",27,R,[c("insertSpaceAfterCommaDelimiter"),V,K,F,G],4),t("NoSpaceAfterComma",27,R,[u("insertSpaceAfterCommaDelimiter"),V,K],16),t("SpaceAfterAnonymousFunctionKeyword",[97,41],20,[c("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),D],4),t("NoSpaceAfterAnonymousFunctionKeyword",[97,41],20,[u("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),D],16),t("SpaceAfterKeywordInControl",de,20,[c("insertSpaceAfterKeywordsInControlFlowStatements"),O],4),t("NoSpaceAfterKeywordInControl",de,20,[u("insertSpaceAfterKeywordsInControlFlowStatements"),O],16),t("SpaceAfterOpenParen",20,R,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],4),t("SpaceBeforeCloseParen",R,21,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],4),t("SpaceBetweenOpenParens",20,20,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],4),t("NoSpaceBetweenParens",20,21,[V],16),t("NoSpaceAfterOpenParen",20,R,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],16),t("NoSpaceBeforeCloseParen",R,21,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),V],16),t("SpaceAfterOpenBracket",22,R,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],4),t("SpaceBeforeCloseBracket",R,23,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],4),t("NoSpaceBetweenBrackets",22,23,[V],16),t("NoSpaceAfterOpenBracket",22,R,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],16),t("NoSpaceBeforeCloseBracket",R,23,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),V],16),t("SpaceAfterOpenBrace",18,R,[p("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),E],4),t("SpaceBeforeCloseBrace",R,19,[p("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),E],4),t("NoSpaceBetweenEmptyBraceBrackets",18,19,[V,P],16),t("NoSpaceAfterOpenBrace",18,R,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),V],16),t("NoSpaceBeforeCloseBrace",R,19,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),V],16),t("SpaceBetweenEmptyBraceBrackets",18,19,[c("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),t("NoSpaceBetweenEmptyBraceBrackets",18,19,[l("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),V],16),t("SpaceAfterTemplateHeadAndMiddle",[15,16],R,[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],4,1),t("SpaceBeforeTemplateMiddleAndTail",R,[16,17],[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),V],4),t("NoSpaceAfterTemplateHeadAndMiddle",[15,16],R,[u("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],16,1),t("NoSpaceBeforeTemplateMiddleAndTail",R,[16,17],[u("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),V],16),t("SpaceAfterOpenBraceInJsxExpression",18,R,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],4),t("SpaceBeforeCloseBraceInJsxExpression",R,19,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],4),t("NoSpaceAfterOpenBraceInJsxExpression",18,R,[u("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],16),t("NoSpaceBeforeCloseBraceInJsxExpression",R,19,[u("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),V,H],16),t("SpaceAfterSemicolonInFor",26,R,[c("insertSpaceAfterSemicolonInForStatements"),V,f],4),t("NoSpaceAfterSemicolonInFor",26,R,[u("insertSpaceAfterSemicolonInForStatements"),V,f],16),t("SpaceBeforeBinaryOperator",R,pe,[c("insertSpaceBeforeAndAfterBinaryOperators"),V,_],4),t("SpaceAfterBinaryOperator",pe,R,[c("insertSpaceBeforeAndAfterBinaryOperators"),V,_],4),t("NoSpaceBeforeBinaryOperator",R,pe,[u("insertSpaceBeforeAndAfterBinaryOperators"),V,_],16),t("NoSpaceAfterBinaryOperator",pe,R,[u("insertSpaceBeforeAndAfterBinaryOperators"),V,_],16),t("SpaceBeforeOpenParenInFuncDecl",R,20,[c("insertSpaceBeforeFunctionParenthesis"),V,D],4),t("NoSpaceBeforeOpenParenInFuncDecl",R,20,[u("insertSpaceBeforeFunctionParenthesis"),V,D],16),t("NewLineBeforeOpenBraceInControl",ye,18,[c("placeOpenBraceOnNewLineForControlBlocks"),O,T],8,1),t("NewLineBeforeOpenBraceInFunction",_e,18,[c("placeOpenBraceOnNewLineForFunctions"),D,T],8,1),t("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",ge,18,[c("placeOpenBraceOnNewLineForFunctions"),N,T],8,1),t("SpaceAfterTypeAssertion",31,R,[c("insertSpaceAfterTypeAssertion"),V,ae],4),t("NoSpaceAfterTypeAssertion",31,R,[u("insertSpaceAfterTypeAssertion"),V,ae],16),t("SpaceBeforeTypeAnnotation",R,[57,58],[c("insertSpaceBeforeTypeAnnotation"),V,h],4),t("NoSpaceBeforeTypeAnnotation",R,[57,58],[u("insertSpaceBeforeTypeAnnotation"),V,h],16),t("NoOptionalSemicolon",26,te,[s("semicolons",e.SemicolonPreference.Remove),le],32),t("OptionalSemicolon",R,te,[s("semicolons",e.SemicolonPreference.Insert),ue],64)],be=[t("NoSpaceBeforeSemicolon",R,26,[V],16),t("SpaceBeforeOpenBraceInControl",ye,18,[d("placeOpenBraceOnNewLineForControlBlocks"),O,Z,b],4,1),t("SpaceBeforeOpenBraceInFunction",_e,18,[d("placeOpenBraceOnNewLineForFunctions"),D,x,Z,b],4,1),t("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",ge,18,[d("placeOpenBraceOnNewLineForFunctions"),N,Z,b],4,1),t("NoSpaceBeforeComma",R,27,[V],16),t("NoSpaceBeforeOpenBracket",A(129,81),22,[V],16),t("NoSpaceAfterCloseBracket",23,R,[V,J],16),t("SpaceAfterSemicolon",26,R,[V],4),t("SpaceBetweenForAndAwaitKeyword",96,130,[V],4),t("SpaceBetweenStatements",[21,89,90,81],R,[V,K,m],4),t("SpaceAfterTryCatchFinally",[110,82,95],18,[V],4)];return o(he,ve,be)}}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){var t;function r(){var r,o;return void 0===t&&(r=n.getAllRules(),o=function(e){for(var n=new Array(s*s),t=new Array(n.length),r=0,a=e;r<a.length;r++)for(var o=a[r],l=o.leftTokenRange.isSpecific&&o.rightTokenRange.isSpecific,u=0,d=o.leftTokenRange.tokens;u<d.length;u++)for(var p=d[u],f=0,m=o.rightTokenRange.tokens;f<m.length;f++){var _=m[f],g=i(p,_),y=n[g];void 0===y&&(y=n[g]=[]),c(y,o.rule,l,t,g)}return n}(r),t=function(n){var t=o[i(n.currentTokenSpan.kind,n.nextTokenSpan.kind)];if(t){for(var r=[],s=0,c=0,l=t;c<l.length;c++){var u=l[c],d=~a(s);u.action&d&&e.every(u.context,(function(e){return e(n)}))&&(r.push(u),s|=u.action)}if(r.length)return r}}),t}function a(e){var n=0;return 1&e&&(n|=28),2&e&&(n|=96),28&e&&(n|=28),96&e&&(n|=96),n}function i(n,t){return e.Debug.assert(n<=155&&t<=155,"Must compute formatting context from tokens"),n*s+t}n.getFormatContext=function(e,n){return{options:e,getRules:r(),host:n}};var o,s=156;function c(t,r,a,i,s){var c,l,u,d=3&r.action?a?o.StopRulesSpecific:o.StopRulesAny:r.context!==n.anyContext?a?o.ContextRulesSpecific:o.ContextRulesAny:a?o.NoContextRulesSpecific:o.NoContextRulesAny,p=i[s]||0;t.splice(function(e,n){for(var t=0,r=0;r<=n;r+=5)t+=31&e,e>>=5;return t}(p,d),0,r),i[s]=(u=1+((c=p)>>(l=d)&31),e.Debug.assert((31&u)===u,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),c&~(31<<l)|u<<l)}!function(e){e[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=5]="StopRulesAny",e[e.ContextRulesSpecific=10]="ContextRulesSpecific",e[e.ContextRulesAny=15]="ContextRulesAny",e[e.NoContextRulesSpecific=20]="NoContextRulesSpecific",e[e.NoContextRulesAny=25]="NoContextRulesAny"}(o||(o={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){var t,r,a,i,o;function s(n,t,r){var a=e.findPrecedingToken(n,r);return a&&a.kind===t&&n===a.getEnd()?a:void 0}function c(e){for(var n=e;n&&n.parent&&n.parent.end===e.end&&!l(n.parent,n);)n=n.parent;return n}function l(n,t){switch(n.kind){case 249:case 250:return e.rangeContainsRange(n.members,t);case 253:var r=n.body;return!!r&&254===r.kind&&e.rangeContainsRange(r.statements,t);case 294:case 227:case 254:return e.rangeContainsRange(n.statements,t);case 284:return e.rangeContainsRange(n.block.statements,t)}return!1}function u(n,t,r,a){return n?d({pos:e.getLineStartPositionForPosition(n.getStart(t),t),end:n.end},t,r,a):[]}function d(t,r,a,i){var o=function(n,t){return function r(a){var i=e.forEachChild(a,(function(r){return e.startEndContainsRange(r.getStart(t),r.end,n)&&r}));if(i){var o=r(i);if(o)return o}return a}(t)}(t,r);return n.getFormattingScanner(r.text,r.languageVariant,function(n,t,r){var a=n.getStart(r);if(a===t.pos&&n.end===t.end)return a;var i=e.findPrecedingToken(t.pos,r);return i?i.end>=t.pos?n.pos:i.end:n.pos}(o,t,r),t.end,(function(s){return p(t,o,n.SmartIndenter.getIndentationForNode(o,t,r,a.options),function(e,t,r){for(var a,i=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&o!==i)break;if(n.SmartIndenter.shouldIndentChildNode(t,e,a,r))return t.indentSize;i=o,a=e,e=e.parent}return 0}(o,a.options,r),s,a,i,function(n,t){if(!n.length)return i;var r=n.filter((function(n){return e.rangeOverlapsWithStartEnd(t,n.start,n.start+n.length)})).sort((function(e,n){return e.start-n.start}));if(!r.length)return i;var a=0;return function(n){for(;;){if(a>=r.length)return!1;var t=r[a];if(n.end<=t.start)return!1;if(e.startEndOverlapsWithStartEnd(n.pos,n.end,t.start,t.start+t.length))return!0;a++}};function i(){return!1}}(r.parseDiagnostics,t),r)}))}function p(t,r,a,i,o,s,c,l,u){var d,p,m,_,g=s.options,y=s.getRules,h=s.host,v=new n.FormattingContext(u,c,g),b=-1,E=[];if(o.advance(),o.isOnToken()){var T=u.getLineAndCharacterOfPosition(r.getStart(u)).line,S=T;r.decorators&&(S=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,u)).line),function r(a,i,s,c,f,y){if(!e.rangeOverlapsWithStartEnd(t,a.getStart(u),a.getEnd()))return;var h=x(a,s,f,y),v=i;e.forEachChild(a,(function(e){S(e,-1,a,h,s,c,!1)}),(function(t){!function(t,r,i,s){e.Debug.assert(e.isNodeArray(t));var c=function(e,n){switch(e.kind){case 165:case 248:case 205:case 164:case 163:case 206:if(e.typeParameters===n)return 29;if(e.parameters===n)return 20;break;case 200:case 201:if(e.typeArguments===n)return 29;if(e.arguments===n)return 20;break;case 172:if(e.typeArguments===n)return 29;break;case 176:return 18}return 0}(r,t),l=s,d=i;if(0!==c)for(;o.isOnToken();){if((v=o.readTokenInfo(r)).token.end>t.pos)break;if(v.token.kind===c){d=u.getLineAndCharacterOfPosition(v.token.pos).line,L(v,r,s,r);var p=void 0;if(-1!==b)p=b;else{var f=e.getLineStartPositionForPosition(v.token.pos,u);p=n.SmartIndenter.findFirstNonWhitespaceColumn(f,v.token.pos,u,g)}l=x(r,i,p,g.indentSize)}else L(v,r,s,r)}for(var m=-1,_=0;_<t.length;_++){var y=t[_];m=S(y,m,a,l,d,d,!0,0===_)}var h=function(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}(c);if(0!==h&&o.isOnToken()){var v;if(27===(v=o.readTokenInfo(r)).token.kind&&e.isCallLikeExpression(r)){var E=u.getLineAndCharacterOfPosition(v.token.pos).line;d!==E&&(o.advance(),v=o.isOnToken()?o.readTokenInfo(r):void 0)}v&&v.token.kind===h&&e.rangeContainsRange(r,v.token)&&L(v,r,l,r,!0)}}(t,a,s,h)}));for(;o.isOnToken();){var E=o.readTokenInfo(a);if(E.token.end>a.end)break;11!==a.kind?L(E,a,h,a):o.advance()}if(!a.parent&&o.isOnEOF()){var T=o.readEOFTokenRange();T.end<=a.end&&d&&I(T,u.getLineAndCharacterOfPosition(T.pos).line,a,d,m,p,i,h)}function S(i,s,c,l,d,p,f,m){var y=i.getStart(u),h=u.getLineAndCharacterOfPosition(y).line,E=h;i.decorators&&(E=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(i,u)).line);var T=-1;if(f&&e.rangeContainsRange(t,c)&&-1!==(T=function(t,r,a,i,o){if(e.rangeOverlapsWithStartEnd(i,t,r)||e.rangeContainsStartEnd(i,t,r)){if(-1!==o)return o}else{var s=u.getLineAndCharacterOfPosition(t).line,c=e.getLineStartPositionForPosition(t,u),l=n.SmartIndenter.findFirstNonWhitespaceColumn(c,t,u,g);if(s!==a||t===l){var d=n.SmartIndenter.getBaseIndentation(g);return d>l?d:l}}return-1}(y,i.end,d,t,s))&&(s=T),!e.rangeOverlapsWithStartEnd(t,i.pos,i.end))return i.end<t.pos&&o.skipToEndOf(i),s;if(0===i.getFullWidth())return s;for(;o.isOnToken();){if((S=o.readTokenInfo(a)).token.end>y){S.token.pos>y&&o.skipToStartOf(i);break}L(S,a,l,a)}if(!o.isOnToken())return s;if(e.isToken(i)){var S=o.readTokenInfo(i);if(11!==i.kind)return e.Debug.assert(S.token.end===i.end,"Token end is child end"),L(S,a,l,i),s}var x=160===i.kind?h:p,A=function(e,t,r,a,i,o){var s=n.SmartIndenter.shouldIndentChildNode(g,e)?g.indentSize:0;return o===t?{indentation:t===_?b:i.getIndentation(),delta:Math.min(g.indentSize,i.getDelta(e)+s)}:-1===r?20===e.kind&&t===_?{indentation:b,delta:i.getDelta(e)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(a,e,t,u)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(a,e,t,u)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:r,delta:s}}(i,h,T,a,l,x);if(r(i,v,h,E,A.indentation,A.delta),11===i.kind){var D={pos:i.getStart(),end:i.getEnd()};if(D.pos!==D.end){var C=c.getChildren(u),I=C[e.findIndex(C,(function(e){return e.pos===i.pos}))-1];if(I&&u.getLineAndCharacterOfPosition(D.end).line!==u.getLineAndCharacterOfPosition(I.end).line){var N=u.getLineAndCharacterOfPosition(D.pos).line===u.getLineAndCharacterOfPosition(I.end).line;R(D,A.indentation,N,!1,!0)}}}return v=a,m&&196===c.kind&&-1===s&&(s=A.indentation),s}function L(n,r,a,i,s){e.Debug.assert(e.rangeContainsRange(r,n.token));var c=o.lastTrailingTriviaWasNewLine(),p=!1;n.leadingTrivia&&D(n.leadingTrivia,r,v,a);var f=0,m=e.rangeContainsRange(t,n.token),g=u.getLineAndCharacterOfPosition(n.token.pos);if(m){var y=l(n.token),h=d;if(f=C(n.token,g,r,v,a),!y)if(0===f){var E=h&&u.getLineAndCharacterOfPosition(h.end).line;p=c&&g.line!==E}else p=1===f}if(n.trailingTrivia&&D(n.trailingTrivia,r,v,a),p){var T=m&&!l(n.token)?a.getIndentationForToken(g.line,n.token.kind,i,!!s):-1,S=!0;if(n.leadingTrivia){var L=a.getIndentationForComment(n.token.kind,T,i);S=A(n.leadingTrivia,L,S,(function(e){return N(e.pos,L,!1)}))}-1!==T&&S&&(N(n.token.pos,T,1===f),_=g.line,b=T)}o.advance(),v=r}}(r,r,T,S,a,i)}if(!o.isOnToken()){var L=o.getCurrentLeadingTrivia();L&&(A(L,a,!1,(function(e){return C(e,u.getLineAndCharacterOfPosition(e.pos),r,r,void 0)})),!1!==g.trimTrailingWhitespace&&function(){var e=d?d.end:t.pos,n=u.getLineAndCharacterOfPosition(e).line,r=u.getLineAndCharacterOfPosition(t.end).line;k(n,r+1,d)}())}return E;function x(t,r,a,i){return{getIndentationForComment:function(e,n,t){switch(e){case 19:case 23:case 21:return a+o(t)}return-1!==n?n:a},getIndentationForToken:function(n,i,s,c){return!c&&function(n,a,i){switch(a){case 18:case 19:case 21:case 90:case 114:case 59:return!1;case 43:case 31:switch(i.kind){case 272:case 273:case 271:return!1}break;case 22:case 23:if(189!==i.kind)return!1}return r!==n&&!(t.decorators&&a===function(n){if(n.modifiers&&n.modifiers.length)return n.modifiers[0].kind;switch(n.kind){case 249:return 83;case 250:return 117;case 248:return 97;case 252:return 252;case 166:return 134;case 167:return 145;case 164:if(n.asteriskToken)return 41;case 162:case 159:var t=e.getNameOfDeclaration(n);if(t)return t.kind}}(t))}(n,i,s)?a+o(s):a},getIndentation:function(){return a},getDelta:o,recomputeIndentation:function(e,r){n.SmartIndenter.shouldIndentChildNode(g,r,t,u)&&(a+=e?g.indentSize:-g.indentSize,i=n.SmartIndenter.shouldIndentChildNode(g,t)?g.indentSize:0)}};function o(e){return n.SmartIndenter.nodeWillIndentChild(g,t,e,u,!0)?i:0}}function A(n,r,a,i){for(var o=0,s=n;o<s.length;o++){var c=s[o],l=e.rangeContainsRange(t,c);switch(c.kind){case 3:l&&R(c,r,!a),a=!1;break;case 2:a&&l&&i(c),a=!1;break;case 4:a=!0}}return a}function D(n,r,a,i){for(var o=0,s=n;o<s.length;o++){var c=s[o];if(e.isComment(c.kind)&&e.rangeContainsRange(t,c))C(c,u.getLineAndCharacterOfPosition(c.pos),r,a,i)}}function C(e,n,r,a,i){var o=0;l(e)||(d?o=I(e,n.line,r,d,m,p,a,i):k(u.getLineAndCharacterOfPosition(t.pos).line,n.line));return d=e,p=r,m=n.line,o}function I(n,t,r,a,i,o,s,c){v.updateContext(a,o,n,r,s);var l=y(v),d=!1!==v.options.trimTrailingWhitespace,p=0;return l?e.forEachRight(l,(function(o){switch(p=function(n,t,r,a,i){var o=i!==r;switch(n.action){case 1:return 0;case 16:if(t.end!==a.pos)return P(t.end,a.pos-t.end),o?2:0;break;case 32:P(t.pos,t.end-t.pos);break;case 8:if(1!==n.flags&&r!==i)return 0;if(1!==i-r)return M(t.end,a.pos-t.end,e.getNewLineOrDefaultFromHost(h,g)),o?0:1;break;case 4:if(1!==n.flags&&r!==i)return 0;if(1!==a.pos-t.end||32!==u.text.charCodeAt(t.end))return M(t.end,a.pos-t.end," "),o?2:0;break;case 64:s=t.end,(c=";")&&E.push(e.createTextChangeFromStartLength(s,0,c))}var s,c;return 0}(o,a,i,n,t)){case 2:r.getStart(u)===n.pos&&c.recomputeIndentation(!1,s);break;case 1:r.getStart(u)===n.pos&&c.recomputeIndentation(!0,s);break;default:e.Debug.assert(0===p)}d=d&&!(16&o.action)&&1!==o.flags})):d=d&&1!==n.kind,t!==i&&d&&k(i,t,a),p}function N(n,t,r){var a=f(t,g);if(r)M(n,0,a);else{var i=u.getLineAndCharacterOfPosition(n),o=e.getStartPositionOfLine(i.line,u);(t!==function(e,n){for(var t=0,r=0;r<n;r++)9===u.text.charCodeAt(e+r)?t+=g.tabSize-t%g.tabSize:t++;return t}(o,i.character)||function(e,n){return e!==u.text.substr(n,e.length)}(a,o))&&M(o,i.character,a)}}function R(t,r,a,i,o){void 0===i&&(i=!0);var s=u.getLineAndCharacterOfPosition(t.pos).line,c=u.getLineAndCharacterOfPosition(t.end).line;if(s!==c){for(var l=[],d=t.pos,p=s;p<c;p++){var m=e.getEndLinePosition(p,u);l.push({pos:d,end:m}),d=e.getStartPositionOfLine(p+1,u)}if(i&&l.push({pos:d,end:t.end}),0!==l.length){var _=e.getStartPositionOfLine(s,u),y=n.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(_,l[0].pos,u,g),h=0;a&&(h=1,s++);for(var v=r-y.column,b=h;b<l.length;b++,s++){var E=e.getStartPositionOfLine(s,u),T=0===b?y:n.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(l[b].pos,l[b].end,u,g);if(o){if(e.isLineBreak(u.text.charCodeAt(e.getStartPositionOfLine(s,u))))continue;v=r-T.column}var S=T.column+v;if(S>0){var L=f(S,g);M(E,T.character,L)}else P(E,T.character)}}}else a||N(t.pos,r,!1)}function k(n,t,r){for(var a=n;a<t;a++){var i=e.getStartPositionOfLine(a,u),o=e.getEndLinePosition(a,u);if(!(r&&(e.isComment(r.kind)||e.isStringOrRegularExpressionOrTemplateLiteral(r.kind))&&r.pos<=o&&r.end>o)){var s=O(i,o);-1!==s&&(e.Debug.assert(s===i||!e.isWhiteSpaceSingleLine(u.text.charCodeAt(s-1))),P(s,o+1-s))}}}function O(n,t){for(var r=t;r>=n&&e.isWhiteSpaceSingleLine(u.text.charCodeAt(r));)r--;return r!==t?r+1:-1}function P(n,t){t&&E.push(e.createTextChangeFromStartLength(n,t,""))}function M(n,t,r){(t||r)&&E.push(e.createTextChangeFromStartLength(n,t,r))}}function f(n,t){if((!a||a.tabSize!==t.tabSize||a.indentSize!==t.indentSize)&&(a={tabSize:t.tabSize,indentSize:t.indentSize},i=o=void 0),t.convertTabsToSpaces){var r=void 0,s=Math.floor(n/t.indentSize),c=n%t.indentSize;return o||(o=[]),void 0===o[s]?(r=e.repeatString(" ",t.indentSize*s),o[s]=r):r=o[s],c?r+e.repeatString(" ",c):r}var l=Math.floor(n/t.tabSize),u=n-l*t.tabSize,d=void 0;return i||(i=[]),void 0===i[l]?i[l]=d=e.repeatString("\t",l):d=i[l],u?d+e.repeatString(" ",u):d}n.createTextRangeWithKind=function(n,t,r){var a={pos:n,end:t,kind:r};return e.Debug.isDebugging&&Object.defineProperty(a,"__debugKind",{get:function(){return e.Debug.formatSyntaxKind(r)}}),a},function(e){e[e.Unknown=-1]="Unknown"}(t||(t={})),n.formatOnEnter=function(n,t,r){var a=t.getLineAndCharacterOfPosition(n).line;if(0===a)return[];for(var i=e.getEndLinePosition(a,t);e.isWhiteSpaceSingleLine(t.text.charCodeAt(i));)i--;return e.isLineBreak(t.text.charCodeAt(i))&&i--,d({pos:e.getStartPositionOfLine(a-1,t),end:i+1},t,r,2)},n.formatOnSemicolon=function(e,n,t){return u(c(s(e,26,n)),n,t,3)},n.formatOnOpeningCurly=function(n,t,r){var a=s(n,18,t);if(!a)return[];var i=c(a.parent);return d({pos:e.getLineStartPositionForPosition(i.getStart(t),t),end:n},t,r,4)},n.formatOnClosingCurly=function(e,n,t){return u(c(s(e,19,n)),n,t,5)},n.formatDocument=function(e,n){return d({pos:0,end:e.text.length},e,n,0)},n.formatSelection=function(n,t,r,a){return d({pos:e.getLineStartPositionForPosition(n,r),end:t},r,a,1)},n.formatNodeGivenIndentation=function(e,t,r,a,i,o){var s={pos:0,end:t.text.length};return n.getFormattingScanner(t.text,r,s.pos,s.end,(function(n){return p(s,e,a,i,n,o,1,(function(e){return!1}),t)}))},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(r||(r={})),n.getRangeOfEnclosingComment=function(n,t,r,a){void 0===a&&(a=e.getTokenAtPosition(n,t));var i=e.findAncestor(a,e.isJSDoc);if(i&&(a=i.parent),!(a.getStart(n)<=t&&t<a.getEnd())){var o=(r=null===r?void 0:void 0===r?e.findPrecedingToken(t,n):r)&&e.getTrailingCommentRanges(n.text,r.end),s=e.getLeadingCommentRangesOfNode(a,n),c=e.concatenate(o,s);return c&&e.find(c,(function(r){return e.rangeContainsPositionExclusive(r,t)||t===r.end&&(2===r.kind||t===n.getFullWidth())}))}},n.getIndentationString=f}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){!function(t){var r,a;function i(e){return e.baseIndentSize||0}function o(e,n,t,r,a,o,l){for(var u=e.parent;u;){var f=!0;if(t){var m=e.getStart(a);f=m<t.pos||m>t.end}var _=s(u,e,a),y=_.line===n.line||p(u,e,n.line,a);if(f){var h=g(e,a,l,!y);if(-1!==h)return h+r;if(-1!==(h=c(e,u,n,y,a,l)))return h+r}T(l,u,e,a,o)&&!y&&(r+=l.indentSize);var v=d(u,e,n.line,a);u=(e=u).parent,n=v?a.getLineAndCharacterOfPosition(e.getStart(a)):_}return r+i(l)}function s(e,n,t){var r=f(n,t),a=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(a)}function c(n,t,r,a,i,o){return(e.isDeclaration(n)||e.isStatementButNotDeclaration(n))&&(294===t.kind||!a)?h(r,i,o):-1}function l(n,t,r,a){var i=e.findNextToken(n,t,a);return i?18===i.kind?1:19===i.kind&&r===u(i,a).line?2:0:0}function u(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function d(n,t,r,a){if(!e.isCallExpression(n)||!e.contains(n.arguments,t))return!1;var i=n.expression.getEnd();return e.getLineAndCharacterOfPosition(a,i).line===r}function p(n,t,r,a){if(231===n.kind&&n.elseStatement===t){var i=e.findChildOfKind(n,90,a);return e.Debug.assert(void 0!==i),u(i,a).line===r}return!1}function f(e,n){return e.parent&&m(e.getStart(n),e.getEnd(),e.parent,n)}function m(n,t,r,a){switch(r.kind){case 172:return i(r.typeArguments);case 197:return i(r.properties);case 196:return i(r.elements);case 176:return i(r.members);case 248:case 205:case 206:case 164:case 163:case 168:case 165:case 174:case 169:return i(r.typeParameters)||i(r.parameters);case 249:case 218:case 250:case 251:case 326:return i(r.typeParameters);case 201:case 200:return i(r.typeArguments)||i(r.arguments);case 247:return i(r.declarations);case 261:case 265:return i(r.elements);case 193:case 194:return i(r.elements)}function i(i){return i&&e.rangeContainsStartEnd(function(e,n,t){for(var r=e.getChildren(t),a=1;a<r.length-1;a++)if(r[a].pos===n.pos&&r[a].end===n.end)return{pos:r[a-1].end,end:r[a+1].getStart(t)};return n}(r,i,a),n,t)?i:void 0}}function _(e,n,t){return e?h(n.getLineAndCharacterOfPosition(e.pos),n,t):-1}function g(e,n,t,r){if(e.parent&&247===e.parent.kind)return-1;var a=f(e,n);if(a){var i=a.indexOf(e);if(-1!==i){var o=y(a,i,n,t);if(-1!==o)return o}return _(a,n,t)+(r?t.indentSize:0)}return-1}function y(n,t,r,a){e.Debug.assert(t>=0&&t<n.length);for(var i=u(n[t],r),o=t-1;o>=0;o--)if(27!==n[o].kind){if(r.getLineAndCharacterOfPosition(n[o].end).line!==i.line)return h(i,r,a);i=u(n[o],r)}return-1}function h(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return b(r,r+e.character,n,t)}function v(n,t,r,a){for(var i=0,o=0,s=n;s<t;s++){var c=r.text.charCodeAt(s);if(!e.isWhiteSpaceSingleLine(c))break;9===c?o+=a.tabSize+o%a.tabSize:o++,i++}return{column:o,character:i}}function b(e,n,t,r){return v(e,n,t,r).column}function E(n,t,r,a,i){var o=r?r.kind:0;switch(t.kind){case 230:case 249:case 218:case 250:case 252:case 251:case 196:case 227:case 254:case 197:case 176:case 189:case 178:case 255:case 282:case 281:case 204:case 198:case 200:case 201:case 229:case 263:case 239:case 214:case 194:case 193:case 272:case 275:case 271:case 280:case 163:case 168:case 169:case 159:case 173:case 174:case 185:case 202:case 210:case 265:case 261:case 267:case 262:case 162:return!0;case 246:case 285:case 213:if(!n.indentMultiLineObjectLiteralBeginningOnBlankLine&&a&&197===o)return function(n,t){var r=e.skipTrivia(n.text,t.pos),a=n.getLineAndCharacterOfPosition(r).line,i=n.getLineAndCharacterOfPosition(t.end).line;return a===i}(a,r);if(213!==t.kind)return!0;break;case 232:case 233:case 235:case 236:case 234:case 231:case 248:case 205:case 164:case 206:case 165:case 166:case 167:return 227!==o;case 264:return 265!==o;case 258:return 259!==o||!!r.namedBindings&&261!==r.namedBindings.kind;case 270:return 273!==o;case 274:return 276!==o;case 182:case 181:if(176===o||178===o)return!1}return i}function T(e,n,t,r,a){return void 0===a&&(a=!1),E(e,n,t,r,!1)&&!(a&&t&&function(e,n){switch(e){case 239:case 243:case 237:case 238:return 227!==n.kind;default:return!1}}(t.kind,n))}!function(e){e[e.Unknown=-1]="Unknown"}(r||(r={})),t.getIndentation=function(t,r,a,s){if(void 0===s&&(s=!1),t>r.text.length)return i(a);if(a.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(t,r,void 0,!0),d=n.getRangeOfEnclosingComment(r,t,c||null);if(d&&3===d.kind)return function(n,t,r,a){var i=e.getLineAndCharacterOfPosition(n,t).line-1,o=e.getLineAndCharacterOfPosition(n,a.pos).line;if(e.Debug.assert(o>=0),i<=o)return b(e.getStartPositionOfLine(o,n),t,n,r);var s=e.getStartPositionOfLine(i,n),c=v(s,t,n,r),l=c.column,u=c.character;if(0===l)return l;return 42===n.text.charCodeAt(s+u)?l-1:l}(r,t,a,d);if(!c)return i(a);if(e.isStringOrRegularExpressionOrTemplateLiteral(c.kind)&&c.getStart(r)<=t&&t<c.end)return 0;var p=r.getLineAndCharacterOfPosition(t).line;if(a.indentStyle===e.IndentStyle.Block)return function(n,t,r){var a=t;for(;a>0;){var i=n.text.charCodeAt(a);if(!e.isWhiteSpaceLike(i))break;a--}return b(e.getLineStartPositionForPosition(a,n),a,n,r)}(r,t,a);if(27===c.kind&&213!==c.parent.kind){var f=function(n,t,r){var a=e.findListItemInfo(n);return a&&a.listItemIndex>0?y(a.list.getChildren(),a.listItemIndex-1,t,r):-1}(c,r,a);if(-1!==f)return f}var h=function(e,n,t){return n&&m(e,e,n,t)}(t,c.parent,r);return h&&!e.rangeContainsRange(h,c)?_(h,r,a)+a.indentSize:function(n,t,r,a,s,c){var d,p=r;for(;p;){if(e.positionBelongsToNode(p,t,n)&&T(c,p,d,n,!0)){var f=u(p,n),m=l(r,p,a,n),_=0!==m?s&&2===m?c.indentSize:0:a!==f.line?c.indentSize:0;return o(p,f,void 0,_,n,!0,c)}var y=g(p,n,c,!0);if(-1!==y)return y;d=p,p=p.parent}return i(c)}(r,t,c,p,s,a)},t.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return o(e,a,n,0,t,!1,r)},t.getBaseIndentation=i,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(a||(a={})),t.isArgumentAndStartLineOverlapsExpressionBeingCalled=d,t.childStartsOnTheSameLineWithElseInIfStatement=p,t.argumentStartsOnSameLineAsPreviousArgument=function(n,t,r,a){if(e.isCallOrNewExpression(n)){if(!n.arguments)return!1;var i=e.find(n.arguments,(function(e){return e.pos===t.pos}));if(!i)return!1;var o=n.arguments.indexOf(i);if(0===o)return!1;var s=n.arguments[o-1];if(r===e.getLineAndCharacterOfPosition(a,s.getEnd()).line)return!0}return!1},t.getContainingList=f,t.findFirstNonWhitespaceCharacterAndColumn=v,t.findFirstNonWhitespaceColumn=b,t.nodeWillIndentChild=E,t.shouldIndentChildNode=T}(n.SmartIndenter||(n.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(n){function t(n){var t=n.__pos;return e.Debug.assert("number"==typeof t),t}function r(n,t){e.Debug.assert("number"==typeof t),n.__pos=t}function a(n){var t=n.__end;return e.Debug.assert("number"==typeof t),t}function i(n,t){e.Debug.assert("number"==typeof t),n.__end=t}var c,l;function u(n,t){return e.skipTrivia(n,t,!1,!0)}!function(e){e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine"}(c=n.LeadingTriviaOption||(n.LeadingTriviaOption={})),function(e){e[e.Exclude=0]="Exclude",e[e.Include=1]="Include"}(l=n.TrailingTriviaOption||(n.TrailingTriviaOption={}));var d,p={leadingTriviaOption:c.Exclude,trailingTriviaOption:l.Exclude};function f(e,n,t,r){return{pos:m(e,n,r),end:_(e,t,r)}}function m(n,t,r){var a=r.leadingTriviaOption;if(a===c.Exclude)return t.getStart(n);if(a===c.StartLine)return e.getLineStartPositionForPosition(t.getStart(n),n);if(a===c.JSDoc){var i=e.getJSDocCommentRanges(t,n.text);if(null==i?void 0:i.length)return e.getLineStartPositionForPosition(i[0].pos,n)}var o=t.getFullStart(),s=t.getStart(n);if(o===s)return s;var l=e.getLineStartPositionForPosition(o,n);if(e.getLineStartPositionForPosition(s,n)===l)return a===c.IncludeAll?o:s;var d=o>0?1:0,p=e.getStartPositionOfLine(e.getLineOfLocalPosition(n,l)+d,n);return p=u(n.text,p),e.getStartPositionOfLine(e.getLineOfLocalPosition(n,p),n)}function _(n,t,r){var a=t.end,i=r.trailingTriviaOption;if(i===l.Exclude||e.isExpression(t)&&i!==l.Include)return a;var o=e.skipTrivia(n.text,a,!0);return o===a||i!==l.Include&&!e.isLineBreak(n.text.charCodeAt(o-1))?a:o}function g(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&197===e.parent.kind)}!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(d||(d={})),n.isThisTypeAnnotatable=function(n){return e.isFunctionExpression(n)||e.isFunctionDeclaration(n)};var y,h,v=function(){function n(n,t){this.newLineCharacter=n,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return n.fromContext=function(t){return new n(e.getNewLineOrDefaultFromHost(t.host,t.formatContext.options),t.formatContext)},n.with=function(e,t){var r=n.fromContext(e);return t(r),r.getChanges()},n.prototype.pushRaw=function(n,t){e.Debug.assertEqual(n.fileName,t.fileName);for(var r=0,a=t.textChanges;r<a.length;r++){var i=a[r];this.changes.push({kind:d.Text,sourceFile:n,text:i.newText,range:e.createTextRangeFromSpan(i.span)})}},n.prototype.deleteRange=function(e,n){this.changes.push({kind:d.Remove,sourceFile:e,range:n})},n.prototype.delete=function(e,n){this.deletedNodes.push({sourceFile:e,node:n})},n.prototype.deleteNode=function(e,n,t){void 0===t&&(t={leadingTriviaOption:c.IncludeAll}),this.deleteRange(e,f(e,n,n,t))},n.prototype.deleteModifier=function(n,t){this.deleteRange(n,{pos:t.getStart(n),end:e.skipTrivia(n.text,t.end,!0)})},n.prototype.deleteNodeRange=function(e,n,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});var a=m(e,n,r),i=_(e,t,r);this.deleteRange(e,{pos:a,end:i})},n.prototype.deleteNodeRangeExcludingEnd=function(e,n,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});var a=m(e,n,r),i=void 0===t?e.text.length:m(e,t,r);this.deleteRange(e,{pos:a,end:i})},n.prototype.replaceRange=function(e,n,t,r){void 0===r&&(r={}),this.changes.push({kind:d.ReplaceWithSingleNode,sourceFile:e,range:n,options:r,node:t})},n.prototype.replaceNode=function(e,n,t,r){void 0===r&&(r=p),this.replaceRange(e,f(e,n,n,r),t,r)},n.prototype.replaceNodeRange=function(e,n,t,r,a){void 0===a&&(a=p),this.replaceRange(e,f(e,n,t,a),r,a)},n.prototype.replaceRangeWithNodes=function(e,n,t,r){void 0===r&&(r={}),this.changes.push({kind:d.ReplaceWithMultipleNodes,sourceFile:e,range:n,options:r,nodes:t})},n.prototype.replaceNodeWithNodes=function(e,n,t,r){void 0===r&&(r=p),this.replaceRangeWithNodes(e,f(e,n,n,r),t,r)},n.prototype.replaceNodeWithText=function(e,n,t){this.replaceRangeWithText(e,f(e,n,n,p),t)},n.prototype.replaceNodeRangeWithNodes=function(e,n,t,r,a){void 0===a&&(a=p),this.replaceRangeWithNodes(e,f(e,n,t,a),r,a)},n.prototype.nextCommaToken=function(n,t){var r=e.findNextToken(t,t.parent,n);return r&&27===r.kind?r:void 0},n.prototype.replacePropertyAssignment=function(e,n,t){var r=this.nextCommaToken(e,n)?"":","+this.newLineCharacter;this.replaceNode(e,n,t,{suffix:r})},n.prototype.insertNodeAt=function(n,t,r,a){void 0===a&&(a={}),this.replaceRange(n,e.createRange(t),r,a)},n.prototype.insertNodesAt=function(n,t,r,a){void 0===a&&(a={}),this.replaceRangeWithNodes(n,e.createRange(t),r,a)},n.prototype.insertNodeAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},n.prototype.insertNodesAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},n.prototype.insertAtTopOfFile=function(n,t,r){var a=function(n){for(var t,r=0,a=n.statements;r<a.length;r++){var i=a[r];if(!e.isPrologueDirective(i))break;t=i}var o=0,s=n.text;if(t)return o=t.end,h(),o;var c=e.getShebang(s);void 0!==c&&(o=c.length,h());var l,u,d=e.getLeadingCommentRanges(s,o);if(!d)return o;for(var p=0,f=d;p<f.length;p++){var m=f[p];if(3===m.kind){if(e.isPinnedComment(s,m.pos)){l={range:m,pinnedOrTripleSlash:!0};continue}}else if(e.isRecognizedTripleSlashComment(s,m.pos,m.end)){l={range:m,pinnedOrTripleSlash:!0};continue}if(l){if(l.pinnedOrTripleSlash)break;var _=n.getLineAndCharacterOfPosition(m.pos).line,g=n.getLineAndCharacterOfPosition(l.range.end).line;if(_>=g+2)break}if(n.statements.length){void 0===u&&(u=n.getLineAndCharacterOfPosition(n.statements[0].getStart()).line);var y=n.getLineAndCharacterOfPosition(m.end).line;if(u<y+2)break}l={range:m,pinnedOrTripleSlash:!1}}l&&(o=l.range.end,h());return o;function h(){if(o<s.length){var n=s.charCodeAt(o);e.isLineBreak(n)&&++o<s.length&&13===n&&10===s.charCodeAt(o)&&o++}}}(n),i={prefix:0===a?void 0:this.newLineCharacter,suffix:(e.isLineBreak(n.text.charCodeAt(a))?"":this.newLineCharacter)+(r?this.newLineCharacter:"")};e.isArray(t)?this.insertNodesAt(n,a,t,i):this.insertNodeAt(n,a,t,i)},n.prototype.insertFirstParameter=function(n,t,r){var a=e.firstOrUndefined(t);a?this.insertNodeBefore(n,a,r):this.insertNodeAt(n,t.pos,r)},n.prototype.insertNodeBefore=function(e,n,t,r,a){void 0===r&&(r=!1),void 0===a&&(a={}),this.insertNodeAt(e,m(e,n,a),t,this.getOptionsForInsertNodeBefore(n,t,r))},n.prototype.insertModifierBefore=function(n,t,r){var a=r.getStart(n);this.insertNodeAt(n,a,e.factory.createToken(t),{suffix:" "})},n.prototype.insertLastModifierBefore=function(n,t,r){if(r.modifiers){var a=r.modifiers.end;this.insertNodeAt(n,a,e.factory.createToken(t),{prefix:" "})}else this.insertModifierBefore(n,t,r)},n.prototype.insertCommentBeforeLine=function(n,t,r,a){var i=e.getStartPositionOfLine(t,n),o=e.getFirstNonSpaceCharacterPosition(n.text,i),s=x(n,o),c=e.getTouchingToken(n,s?o:r),l=n.text.slice(i,o),u=(s?"":this.newLineCharacter)+"//"+a+this.newLineCharacter+l;this.insertText(n,c.getStart(n),u)},n.prototype.insertJsdocCommentBefore=function(n,t,r){var a=t.getStart(n);if(t.jsDoc)for(var i=0,o=t.jsDoc;i<o.length;i++){var s=o[i];this.deleteRange(n,{pos:e.getLineStartPositionForPosition(s.getStart(n),n),end:_(n,s,{})})}var c=e.getPrecedingNonSpaceCharacterPosition(n.text,a-1),l=n.text.slice(c,a);this.insertNodeAt(n,a,r,{preserveLeadingWhitespace:!1,suffix:this.newLineCharacter+l})},n.prototype.replaceRangeWithText=function(e,n,t){this.changes.push({kind:d.Text,sourceFile:e,range:n,text:t})},n.prototype.insertText=function(n,t,r){this.replaceRangeWithText(n,e.createRange(t),r)},n.prototype.tryInsertTypeAnnotation=function(n,t,r){var a,i;if(e.isFunctionLike(t)){if(!(i=e.findChildOfKind(t,21,n))){if(!e.isArrowFunction(t))return!1;i=e.first(t.parameters)}}else i=null!==(a=246===t.kind?t.exclamationToken:t.questionToken)&&void 0!==a?a:t.name;return this.insertNodeAt(n,i.end,r,{prefix:": "}),!0},n.prototype.tryInsertThisTypeAnnotation=function(n,t,r){var a=e.findChildOfKind(t,20,n).getStart(n)+1,i=t.parameters.length?", ":"";this.insertNodeAt(n,a,r,{prefix:"this: ",suffix:i})},n.prototype.insertTypeParameters=function(n,t,r){var a=(e.findChildOfKind(t,20,n)||e.first(t.parameters)).getStart(n);this.insertNodesAt(n,a,r,{prefix:"<",suffix:">",joiner:", "})},n.prototype.getOptionsForInsertNodeBefore=function(n,t,r){return e.isStatement(n)||e.isClassElement(n)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(n)?{suffix:", "}:e.isParameter(n)?e.isParameter(t)?{suffix:", "}:{}:e.isStringLiteral(n)&&e.isImportDeclaration(n.parent)||e.isNamedImports(n)?{suffix:", "}:e.isImportSpecifier(n)?{suffix:","+(r?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(n)},n.prototype.insertNodeAtConstructorStart=function(n,t,r){var a=e.firstOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeBefore(n,a,r):this.replaceConstructorBody(n,t,o([r],t.body.statements))},n.prototype.insertNodeAtConstructorEnd=function(n,t,r){var a=e.lastOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,o(t.body.statements,[r]))},n.prototype.replaceConstructorBody=function(n,t,r){this.replaceNode(n,t.body,e.factory.createBlock(r,!0))},n.prototype.insertNodeAtEndOfScope=function(n,t,r){var a=m(n,t.getLastToken(),{});this.insertNodeAt(n,a,r,{prefix:e.isLineBreak(n.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtStartWorker=function(e,n,t){var r,a=null!==(r=this.guessIndentationFromExistingMembers(e,n))&&void 0!==r?r:this.computeIndentationForNewMember(e,n);this.insertNodeAt(e,E(n).pos,t,this.getInsertNodeAtStartInsertOptions(e,n,a))},n.prototype.guessIndentationFromExistingMembers=function(n,t){for(var r,a=t,i=0,o=E(t);i<o.length;i++){var s=o[i];if(e.rangeStartPositionsAreOnSameLine(a,s,n))return;var c=s.getStart(n),l=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(c,n),c,n,this.formatContext.options);if(void 0===r)r=l;else if(l!==r)return;a=s}return r},n.prototype.computeIndentationForNewMember=function(n,t){var r,a=t.getStart(n);return e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(a,n),a,n,this.formatContext.options)+(null!==(r=this.formatContext.options.indentSize)&&void 0!==r?r:4)},n.prototype.getInsertNodeAtStartInsertOptions=function(n,t,r){var a=0===E(t).length,i=e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(t),{node:t,sourceFile:n}),o=e.isObjectLiteralExpression(t)&&(!e.isJsonSourceFile(n)||!a);return{indentation:r,prefix:(e.isObjectLiteralExpression(t)&&e.isJsonSourceFile(n)&&a&&!i?",":"")+this.newLineCharacter,suffix:o?",":""}},n.prototype.insertNodeAfterComma=function(e,n,t){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},n.prototype.insertNodesAfter=function(n,t,r){var a=this.insertNodeAfterWorker(n,t,e.first(r));this.insertNodesAt(n,a,r,this.getInsertNodeAfterOptions(n,t))},n.prototype.insertNodeAfterWorker=function(n,t,r){var a,i;return a=t,i=r,((e.isPropertySignature(a)||e.isPropertyDeclaration(a))&&e.isClassOrTypeElement(i)&&157===i.name.kind||e.isStatementButNotDeclaration(a)&&e.isStatementButNotDeclaration(i))&&59!==n.text.charCodeAt(t.end-1)&&this.replaceRange(n,e.createRange(t.end),e.factory.createToken(26)),_(n,t,{})},n.prototype.getInsertNodeAfterOptions=function(n,t){var r=this.getInsertNodeAfterOptionsWorker(t);return s(s({},r),{prefix:t.end===n.end&&e.isStatement(t)?r.prefix?"\n"+r.prefix:"\n":r.prefix})},n.prototype.getInsertNodeAfterOptionsWorker=function(n){switch(n.kind){case 249:case 253:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 246:case 10:case 78:return{prefix:", "};case 285:return{suffix:","+this.newLineCharacter};case 92:return{prefix:" "};case 159:return{};default:return e.Debug.assert(e.isStatement(n)||e.isClassOrTypeElement(n)),{suffix:this.newLineCharacter}}},n.prototype.insertName=function(n,t,r){if(e.Debug.assert(!t.name),206===t.kind){var a=e.findChildOfKind(t,38,n),i=e.findChildOfKind(t,20,n);i?(this.insertNodesAt(n,i.getStart(n),[e.factory.createToken(97),e.factory.createIdentifier(r)],{joiner:" "}),A(this,n,a)):(this.insertText(n,e.first(t.parameters).getStart(n),"function "+r+"("),this.replaceRange(n,a,e.factory.createToken(21))),227!==t.body.kind&&(this.insertNodesAt(n,t.body.getStart(n),[e.factory.createToken(18),e.factory.createToken(104)],{joiner:" ",suffix:" "}),this.insertNodesAt(n,t.body.end,[e.factory.createToken(26),e.factory.createToken(19)],{joiner:" "}))}else{var o=e.findChildOfKind(t,205===t.kind?97:83,n).end;this.insertNodeAt(n,o,e.factory.createIdentifier(r),{prefix:" "})}},n.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},n.prototype.insertNodeInListAfter=function(n,t,r,a){if(void 0===a&&(a=e.formatting.SmartIndenter.getContainingList(t,n)),a){var i=e.indexOfNode(a,t);if(!(i<0)){var o=t.getEnd();if(i!==a.length-1){var s=e.getTokenAtPosition(n,t.end);if(s&&g(t,s)){var c=e.getLineAndCharacterOfPosition(n,u(n.text,a[i+1].getFullStart())),l=e.getLineAndCharacterOfPosition(n,s.end),d=void 0,p=void 0;l.line===c.line?(p=s.end,d=function(e){for(var n="",t=0;t<e;t++)n+=" ";return n}(c.character-l.character)):p=e.getStartPositionOfLine(c.line,n);var f=""+e.tokenToString(s.kind)+n.text.substring(s.end,a[i+1].getStart(n));this.replaceRange(n,e.createRange(p,a[i+1].getStart(n)),r,{prefix:d,suffix:f})}}else{var m=t.getStart(n),_=e.getLineStartPositionForPosition(m,n),y=void 0,h=!1;if(1===a.length)y=27;else{var v=e.findPrecedingToken(t.pos,n);y=g(t,v)?v.kind:27,h=e.getLineStartPositionForPosition(a[i-1].getStart(n),n)!==_}if(function(n,t){for(var r=t;r<n.length;){var a=n.charCodeAt(r);if(!e.isWhiteSpaceSingleLine(a))return 47===a;r++}return!1}(n.text,t.end)&&(h=!0),h){this.replaceRange(n,e.createRange(o),e.factory.createToken(y));for(var b=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(_,m,n,this.formatContext.options),E=e.skipTrivia(n.text,o,!0,!1);E!==o&&e.isLineBreak(n.text.charCodeAt(E-1));)E--;this.replaceRange(n,e.createRange(E),r,{indentation:b,prefix:this.newLineCharacter})}else this.replaceRange(n,e.createRange(o),r,{prefix:e.tokenToString(y)+" "})}}}else e.Debug.fail("node is not a list element")},n.prototype.parenthesizeExpression=function(n,t){this.replaceRange(n,e.rangeOfNode(t),e.factory.createParenthesizedExpression(t))},n.prototype.finishClassesWithNodesInsertedAtStart=function(){var n=this;this.classesWithNodesInsertedAtStart.forEach((function(t){var r=t.node,a=t.sourceFile,i=function(n,t){var r=e.findChildOfKind(n,18,t),a=e.findChildOfKind(n,19,t);return[null==r?void 0:r.end,null==a?void 0:a.end]}(r,a),o=i[0],s=i[1];if(void 0!==o&&void 0!==s){var c=0===E(r).length,l=e.positionsAreOnSameLine(o,s,a);c&&l&&o!==s-1&&n.deleteRange(a,e.createRange(o,s-1)),l&&n.insertText(a,s-1,n.newLineCharacter)}}))},n.prototype.finishDeleteDeclarations=function(){for(var n=this,t=new e.Set,r=function(n,r){a.deletedNodes.some((function(t){return t.sourceFile===n&&e.rangeContainsRangeExclusive(t.node,r)}))||(e.isArray(r)?a.deleteRange(n,e.rangeOfTypeParameters(r)):h.deleteDeclaration(a,t,n,r))},a=this,i=0,o=this.deletedNodes;i<o.length;i++){var s=o[i];r(s.sourceFile,s.node)}t.forEach((function(r){var a=r.getSourceFile(),i=e.formatting.SmartIndenter.getContainingList(r,a);if(r===e.last(i)){var o=e.findLastIndex(i,(function(e){return!t.has(e)}),i.length-2);-1!==o&&n.deleteRange(a,{pos:i[o].end,end:b(a,i[o+1])})}}))},n.prototype.getChanges=function(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();for(var n=y.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e),t=0,r=this.newFiles;t<r.length;t++){var a=r[t],i=a.oldFile,o=a.fileName,s=a.statements;n.push(y.newFileChanges(i,o,s,this.newLineCharacter,this.formatContext))}return n},n.prototype.createNewFile=function(e,n,t){this.newFiles.push({oldFile:e,fileName:n,statements:t})},n}();function b(n,t){return e.skipTrivia(n.text,m(n,t,{leadingTriviaOption:c.IncludeAll}),!1,!0)}function E(n){return e.isObjectLiteralExpression(n)?n.properties:n.members}function T(n,t){for(var r=t.length-1;r>=0;r--){var a=t[r],i=a.span,o=a.newText;n=""+n.substring(0,i.start)+o+n.substring(e.textSpanEnd(i))}return n}function S(n){var r=e.visitEachChild(n,S,e.nullTransformationContext,L,S),i=e.nodeIsSynthesized(r)?r:Object.create(r);return e.setTextRangePosEnd(i,t(n),a(n)),i}function L(n,r,i,o,s){var c=e.visitNodes(n,r,i,o,s);if(!c)return c;var l=c===n?e.factory.createNodeArray(c.slice(0)):c;return e.setTextRangePosEnd(l,t(n),a(n)),l}function x(n,t){return!(e.isInComment(n,t)||e.isInString(n,t)||e.isInTemplateString(n,t)||e.isInJSXText(n,t))}function A(e,n,t,r){void 0===r&&(r={leadingTriviaOption:c.IncludeAll});var a=m(n,t,r),i=_(n,t,r);e.deleteRange(n,{pos:a,end:i})}function D(n,t,r,a){var i=e.Debug.checkDefined(e.formatting.SmartIndenter.getContainingList(a,r)),o=e.indexOfNode(i,a);e.Debug.assert(-1!==o),1!==i.length?(e.Debug.assert(!t.has(a),"Deleting a node twice"),t.add(a),n.deleteRange(r,{pos:b(r,a),end:o===i.length-1?_(r,a,{}):b(r,i[o+1])})):A(n,r,a)}n.ChangeTracker=v,n.getNewFileText=function(e,n,t,r){return y.newFileChangesWorker(void 0,n,e,t,r)},function(n){function t(n,t,r,i,o){var s=r.map((function(e){return 4===e?"":a(e,n,i).text})).join(i),c=e.createSourceFile("any file name",s,99,!0,t);return T(s,e.formatting.formatDocument(c,o))+i}function a(n,t,a){var o=function(n){var t=0,a=e.createTextWriter(n);function o(n,r){if(r||!function(n){return e.skipTrivia(n,0)===n.length}(n)){t=a.getTextPos();for(var i=0;e.isWhiteSpaceLike(n.charCodeAt(n.length-i-1));)i++;t-=i}}return{onEmitNode:function(e,n,a){n&&r(n,t),a(e,n),n&&i(n,t)},onBeforeEmitNodeArray:function(e){e&&r(e,t)},onAfterEmitNodeArray:function(e){e&&i(e,t)},onBeforeEmitToken:function(e){e&&r(e,t)},onAfterEmitToken:function(e){e&&i(e,t)},write:function(e){a.write(e),o(e,!1)},writeComment:function(e){a.writeComment(e)},writeKeyword:function(e){a.writeKeyword(e),o(e,!1)},writeOperator:function(e){a.writeOperator(e),o(e,!1)},writePunctuation:function(e){a.writePunctuation(e),o(e,!1)},writeTrailingSemicolon:function(e){a.writeTrailingSemicolon(e),o(e,!1)},writeParameter:function(e){a.writeParameter(e),o(e,!1)},writeProperty:function(e){a.writeProperty(e),o(e,!1)},writeSpace:function(e){a.writeSpace(e),o(e,!1)},writeStringLiteral:function(e){a.writeStringLiteral(e),o(e,!1)},writeSymbol:function(e,n){a.writeSymbol(e,n),o(e,!1)},writeLine:function(e){a.writeLine(e)},increaseIndent:function(){a.increaseIndent()},decreaseIndent:function(){a.decreaseIndent()},getText:function(){return a.getText()},rawWrite:function(e){a.rawWrite(e),o(e,!1)},writeLiteral:function(e){a.writeLiteral(e),o(e,!0)},getTextPos:function(){return a.getTextPos()},getLine:function(){return a.getLine()},getColumn:function(){return a.getColumn()},getIndent:function(){return a.getIndent()},isAtStartOfLine:function(){return a.isAtStartOfLine()},hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:function(){a.clear(),t=0}}}(a),s="\n"===a?1:0;return e.createPrinter({newLine:s,neverAsciiEscape:!0,preserveSourceNewlines:!0},o).writeNode(4,n,t,o),{text:o.getText(),node:S(n)}}n.getTextChangesFromChanges=function(n,t,r,i){return e.mapDefined(e.group(n,(function(e){return e.sourceFile.path})),(function(n){for(var o=n[0].sourceFile,c=e.stableSort(n,(function(e,n){return e.range.pos-n.range.pos||e.range.end-n.range.end})),l=function(n){e.Debug.assert(c[n].range.end<=c[n+1].range.pos,"Changes overlap",(function(){return JSON.stringify(c[n].range)+" and "+JSON.stringify(c[n+1].range)}))},u=0;u<c.length-1;u++)l(u);var p=e.mapDefined(c,(function(n){var c=e.createTextSpanFromRange(n.range),l=function(n,t,r,i,o){if(n.kind===d.Remove)return"";if(n.kind===d.Text)return n.text;var c=n.options,l=void 0===c?{}:c,u=n.range.pos,p=function(n){return function(n,t,r,i,o,c,l){var u=i.indentation,d=i.prefix,p=i.delta,f=a(n,t,o),m=f.node,_=f.text;l&&l(m,_);var g=function(n,t){var r=n.options,a=!r.semicolons||r.semicolons===e.SemicolonPreference.Ignore,i=r.semicolons===e.SemicolonPreference.Remove||a&&!e.probablyUsesSemicolons(t);return s(s({},r),{semicolons:i?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}(c,t),y=void 0!==u?u:e.formatting.SmartIndenter.getIndentation(r,t,g,d===o||e.getLineStartPositionForPosition(r,t)===r);void 0===p&&(p=e.formatting.SmartIndenter.shouldIndentChildNode(g,n)&&g.indentSize||0);var h={text:_,getLineAndCharacterOfPosition:function(n){return e.getLineAndCharacterOfPosition(this,n)}},v=e.formatting.formatNodeGivenIndentation(m,h,t.languageVariant,y,p,s(s({},c),{options:g}));return T(_,v)}(n,t,u,l,r,i,o)},f=n.kind===d.ReplaceWithMultipleNodes?n.nodes.map((function(n){return e.removeSuffix(p(n),r)})).join(n.options.joiner||r):p(n.node),m=l.preserveLeadingWhitespace||void 0!==l.indentation||e.getLineStartPositionForPosition(u,t)===u?f:f.replace(/^\s+/,"");return(l.prefix||"")+m+(!l.suffix||e.endsWith(m,l.suffix)?"":l.suffix)}(n,o,t,r,i);if(c.length!==l.length||!e.stringContainsAt(o.text,l,c.start))return e.createTextChange(c,l)}));return p.length>0?{fileName:o.fileName,textChanges:p}:void 0}))},n.newFileChanges=function(n,r,a,i,o){var s=t(n,e.getScriptKindFromFileName(r),a,i,o);return{fileName:r,textChanges:[e.createTextChange(e.createTextSpan(0,0),s)],isNewFile:!0}},n.newFileChangesWorker=t,n.getNonformattedText=a}(y||(y={})),n.applyChanges=T,n.isValidLocationToAddComment=x,function(n){function t(n,t,r){if(r.parent.name){var a=e.Debug.checkDefined(e.getTokenAtPosition(t,r.pos-1));n.deleteRange(t,{pos:a.getStart(t),end:r.end})}else{A(n,t,e.getAncestor(r,258))}}n.deleteDeclaration=function(n,r,a,i){switch(i.kind){case 159:var o=i.parent;e.isArrowFunction(o)&&1===o.parameters.length&&!e.findChildOfKind(o,20,a)?n.replaceNodeWithText(a,i,"()"):D(n,r,a,i);break;case 258:case 257:A(n,a,i,{leadingTriviaOption:a.imports.length&&i===e.first(a.imports).parent||i===e.find(a.statements,e.isAnyImportSyntax)?c.Exclude:e.hasJSDocNodes(i)?c.JSDoc:c.StartLine});break;case 195:var s=i.parent;194===s.kind&&i!==e.last(s.elements)?A(n,a,i):D(n,r,a,i);break;case 246:!function(n,t,r,a){var i=a.parent;if(284===i.kind)return void n.deleteNodeRange(r,e.findChildOfKind(i,20,r),e.findChildOfKind(i,21,r));if(1!==i.declarations.length)return void D(n,t,r,a);var o=i.parent;switch(o.kind){case 236:case 235:n.replaceNode(r,a,e.factory.createObjectLiteralExpression());break;case 234:A(n,r,i);break;case 229:A(n,r,o,{leadingTriviaOption:e.hasJSDocNodes(o)?c.JSDoc:c.StartLine});break;default:e.Debug.assertNever(o)}}(n,r,a,i);break;case 158:D(n,r,a,i);break;case 262:var u=i.parent;1===u.elements.length?t(n,a,u):D(n,r,a,i);break;case 260:t(n,a,i);break;case 26:A(n,a,i,{trailingTriviaOption:l.Exclude});break;case 97:A(n,a,i,{leadingTriviaOption:c.Exclude});break;case 249:case 248:A(n,a,i,{leadingTriviaOption:e.hasJSDocNodes(i)?c.JSDoc:c.StartLine});break;default:e.isImportClause(i.parent)&&i.parent.name===i?function(n,t,r){if(r.namedBindings){var a=r.name.getStart(t),i=e.getTokenAtPosition(t,r.name.end);if(i&&27===i.kind){var o=e.skipTrivia(t.text,i.end,!1,!0);n.deleteRange(t,{pos:a,end:o})}else A(n,t,r.name)}else A(n,t,r.parent)}(n,a,i.parent):e.isCallExpression(i.parent)&&e.contains(i.parent.arguments,i)?D(n,r,a,i):A(n,a,i)}}}(h||(h={})),n.deleteNode=A}(e.textChanges||(e.textChanges={}))}(p||(p={})),function(e){!function(n){var t=e.createMultiMap(),r=new e.Map;function a(n){return e.isArray(n)?e.formatStringFromArgs(e.getLocaleSpecificMessage(n[0]),n.slice(1)):e.getLocaleSpecificMessage(n)}function i(e,n,t,r,a,i){return{fixName:e,description:n,changes:t,fixId:r,fixAllDescription:a,commands:i?[i]:void 0}}function c(e,n){return{changes:e,commands:n}}function l(n,t,r){for(var a=0,i=d(n);a<i.length;a++){var o=i[a];e.contains(t,o.code)&&r(o)}}function d(n){var t=n.program,r=n.sourceFile,a=n.cancellationToken;return o(t.getSemanticDiagnostics(r,a),t.getSyntacticDiagnostics(r,a),e.computeSuggestionDiagnostics(r,t,a))}n.createCodeFixActionWithoutFixAll=function(e,n,t){return i(e,a(t),n,void 0,void 0)},n.createCodeFixAction=function(e,n,t,r,o,s){return i(e,a(t),n,r,a(o),s)},n.registerCodeFix=function(n){for(var a=0,i=n.errorCodes;a<i.length;a++){var o=i[a];t.add(String(o),n)}if(n.fixIds)for(var s=0,c=n.fixIds;s<c.length;s++){var l=c[s];e.Debug.assert(!r.has(l)),r.set(l,n)}},n.getSupportedErrorCodes=function(){return e.arrayFrom(t.keys())},n.getFixes=function(n){var r=d(n),a=t.get(String(n.errorCode));return e.flatMap(a,(function(t){return e.map(t.getCodeActions(n),function(n,t){for(var r=n.errorCodes,a=0,i=0,o=t;i<o.length;i++){var c=o[i];if(e.contains(r,c.code)&&a++,a>1)break}var l=a<2;return function(e){var n=e.fixId,t=e.fixAllDescription,r=u(e,["fixId","fixAllDescription"]);return l?r:s(s({},r),{fixId:n,fixAllDescription:t})}}(t,r))}))},n.getAllFixes=function(n){return r.get(e.cast(n.fixId,e.isString)).getAllCodeActions(n)},n.createCombinedCodeActions=c,n.createFileTextChanges=function(e,n){return{fileName:e,textChanges:n}},n.codeFixAll=function(n,t,r){var a=[];return c(e.textChanges.ChangeTracker.with(n,(function(e){return l(n,t,(function(n){return r(e,n,a)}))})),0===a.length?void 0:a)},n.eachDiagnostic=l}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){var n,t;n=e.refactor||(e.refactor={}),t=new e.Map,n.registerRefactor=function(e,n){t.set(e,n)},n.getApplicableRefactors=function(n){return e.arrayFrom(e.flatMapIterator(t.values(),(function(e){return n.cancellationToken&&n.cancellationToken.isCancellationRequested()?void 0:e.getAvailableActions(n)})))},n.getEditsForRefactor=function(e,n,r){var a=t.get(n);return a&&a.getEditsForAction(e,r)}}(p||(p={})),function(e){!function(n){var t="addConvertToUnknownForNonOverlappingTypes",r=[e.Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.Debug.checkDefined(e.findAncestor(a,(function(n){return e.isAsExpression(n)||e.isTypeAssertionExpression(n)})),"Expected to find an assertion expression"),o=e.isAsExpression(i)?e.factory.createAsExpression(i.expression,e.factory.createKeywordTypeNode(151)):e.factory.createTypeAssertion(e.factory.createKeywordTypeNode(151),i.expression);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,t,e.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){n.registerCodeFix({errorCodes:[e.Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(t){var r=t.sourceFile,a=e.textChanges.ChangeTracker.with(t,(function(n){var t=e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([]),void 0);n.insertNodeAtEndOfScope(r,r,t)}));return[n.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",a,e.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingAsync",r=[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_comparable_to_type_1.code];function a(r,a,i,o){var s=i((function(n){return function(n,t,r,a){if(a&&a.has(e.getNodeId(r)))return;null==a||a.add(e.getNodeId(r));var i=e.factory.updateModifiers(e.getSynthesizedDeepClone(r,!0),e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(256|e.getSyntacticModifierFlags(r))));n.replaceNode(t,r,i)}(n,r.sourceFile,a,o)}));return n.createCodeFixAction(t,s,e.Diagnostics.Add_async_modifier_to_containing_function,t,e.Diagnostics.Add_all_missing_async_modifiers)}function i(n,t){if(t){var r=e.getTokenAtPosition(n,t.start);return e.findAncestor(r,(function(r){return r.getStart(n)<t.start||r.getEnd()>e.textSpanEnd(t)?"quit":(e.isArrowFunction(r)||e.isMethodDeclaration(r)||e.isFunctionExpression(r)||e.isFunctionDeclaration(r))&&e.textSpansEqual(t,e.createTextSpanFromNode(r,n))}))}}n.registerCodeFix({fixIds:[t],errorCodes:r,getCodeActions:function(n){var t=n.sourceFile,r=n.errorCode,o=n.cancellationToken,s=n.program,c=n.span,l=e.find(s.getDiagnosticsProducingTypeChecker().getDiagnostics(t,o),function(n,t){return function(r){var a=r.start,i=r.length,o=r.relatedInformation,s=r.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},n)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}(c,r)),u=i(t,l&&l.relatedInformation&&e.find(l.relatedInformation,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})));if(u){return[a(n,u,(function(t){return e.textChanges.ChangeTracker.with(n,t)}))]}},getAllCodeActions:function(t){var o=t.sourceFile,s=new e.Set;return n.codeFixAll(t,r,(function(n,r){var c=r.relatedInformation&&e.find(r.relatedInformation,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})),l=i(o,c);if(l){return a(t,l,(function(e){return e(n),[]}),s)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingAwait",r=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,a=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],i=o([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,r],a);function s(t,r,a,o,s,c){var l=t.sourceFile,p=t.program,f=t.cancellationToken,m=function(n,t,r,a,o){var s=function(n,t){if(e.isPropertyAccessExpression(n.parent)&&e.isIdentifier(n.parent.expression))return{identifiers:[n.parent.expression],isCompleteFix:!0};if(e.isIdentifier(n))return{identifiers:[n],isCompleteFix:!0};if(e.isBinaryExpression(n)){for(var r=void 0,a=!0,i=0,o=[n.left,n.right];i<o.length;i++){var s=o[i],c=t.getTypeAtLocation(s);if(t.getPromisedTypeOfPromise(c)){if(!e.isIdentifier(s)){a=!1;continue}(r||(r=[])).push(s)}}return r&&{identifiers:r,isCompleteFix:a}}}(n,o);if(!s)return;for(var c,l=s.isCompleteFix,d=function(n){var s=o.getSymbolAtLocation(n);if(!s)return"continue";var d=e.tryCast(s.valueDeclaration,e.isVariableDeclaration),p=d&&e.tryCast(d.name,e.isIdentifier),f=e.getAncestor(d,229);if(!d||!f||d.type||!d.initializer||f.getSourceFile()!==t||e.hasSyntacticModifier(f,1)||!p||!u(d.initializer))return l=!1,"continue";var m=a.getSemanticDiagnostics(t,r);if(e.FindAllReferences.Core.eachSymbolReferenceInFile(p,o,t,(function(r){return n!==r&&!function(n,t,r,a){var o=e.isPropertyAccessExpression(n.parent)?n.parent.name:e.isBinaryExpression(n.parent)?n.parent:n,s=e.find(t,(function(e){return e.start===o.getStart(r)&&e.start+e.length===o.getEnd()}));return s&&e.contains(i,s.code)||1&a.getTypeAtLocation(o).flags}(r,m,t,o)})))return l=!1,"continue";(c||(c=[])).push({expression:d.initializer,declarationSymbol:s})},p=0,f=s.identifiers;p<f.length;p++){var m=f[p];d(m)}return c&&{initializers:c,needsSecondPassForFixAll:!l}}(r,l,f,p,o);if(m){var _=s((function(n){e.forEach(m.initializers,(function(e){var t=e.expression;return d(n,a,l,o,t,c)})),c&&m.needsSecondPassForFixAll&&d(n,a,l,o,r,c)}));return n.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",_,1===m.initializers.length?[e.Diagnostics.Add_await_to_initializer_for_0,m.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function c(r,a,i,o,s,c){var l=s((function(e){return d(e,i,r.sourceFile,o,a,c)}));return n.createCodeFixAction(t,l,e.Diagnostics.Add_await,t,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function l(n,t,r,a,i){var o=e.getTokenAtPosition(n,r.start),s=e.findAncestor(o,(function(t){return t.getStart(n)<r.start||t.getEnd()>e.textSpanEnd(r)?"quit":e.isExpression(t)&&e.textSpansEqual(r,e.createTextSpanFromNode(t,n))}));return s&&function(n,t,r,a,i){var o=i.getDiagnosticsProducingTypeChecker().getDiagnostics(n,a);return e.some(o,(function(n){var a=n.start,i=n.length,o=n.relatedInformation,s=n.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},r)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}(n,t,r,a,i)&&u(s)?s:void 0}function u(n){return 32768&n.kind||!!e.findAncestor(n,(function(n){return n.parent&&e.isArrowFunction(n.parent)&&n.parent.body===n||e.isBlock(n)&&(248===n.parent.kind||205===n.parent.kind||206===n.parent.kind||164===n.parent.kind)}))}function d(n,t,i,o,s,c){if(e.isBinaryExpression(s))for(var l=0,u=[s.left,s.right];l<u.length;l++){var d=u[l];if(c&&e.isIdentifier(d))if((_=o.getSymbolAtLocation(d))&&c.has(e.getSymbolId(_)))continue;var f=o.getTypeAtLocation(d),m=o.getPromisedTypeOfPromise(f)?e.factory.createAwaitExpression(d):d;n.replaceNode(i,d,m)}else if(t===r&&e.isPropertyAccessExpression(s.parent)){if(c&&e.isIdentifier(s.parent.expression))if((_=o.getSymbolAtLocation(s.parent.expression))&&c.has(e.getSymbolId(_)))return;n.replaceNode(i,s.parent.expression,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s.parent.expression))),p(n,s.parent.expression,i)}else if(e.contains(a,t)&&e.isCallOrNewExpression(s.parent)){if(c&&e.isIdentifier(s))if((_=o.getSymbolAtLocation(s))&&c.has(e.getSymbolId(_)))return;n.replaceNode(i,s,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s))),p(n,s,i)}else{var _;if(c&&e.isVariableDeclaration(s.parent)&&e.isIdentifier(s.parent.name))if((_=o.getSymbolAtLocation(s.parent.name))&&!e.tryAddToSet(c,e.getSymbolId(_)))return;n.replaceNode(i,s,e.factory.createAwaitExpression(s))}}function p(n,t,r){var a=e.findPrecedingToken(t.pos,r);a&&e.positionIsASICandidate(a.end,a.parent,r)&&n.insertText(r,t.getStart(r),";")}n.registerCodeFix({fixIds:[t],errorCodes:i,getCodeActions:function(n){var t=n.sourceFile,r=n.errorCode,a=l(t,r,n.span,n.cancellationToken,n.program);if(a){var i=n.program.getTypeChecker(),o=function(t){return e.textChanges.ChangeTracker.with(n,t)};return e.compact([s(n,a,r,i,o),c(n,a,r,i,o)])}},getAllCodeActions:function(t){var r=t.sourceFile,a=t.program,o=t.cancellationToken,u=t.program.getTypeChecker(),d=new e.Set;return n.codeFixAll(t,i,(function(e,n){var i=l(r,n.code,n,o,a);if(i){var p=function(n){return n(e),[]};return s(t,i,n.code,u,p,d)||c(t,i,n.code,u,p,d)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingConst",r=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];function a(n,t,r,a,o){var s=e.getTokenAtPosition(t,r),c=e.findAncestor(s,(function(n){return e.isForInOrOfStatement(n.parent)?n.parent.initializer===n:!function(e){switch(e.kind){case 78:case 196:case 197:case 285:case 286:return!0;default:return!1}}(n)&&"quit"}));if(c)return i(n,c,t,o);var l=s.parent;if(e.isBinaryExpression(l)&&62===l.operatorToken.kind&&e.isExpressionStatement(l.parent))return i(n,s,t,o);if(e.isArrayLiteralExpression(l)){var u=a.getTypeChecker();if(!e.every(l.elements,(function(n){return function(n,t){var r=e.isIdentifier(n)?n:e.isAssignmentExpression(n,!0)&&e.isIdentifier(n.left)?n.left:void 0;return!!r&&!t.getSymbolAtLocation(r)}(n,u)})))return;return i(n,l,t,o)}var d=e.findAncestor(s,(function(n){return!!e.isExpressionStatement(n.parent)||!function(e){switch(e.kind){case 78:case 213:case 27:return!0;default:return!1}}(n)&&"quit"}));if(d){if(!function n(t,r){if(!e.isBinaryExpression(t))return!1;if(27===t.operatorToken.kind)return e.every([t.left,t.right],(function(e){return n(e,r)}));return 62===t.operatorToken.kind&&e.isIdentifier(t.left)&&!r.getSymbolAtLocation(t.left)}(d,a.getTypeChecker()))return;return i(n,d,t,o)}}function i(n,t,r,a){a&&!e.tryAddToSet(a,t)||n.insertModifierBefore(r,84,t)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.program)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Add_const_to_unresolved_variable,t,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,t.program,i)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingDeclareProperty",r=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(e.isIdentifier(i)){var o=i.parent;162!==o.kind||a&&!e.tryAddToSet(a,o)||n.insertModifierBefore(t,133,o)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Prefix_with_declare,t,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,i)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingInvocationForDecorator",r=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isDecorator);e.Debug.assert(!!i,"Expected position to be owned by a decorator.");var o=e.factory.createCallExpression(i.expression,void 0,void 0);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Call_decorator_expression,t,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addNameToNamelessParameter",r=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r);if(!e.isIdentifier(a))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(a.kind));var i=a.parent;if(!e.isParameter(i))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(a.kind));var o=i.parent.parameters.indexOf(i);e.Debug.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(o>-1,"Parameter not found in parent parameter list.");var s=e.factory.createParameterDeclaration(void 0,i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,e.factory.createTypeReferenceNode(a,void 0),i.initializer);n.replaceNode(t,a,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_parameter_name,t,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="annotateWithTypeFromJSDoc",r=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.tryCast(e.isParameter(r.parent)?r.parent.parent:r.parent,i)}function i(n){return function(n){return e.isFunctionLikeDeclaration(n)||246===n.kind||161===n.kind||162===n.kind}(n)&&o(n)}function o(n){return e.isFunctionLikeDeclaration(n)?n.parameters.some(o)||!n.type&&!!e.getJSDocReturnType(n):!n.type&&!!e.getJSDocType(n)}function s(n,t,r){if(e.isFunctionLikeDeclaration(r)&&(e.getJSDocReturnType(r)||r.parameters.some((function(n){return!!e.getJSDocType(n)})))){if(!r.typeParameters){var a=e.getJSDocTypeParameterDeclarations(r);a.length&&n.insertTypeParameters(t,r,a)}var i=e.isArrowFunction(r)&&!e.findChildOfKind(r,20,t);i&&n.insertNodeBefore(t,e.first(r.parameters),e.factory.createToken(20));for(var o=0,s=r.parameters;o<s.length;o++){var l=s[o];if(!l.type){var u=e.getJSDocType(l);u&&n.tryInsertTypeAnnotation(t,l,c(u))}}if(i&&n.insertNodeAfter(t,e.last(r.parameters),e.factory.createToken(21)),!r.type){var d=e.getJSDocReturnType(r);d&&n.tryInsertTypeAnnotation(t,r,c(d))}}else{var p=e.Debug.checkDefined(e.getJSDocType(r),"A JSDocType for this declaration should exist");e.Debug.assert(!r.type,"The JSDocType decl should have a type"),n.tryInsertTypeAnnotation(t,r,c(p))}}function c(n){switch(n.kind){case 299:case 300:return e.factory.createTypeReferenceNode("any",e.emptyArray);case 303:return function(n){return e.factory.createUnionTypeNode([e.visitNode(n.type,c),e.factory.createTypeReferenceNode("undefined",e.emptyArray)])}(n);case 302:return c(n.type);case 301:return function(n){return e.factory.createUnionTypeNode([e.visitNode(n.type,c),e.factory.createTypeReferenceNode("null",e.emptyArray)])}(n);case 305:return function(n){return e.factory.createArrayTypeNode(e.visitNode(n.type,c))}(n);case 304:return function(n){var t;return e.factory.createFunctionTypeNode(e.emptyArray,n.parameters.map(l),null!==(t=n.type)&&void 0!==t?t:e.factory.createKeywordTypeNode(128))}(n);case 172:return function(n){var t=n.typeName,r=n.typeArguments;if(e.isIdentifier(n.typeName)){if(e.isJSDocIndexSignature(n))return function(n){var t=e.factory.createParameterDeclaration(void 0,void 0,void 0,143===n.typeArguments[0].kind?"n":"s",void 0,e.factory.createTypeReferenceNode(143===n.typeArguments[0].kind?"number":"string",[]),void 0),r=e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[t],n.typeArguments[1])]);return e.setEmitFlags(r,1),r}(n);var a=n.typeName.text;switch(n.typeName.text){case"String":case"Boolean":case"Object":case"Number":a=a.toLowerCase();break;case"array":case"date":case"promise":a=a[0].toUpperCase()+a.slice(1)}t=e.factory.createIdentifier(a),r="Array"!==a&&"Promise"!==a||n.typeArguments?e.visitNodes(n.typeArguments,c):e.factory.createNodeArray([e.factory.createTypeReferenceNode("any",e.emptyArray)])}return e.factory.createTypeReferenceNode(t,r)}(n);default:var t=e.visitEachChild(n,c,e.nullTransformationContext);return e.setEmitFlags(t,1),t}}function l(n){var t=n.parent.parameters.indexOf(n),r=305===n.type.kind&&t===n.parent.parameters.length-1,a=n.name||(r?"rest":"arg"+t),i=r?e.factory.createToken(25):n.dotDotDotToken;return e.factory.createParameterDeclaration(n.decorators,n.modifiers,i,a,n.questionToken,e.visitNode(n.type,c),n.initializer)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=a(r.sourceFile,r.span.start);if(i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return s(e,r.sourceFile,i)}));return[n.createCodeFixAction(t,o,e.Diagnostics.Annotate_with_type_from_JSDoc,t,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&s(e,n.file,t)}))}}),n.parameterShouldGetTypeFromJSDoc=i}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="convertFunctionToEs6Class",r=[e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];function a(n,t,r,a){var s=a.getSymbolAtLocation(e.getTokenAtPosition(t,r));if(s&&19&s.flags){var c=s.valueDeclaration;if(e.isFunctionDeclaration(c))n.replaceNode(t,c,function(n){var t=d(s);n.body&&t.unshift(e.factory.createConstructorDeclaration(void 0,void 0,n.parameters,n.body));var r=i(n,92);return e.factory.createClassDeclaration(void 0,r,n.name,void 0,void 0,t)}(c));else if(e.isVariableDeclaration(c)){var l=function(n){var t=n.initializer;if(!t||!e.isFunctionExpression(t)||!e.isIdentifier(n.name))return;var r=d(n.symbol);t.body&&r.unshift(e.factory.createConstructorDeclaration(void 0,void 0,t.parameters,t.body));var a=i(n.parent.parent,92);return e.factory.createClassDeclaration(void 0,a,n.name,void 0,void 0,r)}(c);if(!l)return;var u=c.parent.parent;e.isVariableDeclarationList(c.parent)&&c.parent.declarations.length>1?(n.delete(t,c),n.insertNodeAfter(t,u,l)):n.replaceNode(t,u,l)}}function d(r){var a=[];return r.members&&r.members.forEach((function(e,r){if("constructor"!==r){var i=s(e,void 0);i&&a.push.apply(a,i)}else n.delete(t,e.valueDeclaration.parent)})),r.exports&&r.exports.forEach((function(n){if("prototype"===n.name){var t=n.declarations[0];if(1===n.declarations.length&&e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)&&62===t.parent.operatorToken.kind&&e.isObjectLiteralExpression(t.parent.right))(r=s(t.parent.right.symbol,void 0))&&a.push.apply(a,r)}else{var r;(r=s(n,[e.factory.createToken(123)]))&&a.push.apply(a,r)}})),a;function s(r,a){var s=[];if(!(8192&r.flags||4096&r.flags))return s;var c,l,u=r.valueDeclaration,d=u.parent,p=d.right;if(c=u,l=p,!(e.isPropertyAccessExpression(c)?o(c)||e.isFunctionLike(l):e.every(c.properties,(function(n){return!!(e.isMethodDeclaration(n)||e.isGetOrSetAccessorDeclaration(n)||e.isPropertyAssignment(n)&&e.isFunctionExpression(n.initializer)&&n.name||o(n))}))))return s;var f=d.parent&&230===d.parent.kind?d.parent:d;if(n.delete(t,f),!p)return s.push(e.factory.createPropertyDeclaration([],a,r.name,void 0,void 0,void 0)),s;if(e.isPropertyAccessExpression(u)&&(e.isFunctionExpression(p)||e.isArrowFunction(p)))return _(s,p,u.name);if(e.isObjectLiteralExpression(p))return e.flatMap(p.properties,(function(n){return e.isMethodDeclaration(n)||e.isGetOrSetAccessorDeclaration(n)?s.concat(n):e.isPropertyAssignment(n)&&e.isFunctionExpression(n.initializer)?_(s,n.initializer,n.name):o(n)?s:[]}));if(e.isSourceFileJS(t))return s;if(!e.isPropertyAccessExpression(u))return s;var m=e.factory.createPropertyDeclaration(void 0,a,u.name,void 0,void 0,p);return e.copyLeadingComments(d.parent,m,t),s.push(m),s;function _(n,r,o){return e.isFunctionExpression(r)?function(n,r,o){var s=e.concatenate(a,i(r,129)),c=e.factory.createMethodDeclaration(void 0,s,void 0,o,void 0,void 0,r.parameters,void 0,r.body);return e.copyLeadingComments(d,c,t),n.concat(c)}(n,r,o):function(n,r,o){var s,c=r.body;s=227===c.kind?c:e.factory.createBlock([e.factory.createReturnStatement(c)]);var l=e.concatenate(a,i(r,129)),u=e.factory.createMethodDeclaration(void 0,l,void 0,o,void 0,void 0,r.parameters,void 0,s);return e.copyLeadingComments(d,u,t),n.concat(u)}(n,r,o)}}}}function i(n,t){return e.filter(n.modifiers,(function(e){return e.kind===t}))}function o(n){return!!n.name&&!(!e.isIdentifier(n.name)||"constructor"!==n.name.text)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.program.getTypeChecker())}));return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_function_to_an_ES2015_class,t,e.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return a(n,t.file,t.start,e.program.getTypeChecker())}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t,r="convertToAsyncFunction",a=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],i=!0;function s(n,t,r,a,i){var o,s=e.getTokenAtPosition(t,r);if(o=e.isIdentifier(s)&&e.isVariableDeclaration(s.parent)&&s.parent.initializer&&e.isFunctionLikeDeclaration(s.parent.initializer)?s.parent.initializer:e.tryCast(e.getContainingFunction(e.getTokenAtPosition(t,r)),e.isFunctionLikeDeclaration)){var d,f,m=new e.Map,_=e.isInJSFile(o),y=function(n,t){if(!n.body)return new e.Set;var r=new e.Set;return e.forEachChild(n.body,(function n(a){c(a,t,"then")?(r.add(e.getNodeId(a)),e.forEach(a.arguments,n)):c(a,t,"catch")?(r.add(e.getNodeId(a)),e.forEachChild(a,n)):l(a,t)?r.add(e.getNodeId(a)):e.forEachChild(a,n)})),r}(o,a),h=function(n,t,r,a){var i=new e.Map,o=e.createMultiMap();return e.forEachChild(n,(function n(s){if(e.isIdentifier(s)){var c=t.getSymbolAtLocation(s),l=c&&function(e,n){return e.valueDeclaration&&e.valueDeclaration.getSourceFile()===n}(c,a);if(c&&l){var d=g(t.getTypeAtLocation(s),t),p=e.getSymbolId(c).toString();if(!d||e.isFunctionLikeDeclaration(s.parent)||r.has(p)){if(s.parent&&(e.isParameter(s.parent)||e.isVariableDeclaration(s.parent)||e.isBindingElement(s.parent))){var f=s.text,m=o.get(f);if(m&&m.some((function(e){return e!==c}))){var _=u(s,o);i.set(p,_.identifier),r.set(p,_),o.add(f,c)}else{var y=e.getSynthesizedDeepClone(s);r.set(p,E(y)),o.add(f,c)}}}else{var h=e.firstOrUndefined(d.parameters),v=h&&e.isParameter(h.valueDeclaration)&&e.tryCast(h.valueDeclaration.name,e.isIdentifier)||e.factory.createUniqueName("result",16),b=u(v,o);r.set(p,b),o.add(v.text,c)}}}else e.forEachChild(s,n)})),e.getSynthesizedDeepCloneWithRenames(n,!0,i,t)}(o,a,m,i.sourceFile),v=h.body&&e.isBlock(h.body)?(d=h.body,f=[],e.forEachReturnStatement(d,(function(n){e.isReturnStatementWithFixablePromiseHandler(n)&&f.push(n)})),f):e.emptyArray,b={checker:a,synthNamesMap:m,setOfExpressionsToReturn:y,isInJSFile:_};if(v.length){n.insertLastModifierBefore(t,129,o);for(var T=function(r){e.forEachChild(r,(function a(i){if(e.isCallExpression(i)){var o=p(i,b);n.replaceNodeWithNodes(t,r,o)}else e.isFunctionLike(i)||e.forEachChild(i,a)}))},S=0,L=v;S<L.length;S++){T(L[S])}}}}function c(n,t,r){if(!e.isCallExpression(n))return!1;var a=e.hasPropertyAccessExpressionWithName(n,r)&&t.getTypeAtLocation(n);return!(!a||!t.getPromisedTypeOfPromise(a))}function l(n,t){return!!e.isExpression(n)&&!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(n))}function u(n,t){var r=(t.get(n.text)||e.emptyArray).length;return E(0===r?n:e.factory.createIdentifier(n.text+"_"+r))}function d(){return i=!1,e.emptyArray}function p(n,t,r){if(c(n,t.checker,"then"))return 0===n.arguments.length?d():function(n,t,r){var a=n.arguments,i=a[0],o=a[1],s=h(i,t),c=_(i,r,s,n,t);if(o){var l=h(o,t),u=e.factory.createBlock(p(n.expression,t,s).concat(c)),d=_(o,r,l,n,t),f=l?T(l)?l.identifier.text:l.bindingPattern:"e",m=e.factory.createVariableDeclaration(f),g=e.factory.createCatchClause(m,e.factory.createBlock(d));return[e.factory.createTryStatement(u,g,void 0)]}return p(n.expression,t,s).concat(c)}(n,t,r);if(c(n,t.checker,"catch"))return 0===n.arguments.length?d():function(n,t,r){var a,i=n.arguments[0],o=h(i,t);r&&!S(n,t)&&(T(r)?(a=r,t.synthNamesMap.forEach((function(n,a){if(n.identifier.text===r.identifier.text){var i=function(n){return E(e.factory.createUniqueName(n.identifier.text,16))}(r);t.synthNamesMap.set(a,i)}}))):a=E(e.factory.createUniqueName("result",16),r.types),a.hasBeenDeclared=!0);var s,c,l=e.factory.createBlock(p(n.expression,t,a)),u=_(i,a,o,n,t),d=o?T(o)?o.identifier.text:o.bindingPattern:"e",f=e.factory.createVariableDeclaration(d),m=e.factory.createCatchClause(f,e.factory.createBlock(u));if(a&&!S(n,t)){c=e.getSynthesizedDeepClone(a.identifier);var g=a.types,y=t.checker.getUnionType(g,2),v=t.isInJSFile?void 0:t.checker.typeToTypeNode(y,void 0,void 0),b=[e.factory.createVariableDeclaration(c,void 0,v)];s=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList(b,1))}var L=e.factory.createTryStatement(l,m,void 0),x=r&&c&&(A=r,1===A.kind)&&e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepCloneWithRenames(r.bindingPattern),void 0,void 0,c)],2));var A;return e.compact([s,L,x])}(n,t,r);if(e.isPropertyAccessExpression(n))return p(n.expression,t,r);var a=t.checker.getTypeAtLocation(n);return a&&t.checker.getPromisedTypeOfPromise(a)?(e.Debug.assertNode(n.original.parent,e.isPropertyAccessExpression),function(n,t,r){if(S(n,t))return[e.factory.createReturnStatement(e.getSynthesizedDeepClone(n))];return f(r,e.factory.createAwaitExpression(n),void 0)}(n,t,r)):d()}function f(n,t,r){return!n||v(n)?[e.factory.createExpressionStatement(t)]:T(n)&&n.hasBeenDeclared?[e.factory.createExpressionStatement(e.factory.createAssignment(e.getSynthesizedDeepClone(n.identifier),t))]:[e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(b(n)),void 0,r,t)],2))]}function m(n,t){if(t&&n){var r=e.factory.createUniqueName("result",16);return o(f(E(r),n,t),[e.factory.createReturnStatement(r)])}return[e.factory.createReturnStatement(n)]}function _(n,t,r,a,i){var o,s,c,u;switch(n.kind){case 103:break;case 78:if(!r)break;var p=e.factory.createCallExpression(e.getSynthesizedDeepClone(n),void 0,T(r)?[r.identifier]:[]);if(S(a,i))return m(p,null===(o=a.typeArguments)||void 0===o?void 0:o[0]);var _=i.checker.getTypeAtLocation(n),h=i.checker.getSignaturesOfType(_,0);if(!h.length)return d();var v=h[0].getReturnType(),E=f(t,e.factory.createAwaitExpression(p),null===(s=a.typeArguments)||void 0===s?void 0:s[0]);return t&&t.types.push(v),E;case 205:case 206:var L=n.body;if(e.isBlock(L)){for(var x=[],A=!1,D=0,C=L.statements;D<C.length;D++){var I=C[D];e.isReturnStatement(I)?(A=!0,e.isReturnStatementWithFixablePromiseHandler(I)?x=x.concat(y(i,[I],t)):x.push.apply(x,m(I.expression,null===(c=a.typeArguments)||void 0===c?void 0:c[0]))):x.push(I)}return S(a,i)?x.map((function(n){return e.getSynthesizedDeepClone(n)})):function(n,t,r,a){for(var i=[],o=0,s=n;o<s.length;o++){var c=s[o];if(e.isReturnStatement(c)){if(c.expression){var u=l(c.expression,r.checker)?e.factory.createAwaitExpression(c.expression):c.expression;void 0===t?i.push(e.factory.createExpressionStatement(u)):i.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(b(t),void 0,void 0,u)],2)))}}else i.push(e.getSynthesizedDeepClone(c))}a||void 0===t||i.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(b(t),void 0,void 0,e.factory.createIdentifier("undefined"))],2)));return i}(x,t,i,A)}var N=y(i,e.isFixablePromiseHandler(L)?[e.factory.createReturnStatement(L)]:e.emptyArray,t);if(N.length>0)return N;var R=g(i.checker.getTypeAtLocation(n),i.checker).getReturnType(),k=e.getSynthesizedDeepClone(L),O=i.checker.getPromisedTypeOfPromise(R)?e.factory.createAwaitExpression(k):k;if(S(a,i))return m(O,null===(u=a.typeArguments)||void 0===u?void 0:u[0]);var P=f(t,O,void 0);return t&&t.types.push(R),P;default:return d()}return e.emptyArray}function g(n,t){var r=t.getSignaturesOfType(n,0);return e.lastOrUndefined(r)}function y(n,t,r){for(var a=[],i=0,o=t;i<o.length;i++){var s=o[i];e.forEachChild(s,(function t(i){if(e.isCallExpression(i)){var o=p(i,n,r);if((a=a.concat(o)).length>0)return}else e.isFunctionLike(i)||e.forEachChild(i,t)}))}return a}function h(n,t){var r,a=[];e.isFunctionLikeDeclaration(n)?n.parameters.length>0&&(r=function n(t){if(e.isIdentifier(t))return i(t);var r=e.flatMap(t.elements,(function(t){return e.isOmittedExpression(t)?[]:[n(t.name)]}));return function(n,t,r){void 0===t&&(t=e.emptyArray);void 0===r&&(r=[]);return{kind:1,bindingPattern:n,elements:t,types:r}}(t,r)}(n.parameters[0].name)):e.isIdentifier(n)&&(r=i(n));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function i(n){var r,i=function(e){return e.symbol?e.symbol:t.checker.getSymbolAtLocation(e)}((r=n).original?r.original:r);return i&&t.synthNamesMap.get(e.getSymbolId(i).toString())||E(n,a)}}function v(n){return!n||(T(n)?!n.identifier.text:e.every(n.elements,v))}function b(e){return T(e)?e.identifier:e.bindingPattern}function E(e,n){return void 0===n&&(n=[]),{kind:0,identifier:e,types:n,hasBeenDeclared:!1}}function T(e){return 0===e.kind}function S(n,t){return!!n.original&&t.setOfExpressionsToReturn.has(e.getNodeId(n.original))}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){i=!0;var a=e.textChanges.ChangeTracker.with(t,(function(e){return s(e,t.sourceFile,t.span.start,t.program.getTypeChecker(),t)}));return i?[n.createCodeFixAction(r,a,e.Diagnostics.Convert_to_async_function,r,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return s(n,t.file,t.start,e.program.getTypeChecker(),e)}))}}),function(e){e[e.Identifier=0]="Identifier",e[e.BindingPattern=1]="BindingPattern"}(t||(t={}))}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n,t,r,a){for(var i=0,o=n.imports;i<o.length;i++){var s=o[i],c=e.getResolvedModule(n,s.text);if(c&&c.resolvedFileName===t.fileName){var l=e.importFromModuleSpecifier(s);switch(l.kind){case 257:r.replaceNode(n,l,e.makeImport(l.name,void 0,s,a));break;case 200:e.isRequireCall(l,!1)&&r.replaceNode(n,l,e.factory.createPropertyAccessExpression(e.getSynthesizedDeepClone(l),"default"))}}}}function r(n,t){n.forEachChild((function r(a){if(e.isPropertyAccessExpression(a)&&e.isExportsOrModuleExportsOrAlias(n,a.expression)&&e.isIdentifier(a.name)){var i=a.parent;t(a,e.isBinaryExpression(i)&&i.left===a&&62===i.operatorToken.kind)}a.forEachChild(r)}))}function a(t,r,a,c,m,_,g,y){switch(r.kind){case 229:return function(t,r,a,i,o,c,l){var f=r.declarationList,m=!1,_=e.flatMap(f.declarations,(function(r){var _=r.name,g=r.initializer;if(g){if(e.isExportsOrModuleExportsOrAlias(t,g))return m=!0,[];if(e.isRequireCall(g,!0))return m=!0,function(t,r,a,i,o,c,l,u){switch(r.kind){case 193:var f=e.mapAllOrFail(r.elements,(function(n){return n.dotDotDotToken||n.initializer||n.propertyName&&!e.isIdentifier(n.propertyName)||!e.isIdentifier(n.name)?void 0:d(n.propertyName&&n.propertyName.text,n.name.text)}));if(f)return[e.makeImport(void 0,f,a,u)];case 194:var m=s(n.moduleSpecifierToValidIdentifier(a.text,l),c);return[e.makeImport(e.factory.createIdentifier(m),void 0,a,u),p(void 0,e.getSynthesizedDeepClone(r),e.factory.createIdentifier(m))];case 78:return function(n,t,r,a,i,o,c){for(var l=i.getSymbolAtLocation(t),u=new e.Map,d=!1,p=0,f=o.original.get(t.text);p<f.length;p++){var m=f[p];if(i.getSymbolAtLocation(m)===l&&m!==t){var _=m.parent;if(e.isPropertyAccessExpression(_)){var g=_.expression,y=_.name.text;e.Debug.assert(g===m,"Didn't expect expression === use");var h=u.get(y);void 0===h&&(h=s(y,o),u.set(y,h)),a.replaceNode(n,_,e.factory.createIdentifier(h))}else d=!0}}var v=0===u.size?void 0:e.arrayFrom(e.mapIterator(u.entries(),(function(n){var t=n[0],r=n[1];return e.factory.createImportSpecifier(t===r?void 0:e.factory.createIdentifier(t),e.factory.createIdentifier(r))})));v||(d=!0);return[e.makeImport(d?e.getSynthesizedDeepClone(t):void 0,v,r,c)]}(t,r,a,i,o,c,u);default:return e.Debug.assertNever(r,"Convert to ES6 module got invalid name kind "+r.kind)}}(t,_,g.arguments[0],a,i,o,c,l);if(e.isPropertyAccessExpression(g)&&e.isRequireCall(g.expression,!0))return m=!0,function(n,t,r,a,i){switch(n.kind){case 193:case 194:var o=s(t,a);return[u(o,t,r,i),p(void 0,n,e.factory.createIdentifier(o))];case 78:return[u(n.text,t,r,i)];default:return e.Debug.assertNever(n,"Convert to ES6 module got invalid syntax form "+n.kind)}}(_,g.name.text,g.expression.arguments[0],o,l)}return e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([r],f.flags))}));m&&a.replaceNodeWithNodes(t,r,_)}(t,r,c,a,m,_,y),!1;case 230:var h=r.expression;switch(h.kind){case 200:return e.isRequireCall(h,!0)&&c.replaceNode(t,r,e.makeImport(void 0,void 0,h.arguments[0],y)),!1;case 213:return 62===h.operatorToken.kind&&function(n,t,r,a,s){var c=r.left,u=r.right;if(!e.isPropertyAccessExpression(c))return!1;if(e.isExportsOrModuleExportsOrAlias(n,c)){if(!e.isExportsOrModuleExportsOrAlias(n,u)){var d=e.isObjectLiteralExpression(u)?(m=u,(_=e.mapAllOrFail(m.properties,(function(n){switch(n.kind){case 166:case 167:case 286:case 287:return;case 285:return e.isIdentifier(n.name)?function(n,t){var r=[e.factory.createToken(92)];switch(t.kind){case 205:var a=t.name;if(a&&a.text!==n)return i();case 206:return l(n,r,t);case 218:return function(n,t,r){return e.factory.createClassDeclaration(e.getSynthesizedDeepClones(r.decorators),e.concatenate(t,e.getSynthesizedDeepClones(r.modifiers)),n,e.getSynthesizedDeepClones(r.typeParameters),e.getSynthesizedDeepClones(r.heritageClauses),e.getSynthesizedDeepClones(r.members))}(n,r,t);default:return i()}function i(){return p(r,e.factory.createIdentifier(n),t)}}(n.name.text,n.initializer):void 0;case 164:return e.isIdentifier(n.name)?l(n.name.text,[e.factory.createToken(92)],n):void 0;default:e.Debug.assertNever(n,"Convert to ES6 got invalid prop kind "+n.kind)}})))&&[_,!1]):e.isRequireCall(u,!0)?function(n,t){var r=n.text,a=t.getSymbolAtLocation(n),s=a?a.exports:e.emptyMap;return s.has("export=")?[[o(r)],!0]:s.has("default")?s.size>1?[[i(r),o(r)],!0]:[[o(r)],!0]:[[i(r)],!1]}(u.arguments[0],t):void 0;return d?(a.replaceNodeWithNodes(n,r.parent,d[0]),d[1]):(a.replaceRangeWithText(n,e.createRange(c.getStart(n),u.pos),"export default"),!0)}a.delete(n,r.parent)}else e.isExportsOrModuleExportsOrAlias(n,c.expression)&&function(n,t,r,a){var i=t.left.name.text,o=a.get(i);if(void 0!==o){var s=[p(void 0,o,t.right),f([e.factory.createExportSpecifier(o,i)])];r.replaceNodeWithNodes(n,t.parent,s)}else!function(n,t,r){var a=n.left,i=n.right,o=n.parent,s=a.name.text;if(!(e.isFunctionExpression(i)||e.isArrowFunction(i)||e.isClassExpression(i))||i.name&&i.name.text!==s)r.replaceNodeRangeWithNodes(t,a.expression,e.findChildOfKind(a,24,t),[e.factory.createToken(92),e.factory.createToken(84)],{joiner:" ",suffix:" "});else{r.replaceRange(t,{pos:a.getStart(t),end:i.getStart(t)},e.factory.createToken(92),{suffix:" "}),i.name||r.insertName(t,i,s);var c=e.findChildOfKind(o,26,t);c&&r.delete(t,c)}}(t,n,r)}(n,r,a,s);var m,_;return!1}(t,a,h,c,g)}default:return!1}}function i(e){return f(void 0,e)}function o(n){return f([e.factory.createExportSpecifier(void 0,"default")],n)}function s(e,n){for(;n.original.has(e)||n.additional.has(e);)e="_"+e;return n.additional.add(e),e}function c(n){var t=e.createMultiMap();return function n(t,r){e.isIdentifier(t)&&function(e){var n=e.parent;switch(n.kind){case 198:return n.name!==e;case 195:case 262:return n.propertyName!==e;default:return!0}}(t)&&r(t);t.forEachChild((function(e){return n(e,r)}))}(n,(function(e){return t.add(e.text,e)})),t}function l(n,t,r){return e.factory.createFunctionDeclaration(e.getSynthesizedDeepClones(r.decorators),e.concatenate(t,e.getSynthesizedDeepClones(r.modifiers)),e.getSynthesizedDeepClone(r.asteriskToken),n,e.getSynthesizedDeepClones(r.typeParameters),e.getSynthesizedDeepClones(r.parameters),e.getSynthesizedDeepClone(r.type),e.factory.converters.convertToFunctionBlock(e.getSynthesizedDeepClone(r.body)))}function u(n,t,r,a){return"default"===t?e.makeImport(e.factory.createIdentifier(n),void 0,r,a):e.makeImport(void 0,[d(t,n)],r,a)}function d(n,t){return e.factory.createImportSpecifier(void 0!==n&&n!==t?e.factory.createIdentifier(n):void 0,e.factory.createIdentifier(t))}function p(n,t,r){return e.factory.createVariableStatement(n,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(t,void 0,void 0,r)],2))}function f(n,t){return e.factory.createExportDeclaration(void 0,void 0,!1,n&&e.factory.createNamedExports(n),void 0===t?void 0:e.factory.createStringLiteral(t))}n.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(i){var o=i.sourceFile,l=i.program,u=i.preferences,d=e.textChanges.ChangeTracker.with(i,(function(n){if(function(n,t,i,o,l){var u={original:c(n),additional:new e.Set},d=function(n,t,a){var i=new e.Map;return r(n,(function(n){var r=n.name,o=r.text,c=r.originalKeywordKind;!i.has(o)&&(void 0!==c&&e.isNonContextualKeyword(c)||t.resolveName(o,n,111551,!0))&&i.set(o,s("_"+o,a))})),i}(n,t,u);!function(n,t,a){r(n,(function(r,i){if(!i){var o=r.name.text;a.replaceNode(n,r,e.factory.createIdentifier(t.get(o)||o))}}))}(n,d,i);for(var p=!1,f=0,m=n.statements;f<m.length;f++){var _=m[f],g=a(n,_,t,i,u,o,d,l);p=p||g}return p}(o,l.getTypeChecker(),n,l.getCompilerOptions().target,e.getQuotePreference(o,u)))for(var i=0,d=l.getSourceFiles();i<d.length;i++){var p=d[i];t(p,o,n,e.getQuotePreference(p,u))}}));return[n.createCodeFixActionWithoutFixAll("convertToEs6Module",d,e.Diagnostics.Convert_to_ES6_module)]}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="correctQualifiedNameToIndexedAccessType",r=[e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];function a(n,t){var r=e.findAncestor(e.getTokenAtPosition(n,t),e.isQualifiedName);return e.Debug.assert(!!r,"Expected position to be owned by a qualified name."),e.isIdentifier(r.left)?r:void 0}function i(n,t,r){var a=r.right.text,i=e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(r.left,void 0),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(a)));n.replaceNode(t,r,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=a(r.sourceFile,r.span.start);if(o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,r.sourceFile,o)})),c=o.left.text+'["'+o.right.text+'"]';return[n.createCodeFixAction(t,s,[e.Diagnostics.Rewrite_as_the_indexed_access_type_0,c],t,e.Diagnostics.Rewrite_all_as_indexed_access_types)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code],r="convertToTypeOnlyExport";function a(n,t){return e.tryCast(e.getTokenAtPosition(t,n.start).parent,e.isExportSpecifier)}function i(n,r,a){if(r){var i=r.parent,o=i.parent,s=function(n,r){var a=n.parent;if(1===a.elements.length)return a.elements;var i=e.getDiagnosticsWithinSpan(e.createTextSpanFromNode(a),r.program.getSemanticDiagnostics(r.sourceFile,r.cancellationToken));return e.filter(a.elements,(function(r){var a;return r===n||(null===(a=e.findDiagnosticForNode(r,i))||void 0===a?void 0:a.code)===t[0]}))}(r,a);if(s.length===i.elements.length)n.replaceNode(a.sourceFile,o,e.factory.updateExportDeclaration(o,o.decorators,o.modifiers,!0,i,o.moduleSpecifier));else{var c=e.factory.updateExportDeclaration(o,o.decorators,o.modifiers,!1,e.factory.updateNamedExports(i,e.filter(i.elements,(function(n){return!e.contains(s,n)}))),o.moduleSpecifier),l=e.factory.createExportDeclaration(void 0,void 0,!0,e.factory.createNamedExports(s),o.moduleSpecifier);n.replaceNode(a.sourceFile,o,c),n.insertNodeAfter(a.sourceFile,o,l)}}}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){return i(e,a(t.span,t.sourceFile),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Convert_to_type_only_export,r,e.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[r],getAllCodeActions:function(r){var o=new e.Map;return n.codeFixAll(r,t,(function(n,t){var s=a(t,r.sourceFile);s&&!e.addToSeen(o,e.getNodeId(s.parent.parent))&&i(n,s,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error.code],r="convertToTypeOnlyImport";function a(n,t){return e.tryCast(e.getTokenAtPosition(t,n.start).parent,e.isImportDeclaration)}function i(n,t,r){if(null==t?void 0:t.importClause){var a=t.importClause;n.insertText(r.sourceFile,t.getStart()+"import".length," type"),a.name&&a.namedBindings&&(n.deleteNodeRangeExcludingEnd(r.sourceFile,a.name,t.importClause.namedBindings),n.insertNodeBefore(r.sourceFile,t,e.factory.updateImportDeclaration(t,void 0,void 0,e.factory.createImportClause(!0,a.name,void 0),t.moduleSpecifier)))}}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){i(e,a(t.span,t.sourceFile),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Convert_to_type_only_import,r,e.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){i(n,a(t,e.sourceFile),e)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Class_0_incorrectly_implements_interface_1.code,e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],r="fixClassIncorrectlyImplementsInterface";function a(n,t){return e.Debug.checkDefined(e.getContainingClass(e.getTokenAtPosition(n,t)),"There should be a containing class")}function i(n){return!(n.valueDeclaration&&8&e.getEffectiveModifierFlags(n.valueDeclaration))}function o(t,r,a,o,s,c){var l=t.program.getTypeChecker(),u=function(n,t){var r=e.getEffectiveBaseTypeNode(n);if(!r)return e.createSymbolTable();var a=t.getTypeAtLocation(r),o=t.getPropertiesOfType(a);return e.createSymbolTable(o.filter(i))}(o,l),d=l.getTypeAtLocation(r),p=l.getPropertiesOfType(d).filter(e.and(i,(function(e){return!u.has(e.escapedName)}))),f=l.getTypeAtLocation(o),m=e.find(o.members,(function(n){return e.isConstructorDeclaration(n)}));f.getNumberIndexType()||g(d,1),f.getStringIndexType()||g(d,0);var _=n.createImportAdder(a,t.program,c,t.host);function g(e,r){var i=l.getIndexInfoOfType(e,r);i&&y(a,o,l.indexInfoToIndexSignatureDeclaration(i,r,o,void 0,n.getNoopSymbolTrackerWithResolver(t)))}function y(e,n,t){m?s.insertNodeAfter(e,m,t):s.insertNodeAtClassStart(e,n,t)}n.createMissingMemberNodes(o,p,a,t,c,_,(function(e){return y(a,o,e)})),_.writeFixes(s)}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=t.sourceFile,s=t.span,c=a(i,s.start);return e.mapDefined(e.getEffectiveImplementsTypeNodes(c),(function(a){var s=e.textChanges.ChangeTracker.with(t,(function(e){return o(t,a,i,c,e,t.preferences)}));return 0===s.length?void 0:n.createCodeFixAction(r,s,[e.Diagnostics.Implement_interface_0,a.getText(i)],r,e.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[r],getAllCodeActions:function(r){var i=new e.Map;return n.codeFixAll(r,t,(function(n,t){var s=a(t.file,t.start);if(e.addToSeen(i,e.getNodeId(s)))for(var c=0,l=e.getEffectiveImplementsTypeNodes(s);c<l.length;c++){var u=l[c];o(r,u,t.file,s,n,r.preferences)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){n.importFixName="import";var t,r,a=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Cannot_find_namespace_0.code,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code];function i(n,t,r,a,i){var o=t.getCompilerOptions(),s=[],d=[],p=new e.Map,m=new e.Map;return{addImportFromDiagnostic:function(e,n){var t=_(n,e.code,e.start,r);if(!t||!t.fixes.length)return;g(t)},addImportFromExportedSymbol:function(s,u){var d=e.Debug.checkDefined(s.parent),p=e.getNameForExportedSymbol(s,e.getEmitScriptTarget(o)),m=t.getTypeChecker(),_=m.getMergedSymbol(e.skipAlias(s,m)),y=l(n,_,d,p,i,t,r),h=!!u&&2===o.importsNotUsedAsValues,v=f(n,o);g({fixes:[c(n,y,d,p,t,void 0,h,v,i,a)],symbolName:p})},writeFixes:function(t){for(var r,i=e.getQuotePreference(n,a),o=0,c=s;o<c.length;o++){var l=c[o];E(t,n,l)}for(var f=0,_=d;f<_.length;f++){l=_[f];T(t,n,l,i)}p.forEach((function(e){var r=e.importClauseOrBindingPattern,a=e.defaultImport,i=e.namedImports,o=e.canUseTypeOnlyImport;b(t,n,r,a,i,o)})),m.forEach((function(n,t){var a=n.useRequire,o=u(n,["useRequire"]),s=a?x:L;r=e.combine(r,s(t,i,o))})),r&&e.insertImports(t,n,r,!0)}};function g(n){var t=n.fixes,r=n.symbolName,a=e.first(t);switch(a.kind){case 0:s.push(a);break;case 1:d.push(a);break;case 2:var i=a.importClauseOrBindingPattern,o=a.importKind,c=a.canUseTypeOnlyImport,l=String(e.getNodeId(i));(u=p.get(l))||p.set(l,u={importClauseOrBindingPattern:i,defaultImport:void 0,namedImports:[],canUseTypeOnlyImport:c}),0===o?e.pushIfUnique(u.namedImports,r):(e.Debug.assert(void 0===u.defaultImport||u.defaultImport===r,"(Add to Existing) Default import should be missing or match symbolName"),u.defaultImport=r);break;case 3:var u,f=a.moduleSpecifier,_=(o=a.importKind,a.useRequire),g=a.typeOnly;switch((u=m.get(f))?u.typeOnly=u.typeOnly&&g:m.set(f,u={namedImports:[],namespaceLikeImport:void 0,typeOnly:g,useRequire:_}),o){case 1:e.Debug.assert(void 0===u.defaultImport||u.defaultImport===r,"(Add new) Default import should be missing or match symbolName"),u.defaultImport=r;break;case 0:e.pushIfUnique(u.namedImports||(u.namedImports=[]),r);break;case 3:case 2:e.Debug.assert(void 0===u.namespaceLikeImport||u.namespaceLikeImport.name===r,"Namespacelike import shoudl be missing or match symbolName"),u.namespaceLikeImport={importKind:o,name:r}}break;default:e.Debug.assertNever(a,"fix wasn't never - got kind "+a.kind)}}}function c(n,t,r,a,i,o,s,c,l,u){return e.Debug.assert(t.some((function(e){return e.moduleSymbol===r})),"Some exportInfo should match the specified moduleSymbol"),e.first(p(t,a,o,s,c,i,n,l,u))}function l(n,t,r,a,i,o,s){var c=[],l=o.getCompilerOptions();return C(o,i,n,!1,s,(function(i,o,s){var u=s.getTypeChecker();if(!o||i===r||!e.startsWith(n.fileName,e.getDirectoryPath(o.fileName))){var p=y(n,i,u,l);p&&p.name===a&&e.skipAlias(p.symbol,u)===t&&c.push({moduleSymbol:i,importKind:p.kind,exportedSymbolIsTypeOnly:d(p.symbol,u)});for(var f=0,m=u.getExportsAndPropertiesOfModule(i);f<m.length;f++){var _=m[f];_.name===a&&e.skipAlias(_,u)===t&&c.push({moduleSymbol:i,importKind:0,exportedSymbolIsTypeOnly:d(_,u)})}}})),c}function d(n,t){return!(111551&e.skipAlias(n,t).flags)}function p(n,t,r,a,i,s,c,l,u){var d=s.getTypeChecker(),p=e.flatMap(n,(function(n){return function(n,t,r){var a=n.moduleSymbol,i=n.importKind;return n.exportedSymbolIsTypeOnly&&e.isSourceFileJS(r)?e.emptyArray:e.mapDefined(r.imports,(function(n){var r=e.importFromModuleSpecifier(n);return e.isRequireVariableDeclaration(r.parent,!0)?t.resolveExternalModuleName(n)===a?{declaration:r.parent,importKind:i}:void 0:(258===r.kind||257===r.kind)&&t.getSymbolAtLocation(n)===a?{declaration:r,importKind:i}:void 0}))}(n,d,c)})),f=void 0===r?void 0:function(n,t,r,a){return e.firstDefined(n,(function(n){var i=n.declaration,o=function(n){var t,r,a;switch(n.kind){case 246:return null===(t=e.tryCast(n.name,e.isIdentifier))||void 0===t?void 0:t.text;case 257:return n.name.text;case 258:return null===(a=e.tryCast(null===(r=n.importClause)||void 0===r?void 0:r.namedBindings,e.isNamespaceImport))||void 0===a?void 0:a.name.text;default:return e.Debug.assertNever(n)}}(i);if(o){var s=function(n,t){var r;switch(n.kind){case 246:return t.resolveExternalModuleName(n.initializer.arguments[0]);case 257:return t.getAliasedSymbol(n.symbol);case 258:var a=e.tryCast(null===(r=n.importClause)||void 0===r?void 0:r.namedBindings,e.isNamespaceImport);return a&&t.getAliasedSymbol(a.symbol);default:return e.Debug.assertNever(n)}}(i,a);if(s&&s.exports.has(e.escapeLeadingUnderscores(t)))return{kind:0,namespacePrefix:o,position:r}}}))}(p,t,r,d),_=function(n,t){return e.firstDefined(n,(function(e){var n=e.declaration,r=e.importKind;if(257!==n.kind){if(246===n.kind)return 0!==r&&1!==r||193!==n.name.kind?void 0:{kind:2,importClauseOrBindingPattern:n.name,importKind:r,moduleSpecifier:n.initializer.arguments[0].text,canUseTypeOnlyImport:!1};var a=n.importClause;if(a){var i=a.name,o=a.namedBindings;return 1===r&&!i||0===r&&(!o||261===o.kind)?{kind:2,importClauseOrBindingPattern:a,importKind:r,moduleSpecifier:n.moduleSpecifier.getText(),canUseTypeOnlyImport:t}:void 0}}}))}(p,void 0!==r&&function(n,t){return e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(n,t))}(c,r)),g=_?[_]:function(n,t,r,a,i,o,s,c,l){var u=e.firstDefined(t,(function(n){return function(n,t,r){var a=n.declaration,i=n.importKind,o=258===a.kind?a.moduleSpecifier:246===a.kind?a.initializer.arguments[0]:269===a.moduleReference.kind?a.moduleReference.expression:void 0;return o&&e.isStringLiteral(o)?{kind:3,moduleSpecifier:o.text,importKind:i,typeOnly:t,useRequire:r}:void 0}(n,o,s)}));return u?[u]:m(r,a,i,o,s,n,c,l)}(n,p,s,c,r,a,i,l,u);return o(f?[f]:e.emptyArray,g)}function f(n,t){return e.isSourceFileJS(n)&&!n.externalModuleIndicator&&(!!n.commonJsModuleIndicator||e.getEmitModuleKind(t)<e.ModuleKind.ES2015)}function m(n,t,r,a,i,o,s,c){var l=e.isSourceFileJS(t),u=n.getCompilerOptions(),d=k(t,n,s).allowsImportingSpecifier,p=e.flatMap(o,(function(o){var d=o.moduleSymbol,p=o.importKind,f=o.exportedSymbolIsTypeOnly;return e.moduleSpecifiers.getModuleSpecifiers(d,u,t,e.createModuleSpecifierResolutionHost(n,s),c).map((function(n){return f&&l?{kind:1,moduleSpecifier:n,position:e.Debug.checkDefined(r,"position should be defined")}:{kind:3,moduleSpecifier:n,importKind:p,useRequire:i,typeOnly:a}}))}));return e.sort(p,(function(e,n){var t=d(e.moduleSpecifier),r=d(n.moduleSpecifier);return t&&!r?-1:r&&!t?1:e.moduleSpecifier.length-n.moduleSpecifier.length}))}function _(n,t,r,a){var i=e.getTokenAtPosition(n.sourceFile,r),o=t===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?function(n,t){var r=n.sourceFile,a=n.program,i=n.host,o=n.preferences,s=a.getTypeChecker(),c=function(n,t){var r=e.isIdentifier(n)?t.getSymbolAtLocation(n):void 0;if(e.isUMDExportSymbol(r))return r;var a=n.parent;return e.isJsxOpeningLikeElement(a)&&a.tagName===n||e.isJsxOpeningFragment(a)?e.tryCast(t.resolveName(t.getJsxNamespace(a),e.isJsxOpeningLikeElement(a)?n:a,111551,!1),e.isUMDExportSymbol):void 0}(t,s);if(!c)return;var l=s.getAliasedSymbol(c),u=c.name,d=[{moduleSymbol:l,importKind:g(r,a.getCompilerOptions()),exportedSymbolIsTypeOnly:!1}],m=f(r,a.getCompilerOptions());return{fixes:p(d,u,e.isIdentifier(t)?t.getStart(r):void 0,!1,m,a,r,i,o),symbolName:u}}(n,i):e.isIdentifier(i)?function(n,t,r){var a=n.sourceFile,i=n.program,o=n.cancellationToken,s=n.host,c=n.preferences,l=i.getTypeChecker(),u=function(n,t,r){var a=r.parent;if((e.isJsxOpeningLikeElement(a)||e.isJsxClosingElement(a))&&a.tagName===r){var i=t.getJsxNamespace(n);if(e.isIntrinsicJsxName(r.text)||!t.resolveName(i,a,111551,!0))return i}return r.text}(a,l,t);e.Debug.assert("default"!==u,"'default' isn't a legal identifier and couldn't occur here");var m=i.getCompilerOptions(),_=2===m.importsNotUsedAsValues&&e.isValidTypeOnlyAliasUseSite(t),g=f(a,m),h=function(n,t,r,a,i,o,s,c){var l=e.createMultiMap();function u(n,t,r){l.add(e.getUniqueSymbolId(t,i).toString(),{moduleSymbol:n,importKind:r,exportedSymbolIsTypeOnly:d(t,i)})}return C(o,c,a,!0,s,(function(e){r.throwIfCancellationRequested();var s=y(a,e,i,o.getCompilerOptions());s&&s.name===n&&D(s.symbolForMeaning,t)&&u(e,s.symbol,s.kind);var c=i.tryGetMemberInModuleExportsAndProperties(n,e);c&&D(c,t)&&u(e,c,0)})),l}(u,e.getMeaningFromLocation(t),o,a,l,i,r,s);return{fixes:e.arrayFrom(e.flatMapIterator(h.entries(),(function(e){e[0];return p(e[1],u,t.getStart(a),_,g,i,a,s,c)}))),symbolName:u}}(n,i,a):void 0;return o&&s(s({},o),{fixes:e.sort(o.fixes,(function(e,n){return e.kind-n.kind}))})}function g(n,t){if(e.getAllowSyntheticDefaultImports(t))return 1;var r=e.getEmitModuleKind(t);switch(r){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(n)&&e.isExternalModule(n)?2:3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;default:return e.Debug.assertNever(r,"Unexpected moduleKind "+r)}}function y(n,t,r,a){var i=function(e,n,t,r){var a=t.tryGetMemberInModuleExports("default",n);if(a)return{symbol:a,kind:1};var i=t.resolveExternalModuleSymbol(n);return i===n?void 0:{symbol:i,kind:h(e,r)}}(n,t,r,a);if(i){var o=i.symbol,c=i.kind,l=function n(t,r,a,i){var o=e.getLocalSymbolForExportDefault(t);if(o)return{symbolForMeaning:o,name:o.name};var s=function(n){return n.declarations&&e.firstDefined(n.declarations,(function(n){if(e.isExportAssignment(n)){if(e.isIdentifier(n.expression))return n.expression.text}else if(e.isExportSpecifier(n))return e.Debug.assert("default"===n.name.text,"Expected the specifier to be a default export"),n.propertyName&&n.propertyName.text}))}(t);if(void 0!==s)return{symbolForMeaning:t,name:s};if(2097152&t.flags){var c=a.getImmediateAliasedSymbol(t);return c&&n(c,e.Debug.checkDefined(c.parent,"Alias targets of default exports must have a parent"),a,i)}if("default"!==t.escapedName&&"export="!==t.escapedName)return{symbolForMeaning:t,name:t.getName()};return{symbolForMeaning:t,name:N(r,i.target)}}(o,t,r,a);return l&&s({symbol:o,kind:c},l)}}function h(n,t){var r=e.getAllowSyntheticDefaultImports(t);if(e.getEmitModuleKind(t)>=e.ModuleKind.ES2015)return r?1:2;if(e.isInJSFile(n))return e.isExternalModule(n)?1:3;for(var a=0,i=n.statements;a<i.length;a++){var o=i[a];if(e.isImportEqualsDeclaration(o))return 3}return r?1:3}function v(t,r,a,i,o){var s,c=e.textChanges.ChangeTracker.with(t,(function(n){s=function(n,t,r,a,i){switch(a.kind){case 0:return E(n,t,a),[e.Diagnostics.Change_0_to_1,r,a.namespacePrefix+"."+r];case 1:return T(n,t,a,i),[e.Diagnostics.Change_0_to_1,r,S(a.moduleSpecifier,i)+r];case 2:var o=a.importClauseOrBindingPattern,s=a.importKind,c=a.canUseTypeOnlyImport,l=a.moduleSpecifier;b(n,t,o,1===s?r:void 0,0===s?[r]:e.emptyArray,c);var u=e.stripQuotes(l);return[1===s?e.Diagnostics.Add_default_import_0_to_existing_import_declaration_from_1:e.Diagnostics.Add_0_to_existing_import_declaration_from_1,r,u];case 3:s=a.importKind,l=a.moduleSpecifier;var d=a.typeOnly,p=a.useRequire?x:L,f=1===s?{defaultImport:r,typeOnly:d}:0===s?{namedImports:[r],typeOnly:d}:{namespaceLikeImport:{importKind:s,name:r},typeOnly:d};return e.insertImports(n,t,p(l,i,f),!0),[1===s?e.Diagnostics.Import_default_0_from_module_1:e.Diagnostics.Import_0_from_module_1,r,l];default:return e.Debug.assertNever(a,"Unexpected fix kind "+a.kind)}}(n,r,a,i,o)}));return n.createCodeFixAction(n.importFixName,c,s,"fixMissingImport",e.Diagnostics.Add_all_missing_imports)}function b(n,t,r,a,i,o){if(193!==r.kind){var s=!o&&r.isTypeOnly;if(a&&(e.Debug.assert(!r.name,"Cannot add a default import to an import clause that already has one"),n.insertNodeAt(t,r.getStart(t),e.factory.createIdentifier(a),{suffix:", "})),i.length){var c=r.namedBindings&&e.cast(r.namedBindings,e.isNamedImports).elements,l=e.stableSort(i.map((function(n){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(n))})),e.OrganizeImports.compareImportOrExportSpecifiers);if((null==c?void 0:c.length)&&e.OrganizeImports.importSpecifiersAreSorted(c))for(var u=0,d=l;u<d.length;u++){var p=d[u],f=e.OrganizeImports.getImportSpecifierInsertionIndex(c,p),m=r.namedBindings.elements[f-1];m?n.insertNodeInListAfter(t,m,p):n.insertNodeBefore(t,c[0],p,!e.positionsAreOnSameLine(c[0].getStart(),r.parent.getStart(),t))}else if(null==c?void 0:c.length)for(var _=0,g=l;_<g.length;_++){p=g[_];n.insertNodeInListAfter(t,e.last(c),p,c)}else if(l.length){var y=e.factory.createNamedImports(l);r.namedBindings?n.replaceNode(t,r.namedBindings,y):n.insertNodeAfter(t,e.Debug.checkDefined(r.name,"Import clause must have either named imports or a default import"),y)}}s&&n.delete(t,e.getTypeKeywordOfTypeOnlyImport(r,t))}else{a&&b(r,a,"default");for(var h=0,v=i;h<v.length;h++){b(r,v[h],void 0)}}function b(r,a,i){var o=e.factory.createBindingElement(void 0,i,a);r.elements.length?n.insertNodeInListAfter(t,e.last(r.elements),o):n.replaceNode(t,r,e.factory.createObjectBindingPattern([o]))}}function E(e,n,t){var r=t.namespacePrefix,a=t.position;e.insertText(n,a,r+".")}function T(e,n,t,r){var a=t.moduleSpecifier,i=t.position;e.insertText(n,i,S(a,r))}function S(n,t){var r=e.getQuoteFromPreference(t);return"import("+r+n+r+")."}function L(n,t,r){var a,i,o,s=e.makeStringLiteral(n,t);(void 0!==r.defaultImport||(null===(a=r.namedImports)||void 0===a?void 0:a.length))&&(o=e.combine(o,e.makeImport(void 0===r.defaultImport?void 0:e.factory.createIdentifier(r.defaultImport),null===(i=r.namedImports)||void 0===i?void 0:i.map((function(n){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(n))})),n,t,r.typeOnly)));var c=r.namespaceLikeImport,l=r.typeOnly;if(c){var u=3===c.importKind?e.factory.createImportEqualsDeclaration(void 0,void 0,e.factory.createIdentifier(c.name),e.factory.createExternalModuleReference(s)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(l,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(c.name))),s);o=e.combine(o,u)}return e.Debug.checkDefined(o)}function x(n,t,r){var a,i,o,s=e.makeStringLiteral(n,t);if(r.defaultImport||(null===(a=r.namedImports)||void 0===a?void 0:a.length)){var c=(null===(i=r.namedImports)||void 0===i?void 0:i.map((function(n){return e.factory.createBindingElement(void 0,void 0,n)})))||[];r.defaultImport&&c.unshift(e.factory.createBindingElement(void 0,"default",r.defaultImport));var l=A(e.factory.createObjectBindingPattern(c),s);o=e.combine(o,l)}if(r.namespaceLikeImport){l=A(r.namespaceLikeImport.name,s);o=e.combine(o,l)}return e.Debug.checkDefined(o)}function A(n,t){return e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration("string"==typeof n?e.factory.createIdentifier(n):n,void 0,void 0,e.factory.createCallExpression(e.factory.createIdentifier("require"),void 0,[t]))],2))}function D(n,t){var r=n.declarations;return e.some(r,(function(n){return!!(e.getMeaningFromDeclaration(n)&t)}))}function C(n,t,r,a,i,o){var s,c;I(n,t,r,a,(function(e,t){return o(e,t,n,!1)}));var l=i&&(null===(s=t.getPackageJsonAutoImportProvider)||void 0===s?void 0:s.call(t));if(l){var u=e.timestamp();I(l,t,r,a,(function(e,n){return o(e,n,l,!0)})),null===(c=t.log)||void 0===c||c.call(t,"forEachExternalModuleToImportFrom autoImportProvider: "+(e.timestamp()-u))}}function I(n,t,r,a,i){var o,s=0,c=e.createModuleSpecifierResolutionHost(n,t),l=a&&k(r,n,t,c);!function(n,t,r){for(var a=0,i=n.getAmbientModules();a<i.length;a++){var o=i[a];r(o,void 0)}for(var s=0,c=t;s<c.length;s++){var l=c[s];e.isExternalOrCommonJsModule(l)&&r(n.getMergedSymbol(l.symbol),l)}}(n.getTypeChecker(),n.getSourceFiles(),(function(t,a){void 0===a?!l||l.allowsImportingAmbientModule(t)?i(t,a):l&&s++:a&&a!==r&&function(n,t,r,a){var i,o=e.hostGetCanonicalFileName(a),s=null===(i=a.getGlobalTypingsCacheLocation)||void 0===i?void 0:i.call(a);return!!e.moduleSpecifiers.forEachFileNameOfModule(t.fileName,r.fileName,a,!1,(function(a){var i=n.getSourceFile(a);return(i===r||!i)&&function(n,t,r,a){var i=e.forEachAncestorDirectory(t,(function(n){return"node_modules"===e.getBaseFileName(n)?n:void 0})),o=i&&e.getDirectoryPath(r(i));return void 0===o||e.startsWith(r(n),o)||!!a&&e.startsWith(r(a),o)}(t.fileName,a,o,s)}))}(n,r,a,c)&&(!l||l.allowsImportingSourceFile(a)?i(t,a):l&&s++)})),null===(o=t.log)||void 0===o||o.call(t,"forEachExternalModuleToImportFrom: filtered out "+s+" modules by package.json contents")}function N(n,t){return R(e.removeFileExtension(e.stripQuotes(n.name)),t)}function R(n,t){var r=e.getBaseFileName(e.removeSuffix(n,"/index")),a="",i=!0,o=r.charCodeAt(0);e.isIdentifierStart(o,t)?a+=String.fromCharCode(o):i=!1;for(var s=1;s<r.length;s++){var c=r.charCodeAt(s),l=e.isIdentifierPart(c,t);if(l){var u=String.fromCharCode(c);i||(u=u.toUpperCase()),a+=u}i=l}return e.isStringANonContextualKeyword(a)?"_"+a:a||"_"}function k(n,t,r,a){void 0===a&&(a=e.createModuleSpecifierResolutionHost(t,r));var i,o=(r.getPackageJsonsVisibleToFile&&r.getPackageJsonsVisibleToFile(n.fileName)||e.getPackageJsonsVisibleToFile(n.fileName,r)).filter((function(e){return e.parseable}));return{allowsImportingAmbientModule:function(n){if(!o.length)return!0;var t=l(n.valueDeclaration.getSourceFile().fileName);if(void 0===t)return!0;var r=e.stripQuotes(n.getName());if(c(r))return!0;return s(t)||s(r)},allowsImportingSourceFile:function(e){if(!o.length)return!0;var n=l(e.fileName);if(!n)return!0;return s(n)},allowsImportingSpecifier:function(n){if(!o.length||c(n))return!0;if(e.pathIsRelative(n)||e.isRootedDiskPath(n))return!0;return s(n)},moduleSpecifierResolutionHost:a};function s(n){for(var t=u(n),r=0,a=o;r<a.length;r++){var i=a[r];if(i.has(t)||i.has(e.getTypesPackageName(t)))return!0}return!1}function c(t){return!!(e.isSourceFileJS(n)&&e.JsTyping.nodeCoreModules.has(t)&&(void 0===i&&(i=e.consumesNodeCoreModules(n)),i))}function l(t){if(e.stringContains(t,"node_modules")){var i=e.moduleSpecifiers.getNodeModulesPackageName(r.getCompilationSettings(),n.path,t,a);if(i)return e.pathIsRelative(i)||e.isRootedDiskPath(i)?void 0:u(i)}}function u(n){var t=e.getPathComponents(e.getPackageNameFromTypesPackageName(n)).slice(1);return e.startsWith(t[0],"@")?t[0]+"/"+t[1]:t[0]}}n.registerCodeFix({errorCodes:a,getCodeActions:function(n){var t=n.errorCode,r=n.preferences,a=n.sourceFile,i=n.span,o=_(n,t,i.start,!0);if(o){var s=o.fixes,c=o.symbolName,l=e.getQuotePreference(a,r);return s.map((function(e){return v(n,a,c,e,l)}))}},fixIds:["fixMissingImport"],getAllCodeActions:function(t){var r=i(t.sourceFile,t.program,!0,t.preferences,t.host);return n.eachDiagnostic(t,a,(function(e){return r.addImportFromDiagnostic(e,t)})),n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(t,r.writeFixes))}}),n.createImportAdder=function(e,n,t,r){return i(e,n,!1,t,r)},function(e){e[e.UseNamespace=0]="UseNamespace",e[e.ImportType=1]="ImportType",e[e.AddToExisting=2]="AddToExisting",e[e.AddNew=3]="AddNew"}(t||(t={})),function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS"}(r||(r={})),n.getImportCompletionAction=function(n,t,r,a,i,o,s,u,d){var p,_,g,y,h=o.getCompilerOptions(),b=l(r,n,t,a,i,o,!0),E=f(r,h),T=2===h.importsNotUsedAsValues&&!e.isSourceFileJS(r)&&e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(r,u)),S=e.first(m(o,r,u,T,E,b,i,d)).moduleSpecifier,L=c(r,b,t,a,o,u,T,E,i,d);return{moduleSpecifier:S,codeAction:(p=v({host:i,formatContext:s,preferences:d},r,a,L,e.getQuotePreference(r,d)),_=p.description,g=p.changes,y=p.commands,{description:_,changes:g,commands:y})}},n.forEachExternalModuleToImportFrom=C,n.moduleSymbolToValidIdentifier=N,n.moduleSpecifierToValidIdentifier=R}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixImplicitThis",r=[e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);e.Debug.assert(107===i.kind);var o=e.getThisContainer(i,!1);if((e.isFunctionDeclaration(o)||e.isFunctionExpression(o))&&!e.isSourceFile(e.getThisContainer(o,!1))){var s=e.Debug.assertDefined(e.findChildOfKind(o,97,t)),c=o.name,l=e.Debug.assertDefined(o.body);if(e.isFunctionExpression(o)){if(c&&e.FindAllReferences.Core.isSymbolReferencedInFile(c,a,t,l))return;return n.delete(t,s),c&&n.delete(t,c),n.insertText(t,l.pos," =>"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,c?c.text:e.ANONYMOUS]}return n.replaceNode(t,s,e.factory.createToken(84)),n.insertText(t,c.end," = "),n.insertText(t,l.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,c.text]}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i,o=r.sourceFile,s=r.program,c=r.span,l=e.textChanges.ChangeTracker.with(r,(function(e){i=a(e,o,c.start,s.getTypeChecker())}));return i?[n.createCodeFixAction(t,l,i,t,e.Diagnostics.Fix_all_implicit_this_errors)]:e.emptyArray},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){a(n,t.file,t.start,e.program.getTypeChecker())}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixIncorrectNamedTupleSyntax",r=[e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=function(n,t){var r=e.getTokenAtPosition(n,t);return e.findAncestor(r,(function(e){return 191===e.kind}))}(a,i.start),s=e.textChanges.ChangeTracker.with(r,(function(n){return function(n,t,r){if(!r)return;var a=r.type,i=!1,o=!1;for(;179===a.kind||180===a.kind||185===a.kind;)179===a.kind?i=!0:180===a.kind&&(o=!0),a=a.type;var s=e.factory.updateNamedTupleMember(r,r.dotDotDotToken||(o?e.factory.createToken(25):void 0),r.name,r.questionToken||(i?e.factory.createToken(57):void 0),a);if(s===r)return;n.replaceNode(t,r,s)}(n,a,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,t,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[t]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2.code,e.Diagnostics.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];function r(n,t,r,a){var i=e.getTokenAtPosition(n,t),o=i.parent;if(a!==e.Diagnostics.No_overload_matches_this_call.code&&a!==e.Diagnostics.Type_0_is_not_assignable_to_type_1.code||e.isJsxAttribute(o)){var s,c=r.program.getTypeChecker();if(e.isPropertyAccessExpression(o)&&o.name===i){e.Debug.assert(e.isIdentifierOrPrivateIdentifier(i),"Expected an identifier for spelling (property access)");var l=c.getTypeAtLocation(o.expression);32&o.flags&&(l=c.getNonNullableType(l)),s=c.getSuggestedSymbolForNonexistentProperty(i,l)}else if(e.isImportSpecifier(o)&&o.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for spelling (import)");var u=function(n,t,r){if(!r||!e.isStringLiteralLike(r.moduleSpecifier))return;var a=e.getResolvedModule(n,r.moduleSpecifier.text);return a?t.program.getSourceFile(a.resolvedFileName):void 0}(n,r,e.findAncestor(i,e.isImportDeclaration));u&&u.symbol&&(s=c.getSuggestedSymbolForNonexistentModule(i,u.symbol))}else if(e.isJsxAttribute(o)&&o.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for JSX attribute");var d=e.findAncestor(i,e.isJsxOpeningLikeElement),p=c.getContextualTypeForArgumentAtIndex(d,0);s=c.getSuggestedSymbolForNonexistentJSXAttribute(i,p)}else{var f=e.getMeaningFromLocation(i),m=e.getTextOfNode(i);e.Debug.assert(void 0!==m,"name should be defined"),s=c.getSuggestedSymbolForNonexistentSymbol(i,m,function(e){var n=0;4&e&&(n|=1920);2&e&&(n|=788968);1&e&&(n|=111551);return n}(f))}return void 0===s?void 0:{node:i,suggestedSymbol:s}}}function a(n,t,r,a,i){var o=e.symbolName(a);if(!e.isIdentifierText(o,i)&&e.isPropertyAccessExpression(r.parent)){var s=a.valueDeclaration;e.isNamedDeclaration(s)&&e.isPrivateIdentifier(s.name)?n.replaceNode(t,r,e.factory.createIdentifier(o)):n.replaceNode(t,r.parent,e.factory.createElementAccessExpression(r.parent.expression,e.factory.createStringLiteral(o)))}else n.replaceNode(t,r,e.factory.createIdentifier(o))}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=t.sourceFile,o=t.errorCode,s=r(i,t.span.start,t,o);if(s){var c=s.node,l=s.suggestedSymbol,u=t.host.getCompilationSettings().target,d=e.textChanges.ChangeTracker.with(t,(function(e){return a(e,i,c,l,u)}));return[n.createCodeFixAction("spelling",d,[e.Diagnostics.Change_spelling_to_0,e.symbolName(l)],"fixSpelling",e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:["fixSpelling"],getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){var i=r(t.file,t.start,e,t.code),o=e.host.getCompilationSettings().target;i&&a(n,e.sourceFile,i.node,i.suggestedSymbol,o)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t,r="returnValueCorrect",a=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];function i(n,t,r){var a=n.createSymbol(4,t.escapedText);a.type=n.getTypeAtLocation(r);var i=e.createSymbolTable([a]);return n.createAnonymousType(void 0,i,[],[],void 0,void 0)}function o(n,r,a,o){if(r.body&&e.isBlock(r.body)&&1===e.length(r.body.statements)){var c=e.first(r.body.statements);if(e.isExpressionStatement(c)&&s(n,r,n.getTypeAtLocation(c.expression),a,o))return{declaration:r,kind:t.MissingReturnStatement,expression:c.expression,statement:c,commentSource:c.expression};if(e.isLabeledStatement(c)&&e.isExpressionStatement(c.statement)){var l=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(c.label,c.statement.expression)]);if(s(n,r,i(n,c.label,c.statement.expression),a,o))return e.isArrowFunction(r)?{declaration:r,kind:t.MissingParentheses,expression:l,statement:c,commentSource:c.statement.expression}:{declaration:r,kind:t.MissingReturnStatement,expression:l,statement:c,commentSource:c.statement.expression}}else if(e.isBlock(c)&&1===e.length(c.statements)){var u=e.first(c.statements);if(e.isLabeledStatement(u)&&e.isExpressionStatement(u.statement)){l=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(u.label,u.statement.expression)]);if(s(n,r,i(n,u.label,u.statement.expression),a,o))return{declaration:r,kind:t.MissingReturnStatement,expression:l,statement:c,commentSource:u}}}}}function s(n,t,r,a,i){if(i){var o=n.getSignatureFromDeclaration(t);if(o){e.hasSyntacticModifier(t,256)&&(r=n.createPromiseType(r));var s=n.createSignature(t,o.typeParameters,o.thisParameter,o.parameters,r,void 0,o.minArgumentCount,o.flags);r=n.createAnonymousType(void 0,e.createSymbolTable(),[s],[],void 0,void 0)}else r=n.getAnyType()}return n.isTypeAssignableTo(r,a)}function c(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(i.parent){var s=e.findAncestor(i.parent,e.isFunctionLikeDeclaration);switch(a){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!(s&&s.body&&s.type&&e.rangeContainsRange(s.type,i)))return;return o(n,s,n.getTypeFromTypeNode(s.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!s||!e.isCallExpression(s.parent)||!s.body)return;var c=s.parent.arguments.indexOf(s),l=n.getContextualTypeForArgumentAtIndex(s.parent,c);if(!l)return;return o(n,s,l,!0);case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(i)||!e.isVariableLike(i.parent)&&!e.isJsxAttribute(i.parent))return;var u=function(n){switch(n.kind){case 246:case 159:case 195:case 162:case 285:return n.initializer;case 277:return n.initializer&&(e.isJsxExpression(n.initializer)?n.initializer.expression:void 0);case 286:case 161:case 288:case 328:case 322:return}}(i.parent);if(!u||!e.isFunctionLikeDeclaration(u)||!u.body)return;return o(n,u,n.getTypeAtLocation(i.parent),!0)}}}function l(n,t,r,a){e.suppressLeadingAndTrailingTrivia(r);var i=e.probablyUsesSemicolons(t);n.replaceNode(t,a,e.factory.createReturnStatement(r),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function u(n,t,r,a,i,o){var s=o||e.needsParentheses(a)?e.factory.createParenthesizedExpression(a):a;e.suppressLeadingAndTrailingTrivia(i),e.copyComments(i,s),n.replaceNode(t,r.body,s)}function d(n,t,r,a){n.replaceNode(t,r.body,e.factory.createParenthesizedExpression(a))}function p(t,a,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return l(e,t.sourceFile,a,i)}));return n.createCodeFixAction(r,o,e.Diagnostics.Add_a_return_statement,"fixAddReturnStatement",e.Diagnostics.Add_all_missing_return_statement)}function f(t,a,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return d(e,t.sourceFile,a,i)}));return n.createCodeFixAction(r,o,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,"fixWrapTheBlockWithParen",e.Diagnostics.Wrap_all_object_literal_with_parentheses)}!function(e){e[e.MissingReturnStatement=0]="MissingReturnStatement",e[e.MissingParentheses=1]="MissingParentheses"}(t||(t={})),n.registerCodeFix({errorCodes:a,fixIds:["fixAddReturnStatement","fixRemoveBracesFromArrowFunctionBody","fixWrapTheBlockWithParen"],getCodeActions:function(a){var i=a.program,o=a.sourceFile,s=a.span.start,l=a.errorCode,d=c(i.getTypeChecker(),o,s,l);if(d)return d.kind===t.MissingReturnStatement?e.append([p(a,d.expression,d.statement)],e.isArrowFunction(d.declaration)?function(t,a,i,o){var s=e.textChanges.ChangeTracker.with(t,(function(e){return u(e,t.sourceFile,a,i,o,!1)}));return n.createCodeFixAction(r,s,e.Diagnostics.Remove_braces_from_arrow_function_body,"fixRemoveBracesFromArrowFunctionBody",e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(a,d.declaration,d.expression,d.commentSource):void 0):[f(a,d.declaration,d.expression)]},getAllCodeActions:function(t){return n.codeFixAll(t,a,(function(n,r){var a=c(t.program.getTypeChecker(),r.file,r.start,r.code);if(a)switch(t.fixId){case"fixAddReturnStatement":l(n,r.file,a.expression,a.statement);break;case"fixRemoveBracesFromArrowFunctionBody":if(!e.isArrowFunction(a.declaration))return;u(n,r.file,a.declaration,a.expression,a.commentSource,!1);break;case"fixWrapTheBlockWithParen":if(!e.isArrowFunction(a.declaration))return;d(n,r.file,a.declaration,a.expression);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t,r="addMissingMember",a=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code],i="addMissingMember";function o(n,t,r,a){var i=e.getTokenAtPosition(n,t);if(e.isIdentifier(i)||e.isPrivateIdentifier(i)){var o=i.parent;if(e.isPropertyAccessExpression(o)){var s=e.skipConstraint(r.getTypeAtLocation(o.expression)),c=s.symbol;if(c&&c.declarations){var l=e.find(c.declarations,e.isClassLike);if(l||!e.isPrivateIdentifier(i)){var u=l||e.find(c.declarations,e.isInterfaceDeclaration);if(u&&!a.isSourceFileFromExternalLibrary(u.getSourceFile())){var d=(s.target||s)!==r.getDeclaredTypeOfSymbol(c);if(d&&(e.isPrivateIdentifier(i)||e.isInterfaceDeclaration(u)))return;var p=u.getSourceFile(),f=(d?32:0)|(e.startsWithUnderscore(i.text)?8:0),m=e.isSourceFileJS(p);return{kind:1,token:i,call:e.tryCast(o.parent,e.isCallExpression),modifierFlags:f,parentDeclaration:u,declSourceFile:p,isJSFile:m}}var _=e.find(c.declarations,e.isEnumDeclaration);return!_||e.isPrivateIdentifier(i)||a.isSourceFileFromExternalLibrary(_.getSourceFile())?void 0:{kind:0,token:i,parentDeclaration:_}}}}}}function s(n,t,r,a,i){var o=a.text;if(i){if(218===r.kind)return;var s=r.name.getText(),l=c(e.factory.createIdentifier(s),o);n.insertNodeAfter(t,r,l)}else if(e.isPrivateIdentifier(a)){var u=e.factory.createPropertyDeclaration(void 0,void 0,o,void 0,void 0,void 0),p=d(r);p?n.insertNodeAfter(t,p,u):n.insertNodeAtClassStart(t,r,u)}else{var f=e.getFirstConstructorWithBody(r);if(!f)return;var m=c(e.factory.createThis(),o);n.insertNodeAtConstructorEnd(t,f,m)}}function c(n,t){return e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createPropertyAccessExpression(n,t),e.factory.createIdentifier("undefined")))}function l(n,t,r){var a;if(213===r.parent.parent.kind){var i=r.parent.parent,o=r.parent===i.left?i.right:i.left,s=n.getWidenedType(n.getBaseTypeOfLiteralType(n.getTypeAtLocation(o)));a=n.typeToTypeNode(s,t,void 0)}else{var c=n.getContextualType(r.parent);a=c?n.typeToTypeNode(c,void 0,void 0):void 0}return a||e.factory.createKeywordTypeNode(128)}function u(n,t,r,a,i,o){var s=e.factory.createPropertyDeclaration(void 0,o?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(o)):void 0,a,void 0,i,void 0),c=d(r);c?n.insertNodeAfter(t,c,s):n.insertNodeAtClassStart(t,r,s)}function d(n){for(var t,r=0,a=n.members;r<a.length;r++){var i=a[r];if(!e.isPropertyDeclaration(i))break;t=i}return t}function p(t,r,a,i,o,s,c,l){var u=n.createImportAdder(c,t.program,t.preferences,t.host),d=n.createMethodFromCallExpression(t,u,a,i,o,s,l),p=e.findAncestor(a,(function(n){return e.isMethodDeclaration(n)||e.isConstructorDeclaration(n)}));p&&p.parent===s?r.insertNodeAfter(c,p,d):r.insertNodeAtClassStart(c,s,d),u.writeFixes(r)}function f(n,t,r,a){var i=e.some(a.members,(function(e){var n=t.getTypeAtLocation(e);return!!(n&&132&n.flags)})),o=e.factory.createEnumMember(r,i?e.factory.createStringLiteral(r.text):void 0);n.replaceNode(a.getSourceFile(),a,e.factory.updateEnumDeclaration(a,a.decorators,a.modifiers,a.name,e.concatenate(a.members,e.singleElementArray(o))),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude})}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){var a=o(t.sourceFile,t.span.start,t.program.getTypeChecker(),t.program);if(a){if(0===a.kind){var c=a.token,d=a.parentDeclaration,m=e.textChanges.ChangeTracker.with(t,(function(e){return f(e,t.program.getTypeChecker(),c,d)}));return[n.createCodeFixAction(r,m,[e.Diagnostics.Add_missing_enum_member_0,c.text],i,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(function(t,a){var o=a.parentDeclaration,s=a.declSourceFile,c=a.modifierFlags,l=a.token,u=a.call,d=a.isJSFile;if(void 0===u)return;if(e.isPrivateIdentifier(l))return;var f=l.text,m=function(n){return e.textChanges.ChangeTracker.with(t,(function(e){return p(t,e,u,f,n,o,s,d)}))},_=[n.createCodeFixAction(r,m(32&c),[32&c?e.Diagnostics.Declare_static_method_0:e.Diagnostics.Declare_method_0,f],i,e.Diagnostics.Add_all_missing_members)];8&c&&_.unshift(n.createCodeFixActionWithoutFixAll(r,m(8),[e.Diagnostics.Declare_private_method_0,f]));return _}(t,a),function(t,a){return a.isJSFile?e.singleElementArray(function(t,a){var o=a.parentDeclaration,c=a.declSourceFile,l=a.modifierFlags,u=a.token;if(e.isInterfaceDeclaration(o))return;var d=e.textChanges.ChangeTracker.with(t,(function(e){return s(e,c,o,u,!!(32&l))}));if(0===d.length)return;var p=32&l?e.Diagnostics.Initialize_static_property_0:e.isPrivateIdentifier(u)?e.Diagnostics.Declare_a_private_field_named_0:e.Diagnostics.Initialize_property_0_in_the_constructor;return n.createCodeFixAction(r,d,[p,u.text],i,e.Diagnostics.Add_all_missing_members)}(t,a)):function(t,a){var o=a.parentDeclaration,s=a.declSourceFile,c=a.modifierFlags,d=a.token,p=d.text,f=32&c,m=l(t.program.getTypeChecker(),o,d),_=function(n){return e.textChanges.ChangeTracker.with(t,(function(e){return u(e,s,o,p,m,n)}))},g=[n.createCodeFixAction(r,_(32&c),[f?e.Diagnostics.Declare_static_property_0:e.Diagnostics.Declare_property_0,p],i,e.Diagnostics.Add_all_missing_members)];if(f||e.isPrivateIdentifier(d))return g;8&c&&g.unshift(n.createCodeFixActionWithoutFixAll(r,_(8),[e.Diagnostics.Declare_private_property_0,p]));return g.push(function(t,a,i,o,s){var c=e.factory.createKeywordTypeNode(146),l=e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,c,void 0),u=e.factory.createIndexSignature(void 0,void 0,[l],s),d=e.textChanges.ChangeTracker.with(t,(function(e){return e.insertNodeAtClassStart(a,i,u)}));return n.createCodeFixActionWithoutFixAll(r,d,[e.Diagnostics.Add_index_signature_for_property_0,o])}(t,s,o,d.text,m)),g}(t,a)}(t,a))}},fixIds:[i],getAllCodeActions:function(t){var r=t.program,i=r.getTypeChecker(),c=new e.Map,d=new e.Map;return n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(t,(function(m){n.eachDiagnostic(t,a,(function(n){var r=o(n.file,n.start,i,t.program);if(r&&e.addToSeen(c,e.getNodeId(r.parentDeclaration)+"#"+r.token.text))if(0===r.kind){var a=r.token,s=r.parentDeclaration;f(m,i,a,s)}else{s=r.parentDeclaration;var l=r.token,u=e.getOrUpdate(d,s,(function(){return[]}));u.some((function(e){return e.token.text===l.text}))||u.push(r)}})),d.forEach((function(a,o){for(var c=n.getAllSupers(o,i),f=function(n){if(c.some((function(e){var t=d.get(e);return!!t&&t.some((function(e){return e.token.text===n.token.text}))})))return"continue";var a=n.parentDeclaration,i=n.declSourceFile,o=n.modifierFlags,f=n.token,_=n.call,g=n.isJSFile;if(_&&!e.isPrivateIdentifier(f))p(t,m,_,f.text,32&o,a,i,g);else if(g&&!e.isInterfaceDeclaration(a))s(m,i,a,f,!!(32&o));else{var y=l(r.getTypeChecker(),a,f);u(m,i,a,f.text,y,32&o)}},_=0,g=a;_<g.length;_++){f(g[_])}}))})))}}),function(e){e[e.Enum=0]="Enum",e[e.ClassOrInterface=1]="ClassOrInterface"}(t||(t={}))}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="addMissingNewOperator",r=[e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];function a(n,t,r){var a=e.cast(function(n,t){var r=e.getTokenAtPosition(n,t.start),a=e.textSpanEnd(t);for(;r.end<a;)r=r.parent;return r}(t,r),e.isCallExpression),i=e.factory.createNewExpression(a.expression,a.typeArguments,a.arguments);n.replaceNode(t,a,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.sourceFile,o=r.span,s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Add_missing_new_operator_to_call,t,e.Diagnostics.Add_missing_new_operator_to_all_calls)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return a(n,e.sourceFile,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code,r=[t,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code];function a(e,n){return{type:"install package",file:e,packageName:n}}function i(n,t){var r=e.cast(e.getTokenAtPosition(n,t),e.isStringLiteral).text,a=e.parsePackageName(r).packageName;return e.isExternalModuleNameRelative(a)?void 0:a}function o(n,r,a){return a===t?e.JsTyping.nodeCoreModules.has(n)?"@types/node":void 0:r.isKnownTypesPackageName(n)?e.getTypesPackageName(n):void 0}n.registerCodeFix({errorCodes:r,getCodeActions:function(t){var r=t.host,s=t.sourceFile,c=i(s,t.span.start);if(void 0!==c){var l=o(c,r,t.errorCode);return void 0===l?[]:[n.createCodeFixAction("fixCannotFindModule",[],[e.Diagnostics.Install_0,l],"installTypesPackage",e.Diagnostics.Install_all_missing_types_packages,a(s.fileName,l))]}},fixIds:["installTypesPackage"],getAllCodeActions:function(t){return n.codeFixAll(t,r,(function(n,r,s){var c=i(r.file,r.start);if(void 0!==c)switch(t.fixId){case"installTypesPackage":var l=o(c,t.host,r.code);l&&s.push(a(r.file.fileName,l));break;default:e.Debug.fail("Bad fixId: "+t.fixId)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],r="fixClassDoesntImplementInheritedAbstractMember";function a(n,t){var r=e.getTokenAtPosition(n,t);return e.cast(r.parent,e.isClassLike)}function i(t,r,a,i,s){var c=e.getEffectiveBaseTypeNode(t),l=a.program.getTypeChecker(),u=l.getTypeAtLocation(c),d=l.getPropertiesOfType(u).filter(o),p=n.createImportAdder(r,a.program,s,a.host);n.createMissingMemberNodes(t,d,r,a,s,p,(function(e){return i.insertNodeAtClassStart(r,t,e)})),p.writeFixes(i)}function o(n){var t=e.getSyntacticModifierFlags(e.first(n.getDeclarations()));return!(8&t||!(128&t))}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var o=t.sourceFile,s=t.span,c=e.textChanges.ChangeTracker.with(t,(function(e){return i(a(o,s.start),o,t,e,t.preferences)}));return 0===c.length?void 0:[n.createCodeFixAction(r,c,e.Diagnostics.Implement_inherited_abstract_class,r,e.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[r],getAllCodeActions:function(r){var o=new e.Map;return n.codeFixAll(r,t,(function(n,t){var s=a(t.file,t.start);e.addToSeen(o,e.getNodeId(s))&&i(s,r.sourceFile,r,n,r.preferences)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="classSuperMustPrecedeThisAccess",r=[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];function a(e,n,t,r){e.insertNodeAtConstructorStart(n,t,r),e.delete(n,r)}function i(n,t){var r=e.getTokenAtPosition(n,t);if(107===r.kind){var a=e.getContainingFunction(r),i=o(a.body);return i&&!i.expression.arguments.some((function(n){return e.isPropertyAccessExpression(n)&&n.expression===r}))?{constructor:a,superCall:i}:void 0}}function o(n){return e.isExpressionStatement(n)&&e.isSuperCall(n.expression)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=i(o,s.start);if(c){var l=c.constructor,u=c.superCall,d=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,o,l,u)}));return[n.createCodeFixAction(t,d,e.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,t,e.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]}},fixIds:[t],getAllCodeActions:function(t){var o=t.sourceFile,s=new e.Map;return n.codeFixAll(t,r,(function(n,t){var r=i(t.file,t.start);if(r){var c=r.constructor,l=r.superCall;e.addToSeen(s,e.getNodeId(c.parent))&&a(n,o,c,l)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="constructorForDerivedNeedSuperCall",r=[e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(e.isConstructorDeclaration(r.parent),"token should be at the constructor declaration"),r.parent}function i(n,t,r){var a=e.factory.createExpressionStatement(e.factory.createCallExpression(e.factory.createSuper(),void 0,e.emptyArray));n.insertNodeAtConstructorStart(t,r,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start),l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_missing_super_call,t,e.Diagnostics.Add_all_missing_super_calls)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return i(n,e.sourceFile,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="enableExperimentalDecorators",r=[e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning.code];function a(t,r){n.setJsonCompilerOptionValue(t,r,"experimentalDecorators",e.factory.createTrue())}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.program.getCompilerOptions().configFile;if(void 0!==i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i)}));return[n.createCodeFixActionWithoutFixAll(t,o,e.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&a(n,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixEnableJsxFlag",r=[e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];function a(t,r){n.setJsonCompilerOptionValue(t,r,"jsx",e.factory.createStringLiteral("react"))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.program.getCompilerOptions().configFile;if(void 0!==i){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i)}));return[n.createCodeFixActionWithoutFixAll(t,o,e.Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&a(n,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){n.registerCodeFix({errorCodes:[e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(t){var r=t.program.getCompilerOptions(),a=r.configFile;if(void 0!==a){var i=[],o=e.getEmitModuleKind(r);if(o>=e.ModuleKind.ES2015&&o<e.ModuleKind.ESNext){var s=e.textChanges.ChangeTracker.with(t,(function(t){n.setJsonCompilerOptionValue(t,a,"module",e.factory.createStringLiteral("esnext"))}));i.push(n.createCodeFixActionWithoutFixAll("fixModuleOption",s,[e.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}var c=e.getEmitScriptTarget(r);if(c<4||c>99){s=e.textChanges.ChangeTracker.with(t,(function(t){if(e.getTsConfigObjectLiteralExpression(a)){var r=[["target",e.factory.createStringLiteral("es2017")]];o===e.ModuleKind.CommonJS&&r.push(["module",e.factory.createStringLiteral("commonjs")]),n.setJsonCompilerOptionValues(t,a,r)}}));i.push(n.createCodeFixActionWithoutFixAll("fixTargetOption",s,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return i.length?i:void 0}}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixPropertyAssignment",r=[e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];function a(n,t,r){n.replaceNode(t,r,e.factory.createPropertyAssignment(r.name,r.objectAssignmentInitializer))}function i(n,t){return e.cast(e.getTokenAtPosition(n,t).parent,e.isShorthandPropertyAssignment)}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=i(r.sourceFile,r.span.start),s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,[e.Diagnostics.Change_0_to_1,"=",":"],t,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,i(n.file,n.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="extendsInterfaceBecomesImplements",r=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.getContainingClass(r).heritageClauses,i=a[0].getFirstToken();return 93===i.kind?{extendsToken:i,heritageClauses:a}:void 0}function i(n,t,r,a){if(n.replaceNode(t,r,e.factory.createToken(116)),2===a.length&&93===a[0].token&&116===a[1].token){var i=a[1].getFirstToken(),o=i.getFullStart();n.replaceRange(t,{pos:o,end:o},e.factory.createToken(27));for(var s=t.text,c=i.end;c<s.length&&e.isWhiteSpaceSingleLine(s.charCodeAt(c));)c++;n.deleteRange(t,{pos:i.getStart(),end:c})}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=a(o,r.span.start);if(s){var c=s.extendsToken,l=s.heritageClauses,u=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c,l)}));return[n.createCodeFixAction(t,u,e.Diagnostics.Change_extends_to_implements,t,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t.extendsToken,t.heritageClauses)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="forgottenThisPropertyAccess",r=e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,a=[e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,r];function i(n,t,a){var i=e.getTokenAtPosition(n,t);if(e.isIdentifier(i))return{node:i,className:a===r?e.getContainingClass(i).name.text:void 0}}function o(n,t,r){var a=r.node,i=r.className;e.suppressLeadingAndTrailingTrivia(a),n.replaceNode(t,a,e.factory.createPropertyAccessExpression(i?e.factory.createIdentifier(i):e.factory.createThis(),a))}n.registerCodeFix({errorCodes:a,getCodeActions:function(r){var a=r.sourceFile,s=i(a,r.span.start,r.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return o(e,a,s)}));return[n.createCodeFixAction(t,c,[e.Diagnostics.Add_0_to_unresolved_variable,s.className||"this"],t,e.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){var r=i(t.file,t.start,t.code);r&&o(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixInvalidJsxCharacters_expression",r="fixInvalidJsxCharacters_htmlEntity",a=[e.Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code];n.registerCodeFix({errorCodes:a,fixIds:[t,r],getCodeActions:function(a){var i=a.sourceFile,s=a.preferences,c=a.span,l=e.textChanges.ChangeTracker.with(a,(function(e){return o(e,s,i,c.start,!1)})),u=e.textChanges.ChangeTracker.with(a,(function(e){return o(e,s,i,c.start,!0)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Wrap_invalid_character_in_an_expression_container,t,e.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),n.createCodeFixAction(r,u,e.Diagnostics.Convert_invalid_character_to_its_html_entity_code,r,e.Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return o(n,e.preferences,t.file,t.start,e.fixId===r)}))}});var i={">":">","}":"}"};function o(n,t,r,a,o){var s=r.getText()[a];if(function(n){return e.hasProperty(i,n)}(s)){var c=o?i[s]:"{"+e.quote(s,t)+"}";n.replaceRangeWithText(r,{pos:a,end:a+1},c)}}}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="unusedIdentifier",r="unusedIdentifier_prefix",a="unusedIdentifier_delete",i="unusedIdentifier_infer",o=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];function s(n,t,r){n.replaceNode(t,r.parent,e.factory.createKeywordTypeNode(151))}function c(r,i){return n.createCodeFixAction(t,r,i,a,e.Diagnostics.Delete_all_unused_declarations)}function l(n,t,r){n.delete(t,e.Debug.checkDefined(e.cast(r.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function u(n){return 99===n.kind?e.tryCast(n.parent,e.isImportDeclaration):void 0}function d(n,t){return e.isVariableDeclarationList(t.parent)&&e.first(t.parent.getChildren(n))===t}function p(e,n,t){e.delete(n,229===t.parent.kind?t.parent:t)}function f(n,t,r){e.forEach(r.elements,(function(e){return n.delete(t,e)}))}function m(n,t,r,a){t!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(135===a.kind&&(a=e.cast(a.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(a)&&function(e){switch(e.parent.kind){case 159:case 158:return!0;case 246:switch(e.parent.parent.parent.kind){case 236:case 235:return!0}}return!1}(a)&&(n.replaceNode(r,a,e.factory.createIdentifier("_"+a.text)),e.isParameter(a.parent)&&e.getJSDocParameterTags(a.parent).forEach((function(t){e.isIdentifier(t.name)&&n.replaceNode(r,t.name,e.factory.createIdentifier("_"+t.name.text))}))))}function _(n,t,r,a,i,o){!function(n,t,r,a,i,o){var s=n.parent;e.isParameter(s)?function(n,t,r,a,i,o){void 0===o&&(o=!1);(function(n,t,r){var a=n.parent;switch(a.kind){case 164:var i=t.getSymbolAtLocation(a.name);if(e.isMemberSymbolInBaseType(i,t))return!1;case 165:case 248:return!0;case 205:case 206:var o=a.parameters,s=o.indexOf(n);return e.Debug.assert(-1!==s,"The parameter should already be in the list"),r?o.slice(s+1).every((function(e){return 78===e.name.kind&&!e.symbol.isReferenced})):s===o.length-1;case 167:return!1;default:return e.Debug.failBadSyntaxKind(a)}})(r,a,o)&&(r.modifiers&&r.modifiers.length>0&&(!e.isIdentifier(r.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(r.name,a,t))?r.modifiers.forEach((function(e){n.deleteModifier(t,e)})):(n.delete(t,r),function(n,t,r,a,i){e.FindAllReferences.Core.eachSignatureCall(r.parent,a,i,(function(e){var a=r.parent.parameters.indexOf(r);e.arguments.length>a&&n.delete(t,e.arguments[a])}))}(n,t,r,i,a)))}(t,r,s,a,i,o):t.delete(r,e.isImportClause(s)?n:e.isComputedPropertyName(s)?s.parent:s)}(t,r,n,a,i,o),e.isIdentifier(t)&&function(n,t,r,a){e.FindAllReferences.Core.eachSymbolReferenceInFile(r,a,t,(function(r){e.isPropertyAccessExpression(r.parent)&&r.parent.name===r&&(r=r.parent),e.isBinaryExpression(r.parent)&&e.isExpressionStatement(r.parent.parent)&&r.parent.left===r&&n.delete(t,r.parent.parent)}))}(r,n,t,a)}n.registerCodeFix({errorCodes:o,getCodeActions:function(a){var o=a.errorCode,g=a.sourceFile,y=a.program,h=y.getTypeChecker(),v=y.getSourceFiles(),b=e.getTokenAtPosition(g,a.span.start);if(e.isJSDocTemplateTag(b))return[c(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,b)})),e.Diagnostics.Remove_template_tag)];if(29===b.kind)return[c(x=e.textChanges.ChangeTracker.with(a,(function(e){return l(e,g,b)})),e.Diagnostics.Remove_type_parameters)];var E=u(b);if(E)return[c(x=e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,E)})),[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(E)])];if(e.isObjectBindingPattern(b.parent)){if(e.isParameter(b.parent.parent)){var T=b.parent.elements,S=[T.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(T,(function(e){return e.getText(g)})).join(", ")];return[c(e.textChanges.ChangeTracker.with(a,(function(e){return f(e,g,b.parent)})),S)]}return[c(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,b.parent.parent)})),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(d(g,b))return[c(e.textChanges.ChangeTracker.with(a,(function(e){return p(e,g,b.parent)})),e.Diagnostics.Remove_variable_statement)];var L=[];if(135===b.kind){var x=e.textChanges.ChangeTracker.with(a,(function(e){return s(e,g,b)})),A=e.cast(b.parent,e.isInferTypeNode).typeParameter.name.text;L.push(n.createCodeFixAction(t,x,[e.Diagnostics.Replace_infer_0_with_unknown,A],i,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var D=e.textChanges.ChangeTracker.with(a,(function(e){return _(g,b,e,h,v,!1)}));if(D.length){A=e.isComputedPropertyName(b.parent)?b.parent:b;L.push(c(D,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,A.getText(g)]))}}var C=e.textChanges.ChangeTracker.with(a,(function(e){return m(e,o,g,b)}));return C.length&&L.push(n.createCodeFixAction(t,C,[e.Diagnostics.Prefix_0_with_an_underscore,b.getText(g)],r,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),L},fixIds:[r,a,i],getAllCodeActions:function(t){var c=t.sourceFile,g=t.program,y=g.getTypeChecker(),h=g.getSourceFiles();return n.codeFixAll(t,o,(function(n,o){var g=e.getTokenAtPosition(c,o.start);switch(t.fixId){case r:m(n,o.code,c,g);break;case a:if(135===g.kind)break;var v=u(g);v?n.delete(c,v):e.isJSDocTemplateTag(g)?n.delete(c,g):29===g.kind?l(n,c,g):e.isObjectBindingPattern(g.parent)?e.isParameter(g.parent.parent)?f(n,c,g.parent):n.delete(c,g.parent.parent):d(c,g)?p(n,c,g.parent):_(c,g,n,y,h,!0);break;case i:135===g.kind&&s(n,c,g);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixUnreachableCode",r=[e.Diagnostics.Unreachable_code_detected.code];function a(n,t,r,a,i){var o=e.getTokenAtPosition(t,r),s=e.findAncestor(o,e.isStatement);if(s.getStart(t)!==o.getStart(t)){var c=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(s.kind),tokenKind:e.Debug.formatSyntaxKind(o.kind),errorCode:i,start:r,length:a});e.Debug.fail("Token and statement should start at the same point. "+c)}var l=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(l.kind){case 231:if(l.elseStatement){if(e.isBlock(s.parent))break;return void n.replaceNode(t,s,e.factory.createBlock(e.emptyArray))}case 233:case 234:return void n.delete(t,l)}if(e.isBlock(s.parent)){var u=r+a,d=e.Debug.checkDefined(function(e,n){for(var t,r=0,a=e;r<a.length;r++){var i=a[r];if(!n(i))break;t=i}return t}(e.sliceAfter(s.parent.statements,s),(function(e){return e.pos<u})),"Some statement should be last");n.deleteNodeRange(t,s,d)}else n.delete(t,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.span.length,r.errorCode)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unreachable_code,t,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start,n.length,n.code)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixUnusedLabel",r=[e.Diagnostics.Unused_label.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.cast(a.parent,e.isLabeledStatement),o=a.getStart(t),s=i.statement.getStart(t),c=e.positionsAreOnSameLine(o,s,t)?s:e.skipTrivia(t.text,e.findChildOfKind(i,58,t).end,!0);n.deleteRange(t,{pos:o,end:c})}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unused_label,t,e.Diagnostics.Remove_all_unused_labels)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];function r(e,n,t,r,a){e.replaceNode(n,t,a.typeToTypeNode(r,t,void 0))}function a(n,t,r){var a=e.findAncestor(e.getTokenAtPosition(n,t),i),o=a&&a.type;return o&&{typeNode:o,type:r.getTypeFromTypeNode(o)}}function i(e){switch(e.kind){case 221:case 168:case 169:case 248:case 166:case 170:case 189:case 164:case 163:case 159:case 162:case 161:case 167:case 251:case 203:case 246:return!0;default:return!1}}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=t.sourceFile,o=t.program.getTypeChecker(),s=a(i,t.span.start,o);if(s){var c=s.typeNode,l=s.type,u=c.getText(i),d=[p(l,"fixJSDocTypes_plain",e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];return 301===c.kind&&d.push(p(o.getNullableType(l,32768),"fixJSDocTypes_nullable",e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),d}function p(a,s,l){var d=e.textChanges.ChangeTracker.with(t,(function(e){return r(e,i,c,a,o)}));return n.createCodeFixAction("jdocTypes",d,[e.Diagnostics.Change_0_to_1,u,o.typeToString(a)],s,l)}},fixIds:["fixJSDocTypes_plain","fixJSDocTypes_nullable"],getAllCodeActions:function(e){var i=e.fixId,o=e.program,s=e.sourceFile,c=o.getTypeChecker();return n.codeFixAll(e,t,(function(e,n){var t=a(n.file,n.start,c);if(t){var o=t.typeNode,l=t.type,u=301===o.kind&&"fixJSDocTypes_nullable"===i?c.getNullableType(l,32768):l;r(e,s,o,u,c)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixMissingCallParentheses",r=[e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead.code];function a(e,n,t){e.replaceNodeWithText(n,t,t.text+"()")}function i(n,t){var r=e.getTokenAtPosition(n,t);if(e.isPropertyAccessExpression(r.parent)){for(var a=r.parent;e.isPropertyAccessExpression(a.parent);)a=a.parent;return a.name}if(e.isIdentifier(r))return r}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=i(r.sourceFile,r.span.start);if(o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Add_missing_call_parentheses,t,e.Diagnostics.Add_all_missing_call_parentheses)]}},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=i(n.file,n.start);t&&a(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixAwaitInSyncFunction",r=[e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,e.Diagnostics.A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.getContainingFunction(r);if(a){var i,o;switch(a.kind){case 164:i=a.name;break;case 248:case 205:i=e.findChildOfKind(a,97,n);break;case 206:i=e.findChildOfKind(a,20,n)||e.first(a.parameters);break;default:return}return i&&{insertBefore:i,returnType:(o=a,o.type?o.type:e.isVariableDeclaration(o.parent)&&o.parent.type&&e.isFunctionTypeNode(o.parent.type)?o.parent.type.type:void 0)}}}function i(n,t,r){var a=r.insertBefore,i=r.returnType;if(i){var o=e.getEntityNameFromTypeNode(i);o&&78===o.kind&&"Promise"===o.text||n.replaceNode(t,i,e.factory.createTypeReferenceNode("Promise",e.factory.createNodeArray([i])))}n.insertModifierBefore(t,129,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_async_modifier_to_containing_function,t,e.Diagnostics.Add_all_missing_async_modifiers)]}},fixIds:[t],getAllCodeActions:function(t){var o=new e.Map;return n.codeFixAll(t,r,(function(n,r){var s=a(r.file,r.start);s&&e.addToSeen(o,e.getNodeId(s.insertBefore))&&i(n,t.sourceFile,s)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],r="fixPropertyOverrideAccessor";function a(t,r,a,i,o){var s,c;if(i===e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)s=r,c=r+a;else if(i===e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){var l=o.program.getTypeChecker(),u=e.getTokenAtPosition(t,r).parent;e.Debug.assert(e.isAccessor(u),"error span of fixPropertyOverrideAccessor should only be on an accessor");var d=u.parent;e.Debug.assert(e.isClassLike(d),"erroneous accessors should only be inside classes");var p=e.singleOrUndefined(n.getAllSupers(d,l));if(!p)return[];var f=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(u.name)),m=l.getPropertyOfType(l.getTypeAtLocation(p),f);if(!m||!m.valueDeclaration)return[];s=m.valueDeclaration.pos,c=m.valueDeclaration.end,t=e.getSourceFileOfNode(m.valueDeclaration)}else e.Debug.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+i);return n.generateAccessorFromProperty(t,s,c,o,e.Diagnostics.Generate_get_and_set_accessors.message)}n.registerCodeFix({errorCodes:t,getCodeActions:function(t){var i=a(t.sourceFile,t.span.start,t.span.length,t.errorCode,t);if(i)return[n.createCodeFixAction(r,i,e.Diagnostics.Generate_get_and_set_accessors,r,e.Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){var r=a(t.file,t.start,t.length,t.code,e);if(r)for(var i=0,o=r;i<o.length;i++){var s=o[i];n.pushRaw(e.sourceFile,s)}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="inferFromUsage",r=[e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,e.Diagnostics.Member_0_implicitly_has_an_1_type.code,e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function a(n,t){switch(n){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.isSetAccessorDeclaration(e.getContainingFunction(t))?e.Diagnostics.Infer_type_of_0_from_usage:e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return e.Diagnostics.Infer_this_type_of_0_from_usage;default:return e.Diagnostics.Infer_type_of_0_from_usage}}function i(t,r,a,i,o,p,g,y,h){if(e.isParameterPropertyModifier(a.kind)||78===a.kind||25===a.kind||107===a.kind){var v=a.parent,b=n.createImportAdder(r,o,h,y);switch(i=function(n){switch(n){case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_an_1_type.code;case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Member_0_implicitly_has_an_1_type.code}return n}(i)){case e.Diagnostics.Member_0_implicitly_has_an_1_type.code:case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(e.isVariableDeclaration(v)&&g(v)||e.isPropertyDeclaration(v)||e.isPropertySignature(v))return s(t,b,r,v,o,y,p),b.writeFixes(t),v;if(e.isPropertyAccessExpression(v)){var E=f(v.name,o,p),T=e.getTypeNodeIfAccessible(E,v,o,y);if(T){var S=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(T),"");d(t,r,e.cast(v.parent.parent,e.isExpressionStatement),[S])}return b.writeFixes(t),v}return;case e.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var L=o.getTypeChecker().getSymbolAtLocation(a);return L&&L.valueDeclaration&&e.isVariableDeclaration(L.valueDeclaration)&&g(L.valueDeclaration)?(s(t,b,r,L.valueDeclaration,o,y,p),b.writeFixes(t),L.valueDeclaration):void 0}var x=e.getContainingFunction(a);if(void 0!==x){var A;switch(i){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(e.isSetAccessorDeclaration(x)){c(t,b,r,x,o,y,p),A=x;break}case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(g(x)){var D=e.cast(v,e.isParameter);!function(n,t,r,a,i,o,s,c){if(!e.isIdentifier(a.name))return;var d=function(n,t,r,a){var i=m(n,t,r,a);return i&&_(r,i,a).parameters(n)||n.parameters.map((function(n){return{declaration:n,type:e.isIdentifier(n.name)?f(n.name,r,a):r.getTypeChecker().getAnyType()}}))}(i,r,o,c);if(e.Debug.assert(i.parameters.length===d.length,"Parameter count and inference count should match"),e.isInJSFile(i))u(n,r,d,o,s);else{var p=e.isArrowFunction(i)&&!e.findChildOfKind(i,20,r);p&&n.insertNodeBefore(r,e.first(i.parameters),e.factory.createToken(20));for(var g=0,y=d;g<y.length;g++){var h=y[g],v=h.declaration,b=h.type;!v||v.type||v.initializer||l(n,t,r,v,b,o,s)}p&&n.insertNodeAfter(r,e.last(i.parameters),e.factory.createToken(21))}}(t,b,r,D,x,o,y,p),A=D}break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:e.isGetAccessorDeclaration(x)&&e.isIdentifier(x.name)&&(l(t,b,r,x,f(x.name,o,p),o,y),A=x);break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:e.isSetAccessorDeclaration(x)&&(c(t,b,r,x,o,y,p),A=x);break;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:e.textChanges.isThisTypeAnnotatable(x)&&g(x)&&(!function(n,t,r,a,i,o){var s=m(r,t,a,o);if(!s||!s.length)return;var c=_(a,s,o).thisParameter(),l=e.getTypeNodeIfAccessible(c,r,a,i);if(!l)return;e.isInJSFile(r)?function(n,t,r,a){d(n,t,r,[e.factory.createJSDocThisTag(void 0,e.factory.createJSDocTypeExpression(a))])}(n,t,r,l):n.tryInsertThisTypeAnnotation(t,r,l)}(t,r,x,o,y,p),A=x);break;default:return e.Debug.fail(String(i))}return b.writeFixes(t),A}}}function s(n,t,r,a,i,o,s){e.isIdentifier(a.name)&&l(n,t,r,a,f(a.name,i,s),i,o)}function c(n,t,r,a,i,o,s){var c=e.firstOrUndefined(a.parameters);if(c&&e.isIdentifier(a.name)&&e.isIdentifier(c.name)){var d=f(a.name,i,s);d===i.getTypeChecker().getAnyType()&&(d=f(c.name,i,s)),e.isInJSFile(a)?u(n,r,[{declaration:c,type:d}],i,o):l(n,t,r,c,d,i,o)}}function l(t,r,a,i,o,s,c){var l=e.getTypeNodeIfAccessible(o,i,s,c);if(l)if(e.isInJSFile(a)&&161!==i.kind){var u=e.isVariableDeclaration(i)?e.tryCast(i.parent.parent,e.isVariableStatement):i;if(!u)return;var p=e.factory.createJSDocTypeExpression(l);d(t,a,u,[e.isGetAccessorDeclaration(i)?e.factory.createJSDocReturnTag(void 0,p,""):e.factory.createJSDocTypeTag(void 0,p,"")])}else(function(t,r,a,i,o,s){var c=n.tryGetAutoImportableReferenceFromTypeNode(t,s);if(c&&i.tryInsertTypeAnnotation(a,r,c.typeNode))return e.forEach(c.symbols,(function(e){return o.addImportFromExportedSymbol(e,!0)})),!0;return!1})(l,i,a,t,r,e.getEmitScriptTarget(s.getCompilerOptions()))||t.tryInsertTypeAnnotation(a,i,l)}function u(n,t,r,a,i){var o=r.length&&r[0].declaration.parent;o&&d(n,t,o,e.mapDefined(r,(function(n){var t=n.declaration;if(!t.initializer&&!e.getJSDocType(t)&&e.isIdentifier(t.name)){var r=n.type&&e.getTypeNodeIfAccessible(n.type,t,a,i),o=e.factory.cloneNode(t.name);return e.setEmitFlags(o,3584),r&&e.factory.createJSDocParameterTag(void 0,o,!!n.isOptional,e.factory.createJSDocTypeExpression(r),!1,"")}})))}function d(n,t,r,a){var i=e.mapDefined(r.jsDoc,(function(e){return e.comment})),s=e.flatMapToMutable(r.jsDoc,(function(e){return e.tags})),c=a.filter((function(n){return!s||!s.some((function(t,r){var a=function(n,t){if(n.kind!==t.kind)return;switch(n.kind){case 322:var r=n,a=t;return e.isIdentifier(r.name)&&e.isIdentifier(a.name)&&r.name.escapedText===a.name.escapedText?e.factory.createJSDocParameterTag(void 0,a.name,!1,a.typeExpression,a.isNameFirst,r.comment):void 0;case 323:return e.factory.createJSDocReturnTag(void 0,t.typeExpression,n.comment)}}(t,n);return a&&(s[r]=a),!!a}))})),l=e.factory.createJSDocComment(i.join("\n"),e.factory.createNodeArray(o(s||e.emptyArray,c))),u=206===r.kind?function(e){if(162===e.parent.kind)return e.parent;return e.parent.parent}(r):r;u.jsDoc=r.jsDoc,u.jsDocCache=r.jsDocCache,n.insertJsdocCommentBefore(t,u,l)}function p(n,t,r){return e.mapDefined(e.FindAllReferences.getReferenceEntriesForNode(-1,n,t,t.getSourceFiles(),r),(function(n){return 0!==n.kind?e.tryCast(n.node,e.isIdentifier):void 0}))}function f(e,n,t){return _(n,p(e,n,t),t).single()}function m(n,t,r,a){var i;switch(n.kind){case 165:i=e.findChildOfKind(n,132,t);break;case 206:case 205:var o=n.parent;i=e.isVariableDeclaration(o)&&e.isIdentifier(o.name)?o.name:n.name;break;case 248:case 164:i=n.name}if(i)return p(i,r,a)}function _(n,t,r){var a=n.getTypeChecker(),i={string:function(){return a.getStringType()},number:function(){return a.getNumberType()},Array:function(e){return a.createArrayType(e)},Promise:function(e){return a.createPromiseType(e)}},s=[a.getStringType(),a.getNumberType(),a.createArrayType(a.getAnyType()),a.createPromiseType(a.getAnyType())];return{single:function(){return m(l(t))},parameters:function(i){if(0===t.length||!i.parameters)return;for(var s=c(),d=0,f=t;d<f.length;d++){var _=f[d];r.throwIfCancellationRequested(),u(_,s)}var g=o(s.constructs||[],s.calls||[]);return i.parameters.map((function(t,o){for(var s=[],c=e.isRestParameter(t),u=!1,d=0,f=g;d<f.length;d++){var _=f[d];if(_.argumentTypes.length<=o)u=e.isInJSFile(i),s.push(a.getUndefinedType());else if(c)for(var y=o;y<_.argumentTypes.length;y++)s.push(a.getBaseTypeOfLiteralType(_.argumentTypes[y]));else s.push(a.getBaseTypeOfLiteralType(_.argumentTypes[o]))}if(e.isIdentifier(t.name)){var h=l(p(t.name,n,r));s.push.apply(s,c?e.mapDefined(h,a.getElementTypeOfArrayType):h)}var v=m(s);return{type:c?a.createArrayType(v):v,isOptional:u&&!c,declaration:t}}))},thisParameter:function(){for(var n=c(),a=0,i=t;a<i.length;a++){var o=i[a];r.throwIfCancellationRequested(),u(o,n)}return m(n.candidateThisTypes||e.emptyArray)}};function c(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function l(e){for(var n={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0},t=0,a=e;t<a.length;t++){var i=a[t];r.throwIfCancellationRequested(),u(i,n)}return _(n)}function u(n,t){for(;e.isRightSideOfQualifiedNameOrPropertyAccess(n);)n=n.parent;switch(n.parent.kind){case 230:!function(n,t){h(t,e.isCallExpression(n)?a.getVoidType():a.getAnyType())}(n,t);break;case 212:t.isNumber=!0;break;case 211:!function(e,n){switch(e.operator){case 45:case 46:case 40:case 54:n.isNumber=!0;break;case 39:n.isNumberOrString=!0}}(n.parent,t);break;case 213:!function(n,t,r){switch(t.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 64:case 66:case 65:case 67:case 68:case 72:case 73:case 77:case 69:case 71:case 70:case 40:case 29:case 32:case 31:case 33:var i=a.getTypeAtLocation(t.left===n?t.right:t.left);1056&i.flags?h(r,i):r.isNumber=!0;break;case 63:case 39:var o=a.getTypeAtLocation(t.left===n?t.right:t.left);1056&o.flags?h(r,o):296&o.flags?r.isNumber=!0:132&o.flags?r.isString=!0:1&o.flags||(r.isNumberOrString=!0);break;case 62:case 34:case 36:case 37:case 35:h(r,a.getTypeAtLocation(t.left===n?t.right:t.left));break;case 100:n===t.left&&(r.isString=!0);break;case 56:case 60:n!==t.left||246!==n.parent.parent.kind&&!e.isAssignmentExpression(n.parent.parent,!0)||h(r,a.getTypeAtLocation(t.right))}}(n,n.parent,t);break;case 281:case 282:!function(e,n){h(n,a.getTypeAtLocation(e.parent.parent.expression))}(n.parent,t);break;case 200:case 201:n.parent.expression===n?function(e,n){var t={argumentTypes:[],return_:{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}};if(e.arguments)for(var r=0,i=e.arguments;r<i.length;r++){var o=i[r];t.argumentTypes.push(a.getTypeAtLocation(o))}u(e,t.return_),200===e.kind?(n.calls||(n.calls=[])).push(t):(n.constructs||(n.constructs=[])).push(t)}(n.parent,t):d(n,t);break;case 198:!function(n,t){var r=e.escapeLeadingUnderscores(n.name.text);t.properties||(t.properties=new e.Map);var a=t.properties.get(r)||{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};u(n,a),t.properties.set(r,a)}(n.parent,t);break;case 199:!function(e,n,t){if(n===e.argumentExpression)return void(t.isNumberOrString=!0);var r=a.getTypeAtLocation(e.argumentExpression),i={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};u(e,i),296&r.flags?t.numberIndex=i:t.stringIndex=i}(n.parent,n,t);break;case 285:case 286:!function(n,t){var r=e.isVariableDeclaration(n.parent.parent)?n.parent.parent:n.parent;v(t,a.getTypeAtLocation(r))}(n.parent,t);break;case 162:!function(e,n){v(n,a.getTypeAtLocation(e.parent))}(n.parent,t);break;case 246:var r=n.parent,i=r.name,o=r.initializer;if(n===i){o&&h(t,a.getTypeAtLocation(o));break}default:return d(n,t)}}function d(n,t){e.isExpressionNode(n)&&h(t,a.getContextualType(n))}function f(e){return m(_(e))}function m(n){if(!n.length)return a.getAnyType();var t=a.getUnionType([a.getStringType(),a.getNumberType()]),r=function(n,t){for(var r=[],a=0,i=n;a<i.length;a++)for(var o=i[a],s=0,c=t;s<c.length;s++){var l=c[s],u=l.high,d=l.low;u(o)&&(e.Debug.assert(!d(o),"Priority can't have both low and high"),r.push(d))}return n.filter((function(e){return r.every((function(n){return!n(e)}))}))}(n,[{high:function(e){return e===a.getStringType()||e===a.getNumberType()},low:function(e){return e===t}},{high:function(e){return!(16385&e.flags)},low:function(e){return!!(16385&e.flags)}},{high:function(n){return!(114689&n.flags||16&e.getObjectFlags(n))},low:function(n){return!!(16&e.getObjectFlags(n))}}]),i=r.filter((function(n){return 16&e.getObjectFlags(n)}));return i.length&&(r=r.filter((function(n){return!(16&e.getObjectFlags(n))}))).push(function(n){if(1===n.length)return n[0];for(var t=[],r=[],i=[],o=[],s=!1,c=!1,l=e.createMultiMap(),u=0,d=n;u<d.length;u++){for(var p=d[u],f=0,m=a.getPropertiesOfType(p);f<m.length;f++){var _=m[f];l.add(_.name,a.getTypeOfSymbolAtLocation(_,_.valueDeclaration))}t.push.apply(t,a.getSignaturesOfType(p,0)),r.push.apply(r,a.getSignaturesOfType(p,1)),p.stringIndexInfo&&(i.push(p.stringIndexInfo.type),s=s||p.stringIndexInfo.isReadonly),p.numberIndexInfo&&(o.push(p.numberIndexInfo.type),c=c||p.numberIndexInfo.isReadonly)}var g=e.mapEntries(l,(function(e,t){var r=t.length<n.length?16777216:0,i=a.createSymbol(4|r,e);return i.type=a.getUnionType(t),[e,i]}));return a.createAnonymousType(n[0].symbol,g,t,r,i.length?a.createIndexInfo(a.getUnionType(i),s):void 0,o.length?a.createIndexInfo(a.getUnionType(o),c):void 0)}(i)),a.getWidenedType(a.getUnionType(r.map(a.getBaseTypeOfLiteralType),2))}function _(n){var t,r,o,c=[];return n.isNumber&&c.push(a.getNumberType()),n.isString&&c.push(a.getStringType()),n.isNumberOrString&&c.push(a.getUnionType([a.getStringType(),a.getNumberType()])),n.numberIndex&&c.push(a.createArrayType(f(n.numberIndex))),((null===(t=n.properties)||void 0===t?void 0:t.size)||(null===(r=n.calls)||void 0===r?void 0:r.length)||(null===(o=n.constructs)||void 0===o?void 0:o.length)||n.stringIndex)&&c.push(function(n){var t=new e.Map;n.properties&&n.properties.forEach((function(e,n){var r=a.createSymbol(4,n);r.type=f(e),t.set(n,r)}));var r=n.calls?[y(n.calls)]:[],i=n.constructs?[y(n.constructs)]:[],o=n.stringIndex&&a.createIndexInfo(f(n.stringIndex),!1);return a.createAnonymousType(void 0,t,r,i,o,void 0)}(n)),c.push.apply(c,(n.candidateTypes||[]).map((function(e){return a.getBaseTypeOfLiteralType(e)}))),c.push.apply(c,function(n){if(!n.properties||!n.properties.size)return[];var t=s.filter((function(t){return function(n,t){return!!t.properties&&!e.forEachEntry(t.properties,(function(t,r){var i,o=a.getTypeOfPropertyOfType(n,r);return!o||(t.calls?!a.getSignaturesOfType(o,0).length||!a.isTypeAssignableTo(o,(i=t.calls,a.createAnonymousType(void 0,e.createSymbolTable(),[y(i)],e.emptyArray,void 0,void 0))):!a.isTypeAssignableTo(o,f(t)))}))}(t,n)}));if(0<t.length&&t.length<3)return t.map((function(t){return function(n,t){if(!(4&e.getObjectFlags(n)&&t.properties))return n;var r=n.target,o=e.singleOrUndefined(r.typeParameters);if(!o)return n;var s=[];return t.properties.forEach((function(n,t){var i=a.getTypeOfPropertyOfType(r,t);e.Debug.assert(!!i,"generic should have all the properties of its reference."),s.push.apply(s,g(i,f(n),o))})),i[n.symbol.escapedName](m(s))}(t,n)}));return[]}(n)),c}function g(n,t,r){if(n===r)return[t];if(3145728&n.flags)return e.flatMap(n.types,(function(e){return g(e,t,r)}));if(4&e.getObjectFlags(n)&&4&e.getObjectFlags(t)){var i=a.getTypeArguments(n),o=a.getTypeArguments(t),s=[];if(i&&o)for(var c=0;c<i.length;c++)o[c]&&s.push.apply(s,g(i[c],o[c],r));return s}var l=a.getSignaturesOfType(n,0),u=a.getSignaturesOfType(t,0);return 1===l.length&&1===u.length?function(n,t,r){for(var i=[],o=0;o<n.parameters.length;o++){var s=n.parameters[o],c=t.parameters[o],l=n.declaration&&e.isRestParameter(n.declaration.parameters[o]);if(!c)break;var u=a.getTypeOfSymbolAtLocation(s,s.valueDeclaration),d=l&&a.getElementTypeOfArrayType(u);d&&(u=d);var p=c.type||a.getTypeOfSymbolAtLocation(c,c.valueDeclaration);i.push.apply(i,g(u,p,r))}var f=a.getReturnTypeOfSignature(n),m=a.getReturnTypeOfSignature(t);return i.push.apply(i,g(f,m,r)),i}(l[0],u[0],r):[]}function y(n){for(var t=[],r=Math.max.apply(Math,n.map((function(e){return e.argumentTypes.length}))),i=function(r){var i=a.createSymbol(1,e.escapeLeadingUnderscores("arg"+r));i.type=m(n.map((function(e){return e.argumentTypes[r]||a.getUndefinedType()}))),n.some((function(e){return void 0===e.argumentTypes[r]}))&&(i.flags|=16777216),t.push(i)},o=0;o<r;o++)i(o);var s=f(function n(t){for(var r=new e.Map,a=0,i=t;a<i.length;a++){var o=i[a];o.properties&&o.properties.forEach((function(e,n){r.has(n)||r.set(n,[]),r.get(n).push(e)}))}var s=new e.Map;return r.forEach((function(e,t){s.set(t,n(e))})),{isNumber:t.some((function(e){return e.isNumber})),isString:t.some((function(e){return e.isString})),isNumberOrString:t.some((function(e){return e.isNumberOrString})),candidateTypes:e.flatMap(t,(function(e){return e.candidateTypes})),properties:s,calls:e.flatMap(t,(function(e){return e.calls})),constructs:e.flatMap(t,(function(e){return e.constructs})),numberIndex:e.forEach(t,(function(e){return e.numberIndex})),stringIndex:e.forEach(t,(function(e){return e.stringIndex})),candidateThisTypes:e.flatMap(t,(function(e){return e.candidateThisTypes})),inferredTypes:void 0}}(n.map((function(e){return e.return_}))));return a.createSignature(void 0,void 0,void 0,t,s,void 0,r,0)}function h(e,n){!n||1&n.flags||131072&n.flags||(e.candidateTypes||(e.candidateTypes=[])).push(n)}function v(e,n){!n||1&n.flags||131072&n.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(n)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o,s=r.sourceFile,c=r.program,l=r.span.start,u=r.errorCode,d=r.cancellationToken,p=r.host,f=r.preferences,m=e.getTokenAtPosition(s,l),_=e.textChanges.ChangeTracker.with(r,(function(n){o=i(n,s,m,u,c,d,e.returnTrue,p,f)})),g=o&&e.getNameOfDeclaration(o);return g&&0!==_.length?[n.createCodeFixAction(t,_,[a(u,m),g.getText(s)],t,e.Diagnostics.Infer_all_types_from_usage)]:void 0},fixIds:[t],getAllCodeActions:function(t){var a=t.sourceFile,o=t.program,s=t.cancellationToken,c=t.host,l=t.preferences,u=e.nodeSeenTracker();return n.codeFixAll(t,r,(function(n,t){i(n,a,e.getTokenAtPosition(t.file,t.start),t.code,o,s,u,c,l)}))}}),n.addJSDocTags=d}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixReturnTypeInAsyncFunction",r=[e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code];function a(n,t,r){if(!e.isInJSFile(n)){var a=e.getTokenAtPosition(n,r),i=e.findAncestor(a,e.isFunctionLikeDeclaration),o=null==i?void 0:i.type;if(o){var s=t.getTypeFromTypeNode(o),c=t.getAwaitedType(s)||t.getVoidType(),l=t.typeToTypeNode(c,o,void 0);return l?{returnTypeNode:o,returnType:s,promisedTypeNode:l,promisedType:c}:void 0}}}function i(n,t,r,a){n.replaceNode(t,r,e.factory.createTypeReferenceNode("Promise",[a]))}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=r.sourceFile,s=r.program,c=r.span,l=s.getTypeChecker(),u=a(o,s.getTypeChecker(),c.start);if(u){var d=u.returnTypeNode,p=u.returnType,f=u.promisedTypeNode,m=u.promisedType,_=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,d,f)}));return[n.createCodeFixAction(t,_,[e.Diagnostics.Replace_0_with_Promise_1,l.typeToString(p),l.typeToString(m)],t,e.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions)]}},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,e.program.getTypeChecker(),t.start);r&&i(n,t.file,r.returnTypeNode,r.promisedTypeNode)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="disableJsDiagnostics",r=e.mapDefined(Object.keys(e.Diagnostics),(function(n){var t=e.Diagnostics[n];return t.category===e.DiagnosticCategory.Error?t.code:void 0}));function a(n,t,r,a){var i=e.getLineAndCharacterOfPosition(t,r).line;a&&!e.tryAddToSet(a,i)||n.insertCommentBeforeLine(t,i,r," @ts-ignore")}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.sourceFile,o=r.program,s=r.span,c=r.host,l=r.formatContext;if(e.isInJSFile(i)&&e.isCheckJsEnabledForFile(i,o.getCompilerOptions())){var u=i.checkJsDirective?"":e.getNewLineOrDefaultFromHost(c,l.options),d=[n.createCodeFixActionWithoutFixAll("disableJsDiagnostics",[n.createFileTextChanges(i.fileName,[e.createTextChange(i.checkJsDirective?e.createTextSpanFromBounds(i.checkJsDirective.pos,i.checkJsDirective.end):e.createTextSpan(0,0),"// @ts-nocheck"+u)])],e.Diagnostics.Disable_checking_for_this_file)];return e.textChanges.isValidLocationToAddComment(i,s.start)&&d.unshift(n.createCodeFixAction("disableJsDiagnostics",e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i,s.start)})),e.Diagnostics.Ignore_this_error_message,t,e.Diagnostics.Add_ts_ignore_to_all_error_messages)),d}},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(n,t){e.textChanges.isValidLocationToAddComment(t.file,t.start)&&a(n,t.file,t.start,i)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n){return{trackSymbol:e.noop,moduleResolverHost:e.getModuleSpecifierResolverHost(n.program,n.host)}}function r(n,r,a,s,c,l,p){var f=n.getDeclarations();if(f&&f.length){var m=s.program.getTypeChecker(),_=e.getEmitScriptTarget(s.program.getCompilerOptions()),g=f[0],y=e.getSynthesizedDeepClone(e.getNameOfDeclaration(g),!1),h=function(n){if(4&n)return e.factory.createToken(122);if(16&n)return e.factory.createToken(121);return}(e.getEffectiveModifierFlags(g)),v=h?e.factory.createNodeArray([h]):void 0,b=m.getWidenedType(m.getTypeOfSymbolAtLocation(n,r)),E=!!(16777216&n.flags),T=!!(8388608&r.flags),S=e.getQuotePreference(a,c);switch(g.kind){case 161:case 162:var L=0===S?268435456:void 0,x=m.typeToTypeNode(b,r,L,t(s));if(l)(A=u(x,_))&&(x=A.typeNode,d(l,A.symbols));p(e.factory.createPropertyDeclaration(void 0,v,y,E?e.factory.createToken(57):void 0,x,void 0));break;case 166:case 167:var A,D=m.typeToTypeNode(b,r,void 0,t(s)),C=e.getAllAccessorDeclarations(f,g),I=C.secondAccessor?[C.firstAccessor,C.secondAccessor]:[C.firstAccessor];if(l)(A=u(D,_))&&(D=A.typeNode,d(l,A.symbols));for(var N=0,R=I;N<R.length;N++){var k=R[N];if(e.isGetAccessorDeclaration(k))p(e.factory.createGetAccessorDeclaration(void 0,v,y,e.emptyArray,D,T?void 0:o(S)));else{e.Debug.assertNode(k,e.isSetAccessorDeclaration,"The counterpart to a getter should be a setter");var O=e.getSetAccessorValueParameter(k),P=O&&e.isIdentifier(O.name)?e.idText(O.name):void 0;p(e.factory.createSetAccessorDeclaration(void 0,v,y,i(1,[P],[D],1,!1),T?void 0:o(S)))}}break;case 163:case 164:var M=m.getSignaturesOfType(b,0);if(!e.some(M))break;if(1===f.length){e.Debug.assert(1===M.length,"One declaration implies one signature"),G(S,M[0],v,y,T?void 0:o(S));break}for(var w=0,F=M;w<F.length;w++){G(S,F[w],e.getSynthesizedDeepClones(v,!1),e.getSynthesizedDeepClone(y,!1))}if(!T)if(f.length>M.length)G(S,m.getSignatureFromDeclaration(f[f.length-1]),v,y,o(S));else e.Debug.assert(f.length===M.length,"Declarations and signatures should match count"),p(function(n,t,r,a,s){for(var c=n[0],l=n[0].minArgumentCount,u=!1,d=0,p=n;d<p.length;d++){var f=p[d];l=Math.min(f.minArgumentCount,l),e.signatureHasRestParameter(f)&&(u=!0),f.parameters.length>=c.parameters.length&&(!e.signatureHasRestParameter(f)||e.signatureHasRestParameter(c))&&(c=f)}var m=c.parameters.length-(e.signatureHasRestParameter(c)?1:0),_=c.parameters.map((function(e){return e.name})),g=i(m,_,void 0,l,!1);if(u){var y=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(128)),h=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),_[m]||"rest",m>=l?e.factory.createToken(57):void 0,y,void 0);g.push(h)}return function(n,t,r,a,i,s,c){return e.factory.createMethodDeclaration(void 0,n,void 0,t,r?e.factory.createToken(57):void 0,a,i,s,o(c))}(a,t,r,void 0,g,void 0,s)}(M,y,E,v,S))}}function G(n,a,i,o,c){var f=function(n,r,a,i,o,s,c,l,p){var f=n.program,m=f.getTypeChecker(),_=e.getEmitScriptTarget(f.getCompilerOptions()),g=1073742081|(0===r?268435456:0),y=m.signatureToSignatureDeclaration(a,164,i,g,t(n));if(!y)return;var h=y.typeParameters,v=y.parameters,b=y.type;if(p){if(h){var E=e.sameMap(h,(function(n){var t,r=n.constraint,a=n.default;r&&((t=u(r,_))&&(r=t.typeNode,d(p,t.symbols)));a&&((t=u(a,_))&&(a=t.typeNode,d(p,t.symbols)));return e.factory.updateTypeParameterDeclaration(n,n.name,r,a)}));h!==E&&(h=e.setTextRange(e.factory.createNodeArray(E,h.hasTrailingComma),h))}var T=e.sameMap(v,(function(n){var t=u(n.type,_),r=n.type;return t&&(r=t.typeNode,d(p,t.symbols)),e.factory.updateParameterDeclaration(n,n.decorators,n.modifiers,n.dotDotDotToken,n.name,n.questionToken,r,n.initializer)}));if(v!==T&&(v=e.setTextRange(e.factory.createNodeArray(T,v.hasTrailingComma),v)),b){var S=u(b,_);S&&(b=S.typeNode,d(p,S.symbols))}}return e.factory.updateMethodDeclaration(y,void 0,o,y.asteriskToken,s,c?e.factory.createToken(57):void 0,h,v,b,l)}(s,n,a,r,i,o,E,c,l);f&&p(f)}}function a(n,t,r,a,i,o,s){var c=n.typeToTypeNode(r,a,o,s);if(c&&e.isImportTypeNode(c)){var l=u(c,i);if(l)return d(t,l.symbols),l.typeNode}return c}function i(n,t,r,a,i){for(var o=[],s=0;s<n;s++){var c=e.factory.createParameterDeclaration(void 0,void 0,void 0,t&&t[s]||"arg"+s,void 0!==a&&s>=a?e.factory.createToken(57):void 0,i?void 0:r&&r[s]||e.factory.createKeywordTypeNode(128),void 0);o.push(c)}return o}function o(n){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral("Method not implemented.",0===n)]))],!0)}function s(n,t,r){var a=e.getTsConfigObjectLiteralExpression(t);if(a){var i=l(a,"compilerOptions");if(void 0!==i){var o=i.initializer;if(e.isObjectLiteralExpression(o))for(var s=0,u=r;s<u.length;s++){var d=u[s],p=d[0],f=d[1],m=l(o,p);void 0===m?n.insertNodeAtObjectStart(t,o,c(p,f)):n.replaceNode(t,m.initializer,f)}}else n.insertNodeAtObjectStart(t,a,c("compilerOptions",e.factory.createObjectLiteralExpression(r.map((function(e){return c(e[0],e[1])})),!0)))}}function c(n,t){return e.factory.createPropertyAssignment(e.factory.createStringLiteral(n),t)}function l(n,t){return e.find(n.properties,(function(n){return e.isPropertyAssignment(n)&&!!n.name&&e.isStringLiteral(n.name)&&n.name.text===t}))}function u(n,t){var r,a=e.visitNode(n,(function n(a){var i;if(e.isLiteralImportTypeNode(a)&&a.qualifier){var o=e.getFirstIdentifier(a.qualifier),s=e.getNameForExportedSymbol(o.symbol,t),c=s!==o.text?function n(t,r){if(78===t.kind)return r;return e.factory.createQualifiedName(n(t.left,r),t.right)}(a.qualifier,e.factory.createIdentifier(s)):a.qualifier;r=e.append(r,o.symbol);var l=null===(i=a.typeArguments)||void 0===i?void 0:i.map(n);return e.factory.createTypeReferenceNode(c,l)}return e.visitEachChild(a,n,e.nullTransformationContext)}));if(r&&a)return{typeNode:a,symbols:r}}function d(e,n){n.forEach((function(n){return e.addImportFromExportedSymbol(n,!0)}))}n.createMissingMemberNodes=function(e,n,t,a,i,o,s){for(var c=e.symbol.members,l=0,u=n;l<u.length;l++){var d=u[l];c.has(d.escapedName)||r(d,e,t,a,i,o,s)}},n.getNoopSymbolTrackerWithResolver=t,n.createMethodFromCallExpression=function(n,r,s,c,l,u,d){var p=!e.isInterfaceDeclaration(u),f=s.typeArguments,m=s.arguments,_=s.parent,g=e.getEmitScriptTarget(n.program.getCompilerOptions()),y=n.program.getTypeChecker(),h=t(n),v=e.map(m,(function(e){return a(y,r,y.getBaseTypeOfLiteralType(y.getTypeAtLocation(e)),u,g,void 0,h)})),b=e.map(m,(function(n){return e.isIdentifier(n)?n.text:e.isPropertyAccessExpression(n)&&e.isIdentifier(n.name)?n.name.text:void 0})),E=y.getContextualType(s),T=d||!E?void 0:y.typeToTypeNode(E,u,void 0,h),S=e.getQuotePreference(n.sourceFile,n.preferences);return e.factory.createMethodDeclaration(void 0,l?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(l)):void 0,e.isYieldExpression(_)?e.factory.createToken(41):void 0,c,void 0,d?void 0:e.map(f,(function(n,t){return e.factory.createTypeParameterDeclaration(84+f.length-1<=90?String.fromCharCode(84+t):"T"+t)})),i(m.length,b,v,void 0,d),T,p?o(S):void 0)},n.typeToAutoImportableTypeNode=a,n.setJsonCompilerOptionValues=s,n.setJsonCompilerOptionValue=function(e,n,t,r){s(e,n,[[t,r]])},n.createJsonPropertyAssignment=c,n.findJsonProperty=l,n.tryGetAutoImportableReferenceFromTypeNode=u,n.importSymbols=d}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n){return e.isParameterPropertyDeclaration(n,n.parent)||e.isPropertyDeclaration(n)||e.isPropertyAssignment(n)}function r(n,t){return e.isIdentifier(t)?e.factory.createIdentifier(n):e.factory.createStringLiteral(n)}function a(n,t,r){var a=t?r.name:e.factory.createThis();return e.isIdentifier(n)?e.factory.createPropertyAccessExpression(a,n):e.factory.createElementAccessExpression(a,e.factory.createStringLiteralFromNode(n))}function i(n){return n?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(n)):void 0}function o(n,a,i,o){void 0===o&&(o=!0);var s=e.getTokenAtPosition(n,a),c=a===i&&o,l=e.findAncestor(s.parent,t);if(!l||!e.nodeOverlapsWithStartEnd(l.name,n,a,i)&&!c)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)};if(!function(n){return e.isIdentifier(n)||e.isStringLiteral(n)}(l.name))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Name_is_not_valid)};if(124!=(124|e.getEffectiveModifierFlags(l)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_property_with_modifier)};var u=l.name.text,d=e.startsWithUnderscore(u),p=r(d?u:e.getUniqueName("_"+u,n),l.name),f=r(d?e.getUniqueName(u.substring(1),n):u,l.name);return{info:{isStatic:e.hasStaticModifier(l),isReadonly:e.hasEffectiveReadonlyModifier(l),type:e.getTypeAnnotationNode(l),container:159===l.kind?l.parent.parent:l.parent,originalName:l.name.text,declaration:l,fieldName:p,accessorName:f,renameAccessor:d}}}function s(n,t,r,a,i){e.isParameterPropertyDeclaration(a,a.parent)?n.insertNodeAtClassStart(t,i,r):e.isPropertyAssignment(a)?n.insertNodeAfterComma(t,a,r):n.insertNodeAfter(t,a,r)}n.generateAccessorFromProperty=function(n,t,r,c,l){var u=o(n,t,r);if(u&&u.info){var d,p,f=e.textChanges.ChangeTracker.fromContext(c),m=u.info,_=m.isStatic,g=m.isReadonly,y=m.fieldName,h=m.accessorName,v=m.originalName,b=m.type,E=m.container,T=m.declaration;if(e.suppressLeadingAndTrailingTrivia(y),e.suppressLeadingAndTrailingTrivia(h),e.suppressLeadingAndTrailingTrivia(T),e.suppressLeadingAndTrailingTrivia(E),e.isClassLike(E)){var S=e.getEffectiveModifierFlags(T);if(e.isSourceFileJS(n)){var L=i(S);d=L,p=L}else d=i(function(e){e&=-65,16&(e&=-9)||(e|=4);return e}(S)),p=i(function(e){return e&=-5,e&=-17,e|=8}(S))}!function(n,t,r,a,i){e.isPropertyDeclaration(r)?function(n,t,r,a,i){var o=e.factory.updatePropertyDeclaration(r,r.decorators,i,a,r.questionToken||r.exclamationToken,r.type,r.initializer);n.replaceNode(t,r,o)}(n,t,r,a,i):e.isPropertyAssignment(r)?function(n,t,r,a){var i=e.factory.updatePropertyAssignment(r,a,r.initializer);n.replacePropertyAssignment(t,r,i)}(n,t,r,a):n.replaceNode(t,r,e.factory.updateParameterDeclaration(r,r.decorators,i,r.dotDotDotToken,e.cast(a,e.isIdentifier),r.questionToken,r.type,r.initializer))}(f,n,T,y,p);var x=function(n,t,r,i,o,s){return e.factory.createGetAccessorDeclaration(void 0,i,t,void 0,r,e.factory.createBlock([e.factory.createReturnStatement(a(n,o,s))],!0))}(y,h,b,d,_,E);if(e.suppressLeadingAndTrailingTrivia(x),s(f,n,x,T,E),g){var A=e.getFirstConstructorWithBody(E);A&&function(n,t,r,a,i){if(!r.body)return;r.body.forEachChild((function r(o){e.isElementAccessExpression(o)&&107===o.expression.kind&&e.isStringLiteral(o.argumentExpression)&&o.argumentExpression.text===i&&e.isWriteAccess(o)&&n.replaceNode(t,o.argumentExpression,e.factory.createStringLiteral(a)),e.isPropertyAccessExpression(o)&&107===o.expression.kind&&o.name.text===i&&e.isWriteAccess(o)&&n.replaceNode(t,o.name,e.factory.createIdentifier(a)),e.isFunctionLike(o)||e.isClassLike(o)||o.forEachChild(r)}))}(f,n,A,y.text,v)}else{var D=function(n,t,r,i,o,s){return e.factory.createSetAccessorDeclaration(void 0,i,t,[e.factory.createParameterDeclaration(void 0,void 0,void 0,e.factory.createIdentifier("value"),void 0,r)],e.factory.createBlock([e.factory.createExpressionStatement(e.factory.createAssignment(a(n,o,s),e.factory.createIdentifier("value")))],!0))}(y,h,b,d,_,E);e.suppressLeadingAndTrailingTrivia(D),s(f,n,D,T,E)}return f.getChanges()}},n.getAccessorConvertiblePropertyAtPosition=o,n.getAllSupers=function(n,t){for(var r=[];n;){var a=e.getClassExtendsHeritageElement(n),i=a&&t.getSymbolAtLocation(a.expression);if(!i)break;var o=2097152&i.flags?t.getAliasedSymbol(i):i,s=e.find(o.declarations,e.isClassLike);if(!s)break;r.push(s),n=s}return r}}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(t,r,a,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(r,a,i)}));return n.createCodeFixActionWithoutFixAll("invalidImportSyntax",o,[e.Diagnostics.Replace_import_with_0,o[0].textChanges[0].newText])}function r(r,a){var i=r.program.getTypeChecker().getTypeAtLocation(a);if(!i.symbol||!i.symbol.originatingImport)return[];var o=[],s=i.symbol.originatingImport;if(e.isImportCall(s)||e.addRange(o,function(n,r){var a=e.getSourceFileOfNode(r),i=e.getNamespaceDeclarationNode(r),o=n.program.getCompilerOptions(),s=[];return s.push(t(n,a,r,e.makeImport(i.name,void 0,r.moduleSpecifier,e.getQuotePreference(a,n.preferences)))),e.getEmitModuleKind(o)===e.ModuleKind.CommonJS&&s.push(t(n,a,r,e.factory.createImportEqualsDeclaration(void 0,void 0,i.name,e.factory.createExternalModuleReference(r.moduleSpecifier)))),s}(r,s)),e.isExpression(a)&&(!e.isNamedDeclaration(a.parent)||a.parent.name!==a)){var c=r.sourceFile,l=e.textChanges.ChangeTracker.with(r,(function(n){return n.replaceNode(c,a,e.factory.createPropertyAccessExpression(a,"default"),{})}));o.push(n.createCodeFixActionWithoutFixAll("invalidImportSyntax",l,e.Diagnostics.Use_synthetic_default_member))}return o}n.registerCodeFix({errorCodes:[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:function(n){var t=n.sourceFile,a=e.Diagnostics.This_expression_is_not_callable.code===n.errorCode?200:201,i=e.findAncestor(e.getTokenAtPosition(t,n.span.start),(function(e){return e.kind===a}));if(!i)return[];var o=i.expression;return r(n,o)}}),n.registerCodeFix({errorCodes:[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,e.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2.code,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,e.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:function(n){var t=n.sourceFile,a=e.findAncestor(e.getTokenAtPosition(t,n.span.start),(function(e){return e.getStart()===n.span.start&&e.getEnd()===n.span.start+n.span.length}));if(!a)return[];return r(n,a)}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="strictClassInitialization",r=[e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.isIdentifier(r)?e.cast(r.parent,e.isPropertyDeclaration):void 0}function i(r,a){var i=e.textChanges.ChangeTracker.with(r,(function(e){return o(e,r.sourceFile,a)}));return n.createCodeFixAction(t,i,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,a.getText()],"addMissingPropertyDefiniteAssignmentAssertions",e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function o(n,t,r){var a=e.factory.updatePropertyDeclaration(r,r.decorators,r.modifiers,r.name,e.factory.createToken(53),r.type,r.initializer);n.replaceNode(t,r,a)}function s(r,a){var i=e.textChanges.ChangeTracker.with(r,(function(e){return c(e,r.sourceFile,a)}));return n.createCodeFixAction(t,i,[e.Diagnostics.Add_undefined_type_to_property_0,a.name.getText()],"addMissingPropertyUndefinedType",e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function c(n,t,r){var a=e.factory.createKeywordTypeNode(149),i=r.type,o=e.isUnionTypeNode(i)?i.types.concat(a):[i,a];n.replaceNode(t,i,e.factory.createUnionTypeNode(o))}function l(n,t,r,a){var i=e.factory.updatePropertyDeclaration(r,r.decorators,r.modifiers,r.name,r.questionToken,r.type,a);n.replaceNode(t,r,i)}function u(n,t){return function n(t,r){if(512&r.flags)return r===t.getFalseType()||r===t.getFalseType(!0)?e.factory.createFalse():e.factory.createTrue();if(r.isStringLiteral())return e.factory.createStringLiteral(r.value);if(r.isNumberLiteral())return e.factory.createNumericLiteral(r.value);if(2048&r.flags)return e.factory.createBigIntLiteral(r.value);if(r.isUnion())return e.firstDefined(r.types,(function(e){return n(t,e)}));if(r.isClass()){var a=e.getClassLikeDeclarationOfSymbol(r.symbol);if(!a||e.hasSyntacticModifier(a,128))return;var i=e.getFirstConstructorWithBody(a);if(i&&i.parameters.length)return;return e.factory.createNewExpression(e.factory.createIdentifier(r.symbol.name),void 0,void 0)}if(t.isArrayLikeType(r))return e.factory.createArrayLiteralExpression();return}(n,n.getTypeFromTypeNode(t.type))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=a(r.sourceFile,r.span.start);if(o){var c=[s(r,o),i(r,o)];return e.append(c,function(r,a){var i=u(r.program.getTypeChecker(),a);if(!i)return;var o=e.textChanges.ChangeTracker.with(r,(function(e){return l(e,r.sourceFile,a,i)}));return n.createCodeFixAction(t,o,[e.Diagnostics.Add_initializer_to_property_0,a.name.getText()],"addMissingPropertyInitializer",e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}(r,o)),c}},fixIds:["addMissingPropertyDefiniteAssignmentAssertions","addMissingPropertyUndefinedType","addMissingPropertyInitializer"],getAllCodeActions:function(t){return n.codeFixAll(t,r,(function(n,r){var i=a(r.file,r.start);if(i)switch(t.fixId){case"addMissingPropertyDefiniteAssignmentAssertions":o(n,r.file,i);break;case"addMissingPropertyUndefinedType":c(n,r.file,i);break;case"addMissingPropertyInitializer":var s=u(t.program.getTypeChecker(),i);if(!s)return;l(n,r.file,i,s);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="requireInTs",r=[e.Diagnostics.require_call_may_be_converted_to_an_import.code];function a(n,t,r){var a=r.allowSyntheticDefaults,i=r.defaultImportName,o=r.namedImports,s=r.statement,c=r.required;n.replaceNode(t,s,i&&!a?e.factory.createImportEqualsDeclaration(void 0,void 0,i,e.factory.createExternalModuleReference(c)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,i,o),c))}function i(n,t,r){var a=e.getTokenAtPosition(n,r).parent;if(!e.isRequireCall(a,!0))throw e.Debug.failBadSyntaxKind(a);var i=e.cast(a.parent,e.isVariableDeclaration),o=e.tryCast(i.name,e.isIdentifier),s=e.isObjectBindingPattern(i.name)?function(n){for(var t=[],r=0,a=n.elements;r<a.length;r++){var i=a[r];if(!e.isIdentifier(i.name)||i.initializer)return;t.push(e.factory.createImportSpecifier(e.tryCast(i.propertyName,e.isIdentifier),i.name))}if(t.length)return e.factory.createNamedImports(t)}(i.name):void 0;if(o||s)return{allowSyntheticDefaults:e.getAllowSyntheticDefaultImports(t.getCompilerOptions()),defaultImportName:o,namedImports:s,statement:e.cast(i.parent.parent,e.isVariableStatement),required:e.first(a.arguments)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=i(r.sourceFile,r.program,r.span.start);if(o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Convert_require_to_import,t,e.Diagnostics.Convert_all_require_to_import)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=i(t.file,e.program,t.start);r&&a(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="useDefaultImport",r=[e.Diagnostics.Import_may_be_converted_to_a_default_import.code];function a(n,t){var r=e.getTokenAtPosition(n,t);if(e.isIdentifier(r)){var a=r.parent;if(e.isImportEqualsDeclaration(a)&&e.isExternalModuleReference(a.moduleReference))return{importNode:a,name:r,moduleSpecifier:a.moduleReference.expression};if(e.isNamespaceImport(a)){var i=a.parent.parent;return{importNode:i,name:r,moduleSpecifier:i.moduleSpecifier}}}}function i(n,t,r,a){n.replaceNode(t,r.importNode,e.makeImport(r.name,void 0,r.moduleSpecifier,e.getQuotePreference(t,a)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span.start,c=a(o,s);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c,r.preferences)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Convert_to_default_import,t,e.Diagnostics.Convert_all_to_default_imports)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,t.start);r&&i(n,t.file,r,e.preferences)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="useBigintLiteral",r=[e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),e.isNumericLiteral);if(a){var i=a.getText(t)+"n";n.replaceNode(t,a,e.factory.createBigIntLiteral(i))}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_to_a_bigint_numeric_literal,t,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixAddModuleReferTypeMissingTypeof",r=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(99===r.kind,"This token should be an ImportKeyword"),e.Debug.assert(192===r.parent.kind,"Token parent should be an ImportType"),r.parent}function i(n,t,r){var a=e.factory.updateImportTypeNode(r,r.argument,r.qualifier,r.typeArguments,!0);n.replaceNode(t,r,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start),l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_missing_typeof,t,e.Diagnostics.Add_missing_typeof)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return i(n,e.sourceFile,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="wrapJsxInFragment",r=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];function a(n,t){var r=e.getTokenAtPosition(n,t).parent.parent;if((e.isBinaryExpression(r)||(r=r.parent,e.isBinaryExpression(r)))&&e.nodeIsMissing(r.operatorToken))return r}function i(n,t,r){var a=function(n){var t=[],r=n;for(;;){if(e.isBinaryExpression(r)&&e.nodeIsMissing(r.operatorToken)&&27===r.operatorToken.kind){if(t.push(r.left),e.isJsxChild(r.right))return t.push(r.right),t;if(e.isBinaryExpression(r.right)){r=r.right;continue}return}return}}(r);a&&n.replaceNode(t,r,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),a,e.factory.createJsxJsxClosingFragment()))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.program.getCompilerOptions().jsx;if(2===o||3===o){var s=r.sourceFile,c=r.span,l=a(s,c.start);if(l){var u=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,s,l)}));return[n.createCodeFixAction(t,u,e.Diagnostics.Wrap_in_JSX_fragment,t,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(e.sourceFile,t.start);r&&i(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixConvertToMappedObjectType",r=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.cast(r.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(a.parent))return{indexSignature:a,container:e.isInterfaceDeclaration(a.parent)?a.parent:e.cast(a.parent.parent,e.isTypeAliasDeclaration)}}function i(n,t,r){var a,i,s=r.indexSignature,c=r.container,l=(e.isInterfaceDeclaration(c)?c.members:c.type.members).filter((function(n){return!e.isIndexSignatureDeclaration(n)})),u=e.first(s.parameters),d=e.factory.createTypeParameterDeclaration(e.cast(u.name,e.isIdentifier),u.type),p=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(s)?e.factory.createModifier(141):void 0,d,s.questionToken,s.type),f=e.factory.createIntersectionTypeNode(o(e.getAllSuperTypeNodes(c),[p],l.length?[e.factory.createTypeLiteralNode(l)]:e.emptyArray));n.replaceNode(t,c,(a=c,i=f,e.factory.createTypeAliasDeclaration(a.decorators,a.modifiers,a.name,a.typeParameters,i)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)})),u=e.idText(c.container.name);return[n.createCodeFixAction(t,l,[e.Diagnostics.Convert_0_to_mapped_object_type,u],t,[e.Diagnostics.Convert_0_to_mapped_object_type,u])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="removeAccidentalCallParentheses",r=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=e.findAncestor(e.getTokenAtPosition(r.sourceFile,r.span.start),e.isCallExpression);if(a){var i=e.textChanges.ChangeTracker.with(r,(function(e){e.deleteRange(r.sourceFile,{pos:a.expression.end,end:a.end})}));return[n.createCodeFixActionWithoutFixAll(t,i,e.Diagnostics.Remove_parentheses)]}},fixIds:[t]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="removeUnnecessaryAwait",r=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),(function(e){return 130===e.kind})),i=a&&e.tryCast(a.parent,e.isAwaitExpression);if(i){var o=i;if(e.isParenthesizedExpression(i.parent)){var s=e.getLeftmostExpression(i.expression,!1);if(e.isIdentifier(s)){var c=e.findPrecedingToken(i.parent.pos,t);c&&102!==c.kind&&(o=i.parent)}}n.replaceNode(t,o,i.expression)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unnecessary_await,t,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],r="splitTypeOnlyImport";function a(n,t){return e.findAncestor(e.getTokenAtPosition(n,t.start),e.isImportDeclaration)}function i(n,t,r){if(t){var a=e.Debug.checkDefined(t.importClause);n.replaceNode(r.sourceFile,t,e.factory.updateImportDeclaration(t,t.decorators,t.modifiers,e.factory.updateImportClause(a,a.isTypeOnly,a.name,void 0),t.moduleSpecifier)),n.insertNodeAfter(r.sourceFile,t,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(a,a.isTypeOnly,void 0,a.namedBindings),t.moduleSpecifier))}}n.registerCodeFix({errorCodes:t,fixIds:[r],getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){return i(e,a(t.sourceFile,t.span),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Split_into_two_separate_import_declarations,r,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){i(n,a(e.sourceFile,t),e)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixConvertConstToLet",r=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=r.program,s=function(n,t,r){var a=e.getTokenAtPosition(n,t),i=r.getTypeChecker().getSymbolAtLocation(a);if(i)return i.valueDeclaration.parent.parent}(a,i.start,o),c=e.textChanges.ChangeTracker.with(r,(function(e){return function(e,n,t){if(!t)return;var r=t.getStart();e.replaceRangeWithText(n,{pos:r,end:r+5},"let")}(e,a,s)}));return[n.createCodeFixAction(t,c,e.Diagnostics.Convert_const_to_let,t,e.Diagnostics.Convert_const_to_let)]},fixIds:[t]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){var t="fixExpectedComma",r=[e.Diagnostics._0_expected.code];function a(n,t,r){var a=e.getTokenAtPosition(n,t);return 26===a.kind&&a.parent&&(e.isObjectLiteralExpression(a.parent)||e.isArrayLiteralExpression(a.parent))?{node:a}:void 0}function i(n,t,r){var a=r.node,i=e.factory.createToken(27);n.replaceNode(t,a,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=a(o,r.span.start,r.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,s)}));return[n.createCodeFixAction(t,c,[e.Diagnostics.Change_0_to_1,";",","],t,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,t.start,t.code);r&&i(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(n){function t(n,t){void 0===t&&(t=!0);var r=n.file,a=e.getRefactorContextSpan(n),i=e.getTokenAtPosition(r,a.start),o=i.parent&&1&e.getSyntacticModifierFlags(i.parent)&&t?i.parent:e.getParentNodeInSpan(i,r,a);if(!(o&&(e.isSourceFile(o.parent)||e.isModuleBlock(o.parent)&&e.isAmbientModule(o.parent.parent))))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var s=e.isSourceFile(o.parent)?o.parent.symbol:o.parent.parent.symbol,c=e.getSyntacticModifierFlags(o),l=!!(512&c);if(!(1&c)||!l&&s.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};switch(o.kind){case 248:case 249:case 250:case 252:case 251:case 253:var u=o;return u.name&&e.isIdentifier(u.name)?{info:{exportNode:u,exportName:u.name,wasDefault:l,exportingModuleSymbol:s}}:void 0;case 229:var d=o;if(!(2&d.declarationList.flags)||1!==d.declarationList.declarations.length)return;var p=e.first(d.declarationList.declarations);if(!p.initializer)return;return e.Debug.assert(!l,"Can't have a default flag here"),e.isIdentifier(p.name)?{info:{exportNode:d,exportName:p.name,wasDefault:l,exportingModuleSymbol:s}}:void 0;default:return}}function r(n,t){return e.factory.createImportSpecifier(n===t?void 0:e.factory.createIdentifier(n),e.factory.createIdentifier(t))}n.registerRefactor("Convert export",{getAvailableActions:function(n){var r=t(n,"invoked"===n.triggerReason);if(!r)return e.emptyArray;if(void 0===r.error){var a=r.info.wasDefault?e.Diagnostics.Convert_default_export_to_named_export.message:e.Diagnostics.Convert_named_export_to_default_export.message;return[{name:"Convert export",description:a,actions:[{name:r.info.wasDefault?"Convert default export to named export":"Convert named export to default export",description:a}]}]}return n.preferences.provideRefactorNotApplicableReason?[{name:"Convert export",description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[{name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,notApplicableReason:r.error}]},{name:"Convert export",description:e.Diagnostics.Convert_named_export_to_default_export.message,actions:[{name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,notApplicableReason:r.error}]}]:e.emptyArray},getEditsForAction:function(n,a){return e.Debug.assert("Convert default export to named export"===a||"Convert named export to default export"===a,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(n,(function(a){var i,o,s,c,l,u;return o=n.file,s=n.program,c=e.Debug.checkDefined(null===(i=t(n))||void 0===i?void 0:i.info,"context must have info"),l=a,u=n.cancellationToken,function(n,t,r,a){var i=t.wasDefault,o=t.exportNode,s=t.exportName;if(i)r.delete(n,e.Debug.checkDefined(e.findModifier(o,87),"Should find a default keyword in modifier list"));else{var c=e.Debug.checkDefined(e.findModifier(o,92),"Should find an export keyword in modifier list");switch(o.kind){case 248:case 249:case 250:r.insertNodeAfter(n,c,e.factory.createToken(87));break;case 229:if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,a,n)){r.replaceNode(n,o,e.factory.createExportDefault(e.Debug.checkDefined(e.first(o.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 252:case 251:case 253:r.deleteModifier(n,c),r.insertNodeAfter(n,o,e.factory.createExportDefault(e.factory.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}}(o,c,l,s.getTypeChecker()),void function(n,t,a,i){var o=t.wasDefault,s=t.exportName,c=t.exportingModuleSymbol,l=n.getTypeChecker(),u=e.Debug.checkDefined(l.getSymbolAtLocation(s),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(n.getSourceFiles(),l,i,u,c,s.text,o,(function(n){var t=n.getSourceFile();o?function(n,t,a,i){var o=t.parent;switch(o.kind){case 198:a.replaceNode(n,t,e.factory.createIdentifier(i));break;case 262:case 267:var s=o;a.replaceNode(n,s,r(i,s.name.text));break;case 259:var c=o;e.Debug.assert(c.name===t,"Import clause name should match provided ref"),s=r(i,t.text);var l=c.namedBindings;if(l)if(260===l.kind){a.deleteRange(n,{pos:t.getStart(n),end:l.getStart(n)});var u=e.isStringLiteral(c.parent.moduleSpecifier)?e.quotePreferenceFromString(c.parent.moduleSpecifier,n):1,d=e.makeImport(void 0,[r(i,t.text)],c.parent.moduleSpecifier,u);a.insertNodeAfter(n,c.parent,d)}else a.delete(n,t),a.insertNodeAtEndOfList(n,l.elements,s);else a.replaceNode(n,t,e.factory.createNamedImports([s]));break;default:e.Debug.failBadSyntaxKind(o)}}(t,n,a,s.text):function(n,t,r){var a,i,o=t.parent;switch(o.kind){case 198:r.replaceNode(n,t,e.factory.createIdentifier("default"));break;case 262:var s=e.factory.createIdentifier(o.name.text);1===o.parent.elements.length?r.replaceNode(n,o.parent,s):(r.delete(n,o),r.insertNodeBefore(n,o.parent,s));break;case 267:r.replaceNode(n,o,(a="default",i=o.name.text,e.factory.createExportSpecifier(a===i?void 0:e.factory.createIdentifier(a),e.factory.createIdentifier(i))));break;default:e.Debug.assertNever(o,"Unexpected parent kind "+o.kind)}}(t,n,a)}))}(s,c,l,u)})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){function t(n,t){void 0===t&&(t=!0);var r=n.file,a=e.getRefactorContextSpan(n),i=e.getTokenAtPosition(r,a.start),o=t?e.findAncestor(i,e.isImportDeclaration):e.getParentNodeInSpan(i,r,a);if(!o||!e.isImportDeclaration(o))return{error:"Selection is not an import declaration."};if(!(o.getEnd()<a.start+a.length)){var s=o.importClause;return s?s.namedBindings?{info:s.namedBindings}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)}}}function r(n,t,r){return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,t,r&&r.length?e.factory.createNamedImports(r):void 0),n.moduleSpecifier)}n.registerRefactor("Convert import",{getAvailableActions:function(n){var r=t(n,"invoked"===n.triggerReason);if(!r)return e.emptyArray;if(void 0===r.error){var a=260===r.info.kind?e.Diagnostics.Convert_namespace_import_to_named_imports.message:e.Diagnostics.Convert_named_imports_to_namespace_import.message;return[{name:"Convert import",description:a,actions:[{name:260===r.info.kind?"Convert namespace import to named imports":"Convert named imports to namespace import",description:a}]}]}return n.preferences.provideRefactorNotApplicableReason?[{name:"Convert import",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,actions:[{name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,notApplicableReason:r.error}]},{name:"Convert import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,actions:[{name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,notApplicableReason:r.error}]}]:e.emptyArray},getEditsForAction:function(n,a){return e.Debug.assert("Convert namespace import to named imports"===a||"Convert named imports to namespace import"===a,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(n,(function(a){var i,o,s,c,l,u;return o=n.file,s=n.program,c=a,l=e.Debug.checkDefined(null===(i=t(n))||void 0===i?void 0:i.info,"Context must provide an import to convert"),u=s.getTypeChecker(),void(260===l.kind?function(n,t,a,i,o){var s=!1,c=[],l=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,t,n,(function(n){if(e.isPropertyAccessExpression(n.parent)){var r=e.cast(n.parent,e.isPropertyAccessExpression),a=r.name.text;t.resolveName(a,n,67108863,!0)&&l.set(a,!0),e.Debug.assert(r.expression===n,"Parent expression should match id"),c.push(r)}else s=!0}));for(var u=new e.Map,d=0,p=c;d<p.length;d++){var f=p[d],m=f.name.text,_=u.get(m);void 0===_&&u.set(m,_=l.has(m)?e.getUniqueName(m,n):m),a.replaceNode(n,f,e.factory.createIdentifier(_))}var g=[];u.forEach((function(n,t){g.push(e.factory.createImportSpecifier(n===t?void 0:e.factory.createIdentifier(t),e.factory.createIdentifier(n)))}));var y=i.parent.parent;s&&!o?a.insertNodeAfter(n,y,r(y,void 0,g)):a.replaceNode(n,y,r(y,s?e.factory.createIdentifier(i.name.text):void 0,g))}(o,u,c,l,e.getAllowSyntheticDefaultImports(s.getCompilerOptions())):function(n,t,a,i){for(var o=i.parent.parent,s=o.moduleSpecifier,c=s&&e.isStringLiteral(s)?e.codefix.moduleSpecifierToValidIdentifier(s.text,99):"module",l=i.elements.some((function(r){return e.FindAllReferences.Core.eachSymbolReferenceInFile(r.name,t,n,(function(e){return!!t.resolveName(c,e,67108863,!0)}))||!1}))?e.getUniqueName(c,n):c,u=[],d=function(r){var i=(r.propertyName||r.name).text;e.FindAllReferences.Core.eachSymbolReferenceInFile(r.name,t,n,(function(t){var o=e.factory.createPropertyAccessExpression(e.factory.createIdentifier(l),i);e.isShorthandPropertyAssignment(t.parent)?a.replaceNode(n,t.parent,e.factory.createPropertyAssignment(t.text,o)):e.isExportSpecifier(t.parent)&&!t.parent.propertyName?u.some((function(e){return e.name===r.name}))||u.push(e.factory.createImportSpecifier(r.propertyName&&e.factory.createIdentifier(r.propertyName.text),e.factory.createIdentifier(r.name.text))):a.replaceNode(n,t,o)}))},p=0,f=i.elements;p<f.length;p++){var m=f[p];d(m)}a.replaceNode(n,i,e.factory.createNamespaceImport(e.factory.createIdentifier(l))),u.length&&a.insertNodeAfter(n,i.parent.parent,r(o,void 0,u))}(o,u,c,l))})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert to optional chain expression",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_optional_chain_expression);function i(n){return e.isBinaryExpression(n)||e.isConditionalExpression(n)}function o(n){return i(n)||function(n){return e.isExpressionStatement(n)||e.isReturnStatement(n)||e.isVariableStatement(n)}(n)}function s(n,t){void 0===t&&(t=!0);var r=n.file,a=n.program,s=e.getRefactorContextSpan(n),d=0===s.length;if(!d||t){var p=e.getTokenAtPosition(r,s.start),f=e.findTokenOnLeftOfPosition(r,s.start+s.length),m=e.createTextSpanFromBounds(p.pos,f&&f.end>=p.pos?f.getEnd():p.getEnd()),_=d?function(e){for(;e.parent;){if(o(e)&&!o(e.parent))return e;e=e.parent}return}(p):function(e,n){for(;e.parent;){if(o(e)&&0!==n.length&&e.end>=n.start+n.length)return e;e=e.parent}return}(p,m),g=_&&o(_)?function(n){if(i(n))return n;if(e.isVariableStatement(n)){var t=e.getSingleVariableOfVariableStatement(n),r=null==t?void 0:t.initializer;return r&&i(r)?r:void 0}return n.expression&&i(n.expression)?n.expression:void 0}(_):void 0;if(!g)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var y=a.getTypeChecker();return e.isConditionalExpression(g)?function(n,t){var r=n.condition,a=u(n.whenTrue);if(!a||t.isNullableType(t.getTypeAtLocation(a)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(r)||e.isIdentifier(r))&&l(r,a.expression))return{info:{finalExpression:a,occurrences:[r],expression:n}};if(e.isBinaryExpression(r)){var i=c(a.expression,r);return i?{info:{finalExpression:a,occurrences:i,expression:n}}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}(g,y):function(n){if(55!==n.operatorToken.kind)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var t=u(n.right);if(!t)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var r=c(t.expression,n.left);return r?{info:{finalExpression:t,occurrences:r,expression:n}}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}(g)}}function c(n,t){for(var r=[];e.isBinaryExpression(t)&&55===t.operatorToken.kind;){var a=l(e.skipParentheses(n),e.skipParentheses(t.right));if(!a)break;r.push(a),n=a,t=t.left}var i=l(n,t);return i&&r.push(i),r.length>0?r:void 0}function l(n,t){return(e.isIdentifier(t)||e.isPropertyAccessExpression(t))&&function(n,t){for(;e.isCallExpression(n)||e.isPropertyAccessExpression(n);){var r=e.isPropertyAccessExpression(t)?t.name.getText():t.getText();if(e.isPropertyAccessExpression(n)&&n.name.getText()===r)break;n=n.expression}for(;e.isPropertyAccessExpression(n)&&e.isPropertyAccessExpression(t);){if(n.name.getText()!==t.name.getText())return!1;n=n.expression,t=t.expression}return e.isIdentifier(n)&&e.isIdentifier(t)&&n.getText()===t.getText()}(n,t)?t:void 0}function u(n){return n=e.skipParentheses(n),e.isBinaryExpression(n)?u(n.left):!e.isPropertyAccessExpression(n)&&!e.isCallExpression(n)||e.isOptionalChain(n)?void 0:n}n.registerRefactor(r,{getAvailableActions:function(n){var t=s(n,"invoked"===n.triggerReason);if(!t)return e.emptyArray;if(!t.error)return[{name:r,description:a,actions:[{name:r,description:a}]}];if(n.preferences.provideRefactorNotApplicableReason)return[{name:r,description:a,actions:[{name:r,description:a,notApplicableReason:t.error}]}];return e.emptyArray},getEditsForAction:function(n,t){var r=s(n);return r&&r.info?{edits:e.textChanges.ChangeTracker.with(n,(function(t){return function(n,t,r,a,i){var o=a.finalExpression,s=a.occurrences,c=a.expression,l=s[s.length-1],u=function n(t,r,a){if(e.isPropertyAccessExpression(r)||e.isCallExpression(r)){var i=n(t,r.expression,a),o=a.length>0?a[a.length-1]:void 0,s=(null==o?void 0:o.getText())===r.expression.getText();if(s&&a.pop(),e.isCallExpression(r))return s?e.factory.createCallChain(i,e.factory.createToken(28),r.typeArguments,r.arguments):e.factory.createCallChain(i,r.questionDotToken,r.typeArguments,r.arguments);if(e.isPropertyAccessExpression(r))return s?e.factory.createPropertyAccessChain(i,e.factory.createToken(28),r.name):e.factory.createPropertyAccessChain(i,r.questionDotToken,r.name)}return r}(t,o,s);u&&(e.isPropertyAccessExpression(u)||e.isCallExpression(u))&&(e.isBinaryExpression(c)?r.replaceNodeRange(n,l,o,u):e.isConditionalExpression(c)&&r.replaceNode(n,c,e.factory.createBinaryExpression(u,e.factory.createToken(60),c.whenFalse)))}(n.file,n.program.getTypeChecker(),t,e.Debug.checkDefined(r.info,"context must have info"))})),renameFilename:void 0,renameLocation:void 0}:void 0}})}(n.convertToOptionalChainExpression||(n.convertToOptionalChainExpression={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert overload list to single signature",a=e.Diagnostics.Convert_overload_list_to_single_signature.message;function i(e){switch(e.kind){case 163:case 164:case 168:case 165:case 169:case 248:return!0}return!1}function o(n,t,r){var a=e.getTokenAtPosition(n,t),o=e.findAncestor(a,i);if(o){var s=r.getTypeChecker(),c=o.symbol;if(c){var l=c.declarations;if(!(e.length(l)<=1)&&e.every(l,(function(t){return e.getSourceFileOfNode(t)===n}))&&i(l[0])){var u=l[0].kind;if(e.every(l,(function(e){return e.kind===u}))){var d=l;if(!e.some(d,(function(n){return!!n.typeParameters||e.some(n.parameters,(function(n){return!!n.decorators||!!n.modifiers||!e.isIdentifier(n.name)}))}))){var p=e.mapDefined(d,(function(e){return s.getSignatureFromDeclaration(e)}));if(e.length(p)===e.length(l)){var f=s.getReturnTypeOfSignature(p[0]);if(e.every(p,(function(e){return s.getReturnTypeOfSignature(e)===f})))return d}}}}}}}n.registerRefactor(r,{getEditsForAction:function(n){var t=n.file,r=n.startPosition,a=n.program,i=o(t,r,a);if(!i)return;var s=a.getTypeChecker(),c=i[i.length-1],l=c;switch(c.kind){case 163:l=e.factory.updateMethodSignature(c,c.modifiers,c.name,c.questionToken,c.typeParameters,d(i),c.type);break;case 164:l=e.factory.updateMethodDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.questionToken,c.typeParameters,d(i),c.type,c.body);break;case 168:l=e.factory.updateCallSignature(c,c.typeParameters,d(i),c.type);break;case 165:l=e.factory.updateConstructorDeclaration(c,c.decorators,c.modifiers,d(i),c.body);break;case 169:l=e.factory.updateConstructSignature(c,c.typeParameters,d(i),c.type);break;case 248:l=e.factory.updateFunctionDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.typeParameters,d(i),c.type,c.body);break;default:return e.Debug.failBadSyntaxKind(c,"Unhandled signature kind in overload list conversion refactoring")}if(l===c)return;var u=e.textChanges.ChangeTracker.with(n,(function(e){e.replaceNodeRange(t,i[0],i[i.length-1],l)}));return{renameFilename:void 0,renameLocation:void 0,edits:u};function d(n){var t=n[n.length-1];return e.isFunctionLikeDeclaration(t)&&t.body&&(n=n.slice(0,n.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(n,p)))])}function p(n){var t=e.map(n.parameters,f);return e.setEmitFlags(e.factory.createTupleTypeNode(t),e.some(t,(function(n){return!!e.length(e.getSyntheticLeadingComments(n))}))?0:1)}function f(n){e.Debug.assert(e.isIdentifier(n.name));var t=e.setTextRange(e.factory.createNamedTupleMember(n.dotDotDotToken,n.name,n.questionToken,n.type||e.factory.createKeywordTypeNode(128)),n),r=n.symbol&&n.symbol.getDocumentationComment(s);if(r){var a=e.displayPartsToString(r);a.length&&e.setSyntheticLeadingComments(t,[{text:"*\n"+a.split("\n").map((function(e){return" * "+e})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return t}},getAvailableActions:function(n){var t=n.file,i=n.startPosition,s=n.program;return o(t,i,s)?[{name:r,description:a,actions:[{name:r,description:a}]}]:e.emptyArray}})}(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r,a,i,o;function s(n){var t=l(n.file,e.getRefactorContextSpan(n),"invoked"===n.triggerReason),r=t.targetRange;if(void 0===r)return t.errors&&0!==t.errors.length&&n.preferences.provideRefactorNotApplicableReason?[{name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[{description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),name:"function_extract_error",notApplicableReason:T(t.errors)}]},{name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[{description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),name:"constant_extract_error",notApplicableReason:T(t.errors)}]}]:e.emptyArray;var a=function(n,t){var r=p(n,t),a=r.scopes,i=r.readsAndWrites,o=i.functionErrorsPerScope,s=i.constantErrorsPerScope;return a.map((function(n,t){var r,a,i=function(n){return e.isFunctionLikeDeclaration(n)?"inner function":e.isClassLike(n)?"method":"function"}(n),c=function(n){return e.isClassLike(n)?"readonly field":"constant"}(n),l=e.isFunctionLikeDeclaration(n)?function(n){switch(n.kind){case 165:return"constructor";case 205:case 248:return n.name?"function '"+n.name.text+"'":e.ANONYMOUS;case 206:return"arrow function";case 164:return"method '"+n.name.getText()+"'";case 166:return"'get "+n.name.getText()+"'";case 167:return"'set "+n.name.getText()+"'";default:throw e.Debug.assertNever(n,"Unexpected scope kind "+n.kind)}}(n):e.isClassLike(n)?function(e){return 249===e.kind?e.name?"class '"+e.name.text+"'":"anonymous class declaration":e.name?"class expression '"+e.name.text+"'":"anonymous class expression"}(n):function(e){return 254===e.kind?"namespace '"+e.parent.name.getText()+"'":e.externalModuleIndicator?0:1}(n);return 1===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"global"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"global"])):0===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"module"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"module"])):(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[i,l]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,l])),0!==t||e.isClassLike(n)||(a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[c])),{functionExtraction:{description:r,errors:o[t]},constantExtraction:{description:a,errors:s[t]}}}))}(r,n);if(void 0===a)return e.emptyArray;for(var i,o,s=[],c=new e.Map,u=[],d=new e.Map,f=0,m=0,_=a;m<_.length;m++){var g=_[m],y=g.functionExtraction,h=g.constantExtraction,v=y.description;if(0===y.errors.length?c.has(v)||(c.set(v,!0),s.push({description:v,name:"function_scope_"+f})):i||(i={description:v,name:"function_scope_"+f,notApplicableReason:T(y.errors)}),0===h.errors.length){var b=h.description;d.has(b)||(d.set(b,!0),u.push({description:b,name:"constant_scope_"+f}))}else o||(o={description:v,name:"constant_scope_"+f,notApplicableReason:T(h.errors)});f++}var E=[];return s.length?E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:s}):n.preferences.provideRefactorNotApplicableReason&&i&&E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[i]}),u.length?E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:u}):n.preferences.provideRefactorNotApplicableReason&&o&&E.push({name:"Extract Symbol",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[o]}),E.length?E:e.emptyArray;function T(e){var n=e[0].messageText;return"string"!=typeof n&&(n=n.messageText),n}}function c(n,t){var r=l(n.file,e.getRefactorContextSpan(n)).targetRange,i=/^function_scope_(\d+)$/.exec(t);if(i){var o=+i[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the function scope index"),function(n,t,r){var i=p(n,t),o=i.scopes,s=i.readsAndWrites,c=s.target,l=s.usagesPerScope,u=s.functionErrorsPerScope,d=s.exposedVariableDeclarations;return e.Debug.assert(!u[r].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),function(n,t,r,i,o,s){var c,l,u=r.usages,d=r.typeParameterUsages,p=r.substitutions,y=s.program.getTypeChecker(),h=e.getEmitScriptTarget(s.program.getCompilerOptions()),b=e.codefix.createImportAdder(s.file,s.program,s.preferences,s.host),E=t.getSourceFile(),T=e.getUniqueName(e.isClassLike(t)?"newMethod":"newFunction",E),S=e.isInJSFile(t),L=e.factory.createIdentifier(T),x=[],A=[];u.forEach((function(n,r){var a;if(!S){var i=y.getTypeOfSymbolAtLocation(n.symbol,n.node);i=y.getBaseTypeOfLiteralType(i),a=e.codefix.typeToAutoImportableTypeNode(y,b,i,t,h,1)}var o=e.factory.createParameterDeclaration(void 0,void 0,void 0,r,void 0,a);x.push(o),2===n.usage&&(l||(l=[])).push(n),A.push(e.factory.createIdentifier(r))}));var D=e.arrayFrom(d.values()).map((function(e){return{type:e,declaration:f(e)}})).sort(m),C=0===D.length?void 0:D.map((function(e){return e.declaration})),I=void 0!==C?C.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)})):void 0;if(e.isExpression(n)&&!S){var N=y.getContextualType(n);c=y.typeToTypeNode(N,t,1)}var R,k=function(n,t,r,a,i){var o,s=void 0!==r||t.length>0;if(e.isBlock(n)&&!s&&0===a.size)return{body:e.factory.createBlock(n.statements,!0),returnValueProperty:void 0};var c=!1,l=e.factory.createNodeArray(e.isBlock(n)?n.statements.slice(0):[e.isStatement(n)?n:e.factory.createReturnStatement(n)]);if(s||a.size){var u=e.visitNodes(l,(function n(i){if(!c&&e.isReturnStatement(i)&&s){var l=_(t,r);return i.expression&&(o||(o="__return"),l.unshift(e.factory.createPropertyAssignment(o,e.visitNode(i.expression,n)))),1===l.length?e.factory.createReturnStatement(l[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(l))}var u=c;c=c||e.isFunctionLikeDeclaration(i)||e.isClassLike(i);var d=a.get(e.getNodeId(i).toString()),p=d?e.getSynthesizedDeepClone(d):e.visitEachChild(i,n,e.nullTransformationContext);return c=u,p})).slice();if(s&&!i&&e.isStatement(n)){var d=_(t,r);1===d.length?u.push(e.factory.createReturnStatement(d[0].name)):u.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(d)))}return{body:e.factory.createBlock(u,!0),returnValueProperty:o}}return{body:e.factory.createBlock(l,!0),returnValueProperty:void 0}}(n,i,l,p,!!(o.facts&a.HasReturn)),O=k.body,P=k.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(O),e.isClassLike(t)){var M=S?[]:[e.factory.createModifier(120)];o.facts&a.InStaticRegion&&M.push(e.factory.createModifier(123)),o.facts&a.IsAsyncFunction&&M.push(e.factory.createModifier(129)),R=e.factory.createMethodDeclaration(void 0,M.length?M:void 0,o.facts&a.IsGenerator?e.factory.createToken(41):void 0,L,void 0,C,x,c,O)}else R=e.factory.createFunctionDeclaration(void 0,o.facts&a.IsAsyncFunction?[e.factory.createToken(129)]:void 0,o.facts&a.IsGenerator?e.factory.createToken(41):void 0,L,C,x,c,O);var w=e.textChanges.ChangeTracker.fromContext(s),F=function(n,t){return e.find(function(n){if(e.isFunctionLikeDeclaration(n)){var t=n.body;if(e.isBlock(t))return t.statements}else{if(e.isModuleBlock(n)||e.isSourceFile(n))return n.statements;if(e.isClassLike(n))return n.members;e.assertType(n)}return e.emptyArray}(t),(function(t){return t.pos>=n&&e.isFunctionLikeDeclaration(t)&&!e.isConstructorDeclaration(t)}))}((g(o.range)?e.last(o.range):o.range).end,t);F?w.insertNodeBefore(s.file,F,R,!0):w.insertNodeAtEndOfScope(s.file,t,R);b.writeFixes(w);var G=[],B=function(n,t,r){var i=e.factory.createIdentifier(r);if(e.isClassLike(n)){var o=t.facts&a.InStaticRegion?e.factory.createIdentifier(n.name.text):e.factory.createThis();return e.factory.createPropertyAccessExpression(o,i)}return i}(t,o,T),U=e.factory.createCallExpression(B,I,A);o.facts&a.IsGenerator&&(U=e.factory.createYieldExpression(e.factory.createToken(41),U));o.facts&a.IsAsyncFunction&&(U=e.factory.createAwaitExpression(U));v(n)&&(U=e.factory.createJsxExpression(void 0,U));if(i.length&&!l)if(e.Debug.assert(!P,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&a.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===i.length){var V=i[0];G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(V.name),void 0,e.getSynthesizedDeepClone(V.type),U)],V.parent.flags)))}else{for(var j=[],K=[],H=i[0].parent.flags,W=!1,q=0,z=i;q<z.length;q++){V=z[q];j.push(e.factory.createBindingElement(void 0,void 0,e.getSynthesizedDeepClone(V.name)));var J=y.typeToTypeNode(y.getBaseTypeOfLiteralType(y.getTypeAtLocation(V)),t,1);K.push(e.factory.createPropertySignature(void 0,V.symbol.name,void 0,J)),W=W||void 0!==V.type,H&=V.parent.flags}var X=W?e.factory.createTypeLiteralNode(K):void 0;X&&e.setEmitFlags(X,1),G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.factory.createObjectBindingPattern(j),void 0,X,U)],H)))}else if(i.length||l){if(i.length)for(var Y=0,Q=i;Y<Q.length;Y++){var Z=(V=Q[Y]).parent.flags;2&Z&&(Z=-3&Z|1),G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(V.symbol.name,void 0,re(V.type))],Z)))}P&&G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(P,void 0,re(c))],1)));var $=_(i,l);P&&$.unshift(e.factory.createShorthandPropertyAssignment(P)),1===$.length?(e.Debug.assert(!P,"Shouldn't have returnValueProperty here"),G.push(e.factory.createExpressionStatement(e.factory.createAssignment($[0].name,U))),o.facts&a.HasReturn&&G.push(e.factory.createReturnStatement())):(G.push(e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createObjectLiteralExpression($),U))),P&&G.push(e.factory.createReturnStatement(e.factory.createIdentifier(P))))}else o.facts&a.HasReturn?G.push(e.factory.createReturnStatement(U)):g(o.range)?G.push(e.factory.createExpressionStatement(U)):G.push(U);g(o.range)?w.replaceNodeRangeWithNodes(s.file,e.first(o.range),e.last(o.range),G):w.replaceNodeWithNodes(s.file,o.range,G);var ee=w.getChanges(),ne=(g(o.range)?e.first(o.range):o.range).getSourceFile().fileName,te=e.getRenameLocation(ee,ne,T,!1);return{renameFilename:ne,renameLocation:te,edits:ee};function re(n){if(void 0!==n){for(var t=e.getSynthesizedDeepClone(n),r=t;e.isParenthesizedTypeNode(r);)r=r.type;return e.isUnionTypeNode(r)&&e.find(r.types,(function(e){return 149===e.kind}))?t:e.factory.createUnionTypeNode([t,e.factory.createKeywordTypeNode(149)])}}}(c,o[r],l[r],d,n,t)}(r,n,o)}var s=/^constant_scope_(\d+)$/.exec(t);if(s){o=+s[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the constant scope index"),function(n,t,r){var i=p(n,t),o=i.scopes,s=i.readsAndWrites,c=s.target,l=s.usagesPerScope,u=s.constantErrorsPerScope,f=s.exposedVariableDeclarations;return e.Debug.assert(!u[r].length,"The extraction went missing? How?"),e.Debug.assert(0===f.length,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested(),function(n,t,r,i,o){var s,c=r.substitutions,l=o.program.getTypeChecker(),u=t.getSourceFile(),p=e.getUniqueName(e.isClassLike(t)?"newProperty":"newLocal",u),f=e.isInJSFile(t),m=f||!l.isContextSensitive(n)?void 0:l.typeToTypeNode(l.getContextualType(n),t,1),_=function(n,t){return t.size?function n(r){var a=t.get(e.getNodeId(r).toString());return a?e.getSynthesizedDeepClone(a):e.visitEachChild(r,n,e.nullTransformationContext)}(n):n}(n,c);s=function(r,a){if(void 0===r)return{variableType:r,initializer:a};if(!e.isFunctionExpression(a)&&!e.isArrowFunction(a)||a.typeParameters)return{variableType:r,initializer:a};var i=l.getTypeAtLocation(n),o=e.singleOrUndefined(l.getSignaturesOfType(i,0));if(!o)return{variableType:r,initializer:a};if(o.getTypeParameters())return{variableType:r,initializer:a};for(var s=[],c=!1,u=0,d=a.parameters;u<d.length;u++){var p=d[u];if(p.type)s.push(p);else{var f=l.getTypeAtLocation(p);f===l.getAnyType()&&(c=!0),s.push(e.factory.updateParameterDeclaration(p,p.decorators,p.modifiers,p.dotDotDotToken,p.name,p.questionToken,p.type||l.typeToTypeNode(f,t,1),p.initializer))}}if(c)return{variableType:r,initializer:a};if(r=void 0,e.isArrowFunction(a))a=e.factory.updateArrowFunction(a,n.modifiers,a.typeParameters,s,a.type||l.typeToTypeNode(o.getReturnType(),t,1),a.equalsGreaterThanToken,a.body);else{if(o&&o.thisParameter){var m=e.firstOrUndefined(s);if(!m||e.isIdentifier(m.name)&&"this"!==m.name.escapedText){var _=l.getTypeOfSymbolAtLocation(o.thisParameter,n);s.splice(0,0,e.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,l.typeToTypeNode(_,t,1)))}}a=e.factory.updateFunctionExpression(a,n.modifiers,a.asteriskToken,a.name,a.typeParameters,s,a.type||l.typeToTypeNode(o.getReturnType(),t,1),a.body)}return{variableType:r,initializer:a}}(m,_),m=s.variableType,_=s.initializer,e.suppressLeadingAndTrailingTrivia(_);var g=e.textChanges.ChangeTracker.fromContext(o);if(e.isClassLike(t)){e.Debug.assert(!f,"Cannot extract to a JS class");var y=[];y.push(e.factory.createModifier(120)),i&a.InStaticRegion&&y.push(e.factory.createModifier(123)),y.push(e.factory.createModifier(141));var b=e.factory.createPropertyDeclaration(void 0,y,p,void 0,m,_),E=e.factory.createPropertyAccessExpression(i&a.InStaticRegion?e.factory.createIdentifier(t.name.getText()):e.factory.createThis(),e.factory.createIdentifier(p));v(n)&&(E=e.factory.createJsxExpression(void 0,E));var T=function(n,t){var r,a=t.members;e.Debug.assert(a.length>0,"Found no members");for(var i=!0,o=0,s=a;o<s.length;o++){var c=s[o];if(c.pos>n)return r||a[0];if(i&&!e.isPropertyDeclaration(c)){if(void 0!==r)return c;i=!1}r=c}return void 0===r?e.Debug.fail():r}(n.pos,t);g.insertNodeBefore(o.file,T,b,!0),g.replaceNode(o.file,n,E)}else{var S=e.factory.createVariableDeclaration(p,void 0,m,_),L=function(n,t){var r;for(;void 0!==n&&n!==t;){if(e.isVariableDeclaration(n)&&n.initializer===r&&e.isVariableDeclarationList(n.parent)&&n.parent.declarations.length>1)return n;r=n,n=n.parent}}(n,t);if(L){g.insertNodeBefore(o.file,L,S);E=e.factory.createIdentifier(p);g.replaceNode(o.file,n,E)}else if(230===n.parent.kind&&t===e.findAncestor(n,d)){var x=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([S],2));g.replaceNode(o.file,n.parent,x)}else{x=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([S],2));if(0===(T=function(n,t){var r;e.Debug.assert(!e.isClassLike(t));for(var a=n;a!==t;a=a.parent)d(a)&&(r=a);for(a=(r||n).parent;;a=a.parent){if(h(a)){for(var i=void 0,o=0,s=a.statements;o<s.length;o++){var c=s[o];if(c.pos>n.pos)break;i=c}return!i&&e.isCaseClause(a)?(e.Debug.assert(e.isSwitchStatement(a.parent.parent),"Grandparent isn't a switch statement"),a.parent.parent):e.Debug.checkDefined(i,"prevStatement failed to get set")}e.Debug.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}(n,t)).pos?g.insertNodeAtTopOfFile(o.file,x,!1):g.insertNodeBefore(o.file,T,x,!1),230===n.parent.kind)g.delete(o.file,n.parent);else{E=e.factory.createIdentifier(p);v(n)&&(E=e.factory.createJsxExpression(void 0,E)),g.replaceNode(o.file,n,E)}}}var A=g.getChanges(),D=n.getSourceFile().fileName,C=e.getRenameLocation(A,D,p,!0);return{renameFilename:D,renameLocation:C,edits:A}}(e.isExpression(c)?c:c.statements[0].expression,o[r],l[r],n.facts,t)}(r,n,o)}e.Debug.fail("Unrecognized action name")}function l(n,t,i){void 0===i&&(i=!0);var o=t.length;if(0===o&&!i)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractEmpty)]};var s=0===o&&i,c=e.getTokenAtPosition(n,t.start),l=s?function(n){return e.findAncestor(n,(function(n){return n.parent&&y(n)&&!e.isBinaryExpression(n.parent)}))}(c):e.getParentNodeInSpan(c,n,t),d=e.findTokenOnLeftOfPosition(n,e.textSpanEnd(t)),p=s?l:e.getParentNodeInSpan(d,n,t),f=[],m=a.None;if(!l||!p)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};if(l.parent!==p.parent)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};if(l!==p){if(!h(l.parent))return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};for(var _=[],g=0,v=l.parent.statements;g<v.length;g++){var b=v[g];if(b===l||_.length){var E=L(b);if(E)return{errors:E};_.push(b)}if(b===p)break}return _.length?{targetRange:{range:_,facts:m,declarations:f}}:{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]}}if(e.isJSDoc(l))return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractJSDoc)]};if(e.isReturnStatement(l)&&!l.expression)return{errors:[e.createFileDiagnostic(n,t.start,o,r.cannotExtractRange)]};var T=function(n){if(e.isReturnStatement(n)){if(n.expression)return n.expression}else if(e.isVariableStatement(n)){for(var t=0,r=void 0,a=0,i=n.declarationList.declarations;a<i.length;a++){var o=i[a];o.initializer&&(t++,r=o.initializer)}if(1===t)return r}else if(e.isVariableDeclaration(n)&&n.initializer)return n.initializer;return n}(l),S=function(n){if(e.isIdentifier(e.isExpressionStatement(n)?n.expression:n))return[e.createDiagnosticForNode(n,r.cannotExtractIdentifier)];return}(T)||L(T);return S?{errors:S}:{targetRange:{range:u(T),facts:m,declarations:f}};function L(n){var i;if(function(e){e[e.None=0]="None",e[e.Break=1]="Break",e[e.Continue=2]="Continue",e[e.Return=4]="Return"}(i||(i={})),e.Debug.assert(n.pos<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),e.Debug.assert(!e.positionIsSynthesized(n.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(e.isStatement(n)||e.isExpressionNode(n)&&y(n)))return[e.createDiagnosticForNode(n,r.statementOrExpressionExpected)];if(8388608&n.flags)return[e.createDiagnosticForNode(n,r.cannotExtractAmbientBlock)];var o,s=e.getContainingClass(n);s&&function(n,t){for(var r=n;r!==t;){if(162===r.kind){e.hasSyntacticModifier(r,32)&&(m|=a.InStaticRegion);break}if(159===r.kind){165===e.getContainingFunction(r).kind&&(m|=a.InStaticRegion);break}164===r.kind&&e.hasSyntacticModifier(r,32)&&(m|=a.InStaticRegion),r=r.parent}}(n,s);var c,l=4;return function n(i){if(o)return!0;if(e.isDeclaration(i)){var s=246===i.kind?i.parent.parent:i;if(e.hasSyntacticModifier(s,1))return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractExportedEntity)),!0;f.push(i.symbol)}switch(i.kind){case 258:return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractImport)),!0;case 105:if(200===i.parent.kind){var u=e.getContainingClass(i);if(u.pos<t.start||u.end>=t.start+t.length)return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractSuper)),!0}else m|=a.UsesThis;break;case 206:e.forEachChild(i,(function n(t){if(e.isThis(t))m|=a.UsesThis;else{if(e.isClassLike(t)||e.isFunctionLike(t)&&!e.isArrowFunction(t))return!1;e.forEachChild(t,n)}}));case 249:case 248:e.isSourceFile(i.parent)&&void 0===i.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(i,r.functionWillNotBeVisibleInTheNewScope));case 218:case 205:case 164:case 165:case 166:case 167:return!1}var d=l;switch(i.kind){case 231:case 244:l=0;break;case 227:i.parent&&244===i.parent.kind&&i.parent.finallyBlock===i&&(l=4);break;case 282:case 281:l|=1;break;default:e.isIterationStatement(i,!1)&&(l|=3)}switch(i.kind){case 186:case 107:m|=a.UsesThis;break;case 242:var p=i.label;(c||(c=[])).push(p.escapedText),e.forEachChild(i,n),c.pop();break;case 238:case 237:(p=i.label)?e.contains(c,p.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):l&(238===i.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 210:m|=a.IsAsyncFunction;break;case 216:m|=a.IsGenerator;break;case 239:4&l?m|=a.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(i,n)}l=d}(n),o}}function u(n){return e.isStatement(n)?[n]:e.isExpressionNode(n)?e.isExpressionStatement(n.parent)?[n.parent]:n:void 0}function d(n){return e.isFunctionLikeDeclaration(n)||e.isSourceFile(n)||e.isModuleBlock(n)||e.isClassLike(n)}function p(n,t){var i=t.file,o=function(n){var t=g(n.range)?e.first(n.range):n.range;if(n.facts&a.UsesThis){var r=e.getContainingClass(t);if(r){var i=e.findAncestor(t,e.isFunctionLikeDeclaration);return i?[i,r]:[r]}}for(var o=[];;)if(159===(t=t.parent).kind&&(t=e.findAncestor(t,(function(n){return e.isFunctionLikeDeclaration(n)})).parent),d(t)&&(o.push(t),294===t.kind))return o}(n);return{scopes:o,readsAndWrites:function(n,t,i,o,s,c){var l,u,d=new e.Map,p=[],f=[],m=[],_=[],y=[],h=new e.Map,v=[],b=g(n.range)?1===n.range.length&&e.isExpressionStatement(n.range[0])?n.range[0].expression:void 0:n.range;if(void 0===b){var E=n.range,T=e.first(E).getStart(),S=e.last(E).end;u=e.createFileDiagnostic(o,T,S-T,r.expressionExpected)}else 147456&s.getTypeAtLocation(b).flags&&(u=e.createDiagnosticForNode(b,r.uselessConstantType));for(var L=0,x=t;L<x.length;L++){var A=x[L];p.push({usages:new e.Map,typeParameterUsages:new e.Map,substitutions:new e.Map}),f.push(new e.Map),m.push(e.isFunctionLikeDeclaration(A)&&248!==A.kind?[e.createDiagnosticForNode(A,r.cannotExtractToOtherFunctionLike)]:[]);var D=[];u&&D.push(u),e.isClassLike(A)&&e.isInJSFile(A)&&D.push(e.createDiagnosticForNode(A,r.cannotExtractToJSClass)),e.isArrowFunction(A)&&!e.isBlock(A.body)&&D.push(e.createDiagnosticForNode(A,r.cannotExtractToExpressionArrowFunction)),_.push(D)}var C=new e.Map,I=g(n.range)?e.factory.createBlock(n.range):n.range,N=g(n.range)?e.first(n.range):n.range,R=(k=N,!!e.findAncestor(k,(function(n){return e.isDeclarationWithTypeParameters(n)&&0!==e.getEffectiveTypeParameterDeclarations(n).length})));var k;if(function c(l,u){void 0===u&&(u=1);if(R){K(s.getTypeAtLocation(l))}e.isDeclaration(l)&&l.symbol&&y.push(l);if(e.isAssignmentExpression(l))c(l.left,2),c(l.right);else if(e.isUnaryExpressionWithWrite(l))c(l.operand,2);else if(e.isPropertyAccessExpression(l)||e.isElementAccessExpression(l))e.forEachChild(l,c);else if(e.isIdentifier(l)){if(!l.parent)return;if(e.isQualifiedName(l.parent)&&l!==l.parent.left)return;if(e.isPropertyAccessExpression(l.parent)&&l!==l.parent.expression)return;!function(c,l,u){var d=function(c,l,u){var d=H(c);if(!d)return;var g=e.getSymbolId(d).toString(),y=C.get(g);if(y&&y>=l)return g;if(C.set(g,l),y){for(var h=0,v=p;h<v.length;h++){var b=v[h];b.usages.get(c.text)&&b.usages.set(c.text,{usage:l,symbol:d,node:c})}return g}var E=d.getDeclarations(),T=E&&e.find(E,(function(e){return e.getSourceFile()===o}));if(!T)return;if(e.rangeContainsStartEnd(i,T.getStart(),T.end))return;if(n.facts&a.IsGenerator&&2===l){for(var S=e.createDiagnosticForNode(c,r.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),L=0,x=m;L<x.length;L++){x[L].push(S)}for(var A=0,D=_;A<D.length;A++){D[A].push(S)}}for(var I=0;I<t.length;I++){var N=t[I];if(s.resolveName(d.name,N,d.flags,!1)!==d&&!f[I].has(g)){var R=W(d.exportSymbol||d,N,u);if(R)f[I].set(g,R);else if(u){if(!(262144&d.flags)){S=e.createDiagnosticForNode(c,r.typeWillNotBeVisibleInTheNewScope);m[I].push(S),_[I].push(S)}}else p[I].usages.set(c.text,{usage:l,symbol:d,node:c})}}return g}(c,l,u);if(d)for(var g=0;g<t.length;g++){var y=f[g].get(d);y&&p[g].substitutions.set(e.getNodeId(c).toString(),y)}}(l,u,e.isPartOfTypeNode(l))}else e.forEachChild(l,c)}(I),R&&!g(n.range)){K(s.getContextualType(n.range))}if(d.size>0){for(var O=new e.Map,P=0,M=N;void 0!==M&&P<t.length;M=M.parent)if(M===t[P]&&(O.forEach((function(e,n){p[P].typeParameterUsages.set(n,e)})),P++),e.isDeclarationWithTypeParameters(M))for(var w=0,F=e.getEffectiveTypeParameterDeclarations(M);w<F.length;w++){var G=F[w],B=s.getTypeAtLocation(G);d.has(B.id.toString())&&O.set(B.id.toString(),B)}e.Debug.assert(P===t.length,"Should have iterated all scopes")}if(y.length){var U=e.isBlockScope(t[0],t[0].parent)?t[0]:e.getEnclosingBlockScopeContainer(t[0]);e.forEachChild(U,(function t(r){if(r===n.range||g(n.range)&&n.range.indexOf(r)>=0)return;var a=e.isIdentifier(r)?H(r):s.getSymbolAtLocation(r);if(a){var i=e.find(y,(function(e){return e.symbol===a}));if(i)if(e.isVariableDeclaration(i)){var o=i.symbol.id.toString();h.has(o)||(v.push(i),h.set(o,!0))}else l=l||i}e.forEachChild(r,t)}))}for(var V=function(t){var a=p[t];if(t>0&&(a.usages.size>0||a.typeParameterUsages.size>0)){var i=g(n.range)?n.range[0]:n.range;_[t].push(e.createDiagnosticForNode(i,r.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(p[t].usages.forEach((function(n){2===n.usage&&(s=!0,106500&n.symbol.flags&&n.symbol.valueDeclaration&&e.hasEffectiveModifier(n.symbol.valueDeclaration,64)&&(o=n.symbol.valueDeclaration))})),e.Debug.assert(g(n.range)||0===v.length,"No variable declarations expected if something was extracted"),s&&!g(n.range)){var c=e.createDiagnosticForNode(n.range,r.cannotWriteInExpression);m[t].push(c),_[t].push(c)}else if(o&&t>0){c=e.createDiagnosticForNode(o,r.cannotExtractReadonlyPropertyInitializerOutsideConstructor);m[t].push(c),_[t].push(c)}else if(l){c=e.createDiagnosticForNode(l,r.cannotExtractExportedEntity);m[t].push(c),_[t].push(c)}},j=0;j<t.length;j++)V(j);return{target:I,usagesPerScope:p,functionErrorsPerScope:m,constantErrorsPerScope:_,exposedVariableDeclarations:v};function K(e){for(var n=0,t=s.getSymbolWalker((function(){return c.throwIfCancellationRequested(),!0})).walkType(e).visitedTypes;n<t.length;n++){var r=t[n];r.isTypeParameter()&&d.set(r.id.toString(),r)}}function H(n){return n.parent&&e.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n?s.getShorthandAssignmentValueSymbol(n.parent):s.getSymbolAtLocation(n)}function W(n,t,r){if(n){var a=n.getDeclarations();if(a&&a.some((function(e){return e.parent===t})))return e.factory.createIdentifier(n.name);var i=W(n.parent,t,r);if(void 0!==i)return r?e.factory.createQualifiedName(i,e.factory.createIdentifier(n.name)):e.factory.createPropertyAccessExpression(i,n.name)}}}(n,o,function(n,t){return g(n.range)?{pos:e.first(n.range).getStart(t),end:e.last(n.range).getEnd()}:n.range}(n,i),i,t.program.getTypeChecker(),t.cancellationToken)}}function f(e){var n,t=e.symbol;if(t&&t.declarations)for(var r=0,a=t.declarations;r<a.length;r++){var i=a[r];(void 0===n||i.pos<n.pos)&&(n=i)}return n}function m(n,t){var r=n.type,a=n.declaration,i=t.type,o=t.declaration;return e.compareProperties(a,o,"pos",e.compareValues)||e.compareStringsCaseSensitive(r.symbol?r.symbol.getName():"",i.symbol?i.symbol.getName():"")||e.compareValues(r.id,i.id)}function _(n,t){var r=e.map(n,(function(n){return e.factory.createShorthandPropertyAssignment(n.symbol.name)})),a=e.map(t,(function(n){return e.factory.createShorthandPropertyAssignment(n.symbol.name)}));return void 0===r?a:void 0===a?r:r.concat(a)}function g(n){return e.isArray(n)}function y(e){var n=e.parent;switch(n.kind){case 288:return!1}switch(e.kind){case 10:return 258!==n.kind&&262!==n.kind;case 217:case 193:case 195:return!1;case 78:return 195!==n.kind&&262!==n.kind&&267!==n.kind}return!0}function h(e){switch(e.kind){case 227:case 294:case 254:case 281:return!0;default:return!1}}function v(n){return(e.isJsxElement(n)||e.isJsxSelfClosingElement(n)||e.isJsxFragment(n))&&e.isJsxElement(n.parent)}n.registerRefactor("Extract Symbol",{getAvailableActions:s,getEditsForAction:c}),t.getAvailableActions=s,t.getEditsForAction=c,function(n){function t(n){return{message:n,code:0,category:e.DiagnosticCategory.Message,key:n}}n.cannotExtractRange=t("Cannot extract range."),n.cannotExtractImport=t("Cannot extract import statement."),n.cannotExtractSuper=t("Cannot extract super call."),n.cannotExtractJSDoc=t("Cannot extract JSDoc."),n.cannotExtractEmpty=t("Cannot extract empty range."),n.expressionExpected=t("expression expected."),n.uselessConstantType=t("No reason to extract constant of type."),n.statementOrExpressionExpected=t("Statement or expression expected."),n.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),n.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),n.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),n.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),n.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),n.cannotExtractIdentifier=t("Select more than a single identifier."),n.cannotExtractExportedEntity=t("Cannot extract exported declaration"),n.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),n.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),n.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),n.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),n.cannotExtractToOtherFunctionLike=t("Cannot extract method to a function-like scope that is not a function"),n.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),n.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block")}(r=t.Messages||(t.Messages={})),function(e){e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.InStaticRegion=16]="InStaticRegion"}(a||(a={})),t.getRangeToExtract=l,function(e){e[e.Module=0]="Module",e[e.Global=1]="Global"}(i||(i={})),function(e){e[e.Read=1]="Read",e[e.Write=2]="Write"}(o||(o={}))}(n.extractSymbol||(n.extractSymbol={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){function t(n,t){void 0===t&&(t=!0);var a=n.file,i=n.startPosition,o=e.isSourceFileJS(a),s=e.getTokenAtPosition(a,i),c=e.createTextRangeFromSpan(e.getRefactorContextSpan(n)),l=c.pos===c.end&&t,u=e.findAncestor(s,(function(n){return n.parent&&e.isTypeNode(n)&&!r(c,n.parent,a)&&(l||e.nodeOverlapsWithStartEnd(s,a,c.pos,c.end))}));if(!u||!e.isTypeNode(u))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var d=n.program.getTypeChecker(),p=e.Debug.checkDefined(e.findAncestor(u,e.isStatement),"Should find a statement"),f=function(n,t,a,i){var o=[];return function s(c){if(e.isTypeReferenceNode(c)){if(e.isIdentifier(c.typeName))if(p=n.resolveName(c.typeName.text,c.typeName,262144,!0)){var l=e.cast(e.first(p.declarations),e.isTypeParameterDeclaration);r(a,l,i)&&!r(t,l,i)&&o.push(l)}}else if(e.isInferTypeNode(c)){var u=e.findAncestor(c,(function(n){return e.isConditionalTypeNode(n)&&r(n.extendsType,c,i)}));if(!u||!r(t,u,i))return!0}else if(e.isTypePredicateNode(c)||e.isThisTypeNode(c)){var d=e.findAncestor(c.parent,e.isFunctionLike);if(d&&d.type&&r(d.type,c,i)&&!r(t,d,i))return!0}else if(e.isTypeQueryNode(c)){var p;if(e.isIdentifier(c.exprName)){if((p=n.resolveName(c.exprName.text,c.exprName,111551,!1))&&r(a,p.valueDeclaration,i)&&!r(t,p.valueDeclaration,i))return!0}else if(e.isThisIdentifier(c.exprName.left)&&!r(t,c.parent,i))return!0}i&&e.isTupleTypeNode(c)&&e.getLineAndCharacterOfPosition(i,c.pos).line===e.getLineAndCharacterOfPosition(i,c.end).line&&e.setEmitFlags(c,1);return e.forEachChild(c,s)}(t)?void 0:o}(d,u,p,a);return f?{info:{isJS:o,selection:u,firstStatement:p,typeParameters:f,typeElements:function n(t,r){if(!r)return;if(e.isIntersectionTypeNode(r)){for(var a=[],i=new e.Map,o=0,s=r.types;o<s.length;o++){var c=s[o],l=n(t,c);if(!l||!l.every((function(n){return n.name&&e.addToSeen(i,e.getNameFromPropertyName(n.name))})))return;e.addRange(a,l)}return a}if(e.isParenthesizedTypeNode(r))return n(t,r.type);if(e.isTypeLiteralNode(r))return r.members;return}(d,u)}}:{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)}}function r(n,t,r){return e.rangeContainsStartEnd(n,e.skipTrivia(r.text,t.pos),t.end)}n.registerRefactor("Extract type",{getAvailableActions:function(n){var r=t(n,"invoked"===n.triggerReason);return r?void 0===r.error?[{name:"Extract type",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:r.info.isJS?[{name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef)}]:e.append([{name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias)}],r.info.typeElements&&{name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface)})}]:n.preferences.provideRefactorNotApplicableReason?[{name:"Extract type",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[{name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),notApplicableReason:r.error},{name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),notApplicableReason:r.error},{name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),notApplicableReason:r.error}]}]:e.emptyArray:e.emptyArray},getEditsForAction:function(n,r){var a,i=n.file,o=e.Debug.checkDefined(null===(a=t(n))||void 0===a?void 0:a.info,"Expected to find a range to extract"),s=e.getUniqueName("NewType",i),c=e.textChanges.ChangeTracker.with(n,(function(n){switch(r){case"Extract to type alias":return e.Debug.assert(!o.isJS,"Invalid actionName/JS combo"),function(n,t,r,a){var i=a.firstStatement,o=a.selection,s=a.typeParameters,c=e.factory.createTypeAliasDeclaration(void 0,void 0,r,s.map((function(n){return e.factory.updateTypeParameterDeclaration(n,n.name,n.constraint,void 0)})),o);n.insertNodeBefore(t,i,e.ignoreSourceNewlines(c),!0),n.replaceNode(t,o,e.factory.createTypeReferenceNode(r,s.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)}))))}(n,i,s,o);case"Extract to typedef":return e.Debug.assert(o.isJS,"Invalid actionName/JS combo"),function(n,t,r,a){var i=a.firstStatement,o=a.selection,s=a.typeParameters,c=e.factory.createJSDocTypedefTag(e.factory.createIdentifier("typedef"),e.factory.createJSDocTypeExpression(o),e.factory.createIdentifier(r)),l=[];e.forEach(s,(function(n){var t=e.getEffectiveConstraintOfTypeParameter(n),r=e.factory.createTypeParameterDeclaration(n.name),a=e.factory.createJSDocTemplateTag(e.factory.createIdentifier("template"),t&&e.cast(t,e.isJSDocTypeExpression),[r]);l.push(a)})),n.insertNodeBefore(t,i,e.factory.createJSDocComment(void 0,e.factory.createNodeArray(e.concatenate(l,[c]))),!0),n.replaceNode(t,o,e.factory.createTypeReferenceNode(r,s.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)}))))}(n,i,s,o);case"Extract to interface":return e.Debug.assert(!o.isJS&&!!o.typeElements,"Invalid actionName/JS combo"),function(n,t,r,a){var i=a.firstStatement,o=a.selection,s=a.typeParameters,c=a.typeElements,l=e.factory.createInterfaceDeclaration(void 0,void 0,r,s,void 0,c);n.insertNodeBefore(t,i,e.ignoreSourceNewlines(l),!0),n.replaceNode(t,o,e.factory.createTypeReferenceNode(r,s.map((function(n){return e.factory.createTypeReferenceNode(n.name,void 0)}))))}(n,i,s,o);default:e.Debug.fail("Unexpected action name")}})),l=i.fileName;return{edits:c,renameFilename:l,renameLocation:e.getRenameLocation(c,l,s,!1)}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){var t,r;n.generateGetAccessorAndSetAccessor||(n.generateGetAccessorAndSetAccessor={}),t="Generate 'get' and 'set' accessors",r=e.Diagnostics.Generate_get_and_set_accessors.message,n.registerRefactor(t,{getEditsForAction:function(n,t){if(n.endPosition){var r=e.codefix.getAccessorConvertiblePropertyAtPosition(n.file,n.startPosition,n.endPosition);if(r&&r.info){var a=e.codefix.generateAccessorFromProperty(n.file,n.startPosition,n.endPosition,n,t);if(a){var i=n.file.fileName,o=r.info.renameAccessor?r.info.accessorName:r.info.fieldName;return{renameFilename:i,renameLocation:(e.isIdentifier(o)?0:-1)+e.getRenameLocation(a,i,o.text,e.isParameter(r.info.declaration)),edits:a}}}}},getAvailableActions:function(n){if(!n.endPosition)return e.emptyArray;var a=e.codefix.getAccessorConvertiblePropertyAtPosition(n.file,n.startPosition,n.endPosition,"invoked"===n.triggerReason);return a?a.error?n.preferences.provideRefactorNotApplicableReason?[{name:t,description:r,actions:[{name:t,description:r,notApplicableReason:a.error}]}]:e.emptyArray:[{name:t,description:r,actions:[{name:t,description:r}]}]:e.emptyArray}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){function t(n){var t=function(n){var t=n.file,r=e.createTextRangeFromSpan(e.getRefactorContextSpan(n)),a=t.statements,i=e.findIndex(a,(function(e){return e.end>r.pos}));if(-1!==i){var o=a[i];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,r))return{toMove:[a[i]],afterLast:a[i+1]};if(!(r.pos>o.getStart(t))){var s=e.findIndex(a,(function(e){return e.end>r.end}),i);if(-1===s||!(0===s||a[s].getStart(t)<r.end))return{toMove:a.slice(i,-1===s?a.length:s),afterLast:-1===s?void 0:a[s]}}}}(n);if(void 0!==t){var r=[],a=[],i=t.toMove,o=t.afterLast;return e.getRangesWhere(i,(function(n){return!function(n){switch(n.kind){case 258:return!0;case 257:return!e.hasSyntacticModifier(n,1);case 229:return n.declarationList.declarations.every((function(n){return!!n.initializer&&e.isRequireCall(n.initializer,!0)}));default:return!1}}(n)}),(function(e,n){for(var t=e;t<n;t++)r.push(i[t]);a.push({first:i[e],afterLast:o})})),0===r.length?void 0:{all:r,ranges:a}}}function r(e,n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r],o=i.first,s=i.afterLast;t.deleteNodeRangeExcludingEnd(e,o,s)}}function a(e){return 258===e.kind?e.moduleSpecifier:257===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function i(n,t){if(e.isImportDeclaration(n))e.isStringLiteral(n.moduleSpecifier)&&t(n);else if(e.isImportEqualsDeclaration(n))e.isExternalModuleReference(n.moduleReference)&&e.isStringLiteralLike(n.moduleReference.expression)&&t(n);else if(e.isVariableStatement(n))for(var r=0,a=n.declarationList.declarations;r<a.length;r++){var i=a[r];i.initializer&&e.isRequireCall(i.initializer,!0)&&t(i)}}function s(n,t,r,a,i){if(r=e.ensurePathIsNonModuleName(r),a){var o=t.map((function(n){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(n))}));return e.makeImportIfNecessary(n,o,r,i)}e.Debug.assert(!n,"No default import should exist");var s=t.map((function(n){return e.factory.createBindingElement(void 0,void 0,n)}));return s.length?c(e.factory.createObjectBindingPattern(s),void 0,l(e.factory.createStringLiteral(r))):void 0}function c(n,t,r,a){return void 0===a&&(a=2),e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(n,void 0,t,r)],a))}function l(n){return e.factory.createCallExpression(e.factory.createIdentifier("require"),void 0,[n])}function u(n,t,r,a){switch(t.kind){case 258:!function(n,t,r,a){if(!t.importClause)return;var i=t.importClause,o=i.name,s=i.namedBindings,c=!o||a(o),l=!s||(260===s.kind?a(s.name):0!==s.elements.length&&s.elements.every((function(e){return a(e.name)})));if(c&&l)r.delete(n,t);else if(o&&c&&r.delete(n,o),s)if(l)r.replaceNode(n,t.importClause,e.factory.updateImportClause(t.importClause,t.importClause.isTypeOnly,o,void 0));else if(261===s.kind)for(var u=0,d=s.elements;u<d.length;u++){var p=d[u];a(p.name)&&r.delete(n,p)}}(n,t,r,a);break;case 257:a(t.name)&&r.delete(n,t);break;case 246:!function(n,t,r,a){var i=t.name;switch(i.kind){case 78:a(i)&&r.delete(n,i);break;case 194:break;case 193:if(i.elements.every((function(n){return e.isIdentifier(n.name)&&a(n.name)})))r.delete(n,e.isVariableDeclarationList(t.parent)&&1===t.parent.declarations.length?t.parent.parent:t);else for(var o=0,s=i.elements;o<s.length;o++){var c=s[o];e.isIdentifier(c.name)&&a(c.name)&&r.delete(n,c.name)}}}(n,t,r,a);break;default:e.Debug.assertNever(t,"Unexpected import decl kind "+t.kind)}}function d(n){switch(n.kind){case 257:case 262:case 259:case 260:return!0;case 246:return p(n);case 195:return e.isVariableDeclaration(n.parent.parent)&&p(n.parent.parent);default:return!1}}function p(n){return e.isSourceFile(n.parent.parent.parent)&&!!n.initializer&&e.isRequireCall(n.initializer,!0)}function f(n,t,r){switch(n.kind){case 258:var a=n.importClause;if(!a)return;var i=a.name&&r(a.name)?a.name:void 0,o=a.namedBindings&&function(n,t){if(260===n.kind)return t(n.name)?n:void 0;var r=n.elements.filter((function(e){return t(e.name)}));return r.length?e.factory.createNamedImports(r):void 0}(a.namedBindings,r);return i||o?e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,i,o),t):void 0;case 257:return r(n.name)?n:void 0;case 246:var s=function(n,t){switch(n.kind){case 78:return t(n)?n:void 0;case 194:return n;case 193:var r=n.elements.filter((function(n){return n.propertyName||!e.isIdentifier(n.name)||t(n.name)}));return r.length?e.factory.createObjectBindingPattern(r):void 0}}(n.name,r);return s?c(s,n.type,l(t),n.parent.flags):void 0;default:return e.Debug.assertNever(n,"Unexpected import kind "+n.kind)}}function m(n,t,r){n.forEachChild((function n(a){if(e.isIdentifier(a)&&!e.isDeclarationName(a)){var i=t.getSymbolAtLocation(a);i&&r(i)}else a.forEachChild(n)}))}n.registerRefactor("Move to a new file",{getAvailableActions:function(n){if(!n.preferences.allowTextChangesInNewFiles||void 0===t(n))return e.emptyArray;var r=e.getLocaleSpecificMessage(e.Diagnostics.Move_to_a_new_file);return[{name:"Move to a new file",description:r,actions:[{name:"Move to a new file",description:r}]}]},getEditsForAction:function(n,c){e.Debug.assert("Move to a new file"===c,"Wrong refactor invoked");var p=e.Debug.checkDefined(t(n));return{edits:e.textChanges.ChangeTracker.with(n,(function(t){return c=n.file,x=n.program,A=p,D=t,C=n.host,I=n.preferences,N=x.getTypeChecker(),R=function(n,t,r){var a=new _,i=new _,o=new _,s=function(n){if(void 0!==n){var t=r.getJsxNamespace(n),a=r.resolveName(t,n,1920,!0);return a&&e.some(a.declarations,d)?a:void 0}}(e.find(t,(function(e){return!!(2&e.transformFlags)})));s&&i.add(s);for(var c=0,l=t;c<l.length;c++)h(E=l[c],(function(n){a.add(e.Debug.checkDefined(e.isExpressionStatement(n)?r.getSymbolAtLocation(n.expression.left):n.symbol,"Need a symbol here"))}));for(var u=0,p=t;u<p.length;u++)m(E=p[u],r,(function(t){var r;if(t.declarations)for(var s=0,c=t.declarations;s<c.length;s++){var l=c[s];d(l)?i.add(t):g(l)&&(r=l,(e.isVariableDeclaration(r)?r.parent.parent.parent:r.parent)===n)&&!a.has(t)&&o.add(t)}}));for(var f=i.clone(),y=new _,v=0,b=n.statements;v<b.length;v++){var E=b[v];e.contains(t,E)||(s&&2&E.transformFlags&&f.delete(s),m(E,r,(function(e){a.has(e)&&y.add(e),f.delete(e)})))}return{movedSymbols:a,newFileImportsFromOldFile:o,oldFileImportsFromNewFile:y,oldImportsNeededByNewFile:i,unusedImportsFromOldFile:f}}(c,A.all,N),k=e.getDirectoryPath(c.fileName),O=e.extensionFromPath(c.fileName),P=function(n,t,r,a){for(var i=n,o=1;;o++){var s=e.combinePaths(r,i+t);if(!a.fileExists(s))return i;i=n+"."+o}}(R.movedSymbols.forEachEntry(e.symbolNameNoDefault)||"newFile",O,k,C),M=P+O,D.createNewFile(c,e.combinePaths(k,M),function(n,t,c,d,p,m,_){var x=p.getTypeChecker();if(!n.externalModuleIndicator&&!n.commonJsModuleIndicator)return r(n,d.ranges,c),d.all;var A=!!n.externalModuleIndicator,D=e.getQuotePreference(n,_),C=function(n,t,r,a){var i,o=[];return n.forEach((function(n){"default"===n.escapedName?i=e.factory.createIdentifier(e.symbolNameNoDefault(n)):o.push(n.name)})),s(i,o,t,r,a)}(t.oldFileImportsFromNewFile,m,A,D);C&&e.insertImports(c,n,C,!0),function(n,t,r,a,o){for(var s=0,c=n.statements;s<c.length;s++){var l=c[s];e.contains(t,l)||i(l,(function(e){return u(n,e,r,(function(e){return a.has(o.getSymbolAtLocation(e))}))}))}}(n,d.all,c,t.unusedImportsFromOldFile,x),r(n,d.ranges,c),function(n,t,r,o,s){for(var c=t.getTypeChecker(),d=function(t){if(t===r)return"continue";for(var d=function(d){i(d,(function(i){if(c.getSymbolAtLocation(a(i))===r.symbol){var p=function(n){var t=e.isBindingElement(n.parent)?e.getPropertySymbolFromBindingElement(c,n.parent):e.skipAlias(c.getSymbolAtLocation(n),c);return!!t&&o.has(t)};u(t,i,n,p);var m=e.combinePaths(e.getDirectoryPath(a(i).text),s),_=f(i,e.factory.createStringLiteral(m),p);_&&n.insertNodeAfter(t,d,_);var g=function(n){switch(n.kind){case 258:return n.importClause&&n.importClause.namedBindings&&260===n.importClause.namedBindings.kind?n.importClause.namedBindings.name:void 0;case 257:return n.name;case 246:return e.tryCast(n.name,e.isIdentifier);default:return e.Debug.assertNever(n,"Unexpected node kind "+n.kind)}}(i);g&&function(n,t,r,a,i,o,s,c){var u=e.codefix.moduleSpecifierToValidIdentifier(i,99),d=!1,p=[];if(e.FindAllReferences.Core.eachSymbolReferenceInFile(s,r,t,(function(n){e.isPropertyAccessExpression(n.parent)&&(d=d||!!r.resolveName(u,n,67108863,!0),a.has(r.getSymbolAtLocation(n.parent.name))&&p.push(n))})),p.length){for(var f=d?e.getUniqueName(u,t):u,m=0,_=p;m<_.length;m++){var g=_[m];n.replaceNode(t,g,e.factory.createIdentifier(f))}n.insertNodeAfter(t,c,function(n,t,r){var a=e.factory.createIdentifier(t),i=e.factory.createStringLiteral(r);switch(n.kind){case 258:return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(a)),i);case 257:return e.factory.createImportEqualsDeclaration(void 0,void 0,a,e.factory.createExternalModuleReference(i));case 246:return e.factory.createVariableDeclaration(a,void 0,void 0,l(i));default:return e.Debug.assertNever(n,"Unexpected node kind "+n.kind)}}(c,i,o))}}(n,t,c,o,s,m,g,i)}}))},p=0,m=t.statements;p<m.length;p++)d(m[p])},p=0,m=t.getSourceFiles();p<m.length;p++){var _=m[p];d(_)}}(c,p,n,t.movedSymbols,m);var I=function(n,t,r,o,c,l,u){for(var d,p=[],m=0,_=n.statements;m<_.length;m++)i(_[m],(function(n){e.append(p,f(n,a(n),(function(e){return t.has(c.getSymbolAtLocation(e))})))}));var y=[],h=e.nodeSeenTracker();return r.forEach((function(t){for(var r=0,a=t.declarations;r<a.length;r++){var i=a[r];if(g(i)){var s=(u=i,e.isExpressionStatement(u)?e.tryCast(u.expression.left.name,e.isIdentifier):e.tryCast(u.name,e.isIdentifier));if(s){var c=v(i);h(c)&&b(n,c,o,l),e.hasSyntacticModifier(i,512)?d=s:y.push(s.text)}}}var u})),e.append(p,s(d,y,e.removeFileExtension(e.getBaseFileName(n.fileName)),l,u)),p}(n,t.oldImportsNeededByNewFile,t.newFileImportsFromOldFile,c,x,A,D),N=function(n,t,r,a){return e.flatMap(t,(function(t){if(s=t,e.Debug.assert(e.isSourceFile(s.parent),"Node parent should be a SourceFile"),(y(s)||e.isVariableStatement(s))&&!E(n,t,a)&&h(t,(function(n){return r.has(e.Debug.checkDefined(n.symbol))}))){var i=function(e,n){return n?[T(e)]:function(e){return o([e],S(e).map(L))}(e)}(t,a);if(i)return i}var s;return t}))}(n,d.all,t.oldFileImportsFromNewFile,A);return I.length&&N.length?o(I,[4],N):o(I,N)}(c,R,D,A,x,P,I)),void function(n,t,r,a,i){var o=n.getCompilerOptions().configFile;if(o){var s=e.normalizePath(e.combinePaths(r,"..",a)),c=e.getRelativePathFromFile(o.fileName,s,i),l=o.statements[0]&&e.tryCast(o.statements[0].expression,e.isObjectLiteralExpression),u=l&&e.find(l.properties,(function(n){return e.isPropertyAssignment(n)&&e.isStringLiteral(n.name)&&"files"===n.name.text}));u&&e.isArrayLiteralExpression(u.initializer)&&t.insertNodeInListAfter(o,e.last(u.initializer.elements),e.factory.createStringLiteral(c),u.initializer.elements)}}(x,D,c.fileName,M,e.hostGetCanonicalFileName(C));var c,x,A,D,C,I,N,R,k,O,P,M})),renameFilename:void 0,renameLocation:void 0}}});var _=function(){function n(){this.map=new e.Map}return n.prototype.add=function(n){this.map.set(String(e.getSymbolId(n)),n)},n.prototype.has=function(n){return this.map.has(String(e.getSymbolId(n)))},n.prototype.delete=function(n){this.map.delete(String(e.getSymbolId(n)))},n.prototype.forEach=function(e){this.map.forEach(e)},n.prototype.forEachEntry=function(n){return e.forEachEntry(this.map,n)},n.prototype.clone=function(){var t=new n;return e.copyEntries(this.map,t.map),t},n}();function g(n){return y(n)&&e.isSourceFile(n.parent)||e.isVariableDeclaration(n)&&e.isSourceFile(n.parent.parent.parent)}function y(e){switch(e.kind){case 248:case 249:case 253:case 252:case 251:case 250:case 257:return!0;default:return!1}}function h(n,t){switch(n.kind){case 248:case 249:case 253:case 252:case 251:case 250:case 257:return t(n);case 229:return e.firstDefined(n.declarationList.declarations,(function(n){return function n(t,r){switch(t.kind){case 78:return r(e.cast(t.parent,(function(n){return e.isVariableDeclaration(n)||e.isBindingElement(n)})));case 194:case 193:return e.firstDefined(t.elements,(function(t){return e.isOmittedExpression(t)?void 0:n(t.name,r)}));default:return e.Debug.assertNever(t,"Unexpected name kind "+t.kind)}}(n.name,t)}));case 230:var r=n.expression;return e.isBinaryExpression(r)&&1===e.getAssignmentDeclarationKind(r)?t(n):void 0}}function v(n){switch(n.kind){case 246:return n.parent.parent;case 195:return v(e.cast(n.parent.parent,(function(n){return e.isVariableDeclaration(n)||e.isBindingElement(n)})));default:return n}}function b(n,t,r,a){if(!E(n,t,a))if(a)e.isExpressionStatement(t)||r.insertExportModifier(n,t);else{var i=S(t);0!==i.length&&r.insertNodesAfter(n,t,i.map(L))}}function E(n,t,r){return r?!e.isExpressionStatement(t)&&e.hasSyntacticModifier(t,1):S(t).some((function(t){return n.symbol.exports.has(e.escapeLeadingUnderscores(t))}))}function T(n){var t=e.concatenate([e.factory.createModifier(92)],n.modifiers);switch(n.kind){case 248:return e.factory.updateFunctionDeclaration(n,n.decorators,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);case 249:return e.factory.updateClassDeclaration(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members);case 229:return e.factory.updateVariableStatement(n,t,n.declarationList);case 253:return e.factory.updateModuleDeclaration(n,n.decorators,t,n.name,n.body);case 252:return e.factory.updateEnumDeclaration(n,n.decorators,t,n.name,n.members);case 251:return e.factory.updateTypeAliasDeclaration(n,n.decorators,t,n.name,n.typeParameters,n.type);case 250:return e.factory.updateInterfaceDeclaration(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members);case 257:return e.factory.updateImportEqualsDeclaration(n,n.decorators,t,n.name,n.moduleReference);case 230:return e.Debug.fail();default:return e.Debug.assertNever(n,"Unexpected declaration kind "+n.kind)}}function S(n){switch(n.kind){case 248:case 249:return[n.name.text];case 229:return e.mapDefined(n.declarationList.declarations,(function(n){return e.isIdentifier(n.name)?n.name.text:void 0}));case 253:case 252:case 251:case 250:case 257:return e.emptyArray;case 230:return e.Debug.fail("Can't export an ExpressionStatement");default:return e.Debug.assertNever(n,"Unexpected decl kind "+n.kind)}}function L(n){return e.factory.createExpressionStatement(e.factory.createBinaryExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("exports"),e.factory.createIdentifier(n)),62,e.factory.createIdentifier(n)))}}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Add or remove braces in an arrow function",a=e.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,i=e.Diagnostics.Add_braces_to_arrow_function.message,o=e.Diagnostics.Remove_braces_from_arrow_function.message;function s(n,t,r){void 0===r&&(r=!0);var a=e.getTokenAtPosition(n,t),i=e.getContainingFunction(a);if(!i)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!e.isArrowFunction(i))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Containing_function_is_not_an_arrow_function)};if(e.rangeContainsRange(i,a)&&(!e.rangeContainsRange(i.body,a)||r)){if(e.isExpression(i.body))return{info:{func:i,addBraces:!0,expression:i.body}};if(1===i.body.statements.length){var o=e.first(i.body.statements);if(e.isReturnStatement(o))return{info:{func:i,addBraces:!1,expression:o.expression,returnStatement:o}}}}}n.registerRefactor(r,{getEditsForAction:function(n,t){var r=n.file,a=n.startPosition,i=s(r,a);if(!i||!i.info)return;var o,c=i.info,l=c.expression,u=c.returnStatement,d=c.func;if("Add braces to arrow function"===t){var p=e.factory.createReturnStatement(l);o=e.factory.createBlock([p],!0),e.suppressLeadingAndTrailingTrivia(o),e.copyLeadingComments(l,p,r,3,!0)}else if("Remove braces from arrow function"===t&&u){var f=l||e.factory.createVoidZero();o=e.needsParentheses(f)?e.factory.createParenthesizedExpression(f):f,e.suppressLeadingAndTrailingTrivia(o),e.copyTrailingAsLeadingComments(u,o,r,3,!1),e.copyLeadingComments(u,o,r,3,!1),e.copyTrailingComments(u,o,r,3,!1)}else e.Debug.fail("invalid action");var m=e.textChanges.ChangeTracker.with(n,(function(e){e.replaceNode(r,d.body,o)}));return{renameFilename:void 0,renameLocation:void 0,edits:m}},getAvailableActions:function(n){var t=n.file,c=n.startPosition,l=n.triggerReason,u=s(t,c,"invoked"===l);if(!u)return e.emptyArray;if(void 0===u.error)return[{name:r,description:a,actions:[u.info.addBraces?{name:"Add braces to arrow function",description:i}:{name:"Remove braces from arrow function",description:o}]}];if(n.preferences.provideRefactorNotApplicableReason)return[{name:r,description:a,actions:[{name:"Add braces to arrow function",description:i,notApplicableReason:u.error},{name:"Remove braces from arrow function",description:o,notApplicableReason:u.error}]}];return e.emptyArray}})}(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert parameters to destructured object";function a(n){var t=n.node;return e.isImportSpecifier(t.parent)||e.isImportClause(t.parent)||e.isImportEqualsDeclaration(t.parent)||e.isNamespaceImport(t.parent)||e.isExportSpecifier(t.parent)||e.isExportAssignment(t.parent)?t:void 0}function i(n){if(e.isDeclaration(n.node.parent))return n.node}function s(n){if(n.node.parent){var t=n.node,r=t.parent;switch(r.kind){case 200:case 201:var a=e.tryCast(r,e.isCallOrNewExpression);if(a&&a.expression===t)return a;break;case 198:var i=e.tryCast(r,e.isPropertyAccessExpression);if(i&&i.parent&&i.name===t){var o=e.tryCast(i.parent,e.isCallOrNewExpression);if(o&&o.expression===i)return o}break;case 199:var s=e.tryCast(r,e.isElementAccessExpression);if(s&&s.parent&&s.argumentExpression===t){var c=e.tryCast(s.parent,e.isCallOrNewExpression);if(c&&c.expression===s)return c}}}}function c(n){if(n.node.parent){var t=n.node,r=t.parent;switch(r.kind){case 198:var a=e.tryCast(r,e.isPropertyAccessExpression);if(a&&a.expression===t)return a;break;case 199:var i=e.tryCast(r,e.isElementAccessExpression);if(i&&i.expression===t)return i}}}function l(n){var t=n.node;if(2===e.getMeaningFromLocation(t)||e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent))return t}function u(n,t,r){var a=e.getTouchingToken(n,t),i=e.getContainingFunctionDeclaration(a);if(!function(n){var t=e.findAncestor(n,e.isJSDocNode);if(t){var r=e.findAncestor(t,(function(n){return!e.isJSDocNode(n)}));return!!r&&e.isFunctionLikeDeclaration(r)}return!1}(a))return!(i&&function(n,t){if(!function(n,t){return function(e){if(m(e))return e.length-1;return e.length}(n)>=2&&e.every(n,(function(n){return function(n,t){if(e.isRestParameter(n)){var r=t.getTypeAtLocation(n);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!n.modifiers&&!n.decorators&&e.isIdentifier(n.name)}(n,t)}))}(n.parameters,t))return!1;switch(n.kind){case 248:return p(n)&&d(n,t);case 164:return d(n,t);case 165:return e.isClassDeclaration(n.parent)?p(n.parent)&&d(n,t):f(n.parent.parent)&&d(n,t);case 205:case 206:return f(n.parent)}return!1}(i,r)&&e.rangeContainsRange(i,a))||i.body&&e.rangeContainsRange(i.body,a)?void 0:i}function d(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function p(n){return!!n.name||!!e.findModifier(n,87)}function f(n){return e.isVariableDeclaration(n)&&e.isVarConst(n)&&e.isIdentifier(n.name)&&!n.type}function m(n){return n.length>0&&e.isThis(n[0].name)}function _(n){return m(n)&&(n=e.factory.createNodeArray(n.slice(1),n.hasTrailingComma)),n}function g(n,t){var r=_(n.parameters),a=e.isRestParameter(e.last(r)),i=a?t.slice(0,r.length-1):t,o=e.map(i,(function(n,t){var a,i,o=y(r[t]),s=(a=o,i=n,e.isIdentifier(i)&&e.getTextOfIdentifierOrLiteral(i)===a?e.factory.createShorthandPropertyAssignment(a):e.factory.createPropertyAssignment(a,i));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),e.copyComments(n,s),s}));if(a&&t.length>=r.length){var s=t.slice(r.length-1),c=e.factory.createPropertyAssignment(y(e.last(r)),e.factory.createArrayLiteralExpression(s));o.push(c)}return e.factory.createObjectLiteralExpression(o,!1)}function y(n){return e.getTextOfIdentifierOrLiteral(n.name)}n.registerRefactor(r,{getEditsForAction:function(n,t){e.Debug.assert(t===r,"Unexpected action name");var d=n.file,p=n.startPosition,f=n.program,h=n.cancellationToken,v=n.host,b=u(d,p,f.getTypeChecker());if(!b||!h)return;var E=function(n,t,r){var u=function(n){switch(n.kind){case 248:return n.name?[n.name]:[e.Debug.checkDefined(e.findModifier(n,87),"Nameless function declaration should be a default export")];case 164:return[n.name];case 165:var t=e.Debug.checkDefined(e.findChildOfKind(n,132,n.getSourceFile()),"Constructor declaration should have constructor keyword");return 218===n.parent.kind?[n.parent.parent.name,t]:[t];case 206:return[n.parent.name];case 205:return n.name?[n.name,n.parent.name]:[n.parent.name];default:return e.Debug.assertNever(n,"Unexpected function declaration kind "+n.kind)}}(n),d=e.isConstructorDeclaration(n)?function(n){switch(n.parent.kind){case 249:var t=n.parent;return t.name?[t.name]:[e.Debug.checkDefined(e.findModifier(t,87),"Nameless class declaration should be a default export")];case 218:var r=n.parent,a=n.parent.parent,i=r.name;return i?[i,a.name]:[a.name]}}(n):[],p=e.deduplicate(o(u,d),e.equateValues),f=t.getTypeChecker(),m=function(t){for(var r={accessExpressions:[],typeUsages:[]},o={functionCalls:[],declarations:[],classReferences:r,valid:!0},p=e.map(u,_),f=e.map(d,_),m=e.isConstructorDeclaration(n),g=0,y=t;g<y.length;g++){var h=y[g];if(1===h.kind){if(e.contains(p,_(h.node))||e.isNewExpressionTarget(h.node)){if(a(h))continue;if(b=i(h)){o.declarations.push(b);continue}var v=s(h);if(v){o.functionCalls.push(v);continue}}if(m&&e.contains(f,_(h.node))){var b;if(a(h))continue;if(b=i(h)){o.declarations.push(b);continue}var E=c(h);if(E){r.accessExpressions.push(E);continue}if(e.isClassDeclaration(n.parent)){var T=l(h);if(T){r.typeUsages.push(T);continue}}}o.valid=!1}else o.valid=!1}return o}(e.flatMap(p,(function(n){return e.FindAllReferences.getReferenceEntriesForNode(-1,n,t,t.getSourceFiles(),r)})));e.every(m.declarations,(function(n){return e.contains(p,n)}))||(m.valid=!1);return m;function _(n){var t=f.getSymbolAtLocation(n);return t&&e.getSymbolTarget(t,f)}}(b,f,h);if(E.valid){return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(n,(function(n){return function(n,t,r,a,i,o){var s=e.map(function(n,t,r){var a,i=t.getTypeChecker(),o=_(n.parameters),s=e.map(o,(function(n){var t=e.factory.createBindingElement(void 0,void 0,y(n),e.isRestParameter(n)&&v(n)?e.factory.createArrayLiteralExpression():n.initializer);e.suppressLeadingAndTrailingTrivia(t),n.initializer&&t.initializer&&e.copyComments(n.initializer,t.initializer);return t})),c=e.factory.createObjectBindingPattern(s),l=(u=o,d=e.map(u,h),e.addEmitFlags(e.factory.createTypeLiteralNode(d),1));var u,d;e.every(o,v)&&(a=e.factory.createObjectLiteralExpression());var p=e.factory.createParameterDeclaration(void 0,void 0,void 0,c,void 0,l,a);if(m(n.parameters)){var f=n.parameters[0],g=e.factory.createParameterDeclaration(void 0,void 0,void 0,f.name,void 0,f.type);return e.suppressLeadingAndTrailingTrivia(g.name),e.copyComments(f.name,g.name),f.type&&(e.suppressLeadingAndTrailingTrivia(g.type),e.copyComments(f.type,g.type)),e.factory.createNodeArray([g,p])}return e.factory.createNodeArray([p]);function h(n){var a,o,s=n.type;s||!n.initializer&&!e.isRestParameter(n)||(a=n,o=i.getTypeAtLocation(a),s=e.getTypeNodeIfAccessible(o,a,t,r));var c=e.factory.createPropertySignature(void 0,y(n),v(n)?e.factory.createToken(57):n.questionToken,s);return e.suppressLeadingAndTrailingTrivia(c),e.copyComments(n.name,c.name),n.type&&c.type&&e.copyComments(n.type,c.type),c}function v(n){if(e.isRestParameter(n)){var t=i.getTypeAtLocation(n);return!i.isTupleType(t)}return i.isOptionalParameter(n)}}(i,t,r),(function(n){return e.getSynthesizedDeepClone(n)}));a.replaceNodeRangeWithNodes(n,e.first(i.parameters),e.last(i.parameters),s,{joiner:", ",indentation:0,leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include});for(var c=e.sortAndDeduplicate(o.functionCalls,(function(n,t){return e.compareValues(n.pos,t.pos)})),l=0,u=c;l<u.length;l++){var d=u[l];if(d.arguments&&d.arguments.length){var p=e.getSynthesizedDeepClone(g(i,d.arguments),!0);a.replaceNodeRange(e.getSourceFileOfNode(d),e.first(d.arguments),e.last(d.arguments),p,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}}(d,f,v,n,b,E)}))}}return{edits:[]}},getAvailableActions:function(n){var t=n.file,a=n.startPosition;if(e.isSourceFileJS(t))return e.emptyArray;if(!u(t,a,n.program.getTypeChecker()))return e.emptyArray;var i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_parameters_to_destructured_object);return[{name:r,description:i,actions:[{name:r,description:i}]}]}})}(n.convertParamsToDestructuredObject||(n.convertParamsToDestructuredObject={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert to template string",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string);function i(n,t){var r=e.getTokenAtPosition(n,t),a=s(r);return!c(a)&&e.isParenthesizedExpression(a.parent)&&e.isBinaryExpression(a.parent.parent)?a.parent.parent:r}function o(n,t){var r=s(t),a=n.file,i=function(n,t){var r=n.nodes,a=n.operators,i=function(n,t){return function(r,a){r<n.length&&e.copyTrailingComments(n[r],a,t,3,!1)}}(a,t),o=function(n,t,r){return function(a,i){for(;a.length>0;){var o=a.shift();e.copyTrailingComments(n[o],i,t,3,!1),r(o,i)}}}(r,t,i),s=u(0,r),c=s[0],l=s[1],p=s[2];if(c===r.length){var f=e.factory.createNoSubstitutionTemplateLiteral(l);return o(p,f),f}var m=[],_=e.factory.createTemplateHead(l);o(p,_);for(var g=c;g<r.length;g++){var y=d(r[g]);i(g,y);var h=u(g+1,r),v=h[0],b=h[1],E=h[2],T=(g=v-1)===r.length-1?e.factory.createTemplateTail(b):e.factory.createTemplateMiddle(b);o(E,T),m.push(e.factory.createTemplateSpan(y,T))}return e.factory.createTemplateExpression(_,m)}(l(r),a),o=e.getTrailingCommentRanges(a.text,r.end);if(o){var c=o[o.length-1],p={pos:o[0].pos,end:c.end};return e.textChanges.ChangeTracker.with(n,(function(e){e.deleteRange(a,p),e.replaceNode(a,r,i)}))}return e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(a,r,i)}))}function s(n){for(;e.isBinaryExpression(n.parent)&&62!==n.parent.operatorToken.kind;)n=n.parent;return n}function c(e){var n=l(e),t=n.containsString,r=n.areOperatorsValid;return t&&r}function l(n){if(e.isBinaryExpression(n)){var t=l(n.left),r=t.nodes,a=t.operators,i=t.containsString,o=t.areOperatorsValid;if(!i&&!e.isStringLiteral(n.right))return{nodes:[n],operators:[],containsString:!1,areOperatorsValid:!0};var s=39===n.operatorToken.kind,c=o&&s;return r.push(n.right),a.push(n.operatorToken),{nodes:r,operators:a,containsString:!0,areOperatorsValid:c}}return{nodes:[n],operators:[],containsString:e.isStringLiteral(n),areOperatorsValid:!0}}n.registerRefactor(r,{getEditsForAction:function(n,t){var r=n.file,s=n.startPosition,c=i(r,s);switch(t){case a:return{edits:o(n,c)};default:return e.Debug.fail("invalid action")}},getAvailableActions:function(n){var t=n.file,o=n.startPosition,l=s(i(t,o)),u={name:r,description:a,actions:[]};if(e.isBinaryExpression(l)&&c(l))return u.actions.push({name:r,description:a}),[u];return e.emptyArray}});function u(n,t){for(var r="",a=[];n<t.length&&e.isStringLiteral(t[n]);){r+=t[n].text,a.push(n),n++}return[n,r,a]}function d(n){return e.isParenthesizedExpression(n)&&(!function(n){var t=n.getSourceFile();e.copyTrailingComments(n,n.expression,t,3,!1),e.copyTrailingAsLeadingComments(n.expression,n.expression,t,3,!1)}(n),n=n.expression),n}}(n.convertStringOrTemplateLiteral||(n.convertStringOrTemplateLiteral={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(n){!function(t){var r="Convert arrow function or function expression",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_arrow_function_or_function_expression),i=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_anonymous_function),o=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_named_function),s=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_arrow_function);function c(n){var t=!1;return n.forEachChild((function n(r){e.isThis(r)?t=!0:e.isClassLike(r)||e.isFunctionDeclaration(r)||e.isFunctionExpression(r)||e.forEachChild(r,n)})),t}function l(n,t,r){var a=e.getTokenAtPosition(n,t),i=function(n){if(!function(n){return e.isVariableDeclaration(n)||e.isVariableDeclarationList(n)&&1===n.declarations.length}(n))return;var t=(e.isVariableDeclaration(n)?n:n.declarations[0]).initializer;return t&&e.isArrowFunction(t)?t:void 0}(a.parent);if(i&&!c(i.body))return{selectedVariableDeclaration:!0,func:i};var o=e.getContainingFunction(a),s=r.getTypeChecker();if(o&&(e.isFunctionExpression(o)||e.isArrowFunction(o))&&!e.rangeContainsRange(o.body,a)&&!c(o.body)){if(e.isFunctionExpression(o)&&o.name&&e.FindAllReferences.Core.isSymbolReferencedInFile(o.name,s,n))return;return{selectedVariableDeclaration:!1,func:o}}}function u(n){return e.isExpression(n)?e.factory.createBlock([e.factory.createReturnStatement(n)],!0):n}n.registerRefactor(r,{getEditsForAction:function(n,t){var r=n.file,a=n.startPosition,i=n.program,o=l(r,a,i);if(!o)return;var s=o.func,c=[];switch(t){case"Convert to anonymous function":c.push.apply(c,function(n,t){var r=n.file,a=u(t.body),i=e.factory.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,t.typeParameters,t.parameters,t.type,a);return e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(r,t,i)}))}(n,s));break;case"Convert to named function":var d=function(n){var t=n.parent;if(!e.isVariableDeclaration(t)||!e.isVariableDeclarationInVariableStatement(t))return;var r=t.parent,a=r.parent;return e.isVariableDeclarationList(r)&&e.isVariableStatement(a)&&e.isIdentifier(t.name)?{variableDeclaration:t,variableDeclarationList:r,statement:a,name:t.name}:void 0}(s);if(!d)return;c.push.apply(c,function(n,t,r){var a=n.file,i=u(t.body),o=r.variableDeclaration,s=r.variableDeclarationList,c=r.statement,l=r.name;e.suppressLeadingTrivia(c);var d=e.factory.createFunctionDeclaration(t.decorators,c.modifiers,t.asteriskToken,l,t.typeParameters,t.parameters,t.type,i);return 1===s.declarations.length?e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(a,c,d)})):e.textChanges.ChangeTracker.with(n,(function(e){e.delete(a,o),e.insertNodeAfter(a,c,d)}))}(n,s,d));break;case"Convert to arrow function":if(!e.isFunctionExpression(s))return;c.push.apply(c,function(n,t){var r,a=n.file,i=t.body.statements[0];!function(n,t){return 1===n.statements.length&&e.isReturnStatement(t)&&!!t.expression}(t.body,i)?r=t.body:(r=i.expression,e.suppressLeadingAndTrailingTrivia(r),e.copyComments(i,r));var o=e.factory.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,e.factory.createToken(38),r);return e.textChanges.ChangeTracker.with(n,(function(e){return e.replaceNode(a,t,o)}))}(n,s));break;default:return e.Debug.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:c}},getAvailableActions:function(n){var t=n.file,c=n.startPosition,u=n.program,d=l(t,c,u);if(!d)return e.emptyArray;var p=d.selectedVariableDeclaration,f=d.func,m=[];(p||e.isArrowFunction(f)&&e.isVariableDeclaration(f.parent))&&m.push({name:"Convert to named function",description:o});!p&&e.isArrowFunction(f)&&m.push({name:"Convert to anonymous function",description:i});e.isFunctionExpression(f)&&m.push({name:"Convert to arrow function",description:s});return[{name:r,description:a,actions:m}]}})}(n.convertArrowFunctionOrFunctionExpression||(n.convertArrowFunctionOrFunctionExpression={}))}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){function n(n,r,a,i){var o=e.isNodeKind(n)?new t(n,r,a):78===n?new u(78,r,a):79===n?new p(79,r,a):new l(n,r,a);return o.parent=i,o.flags=25358336&i.flags,o}e.servicesVersion="0.8";var t=function(){function t(e,n,t){this.pos=n,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}return t.prototype.assertHasRealPosition=function(n){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),n||"Node must have a real position for this operation")},t.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},t.prototype.getStart=function(n,t){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,n,t)},t.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},t.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},t.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},t.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},t.prototype.getChildCount=function(e){return this.getChildren(e).length},t.prototype.getChildAt=function(e,n){return this.getChildren(n)[e]},t.prototype.getChildren=function(t){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=function(t,r){if(!e.isNodeKind(t.kind))return e.emptyArray;var i=[];if(e.isJSDocCommentContainingNode(t))return t.forEachChild((function(e){i.push(e)})),i;e.scanner.setText((r||t.getSourceFile()).text);var o=t.pos,s=function(e){a(i,o,e.pos,t),i.push(e),o=e.end};return e.forEach(t.jsDoc,s),o=t.pos,t.forEachChild(s,(function(e){a(i,o,e.pos,t),i.push(function(e,t){var r=n(329,e.pos,e.end,t);r._children=[];for(var i=e.pos,o=0,s=e;o<s.length;o++){var c=s[o];a(r._children,i,c.pos,t),r._children.push(c),i=c.end}return a(r._children,i,e.end,t),r}(e,t)),o=e.end})),a(i,o,t.end,t),e.scanner.setText(void 0),i}(this,t))},t.prototype.getFirstToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n);if(t.length){var r=e.find(t,(function(e){return e.kind<298||e.kind>328}));return r.kind<156?r:r.getFirstToken(n)}},t.prototype.getLastToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n),r=e.lastOrUndefined(t);if(r)return r.kind<156?r:r.getLastToken(n)},t.prototype.forEachChild=function(n,t){return e.forEachChild(this,n,t)},t}();function a(t,r,a,i){for(e.scanner.setTextPos(r);r<a;){var o=e.scanner.scan(),s=e.scanner.getTextPos();if(s<=a&&(78===o&&e.Debug.fail("Did not expect "+e.Debug.formatSyntaxKind(i.kind)+" to have an Identifier in its trivia"),t.push(n(o,r,s,i))),r=s,1===o)break}}var i=function(){function n(e,n){this.pos=e,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}return n.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},n.prototype.getStart=function(n,t){return e.getTokenPosOfNode(this,n,t)},n.prototype.getFullStart=function(){return this.pos},n.prototype.getEnd=function(){return this.end},n.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},n.prototype.getFullWidth=function(){return this.end-this.pos},n.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},n.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},n.prototype.getText=function(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},n.prototype.getChildCount=function(){return 0},n.prototype.getChildAt=function(){},n.prototype.getChildren=function(){return 1===this.kind&&this.jsDoc||e.emptyArray},n.prototype.getFirstToken=function(){},n.prototype.getLastToken=function(){},n.prototype.forEachChild=function(){},n}(),c=function(){function n(e,n){this.flags=e,this.escapedName=n}return n.prototype.getFlags=function(){return this.flags},Object.defineProperty(n.prototype,"name",{get:function(){return e.symbolName(this)},enumerable:!1,configurable:!0}),n.prototype.getEscapedName=function(){return this.escapedName},n.prototype.getName=function(){return this.name},n.prototype.getDeclarations=function(){return this.declarations},n.prototype.getDocumentationComment=function(n){if(!this.documentationComment)if(this.documentationComment=e.emptyArray,!this.declarations&&this.target&&this.target.tupleLabelDeclaration){var t=this.target.tupleLabelDeclaration;this.documentationComment=g([t],n)}else this.documentationComment=g(this.declarations,n);return this.documentationComment},n.prototype.getContextualDocumentationComment=function(n,t){switch(null==n?void 0:n.kind){case 166:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=e.emptyArray,this.contextualGetAccessorDocumentationComment=g(e.filter(this.declarations,e.isGetAccessor),t)),this.contextualGetAccessorDocumentationComment;case 167:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=e.emptyArray,this.contextualSetAccessorDocumentationComment=g(e.filter(this.declarations,e.isSetAccessor),t)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(t)}},n.prototype.getJsDocTags=function(){return void 0===this.tags&&(this.tags=e.JsDoc.getJsDocTagsFromDeclarations(this.declarations)),this.tags},n}(),l=function(e){function n(n,t,r){var a=e.call(this,t,r)||this;return a.kind=n,a}return d(n,e),n}(i),u=function(n){function t(e,t,r){var a=n.call(this,t,r)||this;return a.kind=78,a}return d(t,n),Object.defineProperty(t.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),t}(i);u.prototype.kind=78;var p=function(n){function t(e,t,r){return n.call(this,t,r)||this}return d(t,n),Object.defineProperty(t.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),t}(i);p.prototype.kind=79;var f=function(){function n(e,n){this.checker=e,this.flags=n}return n.prototype.getFlags=function(){return this.flags},n.prototype.getSymbol=function(){return this.symbol},n.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},n.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},n.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},n.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},n.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},n.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},n.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},n.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},n.prototype.isNullableType=function(){return this.checker.isNullableType(this)},n.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},n.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},n.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},n.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},n.prototype.isUnion=function(){return!!(1048576&this.flags)},n.prototype.isIntersection=function(){return!!(2097152&this.flags)},n.prototype.isUnionOrIntersection=function(){return!!(3145728&this.flags)},n.prototype.isLiteral=function(){return!!(384&this.flags)},n.prototype.isStringLiteral=function(){return!!(128&this.flags)},n.prototype.isNumberLiteral=function(){return!!(256&this.flags)},n.prototype.isTypeParameter=function(){return!!(262144&this.flags)},n.prototype.isClassOrInterface=function(){return!!(3&e.getObjectFlags(this))},n.prototype.isClass=function(){return!!(1&e.getObjectFlags(this))},Object.defineProperty(n.prototype,"typeArguments",{get:function(){if(4&e.getObjectFlags(this))return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0}),n}(),m=function(){function n(e,n){this.checker=e,this.flags=n}return n.prototype.getDeclaration=function(){return this.declaration},n.prototype.getTypeParameters=function(){return this.typeParameters},n.prototype.getParameters=function(){return this.parameters},n.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},n.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=g(e.singleElementArray(this.declaration),this.checker))},n.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?e.JsDoc.getJsDocTagsFromDeclarations([this.declaration]):[]),this.jsDocTags},n}();function _(n){return e.getJSDocTags(n).some((function(e){return"inheritDoc"===e.tagName.text}))}function g(n,t){if(!n)return e.emptyArray;var r=e.JsDoc.getJsDocCommentsFromDeclarations(n);return(0===r.length||n.some(_))&&e.forEachUnique(n,(function(n){var a=function(n,t,r){return e.firstDefined(n.parent?e.getAllSuperTypeNodes(n.parent):e.emptyArray,(function(e){var n=r.getTypeAtLocation(e),a=n&&r.getPropertyOfType(n,t),i=a&&a.getDocumentationComment(r);return i&&i.length?i:void 0}))}(n,n.symbol.name,t);a&&(r=0===r.length?a.slice():a.concat(e.lineBreakPart(),r))})),r}var y=function(n){function t(e,t,r){var a=n.call(this,e,t,r)||this;return a.kind=294,a}return d(t,n),t.prototype.update=function(n,t){return e.updateSourceFile(this,n,t)},t.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},t.prototype.getLineStarts=function(){return e.getLineStarts(this)},t.prototype.getPositionOfLineAndCharacter=function(n,t,r){return e.computePositionOfLineAndCharacter(e.getLineStarts(this),n,t,this.text,r)},t.prototype.getLineEndOfPosition=function(e){var n,t=this.getLineAndCharacterOfPosition(e).line,r=this.getLineStarts();t+1>=r.length&&(n=this.getEnd()),n||(n=r[t+1]-1);var a=this.getFullText();return"\n"===a[n]&&"\r"===a[n-1]?n-1:n},t.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},t.prototype.computeNamedDeclarations=function(){var n=e.createMultiMap();return this.forEachChild((function a(i){switch(i.kind){case 248:case 205:case 164:case 163:var o=i,s=r(o);if(s){var c=function(e){var t=n.get(e);t||n.set(e,t=[]);return t}(s),l=e.lastOrUndefined(c);l&&o.parent===l.parent&&o.symbol===l.symbol?o.body&&!l.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(i,a);break;case 249:case 218:case 250:case 251:case 252:case 253:case 257:case 267:case 262:case 259:case 260:case 166:case 167:case 176:t(i),e.forEachChild(i,a);break;case 159:if(!e.hasSyntacticModifier(i,92))break;case 246:case 195:var u=i;if(e.isBindingPattern(u.name)){e.forEachChild(u.name,a);break}u.initializer&&a(u.initializer);case 288:case 162:case 161:t(i);break;case 264:var d=i;d.exportClause&&(e.isNamedExports(d.exportClause)?e.forEach(d.exportClause.elements,a):a(d.exportClause.name));break;case 258:var p=i.importClause;p&&(p.name&&t(p.name),p.namedBindings&&(260===p.namedBindings.kind?t(p.namedBindings):e.forEach(p.namedBindings.elements,a)));break;case 213:0!==e.getAssignmentDeclarationKind(i)&&t(i);default:e.forEachChild(i,a)}})),n;function t(e){var t=r(e);t&&n.add(t,e)}function r(n){var t=e.getNonAssignedNameOfDeclaration(n);return t&&(e.isComputedPropertyName(t)&&e.isPropertyAccessExpression(t.expression)?t.expression.name.text:e.isPropertyName(t)?e.getNameFromPropertyName(t):void 0)}},t}(t),h=function(){function n(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}return n.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},n}();function v(n){var t=!0;for(var r in n)if(e.hasProperty(n,r)&&!b(r)){t=!1;break}if(t)return n;var a={};for(var r in n){if(e.hasProperty(n,r))a[b(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=n[r]}return a}function b(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function E(){return{target:1,jsx:1}}e.toEditorSettings=v,e.displayPartsToString=function(n){return n?e.map(n,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=E,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var T=function(){function n(n,t){this.host=n,this.currentDirectory=n.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var r=0,a=n.getScriptFileNames();r<a.length;r++){var i=a[r];this.createEntry(i,e.toPath(i,this.currentDirectory,t))}this._compilationSettings=n.getCompilationSettings()||{target:1,jsx:1}}return n.prototype.compilationSettings=function(){return this._compilationSettings},n.prototype.getProjectReferences=function(){return this.host.getProjectReferences&&this.host.getProjectReferences()},n.prototype.createEntry=function(n,t){var r,a=this.host.getScriptSnapshot(n);return r=a?{hostFileName:n,version:this.host.getScriptVersion(n),scriptSnapshot:a,scriptKind:e.getScriptKind(n,this.host)}:n,this.fileNameToEntry.set(t,r),r},n.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},n.prototype.getHostFileInformation=function(n){var t=this.fileNameToEntry.get(n);return e.isString(t)?void 0:t},n.prototype.getOrCreateEntryByPath=function(n,t){var r=this.getEntryByPath(t)||this.createEntry(n,t);return e.isString(r)?void 0:r},n.prototype.getRootFileNames=function(){var n=[];return this.fileNameToEntry.forEach((function(t){e.isString(t)?n.push(t):n.push(t.hostFileName)})),n},n.prototype.getScriptSnapshot=function(e){var n=this.getHostFileInformation(e);return n&&n.scriptSnapshot},n}(),S=function(){function n(e){this.host=e}return n.prototype.getCurrentSourceFile=function(n){var t=this.host.getScriptSnapshot(n);if(!t)throw new Error("Could not find file: '"+n+"'.");var r,a=e.getScriptKind(n,this.host),i=this.host.getScriptVersion(n);if(this.currentFileName!==n)r=x(n,t,99,i,!0,a);else if(this.currentFileVersion!==i){var o=t.getChangeRange(this.currentFileScriptSnapshot);r=A(this.currentSourceFile,t,i,o)}return r&&(this.currentFileVersion=i,this.currentFileName=n,this.currentFileScriptSnapshot=t,this.currentSourceFile=r),this.currentSourceFile},n}();function L(e,n,t){e.version=t,e.scriptSnapshot=n}function x(n,t,r,a,i,o){var s=e.createSourceFile(n,e.getSnapshotText(t),r,i,o);return L(s,t,a),s}function A(n,t,r,a,i){if(a&&r!==n.version){var o=void 0,s=0!==a.span.start?n.text.substr(0,a.span.start):"",c=e.textSpanEnd(a.span)!==n.text.length?n.text.substr(e.textSpanEnd(a.span)):"";if(0===a.newLength)o=s&&c?s+c:s||c;else{var l=t.getText(a.span.start,a.span.start+a.newLength);o=s&&c?s+l+c:s?s+l:l+c}var u=e.updateSourceFile(n,o,a,i);return L(u,t,r),u.nameTable=void 0,n!==u&&n.scriptSnapshot&&(n.scriptSnapshot.dispose&&n.scriptSnapshot.dispose(),n.scriptSnapshot=void 0),u}return x(n.fileName,t,n.languageVersion,r,!0,n.scriptKind)}e.createLanguageServiceSourceFile=x,e.updateLanguageServiceSourceFile=A;var D=function(){function n(e){this.cancellationToken=e}return n.prototype.isCancellationRequested=function(){return!!this.cancellationToken&&this.cancellationToken.isCancellationRequested()},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}(),C=function(){function n(e,n){void 0===n&&(n=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=n,this.lastCancellationCheckTime=0}return n.prototype.isCancellationRequested=function(){var n=e.timestamp();return Math.abs(n-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=n,this.hostCancellationToken.isCancellationRequested())},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}();e.ThrottledCancellationToken=C;var I=["getSyntacticDiagnostics","getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls"],N=o(I,["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"]);function R(n){var t=function(n){switch(n.kind){case 10:case 14:case 8:if(157===n.parent.kind)return e.isObjectLiteralElement(n.parent.parent)?n.parent.parent:void 0;case 78:return!e.isObjectLiteralElement(n.parent)||197!==n.parent.parent.kind&&278!==n.parent.parent.kind||n.parent.name!==n?void 0:n.parent}return}(n);return t&&(e.isObjectLiteralExpression(t.parent)||e.isJsxAttributes(t.parent))?t:void 0}function k(n,t,r,a){var i=e.getNameFromPropertyName(n.name);if(!i)return e.emptyArray;if(!r.isUnion())return(o=r.getProperty(i))?[o]:e.emptyArray;var o,s=e.mapDefined(r.types,(function(r){return e.isObjectLiteralExpression(n.parent)&&t.isTypeInvalidDueToUnionDiscriminant(r,n.parent)?void 0:r.getProperty(i)}));if(a&&(0===s.length||s.length===r.types.length)&&(o=r.getProperty(i)))return[o];return 0===s.length?e.mapDefined(r.types,(function(e){return e.getProperty(i)})):s}e.createLanguageService=function(n,t,r){var a,i;void 0===t&&(t=e.createDocumentRegistry(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames(),n.getCurrentDirectory())),i=void 0===r?e.LanguageServiceMode.Semantic:"boolean"==typeof r?r?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:r;var c,l,u=new S(n),d=0,p=new D(n.getCancellationToken&&n.getCancellationToken()),f=n.getCurrentDirectory();function m(e){n.log&&n.log(e)}!e.localizedDiagnosticMessages&&n.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(n.getLocalizedDiagnosticMessages());var _=e.hostUsesCaseSensitiveFileNames(n),g=e.createGetCanonicalFileName(_),y=e.getSourceMapper({useCaseSensitiveFileNames:function(){return _},getCurrentDirectory:function(){return f},getProgram:E,fileExists:e.maybeBind(n,n.fileExists),readFile:e.maybeBind(n,n.readFile),getDocumentPositionMapper:e.maybeBind(n,n.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(n,n.getSourceFileLike),log:m});function h(e){var n=c.getSourceFile(e);if(!n){var t=new Error("Could not find source file: '"+e+"'.");throw t.ProgramFiles=c.getSourceFiles().map((function(e){return e.fileName})),t}return n}function b(){var r,a;if(e.Debug.assert(i!==e.LanguageServiceMode.Syntactic),n.getProjectVersion){var o=n.getProjectVersion();if(o){if(l===o&&!(null===(r=n.hasChangedAutomaticTypeDirectiveNames)||void 0===r?void 0:r.call(n)))return;l=o}}var s=n.getTypeRootsVersion?n.getTypeRootsVersion():0;d!==s&&(m("TypeRoots version has changed; provide new program"),c=void 0,d=s);var u=new T(n,g),h=u.getRootFileNames(),v=n.hasInvalidatedResolution||e.returnFalse,b=e.maybeBind(n,n.hasChangedAutomaticTypeDirectiveNames),E=u.getProjectReferences();if(!e.isProgramUptoDate(c,h,u.compilationSettings(),(function(e,t){return n.getScriptVersion(t)}),D,v,b,E)){var S=u.compilationSettings(),L={getSourceFile:function(n,t,r,a){return C(n,e.toPath(n,f,g),t,r,a)},getSourceFileByPath:C,getCancellationToken:function(){return p},getCanonicalFileName:g,useCaseSensitiveFileNames:function(){return _},getNewLine:function(){return e.getNewLineCharacter(S,(function(){return e.getNewLineOrDefaultFromHost(n)}))},getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return f},fileExists:D,readFile:function(t){var r=e.toPath(t,f,g),a=u&&u.getEntryByPath(r);if(a)return e.isString(a)?void 0:e.getSnapshotText(a.scriptSnapshot);return n.readFile&&n.readFile(t)},getSymlinkCache:e.maybeBind(n,n.getSymlinkCache),realpath:e.maybeBind(n,n.realpath),directoryExists:function(t){return e.directoryProbablyExists(t,n)},getDirectories:function(e){return n.getDirectories?n.getDirectories(e):[]},readDirectory:function(t,r,a,i,o){return e.Debug.checkDefined(n.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(t,r,a,i,o)},onReleaseOldSourceFile:function(e,n){var r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r)},hasInvalidatedResolution:v,hasChangedAutomaticTypeDirectiveNames:b,trace:e.maybeBind(n,n.trace),resolveModuleNames:e.maybeBind(n,n.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(n,n.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(n,n.useSourceOfProjectReferenceRedirect)};null===(a=n.setCompilerHost)||void 0===a||a.call(n,L);var x=t.getKeyForCompilationSettings(S),A={rootNames:h,options:S,host:L,oldProgram:c,projectReferences:E};return c=e.createProgram(A),u=void 0,y.clearCache(),void c.getTypeChecker()}function D(t){var r=e.toPath(t,f,g),a=u&&u.getEntryByPath(r);return a?!e.isString(a):!!n.fileExists&&n.fileExists(t)}function C(n,r,a,i,o){e.Debug.assert(void 0!==u,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var s=u&&u.getOrCreateEntryByPath(n,r);if(s){if(!o){var l=c&&c.getSourceFileByPath(r);if(l)return e.Debug.assertEqual(s.scriptKind,l.scriptKind,"Registered script kind should match new script kind."),t.updateDocumentWithKey(n,r,S,x,s.scriptSnapshot,s.version,s.scriptKind)}return t.acquireDocumentWithKey(n,r,S,x,s.scriptSnapshot,s.version,s.scriptKind)}}}function E(){if(i!==e.LanguageServiceMode.Syntactic)return b(),c;e.Debug.assert(void 0===c)}function L(n,t,r){var a=e.normalizePath(n);e.Debug.assert(r.some((function(n){return e.normalizePath(n)===a}))),b();var i=e.mapDefined(r,(function(e){return c.getSourceFile(e)})),o=h(n);return e.DocumentHighlights.getDocumentHighlights(c,p,o,t,i)}function x(n,t,r,a){b();var i=r&&2===r.use?c.getSourceFiles().filter((function(e){return!c.isSourceFileDefaultLibrary(e)})):c.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(c,p,i,n,t,r,a)}function A(t){var r=e.getScriptKind(t,n);return 3===r||4===r}var C=new e.Map(e.getEntries(((a={})[18]=19,a[20]=21,a[22]=23,a[31]=29,a)));function O(t){var r;return e.Debug.assertEqual(t.type,"install package"),n.installPackage?n.installPackage({fileName:(r=t.file,e.toPath(r,f,g)),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function P(e,n){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(n.pos).line,lastLine:e.getLineAndCharacterOfPosition(n.end).line}}function M(n,t,r){for(var a=u.getCurrentSourceFile(n),i=[],o=P(a,t),s=o.lineStarts,c=o.firstLine,l=o.lastLine,d=r||!1,p=Number.MAX_VALUE,f=new e.Map,m=new RegExp(/\S/),_=e.isInsideJsxElement(a,s[c]),g=_?"{/*":"//",y=c;y<=l;y++){var h=a.text.substring(s[y],a.getLineEndOfPosition(s[y])),v=m.exec(h);v&&(p=Math.min(p,v.index),f.set(y.toString(),v.index),h.substr(v.index,g.length)!==g&&(d=void 0===r||r))}for(y=c;y<=l;y++){var b=f.get(y.toString());void 0!==b&&(_?i.push.apply(i,w(n,{pos:s[y]+p,end:a.getLineEndOfPosition(s[y])},d,_)):d?i.push({newText:g,span:{length:0,start:s[y]+p}}):a.text.substr(s[y]+b,g.length)===g&&i.push({newText:"",span:{length:g.length,start:s[y]+b}}))}return i}function w(n,t,r,a){for(var i,o=u.getCurrentSourceFile(n),s=[],c=o.text,l=!1,d=r||!1,p=[],f=t.pos,m=void 0!==a?a:e.isInsideJsxElement(o,f),_=m?"{/*":"/*",g=m?"*/}":"*/",y=m?"\\{\\/\\*":"\\/\\*",h=m?"\\*\\/\\}":"\\*\\/";f<=t.end;){var v=c.substr(f,_.length)===_?_.length:0,b=e.isInComment(o,f+v);if(b)m&&(b.pos--,b.end++),p.push(b.pos),3===b.kind&&p.push(b.end),l=!0,f=b.end+1;else{var E=c.substring(f,t.end).search("("+y+")|("+h+")");d=void 0!==r?r:d||!e.isTextWhiteSpaceLike(c,f,-1===E?t.end:f+E),f=-1===E?t.end+1:f+E+g.length}}if(d||!l){2!==(null===(i=e.isInComment(o,t.pos))||void 0===i?void 0:i.kind)&&e.insertSorted(p,t.pos,e.compareValues),e.insertSorted(p,t.end,e.compareValues);var T=p[0];c.substr(T,_.length)!==_&&s.push({newText:_,span:{length:0,start:T}});for(var S=1;S<p.length-1;S++)c.substr(p[S]-g.length,g.length)!==g&&s.push({newText:g,span:{length:0,start:p[S]}}),c.substr(p[S],_.length)!==_&&s.push({newText:_,span:{length:0,start:p[S]}});s.length%2!=0&&s.push({newText:g,span:{length:0,start:p[p.length-1]}})}else for(var L=0,x=p;L<x.length;L++){var A=x[L],D=A-g.length>0?A-g.length:0;v=c.substr(D,g.length)===g?g.length:0;s.push({newText:"",span:{length:_.length,start:A-v}})}return s}function F(t,r,a,i,o){var s="number"==typeof r?[r,void 0]:[r.pos,r.end];return{file:t,startPosition:s[0],endPosition:s[1],program:E(),host:n,formatContext:e.formatting.getFormatContext(i,n),cancellationToken:p,preferences:a,triggerReason:o}}C.forEach((function(e,n){return C.set(e.toString(),Number(n))}));var G={dispose:function(){if(c){var r=t.getKeyForCompilationSettings(c.getCompilerOptions());e.forEach(c.getSourceFiles(),(function(e){return t.releaseDocumentWithKey(e.resolvedPath,r)})),c=void 0}n=void 0},cleanupSemanticCache:function(){c=void 0},getSyntacticDiagnostics:function(e){return b(),c.getSyntacticDiagnostics(h(e),p).slice()},getSemanticDiagnostics:function(n){b();var t=h(n),r=c.getSemanticDiagnostics(t,p);if(!e.getEmitDeclarations(c.getCompilerOptions()))return r.slice();var a=c.getDeclarationDiagnostics(t,p);return o(r,a)},getSuggestionDiagnostics:function(n){return b(),e.computeSuggestionDiagnostics(h(n),c,p)},getCompilerOptionsDiagnostics:function(){return b(),o(c.getOptionsDiagnostics(p),c.getGlobalDiagnostics(p))},getSyntacticClassifications:function(n,t){return e.getSyntacticClassifications(p,u.getCurrentSourceFile(n),t)},getSemanticClassifications:function(n,t){return A(n)?(b(),e.getSemanticClassifications(c.getTypeChecker(),p,h(n),c.getClassifiableNames(),t)):[]},getEncodedSyntacticClassifications:function(n,t){return e.getEncodedSyntacticClassifications(p,u.getCurrentSourceFile(n),t)},getEncodedSemanticClassifications:function(n,t){return A(n)?(b(),e.getEncodedSemanticClassifications(c.getTypeChecker(),p,h(n),c.getClassifiableNames(),t)):{spans:[],endOfLineState:0}},getCompletionsAtPosition:function(t,r,a){void 0===a&&(a=e.emptyOptions);var i=s(s({},e.identity(a)),{includeCompletionsForModuleExports:a.includeCompletionsForModuleExports||a.includeExternalModuleExports,includeCompletionsWithInsertText:a.includeCompletionsWithInsertText||a.includeInsertTextCompletions});return b(),e.Completions.getCompletionsAtPosition(n,c,m,h(t),r,i,a.triggerCharacter)},getCompletionEntryDetails:function(t,r,a,i,o,s){return void 0===s&&(s=e.emptyOptions),b(),e.Completions.getCompletionEntryDetails(c,m,h(t),r,{name:a,source:o},n,i&&e.formatting.getFormatContext(i,n),s,p)},getCompletionEntrySymbol:function(t,r,a,i,o){return void 0===o&&(o=e.emptyOptions),b(),e.Completions.getCompletionEntrySymbol(c,m,h(t),r,{name:a,source:i},n,o)},getSignatureHelpItems:function(n,t,r){var a=(void 0===r?e.emptyOptions:r).triggerReason;b();var i=h(n);return e.SignatureHelp.getSignatureHelpItems(c,i,t,a,p)},getQuickInfoAtPosition:function(n,t){b();var r=h(n),a=e.getTouchingPropertyName(r,t);if(a!==r){var i=c.getTypeChecker(),o=function(n){if(e.isNewExpression(n.parent)&&n.pos===n.parent.pos)return n.parent.expression;return n}(a),s=function(n,t){var r=R(n);if(r){var a=t.getContextualType(r.parent),i=a&&k(r,t,a,!1);if(i&&1===i.length)return e.first(i)}return t.getSymbolAtLocation(n)}(o,i);if(!s||i.isUnknownSymbol(s)){var l=function(n,t,r){switch(t.kind){case 78:return!e.isLabelName(t)&&!e.isTagName(t);case 198:case 156:return!e.isInComment(n,r);case 107:case 186:case 105:return!0;default:return!1}}(r,o,t)?i.getTypeAtLocation(o):void 0;return l&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(o,r),displayParts:i.runWithCancellationToken(p,(function(n){return e.typeToDisplayParts(n,l,e.getContainerNode(o))})),documentation:l.symbol?l.symbol.getDocumentationComment(i):void 0,tags:l.symbol?l.symbol.getJsDocTags():void 0}}var u=i.runWithCancellationToken(p,(function(n){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,s,r,e.getContainerNode(o),o)})),d=u.symbolKind,f=u.displayParts,m=u.documentation,_=u.tags;return{kind:d,kindModifiers:e.SymbolDisplay.getSymbolModifiers(s),textSpan:e.createTextSpanFromNode(o,r),displayParts:f,documentation:m,tags:_}}},getDefinitionAtPosition:function(n,t){return b(),e.GoToDefinition.getDefinitionAtPosition(c,h(n),t)},getDefinitionAndBoundSpan:function(n,t){return b(),e.GoToDefinition.getDefinitionAndBoundSpan(c,h(n),t)},getImplementationAtPosition:function(n,t){return b(),e.FindAllReferences.getImplementationsAtPosition(c,p,c.getSourceFiles(),h(n),t)},getTypeDefinitionAtPosition:function(n,t){return b(),e.GoToDefinition.getTypeDefinitionAtPosition(c.getTypeChecker(),h(n),t)},getReferencesAtPosition:function(n,t){return b(),x(e.getTouchingPropertyName(h(n),t),t,{use:1},e.FindAllReferences.toReferenceEntry)},findReferences:function(n,t){return b(),e.FindAllReferences.findReferencedSymbols(c,p,c.getSourceFiles(),h(n),t)},getOccurrencesAtPosition:function(n,t){return e.flatMap(L(n,t,[n]),(function(e){return e.highlightSpans.map((function(n){return s(s({fileName:e.fileName,textSpan:n.textSpan,isWriteAccess:"writtenReference"===n.kind,isDefinition:!1},n.isInString&&{isInString:!0}),n.contextSpan&&{contextSpan:n.contextSpan})}))}))},getDocumentHighlights:L,getNameOrDottedNameSpan:function(n,t,r){var a=u.getCurrentSourceFile(n),i=e.getTouchingPropertyName(a,t);if(i!==a){switch(i.kind){case 198:case 156:case 10:case 94:case 109:case 103:case 105:case 107:case 186:case 78:break;default:return}for(var o=i;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(253!==o.parent.parent.kind||o.parent.parent.body!==o.parent)break;o=o.parent.parent.name}return e.createTextSpanFromBounds(o.getStart(),i.getEnd())}},getBreakpointStatementAtPosition:function(n,t){var r=u.getCurrentSourceFile(n);return e.BreakpointResolver.spanInSourceFileAtLocation(r,t)},getNavigateToItems:function(n,t,r,a){void 0===a&&(a=!1),b();var i=r?[h(r)]:c.getSourceFiles();return e.NavigateTo.getNavigateToItems(i,c.getTypeChecker(),p,n,t,a)},getRenameInfo:function(n,t,r){return b(),e.Rename.getRenameInfo(c,h(n),t,r)},getSmartSelectionRange:function(n,t){return e.SmartSelectionRange.getSmartSelectionRange(t,u.getCurrentSourceFile(n))},findRenameLocations:function(n,t,r,a,i){b();var o=h(n),c=e.getAdjustedRenameLocation(e.getTouchingPropertyName(o,t));if(e.isIdentifier(c)&&(e.isJsxOpeningElement(c.parent)||e.isJsxClosingElement(c.parent))&&e.isIntrinsicJsxName(c.escapedText)){var l=c.parent.parent;return[l.openingElement,l.closingElement].map((function(n){var t=e.createTextSpanFromNode(n.tagName,o);return s({fileName:o.fileName,textSpan:t},e.FindAllReferences.toContextSpan(t,o,n.parent))}))}return x(c,t,{findInStrings:r,findInComments:a,providePrefixAndSuffixTextForRename:i,use:2},(function(n,t,r){return e.FindAllReferences.toRenameLocation(n,t,r,i||!1)}))},getNavigationBarItems:function(n){return e.NavigationBar.getNavigationBarItems(u.getCurrentSourceFile(n),p)},getNavigationTree:function(n){return e.NavigationBar.getNavigationTree(u.getCurrentSourceFile(n),p)},getOutliningSpans:function(n){var t=u.getCurrentSourceFile(n);return e.OutliningElementsCollector.collectElements(t,p)},getTodoComments:function(n,t){b();var r=h(n);p.throwIfCancellationRequested();var a,i,o=r.text,s=[];if(t.length>0&&(i=r.fileName,!e.stringContains(i,"/node_modules/")))for(var c=function(){var n="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",r="(?:"+e.map(t,(function(e){return"("+(e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")})).join("|")+")";return new RegExp(n+"("+r+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}(),l=void 0;l=c.exec(o);){p.throwIfCancellationRequested();e.Debug.assert(l.length===t.length+3);var u=l[1],d=l.index+u.length;if(e.isInComment(r,d)){for(var f=void 0,m=0;m<t.length;m++)l[m+3]&&(f=t[m]);if(void 0===f)return e.Debug.fail();if(!((a=o.charCodeAt(d+f.text.length))>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)){var _=l[2];s.push({descriptor:f,message:_,position:d})}}}return s},getBraceMatchingAtPosition:function(n,t){var r=u.getCurrentSourceFile(n),a=e.getTouchingToken(r,t),i=a.getStart(r)===t?C.get(a.kind.toString()):void 0,o=i&&e.findChildOfKind(a.parent,i,r);return o?[e.createTextSpanFromNode(a,r),e.createTextSpanFromNode(o,r)].sort((function(e,n){return e.start-n.start})):e.emptyArray},getIndentationAtPosition:function(n,t,r){var a=e.timestamp(),i=v(r),o=u.getCurrentSourceFile(n);m("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-a)),a=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(t,o,i);return m("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-a)),s},getFormattingEditsForRange:function(t,r,a,i){var o=u.getCurrentSourceFile(t);return e.formatting.formatSelection(r,a,o,e.formatting.getFormatContext(v(i),n))},getFormattingEditsForDocument:function(t,r){return e.formatting.formatDocument(u.getCurrentSourceFile(t),e.formatting.getFormatContext(v(r),n))},getFormattingEditsAfterKeystroke:function(t,r,a,i){var o=u.getCurrentSourceFile(t),s=e.formatting.getFormatContext(v(i),n);if(!e.isInComment(o,r))switch(a){case"{":return e.formatting.formatOnOpeningCurly(r,o,s);case"}":return e.formatting.formatOnClosingCurly(r,o,s);case";":return e.formatting.formatOnSemicolon(r,o,s);case"\n":return e.formatting.formatOnEnter(r,o,s)}return[]},getDocCommentTemplateAtPosition:function(t,r){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(n),u.getCurrentSourceFile(t),r)},isValidBraceCompletionAtPosition:function(n,t,r){if(60===r)return!1;var a=u.getCurrentSourceFile(n);if(e.isInString(a,t))return!1;if(e.isInsideJsxElementOrAttribute(a,t))return 123===r;if(e.isInTemplateString(a,t))return!1;switch(r){case 39:case 34:case 96:return!e.isInComment(a,t)}return!0},getJsxClosingTagAtPosition:function(n,t){var r=u.getCurrentSourceFile(n),a=e.findPrecedingToken(t,r);if(a){var i=31===a.kind&&e.isJsxOpeningElement(a.parent)?a.parent.parent:e.isJsxText(a)?a.parent:void 0;return i&&function n(t){var r=t.openingElement,a=t.closingElement,i=t.parent;return!e.tagNamesAreEquivalent(r.tagName,a.tagName)||e.isJsxElement(i)&&e.tagNamesAreEquivalent(r.tagName,i.openingElement.tagName)&&n(i)}(i)?{newText:"</"+i.openingElement.tagName.getText(r)+">"}:void 0}},getSpanOfEnclosingComment:function(n,t,r){var a=u.getCurrentSourceFile(n),i=e.formatting.getRangeOfEnclosingComment(a,t);return!i||r&&3!==i.kind?void 0:e.createTextSpanFromRange(i)},getCodeFixesAtPosition:function(t,r,a,i,o,s){void 0===s&&(s=e.emptyOptions),b();var l=h(t),u=e.createTextSpanFromBounds(r,a),d=e.formatting.getFormatContext(o,n);return e.flatMap(e.deduplicate(i,e.equateValues,e.compareValues),(function(t){return p.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:t,sourceFile:l,span:u,program:c,host:n,cancellationToken:p,formatContext:d,preferences:s})}))},getCombinedCodeFix:function(t,r,a,i){void 0===i&&(i=e.emptyOptions),b(),e.Debug.assert("file"===t.type);var o=h(t.fileName),s=e.formatting.getFormatContext(a,n);return e.codefix.getAllFixes({fixId:r,sourceFile:o,program:c,host:n,cancellationToken:p,formatContext:s,preferences:i})},applyCodeActionCommand:function(n,t){var r="string"==typeof n?t:n;return e.isArray(r)?Promise.all(r.map((function(e){return O(e)}))):O(r)},organizeImports:function(t,r,a){void 0===a&&(a=e.emptyOptions),b(),e.Debug.assert("file"===t.type);var i=h(t.fileName),o=e.formatting.getFormatContext(r,n);return e.OrganizeImports.organizeImports(i,o,n,c,a)},getEditsForFileRename:function(t,r,a,i){return void 0===i&&(i=e.emptyOptions),e.getEditsForFileRename(E(),t,r,n,e.formatting.getFormatContext(a,n),i,y)},getEmitOutput:function(t,r,a){b();var i=h(t),o=n.getCustomTransformers&&n.getCustomTransformers();return e.getFileEmitOutput(c,i,!!r,p,o,a)},getNonBoundSourceFile:function(e){return u.getCurrentSourceFile(e)},getProgram:E,getAutoImportProvider:function(){var e;return null===(e=n.getPackageJsonAutoImportProvider)||void 0===e?void 0:e.call(n)},getApplicableRefactors:function(n,t,r,a){void 0===r&&(r=e.emptyOptions),b();var i=h(n);return e.refactor.getApplicableRefactors(F(i,t,r,e.emptyOptions,a))},getEditsForRefactor:function(n,t,r,a,i,o){void 0===o&&(o=e.emptyOptions),b();var s=h(n);return e.refactor.getEditsForRefactor(F(s,r,o,t),a,i)},toLineColumnOffset:y.toLineColumnOffset,getSourceMapper:function(){return y},clearSourceMapperCache:function(){return y.clearCache()},prepareCallHierarchy:function(n,t){b();var r=e.CallHierarchy.resolveCallHierarchyDeclaration(c,e.getTouchingPropertyName(h(n),t));return r&&e.mapOneOrMany(r,(function(n){return e.CallHierarchy.createCallHierarchyItem(c,n)}))},provideCallHierarchyIncomingCalls:function(n,t){b();var r=h(n),a=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,0===t?r:e.getTouchingPropertyName(r,t)));return a?e.CallHierarchy.getIncomingCalls(c,a,p):[]},provideCallHierarchyOutgoingCalls:function(n,t){b();var r=h(n),a=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,0===t?r:e.getTouchingPropertyName(r,t)));return a?e.CallHierarchy.getOutgoingCalls(c,a):[]},toggleLineComment:M,toggleMultilineComment:w,commentSelection:function(e,n){var t=P(u.getCurrentSourceFile(e),n);return t.firstLine===t.lastLine&&n.pos!==n.end?w(e,n,!0):M(e,n,!0)},uncommentSelection:function(n,t){var r=u.getCurrentSourceFile(n),a=[],i=t.pos,o=t.end;i===o&&(o+=e.isInsideJsxElement(r,i)?2:1);for(var s=i;s<=o;s++){var c=e.isInComment(r,s);if(c){switch(c.kind){case 2:a.push.apply(a,M(n,{end:c.end,pos:c.pos+1},!1));break;case 3:a.push.apply(a,w(n,{end:c.end,pos:c.pos+1},!1))}s=c.end+1}}return a}};switch(i){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:I.forEach((function(e){return G[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case e.LanguageServiceMode.Syntactic:N.forEach((function(e){return G[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:e.Debug.assertNever(i)}return G},e.getNameTable=function(n){return n.nameTable||function(n){var t=n.nameTable=new e.Map;n.forEachChild((function n(r){if(e.isIdentifier(r)&&!e.isTagName(r)&&r.escapedText||e.isStringOrNumericLiteralLike(r)&&function(n){return e.isDeclarationName(n)||269===n.parent.kind||function(e){return e&&e.parent&&199===e.parent.kind&&e.parent.argumentExpression===e}(n)||e.isLiteralComputedPropertyDeclarationName(n)}(r)){var a=e.getEscapedTextOfIdentifierOrLiteral(r);t.set(a,void 0===t.get(a)?r.pos:-1)}else if(e.isPrivateIdentifier(r)){a=r.escapedText;t.set(a,void 0===t.get(a)?r.pos:-1)}if(e.forEachChild(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;i<o.length;i++){var s=o[i];e.forEachChild(s,n)}}))}(n),n.nameTable},e.getContainingObjectLiteralElement=R,e.getPropertySymbolsFromContextualType=k,e.getDefaultLibFilePath=function(n){return r+e.directorySeparator+e.getDefaultLibFileName(n)},e.setObjectAllocator({getNodeConstructor:function(){return t},getTokenConstructor:function(){return l},getIdentifierConstructor:function(){return u},getPrivateIdentifierConstructor:function(){return p},getSourceFileConstructor:function(){return y},getSymbolConstructor:function(){return c},getTypeConstructor:function(){return f},getSignatureConstructor:function(){return m},getSourceMapSourceConstructor:function(){return h}})}(p||(p={})),function(e){!function(n){n.spanInSourceFileAtLocation=function(n,t){if(!n.isDeclarationFile){var r=e.getTokenAtPosition(n,t),a=n.getLineAndCharacterOfPosition(t).line;if(n.getLineAndCharacterOfPosition(r.getStart(n)).line>a){var i=e.findPrecedingToken(r.pos,n);if(!i||n.getLineAndCharacterOfPosition(i.getEnd()).line!==a)return;r=i}if(!(8388608&r.flags))return d(r)}function o(t,r){var a=t.decorators?e.skipTrivia(n.text,t.decorators.end):t.getStart(n);return e.createTextSpanFromBounds(a,(r||t).getEnd())}function s(t,r){return o(t,e.findNextToken(r,r.parent,n))}function c(e,t){return e&&a===n.getLineAndCharacterOfPosition(e.getStart(n)).line?d(e):d(t)}function l(t){return d(e.findPrecedingToken(t.pos,n))}function u(t){return d(e.findNextToken(t,t.parent,n))}function d(t){if(t){var r=t.parent;switch(t.kind){case 229:return h(t.declarationList.declarations[0]);case 246:case 162:case 161:return h(t);case 159:return function n(t){if(e.isBindingPattern(t.name))return T(t.name);if(function(n){return!!n.initializer||void 0!==n.dotDotDotToken||e.hasSyntacticModifier(n,12)}(t))return o(t);var r=t.parent,a=r.parameters.indexOf(t);return e.Debug.assert(-1!==a),0!==a?n(r.parameters[a-1]):d(r.body)}(t);case 248:case 164:case 163:case 166:case 167:case 165:case 205:case 206:return function(e){if(!e.body)return;if(v(e))return o(e);return d(e.body)}(t);case 227:if(e.isFunctionBlock(t))return function(e){var n=e.statements.length?e.statements[0]:e.getLastToken();if(v(e.parent))return c(e.parent,n);return d(n)}(t);case 254:return b(t);case 284:return b(t.block);case 230:return o(t.expression);case 239:return o(t.getChildAt(0),t.expression);case 233:return s(t,t.expression);case 232:return d(t.statement);case 245:return o(t.getChildAt(0));case 231:return s(t,t.expression);case 242:return d(t.statement);case 238:case 237:return o(t.getChildAt(0),t.label);case 234:return function(e){if(e.initializer)return E(e);if(e.condition)return o(e.condition);if(e.incrementor)return o(e.incrementor)}(t);case 235:return s(t,t.expression);case 236:return E(t);case 241:return s(t,t.expression);case 281:case 282:return d(t.statements[0]);case 244:return b(t.tryBlock);case 243:case 263:return o(t,t.expression);case 257:return o(t,t.moduleReference);case 258:case 264:return o(t,t.moduleSpecifier);case 253:if(1!==e.getModuleInstanceState(t))return;case 249:case 252:case 288:case 195:return o(t);case 240:return d(t.statement);case 160:return g=r.decorators,e.createTextSpanFromBounds(e.skipTrivia(n.text,g.pos),g.end);case 193:case 194:return T(t);case 250:case 251:return;case 26:case 1:return c(e.findPrecedingToken(t.pos,n));case 27:return l(t);case 18:return function(t){switch(t.parent.kind){case 252:var r=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),r.members.length?r.members[0]:r.getLastToken(n));case 249:var a=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),a.members.length?a.members[0]:a.getLastToken(n));case 255:return c(t.parent.parent,t.parent.clauses[0])}return d(t.parent)}(t);case 19:return function(n){switch(n.parent.kind){case 254:if(1!==e.getModuleInstanceState(n.parent.parent))return;case 252:case 249:return o(n);case 227:if(e.isFunctionBlock(n.parent))return o(n);case 284:return d(e.lastOrUndefined(n.parent.statements));case 255:var t=n.parent,r=e.lastOrUndefined(t.clauses);return r?d(e.lastOrUndefined(r.statements)):void 0;case 193:var a=n.parent;return d(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var i=n.parent;return o(e.lastOrUndefined(i.properties)||i)}return d(n.parent)}}(t);case 23:return function(n){switch(n.parent.kind){case 194:var t=n.parent;return o(e.lastOrUndefined(t.elements)||t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var r=n.parent;return o(e.lastOrUndefined(r.elements)||r)}return d(n.parent)}}(t);case 20:return function(e){if(232===e.parent.kind||200===e.parent.kind||201===e.parent.kind)return l(e);if(204===e.parent.kind)return u(e);return d(e.parent)}(t);case 21:return function(e){switch(e.parent.kind){case 205:case 248:case 206:case 164:case 163:case 166:case 167:case 165:case 233:case 232:case 234:case 236:case 200:case 201:case 204:return l(e);default:return d(e.parent)}}(t);case 58:return function(n){if(e.isFunctionLike(n.parent)||285===n.parent.kind||159===n.parent.kind)return l(n);return d(n.parent)}(t);case 31:case 29:return function(e){if(203===e.parent.kind)return u(e);return d(e.parent)}(t);case 114:return function(e){if(232===e.parent.kind)return s(e,e.parent.expression);return d(e.parent)}(t);case 90:case 82:case 95:return u(t);case 155:return function(e){if(236===e.parent.kind)return u(e);return d(e.parent)}(t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return S(t);if((78===t.kind||217===t.kind||285===t.kind||286===t.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return o(t);if(213===t.kind){var a=t,i=a.left,p=a.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return S(i);if(62===p.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent))return o(t);if(27===p.kind)return d(i)}if(e.isExpressionNode(t))switch(r.kind){case 232:return l(t);case 160:return d(t.parent);case 234:case 236:return o(t);case 213:if(27===t.parent.operatorToken.kind)return o(t);break;case 206:if(t.parent.body===t)return o(t)}switch(t.parent.kind){case 285:if(t.parent.name===t&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent))return d(t.parent.initializer);break;case 203:if(t.parent.type===t)return u(t.parent.type);break;case 246:case 159:var f=t.parent,m=f.initializer,_=f.type;if(m===t||_===t||e.isAssignmentOperator(t.kind))return l(t);break;case 213:i=t.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&t!==i)return l(t);break;default:if(e.isFunctionLike(t.parent)&&t.parent.type===t)return l(t)}return d(t.parent)}}var g;function y(t){return e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]===t?o(e.findPrecedingToken(t.pos,n,t.parent),t):o(t)}function h(t){if(235===t.parent.parent.kind)return d(t.parent.parent);var r=t.parent;return e.isBindingPattern(t.name)?T(t.name):t.initializer||e.hasSyntacticModifier(t,1)||236===r.parent.kind?y(t):e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]!==t?d(e.findPrecedingToken(t.pos,n,t.parent)):void 0}function v(n){return e.hasSyntacticModifier(n,1)||249===n.parent.kind&&165!==n.kind}function b(t){switch(t.parent.kind){case 253:if(1!==e.getModuleInstanceState(t.parent))return;case 233:case 231:case 235:return c(t.parent,t.statements[0]);case 234:case 236:return c(e.findPrecedingToken(t.pos,n,t.parent),t.statements[0])}return d(t.statements[0])}function E(e){if(247!==e.initializer.kind)return d(e.initializer);var n=e.initializer;return n.declarations.length>0?d(n.declarations[0]):void 0}function T(n){var t=e.forEach(n.elements,(function(e){return 219!==e.kind?e:void 0}));return t?d(t):195===n.parent.kind?o(n.parent):y(n.parent)}function S(n){e.Debug.assert(194!==n.kind&&193!==n.kind);var t=196===n.kind?n.elements:n.properties,r=e.forEach(t,(function(e){return 219!==e.kind?e:void 0}));return r?d(r):o(213===n.parent.kind?n.parent:n)}}}}(e.BreakpointResolver||(e.BreakpointResolver={}))}(p||(p={})),function(e){e.transform=function(n,t,r){var a=[];r=e.fixupCompilerOptions(r,a);var i=e.isArray(n)?n:[n],o=e.transformNodes(void 0,void 0,e.factory,r,i,t,!0);return o.diagnostics=e.concatenate(o.diagnostics,a),o}}(p||(p={}));var p,f=function(){return this}();!function(e){function n(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}var t=function(){function n(e){this.scriptSnapshotShim=e}return n.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},n.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},n.prototype.getChangeRange=function(n){var t=n,r=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(null===r)return null;var a=JSON.parse(r);return e.createTextChangeRange(e.createTextSpan(a.span.start,a.span.length),a.newLength)},n.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},n}(),r=function(){function n(n){var t=this;this.shimHost=n,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(n,r){var a=JSON.parse(t.shimHost.getModuleResolutionsForFile(r));return e.map(n,(function(n){var t=e.getProperty(a,n);return t?{resolvedFileName:t,extension:e.extensionFromPath(t),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(n,r){var a=JSON.parse(t.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return e.map(n,(function(n){return e.getProperty(a,n)}))})}return n.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},n.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},n.prototype.error=function(e){this.shimHost.error(e)},n.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},n.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},n.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},n.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var n=JSON.parse(e);return n.allowNonTsExtensions=!0,n},n.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},n.prototype.getScriptSnapshot=function(e){var n=this.shimHost.getScriptSnapshot(e);return n&&new t(n)},n.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},n.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},n.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},n.prototype.getCancellationToken=function(){var n=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(n)},n.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n}();e.LanguageServiceShimHostAdapter=r;var a=function(){function n(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}return n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n.prototype.readFile=function(e){return this.shimHost.readFile(e)},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n}();function i(e,n,t,r){return c(e,n,!0,t,r)}function c(t,r,a,i,o){try{var s=function(n,t,r,a){var i;a&&(n.log(t),i=e.timestamp());var o=r();if(a){var s=e.timestamp();if(n.log(t+" completed in "+(s-i)+" msec"),e.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),n.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}(t,r,i,o);return a?JSON.stringify({result:s}):s}catch(a){return a instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(t,a),a.description=r,JSON.stringify({error:a}))}}e.CoreServicesShimHostAdapter=a;var l=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function p(n,t){return n.map((function(n){return function(n,t){return{message:e.flattenDiagnosticMessageText(n.messageText,t),start:n.start,length:n.length,category:e.diagnosticCategoryName(n),code:n.code,reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated}}(n,t)}))}e.realizeDiagnostics=p;var m=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.host=t,a.languageService=r,a.logPerformance=!1,a.logger=a.host,a}return d(t,n),t.prototype.forwardJSONCall=function(e,n){return i(this.logger,e,n,this.logPerformance)},t.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,f&&f.CollectGarbage&&(f.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,n.prototype.dispose.call(this,e)},t.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},t.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},t.prototype.realizeDiagnostics=function(n){return p(n,e.getNewLineOrDefaultFromHost(this.host))},t.prototype.getSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSyntacticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSemanticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getEncodedSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return _(a.languageService.getEncodedSyntacticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getEncodedSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return _(a.languageService.getEncodedSemanticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},t.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},t.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},t.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},t.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},t.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},t.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},t.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},t.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},t.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},t.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},t.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},t.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+n+", "+t+", "+r+", "+a+")",(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},t.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},t.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},t.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},t.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+n+")",(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},t.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},t.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},t.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},t.prototype.getDocumentHighlights=function(n,t,r){var a=this;return this.forwardJSONCall("getDocumentHighlights('"+n+"', "+t+")",(function(){var i=a.languageService.getDocumentHighlights(n,t,JSON.parse(r)),o=e.toFileNameLowerCase(e.normalizeSlashes(n));return e.filter(i,(function(n){return e.toFileNameLowerCase(e.normalizeSlashes(n.fileName))===o}))}))},t.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},t.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+n+", '"+t+"')",(function(){var s=void 0===r?void 0:JSON.parse(r);return o.languageService.getCompletionEntryDetails(e,n,t,s,a,i)}))},t.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+n+", "+t+")",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},t.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},t.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+n+", '"+t+"')",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},t.prototype.getDocCommentTemplateAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDocCommentTemplateAtPosition(e,n)}))},t.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},t.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},t.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},t.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},t.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},t.prototype.prepareCallHierarchy=function(e,n){var t=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+n+")",(function(){return t.languageService.prepareCallHierarchy(e,n)}))},t.prototype.provideCallHierarchyIncomingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyIncomingCalls(e,n)}))},t.prototype.provideCallHierarchyOutgoingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyOutgoingCalls(e,n)}))},t.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){var t=n.languageService.getEmitOutput(e),r=t.diagnostics,a=u(t,["diagnostics"]);return s(s({},a),{diagnostics:n.realizeDiagnostics(r)})}))},t.prototype.getEmitOutputObject=function(e){var n=this;return c(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},t.prototype.toggleLineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleLineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleLineComment(e,n)}))},t.prototype.toggleMultilineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleMultilineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleMultilineComment(e,n)}))},t.prototype.commentSelection=function(e,n){var t=this;return this.forwardJSONCall("commentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.commentSelection(e,n)}))},t.prototype.uncommentSelection=function(e,n){var t=this;return this.forwardJSONCall("uncommentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.uncommentSelection(e,n)}))},t}(l);function _(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var g=function(n){function t(t,r){var a=n.call(this,t)||this;return a.logger=r,a.logPerformance=!1,a.classifier=e.createClassifier(),a}return d(t,n),t.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),i(this.logger,"getEncodedLexicalClassifications",(function(){return _(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},t.prototype.getClassificationsForLine=function(e,n,t){void 0===t&&(t=!1);for(var r=this.classifier.getClassificationsForLine(e,n,t),a="",i=0,o=r.entries;i<o.length;i++){var s=o[i];a+=s.length+"\n",a+=s.classification+"\n"}return a+=r.finalLexState},t}(l),y=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.logger=t,a.host=r,a.logPerformance=!1,a}return d(t,n),t.prototype.forwardJSONCall=function(e,n){return i(this.logger,e,n,this.logPerformance)},t.prototype.resolveModuleName=function(n,t,r){var a=this;return this.forwardJSONCall("resolveModuleName('"+n+"')",(function(){var i=JSON.parse(r),o=e.resolveModuleName(t,e.normalizeSlashes(n),i,a.host),s=o.resolvedModule?o.resolvedModule.resolvedFileName:void 0;return o.resolvedModule&&".ts"!==o.resolvedModule.extension&&".tsx"!==o.resolvedModule.extension&&".d.ts"!==o.resolvedModule.extension&&(s=void 0),{resolvedFileName:s,failedLookupLocations:o.failedLookupLocations}}))},t.prototype.resolveTypeReferenceDirective=function(n,t,r){var a=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+n+")",(function(){var i=JSON.parse(r),o=e.resolveTypeReferenceDirective(t,e.normalizeSlashes(n),i,a.host);return{resolvedFileName:o.resolvedTypeReferenceDirective?o.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!o.resolvedTypeReferenceDirective||o.resolvedTypeReferenceDirective.primary,failedLookupLocations:o.failedLookupLocations}}))},t.prototype.getPreProcessedFileInfo=function(n,t){var r=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+n+"')",(function(){var n=e.preProcessFile(e.getSnapshotText(t),!0,!0);return{referencedFiles:r.convertFileReferences(n.referencedFiles),importedFiles:r.convertFileReferences(n.importedFiles),ambientExternalModules:n.ambientExternalModules,isLibFile:n.isLibFile,typeReferenceDirectives:r.convertFileReferences(n.typeReferenceDirectives),libReferenceDirectives:r.convertFileReferences(n.libReferenceDirectives)}}))},t.prototype.getAutomaticTypeDirectiveNames=function(n){var t=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+n+"')",(function(){var r=JSON.parse(n);return e.getAutomaticTypeDirectiveNames(r,t.host)}))},t.prototype.convertFileReferences=function(n){if(n){for(var t=[],r=0,a=n;r<a.length;r++){var i=a[r];t.push({path:e.normalizeSlashes(i.fileName),position:i.pos,length:i.end-i.pos})}return t}},t.prototype.getTSConfigFileInfo=function(n,t){var r=this;return this.forwardJSONCall("getTSConfigFileInfo('"+n+"')",(function(){var a=e.parseJsonText(n,e.getSnapshotText(t)),i=e.normalizeSlashes(n),s=e.parseJsonSourceFileConfigFileContent(a,r.host,e.getDirectoryPath(i),{},i);return{options:s.options,typeAcquisition:s.typeAcquisition,files:s.fileNames,raw:s.raw,errors:p(o(a.parseDiagnostics,s.errors),"\r\n")}}))},t.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",(function(){return e.getDefaultCompilerOptions()}))},t.prototype.discoverTypings=function(n){var t=this,r=e.createGetCanonicalFileName(!1);return this.forwardJSONCall("discoverTypings()",(function(){var a=JSON.parse(n);return void 0===t.safeList&&(t.safeList=e.JsTyping.loadSafeList(t.host,e.toPath(a.safeListPath,a.safeListPath,r))),e.JsTyping.discoverTypings(t.host,(function(e){return t.logger.log(e)}),a.fileNames,e.toPath(a.projectRootPath,a.projectRootPath,r),t.safeList,a.packageNameToTypingLocation,a.typeAcquisition,a.unresolvedImports,a.typesRegistry)}))},t}(l),h=function(){function t(){this._shims=[]}return t.prototype.getServicesVersion=function(){return e.servicesVersion},t.prototype.createLanguageServiceShim=function(t){try{void 0===this.documentRegistry&&(this.documentRegistry=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()));var a=new r(t),i=e.createLanguageService(a,this.documentRegistry,!1);return new m(this,t,i)}catch(e){throw n(t,e),e}},t.prototype.createClassifierShim=function(e){try{return new g(this,e)}catch(t){throw n(e,t),t}},t.prototype.createCoreServicesShim=function(e){try{var t=new a(e);return new y(this,e,t)}catch(t){throw n(e,t),t}},t.prototype.close=function(){e.clear(this._shims),this.documentRegistry=void 0},t.prototype.registerShim=function(e){this._shims.push(e)},t.prototype.unregisterShim=function(e){for(var n=0;n<this._shims.length;n++)if(this._shims[n]===e)return void delete this._shims[n];throw new Error("Invalid operation")},t}();e.TypeScriptServicesFactory=h}(p||(p={})),function(){if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,"undefined"==typeof globalThis&&(window.globalThis=window),delete Object.prototype.__magic__}catch(e){window.globalThis=window}}(),(void 0===e||e.browser)&&(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=p.TypeScriptServicesFactory,globalThis.toolsVersion=p.versionMajorMinor),a.exports&&(a.exports=p),function(e){var n={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."};e.createNodeArray=e.Debug.deprecate(e.factory.createNodeArray,n),e.createNumericLiteral=e.Debug.deprecate(e.factory.createNumericLiteral,n),e.createBigIntLiteral=e.Debug.deprecate(e.factory.createBigIntLiteral,n),e.createStringLiteral=e.Debug.deprecate(e.factory.createStringLiteral,n),e.createStringLiteralFromNode=e.Debug.deprecate(e.factory.createStringLiteralFromNode,n),e.createRegularExpressionLiteral=e.Debug.deprecate(e.factory.createRegularExpressionLiteral,n),e.createLoopVariable=e.Debug.deprecate(e.factory.createLoopVariable,n),e.createUniqueName=e.Debug.deprecate(e.factory.createUniqueName,n),e.createPrivateIdentifier=e.Debug.deprecate(e.factory.createPrivateIdentifier,n),e.createSuper=e.Debug.deprecate(e.factory.createSuper,n),e.createThis=e.Debug.deprecate(e.factory.createThis,n),e.createNull=e.Debug.deprecate(e.factory.createNull,n),e.createTrue=e.Debug.deprecate(e.factory.createTrue,n),e.createFalse=e.Debug.deprecate(e.factory.createFalse,n),e.createModifier=e.Debug.deprecate(e.factory.createModifier,n),e.createModifiersFromModifierFlags=e.Debug.deprecate(e.factory.createModifiersFromModifierFlags,n),e.createQualifiedName=e.Debug.deprecate(e.factory.createQualifiedName,n),e.updateQualifiedName=e.Debug.deprecate(e.factory.updateQualifiedName,n),e.createComputedPropertyName=e.Debug.deprecate(e.factory.createComputedPropertyName,n),e.updateComputedPropertyName=e.Debug.deprecate(e.factory.updateComputedPropertyName,n),e.createTypeParameterDeclaration=e.Debug.deprecate(e.factory.createTypeParameterDeclaration,n),e.updateTypeParameterDeclaration=e.Debug.deprecate(e.factory.updateTypeParameterDeclaration,n),e.createParameter=e.Debug.deprecate(e.factory.createParameterDeclaration,n),e.updateParameter=e.Debug.deprecate(e.factory.updateParameterDeclaration,n),e.createDecorator=e.Debug.deprecate(e.factory.createDecorator,n),e.updateDecorator=e.Debug.deprecate(e.factory.updateDecorator,n),e.createProperty=e.Debug.deprecate(e.factory.createPropertyDeclaration,n),e.updateProperty=e.Debug.deprecate(e.factory.updatePropertyDeclaration,n),e.createMethod=e.Debug.deprecate(e.factory.createMethodDeclaration,n),e.updateMethod=e.Debug.deprecate(e.factory.updateMethodDeclaration,n),e.createConstructor=e.Debug.deprecate(e.factory.createConstructorDeclaration,n),e.updateConstructor=e.Debug.deprecate(e.factory.updateConstructorDeclaration,n),e.createGetAccessor=e.Debug.deprecate(e.factory.createGetAccessorDeclaration,n),e.updateGetAccessor=e.Debug.deprecate(e.factory.updateGetAccessorDeclaration,n),e.createSetAccessor=e.Debug.deprecate(e.factory.createSetAccessorDeclaration,n),e.updateSetAccessor=e.Debug.deprecate(e.factory.updateSetAccessorDeclaration,n),e.createCallSignature=e.Debug.deprecate(e.factory.createCallSignature,n),e.updateCallSignature=e.Debug.deprecate(e.factory.updateCallSignature,n),e.createConstructSignature=e.Debug.deprecate(e.factory.createConstructSignature,n),e.updateConstructSignature=e.Debug.deprecate(e.factory.updateConstructSignature,n),e.updateIndexSignature=e.Debug.deprecate(e.factory.updateIndexSignature,n),e.createKeywordTypeNode=e.Debug.deprecate(e.factory.createKeywordTypeNode,n),e.createTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.createTypePredicateNode,n),e.updateTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.updateTypePredicateNode,n),e.createTypeReferenceNode=e.Debug.deprecate(e.factory.createTypeReferenceNode,n),e.updateTypeReferenceNode=e.Debug.deprecate(e.factory.updateTypeReferenceNode,n),e.createFunctionTypeNode=e.Debug.deprecate(e.factory.createFunctionTypeNode,n),e.updateFunctionTypeNode=e.Debug.deprecate(e.factory.updateFunctionTypeNode,n),e.createConstructorTypeNode=e.Debug.deprecate(e.factory.createConstructorTypeNode,n),e.updateConstructorTypeNode=e.Debug.deprecate(e.factory.updateConstructorTypeNode,n),e.createTypeQueryNode=e.Debug.deprecate(e.factory.createTypeQueryNode,n),e.updateTypeQueryNode=e.Debug.deprecate(e.factory.updateTypeQueryNode,n),e.createTypeLiteralNode=e.Debug.deprecate(e.factory.createTypeLiteralNode,n),e.updateTypeLiteralNode=e.Debug.deprecate(e.factory.updateTypeLiteralNode,n),e.createArrayTypeNode=e.Debug.deprecate(e.factory.createArrayTypeNode,n),e.updateArrayTypeNode=e.Debug.deprecate(e.factory.updateArrayTypeNode,n),e.createTupleTypeNode=e.Debug.deprecate(e.factory.createTupleTypeNode,n),e.updateTupleTypeNode=e.Debug.deprecate(e.factory.updateTupleTypeNode,n),e.createOptionalTypeNode=e.Debug.deprecate(e.factory.createOptionalTypeNode,n),e.updateOptionalTypeNode=e.Debug.deprecate(e.factory.updateOptionalTypeNode,n),e.createRestTypeNode=e.Debug.deprecate(e.factory.createRestTypeNode,n),e.updateRestTypeNode=e.Debug.deprecate(e.factory.updateRestTypeNode,n),e.createUnionTypeNode=e.Debug.deprecate(e.factory.createUnionTypeNode,n),e.updateUnionTypeNode=e.Debug.deprecate(e.factory.updateUnionTypeNode,n),e.createIntersectionTypeNode=e.Debug.deprecate(e.factory.createIntersectionTypeNode,n),e.updateIntersectionTypeNode=e.Debug.deprecate(e.factory.updateIntersectionTypeNode,n),e.createConditionalTypeNode=e.Debug.deprecate(e.factory.createConditionalTypeNode,n),e.updateConditionalTypeNode=e.Debug.deprecate(e.factory.updateConditionalTypeNode,n),e.createInferTypeNode=e.Debug.deprecate(e.factory.createInferTypeNode,n),e.updateInferTypeNode=e.Debug.deprecate(e.factory.updateInferTypeNode,n),e.createImportTypeNode=e.Debug.deprecate(e.factory.createImportTypeNode,n),e.updateImportTypeNode=e.Debug.deprecate(e.factory.updateImportTypeNode,n),e.createParenthesizedType=e.Debug.deprecate(e.factory.createParenthesizedType,n),e.updateParenthesizedType=e.Debug.deprecate(e.factory.updateParenthesizedType,n),e.createThisTypeNode=e.Debug.deprecate(e.factory.createThisTypeNode,n),e.updateTypeOperatorNode=e.Debug.deprecate(e.factory.updateTypeOperatorNode,n),e.createIndexedAccessTypeNode=e.Debug.deprecate(e.factory.createIndexedAccessTypeNode,n),e.updateIndexedAccessTypeNode=e.Debug.deprecate(e.factory.updateIndexedAccessTypeNode,n),e.createMappedTypeNode=e.Debug.deprecate(e.factory.createMappedTypeNode,n),e.updateMappedTypeNode=e.Debug.deprecate(e.factory.updateMappedTypeNode,n),e.createLiteralTypeNode=e.Debug.deprecate(e.factory.createLiteralTypeNode,n),e.updateLiteralTypeNode=e.Debug.deprecate(e.factory.updateLiteralTypeNode,n),e.createObjectBindingPattern=e.Debug.deprecate(e.factory.createObjectBindingPattern,n),e.updateObjectBindingPattern=e.Debug.deprecate(e.factory.updateObjectBindingPattern,n),e.createArrayBindingPattern=e.Debug.deprecate(e.factory.createArrayBindingPattern,n),e.updateArrayBindingPattern=e.Debug.deprecate(e.factory.updateArrayBindingPattern,n),e.createBindingElement=e.Debug.deprecate(e.factory.createBindingElement,n),e.updateBindingElement=e.Debug.deprecate(e.factory.updateBindingElement,n),e.createArrayLiteral=e.Debug.deprecate(e.factory.createArrayLiteralExpression,n),e.updateArrayLiteral=e.Debug.deprecate(e.factory.updateArrayLiteralExpression,n),e.createObjectLiteral=e.Debug.deprecate(e.factory.createObjectLiteralExpression,n),e.updateObjectLiteral=e.Debug.deprecate(e.factory.updateObjectLiteralExpression,n),e.createPropertyAccess=e.Debug.deprecate(e.factory.createPropertyAccessExpression,n),e.updatePropertyAccess=e.Debug.deprecate(e.factory.updatePropertyAccessExpression,n),e.createPropertyAccessChain=e.Debug.deprecate(e.factory.createPropertyAccessChain,n),e.updatePropertyAccessChain=e.Debug.deprecate(e.factory.updatePropertyAccessChain,n),e.createElementAccess=e.Debug.deprecate(e.factory.createElementAccessExpression,n),e.updateElementAccess=e.Debug.deprecate(e.factory.updateElementAccessExpression,n),e.createElementAccessChain=e.Debug.deprecate(e.factory.createElementAccessChain,n),e.updateElementAccessChain=e.Debug.deprecate(e.factory.updateElementAccessChain,n),e.createCall=e.Debug.deprecate(e.factory.createCallExpression,n),e.updateCall=e.Debug.deprecate(e.factory.updateCallExpression,n),e.createCallChain=e.Debug.deprecate(e.factory.createCallChain,n),e.updateCallChain=e.Debug.deprecate(e.factory.updateCallChain,n),e.createNew=e.Debug.deprecate(e.factory.createNewExpression,n),e.updateNew=e.Debug.deprecate(e.factory.updateNewExpression,n),e.createTypeAssertion=e.Debug.deprecate(e.factory.createTypeAssertion,n),e.updateTypeAssertion=e.Debug.deprecate(e.factory.updateTypeAssertion,n),e.createParen=e.Debug.deprecate(e.factory.createParenthesizedExpression,n),e.updateParen=e.Debug.deprecate(e.factory.updateParenthesizedExpression,n),e.createFunctionExpression=e.Debug.deprecate(e.factory.createFunctionExpression,n),e.updateFunctionExpression=e.Debug.deprecate(e.factory.updateFunctionExpression,n),e.createDelete=e.Debug.deprecate(e.factory.createDeleteExpression,n),e.updateDelete=e.Debug.deprecate(e.factory.updateDeleteExpression,n),e.createTypeOf=e.Debug.deprecate(e.factory.createTypeOfExpression,n),e.updateTypeOf=e.Debug.deprecate(e.factory.updateTypeOfExpression,n),e.createVoid=e.Debug.deprecate(e.factory.createVoidExpression,n),e.updateVoid=e.Debug.deprecate(e.factory.updateVoidExpression,n),e.createAwait=e.Debug.deprecate(e.factory.createAwaitExpression,n),e.updateAwait=e.Debug.deprecate(e.factory.updateAwaitExpression,n),e.createPrefix=e.Debug.deprecate(e.factory.createPrefixUnaryExpression,n),e.updatePrefix=e.Debug.deprecate(e.factory.updatePrefixUnaryExpression,n),e.createPostfix=e.Debug.deprecate(e.factory.createPostfixUnaryExpression,n),e.updatePostfix=e.Debug.deprecate(e.factory.updatePostfixUnaryExpression,n),e.createBinary=e.Debug.deprecate(e.factory.createBinaryExpression,n),e.updateConditional=e.Debug.deprecate(e.factory.updateConditionalExpression,n),e.createTemplateExpression=e.Debug.deprecate(e.factory.createTemplateExpression,n),e.updateTemplateExpression=e.Debug.deprecate(e.factory.updateTemplateExpression,n),e.createTemplateHead=e.Debug.deprecate(e.factory.createTemplateHead,n),e.createTemplateMiddle=e.Debug.deprecate(e.factory.createTemplateMiddle,n),e.createTemplateTail=e.Debug.deprecate(e.factory.createTemplateTail,n),e.createNoSubstitutionTemplateLiteral=e.Debug.deprecate(e.factory.createNoSubstitutionTemplateLiteral,n),e.updateYield=e.Debug.deprecate(e.factory.updateYieldExpression,n),e.createSpread=e.Debug.deprecate(e.factory.createSpreadElement,n),e.updateSpread=e.Debug.deprecate(e.factory.updateSpreadElement,n),e.createOmittedExpression=e.Debug.deprecate(e.factory.createOmittedExpression,n),e.createAsExpression=e.Debug.deprecate(e.factory.createAsExpression,n),e.updateAsExpression=e.Debug.deprecate(e.factory.updateAsExpression,n),e.createNonNullExpression=e.Debug.deprecate(e.factory.createNonNullExpression,n),e.updateNonNullExpression=e.Debug.deprecate(e.factory.updateNonNullExpression,n),e.createNonNullChain=e.Debug.deprecate(e.factory.createNonNullChain,n),e.updateNonNullChain=e.Debug.deprecate(e.factory.updateNonNullChain,n),e.createMetaProperty=e.Debug.deprecate(e.factory.createMetaProperty,n),e.updateMetaProperty=e.Debug.deprecate(e.factory.updateMetaProperty,n),e.createTemplateSpan=e.Debug.deprecate(e.factory.createTemplateSpan,n),e.updateTemplateSpan=e.Debug.deprecate(e.factory.updateTemplateSpan,n),e.createSemicolonClassElement=e.Debug.deprecate(e.factory.createSemicolonClassElement,n),e.createBlock=e.Debug.deprecate(e.factory.createBlock,n),e.updateBlock=e.Debug.deprecate(e.factory.updateBlock,n),e.createVariableStatement=e.Debug.deprecate(e.factory.createVariableStatement,n),e.updateVariableStatement=e.Debug.deprecate(e.factory.updateVariableStatement,n),e.createEmptyStatement=e.Debug.deprecate(e.factory.createEmptyStatement,n),e.createExpressionStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateExpressionStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createIf=e.Debug.deprecate(e.factory.createIfStatement,n),e.updateIf=e.Debug.deprecate(e.factory.updateIfStatement,n),e.createDo=e.Debug.deprecate(e.factory.createDoStatement,n),e.updateDo=e.Debug.deprecate(e.factory.updateDoStatement,n),e.createWhile=e.Debug.deprecate(e.factory.createWhileStatement,n),e.updateWhile=e.Debug.deprecate(e.factory.updateWhileStatement,n),e.createFor=e.Debug.deprecate(e.factory.createForStatement,n),e.updateFor=e.Debug.deprecate(e.factory.updateForStatement,n),e.createForIn=e.Debug.deprecate(e.factory.createForInStatement,n),e.updateForIn=e.Debug.deprecate(e.factory.updateForInStatement,n),e.createForOf=e.Debug.deprecate(e.factory.createForOfStatement,n),e.updateForOf=e.Debug.deprecate(e.factory.updateForOfStatement,n),e.createContinue=e.Debug.deprecate(e.factory.createContinueStatement,n),e.updateContinue=e.Debug.deprecate(e.factory.updateContinueStatement,n),e.createBreak=e.Debug.deprecate(e.factory.createBreakStatement,n),e.updateBreak=e.Debug.deprecate(e.factory.updateBreakStatement,n),e.createReturn=e.Debug.deprecate(e.factory.createReturnStatement,n),e.updateReturn=e.Debug.deprecate(e.factory.updateReturnStatement,n),e.createWith=e.Debug.deprecate(e.factory.createWithStatement,n),e.updateWith=e.Debug.deprecate(e.factory.updateWithStatement,n),e.createSwitch=e.Debug.deprecate(e.factory.createSwitchStatement,n),e.updateSwitch=e.Debug.deprecate(e.factory.updateSwitchStatement,n),e.createLabel=e.Debug.deprecate(e.factory.createLabeledStatement,n),e.updateLabel=e.Debug.deprecate(e.factory.updateLabeledStatement,n),e.createThrow=e.Debug.deprecate(e.factory.createThrowStatement,n),e.updateThrow=e.Debug.deprecate(e.factory.updateThrowStatement,n),e.createTry=e.Debug.deprecate(e.factory.createTryStatement,n),e.updateTry=e.Debug.deprecate(e.factory.updateTryStatement,n),e.createDebuggerStatement=e.Debug.deprecate(e.factory.createDebuggerStatement,n),e.createVariableDeclarationList=e.Debug.deprecate(e.factory.createVariableDeclarationList,n),e.updateVariableDeclarationList=e.Debug.deprecate(e.factory.updateVariableDeclarationList,n),e.createFunctionDeclaration=e.Debug.deprecate(e.factory.createFunctionDeclaration,n),e.updateFunctionDeclaration=e.Debug.deprecate(e.factory.updateFunctionDeclaration,n),e.createClassDeclaration=e.Debug.deprecate(e.factory.createClassDeclaration,n),e.updateClassDeclaration=e.Debug.deprecate(e.factory.updateClassDeclaration,n),e.createInterfaceDeclaration=e.Debug.deprecate(e.factory.createInterfaceDeclaration,n),e.updateInterfaceDeclaration=e.Debug.deprecate(e.factory.updateInterfaceDeclaration,n),e.createTypeAliasDeclaration=e.Debug.deprecate(e.factory.createTypeAliasDeclaration,n),e.updateTypeAliasDeclaration=e.Debug.deprecate(e.factory.updateTypeAliasDeclaration,n),e.createEnumDeclaration=e.Debug.deprecate(e.factory.createEnumDeclaration,n),e.updateEnumDeclaration=e.Debug.deprecate(e.factory.updateEnumDeclaration,n),e.createModuleDeclaration=e.Debug.deprecate(e.factory.createModuleDeclaration,n),e.updateModuleDeclaration=e.Debug.deprecate(e.factory.updateModuleDeclaration,n),e.createModuleBlock=e.Debug.deprecate(e.factory.createModuleBlock,n),e.updateModuleBlock=e.Debug.deprecate(e.factory.updateModuleBlock,n),e.createCaseBlock=e.Debug.deprecate(e.factory.createCaseBlock,n),e.updateCaseBlock=e.Debug.deprecate(e.factory.updateCaseBlock,n),e.createNamespaceExportDeclaration=e.Debug.deprecate(e.factory.createNamespaceExportDeclaration,n),e.updateNamespaceExportDeclaration=e.Debug.deprecate(e.factory.updateNamespaceExportDeclaration,n),e.createImportEqualsDeclaration=e.Debug.deprecate(e.factory.createImportEqualsDeclaration,n),e.updateImportEqualsDeclaration=e.Debug.deprecate(e.factory.updateImportEqualsDeclaration,n),e.createImportDeclaration=e.Debug.deprecate(e.factory.createImportDeclaration,n),e.updateImportDeclaration=e.Debug.deprecate(e.factory.updateImportDeclaration,n),e.createNamespaceImport=e.Debug.deprecate(e.factory.createNamespaceImport,n),e.updateNamespaceImport=e.Debug.deprecate(e.factory.updateNamespaceImport,n),e.createNamedImports=e.Debug.deprecate(e.factory.createNamedImports,n),e.updateNamedImports=e.Debug.deprecate(e.factory.updateNamedImports,n),e.createImportSpecifier=e.Debug.deprecate(e.factory.createImportSpecifier,n),e.updateImportSpecifier=e.Debug.deprecate(e.factory.updateImportSpecifier,n),e.createExportAssignment=e.Debug.deprecate(e.factory.createExportAssignment,n),e.updateExportAssignment=e.Debug.deprecate(e.factory.updateExportAssignment,n),e.createNamedExports=e.Debug.deprecate(e.factory.createNamedExports,n),e.updateNamedExports=e.Debug.deprecate(e.factory.updateNamedExports,n),e.createExportSpecifier=e.Debug.deprecate(e.factory.createExportSpecifier,n),e.updateExportSpecifier=e.Debug.deprecate(e.factory.updateExportSpecifier,n),e.createExternalModuleReference=e.Debug.deprecate(e.factory.createExternalModuleReference,n),e.updateExternalModuleReference=e.Debug.deprecate(e.factory.updateExternalModuleReference,n),e.createJSDocTypeExpression=e.Debug.deprecate(e.factory.createJSDocTypeExpression,n),e.createJSDocTypeTag=e.Debug.deprecate(e.factory.createJSDocTypeTag,n),e.createJSDocReturnTag=e.Debug.deprecate(e.factory.createJSDocReturnTag,n),e.createJSDocThisTag=e.Debug.deprecate(e.factory.createJSDocThisTag,n),e.createJSDocComment=e.Debug.deprecate(e.factory.createJSDocComment,n),e.createJSDocParameterTag=e.Debug.deprecate(e.factory.createJSDocParameterTag,n),e.createJSDocClassTag=e.Debug.deprecate(e.factory.createJSDocClassTag,n),e.createJSDocAugmentsTag=e.Debug.deprecate(e.factory.createJSDocAugmentsTag,n),e.createJSDocEnumTag=e.Debug.deprecate(e.factory.createJSDocEnumTag,n),e.createJSDocTemplateTag=e.Debug.deprecate(e.factory.createJSDocTemplateTag,n),e.createJSDocTypedefTag=e.Debug.deprecate(e.factory.createJSDocTypedefTag,n),e.createJSDocCallbackTag=e.Debug.deprecate(e.factory.createJSDocCallbackTag,n),e.createJSDocSignature=e.Debug.deprecate(e.factory.createJSDocSignature,n),e.createJSDocPropertyTag=e.Debug.deprecate(e.factory.createJSDocPropertyTag,n),e.createJSDocTypeLiteral=e.Debug.deprecate(e.factory.createJSDocTypeLiteral,n),e.createJSDocImplementsTag=e.Debug.deprecate(e.factory.createJSDocImplementsTag,n),e.createJSDocAuthorTag=e.Debug.deprecate(e.factory.createJSDocAuthorTag,n),e.createJSDocPublicTag=e.Debug.deprecate(e.factory.createJSDocPublicTag,n),e.createJSDocPrivateTag=e.Debug.deprecate(e.factory.createJSDocPrivateTag,n),e.createJSDocProtectedTag=e.Debug.deprecate(e.factory.createJSDocProtectedTag,n),e.createJSDocReadonlyTag=e.Debug.deprecate(e.factory.createJSDocReadonlyTag,n),e.createJSDocTag=e.Debug.deprecate(e.factory.createJSDocUnknownTag,n),e.createJsxElement=e.Debug.deprecate(e.factory.createJsxElement,n),e.updateJsxElement=e.Debug.deprecate(e.factory.updateJsxElement,n),e.createJsxSelfClosingElement=e.Debug.deprecate(e.factory.createJsxSelfClosingElement,n),e.updateJsxSelfClosingElement=e.Debug.deprecate(e.factory.updateJsxSelfClosingElement,n),e.createJsxOpeningElement=e.Debug.deprecate(e.factory.createJsxOpeningElement,n),e.updateJsxOpeningElement=e.Debug.deprecate(e.factory.updateJsxOpeningElement,n),e.createJsxClosingElement=e.Debug.deprecate(e.factory.createJsxClosingElement,n),e.updateJsxClosingElement=e.Debug.deprecate(e.factory.updateJsxClosingElement,n),e.createJsxFragment=e.Debug.deprecate(e.factory.createJsxFragment,n),e.createJsxText=e.Debug.deprecate(e.factory.createJsxText,n),e.updateJsxText=e.Debug.deprecate(e.factory.updateJsxText,n),e.createJsxOpeningFragment=e.Debug.deprecate(e.factory.createJsxOpeningFragment,n),e.createJsxJsxClosingFragment=e.Debug.deprecate(e.factory.createJsxJsxClosingFragment,n),e.updateJsxFragment=e.Debug.deprecate(e.factory.updateJsxFragment,n),e.createJsxAttribute=e.Debug.deprecate(e.factory.createJsxAttribute,n),e.updateJsxAttribute=e.Debug.deprecate(e.factory.updateJsxAttribute,n),e.createJsxAttributes=e.Debug.deprecate(e.factory.createJsxAttributes,n),e.updateJsxAttributes=e.Debug.deprecate(e.factory.updateJsxAttributes,n),e.createJsxSpreadAttribute=e.Debug.deprecate(e.factory.createJsxSpreadAttribute,n),e.updateJsxSpreadAttribute=e.Debug.deprecate(e.factory.updateJsxSpreadAttribute,n),e.createJsxExpression=e.Debug.deprecate(e.factory.createJsxExpression,n),e.updateJsxExpression=e.Debug.deprecate(e.factory.updateJsxExpression,n),e.createCaseClause=e.Debug.deprecate(e.factory.createCaseClause,n),e.updateCaseClause=e.Debug.deprecate(e.factory.updateCaseClause,n),e.createDefaultClause=e.Debug.deprecate(e.factory.createDefaultClause,n),e.updateDefaultClause=e.Debug.deprecate(e.factory.updateDefaultClause,n),e.createHeritageClause=e.Debug.deprecate(e.factory.createHeritageClause,n),e.updateHeritageClause=e.Debug.deprecate(e.factory.updateHeritageClause,n),e.createCatchClause=e.Debug.deprecate(e.factory.createCatchClause,n),e.updateCatchClause=e.Debug.deprecate(e.factory.updateCatchClause,n),e.createPropertyAssignment=e.Debug.deprecate(e.factory.createPropertyAssignment,n),e.updatePropertyAssignment=e.Debug.deprecate(e.factory.updatePropertyAssignment,n),e.createShorthandPropertyAssignment=e.Debug.deprecate(e.factory.createShorthandPropertyAssignment,n),e.updateShorthandPropertyAssignment=e.Debug.deprecate(e.factory.updateShorthandPropertyAssignment,n),e.createSpreadAssignment=e.Debug.deprecate(e.factory.createSpreadAssignment,n),e.updateSpreadAssignment=e.Debug.deprecate(e.factory.updateSpreadAssignment,n),e.createEnumMember=e.Debug.deprecate(e.factory.createEnumMember,n),e.updateEnumMember=e.Debug.deprecate(e.factory.updateEnumMember,n),e.updateSourceFileNode=e.Debug.deprecate(e.factory.updateSourceFile,n),e.createNotEmittedStatement=e.Debug.deprecate(e.factory.createNotEmittedStatement,n),e.createPartiallyEmittedExpression=e.Debug.deprecate(e.factory.createPartiallyEmittedExpression,n),e.updatePartiallyEmittedExpression=e.Debug.deprecate(e.factory.updatePartiallyEmittedExpression,n),e.createCommaList=e.Debug.deprecate(e.factory.createCommaListExpression,n),e.updateCommaList=e.Debug.deprecate(e.factory.updateCommaListExpression,n),e.createBundle=e.Debug.deprecate(e.factory.createBundle,n),e.updateBundle=e.Debug.deprecate(e.factory.updateBundle,n),e.createImmediatelyInvokedFunctionExpression=e.Debug.deprecate(e.factory.createImmediatelyInvokedFunctionExpression,n),e.createImmediatelyInvokedArrowFunction=e.Debug.deprecate(e.factory.createImmediatelyInvokedArrowFunction,n),e.createVoidZero=e.Debug.deprecate(e.factory.createVoidZero,n),e.createExportDefault=e.Debug.deprecate(e.factory.createExportDefault,n),e.createExternalModuleExport=e.Debug.deprecate(e.factory.createExternalModuleExport,n),e.createNamespaceExport=e.Debug.deprecate(e.factory.createNamespaceExport,n),e.updateNamespaceExport=e.Debug.deprecate(e.factory.updateNamespaceExport,n),e.createToken=e.Debug.deprecate((function(n){return e.factory.createToken(n)}),n),e.createIdentifier=e.Debug.deprecate((function(n){return e.factory.createIdentifier(n,void 0,void 0)}),n),e.createTempVariable=e.Debug.deprecate((function(n){return e.factory.createTempVariable(n,void 0)}),n),e.getGeneratedNameForNode=e.Debug.deprecate((function(n){return e.factory.getGeneratedNameForNode(n,void 0)}),n),e.createOptimisticUniqueName=e.Debug.deprecate((function(n){return e.factory.createUniqueName(n,16)}),n),e.createFileLevelUniqueName=e.Debug.deprecate((function(n){return e.factory.createUniqueName(n,48)}),n),e.createIndexSignature=e.Debug.deprecate((function(n,t,r,a){return e.factory.createIndexSignature(n,t,r,a)}),n),e.createTypePredicateNode=e.Debug.deprecate((function(n,t){return e.factory.createTypePredicateNode(void 0,n,t)}),n),e.updateTypePredicateNode=e.Debug.deprecate((function(n,t,r){return e.factory.updateTypePredicateNode(n,void 0,t,r)}),n),e.createLiteral=e.Debug.deprecate((function(n){return"number"==typeof n?e.factory.createNumericLiteral(n):"object"==typeof n&&"base10Value"in n?e.factory.createBigIntLiteral(n):"boolean"==typeof n?n?e.factory.createTrue():e.factory.createFalse():"string"==typeof n?e.factory.createStringLiteral(n,void 0):e.factory.createStringLiteralFromNode(n)}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."}),e.createMethodSignature=e.Debug.deprecate((function(n,t,r,a,i){return e.factory.createMethodSignature(void 0,a,i,n,t,r)}),n),e.updateMethodSignature=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateMethodSignature(n,n.modifiers,i,o,t,r,a)}),n),e.createTypeOperatorNode=e.Debug.deprecate((function(n,t){var r;return t?r=n:(t=n,r=137),e.factory.createTypeOperatorNode(r,t)}),n),e.createTaggedTemplate=e.Debug.deprecate((function(n,t,r){var a;return r?a=t:r=t,e.factory.createTaggedTemplateExpression(n,a,r)}),n),e.updateTaggedTemplate=e.Debug.deprecate((function(n,t,r,a){var i;return a?i=r:a=r,e.factory.updateTaggedTemplateExpression(n,t,i,a)}),n),e.updateBinary=e.Debug.deprecate((function(n,t,r,a){return void 0===a&&(a=n.operatorToken),"number"==typeof a&&(a=a===n.operatorToken.kind?n.operatorToken:e.factory.createToken(a)),e.factory.updateBinaryExpression(n,t,a,r)}),n),e.createConditional=e.Debug.deprecate((function(n,t,r,a,i){return 5===arguments.length?e.factory.createConditionalExpression(n,t,r,a,i):3===arguments.length?e.factory.createConditionalExpression(n,e.factory.createToken(57),t,e.factory.createToken(58),r):e.Debug.fail("Argument count mismatch")}),n),e.createYield=e.Debug.deprecate((function(n,t){var r;return t?r=n:t=n,e.factory.createYieldExpression(r,t)}),n),e.createClassExpression=e.Debug.deprecate((function(n,t,r,a,i){return e.factory.createClassExpression(void 0,n,t,r,a,i)}),n),e.updateClassExpression=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateClassExpression(n,void 0,t,r,a,i,o)}),n),e.createPropertySignature=e.Debug.deprecate((function(n,t,r,a,i){var o=e.factory.createPropertySignature(n,t,r,a);return o.initializer=i,o}),n),e.updatePropertySignature=e.Debug.deprecate((function(n,t,r,a,i,o){var s=e.factory.updatePropertySignature(n,t,r,a,i);return n.initializer!==o&&(s===n&&(s=e.factory.cloneNode(n)),s.initializer=o),s}),n),e.createExpressionWithTypeArguments=e.Debug.deprecate((function(n,t){return e.factory.createExpressionWithTypeArguments(t,n)}),n),e.updateExpressionWithTypeArguments=e.Debug.deprecate((function(n,t,r){return e.factory.updateExpressionWithTypeArguments(n,r,t)}),n),e.createArrowFunction=e.Debug.deprecate((function(n,t,r,a,i,o){return 6===arguments.length?e.factory.createArrowFunction(n,t,r,a,i,o):5===arguments.length?e.factory.createArrowFunction(n,t,r,a,void 0,i):e.Debug.fail("Argument count mismatch")}),n),e.updateArrowFunction=e.Debug.deprecate((function(n,t,r,a,i,o,s){return 7===arguments.length?e.factory.updateArrowFunction(n,t,r,a,i,o,s):6===arguments.length?e.factory.updateArrowFunction(n,t,r,a,i,n.equalsGreaterThanToken,o):e.Debug.fail("Argument count mismatch")}),n),e.createVariableDeclaration=e.Debug.deprecate((function(n,t,r,a){return 4===arguments.length?e.factory.createVariableDeclaration(n,t,r,a):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(n,void 0,t,r):e.Debug.fail("Argument count mismatch")}),n),e.updateVariableDeclaration=e.Debug.deprecate((function(n,t,r,a,i){return 5===arguments.length?e.factory.updateVariableDeclaration(n,t,r,a,i):4===arguments.length?e.factory.updateVariableDeclaration(n,t,n.exclamationToken,r,a):e.Debug.fail("Argument count mismatch")}),n),e.createImportClause=e.Debug.deprecate((function(n,t,r){return void 0===r&&(r=!1),e.factory.createImportClause(r,n,t)}),n),e.updateImportClause=e.Debug.deprecate((function(n,t,r,a){return e.factory.updateImportClause(n,a,t,r)}),n),e.createExportDeclaration=e.Debug.deprecate((function(n,t,r,a,i){return void 0===i&&(i=!1),e.factory.createExportDeclaration(n,t,i,r,a)}),n),e.updateExportDeclaration=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateExportDeclaration(n,t,r,o,a,i)}),n),e.createJSDocParamTag=e.Debug.deprecate((function(n,t,r,a){return e.factory.createJSDocParameterTag(void 0,n,t,r,!1,a)}),n),e.createComma=e.Debug.deprecate((function(n,t){return e.factory.createComma(n,t)}),n),e.createLessThan=e.Debug.deprecate((function(n,t){return e.factory.createLessThan(n,t)}),n),e.createAssignment=e.Debug.deprecate((function(n,t){return e.factory.createAssignment(n,t)}),n),e.createStrictEquality=e.Debug.deprecate((function(n,t){return e.factory.createStrictEquality(n,t)}),n),e.createStrictInequality=e.Debug.deprecate((function(n,t){return e.factory.createStrictInequality(n,t)}),n),e.createAdd=e.Debug.deprecate((function(n,t){return e.factory.createAdd(n,t)}),n),e.createSubtract=e.Debug.deprecate((function(n,t){return e.factory.createSubtract(n,t)}),n),e.createLogicalAnd=e.Debug.deprecate((function(n,t){return e.factory.createLogicalAnd(n,t)}),n),e.createLogicalOr=e.Debug.deprecate((function(n,t){return e.factory.createLogicalOr(n,t)}),n),e.createPostfixIncrement=e.Debug.deprecate((function(n){return e.factory.createPostfixIncrement(n)}),n),e.createLogicalNot=e.Debug.deprecate((function(n){return e.factory.createLogicalNot(n)}),n),e.createNode=e.Debug.deprecate((function(n,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),e.setTextRangePosEnd(294===n?e.parseBaseNodeFactory.createBaseSourceFileNode(n):78===n?e.parseBaseNodeFactory.createBaseIdentifierNode(n):79===n?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(n):e.isNodeKind(n)?e.parseBaseNodeFactory.createBaseNode(n):e.parseBaseNodeFactory.createBaseTokenNode(n),t,r)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate((function(n){var t=e.factory.cloneNode(n);return e.setTextRange(t,n),e.setParent(t,n.parent),t}),{since:"4.0",warnAfter:"4.1",message:"Use `factory.cloneNode` instead and use `setCommentRange` or `setSourceMapRange` and avoid setting `parent`."}),e.isTypeAssertion=e.Debug.deprecate((function(e){return 203===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."})}(p||(p={}));var m=p.createClassifier,_=p.createLanguageService,g=p.displayPartsToString,y=p.EndOfLineState,h=p.flattenDiagnosticMessageText,v=p.IndentStyle,b=p.ScriptKind,E=p.ScriptTarget,T=p.TokenClass}.call(this,t(86),"/",t(341)(e))},16:function(e,n,t){"use strict";function r(e,n=0){return e[e.length-(1+n)]}function a(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function i(e,n,t=((e,n)=>e===n)){if(e===n)return!0;if(!e||!n)return!1;if(e.length!==n.length)return!1;for(let r=0,a=e.length;r<a;r++)if(!t(e[r],n[r]))return!1;return!0}function o(e,n,t){let r=0,a=e.length-1;for(;r<=a;){const i=(r+a)/2|0,o=t(e[i],n);if(o<0)r=i+1;else{if(!(o>0))return i;a=i-1}}return-(r+1)}function s(e,n){let t=0,r=e.length;if(0===r)return 0;for(;t<r;){const a=Math.floor((t+r)/2);n(e[a])?r=a:t=a+1}return t}function c(e,n){return function e(n,t,r,a,i){if(a<=r)return;const o=r+(a-r)/2|0;if(e(n,t,r,o,i),e(n,t,o+1,a,i),t(n[o],n[o+1])<=0)return;!function(e,n,t,r,a,i){let o=t,s=r+1;for(let n=t;n<=a;n++)i[n]=e[n];for(let c=t;c<=a;c++)o>r?e[c]=i[s++]:s>a?e[c]=i[o++]:n(i[s],i[o])<0?e[c]=i[s++]:e[c]=i[o++]}(n,t,r,o,a,i)}(e,n,0,e.length-1,[]),e}function l(e,n){const t=[];let r=void 0;for(const a of c(e.slice(0),n))r&&0===n(r[0],a)?r.push(a):(r=[a],t.push(r));return t}function u(e){return e.filter(e=>!!e)}function d(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function f(e,n){if(!n)return e.filter((n,t)=>e.indexOf(n)===t);const t=Object.create(null);return e.filter(e=>{const r=n(e);return!t[r]&&(t[r]=!0,!0)})}function m(e){const n=new Set;return e.filter(e=>!n.has(e)&&(n.add(e),!0))}function _(e,n){for(let t=0;t<e.length;t++){if(n(e[t]))return t}return-1}function g(e,n,t){const r=_(e,n);return r<0?t:e[r]}function y(e,n){return e.length>0?e[0]:n}function h(e){return[].concat(...e)}function v(e,n){let t="number"==typeof n?e:0;"number"==typeof n?t=e:(t=0,n=e);const r=[];if(t<=n)for(let e=t;e<n;e++)r.push(e);else for(let e=t;e>n;e--)r.push(e);return r}function b(e,n,t){const r=e.slice(0,n),a=e.slice(n);return r.concat(t,a)}function E(e,n){const t=e.indexOf(n);t>-1&&(e.splice(t,1),e.unshift(n))}function T(e,n){const t=e.indexOf(n);t>-1&&(e.splice(t,1),e.push(n))}function S(e){return Array.isArray(e)?e:[e]}t.d(n,"t",(function(){return r})),t.d(n,"u",(function(){return a})),t.d(n,"g",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"h",(function(){return s})),t.d(n,"p",(function(){return c})),t.d(n,"m",(function(){return l})),t.d(n,"d",(function(){return u})),t.d(n,"n",(function(){return d})),t.d(n,"o",(function(){return p})),t.d(n,"e",(function(){return f})),t.d(n,"f",(function(){return m})),t.d(n,"j",(function(){return _})),t.d(n,"i",(function(){return g})),t.d(n,"k",(function(){return y})),t.d(n,"l",(function(){return h})),t.d(n,"s",(function(){return v})),t.d(n,"a",(function(){return b})),t.d(n,"r",(function(){return E})),t.d(n,"q",(function(){return T})),t.d(n,"b",(function(){return S}))},2:function(e,n,t){"use strict";t.d(n,"g",(function(){return o})),t.d(n,"f",(function(){return s})),t.d(n,"e",(function(){return c})),t.d(n,"h",(function(){return l})),t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return d})),t.d(n,"d",(function(){return p})),t.d(n,"c",(function(){return f}));var r=t(37);function a(e){}class i extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function o(e){return"function"==typeof e.dispose&&0===e.dispose.length}function s(e){if(r.a.is(e)){let n=[];for(const t of e)if(t)try{t.dispose()}catch(e){n.push(e)}if(1===n.length)throw n[0];if(n.length>1)throw new i(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function c(...e){return e.forEach(a),{dispose:()=>s(e)}}function l(e){const n={dispose:()=>{e()}};return n}class u{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{s(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?u.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}u.DISABLE_DISPOSED_WARNING=!1;class d{constructor(){this._store=new u}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}d.None=Object.freeze({dispose(){}});class p{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class f{constructor(e){this.object=e}dispose(){}}},21:function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var r=t(9),a=t(3);class i extends a.a{constructor(e,n,t,r){super(e,n,t,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=t,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return i.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return 0===this.getDirection()?new i(this.startLineNumber,this.startColumn,e,n):new i(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new r.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,n){return 0===this.getDirection()?new i(e,n,this.endLineNumber,this.endColumn):new i(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new i(e.lineNumber,e.column,n.lineNumber,n.column)}static liftSelection(e){return new i(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let t=0,r=e.length;t<r;t++)if(!this.selectionsEqual(e[t],n[t]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,n,t,r,a){return 0===a?new i(e,n,t,r):new i(t,r,e,n)}}},23:function(e,n,t){"use strict";t.d(n,"a",(function(){return u})),t.d(n,"b",(function(){return g}));var r=t(11),a=t(42);const i=/^\w[\w\d+.-]*$/,o=/^\//,s=/^\/\//;const c="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class u{constructor(e,n,t,r,a,l=!1){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,n){return e||n?e:"file"}(e,l),this.authority=n||"",this.path=function(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==c&&(n=c+n):n=c}return n}(this.scheme,t||""),this.query=r||"",this.fragment=a||"",function(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!i.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!o.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,l))}static isUri(e){return e instanceof u||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:t,path:r,query:a,fragment:i}=e;return void 0===n?n=this.scheme:null===n&&(n=""),void 0===t?t=this.authority:null===t&&(t=""),void 0===r?r=this.path:null===r&&(r=""),void 0===a?a=this.query:null===a&&(a=""),void 0===i?i=this.fragment:null===i&&(i=""),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new p(n,t,r,a,i)}static parse(e,n=!1){const t=l.exec(e);return t?new p(t[2]||"",v(t[4]||""),v(t[5]||""),v(t[7]||""),v(t[9]||""),n):new p("","","","","")}static file(e){let n="";if(r.i&&(e=e.replace(/\\/g,c)),e[0]===c&&e[1]===c){const t=e.indexOf(c,2);-1===t?(n=e.substring(2),e=c):(n=e.substring(2,t),e=e.substring(t)||c)}return new p("file",n,e,"","")}static from(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let t;return t=r.i&&"file"===e.scheme?u.file(a.i.join(g(e,!0),...n)).path:a.e.join(e.path,...n),e.with({path:t})}toString(e=!1){return y(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof u)return e;{const n=new p(e);return n._formatted=e.external,n._fsPath=e._sep===d?e.fsPath:null,n}}return e}}const d=r.i?1:void 0;class p extends u{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const f={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,n){let t=void 0,r=-1;for(let a=0;a<e.length;a++){const i=e.charCodeAt(a);if(i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||n&&47===i)-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),void 0!==t&&(t+=e.charAt(a));else{void 0===t&&(t=e.substr(0,a));const n=f[i];void 0!==n?(-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),t+=n):-1===r&&(r=a)}}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function _(e){let n=void 0;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);35===r||63===r?(void 0===n&&(n=e.substr(0,t)),n+=f[r]):void 0!==n&&(n+=e[t])}return void 0!==n?n:e}function g(e,n){let t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?n?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r.i&&(t=t.replace(/\//g,"\\")),t}function y(e,n){const t=n?_:m;let r="",{scheme:a,authority:i,path:o,query:s,fragment:l}=e;if(a&&(r+=a,r+=":"),(i||"file"===a)&&(r+=c,r+=c),i){let e=i.indexOf("@");if(-1!==e){const n=i.substr(0,e);i=i.substr(e+1),e=n.indexOf(":"),-1===e?r+=t(n,!1):(r+=t(n.substr(0,e),!1),r+=":",r+=t(n.substr(e+1),!1)),r+="@"}i=i.toLowerCase(),e=i.indexOf(":"),-1===e?r+=t(i,!1):(r+=t(i.substr(0,e),!1),r+=i.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=t(o,!0)}return s&&(r+="?",r+=t(s,!1)),l&&(r+="#",r+=n?l:m(l,!1)),r}const h=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(h)?e.replace(h,e=>function e(n){try{return decodeURIComponent(n)}catch(t){return n.length>3?n.substr(0,3)+e(n.substr(3)):n}}(e)):e}},25:function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return s}));var r=t(6);const a=Object.freeze((function(e,n){const t=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(t)}}}));var i;!function(e){e.isCancellationToken=function(n){return n===e.None||n===e.Cancelled||(n instanceof o||!(!n||"object"!=typeof n)&&("boolean"==typeof n.isCancellationRequested&&"function"==typeof n.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:a})}(i||(i={}));class o{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new r.a),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class s{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new o),this._token}cancel(){this._token?this._token instanceof o&&this._token.cancel():this._token=i.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof o&&this._token.dispose():this._token=i.None}}},28:function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return s}));var r=t(11);const a=void 0===e?{cwd:()=>"/",env:Object.create(null),get platform(){return r.i?"win32":r.f?"darwin":"linux"},nextTick:e=>Object(r.j)(e)}:e,i=a.cwd,o=a.env,s=a.platform}).call(this,t(86))},3:function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var r=t(9);class a{constructor(e,n,t,r){e>t||e===t&&n>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}isEmpty(){return a.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return a.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.column<e.startColumn)&&!(n.lineNumber===e.endLineNumber&&n.column>e.endColumn))}containsRange(e){return a.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber)&&(!(n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)))}strictContainsRange(e){return a.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber)&&(!(n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)))}plusRange(e){return a.plusRange(this,e)}static plusRange(e,n){let t,r,i,o;return n.startLineNumber<e.startLineNumber?(t=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(t=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(t=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(i=n.endLineNumber,o=n.endColumn):n.endLineNumber===e.endLineNumber?(i=n.endLineNumber,o=Math.max(n.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new a(t,r,i,o)}intersectRanges(e){return a.intersectRanges(this,e)}static intersectRanges(e,n){let t=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,s=n.startLineNumber,c=n.startColumn,l=n.endLineNumber,u=n.endColumn;return t<s?(t=s,r=c):t===s&&(r=Math.max(r,c)),i>l?(i=l,o=u):i===l&&(o=Math.min(o,u)),t>i||t===i&&r>o?null:new a(t,r,i,o)}equalsRange(e){return a.equalsRange(this,e)}static equalsRange(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return a.getEndPosition(this)}static getEndPosition(e){return new r.a(e.endLineNumber,e.endColumn)}getStartPosition(){return a.getStartPosition(this)}static getStartPosition(e){return new r.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new a(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new a(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return a.collapseToStart(this)}static collapseToStart(e){return new a(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,n=e){return new a(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn)&&!(n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn)&&!(n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,n){if(e&&n){const t=0|e.startLineNumber,r=0|n.startLineNumber;if(t===r){const t=0|e.startColumn,r=0|n.startColumn;if(t===r){const t=0|e.endLineNumber,r=0|n.endLineNumber;if(t===r){return(0|e.endColumn)-(0|n.endColumn)}return t-r}return t-r}return t-r}return(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}},341:function(e,n){e.exports=function(e){if(!e.webpackPolyfill){var n=Object.create(e);n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1}return n}},343:function(e,n,t){"use strict";t.r(n);var r=t(131),a=t(157),i={"lib.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es5" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',"lib.dom.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// DOM APIs\n/////////////////////////////\n\ninterface Account {\n displayName: string;\n id: string;\n imageURL?: string;\n name?: string;\n rpDisplayName: string;\n}\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: number | null;\n timelineTime?: number | null;\n}\n\ninterface AssertionOptions {\n allowList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioContextInfo {\n currentTime?: number;\n sampleRate?: number;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioParamDescriptor {\n automationRate?: AutomationRate;\n defaultValue?: number;\n maxValue?: number;\n minValue?: number;\n name: string;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: number;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record<string, number>;\n processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n appid?: string;\n authnSel?: AuthenticatorSelectionList;\n exts?: boolean;\n loc?: boolean;\n txAuthGeneric?: txAuthGenericArg;\n txAuthSimple?: string;\n uvi?: boolean;\n uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n authnSel?: boolean;\n exts?: AuthenticationExtensionsSupported;\n loc?: Coordinates;\n txAuthGeneric?: ArrayBuffer;\n txAuthSimple?: string;\n uvi?: ArrayBuffer;\n uvm?: UvmEntries;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface ByteLengthChunk {\n byteLength?: number;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n desynchronized?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientData {\n challenge: string;\n extensions?: WebAuthnExtensions;\n hashAlg: string | Algorithm;\n origin: string;\n rpId: string;\n tokenBinding?: string;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: number;\n currentIteration?: number | null;\n endTime?: number;\n localTime?: number | null;\n progress?: number | null;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainVideoFacingModeParameters {\n exact?: VideoFacingModeEnum | VideoFacingModeEnum[];\n ideal?: VideoFacingModeEnum | VideoFacingModeEnum[];\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n publicKey?: PublicKeyCredentialCreationOptions;\n signal?: AbortSignal;\n}\n\ninterface CredentialRequestOptions {\n mediation?: CredentialMediationRequirement;\n publicKey?: PublicKeyCredentialRequestOptions;\n signal?: AbortSignal;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceLightEventInit extends EventInit {\n value?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface DocumentTimelineOptions {\n originTime?: number;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExceptionInformation {\n domain?: string | null;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusNavigationEventInit extends EventInit {\n navigationReason?: string | null;\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusNavigationOrigin {\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n data?: string | null;\n inputType?: string;\n isComposing?: boolean;\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: number;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n code?: string;\n isComposing?: boolean;\n key?: string;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n robustness?: string;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamErrorEventInit extends EventInit {\n error?: MediaStreamError | null;\n}\n\ninterface MediaStreamEventInit extends EventInit {\n stream?: MediaStream;\n}\n\ninterface MediaStreamTrackAudioSourceOptions {\n mediaStreamTrack: MediaStreamTrack;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n deviceId?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n noiseSuppression?: ConstrainBoolean;\n resizeMode?: ConstrainDOMString;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n channelCount?: number;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n latency?: number;\n noiseSuppression?: boolean;\n resizeMode?: string;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n channelCount?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n latency?: boolean;\n noiseSuppression?: boolean;\n resizeMode?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n /**\n * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.\n */\n attributeFilter?: string[];\n /**\n * Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded.\n */\n attributeOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.\n */\n attributes?: boolean;\n /**\n * Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified.\n */\n characterData?: boolean;\n /**\n * Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded.\n */\n characterDataOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s children are to be observed.\n */\n childList?: boolean;\n /**\n * Set to true if mutations to not just target, but also target\'s descendants are to be observed.\n */\n subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PageTransitionEventInit extends EventInit {\n persisted?: boolean;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n currencySystem?: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n shippingOptions?: PaymentShippingOption[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string | string[];\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n error?: string;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string | string[];\n}\n\ninterface PaymentOptions {\n requestPayerEmail?: boolean;\n requestPayerName?: boolean;\n requestPayerPhone?: boolean;\n requestShipping?: boolean;\n shippingType?: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentShippingOption {\n amount: PaymentCurrencyAmount;\n id: string;\n label: string;\n selected?: boolean;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise<any>;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n attestation?: AttestationConveyancePreference;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: BufferSource;\n excludeCredentials?: PublicKeyCredentialDescriptor[];\n extensions?: AuthenticationExtensionsClientInputs;\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n icon?: string;\n name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n alg: COSEAlgorithmIdentifier;\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n allowCredentials?: PublicKeyCredentialDescriptor[];\n challenge: BufferSource;\n extensions?: AuthenticationExtensionsClientInputs;\n rpId?: string;\n timeout?: number;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback<T>;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: number;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n peerIdentity?: string;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n priority?: RTCPriorityType;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCDtlsParameters {\n fingerprints?: RTCDtlsFingerprint[];\n role?: RTCDtlsRole;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n error: RTCError;\n}\n\ninterface RTCErrorInit {\n errorDetail: RTCErrorDetailType;\n httpRequestStatusCode?: number;\n receivedAlert?: number;\n sctpCauseCode?: number;\n sdpLineNumber?: number;\n sentAlert?: number;\n}\n\ninterface RTCIceCandidateAttributes extends RTCStats {\n addressSourceUrl?: string;\n candidateType?: RTCStatsIceCandidateType;\n ipAddress?: string;\n portNumber?: number;\n priority?: number;\n transport?: string;\n}\n\ninterface RTCIceCandidateComplete {\n}\n\ninterface RTCIceCandidateDictionary {\n foundation?: string;\n ip?: string;\n msMTurnSessionId?: string;\n port?: number;\n priority?: number;\n protocol?: RTCIceProtocol;\n relatedAddress?: string;\n relatedPort?: number;\n tcpType?: RTCIceTcpCandidateType;\n type?: RTCIceCandidateType;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string | null;\n}\n\ninterface RTCIceCandidatePair {\n local?: RTCIceCandidate;\n remote?: RTCIceCandidate;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n localCandidateId?: string;\n nominated?: boolean;\n priority?: number;\n readable?: boolean;\n remoteCandidateId?: string;\n roundTripTime?: number;\n state?: RTCStatsIceCandidatePairState;\n transportId?: string;\n writable?: boolean;\n}\n\ninterface RTCIceGatherOptions {\n gatherPolicy?: RTCIceGatherPolicy;\n iceservers?: RTCIceServer[];\n}\n\ninterface RTCIceParameters {\n password?: string;\n usernameFragment?: string;\n}\n\ninterface RTCIceServer {\n credential?: string | RTCOAuthCredential;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCIdentityProviderOptions {\n peerIdentity?: string;\n protocol?: string;\n usernameHint?: string;\n}\n\ninterface RTCInboundRTPStreamStats extends RTCRTPStreamStats {\n bytesReceived?: number;\n fractionLost?: number;\n jitter?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCMediaStreamTrackStats extends RTCStats {\n audioLevel?: number;\n echoReturnLoss?: number;\n echoReturnLossEnhancement?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesCorrupted?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n framesSent?: number;\n remoteSource?: boolean;\n ssrcIds?: string[];\n trackIdentifier?: string;\n}\n\ninterface RTCOAuthCredential {\n accessToken: string;\n macKey: string;\n}\n\ninterface RTCOfferAnswerOptions {\n voiceActivityDetection?: boolean;\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n roundTripTime?: number;\n targetBitrate?: number;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n errorCode: number;\n hostCandidate?: string;\n statusText?: string;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCRTPStreamStats extends RTCStats {\n associateStatsId?: string;\n codecId?: string;\n firCount?: number;\n isRemote?: boolean;\n mediaTrackId?: string;\n mediaType?: string;\n nackCount?: number;\n pliCount?: number;\n sliCount?: number;\n ssrc?: string;\n transportId?: string;\n}\n\ninterface RTCRtcpFeedback {\n parameter?: string;\n type?: string;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n rtpTimestamp: number;\n source: number;\n timestamp: number;\n}\n\ninterface RTCRtpDecodingParameters extends RTCRtpCodingParameters {\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n codecPayloadType?: number;\n dtx?: RTCDtxStatus;\n maxBitrate?: number;\n maxFramerate?: number;\n ptime?: number;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpFecParameters {\n mechanism?: string;\n ssrc?: number;\n}\n\ninterface RTCRtpHeaderExtension {\n kind?: string;\n preferredEncrypt?: boolean;\n preferredId?: number;\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n encodings: RTCRtpDecodingParameters[];\n}\n\ninterface RTCRtpRtxParameters {\n ssrc?: number;\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n priority?: RTCPriorityType;\n transactionId: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n voiceActivityFlag?: boolean;\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCRtpUnhandled {\n muxId?: string;\n payloadType?: number;\n ssrc?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type?: RTCSdpType;\n}\n\ninterface RTCSrtpKeyParam {\n keyMethod?: string;\n keySalt?: string;\n lifetime?: string;\n mkiLength?: number;\n mkiValue?: number;\n}\n\ninterface RTCSrtpSdesParameters {\n cryptoSuite?: string;\n keyParams?: RTCSrtpKeyParam[];\n sessionParams?: string[];\n tag?: number;\n}\n\ninterface RTCSsrcRange {\n max?: number;\n min?: number;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: number;\n type: RTCStatsType;\n}\n\ninterface RTCStatsEventInit extends EventInit {\n report: RTCStatsReport;\n}\n\ninterface RTCStatsReport {\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n activeConnection?: boolean;\n bytesReceived?: number;\n bytesSent?: number;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value?: T;\n}\n\ninterface ReadableStreamReadValueResult<T> {\n done: false;\n value: T;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request\'s credentials.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request\'s redirect.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScopedCredentialDescriptor {\n id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;\n transports?: Transport[];\n type: ScopedCredentialType;\n}\n\ninterface ScopedCredentialOptions {\n excludeList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface ScopedCredentialParameters {\n algorithm: string | Algorithm;\n type: ScopedCredentialType;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n documentURI?: string;\n effectiveDirective?: string;\n lineNumber?: number;\n originalPolicy?: string;\n referrer?: string;\n sourceFile?: string;\n statusCode?: number;\n violatedDirective?: string;\n}\n\ninterface ServiceWorkerMessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[] | null;\n source?: ServiceWorker | MessagePort | null;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n}\n\ninterface ShareData {\n text?: string;\n title?: string;\n url?: string;\n}\n\ninterface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {\n error: SpeechSynthesisErrorCode;\n}\n\ninterface SpeechSynthesisEventInit extends EventInit {\n charIndex?: number;\n charLength?: number;\n elapsedTime?: number;\n name?: string;\n utterance: SpeechSynthesisUtterance;\n}\n\ninterface StaticRangeInit {\n endContainer: Node;\n endOffset: number;\n startContainer: Node;\n startOffset: number;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StoreExceptionsInformation extends ExceptionInformation {\n detailURI?: string | null;\n explanationString?: string | null;\n siteName?: string | null;\n}\n\ninterface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: TextTrack | null;\n}\n\ninterface Transformer<I = any, O = any> {\n flush?: TransformStreamDefaultControllerCallback<O>;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback<O>;\n transform?: TransformStreamDefaultControllerTransformCallback<I, O>;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink<W = any> {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback<R>;\n start?: ReadableStreamDefaultControllerCallback<R>;\n type?: undefined;\n}\n\ninterface VRDisplayEventInit extends EventInit {\n display: VRDisplay;\n reason?: VRDisplayEventReason;\n}\n\ninterface VRLayer {\n leftBounds?: number[] | Float32Array | null;\n rightBounds?: number[] | Float32Array | null;\n source?: HTMLCanvasElement | null;\n}\n\ninterface VRStageParameters {\n sittingToStandingTransform?: Float32Array;\n sizeX?: number;\n sizeY?: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebAuthnExtensions {\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ninterface txAuthGenericArg {\n content: ArrayBuffer;\n contentType: string;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractRange {\n /**\n * Returns true if range is collapsed, and false otherwise.\n */\n readonly collapsed: boolean;\n /**\n * Returns range\'s end node.\n */\n readonly endContainer: Node;\n /**\n * Returns range\'s end offset.\n */\n readonly endOffset: number;\n /**\n * Returns range\'s start node.\n */\n readonly startContainer: Node;\n /**\n * Returns range\'s start offset.\n */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\n/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n}\n\ninterface Animation extends EventTarget {\n currentTime: number | null;\n effect: AnimationEffect | null;\n readonly finished: Promise<Animation>;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise<Animation>;\n startTime: number | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n finish(): void;\n pause(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: number | null;\n readonly timelineTime: number | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\ninterface ApplicationCacheEventMap {\n "cached": Event;\n "checking": Event;\n "downloading": Event;\n "error": Event;\n "noupdate": Event;\n "obsolete": Event;\n "progress": ProgressEvent<ApplicationCache>;\n "updateready": Event;\n}\n\ninterface ApplicationCache extends EventTarget {\n /** @deprecated */\n oncached: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onchecking: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n ondownloading: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onerror: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onobsolete: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onprogress: ((this: ApplicationCache, ev: ProgressEvent<ApplicationCache>) => any) | null;\n /** @deprecated */\n onupdateready: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n readonly status: number;\n /** @deprecated */\n abort(): void;\n /** @deprecated */\n swapCache(): void;\n /** @deprecated */\n update(): void;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n addEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ApplicationCache: {\n prototype: ApplicationCache;\n new(): ApplicationCache;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n};\n\n/** A DOM element\'s attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerDocument: Document;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It\'s especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n readonly outputLatency: number;\n close(): Promise<void>;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise<void>;\n suspend(): Promise<void>;\n addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */\ninterface AudioProcessingEvent extends Event {\n readonly inputBuffer: AudioBuffer;\n readonly outputBuffer: AudioBuffer;\n readonly playbackTime: number;\n}\n\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n prototype: AudioWorklet;\n new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n "processorerror": Event;\n}\n\ninterface AudioWorkletNode extends AudioNode {\n onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null;\n readonly parameters: AudioParamMap;\n readonly port: MessagePort;\n addEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioWorkletNodeEventMap>(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioWorkletNode: {\n prototype: AudioWorkletNode;\n new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode;\n};\n\ninterface AuthenticatorAssertionResponse extends AuthenticatorResponse {\n readonly authenticatorData: ArrayBuffer;\n readonly signature: ArrayBuffer;\n readonly userHandle: ArrayBuffer | null;\n}\n\ndeclare var AuthenticatorAssertionResponse: {\n prototype: AuthenticatorAssertionResponse;\n new(): AuthenticatorAssertionResponse;\n};\n\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n readonly attestationObject: ArrayBuffer;\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n prototype: AuthenticatorAttestationResponse;\n new(): AuthenticatorAttestationResponse;\n};\n\ninterface AuthenticatorResponse {\n readonly clientDataJSON: ArrayBuffer;\n}\n\ndeclare var AuthenticatorResponse: {\n prototype: AuthenticatorResponse;\n new(): AuthenticatorResponse;\n};\n\ninterface BarProp {\n readonly visible: boolean;\n}\n\ndeclare var BarProp: {\n prototype: BarProp;\n new(): BarProp;\n};\n\ninterface BaseAudioContextEventMap {\n "statechange": Event;\n}\n\ninterface BaseAudioContext extends EventTarget {\n readonly audioWorklet: AudioWorklet;\n readonly currentTime: number;\n readonly destination: AudioDestinationNode;\n readonly listener: AudioListener;\n onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;\n readonly sampleRate: number;\n readonly state: AudioContextState;\n createAnalyser(): AnalyserNode;\n createBiquadFilter(): BiquadFilterNode;\n createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\n createBufferSource(): AudioBufferSourceNode;\n createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\n createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\n createConstantSource(): ConstantSourceNode;\n createConvolver(): ConvolverNode;\n createDelay(maxDelayTime?: number): DelayNode;\n createDynamicsCompressor(): DynamicsCompressorNode;\n createGain(): GainNode;\n createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;\n createOscillator(): OscillatorNode;\n createPanner(): PannerNode;\n createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;\n createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\n createStereoPanner(): StereoPannerNode;\n createWaveShaper(): WaveShaperNode;\n decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise<AudioBuffer>;\n addEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BaseAudioContextEventMap>(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BaseAudioContext: {\n prototype: BaseAudioContext;\n new(): BaseAudioContext;\n};\n\n/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */\ninterface BeforeUnloadEvent extends Event {\n returnValue: any;\n}\n\ndeclare var BeforeUnloadEvent: {\n prototype: BeforeUnloadEvent;\n new(): BeforeUnloadEvent;\n};\n\ninterface BhxBrowser {\n readonly lastError: DOMException;\n checkMatchesGlobExpression(pattern: string, value: string): boolean;\n checkMatchesUriExpression(pattern: string, value: string): boolean;\n clearLastError(): void;\n currentWindowId(): number;\n fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void;\n genericFunction(functionId: number, destination: any, parameters?: string, callbackId?: number): void;\n genericSynchronousFunction(functionId: number, parameters?: string): string;\n getExtensionId(): string;\n getThisAddress(): any;\n registerGenericFunctionCallbackHandler(callbackHandler: Function): void;\n registerGenericListenerHandler(eventHandler: Function): void;\n setLastError(parameters: string): void;\n webPlatformGenericFunction(destination: any, parameters?: string, callbackId?: number): void;\n}\n\ndeclare var BhxBrowser: {\n prototype: BhxBrowser;\n new(): BhxBrowser;\n};\n\n/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */\ninterface BiquadFilterNode extends AudioNode {\n readonly Q: AudioParam;\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n readonly gain: AudioParam;\n type: BiquadFilterType;\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var BiquadFilterNode: {\n prototype: BiquadFilterNode;\n new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;\n};\n\n/** A file-like object of immutable, raw data. Blobs represent data that isn\'t necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user\'s system. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise<ArrayBuffer>;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n readonly body: ReadableStream<Uint8Array> | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise<ArrayBuffer>;\n blob(): Promise<Blob>;\n formData(): Promise<FormData>;\n json(): Promise<any>;\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /**\n * Returns the channel name (as passed to the constructor).\n */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * Closes the BroadcastChannel object, opening it up to garbage collection.\n */\n close(): void;\n /**\n * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n highWaterMark: number;\n size(chunk: ArrayBufferView): number;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(options: { highWaterMark: number }): ByteLengthQueuingStrategy;\n};\n\n/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */\ninterface CDATASection extends Text {\n}\n\ndeclare var CDATASection: {\n prototype: CDATASection;\n new(): CDATASection;\n};\n\n/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */\ninterface CSSConditionRule extends CSSGroupingRule {\n conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n prototype: CSSConditionRule;\n new(): CSSConditionRule;\n};\n\ninterface CSSFontFaceRule extends CSSRule {\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSFontFaceRule: {\n prototype: CSSFontFaceRule;\n new(): CSSFontFaceRule;\n};\n\n/** Any CSS at-rule that contains other rules nested within it. */\ninterface CSSGroupingRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n}\n\ndeclare var CSSGroupingRule: {\n prototype: CSSGroupingRule;\n new(): CSSGroupingRule;\n};\n\ninterface CSSImportRule extends CSSRule {\n readonly href: string;\n readonly media: MediaList;\n readonly styleSheet: CSSStyleSheet;\n}\n\ndeclare var CSSImportRule: {\n prototype: CSSImportRule;\n new(): CSSImportRule;\n};\n\n/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */\ninterface CSSKeyframeRule extends CSSRule {\n keyText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSKeyframeRule: {\n prototype: CSSKeyframeRule;\n new(): CSSKeyframeRule;\n};\n\n/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */\ninterface CSSKeyframesRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n name: string;\n appendRule(rule: string): void;\n deleteRule(select: string): void;\n findRule(select: string): CSSKeyframeRule | null;\n}\n\ndeclare var CSSKeyframesRule: {\n prototype: CSSKeyframesRule;\n new(): CSSKeyframesRule;\n};\n\n/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */\ninterface CSSMediaRule extends CSSConditionRule {\n readonly media: MediaList;\n}\n\ndeclare var CSSMediaRule: {\n prototype: CSSMediaRule;\n new(): CSSMediaRule;\n};\n\n/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */\ninterface CSSNamespaceRule extends CSSRule {\n readonly namespaceURI: string;\n readonly prefix: string;\n}\n\ndeclare var CSSNamespaceRule: {\n prototype: CSSNamespaceRule;\n new(): CSSNamespaceRule;\n};\n\n/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */\ninterface CSSPageRule extends CSSGroupingRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSPageRule: {\n prototype: CSSPageRule;\n new(): CSSPageRule;\n};\n\n/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */\ninterface CSSRule {\n cssText: string;\n readonly parentRule: CSSRule | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n readonly type: number;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n}\n\ndeclare var CSSRule: {\n prototype: CSSRule;\n new(): CSSRule;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n};\n\n/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */\ninterface CSSRuleList {\n readonly length: number;\n item(index: number): CSSRule | null;\n [index: number]: CSSRule;\n}\n\ndeclare var CSSRuleList: {\n prototype: CSSRuleList;\n new(): CSSRuleList;\n};\n\n/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */\ninterface CSSStyleDeclaration {\n alignContent: string;\n alignItems: string;\n alignSelf: string;\n alignmentBaseline: string;\n all: string;\n animation: string;\n animationDelay: string;\n animationDirection: string;\n animationDuration: string;\n animationFillMode: string;\n animationIterationCount: string;\n animationName: string;\n animationPlayState: string;\n animationTimingFunction: string;\n backfaceVisibility: string;\n background: string;\n backgroundAttachment: string;\n backgroundClip: string;\n backgroundColor: string;\n backgroundImage: string;\n backgroundOrigin: string;\n backgroundPosition: string;\n backgroundPositionX: string;\n backgroundPositionY: string;\n backgroundRepeat: string;\n backgroundSize: string;\n baselineShift: string;\n blockSize: string;\n border: string;\n borderBlockEnd: string;\n borderBlockEndColor: string;\n borderBlockEndStyle: string;\n borderBlockEndWidth: string;\n borderBlockStart: string;\n borderBlockStartColor: string;\n borderBlockStartStyle: string;\n borderBlockStartWidth: string;\n borderBottom: string;\n borderBottomColor: string;\n borderBottomLeftRadius: string;\n borderBottomRightRadius: string;\n borderBottomStyle: string;\n borderBottomWidth: string;\n borderCollapse: string;\n borderColor: string;\n borderImage: string;\n borderImageOutset: string;\n borderImageRepeat: string;\n borderImageSlice: string;\n borderImageSource: string;\n borderImageWidth: string;\n borderInlineEnd: string;\n borderInlineEndColor: string;\n borderInlineEndStyle: string;\n borderInlineEndWidth: string;\n borderInlineStart: string;\n borderInlineStartColor: string;\n borderInlineStartStyle: string;\n borderInlineStartWidth: string;\n borderLeft: string;\n borderLeftColor: string;\n borderLeftStyle: string;\n borderLeftWidth: string;\n borderRadius: string;\n borderRight: string;\n borderRightColor: string;\n borderRightStyle: string;\n borderRightWidth: string;\n borderSpacing: string;\n borderStyle: string;\n borderTop: string;\n borderTopColor: string;\n borderTopLeftRadius: string;\n borderTopRightRadius: string;\n borderTopStyle: string;\n borderTopWidth: string;\n borderWidth: string;\n bottom: string;\n boxShadow: string;\n boxSizing: string;\n breakAfter: string;\n breakBefore: string;\n breakInside: string;\n captionSide: string;\n caretColor: string;\n clear: string;\n clip: string;\n clipPath: string;\n clipRule: string;\n color: string;\n colorInterpolation: string;\n colorInterpolationFilters: string;\n columnCount: string;\n columnFill: string;\n columnGap: string;\n columnRule: string;\n columnRuleColor: string;\n columnRuleStyle: string;\n columnRuleWidth: string;\n columnSpan: string;\n columnWidth: string;\n columns: string;\n content: string;\n counterIncrement: string;\n counterReset: string;\n cssFloat: string;\n cssText: string;\n cursor: string;\n direction: string;\n display: string;\n dominantBaseline: string;\n emptyCells: string;\n fill: string;\n fillOpacity: string;\n fillRule: string;\n filter: string;\n flex: string;\n flexBasis: string;\n flexDirection: string;\n flexFlow: string;\n flexGrow: string;\n flexShrink: string;\n flexWrap: string;\n float: string;\n floodColor: string;\n floodOpacity: string;\n font: string;\n fontFamily: string;\n fontFeatureSettings: string;\n fontKerning: string;\n fontSize: string;\n fontSizeAdjust: string;\n fontStretch: string;\n fontStyle: string;\n fontSynthesis: string;\n fontVariant: string;\n fontVariantCaps: string;\n fontVariantEastAsian: string;\n fontVariantLigatures: string;\n fontVariantNumeric: string;\n fontVariantPosition: string;\n fontWeight: string;\n gap: string;\n glyphOrientationVertical: string;\n grid: string;\n gridArea: string;\n gridAutoColumns: string;\n gridAutoFlow: string;\n gridAutoRows: string;\n gridColumn: string;\n gridColumnEnd: string;\n gridColumnGap: string;\n gridColumnStart: string;\n gridGap: string;\n gridRow: string;\n gridRowEnd: string;\n gridRowGap: string;\n gridRowStart: string;\n gridTemplate: string;\n gridTemplateAreas: string;\n gridTemplateColumns: string;\n gridTemplateRows: string;\n height: string;\n hyphens: string;\n imageOrientation: string;\n imageRendering: string;\n inlineSize: string;\n justifyContent: string;\n justifyItems: string;\n justifySelf: string;\n left: string;\n readonly length: number;\n letterSpacing: string;\n lightingColor: string;\n lineBreak: string;\n lineHeight: string;\n listStyle: string;\n listStyleImage: string;\n listStylePosition: string;\n listStyleType: string;\n margin: string;\n marginBlockEnd: string;\n marginBlockStart: string;\n marginBottom: string;\n marginInlineEnd: string;\n marginInlineStart: string;\n marginLeft: string;\n marginRight: string;\n marginTop: string;\n marker: string;\n markerEnd: string;\n markerMid: string;\n markerStart: string;\n mask: string;\n maskComposite: string;\n maskImage: string;\n maskPosition: string;\n maskRepeat: string;\n maskSize: string;\n maskType: string;\n maxBlockSize: string;\n maxHeight: string;\n maxInlineSize: string;\n maxWidth: string;\n minBlockSize: string;\n minHeight: string;\n minInlineSize: string;\n minWidth: string;\n objectFit: string;\n objectPosition: string;\n opacity: string;\n order: string;\n orphans: string;\n outline: string;\n outlineColor: string;\n outlineOffset: string;\n outlineStyle: string;\n outlineWidth: string;\n overflow: string;\n overflowAnchor: string;\n overflowWrap: string;\n overflowX: string;\n overflowY: string;\n overscrollBehavior: string;\n overscrollBehaviorBlock: string;\n overscrollBehaviorInline: string;\n overscrollBehaviorX: string;\n overscrollBehaviorY: string;\n padding: string;\n paddingBlockEnd: string;\n paddingBlockStart: string;\n paddingBottom: string;\n paddingInlineEnd: string;\n paddingInlineStart: string;\n paddingLeft: string;\n paddingRight: string;\n paddingTop: string;\n pageBreakAfter: string;\n pageBreakBefore: string;\n pageBreakInside: string;\n paintOrder: string;\n readonly parentRule: CSSRule | null;\n perspective: string;\n perspectiveOrigin: string;\n placeContent: string;\n placeItems: string;\n placeSelf: string;\n pointerEvents: string;\n position: string;\n quotes: string;\n resize: string;\n right: string;\n rotate: string;\n rowGap: string;\n rubyAlign: string;\n rubyPosition: string;\n scale: string;\n scrollBehavior: string;\n shapeRendering: string;\n stopColor: string;\n stopOpacity: string;\n stroke: string;\n strokeDasharray: string;\n strokeDashoffset: string;\n strokeLinecap: string;\n strokeLinejoin: string;\n strokeMiterlimit: string;\n strokeOpacity: string;\n strokeWidth: string;\n tabSize: string;\n tableLayout: string;\n textAlign: string;\n textAlignLast: string;\n textAnchor: string;\n textCombineUpright: string;\n textDecoration: string;\n textDecorationColor: string;\n textDecorationLine: string;\n textDecorationStyle: string;\n textEmphasis: string;\n textEmphasisColor: string;\n textEmphasisPosition: string;\n textEmphasisStyle: string;\n textIndent: string;\n textJustify: string;\n textOrientation: string;\n textOverflow: string;\n textRendering: string;\n textShadow: string;\n textTransform: string;\n textUnderlinePosition: string;\n top: string;\n touchAction: string;\n transform: string;\n transformBox: string;\n transformOrigin: string;\n transformStyle: string;\n transition: string;\n transitionDelay: string;\n transitionDuration: string;\n transitionProperty: string;\n transitionTimingFunction: string;\n translate: string;\n unicodeBidi: string;\n userSelect: string;\n verticalAlign: string;\n visibility: string;\n /** @deprecated */\n webkitAlignContent: string;\n /** @deprecated */\n webkitAlignItems: string;\n /** @deprecated */\n webkitAlignSelf: string;\n /** @deprecated */\n webkitAnimation: string;\n /** @deprecated */\n webkitAnimationDelay: string;\n /** @deprecated */\n webkitAnimationDirection: string;\n /** @deprecated */\n webkitAnimationDuration: string;\n /** @deprecated */\n webkitAnimationFillMode: string;\n /** @deprecated */\n webkitAnimationIterationCount: string;\n /** @deprecated */\n webkitAnimationName: string;\n /** @deprecated */\n webkitAnimationPlayState: string;\n /** @deprecated */\n webkitAnimationTimingFunction: string;\n /** @deprecated */\n webkitAppearance: string;\n /** @deprecated */\n webkitBackfaceVisibility: string;\n /** @deprecated */\n webkitBackgroundClip: string;\n /** @deprecated */\n webkitBackgroundOrigin: string;\n /** @deprecated */\n webkitBackgroundSize: string;\n /** @deprecated */\n webkitBorderBottomLeftRadius: string;\n /** @deprecated */\n webkitBorderBottomRightRadius: string;\n /** @deprecated */\n webkitBorderRadius: string;\n /** @deprecated */\n webkitBorderTopLeftRadius: string;\n /** @deprecated */\n webkitBorderTopRightRadius: string;\n /** @deprecated */\n webkitBoxAlign: string;\n /** @deprecated */\n webkitBoxFlex: string;\n /** @deprecated */\n webkitBoxOrdinalGroup: string;\n /** @deprecated */\n webkitBoxOrient: string;\n /** @deprecated */\n webkitBoxPack: string;\n /** @deprecated */\n webkitBoxShadow: string;\n /** @deprecated */\n webkitBoxSizing: string;\n /** @deprecated */\n webkitFilter: string;\n /** @deprecated */\n webkitFlex: string;\n /** @deprecated */\n webkitFlexBasis: string;\n /** @deprecated */\n webkitFlexDirection: string;\n /** @deprecated */\n webkitFlexFlow: string;\n /** @deprecated */\n webkitFlexGrow: string;\n /** @deprecated */\n webkitFlexShrink: string;\n /** @deprecated */\n webkitFlexWrap: string;\n /** @deprecated */\n webkitJustifyContent: string;\n webkitLineClamp: string;\n /** @deprecated */\n webkitMask: string;\n /** @deprecated */\n webkitMaskBoxImage: string;\n /** @deprecated */\n webkitMaskBoxImageOutset: string;\n /** @deprecated */\n webkitMaskBoxImageRepeat: string;\n /** @deprecated */\n webkitMaskBoxImageSlice: string;\n /** @deprecated */\n webkitMaskBoxImageSource: string;\n /** @deprecated */\n webkitMaskBoxImageWidth: string;\n /** @deprecated */\n webkitMaskClip: string;\n /** @deprecated */\n webkitMaskComposite: string;\n /** @deprecated */\n webkitMaskImage: string;\n /** @deprecated */\n webkitMaskOrigin: string;\n /** @deprecated */\n webkitMaskPosition: string;\n /** @deprecated */\n webkitMaskRepeat: string;\n /** @deprecated */\n webkitMaskSize: string;\n /** @deprecated */\n webkitOrder: string;\n /** @deprecated */\n webkitPerspective: string;\n /** @deprecated */\n webkitPerspectiveOrigin: string;\n webkitTapHighlightColor: string;\n /** @deprecated */\n webkitTextFillColor: string;\n /** @deprecated */\n webkitTextSizeAdjust: string;\n /** @deprecated */\n webkitTextStroke: string;\n /** @deprecated */\n webkitTextStrokeColor: string;\n /** @deprecated */\n webkitTextStrokeWidth: string;\n /** @deprecated */\n webkitTransform: string;\n /** @deprecated */\n webkitTransformOrigin: string;\n /** @deprecated */\n webkitTransformStyle: string;\n /** @deprecated */\n webkitTransition: string;\n /** @deprecated */\n webkitTransitionDelay: string;\n /** @deprecated */\n webkitTransitionDuration: string;\n /** @deprecated */\n webkitTransitionProperty: string;\n /** @deprecated */\n webkitTransitionTimingFunction: string;\n /** @deprecated */\n webkitUserSelect: string;\n whiteSpace: string;\n widows: string;\n width: string;\n willChange: string;\n wordBreak: string;\n wordSpacing: string;\n wordWrap: string;\n writingMode: string;\n zIndex: string;\n /** @deprecated */\n zoom: string;\n getPropertyPriority(property: string): string;\n getPropertyValue(property: string): string;\n item(index: number): string;\n removeProperty(property: string): string;\n setProperty(property: string, value: string | null, priority?: string): void;\n [index: number]: string;\n}\n\ndeclare var CSSStyleDeclaration: {\n prototype: CSSStyleDeclaration;\n new(): CSSStyleDeclaration;\n};\n\n/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */\ninterface CSSStyleRule extends CSSRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSStyleRule: {\n prototype: CSSStyleRule;\n new(): CSSStyleRule;\n};\n\n/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */\ninterface CSSStyleSheet extends StyleSheet {\n readonly cssRules: CSSRuleList;\n readonly ownerRule: CSSRule | null;\n readonly rules: CSSRuleList;\n addRule(selector?: string, style?: string, index?: number): number;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n removeRule(index?: number): void;\n}\n\ndeclare var CSSStyleSheet: {\n prototype: CSSStyleSheet;\n new(): CSSStyleSheet;\n};\n\n/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */\ninterface CSSSupportsRule extends CSSConditionRule {\n}\n\ndeclare var CSSSupportsRule: {\n prototype: CSSSupportsRule;\n new(): CSSSupportsRule;\n};\n\n/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don\'t have to use it in conjunction with service workers, even though it is defined in the service worker spec. */\ninterface Cache {\n add(request: RequestInfo): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/** The storage for Cache objects. */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: string;\n}\n\ninterface CanvasDrawImage {\n drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n beginPath(): void;\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n fillStyle: string | CanvasGradient | CanvasPattern;\n strokeStyle: string | CanvasGradient | CanvasPattern;\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.\n * \n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n createImageData(sw: number, sh: number): ImageData;\n createImageData(imagedata: ImageData): ImageData;\n getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;\n putImageData(imagedata: ImageData, dx: number, dy: number): void;\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n imageSmoothingEnabled: boolean;\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasPathDrawingStyles {\n lineCap: CanvasLineCap;\n lineDashOffset: number;\n lineJoin: CanvasLineJoin;\n lineWidth: number;\n miterLimit: number;\n getLineDash(): number[];\n setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /**\n * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n clearRect(x: number, y: number, w: number, h: number): void;\n fillRect(x: number, y: number, w: number, h: number): void;\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\n/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects. */\ninterface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {\n readonly canvas: HTMLCanvasElement;\n}\n\ndeclare var CanvasRenderingContext2D: {\n prototype: CanvasRenderingContext2D;\n new(): CanvasRenderingContext2D;\n};\n\ninterface CanvasShadowStyles {\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n restore(): void;\n save(): void;\n}\n\ninterface CanvasText {\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n measureText(text: string): TextMetrics;\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n direction: CanvasDirection;\n font: string;\n textAlign: CanvasTextAlign;\n textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n getTransform(): DOMMatrix;\n resetTransform(): void;\n rotate(angle: number): void;\n scale(x: number, y: number): void;\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n translate(x: number, y: number): void;\n}\n\ninterface CanvasUserInterface {\n drawFocusIfNeeded(element: Element): void;\n drawFocusIfNeeded(path: Path2D, element: Element): void;\n scrollPathIntoView(): void;\n scrollPathIntoView(path: Path2D): void;\n}\n\ninterface CaretPosition {\n readonly offset: number;\n readonly offsetNode: Node;\n getClientRect(): DOMRect | null;\n}\n\ndeclare var CaretPosition: {\n prototype: CaretPosition;\n new(): CaretPosition;\n};\n\n/** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */\ninterface ChannelMergerNode extends AudioNode {\n}\n\ndeclare var ChannelMergerNode: {\n prototype: ChannelMergerNode;\n new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;\n};\n\n/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */\ninterface ChannelSplitterNode extends AudioNode {\n}\n\ndeclare var ChannelSplitterNode: {\n prototype: ChannelSplitterNode;\n new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;\n};\n\n/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren\'t any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren\'t abstract. */\ninterface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {\n data: string;\n readonly length: number;\n readonly ownerDocument: Document;\n appendData(data: string): void;\n deleteData(offset: number, count: number): void;\n insertData(offset: number, data: string): void;\n replaceData(offset: number, count: number, data: string): void;\n substringData(offset: number, count: number): string;\n}\n\ndeclare var CharacterData: {\n prototype: CharacterData;\n new(): CharacterData;\n};\n\ninterface ChildNode extends Node {\n /**\n * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n after(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n before(...nodes: (Node | string)[]): void;\n /**\n * Removes node.\n */\n remove(): void;\n /**\n * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n replaceWith(...nodes: (Node | string)[]): void;\n}\n\ninterface ClientRect {\n bottom: number;\n readonly height: number;\n left: number;\n right: number;\n top: number;\n readonly width: number;\n}\n\ndeclare var ClientRect: {\n prototype: ClientRect;\n new(): ClientRect;\n};\n\ninterface ClientRectList {\n readonly length: number;\n item(index: number): ClientRect;\n [index: number]: ClientRect;\n}\n\ndeclare var ClientRectList: {\n prototype: ClientRectList;\n new(): ClientRectList;\n};\n\ninterface Clipboard extends EventTarget {\n readText(): Promise<string>;\n writeText(data: string): Promise<void>;\n}\n\ndeclare var Clipboard: {\n prototype: Clipboard;\n new(): Clipboard;\n};\n\n/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */\ninterface ClipboardEvent extends Event {\n readonly clipboardData: DataTransfer | null;\n}\n\ndeclare var ClipboardEvent: {\n prototype: ClipboardEvent;\n new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\n};\n\n/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object\'s onclose attribute. */\ninterface CloseEvent extends Event {\n /**\n * Returns the WebSocket connection close code provided by the server.\n */\n readonly code: number;\n /**\n * Returns the WebSocket connection close reason provided by the server.\n */\n readonly reason: string;\n /**\n * Returns true if the connection closed cleanly; false otherwise.\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */\ninterface Comment extends CharacterData {\n}\n\ndeclare var Comment: {\n prototype: Comment;\n new(data?: string): Comment;\n};\n\n/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */\ninterface CompositionEvent extends UIEvent {\n readonly data: string;\n}\n\ndeclare var CompositionEvent: {\n prototype: CompositionEvent;\n new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;\n};\n\ninterface ConcatParams extends Algorithm {\n algorithmId: Uint8Array;\n hash?: string | Algorithm;\n partyUInfo: Uint8Array;\n partyVInfo: Uint8Array;\n privateInfo?: Uint8Array;\n publicInfo?: Uint8Array;\n}\n\ninterface ConstantSourceNode extends AudioScheduledSourceNode {\n readonly offset: AudioParam;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ConstantSourceNode: {\n prototype: ConstantSourceNode;\n new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode;\n};\n\n/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */\ninterface ConvolverNode extends AudioNode {\n buffer: AudioBuffer | null;\n normalize: boolean;\n}\n\ndeclare var ConvolverNode: {\n prototype: ConvolverNode;\n new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;\n};\n\n/** The position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated. */\ninterface Coordinates {\n readonly accuracy: number;\n readonly altitude: number | null;\n readonly altitudeAccuracy: number | null;\n readonly heading: number | null;\n readonly latitude: number;\n readonly longitude: number;\n readonly speed: number | null;\n}\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n highWaterMark: number;\n size(chunk: any): 1;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(options: { highWaterMark: number }): CountQueuingStrategy;\n};\n\ninterface Credential {\n readonly id: string;\n readonly type: string;\n}\n\ndeclare var Credential: {\n prototype: Credential;\n new(): Credential;\n};\n\ninterface CredentialsContainer {\n create(options?: CredentialCreationOptions): Promise<Credential | null>;\n get(options?: CredentialRequestOptions): Promise<Credential | null>;\n preventSilentAccess(): Promise<void>;\n store(credential: Credential): Promise<Credential>;\n}\n\ndeclare var CredentialsContainer: {\n prototype: CredentialsContainer;\n new(): CredentialsContainer;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\n/** The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm. */\ninterface CryptoKeyPair {\n privateKey: CryptoKey;\n publicKey: CryptoKey;\n}\n\ndeclare var CryptoKeyPair: {\n prototype: CryptoKeyPair;\n new(): CryptoKeyPair;\n};\n\ninterface CustomElementRegistry {\n define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;\n get(name: string): any;\n upgrade(root: Node): void;\n whenDefined(name: string): Promise<void>;\n}\n\ndeclare var CustomElementRegistry: {\n prototype: CustomElementRegistry;\n new(): CustomElementRegistry;\n};\n\ninterface CustomEvent<T = any> extends Event {\n /**\n * Returns any custom data event was created with. Typically used for synthetic events.\n */\n readonly detail: T;\n initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new<T>(typeArg: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An error object that contains an error name. */\ninterface DOMError {\n readonly name: string;\n toString(): string;\n}\n\ndeclare var DOMError: {\n prototype: DOMError;\n new(): DOMError;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\n/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */\ninterface DOMImplementation {\n createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType | null): Document;\n createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;\n createHTMLDocument(title?: string): Document;\n /** @deprecated */\n hasFeature(...args: any[]): true;\n}\n\ndeclare var DOMImplementation: {\n prototype: DOMImplementation;\n new(): DOMImplementation;\n};\n\ninterface DOML2DeprecatedColorProperty {\n color: string;\n}\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n setMatrixValue(transformList: string): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ntype SVGMatrix = DOMMatrix;\ndeclare var SVGMatrix: typeof DOMMatrix;\n\ntype WebKitCSSMatrix = DOMMatrix;\ndeclare var WebKitCSSMatrix: typeof DOMMatrix;\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n toString(): string;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n toString(): string;\n};\n\n/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */\ninterface DOMParser {\n /**\n * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser).\n * \n * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error.\n * \n * Note that script elements are not evaluated during parsing, and the resulting document\'s encoding will always be UTF-8.\n * \n * Values other than the above for type will cause a TypeError exception to be thrown.\n */\n parseFromString(string: string, type: DOMParserSupportedType): Document;\n}\n\ndeclare var DOMParser: {\n prototype: DOMParser;\n new(): DOMParser;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ntype SVGPoint = DOMPoint;\ndeclare var SVGPoint: typeof DOMPoint;\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ntype SVGRect = DOMRect;\ndeclare var SVGRect: typeof DOMRect;\n\ninterface DOMRectList {\n readonly length: number;\n item(index: number): DOMRect | null;\n [index: number]: DOMRect;\n}\n\ndeclare var DOMRectList: {\n prototype: DOMRectList;\n new(): DOMRectList;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\ninterface DOMSettableTokenList extends DOMTokenList {\n value: string;\n}\n\ndeclare var DOMSettableTokenList: {\n prototype: DOMSettableTokenList;\n new(): DOMSettableTokenList;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /**\n * Returns the number of strings in strings.\n */\n readonly length: number;\n /**\n * Returns true if strings contains string, and false otherwise.\n */\n contains(string: string): boolean;\n /**\n * Returns the string with index index from strings.\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\n/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */\ninterface DOMStringMap {\n [name: string]: string | undefined;\n}\n\ndeclare var DOMStringMap: {\n prototype: DOMStringMap;\n new(): DOMStringMap;\n};\n\n/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */\ninterface DOMTokenList {\n /**\n * Returns the number of tokens.\n */\n readonly length: number;\n /**\n * Returns the associated set as string.\n * \n * Can be set, to change the associated attribute.\n */\n value: string;\n toString(): string;\n /**\n * Adds all arguments passed, except those already present.\n * \n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n * \n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n add(...tokens: string[]): void;\n /**\n * Returns true if token is present, and false otherwise.\n */\n contains(token: string): boolean;\n /**\n * Returns the token with index index.\n */\n item(index: number): string | null;\n /**\n * Removes arguments passed, if they are present.\n * \n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n * \n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n remove(...tokens: string[]): void;\n /**\n * Replaces token with newToken.\n * \n * Returns true if token was replaced with newToken, and false otherwise.\n * \n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n * \n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n replace(oldToken: string, newToken: string): void;\n /**\n * Returns true if token is in the associated attribute\'s supported tokens. Returns false otherwise.\n * \n * Throws a TypeError if the associated attribute has no supported tokens defined.\n */\n supports(token: string): boolean;\n /**\n * If force is not given, "toggles" token, removing it if it\'s present and adding it if it\'s not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()).\n * \n * Returns true if token is now present, and false otherwise.\n * \n * Throws a "SyntaxError" DOMException if token is empty.\n * \n * Throws an "InvalidCharacterError" DOMException if token contains any spaces.\n */\n toggle(token: string, force?: boolean): boolean;\n forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void;\n [index: number]: string;\n}\n\ndeclare var DOMTokenList: {\n prototype: DOMTokenList;\n new(): DOMTokenList;\n};\n\ninterface DataCue extends TextTrackCue {\n data: ArrayBuffer;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var DataCue: {\n prototype: DataCue;\n new(): DataCue;\n};\n\n/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */\ninterface DataTransfer {\n /**\n * Returns the kind of operation that is currently selected. If the kind of operation isn\'t one of those that is allowed by the effectAllowed attribute, then the operation will fail.\n * \n * Can be set, to change the selected operation.\n * \n * The possible values are "none", "copy", "link", and "move".\n */\n dropEffect: string;\n /**\n * Returns the kinds of operations that are to be allowed.\n * \n * Can be set (during the dragstart event), to change the allowed operations.\n * \n * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized",\n */\n effectAllowed: string;\n /**\n * Returns a FileList of the files being dragged, if any.\n */\n readonly files: FileList;\n /**\n * Returns a DataTransferItemList object, with the drag data.\n */\n readonly items: DataTransferItemList;\n /**\n * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files".\n */\n readonly types: ReadonlyArray<string>;\n /**\n * Removes the data of the specified formats. Removes all data if the argument is omitted.\n */\n clearData(format?: string): void;\n /**\n * Returns the specified data. If there is no such data, returns the empty string.\n */\n getData(format: string): string;\n /**\n * Adds the specified data.\n */\n setData(format: string, data: string): void;\n /**\n * Uses the given element to update the drag feedback, replacing any previously specified feedback.\n */\n setDragImage(image: Element, x: number, y: number): void;\n}\n\ndeclare var DataTransfer: {\n prototype: DataTransfer;\n new(): DataTransfer;\n};\n\n/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */\ninterface DataTransferItem {\n /**\n * Returns the drag data item kind, one of: "string", "file".\n */\n readonly kind: string;\n /**\n * Returns the drag data item type string.\n */\n readonly type: string;\n /**\n * Returns a File object, if the drag data item kind is File.\n */\n getAsFile(): File | null;\n /**\n * Invokes the callback with the string data as the argument, if the drag data item kind is text.\n */\n getAsString(callback: FunctionStringCallback | null): void;\n webkitGetAsEntry(): any;\n}\n\ndeclare var DataTransferItem: {\n prototype: DataTransferItem;\n new(): DataTransferItem;\n};\n\n/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */\ninterface DataTransferItemList {\n /**\n * Returns the number of items in the drag data store.\n */\n readonly length: number;\n /**\n * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.\n */\n add(data: string, type: string): DataTransferItem | null;\n add(data: File): DataTransferItem | null;\n /**\n * Removes all the entries in the drag data store.\n */\n clear(): void;\n item(index: number): DataTransferItem;\n /**\n * Removes the indexth entry in the drag data store.\n */\n remove(index: number): void;\n [name: number]: DataTransferItem;\n}\n\ndeclare var DataTransferItemList: {\n prototype: DataTransferItemList;\n new(): DataTransferItemList;\n};\n\ninterface DeferredPermissionRequest {\n readonly id: number;\n readonly type: MSWebViewPermissionType;\n readonly uri: string;\n allow(): void;\n deny(): void;\n}\n\ndeclare var DeferredPermissionRequest: {\n prototype: DeferredPermissionRequest;\n new(): DeferredPermissionRequest;\n};\n\n/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */\ninterface DelayNode extends AudioNode {\n readonly delayTime: AudioParam;\n}\n\ndeclare var DelayNode: {\n prototype: DelayNode;\n new(context: BaseAudioContext, options?: DelayOptions): DelayNode;\n};\n\n/** Provides information about the amount of acceleration the device is experiencing along all three axes. */\ninterface DeviceAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\ndeclare var DeviceAcceleration: {\n prototype: DeviceAcceleration;\n new(): DeviceAcceleration;\n};\n\n/** The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen\'s brightness based on the current ambient light level in order to save energy or provide better readability. */\ninterface DeviceLightEvent extends Event {\n readonly value: number;\n}\n\ndeclare var DeviceLightEvent: {\n prototype: DeviceLightEvent;\n new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent;\n};\n\n/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device\'s position and orientation. */\ninterface DeviceMotionEvent extends Event {\n readonly acceleration: DeviceMotionEventAcceleration | null;\n readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;\n readonly interval: number;\n readonly rotationRate: DeviceMotionEventRotationRate | null;\n}\n\ndeclare var DeviceMotionEvent: {\n prototype: DeviceMotionEvent;\n new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;\n requestPermission(): Promise<PermissionState>;\n};\n\ninterface DeviceMotionEventAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\ninterface DeviceMotionEventRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\n/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */\ninterface DeviceOrientationEvent extends Event {\n readonly absolute: boolean;\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\ndeclare var DeviceOrientationEvent: {\n prototype: DeviceOrientationEvent;\n new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;\n requestPermission(): Promise<PermissionState>;\n};\n\n/** Provides information about the rate at which the device is rotating around all three axes. */\ninterface DeviceRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\ndeclare var DeviceRotationRate: {\n prototype: DeviceRotationRate;\n new(): DeviceRotationRate;\n};\n\ninterface DhImportKeyParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyAlgorithm extends KeyAlgorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface DhKeyGenParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DocumentEventMap extends GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n "pointerlockchange": Event;\n "pointerlockerror": Event;\n "readystatechange": Event;\n "visibilitychange": Event;\n}\n\n/** Any web page loaded in the browser and serves as an entry point into the web page\'s content, which is the DOM tree. */\ninterface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n /**\n * Sets or gets the URL for the current document.\n */\n readonly URL: string;\n /**\n * Sets or gets the color of all active links in the document.\n */\n /** @deprecated */\n alinkColor: string;\n /**\n * Returns a reference to the collection of elements contained by the object.\n */\n /** @deprecated */\n readonly all: HTMLAllCollection;\n /**\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\n */\n /** @deprecated */\n readonly anchors: HTMLCollectionOf<HTMLAnchorElement>;\n /**\n * Retrieves a collection of all applet objects in the document.\n */\n /** @deprecated */\n readonly applets: HTMLCollectionOf<HTMLAppletElement>;\n /**\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\n */\n /** @deprecated */\n bgColor: string;\n /**\n * Specifies the beginning and end of the document body.\n */\n body: HTMLElement;\n /**\n * Returns document\'s encoding.\n */\n readonly characterSet: string;\n /**\n * Gets or sets the character set used to encode the object.\n */\n readonly charset: string;\n /**\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\n */\n readonly compatMode: string;\n /**\n * Returns document\'s content type.\n */\n readonly contentType: string;\n /**\n * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can\'t be applied to this resource, the empty string will be returned.\n * \n * Can be set, to add a new cookie to the element\'s set of HTTP cookies.\n * \n * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting.\n */\n cookie: string;\n /**\n * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.\n * \n * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.\n */\n readonly currentScript: HTMLOrSVGScriptElement | null;\n readonly defaultView: (WindowProxy & typeof globalThis) | null;\n /**\n * Sets or gets a value that indicates whether the document can be edited.\n */\n designMode: string;\n /**\n * Sets or retrieves a value that indicates the reading order of the object.\n */\n dir: string;\n /**\n * Gets an object representing the document type declaration associated with the current document.\n */\n readonly doctype: DocumentType | null;\n /**\n * Gets a reference to the root node of the document.\n */\n readonly documentElement: HTMLElement;\n /**\n * Returns document\'s URL.\n */\n readonly documentURI: string;\n /**\n * Sets or gets the security domain of the document.\n */\n domain: string;\n /**\n * Retrieves a collection of all embed objects in the document.\n */\n readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Sets or gets the foreground (text) color of the document.\n */\n /** @deprecated */\n fgColor: string;\n /**\n * Retrieves a collection, in source order, of all form objects in the document.\n */\n readonly forms: HTMLCollectionOf<HTMLFormElement>;\n /** @deprecated */\n readonly fullscreen: boolean;\n /**\n * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.\n */\n readonly fullscreenEnabled: boolean;\n /**\n * Returns the head element.\n */\n readonly head: HTMLHeadElement;\n readonly hidden: boolean;\n /**\n * Retrieves a collection, in source order, of img objects in the document.\n */\n readonly images: HTMLCollectionOf<HTMLImageElement>;\n /**\n * Gets the implementation object of the current document.\n */\n readonly implementation: DOMImplementation;\n /**\n * Returns the character encoding used to create the webpage that is loaded into the document object.\n */\n readonly inputEncoding: string;\n /**\n * Gets the date that the page was last modified, if the page supplies one.\n */\n readonly lastModified: string;\n /**\n * Sets or gets the color of the document links.\n */\n /** @deprecated */\n linkColor: string;\n /**\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\n */\n readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;\n /**\n * Contains information about the current URL.\n */\n location: Location;\n onfullscreenchange: ((this: Document, ev: Event) => any) | null;\n onfullscreenerror: ((this: Document, ev: Event) => any) | null;\n onpointerlockchange: ((this: Document, ev: Event) => any) | null;\n onpointerlockerror: ((this: Document, ev: Event) => any) | null;\n /**\n * Fires when the state of the object has changed.\n * @param ev The event\n */\n onreadystatechange: ((this: Document, ev: Event) => any) | null;\n onvisibilitychange: ((this: Document, ev: Event) => any) | null;\n readonly ownerDocument: null;\n /**\n * Return an HTMLCollection of the embed elements in the Document.\n */\n readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Retrieves a value that indicates the current state of the object.\n */\n readonly readyState: DocumentReadyState;\n /**\n * Gets the URL of the location that referred the user to the current page.\n */\n readonly referrer: string;\n /**\n * Retrieves a collection of all script objects in the document.\n */\n readonly scripts: HTMLCollectionOf<HTMLScriptElement>;\n readonly scrollingElement: Element | null;\n readonly timeline: DocumentTimeline;\n /**\n * Contains the title of the document.\n */\n title: string;\n readonly visibilityState: VisibilityState;\n /**\n * Sets or gets the color of the links that the user has visited.\n */\n /** @deprecated */\n vlinkColor: string;\n /**\n * Moves node from another document and returns it.\n * \n * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException.\n */\n adoptNode<T extends Node>(source: T): T;\n /** @deprecated */\n captureEvents(): void;\n caretPositionFromPoint(x: number, y: number): CaretPosition | null;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range;\n /** @deprecated */\n clear(): void;\n /**\n * Closes an output stream and forces the sent data to display.\n */\n close(): void;\n /**\n * Creates an attribute object with a specified name.\n * @param name String that sets the attribute object\'s name.\n */\n createAttribute(localName: string): Attr;\n createAttributeNS(namespace: string | null, qualifiedName: string): Attr;\n /**\n * Returns a CDATASection node whose data is data.\n */\n createCDATASection(data: string): CDATASection;\n /**\n * Creates a comment object with the specified data.\n * @param data Sets the comment object\'s data.\n */\n createComment(data: string): Comment;\n /**\n * Creates a new document.\n */\n createDocumentFragment(): DocumentFragment;\n /**\n * Creates an instance of the element for the specified tag.\n * @param tagName The name of an element.\n */\n createElement<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];\n /** @deprecated */\n createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];\n createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;\n /**\n * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName.\n * \n * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.\n * \n * If one of the following conditions is true a "NamespaceError" DOMException will be thrown:\n * \n * localName does not match the QName production.\n * Namespace prefix is not null and namespace is the empty string.\n * Namespace prefix is "xml" and namespace is not the XML namespace.\n * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.\n * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".\n * \n * When supplied, options\'s is can be used to create a customized built-in element.\n */\n createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;\n createElementNS<K extends keyof SVGElementTagNameMap>(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K];\n createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement;\n createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;\n createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;\n createEvent(eventInterface: "AnimationEvent"): AnimationEvent;\n createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;\n createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;\n createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;\n createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;\n createEvent(eventInterface: "CloseEvent"): CloseEvent;\n createEvent(eventInterface: "CompositionEvent"): CompositionEvent;\n createEvent(eventInterface: "CustomEvent"): CustomEvent;\n createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;\n createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;\n createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;\n createEvent(eventInterface: "DragEvent"): DragEvent;\n createEvent(eventInterface: "ErrorEvent"): ErrorEvent;\n createEvent(eventInterface: "Event"): Event;\n createEvent(eventInterface: "Events"): Event;\n createEvent(eventInterface: "FocusEvent"): FocusEvent;\n createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent;\n createEvent(eventInterface: "GamepadEvent"): GamepadEvent;\n createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;\n createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;\n createEvent(eventInterface: "InputEvent"): InputEvent;\n createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;\n createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;\n createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;\n createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;\n createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;\n createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\n createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent;\n createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent;\n createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;\n createEvent(eventInterface: "MessageEvent"): MessageEvent;\n createEvent(eventInterface: "MouseEvent"): MouseEvent;\n createEvent(eventInterface: "MouseEvents"): MouseEvent;\n createEvent(eventInterface: "MutationEvent"): MutationEvent;\n createEvent(eventInterface: "MutationEvents"): MutationEvent;\n createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "OverflowEvent"): OverflowEvent;\n createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;\n createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;\n createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;\n createEvent(eventInterface: "PointerEvent"): PointerEvent;\n createEvent(eventInterface: "PopStateEvent"): PopStateEvent;\n createEvent(eventInterface: "ProgressEvent"): ProgressEvent;\n createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;\n createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;\n createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;\n createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent;\n createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent;\n createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent;\n createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent;\n createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;\n createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;\n createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent;\n createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;\n createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;\n createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;\n createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;\n createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;\n createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;\n createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;\n createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;\n createEvent(eventInterface: "StorageEvent"): StorageEvent;\n createEvent(eventInterface: "TextEvent"): TextEvent;\n createEvent(eventInterface: "TouchEvent"): TouchEvent;\n createEvent(eventInterface: "TrackEvent"): TrackEvent;\n createEvent(eventInterface: "TransitionEvent"): TransitionEvent;\n createEvent(eventInterface: "UIEvent"): UIEvent;\n createEvent(eventInterface: "UIEvents"): UIEvent;\n createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent;\n createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ;\n createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;\n createEvent(eventInterface: "WheelEvent"): WheelEvent;\n createEvent(eventInterface: string): Event;\n /**\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\n */\n createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;\n /**\n * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown.\n */\n createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n /**\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.\n */\n createRange(): Range;\n /**\n * Creates a text string from the specified value.\n * @param data String that specifies the nodeValue property of the text node.\n */\n createTextNode(data: string): Text;\n /**\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\n * @param filter A custom NodeFilter function to use.\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\n */\n createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker;\n /** @deprecated */\n createTreeWalker(root: Node, whatToShow: number, filter: NodeFilter | null, entityReferenceExpansion?: boolean): TreeWalker;\n /**\n * Returns the element for the specified x coordinate and the specified y coordinate.\n * @param x The x-offset\n * @param y The y-offset\n */\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n /**\n * Executes a command on the current document, current selection, or the given range.\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\n * @param showUI Display the user interface, defaults to false.\n * @param value Value to assign.\n */\n execCommand(commandId: string, showUI?: boolean, value?: string): boolean;\n /**\n * Stops document\'s fullscreen element from being displayed fullscreen and resolves promise when done.\n */\n exitFullscreen(): Promise<void>;\n exitPointerLock(): void;\n getAnimations(): Animation[];\n /**\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\n * @param elementId String that specifies the ID value. Case-insensitive.\n */\n getElementById(elementId: string): HTMLElement | null;\n /**\n * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n /**\n * Gets a collection of objects based on the value of the NAME or ID attribute.\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\n */\n getElementsByName(elementName: string): NodeListOf<HTMLElement>;\n /**\n * Retrieves a collection of objects based on the specified element name.\n * @param name Specifies the name of an element.\n */\n getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n /**\n * If namespace and localName are "*" returns a HTMLCollection of all descendant elements.\n * \n * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName.\n * \n * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace.\n * \n * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.\n */\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;\n getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;\n /**\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\n */\n getSelection(): Selection | null;\n /**\n * Gets a value indicating whether the object currently has focus.\n */\n hasFocus(): boolean;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n * \n * If node is a document or a shadow root, throws a "NotSupportedError" DOMException.\n */\n importNode<T extends Node>(importedNode: T, deep: boolean): T;\n /**\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\n * @param url Specifies a MIME type for the document.\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\n */\n open(url?: string, name?: string, features?: string, replace?: boolean): Document;\n /**\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\n * @param commandId Specifies a command identifier.\n */\n queryCommandEnabled(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandIndeterm(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates the current state of the command.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandState(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\n * @param commandId Specifies a command identifier.\n */\n queryCommandSupported(commandId: string): boolean;\n /**\n * Returns the current value of the document, range, or current selection for the given command.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandValue(commandId: string): string;\n /** @deprecated */\n releaseEvents(): void;\n /**\n * Writes one or more HTML expressions to a document in the specified window.\n * @param content Specifies the text and HTML tags to write.\n */\n write(...text: string[]): void;\n /**\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\n * @param content The text and HTML tags to write.\n */\n writeln(...text: string[]): void;\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Document: {\n prototype: Document;\n new(): Document;\n};\n\ninterface DocumentAndElementEventHandlersEventMap {\n "copy": ClipboardEvent;\n "cut": ClipboardEvent;\n "paste": ClipboardEvent;\n}\n\ninterface DocumentAndElementEventHandlers {\n oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface DocumentEvent {\n createEvent(eventInterface: "AnimationEvent"): AnimationEvent;\n createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;\n createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;\n createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;\n createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;\n createEvent(eventInterface: "CloseEvent"): CloseEvent;\n createEvent(eventInterface: "CompositionEvent"): CompositionEvent;\n createEvent(eventInterface: "CustomEvent"): CustomEvent;\n createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;\n createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;\n createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;\n createEvent(eventInterface: "DragEvent"): DragEvent;\n createEvent(eventInterface: "ErrorEvent"): ErrorEvent;\n createEvent(eventInterface: "Event"): Event;\n createEvent(eventInterface: "Events"): Event;\n createEvent(eventInterface: "FocusEvent"): FocusEvent;\n createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent;\n createEvent(eventInterface: "GamepadEvent"): GamepadEvent;\n createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;\n createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;\n createEvent(eventInterface: "InputEvent"): InputEvent;\n createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;\n createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;\n createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;\n createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;\n createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;\n createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\n createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent;\n createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent;\n createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;\n createEvent(eventInterface: "MessageEvent"): MessageEvent;\n createEvent(eventInterface: "MouseEvent"): MouseEvent;\n createEvent(eventInterface: "MouseEvents"): MouseEvent;\n createEvent(eventInterface: "MutationEvent"): MutationEvent;\n createEvent(eventInterface: "MutationEvents"): MutationEvent;\n createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "OverflowEvent"): OverflowEvent;\n createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;\n createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;\n createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;\n createEvent(eventInterface: "PointerEvent"): PointerEvent;\n createEvent(eventInterface: "PopStateEvent"): PopStateEvent;\n createEvent(eventInterface: "ProgressEvent"): ProgressEvent;\n createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;\n createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;\n createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;\n createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent;\n createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent;\n createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent;\n createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent;\n createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;\n createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;\n createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent;\n createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;\n createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;\n createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;\n createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;\n createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;\n createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;\n createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;\n createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;\n createEvent(eventInterface: "StorageEvent"): StorageEvent;\n createEvent(eventInterface: "TextEvent"): TextEvent;\n createEvent(eventInterface: "TouchEvent"): TouchEvent;\n createEvent(eventInterface: "TrackEvent"): TrackEvent;\n createEvent(eventInterface: "TransitionEvent"): TransitionEvent;\n createEvent(eventInterface: "UIEvent"): UIEvent;\n createEvent(eventInterface: "UIEvents"): UIEvent;\n createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent;\n createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent ;\n createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;\n createEvent(eventInterface: "WheelEvent"): WheelEvent;\n createEvent(eventInterface: string): Event;\n}\n\n/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn\'t part of the active document tree structure, changes made to the fragment don\'t affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */\ninterface DocumentFragment extends Node, NonElementParentNode, ParentNode {\n readonly ownerDocument: Document;\n getElementById(elementId: string): HTMLElement | null;\n}\n\ndeclare var DocumentFragment: {\n prototype: DocumentFragment;\n new(): DocumentFragment;\n};\n\ninterface DocumentOrShadowRoot {\n readonly activeElement: Element | null;\n /**\n * Returns document\'s fullscreen element.\n */\n readonly fullscreenElement: Element | null;\n readonly pointerLockElement: Element | null;\n /**\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\n */\n readonly styleSheets: StyleSheetList;\n caretPositionFromPoint(x: number, y: number): CaretPosition | null;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range;\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n getSelection(): Selection | null;\n}\n\ninterface DocumentTimeline extends AnimationTimeline {\n}\n\ndeclare var DocumentTimeline: {\n prototype: DocumentTimeline;\n new(options?: DocumentTimelineOptions): DocumentTimeline;\n};\n\n/** A Node containing a doctype. */\ninterface DocumentType extends Node, ChildNode {\n readonly name: string;\n readonly ownerDocument: Document;\n readonly publicId: string;\n readonly systemId: string;\n}\n\ndeclare var DocumentType: {\n prototype: DocumentType;\n new(): DocumentType;\n};\n\n/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */\ninterface DragEvent extends MouseEvent {\n /**\n * Returns the DataTransfer object for the event.\n */\n readonly dataTransfer: DataTransfer | null;\n}\n\ndeclare var DragEvent: {\n prototype: DragEvent;\n new(type: string, eventInitDict?: DragEventInit): DragEvent;\n};\n\n/** Inherits properties from its parent, AudioNode. */\ninterface DynamicsCompressorNode extends AudioNode {\n readonly attack: AudioParam;\n readonly knee: AudioParam;\n readonly ratio: AudioParam;\n readonly reduction: number;\n readonly release: AudioParam;\n readonly threshold: AudioParam;\n}\n\ndeclare var DynamicsCompressorNode: {\n prototype: DynamicsCompressorNode;\n new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode;\n};\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\n/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\ninterface ElementEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n}\n\n/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */\ninterface Element extends Node, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n readonly attributes: NamedNodeMap;\n /**\n * Allows for manipulation of element\'s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.\n */\n readonly classList: DOMTokenList;\n /**\n * Returns the value of element\'s class content attribute. Can be set to change it.\n */\n className: string;\n readonly clientHeight: number;\n readonly clientLeft: number;\n readonly clientTop: number;\n readonly clientWidth: number;\n /**\n * Returns the value of element\'s id content attribute. Can be set to change it.\n */\n id: string;\n /**\n * Returns the local name.\n */\n readonly localName: string;\n /**\n * Returns the namespace.\n */\n readonly namespaceURI: string | null;\n onfullscreenchange: ((this: Element, ev: Event) => any) | null;\n onfullscreenerror: ((this: Element, ev: Event) => any) | null;\n outerHTML: string;\n readonly ownerDocument: Document;\n /**\n * Returns the namespace prefix.\n */\n readonly prefix: string | null;\n readonly scrollHeight: number;\n scrollLeft: number;\n scrollTop: number;\n readonly scrollWidth: number;\n /**\n * Returns element\'s shadow root, if any, and if shadow root\'s mode is "open", and null otherwise.\n */\n readonly shadowRoot: ShadowRoot | null;\n /**\n * Returns the value of element\'s slot content attribute. Can be set to change it.\n */\n slot: string;\n /**\n * Returns the HTML-uppercased qualified name.\n */\n readonly tagName: string;\n /**\n * Creates a shadow root for element and returns it.\n */\n attachShadow(init: ShadowRootInit): ShadowRoot;\n /**\n * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.\n */\n closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;\n closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;\n closest<E extends Element = Element>(selector: string): E | null;\n /**\n * Returns element\'s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.\n */\n getAttribute(qualifiedName: string): string | null;\n /**\n * Returns element\'s attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.\n */\n getAttributeNS(namespace: string | null, localName: string): string | null;\n /**\n * Returns the qualified names of all element\'s attributes. Can contain duplicates.\n */\n getAttributeNames(): string[];\n getAttributeNode(name: string): Attr | null;\n getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n /**\n * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;\n getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;\n getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;\n /**\n * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.\n */\n hasAttribute(qualifiedName: string): boolean;\n /**\n * Returns true if element has an attribute whose namespace is namespace and local name is localName.\n */\n hasAttributeNS(namespace: string | null, localName: string): boolean;\n /**\n * Returns true if element has attributes, and false otherwise.\n */\n hasAttributes(): boolean;\n hasPointerCapture(pointerId: number): boolean;\n insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null;\n insertAdjacentHTML(where: InsertPosition, html: string): void;\n insertAdjacentText(where: InsertPosition, text: string): void;\n /**\n * Returns true if matching selectors against element\'s root yields element, and false otherwise.\n */\n matches(selectors: string): boolean;\n msGetRegionContent(): any;\n releasePointerCapture(pointerId: number): void;\n /**\n * Removes element\'s first attribute whose qualified name is qualifiedName.\n */\n removeAttribute(qualifiedName: string): void;\n /**\n * Removes element\'s attribute whose namespace is namespace and local name is localName.\n */\n removeAttributeNS(namespace: string | null, localName: string): void;\n removeAttributeNode(attr: Attr): Attr;\n /**\n * Displays element fullscreen and resolves promise when done.\n * \n * When supplied, options\'s navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application\'s. The default value "auto" indicates no application preference.\n */\n requestFullscreen(options?: FullscreenOptions): Promise<void>;\n requestPointerLock(): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /**\n * Sets the value of element\'s first attribute whose qualified name is qualifiedName to value.\n */\n setAttribute(qualifiedName: string, value: string): void;\n /**\n * Sets the value of element\'s attribute whose namespace is namespace and local name is localName to value.\n */\n setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;\n setAttributeNode(attr: Attr): Attr | null;\n setAttributeNodeNS(attr: Attr): Attr | null;\n setPointerCapture(pointerId: number): void;\n /**\n * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.\n * \n * Returns true if qualifiedName is now present, and false otherwise.\n */\n toggleAttribute(qualifiedName: string, force?: boolean): boolean;\n webkitMatchesSelector(selectors: string): boolean;\n addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Element: {\n prototype: Element;\n new(): Element;\n};\n\ninterface ElementCSSInlineStyle {\n readonly style: CSSStyleDeclaration;\n}\n\ninterface ElementContentEditable {\n contentEditable: string;\n enterKeyHint: string;\n inputMode: string;\n readonly isContentEditable: boolean;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /**\n * Returns true or false depending on how event was initialized. True if event goes through its target\'s ancestors in reverse tree order, and false otherwise.\n */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /**\n * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.\n */\n readonly cancelable: boolean;\n /**\n * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.\n */\n readonly composed: boolean;\n /**\n * Returns the object whose event listener\'s callback is currently being invoked.\n */\n readonly currentTarget: EventTarget | null;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.\n */\n readonly defaultPrevented: boolean;\n /**\n * Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.\n */\n readonly eventPhase: number;\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n readonly isTrusted: boolean;\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n readonly target: EventTarget | null;\n /**\n * Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin.\n */\n readonly timeStamp: number;\n /**\n * Returns the type of event, e.g. "click", "hashchange", or "submit".\n */\n readonly type: string;\n /**\n * Returns the invocation target objects of event\'s path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root\'s mode is "closed" that are not reachable from event\'s currentTarget.\n */\n composedPath(): EventTarget[];\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.\n */\n preventDefault(): void;\n /**\n * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.\n */\n stopImmediatePropagation(): void;\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.\n */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListenerObject {\n handleEvent(evt: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * Returns the state of this EventSource object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL providing the event stream.\n */\n readonly url: string;\n /**\n * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.\n */\n readonly withCredentials: boolean;\n /**\n * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.\n */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.\n * \n * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options\'s capture.\n * \n * When set to true, options\'s capture prevents callback from being invoked when the event\'s eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event\'s eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event\'s eventPhase attribute value is AT_TARGET.\n * \n * When set to true, options\'s passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.\n * \n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n * \n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;\n /**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\n dispatchEvent(event: Event): boolean;\n /**\n * Removes the event listener in target\'s event listener list with the same type, callback, and options.\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\ninterface ExtensionScriptApis {\n extensionIdToShortId(extensionId: string): number;\n fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void;\n genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void;\n genericSynchronousFunction(functionId: number, parameters?: string): string;\n genericWebRuntimeCallout(to: any, from: any, payload: string): void;\n getExtensionId(): string;\n registerGenericFunctionCallbackHandler(callbackHandler: Function): void;\n registerGenericPersistentCallbackHandler(callbackHandler: Function): void;\n registerWebRuntimeCallbackHandler(handler: Function): any;\n}\n\ndeclare var ExtensionScriptApis: {\n prototype: ExtensionScriptApis;\n new(): ExtensionScriptApis;\n};\n\ninterface External {\n /** @deprecated */\n AddSearchProvider(): void;\n /** @deprecated */\n IsSearchProviderInstalled(): void;\n}\n\ndeclare var External: {\n prototype: External;\n new(): External;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It\'s also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent<FileReader>;\n "error": ProgressEvent<FileReader>;\n "load": ProgressEvent<FileReader>;\n "loadend": ProgressEvent<FileReader>;\n "loadstart": ProgressEvent<FileReader>;\n "progress": ProgressEvent<FileReader>;\n}\n\n/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user\'s computer, using File or Blob objects to specify the file or data to read. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\n/** Focus-related events like focus, blur, focusin, or focusout. */\ninterface FocusEvent extends UIEvent {\n readonly relatedTarget: EventTarget | null;\n}\n\ndeclare var FocusEvent: {\n prototype: FocusEvent;\n new(type: string, eventInitDict?: FocusEventInit): FocusEvent;\n};\n\ninterface FocusNavigationEvent extends Event {\n readonly navigationReason: NavigationReason;\n readonly originHeight: number;\n readonly originLeft: number;\n readonly originTop: number;\n readonly originWidth: number;\n requestFocus(): void;\n}\n\ndeclare var FocusNavigationEvent: {\n prototype: FocusNavigationEvent;\n new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent;\n};\n\n/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(form?: HTMLFormElement): FormData;\n};\n\n/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */\ninterface GainNode extends AudioNode {\n readonly gain: AudioParam;\n}\n\ndeclare var GainNode: {\n prototype: GainNode;\n new(context: BaseAudioContext, options?: GainOptions): GainNode;\n};\n\n/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */\ninterface Gamepad {\n readonly axes: ReadonlyArray<number>;\n readonly buttons: ReadonlyArray<GamepadButton>;\n readonly connected: boolean;\n readonly hand: GamepadHand;\n readonly hapticActuators: ReadonlyArray<GamepadHapticActuator>;\n readonly id: string;\n readonly index: number;\n readonly mapping: GamepadMappingType;\n readonly pose: GamepadPose | null;\n readonly timestamp: number;\n}\n\ndeclare var Gamepad: {\n prototype: Gamepad;\n new(): Gamepad;\n};\n\n/** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */\ninterface GamepadButton {\n readonly pressed: boolean;\n readonly touched: boolean;\n readonly value: number;\n}\n\ndeclare var GamepadButton: {\n prototype: GamepadButton;\n new(): GamepadButton;\n};\n\n/** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */\ninterface GamepadEvent extends Event {\n readonly gamepad: Gamepad;\n}\n\ndeclare var GamepadEvent: {\n prototype: GamepadEvent;\n new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;\n};\n\n/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */\ninterface GamepadHapticActuator {\n readonly type: GamepadHapticActuatorType;\n pulse(value: number, duration: number): Promise<boolean>;\n}\n\ndeclare var GamepadHapticActuator: {\n prototype: GamepadHapticActuator;\n new(): GamepadHapticActuator;\n};\n\n/** This Gamepad API interface represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */\ninterface GamepadPose {\n readonly angularAcceleration: Float32Array | null;\n readonly angularVelocity: Float32Array | null;\n readonly hasOrientation: boolean;\n readonly hasPosition: boolean;\n readonly linearAcceleration: Float32Array | null;\n readonly linearVelocity: Float32Array | null;\n readonly orientation: Float32Array | null;\n readonly position: Float32Array | null;\n}\n\ndeclare var GamepadPose: {\n prototype: GamepadPose;\n new(): GamepadPose;\n};\n\ninterface GenericTransformStream {\n /**\n * Returns a readable stream whose chunks are strings resulting from running encoding\'s decoder on the chunks written to writable.\n */\n readonly readable: ReadableStream;\n /**\n * Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding\'s decoder before making them available to readable.\n * \n * Typically this will be used via the pipeThrough() method on a ReadableStream source.\n * \n * ```\n * var decoder = new TextDecoderStream(encoding);\n * byteReadable\n * .pipeThrough(decoder)\n * .pipeTo(textWritable);\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, both readable and writable will be errored with a TypeError.\n */\n readonly writable: WritableStream;\n}\n\n/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user\'s location. */\ninterface Geolocation {\n clearWatch(watchId: number): void;\n getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void;\n watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;\n}\n\ninterface GlobalEventHandlersEventMap {\n "abort": UIEvent;\n "animationcancel": AnimationEvent;\n "animationend": AnimationEvent;\n "animationiteration": AnimationEvent;\n "animationstart": AnimationEvent;\n "auxclick": MouseEvent;\n "blur": FocusEvent;\n "cancel": Event;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": MouseEvent;\n "close": Event;\n "contextmenu": MouseEvent;\n "cuechange": Event;\n "dblclick": MouseEvent;\n "drag": DragEvent;\n "dragend": DragEvent;\n "dragenter": DragEvent;\n "dragexit": Event;\n "dragleave": DragEvent;\n "dragover": DragEvent;\n "dragstart": DragEvent;\n "drop": DragEvent;\n "durationchange": Event;\n "emptied": Event;\n "ended": Event;\n "error": ErrorEvent;\n "focus": FocusEvent;\n "focusin": FocusEvent;\n "focusout": FocusEvent;\n "gotpointercapture": PointerEvent;\n "input": Event;\n "invalid": Event;\n "keydown": KeyboardEvent;\n "keypress": KeyboardEvent;\n "keyup": KeyboardEvent;\n "load": Event;\n "loadeddata": Event;\n "loadedmetadata": Event;\n "loadstart": Event;\n "lostpointercapture": PointerEvent;\n "mousedown": MouseEvent;\n "mouseenter": MouseEvent;\n "mouseleave": MouseEvent;\n "mousemove": MouseEvent;\n "mouseout": MouseEvent;\n "mouseover": MouseEvent;\n "mouseup": MouseEvent;\n "pause": Event;\n "play": Event;\n "playing": Event;\n "pointercancel": PointerEvent;\n "pointerdown": PointerEvent;\n "pointerenter": PointerEvent;\n "pointerleave": PointerEvent;\n "pointermove": PointerEvent;\n "pointerout": PointerEvent;\n "pointerover": PointerEvent;\n "pointerup": PointerEvent;\n "progress": ProgressEvent;\n "ratechange": Event;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "securitypolicyviolation": SecurityPolicyViolationEvent;\n "seeked": Event;\n "seeking": Event;\n "select": Event;\n "selectionchange": Event;\n "selectstart": Event;\n "stalled": Event;\n "submit": Event;\n "suspend": Event;\n "timeupdate": Event;\n "toggle": Event;\n "touchcancel": TouchEvent;\n "touchend": TouchEvent;\n "touchmove": TouchEvent;\n "touchstart": TouchEvent;\n "transitioncancel": TransitionEvent;\n "transitionend": TransitionEvent;\n "transitionrun": TransitionEvent;\n "transitionstart": TransitionEvent;\n "volumechange": Event;\n "waiting": Event;\n "wheel": WheelEvent;\n}\n\ninterface GlobalEventHandlers {\n /**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\n onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\n onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\n oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\n onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\n onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\n oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\n ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\n ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\n ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\n ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n ondragexit: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\n ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\n ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\n ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\n ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\n onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\n onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\n onerror: OnErrorEventHandler;\n /**\n * Fires when the object receives focus.\n * @param ev The event.\n */\n onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\n onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n */\n onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\n onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\n onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\n onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\n onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\n onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\n onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\n onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\n onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Occurs when playback is paused.\n * @param ev The event.\n */\n onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\n onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\n onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\n onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;\n /**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\n onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user resets a form.\n * @param ev The event.\n */\n onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n /**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\n onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;\n /**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\n onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\n onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the current selection changes.\n * @param ev The event.\n */\n onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\n onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\n onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\n ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null;\n ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\n onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\n onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;\n addEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface HTMLAllCollection {\n /**\n * Returns the number of elements in the collection.\n */\n readonly length: number;\n /**\n * Returns the item with index index from the collection (determined by tree order).\n */\n item(nameOrIndex?: string): HTMLCollection | Element | null;\n /**\n * Returns the item with ID or name name from the collection.\n * \n * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.\n * \n * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute.\n */\n namedItem(name: string): HTMLCollection | Element | null;\n [index: number]: Element;\n}\n\ndeclare var HTMLAllCollection: {\n prototype: HTMLAllCollection;\n new(): HTMLAllCollection;\n};\n\n/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */\ninterface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves the character set used to encode the object.\n */\n /** @deprecated */\n charset: string;\n /**\n * Sets or retrieves the coordinates of the object.\n */\n /** @deprecated */\n coords: string;\n download: string;\n /**\n * Sets or retrieves the language code of the object.\n */\n hreflang: string;\n /**\n * Sets or retrieves the shape of the object.\n */\n /** @deprecated */\n name: string;\n ping: string;\n referrerPolicy: string;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n /** @deprecated */\n rev: string;\n /**\n * Sets or retrieves the shape of the object.\n */\n /** @deprecated */\n shape: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAnchorElement: {\n prototype: HTMLAnchorElement;\n new(): HTMLAnchorElement;\n};\n\ninterface HTMLAppletElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n /** @deprecated */\n alt: string;\n /**\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\n */\n /** @deprecated */\n archive: string;\n /** @deprecated */\n code: string;\n /**\n * Sets or retrieves the URL of the component.\n */\n /** @deprecated */\n codeBase: string;\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the height of the object.\n */\n /** @deprecated */\n height: string;\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves the shape of the object.\n */\n /** @deprecated */\n name: string;\n /** @deprecated */\n object: string;\n /** @deprecated */\n vspace: number;\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAppletElement: {\n prototype: HTMLAppletElement;\n new(): HTMLAppletElement;\n};\n\n/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements. */\ninterface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Sets or retrieves the coordinates of the object.\n */\n coords: string;\n download: string;\n /**\n * Sets or gets whether clicks in this region cause action.\n */\n /** @deprecated */\n noHref: boolean;\n ping: string;\n referrerPolicy: string;\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the shape of the object.\n */\n shape: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAreaElement: {\n prototype: HTMLAreaElement;\n new(): HTMLAreaElement;\n};\n\n/** Provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface. */\ninterface HTMLAudioElement extends HTMLMediaElement {\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAudioElement: {\n prototype: HTMLAudioElement;\n new(): HTMLAudioElement;\n};\n\n/** A HTML line break element (<br>). It inherits from HTMLElement. */\ninterface HTMLBRElement extends HTMLElement {\n /**\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\n */\n /** @deprecated */\n clear: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBRElement: {\n prototype: HTMLBRElement;\n new(): HTMLBRElement;\n};\n\n/** Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. */\ninterface HTMLBaseElement extends HTMLElement {\n /**\n * Gets or sets the baseline URL on which relative links are based.\n */\n href: string;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseElement: {\n prototype: HTMLBaseElement;\n new(): HTMLBaseElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <basefont> elements. */\ninterface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty {\n /**\n * Sets or retrieves the current typeface family.\n */\n /** @deprecated */\n face: string;\n /**\n * Sets or retrieves the font size of the object.\n */\n /** @deprecated */\n size: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseFontElement: {\n prototype: HTMLBaseFontElement;\n new(): HTMLBaseFontElement;\n};\n\ninterface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n "orientationchange": Event;\n}\n\n/** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */\ninterface HTMLBodyElement extends HTMLElement, WindowEventHandlers {\n /** @deprecated */\n aLink: string;\n /** @deprecated */\n background: string;\n /** @deprecated */\n bgColor: string;\n /** @deprecated */\n link: string;\n /** @deprecated */\n onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;\n /** @deprecated */\n text: string;\n /** @deprecated */\n vLink: string;\n addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBodyElement: {\n prototype: HTMLBodyElement;\n new(): HTMLBodyElement;\n};\n\n/** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements. */\ninterface HTMLButtonElement extends HTMLElement {\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\n */\n formAction: string;\n /**\n * Used to override the encoding (formEnctype attribute) specified on the form element.\n */\n formEnctype: string;\n /**\n * Overrides the submit method attribute previously specified on a form element.\n */\n formMethod: string;\n /**\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.\n */\n formNoValidate: boolean;\n /**\n * Overrides the target attribute on a form element.\n */\n formTarget: string;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets the classification and default behavior of the button.\n */\n type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Sets or retrieves the default or selected value of the control.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLButtonElement: {\n prototype: HTMLButtonElement;\n new(): HTMLButtonElement;\n};\n\n/** Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface. */\ninterface HTMLCanvasElement extends HTMLElement {\n /**\n * Gets or sets the height of a canvas element on a document.\n */\n height: number;\n /**\n * Gets or sets the width of a canvas element on a document.\n */\n width: number;\n /**\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): CanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: string, options?: any): RenderingContext | null;\n toBlob(callback: BlobCallback, type?: string, quality?: any): void;\n /**\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\n */\n toDataURL(type?: string, quality?: any): string;\n transferControlToOffscreen(): OffscreenCanvas;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLCanvasElement: {\n prototype: HTMLCanvasElement;\n new(): HTMLCanvasElement;\n};\n\n/** A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list. */\ninterface HTMLCollectionBase {\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n readonly length: number;\n /**\n * Retrieves an object from various collections.\n */\n item(index: number): Element | null;\n [index: number]: Element;\n}\n\ninterface HTMLCollection extends HTMLCollectionBase {\n /**\n * Retrieves a select object or an object from an options collection.\n */\n namedItem(name: string): Element | null;\n}\n\ndeclare var HTMLCollection: {\n prototype: HTMLCollection;\n new(): HTMLCollection;\n};\n\ninterface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {\n item(index: number): T | null;\n namedItem(name: string): T | null;\n [index: number]: T;\n}\n\n/** Provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements. */\ninterface HTMLDListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDListElement: {\n prototype: HTMLDListElement;\n new(): HTMLDListElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements. */\ninterface HTMLDataElement extends HTMLElement {\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataElement: {\n prototype: HTMLDataElement;\n new(): HTMLDataElement;\n};\n\n/** Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content. */\ninterface HTMLDataListElement extends HTMLElement {\n readonly options: HTMLCollectionOf<HTMLOptionElement>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataListElement: {\n prototype: HTMLDataListElement;\n new(): HTMLDataListElement;\n};\n\ninterface HTMLDetailsElement extends HTMLElement {\n open: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDetailsElement: {\n prototype: HTMLDetailsElement;\n new(): HTMLDetailsElement;\n};\n\ninterface HTMLDialogElement extends HTMLElement {\n open: boolean;\n returnValue: string;\n close(returnValue?: string): void;\n show(): void;\n showModal(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDialogElement: {\n prototype: HTMLDialogElement;\n new(): HTMLDialogElement;\n};\n\ninterface HTMLDirectoryElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDirectoryElement: {\n prototype: HTMLDirectoryElement;\n new(): HTMLDirectoryElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements. */\ninterface HTMLDivElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDivElement: {\n prototype: HTMLDivElement;\n new(): HTMLDivElement;\n};\n\n/** The HTMLDocument property of Window objects is an alias that browsers expose for the Document interface object. */\ninterface HTMLDocument extends Document {\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDocument: {\n prototype: HTMLDocument;\n new(): HTMLDocument;\n};\n\ninterface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap {\n}\n\n/** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */\ninterface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n accessKey: string;\n readonly accessKeyLabel: string;\n autocapitalize: string;\n dir: string;\n draggable: boolean;\n hidden: boolean;\n innerText: string;\n lang: string;\n readonly offsetHeight: number;\n readonly offsetLeft: number;\n readonly offsetParent: Element | null;\n readonly offsetTop: number;\n readonly offsetWidth: number;\n spellcheck: boolean;\n title: string;\n translate: boolean;\n click(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLElement: {\n prototype: HTMLElement;\n new(): HTMLElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements. */\ninterface HTMLEmbedElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /**\n * Sets or retrieves the name of the object.\n */\n /** @deprecated */\n name: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n src: string;\n type: string;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n getSVGDocument(): Document | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLEmbedElement: {\n prototype: HTMLEmbedElement;\n new(): HTMLEmbedElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements. */\ninterface HTMLFieldSetElement extends HTMLElement {\n disabled: boolean;\n readonly elements: HTMLCollection;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n name: string;\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFieldSetElement: {\n prototype: HTMLFieldSetElement;\n new(): HTMLFieldSetElement;\n};\n\n/** Implements the document object model (DOM) representation of the font element. The HTML Font Element <font> defines the font size, font face and color of text. */\ninterface HTMLFontElement extends HTMLElement {\n /** @deprecated */\n color: string;\n /**\n * Sets or retrieves the current typeface family.\n */\n /** @deprecated */\n face: string;\n /** @deprecated */\n size: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFontElement: {\n prototype: HTMLFontElement;\n new(): HTMLFontElement;\n};\n\n/** A collection of HTML form control elements. */\ninterface HTMLFormControlsCollection extends HTMLCollectionBase {\n /**\n * Returns the item with ID or name name from the collection.\n * \n * If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.\n */\n namedItem(name: string): RadioNodeList | Element | null;\n}\n\ndeclare var HTMLFormControlsCollection: {\n prototype: HTMLFormControlsCollection;\n new(): HTMLFormControlsCollection;\n};\n\n/** A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements. */\ninterface HTMLFormElement extends HTMLElement {\n /**\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\n */\n acceptCharset: string;\n /**\n * Sets or retrieves the URL to which the form content is sent for processing.\n */\n action: string;\n /**\n * Specifies whether autocomplete is applied to an editable text field.\n */\n autocomplete: string;\n /**\n * Retrieves a collection, in source order, of all controls in a given form.\n */\n readonly elements: HTMLFormControlsCollection;\n /**\n * Sets or retrieves the MIME encoding for the form.\n */\n encoding: string;\n /**\n * Sets or retrieves the encoding type for the form.\n */\n enctype: string;\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n readonly length: number;\n /**\n * Sets or retrieves how to send the form data to the server.\n */\n method: string;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Designates a form that is not validated when submitted.\n */\n noValidate: boolean;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n target: string;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Fires when the user resets a form.\n */\n reset(): void;\n /**\n * Fires when a FORM is about to be submitted.\n */\n submit(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Element;\n [name: string]: any;\n}\n\ndeclare var HTMLFormElement: {\n prototype: HTMLFormElement;\n new(): HTMLFormElement;\n};\n\ninterface HTMLFrameElement extends HTMLElement {\n /**\n * Retrieves the document object of the page or frame.\n */\n /** @deprecated */\n readonly contentDocument: Document | null;\n /**\n * Retrieves the object of the specified.\n */\n /** @deprecated */\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves whether to display a border for the frame.\n */\n /** @deprecated */\n frameBorder: string;\n /**\n * Sets or retrieves a URI to a long description of the object.\n */\n /** @deprecated */\n longDesc: string;\n /**\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n */\n /** @deprecated */\n marginHeight: string;\n /**\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n */\n /** @deprecated */\n marginWidth: string;\n /**\n * Sets or retrieves the frame name.\n */\n /** @deprecated */\n name: string;\n /**\n * Sets or retrieves whether the user can resize the frame.\n */\n /** @deprecated */\n noResize: boolean;\n /**\n * Sets or retrieves whether the frame can be scrolled.\n */\n /** @deprecated */\n scrolling: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n /** @deprecated */\n src: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFrameElement: {\n prototype: HTMLFrameElement;\n new(): HTMLFrameElement;\n};\n\ninterface HTMLFrameSetElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n}\n\n/** Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements. */\ninterface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers {\n /**\n * Sets or retrieves the frame widths of the object.\n */\n /** @deprecated */\n cols: string;\n /**\n * Sets or retrieves the frame heights of the object.\n */\n /** @deprecated */\n rows: string;\n addEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLFrameSetElement: {\n prototype: HTMLFrameSetElement;\n new(): HTMLFrameSetElement;\n};\n\n/** Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements. */\ninterface HTMLHRElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n color: string;\n /**\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\n */\n /** @deprecated */\n noShade: boolean;\n /** @deprecated */\n size: string;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHRElement: {\n prototype: HTMLHRElement;\n new(): HTMLHRElement;\n};\n\n/** Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLHeadElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadElement: {\n prototype: HTMLHeadElement;\n new(): HTMLHeadElement;\n};\n\n/** The different heading elements. It inherits methods and properties from the HTMLElement interface. */\ninterface HTMLHeadingElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHeadingElement: {\n prototype: HTMLHeadingElement;\n new(): HTMLHeadingElement;\n};\n\n/** Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface. */\ninterface HTMLHtmlElement extends HTMLElement {\n /**\n * Sets or retrieves the DTD version that governs the current document.\n */\n /** @deprecated */\n version: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLHtmlElement: {\n prototype: HTMLHtmlElement;\n new(): HTMLHtmlElement;\n};\n\ninterface HTMLHyperlinkElementUtils {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n username: string;\n}\n\n/** Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements. */\ninterface HTMLIFrameElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n allow: string;\n allowFullscreen: boolean;\n allowPaymentRequest: boolean;\n /**\n * Retrieves the document object of the page or frame.\n */\n readonly contentDocument: Document | null;\n /**\n * Retrieves the object of the specified.\n */\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves whether to display a border for the frame.\n */\n /** @deprecated */\n frameBorder: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /**\n * Sets or retrieves a URI to a long description of the object.\n */\n /** @deprecated */\n longDesc: string;\n /**\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\n */\n /** @deprecated */\n marginHeight: string;\n /**\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\n */\n /** @deprecated */\n marginWidth: string;\n /**\n * Sets or retrieves the frame name.\n */\n name: string;\n referrerPolicy: ReferrerPolicy;\n readonly sandbox: DOMTokenList;\n /**\n * Sets or retrieves whether the frame can be scrolled.\n */\n /** @deprecated */\n scrolling: string;\n /**\n * Sets or retrieves a URL to be loaded by the object.\n */\n src: string;\n /**\n * Sets or retrives the content of the page that is to contain.\n */\n srcdoc: string;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n getSVGDocument(): Document | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLIFrameElement: {\n prototype: HTMLIFrameElement;\n new(): HTMLIFrameElement;\n};\n\n/** Provides special properties and methods for manipulating <img> elements. */\ninterface HTMLImageElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Specifies the properties of a border drawn around an object.\n */\n /** @deprecated */\n border: string;\n /**\n * Retrieves whether the object is fully loaded.\n */\n readonly complete: boolean;\n crossOrigin: string | null;\n readonly currentSrc: string;\n decoding: "async" | "sync" | "auto";\n /**\n * Sets or retrieves the height of the object.\n */\n height: number;\n /**\n * Sets or retrieves the width of the border to draw around the object.\n */\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves whether the image is a server-side image map.\n */\n isMap: boolean;\n loading: string;\n /**\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\n */\n /** @deprecated */\n longDesc: string;\n /** @deprecated */\n lowsrc: string;\n /**\n * Sets or retrieves the name of the object.\n */\n /** @deprecated */\n name: string;\n /**\n * The original height of the image resource before sizing.\n */\n readonly naturalHeight: number;\n /**\n * The original width of the image resource before sizing.\n */\n readonly naturalWidth: number;\n referrerPolicy: string;\n sizes: string;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcset: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n useMap: string;\n /**\n * Sets or retrieves the vertical margin for the object.\n */\n /** @deprecated */\n vspace: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: number;\n readonly x: number;\n readonly y: number;\n decode(): Promise<void>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLImageElement: {\n prototype: HTMLImageElement;\n new(): HTMLImageElement;\n};\n\n/** Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements. */\ninterface HTMLInputElement extends HTMLElement {\n /**\n * Sets or retrieves a comma-separated list of content types.\n */\n accept: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a text alternative to the graphic.\n */\n alt: string;\n /**\n * Specifies whether autocomplete is applied to an editable text field.\n */\n autocomplete: string;\n /**\n * Sets or retrieves the state of the check box or radio button.\n */\n checked: boolean;\n /**\n * Sets or retrieves the state of the check box or radio button.\n */\n defaultChecked: boolean;\n /**\n * Sets or retrieves the initial contents of the object.\n */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /**\n * Returns a FileList object on a file type input object.\n */\n files: FileList | null;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\n */\n formAction: string;\n /**\n * Used to override the encoding (formEnctype attribute) specified on the form element.\n */\n formEnctype: string;\n /**\n * Overrides the submit method attribute previously specified on a form element.\n */\n formMethod: string;\n /**\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.\n */\n formNoValidate: boolean;\n /**\n * Overrides the target attribute on a form element.\n */\n formTarget: string;\n /**\n * Sets or retrieves the height of the object.\n */\n height: number;\n indeterminate: boolean;\n readonly labels: NodeListOf<HTMLLabelElement> | null;\n /**\n * Specifies the ID of a pre-defined datalist of options for an input element.\n */\n readonly list: HTMLElement | null;\n /**\n * Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\n */\n max: string;\n /**\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\n */\n maxLength: number;\n /**\n * Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\n */\n min: string;\n minLength: number;\n /**\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\n */\n multiple: boolean;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets or sets a string containing a regular expression that the user\'s input must match.\n */\n pattern: string;\n /**\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\n */\n placeholder: string;\n readOnly: boolean;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n selectionDirection: "forward" | "backward" | "none" | null;\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n selectionEnd: number | null;\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n selectionStart: number | null;\n size: number;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n /**\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\n */\n step: string;\n /**\n * Returns the content type of the object.\n */\n type: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n /** @deprecated */\n useMap: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Returns the value of the data at the cursor\'s current position.\n */\n value: string;\n /**\n * Returns a Date object representing the form control\'s value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn\'t date- or time-based.\n */\n valueAsDate: Date | null;\n /**\n * Returns the input field value as a number.\n */\n valueAsNumber: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: number;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Makes the selection equal to the current object.\n */\n select(): void;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void;\n /**\n * Decrements a range input control\'s value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control\'s step value multiplied by the parameter\'s value.\n * @param n Value to decrement the value by.\n */\n stepDown(n?: number): void;\n /**\n * Increments a range input control\'s value by the value given by the Step attribute. If the optional parameter is used, will increment the input control\'s value by that value.\n * @param n Value to increment the value by.\n */\n stepUp(n?: number): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLInputElement: {\n prototype: HTMLInputElement;\n new(): HTMLInputElement;\n};\n\n/** Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements. */\ninterface HTMLLIElement extends HTMLElement {\n /** @deprecated */\n type: string;\n /**\n * Sets or retrieves the value of a list item.\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLIElement: {\n prototype: HTMLLIElement;\n new(): HTMLLIElement;\n};\n\n/** Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface. */\ninterface HTMLLabelElement extends HTMLElement {\n readonly control: HTMLElement | null;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the object to which the given label object is assigned.\n */\n htmlFor: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLabelElement: {\n prototype: HTMLLabelElement;\n new(): HTMLLabelElement;\n};\n\n/** The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface. */\ninterface HTMLLegendElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLegendElement: {\n prototype: HTMLLegendElement;\n new(): HTMLLegendElement;\n};\n\n/** Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLLinkElement extends HTMLElement, LinkStyle {\n as: string;\n /**\n * Sets or retrieves the character set used to encode the object.\n */\n /** @deprecated */\n charset: string;\n crossOrigin: string | null;\n disabled: boolean;\n /**\n * Sets or retrieves a destination URL or an anchor point.\n */\n href: string;\n /**\n * Sets or retrieves the language code of the object.\n */\n hreflang: string;\n imageSizes: string;\n imageSrcset: string;\n integrity: string;\n /**\n * Sets or retrieves the media type.\n */\n media: string;\n referrerPolicy: string;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n */\n /** @deprecated */\n rev: string;\n readonly sizes: DOMTokenList;\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n /** @deprecated */\n target: string;\n /**\n * Sets or retrieves the MIME type of the object.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLinkElement: {\n prototype: HTMLLinkElement;\n new(): HTMLLinkElement;\n};\n\n/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements. */\ninterface HTMLMapElement extends HTMLElement {\n /**\n * Retrieves a collection of the area objects defined for the given map object.\n */\n readonly areas: HTMLCollection;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMapElement: {\n prototype: HTMLMapElement;\n new(): HTMLMapElement;\n};\n\ninterface HTMLMarqueeElementEventMap extends HTMLElementEventMap {\n "bounce": Event;\n "finish": Event;\n "start": Event;\n}\n\n/** Provides methods to manipulate <marquee> elements. */\ninterface HTMLMarqueeElement extends HTMLElement {\n /** @deprecated */\n behavior: string;\n /** @deprecated */\n bgColor: string;\n /** @deprecated */\n direction: string;\n /** @deprecated */\n height: string;\n /** @deprecated */\n hspace: number;\n /** @deprecated */\n loop: number;\n /** @deprecated */\n onbounce: ((this: HTMLMarqueeElement, ev: Event) => any) | null;\n /** @deprecated */\n onfinish: ((this: HTMLMarqueeElement, ev: Event) => any) | null;\n /** @deprecated */\n onstart: ((this: HTMLMarqueeElement, ev: Event) => any) | null;\n /** @deprecated */\n scrollAmount: number;\n /** @deprecated */\n scrollDelay: number;\n /** @deprecated */\n trueSpeed: boolean;\n /** @deprecated */\n vspace: number;\n /** @deprecated */\n width: string;\n /** @deprecated */\n start(): void;\n /** @deprecated */\n stop(): void;\n addEventListener<K extends keyof HTMLMarqueeElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMarqueeElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMarqueeElement: {\n prototype: HTMLMarqueeElement;\n new(): HTMLMarqueeElement;\n};\n\ninterface HTMLMediaElementEventMap extends HTMLElementEventMap {\n "encrypted": MediaEncryptedEvent;\n "waitingforkey": Event;\n}\n\n/** Adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. */\ninterface HTMLMediaElement extends HTMLElement {\n /**\n * Gets or sets a value that indicates whether to start playing the media automatically.\n */\n autoplay: boolean;\n /**\n * Gets a collection of buffered time ranges.\n */\n readonly buffered: TimeRanges;\n /**\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\n */\n controls: boolean;\n crossOrigin: string | null;\n /**\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\n */\n readonly currentSrc: string;\n /**\n * Gets or sets the current playback position, in seconds.\n */\n currentTime: number;\n defaultMuted: boolean;\n /**\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\n */\n defaultPlaybackRate: number;\n /**\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\n */\n readonly duration: number;\n /**\n * Gets information about whether the playback has ended or not.\n */\n readonly ended: boolean;\n /**\n * Returns an object representing the current error state of the audio or video element.\n */\n readonly error: MediaError | null;\n /**\n * Gets or sets a flag to specify whether playback should restart after it completes.\n */\n loop: boolean;\n readonly mediaKeys: MediaKeys | null;\n /**\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\n */\n muted: boolean;\n /**\n * Gets the current network activity for the element.\n */\n readonly networkState: number;\n onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;\n onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;\n /**\n * Gets a flag that specifies whether playback is paused.\n */\n readonly paused: boolean;\n /**\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\n */\n playbackRate: number;\n /**\n * Gets TimeRanges for the current media resource that has been played.\n */\n readonly played: TimeRanges;\n /**\n * Gets or sets the current playback position, in seconds.\n */\n preload: string;\n readonly readyState: number;\n /**\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\n */\n readonly seekable: TimeRanges;\n /**\n * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.\n */\n readonly seeking: boolean;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcObject: MediaProvider | null;\n readonly textTracks: TextTrackList;\n /**\n * Gets or sets the volume level for audio portions of the media element.\n */\n volume: number;\n addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;\n /**\n * Returns a string that specifies whether the client can play a given media resource type.\n */\n canPlayType(type: string): CanPlayTypeResult;\n fastSeek(time: number): void;\n /**\n * Resets the audio or video object and loads a new media resource.\n */\n load(): void;\n /**\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\n */\n pause(): void;\n /**\n * Loads and starts playback of a media resource.\n */\n play(): Promise<void>;\n setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;\n readonly HAVE_CURRENT_DATA: number;\n readonly HAVE_ENOUGH_DATA: number;\n readonly HAVE_FUTURE_DATA: number;\n readonly HAVE_METADATA: number;\n readonly HAVE_NOTHING: number;\n readonly NETWORK_EMPTY: number;\n readonly NETWORK_IDLE: number;\n readonly NETWORK_LOADING: number;\n readonly NETWORK_NO_SOURCE: number;\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMediaElement: {\n prototype: HTMLMediaElement;\n new(): HTMLMediaElement;\n readonly HAVE_CURRENT_DATA: number;\n readonly HAVE_ENOUGH_DATA: number;\n readonly HAVE_FUTURE_DATA: number;\n readonly HAVE_METADATA: number;\n readonly HAVE_NOTHING: number;\n readonly NETWORK_EMPTY: number;\n readonly NETWORK_IDLE: number;\n readonly NETWORK_LOADING: number;\n readonly NETWORK_NO_SOURCE: number;\n};\n\ninterface HTMLMenuElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMenuElement: {\n prototype: HTMLMenuElement;\n new(): HTMLMenuElement;\n};\n\n/** Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface. */\ninterface HTMLMetaElement extends HTMLElement {\n /**\n * Gets or sets meta-information to associate with httpEquiv or name.\n */\n content: string;\n /**\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\n */\n httpEquiv: string;\n /**\n * Sets or retrieves the value specified in the content attribute of the meta object.\n */\n name: string;\n /**\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\n */\n /** @deprecated */\n scheme: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMetaElement: {\n prototype: HTMLMetaElement;\n new(): HTMLMetaElement;\n};\n\n/** The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements. */\ninterface HTMLMeterElement extends HTMLElement {\n high: number;\n readonly labels: NodeListOf<HTMLLabelElement>;\n low: number;\n max: number;\n min: number;\n optimum: number;\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMeterElement: {\n prototype: HTMLMeterElement;\n new(): HTMLMeterElement;\n};\n\n/** Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>. */\ninterface HTMLModElement extends HTMLElement {\n /**\n * Sets or retrieves reference information about the object.\n */\n cite: string;\n /**\n * Sets or retrieves the date and time of a modification to the object.\n */\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLModElement: {\n prototype: HTMLModElement;\n new(): HTMLModElement;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements. */\ninterface HTMLOListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n reversed: boolean;\n /**\n * The starting number.\n */\n start: number;\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOListElement: {\n prototype: HTMLOListElement;\n new(): HTMLOListElement;\n};\n\n/** Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources. */\ninterface HTMLObjectElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\n */\n /** @deprecated */\n archive: string;\n /** @deprecated */\n border: string;\n /**\n * Sets or retrieves the URL of the file containing the compiled Java class.\n */\n /** @deprecated */\n code: string;\n /**\n * Sets or retrieves the URL of the component.\n */\n /** @deprecated */\n codeBase: string;\n /**\n * Sets or retrieves the Internet media type for the code associated with the object.\n */\n /** @deprecated */\n codeType: string;\n /**\n * Retrieves the document object of the page or frame.\n */\n readonly contentDocument: Document | null;\n readonly contentWindow: WindowProxy | null;\n /**\n * Sets or retrieves the URL that references the data of the object.\n */\n data: string;\n /** @deprecated */\n declare: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the height of the object.\n */\n height: string;\n /** @deprecated */\n hspace: number;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Sets or retrieves a message to be displayed while an object is loading.\n */\n /** @deprecated */\n standby: string;\n /**\n * Sets or retrieves the MIME type of the object.\n */\n type: string;\n /**\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\n */\n useMap: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /** @deprecated */\n vspace: number;\n /**\n * Sets or retrieves the width of the object.\n */\n width: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n getSVGDocument(): Document | null;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLObjectElement: {\n prototype: HTMLObjectElement;\n new(): HTMLObjectElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements. */\ninterface HTMLOptGroupElement extends HTMLElement {\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\n */\n label: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptGroupElement: {\n prototype: HTMLOptGroupElement;\n new(): HTMLOptGroupElement;\n};\n\n/** <option> elements and inherits all classes and methods of the HTMLElement interface. */\ninterface HTMLOptionElement extends HTMLElement {\n /**\n * Sets or retrieves the status of an option.\n */\n defaultSelected: boolean;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n /**\n * Sets or retrieves the ordinal position of an option in a list box.\n */\n readonly index: number;\n /**\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\n */\n label: string;\n /**\n * Sets or retrieves whether the option in the list box is the default item.\n */\n selected: boolean;\n /**\n * Sets or retrieves the text string specified by the option tag.\n */\n text: string;\n /**\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\n */\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptionElement: {\n prototype: HTMLOptionElement;\n new(): HTMLOptionElement;\n};\n\n/** HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select. */\ninterface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {\n /**\n * Returns the number of elements in the collection.\n * \n * When set to a smaller number, truncates the number of option elements in the corresponding container.\n * \n * When set to a greater number, adds new blank option elements to that container.\n */\n length: number;\n /**\n * Returns the index of the first selected item, if any, or −1 if there is no selected item.\n * \n * Can be set, to change the selection.\n */\n selectedIndex: number;\n /**\n * Inserts element before the node given by before.\n * \n * The before argument can be a number, in which case element is inserted before the item with that number, or an element from the collection, in which case element is inserted before that element.\n * \n * If before is omitted, null, or a number out of range, then element will be added at the end of the list.\n * \n * This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * Removes the item with index index from the collection.\n */\n remove(index: number): void;\n}\n\ndeclare var HTMLOptionsCollection: {\n prototype: HTMLOptionsCollection;\n new(): HTMLOptionsCollection;\n};\n\ninterface HTMLOrSVGElement {\n autofocus: boolean;\n readonly dataset: DOMStringMap;\n nonce?: string;\n tabIndex: number;\n blur(): void;\n focus(options?: FocusOptions): void;\n}\n\n/** Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements. */\ninterface HTMLOutputElement extends HTMLElement {\n defaultValue: string;\n readonly form: HTMLFormElement | null;\n readonly htmlFor: DOMTokenList;\n readonly labels: NodeListOf<HTMLLabelElement>;\n name: string;\n readonly type: string;\n readonly validationMessage: string;\n readonly validity: ValidityState;\n value: string;\n readonly willValidate: boolean;\n checkValidity(): boolean;\n reportValidity(): boolean;\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOutputElement: {\n prototype: HTMLOutputElement;\n new(): HTMLOutputElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements. */\ninterface HTMLParagraphElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParagraphElement: {\n prototype: HTMLParagraphElement;\n new(): HTMLParagraphElement;\n};\n\n/** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element. */\ninterface HTMLParamElement extends HTMLElement {\n /**\n * Sets or retrieves the name of an input parameter for an element.\n */\n name: string;\n /**\n * Sets or retrieves the content type of the resource designated by the value attribute.\n */\n /** @deprecated */\n type: string;\n /**\n * Sets or retrieves the value of an input parameter for an element.\n */\n value: string;\n /**\n * Sets or retrieves the data type of the value attribute.\n */\n /** @deprecated */\n valueType: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLParamElement: {\n prototype: HTMLParamElement;\n new(): HTMLParamElement;\n};\n\n/** A <picture> HTML element. It doesn\'t implement specific properties or methods. */\ninterface HTMLPictureElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPictureElement: {\n prototype: HTMLPictureElement;\n new(): HTMLPictureElement;\n};\n\n/** Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>). */\ninterface HTMLPreElement extends HTMLElement {\n /**\n * Sets or gets a value that you can use to implement your own width functionality for the object.\n */\n /** @deprecated */\n width: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLPreElement: {\n prototype: HTMLPreElement;\n new(): HTMLPreElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements. */\ninterface HTMLProgressElement extends HTMLElement {\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Defines the maximum, or "done" value for a progress element.\n */\n max: number;\n /**\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\n */\n readonly position: number;\n /**\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLProgressElement: {\n prototype: HTMLProgressElement;\n new(): HTMLProgressElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element. */\ninterface HTMLQuoteElement extends HTMLElement {\n /**\n * Sets or retrieves reference information about the object.\n */\n cite: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLQuoteElement: {\n prototype: HTMLQuoteElement;\n new(): HTMLQuoteElement;\n};\n\n/** HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface). */\ninterface HTMLScriptElement extends HTMLElement {\n async: boolean;\n /**\n * Sets or retrieves the character set used to encode the object.\n */\n /** @deprecated */\n charset: string;\n crossOrigin: string | null;\n /**\n * Sets or retrieves the status of the script.\n */\n defer: boolean;\n /**\n * Sets or retrieves the event for which the script is written.\n */\n /** @deprecated */\n event: string;\n /**\n * Sets or retrieves the object that is bound to the event script.\n */\n /** @deprecated */\n htmlFor: string;\n integrity: string;\n noModule: boolean;\n referrerPolicy: string;\n /**\n * Retrieves the URL to an external file that contains the source code or data.\n */\n src: string;\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n /**\n * Sets or retrieves the MIME type for the associated scripting engine.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLScriptElement: {\n prototype: HTMLScriptElement;\n new(): HTMLScriptElement;\n};\n\n/** A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. */\ninterface HTMLSelectElement extends HTMLElement {\n autocomplete: string;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the number of objects in a collection.\n */\n length: number;\n /**\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\n */\n multiple: boolean;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n readonly options: HTMLOptionsCollection;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n /**\n * Sets or retrieves the index of the selected option in a select object.\n */\n selectedIndex: number;\n readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;\n /**\n * Sets or retrieves the number of rows in the list box.\n */\n size: number;\n /**\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Adds an element to the areas, controlRange, or options collection.\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n /**\n * Retrieves a select object or an object from an options collection.\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\n */\n item(index: number): Element | null;\n /**\n * Retrieves a select object or an object from an options collection.\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\n */\n namedItem(name: string): HTMLOptionElement | null;\n /**\n * Removes an element from the collection.\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\n */\n remove(): void;\n remove(index: number): void;\n reportValidity(): boolean;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [name: number]: HTMLOptionElement | HTMLOptGroupElement;\n}\n\ndeclare var HTMLSelectElement: {\n prototype: HTMLSelectElement;\n new(): HTMLSelectElement;\n};\n\ninterface HTMLSlotElement extends HTMLElement {\n name: string;\n assignedElements(options?: AssignedNodesOptions): Element[];\n assignedNodes(options?: AssignedNodesOptions): Node[];\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSlotElement: {\n prototype: HTMLSlotElement;\n new(): HTMLSlotElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */\ninterface HTMLSourceElement extends HTMLElement {\n /**\n * Gets or sets the intended media type of the media source.\n */\n media: string;\n sizes: string;\n /**\n * The address or URL of the a media resource that is to be considered.\n */\n src: string;\n srcset: string;\n /**\n * Gets or sets the MIME type of a media resource.\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSourceElement: {\n prototype: HTMLSourceElement;\n new(): HTMLSourceElement;\n};\n\n/** A <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLSpanElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLSpanElement: {\n prototype: HTMLSpanElement;\n new(): HTMLSpanElement;\n};\n\n/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */\ninterface HTMLStyleElement extends HTMLElement, LinkStyle {\n /**\n * Sets or retrieves the media type.\n */\n media: string;\n /**\n * Retrieves the CSS language in which the style sheet is written.\n */\n /** @deprecated */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLStyleElement: {\n prototype: HTMLStyleElement;\n new(): HTMLStyleElement;\n};\n\n/** Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements. */\ninterface HTMLTableCaptionElement extends HTMLElement {\n /**\n * Sets or retrieves the alignment of the caption or legend.\n */\n /** @deprecated */\n align: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCaptionElement: {\n prototype: HTMLTableCaptionElement;\n new(): HTMLTableCaptionElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. */\ninterface HTMLTableCellElement extends HTMLElement {\n /**\n * Sets or retrieves abbreviated text for the object.\n */\n abbr: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /**\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\n */\n /** @deprecated */\n axis: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Retrieves the position of the object in the cells collection of a row.\n */\n readonly cellIndex: number;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number columns in the table that the object should span.\n */\n colSpan: number;\n /**\n * Sets or retrieves a list of header cells that provide information for the object.\n */\n headers: string;\n /**\n * Sets or retrieves the height of the object.\n */\n /** @deprecated */\n height: string;\n /**\n * Sets or retrieves whether the browser automatically performs wordwrap.\n */\n /** @deprecated */\n noWrap: boolean;\n /**\n * Sets or retrieves how many rows in a table the cell should span.\n */\n rowSpan: number;\n /**\n * Sets or retrieves the group of cells in a table to which the object\'s information applies.\n */\n scope: string;\n /** @deprecated */\n vAlign: string;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableCellElement: {\n prototype: HTMLTableCellElement;\n new(): HTMLTableCellElement;\n};\n\n/** Provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements. */\ninterface HTMLTableColElement extends HTMLElement {\n /**\n * Sets or retrieves the alignment of the object relative to the display or table.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number of columns in the group.\n */\n span: number;\n /** @deprecated */\n vAlign: string;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableColElement: {\n prototype: HTMLTableColElement;\n new(): HTMLTableColElement;\n};\n\ninterface HTMLTableDataCellElement extends HTMLTableCellElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableDataCellElement: {\n prototype: HTMLTableDataCellElement;\n new(): HTMLTableDataCellElement;\n};\n\n/** Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document. */\ninterface HTMLTableElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Sets or retrieves the width of the border to draw around the object.\n */\n /** @deprecated */\n border: string;\n /**\n * Retrieves the caption object of a table.\n */\n caption: HTMLTableCaptionElement | null;\n /**\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\n */\n /** @deprecated */\n cellPadding: string;\n /**\n * Sets or retrieves the amount of space between cells in a table.\n */\n /** @deprecated */\n cellSpacing: string;\n /**\n * Sets or retrieves the way the border frame around the table is displayed.\n */\n /** @deprecated */\n frame: string;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /**\n * Sets or retrieves which dividing lines (inner borders) are displayed.\n */\n /** @deprecated */\n rules: string;\n /**\n * Sets or retrieves a description and/or structure of the object.\n */\n /** @deprecated */\n summary: string;\n /**\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\n */\n readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;\n /**\n * Retrieves the tFoot object of the table.\n */\n tFoot: HTMLTableSectionElement | null;\n /**\n * Retrieves the tHead object of the table.\n */\n tHead: HTMLTableSectionElement | null;\n /**\n * Sets or retrieves the width of the object.\n */\n /** @deprecated */\n width: string;\n /**\n * Creates an empty caption element in the table.\n */\n createCaption(): HTMLTableCaptionElement;\n /**\n * Creates an empty tBody element in the table.\n */\n createTBody(): HTMLTableSectionElement;\n /**\n * Creates an empty tFoot element in the table.\n */\n createTFoot(): HTMLTableSectionElement;\n /**\n * Returns the tHead element object if successful, or null otherwise.\n */\n createTHead(): HTMLTableSectionElement;\n /**\n * Deletes the caption element and its contents from the table.\n */\n deleteCaption(): void;\n /**\n * Removes the specified row (tr) from the element and from the rows collection.\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n */\n deleteRow(index: number): void;\n /**\n * Deletes the tFoot element and its contents from the table.\n */\n deleteTFoot(): void;\n /**\n * Deletes the tHead element and its contents from the table.\n */\n deleteTHead(): void;\n /**\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n */\n insertRow(index?: number): HTMLTableRowElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableElement: {\n prototype: HTMLTableElement;\n new(): HTMLTableElement;\n};\n\ninterface HTMLTableHeaderCellElement extends HTMLTableCellElement {\n scope: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableHeaderCellElement: {\n prototype: HTMLTableHeaderCellElement;\n new(): HTMLTableHeaderCellElement;\n};\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. */\ninterface HTMLTableRowElement extends HTMLElement {\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n bgColor: string;\n /**\n * Retrieves a collection of all cells in the table row.\n */\n readonly cells: HTMLCollectionOf<HTMLTableDataCellElement | HTMLTableHeaderCellElement>;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Retrieves the position of the object in the rows collection for the table.\n */\n readonly rowIndex: number;\n /**\n * Retrieves the position of the object in the collection.\n */\n readonly sectionRowIndex: number;\n /** @deprecated */\n vAlign: string;\n /**\n * Removes the specified cell from the table row, as well as from the cells collection.\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\n */\n deleteCell(index: number): void;\n /**\n * Creates a new cell in the table row, and adds the cell to the cells collection.\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\n */\n insertCell(index?: number): HTMLTableDataCellElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableRowElement: {\n prototype: HTMLTableRowElement;\n new(): HTMLTableRowElement;\n};\n\n/** Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table. */\ninterface HTMLTableSectionElement extends HTMLElement {\n /**\n * Sets or retrieves a value that indicates the table alignment.\n */\n /** @deprecated */\n align: string;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /** @deprecated */\n vAlign: string;\n /**\n * Removes the specified row (tr) from the element and from the rows collection.\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\n */\n deleteRow(index: number): void;\n /**\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\n */\n insertRow(index?: number): HTMLTableRowElement;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTableSectionElement: {\n prototype: HTMLTableSectionElement;\n new(): HTMLTableSectionElement;\n};\n\n/** Enables access to the contents of an HTML <template> element. */\ninterface HTMLTemplateElement extends HTMLElement {\n readonly content: DocumentFragment;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTemplateElement: {\n prototype: HTMLTemplateElement;\n new(): HTMLTemplateElement;\n};\n\n/** Provides special properties and methods for manipulating the layout and presentation of <textarea> elements. */\ninterface HTMLTextAreaElement extends HTMLElement {\n autocomplete: string;\n /**\n * Sets or retrieves the width of the object.\n */\n cols: number;\n /**\n * Sets or retrieves the initial contents of the object.\n */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /**\n * Retrieves a reference to the form that the object is embedded in.\n */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\n */\n maxLength: number;\n minLength: number;\n /**\n * Sets or retrieves the name of the object.\n */\n name: string;\n /**\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\n */\n placeholder: string;\n /**\n * Sets or retrieves the value indicated whether the content of the object is read-only.\n */\n readOnly: boolean;\n /**\n * When present, marks an element that can\'t be submitted without a value.\n */\n required: boolean;\n /**\n * Sets or retrieves the number of horizontal rows contained in the object.\n */\n rows: number;\n selectionDirection: "forward" | "backward" | "none";\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n selectionEnd: number;\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n selectionStart: number;\n readonly textLength: number;\n /**\n * Retrieves the type of control.\n */\n readonly type: string;\n /**\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.\n */\n readonly validationMessage: string;\n /**\n * Returns a ValidityState object that represents the validity states of an element.\n */\n readonly validity: ValidityState;\n /**\n * Retrieves or sets the text in the entry field of the textArea element.\n */\n value: string;\n /**\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\n */\n readonly willValidate: boolean;\n /**\n * Sets or retrieves how to handle wordwrapping in the object.\n */\n wrap: string;\n /**\n * Returns whether a form will validate when it is submitted, without having to submit it.\n */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /**\n * Highlights the input area of a form element.\n */\n select(): void;\n /**\n * Sets a custom error message that is displayed when a form is submitted.\n * @param error Sets a custom error message that is displayed when a form is submitted.\n */\n setCustomValidity(error: string): void;\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * Sets the start and end positions of a selection in a text field.\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(start: number, end: number, direction?: "forward" | "backward" | "none"): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTextAreaElement: {\n prototype: HTMLTextAreaElement;\n new(): HTMLTextAreaElement;\n};\n\n/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements. */\ninterface HTMLTimeElement extends HTMLElement {\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTimeElement: {\n prototype: HTMLTimeElement;\n new(): HTMLTimeElement;\n};\n\n/** Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface. */\ninterface HTMLTitleElement extends HTMLElement {\n /**\n * Retrieves or sets the text of the object as a string.\n */\n text: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTitleElement: {\n prototype: HTMLTitleElement;\n new(): HTMLTitleElement;\n};\n\n/** The HTMLTrackElement */\ninterface HTMLTrackElement extends HTMLElement {\n default: boolean;\n kind: string;\n label: string;\n readonly readyState: number;\n src: string;\n srclang: string;\n readonly track: TextTrack;\n readonly ERROR: number;\n readonly LOADED: number;\n readonly LOADING: number;\n readonly NONE: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTrackElement: {\n prototype: HTMLTrackElement;\n new(): HTMLTrackElement;\n readonly ERROR: number;\n readonly LOADED: number;\n readonly LOADING: number;\n readonly NONE: number;\n};\n\n/** Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements. */\ninterface HTMLUListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n /** @deprecated */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUListElement: {\n prototype: HTMLUListElement;\n new(): HTMLUListElement;\n};\n\n/** An invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods. */\ninterface HTMLUnknownElement extends HTMLElement {\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLUnknownElement: {\n prototype: HTMLUnknownElement;\n new(): HTMLUnknownElement;\n};\n\n/** Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement. */\ninterface HTMLVideoElement extends HTMLMediaElement {\n /**\n * Gets or sets the height of the video element.\n */\n height: number;\n /**\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\n */\n poster: string;\n /**\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\n */\n readonly videoHeight: number;\n /**\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\n */\n readonly videoWidth: number;\n /**\n * Gets or sets the width of the video element.\n */\n width: number;\n getVideoPlaybackQuality(): VideoPlaybackQuality;\n addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLVideoElement: {\n prototype: HTMLVideoElement;\n new(): HTMLVideoElement;\n};\n\n/** Events that fire when the fragment identifier of the URL has changed. */\ninterface HashChangeEvent extends Event {\n /**\n * Returns the URL of the session history entry that is now current.\n */\n readonly newURL: string;\n /**\n * Returns the URL of the session history entry that was previously current.\n */\n readonly oldURL: string;\n}\n\ndeclare var HashChangeEvent: {\n prototype: HashChangeEvent;\n new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;\n};\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n append(name: string, value: string): void;\n delete(name: string): void;\n get(name: string): string | null;\n has(name: string): boolean;\n set(name: string, value: string): void;\n forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n prototype: Headers;\n new(init?: HeadersInit): Headers;\n};\n\n/** Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in. */\ninterface History {\n readonly length: number;\n scrollRestoration: ScrollRestoration;\n readonly state: any;\n back(): void;\n forward(): void;\n go(delta?: number): void;\n pushState(data: any, title: string, url?: string | null): void;\n replaceState(data: any, title: string, url?: string | null): void;\n}\n\ndeclare var History: {\n prototype: History;\n new(): History;\n};\n\ninterface HkdfCtrParams extends Algorithm {\n context: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n hash: string | Algorithm;\n label: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface IDBArrayKey extends Array<IDBValidKey> {\n}\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n /**\n * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.\n */\n readonly direction: IDBCursorDirection;\n /**\n * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly key: IDBValidKey;\n /**\n * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly primaryKey: IDBValidKey;\n /**\n * Returns the IDBObjectStore or IDBIndex the cursor was opened from.\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * Advances the cursor through the next count records in range.\n */\n advance(count: number): void;\n /**\n * Advances the cursor to the next record in range.\n */\n continue(key?: IDBValidKey): void;\n /**\n * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * Delete the record pointed at by the cursor with a new value.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(): IDBRequest<undefined>;\n /**\n * Updated the record pointed at by the cursor with a new value.\n * \n * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * Returns the cursor\'s current value.\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n /**\n * Returns the name of the database.\n */\n readonly name: string;\n /**\n * Returns a list of the names of object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * Returns the version of the database.\n */\n readonly version: number;\n /**\n * Closes the connection once all running transactions have finished.\n */\n close(): void;\n /**\n * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * Deletes the object store with the given name.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteObjectStore(name: string): void;\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;\n addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n prototype: IDBDatabase;\n new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n /**\n * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n * \n * Throws a "DataError" DOMException if either input is not a valid key.\n */\n cmp(first: any, second: any): number;\n /**\n * Attempts to delete the named database. If the database already exists and there are open connections that don\'t close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request\'s result will be null.\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request\'s result will be the connection.\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n readonly keyPath: string | string[];\n readonly multiEntry: boolean;\n /**\n * Returns the name of the index.\n */\n name: string;\n /**\n * Returns the IDBObjectStore the index belongs to.\n */\n readonly objectStore: IDBObjectStore;\n readonly unique: boolean;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(key: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(key: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursor, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n prototype: IDBIndex;\n new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n /**\n * Returns lower bound, or undefined if none.\n */\n readonly lower: any;\n /**\n * Returns true if the lower open flag is set, and false otherwise.\n */\n readonly lowerOpen: boolean;\n /**\n * Returns upper bound, or undefined if none.\n */\n readonly upper: any;\n /**\n * Returns true if the upper open flag is set, and false otherwise.\n */\n readonly upperOpen: boolean;\n /**\n * Returns true if key is included in the range, and false otherwise.\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning only key.\n */\n only(value: any): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBObjectStore {\n /**\n * Returns true if the store has a key generator, and false otherwise.\n */\n readonly autoIncrement: boolean;\n /**\n * Returns a list of the names of indexes in the store.\n */\n readonly indexNames: DOMStringList;\n /**\n * Returns the key path of the store, or null if none.\n */\n readonly keyPath: string | string[];\n /**\n * Returns the name of the store.\n */\n name: string;\n /**\n * Returns the associated transaction.\n */\n readonly transaction: IDBTransaction;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * Deletes all records in store.\n * \n * If successful, request\'s result will be undefined.\n */\n clear(): IDBRequest<undefined>;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * Deletes records in store with the given key or in the given key range in query.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(key: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * Deletes the index in store with the given name.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteIndex(name: string): void;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n index(name: string): IDBIndex;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n prototype: IDBObjectStore;\n new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n "blocked": Event;\n "upgradeneeded": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;\n onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n prototype: IDBOpenDBRequest;\n new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n "error": Event;\n "success": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * Returns "pending" until a request is complete, then returns "done".\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly result: T;\n /**\n * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n /**\n * Returns the transaction\'s connection.\n */\n readonly db: IDBDatabase;\n /**\n * If the transaction was aborted, returns the error (a DOMException) providing the reason.\n */\n readonly error: DOMException;\n /**\n * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.\n */\n readonly mode: IDBTransactionMode;\n /**\n * Returns a list of the names of object stores in the transaction\'s scope. For an upgrade transaction this is all object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.\n */\n abort(): void;\n /**\n * Returns an IDBObjectStore in the transaction\'s scope.\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n readonly newVersion: number | null;\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\n/** The IIRFilterNode interface of the Web Audio API is a AudioNode processor which implements a general infinite impulse response (IIR)  filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed. */\ninterface IIRFilterNode extends AudioNode {\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var IIRFilterNode: {\n prototype: IIRFilterNode;\n new(context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode;\n};\n\ninterface ImageBitmap {\n /**\n * Returns the intrinsic height of the image, in CSS pixels.\n */\n readonly height: number;\n /**\n * Returns the intrinsic width of the image, in CSS pixels.\n */\n readonly width: number;\n /**\n * Releases imageBitmap\'s underlying bitmap data.\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /**\n * Returns the canvas element that the context is bound to.\n */\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n /**\n * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n /**\n * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.\n */\n readonly data: Uint8ClampedArray;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly height: number;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(width: number, height: number): ImageData;\n new(array: Uint8ClampedArray, width: number, height?: number): ImageData;\n};\n\ninterface InnerHTML {\n innerHTML: string;\n}\n\ninterface InputDeviceInfo extends MediaDeviceInfo {\n getCapabilities(): MediaTrackCapabilities;\n}\n\ndeclare var InputDeviceInfo: {\n prototype: InputDeviceInfo;\n new(): InputDeviceInfo;\n};\n\ninterface InputEvent extends UIEvent {\n readonly data: string | null;\n readonly inputType: string;\n readonly isComposing: boolean;\n}\n\ndeclare var InputEvent: {\n prototype: InputEvent;\n new(type: string, eventInitDict?: InputEventInit): InputEvent;\n};\n\n/** provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document\'s viewport. */\ninterface IntersectionObserver {\n readonly root: Element | null;\n readonly rootMargin: string;\n readonly thresholds: ReadonlyArray<number>;\n disconnect(): void;\n observe(target: Element): void;\n takeRecords(): IntersectionObserverEntry[];\n unobserve(target: Element): void;\n}\n\ndeclare var IntersectionObserver: {\n prototype: IntersectionObserver;\n new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver;\n};\n\n/** This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition. */\ninterface IntersectionObserverEntry {\n readonly boundingClientRect: DOMRectReadOnly;\n readonly intersectionRatio: number;\n readonly intersectionRect: DOMRectReadOnly;\n readonly isIntersecting: boolean;\n readonly rootBounds: DOMRectReadOnly | null;\n readonly target: Element;\n readonly time: number;\n}\n\ndeclare var IntersectionObserverEntry: {\n prototype: IntersectionObserverEntry;\n new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;\n};\n\n/** KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard. */\ninterface KeyboardEvent extends UIEvent {\n readonly altKey: boolean;\n /** @deprecated */\n char: string;\n /** @deprecated */\n readonly charCode: number;\n readonly code: string;\n readonly ctrlKey: boolean;\n readonly isComposing: boolean;\n readonly key: string;\n /** @deprecated */\n readonly keyCode: number;\n readonly location: number;\n readonly metaKey: boolean;\n readonly repeat: boolean;\n readonly shiftKey: boolean;\n getModifierState(keyArg: string): boolean;\n readonly DOM_KEY_LOCATION_LEFT: number;\n readonly DOM_KEY_LOCATION_NUMPAD: number;\n readonly DOM_KEY_LOCATION_RIGHT: number;\n readonly DOM_KEY_LOCATION_STANDARD: number;\n}\n\ndeclare var KeyboardEvent: {\n prototype: KeyboardEvent;\n new(type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\n readonly DOM_KEY_LOCATION_LEFT: number;\n readonly DOM_KEY_LOCATION_NUMPAD: number;\n readonly DOM_KEY_LOCATION_RIGHT: number;\n readonly DOM_KEY_LOCATION_STANDARD: number;\n};\n\ninterface KeyframeEffect extends AnimationEffect {\n composite: CompositeOperation;\n iterationComposite: IterationCompositeOperation;\n target: Element | null;\n getKeyframes(): ComputedKeyframe[];\n setKeyframes(keyframes: Keyframe[] | PropertyIndexedKeyframes | null): void;\n}\n\ndeclare var KeyframeEffect: {\n prototype: KeyframeEffect;\n new(target: Element | null, keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeEffectOptions): KeyframeEffect;\n new(source: KeyframeEffect): KeyframeEffect;\n};\n\ninterface LinkStyle {\n readonly sheet: CSSStyleSheet | null;\n}\n\ninterface ListeningStateChangedEvent extends Event {\n readonly label: string;\n readonly state: ListeningState;\n}\n\ndeclare var ListeningStateChangedEvent: {\n prototype: ListeningStateChangedEvent;\n new(): ListeningStateChangedEvent;\n};\n\n/** The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively. */\ninterface Location {\n /**\n * Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.\n */\n readonly ancestorOrigins: DOMStringList;\n /**\n * Returns the Location object\'s URL\'s fragment (includes leading "#" if non-empty).\n * \n * Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").\n */\n hash: string;\n /**\n * Returns the Location object\'s URL\'s host and port (if different from the default port for the scheme).\n * \n * Can be set, to navigate to the same URL with a changed host and port.\n */\n host: string;\n /**\n * Returns the Location object\'s URL\'s host.\n * \n * Can be set, to navigate to the same URL with a changed host.\n */\n hostname: string;\n /**\n * Returns the Location object\'s URL.\n * \n * Can be set, to navigate to the given URL.\n */\n href: string;\n toString(): string;\n /**\n * Returns the Location object\'s URL\'s origin.\n */\n readonly origin: string;\n /**\n * Returns the Location object\'s URL\'s path.\n * \n * Can be set, to navigate to the same URL with a changed path.\n */\n pathname: string;\n /**\n * Returns the Location object\'s URL\'s port.\n * \n * Can be set, to navigate to the same URL with a changed port.\n */\n port: string;\n /**\n * Returns the Location object\'s URL\'s scheme.\n * \n * Can be set, to navigate to the same URL with a changed scheme.\n */\n protocol: string;\n /**\n * Returns the Location object\'s URL\'s query (includes leading "?" if non-empty).\n * \n * Can be set, to navigate to the same URL with a changed query (ignores leading "?").\n */\n search: string;\n /**\n * Navigates to the given URL.\n */\n assign(url: string): void;\n /**\n * Reloads the current page.\n */\n reload(): void;\n /** @deprecated */\n reload(forcedReload: boolean): void;\n /**\n * Removes the current page from the session history and navigates to the given URL.\n */\n replace(url: string): void;\n}\n\ndeclare var Location: {\n prototype: Location;\n new(): Location;\n};\n\ninterface MSAssertion {\n readonly id: string;\n readonly type: MSCredentialType;\n}\n\ndeclare var MSAssertion: {\n prototype: MSAssertion;\n new(): MSAssertion;\n};\n\ninterface MSBlobBuilder {\n append(data: any, endings?: string): void;\n getBlob(contentType?: string): Blob;\n}\n\ndeclare var MSBlobBuilder: {\n prototype: MSBlobBuilder;\n new(): MSBlobBuilder;\n};\n\ninterface MSFIDOCredentialAssertion extends MSAssertion {\n readonly algorithm: string | Algorithm;\n readonly attestation: any;\n readonly publicKey: string;\n readonly transportHints: MSTransportType[];\n}\n\ndeclare var MSFIDOCredentialAssertion: {\n prototype: MSFIDOCredentialAssertion;\n new(): MSFIDOCredentialAssertion;\n};\n\ninterface MSFIDOSignature {\n readonly authnrData: string;\n readonly clientData: string;\n readonly signature: string;\n}\n\ndeclare var MSFIDOSignature: {\n prototype: MSFIDOSignature;\n new(): MSFIDOSignature;\n};\n\ninterface MSFIDOSignatureAssertion extends MSAssertion {\n readonly signature: MSFIDOSignature;\n}\n\ndeclare var MSFIDOSignatureAssertion: {\n prototype: MSFIDOSignatureAssertion;\n new(): MSFIDOSignatureAssertion;\n};\n\ninterface MSFileSaver {\n msSaveBlob(blob: any, defaultName?: string): boolean;\n msSaveOrOpenBlob(blob: any, defaultName?: string): boolean;\n}\n\ninterface MSGesture {\n target: Element;\n addPointer(pointerId: number): void;\n stop(): void;\n}\n\ndeclare var MSGesture: {\n prototype: MSGesture;\n new(): MSGesture;\n};\n\n/** The MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart, MSGestureEnd, MSGestureTap, MSGestureHold, MSGestureChange, and MSInertiaStart. */\ninterface MSGestureEvent extends UIEvent {\n readonly clientX: number;\n readonly clientY: number;\n readonly expansion: number;\n readonly gestureObject: any;\n readonly hwTimestamp: number;\n readonly offsetX: number;\n readonly offsetY: number;\n readonly rotation: number;\n readonly scale: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly translationX: number;\n readonly translationY: number;\n readonly velocityAngular: number;\n readonly velocityExpansion: number;\n readonly velocityX: number;\n readonly velocityY: number;\n initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void;\n readonly MSGESTURE_FLAG_BEGIN: number;\n readonly MSGESTURE_FLAG_CANCEL: number;\n readonly MSGESTURE_FLAG_END: number;\n readonly MSGESTURE_FLAG_INERTIA: number;\n readonly MSGESTURE_FLAG_NONE: number;\n}\n\ndeclare var MSGestureEvent: {\n prototype: MSGestureEvent;\n new(): MSGestureEvent;\n readonly MSGESTURE_FLAG_BEGIN: number;\n readonly MSGESTURE_FLAG_CANCEL: number;\n readonly MSGESTURE_FLAG_END: number;\n readonly MSGESTURE_FLAG_INERTIA: number;\n readonly MSGESTURE_FLAG_NONE: number;\n};\n\n/** The msGraphicsTrust() constructor returns an object that provides properties for info on protected video playback. */\ninterface MSGraphicsTrust {\n readonly constrictionActive: boolean;\n readonly status: string;\n}\n\ndeclare var MSGraphicsTrust: {\n prototype: MSGraphicsTrust;\n new(): MSGraphicsTrust;\n};\n\ninterface MSInputMethodContextEventMap {\n "MSCandidateWindowHide": Event;\n "MSCandidateWindowShow": Event;\n "MSCandidateWindowUpdate": Event;\n}\n\ninterface MSInputMethodContext extends EventTarget {\n readonly compositionEndOffset: number;\n readonly compositionStartOffset: number;\n oncandidatewindowhide: ((this: MSInputMethodContext, ev: Event) => any) | null;\n oncandidatewindowshow: ((this: MSInputMethodContext, ev: Event) => any) | null;\n oncandidatewindowupdate: ((this: MSInputMethodContext, ev: Event) => any) | null;\n readonly target: HTMLElement;\n getCandidateWindowClientRect(): ClientRect;\n getCompositionAlternatives(): string[];\n hasComposition(): boolean;\n isCandidateWindowVisible(): boolean;\n addEventListener<K extends keyof MSInputMethodContextEventMap>(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MSInputMethodContextEventMap>(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MSInputMethodContext: {\n prototype: MSInputMethodContext;\n new(): MSInputMethodContext;\n};\n\ninterface MSMediaKeyError {\n readonly code: number;\n readonly systemCode: number;\n readonly MS_MEDIA_KEYERR_CLIENT: number;\n readonly MS_MEDIA_KEYERR_DOMAIN: number;\n readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number;\n readonly MS_MEDIA_KEYERR_OUTPUT: number;\n readonly MS_MEDIA_KEYERR_SERVICE: number;\n readonly MS_MEDIA_KEYERR_UNKNOWN: number;\n}\n\ndeclare var MSMediaKeyError: {\n prototype: MSMediaKeyError;\n new(): MSMediaKeyError;\n readonly MS_MEDIA_KEYERR_CLIENT: number;\n readonly MS_MEDIA_KEYERR_DOMAIN: number;\n readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number;\n readonly MS_MEDIA_KEYERR_OUTPUT: number;\n readonly MS_MEDIA_KEYERR_SERVICE: number;\n readonly MS_MEDIA_KEYERR_UNKNOWN: number;\n};\n\ninterface MSMediaKeyMessageEvent extends Event {\n readonly destinationURL: string | null;\n readonly message: Uint8Array;\n}\n\ndeclare var MSMediaKeyMessageEvent: {\n prototype: MSMediaKeyMessageEvent;\n new(): MSMediaKeyMessageEvent;\n};\n\ninterface MSMediaKeyNeededEvent extends Event {\n readonly initData: Uint8Array | null;\n}\n\ndeclare var MSMediaKeyNeededEvent: {\n prototype: MSMediaKeyNeededEvent;\n new(): MSMediaKeyNeededEvent;\n};\n\ninterface MSMediaKeySession extends EventTarget {\n readonly error: MSMediaKeyError | null;\n readonly keySystem: string;\n readonly sessionId: string;\n close(): void;\n update(key: Uint8Array): void;\n}\n\ndeclare var MSMediaKeySession: {\n prototype: MSMediaKeySession;\n new(): MSMediaKeySession;\n};\n\ninterface MSMediaKeys {\n readonly keySystem: string;\n createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array | null): MSMediaKeySession;\n}\n\ndeclare var MSMediaKeys: {\n prototype: MSMediaKeys;\n new(keySystem: string): MSMediaKeys;\n isTypeSupported(keySystem: string, type?: string | null): boolean;\n isTypeSupportedWithFeatures(keySystem: string, type?: string | null): string;\n};\n\ninterface MSNavigatorDoNotTrack {\n confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean;\n confirmWebWideTrackingException(args: ExceptionInformation): boolean;\n removeSiteSpecificTrackingException(args: ExceptionInformation): void;\n removeWebWideTrackingException(args: ExceptionInformation): void;\n storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void;\n storeWebWideTrackingException(args: StoreExceptionsInformation): void;\n}\n\ninterface MSPointerEvent extends MouseEvent {\n readonly currentPoint: any;\n readonly height: number;\n readonly hwTimestamp: number;\n readonly intermediatePoints: any;\n readonly isPrimary: boolean;\n readonly pointerId: number;\n readonly pointerType: any;\n readonly pressure: number;\n readonly rotation: number;\n readonly tiltX: number;\n readonly tiltY: number;\n readonly width: number;\n getCurrentPoint(element: Element): void;\n getIntermediatePoints(element: Element): void;\n initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;\n}\n\ndeclare var MSPointerEvent: {\n prototype: MSPointerEvent;\n new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent;\n};\n\ninterface MSStream {\n readonly type: string;\n msClose(): void;\n msDetachStream(): any;\n}\n\ndeclare var MSStream: {\n prototype: MSStream;\n new(): MSStream;\n};\n\n/** The MediaDevicesInfo interface contains information that describes a single media input or output device. */\ninterface MediaDeviceInfo {\n readonly deviceId: string;\n readonly groupId: string;\n readonly kind: MediaDeviceKind;\n readonly label: string;\n toJSON(): any;\n}\n\ndeclare var MediaDeviceInfo: {\n prototype: MediaDeviceInfo;\n new(): MediaDeviceInfo;\n};\n\ninterface MediaDevicesEventMap {\n "devicechange": Event;\n}\n\n/** Provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data. */\ninterface MediaDevices extends EventTarget {\n ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;\n enumerateDevices(): Promise<MediaDeviceInfo[]>;\n getSupportedConstraints(): MediaTrackSupportedConstraints;\n getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;\n addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaDevices: {\n prototype: MediaDevices;\n new(): MediaDevices;\n};\n\n/** A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio. */\ninterface MediaElementAudioSourceNode extends AudioNode {\n readonly mediaElement: HTMLMediaElement;\n}\n\ndeclare var MediaElementAudioSourceNode: {\n prototype: MediaElementAudioSourceNode;\n new(context: AudioContext, options: MediaElementAudioSourceOptions): MediaElementAudioSourceNode;\n};\n\ninterface MediaEncryptedEvent extends Event {\n readonly initData: ArrayBuffer | null;\n readonly initDataType: string;\n}\n\ndeclare var MediaEncryptedEvent: {\n prototype: MediaEncryptedEvent;\n new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent;\n};\n\n/** An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>. */\ninterface MediaError {\n readonly code: number;\n readonly message: string;\n readonly MEDIA_ERR_ABORTED: number;\n readonly MEDIA_ERR_DECODE: number;\n readonly MEDIA_ERR_NETWORK: number;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n}\n\ndeclare var MediaError: {\n prototype: MediaError;\n new(): MediaError;\n readonly MEDIA_ERR_ABORTED: number;\n readonly MEDIA_ERR_DECODE: number;\n readonly MEDIA_ERR_NETWORK: number;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n};\n\n/** This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session. */\ninterface MediaKeyMessageEvent extends Event {\n readonly message: ArrayBuffer;\n readonly messageType: MediaKeyMessageType;\n}\n\ndeclare var MediaKeyMessageEvent: {\n prototype: MediaKeyMessageEvent;\n new(type: string, eventInitDict: MediaKeyMessageEventInit): MediaKeyMessageEvent;\n};\n\ninterface MediaKeySessionEventMap {\n "keystatuseschange": Event;\n "message": MediaKeyMessageEvent;\n}\n\n/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */\ninterface MediaKeySession extends EventTarget {\n readonly closed: Promise<void>;\n readonly expiration: number;\n readonly keyStatuses: MediaKeyStatusMap;\n onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;\n onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent) => any) | null;\n readonly sessionId: string;\n close(): Promise<void>;\n generateRequest(initDataType: string, initData: BufferSource): Promise<void>;\n load(sessionId: string): Promise<boolean>;\n remove(): Promise<void>;\n update(response: BufferSource): Promise<void>;\n addEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaKeySessionEventMap>(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaKeySession: {\n prototype: MediaKeySession;\n new(): MediaKeySession;\n};\n\n/** This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs. */\ninterface MediaKeyStatusMap {\n readonly size: number;\n get(keyId: BufferSource): MediaKeyStatus | undefined;\n has(keyId: BufferSource): boolean;\n forEach(callbackfn: (value: MediaKeyStatus, key: BufferSource, parent: MediaKeyStatusMap) => void, thisArg?: any): void;\n}\n\ndeclare var MediaKeyStatusMap: {\n prototype: MediaKeyStatusMap;\n new(): MediaKeyStatusMap;\n};\n\n/** This EncryptedMediaExtensions API interface provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method. */\ninterface MediaKeySystemAccess {\n readonly keySystem: string;\n createMediaKeys(): Promise<MediaKeys>;\n getConfiguration(): MediaKeySystemConfiguration;\n}\n\ndeclare var MediaKeySystemAccess: {\n prototype: MediaKeySystemAccess;\n new(): MediaKeySystemAccess;\n};\n\n/** This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback. */\ninterface MediaKeys {\n createSession(sessionType?: MediaKeySessionType): MediaKeySession;\n setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;\n}\n\ndeclare var MediaKeys: {\n prototype: MediaKeys;\n new(): MediaKeys;\n};\n\ninterface MediaList {\n readonly length: number;\n mediaText: string;\n toString(): string;\n appendMedium(medium: string): void;\n deleteMedium(medium: string): void;\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var MediaList: {\n prototype: MediaList;\n new(): MediaList;\n};\n\ninterface MediaQueryListEventMap {\n "change": MediaQueryListEvent;\n}\n\n/** Stores information on a media query applied to a document, and handles sending notifications to listeners when the media query state change (i.e. when the media query test starts or stops evaluating to true). */\ninterface MediaQueryList extends EventTarget {\n readonly matches: boolean;\n readonly media: string;\n onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;\n /** @deprecated */\n addListener(listener: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n /** @deprecated */\n removeListener(listener: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n addEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaQueryListEventMap>(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaQueryList: {\n prototype: MediaQueryList;\n new(): MediaQueryList;\n};\n\ninterface MediaQueryListEvent extends Event {\n readonly matches: boolean;\n readonly media: string;\n}\n\ndeclare var MediaQueryListEvent: {\n prototype: MediaQueryListEvent;\n new(type: string, eventInitDict?: MediaQueryListEventInit): MediaQueryListEvent;\n};\n\ninterface MediaSourceEventMap {\n "sourceclose": Event;\n "sourceended": Event;\n "sourceopen": Event;\n}\n\n/** This Media Source Extensions API interface represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent. */\ninterface MediaSource extends EventTarget {\n readonly activeSourceBuffers: SourceBufferList;\n duration: number;\n onsourceclose: ((this: MediaSource, ev: Event) => any) | null;\n onsourceended: ((this: MediaSource, ev: Event) => any) | null;\n onsourceopen: ((this: MediaSource, ev: Event) => any) | null;\n readonly readyState: ReadyState;\n readonly sourceBuffers: SourceBufferList;\n addSourceBuffer(type: string): SourceBuffer;\n clearLiveSeekableRange(): void;\n endOfStream(error?: EndOfStreamError): void;\n removeSourceBuffer(sourceBuffer: SourceBuffer): void;\n setLiveSeekableRange(start: number, end: number): void;\n addEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaSourceEventMap>(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaSource: {\n prototype: MediaSource;\n new(): MediaSource;\n isTypeSupported(type: string): boolean;\n};\n\ninterface MediaStreamEventMap {\n "addtrack": MediaStreamTrackEvent;\n "removetrack": MediaStreamTrackEvent;\n}\n\n/** A stream of media content. A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack. */\ninterface MediaStream extends EventTarget {\n readonly active: boolean;\n readonly id: string;\n onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n addTrack(track: MediaStreamTrack): void;\n clone(): MediaStream;\n getAudioTracks(): MediaStreamTrack[];\n getTrackById(trackId: string): MediaStreamTrack | null;\n getTracks(): MediaStreamTrack[];\n getVideoTracks(): MediaStreamTrack[];\n removeTrack(track: MediaStreamTrack): void;\n addEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStream: {\n prototype: MediaStream;\n new(): MediaStream;\n new(stream: MediaStream): MediaStream;\n new(tracks: MediaStreamTrack[]): MediaStream;\n};\n\ninterface MediaStreamAudioDestinationNode extends AudioNode {\n readonly stream: MediaStream;\n}\n\ndeclare var MediaStreamAudioDestinationNode: {\n prototype: MediaStreamAudioDestinationNode;\n new(context: AudioContext, options?: AudioNodeOptions): MediaStreamAudioDestinationNode;\n};\n\n/** A type of AudioNode which operates as an audio source whose media is received from a MediaStream obtained using the WebRTC or Media Capture and Streams APIs. */\ninterface MediaStreamAudioSourceNode extends AudioNode {\n readonly mediaStream: MediaStream;\n}\n\ndeclare var MediaStreamAudioSourceNode: {\n prototype: MediaStreamAudioSourceNode;\n new(context: AudioContext, options: MediaStreamAudioSourceOptions): MediaStreamAudioSourceNode;\n};\n\ninterface MediaStreamError {\n readonly constraintName: string | null;\n readonly message: string | null;\n readonly name: string;\n}\n\ndeclare var MediaStreamError: {\n prototype: MediaStreamError;\n new(): MediaStreamError;\n};\n\ninterface MediaStreamErrorEvent extends Event {\n readonly error: MediaStreamError | null;\n}\n\ndeclare var MediaStreamErrorEvent: {\n prototype: MediaStreamErrorEvent;\n new(typeArg: string, eventInitDict?: MediaStreamErrorEventInit): MediaStreamErrorEvent;\n};\n\n/** Events that occurs in relation to a MediaStream. Two events of this type can be thrown: addstream and removestream. */\ninterface MediaStreamEvent extends Event {\n readonly stream: MediaStream | null;\n}\n\ndeclare var MediaStreamEvent: {\n prototype: MediaStreamEvent;\n new(type: string, eventInitDict: MediaStreamEventInit): MediaStreamEvent;\n};\n\ninterface MediaStreamTrackEventMap {\n "ended": Event;\n "isolationchange": Event;\n "mute": Event;\n "unmute": Event;\n}\n\n/** A single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well. */\ninterface MediaStreamTrack extends EventTarget {\n enabled: boolean;\n readonly id: string;\n readonly isolated: boolean;\n readonly kind: string;\n readonly label: string;\n readonly muted: boolean;\n onended: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onisolationchange: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n readonly readyState: MediaStreamTrackState;\n applyConstraints(constraints?: MediaTrackConstraints): Promise<void>;\n clone(): MediaStreamTrack;\n getCapabilities(): MediaTrackCapabilities;\n getConstraints(): MediaTrackConstraints;\n getSettings(): MediaTrackSettings;\n stop(): void;\n addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MediaStreamTrack: {\n prototype: MediaStreamTrack;\n new(): MediaStreamTrack;\n};\n\ninterface MediaStreamTrackAudioSourceNode extends AudioNode {\n}\n\ndeclare var MediaStreamTrackAudioSourceNode: {\n prototype: MediaStreamTrackAudioSourceNode;\n new(context: AudioContext, options: MediaStreamTrackAudioSourceOptions): MediaStreamTrackAudioSourceNode;\n};\n\n/** Events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur. */\ninterface MediaStreamTrackEvent extends Event {\n readonly track: MediaStreamTrack;\n}\n\ndeclare var MediaStreamTrackEvent: {\n prototype: MediaStreamTrackEvent;\n new(type: string, eventInitDict: MediaStreamTrackEventInit): MediaStreamTrackEvent;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n /**\n * Returns the first MessagePort object.\n */\n readonly port1: MessagePort;\n /**\n * Returns the second MessagePort object.\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n /**\n * Returns the data of the message.\n */\n readonly data: T;\n /**\n * Returns the last event ID string, for server-sent events.\n */\n readonly lastEventId: string;\n /**\n * Returns the origin of the message, for server-sent events and cross-document messaging.\n */\n readonly origin: string;\n /**\n * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.\n */\n readonly source: MessageEventSource | null;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n /**\n * Disconnects the port, so that it is no longer active.\n */\n close(): void;\n /**\n * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n * \n * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Begins dispatching messages received on the port.\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\n/** Provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object. */\ninterface MimeType {\n /**\n * Returns the MIME type\'s description.\n */\n readonly description: string;\n /**\n * Returns the Plugin object that implements this MIME type.\n */\n readonly enabledPlugin: Plugin;\n /**\n * Returns the MIME type\'s typical file extensions, in a comma-separated list.\n */\n readonly suffixes: string;\n /**\n * Returns the MIME type.\n */\n readonly type: string;\n}\n\ndeclare var MimeType: {\n prototype: MimeType;\n new(): MimeType;\n};\n\n/** Returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes. */\ninterface MimeTypeArray {\n readonly length: number;\n item(index: number): MimeType | null;\n namedItem(name: string): MimeType | null;\n [index: number]: MimeType;\n}\n\ndeclare var MimeTypeArray: {\n prototype: MimeTypeArray;\n new(): MimeTypeArray;\n};\n\n/** Events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown. */\ninterface MouseEvent extends UIEvent {\n readonly altKey: boolean;\n readonly button: number;\n readonly buttons: number;\n readonly clientX: number;\n readonly clientY: number;\n readonly ctrlKey: boolean;\n readonly metaKey: boolean;\n readonly movementX: number;\n readonly movementY: number;\n readonly offsetX: number;\n readonly offsetY: number;\n readonly pageX: number;\n readonly pageY: number;\n readonly relatedTarget: EventTarget | null;\n readonly screenX: number;\n readonly screenY: number;\n readonly shiftKey: boolean;\n readonly x: number;\n readonly y: number;\n getModifierState(keyArg: string): boolean;\n initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void;\n}\n\ndeclare var MouseEvent: {\n prototype: MouseEvent;\n new(type: string, eventInitDict?: MouseEventInit): MouseEvent;\n};\n\n/** Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes. */\ninterface MutationEvent extends Event {\n readonly attrChange: number;\n readonly attrName: string;\n readonly newValue: string;\n readonly prevValue: string;\n readonly relatedNode: Node;\n initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void;\n readonly ADDITION: number;\n readonly MODIFICATION: number;\n readonly REMOVAL: number;\n}\n\ndeclare var MutationEvent: {\n prototype: MutationEvent;\n new(): MutationEvent;\n readonly ADDITION: number;\n readonly MODIFICATION: number;\n readonly REMOVAL: number;\n};\n\n/** Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. */\ninterface MutationObserver {\n /**\n * Stops observer from observing any mutations. Until the observe() method is used again, observer\'s callback will not be invoked.\n */\n disconnect(): void;\n /**\n * Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).\n * \n * The options argument allows for setting mutation observation options via object members.\n */\n observe(target: Node, options?: MutationObserverInit): void;\n /**\n * Empties the record queue and returns what was in there.\n */\n takeRecords(): MutationRecord[];\n}\n\ndeclare var MutationObserver: {\n prototype: MutationObserver;\n new(callback: MutationCallback): MutationObserver;\n};\n\n/** A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver\'s callback. */\ninterface MutationRecord {\n /**\n * Return the nodes added and removed respectively.\n */\n readonly addedNodes: NodeList;\n /**\n * Returns the local name of the changed attribute, and null otherwise.\n */\n readonly attributeName: string | null;\n /**\n * Returns the namespace of the changed attribute, and null otherwise.\n */\n readonly attributeNamespace: string | null;\n /**\n * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.\n */\n readonly nextSibling: Node | null;\n /**\n * The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.\n */\n readonly oldValue: string | null;\n /**\n * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.\n */\n readonly previousSibling: Node | null;\n /**\n * Return the nodes added and removed respectively.\n */\n readonly removedNodes: NodeList;\n /**\n * Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.\n */\n readonly target: Node;\n /**\n * Returns "attributes" if it was an attribute mutation. "characterData" if it was a mutation to a CharacterData node. And "childList" if it was a mutation to the tree of nodes.\n */\n readonly type: MutationRecordType;\n}\n\ndeclare var MutationRecord: {\n prototype: MutationRecord;\n new(): MutationRecord;\n};\n\n/** A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array. */\ninterface NamedNodeMap {\n readonly length: number;\n getNamedItem(qualifiedName: string): Attr | null;\n getNamedItemNS(namespace: string | null, localName: string): Attr | null;\n item(index: number): Attr | null;\n removeNamedItem(qualifiedName: string): Attr;\n removeNamedItemNS(namespace: string | null, localName: string): Attr;\n setNamedItem(attr: Attr): Attr | null;\n setNamedItemNS(attr: Attr): Attr | null;\n [index: number]: Attr;\n}\n\ndeclare var NamedNodeMap: {\n prototype: NamedNodeMap;\n new(): NamedNodeMap;\n};\n\ninterface NavigationPreloadManager {\n disable(): Promise<void>;\n enable(): Promise<void>;\n getState(): Promise<NavigationPreloadState>;\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\n};\n\n/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */\ninterface Navigator extends MSFileSaver, MSNavigatorDoNotTrack, NavigatorAutomationInformation, NavigatorBeacon, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {\n readonly activeVRDisplays: ReadonlyArray<VRDisplay>;\n readonly clipboard: Clipboard;\n readonly credentials: CredentialsContainer;\n readonly doNotTrack: string | null;\n readonly geolocation: Geolocation;\n readonly maxTouchPoints: number;\n readonly mediaDevices: MediaDevices;\n readonly msManipulationViewsEnabled: boolean;\n readonly msMaxTouchPoints: number;\n readonly msPointerEnabled: boolean;\n readonly permissions: Permissions;\n readonly pointerEnabled: boolean;\n readonly serviceWorker: ServiceWorkerContainer;\n getGamepads(): (Gamepad | null)[];\n getUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void;\n getVRDisplays(): Promise<VRDisplay[]>;\n msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;\n sendBeacon(url: string, data?: BodyInit | null): boolean;\n share(data?: ShareData): Promise<void>;\n vibrate(pattern: number | number[]): boolean;\n}\n\ndeclare var Navigator: {\n prototype: Navigator;\n new(): Navigator;\n};\n\ninterface NavigatorAutomationInformation {\n readonly webdriver: boolean;\n}\n\ninterface NavigatorBeacon {\n sendBeacon(url: string, data?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null): boolean;\n}\n\ninterface NavigatorConcurrentHardware {\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorContentUtils {\n registerProtocolHandler(scheme: string, url: string, title: string): void;\n unregisterProtocolHandler(scheme: string, url: string): void;\n}\n\ninterface NavigatorCookies {\n readonly cookieEnabled: boolean;\n}\n\ninterface NavigatorID {\n readonly appCodeName: string;\n readonly appName: string;\n readonly appVersion: string;\n readonly platform: string;\n readonly product: string;\n readonly productSub: string;\n readonly userAgent: string;\n readonly vendor: string;\n readonly vendorSub: string;\n}\n\ninterface NavigatorLanguage {\n readonly language: string;\n readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n readonly mimeTypes: MimeTypeArray;\n readonly plugins: PluginArray;\n javaEnabled(): boolean;\n}\n\ninterface NavigatorStorage {\n readonly storage: StorageManager;\n}\n\n/** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */\ninterface Node extends EventTarget {\n /**\n * Returns node\'s node document\'s document base URL.\n */\n readonly baseURI: string;\n /**\n * Returns the children.\n */\n readonly childNodes: NodeListOf<ChildNode>;\n /**\n * Returns the first child.\n */\n readonly firstChild: ChildNode | null;\n /**\n * Returns true if node is connected and false otherwise.\n */\n readonly isConnected: boolean;\n /**\n * Returns the last child.\n */\n readonly lastChild: ChildNode | null;\n /** @deprecated */\n readonly namespaceURI: string | null;\n /**\n * Returns the next sibling.\n */\n readonly nextSibling: ChildNode | null;\n /**\n * Returns a string appropriate for the type of node.\n */\n readonly nodeName: string;\n /**\n * Returns the type of node.\n */\n readonly nodeType: number;\n nodeValue: string | null;\n /**\n * Returns the node document. Returns null for documents.\n */\n readonly ownerDocument: Document | null;\n /**\n * Returns the parent element.\n */\n readonly parentElement: HTMLElement | null;\n /**\n * Returns the parent.\n */\n readonly parentNode: Node & ParentNode | null;\n /**\n * Returns the previous sibling.\n */\n readonly previousSibling: ChildNode | null;\n textContent: string | null;\n appendChild<T extends Node>(newChild: T): T;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n */\n cloneNode(deep?: boolean): Node;\n /**\n * Returns a bitmask indicating the position of other relative to node.\n */\n compareDocumentPosition(other: Node): number;\n /**\n * Returns true if other is an inclusive descendant of node, and false otherwise.\n */\n contains(other: Node | null): boolean;\n /**\n * Returns node\'s root.\n */\n getRootNode(options?: GetRootNodeOptions): Node;\n /**\n * Returns whether node has children.\n */\n hasChildNodes(): boolean;\n insertBefore<T extends Node>(newChild: T, refChild: Node | null): T;\n isDefaultNamespace(namespace: string | null): boolean;\n /**\n * Returns whether node and otherNode have the same properties.\n */\n isEqualNode(otherNode: Node | null): boolean;\n isSameNode(otherNode: Node | null): boolean;\n lookupNamespaceURI(prefix: string | null): string | null;\n lookupPrefix(namespace: string | null): string | null;\n /**\n * Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.\n */\n normalize(): void;\n removeChild<T extends Node>(oldChild: T): T;\n replaceChild<T extends Node>(newChild: Node, oldChild: T): T;\n readonly ATTRIBUTE_NODE: number;\n /**\n * node is a CDATASection node.\n */\n readonly CDATA_SECTION_NODE: number;\n /**\n * node is a Comment node.\n */\n readonly COMMENT_NODE: number;\n /**\n * node is a DocumentFragment node.\n */\n readonly DOCUMENT_FRAGMENT_NODE: number;\n /**\n * node is a document.\n */\n readonly DOCUMENT_NODE: number;\n /**\n * Set when other is a descendant of node.\n */\n readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n /**\n * Set when other is an ancestor of node.\n */\n readonly DOCUMENT_POSITION_CONTAINS: number;\n /**\n * Set when node and other are not in the same tree.\n */\n readonly DOCUMENT_POSITION_DISCONNECTED: number;\n /**\n * Set when other is following node.\n */\n readonly DOCUMENT_POSITION_FOLLOWING: number;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n /**\n * Set when other is preceding node.\n */\n readonly DOCUMENT_POSITION_PRECEDING: number;\n /**\n * node is a doctype.\n */\n readonly DOCUMENT_TYPE_NODE: number;\n /**\n * node is an element.\n */\n readonly ELEMENT_NODE: number;\n readonly ENTITY_NODE: number;\n readonly ENTITY_REFERENCE_NODE: number;\n readonly NOTATION_NODE: number;\n /**\n * node is a ProcessingInstruction node.\n */\n readonly PROCESSING_INSTRUCTION_NODE: number;\n /**\n * node is a Text node.\n */\n readonly TEXT_NODE: number;\n}\n\ndeclare var Node: {\n prototype: Node;\n new(): Node;\n readonly ATTRIBUTE_NODE: number;\n /**\n * node is a CDATASection node.\n */\n readonly CDATA_SECTION_NODE: number;\n /**\n * node is a Comment node.\n */\n readonly COMMENT_NODE: number;\n /**\n * node is a DocumentFragment node.\n */\n readonly DOCUMENT_FRAGMENT_NODE: number;\n /**\n * node is a document.\n */\n readonly DOCUMENT_NODE: number;\n /**\n * Set when other is a descendant of node.\n */\n readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n /**\n * Set when other is an ancestor of node.\n */\n readonly DOCUMENT_POSITION_CONTAINS: number;\n /**\n * Set when node and other are not in the same tree.\n */\n readonly DOCUMENT_POSITION_DISCONNECTED: number;\n /**\n * Set when other is following node.\n */\n readonly DOCUMENT_POSITION_FOLLOWING: number;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n /**\n * Set when other is preceding node.\n */\n readonly DOCUMENT_POSITION_PRECEDING: number;\n /**\n * node is a doctype.\n */\n readonly DOCUMENT_TYPE_NODE: number;\n /**\n * node is an element.\n */\n readonly ELEMENT_NODE: number;\n readonly ENTITY_NODE: number;\n readonly ENTITY_REFERENCE_NODE: number;\n readonly NOTATION_NODE: number;\n /**\n * node is a ProcessingInstruction node.\n */\n readonly PROCESSING_INSTRUCTION_NODE: number;\n /**\n * node is a Text node.\n */\n readonly TEXT_NODE: number;\n};\n\n/** An object used to filter the nodes in a NodeIterator or TreeWalker. They don\'t know anything about the DOM or how to traverse nodes; they just know how to evaluate a single node against the provided filter. */\ninterface NodeFilter {\n acceptNode(node: Node): number;\n}\n\ndeclare var NodeFilter: {\n readonly FILTER_ACCEPT: number;\n readonly FILTER_REJECT: number;\n readonly FILTER_SKIP: number;\n readonly SHOW_ALL: number;\n readonly SHOW_ATTRIBUTE: number;\n readonly SHOW_CDATA_SECTION: number;\n readonly SHOW_COMMENT: number;\n readonly SHOW_DOCUMENT: number;\n readonly SHOW_DOCUMENT_FRAGMENT: number;\n readonly SHOW_DOCUMENT_TYPE: number;\n readonly SHOW_ELEMENT: number;\n readonly SHOW_ENTITY: number;\n readonly SHOW_ENTITY_REFERENCE: number;\n readonly SHOW_NOTATION: number;\n readonly SHOW_PROCESSING_INSTRUCTION: number;\n readonly SHOW_TEXT: number;\n};\n\n/** An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order. */\ninterface NodeIterator {\n readonly filter: NodeFilter | null;\n readonly pointerBeforeReferenceNode: boolean;\n readonly referenceNode: Node;\n readonly root: Node;\n readonly whatToShow: number;\n detach(): void;\n nextNode(): Node | null;\n previousNode(): Node | null;\n}\n\ndeclare var NodeIterator: {\n prototype: NodeIterator;\n new(): NodeIterator;\n};\n\n/** NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). */\ninterface NodeList {\n /**\n * Returns the number of nodes in the collection.\n */\n readonly length: number;\n /**\n * Returns the node with index index from the collection. The nodes are sorted in tree order.\n */\n item(index: number): Node | null;\n /**\n * Performs the specified action for each node in an list.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: Node, key: number, parent: NodeList) => void, thisArg?: any): void;\n [index: number]: Node;\n}\n\ndeclare var NodeList: {\n prototype: NodeList;\n new(): NodeList;\n};\n\ninterface NodeListOf<TNode extends Node> extends NodeList {\n length: number;\n item(index: number): TNode;\n /**\n * Performs the specified action for each node in an list.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: TNode, key: number, parent: NodeListOf<TNode>) => void, thisArg?: any): void;\n [index: number]: TNode;\n}\n\ninterface NonDocumentTypeChildNode {\n /**\n * Returns the first following sibling that is an element, and null otherwise.\n */\n readonly nextElementSibling: Element | null;\n /**\n * Returns the first preceding sibling that is an element, and null otherwise.\n */\n readonly previousElementSibling: Element | null;\n}\n\ninterface NonElementParentNode {\n /**\n * Returns the first element within node\'s descendants whose ID is elementId.\n */\n getElementById(elementId: string): Element | null;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n readonly actions: ReadonlyArray<NotificationAction>;\n readonly badge: string;\n readonly body: string;\n readonly data: any;\n readonly dir: NotificationDirection;\n readonly icon: string;\n readonly image: string;\n readonly lang: string;\n onclick: ((this: Notification, ev: Event) => any) | null;\n onclose: ((this: Notification, ev: Event) => any) | null;\n onerror: ((this: Notification, ev: Event) => any) | null;\n onshow: ((this: Notification, ev: Event) => any) | null;\n readonly renotify: boolean;\n readonly requireInteraction: boolean;\n readonly silent: boolean;\n readonly tag: string;\n readonly timestamp: number;\n readonly title: string;\n readonly vibrate: ReadonlyArray<number>;\n close(): void;\n addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n prototype: Notification;\n new(title: string, options?: NotificationOptions): Notification;\n readonly maxActions: number;\n readonly permission: NotificationPermission;\n requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;\n};\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: GLenum;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: GLenum;\n}\n\n/** The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The complete event implements this interface. */\ninterface OfflineAudioCompletionEvent extends Event {\n readonly renderedBuffer: AudioBuffer;\n}\n\ndeclare var OfflineAudioCompletionEvent: {\n prototype: OfflineAudioCompletionEvent;\n new(type: string, eventInitDict: OfflineAudioCompletionEventInit): OfflineAudioCompletionEvent;\n};\n\ninterface OfflineAudioContextEventMap extends BaseAudioContextEventMap {\n "complete": OfflineAudioCompletionEvent;\n}\n\n/** An AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn\'t render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer. */\ninterface OfflineAudioContext extends BaseAudioContext {\n readonly length: number;\n oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;\n resume(): Promise<void>;\n startRendering(): Promise<AudioBuffer>;\n suspend(suspendTime: number): Promise<void>;\n addEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OfflineAudioContext: {\n prototype: OfflineAudioContext;\n new(contextOptions: OfflineAudioContextOptions): OfflineAudioContext;\n new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;\n};\n\ninterface OffscreenCanvas extends EventTarget {\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n height: number;\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n width: number;\n /**\n * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n * \n * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn\'t supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.\n * \n * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]\n * \n * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): OffscreenCanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n /**\n * Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image.\n */\n transferToImageBitmap(): ImageBitmap;\n}\n\ndeclare var OffscreenCanvas: {\n prototype: OffscreenCanvas;\n new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n readonly canvas: OffscreenCanvas;\n commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\n};\n\n/** The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone. */\ninterface OscillatorNode extends AudioScheduledSourceNode {\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n type: OscillatorType;\n setPeriodicWave(periodicWave: PeriodicWave): void;\n addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OscillatorNode: {\n prototype: OscillatorNode;\n new(context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode;\n};\n\ninterface OverconstrainedError extends Error {\n constraint: string;\n}\n\ndeclare var OverconstrainedError: {\n prototype: OverconstrainedError;\n new(): OverconstrainedError;\n};\n\ninterface OverflowEvent extends UIEvent {\n readonly horizontalOverflow: boolean;\n readonly orient: number;\n readonly verticalOverflow: boolean;\n readonly BOTH: number;\n readonly HORIZONTAL: number;\n readonly VERTICAL: number;\n}\n\ndeclare var OverflowEvent: {\n prototype: OverflowEvent;\n new(): OverflowEvent;\n readonly BOTH: number;\n readonly HORIZONTAL: number;\n readonly VERTICAL: number;\n};\n\n/** The PageTransitionEvent is fired when a document is being loaded or unloaded. */\ninterface PageTransitionEvent extends Event {\n /**\n * For the pageshow event, returns false if the page is newly being loaded (and the load event will fire). Otherwise, returns true.\n * \n * For the pagehide event, returns false if the page is going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to make the page unsalvageable) the page might be reused if the user navigates back to this page.\n * \n * Things that can cause the page to be unsalvageable include:\n * \n * Listening for beforeunload events\n * Listening for unload events\n * Having iframes that are not salvageable\n * Active WebSocket objects\n * Aborting a Document\n */\n readonly persisted: boolean;\n}\n\ndeclare var PageTransitionEvent: {\n prototype: PageTransitionEvent;\n new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;\n};\n\n/** A PannerNode always has exactly one input and one output: the input can be mono or stereo but the output is always stereo (2 channels); you can\'t have panning effects without at least two audio channels! */\ninterface PannerNode extends AudioNode {\n coneInnerAngle: number;\n coneOuterAngle: number;\n coneOuterGain: number;\n distanceModel: DistanceModelType;\n maxDistance: number;\n readonly orientationX: AudioParam;\n readonly orientationY: AudioParam;\n readonly orientationZ: AudioParam;\n panningModel: PanningModelType;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n refDistance: number;\n rolloffFactor: number;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var PannerNode: {\n prototype: PannerNode;\n new(context: BaseAudioContext, options?: PannerOptions): PannerNode;\n};\n\ninterface ParentNode {\n readonly childElementCount: number;\n /**\n * Returns the child elements.\n */\n readonly children: HTMLCollection;\n /**\n * Returns the first child that is an element, and null otherwise.\n */\n readonly firstElementChild: Element | null;\n /**\n * Returns the last child that is an element, and null otherwise.\n */\n readonly lastElementChild: Element | null;\n /**\n * Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n append(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.\n * \n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n prepend(...nodes: (Node | string)[]): void;\n /**\n * Returns the first element that is a descendant of node that matches selectors.\n */\n querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;\n querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;\n querySelector<E extends Element = Element>(selectors: string): E | null;\n /**\n * Returns all element descendants of node that match selectors.\n */\n querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;\n querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;\n querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;\n}\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n /**\n * Adds to the path the path given by the argument.\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\n/** This Payment Request API interface is used to store shipping or payment address information. */\ninterface PaymentAddress {\n readonly addressLine: string[];\n readonly city: string;\n readonly country: string;\n readonly dependentLocality: string;\n readonly languageCode: string;\n readonly organization: string;\n readonly phone: string;\n readonly postalCode: string;\n readonly recipient: string;\n readonly region: string;\n readonly sortingCode: string;\n toJSON(): any;\n}\n\ndeclare var PaymentAddress: {\n prototype: PaymentAddress;\n new(): PaymentAddress;\n};\n\ninterface PaymentRequestEventMap {\n "shippingaddresschange": Event;\n "shippingoptionchange": Event;\n}\n\n/** This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user. */\ninterface PaymentRequest extends EventTarget {\n readonly id: string;\n onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null;\n onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null;\n readonly shippingAddress: PaymentAddress | null;\n readonly shippingOption: string | null;\n readonly shippingType: PaymentShippingType | null;\n abort(): Promise<void>;\n canMakePayment(): Promise<boolean>;\n show(): Promise<PaymentResponse>;\n addEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PaymentRequest: {\n prototype: PaymentRequest;\n new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest;\n};\n\n/** This Payment Request API interface enables a web page to update the details of a PaymentRequest in response to a user action. */\ninterface PaymentRequestUpdateEvent extends Event {\n updateWith(detailsPromise: PaymentDetailsUpdate | Promise<PaymentDetailsUpdate>): void;\n}\n\ndeclare var PaymentRequestUpdateEvent: {\n prototype: PaymentRequestUpdateEvent;\n new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;\n};\n\n/** This Payment Request API interface is returned after a user selects a payment method and approves a payment request. */\ninterface PaymentResponse {\n readonly details: any;\n readonly methodName: string;\n readonly payerEmail: string | null;\n readonly payerName: string | null;\n readonly payerPhone: string | null;\n readonly requestId: string;\n readonly shippingAddress: PaymentAddress | null;\n readonly shippingOption: string | null;\n complete(result?: PaymentComplete): Promise<void>;\n toJSON(): any;\n}\n\ndeclare var PaymentResponse: {\n prototype: PaymentResponse;\n new(): PaymentResponse;\n};\n\ninterface PerfWidgetExternal {\n readonly activeNetworkRequestCount: number;\n readonly averageFrameTime: number;\n readonly averagePaintTime: number;\n readonly extraInformationEnabled: boolean;\n readonly independentRenderingEnabled: boolean;\n readonly irDisablingContentString: string;\n readonly irStatusAvailable: boolean;\n readonly maxCpuSpeed: number;\n readonly paintRequestsPerSecond: number;\n readonly performanceCounter: number;\n readonly performanceCounterFrequency: number;\n addEventListener(eventType: string, callback: Function): void;\n getMemoryUsage(): number;\n getProcessCpuUsage(): number;\n getRecentCpuUsage(last: number | null): any;\n getRecentFrames(last: number | null): any;\n getRecentMemoryUsage(last: number | null): any;\n getRecentPaintRequests(last: number | null): any;\n removeEventListener(eventType: string, callback: Function): void;\n repositionWindow(x: number, y: number): void;\n resizeWindow(width: number, height: number): void;\n}\n\ndeclare var PerfWidgetExternal: {\n prototype: PerfWidgetExternal;\n new(): PerfWidgetExternal;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/** Provides access to performance-related information for the current page. It\'s part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n /** @deprecated */\n readonly navigation: PerformanceNavigation;\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n readonly timeOrigin: number;\n /** @deprecated */\n readonly timing: PerformanceTiming;\n clearMarks(markName?: string): void;\n clearMeasures(measureName?: string): void;\n clearResourceTimings(): void;\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n mark(markName: string): void;\n measure(measureName: string, startMark?: string, endMark?: string): void;\n now(): number;\n setResourceTimingBufferSize(maxSize: number): void;\n toJSON(): any;\n addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n prototype: Performance;\n new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n readonly duration: number;\n readonly entryType: string;\n readonly name: string;\n readonly startTime: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser\'s performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser\'s performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\n/** The legacy PerformanceNavigation interface represents information about how the navigation to the current document was done. */\ninterface PerformanceNavigation {\n readonly redirectCount: number;\n readonly type: number;\n toJSON(): any;\n readonly TYPE_BACK_FORWARD: number;\n readonly TYPE_NAVIGATE: number;\n readonly TYPE_RELOAD: number;\n readonly TYPE_RESERVED: number;\n}\n\ndeclare var PerformanceNavigation: {\n prototype: PerformanceNavigation;\n new(): PerformanceNavigation;\n readonly TYPE_BACK_FORWARD: number;\n readonly TYPE_NAVIGATE: number;\n readonly TYPE_RELOAD: number;\n readonly TYPE_RESERVED: number;\n};\n\n/** Provides methods and properties to store and retrieve metrics regarding the browser\'s document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document. */\ninterface PerformanceNavigationTiming extends PerformanceResourceTiming {\n readonly domComplete: number;\n readonly domContentLoadedEventEnd: number;\n readonly domContentLoadedEventStart: number;\n readonly domInteractive: number;\n readonly loadEventEnd: number;\n readonly loadEventStart: number;\n readonly redirectCount: number;\n readonly type: NavigationType;\n readonly unloadEventEnd: number;\n readonly unloadEventStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceNavigationTiming: {\n prototype: PerformanceNavigationTiming;\n new(): PerformanceNavigationTiming;\n};\n\ninterface PerformanceObserver {\n disconnect(): void;\n observe(options?: PerformanceObserverInit): void;\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n readonly connectEnd: number;\n readonly connectStart: number;\n readonly decodedBodySize: number;\n readonly domainLookupEnd: number;\n readonly domainLookupStart: number;\n readonly encodedBodySize: number;\n readonly fetchStart: number;\n readonly initiatorType: string;\n readonly nextHopProtocol: string;\n readonly redirectEnd: number;\n readonly redirectStart: number;\n readonly requestStart: number;\n readonly responseEnd: number;\n readonly responseStart: number;\n readonly secureConnectionStart: number;\n readonly transferSize: number;\n readonly workerStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\n/** A legacy interface kept for backwards compatibility and contains properties that offer performance timing information for various events which occur during the loading and use of the current page. You get a PerformanceTiming object describing your page using the window.performance.timing property. */\ninterface PerformanceTiming {\n readonly connectEnd: number;\n readonly connectStart: number;\n readonly domComplete: number;\n readonly domContentLoadedEventEnd: number;\n readonly domContentLoadedEventStart: number;\n readonly domInteractive: number;\n readonly domLoading: number;\n readonly domainLookupEnd: number;\n readonly domainLookupStart: number;\n readonly fetchStart: number;\n readonly loadEventEnd: number;\n readonly loadEventStart: number;\n readonly navigationStart: number;\n readonly redirectEnd: number;\n readonly redirectStart: number;\n readonly requestStart: number;\n readonly responseEnd: number;\n readonly responseStart: number;\n readonly secureConnectionStart: number;\n readonly unloadEventEnd: number;\n readonly unloadEventStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceTiming: {\n prototype: PerformanceTiming;\n new(): PerformanceTiming;\n};\n\n/** PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave(). */\ninterface PeriodicWave {\n}\n\ndeclare var PeriodicWave: {\n prototype: PeriodicWave;\n new(context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave;\n};\n\ninterface PermissionRequest extends DeferredPermissionRequest {\n readonly state: MSWebViewPermissionState;\n defer(): void;\n}\n\ndeclare var PermissionRequest: {\n prototype: PermissionRequest;\n new(): PermissionRequest;\n};\n\ninterface PermissionRequestedEvent extends Event {\n readonly permissionRequest: PermissionRequest;\n}\n\ndeclare var PermissionRequestedEvent: {\n prototype: PermissionRequestedEvent;\n new(): PermissionRequestedEvent;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n readonly state: PermissionState;\n addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n prototype: PermissionStatus;\n new(): PermissionStatus;\n};\n\ninterface Permissions {\n query(permissionDesc: PermissionDescriptor | DevicePermissionDescriptor | MidiPermissionDescriptor | PushPermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/** Provides information about a browser plugin. */\ninterface Plugin {\n /**\n * Returns the plugin\'s description.\n */\n readonly description: string;\n /**\n * Returns the plugin library\'s filename, if applicable on the current platform.\n */\n readonly filename: string;\n /**\n * Returns the number of MIME types, represented by MimeType objects, supported by the plugin.\n */\n readonly length: number;\n /**\n * Returns the plugin\'s name.\n */\n readonly name: string;\n /**\n * Returns the specified MimeType object.\n */\n item(index: number): MimeType | null;\n namedItem(name: string): MimeType | null;\n [index: number]: MimeType;\n}\n\ndeclare var Plugin: {\n prototype: Plugin;\n new(): Plugin;\n};\n\n/** Used to store a list of Plugin objects describing the available plugins; it\'s returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods. */\ninterface PluginArray {\n readonly length: number;\n item(index: number): Plugin | null;\n namedItem(name: string): Plugin | null;\n refresh(reload?: boolean): void;\n [index: number]: Plugin;\n}\n\ndeclare var PluginArray: {\n prototype: PluginArray;\n new(): PluginArray;\n};\n\n/** The state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc. */\ninterface PointerEvent extends MouseEvent {\n readonly height: number;\n readonly isPrimary: boolean;\n readonly pointerId: number;\n readonly pointerType: string;\n readonly pressure: number;\n readonly tangentialPressure: number;\n readonly tiltX: number;\n readonly tiltY: number;\n readonly twist: number;\n readonly width: number;\n}\n\ndeclare var PointerEvent: {\n prototype: PointerEvent;\n new(type: string, eventInitDict?: PointerEventInit): PointerEvent;\n};\n\n/** PopStateEvent is an event handler for the popstate event on the window. */\ninterface PopStateEvent extends Event {\n /**\n * Returns a copy of the information that was provided to pushState() or replaceState().\n */\n readonly state: any;\n}\n\ndeclare var PopStateEvent: {\n prototype: PopStateEvent;\n new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;\n};\n\n/** The position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed. */\ninterface Position {\n readonly coords: Coordinates;\n readonly timestamp: number;\n}\n\n/** The reason of an error occurring when using the geolocating device. */\ninterface PositionError {\n readonly code: number;\n readonly message: string;\n readonly PERMISSION_DENIED: number;\n readonly POSITION_UNAVAILABLE: number;\n readonly TIMEOUT: number;\n}\n\n/** A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don\'t recognize them. */\ninterface ProcessingInstruction extends CharacterData, LinkStyle {\n readonly ownerDocument: Document;\n readonly target: string;\n}\n\ndeclare var ProcessingInstruction: {\n prototype: ProcessingInstruction;\n new(): ProcessingInstruction;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n readonly lengthComputable: boolean;\n readonly loaded: number;\n readonly target: T | null;\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n readonly promise: Promise<any>;\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\ninterface PublicKeyCredential extends Credential {\n readonly rawId: ArrayBuffer;\n readonly response: AuthenticatorResponse;\n getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n}\n\ndeclare var PublicKeyCredential: {\n prototype: PublicKeyCredential;\n new(): PublicKeyCredential;\n isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;\n};\n\n/** This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/** This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service. */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly expirationTime: number | null;\n readonly options: PushSubscriptionOptions;\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n toJSON(): PushSubscriptionJSON;\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface RTCCertificate {\n readonly expires: number;\n getFingerprints(): RTCDtlsFingerprint[];\n}\n\ndeclare var RTCCertificate: {\n prototype: RTCCertificate;\n new(): RTCCertificate;\n getSupportedAlgorithms(): AlgorithmIdentifier[];\n};\n\ninterface RTCDTMFSenderEventMap {\n "tonechange": RTCDTMFToneChangeEvent;\n}\n\ninterface RTCDTMFSender extends EventTarget {\n readonly canInsertDTMF: boolean;\n ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n readonly toneBuffer: string;\n insertDTMF(tones: string, duration?: number, interToneGap?: number): void;\n addEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDTMFSenderEventMap>(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDTMFSender: {\n prototype: RTCDTMFSender;\n new(): RTCDTMFSender;\n};\n\n/** Events sent to indicate that DTMF tones have started or finished playing. This interface is used by the tonechange event. */\ninterface RTCDTMFToneChangeEvent extends Event {\n readonly tone: string;\n}\n\ndeclare var RTCDTMFToneChangeEvent: {\n prototype: RTCDTMFToneChangeEvent;\n new(type: string, eventInitDict: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent;\n};\n\ninterface RTCDataChannelEventMap {\n "bufferedamountlow": Event;\n "close": Event;\n "error": RTCErrorEvent;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface RTCDataChannel extends EventTarget {\n binaryType: string;\n readonly bufferedAmount: number;\n bufferedAmountLowThreshold: number;\n readonly id: number | null;\n readonly label: string;\n readonly maxPacketLifeTime: number | null;\n readonly maxRetransmits: number | null;\n readonly negotiated: boolean;\n onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;\n onclose: ((this: RTCDataChannel, ev: Event) => any) | null;\n onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null;\n onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;\n onopen: ((this: RTCDataChannel, ev: Event) => any) | null;\n readonly ordered: boolean;\n readonly priority: RTCPriorityType;\n readonly protocol: string;\n readonly readyState: RTCDataChannelState;\n close(): void;\n send(data: string): void;\n send(data: Blob): void;\n send(data: ArrayBuffer): void;\n send(data: ArrayBufferView): void;\n addEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDataChannel: {\n prototype: RTCDataChannel;\n new(): RTCDataChannel;\n};\n\ninterface RTCDataChannelEvent extends Event {\n readonly channel: RTCDataChannel;\n}\n\ndeclare var RTCDataChannelEvent: {\n prototype: RTCDataChannelEvent;\n new(type: string, eventInitDict: RTCDataChannelEventInit): RTCDataChannelEvent;\n};\n\ninterface RTCDtlsTransportEventMap {\n "error": RTCErrorEvent;\n "statechange": Event;\n}\n\ninterface RTCDtlsTransport extends EventTarget {\n readonly iceTransport: RTCIceTransport;\n onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;\n onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n readonly state: RTCDtlsTransportState;\n getRemoteCertificates(): ArrayBuffer[];\n addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDtlsTransport: {\n prototype: RTCDtlsTransport;\n new(): RTCDtlsTransport;\n};\n\ninterface RTCDtlsTransportStateChangedEvent extends Event {\n readonly state: RTCDtlsTransportState;\n}\n\ndeclare var RTCDtlsTransportStateChangedEvent: {\n prototype: RTCDtlsTransportStateChangedEvent;\n new(): RTCDtlsTransportStateChangedEvent;\n};\n\ninterface RTCDtmfSenderEventMap {\n "tonechange": RTCDTMFToneChangeEvent;\n}\n\ninterface RTCDtmfSender extends EventTarget {\n readonly canInsertDTMF: boolean;\n readonly duration: number;\n readonly interToneGap: number;\n ontonechange: ((this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n readonly sender: RTCRtpSender;\n readonly toneBuffer: string;\n insertDTMF(tones: string, duration?: number, interToneGap?: number): void;\n addEventListener<K extends keyof RTCDtmfSenderEventMap>(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCDtmfSenderEventMap>(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCDtmfSender: {\n prototype: RTCDtmfSender;\n new(sender: RTCRtpSender): RTCDtmfSender;\n};\n\ninterface RTCError extends DOMException {\n readonly errorDetail: RTCErrorDetailType;\n readonly httpRequestStatusCode: number | null;\n readonly receivedAlert: number | null;\n readonly sctpCauseCode: number | null;\n readonly sdpLineNumber: number | null;\n readonly sentAlert: number | null;\n}\n\ndeclare var RTCError: {\n prototype: RTCError;\n new(init: RTCErrorInit, message?: string): RTCError;\n};\n\ninterface RTCErrorEvent extends Event {\n readonly error: RTCError;\n}\n\ndeclare var RTCErrorEvent: {\n prototype: RTCErrorEvent;\n new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent;\n};\n\n/** The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection. */\ninterface RTCIceCandidate {\n readonly candidate: string;\n readonly component: RTCIceComponent | null;\n readonly foundation: string | null;\n readonly port: number | null;\n readonly priority: number | null;\n readonly protocol: RTCIceProtocol | null;\n readonly relatedAddress: string | null;\n readonly relatedPort: number | null;\n readonly sdpMLineIndex: number | null;\n readonly sdpMid: string | null;\n readonly tcpType: RTCIceTcpCandidateType | null;\n readonly type: RTCIceCandidateType | null;\n readonly usernameFragment: string | null;\n toJSON(): RTCIceCandidateInit;\n}\n\ndeclare var RTCIceCandidate: {\n prototype: RTCIceCandidate;\n new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;\n};\n\ninterface RTCIceCandidatePairChangedEvent extends Event {\n readonly pair: RTCIceCandidatePair;\n}\n\ndeclare var RTCIceCandidatePairChangedEvent: {\n prototype: RTCIceCandidatePairChangedEvent;\n new(): RTCIceCandidatePairChangedEvent;\n};\n\ninterface RTCIceGathererEventMap {\n "error": Event;\n "localcandidate": RTCIceGathererEvent;\n}\n\ninterface RTCIceGatherer extends RTCStatsProvider {\n readonly component: RTCIceComponent;\n onerror: ((this: RTCIceGatherer, ev: Event) => any) | null;\n onlocalcandidate: ((this: RTCIceGatherer, ev: RTCIceGathererEvent) => any) | null;\n createAssociatedGatherer(): RTCIceGatherer;\n getLocalCandidates(): RTCIceCandidateDictionary[];\n getLocalParameters(): RTCIceParameters;\n addEventListener<K extends keyof RTCIceGathererEventMap>(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCIceGathererEventMap>(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCIceGatherer: {\n prototype: RTCIceGatherer;\n new(options: RTCIceGatherOptions): RTCIceGatherer;\n};\n\ninterface RTCIceGathererEvent extends Event {\n readonly candidate: RTCIceCandidateDictionary | RTCIceCandidateComplete;\n}\n\ndeclare var RTCIceGathererEvent: {\n prototype: RTCIceGathererEvent;\n new(): RTCIceGathererEvent;\n};\n\ninterface RTCIceTransportEventMap {\n "gatheringstatechange": Event;\n "selectedcandidatepairchange": Event;\n "statechange": Event;\n}\n\n/** Provides access to information about the ICE transport layer over which the data is being sent and received. */\ninterface RTCIceTransport extends EventTarget {\n readonly component: RTCIceComponent;\n readonly gatheringState: RTCIceGathererState;\n ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;\n onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n readonly role: RTCIceRole;\n readonly state: RTCIceTransportState;\n getLocalCandidates(): RTCIceCandidate[];\n getLocalParameters(): RTCIceParameters | null;\n getRemoteCandidates(): RTCIceCandidate[];\n getRemoteParameters(): RTCIceParameters | null;\n getSelectedCandidatePair(): RTCIceCandidatePair | null;\n addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCIceTransport: {\n prototype: RTCIceTransport;\n new(): RTCIceTransport;\n};\n\ninterface RTCIceTransportStateChangedEvent extends Event {\n readonly state: RTCIceTransportState;\n}\n\ndeclare var RTCIceTransportStateChangedEvent: {\n prototype: RTCIceTransportStateChangedEvent;\n new(): RTCIceTransportStateChangedEvent;\n};\n\ninterface RTCIdentityAssertion {\n idp: string;\n name: string;\n}\n\ndeclare var RTCIdentityAssertion: {\n prototype: RTCIdentityAssertion;\n new(idp: string, name: string): RTCIdentityAssertion;\n};\n\ninterface RTCPeerConnectionEventMap {\n "connectionstatechange": Event;\n "datachannel": RTCDataChannelEvent;\n "icecandidate": RTCPeerConnectionIceEvent;\n "icecandidateerror": RTCPeerConnectionIceErrorEvent;\n "iceconnectionstatechange": Event;\n "icegatheringstatechange": Event;\n "negotiationneeded": Event;\n "signalingstatechange": Event;\n "statsended": RTCStatsEvent;\n "track": RTCTrackEvent;\n}\n\n/** A WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it\'s no longer needed. */\ninterface RTCPeerConnection extends EventTarget {\n readonly canTrickleIceCandidates: boolean | null;\n readonly connectionState: RTCPeerConnectionState;\n readonly currentLocalDescription: RTCSessionDescription | null;\n readonly currentRemoteDescription: RTCSessionDescription | null;\n readonly iceConnectionState: RTCIceConnectionState;\n readonly iceGatheringState: RTCIceGatheringState;\n readonly idpErrorInfo: string | null;\n readonly idpLoginUrl: string | null;\n readonly localDescription: RTCSessionDescription | null;\n onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;\n onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;\n onicecandidateerror: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceErrorEvent) => any) | null;\n oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n onstatsended: ((this: RTCPeerConnection, ev: RTCStatsEvent) => any) | null;\n ontrack: ((this: RTCPeerConnection, ev: RTCTrackEvent) => any) | null;\n readonly peerIdentity: Promise<RTCIdentityAssertion>;\n readonly pendingLocalDescription: RTCSessionDescription | null;\n readonly pendingRemoteDescription: RTCSessionDescription | null;\n readonly remoteDescription: RTCSessionDescription | null;\n readonly sctp: RTCSctpTransport | null;\n readonly signalingState: RTCSignalingState;\n addIceCandidate(candidate: RTCIceCandidateInit | RTCIceCandidate): Promise<void>;\n addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;\n addTransceiver(trackOrKind: MediaStreamTrack | string, init?: RTCRtpTransceiverInit): RTCRtpTransceiver;\n close(): void;\n createAnswer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n createDataChannel(label: string, dataChannelDict?: RTCDataChannelInit): RTCDataChannel;\n createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n getConfiguration(): RTCConfiguration;\n getIdentityAssertion(): Promise<string>;\n getReceivers(): RTCRtpReceiver[];\n getSenders(): RTCRtpSender[];\n getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>;\n getTransceivers(): RTCRtpTransceiver[];\n removeTrack(sender: RTCRtpSender): void;\n setConfiguration(configuration: RTCConfiguration): void;\n setIdentityProvider(provider: string, options?: RTCIdentityProviderOptions): void;\n setLocalDescription(description: RTCSessionDescriptionInit): Promise<void>;\n setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>;\n addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCPeerConnection: {\n prototype: RTCPeerConnection;\n new(configuration?: RTCConfiguration): RTCPeerConnection;\n generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;\n getDefaultIceServers(): RTCIceServer[];\n};\n\ninterface RTCPeerConnectionIceErrorEvent extends Event {\n readonly errorCode: number;\n readonly errorText: string;\n readonly hostCandidate: string;\n readonly url: string;\n}\n\ndeclare var RTCPeerConnectionIceErrorEvent: {\n prototype: RTCPeerConnectionIceErrorEvent;\n new(type: string, eventInitDict: RTCPeerConnectionIceErrorEventInit): RTCPeerConnectionIceErrorEvent;\n};\n\n/** Events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection. Only one event is of this type: icecandidate. */\ninterface RTCPeerConnectionIceEvent extends Event {\n readonly candidate: RTCIceCandidate | null;\n readonly url: string | null;\n}\n\ndeclare var RTCPeerConnectionIceEvent: {\n prototype: RTCPeerConnectionIceEvent;\n new(type: string, eventInitDict?: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent;\n};\n\n/** This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection. */\ninterface RTCRtpReceiver {\n readonly rtcpTransport: RTCDtlsTransport | null;\n readonly track: MediaStreamTrack;\n readonly transport: RTCDtlsTransport | null;\n getContributingSources(): RTCRtpContributingSource[];\n getParameters(): RTCRtpReceiveParameters;\n getStats(): Promise<RTCStatsReport>;\n getSynchronizationSources(): RTCRtpSynchronizationSource[];\n}\n\ndeclare var RTCRtpReceiver: {\n prototype: RTCRtpReceiver;\n new(): RTCRtpReceiver;\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\n/** Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. */\ninterface RTCRtpSender {\n readonly dtmf: RTCDTMFSender | null;\n readonly rtcpTransport: RTCDtlsTransport | null;\n readonly track: MediaStreamTrack | null;\n readonly transport: RTCDtlsTransport | null;\n getParameters(): RTCRtpSendParameters;\n getStats(): Promise<RTCStatsReport>;\n replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;\n setParameters(parameters: RTCRtpSendParameters): Promise<void>;\n setStreams(...streams: MediaStream[]): void;\n}\n\ndeclare var RTCRtpSender: {\n prototype: RTCRtpSender;\n new(): RTCRtpSender;\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\ninterface RTCRtpTransceiver {\n readonly currentDirection: RTCRtpTransceiverDirection | null;\n direction: RTCRtpTransceiverDirection;\n readonly mid: string | null;\n readonly receiver: RTCRtpReceiver;\n readonly sender: RTCRtpSender;\n setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;\n stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n prototype: RTCRtpTransceiver;\n new(): RTCRtpTransceiver;\n};\n\ninterface RTCSctpTransportEventMap {\n "statechange": Event;\n}\n\ninterface RTCSctpTransport extends EventTarget {\n readonly maxChannels: number | null;\n readonly maxMessageSize: number;\n onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;\n readonly state: RTCSctpTransportState;\n readonly transport: RTCDtlsTransport;\n addEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCSctpTransport: {\n prototype: RTCSctpTransport;\n new(): RTCSctpTransport;\n};\n\n/** One end of a connection—or potential connection—and how it\'s configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. */\ninterface RTCSessionDescription {\n readonly sdp: string;\n readonly type: RTCSdpType;\n toJSON(): any;\n}\n\ndeclare var RTCSessionDescription: {\n prototype: RTCSessionDescription;\n new(descriptionInitDict?: RTCSessionDescriptionInit): RTCSessionDescription;\n};\n\ninterface RTCSrtpSdesTransportEventMap {\n "error": Event;\n}\n\ninterface RTCSrtpSdesTransport extends EventTarget {\n onerror: ((this: RTCSrtpSdesTransport, ev: Event) => any) | null;\n readonly transport: RTCIceTransport;\n addEventListener<K extends keyof RTCSrtpSdesTransportEventMap>(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCSrtpSdesTransportEventMap>(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCSrtpSdesTransport: {\n prototype: RTCSrtpSdesTransport;\n new(transport: RTCIceTransport, encryptParameters: RTCSrtpSdesParameters, decryptParameters: RTCSrtpSdesParameters): RTCSrtpSdesTransport;\n getLocalParameters(): RTCSrtpSdesParameters[];\n};\n\ninterface RTCSsrcConflictEvent extends Event {\n readonly ssrc: number;\n}\n\ndeclare var RTCSsrcConflictEvent: {\n prototype: RTCSsrcConflictEvent;\n new(): RTCSsrcConflictEvent;\n};\n\ninterface RTCStatsEvent extends Event {\n readonly report: RTCStatsReport;\n}\n\ndeclare var RTCStatsEvent: {\n prototype: RTCStatsEvent;\n new(type: string, eventInitDict: RTCStatsEventInit): RTCStatsEvent;\n};\n\ninterface RTCStatsProvider extends EventTarget {\n getStats(): Promise<RTCStatsReport>;\n msGetStats(): Promise<RTCStatsReport>;\n}\n\ndeclare var RTCStatsProvider: {\n prototype: RTCStatsProvider;\n new(): RTCStatsProvider;\n};\n\ninterface RTCStatsReport {\n forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void;\n}\n\ndeclare var RTCStatsReport: {\n prototype: RTCStatsReport;\n new(): RTCStatsReport;\n};\n\ninterface RTCTrackEvent extends Event {\n readonly receiver: RTCRtpReceiver;\n readonly streams: ReadonlyArray<MediaStream>;\n readonly track: MediaStreamTrack;\n readonly transceiver: RTCRtpTransceiver;\n}\n\ndeclare var RTCTrackEvent: {\n prototype: RTCTrackEvent;\n new(type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent;\n};\n\ninterface RadioNodeList extends NodeList {\n value: string;\n}\n\ndeclare var RadioNodeList: {\n prototype: RadioNodeList;\n new(): RadioNodeList;\n};\n\ninterface RandomSource {\n getRandomValues<T extends Int8Array | Uint8ClampedArray | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array>(array: T): T;\n}\n\ndeclare var RandomSource: {\n prototype: RandomSource;\n new(): RandomSource;\n};\n\n/** A fragment of a document that can contain nodes and parts of text nodes. */\ninterface Range extends AbstractRange {\n /**\n * Returns the node, furthest away from the document, that is an ancestor of both range\'s start node and end node.\n */\n readonly commonAncestorContainer: Node;\n cloneContents(): DocumentFragment;\n cloneRange(): Range;\n collapse(toStart?: boolean): void;\n compareBoundaryPoints(how: number, sourceRange: Range): number;\n /**\n * Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.\n */\n comparePoint(node: Node, offset: number): number;\n createContextualFragment(fragment: string): DocumentFragment;\n deleteContents(): void;\n detach(): void;\n extractContents(): DocumentFragment;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n insertNode(node: Node): void;\n /**\n * Returns whether range intersects node.\n */\n intersectsNode(node: Node): boolean;\n isPointInRange(node: Node, offset: number): boolean;\n selectNode(node: Node): void;\n selectNodeContents(node: Node): void;\n setEnd(node: Node, offset: number): void;\n setEndAfter(node: Node): void;\n setEndBefore(node: Node): void;\n setStart(node: Node, offset: number): void;\n setStartAfter(node: Node): void;\n setStartBefore(node: Node): void;\n surroundContents(newParent: Node): void;\n toString(): string;\n readonly END_TO_END: number;\n readonly END_TO_START: number;\n readonly START_TO_END: number;\n readonly START_TO_START: number;\n}\n\ndeclare var Range: {\n prototype: Range;\n new(): Range;\n readonly END_TO_END: number;\n readonly END_TO_START: number;\n readonly START_TO_END: number;\n readonly START_TO_START: number;\n toString(): string;\n};\n\ninterface ReadableByteStreamController {\n readonly byobRequest: ReadableStreamBYOBRequest | undefined;\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: ArrayBufferView): void;\n error(error?: any): void;\n}\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n readonly locked: boolean;\n cancel(reason?: any): Promise<void>;\n getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n pipeThrough<T>({ writable, readable }: { writable: WritableStream<R>, readable: ReadableStream<T> }, options?: PipeOptions): ReadableStream<T>;\n pipeTo(dest: WritableStream<R>, options?: PipeOptions): Promise<void>;\n tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number, size?: undefined }): ReadableStream<Uint8Array>;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamBYOBRequest {\n readonly view: ArrayBufferView;\n respond(bytesWritten: number): void;\n respondWithNewView(view: ArrayBufferView): void;\n}\n\ninterface ReadableStreamDefaultController<R = any> {\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: R): void;\n error(error?: any): void;\n}\n\ninterface ReadableStreamDefaultReader<R = any> {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamReader<R = any> {\n cancel(): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamReader: {\n prototype: ReadableStreamReader;\n new(): ReadableStreamReader;\n};\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n /**\n * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser\'s cache when fetching.\n */\n readonly cache: RequestCache;\n /**\n * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.\n */\n readonly credentials: RequestCredentials;\n /**\n * Returns the kind of resource requested by request, e.g., "document" or "script".\n */\n readonly destination: RequestDestination;\n /**\n * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.\n */\n readonly headers: Headers;\n /**\n * Returns request\'s subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]\n */\n readonly integrity: string;\n /**\n * Returns a boolean indicating whether or not request is for a history navigation (a.k.a. back-foward navigation).\n */\n readonly isHistoryNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request is for a reload navigation.\n */\n readonly isReloadNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request can outlive the global in which it was created.\n */\n readonly keepalive: boolean;\n /**\n * Returns request\'s HTTP method, which is "GET" by default.\n */\n readonly method: string;\n /**\n * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.\n */\n readonly mode: RequestMode;\n /**\n * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.\n */\n readonly redirect: RequestRedirect;\n /**\n * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global\'s default. This is used during fetching to determine the value of the `Referer` header of the request being made.\n */\n readonly referrer: string;\n /**\n * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer.\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.\n */\n readonly signal: AbortSignal;\n /**\n * Returns the URL of request as a string.\n */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo, init?: RequestInit): Request;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n readonly headers: Headers;\n readonly ok: boolean;\n readonly redirected: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly trailer: Promise<Headers>;\n readonly type: ResponseType;\n readonly url: string;\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n error(): Response;\n redirect(url: string, status?: number): Response;\n};\n\n/** Provides access to the properties of <a> element, as well as methods to manipulate them. */\ninterface SVGAElement extends SVGGraphicsElement, SVGURIReference {\n readonly target: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAElement: {\n prototype: SVGAElement;\n new(): SVGAElement;\n};\n\n/** Used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only. */\ninterface SVGAngle {\n readonly unitType: number;\n value: number;\n valueAsString: string;\n valueInSpecifiedUnits: number;\n convertToSpecifiedUnits(unitType: number): void;\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n readonly SVG_ANGLETYPE_DEG: number;\n readonly SVG_ANGLETYPE_GRAD: number;\n readonly SVG_ANGLETYPE_RAD: number;\n readonly SVG_ANGLETYPE_UNKNOWN: number;\n readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n}\n\ndeclare var SVGAngle: {\n prototype: SVGAngle;\n new(): SVGAngle;\n readonly SVG_ANGLETYPE_DEG: number;\n readonly SVG_ANGLETYPE_GRAD: number;\n readonly SVG_ANGLETYPE_RAD: number;\n readonly SVG_ANGLETYPE_UNKNOWN: number;\n readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n};\n\ninterface SVGAnimateElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateElement: {\n prototype: SVGAnimateElement;\n new(): SVGAnimateElement;\n};\n\ninterface SVGAnimateMotionElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateMotionElement: {\n prototype: SVGAnimateMotionElement;\n new(): SVGAnimateMotionElement;\n};\n\ninterface SVGAnimateTransformElement extends SVGAnimationElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimateTransformElement: {\n prototype: SVGAnimateTransformElement;\n new(): SVGAnimateTransformElement;\n};\n\n/** Used for attributes of basic type <angle> which can be animated. */\ninterface SVGAnimatedAngle {\n readonly animVal: SVGAngle;\n readonly baseVal: SVGAngle;\n}\n\ndeclare var SVGAnimatedAngle: {\n prototype: SVGAnimatedAngle;\n new(): SVGAnimatedAngle;\n};\n\n/** Used for attributes of type boolean which can be animated. */\ninterface SVGAnimatedBoolean {\n readonly animVal: boolean;\n baseVal: boolean;\n}\n\ndeclare var SVGAnimatedBoolean: {\n prototype: SVGAnimatedBoolean;\n new(): SVGAnimatedBoolean;\n};\n\n/** Used for attributes whose value must be a constant from a particular enumeration and which can be animated. */\ninterface SVGAnimatedEnumeration {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedEnumeration: {\n prototype: SVGAnimatedEnumeration;\n new(): SVGAnimatedEnumeration;\n};\n\n/** Used for attributes of basic type <integer> which can be animated. */\ninterface SVGAnimatedInteger {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedInteger: {\n prototype: SVGAnimatedInteger;\n new(): SVGAnimatedInteger;\n};\n\n/** Used for attributes of basic type <length> which can be animated. */\ninterface SVGAnimatedLength {\n readonly animVal: SVGLength;\n readonly baseVal: SVGLength;\n}\n\ndeclare var SVGAnimatedLength: {\n prototype: SVGAnimatedLength;\n new(): SVGAnimatedLength;\n};\n\n/** Used for attributes of type SVGLengthList which can be animated. */\ninterface SVGAnimatedLengthList {\n readonly animVal: SVGLengthList;\n readonly baseVal: SVGLengthList;\n}\n\ndeclare var SVGAnimatedLengthList: {\n prototype: SVGAnimatedLengthList;\n new(): SVGAnimatedLengthList;\n};\n\n/** Used for attributes of basic type <Number> which can be animated. */\ninterface SVGAnimatedNumber {\n readonly animVal: number;\n baseVal: number;\n}\n\ndeclare var SVGAnimatedNumber: {\n prototype: SVGAnimatedNumber;\n new(): SVGAnimatedNumber;\n};\n\n/** The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedNumberList {\n readonly animVal: SVGNumberList;\n readonly baseVal: SVGNumberList;\n}\n\ndeclare var SVGAnimatedNumberList: {\n prototype: SVGAnimatedNumberList;\n new(): SVGAnimatedNumberList;\n};\n\ninterface SVGAnimatedPoints {\n readonly animatedPoints: SVGPointList;\n readonly points: SVGPointList;\n}\n\n/** Used for attributes of type SVGPreserveAspectRatio which can be animated. */\ninterface SVGAnimatedPreserveAspectRatio {\n readonly animVal: SVGPreserveAspectRatio;\n readonly baseVal: SVGPreserveAspectRatio;\n}\n\ndeclare var SVGAnimatedPreserveAspectRatio: {\n prototype: SVGAnimatedPreserveAspectRatio;\n new(): SVGAnimatedPreserveAspectRatio;\n};\n\n/** Used for attributes of basic SVGRect which can be animated. */\ninterface SVGAnimatedRect {\n readonly animVal: DOMRectReadOnly;\n readonly baseVal: DOMRect;\n}\n\ndeclare var SVGAnimatedRect: {\n prototype: SVGAnimatedRect;\n new(): SVGAnimatedRect;\n};\n\n/** The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this. */\ninterface SVGAnimatedString {\n readonly animVal: string;\n baseVal: string;\n}\n\ndeclare var SVGAnimatedString: {\n prototype: SVGAnimatedString;\n new(): SVGAnimatedString;\n};\n\n/** Used for attributes which take a list of numbers and which can be animated. */\ninterface SVGAnimatedTransformList {\n readonly animVal: SVGTransformList;\n readonly baseVal: SVGTransformList;\n}\n\ndeclare var SVGAnimatedTransformList: {\n prototype: SVGAnimatedTransformList;\n new(): SVGAnimatedTransformList;\n};\n\ninterface SVGAnimationElement extends SVGElement {\n readonly targetElement: SVGElement;\n getCurrentTime(): number;\n getSimpleDuration(): number;\n getStartTime(): number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGAnimationElement: {\n prototype: SVGAnimationElement;\n new(): SVGAnimationElement;\n};\n\n/** An interface for the <circle> element. The circle element is defined by the cx and cy attributes that denote the coordinates of the centre of the circle. */\ninterface SVGCircleElement extends SVGGeometryElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly r: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGCircleElement: {\n prototype: SVGCircleElement;\n new(): SVGCircleElement;\n};\n\n/** Provides access to the properties of <clipPath> elements, as well as methods to manipulate them. */\ninterface SVGClipPathElement extends SVGElement {\n readonly clipPathUnits: SVGAnimatedEnumeration;\n readonly transform: SVGAnimatedTransformList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGClipPathElement: {\n prototype: SVGClipPathElement;\n new(): SVGClipPathElement;\n};\n\n/** A base interface used by the component transfer function interfaces. */\ninterface SVGComponentTransferFunctionElement extends SVGElement {\n readonly amplitude: SVGAnimatedNumber;\n readonly exponent: SVGAnimatedNumber;\n readonly intercept: SVGAnimatedNumber;\n readonly offset: SVGAnimatedNumber;\n readonly slope: SVGAnimatedNumber;\n readonly tableValues: SVGAnimatedNumberList;\n readonly type: SVGAnimatedEnumeration;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGComponentTransferFunctionElement: {\n prototype: SVGComponentTransferFunctionElement;\n new(): SVGComponentTransferFunctionElement;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\n};\n\ninterface SVGCursorElement extends SVGElement {\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCursorElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCursorElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGCursorElement: {\n prototype: SVGCursorElement;\n new(): SVGCursorElement;\n};\n\n/** Corresponds to the <defs> element. */\ninterface SVGDefsElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDefsElement: {\n prototype: SVGDefsElement;\n new(): SVGDefsElement;\n};\n\n/** Corresponds to the <desc> element. */\ninterface SVGDescElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGDescElement: {\n prototype: SVGDescElement;\n new(): SVGDescElement;\n};\n\ninterface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, DocumentAndElementEventHandlersEventMap {\n}\n\n/** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */\ninterface SVGElement extends Element, DocumentAndElementEventHandlers, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, GlobalEventHandlers, HTMLOrSVGElement, SVGElementInstance {\n /** @deprecated */\n readonly className: any;\n readonly ownerSVGElement: SVGSVGElement | null;\n readonly viewportElement: SVGElement | null;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGElement: {\n prototype: SVGElement;\n new(): SVGElement;\n};\n\ninterface SVGElementInstance extends EventTarget {\n readonly correspondingElement: SVGElement;\n readonly correspondingUseElement: SVGUseElement;\n}\n\ndeclare var SVGElementInstance: {\n prototype: SVGElementInstance;\n new(): SVGElementInstance;\n};\n\ninterface SVGElementInstanceList {\n /** @deprecated */\n readonly length: number;\n /** @deprecated */\n item(index: number): SVGElementInstance;\n}\n\ndeclare var SVGElementInstanceList: {\n prototype: SVGElementInstanceList;\n new(): SVGElementInstanceList;\n};\n\n/** Provides access to the properties of <ellipse> elements. */\ninterface SVGEllipseElement extends SVGGeometryElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly rx: SVGAnimatedLength;\n readonly ry: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGEllipseElement: {\n prototype: SVGEllipseElement;\n new(): SVGEllipseElement;\n};\n\n/** Corresponds to the <feBlend> element. */\ninterface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly mode: SVGAnimatedEnumeration;\n readonly SVG_FEBLEND_MODE_COLOR: number;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n readonly SVG_FEBLEND_MODE_DARKEN: number;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n readonly SVG_FEBLEND_MODE_HUE: number;\n readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n readonly SVG_FEBLEND_MODE_NORMAL: number;\n readonly SVG_FEBLEND_MODE_OVERLAY: number;\n readonly SVG_FEBLEND_MODE_SATURATION: number;\n readonly SVG_FEBLEND_MODE_SCREEN: number;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n readonly SVG_FEBLEND_MODE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEBlendElement: {\n prototype: SVGFEBlendElement;\n new(): SVGFEBlendElement;\n readonly SVG_FEBLEND_MODE_COLOR: number;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n readonly SVG_FEBLEND_MODE_DARKEN: number;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n readonly SVG_FEBLEND_MODE_HUE: number;\n readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n readonly SVG_FEBLEND_MODE_NORMAL: number;\n readonly SVG_FEBLEND_MODE_OVERLAY: number;\n readonly SVG_FEBLEND_MODE_SATURATION: number;\n readonly SVG_FEBLEND_MODE_SCREEN: number;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n readonly SVG_FEBLEND_MODE_UNKNOWN: number;\n};\n\n/** Corresponds to the <feColorMatrix> element. */\ninterface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly type: SVGAnimatedEnumeration;\n readonly values: SVGAnimatedNumberList;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEColorMatrixElement: {\n prototype: SVGFEColorMatrixElement;\n new(): SVGFEColorMatrixElement;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\n};\n\n/** Corresponds to the <feComponentTransfer> element. */\ninterface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEComponentTransferElement: {\n prototype: SVGFEComponentTransferElement;\n new(): SVGFEComponentTransferElement;\n};\n\n/** Corresponds to the <feComposite> element. */\ninterface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly k1: SVGAnimatedNumber;\n readonly k2: SVGAnimatedNumber;\n readonly k3: SVGAnimatedNumber;\n readonly k4: SVGAnimatedNumber;\n readonly operator: SVGAnimatedEnumeration;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFECompositeElement: {\n prototype: SVGFECompositeElement;\n new(): SVGFECompositeElement;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\n};\n\n/** Corresponds to the <feConvolveMatrix> element. */\ninterface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly bias: SVGAnimatedNumber;\n readonly divisor: SVGAnimatedNumber;\n readonly edgeMode: SVGAnimatedEnumeration;\n readonly in1: SVGAnimatedString;\n readonly kernelMatrix: SVGAnimatedNumberList;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly orderX: SVGAnimatedInteger;\n readonly orderY: SVGAnimatedInteger;\n readonly preserveAlpha: SVGAnimatedBoolean;\n readonly targetX: SVGAnimatedInteger;\n readonly targetY: SVGAnimatedInteger;\n readonly SVG_EDGEMODE_DUPLICATE: number;\n readonly SVG_EDGEMODE_NONE: number;\n readonly SVG_EDGEMODE_UNKNOWN: number;\n readonly SVG_EDGEMODE_WRAP: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEConvolveMatrixElement: {\n prototype: SVGFEConvolveMatrixElement;\n new(): SVGFEConvolveMatrixElement;\n readonly SVG_EDGEMODE_DUPLICATE: number;\n readonly SVG_EDGEMODE_NONE: number;\n readonly SVG_EDGEMODE_UNKNOWN: number;\n readonly SVG_EDGEMODE_WRAP: number;\n};\n\n/** Corresponds to the <feDiffuseLighting> element. */\ninterface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly diffuseConstant: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly surfaceScale: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDiffuseLightingElement: {\n prototype: SVGFEDiffuseLightingElement;\n new(): SVGFEDiffuseLightingElement;\n};\n\n/** Corresponds to the <feDisplacementMap> element. */\ninterface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly in2: SVGAnimatedString;\n readonly scale: SVGAnimatedNumber;\n readonly xChannelSelector: SVGAnimatedEnumeration;\n readonly yChannelSelector: SVGAnimatedEnumeration;\n readonly SVG_CHANNEL_A: number;\n readonly SVG_CHANNEL_B: number;\n readonly SVG_CHANNEL_G: number;\n readonly SVG_CHANNEL_R: number;\n readonly SVG_CHANNEL_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDisplacementMapElement: {\n prototype: SVGFEDisplacementMapElement;\n new(): SVGFEDisplacementMapElement;\n readonly SVG_CHANNEL_A: number;\n readonly SVG_CHANNEL_B: number;\n readonly SVG_CHANNEL_G: number;\n readonly SVG_CHANNEL_R: number;\n readonly SVG_CHANNEL_UNKNOWN: number;\n};\n\n/** Corresponds to the <feDistantLight> element. */\ninterface SVGFEDistantLightElement extends SVGElement {\n readonly azimuth: SVGAnimatedNumber;\n readonly elevation: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDistantLightElement: {\n prototype: SVGFEDistantLightElement;\n new(): SVGFEDistantLightElement;\n};\n\ninterface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly dx: SVGAnimatedNumber;\n readonly dy: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n readonly stdDeviationX: SVGAnimatedNumber;\n readonly stdDeviationY: SVGAnimatedNumber;\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEDropShadowElement: {\n prototype: SVGFEDropShadowElement;\n new(): SVGFEDropShadowElement;\n};\n\n/** Corresponds to the <feFlood> element. */\ninterface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFloodElement: {\n prototype: SVGFEFloodElement;\n new(): SVGFEFloodElement;\n};\n\n/** Corresponds to the <feFuncA> element. */\ninterface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncAElement: {\n prototype: SVGFEFuncAElement;\n new(): SVGFEFuncAElement;\n};\n\n/** Corresponds to the <feFuncB> element. */\ninterface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncBElement: {\n prototype: SVGFEFuncBElement;\n new(): SVGFEFuncBElement;\n};\n\n/** Corresponds to the <feFuncG> element. */\ninterface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncGElement: {\n prototype: SVGFEFuncGElement;\n new(): SVGFEFuncGElement;\n};\n\n/** Corresponds to the <feFuncR> element. */\ninterface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEFuncRElement: {\n prototype: SVGFEFuncRElement;\n new(): SVGFEFuncRElement;\n};\n\n/** Corresponds to the <feGaussianBlur> element. */\ninterface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly stdDeviationX: SVGAnimatedNumber;\n readonly stdDeviationY: SVGAnimatedNumber;\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEGaussianBlurElement: {\n prototype: SVGFEGaussianBlurElement;\n new(): SVGFEGaussianBlurElement;\n};\n\n/** Corresponds to the <feImage> element. */\ninterface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference {\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEImageElement: {\n prototype: SVGFEImageElement;\n new(): SVGFEImageElement;\n};\n\n/** Corresponds to the <feMerge> element. */\ninterface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeElement: {\n prototype: SVGFEMergeElement;\n new(): SVGFEMergeElement;\n};\n\n/** Corresponds to the <feMergeNode> element. */\ninterface SVGFEMergeNodeElement extends SVGElement {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMergeNodeElement: {\n prototype: SVGFEMergeNodeElement;\n new(): SVGFEMergeNodeElement;\n};\n\n/** Corresponds to the <feMorphology> element. */\ninterface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly operator: SVGAnimatedEnumeration;\n readonly radiusX: SVGAnimatedNumber;\n readonly radiusY: SVGAnimatedNumber;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEMorphologyElement: {\n prototype: SVGFEMorphologyElement;\n new(): SVGFEMorphologyElement;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\n};\n\n/** Corresponds to the <feOffset> element. */\ninterface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly dx: SVGAnimatedNumber;\n readonly dy: SVGAnimatedNumber;\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEOffsetElement: {\n prototype: SVGFEOffsetElement;\n new(): SVGFEOffsetElement;\n};\n\n/** Corresponds to the <fePointLight> element. */\ninterface SVGFEPointLightElement extends SVGElement {\n readonly x: SVGAnimatedNumber;\n readonly y: SVGAnimatedNumber;\n readonly z: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFEPointLightElement: {\n prototype: SVGFEPointLightElement;\n new(): SVGFEPointLightElement;\n};\n\n/** Corresponds to the <feSpecularLighting> element. */\ninterface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n readonly specularConstant: SVGAnimatedNumber;\n readonly specularExponent: SVGAnimatedNumber;\n readonly surfaceScale: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpecularLightingElement: {\n prototype: SVGFESpecularLightingElement;\n new(): SVGFESpecularLightingElement;\n};\n\n/** Corresponds to the <feSpotLight> element. */\ninterface SVGFESpotLightElement extends SVGElement {\n readonly limitingConeAngle: SVGAnimatedNumber;\n readonly pointsAtX: SVGAnimatedNumber;\n readonly pointsAtY: SVGAnimatedNumber;\n readonly pointsAtZ: SVGAnimatedNumber;\n readonly specularExponent: SVGAnimatedNumber;\n readonly x: SVGAnimatedNumber;\n readonly y: SVGAnimatedNumber;\n readonly z: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFESpotLightElement: {\n prototype: SVGFESpotLightElement;\n new(): SVGFESpotLightElement;\n};\n\n/** Corresponds to the <feTile> element. */\ninterface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly in1: SVGAnimatedString;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETileElement: {\n prototype: SVGFETileElement;\n new(): SVGFETileElement;\n};\n\n/** Corresponds to the <feTurbulence> element. */\ninterface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n readonly baseFrequencyX: SVGAnimatedNumber;\n readonly baseFrequencyY: SVGAnimatedNumber;\n readonly numOctaves: SVGAnimatedInteger;\n readonly seed: SVGAnimatedNumber;\n readonly stitchTiles: SVGAnimatedEnumeration;\n readonly type: SVGAnimatedEnumeration;\n readonly SVG_STITCHTYPE_NOSTITCH: number;\n readonly SVG_STITCHTYPE_STITCH: number;\n readonly SVG_STITCHTYPE_UNKNOWN: number;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFETurbulenceElement: {\n prototype: SVGFETurbulenceElement;\n new(): SVGFETurbulenceElement;\n readonly SVG_STITCHTYPE_NOSTITCH: number;\n readonly SVG_STITCHTYPE_STITCH: number;\n readonly SVG_STITCHTYPE_UNKNOWN: number;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\n};\n\n/** Provides access to the properties of <filter> elements, as well as methods to manipulate them. */\ninterface SVGFilterElement extends SVGElement, SVGURIReference {\n readonly filterUnits: SVGAnimatedEnumeration;\n readonly height: SVGAnimatedLength;\n readonly primitiveUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGFilterElement: {\n prototype: SVGFilterElement;\n new(): SVGFilterElement;\n};\n\ninterface SVGFilterPrimitiveStandardAttributes {\n readonly height: SVGAnimatedLength;\n readonly result: SVGAnimatedString;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n}\n\ninterface SVGFitToViewBox {\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n readonly viewBox: SVGAnimatedRect;\n}\n\n/** Provides access to the properties of <foreignObject> elements, as well as methods to manipulate them. */\ninterface SVGForeignObjectElement extends SVGGraphicsElement {\n readonly height: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGForeignObjectElement: {\n prototype: SVGForeignObjectElement;\n new(): SVGForeignObjectElement;\n};\n\n/** Corresponds to the <g> element. */\ninterface SVGGElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGElement: {\n prototype: SVGGElement;\n new(): SVGGElement;\n};\n\ninterface SVGGeometryElement extends SVGGraphicsElement {\n readonly pathLength: SVGAnimatedNumber;\n getPointAtLength(distance: number): DOMPoint;\n getTotalLength(): number;\n isPointInFill(point?: DOMPointInit): boolean;\n isPointInStroke(point?: DOMPointInit): boolean;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGeometryElement: {\n prototype: SVGGeometryElement;\n new(): SVGGeometryElement;\n};\n\n/** The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement. */\ninterface SVGGradientElement extends SVGElement, SVGURIReference {\n readonly gradientTransform: SVGAnimatedTransformList;\n readonly gradientUnits: SVGAnimatedEnumeration;\n readonly spreadMethod: SVGAnimatedEnumeration;\n readonly SVG_SPREADMETHOD_PAD: number;\n readonly SVG_SPREADMETHOD_REFLECT: number;\n readonly SVG_SPREADMETHOD_REPEAT: number;\n readonly SVG_SPREADMETHOD_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGradientElement: {\n prototype: SVGGradientElement;\n new(): SVGGradientElement;\n readonly SVG_SPREADMETHOD_PAD: number;\n readonly SVG_SPREADMETHOD_REFLECT: number;\n readonly SVG_SPREADMETHOD_REPEAT: number;\n readonly SVG_SPREADMETHOD_UNKNOWN: number;\n};\n\n/** SVG elements whose primary purpose is to directly render graphics into a group. */\ninterface SVGGraphicsElement extends SVGElement, SVGTests {\n readonly transform: SVGAnimatedTransformList;\n getBBox(options?: SVGBoundingBoxOptions): DOMRect;\n getCTM(): DOMMatrix | null;\n getScreenCTM(): DOMMatrix | null;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGGraphicsElement: {\n prototype: SVGGraphicsElement;\n new(): SVGGraphicsElement;\n};\n\n/** Corresponds to the <image> element. */\ninterface SVGImageElement extends SVGGraphicsElement, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGImageElement: {\n prototype: SVGImageElement;\n new(): SVGImageElement;\n};\n\n/** Correspond to the <length> basic data type. */\ninterface SVGLength {\n readonly unitType: number;\n value: number;\n valueAsString: string;\n valueInSpecifiedUnits: number;\n convertToSpecifiedUnits(unitType: number): void;\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\n readonly SVG_LENGTHTYPE_CM: number;\n readonly SVG_LENGTHTYPE_EMS: number;\n readonly SVG_LENGTHTYPE_EXS: number;\n readonly SVG_LENGTHTYPE_IN: number;\n readonly SVG_LENGTHTYPE_MM: number;\n readonly SVG_LENGTHTYPE_NUMBER: number;\n readonly SVG_LENGTHTYPE_PC: number;\n readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n readonly SVG_LENGTHTYPE_PT: number;\n readonly SVG_LENGTHTYPE_PX: number;\n readonly SVG_LENGTHTYPE_UNKNOWN: number;\n}\n\ndeclare var SVGLength: {\n prototype: SVGLength;\n new(): SVGLength;\n readonly SVG_LENGTHTYPE_CM: number;\n readonly SVG_LENGTHTYPE_EMS: number;\n readonly SVG_LENGTHTYPE_EXS: number;\n readonly SVG_LENGTHTYPE_IN: number;\n readonly SVG_LENGTHTYPE_MM: number;\n readonly SVG_LENGTHTYPE_NUMBER: number;\n readonly SVG_LENGTHTYPE_PC: number;\n readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n readonly SVG_LENGTHTYPE_PT: number;\n readonly SVG_LENGTHTYPE_PX: number;\n readonly SVG_LENGTHTYPE_UNKNOWN: number;\n};\n\n/** The SVGLengthList defines a list of SVGLength objects. */\ninterface SVGLengthList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGLength): SVGLength;\n clear(): void;\n getItem(index: number): SVGLength;\n initialize(newItem: SVGLength): SVGLength;\n insertItemBefore(newItem: SVGLength, index: number): SVGLength;\n removeItem(index: number): SVGLength;\n replaceItem(newItem: SVGLength, index: number): SVGLength;\n [index: number]: SVGLength;\n}\n\ndeclare var SVGLengthList: {\n prototype: SVGLengthList;\n new(): SVGLengthList;\n};\n\n/** Provides access to the properties of <line> elements, as well as methods to manipulate them. */\ninterface SVGLineElement extends SVGGeometryElement {\n readonly x1: SVGAnimatedLength;\n readonly x2: SVGAnimatedLength;\n readonly y1: SVGAnimatedLength;\n readonly y2: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLineElement: {\n prototype: SVGLineElement;\n new(): SVGLineElement;\n};\n\n/** Corresponds to the <linearGradient> element. */\ninterface SVGLinearGradientElement extends SVGGradientElement {\n readonly x1: SVGAnimatedLength;\n readonly x2: SVGAnimatedLength;\n readonly y1: SVGAnimatedLength;\n readonly y2: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGLinearGradientElement: {\n prototype: SVGLinearGradientElement;\n new(): SVGLinearGradientElement;\n};\n\ninterface SVGMarkerElement extends SVGElement, SVGFitToViewBox {\n readonly markerHeight: SVGAnimatedLength;\n readonly markerUnits: SVGAnimatedEnumeration;\n readonly markerWidth: SVGAnimatedLength;\n readonly orientAngle: SVGAnimatedAngle;\n readonly orientType: SVGAnimatedEnumeration;\n readonly refX: SVGAnimatedLength;\n readonly refY: SVGAnimatedLength;\n setOrientToAngle(angle: SVGAngle): void;\n setOrientToAuto(): void;\n readonly SVG_MARKERUNITS_STROKEWIDTH: number;\n readonly SVG_MARKERUNITS_UNKNOWN: number;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n readonly SVG_MARKER_ORIENT_ANGLE: number;\n readonly SVG_MARKER_ORIENT_AUTO: number;\n readonly SVG_MARKER_ORIENT_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMarkerElement: {\n prototype: SVGMarkerElement;\n new(): SVGMarkerElement;\n readonly SVG_MARKERUNITS_STROKEWIDTH: number;\n readonly SVG_MARKERUNITS_UNKNOWN: number;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n readonly SVG_MARKER_ORIENT_ANGLE: number;\n readonly SVG_MARKER_ORIENT_AUTO: number;\n readonly SVG_MARKER_ORIENT_UNKNOWN: number;\n};\n\n/** Provides access to the properties of <mask> elements, as well as methods to manipulate them. */\ninterface SVGMaskElement extends SVGElement {\n readonly height: SVGAnimatedLength;\n readonly maskContentUnits: SVGAnimatedEnumeration;\n readonly maskUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMaskElement: {\n prototype: SVGMaskElement;\n new(): SVGMaskElement;\n};\n\n/** Corresponds to the <metadata> element. */\ninterface SVGMetadataElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGMetadataElement: {\n prototype: SVGMetadataElement;\n new(): SVGMetadataElement;\n};\n\n/** Corresponds to the <number> basic data type. */\ninterface SVGNumber {\n value: number;\n}\n\ndeclare var SVGNumber: {\n prototype: SVGNumber;\n new(): SVGNumber;\n};\n\n/** The SVGNumberList defines a list of SVGNumber objects. */\ninterface SVGNumberList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: SVGNumber): SVGNumber;\n clear(): void;\n getItem(index: number): SVGNumber;\n initialize(newItem: SVGNumber): SVGNumber;\n insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;\n removeItem(index: number): SVGNumber;\n replaceItem(newItem: SVGNumber, index: number): SVGNumber;\n [index: number]: SVGNumber;\n}\n\ndeclare var SVGNumberList: {\n prototype: SVGNumberList;\n new(): SVGNumberList;\n};\n\n/** Corresponds to the <path> element. */\ninterface SVGPathElement extends SVGGraphicsElement {\n /** @deprecated */\n readonly pathSegList: SVGPathSegList;\n /** @deprecated */\n createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs;\n /** @deprecated */\n createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel;\n /** @deprecated */\n createSVGPathSegClosePath(): SVGPathSegClosePath;\n /** @deprecated */\n createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs;\n /** @deprecated */\n createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel;\n /** @deprecated */\n createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs;\n /** @deprecated */\n createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs;\n /** @deprecated */\n createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel;\n /** @deprecated */\n createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs;\n /** @deprecated */\n createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs;\n /** @deprecated */\n createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel;\n /** @deprecated */\n createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel;\n /** @deprecated */\n createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs;\n /** @deprecated */\n createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel;\n /** @deprecated */\n createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs;\n /** @deprecated */\n createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel;\n /** @deprecated */\n getPathSegAtLength(distance: number): number;\n getPointAtLength(distance: number): SVGPoint;\n getTotalLength(): number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPathElement: {\n prototype: SVGPathElement;\n new(): SVGPathElement;\n};\n\ninterface SVGPathSeg {\n readonly pathSegType: number;\n readonly pathSegTypeAsLetter: string;\n readonly PATHSEG_ARC_ABS: number;\n readonly PATHSEG_ARC_REL: number;\n readonly PATHSEG_CLOSEPATH: number;\n readonly PATHSEG_CURVETO_CUBIC_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_REL: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;\n readonly PATHSEG_LINETO_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_REL: number;\n readonly PATHSEG_LINETO_REL: number;\n readonly PATHSEG_LINETO_VERTICAL_ABS: number;\n readonly PATHSEG_LINETO_VERTICAL_REL: number;\n readonly PATHSEG_MOVETO_ABS: number;\n readonly PATHSEG_MOVETO_REL: number;\n readonly PATHSEG_UNKNOWN: number;\n}\n\ndeclare var SVGPathSeg: {\n prototype: SVGPathSeg;\n new(): SVGPathSeg;\n readonly PATHSEG_ARC_ABS: number;\n readonly PATHSEG_ARC_REL: number;\n readonly PATHSEG_CLOSEPATH: number;\n readonly PATHSEG_CURVETO_CUBIC_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_REL: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_REL: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;\n readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;\n readonly PATHSEG_LINETO_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_ABS: number;\n readonly PATHSEG_LINETO_HORIZONTAL_REL: number;\n readonly PATHSEG_LINETO_REL: number;\n readonly PATHSEG_LINETO_VERTICAL_ABS: number;\n readonly PATHSEG_LINETO_VERTICAL_REL: number;\n readonly PATHSEG_MOVETO_ABS: number;\n readonly PATHSEG_MOVETO_REL: number;\n readonly PATHSEG_UNKNOWN: number;\n};\n\ninterface SVGPathSegArcAbs extends SVGPathSeg {\n angle: number;\n largeArcFlag: boolean;\n r1: number;\n r2: number;\n sweepFlag: boolean;\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegArcAbs: {\n prototype: SVGPathSegArcAbs;\n new(): SVGPathSegArcAbs;\n};\n\ninterface SVGPathSegArcRel extends SVGPathSeg {\n angle: number;\n largeArcFlag: boolean;\n r1: number;\n r2: number;\n sweepFlag: boolean;\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegArcRel: {\n prototype: SVGPathSegArcRel;\n new(): SVGPathSegArcRel;\n};\n\ninterface SVGPathSegClosePath extends SVGPathSeg {\n}\n\ndeclare var SVGPathSegClosePath: {\n prototype: SVGPathSegClosePath;\n new(): SVGPathSegClosePath;\n};\n\ninterface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {\n x: number;\n x1: number;\n x2: number;\n y: number;\n y1: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicAbs: {\n prototype: SVGPathSegCurvetoCubicAbs;\n new(): SVGPathSegCurvetoCubicAbs;\n};\n\ninterface SVGPathSegCurvetoCubicRel extends SVGPathSeg {\n x: number;\n x1: number;\n x2: number;\n y: number;\n y1: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicRel: {\n prototype: SVGPathSegCurvetoCubicRel;\n new(): SVGPathSegCurvetoCubicRel;\n};\n\ninterface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {\n x: number;\n x2: number;\n y: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicSmoothAbs: {\n prototype: SVGPathSegCurvetoCubicSmoothAbs;\n new(): SVGPathSegCurvetoCubicSmoothAbs;\n};\n\ninterface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {\n x: number;\n x2: number;\n y: number;\n y2: number;\n}\n\ndeclare var SVGPathSegCurvetoCubicSmoothRel: {\n prototype: SVGPathSegCurvetoCubicSmoothRel;\n new(): SVGPathSegCurvetoCubicSmoothRel;\n};\n\ninterface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {\n x: number;\n x1: number;\n y: number;\n y1: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticAbs: {\n prototype: SVGPathSegCurvetoQuadraticAbs;\n new(): SVGPathSegCurvetoQuadraticAbs;\n};\n\ninterface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {\n x: number;\n x1: number;\n y: number;\n y1: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticRel: {\n prototype: SVGPathSegCurvetoQuadraticRel;\n new(): SVGPathSegCurvetoQuadraticRel;\n};\n\ninterface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticSmoothAbs: {\n prototype: SVGPathSegCurvetoQuadraticSmoothAbs;\n new(): SVGPathSegCurvetoQuadraticSmoothAbs;\n};\n\ninterface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegCurvetoQuadraticSmoothRel: {\n prototype: SVGPathSegCurvetoQuadraticSmoothRel;\n new(): SVGPathSegCurvetoQuadraticSmoothRel;\n};\n\ninterface SVGPathSegLinetoAbs extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegLinetoAbs: {\n prototype: SVGPathSegLinetoAbs;\n new(): SVGPathSegLinetoAbs;\n};\n\ninterface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {\n x: number;\n}\n\ndeclare var SVGPathSegLinetoHorizontalAbs: {\n prototype: SVGPathSegLinetoHorizontalAbs;\n new(): SVGPathSegLinetoHorizontalAbs;\n};\n\ninterface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {\n x: number;\n}\n\ndeclare var SVGPathSegLinetoHorizontalRel: {\n prototype: SVGPathSegLinetoHorizontalRel;\n new(): SVGPathSegLinetoHorizontalRel;\n};\n\ninterface SVGPathSegLinetoRel extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegLinetoRel: {\n prototype: SVGPathSegLinetoRel;\n new(): SVGPathSegLinetoRel;\n};\n\ninterface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {\n y: number;\n}\n\ndeclare var SVGPathSegLinetoVerticalAbs: {\n prototype: SVGPathSegLinetoVerticalAbs;\n new(): SVGPathSegLinetoVerticalAbs;\n};\n\ninterface SVGPathSegLinetoVerticalRel extends SVGPathSeg {\n y: number;\n}\n\ndeclare var SVGPathSegLinetoVerticalRel: {\n prototype: SVGPathSegLinetoVerticalRel;\n new(): SVGPathSegLinetoVerticalRel;\n};\n\ninterface SVGPathSegList {\n readonly numberOfItems: number;\n appendItem(newItem: SVGPathSeg): SVGPathSeg;\n clear(): void;\n getItem(index: number): SVGPathSeg;\n initialize(newItem: SVGPathSeg): SVGPathSeg;\n insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg;\n removeItem(index: number): SVGPathSeg;\n replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg;\n}\n\ndeclare var SVGPathSegList: {\n prototype: SVGPathSegList;\n new(): SVGPathSegList;\n};\n\ninterface SVGPathSegMovetoAbs extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegMovetoAbs: {\n prototype: SVGPathSegMovetoAbs;\n new(): SVGPathSegMovetoAbs;\n};\n\ninterface SVGPathSegMovetoRel extends SVGPathSeg {\n x: number;\n y: number;\n}\n\ndeclare var SVGPathSegMovetoRel: {\n prototype: SVGPathSegMovetoRel;\n new(): SVGPathSegMovetoRel;\n};\n\n/** Corresponds to the <pattern> element. */\ninterface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {\n readonly height: SVGAnimatedLength;\n readonly patternContentUnits: SVGAnimatedEnumeration;\n readonly patternTransform: SVGAnimatedTransformList;\n readonly patternUnits: SVGAnimatedEnumeration;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPatternElement: {\n prototype: SVGPatternElement;\n new(): SVGPatternElement;\n};\n\ninterface SVGPointList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: DOMPoint): DOMPoint;\n clear(): void;\n getItem(index: number): DOMPoint;\n initialize(newItem: DOMPoint): DOMPoint;\n insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;\n removeItem(index: number): DOMPoint;\n replaceItem(newItem: DOMPoint, index: number): DOMPoint;\n [index: number]: DOMPoint;\n}\n\ndeclare var SVGPointList: {\n prototype: SVGPointList;\n new(): SVGPointList;\n};\n\n/** Provides access to the properties of <polygon> elements, as well as methods to manipulate them. */\ninterface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolygonElement: {\n prototype: SVGPolygonElement;\n new(): SVGPolygonElement;\n};\n\n/** Provides access to the properties of <polyline> elements, as well as methods to manipulate them. */\ninterface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGPolylineElement: {\n prototype: SVGPolylineElement;\n new(): SVGPolylineElement;\n};\n\n/** Corresponds to the preserveAspectRatio attribute, which is available for some of SVG\'s elements. */\ninterface SVGPreserveAspectRatio {\n align: number;\n meetOrSlice: number;\n readonly SVG_MEETORSLICE_MEET: number;\n readonly SVG_MEETORSLICE_SLICE: number;\n readonly SVG_MEETORSLICE_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n}\n\ndeclare var SVGPreserveAspectRatio: {\n prototype: SVGPreserveAspectRatio;\n new(): SVGPreserveAspectRatio;\n readonly SVG_MEETORSLICE_MEET: number;\n readonly SVG_MEETORSLICE_SLICE: number;\n readonly SVG_MEETORSLICE_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n};\n\n/** Corresponds to the <RadialGradient> element. */\ninterface SVGRadialGradientElement extends SVGGradientElement {\n readonly cx: SVGAnimatedLength;\n readonly cy: SVGAnimatedLength;\n readonly fr: SVGAnimatedLength;\n readonly fx: SVGAnimatedLength;\n readonly fy: SVGAnimatedLength;\n readonly r: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRadialGradientElement: {\n prototype: SVGRadialGradientElement;\n new(): SVGRadialGradientElement;\n};\n\n/** Provides access to the properties of <rect> elements, as well as methods to manipulate them. */\ninterface SVGRectElement extends SVGGeometryElement {\n readonly height: SVGAnimatedLength;\n readonly rx: SVGAnimatedLength;\n readonly ry: SVGAnimatedLength;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGRectElement: {\n prototype: SVGRectElement;\n new(): SVGRectElement;\n};\n\ninterface SVGSVGElementEventMap extends SVGElementEventMap {\n "SVGUnload": Event;\n "SVGZoom": SVGZoomEvent;\n}\n\n/** Provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices. */\ninterface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewBox, SVGZoomAndPan {\n /** @deprecated */\n contentScriptType: string;\n /** @deprecated */\n contentStyleType: string;\n currentScale: number;\n readonly currentTranslate: SVGPoint;\n readonly height: SVGAnimatedLength;\n onunload: ((this: SVGSVGElement, ev: Event) => any) | null;\n onzoom: ((this: SVGSVGElement, ev: SVGZoomEvent) => any) | null;\n /** @deprecated */\n readonly pixelUnitToMillimeterX: number;\n /** @deprecated */\n readonly pixelUnitToMillimeterY: number;\n /** @deprecated */\n readonly screenPixelToMillimeterX: number;\n /** @deprecated */\n readonly screenPixelToMillimeterY: number;\n /** @deprecated */\n readonly viewport: SVGRect;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n animationsPaused(): boolean;\n checkEnclosure(element: SVGElement, rect: SVGRect): boolean;\n checkIntersection(element: SVGElement, rect: SVGRect): boolean;\n createSVGAngle(): SVGAngle;\n createSVGLength(): SVGLength;\n createSVGMatrix(): SVGMatrix;\n createSVGNumber(): SVGNumber;\n createSVGPoint(): SVGPoint;\n createSVGRect(): SVGRect;\n createSVGTransform(): SVGTransform;\n createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;\n deselectAll(): void;\n /** @deprecated */\n forceRedraw(): void;\n getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n getCurrentTime(): number;\n getElementById(elementId: string): Element;\n getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;\n pauseAnimations(): void;\n setCurrentTime(seconds: number): void;\n /** @deprecated */\n suspendRedraw(maxWaitMilliseconds: number): number;\n unpauseAnimations(): void;\n /** @deprecated */\n unsuspendRedraw(suspendHandleID: number): void;\n /** @deprecated */\n unsuspendRedrawAll(): void;\n addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSVGElement: {\n prototype: SVGSVGElement;\n new(): SVGSVGElement;\n readonly SVG_ZOOMANDPAN_DISABLE: number;\n readonly SVG_ZOOMANDPAN_MAGNIFY: number;\n readonly SVG_ZOOMANDPAN_UNKNOWN: number;\n};\n\n/** Corresponds to the SVG <script> element. */\ninterface SVGScriptElement extends SVGElement, SVGURIReference {\n type: string;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGScriptElement: {\n prototype: SVGScriptElement;\n new(): SVGScriptElement;\n};\n\n/** Corresponds to the <stop> element. */\ninterface SVGStopElement extends SVGElement {\n readonly offset: SVGAnimatedNumber;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStopElement: {\n prototype: SVGStopElement;\n new(): SVGStopElement;\n};\n\n/** The SVGStringList defines a list of DOMString objects. */\ninterface SVGStringList {\n readonly length: number;\n readonly numberOfItems: number;\n appendItem(newItem: string): string;\n clear(): void;\n getItem(index: number): string;\n initialize(newItem: string): string;\n insertItemBefore(newItem: string, index: number): string;\n removeItem(index: number): string;\n replaceItem(newItem: string, index: number): string;\n [index: number]: string;\n}\n\ndeclare var SVGStringList: {\n prototype: SVGStringList;\n new(): SVGStringList;\n};\n\n/** Corresponds to the SVG <style> element. */\ninterface SVGStyleElement extends SVGElement {\n disabled: boolean;\n media: string;\n title: string;\n type: string;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGStyleElement: {\n prototype: SVGStyleElement;\n new(): SVGStyleElement;\n};\n\n/** Corresponds to the <switch> element. */\ninterface SVGSwitchElement extends SVGGraphicsElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSwitchElement: {\n prototype: SVGSwitchElement;\n new(): SVGSwitchElement;\n};\n\n/** Corresponds to the <symbol> element. */\ninterface SVGSymbolElement extends SVGElement, SVGFitToViewBox {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGSymbolElement: {\n prototype: SVGSymbolElement;\n new(): SVGSymbolElement;\n};\n\n/** A <tspan> element. */\ninterface SVGTSpanElement extends SVGTextPositioningElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTSpanElement: {\n prototype: SVGTSpanElement;\n new(): SVGTSpanElement;\n};\n\ninterface SVGTests {\n readonly requiredExtensions: SVGStringList;\n readonly systemLanguage: SVGStringList;\n}\n\n/** Implemented by elements that support rendering child text content. It is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement. */\ninterface SVGTextContentElement extends SVGGraphicsElement {\n readonly lengthAdjust: SVGAnimatedEnumeration;\n readonly textLength: SVGAnimatedLength;\n getCharNumAtPosition(point?: DOMPointInit): number;\n getComputedTextLength(): number;\n getEndPositionOfChar(charnum: number): DOMPoint;\n getExtentOfChar(charnum: number): DOMRect;\n getNumberOfChars(): number;\n getRotationOfChar(charnum: number): number;\n getStartPositionOfChar(charnum: number): DOMPoint;\n getSubStringLength(charnum: number, nchars: number): number;\n selectSubString(charnum: number, nchars: number): void;\n readonly LENGTHADJUST_SPACING: number;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n readonly LENGTHADJUST_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextContentElement: {\n prototype: SVGTextContentElement;\n new(): SVGTextContentElement;\n readonly LENGTHADJUST_SPACING: number;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n readonly LENGTHADJUST_UNKNOWN: number;\n};\n\n/** Corresponds to the <text> elements. */\ninterface SVGTextElement extends SVGTextPositioningElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextElement: {\n prototype: SVGTextElement;\n new(): SVGTextElement;\n};\n\n/** Corresponds to the <textPath> element. */\ninterface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {\n readonly method: SVGAnimatedEnumeration;\n readonly spacing: SVGAnimatedEnumeration;\n readonly startOffset: SVGAnimatedLength;\n readonly TEXTPATH_METHODTYPE_ALIGN: number;\n readonly TEXTPATH_METHODTYPE_STRETCH: number;\n readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPathElement: {\n prototype: SVGTextPathElement;\n new(): SVGTextPathElement;\n readonly TEXTPATH_METHODTYPE_ALIGN: number;\n readonly TEXTPATH_METHODTYPE_STRETCH: number;\n readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\n};\n\n/** Implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement. */\ninterface SVGTextPositioningElement extends SVGTextContentElement {\n readonly dx: SVGAnimatedLengthList;\n readonly dy: SVGAnimatedLengthList;\n readonly rotate: SVGAnimatedNumberList;\n readonly x: SVGAnimatedLengthList;\n readonly y: SVGAnimatedLengthList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTextPositioningElement: {\n prototype: SVGTextPositioningElement;\n new(): SVGTextPositioningElement;\n};\n\n/** Corresponds to the <title> element. */\ninterface SVGTitleElement extends SVGElement {\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGTitleElement: {\n prototype: SVGTitleElement;\n new(): SVGTitleElement;\n};\n\n/** SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute. */\ninterface SVGTransform {\n readonly angle: number;\n readonly matrix: SVGMatrix;\n readonly type: number;\n setMatrix(matrix: SVGMatrix): void;\n setRotate(angle: number, cx: number, cy: number): void;\n setScale(sx: number, sy: number): void;\n setSkewX(angle: number): void;\n setSkewY(angle: number): void;\n setTranslate(tx: number, ty: number): void;\n readonly SVG_TRANSFORM_MATRIX: number;\n readonly SVG_TRANSFORM_ROTATE: number;\n readonly SVG_TRANSFORM_SCALE: number;\n readonly SVG_TRANSFORM_SKEWX: number;\n readonly SVG_TRANSFORM_SKEWY: number;\n readonly SVG_TRANSFORM_TRANSLATE: number;\n readonly SVG_TRANSFORM_UNKNOWN: number;\n}\n\ndeclare var SVGTransform: {\n prototype: SVGTransform;\n new(): SVGTransform;\n readonly SVG_TRANSFORM_MATRIX: number;\n readonly SVG_TRANSFORM_ROTATE: number;\n readonly SVG_TRANSFORM_SCALE: number;\n readonly SVG_TRANSFORM_SKEWX: number;\n readonly SVG_TRANSFORM_SKEWY: number;\n readonly SVG_TRANSFORM_TRANSLATE: number;\n readonly SVG_TRANSFORM_UNKNOWN: number;\n};\n\n/** The SVGTransformList defines a list of SVGTransform objects. */\ninterface SVGTransformList {\n readonly numberOfItems: number;\n appendItem(newItem: SVGTransform): SVGTransform;\n clear(): void;\n consolidate(): SVGTransform;\n createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;\n getItem(index: number): SVGTransform;\n initialize(newItem: SVGTransform): SVGTransform;\n insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;\n removeItem(index: number): SVGTransform;\n replaceItem(newItem: SVGTransform, index: number): SVGTransform;\n}\n\ndeclare var SVGTransformList: {\n prototype: SVGTransformList;\n new(): SVGTransformList;\n};\n\ninterface SVGURIReference {\n readonly href: SVGAnimatedString;\n}\n\n/** A commonly used set of constants used for reflecting gradientUnits, patternContentUnits and other similar attributes. */\ninterface SVGUnitTypes {\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n readonly SVG_UNIT_TYPE_UNKNOWN: number;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n}\n\ndeclare var SVGUnitTypes: {\n prototype: SVGUnitTypes;\n new(): SVGUnitTypes;\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n readonly SVG_UNIT_TYPE_UNKNOWN: number;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n};\n\n/** Corresponds to the <use> element. */\ninterface SVGUseElement extends SVGGraphicsElement, SVGURIReference {\n readonly animatedInstanceRoot: SVGElementInstance | null;\n readonly height: SVGAnimatedLength;\n readonly instanceRoot: SVGElementInstance | null;\n readonly width: SVGAnimatedLength;\n readonly x: SVGAnimatedLength;\n readonly y: SVGAnimatedLength;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGUseElement: {\n prototype: SVGUseElement;\n new(): SVGUseElement;\n};\n\n/** Provides access to the properties of <view> elements, as well as methods to manipulate them. */\ninterface SVGViewElement extends SVGElement, SVGFitToViewBox, SVGZoomAndPan {\n /** @deprecated */\n readonly viewTarget: SVGStringList;\n addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SVGViewElement: {\n prototype: SVGViewElement;\n new(): SVGViewElement;\n readonly SVG_ZOOMANDPAN_DISABLE: number;\n readonly SVG_ZOOMANDPAN_MAGNIFY: number;\n readonly SVG_ZOOMANDPAN_UNKNOWN: number;\n};\n\n/** Used to reflect the zoomAndPan attribute, and is mixed in to other interfaces for elements that support this attribute. */\ninterface SVGZoomAndPan {\n readonly zoomAndPan: number;\n}\n\ndeclare var SVGZoomAndPan: {\n readonly SVG_ZOOMANDPAN_DISABLE: number;\n readonly SVG_ZOOMANDPAN_MAGNIFY: number;\n readonly SVG_ZOOMANDPAN_UNKNOWN: number;\n};\n\ninterface SVGZoomEvent extends UIEvent {\n readonly newScale: number;\n readonly newTranslate: SVGPoint;\n readonly previousScale: number;\n readonly previousTranslate: SVGPoint;\n readonly zoomRectScreen: SVGRect;\n}\n\ndeclare var SVGZoomEvent: {\n prototype: SVGZoomEvent;\n new(): SVGZoomEvent;\n};\n\ninterface ScopedCredential {\n readonly id: ArrayBuffer;\n readonly type: ScopedCredentialType;\n}\n\ndeclare var ScopedCredential: {\n prototype: ScopedCredential;\n new(): ScopedCredential;\n};\n\ninterface ScopedCredentialInfo {\n readonly credential: ScopedCredential;\n readonly publicKey: CryptoKey;\n}\n\ndeclare var ScopedCredentialInfo: {\n prototype: ScopedCredentialInfo;\n new(): ScopedCredentialInfo;\n};\n\n/** A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. */\ninterface Screen {\n readonly availHeight: number;\n readonly availWidth: number;\n readonly colorDepth: number;\n readonly height: number;\n readonly orientation: ScreenOrientation;\n readonly pixelDepth: number;\n readonly width: number;\n}\n\ndeclare var Screen: {\n prototype: Screen;\n new(): Screen;\n};\n\ninterface ScreenOrientationEventMap {\n "change": Event;\n}\n\ninterface ScreenOrientation extends EventTarget {\n readonly angle: number;\n onchange: ((this: ScreenOrientation, ev: Event) => any) | null;\n readonly type: OrientationType;\n lock(orientation: OrientationLockType): Promise<void>;\n unlock(): void;\n addEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ScreenOrientation: {\n prototype: ScreenOrientation;\n new(): ScreenOrientation;\n};\n\ninterface ScriptProcessorNodeEventMap {\n "audioprocess": AudioProcessingEvent;\n}\n\n/** Allows the generation, processing, or analyzing of audio using JavaScript. */\ninterface ScriptProcessorNode extends AudioNode {\n /** @deprecated */\n readonly bufferSize: number;\n /** @deprecated */\n onaudioprocess: ((this: ScriptProcessorNode, ev: AudioProcessingEvent) => any) | null;\n addEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ScriptProcessorNode: {\n prototype: ScriptProcessorNode;\n new(): ScriptProcessorNode;\n};\n\n/** Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated. */\ninterface SecurityPolicyViolationEvent extends Event {\n readonly blockedURI: string;\n readonly columnNumber: number;\n readonly documentURI: string;\n readonly effectiveDirective: string;\n readonly lineNumber: number;\n readonly originalPolicy: string;\n readonly referrer: string;\n readonly sourceFile: string;\n readonly statusCode: number;\n readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n prototype: SecurityPolicyViolationEvent;\n new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\n/** A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call Window.getSelection(). */\ninterface Selection {\n readonly anchorNode: Node | null;\n readonly anchorOffset: number;\n readonly focusNode: Node | null;\n readonly focusOffset: number;\n readonly isCollapsed: boolean;\n readonly rangeCount: number;\n readonly type: string;\n addRange(range: Range): void;\n collapse(node: Node | null, offset?: number): void;\n collapseToEnd(): void;\n collapseToStart(): void;\n containsNode(node: Node, allowPartialContainment?: boolean): boolean;\n deleteFromDocument(): void;\n empty(): void;\n extend(node: Node, offset?: number): void;\n getRangeAt(index: number): Range;\n removeAllRanges(): void;\n removeRange(range: Range): void;\n selectAllChildren(node: Node): void;\n setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;\n setPosition(node: Node | null, offset?: number): void;\n toString(): string;\n}\n\ndeclare var Selection: {\n prototype: Selection;\n new(): Selection;\n toString(): string;\n};\n\ninterface ServiceUIFrameContext {\n getCachedFrameMessage(key: string): string;\n postFrameMessage(key: string, data: string): void;\n}\ndeclare var ServiceUIFrameContext: ServiceUIFrameContext;\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n readonly scriptURL: string;\n readonly state: ServiceWorkerState;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n prototype: ServiceWorker;\n new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n "controllerchange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */\ninterface ServiceWorkerContainer extends EventTarget {\n readonly controller: ServiceWorker | null;\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n readonly ready: Promise<ServiceWorkerRegistration>;\n getRegistration(clientURL?: string): Promise<ServiceWorkerRegistration | undefined>;\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n register(scriptURL: string, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n startMessages(): void;\n addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n prototype: ServiceWorkerContainer;\n new(): ServiceWorkerContainer;\n};\n\n/** This ServiceWorker API interface contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker. */\ninterface ServiceWorkerMessageEvent extends Event {\n readonly data: any;\n readonly lastEventId: string;\n readonly origin: string;\n readonly ports: ReadonlyArray<MessagePort> | null;\n readonly source: ServiceWorker | MessagePort | null;\n}\n\ndeclare var ServiceWorkerMessageEvent: {\n prototype: ServiceWorkerMessageEvent;\n new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n "updatefound": Event;\n}\n\n/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n readonly navigationPreload: NavigationPreloadManager;\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n readonly pushManager: PushManager;\n readonly scope: string;\n readonly sync: SyncManager;\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n readonly waiting: ServiceWorker | null;\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n unregister(): Promise<boolean>;\n update(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n prototype: ServiceWorkerRegistration;\n new(): ServiceWorkerRegistration;\n};\n\ninterface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {\n readonly host: Element;\n readonly mode: ShadowRootMode;\n /**\n * Throws a "NotSupportedError" DOMException if context object is a shadow root.\n */\n}\n\ndeclare var ShadowRoot: {\n prototype: ShadowRoot;\n new(): ShadowRoot;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /**\n * Returns sharedWorker\'s MessagePort object which can be used to communicate with the global environment.\n */\n readonly port: MessagePort;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n prototype: SharedWorker;\n new(scriptURL: string, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n}\n\ninterface SourceBufferEventMap {\n "abort": Event;\n "error": Event;\n "update": Event;\n "updateend": Event;\n "updatestart": Event;\n}\n\n/** A chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments. */\ninterface SourceBuffer extends EventTarget {\n appendWindowEnd: number;\n appendWindowStart: number;\n readonly buffered: TimeRanges;\n mode: AppendMode;\n onabort: ((this: SourceBuffer, ev: Event) => any) | null;\n onerror: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdate: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;\n onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;\n timestampOffset: number;\n readonly updating: boolean;\n abort(): void;\n appendBuffer(data: BufferSource): void;\n remove(start: number, end: number): void;\n addEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SourceBufferEventMap>(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SourceBuffer: {\n prototype: SourceBuffer;\n new(): SourceBuffer;\n};\n\ninterface SourceBufferListEventMap {\n "addsourcebuffer": Event;\n "removesourcebuffer": Event;\n}\n\n/** A simple container list for multiple SourceBuffer objects. */\ninterface SourceBufferList extends EventTarget {\n readonly length: number;\n onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;\n addEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: SourceBuffer;\n}\n\ndeclare var SourceBufferList: {\n prototype: SourceBufferList;\n new(): SourceBufferList;\n};\n\ninterface SpeechGrammar {\n src: string;\n weight: number;\n}\n\ndeclare var SpeechGrammar: {\n prototype: SpeechGrammar;\n new(): SpeechGrammar;\n};\n\ninterface SpeechGrammarList {\n readonly length: number;\n addFromString(string: string, weight?: number): void;\n addFromURI(src: string, weight?: number): void;\n item(index: number): SpeechGrammar;\n [index: number]: SpeechGrammar;\n}\n\ndeclare var SpeechGrammarList: {\n prototype: SpeechGrammarList;\n new(): SpeechGrammarList;\n};\n\ninterface SpeechRecognitionEventMap {\n "audioend": Event;\n "audiostart": Event;\n "end": Event;\n "error": ErrorEvent;\n "nomatch": SpeechRecognitionEvent;\n "result": SpeechRecognitionEvent;\n "soundend": Event;\n "soundstart": Event;\n "speechend": Event;\n "speechstart": Event;\n "start": Event;\n}\n\ninterface SpeechRecognition extends EventTarget {\n continuous: boolean;\n grammars: SpeechGrammarList;\n interimResults: boolean;\n lang: string;\n maxAlternatives: number;\n onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null;\n onend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onerror: ((this: SpeechRecognition, ev: ErrorEvent) => any) | null;\n onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;\n onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;\n onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null;\n onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null;\n onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null;\n onstart: ((this: SpeechRecognition, ev: Event) => any) | null;\n abort(): void;\n start(): void;\n stop(): void;\n addEventListener<K extends keyof SpeechRecognitionEventMap>(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechRecognitionEventMap>(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechRecognition: {\n prototype: SpeechRecognition;\n new(): SpeechRecognition;\n};\n\ninterface SpeechRecognitionAlternative {\n readonly confidence: number;\n readonly transcript: string;\n}\n\ndeclare var SpeechRecognitionAlternative: {\n prototype: SpeechRecognitionAlternative;\n new(): SpeechRecognitionAlternative;\n};\n\ninterface SpeechRecognitionEvent extends Event {\n readonly resultIndex: number;\n readonly results: SpeechRecognitionResultList;\n}\n\ndeclare var SpeechRecognitionEvent: {\n prototype: SpeechRecognitionEvent;\n new(): SpeechRecognitionEvent;\n};\n\ninterface SpeechRecognitionResult {\n readonly isFinal: boolean;\n readonly length: number;\n item(index: number): SpeechRecognitionAlternative;\n [index: number]: SpeechRecognitionAlternative;\n}\n\ndeclare var SpeechRecognitionResult: {\n prototype: SpeechRecognitionResult;\n new(): SpeechRecognitionResult;\n};\n\ninterface SpeechRecognitionResultList {\n readonly length: number;\n item(index: number): SpeechRecognitionResult;\n [index: number]: SpeechRecognitionResult;\n}\n\ndeclare var SpeechRecognitionResultList: {\n prototype: SpeechRecognitionResultList;\n new(): SpeechRecognitionResultList;\n};\n\ninterface SpeechSynthesisEventMap {\n "voiceschanged": Event;\n}\n\n/** This Web Speech API interface is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides. */\ninterface SpeechSynthesis extends EventTarget {\n onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;\n readonly paused: boolean;\n readonly pending: boolean;\n readonly speaking: boolean;\n cancel(): void;\n getVoices(): SpeechSynthesisVoice[];\n pause(): void;\n resume(): void;\n speak(utterance: SpeechSynthesisUtterance): void;\n addEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesis: {\n prototype: SpeechSynthesis;\n new(): SpeechSynthesis;\n};\n\ninterface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {\n readonly error: SpeechSynthesisErrorCode;\n}\n\ndeclare var SpeechSynthesisErrorEvent: {\n prototype: SpeechSynthesisErrorEvent;\n new(type: string, eventInitDict: SpeechSynthesisErrorEventInit): SpeechSynthesisErrorEvent;\n};\n\n/** This Web Speech API interface contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service. */\ninterface SpeechSynthesisEvent extends Event {\n readonly charIndex: number;\n readonly charLength: number;\n readonly elapsedTime: number;\n readonly name: string;\n readonly utterance: SpeechSynthesisUtterance;\n}\n\ndeclare var SpeechSynthesisEvent: {\n prototype: SpeechSynthesisEvent;\n new(type: string, eventInitDict: SpeechSynthesisEventInit): SpeechSynthesisEvent;\n};\n\ninterface SpeechSynthesisUtteranceEventMap {\n "boundary": SpeechSynthesisEvent;\n "end": SpeechSynthesisEvent;\n "error": SpeechSynthesisErrorEvent;\n "mark": SpeechSynthesisEvent;\n "pause": SpeechSynthesisEvent;\n "resume": SpeechSynthesisEvent;\n "start": SpeechSynthesisEvent;\n}\n\n/** This Web Speech API interface represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.) */\ninterface SpeechSynthesisUtterance extends EventTarget {\n lang: string;\n onboundary: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onend: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onerror: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisErrorEvent) => any) | null;\n onmark: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onpause: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onresume: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n onstart: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n pitch: number;\n rate: number;\n text: string;\n voice: SpeechSynthesisVoice | null;\n volume: number;\n addEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SpeechSynthesisUtterance: {\n prototype: SpeechSynthesisUtterance;\n new(text?: string): SpeechSynthesisUtterance;\n};\n\n/** This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI. */\ninterface SpeechSynthesisVoice {\n readonly default: boolean;\n readonly lang: string;\n readonly localService: boolean;\n readonly name: string;\n readonly voiceURI: string;\n}\n\ndeclare var SpeechSynthesisVoice: {\n prototype: SpeechSynthesisVoice;\n new(): SpeechSynthesisVoice;\n};\n\ninterface StaticRange extends AbstractRange {\n}\n\ndeclare var StaticRange: {\n prototype: StaticRange;\n new(init: StaticRangeInit): StaticRange;\n};\n\n/** The pan property takes a unitless value between -1 (full left pan) and 1 (full right pan). This interface was introduced as a much simpler way to apply a simple panning effect than having to use a full PannerNode. */\ninterface StereoPannerNode extends AudioNode {\n readonly pan: AudioParam;\n}\n\ndeclare var StereoPannerNode: {\n prototype: StereoPannerNode;\n new(context: BaseAudioContext, options?: StereoPannerOptions): StereoPannerNode;\n};\n\n/** This Web Storage API interface provides access to a particular domain\'s session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. */\ninterface Storage {\n /**\n * Returns the number of key/value pairs currently present in the list associated with the object.\n */\n readonly length: number;\n /**\n * Empties the list associated with the object of all key/value pairs, if there are any.\n */\n clear(): void;\n /**\n * Returns the current value associated with the given key, or null if the given key does not exist in the list associated with the object.\n */\n getItem(key: string): string | null;\n /**\n * Returns the name of the nth key in the list, or null if n is greater than or equal to the number of key/value pairs in the object.\n */\n key(index: number): string | null;\n /**\n * Removes the key/value pair with the given key from the list associated with the object, if a key/value pair with the given key exists.\n */\n removeItem(key: string): void;\n /**\n * Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.\n * \n * Throws a "QuotaExceededError" DOMException exception if the new value couldn\'t be set. (Setting could fail if, e.g., the user has disabled storage for the site, or if the quota has been exceeded.)\n */\n setItem(key: string, value: string): void;\n [name: string]: any;\n}\n\ndeclare var Storage: {\n prototype: Storage;\n new(): Storage;\n};\n\n/** A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document. */\ninterface StorageEvent extends Event {\n /**\n * Returns the key of the storage item being changed.\n */\n readonly key: string | null;\n /**\n * Returns the new value of the key of the storage item whose value is being changed.\n */\n readonly newValue: string | null;\n /**\n * Returns the old value of the key of the storage item whose value is being changed.\n */\n readonly oldValue: string | null;\n /**\n * Returns the Storage object that was affected.\n */\n readonly storageArea: Storage | null;\n /**\n * Returns the URL of the document whose storage item changed.\n */\n readonly url: string;\n}\n\ndeclare var StorageEvent: {\n prototype: StorageEvent;\n new(type: string, eventInitDict?: StorageEventInit): StorageEvent;\n};\n\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n persist(): Promise<boolean>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\ninterface StyleMedia {\n readonly type: string;\n matchMedium(mediaquery: string): boolean;\n}\n\ndeclare var StyleMedia: {\n prototype: StyleMedia;\n new(): StyleMedia;\n};\n\n/** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */\ninterface StyleSheet {\n disabled: boolean;\n readonly href: string | null;\n readonly media: MediaList;\n readonly ownerNode: Element | ProcessingInstruction | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n readonly title: string | null;\n readonly type: string;\n}\n\ndeclare var StyleSheet: {\n prototype: StyleSheet;\n new(): StyleSheet;\n};\n\n/** A list of StyleSheet. */\ninterface StyleSheetList {\n readonly length: number;\n item(index: number): CSSStyleSheet | null;\n [index: number]: CSSStyleSheet;\n}\n\ndeclare var StyleSheetList: {\n prototype: StyleSheetList;\n new(): StyleSheetList;\n};\n\n/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n digest(algorithm: AlgorithmIdentifier, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): Promise<ArrayBuffer>;\n exportKey(format: string, key: CryptoKey): Promise<JsonWebKey | ArrayBuffer>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n unwrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<boolean>;\n wrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n prototype: SubtleCrypto;\n new(): SubtleCrypto;\n};\n\n/** This ServiceWorker API interface provides an interface for registering and listing sync registrations. */\ninterface SyncManager {\n getTags(): Promise<string[]>;\n register(tag: string): Promise<void>;\n}\n\ndeclare var SyncManager: {\n prototype: SyncManager;\n new(): SyncManager;\n};\n\n/** The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element\'s text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children. */\ninterface Text extends CharacterData, Slottable {\n readonly assignedSlot: HTMLSlotElement | null;\n /**\n * Returns the combined data of all direct Text node siblings.\n */\n readonly wholeText: string;\n /**\n * Splits data at the given offset and returns the remainder as Text node.\n */\n splitText(offset: number): Text;\n}\n\ndeclare var Text: {\n prototype: Text;\n new(data?: string): Text;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * Returns the result of running encoding\'s decoder. The method can be invoked zero or more times with options\'s stream set to true, and then once without options\'s stream (or set to false), to process a fragmented stream. If the invocation without options\'s stream (or set to false) has no input, it\'s clearest to omit both arguments.\n * \n * ```\n * var string = "", decoder = new TextDecoder(encoding), buffer;\n * while(buffer = next_chunk()) {\n * string += decoder.decode(buffer, {stream:true});\n * }\n * string += decoder.decode(); // end-of-stream\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, throws a TypeError.\n */\n decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", and false otherwise.\n */\n readonly fatal: boolean;\n /**\n * Returns true if ignore BOM flag is set, and false otherwise.\n */\n readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n readonly readable: ReadableStream<string>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n prototype: TextDecoderStream;\n new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * Returns the result of running UTF-8\'s encoder.\n */\n encode(input?: string): Uint8Array;\n /**\n * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as a dictionary whereby read is the number of converted code units of source and written is the number of bytes modified in destination.\n */\n encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n */\n readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\ninterface TextEvent extends UIEvent {\n readonly data: string;\n initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void;\n readonly DOM_INPUT_METHOD_DROP: number;\n readonly DOM_INPUT_METHOD_HANDWRITING: number;\n readonly DOM_INPUT_METHOD_IME: number;\n readonly DOM_INPUT_METHOD_KEYBOARD: number;\n readonly DOM_INPUT_METHOD_MULTIMODAL: number;\n readonly DOM_INPUT_METHOD_OPTION: number;\n readonly DOM_INPUT_METHOD_PASTE: number;\n readonly DOM_INPUT_METHOD_SCRIPT: number;\n readonly DOM_INPUT_METHOD_UNKNOWN: number;\n readonly DOM_INPUT_METHOD_VOICE: number;\n}\n\ndeclare var TextEvent: {\n prototype: TextEvent;\n new(): TextEvent;\n readonly DOM_INPUT_METHOD_DROP: number;\n readonly DOM_INPUT_METHOD_HANDWRITING: number;\n readonly DOM_INPUT_METHOD_IME: number;\n readonly DOM_INPUT_METHOD_KEYBOARD: number;\n readonly DOM_INPUT_METHOD_MULTIMODAL: number;\n readonly DOM_INPUT_METHOD_OPTION: number;\n readonly DOM_INPUT_METHOD_PASTE: number;\n readonly DOM_INPUT_METHOD_SCRIPT: number;\n readonly DOM_INPUT_METHOD_UNKNOWN: number;\n readonly DOM_INPUT_METHOD_VOICE: number;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxRight: number;\n /**\n * Returns the measurement described below.\n */\n readonly alphabeticBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly hangingBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly ideographicBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TextTrackEventMap {\n "cuechange": Event;\n}\n\n/** This interface also inherits properties from EventTarget. */\ninterface TextTrack extends EventTarget {\n /**\n * Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.\n */\n readonly activeCues: TextTrackCueList | null;\n /**\n * Returns the text track list of cues, as a TextTrackCueList object.\n */\n readonly cues: TextTrackCueList | null;\n /**\n * Returns the ID of the given track.\n * \n * For in-band tracks, this is the ID that can be used with a fragment if the format supports media fragment syntax, and that can be used with the getTrackById() method.\n * \n * For TextTrack objects corresponding to track elements, this is the ID of the track element.\n */\n readonly id: string;\n /**\n * Returns the text track in-band metadata track dispatch type string.\n */\n readonly inBandMetadataTrackDispatchType: string;\n /**\n * Returns the text track kind string.\n */\n readonly kind: TextTrackKind;\n /**\n * Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).\n */\n readonly label: string;\n /**\n * Returns the text track language string.\n */\n readonly language: string;\n /**\n * Returns the text track mode, represented by a string from the following list:\n * \n * Can be set, to change the mode.\n */\n mode: TextTrackMode;\n oncuechange: ((this: TextTrack, ev: Event) => any) | null;\n readonly sourceBuffer: SourceBuffer | null;\n /**\n * Adds the given cue to textTrack\'s text track list of cues.\n */\n addCue(cue: TextTrackCue): void;\n /**\n * Removes the given cue from textTrack\'s text track list of cues.\n */\n removeCue(cue: TextTrackCue): void;\n addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrack: {\n prototype: TextTrack;\n new(): TextTrack;\n};\n\ninterface TextTrackCueEventMap {\n "enter": Event;\n "exit": Event;\n}\n\n/** TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used. */\ninterface TextTrackCue extends EventTarget {\n /**\n * Returns the text track cue end time, in seconds.\n * \n * Can be set.\n */\n endTime: number;\n /**\n * Returns the text track cue identifier.\n * \n * Can be set.\n */\n id: string;\n onenter: ((this: TextTrackCue, ev: Event) => any) | null;\n onexit: ((this: TextTrackCue, ev: Event) => any) | null;\n /**\n * Returns true if the text track cue pause-on-exit flag is set, false otherwise.\n * \n * Can be set.\n */\n pauseOnExit: boolean;\n /**\n * Returns the text track cue start time, in seconds.\n * \n * Can be set.\n */\n startTime: number;\n /**\n * Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.\n */\n readonly track: TextTrack | null;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrackCue: {\n prototype: TextTrackCue;\n new(): TextTrackCue;\n};\n\ninterface TextTrackCueList {\n /**\n * Returns the number of cues in the list.\n */\n readonly length: number;\n /**\n * Returns the first text track cue (in text track cue order) with text track cue identifier id.\n * \n * Returns null if none of the cues have the given identifier or if the argument is the empty string.\n */\n getCueById(id: string): TextTrackCue | null;\n [index: number]: TextTrackCue;\n}\n\ndeclare var TextTrackCueList: {\n prototype: TextTrackCueList;\n new(): TextTrackCueList;\n};\n\ninterface TextTrackListEventMap {\n "addtrack": TrackEvent;\n "change": Event;\n "removetrack": TrackEvent;\n}\n\ninterface TextTrackList extends EventTarget {\n readonly length: number;\n onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n onchange: ((this: TextTrackList, ev: Event) => any) | null;\n onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n getTrackById(id: string): TextTrack | null;\n addEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: TextTrack;\n}\n\ndeclare var TextTrackList: {\n prototype: TextTrackList;\n new(): TextTrackList;\n};\n\n/** Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements. */\ninterface TimeRanges {\n /**\n * Returns the number of ranges in the object.\n */\n readonly length: number;\n /**\n * Returns the time for the end of the range with the given index.\n * \n * Throws an "IndexSizeError" DOMException if the index is out of range.\n */\n end(index: number): number;\n /**\n * Returns the time for the start of the range with the given index.\n * \n * Throws an "IndexSizeError" DOMException if the index is out of range.\n */\n start(index: number): number;\n}\n\ndeclare var TimeRanges: {\n prototype: TimeRanges;\n new(): TimeRanges;\n};\n\n/** A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad. */\ninterface Touch {\n readonly altitudeAngle: number;\n readonly azimuthAngle: number;\n readonly clientX: number;\n readonly clientY: number;\n readonly force: number;\n readonly identifier: number;\n readonly pageX: number;\n readonly pageY: number;\n readonly radiusX: number;\n readonly radiusY: number;\n readonly rotationAngle: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly target: EventTarget;\n readonly touchType: TouchType;\n}\n\ndeclare var Touch: {\n prototype: Touch;\n new(touchInitDict: TouchInit): Touch;\n};\n\n/** An event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth. */\ninterface TouchEvent extends UIEvent {\n readonly altKey: boolean;\n readonly changedTouches: TouchList;\n readonly ctrlKey: boolean;\n readonly metaKey: boolean;\n readonly shiftKey: boolean;\n readonly targetTouches: TouchList;\n readonly touches: TouchList;\n}\n\ndeclare var TouchEvent: {\n prototype: TouchEvent;\n new(type: string, eventInitDict?: TouchEventInit): TouchEvent;\n};\n\n/** A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries. */\ninterface TouchList {\n readonly length: number;\n item(index: number): Touch | null;\n [index: number]: Touch;\n}\n\ndeclare var TouchList: {\n prototype: TouchList;\n new(): TouchList;\n};\n\n/** The TrackEvent interface, part of the HTML DOM specification, is used for events which represent changes to the set of available tracks on an HTML media element; these events are addtrack and removetrack. */\ninterface TrackEvent extends Event {\n /**\n * Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.\n */\n readonly track: TextTrack | null;\n}\n\ndeclare var TrackEvent: {\n prototype: TrackEvent;\n new(type: string, eventInitDict?: TrackEventInit): TrackEvent;\n};\n\ninterface TransformStream<I = any, O = any> {\n readonly readable: ReadableStream<O>;\n readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n prototype: TransformStream;\n new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n readonly desiredSize: number | null;\n enqueue(chunk: O): void;\n error(reason?: any): void;\n terminate(): void;\n}\n\n/** Events providing information related to transitions. */\ninterface TransitionEvent extends Event {\n readonly elapsedTime: number;\n readonly propertyName: string;\n readonly pseudoElement: string;\n}\n\ndeclare var TransitionEvent: {\n prototype: TransitionEvent;\n new(type: string, transitionEventInitDict?: TransitionEventInit): TransitionEvent;\n};\n\n/** The nodes of a document subtree and a position within them. */\ninterface TreeWalker {\n currentNode: Node;\n readonly filter: NodeFilter | null;\n readonly root: Node;\n readonly whatToShow: number;\n firstChild(): Node | null;\n lastChild(): Node | null;\n nextNode(): Node | null;\n nextSibling(): Node | null;\n parentNode(): Node | null;\n previousNode(): Node | null;\n previousSibling(): Node | null;\n}\n\ndeclare var TreeWalker: {\n prototype: TreeWalker;\n new(): TreeWalker;\n};\n\n/** Simple user interface events. */\ninterface UIEvent extends Event {\n readonly detail: number;\n readonly view: Window | null;\n /** @deprecated */\n readonly which: number;\n}\n\ndeclare var UIEvent: {\n prototype: UIEvent;\n new(type: string, eventInitDict?: UIEventInit): UIEvent;\n};\n\n/** The URL interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n readonly searchParams: URLSearchParams;\n username: string;\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string, base?: string | URL): URL;\n createObjectURL(object: any): string;\n revokeObjectURL(url: string): void;\n};\n\ntype webkitURL = URL;\ndeclare var webkitURL: typeof URL;\n\ninterface URLSearchParams {\n /**\n * Appends a specified key/value pair as a new search parameter.\n */\n append(name: string, value: string): void;\n /**\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\n */\n delete(name: string): void;\n /**\n * Returns the first value associated to the given search parameter.\n */\n get(name: string): string | null;\n /**\n * Returns all the values association with a given search parameter.\n */\n getAll(name: string): string[];\n /**\n * Returns a Boolean indicating if such a search parameter exists.\n */\n has(name: string): boolean;\n /**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */\n set(name: string, value: string): void;\n sort(): void;\n /**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */\n toString(): string;\n forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n prototype: URLSearchParams;\n new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n toString(): string;\n};\n\n/** This WebVR API interface represents any VR device supported by this API. It includes generic information such as device IDs and descriptions, as well as methods for starting to present a VR scene, retrieving eye parameters and display capabilities, and other important functionality. */\ninterface VRDisplay extends EventTarget {\n readonly capabilities: VRDisplayCapabilities;\n depthFar: number;\n depthNear: number;\n readonly displayId: number;\n readonly displayName: string;\n readonly isConnected: boolean;\n readonly isPresenting: boolean;\n readonly stageParameters: VRStageParameters | null;\n cancelAnimationFrame(handle: number): void;\n exitPresent(): Promise<void>;\n getEyeParameters(whichEye: string): VREyeParameters;\n getFrameData(frameData: VRFrameData): boolean;\n getLayers(): VRLayer[];\n /** @deprecated */\n getPose(): VRPose;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n requestPresent(layers: VRLayer[]): Promise<void>;\n resetPose(): void;\n submitFrame(pose?: VRPose): void;\n}\n\ndeclare var VRDisplay: {\n prototype: VRDisplay;\n new(): VRDisplay;\n};\n\n/** This WebVR API interface describes the capabilities of a VRDisplay — its features can be used to perform VR device capability tests, for example can it return position information. */\ninterface VRDisplayCapabilities {\n readonly canPresent: boolean;\n readonly hasExternalDisplay: boolean;\n readonly hasOrientation: boolean;\n readonly hasPosition: boolean;\n readonly maxLayers: number;\n}\n\ndeclare var VRDisplayCapabilities: {\n prototype: VRDisplayCapabilities;\n new(): VRDisplayCapabilities;\n};\n\n/** This WebVR API interface represents represents the event object of WebVR-related events (see the list of WebVR window extensions). */\ninterface VRDisplayEvent extends Event {\n readonly display: VRDisplay;\n readonly reason: VRDisplayEventReason | null;\n}\n\ndeclare var VRDisplayEvent: {\n prototype: VRDisplayEvent;\n new(type: string, eventInitDict: VRDisplayEventInit): VRDisplayEvent;\n};\n\n/** This WebVR API interface represents all the information required to correctly render a scene for a given eye, including field of view information. */\ninterface VREyeParameters {\n /** @deprecated */\n readonly fieldOfView: VRFieldOfView;\n readonly offset: Float32Array;\n readonly renderHeight: number;\n readonly renderWidth: number;\n}\n\ndeclare var VREyeParameters: {\n prototype: VREyeParameters;\n new(): VREyeParameters;\n};\n\n/** This WebVR API interface represents a field of view defined by 4 different degree values describing the view from a center point. */\ninterface VRFieldOfView {\n readonly downDegrees: number;\n readonly leftDegrees: number;\n readonly rightDegrees: number;\n readonly upDegrees: number;\n}\n\ndeclare var VRFieldOfView: {\n prototype: VRFieldOfView;\n new(): VRFieldOfView;\n};\n\n/** This WebVR API interface represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData(). */\ninterface VRFrameData {\n readonly leftProjectionMatrix: Float32Array;\n readonly leftViewMatrix: Float32Array;\n readonly pose: VRPose;\n readonly rightProjectionMatrix: Float32Array;\n readonly rightViewMatrix: Float32Array;\n readonly timestamp: number;\n}\n\ndeclare var VRFrameData: {\n prototype: VRFrameData;\n new(): VRFrameData;\n};\n\n/** This WebVR API interface represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.) */\ninterface VRPose {\n readonly angularAcceleration: Float32Array | null;\n readonly angularVelocity: Float32Array | null;\n readonly linearAcceleration: Float32Array | null;\n readonly linearVelocity: Float32Array | null;\n readonly orientation: Float32Array | null;\n readonly position: Float32Array | null;\n readonly timestamp: number;\n}\n\ndeclare var VRPose: {\n prototype: VRPose;\n new(): VRPose;\n};\n\ninterface VTTCue extends TextTrackCue {\n align: AlignSetting;\n line: LineAndPositionSetting;\n lineAlign: LineAlignSetting;\n position: LineAndPositionSetting;\n positionAlign: PositionAlignSetting;\n region: VTTRegion | null;\n size: number;\n snapToLines: boolean;\n text: string;\n vertical: DirectionSetting;\n getCueAsHTML(): DocumentFragment;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VTTCue: {\n prototype: VTTCue;\n new(startTime: number, endTime: number, text: string): VTTCue;\n};\n\ninterface VTTRegion {\n id: string;\n lines: number;\n regionAnchorX: number;\n regionAnchorY: number;\n scroll: ScrollSetting;\n viewportAnchorX: number;\n viewportAnchorY: number;\n width: number;\n}\n\ndeclare var VTTRegion: {\n prototype: VTTRegion;\n new(): VTTRegion;\n};\n\n/** The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element\'s value fails to validate, if it\'s not valid. */\ninterface ValidityState {\n readonly badInput: boolean;\n readonly customError: boolean;\n readonly patternMismatch: boolean;\n readonly rangeOverflow: boolean;\n readonly rangeUnderflow: boolean;\n readonly stepMismatch: boolean;\n readonly tooLong: boolean;\n readonly tooShort: boolean;\n readonly typeMismatch: boolean;\n readonly valid: boolean;\n readonly valueMissing: boolean;\n}\n\ndeclare var ValidityState: {\n prototype: ValidityState;\n new(): ValidityState;\n};\n\n/** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */\ninterface VideoPlaybackQuality {\n readonly creationTime: number;\n readonly droppedVideoFrames: number;\n readonly totalVideoFrames: number;\n}\n\ndeclare var VideoPlaybackQuality: {\n prototype: VideoPlaybackQuality;\n new(): VideoPlaybackQuality;\n};\n\ninterface VisualViewportEventMap {\n "resize": UIEvent;\n "scroll": Event;\n}\n\ninterface VisualViewport extends EventTarget {\n readonly height: number;\n readonly offsetLeft: number;\n readonly offsetTop: number;\n onresize: ((this: VisualViewport, ev: UIEvent) => any) | null;\n onscroll: ((this: VisualViewport, ev: Event) => any) | null;\n readonly pageLeft: number;\n readonly pageTop: number;\n readonly scale: number;\n readonly width: number;\n addEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VisualViewportEventMap>(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VisualViewport: {\n prototype: VisualViewport;\n new(): VisualViewport;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGBA32F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_RENDERER_WEBGL: GLenum;\n readonly UNMASKED_VENDOR_WEBGL: GLenum;\n}\n\ninterface WEBGL_debug_shaders {\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n readonly DRAW_BUFFER0_WEBGL: GLenum;\n readonly DRAW_BUFFER10_WEBGL: GLenum;\n readonly DRAW_BUFFER11_WEBGL: GLenum;\n readonly DRAW_BUFFER12_WEBGL: GLenum;\n readonly DRAW_BUFFER13_WEBGL: GLenum;\n readonly DRAW_BUFFER14_WEBGL: GLenum;\n readonly DRAW_BUFFER15_WEBGL: GLenum;\n readonly DRAW_BUFFER1_WEBGL: GLenum;\n readonly DRAW_BUFFER2_WEBGL: GLenum;\n readonly DRAW_BUFFER3_WEBGL: GLenum;\n readonly DRAW_BUFFER4_WEBGL: GLenum;\n readonly DRAW_BUFFER5_WEBGL: GLenum;\n readonly DRAW_BUFFER6_WEBGL: GLenum;\n readonly DRAW_BUFFER7_WEBGL: GLenum;\n readonly DRAW_BUFFER8_WEBGL: GLenum;\n readonly DRAW_BUFFER9_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\n/** A WaveShaperNode always has exactly one input and one output. */\ninterface WaveShaperNode extends AudioNode {\n curve: Float32Array | null;\n oversample: OverSampleType;\n}\n\ndeclare var WaveShaperNode: {\n prototype: WaveShaperNode;\n new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;\n};\n\ninterface WebAuthentication {\n getAssertion(assertionChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: AssertionOptions): Promise<WebAuthnAssertion>;\n makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;\n}\n\ndeclare var WebAuthentication: {\n prototype: WebAuthentication;\n new(): WebAuthentication;\n};\n\ninterface WebAuthnAssertion {\n readonly authenticatorData: ArrayBuffer;\n readonly clientData: ArrayBuffer;\n readonly credential: ScopedCredential;\n readonly signature: ArrayBuffer;\n}\n\ndeclare var WebAuthnAssertion: {\n prototype: WebAuthnAssertion;\n new(): WebAuthnAssertion;\n};\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n};\n\ninterface WebGL2RenderingContextBase {\n beginQuery(target: GLenum, query: WebGLQuery): void;\n beginTransformFeedback(primitiveMode: GLenum): void;\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createQuery(): WebGLQuery | null;\n createSampler(): WebGLSampler | null;\n createTransformFeedback(): WebGLTransformFeedback | null;\n createVertexArray(): WebGLVertexArrayObject | null;\n deleteQuery(query: WebGLQuery | null): void;\n deleteSampler(sampler: WebGLSampler | null): void;\n deleteSync(sync: WebGLSync | null): void;\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n drawBuffers(buffers: GLenum[]): void;\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n endQuery(target: GLenum): void;\n endTransformFeedback(): void;\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n getIndexedParameter(target: GLenum, index: GLuint): any;\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n isQuery(query: WebGLQuery | null): GLboolean;\n isSampler(sampler: WebGLSampler | null): GLboolean;\n isSync(sync: WebGLSync | null): GLboolean;\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n pauseTransformFeedback(): void;\n readBuffer(src: GLenum): void;\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n resumeTransformFeedback(): void;\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n}\n\ninterface WebGL2RenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n readonly name: string;\n readonly size: GLint;\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer extends WebGLObject {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer extends WebGLObject {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\n\ninterface WebGLObject {\n}\n\ndeclare var WebGLObject: {\n prototype: WebGLObject;\n new(): WebGLObject;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram extends WebGLObject {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\ninterface WebGLQuery extends WebGLObject {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer extends WebGLObject {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n prototype: WebGLRenderingContext;\n new(): WebGLRenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n readonly drawingBufferHeight: GLsizei;\n readonly drawingBufferWidth: GLsizei;\n activeTexture(texture: GLenum): void;\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n blendEquation(mode: GLenum): void;\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n checkFramebufferStatus(target: GLenum): GLenum;\n clear(mask: GLbitfield): void;\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n clearDepth(depth: GLclampf): void;\n clearStencil(s: GLint): void;\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n compileShader(shader: WebGLShader): void;\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createBuffer(): WebGLBuffer | null;\n createFramebuffer(): WebGLFramebuffer | null;\n createProgram(): WebGLProgram | null;\n createRenderbuffer(): WebGLRenderbuffer | null;\n createShader(type: GLenum): WebGLShader | null;\n createTexture(): WebGLTexture | null;\n cullFace(mode: GLenum): void;\n deleteBuffer(buffer: WebGLBuffer | null): void;\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n deleteProgram(program: WebGLProgram | null): void;\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n deleteShader(shader: WebGLShader | null): void;\n deleteTexture(texture: WebGLTexture | null): void;\n depthFunc(func: GLenum): void;\n depthMask(flag: GLboolean): void;\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n disable(cap: GLenum): void;\n disableVertexAttribArray(index: GLuint): void;\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n enable(cap: GLenum): void;\n enableVertexAttribArray(index: GLuint): void;\n finish(): void;\n flush(): void;\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n frontFace(mode: GLenum): void;\n generateMipmap(target: GLenum): void;\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n getBufferParameter(target: GLenum, pname: GLenum): any;\n getContextAttributes(): WebGLContextAttributes | null;\n getError(): GLenum;\n getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;\n getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;\n getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;\n getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\n getExtension(extensionName: string): any;\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n getParameter(pname: GLenum): any;\n getProgramInfoLog(program: WebGLProgram): string | null;\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n getShaderInfoLog(shader: WebGLShader): string | null;\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n getShaderSource(shader: WebGLShader): string | null;\n getSupportedExtensions(): string[] | null;\n getTexParameter(target: GLenum, pname: GLenum): any;\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n hint(target: GLenum, mode: GLenum): void;\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n isContextLost(): boolean;\n isEnabled(cap: GLenum): GLboolean;\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n isProgram(program: WebGLProgram | null): GLboolean;\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n isShader(shader: WebGLShader | null): GLboolean;\n isTexture(texture: WebGLTexture | null): GLboolean;\n lineWidth(width: GLfloat): void;\n linkProgram(program: WebGLProgram): void;\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n shaderSource(shader: WebGLShader, source: string): void;\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n stencilMask(mask: GLuint): void;\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n useProgram(program: WebGLProgram | null): void;\n validateProgram(program: WebGLProgram): void;\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n}\n\ninterface WebGLRenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler extends WebGLObject {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader extends WebGLObject {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n readonly precision: GLint;\n readonly rangeMax: GLint;\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync extends WebGLObject {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture extends WebGLObject {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback extends WebGLObject {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject extends WebGLObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES extends WebGLObject {\n}\n\ninterface WebKitPoint {\n x: number;\n y: number;\n}\n\ndeclare var WebKitPoint: {\n prototype: WebKitPoint;\n new(x?: number, y?: number): WebKitPoint;\n};\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n /**\n * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n * \n * Can be set, to change how binary data is returned. The default is "blob".\n */\n binaryType: BinaryType;\n /**\n * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n * \n * If the WebSocket connection is closed, this attribute\'s value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n */\n readonly bufferedAmount: number;\n /**\n * Returns the extensions selected by the server, if any.\n */\n readonly extensions: string;\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor\'s second argument to perform subprotocol negotiation.\n */\n readonly protocol: string;\n /**\n * Returns the state of the WebSocket object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL that was used to establish the WebSocket connection.\n */\n readonly url: string;\n /**\n * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.\n */\n close(code?: number, reason?: string): void;\n /**\n * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.\n */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n prototype: WebSocket;\n new(url: string, protocols?: string | string[]): WebSocket;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** Events that occur due to the user moving a mouse wheel or similar input device. */\ninterface WheelEvent extends MouseEvent {\n readonly deltaMode: number;\n readonly deltaX: number;\n readonly deltaY: number;\n readonly deltaZ: number;\n readonly DOM_DELTA_LINE: number;\n readonly DOM_DELTA_PAGE: number;\n readonly DOM_DELTA_PIXEL: number;\n}\n\ndeclare var WheelEvent: {\n prototype: WheelEvent;\n new(type: string, eventInitDict?: WheelEventInit): WheelEvent;\n readonly DOM_DELTA_LINE: number;\n readonly DOM_DELTA_PAGE: number;\n readonly DOM_DELTA_PIXEL: number;\n};\n\ninterface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {\n "abort": UIEvent;\n "afterprint": Event;\n "beforeprint": Event;\n "beforeunload": BeforeUnloadEvent;\n "blur": FocusEvent;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": MouseEvent;\n "compassneedscalibration": Event;\n "contextmenu": MouseEvent;\n "dblclick": MouseEvent;\n "devicelight": DeviceLightEvent;\n "devicemotion": DeviceMotionEvent;\n "deviceorientation": DeviceOrientationEvent;\n "deviceorientationabsolute": DeviceOrientationEvent;\n "drag": DragEvent;\n "dragend": DragEvent;\n "dragenter": DragEvent;\n "dragleave": DragEvent;\n "dragover": DragEvent;\n "dragstart": DragEvent;\n "drop": DragEvent;\n "durationchange": Event;\n "emptied": Event;\n "ended": Event;\n "error": ErrorEvent;\n "focus": FocusEvent;\n "hashchange": HashChangeEvent;\n "input": Event;\n "invalid": Event;\n "keydown": KeyboardEvent;\n "keypress": KeyboardEvent;\n "keyup": KeyboardEvent;\n "load": Event;\n "loadeddata": Event;\n "loadedmetadata": Event;\n "loadstart": Event;\n "message": MessageEvent;\n "mousedown": MouseEvent;\n "mouseenter": MouseEvent;\n "mouseleave": MouseEvent;\n "mousemove": MouseEvent;\n "mouseout": MouseEvent;\n "mouseover": MouseEvent;\n "mouseup": MouseEvent;\n "mousewheel": Event;\n "MSGestureChange": Event;\n "MSGestureDoubleTap": Event;\n "MSGestureEnd": Event;\n "MSGestureHold": Event;\n "MSGestureStart": Event;\n "MSGestureTap": Event;\n "MSInertiaStart": Event;\n "MSPointerCancel": Event;\n "MSPointerDown": Event;\n "MSPointerEnter": Event;\n "MSPointerLeave": Event;\n "MSPointerMove": Event;\n "MSPointerOut": Event;\n "MSPointerOver": Event;\n "MSPointerUp": Event;\n "offline": Event;\n "online": Event;\n "orientationchange": Event;\n "pagehide": PageTransitionEvent;\n "pageshow": PageTransitionEvent;\n "pause": Event;\n "play": Event;\n "playing": Event;\n "popstate": PopStateEvent;\n "progress": ProgressEvent<Window>;\n "ratechange": Event;\n "readystatechange": ProgressEvent<Window>;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "seeked": Event;\n "seeking": Event;\n "select": Event;\n "stalled": Event;\n "storage": StorageEvent;\n "submit": Event;\n "suspend": Event;\n "timeupdate": Event;\n "unload": Event;\n "volumechange": Event;\n "vrdisplayactivate": Event;\n "vrdisplayblur": Event;\n "vrdisplayconnect": Event;\n "vrdisplaydeactivate": Event;\n "vrdisplaydisconnect": Event;\n "vrdisplayfocus": Event;\n "vrdisplaypointerrestricted": Event;\n "vrdisplaypointerunrestricted": Event;\n "vrdisplaypresentchange": Event;\n "waiting": Event;\n}\n\n/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */\ninterface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {\n readonly applicationCache: ApplicationCache;\n readonly clientInformation: Navigator;\n readonly closed: boolean;\n customElements: CustomElementRegistry;\n defaultStatus: string;\n readonly devicePixelRatio: number;\n readonly doNotTrack: string;\n readonly document: Document;\n /** @deprecated */\n readonly event: Event | undefined;\n /** @deprecated */\n readonly external: External;\n readonly frameElement: Element;\n readonly frames: Window;\n readonly history: History;\n readonly innerHeight: number;\n readonly innerWidth: number;\n readonly length: number;\n location: Location;\n readonly locationbar: BarProp;\n readonly menubar: BarProp;\n readonly msContentScript: ExtensionScriptApis;\n name: string;\n readonly navigator: Navigator;\n offscreenBuffering: string | boolean;\n oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;\n ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;\n ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n onmousewheel: ((this: Window, ev: Event) => any) | null;\n onmsgesturechange: ((this: Window, ev: Event) => any) | null;\n onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null;\n onmsgestureend: ((this: Window, ev: Event) => any) | null;\n onmsgesturehold: ((this: Window, ev: Event) => any) | null;\n onmsgesturestart: ((this: Window, ev: Event) => any) | null;\n onmsgesturetap: ((this: Window, ev: Event) => any) | null;\n onmsinertiastart: ((this: Window, ev: Event) => any) | null;\n onmspointercancel: ((this: Window, ev: Event) => any) | null;\n onmspointerdown: ((this: Window, ev: Event) => any) | null;\n onmspointerenter: ((this: Window, ev: Event) => any) | null;\n onmspointerleave: ((this: Window, ev: Event) => any) | null;\n onmspointermove: ((this: Window, ev: Event) => any) | null;\n onmspointerout: ((this: Window, ev: Event) => any) | null;\n onmspointerover: ((this: Window, ev: Event) => any) | null;\n onmspointerup: ((this: Window, ev: Event) => any) | null;\n /** @deprecated */\n onorientationchange: ((this: Window, ev: Event) => any) | null;\n onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null;\n onvrdisplayactivate: ((this: Window, ev: Event) => any) | null;\n onvrdisplayblur: ((this: Window, ev: Event) => any) | null;\n onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;\n onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null;\n onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null;\n onvrdisplayfocus: ((this: Window, ev: Event) => any) | null;\n onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null;\n onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;\n onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;\n opener: any;\n /** @deprecated */\n readonly orientation: string | number;\n readonly outerHeight: number;\n readonly outerWidth: number;\n readonly pageXOffset: number;\n readonly pageYOffset: number;\n readonly parent: Window;\n readonly personalbar: BarProp;\n readonly screen: Screen;\n readonly screenLeft: number;\n readonly screenTop: number;\n readonly screenX: number;\n readonly screenY: number;\n readonly scrollX: number;\n readonly scrollY: number;\n readonly scrollbars: BarProp;\n readonly self: Window & typeof globalThis;\n readonly speechSynthesis: SpeechSynthesis;\n status: string;\n readonly statusbar: BarProp;\n readonly styleMedia: StyleMedia;\n readonly toolbar: BarProp;\n readonly top: Window;\n readonly visualViewport: VisualViewport;\n readonly window: Window & typeof globalThis;\n alert(message?: any): void;\n blur(): void;\n /** @deprecated */\n captureEvents(): void;\n close(): void;\n confirm(message?: string): boolean;\n departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;\n focus(): void;\n getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList;\n getSelection(): Selection | null;\n matchMedia(query: string): MediaQueryList;\n moveBy(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n msWriteProfilerMark(profilerMarkName: string): void;\n open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;\n postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\n print(): void;\n prompt(message?: string, _default?: string): string | null;\n /** @deprecated */\n releaseEvents(): void;\n resizeBy(x: number, y: number): void;\n resizeTo(width: number, height: number): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n stop(): void;\n webkitCancelAnimationFrame(handle: number): void;\n webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;\n webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;\n webkitRequestAnimationFrame(callback: FrameRequestCallback): number;\n addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Window;\n}\n\ndeclare var Window: {\n prototype: Window;\n new(): Window;\n};\n\ninterface WindowEventHandlersEventMap {\n "afterprint": Event;\n "beforeprint": Event;\n "beforeunload": BeforeUnloadEvent;\n "hashchange": HashChangeEvent;\n "languagechange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n "offline": Event;\n "online": Event;\n "pagehide": PageTransitionEvent;\n "pageshow": PageTransitionEvent;\n "popstate": PopStateEvent;\n "rejectionhandled": PromiseRejectionEvent;\n "storage": StorageEvent;\n "unhandledrejection": PromiseRejectionEvent;\n "unload": Event;\n}\n\ninterface WindowEventHandlers {\n onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;\n onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;\n onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n ononline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;\n onrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;\n onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;\n addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface WindowLocalStorage {\n readonly localStorage: Storage;\n}\n\ninterface WindowOrWorkerGlobalScope {\n readonly caches: CacheStorage;\n readonly crypto: Crypto;\n readonly indexedDB: IDBFactory;\n readonly isSecureContext: boolean;\n readonly origin: string;\n readonly performance: Performance;\n atob(data: string): string;\n btoa(data: string): string;\n clearInterval(handle?: number): void;\n clearTimeout(handle?: number): void;\n createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n}\n\ninterface WindowSessionStorage {\n readonly sessionStorage: Storage;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n /**\n * Clones message and transmits it to worker\'s global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Aborts worker\'s associated global environment.\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(stringUrl: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface Worklet {\n addModule(moduleURL: string, options?: WorkletOptions): Promise<void>;\n}\n\ndeclare var Worklet: {\n prototype: Worklet;\n new(): Worklet;\n};\n\n/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n readonly locked: boolean;\n abort(reason?: any): Promise<void>;\n getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n prototype: WritableStream;\n new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a WritableStream\'s state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n error(error?: any): void;\n}\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n readonly closed: Promise<void>;\n readonly desiredSize: number | null;\n readonly ready: Promise<void>;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n releaseLock(): void;\n write(chunk: W): Promise<void>;\n}\n\n/** An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. */\ninterface XMLDocument extends Document {\n addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLDocument: {\n prototype: XMLDocument;\n new(): XMLDocument;\n};\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n "readystatechange": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * Returns client\'s state.\n */\n readonly readyState: number;\n /**\n * Returns the response\'s body.\n */\n readonly response: any;\n /**\n * Returns the text response.\n * \n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".\n */\n readonly responseText: string;\n /**\n * Returns the response type.\n * \n * Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".\n * \n * When set: setting to "document" is ignored if current global object is not a Window object.\n * \n * When set: throws an "InvalidStateError" DOMException if state is loading or done.\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n responseType: XMLHttpRequestResponseType;\n readonly responseURL: string;\n /**\n * Returns the document response.\n * \n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "document".\n */\n readonly responseXML: Document | null;\n readonly status: number;\n readonly statusText: string;\n /**\n * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and the synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n timeout: number;\n /**\n * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n * \n * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.\n */\n withCredentials: boolean;\n /**\n * Cancels any network activity.\n */\n abort(): void;\n getAllResponseHeaders(): string;\n getResponseHeader(name: string): string | null;\n /**\n * Sets the request method, request URL, and synchronous flag.\n * \n * Throws a "SyntaxError" DOMException if either method is not a valid HTTP method or url cannot be parsed.\n * \n * Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.\n * \n * Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n */\n open(method: string, url: string): void;\n open(method: string, url: string, async: boolean, username?: string | null, password?: string | null): void;\n /**\n * Acts as if the `Content-Type` header value for response is mime. (It does not actually change the header though.)\n * \n * Throws an "InvalidStateError" DOMException if state is loading or done.\n */\n overrideMimeType(mime: string): void;\n /**\n * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n */\n send(body?: Document | BodyInit | null): void;\n /**\n * Combines a header in author request headers.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n * \n * Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.\n */\n setRequestHeader(name: string, value: string): void;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n prototype: XMLHttpRequest;\n new(): XMLHttpRequest;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n "abort": ProgressEvent<XMLHttpRequestEventTarget>;\n "error": ProgressEvent<XMLHttpRequestEventTarget>;\n "load": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadend": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;\n "progress": ProgressEvent<XMLHttpRequestEventTarget>;\n "timeout": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n prototype: XMLHttpRequestEventTarget;\n new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n prototype: XMLHttpRequestUpload;\n new(): XMLHttpRequestUpload;\n};\n\n/** Provides the serializeToString() method to construct an XML string representing a DOM tree. */\ninterface XMLSerializer {\n serializeToString(root: Node): string;\n}\n\ndeclare var XMLSerializer: {\n prototype: XMLSerializer;\n new(): XMLSerializer;\n};\n\n/** The XPathEvaluator interface allows to compile and evaluate XPath expressions. */\ninterface XPathEvaluator extends XPathEvaluatorBase {\n}\n\ndeclare var XPathEvaluator: {\n prototype: XPathEvaluator;\n new(): XPathEvaluator;\n};\n\ninterface XPathEvaluatorBase {\n createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;\n createNSResolver(nodeResolver: Node): XPathNSResolver;\n evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;\n}\n\n/** This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree. */\ninterface XPathExpression {\n evaluate(contextNode: Node, type?: number, result?: XPathResult | null): XPathResult;\n}\n\ndeclare var XPathExpression: {\n prototype: XPathExpression;\n new(): XPathExpression;\n};\n\n/** The results generated by evaluating an XPath expression within the context of a given node. */\ninterface XPathResult {\n readonly booleanValue: boolean;\n readonly invalidIteratorState: boolean;\n readonly numberValue: number;\n readonly resultType: number;\n readonly singleNodeValue: Node | null;\n readonly snapshotLength: number;\n readonly stringValue: string;\n iterateNext(): Node | null;\n snapshotItem(index: number): Node | null;\n readonly ANY_TYPE: number;\n readonly ANY_UNORDERED_NODE_TYPE: number;\n readonly BOOLEAN_TYPE: number;\n readonly FIRST_ORDERED_NODE_TYPE: number;\n readonly NUMBER_TYPE: number;\n readonly ORDERED_NODE_ITERATOR_TYPE: number;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n readonly STRING_TYPE: number;\n readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n}\n\ndeclare var XPathResult: {\n prototype: XPathResult;\n new(): XPathResult;\n readonly ANY_TYPE: number;\n readonly ANY_UNORDERED_NODE_TYPE: number;\n readonly BOOLEAN_TYPE: number;\n readonly FIRST_ORDERED_NODE_TYPE: number;\n readonly NUMBER_TYPE: number;\n readonly ORDERED_NODE_ITERATOR_TYPE: number;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n readonly STRING_TYPE: number;\n readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n};\n\n/** An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents. */\ninterface XSLTProcessor {\n clearParameters(): void;\n getParameter(namespaceURI: string, localName: string): any;\n importStylesheet(style: Node): void;\n removeParameter(namespaceURI: string, localName: string): void;\n reset(): void;\n setParameter(namespaceURI: string, localName: string, value: any): void;\n transformToDocument(source: Node): Document;\n transformToFragment(source: Node, document: Document): DocumentFragment;\n}\n\ndeclare var XSLTProcessor: {\n prototype: XSLTProcessor;\n new(): XSLTProcessor;\n};\n\ninterface webkitRTCPeerConnection extends RTCPeerConnection {\n addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var webkitRTCPeerConnection: {\n prototype: webkitRTCPeerConnection;\n new(configuration: RTCConfiguration): webkitRTCPeerConnection;\n};\n\ndeclare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;\n\ninterface Console {\n memory: any;\n assert(condition?: boolean, ...data: any[]): void;\n clear(): void;\n count(label?: string): void;\n countReset(label?: string): void;\n debug(...data: any[]): void;\n dir(item?: any, options?: any): void;\n dirxml(...data: any[]): void;\n error(...data: any[]): void;\n exception(message?: string, ...optionalParams: any[]): void;\n group(...data: any[]): void;\n groupCollapsed(...data: any[]): void;\n groupEnd(): void;\n info(...data: any[]): void;\n log(...data: any[]): void;\n table(tabularData?: any, properties?: string[]): void;\n time(label?: string): void;\n timeEnd(label?: string): void;\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n trace(...data: any[]): void;\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\n/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */\ndeclare namespace CSS {\n function escape(ident: string): string;\n function supports(property: string, value: string): boolean;\n function supports(conditionText: string): boolean;\n}\n\ndeclare namespace WebAssembly {\n interface CompileError {\n }\n \n var CompileError: {\n prototype: CompileError;\n new(): CompileError;\n };\n \n interface Global {\n value: any;\n valueOf(): any;\n }\n \n var Global: {\n prototype: Global;\n new(descriptor: GlobalDescriptor, v?: any): Global;\n };\n \n interface Instance {\n readonly exports: Exports;\n }\n \n var Instance: {\n prototype: Instance;\n new(module: Module, importObject?: Imports): Instance;\n };\n \n interface LinkError {\n }\n \n var LinkError: {\n prototype: LinkError;\n new(): LinkError;\n };\n \n interface Memory {\n readonly buffer: ArrayBuffer;\n grow(delta: number): number;\n }\n \n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n \n interface Module {\n }\n \n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n exports(moduleObject: Module): ModuleExportDescriptor[];\n imports(moduleObject: Module): ModuleImportDescriptor[];\n };\n \n interface RuntimeError {\n }\n \n var RuntimeError: {\n prototype: RuntimeError;\n new(): RuntimeError;\n };\n \n interface Table {\n readonly length: number;\n get(index: number): Function | null;\n grow(delta: number): number;\n set(index: number, value: Function | null): void;\n }\n \n var Table: {\n prototype: Table;\n new(descriptor: TableDescriptor): Table;\n };\n \n interface GlobalDescriptor {\n mutable?: boolean;\n value: ValueType;\n }\n \n interface MemoryDescriptor {\n initial: number;\n maximum?: number;\n }\n \n interface ModuleExportDescriptor {\n kind: ImportExportKind;\n name: string;\n }\n \n interface ModuleImportDescriptor {\n kind: ImportExportKind;\n module: string;\n name: string;\n }\n \n interface TableDescriptor {\n element: TableKind;\n initial: number;\n maximum?: number;\n }\n \n interface WebAssemblyInstantiatedSource {\n instance: Instance;\n module: Module;\n }\n \n type ImportExportKind = "function" | "global" | "memory" | "table";\n type TableKind = "anyfunc";\n type ValueType = "f32" | "f64" | "i32" | "i64";\n type ExportValue = Function | Global | Memory | Table;\n type Exports = Record<string, ExportValue>;\n type ImportValue = ExportValue | number;\n type ModuleImports = Record<string, ImportValue>;\n type Imports = Record<string, ModuleImports>;\n function compile(bytes: BufferSource): Promise<Module>;\n function compileStreaming(source: Response | Promise<Response>): Promise<Module>;\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function validate(bytes: BufferSource): boolean;\n}\n\ninterface BlobCallback {\n (blob: Blob | null): void;\n}\n\ninterface CustomElementConstructor {\n new (...params: any[]): HTMLElement;\n}\n\ninterface DecodeErrorCallback {\n (error: DOMException): void;\n}\n\ninterface DecodeSuccessCallback {\n (decodedData: AudioBuffer): void;\n}\n\ninterface EventHandlerNonNull {\n (event: Event): any;\n}\n\ninterface ForEachCallback {\n (keyId: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, status: MediaKeyStatus): void;\n}\n\ninterface FrameRequestCallback {\n (time: number): void;\n}\n\ninterface FunctionStringCallback {\n (data: string): void;\n}\n\ninterface IntersectionObserverCallback {\n (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;\n}\n\ninterface MSLaunchUriCallback {\n (): void;\n}\n\ninterface MutationCallback {\n (mutations: MutationRecord[], observer: MutationObserver): void;\n}\n\ninterface NavigatorUserMediaErrorCallback {\n (error: MediaStreamError): void;\n}\n\ninterface NavigatorUserMediaSuccessCallback {\n (stream: MediaStream): void;\n}\n\ninterface NotificationPermissionCallback {\n (permission: NotificationPermission): void;\n}\n\ninterface OnBeforeUnloadEventHandlerNonNull {\n (event: Event): string | null;\n}\n\ninterface OnErrorEventHandlerNonNull {\n (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface PositionCallback {\n (position: Position): void;\n}\n\ninterface PositionErrorCallback {\n (positionError: PositionError): void;\n}\n\ninterface QueuingStrategySizeCallback<T = any> {\n (chunk: T): number;\n}\n\ninterface RTCPeerConnectionErrorCallback {\n (error: DOMException): void;\n}\n\ninterface RTCSessionDescriptionCallback {\n (description: RTCSessionDescriptionInit): void;\n}\n\ninterface RTCStatsCallback {\n (report: RTCStatsReport): void;\n}\n\ninterface ReadableByteStreamControllerCallback {\n (controller: ReadableByteStreamController): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamDefaultControllerCallback<R> {\n (controller: ReadableStreamDefaultController<R>): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerCallback<O> {\n (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerTransformCallback<I, O> {\n (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface WritableStreamDefaultControllerCloseCallback {\n (): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerStartCallback {\n (controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerWriteCallback<W> {\n (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\ninterface HTMLElementTagNameMap {\n "a": HTMLAnchorElement;\n "abbr": HTMLElement;\n "address": HTMLElement;\n "applet": HTMLAppletElement;\n "area": HTMLAreaElement;\n "article": HTMLElement;\n "aside": HTMLElement;\n "audio": HTMLAudioElement;\n "b": HTMLElement;\n "base": HTMLBaseElement;\n "basefont": HTMLBaseFontElement;\n "bdi": HTMLElement;\n "bdo": HTMLElement;\n "blockquote": HTMLQuoteElement;\n "body": HTMLBodyElement;\n "br": HTMLBRElement;\n "button": HTMLButtonElement;\n "canvas": HTMLCanvasElement;\n "caption": HTMLTableCaptionElement;\n "cite": HTMLElement;\n "code": HTMLElement;\n "col": HTMLTableColElement;\n "colgroup": HTMLTableColElement;\n "data": HTMLDataElement;\n "datalist": HTMLDataListElement;\n "dd": HTMLElement;\n "del": HTMLModElement;\n "details": HTMLDetailsElement;\n "dfn": HTMLElement;\n "dialog": HTMLDialogElement;\n "dir": HTMLDirectoryElement;\n "div": HTMLDivElement;\n "dl": HTMLDListElement;\n "dt": HTMLElement;\n "em": HTMLElement;\n "embed": HTMLEmbedElement;\n "fieldset": HTMLFieldSetElement;\n "figcaption": HTMLElement;\n "figure": HTMLElement;\n "font": HTMLFontElement;\n "footer": HTMLElement;\n "form": HTMLFormElement;\n "frame": HTMLFrameElement;\n "frameset": HTMLFrameSetElement;\n "h1": HTMLHeadingElement;\n "h2": HTMLHeadingElement;\n "h3": HTMLHeadingElement;\n "h4": HTMLHeadingElement;\n "h5": HTMLHeadingElement;\n "h6": HTMLHeadingElement;\n "head": HTMLHeadElement;\n "header": HTMLElement;\n "hgroup": HTMLElement;\n "hr": HTMLHRElement;\n "html": HTMLHtmlElement;\n "i": HTMLElement;\n "iframe": HTMLIFrameElement;\n "img": HTMLImageElement;\n "input": HTMLInputElement;\n "ins": HTMLModElement;\n "kbd": HTMLElement;\n "label": HTMLLabelElement;\n "legend": HTMLLegendElement;\n "li": HTMLLIElement;\n "link": HTMLLinkElement;\n "main": HTMLElement;\n "map": HTMLMapElement;\n "mark": HTMLElement;\n "marquee": HTMLMarqueeElement;\n "menu": HTMLMenuElement;\n "meta": HTMLMetaElement;\n "meter": HTMLMeterElement;\n "nav": HTMLElement;\n "noscript": HTMLElement;\n "object": HTMLObjectElement;\n "ol": HTMLOListElement;\n "optgroup": HTMLOptGroupElement;\n "option": HTMLOptionElement;\n "output": HTMLOutputElement;\n "p": HTMLParagraphElement;\n "param": HTMLParamElement;\n "picture": HTMLPictureElement;\n "pre": HTMLPreElement;\n "progress": HTMLProgressElement;\n "q": HTMLQuoteElement;\n "rp": HTMLElement;\n "rt": HTMLElement;\n "ruby": HTMLElement;\n "s": HTMLElement;\n "samp": HTMLElement;\n "script": HTMLScriptElement;\n "section": HTMLElement;\n "select": HTMLSelectElement;\n "slot": HTMLSlotElement;\n "small": HTMLElement;\n "source": HTMLSourceElement;\n "span": HTMLSpanElement;\n "strong": HTMLElement;\n "style": HTMLStyleElement;\n "sub": HTMLElement;\n "summary": HTMLElement;\n "sup": HTMLElement;\n "table": HTMLTableElement;\n "tbody": HTMLTableSectionElement;\n "td": HTMLTableDataCellElement;\n "template": HTMLTemplateElement;\n "textarea": HTMLTextAreaElement;\n "tfoot": HTMLTableSectionElement;\n "th": HTMLTableHeaderCellElement;\n "thead": HTMLTableSectionElement;\n "time": HTMLTimeElement;\n "title": HTMLTitleElement;\n "tr": HTMLTableRowElement;\n "track": HTMLTrackElement;\n "u": HTMLElement;\n "ul": HTMLUListElement;\n "var": HTMLElement;\n "video": HTMLVideoElement;\n "wbr": HTMLElement;\n}\n\ninterface HTMLElementDeprecatedTagNameMap {\n "listing": HTMLPreElement;\n "xmp": HTMLPreElement;\n}\n\ninterface SVGElementTagNameMap {\n "a": SVGAElement;\n "circle": SVGCircleElement;\n "clipPath": SVGClipPathElement;\n "defs": SVGDefsElement;\n "desc": SVGDescElement;\n "ellipse": SVGEllipseElement;\n "feBlend": SVGFEBlendElement;\n "feColorMatrix": SVGFEColorMatrixElement;\n "feComponentTransfer": SVGFEComponentTransferElement;\n "feComposite": SVGFECompositeElement;\n "feConvolveMatrix": SVGFEConvolveMatrixElement;\n "feDiffuseLighting": SVGFEDiffuseLightingElement;\n "feDisplacementMap": SVGFEDisplacementMapElement;\n "feDistantLight": SVGFEDistantLightElement;\n "feFlood": SVGFEFloodElement;\n "feFuncA": SVGFEFuncAElement;\n "feFuncB": SVGFEFuncBElement;\n "feFuncG": SVGFEFuncGElement;\n "feFuncR": SVGFEFuncRElement;\n "feGaussianBlur": SVGFEGaussianBlurElement;\n "feImage": SVGFEImageElement;\n "feMerge": SVGFEMergeElement;\n "feMergeNode": SVGFEMergeNodeElement;\n "feMorphology": SVGFEMorphologyElement;\n "feOffset": SVGFEOffsetElement;\n "fePointLight": SVGFEPointLightElement;\n "feSpecularLighting": SVGFESpecularLightingElement;\n "feSpotLight": SVGFESpotLightElement;\n "feTile": SVGFETileElement;\n "feTurbulence": SVGFETurbulenceElement;\n "filter": SVGFilterElement;\n "foreignObject": SVGForeignObjectElement;\n "g": SVGGElement;\n "image": SVGImageElement;\n "line": SVGLineElement;\n "linearGradient": SVGLinearGradientElement;\n "marker": SVGMarkerElement;\n "mask": SVGMaskElement;\n "metadata": SVGMetadataElement;\n "path": SVGPathElement;\n "pattern": SVGPatternElement;\n "polygon": SVGPolygonElement;\n "polyline": SVGPolylineElement;\n "radialGradient": SVGRadialGradientElement;\n "rect": SVGRectElement;\n "script": SVGScriptElement;\n "stop": SVGStopElement;\n "style": SVGStyleElement;\n "svg": SVGSVGElement;\n "switch": SVGSwitchElement;\n "symbol": SVGSymbolElement;\n "text": SVGTextElement;\n "textPath": SVGTextPathElement;\n "title": SVGTitleElement;\n "tspan": SVGTSpanElement;\n "use": SVGUseElement;\n "view": SVGViewElement;\n}\n\n/** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */\ntype ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;\n\ndeclare var Audio: {\n new(src?: string): HTMLAudioElement;\n};\ndeclare var Image: {\n new(width?: number, height?: number): HTMLImageElement;\n};\ndeclare var Option: {\n new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement;\n};\ndeclare var applicationCache: ApplicationCache;\ndeclare var clientInformation: Navigator;\ndeclare var closed: boolean;\ndeclare var customElements: CustomElementRegistry;\ndeclare var defaultStatus: string;\ndeclare var devicePixelRatio: number;\ndeclare var doNotTrack: string;\ndeclare var document: Document;\n/** @deprecated */\ndeclare var event: Event | undefined;\n/** @deprecated */\ndeclare var external: External;\ndeclare var frameElement: Element;\ndeclare var frames: Window;\ndeclare var history: History;\ndeclare var innerHeight: number;\ndeclare var innerWidth: number;\ndeclare var length: number;\ndeclare var location: Location;\ndeclare var locationbar: BarProp;\ndeclare var menubar: BarProp;\ndeclare var msContentScript: ExtensionScriptApis;\ndeclare const name: never;\ndeclare var navigator: Navigator;\ndeclare var offscreenBuffering: string | boolean;\ndeclare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;\ndeclare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;\ndeclare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\ndeclare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\ndeclare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\ndeclare var onmousewheel: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturechange: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgestureend: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturehold: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturestart: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsgesturetap: ((this: Window, ev: Event) => any) | null;\ndeclare var onmsinertiastart: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointercancel: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerdown: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerenter: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerleave: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointermove: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerout: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerover: ((this: Window, ev: Event) => any) | null;\ndeclare var onmspointerup: ((this: Window, ev: Event) => any) | null;\n/** @deprecated */\ndeclare var onorientationchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null;\ndeclare var onvrdisplayactivate: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplayblur: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplayfocus: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;\ndeclare var onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;\ndeclare var opener: any;\n/** @deprecated */\ndeclare var orientation: string | number;\ndeclare var outerHeight: number;\ndeclare var outerWidth: number;\ndeclare var pageXOffset: number;\ndeclare var pageYOffset: number;\ndeclare var parent: Window;\ndeclare var personalbar: BarProp;\ndeclare var screen: Screen;\ndeclare var screenLeft: number;\ndeclare var screenTop: number;\ndeclare var screenX: number;\ndeclare var screenY: number;\ndeclare var scrollX: number;\ndeclare var scrollY: number;\ndeclare var scrollbars: BarProp;\ndeclare var self: Window & typeof globalThis;\ndeclare var speechSynthesis: SpeechSynthesis;\ndeclare var status: string;\ndeclare var statusbar: BarProp;\ndeclare var styleMedia: StyleMedia;\ndeclare var toolbar: BarProp;\ndeclare var top: Window;\ndeclare var visualViewport: VisualViewport;\ndeclare var window: Window & typeof globalThis;\ndeclare function alert(message?: any): void;\ndeclare function blur(): void;\n/** @deprecated */\ndeclare function captureEvents(): void;\ndeclare function close(): void;\ndeclare function confirm(message?: string): boolean;\ndeclare function departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;\ndeclare function focus(): void;\ndeclare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\ndeclare function getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList;\ndeclare function getSelection(): Selection | null;\ndeclare function matchMedia(query: string): MediaQueryList;\ndeclare function moveBy(x: number, y: number): void;\ndeclare function moveTo(x: number, y: number): void;\ndeclare function msWriteProfilerMark(profilerMarkName: string): void;\ndeclare function open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;\ndeclare function postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\ndeclare function print(): void;\ndeclare function prompt(message?: string, _default?: string): string | null;\n/** @deprecated */\ndeclare function releaseEvents(): void;\ndeclare function resizeBy(x: number, y: number): void;\ndeclare function resizeTo(width: number, height: number): void;\ndeclare function scroll(options?: ScrollToOptions): void;\ndeclare function scroll(x: number, y: number): void;\ndeclare function scrollBy(options?: ScrollToOptions): void;\ndeclare function scrollBy(x: number, y: number): void;\ndeclare function scrollTo(options?: ScrollToOptions): void;\ndeclare function scrollTo(x: number, y: number): void;\ndeclare function stop(): void;\ndeclare function webkitCancelAnimationFrame(handle: number): void;\ndeclare function webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;\ndeclare function webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;\ndeclare function webkitRequestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare function toString(): string;\n/**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var sessionStorage: Storage;\ndeclare var localStorage: Storage;\n/**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\ndeclare var onabort: ((this: Window, ev: UIEvent) => any) | null;\ndeclare var onanimationcancel: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;\ndeclare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\ndeclare var onblur: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var oncancel: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\ndeclare var oncanplay: ((this: Window, ev: Event) => any) | null;\ndeclare var oncanplaythrough: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\ndeclare var onchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\ndeclare var onclick: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onclose: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\ndeclare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var oncuechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\ndeclare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\ndeclare var ondrag: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\ndeclare var ondragend: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\ndeclare var ondragenter: ((this: Window, ev: DragEvent) => any) | null;\ndeclare var ondragexit: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\ndeclare var ondragleave: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\ndeclare var ondragover: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\ndeclare var ondragstart: ((this: Window, ev: DragEvent) => any) | null;\ndeclare var ondrop: ((this: Window, ev: DragEvent) => any) | null;\n/**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\ndeclare var ondurationchange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\ndeclare var onemptied: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\ndeclare var onended: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\ndeclare var onerror: OnErrorEventHandler;\n/**\n * Fires when the object receives focus.\n * @param ev The event.\n */\ndeclare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;\ndeclare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var oninput: ((this: Window, ev: Event) => any) | null;\ndeclare var oninvalid: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\ndeclare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n */\ndeclare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\ndeclare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\ndeclare var onload: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\ndeclare var onloadeddata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\ndeclare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\ndeclare var onloadstart: ((this: Window, ev: Event) => any) | null;\ndeclare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\ndeclare var onmousedown: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseenter: ((this: Window, ev: MouseEvent) => any) | null;\ndeclare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\ndeclare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\ndeclare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;\n/**\n * Occurs when playback is paused.\n * @param ev The event.\n */\ndeclare var onpause: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\ndeclare var onplay: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\ndeclare var onplaying: ((this: Window, ev: Event) => any) | null;\ndeclare var onpointercancel: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerdown: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerenter: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerleave: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;\ndeclare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\ndeclare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null;\n/**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\ndeclare var onratechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the user resets a form.\n * @param ev The event.\n */\ndeclare var onreset: ((this: Window, ev: Event) => any) | null;\ndeclare var onresize: ((this: Window, ev: UIEvent) => any) | null;\n/**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\ndeclare var onscroll: ((this: Window, ev: Event) => any) | null;\ndeclare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;\n/**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\ndeclare var onseeked: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\ndeclare var onseeking: ((this: Window, ev: Event) => any) | null;\n/**\n * Fires when the current selection changes.\n * @param ev The event.\n */\ndeclare var onselect: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectionchange: ((this: Window, ev: Event) => any) | null;\ndeclare var onselectstart: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\ndeclare var onstalled: ((this: Window, ev: Event) => any) | null;\ndeclare var onsubmit: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\ndeclare var onsuspend: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\ndeclare var ontimeupdate: ((this: Window, ev: Event) => any) | null;\ndeclare var ontoggle: ((this: Window, ev: Event) => any) | null;\ndeclare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchend: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchmove: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontouchstart: ((this: Window, ev: TouchEvent) => any) | null | undefined;\ndeclare var ontransitioncancel: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionend: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionrun: ((this: Window, ev: TransitionEvent) => any) | null;\ndeclare var ontransitionstart: ((this: Window, ev: TransitionEvent) => any) | null;\n/**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\ndeclare var onvolumechange: ((this: Window, ev: Event) => any) | null;\n/**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\ndeclare var onwaiting: ((this: Window, ev: Event) => any) | null;\ndeclare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare var caches: CacheStorage;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(handle?: number): void;\ndeclare function clearTimeout(handle?: number): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare var onafterprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeprint: ((this: Window, ev: Event) => any) | null;\ndeclare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;\ndeclare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null;\ndeclare var onlanguagechange: ((this: Window, ev: Event) => any) | null;\ndeclare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: Window, ev: MessageEvent) => any) | null;\ndeclare var onoffline: ((this: Window, ev: Event) => any) | null;\ndeclare var ononline: ((this: Window, ev: Event) => any) | null;\ndeclare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;\ndeclare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;\ndeclare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunload: ((this: Window, ev: Event) => any) | null;\ndeclare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype HeadersInit = Headers | string[][] | Record<string, string>;\ntype BodyInit = Blob | BufferSource | FormData | URLSearchParams | ReadableStream<Uint8Array> | string;\ntype RequestInfo = Request | string;\ntype BlobPart = BufferSource | Blob | string;\ntype DOMHighResTimeStamp = number;\ntype RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;\ntype CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas;\ntype OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype MessageEventSource = WindowProxy | MessagePort | ServiceWorker;\ntype HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype MediaProvider = MediaStream | MediaSource | Blob;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;\ntype TimerHandler = string | Function;\ntype ConstrainULong = number | ConstrainULongRange;\ntype ConstrainDouble = number | ConstrainDoubleRange;\ntype ConstrainBoolean = boolean | ConstrainBooleanParameters;\ntype ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;\ntype PerformanceEntryList = PerformanceEntry[];\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype VibratePattern = number | number[];\ntype COSEAlgorithmIdentifier = number;\ntype AuthenticatorSelectionList = AAGUID[];\ntype AAGUID = BufferSource;\ntype AuthenticationExtensionsSupported = string[];\ntype UvmEntry = number[];\ntype UvmEntries = UvmEntry[];\ntype AlgorithmIdentifier = string | Algorithm;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype BigInteger = Uint8Array;\ntype NamedCurve = string;\ntype GLenum = number;\ntype GLboolean = boolean;\ntype GLbitfield = number;\ntype GLint = number;\ntype GLsizei = number;\ntype GLintptr = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLfloat = number;\ntype GLclampf = number;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;\ntype Float32List = Float32Array | GLfloat[];\ntype Int32List = Int32Array | GLint[];\ntype GLint64 = number;\ntype GLuint64 = number;\ntype Uint32List = Uint32Array | GLuint[];\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype DOMTimeStamp = number;\ntype LineAndPositionSetting = number | AutoKeyword;\ntype FormDataEntryValue = File | string;\ntype InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";\ntype IDBValidKey = number | string | Date | BufferSource | IDBArrayKey;\ntype MutationRecordType = "attributes" | "characterData" | "childList";\ntype IDBKeyPath = string;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap | OffscreenCanvas;\ntype RTCIceGatherCandidate = RTCIceCandidateDictionary | RTCIceCandidateComplete;\ntype RTCTransport = RTCDtlsTransport | RTCSrtpSdesTransport;\n/** @deprecated */\ntype MouseWheelEvent = WheelEvent;\ntype WindowProxy = Window;\ntype AlignSetting = "center" | "end" | "left" | "right" | "start";\ntype AnimationPlayState = "finished" | "idle" | "paused" | "running";\ntype AppendMode = "segments" | "sequence";\ntype AttestationConveyancePreference = "direct" | "indirect" | "none";\ntype AudioContextLatencyCategory = "balanced" | "interactive" | "playback";\ntype AudioContextState = "closed" | "running" | "suspended";\ntype AuthenticatorAttachment = "cross-platform" | "platform";\ntype AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";\ntype AutoKeyword = "auto";\ntype AutomationRate = "a-rate" | "k-rate";\ntype BinaryType = "arraybuffer" | "blob";\ntype BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";\ntype CanPlayTypeResult = "" | "maybe" | "probably";\ntype CanvasDirection = "inherit" | "ltr" | "rtl";\ntype CanvasFillRule = "evenodd" | "nonzero";\ntype CanvasLineCap = "butt" | "round" | "square";\ntype CanvasLineJoin = "bevel" | "miter" | "round";\ntype CanvasTextAlign = "center" | "end" | "left" | "right" | "start";\ntype CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";\ntype ChannelCountMode = "clamped-max" | "explicit" | "max";\ntype ChannelInterpretation = "discrete" | "speakers";\ntype ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorSpaceConversion = "default" | "none";\ntype CompositeOperation = "accumulate" | "add" | "replace";\ntype CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";\ntype CredentialMediationRequirement = "optional" | "required" | "silent";\ntype DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";\ntype DirectionSetting = "" | "lr" | "rl";\ntype DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";\ntype DistanceModelType = "exponential" | "inverse" | "linear";\ntype DocumentReadyState = "complete" | "interactive" | "loading";\ntype EndOfStreamError = "decode" | "network";\ntype EndingType = "native" | "transparent";\ntype FillMode = "auto" | "backwards" | "both" | "forwards" | "none";\ntype FullscreenNavigationUI = "auto" | "hide" | "show";\ntype GamepadHand = "" | "left" | "right";\ntype GamepadHapticActuatorType = "vibration";\ntype GamepadMappingType = "" | "standard";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "none";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype IterationCompositeOperation = "accumulate" | "replace";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype LineAlignSetting = "center" | "end" | "start";\ntype ListeningState = "active" | "disambiguation" | "inactive";\ntype MSCredentialType = "FIDO_2_0";\ntype MSTransportType = "BT" | "Embedded" | "NFC" | "USB";\ntype MSWebViewPermissionState = "allow" | "defer" | "deny" | "unknown";\ntype MSWebViewPermissionType = "geolocation" | "media" | "pointerlock" | "unlimitedIndexedDBQuota" | "webnotifications";\ntype MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";\ntype MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";\ntype MediaKeySessionType = "persistent-license" | "temporary";\ntype MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable";\ntype MediaKeysRequirement = "not-allowed" | "optional" | "required";\ntype MediaStreamTrackState = "ended" | "live";\ntype NavigationReason = "down" | "left" | "right" | "up";\ntype NavigationType = "back_forward" | "navigate" | "prerender" | "reload";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2";\ntype OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";\ntype OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";\ntype OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";\ntype OverSampleType = "2x" | "4x" | "none";\ntype PanningModelType = "HRTF" | "equalpower";\ntype PaymentComplete = "fail" | "success" | "unknown";\ntype PaymentShippingType = "delivery" | "pickup" | "shipping";\ntype PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";\ntype PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PublicKeyCredentialType = "public-key";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype PushPermissionState = "denied" | "granted" | "prompt";\ntype RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";\ntype RTCDataChannelState = "closed" | "closing" | "connecting" | "open";\ntype RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";\ntype RTCDtlsRole = "auto" | "client" | "server";\ntype RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";\ntype RTCDtxStatus = "disabled" | "enabled";\ntype RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "idp-bad-script-failure" | "idp-execution-failure" | "idp-load-failure" | "idp-need-login" | "idp-timeout" | "idp-tls-failure" | "idp-token-expired" | "idp-token-invalid" | "sctp-failure" | "sdp-syntax-error";\ntype RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";\ntype RTCIceComponent = "rtcp" | "rtp";\ntype RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\ntype RTCIceCredentialType = "oauth" | "password";\ntype RTCIceGatherPolicy = "all" | "nohost" | "relay";\ntype RTCIceGathererState = "complete" | "gathering" | "new";\ntype RTCIceGatheringState = "complete" | "gathering" | "new";\ntype RTCIceProtocol = "tcp" | "udp";\ntype RTCIceRole = "controlled" | "controlling" | "unknown";\ntype RTCIceTcpCandidateType = "active" | "passive" | "so";\ntype RTCIceTransportPolicy = "all" | "relay";\ntype RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\ntype RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";\ntype RTCPriorityType = "high" | "low" | "medium" | "very-low";\ntype RTCRtcpMuxPolicy = "negotiate" | "require";\ntype RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";\ntype RTCSctpTransportState = "closed" | "connected" | "connecting";\ntype RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";\ntype RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";\ntype RTCStatsIceCandidatePairState = "cancelled" | "failed" | "frozen" | "inprogress" | "succeeded" | "waiting";\ntype RTCStatsIceCandidateType = "host" | "peerreflexive" | "relayed" | "serverreflexive";\ntype RTCStatsType = "candidatepair" | "datachannel" | "inboundrtp" | "localcandidate" | "outboundrtp" | "remotecandidate" | "session" | "track" | "transport";\ntype ReadyState = "closed" | "ended" | "open";\ntype ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";\ntype RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";\ntype RequestCredentials = "include" | "omit" | "same-origin";\ntype RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";\ntype RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";\ntype RequestRedirect = "error" | "follow" | "manual";\ntype ResizeQuality = "high" | "low" | "medium" | "pixelated";\ntype ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";\ntype ScopedCredentialType = "ScopedCred";\ntype ScrollBehavior = "auto" | "smooth";\ntype ScrollLogicalPosition = "center" | "end" | "nearest" | "start";\ntype ScrollRestoration = "auto" | "manual";\ntype ScrollSetting = "" | "up";\ntype SelectionMode = "end" | "preserve" | "select" | "start";\ntype ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";\ntype ServiceWorkerUpdateViaCache = "all" | "imports" | "none";\ntype ShadowRootMode = "closed" | "open";\ntype SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";\ntype TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";\ntype TextTrackMode = "disabled" | "hidden" | "showing";\ntype TouchType = "direct" | "stylus";\ntype Transport = "ble" | "nfc" | "usb";\ntype UserVerificationRequirement = "discouraged" | "preferred" | "required";\ntype VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted";\ntype VideoFacingModeEnum = "environment" | "left" | "right" | "user";\ntype VisibilityState = "hidden" | "visible";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',"lib.dom.iterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// DOM Iterable APIs\n/////////////////////////////\n\ninterface AudioParam {\n setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;\n}\n\ninterface AudioParamMap extends ReadonlyMap<string, AudioParam> {\n}\n\ninterface BaseAudioContext {\n createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;\n createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;\n}\n\ninterface CSSRuleList {\n [Symbol.iterator](): IterableIterator<CSSRule>;\n}\n\ninterface CSSStyleDeclaration {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Cache {\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface CanvasPathDrawingStyles {\n setLineDash(segments: Iterable<number>): void;\n}\n\ninterface ClientRectList {\n [Symbol.iterator](): IterableIterator<ClientRect>;\n}\n\ninterface DOMRectList {\n [Symbol.iterator](): IterableIterator<DOMRect>;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface DOMTokenList {\n [Symbol.iterator](): IterableIterator<string>;\n entries(): IterableIterator<[number, string]>;\n keys(): IterableIterator<number>;\n values(): IterableIterator<string>;\n}\n\ninterface DataTransferItemList {\n [Symbol.iterator](): IterableIterator<DataTransferItem>;\n}\n\ninterface FileList {\n [Symbol.iterator](): IterableIterator<File>;\n}\n\ninterface FormData {\n [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /**\n * Returns a list of keys in the list.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the list.\n */\n values(): IterableIterator<FormDataEntryValue>;\n}\n\ninterface HTMLAllCollection {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLCollectionBase {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLCollectionOf<T extends Element> {\n [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface HTMLFormElement {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface HTMLSelectElement {\n [Symbol.iterator](): IterableIterator<Element>;\n}\n\ninterface Headers {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all key/value pairs contained in this object.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.\n */\n values(): IterableIterator<string>;\n}\n\ninterface IDBObjectStore {\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface MediaKeyStatusMap {\n [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;\n entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;\n keys(): IterableIterator<BufferSource>;\n values(): IterableIterator<MediaKeyStatus>;\n}\n\ninterface MediaList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface MimeTypeArray {\n [Symbol.iterator](): IterableIterator<MimeType>;\n}\n\ninterface NamedNodeMap {\n [Symbol.iterator](): IterableIterator<Attr>;\n}\n\ninterface Navigator {\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;\n}\n\ninterface NodeList {\n [Symbol.iterator](): IterableIterator<Node>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, Node]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator<Node>;\n}\n\ninterface NodeListOf<TNode extends Node> {\n [Symbol.iterator](): IterableIterator<TNode>;\n /**\n * Returns an array of key, value pairs for every entry in the list.\n */\n entries(): IterableIterator<[number, TNode]>;\n /**\n * Returns an list of keys in the list.\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the list.\n */\n values(): IterableIterator<TNode>;\n}\n\ninterface Plugin {\n [Symbol.iterator](): IterableIterator<MimeType>;\n}\n\ninterface PluginArray {\n [Symbol.iterator](): IterableIterator<Plugin>;\n}\n\ninterface RTCRtpTransceiver {\n setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;\n}\n\ninterface RTCStatsReport extends ReadonlyMap<string, any> {\n}\n\ninterface SVGLengthList {\n [Symbol.iterator](): IterableIterator<SVGLength>;\n}\n\ninterface SVGNumberList {\n [Symbol.iterator](): IterableIterator<SVGNumber>;\n}\n\ninterface SVGPointList {\n [Symbol.iterator](): IterableIterator<DOMPoint>;\n}\n\ninterface SVGStringList {\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface SourceBufferList {\n [Symbol.iterator](): IterableIterator<SourceBuffer>;\n}\n\ninterface SpeechGrammarList {\n [Symbol.iterator](): IterableIterator<SpeechGrammar>;\n}\n\ninterface SpeechRecognitionResult {\n [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;\n}\n\ninterface SpeechRecognitionResultList {\n [Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;\n}\n\ninterface StyleSheetList {\n [Symbol.iterator](): IterableIterator<CSSStyleSheet>;\n}\n\ninterface TextTrackCueList {\n [Symbol.iterator](): IterableIterator<TextTrackCue>;\n}\n\ninterface TextTrackList {\n [Symbol.iterator](): IterableIterator<TextTrack>;\n}\n\ninterface TouchList {\n [Symbol.iterator](): IterableIterator<Touch>;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /**\n * Returns an array of key, value pairs for every entry in the search params.\n */\n entries(): IterableIterator<[string, string]>;\n /**\n * Returns a list of keys in the search params.\n */\n keys(): IterableIterator<string>;\n /**\n * Returns a list of values in the search params.\n */\n values(): IterableIterator<string>;\n}\n\ninterface VRDisplay {\n requestPresent(layers: Iterable<VRLayer>): Promise<void>;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WebAuthentication {\n makeCredential(accountInformation: Account, cryptoParameters: Iterable<ScopedCredentialParameters>, attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;\n}\n\ninterface WebGL2RenderingContextBase {\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;\n drawBuffers(buffers: Iterable<GLenum>): void;\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;\n invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\n vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\n vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n}\n',"lib.es2015.collection.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Map<K, V> {\n clear(): void;\n delete(key: K): boolean;\n forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n readonly size: number;\n}\n\ninterface MapConstructor {\n new(): Map<any, any>;\n new<K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;\n readonly prototype: Map<any, any>;\n}\ndeclare var Map: MapConstructor;\n\ninterface ReadonlyMap<K, V> {\n forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;\n get(key: K): V | undefined;\n has(key: K): boolean;\n readonly size: number;\n}\n\ninterface WeakMap<K extends object, V> {\n delete(key: K): boolean;\n get(key: K): V | undefined;\n has(key: K): boolean;\n set(key: K, value: V): this;\n}\n\ninterface WeakMapConstructor {\n new <K extends object = object, V = any>(entries?: readonly [K, V][] | null): WeakMap<K, V>;\n readonly prototype: WeakMap<object, any>;\n}\ndeclare var WeakMap: WeakMapConstructor;\n\ninterface Set<T> {\n add(value: T): this;\n clear(): void;\n delete(value: T): boolean;\n forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface SetConstructor {\n new <T = any>(values?: readonly T[] | null): Set<T>;\n readonly prototype: Set<any>;\n}\ndeclare var Set: SetConstructor;\n\ninterface ReadonlySet<T> {\n forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;\n has(value: T): boolean;\n readonly size: number;\n}\n\ninterface WeakSet<T extends object> {\n add(value: T): this;\n delete(value: T): boolean;\n has(value: T): boolean;\n}\n\ninterface WeakSetConstructor {\n new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;\n readonly prototype: WeakSet<object>;\n}\ndeclare var WeakSet: WeakSetConstructor;\n',"lib.es2015.core.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Array<T> {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find<S extends T>(predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: T, start?: number, end?: number): this;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an array-like object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from<T>(arrayLike: ArrayLike<T>): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param arrayLike An array-like object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of<T>(...items: T[]): T[];\n}\n\ninterface DateConstructor {\n new (value: number | string | Date): Date;\n}\n\ninterface Function {\n /**\n * Returns the name of the function. Function names are read-only and can not be changed.\n */\n readonly name: string;\n}\n\ninterface Math {\n /**\n * Returns the number of leading zero bits in the 32-bit binary representation of a number.\n * @param x A numeric expression.\n */\n clz32(x: number): number;\n\n /**\n * Returns the result of 32-bit multiplication of two numbers.\n * @param x First number\n * @param y Second number\n */\n imul(x: number, y: number): number;\n\n /**\n * Returns the sign of the x, indicating whether x is positive, negative or zero.\n * @param x The numeric expression to test\n */\n sign(x: number): number;\n\n /**\n * Returns the base 10 logarithm of a number.\n * @param x A numeric expression.\n */\n log10(x: number): number;\n\n /**\n * Returns the base 2 logarithm of a number.\n * @param x A numeric expression.\n */\n log2(x: number): number;\n\n /**\n * Returns the natural logarithm of 1 + x.\n * @param x A numeric expression.\n */\n log1p(x: number): number;\n\n /**\n * Returns the result of (e^x - 1), which is an implementation-dependent approximation to\n * subtracting 1 from the exponential function of x (e raised to the power of x, where e\n * is the base of the natural logarithms).\n * @param x A numeric expression.\n */\n expm1(x: number): number;\n\n /**\n * Returns the hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cosh(x: number): number;\n\n /**\n * Returns the hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sinh(x: number): number;\n\n /**\n * Returns the hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tanh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n acosh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n asinh(x: number): number;\n\n /**\n * Returns the inverse hyperbolic tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n atanh(x: number): number;\n\n /**\n * Returns the square root of the sum of squares of its arguments.\n * @param values Values to compute the square root for.\n * If no arguments are passed, the result is +0.\n * If there is only one argument, the result is the absolute value.\n * If any argument is +Infinity or -Infinity, the result is +Infinity.\n * If any argument is NaN, the result is NaN.\n * If all arguments are either +0 or −0, the result is +0.\n */\n hypot(...values: number[]): number;\n\n /**\n * Returns the integral part of the a numeric expression, x, removing any fractional digits.\n * If x is already an integer, the result is x.\n * @param x A numeric expression.\n */\n trunc(x: number): number;\n\n /**\n * Returns the nearest single precision float representation of a number.\n * @param x A numeric expression.\n */\n fround(x: number): number;\n\n /**\n * Returns an implementation-dependent approximation to the cube root of number.\n * @param x A numeric expression.\n */\n cbrt(x: number): number;\n}\n\ninterface NumberConstructor {\n /**\n * The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1\n * that is representable as a Number value, which is approximately:\n * 2.2204460492503130808472633361816 x 10‍−‍16.\n */\n readonly EPSILON: number;\n\n /**\n * Returns true if passed value is finite.\n * Unlike the global isFinite, Number.isFinite doesn\'t forcibly convert the parameter to a\n * number. Only finite values of the type number, result in true.\n * @param number A numeric value.\n */\n isFinite(number: unknown): boolean;\n\n /**\n * Returns true if the value passed is an integer, false otherwise.\n * @param number A numeric value.\n */\n isInteger(number: unknown): boolean;\n\n /**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a\n * number). Unlike the global isNaN(), Number.isNaN() doesn\'t forcefully convert the parameter\n * to a number. Only values of the type number, that are also NaN, result in true.\n * @param number A numeric value.\n */\n isNaN(number: unknown): boolean;\n\n /**\n * Returns true if the value passed is a safe integer.\n * @param number A numeric value.\n */\n isSafeInteger(number: unknown): boolean;\n\n /**\n * The value of the largest integer n such that n and n + 1 are both exactly representable as\n * a Number value.\n * The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 − 1.\n */\n readonly MAX_SAFE_INTEGER: number;\n\n /**\n * The value of the smallest integer n such that n and n − 1 are both exactly representable as\n * a Number value.\n * The value of Number.MIN_SAFE_INTEGER is −9007199254740991 (−(2^53 − 1)).\n */\n readonly MIN_SAFE_INTEGER: number;\n\n /**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\n parseFloat(string: string): number;\n\n /**\n * Converts A string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of \'0x\' are considered hexadecimal.\n * All other strings are considered decimal.\n */\n parseInt(string: string, radix?: number): number;\n}\n\ninterface ObjectConstructor {\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source The source object from which to copy properties.\n */\n assign<T, U>(target: T, source: U): T & U;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n */\n assign<T, U, V>(target: T, source1: U, source2: V): T & U & V;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param source1 The first source object from which to copy properties.\n * @param source2 The second source object from which to copy properties.\n * @param source3 The third source object from which to copy properties.\n */\n assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;\n\n /**\n * Copy the values of all of the enumerable own properties from one or more source objects to a\n * target object. Returns the target object.\n * @param target The target object to copy to.\n * @param sources One or more source objects from which to copy properties\n */\n assign(target: object, ...sources: any[]): any;\n\n /**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\n getOwnPropertySymbols(o: any): symbol[];\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: {}): string[];\n\n /**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\n is(value1: any, value2: any): boolean;\n\n /**\n * Sets the prototype of a specified object o to object proto or null. Returns the object o.\n * @param o The object to change its prototype.\n * @param proto The value of the new prototype or null.\n */\n setPrototypeOf(o: any, proto: object | null): any;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find<S extends T>(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;\n find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;\n}\n\ninterface RegExp {\n /**\n * Returns a string indicating the flags of the regular expression in question. This field is read-only.\n * The characters in this string are sequenced and concatenated in the following order:\n *\n * - "g" for global\n * - "i" for ignoreCase\n * - "m" for multiline\n * - "u" for unicode\n * - "y" for sticky\n *\n * If no flags are set, the value is the empty string.\n */\n readonly flags: string;\n\n /**\n * Returns a Boolean value indicating the state of the sticky flag (y) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly sticky: boolean;\n\n /**\n * Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular\n * expression. Default is false. Read-only.\n */\n readonly unicode: boolean;\n}\n\ninterface RegExpConstructor {\n new (pattern: RegExp | string, flags?: string): RegExp;\n (pattern: RegExp | string, flags?: string): RegExp;\n}\n\ninterface String {\n /**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\n codePointAt(pos: number): number | undefined;\n\n /**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\n includes(searchString: string, position?: number): boolean;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\n endsWith(searchString: string, endPosition?: number): boolean;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;\n\n /**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\n * is "NFC"\n */\n normalize(form?: string): string;\n\n /**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * the empty string is returned.\n * @param count number of copies to append\n */\n repeat(count: number): string;\n\n /**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\n startsWith(searchString: string, position?: number): boolean;\n\n /**\n * Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n * @param name\n */\n anchor(name: string): string;\n\n /** Returns a `<big>` HTML element */\n big(): string;\n\n /** Returns a `<blink>` HTML element */\n blink(): string;\n\n /** Returns a `<b>` HTML element */\n bold(): string;\n\n /** Returns a `<tt>` HTML element */\n fixed(): string;\n\n /** Returns a `<font>` HTML element and sets the color attribute value */\n fontcolor(color: string): string;\n\n /** Returns a `<font>` HTML element and sets the size attribute value */\n fontsize(size: number): string;\n\n /** Returns a `<font>` HTML element and sets the size attribute value */\n fontsize(size: string): string;\n\n /** Returns an `<i>` HTML element */\n italics(): string;\n\n /** Returns an `<a>` HTML element and sets the href attribute value */\n link(url: string): string;\n\n /** Returns a `<small>` HTML element */\n small(): string;\n\n /** Returns a `<strike>` HTML element */\n strike(): string;\n\n /** Returns a `<sub>` HTML element */\n sub(): string;\n\n /** Returns a `<sup>` HTML element */\n sup(): string;\n}\n\ninterface StringConstructor {\n /**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n */\n fromCodePoint(...codePoints: number[]): string;\n\n /**\n * String.raw is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\n raw(template: TemplateStringsArray, ...substitutions: any[]): string;\n}\n',"lib.es2015.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es5" />\n/// <reference lib="es2015.core" />\n/// <reference lib="es2015.collection" />\n/// <reference lib="es2015.iterable" />\n/// <reference lib="es2015.generator" />\n/// <reference lib="es2015.promise" />\n/// <reference lib="es2015.proxy" />\n/// <reference lib="es2015.reflect" />\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.symbol.wellknown" />\n',"lib.es2015.generator.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n return(value: TReturn): IteratorResult<T, TReturn>;\n throw(e: any): IteratorResult<T, TReturn>;\n [Symbol.iterator](): Generator<T, TReturn, TNext>;\n}\n\ninterface GeneratorFunction {\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): Generator;\n /**\n * Creates a new Generator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): Generator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: Generator;\n}\n\ninterface GeneratorFunctionConstructor {\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): GeneratorFunction;\n /**\n * Creates a new Generator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): GeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: GeneratorFunction;\n}\n',"lib.es2015.iterable.d.ts":"/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2015.symbol\" />\n\ninterface SymbolConstructor {\n /**\n * A method that returns the default iterator for an object. Called by the semantics of the\n * for-of statement.\n */\n readonly iterator: symbol;\n}\n\ninterface IteratorYieldResult<TYield> {\n done?: false;\n value: TYield;\n}\n\ninterface IteratorReturnResult<TReturn> {\n done: true;\n value: TReturn;\n}\n\ntype IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;\n\ninterface Iterator<T, TReturn = any, TNext = undefined> {\n // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): IteratorResult<T, TReturn>;\n return?(value?: TReturn): IteratorResult<T, TReturn>;\n throw?(e?: any): IteratorResult<T, TReturn>;\n}\n\ninterface Iterable<T> {\n [Symbol.iterator](): Iterator<T>;\n}\n\ninterface IterableIterator<T> extends Iterator<T> {\n [Symbol.iterator](): IterableIterator<T>;\n}\n\ninterface Array<T> {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator<T>;\n}\n\ninterface ArrayConstructor {\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n */\n from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];\n\n /**\n * Creates an array from an iterable object.\n * @param iterable An iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];\n}\n\ninterface ReadonlyArray<T> {\n /** Iterator of values in the array. */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): IterableIterator<T>;\n}\n\ninterface IArguments {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<any>;\n}\n\ninterface Map<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator<V>;\n}\n\ninterface ReadonlyMap<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): IterableIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): IterableIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): IterableIterator<V>;\n}\n\ninterface MapConstructor {\n new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>;\n}\n\ninterface WeakMap<K extends object, V> { }\n\ninterface WeakMapConstructor {\n new <K extends object, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>;\n}\n\ninterface Set<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator<T>;\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n /**\n * Despite its name, returns an iterable of the values in the set,\n */\n keys(): IterableIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator<T>;\n}\n\ninterface ReadonlySet<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): IterableIterator<T>;\n\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): IterableIterator<[T, T]>;\n\n /**\n * Despite its name, returns an iterable of the values in the set,\n */\n keys(): IterableIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): IterableIterator<T>;\n}\n\ninterface SetConstructor {\n new <T>(iterable?: Iterable<T> | null): Set<T>;\n}\n\ninterface WeakSet<T extends object> { }\n\ninterface WeakSetConstructor {\n new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;\n}\n\ninterface Promise<T> { }\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An iterable of Promises.\n * @returns A new Promise.\n */\n race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;\n}\n\ndeclare namespace Reflect {\n function enumerate(target: object): IterableIterator<any>;\n}\n\ninterface String {\n /** Iterator */\n [Symbol.iterator](): IterableIterator<string>;\n}\n\ninterface Int8Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int8ArrayConstructor {\n new (elements: Iterable<number>): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;\n}\n\ninterface Uint8Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint8ArrayConstructor {\n new (elements: Iterable<number>): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;\n}\n\ninterface Uint8ClampedArray {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (elements: Iterable<number>): Uint8ClampedArray;\n\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\n\ninterface Int16Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int16ArrayConstructor {\n new (elements: Iterable<number>): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;\n}\n\ninterface Uint16Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint16ArrayConstructor {\n new (elements: Iterable<number>): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;\n}\n\ninterface Int32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Int32ArrayConstructor {\n new (elements: Iterable<number>): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;\n}\n\ninterface Uint32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Uint32ArrayConstructor {\n new (elements: Iterable<number>): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;\n}\n\ninterface Float32Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Float32ArrayConstructor {\n new (elements: Iterable<number>): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;\n}\n\ninterface Float64Array {\n [Symbol.iterator](): IterableIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): IterableIterator<[number, number]>;\n /**\n * Returns an list of keys in the array\n */\n keys(): IterableIterator<number>;\n /**\n * Returns an list of values in the array\n */\n values(): IterableIterator<number>;\n}\n\ninterface Float64ArrayConstructor {\n new (elements: Iterable<number>): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;\n}\n","lib.es2015.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface PromiseConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Promise<any>;\n\n /**\n * Creates a new Promise.\n * @param executor A callback used to initialize the promise. This callback is passed two arguments:\n * a resolve callback used to resolve the promise with a value or the result of another promise,\n * and a reject callback used to reject the promise with a provided reason or error.\n */\n new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7, T8>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6, T7>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5, T6>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<[T1, T2, T3, T4, T5, T6]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4, T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>]): Promise<[T1, T2, T3, T4]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all of the provided Promises\n * resolve, or rejected when any Promise is rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n all<T>(values: readonly (T | PromiseLike<T>)[]): Promise<T[]>;\n\n // see: lib.es2015.iterable.d.ts\n // all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved\n * or rejected.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n race<T>(values: readonly T[]): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n // see: lib.es2015.iterable.d.ts\n // race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;\n\n /**\n * Creates a new rejected promise for the provided reason.\n * @param reason The reason the promise was rejected.\n * @returns A new rejected Promise.\n */\n reject<T = never>(reason?: any): Promise<T>;\n\n /**\n * Creates a new resolved promise for the provided value.\n * @param value A promise.\n * @returns A promise whose internal state matches the provided promise.\n */\n resolve<T>(value: T | PromiseLike<T>): Promise<T>;\n\n /**\n * Creates a new resolved promise .\n * @returns A resolved promise.\n */\n resolve(): Promise<void>;\n}\n\ndeclare var Promise: PromiseConstructor;\n',"lib.es2015.proxy.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface ProxyHandler<T extends object> {\n getPrototypeOf? (target: T): object | null;\n setPrototypeOf? (target: T, v: any): boolean;\n isExtensible? (target: T): boolean;\n preventExtensions? (target: T): boolean;\n getOwnPropertyDescriptor? (target: T, p: PropertyKey): PropertyDescriptor | undefined;\n has? (target: T, p: PropertyKey): boolean;\n get? (target: T, p: PropertyKey, receiver: any): any;\n set? (target: T, p: PropertyKey, value: any, receiver: any): boolean;\n deleteProperty? (target: T, p: PropertyKey): boolean;\n defineProperty? (target: T, p: PropertyKey, attributes: PropertyDescriptor): boolean;\n enumerate? (target: T): PropertyKey[];\n ownKeys? (target: T): PropertyKey[];\n apply? (target: T, thisArg: any, argArray?: any): any;\n construct? (target: T, argArray: any, newTarget?: any): object;\n}\n\ninterface ProxyConstructor {\n revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };\n new <T extends object>(target: T, handler: ProxyHandler<T>): T;\n}\ndeclare var Proxy: ProxyConstructor;\n',"lib.es2015.reflect.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Reflect {\n function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;\n function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: any): any;\n function defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;\n function deleteProperty(target: object, propertyKey: PropertyKey): boolean;\n function get(target: object, propertyKey: PropertyKey, receiver?: any): any;\n function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | undefined;\n function getPrototypeOf(target: object): object;\n function has(target: object, propertyKey: PropertyKey): boolean;\n function isExtensible(target: object): boolean;\n function ownKeys(target: object): PropertyKey[];\n function preventExtensions(target: object): boolean;\n function set(target: object, propertyKey: PropertyKey, value: any, receiver?: any): boolean;\n function setPrototypeOf(target: object, proto: any): boolean;\n}\n',"lib.es2015.symbol.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface SymbolConstructor {\n /**\n * A reference to the prototype.\n */\n readonly prototype: Symbol;\n\n /**\n * Returns a new unique Symbol value.\n * @param description Description of the new Symbol object.\n */\n (description?: string | number): symbol;\n\n /**\n * Returns a Symbol object from the global symbol registry matching the given key if found.\n * Otherwise, returns a new symbol with this key.\n * @param key key to search for.\n */\n for(key: string): symbol;\n\n /**\n * Returns a key from the global symbol registry matching the given Symbol if found.\n * Otherwise, returns a undefined.\n * @param sym Symbol to find the key for.\n */\n keyFor(sym: symbol): string | undefined;\n}\n\ndeclare var Symbol: SymbolConstructor;',"lib.es2015.symbol.wellknown.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n\ninterface SymbolConstructor {\n /**\n * A method that determines if a constructor object recognizes an object as one of the\n * constructor’s instances. Called by the semantics of the instanceof operator.\n */\n readonly hasInstance: symbol;\n\n /**\n * A Boolean value that if true indicates that an object should flatten to its array elements\n * by Array.prototype.concat.\n */\n readonly isConcatSpreadable: symbol;\n\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.match method.\n */\n readonly match: symbol;\n\n /**\n * A regular expression method that replaces matched substrings of a string. Called by the\n * String.prototype.replace method.\n */\n readonly replace: symbol;\n\n /**\n * A regular expression method that returns the index within a string that matches the\n * regular expression. Called by the String.prototype.search method.\n */\n readonly search: symbol;\n\n /**\n * A function valued property that is the constructor function that is used to create\n * derived objects.\n */\n readonly species: symbol;\n\n /**\n * A regular expression method that splits a string at the indices that match the regular\n * expression. Called by the String.prototype.split method.\n */\n readonly split: symbol;\n\n /**\n * A method that converts an object to a corresponding primitive value.\n * Called by the ToPrimitive abstract operation.\n */\n readonly toPrimitive: symbol;\n\n /**\n * A String value that is used in the creation of the default string description of an object.\n * Called by the built-in method Object.prototype.toString.\n */\n readonly toStringTag: symbol;\n\n /**\n * An Object whose own property names are property names that are excluded from the \'with\'\n * environment bindings of the associated objects.\n */\n readonly unscopables: symbol;\n}\n\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Array<T> {\n /**\n * Returns an object whose properties have the value \'true\'\n * when they will be absent when used in a \'with\' statement.\n */\n [Symbol.unscopables](): {\n copyWithin: boolean;\n entries: boolean;\n fill: boolean;\n find: boolean;\n findIndex: boolean;\n keys: boolean;\n values: boolean;\n };\n}\n\ninterface Date {\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "default"): string;\n /**\n * Converts a Date object to a string.\n */\n [Symbol.toPrimitive](hint: "string"): string;\n /**\n * Converts a Date object to a number.\n */\n [Symbol.toPrimitive](hint: "number"): number;\n /**\n * Converts a Date object to a string or number.\n *\n * @param hint The strings "number", "string", or "default" to specify what primitive to return.\n *\n * @throws {TypeError} If \'hint\' was given something other than "number", "string", or "default".\n * @returns A number if \'hint\' was "number", a string if \'hint\' was "string" or "default".\n */\n [Symbol.toPrimitive](hint: string): string | number;\n}\n\ninterface Map<K, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakMap<K extends object, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Set<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakSet<T extends object> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface JSON {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Function {\n /**\n * Determines whether the given value inherits from this function if this function was used\n * as a constructor function.\n *\n * A constructor function can control which objects are recognized as its instances by\n * \'instanceof\' by overriding this method.\n */\n [Symbol.hasInstance](value: any): boolean;\n}\n\ninterface GeneratorFunction {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Math {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Promise<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface PromiseConstructor {\n readonly [Symbol.species]: PromiseConstructor;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an array containing the results of\n * that search.\n * @param string A string to search within.\n */\n [Symbol.match](string: string): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replaceValue A String object or string literal containing the text to replace for every\n * successful match of this regular expression.\n */\n [Symbol.replace](string: string, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using this regular expression.\n * @param string A String object or string literal whose contents matching against\n * this regular expression will be replaced\n * @param replacer A function that returns the replacement text.\n */\n [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the position beginning first substring match in a regular expression search\n * using this regular expression.\n *\n * @param string The string to search within.\n */\n [Symbol.search](string: string): number;\n\n /**\n * Returns an array of substrings that were delimited by strings in the original input that\n * match against this regular expression.\n *\n * If the regular expression contains capturing parentheses, then each time this\n * regular expression matches, the results (including any undefined results) of the\n * capturing parentheses are spliced.\n *\n * @param string string value to split\n * @param limit if not undefined, the output array is truncated so that it contains no more\n * than \'limit\' elements.\n */\n [Symbol.split](string: string, limit?: number): string[];\n}\n\ninterface RegExpConstructor {\n readonly [Symbol.species]: RegExpConstructor;\n}\n\ninterface String {\n /**\n * Matches a string or an object that supports being matched against, and returns an array\n * containing the results of that search, or null if no matches are found.\n * @param matcher An object that supports being matched against.\n */\n match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using an object that supports replacement within a string.\n * @param searchValue A object can search for and replace matches within a string.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param searcher An object which supports searching within a string.\n */\n search(searcher: { [Symbol.search](string: string): number; }): number;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param splitter An object that can split a string.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(splitter: { [Symbol.split](string: string, limit?: number): string[]; }, limit?: number): string[];\n}\n\ninterface ArrayBuffer {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface DataView {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Int8Array {\n readonly [Symbol.toStringTag]: "Int8Array";\n}\n\ninterface Uint8Array {\n readonly [Symbol.toStringTag]: "Uint8Array";\n}\n\ninterface Uint8ClampedArray {\n readonly [Symbol.toStringTag]: "Uint8ClampedArray";\n}\n\ninterface Int16Array {\n readonly [Symbol.toStringTag]: "Int16Array";\n}\n\ninterface Uint16Array {\n readonly [Symbol.toStringTag]: "Uint16Array";\n}\n\ninterface Int32Array {\n readonly [Symbol.toStringTag]: "Int32Array";\n}\n\ninterface Uint32Array {\n readonly [Symbol.toStringTag]: "Uint32Array";\n}\n\ninterface Float32Array {\n readonly [Symbol.toStringTag]: "Float32Array";\n}\n\ninterface Float64Array {\n readonly [Symbol.toStringTag]: "Float64Array";\n}\n\ninterface ArrayConstructor {\n readonly [Symbol.species]: ArrayConstructor;\n}\ninterface MapConstructor {\n readonly [Symbol.species]: MapConstructor;\n}\ninterface SetConstructor {\n readonly [Symbol.species]: SetConstructor;\n}\ninterface ArrayBufferConstructor {\n readonly [Symbol.species]: ArrayBufferConstructor;\n}\n',"lib.es2016.array.include.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Array<T> {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: T, fromIndex?: number): boolean;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: T, fromIndex?: number): boolean;\n}\n\ninterface Int8Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint8Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint8ClampedArray {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Int16Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint16Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Int32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Uint32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Float32Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}\n\ninterface Float64Array {\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: number, fromIndex?: number): boolean;\n}',"lib.es2016.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015" />\n/// <reference lib="es2016.array.include" />',"lib.es2016.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2016" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2017.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2016" />\n/// <reference lib="es2017.object" />\n/// <reference lib="es2017.sharedmemory" />\n/// <reference lib="es2017.string" />\n/// <reference lib="es2017.intl" />\n/// <reference lib="es2017.typedarrays" />\n',"lib.es2017.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2017" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2017.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n type DateTimeFormatPartTypes = "day" | "dayPeriod" | "era" | "hour" | "literal" | "minute" | "month" | "second" | "timeZoneName" | "weekday" | "year";\n\n interface DateTimeFormatPart {\n type: DateTimeFormatPartTypes;\n value: string;\n }\n\n interface DateTimeFormat {\n formatToParts(date?: Date | number): DateTimeFormatPart[];\n }\n}\n',"lib.es2017.object.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface ObjectConstructor {\n /**\n * Returns an array of values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];\n\n /**\n * Returns an array of values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n values(o: {}): any[];\n\n /**\n * Returns an array of key/values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];\n\n /**\n * Returns an array of key/values of the enumerable properties of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n entries(o: {}): [string, any][];\n\n /**\n * Returns an object containing all own property descriptors of an object\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };\n}\n',"lib.es2017.sharedmemory.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.symbol.wellknown" />\n\ninterface SharedArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /*\n * The SharedArrayBuffer constructor\'s length property whose value is 1.\n */\n length: number;\n /**\n * Returns a section of an SharedArrayBuffer.\n */\n slice(begin: number, end?: number): SharedArrayBuffer;\n readonly [Symbol.species]: SharedArrayBuffer;\n readonly [Symbol.toStringTag]: "SharedArrayBuffer";\n}\n\ninterface SharedArrayBufferConstructor {\n readonly prototype: SharedArrayBuffer;\n new (byteLength: number): SharedArrayBuffer;\n}\ndeclare var SharedArrayBuffer: SharedArrayBufferConstructor;\n\ninterface ArrayBufferTypes {\n SharedArrayBuffer: SharedArrayBuffer;\n}\n\ninterface Atomics {\n /**\n * Adds a value to the value at the given position in the array, returning the original value.\n * Until this atomic operation completes, any other read or write operation against the array\n * will block.\n */\n add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Stores the bitwise AND of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or\n * write operation against the array will block.\n */\n and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Replaces the value at the given position in the array if the original value equals the given\n * expected value, returning the original value. Until this atomic operation completes, any\n * other read or write operation against the array will block.\n */\n compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;\n\n /**\n * Replaces the value at the given position in the array, returning the original value. Until\n * this atomic operation completes, any other read or write operation against the array will\n * block.\n */\n exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Returns a value indicating whether high-performance algorithms can use atomic operations\n * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed\n * array.\n */\n isLockFree(size: number): boolean;\n\n /**\n * Returns the value at the given position in the array. Until this atomic operation completes,\n * any other read or write operation against the array will block.\n */\n load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;\n\n /**\n * Stores the bitwise OR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Stores a value at the given position in the array, returning the new value. Until this\n * atomic operation completes, any other read or write operation against the array will block.\n */\n store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * Subtracts a value from the value at the given position in the array, returning the original\n * value. Until this atomic operation completes, any other read or write operation against the\n * array will block.\n */\n sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n /**\n * If the value at the given position in the array is equal to the provided value, the current\n * agent is put to sleep causing execution to suspend until the timeout expires (returning\n * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns\n * `"not-equal"`.\n */\n wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";\n\n /**\n * Wakes up sleeping agents that are waiting on the given index of the array, returning the\n * number of agents that were awoken.\n * @param typedArray A shared Int32Array.\n * @param index The position in the typedArray to wake up on.\n * @param count The number of sleeping agents to notify. Defaults to +Infinity.\n */\n notify(typedArray: Int32Array, index: number, count?: number): number;\n\n /**\n * Stores the bitwise XOR of a value with the value at the given position in the array,\n * returning the original value. Until this atomic operation completes, any other read or write\n * operation against the array will block.\n */\n xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;\n\n readonly [Symbol.toStringTag]: "Atomics";\n}\n\ndeclare var Atomics: Atomics;\n',"lib.es2017.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is " " (U+0020).\n */\n padStart(maxLength: number, fillString?: string): string;\n\n /**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is " " (U+0020).\n */\n padEnd(maxLength: number, fillString?: string): string;\n}\n',"lib.es2017.typedarrays.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Int8ArrayConstructor {\n new (): Int8Array;\n}\n\ninterface Uint8ArrayConstructor {\n new (): Uint8Array;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (): Uint8ClampedArray;\n}\n\ninterface Int16ArrayConstructor {\n new (): Int16Array;\n}\n\ninterface Uint16ArrayConstructor {\n new (): Uint16Array;\n}\n\ninterface Int32ArrayConstructor {\n new (): Int32Array;\n}\n\ninterface Uint32ArrayConstructor {\n new (): Uint32Array;\n}\n\ninterface Float32ArrayConstructor {\n new (): Float32Array;\n}\n\ninterface Float64ArrayConstructor {\n new (): Float64Array;\n}\n',"lib.es2018.asyncgenerator.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018.asynciterable" />\n\ninterface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n throw(e: any): Promise<IteratorResult<T, TReturn>>;\n [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;\n}\n\ninterface AsyncGeneratorFunction {\n /**\n * Creates a new AsyncGenerator object.\n * @param args A list of arguments the function accepts.\n */\n new (...args: any[]): AsyncGenerator;\n /**\n * Creates a new AsyncGenerator object.\n * @param args A list of arguments the function accepts.\n */\n (...args: any[]): AsyncGenerator;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: AsyncGenerator;\n}\n\ninterface AsyncGeneratorFunctionConstructor {\n /**\n * Creates a new AsyncGenerator function.\n * @param args A list of arguments the function accepts.\n */\n new (...args: string[]): AsyncGeneratorFunction;\n /**\n * Creates a new AsyncGenerator function.\n * @param args A list of arguments the function accepts.\n */\n (...args: string[]): AsyncGeneratorFunction;\n /**\n * The length of the arguments.\n */\n readonly length: number;\n /**\n * Returns the name of the function.\n */\n readonly name: string;\n /**\n * A reference to the prototype.\n */\n readonly prototype: AsyncGeneratorFunction;\n}\n',"lib.es2018.asynciterable.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.symbol" />\n/// <reference lib="es2015.iterable" />\n\ninterface SymbolConstructor {\n /**\n * A method that returns the default async iterator for an object. Called by the semantics of\n * the for-await-of statement.\n */\n readonly asyncIterator: symbol;\n}\n\ninterface AsyncIterator<T, TReturn = any, TNext = undefined> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;\n return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;\n throw?(e?: any): Promise<IteratorResult<T, TReturn>>;\n}\n\ninterface AsyncIterable<T> {\n [Symbol.asyncIterator](): AsyncIterator<T>;\n}\n\ninterface AsyncIterableIterator<T> extends AsyncIterator<T> {\n [Symbol.asyncIterator](): AsyncIterableIterator<T>;\n}',"lib.es2018.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2017" />\n/// <reference lib="es2018.asynciterable" />\n/// <reference lib="es2018.asyncgenerator" />\n/// <reference lib="es2018.promise" />\n/// <reference lib="es2018.regexp" />\n/// <reference lib="es2018.intl" />\n',"lib.es2018.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.es2018.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n\n // http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories\n type LDMLPluralRule = "zero" | "one" | "two" | "few" | "many" | "other";\n type PluralRuleType = "cardinal" | "ordinal";\n\n interface PluralRulesOptions {\n localeMatcher?: "lookup" | "best fit";\n type?: PluralRuleType;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedPluralRulesOptions {\n locale: string;\n pluralCategories: LDMLPluralRule[];\n type: PluralRuleType;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface PluralRules {\n resolvedOptions(): ResolvedPluralRulesOptions;\n select(n: number): LDMLPluralRule;\n }\n\n const PluralRules: {\n new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n (locales?: string | string[], options?: PluralRulesOptions): PluralRules;\n supportedLocalesOf(\n locales: string | string[],\n options?: PluralRulesOptions,\n ): string[];\n };\n}\n',"lib.es2018.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The\n * resolved value cannot be modified from the callback.\n * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).\n * @returns A Promise for the completion of the callback.\n */\n finally(onfinally?: (() => void) | undefined | null): Promise<T>\n}\n',"lib.es2018.regexp.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface RegExpMatchArray {\n groups?: {\n [key: string]: string\n }\n}\n\ninterface RegExpExecArray {\n groups?: {\n [key: string]: string\n }\n}\n\ninterface RegExp {\n /**\n * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.\n * Default is false. Read-only.\n */\n readonly dotAll: boolean;\n}',"lib.es2019.array.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ntype FlatArray<Arr, Depth extends number> = {\n "done": Arr,\n "recur": Arr extends ReadonlyArray<infer InnerArr>\n ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>\n : Arr\n}[Depth extends -1 ? "done" : "recur"];\n\ninterface ReadonlyArray<T> {\n\n /**\n * Calls a defined callback function on each element of an array. Then, flattens the result into\n * a new array.\n * This is identical to a map followed by flat with depth 1.\n *\n * @param callback A function that accepts up to three arguments. The flatMap method calls the\n * callback function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callback function. If\n * thisArg is omitted, undefined is used as the this value.\n */\n flatMap<U, This = undefined> (\n callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\n thisArg?: This\n ): U[]\n\n\n /**\n * Returns a new array with all sub-array elements concatenated into it recursively up to the\n * specified depth.\n *\n * @param depth The maximum recursion depth\n */\n flat<A, D extends number = 1>(\n this: A,\n depth?: D\n ): FlatArray<A, D>[]\n }\n\ninterface Array<T> {\n\n /**\n * Calls a defined callback function on each element of an array. Then, flattens the result into\n * a new array.\n * This is identical to a map followed by flat with depth 1.\n *\n * @param callback A function that accepts up to three arguments. The flatMap method calls the\n * callback function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callback function. If\n * thisArg is omitted, undefined is used as the this value.\n */\n flatMap<U, This = undefined> (\n callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,\n thisArg?: This\n ): U[]\n\n /**\n * Returns a new array with all sub-array elements concatenated into it recursively up to the\n * specified depth.\n *\n * @param depth The maximum recursion depth\n */\n flat<A, D extends number = 1>(\n this: A,\n depth?: D\n ): FlatArray<A, D>[]\n}\n',"lib.es2019.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2018" />\n/// <reference lib="es2019.array" />\n/// <reference lib="es2019.object" />\n/// <reference lib="es2019.string" />\n/// <reference lib="es2019.symbol" />\n',"lib.es2019.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2019" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2019.object.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface ObjectConstructor {\n /**\n * Returns an object created by key-value entries for properties and methods\n * @param entries An iterable object that contains key-value entries for properties and methods.\n */\n fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };\n\n /**\n * Returns an object created by key-value entries for properties and methods\n * @param entries An iterable object that contains key-value entries for properties and methods.\n */\n fromEntries(entries: Iterable<readonly any[]>): any;\n}\n',"lib.es2019.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /** Removes the trailing white space and line terminator characters from a string. */\n trimEnd(): string;\n\n /** Removes the leading white space and line terminator characters from a string. */\n trimStart(): string;\n\n /** Removes the leading white space and line terminator characters from a string. */\n trimLeft(): string;\n\n /** Removes the trailing white space and line terminator characters from a string. */\n trimRight(): string;\n}\n',"lib.es2019.symbol.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface Symbol {\n /**\n * Expose the [[Description]] internal slot of a symbol directly.\n */\n readonly description: string | undefined;\n}\n',"lib.es2020.bigint.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface BigIntToLocaleStringOptions {\n /**\n * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.\n */\n localeMatcher?: string;\n /**\n * The formatting style to use , the default is "decimal".\n */\n style?: string;\n\n numberingSystem?: string;\n /**\n * The unit to use in unit formatting, Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. A subset of units from the full list was selected for use in ECMAScript. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is "unit", the unit property must be provided.\n */\n unit?: string;\n\n /**\n * The unit formatting style to use in unit formatting, the defaults is "short".\n */\n unitDisplay?: string;\n\n /**\n * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB — see the Current currency & funds code list. There is no default value; if the style is "currency", the currency property must be provided. It is only used when [[Style]] has the value "currency".\n */\n currency?: string;\n\n /**\n * How to display the currency in currency formatting. It is only used when [[Style]] has the value "currency". The default is "symbol".\n *\n * "symbol" to use a localized currency symbol such as €,\n *\n * "code" to use the ISO currency code,\n *\n * "name" to use a localized currency name such as "dollar"\n */\n currencyDisplay?: string;\n\n /**\n * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. The default is true.\n */\n useGrouping?: boolean;\n\n /**\n * The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.\n */\n minimumIntegerDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\'t provide that information).\n */\n minimumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\n\n /**\n * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn\'t provide that information); the default for percent formatting is the larger of minimumFractionDigits and 0.\n */\n maximumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;\n\n /**\n * The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1.\n */\n minimumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The maximum number of significant digits to use. Possible values are from 1 to 21; the default is 21.\n */\n maximumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;\n\n /**\n * The formatting that should be displayed for the number, the defaults is "standard"\n *\n * "standard" plain number formatting\n *\n * "scientific" return the order-of-magnitude for formatted number.\n *\n * "engineering" return the exponent of ten when divisible by three\n *\n * "compact" string representing exponent, defaults is using the "short" form\n */\n notation?: string;\n\n /**\n * used only when notation is "compact"\n */\n compactDisplay?: string;\n}\n\ninterface BigInt {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings.\n */\n toString(radix?: number): string;\n\n /** Returns a string representation appropriate to the host environment\'s current locale. */\n toLocaleString(locales?: string, options?: BigIntToLocaleStringOptions): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): bigint;\n\n readonly [Symbol.toStringTag]: "BigInt";\n}\n\ninterface BigIntConstructor {\n (value?: any): bigint;\n readonly prototype: BigInt;\n\n /**\n * Interprets the low bits of a BigInt as a 2\'s-complement signed integer.\n * All higher bits are discarded.\n * @param bits The number of low bits to use\n * @param int The BigInt whose bits to extract\n */\n asIntN(bits: number, int: bigint): bigint;\n /**\n * Interprets the low bits of a BigInt as an unsigned integer.\n * All higher bits are discarded.\n * @param bits The number of low bits to use\n * @param int The BigInt whose bits to extract\n */\n asUintN(bits: number, int: bigint): bigint;\n}\n\ndeclare var BigInt: BigIntConstructor;\n\n/**\n * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated, an exception is raised.\n */\ninterface BigInt64Array {\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /** The ArrayBuffer instance referenced by the array. */\n readonly buffer: ArrayBufferLike;\n\n /** The length in bytes of the array. */\n readonly byteLength: number;\n\n /** The offset in bytes of the array. */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /** Yields index, value pairs for every entry in the array. */\n entries(): IterableIterator<[number, bigint]>;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: bigint, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void;\n\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: bigint, fromIndex?: number): boolean;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: bigint, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /** Yields each index in the array. */\n keys(): IterableIterator<number>;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: bigint, fromIndex?: number): number;\n\n /** The length of the array. */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;\n\n /** Reverses the elements in the array. */\n reverse(): this;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<bigint>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): BigInt64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls the\n * predicate function for each element in the array until the predicate returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts the array.\n * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\n */\n sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\n\n /**\n * Gets a new BigInt64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): BigInt64Array;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(): string;\n\n /** Returns a string representation of the array. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): BigInt64Array;\n\n /** Yields each value in the array. */\n values(): IterableIterator<bigint>;\n\n [Symbol.iterator](): IterableIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigInt64Array";\n\n [index: number]: bigint;\n}\n\ninterface BigInt64ArrayConstructor {\n readonly prototype: BigInt64Array;\n new(length?: number): BigInt64Array;\n new(array: Iterable<bigint>): BigInt64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;\n\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: bigint[]): BigInt64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike<bigint>): BigInt64Array;\n from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;\n}\n\ndeclare var BigInt64Array: BigInt64ArrayConstructor;\n\n/**\n * A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated, an exception is raised.\n */\ninterface BigUint64Array {\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /** The ArrayBuffer instance referenced by the array. */\n readonly buffer: ArrayBufferLike;\n\n /** The length in bytes of the array. */\n readonly byteLength: number;\n\n /** The offset in bytes of the array. */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /** Yields index, value pairs for every entry in the array. */\n entries(): IterableIterator<[number, bigint]>;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: bigint, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void;\n\n /**\n * Determines whether an array includes a certain element, returning true or false as appropriate.\n * @param searchElement The element to search for.\n * @param fromIndex The position in this array at which to begin searching for searchElement.\n */\n includes(searchElement: bigint, fromIndex?: number): boolean;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: bigint, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /** Yields each index in the array. */\n keys(): IterableIterator<number>;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: bigint, fromIndex?: number): number;\n\n /** The length of the array. */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;\n\n /** Reverses the elements in the array. */\n reverse(): this;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<bigint>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): BigUint64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls the\n * predicate function for each element in the array until the predicate returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts the array.\n * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.\n */\n sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;\n\n /**\n * Gets a new BigUint64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): BigUint64Array;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(): string;\n\n /** Returns a string representation of the array. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): BigUint64Array;\n\n /** Yields each value in the array. */\n values(): IterableIterator<bigint>;\n\n [Symbol.iterator](): IterableIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigUint64Array";\n\n [index: number]: bigint;\n}\n\ninterface BigUint64ArrayConstructor {\n readonly prototype: BigUint64Array;\n new(length?: number): BigUint64Array;\n new(array: Iterable<bigint>): BigUint64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;\n\n /** The size in bytes of each element in the array. */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: bigint[]): BigUint64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike<bigint>): BigUint64Array;\n from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;\n}\n\ndeclare var BigUint64Array: BigUint64ArrayConstructor;\n\ninterface DataView {\n /**\n * Gets the BigInt64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;\n\n /**\n * Gets the BigUint64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;\n\n /**\n * Stores a BigInt64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\n\n /**\n * Stores a BigUint64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;\n}\n\ndeclare namespace Intl{\n interface NumberFormat {\n format(value: number | bigint): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n}\n',"lib.es2020.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2019" />\n/// <reference lib="es2020.bigint" />\n/// <reference lib="es2020.promise" />\n/// <reference lib="es2020.string" />\n/// <reference lib="es2020.symbol.wellknown" />\n/// <reference lib="es2020.intl" />\n',"lib.es2020.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2020" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',"lib.es2020.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n\n /**\n * [BCP 47 language tag](http://tools.ietf.org/html/rfc5646) definition.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\n *\n * [Wikipedia](https://en.wikipedia.org/wiki/IETF_language_tag).\n */\n type BCP47LanguageTag = string;\n\n /**\n * Unit to use in the relative time internationalized message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-singularrelativetimeunit).\n */\n type RelativeTimeFormatUnit =\n | "year" | "years"\n | "quarter" | "quarters"\n | "month" | "months"\n | "week" | "weeks"\n | "day" | "days"\n | "hour" | "hours"\n | "minute" | "minutes"\n | "second" | "seconds"\n ;\n\n /**\n * The locale matching algorithm to use.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";\n\n /**\n * The format of output message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatNumeric = "always" | "auto";\n\n /**\n * The length of the internationalized message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n type RelativeTimeFormatStyle = "long" | "short" | "narrow";\n\n /**\n * An object with some or all of properties of `options` parameter\n * of `Intl.RelativeTimeFormat` constructor.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n *\n * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n */\n interface RelativeTimeFormatOptions {\n localeMatcher?: RelativeTimeFormatLocaleMatcher;\n numeric?: RelativeTimeFormatNumeric;\n style?: RelativeTimeFormatStyle;\n }\n\n /**\n * An object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intel.RelativeTimeFormat` object\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).\n *\n * [Specification](https://tc39.es/ecma402/#table-relativetimeformat-resolvedoptions-properties)\n */\n interface ResolvedRelativeTimeFormatOptions {\n locale: BCP47LanguageTag;\n style: RelativeTimeFormatStyle;\n numeric: RelativeTimeFormatNumeric;\n numberingSystem: string;\n }\n\n /**\n * An object representing the relative time format in parts\n * that can be used for custom locale-aware formatting.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).\n *\n * [Specification](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts).\n */\n interface RelativeTimeFormatPart {\n type: string;\n value: string;\n unit?: RelativeTimeFormatUnit;\n }\n\n interface RelativeTimeFormat {\n /**\n * Formats a value and a unit according to the locale\n * and formatting options of the given\n * [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * object.\n *\n * While this method automatically provides the correct plural forms,\n * the grammatical form is otherwise as neutral as possible.\n * It is the caller\'s responsibility to handle cut-off logic\n * such as deciding between displaying "in 7 days" or "in 1 week".\n * This API does not support relative dates involving compound units.\n * e.g "in 5 days and 4 hours".\n *\n * @param value - Numeric value to use in the internationalized relative time message\n *\n * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)\n * to use in the relative time internationalized message.\n * Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,\n * `"day"`, `"hour"`, `"minute"`, `"second"`.\n * Plural forms are also permitted.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns Internationalized relative time message as string\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.format).\n */\n format(\n value: number,\n unit: RelativeTimeFormatUnit,\n ): string;\n\n /**\n * A version of the format method which it returns an array of objects\n * which represent "parts" of the object,\n * separating the formatted number into its constituent parts\n * and separating it from other surrounding text.\n * These objects have two properties:\n * `type` a NumberFormat formatToParts type, and `value`,\n * which is the String which is the component of the output.\n * If a "part" came from NumberFormat,\n * it will have a unit property which indicates the `unit` being formatted;\n * literals which are part of the larger frame will not have this property.\n *\n * @param value - Numeric value to use in the internationalized relative time message\n *\n * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)\n * to use in the relative time internationalized message.\n * Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,\n * `"day"`, `"hour"`, `"minute"`, `"second"`.\n * Plural forms are also permitted.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns Array of [FormatRelativeTimeToParts](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts)\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.formatToParts).\n */\n formatToParts(\n value: number,\n unit: RelativeTimeFormatUnit,\n ): RelativeTimeFormatPart[];\n\n /**\n * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.\n *\n * @returns A new object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intel.RelativeTimeFormat` object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).\n *\n * [Specification](https://tc39.es/ecma402/#sec-intl.relativetimeformat.prototype.resolvedoptions)\n */\n resolvedOptions(): ResolvedRelativeTimeFormatOptions;\n }\n\n /**\n * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * object is a constructor for objects that enable language-sensitive relative time formatting.\n *\n * Part of [Intl object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)\n * namespace and the [ECMAScript Internationalization API](https://www.ecma-international.org/publications/standards/Ecma-402.htm).\n *\n * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).\n *\n * [Polyfills](https://github.com/tc39/proposal-intl-relative-time#polyfills).\n */\n const RelativeTimeFormat: {\n /**\n * Constructor creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)\n * objects\n *\n * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\n * For the general form and interpretation of the locales argument,\n * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\n * with some or all of options of the formatting.\n * An object with some or all of the following properties:\n * - `localeMatcher` - The locale matching algorithm to use.\n * Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.\n * For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n * - `numeric` - The format of output message.\n * Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).\n * The `"auto"` value allows to not always have to use numeric values in the output.\n * - `style` - The length of the internationalized message. Possible values are:\n * `"long"` (default, e.g., in 1 month),\n * `"short"` (e.g., in 1 mo.)\n * or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.\n *\n * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).\n *\n * [Specification](https://tc39.es/ecma402/#sec-intl-relativetimeformat-constructor).\n */\n new(\n locales?: BCP47LanguageTag | BCP47LanguageTag[],\n options?: RelativeTimeFormatOptions,\n ): RelativeTimeFormat;\n\n /**\n * Returns an array containing those of the provided locales\n * that are supported in date and time formatting\n * without having to fall back to the runtime\'s default locale.\n *\n * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.\n * For the general form and interpretation of the locales argument,\n * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)\n * with some or all of options of the formatting.\n * An object with some or all of the following properties:\n * - `localeMatcher` - The locale matching algorithm to use.\n * Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.\n * For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).\n * - `numeric` - The format of output message.\n * Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).\n * The `"auto"` value allows to not always have to use numeric values in the output.\n * - `style` - The length of the internationalized message. Possible values are:\n * `"long"` (default, e.g., in 1 month),\n * `"short"` (e.g., in 1 mo.)\n * or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.\n *\n * @returns An array containing those of the provided locales\n * that are supported in date and time formatting\n * without having to fall back to the runtime\'s default locale.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).\n *\n * [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.supportedLocalesOf).\n */\n supportedLocalesOf(\n locales: BCP47LanguageTag | BCP47LanguageTag[],\n options?: RelativeTimeFormatOptions,\n ): BCP47LanguageTag[];\n };\n\n interface NumberFormatOptions {\n notation?: string;\n unit?: string;\n unitDisplay?: string;\n }\n\n interface ResolvedNumberFormatOptions {\n notation?: string;\n unit?: string;\n unitDisplay?: string;\n }\n}\n',"lib.es2020.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface PromiseFulfilledResult<T> {\n status: "fulfilled";\n value: T;\n}\n\ninterface PromiseRejectedResult {\n status: "rejected";\n reason: any;\n}\n\ntype PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;\n\ninterface PromiseConstructor {\n /**\n * Creates a Promise that is resolved with an array of results when all\n * of the provided Promises resolve or reject.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n allSettled<T extends readonly unknown[] | readonly [unknown]>(values: T):\n Promise<{ -readonly [P in keyof T]: PromiseSettledResult<T[P] extends PromiseLike<infer U> ? U : T[P]> }>;\n\n /**\n * Creates a Promise that is resolved with an array of results when all\n * of the provided Promises resolve or reject.\n * @param values An array of Promises.\n * @returns A new Promise.\n */\n allSettled<T>(values: Iterable<T>): Promise<PromiseSettledResult<T extends PromiseLike<infer U> ? U : T>[]>;\n}\n',"lib.es2020.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n\ninterface String {\n /**\n * Matches a string with a regular expression, and returns an iterable of matches\n * containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;\n}\n',"lib.es2020.symbol.wellknown.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015.iterable" />\n/// <reference lib="es2015.symbol" />\n\ninterface SymbolConstructor {\n /**\n * A regular expression method that matches the regular expression against a string. Called\n * by the String.prototype.matchAll method.\n */\n readonly matchAll: symbol;\n}\n\ninterface RegExp {\n /**\n * Matches a string with this regular expression, and returns an iterable of matches\n * containing the results of that search.\n * @param string A string to search within.\n */\n [Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;\n}\n',"lib.es5.d.ts":"/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib=\"true\"/>\n\n\n/////////////////////////////\n/// ECMAScript APIs\n/////////////////////////////\n\ndeclare var NaN: number;\ndeclare var Infinity: number;\n\n/**\n * Evaluates JavaScript code and executes it.\n * @param x A String value that contains valid JavaScript code.\n */\ndeclare function eval(x: string): any;\n\n/**\n * Converts a string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\n * All other strings are considered decimal.\n */\ndeclare function parseInt(s: string, radix?: number): number;\n\n/**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\ndeclare function parseFloat(string: string): number;\n\n/**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).\n * @param number A numeric value.\n */\ndeclare function isNaN(number: number): boolean;\n\n/**\n * Determines whether a supplied number is finite.\n * @param number Any numeric value.\n */\ndeclare function isFinite(number: number): boolean;\n\n/**\n * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).\n * @param encodedURI A value representing an encoded URI.\n */\ndeclare function decodeURI(encodedURI: string): string;\n\n/**\n * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).\n * @param encodedURIComponent A value representing an encoded URI component.\n */\ndeclare function decodeURIComponent(encodedURIComponent: string): string;\n\n/**\n * Encodes a text string as a valid Uniform Resource Identifier (URI)\n * @param uri A value representing an encoded URI.\n */\ndeclare function encodeURI(uri: string): string;\n\n/**\n * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).\n * @param uriComponent A value representing an encoded URI component.\n */\ndeclare function encodeURIComponent(uriComponent: string | number | boolean): string;\n\n/**\n * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.\n * @param string A string value\n */\ndeclare function escape(string: string): string;\n\n/**\n * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.\n * @param string A string value\n */\ndeclare function unescape(string: string): string;\n\ninterface Symbol {\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): symbol;\n}\n\ndeclare type PropertyKey = string | number | symbol;\n\ninterface PropertyDescriptor {\n configurable?: boolean;\n enumerable?: boolean;\n value?: any;\n writable?: boolean;\n get?(): any;\n set?(v: any): void;\n}\n\ninterface PropertyDescriptorMap {\n [s: string]: PropertyDescriptor;\n}\n\ninterface Object {\n /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */\n constructor: Function;\n\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns a date converted to a string using the current locale. */\n toLocaleString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Object;\n\n /**\n * Determines whether an object has a property with the specified name.\n * @param v A property name.\n */\n hasOwnProperty(v: PropertyKey): boolean;\n\n /**\n * Determines whether an object exists in another object's prototype chain.\n * @param v Another object whose prototype chain is to be checked.\n */\n isPrototypeOf(v: Object): boolean;\n\n /**\n * Determines whether a specified property is enumerable.\n * @param v A property name.\n */\n propertyIsEnumerable(v: PropertyKey): boolean;\n}\n\ninterface ObjectConstructor {\n new(value?: any): Object;\n (): any;\n (value: any): any;\n\n /** A reference to the prototype for a class of objects. */\n readonly prototype: Object;\n\n /**\n * Returns the prototype of an object.\n * @param o The object that references the prototype.\n */\n getPrototypeOf(o: any): any;\n\n /**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\n getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;\n\n /**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\n getOwnPropertyNames(o: any): string[];\n\n /**\n * Creates an object that has the specified prototype or that has null prototype.\n * @param o Object to use as a prototype. May be null.\n */\n create(o: object | null): any;\n\n /**\n * Creates an object that has the specified prototype, and that optionally contains specified properties.\n * @param o Object to use as a prototype. May be null\n * @param properties JavaScript object that contains one or more property descriptors.\n */\n create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;\n\n /**\n * Adds a property to an object, or modifies attributes of an existing property.\n * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.\n * @param p The property name.\n * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\n */\n defineProperty(o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): any;\n\n /**\n * Adds one or more properties to an object, and/or modifies attributes of existing properties.\n * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.\n * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.\n */\n defineProperties(o: any, properties: PropertyDescriptorMap & ThisType<any>): any;\n\n /**\n * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n seal<T>(o: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T>(a: T[]): readonly T[];\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T extends Function>(f: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze<T>(o: T): Readonly<T>;\n\n /**\n * Prevents the addition of new properties to an object.\n * @param o Object to make non-extensible.\n */\n preventExtensions<T>(o: T): T;\n\n /**\n * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isSealed(o: any): boolean;\n\n /**\n * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isFrozen(o: any): boolean;\n\n /**\n * Returns a value that indicates whether new properties can be added to an object.\n * @param o Object to test.\n */\n isExtensible(o: any): boolean;\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: object): string[];\n}\n\n/**\n * Provides functionality common to all JavaScript objects.\n */\ndeclare var Object: ObjectConstructor;\n\n/**\n * Creates a new function.\n */\ninterface Function {\n /**\n * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.\n * @param thisArg The object to be used as the this object.\n * @param argArray A set of arguments to be passed to the function.\n */\n apply(this: Function, thisArg: any, argArray?: any): any;\n\n /**\n * Calls a method of an object, substituting another object for the current object.\n * @param thisArg The object to be used as the current object.\n * @param argArray A list of arguments to be passed to the method.\n */\n call(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg An object to which the this keyword can refer inside the new function.\n * @param argArray A list of arguments to be passed to the new function.\n */\n bind(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /** Returns a string representation of a function. */\n toString(): string;\n\n prototype: any;\n readonly length: number;\n\n // Non-standard extensions\n arguments: any;\n caller: Function;\n}\n\ninterface FunctionConstructor {\n /**\n * Creates a new function.\n * @param args A list of arguments the function accepts.\n */\n new(...args: string[]): Function;\n (...args: string[]): Function;\n readonly prototype: Function;\n}\n\ndeclare var Function: FunctionConstructor;\n\n/**\n * Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.\n */\ntype ThisParameterType<T> = T extends (this: infer U, ...args: any[]) => any ? U : unknown;\n\n/**\n * Removes the 'this' parameter from a function type.\n */\ntype OmitThisParameter<T> = unknown extends ThisParameterType<T> ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;\n\ninterface CallableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply<T, R>(this: (this: T) => R, thisArg: T): R;\n apply<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call<T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;\n bind<T, A0, A extends any[], R>(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0): (...args: A) => R;\n bind<T, A0, A1, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1): (...args: A) => R;\n bind<T, A0, A1, A2, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2): (...args: A) => R;\n bind<T, A0, A1, A2, A3, A extends any[], R>(this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3): (...args: A) => R;\n bind<T, AX, R>(this: (this: T, ...args: AX[]) => R, thisArg: T, ...args: AX[]): (...args: AX[]) => R;\n}\n\ninterface NewableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply<T>(this: new () => T, thisArg: T): void;\n apply<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, args: A): void;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call<T, A extends any[]>(this: new (...args: A) => T, thisArg: T, ...args: A): void;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind<T>(this: T, thisArg: any): T;\n bind<A0, A extends any[], R>(this: new (arg0: A0, ...args: A) => R, thisArg: any, arg0: A0): new (...args: A) => R;\n bind<A0, A1, A extends any[], R>(this: new (arg0: A0, arg1: A1, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1): new (...args: A) => R;\n bind<A0, A1, A2, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2): new (...args: A) => R;\n bind<A0, A1, A2, A3, A extends any[], R>(this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2, arg3: A3): new (...args: A) => R;\n bind<AX, R>(this: new (...args: AX[]) => R, thisArg: any, ...args: AX[]): new (...args: AX[]) => R;\n}\n\ninterface IArguments {\n [index: number]: any;\n length: number;\n callee: Function;\n}\n\ninterface String {\n /** Returns a string representation of a string. */\n toString(): string;\n\n /**\n * Returns the character at the specified index.\n * @param pos The zero-based index of the desired character.\n */\n charAt(pos: number): string;\n\n /**\n * Returns the Unicode value of the character at the specified location.\n * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.\n */\n charCodeAt(index: number): number;\n\n /**\n * Returns a string that contains the concatenation of two or more strings.\n * @param strings The strings to append to the end of the string.\n */\n concat(...strings: string[]): string;\n\n /**\n * Returns the position of the first occurrence of a substring.\n * @param searchString The substring to search for in the string\n * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.\n */\n indexOf(searchString: string, position?: number): number;\n\n /**\n * Returns the last occurrence of a substring in the string.\n * @param searchString The substring to search for.\n * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.\n */\n lastIndexOf(searchString: string, position?: number): number;\n\n /**\n * Determines whether two strings are equivalent in the current locale.\n * @param that String to compare to target string\n */\n localeCompare(that: string): number;\n\n /**\n * Matches a string with a regular expression, and returns an array containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n match(regexp: string | RegExp): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param regexp The regular expression pattern and applicable flags.\n */\n search(regexp: string | RegExp): number;\n\n /**\n * Returns a section of a string.\n * @param start The index to the beginning of the specified portion of stringObj.\n * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\n * If this value is not specified, the substring continues to the end of stringObj.\n */\n slice(start?: number, end?: number): string;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(separator: string | RegExp, limit?: number): string[];\n\n /**\n * Returns the substring at the specified location within a String object.\n * @param start The zero-based index number indicating the beginning of the substring.\n * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\n * If end is omitted, the characters from start through the end of the original string are returned.\n */\n substring(start: number, end?: number): string;\n\n /** Converts all the alphabetic characters in a string to lowercase. */\n toLowerCase(): string;\n\n /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */\n toLocaleLowerCase(locales?: string | string[]): string;\n\n /** Converts all the alphabetic characters in a string to uppercase. */\n toUpperCase(): string;\n\n /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */\n toLocaleUpperCase(locales?: string | string[]): string;\n\n /** Removes the leading and trailing white space and line terminator characters from a string. */\n trim(): string;\n\n /** Returns the length of a String object. */\n readonly length: number;\n\n // IE extensions\n /**\n * Gets a substring beginning at the specified location and having the specified length.\n * @param from The starting position of the desired substring. The index of the first character in the string is zero.\n * @param length The number of characters to include in the returned substring.\n */\n substr(from: number, length?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): string;\n\n readonly [index: number]: string;\n}\n\ninterface StringConstructor {\n new(value?: any): String;\n (value?: any): string;\n readonly prototype: String;\n fromCharCode(...codes: number[]): string;\n}\n\n/**\n * Allows manipulation and formatting of text strings and determination and location of substrings within strings.\n */\ndeclare var String: StringConstructor;\n\ninterface Boolean {\n /** Returns the primitive value of the specified object. */\n valueOf(): boolean;\n}\n\ninterface BooleanConstructor {\n new(value?: any): Boolean;\n <T>(value?: T): boolean;\n readonly prototype: Boolean;\n}\n\ndeclare var Boolean: BooleanConstructor;\n\ninterface Number {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.\n */\n toString(radix?: number): string;\n\n /**\n * Returns a string representing a number in fixed-point notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toFixed(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented in exponential notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toExponential(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.\n * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.\n */\n toPrecision(precision?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): number;\n}\n\ninterface NumberConstructor {\n new(value?: any): Number;\n (value?: any): number;\n readonly prototype: Number;\n\n /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */\n readonly MAX_VALUE: number;\n\n /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */\n readonly MIN_VALUE: number;\n\n /**\n * A value that is not a number.\n * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.\n */\n readonly NaN: number;\n\n /**\n * A value that is less than the largest negative number that can be represented in JavaScript.\n * JavaScript displays NEGATIVE_INFINITY values as -infinity.\n */\n readonly NEGATIVE_INFINITY: number;\n\n /**\n * A value greater than the largest number that can be represented in JavaScript.\n * JavaScript displays POSITIVE_INFINITY values as infinity.\n */\n readonly POSITIVE_INFINITY: number;\n}\n\n/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */\ndeclare var Number: NumberConstructor;\n\ninterface TemplateStringsArray extends ReadonlyArray<string> {\n readonly raw: readonly string[];\n}\n\n/**\n * The type of `import.meta`.\n *\n * If you need to declare that a given property exists on `import.meta`,\n * this type may be augmented via interface merging.\n */\ninterface ImportMeta {\n}\n\ninterface Math {\n /** The mathematical constant e. This is Euler's number, the base of natural logarithms. */\n readonly E: number;\n /** The natural logarithm of 10. */\n readonly LN10: number;\n /** The natural logarithm of 2. */\n readonly LN2: number;\n /** The base-2 logarithm of e. */\n readonly LOG2E: number;\n /** The base-10 logarithm of e. */\n readonly LOG10E: number;\n /** Pi. This is the ratio of the circumference of a circle to its diameter. */\n readonly PI: number;\n /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */\n readonly SQRT1_2: number;\n /** The square root of 2. */\n readonly SQRT2: number;\n /**\n * Returns the absolute value of a number (the value without regard to whether it is positive or negative).\n * For example, the absolute value of -5 is the same as the absolute value of 5.\n * @param x A numeric expression for which the absolute value is needed.\n */\n abs(x: number): number;\n /**\n * Returns the arc cosine (or inverse cosine) of a number.\n * @param x A numeric expression.\n */\n acos(x: number): number;\n /**\n * Returns the arcsine of a number.\n * @param x A numeric expression.\n */\n asin(x: number): number;\n /**\n * Returns the arctangent of a number.\n * @param x A numeric expression for which the arctangent is needed.\n */\n atan(x: number): number;\n /**\n * Returns the angle (in radians) from the X axis to a point.\n * @param y A numeric expression representing the cartesian y-coordinate.\n * @param x A numeric expression representing the cartesian x-coordinate.\n */\n atan2(y: number, x: number): number;\n /**\n * Returns the smallest integer greater than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n ceil(x: number): number;\n /**\n * Returns the cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cos(x: number): number;\n /**\n * Returns e (the base of natural logarithms) raised to a power.\n * @param x A numeric expression representing the power of e.\n */\n exp(x: number): number;\n /**\n * Returns the greatest integer less than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n floor(x: number): number;\n /**\n * Returns the natural logarithm (base e) of a number.\n * @param x A numeric expression.\n */\n log(x: number): number;\n /**\n * Returns the larger of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n max(...values: number[]): number;\n /**\n * Returns the smaller of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n min(...values: number[]): number;\n /**\n * Returns the value of a base expression taken to a specified power.\n * @param x The base value of the expression.\n * @param y The exponent value of the expression.\n */\n pow(x: number, y: number): number;\n /** Returns a pseudorandom number between 0 and 1. */\n random(): number;\n /**\n * Returns a supplied numeric expression rounded to the nearest integer.\n * @param x The value to be rounded to the nearest integer.\n */\n round(x: number): number;\n /**\n * Returns the sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sin(x: number): number;\n /**\n * Returns the square root of a number.\n * @param x A numeric expression.\n */\n sqrt(x: number): number;\n /**\n * Returns the tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tan(x: number): number;\n}\n/** An intrinsic object that provides basic mathematics functionality and constants. */\ndeclare var Math: Math;\n\n/** Enables basic storage and retrieval of dates and times. */\ninterface Date {\n /** Returns a string representation of a date. The format of the string depends on the locale. */\n toString(): string;\n /** Returns a date as a string value. */\n toDateString(): string;\n /** Returns a time as a string value. */\n toTimeString(): string;\n /** Returns a value as a string value appropriate to the host environment's current locale. */\n toLocaleString(): string;\n /** Returns a date as a string value appropriate to the host environment's current locale. */\n toLocaleDateString(): string;\n /** Returns a time as a string value appropriate to the host environment's current locale. */\n toLocaleTimeString(): string;\n /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\n valueOf(): number;\n /** Gets the time value in milliseconds. */\n getTime(): number;\n /** Gets the year, using local time. */\n getFullYear(): number;\n /** Gets the year using Universal Coordinated Time (UTC). */\n getUTCFullYear(): number;\n /** Gets the month, using local time. */\n getMonth(): number;\n /** Gets the month of a Date object using Universal Coordinated Time (UTC). */\n getUTCMonth(): number;\n /** Gets the day-of-the-month, using local time. */\n getDate(): number;\n /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */\n getUTCDate(): number;\n /** Gets the day of the week, using local time. */\n getDay(): number;\n /** Gets the day of the week using Universal Coordinated Time (UTC). */\n getUTCDay(): number;\n /** Gets the hours in a date, using local time. */\n getHours(): number;\n /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */\n getUTCHours(): number;\n /** Gets the minutes of a Date object, using local time. */\n getMinutes(): number;\n /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */\n getUTCMinutes(): number;\n /** Gets the seconds of a Date object, using local time. */\n getSeconds(): number;\n /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCSeconds(): number;\n /** Gets the milliseconds of a Date, using local time. */\n getMilliseconds(): number;\n /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCMilliseconds(): number;\n /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */\n getTimezoneOffset(): number;\n /**\n * Sets the date and time value in the Date object.\n * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.\n */\n setTime(time: number): number;\n /**\n * Sets the milliseconds value in the Date object using local time.\n * @param ms A numeric value equal to the millisecond value.\n */\n setMilliseconds(ms: number): number;\n /**\n * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).\n * @param ms A numeric value equal to the millisecond value.\n */\n setUTCMilliseconds(ms: number): number;\n\n /**\n * Sets the seconds value in the Date object using local time.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setSeconds(sec: number, ms?: number): number;\n /**\n * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCSeconds(sec: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using local time.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the hour value in the Date object using local time.\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the hours value in the Date object using Universal Coordinated Time (UTC).\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the numeric day-of-the-month value of the Date object using local time.\n * @param date A numeric value equal to the day of the month.\n */\n setDate(date: number): number;\n /**\n * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).\n * @param date A numeric value equal to the day of the month.\n */\n setUTCDate(date: number): number;\n /**\n * Sets the month value in the Date object using local time.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.\n */\n setMonth(month: number, date?: number): number;\n /**\n * Sets the month value in the Date object using Universal Coordinated Time (UTC).\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.\n */\n setUTCMonth(month: number, date?: number): number;\n /**\n * Sets the year of the Date object using local time.\n * @param year A numeric value for the year.\n * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.\n * @param date A numeric value equal for the day of the month.\n */\n setFullYear(year: number, month?: number, date?: number): number;\n /**\n * Sets the year value in the Date object using Universal Coordinated Time (UTC).\n * @param year A numeric value equal to the year.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.\n * @param date A numeric value equal to the day of the month.\n */\n setUTCFullYear(year: number, month?: number, date?: number): number;\n /** Returns a date converted to a string using Universal Coordinated Time (UTC). */\n toUTCString(): string;\n /** Returns a date as a string value in ISO format. */\n toISOString(): string;\n /** Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization. */\n toJSON(key?: any): string;\n}\n\ninterface DateConstructor {\n new(): Date;\n new(value: number | string): Date;\n new(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;\n (): string;\n readonly prototype: Date;\n /**\n * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.\n * @param s A date string\n */\n parse(s: string): number;\n /**\n * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.\n * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\n * @param month The month as a number between 0 and 11 (January to December).\n * @param date The date as a number between 1 and 31.\n * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.\n * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.\n * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.\n * @param ms A number from 0 to 999 that specifies the milliseconds.\n */\n UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array<string> {\n index?: number;\n input?: string;\n}\n\ninterface RegExpExecArray extends Array<string> {\n index: number;\n input: string;\n}\n\ninterface RegExp {\n /**\n * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.\n * @param string The String object or string literal on which to perform the search.\n */\n exec(string: string): RegExpExecArray | null;\n\n /**\n * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.\n * @param string String on which to perform the search.\n */\n test(string: string): boolean;\n\n /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */\n readonly source: string;\n\n /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */\n readonly global: boolean;\n\n /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */\n readonly ignoreCase: boolean;\n\n /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */\n readonly multiline: boolean;\n\n lastIndex: number;\n\n // Non-standard extensions\n compile(): this;\n}\n\ninterface RegExpConstructor {\n new(pattern: RegExp | string): RegExp;\n new(pattern: string, flags?: string): RegExp;\n (pattern: RegExp | string): RegExp;\n (pattern: string, flags?: string): RegExp;\n readonly prototype: RegExp;\n\n // Non-standard extensions\n $1: string;\n $2: string;\n $3: string;\n $4: string;\n $5: string;\n $6: string;\n $7: string;\n $8: string;\n $9: string;\n lastMatch: string;\n}\n\ndeclare var RegExp: RegExpConstructor;\n\ninterface Error {\n name: string;\n message: string;\n stack?: string;\n}\n\ninterface ErrorConstructor {\n new(message?: string): Error;\n (message?: string): Error;\n readonly prototype: Error;\n}\n\ndeclare var Error: ErrorConstructor;\n\ninterface EvalError extends Error {\n}\n\ninterface EvalErrorConstructor extends ErrorConstructor {\n new(message?: string): EvalError;\n (message?: string): EvalError;\n readonly prototype: EvalError;\n}\n\ndeclare var EvalError: EvalErrorConstructor;\n\ninterface RangeError extends Error {\n}\n\ninterface RangeErrorConstructor extends ErrorConstructor {\n new(message?: string): RangeError;\n (message?: string): RangeError;\n readonly prototype: RangeError;\n}\n\ndeclare var RangeError: RangeErrorConstructor;\n\ninterface ReferenceError extends Error {\n}\n\ninterface ReferenceErrorConstructor extends ErrorConstructor {\n new(message?: string): ReferenceError;\n (message?: string): ReferenceError;\n readonly prototype: ReferenceError;\n}\n\ndeclare var ReferenceError: ReferenceErrorConstructor;\n\ninterface SyntaxError extends Error {\n}\n\ninterface SyntaxErrorConstructor extends ErrorConstructor {\n new(message?: string): SyntaxError;\n (message?: string): SyntaxError;\n readonly prototype: SyntaxError;\n}\n\ndeclare var SyntaxError: SyntaxErrorConstructor;\n\ninterface TypeError extends Error {\n}\n\ninterface TypeErrorConstructor extends ErrorConstructor {\n new(message?: string): TypeError;\n (message?: string): TypeError;\n readonly prototype: TypeError;\n}\n\ndeclare var TypeError: TypeErrorConstructor;\n\ninterface URIError extends Error {\n}\n\ninterface URIErrorConstructor extends ErrorConstructor {\n new(message?: string): URIError;\n (message?: string): URIError;\n readonly prototype: URIError;\n}\n\ndeclare var URIError: URIErrorConstructor;\n\ninterface JSON {\n /**\n * Converts a JavaScript Object Notation (JSON) string into an object.\n * @param text A valid JSON string.\n * @param reviver A function that transforms the results. This function is called for each member of the object.\n * If a member contains nested objects, the nested objects are transformed before the parent object is.\n */\n parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer A function that transforms the results.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\n}\n\n/**\n * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.\n */\ndeclare var JSON: JSON;\n\n\n/////////////////////////////\n/// ECMAScript Array API (specially handled by compiler)\n/////////////////////////////\n\ninterface ReadonlyArray<T> {\n /**\n * Gets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n readonly length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray<T>[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray<T>)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): this is readonly S[];\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n\n readonly [n: number]: T;\n}\n\ninterface ConcatArray<T> {\n readonly length: number;\n readonly [n: number]: T;\n join(separator?: string): string;\n slice(start?: number, end?: number): T[];\n}\n\ninterface Array<T> {\n /**\n * Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Removes the last element from an array and returns it.\n */\n pop(): T | undefined;\n /**\n * Appends new elements to an array, and returns the new length of the array.\n * @param items New elements of the Array.\n */\n push(...items: T[]): number;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray<T>[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray<T>)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Reverses the elements in an Array.\n */\n reverse(): T[];\n /**\n * Removes the first element from an array and returns it.\n */\n shift(): T | undefined;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: T, b: T) => number): this;\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n */\n splice(start: number, deleteCount?: number): T[];\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n * @param items Elements to insert into the array in place of the deleted elements.\n */\n splice(start: number, deleteCount: number, ...items: T[]): T[];\n /**\n * Inserts new elements at the start of an array.\n * @param items Elements to insert at the start of the Array.\n */\n unshift(...items: T[]): number;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): this is S[];\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n\n [n: number]: T;\n}\n\ninterface ArrayConstructor {\n new(arrayLength?: number): any[];\n new <T>(arrayLength: number): T[];\n new <T>(...items: T[]): T[];\n (arrayLength?: number): any[];\n <T>(arrayLength: number): T[];\n <T>(...items: T[]): T[];\n isArray(arg: any): arg is any[];\n readonly prototype: any[];\n}\n\ndeclare var Array: ArrayConstructor;\n\ninterface TypedPropertyDescriptor<T> {\n enumerable?: boolean;\n configurable?: boolean;\n writable?: boolean;\n value?: T;\n get?: () => T;\n set?: (value: T) => void;\n}\n\ndeclare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\ndeclare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\n\ndeclare type PromiseConstructorLike = new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;\n\ninterface PromiseLike<T> {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;\n}\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise<T> {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;\n\n /**\n * Attaches a callback for only the rejection of the Promise.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of the callback.\n */\n catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;\n}\n\ninterface ArrayLike<T> {\n readonly length: number;\n readonly [n: number]: T;\n}\n\n/**\n * Make all properties in T optional\n */\ntype Partial<T> = {\n [P in keyof T]?: T[P];\n};\n\n/**\n * Make all properties in T required\n */\ntype Required<T> = {\n [P in keyof T]-?: T[P];\n};\n\n/**\n * Make all properties in T readonly\n */\ntype Readonly<T> = {\n readonly [P in keyof T]: T[P];\n};\n\n/**\n * From T, pick a set of properties whose keys are in the union K\n */\ntype Pick<T, K extends keyof T> = {\n [P in K]: T[P];\n};\n\n/**\n * Construct a type with a set of properties K of type T\n */\ntype Record<K extends keyof any, T> = {\n [P in K]: T;\n};\n\n/**\n * Exclude from T those types that are assignable to U\n */\ntype Exclude<T, U> = T extends U ? never : T;\n\n/**\n * Extract from T those types that are assignable to U\n */\ntype Extract<T, U> = T extends U ? T : never;\n\n/**\n * Construct a type with the properties of T except for those in type K.\n */\ntype Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;\n\n/**\n * Exclude null and undefined from T\n */\ntype NonNullable<T> = T extends null | undefined ? never : T;\n\n/**\n * Obtain the parameters of a function type in a tuple\n */\ntype Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the parameters of a constructor function type in a tuple\n */\ntype ConstructorParameters<T extends new (...args: any) => any> = T extends new (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the return type of a function type\n */\ntype ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any;\n\n/**\n * Obtain the return type of a constructor function type\n */\ntype InstanceType<T extends new (...args: any) => any> = T extends new (...args: any) => infer R ? R : any;\n\n/**\n * Marker for contextual 'this' type\n */\ninterface ThisType<T> { }\n\n/**\n * Represents a raw buffer of binary data, which is used to store data for the\n * different typed arrays. ArrayBuffers cannot be read from or written to directly,\n * but can be passed to a typed array or DataView Object to interpret the raw\n * buffer as needed.\n */\ninterface ArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /**\n * Returns a section of an ArrayBuffer.\n */\n slice(begin: number, end?: number): ArrayBuffer;\n}\n\n/**\n * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.\n */\ninterface ArrayBufferTypes {\n ArrayBuffer: ArrayBuffer;\n}\ntype ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];\n\ninterface ArrayBufferConstructor {\n readonly prototype: ArrayBuffer;\n new(byteLength: number): ArrayBuffer;\n isView(arg: any): arg is ArrayBufferView;\n}\ndeclare var ArrayBuffer: ArrayBufferConstructor;\n\ninterface ArrayBufferView {\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n byteOffset: number;\n}\n\ninterface DataView {\n readonly buffer: ArrayBuffer;\n readonly byteLength: number;\n readonly byteOffset: number;\n /**\n * Gets the Float32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Float64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat64(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Int8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt8(byteOffset: number): number;\n\n /**\n * Gets the Int16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt16(byteOffset: number, littleEndian?: boolean): number;\n /**\n * Gets the Int32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint8(byteOffset: number): number;\n\n /**\n * Gets the Uint16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint16(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Stores an Float32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Float64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setInt8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Int16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setUint8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Uint16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;\n}\n\ninterface DataViewConstructor {\n new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\n}\ndeclare var DataView: DataViewConstructor;\n\n/**\n * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Int8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int8Array;\n\n [index: number]: number;\n}\ninterface Int8ArrayConstructor {\n readonly prototype: Int8Array;\n new(length: number): Int8Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int8Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;\n\n\n}\ndeclare var Int8Array: Int8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint8Array;\n\n [index: number]: number;\n}\n\ninterface Uint8ArrayConstructor {\n readonly prototype: Uint8Array;\n new(length: number): Uint8Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint8Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;\n\n}\ndeclare var Uint8Array: Uint8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\n * If the requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8ClampedArray {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8ClampedArray;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint8ClampedArray;\n\n [index: number]: number;\n}\n\ninterface Uint8ClampedArrayConstructor {\n readonly prototype: Uint8ClampedArray;\n new(length: number): Uint8ClampedArray;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8ClampedArray;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\ndeclare var Uint8ClampedArray: Uint8ClampedArrayConstructor;\n\n/**\n * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int16Array;\n\n [index: number]: number;\n}\n\ninterface Int16ArrayConstructor {\n readonly prototype: Int16Array;\n new(length: number): Int16Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int16Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array;\n\n\n}\ndeclare var Int16Array: Int16ArrayConstructor;\n\n/**\n * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint16Array;\n\n [index: number]: number;\n}\n\ninterface Uint16ArrayConstructor {\n readonly prototype: Uint16Array;\n new(length: number): Uint16Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint16Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array;\n\n\n}\ndeclare var Uint16Array: Uint16ArrayConstructor;\n/**\n * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Int32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Int32Array;\n\n [index: number]: number;\n}\n\ninterface Int32ArrayConstructor {\n readonly prototype: Int32Array;\n new(length: number): Int32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Int32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;\n\n}\ndeclare var Int32Array: Int32ArrayConstructor;\n\n/**\n * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Uint32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Uint32Array;\n\n [index: number]: number;\n}\n\ninterface Uint32ArrayConstructor {\n readonly prototype: Uint32Array;\n new(length: number): Uint32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Uint32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;\n\n}\ndeclare var Uint32Array: Uint32ArrayConstructor;\n\n/**\n * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\n * of bytes could not be allocated an exception is raised.\n */\ninterface Float32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Float32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Float32Array;\n\n [index: number]: number;\n}\n\ninterface Float32ArrayConstructor {\n readonly prototype: Float32Array;\n new(length: number): Float32Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Float32Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array;\n\n\n}\ndeclare var Float32Array: Float32ArrayConstructor;\n\n/**\n * A typed array of 64-bit float values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Float64Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param predicate A function that accepts up to three arguments. The every method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param predicate A function that accepts up to three arguments. The filter method calls\n * the predicate function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float64Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike<number>, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.\n */\n slice(start?: number, end?: number): Float64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param predicate A function that accepts up to three arguments. The some method calls\n * the predicate function for each element in the array until the predicate returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the predicate function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they're equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float64Array;\n\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Float64Array;\n\n [index: number]: number;\n}\n\ninterface Float64ArrayConstructor {\n readonly prototype: Float64Array;\n new(length: number): Float64Array;\n new(array: ArrayLike<number> | ArrayBufferLike): Float64Array;\n new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float64Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of 'this' used to invoke the mapfn.\n */\n from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;\n\n}\ndeclare var Float64Array: Float64ArrayConstructor;\n\n/////////////////////////////\n/// ECMAScript Internationalization API\n/////////////////////////////\n\ndeclare namespace Intl {\n interface CollatorOptions {\n usage?: string;\n localeMatcher?: string;\n numeric?: boolean;\n caseFirst?: string;\n sensitivity?: string;\n ignorePunctuation?: boolean;\n }\n\n interface ResolvedCollatorOptions {\n locale: string;\n usage: string;\n sensitivity: string;\n ignorePunctuation: boolean;\n collation: string;\n caseFirst: string;\n numeric: boolean;\n }\n\n interface Collator {\n compare(x: string, y: string): number;\n resolvedOptions(): ResolvedCollatorOptions;\n }\n var Collator: {\n new(locales?: string | string[], options?: CollatorOptions): Collator;\n (locales?: string | string[], options?: CollatorOptions): Collator;\n supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];\n };\n\n interface NumberFormatOptions {\n localeMatcher?: string;\n style?: string;\n currency?: string;\n currencyDisplay?: string;\n useGrouping?: boolean;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedNumberFormatOptions {\n locale: string;\n numberingSystem: string;\n style: string;\n currency?: string;\n currencyDisplay?: string;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n useGrouping: boolean;\n }\n\n interface NumberFormat {\n format(value: number): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n var NumberFormat: {\n new(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];\n };\n\n interface DateTimeFormatOptions {\n localeMatcher?: string;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n formatMatcher?: string;\n hour12?: boolean;\n timeZone?: string;\n }\n\n interface ResolvedDateTimeFormatOptions {\n locale: string;\n calendar: string;\n numberingSystem: string;\n timeZone: string;\n hour12?: boolean;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n }\n\n interface DateTimeFormat {\n format(date?: Date | number): string;\n resolvedOptions(): ResolvedDateTimeFormatOptions;\n }\n var DateTimeFormat: {\n new(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];\n };\n}\n\ninterface String {\n /**\n * Determines whether two strings are equivalent in the current or specified locale.\n * @param that String to compare to target string\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.\n */\n localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;\n}\n\ninterface Number {\n /**\n * Converts a number to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Date {\n /**\n * Converts a date and time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n /**\n * Converts a date to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n\n /**\n * Converts a time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n}\n","lib.es6.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2015" />\n/// <reference lib="dom" />\n/// <reference lib="dom.iterable" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',"lib.esnext.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="es2020" />\n/// <reference lib="esnext.intl" />\n/// <reference lib="esnext.string" />\n/// <reference lib="esnext.promise" />\n',"lib.esnext.full.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/// <reference lib="esnext" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',"lib.esnext.intl.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ndeclare namespace Intl {\n type NumberFormatPartTypes = "currency" | "decimal" | "fraction" | "group" | "infinity" | "integer" | "literal" | "minusSign" | "nan" | "plusSign" | "percentSign";\n\n interface NumberFormatPart {\n type: NumberFormatPartTypes;\n value: string;\n }\n\n interface NumberFormat {\n formatToParts(number?: number): NumberFormatPart[];\n }\n}\n',"lib.esnext.promise.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface AggregateError extends Error {\n errors: any[]\n}\n\ninterface AggregateErrorConstructor {\n new(errors: Iterable<any>, message?: string): AggregateError;\n (errors: Iterable<any>, message?: string): AggregateError;\n readonly prototype: AggregateError;\n}\n\ndeclare var AggregateError: AggregateErrorConstructor;\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface PromiseConstructor {\n /**\n * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.\n * @param values An array or iterable of Promises.\n * @returns A new Promise.\n */\n any<T>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T>\n}\n',"lib.esnext.string.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\ninterface String {\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replaceAll(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replace all instances of a substring in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n}\n',"lib.scripthost.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n\n\n/////////////////////////////\n/// Windows Script Host APIS\n/////////////////////////////\n\n\ninterface ActiveXObject {\n new (s: string): any;\n}\ndeclare var ActiveXObject: ActiveXObject;\n\ninterface ITextWriter {\n Write(s: string): void;\n WriteLine(s: string): void;\n Close(): void;\n}\n\ninterface TextStreamBase {\n /**\n * The column number of the current character position in an input stream.\n */\n Column: number;\n\n /**\n * The current line number in an input stream.\n */\n Line: number;\n\n /**\n * Closes a text stream.\n * It is not necessary to close standard streams; they close automatically when the process ends. If\n * you close a standard stream, be aware that any other pointers to that standard stream become invalid.\n */\n Close(): void;\n}\n\ninterface TextStreamWriter extends TextStreamBase {\n /**\n * Sends a string to an output stream.\n */\n Write(s: string): void;\n\n /**\n * Sends a specified number of blank lines (newline characters) to an output stream.\n */\n WriteBlankLines(intLines: number): void;\n\n /**\n * Sends a string followed by a newline character to an output stream.\n */\n WriteLine(s: string): void;\n}\n\ninterface TextStreamReader extends TextStreamBase {\n /**\n * Returns a specified number of characters from an input stream, starting at the current pointer position.\n * Does not return until the ENTER key is pressed.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n Read(characters: number): string;\n\n /**\n * Returns all characters from an input stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadAll(): string;\n\n /**\n * Returns an entire line from an input stream.\n * Although this method extracts the newline character, it does not add it to the returned string.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n */\n ReadLine(): string;\n\n /**\n * Skips a specified number of characters when reading from an input text stream.\n * Can only be used on a stream in reading mode; causes an error in writing or appending mode.\n * @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)\n */\n Skip(characters: number): void;\n\n /**\n * Skips the next line when reading from an input text stream.\n * Can only be used on a stream in reading mode, not writing or appending mode.\n */\n SkipLine(): void;\n\n /**\n * Indicates whether the stream pointer position is at the end of a line.\n */\n AtEndOfLine: boolean;\n\n /**\n * Indicates whether the stream pointer position is at the end of a stream.\n */\n AtEndOfStream: boolean;\n}\n\ndeclare var WScript: {\n /**\n * Outputs text to either a message box (under WScript.exe) or the command console window followed by\n * a newline (under CScript.exe).\n */\n Echo(s: any): void;\n\n /**\n * Exposes the write-only error output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdErr: TextStreamWriter;\n\n /**\n * Exposes the write-only output stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdOut: TextStreamWriter;\n Arguments: { length: number; Item(n: number): string; };\n\n /**\n * The full path of the currently running script.\n */\n ScriptFullName: string;\n\n /**\n * Forces the script to stop immediately, with an optional exit code.\n */\n Quit(exitCode?: number): number;\n\n /**\n * The Windows Script Host build version number.\n */\n BuildVersion: number;\n\n /**\n * Fully qualified path of the host executable.\n */\n FullName: string;\n\n /**\n * Gets/sets the script mode - interactive(true) or batch(false).\n */\n Interactive: boolean;\n\n /**\n * The name of the host executable (WScript.exe or CScript.exe).\n */\n Name: string;\n\n /**\n * Path of the directory containing the host executable.\n */\n Path: string;\n\n /**\n * The filename of the currently running script.\n */\n ScriptName: string;\n\n /**\n * Exposes the read-only input stream for the current script.\n * Can be accessed only while using CScript.exe.\n */\n StdIn: TextStreamReader;\n\n /**\n * Windows Script Host version\n */\n Version: string;\n\n /**\n * Connects a COM object\'s event sources to functions named with a given prefix, in the form prefix_event.\n */\n ConnectObject(objEventSource: any, strPrefix: string): void;\n\n /**\n * Creates a COM object.\n * @param strProgiID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n CreateObject(strProgID: string, strPrefix?: string): any;\n\n /**\n * Disconnects a COM object from its event sources.\n */\n DisconnectObject(obj: any): void;\n\n /**\n * Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.\n * @param strPathname Fully qualified path to the file containing the object persisted to disk.\n * For objects in memory, pass a zero-length string.\n * @param strProgID\n * @param strPrefix Function names in the form prefix_event will be bound to this object\'s COM events.\n */\n GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;\n\n /**\n * Suspends script execution for a specified length of time, then continues execution.\n * @param intTime Interval (in milliseconds) to suspend script execution.\n */\n Sleep(intTime: number): void;\n};\n\n/**\n * WSH is an alias for WScript under Windows Script Host\n */\ndeclare var WSH: typeof WScript;\n\n/**\n * Represents an Automation SAFEARRAY\n */\ndeclare class SafeArray<T = any> {\n private constructor();\n private SafeArray_typekey: SafeArray<T>;\n}\n\n/**\n * Allows enumerating over a COM collection, which may not have indexed item access.\n */\ninterface Enumerator<T = any> {\n /**\n * Returns true if the current item is the last one in the collection, or the collection is empty,\n * or the current item is undefined.\n */\n atEnd(): boolean;\n\n /**\n * Returns the current item in the collection\n */\n item(): T;\n\n /**\n * Resets the current item in the collection to the first item. If there are no items in the collection,\n * the current item is set to undefined.\n */\n moveFirst(): void;\n\n /**\n * Moves the current item to the next item in the collection. If the enumerator is at the end of\n * the collection or the collection is empty, the current item is set to undefined.\n */\n moveNext(): void;\n}\n\ninterface EnumeratorConstructor {\n new <T = any>(safearray: SafeArray<T>): Enumerator<T>;\n new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;\n new <T = any>(collection: any): Enumerator<T>;\n}\n\ndeclare var Enumerator: EnumeratorConstructor;\n\n/**\n * Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.\n */\ninterface VBArray<T = any> {\n /**\n * Returns the number of dimensions (1-based).\n */\n dimensions(): number;\n\n /**\n * Takes an index for each dimension in the array, and returns the item at the corresponding location.\n */\n getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;\n\n /**\n * Returns the smallest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n lbound(dimension?: number): number;\n\n /**\n * Returns the largest available index for a given dimension.\n * @param dimension 1-based dimension (defaults to 1)\n */\n ubound(dimension?: number): number;\n\n /**\n * Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,\n * each successive dimension is appended to the end of the array.\n * Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]\n */\n toArray(): T[];\n}\n\ninterface VBArrayConstructor {\n new <T = any>(safeArray: SafeArray<T>): VBArray<T>;\n}\n\ndeclare var VBArray: VBArrayConstructor;\n\n/**\n * Automation date (VT_DATE)\n */\ndeclare class VarDate {\n private constructor();\n private VarDate_typekey: VarDate;\n}\n\ninterface DateConstructor {\n new (vd: VarDate): Date;\n}\n\ninterface Date {\n getVarDate: () => VarDate;\n}\n',"lib.webworker.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// Worker APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n desynchronized?: boolean;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CryptoKeyPair {\n privateKey?: CryptoKey;\n publicKey?: CryptoKey;\n}\n\ninterface CustomEventInit<T = any> extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExtendableEventInit extends EventInit {\n}\n\ninterface ExtendableMessageEventInit extends ExtendableEventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: Client | ServiceWorker | MessagePort | null;\n}\n\ninterface FetchEventInit extends ExtendableEventInit {\n clientId?: string;\n preloadResponse?: Promise<any>;\n replacesClientId?: string;\n request: Request;\n resultingClientId?: string;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface MessageEventInit<T = any> extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationEventInit extends ExtendableEventInit {\n action?: string;\n notification: Notification;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise<any>;\n reason?: any;\n}\n\ninterface PushEventInit extends ExtendableEventInit {\n data?: PushMessageDataInit;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionChangeEventInit extends ExtendableEventInit {\n newSubscription?: PushSubscription;\n oldSubscription?: PushSubscription;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record<string, string>;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy<T = any> {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback<T>;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value?: T;\n}\n\ninterface ReadableStreamReadValueResult<T> {\n done: false;\n value: T;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request\'s credentials.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request\'s redirect.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface SyncEventInit extends ExtendableEventInit {\n lastChance?: boolean;\n tag: string;\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface Transformer<I = any, O = any> {\n flush?: TransformStreamDefaultControllerCallback<O>;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback<O>;\n transform?: TransformStreamDefaultControllerTransformCallback<I, O>;\n writableType?: undefined;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink<W = any> {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback<W>;\n}\n\ninterface UnderlyingSource<R = any> {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback<R>;\n start?: ReadableStreamDefaultControllerCallback<R>;\n type?: undefined;\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\n/** A file-like object of immutable, raw data. Blobs represent data that isn\'t necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user\'s system. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise<ArrayBuffer>;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n readonly body: ReadableStream<Uint8Array> | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise<ArrayBuffer>;\n blob(): Promise<Blob>;\n formData(): Promise<FormData>;\n json(): Promise<any>;\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /**\n * Returns the channel name (as passed to the constructor).\n */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * Closes the BroadcastChannel object, opening it up to garbage collection.\n */\n close(): void;\n /**\n * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n highWaterMark: number;\n size(chunk: ArrayBufferView): number;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(options: { highWaterMark: number }): ByteLengthQueuingStrategy;\n};\n\n/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don\'t have to use it in conjunction with service workers, even though it is defined in the service worker spec. */\ninterface Cache {\n add(request: RequestInfo): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/** The storage for Cache objects. */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: string;\n}\n\ninterface CanvasDrawImage {\n drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n beginPath(): void;\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n fillStyle: string | CanvasGradient | CanvasPattern;\n strokeStyle: string | CanvasGradient | CanvasPattern;\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.\n * \n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n createImageData(sw: number, sh: number): ImageData;\n createImageData(imagedata: ImageData): ImageData;\n getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;\n putImageData(imagedata: ImageData, dx: number, dy: number): void;\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n imageSmoothingEnabled: boolean;\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasPathDrawingStyles {\n lineCap: CanvasLineCap;\n lineDashOffset: number;\n lineJoin: CanvasLineJoin;\n lineWidth: number;\n miterLimit: number;\n getLineDash(): number[];\n setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /**\n * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n clearRect(x: number, y: number, w: number, h: number): void;\n fillRect(x: number, y: number, w: number, h: number): void;\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasShadowStyles {\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n restore(): void;\n save(): void;\n}\n\ninterface CanvasText {\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n measureText(text: string): TextMetrics;\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n direction: CanvasDirection;\n font: string;\n textAlign: CanvasTextAlign;\n textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n getTransform(): DOMMatrix;\n resetTransform(): void;\n rotate(angle: number): void;\n scale(x: number, y: number): void;\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n translate(x: number, y: number): void;\n}\n\n/** The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get(). */\ninterface Client {\n readonly frameType: FrameType;\n readonly id: string;\n readonly type: ClientTypes;\n readonly url: string;\n postMessage(message: any, transfer?: Transferable[]): void;\n}\n\ndeclare var Client: {\n prototype: Client;\n new(): Client;\n};\n\n/** Provides access to Client objects. Access it via self.clients within a service worker. */\ninterface Clients {\n claim(): Promise<void>;\n get(id: string): Promise<Client | undefined>;\n matchAll(options?: ClientQueryOptions): Promise<ReadonlyArray<Client>>;\n openWindow(url: string): Promise<WindowClient | null>;\n}\n\ndeclare var Clients: {\n prototype: Clients;\n new(): Clients;\n};\n\n/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object\'s onclose attribute. */\ninterface CloseEvent extends Event {\n /**\n * Returns the WebSocket connection close code provided by the server.\n */\n readonly code: number;\n /**\n * Returns the WebSocket connection close reason provided by the server.\n */\n readonly reason: string;\n /**\n * Returns true if the connection closed cleanly; false otherwise.\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\ninterface ConcatParams extends Algorithm {\n algorithmId: Uint8Array;\n hash?: string | Algorithm;\n partyUInfo: Uint8Array;\n partyVInfo: Uint8Array;\n privateInfo?: Uint8Array;\n publicInfo?: Uint8Array;\n}\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n highWaterMark: number;\n size(chunk: any): 1;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(options: { highWaterMark: number }): CountQueuingStrategy;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\ninterface CustomEvent<T = any> extends Event {\n /**\n * Returns any custom data event was created with. Typically used for synthetic events.\n */\n readonly detail: T;\n initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new<T>(typeArg: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /**\n * Returns the number of strings in strings.\n */\n readonly length: number;\n /**\n * Returns true if strings contains string, and false otherwise.\n */\n contains(string: string): boolean;\n /**\n * Returns the string with index index from strings.\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\ninterface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */\ninterface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider {\n /**\n * Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging.\n */\n readonly name: string;\n onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * Aborts dedicatedWorkerGlobal.\n */\n close(): void;\n /**\n * Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var DedicatedWorkerGlobalScope: {\n prototype: DedicatedWorkerGlobalScope;\n new(): DedicatedWorkerGlobalScope;\n};\n\ninterface DhImportKeyParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyAlgorithm extends KeyAlgorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface DhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface DhKeyGenParams extends Algorithm {\n generator: Uint8Array;\n prime: Uint8Array;\n}\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\n/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /**\n * Returns true or false depending on how event was initialized. True if event goes through its target\'s ancestors in reverse tree order, and false otherwise.\n */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /**\n * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.\n */\n readonly cancelable: boolean;\n /**\n * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.\n */\n readonly composed: boolean;\n /**\n * Returns the object whose event listener\'s callback is currently being invoked.\n */\n readonly currentTarget: EventTarget | null;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.\n */\n readonly defaultPrevented: boolean;\n /**\n * Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.\n */\n readonly eventPhase: number;\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n readonly isTrusted: boolean;\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n readonly target: EventTarget | null;\n /**\n * Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin.\n */\n readonly timeStamp: number;\n /**\n * Returns the type of event, e.g. "click", "hashchange", or "submit".\n */\n readonly type: string;\n /**\n * Returns the invocation target objects of event\'s path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root\'s mode is "closed" that are not reachable from event\'s currentTarget.\n */\n composedPath(): EventTarget[];\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.\n */\n preventDefault(): void;\n /**\n * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.\n */\n stopImmediatePropagation(): void;\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.\n */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListenerObject {\n handleEvent(evt: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * Returns the state of this EventSource object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL providing the event stream.\n */\n readonly url: string;\n /**\n * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.\n */\n readonly withCredentials: boolean;\n /**\n * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.\n */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.\n * \n * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options\'s capture.\n * \n * When set to true, options\'s capture prevents callback from being invoked when the event\'s eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event\'s eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event\'s eventPhase attribute value is AT_TARGET.\n * \n * When set to true, options\'s passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.\n * \n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n * \n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;\n /**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\n dispatchEvent(event: Event): boolean;\n /**\n * Removes the event listener in target\'s event listener list with the same type, callback, and options.\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/** Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries. */\ninterface ExtendableEvent extends Event {\n waitUntil(f: any): void;\n}\n\ndeclare var ExtendableEvent: {\n prototype: ExtendableEvent;\n new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent;\n};\n\n/** This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events. */\ninterface ExtendableMessageEvent extends ExtendableEvent {\n readonly data: any;\n readonly lastEventId: string;\n readonly origin: string;\n readonly ports: ReadonlyArray<MessagePort>;\n readonly source: Client | ServiceWorker | MessagePort | null;\n}\n\ndeclare var ExtendableMessageEvent: {\n prototype: ExtendableMessageEvent;\n new(type: string, eventInitDict?: ExtendableMessageEventInit): ExtendableMessageEvent;\n};\n\n/** This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */\ninterface FetchEvent extends ExtendableEvent {\n readonly clientId: string;\n readonly preloadResponse: Promise<any>;\n readonly replacesClientId: string;\n readonly request: Request;\n readonly resultingClientId: string;\n respondWith(r: Response | Promise<Response>): void;\n}\n\ndeclare var FetchEvent: {\n prototype: FetchEvent;\n new(type: string, eventInitDict: FetchEventInit): FetchEvent;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It\'s also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent<FileReader>;\n "error": ProgressEvent<FileReader>;\n "load": ProgressEvent<FileReader>;\n "loadend": ProgressEvent<FileReader>;\n "loadstart": ProgressEvent<FileReader>;\n "progress": ProgressEvent<FileReader>;\n}\n\n/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user\'s computer, using File or Blob objects to specify the file or data to read. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof FileReaderEventMap>(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\n/** Allows to read File or Blob objects in a synchronous way. */\ninterface FileReaderSync {\n readAsArrayBuffer(blob: Blob): ArrayBuffer;\n readAsBinaryString(blob: Blob): string;\n readAsDataURL(blob: Blob): string;\n readAsText(blob: Blob, encoding?: string): string;\n}\n\ndeclare var FileReaderSync: {\n prototype: FileReaderSync;\n new(): FileReaderSync;\n};\n\n/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(): FormData;\n};\n\ninterface GenericTransformStream {\n /**\n * Returns a readable stream whose chunks are strings resulting from running encoding\'s decoder on the chunks written to writable.\n */\n readonly readable: ReadableStream;\n /**\n * Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding\'s decoder before making them available to readable.\n * \n * Typically this will be used via the pipeThrough() method on a ReadableStream source.\n * \n * ```\n * var decoder = new TextDecoderStream(encoding);\n * byteReadable\n * .pipeThrough(decoder)\n * .pipeTo(textWritable);\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, both readable and writable will be errored with a TypeError.\n */\n readonly writable: WritableStream;\n}\n\n/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */\ninterface Headers {\n append(name: string, value: string): void;\n delete(name: string): void;\n get(name: string): string | null;\n has(name: string): boolean;\n set(name: string, value: string): void;\n forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void;\n}\n\ndeclare var Headers: {\n prototype: Headers;\n new(init?: HeadersInit): Headers;\n};\n\ninterface HkdfCtrParams extends Algorithm {\n context: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n hash: string | Algorithm;\n label: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface IDBArrayKey extends Array<IDBValidKey> {\n}\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */\ninterface IDBCursor {\n /**\n * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.\n */\n readonly direction: IDBCursorDirection;\n /**\n * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly key: IDBValidKey;\n /**\n * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.\n */\n readonly primaryKey: IDBValidKey;\n /**\n * Returns the IDBObjectStore or IDBIndex the cursor was opened from.\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * Advances the cursor through the next count records in range.\n */\n advance(count: number): void;\n /**\n * Advances the cursor to the next record in range.\n */\n continue(key?: IDBValidKey): void;\n /**\n * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * Delete the record pointed at by the cursor with a new value.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(): IDBRequest<undefined>;\n /**\n * Updated the record pointed at by the cursor with a new value.\n * \n * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * Returns the cursor\'s current value.\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */\ninterface IDBDatabase extends EventTarget {\n /**\n * Returns the name of the database.\n */\n readonly name: string;\n /**\n * Returns a list of the names of object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * Returns the version of the database.\n */\n readonly version: number;\n /**\n * Closes the connection once all running transactions have finished.\n */\n close(): void;\n /**\n * Creates a new object store with the given name and options and returns a new IDBObjectStore.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * Deletes the object store with the given name.\n * \n * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteObjectStore(name: string): void;\n /**\n * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.\n */\n transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;\n addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBDatabase: {\n prototype: IDBDatabase;\n new(): IDBDatabase;\n};\n\n/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBFactory {\n /**\n * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.\n * \n * Throws a "DataError" DOMException if either input is not a valid key.\n */\n cmp(first: any, second: any): number;\n /**\n * Attempts to delete the named database. If the database already exists and there are open connections that don\'t close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request\'s result will be null.\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request\'s result will be the connection.\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */\ninterface IDBIndex {\n readonly keyPath: string | string[];\n readonly multiEntry: boolean;\n /**\n * Returns the name of the index.\n */\n name: string;\n /**\n * Returns the IDBObjectStore the index belongs to.\n */\n readonly objectStore: IDBObjectStore;\n readonly unique: boolean;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(key: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(key: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.\n * \n * If successful, request\'s result will be an IDBCursor, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n}\n\ndeclare var IDBIndex: {\n prototype: IDBIndex;\n new(): IDBIndex;\n};\n\n/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */\ninterface IDBKeyRange {\n /**\n * Returns lower bound, or undefined if none.\n */\n readonly lower: any;\n /**\n * Returns true if the lower open flag is set, and false otherwise.\n */\n readonly lowerOpen: boolean;\n /**\n * Returns upper bound, or undefined if none.\n */\n readonly upper: any;\n /**\n * Returns true if the upper open flag is set, and false otherwise.\n */\n readonly upperOpen: boolean;\n /**\n * Returns true if key is included in the range, and false otherwise.\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange spanning only key.\n */\n only(value: any): IDBKeyRange;\n /**\n * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */\ninterface IDBObjectStore {\n /**\n * Returns true if the store has a key generator, and false otherwise.\n */\n readonly autoIncrement: boolean;\n /**\n * Returns a list of the names of indexes in the store.\n */\n readonly indexNames: DOMStringList;\n /**\n * Returns the key path of the store, or null if none.\n */\n readonly keyPath: string | string[];\n /**\n * Returns the name of the store.\n */\n name: string;\n /**\n * Returns the associated transaction.\n */\n readonly transaction: IDBTransaction;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * Deletes all records in store.\n * \n * If successful, request\'s result will be undefined.\n */\n clear(): IDBRequest<undefined>;\n /**\n * Retrieves the number of records matching the given key or key range in query.\n * \n * If successful, request\'s result will be the count.\n */\n count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * Deletes records in store with the given key or in the given key range in query.\n * \n * If successful, request\'s result will be undefined.\n */\n delete(key: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * Deletes the index in store with the given name.\n * \n * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.\n */\n deleteIndex(name: string): void;\n /**\n * Retrieves the value of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the value, or undefined if there was no matching record.\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;\n /**\n * Retrieves the values of the records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the values.\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * Retrieves the keys of records matching the given key or key range in query (up to count if given).\n * \n * If successful, request\'s result will be an Array of the keys.\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * Retrieves the key of the first record matching the given key or key range in query.\n * \n * If successful, request\'s result will be the key, or undefined if there was no matching record.\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n index(name: string): IDBIndex;\n /**\n * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.\n * \n * If successful, request\'s result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * Adds or updates a record in store with the given value and key.\n * \n * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.\n * \n * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request\'s error set to a "ConstraintError" DOMException.\n * \n * If successful, request\'s result will be the record\'s key.\n */\n put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBObjectStore: {\n prototype: IDBObjectStore;\n new(): IDBObjectStore;\n};\n\ninterface IDBOpenDBRequestEventMap extends IDBRequestEventMap {\n "blocked": Event;\n "upgradeneeded": IDBVersionChangeEvent;\n}\n\n/** Also inherits methods from its parents IDBRequest and EventTarget. */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;\n onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBOpenDBRequest: {\n prototype: IDBOpenDBRequest;\n new(): IDBOpenDBRequest;\n};\n\ninterface IDBRequestEventMap {\n "error": Event;\n "success": Event;\n}\n\n/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * Returns "pending" until a request is complete, then returns "done".\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.\n */\n readonly result: T;\n /**\n * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\ninterface IDBTransaction extends EventTarget {\n /**\n * Returns the transaction\'s connection.\n */\n readonly db: IDBDatabase;\n /**\n * If the transaction was aborted, returns the error (a DOMException) providing the reason.\n */\n readonly error: DOMException;\n /**\n * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.\n */\n readonly mode: IDBTransactionMode;\n /**\n * Returns a list of the names of object stores in the transaction\'s scope. For an upgrade transaction this is all object stores in the database.\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.\n */\n abort(): void;\n /**\n * Returns an IDBObjectStore in the transaction\'s scope.\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */\ninterface IDBVersionChangeEvent extends Event {\n readonly newVersion: number | null;\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\ninterface ImageBitmap {\n /**\n * Returns the intrinsic height of the image, in CSS pixels.\n */\n readonly height: number;\n /**\n * Returns the intrinsic width of the image, in CSS pixels.\n */\n readonly width: number;\n /**\n * Releases imageBitmap\'s underlying bitmap data.\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /**\n * Returns the canvas element that the context is bound to.\n */\n readonly canvas: OffscreenCanvas;\n /**\n * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */\ninterface ImageData {\n /**\n * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.\n */\n readonly data: Uint8ClampedArray;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly height: number;\n /**\n * Returns the actual dimensions of the data in the ImageData object, in pixels.\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(width: number, height: number): ImageData;\n new(array: Uint8ClampedArray, width: number, height?: number): ImageData;\n};\n\n/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */\ninterface MessageChannel {\n /**\n * Returns the first MessagePort object.\n */\n readonly port1: MessagePort;\n /**\n * Returns the second MessagePort object.\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/** A message received by a target object. */\ninterface MessageEvent<T = any> extends Event {\n /**\n * Returns the data of the message.\n */\n readonly data: T;\n /**\n * Returns the last event ID string, for server-sent events.\n */\n readonly lastEventId: string;\n /**\n * Returns the origin of the message, for server-sent events and cross-document messaging.\n */\n readonly origin: string;\n /**\n * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.\n */\n readonly source: MessageEventSource | null;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessagePortEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */\ninterface MessagePort extends EventTarget {\n onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;\n /**\n * Disconnects the port, so that it is no longer active.\n */\n close(): void;\n /**\n * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.\n * \n * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Begins dispatching messages received on the port.\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\ninterface NavigationPreloadManager {\n disable(): Promise<void>;\n enable(): Promise<void>;\n getState(): Promise<NavigationPreloadState>;\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\n};\n\ninterface NavigatorConcurrentHardware {\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorID {\n readonly appCodeName: string;\n readonly appName: string;\n readonly appVersion: string;\n readonly platform: string;\n readonly product: string;\n readonly userAgent: string;\n}\n\ninterface NavigatorLanguage {\n readonly language: string;\n readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorStorage {\n readonly storage: StorageManager;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/** This Notifications API interface is used to configure and display desktop notifications to the user. */\ninterface Notification extends EventTarget {\n readonly actions: ReadonlyArray<NotificationAction>;\n readonly badge: string;\n readonly body: string;\n readonly data: any;\n readonly dir: NotificationDirection;\n readonly icon: string;\n readonly image: string;\n readonly lang: string;\n onclick: ((this: Notification, ev: Event) => any) | null;\n onclose: ((this: Notification, ev: Event) => any) | null;\n onerror: ((this: Notification, ev: Event) => any) | null;\n onshow: ((this: Notification, ev: Event) => any) | null;\n readonly renotify: boolean;\n readonly requireInteraction: boolean;\n readonly silent: boolean;\n readonly tag: string;\n readonly timestamp: number;\n readonly title: string;\n readonly vibrate: ReadonlyArray<number>;\n close(): void;\n addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Notification: {\n prototype: Notification;\n new(title: string, options?: NotificationOptions): Notification;\n readonly maxActions: number;\n readonly permission: NotificationPermission;\n};\n\n/** The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. */\ninterface NotificationEvent extends ExtendableEvent {\n readonly action: string;\n readonly notification: Notification;\n}\n\ndeclare var NotificationEvent: {\n prototype: NotificationEvent;\n new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;\n};\n\n/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */\ninterface OES_element_index_uint {\n}\n\n/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum;\n}\n\n/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */\ninterface OES_texture_float {\n}\n\n/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */\ninterface OES_texture_float_linear {\n}\n\n/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: GLenum;\n}\n\n/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */\ninterface OES_texture_half_float_linear {\n}\n\ninterface OES_vertex_array_object {\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n createVertexArrayOES(): WebGLVertexArrayObjectOES | null;\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: GLenum;\n}\n\ninterface OffscreenCanvas extends EventTarget {\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n height: number;\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n * \n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n width: number;\n /**\n * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n * \n * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn\'t supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.\n * \n * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]\n * \n * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).\n */\n getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): OffscreenCanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;\n getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n /**\n * Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image.\n */\n transferToImageBitmap(): ImageBitmap;\n}\n\ndeclare var OffscreenCanvas: {\n prototype: OffscreenCanvas;\n new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n readonly canvas: OffscreenCanvas;\n commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\n};\n\n/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */\ninterface Path2D extends CanvasPath {\n /**\n * Adds to the path the path given by the argument.\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/** Provides access to performance-related information for the current page. It\'s part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */\ninterface Performance extends EventTarget {\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n readonly timeOrigin: number;\n clearMarks(markName?: string): void;\n clearMeasures(measureName?: string): void;\n clearResourceTimings(): void;\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n mark(markName: string): void;\n measure(measureName: string, startMark?: string, endMark?: string): void;\n now(): number;\n setResourceTimingBufferSize(maxSize: number): void;\n toJSON(): any;\n addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Performance: {\n prototype: Performance;\n new(): Performance;\n};\n\n/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */\ninterface PerformanceEntry {\n readonly duration: number;\n readonly entryType: string;\n readonly name: string;\n readonly startTime: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser\'s performance timeline. */\ninterface PerformanceMark extends PerformanceEntry {\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(): PerformanceMark;\n};\n\n/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser\'s performance timeline. */\ninterface PerformanceMeasure extends PerformanceEntry {\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\ninterface PerformanceObserver {\n disconnect(): void;\n observe(options?: PerformanceObserverInit): void;\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\ninterface PerformanceObserverEntryList {\n getEntries(): PerformanceEntryList;\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, <SVG>, image, or script. */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n readonly connectEnd: number;\n readonly connectStart: number;\n readonly decodedBodySize: number;\n readonly domainLookupEnd: number;\n readonly domainLookupStart: number;\n readonly encodedBodySize: number;\n readonly fetchStart: number;\n readonly initiatorType: string;\n readonly nextHopProtocol: string;\n readonly redirectEnd: number;\n readonly redirectStart: number;\n readonly requestStart: number;\n readonly responseEnd: number;\n readonly responseStart: number;\n readonly secureConnectionStart: number;\n readonly transferSize: number;\n readonly workerStart: number;\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\ninterface PermissionStatus extends EventTarget {\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n readonly state: PermissionState;\n addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PermissionStatus: {\n prototype: PermissionStatus;\n new(): PermissionStatus;\n};\n\ninterface Permissions {\n query(permissionDesc: PermissionDescriptor | DevicePermissionDescriptor | MidiPermissionDescriptor | PushPermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>). */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n readonly lengthComputable: boolean;\n readonly loaded: number;\n readonly target: T | null;\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\ninterface PromiseRejectionEvent extends Event {\n readonly promise: Promise<any>;\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/** This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. */\ninterface PushEvent extends ExtendableEvent {\n readonly data: PushMessageData | null;\n}\n\ndeclare var PushEvent: {\n prototype: PushEvent;\n new(type: string, eventInitDict?: PushEventInit): PushEvent;\n};\n\n/** This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/** This Push API interface provides methods which let you retrieve the push data sent by a server in various formats. */\ninterface PushMessageData {\n arrayBuffer(): ArrayBuffer;\n blob(): Blob;\n json(): any;\n text(): string;\n}\n\ndeclare var PushMessageData: {\n prototype: PushMessageData;\n new(): PushMessageData;\n};\n\n/** This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service. */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly expirationTime: number | null;\n readonly options: PushSubscriptionOptions;\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n toJSON(): PushSubscriptionJSON;\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\ninterface PushSubscriptionChangeEvent extends ExtendableEvent {\n readonly newSubscription: PushSubscription | null;\n readonly oldSubscription: PushSubscription | null;\n}\n\ndeclare var PushSubscriptionChangeEvent: {\n prototype: PushSubscriptionChangeEvent;\n new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent;\n};\n\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface ReadableByteStreamController {\n readonly byobRequest: ReadableStreamBYOBRequest | undefined;\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: ArrayBufferView): void;\n error(error?: any): void;\n}\n\n/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */\ninterface ReadableStream<R = any> {\n readonly locked: boolean;\n cancel(reason?: any): Promise<void>;\n getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n pipeThrough<T>({ writable, readable }: { writable: WritableStream<R>, readable: ReadableStream<T> }, options?: PipeOptions): ReadableStream<T>;\n pipeTo(dest: WritableStream<R>, options?: PipeOptions): Promise<void>;\n tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number, size?: undefined }): ReadableStream<Uint8Array>;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamBYOBRequest {\n readonly view: ArrayBufferView;\n respond(bytesWritten: number): void;\n respondWithNewView(view: ArrayBufferView): void;\n}\n\ninterface ReadableStreamDefaultController<R = any> {\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: R): void;\n error(error?: any): void;\n}\n\ninterface ReadableStreamDefaultReader<R = any> {\n readonly closed: Promise<void>;\n cancel(reason?: any): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ninterface ReadableStreamReader<R = any> {\n cancel(): Promise<void>;\n read(): Promise<ReadableStreamReadResult<R>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamReader: {\n prototype: ReadableStreamReader;\n new(): ReadableStreamReader;\n};\n\n/** This Fetch API interface represents a resource request. */\ninterface Request extends Body {\n /**\n * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser\'s cache when fetching.\n */\n readonly cache: RequestCache;\n /**\n * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.\n */\n readonly credentials: RequestCredentials;\n /**\n * Returns the kind of resource requested by request, e.g., "document" or "script".\n */\n readonly destination: RequestDestination;\n /**\n * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.\n */\n readonly headers: Headers;\n /**\n * Returns request\'s subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]\n */\n readonly integrity: string;\n /**\n * Returns a boolean indicating whether or not request is for a history navigation (a.k.a. back-foward navigation).\n */\n readonly isHistoryNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request is for a reload navigation.\n */\n readonly isReloadNavigation: boolean;\n /**\n * Returns a boolean indicating whether or not request can outlive the global in which it was created.\n */\n readonly keepalive: boolean;\n /**\n * Returns request\'s HTTP method, which is "GET" by default.\n */\n readonly method: string;\n /**\n * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.\n */\n readonly mode: RequestMode;\n /**\n * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.\n */\n readonly redirect: RequestRedirect;\n /**\n * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global\'s default. This is used during fetching to determine the value of the `Referer` header of the request being made.\n */\n readonly referrer: string;\n /**\n * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer.\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.\n */\n readonly signal: AbortSignal;\n /**\n * Returns the URL of request as a string.\n */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo, init?: RequestInit): Request;\n};\n\n/** This Fetch API interface represents the response to a request. */\ninterface Response extends Body {\n readonly headers: Headers;\n readonly ok: boolean;\n readonly redirected: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly trailer: Promise<Headers>;\n readonly type: ResponseType;\n readonly url: string;\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n error(): Response;\n redirect(url: string, status?: number): Response;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/** This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n readonly scriptURL: string;\n readonly state: ServiceWorkerState;\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorker: {\n prototype: ServiceWorker;\n new(): ServiceWorker;\n};\n\ninterface ServiceWorkerContainerEventMap {\n "controllerchange": Event;\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. */\ninterface ServiceWorkerContainer extends EventTarget {\n readonly controller: ServiceWorker | null;\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n readonly ready: Promise<ServiceWorkerRegistration>;\n getRegistration(clientURL?: string): Promise<ServiceWorkerRegistration | undefined>;\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n register(scriptURL: string, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n startMessages(): void;\n addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerContainer: {\n prototype: ServiceWorkerContainer;\n new(): ServiceWorkerContainer;\n};\n\ninterface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "activate": ExtendableEvent;\n "fetch": FetchEvent;\n "install": ExtendableEvent;\n "message": ExtendableMessageEvent;\n "messageerror": MessageEvent;\n "notificationclick": NotificationEvent;\n "notificationclose": NotificationEvent;\n "push": PushEvent;\n "pushsubscriptionchange": PushSubscriptionChangeEvent;\n "sync": SyncEvent;\n}\n\n/** This ServiceWorker API interface represents the global execution context of a service worker. */\ninterface ServiceWorkerGlobalScope extends WorkerGlobalScope {\n readonly clients: Clients;\n onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;\n oninstall: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n onmessage: ((this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any) | null;\n onmessageerror: ((this: ServiceWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;\n onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null;\n onsync: ((this: ServiceWorkerGlobalScope, ev: SyncEvent) => any) | null;\n readonly registration: ServiceWorkerRegistration;\n readonly serviceWorker: ServiceWorker;\n skipWaiting(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerGlobalScope: {\n prototype: ServiceWorkerGlobalScope;\n new(): ServiceWorkerGlobalScope;\n};\n\ninterface ServiceWorkerRegistrationEventMap {\n "updatefound": Event;\n}\n\n/** This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n readonly navigationPreload: NavigationPreloadManager;\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n readonly pushManager: PushManager;\n readonly scope: string;\n readonly sync: SyncManager;\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n readonly waiting: ServiceWorker | null;\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n unregister(): Promise<boolean>;\n update(): Promise<void>;\n addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ServiceWorkerRegistration: {\n prototype: ServiceWorkerRegistration;\n new(): ServiceWorkerRegistration;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /**\n * Returns sharedWorker\'s MessagePort object which can be used to communicate with the global environment.\n */\n readonly port: MessagePort;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n prototype: SharedWorker;\n new(scriptURL: string, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {\n "connect": MessageEvent;\n}\n\ninterface SharedWorkerGlobalScope extends WorkerGlobalScope {\n /**\n * Returns sharedWorkerGlobal\'s name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.\n */\n readonly name: string;\n onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * Aborts sharedWorkerGlobal.\n */\n close(): void;\n addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorkerGlobalScope: {\n prototype: SharedWorkerGlobalScope;\n new(): SharedWorkerGlobalScope;\n};\n\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\n/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n digest(algorithm: AlgorithmIdentifier, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): Promise<ArrayBuffer>;\n exportKey(format: string, key: CryptoKey): Promise<JsonWebKey | ArrayBuffer>;\n generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;\n generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: "raw" | "pkcs8" | "spki", keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n importKey(format: string, keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<ArrayBuffer>;\n unwrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, wrappedKey: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer, data: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer): Promise<boolean>;\n wrapKey(format: "raw" | "pkcs8" | "spki" | "jwk" | string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams): Promise<ArrayBuffer>;\n}\n\ndeclare var SubtleCrypto: {\n prototype: SubtleCrypto;\n new(): SubtleCrypto;\n};\n\n/** A sync action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.  */\ninterface SyncEvent extends ExtendableEvent {\n readonly lastChance: boolean;\n readonly tag: string;\n}\n\ndeclare var SyncEvent: {\n prototype: SyncEvent;\n new(type: string, init: SyncEventInit): SyncEvent;\n};\n\n/** This ServiceWorker API interface provides an interface for registering and listing sync registrations. */\ninterface SyncManager {\n getTags(): Promise<string[]>;\n register(tag: string): Promise<void>;\n}\n\ndeclare var SyncManager: {\n prototype: SyncManager;\n new(): SyncManager;\n};\n\n/** A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * Returns the result of running encoding\'s decoder. The method can be invoked zero or more times with options\'s stream set to true, and then once without options\'s stream (or set to false), to process a fragmented stream. If the invocation without options\'s stream (or set to false) has no input, it\'s clearest to omit both arguments.\n * \n * ```\n * var string = "", decoder = new TextDecoder(encoding), buffer;\n * while(buffer = next_chunk()) {\n * string += decoder.decode(buffer, {stream:true});\n * }\n * string += decoder.decode(); // end-of-stream\n * ```\n * \n * If the error mode is "fatal" and encoding\'s decoder returns error, throws a TypeError.\n */\n decode(input?: BufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", and false otherwise.\n */\n readonly fatal: boolean;\n /**\n * Returns true if ignore BOM flag is set, and false otherwise.\n */\n readonly ignoreBOM: boolean;\n}\n\ninterface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {\n readonly readable: ReadableStream<string>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var TextDecoderStream: {\n prototype: TextDecoderStream;\n new(label?: string, options?: TextDecoderOptions): TextDecoderStream;\n};\n\n/** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * Returns the result of running UTF-8\'s encoder.\n */\n encode(input?: string): Uint8Array;\n /**\n * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as a dictionary whereby read is the number of converted code units of source and written is the number of bytes modified in destination.\n */\n encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n */\n readonly encoding: string;\n}\n\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\n/** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */\ninterface TextMetrics {\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * Returns the measurement described below.\n */\n readonly actualBoundingBoxRight: number;\n /**\n * Returns the measurement described below.\n */\n readonly alphabeticBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly emHeightDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * Returns the measurement described below.\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * Returns the measurement described below.\n */\n readonly hangingBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly ideographicBaseline: number;\n /**\n * Returns the measurement described below.\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TransformStream<I = any, O = any> {\n readonly readable: ReadableStream<O>;\n readonly writable: WritableStream<I>;\n}\n\ndeclare var TransformStream: {\n prototype: TransformStream;\n new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;\n};\n\ninterface TransformStreamDefaultController<O = any> {\n readonly desiredSize: number | null;\n enqueue(chunk: O): void;\n error(reason?: any): void;\n terminate(): void;\n}\n\n/** The URL interface represents an object providing static methods used for creating object URLs. */\ninterface URL {\n hash: string;\n host: string;\n hostname: string;\n href: string;\n toString(): string;\n readonly origin: string;\n password: string;\n pathname: string;\n port: string;\n protocol: string;\n search: string;\n readonly searchParams: URLSearchParams;\n username: string;\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string, base?: string | URL): URL;\n createObjectURL(object: any): string;\n revokeObjectURL(url: string): void;\n};\n\ninterface URLSearchParams {\n /**\n * Appends a specified key/value pair as a new search parameter.\n */\n append(name: string, value: string): void;\n /**\n * Deletes the given search parameter, and its associated value, from the list of all search parameters.\n */\n delete(name: string): void;\n /**\n * Returns the first value associated to the given search parameter.\n */\n get(name: string): string | null;\n /**\n * Returns all the values association with a given search parameter.\n */\n getAll(name: string): string[];\n /**\n * Returns a Boolean indicating if such a search parameter exists.\n */\n has(name: string): boolean;\n /**\n * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.\n */\n set(name: string, value: string): void;\n sort(): void;\n /**\n * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.\n */\n toString(): string;\n forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;\n}\n\ndeclare var URLSearchParams: {\n prototype: URLSearchParams;\n new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;\n toString(): string;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGBA32F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\n/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */\ninterface WEBGL_compressed_texture_s3tc {\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\n}\n\n/** The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes. */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_RENDERER_WEBGL: GLenum;\n readonly UNMASKED_VENDOR_WEBGL: GLenum;\n}\n\ninterface WEBGL_debug_shaders {\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/** The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures. */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n readonly DRAW_BUFFER0_WEBGL: GLenum;\n readonly DRAW_BUFFER10_WEBGL: GLenum;\n readonly DRAW_BUFFER11_WEBGL: GLenum;\n readonly DRAW_BUFFER12_WEBGL: GLenum;\n readonly DRAW_BUFFER13_WEBGL: GLenum;\n readonly DRAW_BUFFER14_WEBGL: GLenum;\n readonly DRAW_BUFFER15_WEBGL: GLenum;\n readonly DRAW_BUFFER1_WEBGL: GLenum;\n readonly DRAW_BUFFER2_WEBGL: GLenum;\n readonly DRAW_BUFFER3_WEBGL: GLenum;\n readonly DRAW_BUFFER4_WEBGL: GLenum;\n readonly DRAW_BUFFER5_WEBGL: GLenum;\n readonly DRAW_BUFFER6_WEBGL: GLenum;\n readonly DRAW_BUFFER7_WEBGL: GLenum;\n readonly DRAW_BUFFER8_WEBGL: GLenum;\n readonly DRAW_BUFFER9_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n};\n\ninterface WebGL2RenderingContextBase {\n beginQuery(target: GLenum, query: WebGLQuery): void;\n beginTransformFeedback(primitiveMode: GLenum): void;\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void;\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void;\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void;\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createQuery(): WebGLQuery | null;\n createSampler(): WebGLSampler | null;\n createTransformFeedback(): WebGLTransformFeedback | null;\n createVertexArray(): WebGLVertexArrayObject | null;\n deleteQuery(query: WebGLQuery | null): void;\n deleteSampler(sampler: WebGLSampler | null): void;\n deleteSync(sync: WebGLSync | null): void;\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n drawBuffers(buffers: GLenum[]): void;\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n endQuery(target: GLenum): void;\n endTransformFeedback(): void;\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void;\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n getIndexedParameter(target: GLenum, index: GLuint): any;\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n isQuery(query: WebGLQuery | null): GLboolean;\n isSampler(sampler: WebGLSampler | null): GLboolean;\n isSync(sync: WebGLSync | null): GLboolean;\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n pauseTransformFeedback(): void;\n readBuffer(src: GLenum): void;\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n resumeTransformFeedback(): void;\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void;\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void;\n readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n readonly ALREADY_SIGNALED: GLenum;\n readonly ANY_SAMPLES_PASSED: GLenum;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n readonly COLOR: GLenum;\n readonly COLOR_ATTACHMENT1: GLenum;\n readonly COLOR_ATTACHMENT10: GLenum;\n readonly COLOR_ATTACHMENT11: GLenum;\n readonly COLOR_ATTACHMENT12: GLenum;\n readonly COLOR_ATTACHMENT13: GLenum;\n readonly COLOR_ATTACHMENT14: GLenum;\n readonly COLOR_ATTACHMENT15: GLenum;\n readonly COLOR_ATTACHMENT2: GLenum;\n readonly COLOR_ATTACHMENT3: GLenum;\n readonly COLOR_ATTACHMENT4: GLenum;\n readonly COLOR_ATTACHMENT5: GLenum;\n readonly COLOR_ATTACHMENT6: GLenum;\n readonly COLOR_ATTACHMENT7: GLenum;\n readonly COLOR_ATTACHMENT8: GLenum;\n readonly COLOR_ATTACHMENT9: GLenum;\n readonly COMPARE_REF_TO_TEXTURE: GLenum;\n readonly CONDITION_SATISFIED: GLenum;\n readonly COPY_READ_BUFFER: GLenum;\n readonly COPY_READ_BUFFER_BINDING: GLenum;\n readonly COPY_WRITE_BUFFER: GLenum;\n readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n readonly CURRENT_QUERY: GLenum;\n readonly DEPTH: GLenum;\n readonly DEPTH24_STENCIL8: GLenum;\n readonly DEPTH32F_STENCIL8: GLenum;\n readonly DEPTH_COMPONENT24: GLenum;\n readonly DEPTH_COMPONENT32F: GLenum;\n readonly DRAW_BUFFER0: GLenum;\n readonly DRAW_BUFFER1: GLenum;\n readonly DRAW_BUFFER10: GLenum;\n readonly DRAW_BUFFER11: GLenum;\n readonly DRAW_BUFFER12: GLenum;\n readonly DRAW_BUFFER13: GLenum;\n readonly DRAW_BUFFER14: GLenum;\n readonly DRAW_BUFFER15: GLenum;\n readonly DRAW_BUFFER2: GLenum;\n readonly DRAW_BUFFER3: GLenum;\n readonly DRAW_BUFFER4: GLenum;\n readonly DRAW_BUFFER5: GLenum;\n readonly DRAW_BUFFER6: GLenum;\n readonly DRAW_BUFFER7: GLenum;\n readonly DRAW_BUFFER8: GLenum;\n readonly DRAW_BUFFER9: GLenum;\n readonly DRAW_FRAMEBUFFER: GLenum;\n readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n readonly DYNAMIC_COPY: GLenum;\n readonly DYNAMIC_READ: GLenum;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n readonly FLOAT_MAT2x3: GLenum;\n readonly FLOAT_MAT2x4: GLenum;\n readonly FLOAT_MAT3x2: GLenum;\n readonly FLOAT_MAT3x4: GLenum;\n readonly FLOAT_MAT4x2: GLenum;\n readonly FLOAT_MAT4x3: GLenum;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n readonly FRAMEBUFFER_DEFAULT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n readonly HALF_FLOAT: GLenum;\n readonly INTERLEAVED_ATTRIBS: GLenum;\n readonly INT_2_10_10_10_REV: GLenum;\n readonly INT_SAMPLER_2D: GLenum;\n readonly INT_SAMPLER_2D_ARRAY: GLenum;\n readonly INT_SAMPLER_3D: GLenum;\n readonly INT_SAMPLER_CUBE: GLenum;\n readonly INVALID_INDEX: GLenum;\n readonly MAX: GLenum;\n readonly MAX_3D_TEXTURE_SIZE: GLenum;\n readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n readonly MAX_COLOR_ATTACHMENTS: GLenum;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_DRAW_BUFFERS: GLenum;\n readonly MAX_ELEMENTS_INDICES: GLenum;\n readonly MAX_ELEMENTS_VERTICES: GLenum;\n readonly MAX_ELEMENT_INDEX: GLenum;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly MAX_SAMPLES: GLenum;\n readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n readonly MAX_VARYING_COMPONENTS: GLenum;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n readonly MIN: GLenum;\n readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n readonly OBJECT_TYPE: GLenum;\n readonly PACK_ROW_LENGTH: GLenum;\n readonly PACK_SKIP_PIXELS: GLenum;\n readonly PACK_SKIP_ROWS: GLenum;\n readonly PIXEL_PACK_BUFFER: GLenum;\n readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n readonly PIXEL_UNPACK_BUFFER: GLenum;\n readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n readonly QUERY_RESULT: GLenum;\n readonly QUERY_RESULT_AVAILABLE: GLenum;\n readonly R11F_G11F_B10F: GLenum;\n readonly R16F: GLenum;\n readonly R16I: GLenum;\n readonly R16UI: GLenum;\n readonly R32F: GLenum;\n readonly R32I: GLenum;\n readonly R32UI: GLenum;\n readonly R8: GLenum;\n readonly R8I: GLenum;\n readonly R8UI: GLenum;\n readonly R8_SNORM: GLenum;\n readonly RASTERIZER_DISCARD: GLenum;\n readonly READ_BUFFER: GLenum;\n readonly READ_FRAMEBUFFER: GLenum;\n readonly READ_FRAMEBUFFER_BINDING: GLenum;\n readonly RED: GLenum;\n readonly RED_INTEGER: GLenum;\n readonly RENDERBUFFER_SAMPLES: GLenum;\n readonly RG: GLenum;\n readonly RG16F: GLenum;\n readonly RG16I: GLenum;\n readonly RG16UI: GLenum;\n readonly RG32F: GLenum;\n readonly RG32I: GLenum;\n readonly RG32UI: GLenum;\n readonly RG8: GLenum;\n readonly RG8I: GLenum;\n readonly RG8UI: GLenum;\n readonly RG8_SNORM: GLenum;\n readonly RGB10_A2: GLenum;\n readonly RGB10_A2UI: GLenum;\n readonly RGB16F: GLenum;\n readonly RGB16I: GLenum;\n readonly RGB16UI: GLenum;\n readonly RGB32F: GLenum;\n readonly RGB32I: GLenum;\n readonly RGB32UI: GLenum;\n readonly RGB8: GLenum;\n readonly RGB8I: GLenum;\n readonly RGB8UI: GLenum;\n readonly RGB8_SNORM: GLenum;\n readonly RGB9_E5: GLenum;\n readonly RGBA16F: GLenum;\n readonly RGBA16I: GLenum;\n readonly RGBA16UI: GLenum;\n readonly RGBA32F: GLenum;\n readonly RGBA32I: GLenum;\n readonly RGBA32UI: GLenum;\n readonly RGBA8: GLenum;\n readonly RGBA8I: GLenum;\n readonly RGBA8UI: GLenum;\n readonly RGBA8_SNORM: GLenum;\n readonly RGBA_INTEGER: GLenum;\n readonly RGB_INTEGER: GLenum;\n readonly RG_INTEGER: GLenum;\n readonly SAMPLER_2D_ARRAY: GLenum;\n readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n readonly SAMPLER_2D_SHADOW: GLenum;\n readonly SAMPLER_3D: GLenum;\n readonly SAMPLER_BINDING: GLenum;\n readonly SAMPLER_CUBE_SHADOW: GLenum;\n readonly SEPARATE_ATTRIBS: GLenum;\n readonly SIGNALED: GLenum;\n readonly SIGNED_NORMALIZED: GLenum;\n readonly SRGB: GLenum;\n readonly SRGB8: GLenum;\n readonly SRGB8_ALPHA8: GLenum;\n readonly STATIC_COPY: GLenum;\n readonly STATIC_READ: GLenum;\n readonly STENCIL: GLenum;\n readonly STREAM_COPY: GLenum;\n readonly STREAM_READ: GLenum;\n readonly SYNC_CONDITION: GLenum;\n readonly SYNC_FENCE: GLenum;\n readonly SYNC_FLAGS: GLenum;\n readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n readonly SYNC_STATUS: GLenum;\n readonly TEXTURE_2D_ARRAY: GLenum;\n readonly TEXTURE_3D: GLenum;\n readonly TEXTURE_BASE_LEVEL: GLenum;\n readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n readonly TEXTURE_BINDING_3D: GLenum;\n readonly TEXTURE_COMPARE_FUNC: GLenum;\n readonly TEXTURE_COMPARE_MODE: GLenum;\n readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n readonly TEXTURE_MAX_LEVEL: GLenum;\n readonly TEXTURE_MAX_LOD: GLenum;\n readonly TEXTURE_MIN_LOD: GLenum;\n readonly TEXTURE_WRAP_R: GLenum;\n readonly TIMEOUT_EXPIRED: GLenum;\n readonly TIMEOUT_IGNORED: GLint64;\n readonly TRANSFORM_FEEDBACK: GLenum;\n readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n readonly UNIFORM_ARRAY_STRIDE: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n readonly UNIFORM_BLOCK_BINDING: GLenum;\n readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n readonly UNIFORM_BLOCK_INDEX: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n readonly UNIFORM_BUFFER: GLenum;\n readonly UNIFORM_BUFFER_BINDING: GLenum;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n readonly UNIFORM_BUFFER_SIZE: GLenum;\n readonly UNIFORM_BUFFER_START: GLenum;\n readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n readonly UNIFORM_MATRIX_STRIDE: GLenum;\n readonly UNIFORM_OFFSET: GLenum;\n readonly UNIFORM_SIZE: GLenum;\n readonly UNIFORM_TYPE: GLenum;\n readonly UNPACK_IMAGE_HEIGHT: GLenum;\n readonly UNPACK_ROW_LENGTH: GLenum;\n readonly UNPACK_SKIP_IMAGES: GLenum;\n readonly UNPACK_SKIP_PIXELS: GLenum;\n readonly UNPACK_SKIP_ROWS: GLenum;\n readonly UNSIGNALED: GLenum;\n readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n readonly UNSIGNED_INT_24_8: GLenum;\n readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n readonly UNSIGNED_INT_VEC2: GLenum;\n readonly UNSIGNED_INT_VEC3: GLenum;\n readonly UNSIGNED_INT_VEC4: GLenum;\n readonly UNSIGNED_NORMALIZED: GLenum;\n readonly VERTEX_ARRAY_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n readonly WAIT_FAILED: GLenum;\n}\n\ninterface WebGL2RenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: BufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: BufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void;\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;\n}\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods. */\ninterface WebGLActiveInfo {\n readonly name: string;\n readonly size: GLint;\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */\ninterface WebGLBuffer extends WebGLObject {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/** The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context. */\ninterface WebGLContextEvent extends Event {\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */\ninterface WebGLFramebuffer extends WebGLObject {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\n\ninterface WebGLObject {\n}\n\ndeclare var WebGLObject: {\n prototype: WebGLObject;\n new(): WebGLObject;\n};\n\n/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */\ninterface WebGLProgram extends WebGLObject {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\ninterface WebGLQuery extends WebGLObject {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */\ninterface WebGLRenderbuffer extends WebGLObject {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/** Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML <canvas> element. */\ninterface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads {\n}\n\ndeclare var WebGLRenderingContext: {\n prototype: WebGLRenderingContext;\n new(): WebGLRenderingContext;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n readonly canvas: OffscreenCanvas;\n readonly drawingBufferHeight: GLsizei;\n readonly drawingBufferWidth: GLsizei;\n activeTexture(texture: GLenum): void;\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n blendEquation(mode: GLenum): void;\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n checkFramebufferStatus(target: GLenum): GLenum;\n clear(mask: GLbitfield): void;\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n clearDepth(depth: GLclampf): void;\n clearStencil(s: GLint): void;\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n compileShader(shader: WebGLShader): void;\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n createBuffer(): WebGLBuffer | null;\n createFramebuffer(): WebGLFramebuffer | null;\n createProgram(): WebGLProgram | null;\n createRenderbuffer(): WebGLRenderbuffer | null;\n createShader(type: GLenum): WebGLShader | null;\n createTexture(): WebGLTexture | null;\n cullFace(mode: GLenum): void;\n deleteBuffer(buffer: WebGLBuffer | null): void;\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n deleteProgram(program: WebGLProgram | null): void;\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n deleteShader(shader: WebGLShader | null): void;\n deleteTexture(texture: WebGLTexture | null): void;\n depthFunc(func: GLenum): void;\n depthMask(flag: GLboolean): void;\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n disable(cap: GLenum): void;\n disableVertexAttribArray(index: GLuint): void;\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n enable(cap: GLenum): void;\n enableVertexAttribArray(index: GLuint): void;\n finish(): void;\n flush(): void;\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n frontFace(mode: GLenum): void;\n generateMipmap(target: GLenum): void;\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n getBufferParameter(target: GLenum, pname: GLenum): any;\n getContextAttributes(): WebGLContextAttributes | null;\n getError(): GLenum;\n getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;\n getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;\n getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;\n getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\n getExtension(extensionName: string): any;\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n getParameter(pname: GLenum): any;\n getProgramInfoLog(program: WebGLProgram): string | null;\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n getShaderInfoLog(shader: WebGLShader): string | null;\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n getShaderSource(shader: WebGLShader): string | null;\n getSupportedExtensions(): string[] | null;\n getTexParameter(target: GLenum, pname: GLenum): any;\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n hint(target: GLenum, mode: GLenum): void;\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n isContextLost(): boolean;\n isEnabled(cap: GLenum): GLboolean;\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n isProgram(program: WebGLProgram | null): GLboolean;\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n isShader(shader: WebGLShader | null): GLboolean;\n isTexture(texture: WebGLTexture | null): GLboolean;\n lineWidth(width: GLfloat): void;\n linkProgram(program: WebGLProgram): void;\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n shaderSource(shader: WebGLShader, source: string): void;\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n stencilMask(mask: GLuint): void;\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n useProgram(program: WebGLProgram | null): void;\n validateProgram(program: WebGLProgram): void;\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n readonly ACTIVE_ATTRIBUTES: GLenum;\n readonly ACTIVE_TEXTURE: GLenum;\n readonly ACTIVE_UNIFORMS: GLenum;\n readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n readonly ALPHA: GLenum;\n readonly ALPHA_BITS: GLenum;\n readonly ALWAYS: GLenum;\n readonly ARRAY_BUFFER: GLenum;\n readonly ARRAY_BUFFER_BINDING: GLenum;\n readonly ATTACHED_SHADERS: GLenum;\n readonly BACK: GLenum;\n readonly BLEND: GLenum;\n readonly BLEND_COLOR: GLenum;\n readonly BLEND_DST_ALPHA: GLenum;\n readonly BLEND_DST_RGB: GLenum;\n readonly BLEND_EQUATION: GLenum;\n readonly BLEND_EQUATION_ALPHA: GLenum;\n readonly BLEND_EQUATION_RGB: GLenum;\n readonly BLEND_SRC_ALPHA: GLenum;\n readonly BLEND_SRC_RGB: GLenum;\n readonly BLUE_BITS: GLenum;\n readonly BOOL: GLenum;\n readonly BOOL_VEC2: GLenum;\n readonly BOOL_VEC3: GLenum;\n readonly BOOL_VEC4: GLenum;\n readonly BROWSER_DEFAULT_WEBGL: GLenum;\n readonly BUFFER_SIZE: GLenum;\n readonly BUFFER_USAGE: GLenum;\n readonly BYTE: GLenum;\n readonly CCW: GLenum;\n readonly CLAMP_TO_EDGE: GLenum;\n readonly COLOR_ATTACHMENT0: GLenum;\n readonly COLOR_BUFFER_BIT: GLenum;\n readonly COLOR_CLEAR_VALUE: GLenum;\n readonly COLOR_WRITEMASK: GLenum;\n readonly COMPILE_STATUS: GLenum;\n readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n readonly CONSTANT_ALPHA: GLenum;\n readonly CONSTANT_COLOR: GLenum;\n readonly CONTEXT_LOST_WEBGL: GLenum;\n readonly CULL_FACE: GLenum;\n readonly CULL_FACE_MODE: GLenum;\n readonly CURRENT_PROGRAM: GLenum;\n readonly CURRENT_VERTEX_ATTRIB: GLenum;\n readonly CW: GLenum;\n readonly DECR: GLenum;\n readonly DECR_WRAP: GLenum;\n readonly DELETE_STATUS: GLenum;\n readonly DEPTH_ATTACHMENT: GLenum;\n readonly DEPTH_BITS: GLenum;\n readonly DEPTH_BUFFER_BIT: GLenum;\n readonly DEPTH_CLEAR_VALUE: GLenum;\n readonly DEPTH_COMPONENT: GLenum;\n readonly DEPTH_COMPONENT16: GLenum;\n readonly DEPTH_FUNC: GLenum;\n readonly DEPTH_RANGE: GLenum;\n readonly DEPTH_STENCIL: GLenum;\n readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n readonly DEPTH_TEST: GLenum;\n readonly DEPTH_WRITEMASK: GLenum;\n readonly DITHER: GLenum;\n readonly DONT_CARE: GLenum;\n readonly DST_ALPHA: GLenum;\n readonly DST_COLOR: GLenum;\n readonly DYNAMIC_DRAW: GLenum;\n readonly ELEMENT_ARRAY_BUFFER: GLenum;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n readonly EQUAL: GLenum;\n readonly FASTEST: GLenum;\n readonly FLOAT: GLenum;\n readonly FLOAT_MAT2: GLenum;\n readonly FLOAT_MAT3: GLenum;\n readonly FLOAT_MAT4: GLenum;\n readonly FLOAT_VEC2: GLenum;\n readonly FLOAT_VEC3: GLenum;\n readonly FLOAT_VEC4: GLenum;\n readonly FRAGMENT_SHADER: GLenum;\n readonly FRAMEBUFFER: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n readonly FRAMEBUFFER_BINDING: GLenum;\n readonly FRAMEBUFFER_COMPLETE: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n readonly FRONT: GLenum;\n readonly FRONT_AND_BACK: GLenum;\n readonly FRONT_FACE: GLenum;\n readonly FUNC_ADD: GLenum;\n readonly FUNC_REVERSE_SUBTRACT: GLenum;\n readonly FUNC_SUBTRACT: GLenum;\n readonly GENERATE_MIPMAP_HINT: GLenum;\n readonly GEQUAL: GLenum;\n readonly GREATER: GLenum;\n readonly GREEN_BITS: GLenum;\n readonly HIGH_FLOAT: GLenum;\n readonly HIGH_INT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n readonly INCR: GLenum;\n readonly INCR_WRAP: GLenum;\n readonly INT: GLenum;\n readonly INT_VEC2: GLenum;\n readonly INT_VEC3: GLenum;\n readonly INT_VEC4: GLenum;\n readonly INVALID_ENUM: GLenum;\n readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n readonly INVALID_OPERATION: GLenum;\n readonly INVALID_VALUE: GLenum;\n readonly INVERT: GLenum;\n readonly KEEP: GLenum;\n readonly LEQUAL: GLenum;\n readonly LESS: GLenum;\n readonly LINEAR: GLenum;\n readonly LINEAR_MIPMAP_LINEAR: GLenum;\n readonly LINEAR_MIPMAP_NEAREST: GLenum;\n readonly LINES: GLenum;\n readonly LINE_LOOP: GLenum;\n readonly LINE_STRIP: GLenum;\n readonly LINE_WIDTH: GLenum;\n readonly LINK_STATUS: GLenum;\n readonly LOW_FLOAT: GLenum;\n readonly LOW_INT: GLenum;\n readonly LUMINANCE: GLenum;\n readonly LUMINANCE_ALPHA: GLenum;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n readonly MAX_RENDERBUFFER_SIZE: GLenum;\n readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_TEXTURE_SIZE: GLenum;\n readonly MAX_VARYING_VECTORS: GLenum;\n readonly MAX_VERTEX_ATTRIBS: GLenum;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n readonly MAX_VIEWPORT_DIMS: GLenum;\n readonly MEDIUM_FLOAT: GLenum;\n readonly MEDIUM_INT: GLenum;\n readonly MIRRORED_REPEAT: GLenum;\n readonly NEAREST: GLenum;\n readonly NEAREST_MIPMAP_LINEAR: GLenum;\n readonly NEAREST_MIPMAP_NEAREST: GLenum;\n readonly NEVER: GLenum;\n readonly NICEST: GLenum;\n readonly NONE: GLenum;\n readonly NOTEQUAL: GLenum;\n readonly NO_ERROR: GLenum;\n readonly ONE: GLenum;\n readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n readonly ONE_MINUS_DST_ALPHA: GLenum;\n readonly ONE_MINUS_DST_COLOR: GLenum;\n readonly ONE_MINUS_SRC_ALPHA: GLenum;\n readonly ONE_MINUS_SRC_COLOR: GLenum;\n readonly OUT_OF_MEMORY: GLenum;\n readonly PACK_ALIGNMENT: GLenum;\n readonly POINTS: GLenum;\n readonly POLYGON_OFFSET_FACTOR: GLenum;\n readonly POLYGON_OFFSET_FILL: GLenum;\n readonly POLYGON_OFFSET_UNITS: GLenum;\n readonly RED_BITS: GLenum;\n readonly RENDERBUFFER: GLenum;\n readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n readonly RENDERBUFFER_BINDING: GLenum;\n readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n readonly RENDERBUFFER_HEIGHT: GLenum;\n readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n readonly RENDERBUFFER_RED_SIZE: GLenum;\n readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n readonly RENDERBUFFER_WIDTH: GLenum;\n readonly RENDERER: GLenum;\n readonly REPEAT: GLenum;\n readonly REPLACE: GLenum;\n readonly RGB: GLenum;\n readonly RGB565: GLenum;\n readonly RGB5_A1: GLenum;\n readonly RGBA: GLenum;\n readonly RGBA4: GLenum;\n readonly SAMPLER_2D: GLenum;\n readonly SAMPLER_CUBE: GLenum;\n readonly SAMPLES: GLenum;\n readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n readonly SAMPLE_BUFFERS: GLenum;\n readonly SAMPLE_COVERAGE: GLenum;\n readonly SAMPLE_COVERAGE_INVERT: GLenum;\n readonly SAMPLE_COVERAGE_VALUE: GLenum;\n readonly SCISSOR_BOX: GLenum;\n readonly SCISSOR_TEST: GLenum;\n readonly SHADER_TYPE: GLenum;\n readonly SHADING_LANGUAGE_VERSION: GLenum;\n readonly SHORT: GLenum;\n readonly SRC_ALPHA: GLenum;\n readonly SRC_ALPHA_SATURATE: GLenum;\n readonly SRC_COLOR: GLenum;\n readonly STATIC_DRAW: GLenum;\n readonly STENCIL_ATTACHMENT: GLenum;\n readonly STENCIL_BACK_FAIL: GLenum;\n readonly STENCIL_BACK_FUNC: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_BACK_REF: GLenum;\n readonly STENCIL_BACK_VALUE_MASK: GLenum;\n readonly STENCIL_BACK_WRITEMASK: GLenum;\n readonly STENCIL_BITS: GLenum;\n readonly STENCIL_BUFFER_BIT: GLenum;\n readonly STENCIL_CLEAR_VALUE: GLenum;\n readonly STENCIL_FAIL: GLenum;\n readonly STENCIL_FUNC: GLenum;\n readonly STENCIL_INDEX8: GLenum;\n readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n readonly STENCIL_REF: GLenum;\n readonly STENCIL_TEST: GLenum;\n readonly STENCIL_VALUE_MASK: GLenum;\n readonly STENCIL_WRITEMASK: GLenum;\n readonly STREAM_DRAW: GLenum;\n readonly SUBPIXEL_BITS: GLenum;\n readonly TEXTURE: GLenum;\n readonly TEXTURE0: GLenum;\n readonly TEXTURE1: GLenum;\n readonly TEXTURE10: GLenum;\n readonly TEXTURE11: GLenum;\n readonly TEXTURE12: GLenum;\n readonly TEXTURE13: GLenum;\n readonly TEXTURE14: GLenum;\n readonly TEXTURE15: GLenum;\n readonly TEXTURE16: GLenum;\n readonly TEXTURE17: GLenum;\n readonly TEXTURE18: GLenum;\n readonly TEXTURE19: GLenum;\n readonly TEXTURE2: GLenum;\n readonly TEXTURE20: GLenum;\n readonly TEXTURE21: GLenum;\n readonly TEXTURE22: GLenum;\n readonly TEXTURE23: GLenum;\n readonly TEXTURE24: GLenum;\n readonly TEXTURE25: GLenum;\n readonly TEXTURE26: GLenum;\n readonly TEXTURE27: GLenum;\n readonly TEXTURE28: GLenum;\n readonly TEXTURE29: GLenum;\n readonly TEXTURE3: GLenum;\n readonly TEXTURE30: GLenum;\n readonly TEXTURE31: GLenum;\n readonly TEXTURE4: GLenum;\n readonly TEXTURE5: GLenum;\n readonly TEXTURE6: GLenum;\n readonly TEXTURE7: GLenum;\n readonly TEXTURE8: GLenum;\n readonly TEXTURE9: GLenum;\n readonly TEXTURE_2D: GLenum;\n readonly TEXTURE_BINDING_2D: GLenum;\n readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n readonly TEXTURE_MAG_FILTER: GLenum;\n readonly TEXTURE_MIN_FILTER: GLenum;\n readonly TEXTURE_WRAP_S: GLenum;\n readonly TEXTURE_WRAP_T: GLenum;\n readonly TRIANGLES: GLenum;\n readonly TRIANGLE_FAN: GLenum;\n readonly TRIANGLE_STRIP: GLenum;\n readonly UNPACK_ALIGNMENT: GLenum;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n readonly UNSIGNED_BYTE: GLenum;\n readonly UNSIGNED_INT: GLenum;\n readonly UNSIGNED_SHORT: GLenum;\n readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n readonly UNSIGNED_SHORT_5_6_5: GLenum;\n readonly VALIDATE_STATUS: GLenum;\n readonly VENDOR: GLenum;\n readonly VERSION: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n readonly VERTEX_SHADER: GLenum;\n readonly VIEWPORT: GLenum;\n readonly ZERO: GLenum;\n}\n\ninterface WebGLRenderingContextOverloads {\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: BufferSource | null, usage: GLenum): void;\n bufferSubData(target: GLenum, offset: GLintptr, data: BufferSource): void;\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\ninterface WebGLSampler extends WebGLObject {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */\ninterface WebGLShader extends WebGLObject {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/** Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method. */\ninterface WebGLShaderPrecisionFormat {\n readonly precision: GLint;\n readonly rangeMax: GLint;\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\ninterface WebGLSync extends WebGLObject {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */\ninterface WebGLTexture extends WebGLObject {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\ninterface WebGLTransformFeedback extends WebGLObject {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/** Part of the WebGL API and represents the location of a uniform variable in a shader program. */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\ninterface WebGLVertexArrayObject extends WebGLObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\ninterface WebGLVertexArrayObjectOES extends WebGLObject {\n}\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */\ninterface WebSocket extends EventTarget {\n /**\n * Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:\n * \n * Can be set, to change how binary data is returned. The default is "blob".\n */\n binaryType: BinaryType;\n /**\n * Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.\n * \n * If the WebSocket connection is closed, this attribute\'s value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)\n */\n readonly bufferedAmount: number;\n /**\n * Returns the extensions selected by the server, if any.\n */\n readonly extensions: string;\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor\'s second argument to perform subprotocol negotiation.\n */\n readonly protocol: string;\n /**\n * Returns the state of the WebSocket object\'s connection. It can have the values described below.\n */\n readonly readyState: number;\n /**\n * Returns the URL that was used to establish the WebSocket connection.\n */\n readonly url: string;\n /**\n * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.\n */\n close(code?: number, reason?: string): void;\n /**\n * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.\n */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WebSocket: {\n prototype: WebSocket;\n new(url: string, protocols?: string | string[]): WebSocket;\n readonly CLOSED: number;\n readonly CLOSING: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */\ninterface WindowClient extends Client {\n readonly ancestorOrigins: ReadonlyArray<string>;\n readonly focused: boolean;\n readonly visibilityState: VisibilityState;\n focus(): Promise<WindowClient>;\n navigate(url: string): Promise<WindowClient | null>;\n}\n\ndeclare var WindowClient: {\n prototype: WindowClient;\n new(): WindowClient;\n};\n\ninterface WindowOrWorkerGlobalScope {\n readonly caches: CacheStorage;\n readonly crypto: Crypto;\n readonly indexedDB: IDBFactory;\n readonly isSecureContext: boolean;\n readonly origin: string;\n readonly performance: Performance;\n atob(data: string): string;\n btoa(data: string): string;\n clearInterval(handle?: number): void;\n clearTimeout(handle?: number): void;\n createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\n fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/** This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */\ninterface Worker extends EventTarget, AbstractWorker {\n onmessage: ((this: Worker, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;\n /**\n * Clones message and transmits it to worker\'s global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: PostMessageOptions): void;\n /**\n * Aborts worker\'s associated global environment.\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(stringUrl: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface WorkerGlobalScopeEventMap {\n "error": ErrorEvent;\n "languagechange": Event;\n "offline": Event;\n "online": Event;\n "rejectionhandled": PromiseRejectionEvent;\n "unhandledrejection": PromiseRejectionEvent;\n}\n\n/** This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop. */\ninterface WorkerGlobalScope extends EventTarget, WindowOrWorkerGlobalScope {\n /**\n * Returns workerGlobal\'s WorkerLocation object.\n */\n readonly location: WorkerLocation;\n readonly navigator: WorkerNavigator;\n onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;\n onlanguagechange: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n /**\n * Returns workerGlobal.\n */\n readonly self: WorkerGlobalScope & typeof globalThis;\n /**\n * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).\n */\n importScripts(...urls: string[]): void;\n addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WorkerGlobalScope: {\n prototype: WorkerGlobalScope;\n new(): WorkerGlobalScope;\n};\n\n/** The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location. */\ninterface WorkerLocation {\n readonly hash: string;\n readonly host: string;\n readonly hostname: string;\n readonly href: string;\n toString(): string;\n readonly origin: string;\n readonly pathname: string;\n readonly port: string;\n readonly protocol: string;\n readonly search: string;\n}\n\ndeclare var WorkerLocation: {\n prototype: WorkerLocation;\n new(): WorkerLocation;\n};\n\n/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */\ninterface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorStorage {\n readonly permissions: Permissions;\n readonly serviceWorker: ServiceWorkerContainer;\n}\n\ndeclare var WorkerNavigator: {\n prototype: WorkerNavigator;\n new(): WorkerNavigator;\n};\n\n/** This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing. */\ninterface WritableStream<W = any> {\n readonly locked: boolean;\n abort(reason?: any): Promise<void>;\n getWriter(): WritableStreamDefaultWriter<W>;\n}\n\ndeclare var WritableStream: {\n prototype: WritableStream;\n new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;\n};\n\n/** This Streams API interface represents a controller allowing control of a WritableStream\'s state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */\ninterface WritableStreamDefaultController {\n error(error?: any): void;\n}\n\n/** This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink. */\ninterface WritableStreamDefaultWriter<W = any> {\n readonly closed: Promise<void>;\n readonly desiredSize: number | null;\n readonly ready: Promise<void>;\n abort(reason?: any): Promise<void>;\n close(): Promise<void>;\n releaseLock(): void;\n write(chunk: W): Promise<void>;\n}\n\ninterface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {\n "readystatechange": Event;\n}\n\n/** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * Returns client\'s state.\n */\n readonly readyState: number;\n /**\n * Returns the response\'s body.\n */\n readonly response: any;\n /**\n * Returns the text response.\n * \n * Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".\n */\n readonly responseText: string;\n /**\n * Returns the response type.\n * \n * Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".\n * \n * When set: setting to "document" is ignored if current global object is not a Window object.\n * \n * When set: throws an "InvalidStateError" DOMException if state is loading or done.\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n responseType: XMLHttpRequestResponseType;\n readonly responseURL: string;\n readonly status: number;\n readonly statusText: string;\n /**\n * Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and the synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).\n * \n * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.\n */\n timeout: number;\n /**\n * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.\n * \n * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.\n */\n withCredentials: boolean;\n /**\n * Cancels any network activity.\n */\n abort(): void;\n getAllResponseHeaders(): string;\n getResponseHeader(name: string): string | null;\n /**\n * Sets the request method, request URL, and synchronous flag.\n * \n * Throws a "SyntaxError" DOMException if either method is not a valid HTTP method or url cannot be parsed.\n * \n * Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.\n * \n * Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.\n */\n open(method: string, url: string): void;\n open(method: string, url: string, async: boolean, username?: string | null, password?: string | null): void;\n /**\n * Acts as if the `Content-Type` header value for response is mime. (It does not actually change the header though.)\n * \n * Throws an "InvalidStateError" DOMException if state is loading or done.\n */\n overrideMimeType(mime: string): void;\n /**\n * Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n */\n send(body?: BodyInit | null): void;\n /**\n * Combines a header in author request headers.\n * \n * Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.\n * \n * Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.\n */\n setRequestHeader(name: string, value: string): void;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequest: {\n prototype: XMLHttpRequest;\n new(): XMLHttpRequest;\n readonly DONE: number;\n readonly HEADERS_RECEIVED: number;\n readonly LOADING: number;\n readonly OPENED: number;\n readonly UNSENT: number;\n};\n\ninterface XMLHttpRequestEventTargetEventMap {\n "abort": ProgressEvent<XMLHttpRequestEventTarget>;\n "error": ProgressEvent<XMLHttpRequestEventTarget>;\n "load": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadend": ProgressEvent<XMLHttpRequestEventTarget>;\n "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;\n "progress": ProgressEvent<XMLHttpRequestEventTarget>;\n "timeout": ProgressEvent<XMLHttpRequestEventTarget>;\n}\n\ninterface XMLHttpRequestEventTarget extends EventTarget {\n onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestEventTarget: {\n prototype: XMLHttpRequestEventTarget;\n new(): XMLHttpRequestEventTarget;\n};\n\ninterface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {\n addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var XMLHttpRequestUpload: {\n prototype: XMLHttpRequestUpload;\n new(): XMLHttpRequestUpload;\n};\n\ndeclare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;\n\ninterface Console {\n memory: any;\n assert(condition?: boolean, ...data: any[]): void;\n clear(): void;\n count(label?: string): void;\n countReset(label?: string): void;\n debug(...data: any[]): void;\n dir(item?: any, options?: any): void;\n dirxml(...data: any[]): void;\n error(...data: any[]): void;\n exception(message?: string, ...optionalParams: any[]): void;\n group(...data: any[]): void;\n groupCollapsed(...data: any[]): void;\n groupEnd(): void;\n info(...data: any[]): void;\n log(...data: any[]): void;\n table(tabularData?: any, properties?: string[]): void;\n time(label?: string): void;\n timeEnd(label?: string): void;\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n trace(...data: any[]): void;\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\ndeclare namespace WebAssembly {\n interface Global {\n value: any;\n valueOf(): any;\n }\n \n var Global: {\n prototype: Global;\n new(descriptor: GlobalDescriptor, v?: any): Global;\n };\n \n interface Instance {\n readonly exports: Exports;\n }\n \n var Instance: {\n prototype: Instance;\n new(module: Module, importObject?: Imports): Instance;\n };\n \n interface Memory {\n readonly buffer: ArrayBuffer;\n grow(delta: number): number;\n }\n \n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n \n interface Module {\n }\n \n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n exports(moduleObject: Module): ModuleExportDescriptor[];\n imports(moduleObject: Module): ModuleImportDescriptor[];\n };\n \n interface Table {\n readonly length: number;\n get(index: number): Function | null;\n grow(delta: number): number;\n set(index: number, value: Function | null): void;\n }\n \n var Table: {\n prototype: Table;\n new(descriptor: TableDescriptor): Table;\n };\n \n interface GlobalDescriptor {\n mutable?: boolean;\n value: ValueType;\n }\n \n interface MemoryDescriptor {\n initial: number;\n maximum?: number;\n }\n \n interface ModuleExportDescriptor {\n kind: ImportExportKind;\n name: string;\n }\n \n interface ModuleImportDescriptor {\n kind: ImportExportKind;\n module: string;\n name: string;\n }\n \n interface TableDescriptor {\n element: TableKind;\n initial: number;\n maximum?: number;\n }\n \n interface WebAssemblyInstantiatedSource {\n instance: Instance;\n module: Module;\n }\n \n type ImportExportKind = "function" | "global" | "memory" | "table";\n type TableKind = "anyfunc";\n type ValueType = "f32" | "f64" | "i32" | "i64";\n type ExportValue = Function | Global | Memory | Table;\n type Exports = Record<string, ExportValue>;\n type ImportValue = ExportValue | number;\n type ModuleImports = Record<string, ImportValue>;\n type Imports = Record<string, ModuleImports>;\n function compile(bytes: BufferSource): Promise<Module>;\n function compileStreaming(source: Response | Promise<Response>): Promise<Module>;\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function validate(bytes: BufferSource): boolean;\n}\n\ninterface FrameRequestCallback {\n (time: number): void;\n}\n\ninterface OnErrorEventHandlerNonNull {\n (event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;\n}\n\ninterface PerformanceObserverCallback {\n (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;\n}\n\ninterface QueuingStrategySizeCallback<T = any> {\n (chunk: T): number;\n}\n\ninterface ReadableByteStreamControllerCallback {\n (controller: ReadableByteStreamController): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamDefaultControllerCallback<R> {\n (controller: ReadableStreamDefaultController<R>): void | PromiseLike<void>;\n}\n\ninterface ReadableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerCallback<O> {\n (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface TransformStreamDefaultControllerTransformCallback<I, O> {\n (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface WritableStreamDefaultControllerCloseCallback {\n (): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerStartCallback {\n (controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamDefaultControllerWriteCallback<W> {\n (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;\n}\n\ninterface WritableStreamErrorCallback {\n (reason: any): void | PromiseLike<void>;\n}\n\n/**\n * Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging.\n */\ndeclare var name: string;\ndeclare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n/**\n * Aborts dedicatedWorkerGlobal.\n */\ndeclare function close(): void;\n/**\n * Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.\n */\ndeclare function postMessage(message: any, transfer: Transferable[]): void;\ndeclare function postMessage(message: any, options?: PostMessageOptions): void;\n/**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\ndeclare function dispatchEvent(event: Event): boolean;\n/**\n * Returns workerGlobal\'s WorkerLocation object.\n */\ndeclare var location: WorkerLocation;\ndeclare var navigator: WorkerNavigator;\ndeclare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;\ndeclare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\ndeclare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\ndeclare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n/**\n * Returns workerGlobal.\n */\ndeclare var self: WorkerGlobalScope & typeof globalThis;\n/**\n * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).\n */\ndeclare function importScripts(...urls: string[]): void;\n/**\n * Dispatches a synthetic event event to target and returns true if either event\'s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.\n */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var caches: CacheStorage;\ndeclare var crypto: Crypto;\ndeclare var indexedDB: IDBFactory;\ndeclare var isSecureContext: boolean;\ndeclare var origin: string;\ndeclare var performance: Performance;\ndeclare function atob(data: string): string;\ndeclare function btoa(data: string): string;\ndeclare function clearInterval(handle?: number): void;\ndeclare function clearTimeout(handle?: number): void;\ndeclare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;\ndeclare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function cancelAnimationFrame(handle: number): void;\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\ndeclare function addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\ndeclare function removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\ntype HeadersInit = Headers | string[][] | Record<string, string>;\ntype BodyInit = Blob | BufferSource | FormData | URLSearchParams | ReadableStream<Uint8Array> | string;\ntype RequestInfo = Request | string;\ntype BlobPart = BufferSource | Blob | string;\ntype DOMHighResTimeStamp = number;\ntype CanvasImageSource = ImageBitmap | OffscreenCanvas;\ntype OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype MessageEventSource = MessagePort | ServiceWorker;\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype TimerHandler = string | Function;\ntype PerformanceEntryList = PerformanceEntry[];\ntype PushMessageDataInit = BufferSource | string;\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype VibratePattern = number | number[];\ntype AlgorithmIdentifier = string | Algorithm;\ntype HashAlgorithmIdentifier = AlgorithmIdentifier;\ntype BigInteger = Uint8Array;\ntype NamedCurve = string;\ntype GLenum = number;\ntype GLboolean = boolean;\ntype GLbitfield = number;\ntype GLint = number;\ntype GLsizei = number;\ntype GLintptr = number;\ntype GLsizeiptr = number;\ntype GLuint = number;\ntype GLfloat = number;\ntype GLclampf = number;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;\ntype Float32List = Float32Array | GLfloat[];\ntype Int32List = Int32Array | GLint[];\ntype GLint64 = number;\ntype GLuint64 = number;\ntype Uint32List = Uint32Array | GLuint[];\ntype BufferSource = ArrayBufferView | ArrayBuffer;\ntype DOMTimeStamp = number;\ntype FormDataEntryValue = File | string;\ntype IDBValidKey = number | string | Date | BufferSource | IDBArrayKey;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap | OffscreenCanvas;\ntype BinaryType = "arraybuffer" | "blob";\ntype CanvasDirection = "inherit" | "ltr" | "rtl";\ntype CanvasFillRule = "evenodd" | "nonzero";\ntype CanvasLineCap = "butt" | "round" | "square";\ntype CanvasLineJoin = "bevel" | "miter" | "round";\ntype CanvasTextAlign = "center" | "end" | "left" | "right" | "start";\ntype CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";\ntype ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorSpaceConversion = "default" | "none";\ntype EndingType = "native" | "transparent";\ntype FrameType = "auxiliary" | "nested" | "none" | "top-level";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "none";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2";\ntype PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype PushPermissionState = "denied" | "granted" | "prompt";\ntype ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";\ntype RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";\ntype RequestCredentials = "include" | "omit" | "same-origin";\ntype RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";\ntype RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";\ntype RequestRedirect = "error" | "follow" | "manual";\ntype ResizeQuality = "high" | "low" | "medium" | "pixelated";\ntype ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";\ntype ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";\ntype ServiceWorkerUpdateViaCache = "all" | "imports" | "none";\ntype VisibilityState = "hidden" | "visible";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',"lib.webworker.importscripts.d.ts":'/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// <reference no-default-lib="true"/>\n\n\n\n/////////////////////////////\n/// WorkerGlobalScope APIs\n/////////////////////////////\n// These are only available in a Web Worker\ndeclare function importScripts(...urls: string[]): void;\n'},o=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))},s=function(e,n){var t,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=n.call(e,o)}catch(e){i=[6,e],r=0}finally{t=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},c=function(){function e(e,n){this._extraLibs=Object.create(null),this._languageService=a.createLanguageService(this),this._ctx=e,this._compilerOptions=n.compilerOptions,this._extraLibs=n.extraLibs}return e.prototype.getCompilationSettings=function(){return this._compilerOptions},e.prototype.getScriptFileNames=function(){return this._ctx.getMirrorModels().map((function(e){return e.uri.toString()})).concat(Object.keys(this._extraLibs))},e.prototype._getModel=function(e){for(var n=this._ctx.getMirrorModels(),t=0;t<n.length;t++)if(n[t].uri.toString()===e)return n[t];return null},e.prototype.getScriptVersion=function(e){var n=this._getModel(e);return n?n.version.toString():this.isDefaultLibFileName(e)?"1":e in this._extraLibs?String(this._extraLibs[e].version):""},e.prototype.getScriptText=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._getScriptText(e)]}))}))},e.prototype._getScriptText=function(e){var n,t=this._getModel(e),r="lib."+e+".d.ts";if(t)n=t.getValue();else if(e in i)n=i[e];else if(r in i)n=i[r];else{if(!(e in this._extraLibs))return;n=this._extraLibs[e].content}return n},e.prototype.getScriptSnapshot=function(e){var n=this._getScriptText(e);if(void 0!==n)return{getText:function(e,t){return n.substring(e,t)},getLength:function(){return n.length},getChangeRange:function(){}}},e.prototype.getScriptKind=function(e){switch(e.substr(e.lastIndexOf(".")+1)){case"ts":return a.ScriptKind.TS;case"tsx":return a.ScriptKind.TSX;case"js":return a.ScriptKind.JS;case"jsx":return a.ScriptKind.JSX;default:return this.getCompilationSettings().allowJs?a.ScriptKind.JS:a.ScriptKind.TS}},e.prototype.getCurrentDirectory=function(){return""},e.prototype.getDefaultLibFileName=function(e){switch(e.target){case 99:var n="lib.esnext.full.d.ts";if(n in i||n in this._extraLibs)return n;case 7:case 6:case 5:case 4:case 3:case 2:default:var t="lib.es"+(2013+(e.target||99))+".full.d.ts";return t in i||t in this._extraLibs?t:"lib.es6.d.ts";case 1:case 0:return"lib.d.ts"}},e.prototype.isDefaultLibFileName=function(e){return e===this.getDefaultLibFileName(this._compilerOptions)},e.prototype.getLibFiles=function(){return o(this,void 0,void 0,(function(){return s(this,(function(e){return[2,i]}))}))},e.clearFiles=function(e){return e.forEach((function(e){e.file=void 0;var n=e.relatedInformation;n&&n.forEach((function(e){return e.file=void 0}))})),e},e.prototype.getSyntacticDiagnostics=function(n){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){return t=this._languageService.getSyntacticDiagnostics(n),[2,e.clearFiles(t)]}))}))},e.prototype.getSemanticDiagnostics=function(n){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){return t=this._languageService.getSemanticDiagnostics(n),[2,e.clearFiles(t)]}))}))},e.prototype.getSuggestionDiagnostics=function(n){return o(this,void 0,void 0,(function(){var t;return s(this,(function(r){return t=this._languageService.getSuggestionDiagnostics(n),[2,e.clearFiles(t)]}))}))},e.prototype.getCompilerOptionsDiagnostics=function(n){return o(this,void 0,void 0,(function(){var n;return s(this,(function(t){return n=this._languageService.getCompilerOptionsDiagnostics(),[2,e.clearFiles(n)]}))}))},e.prototype.getCompletionsAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getCompletionsAtPosition(e,n,void 0)]}))}))},e.prototype.getCompletionEntryDetails=function(e,n,t){return o(this,void 0,void 0,(function(){return s(this,(function(r){return[2,this._languageService.getCompletionEntryDetails(e,n,t,void 0,void 0,void 0)]}))}))},e.prototype.getSignatureHelpItems=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getSignatureHelpItems(e,n,void 0)]}))}))},e.prototype.getQuickInfoAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getQuickInfoAtPosition(e,n)]}))}))},e.prototype.getOccurrencesAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getOccurrencesAtPosition(e,n)]}))}))},e.prototype.getDefinitionAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getDefinitionAtPosition(e,n)]}))}))},e.prototype.getReferencesAtPosition=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getReferencesAtPosition(e,n)]}))}))},e.prototype.getNavigationBarItems=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._languageService.getNavigationBarItems(e)]}))}))},e.prototype.getFormattingEditsForDocument=function(e,n){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,this._languageService.getFormattingEditsForDocument(e,n)]}))}))},e.prototype.getFormattingEditsForRange=function(e,n,t,r){return o(this,void 0,void 0,(function(){return s(this,(function(a){return[2,this._languageService.getFormattingEditsForRange(e,n,t,r)]}))}))},e.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){return o(this,void 0,void 0,(function(){return s(this,(function(a){return[2,this._languageService.getFormattingEditsAfterKeystroke(e,n,t,r)]}))}))},e.prototype.findRenameLocations=function(e,n,t,r,a){return o(this,void 0,void 0,(function(){return s(this,(function(i){return[2,this._languageService.findRenameLocations(e,n,t,r,a)]}))}))},e.prototype.getRenameInfo=function(e,n,t){return o(this,void 0,void 0,(function(){return s(this,(function(r){return[2,this._languageService.getRenameInfo(e,n,t)]}))}))},e.prototype.getEmitOutput=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._languageService.getEmitOutput(e)]}))}))},e.prototype.getCodeFixesAtPosition=function(e,n,t,r,a){return o(this,void 0,void 0,(function(){var i;return s(this,(function(o){i={};try{return[2,this._languageService.getCodeFixesAtPosition(e,n,t,r,a,i)]}catch(e){return[2,[]]}return[2]}))}))},e.prototype.updateExtraLibs=function(e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return this._extraLibs=e,[2]}))}))},e}();self.onmessage=function(){r.initialize((function(e,n){return new c(e,n)}))}},36:function(e,n,t){"use strict";function r(e){return e<0?0:e>255?255:0|e}function a(e){return e<0?0:e>4294967295?4294967295:0|e}t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return a}))},37:function(e,n,t){"use strict";var r;t.d(n,"a",(function(){return r})),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const n=Object.freeze([]);e.empty=function(){return n},e.single=function*(e){yield e},e.from=function(e){return e||n},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,n){for(const t of e)if(n(t))return!0;return!1},e.filter=function*(e,n){for(const t of e)n(t)&&(yield t)},e.map=function*(e,n){for(const t of e)yield n(t)},e.concat=function*(...e){for(const n of e)for(const e of n)yield e},e.consume=function(n,t=Number.POSITIVE_INFINITY){const r=[];if(0===t)return[r,n];const a=n[Symbol.iterator]();for(let n=0;n<t;n++){const n=a.next();if(n.done)return[r,e.empty()];r.push(n.value)}return[r,{[Symbol.iterator]:()=>a}]}}(r||(r={}))},40:function(e,n,t){"use strict";var r,a,i,o,s,c,l,u,d,p,f,m,_,g,y,h,v,b,E,T,S,L,x,A,D,C,I,N,R,k,O,P,M;t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return o})),t.d(n,"e",(function(){return s})),t.d(n,"f",(function(){return c})),t.d(n,"g",(function(){return l})),t.d(n,"h",(function(){return u})),t.d(n,"i",(function(){return d})),t.d(n,"j",(function(){return p})),t.d(n,"k",(function(){return f})),t.d(n,"l",(function(){return m})),t.d(n,"m",(function(){return _})),t.d(n,"n",(function(){return g})),t.d(n,"o",(function(){return y})),t.d(n,"p",(function(){return h})),t.d(n,"q",(function(){return v})),t.d(n,"r",(function(){return b})),t.d(n,"s",(function(){return E})),t.d(n,"t",(function(){return T})),t.d(n,"u",(function(){return S})),t.d(n,"v",(function(){return L})),t.d(n,"w",(function(){return x})),t.d(n,"x",(function(){return A})),t.d(n,"y",(function(){return D})),t.d(n,"z",(function(){return C})),t.d(n,"A",(function(){return I})),t.d(n,"B",(function(){return N})),t.d(n,"C",(function(){return R})),t.d(n,"D",(function(){return k})),t.d(n,"E",(function(){return O})),t.d(n,"F",(function(){return P})),t.d(n,"G",(function(){return M})),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(a||(a={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(i||(i={})),function(e){e[e.Deprecated=1]="Deprecated"}(o||(o={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(s||(s={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(c||(c={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(u||(u={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(p||(p={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.columnSelection=13]="columnSelection",e[e.comments=14]="comments",e[e.contextmenu=15]="contextmenu",e[e.copyWithSyntaxHighlighting=16]="copyWithSyntaxHighlighting",e[e.cursorBlinking=17]="cursorBlinking",e[e.cursorSmoothCaretAnimation=18]="cursorSmoothCaretAnimation",e[e.cursorStyle=19]="cursorStyle",e[e.cursorSurroundingLines=20]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=21]="cursorSurroundingLinesStyle",e[e.cursorWidth=22]="cursorWidth",e[e.disableLayerHinting=23]="disableLayerHinting",e[e.disableMonospaceOptimizations=24]="disableMonospaceOptimizations",e[e.dragAndDrop=25]="dragAndDrop",e[e.emptySelectionClipboard=26]="emptySelectionClipboard",e[e.extraEditorClassName=27]="extraEditorClassName",e[e.fastScrollSensitivity=28]="fastScrollSensitivity",e[e.find=29]="find",e[e.fixedOverflowWidgets=30]="fixedOverflowWidgets",e[e.folding=31]="folding",e[e.foldingStrategy=32]="foldingStrategy",e[e.foldingHighlight=33]="foldingHighlight",e[e.unfoldOnClickAfterEndOfLine=34]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=35]="fontFamily",e[e.fontInfo=36]="fontInfo",e[e.fontLigatures=37]="fontLigatures",e[e.fontSize=38]="fontSize",e[e.fontWeight=39]="fontWeight",e[e.formatOnPaste=40]="formatOnPaste",e[e.formatOnType=41]="formatOnType",e[e.glyphMargin=42]="glyphMargin",e[e.gotoLocation=43]="gotoLocation",e[e.hideCursorInOverviewRuler=44]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=45]="highlightActiveIndentGuide",e[e.hover=46]="hover",e[e.inDiffEditor=47]="inDiffEditor",e[e.letterSpacing=48]="letterSpacing",e[e.lightbulb=49]="lightbulb",e[e.lineDecorationsWidth=50]="lineDecorationsWidth",e[e.lineHeight=51]="lineHeight",e[e.lineNumbers=52]="lineNumbers",e[e.lineNumbersMinChars=53]="lineNumbersMinChars",e[e.links=54]="links",e[e.matchBrackets=55]="matchBrackets",e[e.minimap=56]="minimap",e[e.mouseStyle=57]="mouseStyle",e[e.mouseWheelScrollSensitivity=58]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=59]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=60]="multiCursorMergeOverlapping",e[e.multiCursorModifier=61]="multiCursorModifier",e[e.multiCursorPaste=62]="multiCursorPaste",e[e.occurrencesHighlight=63]="occurrencesHighlight",e[e.overviewRulerBorder=64]="overviewRulerBorder",e[e.overviewRulerLanes=65]="overviewRulerLanes",e[e.padding=66]="padding",e[e.parameterHints=67]="parameterHints",e[e.peekWidgetDefaultFocus=68]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=69]="definitionLinkOpensInPeek",e[e.quickSuggestions=70]="quickSuggestions",e[e.quickSuggestionsDelay=71]="quickSuggestionsDelay",e[e.readOnly=72]="readOnly",e[e.renameOnType=73]="renameOnType",e[e.renderControlCharacters=74]="renderControlCharacters",e[e.renderIndentGuides=75]="renderIndentGuides",e[e.renderFinalNewline=76]="renderFinalNewline",e[e.renderLineHighlight=77]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=78]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=79]="renderValidationDecorations",e[e.renderWhitespace=80]="renderWhitespace",e[e.revealHorizontalRightPadding=81]="revealHorizontalRightPadding",e[e.roundedSelection=82]="roundedSelection",e[e.rulers=83]="rulers",e[e.scrollbar=84]="scrollbar",e[e.scrollBeyondLastColumn=85]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=86]="scrollBeyondLastLine",e[e.scrollPredominantAxis=87]="scrollPredominantAxis",e[e.selectionClipboard=88]="selectionClipboard",e[e.selectionHighlight=89]="selectionHighlight",e[e.selectOnLineNumbers=90]="selectOnLineNumbers",e[e.showFoldingControls=91]="showFoldingControls",e[e.showUnused=92]="showUnused",e[e.snippetSuggestions=93]="snippetSuggestions",e[e.smoothScrolling=94]="smoothScrolling",e[e.stopRenderingLineAfter=95]="stopRenderingLineAfter",e[e.suggest=96]="suggest",e[e.suggestFontSize=97]="suggestFontSize",e[e.suggestLineHeight=98]="suggestLineHeight",e[e.suggestOnTriggerCharacters=99]="suggestOnTriggerCharacters",e[e.suggestSelection=100]="suggestSelection",e[e.tabCompletion=101]="tabCompletion",e[e.tabIndex=102]="tabIndex",e[e.unusualLineTerminators=103]="unusualLineTerminators",e[e.useTabStops=104]="useTabStops",e[e.wordSeparators=105]="wordSeparators",e[e.wordWrap=106]="wordWrap",e[e.wordWrapBreakAfterCharacters=107]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=108]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=109]="wordWrapColumn",e[e.wordWrapMinified=110]="wordWrapMinified",e[e.wrappingIndent=111]="wrappingIndent",e[e.wrappingStrategy=112]="wrappingStrategy",e[e.showDeprecated=113]="showDeprecated",e[e.editorClassName=114]="editorClassName",e[e.pixelRatio=115]="pixelRatio",e[e.tabFocusMode=116]="tabFocusMode",e[e.layoutInfo=117]="layoutInfo",e[e.wrappingInfo=118]="wrappingInfo"}(f||(f={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(m||(m={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(_||(_={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(g||(g={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(y||(y={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(h||(h={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(v||(v={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(b||(b={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(E||(E={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(T||(T={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(S||(S={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(L||(L={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(x||(x={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(A||(A={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(D||(D={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(C||(C={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(I||(I={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(N||(N={})),function(e){e[e.Deprecated=1]="Deprecated"}(R||(R={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(k||(k={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(O||(O={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(P||(P={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(M||(M={}))},42:function(e,n,t){"use strict";t.d(n,"i",(function(){return d})),t.d(n,"e",(function(){return p})),t.d(n,"d",(function(){return f})),t.d(n,"g",(function(){return m})),t.d(n,"f",(function(){return _})),t.d(n,"b",(function(){return g})),t.d(n,"a",(function(){return y})),t.d(n,"c",(function(){return h})),t.d(n,"h",(function(){return v}));var r=t(28);class a extends Error{constructor(e,n,t){let r;"string"==typeof n&&0===n.indexOf("not ")?(r="must not be",n=n.replace(/^not /,"")):r="must be";const a=-1!==e.indexOf(".")?"property":"argument";let i=`The "${e}" ${a} ${r} of type ${n}`;i+=". Received type "+typeof t,super(i),this.code="ERR_INVALID_ARG_TYPE"}}function i(e,n){if("string"!=typeof e)throw new a(n,"string",e)}function o(e){return 47===e||92===e}function s(e){return 47===e}function c(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e,n,t,r){let a="",i=0,o=-1,s=0,c=0;for(let l=0;l<=e.length;++l){if(l<e.length)c=e.charCodeAt(l);else{if(r(c))break;c=47}if(r(c)){if(o===l-1||1===s);else if(2===s){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2)){if(a.length>2){const e=a.lastIndexOf(t);-1===e?(a="",i=0):(a=a.slice(0,e),i=a.length-1-a.lastIndexOf(t)),o=l,s=0;continue}if(0!==a.length){a="",i=0,o=l,s=0;continue}}n&&(a+=a.length>0?t+"..":"..",i=2)}else a.length>0?a+=`${t}${e.slice(o+1,l)}`:a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===c&&-1!==s?++s:s=-1}return a}function u(e,n){if(null===n||"object"!=typeof n)throw new a("pathObject","Object",n);const t=n.dir||n.root,r=n.base||`${n.name||""}${n.ext||""}`;return t?t===n.root?`${t}${r}`:`${t}${e}${r}`:r}const d={resolve(...e){let n="",t="",a=!1;for(let s=e.length-1;s>=-1;s--){let l;if(s>=0){if(l=e[s],i(l,"path"),0===l.length)continue}else 0===n.length?l=r.a():(l=r.b["="+n]||r.a(),(void 0===l||l.slice(0,2).toLowerCase()!==n.toLowerCase()&&92===l.charCodeAt(2))&&(l=n+"\\"));const u=l.length;let d=0,p="",f=!1;const m=l.charCodeAt(0);if(1===u)o(m)&&(d=1,f=!0);else if(o(m))if(f=!0,o(l.charCodeAt(1))){let e=2,n=e;for(;e<u&&!o(l.charCodeAt(e));)e++;if(e<u&&e!==n){const t=l.slice(n,e);for(n=e;e<u&&o(l.charCodeAt(e));)e++;if(e<u&&e!==n){for(n=e;e<u&&!o(l.charCodeAt(e));)e++;e!==u&&e===n||(p=`\\\\${t}\\${l.slice(n,e)}`,d=e)}}}else d=1;else c(m)&&58===l.charCodeAt(1)&&(p=l.slice(0,2),d=2,u>2&&o(l.charCodeAt(2))&&(f=!0,d=3));if(p.length>0)if(n.length>0){if(p.toLowerCase()!==n.toLowerCase())continue}else n=p;if(a){if(n.length>0)break}else if(t=`${l.slice(d)}\\${t}`,a=f,f&&n.length>0)break}return t=l(t,!a,"\\",o),a?`${n}\\${t}`:`${n}${t}`||"."},normalize(e){i(e,"path");const n=e.length;if(0===n)return".";let t,r=0,a=!1;const u=e.charCodeAt(0);if(1===n)return s(u)?"\\":e;if(o(u))if(a=!0,o(e.charCodeAt(1))){let a=2,i=a;for(;a<n&&!o(e.charCodeAt(a));)a++;if(a<n&&a!==i){const s=e.slice(i,a);for(i=a;a<n&&o(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&!o(e.charCodeAt(a));)a++;if(a===n)return`\\\\${s}\\${e.slice(i)}\\`;a!==i&&(t=`\\\\${s}\\${e.slice(i,a)}`,r=a)}}}else r=1;else c(u)&&58===e.charCodeAt(1)&&(t=e.slice(0,2),r=2,n>2&&o(e.charCodeAt(2))&&(a=!0,r=3));let d=r<n?l(e.slice(r),!a,"\\",o):"";return 0!==d.length||a||(d="."),d.length>0&&o(e.charCodeAt(n-1))&&(d+="\\"),void 0===t?a?"\\"+d:d:a?`${t}\\${d}`:`${t}${d}`},isAbsolute(e){i(e,"path");const n=e.length;if(0===n)return!1;const t=e.charCodeAt(0);return o(t)||n>2&&c(t)&&58===e.charCodeAt(1)&&o(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let n,t;for(let r=0;r<e.length;++r){const a=e[r];i(a,"path"),a.length>0&&(void 0===n?n=t=a:n+="\\"+a)}if(void 0===n)return".";let r=!0,a=0;if("string"==typeof t&&o(t.charCodeAt(0))){++a;const e=t.length;e>1&&o(t.charCodeAt(1))&&(++a,e>2&&(o(t.charCodeAt(2))?++a:r=!1))}if(r){for(;a<n.length&&o(n.charCodeAt(a));)a++;a>=2&&(n="\\"+n.slice(a))}return d.normalize(n)},relative(e,n){if(i(e,"from"),i(n,"to"),e===n)return"";const t=d.resolve(e),r=d.resolve(n);if(t===r)return"";if((e=t.toLowerCase())===(n=r.toLowerCase()))return"";let a=0;for(;a<e.length&&92===e.charCodeAt(a);)a++;let o=e.length;for(;o-1>a&&92===e.charCodeAt(o-1);)o--;const s=o-a;let c=0;for(;c<n.length&&92===n.charCodeAt(c);)c++;let l=n.length;for(;l-1>c&&92===n.charCodeAt(l-1);)l--;const u=l-c,p=s<u?s:u;let f=-1,m=0;for(;m<p;m++){const t=e.charCodeAt(a+m);if(t!==n.charCodeAt(c+m))break;92===t&&(f=m)}if(m!==p){if(-1===f)return r}else{if(u>p){if(92===n.charCodeAt(c+m))return r.slice(c+m+1);if(2===m)return r.slice(c+m)}s>p&&(92===e.charCodeAt(a+m)?f=m:2===m&&(f=3)),-1===f&&(f=0)}let _="";for(m=a+f+1;m<=o;++m)m!==o&&92!==e.charCodeAt(m)||(_+=0===_.length?"..":"\\..");return c+=f,_.length>0?`${_}${r.slice(c,l)}`:(92===r.charCodeAt(c)&&++c,r.slice(c,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const n=d.resolve(e);if(n.length<=2)return e;if(92===n.charCodeAt(0)){if(92===n.charCodeAt(1)){const e=n.charCodeAt(2);if(63!==e&&46!==e)return"\\\\?\\UNC\\"+n.slice(2)}}else if(c(n.charCodeAt(0))&&58===n.charCodeAt(1)&&92===n.charCodeAt(2))return"\\\\?\\"+n;return e},dirname(e){i(e,"path");const n=e.length;if(0===n)return".";let t=-1,r=0;const a=e.charCodeAt(0);if(1===n)return o(a)?e:".";if(o(a)){if(t=r=1,o(e.charCodeAt(1))){let a=2,i=a;for(;a<n&&!o(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&o(e.charCodeAt(a));)a++;if(a<n&&a!==i){for(i=a;a<n&&!o(e.charCodeAt(a));)a++;if(a===n)return e;a!==i&&(t=r=a+1)}}}}else c(a)&&58===e.charCodeAt(1)&&(t=n>2&&o(e.charCodeAt(2))?3:2,r=t);let s=-1,l=!0;for(let t=n-1;t>=r;--t)if(o(e.charCodeAt(t))){if(!l){s=t;break}}else l=!1;if(-1===s){if(-1===t)return".";s=t}return e.slice(0,s)},basename(e,n){void 0!==n&&i(n,"ext"),i(e,"path");let t,r=0,a=-1,s=!0;if(e.length>=2&&c(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let i=n.length-1,c=-1;for(t=e.length-1;t>=r;--t){const l=e.charCodeAt(t);if(o(l)){if(!s){r=t+1;break}}else-1===c&&(s=!1,c=t+1),i>=0&&(l===n.charCodeAt(i)?-1==--i&&(a=t):(i=-1,a=c))}return r===a?a=c:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=r;--t)if(o(e.charCodeAt(t))){if(!s){r=t+1;break}}else-1===a&&(s=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){i(e,"path");let n=0,t=-1,r=0,a=-1,s=!0,l=0;e.length>=2&&58===e.charCodeAt(1)&&c(e.charCodeAt(0))&&(n=r=2);for(let i=e.length-1;i>=n;--i){const n=e.charCodeAt(i);if(o(n)){if(!s){r=i+1;break}}else-1===a&&(s=!1,a=i+1),46===n?-1===t?t=i:1!==l&&(l=1):-1!==t&&(l=-1)}return-1===t||-1===a||0===l||1===l&&t===a-1&&t===r+1?"":e.slice(t,a)},format:u.bind(null,"\\"),parse(e){i(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=e.length;let r=0,a=e.charCodeAt(0);if(1===t)return o(a)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if(o(a)){if(r=1,o(e.charCodeAt(1))){let n=2,a=n;for(;n<t&&!o(e.charCodeAt(n));)n++;if(n<t&&n!==a){for(a=n;n<t&&o(e.charCodeAt(n));)n++;if(n<t&&n!==a){for(a=n;n<t&&!o(e.charCodeAt(n));)n++;n===t?r=n:n!==a&&(r=n+1)}}}}else if(c(a)&&58===e.charCodeAt(1)){if(t<=2)return n.root=n.dir=e,n;if(r=2,o(e.charCodeAt(2))){if(3===t)return n.root=n.dir=e,n;r=3}}r>0&&(n.root=e.slice(0,r));let s=-1,l=r,u=-1,d=!0,p=e.length-1,f=0;for(;p>=r;--p)if(a=e.charCodeAt(p),o(a)){if(!d){l=p+1;break}}else-1===u&&(d=!1,u=p+1),46===a?-1===s?s=p:1!==f&&(f=1):-1!==s&&(f=-1);return-1!==u&&(-1===s||0===f||1===f&&s===u-1&&s===l+1?n.base=n.name=e.slice(l,u):(n.name=e.slice(l,s),n.base=e.slice(l,u),n.ext=e.slice(s,u))),n.dir=l>0&&l!==r?e.slice(0,l-1):n.root,n},sep:"\\",delimiter:";",win32:null,posix:null},p={resolve(...e){let n="",t=!1;for(let a=e.length-1;a>=-1&&!t;a--){const o=a>=0?e[a]:r.a();i(o,"path"),0!==o.length&&(n=`${o}/${n}`,t=47===o.charCodeAt(0))}return n=l(n,!t,"/",s),t?"/"+n:n.length>0?n:"."},normalize(e){if(i(e,"path"),0===e.length)return".";const n=47===e.charCodeAt(0),t=47===e.charCodeAt(e.length-1);return 0===(e=l(e,!n,"/",s)).length?n?"/":t?"./":".":(t&&(e+="/"),n?"/"+e:e)},isAbsolute:e=>(i(e,"path"),e.length>0&&47===e.charCodeAt(0)),join(...e){if(0===e.length)return".";let n;for(let t=0;t<e.length;++t){const r=e[t];i(r,"path"),r.length>0&&(void 0===n?n=r:n+="/"+r)}return void 0===n?".":p.normalize(n)},relative(e,n){if(i(e,"from"),i(n,"to"),e===n)return"";if((e=p.resolve(e))===(n=p.resolve(n)))return"";const t=e.length,r=t-1,a=n.length-1,o=r<a?r:a;let s=-1,c=0;for(;c<o;c++){const t=e.charCodeAt(1+c);if(t!==n.charCodeAt(1+c))break;47===t&&(s=c)}if(c===o)if(a>o){if(47===n.charCodeAt(1+c))return n.slice(1+c+1);if(0===c)return n.slice(1+c)}else r>o&&(47===e.charCodeAt(1+c)?s=c:0===c&&(s=0));let l="";for(c=1+s+1;c<=t;++c)c!==t&&47!==e.charCodeAt(c)||(l+=0===l.length?"..":"/..");return`${l}${n.slice(1+s)}`},toNamespacedPath:e=>e,dirname(e){if(i(e,"path"),0===e.length)return".";const n=47===e.charCodeAt(0);let t=-1,r=!0;for(let n=e.length-1;n>=1;--n)if(47===e.charCodeAt(n)){if(!r){t=n;break}}else r=!1;return-1===t?n?"/":".":n&&1===t?"//":e.slice(0,t)},basename(e,n){void 0!==n&&i(n,"ext"),i(e,"path");let t,r=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let i=n.length-1,s=-1;for(t=e.length-1;t>=0;--t){const c=e.charCodeAt(t);if(47===c){if(!o){r=t+1;break}}else-1===s&&(o=!1,s=t+1),i>=0&&(c===n.charCodeAt(i)?-1==--i&&(a=t):(i=-1,a=s))}return r===a?a=s:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===a&&(o=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){i(e,"path");let n=-1,t=0,r=-1,a=!0,o=0;for(let i=e.length-1;i>=0;--i){const s=e.charCodeAt(i);if(47!==s)-1===r&&(a=!1,r=i+1),46===s?-1===n?n=i:1!==o&&(o=1):-1!==n&&(o=-1);else if(!a){t=i+1;break}}return-1===n||-1===r||0===o||1===o&&n===r-1&&n===t+1?"":e.slice(n,r)},format:u.bind(null,"/"),parse(e){i(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=47===e.charCodeAt(0);let r;t?(n.root="/",r=1):r=0;let a=-1,o=0,s=-1,c=!0,l=e.length-1,u=0;for(;l>=r;--l){const n=e.charCodeAt(l);if(47!==n)-1===s&&(c=!1,s=l+1),46===n?-1===a?a=l:1!==u&&(u=1):-1!==a&&(u=-1);else if(!c){o=l+1;break}}if(-1!==s){const r=0===o&&t?1:o;-1===a||0===u||1===u&&a===s-1&&a===o+1?n.base=n.name=e.slice(r,s):(n.name=e.slice(r,a),n.base=e.slice(r,s),n.ext=e.slice(a,s))}return o>0?n.dir=e.slice(0,o-1):t&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};p.win32=d.win32=d,p.posix=d.posix=p;const f="win32"===r.c?d.normalize:p.normalize,m="win32"===r.c?d.resolve:p.resolve,_="win32"===r.c?d.relative:p.relative,g="win32"===r.c?d.dirname:p.dirname,y="win32"===r.c?d.basename:p.basename,h="win32"===r.c?d.extname:p.extname,v="win32"===r.c?d.sep:p.sep},43:function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"a",(function(){return l})),t.d(n,"f",(function(){return u})),t.d(n,"e",(function(){return p})),t.d(n,"d",(function(){return m})),t.d(n,"c",(function(){return _}));var r=t(13);class a{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const i=new a,o=new a,s=new a;var c;function l(e,n){return(e|(65535&n)<<16>>>0)>>>0}function u(e,n){if(0===e)return null;const t=(65535&e)>>>0,r=(4294901760&e)>>>16;return new f(0!==r?[d(t,n),d(r,n)]:[d(t,n)])}function d(e,n){const t=!!(2048&e),r=!!(256&e);return new p(2===n?r:t,!!(1024&e),!!(512&e),2===n?t:r,255&e)}!function(){function e(e,n,t=n,r=t){i.define(e,n),o.define(e,t),s.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return i.keyCodeToStr(e)},e.fromString=function(e){return i.strToKeyCode(e)},e.toUserSettingsUS=function(e){return o.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return s.keyCodeToStr(e)},e.fromUserSettings=function(e){return o.strToKeyCode(e)||s.strToKeyCode(e)}}(c||(c={}));class p{constructor(e,n,t,r,a){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyCode=a}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new f([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class f{constructor(e){if(0===e.length)throw Object(r.b)("parts");this.parts=e}}class m{constructor(e,n,t,r,a,i){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyLabel=a,this.keyAriaLabel=i}}class _{}},53:function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class a{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){const t=new r(e);if(this._first===r.Undefined)this._first=t,this._last=t;else if(n){const e=this._last;this._last=t,t.prev=e,e.next=t}else{const e=this._first;this._first=t,t.next=e,e.prev=t}this._size+=1;let a=!1;return()=>{a||(a=!0,this._remove(t))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}toArray(){const e=[];for(let n=this._first;n!==r.Undefined;n=n.next)e.push(n.element);return e}}},6:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return s})),t.d(n,"d",(function(){return c})),t.d(n,"c",(function(){return l})),t.d(n,"e",(function(){return u}));var r,a=t(13),i=t(2),o=t(53);!function(e){function n(e){return(n,t=null,r)=>{let a,i=!1;return a=e(e=>{if(!i)return a?a.dispose():i=!0,n.call(t,e)},null,r),i&&a.dispose(),a}}function t(e,n){return c((t,r=null,a)=>e(e=>t.call(r,n(e)),null,a))}function r(e,n){return c((t,r=null,a)=>e(e=>{n(e),t.call(r,e)},null,a))}function a(e,n){return c((t,r=null,a)=>e(e=>n(e)&&t.call(r,e),null,a))}function o(e,n,r){let a=r;return t(e,e=>(a=n(a,e),a))}function c(e){let n;const t=new s({onFirstListenerAdd(){n=e(t.fire,t)},onLastListenerRemove(){n.dispose()}});return t.event}function l(e,n,t=100,r=!1,a){let i,o=void 0,c=void 0,l=0;const u=new s({leakWarningThreshold:a,onFirstListenerAdd(){i=e(e=>{l++,o=n(o,e),r&&!c&&(u.fire(o),o=void 0),clearTimeout(c),c=setTimeout(()=>{const e=o;o=void 0,c=void 0,(!r||l>1)&&u.fire(e),l=0},t)})},onLastListenerRemove(){i.dispose()}});return u.event}function u(e){let n,t=!0;return a(e,e=>{const r=t||e!==n;return t=!1,n=e,r})}e.None=()=>i.a.None,e.once=n,e.map=t,e.forEach=r,e.filter=a,e.signal=function(e){return e},e.any=function(...e){return(n,t=null,r)=>Object(i.e)(...e.map(e=>e(e=>n.call(t,e),null,r)))},e.reduce=o,e.snapshot=c,e.debounce=l,e.stopwatch=function(e){const r=(new Date).getTime();return t(n(e),e=>(new Date).getTime()-r)},e.latch=u,e.buffer=function(e,n=!1,t=[]){let r=t.slice(),a=e(e=>{r?r.push(e):o.fire(e)});const i=()=>{r&&r.forEach(e=>o.fire(e)),r=null},o=new s({onFirstListenerAdd(){a||(a=e(e=>o.fire(e)))},onFirstListenerDidAdd(){r&&(n?setTimeout(i):i())},onLastListenerRemove(){a&&a.dispose(),a=null}});return o.event};class d{constructor(e){this.event=e}map(e){return new d(t(this.event,e))}forEach(e){return new d(r(this.event,e))}filter(e){return new d(a(this.event,e))}reduce(e,n){return new d(o(this.event,e,n))}latch(){return new d(u(this.event))}debounce(e,n=100,t=!1,r){return new d(l(this.event,e,n,t,r))}on(e,n,t){return this.event(e,n,t)}once(e,t,r){return n(this.event)(e,t,r)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,n,t=(e=>e)){const r=(...e)=>a.fire(t(...e)),a=new s({onFirstListenerAdd:()=>e.on(n,r),onLastListenerRemove:()=>e.removeListener(n,r)});return a.event},e.fromDOMEventEmitter=function(e,n,t=(e=>e)){const r=(...e)=>a.fire(t(...e)),a=new s({onFirstListenerAdd:()=>e.addEventListener(n,r),onLastListenerRemove:()=>e.removeEventListener(n,r)});return a.event},e.fromPromise=function(e){const n=new s;let t=!1;return e.then(void 0,()=>null).then(()=>{t?n.fire(void 0):setTimeout(()=>n.fire(void 0),0)}),t=!0,n.event},e.toPromise=function(e){return new Promise(t=>n(e)(t))}}(r||(r={}));class s{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}get event(){return this._event||(this._event=(e,n,t)=>{this._listeners||(this._listeners=new o.a);const r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const a=this._listeners.push(n?[e,n]:e);let c,l;return r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,n),this._leakageMon&&(c=this._leakageMon.check(this._listeners.size)),l={dispose:()=>{if(c&&c(),l.dispose=s._noop,!this._disposed&&(a(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},t instanceof i.b?t.add(l):Array.isArray(t)&&t.push(l),l}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new o.a);for(let n of this._listeners)this._deliveryQueue.push([n,e]);for(;this._deliveryQueue.size>0;){const[e,n]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,n):e[0].call(e[1],n)}catch(e){Object(a.e)(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}s._noop=function(){};class c extends s{constructor(e){super(e),this._isPaused=0,this._eventQueue=new o.a,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class l{constructor(){this.buffers=[]}wrapEvent(e){return(n,t,r)=>e(e=>{const r=this.buffers[this.buffers.length-1];r?r.push(()=>n.call(t,e)):n.call(t,e)},void 0,r)}bufferEvents(e){const n=[];this.buffers.push(n);const t=e();return this.buffers.pop(),n.forEach(e=>e()),t}}class u{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=i.a.None,this.emitter=new s({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},73:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return s}));const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const a=function(e=""){let n="(-?\\d*\\.\\d\\w*)|([^";for(const t of r)e.indexOf(t)>=0||(n+="\\"+t);return n+="\\s]+)",new RegExp(n,"g")}();function i(e){let n=a;if(e&&e instanceof RegExp)if(e.global)n=e;else{let t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n}const o={maxLen:1e3,windowSize:15,timeBudget:150};function s(e,n,t,r,a=o){if(t.length>a.maxLen){let i=e-a.maxLen/2;return i<0?(r+=e,i=0):r+=i,s(e,n,t=t.substring(i,e+a.maxLen/2),r,a)}Date.now();const i=e-1-r;let l=-1,u=null;for(let e=1;;e++){Date.now(),a.timeBudget;const r=i-a.windowSize*e;n.lastIndex=Math.max(0,r);const o=c(n,t,i,l);if(!o&&u)break;if(u=o,r<=0)break;l=r}if(u){let e={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return n.lastIndex=0,e}return null}function c(e,n,t,r){let a;for(;a=e.exec(n);){const n=a.index||0;if(n<=t&&e.lastIndex>=t)return a;if(r>0&&n>r)return null}return null}},76:function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return i}));var r=t(36);class a{constructor(e){let n=Object(r.b)(e);this._defaultValue=n,this._asciiMap=a._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){let n=new Uint8Array(256);for(let t=0;t<256;t++)n[t]=e;return n}set(e,n){let t=Object(r.b)(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class i{constructor(){this._actual=new a(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},77:function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i}));class r{constructor(e,n,t){this.offset=0|e,this.type=n,this.language=t}toString(){return"("+this.offset+", "+this.type+")"}}class a{constructor(e,n){this.tokens=e,this.endState=n}}class i{constructor(e,n){this.tokens=e,this.endState=n}}},8:function(e,n,t){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function a(e,n,t="0"){const r=""+e,a=[r];for(let e=r.length;e<n;e++)a.push(t);return a.reverse().join("")}t.d(n,"D",(function(){return r})),t.d(n,"M",(function(){return a})),t.d(n,"x",(function(){return o})),t.d(n,"u",(function(){return s})),t.d(n,"v",(function(){return c})),t.d(n,"W",(function(){return l})),t.d(n,"K",(function(){return u})),t.d(n,"Q",(function(){return d})),t.d(n,"p",(function(){return p})),t.d(n,"V",(function(){return f})),t.d(n,"S",(function(){return m})),t.d(n,"s",(function(){return _})),t.d(n,"q",(function(){return g})),t.d(n,"P",(function(){return y})),t.d(n,"O",(function(){return h})),t.d(n,"w",(function(){return v})),t.d(n,"z",(function(){return b})),t.d(n,"J",(function(){return E})),t.d(n,"f",(function(){return T})),t.d(n,"h",(function(){return S})),t.d(n,"g",(function(){return L})),t.d(n,"i",(function(){return x})),t.d(n,"H",(function(){return A})),t.d(n,"I",(function(){return D})),t.d(n,"t",(function(){return I})),t.d(n,"T",(function(){return R})),t.d(n,"d",(function(){return k})),t.d(n,"e",(function(){return O})),t.d(n,"F",(function(){return P})),t.d(n,"G",(function(){return M})),t.d(n,"j",(function(){return w})),t.d(n,"A",(function(){return F})),t.d(n,"L",(function(){return B})),t.d(n,"N",(function(){return U})),t.d(n,"r",(function(){return V})),t.d(n,"m",(function(){return K})),t.d(n,"k",(function(){return W})),t.d(n,"B",(function(){return z})),t.d(n,"a",(function(){return J})),t.d(n,"n",(function(){return X})),t.d(n,"l",(function(){return Y})),t.d(n,"E",(function(){return Q})),t.d(n,"C",(function(){return Z})),t.d(n,"b",(function(){return $})),t.d(n,"U",(function(){return ee})),t.d(n,"o",(function(){return ne})),t.d(n,"R",(function(){return te})),t.d(n,"y",(function(){return re})),t.d(n,"c",(function(){return ae}));const i=/{(\d+)}/g;function o(e,...n){return 0===n.length?e:e.replace(i,(function(e,t){const r=parseInt(t,10);return isNaN(r)||r<0||r>=n.length?e:n[r]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function c(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,n=" "){return d(u(e,n),n)}function u(e,n){if(!e||!n)return e;const t=n.length;if(0===t||0===e.length)return e;let r=0;for(;e.indexOf(n,r)===r;)r+=t;return e.substring(r)}function d(e,n){if(!e||!n)return e;const t=n.length,r=e.length;if(0===t||0===r)return e;let a=r,i=-1;for(;i=e.lastIndexOf(n,a-1),-1!==i&&i+t===a;){if(0===i)return"";a=i}return e.substring(0,a)}function p(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function f(e){return e.replace(/\*/g,"")}function m(e,n){if(e.length<n.length)return!1;if(e===n)return!0;for(let t=0;t<n.length;t++)if(e[t]!==n[t])return!1;return!0}function _(e,n){const t=e.length-n.length;return t>0?e.indexOf(n,t)===t:0===t&&e===n}function g(e,n,t={}){if(!e)throw new Error("Cannot create regex from empty string");n||(e=c(e)),t.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return t.global&&(r+="g"),t.matchCase||(r+="i"),t.multiline&&(r+="m"),t.unicode&&(r+="u"),new RegExp(e,r)}function y(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function h(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function v(e){for(let n=0,t=e.length;n<t;n++){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function b(e,n=0,t=e.length){for(let r=n;r<t;r++){const t=e.charCodeAt(r);if(32!==t&&9!==t)return e.substring(n,r)}return e.substring(n,t)}function E(e,n=e.length-1){for(let t=n;t>=0;t--){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function T(e,n){return e<n?-1:e>n?1:0}function S(e,n,t=0,r=e.length,a=0,i=n.length){for(;t<r&&a<i;t++,a++){let r=e.charCodeAt(t),i=n.charCodeAt(a);if(r<i)return-1;if(r>i)return 1}const o=r-t,s=i-a;return o<s?-1:o>s?1:0}function L(e,n){return x(e,n,0,e.length,0,n.length)}function x(e,n,t=0,r=e.length,a=0,i=n.length){for(;t<r&&a<i;t++,a++){let o=e.charCodeAt(t),s=n.charCodeAt(a);if(o===s)continue;const c=o-s;if((32!==c||!D(s))&&(-32!==c||!D(o)))return A(o)&&A(s)?c:S(e.toLowerCase(),n.toLowerCase(),t,r,a,i)}const o=r-t,s=i-a;return o<s?-1:o>s?1:0}function A(e){return e>=97&&e<=122}function D(e){return e>=65&&e<=90}function C(e){return A(e)||D(e)}function I(e,n){return e.length===n.length&&N(e,n)}function N(e,n,t=e.length){for(let r=0;r<t;r++){const t=e.charCodeAt(r),a=n.charCodeAt(r);if(t!==a)if(C(t)&&C(a)){const e=Math.abs(t-a);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(t).toLowerCase()!==String.fromCharCode(a).toLowerCase())return!1}return!0}function R(e,n){const t=n.length;return!(n.length>e.length)&&N(e,n,t)}function k(e,n){let t,r=Math.min(e.length,n.length);for(t=0;t<r;t++)if(e.charCodeAt(t)!==n.charCodeAt(t))return t;return r}function O(e,n){let t,r=Math.min(e.length,n.length);const a=e.length-1,i=n.length-1;for(t=0;t<r;t++)if(e.charCodeAt(a-t)!==n.charCodeAt(i-t))return t;return r}function P(e){return 55296<=e&&e<=56319}function M(e){return 56320<=e&&e<=57343}function w(e,n){return n-56320+(e-55296<<10)+65536}function F(e,n,t){const r=e.charCodeAt(t);if(P(r)&&t+1<n){const n=e.charCodeAt(t+1);if(M(n))return w(r,n)}return r}function G(e,n){const t=e.charCodeAt(n-1);if(M(t)&&n>1){const r=e.charCodeAt(n-2);if(P(r))return w(r,t)}return t}function B(e,n){const t=ie.getInstance(),r=n,a=e.length,i=F(e,a,n);n+=i>=65536?2:1;let o=t.getGraphemeBreakType(i);for(;n<a;){const r=F(e,a,n),i=t.getGraphemeBreakType(r);if(ae(o,i))break;n+=r>=65536?2:1,o=i}return n-r}function U(e,n){const t=ie.getInstance(),r=n,a=G(e,n);n-=a>=65536?2:1;let i=t.getGraphemeBreakType(a);for(;n>0;){const r=G(e,n),a=t.getGraphemeBreakType(r);if(ae(a,i))break;n-=r>=65536?2:1,i=a}return r-n}function V(e){const n=e.byteLength,t=[];let r=0;for(;r<n;){const a=e[r];let i;if(i=a>=240&&r+3<n?(7&e[r++])<<18>>>0|(63&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:a>=224&&r+2<n?(15&e[r++])<<12>>>0|(63&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:a>=192&&r+1<n?(31&e[r++])<<6>>>0|(63&e[r++])<<0>>>0:e[r++],i>=0&&i<=55295||i>=57344&&i<=65535)t.push(String.fromCharCode(i));else if(i>=65536&&i<=1114111){const e=i-65536,n=55296+((1047552&e)>>>10),r=56320+((1023&e)>>>0);t.push(String.fromCharCode(n)),t.push(String.fromCharCode(r))}else t.push(String.fromCharCode(65533))}return t.join("")}const j=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function K(e){return j.test(e)}const H=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function W(e){return H.test(e)}const q=/^[\t\n\r\x20-\x7E]*$/;function z(e){return q.test(e)}const J=/[\u2028\u2029]/;function X(e){return J.test(e)}function Y(e){for(let n=0,t=e.length;n<t;n++)if(Q(e.charCodeAt(n)))return!0;return!1}function Q(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Z(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const $=String.fromCharCode(65279);function ee(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function ne(e,n=!1){return!!e&&(n&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function te(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function re(e){return ie.getInstance().getGraphemeBreakType(e)}function ae(e,n){return 0===e?5!==n&&7!==n:(2!==e||3!==n)&&(4===e||2===e||3===e||(4===n||2===n||3===n||(8!==e||8!==n&&9!==n&&11!==n&&12!==n)&&((11!==e&&9!==e||9!==n&&10!==n)&&((12!==e&&10!==e||10!==n)&&(5!==n&&13!==n&&(7!==n&&(1!==e&&((13!==e||14!==n)&&(6!==e||6!==n)))))))))}class ie{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return ie._INSTANCE||(ie._INSTANCE=new ie),ie._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const n=this._data,t=n.length/3;let r=1;for(;r<=t;)if(e<n[3*r])r*=2;else{if(!(e>n[3*r+1]))return n[3*r+2];r=2*r+1}return 0}}ie._INSTANCE=null},86:function(e,n){var t,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var c,l=[],u=!1,d=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=s(p);u=!0;for(var n=l.length;n;){for(c=l,l=[];++d<n;)c&&c[d].run();d=-1,n=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function _(){}a.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];l.push(new m(e,n)),1!==l.length||u||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=_,a.addListener=_,a.once=_,a.off=_,a.removeListener=_,a.removeAllListeners=_,a.emit=_,a.prependListener=_,a.prependOnceListener=_,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},89:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return s})),t.d(n,"a",(function(){return d}));var r=t(8);function a(e){return i(e,0)}function i(e,n){switch(typeof e){case"object":return null===e?o(349,n):Array.isArray(e)?(t=e,r=o(104579,r=n),t.reduce((e,n)=>i(n,e),r)):function(e,n){return n=o(181387,n),Object.keys(e).sort().reduce((n,t)=>(n=s(t,n),i(e[t],n)),n)}(e,n);case"string":return s(e,n);case"boolean":return function(e,n){return o(e?433:863,n)}(e,n);case"number":return o(e,n);case"undefined":return o(937,n);default:return o(617,n)}var t,r}function o(e,n){return(n<<5)-n+e|0}function s(e,n){n=o(149417,n);for(let t=0,r=e.length;t<r;t++)n=o(e.charCodeAt(t),n);return n}function c(e,n,t=32){const r=t-n;return(e<<n|(~((1<<r)-1)&e)>>>r)>>>0}function l(e,n=0,t=e.byteLength,r=0){for(let a=0;a<t;a++)e[n+a]=r}function u(e,n=32){return function(e,n,t="0"){for(;e.length<n;)e=t+e;return e}((e>>>0).toString(16),n/4)}class d{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const n=e.length;if(0===n)return;const t=this._buff;let a,i,o=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(a=s,i=-1,s=0):(a=e.charCodeAt(0),i=0);;){let c=a;if(r.F(a)){if(!(i+1<n)){s=a;break}{const n=e.charCodeAt(i+1);r.G(n)?(i++,c=r.j(a,n)):c=65533}}else r.G(a)&&(c=65533);if(o=this._push(t,o,c),i++,!(i<n))break;a=e.charCodeAt(i)}this._buffLen=o,this._leftoverHighSurrogate=s}_push(e,n,t){return t<128?e[n++]=t:t<2048?(e[n++]=192|(1984&t)>>>6,e[n++]=128|(63&t)>>>0):t<65536?(e[n++]=224|(61440&t)>>>12,e[n++]=128|(4032&t)>>>6,e[n++]=128|(63&t)>>>0):(e[n++]=240|(1835008&t)>>>18,e[n++]=128|(258048&t)>>>12,e[n++]=128|(4032&t)>>>6,e[n++]=128|(63&t)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),u(this._h0)+u(this._h1)+u(this._h2)+u(this._h3)+u(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,l(this._buff,this._buffLen),this._buffLen>56&&(this._step(),l(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=d._bigBlock32,n=this._buffDV;for(let t=0;t<64;t+=4)e.setUint32(t,n.getUint32(t,!1),!1);for(let n=64;n<320;n+=4)e.setUint32(n,c(e.getUint32(n-12,!1)^e.getUint32(n-32,!1)^e.getUint32(n-56,!1)^e.getUint32(n-64,!1),1),!1);let t,r,a,i=this._h0,o=this._h1,s=this._h2,l=this._h3,u=this._h4;for(let n=0;n<80;n++)n<20?(t=o&s|~o&l,r=1518500249):n<40?(t=o^s^l,r=1859775393):n<60?(t=o&s|o&l|s&l,r=2400959708):(t=o^s^l,r=3395469782),a=c(i,5)+t+u+r+e.getUint32(4*n,!1)&4294967295,u=l,l=s,s=c(o,30),o=i,i=a;this._h0=this._h0+i&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+u&4294967295}}d._bigBlock32=new DataView(new ArrayBuffer(320))},9:function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));class r{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new r(e,n)}delta(e=0,n=0){return this.with(this.lineNumber+e,this.column+n)}equals(e){return r.equals(this,e)}static equals(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return r.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<n.column}isBeforeOrEqual(e){return r.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<=n.column}static compare(e,n){let t=0|e.lineNumber,r=0|n.lineNumber;if(t===r){return(0|e.column)-(0|n.column)}return t-r}clone(){return new r(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new r(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},94:function(e,n,t){"use strict";t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return u})),t.d(n,"b",(function(){return d}));var r=t(13),a=t(2),i=t(11),o=t(14);let s=!1;function c(e){i.h&&(s||(s=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}class l{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,n){let t=String(++this._lastSentReq);return new Promise((r,a)=>{this._pendingReplies[t]={resolve:r,reject:a},this._send({vsWorker:this._workerId,req:t,method:e,args:n})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");let t=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){let e=n.err;return n.err.$isError&&(e=new Error,e.name=n.err.name,e.message=n.err.message,e.stack=n.err.stack),void t.reject(e)}return void t.resolve(n.res)}let n=e,t=n.req;this._handler.handleMessage(n.method,n.args).then(e=>{this._send({vsWorker:this._workerId,seq:t,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(r.g)(e.detail)),this._send({vsWorker:this._workerId,seq:t,res:void 0,err:Object(r.g)(e)})})}_send(e){let n=[];if(e.req){const t=e;for(let e=0;e<t.args.length;e++)t.args[e]instanceof ArrayBuffer&&n.push(t.args[e])}else{const t=e;t.res instanceof ArrayBuffer&&n.push(t.res)}this._handler.sendMessage(e,n)}}class u extends a.a{constructor(e,n,t){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{r&&r(e)})),this._protocol=new l({sendMessage:(e,n)=>{this._worker.postMessage(e,n)},handleMessage:(e,n)=>{if("function"!=typeof t[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(t[e].apply(t,n))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let a=null;void 0!==self.require&&"function"==typeof self.require.getConfig?a=self.require.getConfig():void 0!==self.requirejs&&(a=self.requirejs.s.contexts._.config);const i=o.d(t);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(a)),n,i]);const s=(e,n)=>this._request(e,n);this._lazyProxy=new Promise((e,t)=>{r=t,this._onModuleLoaded.then(n=>{e(o.c(n,s))},e=>{t(e),this._onError("Worker failed to load "+n,e)})})}getProxyObject(){return this._lazyProxy}_request(e,n){return new Promise((t,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,n).then(t,r)},r)})}_onError(e,n){console.error(e),console.info(n)}}class d{constructor(e,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new l({sendMessage:(n,t)=>{e(n,t)},handleMessage:(e,n)=>this._handleMessage(e,n)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n){if("$initialize"===e)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,n))}catch(e){return Promise.reject(e)}}initialize(e,n,t,r){this._protocol.setWorkerId(e);const a=o.c(r,(e,n)=>this._protocol.sendMessage(e,n));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(o.d(this._requestHandler))):(n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,n.catchError=!0,self.require.config(n)),new Promise((e,n)=>{self.require([t],t=>{this._requestHandler=t.create(a),this._requestHandler?e(o.d(this._requestHandler)):n(new Error("No RequestHandler!"))},n)}))}}}}); \ No newline at end of file diff --git a/package.json b/package.json index cf8e543..0f5be0c 100644 --- a/package.json +++ b/package.json @@ -15,20 +15,20 @@ "scripts": { "start": "npx live-server --no-browser --port=5500 --open=dev", "lint": "esmtk lint", - "build": "npm run copy && npm run bundle && npm run minify", - "bundle": "esmtk bundle src/wc-monaco-editor.js index.js", - "minify": "esmtk minify src/wc-monaco-editor.js index.min.js", - "copy": "npm run cp:editor && npm run cp:font && npm run cp:workers", - "cp:editor": "cp node_modules/monaco-editor-es/editor.main.js monaco/", - "cp:font": "cp node_modules/monaco-editor-es/*.ttf monaco/", - "cp:workers": "cp -r node_modules/monaco-editor-es/workers/* monaco/workers/", + "build": "npm run build:esm && npm run build:min", + "build:esm": "esmtk bundle src/wc-monaco-editor.js index.js", + "build:min": "esmtk minify src/wc-monaco-editor.js index.min.js", + "copy": "npm run copy:editor && npm run copy:font && npm run copy:workers", + "copy:editor": "cp node_modules/monaco-editor-es/editor.main.js monaco/", + "copy:font": "cp node_modules/monaco-editor-es/*.ttf monaco/", + "copy:workers": "cp -r node_modules/monaco-editor-es/workers/* monaco/workers/", "package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf", "preversion": "npm run lint", "postversion": "git push --follow-tags" }, "devDependencies": { - "esmtk": "^0.4.3", - "monaco-editor-es": "^0.21.2" + "esmtk": "^0.5.6", + "monaco-editor-es": "^0.21.3" }, "standard": { "ignore": [